@univerjs/preset-sheets-collaboration 0.12.4-experimental.20251208-c4b8a44 → 0.12.4-experimental.20251210-d708bff

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1,23 +1,23 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x572e(_0x79dfb7,_0x4431ea){_0x79dfb7=_0x79dfb7-0x7e;var _0x2c59ff=_0x2c59();var _0x572e03=_0x2c59ff[_0x79dfb7];return _0x572e03;}function _0x2c59(){var _0x10eefc=['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','collaMsg','_key','YUUMI_RATE_OVER_LIMIT','654713EkufYO','sheets','_createHandler','key','/universer-api/comb','reqId','APPLY_DUPLICATED','_onConnectionOpen','/block/','REDEMPTION_CODE_FULLY_REDEEMED','closeSession','PERSON','78124bgkpwF','reverse','getCurrentRevOfUnit','toDisposable','_unlockTransition','FetchingMissState','registerHTTPInterceptor','infoRsp','unitId','_transformStateCache','SheetTransformSelectionsService','RETRY_CONNECTING_MAX_COUNT_KEY','newCsEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','error$','mixIn','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getRandomValues','CollaborationEvent','collaborators','CBC','pending','_initCloseConn','_getSignURL','getSnapshotAPIPath','/universer-api/stream/file/upload','CompressMutationService','has','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','commentUpdateEvent','disposeWithMe','charCodeAt','MOBILE_VERIFY_CODE_MISMATCH','_singleActiveUnitService','YUUMI_CONNECTOR_URL_NOT_FOUND','_stopTelemetryCollaborationNewChangeset','2929608fXQHkf','PERMISSION_DENIED','_onConnectionFailed','MemberService','unitID','DEFAULT_FILE_NAME','enableCollaboration','1080684mmxvGU','_onOffline','find','compose','from','/-/object/list','REDEMPTION_CODE_INACTIVE','_HTTPService','loadOfflineData','/object/','isArray','min','image/jpeg','routeKey','[CollaborationUndoRedoService]','extend','setCurrentUser','save\x20fail\x20reason\x20is\x20','UniverNetworkPlugin','toggleOffline','override','name','_handlerCallback','/collaborator','keySize','headers','CollaborationSessionService','textEncoder','_snapshotService','roles','AWAITING_WITH_PENDING','awaiting','UniverProCollaboration','_clearRetryConnectingTimer','FETCH_MISSING','getActiveSheet','_onRemoteACK','ENTITLE_INSUFFICIENT_QUOTA','getUnitId','deleteCollaborator','\x0aAfter:\x20','SUBMIT_CHANGESET_TIMEOUT','ivSize','list','UPDATE_CURSOR','charAt','finalize','event$','UnitSnapshot','authzUrl','updateCollaborator','BufferedBlockAlgorithm','setShowComponents','Malformed\x20UTF-8\x20data','csRejEvent','_initRequestHeader','_toggleOnline','[CollaborationEntity]','onSyncEditingCollabCursor','_injector','IDLE','NOT_COLLAB','resolve','_snapshotServerService','MUTATION','_userManagerService','UniverNetwork','getMember','__creator','snapshot','_clearHeartbeatTimer','onTransformRemoteChangesetByIMECache','Decryptor','/universer-api/authz','range','APPLY_REJECT','_decreaseWaiting','InsertSheetMutation','&source=','refreshPermission','encode','ceil','Error\x20on\x20receiving\x20event','CollaborationStatus','UNIVER_DOC','UNAUTHENTICATED','repeat','socket\x20open.','SUBMIT_CHANGESET','UniverCore','USERS_ENTER','actions','@univerjs-pro/license','_transformService','@univerjs/network','_updateState','sin','saveChangeset','post','onRemoteAck','values','hasOwnProperty','YUUMI_TABLE_NOT_FOUND_IN_UNIT','members$','_config','parseProtocolChangeset','_toggleOffline','capture','ReplaySubject','FAIL','toggleOnline','AwaitingState','splice','univer-pro.collaboration-client.network-condition.service','startsWith','title','COMPLETION_FINISHED','Optional','parse','onRemoteChangeset','byteOffset','IPermissionService','_transformUndoredo','getOwnPropertyDescriptor','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','JOIN_ROOM_FAILED','RevisionService','duration','body','10438800iBJIcg','JOIN_ROOM_PERMISSION_DENIED','_eventService','_changesetSessionId','UNIVER_SLIDE','memberID','CHANGESET_SHOULD_RETRY','ENTITLE_CAN_NOT_BUY_LOWER_OTP','LOCAL_CACHE_INTERVAL_KEY','HTTPService','_getRedoStack','withCredentials','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[SyncedState]:\x20received\x20acknowledgement.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','IImageIoService','commentUpdate$','pluginName','iterations','originalMeta','ERROR_AGAIN','onRemoteRej','exports','EvpKDF','Workbook','UnitStatus','onLocalMutation','CHANGESET_ACK','_telemetryInfo','_redoStacks','APPLY_REVISION_CONFILICT','_replaceFileID','putCollaborators','YUUMI_SUBSCRIPTION_NOT_FOUND','_telemetryService','JOIN_ROOM_FULL','_commentService','USER_NOT_INVITED_CODE','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','ENTITLE_NEED_BILLING_ADDRESS','_onJoinRoomEvent','default','_showConflictNotification','_retryCount','function','editing\x20status\x20changed\x20to','_transformRemoteChangesetByStateCache','UNISCRIPT_RUN','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','findIndex','/-/object/-/batch_allowed','Disposable','HttpExport','transformSelections','Univer','_compressMutationService','updatePermissionObjEvent','replace','sequenceExecute','JSONX','result','allowed','LICENSE_EXPORT_SIZE_EXCEEDED','_roomMembers','mapDocumentTypeToUniverType','_substituteUndoStack','every','CommentService','sessionStatus','_clearTimeoutTimer','_doCreateSocket','url','incrementRevOfUnit','send','getTime','APPLY_NON_SEQUENTIAL_REVISION','dispose$','isInternalEditorID','_keyPriorReset','baseRev','_nRounds','@univerjs/telemetry','_createInitialStateImpl','UniverTelemetry','touchDependencies','_type','_localCacheService','CollaborationSession','collabSubmitChangesetUrl','action','_map','_updateStatus','open$','AWAITING','_lockTransition','pipe','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','mergeOverrideWithDependencies','/object','enc','PENDING','_doFinalize','MSG_FOR_ERROR','LocaleService','RETRY_CONNECTING_MAX_COUNT','MD5','_applyRemoteChangeset','_reverseMap','CollaborationController','encryptBlock','LIVESHARE_NEW_HOST','_joinRoom','_iKey','stringify','subscribe','HEARTBEAT','_revisionService','get','_sendHeartbeat','ISocketService','set','_doProcessBlock','OTHER_CLIENTS_EDITING','JOIN_ROOM_NOT_EXISTS','_prevBlock','UNDEFINED','reduce','LICENSE_DISTRO_REJECTED','_oKey','map','format','$super','HmacMD5','MentionType','complete','_waitForHeartbeatResponse','interceptor','target','c2Prime','_process','createIdentifier','filter','Base64','operators','IAuthzIoService','YUUMI_URL_COL_OUT_OF_RANGE','_onUserJoin','data','_getUploadFileURL','_fetchMissChangesets','Plugin','LOCAL_CACHE_INTERVAL','call','StreamCipher','getInterceptPoints','setConfig','_substituteRedoStack','socketService','UUID','x-univer-host','_remoteChangesetQueue','isPermissionRej','_tryEnsureSocket','SnapshotService','_onLocalMutation','defineProperty','JOINING','collabWebSocketUrl','patch','rxjs/operators','next','HmacSHA1','clamp','_onRemoteRetry','UNIVER_PROJECT','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','IContextService','updateCursorEvent','NEW_CHANGESETS','onMutationExecutedForCollab','deserializeToCombResponse','formatter','REDEMPTION_CODE_NOT_STARTED','transformStack\x20failed!','onMissedChangesetFetched','_cipher','getUnitType','session.join-failed','unknown','BehaviorSubject','_queuedRemoteChangesets','LocalUndoRedoService','session.room-cnt-exceeds','_changesetReqId','/new_changes','ENTITLE_USE_COUPON_NOT_1ST_TRADE','getAllMembers','INVITE_CODE_HAS_BEEN_UES','OPTIONAL','DataLoaderService','/universer-api/oidc/authpage','?url=','/universer-api/snapshot/','SNAPSHOT_INVALID_SNAPSHOT','clone','type','Failed\x20to\x20update\x20permission\x20point','SerializableCipher','not_collab','resend','prototype','state$','HMAC','awaitingChangeset','_collaborationTimeoutTimer','_retryConnectingTimer','YUUMI_ALL_TABLES_IS_INVALID','onTransformState','forEach','updateMember','offline','_onConflict','userID','unitInfo$','2ptDyEU','_createHelper','ThresholdInterceptorFactory','_clearRedo','GLOBAL_ROOMS_CNT_EXCEEDS','ENTITLE_REPORT_LIMIT_EXCEED','isTransformMutationsWithChangesetSuccess','_disableEditing','execute','UniverInstanceType','salt','mode','size','apply','status','auth.needGotoLoginAlert','_transformRemoteChangesetByIMECache','CollaborativeUndoRedoService','BlockCipher','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','INVITE_CODE_REQUIRED','AuthzIoHttpService','createSocket','\x20-\x20','_roomCreated$','concatMap','_createInitialState','objectType','_members','EMAIL_HAS_BEEN_BOUND','file','_shouldReportTelemetry','transformUndoRedo','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','LEAVE','_transformSelections','revision','mutations','[CollaborationSession]','ENTITLE_DUP_SUBSCRIPTION','getUnit','_resendTimer','UPDATE_PERMISSION_OBJ','ENSURE_SNAPSHOT_EXECUTION','getValue','getResourcesRequest','transformChangesets','\x20in\x20_schedule.','synced','_scheduleCompleteTimestamp','code','onlyLocal','getTypeOfUnitAdded$','_append','_initDependencies','WECHAT_HAS_BEEN_BOUND','YUUMI_NO_CUBOID_FOR_QUESTION','uniscriptRunEvent','/resources','ERROR_IMAGE','unsubscribe','__esModule','Hasher','TOO_MANY_REQUESTS','_onCombEvent','/unit/','DEFAULT_COLLAB_WEB_SOCKET_URL','UniverProLicense','POST','UNIVER_SHEET','_awaitingChangeset','_hasher','params','__splitChunk__','_getCtorByUniverType','_configService','uuidv4','_sendHeartbeatTimer','_iv','_commandService','ALREADY_EXISTS','onTransformSelections','SYNCED','state','_isPermissionRej','_exhaustRemoteChangesetQueue','enableAuthServer','resourceIDs','rev','UNIVER_COLLABORATION_CLIENT_PLUGIN','OpenSSL','ImageSourceType','workbook','_getAPIPrefixPath','loadUnitOfRevision','includes','ICommandService','getCurrentSelections','join','_state','_invKeySchedule','slice','padding','onRemoteRetry','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','floor','_doCryptBlock','_data','INGEST','method','_timeoutTimer','LIVESHARE_TERMINATE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_socket','_getUndoStack','Undefined','SNAPSHOT_URL_KEY','snapshotServerUrl','MergeInterceptorFactory','objectID','pad','objectActions','downloadEndpointUrl','getCollabEntity','_doReset','_waitCount','getFocusedUnit','ITelemetryService','focused$','/universer-api/user/session-ticket','230YSKkGe','_socketReady','/universer-api/file/{fileID}/sign-url','firstValueFrom','Cipher','AwaitingWithPendingState','_initMergeInterceptor','LIVESHARE_REQUEST_HOST','createEncryptor','CollaborationEntity','crypto','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','CONNECTOR_DATA_TOO_LARGE','isTransformMutationsWithChangesetFailure','fetchMiss','_submitChangeset','fetchThroughInterceptors','ISingleActiveUnitService','sigBytes','_sessions','getRoom','getConfig','ILogService','onSendChangeset','ENTITLE_CHAT_LIMIT_EXCEED','3064kuGuVf','YUUMI_ASYNCIO_CANCELLED','_mode','saveImage','ENTITLE_COUPON_USED_UP','UnitEmbedded','session.room-full','_sender','_incrementRevisionNumber','delete','_socketService','message$','takeUntil','_sendingTimer','SheetCollaborationEntity','APPLY_PERMISSION_DENIED','_socketMessageSubscription','IUniverInstanceService','blockSize','enableSingleActiveInstanceLock','NO_OTHER_CLIENTS_EDITING','IConfigService','onTransformRemoteChangesetByStateCache','/rev/','COMPRESS_MUTATION_APPLY','CLOSE_ROOM','_event$','_onFetchMissResult','[CollaborationState]:\x20apply\x20error!','batchAllowed','People','REDEMPTION_USER_REDEEM_TIMES_EXCEED','lib','change$','REDEMPTION_USER_NOT_ELIGIBLE','_onUserLeave','CollaborationUIEventService','_createHmacHelper','_getSendChangesetTimeout','LOGIN_FAILED','ClipsheetFragments','csShouldRetryEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_xformMode','_hash','INVALID_ARGUMENT','emitEvent','registerDependencies','onTransformIME','YUUMI_AI_RUN_FAILED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_permissionService','INVITE_CODE_ALREADY_BOUND','@univerjs/drawing','UserProfileImg','univer-pro.collaboration-client.single-active-unit-service','_transformStack','UniverCollaborationClientPlugin','_resendWithTimeout','merge','_initUnitPermissionChange','EMAIL_VERIFY_CODE_MISMATCH','Module','online$','_unitID','max','HELLO','_members$','LOGIN_TOKEN_PROCESSING_FAILED','_onRemoteRejected','b64DecodeUnicode','_collaborationSessionService','conflict','_checkMissing','_imageSourceCache','FETCH_MISS','shouldCloseConn','_status$','_throwTelemetryCollaborationNewChangeset','isTransformChangesetsSuccess','requestParams','encrypt','SyncedState','toString','_init','_ENC_XFORM_MODE','add','AUTHORIZE_CODE_ILLEGAL','asObservable','_sessionStatus$','SessionStatus','sendChangesetTimeout','fetch_missing','updateSnapshot','string','BlockCipherMode','onMissingChangesets','_collaborationUIEventService','then','delay','pauseCollaboration','_startTelemetryCollaborationNewChangeset','[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.','_undoStacks','WordArray','CollaborationSocketService','UNRECOGNIZED','rxjs','Utf8','executeCommand','SNAPSHOT_HAS_BEEN_REMOVED','joinRsp','_instanceService','readyForCollab','create','UNIVER_UNKNOWN','cfg','transformMutationsWithChangeset','IUndoRedoService','loadSheet','_resendTimeout','ONLINE','YUUMI_UNABLE_LOAD_URL','_clearScheduledTask','onCommentUpdate','ISnapshotServerService','_nDataBytes','[DataLoaderService]','unpad','now','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_DEC_XFORM_MODE','session','_getCurrentRevision','selections','ConflictState','_startCollaboration','@univerjs-pro/collaboration','DisposableCollection','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','collaboration_new_changeset','enableOfflineEditing','href','updatePermissionPoint','session.room-permission-denied','2989wjDxsK','_transitionLocked','Subject','src','eventID','update','reset','saveSheetBlock','UniverProCollaborationClient','uploadFileServerUrl','connection\x20error','_collaborationPaused','_entities','c1Prime','updateOfflineData','image/png','Rectangle','_rescheduleHeartbeat','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_registerDependencies','catch','subject','createInstance','/allowed','[OfflineState]:\x20received\x20acknowledgement.','_pendingMutations','reject','sessionStatus$','_transformIMECache','USER_IS_ANONYMOUS','getUnitOnRev','dispose','_listenToNetworkCondition','leaveEvent','session.room-not-exists','fetchMissingChangesets','roomInfos','/role','PasswordBasedCipher','failed\x20to\x20apply\x20missed\x20changesets!','NOT_FOUND','clear','status$','SheetPermissionInitController','ITransformService','getCurrentUser','collaboration-client.config','debug','_replayCachedMutations','fetching\x20missing\x20changesets\x20from\x20','deepClone','hasher','Base','DocCollaborationEntity','DEFAULT_WS_SESSION_TICKET_URL','push','_entityInit$','take','ICollaborationSocketService','SHA1','Encryptor','LIVESHARE_FETCH_OPERATIONS','amd','concat','USERS_LEAVE','HEARTBEAT_INTERVAL','&assign=','msCrypto','SOCKET_FAILED','_univerInstanceService','getLatestCsReqIdBySid','LICENSE_IMPORT_SIZE_EXCEEDED','PendingState','members','listCollaborators','kdf','close','_getAPIPrefix','getDeserializedSheetBlock','Inject','_networkConditionService','reconnect','signUrlServerUrl','CommandType','decrypt','_getLoginPath','_schedule','algo','FileId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','requireSession','ImageUploadStatusType','[OfflineState]:\x20received\x20changeset.','put','cmd','CHANGESET_REJ','_collabSessionService','generateRandomId','location','PY_RUNTIME_SCRIPT_ERROR','_tryReconnect','PERMISSION_REJ','_minBufferSize','sid','responseType','CollaborationUIEventId','appendMutation','SheetsSelectionsService','_logService','_updateLocalCache','_state$','OFFLINE','RECV','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','BASE64','readInt32LE','EmptyMutationInfo','_removeRoom','_httpService','getImage','image/jpg','append','AES','2834190nyuYdp','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','RxDisposable','socket$','MentionIoHttpService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_acknowledgedAwaitingChangeset','_onRemoteChangeset','_socket$','LIVESHARE_OPERATION','_unitInfo$','REDEMPTION_INVALID_CODE','@univerjs/core','{fileID}','_memberService','DATA_SOURCE_TOO_LARGE','PSEUDO_FETCH_MISSING_RESULT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationImageIoService','Pkcs7','HEARTBEAT_TIMEOUT_KEY','_commentUpdate$','error','words','Injector','ENTITLE_INVALID_COUPON_CODE','OfflineState','IMentionIOService','WorkbookEditablePermission','entityInit$','_syncEditingCollabCursor','_emitMembers','getCollabEntity$','univer-pro.collaboration-client-socket-service','UNKNOWN_CMD','close$','getImageSourceCache','image/gif','_change$','changesets','compute','_handler','submit\x20changeset\x20error!','liveShareOperation','OTHER_CLIENT_EDITING','createCollaborator','USER_NOT_FOUND','?size=','CURRENT_STATUS_CANNOT_OPERATE','getWorkbookSelections','length','removeMember','listRoles','_candidateSocket','_undoRedoService','REDEMPTION_CODE_HAS_BEEN_CREATED','INVALID_INVITE_CODE','JOIN','[CollaborationSessionService]','_scheduleCollaborationTimeoutTimer','_localeService','m2Prime','createDecryptor','_clearLocalCache','init','SnapshotServerOverHTTPService','liveShareNewHost','SetSelectionsOperation','HttpImport','ciphertext','_getDownloadEndpointURL','unit-cache-','confirm','initWorkbookPermissionChange','localCacheService','getSheetId','random','randomBytes','UniverDrawing','_clearCollaborationTimeoutTimer','stopTime','_onMessage','addHandlerCallback','origin','indexOf','_executeRemoteChangeset','INTERNAL_ERROR','COMPRESS_MUTATION_SEND','CONFLICT','RichTextEditingMutation','saveSnapshot','entries','getTypeOfUnitDisposed$','UNKNOWN_CODE','fromCharCode','fromCollab','textRanges','__Key__','COMMENT_UPDATE','MOBILE_HAS_BEEN_BOUND','encodeURIComponent','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','CHANGESET_REVISION_CONFILICT','/universer-api/snapshot','Tools','SOCKET_FAILED_RETRY'];_0x2c59=function(){return _0x10eefc;};return _0x2c59();}(function(_0x4bf05f,_0x470280){var _0x2af513=_0x572e,_0x291840=_0x4bf05f();while(!![]){try{var _0x526013=parseInt(_0x2af513(0x325))/0x1*(-parseInt(_0x2af513(0x110))/0x2)+parseInt(_0x2af513(0x355))/0x3+parseInt(_0x2af513(0x331))/0x4*(-parseInt(_0x2af513(0x192))/0x5)+parseInt(_0x2af513(0x2b7))/0x6+parseInt(_0x2af513(0x23c))/0x7*(-parseInt(_0x2af513(0x1ab))/0x8)+-parseInt(_0x2af513(0x35c))/0x9+parseInt(_0x2af513(0x3dd))/0xa;if(_0x526013===_0x470280)break;else _0x291840['push'](_0x291840['shift']());}catch(_0xa0cfd4){_0x291840['push'](_0x291840['shift']());}}}(_0x2c59,0xa0299),function(_0x2ce3ed,_0x2b7725){var _0x4dcb84=_0x572e;typeof exports=='object'&&typeof module<'u'?_0x2b7725(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x4dcb84(0x409)&&define[_0x4dcb84(0x27a)]?define(['exports',_0x4dcb84(0x234),_0x4dcb84(0x2c3),'@univerjs/docs','@univerjs/sheets',_0x4dcb84(0x216),_0x4dcb84(0x81),_0x4dcb84(0xd9),_0x4dcb84(0x3ba),_0x4dcb84(0x1e0),_0x4dcb84(0x3b8)],_0x2b7725):(_0x2ce3ed=typeof globalThis<'u'?globalThis:_0x2ce3ed||self,_0x2b7725(_0x2ce3ed[_0x4dcb84(0x244)]={},_0x2ce3ed[_0x4dcb84(0x37c)],_0x2ce3ed[_0x4dcb84(0x3b5)],_0x2ce3ed['UniverDocs'],_0x2ce3ed['UniverSheets'],_0x2ce3ed[_0x4dcb84(0x216)],_0x2ce3ed[_0x4dcb84(0x83)],_0x2ce3ed[_0x4dcb84(0x216)][_0x4dcb84(0xbf)],_0x2ce3ed[_0x4dcb84(0x39e)],_0x2ce3ed[_0x4dcb84(0x305)],_0x2ce3ed[_0x4dcb84(0x153)]));}(this,function(_0x313ef4,_0xdad847,_0x593ae3,_0x6ea9c7,_0x196ab6,_0x2ff251,_0x5679e5,_0x137fa6,_0x38c133,_0x3fed8b,_0x349663){'use strict';var _0x509db9=_0x572e;var _0x3c850b=Object['defineProperty'],_0x2bb7ec=(_0x32fd6a,_0x5b2309,_0x2137f8)=>_0x5b2309 in _0x32fd6a?_0x3c850b(_0x32fd6a,_0x5b2309,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2137f8}):_0x32fd6a[_0x5b2309]=_0x2137f8,_0x309c0d=(_0x9c9d7,_0x3185d3,_0x11e036)=>_0x2bb7ec(_0x9c9d7,typeof _0x3185d3!='symbol'?_0x3185d3+'':_0x3185d3,_0x11e036);const _0x21d126=_0x509db9(0x31e),_0x16ba83=_0x509db9(0x184),_0x407f4f='ws://127.0.0.1:8000/universer-api/comb/connect',_0x29e50d=_0x509db9(0x191),_0x55547f=_0x509db9(0x27d),_0x30846d='HEARTBEAT_TIMEOUT',_0x52e10c=_0x509db9(0x98),_0x2b3841=_0x509db9(0xc7),_0x411702=_0x509db9(0x329),_0x1f9169=_0x509db9(0xf8),_0x5f3fee=_0x509db9(0x24e),_0x162619='/universer-api/uniscript';var _0x56ddea=(_0x626978=>(_0x626978[_0x626978[_0x509db9(0xad)]=0x0]='UNDEFINED',_0x626978[_0x626978['OK']=0x1]='OK',_0x626978[_0x626978[_0x509db9(0x30d)]=0x2]=_0x509db9(0x30d),_0x626978[_0x626978[_0x509db9(0x356)]=0x3]=_0x509db9(0x356),_0x626978[_0x626978[_0x509db9(0x264)]=0x4]=_0x509db9(0x264),_0x626978[_0x626978[_0x509db9(0x3b1)]=0x5]=_0x509db9(0x3b1),_0x626978[_0x626978[_0x509db9(0x160)]=0x6]='ALREADY_EXISTS',_0x626978[_0x626978[_0x509db9(0x1d8)]=0x7]=_0x509db9(0x1d8),_0x626978[_0x626978[_0x509db9(0x14f)]=0x8]=_0x509db9(0x14f),_0x626978[_0x626978[_0x509db9(0x3d0)]=0x9]=_0x509db9(0x3d0),_0x626978[_0x626978[_0x509db9(0x1d2)]=0xa]='LOGIN_FAILED',_0x626978[_0x626978[_0x509db9(0x351)]=0xb]=_0x509db9(0x351),_0x626978[_0x626978[_0x509db9(0x295)]=0xc]=_0x509db9(0x295),_0x626978[_0x626978['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x509db9(0x1e8),_0x626978[_0x626978['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x509db9(0x178),_0x626978[_0x626978['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x509db9(0x202),_0x626978[_0x626978[_0x509db9(0x1ef)]=0x10]=_0x509db9(0x1ef),_0x626978[_0x626978[_0x509db9(0x2e7)]=0x64]=_0x509db9(0x2e7),_0x626978[_0x626978['ERROR_AGAIN']=0x65]=_0x509db9(0x3f1),_0x626978[_0x626978[_0x509db9(0x2e5)]=0xc9]=_0x509db9(0x2e5),_0x626978[_0x626978[_0x509db9(0x259)]=0xca]='USER_IS_ANONYMOUS',_0x626978[_0x626978['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x509db9(0x31d),_0x626978[_0x626978[_0x509db9(0xfb)]=0x1771]=_0x509db9(0xfb),_0x626978[_0x626978['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x509db9(0x219),_0x626978[_0x626978[_0x509db9(0x13b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x626978[_0x626978[_0x509db9(0x3a7)]=0x1b59]=_0x509db9(0x3a7),_0x626978[_0x626978[_0x509db9(0x428)]=0x1b5a]=_0x509db9(0x428),_0x626978[_0x626978[_0x509db9(0x3fb)]=0x1b5b]=_0x509db9(0x3fb),_0x626978[_0x626978[_0x509db9(0x1ba)]=0x1b5c]=_0x509db9(0x1ba),_0x626978[_0x626978[_0x509db9(0x32b)]=0x1b5d]=_0x509db9(0x32b),_0x626978[_0x626978['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x509db9(0x19e),_0x626978[_0x626978['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x626978[_0x626978[_0x509db9(0x2c8)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x626978[_0x626978[_0x509db9(0x283)]=0x232b]=_0x509db9(0x283),_0x626978[_0x626978['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x509db9(0x41b),_0x626978[_0x626978[_0x509db9(0xaf)]=0x232d]=_0x509db9(0xaf),_0x626978[_0x626978['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x509db9(0x225),_0x626978[_0x626978[_0x509db9(0xc1)]=0x2712]=_0x509db9(0xc1),_0x626978[_0x626978[_0x509db9(0x324)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x626978[_0x626978[_0x509db9(0x3fe)]=0x2714]=_0x509db9(0x3fe),_0x626978[_0x626978[_0x509db9(0x148)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x626978[_0x626978['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x509db9(0x1ac),_0x626978[_0x626978[_0x509db9(0x3c2)]=0x271c]=_0x509db9(0x3c2),_0x626978[_0x626978[_0x509db9(0x108)]=0x271d]=_0x509db9(0x108),_0x626978[_0x626978[_0x509db9(0x341)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x626978[_0x626978[_0x509db9(0x1dc)]=0x271f]=_0x509db9(0x1dc),_0x626978[_0x626978[_0x509db9(0x353)]=0x2720]=_0x509db9(0x353),_0x626978[_0x626978['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x509db9(0x29f),_0x626978[_0x626978[_0x509db9(0xf5)]=0x2ee1]=_0x509db9(0xf5),_0x626978[_0x626978['INVALID_INVITE_CODE']=0x2ee2]=_0x509db9(0x2ef),_0x626978[_0x626978[_0x509db9(0x124)]=0x2ee3]=_0x509db9(0x124),_0x626978[_0x626978[_0x509db9(0x402)]=0x2ee4]=_0x509db9(0x402),_0x626978[_0x626978[_0x509db9(0x1df)]=0x2ee5]=_0x509db9(0x1df),_0x626978[_0x626978[_0x509db9(0x147)]=0x32c9]=_0x509db9(0x147),_0x626978[_0x626978[_0x509db9(0x31a)]=0x32ca]=_0x509db9(0x31a),_0x626978[_0x626978[_0x509db9(0x12d)]=0x32cb]=_0x509db9(0x12d),_0x626978[_0x626978[_0x509db9(0x3e4)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x626978[_0x626978[_0x509db9(0x123)]=0x36b2]=_0x509db9(0x123),_0x626978[_0x626978[_0x509db9(0x137)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x626978[_0x626978['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x626978[_0x626978['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x509db9(0x2d0),_0x626978[_0x626978['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x626978[_0x626978[_0x509db9(0x1af)]=0x36b7]=_0x509db9(0x1af),_0x626978[_0x626978['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x509db9(0xf3),_0x626978[_0x626978['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x509db9(0x1aa),_0x626978[_0x626978[_0x509db9(0x115)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x626978[_0x626978[_0x509db9(0x381)]=0x3717]=_0x509db9(0x381),_0x626978[_0x626978[_0x509db9(0x404)]=0x37dd]=_0x509db9(0x404),_0x626978[_0x626978[_0x509db9(0x2c2)]=0x3a99]=_0x509db9(0x2c2),_0x626978[_0x626978[_0x509db9(0x362)]=0x3a9a]=_0x509db9(0x362),_0x626978[_0x626978[_0x509db9(0x32e)]=0x3a9b]=_0x509db9(0x32e),_0x626978[_0x626978[_0x509db9(0xe6)]=0x3a9c]=_0x509db9(0xe6),_0x626978[_0x626978[_0x509db9(0x1cd)]=0x3a9d]=_0x509db9(0x1cd),_0x626978[_0x626978[_0x509db9(0x1ca)]=0x3a9e]=_0x509db9(0x1ca),_0x626978[_0x626978[_0x509db9(0x2ee)]=0x3a9f]=_0x509db9(0x2ee),_0x626978[_0x626978['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x509db9(0x2c6),_0x626978[_0x626978['UNRECOGNIZED']=-0x1]=_0x509db9(0x215),_0x626978))(_0x56ddea||{}),_0x5dd1fb=(_0x29e193=>(_0x29e193[_0x29e193[_0x509db9(0x21e)]=0x0]='UNIVER_UNKNOWN',_0x29e193[_0x29e193[_0x509db9(0x3b0)]=0x1]='UNIVER_DOC',_0x29e193[_0x29e193[_0x509db9(0x155)]=0x2]=_0x509db9(0x155),_0x29e193[_0x29e193[_0x509db9(0x3e1)]=0x3]=_0x509db9(0x3e1),_0x29e193[_0x29e193['UNIVER_PROJECT']=0x4]=_0x509db9(0xde),_0x29e193[_0x29e193[_0x509db9(0x215)]=-0x1]=_0x509db9(0x215),_0x29e193))(_0x5dd1fb||{}),_0x1e67da=(_0x54a349=>(_0x54a349[_0x54a349[_0x509db9(0x2d9)]=0x0]='UNKNOWN_CMD',_0x54a349[_0x54a349[_0x509db9(0x1ed)]=0x1]='HELLO',_0x54a349[_0x54a349['JOIN']=0x2]='JOIN',_0x54a349[_0x54a349[_0x509db9(0x132)]=0x3]='LEAVE',_0x54a349[_0x54a349[_0x509db9(0x17c)]=0x4]=_0x509db9(0x17c),_0x54a349[_0x54a349['HEARTBEAT']=0x5]='HEARTBEAT',_0x54a349[_0x54a349['RECV']=0x6]='RECV',_0x54a349[_0x54a349['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x54a349))(_0x1e67da||{}),_0x201e78=(_0x3bfd96=>(_0x3bfd96[_0x3bfd96[_0x509db9(0x314)]=0x0]=_0x509db9(0x314),_0x3bfd96[_0x3bfd96['OK']=0x1]='OK',_0x3bfd96[_0x3bfd96[_0x509db9(0x3c9)]=0x2]='FAIL',_0x3bfd96[_0x3bfd96['JOIN_ROOM_FULL']=0x3e9]=_0x509db9(0x400),_0x3bfd96[_0x3bfd96[_0x509db9(0xab)]=0x3ea]=_0x509db9(0xab),_0x3bfd96[_0x3bfd96[_0x509db9(0x3de)]=0x3eb]=_0x509db9(0x3de),_0x3bfd96[_0x3bfd96[_0x509db9(0x114)]=0x3ec]=_0x509db9(0x114),_0x3bfd96[_0x3bfd96[_0x509db9(0x215)]=-0x1]=_0x509db9(0x215),_0x3bfd96))(_0x201e78||{}),_0x138411=(_0x33af43=>(_0x33af43[_0x33af43[_0x509db9(0x183)]=0x0]='Undefined',_0x33af43[_0x33af43['HttpImport']=0x1]=_0x509db9(0x2fb),_0x33af43[_0x33af43[_0x509db9(0x411)]=0x2]='HttpExport',_0x33af43[_0x33af43['UnitEmbedded']=0x3]=_0x509db9(0x1b0),_0x33af43[_0x33af43[_0x509db9(0x38c)]=0x4]=_0x509db9(0x38c),_0x33af43[_0x33af43[_0x509db9(0x1e1)]=0x5]=_0x509db9(0x1e1),_0x33af43[_0x33af43[_0x509db9(0x1d3)]=0x6]=_0x509db9(0x1d3),_0x33af43[_0x33af43[_0x509db9(0x215)]=-0x1]=_0x509db9(0x215),_0x33af43))(_0x138411||{});const _0x12cfff=_0x509db9(0x237);function _0xea1c49(_0x3746a1){var _0x27b6f7=_0x509db9;return JSON['stringify'](_0x3746a1)[_0x27b6f7(0x2e9)];}var _0x7c51aa=(_0x4e4d87=>(_0x4e4d87[_0x509db9(0x2e3)]=_0x509db9(0x2e3),_0x4e4d87[_0x509db9(0x356)]=_0x509db9(0x356),_0x4e4d87[_0x509db9(0x30f)]=_0x509db9(0x30f),_0x4e4d87['CLOSE_ROOM']=_0x509db9(0x1c4),_0x4e4d87[_0x509db9(0x3d9)]=_0x509db9(0x3d9),_0x4e4d87[_0x509db9(0x320)]='SOCKET_FAILED_RETRY',_0x4e4d87['SOCKET_FAILED']=_0x509db9(0x280),_0x4e4d87[_0x509db9(0x385)]=_0x509db9(0x385),_0x4e4d87))(_0x7c51aa||{});class _0x1e55fc{constructor(){var _0x1aad65=_0x509db9;_0x309c0d(this,_0x1aad65(0x1c5),new _0x2ff251[(_0x1aad65(0x23e))]()),_0x309c0d(this,_0x1aad65(0x38b),this[_0x1aad65(0x1c5)][_0x1aad65(0x203)]());}[_0x509db9(0x1d9)](_0x29fe23){var _0x4b6fb7=_0x509db9;this[_0x4b6fb7(0x1c5)][_0x4b6fb7(0xda)](_0x29fe23);}}class _0x29b036{constructor(){var _0x1fa706=_0x509db9;_0x309c0d(this,_0x1fa706(0x2cc),new _0x2ff251[(_0x1fa706(0x23e))]()),_0x309c0d(this,_0x1fa706(0x3ed),this[_0x1fa706(0x2cc)][_0x1fa706(0x203)]());}[_0x509db9(0x227)](_0x19d5d2){var _0x2241b0=_0x509db9;this[_0x2241b0(0x2cc)][_0x2241b0(0xda)](_0x19d5d2);}}var _0x2f0165=Object['getOwnPropertyDescriptor'],_0x412e19=(_0x4ee74a,_0x190443,_0xf68068,_0x498558)=>{var _0x4e2ad5=_0x509db9;for(var _0x293b18=_0x498558>0x1?void 0x0:_0x498558?_0x2f0165(_0x190443,_0xf68068):_0x190443,_0x2b99fd=_0x4ee74a[_0x4e2ad5(0x2e9)]-0x1,_0x1206b1;_0x2b99fd>=0x0;_0x2b99fd--)(_0x1206b1=_0x4ee74a[_0x2b99fd])&&(_0x293b18=_0x1206b1(_0x293b18)||_0x293b18);return _0x293b18;},_0x130723=(_0x5a790f,_0x32d8e0)=>(_0x211aad,_0x32f0c4)=>_0x32d8e0(_0x211aad,_0x32f0c4,_0x5a790f);_0x313ef4['MemberService']=class extends _0x593ae3['Disposable']{constructor(_0x59525a,_0x29dd9d){var _0x160179=_0x509db9;super(),_0x309c0d(this,_0x160179(0x41c),new Map()),_0x309c0d(this,_0x160179(0x128),new _0x2ff251[(_0x160179(0x23e))]()),(this[_0x160179(0x281)]=_0x59525a,this[_0x160179(0x39d)]=_0x29dd9d,this['disposeWithMe'](_0x2ff251[_0x160179(0x1e6)](this[_0x160179(0x281)][_0x160179(0x313)](_0x593ae3[_0x160179(0x119)][_0x160179(0x155)])['pipe'](_0x137fa6[_0x160179(0xb1)](_0x44d7ed=>_0x44d7ed[_0x160179(0x382)]())),this['_univerInstanceService'][_0x160179(0x313)](_0x593ae3[_0x160179(0x119)][_0x160179(0x3b0)])[_0x160179(0x8f)](_0x137fa6[_0x160179(0xb1)](_0x5c3e25=>_0x5c3e25[_0x160179(0x382)]())),this[_0x160179(0x281)][_0x160179(0x313)](_0x593ae3['UniverInstanceType'][_0x160179(0x3e1)])[_0x160179(0x8f)](_0x137fa6['map'](_0x2a1e26=>_0x2a1e26[_0x160179(0x382)]())))['subscribe'](_0x51ebcc=>this[_0x160179(0x2b1)](_0x51ebcc))));}['waitForRoom$'](_0x5f25ce){var _0x77334a=_0x509db9;return this[_0x77334a(0x41c)]['has'](_0x5f25ce)?_0x2ff251['of'](this[_0x77334a(0x41c)][_0x77334a(0xa5)](_0x5f25ce)):this[_0x77334a(0x128)][_0x77334a(0x8f)](_0x137fa6[_0x77334a(0xb1)](_0x442918=>{var _0x7db2ae=_0x77334a;if(_0x442918===_0x5f25ce)return this[_0x7db2ae(0x41c)][_0x7db2ae(0xa5)](_0x442918);}));}[_0x509db9(0x36c)](_0x47b9e5){var _0x2ebdee=_0x509db9;this[_0x2ebdee(0x39d)][_0x2ebdee(0x36c)](_0x47b9e5);}[_0x509db9(0x269)](){var _0x4a1aad=_0x509db9;return this[_0x4a1aad(0x39d)]['getCurrentUser']();}[_0x509db9(0x10b)](_0x1c3d88,_0x4404c3){var _0x55abf1=_0x509db9;let _0x74da86=this[_0x55abf1(0x41c)][_0x55abf1(0xa5)](_0x1c3d88);_0x74da86||(_0x74da86=new _0xa60f47(),this[_0x55abf1(0x41c)]['set'](_0x1c3d88,_0x74da86),this['_roomCreated$'][_0x55abf1(0xda)](_0x1c3d88)),_0x74da86[_0x55abf1(0x10b)](_0x4404c3);}[_0x509db9(0x2ea)](_0x31e9a8,_0x160e35){var _0x115f68=_0x509db9;const _0x3d06de=this[_0x115f68(0x41c)][_0x115f68(0xa5)](_0x31e9a8);_0x3d06de&&_0x3d06de[_0x115f68(0x2ea)](_0x160e35);}[_0x509db9(0x1a6)](_0x4819ce){var _0x554d95=_0x509db9;return this[_0x554d95(0x41c)][_0x554d95(0xa5)](_0x4819ce);}[_0x509db9(0x39f)](_0x3b1f5f,_0x4f9c85){var _0x118595=_0x509db9;const _0x4cf60a=this[_0x118595(0x41c)][_0x118595(0xa5)](_0x3b1f5f);if(_0x4cf60a)return _0x4cf60a[_0x118595(0x39f)](_0x4f9c85);}[_0x509db9(0x2b1)](_0x228aff){var _0x35e11a=_0x509db9;const _0x2ec9db=this[_0x35e11a(0x41c)][_0x35e11a(0xa5)](_0x228aff);_0x2ec9db&&(_0x2ec9db[_0x35e11a(0x25b)](),this[_0x35e11a(0x41c)][_0x35e11a(0x1b4)](_0x228aff));}['dispose'](){var _0x5d4919=_0x509db9;this[_0x5d4919(0x41c)][_0x5d4919(0x10a)](_0x2db8f0=>_0x2db8f0[_0x5d4919(0x25b)]()),this[_0x5d4919(0x41c)][_0x5d4919(0x265)](),this[_0x5d4919(0x128)]['complete']();}},_0x313ef4[_0x509db9(0x358)]=_0x412e19([_0x130723(0x0,_0x593ae3[_0x509db9(0x1bc)]),_0x130723(0x1,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['UserManagerService']))],_0x313ef4['MemberService']);class _0xa60f47 extends _0x593ae3['Disposable']{constructor(){var _0xc34fdc=_0x509db9;super(...arguments),_0x309c0d(this,_0xc34fdc(0x12c),new Map()),_0x309c0d(this,'_members$',new _0x2ff251['BehaviorSubject'](this[_0xc34fdc(0x12c)])),_0x309c0d(this,_0xc34fdc(0x3c3),this[_0xc34fdc(0x1ee)][_0xc34fdc(0x203)]());}['dispose'](){var _0x19c71c=_0x509db9;this[_0x19c71c(0x12c)]['clear']();}['updateMember'](_0x2bb47b){var _0x22a410=_0x509db9;this['_members'][_0x22a410(0xa8)](_0x2bb47b[_0x22a410(0x3e2)],_0x2bb47b),this[_0x22a410(0x2d6)]();}[_0x509db9(0x2ea)](_0x9f3b95){this['_members']['delete'](_0x9f3b95);}[_0x509db9(0x39f)](_0x2d1640){var _0x74bb4f=_0x509db9;return this[_0x74bb4f(0x12c)][_0x74bb4f(0xa5)](_0x2d1640);}[_0x509db9(0xf4)](){var _0x4ed951=_0x509db9;return Array[_0x4ed951(0x360)](this['_members'][_0x4ed951(0x3c0)]());}[_0x509db9(0x2d6)](){var _0x4c68e2=_0x509db9;this['_members$'][_0x4c68e2(0xda)](this[_0x4c68e2(0x12c)]);}}var _0x593841=Object[_0x509db9(0x3d7)],_0x26df5c=(_0x12de56,_0x13ff48,_0x1e9487,_0x4e44b5)=>{var _0x113ce5=_0x509db9;for(var _0x7c9cf6=_0x4e44b5>0x1?void 0x0:_0x4e44b5?_0x593841(_0x13ff48,_0x1e9487):_0x13ff48,_0x42c1ce=_0x12de56[_0x113ce5(0x2e9)]-0x1,_0xe1b385;_0x42c1ce>=0x0;_0x42c1ce--)(_0xe1b385=_0x12de56[_0x42c1ce])&&(_0x7c9cf6=_0xe1b385(_0x7c9cf6)||_0x7c9cf6);return _0x7c9cf6;},_0x45fb13=(_0x135f1e,_0x136643)=>(_0x6f7f03,_0x249c7c)=>_0x136643(_0x6f7f03,_0x249c7c,_0x135f1e),_0x4e4db9=(_0x596d10=>(_0x596d10[_0x596d10['IDLE']=0x0]=_0x509db9(0x398),_0x596d10[_0x596d10[_0x509db9(0xd6)]=0x1]='JOINING',_0x596d10[_0x596d10[_0x509db9(0x2ab)]=0x2]=_0x509db9(0x2ab),_0x596d10[_0x596d10[_0x509db9(0x224)]=0x3]=_0x509db9(0x224),_0x596d10))(_0x4e4db9||{});const _0x46af9d={[_0x201e78[_0x509db9(0x3c9)]]:_0x509db9(0xeb),[_0x201e78[_0x509db9(0x400)]]:_0x509db9(0x1b1),[_0x201e78['JOIN_ROOM_NOT_EXISTS']]:_0x509db9(0x25e),[_0x201e78['JOIN_ROOM_PERMISSION_DENIED']]:_0x509db9(0x23b),[_0x201e78[_0x509db9(0x114)]]:_0x509db9(0xf0)};_0x313ef4['CollaborationSession']=class extends _0x593ae3[_0x509db9(0x2b9)]{constructor(_0x4578a2,_0x456dc0,_0x21b58a,_0x3f1455,_0x45fdff,_0x37ac3a,_0x4f5407,_0x4497ec){var _0x3541ba=_0x509db9;super(),_0x309c0d(this,_0x3541ba(0x204),new _0x2ff251[(_0x3541ba(0xed))](0x0)),_0x309c0d(this,'sessionStatus$',this[_0x3541ba(0x204)][_0x3541ba(0x203)]()),_0x309c0d(this,_0x3541ba(0x1c5),new _0x2ff251[(_0x3541ba(0x23e))]()),_0x309c0d(this,_0x3541ba(0x38b),this[_0x3541ba(0x1c5)]['asObservable']()),_0x309c0d(this,'_socket'),_0x309c0d(this,_0x3541ba(0x1bb)),_0x309c0d(this,_0x3541ba(0x106)),_0x309c0d(this,_0x3541ba(0x12f),!0x1),_0x309c0d(this,_0x3541ba(0x3f9),null),(this[_0x3541ba(0x1eb)]=_0x4578a2,this[_0x3541ba(0x2a8)]=_0x21b58a,this[_0x3541ba(0x15b)]=_0x3f1455,this['_memberService']=_0x45fdff,this[_0x3541ba(0x401)]=_0x37ac3a,this['_collaborationUIEventService']=_0x4f5407,this['_telemetryService']=_0x4497ec,this[_0x3541ba(0x12f)]=!!this[_0x3541ba(0x3ff)],_0x456dc0[_0x3541ba(0x8f)](_0x2ff251[_0x3541ba(0x1b7)](this[_0x3541ba(0x429)]))[_0x3541ba(0xa2)](_0x47bde6=>{var _0x1aa37f=_0x3541ba,_0x2fa334;typeof _0x47bde6>'u'||(this[_0x1aa37f(0x181)]=_0x47bde6,_0x47bde6?(this[_0x1aa37f(0x9f)](_0x47bde6),this[_0x1aa37f(0x1bb)]=_0x47bde6[_0x1aa37f(0x1b6)][_0x1aa37f(0xa2)](_0x2e8670=>{var _0x2621d4=_0x1aa37f;_0x2e8670['routeKey']===this[_0x2621d4(0x1eb)]&&this[_0x2621d4(0x150)](_0x2e8670);})):(this[_0x1aa37f(0x1f9)](),this[_0x1aa37f(0x204)][_0x1aa37f(0xda)](0x2),(_0x2fa334=this[_0x1aa37f(0x1bb)])==null||_0x2fa334[_0x1aa37f(0x14c)](),this[_0x1aa37f(0x1bb)]=null));}));}get[_0x509db9(0x421)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){var _0x3712b7=_0x509db9,_0xa72120,_0x310ead;return(_0x310ead=(_0xa72120=this[_0x3712b7(0x181)])==null?void 0x0:_0xa72120[_0x3712b7(0x3e2)])!=null?_0x310ead:null;}[_0x509db9(0x25b)](){var _0x276475=_0x509db9;super[_0x276475(0x25b)](),this['dispose$'][_0x276475(0xda)](),this['dispose$'][_0x276475(0xb6)]();}[_0x509db9(0x288)](){var _0x28e0c7=_0x509db9,_0x3cd229,_0x49006;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3cd229=this[_0x28e0c7(0x181)])==null||_0x3cd229['send']({'cmd':_0x1e67da[_0x28e0c7(0x132)],'data':{'roomID':this[_0x28e0c7(0x1eb)]}}),(_0x49006=this[_0x28e0c7(0x181)])==null||_0x49006['close'](),this[_0x28e0c7(0x1c5)]['complete'](),this['_sessionStatus$']['complete'](),this[_0x28e0c7(0x25b)]();}[_0x509db9(0x150)](_0x3948d4){var _0x5989de=_0x509db9;_0x3948d4[_0x5989de(0x29a)]===_0x1e67da[_0x5989de(0x2f0)]?this[_0x5989de(0x405)](_0x3948d4):_0x3948d4[_0x5989de(0x29a)]===_0x1e67da['RECV']&&this['_onRecvEvent'](_0x3948d4);}['_joinRoom'](_0x5ea049){var _0x4f6b0d=_0x509db9;this[_0x4f6b0d(0x204)][_0x4f6b0d(0xda)](0x1),_0x5ea049[_0x4f6b0d(0x426)]({'cmd':_0x1e67da[_0x4f6b0d(0x2f0)],'routeKey':this[_0x4f6b0d(0x1eb)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x509db9(0x405)](_0x3fbbe4){var _0x558171=_0x509db9,_0xf6ae3a;if(_0x3fbbe4['code']in _0x46af9d){this[_0x558171(0x20c)][_0x558171(0x1d9)]({'id':_0x7c51aa[_0x558171(0x3d9)],'data':_0x46af9d[_0x3fbbe4[_0x558171(0x142)]]}),this['_sessionStatus$'][_0x558171(0xda)](0x2);return;}this[_0x558171(0x204)][_0x558171(0xda)](0x3);const _0x8a22b8=(_0xf6ae3a=_0x3fbbe4[_0x558171(0xc3)][_0x558171(0x260)][this['_unitID']])==null?void 0x0:_0xf6ae3a[_0x558171(0x285)];_0x8a22b8&&_0x8a22b8['forEach'](_0x4b1395=>this[_0x558171(0x2c5)][_0x558171(0x10b)](this[_0x558171(0x1eb)],_0x4b1395));}['_onRecvEvent'](_0x2de5b1){var _0x1e8179=_0x509db9;try{const _0x34c2ac=_0x2de5b1[_0x1e8179(0xc3)];switch(_0x34c2ac[_0x1e8179(0x240)]){case _0xdad847[_0x1e8179(0x343)][_0x1e8179(0x3b6)]:this[_0x1e8179(0xc2)](_0x34c2ac),this[_0x1e8179(0x1c5)][_0x1e8179(0xda)](_0x34c2ac);break;case _0xdad847[_0x1e8179(0x343)][_0x1e8179(0x27c)]:this[_0x1e8179(0x1ce)](_0x34c2ac),this['_event$'][_0x1e8179(0xda)](_0x34c2ac);break;case _0xdad847[_0x1e8179(0x343)][_0x1e8179(0x3f8)]:case _0xdad847[_0x1e8179(0x343)]['CHANGESET_SHOULD_RETRY']:this[_0x1e8179(0x354)](),this[_0x1e8179(0x306)](),this['_event$'][_0x1e8179(0xda)](_0x34c2ac);break;case _0xdad847[_0x1e8179(0x343)][_0x1e8179(0x96)]:this[_0x1e8179(0x2a8)][_0x1e8179(0x2cd)](_0x1e8179(0x36d)+JSON[_0x1e8179(0xa1)](_0x34c2ac)),this[_0x1e8179(0x1c5)][_0x1e8179(0xda)](_0x34c2ac);break;case _0xdad847['CollaborationEvent'][_0x1e8179(0x319)]:this[_0x1e8179(0x401)][_0x1e8179(0x227)](_0x34c2ac['data']),this[_0x1e8179(0x1c5)][_0x1e8179(0xda)](_0x34c2ac);break;default:this[_0x1e8179(0x1c5)][_0x1e8179(0xda)](_0x34c2ac);}}catch(_0x3abd40){this[_0x1e8179(0x2a8)][_0x1e8179(0x2cd)](_0x3abd40,_0x2de5b1);}}[_0x509db9(0xc2)](_0x5be4c8){var _0x5f0661=_0x509db9;this[_0x5f0661(0x2c5)][_0x5f0661(0x10b)](this[_0x5f0661(0x1eb)],_0x5be4c8[_0x5f0661(0xc3)]);}[_0x509db9(0x1ce)](_0xa08824){var _0x106cb9=_0x509db9;this[_0x106cb9(0x2c5)][_0x106cb9(0x2ea)](this['_unitID'],_0xa08824[_0x106cb9(0xc3)][_0x106cb9(0x3e2)]);}async[_0x509db9(0x426)](_0x54e07d,_0x4cc9d0){var _0x261cea=_0x509db9;if(this[_0x261cea(0x421)]!==0x3||!this[_0x261cea(0x181)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x54e07d[_0x261cea(0x240)]===_0xdad847[_0x261cea(0x343)]['SUBMIT_CHANGESET']&&(this[_0x261cea(0x2f2)](),this[_0x261cea(0x210)](_0x54e07d)),this['_socket'][_0x261cea(0x426)]({'cmd':_0x1e67da[_0x261cea(0x17c)],'routeKey':_0x4cc9d0,'routeType':'','data':_0x54e07d});}catch(_0x1616b4){this[_0x261cea(0x2a8)][_0x261cea(0x2cd)](_0x1616b4);}}[_0x509db9(0x2f2)](){var _0x3a6bdb=_0x509db9,_0x3b1cd0;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x342e7e=_0x572e;this[_0x342e7e(0x106)]=null,this['_collaborationUIEventService'][_0x342e7e(0x1d9)]({'id':_0x7c51aa['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3b1cd0=this['_configService'][_0x3a6bdb(0x1a7)](_0x30846d))!=null?_0x3b1cd0:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x18639b=_0x509db9;this[_0x18639b(0x106)]&&(clearTimeout(this[_0x18639b(0x106)]),this[_0x18639b(0x106)]=null);}[_0x509db9(0x210)](_0x35dfe7){var _0x35dfd5=_0x509db9;if(!this[_0x35dfd5(0x12f)])return;const {data:_0x45487b}=_0x35dfe7,{unitID:_0x14c33d,changeset:_0x2cca46}=_0x45487b,{mutations:_0x4bdb4c,type:_0x1bacce}=_0x2cca46;this[_0x35dfd5(0x3f9)]={'unitId':_0x14c33d,'type':_0x1bacce,'startTime':performance[_0x35dfd5(0x22c)](),'stopTime':0x0,'duration':0x0,'size':_0xea1c49(_0x4bdb4c)};}[_0x509db9(0x354)](){var _0x2e54b0=_0x509db9;if(this[_0x2e54b0(0x12f)]){if(!this['_telemetryInfo']){this[_0x2e54b0(0x2a8)][_0x2e54b0(0x2cd)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2e54b0(0x3f9)]['stopTime']=performance[_0x2e54b0(0x22c)](),this[_0x2e54b0(0x3f9)][_0x2e54b0(0x3db)]=this[_0x2e54b0(0x3f9)][_0x2e54b0(0x307)]-this[_0x2e54b0(0x3f9)]['startTime'],this['_telemetryService'][_0x2e54b0(0x3c7)](_0x12cfff,this['_telemetryInfo']),this[_0x2e54b0(0x3f9)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x189944=_0x509db9;this[_0x189944(0x3f9)]=null;}},_0x313ef4[_0x509db9(0x87)]=_0x26df5c([_0x45fb13(0x2,_0x593ae3[_0x509db9(0x1a8)]),_0x45fb13(0x3,_0x593ae3[_0x509db9(0x1c0)]),_0x45fb13(0x4,_0x593ae3[_0x509db9(0x28b)](_0x313ef4[_0x509db9(0x358)])),_0x45fb13(0x5,_0x593ae3[_0x509db9(0x28b)](_0x29b036)),_0x45fb13(0x6,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x45fb13(0x7,_0x593ae3[_0x509db9(0x3d1)](_0x5679e5[_0x509db9(0x18f)]))],_0x313ef4[_0x509db9(0x87)]);const _0x192e9c=_0x593ae3[_0x509db9(0xbc)]('collaboration-client.local-cache-service');function _0x142709(_0x1b6ae3){var _0x21c67e=_0x509db9;return _0x21c67e(0x2fe)+_0x1b6ae3;}var _0x46f717=Object[_0x509db9(0x3d7)],_0x23ac63=(_0xd329ba,_0x180de2,_0x1169f1,_0x242abd)=>{var _0x273447=_0x509db9;for(var _0xe41aa5=_0x242abd>0x1?void 0x0:_0x242abd?_0x46f717(_0x180de2,_0x1169f1):_0x180de2,_0x5cd43e=_0xd329ba[_0x273447(0x2e9)]-0x1,_0x43b716;_0x5cd43e>=0x0;_0x5cd43e--)(_0x43b716=_0xd329ba[_0x5cd43e])&&(_0xe41aa5=_0x43b716(_0xe41aa5)||_0xe41aa5);return _0xe41aa5;},_0x1ac9ce=(_0x28a70d,_0x34d0fb)=>(_0x1040af,_0x17a5fd)=>_0x34d0fb(_0x1040af,_0x17a5fd,_0x28a70d);function _0x2d7074(_0x1cf0cf){var _0x516eda=_0x509db9;const {unitID:_0x59015d,mutations:_0x50e737}=_0x1cf0cf;return{'unitId':_0x59015d,'subUnitId':_0x50e737[_0x516eda(0x2e9)]>0x0?_0x50e737[0x0]['params']['subUnitId']:null};}_0x313ef4['SheetTransformSelectionsService']=class{constructor(_0x1973e0,_0x51075f,_0x2a5b0a){var _0x36f9dc=_0x509db9;this[_0x36f9dc(0x397)]=_0x1973e0,this[_0x36f9dc(0x3b9)]=_0x51075f,this[_0x36f9dc(0x21b)]=_0x2a5b0a;}[_0x509db9(0x412)](_0x148a4f){var _0x1c8eb2=_0x509db9,_0x1c94d8,_0x36bb17,_0x2bbef7,_0x5660f7;const _0x250d67=this[_0x1c8eb2(0x397)][_0x1c8eb2(0xa5)](_0x196ab6[_0x1c8eb2(0x2a7)]),{unitId:_0x5a964b,subUnitId:_0x15d10f}=_0x2d7074(_0x148a4f),_0x9c6174=_0x250d67==null?void 0x0:_0x250d67[_0x1c8eb2(0x2e8)](_0x5a964b)[_0x1c8eb2(0x171)](),_0x30e0f3=(_0x36bb17=(_0x1c94d8=this[_0x1c8eb2(0x21b)][_0x1c8eb2(0x138)](_0x5a964b))==null?void 0x0:_0x1c94d8[_0x1c8eb2(0x37f)]())==null?void 0x0:_0x36bb17[_0x1c8eb2(0x302)]();if(_0x9c6174['length']===0x0||!_0x5a964b||!_0x15d10f)return;const _0x2532bc=[{'id':_0x196ab6[_0x1c8eb2(0x2fa)]['id'],'params':{'unitId':_0x5a964b,'subUnitId':_0x30e0f3,'selections':_0x593ae3[_0x1c8eb2(0x31f)][_0x1c8eb2(0x26e)](_0x9c6174)}}],_0x323735=this['_transformService'][_0x1c8eb2(0x220)](_0x148a4f,_0x2532bc);if(!_0xdad847[_0x1c8eb2(0x116)](_0x323735))throw _0x323735[_0x1c8eb2(0x2cd)];const _0x69377b=(_0x5660f7=(_0x2bbef7=_0x323735[_0x1c8eb2(0x2f4)][0x0])==null?void 0x0:_0x2bbef7[_0x1c8eb2(0x158)])==null?void 0x0:_0x5660f7[_0x1c8eb2(0x231)];if(Array[_0x1c8eb2(0x366)](_0x69377b)&&_0x69377b[_0x1c8eb2(0x2e9)]){if(_0x69377b[_0x1c8eb2(0x2e9)]===_0x2532bc[0x0][_0x1c8eb2(0x158)][_0x1c8eb2(0x231)][_0x1c8eb2(0x2e9)]&&_0x69377b[_0x1c8eb2(0x41f)]((_0xf05574,_0x32b969)=>_0x593ae3[_0x1c8eb2(0x24c)]['equals'](_0xf05574['range'],_0x2532bc[0x0][_0x1c8eb2(0x158)]['selections'][_0x32b969][_0x1c8eb2(0x3a6)])))return;this[_0x1c8eb2(0x397)][_0x1c8eb2(0xa5)](_0x593ae3[_0x1c8eb2(0x170)])[_0x1c8eb2(0x218)](_0x196ab6[_0x1c8eb2(0x2fa)]['id'],{'unitId':_0x5a964b,'subUnitId':_0x30e0f3,'selections':_0x69377b});}}},_0x313ef4[_0x509db9(0x33b)]=_0x23ac63([_0x1ac9ce(0x0,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x1ac9ce(0x1,_0xdad847[_0x509db9(0x268)]),_0x1ac9ce(0x2,_0x593ae3[_0x509db9(0x1bc)])],_0x313ef4[_0x509db9(0x33b)]);const _0x5647b7=_0x593ae3[_0x509db9(0xbc)](_0x509db9(0x1e2));var _0x1bfb46=(_0xf0bde5=>(_0xf0bde5[_0xf0bde5[_0x509db9(0x1bf)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xf0bde5[_0xf0bde5[_0x509db9(0xaa)]=0x1]=_0x509db9(0xaa),_0xf0bde5))(_0x1bfb46||{});const _0x9fbd4f=_0x509db9(0x26a),_0x39e350={};function _0x410431(_0x2ec7ec){var _0x5e4dec=_0x509db9,_0x5061b8;return!!((_0x5061b8=_0x2ec7ec[_0x5e4dec(0x158)])!=null&&_0x5061b8[_0x5e4dec(0x159)]);}const _0xc1b014=new Set([_0x196ab6[_0x509db9(0x3a9)]['id']]);function _0x55732f(_0x1a96ef,_0x1ba7b4,_0xbd8fb2,_0x2b9736,_0x8bd808){var _0x49c1a1=_0x509db9,_0x31b6d4,_0x3db875,_0x4cc956,_0xd85800;const _0x28f791=[];for(const _0x3761f0 of _0x1a96ef){if(_0xc1b014[_0x49c1a1(0x34c)](_0x3761f0['id'])){if(_0x28f791[_0x49c1a1(0x2e9)]>0x0)break;_0x28f791[_0x49c1a1(0x273)](_0x3761f0);break;}if(_0x410431(_0x3761f0)){if(_0x28f791[_0x49c1a1(0x2e9)]>0x0)break;_0x28f791[_0x49c1a1(0x273)](_0x3761f0);break;}_0x28f791[_0x49c1a1(0x273)](_0x3761f0);}const _0x418626=(_0x3db875=(_0x31b6d4=_0x8bd808[_0x49c1a1(0x269)]())==null?void 0x0:_0x31b6d4[_0x49c1a1(0x10e)])!=null?_0x3db875:'unknown',_0x134ed7=(_0xd85800=(_0x4cc956=_0x8bd808[_0x49c1a1(0x269)]())==null?void 0x0:_0x4cc956[_0x49c1a1(0x3e2)])!=null?_0xd85800:'unknown';return{'changeset':{'unitID':_0x1ba7b4,'type':_0xdad847[_0x49c1a1(0x41d)](_0xbd8fb2[_0x49c1a1(0xea)](_0x1ba7b4)),'baseRev':_0x2b9736['getCurrentRevOfUnit'](_0x1ba7b4),'revision':0x0,'userID':_0x418626,'memberID':_0x134ed7,'mutations':_0x28f791},'pendingMutations':_0x1a96ef['slice'](_0x28f791[_0x49c1a1(0x2e9)])};}function _0x2833b8(_0x3418d6,_0x20c20f,_0x474f87,_0x277332,_0x2bd724){var _0x578bcf=_0x509db9,_0x4130f5,_0x49b9a2,_0x1fba75,_0x3adaa4;const _0x59ee3b=[_0x3418d6[_0x578bcf(0xae)]((_0x37c618,_0x81de60)=>{var _0x11460d=_0x578bcf,_0x23c26f;const {id:_0x3b415f}=_0x37c618,{id:_0x308c80,type:_0x338ac7}=_0x81de60,_0x2691dc=(_0x23c26f=_0x37c618[_0x11460d(0x158)])!=null?_0x23c26f:{'actions':null},_0x3e76c1=_0x81de60[_0x11460d(0x158)];if(_0x3b415f&&_0x3b415f!==_0x308c80)throw new Error(_0x11460d(0x3d8)+_0x3b415f+_0x11460d(0x127)+_0x308c80+'.');return{..._0x37c618,'id':_0x308c80,'type':_0x338ac7,'params':{'unitId':_0x3e76c1[_0x11460d(0x339)],'textRanges':_0x3e76c1[_0x11460d(0x317)],'actions':_0x593ae3[_0x11460d(0x418)][_0x11460d(0x35f)](_0x2691dc['actions'],_0x3e76c1['actions'])}};},{})],_0x3c7130=(_0x49b9a2=(_0x4130f5=_0x2bd724[_0x578bcf(0x269)]())==null?void 0x0:_0x4130f5[_0x578bcf(0x10e)])!=null?_0x49b9a2:_0x578bcf(0xec),_0x10318b=(_0x3adaa4=(_0x1fba75=_0x2bd724[_0x578bcf(0x269)]())==null?void 0x0:_0x1fba75[_0x578bcf(0x3e2)])!=null?_0x3adaa4:_0x578bcf(0xec);return{'changeset':{'unitID':_0x20c20f,'type':_0xdad847[_0x578bcf(0x41d)](_0x474f87['getUnitType'](_0x20c20f)),'baseRev':_0x277332[_0x578bcf(0x333)](_0x20c20f),'revision':0x0,'userID':_0x3c7130,'memberID':_0x10318b,'mutations':_0x59ee3b},'pendingMutations':[]};}function _0x2f900f(_0x1898d4,_0x2209d2){var _0x19ba8c=_0x509db9;const _0x432aff=new _0x2ff251[(_0x19ba8c(0x3c8))](0x1);return setTimeout(()=>_0x432aff[_0x19ba8c(0xda)](_0x2209d2),_0x1898d4),_0x432aff[_0x19ba8c(0x203)]()['pipe'](_0x2ff251['take'](0x1));}var _0x3da7ed=Object[_0x509db9(0x3d7)],_0x388bf0=(_0x41a339,_0x40bbf1,_0x37096f,_0x140ce7)=>{var _0x3e68be=_0x509db9;for(var _0x4617b5=_0x140ce7>0x1?void 0x0:_0x140ce7?_0x3da7ed(_0x40bbf1,_0x37096f):_0x40bbf1,_0xe30009=_0x41a339[_0x3e68be(0x2e9)]-0x1,_0x1bf4ee;_0xe30009>=0x0;_0xe30009--)(_0x1bf4ee=_0x41a339[_0xe30009])&&(_0x4617b5=_0x1bf4ee(_0x4617b5)||_0x4617b5);return _0x4617b5;},_0x40dca1=(_0x1cfdb7,_0x3bf927)=>(_0x4e9b93,_0x4add42)=>_0x3bf927(_0x4e9b93,_0x4add42,_0x1cfdb7),_0x1ac262=(_0x326b6d=>(_0x326b6d[_0x509db9(0x399)]=_0x509db9(0x100),_0x326b6d[_0x509db9(0x162)]=_0x509db9(0x140),_0x326b6d[_0x509db9(0x94)]=_0x509db9(0x346),_0x326b6d[_0x509db9(0x8d)]='awaiting',_0x326b6d[_0x509db9(0x37a)]='awaiting_with_pending',_0x326b6d[_0x509db9(0x1f6)]=_0x509db9(0x207),_0x326b6d[_0x509db9(0x30f)]=_0x509db9(0x1f3),_0x326b6d['OFFLINE']='offline',_0x326b6d))(_0x1ac262||{});const _0x595904=0xea60;class _0x2b1fbc{constructor(_0x59b371,_0x3cf8d4,_0x44a2d8,_0x3a31f3,_0x2cd8b3,_0x5d0873,_0xf9785b,_0x319d0f,_0x1a0a39){var _0x5f2bed=_0x509db9;_0x309c0d(this,'_awaitingChangeset',null),_0x309c0d(this,_0x5f2bed(0x255),[]),(this[_0x5f2bed(0x359)]=_0x59b371,this[_0x5f2bed(0xfd)]=_0x3cf8d4,this['_handler']=_0x2cd8b3,this[_0x5f2bed(0x15f)]=_0x5d0873,this[_0x5f2bed(0x2ed)]=_0xf9785b,this[_0x5f2bed(0xa4)]=_0x319d0f,this[_0x5f2bed(0x86)]=_0x1a0a39,this[_0x5f2bed(0x156)]=_0x44a2d8,this[_0x5f2bed(0x255)]=_0x3a31f3);}[_0x509db9(0x1f4)](_0x1124fa){var _0x2da487=_0x509db9;const _0x21ccb1=this[_0x2da487(0xa4)]['getCurrentRevOfUnit'](this['unitID']);return _0x1124fa[_0x2da487(0x134)]>_0x21ccb1+0x1?(this[_0x2da487(0x2e0)][_0x2da487(0x20b)]({'from':_0x21ccb1,'to':_0x1124fa['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x116f23){var _0x55bc30=_0x509db9;this[_0x55bc30(0x2ed)]['transformUndoRedo'](this[_0x55bc30(0x359)],_0x116f23);}[_0x509db9(0x133)](_0x5cf683){var _0x12b6b4=_0x509db9,_0x70d67e,_0x18976b;(_0x18976b=(_0x70d67e=this[_0x12b6b4(0x2e0)])[_0x12b6b4(0x161)])==null||_0x18976b[_0x12b6b4(0xc8)](_0x70d67e,_0x5cf683);}[_0x509db9(0x258)](_0x442ac0){var _0x4e0a0a=_0x509db9,_0x242bb8,_0xa6a93d;return(_0xa6a93d=(_0x242bb8=this['_handler'])[_0x4e0a0a(0x1db)])==null?void 0x0:_0xa6a93d[_0x4e0a0a(0xc8)](_0x242bb8,_0x442ac0);}[_0x509db9(0x33a)](_0x58c660){var _0x2abc48=_0x509db9,_0x1fa24d,_0x14292f;return(_0x14292f=(_0x1fa24d=this[_0x2abc48(0x2e0)])[_0x2abc48(0x109)])==null?void 0x0:_0x14292f[_0x2abc48(0xc8)](_0x1fa24d,_0x58c660);}['_transformRemoteChangesetByIMECache'](_0xeb816d){var _0x148515=_0x509db9,_0x4e4d31,_0x14d248,_0x1cb908;return(_0x1cb908=(_0x14d248=(_0x4e4d31=this[_0x148515(0x2e0)])[_0x148515(0x3a3)])==null?void 0x0:_0x14d248[_0x148515(0xc8)](_0x4e4d31,_0xeb816d))!=null?_0x1cb908:_0xeb816d;}[_0x509db9(0x40b)](_0x257243){var _0x354ddb=_0x509db9,_0x34be1d,_0x21eea1,_0x3349b1;return(_0x3349b1=(_0x21eea1=(_0x34be1d=this[_0x354ddb(0x2e0)])[_0x354ddb(0x1c1)])==null?void 0x0:_0x21eea1[_0x354ddb(0xc8)](_0x34be1d,_0x257243))!=null?_0x3349b1:_0x257243;}[_0x509db9(0x2d5)](_0x3f7447){var _0x4e2fb2=_0x509db9,_0x31a0b3,_0xb5e5a6;if(this['type']===_0x5dd1fb[_0x4e2fb2(0x3b0)]){const {unitID:_0x2583c8,mutations:_0x2bdf07,memberID:_0x484c2c}=_0x3f7447,_0xa9ab1a=_0x2bdf07['length']>0x0?_0x2bdf07[0x0]['params'][_0x4e2fb2(0x317)]:[];Array[_0x4e2fb2(0x366)](_0xa9ab1a)&&_0xa9ab1a[_0x4e2fb2(0x2e9)]>0x0&&((_0xb5e5a6=(_0x31a0b3=this[_0x4e2fb2(0x2e0)])['onSyncEditingCollabCursor'])==null||_0xb5e5a6['call'](_0x31a0b3,{'unitID':_0x2583c8,'memberID':_0x484c2c,'textRanges':_0xa9ab1a}));}}['_updateLocalCache'](){var _0x294603=_0x509db9,_0x4b0d34;(_0x4b0d34=this[_0x294603(0x86)])==null||_0x4b0d34[_0x294603(0x24a)](this[_0x294603(0x359)],this['type'],this[_0x294603(0x156)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x510d0a=_0x509db9;return this[_0x510d0a(0xa4)]['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x4dce23=_0x509db9;this[_0x4dce23(0xa4)][_0x4dce23(0x425)](this[_0x4dce23(0x359)]);}[_0x509db9(0x30c)](_0x1442dc){var _0x2d6742=_0x509db9,_0x156582;let _0x574c5c=this[_0x2d6742(0x120)](_0x1442dc);_0x574c5c=this[_0x2d6742(0x40b)](_0x574c5c);const _0x4884f5=_0x593ae3[_0x2d6742(0x417)](_0x574c5c[_0x2d6742(0x135)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4884f5[_0x2d6742(0x419)])throw _0x4884f5['error']instanceof Error?_0x4884f5[_0x2d6742(0x2cd)]:new Error((_0x156582=_0x4884f5[_0x2d6742(0x2cd)])!=null?_0x156582:_0x2d6742(0x1c7));this[_0x2d6742(0x258)](_0x574c5c),this['_transformStateCache'](_0x574c5c),this[_0x2d6742(0x3d6)](_0x1442dc),this[_0x2d6742(0x133)](_0x574c5c),this['_syncEditingCollabCursor'](_0x574c5c),this[_0x2d6742(0x1b3)]();}}_0x313ef4['SyncedState']=class extends _0x2b1fbc{constructor(_0x75240d,_0x4f157c,_0x7a0f8,_0x4492a0,_0x267292,_0x5a4c13,_0x3e7171,_0x51e6a9,_0x2c455b,_0x21855a){var _0xc75945=_0x509db9;super(_0x75240d,_0x4f157c,null,[],_0x7a0f8,_0x3e7171,_0x5a4c13,_0x4492a0,_0x21855a),_0x309c0d(this,_0xc75945(0x11e),_0xc75945(0x140)),(this['_injector']=_0x267292,this['_logService']=_0x51e6a9,this['_transformService']=_0x2c455b,this[_0xc75945(0x301)]=_0x21855a);}['appendMutation'](_0x446be7){var _0x4c3e30=_0x509db9;const _0x359a51=this['_injector'][_0x4c3e30(0x252)](_0x313ef4[_0x4c3e30(0x284)],this[_0x4c3e30(0x359)],this[_0x4c3e30(0xfd)],[_0x446be7],this['_handler']);return _0x359a51[_0x4c3e30(0x292)](),_0x359a51[_0x4c3e30(0x2a9)](),_0x359a51;}[_0x509db9(0x3d3)](_0x29b7db){var _0xdd3662=_0x509db9;if(this[_0xdd3662(0x1f4)](_0x29b7db))return this['_injector'][_0xdd3662(0x252)](_0x313ef4['FetchingMissState'],this[_0xdd3662(0x359)],this[_0xdd3662(0xfd)],null,[],null,[_0x29b7db],this['_handler']);try{const _0x1f73de=this[_0xdd3662(0x3b9)][_0xdd3662(0x220)](_0x29b7db,[_0xdad847[_0xdd3662(0x2b0)]]);if(_0xdad847[_0xdd3662(0x116)](_0x1f73de)){const {c1Prime:_0x4a08e4}=_0x1f73de;return this['_executeRemoteChangeset'](_0x4a08e4),this;}throw _0x1f73de[_0xdd3662(0x2cd)];}catch(_0x56cc02){return this[_0xdd3662(0x2a8)][_0xdd3662(0x2cd)](_0x56cc02),this['_onConflict'](!0x1);}}[_0x509db9(0x10d)](_0x480935){var _0x10b9a9=_0x509db9;return this[_0x10b9a9(0x397)][_0x10b9a9(0x252)](_0x313ef4['ConflictState'],this[_0x10b9a9(0x359)],this[_0x10b9a9(0xfd)],null,[],this['_handler'],_0x480935);}['onRemoteAck'](){var _0x199acb=_0x509db9;throw new Error(_0x199acb(0x3ea));}[_0x509db9(0x3f2)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x509db9(0x36f)](){var _0x492482=_0x509db9;return this[_0x492482(0x397)][_0x492482(0x252)](_0x313ef4[_0x492482(0x2d1)],this[_0x492482(0x359)],this[_0x492482(0xfd)],null,[],this['_handler']);}[_0x509db9(0x3ca)](){return this;}['resend'](){var _0x56cdc1=_0x509db9;throw new Error(_0x56cdc1(0x1dd));}[_0x509db9(0x1a0)](){var _0x27ad07=_0x509db9;const _0x279893=this[_0x27ad07(0xa4)]['getCurrentRevOfUnit'](this[_0x27ad07(0x359)]);return this['_handler']['onMissingChangesets']({'from':_0x279893,'to':0x0}),this['_injector'][_0x27ad07(0x252)](_0x313ef4[_0x27ad07(0x336)],this['unitID'],this[_0x27ad07(0xfd)],null,[],null,[],this[_0x27ad07(0x2e0)]);}},_0x313ef4['SyncedState']=_0x388bf0([_0x40dca1(0x3,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0x4,_0x593ae3['Inject'](_0x593ae3['Injector'])),_0x40dca1(0x5,_0x593ae3['IUndoRedoService']),_0x40dca1(0x6,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x7,_0x593ae3[_0x509db9(0x1a8)]),_0x40dca1(0x8,_0xdad847['ITransformService']),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x1fd)]),_0x313ef4[_0x509db9(0x284)]=class extends _0x2b1fbc{constructor(_0x1e45ce,_0x382399,_0x3a7257,_0x1ba61d,_0x331d0e,_0x46a2ac,_0x3f9e80,_0x29a1fa,_0x35aa58,_0x34e602,_0x19f93f,_0x47d0c5,_0x2e5729,_0x597a31){var _0x5a38dd=_0x509db9;super(_0x1e45ce,_0x382399,null,_0x3a7257,_0x1ba61d,_0x35aa58,_0x2e5729,_0x46a2ac,_0x597a31),_0x309c0d(this,_0x5a38dd(0x11e),_0x5a38dd(0x346)),_0x309c0d(this,_0x5a38dd(0x141),null),_0x309c0d(this,_0x5a38dd(0x1b8),null),(this[_0x5a38dd(0x397)]=_0x331d0e,this[_0x5a38dd(0x2c5)]=_0x3f9e80,this[_0x5a38dd(0x2a8)]=_0x29a1fa,this[_0x5a38dd(0x15b)]=_0x34e602,this[_0x5a38dd(0x3b9)]=_0x19f93f,this[_0x5a38dd(0x281)]=_0x47d0c5);}['appendMutation'](_0x5f18bc){return this['_pendingMutations']['push'](_0x5f18bc),this['_updateLocalCache'](),this;}[_0x509db9(0x3d3)](_0x5f234b){var _0x1274fd=_0x509db9;if(this[_0x1274fd(0x1f4)](_0x5f234b))return this[_0x1274fd(0x226)](),this[_0x1274fd(0x397)][_0x1274fd(0x252)](_0x313ef4[_0x1274fd(0x336)],this[_0x1274fd(0x359)],this[_0x1274fd(0xfd)],null,this['_pendingMutations'],null,[_0x5f234b],this[_0x1274fd(0x2e0)]);try{const _0x12f60c=this[_0x1274fd(0x3b9)][_0x1274fd(0x220)](_0x5f234b,this[_0x1274fd(0x255)]);if(_0xdad847[_0x1274fd(0x116)](_0x12f60c)){const {c1Prime:_0x24c82d,m2Prime:_0x4addb2}=_0x12f60c;this[_0x1274fd(0x30c)](_0x24c82d);const _0x10851e=this[_0x1274fd(0x397)][_0x1274fd(0x252)](_0x313ef4['PendingState'],this['unitID'],this[_0x1274fd(0xfd)],_0x4addb2,this[_0x1274fd(0x2e0)]);this['_clearScheduledTask']();const _0x261724=new Date()['getTime'](),_0x330ec6=this[_0x1274fd(0x141)]?Math[_0x1274fd(0x1ec)](this[_0x1274fd(0x141)]-_0x261724,0x0):this[_0x1274fd(0x1d1)]();return _0x10851e['_schedule'](_0x330ec6),_0x10851e;}throw _0x12f60c['error'];}catch(_0x503c59){return this[_0x1274fd(0x2a8)][_0x1274fd(0x2cd)](_0x503c59),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x509db9(0x3f2)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x509db9(0x177)](){return this;}[_0x509db9(0x36f)](){var _0x16c615=_0x509db9;return this[_0x16c615(0x226)](),this['_injector'][_0x16c615(0x252)](_0x313ef4[_0x16c615(0x2d1)],this[_0x16c615(0x359)],this[_0x16c615(0xfd)],null,this['_pendingMutations'],this[_0x16c615(0x2e0)]);}['toggleOnline'](){return this;}[_0x509db9(0x292)](_0x4a81b2){var _0x44ec9a=_0x509db9;const _0xe2b702=_0x4a81b2!=null?_0x4a81b2:this[_0x44ec9a(0x1d1)]();this['_scheduleCompleteTimestamp']=new Date()[_0x44ec9a(0x427)]()+_0xe2b702,this[_0x44ec9a(0x1b8)]=setTimeout(()=>{var _0x2084a0=_0x44ec9a;this[_0x2084a0(0x226)]();let _0x30065e=null;switch(this[_0x2084a0(0xfd)]){case _0x5dd1fb[_0x2084a0(0x155)]:{_0x30065e=_0x55732f(this[_0x2084a0(0x255)],this[_0x2084a0(0x359)],this[_0x2084a0(0x281)],this[_0x2084a0(0xa4)],this[_0x2084a0(0x2c5)]);break;}case _0x5dd1fb[_0x2084a0(0x3b0)]:{this[_0x2084a0(0x255)]['every'](_0x536051=>_0x536051['id']===_0x6ea9c7[_0x2084a0(0x310)]['id'])?_0x30065e=_0x2833b8(this[_0x2084a0(0x255)],this[_0x2084a0(0x359)],this[_0x2084a0(0x281)],this[_0x2084a0(0xa4)],this[_0x2084a0(0x2c5)]):_0x30065e=_0x55732f(this[_0x2084a0(0x255)],this[_0x2084a0(0x359)],this[_0x2084a0(0x281)],this[_0x2084a0(0xa4)],this[_0x2084a0(0x2c5)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x2084a0(0xfd)]+_0x2084a0(0x13f));}const {changeset:_0x32e93d,pendingMutations:_0x3136c5}=_0x30065e;this[_0x2084a0(0x2e0)]['onSendChangeset'](_0x32e93d);const _0x30501f=_0x3136c5[_0x2084a0(0x2e9)]?this['_injector'][_0x2084a0(0x252)](_0x313ef4[_0x2084a0(0x197)],this[_0x2084a0(0x359)],this['type'],_0x32e93d,_0x3136c5,this[_0x2084a0(0x2e0)],void 0x0):this[_0x2084a0(0x397)][_0x2084a0(0x252)](_0x313ef4[_0x2084a0(0x3cb)],this[_0x2084a0(0x359)],this[_0x2084a0(0xfd)],_0x32e93d,this['_handler']);_0x30501f[_0x2084a0(0x2a9)](),this[_0x2084a0(0x2e0)]['onStateChange'](this,_0x30501f);},_0xe2b702);}[_0x509db9(0x1d1)](){var _0x560a81=_0x509db9,_0x1b69de;const _0x44e1ef=this[_0x560a81(0x15b)][_0x560a81(0x1a7)](_0x9fbd4f);return(_0x1b69de=_0x44e1ef==null?void 0x0:_0x44e1ef[_0x560a81(0x206)])!=null?_0x1b69de:0x7d0;}[_0x509db9(0x101)](){var _0x442649=_0x509db9;throw new Error(_0x442649(0x3e9));}[_0x509db9(0x226)](){var _0x11a575=_0x509db9;this[_0x11a575(0x1b8)]!=null&&(clearTimeout(this[_0x11a575(0x1b8)]),this[_0x11a575(0x1b8)]=null);}[_0x509db9(0x10d)](_0x119e6d){var _0x5503ae=_0x509db9;return this[_0x5503ae(0x226)](),this[_0x5503ae(0x397)][_0x5503ae(0x252)](_0x313ef4[_0x5503ae(0x232)],this[_0x5503ae(0x359)],this[_0x5503ae(0xfd)],null,this[_0x5503ae(0x255)],this[_0x5503ae(0x2e0)],_0x119e6d);}},_0x313ef4[_0x509db9(0x284)]=_0x388bf0([_0x40dca1(0x4,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['Injector'])),_0x40dca1(0x5,_0x593ae3['Inject'](_0xdad847['RevisionService'])),_0x40dca1(0x6,_0x593ae3[_0x509db9(0x28b)](_0x313ef4[_0x509db9(0x358)])),_0x40dca1(0x7,_0x593ae3[_0x509db9(0x1a8)]),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x1c0)]),_0x40dca1(0xa,_0xdad847['ITransformService']),_0x40dca1(0xb,_0x593ae3[_0x509db9(0x1bc)]),_0x40dca1(0xc,_0x593ae3['IUndoRedoService']),_0x40dca1(0xd,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x284)]),_0x313ef4['AwaitingState']=class extends _0x2b1fbc{constructor(_0x3afbf4,_0x200c88,_0x2aa338,_0x2d6907,_0x312596,_0x553563,_0x5d7532,_0x3e148d,_0x397dcf,_0x40c9e5,_0x2563ce){var _0x39c2e7=_0x509db9;super(_0x3afbf4,_0x200c88,_0x2aa338,[],_0x2d6907,_0x5d7532,_0x40c9e5,_0x553563,_0x2563ce),_0x309c0d(this,_0x39c2e7(0x11e),_0x39c2e7(0x37b)),_0x309c0d(this,_0x39c2e7(0x223),0x0),_0x309c0d(this,_0x39c2e7(0x139)),_0x309c0d(this,_0x39c2e7(0x1b2)),(this[_0x39c2e7(0x397)]=_0x312596,this[_0x39c2e7(0x2a8)]=_0x3e148d,this[_0x39c2e7(0x3b9)]=_0x397dcf);}['appendMutation'](_0x3152c7){var _0x296ccf=_0x509db9;this['_clearScheduledTask']();const _0x396d91=this['_injector'][_0x296ccf(0x252)](_0x313ef4['AwaitingWithPendingState'],this[_0x296ccf(0x359)],this[_0x296ccf(0xfd)],this[_0x296ccf(0x156)],[_0x3152c7],this[_0x296ccf(0x2e0)],this[_0x296ccf(0x139)]);return _0x396d91[_0x296ccf(0x2a9)](),_0x396d91;}[_0x509db9(0x3d3)](_0x57be7b){var _0x2db00b=_0x509db9;if(this[_0x2db00b(0x1f4)](_0x57be7b))return this[_0x2db00b(0x226)](),this[_0x2db00b(0x397)][_0x2db00b(0x252)](_0x313ef4[_0x2db00b(0x336)],this['unitID'],this[_0x2db00b(0xfd)],this['_awaitingChangeset'],[],null,[_0x57be7b],this['_handler']);try{const _0x4ef836=this['_transformService']['transformChangesets']([_0x57be7b],[this[_0x2db00b(0x156)]],!0x1);if(_0xdad847[_0x2db00b(0x1fa)](_0x4ef836)){const {c1Prime:_0xfd0ba4,c2Prime:_0x5d3850}=_0x4ef836;this[_0x2db00b(0x30c)](_0xfd0ba4[0x0]),_0x5d3850[0x0]['baseRev']=this[_0x2db00b(0x230)](),this[_0x2db00b(0x226)]();const _0x3dd9a7=this['_injector'][_0x2db00b(0x252)](_0x313ef4[_0x2db00b(0x3cb)],this[_0x2db00b(0x359)],this[_0x2db00b(0xfd)],_0x5d3850[0x0],this[_0x2db00b(0x2e0)]);return _0x3dd9a7['_updateLocalCache'](),_0x3dd9a7;}return this[_0x2db00b(0x10d)](!0x1);}catch(_0x3d6aac){return this['_logService'][_0x2db00b(0x2cd)](_0x3d6aac),this['_onConflict'](!0x1);}}[_0x509db9(0x3bf)](_0x1cc30){var _0xda708c=_0x509db9;this['_clearScheduledTask']();const _0x5d5c0d=this[_0xda708c(0xa4)][_0xda708c(0x333)](this[_0xda708c(0x359)]);if(_0x1cc30[_0xda708c(0x134)]<_0x5d5c0d-0x1)return this;if(this[_0xda708c(0x1f4)](_0x1cc30))return this[_0xda708c(0x397)][_0xda708c(0x252)](_0x313ef4[_0xda708c(0x336)],this[_0xda708c(0x359)],this[_0xda708c(0xfd)],null,[],this[_0xda708c(0x156)],[],this[_0xda708c(0x2e0)]);this['_incrementRevisionNumber']();const _0x48b785=this[_0xda708c(0x397)][_0xda708c(0x252)](_0x313ef4['SyncedState'],this[_0xda708c(0x359)],this[_0xda708c(0xfd)],this[_0xda708c(0x2e0)]);return _0x48b785[_0xda708c(0x2a9)](),_0x48b785;}[_0x509db9(0x3f2)](_0x271b6a){var _0x5d0b6a=_0x509db9;return this[_0x5d0b6a(0x10d)](!!(_0x271b6a!=null&&_0x271b6a[_0x5d0b6a(0xd1)]));}[_0x509db9(0x177)](_0x7d28fd){var _0x26daea=_0x509db9;return this[_0x26daea(0x223)]>_0x595904?this[_0x26daea(0x36f)]():(this[_0x26daea(0x139)]=_0x2f900f(this[_0x26daea(0x223)],{'timeout':this[_0x26daea(0x223)],'reqId':_0x7d28fd[_0x26daea(0x32a)]}),this[_0x26daea(0x1b2)]=this['_resendTimer'][_0x26daea(0xa2)](({reqId:_0x58ba36,timeout:_0x388c22})=>{var _0x596b9e=_0x26daea;this[_0x596b9e(0x1e5)](_0x58ba36,_0x388c22);}),this);}[_0x509db9(0x36f)](){var _0x281637=_0x509db9;return this[_0x281637(0x226)](),this['_injector'][_0x281637(0x252)](_0x313ef4['OfflineState'],this[_0x281637(0x359)],this[_0x281637(0xfd)],this[_0x281637(0x156)],[],this['_handler']);}[_0x509db9(0x3ca)](){return this;}[_0x509db9(0x101)](){var _0x79237f=_0x509db9;this['_handler']['onSendChangeset'](this[_0x79237f(0x156)]);}['_onConflict'](_0x2e4935){var _0x36f9b6=_0x509db9;return this[_0x36f9b6(0x226)](),this[_0x36f9b6(0x397)][_0x36f9b6(0x252)](_0x313ef4[_0x36f9b6(0x232)],this[_0x36f9b6(0x359)],this['type'],this[_0x36f9b6(0x156)],[],this[_0x36f9b6(0x2e0)],_0x2e4935);}['_resendWithTimeout'](_0x1fb3bc,_0x2bfa87){var _0x155f86=_0x509db9,_0x1226db;_0x1fb3bc===((_0x1226db=this['_awaitingChangeset'])==null?void 0x0:_0x1226db['reqId'])&&(this['resend'](),this[_0x155f86(0x223)]=_0x2bfa87===0x0?0x3e8:_0x2bfa87*0x2);}[_0x509db9(0x226)](){var _0x560971=_0x509db9,_0x482e83;(_0x482e83=this[_0x560971(0x1b2)])==null||_0x482e83[_0x560971(0x14c)](),this[_0x560971(0x223)]=0x0;}},_0x313ef4[_0x509db9(0x3cb)]=_0x388bf0([_0x40dca1(0x4,_0x593ae3['Inject'](_0x593ae3['Injector'])),_0x40dca1(0x5,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0x6,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x7,_0x593ae3['ILogService']),_0x40dca1(0x8,_0xdad847[_0x509db9(0x268)]),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x221)]),_0x40dca1(0xa,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x3cb)]),_0x313ef4['AwaitingWithPendingState']=class extends _0x2b1fbc{constructor(_0x41c8db,_0x3a8ae5,_0xace73d,_0x2632a5,_0xbcac4a,_0xda05a9,_0x6443d5,_0x133033,_0x3990a8,_0x319b5c,_0x2b4404,_0x1dd4a4,_0x38f80a){var _0x36ee1a=_0x509db9;super(_0x41c8db,_0x3a8ae5,_0xace73d,_0x2632a5,_0xbcac4a,_0x3990a8,_0x1dd4a4,_0x133033,_0x38f80a),_0x309c0d(this,_0x36ee1a(0x11e),'awaiting_with_pending'),_0x309c0d(this,_0x36ee1a(0x223),0x0),_0x309c0d(this,_0x36ee1a(0x139)),_0x309c0d(this,_0x36ee1a(0x1b2)),(this[_0x36ee1a(0x397)]=_0x6443d5,this['_logService']=_0x319b5c,this[_0x36ee1a(0x3b9)]=_0x2b4404,this[_0x36ee1a(0x301)]=_0x38f80a,_0xda05a9&&(this['_resendTimer']=_0xda05a9,this[_0x36ee1a(0x1b2)]=this[_0x36ee1a(0x139)][_0x36ee1a(0xa2)](({reqId:_0x189021,timeout:_0x4d3648})=>{var _0x397960=_0x36ee1a;this[_0x397960(0x1e5)](_0x189021,_0x4d3648);})));}[_0x509db9(0x2a6)](_0x4e824a){var _0x4e7886=_0x509db9;return this[_0x4e7886(0x255)][_0x4e7886(0x273)](_0x4e824a),this;}[_0x509db9(0x3d3)](_0x548101){var _0x3287e6=_0x509db9;if(this[_0x3287e6(0x1f4)](_0x548101))return this[_0x3287e6(0x226)](),this[_0x3287e6(0x397)][_0x3287e6(0x252)](_0x313ef4[_0x3287e6(0x336)],this[_0x3287e6(0x359)],this[_0x3287e6(0xfd)],this['_awaitingChangeset'],this[_0x3287e6(0x255)],null,[_0x548101],this[_0x3287e6(0x2e0)]);try{const _0x37ec4a=this['_transformService'][_0x3287e6(0x13e)]([_0x548101],[this[_0x3287e6(0x156)]],!0x1);if(_0xdad847[_0x3287e6(0x1fa)](_0x37ec4a)){const {c1Prime:_0x224173,c2Prime:_0x3c2ece}=_0x37ec4a,_0x330e4e=this[_0x3287e6(0x3b9)][_0x3287e6(0x220)](_0x224173[0x0],this['_pendingMutations']);if(_0xdad847[_0x3287e6(0x116)](_0x330e4e)){const {c1Prime:_0x30e586,m2Prime:_0x5c68eb}=_0x330e4e;return this[_0x3287e6(0x30c)](_0x30e586),_0x3c2ece[0x0][_0x3287e6(0x7f)]=this[_0x3287e6(0x230)](),this[_0x3287e6(0x226)](),this['_injector']['createInstance'](_0x313ef4[_0x3287e6(0x197)],this['unitID'],this[_0x3287e6(0xfd)],_0x3c2ece[0x0],_0x5c68eb,this[_0x3287e6(0x2e0)],void 0x0);}throw _0x330e4e[_0x3287e6(0x2cd)];}throw _0x37ec4a[_0x3287e6(0x2cd)];}catch(_0xe5a929){return this[_0x3287e6(0x2a8)]['error'](_0xe5a929),this[_0x3287e6(0x10d)](!0x1);}}[_0x509db9(0x3bf)](_0x303125){var _0x23133c=_0x509db9;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x303125))return this[_0x23133c(0x397)][_0x23133c(0x252)](_0x313ef4[_0x23133c(0x336)],this[_0x23133c(0x359)],this['type'],null,this[_0x23133c(0x255)],this[_0x23133c(0x156)],[],this[_0x23133c(0x2e0)]);this['_incrementRevisionNumber']();const _0x319971=this[_0x23133c(0x397)][_0x23133c(0x252)](_0x313ef4[_0x23133c(0x284)],this[_0x23133c(0x359)],this[_0x23133c(0xfd)],this[_0x23133c(0x255)],this[_0x23133c(0x2e0)]);return _0x319971[_0x23133c(0x292)](),_0x319971[_0x23133c(0x2a9)](),_0x319971;}['onRemoteRej'](_0x4279c8){var _0x3f10d5=_0x509db9;return this[_0x3f10d5(0x10d)](!!(_0x4279c8!=null&&_0x4279c8[_0x3f10d5(0xd1)]));}[_0x509db9(0x177)](_0x3f12ce){var _0x4192e0=_0x509db9;return this[_0x4192e0(0x223)]>_0x595904?this[_0x4192e0(0x36f)]():(this['_resendTimer']=_0x2f900f(this['_resendTimeout'],{'timeout':this[_0x4192e0(0x223)],'reqId':_0x3f12ce['reqId']}),this[_0x4192e0(0x1b2)]=this[_0x4192e0(0x139)][_0x4192e0(0xa2)](({reqId:_0x474674,timeout:_0x5b664e})=>{var _0x26fdba=_0x4192e0;this[_0x26fdba(0x1e5)](_0x474674,_0x5b664e);}),this);}[_0x509db9(0x36f)](){var _0x564e76=_0x509db9;return this[_0x564e76(0x226)](),this[_0x564e76(0x397)][_0x564e76(0x252)](_0x313ef4['OfflineState'],this[_0x564e76(0x359)],this[_0x564e76(0xfd)],this[_0x564e76(0x156)],this[_0x564e76(0x255)],this[_0x564e76(0x2e0)]);}[_0x509db9(0x3ca)](){return this;}[_0x509db9(0x101)](){var _0x5533c1=_0x509db9;this[_0x5533c1(0x2e0)][_0x5533c1(0x1a9)](this[_0x5533c1(0x156)]);}[_0x509db9(0x10d)](_0x278d1d){var _0x168ea4=_0x509db9;return this[_0x168ea4(0x226)](),this[_0x168ea4(0x397)][_0x168ea4(0x252)](_0x313ef4[_0x168ea4(0x232)],this[_0x168ea4(0x359)],this[_0x168ea4(0xfd)],null,this[_0x168ea4(0x255)],this[_0x168ea4(0x2e0)],_0x278d1d);}[_0x509db9(0x1e5)](_0x5435eb,_0x323da3){var _0x415dba=_0x509db9,_0x4dbef5;_0x5435eb===((_0x4dbef5=this[_0x415dba(0x156)])==null?void 0x0:_0x4dbef5[_0x415dba(0x32a)])&&(this[_0x415dba(0x101)](),this[_0x415dba(0x223)]=_0x323da3===0x0?0x3e8:_0x323da3*0x2);}[_0x509db9(0x226)](){var _0x1b7f96=_0x509db9,_0x2be2e4;(_0x2be2e4=this['_sender'])==null||_0x2be2e4[_0x1b7f96(0x14c)](),this['_resendTimeout']=0x0;}},_0x313ef4[_0x509db9(0x197)]=_0x388bf0([_0x40dca1(0x6,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x40dca1(0x7,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x1a8)]),_0x40dca1(0xa,_0xdad847[_0x509db9(0x268)]),_0x40dca1(0xb,_0x593ae3[_0x509db9(0x221)]),_0x40dca1(0xc,_0x593ae3['Optional'](_0x192e9c))],_0x313ef4['AwaitingWithPendingState']),_0x313ef4[_0x509db9(0x232)]=class extends _0x2b1fbc{constructor(_0x511f28,_0x59f84e,_0x162835,_0x5ab743,_0x7516a2,_0x520c4f=!0x1,_0x3c4470,_0x470085,_0x4a3f0b,_0x3b9b97,_0x2679ea,_0x7c34db,_0x317976){var _0x35fccc=_0x509db9;super(_0x511f28,_0x59f84e,_0x162835,_0x5ab743,_0x7516a2,_0x470085,_0x4a3f0b,_0x3b9b97,_0x317976),_0x309c0d(this,_0x35fccc(0x11e),_0x35fccc(0x1f3)),(this[_0x35fccc(0x164)]=_0x520c4f,this[_0x35fccc(0x1de)]=_0x3c4470,this[_0x35fccc(0x2f3)]=_0x2679ea,this['_collaborationUIEventService']=_0x7c34db,this[_0x35fccc(0x301)]=_0x317976,this[_0x35fccc(0x407)](),this[_0x35fccc(0x2f6)](),this[_0x35fccc(0x117)]());}[_0x509db9(0x2a6)](){return this;}[_0x509db9(0x3d3)](){return this;}[_0x509db9(0x3bf)](){return this;}[_0x509db9(0x3f2)](){return this;}[_0x509db9(0x177)](){return this;}[_0x509db9(0x36f)](){return this;}['toggleOnline'](){return this;}[_0x509db9(0x101)](){var _0x2c8c68=_0x509db9;throw new Error(_0x2c8c68(0x40d));}[_0x509db9(0x2f6)](){var _0x20278a=_0x509db9,_0x2ede5f;(_0x2ede5f=this[_0x20278a(0x86)])==null||_0x2ede5f[_0x20278a(0x24a)](this[_0x20278a(0x359)],this[_0x20278a(0xfd)],null,[]);}[_0x509db9(0x407)](){var _0x2a3eb5=_0x509db9;this[_0x2a3eb5(0x164)]?this[_0x2a3eb5(0x20c)][_0x2a3eb5(0x1d9)]({'id':_0x7c51aa[_0x2a3eb5(0x356)]}):this[_0x2a3eb5(0x20c)][_0x2a3eb5(0x1d9)]({'id':_0x7c51aa[_0x2a3eb5(0x30f)]});}[_0x509db9(0x117)](){var _0x3fc0a1=_0x509db9;this['_permissionService'][_0x3fc0a1(0x23a)](new _0x196ab6[(_0x3fc0a1(0x2d3))](this[_0x3fc0a1(0x359)])['id'],!0x1);}},_0x313ef4[_0x509db9(0x232)]=_0x388bf0([_0x40dca1(0x6,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['IPermissionService'])),_0x40dca1(0x7,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x221)]),_0x40dca1(0x9,_0x593ae3['Inject'](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0xa,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x97)])),_0x40dca1(0xb,_0x593ae3['Inject'](_0x1e55fc)),_0x40dca1(0xc,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x232)]),_0x313ef4[_0x509db9(0x2d1)]=class extends _0x2b1fbc{constructor(_0x32aa14,_0x4fbf88,_0x428c93,_0x21718e,_0xe9f69a,_0x403000,_0x3444c,_0x4408fb,_0x5d2a33,_0x67b5bf){var _0x5add91=_0x509db9;super(_0x32aa14,_0x4fbf88,_0x428c93,_0x21718e,_0xe9f69a,_0x4408fb,_0x5d2a33,_0x3444c,_0x67b5bf),_0x309c0d(this,'status',_0x5add91(0x10c)),this[_0x5add91(0x397)]=_0x403000;}['appendMutation'](_0x117bbe){var _0x2d8fd0=_0x509db9;return this['_pendingMutations'][_0x2d8fd0(0x273)](_0x117bbe),this[_0x2d8fd0(0x2a9)](),this;}['onRemoteChangeset'](_0x1da8ec){var _0x2ac379=_0x509db9;throw new Error(_0x2ac379(0x298));}['onRemoteAck'](){var _0x567d23=_0x509db9;throw new Error(_0x567d23(0x254));}[_0x509db9(0x3f2)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x509db9(0x177)](){return this;}[_0x509db9(0x36f)](){return this;}[_0x509db9(0x3ca)](){var _0x5ef319=_0x509db9;const {_injector:_0x5f3cfc,_pendingMutations:_0xd008fc,_awaitingChangeset:_0x1e2bc8,unitID:_0x8a4fec,_handler:_0x10cec6,type:_0x58d306}=this,_0x36613c=_0x505af6(_0x5f3cfc,_0x8a4fec,_0x58d306,_0x1e2bc8,_0xd008fc,_0x10cec6);return _0x36613c instanceof _0x313ef4[_0x5ef319(0x284)]?_0x36613c['_schedule']():(_0x36613c instanceof _0x313ef4[_0x5ef319(0x197)]||_0x36613c instanceof _0x313ef4['AwaitingState'])&&_0x36613c[_0x5ef319(0x101)](),_0x36613c;}[_0x509db9(0x101)](){var _0x33f761=_0x509db9;throw new Error(_0x33f761(0x2ad));}},_0x313ef4[_0x509db9(0x2d1)]=_0x388bf0([_0x40dca1(0x5,_0x593ae3['Inject'](_0x593ae3['Injector'])),_0x40dca1(0x6,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0x7,_0x593ae3['ICommandService']),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x221)]),_0x40dca1(0x9,_0x593ae3['Optional'](_0x192e9c))],_0x313ef4['OfflineState']),_0x313ef4[_0x509db9(0x336)]=class extends _0x2b1fbc{constructor(_0x51850e,_0x59d296,_0x93ec0f,_0x18b29d,_0x427009,_0x244569,_0x291bdf,_0x31a937,_0x4c650f,_0x20063b,_0x5e9453,_0x247bb1,_0x12955a,_0x17d7d7){var _0x255272=_0x509db9;super(_0x51850e,_0x59d296,_0x93ec0f,_0x18b29d,_0x291bdf,_0x5e9453,_0x247bb1,_0x4c650f,_0x17d7d7),_0x309c0d(this,_0x255272(0x11e),_0x255272(0x207)),(this[_0x255272(0x2bd)]=_0x427009,this[_0x255272(0xee)]=_0x244569,this[_0x255272(0x397)]=_0x31a937,this[_0x255272(0x2a8)]=_0x20063b,this[_0x255272(0x3b9)]=_0x12955a,this[_0x255272(0x301)]=_0x17d7d7);}[_0x509db9(0xe8)](_0x401039){var _0x59a724=_0x509db9;try{const _0x7f2632=[..._0x401039,...this[_0x59a724(0xee)]],_0x5b1b09=[this['_awaitingChangeset']||this[_0x59a724(0x2bd)]][_0x59a724(0xbd)](_0xd4801e=>!!_0xd4801e);let _0x39ed0d,_0x1a9c60;if(_0x5b1b09[_0x59a724(0x2e9)]){const _0x5bfe9e=this[_0x59a724(0x3b9)][_0x59a724(0x13e)](_0x7f2632,_0x5b1b09,!0x1);if(!_0xdad847['isTransformChangesetsSuccess'](_0x5bfe9e))throw _0x5bfe9e['error'];_0x39ed0d=_0x5bfe9e[_0x59a724(0x249)],_0x1a9c60=_0x5bfe9e[_0x59a724(0xba)];}else _0x39ed0d=_0x7f2632,_0x1a9c60=[];let _0x4ce206=this[_0x59a724(0x255)];_0x39ed0d['forEach'](_0x4d4484=>{var _0x391f4a=_0x59a724;let _0x1fe420;if(_0x4ce206[_0x391f4a(0x2e9)]){const _0x3318ab=this[_0x391f4a(0x3b9)][_0x391f4a(0x220)](_0x4d4484,_0x4ce206);if(!_0xdad847[_0x391f4a(0x116)](_0x3318ab))throw _0x3318ab[_0x391f4a(0x2cd)];_0x1fe420=_0x3318ab[_0x391f4a(0x249)],_0x4ce206=_0x3318ab[_0x391f4a(0x2f4)];}else _0x1fe420=_0x4d4484;this[_0x391f4a(0x30c)](_0x1fe420);}),this[_0x59a724(0x2bd)]&&this[_0x59a724(0x1b3)](),this[_0x59a724(0x156)]&&_0x1a9c60['length']&&(_0x1a9c60[0x0][_0x59a724(0x7f)]=this[_0x59a724(0x230)]());let _0x20cdff;if(this[_0x59a724(0x156)]&&_0x4ce206[_0x59a724(0x2e9)]!==0x0)_0x20cdff=this[_0x59a724(0x397)][_0x59a724(0x252)](_0x313ef4[_0x59a724(0x197)],this[_0x59a724(0x359)],this['type'],_0x1a9c60[0x0],_0x4ce206,this[_0x59a724(0x2e0)],void 0x0);else{if(this[_0x59a724(0x156)]&&_0x4ce206[_0x59a724(0x2e9)]===0x0)_0x1a9c60[0x0][_0x59a724(0x7f)]=this[_0x59a724(0x230)](),_0x20cdff=this[_0x59a724(0x397)][_0x59a724(0x252)](_0x313ef4[_0x59a724(0x3cb)],this[_0x59a724(0x359)],this[_0x59a724(0xfd)],_0x1a9c60[0x0],this[_0x59a724(0x2e0)]);else{if(_0x4ce206['length']!==0x0){const _0x1abb31=this[_0x59a724(0x397)][_0x59a724(0x252)](_0x313ef4[_0x59a724(0x284)],this[_0x59a724(0x359)],this['type'],_0x4ce206,this['_handler']);_0x1abb31[_0x59a724(0x292)](),_0x20cdff=_0x1abb31;}else _0x20cdff=this[_0x59a724(0x397)][_0x59a724(0x252)](_0x313ef4[_0x59a724(0x1fd)],this[_0x59a724(0x359)],this[_0x59a724(0xfd)],this[_0x59a724(0x2e0)]);}}return _0x20cdff[_0x59a724(0x2a9)](),_0x20cdff;}catch(_0x2a71f4){return this[_0x59a724(0x2a8)]['error']('[FetchMissState]',_0x59a724(0x263),_0x2a71f4),this['_injector']['createInstance'](_0x313ef4[_0x59a724(0x232)],this['unitID'],this[_0x59a724(0xfd)],this[_0x59a724(0x156)],this[_0x59a724(0x255)],this[_0x59a724(0x2e0)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x509db9(0x2a6)](_0x663033){var _0x155bbe=_0x509db9;return this[_0x155bbe(0x255)][_0x155bbe(0x273)](_0x663033),this;}[_0x509db9(0x3d3)](_0x1b1b24){var _0x43ce5c=_0x509db9;return this[_0x43ce5c(0xee)]['push'](_0x1b1b24),this;}[_0x509db9(0x3bf)](_0x20ecff){var _0x23d631=_0x509db9;if(this['_awaitingChangeset'])return this[_0x23d631(0x2bd)]=this[_0x23d631(0x156)],this['_awaitingChangeset']=null,this;throw new Error(_0x23d631(0x180));}[_0x509db9(0x3f2)](_0x56af50){var _0x392d2a=_0x509db9;return this[_0x392d2a(0x10d)](!!(_0x56af50!=null&&_0x56af50[_0x392d2a(0xd1)]));}[_0x509db9(0x177)](){return this;}[_0x509db9(0x36f)](){var _0x496187=_0x509db9;return this['_injector']['createInstance'](_0x313ef4[_0x496187(0x2d1)],this[_0x496187(0x359)],this[_0x496187(0xfd)],this[_0x496187(0x156)],this[_0x496187(0x255)],this[_0x496187(0x2e0)]);}[_0x509db9(0x3ca)](){return this;}[_0x509db9(0x10d)](_0x5ce27d){var _0x2359ef=_0x509db9;return this[_0x2359ef(0x397)][_0x2359ef(0x252)](_0x313ef4['ConflictState'],this[_0x2359ef(0x359)],this[_0x2359ef(0xfd)],this[_0x2359ef(0x156)],this[_0x2359ef(0x255)],this[_0x2359ef(0x2e0)],_0x5ce27d);}},_0x313ef4[_0x509db9(0x336)]=_0x388bf0([_0x40dca1(0x7,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x2cf)])),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x28b)](_0xdad847['RevisionService'])),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x1a8)]),_0x40dca1(0xa,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0xb,_0x593ae3['IUndoRedoService']),_0x40dca1(0xc,_0xdad847[_0x509db9(0x268)]),_0x40dca1(0xd,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x336)]);function _0x505af6(_0x470634,_0x383c66,_0x33c637,_0x579714,_0x644610,_0x2e9ecd){var _0x2c603a=_0x509db9;return _0x579714&&_0x644610[_0x2c603a(0x2e9)]?_0x470634[_0x2c603a(0x252)](_0x313ef4['AwaitingWithPendingState'],_0x383c66,_0x33c637,_0x579714,_0x644610,_0x2e9ecd,void 0x0):_0x579714?_0x470634[_0x2c603a(0x252)](_0x313ef4[_0x2c603a(0x3cb)],_0x383c66,_0x33c637,_0x579714,_0x2e9ecd):_0x644610[_0x2c603a(0x2e9)]?_0x470634[_0x2c603a(0x252)](_0x313ef4[_0x2c603a(0x284)],_0x383c66,_0x33c637,_0x644610,_0x2e9ecd):_0x470634[_0x2c603a(0x252)](_0x313ef4[_0x2c603a(0x1fd)],_0x383c66,_0x33c637,_0x2e9ecd);}var _0x4d6815=Object[_0x509db9(0x3d7)],_0x5e4cc6=(_0x26d6c6,_0x4ecffa,_0xbbfe02,_0x3c3954)=>{var _0x483a22=_0x509db9;for(var _0x55cb61=_0x3c3954>0x1?void 0x0:_0x3c3954?_0x4d6815(_0x4ecffa,_0xbbfe02):_0x4ecffa,_0x5235e5=_0x26d6c6[_0x483a22(0x2e9)]-0x1,_0x113bac;_0x5235e5>=0x0;_0x5235e5--)(_0x113bac=_0x26d6c6[_0x5235e5])&&(_0x55cb61=_0x113bac(_0x55cb61)||_0x55cb61);return _0x55cb61;},_0x366d98=(_0x2dc839,_0x1ab311)=>(_0xa5d883,_0xedaa89)=>_0x1ab311(_0xa5d883,_0xedaa89,_0x2dc839);_0x313ef4['CollaborationEntity']=class extends _0x593ae3[_0x509db9(0x2b9)]{constructor(_0x4a30e0,_0x1485fc,_0x15346c,_0xd9f89d,_0x5b3d31,_0x7ef89e,_0x37d81d,_0x2fe90c,_0x231d2f,_0x4f581b,_0x3e45e9,_0x506b20,_0x29fd95,_0x2d97af){var _0x5dbc3f=_0x509db9;super(),_0x309c0d(this,_0x5dbc3f(0x2aa),new _0x2ff251['BehaviorSubject'](null)),_0x309c0d(this,_0x5dbc3f(0x103),this[_0x5dbc3f(0x2aa)][_0x5dbc3f(0x203)]()),_0x309c0d(this,_0x5dbc3f(0x173)),_0x309c0d(this,_0x5dbc3f(0x247),!0x1),_0x309c0d(this,_0x5dbc3f(0x3e0),''),_0x309c0d(this,'_changesetReqId',0x0),_0x309c0d(this,'status$',this['state$']['pipe'](_0x2ff251[_0x5dbc3f(0xb1)](_0x79839e=>_0x79839e?_0x79839e[_0x5dbc3f(0x11e)]:_0x1ac262[_0x5dbc3f(0x2ab)]),_0x2ff251['shareReplay'](0x1))),_0x309c0d(this,_0x5dbc3f(0x23d),!0x1),_0x309c0d(this,_0x5dbc3f(0xd0),[]),(this[_0x5dbc3f(0x359)]=_0x4a30e0,this[_0x5dbc3f(0x22f)]=_0x1485fc,this[_0x5dbc3f(0x85)]=_0x15346c,this[_0x5dbc3f(0x397)]=_0xd9f89d,this[_0x5dbc3f(0x414)]=_0x5b3d31,this[_0x5dbc3f(0x2f3)]=_0x7ef89e,this[_0x5dbc3f(0xa4)]=_0x37d81d,this[_0x5dbc3f(0x3df)]=_0x2fe90c,this[_0x5dbc3f(0x281)]=_0x231d2f,this['_logService']=_0x4f581b,this[_0x5dbc3f(0x15f)]=_0x3e45e9,this['_permissionService']=_0x506b20,this[_0x5dbc3f(0x352)]=_0x29fd95,this[_0x5dbc3f(0x86)]=_0x2d97af);}get[_0x509db9(0x163)](){return this['_state'];}async[_0x509db9(0x2f7)](){var _0x47a9ea=_0x509db9;if(this[_0x47a9ea(0x163)])throw new Error(_0x47a9ea(0x33e));await this[_0x47a9ea(0x1ff)]();}[_0x509db9(0x20f)](){var _0xe5c621=_0x509db9;return this[_0xe5c621(0x247)]=!0x0,_0x593ae3['toDisposable'](()=>{var _0x22b779=_0xe5c621;this['_collaborationPaused']=!0x1,this[_0x22b779(0x165)]();});}[_0x509db9(0x3f7)](_0x2f7f0a){var _0x45ac41=_0x509db9;this[_0x45ac41(0xd4)](_0x2f7f0a);}['_updateState'](_0xa6f6a6){var _0x24e6c6=_0x509db9;this[_0x24e6c6(0x173)]=_0xa6f6a6,this[_0x24e6c6(0x2aa)]['next'](_0xa6f6a6);}async[_0x509db9(0x1ff)](){var _0x28f007=_0x509db9,_0x1cbe72;this['_updateState'](await this['_createInitialState']()),this[_0x28f007(0x352)]&&((_0x1cbe72=this['_singleActiveUnitService'])==null||_0x1cbe72['editingUnit'](this[_0x28f007(0x359)]),this[_0x28f007(0x34f)](this[_0x28f007(0x352)]['getUnitStatus$'](this[_0x28f007(0x359)])['subscribe'](_0x343122=>{var _0x6d7e1f=_0x28f007;this[_0x6d7e1f(0x2a8)]['debug']('[CollaborationEntity]',_0x6d7e1f(0x40a),_0x343122),_0x343122===_0x1bfb46['OTHER_CLIENTS_EDITING']?(this[_0x6d7e1f(0x3df)]['emitEvent']({'id':_0x7c51aa[_0x6d7e1f(0x2e3)]}),this[_0x6d7e1f(0x1de)][_0x6d7e1f(0x23a)](new _0x196ab6[(_0x6d7e1f(0x2d3))](this[_0x6d7e1f(0x359)])['id'],!0x1),this[_0x6d7e1f(0x1de)][_0x6d7e1f(0x390)](!0x1)):(this[_0x6d7e1f(0x1de)][_0x6d7e1f(0x23a)](new _0x196ab6['WorkbookEditablePermission'](this[_0x6d7e1f(0x359)])['id'],!0x0),this[_0x6d7e1f(0x1de)][_0x6d7e1f(0x390)](!0x0));})));let _0x24e9e9=!0x1;return this[_0x28f007(0x34f)](this['session'][_0x28f007(0x257)]['subscribe'](_0x15d07e=>{var _0x562ee6=_0x28f007;_0x15d07e===_0x4e4db9['ONLINE']?this[_0x562ee6(0x394)](_0x24e9e9):_0x15d07e===_0x4e4db9['OFFLINE']&&(_0x24e9e9=!0x0,this[_0x562ee6(0x3c6)]());})),this[_0x28f007(0x34f)](this['session'][_0x28f007(0x38b)][_0x28f007(0xa2)](_0x362362=>{var _0x454205=_0x28f007;try{switch(_0x362362[_0x454205(0x240)]){case _0xdad847[_0x454205(0x343)][_0x454205(0xe2)]:{this[_0x454205(0x2be)](_0xdad847[_0x454205(0x3c5)](_0x362362['data']));break;}case _0xdad847[_0x454205(0x343)]['CHANGESET_ACK']:{this[_0x454205(0x380)](_0x362362[_0x454205(0xc3)]);break;}case _0xdad847[_0x454205(0x343)][_0x454205(0x29b)]:{this[_0x454205(0x1f0)]();break;}case _0xdad847[_0x454205(0x343)][_0x454205(0x3e3)]:{this['_onRemoteRetry'](_0x362362['data']);break;}case _0xdad847['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x362362[_0x454205(0xc3)][_0x454205(0x2de)][_0x454205(0xb1)](_0x34dad1=>_0xdad847[_0x454205(0x3c5)](_0x34dad1)));break;}case _0xdad847[_0x454205(0x343)]['PERMISSION_REJ']:{this[_0x454205(0x1f0)]({'isPermissionRej':!0x0});break;}case _0xdad847[_0x454205(0x343)][_0x454205(0x40c)]:break;}}catch(_0x20b91c){throw console[_0x454205(0x2cd)](_0x454205(0x3ae),_0x20b91c),_0x20b91c;}})),this['_state'];}[_0x509db9(0x335)](){this['_transitionLocked']=!0x1;}[_0x509db9(0x8e)](){var _0x1a050c=_0x509db9;if(this[_0x1a050c(0x23d)])throw new Error(_0x1a050c(0x211));this[_0x1a050c(0x23d)]=!0x0;}[_0x509db9(0xd4)](_0x462805){var _0x17c6a1=_0x509db9;this[_0x17c6a1(0x8e)](),this[_0x17c6a1(0x3bb)](this[_0x17c6a1(0x173)][_0x17c6a1(0x2a6)](_0x462805)),this['_unlockTransition']();}[_0x509db9(0x2be)](_0x3c4952){var _0x4f234c=_0x509db9;if(!(_0x3c4952[_0x4f234c(0x134)]<=this['_revisionService'][_0x4f234c(0x333)](this[_0x4f234c(0x359)]))){if(this[_0x4f234c(0x247)]){this[_0x4f234c(0xd0)]['push'](_0x3c4952);return;}this[_0x4f234c(0x9a)](_0x3c4952);}}[_0x509db9(0x165)](){var _0x406b86=_0x509db9;this[_0x406b86(0xd0)][_0x406b86(0x10a)](_0x5ace46=>this[_0x406b86(0x9a)](_0x5ace46)),this[_0x406b86(0xd0)]=[];}[_0x509db9(0x9a)](_0x3de35c){var _0xfb351d=_0x509db9;const _0x2dbee9=this[_0xfb351d(0x414)][_0xfb351d(0xb8)][_0xfb351d(0x1a2)](this[_0xfb351d(0x414)][_0xfb351d(0xb8)][_0xfb351d(0xca)]()['COMPRESS_MUTATION_APPLY'])(_0x3de35c[_0xfb351d(0x135)],null)||_0x3de35c[_0xfb351d(0x135)],_0x568da4={..._0x3de35c,'mutations':_0x2dbee9};this[_0xfb351d(0x8e)](),this[_0xfb351d(0x3bb)](this[_0xfb351d(0x173)][_0xfb351d(0x3d3)](_0x568da4)),this[_0xfb351d(0x335)]();}[_0x509db9(0x380)](_0x546e99){var _0xe49387=_0x509db9;this[_0xe49387(0x8e)](),this[_0xe49387(0x3bb)](this[_0xe49387(0x173)][_0xe49387(0x3bf)](_0x546e99)),this[_0xe49387(0x335)]();}['_onRemoteRejected'](_0x2fbe46){var _0x2c4eb7=_0x509db9;this['_lockTransition'](),this[_0x2c4eb7(0x3bb)](this[_0x2c4eb7(0x173)][_0x2c4eb7(0x3f2)](_0x2fbe46)),this[_0x2c4eb7(0x335)]();}[_0x509db9(0xdd)](_0x3b0fd9){var _0x351642=_0x509db9;this[_0x351642(0x8e)](),this[_0x351642(0x3bb)](this['_state'][_0x351642(0x177)](_0x3b0fd9)),this['_unlockTransition']();}[_0x509db9(0x1c6)](_0x56c6ca){var _0x41c85b=_0x509db9;if(!(this['_state']instanceof _0x313ef4['FetchingMissState']))throw new TypeError(_0x41c85b(0xdf));const _0x5cf224=_0x56c6ca['map'](_0xb0ad5f=>{var _0x34853d=_0x41c85b;const _0x97a87=this[_0x34853d(0x414)][_0x34853d(0xb8)][_0x34853d(0x1a2)](this[_0x34853d(0x414)][_0x34853d(0xb8)][_0x34853d(0xca)]()['COMPRESS_MUTATION_APPLY'])(_0xb0ad5f[_0x34853d(0x135)],null)||_0xb0ad5f[_0x34853d(0x135)];return{..._0xb0ad5f,'mutations':_0x97a87};});this[_0x41c85b(0x8e)](),this[_0x41c85b(0x3bb)](this['_state']['onMissedChangesetFetched'](_0x5cf224)),this[_0x41c85b(0x335)]();}[_0x509db9(0x3c6)](){var _0x21a467=_0x509db9;this['_lockTransition'](),this[_0x21a467(0x3bb)](this['_state'][_0x21a467(0x36f)]()),this[_0x21a467(0x335)]();}['_toggleOnline'](_0x3540e6=!0x1){var _0x297ca4=_0x509db9;this[_0x297ca4(0x8e)](),this[_0x297ca4(0x3bb)](this[_0x297ca4(0x173)]['toggleOnline']()),this[_0x297ca4(0x335)]();const _0x558723=this[_0x297ca4(0x173)];_0x3540e6&&_0x558723 instanceof _0x313ef4['SyncedState']&&(this[_0x297ca4(0x8e)](),this['_updateState'](_0x558723['fetchMiss']()),this[_0x297ca4(0x335)]());}async[_0x509db9(0x12a)](){return new Promise(_0x39b9c5=>{var _0x585426=_0x572e;this['session']['sessionStatus$'][_0x585426(0x8f)](_0x2ff251[_0x585426(0x275)](0x1))[_0x585426(0xa2)](async _0x1ca775=>{var _0x844eeb=_0x585426;_0x39b9c5(await this['_createInitialStateImpl'](_0x1ca775===_0x4e4db9[_0x844eeb(0x224)]));});});}[_0x509db9(0x327)](){var _0x7d3471=_0x509db9;const _0x205153=this[_0x7d3471(0x359)];return{'onStateChange':(_0x4cf6d5,_0x47a87e)=>{var _0x4320c0=_0x7d3471;if(_0x4cf6d5!==this['_state'])throw new Error(_0x4320c0(0x1d5)+_0x4cf6d5['status']+_0x4320c0(0x384)+_0x47a87e[_0x4320c0(0x11e)]+'\x0aCurrent:\x20'+this[_0x4320c0(0x173)][_0x4320c0(0x11e)]);this['_updateState'](_0x47a87e);},'onSendChangeset':_0x500199=>{var _0x1f0fb1=_0x7d3471;_0x500199[_0x1f0fb1(0x2a3)]||(_0x500199[_0x1f0fb1(0x2a3)]=this[_0x1f0fb1(0x3e0)],_0x500199[_0x1f0fb1(0x32a)]=++this['_changesetReqId']);const _0x338ea5={'eventID':_0xdad847[_0x1f0fb1(0x343)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x500199['unitID'],'unitType':this['_type'],'changeset':_0x500199,'memberID':this[_0x1f0fb1(0x22f)]['getMemberID']()}};this['session']['send'](_0x338ea5,this[_0x1f0fb1(0x359)]);},'onMissingChangesets':({from:_0x5b7c7b,to:_0x5b131c})=>{var _0x31eca6=_0x7d3471;this[_0x31eca6(0x2a8)][_0x31eca6(0x26b)](_0x31eca6(0x395),_0x31eca6(0x26d)+_0x5b7c7b+'\x20to\x20'+_0x5b131c);const _0x21bf10={'eventID':_0xdad847[_0x31eca6(0x343)]['FETCH_MISSING'],'data':{'unitID':_0x205153,'unitType':this[_0x31eca6(0x85)],'from':_0x5b7c7b,'to':_0x5b131c}};this[_0x31eca6(0x22f)][_0x31eca6(0x426)](_0x21bf10,this[_0x31eca6(0x359)]);}};}async[_0x509db9(0x82)](_0xffed3b){var _0x5ae534=_0x509db9,_0x660985,_0x94157f,_0xd3c803;const _0x277855=await((_0x660985=this[_0x5ae534(0x86)])==null?void 0x0:_0x660985[_0x5ae534(0x364)](this['unitID'])),_0x44bc07=(_0x94157f=_0x277855==null?void 0x0:_0x277855[_0x5ae534(0x135)])!=null?_0x94157f:[],_0x1ac309=(_0xd3c803=_0x277855==null?void 0x0:_0x277855[_0x5ae534(0x105)])!=null?_0xd3c803:null,_0x225e9b=!!(_0x1ac309!=null&&_0x1ac309['sid'])&&!!(_0x1ac309!=null&&_0x1ac309[_0x5ae534(0x32a)]);this[_0x5ae534(0x3e0)]=_0x225e9b?_0x1ac309[_0x5ae534(0x2a3)]:_0xdad847[_0x5ae534(0x15c)](),this[_0x5ae534(0xf1)]=_0x225e9b?_0x1ac309[_0x5ae534(0x32a)]:0x0;const _0x12efd5=this['unitID'];try{this[_0x5ae534(0x26c)](_0x1ac309,_0x44bc07);}catch(_0x588b5a){this[_0x5ae534(0x2a8)][_0x5ae534(0x2cd)](_0x588b5a);}const _0x424537=this[_0x5ae534(0x327)]();if(_0xffed3b){const _0x3755e4=_0x505af6(this['_injector'],_0x12efd5,this['_type'],_0x1ac309,_0x44bc07,_0x424537);return _0x3755e4 instanceof _0x313ef4[_0x5ae534(0x284)]?_0x3755e4[_0x5ae534(0x292)]():(_0x3755e4 instanceof _0x313ef4[_0x5ae534(0x197)]||_0x3755e4 instanceof _0x313ef4['AwaitingState'])&&_0x3755e4[_0x5ae534(0x101)](),_0x3755e4;}return this[_0x5ae534(0x397)][_0x5ae534(0x252)](_0x313ef4[_0x5ae534(0x2d1)],_0x12efd5,this[_0x5ae534(0x85)],_0x1ac309,_0x44bc07,_0x424537);}[_0x509db9(0x26c)](_0x4639b3,_0x1aaf39){var _0x49d4fc=_0x509db9,_0x291717,_0x5f4381;const _0x193980=this['_compressMutationService'][_0x49d4fc(0xb8)][_0x49d4fc(0x1a2)](this['_compressMutationService']['interceptor'][_0x49d4fc(0xca)]()[_0x49d4fc(0x1c3)]);(_0x291717=_0x193980((_0x4639b3==null?void 0x0:_0x4639b3[_0x49d4fc(0x135)])||[],null))==null||_0x291717[_0x49d4fc(0x10a)](_0x2811df=>this[_0x49d4fc(0x15f)][_0x49d4fc(0x218)](_0x2811df['id'],_0x2811df[_0x49d4fc(0x158)])),(_0x5f4381=_0x193980(_0x1aaf39||[],null))==null||_0x5f4381['forEach'](_0x544ec7=>this[_0x49d4fc(0x15f)][_0x49d4fc(0x218)](_0x544ec7['id'],_0x544ec7[_0x49d4fc(0x158)]));}},_0x313ef4[_0x509db9(0x19b)]=_0x5e4cc6([_0x366d98(0x3,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['Injector'])),_0x366d98(0x4,_0x593ae3[_0x509db9(0x28b)](_0xdad847['CompressMutationService'])),_0x366d98(0x5,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x97)])),_0x366d98(0x6,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x366d98(0x7,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x366d98(0x8,_0x593ae3[_0x509db9(0x1bc)]),_0x366d98(0x9,_0x593ae3['ILogService']),_0x366d98(0xa,_0x593ae3[_0x509db9(0x170)]),_0x366d98(0xb,_0x593ae3[_0x509db9(0x3d5)]),_0x366d98(0xc,_0x593ae3['Optional'](_0x5647b7)),_0x366d98(0xd,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x19b)]),_0x313ef4[_0x509db9(0x271)]=class extends _0x313ef4[_0x509db9(0x19b)]{constructor(_0x5489ac,_0x12ad51,_0x3cea00,_0x58d29d,_0x3f8c45,_0x3ad454,_0x490ea8,_0x5c4c14,_0x52c49a,_0x383359,_0x5afe07,_0x4df4ff,_0x1e5154,_0x1f191d){var _0x5aa6d0=_0x509db9;super(_0x5489ac,_0x3cea00,_0x12ad51,_0x58d29d,_0x3f8c45,_0x3ad454,_0x490ea8,_0x5c4c14,_0x52c49a,_0x383359,_0x5afe07,_0x4df4ff,_0x1e5154,_0x1f191d),_0x309c0d(this,_0x5aa6d0(0x372),null),(this[_0x5aa6d0(0x359)]=_0x5489ac,this[_0x5aa6d0(0xfd)]=_0x12ad51);}[_0x509db9(0x309)](_0x1a0132){var _0x368a1d=_0x509db9;this[_0x368a1d(0x372)]=_0x1a0132;}[_0x509db9(0x25b)](){var _0x424cd2=_0x509db9;this[_0x424cd2(0x372)]=null,super['dispose']();}['_createHandler'](){var _0x2f98e6=_0x509db9;const _0x56d55d=super[_0x2f98e6(0x327)]();return _0x56d55d[_0x2f98e6(0x1db)]=_0x2fdc11=>{var _0x37f4f9=_0x2f98e6,_0x318d25,_0x288220;return(_0x288220=(_0x318d25=this['_handlerCallback'])==null?void 0x0:_0x318d25[_0x37f4f9(0x1db)])==null?void 0x0:_0x288220[_0x37f4f9(0xc8)](_0x318d25,_0x2fdc11);},_0x56d55d[_0x2f98e6(0x109)]=_0x2d96bc=>{var _0xf76664=_0x2f98e6,_0x3db7f3,_0xb33246;return(_0xb33246=(_0x3db7f3=this[_0xf76664(0x372)])==null?void 0x0:_0x3db7f3['onTransformState'])==null?void 0x0:_0xb33246[_0xf76664(0xc8)](_0x3db7f3,_0x2d96bc);},_0x56d55d[_0x2f98e6(0x161)]=_0x2c1dc9=>{var _0x485987=_0x2f98e6,_0x25d97a,_0x456bf5;return(_0x456bf5=(_0x25d97a=this[_0x485987(0x372)])==null?void 0x0:_0x25d97a[_0x485987(0x161)])==null?void 0x0:_0x456bf5['call'](_0x25d97a,_0x2c1dc9);},_0x56d55d[_0x2f98e6(0x396)]=_0x355bd5=>{var _0xf0f04c=_0x2f98e6,_0x143ae1,_0x455d16;return(_0x455d16=(_0x143ae1=this[_0xf0f04c(0x372)])==null?void 0x0:_0x143ae1[_0xf0f04c(0x396)])==null?void 0x0:_0x455d16[_0xf0f04c(0xc8)](_0x143ae1,_0x355bd5);},_0x56d55d['onTransformRemoteChangesetByIMECache']=_0xac4d97=>{var _0x1561db=_0x2f98e6,_0x5e5ca5,_0x48b9b1,_0x1306a7;if(!((_0x5e5ca5=this[_0x1561db(0x372)])!=null&&_0x5e5ca5[_0x1561db(0x3a3)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1306a7=(_0x48b9b1=this[_0x1561db(0x372)])==null?void 0x0:_0x48b9b1[_0x1561db(0x3a3)])==null?void 0x0:_0x1306a7['call'](_0x48b9b1,_0xac4d97);},_0x56d55d[_0x2f98e6(0x1c1)]=_0xf55374=>{var _0x2dd012=_0x2f98e6,_0x147c23,_0x28de80,_0x2ec257;if(!((_0x147c23=this[_0x2dd012(0x372)])!=null&&_0x147c23[_0x2dd012(0x1c1)]))throw new Error(_0x2dd012(0x19d));return(_0x2ec257=(_0x28de80=this[_0x2dd012(0x372)])==null?void 0x0:_0x28de80[_0x2dd012(0x1c1)])==null?void 0x0:_0x2ec257['call'](_0x28de80,_0xf55374);},_0x56d55d;}async['_init'](){var _0x515c10=_0x509db9;const _0x185ecb=await super[_0x515c10(0x1ff)]();return this['disposeWithMe'](this[_0x515c10(0x15f)][_0x515c10(0xe3)]((_0xd0e023,_0x371b75)=>{var _0x593569=_0x515c10;if(_0xd0e023[_0x593569(0xfd)]!==_0x593ae3[_0x593569(0x28f)][_0x593569(0x39c)]||_0x371b75!=null&&_0x371b75[_0x593569(0x316)]||_0x371b75!=null&&_0x371b75[_0x593569(0x143)]||_0xd0e023['id']===_0x6ea9c7[_0x593569(0x310)]['id'])return;const _0x13a8c4=_0xd0e023['params'];if((_0x13a8c4==null?void 0x0:_0x13a8c4['unitId'])!==this[_0x593569(0x359)])return;const _0x176895=_0xd0e023,_0x1e77bd=this[_0x593569(0x414)]['interceptor'][_0x593569(0x1a2)](this['_compressMutationService'][_0x593569(0xb8)][_0x593569(0xca)]()[_0x593569(0x30e)])([_0x176895],this[_0x593569(0x281)])||[_0x176895];this[_0x593569(0xd4)](_0x1e77bd[0x0]);})),_0x185ecb;}},_0x313ef4[_0x509db9(0x271)]=_0x5e4cc6([_0x366d98(0x3,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x2cf)])),_0x366d98(0x4,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x34b)])),_0x366d98(0x5,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x97)])),_0x366d98(0x6,_0x593ae3[_0x509db9(0x28b)](_0xdad847['RevisionService'])),_0x366d98(0x7,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x366d98(0x8,_0x593ae3[_0x509db9(0x1bc)]),_0x366d98(0x9,_0x593ae3[_0x509db9(0x1a8)]),_0x366d98(0xa,_0x593ae3[_0x509db9(0x170)]),_0x366d98(0xb,_0x593ae3['IPermissionService']),_0x366d98(0xc,_0x593ae3[_0x509db9(0x3d1)](_0x5647b7)),_0x366d98(0xd,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x271)]),_0x313ef4[_0x509db9(0x1b9)]=class extends _0x313ef4[_0x509db9(0x19b)]{constructor(_0x38f908,_0x210f54,_0x79c48,_0x5b2914,_0x392dc6,_0x353859,_0x19bf6c,_0x11e8be,_0x249c04,_0x519361,_0x4b4071,_0x5970ac,_0x4d1e8a,_0x5b50ee,_0x1b7444){var _0x5cd51a=_0x509db9;super(_0x38f908,_0x79c48,_0x210f54,_0x5b2914,_0x392dc6,_0x353859,_0x19bf6c,_0x249c04,_0x519361,_0x4b4071,_0x5970ac,_0x4d1e8a,_0x5b50ee,_0x1b7444),this[_0x5cd51a(0x359)]=_0x38f908,this[_0x5cd51a(0xfd)]=_0x210f54,this['_sheetTransformSelectionsService']=_0x11e8be;}['_createHandler'](){var _0xa220b7=_0x509db9;const _0x3be61b=super[_0xa220b7(0x327)]();return _0x3be61b[_0xa220b7(0x161)]=_0xc0280b=>this['_sheetTransformSelectionsService'][_0xa220b7(0x412)](_0xc0280b),_0x3be61b;}async['_init'](){var _0x63857a=_0x509db9;const _0xa45812=await super[_0x63857a(0x1ff)]();return this[_0x63857a(0x34f)](this[_0x63857a(0x15f)]['onMutationExecutedForCollab']((_0x76c16c,_0x5638e6)=>{var _0x2291cc=_0x63857a;if(_0x76c16c[_0x2291cc(0xfd)]!==_0x593ae3[_0x2291cc(0x28f)][_0x2291cc(0x39c)]||_0x5638e6!=null&&_0x5638e6['fromCollab']||_0x5638e6!=null&&_0x5638e6[_0x2291cc(0x143)])return;const _0x4e4132=_0x76c16c[_0x2291cc(0x158)];if((_0x4e4132==null?void 0x0:_0x4e4132['unitId'])!==this[_0x2291cc(0x359)])return;const _0x5111b2=_0x76c16c,_0x502426=this['_compressMutationService'][_0x2291cc(0xb8)][_0x2291cc(0x1a2)](this[_0x2291cc(0x414)][_0x2291cc(0xb8)][_0x2291cc(0xca)]()[_0x2291cc(0x30e)])([_0x5111b2],this['_univerInstanceService'])||[_0x5111b2];this['_onLocalMutation'](_0x502426[0x0]);})),_0xa45812;}},_0x313ef4['SheetCollaborationEntity']=_0x5e4cc6([_0x366d98(0x3,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x366d98(0x4,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x34b)])),_0x366d98(0x5,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x97)])),_0x366d98(0x6,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x366d98(0x7,_0x593ae3[_0x509db9(0x28b)](_0x313ef4['SheetTransformSelectionsService'])),_0x366d98(0x8,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x366d98(0x9,_0x593ae3[_0x509db9(0x1bc)]),_0x366d98(0xa,_0x593ae3[_0x509db9(0x1a8)]),_0x366d98(0xb,_0x593ae3[_0x509db9(0x170)]),_0x366d98(0xc,_0x593ae3['IPermissionService']),_0x366d98(0xd,_0x593ae3['Optional'](_0x5647b7)),_0x366d98(0xe,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4['SheetCollaborationEntity']);const _0xcfc4ab=_0x593ae3[_0x509db9(0xbc)](_0x509db9(0x3cd));function _0x2f49ae(_0x45c8ff){var _0x3f8d1c=_0x509db9,_0xfaa120,_0x4b4c9c,_0x1fc8ce,_0x3663ee,_0x5a7f26;const _0x2bf55d=_0x45c8ff[_0x3f8d1c(0xc3)],_0xa06bfe=JSON['parse'](_0x2bf55d);switch(_0xa06bfe[_0x3f8d1c(0x29a)]){case _0x1e67da['HEARTBEAT']:case _0x1e67da[_0x3f8d1c(0x1ed)]:{const _0x4abdc0=_0xa06bfe[_0x3f8d1c(0x338)];return{..._0xa06bfe,'data':_0x4abdc0,'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};}case _0x1e67da[_0x3f8d1c(0x2f0)]:{const _0x42a397=_0xa06bfe[_0x3f8d1c(0x21a)];return{..._0xa06bfe,'data':_0x42a397,'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};}case _0x1e67da[_0x3f8d1c(0x2ac)]:{const _0x2ced65=_0xa06bfe[_0x3f8d1c(0x322)];switch(_0x2ced65[_0x3f8d1c(0x240)]){case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x2a1)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0xfaa120=_0x2ced65['permissionRejEvent'])==null?void 0x0:_0xfaa120['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x3f8)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0x4b4c9c=_0x2ced65['csAckEvent'])==null?void 0x0:_0x4b4c9c['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0xe2)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0x1fc8ce=_0x2ced65[_0x3f8d1c(0x33d)])==null?void 0x0:_0x1fc8ce['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)]['CHANGESET_REJ']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0x3663ee=_0x2ced65[_0x3f8d1c(0x392)])==null?void 0x0:_0x3663ee['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)]['CHANGESET_SHOULD_RETRY']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0x5a7f26=_0x2ced65[_0x3f8d1c(0x1d4)])==null?void 0x0:_0x5a7f26['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)]['UPDATE_CURSOR']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0xe1)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x3b6)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65['joinEvent']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x27c)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x25d)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x9e)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x2f9)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x279)]:case _0xdad847[_0x3f8d1c(0x343)]['LIVESHARE_OPERATION']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x2e2)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x17f)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x2f9)]},'cmd':_0xa06bfe['cmd']};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x96)]:return{..._0xa06bfe,'data':_0x2ced65,'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847['CollaborationEvent'][_0x3f8d1c(0x319)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x34e)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x13a)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x415)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)]['SHOULD_CLOSE_CONN']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x1f7)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x40c)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x149)]},'cmd':_0xa06bfe['cmd']};default:return _0xa06bfe;}}default:return _0xa06bfe;}}function _0x3ce187(_0x33c706){var _0x4770b8=_0x509db9;switch(_0x33c706[_0x4770b8(0x29a)]){case _0x1e67da['HEARTBEAT']:case _0x1e67da[_0x4770b8(0x1ed)]:return JSON[_0x4770b8(0xa1)]({'cmd':_0x33c706[_0x4770b8(0x29a)],'routeKey':_0x33c706[_0x4770b8(0x369)]});case _0x1e67da['INGEST']:{let _0x2cb28a;switch(_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0x240)]){case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x388)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['UPDATE_CURSOR'],'updateCursorEvent':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x27c)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)][_0x4770b8(0x27c)],'leaveEvent':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847['CollaborationEvent'][_0x4770b8(0x3b6)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['USERS_ENTER'],'joinEvent':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847['CollaborationEvent'][_0x4770b8(0x9e)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x2c0)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x17f)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)][_0x4770b8(0x17f)],'liveShareTerminate':_0x33c706['data']['data']};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x199)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)][_0x4770b8(0x199)],'liveShareRequestHost':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x279)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2cb28a={'eventID':_0x33c706['data']['eventID']};}return JSON[_0x4770b8(0xa1)]({'cmd':_0x33c706[_0x4770b8(0x29a)],'routeKey':_0x33c706[_0x4770b8(0x369)],'collaMsg':_0x2cb28a});}case _0x1e67da[_0x4770b8(0x2f0)]:return JSON[_0x4770b8(0xa1)]({'cmd':_0x33c706['cmd'],'routeKey':_0x33c706[_0x4770b8(0x369)],'joinReq':_0x33c706[_0x4770b8(0xc3)]});case _0x1e67da[_0x4770b8(0x132)]:return JSON['stringify']({'cmd':_0x33c706['cmd'],'routeKey':_0x33c706['routeKey'],'leaveReq':_0x33c706['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x4fc748=Object[_0x509db9(0x3d7)],_0x268a83=(_0x322d6b,_0x396c73,_0x322427,_0x57b9b8)=>{var _0xb00219=_0x509db9;for(var _0x2a042d=_0x57b9b8>0x1?void 0x0:_0x57b9b8?_0x4fc748(_0x396c73,_0x322427):_0x396c73,_0xb02538=_0x322d6b[_0xb00219(0x2e9)]-0x1,_0x3a790b;_0xb02538>=0x0;_0xb02538--)(_0x3a790b=_0x322d6b[_0xb02538])&&(_0x2a042d=_0x3a790b(_0x2a042d)||_0x2a042d);return _0x2a042d;},_0x15f785=(_0x593eae,_0x5d93be)=>(_0x5dce47,_0x3d2745)=>_0x5d93be(_0x5dce47,_0x3d2745,_0x593eae);const _0x37eaae=_0x593ae3[_0x509db9(0xbc)](_0x509db9(0x2d8));function _0x227cd1(_0xd6b4ea,_0x4dcdf3,_0xdb8dea){var _0x2b312a=_0x509db9;return _0xd6b4ea+'/'+_0x4dcdf3+_0x2b312a(0x151)+_0xdb8dea+_0x2b312a(0xf2);}_0x313ef4[_0x509db9(0x214)]=class extends _0x593ae3[_0x509db9(0x410)]{constructor(_0x1b7c2f,_0x2256e4,_0x26f6f0,_0xb139af,_0x4ee0cb){var _0x1caa19=_0x509db9;super(),this[_0x1caa19(0x397)]=_0x1b7c2f,this[_0x1caa19(0x2b2)]=_0x2256e4,this[_0x1caa19(0x15b)]=_0x26f6f0,this['_logService']=_0xb139af,this[_0x1caa19(0x39b)]=_0x4ee0cb;}[_0x509db9(0x423)](_0x2cde51){var _0x1d205f=_0x509db9;const _0x3e46d1=this[_0x1d205f(0x397)][_0x1d205f(0xa5)](_0x38c133[_0x1d205f(0xa7)]);if(!_0x3e46d1)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x3f8780=_0x3e46d1['createSocket'](_0x2cde51);if(!_0x3f8780)throw new Error(_0x1d205f(0x90));const _0x1bb87b=new _0x593ae3[(_0x1d205f(0x235))](),_0xd8a2c3=new _0x2ff251[(_0x1d205f(0x23e))]();_0x1bb87b[_0x1d205f(0x201)](_0x3f8780[_0x1d205f(0x2da)]['subscribe'](_0x20ac22=>_0xd8a2c3[_0x1d205f(0xda)](_0x20ac22))),_0x1bb87b['add'](_0x593ae3['toDisposable'](()=>_0xd8a2c3[_0x1d205f(0xb6)]()));const _0x2abd62=new _0x2ff251['Subject']();_0x1bb87b[_0x1d205f(0x201)](_0x3f8780[_0x1d205f(0x33f)][_0x1d205f(0xa2)](_0x2e6857=>_0x2abd62[_0x1d205f(0xda)](_0x2e6857))),_0x1bb87b[_0x1d205f(0x201)](_0x593ae3[_0x1d205f(0x334)](()=>_0x2abd62[_0x1d205f(0xb6)]()));const _0x464e4e=new _0x2ff251['Subject']();_0x1bb87b[_0x1d205f(0x201)](_0x3f8780[_0x1d205f(0x1b6)]['subscribe'](_0x54442a=>{var _0x5de442=_0x1d205f;const _0x4ef5a0=_0x2f49ae(_0x54442a);_0x464e4e[_0x5de442(0xda)](_0x4ef5a0);})),_0x1bb87b['add'](_0x593ae3[_0x1d205f(0x334)](()=>_0x464e4e['complete']()));let _0x158b19;const _0x2415df=()=>{var _0x1aa12=_0x1d205f;_0x2abd62[_0x1aa12(0xda)](new Event(_0x1aa12(0x246))),_0xd8a2c3['next'](new Event(_0x1aa12(0x246))),_0x158b19['close']();};return _0x158b19={'memberID':'','close$':_0xd8a2c3[_0x1d205f(0x203)](),'error$':_0x2abd62[_0x1d205f(0x203)](),'open$':_0x3f8780['open$'],'message$':_0x464e4e[_0x1d205f(0x203)](),'send':_0x268573=>{var _0xa138cd=_0x1d205f;if(_0x268573[_0xa138cd(0x29a)]===_0x1e67da[_0xa138cd(0x17c)]){if(_0x268573['data'][_0xa138cd(0x240)]===_0xdad847[_0xa138cd(0x343)][_0xa138cd(0x3b4)]){this[_0xa138cd(0x1a1)](_0x158b19,_0x268573[_0xa138cd(0xc3)])[_0xa138cd(0x250)](_0x346b81=>{var _0x13b94f=_0xa138cd;this[_0x13b94f(0x2a8)][_0x13b94f(0x2cd)](_0x346b81),_0x2415df();});return;}if(_0x268573[_0xa138cd(0xc3)][_0xa138cd(0x240)]===_0xdad847[_0xa138cd(0x343)][_0xa138cd(0x37e)]){const _0x19aca7=_0x268573['data'];this[_0xa138cd(0xc5)](_0x19aca7)[_0xa138cd(0x20d)](_0x4bcbb9=>{var _0x553e9c=_0xa138cd;_0x464e4e[_0x553e9c(0xda)]({'cmd':_0x1e67da[_0x553e9c(0x2ac)],'code':_0x201e78['OK'],'routeKey':_0x19aca7[_0x553e9c(0xc3)][_0x553e9c(0x359)],'routeType':'','data':{'eventID':_0xdad847['CollaborationEvent'][_0x553e9c(0x2c7)],'data':{'changesets':_0x4bcbb9}}});})['catch'](_0x3daa9f=>{var _0x3b054f=_0xa138cd;this[_0x3b054f(0x2a8)][_0x3b054f(0x2cd)](_0x3daa9f),_0x2415df();});return;}}_0x3f8780['send'](_0x3ce187(_0x268573));},'close':()=>{var _0x25429e=_0x1d205f;_0x3f8780[_0x25429e(0x288)](),_0x1bb87b[_0x25429e(0x25b)]();}},_0x158b19;}async['_submitChangeset'](_0x411a70,_0x11a327){var _0xc338ba=_0x509db9,_0x3dfe48;const {unitType:_0x32e02d,unitID:_0x3a8b47,changeset:_0x31fde2}=_0x11a327[_0xc338ba(0xc3)],_0x4f9361={'unitID':_0x3a8b47,'memberID':_0x411a70[_0xc338ba(0x3e2)],'type':_0x32e02d,'changeset':_0xdad847['parseChangesetToProtocol'](_0x31fde2)},_0x2e138d=this[_0xc338ba(0x15b)][_0xc338ba(0x1a7)](_0x9fbd4f),_0x5d13bd=_0x227cd1((_0x3dfe48=_0x2e138d==null?void 0x0:_0x2e138d[_0xc338ba(0x88)])!=null?_0x3dfe48:_0x411702,_0x32e02d,_0x3a8b47);try{await this[_0xc338ba(0x2b2)][_0xc338ba(0x3be)](_0x5d13bd,{'body':_0x4f9361});}catch(_0x3d566b){throw this[_0xc338ba(0x2a8)][_0xc338ba(0x2cd)](_0xc338ba(0x136),_0xc338ba(0x2e1)),_0x3d566b;}}async[_0x509db9(0xc5)](_0x1d0faa){var _0x4e289f=_0x509db9;const {unitID:_0x22f004,from:_0x367a3b,to:_0x2525b3,unitType:_0x296093}=_0x1d0faa['data'];return(await this[_0x4e289f(0x39b)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x22f004,'type':_0x296093,'from':_0x367a3b,'to':_0x2525b3}))[_0x4e289f(0x2de)][_0x4e289f(0xb1)](_0x4412b5=>((_0x4412b5['mutations']===null||_0x4412b5['mutations']===void 0x0)&&(_0x4412b5[_0x4e289f(0x135)]=[]),_0x4412b5));}},_0x313ef4[_0x509db9(0x214)]=_0x268a83([_0x15f785(0x0,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x2cf)])),_0x15f785(0x1,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)])),_0x15f785(0x2,_0x593ae3[_0x509db9(0x1c0)]),_0x15f785(0x3,_0x593ae3[_0x509db9(0x1a8)]),_0x15f785(0x4,_0xdad847['ISnapshotServerService'])],_0x313ef4[_0x509db9(0x214)]);var _0x45e922=Object[_0x509db9(0x3d7)],_0x5b66c2=(_0x3d0d15,_0x198b05,_0x50bb18,_0x3dfb40)=>{var _0x79aac5=_0x509db9;for(var _0x317c7d=_0x3dfb40>0x1?void 0x0:_0x3dfb40?_0x45e922(_0x198b05,_0x50bb18):_0x198b05,_0x4574f6=_0x3d0d15[_0x79aac5(0x2e9)]-0x1,_0x4d0207;_0x4574f6>=0x0;_0x4574f6--)(_0x4d0207=_0x3d0d15[_0x4574f6])&&(_0x317c7d=_0x4d0207(_0x317c7d)||_0x317c7d);return _0x317c7d;},_0x779534=(_0x110404,_0x531888)=>(_0x44e7c8,_0x52ae9f)=>_0x531888(_0x44e7c8,_0x52ae9f,_0x110404);_0x313ef4['CollaborationSessionService']=class extends _0x593ae3[_0x509db9(0x410)]{constructor(_0xebcd24,_0x82c8a9,_0x3c1b36,_0xb28410,_0x54bf31,_0x3ea9c7){var _0x3abdd5=_0x509db9;super(),_0x309c0d(this,_0x3abdd5(0x2bf),new _0x2ff251[(_0x3abdd5(0xed))](void 0x0)),_0x309c0d(this,_0x3abdd5(0x2ba),this[_0x3abdd5(0x2bf)][_0x3abdd5(0x203)]()),_0x309c0d(this,'_candidateSocket',null),_0x309c0d(this,_0x3abdd5(0x1a5),new Map()),_0x309c0d(this,_0x3abdd5(0x1f8),new _0x2ff251['BehaviorSubject'](_0x4e4db9[_0x3abdd5(0x398)])),_0x309c0d(this,_0x3abdd5(0x266),this[_0x3abdd5(0x1f8)][_0x3abdd5(0x203)]()),_0x309c0d(this,'_socketReady',!0x1),_0x309c0d(this,'_retryConnectingTimer'),_0x309c0d(this,_0x3abdd5(0x408),0x0),_0x309c0d(this,_0x3abdd5(0x15d)),_0x309c0d(this,_0x3abdd5(0x17e)),(this[_0x3abdd5(0x397)]=_0xebcd24,this['_logService']=_0x82c8a9,this[_0x3abdd5(0x15b)]=_0x3c1b36,this[_0x3abdd5(0x1b5)]=_0xb28410,this[_0x3abdd5(0x20c)]=_0x54bf31,this[_0x3abdd5(0x28c)]=_0x3ea9c7,this[_0x3abdd5(0x25c)]());}get['_socket'](){var _0x3c333d=_0x509db9;return this[_0x3c333d(0x2bf)][_0x3c333d(0x13c)]();}['_listenToNetworkCondition'](){var _0x4fd72b=_0x509db9;this[_0x4fd72b(0x28c)]&&this[_0x4fd72b(0x34f)](this[_0x4fd72b(0x28c)][_0x4fd72b(0x1ea)][_0x4fd72b(0xa2)](_0x4a9f7f=>{var _0x4e086c=_0x4fd72b;_0x4a9f7f&&!this['_socket']&&this[_0x4e086c(0x28d)](),_0x4a9f7f||this[_0x4e086c(0x35d)]();}));}[_0x509db9(0x25b)](){var _0x514663=_0x509db9;super[_0x514663(0x25b)](),this[_0x514663(0x37d)](),this[_0x514663(0x422)](),this[_0x514663(0x3a2)](),this[_0x514663(0x1a5)][_0x514663(0x10a)](_0x362963=>_0x362963[_0x514663(0x25b)]()),this[_0x514663(0x1a5)][_0x514663(0x265)](),this['_status$'][_0x514663(0xb6)]();}async[_0x509db9(0x296)](_0x234a39){var _0x10e9bb=_0x509db9;if(this[_0x10e9bb(0x1a5)][_0x10e9bb(0x34c)](_0x234a39))return this[_0x10e9bb(0x1a5)]['get'](_0x234a39);this[_0x10e9bb(0xd2)]();const _0x2ad97c=this['_injector'][_0x10e9bb(0x252)](_0x313ef4[_0x10e9bb(0x87)],_0x234a39,this[_0x10e9bb(0x2bf)][_0x10e9bb(0x203)]());return this['_sessions']['set'](_0x234a39,_0x2ad97c),_0x2ad97c;}[_0x509db9(0x32f)](_0x100cf3){var _0x4888e3=_0x509db9,_0x2ff4b7;const _0x401a3e=this[_0x4888e3(0x1a5)][_0x4888e3(0xa5)](_0x100cf3);_0x401a3e&&(this['_sessions'][_0x4888e3(0x1b4)](_0x100cf3),_0x401a3e['close']()),this[_0x4888e3(0x1a5)][_0x4888e3(0x11c)]||(_0x2ff4b7=this[_0x4888e3(0x181)])==null||_0x2ff4b7[_0x4888e3(0x288)]();}['reconnect'](){var _0xa7b8c5=_0x509db9;this[_0xa7b8c5(0x408)]=0x0,this[_0xa7b8c5(0x37d)](),this[_0xa7b8c5(0x2a0)]();}[_0x509db9(0x37d)](){var _0x2c03f3=_0x509db9;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2c03f3(0x107)]),this[_0x2c03f3(0x107)]=null);}async['_createSocket'](){var _0x2bdd1f=_0x509db9,_0x136669;const _0x2612d3=this[_0x2bdd1f(0x15b)]['getConfig'](_0x9fbd4f),_0x2ba899=(_0x136669=_0x2612d3==null?void 0x0:_0x2612d3[_0x2bdd1f(0xd7)])!=null?_0x136669:_0x407f4f,_0x5334d0=await this['_socketService'][_0x2bdd1f(0x126)](_0x2ba899);return this[_0x2bdd1f(0x2ec)]=_0x5334d0,_0x5334d0;}async[_0x509db9(0xd2)](){var _0x47719d=_0x509db9,_0xf4edea,_0x1f7b50;try{const _0x139e4f=(_0x1f7b50=(_0xf4edea=this[_0x47719d(0x181)])!=null?_0xf4edea:this[_0x47719d(0x2ec)])!=null?_0x1f7b50:await this['_createSocket']();if(_0x139e4f){const _0x2e99d9=_0x139e4f[_0x47719d(0x426)];_0x139e4f[_0x47719d(0x426)]=_0x5c0f45=>(this[_0x47719d(0x24d)](),_0x2e99d9[_0x47719d(0x11d)](_0x139e4f,[_0x5c0f45])),_0x139e4f[_0x47719d(0x1b6)]['subscribe'](_0x416c4e=>this[_0x47719d(0x308)](_0x139e4f,_0x416c4e)),_0x139e4f['error$'][_0x47719d(0x8f)](_0x137fa6[_0x47719d(0x275)](0x1))[_0x47719d(0xa2)](_0x4f96fe=>this[_0x47719d(0x2a8)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x4f96fe)),_0x139e4f[_0x47719d(0x8c)]['pipe'](_0x137fa6[_0x47719d(0x275)](0x1))['subscribe'](()=>{var _0x1d9bb0=_0x47719d;this[_0x1d9bb0(0x32c)](_0x139e4f);}),_0x139e4f['close$'][_0x47719d(0x8f)](_0x137fa6['take'](0x1))['subscribe'](_0x521ae6=>{var _0x549b3d=_0x47719d;this[_0x549b3d(0x2a8)][_0x549b3d(0x26b)]('[CollaborationSessionService]','socket\x20close',_0x521ae6),this['_onConnectionFailed']();});}}catch(_0x5c5a9b){this[_0x47719d(0x2a8)][_0x47719d(0x2cd)](_0x5c5a9b),this['_onConnectionFailed']();}}[_0x509db9(0x32c)](_0x57445e){var _0x344586=_0x509db9;this[_0x344586(0x2a8)]['debug'](_0x344586(0x2f1),_0x344586(0x3b3)),_0x57445e[_0x344586(0x426)]({'cmd':_0x1e67da['HELLO']}),this[_0x344586(0x24d)]();}[_0x509db9(0x35d)](){var _0x114801=_0x509db9;this[_0x114801(0x193)]=!0x1,this['_candidateSocket']=null,this[_0x114801(0x1f8)][_0x114801(0xda)](_0x4e4db9[_0x114801(0x2ab)]),this[_0x114801(0x2bf)][_0x114801(0xda)](null),this['_clearTimeoutTimer'](),this[_0x114801(0x3a2)]();}[_0x509db9(0x357)](){var _0xd41bd4=_0x509db9,_0x2967ae;this[_0xd41bd4(0x35d)](),this['_retryCount']<((_0x2967ae=this[_0xd41bd4(0x15b)]['getConfig'](_0x52e10c))!=null?_0x2967ae:0x3)?(this[_0xd41bd4(0x20c)][_0xd41bd4(0x1d9)]({'id':_0x7c51aa[_0xd41bd4(0x320)]}),this[_0xd41bd4(0x2a0)]()):this['_collaborationUIEventService'][_0xd41bd4(0x1d9)]({'id':_0x7c51aa[_0xd41bd4(0x280)]});}['_tryReconnect'](){var _0x66962e=_0x509db9,_0x3f5571;const _0x16cc26=this[_0x66962e(0x408)],_0x5a68ce=this['_configService'][_0x66962e(0x1a7)](_0x9fbd4f),_0x42eafb=_0x16cc26===0x0?0x0:((_0x3f5571=_0x5a68ce==null?void 0x0:_0x5a68ce['retryConnectingInterval'])!=null?_0x3f5571:0x4e20)*0x2**_0x16cc26;this[_0x66962e(0x107)]=setTimeout(()=>{var _0x2dce33=_0x66962e;clearTimeout(this[_0x2dce33(0x107)]),this['_retryConnectingTimer']=null,this[_0x2dce33(0xd2)]();},_0x42eafb),this[_0x66962e(0x408)]+=0x1;}[_0x509db9(0x308)](_0x2cbf79,_0x270dd9){var _0x6166a2=_0x509db9;const {cmd:_0x5ad580}=_0x270dd9;_0x5ad580===_0x1e67da[_0x6166a2(0x1ed)]&&!this['_socketReady']&&(_0x2cbf79[_0x6166a2(0x3e2)]=_0x270dd9[_0x6166a2(0xc3)][_0x6166a2(0x3e2)],this[_0x6166a2(0x2bf)][_0x6166a2(0xda)](_0x2cbf79),this['_status$'][_0x6166a2(0xda)](_0x4e4db9[_0x6166a2(0x224)]),this['_socketReady']=!0x0,this[_0x6166a2(0x2ec)]=null),_0x5ad580===_0x1e67da[_0x6166a2(0xa3)]&&this[_0x6166a2(0x422)](),this[_0x6166a2(0x24d)]();}[_0x509db9(0x24d)](){var _0x5aad87=_0x509db9,_0x44ec9b;this[_0x5aad87(0x3a2)](),this[_0x5aad87(0x15d)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x44ec9b=this[_0x5aad87(0x15b)][_0x5aad87(0x1a7)](_0x55547f))!=null?_0x44ec9b:0x7530);}[_0x509db9(0xa6)](){var _0x162336=_0x509db9;this[_0x162336(0x181)][_0x162336(0x426)]({'cmd':_0x1e67da[_0x162336(0xa3)]}),this[_0x162336(0xb7)]();}[_0x509db9(0xb7)](){var _0x99340b=_0x509db9,_0x40ffb0;this['_timeoutTimer']=setTimeout(()=>this[_0x99340b(0x357)](),(_0x40ffb0=this[_0x99340b(0x15b)][_0x99340b(0x1a7)](_0x30846d))!=null?_0x40ffb0:0x4e20);}[_0x509db9(0x3a2)](){var _0x547efd=_0x509db9;this[_0x547efd(0x15d)]!=null&&(clearTimeout(this[_0x547efd(0x15d)]),this[_0x547efd(0x15d)]=null);}[_0x509db9(0x422)](){var _0x950c8e=_0x509db9;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x950c8e(0x17e)]),this['_timeoutTimer']=null);}},_0x313ef4['CollaborationSessionService']=_0x5b66c2([_0x779534(0x0,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x2cf)])),_0x779534(0x1,_0x593ae3[_0x509db9(0x1a8)]),_0x779534(0x2,_0x593ae3[_0x509db9(0x1c0)]),_0x779534(0x3,_0x37eaae),_0x779534(0x4,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x779534(0x5,_0x593ae3[_0x509db9(0x3d1)](_0xcfc4ab))],_0x313ef4[_0x509db9(0x376)]);var _0x16fbdb=Object['getOwnPropertyDescriptor'],_0x4cdde6=(_0x3ab13b,_0x32f936,_0x4a55f6,_0x37edaa)=>{var _0x34c323=_0x509db9;for(var _0x4f6525=_0x37edaa>0x1?void 0x0:_0x37edaa?_0x16fbdb(_0x32f936,_0x4a55f6):_0x32f936,_0x26e157=_0x3ab13b[_0x34c323(0x2e9)]-0x1,_0x1116a3;_0x26e157>=0x0;_0x26e157--)(_0x1116a3=_0x3ab13b[_0x26e157])&&(_0x4f6525=_0x1116a3(_0x4f6525)||_0x4f6525);return _0x4f6525;},_0x107346=(_0xd3138,_0x216b0c)=>(_0x1232c1,_0xfd9d41)=>_0x216b0c(_0x1232c1,_0xfd9d41,_0xd3138);_0x313ef4[_0x509db9(0x9c)]=class extends _0x593ae3[_0x509db9(0x2b9)]{constructor(_0x352c85,_0x1db45b,_0x459bb0,_0x558f8d){var _0x5c473a=_0x509db9,_0x5e39fa;super(),_0x309c0d(this,_0x5c473a(0x248),new Map()),_0x309c0d(this,_0x5c473a(0x274),new _0x2ff251[(_0x5c473a(0x23e))]()),_0x309c0d(this,_0x5c473a(0x2d4),this[_0x5c473a(0x274)][_0x5c473a(0x203)]()),(this[_0x5c473a(0x397)]=_0x352c85,this[_0x5c473a(0x29c)]=_0x1db45b,this[_0x5c473a(0x15b)]=_0x459bb0,this[_0x5c473a(0x281)]=_0x558f8d,((_0x5e39fa=this[_0x5c473a(0x15b)][_0x5c473a(0x1a7)](_0x9fbd4f))==null?void 0x0:_0x5e39fa[_0x5c473a(0x35b)])!==!0x1&&this['_init']());}[_0x509db9(0x25b)](){var _0x2a02f1=_0x509db9;super[_0x2a02f1(0x25b)](),this[_0x2a02f1(0x248)]['forEach'](_0xbffaf8=>_0xbffaf8['dispose']()),this['_entities'][_0x2a02f1(0x265)]();}[_0x509db9(0x18b)](_0x33397c){var _0x4ce829=_0x509db9,_0x17fc60;return(_0x17fc60=this['_entities'][_0x4ce829(0xa5)](_0x33397c))!=null?_0x17fc60:null;}[_0x509db9(0x2d7)](_0x33a5cb){var _0x7ed2ef=_0x509db9;const _0x52cf37=this[_0x7ed2ef(0x18b)](_0x33a5cb);return _0x52cf37?_0x2ff251['of'](_0x52cf37):this['_entityInit$'][_0x7ed2ef(0x8f)](_0x137fa6[_0x7ed2ef(0xbd)](_0x2dd335=>_0x2dd335[_0x7ed2ef(0x359)]===_0x33a5cb));}[_0x509db9(0x21c)](_0x5ccd04){var _0x42b1a1=_0x509db9;return _0x2ff251[_0x42b1a1(0x195)](this[_0x42b1a1(0x2d7)](_0x5ccd04)[_0x42b1a1(0x8f)](_0x137fa6[_0x42b1a1(0xb1)](()=>{})));}[_0x509db9(0x1ff)](){var _0xd5a626=_0x509db9;this[_0xd5a626(0x281)]['getTypeOfUnitAdded$'](_0x593ae3[_0xd5a626(0x119)][_0xd5a626(0x155)])['pipe'](_0x2ff251['takeUntil'](this[_0xd5a626(0x429)]),_0x137fa6[_0xd5a626(0x20e)](0x10))['subscribe'](async _0x44e9ba=>{var _0x5c7261=_0xd5a626;const _0x39f3f3=_0x44e9ba[_0x5c7261(0x382)](),_0x5deb00=await this[_0x5c7261(0x233)](_0x39f3f3,_0x5dd1fb[_0x5c7261(0x155)]);this[_0x5c7261(0x248)]['set'](_0x39f3f3,_0x5deb00);}),this[_0xd5a626(0x281)]['getTypeOfUnitAdded$'](_0x593ae3['UniverInstanceType']['UNIVER_DOC'])['pipe'](_0x2ff251['takeUntil'](this[_0xd5a626(0x429)]),_0x137fa6[_0xd5a626(0x20e)](0x10))[_0xd5a626(0x8f)](_0x137fa6[_0xd5a626(0xbd)](_0x3fea29=>!_0x3fea29[_0xd5a626(0x382)]()[_0xd5a626(0x3ce)]('__')))['subscribe'](async _0x56a5a2=>{var _0x2b5b19=_0xd5a626;const _0x1fb4ea=_0x56a5a2[_0x2b5b19(0x382)](),_0xacc933=await this[_0x2b5b19(0x233)](_0x1fb4ea,_0x5dd1fb[_0x2b5b19(0x3b0)]);this[_0x2b5b19(0x248)][_0x2b5b19(0xa8)](_0x1fb4ea,_0xacc933);}),_0x2ff251[_0xd5a626(0x1e6)](this[_0xd5a626(0x281)][_0xd5a626(0x313)](_0x593ae3[_0xd5a626(0x119)]['UNIVER_SHEET']),this[_0xd5a626(0x281)][_0xd5a626(0x313)](_0x593ae3[_0xd5a626(0x119)][_0xd5a626(0x3b0)]))[_0xd5a626(0x8f)](_0x2ff251[_0xd5a626(0x1b7)](this['dispose$']))[_0xd5a626(0xa2)](_0x499561=>{var _0x238410=_0xd5a626;const _0x39ffec=_0x499561[_0x238410(0x382)](),_0x208a47=this[_0x238410(0x248)][_0x238410(0xa5)](_0x39ffec);_0x208a47&&(_0x208a47[_0x238410(0x25b)](),this[_0x238410(0x248)]['delete'](_0x39ffec));});}async[_0x509db9(0x233)](_0x294940,_0x4bda7a){var _0x4ef45e=_0x509db9;const _0x3c9048=await this['_collabSessionService'][_0x4ef45e(0x296)](_0x294940),_0x1fdead=this[_0x4ef45e(0x397)]['createInstance'](this[_0x4ef45e(0x15a)](_0x4bda7a),_0x294940,_0x4bda7a,_0x3c9048);return await _0x1fdead['init'](),this[_0x4ef45e(0x274)][_0x4ef45e(0xda)](_0x1fdead),_0x1fdead;}[_0x509db9(0x15a)](_0x29835b){var _0x37b706=_0x509db9;switch(_0x29835b){case _0x5dd1fb[_0x37b706(0x3b0)]:return _0x313ef4[_0x37b706(0x271)];case _0x5dd1fb[_0x37b706(0x155)]:return _0x313ef4[_0x37b706(0x1b9)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x29835b);}}},_0x313ef4[_0x509db9(0x9c)]=_0x4cdde6([_0x107346(0x0,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x107346(0x1,_0x593ae3[_0x509db9(0x28b)](_0x313ef4[_0x509db9(0x376)])),_0x107346(0x2,_0x593ae3['IConfigService']),_0x107346(0x3,_0x593ae3[_0x509db9(0x1bc)])],_0x313ef4[_0x509db9(0x9c)]);var _0x175b4a=Object['getOwnPropertyDescriptor'],_0x1b87f0=(_0x1f2f44,_0x3e5622,_0x26dbac,_0x46c4f4)=>{var _0x2deae8=_0x509db9;for(var _0x35fe8c=_0x46c4f4>0x1?void 0x0:_0x46c4f4?_0x175b4a(_0x3e5622,_0x26dbac):_0x3e5622,_0x2947a0=_0x1f2f44[_0x2deae8(0x2e9)]-0x1,_0x9b7781;_0x2947a0>=0x0;_0x2947a0--)(_0x9b7781=_0x1f2f44[_0x2947a0])&&(_0x35fe8c=_0x9b7781(_0x35fe8c)||_0x35fe8c);return _0x35fe8c;},_0x30a3ca=(_0x3b77a8,_0x1adbb4)=>(_0x1d2125,_0x405c64)=>_0x1adbb4(_0x1d2125,_0x405c64,_0x3b77a8);const _0x35de78=_0x509db9(0x35a),_0x592181=_0x509db9(0x413);let _0x261b6f=class extends _0x593ae3[_0x509db9(0x410)]{constructor(_0x19df21,_0x2dc237){var _0x2bf57b=_0x509db9;super(),this['_univerInstanceService']=_0x19df21,this[_0x2bf57b(0x15b)]=_0x2dc237,this[_0x2bf57b(0x1ff)]();}[_0x509db9(0x1ff)](){var _0xd86084=_0x509db9;this[_0xd86084(0x34f)](this[_0xd86084(0x281)][_0xd86084(0x190)][_0xd86084(0xa2)](()=>{var _0x47554d=_0xd86084,_0x8d26a1;const _0x5cc017=this[_0x47554d(0x281)][_0x47554d(0x18e)]();let _0x109459=(_0x8d26a1=this[_0x47554d(0x15b)]['getConfig'](_0x35de78))!=null?_0x8d26a1:_0x592181;_0x5cc017 instanceof _0x593ae3[_0x47554d(0x3f5)]&&(_0x109459=_0x5cc017[_0x47554d(0x371)]),document[_0x47554d(0x3cf)]=_0x109459;}));}};_0x261b6f=_0x1b87f0([_0x30a3ca(0x0,_0x593ae3[_0x509db9(0x1bc)]),_0x30a3ca(0x1,_0x593ae3[_0x509db9(0x1c0)])],_0x261b6f);var _0x361db3=Object['getOwnPropertyDescriptor'],_0x4da54c=(_0x1b1933,_0x465c24,_0x229bac,_0x5baddb)=>{var _0x1dc247=_0x509db9;for(var _0x4e3855=_0x5baddb>0x1?void 0x0:_0x5baddb?_0x361db3(_0x465c24,_0x229bac):_0x465c24,_0x463c30=_0x1b1933[_0x1dc247(0x2e9)]-0x1,_0x371396;_0x463c30>=0x0;_0x463c30--)(_0x371396=_0x1b1933[_0x463c30])&&(_0x4e3855=_0x371396(_0x4e3855)||_0x4e3855);return _0x4e3855;},_0x182883=(_0x46f3fb,_0x55cee8)=>(_0x2e73df,_0x5b7aa)=>_0x55cee8(_0x2e73df,_0x5b7aa,_0x46f3fb);let _0x3fee28=class{constructor(_0x893e32,_0x1dd81d,_0x9ad5bc){var _0x299f27=_0x509db9;this[_0x299f27(0x15b)]=_0x893e32,this[_0x299f27(0x2b2)]=_0x1dd81d,this['localeService']=_0x9ad5bc,this['init']();}[_0x509db9(0x2f7)](){var _0x472027=_0x509db9;this[_0x472027(0x2b2)][_0x472027(0x337)]({'priority':0x1,'interceptor':(_0x41d205,_0x191b07)=>_0x191b07(_0x41d205)[_0x472027(0x8f)](_0x2ff251[_0x472027(0x129)](async _0x585dd0=>{var _0x3ed99d=_0x472027;const _0x456643=_0x585dd0;if(_0x456643[_0x3ed99d(0x11e)]===0x191){if(typeof window>'u')throw new Error(_0x3ed99d(0x31c));if(window[_0x3ed99d(0x2ff)](this['localeService']['t'](_0x3ed99d(0x11f)))){const _0x387491=window[_0x3ed99d(0x31b)](window[_0x3ed99d(0x29e)]['href']);window[_0x3ed99d(0x29e)][_0x3ed99d(0x239)]=this[_0x3ed99d(0x291)]()+_0x3ed99d(0xf9)+_0x387491;}}return _0x456643;}))});}[_0x509db9(0x291)](){var _0x267b6d=_0x509db9,_0x57dd99;const _0xd59c5b=this[_0x267b6d(0x15b)]['getConfig'](_0x9fbd4f);return(_0x57dd99=_0xd59c5b==null?void 0x0:_0xd59c5b['loginUrlKey'])!=null?_0x57dd99:_0x1f9169;}};_0x3fee28=_0x4da54c([_0x182883(0x0,_0x593ae3[_0x509db9(0x1c0)]),_0x182883(0x1,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)])),_0x182883(0x2,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x97)]))],_0x3fee28);var _0x33aa76=Object['getOwnPropertyDescriptor'],_0x33d125=(_0xd7416f,_0x5f17d1,_0x26109f,_0x3e2144)=>{for(var _0x9b4c0a=_0x3e2144>0x1?void 0x0:_0x3e2144?_0x33aa76(_0x5f17d1,_0x26109f):_0x5f17d1,_0x4425d8=_0xd7416f['length']-0x1,_0x4ea90c;_0x4425d8>=0x0;_0x4425d8--)(_0x4ea90c=_0xd7416f[_0x4425d8])&&(_0x9b4c0a=_0x4ea90c(_0x9b4c0a)||_0x9b4c0a);return _0x9b4c0a;},_0x44485a=(_0x2ac48b,_0x1efbbf)=>(_0x475699,_0x22c59c)=>_0x1efbbf(_0x475699,_0x22c59c,_0x2ac48b);const _0x28bb2d=_0x509db9(0x3a5);_0x313ef4[_0x509db9(0x125)]=class extends _0x593ae3['Disposable']{constructor(_0x4b62d8,_0x4e97a6){var _0x437b8a=_0x509db9;super(),this[_0x437b8a(0x363)]=_0x4b62d8,this[_0x437b8a(0x15b)]=_0x4e97a6,this[_0x437b8a(0x198)]();}[_0x509db9(0x198)](){var _0x3ab44d=_0x509db9;const _0xe72796=this;this[_0x3ab44d(0x34f)](this[_0x3ab44d(0x363)][_0x3ab44d(0x337)]({'priority':0x3e7,'interceptor':_0x38c133[_0x3ab44d(0x186)]({'isMatch'(_0x181f74){var _0x1fa226=_0x3ab44d,_0x1e5608;if(_0x181f74[_0x1fa226(0x17d)]===_0x1fa226(0x154)&&((_0x1e5608=_0x181f74[_0x1fa226(0x1fb)])!=null&&_0x1e5608[_0x1fa226(0x3dc)])){const {objectID:_0x2d0af1,objectType:_0x2accbb}=_0x181f74['requestParams']['body']||{};if(!_0x2d0af1||_0x2accbb===void 0x0)return!0x1;const _0x4cddc6=_0xe72796[_0x1fa226(0x16d)]()+'/'+_0x2accbb+_0x1fa226(0x365)+_0x2d0af1+_0x1fa226(0x253);if(_0x181f74[_0x1fa226(0x424)]===_0x4cddc6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3b1449){var _0x18bfa6=_0x3ab44d,_0x413262;return(_0x413262=_0x3b1449['requestParams'])==null?void 0x0:_0x413262[_0x18bfa6(0x3dc)];},'mergeParamsToRequest'(_0x3ae873,_0x1448ed){var _0x2e24fe=_0x3ab44d;const _0x2813ac=_0xe72796[_0x2e24fe(0x16d)]()+'/-/object/-/batch_allowed',_0x138990=_0x3ae873[_0x2e24fe(0xae)]((_0x1a4424,_0x19f23e)=>{var _0x365d06=_0x2e24fe;const {unitID:_0xb935b6,objectID:_0x7c1b1f,objectType:_0x52ed71,actions:_0x2028c1}=_0x19f23e;return _0x1a4424[_0xb935b6]||(_0x1a4424[_0xb935b6]={}),_0x1a4424[_0xb935b6][_0x7c1b1f]||(_0x1a4424[_0xb935b6][_0x7c1b1f]={'objectID':_0x7c1b1f,'objectType':_0x52ed71,'actions':[]}),_0x1a4424[_0xb935b6][_0x7c1b1f][_0x365d06(0x3b7)][_0x365d06(0x273)](..._0x2028c1),_0x1a4424;},{}),_0x51b5d8=[];for(const _0x2ff5a3 in _0x138990)for(const _0x44b80a in _0x138990[_0x2ff5a3]){const {actions:_0x34e7a6,objectType:_0x3ada5b}=_0x138990[_0x2ff5a3][_0x44b80a],_0x3f515a=[...new Set(_0x34e7a6)];_0x51b5d8[_0x2e24fe(0x273)]({'unitID':_0x2ff5a3,'objectID':_0x44b80a,'objectType':_0x3ada5b,'actions':_0x3f515a});}return new _0x38c133['HTTPRequest'](_0x2e24fe(0x154),_0x2813ac,{'headers':_0x1448ed[_0x2e24fe(0x375)],'withCredentials':_0x1448ed[_0x2e24fe(0x3e8)],'responseType':_0x1448ed[_0x2e24fe(0x2a4)],'body':{'requests':_0x51b5d8}});}},{'distributeResult'(_0x3badfd,_0x3db19f){const {objectActions:_0x59ebbe}=_0x3badfd;return _0x3db19f['map'](_0x138fe4=>{var _0x30b5ce=_0x572e;const {unitID:_0x5c6831,objectID:_0x239071,actions:_0x2adad9}=_0x138fe4,_0x41ad3f=_0x59ebbe[_0x30b5ce(0x35e)](_0x1fd3ac=>_0x1fd3ac[_0x30b5ce(0x359)]===_0x5c6831&&_0x1fd3ac[_0x30b5ce(0x187)]===_0x239071),_0x244972=_0x2adad9[_0x30b5ce(0xb1)](_0x45bbc9=>_0x41ad3f==null?void 0x0:_0x41ad3f['actions'][_0x30b5ce(0x35e)](_0x4ec32a=>_0x4ec32a[_0x30b5ce(0x89)]===_0x45bbc9))[_0x30b5ce(0xbd)](_0x5cbdc8=>!!_0x5cbdc8);return{'config':_0x138fe4,'result':{'actions':_0x244972,'error':_0x3badfd[_0x30b5ce(0x2cd)]}};});}})}));}[_0x509db9(0x16d)](){var _0x67cbc7=_0x509db9,_0x4809c5;const _0x235bf8=this[_0x67cbc7(0x15b)][_0x67cbc7(0x1a7)](_0x9fbd4f);return(_0x4809c5=_0x235bf8==null?void 0x0:_0x235bf8[_0x67cbc7(0x38d)])!=null?_0x4809c5:_0x28bb2d;}async[_0x509db9(0x21d)](_0x4fe7b2){var _0x33b374=_0x509db9;const _0x1b33f2=this['_getAPIPrefixPath']()+'/'+_0x4fe7b2[_0x33b374(0x12b)]+_0x33b374(0x92);return(await this[_0x33b374(0x363)][_0x33b374(0x3be)](_0x1b33f2,{'body':_0x4fe7b2}))['body'][_0x33b374(0x187)]||'';}async[_0x509db9(0x387)](_0x515401){var _0x48a374=_0x509db9;const _0x3a1317=this[_0x48a374(0x16d)]()+_0x48a374(0x361);return(await this[_0x48a374(0x363)][_0x48a374(0x3be)](_0x3a1317,{'body':_0x515401}))['body']['objects'];}async[_0x509db9(0x241)](_0x3850a9){var _0x5cafaf=_0x509db9,_0x543f38,_0x2342e7;const _0x124638=this['_getAPIPrefixPath']()+'/'+_0x3850a9[_0x5cafaf(0x12b)]+'/object/'+_0x3850a9[_0x5cafaf(0x187)],_0x39aa9b=await this[_0x5cafaf(0x363)]['put'](_0x124638,{'body':_0x3850a9});if(((_0x2342e7=(_0x543f38=_0x39aa9b==null?void 0x0:_0x39aa9b[_0x5cafaf(0x3dc)])==null?void 0x0:_0x543f38[_0x5cafaf(0x2cd)])==null?void 0x0:_0x2342e7['code'])!==0x1)throw new Error(_0x5cafaf(0xfe));}async[_0x509db9(0x41a)](_0x239619){var _0x575990=_0x509db9;const _0x1512e7=this[_0x575990(0x16d)]()+'/'+_0x239619[_0x575990(0x12b)]+_0x575990(0x365)+_0x239619['objectID']+'/allowed';return(await this[_0x575990(0x363)][_0x575990(0x3be)](_0x1512e7,{'body':_0x239619}))['body'][_0x575990(0x3b7)];}async[_0x509db9(0x1c8)](_0x3c6071){var _0xa64415=_0x509db9;const _0x527512=this['_getAPIPrefixPath']()+_0xa64415(0x40f);return(await this['_HTTPService'][_0xa64415(0x3be)](_0x527512,{'body':{'requests':_0x3c6071}}))['body'][_0xa64415(0x189)];}async[_0x509db9(0x2eb)](_0x24f1ad){var _0x382593=_0x509db9;const _0x293fb4=this[_0x382593(0x16d)]()+'/'+_0x24f1ad[_0x382593(0x12b)]+_0x382593(0x261),_0x36447c=await this['_HTTPService'][_0x382593(0x3be)](_0x293fb4,{'body':_0x24f1ad});return{'roles':_0x36447c[_0x382593(0x3dc)][_0x382593(0x379)],'actions':_0x36447c[_0x382593(0x3dc)][_0x382593(0x3b7)]};}async[_0x509db9(0x383)](_0x59cd53){var _0x1607c6=_0x509db9;const _0x4454aa=this[_0x1607c6(0x16d)]()+'/collaborator';await this['_HTTPService'][_0x1607c6(0x1b4)](_0x4454aa,{'params':{'collaboratorID':_0x59cd53['collaboratorID'],'objectID':_0x59cd53[_0x1607c6(0x187)],'unitID':_0x59cd53[_0x1607c6(0x359)]}});}async[_0x509db9(0x38e)](_0x3bef83){var _0x263e06=_0x509db9;const _0x6de3b4=this[_0x263e06(0x16d)]()+_0x263e06(0x373);await this[_0x263e06(0x363)][_0x263e06(0xd8)](_0x6de3b4,{'body':_0x3bef83});}async[_0x509db9(0x2e4)](_0x48943c){var _0x410717=_0x509db9;const _0x23cb5a=this[_0x410717(0x16d)]()+_0x410717(0x373);await this[_0x410717(0x363)]['post'](_0x23cb5a,{'body':_0x48943c});}async[_0x509db9(0x286)](_0xb6c311){var _0x3da446=_0x509db9;const _0x3a5f8a=this[_0x3da446(0x16d)]()+_0x3da446(0x373);return(await this[_0x3da446(0x363)][_0x3da446(0xa5)](_0x3a5f8a,{'params':{'objectID':_0xb6c311[_0x3da446(0x187)],'unitID':_0xb6c311[_0x3da446(0x359)]}}))['body']['collaborators'];}async[_0x509db9(0x3fd)](_0x13a986){var _0x1d81ea=_0x509db9;const _0x3a39ee=this[_0x1d81ea(0x16d)]()+'/collaborator';await this[_0x1d81ea(0x363)][_0x1d81ea(0x299)](_0x3a39ee,{'body':_0x13a986});}},_0x313ef4[_0x509db9(0x125)]=_0x33d125([_0x44485a(0x0,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)])),_0x44485a(0x1,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x1c0)]))],_0x313ef4['AuthzIoHttpService']);var _0xc33fc4=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x58088d(_0x46a34b){var _0x4d9cd5=_0x509db9;return _0x46a34b&&_0x46a34b[_0x4d9cd5(0x14d)]&&Object[_0x4d9cd5(0x102)][_0x4d9cd5(0x3c1)]['call'](_0x46a34b,_0x4d9cd5(0x406))?_0x46a34b['default']:_0x46a34b;}var _0xe2b2c7={'exports':{}};function _0x350654(_0x22ad50){var _0x4a65bd=_0x509db9;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x22ad50+_0x4a65bd(0x403));}var _0xed66f9={'exports':{}},_0x16c0be=_0xed66f9[_0x509db9(0x3f3)],_0x2af21c;function _0x2303bf(){var _0x4de2c7=_0x509db9;return _0x2af21c||(_0x2af21c=0x1,function(_0x301115,_0x1fc6be){(function(_0x222104,_0x41d4b1){var _0x234c26=_0x572e;_0x301115[_0x234c26(0x3f3)]=_0x41d4b1();}(_0x16c0be,function(){var _0x458678=_0x458678||function(_0x2ca9c3,_0x5463d5){var _0xf69afb=_0x572e,_0x10120c;if(typeof window<'u'&&window[_0xf69afb(0x19c)]&&(_0x10120c=window[_0xf69afb(0x19c)]),typeof self<'u'&&self[_0xf69afb(0x19c)]&&(_0x10120c=self[_0xf69afb(0x19c)]),typeof globalThis<'u'&&globalThis[_0xf69afb(0x19c)]&&(_0x10120c=globalThis[_0xf69afb(0x19c)]),!_0x10120c&&typeof window<'u'&&window[_0xf69afb(0x27f)]&&(_0x10120c=window[_0xf69afb(0x27f)]),!_0x10120c&&typeof _0xc33fc4<'u'&&_0xc33fc4[_0xf69afb(0x19c)]&&(_0x10120c=_0xc33fc4[_0xf69afb(0x19c)]),!_0x10120c&&typeof _0x350654=='function')try{_0x10120c=require('crypto');}catch{}var _0x3d9eaa=function(){var _0x5c1699=_0xf69afb;if(_0x10120c){if(typeof _0x10120c[_0x5c1699(0x342)]==_0x5c1699(0x409))try{return _0x10120c[_0x5c1699(0x342)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x10120c[_0x5c1699(0x304)]==_0x5c1699(0x409))try{return _0x10120c[_0x5c1699(0x304)](0x4)[_0x5c1699(0x2af)]();}catch{}}throw new Error(_0x5c1699(0x3eb));},_0x4778be=Object[_0xf69afb(0x21d)]||(function(){function _0x323907(){}return function(_0x52cdc7){var _0x1db5a8=_0x572e,_0x33627d;return _0x323907[_0x1db5a8(0x102)]=_0x52cdc7,_0x33627d=new _0x323907(),_0x323907['prototype']=null,_0x33627d;};}()),_0x2a4a1b={},_0x525670=_0x2a4a1b[_0xf69afb(0x1cb)]={},_0x32acda=_0x525670[_0xf69afb(0x270)]=(function(){return{'extend':function(_0x3bdba0){var _0x476bea=_0x572e,_0x4c6460=_0x4778be(this);return _0x3bdba0&&_0x4c6460[_0x476bea(0x340)](_0x3bdba0),(!_0x4c6460[_0x476bea(0x3c1)](_0x476bea(0x2f7))||this['init']===_0x4c6460[_0x476bea(0x2f7)])&&(_0x4c6460[_0x476bea(0x2f7)]=function(){var _0x542dfc=_0x476bea;_0x4c6460[_0x542dfc(0xb3)][_0x542dfc(0x2f7)][_0x542dfc(0x11d)](this,arguments);}),_0x4c6460[_0x476bea(0x2f7)][_0x476bea(0x102)]=_0x4c6460,_0x4c6460[_0x476bea(0xb3)]=this,_0x4c6460;},'create':function(){var _0xb9fcd7=_0x572e,_0x3f74c0=this[_0xb9fcd7(0x36b)]();return _0x3f74c0[_0xb9fcd7(0x2f7)][_0xb9fcd7(0x11d)](_0x3f74c0,arguments),_0x3f74c0;},'init':function(){},'mixIn':function(_0x26a52b){var _0x1acea2=_0x572e;for(var _0x4e8160 in _0x26a52b)_0x26a52b[_0x1acea2(0x3c1)](_0x4e8160)&&(this[_0x4e8160]=_0x26a52b[_0x4e8160]);_0x26a52b[_0x1acea2(0x3c1)]('toString')&&(this[_0x1acea2(0x1fe)]=_0x26a52b[_0x1acea2(0x1fe)]);},'clone':function(){var _0x478d7f=_0x572e;return this['init'][_0x478d7f(0x102)]['extend'](this);}};}()),_0x5bf0bb=_0x525670[_0xf69afb(0x213)]=_0x32acda['extend']({'init':function(_0x2c2b6e,_0x5e71a4){var _0x4a654b=_0xf69afb;_0x2c2b6e=this[_0x4a654b(0x2ce)]=_0x2c2b6e||[],_0x5e71a4!=_0x5463d5?this[_0x4a654b(0x1a4)]=_0x5e71a4:this[_0x4a654b(0x1a4)]=_0x2c2b6e[_0x4a654b(0x2e9)]*0x4;},'toString':function(_0x446446){return(_0x446446||_0x3d22da)['stringify'](this);},'concat':function(_0xa65748){var _0x16fd58=_0xf69afb,_0x3fd695=this['words'],_0x5920b1=_0xa65748['words'],_0x2834f4=this['sigBytes'],_0x58aedb=_0xa65748[_0x16fd58(0x1a4)];if(this['clamp'](),_0x2834f4%0x4)for(var _0x3ace4e=0x0;_0x3ace4e<_0x58aedb;_0x3ace4e++){var _0x3c2c7a=_0x5920b1[_0x3ace4e>>>0x2]>>>0x18-_0x3ace4e%0x4*0x8&0xff;_0x3fd695[_0x2834f4+_0x3ace4e>>>0x2]|=_0x3c2c7a<<0x18-(_0x2834f4+_0x3ace4e)%0x4*0x8;}else{for(var _0x5d1295=0x0;_0x5d1295<_0x58aedb;_0x5d1295+=0x4)_0x3fd695[_0x2834f4+_0x5d1295>>>0x2]=_0x5920b1[_0x5d1295>>>0x2];}return this[_0x16fd58(0x1a4)]+=_0x58aedb,this;},'clamp':function(){var _0x565b6e=_0xf69afb,_0x4f3dc2=this[_0x565b6e(0x2ce)],_0x4e6ab9=this[_0x565b6e(0x1a4)];_0x4f3dc2[_0x4e6ab9>>>0x2]&=0xffffffff<<0x20-_0x4e6ab9%0x4*0x8,_0x4f3dc2['length']=_0x2ca9c3[_0x565b6e(0x3ad)](_0x4e6ab9/0x4);},'clone':function(){var _0x4e7daa=_0xf69afb,_0x91fa8=_0x32acda[_0x4e7daa(0xfc)][_0x4e7daa(0xc8)](this);return _0x91fa8[_0x4e7daa(0x2ce)]=this[_0x4e7daa(0x2ce)][_0x4e7daa(0x175)](0x0),_0x91fa8;},'random':function(_0x49aa77){var _0x220227=_0xf69afb;for(var _0x391ff0=[],_0x5b815c=0x0;_0x5b815c<_0x49aa77;_0x5b815c+=0x4)_0x391ff0[_0x220227(0x273)](_0x3d9eaa());return new _0x5bf0bb[(_0x220227(0x2f7))](_0x391ff0,_0x49aa77);}}),_0x58b236=_0x2a4a1b[_0xf69afb(0x93)]={},_0x3d22da=_0x58b236['Hex']={'stringify':function(_0x2d896d){var _0x3f7a30=_0xf69afb;for(var _0x10735a=_0x2d896d[_0x3f7a30(0x2ce)],_0x2bcabe=_0x2d896d[_0x3f7a30(0x1a4)],_0x575dc9=[],_0x300a10=0x0;_0x300a10<_0x2bcabe;_0x300a10++){var _0x267279=_0x10735a[_0x300a10>>>0x2]>>>0x18-_0x300a10%0x4*0x8&0xff;_0x575dc9[_0x3f7a30(0x273)]((_0x267279>>>0x4)[_0x3f7a30(0x1fe)](0x10)),_0x575dc9[_0x3f7a30(0x273)]((_0x267279&0xf)[_0x3f7a30(0x1fe)](0x10));}return _0x575dc9[_0x3f7a30(0x172)]('');},'parse':function(_0x52f86f){var _0x4429c8=_0xf69afb;for(var _0x5bd523=_0x52f86f['length'],_0xa245d5=[],_0x248489=0x0;_0x248489<_0x5bd523;_0x248489+=0x2)_0xa245d5[_0x248489>>>0x3]|=parseInt(_0x52f86f['substr'](_0x248489,0x2),0x10)<<0x18-_0x248489%0x8*0x4;return new _0x5bf0bb[(_0x4429c8(0x2f7))](_0xa245d5,_0x5bd523/0x2);}},_0x475a5e=_0x58b236['Latin1']={'stringify':function(_0x1d22d8){var _0x80ad71=_0xf69afb;for(var _0x4e7970=_0x1d22d8['words'],_0x342115=_0x1d22d8[_0x80ad71(0x1a4)],_0x20148f=[],_0x1f3636=0x0;_0x1f3636<_0x342115;_0x1f3636++){var _0x11b76b=_0x4e7970[_0x1f3636>>>0x2]>>>0x18-_0x1f3636%0x4*0x8&0xff;_0x20148f[_0x80ad71(0x273)](String['fromCharCode'](_0x11b76b));}return _0x20148f[_0x80ad71(0x172)]('');},'parse':function(_0x97e08f){var _0x3bc9d6=_0xf69afb;for(var _0x2d307c=_0x97e08f['length'],_0x169b11=[],_0xa6767c=0x0;_0xa6767c<_0x2d307c;_0xa6767c++)_0x169b11[_0xa6767c>>>0x2]|=(_0x97e08f[_0x3bc9d6(0x350)](_0xa6767c)&0xff)<<0x18-_0xa6767c%0x4*0x8;return new _0x5bf0bb[(_0x3bc9d6(0x2f7))](_0x169b11,_0x2d307c);}},_0x4efe4e=_0x58b236['Utf8']={'stringify':function(_0x3cb045){var _0x198d2b=_0xf69afb;try{return decodeURIComponent(escape(_0x475a5e[_0x198d2b(0xa1)](_0x3cb045)));}catch{throw new Error(_0x198d2b(0x391));}},'parse':function(_0x21ca2f){var _0x1bedc7=_0xf69afb;return _0x475a5e[_0x1bedc7(0x3d2)](unescape(encodeURIComponent(_0x21ca2f)));}},_0x542b1a=_0x525670[_0xf69afb(0x38f)]=_0x32acda[_0xf69afb(0x36b)]({'reset':function(){var _0x3682dd=_0xf69afb;this[_0x3682dd(0x17b)]=new _0x5bf0bb['init'](),this[_0x3682dd(0x229)]=0x0;},'_append':function(_0x1334f4){var _0x44202d=_0xf69afb;typeof _0x1334f4==_0x44202d(0x209)&&(_0x1334f4=_0x4efe4e[_0x44202d(0x3d2)](_0x1334f4)),this[_0x44202d(0x17b)][_0x44202d(0x27b)](_0x1334f4),this[_0x44202d(0x229)]+=_0x1334f4[_0x44202d(0x1a4)];},'_process':function(_0x27b51d){var _0x2c0a94=_0xf69afb,_0x564865,_0x4017fe=this['_data'],_0x2da8d2=_0x4017fe[_0x2c0a94(0x2ce)],_0x47b4ad=_0x4017fe[_0x2c0a94(0x1a4)],_0x4375d0=this[_0x2c0a94(0x1bd)],_0x305ff7=_0x4375d0*0x4,_0x302627=_0x47b4ad/_0x305ff7;_0x27b51d?_0x302627=_0x2ca9c3[_0x2c0a94(0x3ad)](_0x302627):_0x302627=_0x2ca9c3['max']((_0x302627|0x0)-this[_0x2c0a94(0x2a2)],0x0);var _0x40541f=_0x302627*_0x4375d0,_0x477019=_0x2ca9c3[_0x2c0a94(0x367)](_0x40541f*0x4,_0x47b4ad);if(_0x40541f){for(var _0x401ed0=0x0;_0x401ed0<_0x40541f;_0x401ed0+=_0x4375d0)this[_0x2c0a94(0xa9)](_0x2da8d2,_0x401ed0);_0x564865=_0x2da8d2[_0x2c0a94(0x3cc)](0x0,_0x40541f),_0x4017fe[_0x2c0a94(0x1a4)]-=_0x477019;}return new _0x5bf0bb[(_0x2c0a94(0x2f7))](_0x564865,_0x477019);},'clone':function(){var _0x52aca5=_0xf69afb,_0x3210d7=_0x32acda[_0x52aca5(0xfc)]['call'](this);return _0x3210d7[_0x52aca5(0x17b)]=this['_data'][_0x52aca5(0xfc)](),_0x3210d7;},'_minBufferSize':0x0});_0x525670['Hasher']=_0x542b1a[_0xf69afb(0x36b)]({'cfg':_0x32acda[_0xf69afb(0x36b)](),'init':function(_0xd7f0ff){var _0x24c1c4=_0xf69afb;this[_0x24c1c4(0x21f)]=this['cfg'][_0x24c1c4(0x36b)](_0xd7f0ff),this['reset']();},'reset':function(){var _0x52621a=_0xf69afb;_0x542b1a[_0x52621a(0x242)]['call'](this),this['_doReset']();},'update':function(_0x505efd){var _0x50fb6b=_0xf69afb;return this[_0x50fb6b(0x145)](_0x505efd),this[_0x50fb6b(0xbb)](),this;},'finalize':function(_0x228450){var _0x414f7d=_0xf69afb;_0x228450&&this[_0x414f7d(0x145)](_0x228450);var _0x1a3832=this[_0x414f7d(0x95)]();return _0x1a3832;},'blockSize':0x10,'_createHelper':function(_0x288e4a){return function(_0x2acc65,_0x52f1c5){var _0x141241=_0x572e;return new _0x288e4a['init'](_0x52f1c5)[_0x141241(0x38a)](_0x2acc65);};},'_createHmacHelper':function(_0x4de0f0){return function(_0x116933,_0x3dbbbb){var _0x25b316=_0x572e;return new _0x5e1faf[(_0x25b316(0x104))][(_0x25b316(0x2f7))](_0x4de0f0,_0x3dbbbb)[_0x25b316(0x38a)](_0x116933);};}});var _0x5e1faf=_0x2a4a1b['algo']={};return _0x2a4a1b;}(Math);return _0x458678;}));}(_0xed66f9)),_0xed66f9[_0x4de2c7(0x3f3)];}var _0x55d7e6={'exports':{}},_0x2b8bc1=_0x55d7e6[_0x509db9(0x3f3)],_0x5d4c10;function _0x8a71d1(){var _0x2f055e=_0x509db9;return _0x5d4c10||(_0x5d4c10=0x1,function(_0x28fea0,_0x2b5d29){(function(_0x555703,_0x5d93bf){var _0x3139c4=_0x572e;_0x28fea0[_0x3139c4(0x3f3)]=_0x5d93bf(_0x2303bf());}(_0x2b8bc1,function(_0x4d7701){var _0x224bc6=_0x572e;return(function(){var _0x1c0cd2=_0x572e,_0x4be0a4=_0x4d7701,_0x52a707=_0x4be0a4[_0x1c0cd2(0x1cb)],_0x2b1ba5=_0x52a707[_0x1c0cd2(0x213)],_0x144dbd=_0x4be0a4[_0x1c0cd2(0x93)];_0x144dbd[_0x1c0cd2(0xbe)]={'stringify':function(_0x4afa94){var _0x222fc3=_0x1c0cd2,_0x45f1a6=_0x4afa94[_0x222fc3(0x2ce)],_0x18885a=_0x4afa94[_0x222fc3(0x1a4)],_0x4b9eee=this[_0x222fc3(0x8a)];_0x4afa94[_0x222fc3(0xdc)]();for(var _0x5bd0a5=[],_0x5d10b8=0x0;_0x5d10b8<_0x18885a;_0x5d10b8+=0x3)for(var _0x2a9620=_0x45f1a6[_0x5d10b8>>>0x2]>>>0x18-_0x5d10b8%0x4*0x8&0xff,_0x11e722=_0x45f1a6[_0x5d10b8+0x1>>>0x2]>>>0x18-(_0x5d10b8+0x1)%0x4*0x8&0xff,_0x181131=_0x45f1a6[_0x5d10b8+0x2>>>0x2]>>>0x18-(_0x5d10b8+0x2)%0x4*0x8&0xff,_0x404730=_0x2a9620<<0x10|_0x11e722<<0x8|_0x181131,_0x29a795=0x0;_0x29a795<0x4&&_0x5d10b8+_0x29a795*0.75<_0x18885a;_0x29a795++)_0x5bd0a5[_0x222fc3(0x273)](_0x4b9eee[_0x222fc3(0x389)](_0x404730>>>0x6*(0x3-_0x29a795)&0x3f));var _0x2bb24a=_0x4b9eee['charAt'](0x40);if(_0x2bb24a){for(;_0x5bd0a5[_0x222fc3(0x2e9)]%0x4;)_0x5bd0a5[_0x222fc3(0x273)](_0x2bb24a);}return _0x5bd0a5[_0x222fc3(0x172)]('');},'parse':function(_0x1da554){var _0x356fc2=_0x1c0cd2,_0xc1706f=_0x1da554['length'],_0x56eefc=this[_0x356fc2(0x8a)],_0x5325dd=this[_0x356fc2(0x9b)];if(!_0x5325dd){_0x5325dd=this[_0x356fc2(0x9b)]=[];for(var _0x79bbc4=0x0;_0x79bbc4<_0x56eefc['length'];_0x79bbc4++)_0x5325dd[_0x56eefc[_0x356fc2(0x350)](_0x79bbc4)]=_0x79bbc4;}var _0x539e69=_0x56eefc['charAt'](0x40);if(_0x539e69){var _0x8dd79e=_0x1da554[_0x356fc2(0x30b)](_0x539e69);_0x8dd79e!==-0x1&&(_0xc1706f=_0x8dd79e);}return _0xa3f735(_0x1da554,_0xc1706f,_0x5325dd);},'_map':_0x1c0cd2(0x2bc)};function _0xa3f735(_0x55b4af,_0xa0aca1,_0x16a9cd){var _0x25a437=_0x1c0cd2;for(var _0x4c6d00=[],_0x2ec2ab=0x0,_0x39a25e=0x0;_0x39a25e<_0xa0aca1;_0x39a25e++)if(_0x39a25e%0x4){var _0x433806=_0x16a9cd[_0x55b4af['charCodeAt'](_0x39a25e-0x1)]<<_0x39a25e%0x4*0x2,_0x2c6366=_0x16a9cd[_0x55b4af['charCodeAt'](_0x39a25e)]>>>0x6-_0x39a25e%0x4*0x2,_0x343f45=_0x433806|_0x2c6366;_0x4c6d00[_0x2ec2ab>>>0x2]|=_0x343f45<<0x18-_0x2ec2ab%0x4*0x8,_0x2ec2ab++;}return _0x2b1ba5[_0x25a437(0x21d)](_0x4c6d00,_0x2ec2ab);}}()),_0x4d7701[_0x224bc6(0x93)][_0x224bc6(0xbe)];}));}(_0x55d7e6)),_0x55d7e6[_0x2f055e(0x3f3)];}var _0x259d36={'exports':{}},_0x3d84a1=_0x259d36[_0x509db9(0x3f3)],_0x3f435f;function _0x2fdd86(){var _0x1fb4c8=_0x509db9;return _0x3f435f||(_0x3f435f=0x1,function(_0x5adf3c,_0x421c78){(function(_0x25f8c9,_0x133598){var _0x3509ca=_0x572e;_0x5adf3c[_0x3509ca(0x3f3)]=_0x133598(_0x2303bf());}(_0x3d84a1,function(_0x5dd200){var _0x306b51=_0x572e;return function(_0x25d27b){var _0x1a5ecc=_0x572e,_0x3a7093=_0x5dd200,_0x39f27b=_0x3a7093[_0x1a5ecc(0x1cb)],_0x44a78b=_0x39f27b[_0x1a5ecc(0x213)],_0x4070ee=_0x39f27b['Hasher'],_0x39ca1e=_0x3a7093[_0x1a5ecc(0x293)],_0x58dd32=[];(function(){var _0x42b7c7=_0x1a5ecc;for(var _0x16866d=0x0;_0x16866d<0x40;_0x16866d++)_0x58dd32[_0x16866d]=_0x25d27b['abs'](_0x25d27b[_0x42b7c7(0x3bc)](_0x16866d+0x1))*0x100000000|0x0;}());var _0x216ea7=_0x39ca1e[_0x1a5ecc(0x99)]=_0x4070ee[_0x1a5ecc(0x36b)]({'_doReset':function(){var _0x32b480=_0x1a5ecc;this[_0x32b480(0x1d7)]=new _0x44a78b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x8a57a5,_0x3a9cee){var _0xeb8a99=_0x1a5ecc;for(var _0x22a4eb=0x0;_0x22a4eb<0x10;_0x22a4eb++){var _0x42d4eb=_0x3a9cee+_0x22a4eb,_0x14866b=_0x8a57a5[_0x42d4eb];_0x8a57a5[_0x42d4eb]=(_0x14866b<<0x8|_0x14866b>>>0x18)&0xff00ff|(_0x14866b<<0x18|_0x14866b>>>0x8)&0xff00ff00;}var _0x28380b=this['_hash'][_0xeb8a99(0x2ce)],_0x3426e3=_0x8a57a5[_0x3a9cee+0x0],_0x192303=_0x8a57a5[_0x3a9cee+0x1],_0x5e52fc=_0x8a57a5[_0x3a9cee+0x2],_0x1a638d=_0x8a57a5[_0x3a9cee+0x3],_0x598339=_0x8a57a5[_0x3a9cee+0x4],_0x34ad79=_0x8a57a5[_0x3a9cee+0x5],_0x42fc73=_0x8a57a5[_0x3a9cee+0x6],_0x50fcff=_0x8a57a5[_0x3a9cee+0x7],_0x3d280d=_0x8a57a5[_0x3a9cee+0x8],_0x5d88e3=_0x8a57a5[_0x3a9cee+0x9],_0x4bf2e5=_0x8a57a5[_0x3a9cee+0xa],_0xebbe50=_0x8a57a5[_0x3a9cee+0xb],_0x135a9c=_0x8a57a5[_0x3a9cee+0xc],_0x3c06b2=_0x8a57a5[_0x3a9cee+0xd],_0x1a77cb=_0x8a57a5[_0x3a9cee+0xe],_0x31a472=_0x8a57a5[_0x3a9cee+0xf],_0x4a5b93=_0x28380b[0x0],_0x53c7a7=_0x28380b[0x1],_0x47a550=_0x28380b[0x2],_0x3fe17d=_0x28380b[0x3];_0x4a5b93=_0x377cce(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3426e3,0x7,_0x58dd32[0x0]),_0x3fe17d=_0x377cce(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x192303,0xc,_0x58dd32[0x1]),_0x47a550=_0x377cce(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x5e52fc,0x11,_0x58dd32[0x2]),_0x53c7a7=_0x377cce(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x1a638d,0x16,_0x58dd32[0x3]),_0x4a5b93=_0x377cce(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x598339,0x7,_0x58dd32[0x4]),_0x3fe17d=_0x377cce(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x34ad79,0xc,_0x58dd32[0x5]),_0x47a550=_0x377cce(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x42fc73,0x11,_0x58dd32[0x6]),_0x53c7a7=_0x377cce(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x50fcff,0x16,_0x58dd32[0x7]),_0x4a5b93=_0x377cce(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3d280d,0x7,_0x58dd32[0x8]),_0x3fe17d=_0x377cce(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x5d88e3,0xc,_0x58dd32[0x9]),_0x47a550=_0x377cce(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x4bf2e5,0x11,_0x58dd32[0xa]),_0x53c7a7=_0x377cce(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0xebbe50,0x16,_0x58dd32[0xb]),_0x4a5b93=_0x377cce(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x135a9c,0x7,_0x58dd32[0xc]),_0x3fe17d=_0x377cce(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x3c06b2,0xc,_0x58dd32[0xd]),_0x47a550=_0x377cce(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x1a77cb,0x11,_0x58dd32[0xe]),_0x53c7a7=_0x377cce(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x31a472,0x16,_0x58dd32[0xf]),_0x4a5b93=_0x26b0a6(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x192303,0x5,_0x58dd32[0x10]),_0x3fe17d=_0x26b0a6(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x42fc73,0x9,_0x58dd32[0x11]),_0x47a550=_0x26b0a6(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0xebbe50,0xe,_0x58dd32[0x12]),_0x53c7a7=_0x26b0a6(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x3426e3,0x14,_0x58dd32[0x13]),_0x4a5b93=_0x26b0a6(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x34ad79,0x5,_0x58dd32[0x14]),_0x3fe17d=_0x26b0a6(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x4bf2e5,0x9,_0x58dd32[0x15]),_0x47a550=_0x26b0a6(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x31a472,0xe,_0x58dd32[0x16]),_0x53c7a7=_0x26b0a6(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x598339,0x14,_0x58dd32[0x17]),_0x4a5b93=_0x26b0a6(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x5d88e3,0x5,_0x58dd32[0x18]),_0x3fe17d=_0x26b0a6(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x1a77cb,0x9,_0x58dd32[0x19]),_0x47a550=_0x26b0a6(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x1a638d,0xe,_0x58dd32[0x1a]),_0x53c7a7=_0x26b0a6(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x3d280d,0x14,_0x58dd32[0x1b]),_0x4a5b93=_0x26b0a6(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3c06b2,0x5,_0x58dd32[0x1c]),_0x3fe17d=_0x26b0a6(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x5e52fc,0x9,_0x58dd32[0x1d]),_0x47a550=_0x26b0a6(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x50fcff,0xe,_0x58dd32[0x1e]),_0x53c7a7=_0x26b0a6(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x135a9c,0x14,_0x58dd32[0x1f]),_0x4a5b93=_0x2cdc0a(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x34ad79,0x4,_0x58dd32[0x20]),_0x3fe17d=_0x2cdc0a(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x3d280d,0xb,_0x58dd32[0x21]),_0x47a550=_0x2cdc0a(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0xebbe50,0x10,_0x58dd32[0x22]),_0x53c7a7=_0x2cdc0a(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x1a77cb,0x17,_0x58dd32[0x23]),_0x4a5b93=_0x2cdc0a(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x192303,0x4,_0x58dd32[0x24]),_0x3fe17d=_0x2cdc0a(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x598339,0xb,_0x58dd32[0x25]),_0x47a550=_0x2cdc0a(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x50fcff,0x10,_0x58dd32[0x26]),_0x53c7a7=_0x2cdc0a(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x4bf2e5,0x17,_0x58dd32[0x27]),_0x4a5b93=_0x2cdc0a(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3c06b2,0x4,_0x58dd32[0x28]),_0x3fe17d=_0x2cdc0a(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x3426e3,0xb,_0x58dd32[0x29]),_0x47a550=_0x2cdc0a(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x1a638d,0x10,_0x58dd32[0x2a]),_0x53c7a7=_0x2cdc0a(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x42fc73,0x17,_0x58dd32[0x2b]),_0x4a5b93=_0x2cdc0a(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x5d88e3,0x4,_0x58dd32[0x2c]),_0x3fe17d=_0x2cdc0a(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x135a9c,0xb,_0x58dd32[0x2d]),_0x47a550=_0x2cdc0a(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x31a472,0x10,_0x58dd32[0x2e]),_0x53c7a7=_0x2cdc0a(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x5e52fc,0x17,_0x58dd32[0x2f]),_0x4a5b93=_0x212546(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3426e3,0x6,_0x58dd32[0x30]),_0x3fe17d=_0x212546(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x50fcff,0xa,_0x58dd32[0x31]),_0x47a550=_0x212546(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x1a77cb,0xf,_0x58dd32[0x32]),_0x53c7a7=_0x212546(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x34ad79,0x15,_0x58dd32[0x33]),_0x4a5b93=_0x212546(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x135a9c,0x6,_0x58dd32[0x34]),_0x3fe17d=_0x212546(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x1a638d,0xa,_0x58dd32[0x35]),_0x47a550=_0x212546(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x4bf2e5,0xf,_0x58dd32[0x36]),_0x53c7a7=_0x212546(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x192303,0x15,_0x58dd32[0x37]),_0x4a5b93=_0x212546(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3d280d,0x6,_0x58dd32[0x38]),_0x3fe17d=_0x212546(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x31a472,0xa,_0x58dd32[0x39]),_0x47a550=_0x212546(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x42fc73,0xf,_0x58dd32[0x3a]),_0x53c7a7=_0x212546(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x3c06b2,0x15,_0x58dd32[0x3b]),_0x4a5b93=_0x212546(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x598339,0x6,_0x58dd32[0x3c]),_0x3fe17d=_0x212546(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0xebbe50,0xa,_0x58dd32[0x3d]),_0x47a550=_0x212546(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x5e52fc,0xf,_0x58dd32[0x3e]),_0x53c7a7=_0x212546(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x5d88e3,0x15,_0x58dd32[0x3f]),_0x28380b[0x0]=_0x28380b[0x0]+_0x4a5b93|0x0,_0x28380b[0x1]=_0x28380b[0x1]+_0x53c7a7|0x0,_0x28380b[0x2]=_0x28380b[0x2]+_0x47a550|0x0,_0x28380b[0x3]=_0x28380b[0x3]+_0x3fe17d|0x0;},'_doFinalize':function(){var _0x534328=_0x1a5ecc,_0x5d8962=this['_data'],_0x5dd632=_0x5d8962[_0x534328(0x2ce)],_0x24dbf5=this[_0x534328(0x229)]*0x8,_0x2faf7f=_0x5d8962[_0x534328(0x1a4)]*0x8;_0x5dd632[_0x2faf7f>>>0x5]|=0x80<<0x18-_0x2faf7f%0x20;var _0x58222e=_0x25d27b['floor'](_0x24dbf5/0x100000000),_0x1acffc=_0x24dbf5;_0x5dd632[(_0x2faf7f+0x40>>>0x9<<0x4)+0xf]=(_0x58222e<<0x8|_0x58222e>>>0x18)&0xff00ff|(_0x58222e<<0x18|_0x58222e>>>0x8)&0xff00ff00,_0x5dd632[(_0x2faf7f+0x40>>>0x9<<0x4)+0xe]=(_0x1acffc<<0x8|_0x1acffc>>>0x18)&0xff00ff|(_0x1acffc<<0x18|_0x1acffc>>>0x8)&0xff00ff00,_0x5d8962['sigBytes']=(_0x5dd632['length']+0x1)*0x4,this['_process']();for(var _0x175539=this[_0x534328(0x1d7)],_0x4bcce3=_0x175539[_0x534328(0x2ce)],_0x484289=0x0;_0x484289<0x4;_0x484289++){var _0x3940dc=_0x4bcce3[_0x484289];_0x4bcce3[_0x484289]=(_0x3940dc<<0x8|_0x3940dc>>>0x18)&0xff00ff|(_0x3940dc<<0x18|_0x3940dc>>>0x8)&0xff00ff00;}return _0x175539;},'clone':function(){var _0x2f7a1a=_0x1a5ecc,_0xb4030c=_0x4070ee[_0x2f7a1a(0xfc)]['call'](this);return _0xb4030c[_0x2f7a1a(0x1d7)]=this[_0x2f7a1a(0x1d7)][_0x2f7a1a(0xfc)](),_0xb4030c;}});function _0x377cce(_0x35e13e,_0x2bcefd,_0xcd2df5,_0x5a289e,_0x37cc30,_0x286735,_0x12508f){var _0x202158=_0x35e13e+(_0x2bcefd&_0xcd2df5|~_0x2bcefd&_0x5a289e)+_0x37cc30+_0x12508f;return(_0x202158<<_0x286735|_0x202158>>>0x20-_0x286735)+_0x2bcefd;}function _0x26b0a6(_0x145b44,_0x1a4fed,_0x5625a5,_0x5b14d8,_0xdeddf2,_0x371e4d,_0x149faa){var _0x11096a=_0x145b44+(_0x1a4fed&_0x5b14d8|_0x5625a5&~_0x5b14d8)+_0xdeddf2+_0x149faa;return(_0x11096a<<_0x371e4d|_0x11096a>>>0x20-_0x371e4d)+_0x1a4fed;}function _0x2cdc0a(_0x840fb9,_0x3ef06d,_0xa4b9e3,_0x5a5e12,_0x45f191,_0x49a2a7,_0x6af5de){var _0x3d49f7=_0x840fb9+(_0x3ef06d^_0xa4b9e3^_0x5a5e12)+_0x45f191+_0x6af5de;return(_0x3d49f7<<_0x49a2a7|_0x3d49f7>>>0x20-_0x49a2a7)+_0x3ef06d;}function _0x212546(_0x4c3df6,_0x8942a1,_0x16f11c,_0x3cb1bc,_0x18b051,_0x3d68c1,_0x250909){var _0x1ddf19=_0x4c3df6+(_0x16f11c^(_0x8942a1|~_0x3cb1bc))+_0x18b051+_0x250909;return(_0x1ddf19<<_0x3d68c1|_0x1ddf19>>>0x20-_0x3d68c1)+_0x8942a1;}_0x3a7093[_0x1a5ecc(0x99)]=_0x4070ee[_0x1a5ecc(0x111)](_0x216ea7),_0x3a7093[_0x1a5ecc(0xb4)]=_0x4070ee[_0x1a5ecc(0x1d0)](_0x216ea7);}(Math),_0x5dd200[_0x306b51(0x99)];}));}(_0x259d36)),_0x259d36[_0x1fb4c8(0x3f3)];}var _0x1ed96e={'exports':{}},_0x226327={'exports':{}},_0x2df906=_0x226327[_0x509db9(0x3f3)],_0x3a7b24;function _0x57d0e4(){var _0x7988c=_0x509db9;return _0x3a7b24||(_0x3a7b24=0x1,function(_0x3e155a,_0x30a257){(function(_0x3cdfbe,_0x5a9c0a){var _0x252472=_0x572e;_0x3e155a[_0x252472(0x3f3)]=_0x5a9c0a(_0x2303bf());}(_0x2df906,function(_0x42df0b){return(function(){var _0x58c864=_0x572e,_0x45a5ec=_0x42df0b,_0x93415b=_0x45a5ec['lib'],_0x51f35a=_0x93415b[_0x58c864(0x213)],_0x315995=_0x93415b[_0x58c864(0x14e)],_0xd2567d=_0x45a5ec[_0x58c864(0x293)],_0x2048e9=[],_0x27fa84=_0xd2567d[_0x58c864(0x277)]=_0x315995[_0x58c864(0x36b)]({'_doReset':function(){var _0x49916b=_0x58c864;this[_0x49916b(0x1d7)]=new _0x51f35a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x22289c,_0x173f49){var _0x5d93e0=_0x58c864;for(var _0x49513c=this[_0x5d93e0(0x1d7)]['words'],_0x2d4292=_0x49513c[0x0],_0x27e689=_0x49513c[0x1],_0x194415=_0x49513c[0x2],_0x248f29=_0x49513c[0x3],_0x413265=_0x49513c[0x4],_0x2f5146=0x0;_0x2f5146<0x50;_0x2f5146++){if(_0x2f5146<0x10)_0x2048e9[_0x2f5146]=_0x22289c[_0x173f49+_0x2f5146]|0x0;else{var _0x36a918=_0x2048e9[_0x2f5146-0x3]^_0x2048e9[_0x2f5146-0x8]^_0x2048e9[_0x2f5146-0xe]^_0x2048e9[_0x2f5146-0x10];_0x2048e9[_0x2f5146]=_0x36a918<<0x1|_0x36a918>>>0x1f;}var _0x20bff2=(_0x2d4292<<0x5|_0x2d4292>>>0x1b)+_0x413265+_0x2048e9[_0x2f5146];_0x2f5146<0x14?_0x20bff2+=(_0x27e689&_0x194415|~_0x27e689&_0x248f29)+0x5a827999:_0x2f5146<0x28?_0x20bff2+=(_0x27e689^_0x194415^_0x248f29)+0x6ed9eba1:_0x2f5146<0x3c?_0x20bff2+=(_0x27e689&_0x194415|_0x27e689&_0x248f29|_0x194415&_0x248f29)-0x70e44324:_0x20bff2+=(_0x27e689^_0x194415^_0x248f29)-0x359d3e2a,_0x413265=_0x248f29,_0x248f29=_0x194415,_0x194415=_0x27e689<<0x1e|_0x27e689>>>0x2,_0x27e689=_0x2d4292,_0x2d4292=_0x20bff2;}_0x49513c[0x0]=_0x49513c[0x0]+_0x2d4292|0x0,_0x49513c[0x1]=_0x49513c[0x1]+_0x27e689|0x0,_0x49513c[0x2]=_0x49513c[0x2]+_0x194415|0x0,_0x49513c[0x3]=_0x49513c[0x3]+_0x248f29|0x0,_0x49513c[0x4]=_0x49513c[0x4]+_0x413265|0x0;},'_doFinalize':function(){var _0x283b62=_0x58c864,_0x4fedb4=this[_0x283b62(0x17b)],_0x38801b=_0x4fedb4[_0x283b62(0x2ce)],_0x3aab42=this['_nDataBytes']*0x8,_0x11dbfb=_0x4fedb4['sigBytes']*0x8;return _0x38801b[_0x11dbfb>>>0x5]|=0x80<<0x18-_0x11dbfb%0x20,_0x38801b[(_0x11dbfb+0x40>>>0x9<<0x4)+0xe]=Math[_0x283b62(0x179)](_0x3aab42/0x100000000),_0x38801b[(_0x11dbfb+0x40>>>0x9<<0x4)+0xf]=_0x3aab42,_0x4fedb4[_0x283b62(0x1a4)]=_0x38801b[_0x283b62(0x2e9)]*0x4,this[_0x283b62(0xbb)](),this['_hash'];},'clone':function(){var _0x48ed31=_0x58c864,_0x1d0a75=_0x315995[_0x48ed31(0xfc)][_0x48ed31(0xc8)](this);return _0x1d0a75['_hash']=this[_0x48ed31(0x1d7)][_0x48ed31(0xfc)](),_0x1d0a75;}});_0x45a5ec[_0x58c864(0x277)]=_0x315995['_createHelper'](_0x27fa84),_0x45a5ec[_0x58c864(0xdb)]=_0x315995[_0x58c864(0x1d0)](_0x27fa84);}()),_0x42df0b['SHA1'];}));}(_0x226327)),_0x226327[_0x7988c(0x3f3)];}var _0x25a970={'exports':{}},_0x45f162=_0x25a970[_0x509db9(0x3f3)],_0x1c53ba;function _0x4e58d3(){var _0x38dd91=_0x509db9;return _0x1c53ba||(_0x1c53ba=0x1,function(_0x47d4f7,_0x29a5d7){(function(_0xe28d79,_0x445812){var _0x28eb1f=_0x572e;_0x47d4f7[_0x28eb1f(0x3f3)]=_0x445812(_0x2303bf());}(_0x45f162,function(_0xff345d){(function(){var _0x2a92fb=_0x572e,_0x3b967a=_0xff345d,_0xb9882d=_0x3b967a[_0x2a92fb(0x1cb)],_0x5892b4=_0xb9882d[_0x2a92fb(0x270)],_0x241975=_0x3b967a[_0x2a92fb(0x93)],_0x5cae4a=_0x241975['Utf8'],_0x570259=_0x3b967a[_0x2a92fb(0x293)];_0x570259[_0x2a92fb(0x104)]=_0x5892b4[_0x2a92fb(0x36b)]({'init':function(_0x3dc429,_0x514726){var _0x3fe88a=_0x2a92fb;_0x3dc429=this[_0x3fe88a(0x157)]=new _0x3dc429['init'](),typeof _0x514726==_0x3fe88a(0x209)&&(_0x514726=_0x5cae4a[_0x3fe88a(0x3d2)](_0x514726));var _0x3d4acc=_0x3dc429[_0x3fe88a(0x1bd)],_0xd69390=_0x3d4acc*0x4;_0x514726[_0x3fe88a(0x1a4)]>_0xd69390&&(_0x514726=_0x3dc429['finalize'](_0x514726)),_0x514726[_0x3fe88a(0xdc)]();for(var _0x41fedc=this['_oKey']=_0x514726[_0x3fe88a(0xfc)](),_0x53bca1=this[_0x3fe88a(0xa0)]=_0x514726[_0x3fe88a(0xfc)](),_0x23b701=_0x41fedc[_0x3fe88a(0x2ce)],_0x4faf68=_0x53bca1[_0x3fe88a(0x2ce)],_0x44805b=0x0;_0x44805b<_0x3d4acc;_0x44805b++)_0x23b701[_0x44805b]^=0x5c5c5c5c,_0x4faf68[_0x44805b]^=0x36363636;_0x41fedc[_0x3fe88a(0x1a4)]=_0x53bca1[_0x3fe88a(0x1a4)]=_0xd69390,this['reset']();},'reset':function(){var _0x1f13c6=_0x2a92fb,_0x11664e=this['_hasher'];_0x11664e[_0x1f13c6(0x242)](),_0x11664e[_0x1f13c6(0x241)](this[_0x1f13c6(0xa0)]);},'update':function(_0x5124b1){var _0x32db2f=_0x2a92fb;return this[_0x32db2f(0x157)]['update'](_0x5124b1),this;},'finalize':function(_0x3972ae){var _0x37d0d0=_0x2a92fb,_0x4bfff3=this[_0x37d0d0(0x157)],_0x479d37=_0x4bfff3[_0x37d0d0(0x38a)](_0x3972ae);_0x4bfff3['reset']();var _0x1800f5=_0x4bfff3[_0x37d0d0(0x38a)](this[_0x37d0d0(0xb0)]['clone']()[_0x37d0d0(0x27b)](_0x479d37));return _0x1800f5;}});}());}));}(_0x25a970)),_0x25a970[_0x38dd91(0x3f3)];}var _0x2daf1d=_0x1ed96e[_0x509db9(0x3f3)],_0x162a6b;function _0x377971(){var _0x4c6c89=_0x509db9;return _0x162a6b||(_0x162a6b=0x1,function(_0x1d2bc0,_0x3e7812){(function(_0x5dd7bb,_0x3a7a07,_0x576587){var _0x1abf1a=_0x572e;_0x1d2bc0[_0x1abf1a(0x3f3)]=_0x3a7a07(_0x2303bf(),_0x57d0e4(),_0x4e58d3());}(_0x2daf1d,function(_0x28cefc){return(function(){var _0x4ab862=_0x572e,_0x2c88de=_0x28cefc,_0x59ae25=_0x2c88de['lib'],_0x1e7474=_0x59ae25[_0x4ab862(0x270)],_0x476fd8=_0x59ae25['WordArray'],_0x5027aa=_0x2c88de[_0x4ab862(0x293)],_0x269cc5=_0x5027aa[_0x4ab862(0x99)],_0x2ae886=_0x5027aa[_0x4ab862(0x3f4)]=_0x1e7474['extend']({'cfg':_0x1e7474[_0x4ab862(0x36b)]({'keySize':0x80/0x20,'hasher':_0x269cc5,'iterations':0x1}),'init':function(_0x4b8bb1){var _0x482fcf=_0x4ab862;this[_0x482fcf(0x21f)]=this[_0x482fcf(0x21f)]['extend'](_0x4b8bb1);},'compute':function(_0x19e89e,_0x31c3cd){var _0x45dd7f=_0x4ab862;for(var _0x4df155,_0x3bfd2e=this[_0x45dd7f(0x21f)],_0x3c190b=_0x3bfd2e[_0x45dd7f(0x26f)][_0x45dd7f(0x21d)](),_0x318abf=_0x476fd8[_0x45dd7f(0x21d)](),_0x38d33c=_0x318abf['words'],_0x380518=_0x3bfd2e[_0x45dd7f(0x374)],_0x19ce69=_0x3bfd2e[_0x45dd7f(0x3ef)];_0x38d33c[_0x45dd7f(0x2e9)]<_0x380518;){_0x4df155&&_0x3c190b[_0x45dd7f(0x241)](_0x4df155),_0x4df155=_0x3c190b[_0x45dd7f(0x241)](_0x19e89e)[_0x45dd7f(0x38a)](_0x31c3cd),_0x3c190b[_0x45dd7f(0x242)]();for(var _0x4e27d4=0x1;_0x4e27d4<_0x19ce69;_0x4e27d4++)_0x4df155=_0x3c190b[_0x45dd7f(0x38a)](_0x4df155),_0x3c190b[_0x45dd7f(0x242)]();_0x318abf[_0x45dd7f(0x27b)](_0x4df155);}return _0x318abf[_0x45dd7f(0x1a4)]=_0x380518*0x4,_0x318abf;}});_0x2c88de['EvpKDF']=function(_0x5c97b1,_0x45b589,_0x351d41){var _0x45cfdf=_0x4ab862;return _0x2ae886[_0x45cfdf(0x21d)](_0x351d41)[_0x45cfdf(0x2df)](_0x5c97b1,_0x45b589);};}()),_0x28cefc['EvpKDF'];}));}(_0x1ed96e)),_0x1ed96e[_0x4c6c89(0x3f3)];}var _0x2ea77c={'exports':{}},_0x3265cb=_0x2ea77c[_0x509db9(0x3f3)],_0x10a435;function _0x285f87(){var _0x3c2e3d=_0x509db9;return _0x10a435||(_0x10a435=0x1,function(_0x5c26d3,_0x55a8c7){(function(_0x17d075,_0x46340f,_0x5cd8fa){var _0x56a661=_0x572e;_0x5c26d3[_0x56a661(0x3f3)]=_0x46340f(_0x2303bf(),_0x377971());}(_0x3265cb,function(_0xbcfefc){var _0x30047a=_0x572e;_0xbcfefc[_0x30047a(0x1cb)][_0x30047a(0x196)]||function(_0x31c21a){var _0x3d510e=_0x30047a,_0x42a16f=_0xbcfefc,_0x56f77d=_0x42a16f[_0x3d510e(0x1cb)],_0x1426ca=_0x56f77d[_0x3d510e(0x270)],_0xc132c1=_0x56f77d['WordArray'],_0x96453=_0x56f77d[_0x3d510e(0x38f)],_0x22e1d2=_0x42a16f[_0x3d510e(0x93)];_0x22e1d2[_0x3d510e(0x217)];var _0x1ce38e=_0x22e1d2[_0x3d510e(0xbe)],_0x48c77e=_0x42a16f[_0x3d510e(0x293)],_0x168fc4=_0x48c77e[_0x3d510e(0x3f4)],_0xf5ceb8=_0x56f77d[_0x3d510e(0x196)]=_0x96453[_0x3d510e(0x36b)]({'cfg':_0x1426ca[_0x3d510e(0x36b)](),'createEncryptor':function(_0x315e74,_0x23449b){var _0x505a2a=_0x3d510e;return this['create'](this[_0x505a2a(0x200)],_0x315e74,_0x23449b);},'createDecryptor':function(_0x52ba96,_0x377941){var _0x631a60=_0x3d510e;return this['create'](this[_0x631a60(0x22e)],_0x52ba96,_0x377941);},'init':function(_0x595620,_0x4a6e0f,_0x182d8d){var _0x3da1d1=_0x3d510e;this['cfg']=this[_0x3da1d1(0x21f)]['extend'](_0x182d8d),this[_0x3da1d1(0x1d6)]=_0x595620,this['_key']=_0x4a6e0f,this['reset']();},'reset':function(){var _0x173e3e=_0x3d510e;_0x96453[_0x173e3e(0x242)][_0x173e3e(0xc8)](this),this[_0x173e3e(0x18c)]();},'process':function(_0x47e18b){var _0x45aa11=_0x3d510e;return this[_0x45aa11(0x145)](_0x47e18b),this[_0x45aa11(0xbb)]();},'finalize':function(_0x4fd9f7){var _0x198be0=_0x3d510e;_0x4fd9f7&&this[_0x198be0(0x145)](_0x4fd9f7);var _0x9ebb35=this[_0x198be0(0x95)]();return _0x9ebb35;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3738be(_0x3e954b){var _0x21d99b=_0x572e;return typeof _0x3e954b==_0x21d99b(0x209)?_0x5f3194:_0xed1992;}return function(_0x439e85){return{'encrypt':function(_0xd4d2ac,_0x6ddf0d,_0xa86679){var _0x49fc5b=_0x572e;return _0x3738be(_0x6ddf0d)[_0x49fc5b(0x1fc)](_0x439e85,_0xd4d2ac,_0x6ddf0d,_0xa86679);},'decrypt':function(_0xf50178,_0x386302,_0x2dcedb){return _0x3738be(_0x386302)['decrypt'](_0x439e85,_0xf50178,_0x386302,_0x2dcedb);}};};}())});_0x56f77d[_0x3d510e(0xc9)]=_0xf5ceb8['extend']({'_doFinalize':function(){var _0x3bc10a=this['_process'](!0x0);return _0x3bc10a;},'blockSize':0x1});var _0x3ae6e2=_0x42a16f['mode']={},_0x39848c=_0x56f77d[_0x3d510e(0x20a)]=_0x1426ca['extend']({'createEncryptor':function(_0x1e812b,_0x1034d8){var _0x5dac5e=_0x3d510e;return this[_0x5dac5e(0x278)]['create'](_0x1e812b,_0x1034d8);},'createDecryptor':function(_0x3f5c55,_0x2c7ce8){return this['Decryptor']['create'](_0x3f5c55,_0x2c7ce8);},'init':function(_0xf06bd0,_0x18d01e){var _0x2531ac=_0x3d510e;this[_0x2531ac(0xe9)]=_0xf06bd0,this['_iv']=_0x18d01e;}}),_0x51adfb=_0x3ae6e2[_0x3d510e(0x345)]=(function(){var _0x316f4f=_0x3d510e,_0x38d5ea=_0x39848c[_0x316f4f(0x36b)]();_0x38d5ea[_0x316f4f(0x278)]=_0x38d5ea[_0x316f4f(0x36b)]({'processBlock':function(_0x1f1fe5,_0x1c5322){var _0x296ed5=_0x316f4f,_0x5a652a=this[_0x296ed5(0xe9)],_0x237f31=_0x5a652a[_0x296ed5(0x1bd)];_0x4214eb[_0x296ed5(0xc8)](this,_0x1f1fe5,_0x1c5322,_0x237f31),_0x5a652a[_0x296ed5(0x9d)](_0x1f1fe5,_0x1c5322),this['_prevBlock']=_0x1f1fe5[_0x296ed5(0x175)](_0x1c5322,_0x1c5322+_0x237f31);}}),_0x38d5ea[_0x316f4f(0x3a4)]=_0x38d5ea['extend']({'processBlock':function(_0x7e90f4,_0x6f9574){var _0x59a6ee=_0x316f4f,_0xeeb726=this[_0x59a6ee(0xe9)],_0x5450b3=_0xeeb726[_0x59a6ee(0x1bd)],_0x4cc747=_0x7e90f4['slice'](_0x6f9574,_0x6f9574+_0x5450b3);_0xeeb726['decryptBlock'](_0x7e90f4,_0x6f9574),_0x4214eb[_0x59a6ee(0xc8)](this,_0x7e90f4,_0x6f9574,_0x5450b3),this[_0x59a6ee(0xac)]=_0x4cc747;}});function _0x4214eb(_0x5468ff,_0x273df3,_0x1d8103){var _0xe46ecd=_0x316f4f,_0xca7820,_0x3cb700=this[_0xe46ecd(0x15e)];_0x3cb700?(_0xca7820=_0x3cb700,this[_0xe46ecd(0x15e)]=_0x31c21a):_0xca7820=this[_0xe46ecd(0xac)];for(var _0x734e89=0x0;_0x734e89<_0x1d8103;_0x734e89++)_0x5468ff[_0x273df3+_0x734e89]^=_0xca7820[_0x734e89];}return _0x38d5ea;}()),_0x31291c=_0x42a16f['pad']={},_0x4ff06b=_0x31291c[_0x3d510e(0x2ca)]={'pad':function(_0x2d8fa1,_0x47e6bc){var _0x237179=_0x3d510e;for(var _0x20cd56=_0x47e6bc*0x4,_0x1f8c0d=_0x20cd56-_0x2d8fa1[_0x237179(0x1a4)]%_0x20cd56,_0x5d2034=_0x1f8c0d<<0x18|_0x1f8c0d<<0x10|_0x1f8c0d<<0x8|_0x1f8c0d,_0x5cf7f2=[],_0x5823f0=0x0;_0x5823f0<_0x1f8c0d;_0x5823f0+=0x4)_0x5cf7f2[_0x237179(0x273)](_0x5d2034);var _0x4d90e0=_0xc132c1[_0x237179(0x21d)](_0x5cf7f2,_0x1f8c0d);_0x2d8fa1[_0x237179(0x27b)](_0x4d90e0);},'unpad':function(_0x583026){var _0x1212e4=_0x3d510e,_0x568528=_0x583026[_0x1212e4(0x2ce)][_0x583026['sigBytes']-0x1>>>0x2]&0xff;_0x583026[_0x1212e4(0x1a4)]-=_0x568528;}};_0x56f77d['BlockCipher']=_0xf5ceb8[_0x3d510e(0x36b)]({'cfg':_0xf5ceb8[_0x3d510e(0x21f)][_0x3d510e(0x36b)]({'mode':_0x51adfb,'padding':_0x4ff06b}),'reset':function(){var _0xff0a6d=_0x3d510e,_0x317f3d;_0xf5ceb8['reset'][_0xff0a6d(0xc8)](this);var _0x545563=this[_0xff0a6d(0x21f)],_0x29efb5=_0x545563['iv'],_0x208059=_0x545563[_0xff0a6d(0x11b)];this['_xformMode']==this[_0xff0a6d(0x200)]?_0x317f3d=_0x208059[_0xff0a6d(0x19a)]:(_0x317f3d=_0x208059[_0xff0a6d(0x2f5)],this['_minBufferSize']=0x1),this['_mode']&&this[_0xff0a6d(0x1ad)][_0xff0a6d(0x3a0)]==_0x317f3d?this[_0xff0a6d(0x1ad)]['init'](this,_0x29efb5&&_0x29efb5[_0xff0a6d(0x2ce)]):(this[_0xff0a6d(0x1ad)]=_0x317f3d[_0xff0a6d(0xc8)](_0x208059,this,_0x29efb5&&_0x29efb5[_0xff0a6d(0x2ce)]),this[_0xff0a6d(0x1ad)][_0xff0a6d(0x3a0)]=_0x317f3d);},'_doProcessBlock':function(_0x38ef19,_0x5e36fd){var _0x11ba1e=_0x3d510e;this[_0x11ba1e(0x1ad)]['processBlock'](_0x38ef19,_0x5e36fd);},'_doFinalize':function(){var _0x109af1=_0x3d510e,_0x5b205c,_0x3344fc=this[_0x109af1(0x21f)][_0x109af1(0x176)];return this['_xformMode']==this[_0x109af1(0x200)]?(_0x3344fc[_0x109af1(0x188)](this[_0x109af1(0x17b)],this[_0x109af1(0x1bd)]),_0x5b205c=this['_process'](!0x0)):(_0x5b205c=this[_0x109af1(0xbb)](!0x0),_0x3344fc[_0x109af1(0x22b)](_0x5b205c)),_0x5b205c;},'blockSize':0x80/0x20});var _0x25e437=_0x56f77d['CipherParams']=_0x1426ca[_0x3d510e(0x36b)]({'init':function(_0x11e89b){var _0x29c878=_0x3d510e;this[_0x29c878(0x340)](_0x11e89b);},'toString':function(_0x41f6e4){var _0x328bf5=_0x3d510e;return(_0x41f6e4||this[_0x328bf5(0xe5)])['stringify'](this);}}),_0x226e7c=_0x42a16f[_0x3d510e(0xb2)]={},_0x3b1aff=_0x226e7c[_0x3d510e(0x16a)]={'stringify':function(_0x509b71){var _0x23ea01=_0x3d510e,_0x50da0b,_0x71fca8=_0x509b71[_0x23ea01(0x2fc)],_0x1c3b11=_0x509b71[_0x23ea01(0x11a)];return _0x1c3b11?_0x50da0b=_0xc132c1['create']([0x53616c74,0x65645f5f])[_0x23ea01(0x27b)](_0x1c3b11)[_0x23ea01(0x27b)](_0x71fca8):_0x50da0b=_0x71fca8,_0x50da0b[_0x23ea01(0x1fe)](_0x1ce38e);},'parse':function(_0x52b6a6){var _0x5b4c2b=_0x3d510e,_0x106abb,_0x817955=_0x1ce38e['parse'](_0x52b6a6),_0xb4c8c6=_0x817955[_0x5b4c2b(0x2ce)];return _0xb4c8c6[0x0]==0x53616c74&&_0xb4c8c6[0x1]==0x65645f5f&&(_0x106abb=_0xc132c1[_0x5b4c2b(0x21d)](_0xb4c8c6[_0x5b4c2b(0x175)](0x2,0x4)),_0xb4c8c6[_0x5b4c2b(0x3cc)](0x0,0x4),_0x817955[_0x5b4c2b(0x1a4)]-=0x10),_0x25e437[_0x5b4c2b(0x21d)]({'ciphertext':_0x817955,'salt':_0x106abb});}},_0xed1992=_0x56f77d[_0x3d510e(0xff)]=_0x1426ca[_0x3d510e(0x36b)]({'cfg':_0x1426ca[_0x3d510e(0x36b)]({'format':_0x3b1aff}),'encrypt':function(_0x350d77,_0x19bd1f,_0x4962a4,_0x47326a){var _0x2c6a42=_0x3d510e;_0x47326a=this['cfg'][_0x2c6a42(0x36b)](_0x47326a);var _0x73f620=_0x350d77[_0x2c6a42(0x19a)](_0x4962a4,_0x47326a),_0x1fe3f6=_0x73f620['finalize'](_0x19bd1f),_0x488b14=_0x73f620[_0x2c6a42(0x21f)];return _0x25e437[_0x2c6a42(0x21d)]({'ciphertext':_0x1fe3f6,'key':_0x4962a4,'iv':_0x488b14['iv'],'algorithm':_0x350d77,'mode':_0x488b14[_0x2c6a42(0x11b)],'padding':_0x488b14[_0x2c6a42(0x176)],'blockSize':_0x350d77[_0x2c6a42(0x1bd)],'formatter':_0x47326a[_0x2c6a42(0xb2)]});},'decrypt':function(_0x5e42d8,_0x4218af,_0x4b53ac,_0x52972b){var _0x4b45b0=_0x3d510e;_0x52972b=this[_0x4b45b0(0x21f)]['extend'](_0x52972b),_0x4218af=this['_parse'](_0x4218af,_0x52972b['format']);var _0x4e0309=_0x5e42d8[_0x4b45b0(0x2f5)](_0x4b53ac,_0x52972b)[_0x4b45b0(0x38a)](_0x4218af[_0x4b45b0(0x2fc)]);return _0x4e0309;},'_parse':function(_0x4bcdd8,_0x55ed85){var _0x1d122d=_0x3d510e;return typeof _0x4bcdd8==_0x1d122d(0x209)?_0x55ed85[_0x1d122d(0x3d2)](_0x4bcdd8,this):_0x4bcdd8;}}),_0x7c49cb=_0x42a16f['kdf']={},_0x59a5e4=_0x7c49cb[_0x3d510e(0x16a)]={'execute':function(_0xc91efd,_0x149058,_0x56a7a1,_0x2a6c6d,_0x437d54){var _0x7a910c=_0x3d510e;if(_0x2a6c6d||(_0x2a6c6d=_0xc132c1[_0x7a910c(0x303)](0x40/0x8)),_0x437d54)var _0x3d3bf8=_0x168fc4[_0x7a910c(0x21d)]({'keySize':_0x149058+_0x56a7a1,'hasher':_0x437d54})[_0x7a910c(0x2df)](_0xc91efd,_0x2a6c6d);else var _0x3d3bf8=_0x168fc4[_0x7a910c(0x21d)]({'keySize':_0x149058+_0x56a7a1})[_0x7a910c(0x2df)](_0xc91efd,_0x2a6c6d);var _0x457263=_0xc132c1[_0x7a910c(0x21d)](_0x3d3bf8[_0x7a910c(0x2ce)][_0x7a910c(0x175)](_0x149058),_0x56a7a1*0x4);return _0x3d3bf8['sigBytes']=_0x149058*0x4,_0x25e437['create']({'key':_0x3d3bf8,'iv':_0x457263,'salt':_0x2a6c6d});}},_0x5f3194=_0x56f77d[_0x3d510e(0x262)]=_0xed1992[_0x3d510e(0x36b)]({'cfg':_0xed1992['cfg'][_0x3d510e(0x36b)]({'kdf':_0x59a5e4}),'encrypt':function(_0x22f8be,_0x185113,_0x1666ff,_0x46be58){var _0x3e9dba=_0x3d510e;_0x46be58=this['cfg'][_0x3e9dba(0x36b)](_0x46be58);var _0x243200=_0x46be58['kdf'][_0x3e9dba(0x118)](_0x1666ff,_0x22f8be[_0x3e9dba(0x374)],_0x22f8be[_0x3e9dba(0x386)],_0x46be58[_0x3e9dba(0x11a)],_0x46be58[_0x3e9dba(0x26f)]);_0x46be58['iv']=_0x243200['iv'];var _0x31255f=_0xed1992[_0x3e9dba(0x1fc)]['call'](this,_0x22f8be,_0x185113,_0x243200[_0x3e9dba(0x328)],_0x46be58);return _0x31255f[_0x3e9dba(0x340)](_0x243200),_0x31255f;},'decrypt':function(_0x1882a1,_0x491c28,_0x1217f0,_0x1d96bf){var _0x2304ca=_0x3d510e;_0x1d96bf=this[_0x2304ca(0x21f)]['extend'](_0x1d96bf),_0x491c28=this['_parse'](_0x491c28,_0x1d96bf['format']);var _0x1d240e=_0x1d96bf[_0x2304ca(0x287)]['execute'](_0x1217f0,_0x1882a1[_0x2304ca(0x374)],_0x1882a1[_0x2304ca(0x386)],_0x491c28[_0x2304ca(0x11a)],_0x1d96bf[_0x2304ca(0x26f)]);_0x1d96bf['iv']=_0x1d240e['iv'];var _0x31ef5e=_0xed1992[_0x2304ca(0x290)][_0x2304ca(0xc8)](this,_0x1882a1,_0x491c28,_0x1d240e['key'],_0x1d96bf);return _0x31ef5e;}});}();}));}(_0x2ea77c)),_0x2ea77c[_0x3c2e3d(0x3f3)];}var _0x3713ff=_0xe2b2c7['exports'],_0x426df2;function _0x9f0106(){var _0xc7c574=_0x509db9;return _0x426df2||(_0x426df2=0x1,function(_0x33c814,_0x178e00){(function(_0x86f73,_0x5dfa94,_0x46c96f){var _0x1a636c=_0x572e;_0x33c814[_0x1a636c(0x3f3)]=_0x5dfa94(_0x2303bf(),_0x8a71d1(),_0x2fdd86(),_0x377971(),_0x285f87());}(_0x3713ff,function(_0x5dd706){var _0x4b6a49=_0x572e;return(function(){var _0x1122bc=_0x572e,_0x13bd19=_0x5dd706,_0x24ae7e=_0x13bd19[_0x1122bc(0x1cb)],_0x230cbe=_0x24ae7e[_0x1122bc(0x122)],_0x2b3c9e=_0x13bd19['algo'],_0x1cb622=[],_0x3b1b8a=[],_0x4d2a06=[],_0x2b3ea2=[],_0x1ef984=[],_0x41a192=[],_0x1139e5=[],_0x26b563=[],_0x21ee93=[],_0x5ab2d5=[];(function(){for(var _0x5077f9=[],_0x38fa1d=0x0;_0x38fa1d<0x100;_0x38fa1d++)_0x38fa1d<0x80?_0x5077f9[_0x38fa1d]=_0x38fa1d<<0x1:_0x5077f9[_0x38fa1d]=_0x38fa1d<<0x1^0x11b;for(var _0x15f41d=0x0,_0x43e87a=0x0,_0x38fa1d=0x0;_0x38fa1d<0x100;_0x38fa1d++){var _0x3c8a37=_0x43e87a^_0x43e87a<<0x1^_0x43e87a<<0x2^_0x43e87a<<0x3^_0x43e87a<<0x4;_0x3c8a37=_0x3c8a37>>>0x8^_0x3c8a37&0xff^0x63,_0x1cb622[_0x15f41d]=_0x3c8a37,_0x3b1b8a[_0x3c8a37]=_0x15f41d;var _0x499d7b=_0x5077f9[_0x15f41d],_0x308697=_0x5077f9[_0x499d7b],_0x8767f=_0x5077f9[_0x308697],_0x4a36f1=_0x5077f9[_0x3c8a37]*0x101^_0x3c8a37*0x1010100;_0x4d2a06[_0x15f41d]=_0x4a36f1<<0x18|_0x4a36f1>>>0x8,_0x2b3ea2[_0x15f41d]=_0x4a36f1<<0x10|_0x4a36f1>>>0x10,_0x1ef984[_0x15f41d]=_0x4a36f1<<0x8|_0x4a36f1>>>0x18,_0x41a192[_0x15f41d]=_0x4a36f1;var _0x4a36f1=_0x8767f*0x1010101^_0x308697*0x10001^_0x499d7b*0x101^_0x15f41d*0x1010100;_0x1139e5[_0x3c8a37]=_0x4a36f1<<0x18|_0x4a36f1>>>0x8,_0x26b563[_0x3c8a37]=_0x4a36f1<<0x10|_0x4a36f1>>>0x10,_0x21ee93[_0x3c8a37]=_0x4a36f1<<0x8|_0x4a36f1>>>0x18,_0x5ab2d5[_0x3c8a37]=_0x4a36f1,_0x15f41d?(_0x15f41d=_0x499d7b^_0x5077f9[_0x5077f9[_0x5077f9[_0x8767f^_0x499d7b]]],_0x43e87a^=_0x5077f9[_0x5077f9[_0x43e87a]]):_0x15f41d=_0x43e87a=0x1;}}());var _0x3bcfe3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2930b6=_0x2b3c9e['AES']=_0x230cbe[_0x1122bc(0x36b)]({'_doReset':function(){var _0x422559=_0x1122bc,_0x232504;if(!(this[_0x422559(0x80)]&&this['_keyPriorReset']===this[_0x422559(0x323)])){for(var _0x43a160=this[_0x422559(0x7e)]=this[_0x422559(0x323)],_0x313a9c=_0x43a160['words'],_0x3ba7a9=_0x43a160[_0x422559(0x1a4)]/0x4,_0x17b224=this[_0x422559(0x80)]=_0x3ba7a9+0x6,_0x27885b=(_0x17b224+0x1)*0x4,_0xa6e5c2=this['_keySchedule']=[],_0x502f83=0x0;_0x502f83<_0x27885b;_0x502f83++)_0x502f83<_0x3ba7a9?_0xa6e5c2[_0x502f83]=_0x313a9c[_0x502f83]:(_0x232504=_0xa6e5c2[_0x502f83-0x1],_0x502f83%_0x3ba7a9?_0x3ba7a9>0x6&&_0x502f83%_0x3ba7a9==0x4&&(_0x232504=_0x1cb622[_0x232504>>>0x18]<<0x18|_0x1cb622[_0x232504>>>0x10&0xff]<<0x10|_0x1cb622[_0x232504>>>0x8&0xff]<<0x8|_0x1cb622[_0x232504&0xff]):(_0x232504=_0x232504<<0x8|_0x232504>>>0x18,_0x232504=_0x1cb622[_0x232504>>>0x18]<<0x18|_0x1cb622[_0x232504>>>0x10&0xff]<<0x10|_0x1cb622[_0x232504>>>0x8&0xff]<<0x8|_0x1cb622[_0x232504&0xff],_0x232504^=_0x3bcfe3[_0x502f83/_0x3ba7a9|0x0]<<0x18),_0xa6e5c2[_0x502f83]=_0xa6e5c2[_0x502f83-_0x3ba7a9]^_0x232504);for(var _0x2c0097=this['_invKeySchedule']=[],_0x47d78c=0x0;_0x47d78c<_0x27885b;_0x47d78c++){var _0x502f83=_0x27885b-_0x47d78c;if(_0x47d78c%0x4)var _0x232504=_0xa6e5c2[_0x502f83];else var _0x232504=_0xa6e5c2[_0x502f83-0x4];_0x47d78c<0x4||_0x502f83<=0x4?_0x2c0097[_0x47d78c]=_0x232504:_0x2c0097[_0x47d78c]=_0x1139e5[_0x1cb622[_0x232504>>>0x18]]^_0x26b563[_0x1cb622[_0x232504>>>0x10&0xff]]^_0x21ee93[_0x1cb622[_0x232504>>>0x8&0xff]]^_0x5ab2d5[_0x1cb622[_0x232504&0xff]];}}},'encryptBlock':function(_0xfb8a84,_0x2d4738){var _0x311461=_0x1122bc;this[_0x311461(0x17a)](_0xfb8a84,_0x2d4738,this['_keySchedule'],_0x4d2a06,_0x2b3ea2,_0x1ef984,_0x41a192,_0x1cb622);},'decryptBlock':function(_0x53cfb0,_0x23fb71){var _0x37d2c9=_0x1122bc,_0x2464ff=_0x53cfb0[_0x23fb71+0x1];_0x53cfb0[_0x23fb71+0x1]=_0x53cfb0[_0x23fb71+0x3],_0x53cfb0[_0x23fb71+0x3]=_0x2464ff,this['_doCryptBlock'](_0x53cfb0,_0x23fb71,this[_0x37d2c9(0x174)],_0x1139e5,_0x26b563,_0x21ee93,_0x5ab2d5,_0x3b1b8a);var _0x2464ff=_0x53cfb0[_0x23fb71+0x1];_0x53cfb0[_0x23fb71+0x1]=_0x53cfb0[_0x23fb71+0x3],_0x53cfb0[_0x23fb71+0x3]=_0x2464ff;},'_doCryptBlock':function(_0x595763,_0x48bc81,_0xdbb2e7,_0xce9824,_0x5b5c31,_0x12abf0,_0x9ac97c,_0x5043ab){var _0x2437d1=_0x1122bc;for(var _0x5db89e=this[_0x2437d1(0x80)],_0x42fbe4=_0x595763[_0x48bc81]^_0xdbb2e7[0x0],_0x408dca=_0x595763[_0x48bc81+0x1]^_0xdbb2e7[0x1],_0x414c84=_0x595763[_0x48bc81+0x2]^_0xdbb2e7[0x2],_0x3a7e02=_0x595763[_0x48bc81+0x3]^_0xdbb2e7[0x3],_0xf34cba=0x4,_0x1e8b20=0x1;_0x1e8b20<_0x5db89e;_0x1e8b20++){var _0x51cd07=_0xce9824[_0x42fbe4>>>0x18]^_0x5b5c31[_0x408dca>>>0x10&0xff]^_0x12abf0[_0x414c84>>>0x8&0xff]^_0x9ac97c[_0x3a7e02&0xff]^_0xdbb2e7[_0xf34cba++],_0x127748=_0xce9824[_0x408dca>>>0x18]^_0x5b5c31[_0x414c84>>>0x10&0xff]^_0x12abf0[_0x3a7e02>>>0x8&0xff]^_0x9ac97c[_0x42fbe4&0xff]^_0xdbb2e7[_0xf34cba++],_0x26c057=_0xce9824[_0x414c84>>>0x18]^_0x5b5c31[_0x3a7e02>>>0x10&0xff]^_0x12abf0[_0x42fbe4>>>0x8&0xff]^_0x9ac97c[_0x408dca&0xff]^_0xdbb2e7[_0xf34cba++],_0x40936f=_0xce9824[_0x3a7e02>>>0x18]^_0x5b5c31[_0x42fbe4>>>0x10&0xff]^_0x12abf0[_0x408dca>>>0x8&0xff]^_0x9ac97c[_0x414c84&0xff]^_0xdbb2e7[_0xf34cba++];_0x42fbe4=_0x51cd07,_0x408dca=_0x127748,_0x414c84=_0x26c057,_0x3a7e02=_0x40936f;}var _0x51cd07=(_0x5043ab[_0x42fbe4>>>0x18]<<0x18|_0x5043ab[_0x408dca>>>0x10&0xff]<<0x10|_0x5043ab[_0x414c84>>>0x8&0xff]<<0x8|_0x5043ab[_0x3a7e02&0xff])^_0xdbb2e7[_0xf34cba++],_0x127748=(_0x5043ab[_0x408dca>>>0x18]<<0x18|_0x5043ab[_0x414c84>>>0x10&0xff]<<0x10|_0x5043ab[_0x3a7e02>>>0x8&0xff]<<0x8|_0x5043ab[_0x42fbe4&0xff])^_0xdbb2e7[_0xf34cba++],_0x26c057=(_0x5043ab[_0x414c84>>>0x18]<<0x18|_0x5043ab[_0x3a7e02>>>0x10&0xff]<<0x10|_0x5043ab[_0x42fbe4>>>0x8&0xff]<<0x8|_0x5043ab[_0x408dca&0xff])^_0xdbb2e7[_0xf34cba++],_0x40936f=(_0x5043ab[_0x3a7e02>>>0x18]<<0x18|_0x5043ab[_0x42fbe4>>>0x10&0xff]<<0x10|_0x5043ab[_0x408dca>>>0x8&0xff]<<0x8|_0x5043ab[_0x414c84&0xff])^_0xdbb2e7[_0xf34cba++];_0x595763[_0x48bc81]=_0x51cd07,_0x595763[_0x48bc81+0x1]=_0x127748,_0x595763[_0x48bc81+0x2]=_0x26c057,_0x595763[_0x48bc81+0x3]=_0x40936f;},'keySize':0x100/0x20});_0x13bd19['AES']=_0x230cbe[_0x1122bc(0x111)](_0x2930b6);}()),_0x5dd706[_0x4b6a49(0x2b6)];}));}(_0xe2b2c7)),_0xe2b2c7[_0xc7c574(0x3f3)];}var _0x565a7d=_0x9f0106();const _0x5966cc=_0x58088d(_0x565a7d);var _0x24305a=_0x8a71d1();const _0x737d89=_0x58088d(_0x24305a);var _0x27a7b9={'exports':{}},_0x52fe28=_0x27a7b9['exports'],_0x2a7cab;function _0x27ac40(){return _0x2a7cab||(_0x2a7cab=0x1,function(_0x140740,_0x49732b){(function(_0x556bb9,_0xa2015){_0x140740['exports']=_0xa2015(_0x2303bf());}(_0x52fe28,function(_0x373c7d){var _0x518ce0=_0x572e;return _0x373c7d[_0x518ce0(0x93)][_0x518ce0(0x217)];}));}(_0x27a7b9)),_0x27a7b9['exports'];}var _0xa44ce6=_0x27ac40();const _0x3912bd=_0x58088d(_0xa44ce6);var _0x183055={'exports':{}},_0x397627=_0x183055[_0x509db9(0x3f3)],_0x385ee1;function _0x300dd0(){return _0x385ee1||(_0x385ee1=0x1,function(_0x4b421c,_0x237be8){(function(_0x530a44,_0x2c2d6b){var _0xc36650=_0x572e;_0x4b421c[_0xc36650(0x3f3)]=_0x2c2d6b(_0x2303bf());}(_0x397627,function(_0xc3c894){var _0x240687=_0x572e;return(function(){var _0x581a51=_0x572e;if(typeof ArrayBuffer==_0x581a51(0x409)){var _0x23289c=_0xc3c894,_0x19672e=_0x23289c[_0x581a51(0x1cb)],_0x106ffd=_0x19672e[_0x581a51(0x213)],_0xac8949=_0x106ffd['init'],_0x1ebf6e=_0x106ffd[_0x581a51(0x2f7)]=function(_0x26bd9b){var _0x2cf2a8=_0x581a51;if(_0x26bd9b instanceof ArrayBuffer&&(_0x26bd9b=new Uint8Array(_0x26bd9b)),(_0x26bd9b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x26bd9b instanceof Uint8ClampedArray||_0x26bd9b instanceof Int16Array||_0x26bd9b instanceof Uint16Array||_0x26bd9b instanceof Int32Array||_0x26bd9b instanceof Uint32Array||_0x26bd9b instanceof Float32Array||_0x26bd9b instanceof Float64Array)&&(_0x26bd9b=new Uint8Array(_0x26bd9b['buffer'],_0x26bd9b[_0x2cf2a8(0x3d4)],_0x26bd9b['byteLength'])),_0x26bd9b instanceof Uint8Array){for(var _0x564a4c=_0x26bd9b['byteLength'],_0x2ba62a=[],_0x2fa584=0x0;_0x2fa584<_0x564a4c;_0x2fa584++)_0x2ba62a[_0x2fa584>>>0x2]|=_0x26bd9b[_0x2fa584]<<0x18-_0x2fa584%0x4*0x8;_0xac8949[_0x2cf2a8(0xc8)](this,_0x2ba62a,_0x564a4c);}else _0xac8949['apply'](this,arguments);};_0x1ebf6e['prototype']=_0x106ffd;}}()),_0xc3c894['lib'][_0x240687(0x213)];}));}(_0x183055)),_0x183055['exports'];}var _0x4173f9=_0x300dd0();const _0x4a2270=_0x58088d(_0x4173f9);var _0x1a22e8={'exports':{}},_0x4b990f=_0x1a22e8[_0x509db9(0x3f3)],_0x21adac;function _0x4cdcb1(){var _0x346192=_0x509db9;return _0x21adac||(_0x21adac=0x1,function(_0xbdd102,_0x5d3137){(function(_0x20d970,_0x48b25c,_0x28d1e0){var _0x2cbd0e=_0x572e;_0xbdd102[_0x2cbd0e(0x3f3)]=_0x48b25c(_0x2303bf(),_0x285f87());}(_0x4b990f,function(_0x468fc5){var _0x2489be=_0x572e;return _0x468fc5['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x468fc5[_0x2489be(0x188)]['NoPadding'];}));}(_0x1a22e8)),_0x1a22e8[_0x346192(0x3f3)];}var _0x19f378=_0x4cdcb1();const _0x10e367=_0x58088d(_0x19f378);function _0x51d599(_0x45e2a7,_0x1a2d9e){var _0x4cfeb7=_0x509db9;const _0x24cfe7=_0x1a2d9e-_0x45e2a7[_0x4cfeb7(0x2e9)]%_0x1a2d9e,_0x29f2ef=String[_0x4cfeb7(0x315)](_0x24cfe7)[_0x4cfeb7(0x3b2)](_0x24cfe7);return _0x45e2a7+_0x29f2ef;}function _0x447a42(_0x27d8c9,_0x18430f){var _0x18de7b=_0x509db9;const _0x2e0a11=_0x4a2270[_0x18de7b(0x303)](0x10),_0x5a582a=_0x51d599(_0x27d8c9,0x10),_0x2a7c43=_0x5966cc[_0x18de7b(0x1fc)](_0x3912bd['parse'](_0x5a582a),_0x737d89[_0x18de7b(0x3d2)](_0x18430f),{'iv':_0x2e0a11,'padding':_0x10e367});return _0x2e0a11[_0x18de7b(0x27b)](_0x2a7c43[_0x18de7b(0x2fc)])['toString'](_0x737d89);}function _0x132003(){var _0x5106d=_0x509db9;const _0x429316=_0x349663['getGlobalObject']()[_0x5106d(0x318)];if(_0x429316){const _0x205865={'time':Math[_0x5106d(0x179)](Date[_0x5106d(0x22c)]()/0x3e8),'domain':location['hostname']};return _0x447a42(JSON[_0x5106d(0xa1)](_0x205865),_0x429316);}}var _0x2ba689=Object['getOwnPropertyDescriptor'],_0x155794=(_0x493662,_0x4defba,_0x293cbd,_0x319d43)=>{var _0xfa1fa4=_0x509db9;for(var _0x3cb5f9=_0x319d43>0x1?void 0x0:_0x319d43?_0x2ba689(_0x4defba,_0x293cbd):_0x4defba,_0x165376=_0x493662[_0xfa1fa4(0x2e9)]-0x1,_0x464f24;_0x165376>=0x0;_0x165376--)(_0x464f24=_0x493662[_0x165376])&&(_0x3cb5f9=_0x464f24(_0x3cb5f9)||_0x3cb5f9);return _0x3cb5f9;},_0x45520a=(_0x208593,_0x55dfdd)=>(_0x1d2962,_0x4d1baa)=>_0x55dfdd(_0x1d2962,_0x4d1baa,_0x208593);let _0x16dfd7=class{constructor(_0x16b45e){var _0x52431d=_0x509db9;this[_0x52431d(0x2b2)]=_0x16b45e,this['_initRequestHeader']();}[_0x509db9(0x393)](){var _0x3b160a=_0x509db9;this[_0x3b160a(0x2b2)]['registerHTTPInterceptor']({'interceptor':(_0x8d7af6,_0x54c216)=>{var _0x2b2f86=_0x3b160a;const _0x1120d4=_0x8d7af6[_0x2b2f86(0x375)],_0x35a44a=_0x132003();return _0x35a44a&&_0x1120d4[_0x2b2f86(0xa8)](_0x2b2f86(0xcf),_0x35a44a),_0x54c216(_0x8d7af6);}});}};_0x16dfd7=_0x155794([_0x45520a(0x0,_0x593ae3['Inject'](_0x38c133[_0x509db9(0x3e6)]))],_0x16dfd7);var _0x3ea10a=Object[_0x509db9(0x3d7)],_0x7aac=(_0x1d7db2,_0x1467f7,_0x5bd937,_0x389f68)=>{var _0x24e64d=_0x509db9;for(var _0xfade0=_0x389f68>0x1?void 0x0:_0x389f68?_0x3ea10a(_0x1467f7,_0x5bd937):_0x1467f7,_0x381cfb=_0x1d7db2[_0x24e64d(0x2e9)]-0x1,_0x239e54;_0x381cfb>=0x0;_0x381cfb--)(_0x239e54=_0x1d7db2[_0x381cfb])&&(_0xfade0=_0x239e54(_0xfade0)||_0xfade0);return _0xfade0;},_0x2632f6=(_0x311df2,_0x288987)=>(_0x399a12,_0x2c911f)=>_0x288987(_0x399a12,_0x2c911f,_0x311df2);_0x313ef4[_0x509db9(0xf7)]=class extends _0x593ae3[_0x509db9(0x2b9)]{constructor(_0xf5b160,_0x4005e5,_0x3424ab){var _0x56e956=_0x509db9;super(),_0x309c0d(this,_0x56e956(0x2c1),new _0x2ff251['BehaviorSubject'](null)),_0x309c0d(this,_0x56e956(0x10f),this[_0x56e956(0x2c1)][_0x56e956(0x203)]()),(this[_0x56e956(0x2a8)]=_0xf5b160,this[_0x56e956(0x378)]=_0x4005e5,this[_0x56e956(0x86)]=_0x3424ab);}async[_0x509db9(0x16e)](_0x5a9818,_0x40d4c0,_0xb8fc0a){var _0x5b0427=_0x509db9;this[_0x5b0427(0x2c1)][_0x5b0427(0xda)]({'unitId':_0x5a9818,'type':_0x40d4c0});let _0x1dcb00=null;switch(_0x40d4c0){case _0x5dd1fb['UNIVER_SHEET']:{_0x1dcb00=await this[_0x5b0427(0x378)][_0x5b0427(0x222)](_0x5a9818,_0xb8fc0a);break;}case _0x5dd1fb[_0x5b0427(0x3b0)]:{_0x1dcb00=await this[_0x5b0427(0x378)]['loadDoc'](_0x5a9818,_0xb8fc0a);break;}default:{this['_logService'][_0x5b0427(0x2cd)](_0x5b0427(0x22a),_0x5b0427(0x22d));break;}}return _0x1dcb00;}async['loadUnit'](_0x4dc5fc,_0x1dee01,_0x44c3fd){var _0x168d54=_0x509db9,_0x3a29b9;this['_unitInfo$']['next']({'unitId':_0x4dc5fc,'type':_0x1dee01,'subUnitId':_0x44c3fd});let _0x1305f3=0x0;const _0x1fb04f=await((_0x3a29b9=this[_0x168d54(0x86)])==null?void 0x0:_0x3a29b9[_0x168d54(0x364)](_0x4dc5fc));return _0x1fb04f&&(_0x1fb04f[_0x168d54(0x105)]||_0x1fb04f[_0x168d54(0x135)][_0x168d54(0x2e9)]!==0x0)&&(_0x1305f3=_0x1fb04f[_0x168d54(0x168)]),_0x1305f3===0x0&&this['_logService'][_0x168d54(0x26b)]('[DataLoaderService]',_0x168d54(0x236)),this[_0x168d54(0x16e)](_0x4dc5fc,_0x1dee01,_0x1305f3);}},_0x313ef4[_0x509db9(0xf7)]=_0x7aac([_0x2632f6(0x0,_0x593ae3['ILogService']),_0x2632f6(0x1,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0xd3)])),_0x2632f6(0x2,_0x593ae3['Optional'](_0x192e9c))],_0x313ef4['DataLoaderService']);var _0xcd0b76=Object[_0x509db9(0x3d7)],_0x3d9f2f=(_0x2dcd09,_0xa9c461,_0x5d185e,_0x4fb3b6)=>{var _0xb5cb93=_0x509db9;for(var _0x4ae1b6=_0x4fb3b6>0x1?void 0x0:_0x4fb3b6?_0xcd0b76(_0xa9c461,_0x5d185e):_0xa9c461,_0x3757a5=_0x2dcd09[_0xb5cb93(0x2e9)]-0x1,_0x49da79;_0x3757a5>=0x0;_0x3757a5--)(_0x49da79=_0x2dcd09[_0x3757a5])&&(_0x4ae1b6=_0x49da79(_0x4ae1b6)||_0x4ae1b6);return _0x4ae1b6;},_0xaedea1=(_0x30dcde,_0x3bcc7c)=>(_0x224bad,_0x301b89)=>_0x3bcc7c(_0x224bad,_0x301b89,_0x30dcde);const _0x3ede90=[_0x509db9(0x24b),_0x509db9(0x368),_0x509db9(0x2b4),_0x509db9(0x2dc),'image/bmp'],_0x2553f4=0x5*0x400*0x400,_0x40c5d4=_0x509db9(0x34a),_0x3d03f4=_0x509db9(0x194);_0x313ef4[_0x509db9(0x2c9)]=class{constructor(_0x1c054b,_0x317a6b,_0x2e127f){var _0x41ab58=_0x509db9;_0x309c0d(this,_0x41ab58(0x18d),0x0),_0x309c0d(this,'_change$',new _0x2ff251['Subject']()),_0x309c0d(this,_0x41ab58(0x1cc),this[_0x41ab58(0x2dd)]),_0x309c0d(this,_0x41ab58(0x1f5),new Map()),(this[_0x41ab58(0x2b2)]=_0x1c054b,this['_configService']=_0x317a6b,this[_0x41ab58(0x281)]=_0x2e127f);}['setWaitCount'](_0x22ace6){var _0xeffb63=_0x509db9;this['_waitCount']=_0x22ace6,this[_0xeffb63(0x2dd)][_0xeffb63(0xda)](_0x22ace6);}[_0x509db9(0x2db)](_0x4a2317,_0x56cd44){var _0x4e55d1=_0x509db9;if(_0x56cd44===_0x3fed8b['ImageSourceType'][_0x4e55d1(0x2ae)]){const _0x5cbb39=new Image();return _0x5cbb39[_0x4e55d1(0x23f)]=_0x4a2317,_0x5cbb39;}return this[_0x4e55d1(0x1f5)][_0x4e55d1(0xa5)](_0x4a2317);}['addImageSourceCache'](_0x44dc7d,_0x4e9622,_0x76a53e){var _0x4e7d8d=_0x509db9;_0x4e9622===_0x3fed8b[_0x4e7d8d(0x16b)][_0x4e7d8d(0x2ae)]||_0x76a53e==null||this[_0x4e7d8d(0x1f5)]['set'](_0x44dc7d,_0x76a53e);}async[_0x509db9(0x2b3)](_0x25569b){var _0x2a3eac=_0x509db9;try{const _0x369ddc=this[_0x2a3eac(0x3fc)](this[_0x2a3eac(0x348)](),''+_0x25569b),_0x3f9fab=(await this[_0x2a3eac(0x2b2)][_0x2a3eac(0xa5)](_0x369ddc))[_0x2a3eac(0x3dc)];if(_0x3f9fab[_0x2a3eac(0x2cd)]&&_0x3f9fab[_0x2a3eac(0x2cd)][_0x2a3eac(0x142)]===_0x56ddea['OK']){const _0x6b2f09=new URL(_0x3f9fab['url'],this[_0x2a3eac(0x2fd)]())[_0x2a3eac(0x1fe)]();return Promise[_0x2a3eac(0x39a)](_0x6b2f09);}return Promise[_0x2a3eac(0x256)](_0x3f9fab[_0x2a3eac(0x2cd)]);}catch(_0x522a61){return Promise['reject'](_0x522a61);}}async[_0x509db9(0x1ae)](_0x3d032c){var _0x24e8a8=_0x509db9;let _0x50dbc0='';if(!_0x3ede90[_0x24e8a8(0x16f)](_0x3d032c[_0x24e8a8(0xfd)]))return this[_0x24e8a8(0x3a8)](),Promise[_0x24e8a8(0x256)](new Error(_0x3fed8b[_0x24e8a8(0x297)]['ERROR_IMAGE_TYPE']));if(_0x3d032c['size']>_0x2553f4)return this[_0x24e8a8(0x3a8)](),Promise['reject'](new Error(_0x3fed8b['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0xc8b505=new FormData();_0xc8b505[_0x24e8a8(0x2b5)](_0x24e8a8(0x12e),_0x3d032c);const _0x12d9ad=this[_0x24e8a8(0x281)][_0x24e8a8(0x18e)](),_0x550d78=_0x12d9ad==null?void 0x0:_0x12d9ad[_0x24e8a8(0x382)]();if(!_0x550d78)throw new Error('unitId\x20is\x20not\x20found');const _0x1cc7e9=this['_getUploadFileURL']()+_0x24e8a8(0x2e6)+_0x3d032c['size'][_0x24e8a8(0x1fe)]()+_0x24e8a8(0x3aa)+_0x138411[_0x24e8a8(0x1b0)]+_0x24e8a8(0x27e)+encodeURIComponent(_0x550d78),_0x3d0715={'body':_0xc8b505},_0x2ed1aa=(await this['_httpService']['post'](_0x1cc7e9,_0x3d0715))[_0x24e8a8(0x3dc)];if(typeof _0x2ed1aa[_0x24e8a8(0x294)]!=_0x24e8a8(0x209))return this['_decreaseWaiting'](),Promise[_0x24e8a8(0x256)](new Error(_0x3fed8b[_0x24e8a8(0x297)][_0x24e8a8(0x14b)]));_0x50dbc0=_0x2ed1aa[_0x24e8a8(0x294)];}catch{return this['_decreaseWaiting'](),Promise[_0x24e8a8(0x256)](new Error(_0x3fed8b[_0x24e8a8(0x297)]['ERROR_IMAGE']));}return new Promise((_0x22f8c4,_0x36ab56)=>{const _0x4e6c1d=new FileReader();_0x4e6c1d['readAsDataURL'](_0x3d032c),_0x4e6c1d['onload']=_0x170102=>{var _0x4baddc=_0x572e,_0x4d5d5e;const _0x424775=(_0x4d5d5e=_0x170102[_0x4baddc(0xb9)])==null?void 0x0:_0x4d5d5e[_0x4baddc(0x419)];if(_0x424775==null){this[_0x4baddc(0x3a8)](),_0x36ab56(new Error(_0x3fed8b['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x5a9e53=_0x593ae3[_0x4baddc(0x29d)](0x6);_0x22f8c4({'imageId':_0x5a9e53,'imageSourceType':_0x3fed8b[_0x4baddc(0x16b)][_0x4baddc(0xce)],'source':_0x50dbc0,'base64Cache':_0x424775,'status':_0x3fed8b[_0x4baddc(0x297)]['SUCCUSS']}),this[_0x4baddc(0x3a8)]();};});}[_0x509db9(0xc4)](){var _0x373a02=_0x509db9,_0x49d8b3;const _0x3c709d=this[_0x373a02(0x15b)]['getConfig'](_0x9fbd4f);return(_0x49d8b3=_0x3c709d==null?void 0x0:_0x3c709d[_0x373a02(0x245)])!=null?_0x49d8b3:_0x40c5d4;}[_0x509db9(0x348)](){var _0x4aca9f=_0x509db9,_0x1f5e8d;const _0x53db18=this['_configService']['getConfig'](_0x9fbd4f);return(_0x1f5e8d=_0x53db18==null?void 0x0:_0x53db18[_0x4aca9f(0x28e)])!=null?_0x1f5e8d:_0x3d03f4;}[_0x509db9(0x2fd)](){var _0x26a324=_0x509db9,_0x362633;const _0x327d98=this[_0x26a324(0x15b)][_0x26a324(0x1a7)](_0x9fbd4f);return(_0x362633=_0x327d98==null?void 0x0:_0x327d98[_0x26a324(0x18a)])!=null?_0x362633:location[_0x26a324(0x30a)];}[_0x509db9(0x3fc)](_0x2a6236,_0x2081a1){var _0x1236b=_0x509db9;return _0x2a6236[_0x1236b(0x416)](_0x1236b(0x2c4),_0x2081a1);}[_0x509db9(0x3a8)](){var _0x42c713=_0x509db9;this[_0x42c713(0x18d)]-=0x1,this[_0x42c713(0x2dd)]['next'](this[_0x42c713(0x18d)]);}},_0x313ef4[_0x509db9(0x2c9)]=_0x3d9f2f([_0xaedea1(0x0,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)])),_0xaedea1(0x1,_0x593ae3[_0x509db9(0x1c0)]),_0xaedea1(0x2,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x1bc)]))],_0x313ef4[_0x509db9(0x2c9)]);var _0x30fb2a=Object[_0x509db9(0x3d7)],_0x403e84=(_0x3ee570,_0x3e0d24,_0x2959bf,_0x519625)=>{for(var _0x6b2c49=_0x519625>0x1?void 0x0:_0x519625?_0x30fb2a(_0x3e0d24,_0x2959bf):_0x3e0d24,_0x799086=_0x3ee570['length']-0x1,_0x4e938d;_0x799086>=0x0;_0x799086--)(_0x4e938d=_0x3ee570[_0x799086])&&(_0x6b2c49=_0x4e938d(_0x6b2c49)||_0x6b2c49);return _0x6b2c49;},_0x53e041=(_0x1dd829,_0x59d29d)=>(_0x5805b8,_0x37286e)=>_0x59d29d(_0x5805b8,_0x37286e,_0x1dd829);const _0x20e0b9=_0x509db9(0x3a5);_0x313ef4['MentionIoHttpService']=class{constructor(_0x4dc5a7,_0x49a9f3){var _0x26832f=_0x509db9;this[_0x26832f(0x15b)]=_0x4dc5a7,this[_0x26832f(0x363)]=_0x49a9f3;}[_0x509db9(0x16d)](){var _0x2f55e4=_0x509db9,_0x2c2516;const _0x22ba82=this[_0x2f55e4(0x15b)][_0x2f55e4(0x1a7)](_0x9fbd4f);return(_0x2c2516=_0x22ba82==null?void 0x0:_0x22ba82[_0x2f55e4(0x38d)])!=null?_0x2c2516:_0x20e0b9;}async[_0x509db9(0x387)](_0x5623cf){var _0x145043=_0x509db9;const _0x1e093d=this[_0x145043(0x16d)]()+'/collaborator';return{'list':[{'title':_0x145043(0x1c9),'mentions':(await this[_0x145043(0x363)]['get'](_0x1e093d,{'params':{'objectID':_0x5623cf[_0x145043(0x339)],'unitID':_0x5623cf[_0x145043(0x339)]}}))[_0x145043(0x3dc)][_0x145043(0x344)]['map'](_0x565880=>({'objectId':_0x565880['id'],'name':_0x565880[_0x145043(0x251)][_0x145043(0x371)],'metadata':{'icon':_0x565880['subject']['avatar']},'label':_0x565880[_0x145043(0x251)][_0x145043(0x371)],'objectType':_0x593ae3[_0x145043(0xb5)]['PERSON']})),'metadata':{},'type':_0x593ae3[_0x145043(0xb5)][_0x145043(0x330)]}]};}},_0x313ef4['MentionIoHttpService']=_0x403e84([_0x53e041(0x0,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['IConfigService'])),_0x53e041(0x1,_0x593ae3['Inject'](_0x38c133[_0x509db9(0x3e6)]))],_0x313ef4[_0x509db9(0x2bb)]);var _0x582f80=Object['getOwnPropertyDescriptor'],_0x4aee48=(_0x57a81c,_0x502ccb,_0x299ee6,_0x5e8fbb)=>{var _0x826a40=_0x509db9;for(var _0x4f2645=_0x5e8fbb>0x1?void 0x0:_0x5e8fbb?_0x582f80(_0x502ccb,_0x299ee6):_0x502ccb,_0x39876c=_0x57a81c[_0x826a40(0x2e9)]-0x1,_0x2d07be;_0x39876c>=0x0;_0x39876c--)(_0x2d07be=_0x57a81c[_0x39876c])&&(_0x4f2645=_0x2d07be(_0x4f2645)||_0x4f2645);return _0x4f2645;},_0x203e3b=(_0x4d211b,_0x150e89)=>(_0x56c278,_0x43c473)=>_0x150e89(_0x56c278,_0x43c473,_0x4d211b);let _0x5878a5=class extends _0x593ae3['RxDisposable']{constructor(_0x37ab89,_0x1cafed,_0x4dbd54,_0x2d15b3,_0x55a1c1){var _0xdad672=_0x509db9;super(),this['_injector']=_0x37ab89,this['_univerInstanceService']=_0x1cafed,this[_0xdad672(0x1de)]=_0x4dbd54,this['_collaborationSessionService']=_0x2d15b3,this[_0xdad672(0x20c)]=_0x55a1c1,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x509db9(0x347)](){var _0x161200=_0x509db9;const _0x3b0c5d=async _0x39c16e=>{var _0x5c8acb=_0x572e;(await this['_collaborationSessionService'][_0x5c8acb(0x296)](_0x39c16e))['event$']['pipe'](_0x137fa6[_0x5c8acb(0xbd)](_0x4c2ee1=>_0x4c2ee1[_0x5c8acb(0x240)]===_0xdad847[_0x5c8acb(0x343)]['SHOULD_CLOSE_CONN']),_0x137fa6['takeUntil'](this[_0x5c8acb(0x429)]))[_0x5c8acb(0xa2)](_0x87eb78=>{var _0x8c4285=_0x5c8acb;const _0x2af369=_0x87eb78,{reason:_0x139ece}=_0x2af369[_0x8c4285(0xc3)];this[_0x8c4285(0x20c)]['emitEvent']({'id':_0x7c51aa[_0x8c4285(0x1c4)],'data':_0x139ece}),this[_0x8c4285(0x1de)][_0x8c4285(0x23a)](new _0x196ab6[(_0x8c4285(0x2d3))](_0x39c16e)['id'],!0x1),this[_0x8c4285(0x1f2)][_0x8c4285(0x32f)](_0x39c16e);});};_0x2ff251[_0x161200(0x1e6)](this[_0x161200(0x281)][_0x161200(0x144)](_0x593ae3[_0x161200(0x119)][_0x161200(0x155)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x593ae3['UniverInstanceType'][_0x161200(0x3b0)]))['pipe'](_0x137fa6[_0x161200(0xb1)](_0xf7122=>_0xf7122['getUnitId']()),_0x137fa6[_0x161200(0xbd)](_0x2b87a2=>!_0x593ae3[_0x161200(0x42a)](_0x2b87a2)),_0x137fa6['takeUntil'](this[_0x161200(0x429)]))[_0x161200(0xa2)](_0x4cc475=>{_0x3b0c5d(_0x4cc475);});}[_0x509db9(0x1e7)](){var _0x5c05f9=_0x509db9;const _0x4b3405=async _0x1d3cec=>{var _0x33c15a=_0x572e;const _0x32160a=await this[_0x33c15a(0x1f2)]['requireSession'](_0x1d3cec),_0x304073=this[_0x33c15a(0x397)]['get'](_0x196ab6[_0x33c15a(0x267)]);_0x32160a['event$'][_0x33c15a(0x8f)](_0x137fa6[_0x33c15a(0xbd)](_0x1f3176=>_0x1f3176[_0x33c15a(0x240)]===_0xdad847[_0x33c15a(0x343)][_0x33c15a(0x13a)]),_0x137fa6[_0x33c15a(0x1b7)](this[_0x33c15a(0x429)]))['subscribe'](_0x535f36=>{var _0x3fc0b1=_0x33c15a;const _0x40da2f=_0x535f36,{objectId:_0x3b8978}=_0x40da2f[_0x3fc0b1(0xc3)];_0x3b8978===_0x1d3cec?_0x304073[_0x3fc0b1(0x300)](_0x1d3cec):_0x304073[_0x3fc0b1(0x3ab)](_0x1d3cec,_0x3b8978);});};_0x2ff251['merge'](this[_0x5c05f9(0x281)][_0x5c05f9(0x144)](_0x593ae3[_0x5c05f9(0x119)][_0x5c05f9(0x155)]))['pipe'](_0x137fa6['map'](_0x2e1549=>_0x2e1549[_0x5c05f9(0x382)]()),_0x137fa6[_0x5c05f9(0xbd)](_0x57dc6b=>!_0x593ae3[_0x5c05f9(0x42a)](_0x57dc6b)),_0x137fa6[_0x5c05f9(0x1b7)](this[_0x5c05f9(0x429)]))['subscribe'](_0x27ae96=>{_0x4b3405(_0x27ae96);});}};_0x5878a5=_0x4aee48([_0x203e3b(0x0,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x203e3b(0x1,_0x593ae3[_0x509db9(0x1bc)]),_0x203e3b(0x2,_0x593ae3[_0x509db9(0x3d5)]),_0x203e3b(0x3,_0x593ae3['Inject'](_0x313ef4['CollaborationSessionService'])),_0x203e3b(0x4,_0x593ae3['Inject'](_0x1e55fc))],_0x5878a5);var _0x3fe915=Object['getOwnPropertyDescriptor'],_0xa7f767=(_0x19785f,_0x1c19ae,_0x1b48fc,_0x4f11db)=>{var _0x2879ca=_0x509db9;for(var _0x5bd4c4=_0x4f11db>0x1?void 0x0:_0x4f11db?_0x3fe915(_0x1c19ae,_0x1b48fc):_0x1c19ae,_0x537a87=_0x19785f[_0x2879ca(0x2e9)]-0x1,_0x496d3d;_0x537a87>=0x0;_0x537a87--)(_0x496d3d=_0x19785f[_0x537a87])&&(_0x5bd4c4=_0x496d3d(_0x5bd4c4)||_0x5bd4c4);return _0x5bd4c4;},_0x564755=(_0x5a6bd9,_0xaa807)=>(_0x16ea3b,_0x4ddf07)=>_0xaa807(_0x16ea3b,_0x4ddf07,_0x5a6bd9);_0x313ef4[_0x509db9(0x2f8)]=class{constructor(_0x5c2978,_0x4f9795){var _0x55c1d8=_0x509db9;this[_0x55c1d8(0x15b)]=_0x5c2978,this[_0x55c1d8(0x2b2)]=_0x4f9795;}async[_0x509db9(0x25a)](_0x175ad8,_0x166a42){var _0x48c5e4=_0x509db9,_0x63ec76;const {unitID:_0xc941ee,type:_0x5e67ff,revision:_0x4515b2=0x0}=_0x166a42,_0x590781=this[_0x48c5e4(0x349)]()+'/'+_0x5e67ff+_0x48c5e4(0x151)+_0xc941ee+_0x48c5e4(0x1c2)+_0x4515b2,_0x22aa75=(await this[_0x48c5e4(0x2b2)][_0x48c5e4(0xa5)](_0x590781))[_0x48c5e4(0x3dc)],_0x319167=(_0x63ec76=_0x22aa75[_0x48c5e4(0x3a1)])==null?void 0x0:_0x63ec76[_0x48c5e4(0x16c)];if(_0x319167){const _0xe3e06=_0x319167==null?void 0x0:_0x319167[_0x48c5e4(0x3f0)],_0x239b96=_0xdad847[_0x48c5e4(0x377)][_0x48c5e4(0x3ac)](_0xdad847[_0x48c5e4(0x1f1)](_0xe3e06));_0x319167[_0x48c5e4(0x3f0)]=_0x239b96,Object[_0x48c5e4(0x312)](_0x319167[_0x48c5e4(0x326)])[_0x48c5e4(0x10a)](([,_0x5ab009])=>{var _0x28e17f=_0x48c5e4;const _0x5cf96c=_0x5ab009[_0x28e17f(0x3f0)],_0x49d5fd=_0xdad847['textEncoder']['encode'](_0xdad847['b64DecodeUnicode'](_0x5cf96c));_0x5ab009[_0x28e17f(0x3f0)]=_0x49d5fd;});}return _0x22aa75;}async['getSheetBlock'](_0x38673b,_0x1fa33f){var _0x39320b=_0x509db9;const {unitID:_0x1d442f,type:_0x52eae6,blockID:_0x2f6fc2}=_0x1fa33f,_0x2ebb10=this[_0x39320b(0x289)]()+'/'+_0x52eae6+_0x39320b(0x151)+_0x1d442f+'/block/'+_0x2f6fc2;return(await this[_0x39320b(0x2b2)]['get'](_0x2ebb10))['body'];}async[_0x509db9(0x28a)](_0x5bd13b,_0x1ffa5a){var _0x40dd0e=_0x509db9;const {unitID:_0x18454f,type:_0x54e189,blockID:_0x567111}=_0x1ffa5a,_0x3512a1=this[_0x40dd0e(0x289)]()+_0x40dd0e(0x32d)+_0x54e189+'/unit/'+_0x18454f+_0x40dd0e(0x32d)+_0x567111;return(await this[_0x40dd0e(0x2b2)][_0x40dd0e(0xa5)](_0x3512a1))[_0x40dd0e(0x3dc)];}async[_0x509db9(0x25f)](_0x46ccfd,_0x55e8a1){var _0x5eccd6=_0x509db9;const {unitID:_0x3895e6,type:_0x45b9c1,from:_0x28fbda,to:_0x2a1c21}=_0x55e8a1,_0x5ef216=this[_0x5eccd6(0x289)]()+'/'+_0x45b9c1+_0x5eccd6(0x151)+_0x3895e6+'/fetchmissing?from='+_0x28fbda+'&to='+_0x2a1c21;return(await this['_httpService'][_0x5eccd6(0xa5)](_0x5ef216))[_0x5eccd6(0x3dc)];}[_0x509db9(0x349)](){var _0x3c5496=_0x509db9,_0x53374e;return(_0x53374e=this[_0x3c5496(0x15b)][_0x3c5496(0x1a7)](_0x16ba83))!=null?_0x53374e:this[_0x3c5496(0x289)]();}[_0x509db9(0x289)](){var _0x3905b0=_0x509db9,_0x59c39c;const _0x5b753e=this['_configService'][_0x3905b0(0x1a7)](_0x9fbd4f);return(_0x59c39c=_0x5b753e==null?void 0x0:_0x5b753e[_0x3905b0(0x185)])!=null?_0x59c39c:_0x21d126;}async[_0x509db9(0x13d)](_0x540362,_0x2853ac){var _0x27d402=_0x509db9;const _0x3408d5=_0x27d402(0xfa)+_0x2853ac[_0x27d402(0xfd)]+'/unit/'+_0x2853ac['unitID']+_0x27d402(0x14a);return(await this['_httpService'][_0x27d402(0xa5)](_0x3408d5,{'params':{'resourceId':JSON[_0x27d402(0xa1)](_0x2853ac[_0x27d402(0x167)])}}))[_0x27d402(0x3dc)];}[_0x509db9(0x311)](){var _0x4fa402=_0x509db9;throw new Error(_0x4fa402(0x2b8));}[_0x509db9(0x208)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x509db9(0x243)](){var _0x20c928=_0x509db9;throw new Error(_0x20c928(0x2b8));}[_0x509db9(0x3bd)](){var _0x2df5de=_0x509db9;throw new Error(_0x2df5de(0x2b8));}['copyFileMeta'](){var _0x1a0d41=_0x509db9;throw new Error(_0x1a0d41(0x2b8));}[_0x509db9(0x282)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x313ef4[_0x509db9(0x2f8)]=_0xa7f767([_0x564755(0x0,_0x593ae3[_0x509db9(0x1c0)]),_0x564755(0x1,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)]))],_0x313ef4[_0x509db9(0x2f8)]);var _0x5e1cdd=Object['getOwnPropertyDescriptor'],_0x57e67b=(_0x3b88fd,_0x314ebd,_0x3f2c55,_0x32033e)=>{var _0xec64a4=_0x509db9;for(var _0x3385f4=_0x32033e>0x1?void 0x0:_0x32033e?_0x5e1cdd(_0x314ebd,_0x3f2c55):_0x314ebd,_0x5352df=_0x3b88fd[_0xec64a4(0x2e9)]-0x1,_0x9143bf;_0x5352df>=0x0;_0x5352df--)(_0x9143bf=_0x3b88fd[_0x5352df])&&(_0x3385f4=_0x9143bf(_0x3385f4)||_0x3385f4);return _0x3385f4;},_0x2c4d56=(_0x1eeb4a,_0x1f3eac)=>(_0x2f5a9e,_0x56ef90)=>_0x1f3eac(_0x2f5a9e,_0x56ef90,_0x1eeb4a);_0x313ef4[_0x509db9(0x121)]=class extends _0x593ae3[_0x509db9(0xef)]{constructor(_0x4ddc49,_0x2f5bbf,_0x56ceb9,_0x27bc30,_0x1f96bf){var _0x1f071c=_0x509db9;super(_0x4ddc49,_0x2f5bbf,_0x56ceb9),this['_transformService']=_0x27bc30,this[_0x1f071c(0x2a8)]=_0x1f96bf;}[_0x509db9(0x130)](_0xc49084,_0x21b413){var _0x10b728=_0x509db9;const _0x5ad6b5=this[_0x10b728(0x182)](_0xc49084);if(_0x5ad6b5)try{const _0x408c95=this[_0x10b728(0x1e3)](_0x5ad6b5,_0x21b413);this['_substituteUndoStack'](_0xc49084,_0x408c95);}catch(_0xfb9a5d){this['_logService']['error'](_0x10b728(0x36a),_0xfb9a5d),this['_clearUndo'](_0xc49084);}const _0x189603=this[_0x10b728(0x3e7)](_0xc49084);if(_0x189603)try{const _0x3600ab=this[_0x10b728(0x1e3)](_0x189603,_0x21b413);this[_0x10b728(0xcc)](_0xc49084,_0x3600ab);}catch(_0x18597d){this[_0x10b728(0x2a8)]['error'](_0x18597d),this[_0x10b728(0x113)](_0xc49084);}}['_clearUndo'](_0x136670){var _0x56f0d9=_0x509db9;const _0x567356=this[_0x56f0d9(0x182)](_0x136670);_0x567356&&(_0x567356[_0x56f0d9(0x2e9)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x514156){var _0x1d1897=_0x509db9;const _0x513138=this[_0x1d1897(0x3e7)](_0x514156);_0x513138&&(_0x513138[_0x1d1897(0x2e9)]=0x0,this[_0x1d1897(0x8b)]());}[_0x509db9(0x41e)](_0x114bb6,_0x1c1777){var _0xd38668=_0x509db9;this[_0xd38668(0x212)][_0xd38668(0xa8)](_0x114bb6,_0x1c1777),this[_0xd38668(0x8b)]();}[_0x509db9(0xcc)](_0x2b6aa7,_0x4595bb){var _0x56ba0a=_0x509db9;this[_0x56ba0a(0x3fa)]['set'](_0x2b6aa7,_0x4595bb),this[_0x56ba0a(0x8b)]();}['_transformStack'](_0x541f58,_0x12fa1c){var _0x24d91c=_0x509db9;const _0x36cb8f=[];let _0x1eafc4=_0x12fa1c,_0x4633f9=_0x12fa1c;for(let _0x52d894=_0x541f58[_0x24d91c(0x2e9)]-0x1;_0x52d894>=0x0;_0x52d894--){const {unitID:_0x3d4e0f,undoMutations:_0xd47e34,redoMutations:_0x35532c}=_0x541f58[_0x52d894],_0x4f2c7e=this[_0x24d91c(0x3b9)][_0x24d91c(0x220)](_0x1eafc4,_0xd47e34),_0x25e4d7=this[_0x24d91c(0x3b9)]['transformMutationsWithChangeset'](_0x4633f9,_0x35532c);if(_0xdad847[_0x24d91c(0x19f)](_0x4f2c7e)||_0xdad847[_0x24d91c(0x19f)](_0x25e4d7)){this[_0x24d91c(0x2a8)][_0x24d91c(0x2cd)](_0x24d91c(0x36a),_0x24d91c(0xe7),_0x4f2c7e,_0x25e4d7);break;}_0x1eafc4=_0x4f2c7e[_0x24d91c(0x249)],_0x4633f9=_0x25e4d7[_0x24d91c(0x249)],_0x36cb8f[_0x24d91c(0x273)]({'unitID':_0x3d4e0f,'undoMutations':_0x4f2c7e[_0x24d91c(0x2f4)],'redoMutations':_0x25e4d7[_0x24d91c(0x2f4)]});}return _0x36cb8f[_0x24d91c(0x332)]();}},_0x313ef4['CollaborativeUndoRedoService']=_0x57e67b([_0x2c4d56(0x0,_0x593ae3[_0x509db9(0x1bc)]),_0x2c4d56(0x1,_0x593ae3[_0x509db9(0x170)]),_0x2c4d56(0x2,_0x593ae3[_0x509db9(0xe0)]),_0x2c4d56(0x3,_0xdad847['ITransformService']),_0x2c4d56(0x4,_0x593ae3[_0x509db9(0x1a8)])],_0x313ef4[_0x509db9(0x121)]);var _0x3e7c50=Object[_0x509db9(0xd5)],_0x2f5bbe=Object[_0x509db9(0x3d7)],_0x10fe37=(_0x1ca0d5,_0x520d4f,_0x3c1e43)=>_0x520d4f in _0x1ca0d5?_0x3e7c50(_0x1ca0d5,_0x520d4f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c1e43}):_0x1ca0d5[_0x520d4f]=_0x3c1e43,_0x13e5e0=(_0x5332bc,_0x7dd517,_0x430e03,_0x2ff82d)=>{var _0xf25954=_0x509db9;for(var _0x3f82b8=_0x2ff82d>0x1?void 0x0:_0x2ff82d?_0x2f5bbe(_0x7dd517,_0x430e03):_0x7dd517,_0xf64a47=_0x5332bc[_0xf25954(0x2e9)]-0x1,_0x1a209b;_0xf64a47>=0x0;_0xf64a47--)(_0x1a209b=_0x5332bc[_0xf64a47])&&(_0x3f82b8=_0x1a209b(_0x3f82b8)||_0x3f82b8);return _0x3f82b8;},_0x210dce=(_0x309c77,_0x394100)=>(_0x4c6680,_0x1f457f)=>_0x394100(_0x4c6680,_0x1f457f,_0x309c77),_0x4cceca=(_0x5900f7,_0x82cda6,_0x5f1281)=>_0x10fe37(_0x5900f7,_0x82cda6+'',_0x5f1281);const _0x3b4b03=_0x509db9(0x169);_0x313ef4[_0x509db9(0x1e4)]=class extends _0x593ae3[_0x509db9(0xc6)]{constructor(_0x39278b,_0x7afacf,_0x12b9d7,_0x581436){var _0xa36e6=_0x509db9;super(),_0x309c0d(this,_0xa36e6(0x3c4)),(this['_logService']=_0x7afacf,this[_0xa36e6(0x397)]=_0x12b9d7,this[_0xa36e6(0x15b)]=_0x581436);const {..._0x424b05}=_0x593ae3['merge']({},_0x39e350,_0x39278b);if(!_0x424b05[_0xa36e6(0xcd)])throw new Error(_0xa36e6(0x34d));this[_0xa36e6(0x3c4)]=_0x424b05,this[_0xa36e6(0x15b)][_0xa36e6(0xcb)](_0x9fbd4f,_0x424b05);}['onStarting'](){var _0x187d10=_0x509db9;this[_0x187d10(0x24f)](),this[_0x187d10(0x146)]();}['_registerDependencies'](){var _0x121e18=_0x509db9,_0x49ce73,_0x5982f7;this['_injector'][_0x121e18(0x34c)](_0x593ae3[_0x121e18(0x221)])&&this[_0x121e18(0x2a8)]['error']('[UniverCollaborationClientPlugin]',_0x121e18(0x131));const _0x1346d5=_0x593ae3[_0x121e18(0x91)]([[_0x593ae3[_0x121e18(0x221)],{'useClass':_0x313ef4[_0x121e18(0x121)]}],[_0x313ef4['CollaborationSessionService']],[_0x313ef4[_0x121e18(0x358)]],[_0x313ef4['SheetTransformSelectionsService']],[_0x3fee28],[_0x16dfd7],[_0x29b036],[_0x5878a5],[_0x1e55fc],[_0x313ef4['DataLoaderService']],[_0x37eaae,{'useClass':this['_config'][_0x121e18(0xcd)]}],[_0xdad847[_0x121e18(0x228)],{'useClass':_0x313ef4[_0x121e18(0x2f8)]}],[_0x593ae3[_0x121e18(0xc0)],{'useClass':_0x313ef4['AuthzIoHttpService']}],[_0x3fed8b[_0x121e18(0x3ec)],{'useClass':_0x313ef4[_0x121e18(0x2c9)]}],[_0x593ae3[_0x121e18(0x2d2)],{'useClass':_0x313ef4[_0x121e18(0x2bb)]}],[_0x313ef4['CollaborationController']],[_0x261b6f]],(_0x49ce73=this[_0x121e18(0x3c4)])==null?void 0x0:_0x49ce73[_0x121e18(0x370)]);if(!((_0x5982f7=this['_config'])!=null&&_0x5982f7[_0x121e18(0x1be)])){const _0x21fb17=_0x1346d5[_0x121e18(0x40e)](([_0x532a66])=>_0x532a66===_0x5647b7);_0x21fb17!==-0x1&&_0x1346d5[_0x121e18(0x3cc)](_0x21fb17,0x1);}_0x593ae3[_0x121e18(0x1da)](this[_0x121e18(0x397)],_0x1346d5);}[_0x509db9(0x146)](){var _0x544055=_0x509db9,_0x46618a,_0x4f849a,_0x229817;this[_0x544055(0x397)][_0x544055(0xa5)](_0x38c133[_0x544055(0x3e6)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x38c133[_0x544055(0x112)]({'maxParallel':0x6})}),(_0x46618a=this[_0x544055(0x3c4)])!=null&&_0x46618a[_0x544055(0x238)]||(_0x4f849a=this[_0x544055(0x397)][_0x544055(0xa5)](_0x192e9c,_0x593ae3['Quantity'][_0x544055(0xf6)]))==null||_0x4f849a['disableLocalCache'](),(_0x229817=this[_0x544055(0x3c4)])!=null&&_0x229817[_0x544055(0x166)]&&_0x593ae3[_0x544055(0x84)](this[_0x544055(0x397)],[[_0x3fee28]]),_0x593ae3[_0x544055(0x84)](this[_0x544055(0x397)],[[_0x16dfd7],[_0x313ef4[_0x544055(0x9c)]],[_0x5878a5]]);}},_0x4cceca(_0x313ef4[_0x509db9(0x1e4)],_0x509db9(0x3ee),_0x3b4b03),_0x313ef4[_0x509db9(0x1e4)]=_0x13e5e0([_0x593ae3['DependentOn'](_0xdad847['UniverCollaborationPlugin'],_0x38c133[_0x509db9(0x36e)]),_0x210dce(0x1,_0x593ae3[_0x509db9(0x1a8)]),_0x210dce(0x2,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x210dce(0x3,_0x593ae3[_0x509db9(0x1c0)])],_0x313ef4[_0x509db9(0x1e4)]),_0x313ef4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x9fbd4f,_0x313ef4[_0x509db9(0x3af)]=_0x1ac262,_0x313ef4[_0x509db9(0x2a5)]=_0x7c51aa,_0x313ef4[_0x509db9(0x1cf)]=_0x1e55fc,_0x313ef4[_0x509db9(0x420)]=_0x29b036,_0x313ef4[_0x509db9(0x152)]=_0x407f4f,_0x313ef4['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x162619,_0x313ef4[_0x509db9(0x272)]=_0x29e50d,_0x313ef4['HEARTBEAT_INTERVAL_KEY']=_0x55547f,_0x313ef4[_0x509db9(0x2cb)]=_0x30846d,_0x313ef4[_0x509db9(0x276)]=_0x37eaae,_0x313ef4['ILocalCacheService']=_0x192e9c,_0x313ef4['INetworkConditionService']=_0xcfc4ab,_0x313ef4[_0x509db9(0x1a3)]=_0x5647b7,_0x313ef4[_0x509db9(0xc7)]=0x3e8,_0x313ef4[_0x509db9(0x3e5)]=_0x2b3841,_0x313ef4[_0x509db9(0x321)]=_0x5f3fee,_0x313ef4[_0x509db9(0x33c)]=_0x52e10c,_0x313ef4[_0x509db9(0x205)]=_0x4e4db9,_0x313ef4[_0x509db9(0x3f6)]=_0x1bfb46,_0x313ef4[_0x509db9(0xe4)]=_0x2f49ae,_0x313ef4['getLocalCacheKey']=_0x142709,_0x313ef4['serializeCombRequest']=_0x3ce187,Object[_0x509db9(0xd5)](_0x313ef4,Symbol['toStringTag'],{'value':_0x509db9(0x1e9)});}));
2
+ (function(_0x28f6e6,_0x4753f1){var _0xcbd54d=_0x593f,_0x427269=_0x28f6e6();while(!![]){try{var _0x1d5a12=-parseInt(_0xcbd54d(0x223))/0x1+-parseInt(_0xcbd54d(0x309))/0x2+parseInt(_0xcbd54d(0x19f))/0x3*(-parseInt(_0xcbd54d(0x3b3))/0x4)+-parseInt(_0xcbd54d(0x3a7))/0x5*(-parseInt(_0xcbd54d(0x36c))/0x6)+parseInt(_0xcbd54d(0x2d2))/0x7+-parseInt(_0xcbd54d(0x3ed))/0x8+parseInt(_0xcbd54d(0x31c))/0x9;if(_0x1d5a12===_0x4753f1)break;else _0x427269['push'](_0x427269['shift']());}catch(_0x534aee){_0x427269['push'](_0x427269['shift']());}}}(_0x116d,0x99f85),function(_0x2af843,_0x35f17b){var _0x45b44f=_0x593f;typeof exports==_0x45b44f(0x302)&&typeof module<'u'?_0x35f17b(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x45b44f(0x117)&&define[_0x45b44f(0x2f9)]?define(['exports','@univerjs-pro/collaboration',_0x45b44f(0x345),_0x45b44f(0x351),_0x45b44f(0x460),_0x45b44f(0x319),_0x45b44f(0x177),_0x45b44f(0x37f),_0x45b44f(0x10a),_0x45b44f(0x13b),_0x45b44f(0x411)],_0x35f17b):(_0x2af843=typeof globalThis<'u'?globalThis:_0x2af843||self,_0x35f17b(_0x2af843[_0x45b44f(0x21c)]={},_0x2af843[_0x45b44f(0x36f)],_0x2af843[_0x45b44f(0x498)],_0x2af843[_0x45b44f(0x193)],_0x2af843['UniverSheets'],_0x2af843[_0x45b44f(0x319)],_0x2af843[_0x45b44f(0x45e)],_0x2af843[_0x45b44f(0x319)][_0x45b44f(0x28c)],_0x2af843[_0x45b44f(0x39c)],_0x2af843[_0x45b44f(0x26e)],_0x2af843[_0x45b44f(0x38d)]));}(this,function(_0xa2dc9b,_0x444836,_0x95e227,_0x73d691,_0x5fb515,_0x55db85,_0x1d8c4b,_0x20ce0a,_0x3ea7ce,_0x67f487,_0x30dc4f){'use strict';var _0x1d6855=_0x593f;var _0x42d06a=Object[_0x1d6855(0x419)],_0x4daa98=(_0x42b695,_0x1a31ab,_0x5eb7a2)=>_0x1a31ab in _0x42b695?_0x42d06a(_0x42b695,_0x1a31ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5eb7a2}):_0x42b695[_0x1a31ab]=_0x5eb7a2,_0x1c0f2e=(_0x5c2008,_0x3bf640,_0x42269a)=>_0x4daa98(_0x5c2008,typeof _0x3bf640!=_0x1d6855(0x35b)?_0x3bf640+'':_0x3bf640,_0x42269a);const _0xb901f3=_0x1d6855(0x1d3),_0xc3a775='SNAPSHOT_URL_KEY',_0x7a8aaf=_0x1d6855(0x1e9),_0xaeb0ec='/universer-api/user/session-ticket',_0x252131=_0x1d6855(0x247),_0x430bfd=_0x1d6855(0x192),_0x233fd7=_0x1d6855(0x251),_0x5bfcf9='LOCAL_CACHE_INTERVAL',_0x3bbb19=_0x1d6855(0x219),_0x529640=_0x1d6855(0x341),_0x50d83e='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x4e16d0=_0x1d6855(0x462);var _0x5ebea3=(_0x539589=>(_0x539589[_0x539589[_0x1d6855(0x21d)]=0x0]=_0x1d6855(0x21d),_0x539589[_0x539589['OK']=0x1]='OK',_0x539589[_0x539589['INTERNAL_ERROR']=0x2]=_0x1d6855(0x2bd),_0x539589[_0x539589['PERMISSION_DENIED']=0x3]=_0x1d6855(0x16e),_0x539589[_0x539589['NOT_FOUND']=0x4]=_0x1d6855(0x2ec),_0x539589[_0x539589[_0x1d6855(0x32c)]=0x5]=_0x1d6855(0x32c),_0x539589[_0x539589[_0x1d6855(0x244)]=0x6]=_0x1d6855(0x244),_0x539589[_0x539589[_0x1d6855(0x429)]=0x7]='INVALID_ARGUMENT',_0x539589[_0x539589['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x539589[_0x539589[_0x1d6855(0x2d6)]=0x9]=_0x1d6855(0x2d6),_0x539589[_0x539589[_0x1d6855(0x185)]=0xa]=_0x1d6855(0x185),_0x539589[_0x539589['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x539589[_0x539589[_0x1d6855(0x248)]=0xc]=_0x1d6855(0x248),_0x539589[_0x539589[_0x1d6855(0x147)]=0xd]=_0x1d6855(0x147),_0x539589[_0x539589['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x1d6855(0x194),_0x539589[_0x539589['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x1d6855(0x389),_0x539589[_0x539589[_0x1d6855(0x3f1)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x539589[_0x539589[_0x1d6855(0x3cf)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x539589[_0x539589[_0x1d6855(0x34e)]=0x65]=_0x1d6855(0x34e),_0x539589[_0x539589['USER_NOT_FOUND']=0xc9]=_0x1d6855(0x112),_0x539589[_0x539589[_0x1d6855(0x2da)]=0xca]=_0x1d6855(0x2da),_0x539589[_0x539589[_0x1d6855(0x21f)]=0x1389]=_0x1d6855(0x21f),_0x539589[_0x539589[_0x1d6855(0x306)]=0x1771]=_0x1d6855(0x306),_0x539589[_0x539589[_0x1d6855(0x1ea)]=0x1772]=_0x1d6855(0x1ea),_0x539589[_0x539589[_0x1d6855(0x322)]=0x1773]=_0x1d6855(0x322),_0x539589[_0x539589['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x539589[_0x539589[_0x1d6855(0x28f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x539589[_0x539589['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1d6855(0x281),_0x539589[_0x539589[_0x1d6855(0x442)]=0x1b5c]=_0x1d6855(0x442),_0x539589[_0x539589['APPLY_DUPLICATED']=0x1b5d]=_0x1d6855(0x26f),_0x539589[_0x539589[_0x1d6855(0x30c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x539589[_0x539589[_0x1d6855(0x427)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x539589[_0x539589[_0x1d6855(0x308)]=0x232a]=_0x1d6855(0x308),_0x539589[_0x539589['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1d6855(0x1d7),_0x539589[_0x539589[_0x1d6855(0x15e)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x539589[_0x539589[_0x1d6855(0x362)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x539589[_0x539589[_0x1d6855(0x27c)]=0x2711]=_0x1d6855(0x27c),_0x539589[_0x539589[_0x1d6855(0x41b)]=0x2712]=_0x1d6855(0x41b),_0x539589[_0x539589[_0x1d6855(0x12b)]=0x2713]=_0x1d6855(0x12b),_0x539589[_0x539589[_0x1d6855(0x1a5)]=0x2714]=_0x1d6855(0x1a5),_0x539589[_0x539589[_0x1d6855(0x255)]=0x271a]=_0x1d6855(0x255),_0x539589[_0x539589[_0x1d6855(0x1cb)]=0x271b]=_0x1d6855(0x1cb),_0x539589[_0x539589[_0x1d6855(0x330)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x539589[_0x539589[_0x1d6855(0x120)]=0x271d]=_0x1d6855(0x120),_0x539589[_0x539589[_0x1d6855(0x269)]=0x271e]=_0x1d6855(0x269),_0x539589[_0x539589['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1d6855(0x1ec),_0x539589[_0x539589[_0x1d6855(0x1f3)]=0x2720]=_0x1d6855(0x1f3),_0x539589[_0x539589[_0x1d6855(0x44a)]=0x2af9]=_0x1d6855(0x44a),_0x539589[_0x539589[_0x1d6855(0x463)]=0x2ee1]=_0x1d6855(0x463),_0x539589[_0x539589[_0x1d6855(0x3a9)]=0x2ee2]=_0x1d6855(0x3a9),_0x539589[_0x539589[_0x1d6855(0x33a)]=0x2ee3]=_0x1d6855(0x33a),_0x539589[_0x539589[_0x1d6855(0x2fd)]=0x2ee4]=_0x1d6855(0x2fd),_0x539589[_0x539589[_0x1d6855(0x332)]=0x2ee5]=_0x1d6855(0x332),_0x539589[_0x539589['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1d6855(0x329),_0x539589[_0x539589[_0x1d6855(0x2a0)]=0x32ca]=_0x1d6855(0x2a0),_0x539589[_0x539589[_0x1d6855(0x2f7)]=0x32cb]=_0x1d6855(0x2f7),_0x539589[_0x539589[_0x1d6855(0x278)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x539589[_0x539589[_0x1d6855(0x1bd)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x539589[_0x539589[_0x1d6855(0x335)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x539589[_0x539589[_0x1d6855(0x16f)]=0x36b4]=_0x1d6855(0x16f),_0x539589[_0x539589[_0x1d6855(0x2cd)]=0x36b5]=_0x1d6855(0x2cd),_0x539589[_0x539589[_0x1d6855(0x137)]=0x36b6]=_0x1d6855(0x137),_0x539589[_0x539589['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x1d6855(0x47a),_0x539589[_0x539589[_0x1d6855(0x36a)]=0x36b8]=_0x1d6855(0x36a),_0x539589[_0x539589['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x539589[_0x539589[_0x1d6855(0x34a)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x539589[_0x539589['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x539589[_0x539589[_0x1d6855(0x323)]=0x37dd]=_0x1d6855(0x323),_0x539589[_0x539589[_0x1d6855(0x3f8)]=0x3a99]=_0x1d6855(0x3f8),_0x539589[_0x539589[_0x1d6855(0x168)]=0x3a9a]=_0x1d6855(0x168),_0x539589[_0x539589[_0x1d6855(0x2c7)]=0x3a9b]=_0x1d6855(0x2c7),_0x539589[_0x539589[_0x1d6855(0x493)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x539589[_0x539589[_0x1d6855(0x293)]=0x3a9d]=_0x1d6855(0x293),_0x539589[_0x539589[_0x1d6855(0x3ee)]=0x3a9e]=_0x1d6855(0x3ee),_0x539589[_0x539589['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x1d6855(0x3aa),_0x539589[_0x539589[_0x1d6855(0x449)]=0x3e81]=_0x1d6855(0x449),_0x539589[_0x539589[_0x1d6855(0x404)]=-0x1]='UNRECOGNIZED',_0x539589))(_0x5ebea3||{}),_0x50e467=(_0x366faf=>(_0x366faf[_0x366faf[_0x1d6855(0x252)]=0x0]=_0x1d6855(0x252),_0x366faf[_0x366faf[_0x1d6855(0x133)]=0x1]=_0x1d6855(0x133),_0x366faf[_0x366faf[_0x1d6855(0x3a4)]=0x2]=_0x1d6855(0x3a4),_0x366faf[_0x366faf[_0x1d6855(0x11a)]=0x3]=_0x1d6855(0x11a),_0x366faf[_0x366faf[_0x1d6855(0x149)]=0x4]=_0x1d6855(0x149),_0x366faf[_0x366faf[_0x1d6855(0x404)]=-0x1]=_0x1d6855(0x404),_0x366faf))(_0x50e467||{}),_0x424f21=(_0x379670=>(_0x379670[_0x379670['UNKNOWN_CMD']=0x0]=_0x1d6855(0x37b),_0x379670[_0x379670[_0x1d6855(0x15d)]=0x1]='HELLO',_0x379670[_0x379670[_0x1d6855(0x32d)]=0x2]=_0x1d6855(0x32d),_0x379670[_0x379670[_0x1d6855(0x457)]=0x3]=_0x1d6855(0x457),_0x379670[_0x379670[_0x1d6855(0x39d)]=0x4]=_0x1d6855(0x39d),_0x379670[_0x379670[_0x1d6855(0x35e)]=0x5]=_0x1d6855(0x35e),_0x379670[_0x379670[_0x1d6855(0x2e9)]=0x6]='RECV',_0x379670[_0x379670['UNRECOGNIZED']=-0x1]=_0x1d6855(0x404),_0x379670))(_0x424f21||{}),_0x5982c5=(_0x1e3195=>(_0x1e3195[_0x1e3195[_0x1d6855(0x2e5)]=0x0]=_0x1d6855(0x2e5),_0x1e3195[_0x1e3195['OK']=0x1]='OK',_0x1e3195[_0x1e3195[_0x1d6855(0x175)]=0x2]=_0x1d6855(0x175),_0x1e3195[_0x1e3195[_0x1d6855(0x242)]=0x3e9]=_0x1d6855(0x242),_0x1e3195[_0x1e3195[_0x1d6855(0x40e)]=0x3ea]=_0x1d6855(0x40e),_0x1e3195[_0x1e3195['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x1e3195[_0x1e3195[_0x1d6855(0x48a)]=0x3ec]=_0x1d6855(0x48a),_0x1e3195[_0x1e3195[_0x1d6855(0x404)]=-0x1]=_0x1d6855(0x404),_0x1e3195))(_0x5982c5||{}),_0x20e8f5=(_0x540251=>(_0x540251[_0x540251[_0x1d6855(0x461)]=0x0]='Undefined',_0x540251[_0x540251[_0x1d6855(0x38b)]=0x1]=_0x1d6855(0x38b),_0x540251[_0x540251[_0x1d6855(0x352)]=0x2]=_0x1d6855(0x352),_0x540251[_0x540251[_0x1d6855(0x1bb)]=0x3]=_0x1d6855(0x1bb),_0x540251[_0x540251[_0x1d6855(0x25b)]=0x4]=_0x1d6855(0x25b),_0x540251[_0x540251['UserProfileImg']=0x5]=_0x1d6855(0x163),_0x540251[_0x540251['ClipsheetFragments']=0x6]=_0x1d6855(0x16a),_0x540251[_0x540251[_0x1d6855(0x404)]=-0x1]=_0x1d6855(0x404),_0x540251))(_0x20e8f5||{});const _0x3dc092=_0x1d6855(0x43d);function _0x2f47a3(_0x1afdf9){return JSON['stringify'](_0x1afdf9)['length'];}var _0x2fc6ea=(_0x2b4423=>(_0x2b4423[_0x1d6855(0x19c)]=_0x1d6855(0x19c),_0x2b4423['PERMISSION_DENIED']=_0x1d6855(0x16e),_0x2b4423[_0x1d6855(0x3fd)]='CONFLICT',_0x2b4423[_0x1d6855(0x313)]=_0x1d6855(0x313),_0x2b4423['JOIN_ROOM_FAILED']=_0x1d6855(0x1d0),_0x2b4423[_0x1d6855(0x1d8)]=_0x1d6855(0x1d8),_0x2b4423[_0x1d6855(0x48f)]='SOCKET_FAILED',_0x2b4423[_0x1d6855(0x380)]=_0x1d6855(0x380),_0x2b4423))(_0x2fc6ea||{});class _0x28554a{constructor(){var _0x59696d=_0x1d6855;_0x1c0f2e(this,_0x59696d(0x3ef),new _0x55db85[(_0x59696d(0x46e))]()),_0x1c0f2e(this,'event$',this[_0x59696d(0x3ef)]['asObservable']());}['emitEvent'](_0x22f973){var _0x11c580=_0x1d6855;this[_0x11c580(0x3ef)][_0x11c580(0x155)](_0x22f973);}}class _0x22c8a8{constructor(){var _0x3bbf13=_0x1d6855;_0x1c0f2e(this,'_commentUpdate$',new _0x55db85[(_0x3bbf13(0x46e))]()),_0x1c0f2e(this,'commentUpdate$',this['_commentUpdate$'][_0x3bbf13(0x1c4)]());}['onCommentUpdate'](_0x3f8cbb){var _0x15dd70=_0x1d6855;this[_0x15dd70(0x48c)][_0x15dd70(0x155)](_0x3f8cbb);}}var _0x17df8f=Object[_0x1d6855(0x1e7)],_0x114639=(_0x39d22a,_0x53af00,_0x49e60b,_0x4e8bc2)=>{var _0x523278=_0x1d6855;for(var _0xcb6cbe=_0x4e8bc2>0x1?void 0x0:_0x4e8bc2?_0x17df8f(_0x53af00,_0x49e60b):_0x53af00,_0x40caa5=_0x39d22a[_0x523278(0x161)]-0x1,_0x1e70d7;_0x40caa5>=0x0;_0x40caa5--)(_0x1e70d7=_0x39d22a[_0x40caa5])&&(_0xcb6cbe=_0x1e70d7(_0xcb6cbe)||_0xcb6cbe);return _0xcb6cbe;},_0x58a352=(_0x4ef9f6,_0x4b835e)=>(_0x9db3db,_0x34bc25)=>_0x4b835e(_0x9db3db,_0x34bc25,_0x4ef9f6);_0xa2dc9b[_0x1d6855(0x138)]=class extends _0x95e227[_0x1d6855(0x3b0)]{constructor(_0x1af378,_0x5f43e5){var _0x52eb89=_0x1d6855;super(),_0x1c0f2e(this,'_roomMembers',new Map()),_0x1c0f2e(this,_0x52eb89(0x438),new _0x55db85[(_0x52eb89(0x46e))]()),(this[_0x52eb89(0x1ac)]=_0x1af378,this[_0x52eb89(0x211)]=_0x5f43e5,this[_0x52eb89(0x2e1)](_0x55db85[_0x52eb89(0x333)](this[_0x52eb89(0x1ac)]['getTypeOfUnitDisposed$'](_0x95e227[_0x52eb89(0x1cd)][_0x52eb89(0x3a4)])[_0x52eb89(0x3d5)](_0x20ce0a[_0x52eb89(0x1ce)](_0x5e1e04=>_0x5e1e04['getUnitId']())),this[_0x52eb89(0x1ac)][_0x52eb89(0x17e)](_0x95e227[_0x52eb89(0x1cd)]['UNIVER_DOC'])[_0x52eb89(0x3d5)](_0x20ce0a['map'](_0x51d235=>_0x51d235[_0x52eb89(0x29d)]())),this[_0x52eb89(0x1ac)][_0x52eb89(0x17e)](_0x95e227[_0x52eb89(0x1cd)][_0x52eb89(0x11a)])[_0x52eb89(0x3d5)](_0x20ce0a[_0x52eb89(0x1ce)](_0x3818c1=>_0x3818c1['getUnitId']())))[_0x52eb89(0x41e)](_0x1122e6=>this['_removeRoom'](_0x1122e6))));}[_0x1d6855(0x1e1)](_0xd38ce7){var _0xa43c85=_0x1d6855;return this[_0xa43c85(0x2a2)][_0xa43c85(0x413)](_0xd38ce7)?_0x55db85['of'](this[_0xa43c85(0x2a2)][_0xa43c85(0x34c)](_0xd38ce7)):this[_0xa43c85(0x438)]['pipe'](_0x20ce0a[_0xa43c85(0x1ce)](_0x387d7d=>{var _0x1c38be=_0xa43c85;if(_0x387d7d===_0xd38ce7)return this[_0x1c38be(0x2a2)][_0x1c38be(0x34c)](_0x387d7d);}));}[_0x1d6855(0x2f3)](_0x3a84c6){var _0x4005af=_0x1d6855;this[_0x4005af(0x211)][_0x4005af(0x2f3)](_0x3a84c6);}['getCurrentUser'](){var _0x4ffbca=_0x1d6855;return this[_0x4ffbca(0x211)][_0x4ffbca(0x263)]();}[_0x1d6855(0x3b5)](_0x583452,_0x36163d){var _0xe51b83=_0x1d6855;let _0x24dec5=this[_0xe51b83(0x2a2)][_0xe51b83(0x34c)](_0x583452);_0x24dec5||(_0x24dec5=new _0x1ea5e3(),this[_0xe51b83(0x2a2)][_0xe51b83(0x3ca)](_0x583452,_0x24dec5),this['_roomCreated$']['next'](_0x583452)),_0x24dec5[_0xe51b83(0x3b5)](_0x36163d);}[_0x1d6855(0x1c6)](_0x468f7b,_0x56f867){var _0x30589a=_0x1d6855;const _0x330eba=this[_0x30589a(0x2a2)][_0x30589a(0x34c)](_0x468f7b);_0x330eba&&_0x330eba[_0x30589a(0x1c6)](_0x56f867);}[_0x1d6855(0x1ff)](_0x2b0b8e){var _0x56e0c0=_0x1d6855;return this[_0x56e0c0(0x2a2)]['get'](_0x2b0b8e);}[_0x1d6855(0x221)](_0x7c045c,_0x56a909){var _0x52c514=_0x1d6855;const _0x54b46e=this[_0x52c514(0x2a2)][_0x52c514(0x34c)](_0x7c045c);if(_0x54b46e)return _0x54b46e[_0x52c514(0x221)](_0x56a909);}[_0x1d6855(0x307)](_0x501470){var _0x2cfbc8=_0x1d6855;const _0x2c513e=this[_0x2cfbc8(0x2a2)]['get'](_0x501470);_0x2c513e&&(_0x2c513e[_0x2cfbc8(0x3a0)](),this[_0x2cfbc8(0x2a2)]['delete'](_0x501470));}[_0x1d6855(0x3a0)](){var _0x58b6a2=_0x1d6855;this[_0x58b6a2(0x2a2)]['forEach'](_0x2e4b96=>_0x2e4b96[_0x58b6a2(0x3a0)]()),this[_0x58b6a2(0x2a2)][_0x58b6a2(0x134)](),this[_0x58b6a2(0x438)][_0x58b6a2(0x2dc)]();}},_0xa2dc9b[_0x1d6855(0x138)]=_0x114639([_0x58a352(0x0,_0x95e227['IUniverInstanceService']),_0x58a352(0x1,_0x95e227['Inject'](_0x95e227['UserManagerService']))],_0xa2dc9b[_0x1d6855(0x138)]);class _0x1ea5e3 extends _0x95e227[_0x1d6855(0x3b0)]{constructor(){var _0x2634b8=_0x1d6855;super(...arguments),_0x1c0f2e(this,_0x2634b8(0x483),new Map()),_0x1c0f2e(this,'_members$',new _0x55db85[(_0x2634b8(0x38e))](this[_0x2634b8(0x483)])),_0x1c0f2e(this,_0x2634b8(0x1de),this[_0x2634b8(0x40d)][_0x2634b8(0x1c4)]());}[_0x1d6855(0x3a0)](){var _0x218ce4=_0x1d6855;this[_0x218ce4(0x483)][_0x218ce4(0x134)]();}[_0x1d6855(0x3b5)](_0x30abf2){var _0x3d9754=_0x1d6855;this[_0x3d9754(0x483)][_0x3d9754(0x3ca)](_0x30abf2[_0x3d9754(0x295)],_0x30abf2),this[_0x3d9754(0x203)]();}[_0x1d6855(0x1c6)](_0xab9de){this['_members']['delete'](_0xab9de);}[_0x1d6855(0x221)](_0x5d8c3c){var _0x1c550a=_0x1d6855;return this[_0x1c550a(0x483)][_0x1c550a(0x34c)](_0x5d8c3c);}[_0x1d6855(0x1e8)](){var _0x3804a9=_0x1d6855;return Array[_0x3804a9(0x450)](this[_0x3804a9(0x483)]['values']());}[_0x1d6855(0x203)](){var _0x4ea080=_0x1d6855;this[_0x4ea080(0x40d)][_0x4ea080(0x155)](this[_0x4ea080(0x483)]);}}var _0x58d15d=Object[_0x1d6855(0x1e7)],_0x510446=(_0x511f65,_0x29171f,_0x459c7e,_0x321a8b)=>{var _0x3db6ba=_0x1d6855;for(var _0x2f5dba=_0x321a8b>0x1?void 0x0:_0x321a8b?_0x58d15d(_0x29171f,_0x459c7e):_0x29171f,_0x108b94=_0x511f65[_0x3db6ba(0x161)]-0x1,_0x1471e1;_0x108b94>=0x0;_0x108b94--)(_0x1471e1=_0x511f65[_0x108b94])&&(_0x2f5dba=_0x1471e1(_0x2f5dba)||_0x2f5dba);return _0x2f5dba;},_0x1a829d=(_0x2fa402,_0x38d59e)=>(_0x2b8fbd,_0x17de6c)=>_0x38d59e(_0x2b8fbd,_0x17de6c,_0x2fa402),_0x5488ec=(_0x7671bc=>(_0x7671bc[_0x7671bc[_0x1d6855(0x132)]=0x0]=_0x1d6855(0x132),_0x7671bc[_0x7671bc[_0x1d6855(0x2b5)]=0x1]=_0x1d6855(0x2b5),_0x7671bc[_0x7671bc['OFFLINE']=0x2]=_0x1d6855(0x3fc),_0x7671bc[_0x7671bc[_0x1d6855(0x496)]=0x3]='ONLINE',_0x7671bc))(_0x5488ec||{});const _0x2c2d42={[_0x5982c5[_0x1d6855(0x175)]]:_0x1d6855(0x277),[_0x5982c5[_0x1d6855(0x242)]]:_0x1d6855(0x364),[_0x5982c5[_0x1d6855(0x40e)]]:_0x1d6855(0x228),[_0x5982c5[_0x1d6855(0x377)]]:_0x1d6855(0x298),[_0x5982c5['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x1d6855(0x2e6)};_0xa2dc9b['CollaborationSession']=class extends _0x95e227[_0x1d6855(0x39a)]{constructor(_0x43e3f6,_0x4537f7,_0x23960e,_0x33ae50,_0x3bdc17,_0x1decfc,_0x1aa574,_0x5811e2){var _0x178a7d=_0x1d6855;super(),_0x1c0f2e(this,_0x178a7d(0x186),new _0x55db85[(_0x178a7d(0x38e))](0x0)),_0x1c0f2e(this,_0x178a7d(0x412),this[_0x178a7d(0x186)]['asObservable']()),_0x1c0f2e(this,_0x178a7d(0x3ef),new _0x55db85[(_0x178a7d(0x46e))]()),_0x1c0f2e(this,_0x178a7d(0x3bb),this[_0x178a7d(0x3ef)][_0x178a7d(0x1c4)]()),_0x1c0f2e(this,_0x178a7d(0x1df)),_0x1c0f2e(this,'_socketMessageSubscription'),_0x1c0f2e(this,_0x178a7d(0x497)),_0x1c0f2e(this,_0x178a7d(0x2e8),!0x1),_0x1c0f2e(this,_0x178a7d(0x154),null),(this['_unitID']=_0x43e3f6,this[_0x178a7d(0x1f4)]=_0x23960e,this['_configService']=_0x33ae50,this[_0x178a7d(0x372)]=_0x3bdc17,this['_commentService']=_0x1decfc,this[_0x178a7d(0x180)]=_0x1aa574,this['_telemetryService']=_0x5811e2,this[_0x178a7d(0x2e8)]=!!this[_0x178a7d(0x2c6)],_0x4537f7[_0x178a7d(0x3d5)](_0x55db85['takeUntil'](this[_0x178a7d(0x232)]))['subscribe'](_0x36d4a3=>{var _0x4ec372=_0x178a7d,_0x511af7;typeof _0x36d4a3>'u'||(this['_socket']=_0x36d4a3,_0x36d4a3?(this[_0x4ec372(0x3fb)](_0x36d4a3),this['_socketMessageSubscription']=_0x36d4a3[_0x4ec372(0x158)][_0x4ec372(0x41e)](_0x488952=>{var _0x57a6be=_0x4ec372;_0x488952[_0x57a6be(0x222)]===this[_0x57a6be(0x1b7)]&&this[_0x57a6be(0x18e)](_0x488952);})):(this[_0x4ec372(0x1da)](),this[_0x4ec372(0x186)]['next'](0x2),(_0x511af7=this[_0x4ec372(0x320)])==null||_0x511af7[_0x4ec372(0x1a0)](),this[_0x4ec372(0x320)]=null));}));}get[_0x1d6855(0x480)](){var _0x7bf440=_0x1d6855;return this[_0x7bf440(0x186)][_0x7bf440(0x312)]();}[_0x1d6855(0x25e)](){var _0x2b3bab=_0x1d6855,_0xd40169,_0x8f6d38;return(_0x8f6d38=(_0xd40169=this[_0x2b3bab(0x1df)])==null?void 0x0:_0xd40169['memberID'])!=null?_0x8f6d38:null;}[_0x1d6855(0x3a0)](){var _0x4477c5=_0x1d6855;super[_0x4477c5(0x3a0)](),this[_0x4477c5(0x232)][_0x4477c5(0x155)](),this['dispose$'][_0x4477c5(0x2dc)]();}[_0x1d6855(0x15c)](){var _0x43cf1d=_0x1d6855,_0x33fc88,_0x4b14ff;this[_0x43cf1d(0x1da)](),(_0x33fc88=this[_0x43cf1d(0x1df)])==null||_0x33fc88[_0x43cf1d(0x235)]({'cmd':_0x424f21[_0x43cf1d(0x457)],'data':{'roomID':this[_0x43cf1d(0x1b7)]}}),(_0x4b14ff=this[_0x43cf1d(0x1df)])==null||_0x4b14ff[_0x43cf1d(0x15c)](),this['_event$'][_0x43cf1d(0x2dc)](),this[_0x43cf1d(0x186)][_0x43cf1d(0x2dc)](),this['dispose']();}['_onCombEvent'](_0x555368){var _0x1eeade=_0x1d6855;_0x555368[_0x1eeade(0x40a)]===_0x424f21[_0x1eeade(0x32d)]?this[_0x1eeade(0x395)](_0x555368):_0x555368['cmd']===_0x424f21[_0x1eeade(0x2e9)]&&this[_0x1eeade(0x118)](_0x555368);}[_0x1d6855(0x3fb)](_0x23cc7a){var _0x50a2d6=_0x1d6855;this[_0x50a2d6(0x186)][_0x50a2d6(0x155)](0x1),_0x23cc7a['send']({'cmd':_0x424f21[_0x50a2d6(0x32d)],'routeKey':this[_0x50a2d6(0x1b7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x50a2d6(0x1b7)]}]}});}['_onJoinRoomEvent'](_0x4ab06c){var _0x4c1db2=_0x1d6855,_0x55992e;if(_0x4ab06c['code']in _0x2c2d42){this['_collaborationUIEventService'][_0x4c1db2(0x14e)]({'id':_0x2fc6ea['JOIN_ROOM_FAILED'],'data':_0x2c2d42[_0x4ab06c['code']]}),this[_0x4c1db2(0x186)][_0x4c1db2(0x155)](0x2);return;}this[_0x4c1db2(0x186)][_0x4c1db2(0x155)](0x3);const _0x63626d=(_0x55992e=_0x4ab06c[_0x4c1db2(0x1d9)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x55992e[_0x4c1db2(0x421)];_0x63626d&&_0x63626d[_0x4c1db2(0x1c0)](_0x2441d5=>this[_0x4c1db2(0x372)]['updateMember'](this[_0x4c1db2(0x1b7)],_0x2441d5));}[_0x1d6855(0x118)](_0x5d4a4a){var _0x388a7b=_0x1d6855;try{const _0x338914=_0x5d4a4a[_0x388a7b(0x1d9)];switch(_0x338914['eventID']){case _0x444836['CollaborationEvent']['USERS_ENTER']:this['_onUserJoin'](_0x338914),this['_event$'][_0x388a7b(0x155)](_0x338914);break;case _0x444836[_0x388a7b(0x3a5)][_0x388a7b(0x3d0)]:this[_0x388a7b(0x127)](_0x338914),this['_event$'][_0x388a7b(0x155)](_0x338914);break;case _0x444836[_0x388a7b(0x3a5)]['CHANGESET_ACK']:case _0x444836['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0x388a7b(0x46d)](),this[_0x388a7b(0x253)](),this[_0x388a7b(0x3ef)][_0x388a7b(0x155)](_0x338914);break;case _0x444836[_0x388a7b(0x3a5)][_0x388a7b(0x3b9)]:this[_0x388a7b(0x1f4)][_0x388a7b(0x23e)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x388a7b(0x1f9)](_0x338914)),this[_0x388a7b(0x3ef)][_0x388a7b(0x155)](_0x338914);break;case _0x444836[_0x388a7b(0x3a5)][_0x388a7b(0x316)]:this[_0x388a7b(0x490)]['onCommentUpdate'](_0x338914['data']),this[_0x388a7b(0x3ef)]['next'](_0x338914);break;default:this[_0x388a7b(0x3ef)][_0x388a7b(0x155)](_0x338914);}}catch(_0x59269a){this['_logService'][_0x388a7b(0x23e)](_0x59269a,_0x5d4a4a);}}[_0x1d6855(0x21b)](_0x9113e8){var _0x11bed0=_0x1d6855;this[_0x11bed0(0x372)]['updateMember'](this[_0x11bed0(0x1b7)],_0x9113e8[_0x11bed0(0x1d9)]);}['_onUserLeave'](_0x30ea48){var _0x13c2c0=_0x1d6855;this[_0x13c2c0(0x372)][_0x13c2c0(0x1c6)](this[_0x13c2c0(0x1b7)],_0x30ea48[_0x13c2c0(0x1d9)]['memberID']);}async[_0x1d6855(0x235)](_0xd95b38,_0x2560c1){var _0x15cdc0=_0x1d6855;if(this['sessionStatus']!==0x3||!this[_0x15cdc0(0x1df)])throw new Error(_0x15cdc0(0x24b));try{_0xd95b38[_0x15cdc0(0x214)]===_0x444836[_0x15cdc0(0x3a5)]['SUBMIT_CHANGESET']&&(this[_0x15cdc0(0x2af)](),this[_0x15cdc0(0x3c2)](_0xd95b38)),this[_0x15cdc0(0x1df)]['send']({'cmd':_0x424f21[_0x15cdc0(0x39d)],'routeKey':_0x2560c1,'routeType':'','data':_0xd95b38});}catch(_0x31e47f){this[_0x15cdc0(0x1f4)][_0x15cdc0(0x23e)](_0x31e47f);}}[_0x1d6855(0x2af)](){var _0x249672=_0x1d6855,_0x11421d;this[_0x249672(0x497)]=setTimeout(()=>{var _0x5d0332=_0x249672;this[_0x5d0332(0x497)]=null,this[_0x5d0332(0x180)][_0x5d0332(0x14e)]({'id':_0x2fc6ea[_0x5d0332(0x380)]});},(_0x11421d=this[_0x249672(0x1fc)][_0x249672(0x159)](_0x430bfd))!=null?_0x11421d:0x4e20);}[_0x1d6855(0x253)](){var _0xdeb3a2=_0x1d6855;this[_0xdeb3a2(0x497)]&&(clearTimeout(this[_0xdeb3a2(0x497)]),this['_collaborationTimeoutTimer']=null);}[_0x1d6855(0x3c2)](_0x58fb56){var _0x283ab8=_0x1d6855;if(!this['_shouldReportTelemetry'])return;const {data:_0x45392e}=_0x58fb56,{unitID:_0x5343f8,changeset:_0xcd2058}=_0x45392e,{mutations:_0x1094c7,type:_0xe1e2a5}=_0xcd2058;this[_0x283ab8(0x154)]={'unitId':_0x5343f8,'type':_0xe1e2a5,'startTime':performance[_0x283ab8(0x10d)](),'stopTime':0x0,'duration':0x0,'size':_0x2f47a3(_0x1094c7)};}[_0x1d6855(0x46d)](){var _0x376a69=_0x1d6855;if(this[_0x376a69(0x2e8)]){if(!this[_0x376a69(0x154)]){this[_0x376a69(0x1f4)]['error'](_0x376a69(0x399),_0x376a69(0x15a));return;}this[_0x376a69(0x154)][_0x376a69(0x32a)]=performance[_0x376a69(0x10d)](),this[_0x376a69(0x154)][_0x376a69(0x1ef)]=this['_telemetryInfo']['stopTime']-this[_0x376a69(0x154)]['startTime'],this[_0x376a69(0x2c6)][_0x376a69(0x470)](_0x3dc092,this[_0x376a69(0x154)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},_0xa2dc9b[_0x1d6855(0x20c)]=_0x510446([_0x1a829d(0x2,_0x95e227[_0x1d6855(0x11b)]),_0x1a829d(0x3,_0x95e227[_0x1d6855(0x408)]),_0x1a829d(0x4,_0x95e227[_0x1d6855(0x3da)](_0xa2dc9b[_0x1d6855(0x138)])),_0x1a829d(0x5,_0x95e227[_0x1d6855(0x3da)](_0x22c8a8)),_0x1a829d(0x6,_0x95e227[_0x1d6855(0x3da)](_0x28554a)),_0x1a829d(0x7,_0x95e227['Optional'](_0x1d8c4b[_0x1d6855(0x17d)]))],_0xa2dc9b['CollaborationSession']);const _0x1e8401=_0x95e227[_0x1d6855(0x447)](_0x1d6855(0x33f));function _0x3436cd(_0x529aac){return'unit-cache-'+_0x529aac;}var _0x47b41f=Object[_0x1d6855(0x1e7)],_0x54ad57=(_0x279f41,_0x54598b,_0x1e4680,_0xd16f1b)=>{var _0x44928a=_0x1d6855;for(var _0xee0354=_0xd16f1b>0x1?void 0x0:_0xd16f1b?_0x47b41f(_0x54598b,_0x1e4680):_0x54598b,_0x5ef407=_0x279f41[_0x44928a(0x161)]-0x1,_0x5664d1;_0x5ef407>=0x0;_0x5ef407--)(_0x5664d1=_0x279f41[_0x5ef407])&&(_0xee0354=_0x5664d1(_0xee0354)||_0xee0354);return _0xee0354;},_0x11cdd2=(_0x1e7d8b,_0x2e86ce)=>(_0x1e3c36,_0x168b2b)=>_0x2e86ce(_0x1e3c36,_0x168b2b,_0x1e7d8b);function _0x141b2(_0x12cc48){var _0x5ad8d2=_0x1d6855;const {unitID:_0x4dcb5f,mutations:_0x32fa5e}=_0x12cc48;return{'unitId':_0x4dcb5f,'subUnitId':_0x32fa5e[_0x5ad8d2(0x161)]>0x0?_0x32fa5e[0x0][_0x5ad8d2(0x21e)][_0x5ad8d2(0x3db)]:null};}_0xa2dc9b[_0x1d6855(0x40c)]=class{constructor(_0x273923,_0xd18645,_0x3692fc){var _0x356b0b=_0x1d6855;this[_0x356b0b(0x2a7)]=_0x273923,this[_0x356b0b(0x336)]=_0xd18645,this['_instanceService']=_0x3692fc;}['transformSelections'](_0x3a270f){var _0x249228=_0x1d6855,_0x327806,_0x25bc5c,_0x5defc7,_0x287aac;const _0x11b019=this['_injector'][_0x249228(0x34c)](_0x5fb515[_0x249228(0x3e8)]),{unitId:_0x5ddca6,subUnitId:_0x3812df}=_0x141b2(_0x3a270f),_0x4310d5=_0x11b019==null?void 0x0:_0x11b019[_0x249228(0x3e3)](_0x5ddca6)[_0x249228(0x2b3)](),_0x216d9b=(_0x25bc5c=(_0x327806=this[_0x249228(0x3e4)]['getUnit'](_0x5ddca6))==null?void 0x0:_0x327806[_0x249228(0x43a)]())==null?void 0x0:_0x25bc5c['getSheetId']();if(_0x4310d5['length']===0x0||!_0x5ddca6||!_0x3812df)return;const _0x147f33=[{'id':_0x5fb515['SetSelectionsOperation']['id'],'params':{'unitId':_0x5ddca6,'subUnitId':_0x216d9b,'selections':_0x95e227[_0x249228(0x2a6)]['deepClone'](_0x4310d5)}}],_0x5bfa1c=this[_0x249228(0x336)][_0x249228(0x38a)](_0x3a270f,_0x147f33);if(!_0x444836[_0x249228(0x287)](_0x5bfa1c))throw _0x5bfa1c[_0x249228(0x23e)];const _0x1f9dcf=(_0x287aac=(_0x5defc7=_0x5bfa1c[_0x249228(0x1b2)][0x0])==null?void 0x0:_0x5defc7[_0x249228(0x21e)])==null?void 0x0:_0x287aac['selections'];if(Array['isArray'](_0x1f9dcf)&&_0x1f9dcf[_0x249228(0x161)]){if(_0x1f9dcf[_0x249228(0x161)]===_0x147f33[0x0][_0x249228(0x21e)][_0x249228(0x34b)]['length']&&_0x1f9dcf[_0x249228(0x276)]((_0x3406b2,_0x3ea696)=>_0x95e227['Rectangle'][_0x249228(0x33e)](_0x3406b2[_0x249228(0x165)],_0x147f33[0x0][_0x249228(0x21e)]['selections'][_0x3ea696][_0x249228(0x165)])))return;this[_0x249228(0x2a7)]['get'](_0x95e227['ICommandService'])['executeCommand'](_0x5fb515['SetSelectionsOperation']['id'],{'unitId':_0x5ddca6,'subUnitId':_0x216d9b,'selections':_0x1f9dcf});}}},_0xa2dc9b[_0x1d6855(0x40c)]=_0x54ad57([_0x11cdd2(0x0,_0x95e227['Inject'](_0x95e227['Injector'])),_0x11cdd2(0x1,_0x444836[_0x1d6855(0x478)]),_0x11cdd2(0x2,_0x95e227[_0x1d6855(0x47b)])],_0xa2dc9b[_0x1d6855(0x40c)]);const _0x2f6a3a=_0x95e227[_0x1d6855(0x447)](_0x1d6855(0x254));var _0x339b9a=(_0xe56e6a=>(_0xe56e6a[_0xe56e6a['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x1d6855(0x2b7),_0xe56e6a[_0xe56e6a[_0x1d6855(0x2e3)]=0x1]=_0x1d6855(0x2e3),_0xe56e6a))(_0x339b9a||{});const _0x3a9eb9=_0x1d6855(0x474),_0x98c23e={};function _0x362a47(_0x3fbcc2){var _0x2a6e13=_0x1d6855,_0x5b0b77;return!!((_0x5b0b77=_0x3fbcc2[_0x2a6e13(0x21e)])!=null&&_0x5b0b77[_0x2a6e13(0x16b)]);}const _0x1280e4=new Set([_0x5fb515[_0x1d6855(0x37a)]['id']]);function _0x3d3499(_0x2c46dd,_0xbd58cd,_0x372a3d,_0x2a2f2a,_0x46716a){var _0x2e76a9=_0x1d6855,_0xcd9550,_0x478fa0,_0x1571c7,_0x2c045f;const _0x20a396=[];for(const _0x2332a1 of _0x2c46dd){if(_0x1280e4['has'](_0x2332a1['id'])){if(_0x20a396[_0x2e76a9(0x161)]>0x0)break;_0x20a396[_0x2e76a9(0x3a3)](_0x2332a1);break;}if(_0x362a47(_0x2332a1)){if(_0x20a396['length']>0x0)break;_0x20a396[_0x2e76a9(0x3a3)](_0x2332a1);break;}_0x20a396[_0x2e76a9(0x3a3)](_0x2332a1);}const _0x4ce822=(_0x478fa0=(_0xcd9550=_0x46716a[_0x2e76a9(0x263)]())==null?void 0x0:_0xcd9550[_0x2e76a9(0x3ab)])!=null?_0x478fa0:_0x2e76a9(0x3d6),_0x740b07=(_0x2c045f=(_0x1571c7=_0x46716a[_0x2e76a9(0x263)]())==null?void 0x0:_0x1571c7[_0x2e76a9(0x295)])!=null?_0x2c045f:'unknown';return{'changeset':{'unitID':_0xbd58cd,'type':_0x444836[_0x2e76a9(0x371)](_0x372a3d[_0x2e76a9(0x35f)](_0xbd58cd)),'baseRev':_0x2a2f2a['getCurrentRevOfUnit'](_0xbd58cd),'revision':0x0,'userID':_0x4ce822,'memberID':_0x740b07,'mutations':_0x20a396},'pendingMutations':_0x2c46dd[_0x2e76a9(0x160)](_0x20a396[_0x2e76a9(0x161)])};}function _0x3efaa8(_0x5db469,_0x453d3d,_0x73aa9c,_0x4bbe33,_0x23784b){var _0x3ea74b=_0x1d6855,_0x378bd9,_0xe8c1cf,_0x4ec705,_0x8643cd;const _0x2bb25d=[_0x5db469[_0x3ea74b(0x1fe)]((_0x264ffd,_0x112eec)=>{var _0x24f1ff=_0x3ea74b,_0x24365d;const {id:_0x49b8f2}=_0x264ffd,{id:_0x5a3b31,type:_0x23f303}=_0x112eec,_0x5a704a=(_0x24365d=_0x264ffd[_0x24f1ff(0x21e)])!=null?_0x24365d:{'actions':null},_0x5b8e2d=_0x112eec[_0x24f1ff(0x21e)];if(_0x49b8f2&&_0x49b8f2!==_0x5a3b31)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x49b8f2+_0x24f1ff(0x1f6)+_0x5a3b31+'.');return{..._0x264ffd,'id':_0x5a3b31,'type':_0x23f303,'params':{'unitId':_0x5b8e2d[_0x24f1ff(0x15f)],'textRanges':_0x5b8e2d[_0x24f1ff(0x156)],'actions':_0x95e227[_0x24f1ff(0x19e)][_0x24f1ff(0x291)](_0x5a704a[_0x24f1ff(0x3f0)],_0x5b8e2d[_0x24f1ff(0x3f0)])}};},{})],_0x23b5eb=(_0xe8c1cf=(_0x378bd9=_0x23784b[_0x3ea74b(0x263)]())==null?void 0x0:_0x378bd9[_0x3ea74b(0x3ab)])!=null?_0xe8c1cf:_0x3ea74b(0x3d6),_0x30959b=(_0x8643cd=(_0x4ec705=_0x23784b[_0x3ea74b(0x263)]())==null?void 0x0:_0x4ec705[_0x3ea74b(0x295)])!=null?_0x8643cd:_0x3ea74b(0x3d6);return{'changeset':{'unitID':_0x453d3d,'type':_0x444836[_0x3ea74b(0x371)](_0x73aa9c[_0x3ea74b(0x35f)](_0x453d3d)),'baseRev':_0x4bbe33[_0x3ea74b(0x2ef)](_0x453d3d),'revision':0x0,'userID':_0x23b5eb,'memberID':_0x30959b,'mutations':_0x2bb25d},'pendingMutations':[]};}function _0x5491a9(_0x7f6d7,_0x55d24f){var _0x482d30=_0x1d6855;const _0x50f860=new _0x55db85[(_0x482d30(0x237))](0x1);return setTimeout(()=>_0x50f860[_0x482d30(0x155)](_0x55d24f),_0x7f6d7),_0x50f860['asObservable']()[_0x482d30(0x3d5)](_0x55db85[_0x482d30(0x1e6)](0x1));}var _0x8a2c77=Object[_0x1d6855(0x1e7)],_0x4396fe=(_0x3dd5f3,_0x12c628,_0x7fa199,_0x143a27)=>{var _0x48802a=_0x1d6855;for(var _0x10f4ec=_0x143a27>0x1?void 0x0:_0x143a27?_0x8a2c77(_0x12c628,_0x7fa199):_0x12c628,_0x37de39=_0x3dd5f3[_0x48802a(0x161)]-0x1,_0x49834c;_0x37de39>=0x0;_0x37de39--)(_0x49834c=_0x3dd5f3[_0x37de39])&&(_0x10f4ec=_0x49834c(_0x10f4ec)||_0x10f4ec);return _0x10f4ec;},_0x579359=(_0x18aeae,_0x4db26f)=>(_0x3d12d7,_0x4f6fb4)=>_0x4db26f(_0x3d12d7,_0x4f6fb4,_0x18aeae),_0x2f41f4=(_0x4d0545=>(_0x4d0545[_0x1d6855(0x27f)]=_0x1d6855(0x11c),_0x4d0545['SYNCED']=_0x1d6855(0x14d),_0x4d0545['PENDING']=_0x1d6855(0x1e2),_0x4d0545[_0x1d6855(0x238)]=_0x1d6855(0x2f0),_0x4d0545['AWAITING_WITH_PENDING']=_0x1d6855(0x3b8),_0x4d0545[_0x1d6855(0x379)]=_0x1d6855(0x38f),_0x4d0545[_0x1d6855(0x3fd)]='conflict',_0x4d0545[_0x1d6855(0x3fc)]='offline',_0x4d0545))(_0x2f41f4||{});const _0x343f64=0x4e20,_0x4ebefb=0x2bf20;class _0x19fe4b{constructor(_0x850fe3,_0x54f3e3,_0xfbd4c3,_0x5ce8d9,_0x2f5fdf,_0x81883,_0x3be200,_0x299964,_0x26b01d){var _0x280313=_0x1d6855;_0x1c0f2e(this,'_awaitingChangeset',null),_0x1c0f2e(this,_0x280313(0x26b),[]),(this[_0x280313(0x374)]=_0x850fe3,this[_0x280313(0x3fa)]=_0x54f3e3,this[_0x280313(0x30b)]=_0x2f5fdf,this[_0x280313(0x1e3)]=_0x81883,this['_undoRedoService']=_0x3be200,this['_revisionService']=_0x299964,this[_0x280313(0x468)]=_0x26b01d,this[_0x280313(0x22c)]=_0xfbd4c3,this['_pendingMutations']=_0x5ce8d9);}['_checkMissing'](_0x5ad281){var _0x345224=_0x1d6855;const _0x3e12da=this[_0x345224(0x114)][_0x345224(0x2ef)](this['unitID']);return _0x5ad281[_0x345224(0x141)]>_0x3e12da+0x1?(this[_0x345224(0x30b)][_0x345224(0x241)]({'from':_0x3e12da,'to':_0x5ad281[_0x345224(0x141)]-0x1}),!0x0):!0x1;}[_0x1d6855(0x391)](_0x3b27ca){var _0xc91fad=_0x1d6855;this[_0xc91fad(0x173)][_0xc91fad(0x32f)](this[_0xc91fad(0x374)],_0x3b27ca);}['_transformSelections'](_0x2109f5){var _0x1e6bc0=_0x1d6855,_0x1ba008,_0x124d7b;(_0x124d7b=(_0x1ba008=this[_0x1e6bc0(0x30b)])[_0x1e6bc0(0x28d)])==null||_0x124d7b[_0x1e6bc0(0x2f2)](_0x1ba008,_0x2109f5);}[_0x1d6855(0x1a7)](_0x21fd87){var _0x3a16cb=_0x1d6855,_0x583a72,_0x51b38f;return(_0x51b38f=(_0x583a72=this[_0x3a16cb(0x30b)])[_0x3a16cb(0x1af)])==null?void 0x0:_0x51b38f['call'](_0x583a72,_0x21fd87);}[_0x1d6855(0x3e1)](_0x37a9f9){var _0x311504=_0x1d6855,_0x595926,_0x55ece3;return(_0x55ece3=(_0x595926=this[_0x311504(0x30b)])[_0x311504(0x1f8)])==null?void 0x0:_0x55ece3[_0x311504(0x2f2)](_0x595926,_0x37a9f9);}[_0x1d6855(0x3d1)](_0x5bd099){var _0x48d25=_0x1d6855,_0x3f3ad9,_0x486fba,_0xc96214;return(_0xc96214=(_0x486fba=(_0x3f3ad9=this[_0x48d25(0x30b)])[_0x48d25(0x3c7)])==null?void 0x0:_0x486fba[_0x48d25(0x2f2)](_0x3f3ad9,_0x5bd099))!=null?_0xc96214:_0x5bd099;}[_0x1d6855(0x314)](_0x1ba765){var _0x5079cc=_0x1d6855,_0x1d6328,_0x3ec835,_0x244974;return(_0x244974=(_0x3ec835=(_0x1d6328=this[_0x5079cc(0x30b)])[_0x5079cc(0x262)])==null?void 0x0:_0x3ec835[_0x5079cc(0x2f2)](_0x1d6328,_0x1ba765))!=null?_0x244974:_0x1ba765;}[_0x1d6855(0x315)](_0x78440d){var _0x4d2d38=_0x1d6855,_0x5ef539,_0x39ac99;if(this[_0x4d2d38(0x3fa)]===_0x50e467[_0x4d2d38(0x133)]){const {unitID:_0x4a1397,mutations:_0x56bb71,memberID:_0x2bf373}=_0x78440d,_0x50ce1a=_0x56bb71[_0x4d2d38(0x161)]>0x0?_0x56bb71[0x0]['params'][_0x4d2d38(0x156)]:[];Array[_0x4d2d38(0x273)](_0x50ce1a)&&_0x50ce1a[_0x4d2d38(0x161)]>0x0&&((_0x39ac99=(_0x5ef539=this[_0x4d2d38(0x30b)])['onSyncEditingCollabCursor'])==null||_0x39ac99['call'](_0x5ef539,{'unitID':_0x4a1397,'memberID':_0x2bf373,'textRanges':_0x50ce1a}));}}[_0x1d6855(0x303)](){var _0x3f5ab0=_0x1d6855,_0x436256;(_0x436256=this[_0x3f5ab0(0x468)])==null||_0x436256[_0x3f5ab0(0x3bd)](this[_0x3f5ab0(0x374)],this[_0x3f5ab0(0x3fa)],this[_0x3f5ab0(0x22c)],this[_0x3f5ab0(0x26b)]);}['_getCurrentRevision'](){var _0x2cc6f2=_0x1d6855;return this[_0x2cc6f2(0x114)]['getCurrentRevOfUnit'](this[_0x2cc6f2(0x374)]);}[_0x1d6855(0x41d)](){var _0x4044f6=_0x1d6855;this[_0x4044f6(0x114)][_0x4044f6(0x300)](this[_0x4044f6(0x374)]);}['_executeRemoteChangeset'](_0x50a13b){var _0x4ea099=_0x1d6855,_0x173072;let _0x1e51ba=this[_0x4ea099(0x3d1)](_0x50a13b);_0x1e51ba=this[_0x4ea099(0x314)](_0x1e51ba);const _0x4cfccf=_0x95e227[_0x4ea099(0x1c2)](_0x1e51ba['mutations'],this[_0x4ea099(0x1e3)],{'fromCollab':!0x0});if(!_0x4cfccf[_0x4ea099(0x2b2)])throw _0x4cfccf[_0x4ea099(0x23e)]instanceof Error?_0x4cfccf['error']:new Error((_0x173072=_0x4cfccf[_0x4ea099(0x23e)])!=null?_0x173072:'[CollaborationState]:\x20apply\x20error!');this[_0x4ea099(0x1a7)](_0x1e51ba),this[_0x4ea099(0x3e1)](_0x1e51ba),this[_0x4ea099(0x391)](_0x50a13b),this[_0x4ea099(0x3a8)](_0x1e51ba),this[_0x4ea099(0x315)](_0x1e51ba),this[_0x4ea099(0x41d)]();}}_0xa2dc9b[_0x1d6855(0x209)]=class extends _0x19fe4b{constructor(_0x4c3a21,_0xf3306f,_0x54f463,_0x59d29a,_0x2e5a5d,_0x3a5150,_0x498043,_0x388db1,_0xd1c389,_0x29a6d7){var _0x208d57=_0x1d6855;super(_0x4c3a21,_0xf3306f,null,[],_0x54f463,_0x498043,_0x3a5150,_0x59d29a,_0x29a6d7),_0x1c0f2e(this,_0x208d57(0x151),_0x208d57(0x14d)),(this[_0x208d57(0x2a7)]=_0x2e5a5d,this['_logService']=_0x388db1,this[_0x208d57(0x336)]=_0xd1c389,this['localCacheService']=_0x29a6d7);}['appendMutation'](_0x26961f){var _0x168a1a=_0x1d6855;const _0x212be6=this[_0x168a1a(0x2a7)][_0x168a1a(0x24d)](_0xa2dc9b['PendingState'],this[_0x168a1a(0x374)],this[_0x168a1a(0x3fa)],[_0x26961f],this[_0x168a1a(0x30b)]);return _0x212be6[_0x168a1a(0x472)](),_0x212be6[_0x168a1a(0x303)](),_0x212be6;}[_0x1d6855(0x437)](_0x131f62){var _0x29514c=_0x1d6855;if(this[_0x29514c(0x1b4)](_0x131f62))return this[_0x29514c(0x2a7)][_0x29514c(0x24d)](_0xa2dc9b[_0x29514c(0x17f)],this[_0x29514c(0x374)],this['type'],null,[],null,[_0x131f62],this[_0x29514c(0x30b)]);try{const _0x46bc20=this[_0x29514c(0x336)][_0x29514c(0x38a)](_0x131f62,[_0x444836[_0x29514c(0x2c5)]]);if(_0x444836['isTransformMutationsWithChangesetSuccess'](_0x46bc20)){const {c1Prime:_0x10cc5e}=_0x46bc20;return this[_0x29514c(0x145)](_0x10cc5e),this;}throw _0x46bc20[_0x29514c(0x23e)];}catch(_0x30530b){return this[_0x29514c(0x1f4)][_0x29514c(0x23e)](_0x30530b),this[_0x29514c(0x456)](!0x1);}}[_0x1d6855(0x456)](_0xe55a54){var _0x5d6d7e=_0x1d6855;return this['_injector'][_0x5d6d7e(0x24d)](_0xa2dc9b['ConflictState'],this[_0x5d6d7e(0x374)],this['type'],null,[],this[_0x5d6d7e(0x30b)],_0xe55a54);}[_0x1d6855(0x44c)](){var _0x4a5d14=_0x1d6855;throw new Error(_0x4a5d14(0x256));}[_0x1d6855(0x1e5)](){var _0x4f562d=_0x1d6855;throw new Error(_0x4f562d(0x110));}[_0x1d6855(0x459)](){return this;}[_0x1d6855(0x47d)](){var _0x4fa9db=_0x1d6855;return this[_0x4fa9db(0x2a7)][_0x4fa9db(0x24d)](_0xa2dc9b['OfflineState'],this['unitID'],this['type'],null,[],this[_0x4fa9db(0x30b)]);}[_0x1d6855(0x327)](){return this;}[_0x1d6855(0x476)](){var _0x58c93b=_0x1d6855;throw new Error(_0x58c93b(0x410));}[_0x1d6855(0x407)](){var _0x3ba359=_0x1d6855;const _0x2240e1=this[_0x3ba359(0x114)][_0x3ba359(0x2ef)](this[_0x3ba359(0x374)]);return this['_handler'][_0x3ba359(0x241)]({'from':_0x2240e1,'to':0x0}),this['_injector'][_0x3ba359(0x24d)](_0xa2dc9b[_0x3ba359(0x17f)],this[_0x3ba359(0x374)],this[_0x3ba359(0x3fa)],null,[],null,[],this[_0x3ba359(0x30b)]);}},_0xa2dc9b[_0x1d6855(0x209)]=_0x4396fe([_0x579359(0x3,_0x95e227['Inject'](_0x444836[_0x1d6855(0x2cb)])),_0x579359(0x4,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x1dc)])),_0x579359(0x5,_0x95e227['IUndoRedoService']),_0x579359(0x6,_0x95e227[_0x1d6855(0x1f0)]),_0x579359(0x7,_0x95e227[_0x1d6855(0x11b)]),_0x579359(0x8,_0x444836[_0x1d6855(0x478)]),_0x579359(0x9,_0x95e227[_0x1d6855(0x14a)](_0x1e8401))],_0xa2dc9b[_0x1d6855(0x209)]),_0xa2dc9b[_0x1d6855(0x279)]=class extends _0x19fe4b{constructor(_0x5171d5,_0x1dcdb0,_0x2918f7,_0x10d329,_0x6b74f7,_0x16ee03,_0x1b7fb6,_0x466681,_0x311d82,_0x1d9644,_0x5d8eaa,_0x4b05a3,_0x1392d0,_0x378a30){var _0xc91e4f=_0x1d6855;super(_0x5171d5,_0x1dcdb0,null,_0x2918f7,_0x10d329,_0x311d82,_0x1392d0,_0x16ee03,_0x378a30),_0x1c0f2e(this,_0xc91e4f(0x151),_0xc91e4f(0x1e2)),_0x1c0f2e(this,_0xc91e4f(0x499),null),_0x1c0f2e(this,_0xc91e4f(0x267),null),(this['_injector']=_0x6b74f7,this[_0xc91e4f(0x372)]=_0x1b7fb6,this[_0xc91e4f(0x1f4)]=_0x466681,this[_0xc91e4f(0x1fc)]=_0x1d9644,this[_0xc91e4f(0x336)]=_0x5d8eaa,this[_0xc91e4f(0x1ac)]=_0x4b05a3);}[_0x1d6855(0x45a)](_0x1459c1){var _0x35ca27=_0x1d6855;return this['_pendingMutations'][_0x35ca27(0x3a3)](_0x1459c1),this['_updateLocalCache'](),this;}[_0x1d6855(0x437)](_0x4a71d9){var _0x40e288=_0x1d6855;if(this[_0x40e288(0x1b4)](_0x4a71d9))return this[_0x40e288(0x13e)](),this[_0x40e288(0x2a7)][_0x40e288(0x24d)](_0xa2dc9b[_0x40e288(0x17f)],this[_0x40e288(0x374)],this[_0x40e288(0x3fa)],null,this[_0x40e288(0x26b)],null,[_0x4a71d9],this[_0x40e288(0x30b)]);try{const _0xd09ab0=this['_transformService'][_0x40e288(0x38a)](_0x4a71d9,this[_0x40e288(0x26b)]);if(_0x444836[_0x40e288(0x287)](_0xd09ab0)){const {c1Prime:_0xf7bcaf,m2Prime:_0x85be40}=_0xd09ab0;this['_executeRemoteChangeset'](_0xf7bcaf);const _0x3acb21=this['_injector']['createInstance'](_0xa2dc9b[_0x40e288(0x279)],this[_0x40e288(0x374)],this[_0x40e288(0x3fa)],_0x85be40,this[_0x40e288(0x30b)]);this[_0x40e288(0x13e)]();const _0x3589c4=new Date()[_0x40e288(0x122)](),_0x3c197e=this[_0x40e288(0x499)]?Math[_0x40e288(0x35c)](this[_0x40e288(0x499)]-_0x3589c4,0x0):this[_0x40e288(0x218)]();return _0x3acb21['_schedule'](_0x3c197e),_0x3acb21;}throw _0xd09ab0['error'];}catch(_0x52b3c8){return this[_0x40e288(0x1f4)][_0x40e288(0x23e)](_0x52b3c8),this[_0x40e288(0x456)](!0x1);}}[_0x1d6855(0x44c)](){var _0x3f3ef7=_0x1d6855;throw new Error(_0x3f3ef7(0x1a9));}[_0x1d6855(0x1e5)](){var _0x4564d7=_0x1d6855;throw new Error(_0x4564d7(0x367));}[_0x1d6855(0x459)](){return this;}['toggleOffline'](){var _0x541986=_0x1d6855;return this[_0x541986(0x13e)](),this[_0x541986(0x2a7)][_0x541986(0x24d)](_0xa2dc9b['OfflineState'],this[_0x541986(0x374)],this['type'],null,this['_pendingMutations'],this[_0x541986(0x30b)]);}[_0x1d6855(0x327)](){return this;}['_schedule'](_0x454994){var _0x1abe91=_0x1d6855;const _0x519a5c=_0x454994!=null?_0x454994:this[_0x1abe91(0x218)]();this[_0x1abe91(0x499)]=new Date()[_0x1abe91(0x122)]()+_0x519a5c,this[_0x1abe91(0x267)]=setTimeout(()=>{var _0xeb1841=_0x1abe91;this[_0xeb1841(0x13e)]();let _0x469d08=null;switch(this[_0xeb1841(0x3fa)]){case _0x50e467['UNIVER_SHEET']:{_0x469d08=_0x3d3499(this['_pendingMutations'],this[_0xeb1841(0x374)],this[_0xeb1841(0x1ac)],this[_0xeb1841(0x114)],this['_memberService']);break;}case _0x50e467[_0xeb1841(0x133)]:{this[_0xeb1841(0x26b)][_0xeb1841(0x276)](_0xead108=>_0xead108['id']===_0x73d691[_0xeb1841(0x107)]['id'])?_0x469d08=_0x3efaa8(this[_0xeb1841(0x26b)],this[_0xeb1841(0x374)],this[_0xeb1841(0x1ac)],this['_revisionService'],this[_0xeb1841(0x372)]):_0x469d08=_0x3d3499(this[_0xeb1841(0x26b)],this[_0xeb1841(0x374)],this[_0xeb1841(0x1ac)],this[_0xeb1841(0x114)],this[_0xeb1841(0x372)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0xeb1841(0x3fa)]+_0xeb1841(0x23d));}const {changeset:_0x4777f8,pendingMutations:_0x4c687e}=_0x469d08;this[_0xeb1841(0x30b)][_0xeb1841(0x225)](_0x4777f8);const _0xe8088c=_0x4c687e[_0xeb1841(0x161)]?this[_0xeb1841(0x2a7)]['createInstance'](_0xa2dc9b[_0xeb1841(0x31e)],this['unitID'],this[_0xeb1841(0x3fa)],_0x4777f8,_0x4c687e,this[_0xeb1841(0x30b)],void 0x0):this[_0xeb1841(0x2a7)][_0xeb1841(0x24d)](_0xa2dc9b[_0xeb1841(0x1dd)],this['unitID'],this['type'],_0x4777f8,this[_0xeb1841(0x30b)]);_0xe8088c[_0xeb1841(0x303)](),this[_0xeb1841(0x30b)][_0xeb1841(0x22f)](this,_0xe8088c);},_0x519a5c);}[_0x1d6855(0x218)](){var _0x17320c=_0x1d6855,_0x5186e9;const _0x5ab26a=this[_0x17320c(0x1fc)][_0x17320c(0x159)](_0x3a9eb9);return(_0x5186e9=_0x5ab26a==null?void 0x0:_0x5ab26a[_0x17320c(0x274)])!=null?_0x5186e9:0x7d0;}[_0x1d6855(0x476)](){var _0x23b789=_0x1d6855;throw new Error(_0x23b789(0x417));}['_clearScheduledTask'](){var _0x4310c5=_0x1d6855;this[_0x4310c5(0x267)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x1d6855(0x456)](_0xdcdb54){var _0x2ca605=_0x1d6855;return this[_0x2ca605(0x13e)](),this[_0x2ca605(0x2a7)]['createInstance'](_0xa2dc9b[_0x2ca605(0x31b)],this[_0x2ca605(0x374)],this[_0x2ca605(0x3fa)],null,this[_0x2ca605(0x26b)],this[_0x2ca605(0x30b)],_0xdcdb54);}},_0xa2dc9b[_0x1d6855(0x279)]=_0x4396fe([_0x579359(0x4,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x1dc)])),_0x579359(0x5,_0x95e227[_0x1d6855(0x3da)](_0x444836[_0x1d6855(0x2cb)])),_0x579359(0x6,_0x95e227['Inject'](_0xa2dc9b[_0x1d6855(0x138)])),_0x579359(0x7,_0x95e227[_0x1d6855(0x11b)]),_0x579359(0x8,_0x95e227[_0x1d6855(0x1f0)]),_0x579359(0x9,_0x95e227['IConfigService']),_0x579359(0xa,_0x444836['ITransformService']),_0x579359(0xb,_0x95e227['IUniverInstanceService']),_0x579359(0xc,_0x95e227[_0x1d6855(0x171)]),_0x579359(0xd,_0x95e227[_0x1d6855(0x14a)](_0x1e8401))],_0xa2dc9b[_0x1d6855(0x279)]),_0xa2dc9b['AwaitingState']=class extends _0x19fe4b{constructor(_0x2f1656,_0x4fadfb,_0x111b33,_0x36bb98,_0x2e8522,_0x12bf85,_0x5f1efc,_0x3cdc10,_0x40c7dd,_0x189e52,_0x116e38){var _0x3362fa=_0x1d6855;super(_0x2f1656,_0x4fadfb,_0x111b33,[],_0x36bb98,_0x5f1efc,_0x189e52,_0x12bf85,_0x116e38),_0x1c0f2e(this,_0x3362fa(0x151),_0x3362fa(0x2f0)),_0x1c0f2e(this,_0x3362fa(0x1a6),0x0),_0x1c0f2e(this,_0x3362fa(0x451),0x0),_0x1c0f2e(this,'_resendTimer'),_0x1c0f2e(this,_0x3362fa(0x201)),(this['_injector']=_0x2e8522,this[_0x3362fa(0x1f4)]=_0x3cdc10,this[_0x3362fa(0x336)]=_0x40c7dd);}[_0x1d6855(0x45a)](_0x174e8d){var _0x3e728c=_0x1d6855;this[_0x3e728c(0x13e)]();const _0x260087=this[_0x3e728c(0x2a7)][_0x3e728c(0x24d)](_0xa2dc9b[_0x3e728c(0x31e)],this['unitID'],this[_0x3e728c(0x3fa)],this['_awaitingChangeset'],[_0x174e8d],this['_handler'],this[_0x3e728c(0x326)]);return _0x260087[_0x3e728c(0x303)](),_0x260087;}[_0x1d6855(0x437)](_0x1f7e63){var _0x5b0076=_0x1d6855;if(this[_0x5b0076(0x1b4)](_0x1f7e63))return this[_0x5b0076(0x13e)](),this[_0x5b0076(0x2a7)][_0x5b0076(0x24d)](_0xa2dc9b[_0x5b0076(0x17f)],this[_0x5b0076(0x374)],this[_0x5b0076(0x3fa)],this['_awaitingChangeset'],[],null,[_0x1f7e63],this[_0x5b0076(0x30b)]);try{const _0x3cb306=this[_0x5b0076(0x336)][_0x5b0076(0x3cc)]([_0x1f7e63],[this[_0x5b0076(0x22c)]],!0x1);if(_0x444836[_0x5b0076(0x2d8)](_0x3cb306)){const {c1Prime:_0x48a964,c2Prime:_0x46ee9b}=_0x3cb306;this['_executeRemoteChangeset'](_0x48a964[0x0]),_0x46ee9b[0x0]['baseRev']=this[_0x5b0076(0x366)](),this[_0x5b0076(0x13e)]();const _0x74c5c8=this['_injector'][_0x5b0076(0x24d)](_0xa2dc9b['AwaitingState'],this[_0x5b0076(0x374)],this[_0x5b0076(0x3fa)],_0x46ee9b[0x0],this[_0x5b0076(0x30b)]);return _0x74c5c8['_updateLocalCache'](),_0x74c5c8;}return this[_0x5b0076(0x456)](!0x1);}catch(_0xc1f86f){return this[_0x5b0076(0x1f4)][_0x5b0076(0x23e)](_0xc1f86f),this['_onConflict'](!0x1);}}[_0x1d6855(0x44c)](_0x445993){var _0x59ed07=_0x1d6855;this['_clearScheduledTask']();const _0x3cbc9e=this[_0x59ed07(0x114)][_0x59ed07(0x2ef)](this['unitID']);if(_0x445993[_0x59ed07(0x141)]<_0x3cbc9e-0x1)return this;if(this[_0x59ed07(0x1b4)](_0x445993))return this['_injector'][_0x59ed07(0x24d)](_0xa2dc9b[_0x59ed07(0x17f)],this['unitID'],this[_0x59ed07(0x3fa)],null,[],this[_0x59ed07(0x22c)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x4c1f8=this['_injector'][_0x59ed07(0x24d)](_0xa2dc9b[_0x59ed07(0x209)],this[_0x59ed07(0x374)],this['type'],this[_0x59ed07(0x30b)]);return _0x4c1f8['_updateLocalCache'](),_0x4c1f8;}[_0x1d6855(0x1e5)](_0xc81395){var _0xa06879=_0x1d6855;return this['_onConflict'](!!(_0xc81395!=null&&_0xc81395[_0xa06879(0x392)]));}[_0x1d6855(0x459)](_0x2fbbf9){var _0x60eec0=_0x1d6855;return this[_0x60eec0(0x451)]>_0x4ebefb?this[_0x60eec0(0x47d)]():(this[_0x60eec0(0x326)]=_0x5491a9(this[_0x60eec0(0x1a6)],{'timeout':this['_resendTimeout'],'reqId':_0x2fbbf9['reqId']}),this[_0x60eec0(0x201)]=this[_0x60eec0(0x326)]['subscribe'](({reqId:_0x32f81c,timeout:_0x3a95ad})=>{var _0x33d009=_0x60eec0;this[_0x33d009(0x202)](_0x32f81c,_0x3a95ad);}),this);}[_0x1d6855(0x47d)](){var _0x5ad7d7=_0x1d6855;return this[_0x5ad7d7(0x13e)](),this[_0x5ad7d7(0x2a7)][_0x5ad7d7(0x24d)](_0xa2dc9b[_0x5ad7d7(0x1c1)],this[_0x5ad7d7(0x374)],this[_0x5ad7d7(0x3fa)],this[_0x5ad7d7(0x22c)],[],this[_0x5ad7d7(0x30b)]);}[_0x1d6855(0x327)](){return this;}['resend'](){var _0x2882db=_0x1d6855;this[_0x2882db(0x30b)][_0x2882db(0x225)](this[_0x2882db(0x22c)]);}['_onConflict'](_0x127f7c){var _0x2df829=_0x1d6855;return this[_0x2df829(0x13e)](),this[_0x2df829(0x2a7)][_0x2df829(0x24d)](_0xa2dc9b[_0x2df829(0x31b)],this[_0x2df829(0x374)],this[_0x2df829(0x3fa)],this[_0x2df829(0x22c)],[],this['_handler'],_0x127f7c);}[_0x1d6855(0x202)](_0x4da55d,_0x502ed6){var _0x54f653=_0x1d6855,_0x2ee493;_0x4da55d===((_0x2ee493=this[_0x54f653(0x22c)])==null?void 0x0:_0x2ee493[_0x54f653(0x205)])&&(this['resend'](),this[_0x54f653(0x1a6)]=_0x502ed6===0x0?0x3e8:Math['min'](_0x502ed6*0x2,_0x343f64),this[_0x54f653(0x451)]+=this[_0x54f653(0x1a6)]);}['_clearScheduledTask'](){var _0x43d025=_0x1d6855,_0x5b2532;(_0x5b2532=this[_0x43d025(0x201)])==null||_0x5b2532[_0x43d025(0x1a0)](),this['_resendTimeout']=0x0,this[_0x43d025(0x451)]=0x0;}},_0xa2dc9b['AwaitingState']=_0x4396fe([_0x579359(0x4,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x1dc)])),_0x579359(0x5,_0x95e227[_0x1d6855(0x3da)](_0x444836[_0x1d6855(0x2cb)])),_0x579359(0x6,_0x95e227[_0x1d6855(0x1f0)]),_0x579359(0x7,_0x95e227[_0x1d6855(0x11b)]),_0x579359(0x8,_0x444836['ITransformService']),_0x579359(0x9,_0x95e227[_0x1d6855(0x171)]),_0x579359(0xa,_0x95e227['Optional'](_0x1e8401))],_0xa2dc9b['AwaitingState']),_0xa2dc9b[_0x1d6855(0x31e)]=class extends _0x19fe4b{constructor(_0x1106aa,_0x5584ae,_0x50c1d8,_0x970994,_0x1962f6,_0x456bf7,_0x18ba9d,_0x1864f8,_0x2e85da,_0x29463b,_0x3482fe,_0x1fcc5d,_0x4bd864){var _0xc4656b=_0x1d6855;super(_0x1106aa,_0x5584ae,_0x50c1d8,_0x970994,_0x1962f6,_0x2e85da,_0x1fcc5d,_0x1864f8,_0x4bd864),_0x1c0f2e(this,_0xc4656b(0x151),_0xc4656b(0x3b8)),_0x1c0f2e(this,_0xc4656b(0x1a6),0x0),_0x1c0f2e(this,_0xc4656b(0x451),0x0),_0x1c0f2e(this,'_resendTimer'),_0x1c0f2e(this,_0xc4656b(0x201)),(this[_0xc4656b(0x2a7)]=_0x18ba9d,this[_0xc4656b(0x1f4)]=_0x29463b,this[_0xc4656b(0x336)]=_0x3482fe,this['localCacheService']=_0x4bd864,_0x456bf7&&(this['_resendTimer']=_0x456bf7,this[_0xc4656b(0x201)]=this['_resendTimer'][_0xc4656b(0x41e)](({reqId:_0x54c538,timeout:_0x4ad991})=>{var _0x5a8147=_0xc4656b;this[_0x5a8147(0x202)](_0x54c538,_0x4ad991);})));}[_0x1d6855(0x45a)](_0xe7ff6e){var _0x5ae751=_0x1d6855;return this[_0x5ae751(0x26b)]['push'](_0xe7ff6e),this;}['onRemoteChangeset'](_0x5c34a5){var _0xac7e43=_0x1d6855;if(this['_checkMissing'](_0x5c34a5))return this[_0xac7e43(0x13e)](),this['_injector'][_0xac7e43(0x24d)](_0xa2dc9b[_0xac7e43(0x17f)],this[_0xac7e43(0x374)],this[_0xac7e43(0x3fa)],this[_0xac7e43(0x22c)],this['_pendingMutations'],null,[_0x5c34a5],this['_handler']);try{const _0x3c4592=this[_0xac7e43(0x336)][_0xac7e43(0x3cc)]([_0x5c34a5],[this[_0xac7e43(0x22c)]],!0x1);if(_0x444836[_0xac7e43(0x2d8)](_0x3c4592)){const {c1Prime:_0x15c785,c2Prime:_0x157a09}=_0x3c4592,_0x437cf0=this['_transformService']['transformMutationsWithChangeset'](_0x15c785[0x0],this[_0xac7e43(0x26b)]);if(_0x444836['isTransformMutationsWithChangesetSuccess'](_0x437cf0)){const {c1Prime:_0x220606,m2Prime:_0x367d4c}=_0x437cf0;return this['_executeRemoteChangeset'](_0x220606),_0x157a09[0x0]['baseRev']=this[_0xac7e43(0x366)](),this[_0xac7e43(0x13e)](),this[_0xac7e43(0x2a7)][_0xac7e43(0x24d)](_0xa2dc9b['AwaitingWithPendingState'],this[_0xac7e43(0x374)],this['type'],_0x157a09[0x0],_0x367d4c,this['_handler'],void 0x0);}throw _0x437cf0['error'];}throw _0x3c4592[_0xac7e43(0x23e)];}catch(_0x2a0b6a){return this[_0xac7e43(0x1f4)]['error'](_0x2a0b6a),this[_0xac7e43(0x456)](!0x1);}}['onRemoteAck'](_0x4222bb){var _0x5a4fba=_0x1d6855;if(this[_0x5a4fba(0x13e)](),this[_0x5a4fba(0x1b4)](_0x4222bb))return this[_0x5a4fba(0x2a7)][_0x5a4fba(0x24d)](_0xa2dc9b[_0x5a4fba(0x17f)],this[_0x5a4fba(0x374)],this['type'],null,this[_0x5a4fba(0x26b)],this[_0x5a4fba(0x22c)],[],this['_handler']);this[_0x5a4fba(0x41d)]();const _0x552b96=this[_0x5a4fba(0x2a7)][_0x5a4fba(0x24d)](_0xa2dc9b[_0x5a4fba(0x279)],this[_0x5a4fba(0x374)],this['type'],this['_pendingMutations'],this[_0x5a4fba(0x30b)]);return _0x552b96[_0x5a4fba(0x472)](),_0x552b96[_0x5a4fba(0x303)](),_0x552b96;}[_0x1d6855(0x1e5)](_0x3f43e1){var _0x25e7f3=_0x1d6855;return this[_0x25e7f3(0x456)](!!(_0x3f43e1!=null&&_0x3f43e1[_0x25e7f3(0x392)]));}['onRemoteRetry'](_0xd4fb29){var _0x491041=_0x1d6855;return this[_0x491041(0x451)]>_0x4ebefb?this[_0x491041(0x47d)]():(this[_0x491041(0x326)]=_0x5491a9(this[_0x491041(0x1a6)],{'timeout':this[_0x491041(0x1a6)],'reqId':_0xd4fb29['reqId']}),this[_0x491041(0x201)]=this['_resendTimer'][_0x491041(0x41e)](({reqId:_0x439ad6,timeout:_0x1f701a})=>{var _0x19d17f=_0x491041;this[_0x19d17f(0x202)](_0x439ad6,_0x1f701a);}),this);}[_0x1d6855(0x47d)](){var _0x588652=_0x1d6855;return this[_0x588652(0x13e)](),this[_0x588652(0x2a7)][_0x588652(0x24d)](_0xa2dc9b['OfflineState'],this[_0x588652(0x374)],this['type'],this['_awaitingChangeset'],this[_0x588652(0x26b)],this[_0x588652(0x30b)]);}[_0x1d6855(0x327)](){return this;}['resend'](){var _0x197bba=_0x1d6855;this[_0x197bba(0x30b)][_0x197bba(0x225)](this[_0x197bba(0x22c)]);}[_0x1d6855(0x456)](_0xe517b1){var _0x13b229=_0x1d6855;return this[_0x13b229(0x13e)](),this['_injector'][_0x13b229(0x24d)](_0xa2dc9b[_0x13b229(0x31b)],this[_0x13b229(0x374)],this[_0x13b229(0x3fa)],null,this[_0x13b229(0x26b)],this[_0x13b229(0x30b)],_0xe517b1);}['_resendWithTimeout'](_0x26e83d,_0x17caff){var _0x137d73=_0x1d6855,_0x148b72;_0x26e83d===((_0x148b72=this[_0x137d73(0x22c)])==null?void 0x0:_0x148b72[_0x137d73(0x205)])&&(this[_0x137d73(0x476)](),this[_0x137d73(0x1a6)]=_0x17caff===0x0?0x3e8:Math[_0x137d73(0x2cf)](_0x17caff*0x2,_0x343f64),this['_maxTotalRetryTimeout']+=this['_resendTimeout']);}[_0x1d6855(0x13e)](){var _0x5b7317=_0x1d6855,_0x4ace6c;(_0x4ace6c=this[_0x5b7317(0x201)])==null||_0x4ace6c[_0x5b7317(0x1a0)](),this[_0x5b7317(0x1a6)]=0x0,this[_0x5b7317(0x451)]=0x0;}},_0xa2dc9b[_0x1d6855(0x31e)]=_0x4396fe([_0x579359(0x6,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x1dc)])),_0x579359(0x7,_0x95e227[_0x1d6855(0x3da)](_0x444836[_0x1d6855(0x2cb)])),_0x579359(0x8,_0x95e227[_0x1d6855(0x1f0)]),_0x579359(0x9,_0x95e227['ILogService']),_0x579359(0xa,_0x444836[_0x1d6855(0x478)]),_0x579359(0xb,_0x95e227[_0x1d6855(0x171)]),_0x579359(0xc,_0x95e227[_0x1d6855(0x14a)](_0x1e8401))],_0xa2dc9b[_0x1d6855(0x31e)]),_0xa2dc9b[_0x1d6855(0x31b)]=class extends _0x19fe4b{constructor(_0x1a67b4,_0x63cdce,_0x53d1c3,_0x333639,_0x23661e,_0x22101a=!0x1,_0x364b4e,_0x5db773,_0xe5d32c,_0x15bce8,_0x4d3527,_0x5e8bd1,_0x364ff2){var _0x4196f3=_0x1d6855;super(_0x1a67b4,_0x63cdce,_0x53d1c3,_0x333639,_0x23661e,_0x5db773,_0xe5d32c,_0x15bce8,_0x364ff2),_0x1c0f2e(this,_0x4196f3(0x151),'conflict'),(this[_0x4196f3(0x1aa)]=_0x22101a,this[_0x4196f3(0x2c3)]=_0x364b4e,this['_localeService']=_0x4d3527,this['_collaborationUIEventService']=_0x5e8bd1,this['localCacheService']=_0x364ff2,this[_0x4196f3(0x32b)](),this[_0x4196f3(0x445)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x1d6855(0x437)](){return this;}['onRemoteAck'](){return this;}[_0x1d6855(0x1e5)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x1d6855(0x327)](){return this;}['resend'](){var _0x2b24af=_0x1d6855;throw new Error(_0x2b24af(0x48b));}[_0x1d6855(0x445)](){var _0x1af55b=_0x1d6855,_0x7d5fc3;(_0x7d5fc3=this['_localCacheService'])==null||_0x7d5fc3[_0x1af55b(0x3bd)](this[_0x1af55b(0x374)],this[_0x1af55b(0x3fa)],null,[]);}[_0x1d6855(0x32b)](){var _0x1d023c=_0x1d6855;this['_isPermissionRej']?this[_0x1d023c(0x180)][_0x1d023c(0x14e)]({'id':_0x2fc6ea['PERMISSION_DENIED']}):this[_0x1d023c(0x180)][_0x1d023c(0x14e)]({'id':_0x2fc6ea[_0x1d023c(0x3fd)]});}['_disableEditing'](){var _0x21f4f0=_0x1d6855;this[_0x21f4f0(0x2c3)]['updatePermissionPoint'](new _0x5fb515[(_0x21f4f0(0x3e7))](this['unitID'])['id'],!0x1);}},_0xa2dc9b[_0x1d6855(0x31b)]=_0x4396fe([_0x579359(0x6,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x288)])),_0x579359(0x7,_0x95e227[_0x1d6855(0x1f0)]),_0x579359(0x8,_0x95e227[_0x1d6855(0x171)]),_0x579359(0x9,_0x95e227[_0x1d6855(0x3da)](_0x444836['RevisionService'])),_0x579359(0xa,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x3cb)])),_0x579359(0xb,_0x95e227['Inject'](_0x28554a)),_0x579359(0xc,_0x95e227[_0x1d6855(0x14a)](_0x1e8401))],_0xa2dc9b[_0x1d6855(0x31b)]),_0xa2dc9b['OfflineState']=class extends _0x19fe4b{constructor(_0x390270,_0x5506a5,_0x115f14,_0x5b94a0,_0x116b81,_0x44a2dc,_0x11de13,_0x3374b9,_0x25f106,_0x963d9f){var _0x91eed9=_0x1d6855;super(_0x390270,_0x5506a5,_0x115f14,_0x5b94a0,_0x116b81,_0x3374b9,_0x25f106,_0x11de13,_0x963d9f),_0x1c0f2e(this,_0x91eed9(0x151),_0x91eed9(0x1ab)),this[_0x91eed9(0x2a7)]=_0x44a2dc;}[_0x1d6855(0x45a)](_0x57bd5f){var _0x8696c8=_0x1d6855;return this[_0x8696c8(0x26b)]['push'](_0x57bd5f),this[_0x8696c8(0x303)](),this;}['onRemoteChangeset'](_0x54235c){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1d6855(0x44c)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x1d6855(0x1e5)](){var _0x48351d=_0x1d6855;throw new Error(_0x48351d(0x47c));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x1d6855(0x327)](){var _0x1ca151=_0x1d6855;const {_injector:_0x29c660,_pendingMutations:_0x54ee6a,_awaitingChangeset:_0xb4d551,unitID:_0x318a46,_handler:_0xed2a7d,type:_0x1e54bb}=this,_0x3092d6=_0x5a5752(_0x29c660,_0x318a46,_0x1e54bb,_0xb4d551,_0x54ee6a,_0xed2a7d);return _0x3092d6 instanceof _0xa2dc9b['PendingState']?_0x3092d6['_schedule']():(_0x3092d6 instanceof _0xa2dc9b['AwaitingWithPendingState']||_0x3092d6 instanceof _0xa2dc9b[_0x1ca151(0x1dd)])&&_0x3092d6[_0x1ca151(0x476)](),_0x3092d6;}[_0x1d6855(0x476)](){var _0x4c8504=_0x1d6855;throw new Error(_0x4c8504(0x24c));}},_0xa2dc9b[_0x1d6855(0x1c1)]=_0x4396fe([_0x579359(0x5,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x1dc)])),_0x579359(0x6,_0x95e227[_0x1d6855(0x3da)](_0x444836[_0x1d6855(0x2cb)])),_0x579359(0x7,_0x95e227[_0x1d6855(0x1f0)]),_0x579359(0x8,_0x95e227[_0x1d6855(0x171)]),_0x579359(0x9,_0x95e227[_0x1d6855(0x14a)](_0x1e8401))],_0xa2dc9b[_0x1d6855(0x1c1)]),_0xa2dc9b[_0x1d6855(0x17f)]=class extends _0x19fe4b{constructor(_0x14a1e4,_0x5adec9,_0x3e3be5,_0x5e08c5,_0x3ac921,_0x138179,_0x762db8,_0x140659,_0x4b5761,_0x3a1bf4,_0x1f85da,_0x3f8b23,_0x3ef5f6,_0x1d79e3){var _0x6aac6c=_0x1d6855;super(_0x14a1e4,_0x5adec9,_0x3e3be5,_0x5e08c5,_0x762db8,_0x1f85da,_0x3f8b23,_0x4b5761,_0x1d79e3),_0x1c0f2e(this,'status',_0x6aac6c(0x38f)),(this[_0x6aac6c(0x43c)]=_0x3ac921,this[_0x6aac6c(0x195)]=_0x138179,this[_0x6aac6c(0x2a7)]=_0x140659,this[_0x6aac6c(0x1f4)]=_0x3a1bf4,this[_0x6aac6c(0x336)]=_0x3ef5f6,this[_0x6aac6c(0x441)]=_0x1d79e3);}[_0x1d6855(0x46a)](_0x551ff){var _0x3afedb=_0x1d6855;try{const _0x586d10=[..._0x551ff,...this['_queuedRemoteChangesets']],_0x5bfd28=[this['_awaitingChangeset']||this[_0x3afedb(0x43c)]][_0x3afedb(0x383)](_0x54cca2=>!!_0x54cca2);let _0x6876b6,_0x42b6de;if(_0x5bfd28[_0x3afedb(0x161)]){const _0x3781e2=this[_0x3afedb(0x336)][_0x3afedb(0x3cc)](_0x586d10,_0x5bfd28,!0x1);if(!_0x444836[_0x3afedb(0x2d8)](_0x3781e2))throw _0x3781e2[_0x3afedb(0x23e)];_0x6876b6=_0x3781e2['c1Prime'],_0x42b6de=_0x3781e2[_0x3afedb(0x424)];}else _0x6876b6=_0x586d10,_0x42b6de=[];let _0x41a2e3=this[_0x3afedb(0x26b)];_0x6876b6['forEach'](_0x27557b=>{var _0x40275d=_0x3afedb;let _0xf785c3;if(_0x41a2e3[_0x40275d(0x161)]){const _0x25e72e=this['_transformService'][_0x40275d(0x38a)](_0x27557b,_0x41a2e3);if(!_0x444836[_0x40275d(0x287)](_0x25e72e))throw _0x25e72e[_0x40275d(0x23e)];_0xf785c3=_0x25e72e[_0x40275d(0x2a8)],_0x41a2e3=_0x25e72e[_0x40275d(0x1b2)];}else _0xf785c3=_0x27557b;this[_0x40275d(0x145)](_0xf785c3);}),this[_0x3afedb(0x43c)]&&this['_incrementRevisionNumber'](),this[_0x3afedb(0x22c)]&&_0x42b6de[_0x3afedb(0x161)]&&(_0x42b6de[0x0][_0x3afedb(0x2b9)]=this[_0x3afedb(0x366)]());let _0x4b03ba;if(this[_0x3afedb(0x22c)]&&_0x41a2e3[_0x3afedb(0x161)]!==0x0)_0x4b03ba=this[_0x3afedb(0x2a7)][_0x3afedb(0x24d)](_0xa2dc9b[_0x3afedb(0x31e)],this['unitID'],this[_0x3afedb(0x3fa)],_0x42b6de[0x0],_0x41a2e3,this['_handler'],void 0x0);else{if(this[_0x3afedb(0x22c)]&&_0x41a2e3[_0x3afedb(0x161)]===0x0)_0x42b6de[0x0]['baseRev']=this[_0x3afedb(0x366)](),_0x4b03ba=this[_0x3afedb(0x2a7)][_0x3afedb(0x24d)](_0xa2dc9b[_0x3afedb(0x1dd)],this[_0x3afedb(0x374)],this[_0x3afedb(0x3fa)],_0x42b6de[0x0],this[_0x3afedb(0x30b)]);else{if(_0x41a2e3[_0x3afedb(0x161)]!==0x0){const _0x4eead3=this[_0x3afedb(0x2a7)]['createInstance'](_0xa2dc9b['PendingState'],this[_0x3afedb(0x374)],this[_0x3afedb(0x3fa)],_0x41a2e3,this[_0x3afedb(0x30b)]);_0x4eead3[_0x3afedb(0x472)](),_0x4b03ba=_0x4eead3;}else _0x4b03ba=this[_0x3afedb(0x2a7)][_0x3afedb(0x24d)](_0xa2dc9b[_0x3afedb(0x209)],this['unitID'],this['type'],this[_0x3afedb(0x30b)]);}}return _0x4b03ba[_0x3afedb(0x303)](),_0x4b03ba;}catch(_0x2a7b22){return this[_0x3afedb(0x1f4)][_0x3afedb(0x23e)](_0x3afedb(0x34f),_0x3afedb(0x3ae),_0x2a7b22),this[_0x3afedb(0x2a7)]['createInstance'](_0xa2dc9b[_0x3afedb(0x31b)],this['unitID'],this[_0x3afedb(0x3fa)],this[_0x3afedb(0x22c)],this[_0x3afedb(0x26b)],this['_handler'],!0x1);}}[_0x1d6855(0x476)](){var _0x5bec61=_0x1d6855;throw new Error(_0x5bec61(0x3be));}['appendMutation'](_0x438540){var _0x5c775a=_0x1d6855;return this['_pendingMutations'][_0x5c775a(0x3a3)](_0x438540),this;}[_0x1d6855(0x437)](_0x5e3792){var _0x6a8f05=_0x1d6855;return this[_0x6a8f05(0x195)][_0x6a8f05(0x3a3)](_0x5e3792),this;}[_0x1d6855(0x44c)](_0xe564c){var _0x2c4117=_0x1d6855;if(this[_0x2c4117(0x22c)])return this['_acknowledgedAwaitingChangeset']=this[_0x2c4117(0x22c)],this['_awaitingChangeset']=null,this;throw new Error(_0x2c4117(0x471));}[_0x1d6855(0x1e5)](_0x4536b0){var _0x169ab8=_0x1d6855;return this[_0x169ab8(0x456)](!!(_0x4536b0!=null&&_0x4536b0[_0x169ab8(0x392)]));}[_0x1d6855(0x459)](){return this;}[_0x1d6855(0x47d)](){var _0x599437=_0x1d6855;return this[_0x599437(0x2a7)][_0x599437(0x24d)](_0xa2dc9b[_0x599437(0x1c1)],this[_0x599437(0x374)],this[_0x599437(0x3fa)],this[_0x599437(0x22c)],this[_0x599437(0x26b)],this[_0x599437(0x30b)]);}[_0x1d6855(0x327)](){return this;}[_0x1d6855(0x456)](_0x1850be){var _0xcf7ee3=_0x1d6855;return this['_injector'][_0xcf7ee3(0x24d)](_0xa2dc9b['ConflictState'],this[_0xcf7ee3(0x374)],this['type'],this[_0xcf7ee3(0x22c)],this[_0xcf7ee3(0x26b)],this[_0xcf7ee3(0x30b)],_0x1850be);}},_0xa2dc9b['FetchingMissState']=_0x4396fe([_0x579359(0x7,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x1dc)])),_0x579359(0x8,_0x95e227[_0x1d6855(0x3da)](_0x444836[_0x1d6855(0x2cb)])),_0x579359(0x9,_0x95e227[_0x1d6855(0x11b)]),_0x579359(0xa,_0x95e227[_0x1d6855(0x1f0)]),_0x579359(0xb,_0x95e227[_0x1d6855(0x171)]),_0x579359(0xc,_0x444836['ITransformService']),_0x579359(0xd,_0x95e227[_0x1d6855(0x14a)](_0x1e8401))],_0xa2dc9b[_0x1d6855(0x17f)]);function _0x5a5752(_0x537da7,_0x2f7fa6,_0x5a1cee,_0x100055,_0x4fe54f,_0x344acd){var _0xce9d3f=_0x1d6855;return _0x100055&&_0x4fe54f['length']?_0x537da7[_0xce9d3f(0x24d)](_0xa2dc9b[_0xce9d3f(0x31e)],_0x2f7fa6,_0x5a1cee,_0x100055,_0x4fe54f,_0x344acd,void 0x0):_0x100055?_0x537da7[_0xce9d3f(0x24d)](_0xa2dc9b[_0xce9d3f(0x1dd)],_0x2f7fa6,_0x5a1cee,_0x100055,_0x344acd):_0x4fe54f['length']?_0x537da7[_0xce9d3f(0x24d)](_0xa2dc9b['PendingState'],_0x2f7fa6,_0x5a1cee,_0x4fe54f,_0x344acd):_0x537da7['createInstance'](_0xa2dc9b[_0xce9d3f(0x209)],_0x2f7fa6,_0x5a1cee,_0x344acd);}var _0x51d59e=Object['getOwnPropertyDescriptor'],_0x116a50=(_0x47911f,_0x2c6204,_0x19f329,_0x18545c)=>{for(var _0x401b53=_0x18545c>0x1?void 0x0:_0x18545c?_0x51d59e(_0x2c6204,_0x19f329):_0x2c6204,_0x487bee=_0x47911f['length']-0x1,_0x1affdf;_0x487bee>=0x0;_0x487bee--)(_0x1affdf=_0x47911f[_0x487bee])&&(_0x401b53=_0x1affdf(_0x401b53)||_0x401b53);return _0x401b53;},_0x26d9ca=(_0x5a177b,_0x1cb2b0)=>(_0x292627,_0x473f4b)=>_0x1cb2b0(_0x292627,_0x473f4b,_0x5a177b);_0xa2dc9b['CollaborationEntity']=class extends _0x95e227[_0x1d6855(0x39a)]{constructor(_0x32921a,_0x59c33e,_0x23e1ad,_0x50ac7e,_0x201e79,_0x403af4,_0x11456d,_0x3c6c20,_0x1b626b,_0x49788c,_0x67bb5e,_0x3a9d0f,_0x1af2fa,_0x5ad676){var _0x152066=_0x1d6855;super(),_0x1c0f2e(this,_0x152066(0x28b),new _0x55db85['BehaviorSubject'](null)),_0x1c0f2e(this,'state$',this[_0x152066(0x28b)][_0x152066(0x1c4)]()),_0x1c0f2e(this,'_state'),_0x1c0f2e(this,_0x152066(0x43b),!0x1),_0x1c0f2e(this,_0x152066(0x282),''),_0x1c0f2e(this,'_changesetReqId',0x0),_0x1c0f2e(this,_0x152066(0x25c),this[_0x152066(0x28a)]['pipe'](_0x55db85['map'](_0x5dd20f=>_0x5dd20f?_0x5dd20f[_0x152066(0x151)]:_0x2f41f4[_0x152066(0x3fc)]),_0x55db85[_0x152066(0x39f)](0x1))),_0x1c0f2e(this,_0x152066(0x1b0),!0x1),_0x1c0f2e(this,_0x152066(0x19a),[]),(this[_0x152066(0x374)]=_0x32921a,this['session']=_0x59c33e,this['_type']=_0x23e1ad,this[_0x152066(0x2a7)]=_0x50ac7e,this[_0x152066(0x14f)]=_0x201e79,this[_0x152066(0x10e)]=_0x403af4,this[_0x152066(0x114)]=_0x11456d,this[_0x152066(0x1cf)]=_0x3c6c20,this[_0x152066(0x1ac)]=_0x1b626b,this[_0x152066(0x1f4)]=_0x49788c,this[_0x152066(0x1e3)]=_0x67bb5e,this[_0x152066(0x2c3)]=_0x3a9d0f,this[_0x152066(0x2f5)]=_0x1af2fa,this[_0x152066(0x468)]=_0x5ad676);}get[_0x1d6855(0x489)](){var _0x23c92f=_0x1d6855;return this[_0x23c92f(0x325)];}async['init'](){var _0x1fe9db=_0x1d6855;if(this[_0x1fe9db(0x489)])throw new Error(_0x1fe9db(0x23f));await this[_0x1fe9db(0x1b6)]();}['pauseCollaboration'](){var _0x30fd9e=_0x1d6855;return this[_0x30fd9e(0x43b)]=!0x0,_0x95e227['toDisposable'](()=>{var _0x933c5b=_0x30fd9e;this[_0x933c5b(0x43b)]=!0x1,this[_0x933c5b(0x188)]();});}['onLocalMutation'](_0x3e2e35){var _0x509c73=_0x1d6855;this[_0x509c73(0x30f)](_0x3e2e35);}[_0x1d6855(0x3d7)](_0x139598){var _0x508e2d=_0x1d6855;this['_state']=_0x139598,this[_0x508e2d(0x28b)]['next'](_0x139598);}async[_0x1d6855(0x1b6)](){var _0x35d808=_0x1d6855,_0x502a33;this['_updateState'](await this[_0x35d808(0x359)]()),this['_singleActiveUnitService']&&((_0x502a33=this[_0x35d808(0x2f5)])==null||_0x502a33['editingUnit'](this[_0x35d808(0x374)]),this[_0x35d808(0x2e1)](this['_singleActiveUnitService'][_0x35d808(0x18c)](this[_0x35d808(0x374)])[_0x35d808(0x41e)](_0x11fc51=>{var _0x38eff7=_0x35d808;this[_0x38eff7(0x1f4)][_0x38eff7(0x3a2)]('[CollaborationEntity]',_0x38eff7(0x2d1),_0x11fc51),_0x11fc51===_0x339b9a['OTHER_CLIENTS_EDITING']?(this[_0x38eff7(0x1cf)]['emitEvent']({'id':_0x2fc6ea['OTHER_CLIENT_EDITING']}),this[_0x38eff7(0x2c3)][_0x38eff7(0x227)](new _0x5fb515[(_0x38eff7(0x3e7))](this[_0x38eff7(0x374)])['id'],!0x1),this['_permissionService'][_0x38eff7(0x388)](!0x1)):(this['_permissionService'][_0x38eff7(0x227)](new _0x5fb515[(_0x38eff7(0x3e7))](this[_0x38eff7(0x374)])['id'],!0x0),this[_0x38eff7(0x2c3)][_0x38eff7(0x388)](!0x0));})));let _0xf92968=!0x1;return this[_0x35d808(0x2e1)](this[_0x35d808(0x40f)][_0x35d808(0x412)][_0x35d808(0x41e)](_0x210e62=>{var _0x57a760=_0x35d808;_0x210e62===_0x5488ec[_0x57a760(0x496)]?this[_0x57a760(0x42b)](_0xf92968):_0x210e62===_0x5488ec[_0x57a760(0x3fc)]&&(_0xf92968=!0x0,this[_0x57a760(0x176)]());})),this[_0x35d808(0x2e1)](this[_0x35d808(0x40f)]['event$']['subscribe'](_0x523b5d=>{var _0x8ed6ab=_0x35d808;try{switch(_0x523b5d[_0x8ed6ab(0x214)]){case _0x444836[_0x8ed6ab(0x3a5)]['NEW_CHANGESETS']:{this[_0x8ed6ab(0x2b8)](_0x444836['parseProtocolChangeset'](_0x523b5d[_0x8ed6ab(0x1d9)]));break;}case _0x444836[_0x8ed6ab(0x3a5)][_0x8ed6ab(0x33b)]:{this[_0x8ed6ab(0x25f)](_0x523b5d[_0x8ed6ab(0x1d9)]);break;}case _0x444836[_0x8ed6ab(0x3a5)][_0x8ed6ab(0x422)]:{this[_0x8ed6ab(0x3fe)]();break;}case _0x444836[_0x8ed6ab(0x3a5)][_0x8ed6ab(0x15b)]:{this[_0x8ed6ab(0x264)](_0x523b5d[_0x8ed6ab(0x1d9)]);break;}case _0x444836['CollaborationEvent'][_0x8ed6ab(0x425)]:{this[_0x8ed6ab(0x17c)](_0x523b5d[_0x8ed6ab(0x1d9)][_0x8ed6ab(0x216)][_0x8ed6ab(0x1ce)](_0x36f85c=>_0x444836[_0x8ed6ab(0x25a)](_0x36f85c)));break;}case _0x444836[_0x8ed6ab(0x3a5)][_0x8ed6ab(0x13d)]:{this[_0x8ed6ab(0x3fe)]({'isPermissionRej':!0x0});break;}case _0x444836['CollaborationEvent'][_0x8ed6ab(0x1b3)]:break;}}catch(_0x35240d){throw console[_0x8ed6ab(0x23e)](_0x8ed6ab(0x33c),_0x35240d),_0x35240d;}})),this[_0x35d808(0x325)];}[_0x1d6855(0x128)](){var _0x380744=_0x1d6855;this[_0x380744(0x1b0)]=!0x1;}['_lockTransition'](){var _0x8e7dcc=_0x1d6855;if(this[_0x8e7dcc(0x1b0)])throw new Error(_0x8e7dcc(0x1c7));this['_transitionLocked']=!0x0;}[_0x1d6855(0x30f)](_0x278d5a){var _0x4aaf0d=_0x1d6855;this[_0x4aaf0d(0x271)](),this[_0x4aaf0d(0x3d7)](this['_state'][_0x4aaf0d(0x45a)](_0x278d5a)),this[_0x4aaf0d(0x128)]();}['_onRemoteChangeset'](_0x5cd10a){var _0x3cecfe=_0x1d6855;if(!(_0x5cd10a[_0x3cecfe(0x141)]<=this['_revisionService'][_0x3cecfe(0x2ef)](this[_0x3cecfe(0x374)]))){if(this['_collaborationPaused']){this[_0x3cecfe(0x19a)][_0x3cecfe(0x3a3)](_0x5cd10a);return;}this['_applyRemoteChangeset'](_0x5cd10a);}}[_0x1d6855(0x188)](){var _0x212364=_0x1d6855;this['_remoteChangesetQueue'][_0x212364(0x1c0)](_0xd0b275=>this[_0x212364(0x42e)](_0xd0b275)),this['_remoteChangesetQueue']=[];}[_0x1d6855(0x42e)](_0x36ac0a){var _0xc6229b=_0x1d6855;const _0x3f4971=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0xc6229b(0x249)]()[_0xc6229b(0x488)])(_0x36ac0a[_0xc6229b(0x440)],null)||_0x36ac0a[_0xc6229b(0x440)],_0x19db84={..._0x36ac0a,'mutations':_0x3f4971};this[_0xc6229b(0x271)](),this[_0xc6229b(0x3d7)](this[_0xc6229b(0x325)][_0xc6229b(0x437)](_0x19db84)),this[_0xc6229b(0x128)]();}['_onRemoteACK'](_0x41714b){var _0x229b6f=_0x1d6855;this[_0x229b6f(0x271)](),this[_0x229b6f(0x3d7)](this[_0x229b6f(0x325)]['onRemoteAck'](_0x41714b)),this[_0x229b6f(0x128)]();}[_0x1d6855(0x3fe)](_0x1aa4b8){var _0x148881=_0x1d6855;this['_lockTransition'](),this['_updateState'](this[_0x148881(0x325)][_0x148881(0x1e5)](_0x1aa4b8)),this[_0x148881(0x128)]();}[_0x1d6855(0x264)](_0x303a7e){var _0x1791a2=_0x1d6855;this['_lockTransition'](),this[_0x1791a2(0x3d7)](this[_0x1791a2(0x325)][_0x1791a2(0x459)](_0x303a7e)),this['_unlockTransition']();}[_0x1d6855(0x17c)](_0x4dba3a){var _0x25452d=_0x1d6855;if(!(this[_0x25452d(0x325)]instanceof _0xa2dc9b[_0x25452d(0x17f)]))throw new TypeError(_0x25452d(0x25d));const _0x4e2250=_0x4dba3a[_0x25452d(0x1ce)](_0x33bc33=>{var _0x356930=_0x25452d;const _0x271454=this[_0x356930(0x14f)][_0x356930(0x321)][_0x356930(0x294)](this[_0x356930(0x14f)]['interceptor'][_0x356930(0x249)]()[_0x356930(0x488)])(_0x33bc33[_0x356930(0x440)],null)||_0x33bc33[_0x356930(0x440)];return{..._0x33bc33,'mutations':_0x271454};});this[_0x25452d(0x271)](),this[_0x25452d(0x3d7)](this[_0x25452d(0x325)][_0x25452d(0x46a)](_0x4e2250)),this[_0x25452d(0x128)]();}[_0x1d6855(0x176)](){var _0x3f2d33=_0x1d6855;this['_lockTransition'](),this[_0x3f2d33(0x3d7)](this[_0x3f2d33(0x325)][_0x3f2d33(0x47d)]()),this[_0x3f2d33(0x128)]();}[_0x1d6855(0x42b)](_0x2c4e37=!0x1){var _0x4baeee=_0x1d6855;this['_lockTransition'](),this['_updateState'](this[_0x4baeee(0x325)][_0x4baeee(0x327)]()),this[_0x4baeee(0x128)]();const _0xc7fb65=this[_0x4baeee(0x325)];_0x2c4e37&&_0xc7fb65 instanceof _0xa2dc9b[_0x4baeee(0x209)]&&(this[_0x4baeee(0x271)](),this['_updateState'](_0xc7fb65['fetchMiss']()),this[_0x4baeee(0x128)]());}async[_0x1d6855(0x359)](){return new Promise(_0x47569b=>{var _0x238a4d=_0x593f;this['session'][_0x238a4d(0x412)]['pipe'](_0x55db85[_0x238a4d(0x1e6)](0x1))['subscribe'](async _0x1c74fe=>{var _0x20fcae=_0x238a4d;_0x47569b(await this[_0x20fcae(0x2ca)](_0x1c74fe===_0x5488ec['ONLINE']));});});}[_0x1d6855(0x3a1)](){var _0x5767b4=_0x1d6855;const _0xecc7=this[_0x5767b4(0x374)];return{'onStateChange':(_0x253a5c,_0x17863b)=>{var _0xfa7fb6=_0x5767b4;if(_0x253a5c!==this[_0xfa7fb6(0x325)])throw new Error(_0xfa7fb6(0x166)+_0x253a5c[_0xfa7fb6(0x151)]+'\x0aAfter:\x20'+_0x17863b[_0xfa7fb6(0x151)]+_0xfa7fb6(0x11e)+this[_0xfa7fb6(0x325)][_0xfa7fb6(0x151)]);this[_0xfa7fb6(0x3d7)](_0x17863b);},'onSendChangeset':_0x427a62=>{var _0x540ffd=_0x5767b4;_0x427a62[_0x540ffd(0x226)]||(_0x427a62[_0x540ffd(0x226)]=this[_0x540ffd(0x282)],_0x427a62[_0x540ffd(0x205)]=++this['_changesetReqId']);const _0x218920={'eventID':_0x444836[_0x540ffd(0x3a5)][_0x540ffd(0x1a2)],'data':{'unitID':_0x427a62[_0x540ffd(0x374)],'unitType':this['_type'],'changeset':_0x427a62,'memberID':this['session']['getMemberID']()}};this['session'][_0x540ffd(0x235)](_0x218920,this['unitID']);},'onMissingChangesets':({from:_0x17d9eb,to:_0x241154})=>{var _0x1e28fd=_0x5767b4;this[_0x1e28fd(0x1f4)][_0x1e28fd(0x3a2)](_0x1e28fd(0x3e2),'fetching\x20missing\x20changesets\x20from\x20'+_0x17d9eb+'\x20to\x20'+_0x241154);const _0x820fba={'eventID':_0x444836[_0x1e28fd(0x3a5)]['FETCH_MISSING'],'data':{'unitID':_0xecc7,'unitType':this['_type'],'from':_0x17d9eb,'to':_0x241154}};this[_0x1e28fd(0x40f)][_0x1e28fd(0x235)](_0x820fba,this[_0x1e28fd(0x374)]);}};}async[_0x1d6855(0x2ca)](_0x4537bb){var _0x542503=_0x1d6855,_0x145aa8,_0x1c242b,_0x221d10;const _0x343fd7=await((_0x145aa8=this[_0x542503(0x468)])==null?void 0x0:_0x145aa8[_0x542503(0x39e)](this[_0x542503(0x374)])),_0x21d4fe=(_0x1c242b=_0x343fd7==null?void 0x0:_0x343fd7[_0x542503(0x440)])!=null?_0x1c242b:[],_0x380f0c=(_0x221d10=_0x343fd7==null?void 0x0:_0x343fd7[_0x542503(0x210)])!=null?_0x221d10:null,_0x305900=!!(_0x380f0c!=null&&_0x380f0c[_0x542503(0x226)])&&!!(_0x380f0c!=null&&_0x380f0c[_0x542503(0x205)]);this[_0x542503(0x282)]=_0x305900?_0x380f0c[_0x542503(0x226)]:_0x444836[_0x542503(0x16c)](),this[_0x542503(0x1a8)]=_0x305900?_0x380f0c[_0x542503(0x205)]:0x0;const _0x25cb83=this['unitID'];try{this[_0x542503(0x3f5)](_0x380f0c,_0x21d4fe);}catch(_0x5dc941){this['_logService']['error'](_0x5dc941);}const _0x15208a=this[_0x542503(0x3a1)]();if(_0x4537bb){const _0x3b7baf=_0x5a5752(this['_injector'],_0x25cb83,this[_0x542503(0x20e)],_0x380f0c,_0x21d4fe,_0x15208a);return _0x3b7baf instanceof _0xa2dc9b[_0x542503(0x279)]?_0x3b7baf[_0x542503(0x472)]():(_0x3b7baf instanceof _0xa2dc9b[_0x542503(0x31e)]||_0x3b7baf instanceof _0xa2dc9b[_0x542503(0x1dd)])&&_0x3b7baf[_0x542503(0x476)](),_0x3b7baf;}return this[_0x542503(0x2a7)]['createInstance'](_0xa2dc9b[_0x542503(0x1c1)],_0x25cb83,this[_0x542503(0x20e)],_0x380f0c,_0x21d4fe,_0x15208a);}[_0x1d6855(0x3f5)](_0x3a2327,_0x1a4d69){var _0x2cad41=_0x1d6855,_0x24ba46,_0x1eb645;const _0x4a4624=this[_0x2cad41(0x14f)][_0x2cad41(0x321)][_0x2cad41(0x294)](this[_0x2cad41(0x14f)][_0x2cad41(0x321)][_0x2cad41(0x249)]()['COMPRESS_MUTATION_APPLY']);(_0x24ba46=_0x4a4624((_0x3a2327==null?void 0x0:_0x3a2327[_0x2cad41(0x440)])||[],null))==null||_0x24ba46[_0x2cad41(0x1c0)](_0x419bbd=>this[_0x2cad41(0x1e3)]['executeCommand'](_0x419bbd['id'],_0x419bbd[_0x2cad41(0x21e)])),(_0x1eb645=_0x4a4624(_0x1a4d69||[],null))==null||_0x1eb645[_0x2cad41(0x1c0)](_0x39962f=>this['_commandService'][_0x2cad41(0x390)](_0x39962f['id'],_0x39962f[_0x2cad41(0x21e)]));}},_0xa2dc9b[_0x1d6855(0x2fc)]=_0x116a50([_0x26d9ca(0x3,_0x95e227[_0x1d6855(0x3da)](_0x95e227['Injector'])),_0x26d9ca(0x4,_0x95e227[_0x1d6855(0x3da)](_0x444836[_0x1d6855(0x401)])),_0x26d9ca(0x5,_0x95e227[_0x1d6855(0x3da)](_0x95e227['LocaleService'])),_0x26d9ca(0x6,_0x95e227['Inject'](_0x444836[_0x1d6855(0x2cb)])),_0x26d9ca(0x7,_0x95e227[_0x1d6855(0x3da)](_0x28554a)),_0x26d9ca(0x8,_0x95e227[_0x1d6855(0x47b)]),_0x26d9ca(0x9,_0x95e227[_0x1d6855(0x11b)]),_0x26d9ca(0xa,_0x95e227['ICommandService']),_0x26d9ca(0xb,_0x95e227[_0x1d6855(0x288)]),_0x26d9ca(0xc,_0x95e227[_0x1d6855(0x14a)](_0x2f6a3a)),_0x26d9ca(0xd,_0x95e227[_0x1d6855(0x14a)](_0x1e8401))],_0xa2dc9b[_0x1d6855(0x2fc)]),_0xa2dc9b[_0x1d6855(0x318)]=class extends _0xa2dc9b[_0x1d6855(0x2fc)]{constructor(_0x177d3a,_0x586507,_0x522522,_0x5db3ff,_0x38e97a,_0x3ca3c5,_0x58ddfc,_0x189f55,_0x14a0c0,_0x391077,_0x595d26,_0x206e8a,_0x2acdd3,_0x32ddf0){var _0x4336c1=_0x1d6855;super(_0x177d3a,_0x522522,_0x586507,_0x5db3ff,_0x38e97a,_0x3ca3c5,_0x58ddfc,_0x189f55,_0x14a0c0,_0x391077,_0x595d26,_0x206e8a,_0x2acdd3,_0x32ddf0),_0x1c0f2e(this,'_handlerCallback',null),(this[_0x4336c1(0x374)]=_0x177d3a,this[_0x4336c1(0x3fa)]=_0x586507);}['addHandlerCallback'](_0x13a9d6){this['_handlerCallback']=_0x13a9d6;}[_0x1d6855(0x3a0)](){var _0x4ffaed=_0x1d6855;this['_handlerCallback']=null,super[_0x4ffaed(0x3a0)]();}[_0x1d6855(0x3a1)](){var _0x1477cd=_0x1d6855;const _0x2385e9=super[_0x1477cd(0x3a1)]();return _0x2385e9[_0x1477cd(0x1af)]=_0xe29262=>{var _0x42c953=_0x1477cd,_0x359e5f,_0x2fae3d;return(_0x2fae3d=(_0x359e5f=this['_handlerCallback'])==null?void 0x0:_0x359e5f[_0x42c953(0x1af)])==null?void 0x0:_0x2fae3d[_0x42c953(0x2f2)](_0x359e5f,_0xe29262);},_0x2385e9[_0x1477cd(0x1f8)]=_0x25158d=>{var _0xffb37d=_0x1477cd,_0x291a24,_0x31049a;return(_0x31049a=(_0x291a24=this['_handlerCallback'])==null?void 0x0:_0x291a24[_0xffb37d(0x1f8)])==null?void 0x0:_0x31049a[_0xffb37d(0x2f2)](_0x291a24,_0x25158d);},_0x2385e9['onTransformSelections']=_0x3dcfcf=>{var _0x1a8887=_0x1477cd,_0x350792,_0x5787ae;return(_0x5787ae=(_0x350792=this[_0x1a8887(0x305)])==null?void 0x0:_0x350792[_0x1a8887(0x28d)])==null?void 0x0:_0x5787ae[_0x1a8887(0x2f2)](_0x350792,_0x3dcfcf);},_0x2385e9['onSyncEditingCollabCursor']=_0xd29cd4=>{var _0x505baf=_0x1477cd,_0x41802a,_0xa9d669;return(_0xa9d669=(_0x41802a=this[_0x505baf(0x305)])==null?void 0x0:_0x41802a[_0x505baf(0x217)])==null?void 0x0:_0xa9d669[_0x505baf(0x2f2)](_0x41802a,_0xd29cd4);},_0x2385e9['onTransformRemoteChangesetByIMECache']=_0x44e506=>{var _0x4193f6=_0x1477cd,_0x5162e4,_0x569d0b,_0x2137f0;if(!((_0x5162e4=this['_handlerCallback'])!=null&&_0x5162e4['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2137f0=(_0x569d0b=this['_handlerCallback'])==null?void 0x0:_0x569d0b[_0x4193f6(0x3c7)])==null?void 0x0:_0x2137f0['call'](_0x569d0b,_0x44e506);},_0x2385e9[_0x1477cd(0x262)]=_0xf95246=>{var _0x3bbd7c=_0x1477cd,_0x189a9f,_0x2519fe,_0x809015;if(!((_0x189a9f=this[_0x3bbd7c(0x305)])!=null&&_0x189a9f[_0x3bbd7c(0x262)]))throw new Error(_0x3bbd7c(0x143));return(_0x809015=(_0x2519fe=this['_handlerCallback'])==null?void 0x0:_0x2519fe[_0x3bbd7c(0x262)])==null?void 0x0:_0x809015[_0x3bbd7c(0x2f2)](_0x2519fe,_0xf95246);},_0x2385e9;}async[_0x1d6855(0x1b6)](){var _0x4e71a3=_0x1d6855;const _0x20ab4d=await super['_init']();return this[_0x4e71a3(0x2e1)](this[_0x4e71a3(0x1e3)]['onMutationExecutedForCollab']((_0x528d8f,_0x5011a1)=>{var _0x5793f7=_0x4e71a3;if(_0x528d8f[_0x5793f7(0x3fa)]!==_0x95e227[_0x5793f7(0x3c0)][_0x5793f7(0x245)]||_0x5011a1!=null&&_0x5011a1[_0x5793f7(0x11f)]||_0x5011a1!=null&&_0x5011a1['onlyLocal']||_0x528d8f['id']===_0x73d691[_0x5793f7(0x107)]['id'])return;const _0xbec923=_0x528d8f[_0x5793f7(0x21e)];if((_0xbec923==null?void 0x0:_0xbec923[_0x5793f7(0x15f)])!==this[_0x5793f7(0x374)])return;const _0x327047=_0x528d8f,_0x4edc9e=this[_0x5793f7(0x14f)][_0x5793f7(0x321)]['fetchThroughInterceptors'](this[_0x5793f7(0x14f)][_0x5793f7(0x321)][_0x5793f7(0x249)]()['COMPRESS_MUTATION_SEND'])([_0x327047],this[_0x5793f7(0x1ac)])||[_0x327047];this[_0x5793f7(0x30f)](_0x4edc9e[0x0]);})),_0x20ab4d;}},_0xa2dc9b[_0x1d6855(0x318)]=_0x116a50([_0x26d9ca(0x3,_0x95e227['Inject'](_0x95e227[_0x1d6855(0x1dc)])),_0x26d9ca(0x4,_0x95e227[_0x1d6855(0x3da)](_0x444836['CompressMutationService'])),_0x26d9ca(0x5,_0x95e227[_0x1d6855(0x3da)](_0x95e227['LocaleService'])),_0x26d9ca(0x6,_0x95e227[_0x1d6855(0x3da)](_0x444836[_0x1d6855(0x2cb)])),_0x26d9ca(0x7,_0x95e227[_0x1d6855(0x3da)](_0x28554a)),_0x26d9ca(0x8,_0x95e227[_0x1d6855(0x47b)]),_0x26d9ca(0x9,_0x95e227[_0x1d6855(0x11b)]),_0x26d9ca(0xa,_0x95e227[_0x1d6855(0x1f0)]),_0x26d9ca(0xb,_0x95e227[_0x1d6855(0x288)]),_0x26d9ca(0xc,_0x95e227[_0x1d6855(0x14a)](_0x2f6a3a)),_0x26d9ca(0xd,_0x95e227['Optional'](_0x1e8401))],_0xa2dc9b[_0x1d6855(0x318)]),_0xa2dc9b[_0x1d6855(0x3c6)]=class extends _0xa2dc9b[_0x1d6855(0x2fc)]{constructor(_0x2213d4,_0x1890b8,_0x90e826,_0x11ff7d,_0x526122,_0x2eacf6,_0x27dc0a,_0x3f1953,_0x2690f7,_0x3dc7dd,_0x33272d,_0x52a123,_0x6a1c9d,_0x2cab33,_0x2f1ed4){var _0x2df8dd=_0x1d6855;super(_0x2213d4,_0x90e826,_0x1890b8,_0x11ff7d,_0x526122,_0x2eacf6,_0x27dc0a,_0x2690f7,_0x3dc7dd,_0x33272d,_0x52a123,_0x6a1c9d,_0x2cab33,_0x2f1ed4),this['unitID']=_0x2213d4,this['type']=_0x1890b8,this[_0x2df8dd(0x20d)]=_0x3f1953;}[_0x1d6855(0x3a1)](){var _0x2a1f98=_0x1d6855;const _0x56e5e5=super[_0x2a1f98(0x3a1)]();return _0x56e5e5[_0x2a1f98(0x28d)]=_0x4c97fb=>this[_0x2a1f98(0x20d)][_0x2a1f98(0x260)](_0x4c97fb),_0x56e5e5;}async[_0x1d6855(0x1b6)](){var _0x1e0929=_0x1d6855;const _0x46ba51=await super[_0x1e0929(0x1b6)]();return this[_0x1e0929(0x2e1)](this['_commandService'][_0x1e0929(0x3d3)]((_0x531c3f,_0x4c031c)=>{var _0x158ce2=_0x1e0929;if(_0x531c3f[_0x158ce2(0x3fa)]!==_0x95e227[_0x158ce2(0x3c0)][_0x158ce2(0x245)]||_0x4c031c!=null&&_0x4c031c[_0x158ce2(0x11f)]||_0x4c031c!=null&&_0x4c031c[_0x158ce2(0x124)])return;const _0x5e7ffc=_0x531c3f[_0x158ce2(0x21e)];if((_0x5e7ffc==null?void 0x0:_0x5e7ffc[_0x158ce2(0x15f)])!==this[_0x158ce2(0x374)])return;const _0x3e127a=_0x531c3f,_0x5135f5=this['_compressMutationService']['interceptor'][_0x158ce2(0x294)](this[_0x158ce2(0x14f)][_0x158ce2(0x321)]['getInterceptPoints']()[_0x158ce2(0x458)])([_0x3e127a],this[_0x158ce2(0x1ac)])||[_0x3e127a];this['_onLocalMutation'](_0x5135f5[0x0]);})),_0x46ba51;}},_0xa2dc9b[_0x1d6855(0x3c6)]=_0x116a50([_0x26d9ca(0x3,_0x95e227[_0x1d6855(0x3da)](_0x95e227['Injector'])),_0x26d9ca(0x4,_0x95e227['Inject'](_0x444836[_0x1d6855(0x401)])),_0x26d9ca(0x5,_0x95e227['Inject'](_0x95e227[_0x1d6855(0x3cb)])),_0x26d9ca(0x6,_0x95e227[_0x1d6855(0x3da)](_0x444836[_0x1d6855(0x2cb)])),_0x26d9ca(0x7,_0x95e227[_0x1d6855(0x3da)](_0xa2dc9b['SheetTransformSelectionsService'])),_0x26d9ca(0x8,_0x95e227[_0x1d6855(0x3da)](_0x28554a)),_0x26d9ca(0x9,_0x95e227[_0x1d6855(0x47b)]),_0x26d9ca(0xa,_0x95e227[_0x1d6855(0x11b)]),_0x26d9ca(0xb,_0x95e227['ICommandService']),_0x26d9ca(0xc,_0x95e227[_0x1d6855(0x288)]),_0x26d9ca(0xd,_0x95e227[_0x1d6855(0x14a)](_0x2f6a3a)),_0x26d9ca(0xe,_0x95e227['Optional'](_0x1e8401))],_0xa2dc9b[_0x1d6855(0x3c6)]);const _0x16828d=_0x95e227[_0x1d6855(0x447)](_0x1d6855(0x35a));function _0x2912e9(_0x4cdb2f){var _0x379131=_0x1d6855,_0x1ffddf,_0x4c40f5,_0x5851b0,_0x254b35,_0x406f73;const _0x59ca91=_0x4cdb2f[_0x379131(0x1d9)],_0x43ffa8=JSON[_0x379131(0x376)](_0x59ca91);switch(_0x43ffa8[_0x379131(0x40a)]){case _0x424f21[_0x379131(0x35e)]:case _0x424f21['HELLO']:{const _0x3e4b72=_0x43ffa8[_0x379131(0x213)];return{..._0x43ffa8,'data':_0x3e4b72,'cmd':_0x43ffa8[_0x379131(0x40a)]};}case _0x424f21[_0x379131(0x32d)]:{const _0x2b6967=_0x43ffa8[_0x379131(0x18a)];return{..._0x43ffa8,'data':_0x2b6967,'cmd':_0x43ffa8[_0x379131(0x40a)]};}case _0x424f21[_0x379131(0x2e9)]:{const _0x3ea7da=_0x43ffa8[_0x379131(0x328)];switch(_0x3ea7da[_0x379131(0x214)]){case _0x444836[_0x379131(0x3a5)][_0x379131(0x13d)]:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':(_0x1ffddf=_0x3ea7da[_0x379131(0x272)])==null?void 0x0:_0x1ffddf['cs']},'cmd':_0x43ffa8[_0x379131(0x40a)]};case _0x444836[_0x379131(0x3a5)][_0x379131(0x33b)]:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':(_0x4c40f5=_0x3ea7da[_0x379131(0x473)])==null?void 0x0:_0x4c40f5['cs']},'cmd':_0x43ffa8[_0x379131(0x40a)]};case _0x444836[_0x379131(0x3a5)]['NEW_CHANGESETS']:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':(_0x5851b0=_0x3ea7da[_0x379131(0x243)])==null?void 0x0:_0x5851b0['cs']},'cmd':_0x43ffa8[_0x379131(0x40a)]};case _0x444836[_0x379131(0x3a5)]['CHANGESET_REJ']:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':(_0x254b35=_0x3ea7da[_0x379131(0x426)])==null?void 0x0:_0x254b35['cs']},'cmd':_0x43ffa8[_0x379131(0x40a)]};case _0x444836[_0x379131(0x3a5)][_0x379131(0x15b)]:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':(_0x406f73=_0x3ea7da[_0x379131(0x146)])==null?void 0x0:_0x406f73['cs']},'cmd':_0x43ffa8[_0x379131(0x40a)]};case _0x444836[_0x379131(0x3a5)][_0x379131(0x2fb)]:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':_0x3ea7da['updateCursorEvent']},'cmd':_0x43ffa8[_0x379131(0x40a)]};case _0x444836['CollaborationEvent'][_0x379131(0x119)]:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':_0x3ea7da['joinEvent']},'cmd':_0x43ffa8['cmd']};case _0x444836[_0x379131(0x3a5)][_0x379131(0x3d0)]:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':_0x3ea7da['leaveEvent']},'cmd':_0x43ffa8['cmd']};case _0x444836[_0x379131(0x3a5)][_0x379131(0x3b4)]:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':_0x3ea7da[_0x379131(0x48d)]},'cmd':_0x43ffa8[_0x379131(0x40a)]};case _0x444836[_0x379131(0x3a5)][_0x379131(0x385)]:case _0x444836['CollaborationEvent'][_0x379131(0x414)]:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':_0x3ea7da['liveShareOperation']},'cmd':_0x43ffa8[_0x379131(0x40a)]};case _0x444836['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':_0x3ea7da['liveShareNewHost']},'cmd':_0x43ffa8['cmd']};case _0x444836[_0x379131(0x3a5)][_0x379131(0x3b9)]:return{..._0x43ffa8,'data':_0x3ea7da,'cmd':_0x43ffa8[_0x379131(0x40a)]};case _0x444836[_0x379131(0x3a5)][_0x379131(0x316)]:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':_0x3ea7da[_0x379131(0x1d2)]},'cmd':_0x43ffa8[_0x379131(0x40a)]};case _0x444836['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':_0x3ea7da['updatePermissionObjEvent']},'cmd':_0x43ffa8[_0x379131(0x40a)]};case _0x444836[_0x379131(0x3a5)]['SHOULD_CLOSE_CONN']:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':_0x3ea7da[_0x379131(0x2df)]},'cmd':_0x43ffa8[_0x379131(0x40a)]};case _0x444836[_0x379131(0x3a5)][_0x379131(0x1b3)]:return{..._0x43ffa8,'data':{..._0x3ea7da,'data':_0x3ea7da[_0x379131(0x18d)]},'cmd':_0x43ffa8['cmd']};default:return _0x43ffa8;}}default:return _0x43ffa8;}}function _0x2ca84c(_0x2afafa){var _0x23ea09=_0x1d6855;switch(_0x2afafa[_0x23ea09(0x40a)]){case _0x424f21[_0x23ea09(0x35e)]:case _0x424f21[_0x23ea09(0x15d)]:return JSON[_0x23ea09(0x1f9)]({'cmd':_0x2afafa['cmd'],'routeKey':_0x2afafa[_0x23ea09(0x222)]});case _0x424f21[_0x23ea09(0x39d)]:{let _0x21fc92;switch(_0x2afafa[_0x23ea09(0x1d9)][_0x23ea09(0x214)]){case _0x444836[_0x23ea09(0x3a5)]['UPDATE_CURSOR']:{_0x21fc92={'eventID':_0x444836['CollaborationEvent'][_0x23ea09(0x2fb)],'updateCursorEvent':_0x2afafa['data'][_0x23ea09(0x1d9)]};break;}case _0x444836['CollaborationEvent'][_0x23ea09(0x3d0)]:{_0x21fc92={'eventID':_0x444836[_0x23ea09(0x3a5)][_0x23ea09(0x3d0)],'leaveEvent':_0x2afafa['data']['data']};break;}case _0x444836[_0x23ea09(0x3a5)][_0x23ea09(0x119)]:{_0x21fc92={'eventID':_0x444836['CollaborationEvent'][_0x23ea09(0x119)],'joinEvent':_0x2afafa['data'][_0x23ea09(0x1d9)]};break;}case _0x444836[_0x23ea09(0x3a5)][_0x23ea09(0x3b4)]:{_0x21fc92={'eventID':_0x444836[_0x23ea09(0x3a5)][_0x23ea09(0x3b4)],'liveShareNewHost':_0x2afafa['data'][_0x23ea09(0x1d9)]};break;}case _0x444836[_0x23ea09(0x3a5)][_0x23ea09(0x414)]:{_0x21fc92={'eventID':_0x444836['CollaborationEvent'][_0x23ea09(0x414)],'liveShareOperation':_0x2afafa['data'][_0x23ea09(0x1d9)]};break;}case _0x444836[_0x23ea09(0x3a5)][_0x23ea09(0x420)]:{_0x21fc92={'eventID':_0x444836[_0x23ea09(0x3a5)][_0x23ea09(0x420)],'liveShareTerminate':_0x2afafa[_0x23ea09(0x1d9)][_0x23ea09(0x1d9)]};break;}case _0x444836[_0x23ea09(0x3a5)][_0x23ea09(0x31d)]:{_0x21fc92={'eventID':_0x444836[_0x23ea09(0x3a5)][_0x23ea09(0x31d)],'liveShareRequestHost':_0x2afafa[_0x23ea09(0x1d9)][_0x23ea09(0x1d9)]};break;}case _0x444836[_0x23ea09(0x3a5)][_0x23ea09(0x385)]:{_0x21fc92={'eventID':_0x444836[_0x23ea09(0x3a5)][_0x23ea09(0x385)]};break;}default:_0x21fc92={'eventID':_0x2afafa[_0x23ea09(0x1d9)][_0x23ea09(0x214)]};}return JSON[_0x23ea09(0x1f9)]({'cmd':_0x2afafa['cmd'],'routeKey':_0x2afafa[_0x23ea09(0x222)],'collaMsg':_0x21fc92});}case _0x424f21[_0x23ea09(0x32d)]:return JSON[_0x23ea09(0x1f9)]({'cmd':_0x2afafa[_0x23ea09(0x40a)],'routeKey':_0x2afafa[_0x23ea09(0x222)],'joinReq':_0x2afafa[_0x23ea09(0x1d9)]});case _0x424f21[_0x23ea09(0x457)]:return JSON['stringify']({'cmd':_0x2afafa[_0x23ea09(0x40a)],'routeKey':_0x2afafa[_0x23ea09(0x222)],'leaveReq':_0x2afafa[_0x23ea09(0x1d9)]});default:throw new Error(_0x23ea09(0x1e4));}}var _0x1ec036=Object['getOwnPropertyDescriptor'],_0x2471cf=(_0x3063b5,_0x305202,_0x291b54,_0x3704d4)=>{var _0x45f91d=_0x1d6855;for(var _0x29b1ce=_0x3704d4>0x1?void 0x0:_0x3704d4?_0x1ec036(_0x305202,_0x291b54):_0x305202,_0x400602=_0x3063b5[_0x45f91d(0x161)]-0x1,_0x32bc62;_0x400602>=0x0;_0x400602--)(_0x32bc62=_0x3063b5[_0x400602])&&(_0x29b1ce=_0x32bc62(_0x29b1ce)||_0x29b1ce);return _0x29b1ce;},_0x1be1c4=(_0x3fa9f8,_0x37fc79)=>(_0xd418fc,_0x3d2ad6)=>_0x37fc79(_0xd418fc,_0x3d2ad6,_0x3fa9f8);const _0x42bcb1=_0x95e227[_0x1d6855(0x447)](_0x1d6855(0x311));function _0x5b508f(_0x50622c,_0x2454ff,_0x1b746e){var _0x2b67e8=_0x1d6855;return _0x50622c+'/'+_0x2454ff+_0x2b67e8(0x2e4)+_0x1b746e+_0x2b67e8(0x20b);}_0xa2dc9b['CollaborationSocketService']=class extends _0x95e227[_0x1d6855(0x3b0)]{constructor(_0x12e33b,_0x36cace,_0x5cc5bf,_0x14e7f2,_0x2600ff){var _0x1c0f77=_0x1d6855;super(),this[_0x1c0f77(0x2a7)]=_0x12e33b,this[_0x1c0f77(0x2cc)]=_0x36cace,this['_configService']=_0x5cc5bf,this[_0x1c0f77(0x1f4)]=_0x14e7f2,this[_0x1c0f77(0x285)]=_0x2600ff;}[_0x1d6855(0x190)](_0x54d7c2){var _0x14658c=_0x1d6855;const _0x4d4481=this[_0x14658c(0x2a7)]['get'](_0x3ea7ce[_0x14658c(0x38c)]);if(!_0x4d4481)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x65cd57=_0x4d4481[_0x14658c(0x3c8)](_0x54d7c2);if(!_0x65cd57)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5ddeb9=new _0x95e227[(_0x14658c(0x42f))](),_0x1c6cf5=new _0x55db85[(_0x14658c(0x46e))]();_0x5ddeb9['add'](_0x65cd57[_0x14658c(0x1fd)][_0x14658c(0x41e)](_0x8117c3=>_0x1c6cf5[_0x14658c(0x155)](_0x8117c3))),_0x5ddeb9[_0x14658c(0x3d2)](_0x95e227[_0x14658c(0x2c9)](()=>_0x1c6cf5[_0x14658c(0x2dc)]()));const _0x2edf17=new _0x55db85[(_0x14658c(0x46e))]();_0x5ddeb9[_0x14658c(0x3d2)](_0x65cd57[_0x14658c(0x436)][_0x14658c(0x41e)](_0x47b7c8=>_0x2edf17[_0x14658c(0x155)](_0x47b7c8))),_0x5ddeb9[_0x14658c(0x3d2)](_0x95e227['toDisposable'](()=>_0x2edf17[_0x14658c(0x2dc)]()));const _0x489d2a=new _0x55db85[(_0x14658c(0x46e))]();_0x5ddeb9[_0x14658c(0x3d2)](_0x65cd57[_0x14658c(0x158)]['subscribe'](_0x46b603=>{var _0x3c5a05=_0x14658c;const _0x3fe39f=_0x2912e9(_0x46b603);_0x489d2a[_0x3c5a05(0x155)](_0x3fe39f);})),_0x5ddeb9['add'](_0x95e227[_0x14658c(0x2c9)](()=>_0x489d2a['complete']()));let _0x160db5;const _0xcdad96=()=>{var _0x57e480=_0x14658c;_0x2edf17['next'](new Event(_0x57e480(0x14c))),_0x1c6cf5[_0x57e480(0x155)](new Event(_0x57e480(0x14c))),_0x160db5['close']();};return _0x160db5={'memberID':'','close$':_0x1c6cf5['asObservable'](),'error$':_0x2edf17['asObservable'](),'open$':_0x65cd57[_0x14658c(0x2bb)],'message$':_0x489d2a['asObservable'](),'send':_0x1ee3f4=>{var _0x37d077=_0x14658c;if(_0x1ee3f4['cmd']===_0x424f21[_0x37d077(0x39d)]){if(_0x1ee3f4['data'][_0x37d077(0x214)]===_0x444836[_0x37d077(0x3a5)][_0x37d077(0x1a2)]){this['_submitChangeset'](_0x160db5,_0x1ee3f4['data'])[_0x37d077(0x301)](_0x2216fc=>{var _0x5cf7e7=_0x37d077;this['_logService'][_0x5cf7e7(0x23e)](_0x2216fc),_0xcdad96();});return;}if(_0x1ee3f4[_0x37d077(0x1d9)][_0x37d077(0x214)]===_0x444836[_0x37d077(0x3a5)][_0x37d077(0x2ac)]){const _0x22655c=_0x1ee3f4[_0x37d077(0x1d9)];this[_0x37d077(0x494)](_0x22655c)['then'](_0x2e175d=>{var _0x5369a6=_0x37d077;_0x489d2a[_0x5369a6(0x155)]({'cmd':_0x424f21[_0x5369a6(0x2e9)],'code':_0x5982c5['OK'],'routeKey':_0x22655c[_0x5369a6(0x1d9)]['unitID'],'routeType':'','data':{'eventID':_0x444836[_0x5369a6(0x3a5)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x2e175d}}});})[_0x37d077(0x301)](_0x3c68cd=>{var _0x13b585=_0x37d077;this[_0x13b585(0x1f4)]['error'](_0x3c68cd),_0xcdad96();});return;}}_0x65cd57['send'](_0x2ca84c(_0x1ee3f4));},'close':()=>{var _0x5cee22=_0x14658c;_0x65cd57['close'](),_0x5ddeb9[_0x5cee22(0x3a0)]();}},_0x160db5;}async[_0x1d6855(0x3b7)](_0x5ca1b3,_0x384853){var _0x44a2fb=_0x1d6855,_0x4050f4;const {unitType:_0x5f55d7,unitID:_0x262e2e,changeset:_0x5638a9}=_0x384853[_0x44a2fb(0x1d9)],_0x523ac9={'unitID':_0x262e2e,'memberID':_0x5ca1b3['memberID'],'type':_0x5f55d7,'changeset':_0x444836[_0x44a2fb(0x48e)](_0x5638a9)},_0x3c7212=this[_0x44a2fb(0x1fc)][_0x44a2fb(0x159)](_0x3a9eb9),_0x24d4d0=_0x5b508f((_0x4050f4=_0x3c7212==null?void 0x0:_0x3c7212['collabSubmitChangesetUrl'])!=null?_0x4050f4:_0x3bbb19,_0x5f55d7,_0x262e2e);try{await this[_0x44a2fb(0x2cc)][_0x44a2fb(0x184)](_0x24d4d0,{'body':_0x523ac9});}catch(_0x2b81d3){throw this[_0x44a2fb(0x1f4)][_0x44a2fb(0x23e)]('[CollaborationSession]',_0x44a2fb(0x130)),_0x2b81d3;}}async[_0x1d6855(0x494)](_0x3d29a3){var _0x12d6f2=_0x1d6855;const {unitID:_0x3363bc,from:_0x3efc57,to:_0xb59f15,unitType:_0x4920d9}=_0x3d29a3['data'];return(await this['_snapshotServerService'][_0x12d6f2(0x187)]({'metadata':void 0x0},{'unitID':_0x3363bc,'type':_0x4920d9,'from':_0x3efc57,'to':_0xb59f15}))[_0x12d6f2(0x216)][_0x12d6f2(0x1ce)](_0x25b683=>((_0x25b683[_0x12d6f2(0x440)]===null||_0x25b683['mutations']===void 0x0)&&(_0x25b683[_0x12d6f2(0x440)]=[]),_0x25b683));}},_0xa2dc9b[_0x1d6855(0x27e)]=_0x2471cf([_0x1be1c4(0x0,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x1dc)])),_0x1be1c4(0x1,_0x95e227['Inject'](_0x3ea7ce[_0x1d6855(0x3e6)])),_0x1be1c4(0x2,_0x95e227[_0x1d6855(0x408)]),_0x1be1c4(0x3,_0x95e227[_0x1d6855(0x11b)]),_0x1be1c4(0x4,_0x444836[_0x1d6855(0x152)])],_0xa2dc9b['CollaborationSocketService']);var _0x13b7ee=Object[_0x1d6855(0x1e7)],_0x1a6ba3=(_0x4f8a7c,_0x5917c7,_0x2aab49,_0x16324a)=>{var _0x130f39=_0x1d6855;for(var _0x3408fc=_0x16324a>0x1?void 0x0:_0x16324a?_0x13b7ee(_0x5917c7,_0x2aab49):_0x5917c7,_0x55b431=_0x4f8a7c[_0x130f39(0x161)]-0x1,_0xb8576d;_0x55b431>=0x0;_0x55b431--)(_0xb8576d=_0x4f8a7c[_0x55b431])&&(_0x3408fc=_0xb8576d(_0x3408fc)||_0x3408fc);return _0x3408fc;},_0x247221=(_0x277ffd,_0x5b745b)=>(_0x3b1593,_0x2117e0)=>_0x5b745b(_0x3b1593,_0x2117e0,_0x277ffd);_0xa2dc9b['CollaborationSessionService']=class extends _0x95e227[_0x1d6855(0x3b0)]{constructor(_0x1f13b4,_0x3b2c1a,_0x1a4c8a,_0x1b6b58,_0x3f83fd,_0x4ce19c){var _0x13ade6=_0x1d6855;super(),_0x1c0f2e(this,_0x13ade6(0x3df),new _0x55db85[(_0x13ade6(0x38e))](void 0x0)),_0x1c0f2e(this,_0x13ade6(0x292),this[_0x13ade6(0x3df)][_0x13ade6(0x1c4)]()),_0x1c0f2e(this,_0x13ade6(0x2c4),null),_0x1c0f2e(this,'_sessions',new Map()),_0x1c0f2e(this,'_status$',new _0x55db85[(_0x13ade6(0x38e))](_0x5488ec[_0x13ade6(0x132)])),_0x1c0f2e(this,_0x13ade6(0x25c),this[_0x13ade6(0x23c)][_0x13ade6(0x1c4)]()),_0x1c0f2e(this,_0x13ade6(0x2b0),!0x1),_0x1c0f2e(this,_0x13ade6(0x2ee)),_0x1c0f2e(this,'_retryCount',0x0),_0x1c0f2e(this,_0x13ade6(0x402)),_0x1c0f2e(this,_0x13ade6(0x289)),(this[_0x13ade6(0x2a7)]=_0x1f13b4,this[_0x13ade6(0x1f4)]=_0x3b2c1a,this[_0x13ade6(0x1fc)]=_0x1a4c8a,this[_0x13ade6(0x2d7)]=_0x1b6b58,this[_0x13ade6(0x180)]=_0x3f83fd,this['_networkConditionService']=_0x4ce19c,this[_0x13ade6(0x3a6)]());}get['_socket'](){var _0x131c1c=_0x1d6855;return this[_0x131c1c(0x3df)][_0x131c1c(0x312)]();}[_0x1d6855(0x3a6)](){var _0x2d1246=_0x1d6855;this[_0x2d1246(0x2e7)]&&this[_0x2d1246(0x2e1)](this['_networkConditionService'][_0x2d1246(0x2e2)][_0x2d1246(0x41e)](_0x247784=>{_0x247784&&!this['_socket']&&this['reconnect'](),_0x247784||this['_onOffline']();}));}[_0x1d6855(0x3a0)](){var _0x4d07b9=_0x1d6855;super[_0x4d07b9(0x3a0)](),this['_clearRetryConnectingTimer'](),this[_0x4d07b9(0x1c8)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x4d07b9(0x1c0)](_0x46513c=>_0x46513c[_0x4d07b9(0x3a0)]()),this['_sessions'][_0x4d07b9(0x134)](),this[_0x4d07b9(0x23c)]['complete']();}async[_0x1d6855(0x46b)](_0x2abc84){var _0x38e70a=_0x1d6855;if(this[_0x38e70a(0x397)]['has'](_0x2abc84))return this['_sessions'][_0x38e70a(0x34c)](_0x2abc84);this[_0x38e70a(0x42a)]();const _0xc07afc=this[_0x38e70a(0x2a7)][_0x38e70a(0x24d)](_0xa2dc9b[_0x38e70a(0x20c)],_0x2abc84,this[_0x38e70a(0x3df)][_0x38e70a(0x1c4)]());return this[_0x38e70a(0x397)][_0x38e70a(0x3ca)](_0x2abc84,_0xc07afc),_0xc07afc;}['closeSession'](_0x43054b){var _0x4d9551=_0x1d6855,_0x514c98;const _0x11d945=this[_0x4d9551(0x397)]['get'](_0x43054b);_0x11d945&&(this['_sessions'][_0x4d9551(0x482)](_0x43054b),_0x11d945[_0x4d9551(0x15c)]()),this['_sessions'][_0x4d9551(0x409)]||(_0x514c98=this[_0x4d9551(0x1df)])==null||_0x514c98['close']();}['reconnect'](){var _0x25e73f=_0x1d6855;this[_0x25e73f(0x111)]=0x0,this[_0x25e73f(0x348)](),this[_0x25e73f(0x14b)]();}[_0x1d6855(0x348)](){var _0x1e6745=_0x1d6855;this[_0x1e6745(0x2ee)]!=null&&(clearTimeout(this[_0x1e6745(0x2ee)]),this[_0x1e6745(0x2ee)]=null);}async[_0x1d6855(0x486)](){var _0x2905cf=_0x1d6855,_0x4eac0e;const _0x3e7baa=this[_0x2905cf(0x1fc)][_0x2905cf(0x159)](_0x3a9eb9),_0x20dbbe=(_0x4eac0e=_0x3e7baa==null?void 0x0:_0x3e7baa[_0x2905cf(0x477)])!=null?_0x4eac0e:_0x7a8aaf,_0x1ac0cf=await this[_0x2905cf(0x2d7)][_0x2905cf(0x3c8)](_0x20dbbe);return this['_candidateSocket']=_0x1ac0cf,_0x1ac0cf;}async['_tryEnsureSocket'](){var _0x5ca3db=_0x1d6855,_0x408547,_0x122785;try{const _0x58a630=(_0x122785=(_0x408547=this[_0x5ca3db(0x1df)])!=null?_0x408547:this['_candidateSocket'])!=null?_0x122785:await this[_0x5ca3db(0x486)]();if(_0x58a630){const _0x40193a=_0x58a630[_0x5ca3db(0x235)];_0x58a630[_0x5ca3db(0x235)]=_0x365f5f=>(this[_0x5ca3db(0x338)](),_0x40193a[_0x5ca3db(0x2ab)](_0x58a630,[_0x365f5f])),_0x58a630[_0x5ca3db(0x158)][_0x5ca3db(0x41e)](_0xec91ec=>this[_0x5ca3db(0x34d)](_0x58a630,_0xec91ec)),_0x58a630['error$'][_0x5ca3db(0x3d5)](_0x20ce0a[_0x5ca3db(0x1e6)](0x1))['subscribe'](_0x2196b0=>this[_0x5ca3db(0x1f4)][_0x5ca3db(0x23e)](_0x5ca3db(0x212),_0x2196b0)),_0x58a630[_0x5ca3db(0x2bb)][_0x5ca3db(0x3d5)](_0x20ce0a[_0x5ca3db(0x1e6)](0x1))[_0x5ca3db(0x41e)](()=>{var _0x5134f3=_0x5ca3db;this[_0x5134f3(0x229)](_0x58a630);}),_0x58a630[_0x5ca3db(0x1fd)]['pipe'](_0x20ce0a['take'](0x1))[_0x5ca3db(0x41e)](_0x5ed961=>{var _0x4d5843=_0x5ca3db;this[_0x4d5843(0x1f4)][_0x4d5843(0x3a2)]('[CollaborationSessionService]',_0x4d5843(0x12c),_0x5ed961),this[_0x4d5843(0x2ea)]();});}}catch(_0x423381){this[_0x5ca3db(0x1f4)][_0x5ca3db(0x23e)](_0x423381),this[_0x5ca3db(0x2ea)]();}}[_0x1d6855(0x229)](_0x1eacd1){var _0x3bb3f9=_0x1d6855;this[_0x3bb3f9(0x1f4)]['debug'](_0x3bb3f9(0x2c8),_0x3bb3f9(0x485)),_0x1eacd1['send']({'cmd':_0x424f21[_0x3bb3f9(0x15d)]}),this[_0x3bb3f9(0x338)]();}[_0x1d6855(0x283)](){var _0x11c34f=_0x1d6855;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x11c34f(0x23c)]['next'](_0x5488ec[_0x11c34f(0x3fc)]),this[_0x11c34f(0x3df)][_0x11c34f(0x155)](null),this[_0x11c34f(0x1c8)](),this['_clearHeartbeatTimer']();}[_0x1d6855(0x2ea)](){var _0x51e23e=_0x1d6855,_0x169eb0;this[_0x51e23e(0x283)](),this[_0x51e23e(0x111)]<((_0x169eb0=this[_0x51e23e(0x1fc)]['getConfig'](_0x233fd7))!=null?_0x169eb0:0x3)?(this[_0x51e23e(0x180)]['emitEvent']({'id':_0x2fc6ea[_0x51e23e(0x1d8)]}),this[_0x51e23e(0x14b)]()):this[_0x51e23e(0x180)][_0x51e23e(0x14e)]({'id':_0x2fc6ea[_0x51e23e(0x48f)]});}[_0x1d6855(0x14b)](){var _0x459b1e=_0x1d6855,_0x3e5cad;const _0x18d090=this[_0x459b1e(0x111)],_0x5ec603=this['_configService'][_0x459b1e(0x159)](_0x3a9eb9),_0x52adc7=_0x18d090===0x0?0x0:((_0x3e5cad=_0x5ec603==null?void 0x0:_0x5ec603[_0x459b1e(0x358)])!=null?_0x3e5cad:0x4e20)*0x2**_0x18d090;this[_0x459b1e(0x2ee)]=setTimeout(()=>{var _0x163dde=_0x459b1e;clearTimeout(this[_0x163dde(0x2ee)]),this['_retryConnectingTimer']=null,this[_0x163dde(0x42a)]();},_0x52adc7),this['_retryCount']+=0x1;}[_0x1d6855(0x34d)](_0x1e1a25,_0x3413a4){var _0x3d6e65=_0x1d6855;const {cmd:_0x3f8d7d}=_0x3413a4;_0x3f8d7d===_0x424f21[_0x3d6e65(0x15d)]&&!this['_socketReady']&&(_0x1e1a25[_0x3d6e65(0x295)]=_0x3413a4[_0x3d6e65(0x1d9)][_0x3d6e65(0x295)],this[_0x3d6e65(0x3df)][_0x3d6e65(0x155)](_0x1e1a25),this[_0x3d6e65(0x23c)][_0x3d6e65(0x155)](_0x5488ec[_0x3d6e65(0x496)]),this[_0x3d6e65(0x2b0)]=!0x0,this[_0x3d6e65(0x2c4)]=null),_0x3f8d7d===_0x424f21[_0x3d6e65(0x35e)]&&this[_0x3d6e65(0x1c8)](),this['_rescheduleHeartbeat']();}[_0x1d6855(0x338)](){var _0xfb993e=_0x1d6855,_0x24bb9c;this[_0xfb993e(0x197)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0xfb993e(0x3f4)](),(_0x24bb9c=this[_0xfb993e(0x1fc)][_0xfb993e(0x159)](_0x252131))!=null?_0x24bb9c:0x7530);}[_0x1d6855(0x3f4)](){var _0x25427e=_0x1d6855;this[_0x25427e(0x1df)][_0x25427e(0x235)]({'cmd':_0x424f21[_0x25427e(0x35e)]}),this[_0x25427e(0x430)]();}[_0x1d6855(0x430)](){var _0x1e91f2=_0x1d6855,_0x26fd8a;this['_timeoutTimer']=setTimeout(()=>this[_0x1e91f2(0x2ea)](),(_0x26fd8a=this[_0x1e91f2(0x1fc)][_0x1e91f2(0x159)](_0x430bfd))!=null?_0x26fd8a:0x4e20);}[_0x1d6855(0x197)](){var _0x375586=_0x1d6855;this[_0x375586(0x402)]!=null&&(clearTimeout(this[_0x375586(0x402)]),this[_0x375586(0x402)]=null);}[_0x1d6855(0x1c8)](){var _0x4f355f=_0x1d6855;this[_0x4f355f(0x289)]!=null&&(clearTimeout(this[_0x4f355f(0x289)]),this[_0x4f355f(0x289)]=null);}},_0xa2dc9b['CollaborationSessionService']=_0x1a6ba3([_0x247221(0x0,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x1dc)])),_0x247221(0x1,_0x95e227[_0x1d6855(0x11b)]),_0x247221(0x2,_0x95e227['IConfigService']),_0x247221(0x3,_0x42bcb1),_0x247221(0x4,_0x95e227[_0x1d6855(0x3da)](_0x28554a)),_0x247221(0x5,_0x95e227[_0x1d6855(0x14a)](_0x16828d))],_0xa2dc9b[_0x1d6855(0x331)]);var _0x1db676=Object[_0x1d6855(0x1e7)],_0x4b8706=(_0xfb5b51,_0x149f68,_0x393cca,_0x209674)=>{var _0x53e08b=_0x1d6855;for(var _0x292696=_0x209674>0x1?void 0x0:_0x209674?_0x1db676(_0x149f68,_0x393cca):_0x149f68,_0xde10fd=_0xfb5b51[_0x53e08b(0x161)]-0x1,_0x365ead;_0xde10fd>=0x0;_0xde10fd--)(_0x365ead=_0xfb5b51[_0xde10fd])&&(_0x292696=_0x365ead(_0x292696)||_0x292696);return _0x292696;},_0x3c7d13=(_0x5a1b55,_0x41fb45)=>(_0x46fdfd,_0x2addcd)=>_0x41fb45(_0x46fdfd,_0x2addcd,_0x5a1b55);_0xa2dc9b[_0x1d6855(0x22a)]=class extends _0x95e227[_0x1d6855(0x39a)]{constructor(_0x5b5142,_0x2552d8,_0x4dc37b,_0x3fcb4a){var _0x66adf7=_0x1d6855,_0x463ab1;super(),_0x1c0f2e(this,_0x66adf7(0x174),new Map()),_0x1c0f2e(this,_0x66adf7(0x3d8),new _0x55db85[(_0x66adf7(0x46e))]()),_0x1c0f2e(this,_0x66adf7(0x2d0),this[_0x66adf7(0x3d8)][_0x66adf7(0x1c4)]()),(this[_0x66adf7(0x2a7)]=_0x5b5142,this['_collabSessionService']=_0x2552d8,this[_0x66adf7(0x1fc)]=_0x4dc37b,this[_0x66adf7(0x1ac)]=_0x3fcb4a,((_0x463ab1=this[_0x66adf7(0x1fc)][_0x66adf7(0x159)](_0x3a9eb9))==null?void 0x0:_0x463ab1['enableCollaboration'])!==!0x1&&this['_init']());}[_0x1d6855(0x3a0)](){var _0x16d286=_0x1d6855;super[_0x16d286(0x3a0)](),this[_0x16d286(0x174)]['forEach'](_0x554d0b=>_0x554d0b[_0x16d286(0x3a0)]()),this[_0x16d286(0x174)][_0x16d286(0x134)]();}[_0x1d6855(0x19b)](_0x23ae2d){var _0x13bfb0=_0x1d6855,_0x258548;return(_0x258548=this[_0x13bfb0(0x174)][_0x13bfb0(0x34c)](_0x23ae2d))!=null?_0x258548:null;}['getCollabEntity$'](_0x15aa68){var _0x27b79b=_0x1d6855;const _0x5ea192=this[_0x27b79b(0x19b)](_0x15aa68);return _0x5ea192?_0x55db85['of'](_0x5ea192):this[_0x27b79b(0x3d8)][_0x27b79b(0x3d5)](_0x20ce0a[_0x27b79b(0x383)](_0xe42ac4=>_0xe42ac4[_0x27b79b(0x374)]===_0x15aa68));}[_0x1d6855(0x310)](_0x48ad73){var _0x9beaac=_0x1d6855;return _0x55db85['firstValueFrom'](this[_0x9beaac(0x191)](_0x48ad73)[_0x9beaac(0x3d5)](_0x20ce0a['map'](()=>{})));}[_0x1d6855(0x1b6)](){var _0x1a61da=_0x1d6855;this['_univerInstanceService'][_0x1a61da(0x1ba)](_0x95e227[_0x1a61da(0x1cd)][_0x1a61da(0x3a4)])[_0x1a61da(0x3d5)](_0x55db85['takeUntil'](this[_0x1a61da(0x232)]),_0x20ce0a[_0x1a61da(0x105)](0x10))[_0x1a61da(0x41e)](async _0x9ed460=>{var _0x33d186=_0x1a61da;const _0x260065=_0x9ed460[_0x33d186(0x29d)](),_0x44ae8d=await this[_0x33d186(0x2ed)](_0x260065,_0x50e467['UNIVER_SHEET']);this[_0x33d186(0x174)][_0x33d186(0x3ca)](_0x260065,_0x44ae8d);}),this[_0x1a61da(0x1ac)][_0x1a61da(0x1ba)](_0x95e227['UniverInstanceType'][_0x1a61da(0x133)])[_0x1a61da(0x3d5)](_0x55db85[_0x1a61da(0x30d)](this[_0x1a61da(0x232)]),_0x20ce0a[_0x1a61da(0x105)](0x10))[_0x1a61da(0x3d5)](_0x20ce0a[_0x1a61da(0x383)](_0x17ed3b=>!_0x17ed3b[_0x1a61da(0x29d)]()[_0x1a61da(0x41c)]('__')))[_0x1a61da(0x41e)](async _0x38728d=>{var _0x4ad95e=_0x1a61da;const _0x569c3e=_0x38728d['getUnitId'](),_0x10779b=await this[_0x4ad95e(0x2ed)](_0x569c3e,_0x50e467['UNIVER_DOC']);this[_0x4ad95e(0x174)][_0x4ad95e(0x3ca)](_0x569c3e,_0x10779b);}),_0x55db85[_0x1a61da(0x333)](this['_univerInstanceService'][_0x1a61da(0x17e)](_0x95e227[_0x1a61da(0x1cd)][_0x1a61da(0x3a4)]),this[_0x1a61da(0x1ac)][_0x1a61da(0x17e)](_0x95e227[_0x1a61da(0x1cd)][_0x1a61da(0x133)]))[_0x1a61da(0x3d5)](_0x55db85[_0x1a61da(0x30d)](this['dispose$']))[_0x1a61da(0x41e)](_0x171927=>{var _0x2d6af6=_0x1a61da;const _0x458c68=_0x171927[_0x2d6af6(0x29d)](),_0xbe6936=this['_entities'][_0x2d6af6(0x34c)](_0x458c68);_0xbe6936&&(_0xbe6936['dispose'](),this[_0x2d6af6(0x174)][_0x2d6af6(0x482)](_0x458c68));});}async[_0x1d6855(0x2ed)](_0x296520,_0xa58ced){var _0x15358d=_0x1d6855;const _0x13ac4b=await this['_collabSessionService'][_0x15358d(0x46b)](_0x296520),_0x3622b6=this['_injector'][_0x15358d(0x24d)](this[_0x15358d(0x49a)](_0xa58ced),_0x296520,_0xa58ced,_0x13ac4b);return await _0x3622b6['init'](),this[_0x15358d(0x3d8)][_0x15358d(0x155)](_0x3622b6),_0x3622b6;}[_0x1d6855(0x49a)](_0x38330a){var _0xe1f9ca=_0x1d6855;switch(_0x38330a){case _0x50e467[_0xe1f9ca(0x133)]:return _0xa2dc9b['DocCollaborationEntity'];case _0x50e467[_0xe1f9ca(0x3a4)]:return _0xa2dc9b['SheetCollaborationEntity'];default:throw new Error(_0xe1f9ca(0x236)+_0x38330a);}}},_0xa2dc9b[_0x1d6855(0x22a)]=_0x4b8706([_0x3c7d13(0x0,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x1dc)])),_0x3c7d13(0x1,_0x95e227[_0x1d6855(0x3da)](_0xa2dc9b['CollaborationSessionService'])),_0x3c7d13(0x2,_0x95e227[_0x1d6855(0x408)]),_0x3c7d13(0x3,_0x95e227[_0x1d6855(0x47b)])],_0xa2dc9b[_0x1d6855(0x22a)]);var _0x28b79a=Object[_0x1d6855(0x1e7)],_0x136396=(_0x5603bd,_0x440316,_0x474208,_0x17f53b)=>{var _0x23683d=_0x1d6855;for(var _0x367642=_0x17f53b>0x1?void 0x0:_0x17f53b?_0x28b79a(_0x440316,_0x474208):_0x440316,_0x1f339b=_0x5603bd[_0x23683d(0x161)]-0x1,_0x55f74d;_0x1f339b>=0x0;_0x1f339b--)(_0x55f74d=_0x5603bd[_0x1f339b])&&(_0x367642=_0x55f74d(_0x367642)||_0x367642);return _0x367642;},_0x12fb3f=(_0x59827b,_0x13baad)=>(_0x5ced1f,_0x46c2ef)=>_0x13baad(_0x5ced1f,_0x46c2ef,_0x59827b);const _0x3f9299=_0x1d6855(0x378),_0x4411f3=_0x1d6855(0x20f);let _0x51c18a=class extends _0x95e227['Disposable']{constructor(_0x22af61,_0x3466d1){var _0xaa78c2=_0x1d6855;super(),this['_univerInstanceService']=_0x22af61,this[_0xaa78c2(0x1fc)]=_0x3466d1,this['_init']();}['_init'](){var _0x2e13fa=_0x1d6855;this[_0x2e13fa(0x2e1)](this[_0x2e13fa(0x1ac)][_0x2e13fa(0x1b5)][_0x2e13fa(0x41e)](()=>{var _0x268975=_0x2e13fa,_0x3dbcf9;const _0x1496de=this[_0x268975(0x1ac)]['getFocusedUnit']();let _0x48f884=(_0x3dbcf9=this['_configService'][_0x268975(0x159)](_0x3f9299))!=null?_0x3dbcf9:_0x4411f3;_0x1496de instanceof _0x95e227[_0x268975(0x340)]&&(_0x48f884=_0x1496de['name']),document[_0x268975(0x384)]=_0x48f884;}));}};_0x51c18a=_0x136396([_0x12fb3f(0x0,_0x95e227[_0x1d6855(0x47b)]),_0x12fb3f(0x1,_0x95e227[_0x1d6855(0x408)])],_0x51c18a);var _0x4653e2=Object[_0x1d6855(0x1e7)],_0x17d0c2=(_0x18461c,_0xa93587,_0x3d47da,_0x4878a9)=>{var _0x2ce1e7=_0x1d6855;for(var _0x3fb60e=_0x4878a9>0x1?void 0x0:_0x4878a9?_0x4653e2(_0xa93587,_0x3d47da):_0xa93587,_0x1e6ac6=_0x18461c[_0x2ce1e7(0x161)]-0x1,_0xf6e97e;_0x1e6ac6>=0x0;_0x1e6ac6--)(_0xf6e97e=_0x18461c[_0x1e6ac6])&&(_0x3fb60e=_0xf6e97e(_0x3fb60e)||_0x3fb60e);return _0x3fb60e;},_0x34200c=(_0x30cd3d,_0x21051d)=>(_0x5c6d56,_0x2b25bd)=>_0x21051d(_0x5c6d56,_0x2b25bd,_0x30cd3d);let _0x3ad676=class{constructor(_0x1bd0ba,_0x5d6b3b,_0x58c4ab){var _0x3293c3=_0x1d6855;this['_configService']=_0x1bd0ba,this['_httpService']=_0x5d6b3b,this[_0x3293c3(0x12e)]=_0x58c4ab,this[_0x3293c3(0x18f)]();}[_0x1d6855(0x18f)](){var _0x1c4d11=_0x1d6855;this[_0x1c4d11(0x2cc)][_0x1c4d11(0x12a)]({'priority':0x1,'interceptor':(_0x246ef0,_0x995ca2)=>_0x995ca2(_0x246ef0)[_0x1c4d11(0x3d5)](_0x55db85[_0x1c4d11(0x3af)](async _0x2c2342=>{var _0x4e2173=_0x1c4d11;const _0x3a3863=_0x2c2342;if(_0x3a3863[_0x4e2173(0x151)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x4e2173(0x12e)]['t']('auth.needGotoLoginAlert'))){const _0x15ad41=window[_0x4e2173(0x3b6)](window[_0x4e2173(0x484)][_0x4e2173(0x3f2)]);window['location']['href']=this[_0x4e2173(0x2ff)]()+_0x4e2173(0x45b)+_0x15ad41;}}return _0x3a3863;}))});}[_0x1d6855(0x2ff)](){var _0x565849=_0x1d6855,_0x312e53;const _0x66555f=this[_0x565849(0x1fc)][_0x565849(0x159)](_0x3a9eb9);return(_0x312e53=_0x66555f==null?void 0x0:_0x66555f[_0x565849(0x153)])!=null?_0x312e53:_0x529640;}};_0x3ad676=_0x17d0c2([_0x34200c(0x0,_0x95e227['IConfigService']),_0x34200c(0x1,_0x95e227['Inject'](_0x3ea7ce[_0x1d6855(0x3e6)])),_0x34200c(0x2,_0x95e227['Inject'](_0x95e227['LocaleService']))],_0x3ad676);var _0x2db3ce=Object[_0x1d6855(0x1e7)],_0x4b2ed2=(_0x82e733,_0x223208,_0x578069,_0x5df5fa)=>{var _0x5ad0e9=_0x1d6855;for(var _0x4d69be=_0x5df5fa>0x1?void 0x0:_0x5df5fa?_0x2db3ce(_0x223208,_0x578069):_0x223208,_0x489bf2=_0x82e733[_0x5ad0e9(0x161)]-0x1,_0x139649;_0x489bf2>=0x0;_0x489bf2--)(_0x139649=_0x82e733[_0x489bf2])&&(_0x4d69be=_0x139649(_0x4d69be)||_0x4d69be);return _0x4d69be;},_0x1895b9=(_0x3ed524,_0x421933)=>(_0xc5c852,_0x5c9406)=>_0x421933(_0xc5c852,_0x5c9406,_0x3ed524);const _0x478e28='/universer-api/authz';_0xa2dc9b[_0x1d6855(0x299)]=class extends _0x95e227[_0x1d6855(0x3b0)]{constructor(_0x5dd1a2,_0x44c6ed){var _0x56c12b=_0x1d6855;super(),this['_HTTPService']=_0x5dd1a2,this[_0x56c12b(0x1fc)]=_0x44c6ed,this[_0x56c12b(0x400)]();}[_0x1d6855(0x400)](){var _0x29aaac=_0x1d6855;const _0x4f8559=this;this[_0x29aaac(0x2e1)](this[_0x29aaac(0x369)][_0x29aaac(0x12a)]({'priority':0x3e7,'interceptor':_0x3ea7ce[_0x29aaac(0x231)]({'isMatch'(_0x10d592){var _0x4f2298=_0x29aaac,_0xafb5e4;if(_0x10d592[_0x4f2298(0x3f3)]==='POST'&&((_0xafb5e4=_0x10d592[_0x4f2298(0x363)])!=null&&_0xafb5e4[_0x4f2298(0x24f)])){const {objectID:_0x510189,objectType:_0x5a022d}=_0x10d592[_0x4f2298(0x363)]['body']||{};if(!_0x510189||_0x5a022d===void 0x0)return!0x1;const _0x419a8a=_0x4f8559[_0x4f2298(0x270)]()+'/'+_0x5a022d+_0x4f2298(0x2c2)+_0x510189+_0x4f2298(0x431);if(_0x10d592[_0x4f2298(0x2a5)]===_0x419a8a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5c3ad1){var _0x50972c=_0x29aaac,_0x2f28cc;return(_0x2f28cc=_0x5c3ad1[_0x50972c(0x363)])==null?void 0x0:_0x2f28cc[_0x50972c(0x24f)];},'mergeParamsToRequest'(_0xf7d19f,_0x55252c){var _0x1d992f=_0x29aaac;const _0x24a299=_0x4f8559[_0x1d992f(0x270)]()+_0x1d992f(0x465),_0x487e9c=_0xf7d19f[_0x1d992f(0x1fe)]((_0x191b6b,_0x1ee8c1)=>{var _0x2f7018=_0x1d992f;const {unitID:_0x1b2be1,objectID:_0x57ff95,objectType:_0x42c1b4,actions:_0x10ecac}=_0x1ee8c1;return _0x191b6b[_0x1b2be1]||(_0x191b6b[_0x1b2be1]={}),_0x191b6b[_0x1b2be1][_0x57ff95]||(_0x191b6b[_0x1b2be1][_0x57ff95]={'objectID':_0x57ff95,'objectType':_0x42c1b4,'actions':[]}),_0x191b6b[_0x1b2be1][_0x57ff95]['actions'][_0x2f7018(0x3a3)](..._0x10ecac),_0x191b6b;},{}),_0x323d94=[];for(const _0x1c9fe9 in _0x487e9c)for(const _0x185993 in _0x487e9c[_0x1c9fe9]){const {actions:_0x536a37,objectType:_0x3f91b4}=_0x487e9c[_0x1c9fe9][_0x185993],_0x23ea47=[...new Set(_0x536a37)];_0x323d94[_0x1d992f(0x3a3)]({'unitID':_0x1c9fe9,'objectID':_0x185993,'objectType':_0x3f91b4,'actions':_0x23ea47});}return new _0x3ea7ce[(_0x1d992f(0x2ae))](_0x1d992f(0x1fb),_0x24a299,{'headers':_0x55252c[_0x1d992f(0x2aa)],'withCredentials':_0x55252c['withCredentials'],'responseType':_0x55252c[_0x1d992f(0x2d5)],'body':{'requests':_0x323d94}});}},{'distributeResult'(_0x30c974,_0x38aea5){var _0x444828=_0x29aaac;const {objectActions:_0x535ce5}=_0x30c974;return _0x38aea5[_0x444828(0x1ce)](_0x1ffde=>{var _0x2dc0c7=_0x444828;const {unitID:_0x47f17a,objectID:_0x327cc0,actions:_0x43b6ba}=_0x1ffde,_0x4a4d8e=_0x535ce5[_0x2dc0c7(0x3ba)](_0x105fb1=>_0x105fb1[_0x2dc0c7(0x374)]===_0x47f17a&&_0x105fb1[_0x2dc0c7(0x1ae)]===_0x327cc0),_0x8f8037=_0x43b6ba['map'](_0x3f4c2d=>_0x4a4d8e==null?void 0x0:_0x4a4d8e['actions'][_0x2dc0c7(0x3ba)](_0x3770e2=>_0x3770e2['action']===_0x3f4c2d))[_0x2dc0c7(0x383)](_0x237763=>!!_0x237763);return{'config':_0x1ffde,'result':{'actions':_0x8f8037,'error':_0x30c974[_0x2dc0c7(0x23e)]}};});}})}));}[_0x1d6855(0x270)](){var _0x1ec440=_0x1d6855,_0x179a9c;const _0xcaae9b=this['_configService'][_0x1ec440(0x159)](_0x3a9eb9);return(_0x179a9c=_0xcaae9b==null?void 0x0:_0xcaae9b[_0x1ec440(0x208)])!=null?_0x179a9c:_0x478e28;}async[_0x1d6855(0x148)](_0x402707){var _0x3aa47f=_0x1d6855;const _0x3f550c=this['_getAPIPrefixPath']()+'/'+_0x402707[_0x3aa47f(0x434)]+_0x3aa47f(0x491);return(await this[_0x3aa47f(0x369)]['post'](_0x3f550c,{'body':_0x402707}))[_0x3aa47f(0x24f)][_0x3aa47f(0x1ae)]||'';}async[_0x1d6855(0x398)](_0x4478a5){var _0x30355a=_0x1d6855;const _0x217ef7=this['_getAPIPrefixPath']()+_0x30355a(0x126);return(await this[_0x30355a(0x369)][_0x30355a(0x184)](_0x217ef7,{'body':_0x4478a5}))[_0x30355a(0x24f)]['objects'];}async[_0x1d6855(0x39b)](_0xd0dd19){var _0x5a4807=_0x1d6855,_0x4824da,_0x29e73c;const _0x38ca40=this['_getAPIPrefixPath']()+'/'+_0xd0dd19[_0x5a4807(0x434)]+_0x5a4807(0x2c2)+_0xd0dd19[_0x5a4807(0x1ae)],_0x2cf7ea=await this[_0x5a4807(0x369)]['put'](_0x38ca40,{'body':_0xd0dd19});if(((_0x29e73c=(_0x4824da=_0x2cf7ea==null?void 0x0:_0x2cf7ea[_0x5a4807(0x24f)])==null?void 0x0:_0x4824da[_0x5a4807(0x23e)])==null?void 0x0:_0x29e73c[_0x5a4807(0x433)])!==0x1)throw new Error(_0x5a4807(0x3eb));}async[_0x1d6855(0x428)](_0x41fd9a){var _0x271e08=_0x1d6855;const _0x49f707=this['_getAPIPrefixPath']()+'/'+_0x41fd9a[_0x271e08(0x434)]+'/object/'+_0x41fd9a[_0x271e08(0x1ae)]+_0x271e08(0x431);return(await this['_HTTPService']['post'](_0x49f707,{'body':_0x41fd9a}))['body'][_0x271e08(0x3f0)];}async[_0x1d6855(0x444)](_0x56f00e){var _0x53d7d6=_0x1d6855;const _0x4cb4cd=this[_0x53d7d6(0x270)]()+_0x53d7d6(0x465);return(await this['_HTTPService'][_0x53d7d6(0x184)](_0x4cb4cd,{'body':{'requests':_0x56f00e}}))[_0x53d7d6(0x24f)][_0x53d7d6(0x339)];}async[_0x1d6855(0x125)](_0x1b3183){var _0x32074a=_0x1d6855;const _0x19c28f=this['_getAPIPrefixPath']()+'/'+_0x1b3183[_0x32074a(0x434)]+_0x32074a(0x334),_0x3ddeae=await this['_HTTPService'][_0x32074a(0x184)](_0x19c28f,{'body':_0x1b3183});return{'roles':_0x3ddeae[_0x32074a(0x24f)]['roles'],'actions':_0x3ddeae[_0x32074a(0x24f)]['actions']};}async[_0x1d6855(0x1b1)](_0x422f38){var _0x56dff4=_0x1d6855;const _0x4aa7e3=this[_0x56dff4(0x270)]()+_0x56dff4(0x2f6);await this[_0x56dff4(0x369)]['delete'](_0x4aa7e3,{'params':{'collaboratorID':_0x422f38['collaboratorID'],'objectID':_0x422f38['objectID'],'unitID':_0x422f38[_0x56dff4(0x374)]}});}async['updateCollaborator'](_0x36bfa3){var _0xf6d722=_0x1d6855;const _0x4c2390=this['_getAPIPrefixPath']()+_0xf6d722(0x2f6);await this[_0xf6d722(0x369)][_0xf6d722(0x257)](_0x4c2390,{'body':_0x36bfa3});}async[_0x1d6855(0x3ff)](_0x500a31){var _0x2f3e01=_0x1d6855;const _0x1e0215=this[_0x2f3e01(0x270)]()+_0x2f3e01(0x2f6);await this[_0x2f3e01(0x369)]['post'](_0x1e0215,{'body':_0x500a31});}async[_0x1d6855(0x2bf)](_0x3365dc){var _0x2d4384=_0x1d6855;const _0x28e47b=this[_0x2d4384(0x270)]()+_0x2d4384(0x2f6);return(await this[_0x2d4384(0x369)]['get'](_0x28e47b,{'params':{'objectID':_0x3365dc[_0x2d4384(0x1ae)],'unitID':_0x3365dc['unitID']}}))[_0x2d4384(0x24f)]['collaborators'];}async['putCollaborators'](_0x37d50b){var _0x18c8dc=_0x1d6855;const _0x2be520=this['_getAPIPrefixPath']()+_0x18c8dc(0x2f6);await this[_0x18c8dc(0x369)][_0x18c8dc(0x162)](_0x2be520,{'body':_0x37d50b});}},_0xa2dc9b[_0x1d6855(0x299)]=_0x4b2ed2([_0x1895b9(0x0,_0x95e227[_0x1d6855(0x3da)](_0x3ea7ce[_0x1d6855(0x3e6)])),_0x1895b9(0x1,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x408)]))],_0xa2dc9b[_0x1d6855(0x299)]);var _0xfe8b48=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x18319c(_0x3e093f){var _0xad2a7e=_0x1d6855;return _0x3e093f&&_0x3e093f['__esModule']&&Object[_0xad2a7e(0x29b)][_0xad2a7e(0x3de)]['call'](_0x3e093f,_0xad2a7e(0x45f))?_0x3e093f[_0xad2a7e(0x45f)]:_0x3e093f;}var _0x138880={'exports':{}};function _0x5ccb0e(_0x45c512){var _0xddacb3=_0x1d6855;throw new Error(_0xddacb3(0x178)+_0x45c512+_0xddacb3(0x200));}var _0x1e4341={'exports':{}},_0x37c032=_0x1e4341[_0x1d6855(0x36e)],_0x14201d;function _0x4194e1(){return _0x14201d||(_0x14201d=0x1,function(_0x399ee4,_0x4ad63a){(function(_0x28c053,_0x5eadd9){var _0x547e88=_0x593f;_0x399ee4[_0x547e88(0x36e)]=_0x5eadd9();}(_0x37c032,function(){var _0x11c87c=_0x11c87c||function(_0x3180d7,_0xe9af61){var _0x2ac51b=_0x593f,_0x2d69e4;if(typeof window<'u'&&window[_0x2ac51b(0x24a)]&&(_0x2d69e4=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x2d69e4=self[_0x2ac51b(0x24a)]),typeof globalThis<'u'&&globalThis[_0x2ac51b(0x24a)]&&(_0x2d69e4=globalThis['crypto']),!_0x2d69e4&&typeof window<'u'&&window['msCrypto']&&(_0x2d69e4=window[_0x2ac51b(0x3b2)]),!_0x2d69e4&&typeof _0xfe8b48<'u'&&_0xfe8b48['crypto']&&(_0x2d69e4=_0xfe8b48[_0x2ac51b(0x24a)]),!_0x2d69e4&&typeof _0x5ccb0e==_0x2ac51b(0x117))try{_0x2d69e4=require('crypto');}catch{}var _0xda3f3a=function(){var _0x18cee7=_0x2ac51b;if(_0x2d69e4){if(typeof _0x2d69e4[_0x18cee7(0x394)]==_0x18cee7(0x117))try{return _0x2d69e4[_0x18cee7(0x394)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2d69e4[_0x18cee7(0x104)]==_0x18cee7(0x117))try{return _0x2d69e4[_0x18cee7(0x104)](0x4)[_0x18cee7(0x343)]();}catch{}}throw new Error(_0x18cee7(0x1f1));},_0x144038=Object['create']||(function(){function _0x1dc94d(){}return function(_0x33467c){var _0x568bea=_0x593f,_0x17ee91;return _0x1dc94d['prototype']=_0x33467c,_0x17ee91=new _0x1dc94d(),_0x1dc94d[_0x568bea(0x29b)]=null,_0x17ee91;};}()),_0x511813={},_0x60201a=_0x511813[_0x2ac51b(0x3e0)]={},_0x5ea697=_0x60201a[_0x2ac51b(0x29f)]=(function(){return{'extend':function(_0x5e2fd2){var _0x321ada=_0x593f,_0x28148e=_0x144038(this);return _0x5e2fd2&&_0x28148e[_0x321ada(0x3c3)](_0x5e2fd2),(!_0x28148e[_0x321ada(0x3de)](_0x321ada(0x18f))||this[_0x321ada(0x18f)]===_0x28148e['init'])&&(_0x28148e[_0x321ada(0x18f)]=function(){var _0x55dd08=_0x321ada;_0x28148e['$super'][_0x55dd08(0x18f)][_0x55dd08(0x2ab)](this,arguments);}),_0x28148e[_0x321ada(0x18f)][_0x321ada(0x29b)]=_0x28148e,_0x28148e[_0x321ada(0x27a)]=this,_0x28148e;},'create':function(){var _0x1a7e4c=_0x593f,_0x448c76=this[_0x1a7e4c(0x239)]();return _0x448c76[_0x1a7e4c(0x18f)][_0x1a7e4c(0x2ab)](_0x448c76,arguments),_0x448c76;},'init':function(){},'mixIn':function(_0x2f3b99){var _0x4eb3b8=_0x593f;for(var _0x512c63 in _0x2f3b99)_0x2f3b99[_0x4eb3b8(0x3de)](_0x512c63)&&(this[_0x512c63]=_0x2f3b99[_0x512c63]);_0x2f3b99['hasOwnProperty'](_0x4eb3b8(0x172))&&(this[_0x4eb3b8(0x172)]=_0x2f3b99['toString']);},'clone':function(){var _0x2ee9da=_0x593f;return this['init'][_0x2ee9da(0x29b)]['extend'](this);}};}()),_0xb6bec2=_0x60201a['WordArray']=_0x5ea697[_0x2ac51b(0x239)]({'init':function(_0x4b0235,_0x479197){var _0x26eede=_0x2ac51b;_0x4b0235=this['words']=_0x4b0235||[],_0x479197!=_0xe9af61?this['sigBytes']=_0x479197:this[_0x26eede(0x113)]=_0x4b0235[_0x26eede(0x161)]*0x4;},'toString':function(_0x39b2c6){var _0x4d05cb=_0x2ac51b;return(_0x39b2c6||_0x51b0f5)[_0x4d05cb(0x1f9)](this);},'concat':function(_0xed873c){var _0x11b741=_0x2ac51b,_0x52a50f=this[_0x11b741(0x481)],_0x2ecd82=_0xed873c[_0x11b741(0x481)],_0x1196ba=this[_0x11b741(0x113)],_0x3384e3=_0xed873c[_0x11b741(0x113)];if(this[_0x11b741(0x2f8)](),_0x1196ba%0x4)for(var _0xe575ff=0x0;_0xe575ff<_0x3384e3;_0xe575ff++){var _0x5d5120=_0x2ecd82[_0xe575ff>>>0x2]>>>0x18-_0xe575ff%0x4*0x8&0xff;_0x52a50f[_0x1196ba+_0xe575ff>>>0x2]|=_0x5d5120<<0x18-(_0x1196ba+_0xe575ff)%0x4*0x8;}else{for(var _0x29b59a=0x0;_0x29b59a<_0x3384e3;_0x29b59a+=0x4)_0x52a50f[_0x1196ba+_0x29b59a>>>0x2]=_0x2ecd82[_0x29b59a>>>0x2];}return this[_0x11b741(0x113)]+=_0x3384e3,this;},'clamp':function(){var _0x8bbd25=_0x2ac51b,_0x322ac5=this[_0x8bbd25(0x481)],_0x2761bf=this[_0x8bbd25(0x113)];_0x322ac5[_0x2761bf>>>0x2]&=0xffffffff<<0x20-_0x2761bf%0x4*0x8,_0x322ac5[_0x8bbd25(0x161)]=_0x3180d7[_0x8bbd25(0x11d)](_0x2761bf/0x4);},'clone':function(){var _0x22a9bd=_0x2ac51b,_0x231676=_0x5ea697[_0x22a9bd(0x44e)]['call'](this);return _0x231676[_0x22a9bd(0x481)]=this[_0x22a9bd(0x481)][_0x22a9bd(0x160)](0x0),_0x231676;},'random':function(_0x2ec483){var _0x2809e0=_0x2ac51b;for(var _0x120744=[],_0x5061e4=0x0;_0x5061e4<_0x2ec483;_0x5061e4+=0x4)_0x120744[_0x2809e0(0x3a3)](_0xda3f3a());return new _0xb6bec2[(_0x2809e0(0x18f))](_0x120744,_0x2ec483);}}),_0x23b8f2=_0x511813[_0x2ac51b(0x393)]={},_0x51b0f5=_0x23b8f2['Hex']={'stringify':function(_0x2b1beb){var _0x100a5a=_0x2ac51b;for(var _0x32a066=_0x2b1beb[_0x100a5a(0x481)],_0x5dcc67=_0x2b1beb[_0x100a5a(0x113)],_0x16d63d=[],_0x169aa3=0x0;_0x169aa3<_0x5dcc67;_0x169aa3++){var _0xe20227=_0x32a066[_0x169aa3>>>0x2]>>>0x18-_0x169aa3%0x4*0x8&0xff;_0x16d63d[_0x100a5a(0x3a3)]((_0xe20227>>>0x4)[_0x100a5a(0x172)](0x10)),_0x16d63d[_0x100a5a(0x3a3)]((_0xe20227&0xf)['toString'](0x10));}return _0x16d63d[_0x100a5a(0x183)]('');},'parse':function(_0x412297){var _0x44340f=_0x2ac51b;for(var _0x54fccd=_0x412297[_0x44340f(0x161)],_0x27872b=[],_0x4283a6=0x0;_0x4283a6<_0x54fccd;_0x4283a6+=0x2)_0x27872b[_0x4283a6>>>0x3]|=parseInt(_0x412297[_0x44340f(0x49b)](_0x4283a6,0x2),0x10)<<0x18-_0x4283a6%0x8*0x4;return new _0xb6bec2[(_0x44340f(0x18f))](_0x27872b,_0x54fccd/0x2);}},_0x439b40=_0x23b8f2[_0x2ac51b(0x37e)]={'stringify':function(_0x391a23){var _0xbc16c7=_0x2ac51b;for(var _0x1dbf5c=_0x391a23[_0xbc16c7(0x481)],_0x8f9212=_0x391a23[_0xbc16c7(0x113)],_0x4caa42=[],_0xb5a9ab=0x0;_0xb5a9ab<_0x8f9212;_0xb5a9ab++){var _0xdb237a=_0x1dbf5c[_0xb5a9ab>>>0x2]>>>0x18-_0xb5a9ab%0x4*0x8&0xff;_0x4caa42['push'](String['fromCharCode'](_0xdb237a));}return _0x4caa42[_0xbc16c7(0x183)]('');},'parse':function(_0x314d41){var _0x51ea4f=_0x2ac51b;for(var _0x3167ab=_0x314d41[_0x51ea4f(0x161)],_0x43969b=[],_0x4c154a=0x0;_0x4c154a<_0x3167ab;_0x4c154a++)_0x43969b[_0x4c154a>>>0x2]|=(_0x314d41[_0x51ea4f(0x1d1)](_0x4c154a)&0xff)<<0x18-_0x4c154a%0x4*0x8;return new _0xb6bec2[(_0x51ea4f(0x18f))](_0x43969b,_0x3167ab);}},_0xd4eb44=_0x23b8f2[_0x2ac51b(0x2ba)]={'stringify':function(_0x34bc7e){var _0x2033a7=_0x2ac51b;try{return decodeURIComponent(escape(_0x439b40[_0x2033a7(0x1f9)](_0x34bc7e)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x1cfc97){return _0x439b40['parse'](unescape(encodeURIComponent(_0x1cfc97)));}},_0x512108=_0x60201a[_0x2ac51b(0x18b)]=_0x5ea697[_0x2ac51b(0x239)]({'reset':function(){var _0x40c948=_0x2ac51b;this['_data']=new _0xb6bec2['init'](),this[_0x40c948(0x297)]=0x0;},'_append':function(_0x456948){var _0x28a4d4=_0x2ac51b;typeof _0x456948==_0x28a4d4(0x337)&&(_0x456948=_0xd4eb44[_0x28a4d4(0x376)](_0x456948)),this[_0x28a4d4(0x435)]['concat'](_0x456948),this['_nDataBytes']+=_0x456948[_0x28a4d4(0x113)];},'_process':function(_0x3f8075){var _0x411372=_0x2ac51b,_0x39a566,_0x4cc18e=this[_0x411372(0x435)],_0x308c30=_0x4cc18e[_0x411372(0x481)],_0x323dbb=_0x4cc18e[_0x411372(0x113)],_0x5e6a0e=this['blockSize'],_0x4a3831=_0x5e6a0e*0x4,_0x4e1fa4=_0x323dbb/_0x4a3831;_0x3f8075?_0x4e1fa4=_0x3180d7[_0x411372(0x11d)](_0x4e1fa4):_0x4e1fa4=_0x3180d7['max']((_0x4e1fa4|0x0)-this[_0x411372(0x353)],0x0);var _0x1b90be=_0x4e1fa4*_0x5e6a0e,_0x20df21=_0x3180d7[_0x411372(0x2cf)](_0x1b90be*0x4,_0x323dbb);if(_0x1b90be){for(var _0x3e71ef=0x0;_0x3e71ef<_0x1b90be;_0x3e71ef+=_0x5e6a0e)this[_0x411372(0x368)](_0x308c30,_0x3e71ef);_0x39a566=_0x308c30[_0x411372(0x1cc)](0x0,_0x1b90be),_0x4cc18e[_0x411372(0x113)]-=_0x20df21;}return new _0xb6bec2['init'](_0x39a566,_0x20df21);},'clone':function(){var _0x20a575=_0x2ac51b,_0x433108=_0x5ea697[_0x20a575(0x44e)][_0x20a575(0x2f2)](this);return _0x433108[_0x20a575(0x435)]=this['_data'][_0x20a575(0x44e)](),_0x433108;},'_minBufferSize':0x0});_0x60201a[_0x2ac51b(0x452)]=_0x512108[_0x2ac51b(0x239)]({'cfg':_0x5ea697[_0x2ac51b(0x239)](),'init':function(_0x2ee051){var _0x21fe32=_0x2ac51b;this[_0x21fe32(0x206)]=this[_0x21fe32(0x206)][_0x21fe32(0x239)](_0x2ee051),this[_0x21fe32(0x467)]();},'reset':function(){var _0x23a758=_0x2ac51b;_0x512108[_0x23a758(0x467)][_0x23a758(0x2f2)](this),this[_0x23a758(0x45d)]();},'update':function(_0x2e067c){var _0x499a85=_0x2ac51b;return this['_append'](_0x2e067c),this[_0x499a85(0x2eb)](),this;},'finalize':function(_0x150923){var _0x1f27c7=_0x2ac51b;_0x150923&&this['_append'](_0x150923);var _0x2bd592=this[_0x1f27c7(0x1ee)]();return _0x2bd592;},'blockSize':0x10,'_createHelper':function(_0x48ac4c){return function(_0x590c72,_0x407c2a){var _0x2a3c02=_0x593f;return new _0x48ac4c[(_0x2a3c02(0x18f))](_0x407c2a)[_0x2a3c02(0x129)](_0x590c72);};},'_createHmacHelper':function(_0x7ec25a){return function(_0xc19b9f,_0x376a5a){var _0x38dff8=_0x593f;return new _0x259954[(_0x38dff8(0x13f))][(_0x38dff8(0x18f))](_0x7ec25a,_0x376a5a)[_0x38dff8(0x129)](_0xc19b9f);};}});var _0x259954=_0x511813[_0x2ac51b(0x2a4)]={};return _0x511813;}(Math);return _0x11c87c;}));}(_0x1e4341)),_0x1e4341['exports'];}var _0x5052a9={'exports':{}},_0x889449=_0x5052a9[_0x1d6855(0x36e)],_0x800737;function _0x8320fc(){var _0x396d71=_0x1d6855;return _0x800737||(_0x800737=0x1,function(_0x52b08a,_0x9dfafe){(function(_0x558122,_0x162934){_0x52b08a['exports']=_0x162934(_0x4194e1());}(_0x889449,function(_0x146b0f){var _0x168621=_0x593f;return(function(){var _0x29a216=_0x593f,_0x64ad87=_0x146b0f,_0x50652c=_0x64ad87['lib'],_0x32d908=_0x50652c[_0x29a216(0x3e5)],_0x2cde82=_0x64ad87[_0x29a216(0x393)];_0x2cde82['Base64']={'stringify':function(_0x177577){var _0x3b9884=_0x29a216,_0x252b2d=_0x177577[_0x3b9884(0x481)],_0x5733bf=_0x177577[_0x3b9884(0x113)],_0x427a63=this[_0x3b9884(0x3ad)];_0x177577[_0x3b9884(0x2f8)]();for(var _0x419d75=[],_0x42b15f=0x0;_0x42b15f<_0x5733bf;_0x42b15f+=0x3)for(var _0x30f265=_0x252b2d[_0x42b15f>>>0x2]>>>0x18-_0x42b15f%0x4*0x8&0xff,_0x46704f=_0x252b2d[_0x42b15f+0x1>>>0x2]>>>0x18-(_0x42b15f+0x1)%0x4*0x8&0xff,_0x45a181=_0x252b2d[_0x42b15f+0x2>>>0x2]>>>0x18-(_0x42b15f+0x2)%0x4*0x8&0xff,_0x23cff0=_0x30f265<<0x10|_0x46704f<<0x8|_0x45a181,_0x2d7cc9=0x0;_0x2d7cc9<0x4&&_0x42b15f+_0x2d7cc9*0.75<_0x5733bf;_0x2d7cc9++)_0x419d75[_0x3b9884(0x3a3)](_0x427a63[_0x3b9884(0x207)](_0x23cff0>>>0x6*(0x3-_0x2d7cc9)&0x3f));var _0x549567=_0x427a63[_0x3b9884(0x207)](0x40);if(_0x549567){for(;_0x419d75[_0x3b9884(0x161)]%0x4;)_0x419d75[_0x3b9884(0x3a3)](_0x549567);}return _0x419d75[_0x3b9884(0x183)]('');},'parse':function(_0x4a48ab){var _0x38ab40=_0x29a216,_0x1fb1e4=_0x4a48ab[_0x38ab40(0x161)],_0x4424c7=this['_map'],_0x4390f1=this[_0x38ab40(0x423)];if(!_0x4390f1){_0x4390f1=this['_reverseMap']=[];for(var _0x186ae9=0x0;_0x186ae9<_0x4424c7[_0x38ab40(0x161)];_0x186ae9++)_0x4390f1[_0x4424c7[_0x38ab40(0x1d1)](_0x186ae9)]=_0x186ae9;}var _0x26557c=_0x4424c7[_0x38ab40(0x207)](0x40);if(_0x26557c){var _0x1b758a=_0x4a48ab['indexOf'](_0x26557c);_0x1b758a!==-0x1&&(_0x1fb1e4=_0x1b758a);}return _0x2b7a94(_0x4a48ab,_0x1fb1e4,_0x4390f1);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x2b7a94(_0xa50953,_0x1808c8,_0x2e3e30){var _0x5a772e=_0x29a216;for(var _0x21e709=[],_0x90a00f=0x0,_0x38aec2=0x0;_0x38aec2<_0x1808c8;_0x38aec2++)if(_0x38aec2%0x4){var _0x582d63=_0x2e3e30[_0xa50953[_0x5a772e(0x1d1)](_0x38aec2-0x1)]<<_0x38aec2%0x4*0x2,_0x8ce0db=_0x2e3e30[_0xa50953[_0x5a772e(0x1d1)](_0x38aec2)]>>>0x6-_0x38aec2%0x4*0x2,_0x205809=_0x582d63|_0x8ce0db;_0x21e709[_0x90a00f>>>0x2]|=_0x205809<<0x18-_0x90a00f%0x4*0x8,_0x90a00f++;}return _0x32d908[_0x5a772e(0x148)](_0x21e709,_0x90a00f);}}()),_0x146b0f[_0x168621(0x393)][_0x168621(0x135)];}));}(_0x5052a9)),_0x5052a9[_0x396d71(0x36e)];}var _0x7b89a3={'exports':{}},_0x1e0ab6=_0x7b89a3[_0x1d6855(0x36e)],_0x2d2d07;function _0x2dc3cf(){return _0x2d2d07||(_0x2d2d07=0x1,function(_0x4ad4cb,_0x5a5e98){(function(_0x47aa21,_0x40d839){var _0x41327c=_0x593f;_0x4ad4cb[_0x41327c(0x36e)]=_0x40d839(_0x4194e1());}(_0x1e0ab6,function(_0x19a8ff){var _0x428fd6=_0x593f;return function(_0x47bf5d){var _0x586a26=_0x593f,_0x3f64ed=_0x19a8ff,_0x35b9d5=_0x3f64ed['lib'],_0xcad3d0=_0x35b9d5['WordArray'],_0x558cfe=_0x35b9d5[_0x586a26(0x452)],_0x182b1c=_0x3f64ed[_0x586a26(0x2a4)],_0x567404=[];(function(){var _0x35d05d=_0x586a26;for(var _0x9cb724=0x0;_0x9cb724<0x40;_0x9cb724++)_0x567404[_0x9cb724]=_0x47bf5d[_0x35d05d(0x33d)](_0x47bf5d[_0x35d05d(0x215)](_0x9cb724+0x1))*0x100000000|0x0;}());var _0x14caf8=_0x182b1c[_0x586a26(0x261)]=_0x558cfe[_0x586a26(0x239)]({'_doReset':function(){var _0x58878a=_0x586a26;this[_0x58878a(0x131)]=new _0xcad3d0[(_0x58878a(0x18f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x408c48,_0x4b0364){var _0xe9e634=_0x586a26;for(var _0x3ee9a4=0x0;_0x3ee9a4<0x10;_0x3ee9a4++){var _0x6e9e17=_0x4b0364+_0x3ee9a4,_0x2e6361=_0x408c48[_0x6e9e17];_0x408c48[_0x6e9e17]=(_0x2e6361<<0x8|_0x2e6361>>>0x18)&0xff00ff|(_0x2e6361<<0x18|_0x2e6361>>>0x8)&0xff00ff00;}var _0x2993f9=this[_0xe9e634(0x131)][_0xe9e634(0x481)],_0x540dac=_0x408c48[_0x4b0364+0x0],_0x1c4dc7=_0x408c48[_0x4b0364+0x1],_0x441723=_0x408c48[_0x4b0364+0x2],_0x17b86c=_0x408c48[_0x4b0364+0x3],_0x130a55=_0x408c48[_0x4b0364+0x4],_0x5dbf7f=_0x408c48[_0x4b0364+0x5],_0x29cd32=_0x408c48[_0x4b0364+0x6],_0x18d861=_0x408c48[_0x4b0364+0x7],_0x148485=_0x408c48[_0x4b0364+0x8],_0xe7593c=_0x408c48[_0x4b0364+0x9],_0x5abc0d=_0x408c48[_0x4b0364+0xa],_0x2838ab=_0x408c48[_0x4b0364+0xb],_0xcf2449=_0x408c48[_0x4b0364+0xc],_0x498d88=_0x408c48[_0x4b0364+0xd],_0x478d8c=_0x408c48[_0x4b0364+0xe],_0x2a389f=_0x408c48[_0x4b0364+0xf],_0x4116d5=_0x2993f9[0x0],_0x2ddd93=_0x2993f9[0x1],_0xeb8137=_0x2993f9[0x2],_0x353bed=_0x2993f9[0x3];_0x4116d5=_0x5871bf(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0x540dac,0x7,_0x567404[0x0]),_0x353bed=_0x5871bf(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x1c4dc7,0xc,_0x567404[0x1]),_0xeb8137=_0x5871bf(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x441723,0x11,_0x567404[0x2]),_0x2ddd93=_0x5871bf(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x17b86c,0x16,_0x567404[0x3]),_0x4116d5=_0x5871bf(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0x130a55,0x7,_0x567404[0x4]),_0x353bed=_0x5871bf(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x5dbf7f,0xc,_0x567404[0x5]),_0xeb8137=_0x5871bf(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x29cd32,0x11,_0x567404[0x6]),_0x2ddd93=_0x5871bf(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x18d861,0x16,_0x567404[0x7]),_0x4116d5=_0x5871bf(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0x148485,0x7,_0x567404[0x8]),_0x353bed=_0x5871bf(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0xe7593c,0xc,_0x567404[0x9]),_0xeb8137=_0x5871bf(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x5abc0d,0x11,_0x567404[0xa]),_0x2ddd93=_0x5871bf(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x2838ab,0x16,_0x567404[0xb]),_0x4116d5=_0x5871bf(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0xcf2449,0x7,_0x567404[0xc]),_0x353bed=_0x5871bf(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x498d88,0xc,_0x567404[0xd]),_0xeb8137=_0x5871bf(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x478d8c,0x11,_0x567404[0xe]),_0x2ddd93=_0x5871bf(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x2a389f,0x16,_0x567404[0xf]),_0x4116d5=_0x76aee9(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0x1c4dc7,0x5,_0x567404[0x10]),_0x353bed=_0x76aee9(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x29cd32,0x9,_0x567404[0x11]),_0xeb8137=_0x76aee9(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x2838ab,0xe,_0x567404[0x12]),_0x2ddd93=_0x76aee9(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x540dac,0x14,_0x567404[0x13]),_0x4116d5=_0x76aee9(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0x5dbf7f,0x5,_0x567404[0x14]),_0x353bed=_0x76aee9(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x5abc0d,0x9,_0x567404[0x15]),_0xeb8137=_0x76aee9(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x2a389f,0xe,_0x567404[0x16]),_0x2ddd93=_0x76aee9(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x130a55,0x14,_0x567404[0x17]),_0x4116d5=_0x76aee9(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0xe7593c,0x5,_0x567404[0x18]),_0x353bed=_0x76aee9(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x478d8c,0x9,_0x567404[0x19]),_0xeb8137=_0x76aee9(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x17b86c,0xe,_0x567404[0x1a]),_0x2ddd93=_0x76aee9(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x148485,0x14,_0x567404[0x1b]),_0x4116d5=_0x76aee9(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0x498d88,0x5,_0x567404[0x1c]),_0x353bed=_0x76aee9(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x441723,0x9,_0x567404[0x1d]),_0xeb8137=_0x76aee9(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x18d861,0xe,_0x567404[0x1e]),_0x2ddd93=_0x76aee9(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0xcf2449,0x14,_0x567404[0x1f]),_0x4116d5=_0x2ae5ec(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0x5dbf7f,0x4,_0x567404[0x20]),_0x353bed=_0x2ae5ec(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x148485,0xb,_0x567404[0x21]),_0xeb8137=_0x2ae5ec(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x2838ab,0x10,_0x567404[0x22]),_0x2ddd93=_0x2ae5ec(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x478d8c,0x17,_0x567404[0x23]),_0x4116d5=_0x2ae5ec(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0x1c4dc7,0x4,_0x567404[0x24]),_0x353bed=_0x2ae5ec(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x130a55,0xb,_0x567404[0x25]),_0xeb8137=_0x2ae5ec(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x18d861,0x10,_0x567404[0x26]),_0x2ddd93=_0x2ae5ec(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x5abc0d,0x17,_0x567404[0x27]),_0x4116d5=_0x2ae5ec(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0x498d88,0x4,_0x567404[0x28]),_0x353bed=_0x2ae5ec(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x540dac,0xb,_0x567404[0x29]),_0xeb8137=_0x2ae5ec(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x17b86c,0x10,_0x567404[0x2a]),_0x2ddd93=_0x2ae5ec(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x29cd32,0x17,_0x567404[0x2b]),_0x4116d5=_0x2ae5ec(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0xe7593c,0x4,_0x567404[0x2c]),_0x353bed=_0x2ae5ec(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0xcf2449,0xb,_0x567404[0x2d]),_0xeb8137=_0x2ae5ec(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x2a389f,0x10,_0x567404[0x2e]),_0x2ddd93=_0x2ae5ec(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x441723,0x17,_0x567404[0x2f]),_0x4116d5=_0x49a117(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0x540dac,0x6,_0x567404[0x30]),_0x353bed=_0x49a117(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x18d861,0xa,_0x567404[0x31]),_0xeb8137=_0x49a117(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x478d8c,0xf,_0x567404[0x32]),_0x2ddd93=_0x49a117(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x5dbf7f,0x15,_0x567404[0x33]),_0x4116d5=_0x49a117(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0xcf2449,0x6,_0x567404[0x34]),_0x353bed=_0x49a117(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x17b86c,0xa,_0x567404[0x35]),_0xeb8137=_0x49a117(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x5abc0d,0xf,_0x567404[0x36]),_0x2ddd93=_0x49a117(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x1c4dc7,0x15,_0x567404[0x37]),_0x4116d5=_0x49a117(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0x148485,0x6,_0x567404[0x38]),_0x353bed=_0x49a117(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x2a389f,0xa,_0x567404[0x39]),_0xeb8137=_0x49a117(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x29cd32,0xf,_0x567404[0x3a]),_0x2ddd93=_0x49a117(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0x498d88,0x15,_0x567404[0x3b]),_0x4116d5=_0x49a117(_0x4116d5,_0x2ddd93,_0xeb8137,_0x353bed,_0x130a55,0x6,_0x567404[0x3c]),_0x353bed=_0x49a117(_0x353bed,_0x4116d5,_0x2ddd93,_0xeb8137,_0x2838ab,0xa,_0x567404[0x3d]),_0xeb8137=_0x49a117(_0xeb8137,_0x353bed,_0x4116d5,_0x2ddd93,_0x441723,0xf,_0x567404[0x3e]),_0x2ddd93=_0x49a117(_0x2ddd93,_0xeb8137,_0x353bed,_0x4116d5,_0xe7593c,0x15,_0x567404[0x3f]),_0x2993f9[0x0]=_0x2993f9[0x0]+_0x4116d5|0x0,_0x2993f9[0x1]=_0x2993f9[0x1]+_0x2ddd93|0x0,_0x2993f9[0x2]=_0x2993f9[0x2]+_0xeb8137|0x0,_0x2993f9[0x3]=_0x2993f9[0x3]+_0x353bed|0x0;},'_doFinalize':function(){var _0x3702dd=_0x586a26,_0x3c20d3=this['_data'],_0x2212a7=_0x3c20d3['words'],_0x3b47c6=this[_0x3702dd(0x297)]*0x8,_0x4e36c9=_0x3c20d3[_0x3702dd(0x113)]*0x8;_0x2212a7[_0x4e36c9>>>0x5]|=0x80<<0x18-_0x4e36c9%0x20;var _0x2ca9db=_0x47bf5d['floor'](_0x3b47c6/0x100000000),_0x20b839=_0x3b47c6;_0x2212a7[(_0x4e36c9+0x40>>>0x9<<0x4)+0xf]=(_0x2ca9db<<0x8|_0x2ca9db>>>0x18)&0xff00ff|(_0x2ca9db<<0x18|_0x2ca9db>>>0x8)&0xff00ff00,_0x2212a7[(_0x4e36c9+0x40>>>0x9<<0x4)+0xe]=(_0x20b839<<0x8|_0x20b839>>>0x18)&0xff00ff|(_0x20b839<<0x18|_0x20b839>>>0x8)&0xff00ff00,_0x3c20d3[_0x3702dd(0x113)]=(_0x2212a7['length']+0x1)*0x4,this[_0x3702dd(0x2eb)]();for(var _0x5729ad=this[_0x3702dd(0x131)],_0x4a21a2=_0x5729ad['words'],_0x313a5b=0x0;_0x313a5b<0x4;_0x313a5b++){var _0x46c490=_0x4a21a2[_0x313a5b];_0x4a21a2[_0x313a5b]=(_0x46c490<<0x8|_0x46c490>>>0x18)&0xff00ff|(_0x46c490<<0x18|_0x46c490>>>0x8)&0xff00ff00;}return _0x5729ad;},'clone':function(){var _0x295834=_0x586a26,_0x1f233f=_0x558cfe[_0x295834(0x44e)][_0x295834(0x2f2)](this);return _0x1f233f[_0x295834(0x131)]=this[_0x295834(0x131)][_0x295834(0x44e)](),_0x1f233f;}});function _0x5871bf(_0x2f0ba9,_0x7981d,_0x2e5e3a,_0x4ca9a0,_0x2d9a66,_0x31c7b5,_0x5b5680){var _0x4822e8=_0x2f0ba9+(_0x7981d&_0x2e5e3a|~_0x7981d&_0x4ca9a0)+_0x2d9a66+_0x5b5680;return(_0x4822e8<<_0x31c7b5|_0x4822e8>>>0x20-_0x31c7b5)+_0x7981d;}function _0x76aee9(_0x37b58f,_0x1018ea,_0x32268c,_0x3a0237,_0x36bf1d,_0x43eaba,_0x4e026c){var _0x3c69b6=_0x37b58f+(_0x1018ea&_0x3a0237|_0x32268c&~_0x3a0237)+_0x36bf1d+_0x4e026c;return(_0x3c69b6<<_0x43eaba|_0x3c69b6>>>0x20-_0x43eaba)+_0x1018ea;}function _0x2ae5ec(_0x2e1029,_0x4be1e7,_0x3a208c,_0x5b1527,_0x4e04e7,_0x295980,_0x319b4a){var _0x510a82=_0x2e1029+(_0x4be1e7^_0x3a208c^_0x5b1527)+_0x4e04e7+_0x319b4a;return(_0x510a82<<_0x295980|_0x510a82>>>0x20-_0x295980)+_0x4be1e7;}function _0x49a117(_0x1a7c8b,_0x2b9a96,_0x39f235,_0x5f54a5,_0x543062,_0x20a1a0,_0x56e4d1){var _0x28741d=_0x1a7c8b+(_0x39f235^(_0x2b9a96|~_0x5f54a5))+_0x543062+_0x56e4d1;return(_0x28741d<<_0x20a1a0|_0x28741d>>>0x20-_0x20a1a0)+_0x2b9a96;}_0x3f64ed[_0x586a26(0x261)]=_0x558cfe[_0x586a26(0x361)](_0x14caf8),_0x3f64ed[_0x586a26(0x2dd)]=_0x558cfe[_0x586a26(0x36b)](_0x14caf8);}(Math),_0x19a8ff[_0x428fd6(0x261)];}));}(_0x7b89a3)),_0x7b89a3['exports'];}var _0x218d4b={'exports':{}},_0x558076={'exports':{}},_0x1936fd=_0x558076[_0x1d6855(0x36e)],_0x5bd610;function _0x384062(){return _0x5bd610||(_0x5bd610=0x1,function(_0x2906fa,_0x11765e){(function(_0x21b677,_0xd1f01e){var _0x3ddf35=_0x593f;_0x2906fa[_0x3ddf35(0x36e)]=_0xd1f01e(_0x4194e1());}(_0x1936fd,function(_0x15738b){var _0x767b92=_0x593f;return(function(){var _0x1181e7=_0x593f,_0x35568d=_0x15738b,_0x411fcc=_0x35568d[_0x1181e7(0x3e0)],_0x221be8=_0x411fcc['WordArray'],_0x5f2b38=_0x411fcc[_0x1181e7(0x452)],_0x37042f=_0x35568d['algo'],_0x2200b1=[],_0x5d07f5=_0x37042f[_0x1181e7(0x479)]=_0x5f2b38[_0x1181e7(0x239)]({'_doReset':function(){var _0x5ac6fc=_0x1181e7;this[_0x5ac6fc(0x131)]=new _0x221be8[(_0x5ac6fc(0x18f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x316fa7,_0x3ec261){var _0x2d4e90=_0x1181e7;for(var _0x49a15f=this['_hash'][_0x2d4e90(0x481)],_0x39a340=_0x49a15f[0x0],_0xeb46f6=_0x49a15f[0x1],_0x1ac539=_0x49a15f[0x2],_0x1a852d=_0x49a15f[0x3],_0x22cd9c=_0x49a15f[0x4],_0x16b10c=0x0;_0x16b10c<0x50;_0x16b10c++){if(_0x16b10c<0x10)_0x2200b1[_0x16b10c]=_0x316fa7[_0x3ec261+_0x16b10c]|0x0;else{var _0x305e13=_0x2200b1[_0x16b10c-0x3]^_0x2200b1[_0x16b10c-0x8]^_0x2200b1[_0x16b10c-0xe]^_0x2200b1[_0x16b10c-0x10];_0x2200b1[_0x16b10c]=_0x305e13<<0x1|_0x305e13>>>0x1f;}var _0x53272d=(_0x39a340<<0x5|_0x39a340>>>0x1b)+_0x22cd9c+_0x2200b1[_0x16b10c];_0x16b10c<0x14?_0x53272d+=(_0xeb46f6&_0x1ac539|~_0xeb46f6&_0x1a852d)+0x5a827999:_0x16b10c<0x28?_0x53272d+=(_0xeb46f6^_0x1ac539^_0x1a852d)+0x6ed9eba1:_0x16b10c<0x3c?_0x53272d+=(_0xeb46f6&_0x1ac539|_0xeb46f6&_0x1a852d|_0x1ac539&_0x1a852d)-0x70e44324:_0x53272d+=(_0xeb46f6^_0x1ac539^_0x1a852d)-0x359d3e2a,_0x22cd9c=_0x1a852d,_0x1a852d=_0x1ac539,_0x1ac539=_0xeb46f6<<0x1e|_0xeb46f6>>>0x2,_0xeb46f6=_0x39a340,_0x39a340=_0x53272d;}_0x49a15f[0x0]=_0x49a15f[0x0]+_0x39a340|0x0,_0x49a15f[0x1]=_0x49a15f[0x1]+_0xeb46f6|0x0,_0x49a15f[0x2]=_0x49a15f[0x2]+_0x1ac539|0x0,_0x49a15f[0x3]=_0x49a15f[0x3]+_0x1a852d|0x0,_0x49a15f[0x4]=_0x49a15f[0x4]+_0x22cd9c|0x0;},'_doFinalize':function(){var _0x2c09f6=_0x1181e7,_0x5529cb=this[_0x2c09f6(0x435)],_0xd157da=_0x5529cb[_0x2c09f6(0x481)],_0x4572a6=this['_nDataBytes']*0x8,_0x1cb6d1=_0x5529cb[_0x2c09f6(0x113)]*0x8;return _0xd157da[_0x1cb6d1>>>0x5]|=0x80<<0x18-_0x1cb6d1%0x20,_0xd157da[(_0x1cb6d1+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4572a6/0x100000000),_0xd157da[(_0x1cb6d1+0x40>>>0x9<<0x4)+0xf]=_0x4572a6,_0x5529cb[_0x2c09f6(0x113)]=_0xd157da[_0x2c09f6(0x161)]*0x4,this['_process'](),this[_0x2c09f6(0x131)];},'clone':function(){var _0x5e5110=_0x1181e7,_0x2f4338=_0x5f2b38['clone'][_0x5e5110(0x2f2)](this);return _0x2f4338[_0x5e5110(0x131)]=this['_hash'][_0x5e5110(0x44e)](),_0x2f4338;}});_0x35568d[_0x1181e7(0x479)]=_0x5f2b38['_createHelper'](_0x5d07f5),_0x35568d[_0x1181e7(0x1d6)]=_0x5f2b38[_0x1181e7(0x36b)](_0x5d07f5);}()),_0x15738b[_0x767b92(0x479)];}));}(_0x558076)),_0x558076['exports'];}var _0x6b7e35={'exports':{}},_0x121668=_0x6b7e35[_0x1d6855(0x36e)],_0x10038b;function _0x351bb8(){var _0x515054=_0x1d6855;return _0x10038b||(_0x10038b=0x1,function(_0x36fd4e,_0x98f9c5){(function(_0x2829e7,_0x5a21cc){_0x36fd4e['exports']=_0x5a21cc(_0x4194e1());}(_0x121668,function(_0x18e795){(function(){var _0x3414e7=_0x593f,_0x1a405c=_0x18e795,_0x358895=_0x1a405c['lib'],_0x10c835=_0x358895['Base'],_0x7fb343=_0x1a405c[_0x3414e7(0x393)],_0x35e1ff=_0x7fb343[_0x3414e7(0x2ba)],_0x122c0c=_0x1a405c[_0x3414e7(0x2a4)];_0x122c0c[_0x3414e7(0x13f)]=_0x10c835[_0x3414e7(0x239)]({'init':function(_0x12f0c4,_0x7ef3a){var _0x3efad6=_0x3414e7;_0x12f0c4=this['_hasher']=new _0x12f0c4[(_0x3efad6(0x18f))](),typeof _0x7ef3a=='string'&&(_0x7ef3a=_0x35e1ff[_0x3efad6(0x376)](_0x7ef3a));var _0x36ec2c=_0x12f0c4['blockSize'],_0x12dc35=_0x36ec2c*0x4;_0x7ef3a[_0x3efad6(0x113)]>_0x12dc35&&(_0x7ef3a=_0x12f0c4[_0x3efad6(0x129)](_0x7ef3a)),_0x7ef3a['clamp']();for(var _0x430495=this[_0x3efad6(0x346)]=_0x7ef3a[_0x3efad6(0x44e)](),_0x121e08=this[_0x3efad6(0x35d)]=_0x7ef3a['clone'](),_0x25b712=_0x430495[_0x3efad6(0x481)],_0x30aada=_0x121e08[_0x3efad6(0x481)],_0x1e3e23=0x0;_0x1e3e23<_0x36ec2c;_0x1e3e23++)_0x25b712[_0x1e3e23]^=0x5c5c5c5c,_0x30aada[_0x1e3e23]^=0x36363636;_0x430495['sigBytes']=_0x121e08[_0x3efad6(0x113)]=_0x12dc35,this['reset']();},'reset':function(){var _0x269978=_0x3414e7,_0x3aafb2=this[_0x269978(0x164)];_0x3aafb2[_0x269978(0x467)](),_0x3aafb2['update'](this['_iKey']);},'update':function(_0x967498){return this['_hasher']['update'](_0x967498),this;},'finalize':function(_0x58c8e3){var _0x2c5b7b=_0x3414e7,_0xd2ef62=this[_0x2c5b7b(0x164)],_0x3e2118=_0xd2ef62[_0x2c5b7b(0x129)](_0x58c8e3);_0xd2ef62[_0x2c5b7b(0x467)]();var _0x489fda=_0xd2ef62[_0x2c5b7b(0x129)](this[_0x2c5b7b(0x346)][_0x2c5b7b(0x44e)]()[_0x2c5b7b(0x47f)](_0x3e2118));return _0x489fda;}});}());}));}(_0x6b7e35)),_0x6b7e35[_0x515054(0x36e)];}var _0x397060=_0x218d4b[_0x1d6855(0x36e)],_0xa1910;function _0x19de47(){var _0x4f7680=_0x1d6855;return _0xa1910||(_0xa1910=0x1,function(_0x29bb53,_0x17f454){(function(_0x1ab3b6,_0x231998,_0x2bb2c6){var _0x2a86fd=_0x593f;_0x29bb53[_0x2a86fd(0x36e)]=_0x231998(_0x4194e1(),_0x384062(),_0x351bb8());}(_0x397060,function(_0x496781){var _0x3c40cd=_0x593f;return(function(){var _0xb5d58a=_0x593f,_0x21c8ed=_0x496781,_0x48a382=_0x21c8ed[_0xb5d58a(0x3e0)],_0x19a0f1=_0x48a382['Base'],_0x905bae=_0x48a382[_0xb5d58a(0x3e5)],_0x426983=_0x21c8ed[_0xb5d58a(0x2a4)],_0xbb6fc2=_0x426983[_0xb5d58a(0x261)],_0x53781d=_0x426983[_0xb5d58a(0x290)]=_0x19a0f1[_0xb5d58a(0x239)]({'cfg':_0x19a0f1[_0xb5d58a(0x239)]({'keySize':0x80/0x20,'hasher':_0xbb6fc2,'iterations':0x1}),'init':function(_0xaee112){var _0x28586e=_0xb5d58a;this['cfg']=this[_0x28586e(0x206)][_0x28586e(0x239)](_0xaee112);},'compute':function(_0x4f22bb,_0x1c85ab){var _0x2a1a9a=_0xb5d58a;for(var _0x4091ad,_0x2904c5=this[_0x2a1a9a(0x206)],_0x34da5c=_0x2904c5['hasher'][_0x2a1a9a(0x148)](),_0x5cf357=_0x905bae[_0x2a1a9a(0x148)](),_0x40d7c4=_0x5cf357[_0x2a1a9a(0x481)],_0x5ac69c=_0x2904c5['keySize'],_0x46fbff=_0x2904c5[_0x2a1a9a(0x106)];_0x40d7c4['length']<_0x5ac69c;){_0x4091ad&&_0x34da5c[_0x2a1a9a(0x39b)](_0x4091ad),_0x4091ad=_0x34da5c[_0x2a1a9a(0x39b)](_0x4f22bb)[_0x2a1a9a(0x129)](_0x1c85ab),_0x34da5c[_0x2a1a9a(0x467)]();for(var _0x4a13ee=0x1;_0x4a13ee<_0x46fbff;_0x4a13ee++)_0x4091ad=_0x34da5c['finalize'](_0x4091ad),_0x34da5c[_0x2a1a9a(0x467)]();_0x5cf357[_0x2a1a9a(0x47f)](_0x4091ad);}return _0x5cf357[_0x2a1a9a(0x113)]=_0x5ac69c*0x4,_0x5cf357;}});_0x21c8ed[_0xb5d58a(0x290)]=function(_0x56d399,_0x4118ff,_0x4edb72){var _0x35e7da=_0xb5d58a;return _0x53781d[_0x35e7da(0x148)](_0x4edb72)['compute'](_0x56d399,_0x4118ff);};}()),_0x496781[_0x3c40cd(0x290)];}));}(_0x218d4b)),_0x218d4b[_0x4f7680(0x36e)];}var _0x2f7d42={'exports':{}},_0x21482b=_0x2f7d42[_0x1d6855(0x36e)],_0x148b39;function _0x1a5199(){var _0x328df6=_0x1d6855;return _0x148b39||(_0x148b39=0x1,function(_0x21f44d,_0x1b1ad9){(function(_0x36b94f,_0x3eabaa,_0x200616){var _0x232a14=_0x593f;_0x21f44d[_0x232a14(0x36e)]=_0x3eabaa(_0x4194e1(),_0x19de47());}(_0x21482b,function(_0x509033){var _0x3edd41=_0x593f;_0x509033['lib'][_0x3edd41(0x280)]||function(_0x39332c){var _0x3e16d2=_0x3edd41,_0x96be7d=_0x509033,_0x16d045=_0x96be7d['lib'],_0x1e42a3=_0x16d045[_0x3e16d2(0x29f)],_0x52690d=_0x16d045[_0x3e16d2(0x3e5)],_0xa406b0=_0x16d045[_0x3e16d2(0x18b)],_0x93fdbd=_0x96be7d[_0x3e16d2(0x393)];_0x93fdbd[_0x3e16d2(0x2ba)];var _0x23916c=_0x93fdbd[_0x3e16d2(0x135)],_0x4dc28c=_0x96be7d[_0x3e16d2(0x2a4)],_0x3ac9bf=_0x4dc28c[_0x3e16d2(0x290)],_0x18b3e9=_0x16d045['Cipher']=_0xa406b0[_0x3e16d2(0x239)]({'cfg':_0x1e42a3['extend'](),'createEncryptor':function(_0x779f0d,_0xb209fd){var _0x2a4251=_0x3e16d2;return this[_0x2a4251(0x148)](this[_0x2a4251(0x403)],_0x779f0d,_0xb209fd);},'createDecryptor':function(_0xaeb526,_0x45925a){var _0x4d8ef1=_0x3e16d2;return this[_0x4d8ef1(0x148)](this[_0x4d8ef1(0x344)],_0xaeb526,_0x45925a);},'init':function(_0x324c81,_0x4e6adc,_0x485dbb){var _0x7f376a=_0x3e16d2;this[_0x7f376a(0x206)]=this[_0x7f376a(0x206)][_0x7f376a(0x239)](_0x485dbb),this[_0x7f376a(0x31f)]=_0x324c81,this[_0x7f376a(0x342)]=_0x4e6adc,this[_0x7f376a(0x467)]();},'reset':function(){var _0x31bcd9=_0x3e16d2;_0xa406b0['reset'][_0x31bcd9(0x2f2)](this),this[_0x31bcd9(0x45d)]();},'process':function(_0x337895){var _0x2422c3=_0x3e16d2;return this[_0x2422c3(0x3f7)](_0x337895),this[_0x2422c3(0x2eb)]();},'finalize':function(_0xad1039){var _0x525c55=_0x3e16d2;_0xad1039&&this[_0x525c55(0x3f7)](_0xad1039);var _0xd56e67=this[_0x525c55(0x1ee)]();return _0xd56e67;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x265524(_0x26300d){return typeof _0x26300d=='string'?_0xfdee1:_0x389551;}return function(_0x35df3f){return{'encrypt':function(_0x34765c,_0x2328c0,_0xd42520){var _0x352793=_0x593f;return _0x265524(_0x2328c0)[_0x352793(0x27d)](_0x35df3f,_0x34765c,_0x2328c0,_0xd42520);},'decrypt':function(_0x296630,_0xab023b,_0x473bd0){return _0x265524(_0xab023b)['decrypt'](_0x35df3f,_0x296630,_0xab023b,_0x473bd0);}};};}())});_0x16d045[_0x3e16d2(0x2d4)]=_0x18b3e9['extend']({'_doFinalize':function(){var _0x2c1e1f=_0x3e16d2,_0x263710=this[_0x2c1e1f(0x2eb)](!0x0);return _0x263710;},'blockSize':0x1});var _0xe26890=_0x96be7d[_0x3e16d2(0x1c5)]={},_0x1bb4c8=_0x16d045['BlockCipherMode']=_0x1e42a3[_0x3e16d2(0x239)]({'createEncryptor':function(_0x5c1b1c,_0x3d9fc9){var _0x38e98d=_0x3e16d2;return this[_0x38e98d(0x167)]['create'](_0x5c1b1c,_0x3d9fc9);},'createDecryptor':function(_0x29fe44,_0x2ca74c){var _0x3065fd=_0x3e16d2;return this['Decryptor'][_0x3065fd(0x148)](_0x29fe44,_0x2ca74c);},'init':function(_0x79f668,_0x2d5d5e){var _0x10c7f8=_0x3e16d2;this[_0x10c7f8(0x266)]=_0x79f668,this[_0x10c7f8(0x2c0)]=_0x2d5d5e;}}),_0x1167c0=_0xe26890[_0x3e16d2(0x259)]=(function(){var _0x1eddcc=_0x3e16d2,_0x77e85f=_0x1bb4c8['extend']();_0x77e85f[_0x1eddcc(0x167)]=_0x77e85f[_0x1eddcc(0x239)]({'processBlock':function(_0x59ce25,_0x550c29){var _0x550b0b=_0x1eddcc,_0x506369=this[_0x550b0b(0x266)],_0x1dd2c9=_0x506369[_0x550b0b(0x448)];_0x300e06[_0x550b0b(0x2f2)](this,_0x59ce25,_0x550c29,_0x1dd2c9),_0x506369[_0x550b0b(0x387)](_0x59ce25,_0x550c29),this[_0x550b0b(0x1db)]=_0x59ce25[_0x550b0b(0x160)](_0x550c29,_0x550c29+_0x1dd2c9);}}),_0x77e85f['Decryptor']=_0x77e85f['extend']({'processBlock':function(_0x33f9f3,_0x13b95e){var _0x27b48f=_0x1eddcc,_0x2e3542=this['_cipher'],_0xd7aca3=_0x2e3542[_0x27b48f(0x448)],_0x5c295a=_0x33f9f3[_0x27b48f(0x160)](_0x13b95e,_0x13b95e+_0xd7aca3);_0x2e3542[_0x27b48f(0x2b4)](_0x33f9f3,_0x13b95e),_0x300e06[_0x27b48f(0x2f2)](this,_0x33f9f3,_0x13b95e,_0xd7aca3),this['_prevBlock']=_0x5c295a;}});function _0x300e06(_0x2ae49b,_0x549b5b,_0x1734d2){var _0x3046f9=_0x1eddcc,_0x1b2edf,_0x49f577=this['_iv'];_0x49f577?(_0x1b2edf=_0x49f577,this[_0x3046f9(0x2c0)]=_0x39332c):_0x1b2edf=this[_0x3046f9(0x1db)];for(var _0x4cd5b9=0x0;_0x4cd5b9<_0x1734d2;_0x4cd5b9++)_0x2ae49b[_0x549b5b+_0x4cd5b9]^=_0x1b2edf[_0x4cd5b9];}return _0x77e85f;}()),_0x4b2e2e=_0x96be7d['pad']={},_0xeae783=_0x4b2e2e[_0x3e16d2(0x17b)]={'pad':function(_0x12b0dd,_0x17003d){var _0x322ebc=_0x3e16d2;for(var _0x4c73f3=_0x17003d*0x4,_0x1a4d3c=_0x4c73f3-_0x12b0dd[_0x322ebc(0x113)]%_0x4c73f3,_0x49f11a=_0x1a4d3c<<0x18|_0x1a4d3c<<0x10|_0x1a4d3c<<0x8|_0x1a4d3c,_0x34a614=[],_0x5de0b8=0x0;_0x5de0b8<_0x1a4d3c;_0x5de0b8+=0x4)_0x34a614[_0x322ebc(0x3a3)](_0x49f11a);var _0x1b6cc4=_0x52690d['create'](_0x34a614,_0x1a4d3c);_0x12b0dd[_0x322ebc(0x47f)](_0x1b6cc4);},'unpad':function(_0x39c2e9){var _0x5f2b68=_0x3e16d2,_0x238040=_0x39c2e9[_0x5f2b68(0x481)][_0x39c2e9[_0x5f2b68(0x113)]-0x1>>>0x2]&0xff;_0x39c2e9[_0x5f2b68(0x113)]-=_0x238040;}};_0x16d045[_0x3e16d2(0x220)]=_0x18b3e9['extend']({'cfg':_0x18b3e9['cfg'][_0x3e16d2(0x239)]({'mode':_0x1167c0,'padding':_0xeae783}),'reset':function(){var _0x4913af=_0x3e16d2,_0x373cd0;_0x18b3e9[_0x4913af(0x467)][_0x4913af(0x2f2)](this);var _0x3e0c9a=this['cfg'],_0xabdedf=_0x3e0c9a['iv'],_0x5b3d15=_0x3e0c9a[_0x4913af(0x1c5)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x373cd0=_0x5b3d15['createEncryptor']:(_0x373cd0=_0x5b3d15[_0x4913af(0x355)],this[_0x4913af(0x353)]=0x1),this[_0x4913af(0x3d9)]&&this[_0x4913af(0x3d9)]['__creator']==_0x373cd0?this[_0x4913af(0x3d9)][_0x4913af(0x18f)](this,_0xabdedf&&_0xabdedf[_0x4913af(0x481)]):(this[_0x4913af(0x3d9)]=_0x373cd0[_0x4913af(0x2f2)](_0x5b3d15,this,_0xabdedf&&_0xabdedf['words']),this[_0x4913af(0x3d9)]['__creator']=_0x373cd0);},'_doProcessBlock':function(_0x4f9953,_0x48e459){var _0x593072=_0x3e16d2;this[_0x593072(0x3d9)][_0x593072(0x3c5)](_0x4f9953,_0x48e459);},'_doFinalize':function(){var _0x578d13=_0x3e16d2,_0x26b211,_0x5a3f0a=this[_0x578d13(0x206)]['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x5a3f0a['pad'](this[_0x578d13(0x435)],this[_0x578d13(0x448)]),_0x26b211=this['_process'](!0x0)):(_0x26b211=this[_0x578d13(0x2eb)](!0x0),_0x5a3f0a[_0x578d13(0x3c9)](_0x26b211)),_0x26b211;},'blockSize':0x80/0x20});var _0x498162=_0x16d045[_0x3e16d2(0x3ec)]=_0x1e42a3[_0x3e16d2(0x239)]({'init':function(_0xf99466){var _0x290f4d=_0x3e16d2;this[_0x290f4d(0x3c3)](_0xf99466);},'toString':function(_0x15fe5f){var _0x3210e4=_0x3e16d2;return(_0x15fe5f||this['formatter'])[_0x3210e4(0x1f9)](this);}}),_0x365569=_0x96be7d['format']={},_0x1c63b2=_0x365569[_0x3e16d2(0x2ce)]={'stringify':function(_0x4c093a){var _0x4c3965=_0x3e16d2,_0x43197c,_0x4413e6=_0x4c093a[_0x4c3965(0x2de)],_0xc9fea=_0x4c093a[_0x4c3965(0x3bc)];return _0xc9fea?_0x43197c=_0x52690d[_0x4c3965(0x148)]([0x53616c74,0x65645f5f])[_0x4c3965(0x47f)](_0xc9fea)[_0x4c3965(0x47f)](_0x4413e6):_0x43197c=_0x4413e6,_0x43197c['toString'](_0x23916c);},'parse':function(_0x4f726a){var _0x4b7226=_0x3e16d2,_0xd350a4,_0x1c07cc=_0x23916c['parse'](_0x4f726a),_0x482e3c=_0x1c07cc[_0x4b7226(0x481)];return _0x482e3c[0x0]==0x53616c74&&_0x482e3c[0x1]==0x65645f5f&&(_0xd350a4=_0x52690d['create'](_0x482e3c['slice'](0x2,0x4)),_0x482e3c[_0x4b7226(0x1cc)](0x0,0x4),_0x1c07cc['sigBytes']-=0x10),_0x498162[_0x4b7226(0x148)]({'ciphertext':_0x1c07cc,'salt':_0xd350a4});}},_0x389551=_0x16d045[_0x3e16d2(0x2be)]=_0x1e42a3['extend']({'cfg':_0x1e42a3[_0x3e16d2(0x239)]({'format':_0x1c63b2}),'encrypt':function(_0x1e22a1,_0x2757e2,_0x161aed,_0x182fb4){var _0x55b418=_0x3e16d2;_0x182fb4=this[_0x55b418(0x206)][_0x55b418(0x239)](_0x182fb4);var _0x5ed3d7=_0x1e22a1[_0x55b418(0x475)](_0x161aed,_0x182fb4),_0x1c8093=_0x5ed3d7[_0x55b418(0x129)](_0x2757e2),_0x4c8b75=_0x5ed3d7[_0x55b418(0x206)];return _0x498162[_0x55b418(0x148)]({'ciphertext':_0x1c8093,'key':_0x161aed,'iv':_0x4c8b75['iv'],'algorithm':_0x1e22a1,'mode':_0x4c8b75['mode'],'padding':_0x4c8b75['padding'],'blockSize':_0x1e22a1[_0x55b418(0x448)],'formatter':_0x182fb4[_0x55b418(0x198)]});},'decrypt':function(_0x9ec793,_0x138c19,_0x1dda14,_0x4cd82d){var _0x4f2e71=_0x3e16d2;_0x4cd82d=this[_0x4f2e71(0x206)][_0x4f2e71(0x239)](_0x4cd82d),_0x138c19=this[_0x4f2e71(0x432)](_0x138c19,_0x4cd82d[_0x4f2e71(0x198)]);var _0x36cef0=_0x9ec793[_0x4f2e71(0x355)](_0x1dda14,_0x4cd82d)['finalize'](_0x138c19[_0x4f2e71(0x2de)]);return _0x36cef0;},'_parse':function(_0x9eeeae,_0x424c1b){return typeof _0x9eeeae=='string'?_0x424c1b['parse'](_0x9eeeae,this):_0x9eeeae;}}),_0x37bede=_0x96be7d[_0x3e16d2(0x446)]={},_0x4fb5e2=_0x37bede[_0x3e16d2(0x2ce)]={'execute':function(_0x40de84,_0x541f4b,_0x1a4b09,_0xb17be5,_0x4ad7bf){var _0x4fe6d5=_0x3e16d2;if(_0xb17be5||(_0xb17be5=_0x52690d['random'](0x40/0x8)),_0x4ad7bf)var _0x2073a6=_0x3ac9bf[_0x4fe6d5(0x148)]({'keySize':_0x541f4b+_0x1a4b09,'hasher':_0x4ad7bf})[_0x4fe6d5(0x41a)](_0x40de84,_0xb17be5);else var _0x2073a6=_0x3ac9bf[_0x4fe6d5(0x148)]({'keySize':_0x541f4b+_0x1a4b09})['compute'](_0x40de84,_0xb17be5);var _0x3dd990=_0x52690d[_0x4fe6d5(0x148)](_0x2073a6[_0x4fe6d5(0x481)][_0x4fe6d5(0x160)](_0x541f4b),_0x1a4b09*0x4);return _0x2073a6[_0x4fe6d5(0x113)]=_0x541f4b*0x4,_0x498162[_0x4fe6d5(0x148)]({'key':_0x2073a6,'iv':_0x3dd990,'salt':_0xb17be5});}},_0xfdee1=_0x16d045[_0x3e16d2(0x2d9)]=_0x389551['extend']({'cfg':_0x389551[_0x3e16d2(0x206)][_0x3e16d2(0x239)]({'kdf':_0x4fb5e2}),'encrypt':function(_0x1cfc8b,_0x1b82b7,_0x4dd20e,_0x28752f){var _0x1ab9e6=_0x3e16d2;_0x28752f=this[_0x1ab9e6(0x206)]['extend'](_0x28752f);var _0x5e1ea2=_0x28752f[_0x1ab9e6(0x446)]['execute'](_0x4dd20e,_0x1cfc8b['keySize'],_0x1cfc8b[_0x1ab9e6(0x150)],_0x28752f[_0x1ab9e6(0x3bc)],_0x28752f[_0x1ab9e6(0x487)]);_0x28752f['iv']=_0x5e1ea2['iv'];var _0x2da7e4=_0x389551[_0x1ab9e6(0x27d)][_0x1ab9e6(0x2f2)](this,_0x1cfc8b,_0x1b82b7,_0x5e1ea2['key'],_0x28752f);return _0x2da7e4[_0x1ab9e6(0x3c3)](_0x5e1ea2),_0x2da7e4;},'decrypt':function(_0x468deb,_0x507b8d,_0x49586d,_0x2f55bf){var _0x533025=_0x3e16d2;_0x2f55bf=this[_0x533025(0x206)][_0x533025(0x239)](_0x2f55bf),_0x507b8d=this[_0x533025(0x432)](_0x507b8d,_0x2f55bf[_0x533025(0x198)]);var _0x336499=_0x2f55bf['kdf']['execute'](_0x49586d,_0x468deb[_0x533025(0x230)],_0x468deb[_0x533025(0x150)],_0x507b8d[_0x533025(0x3bc)],_0x2f55bf[_0x533025(0x487)]);_0x2f55bf['iv']=_0x336499['iv'];var _0x3ba5d9=_0x389551['decrypt'][_0x533025(0x2f2)](this,_0x468deb,_0x507b8d,_0x336499[_0x533025(0x3d4)],_0x2f55bf);return _0x3ba5d9;}});}();}));}(_0x2f7d42)),_0x2f7d42[_0x328df6(0x36e)];}var _0x500180=_0x138880[_0x1d6855(0x36e)],_0x416287;function _0x5315f8(){var _0x49cc26=_0x1d6855;return _0x416287||(_0x416287=0x1,function(_0x190dd5,_0x2ea382){(function(_0x216f81,_0x207882,_0x420fa8){_0x190dd5['exports']=_0x207882(_0x4194e1(),_0x8320fc(),_0x2dc3cf(),_0x19de47(),_0x1a5199());}(_0x500180,function(_0x21adcc){var _0x245a6b=_0x593f;return(function(){var _0x33e637=_0x593f,_0xd1b0a1=_0x21adcc,_0x1249bd=_0xd1b0a1[_0x33e637(0x3e0)],_0x431d3b=_0x1249bd['BlockCipher'],_0xbf9b55=_0xd1b0a1[_0x33e637(0x2a4)],_0x5df049=[],_0x35e974=[],_0x1b680c=[],_0x475e34=[],_0x45e68e=[],_0x38862c=[],_0x226df4=[],_0x341200=[],_0x208cf3=[],_0x4f7d55=[];(function(){for(var _0x7f0e64=[],_0x1cf98a=0x0;_0x1cf98a<0x100;_0x1cf98a++)_0x1cf98a<0x80?_0x7f0e64[_0x1cf98a]=_0x1cf98a<<0x1:_0x7f0e64[_0x1cf98a]=_0x1cf98a<<0x1^0x11b;for(var _0x13b350=0x0,_0x5d1a62=0x0,_0x1cf98a=0x0;_0x1cf98a<0x100;_0x1cf98a++){var _0x11fdf6=_0x5d1a62^_0x5d1a62<<0x1^_0x5d1a62<<0x2^_0x5d1a62<<0x3^_0x5d1a62<<0x4;_0x11fdf6=_0x11fdf6>>>0x8^_0x11fdf6&0xff^0x63,_0x5df049[_0x13b350]=_0x11fdf6,_0x35e974[_0x11fdf6]=_0x13b350;var _0x32e3e9=_0x7f0e64[_0x13b350],_0x3e4860=_0x7f0e64[_0x32e3e9],_0x21b07f=_0x7f0e64[_0x3e4860],_0x244674=_0x7f0e64[_0x11fdf6]*0x101^_0x11fdf6*0x1010100;_0x1b680c[_0x13b350]=_0x244674<<0x18|_0x244674>>>0x8,_0x475e34[_0x13b350]=_0x244674<<0x10|_0x244674>>>0x10,_0x45e68e[_0x13b350]=_0x244674<<0x8|_0x244674>>>0x18,_0x38862c[_0x13b350]=_0x244674;var _0x244674=_0x21b07f*0x1010101^_0x3e4860*0x10001^_0x32e3e9*0x101^_0x13b350*0x1010100;_0x226df4[_0x11fdf6]=_0x244674<<0x18|_0x244674>>>0x8,_0x341200[_0x11fdf6]=_0x244674<<0x10|_0x244674>>>0x10,_0x208cf3[_0x11fdf6]=_0x244674<<0x8|_0x244674>>>0x18,_0x4f7d55[_0x11fdf6]=_0x244674,_0x13b350?(_0x13b350=_0x32e3e9^_0x7f0e64[_0x7f0e64[_0x7f0e64[_0x21b07f^_0x32e3e9]]],_0x5d1a62^=_0x7f0e64[_0x7f0e64[_0x5d1a62]]):_0x13b350=_0x5d1a62=0x1;}}());var _0x15fca6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x40237e=_0xbf9b55[_0x33e637(0x3e9)]=_0x431d3b[_0x33e637(0x239)]({'_doReset':function(){var _0x4eddaf=_0x33e637,_0x2991fb;if(!(this['_nRounds']&&this[_0x4eddaf(0x28e)]===this[_0x4eddaf(0x342)])){for(var _0x118420=this[_0x4eddaf(0x28e)]=this[_0x4eddaf(0x342)],_0x1ccc19=_0x118420[_0x4eddaf(0x481)],_0x471791=_0x118420['sigBytes']/0x4,_0x471783=this['_nRounds']=_0x471791+0x6,_0x676248=(_0x471783+0x1)*0x4,_0x1e8a5a=this[_0x4eddaf(0x40b)]=[],_0x50b0e9=0x0;_0x50b0e9<_0x676248;_0x50b0e9++)_0x50b0e9<_0x471791?_0x1e8a5a[_0x50b0e9]=_0x1ccc19[_0x50b0e9]:(_0x2991fb=_0x1e8a5a[_0x50b0e9-0x1],_0x50b0e9%_0x471791?_0x471791>0x6&&_0x50b0e9%_0x471791==0x4&&(_0x2991fb=_0x5df049[_0x2991fb>>>0x18]<<0x18|_0x5df049[_0x2991fb>>>0x10&0xff]<<0x10|_0x5df049[_0x2991fb>>>0x8&0xff]<<0x8|_0x5df049[_0x2991fb&0xff]):(_0x2991fb=_0x2991fb<<0x8|_0x2991fb>>>0x18,_0x2991fb=_0x5df049[_0x2991fb>>>0x18]<<0x18|_0x5df049[_0x2991fb>>>0x10&0xff]<<0x10|_0x5df049[_0x2991fb>>>0x8&0xff]<<0x8|_0x5df049[_0x2991fb&0xff],_0x2991fb^=_0x15fca6[_0x50b0e9/_0x471791|0x0]<<0x18),_0x1e8a5a[_0x50b0e9]=_0x1e8a5a[_0x50b0e9-_0x471791]^_0x2991fb);for(var _0xb03d50=this[_0x4eddaf(0x454)]=[],_0x2ec3cb=0x0;_0x2ec3cb<_0x676248;_0x2ec3cb++){var _0x50b0e9=_0x676248-_0x2ec3cb;if(_0x2ec3cb%0x4)var _0x2991fb=_0x1e8a5a[_0x50b0e9];else var _0x2991fb=_0x1e8a5a[_0x50b0e9-0x4];_0x2ec3cb<0x4||_0x50b0e9<=0x4?_0xb03d50[_0x2ec3cb]=_0x2991fb:_0xb03d50[_0x2ec3cb]=_0x226df4[_0x5df049[_0x2991fb>>>0x18]]^_0x341200[_0x5df049[_0x2991fb>>>0x10&0xff]]^_0x208cf3[_0x5df049[_0x2991fb>>>0x8&0xff]]^_0x4f7d55[_0x5df049[_0x2991fb&0xff]];}}},'encryptBlock':function(_0x57ff63,_0x9d8cff){var _0x2af678=_0x33e637;this[_0x2af678(0x36d)](_0x57ff63,_0x9d8cff,this['_keySchedule'],_0x1b680c,_0x475e34,_0x45e68e,_0x38862c,_0x5df049);},'decryptBlock':function(_0x4b32d9,_0x59e925){var _0x1eee32=_0x33e637,_0x1d9bc2=_0x4b32d9[_0x59e925+0x1];_0x4b32d9[_0x59e925+0x1]=_0x4b32d9[_0x59e925+0x3],_0x4b32d9[_0x59e925+0x3]=_0x1d9bc2,this[_0x1eee32(0x36d)](_0x4b32d9,_0x59e925,this[_0x1eee32(0x454)],_0x226df4,_0x341200,_0x208cf3,_0x4f7d55,_0x35e974);var _0x1d9bc2=_0x4b32d9[_0x59e925+0x1];_0x4b32d9[_0x59e925+0x1]=_0x4b32d9[_0x59e925+0x3],_0x4b32d9[_0x59e925+0x3]=_0x1d9bc2;},'_doCryptBlock':function(_0x3818e8,_0x5a109c,_0x16f0e7,_0x333f7c,_0x21f81a,_0x54ef09,_0x3233bd,_0x2a9f8a){var _0x1b77b3=_0x33e637;for(var _0x2435a5=this[_0x1b77b3(0x466)],_0x10d559=_0x3818e8[_0x5a109c]^_0x16f0e7[0x0],_0x3f95f8=_0x3818e8[_0x5a109c+0x1]^_0x16f0e7[0x1],_0x33424b=_0x3818e8[_0x5a109c+0x2]^_0x16f0e7[0x2],_0x2b8969=_0x3818e8[_0x5a109c+0x3]^_0x16f0e7[0x3],_0x171a44=0x4,_0x39296b=0x1;_0x39296b<_0x2435a5;_0x39296b++){var _0x48fa96=_0x333f7c[_0x10d559>>>0x18]^_0x21f81a[_0x3f95f8>>>0x10&0xff]^_0x54ef09[_0x33424b>>>0x8&0xff]^_0x3233bd[_0x2b8969&0xff]^_0x16f0e7[_0x171a44++],_0x5ec264=_0x333f7c[_0x3f95f8>>>0x18]^_0x21f81a[_0x33424b>>>0x10&0xff]^_0x54ef09[_0x2b8969>>>0x8&0xff]^_0x3233bd[_0x10d559&0xff]^_0x16f0e7[_0x171a44++],_0x2b6198=_0x333f7c[_0x33424b>>>0x18]^_0x21f81a[_0x2b8969>>>0x10&0xff]^_0x54ef09[_0x10d559>>>0x8&0xff]^_0x3233bd[_0x3f95f8&0xff]^_0x16f0e7[_0x171a44++],_0x1be914=_0x333f7c[_0x2b8969>>>0x18]^_0x21f81a[_0x10d559>>>0x10&0xff]^_0x54ef09[_0x3f95f8>>>0x8&0xff]^_0x3233bd[_0x33424b&0xff]^_0x16f0e7[_0x171a44++];_0x10d559=_0x48fa96,_0x3f95f8=_0x5ec264,_0x33424b=_0x2b6198,_0x2b8969=_0x1be914;}var _0x48fa96=(_0x2a9f8a[_0x10d559>>>0x18]<<0x18|_0x2a9f8a[_0x3f95f8>>>0x10&0xff]<<0x10|_0x2a9f8a[_0x33424b>>>0x8&0xff]<<0x8|_0x2a9f8a[_0x2b8969&0xff])^_0x16f0e7[_0x171a44++],_0x5ec264=(_0x2a9f8a[_0x3f95f8>>>0x18]<<0x18|_0x2a9f8a[_0x33424b>>>0x10&0xff]<<0x10|_0x2a9f8a[_0x2b8969>>>0x8&0xff]<<0x8|_0x2a9f8a[_0x10d559&0xff])^_0x16f0e7[_0x171a44++],_0x2b6198=(_0x2a9f8a[_0x33424b>>>0x18]<<0x18|_0x2a9f8a[_0x2b8969>>>0x10&0xff]<<0x10|_0x2a9f8a[_0x10d559>>>0x8&0xff]<<0x8|_0x2a9f8a[_0x3f95f8&0xff])^_0x16f0e7[_0x171a44++],_0x1be914=(_0x2a9f8a[_0x2b8969>>>0x18]<<0x18|_0x2a9f8a[_0x10d559>>>0x10&0xff]<<0x10|_0x2a9f8a[_0x3f95f8>>>0x8&0xff]<<0x8|_0x2a9f8a[_0x33424b&0xff])^_0x16f0e7[_0x171a44++];_0x3818e8[_0x5a109c]=_0x48fa96,_0x3818e8[_0x5a109c+0x1]=_0x5ec264,_0x3818e8[_0x5a109c+0x2]=_0x2b6198,_0x3818e8[_0x5a109c+0x3]=_0x1be914;},'keySize':0x100/0x20});_0xd1b0a1['AES']=_0x431d3b[_0x33e637(0x361)](_0x40237e);}()),_0x21adcc[_0x245a6b(0x3e9)];}));}(_0x138880)),_0x138880[_0x49cc26(0x36e)];}var _0x3f2517=_0x5315f8();const _0x66cc54=_0x18319c(_0x3f2517);var _0x51da3b=_0x8320fc();const _0x5ecc31=_0x18319c(_0x51da3b);var _0x4c20e3={'exports':{}},_0x45a589=_0x4c20e3[_0x1d6855(0x36e)],_0x4704c2;function _0x4823bc(){var _0x2026a4=_0x1d6855;return _0x4704c2||(_0x4704c2=0x1,function(_0x162101,_0x5de42e){(function(_0x1229b0,_0x3e4317){var _0x4675f6=_0x593f;_0x162101[_0x4675f6(0x36e)]=_0x3e4317(_0x4194e1());}(_0x45a589,function(_0x358562){var _0x2e994e=_0x593f;return _0x358562[_0x2e994e(0x393)][_0x2e994e(0x2ba)];}));}(_0x4c20e3)),_0x4c20e3[_0x2026a4(0x36e)];}var _0x1ad197=_0x4823bc();const _0x3e1c79=_0x18319c(_0x1ad197);var _0x250cbb={'exports':{}},_0x1c0664=_0x250cbb[_0x1d6855(0x36e)],_0x152c02;function _0x35f718(){return _0x152c02||(_0x152c02=0x1,function(_0x5d04dc,_0x12be5c){(function(_0xa1852,_0x24b02d){var _0xfc3f0f=_0x593f;_0x5d04dc[_0xfc3f0f(0x36e)]=_0x24b02d(_0x4194e1());}(_0x1c0664,function(_0x2ddb08){return(function(){var _0x242f86=_0x593f;if(typeof ArrayBuffer=='function'){var _0x47bda4=_0x2ddb08,_0xfb23ac=_0x47bda4['lib'],_0x3226e0=_0xfb23ac[_0x242f86(0x3e5)],_0x3fca80=_0x3226e0['init'],_0x538f98=_0x3226e0[_0x242f86(0x18f)]=function(_0x1e3a9c){var _0x5c5b31=_0x242f86;if(_0x1e3a9c instanceof ArrayBuffer&&(_0x1e3a9c=new Uint8Array(_0x1e3a9c)),(_0x1e3a9c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1e3a9c instanceof Uint8ClampedArray||_0x1e3a9c instanceof Int16Array||_0x1e3a9c instanceof Uint16Array||_0x1e3a9c instanceof Int32Array||_0x1e3a9c instanceof Uint32Array||_0x1e3a9c instanceof Float32Array||_0x1e3a9c instanceof Float64Array)&&(_0x1e3a9c=new Uint8Array(_0x1e3a9c['buffer'],_0x1e3a9c[_0x5c5b31(0x246)],_0x1e3a9c['byteLength'])),_0x1e3a9c instanceof Uint8Array){for(var _0xc25ecb=_0x1e3a9c[_0x5c5b31(0x37c)],_0x38894f=[],_0x3184e0=0x0;_0x3184e0<_0xc25ecb;_0x3184e0++)_0x38894f[_0x3184e0>>>0x2]|=_0x1e3a9c[_0x3184e0]<<0x18-_0x3184e0%0x4*0x8;_0x3fca80['call'](this,_0x38894f,_0xc25ecb);}else _0x3fca80['apply'](this,arguments);};_0x538f98[_0x242f86(0x29b)]=_0x3226e0;}}()),_0x2ddb08['lib']['WordArray'];}));}(_0x250cbb)),_0x250cbb['exports'];}var _0x1e3bd8=_0x35f718();const _0x12f7da=_0x18319c(_0x1e3bd8);var _0x390e55={'exports':{}},_0x41069b=_0x390e55[_0x1d6855(0x36e)],_0x3caf33;function _0x1fa250(){return _0x3caf33||(_0x3caf33=0x1,function(_0x1a58ef,_0x1bca77){(function(_0x5cd0c7,_0x7c0959,_0x14dc1a){var _0xea8022=_0x593f;_0x1a58ef[_0xea8022(0x36e)]=_0x7c0959(_0x4194e1(),_0x1a5199());}(_0x41069b,function(_0x4045b0){var _0x155ff0=_0x593f;return _0x4045b0[_0x155ff0(0x347)][_0x155ff0(0x189)]={'pad':function(){},'unpad':function(){}},_0x4045b0[_0x155ff0(0x347)]['NoPadding'];}));}(_0x390e55)),_0x390e55['exports'];}var _0x5a0fb4=_0x1fa250();const _0xdf9bf3=_0x18319c(_0x5a0fb4);function _0x64372d(_0x3d9309,_0x2c9fee){var _0x197d49=_0x1d6855;const _0x35545b=_0x2c9fee-_0x3d9309[_0x197d49(0x161)]%_0x2c9fee,_0x3fe2ef=String[_0x197d49(0x2ad)](_0x35545b)[_0x197d49(0x275)](_0x35545b);return _0x3d9309+_0x3fe2ef;}function _0x1ce0f5(_0x571a64,_0x808c88){var _0x2e895d=_0x1d6855;const _0x1c3159=_0x12f7da[_0x2e895d(0x47e)](0x10),_0x4f2c78=_0x64372d(_0x571a64,0x10),_0xedf341=_0x66cc54[_0x2e895d(0x27d)](_0x3e1c79['parse'](_0x4f2c78),_0x5ecc31[_0x2e895d(0x376)](_0x808c88),{'iv':_0x1c3159,'padding':_0xdf9bf3});return _0x1c3159[_0x2e895d(0x47f)](_0xedf341[_0x2e895d(0x2de)])[_0x2e895d(0x172)](_0x5ecc31);}function _0x210f48(){var _0x48d647=_0x1d6855;const _0x28d449=_0x30dc4f['getGlobalObject']()[_0x48d647(0x1f5)];if(_0x28d449){const _0x26fc61={'time':Math[_0x48d647(0x44b)](Date['now']()/0x3e8),'domain':location['hostname']};return _0x1ce0f5(JSON[_0x48d647(0x1f9)](_0x26fc61),_0x28d449);}}var _0x3b96ed=Object[_0x1d6855(0x1e7)],_0x18f152=(_0x5c9690,_0xa44cfc,_0x360f54,_0x5e64cd)=>{for(var _0x2341e3=_0x5e64cd>0x1?void 0x0:_0x5e64cd?_0x3b96ed(_0xa44cfc,_0x360f54):_0xa44cfc,_0x40cde4=_0x5c9690['length']-0x1,_0x7e6530;_0x40cde4>=0x0;_0x40cde4--)(_0x7e6530=_0x5c9690[_0x40cde4])&&(_0x2341e3=_0x7e6530(_0x2341e3)||_0x2341e3);return _0x2341e3;},_0x3742c0=(_0x5ba16f,_0x44331d)=>(_0x240d48,_0xfe7d08)=>_0x44331d(_0x240d48,_0xfe7d08,_0x5ba16f);let _0x15b3eb=class{constructor(_0x25691a){var _0x327194=_0x1d6855;this[_0x327194(0x2cc)]=_0x25691a,this[_0x327194(0x3c4)]();}['_initRequestHeader'](){var _0x2ae723=_0x1d6855;this[_0x2ae723(0x2cc)][_0x2ae723(0x12a)]({'interceptor':(_0x5a66e3,_0x1d86da)=>{var _0xa04fc3=_0x2ae723;const _0x3cade3=_0x5a66e3[_0xa04fc3(0x2aa)],_0x56abc5=_0x210f48();return _0x56abc5&&_0x3cade3[_0xa04fc3(0x3ca)](_0xa04fc3(0x24e),_0x56abc5),_0x1d86da(_0x5a66e3);}});}};_0x15b3eb=_0x18f152([_0x3742c0(0x0,_0x95e227[_0x1d6855(0x3da)](_0x3ea7ce[_0x1d6855(0x3e6)]))],_0x15b3eb);var _0xd9aaf3=Object[_0x1d6855(0x1e7)],_0x58e092=(_0x4d1851,_0x27ceec,_0x27deab,_0x147e59)=>{for(var _0x224f53=_0x147e59>0x1?void 0x0:_0x147e59?_0xd9aaf3(_0x27ceec,_0x27deab):_0x27ceec,_0x491976=_0x4d1851['length']-0x1,_0x44cdbe;_0x491976>=0x0;_0x491976--)(_0x44cdbe=_0x4d1851[_0x491976])&&(_0x224f53=_0x44cdbe(_0x224f53)||_0x224f53);return _0x224f53;},_0x379586=(_0x58a213,_0x47bf01)=>(_0x351a1b,_0x9669d2)=>_0x47bf01(_0x351a1b,_0x9669d2,_0x58a213);_0xa2dc9b['DataLoaderService']=class extends _0x95e227[_0x1d6855(0x39a)]{constructor(_0x2b35ed,_0x3553f6,_0x413793){var _0x2e2744=_0x1d6855;super(),_0x1c0f2e(this,_0x2e2744(0x286),new _0x55db85['BehaviorSubject'](null)),_0x1c0f2e(this,_0x2e2744(0x370),this[_0x2e2744(0x286)][_0x2e2744(0x1c4)]()),(this['_logService']=_0x2b35ed,this['_snapshotService']=_0x3553f6,this['_localCacheService']=_0x413793);}async[_0x1d6855(0x2e0)](_0x38aa41,_0x4eda62,_0x1cb9ad){var _0x4fdfe0=_0x1d6855;this[_0x4fdfe0(0x286)][_0x4fdfe0(0x155)]({'unitId':_0x38aa41,'type':_0x4eda62});let _0x53f8c4=null;switch(_0x4eda62){case _0x50e467[_0x4fdfe0(0x3a4)]:{_0x53f8c4=await this[_0x4fdfe0(0x443)][_0x4fdfe0(0x1d5)](_0x38aa41,_0x1cb9ad);break;}case _0x50e467[_0x4fdfe0(0x133)]:{_0x53f8c4=await this['_snapshotService']['loadDoc'](_0x38aa41,_0x1cb9ad);break;}default:{this['_logService']['error']('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x53f8c4;}async[_0x1d6855(0x10f)](_0x5ae2ba,_0x61f456,_0x2b7c3d){var _0x5809ec=_0x1d6855,_0x3f4cfa;this[_0x5809ec(0x286)][_0x5809ec(0x155)]({'unitId':_0x5ae2ba,'type':_0x61f456,'subUnitId':_0x2b7c3d});let _0x4404a3=0x0;const _0x2bb31b=await((_0x3f4cfa=this['_localCacheService'])==null?void 0x0:_0x3f4cfa[_0x5809ec(0x39e)](_0x5ae2ba));return _0x2bb31b&&(_0x2bb31b[_0x5809ec(0x210)]||_0x2bb31b[_0x5809ec(0x440)][_0x5809ec(0x161)]!==0x0)&&(_0x4404a3=_0x2bb31b[_0x5809ec(0x32e)]),_0x4404a3===0x0&&this[_0x5809ec(0x1f4)][_0x5809ec(0x3a2)]('[DataLoaderService]',_0x5809ec(0x2d3)),this['loadUnitOfRevision'](_0x5ae2ba,_0x61f456,_0x4404a3);}},_0xa2dc9b['DataLoaderService']=_0x58e092([_0x379586(0x0,_0x95e227[_0x1d6855(0x11b)]),_0x379586(0x1,_0x95e227[_0x1d6855(0x3da)](_0x444836['SnapshotService'])),_0x379586(0x2,_0x95e227[_0x1d6855(0x14a)](_0x1e8401))],_0xa2dc9b[_0x1d6855(0x396)]);var _0x14fb48=Object['getOwnPropertyDescriptor'],_0x2ee758=(_0x3b50a7,_0x5371aa,_0x595958,_0xa51578)=>{var _0x47c725=_0x1d6855;for(var _0x5dc568=_0xa51578>0x1?void 0x0:_0xa51578?_0x14fb48(_0x5371aa,_0x595958):_0x5371aa,_0x3fa853=_0x3b50a7[_0x47c725(0x161)]-0x1,_0x34aa24;_0x3fa853>=0x0;_0x3fa853--)(_0x34aa24=_0x3b50a7[_0x3fa853])&&(_0x5dc568=_0x34aa24(_0x5dc568)||_0x5dc568);return _0x5dc568;},_0xb61c9d=(_0x21b69f,_0x1a2b9d)=>(_0x21198b,_0x3f0095)=>_0x1a2b9d(_0x21198b,_0x3f0095,_0x21b69f);const _0x14037d=['image/png',_0x1d6855(0x23b),_0x1d6855(0x495),_0x1d6855(0x3dd),_0x1d6855(0x2fa)],_0x4ed4da=0x5*0x400*0x400,_0x42f8e8='/universer-api/stream/file/upload',_0xc47345=_0x1d6855(0x268);_0xa2dc9b[_0x1d6855(0x1ad)]=class{constructor(_0xd8e454,_0x3528ff,_0x56e874){var _0x347839=_0x1d6855;_0x1c0f2e(this,_0x347839(0x170),0x0),_0x1c0f2e(this,_0x347839(0x1e0),new _0x55db85['Subject']()),_0x1c0f2e(this,'change$',this[_0x347839(0x1e0)]),_0x1c0f2e(this,_0x347839(0x26d),new Map()),(this[_0x347839(0x2cc)]=_0xd8e454,this['_configService']=_0x3528ff,this[_0x347839(0x1ac)]=_0x56e874);}[_0x1d6855(0x3b1)](_0x1e4a00){var _0x36ef01=_0x1d6855;this['_waitCount']=_0x1e4a00,this[_0x36ef01(0x1e0)][_0x36ef01(0x155)](_0x1e4a00);}[_0x1d6855(0x350)](_0x53650d,_0x4b1716){var _0xca66c3=_0x1d6855;if(_0x4b1716===_0x67f487[_0xca66c3(0x26a)][_0xca66c3(0x20a)]){const _0x2a0f66=new Image();return _0x2a0f66[_0xca66c3(0x416)]=_0x53650d,_0x2a0f66;}return this[_0xca66c3(0x26d)]['get'](_0x53650d);}['addImageSourceCache'](_0x3883c6,_0x3bdaf2,_0x5d350c){var _0x391a9b=_0x1d6855;_0x3bdaf2===_0x67f487[_0x391a9b(0x26a)][_0x391a9b(0x20a)]||_0x5d350c==null||this[_0x391a9b(0x26d)][_0x391a9b(0x3ca)](_0x3883c6,_0x5d350c);}async['getImage'](_0x4df31e){var _0x3f42f2=_0x1d6855;try{const _0x57ba47=this[_0x3f42f2(0x29a)](this[_0x3f42f2(0x139)](),''+_0x4df31e),_0x4e1aa0=(await this[_0x3f42f2(0x2cc)][_0x3f42f2(0x34c)](_0x57ba47))[_0x3f42f2(0x24f)];if(_0x4e1aa0['error']&&_0x4e1aa0['error'][_0x3f42f2(0x433)]===_0x5ebea3['OK']){const _0x3c894b=new URL(_0x4e1aa0[_0x3f42f2(0x2a5)],this['_getDownloadEndpointURL']())[_0x3f42f2(0x172)]();return Promise[_0x3f42f2(0x349)](_0x3c894b);}return Promise[_0x3f42f2(0x455)](_0x4e1aa0['error']);}catch(_0x25f9c1){return Promise[_0x3f42f2(0x455)](_0x25f9c1);}}async[_0x1d6855(0x3f6)](_0x13b700){var _0x4fa925=_0x1d6855;let _0xeae504='';if(!_0x14037d[_0x4fa925(0x360)](_0x13b700[_0x4fa925(0x3fa)]))return this['_decreaseWaiting'](),Promise[_0x4fa925(0x455)](new Error(_0x67f487['ImageUploadStatusType'][_0x4fa925(0x258)]));if(_0x13b700[_0x4fa925(0x409)]>_0x4ed4da)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x67f487['ImageUploadStatusType'][_0x4fa925(0x42d)]));try{const _0x29b604=new FormData();_0x29b604['append']('file',_0x13b700);const _0x58116d=this[_0x4fa925(0x1ac)][_0x4fa925(0x1bf)](),_0x47d2eb=_0x58116d==null?void 0x0:_0x58116d['getUnitId']();if(!_0x47d2eb)throw new Error(_0x4fa925(0x296));const _0x31a9bc=this[_0x4fa925(0x356)]()+'?size='+_0x13b700['size'][_0x4fa925(0x172)]()+'&source='+_0x20e8f5[_0x4fa925(0x1bb)]+_0x4fa925(0x45c)+encodeURIComponent(_0x47d2eb),_0x189b0d={'body':_0x29b604},_0x5d1183=(await this[_0x4fa925(0x2cc)][_0x4fa925(0x184)](_0x31a9bc,_0x189b0d))['body'];if(typeof _0x5d1183[_0x4fa925(0x2f4)]!=_0x4fa925(0x337))return this[_0x4fa925(0x1eb)](),Promise[_0x4fa925(0x455)](new Error(_0x67f487[_0x4fa925(0x1d4)][_0x4fa925(0x3c1)]));_0xeae504=_0x5d1183[_0x4fa925(0x2f4)];}catch{return this[_0x4fa925(0x1eb)](),Promise[_0x4fa925(0x455)](new Error(_0x67f487[_0x4fa925(0x1d4)][_0x4fa925(0x3c1)]));}return new Promise((_0x23c00c,_0x420768)=>{var _0x230b84=_0x4fa925;const _0x14df3f=new FileReader();_0x14df3f[_0x230b84(0x46f)](_0x13b700),_0x14df3f[_0x230b84(0x116)]=_0x4ba032=>{var _0x4e1f24=_0x230b84,_0x567cc9;const _0x4d0c9b=(_0x567cc9=_0x4ba032['target'])==null?void 0x0:_0x567cc9[_0x4e1f24(0x2b2)];if(_0x4d0c9b==null){this[_0x4e1f24(0x1eb)](),_0x420768(new Error(_0x67f487[_0x4e1f24(0x1d4)][_0x4e1f24(0x3c1)]));return;}const _0x2c4d59=_0x95e227[_0x4e1f24(0x108)](0x6);_0x23c00c({'imageId':_0x2c4d59,'imageSourceType':_0x67f487['ImageSourceType'][_0x4e1f24(0x1f2)],'source':_0xeae504,'base64Cache':_0x4d0c9b,'status':_0x67f487[_0x4e1f24(0x1d4)][_0x4e1f24(0x21a)]}),this['_decreaseWaiting']();};});}[_0x1d6855(0x356)](){var _0x182a63=_0x1d6855,_0x3270d6;const _0x15d714=this['_configService'][_0x182a63(0x159)](_0x3a9eb9);return(_0x3270d6=_0x15d714==null?void 0x0:_0x15d714['uploadFileServerUrl'])!=null?_0x3270d6:_0x42f8e8;}['_getSignURL'](){var _0x3097ff=_0x1d6855,_0x249591;const _0x216d1f=this[_0x3097ff(0x1fc)]['getConfig'](_0x3a9eb9);return(_0x249591=_0x216d1f==null?void 0x0:_0x216d1f[_0x3097ff(0x22b)])!=null?_0x249591:_0xc47345;}['_getDownloadEndpointURL'](){var _0x133e38=_0x1d6855,_0x4ac3f3;const _0x5e8132=this[_0x133e38(0x1fc)][_0x133e38(0x159)](_0x3a9eb9);return(_0x4ac3f3=_0x5e8132==null?void 0x0:_0x5e8132['downloadEndpointUrl'])!=null?_0x4ac3f3:location[_0x133e38(0x1be)];}[_0x1d6855(0x29a)](_0x4ee1f2,_0x1d1f3e){var _0x1a8f7f=_0x1d6855;return _0x4ee1f2[_0x1a8f7f(0x3ce)](_0x1a8f7f(0x13c),_0x1d1f3e);}['_decreaseWaiting'](){var _0x7081ac=_0x1d6855;this['_waitCount']-=0x1,this[_0x7081ac(0x1e0)]['next'](this[_0x7081ac(0x170)]);}},_0xa2dc9b[_0x1d6855(0x1ad)]=_0x2ee758([_0xb61c9d(0x0,_0x95e227['Inject'](_0x3ea7ce[_0x1d6855(0x3e6)])),_0xb61c9d(0x1,_0x95e227[_0x1d6855(0x408)]),_0xb61c9d(0x2,_0x95e227[_0x1d6855(0x3da)](_0x95e227['IUniverInstanceService']))],_0xa2dc9b[_0x1d6855(0x1ad)]);var _0x5c2b6d=Object[_0x1d6855(0x1e7)],_0x3ce0d4=(_0x10dff9,_0x2b369f,_0x467559,_0x915a90)=>{var _0xc15146=_0x1d6855;for(var _0x924807=_0x915a90>0x1?void 0x0:_0x915a90?_0x5c2b6d(_0x2b369f,_0x467559):_0x2b369f,_0x4fa5c0=_0x10dff9[_0xc15146(0x161)]-0x1,_0x2a636b;_0x4fa5c0>=0x0;_0x4fa5c0--)(_0x2a636b=_0x10dff9[_0x4fa5c0])&&(_0x924807=_0x2a636b(_0x924807)||_0x924807);return _0x924807;},_0x54e268=(_0x70421b,_0x2205a3)=>(_0x17d907,_0x25e7de)=>_0x2205a3(_0x17d907,_0x25e7de,_0x70421b);const _0x537982=_0x1d6855(0x453);_0xa2dc9b[_0x1d6855(0x30a)]=class{constructor(_0x2d6ae7,_0x55d495){var _0x1572eb=_0x1d6855;this[_0x1572eb(0x1fc)]=_0x2d6ae7,this[_0x1572eb(0x369)]=_0x55d495;}[_0x1d6855(0x270)](){var _0x57725f=_0x1d6855,_0x1b4b47;const _0x3f56b5=this[_0x57725f(0x1fc)]['getConfig'](_0x3a9eb9);return(_0x1b4b47=_0x3f56b5==null?void 0x0:_0x3f56b5[_0x57725f(0x208)])!=null?_0x1b4b47:_0x537982;}async[_0x1d6855(0x398)](_0x2e7599){var _0x556c48=_0x1d6855;const _0x41dd7f=this[_0x556c48(0x270)]()+_0x556c48(0x2f6);return{'list':[{'title':_0x556c48(0x234),'mentions':(await this[_0x556c48(0x369)]['get'](_0x41dd7f,{'params':{'objectID':_0x2e7599[_0x556c48(0x15f)],'unitID':_0x2e7599['unitId']}}))[_0x556c48(0x24f)][_0x556c48(0x3f9)][_0x556c48(0x1ce)](_0x821ded=>({'objectId':_0x821ded['id'],'name':_0x821ded[_0x556c48(0x2b6)][_0x556c48(0x182)],'metadata':{'icon':_0x821ded['subject'][_0x556c48(0x204)]},'label':_0x821ded[_0x556c48(0x2b6)][_0x556c48(0x182)],'objectType':_0x95e227['MentionType']['PERSON']})),'metadata':{},'type':_0x95e227[_0x556c48(0x23a)][_0x556c48(0x2db)]}]};}},_0xa2dc9b[_0x1d6855(0x30a)]=_0x3ce0d4([_0x54e268(0x0,_0x95e227[_0x1d6855(0x3da)](_0x95e227['IConfigService'])),_0x54e268(0x1,_0x95e227['Inject'](_0x3ea7ce[_0x1d6855(0x3e6)]))],_0xa2dc9b[_0x1d6855(0x30a)]);var _0x8994c0=Object[_0x1d6855(0x1e7)],_0x1b390c=(_0xdd7de1,_0x19f784,_0x4503be,_0x2075d2)=>{var _0x1532fa=_0x1d6855;for(var _0x583b07=_0x2075d2>0x1?void 0x0:_0x2075d2?_0x8994c0(_0x19f784,_0x4503be):_0x19f784,_0x21018a=_0xdd7de1[_0x1532fa(0x161)]-0x1,_0x5a1153;_0x21018a>=0x0;_0x21018a--)(_0x5a1153=_0xdd7de1[_0x21018a])&&(_0x583b07=_0x5a1153(_0x583b07)||_0x583b07);return _0x583b07;},_0x530175=(_0x2a675a,_0x2768d9)=>(_0x4ffee8,_0x2eca8b)=>_0x2768d9(_0x4ffee8,_0x2eca8b,_0x2a675a);let _0x2a6156=class extends _0x95e227['RxDisposable']{constructor(_0x4c3ca5,_0x19b4ed,_0x39ca81,_0x33ebcd,_0x568768){var _0x3a2dfd=_0x1d6855;super(),this['_injector']=_0x4c3ca5,this[_0x3a2dfd(0x1ac)]=_0x19b4ed,this['_permissionService']=_0x39ca81,this[_0x3a2dfd(0x373)]=_0x33ebcd,this[_0x3a2dfd(0x180)]=_0x568768,this[_0x3a2dfd(0x265)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x552493=_0x1d6855;const _0x28ec10=async _0x40ff37=>{var _0x14d8da=_0x593f;(await this[_0x14d8da(0x373)][_0x14d8da(0x46b)](_0x40ff37))[_0x14d8da(0x3bb)][_0x14d8da(0x3d5)](_0x20ce0a[_0x14d8da(0x383)](_0x4dfbe6=>_0x4dfbe6['eventID']===_0x444836[_0x14d8da(0x3a5)][_0x14d8da(0x46c)]),_0x20ce0a[_0x14d8da(0x30d)](this[_0x14d8da(0x232)]))['subscribe'](_0x127f02=>{var _0x8e2128=_0x14d8da;const _0x5294fa=_0x127f02,{reason:_0x577fcb}=_0x5294fa['data'];this[_0x8e2128(0x180)][_0x8e2128(0x14e)]({'id':_0x2fc6ea['CLOSE_ROOM'],'data':_0x577fcb}),this[_0x8e2128(0x2c3)]['updatePermissionPoint'](new _0x5fb515[(_0x8e2128(0x3e7))](_0x40ff37)['id'],!0x1),this[_0x8e2128(0x373)][_0x8e2128(0x2bc)](_0x40ff37);});};_0x55db85['merge'](this['_univerInstanceService'][_0x552493(0x1ba)](_0x95e227[_0x552493(0x1cd)][_0x552493(0x3a4)]),this[_0x552493(0x1ac)]['getTypeOfUnitAdded$'](_0x95e227['UniverInstanceType']['UNIVER_DOC']))['pipe'](_0x20ce0a[_0x552493(0x1ce)](_0x5737ab=>_0x5737ab['getUnitId']()),_0x20ce0a[_0x552493(0x383)](_0xa60529=>!_0x95e227['isInternalEditorID'](_0xa60529)),_0x20ce0a['takeUntil'](this[_0x552493(0x232)]))[_0x552493(0x41e)](_0x3fc0e6=>{_0x28ec10(_0x3fc0e6);});}[_0x1d6855(0x265)](){var _0x50180e=_0x1d6855;const _0x5304fe=async _0x5bd368=>{var _0xaf75c4=_0x593f;const _0x4c2bbc=await this[_0xaf75c4(0x373)][_0xaf75c4(0x46b)](_0x5bd368),_0x7b1719=this[_0xaf75c4(0x2a7)][_0xaf75c4(0x34c)](_0x5fb515[_0xaf75c4(0x2a3)]);_0x4c2bbc[_0xaf75c4(0x3bb)][_0xaf75c4(0x3d5)](_0x20ce0a['filter'](_0x4bc74c=>_0x4bc74c[_0xaf75c4(0x214)]===_0x444836[_0xaf75c4(0x3a5)]['UPDATE_PERMISSION_OBJ']),_0x20ce0a[_0xaf75c4(0x30d)](this[_0xaf75c4(0x232)]))[_0xaf75c4(0x41e)](_0x50e124=>{var _0x57b957=_0xaf75c4;const _0x57abcb=_0x50e124,{objectId:_0x162fd2}=_0x57abcb[_0x57b957(0x1d9)];_0x162fd2===_0x5bd368?_0x7b1719[_0x57b957(0x224)](_0x5bd368):_0x7b1719['refreshPermission'](_0x5bd368,_0x162fd2);});};_0x55db85[_0x50180e(0x333)](this[_0x50180e(0x1ac)][_0x50180e(0x1ba)](_0x95e227[_0x50180e(0x1cd)][_0x50180e(0x3a4)]))['pipe'](_0x20ce0a[_0x50180e(0x1ce)](_0x87f227=>_0x87f227[_0x50180e(0x29d)]()),_0x20ce0a[_0x50180e(0x383)](_0x23e249=>!_0x95e227[_0x50180e(0x196)](_0x23e249)),_0x20ce0a['takeUntil'](this[_0x50180e(0x232)]))[_0x50180e(0x41e)](_0x401606=>{_0x5304fe(_0x401606);});}};_0x2a6156=_0x1b390c([_0x530175(0x0,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x1dc)])),_0x530175(0x1,_0x95e227[_0x1d6855(0x47b)]),_0x530175(0x2,_0x95e227[_0x1d6855(0x288)]),_0x530175(0x3,_0x95e227[_0x1d6855(0x3da)](_0xa2dc9b['CollaborationSessionService'])),_0x530175(0x4,_0x95e227[_0x1d6855(0x3da)](_0x28554a))],_0x2a6156);var _0x512c8d=Object[_0x1d6855(0x1e7)],_0x895e5c=(_0x4e040a,_0x31aa74,_0x529f8f,_0x423c39)=>{var _0x160832=_0x1d6855;for(var _0x44394e=_0x423c39>0x1?void 0x0:_0x423c39?_0x512c8d(_0x31aa74,_0x529f8f):_0x31aa74,_0x317ff3=_0x4e040a[_0x160832(0x161)]-0x1,_0x5b52a2;_0x317ff3>=0x0;_0x317ff3--)(_0x5b52a2=_0x4e040a[_0x317ff3])&&(_0x44394e=_0x5b52a2(_0x44394e)||_0x44394e);return _0x44394e;},_0x5b2e7e=(_0x5f1e78,_0x5e109b)=>(_0x495bcc,_0x2ce7e9)=>_0x5e109b(_0x495bcc,_0x2ce7e9,_0x5f1e78);_0xa2dc9b[_0x1d6855(0x3bf)]=class{constructor(_0x716b4e,_0x4c4473){var _0x9fa579=_0x1d6855;this[_0x9fa579(0x1fc)]=_0x716b4e,this['_httpService']=_0x4c4473;}async[_0x1d6855(0x12f)](_0x13a7bd,_0x15d961){var _0x322c59=_0x1d6855,_0x1ccf11;const {unitID:_0x57a876,type:_0x54ad8d,revision:_0x5d4abc=0x0}=_0x15d961,_0x456404=this[_0x322c59(0x16d)]()+'/'+_0x54ad8d+_0x322c59(0x2e4)+_0x57a876+'/rev/'+_0x5d4abc,_0x5ba88d=(await this[_0x322c59(0x2cc)]['get'](_0x456404))[_0x322c59(0x24f)],_0x58b068=(_0x1ccf11=_0x5ba88d[_0x322c59(0x405)])==null?void 0x0:_0x1ccf11['workbook'];if(_0x58b068){const _0x469fee=_0x58b068==null?void 0x0:_0x58b068['originalMeta'],_0x55b171=_0x444836['textEncoder'][_0x322c59(0x12d)](_0x444836[_0x322c59(0x3cd)](_0x469fee));_0x58b068[_0x322c59(0x1a4)]=_0x55b171,Object[_0x322c59(0x1a1)](_0x58b068['sheets'])[_0x322c59(0x1c0)](([,_0x30cf4b])=>{var _0x1f29aa=_0x322c59;const _0x50cf40=_0x30cf4b['originalMeta'],_0x5c2a22=_0x444836[_0x1f29aa(0x492)][_0x1f29aa(0x12d)](_0x444836['b64DecodeUnicode'](_0x50cf40));_0x30cf4b[_0x1f29aa(0x1a4)]=_0x5c2a22;});}return _0x5ba88d;}async[_0x1d6855(0x199)](_0x97360f,_0x5b7aa0){var _0x59c2ff=_0x1d6855;const {unitID:_0x3c21ab,type:_0x3cc33b,blockID:_0x6e66b8}=_0x5b7aa0,_0xe85fc9=this[_0x59c2ff(0x284)]()+'/'+_0x3cc33b+_0x59c2ff(0x2e4)+_0x3c21ab+_0x59c2ff(0x13a)+_0x6e66b8;return(await this[_0x59c2ff(0x2cc)][_0x59c2ff(0x34c)](_0xe85fc9))[_0x59c2ff(0x24f)];}async[_0x1d6855(0x1fa)](_0x4bc4f1,_0x4f7047){var _0x29a4a0=_0x1d6855;const {unitID:_0x1f6adc,type:_0x3e9ec9,blockID:_0xde62da}=_0x4f7047,_0x56d907=this['_getAPIPrefix']()+'/block/'+_0x3e9ec9+'/unit/'+_0x1f6adc+'/block/'+_0xde62da;return(await this['_httpService'][_0x29a4a0(0x34c)](_0x56d907))[_0x29a4a0(0x24f)];}async['fetchMissingChangesets'](_0x3d27d4,_0x3a6385){var _0x59e79a=_0x1d6855;const {unitID:_0x2a4a28,type:_0x16a7ea,from:_0xfd1375,to:_0x48f940}=_0x3a6385,_0x2932ad=this[_0x59e79a(0x284)]()+'/'+_0x16a7ea+'/unit/'+_0x2a4a28+_0x59e79a(0x1a3)+_0xfd1375+'&to='+_0x48f940;return(await this[_0x59e79a(0x2cc)][_0x59e79a(0x34c)](_0x2932ad))[_0x59e79a(0x24f)];}['getSnapshotAPIPath'](){var _0x16ce02=_0x1d6855,_0xf692bf;return(_0xf692bf=this[_0x16ce02(0x1fc)][_0x16ce02(0x159)](_0xc3a775))!=null?_0xf692bf:this[_0x16ce02(0x284)]();}[_0x1d6855(0x284)](){var _0x4cbcc4=_0x1d6855,_0x1f5f74;const _0x14b17a=this[_0x4cbcc4(0x1fc)][_0x4cbcc4(0x159)](_0x3a9eb9);return(_0x1f5f74=_0x14b17a==null?void 0x0:_0x14b17a[_0x4cbcc4(0x2f1)])!=null?_0x1f5f74:_0xb901f3;}async[_0x1d6855(0x304)](_0xb0d92a,_0x1f463f){var _0x5ece83=_0x1d6855;const _0x1195a9=_0x5ece83(0x179)+_0x1f463f[_0x5ece83(0x3fa)]+_0x5ece83(0x2e4)+_0x1f463f[_0x5ece83(0x374)]+_0x5ece83(0x2a1);return(await this[_0x5ece83(0x2cc)][_0x5ece83(0x34c)](_0x1195a9,{'params':{'resourceId':JSON['stringify'](_0x1f463f[_0x5ece83(0x439)])}}))[_0x5ece83(0x24f)];}[_0x1d6855(0x181)](){var _0x150224=_0x1d6855;throw new Error(_0x150224(0x386));}['updateSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1d6855(0x136)](){var _0x394c54=_0x1d6855;throw new Error(_0x394c54(0x386));}[_0x1d6855(0x10c)](){var _0x4ea95f=_0x1d6855;throw new Error(_0x4ea95f(0x386));}[_0x1d6855(0x26c)](){var _0x520947=_0x1d6855;throw new Error(_0x520947(0x386));}[_0x1d6855(0x375)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0xa2dc9b['SnapshotServerOverHTTPService']=_0x895e5c([_0x5b2e7e(0x0,_0x95e227[_0x1d6855(0x408)]),_0x5b2e7e(0x1,_0x95e227[_0x1d6855(0x3da)](_0x3ea7ce[_0x1d6855(0x3e6)]))],_0xa2dc9b[_0x1d6855(0x3bf)]);var _0xbabbf4=Object['getOwnPropertyDescriptor'],_0x53aa55=(_0x502ae9,_0x36e513,_0x345a65,_0x2f409e)=>{for(var _0x34883e=_0x2f409e>0x1?void 0x0:_0x2f409e?_0xbabbf4(_0x36e513,_0x345a65):_0x36e513,_0x12634d=_0x502ae9['length']-0x1,_0x5d4b83;_0x12634d>=0x0;_0x12634d--)(_0x5d4b83=_0x502ae9[_0x12634d])&&(_0x34883e=_0x5d4b83(_0x34883e)||_0x34883e);return _0x34883e;},_0x243bce=(_0x938e39,_0x1409b6)=>(_0x2f686e,_0x13fa27)=>_0x1409b6(_0x2f686e,_0x13fa27,_0x938e39);_0xa2dc9b[_0x1d6855(0x406)]=class extends _0x95e227[_0x1d6855(0x44f)]{constructor(_0x25689c,_0x34c86f,_0x35f41d,_0x100a78,_0x27c39a){var _0x1f95d0=_0x1d6855;super(_0x25689c,_0x34c86f,_0x35f41d),this[_0x1f95d0(0x336)]=_0x100a78,this[_0x1f95d0(0x1f4)]=_0x27c39a;}[_0x1d6855(0x32f)](_0x440527,_0x2d96c6){var _0x170ca6=_0x1d6855;const _0x55c865=this['_getUndoStack'](_0x440527);if(_0x55c865)try{const _0x3eb641=this['_transformStack'](_0x55c865,_0x2d96c6);this[_0x170ca6(0x109)](_0x440527,_0x3eb641);}catch(_0x5917c6){this[_0x170ca6(0x1f4)][_0x170ca6(0x23e)](_0x170ca6(0x144),_0x5917c6),this[_0x170ca6(0x169)](_0x440527);}const _0x1b8838=this[_0x170ca6(0x29c)](_0x440527);if(_0x1b8838)try{const _0x1056e7=this[_0x170ca6(0x1ed)](_0x1b8838,_0x2d96c6);this[_0x170ca6(0x43e)](_0x440527,_0x1056e7);}catch(_0x3cd2ea){this[_0x170ca6(0x1f4)][_0x170ca6(0x23e)](_0x3cd2ea),this['_clearRedo'](_0x440527);}}[_0x1d6855(0x169)](_0x463652){var _0x3bdaee=_0x1d6855;const _0xf530e4=this[_0x3bdaee(0x324)](_0x463652);_0xf530e4&&(_0xf530e4[_0x3bdaee(0x161)]=0x0,this[_0x3bdaee(0x240)]());}['_clearRedo'](_0x4264de){var _0x273e86=_0x1d6855;const _0x29a3be=this[_0x273e86(0x29c)](_0x4264de);_0x29a3be&&(_0x29a3be['length']=0x0,this[_0x273e86(0x240)]());}[_0x1d6855(0x109)](_0x4d39ac,_0x4bfa96){var _0x2763cf=_0x1d6855;this['_undoStacks'][_0x2763cf(0x3ca)](_0x4d39ac,_0x4bfa96),this[_0x2763cf(0x240)]();}[_0x1d6855(0x43e)](_0x1c6840,_0x1656ee){var _0x54fa55=_0x1d6855;this[_0x54fa55(0x115)][_0x54fa55(0x3ca)](_0x1c6840,_0x1656ee),this[_0x54fa55(0x240)]();}[_0x1d6855(0x1ed)](_0xea5adf,_0x38021b){var _0x553dfd=_0x1d6855;const _0x565708=[];let _0xd7a1e9=_0x38021b,_0x3968e7=_0x38021b;for(let _0x589280=_0xea5adf[_0x553dfd(0x161)]-0x1;_0x589280>=0x0;_0x589280--){const {unitID:_0x139a3d,undoMutations:_0x5dd7fd,redoMutations:_0x1318cf}=_0xea5adf[_0x589280],_0x233149=this[_0x553dfd(0x336)][_0x553dfd(0x38a)](_0xd7a1e9,_0x5dd7fd),_0x679abf=this[_0x553dfd(0x336)]['transformMutationsWithChangeset'](_0x3968e7,_0x1318cf);if(_0x444836['isTransformMutationsWithChangesetFailure'](_0x233149)||_0x444836[_0x553dfd(0x415)](_0x679abf)){this['_logService']['error'](_0x553dfd(0x144),_0x553dfd(0x157),_0x233149,_0x679abf);break;}_0xd7a1e9=_0x233149['c1Prime'],_0x3968e7=_0x679abf[_0x553dfd(0x2a8)],_0x565708[_0x553dfd(0x3a3)]({'unitID':_0x139a3d,'undoMutations':_0x233149[_0x553dfd(0x1b2)],'redoMutations':_0x679abf[_0x553dfd(0x1b2)]});}return _0x565708[_0x553dfd(0x1ca)]();}},_0xa2dc9b[_0x1d6855(0x406)]=_0x53aa55([_0x243bce(0x0,_0x95e227[_0x1d6855(0x47b)]),_0x243bce(0x1,_0x95e227[_0x1d6855(0x1f0)]),_0x243bce(0x2,_0x95e227[_0x1d6855(0x1b9)]),_0x243bce(0x3,_0x444836['ITransformService']),_0x243bce(0x4,_0x95e227[_0x1d6855(0x11b)])],_0xa2dc9b[_0x1d6855(0x406)]);var _0x363d9a=Object[_0x1d6855(0x419)],_0x2efcbf=Object[_0x1d6855(0x1e7)],_0x1f7dad=(_0x54ba69,_0x102360,_0x1553a2)=>_0x102360 in _0x54ba69?_0x363d9a(_0x54ba69,_0x102360,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1553a2}):_0x54ba69[_0x102360]=_0x1553a2,_0x4ad4cc=(_0x370cde,_0x5f335e,_0x4aa6b2,_0x479fe4)=>{for(var _0x199f4c=_0x479fe4>0x1?void 0x0:_0x479fe4?_0x2efcbf(_0x5f335e,_0x4aa6b2):_0x5f335e,_0x303efb=_0x370cde['length']-0x1,_0x370eda;_0x303efb>=0x0;_0x303efb--)(_0x370eda=_0x370cde[_0x303efb])&&(_0x199f4c=_0x370eda(_0x199f4c)||_0x199f4c);return _0x199f4c;},_0x285c8d=(_0x39049b,_0x3cd9b8)=>(_0x5b86dc,_0x1cfedc)=>_0x3cd9b8(_0x5b86dc,_0x1cfedc,_0x39049b),_0x45cdfb=(_0x54e8a1,_0x336b73,_0x5ba19b)=>_0x1f7dad(_0x54e8a1,_0x336b73+'',_0x5ba19b);const _0x163936=_0x1d6855(0x42c);_0xa2dc9b[_0x1d6855(0x2fe)]=class extends _0x95e227[_0x1d6855(0x19d)]{constructor(_0x1aadaa,_0x284315,_0x3f3105,_0x46b433){var _0x14a178=_0x1d6855;super(),_0x1c0f2e(this,_0x14a178(0x29e)),(this['_logService']=_0x284315,this[_0x14a178(0x2a7)]=_0x3f3105,this[_0x14a178(0x1fc)]=_0x46b433);const {..._0x3027a3}=_0x95e227['merge']({},_0x98c23e,_0x1aadaa);if(!_0x3027a3[_0x14a178(0x121)])throw new Error(_0x14a178(0x2b1));this[_0x14a178(0x29e)]=_0x3027a3,this['_configService']['setConfig'](_0x3a9eb9,_0x3027a3);}['onStarting'](){var _0x172697=_0x1d6855;this[_0x172697(0x418)](),this['_initDependencies']();}[_0x1d6855(0x418)](){var _0x1316a4=_0x1d6855,_0x3a9ade,_0x56f863;this['_injector'][_0x1316a4(0x413)](_0x95e227[_0x1316a4(0x171)])&&this[_0x1316a4(0x1f4)][_0x1316a4(0x23e)]('[UniverCollaborationClientPlugin]',_0x1316a4(0x354));const _0x2e2f0e=_0x95e227['mergeOverrideWithDependencies']([[_0x95e227[_0x1316a4(0x171)],{'useClass':_0xa2dc9b[_0x1316a4(0x406)]}],[_0xa2dc9b['CollaborationSessionService']],[_0xa2dc9b['MemberService']],[_0xa2dc9b['SheetTransformSelectionsService']],[_0x3ad676],[_0x15b3eb],[_0x22c8a8],[_0x2a6156],[_0x28554a],[_0xa2dc9b[_0x1316a4(0x396)]],[_0x42bcb1,{'useClass':this['_config']['socketService']}],[_0x444836[_0x1316a4(0x152)],{'useClass':_0xa2dc9b[_0x1316a4(0x3bf)]}],[_0x95e227[_0x1316a4(0x27b)],{'useClass':_0xa2dc9b[_0x1316a4(0x299)]}],[_0x67f487['IImageIoService'],{'useClass':_0xa2dc9b[_0x1316a4(0x1ad)]}],[_0x95e227[_0x1316a4(0x357)],{'useClass':_0xa2dc9b[_0x1316a4(0x30a)]}],[_0xa2dc9b[_0x1316a4(0x22a)]],[_0x51c18a]],(_0x3a9ade=this['_config'])==null?void 0x0:_0x3a9ade[_0x1316a4(0x1b8)]);if(!((_0x56f863=this[_0x1316a4(0x29e)])!=null&&_0x56f863[_0x1316a4(0x37d)])){const _0x4b32f1=_0x2e2f0e['findIndex'](([_0x1fba91])=>_0x1fba91===_0x2f6a3a);_0x4b32f1!==-0x1&&_0x2e2f0e[_0x1316a4(0x1cc)](_0x4b32f1,0x1);}_0x95e227[_0x1316a4(0x142)](this[_0x1316a4(0x2a7)],_0x2e2f0e);}[_0x1d6855(0x44d)](){var _0x32c4ef=_0x1d6855,_0x5a3d8f,_0x4a1c62,_0x3b79f0;this[_0x32c4ef(0x2a7)][_0x32c4ef(0x34c)](_0x3ea7ce[_0x32c4ef(0x3e6)])[_0x32c4ef(0x12a)]({'priority':0x14,'interceptor':_0x3ea7ce[_0x32c4ef(0x22e)]({'maxParallel':0x6})}),(_0x5a3d8f=this[_0x32c4ef(0x29e)])!=null&&_0x5a3d8f[_0x32c4ef(0x1c9)]||(_0x4a1c62=this[_0x32c4ef(0x2a7)][_0x32c4ef(0x34c)](_0x1e8401,_0x95e227['Quantity'][_0x32c4ef(0x317)]))==null||_0x4a1c62['disableLocalCache'](),(_0x3b79f0=this[_0x32c4ef(0x29e)])!=null&&_0x3b79f0[_0x32c4ef(0x2a9)]&&_0x95e227[_0x32c4ef(0x1f7)](this['_injector'],[[_0x3ad676]]),_0x95e227[_0x32c4ef(0x1f7)](this[_0x32c4ef(0x2a7)],[[_0x15b3eb],[_0xa2dc9b[_0x32c4ef(0x22a)]],[_0x2a6156]]);}},_0x45cdfb(_0xa2dc9b['UniverCollaborationClientPlugin'],_0x1d6855(0x22d),_0x163936),_0xa2dc9b[_0x1d6855(0x2fe)]=_0x4ad4cc([_0x95e227[_0x1d6855(0x43f)](_0x444836[_0x1d6855(0x31a)],_0x3ea7ce[_0x1d6855(0x3dc)]),_0x285c8d(0x1,_0x95e227['ILogService']),_0x285c8d(0x2,_0x95e227[_0x1d6855(0x3da)](_0x95e227[_0x1d6855(0x1dc)])),_0x285c8d(0x3,_0x95e227[_0x1d6855(0x408)])],_0xa2dc9b[_0x1d6855(0x2fe)]),_0xa2dc9b[_0x1d6855(0x3ea)]=_0x3a9eb9,_0xa2dc9b[_0x1d6855(0x365)]=_0x2f41f4,_0xa2dc9b[_0x1d6855(0x17a)]=_0x2fc6ea,_0xa2dc9b[_0x1d6855(0x381)]=_0x28554a,_0xa2dc9b['CommentService']=_0x22c8a8,_0xa2dc9b['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x7a8aaf,_0xa2dc9b['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x4e16d0,_0xa2dc9b[_0x1d6855(0x464)]=_0xaeb0ec,_0xa2dc9b['HEARTBEAT_INTERVAL_KEY']=_0x252131,_0xa2dc9b['HEARTBEAT_TIMEOUT_KEY']=_0x430bfd,_0xa2dc9b['ICollaborationSocketService']=_0x42bcb1,_0xa2dc9b[_0x1d6855(0x1bc)]=_0x1e8401,_0xa2dc9b[_0x1d6855(0x140)]=_0x16828d,_0xa2dc9b[_0x1d6855(0x469)]=_0x2f6a3a,_0xa2dc9b[_0x1d6855(0x41f)]=0x3e8,_0xa2dc9b[_0x1d6855(0x3ac)]=_0x5bfcf9,_0xa2dc9b[_0x1d6855(0x123)]=_0x50d83e,_0xa2dc9b[_0x1d6855(0x250)]=_0x233fd7,_0xa2dc9b[_0x1d6855(0x10b)]=_0x5488ec,_0xa2dc9b[_0x1d6855(0x30e)]=_0x339b9a,_0xa2dc9b[_0x1d6855(0x382)]=_0x2912e9,_0xa2dc9b[_0x1d6855(0x1c3)]=_0x3436cd,_0xa2dc9b[_0x1d6855(0x233)]=_0x2ca84c,Object[_0x1d6855(0x419)](_0xa2dc9b,Symbol[_0x1d6855(0x2c1)],{'value':'Module'});}));function _0x593f(_0x41ce34,_0x182695){_0x41ce34=_0x41ce34-0x104;var _0x116d9b=_0x116d();var _0x593f73=_0x116d9b[_0x41ce34];return _0x593f73;}function _0x116d(){var _0x53b5f3=['responseType','COMPLETION_FINISHED','_socketService','isTransformChangesetsSuccess','PasswordBasedCipher','USER_IS_ANONYMOUS','PERSON','complete','HmacMD5','ciphertext','shouldCloseConn','loadUnitOfRevision','disposeWithMe','online$','OTHER_CLIENTS_EDITING','/unit/','UNKNOWN_CODE','session.room-cnt-exceeds','_networkConditionService','_shouldReportTelemetry','RECV','_onConnectionFailed','_process','NOT_FOUND','_startCollaboration','_retryConnectingTimer','getCurrentRevOfUnit','awaiting','snapshotServerUrl','call','setCurrentUser','FileId','_singleActiveUnitService','/collaborator','EMAIL_HAS_BEEN_BOUND','clamp','amd','image/bmp','UPDATE_CURSOR','CollaborationEntity','USER_NOT_INVITED_CODE','UniverCollaborationClientPlugin','_getLoginPath','incrementRevOfUnit','catch','object','_updateLocalCache','getResourcesRequest','_handlerCallback','SNAPSHOT_INVALID_SNAPSHOT','_removeRoom','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','1497170XJhkVq','MentionIoHttpService','_handler','CONNECTOR_DATA_TOO_LARGE','takeUntil','UnitStatus','_onLocalMutation','readyForCollab','univer-pro.collaboration-client-socket-service','getValue','CLOSE_ROOM','_transformRemoteChangesetByStateCache','_syncEditingCollabCursor','COMMENT_UPDATE','OPTIONAL','DocCollaborationEntity','rxjs','UniverCollaborationPlugin','ConflictState','16474113SWPpJq','LIVESHARE_REQUEST_HOST','AwaitingWithPendingState','_xformMode','_socketMessageSubscription','interceptor','ENSURE_SNAPSHOT_EXECUTION','ENTITLE_NEED_BILLING_ADDRESS','_getUndoStack','_state','_resendTimer','toggleOnline','collaMsg','WECHAT_HAS_BEEN_BOUND','stopTime','_showConflictNotification','UNAUTHENTICATED','JOIN','rev','transformUndoRedo','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationSessionService','INVITE_CODE_ALREADY_BOUND','merge','/role','ENTITLE_DUP_SUBSCRIPTION','_transformService','string','_rescheduleHeartbeat','objectActions','INVITE_CODE_REQUIRED','CHANGESET_ACK','Error\x20on\x20receiving\x20event','abs','equals','collaboration-client.local-cache-service','Workbook','/universer-api/oidc/authpage','_key','readInt32LE','_DEC_XFORM_MODE','@univerjs/core','_oKey','pad','_clearRetryConnectingTimer','resolve','ENTITLE_REPORT_LIMIT_EXCEED','selections','get','_onMessage','ERROR_AGAIN','[FetchMissState]','getImageSourceCache','@univerjs/docs','HttpExport','_minBufferSize','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','createDecryptor','_getUploadFileURL','IMentionIOService','retryConnectingInterval','_createInitialState','univer-pro.collaboration-client.network-condition.service','symbol','max','_iKey','HEARTBEAT','getUnitType','includes','_createHelper','LICENSE_DISTRO_REJECTED','requestParams','session.room-full','CollaborationStatus','_getCurrentRevision','[PendingState]:\x20received\x20rejection.','_doProcessBlock','_HTTPService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_createHmacHelper','13866vPqIQj','_doCryptBlock','exports','UniverProCollaboration','unitInfo$','mapDocumentTypeToUniverType','_memberService','_collaborationSessionService','unitID','getLatestCsReqIdBySid','parse','JOIN_ROOM_PERMISSION_DENIED','DEFAULT_FILE_NAME','FETCH_MISS','InsertSheetMutation','UNKNOWN_CMD','byteLength','enableSingleActiveInstanceLock','Latin1','rxjs/operators','SUBMIT_CHANGESET_TIMEOUT','CollaborationUIEventService','deserializeToCombResponse','filter','title','LIVESHARE_FETCH_OPERATIONS','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','encryptBlock','setShowComponents','AUTHORIZE_CODE_ILLEGAL','transformMutationsWithChangeset','HttpImport','ISocketService','UniverProLicense','BehaviorSubject','fetch_missing','executeCommand','_transformUndoredo','isPermissionRej','enc','getRandomValues','_onJoinRoomEvent','DataLoaderService','_sessions','list','[CollaborationSession]','RxDisposable','update','UniverNetwork','INGEST','loadOfflineData','shareReplay','dispose','_createHandler','debug','push','UNIVER_SHEET','CollaborationEvent','_listenToNetworkCondition','185QGNYDA','_transformSelections','INVALID_INVITE_CODE','REDEMPTION_CODE_HAS_BEEN_CREATED','userID','LOCAL_CACHE_INTERVAL_KEY','_map','failed\x20to\x20apply\x20missed\x20changesets!','concatMap','Disposable','setWaitCount','msCrypto','4ORCQXk','LIVESHARE_NEW_HOST','updateMember','encodeURIComponent','_submitChangeset','awaiting_with_pending','MSG_FOR_ERROR','find','event$','salt','updateOfflineData','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','SnapshotServerOverHTTPService','CommandType','ERROR_IMAGE','_startTelemetryCollaborationNewChangeset','mixIn','_initRequestHeader','processBlock','SheetCollaborationEntity','onTransformRemoteChangesetByIMECache','createSocket','unpad','set','LocaleService','transformChangesets','b64DecodeUnicode','replace','CURRENT_STATUS_CANNOT_OPERATE','USERS_LEAVE','_transformRemoteChangesetByIMECache','add','onMutationExecutedForCollab','key','pipe','unknown','_updateState','_entityInit$','_mode','Inject','subUnitId','UniverNetworkPlugin','image/gif','hasOwnProperty','_socket$','lib','_transformStateCache','[CollaborationEntity]','getWorkbookSelections','_instanceService','WordArray','HTTPService','WorkbookEditablePermission','SheetsSelectionsService','AES','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Failed\x20to\x20update\x20permission\x20point','CipherParams','606840WbdTHX','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_event$','actions','LOGIN_TOKEN_PROCESSING_FAILED','href','method','_sendHeartbeat','_replayCachedMutations','saveImage','_append','REDEMPTION_INVALID_CODE','collaborators','type','_joinRoom','OFFLINE','CONFLICT','_onRemoteRejected','createCollaborator','_initMergeInterceptor','CompressMutationService','_sendHeartbeatTimer','_ENC_XFORM_MODE','UNRECOGNIZED','snapshot','CollaborativeUndoRedoService','fetchMiss','IConfigService','size','cmd','_keySchedule','SheetTransformSelectionsService','_members$','JOIN_ROOM_NOT_EXISTS','session','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','@univerjs-pro/license','sessionStatus$','has','LIVESHARE_OPERATION','isTransformMutationsWithChangesetFailure','src','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_registerDependencies','defineProperty','compute','YUUMI_URL_COL_OUT_OF_RANGE','startsWith','_incrementRevisionNumber','subscribe','LOCAL_CACHE_INTERVAL','LIVESHARE_TERMINATE','members','CHANGESET_REJ','_reverseMap','c2Prime','PSEUDO_FETCH_MISSING_RESULT','csRejEvent','LICENSE_MAX_UNITS_EXCEEDED','allowed','INVALID_ARGUMENT','_tryEnsureSocket','_toggleOnline','UNIVER_COLLABORATION_CLIENT_PLUGIN','ERROR_EXCEED_SIZE','_applyRemoteChangeset','DisposableCollection','_waitForHeartbeatResponse','/allowed','_parse','code','objectType','_data','error$','onRemoteChangeset','_roomCreated$','resourceIDs','getActiveSheet','_collaborationPaused','_acknowledgedAwaitingChangeset','collaboration_new_changeset','_substituteRedoStack','DependentOn','mutations','localCacheService','APPLY_PERMISSION_DENIED','_snapshotService','batchAllowed','_clearLocalCache','kdf','createIdentifier','blockSize','DATA_SOURCE_TOO_LARGE','PY_RUNTIME_SCRIPT_ERROR','floor','onRemoteAck','_initDependencies','clone','LocalUndoRedoService','from','_maxTotalRetryTimeout','Hasher','/universer-api/authz','_invKeySchedule','reject','_onConflict','LEAVE','COMPRESS_MUTATION_SEND','onRemoteRetry','appendMutation','?url=','&assign=','_doReset','UniverTelemetry','default','@univerjs/sheets','Undefined','/universer-api/uniscript','INVITE_CODE_HAS_BEEN_UES','DEFAULT_WS_SESSION_TICKET_URL','/-/object/-/batch_allowed','_nRounds','reset','_localCacheService','ISingleActiveUnitService','onMissedChangesetFetched','requireSession','SHOULD_CLOSE_CONN','_stopTelemetryCollaborationNewChangeset','Subject','readAsDataURL','capture','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_schedule','csAckEvent','collaboration-client.config','createEncryptor','resend','collabWebSocketUrl','ITransformService','SHA1','ENTITLE_COUPON_USED_UP','IUniverInstanceService','[OfflineState]:\x20received\x20rejection.','toggleOffline','random','concat','sessionStatus','words','delete','_members','location','socket\x20open.','_createSocket','hasher','COMPRESS_MUTATION_APPLY','state','GLOBAL_ROOMS_CNT_EXCEEDS','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentUpdate$','liveShareNewHost','parseChangesetToProtocol','SOCKET_FAILED','_commentService','/object','textEncoder','REDEMPTION_CODE_NOT_STARTED','_fetchMissChangesets','image/jpg','ONLINE','_collaborationTimeoutTimer','UniverCore','_scheduleCompleteTimestamp','_getCtorByUniverType','substr','randomBytes','delay','iterations','RichTextEditingMutation','generateRandomId','_substituteUndoStack','@univerjs/network','SessionStatus','saveChangeset','now','_localeService','loadUnit','[SyncedState]:\x20received\x20rejection.','_retryCount','USER_NOT_FOUND','sigBytes','_revisionService','_redoStacks','onload','function','_onRecvEvent','USERS_ENTER','UNIVER_SLIDE','ILogService','not_collab','ceil','\x0aCurrent:\x20','fromCollab','YUUMI_ALL_TABLES_IS_INVALID','socketService','getTime','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','onlyLocal','listRoles','/-/object/list','_onUserLeave','_unlockTransition','finalize','registerHTTPInterceptor','YUUMI_RATE_OVER_LIMIT','socket\x20close','encode','localeService','getUnitOnRev','submit\x20changeset\x20error!','_hash','IDLE','UNIVER_DOC','clear','Base64','saveSheetBlock','ENTITLE_COUPON_EXPIRED','MemberService','_getSignURL','/block/','@univerjs/drawing','{fileID}','PERMISSION_REJ','_clearScheduledTask','HMAC','INetworkConditionService','revision','registerDependencies','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[CollaborationUndoRedoService]','_executeRemoteChangeset','csShouldRetryEvent','EMAIL_VERIFY_CODE_MISMATCH','create','UNIVER_PROJECT','Optional','_tryReconnect','connection\x20error','synced','emitEvent','_compressMutationService','ivSize','status','ISnapshotServerService','loginUrlKey','_telemetryInfo','next','textRanges','transformStack\x20failed!','message$','getConfig','telemetry\x20info\x20is\x20not\x20initialized','CHANGESET_SHOULD_RETRY','close','HELLO','LICENSE_EXPORT_SIZE_EXCEEDED','unitId','slice','length','put','UserProfileImg','_hasher','range','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','Encryptor','REDEMPTION_CODE_INACTIVE','_clearUndo','ClipsheetFragments','__splitChunk__','uuidv4','getSnapshotAPIPath','PERMISSION_DENIED','PAYMENT_CHANNEL_NOT_SUPPORT','_waitCount','IUndoRedoService','toString','_undoRedoService','_entities','FAIL','_toggleOffline','@univerjs/telemetry','Could\x20not\x20dynamically\x20require\x20\x22','/universer-api/snapshot/','CollaborationUIEventId','Pkcs7','_onFetchMissResult','ITelemetryService','getTypeOfUnitDisposed$','FetchingMissState','_collaborationUIEventService','saveSnapshot','name','join','post','LOGIN_FAILED','_sessionStatus$','fetchMissingChangesets','_exhaustRemoteChangesetQueue','NoPadding','joinRsp','BufferedBlockAlgorithm','getUnitStatus$','uniscriptRunEvent','_onCombEvent','init','_doCreateSocket','getCollabEntity$','HEARTBEAT_TIMEOUT','UniverDocs','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_queuedRemoteChangesets','isInternalEditorID','_clearHeartbeatTimer','format','getSheetBlock','_remoteChangesetQueue','getCollabEntity','OTHER_CLIENT_EDITING','Plugin','JSONX','2114025eElfTZ','unsubscribe','entries','SUBMIT_CHANGESET','/fetchmissing?from=','originalMeta','YUUMI_SUBSCRIPTION_NOT_FOUND','_resendTimeout','_transformIMECache','_changesetReqId','[PendingState]:\x20received\x20acknowledgement.','_isPermissionRej','offline','_univerInstanceService','CollaborationImageIoService','objectID','onTransformIME','_transitionLocked','deleteCollaborator','m2Prime','UNISCRIPT_RUN','_checkMissing','focused$','_init','_unitID','override','IContextService','getTypeOfUnitAdded$','UnitEmbedded','ILocalCacheService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','origin','getFocusedUnit','forEach','OfflineState','sequenceExecute','getLocalCacheKey','asObservable','mode','removeMember','[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.','_clearTimeoutTimer','enableOfflineEditing','reverse','YUUMI_ASYNCIO_CANCELLED','splice','UniverInstanceType','map','_eventService','JOIN_ROOM_FAILED','charCodeAt','commentUpdateEvent','/universer-api/snapshot','ImageUploadStatusType','loadSheet','HmacSHA1','LICENSE_IMPORT_SIZE_EXCEEDED','SOCKET_FAILED_RETRY','data','_throwTelemetryCollaborationNewChangeset','_prevBlock','Injector','AwaitingState','members$','_socket','_change$','waitForRoom$','pending','_commandService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onRemoteRej','take','getOwnPropertyDescriptor','getAllMembers','ws://127.0.0.1:8000/universer-api/comb/connect','SNAPSHOT_HAS_BEEN_REMOVED','_decreaseWaiting','YUUMI_AI_RUN_FAILED','_transformStack','_doFinalize','duration','ICommandService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UUID','YUUMI_CONNECTOR_URL_NOT_FOUND','_logService','__Key__','\x20-\x20','touchDependencies','onTransformState','stringify','getDeserializedSheetBlock','POST','_configService','close$','reduce','getRoom','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_sender','_resendWithTimeout','_emitMembers','avatar','reqId','cfg','charAt','authzUrl','SyncedState','BASE64','/new_changes','CollaborationSession','_sheetTransformSelectionsService','_type','Univer','awaitingChangeset','_userManagerService','[CollaborationSessionService]:\x20socket\x20error','infoRsp','eventID','sin','changesets','onSyncEditingCollabCursor','_getSendChangesetTimeout','/universer-api/comb','SUCCUSS','_onUserJoin','UniverProCollaborationClient','UNDEFINED','params','CHANGESET_REVISION_CONFILICT','BlockCipher','getMember','routeKey','67936RGSVuV','initWorkbookPermissionChange','onSendChangeset','sid','updatePermissionPoint','session.room-not-exists','_onConnectionOpen','CollaborationController','signUrlServerUrl','_awaitingChangeset','pluginName','ThresholdInterceptorFactory','onStateChange','keySize','MergeInterceptorFactory','dispose$','serializeCombRequest','People','send','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','ReplaySubject','AWAITING','extend','MentionType','image/jpeg','_status$','\x20in\x20_schedule.','error','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_updateStatus','onMissingChangesets','JOIN_ROOM_FULL','newCsEvent','ALREADY_EXISTS','MUTATION','byteOffset','HEARTBEAT_INTERVAL','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getInterceptPoints','crypto','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','createInstance','x-univer-host','body','RETRY_CONNECTING_MAX_COUNT_KEY','RETRY_CONNECTING_MAX_COUNT','UNIVER_UNKNOWN','_clearCollaborationTimeoutTimer','univer-pro.collaboration-client.single-active-unit-service','YUUMI_NO_CUBOID_FOR_QUESTION','[SyncedState]:\x20received\x20acknowledgement.','patch','ERROR_IMAGE_TYPE','CBC','parseProtocolChangeset','UnitSnapshot','status$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getMemberID','_onRemoteACK','transformSelections','MD5','onTransformRemoteChangesetByStateCache','getCurrentUser','_onRemoteRetry','_initUnitPermissionChange','_cipher','_sendingTimer','/universer-api/file/{fileID}/sign-url','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ImageSourceType','_pendingMutations','copyFileMeta','_imageSourceCache','UniverDrawing','APPLY_DUPLICATED','_getAPIPrefixPath','_lockTransition','permissionRejEvent','isArray','sendChangesetTimeout','repeat','every','session.join-failed','ENTITLE_CAN_NOT_BUY_LOWER_OTP','PendingState','$super','IAuthzIoService','YUUMI_UNABLE_LOAD_URL','encrypt','CollaborationSocketService','NOT_COLLAB','Cipher','APPLY_REVISION_CONFILICT','_changesetSessionId','_onOffline','_getAPIPrefix','_snapshotServerService','_unitInfo$','isTransformMutationsWithChangesetSuccess','IPermissionService','_timeoutTimer','state$','_state$','operators','onTransformSelections','_keyPriorReset','APPLY_NON_SEQUENTIAL_REVISION','EvpKDF','compose','socket$','REDEMPTION_USER_NOT_ELIGIBLE','fetchThroughInterceptors','memberID','unitId\x20is\x20not\x20found','_nDataBytes','session.room-permission-denied','AuthzIoHttpService','_replaceFileID','prototype','_getRedoStack','getUnitId','_config','Base','MOBILE_HAS_BEEN_BOUND','/resources','_roomMembers','SheetPermissionInitController','algo','url','Tools','_injector','c1Prime','enableAuthServer','headers','apply','FETCH_MISSING','fromCharCode','HTTPRequest','_scheduleCollaborationTimeoutTimer','_socketReady','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','result','getCurrentSelections','decryptBlock','JOINING','subject','NO_OTHER_CLIENTS_EDITING','_onRemoteChangeset','baseRev','Utf8','open$','closeSession','INTERNAL_ERROR','SerializableCipher','listCollaborators','_iv','toStringTag','/object/','_permissionService','_candidateSocket','EmptyMutationInfo','_telemetryService','REDEMPTION_CODE_FULLY_REDEEMED','[CollaborationSessionService]','toDisposable','_createInitialStateImpl','RevisionService','_httpService','ENTITLE_INVALID_COUPON_CODE','OpenSSL','min','entityInit$','editing\x20status\x20changed\x20to','2182236wOhAmS','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','StreamCipher'];_0x116d=function(){return _0x53b5f3;};return _0x116d();}
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x40d4(_0x406bf1,_0x44fb50){_0x406bf1=_0x406bf1-0xbf;const _0x57dc43=_0x57dc();let _0x40d4e3=_0x57dc43[_0x406bf1];return _0x40d4e3;}(function(_0x18edbd,_0x5d1c87){const _0x1adc46=_0x40d4,_0x1ef847=_0x18edbd();while(!![]){try{const _0x216dc0=-parseInt(_0x1adc46(0xfd))/0x1*(-parseInt(_0x1adc46(0xe3))/0x2)+-parseInt(_0x1adc46(0xf1))/0x3*(parseInt(_0x1adc46(0xf5))/0x4)+parseInt(_0x1adc46(0xe2))/0x5*(-parseInt(_0x1adc46(0xff))/0x6)+-parseInt(_0x1adc46(0xcd))/0x7+-parseInt(_0x1adc46(0xda))/0x8+parseInt(_0x1adc46(0xe1))/0x9+parseInt(_0x1adc46(0xf2))/0xa*(parseInt(_0x1adc46(0xf6))/0xb);if(_0x216dc0===_0x5d1c87)break;else _0x1ef847['push'](_0x1ef847['shift']());}catch(_0x2f895f){_0x1ef847['push'](_0x1ef847['shift']());}}}(_0x57dc,0x3d356),function(_0x3b3ae4,_0x3f9244){const _0x1a9cd0=_0x40d4;typeof exports==_0x1a9cd0(0xed)&&typeof module<'u'?_0x3f9244(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x1a9cd0(0xc6)&&define['amd']?define([_0x1a9cd0(0xfe),_0x1a9cd0(0xd3),_0x1a9cd0(0xf0),_0x1a9cd0(0xd1),'@univerjs/core','rxjs'],_0x3f9244):(_0x3b3ae4=typeof globalThis<'u'?globalThis:_0x3b3ae4||self,_0x3f9244(_0x3b3ae4[_0x1a9cd0(0xd5)]={},_0x3b3ae4[_0x1a9cd0(0x101)],_0x3b3ae4['UniverCoreFacade'],_0x3b3ae4['UniverProCollaboration'],_0x3b3ae4[_0x1a9cd0(0xc2)],_0x3b3ae4[_0x1a9cd0(0xe6)]));}(this,function(_0x829ad,_0x58fbc2,_0x1dff27,_0x535994,_0x1e2570,_0x4462fc){'use strict';const _0x41b8b7=_0x40d4;class _0x5ef0ce extends _0x1dff27[_0x41b8b7(0xc8)]{get[_0x41b8b7(0xd9)](){return _0x58fbc2['CollaborationStatus'];}}_0x1dff27['FEnum']['extend'](_0x5ef0ce);var _0x3ad50e=Object[_0x41b8b7(0xcc)],_0x5ea991=(_0x36aad2,_0x55ec25,_0x4ea9ca,_0x494cda)=>{const _0x570fb5=_0x41b8b7;for(var _0x4ea34a=_0x494cda>0x1?void 0x0:_0x494cda?_0x3ad50e(_0x55ec25,_0x4ea9ca):_0x55ec25,_0x5b1237=_0x36aad2[_0x570fb5(0xe5)]-0x1,_0x40deb3;_0x5b1237>=0x0;_0x5b1237--)(_0x40deb3=_0x36aad2[_0x5b1237])&&(_0x4ea34a=_0x40deb3(_0x4ea34a)||_0x4ea34a);return _0x4ea34a;},_0x5f1e2c=(_0x306e50,_0x35329b)=>(_0x5b8442,_0x4c6d85)=>_0x35329b(_0x5b8442,_0x4c6d85,_0x306e50);_0x829ad[_0x41b8b7(0xc0)]=class extends _0x1dff27['FBase']{constructor(_0xde635e,_0x3f8ece,_0x44e004,_0x533c31,_0x20b8ce){const _0x2d9b66=_0x41b8b7;super(),this[_0x2d9b66(0xc9)]=_0xde635e,this['_injector']=_0x3f8ece,this[_0x2d9b66(0xe0)]=_0x44e004,this['_snapshotService']=_0x533c31,this[_0x2d9b66(0xdf)]=_0x20b8ce;}async[_0x41b8b7(0xd7)](){const _0x5aa5d7=_0x41b8b7;return this[_0x5aa5d7(0xfa)]();}async[_0x41b8b7(0xfa)](){const _0x277cb4=_0x41b8b7;throw new Error(_0x277cb4(0xd6));}async[_0x41b8b7(0xe8)](_0x358967){const _0x10e24b=_0x41b8b7;return this[_0x10e24b(0xc7)](_0x358967);}async[_0x41b8b7(0xc7)](_0x306e58,_0x145f0b){const _0x5b5909=_0x41b8b7;return await this['_snapshotService'][_0x5b5909(0xe8)](_0x306e58,0x0,_0x145f0b)?(await this['_collaborationController'][_0x5b5909(0xef)](_0x306e58),this[_0x5b5909(0xc9)][_0x5b5909(0xde)](_0x306e58)):null;}[_0x41b8b7(0x100)](_0x48c148,_0x5ca938){const _0xcccbfb=_0x41b8b7,_0x46ee4e=this['_injector']['get'](_0x58fbc2[_0xcccbfb(0xc1)])[_0xcccbfb(0xf4)](_0x48c148)[_0xcccbfb(0xeb)](_0x4462fc[_0xcccbfb(0xe4)](_0x52af82=>_0x52af82[_0xcccbfb(0xea)]))[_0xcccbfb(0xc5)](_0x1895be=>_0x5ca938(Array[_0xcccbfb(0xd2)](_0x1895be[_0xcccbfb(0xe7)]())));return _0x1e2570[_0xcccbfb(0xec)](_0x46ee4e);}['getCollaborationStatus'](){const _0xced45b=_0x41b8b7,_0x331102=this[_0xced45b(0xe0)]['getFocusedUnit']();if(!_0x331102)return _0x58fbc2[_0xced45b(0xd9)][_0xced45b(0xca)];const _0xf0f196=this[_0xced45b(0xdf)][_0xced45b(0xf9)](_0x331102[_0xced45b(0xdd)]());return _0xf0f196?_0xf0f196[_0xced45b(0xd8)][_0xced45b(0xe9)]:_0x58fbc2['CollaborationStatus'][_0xced45b(0xca)];}},_0x829ad[_0x41b8b7(0xc0)]=_0x5ea991([_0x5f1e2c(0x1,_0x1e2570[_0x41b8b7(0xc3)](_0x1e2570[_0x41b8b7(0xf3)])),_0x5f1e2c(0x2,_0x1e2570[_0x41b8b7(0xd4)]),_0x5f1e2c(0x3,_0x1e2570[_0x41b8b7(0xc3)](_0x535994[_0x41b8b7(0xee)])),_0x5f1e2c(0x4,_0x1e2570[_0x41b8b7(0xc3)](_0x58fbc2[_0x41b8b7(0xf8)]))],_0x829ad[_0x41b8b7(0xc0)]);class _0x40b369 extends _0x1dff27['FUniver']{[_0x41b8b7(0xcf)](){const _0x5283a0=_0x41b8b7;return this[_0x5283a0(0xcb)][_0x5283a0(0xdc)](_0x829ad[_0x5283a0(0xc0)],{'getUniverSheet':_0xf3bb30=>this[_0x5283a0(0xde)](_0xf3bb30)});}[_0x41b8b7(0xfc)](_0x5bc55e,_0x27ae4a,_0x32e7dc){const _0x2b427b=_0x41b8b7;return this['_injector'][_0x2b427b(0xf7)](_0x58fbc2['DataLoaderService'])[_0x2b427b(0xce)](_0x5bc55e,_0x27ae4a,_0x32e7dc);}['loadServerUnitOfRevision'](_0x2b4bf0,_0xa0b41a,_0x4c5f62){const _0x54afa4=_0x41b8b7;return this[_0x54afa4(0xcb)][_0x54afa4(0xf7)](_0x58fbc2[_0x54afa4(0xd0)])[_0x54afa4(0xdb)](_0x2b4bf0,_0xa0b41a,_0x4c5f62);}}_0x1dff27[_0x41b8b7(0xc4)][_0x41b8b7(0xbf)](_0x40b369),Object['defineProperty'](_0x829ad,Symbol['toStringTag'],{'value':_0x41b8b7(0xfb)});}));function _0x57dc(){const _0x720272=['toDisposable','object','SnapshotService','readyForCollab','@univerjs/core/facade','3BwEFSt','72830wyQhEF','Injector','waitForRoom$','521384EQYVaA','1353JObstI','get','CollaborationController','getCollabEntity','loadActiveSheetAsync','Module','loadServerUnit','38835SdRpUK','exports','240522zmegQE','subscribeCollaborators','UniverProCollaborationClient','extend','FCollaboration','MemberService','UniverCore','Inject','FUniver','subscribe','function','loadSheetAsync','FEnum','_handler','NOT_COLLAB','_injector','getOwnPropertyDescriptor','2512349efaeyk','loadUnit','getCollaboration','DataLoaderService','@univerjs-pro/collaboration','from','@univerjs-pro/collaboration-client','IUniverInstanceService','UniverProCollaborationClientFacade','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheet','state','CollaborationStatus','2884416SbnfEy','loadUnitOfRevision','createInstance','getUnitId','getUniverSheet','_collaborationController','_univerInstanceService','3668805ccSxPd','35CHTTRl','4GshQrL','switchMap','length','rxjs','values','loadSheet','status','members$','pipe'];_0x57dc=function(){return _0x720272;};return _0x57dc();}
5
+ (function(_0x597487,_0x31846e){const _0x518f3d=_0x2512,_0x4e41b9=_0x597487();while(!![]){try{const _0x46df80=-parseInt(_0x518f3d(0xf6))/0x1*(parseInt(_0x518f3d(0x124))/0x2)+-parseInt(_0x518f3d(0x103))/0x3*(-parseInt(_0x518f3d(0x111))/0x4)+parseInt(_0x518f3d(0x11e))/0x5*(-parseInt(_0x518f3d(0x118))/0x6)+parseInt(_0x518f3d(0xf7))/0x7*(-parseInt(_0x518f3d(0xe9))/0x8)+-parseInt(_0x518f3d(0x12f))/0x9+parseInt(_0x518f3d(0x12e))/0xa*(-parseInt(_0x518f3d(0x113))/0xb)+-parseInt(_0x518f3d(0x127))/0xc*(-parseInt(_0x518f3d(0x12c))/0xd);if(_0x46df80===_0x31846e)break;else _0x4e41b9['push'](_0x4e41b9['shift']());}catch(_0x11d3b0){_0x4e41b9['push'](_0x4e41b9['shift']());}}}(_0x26c6,0x1942b),function(_0x4426f4,_0x11890f){const _0x5b68c2=_0x2512;typeof exports==_0x5b68c2(0x112)&&typeof module<'u'?_0x11890f(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define[_0x5b68c2(0x104)]?define([_0x5b68c2(0xeb),_0x5b68c2(0x10e),_0x5b68c2(0x110),_0x5b68c2(0x11c),'@univerjs/core',_0x5b68c2(0x11b)],_0x11890f):(_0x4426f4=typeof globalThis<'u'?globalThis:_0x4426f4||self,_0x11890f(_0x4426f4[_0x5b68c2(0x10a)]={},_0x4426f4[_0x5b68c2(0x116)],_0x4426f4['UniverCoreFacade'],_0x4426f4[_0x5b68c2(0x11d)],_0x4426f4[_0x5b68c2(0x10c)],_0x4426f4['rxjs']));}(this,function(_0x220425,_0x5ccb49,_0x4533cd,_0x46c2fc,_0x57fb53,_0x31eb18){'use strict';const _0x134739=_0x2512;class _0xe66ac4 extends _0x4533cd[_0x134739(0x12d)]{get[_0x134739(0x117)](){return _0x5ccb49['CollaborationStatus'];}}_0x4533cd[_0x134739(0x12d)][_0x134739(0xec)](_0xe66ac4);var _0x1b061b=Object[_0x134739(0x12a)],_0x750eac=(_0x563312,_0x5811b4,_0x230884,_0x4fb6bf)=>{for(var _0x4e90e3=_0x4fb6bf>0x1?void 0x0:_0x4fb6bf?_0x1b061b(_0x5811b4,_0x230884):_0x5811b4,_0x112108=_0x563312['length']-0x1,_0x15c2b9;_0x112108>=0x0;_0x112108--)(_0x15c2b9=_0x563312[_0x112108])&&(_0x4e90e3=_0x15c2b9(_0x4e90e3)||_0x4e90e3);return _0x4e90e3;},_0x4d6ae3=(_0x39c076,_0x4cf24a)=>(_0x1b0e47,_0x133f4)=>_0x4cf24a(_0x1b0e47,_0x133f4,_0x39c076);_0x220425[_0x134739(0x123)]=class extends _0x4533cd[_0x134739(0xfe)]{constructor(_0x26dc7c,_0x4dbf29,_0x37c2c9,_0x4ff312,_0x1c2d96){const _0x31b287=_0x134739;super(),this['_handler']=_0x26dc7c,this[_0x31b287(0x10b)]=_0x4dbf29,this[_0x31b287(0xf5)]=_0x37c2c9,this[_0x31b287(0x125)]=_0x4ff312,this[_0x31b287(0x12b)]=_0x1c2d96;}async[_0x134739(0x100)](){const _0x356d89=_0x134739;return this[_0x356d89(0x108)]();}async['loadActiveSheetAsync'](){const _0xd974d5=_0x134739;throw new Error(_0xd974d5(0x122));}async[_0x134739(0x106)](_0x54d799){return this['loadSheetAsync'](_0x54d799);}async[_0x134739(0xf0)](_0x42d9f,_0x2c4503){const _0x4fd510=_0x134739;return await this['_snapshotService'][_0x4fd510(0x106)](_0x42d9f,0x0,_0x2c4503)?(await this[_0x4fd510(0x12b)]['readyForCollab'](_0x42d9f),this[_0x4fd510(0x115)][_0x4fd510(0xf3)](_0x42d9f)):null;}[_0x134739(0x126)](_0x1b0dc1,_0x177e09){const _0x1a5528=_0x134739,_0x8989ec=this[_0x1a5528(0x10b)][_0x1a5528(0xf1)](_0x5ccb49[_0x1a5528(0x10f)])[_0x1a5528(0xff)](_0x1b0dc1)[_0x1a5528(0x10d)](_0x31eb18[_0x1a5528(0xfa)](_0x896199=>_0x896199[_0x1a5528(0xf9)]))[_0x1a5528(0xef)](_0x393f31=>_0x177e09(Array[_0x1a5528(0xf2)](_0x393f31[_0x1a5528(0x119)]())));return _0x57fb53[_0x1a5528(0xfc)](_0x8989ec);}[_0x134739(0x114)](){const _0x45cee4=_0x134739,_0x3f10ff=this[_0x45cee4(0xf5)][_0x45cee4(0x11a)]();if(!_0x3f10ff)return _0x5ccb49['CollaborationStatus'][_0x45cee4(0x109)];const _0x206235=this[_0x45cee4(0x12b)][_0x45cee4(0xf4)](_0x3f10ff[_0x45cee4(0x102)]());return _0x206235?_0x206235[_0x45cee4(0x120)]['status']:_0x5ccb49['CollaborationStatus']['NOT_COLLAB'];}},_0x220425[_0x134739(0x123)]=_0x750eac([_0x4d6ae3(0x1,_0x57fb53[_0x134739(0xed)](_0x57fb53[_0x134739(0xee)])),_0x4d6ae3(0x2,_0x57fb53[_0x134739(0x128)]),_0x4d6ae3(0x3,_0x57fb53[_0x134739(0xed)](_0x46c2fc[_0x134739(0x11f)])),_0x4d6ae3(0x4,_0x57fb53[_0x134739(0xed)](_0x5ccb49[_0x134739(0xfb)]))],_0x220425[_0x134739(0x123)]);class _0x12ee62 extends _0x4533cd['FUniver']{['getCollaboration'](){const _0x5c35c9=_0x134739;return this[_0x5c35c9(0x10b)][_0x5c35c9(0xea)](_0x220425[_0x5c35c9(0x123)],{'getUniverSheet':_0x35ad31=>this[_0x5c35c9(0xf3)](_0x35ad31)});}[_0x134739(0xf8)](_0x5500f7,_0x10bcae,_0x4c1163){const _0x3bd2ff=_0x134739;return this[_0x3bd2ff(0x10b)][_0x3bd2ff(0xf1)](_0x5ccb49['DataLoaderService'])[_0x3bd2ff(0x107)](_0x5500f7,_0x10bcae,_0x4c1163);}[_0x134739(0x101)](_0x2008df,_0x4cf1d4,_0x142c73){const _0x3bc6b1=_0x134739;return this[_0x3bc6b1(0x10b)][_0x3bc6b1(0xf1)](_0x5ccb49[_0x3bc6b1(0x121)])['loadUnitOfRevision'](_0x2008df,_0x4cf1d4,_0x142c73);}}_0x4533cd['FUniver'][_0x134739(0xec)](_0x12ee62),Object[_0x134739(0x105)](_0x220425,Symbol[_0x134739(0xfd)],{'value':_0x134739(0x129)});}));function _0x2512(_0xf1b537,_0x2cc4d0){_0xf1b537=_0xf1b537-0xe9;const _0x26c67a=_0x26c6();let _0x25120=_0x26c67a[_0xf1b537];return _0x25120;}function _0x26c6(){const _0x31a906=['134500wklnLO','object','11zBrBJg','getCollaborationStatus','_handler','UniverProCollaborationClient','CollaborationStatus','6bFyUsC','values','getFocusedUnit','rxjs','@univerjs-pro/collaboration','UniverProCollaboration','407315rKzCkF','SnapshotService','state','DataLoaderService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FCollaboration','4HCLSko','_snapshotService','subscribeCollaborators','7285524fsFfsM','IUniverInstanceService','Module','getOwnPropertyDescriptor','_collaborationController','13EJvkhS','FEnum','1957870bCZUfB','1520820DswxZO','10864twSYpu','createInstance','exports','extend','Inject','Injector','subscribe','loadSheetAsync','get','from','getUniverSheet','getCollabEntity','_univerInstanceService','10057GZntje','539kLmvQA','loadServerUnit','members$','switchMap','CollaborationController','toDisposable','toStringTag','FBase','waitForRoom$','loadActiveSheet','loadServerUnitOfRevision','getUnitId','6tKyQpL','amd','defineProperty','loadSheet','loadUnit','loadActiveSheetAsync','NOT_COLLAB','UniverProCollaborationClientFacade','_injector','UniverCore','pipe','@univerjs-pro/collaboration-client','MemberService','@univerjs/core/facade'];_0x26c6=function(){return _0x31a906;};return _0x26c6();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x533d(_0x4ec67e,_0x47615a){_0x4ec67e=_0x4ec67e-0x137;const _0x4307e5=_0x4307();let _0x533d60=_0x4307e5[_0x4ec67e];return _0x533d60;}(function(_0xd4c929,_0x4c3d3f){const _0x1cfcd5=_0x533d,_0x112dbf=_0xd4c929();while(!![]){try{const _0x48ea2a=-parseInt(_0x1cfcd5(0x363))/0x1*(-parseInt(_0x1cfcd5(0x199))/0x2)+parseInt(_0x1cfcd5(0x2fe))/0x3+parseInt(_0x1cfcd5(0x242))/0x4+-parseInt(_0x1cfcd5(0x27f))/0x5*(parseInt(_0x1cfcd5(0x17a))/0x6)+parseInt(_0x1cfcd5(0x3cf))/0x7*(parseInt(_0x1cfcd5(0x1f5))/0x8)+-parseInt(_0x1cfcd5(0x212))/0x9*(parseInt(_0x1cfcd5(0x32d))/0xa)+-parseInt(_0x1cfcd5(0x16c))/0xb;if(_0x48ea2a===_0x4c3d3f)break;else _0x112dbf['push'](_0x112dbf['shift']());}catch(_0x162cb6){_0x112dbf['push'](_0x112dbf['shift']());}}}(_0x4307,0x4e4df),function(_0x205670,_0xaa4a85){const _0x16aa22=_0x533d;typeof exports==_0x16aa22(0x2d8)&&typeof module<'u'?_0xaa4a85(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x16aa22(0x327)&&define[_0x16aa22(0x3e8)]?define([_0x16aa22(0x2e9),'react/jsx-runtime',_0x16aa22(0x29c),'@univerjs/core',_0x16aa22(0x1af),_0x16aa22(0x2b0),_0x16aa22(0x344),'react',_0x16aa22(0x209),_0x16aa22(0x185),'@univerjs/engine-render','@univerjs/network',_0x16aa22(0x216),_0x16aa22(0x202),_0x16aa22(0x213),_0x16aa22(0x256),'@univerjs/engine-formula','rxjs/operators',_0x16aa22(0x2a6)],_0xaa4a85):(_0x205670=typeof globalThis<'u'?globalThis:_0x205670||self,_0xaa4a85(_0x205670[_0x16aa22(0x397)]={},_0x205670[_0x16aa22(0x3b4)],_0x205670['UniverProCollaborationClient'],_0x205670[_0x16aa22(0x18b)],_0x205670['UniverUi'],_0x205670[_0x16aa22(0x2b0)],_0x205670[_0x16aa22(0x25d)],_0x205670[_0x16aa22(0x3b4)],_0x205670[_0x16aa22(0x286)],_0x205670[_0x16aa22(0x28e)],_0x205670[_0x16aa22(0x3cd)],_0x205670[_0x16aa22(0x2f7)],_0x205670[_0x16aa22(0x201)],_0x205670[_0x16aa22(0x33f)],_0x205670[_0x16aa22(0x254)],_0x205670[_0x16aa22(0x183)],_0x205670['UniverEngineFormula'],_0x205670[_0x16aa22(0x2b0)][_0x16aa22(0x3fc)],_0x205670[_0x16aa22(0x384)]));}(this,function(_0x44f94a,_0xfb03a,_0x792235,_0x4b903d,_0x109597,_0xdde2a6,_0x486dbb,_0x238001,_0x33e45c,_0x1901d9,_0x36ac30,_0x58c3fa,_0x809b8,_0x23d66c,_0x3810d3,_0x4c8112,_0x511fa6,_0x3a14cb,_0x4362f1){'use strict';const _0x151804=_0x533d;var _0x50376d=Object[_0x151804(0x163)],_0x389527=(_0x244681,_0x1e533b,_0x510d94)=>_0x1e533b in _0x244681?_0x50376d(_0x244681,_0x1e533b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x510d94}):_0x244681[_0x1e533b]=_0x510d94,_0x198f8a=(_0x4f6ac4,_0x57443d,_0xdabf2a)=>_0x389527(_0x4f6ac4,typeof _0x57443d!='symbol'?_0x57443d+'':_0x57443d,_0xdabf2a);function _0x51c0cd({ref:_0x17269c,..._0x416f3a}){const _0x4d9b3e=_0x151804,{icon:_0x2bc38f,id:_0x57ba11,className:_0x3f9bda,extend:_0x2aff11,..._0x5eeb01}=_0x416f3a,_0x4d153b=(_0x4d9b3e(0x37e)+_0x57ba11+'\x20'+(_0x3f9bda||''))[_0x4d9b3e(0x317)](),_0x3b893d=_0x238001[_0x4d9b3e(0x309)]('_'+_0x3c3b11());return _0x1c62e5(_0x2bc38f,''+_0x57ba11,{'defIds':_0x2bc38f[_0x4d9b3e(0x332)],'idSuffix':_0x3b893d[_0x4d9b3e(0x1df)]},{'ref':_0x17269c,'className':_0x4d153b,..._0x5eeb01},_0x2aff11);}function _0x1c62e5(_0x550ff2,_0x47b52f,_0xe1e65a,_0x2ddaf9,_0x4ea87b){const _0x5bd99d=_0x151804;return _0x238001[_0x5bd99d(0x239)](_0x550ff2[_0x5bd99d(0x28a)],{'key':_0x47b52f,..._0x1775dc(_0x550ff2,_0xe1e65a,_0x4ea87b),..._0x2ddaf9},(_0x2184ea(_0x550ff2,_0xe1e65a)['children']||[])[_0x5bd99d(0x2a2)]((_0x6b88a1,_0x146254)=>_0x1c62e5(_0x6b88a1,_0x47b52f+'-'+_0x550ff2[_0x5bd99d(0x28a)]+'-'+_0x146254,_0xe1e65a,void 0x0,_0x4ea87b)));}function _0x1775dc(_0x1a5489,_0x4a3622,_0x1e727a){const _0x14c13c=_0x151804,_0x44a469={..._0x1a5489['attrs']};_0x1e727a!=null&&_0x1e727a[_0x14c13c(0x39c)]&&_0x44a469[_0x14c13c(0x385)]===_0x14c13c(0x39c)&&(_0x44a469[_0x14c13c(0x385)]=_0x1e727a[_0x14c13c(0x39c)]),_0x1a5489[_0x14c13c(0x28a)]===_0x14c13c(0x1ce)&&_0x44a469['id']&&(_0x44a469['id']=_0x44a469['id']+_0x4a3622[_0x14c13c(0x367)]),Object[_0x14c13c(0x3e3)](_0x44a469)[_0x14c13c(0x293)](([_0x4f132e,_0x1a74e0])=>{const _0x14f3f3=_0x14c13c;_0x4f132e===_0x14f3f3(0x1ce)&&typeof _0x1a74e0==_0x14f3f3(0x15a)&&(_0x44a469[_0x4f132e]=_0x1a74e0[_0x14f3f3(0x2dd)](/url\(#(.*)\)/,'url(#$1'+_0x4a3622['idSuffix']+')'));});const {defIds:_0x359fad}=_0x4a3622;return!_0x359fad||_0x359fad[_0x14c13c(0x3e7)]===0x0||(_0x1a5489[_0x14c13c(0x28a)]===_0x14c13c(0x302)&&_0x44a469[_0x14c13c(0x197)]&&(_0x44a469['xlink:href']=_0x44a469[_0x14c13c(0x197)]+_0x4a3622[_0x14c13c(0x367)]),Object['entries'](_0x44a469)[_0x14c13c(0x293)](([_0x71fcdf,_0x38fca2])=>{const _0x20fada=_0x14c13c;typeof _0x38fca2==_0x20fada(0x15a)&&(_0x44a469[_0x71fcdf]=_0x38fca2[_0x20fada(0x2dd)](/url\(#(.*)\)/,_0x20fada(0x40c)+_0x4a3622[_0x20fada(0x367)]+')'));})),_0x44a469;}function _0x2184ea(_0x3aedf0,_0x479a83){const _0x570908=_0x151804;var _0x2dad87;const {defIds:_0x432ea2}=_0x479a83;return!_0x432ea2||_0x432ea2['length']===0x0?_0x3aedf0:_0x3aedf0['tag']===_0x570908(0x365)&&((_0x2dad87=_0x3aedf0['children'])!=null&&_0x2dad87[_0x570908(0x3e7)])?{..._0x3aedf0,'children':_0x3aedf0[_0x570908(0x18e)]['map'](_0x34b3ca=>typeof _0x34b3ca[_0x570908(0x21b)]['id']==_0x570908(0x15a)&&_0x432ea2&&_0x432ea2[_0x570908(0x36d)](_0x34b3ca[_0x570908(0x21b)]['id'])?{..._0x34b3ca,'attrs':{..._0x34b3ca[_0x570908(0x21b)],'id':_0x34b3ca[_0x570908(0x21b)]['id']+_0x479a83['idSuffix']}}:_0x34b3ca)}:_0x3aedf0;}function _0x3c3b11(){const _0x164f8f=_0x151804;return Math[_0x164f8f(0x258)]()[_0x164f8f(0x41b)](0x24)[_0x164f8f(0x40b)](0x2,0x8);}_0x51c0cd['displayName']=_0x151804(0x29b);const _0x53eabb={'tag':_0x151804(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x151804(0x287),'height':_0x151804(0x287)},'children':[{'tag':'g','attrs':{'clipPath':_0x151804(0x364)},'children':[{'tag':_0x151804(0x1fc),'attrs':{'stroke':_0x151804(0x26c),'d':_0x151804(0x2da),'strokeLinecap':_0x151804(0x1c8),'strokeLinejoin':_0x151804(0x1c8),'strokeWidth':1.2}}]},{'tag':_0x151804(0x365),'attrs':{},'children':[{'tag':_0x151804(0x23a),'attrs':{'id':_0x151804(0x16e)},'children':[{'tag':_0x151804(0x1fc),'attrs':{'fill':_0x151804(0x35e),'d':_0x151804(0x31e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x431690=_0x238001[_0x151804(0x36e)](function(_0xb5645e,_0x597bfa){const _0x24ed04=_0x151804;return _0x238001[_0x24ed04(0x239)](_0x51c0cd,Object[_0x24ed04(0x3e6)]({},_0xb5645e,{'id':_0x24ed04(0x3ad),'ref':_0x597bfa,'icon':_0x53eabb}));});_0x431690[_0x151804(0x318)]='OffLineIcon';const _0x19b909={'tag':_0x151804(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x151804(0x329),'width':_0x151804(0x287),'height':_0x151804(0x287)},'children':[{'tag':'g','attrs':{'clipPath':_0x151804(0x37d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x151804(0x1be),'strokeLinecap':'round','strokeLinejoin':_0x151804(0x1c8),'strokeWidth':1.2}}]},{'tag':_0x151804(0x365),'attrs':{},'children':[{'tag':_0x151804(0x23a),'attrs':{'id':_0x151804(0x3e4)},'children':[{'tag':'path','attrs':{'fill':_0x151804(0x35e),'d':_0x151804(0x31e),'transform':_0x151804(0x260)}}]}]}],'defIds':[_0x151804(0x3e4)]},_0x301947=_0x238001[_0x151804(0x36e)](function(_0x3e7994,_0x4185fb){const _0x55d5dc=_0x151804;return _0x238001[_0x55d5dc(0x239)](_0x51c0cd,Object[_0x55d5dc(0x3e6)]({},_0x3e7994,{'id':'on-line-icon','ref':_0x4185fb,'icon':_0x19b909}));});_0x301947[_0x151804(0x318)]='OnLineIcon';function _0x48e103(_0x51ab06){const _0xad379a=_0x151804;switch(_0x51ab06){case _0x792235[_0xad379a(0x17c)][_0xad379a(0x1e9)]:return _0xad379a(0x161);case _0x792235[_0xad379a(0x17c)]['CONFLICT']:return _0xad379a(0x22f);case _0x792235[_0xad379a(0x17c)][_0xad379a(0x1f0)]:return'collabStatus.fetchMiss';case _0x792235['CollaborationStatus'][_0xad379a(0x283)]:return _0xad379a(0x259);case _0x792235['CollaborationStatus'][_0xad379a(0x23f)]:case _0x792235[_0xad379a(0x17c)]['AWAITING_WITH_PENDING']:return _0xad379a(0x30b);case _0x792235[_0xad379a(0x17c)]['SYNCED']:case _0x792235[_0xad379a(0x17c)][_0xad379a(0x2e1)]:return _0xad379a(0x1c0);}}function _0x5f1a43(_0x2c9324){const _0xf116d=_0x151804,{status$:_0x379821}=_0x2c9324,_0x2213ce=_0x109597[_0xf116d(0x1a6)](_0x379821,_0x792235[_0xf116d(0x17c)][_0xf116d(0x283)]),_0x4d661d=_0x109597['useDependency'](_0x4b903d['LocaleService']),_0x5d330a=_0x109597[_0xf116d(0x17b)](_0x792235[_0xf116d(0x167)]),_0x546260=_0x2213ce!==_0x792235['CollaborationStatus'][_0xf116d(0x1e9)],_0x159d06=_0x4d661d['t'](_0x48e103(_0x2213ce)),_0x5df6a2=_0x546260?_0xfb03a[_0xf116d(0x2e6)](_0x301947,{}):_0xfb03a[_0xf116d(0x2e6)](_0x431690,{}),_0x4e257b=_0x238001[_0xf116d(0x158)](()=>{const _0x572561=_0xf116d;_0x546260||_0x5d330a[_0x572561(0x1d5)]();},[_0x546260,_0x5d330a]);function _0x1f91bb(){const _0x4f2aa3=_0xf116d;return _0xfb03a['jsxs'](_0x4f2aa3(0x388),{'className':'univer-flex\x20univer-items-center','onClick':_0x4e257b,'children':[_0xfb03a['jsx'](_0x4f2aa3(0x388),{'className':_0x486dbb['clsx'](_0x4f2aa3(0x2cb),{'univer-text-green-500':_0x546260,'univer-text-red-500':!_0x546260}),'children':_0x5df6a2}),_0xfb03a[_0x4f2aa3(0x2e6)]('div',{'className':_0x4f2aa3(0x413),'children':_0x159d06})]});}return _0x546260?_0x1f91bb():_0xfb03a['jsx'](_0x486dbb[_0xf116d(0x164)],{'title':_0x4d661d['t']('collab-client.tooltip.reconnect'),'children':_0x1f91bb()});}var _0x5a7322=Object[_0x151804(0x277)],_0x517187=(_0x2d158d,_0x1709f3,_0x2ad856,_0x4a5294)=>{const _0x143fd4=_0x151804;for(var _0x48a7f2=_0x4a5294>0x1?void 0x0:_0x4a5294?_0x5a7322(_0x1709f3,_0x2ad856):_0x1709f3,_0x341914=_0x2d158d[_0x143fd4(0x3e7)]-0x1,_0x465370;_0x341914>=0x0;_0x341914--)(_0x465370=_0x2d158d[_0x341914])&&(_0x48a7f2=_0x465370(_0x48a7f2)||_0x48a7f2);return _0x48a7f2;},_0x1ac339=(_0x26024a,_0x2ac476)=>(_0xc5b000,_0x272d17)=>_0x2ac476(_0xc5b000,_0x272d17,_0x26024a);_0x44f94a[_0x151804(0x2ce)]=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x21f586,_0x43945e,_0x4b0bd3,_0x5be000){const _0x1790f0=_0x151804;super(),_0x198f8a(this,_0x1790f0(0x251),new _0xdde2a6[(_0x1790f0(0x2f9))](_0x792235[_0x1790f0(0x17c)][_0x1790f0(0x283)])),(this['_univerInstanceService']=_0x21f586,this[_0x1790f0(0x410)]=_0x43945e,this[_0x1790f0(0x268)]=_0x4b0bd3,this[_0x1790f0(0x252)]=_0x5be000,this['_initStatusComponent'](),this[_0x1790f0(0x1dd)]());}[_0x151804(0x1dd)](){const _0x3e948c=_0x151804;this[_0x3e948c(0x2f8)](this[_0x3e948c(0x224)][_0x3e948c(0x414)][_0x3e948c(0x2cc)](_0xdde2a6[_0x3e948c(0x214)](()=>{const _0x4cf0c9=_0x3e948c,_0x479c41=this['_univerInstanceService'][_0x4cf0c9(0x265)]();return _0x479c41?this[_0x4cf0c9(0x268)]['getCollabEntity$'](_0x479c41[_0x4cf0c9(0x192)]()):_0xdde2a6['of'](null);}),_0xdde2a6['switchMap'](_0x403631=>_0x403631?_0x403631[_0x3e948c(0x2a0)]:_0xdde2a6['of'](_0x792235['CollaborationStatus']['NOT_COLLAB'])))[_0x3e948c(0x24d)](_0x17a2a6=>{const _0x4227df=_0x3e948c;this[_0x4227df(0x251)][_0x4227df(0x3ef)](_0x17a2a6);}));}[_0x151804(0x1c1)](){const _0x2eabef=_0x151804;this[_0x2eabef(0x2f8)](this[_0x2eabef(0x252)][_0x2eabef(0x218)](_0x109597['BuiltInUIPart'][_0x2eabef(0x16f)],()=>_0x109597[_0x2eabef(0x3f5)](_0x422b57({'status$':this[_0x2eabef(0x251)]['asObservable']()}),this[_0x2eabef(0x410)])));}},_0x44f94a[_0x151804(0x2ce)]=_0x517187([_0x1ac339(0x0,_0x4b903d[_0x151804(0x342)]),_0x1ac339(0x1,_0x4b903d['Inject'](_0x4b903d['Injector'])),_0x1ac339(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235['CollaborationController'])),_0x1ac339(0x3,_0x109597[_0x151804(0x15e)])],_0x44f94a[_0x151804(0x2ce)]);function _0x422b57(_0x1ea306){const {status$:_0xae0696}=_0x1ea306;return function(){const _0x170353=_0x533d;return _0xfb03a[_0x170353(0x2e6)](_0x5f1a43,{'status$':_0xae0696});};}const _0x1c59a7=_0x4b903d[_0x151804(0x412)]('uni.network.url-service');var _0x8c05f0=Object[_0x151804(0x277)],_0x4cebe7=(_0xa71761,_0x31b8a1,_0x1268d2,_0x373ec7)=>{const _0x2fc163=_0x151804;for(var _0x58bc65=_0x373ec7>0x1?void 0x0:_0x373ec7?_0x8c05f0(_0x31b8a1,_0x1268d2):_0x31b8a1,_0x3762a4=_0xa71761[_0x2fc163(0x3e7)]-0x1,_0x30b098;_0x3762a4>=0x0;_0x3762a4--)(_0x30b098=_0xa71761[_0x3762a4])&&(_0x58bc65=_0x30b098(_0x58bc65)||_0x58bc65);return _0x58bc65;},_0x3fa3f2=(_0x394b2e,_0x5205b1)=>(_0x18e66d,_0x1933c6)=>_0x5205b1(_0x18e66d,_0x1933c6,_0x394b2e);_0x44f94a[_0x151804(0x278)]=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x4973db,_0x274b87,_0x5e6e84,_0x4d922d,_0x294509){const _0x473d10=_0x151804;super(),this[_0x473d10(0x1da)]=_0x4973db,this[_0x473d10(0x338)]=_0x274b87,this[_0x473d10(0x1c6)]=_0x5e6e84,this[_0x473d10(0x3d0)]=_0x4d922d,_0x294509?_0x294509==null||_0x294509[_0x473d10(0x20f)]()[_0x473d10(0x39b)](()=>this['_init']()):(this['_logService'][_0x473d10(0x274)](_0x473d10(0x407),_0x473d10(0x200)),this[_0x473d10(0x1b2)]());}async[_0x151804(0x1b2)](){const _0x229487=_0x151804,_0x6e6b9c=this[_0x229487(0x1da)]['getParam'](_0x229487(0x330)),_0x49749b=this['_urlService'][_0x229487(0x3e9)](_0x229487(0x276)),_0x5ccd14=this[_0x229487(0x1da)][_0x229487(0x3e9)]('subunit');if(!_0x6e6b9c||!_0x49749b){this[_0x229487(0x338)]['debug'](_0x229487(0x407),_0x229487(0x20b));return;}const _0x5213f2=await this[_0x229487(0x3d0)][_0x229487(0x34f)](_0x6e6b9c,Number(_0x49749b),_0x5ccd14);_0x5213f2&&_0x5213f2 instanceof _0x4b903d[_0x229487(0x229)]&&this[_0x229487(0x3b7)](_0x5213f2);}async[_0x151804(0x3b7)](_0x18a8ba){const _0x3f4019=_0x151804;await this[_0x3f4019(0x325)](_0x18a8ba),_0x18a8ba['activeSheet$'][_0x3f4019(0x2cc)](_0xdde2a6[_0x3f4019(0x23e)](this['dispose$']))[_0x3f4019(0x24d)](_0x27b09c=>{const _0x46a9d5=_0x3f4019;_0x27b09c&&this[_0x46a9d5(0x409)](_0x27b09c);}),this[_0x3f4019(0x1da)][_0x3f4019(0x39d)]['pipe'](_0xdde2a6[_0x3f4019(0x23e)](this['dispose$']))[_0x3f4019(0x24d)](()=>this[_0x3f4019(0x325)](_0x18a8ba));}[_0x151804(0x409)](_0x2e125e,_0x47725c=!0x1){const _0x2e950f=_0x151804,_0x2cf3bf=this[_0x2e950f(0x1da)]['getParam'](_0x2e950f(0x420));_0x2e125e[_0x2e950f(0x1ed)]()!==_0x2cf3bf&&this[_0x2e950f(0x1da)]['setParam'](_0x2e950f(0x420),_0x2e125e[_0x2e950f(0x1ed)](),_0x47725c);}async[_0x151804(0x325)](_0x3918d2){const _0x44b049=_0x151804;var _0x39b33e;const _0xe41756=this['_urlService'][_0x44b049(0x3e9)](_0x44b049(0x420));if(!_0xe41756||!_0x3918d2[_0x44b049(0x3cc)](_0xe41756)){const _0x5e47ef=_0x3918d2[_0x44b049(0x1b3)]()[0x0],_0x1e507c=_0x3918d2['getSheetBySheetId'](_0x5e47ef);if(!_0x1e507c)return;this['_updateURLWithCurrentState'](_0x1e507c,!0x0),await this[_0x44b049(0x1c6)][_0x44b049(0x3fd)](_0x1901d9[_0x44b049(0x150)]['id'],{'unitId':_0x3918d2['getUnitId'](),'subUnitId':_0x5e47ef});return;}((_0x39b33e=_0x3918d2[_0x44b049(0x169)]())==null?void 0x0:_0x39b33e[_0x44b049(0x1ed)]())!==_0xe41756&&await this['_commandService'][_0x44b049(0x3fd)](_0x1901d9['SetWorksheetActivateCommand']['id'],{'unitId':_0x3918d2['getUnitId'](),'subUnitId':_0xe41756});}},_0x44f94a[_0x151804(0x278)]=_0x4cebe7([_0x3fa3f2(0x0,_0x1c59a7),_0x3fa3f2(0x1,_0x4b903d[_0x151804(0x1d4)]),_0x3fa3f2(0x2,_0x4b903d['ICommandService']),_0x3fa3f2(0x3,_0x4b903d['Inject'](_0x792235['DataLoaderService'])),_0x3fa3f2(0x4,_0x4b903d[_0x151804(0x1c4)](_0x33e45c['IRemoteInstanceService']))],_0x44f94a[_0x151804(0x278)]);var _0x54ac13=Object[_0x151804(0x277)],_0xe4b5de=(_0x4c9d3c,_0x519b99,_0x4066c7,_0xda8735)=>{const _0xb6e167=_0x151804;for(var _0x2cea79=_0xda8735>0x1?void 0x0:_0xda8735?_0x54ac13(_0x519b99,_0x4066c7):_0x519b99,_0x2b2564=_0x4c9d3c[_0xb6e167(0x3e7)]-0x1,_0x51b13d;_0x2b2564>=0x0;_0x2b2564--)(_0x51b13d=_0x4c9d3c[_0x2b2564])&&(_0x2cea79=_0x51b13d(_0x2cea79)||_0x2cea79);return _0x2cea79;},_0x922270=(_0x133a70,_0x3ea5ed)=>(_0xc1134e,_0x4d8a47)=>_0x3ea5ed(_0xc1134e,_0x4d8a47,_0x133a70);let _0x479999=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x1fe75e,_0x28f342){const _0x30b007=_0x151804;super(),this[_0x30b007(0x2bc)]=_0x1fe75e,this[_0x30b007(0x375)]=_0x28f342,this['_init']();}[_0x151804(0x1b2)](){const _0x523ce1=_0x151804,_0x1184f8=this;this[_0x523ce1(0x2f8)](this[_0x523ce1(0x2bc)][_0x523ce1(0x32f)]({'onBeforePasteImage':async _0x421807=>{const _0x5c7197=_0x523ce1,_0x231720=await _0x1184f8[_0x5c7197(0x375)][_0x5c7197(0x2c8)](_0x421807);return _0x231720?{'source':_0x231720[_0x5c7197(0x24e)],'imageSourceType':_0x231720[_0x5c7197(0x215)]}:null;}}));}};_0x479999=_0xe4b5de([_0x922270(0x0,_0x809b8[_0x151804(0x1b7)]),_0x922270(0x1,_0x23d66c['IImageIoService'])],_0x479999);const _0x3634fe=[_0x151804(0x18f),_0x151804(0x1db),_0x151804(0x40d),_0x151804(0x230),_0x151804(0x3f2),_0x151804(0x1a1)];class _0x2042e7 extends _0x4b903d[_0x151804(0x176)]{constructor(){const _0xd3cf12=_0x151804;super(...arguments),_0x198f8a(this,'_assignedColors',new Map()),_0x198f8a(this,_0xd3cf12(0x140),0x0);}['assignAColorForMemberID'](_0x16f472){const _0x405f42=_0x151804;if(this[_0x405f42(0x3c2)][_0x405f42(0x326)](_0x16f472))return this[_0x405f42(0x3c2)][_0x405f42(0x1a2)](_0x16f472);const _0x11b58d=_0x3634fe[this[_0x405f42(0x140)]];return this[_0x405f42(0x140)]=(this[_0x405f42(0x140)]+0x1)%_0x3634fe['length'],this[_0x405f42(0x3c2)][_0x405f42(0x2d7)](_0x16f472,_0x11b58d),_0x11b58d;}}function _0x3e3b6a(_0x520b66){const _0x454bf9=_0x151804;let _0x4b6b21='';for(const _0x297450 of _0x520b66){const {startOffset:_0x1a1dac,endOffset:_0x2b2fb0,isActive:_0x34f6e7,rangeType:_0xf61556,segmentId:_0x2f50df,segmentPage:_0x54f942}=_0x297450;_0x4b6b21[_0x454bf9(0x3e7)]&&(_0x4b6b21+=','),_0x4b6b21+=_0x1a1dac+':'+_0x2b2fb0+':'+(_0x34f6e7?'1':'0')+':'+_0xf61556+':'+_0x2f50df+':'+_0x54f942;}return _0x4b6b21;}function _0x524705(_0x52de8a){const _0x21ef59=_0x151804,_0x2245a8=_0x52de8a[_0x21ef59(0x3fe)](','),_0x4cecfc=[];for(const _0x573be5 of _0x2245a8){const [_0x4aaf5b,_0x2643a5,_0x33c38f,_0x38eae1,_0x5cdfd7,_0x1e3048]=_0x573be5[_0x21ef59(0x3fe)](':');_0x4cecfc[_0x21ef59(0x1eb)]({'startOffset':Number(_0x4aaf5b),'endOffset':Number(_0x2643a5),'collapsed':_0x4aaf5b===_0x2643a5,'isActive':_0x33c38f==='1','rangeType':_0x38eae1===_0x4b903d['DOC_RANGE_TYPE']['TEXT']?_0x4b903d[_0x21ef59(0x1f6)][_0x21ef59(0x190)]:_0x4b903d['DOC_RANGE_TYPE'][_0x21ef59(0x3dc)],'segmentId':typeof _0x5cdfd7==_0x21ef59(0x15a)?String(_0x5cdfd7):'','segmentPage':Number(_0x1e3048!=null?_0x1e3048:-0x1)});}return _0x4cecfc[_0x21ef59(0x1a3)](_0xaaf12f=>_0xaaf12f[_0x21ef59(0x1fd)])||(_0x4cecfc[0x0][_0x21ef59(0x1fd)]=!0x0),_0x4cecfc;}class _0x103d56 extends _0x4b903d[_0x151804(0x35d)]{constructor(){const _0x5da679=_0x151804;super(...arguments),_0x198f8a(this,_0x5da679(0x1a4),new _0xdde2a6[(_0x5da679(0x2f9))](null)),_0x198f8a(this,_0x5da679(0x2bb),this['_collabCursorState$'][_0x5da679(0x1a5)]());}[_0x151804(0x3d8)](_0x22e76a){const {unitID:_0x3c044d,memberID:_0x1ed431,textRanges:_0x48c0f1}=_0x22e76a,_0x4ebb7c=_0x3e3b6a(_0x48c0f1);if(_0x4ebb7c==='')return;const _0x22dc83={'unitID':_0x3c044d,'memberID':_0x1ed431,'selection':_0x4ebb7c};this['_collabCursorState$']['next'](_0x22dc83);}}var _0x126698=Object[_0x151804(0x277)],_0x537264=(_0x91b8b0,_0x67d8ca,_0x629d44,_0x39355e)=>{const _0x3e6720=_0x151804;for(var _0xe43cac=_0x39355e>0x1?void 0x0:_0x39355e?_0x126698(_0x67d8ca,_0x629d44):_0x67d8ca,_0xd468f0=_0x91b8b0[_0x3e6720(0x3e7)]-0x1,_0xee85e3;_0xd468f0>=0x0;_0xd468f0--)(_0xee85e3=_0x91b8b0[_0xd468f0])&&(_0xe43cac=_0xee85e3(_0xe43cac)||_0xe43cac);return _0xe43cac;},_0x4424dd=(_0x1527e4,_0x5ea11e)=>(_0x39602b,_0xea9f8)=>_0x5ea11e(_0x39602b,_0xea9f8,_0x1527e4);const _0x21deab=0x12c,_0xaed1ed=0x64;let _0xe1e1b0=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x1ce692,_0x1c50f6,_0x22c829,_0x2afd99,_0x26a03d,_0x4c2a51,_0x382e52,_0x52dfb6,_0x371870){const _0x188104=_0x151804;super(),_0x198f8a(this,_0x188104(0x263),!0x1),_0x198f8a(this,'_init',!0x1),_0x198f8a(this,'_cursorInfo$',new _0xdde2a6['BehaviorSubject'](new Map())),_0x198f8a(this,_0x188104(0x29f),this[_0x188104(0x282)][_0x188104(0x1a5)]()),_0x198f8a(this,_0x188104(0x1fe),new _0xdde2a6[(_0x188104(0x2f9))]([])),_0x198f8a(this,_0x188104(0x15c),this['_roomMembers$'][_0x188104(0x2cc)](_0xdde2a6[_0x188104(0x1c7)](_0x21deab))),_0x198f8a(this,_0x188104(0x2df),_0x4b903d[_0x188104(0x2ac)](_0x541da9=>{const _0xbf9622=_0x188104,_0x30cce3={'eventID':_0x3810d3[_0xbf9622(0x219)][_0xbf9622(0x2b1)],'data':{'unitID':this[_0xbf9622(0x36b)],'memberID':this[_0xbf9622(0x38b)][_0xbf9622(0x248)](),'selection':_0x3e3b6a(_0x541da9)}};this[_0xbf9622(0x38b)][_0xbf9622(0x3bb)](_0x30cce3,this[_0xbf9622(0x36b)]);},_0xaed1ed)),(this[_0x188104(0x36b)]=_0x1ce692,this[_0x188104(0x38b)]=_0x1c50f6,this[_0x188104(0x410)]=_0x22c829,this['_colorAssignService']=_0x2afd99,this['_memberService']=_0x26a03d,this[_0x188104(0x383)]=_0x4c2a51,this[_0x188104(0x21a)]=_0x382e52,this[_0x188104(0x224)]=_0x52dfb6,this[_0x188104(0x1c6)]=_0x371870);}get[_0x151804(0x1bf)](){const _0x24e2e5=_0x151804;return this['_cursorInfo$'][_0x24e2e5(0x313)]();}get[_0x151804(0x22b)](){const _0x25be5e=_0x151804;return this['_roomMembers$'][_0x25be5e(0x313)]();}[_0x151804(0x2b9)](){const _0x27ede6=_0x151804;super[_0x27ede6(0x2b9)](),this[_0x27ede6(0x282)][_0x27ede6(0x3ef)](new Map()),this[_0x27ede6(0x282)]['complete'](),this[_0x27ede6(0x1fe)][_0x27ede6(0x3ef)]([]),this[_0x27ede6(0x1fe)]['complete']();}['init'](){const _0x39cc71=_0x151804;this[_0x39cc71(0x1b2)]||(this['_init']=!0x0,this['_session'][_0x39cc71(0x1f4)][_0x39cc71(0x2cc)](_0xdde2a6['takeUntil'](this['dispose$']))['subscribe'](_0x3c67c1=>{const _0xeac753=_0x39cc71;_0x3c67c1===_0x792235[_0xeac753(0x226)]['ONLINE']?this[_0xeac753(0x191)]():this['_toggleOffline']();}),this[_0x39cc71(0x38b)][_0x39cc71(0x15b)][_0x39cc71(0x2cc)](_0xdde2a6[_0x39cc71(0x23e)](this[_0x39cc71(0x2ef)]))['subscribe'](_0x3c7ed1=>{const _0x187987=_0x39cc71,_0x46f9c2=_0x3c7ed1[_0x187987(0x2b7)];_0x46f9c2===_0x3810d3[_0x187987(0x219)][_0x187987(0x2b1)]&&this[_0x187987(0x193)](_0x3c7ed1),_0x46f9c2===_0x3810d3[_0x187987(0x219)][_0x187987(0x211)]&&this[_0x187987(0x2fc)](_0x3c7ed1);}),this[_0x39cc71(0x2f8)](this[_0x39cc71(0x1c6)][_0x39cc71(0x280)](_0x2d0d40=>{const _0x5171be=_0x39cc71,_0x1cbfb4=_0x2d0d40[_0x5171be(0x1cb)];_0x1cbfb4!=null&&this['_online']&&_0x2d0d40['id']===_0x4c8112[_0x5171be(0x2bf)]['id']&&_0x1cbfb4['unitId']===this['unitID']&&_0x1cbfb4[_0x5171be(0x262)]===!0x1&&_0x1cbfb4[_0x5171be(0x307)][_0x5171be(0x3e7)]>0x0&&this[_0x5171be(0x2df)](_0x1cbfb4['ranges']);})),this[_0x39cc71(0x383)][_0x39cc71(0x2bb)][_0x39cc71(0x2cc)](_0xdde2a6[_0x39cc71(0x23e)](this[_0x39cc71(0x2ef)]))['subscribe'](_0x135585=>{const _0x343366=_0x39cc71;if((_0x135585==null?void 0x0:_0x135585[_0x343366(0x36b)])!==this['unitID'])return;const _0x1a6daa={'eventID':_0x3810d3[_0x343366(0x219)][_0x343366(0x2b1)],'data':_0x135585};this['_onCursorUpdate'](_0x1a6daa);}),this[_0x39cc71(0x2f8)](this[_0x39cc71(0x1c6)][_0x39cc71(0x280)](_0x234c48=>{const _0x152615=_0x39cc71;if(_0x234c48['params']==null)return;const _0x5043f0=_0x234c48['params'];if(_0x234c48['id']!==_0x4c8112[_0x152615(0x220)]['id']||_0x5043f0['unitId']!==this[_0x152615(0x36b)])return;const _0x1198a1={'id':_0x152615(0x362),'params':_0x5043f0},_0xa0af04=this[_0x152615(0x1bf)];for(const [_0xd6ee14,_0x53ae57]of _0xa0af04){const _0x3ee3e0={'id':_0x152615(0x362),'params':{'unitId':this[_0x152615(0x36b)],'actions':null,'textRanges':_0x53ae57[_0x152615(0x307)]}},_0x14ab31=this[_0x152615(0x21a)][_0x152615(0x244)](_0x1198a1,_0x3ee3e0,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x14ab31))throw _0x14ab31['error'];_0xa0af04[_0x152615(0x2d7)](_0xd6ee14,{..._0x53ae57,'ranges':_0x14ab31[_0x152615(0x25b)][_0x152615(0x1cb)][_0x152615(0x173)]});}queueMicrotask(()=>{const _0x194ab8=_0x152615;this[_0x194ab8(0x282)]['next'](_0xa0af04);});})));}[_0x151804(0x193)](_0x466ce0){const _0x3b61b7=_0x151804;var _0x409c83,_0x1372e7;const {memberID:_0x391d04,selection:_0x5be557}=_0x466ce0[_0x3b61b7(0x40f)],_0x3087dd=_0x524705(_0x5be557),_0x4d8033=(_0x1372e7=(_0x409c83=this[_0x3b61b7(0x398)][_0x3b61b7(0x2a3)](this[_0x3b61b7(0x36b)],_0x391d04))==null?void 0x0:_0x409c83[_0x3b61b7(0x2d6)])!=null?_0x1372e7:'Unknown\x20user',_0x538979={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x391d04),'name':_0x4d8033,'ranges':_0x3087dd},_0x3b8e55=this[_0x3b61b7(0x1bf)];_0x3b8e55['set'](_0x391d04,_0x538979),this[_0x3b61b7(0x282)][_0x3b61b7(0x3ef)](_0x3b8e55);}[_0x151804(0x2fc)](_0x3af8dc){const _0x4a4b2a=_0x151804,{memberID:_0x194970}=_0x3af8dc[_0x4a4b2a(0x40f)],_0x1135cf=this[_0x4a4b2a(0x1bf)];_0x1135cf[_0x4a4b2a(0x312)](_0x194970),this[_0x4a4b2a(0x282)][_0x4a4b2a(0x3ef)](_0x1135cf);}[_0x151804(0x191)](){const _0x51b21e=_0x151804;var _0x2c7b87;if(this[_0x51b21e(0x263)]=!0x0,((_0x2c7b87=this[_0x51b21e(0x224)][_0x51b21e(0x265)]())==null?void 0x0:_0x2c7b87['getUnitId']())!==this[_0x51b21e(0x36b)])return;const _0xea468=this[_0x51b21e(0x410)][_0x51b21e(0x1a2)](_0x4c8112[_0x51b21e(0x22e)])['getDocRanges']();Array[_0x51b21e(0x373)](_0xea468)&&_0xea468[_0x51b21e(0x3e7)]>0x0&&this[_0x51b21e(0x2df)](_0xea468);}['_toggleOffline'](){const _0x26ee0b=_0x151804;this[_0x26ee0b(0x263)]=!0x1;}};_0xe1e1b0=_0x537264([_0x4424dd(0x2,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x4424dd(0x3,_0x4b903d['Inject'](_0x2042e7)),_0x4424dd(0x4,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x189)])),_0x4424dd(0x5,_0x4b903d[_0x151804(0x18d)](_0x103d56)),_0x4424dd(0x6,_0x3810d3[_0x151804(0x3aa)]),_0x4424dd(0x7,_0x4b903d[_0x151804(0x342)]),_0x4424dd(0x8,_0x4b903d[_0x151804(0x32e)])],_0xe1e1b0);var _0x1339dd=Object['getOwnPropertyDescriptor'],_0x922f35=(_0x4c2b17,_0x5787eb,_0x33d949,_0x1cf412)=>{const _0x12961d=_0x151804;for(var _0xb78287=_0x1cf412>0x1?void 0x0:_0x1cf412?_0x1339dd(_0x5787eb,_0x33d949):_0x5787eb,_0x15276f=_0x4c2b17[_0x12961d(0x3e7)]-0x1,_0x39fde6;_0x15276f>=0x0;_0x15276f--)(_0x39fde6=_0x4c2b17[_0x15276f])&&(_0xb78287=_0x39fde6(_0xb78287)||_0xb78287);return _0xb78287;},_0x234d1d=(_0x388ca3,_0xedea8a)=>(_0x174d89,_0xb9a648)=>_0xedea8a(_0x174d89,_0xb9a648,_0x388ca3);const _0x128971=0x12c,_0x27048d=0x64,_0x381cd8=()=>{let _0x777464=[],_0x2d8944=!0x1;return _0x325f0c=>{const _0x2ab2d4=_0x533d;_0x777464[_0x2ab2d4(0x1eb)](_0x325f0c),_0x2d8944||(_0x2d8944=!0x0,setTimeout(()=>{const _0x30709f=_0x2ab2d4;_0x777464[_0x30709f(0x293)](_0x5ca36e=>_0x5ca36e()),_0x777464=[],_0x2d8944=!0x1;}));};};let _0x4b2b97=class extends _0x4b903d['RxDisposable']{constructor(_0x3f0d19,_0x4feca9,_0x5300e5,_0x2c6915,_0x166e07,_0x4766b1,_0x4c816b,_0x440a62){const _0x156a83=_0x151804;super(),_0x198f8a(this,_0x156a83(0x263),!0x1),_0x198f8a(this,_0x156a83(0x1b2),!0x1),_0x198f8a(this,'_cursorInfo$',new _0xdde2a6['BehaviorSubject'](new Map())),_0x198f8a(this,'cursorInfo$',this[_0x156a83(0x282)][_0x156a83(0x1a5)]()),_0x198f8a(this,_0x156a83(0x1fe),new _0xdde2a6[(_0x156a83(0x2f9))]([])),_0x198f8a(this,_0x156a83(0x15c),this[_0x156a83(0x1fe)]['pipe'](_0xdde2a6[_0x156a83(0x1c7)](_0x128971))),_0x198f8a(this,_0x156a83(0x2df),_0x4b903d[_0x156a83(0x2ac)]((_0x4dd231,_0x29053f)=>{const _0x856193=_0x156a83,_0x38ef9d={'eventID':_0x3810d3['CollaborationEvent'][_0x856193(0x2b1)],'data':{'unitID':this[_0x856193(0x36b)],'memberID':this[_0x856193(0x38b)][_0x856193(0x248)](),'selection':_0x511fa6['serializeRangeWithSheet'](_0x4dd231,_0x29053f[_0x856193(0x2dc)])}};this['_session'][_0x856193(0x3bb)](_0x38ef9d,this[_0x856193(0x36b)]);},_0x27048d)),(this[_0x156a83(0x36b)]=_0x3f0d19,this[_0x156a83(0x38b)]=_0x4feca9,this[_0x156a83(0x410)]=_0x5300e5,this['_colorAssignService']=_0x2c6915,this[_0x156a83(0x398)]=_0x166e07,this['_univerInstanceService']=_0x4766b1,this[_0x156a83(0x1c6)]=_0x4c816b,this[_0x156a83(0x36f)]=_0x440a62);}get[_0x151804(0x1bf)](){const _0x13bce4=_0x151804;return this[_0x13bce4(0x282)][_0x13bce4(0x313)]();}get[_0x151804(0x22b)](){const _0x4f89ff=_0x151804;return this[_0x4f89ff(0x1fe)]['getValue']();}['dispose'](){const _0x576611=_0x151804;super['dispose'](),this[_0x576611(0x282)][_0x576611(0x3ef)](new Map()),this[_0x576611(0x282)][_0x576611(0x138)](),this['_roomMembers$'][_0x576611(0x3ef)]([]),this['_roomMembers$'][_0x576611(0x138)]();}[_0x151804(0x3b2)](){const _0x5a4ca1=_0x151804;this[_0x5a4ca1(0x1b2)]||(this[_0x5a4ca1(0x1b2)]=!0x0,this[_0x5a4ca1(0x38b)][_0x5a4ca1(0x1f4)][_0x5a4ca1(0x2cc)](_0xdde2a6[_0x5a4ca1(0x23e)](this[_0x5a4ca1(0x2ef)]))[_0x5a4ca1(0x24d)](_0x403c3f=>{const _0x230ae3=_0x5a4ca1;_0x403c3f===_0x792235[_0x230ae3(0x226)]['ONLINE']?this[_0x230ae3(0x191)]():this['_toggleOffline']();}),this[_0x5a4ca1(0x38b)][_0x5a4ca1(0x15b)]['pipe'](_0xdde2a6[_0x5a4ca1(0x23e)](this['dispose$']))[_0x5a4ca1(0x24d)](_0x405056=>{const _0x34eafc=_0x5a4ca1,_0x4f7eb1=_0x405056[_0x34eafc(0x2b7)];_0x4f7eb1===_0x3810d3[_0x34eafc(0x219)][_0x34eafc(0x2b1)]&&this['_onCursorUpdate'](_0x405056),_0x4f7eb1===_0x3810d3[_0x34eafc(0x219)]['USERS_LEAVE']&&this[_0x34eafc(0x2fc)](_0x405056);}),this[_0x5a4ca1(0x21d)](),this[_0x5a4ca1(0x2f8)](this['_commandService'][_0x5a4ca1(0x280)](_0x2bbdbe=>{const _0x43c52b=_0x5a4ca1;if(this['_online']&&_0x2bbdbe['id']===_0x1901d9['SetSelectionsOperation']['id']&&_0x2bbdbe['params'][_0x43c52b(0x1a9)]===this[_0x43c52b(0x36b)]){const _0x28c91c=_0x2bbdbe[_0x43c52b(0x1cb)];this[_0x43c52b(0x2df)](_0x28c91c[_0x43c52b(0x41e)],_0x28c91c[_0x43c52b(0x2ad)][0x0]);}})));}['_onCursorUpdate'](_0x1e11b9){const _0x9daf96=_0x151804;var _0x167801,_0x472850;const {memberID:_0x49794b,selection:_0x315b14}=_0x1e11b9[_0x9daf96(0x40f)],{sheetName:_0x2a7d11,range:_0x4187ce}=_0x511fa6[_0x9daf96(0x30a)](_0x315b14),_0x25cf1d={'name':(_0x472850=(_0x167801=this[_0x9daf96(0x398)]['getMember'](this[_0x9daf96(0x36b)],_0x49794b))==null?void 0x0:_0x167801[_0x9daf96(0x2d6)])!=null?_0x472850:_0x9daf96(0x24c),'range':this[_0x9daf96(0x145)](_0x2a7d11,_0x4187ce),'sheetID':_0x2a7d11,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x49794b),'selection':_0x315b14},_0x11afd0=this[_0x9daf96(0x1bf)];_0x11afd0[_0x9daf96(0x2d7)](_0x49794b,_0x25cf1d),this[_0x9daf96(0x282)][_0x9daf96(0x3ef)](_0x11afd0);}[_0x151804(0x2fc)](_0x48b2d8){const _0x3757e3=_0x151804,{memberID:_0x16fdef}=_0x48b2d8[_0x3757e3(0x40f)],_0x30e545=this['cursorInfo'];_0x30e545[_0x3757e3(0x312)](_0x16fdef),this[_0x3757e3(0x282)][_0x3757e3(0x3ef)](_0x30e545);}['_getMergeRange'](_0xfe78d9,_0x3ecf){const _0x44f9eb=_0x151804;var _0x392b5a,_0x11a20e;const _0x35a07d=(_0x11a20e=(_0x392b5a=this[_0x44f9eb(0x224)][_0x44f9eb(0x196)](this[_0x44f9eb(0x36b)]))==null?void 0x0:_0x392b5a[_0x44f9eb(0x3cc)](_0xfe78d9))==null?void 0x0:_0x11a20e[_0x44f9eb(0x271)]();return(_0x35a07d==null?void 0x0:_0x35a07d[_0x44f9eb(0x394)](_0x41846f=>_0x4b903d[_0x44f9eb(0x401)][_0x44f9eb(0x39a)](_0x41846f,_0x3ecf)))||_0x3ecf;}[_0x151804(0x21d)](){const _0x57e0fa=_0x151804,_0x5d5409=new _0x4b903d[(_0x57e0fa(0x156))](),_0x1330bb=_0x381cd8(),_0x1bde8f=()=>{const _0x4c02bd=_0x57e0fa;_0x5d5409[_0x4c02bd(0x2b9)]();const _0x5eeb03=(_0x4b478e,_0x3dd49a,_0x44deb1,_0x469564)=>{const _0x4fdfe2=_0x4c02bd;let _0x1de7ff=[];switch(_0x4b478e['id']){case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x37a)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x2de)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x38c)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x38e)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x175)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x343)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x25c)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x2f3)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x421)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x1e5)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)]['InsertRowCommandId']:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x314)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x2e0)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x208)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x166)]:{_0x1de7ff=_0x1901d9['handleIRemoveCol'](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x3ae)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x331)](_0x4b478e,_0x469564);break;}}const _0x5e10fe=_0x1901d9['runRefRangeMutations'](_0x1de7ff,_0x469564),_0x39bebd=this[_0x4fdfe2(0x1bf)][_0x4fdfe2(0x1a2)](_0x3dd49a);if(_0x39bebd&&_0x5e10fe){const _0x2a34a1={..._0x39bebd,'range':_0x5e10fe};this[_0x4fdfe2(0x1bf)][_0x4fdfe2(0x2d7)](_0x3dd49a,_0x2a34a1),_0x1330bb(()=>{const _0x1e0d50=_0x4fdfe2,_0x30e76e=this[_0x1e0d50(0x36f)][_0x1e0d50(0x2ba)](_0x5e10fe,_0x2b78e8=>(_0x30e76e[_0x1e0d50(0x2b9)](),_0x5eeb03(_0x2b78e8,_0x3dd49a,_0x44deb1,_0x5e10fe)));_0x5d5409[_0x1e0d50(0x14a)](_0x30e76e);});}return{'redos':[],'undos':[]};};this[_0x4c02bd(0x1bf)]['forEach']((_0x45cc1b,_0x52eac3)=>{const _0x233b8f=_0x4c02bd,{range:_0x2d1bf8,sheetID:_0x5f116d}=_0x45cc1b,_0xe59f29=this[_0x233b8f(0x36f)][_0x233b8f(0x2ba)](_0x2d1bf8,_0x2f576a=>(_0xe59f29['dispose'](),_0x5eeb03(_0x2f576a,_0x52eac3,_0x5f116d,_0x2d1bf8)));_0x5d5409['add'](_0xe59f29);});};this[_0x57e0fa(0x2f8)](_0x4b903d[_0x57e0fa(0x402)](this[_0x57e0fa(0x282)]['subscribe'](()=>{_0x1bde8f();})));}[_0x151804(0x191)](){const _0x141527=_0x151804;var _0x1998b5,_0xe736ac;if(this[_0x141527(0x263)]=!0x0,((_0x1998b5=this[_0x141527(0x224)][_0x141527(0x265)]())==null?void 0x0:_0x1998b5[_0x141527(0x192)]())!==this[_0x141527(0x36b)])return;const _0x5c6426=(_0xe736ac=this[_0x141527(0x410)][_0x141527(0x1a2)](_0x1901d9['SheetsSelectionsService'])[_0x141527(0x2d5)]())==null?void 0x0:_0xe736ac[0x0],_0x215c70=this['_univerInstanceService'][_0x141527(0x360)](_0x4b903d[_0x141527(0x198)]['UNIVER_SHEET'])[_0x141527(0x169)]();_0x5c6426&&_0x215c70&&this[_0x141527(0x2df)](_0x215c70[_0x141527(0x1ed)](),_0x5c6426);}[_0x151804(0x292)](){this['_online']=!0x1;}};_0x4b2b97=_0x922f35([_0x234d1d(0x2,_0x4b903d['Inject'](_0x4b903d[_0x151804(0x28d)])),_0x234d1d(0x3,_0x4b903d[_0x151804(0x18d)](_0x2042e7)),_0x234d1d(0x4,_0x4b903d['Inject'](_0x792235['MemberService'])),_0x234d1d(0x5,_0x4b903d[_0x151804(0x342)]),_0x234d1d(0x6,_0x4b903d['ICommandService']),_0x234d1d(0x7,_0x4b903d[_0x151804(0x18d)](_0x1901d9[_0x151804(0x1ee)]))],_0x4b2b97);var _0x4ea7b0=Object[_0x151804(0x277)],_0x19ba5c=(_0x3fe9b2,_0x1617b4,_0x5ddb25,_0x40aad5)=>{const _0x2c6d2a=_0x151804;for(var _0x3721ab=_0x40aad5>0x1?void 0x0:_0x40aad5?_0x4ea7b0(_0x1617b4,_0x5ddb25):_0x1617b4,_0x4f3481=_0x3fe9b2[_0x2c6d2a(0x3e7)]-0x1,_0x473ecb;_0x4f3481>=0x0;_0x4f3481--)(_0x473ecb=_0x3fe9b2[_0x4f3481])&&(_0x3721ab=_0x473ecb(_0x3721ab)||_0x3721ab);return _0x3721ab;},_0x5b5a62=(_0x3acbd8,_0x483ca0)=>(_0x2d3554,_0x57f9fd)=>_0x483ca0(_0x2d3554,_0x57f9fd,_0x3acbd8);let _0x8fdf50=class extends _0x4b903d['RxDisposable']{constructor(_0x122faa,_0x31a3b6,_0x30991d){const _0x4aebbd=_0x151804;super(),_0x198f8a(this,_0x4aebbd(0x2ea),new Map()),_0x198f8a(this,'_entityInit$',new _0xdde2a6['Subject']()),(this[_0x4aebbd(0x224)]=_0x122faa,this[_0x4aebbd(0x410)]=_0x31a3b6,this['_collabSessionService']=_0x30991d,this['_init']());}['dispose'](){const _0x345322=_0x151804;super['dispose'](),this[_0x345322(0x142)][_0x345322(0x138)](),this['_entities']['forEach'](_0x5d8b32=>_0x5d8b32[_0x345322(0x2b9)]());}[_0x151804(0x28c)](_0x2c6173){const _0x59d842=_0x151804;return this[_0x59d842(0x2ea)][_0x59d842(0x326)](_0x2c6173)?this['_entities']['get'](_0x2c6173)[_0x59d842(0x29f)]:this[_0x59d842(0x142)]['pipe'](_0xdde2a6[_0x59d842(0x182)](_0x22f9aa=>_0x22f9aa[_0x59d842(0x36b)]===_0x2c6173),_0xdde2a6['switchMap'](_0x5ee953=>_0x5ee953[_0x59d842(0x29f)]));}[_0x151804(0x1b2)](){const _0x46753b=_0x151804;this['_univerInstanceService'][_0x46753b(0x408)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x21f)])[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x23e)](this[_0x46753b(0x2ef)]))[_0x46753b(0x24d)](async _0x4ca33e=>{const _0x10a97b=_0x46753b,_0x11e9fe=_0x4ca33e['getUnitId'](),_0x20c858=await this[_0x10a97b(0x415)](_0x11e9fe);this['_entityInit$'][_0x10a97b(0x3ef)](_0x20c858),this[_0x10a97b(0x2ea)]['set'](_0x11e9fe,_0x20c858);}),this[_0x46753b(0x224)][_0x46753b(0x408)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x1b9)])[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x23e)](this[_0x46753b(0x2ef)]))[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x182)](_0x16c882=>!_0x16c882['getUnitId']()['startsWith']('__')))[_0x46753b(0x24d)](async _0x3324f8=>{const _0x57db11=_0x46753b,_0x48b584=_0x3324f8[_0x57db11(0x192)](),_0x51363c=await this[_0x57db11(0x1bb)](_0x48b584);this['_entityInit$'][_0x57db11(0x3ef)](_0x51363c),this[_0x57db11(0x2ea)][_0x57db11(0x2d7)](_0x48b584,_0x51363c);}),_0xdde2a6[_0x46753b(0x30e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x1b9)]),this[_0x46753b(0x224)][_0x46753b(0x2ca)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x21f)]))[_0x46753b(0x2cc)](_0xdde2a6['takeUntil'](this[_0x46753b(0x2ef)]))['subscribe'](_0x287c36=>{const _0x2bba80=_0x46753b,_0x3b811a=_0x287c36[_0x2bba80(0x192)](),_0x1906af=this[_0x2bba80(0x2ea)][_0x2bba80(0x1a2)](_0x3b811a);_0x1906af&&(_0x1906af['dispose'](),this['_entities'][_0x2bba80(0x312)](_0x3b811a));});}async[_0x151804(0x415)](_0x17ffbc){const _0x10cb83=_0x151804,_0x230928=await this[_0x10cb83(0x3e1)]['requireSession'](_0x17ffbc),_0x532afa=this[_0x10cb83(0x410)][_0x10cb83(0x37c)](_0x4b2b97,_0x17ffbc,_0x230928);return _0x532afa[_0x10cb83(0x3b2)](),_0x532afa;}async[_0x151804(0x1bb)](_0x3c80b0){const _0x319167=_0x151804,_0x1bce1d=await this[_0x319167(0x3e1)]['requireSession'](_0x3c80b0),_0xe0d034=this['_injector'][_0x319167(0x37c)](_0xe1e1b0,_0x3c80b0,_0x1bce1d);return _0xe0d034['init'](),_0xe0d034;}};_0x8fdf50=_0x19ba5c([_0x5b5a62(0x0,_0x4b903d['IUniverInstanceService']),_0x5b5a62(0x1,_0x4b903d['Inject'](_0x4b903d['Injector'])),_0x5b5a62(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x167)]))],_0x8fdf50);const _0x167404=0x14,_0x51a030=0xc8,_0x435d0b=0x4,_0x52f54a=0x5;function _0x4ddd1c(_0x1f6446,_0x51468c){const _0x6353e=_0x151804;let {radius:_0x4072f3,width:_0x35c7e8,height:_0x3bb318}=_0x51468c;_0x4072f3=_0x4072f3!=null?_0x4072f3:0x0,_0x35c7e8=_0x35c7e8!=null?_0x35c7e8:0x1e,_0x3bb318=_0x3bb318!=null?_0x3bb318:0x1e;let _0x2658a3=0x0,_0x160211=0x0,_0x3a5ec9=0x0;_0x2658a3=_0x160211=_0x3a5ec9=Math[_0x6353e(0x1cd)](_0x4072f3,_0x35c7e8/0x2,_0x3bb318/0x2),_0x1f6446['beginPath'](),_0x1f6446[_0x6353e(0x3cb)](_0x2658a3,0x0),_0x1f6446[_0x6353e(0x250)](_0x35c7e8-_0x160211,0x0),_0x1f6446['arc'](_0x35c7e8-_0x160211,_0x160211,_0x160211,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f6446['lineTo'](_0x35c7e8,_0x3bb318-_0x3a5ec9),_0x1f6446['arc'](_0x35c7e8-_0x3a5ec9,_0x3bb318-_0x3a5ec9,_0x3a5ec9,0x0,Math['PI']/0x2,!0x1),_0x1f6446['lineTo'](0x0,_0x3bb318),_0x1f6446[_0x6353e(0x250)](0x0,_0x2658a3),_0x1f6446['arc'](_0x2658a3,_0x2658a3,_0x2658a3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f6446[_0x6353e(0x231)](),_0x51468c[_0x6353e(0x385)]&&(_0x1f6446[_0x6353e(0x1d2)](),_0x1f6446[_0x6353e(0x235)]=_0x51468c[_0x6353e(0x385)],_0x51468c[_0x6353e(0x2c9)]==='evenodd'?_0x1f6446[_0x6353e(0x385)](_0x6353e(0x253)):_0x1f6446['fill'](),_0x1f6446[_0x6353e(0x160)]());}class _0x15c6f5 extends _0x36ac30[_0x151804(0x162)]{constructor(_0x4cb956,_0xcf942){const _0x2c39f4=_0x151804;super(_0x4cb956,_0xcf942),_0x198f8a(this,'color'),_0x198f8a(this,_0x2c39f4(0x3ee)),(this['color']=_0xcf942==null?void 0x0:_0xcf942[_0x2c39f4(0x1cf)],this[_0x2c39f4(0x3ee)]=_0xcf942==null?void 0x0:_0xcf942[_0x2c39f4(0x3ee)]);}static[_0x151804(0x2a4)](_0x382d98,_0x355e45){const _0x31ec77=_0x151804,{text:_0x1985a3,color:_0x1ecbbb}=_0x355e45;_0x382d98['save'](),_0x382d98[_0x31ec77(0x26b)]=_0x31ec77(0x392);const _0x50f954=_0x382d98[_0x31ec77(0x3f4)](_0x1985a3)['width'],_0x12b761=Math[_0x31ec77(0x1cd)](_0x50f954+0x2*_0x435d0b,_0x51a030);_0x4ddd1c(_0x382d98,{'height':_0x167404,'radius':0x4,'width':_0x12b761,'fill':_0x1ecbbb}),_0x382d98[_0x31ec77(0x235)]=_0x31ec77(0x3a6);const _0x2289b7=_0x435d0b,_0x207c38=_0x167404-_0x52f54a,_0x4e993b=_0x51a030-0x2*_0x435d0b;if(_0x50f954>_0x4e993b){let _0x13ff58='',_0x3d38f2=0x0;for(const _0x271c41 of _0x1985a3){const _0x5d2dc6=_0x382d98['measureText'](_0x271c41)['width'];if(_0x3d38f2+_0x5d2dc6<=_0x4e993b-_0x382d98[_0x31ec77(0x3f4)](_0x31ec77(0x261))['width'])_0x13ff58+=_0x271c41,_0x3d38f2+=_0x5d2dc6;else{_0x13ff58+=_0x31ec77(0x261);break;}}_0x382d98[_0x31ec77(0x23b)](_0x13ff58,_0x2289b7,_0x207c38);}else _0x382d98[_0x31ec77(0x23b)](_0x1985a3,_0x2289b7,_0x207c38);_0x382d98['restore']();}[_0x151804(0x324)](_0x120217){const _0x9595e4=_0x151804;_0x15c6f5[_0x9595e4(0x2a4)](_0x120217,this);}}const _0x4713d0=_0x151804(0x154),_0xd887ec=_0x151804(0x34e),_0x3ed5c0='collab-rect-range-',_0x4676e9=0x6,_0x354497=1.5,_0x1b1ec9=0x4,_0x3be6aa=1.5,_0x16c755=_0x151804(0x1e7);class _0xc1fbc{constructor(_0x1845d1,_0x43662b,_0x14b8aa,_0x10c727){const _0x4cf6f3=_0x151804;_0x198f8a(this,'_shapes',[]),_0x198f8a(this,_0x4cf6f3(0x180),null),_0x198f8a(this,_0x4cf6f3(0x146),null),_0x198f8a(this,_0x4cf6f3(0x2c1),null),_0x198f8a(this,'_hideTimer',null),_0x198f8a(this,_0x4cf6f3(0x299),null),(this[_0x4cf6f3(0x1e8)]=_0x1845d1,this[_0x4cf6f3(0x13a)]=_0x43662b,this['_docSkeleton']=_0x14b8aa,this[_0x4cf6f3(0x27d)]=_0x10c727,this[_0x4cf6f3(0x319)]());}set[_0x151804(0x349)](_0x3a79e8){const _0x2cd21a=_0x151804;_0x3a79e8?(this[_0x2cd21a(0x2c1)]&&this[_0x2cd21a(0x2c1)]['hide'](),this[_0x2cd21a(0x146)]&&this['_textBubble'][_0x2cd21a(0x2d4)]()):(this[_0x2cd21a(0x2c1)]&&this[_0x2cd21a(0x2c1)][_0x2cd21a(0x2d4)](),this[_0x2cd21a(0x146)]&&this['_textBubble'][_0x2cd21a(0x17e)]());}[_0x151804(0x2b9)](){const _0x4a798c=_0x151804;for(const _0x398d4d of this['_shapes'])_0x398d4d[_0x4a798c(0x2b9)]();this[_0x4a798c(0x146)]&&this['_textBubble'][_0x4a798c(0x2b9)](),this[_0x4a798c(0x2c1)]&&this[_0x4a798c(0x2c1)][_0x4a798c(0x2b9)](),this['_anchor']&&this[_0x4a798c(0x180)]['dispose'](),this[_0x4a798c(0x299)]&&this[_0x4a798c(0x299)]();}[_0x151804(0x319)](){const _0x2b20fd=_0x151804;var _0x508f56;const {_docSkeleton:_0x115474,_document:_0x503544}=this,{color:_0x5c42ca,name:_0x3f9b06,ranges:_0x143411}=this[_0x2b20fd(0x1e8)],_0xc6f19b=_0x503544[_0x2b20fd(0x418)](),{docsLeft:_0xad75c4,docsTop:_0x30a8c0}=_0xc6f19b,_0x174016=new _0x809b8[(_0x2b20fd(0x350))](_0xc6f19b,_0x115474);for(const {startOffset:_0x2ccd77,endOffset:_0x3eaf2e,rangeType:_0x164cd3,segmentId:_0x325462,segmentPage:_0x1a0d0d,collapsed:_0x11ad65,isActive:_0x5d570f}of _0x143411){const _0x5c0345=_0x115474[_0x2b20fd(0x3a4)](_0x2ccd77,!0x0,_0x325462,_0x1a0d0d);let _0x25f4b0=_0x115474['findNodePositionByCharIndex'](_0x3eaf2e,!0x0,_0x325462,_0x1a0d0d);if(_0x25f4b0==null&&(_0x25f4b0=_0x115474[_0x2b20fd(0x3a4)](_0x3eaf2e-0x1,!0x1,_0x325462,_0x1a0d0d)),_0x5d570f){const {contentBoxPointGroup:_0x2b6dff}=_0x174016['getRangePointData'](_0x25f4b0,_0x25f4b0);if(_0x2b6dff[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x31d)](_0x5c42ca,_0x2b6dff,_0xad75c4,_0x30a8c0,_0x3f9b06),this[_0x2b20fd(0x299)]=this[_0x2b20fd(0x17f)]();}if(_0x5c0345&&_0x25f4b0){if(_0x164cd3===_0x4b903d[_0x2b20fd(0x1f6)]['RECT']){const _0x6e7bd3=new _0x809b8[(_0x2b20fd(0x1de))](_0xc6f19b,_0x115474),{pointGroup:_0xf88919}=(_0x508f56=_0x6e7bd3[_0x2b20fd(0x37b)](_0x5c0345,_0x25f4b0))!=null?_0x508f56:{};if(_0xf88919==null||_0xf88919[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x1ab)](_0x5c42ca,_0xf88919,_0xad75c4,_0x30a8c0);}else{if(!_0x11ad65){const {borderBoxPointGroup:_0x566b2c}=_0x174016[_0x2b20fd(0x37b)](_0x5c0345,_0x25f4b0);if(_0x566b2c[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x1e0)](_0x5c42ca,_0x566b2c,_0xad75c4,_0x30a8c0);}}}}}['_drawAnchor'](_0x8f3274,_0xcad356,_0x17361c,_0x357361,_0xfb19c0){const _0x215c2c=_0x151804,_0x1f9a4b=this[_0x215c2c(0x345)](_0xcad356),{left:_0x3eea0a,top:_0x13b910,height:_0x3ffc}=_0x1f9a4b,_0x1fc936=this['_getScale'](),_0x48a2ad=_0x3be6aa/_0x1fc936,_0x5640aa=new _0x36ac30[(_0x215c2c(0x243))](_0x4713d0+_0x4b903d[_0x215c2c(0x24b)](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361,'height':_0x3ffc,'width':_0x354497,'fill':_0x8f3274||_0x36ac30[_0x215c2c(0x2aa)](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'strokeWidth':_0x48a2ad,'stroke':_0x16c755,'evented':!0x0});this['_anchor']=_0x5640aa,this[_0x215c2c(0x13a)][_0x215c2c(0x289)](_0x5640aa,_0x809b8[_0x215c2c(0x2f4)]);const _0x4dd750=new _0x36ac30[(_0x215c2c(0x243))](_0x4713d0+_0x4b903d['generateRandomId'](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361-_0x1b1ec9/0x2,'height':_0x1b1ec9,'width':_0x1b1ec9,'fill':_0x8f3274||_0x36ac30[_0x215c2c(0x2aa)](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'strokeWidth':0x0,'stroke':_0x8f3274||_0x36ac30['getColor'](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'evented':!0x1});this[_0x215c2c(0x2c1)]=_0x4dd750,this[_0x215c2c(0x13a)]['addObject'](_0x4dd750,_0x809b8[_0x215c2c(0x2f4)]);const _0x3536b3=new _0x15c6f5(_0x4713d0+_0x4b903d[_0x215c2c(0x24b)](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361-_0x167404,'text':_0xfb19c0,'color':_0x8f3274});this[_0x215c2c(0x146)]=_0x3536b3,this[_0x215c2c(0x13a)]['addObject'](_0x3536b3,_0x809b8[_0x215c2c(0x2f4)]),this['_hover']=!0x1;}['_handleHover'](){const _0xf0b697=_0x151804,_0x3afdbd=this[_0xf0b697(0x180)][_0xf0b697(0x357)][_0xf0b697(0x20e)](()=>{const _0x291a5b=_0xf0b697;this[_0x291a5b(0x349)]=!0x0;}),_0x1038cb=this[_0xf0b697(0x180)][_0xf0b697(0x35a)][_0xf0b697(0x20e)](()=>{const _0x1afc3f=_0xf0b697;this['_hideTimer']&&clearTimeout(this[_0x1afc3f(0x3ba)]),this[_0x1afc3f(0x3ba)]=setTimeout(()=>{const _0x376335=_0x1afc3f;this[_0x376335(0x349)]=!0x1;},0x7d0);});return()=>{const _0x46c887=_0xf0b697;_0x3afdbd['unsubscribe'](),_0x1038cb[_0x46c887(0x1ca)]();};}[_0x151804(0x1e0)](_0x5b98ff,_0x50ffbe,_0x8c617a,_0x172c3a){const _0x17e589=_0x151804,_0x314c84=new _0x4b903d['ColorKit'](_0x5b98ff)[_0x17e589(0x3f7)](0.2)[_0x17e589(0x246)](),_0x4eb79d=new _0x36ac30['RegularPolygon'](_0xd887ec+_0x4b903d[_0x17e589(0x24b)](_0x4676e9),{'pointsGroup':_0x50ffbe,'fill':_0x314c84||_0x36ac30[_0x17e589(0x2aa)](_0x4b903d[_0x17e589(0x291)][_0x17e589(0x1ef)],0.2),'left':_0x8c617a,'top':_0x172c3a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x17e589(0x34a)][_0x17e589(0x1eb)](_0x4eb79d),this[_0x17e589(0x13a)][_0x17e589(0x289)](_0x4eb79d,_0x809b8[_0x17e589(0x2f4)]);}[_0x151804(0x1ab)](_0x349a00,_0x1b6681,_0x13f569,_0x3ebbdb){const _0x191759=_0x151804,_0x28b5e5=new _0x4b903d[(_0x191759(0x35f))](_0x349a00)[_0x191759(0x3f7)](0.2)[_0x191759(0x246)](),_0xddd236=new _0x36ac30[(_0x191759(0x23c))](_0x3ed5c0+_0x4b903d['generateRandomId'](_0x4676e9),{'pointsGroup':_0x1b6681,'fill':_0x28b5e5||_0x36ac30[_0x191759(0x2aa)](_0x4b903d[_0x191759(0x291)][_0x191759(0x1ef)],0.2),'left':_0x13f569,'top':_0x3ebbdb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x191759(0x34a)]['push'](_0xddd236),this[_0x191759(0x13a)]['addObject'](_0xddd236,_0x809b8[_0x191759(0x2f4)]);}[_0x151804(0x345)](_0xbf6b6a){const _0x4e1103=_0xbf6b6a[0x0],_0x8c8899=_0x4e1103[0x0],_0x2bd041=_0x4e1103[0x2],{x:_0x307534,y:_0x144959}=_0x8c8899,{x:_0x545149,y:_0x46eead}=_0x2bd041;return{'left':_0x307534,'top':_0x144959,'width':_0x545149-_0x307534,'height':_0x46eead-_0x144959};}[_0x151804(0x341)](){const _0x2d8c78=_0x151804,{scaleX:_0x426088,scaleY:_0x2d71f3}=this['_scene'][_0x2d8c78(0x3f3)]();return Math[_0x2d8c78(0x386)](_0x426088,_0x2d71f3);}}var _0x1ca2fa=Object['getOwnPropertyDescriptor'],_0x394d3f=(_0x295841,_0x321067,_0x39b61a,_0x349131)=>{const _0x40b787=_0x151804;for(var _0x4b14dd=_0x349131>0x1?void 0x0:_0x349131?_0x1ca2fa(_0x321067,_0x39b61a):_0x321067,_0x1da662=_0x295841[_0x40b787(0x3e7)]-0x1,_0x34a29b;_0x1da662>=0x0;_0x1da662--)(_0x34a29b=_0x295841[_0x1da662])&&(_0x4b14dd=_0x34a29b(_0x4b14dd)||_0x4b14dd);return _0x4b14dd;},_0x1ccf69=(_0x5e271e,_0x3fa8e8)=>(_0xf01f6e,_0x175f29)=>_0x3fa8e8(_0xf01f6e,_0x175f29,_0x5e271e);let _0x3e9cd4=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x252915,_0x1c8ea1,_0x5ba69a,_0x5a1e59,_0x1008f1){const _0x235a00=_0x151804;super(),_0x198f8a(this,_0x235a00(0x323),[]),_0x198f8a(this,_0x235a00(0x249),[]),(this[_0x235a00(0x13b)]=_0x252915,this[_0x235a00(0x34b)]=_0x1c8ea1,this[_0x235a00(0x2eb)]=_0x5ba69a,this[_0x235a00(0x1c6)]=_0x5a1e59,this['_themeService']=_0x1008f1,this[_0x235a00(0x1b2)]());}['_init'](){const _0x1d4242=_0x151804,_0x2b4c37=this[_0x1d4242(0x13b)]['unitId'],_0x2c0c41=this[_0x1d4242(0x34b)];this[_0x1d4242(0x2f8)](_0xdde2a6[_0x1d4242(0x1ad)]([this[_0x1d4242(0x2eb)][_0x1d4242(0x28c)](_0x2b4c37),this[_0x1d4242(0x3a2)][_0x1d4242(0x168)]])[_0x1d4242(0x2cc)](_0x3a14cb[_0x1d4242(0x2a2)](([_0x434d03,_0x47179f])=>({'skeleton':_0x2c0c41[_0x1d4242(0x39e)](),'cursors':[..._0x434d03[_0x1d4242(0x27b)]()][_0x1d4242(0x1c9)](_0x4b5c18=>({..._0x4b5c18,'color':this['_themeService']['getColorFromTheme'](_0x4b5c18['color'])}))})))[_0x1d4242(0x24d)](_0x27c74a=>{const _0x1e9114=_0x1d4242;if(this[_0x1e9114(0x266)](),_0x27c74a){const {skeleton:_0xe49e98,cursors:_0x29df90}=_0x27c74a;this[_0x1e9114(0x417)](_0xe49e98,_0x29df90);}})),this[_0x1d4242(0x41a)](),this[_0x1d4242(0x390)]();}[_0x151804(0x417)](_0x4f300f,_0x495c0c){const _0x4f2e3d=_0x151804,{scene:_0x2b14ec,mainComponent:_0x1c8431}=this[_0x4f2e3d(0x13b)],_0x2be250=_0x495c0c[_0x4f2e3d(0x2a2)](_0xf14b8d=>new _0xc1fbc(_0xf14b8d,_0x2b14ec,_0x4f300f,_0x1c8431));this['_cursorShapes']=_0x2be250,this['_cursors']=_0x495c0c;}[_0x151804(0x334)](){const _0x4298e6=_0x151804;this[_0x4298e6(0x266)]();const {scene:_0x66e33d,mainComponent:_0x3a6490}=this[_0x4298e6(0x13b)],_0x1a6966=this['_docSkeletonManagerService'][_0x4298e6(0x39e)](),_0x50672f=this[_0x4298e6(0x249)][_0x4298e6(0x2a2)](_0xfb0b1b=>new _0xc1fbc(_0xfb0b1b,_0x66e33d,_0x1a6966,_0x3a6490));this[_0x4298e6(0x323)]=_0x50672f;}[_0x151804(0x266)](){const _0x6b500=_0x151804;this['_cursorShapes'][_0x6b500(0x293)](_0x11f33c=>_0x11f33c['dispose']()),this[_0x6b500(0x323)]=[];}[_0x151804(0x390)](){const _0x457570=_0x151804,_0xb02e59=[_0x809b8[_0x457570(0x295)]['id']];this[_0x457570(0x2f8)](this[_0x457570(0x1c6)][_0x457570(0x280)](_0xe0c73a=>{const _0x30b61a=_0x457570;_0xb02e59[_0x30b61a(0x36d)](_0xe0c73a['id'])&&_0xe0c73a[_0x30b61a(0x1cb)]['unitId']===this[_0x30b61a(0x13b)][_0x30b61a(0x1a9)]&&this[_0x30b61a(0x334)]();}));}['_initResize'](){const _0xb22a53=_0x151804;this['disposeWithMe'](_0x4b903d[_0xb22a53(0x26d)](this[_0xb22a53(0x13b)]['engine'][_0xb22a53(0x3ec)])[_0xb22a53(0x2cc)](_0x3a14cb[_0xb22a53(0x182)](_0x19fd8d=>_0x19fd8d[_0xb22a53(0x276)]===_0x36ac30[_0xb22a53(0x31f)][_0xb22a53(0x2a7)]),_0x3a14cb[_0xb22a53(0x217)](0x10))[_0xb22a53(0x24d)](()=>{const _0x2cfea6=_0xb22a53;this[_0x2cfea6(0x334)]();}));}};_0x3e9cd4=_0x394d3f([_0x1ccf69(0x1,_0x4b903d['Inject'](_0x4c8112[_0x151804(0x3c3)])),_0x1ccf69(0x2,_0x4b903d[_0x151804(0x18d)](_0x8fdf50)),_0x1ccf69(0x3,_0x4b903d['ICommandService']),_0x1ccf69(0x4,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3ce)]))],_0x3e9cd4);const _0x49c0d0=0x1,_0x27c342=1.5;class _0x105416 extends _0x36ac30[_0x151804(0x162)]{constructor(_0x2c97de,_0x3ce2e9){const _0x43dc38=_0x151804;super(_0x2c97de,_0x3ce2e9),_0x198f8a(this,'_color'),_0x198f8a(this,'_hovered',!0x1),_0x198f8a(this,_0x43dc38(0x3c1)),_0x198f8a(this,_0x43dc38(0x2cf),''),_0x198f8a(this,'_labelPosition','top'),_0x198f8a(this,'_backgroundColor'),(_0x3ce2e9&&this[_0x43dc38(0x2c2)](_0x3ce2e9),this[_0x43dc38(0x357)][_0x43dc38(0x20e)](()=>this[_0x43dc38(0x2c2)]({'hovered':!0x0})),this[_0x43dc38(0x35a)][_0x43dc38(0x20e)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x406739){const _0x1563e1=_0x151804;var _0x1c2612,_0x276ea2,_0x183984,_0x215ef1,_0xfa84f3,_0x2fb473;this[_0x1563e1(0x3c5)]=(_0x1c2612=_0x406739['color'])!=null?_0x1c2612:this[_0x1563e1(0x3c5)],this[_0x1563e1(0x1bd)]=(_0x276ea2=_0x406739[_0x1563e1(0x3d6)])!=null?_0x276ea2:this[_0x1563e1(0x1bd)],this[_0x1563e1(0x3c1)]=(_0x183984=_0x406739[_0x1563e1(0x2dc)])!=null?_0x183984:this['_range'],this['_name']=(_0x215ef1=_0x406739[_0x1563e1(0x2d6)])!=null?_0x215ef1:this['_name'],this[_0x1563e1(0x179)]=(_0xfa84f3=_0x406739[_0x1563e1(0x2e3)])!=null?_0xfa84f3:this[_0x1563e1(0x179)],this[_0x1563e1(0x3e0)]=(_0x2fb473=_0x406739[_0x1563e1(0x36a)])!=null?_0x2fb473:this['_backgroundColor'],this[_0x1563e1(0x3af)]({'width':_0x406739[_0x1563e1(0x355)],'height':_0x406739[_0x1563e1(0x247)]});}[_0x151804(0x353)](_0x12b3d5){const _0x47dfc8=_0x151804,{row:_0x51213a,column:_0x3321f0}=_0x12b3d5;if(_0x51213a>=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x1d9)]&&_0x51213a<=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x1f8)]&&_0x3321f0>=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x15d)]&&_0x3321f0<=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x294)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x151804(0x13e)](_0x2dd481){return!0x1;}[_0x151804(0x324)](_0x4689e6){const _0x13fa7a=_0x151804;_0x36ac30[_0x13fa7a(0x243)][_0x13fa7a(0x2a4)](_0x4689e6,{'width':this['width'],'height':this[_0x13fa7a(0x247)],'strokeWidth':_0x27c342,'stroke':this[_0x13fa7a(0x3c5)],'evented':!0x1,'fill':this[_0x13fa7a(0x3e0)]}),this[_0x13fa7a(0x1bd)]&&(_0x4689e6[_0x13fa7a(0x1d2)](),_0x4689e6[_0x13fa7a(0x3f6)](0x1,0x0,0x0,0x1,this[_0x13fa7a(0x355)],this[_0x13fa7a(0x179)]===_0x13fa7a(0x33d)?0x0:-_0x167404),_0x15c6f5[_0x13fa7a(0x2a4)](_0x4689e6,{'text':this[_0x13fa7a(0x2cf)],'color':this['_color']}),_0x4689e6[_0x13fa7a(0x160)]());}}var _0x2abc87=Object['getOwnPropertyDescriptor'],_0x4a5579=(_0x4b9b66,_0x23e776,_0x529207,_0x287adc)=>{for(var _0x151cf4=_0x287adc>0x1?void 0x0:_0x287adc?_0x2abc87(_0x23e776,_0x529207):_0x23e776,_0x2b61c0=_0x4b9b66['length']-0x1,_0x2a7aea;_0x2b61c0>=0x0;_0x2b61c0--)(_0x2a7aea=_0x4b9b66[_0x2b61c0])&&(_0x151cf4=_0x2a7aea(_0x151cf4)||_0x151cf4);return _0x151cf4;},_0x37de3b=(_0x23a192,_0x906d73)=>(_0x1eaa92,_0x268872)=>_0x906d73(_0x1eaa92,_0x268872,_0x23a192);const _0x340cbe=0x1389;let _0x3481bc=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x950eb6,_0x2a7e12,_0x5bf512,_0x2d83c6){const _0x2cbf72=_0x151804;super(),_0x198f8a(this,_0x2cbf72(0x249),new Set()),_0x198f8a(this,_0x2cbf72(0x405),null),(this[_0x2cbf72(0x13b)]=_0x950eb6,this[_0x2cbf72(0x19c)]=_0x2a7e12,this[_0x2cbf72(0x2eb)]=_0x5bf512,this[_0x2cbf72(0x3a2)]=_0x2d83c6,this['_init']());}[_0x151804(0x1b2)](){const _0x40e611=_0x151804;this[_0x40e611(0x19c)][_0x40e611(0x1ea)][_0x40e611(0x2cc)](_0x3a14cb[_0x40e611(0x23e)](this[_0x40e611(0x2ef)]),_0x3a14cb['switchMap'](_0x127bf8=>{const _0x250c19=_0x40e611;if(_0x127bf8){const _0x2b63e7=_0x127bf8[_0x250c19(0x2b2)];return _0xdde2a6[_0x250c19(0x1ad)](this['_collabCursorController'][_0x250c19(0x28c)](this[_0x250c19(0x13b)][_0x250c19(0x1a9)]),this['_themeService'][_0x250c19(0x168)])[_0x250c19(0x2cc)](_0x3a14cb[_0x250c19(0x2a2)](([_0x4089c7,_0x6eba7c])=>{const _0x405613=_0x250c19,_0x1c82f4=new Map();return _0x4089c7[_0x405613(0x293)]((_0x441356,_0x4e3d13)=>{const _0x454bac=_0x405613;if(_0x441356[_0x454bac(0x3d3)]===_0x2b63e7){const _0x3351d0={..._0x441356};_0x3351d0[_0x454bac(0x1cf)]=this['_themeService'][_0x454bac(0x33e)](_0x441356[_0x454bac(0x1cf)]),_0x1c82f4[_0x454bac(0x2d7)](_0x4e3d13,_0x3351d0);}}),{'skeleton':_0x127bf8,'cursors':_0x1c82f4};}));}return _0xdde2a6['of']({'skeleton':null,'cursors':new Map()});}))[_0x40e611(0x24d)](({skeleton:_0x22ee56,cursors:_0x38d121})=>{const _0xe077e2=_0x40e611;this[_0xe077e2(0x266)](),_0x22ee56&&this[_0xe077e2(0x417)](_0x22ee56,_0x38d121);}),this[_0x40e611(0x19c)][_0x40e611(0x1ea)]['subscribe'](_0x4ff1ca=>{const _0x19ca23=_0x40e611;if(_0x4ff1ca==null)return;const {skeleton:_0x31c4dc}=_0x4ff1ca,{scene:_0x7a711d}=this['_context'];_0x7a711d['onPointerMove$']['subscribeEvent'](_0x4b903d[_0x19ca23(0x2ac)](_0x4ef36b=>{const _0x5bcd4f=_0x19ca23;var _0x5b07de,_0x53c19e;const {offsetX:_0x82c3ba,offsetY:_0x262db8}=_0x4ef36b,{x:_0x1ae050,y:_0x184f99}=_0x7a711d[_0x5bcd4f(0x300)](_0x36ac30['Vector2'][_0x5bcd4f(0x411)]([_0x82c3ba,_0x262db8])),{scaleX:_0x23801c,scaleY:_0x5a6196}=_0x7a711d[_0x5bcd4f(0x3f3)](),_0x30e215=_0x7a711d[_0x5bcd4f(0x1ba)](_0x36ac30[_0x5bcd4f(0x3a3)]['VIEW_MAIN']),_0x58ae44=_0x7a711d[_0x5bcd4f(0x369)](_0x36ac30['Vector2']['FromArray']([_0x1ae050,_0x184f99]),_0x30e215),_0x50da3d=_0x31c4dc[_0x5bcd4f(0x3e2)](_0x82c3ba,_0x262db8,_0x23801c,_0x5a6196,_0x58ae44);((_0x5b07de=this[_0x5bcd4f(0x405)])==null?void 0x0:_0x5b07de['column'])===_0x50da3d[_0x5bcd4f(0x206)]&&((_0x53c19e=this[_0x5bcd4f(0x405)])==null?void 0x0:_0x53c19e[_0x5bcd4f(0x2c4)])===_0x50da3d[_0x5bcd4f(0x2c4)]||this[_0x5bcd4f(0x249)][_0x5bcd4f(0x293)](_0x25ab19=>{const _0x340042=_0x5bcd4f;_0x25ab19[_0x340042(0x353)](_0x50da3d);});},0x64));});}[_0x151804(0x417)](_0x5b8d40,_0x4cb8b6){const _0xe8736c=_0x151804;var _0x54d14d;const _0x48b309=(_0x54d14d=this[_0xe8736c(0x19c)][_0xe8736c(0x3f0)]())==null?void 0x0:_0x54d14d[_0xe8736c(0x2d1)];if(!_0x48b309)return;const _0x2c4999=this[_0xe8736c(0x3be)]();if(!_0x2c4999)return;this[_0xe8736c(0x249)][_0xe8736c(0x293)](_0x275884=>{const _0x29441e=_0xe8736c;_0x275884[_0x29441e(0x315)]();});const {scene:_0x253dda}=_0x2c4999,_0x2bfaf3=_0x3df09c(Array['from'](_0x4cb8b6[_0xe8736c(0x27b)]()))[_0xe8736c(0x2a2)](_0x1c6bf6=>{const _0x45f969=_0xe8736c,{color:_0x9227ed,range:_0xb9a04b,name:_0x1ed242,selection:_0x196d86,sheetID:_0x23f9b8}=_0x1c6bf6,{startColumn:_0x5dcbbe,startRow:_0x7af52d,endColumn:_0x1dfd94,endRow:_0x48710c}=_0xb9a04b,_0x3b5e7a=_0x4362f1['getCoordByCell'](_0x7af52d,_0x5dcbbe,_0x253dda,_0x48b309),_0x547053=_0x4362f1[_0x45f969(0x1d6)](_0x48710c,_0x1dfd94,_0x253dda,_0x48b309),{columnHeaderHeightAndMarginTop:_0x334c5f}=_0x48b309,{startX:_0x4f0090,startY:_0x1d5539}=_0x3b5e7a,{endX:_0x17b657,endY:_0x1b0480}=_0x547053,_0x1576d7=_0x17b657-_0x4f0090,_0x332894=_0x1b0480-_0x1d5539,_0x5c70df={'labelPosition':_0x1d5539-_0x334c5f>=_0x167404?'top':_0x45f969(0x33d),'sheetID':_0x23f9b8,'range':_0xb9a04b,'color':_0x9227ed,'name':_0x1ed242,'selection':_0x196d86,'left':_0x4f0090,'top':_0x1d5539,'width':_0x1576d7,'height':_0x332894,'evented':!0x1,'zIndex':_0x340cbe};return new _0x105416(_0x1ed242,_0x5c70df);});_0x253dda[_0xe8736c(0x3d2)](_0x2bfaf3,_0x49c0d0),this[_0xe8736c(0x249)]=new Set(_0x2bfaf3);}[_0x151804(0x266)](){const _0x5802d9=_0x151804;var _0xfef0a7;(_0xfef0a7=this[_0x5802d9(0x249)])==null||_0xfef0a7[_0x5802d9(0x293)](_0x448285=>_0x448285['dispose']());}[_0x151804(0x3be)](){const _0x4099f7=_0x151804;return _0x4362f1[_0x4099f7(0x1e3)](this[_0x4099f7(0x13b)][_0x4099f7(0x330)],this[_0x4099f7(0x13b)]);}};_0x3481bc=_0x4a5579([_0x37de3b(0x1,_0x4b903d[_0x151804(0x18d)](_0x4362f1['SheetSkeletonManagerService'])),_0x37de3b(0x2,_0x4b903d[_0x151804(0x18d)](_0x8fdf50)),_0x37de3b(0x3,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3ce)]))],_0x3481bc);function _0x3df09c(_0x164d7d){const _0x19430d=_0x151804,_0x56f620=new Map();return _0x164d7d[_0x19430d(0x293)](_0x1cdec8=>{const _0x4a0b46=_0x19430d;if(_0x56f620[_0x4a0b46(0x326)](_0x1cdec8[_0x4a0b46(0x2af)])){const _0x348488=_0x56f620[_0x4a0b46(0x1a2)](_0x1cdec8[_0x4a0b46(0x2af)]);_0x348488[_0x4a0b46(0x2d6)]+=',\x20'+_0x1cdec8[_0x4a0b46(0x2d6)];}else _0x56f620[_0x4a0b46(0x2d7)](_0x1cdec8[_0x4a0b46(0x2af)],_0x1cdec8);}),Array[_0x19430d(0x2bd)](_0x56f620[_0x19430d(0x27b)]());}var _0x1c45b9=Object[_0x151804(0x277)],_0x174f35=(_0x321099,_0x283f0a,_0x1a8fdb,_0x183133)=>{for(var _0x4b7541=_0x183133>0x1?void 0x0:_0x183133?_0x1c45b9(_0x283f0a,_0x1a8fdb):_0x283f0a,_0x186712=_0x321099['length']-0x1,_0x51621e;_0x186712>=0x0;_0x186712--)(_0x51621e=_0x321099[_0x186712])&&(_0x4b7541=_0x51621e(_0x4b7541)||_0x4b7541);return _0x4b7541;},_0x5c2120=(_0x1956e7,_0x281960)=>(_0x3a0349,_0x485c2b)=>_0x281960(_0x3a0349,_0x485c2b,_0x1956e7);let _0x492873=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x147ab3,_0x5e5e6b,_0x5af092,_0x4beaaf,_0x906691,_0x504ffe){const _0x27d472=_0x151804;super(),this[_0x27d472(0x3b9)]=_0x147ab3,this[_0x27d472(0x306)]=_0x5e5e6b,this[_0x27d472(0x225)]=_0x5af092,this['_messageService']=_0x4beaaf,this[_0x27d472(0x2e4)]=_0x906691,this[_0x27d472(0x304)]=_0x504ffe,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x151804(0x3f8)](){const _0x3e9026=_0x151804;this['disposeWithMe'](this[_0x3e9026(0x3b9)][_0x3e9026(0x1b8)](()=>{const _0x4352c8=_0x3e9026;if(this[_0x4352c8(0x306)][_0x4352c8(0x1fb)]['size'])return this['_localeService']['t'](_0x4352c8(0x3db));}));}[_0x151804(0x336)](){const _0x47c7a7=_0x151804;this['disposeWithMe'](this[_0x47c7a7(0x225)][_0x47c7a7(0x15b)]['subscribe'](_0x35afb6=>{const _0x429e5a=_0x47c7a7;_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x393)]&&this['_messageService'][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t']('collaboration.single-unit.warning')}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)]['CLOSE_ROOM']&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x1f7))}),_0x35afb6['id']===_0x792235['CollaborationUIEventId'][_0x429e5a(0x328)]&&this[_0x429e5a(0x2e4)]['show']({'title':this[_0x429e5a(0x304)]['t']('permission.title'),'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x207)),'type':_0x429e5a(0x2ff),'duration':0x0}),_0x35afb6['id']===_0x792235['CollaborationUIEventId'][_0x429e5a(0x41c)]&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x2a1)],'content':this['_localeService']['t'](_0x429e5a(0x1f7))+'('+_0x35afb6[_0x429e5a(0x40f)]+')'}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x25f)]&&this['_messageService']['show']({'type':_0x486dbb[_0x429e5a(0x3c4)]['Warning'],'content':this[_0x429e5a(0x304)]['t'](_0x35afb6[_0x429e5a(0x40f)]||'')}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x16d)]&&this['_messageService'][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x27e))}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x396)]&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)]['Error'],'content':this['_localeService']['t'](_0x429e5a(0x14c))}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x486dbb[_0x429e5a(0x3c4)]['Error'],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x492873=_0x174f35([_0x5c2120(0x0,_0x109597['IBeforeCloseService']),_0x5c2120(0x1,_0x792235['ILocalCacheService']),_0x5c2120(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x34c)])),_0x5c2120(0x3,_0x109597[_0x151804(0x1e1)]),_0x5c2120(0x4,_0x109597[_0x151804(0x2f2)]),_0x5c2120(0x5,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3de)]))],_0x492873);var _0x2a1ed3=Object[_0x151804(0x277)],_0x1d1b2c=(_0x4ef4e5,_0x4cf192,_0x211590,_0x5e1455)=>{const _0x21f337=_0x151804;for(var _0x59ba27=_0x5e1455>0x1?void 0x0:_0x5e1455?_0x2a1ed3(_0x4cf192,_0x211590):_0x4cf192,_0xa3275b=_0x4ef4e5[_0x21f337(0x3e7)]-0x1,_0x5e367e;_0xa3275b>=0x0;_0xa3275b--)(_0x5e367e=_0x4ef4e5[_0xa3275b])&&(_0x59ba27=_0x5e367e(_0x59ba27)||_0x59ba27);return _0x59ba27;},_0x503f65=(_0x3bf4f2,_0xdb85b9)=>(_0x45ef27,_0x26471b)=>_0xdb85b9(_0x45ef27,_0x26471b,_0x3bf4f2);let _0x48fc71=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x3b41eb,_0xd74649,_0xe3a714,_0x2cad09){const _0x118129=_0x151804;super(),_0x198f8a(this,_0x118129(0x391)),(this[_0x118129(0x410)]=_0x3b41eb,this[_0x118129(0x3b3)]=_0xd74649,this[_0x118129(0x338)]=_0xe3a714,this[_0x118129(0x16b)]=_0x2cad09,this[_0x118129(0x1b2)]());}['_init'](){const _0x2ee006=_0x151804;this['_initWindowErrorListener'](),this[_0x2ee006(0x399)](),this[_0x2ee006(0x404)](),this[_0x2ee006(0x269)]();}['_initUserListener'](){const _0x4cf586=_0x151804;this[_0x4cf586(0x2f8)](this['_collaborationSessionService']['socket$'][_0x4cf586(0x24d)](_0x3ce960=>{const _0x5d9fb1=_0x4cf586;this[_0x5d9fb1(0x391)]=_0x3ce960==null?void 0x0:_0x3ce960[_0x5d9fb1(0x19b)];}));}[_0x151804(0x19f)](){const _0x191ab9=_0x151804,_0x37e98f=_0x45d830=>{const _0xfda7d1=_0x533d;var _0x114485;this['_uploadLog'](_0xfda7d1(0x2ff),_0xfda7d1(0x1ec)+_0x45d830[_0xfda7d1(0x3d7)]+'\x20at\x20'+_0x45d830['filename']+':'+_0x45d830[_0xfda7d1(0x2b4)]+':'+_0x45d830[_0xfda7d1(0x370)]+'\x0a'+(((_0x114485=_0x45d830[_0xfda7d1(0x2ff)])==null?void 0x0:_0x114485[_0xfda7d1(0x3b5)])||''));};window[_0x191ab9(0x3bc)](_0x191ab9(0x2ff),_0x37e98f),this['disposeWithMe'](()=>{const _0x323870=_0x191ab9;window[_0x323870(0x2b3)](_0x323870(0x2ff),_0x37e98f);});}[_0x151804(0x399)](){const _0x3104b5=_0x151804,_0x3209a0=_0x35e05f=>{const _0x12fbd1=_0x533d;this['_uploadLog']('error',_0x12fbd1(0x172)+_0x35e05f[_0x12fbd1(0x1d8)]);};window[_0x3104b5(0x3bc)](_0x3104b5(0x371),_0x3209a0),this[_0x3104b5(0x2f8)](()=>{const _0x342b28=_0x3104b5;window[_0x342b28(0x2b3)]('unhandledrejection',_0x3209a0);});}[_0x151804(0x404)](){const _0x1e03b2=_0x151804,_0x2b433f=this['_logService'][_0x1e03b2(0x2ff)]['bind'](this[_0x1e03b2(0x338)]);this[_0x1e03b2(0x338)][_0x1e03b2(0x2ff)]=(..._0x389c7a)=>{const _0x15458d=_0x1e03b2,_0x304aa6=_0x389c7a[_0x15458d(0x2a2)](_0x4c3dc4=>_0x4c3dc4 instanceof Error?_0x4c3dc4[_0x15458d(0x3d7)]+'\x0a'+_0x4c3dc4[_0x15458d(0x3b5)]:String(_0x4c3dc4))[_0x15458d(0x3eb)]('\x20');this[_0x15458d(0x3bf)]('error',_0x15458d(0x3ab)+_0x304aa6),_0x2b433f(..._0x389c7a);},this[_0x1e03b2(0x2f8)](()=>{const _0x1df2ec=_0x1e03b2;this[_0x1df2ec(0x338)][_0x1df2ec(0x2ff)]=_0x2b433f;});}['_uploadLog'](_0x48597e,_0x4d9f50){const _0x11199a=_0x151804;try{const _0x5c70fa={'userId':this[_0x11199a(0x391)],'logLabel':_0x48597e,'content':_0x4d9f50};this[_0x11199a(0x3b3)][_0x11199a(0x257)]('/universer-api/frontend/logs',{'body':_0x5c70fa})[_0x11199a(0x255)](()=>{});}catch{}}};_0x48fc71=_0x1d1b2c([_0x503f65(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d['Injector'])),_0x503f65(0x1,_0x4b903d[_0x151804(0x18d)](_0x58c3fa[_0x151804(0x3f1)])),_0x503f65(0x2,_0x4b903d[_0x151804(0x1d4)]),_0x503f65(0x3,_0x4b903d['Inject'](_0x792235[_0x151804(0x167)]))],_0x48fc71);const _0x58e469='collaboration-client-ui.config',_0x6daa16={};var _0x308a00=Object[_0x151804(0x277)],_0x2a40f0=(_0x5a1fb3,_0xaf07fb,_0xe90649,_0x2e5f0f)=>{const _0x4fcd69=_0x151804;for(var _0x140fbd=_0x2e5f0f>0x1?void 0x0:_0x2e5f0f?_0x308a00(_0xaf07fb,_0xe90649):_0xaf07fb,_0x3a6c1f=_0x5a1fb3[_0x4fcd69(0x3e7)]-0x1,_0x4e1cab;_0x3a6c1f>=0x0;_0x3a6c1f--)(_0x4e1cab=_0x5a1fb3[_0x3a6c1f])&&(_0x140fbd=_0x4e1cab(_0x140fbd)||_0x140fbd);return _0x140fbd;},_0x5c4100=(_0x5b6cb1,_0xc57ebf)=>(_0x46c9b8,_0xec1398)=>_0xc57ebf(_0x46c9b8,_0xec1398,_0x5b6cb1);let _0x37eb54=class{constructor(_0x59e9e2,_0x307412){const _0x42908b=_0x151804;this[_0x42908b(0x21a)]=_0x59e9e2,this[_0x42908b(0x3bd)]=_0x307412;}[_0x151804(0x419)](_0x55dc0){const _0x241947=_0x151804;this[_0x241947(0x22d)](_0x55dc0),this[_0x241947(0x240)](_0x55dc0);}[_0x151804(0x2f5)](_0x2d3cf9){const _0x2c3563=_0x151804,{unitID:_0x179b3b}=_0x2d3cf9,_0xe0cebc=this[_0x2c3563(0x3bd)][_0x2c3563(0x32a)](_0x179b3b)[_0x2c3563(0x1b6)](_0x809b8[_0x2c3563(0x204)]),{redoCache:_0x56dd4c}=_0xe0cebc[_0x2c3563(0x18a)]();if(_0x56dd4c['length']===0x0)return _0x2d3cf9;let _0x42dad4=_0x4b903d[_0x2c3563(0x395)]['deepClone'](_0x2d3cf9['mutations'][0x0]);for(let _0x5c14e4=0x0;_0x5c14e4<_0x56dd4c[_0x2c3563(0x3e7)];_0x5c14e4++){const _0x11ff6b={'id':_0x2c3563(0x362),'params':{..._0x56dd4c[_0x5c14e4]}},_0x2b41a8=this[_0x2c3563(0x21a)][_0x2c3563(0x244)](_0x42dad4,_0x11ff6b,!0x1);if(_0x3810d3[_0x2c3563(0x3c9)](_0x2b41a8))throw _0x2b41a8[_0x2c3563(0x2ff)];_0x42dad4=_0x2b41a8[_0x2c3563(0x1a8)];}return{..._0x4b903d[_0x2c3563(0x395)][_0x2c3563(0x3ed)](_0x2d3cf9),'mutations':[_0x42dad4]};}[_0x151804(0x22d)](_0x2c292f){const _0x345908=_0x151804,{unitID:_0x47f65f}=_0x2c292f,_0x4ae1c2=this['_renderManagerService'][_0x345908(0x32a)](_0x47f65f)[_0x345908(0x1b6)](_0x809b8[_0x345908(0x204)]),{undoCache:_0x4a6b37,redoCache:_0x3883db}=_0x4ae1c2[_0x345908(0x18a)]();if(_0x4a6b37[_0x345908(0x3e7)]===0x0||_0x3883db[_0x345908(0x3e7)]===0x0)return;const _0x5773c3=[],_0x53e579=[];let _0x418cb9=_0x4b903d[_0x345908(0x395)][_0x345908(0x3ed)](_0x2c292f[_0x345908(0x34d)][0x0]),_0x1a7cf1=_0x4b903d[_0x345908(0x395)][_0x345908(0x3ed)](_0x2c292f[_0x345908(0x34d)][0x0]);for(let _0x195115=_0x4a6b37[_0x345908(0x3e7)]-0x1;_0x195115>=0x0;_0x195115--){const _0x39f81d={'id':_0x345908(0x362),'params':{..._0x4a6b37[_0x195115]}},_0x185efc={'id':_0x345908(0x362),'params':{..._0x3883db[_0x195115]}},_0x35f143=this[_0x345908(0x21a)][_0x345908(0x244)](_0x418cb9,_0x39f81d,!0x1),_0x2750a8=this[_0x345908(0x21a)][_0x345908(0x244)](_0x1a7cf1,_0x185efc,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x35f143))throw _0x35f143[_0x345908(0x2ff)];if(_0x3810d3['isTransformMutationFailure'](_0x2750a8))throw _0x2750a8[_0x345908(0x2ff)];_0x5773c3[_0x345908(0x184)](_0x35f143[_0x345908(0x25b)][_0x345908(0x1cb)]),_0x53e579[_0x345908(0x184)](_0x2750a8['m2Prime'][_0x345908(0x1cb)]),_0x418cb9=_0x35f143['m1Prime'],_0x1a7cf1=_0x2750a8[_0x345908(0x1a8)];}_0x4ae1c2[_0x345908(0x382)]({'undoCache':_0x5773c3,'redoCache':_0x53e579});}[_0x151804(0x240)](_0x409fe4){const _0x53a731=_0x151804,{unitID:_0x14a2f8}=_0x409fe4,_0x56ac84=this[_0x53a731(0x3bd)][_0x53a731(0x32a)](_0x14a2f8)[_0x53a731(0x1b6)](_0x809b8['DocIMEInputManagerService']),_0x2a4993=_0x56ac84[_0x53a731(0x177)]();if(_0x2a4993==null)return;const _0x627a86=[{'id':_0x53a731(0x362),'params':{'unitId':_0x409fe4['unitID'],'actions':null,'textRanges':[_0x2a4993]}}],_0x1669e9=this[_0x53a731(0x21a)]['transformMutationsWithChangeset'](_0x409fe4,_0x627a86);if(!_0x3810d3[_0x53a731(0x1ff)](_0x1669e9))throw _0x1669e9[_0x53a731(0x2ff)];const _0x2d84a3=_0x1669e9[_0x53a731(0x25b)][0x0]['params'][_0x53a731(0x173)];Array['isArray'](_0x2d84a3)&&_0x2d84a3[_0x53a731(0x3e7)]&&_0x56ac84[_0x53a731(0x2d2)](_0x2d84a3[0x0]);}};_0x37eb54=_0x2a40f0([_0x5c4100(0x0,_0x3810d3[_0x151804(0x3aa)]),_0x5c4100(0x1,_0x36ac30['IRenderManagerService'])],_0x37eb54);var _0x4d87ad=Object['getOwnPropertyDescriptor'],_0x17dceb=(_0x420595,_0x5a4f0f,_0x4de47c,_0x186204)=>{const _0xa70dc=_0x151804;for(var _0x1c0750=_0x186204>0x1?void 0x0:_0x186204?_0x4d87ad(_0x5a4f0f,_0x4de47c):_0x5a4f0f,_0x438d39=_0x420595[_0xa70dc(0x3e7)]-0x1,_0x220c65;_0x438d39>=0x0;_0x438d39--)(_0x220c65=_0x420595[_0x438d39])&&(_0x1c0750=_0x220c65(_0x1c0750)||_0x1c0750);return _0x1c0750;},_0xd36a72=(_0x346644,_0x14d5a7)=>(_0x1c4f17,_0x147a54)=>_0x14d5a7(_0x1c4f17,_0x147a54,_0x346644);let _0x28eae8=class{constructor(_0x3c544d,_0x1096ef,_0x20a0b6){const _0x85c5d=_0x151804;this[_0x85c5d(0x410)]=_0x3c544d,this['_transformService']=_0x1096ef,this[_0x85c5d(0x22c)]=_0x20a0b6;}[_0x151804(0x358)](_0x32251e){const _0x4b0447=_0x151804;this[_0x4b0447(0x305)](_0x32251e);}[_0x151804(0x2f5)](_0x2aafcf){const _0x26aac7=_0x151804,{unitID:_0x47c506}=_0x2aafcf,{collaboration:_0x193000}=this['_docStateChangeManagerService']['getStateCache'](_0x47c506);if(_0x193000[_0x26aac7(0x3e7)]===0x0)return _0x2aafcf;let _0x56763c=_0x4b903d[_0x26aac7(0x395)]['deepClone'](_0x2aafcf['mutations'][0x0]);for(let _0x5b95c7=0x0;_0x5b95c7<_0x193000['length'];_0x5b95c7++){const _0x38d118={'id':_0x26aac7(0x362),'params':{'unitId':_0x193000[_0x5b95c7][_0x26aac7(0x1a9)],..._0x193000[_0x5b95c7][_0x26aac7(0x35c)]}},_0xc53519=this[_0x26aac7(0x21a)][_0x26aac7(0x244)](_0x56763c,_0x38d118,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0xc53519))throw _0xc53519[_0x26aac7(0x2ff)];_0x56763c=_0xc53519[_0x26aac7(0x1a8)];}return{..._0x4b903d[_0x26aac7(0x395)]['deepClone'](_0x2aafcf),'mutations':[_0x56763c]};}[_0x151804(0x305)](_0x3bbcd6){const _0x238e58=_0x151804,{unitID:_0x537ea1}=_0x3bbcd6,{history:_0x56fb7e,collaboration:_0x3e2894}=this['_docStateChangeManagerService'][_0x238e58(0x236)](_0x537ea1);if(_0x56fb7e['length']===0x0&&_0x3e2894[_0x238e58(0x3e7)]===0x0)return;const _0x264ab0=[],_0x514a38=[];let _0x1ce5c6=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]),_0x1dc0fa=_0x4b903d[_0x238e58(0x395)]['deepClone'](_0x3bbcd6['mutations'][0x0]);for(let _0x5b8f6f=_0x56fb7e[_0x238e58(0x3e7)]-0x1;_0x5b8f6f>=0x0;_0x5b8f6f--){const _0x303813={'id':_0x238e58(0x362),'params':{'unitId':_0x56fb7e[_0x5b8f6f][_0x238e58(0x1a9)],..._0x56fb7e[_0x5b8f6f]['undoState']}},_0x545604={'id':_0x238e58(0x362),'params':{'unitId':_0x56fb7e[_0x5b8f6f][_0x238e58(0x1a9)],..._0x56fb7e[_0x5b8f6f][_0x238e58(0x35c)]}},_0x29fb02=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1ce5c6,_0x303813,!0x1),_0x50d4c3=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1dc0fa,_0x545604,!0x1);if(_0x3810d3[_0x238e58(0x3c9)](_0x29fb02))throw _0x29fb02[_0x238e58(0x2ff)];if(_0x3810d3[_0x238e58(0x3c9)](_0x50d4c3))throw _0x50d4c3[_0x238e58(0x2ff)];_0x264ab0[_0x238e58(0x184)]({..._0x56fb7e[_0x5b8f6f],'undoState':_0x29fb02[_0x238e58(0x25b)][_0x238e58(0x1cb)],'redoState':_0x50d4c3[_0x238e58(0x25b)][_0x238e58(0x1cb)]}),_0x1ce5c6=_0x29fb02[_0x238e58(0x1a8)],_0x1dc0fa=_0x50d4c3[_0x238e58(0x1a8)];}_0x1ce5c6=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]),_0x1dc0fa=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]);for(let _0x3c3a83=_0x3e2894[_0x238e58(0x3e7)]-0x1;_0x3c3a83>=0x0;_0x3c3a83--){const _0x1874dd={'id':_0x238e58(0x362),'params':{'unitId':_0x3e2894[_0x3c3a83]['unitId'],..._0x3e2894[_0x3c3a83]['undoState']}},_0x12886a={'id':_0x238e58(0x362),'params':{'unitId':_0x3e2894[_0x3c3a83][_0x238e58(0x1a9)],..._0x3e2894[_0x3c3a83]['redoState']}},_0x48fc9b=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1ce5c6,_0x1874dd,!0x1),_0x5148a1=this['_transformService']['transformMutation'](_0x1dc0fa,_0x12886a,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x48fc9b))throw _0x48fc9b[_0x238e58(0x2ff)];if(_0x3810d3['isTransformMutationFailure'](_0x5148a1))throw _0x5148a1['error'];_0x514a38[_0x238e58(0x184)]({..._0x3e2894[_0x3c3a83],'undoState':_0x48fc9b[_0x238e58(0x25b)]['params'],'redoState':_0x5148a1[_0x238e58(0x25b)]['params']}),_0x1ce5c6=_0x48fc9b['m1Prime'],_0x1dc0fa=_0x5148a1[_0x238e58(0x1a8)];}this['_docStateChangeManagerService'][_0x238e58(0x275)](_0x537ea1,{'history':_0x264ab0,'collaboration':_0x514a38});}};_0x28eae8=_0x17dceb([_0xd36a72(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0xd36a72(0x1,_0x3810d3[_0x151804(0x3aa)]),_0xd36a72(0x2,_0x4b903d[_0x151804(0x18d)](_0x809b8[_0x151804(0x320)]))],_0x28eae8);var _0xb3bdd=Object[_0x151804(0x277)],_0x484c37=(_0x31b90f,_0x4d4405,_0x12b02c,_0x3e0ae6)=>{const _0x7e03b3=_0x151804;for(var _0x42b80f=_0x3e0ae6>0x1?void 0x0:_0x3e0ae6?_0xb3bdd(_0x4d4405,_0x12b02c):_0x4d4405,_0x140d09=_0x31b90f[_0x7e03b3(0x3e7)]-0x1,_0x113ce2;_0x140d09>=0x0;_0x140d09--)(_0x113ce2=_0x31b90f[_0x140d09])&&(_0x42b80f=_0x113ce2(_0x42b80f)||_0x42b80f);return _0x42b80f;},_0x1b81ef=(_0x34f45c,_0x164986)=>(_0x42c8f3,_0x2b62eb)=>_0x164986(_0x42c8f3,_0x2b62eb,_0x34f45c);let _0x37c8c3=class{constructor(_0x270515,_0x839625){const _0x2061a5=_0x151804;this['_injector']=_0x270515,this[_0x2061a5(0x21a)]=_0x839625;}[_0x151804(0x2b8)](_0x55631e){const _0x3cdb98=_0x151804;var _0x3ff802;const _0x3b4f2d=this[_0x3cdb98(0x410)][_0x3cdb98(0x1a2)](_0x4c8112[_0x3cdb98(0x22e)]),_0x41027e=(_0x3ff802=_0x3b4f2d['getDocRanges']())!=null?_0x3ff802:[];if(_0x41027e['length']===0x0)return;const _0xfb6904=_0x55631e[_0x3cdb98(0x36b)],_0x4c87b0=[{'id':_0x3cdb98(0x362),'params':{'unitId':_0xfb6904,'actions':null,'textRanges':_0x41027e}}],_0x3b6ac1=this['_transformService'][_0x3cdb98(0x273)](_0x55631e,_0x4c87b0);if(!_0x3810d3[_0x3cdb98(0x1ff)](_0x3b6ac1))throw _0x3b6ac1['error'];const _0x36c17a=_0x3b6ac1['m2Prime'][0x0]['params'][_0x3cdb98(0x173)];Array[_0x3cdb98(0x373)](_0x36c17a)&&_0x36c17a['length']&&_0x3b4f2d[_0x3cdb98(0x1fa)](_0x36c17a,{'unitId':_0xfb6904,'subUnitId':_0xfb6904},!0x1);}};_0x37c8c3=_0x484c37([_0x1b81ef(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x1b81ef(0x1,_0x3810d3[_0x151804(0x3aa)])],_0x37c8c3);var _0x354429=Object[_0x151804(0x277)],_0x469280=(_0x10f93c,_0x14630a,_0x3a99db,_0x517652)=>{const _0x45233c=_0x151804;for(var _0x25884e=_0x517652>0x1?void 0x0:_0x517652?_0x354429(_0x14630a,_0x3a99db):_0x14630a,_0x219ba0=_0x10f93c[_0x45233c(0x3e7)]-0x1,_0x3d7107;_0x219ba0>=0x0;_0x219ba0--)(_0x3d7107=_0x10f93c[_0x219ba0])&&(_0x25884e=_0x3d7107(_0x25884e)||_0x25884e);return _0x25884e;},_0x4c7540=(_0xdfbb88,_0x4aa08d)=>(_0xfe734f,_0x1cc31d)=>_0x4aa08d(_0xfe734f,_0x1cc31d,_0xdfbb88);let _0x337b06=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x2df077,_0x487325,_0x5c1295,_0x4015ca,_0x25535a,_0x1d7806,_0x48ed4a,_0x248218){const _0x1927d2=_0x151804;super(),_0x198f8a(this,'_status$',new _0xdde2a6[(_0x1927d2(0x2f9))](_0x792235[_0x1927d2(0x17c)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x2df077,this[_0x1927d2(0x268)]=_0x487325,this[_0x1927d2(0x356)]=_0x5c1295,this[_0x1927d2(0x40e)]=_0x4015ca,this[_0x1927d2(0x1ae)]=_0x25535a,this['_docSyncEditingCollabCursorService']=_0x1d7806,this['_messageService']=_0x48ed4a,this[_0x1927d2(0x304)]=_0x248218,this[_0x1927d2(0x221)]());}[_0x151804(0x221)](){const _0x26db84=_0x151804;this[_0x26db84(0x2f8)](this[_0x26db84(0x268)][_0x26db84(0x33a)][_0x26db84(0x24d)](_0x48f6b6=>{const _0x19c0f7=_0x26db84,_0x543b42=this[_0x19c0f7(0x22c)]['docStateChange$'][_0x19c0f7(0x24d)](_0x2fe264=>{const _0x26c864=_0x19c0f7;if(_0x2fe264==null)return;const {unitId:_0x245651,redoState:_0x209140,commandId:_0x351c25}=_0x2fe264;if(_0x245651!==_0x48f6b6[_0x26c864(0x36b)])return;const _0x235d68={'id':_0x351c25,'type':_0x4b903d['CommandType'][_0x26c864(0x3a9)],'params':{'unitId':_0x245651,'actions':_0x209140[_0x26c864(0x1bc)],'textRanges':null}};_0x48f6b6[_0x26c864(0x3c7)](_0x235d68);});if(_0x48f6b6['disposeWithMe'](_0x543b42),_0x48f6b6 instanceof _0x792235[_0x19c0f7(0x137)]){const _0x3b97b8={'onTransformIME':_0x502b7a=>this[_0x19c0f7(0x356)][_0x19c0f7(0x419)](_0x502b7a),'onTransformState':_0xbcad89=>this[_0x19c0f7(0x40e)][_0x19c0f7(0x358)](_0xbcad89),'onTransformSelections':_0x149231=>this[_0x19c0f7(0x1ae)]['transformSelections'](_0x149231),'onSyncEditingCollabCursor':_0x1082c9=>this[_0x19c0f7(0x41f)][_0x19c0f7(0x3d8)](_0x1082c9),'onTransformRemoteChangesetByIMECache':_0xfca5b=>this['_docTransformIMECacheService'][_0x19c0f7(0x2f5)](_0xfca5b),'onTransformRemoteChangesetByStateCache':_0x5e4110=>this[_0x19c0f7(0x40e)]['transformRemoteChangeset'](_0x5e4110)};_0x48f6b6[_0x19c0f7(0x223)](_0x3b97b8);}}));}};_0x337b06=_0x469280([_0x4c7540(0x0,_0x4b903d[_0x151804(0x18d)](_0x809b8[_0x151804(0x320)])),_0x4c7540(0x1,_0x4b903d['Inject'](_0x792235['CollaborationController'])),_0x4c7540(0x2,_0x4b903d['Inject'](_0x37eb54)),_0x4c7540(0x3,_0x4b903d['Inject'](_0x28eae8)),_0x4c7540(0x4,_0x4b903d['Inject'](_0x37c8c3)),_0x4c7540(0x5,_0x4b903d['Inject'](_0x103d56)),_0x4c7540(0x6,_0x109597[_0x151804(0x1e1)]),_0x4c7540(0x7,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3de)]))],_0x337b06);var _0x36c5dc=(_0x221edf=>(_0x221edf[_0x221edf[_0x151804(0x284)]=0x0]=_0x151804(0x284),_0x221edf[_0x221edf['OK']=0x1]='OK',_0x221edf[_0x221edf[_0x151804(0x3fa)]=0x2]=_0x151804(0x3fa),_0x221edf[_0x221edf[_0x151804(0x328)]=0x3]='PERMISSION_DENIED',_0x221edf[_0x221edf[_0x151804(0x3df)]=0x4]=_0x151804(0x3df),_0x221edf[_0x221edf[_0x151804(0x348)]=0x5]=_0x151804(0x348),_0x221edf[_0x221edf[_0x151804(0x322)]=0x6]=_0x151804(0x322),_0x221edf[_0x221edf[_0x151804(0x321)]=0x7]=_0x151804(0x321),_0x221edf[_0x221edf[_0x151804(0x27a)]=0x8]='TOO_MANY_REQUESTS',_0x221edf[_0x221edf['COMPLETION_FINISHED']=0x9]=_0x151804(0x3c6),_0x221edf[_0x221edf[_0x151804(0x203)]=0xa]='LOGIN_FAILED',_0x221edf[_0x221edf[_0x151804(0x28f)]=0xb]=_0x151804(0x28f),_0x221edf[_0x221edf[_0x151804(0x1c2)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x221edf[_0x221edf['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x151804(0x301),_0x221edf[_0x221edf['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x151804(0x377),_0x221edf[_0x221edf['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x221edf[_0x221edf[_0x151804(0x346)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x221edf[_0x221edf['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x221edf[_0x221edf[_0x151804(0x298)]=0x65]='ERROR_AGAIN',_0x221edf[_0x221edf['USER_NOT_FOUND']=0xc9]=_0x151804(0x400),_0x221edf[_0x221edf[_0x151804(0x1cc)]=0xca]=_0x151804(0x1cc),_0x221edf[_0x221edf[_0x151804(0x25a)]=0x1389]=_0x151804(0x25a),_0x221edf[_0x221edf[_0x151804(0x19d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x221edf[_0x221edf[_0x151804(0x210)]=0x1772]=_0x151804(0x210),_0x221edf[_0x221edf[_0x151804(0x2a8)]=0x1773]=_0x151804(0x2a8),_0x221edf[_0x221edf['APPLY_REJECT']=0x1b59]=_0x151804(0x39f),_0x221edf[_0x221edf['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x151804(0x1f1),_0x221edf[_0x221edf[_0x151804(0x148)]=0x1b5b]=_0x151804(0x148),_0x221edf[_0x221edf[_0x151804(0x2be)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x221edf[_0x221edf[_0x151804(0x38a)]=0x1b5d]=_0x151804(0x38a),_0x221edf[_0x221edf[_0x151804(0x181)]=0x1f41]=_0x151804(0x181),_0x221edf[_0x221edf[_0x151804(0x153)]=0x2329]=_0x151804(0x153),_0x221edf[_0x221edf[_0x151804(0x24a)]=0x232a]=_0x151804(0x24a),_0x221edf[_0x221edf[_0x151804(0x3b8)]=0x232b]=_0x151804(0x3b8),_0x221edf[_0x221edf[_0x151804(0x139)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x221edf[_0x221edf[_0x151804(0x2e5)]=0x232d]=_0x151804(0x2e5),_0x221edf[_0x221edf[_0x151804(0x165)]=0x2711]=_0x151804(0x165),_0x221edf[_0x221edf[_0x151804(0x3f9)]=0x2712]=_0x151804(0x3f9),_0x221edf[_0x221edf['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x151804(0x32c),_0x221edf[_0x221edf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x151804(0x2f0),_0x221edf[_0x221edf[_0x151804(0x264)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x221edf[_0x221edf[_0x151804(0x23d)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x221edf[_0x221edf[_0x151804(0x296)]=0x271c]=_0x151804(0x296),_0x221edf[_0x221edf['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x221edf[_0x221edf['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x151804(0x31a),_0x221edf[_0x221edf['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x221edf[_0x221edf[_0x151804(0x3b6)]=0x2720]=_0x151804(0x3b6),_0x221edf[_0x221edf[_0x151804(0x3ff)]=0x2af9]=_0x151804(0x3ff),_0x221edf[_0x221edf[_0x151804(0x20a)]=0x2ee1]=_0x151804(0x20a),_0x221edf[_0x221edf[_0x151804(0x387)]=0x2ee2]=_0x151804(0x387),_0x221edf[_0x221edf[_0x151804(0x3dd)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x221edf[_0x221edf[_0x151804(0x21e)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x221edf[_0x221edf[_0x151804(0x2b5)]=0x2ee5]=_0x151804(0x2b5),_0x221edf[_0x221edf['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x151804(0x3ca),_0x221edf[_0x221edf['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x151804(0x303),_0x221edf[_0x221edf['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x151804(0x2ec),_0x221edf[_0x221edf['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x151804(0x30d),_0x221edf[_0x221edf[_0x151804(0x14b)]=0x36b2]=_0x151804(0x14b),_0x221edf[_0x221edf[_0x151804(0x1b1)]=0x36b3]=_0x151804(0x1b1),_0x221edf[_0x221edf[_0x151804(0x379)]=0x36b4]=_0x151804(0x379),_0x221edf[_0x221edf[_0x151804(0x2ee)]=0x36b5]=_0x151804(0x2ee),_0x221edf[_0x221edf[_0x151804(0x29a)]=0x36b6]=_0x151804(0x29a),_0x221edf[_0x221edf[_0x151804(0x1d3)]=0x36b7]=_0x151804(0x1d3),_0x221edf[_0x221edf[_0x151804(0x3c8)]=0x36b8]=_0x151804(0x3c8),_0x221edf[_0x221edf[_0x151804(0x26f)]=0x3715]=_0x151804(0x26f),_0x221edf[_0x221edf[_0x151804(0x1f9)]=0x3716]=_0x151804(0x1f9),_0x221edf[_0x221edf[_0x151804(0x21c)]=0x3717]=_0x151804(0x21c),_0x221edf[_0x221edf[_0x151804(0x354)]=0x37dd]=_0x151804(0x354),_0x221edf[_0x221edf[_0x151804(0x3d1)]=0x3a99]=_0x151804(0x3d1),_0x221edf[_0x221edf[_0x151804(0x149)]=0x3a9a]=_0x151804(0x149),_0x221edf[_0x221edf[_0x151804(0x13f)]=0x3a9b]=_0x151804(0x13f),_0x221edf[_0x221edf['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x151804(0x3ea),_0x221edf[_0x221edf[_0x151804(0x188)]=0x3a9d]=_0x151804(0x188),_0x221edf[_0x221edf[_0x151804(0x2f1)]=0x3a9e]=_0x151804(0x2f1),_0x221edf[_0x221edf[_0x151804(0x2ed)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x221edf[_0x221edf[_0x151804(0x13c)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x221edf[_0x221edf[_0x151804(0x1c5)]=-0x1]=_0x151804(0x1c5),_0x221edf))(_0x36c5dc||{});function _0xed846c(_0x275228){const _0x150c5c=_0x151804;var _0x419a9f,_0x53cea5;const _0x409ca8=(_0x419a9f=_0x275228['stageInfo'])==null?void 0x0:_0x419a9f[_0x150c5c(0x14f)],_0x59a5d7=((_0x53cea5=_0x275228[_0x150c5c(0x2e8)])==null?void 0x0:_0x53cea5[_0x150c5c(0x1b0)])||0x0;return _0x409ca8===_0x511fa6['FormulaExecuteStageType'][_0x150c5c(0x1f2)]&&_0x59a5d7>0x0;}function _0x1d571b(_0x1fcc2c){const _0x253705=_0x151804;return _0x1fcc2c[_0x253705(0x245)]===_0x511fa6[_0x253705(0x238)][_0x253705(0x272)];}var _0x206412=Object[_0x151804(0x277)],_0x4f8316=(_0x52f47b,_0xc7c620,_0x25f32e,_0x1470a3)=>{const _0x40146b=_0x151804;for(var _0x46f1d0=_0x1470a3>0x1?void 0x0:_0x1470a3?_0x206412(_0xc7c620,_0x25f32e):_0xc7c620,_0x3c1adb=_0x52f47b[_0x40146b(0x3e7)]-0x1,_0x341db9;_0x3c1adb>=0x0;_0x3c1adb--)(_0x341db9=_0x52f47b[_0x3c1adb])&&(_0x46f1d0=_0x341db9(_0x46f1d0)||_0x46f1d0);return _0x46f1d0;},_0x39e0af=(_0x58ccae,_0x3ba85d)=>(_0x5d02ad,_0x2f77de)=>_0x3ba85d(_0x5d02ad,_0x2f77de,_0x58ccae);const _0x2befbf='/universer-api/license/formula/limit/status',_0x3a8cd5='/universer-api/license/formula/limit/start',_0x43c983=_0x151804(0x279);let _0x27767e=class extends _0x4b903d['Disposable']{constructor(_0x1f13c7,_0x3ef86b,_0x48297b,_0x45ac14,_0x578c70,_0x2383cd,_0x1e8ca3){const _0x259f8a=_0x151804;super(),_0x198f8a(this,_0x259f8a(0x241),null),_0x198f8a(this,_0x259f8a(0x374),0x0),_0x198f8a(this,_0x259f8a(0x270),0x0),_0x198f8a(this,_0x259f8a(0x3a1),[]),_0x198f8a(this,_0x259f8a(0x28b),0x0),(this[_0x259f8a(0x3a0)]=_0x1f13c7,this[_0x259f8a(0x1c6)]=_0x3ef86b,this[_0x259f8a(0x316)]=_0x48297b,this[_0x259f8a(0x3b3)]=_0x45ac14,this['_univerInstanceService']=_0x578c70,this['_logService']=_0x2383cd,this['_localeService']=_0x1e8ca3,this[_0x259f8a(0x2d3)]());}[_0x151804(0x2d3)](){const _0x4243df=_0x151804;this[_0x4243df(0x2f8)](this[_0x4243df(0x1c6)][_0x4243df(0x3d5)]((_0x1ebb0b,_0x29c3e8)=>{const _0x4b411b=_0x4243df;var _0x199494;if(_0x1ebb0b['id']!==_0x511fa6[_0x4b411b(0x2ae)]['id'])return;const _0x3f8e27=_0x1ebb0b[_0x4b411b(0x1cb)];if(!this[_0x4b411b(0x2ab)]((_0x199494=_0x3f8e27[_0x4b411b(0x38d)])!=null?_0x199494:[]))return;if(!this[_0x4b411b(0x339)]())throw this['_checkAndWaitForCalculationPermission'](_0x1ebb0b,_0x29c3e8),this[_0x4b411b(0x232)](),new _0x4b903d[(_0x4b411b(0x195))]();})),this[_0x4243df(0x2f8)](this[_0x4243df(0x1c6)][_0x4243df(0x280)]((_0x486d4d,_0x328f42)=>{const _0x52b435=_0x4243df;if(_0x486d4d['id']!==_0x511fa6[_0x52b435(0x233)]['id'])return;const _0x218438=_0x486d4d[_0x52b435(0x1cb)];if(_0xed846c(_0x218438)){const _0x32318f=_0x4b903d[_0x52b435(0x24b)]();this[_0x52b435(0x3a1)][_0x52b435(0x1eb)](_0x32318f),this[_0x52b435(0x35b)](_0x32318f);}else{if(_0x1d571b(_0x218438)&&this[_0x52b435(0x3a1)]['length']>0x0){const _0x14ce88=this['_taskIds']['shift']();this['_releaseCalculationLimit'](_0x14ce88);}}}));}[_0x151804(0x2b9)](){const _0x263323=_0x151804;super['dispose'](),this[_0x263323(0x337)](),this[_0x263323(0x3a1)]=[],this[_0x263323(0x270)]=0x0,this[_0x263323(0x374)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x151804(0x2b6)](_0x26d79,_0x4269af){const _0x6f3c2c=_0x151804;for(let _0x1d9aa6=0x0;_0x1d9aa6<0x1e;_0x1d9aa6++)try{if(await this[_0x6f3c2c(0x1e4)](),this[_0x6f3c2c(0x339)]()){this['_applyCommand'](_0x26d79,_0x4269af),this[_0x6f3c2c(0x3a0)][_0x6f3c2c(0x2d4)]({'content':this[_0x6f3c2c(0x304)]['t'](_0x6f3c2c(0x22a)),'type':_0x486dbb[_0x6f3c2c(0x3c4)][_0x6f3c2c(0x297)]});return;}await new Promise(_0x312c5a=>{const _0x221c05=_0x6f3c2c;this[_0x221c05(0x241)]=window['setTimeout'](_0x312c5a,0x3e8);});}catch(_0x778bf5){this[_0x6f3c2c(0x338)]['error'](_0x778bf5);}this[_0x6f3c2c(0x3a0)]['show']({'content':this[_0x6f3c2c(0x304)]['t'](_0x6f3c2c(0x376)),'type':_0x486dbb['MessageType'][_0x6f3c2c(0x2a1)]});}[_0x151804(0x187)](_0x2cb789,_0x5a68b8){const _0xd9571c=_0x151804;try{this['_commandService'][_0xd9571c(0x3fd)](_0x2cb789['id'],_0x2cb789['params'],_0x5a68b8);}catch(_0x4c90c9){this[_0xd9571c(0x338)][_0xd9571c(0x2ff)](_0x4c90c9);}}['_setFormulaLimitStatus'](_0x3b660f,_0x446434){const _0x39f27a=_0x151804;_0x446434<this[_0x39f27a(0x28b)]||(this[_0x39f27a(0x28b)]=_0x446434,this[_0x39f27a(0x374)]=Number['parseInt'](_0x3b660f[_0x39f27a(0x228)]),this[_0x39f27a(0x270)]=Number['parseInt'](_0x3b660f[_0x39f27a(0x27c)]));}async['_startCalculationLimit'](_0x161389){const _0x4a0e5d=_0x151804;var _0x347d6d,_0x353bc5;const _0x535061=Date['now']();try{const _0x46ffa1=((_0x347d6d=this['_configService'][_0x4a0e5d(0x14e)](_0x792235[_0x4a0e5d(0x227)]))==null?void 0x0:_0x347d6d['startFormulaLimitUrl'])||_0x3a8cd5,_0x3a531d=(await this[_0x4a0e5d(0x3b3)]['post'](_0x46ffa1,{'body':JSON[_0x4a0e5d(0x1aa)]({'taskId':_0x161389})}))[_0x4a0e5d(0x1a0)];if(((_0x353bc5=_0x3a531d[_0x4a0e5d(0x2ff)])==null?void 0x0:_0x353bc5[_0x4a0e5d(0x378)])!==_0x36c5dc['OK'])return;this[_0x4a0e5d(0x3ac)](_0x3a531d['limitInfo'],_0x535061);}catch(_0x20ecda){this[_0x4a0e5d(0x338)][_0x4a0e5d(0x2ff)](_0x20ecda);}}async[_0x151804(0x1e4)](_0x495d76){const _0x17a212=_0x151804;var _0xdad023,_0x4c41ea;const _0x561f64=Date[_0x17a212(0x20d)]();try{const _0x12cf6a=((_0xdad023=this[_0x17a212(0x316)][_0x17a212(0x14e)](_0x792235[_0x17a212(0x227)]))==null?void 0x0:_0xdad023['getformulaLimitStatusUrl'])||_0x2befbf,_0x1906a2=_0x495d76?_0x12cf6a+_0x17a212(0x141)+encodeURIComponent(_0x495d76):_0x12cf6a,_0x447e3c=(await this[_0x17a212(0x3b3)][_0x17a212(0x1a2)](_0x1906a2))['body'];if(((_0x4c41ea=_0x447e3c[_0x17a212(0x2ff)])==null?void 0x0:_0x4c41ea[_0x17a212(0x378)])!==_0x36c5dc['OK'])return;this['_setFormulaLimitStatus'](_0x447e3c[_0x17a212(0x25e)],_0x561f64);}catch(_0x5d299b){this['_logService'][_0x17a212(0x2ff)](_0x5d299b);}}async[_0x151804(0x2e2)](_0x3c6040){const _0x239f94=_0x151804;var _0x4dfe60,_0x36540d;const _0xb753cb=Date[_0x239f94(0x20d)]();try{const _0x1e2e48=((_0x4dfe60=this[_0x239f94(0x316)][_0x239f94(0x14e)](_0x792235['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4dfe60[_0x239f94(0x366)])||_0x43c983,_0x18d593=(await this[_0x239f94(0x3b3)][_0x239f94(0x257)](_0x1e2e48,{'body':JSON['stringify']({'taskId':_0x3c6040})}))[_0x239f94(0x1a0)];if(((_0x36540d=_0x18d593[_0x239f94(0x2ff)])==null?void 0x0:_0x36540d['code'])!==_0x36c5dc['OK'])return;this[_0x239f94(0x3ac)](_0x18d593[_0x239f94(0x25e)],_0xb753cb);}catch(_0x2c992f){this[_0x239f94(0x338)]['error'](_0x2c992f);}}[_0x151804(0x339)](){const _0x94f8c4=_0x151804;return this[_0x94f8c4(0x374)]===0x0?!0x0:this[_0x94f8c4(0x374)]-this[_0x94f8c4(0x270)]>0x0;}[_0x151804(0x337)](){const _0x4fc3f9=_0x151804;this[_0x4fc3f9(0x241)]&&(clearTimeout(this[_0x4fc3f9(0x241)]),this[_0x4fc3f9(0x241)]=null);}[_0x151804(0x232)](){const _0x31df76=_0x151804;this[_0x31df76(0x3a0)][_0x31df76(0x2d4)]({'content':this[_0x31df76(0x304)]['t'](_0x31df76(0x3a8)),'type':_0x486dbb['MessageType'][_0x31df76(0x2a9)]});}[_0x151804(0x2ab)](_0x5be480){const _0x3d7abd=_0x151804;for(const _0x412f02 of _0x5be480){const {unitId:_0x578865,sheetId:_0x1e6afa,range:_0x4487bf}=_0x412f02,_0x34406a=this['_univerInstanceService'][_0x3d7abd(0x333)](_0x578865);if(!_0x34406a)continue;const _0x10c898=_0x34406a[_0x3d7abd(0x3cc)](_0x1e6afa);if(!_0x10c898)continue;const _0x1c8bdc=_0x10c898[_0x3d7abd(0x170)]();for(let _0x3fa93c=_0x4487bf[_0x3d7abd(0x1d9)];_0x3fa93c<=_0x4487bf['endRow'];_0x3fa93c++)for(let _0x2e5238=_0x4487bf[_0x3d7abd(0x15d)];_0x2e5238<=_0x4487bf[_0x3d7abd(0x294)];_0x2e5238++){const _0x18d69b=_0x1c8bdc[_0x3d7abd(0x313)](_0x3fa93c,_0x2e5238);if(_0x18d69b&&(_0x4b903d[_0x3d7abd(0x1ac)](_0x18d69b['f'])||_0x4b903d[_0x3d7abd(0x30f)](_0x18d69b['si'])))return!0x0;}}return!0x1;}};_0x27767e=_0x4f8316([_0x39e0af(0x0,_0x4b903d[_0x151804(0x18d)](_0x109597[_0x151804(0x1e1)])),_0x39e0af(0x1,_0x4b903d['ICommandService']),_0x39e0af(0x2,_0x4b903d['IConfigService']),_0x39e0af(0x3,_0x4b903d[_0x151804(0x18d)](_0x58c3fa[_0x151804(0x3f1)])),_0x39e0af(0x4,_0x4b903d['IUniverInstanceService']),_0x39e0af(0x5,_0x4b903d['ILogService']),_0x39e0af(0x6,_0x4b903d['Inject'](_0x4b903d[_0x151804(0x3de)]))],_0x27767e);var _0x106516=Object['getOwnPropertyDescriptor'],_0x4c3645=(_0x24f99d,_0x15e2ad,_0x525292,_0x21e641)=>{for(var _0x45eba0=_0x21e641>0x1?void 0x0:_0x21e641?_0x106516(_0x15e2ad,_0x525292):_0x15e2ad,_0x180d01=_0x24f99d['length']-0x1,_0x4a05b5;_0x180d01>=0x0;_0x180d01--)(_0x4a05b5=_0x24f99d[_0x180d01])&&(_0x45eba0=_0x4a05b5(_0x45eba0)||_0x45eba0);return _0x45eba0;},_0x14d776=(_0x132494,_0x178296)=>(_0x420866,_0x6b338e)=>_0x178296(_0x420866,_0x6b338e,_0x132494);let _0x2ca6a3=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x51b720,_0x5f1c95,_0x536acd){const _0x4e0698=_0x151804;super(),_0x198f8a(this,_0x4e0698(0x381),new Map()),_0x198f8a(this,_0x4e0698(0x19a),new Map()),_0x198f8a(this,'_disabled',!0x1),(this[_0x4e0698(0x316)]=_0x51b720,this[_0x4e0698(0x352)]=_0x5f1c95,this[_0x4e0698(0x222)]=_0x536acd);}[_0x151804(0x2c5)](){this['_disabled']=!0x0;}[_0x151804(0x144)](){this['_disabled']=!0x1;}get[_0x151804(0x1fb)](){const _0x26e37f=_0x151804;return this[_0x26e37f(0x19a)];}[_0x151804(0x2b9)](){const _0x37d027=_0x151804;this[_0x37d027(0x1d1)]()[_0x37d027(0x39b)](()=>super['dispose']());}async[_0x151804(0x38f)](_0x54d320){const _0x4fcf8a=_0x151804;return this['_disabled']?null:this[_0x4fcf8a(0x352)]['getItem'](_0x792235[_0x4fcf8a(0x17d)](_0x54d320));}async['saveOfflineData'](_0x328549,_0x5b2d35){const _0x155c00=_0x151804;return!!this['_localStorageService'][_0x155c00(0x20c)](_0x328549,_0x5b2d35);}[_0x151804(0x26e)](_0x1b4d08,_0x174c69,_0x2d0c4a,_0x25399a){const _0xde1eb9=_0x151804,_0x204799=this[_0xde1eb9(0x222)][_0xde1eb9(0x29d)](_0x1b4d08);this['_cachedData'][_0xde1eb9(0x2d7)](_0x1b4d08,{'unitID':_0x1b4d08,'type':_0x174c69,'awaitingChangeset':_0x2d0c4a,'mutations':_0x25399a,'rev':_0x204799}),this[_0xde1eb9(0x19a)]['has'](_0x1b4d08)||this[_0xde1eb9(0x368)](_0x1b4d08);}[_0x151804(0x368)](_0x3b5a3c){const _0x1a5b78=_0x151804,_0x4d0175=this[_0x1a5b78(0x347)]();_0x4d0175===0x0?this[_0x1a5b78(0x267)](_0x3b5a3c):this[_0x1a5b78(0x19a)]['set'](_0x3b5a3c,setTimeout(()=>this[_0x1a5b78(0x267)](_0x3b5a3c),_0x4d0175));}['_getSaveTimeout'](){const _0x2b613b=_0x151804;var _0x355736;return(_0x355736=this[_0x2b613b(0x316)][_0x2b613b(0x14e)](_0x792235[_0x2b613b(0x2c6)]))!=null?_0x355736:_0x792235[_0x2b613b(0x1e6)];}[_0x151804(0x267)](_0x4a3fb7){const _0x11119d=_0x151804,_0xcf7bc7=this[_0x11119d(0x19a)][_0x11119d(0x1a2)](_0x4a3fb7);return _0xcf7bc7!==void 0x0&&window[_0x11119d(0x40a)](_0xcf7bc7),this[_0x11119d(0x352)][_0x11119d(0x20c)](_0x792235[_0x11119d(0x17d)](_0x4a3fb7),this[_0x11119d(0x381)]['get'](_0x4a3fb7))[_0x11119d(0x39b)](()=>this['_saveTaskMap'][_0x11119d(0x312)](_0x4a3fb7));}async[_0x151804(0x1d1)](){const _0xde3672=_0x151804,_0x5c9034=[];this['_saveTaskMap'][_0xde3672(0x293)]((_0xceeb21,_0x42831a)=>{const _0x566767=_0xde3672;window[_0x566767(0x40a)](_0xceeb21),_0x5c9034[_0x566767(0x1eb)](this[_0x566767(0x267)](_0x42831a)[_0x566767(0x39b)](()=>{const _0x10d743=_0x566767;this[_0x10d743(0x19a)][_0x10d743(0x312)](_0x42831a);}));}),await Promise[_0xde3672(0x389)](_0x5c9034);}};_0x2ca6a3=_0x4c3645([_0x14d776(0x0,_0x4b903d[_0x151804(0x281)]),_0x14d776(0x1,_0x4b903d['ILocalStorageService']),_0x14d776(0x2,_0x4b903d[_0x151804(0x18d)](_0x3810d3['RevisionService']))],_0x2ca6a3);class _0x551a25 extends _0x4b903d[_0x151804(0x35d)]{constructor(){const _0x4e73d4=_0x151804;super(),_0x198f8a(this,'urlChange$'),this[_0x4e73d4(0x39d)]=_0xdde2a6[_0x4e73d4(0x1d7)](window,'popstate')[_0x4e73d4(0x2cc)](_0xdde2a6['takeUntil'](this[_0x4e73d4(0x2ef)]),_0xdde2a6['shareReplay'](0x1),_0xdde2a6['mapTo'](void 0x0));}[_0x151804(0x174)](_0x36bee0,_0x2415ce,_0x4f516a=!0x1){const _0xb2bd22=_0x151804,_0x29387f=new URL(window[_0xb2bd22(0x416)][_0xb2bd22(0x186)]);_0x29387f[_0xb2bd22(0x171)][_0xb2bd22(0x2d7)](_0x36bee0,_0x2415ce),_0x4f516a?window['history'][_0xb2bd22(0x2fb)]('','',_0x29387f[_0xb2bd22(0x41b)]()):window[_0xb2bd22(0x3b0)][_0xb2bd22(0x152)]('','',_0x29387f['toString']());}['removeParam'](_0x5c574b,_0x359202=!0x1){const _0x518e65=_0x151804,_0xeba47=new URL(window[_0x518e65(0x416)][_0x518e65(0x186)]);_0xeba47[_0x518e65(0x171)][_0x518e65(0x312)](_0x5c574b),_0x359202?window[_0x518e65(0x3b0)][_0x518e65(0x2fb)]('','',_0xeba47['toString']()):window[_0x518e65(0x3b0)]['pushState']('','',_0xeba47[_0x518e65(0x41b)]());}[_0x151804(0x3e9)](_0x166c24){const _0x9c9527=_0x151804;var _0x2eb9fb;return(_0x2eb9fb=new URL(window[_0x9c9527(0x416)][_0x9c9527(0x186)])[_0x9c9527(0x171)][_0x9c9527(0x1a2)](_0x166c24))!=null?_0x2eb9fb:void 0x0;}}var _0x13d603=Object['defineProperty'],_0x504013=Object[_0x151804(0x277)],_0x4c4ed5=(_0x3aa0d2,_0x3d57ab,_0x3c72aa)=>_0x3d57ab in _0x3aa0d2?_0x13d603(_0x3aa0d2,_0x3d57ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c72aa}):_0x3aa0d2[_0x3d57ab]=_0x3c72aa,_0x2852d3=(_0x2f04cd,_0x5c201c,_0x192ff4,_0x17e479)=>{const _0x370971=_0x151804;for(var _0x23e388=_0x17e479>0x1?void 0x0:_0x17e479?_0x504013(_0x5c201c,_0x192ff4):_0x5c201c,_0x18ddc6=_0x2f04cd[_0x370971(0x3e7)]-0x1,_0x42e0d6;_0x18ddc6>=0x0;_0x18ddc6--)(_0x42e0d6=_0x2f04cd[_0x18ddc6])&&(_0x23e388=_0x42e0d6(_0x23e388)||_0x23e388);return _0x23e388;},_0x7e47f4=(_0x13efec,_0x45faf8)=>(_0x225f24,_0x5e5bd2)=>_0x45faf8(_0x225f24,_0x5e5bd2,_0x13efec),_0xec3e5f=(_0x18155e,_0x4a5e98,_0x37bffe)=>_0x4c4ed5(_0x18155e,_0x4a5e98+'',_0x37bffe);const _0x5d213f=_0x151804(0x1dc);_0x44f94a[_0x151804(0x2c3)]=class extends _0x4b903d[_0x151804(0x335)]{constructor(_0x24078d=_0x6daa16,_0x5c3e0a,_0x536dc3,_0x1a4164){const _0x21037b=_0x151804;super(),this[_0x21037b(0x18c)]=_0x24078d,this[_0x21037b(0x3bd)]=_0x5c3e0a,this[_0x21037b(0x410)]=_0x536dc3,this[_0x21037b(0x316)]=_0x1a4164;const {..._0x32fa7b}=_0x4b903d[_0x21037b(0x30e)]({},_0x6daa16,this['_config']);this[_0x21037b(0x316)]['setConfig'](_0x58e469,_0x32fa7b);}[_0x151804(0x1a7)](){const _0xf821c2=_0x151804;this[_0xf821c2(0x237)](),this[_0xf821c2(0x2db)]();}[_0x151804(0x310)](){const _0x2ae45d=_0x151804;this[_0x2ae45d(0x31c)]();}[_0x151804(0x237)](){const _0x295dfb=_0x151804;var _0x2fda9d;const _0x10c36c=[[_0x2042e7],[_0x27767e],[_0x37c8c3],[_0x37eb54],[_0x28eae8],[_0x103d56],[_0x1c59a7,{'useClass':_0x551a25}],[_0x58c3fa['ISocketService'],{'useClass':_0x58c3fa[_0x295dfb(0x2a5)]}],[_0x792235['ILocalCacheService'],{'useClass':_0x2ca6a3}],[_0x44f94a[_0x295dfb(0x2ce)]],[_0x337b06],[_0x492873],[_0x8fdf50],[_0x479999],[_0x44f94a[_0x295dfb(0x278)]]];this['_config'][_0x295dfb(0x2c7)]&&_0x10c36c[_0x295dfb(0x1eb)]([_0x48fc71]),_0x4b903d['registerDependencies'](this[_0x295dfb(0x410)],_0x4b903d[_0x295dfb(0x30c)](_0x10c36c,(_0x2fda9d=this[_0x295dfb(0x18c)])==null?void 0x0:_0x2fda9d['override']));}[_0x151804(0x31c)](){const _0x2d8ef2=_0x151804;this[_0x2d8ef2(0x2f8)](this['_renderManagerService'][_0x2d8ef2(0x155)](_0x4b903d[_0x2d8ef2(0x198)][_0x2d8ef2(0x1b9)],[_0x3e9cd4])),this[_0x2d8ef2(0x2f8)](this[_0x2d8ef2(0x3bd)][_0x2d8ef2(0x155)](_0x4b903d[_0x2d8ef2(0x198)]['UNIVER_SHEET'],[_0x3481bc]));}['_initDependencies'](){const _0x4c0de0=_0x151804;_0x4b903d[_0x4c0de0(0x3da)](this[_0x4c0de0(0x410)],[[_0x8fdf50],[_0x44f94a[_0x4c0de0(0x2ce)]],[_0x337b06],[_0x492873],[_0x44f94a[_0x4c0de0(0x278)]],[_0x27767e]]),this[_0x4c0de0(0x18c)][_0x4c0de0(0x2c7)]&&_0x4b903d[_0x4c0de0(0x3da)](this[_0x4c0de0(0x410)],[[_0x48fc71]]);}},_0xec3e5f(_0x44f94a['UniverCollaborationClientUIPlugin'],'pluginName',_0x5d213f),_0x44f94a[_0x151804(0x2c3)]=_0x2852d3([_0x4b903d[_0x151804(0x15f)](_0x792235[_0x151804(0x178)]),_0x7e47f4(0x1,_0x36ac30[_0x151804(0x2fa)]),_0x7e47f4(0x2,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x7e47f4(0x3,_0x4b903d[_0x151804(0x281)])],_0x44f94a[_0x151804(0x2c3)]);var _0x156063=Object[_0x151804(0x277)],_0x3d47fc=(_0x200ba3,_0x1eb742,_0x4c4926,_0x1c505f)=>{for(var _0x55dea1=_0x1c505f>0x1?void 0x0:_0x1c505f?_0x156063(_0x1eb742,_0x4c4926):_0x1eb742,_0x416dd1=_0x200ba3['length']-0x1,_0x3721ae;_0x416dd1>=0x0;_0x416dd1--)(_0x3721ae=_0x200ba3[_0x416dd1])&&(_0x55dea1=_0x3721ae(_0x55dea1)||_0x55dea1);return _0x55dea1;},_0x388490=(_0xba35ac,_0x4c3f00)=>(_0x42351a,_0x164c67)=>_0x4c3f00(_0x42351a,_0x164c67,_0xba35ac);_0x44f94a['BrowserCollaborationSocketService']=class extends _0x792235[_0x151804(0x37f)]{constructor(_0x52a673,_0x4318ae,_0x27c055,_0x92d3a9,_0x46836b){super(_0x52a673,_0x4318ae,_0x27c055,_0x92d3a9,_0x46836b);}async[_0x151804(0x24f)](_0x2dfe33){const _0x417155=_0x151804,_0x1eff11=await this[_0x417155(0x340)](),_0x48407e=this['_createSocketURL'](_0x2dfe33,_0x1eff11);return this[_0x417155(0x143)](_0x48407e);}[_0x151804(0x2d9)](_0x541c27,_0x3cefd8){const _0x7a5eb8=_0x151804,_0x3624aa=typeof window>'u'?new URL(_0x541c27):new URL(_0x541c27,window[_0x7a5eb8(0x416)][_0x7a5eb8(0x3a5)]);_0x3624aa[_0x7a5eb8(0x171)]['set']('sessionTicket',_0x3cefd8);const _0x51f8c7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x7a5eb8(0x416)]['search']);return _0x51f8c7['get'](_0x7a5eb8(0x1c3))&&_0x3624aa[_0x7a5eb8(0x171)][_0x7a5eb8(0x2d7)](_0x7a5eb8(0x1c3),_0x51f8c7[_0x7a5eb8(0x1a2)](_0x7a5eb8(0x1c3))),_0x3624aa[_0x7a5eb8(0x41b)]();}async[_0x151804(0x340)](){const _0x2da27e=_0x151804;var _0x21ed0c,_0x251664,_0x1b711e;const _0x93389d=this[_0x2da27e(0x316)][_0x2da27e(0x14e)](_0x792235['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x22ffe2=(_0x21ed0c=_0x93389d==null?void 0x0:_0x93389d['wsSessionTicketUrl'])!=null?_0x21ed0c:_0x792235['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1b711e=(_0x251664=(await this[_0x2da27e(0x3b3)][_0x2da27e(0x1a2)](_0x22ffe2,{'headers':{'Content-Type':_0x2da27e(0x351)}}))[_0x2da27e(0x1a0)])==null?void 0x0:_0x251664[_0x2da27e(0x194)])!=null?_0x1b711e:'';}},_0x44f94a[_0x151804(0x288)]=_0x3d47fc([_0x388490(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x388490(0x1,_0x4b903d['Inject'](_0x58c3fa[_0x151804(0x3f1)])),_0x388490(0x2,_0x4b903d[_0x151804(0x281)]),_0x388490(0x3,_0x4b903d[_0x151804(0x1d4)]),_0x388490(0x4,_0x3810d3[_0x151804(0x1d0)])],_0x44f94a[_0x151804(0x288)]);var _0x2a2cc1=Object[_0x151804(0x277)],_0x218c89=(_0xb7d45f,_0x395535,_0x29b6d4,_0x2fc73b)=>{const _0x1ac305=_0x151804;for(var _0x198d14=_0x2fc73b>0x1?void 0x0:_0x2fc73b?_0x2a2cc1(_0x395535,_0x29b6d4):_0x395535,_0x56e45f=_0xb7d45f[_0x1ac305(0x3e7)]-0x1,_0x27d708;_0x56e45f>=0x0;_0x56e45f--)(_0x27d708=_0xb7d45f[_0x56e45f])&&(_0x198d14=_0x27d708(_0x198d14)||_0x198d14);return _0x198d14;},_0x1e0626=(_0x40f6b4,_0x4f08e9)=>(_0x1d6096,_0x400d47)=>_0x4f08e9(_0x1d6096,_0x400d47,_0x40f6b4);_0x44f94a['RemoteUniscriptService']=class extends _0x4b903d['Disposable']{constructor(_0x87d6d9,_0x5d0989,_0x3c744d){const _0x2de77a=_0x151804;super(),this[_0x2de77a(0x36c)]=_0x87d6d9,this[_0x2de77a(0x3b3)]=_0x5d0989,this[_0x2de77a(0x316)]=_0x3c744d;}async[_0x151804(0x14d)](_0x3f5fd0,_0x5aadaf,_0x5a32ca,..._0x5a3553){const _0xf6fe0e=_0x151804;var _0x3222f7,_0x5af4ce,_0x3fcd40,_0x492df4;const _0x2698e3=this[_0xf6fe0e(0x36c)][_0xf6fe0e(0x265)]();if(!_0x2698e3)throw new Error(_0xf6fe0e(0x147));const _0x155e1e=((_0x3222f7=this['_configService'][_0xf6fe0e(0x14e)](_0x792235[_0xf6fe0e(0x380)]))!=null?_0x3222f7:_0x792235['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3f5fd0+_0xf6fe0e(0x3fb)+_0x5aadaf,_0x2b5d6a=new URL(window[_0xf6fe0e(0x416)]['href']),_0x4f46db={'scriptId':_0x3f5fd0,'runId':(_0x5af4ce=_0x2b5d6a[_0xf6fe0e(0x171)][_0xf6fe0e(0x1a2)]('runId'))!=null?_0x5af4ce:'','function':_0x5aadaf,'unitId':_0x2698e3[_0xf6fe0e(0x192)](),'argsOfFunction':JSON[_0xf6fe0e(0x1aa)](_0x5a3553),'invokeId':(_0x3fcd40=_0x5a32ca[_0xf6fe0e(0x311)])!=null?_0x3fcd40:'','executionId':(_0x492df4=_0x5a32ca[_0xf6fe0e(0x3d4)])!=null?_0x492df4:''};try{const _0x4984da=await this[_0xf6fe0e(0x3b3)][_0xf6fe0e(0x257)](_0x155e1e,{'body':_0x4f46db});return _0x4984da[_0xf6fe0e(0x1a0)][_0xf6fe0e(0x2ff)]&&_0x4984da[_0xf6fe0e(0x1a0)][_0xf6fe0e(0x2ff)][_0xf6fe0e(0x378)]!==_0x36c5dc['OK']?_0xf6fe0e(0x285):_0x4984da[_0xf6fe0e(0x1a0)]['result'];}catch{return'Failed';}}},_0x44f94a[_0x151804(0x2d0)]=_0x218c89([_0x1e0626(0x0,_0x4b903d[_0x151804(0x342)]),_0x1e0626(0x1,_0x4b903d['Inject'](_0x58c3fa[_0x151804(0x3f1)])),_0x1e0626(0x2,_0x4b903d['IConfigService'])],_0x44f94a[_0x151804(0x2d0)]);const _0x12fa25=0x7530,_0x29a1d4=_0x151804(0x13d);class _0x1e7a25 extends _0x4b903d[_0x151804(0x176)]{constructor(){const _0x39a6e6=_0x151804;super(),_0x198f8a(this,_0x39a6e6(0x359),_0x4b903d[_0x39a6e6(0x24b)]()),_0x198f8a(this,_0x39a6e6(0x33c),new Set()),_0x198f8a(this,_0x39a6e6(0x3b1),new Map()),_0x198f8a(this,_0x39a6e6(0x1b4),null),_0x198f8a(this,_0x39a6e6(0x1b5),new Map()),_0x198f8a(this,'_unitStatus',new Map()),this[_0x39a6e6(0x1b2)]();}[_0x151804(0x2b9)](){const _0x12e693=_0x151804;super[_0x12e693(0x2b9)](),this[_0x12e693(0x1b5)][_0x12e693(0x293)]((_0x5dfdfe,_0x70ea09)=>this['_removeClearOtherTimer'](_0x70ea09)),this[_0x12e693(0x1b4)]&&window[_0x12e693(0x19e)](this[_0x12e693(0x1b4)]);}[_0x151804(0x26a)](_0x36d58a){const _0x2039b1=_0x151804;return this[_0x2039b1(0x41d)](_0x36d58a)[_0x2039b1(0x2cc)](_0xdde2a6['distinctUntilChanged']());}[_0x151804(0x403)](_0x32c162){const _0x39e977=_0x151804;this['_selfUnitIDs'][_0x39e977(0x2fd)]===0x0&&this[_0x39e977(0x29e)](),this[_0x39e977(0x33c)][_0x39e977(0x14a)](_0x32c162),this[_0x39e977(0x16a)]({'type':0x0,'memberID':this[_0x39e977(0x359)],'unitIDs':[_0x32c162],'isForwarded':!0x1});}['disposeUnit'](_0x19dd41){const _0x360547=_0x151804;this[_0x360547(0x33c)]['delete'](_0x19dd41),this[_0x360547(0x33c)][_0x360547(0x2fd)]===0x0&&this[_0x360547(0x1b4)]&&window['clearInterval'](this[_0x360547(0x1b4)]);}[_0x151804(0x1b2)](){const _0x319969=_0x151804;this[_0x319969(0x2f8)](_0x4b903d[_0x319969(0x402)](_0xdde2a6['fromEvent'](window,'storage')[_0x319969(0x24d)](_0x5c8a6c=>{const _0x15dadd=_0x319969;if(_0x5c8a6c['key']!==_0x29a1d4||!_0x5c8a6c[_0x15dadd(0x2f6)])return;const _0x20ac6a=JSON['parse'](_0x5c8a6c[_0x15dadd(0x2f6)]);this[_0x15dadd(0x1e2)](_0x20ac6a);}))),window['addEventListener'](_0x319969(0x3c0),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x319969(0x2bd)](this['_selfUnitIDs'])}));}[_0x151804(0x1e2)](_0x424023){const _0x1883b0=_0x151804;switch(_0x424023[_0x1883b0(0x276)]){case 0x0:this[_0x1883b0(0x290)](_0x424023);break;case 0x1:this[_0x1883b0(0x33b)](_0x424023);break;case 0x2:this[_0x1883b0(0x205)](_0x424023);break;}}['_handleJoinEvent'](_0x5030e7){const _0x46e15e=_0x151804,{unitIDs:_0x53760f,memberID:_0x3e178a,isForwarded:_0x409445}=_0x5030e7;_0x53760f['forEach'](_0x121148=>{const _0x5f0bbe=_0x533d;if(!_0x409445&&this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x326)](_0x121148)&&this[_0x5f0bbe(0x41d)](_0x121148)[_0x5f0bbe(0x3ef)](_0x792235[_0x5f0bbe(0x3a7)][_0x5f0bbe(0x372)]),!this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x326)](_0x121148)||!this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x1a2)](_0x121148)['has'](_0x3e178a)){const _0x5845aa=this['_unitOnClients'][_0x5f0bbe(0x1a2)](_0x121148)||new Set();_0x5845aa['add'](_0x3e178a),this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x2d7)](_0x121148,_0x5845aa),this[_0x5f0bbe(0x234)](_0x3e178a);}}),_0x409445||this['_send']({'type':0x0,'memberID':this[_0x46e15e(0x359)],'unitIDs':[...this[_0x46e15e(0x33c)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x9f3efd){const _0x29fe78=_0x151804;this[_0x29fe78(0x2c0)](_0x9f3efd);const _0x1d6389=window[_0x29fe78(0x3e5)](()=>{const _0x239fc1=_0x29fe78;this['_unitOnClients'][_0x239fc1(0x293)](_0x5b958f=>{const _0x178594=_0x239fc1;_0x5b958f[_0x178594(0x312)](_0x9f3efd);});},_0x12fa25*0x2);this[_0x29fe78(0x1b5)][_0x29fe78(0x2d7)](_0x9f3efd,_0x1d6389);}[_0x151804(0x2c0)](_0x197021){const _0x635a=_0x151804;if(this[_0x635a(0x1b5)][_0x635a(0x326)](_0x197021)){const _0x3238ce=this['_clearOtherTimers']['get'](_0x197021);_0x3238ce&&window[_0x635a(0x40a)](_0x3238ce),this[_0x635a(0x1b5)]['set'](_0x197021,null);}}[_0x151804(0x33b)](_0x1b1de7){const _0x5c4acf=_0x151804,{memberID:_0x35d6b5,unitIDs:_0x1d4692}=_0x1b1de7;_0x1d4692[_0x5c4acf(0x293)](_0x58c00b=>{const _0x102ab3=_0x5c4acf;var _0x12d519;const _0x4325a3=this['_unitOnClients'][_0x102ab3(0x1a2)](_0x58c00b);_0x4325a3&&(_0x4325a3[_0x102ab3(0x312)](_0x35d6b5),(_0x12d519=this[_0x102ab3(0x41d)](_0x58c00b))==null||_0x12d519[_0x102ab3(0x3ef)](_0x4325a3[_0x102ab3(0x2fd)]===0x0?_0x792235[_0x102ab3(0x3a7)]['NO_OTHER_CLIENTS_EDITING']:_0x792235[_0x102ab3(0x3a7)][_0x102ab3(0x372)]));}),this[_0x5c4acf(0x2c0)](_0x35d6b5);}['_handleHeartbeatEvent'](_0x506b98){const _0x137de3=_0x151804;this[_0x137de3(0x234)](_0x506b98['memberID']);}[_0x151804(0x16a)](_0x45b5b1){const _0x4133da=_0x151804;localStorage['setItem'](_0x29a1d4,JSON[_0x4133da(0x1aa)](_0x45b5b1));}[_0x151804(0x29e)](){const _0x100bd9=_0x151804;this[_0x100bd9(0x1b4)]=window['setInterval'](()=>{const _0x18201b=_0x100bd9;this[_0x18201b(0x16a)]({'type':0x2,'memberID':this[_0x18201b(0x359)]});},_0x12fa25);}[_0x151804(0x41d)](_0x229923){const _0x16b3c4=_0x151804;return this[_0x16b3c4(0x406)][_0x16b3c4(0x326)](_0x229923)||this[_0x16b3c4(0x406)][_0x16b3c4(0x2d7)](_0x229923,new _0xdde2a6[(_0x16b3c4(0x2f9))](_0x792235[_0x16b3c4(0x3a7)][_0x16b3c4(0x2e7)])),this[_0x16b3c4(0x406)][_0x16b3c4(0x1a2)](_0x229923);}}_0x44f94a[_0x151804(0x3d9)]=_0x1c59a7,_0x44f94a[_0x151804(0x361)]=_0x105416,_0x44f94a[_0x151804(0x157)]=_0x1e7a25,_0x44f94a[_0x151804(0x2cd)]=_0x551a25,Object['defineProperty'](_0x44f94a,Symbol[_0x151804(0x1f3)],{'value':_0x151804(0x151)});}));function _0x4307(){const _0x1f45f1=['ALREADY_EXISTS','_cursorShapes','_draw','_updateSubUnitFromURLParams','has','function','PERMISSION_DENIED','0\x200\x2017\x2016','getRenderById','svg','YUUMI_RATE_OVER_LIMIT','990AFCeXy','ICommandService','addClipboardHook','unit','handleIRemoveRow','defIds','getUnit','_refreshCollabCursors','Plugin','_initEvent','_clearPolling','_logService','_checkCalculationAvailable','entityInit$','_handleLeaveEvent','_selfUnitIDs','bottom','getColorFromTheme','UniverDrawing','_getSessionTicket','_getScale','IUniverInstanceService','handleInsertCol','@univerjs/design','_getAnchorBounding','LOGIN_TOKEN_PROCESSING_FAILED','_getSaveTimeout','UNAUTHENTICATED','_hover','_shapes','_docSkeletonManagerService','CollaborationUIEventService','mutations','collab-text-range-','loadUnit','NodePositionConvertToCursor','application/json','_localStorageService','onMouseMove','ENTITLE_NEED_BILLING_ADDRESS','width','_docTransformIMECacheService','onPointerEnter$','transformStateCache','_id','onPointerLeave$','_startCalculationLimit','redoState','RxDisposable','white','ColorKit','getCurrentUnitForType','SheetCollabCursorShape','doc.mutation.rich-text-editing','1XPYPoh','url(#off-line-icon_clip0_910_343)','defs','releaseFormulaLimitUrl','idSuffix','_scheduleSaving','getVpScrollXYInfoByPosToVp','backgroundColor','unitID','_instanceService','includes','forwardRef','_refRangeService','colno','unhandledrejection','OTHER_CLIENTS_EDITING','isArray','_maxFormulaLimit','_imageIoService','formula.calculation.unable','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','code','PAYMENT_CHANNEL_NOT_SUPPORT','DeleteRangeMoveLeftCommandId','getRangePointData','createInstance','url(#on-line-icon_clip0_910_349)','univerjs-icon\x20univerjs-icon-','CollaborationSocketService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_cachedData','setUndoRedoMutationParamsCache','_syncEditingCollabCursorService','UniverSheetsUi','fill','max','INVALID_INVITE_CODE','div','all','APPLY_DUPLICATED','_session','DeleteRangeMoveUpCommandId','dirtyRanges','handleDeleteRangeMoveUp','loadOfflineData','_initCommandExecutedListener','_memberID','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','OTHER_CLIENT_EDITING','find','Tools','SOCKET_FAILED','UniverProCollaborationClientUi','_memberService','_initUnhandledRejectionListener','contains','then','colorChannel1','urlChange$','getSkeleton','APPLY_REJECT','_messageService','_taskIds','_themeService','SHEET_VIEWPORT_KEY','findNodePositionByCharIndex','origin','#FFF','UnitStatus','formula.calculation.waiting','MUTATION','ITransformService','[LogService\x20Error]:\x20','_setFormulaLimitStatus','off-line-icon','RemoveRowCommandId','transformByState','history','_unitOnClients','init','_httpService','React','stack','YUUMI_CONNECTOR_URL_NOT_FOUND','_setupSubUnitSync','LICENSE_IMPORT_SIZE_EXCEEDED','_beforeCloseService','_hideTimer','send','addEventListener','_renderManagerService','_getSheetObject','_uploadLog','unload','_range','_assignedColors','DocSkeletonManagerService','MessageType','_color','COMPLETION_FINISHED','onLocalMutation','ENTITLE_USE_COUPON_NOT_1ST_TRADE','isTransformMutationFailure','WECHAT_HAS_BEEN_BOUND','moveTo','getSheetBySheetId','UniverEngineRender','ThemeService','21AHKcII','_dataLoaderService','REDEMPTION_INVALID_CODE','addObjects','sheetID','executionId','beforeCommandExecuted','hovered','message','syncEditingCollabCursor','IURLService','touchDependencies','collaboration.offline-data-not-saved','RECT','INVITE_CODE_REQUIRED','LocaleService','NOT_FOUND','_backgroundColor','_collabSessionService','getCellPositionByOffset','entries','on-line-icon_clip0_910_349','setTimeout','assign','length','amd','getParam','REDEMPTION_CODE_NOT_STARTED','join','onTransformChange$','deepClone','text','next','getCurrent','HTTPService','blue.400','getAncestorScale','measureText','connectInjector','transform','setAlpha','_setupBeforeClosingHandler','YUUMI_URL_COL_OUT_OF_RANGE','INTERNAL_ERROR','/run/','operators','executeCommand','split','PY_RUNTIME_SCRIPT_ERROR','USER_NOT_FOUND','Rectangle','toDisposable','editingUnit','_monkeyPatchLogService','_lastPointer','_unitStatus','[CollaborationDataLoaderController]','getTypeOfUnitAdded$','_updateURLWithCurrentState','clearTimeout','substring','url(#$1','green.600','_docTransformStateCacheService','data','_injector','FromArray','createIdentifier','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','focused$','_startSheetCollabCursor','location','_updateCollabCursors','getOffsetConfig','transformIMECache','_initResize','toString','CONFLICT','_ensureSubject','subUnitId','_docSyncEditingCollabCursorService','subunit','InsertRangeMoveRightCommandId','DocCollaborationEntity','complete','LICENSE_EXPORT_SIZE_EXCEEDED','_scene','_context','DATA_SOURCE_TOO_LARGE','ACTIVE_UNIT_EVENT_CHANNEL','triggerDblclick','REDEMPTION_CODE_FULLY_REDEEMED','_colorIndex','?taskId=','_entityInit$','_doCreateSocket','enableLocalCache','_getMergeRange','_textBubble','[RemoteUniscriptService]:\x20no\x20focused\x20unit','APPLY_REVISION_CONFILICT','REDEMPTION_CODE_INACTIVE','add','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','session.connection-failed','runOnServer','getConfig','stage','SetWorksheetActivateCommand','Module','pushState','LICENSE_MAX_UNITS_EXCEEDED','collab-text-anchor-','registerRenderModule','DisposableCollection','WebBrowserSingleActiveUnitService','useCallback','CollaborationUIEventId','string','event$','roomMembers$','startColumn','IUIPartsService','DependentOn','restore','collabStatus.offline','Shape','defineProperty','Tooltip','YUUMI_UNABLE_LOAD_URL','RemoveColCommandId','CollaborationSessionService','currentTheme$','getActiveSheet','_send','_collaborationSessionService','2966337mySpKM','SOCKET_FAILED_RETRY','off-line-icon_clip0_910_343','HEADER_MENU','getCellMatrix','searchParams','[Unhandled\x20Rejection]:\x20','textRanges','setParam','InsertColCommandId','Disposable','getActiveRange','UniverCollaborationClientPlugin','_labelPosition','42lzcPDT','useDependency','CollaborationStatus','getLocalCacheKey','hide','_handleHover','_anchor','CONNECTOR_DATA_TOO_LARGE','filter','UniverDocs','unshift','@univerjs/sheets','href','_applyCommand','REDEMPTION_USER_NOT_ELIGIBLE','MemberService','getUndoRedoMutationParamsCache','UniverCore','_config','Inject','children','purple.300','TEXT','_toggleOnline','getUnitId','_onCursorUpdate','ticket','CanceledError','getUniverSheetInstance','xlink:href','UniverInstanceType','554706RqQdGQ','_saveTaskMap','memberID','_sheetSkeletonManagerService','SNAPSHOT_INVALID_SNAPSHOT','clearInterval','_initWindowErrorListener','body','yellow.400','get','some','_collabCursorState$','asObservable','useObservable','onStarting','m1Prime','unitId','stringify','_drawRectRange','isFormulaString','combineLatest','_docTransformSelectionsService','@univerjs/ui','totalFormulasToCalculate','ENTITLE_DUP_SUBSCRIPTION','_init','getUnhiddenWorksheets','_heartbeatTimer','_clearOtherTimers','with','IDocClipboardService','registerBeforeClose','UNIVER_DOC','getViewport','_startDocCollabCursor','actions','_hovered','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','cursorInfo','collabStatus.synced','_initStatusComponent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','runId','Optional','UNRECOGNIZED','_commandService','debounceTime','round','flatMap','unsubscribe','params','USER_IS_ANONYMOUS','min','mask','color','ISnapshotServerService','exhaustSavingTask','save','ENTITLE_COUPON_USED_UP','ILogService','reconnect','getCoordByCell','fromEvent','reason','startRow','_urlService','jiqing.500','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_initStatusListener','NodePositionConvertToRectRange','current','_drawTextRange','IMessageService','_handleEvent','getSheetObject','_getFormulaLimitStatus','handleInsertRangeMoveRight','LOCAL_CACHE_INTERVAL','rgba(255,\x20255,\x20255,\x200.01)','_cursor','OFFLINE','currentSkeleton$','push','[Window\x20Error]:\x20','getSheetId','RefRangeService','black','FETCH_MISS','APPLY_NON_SEQUENTIAL_REVISION','START_CALCULATION','toStringTag','sessionStatus$','1481104SfAxqi','DOC_RANGE_TYPE','collaboration.closeRoom','endRow','ENTITLE_REPORT_LIMIT_EXCEED','replaceDocRanges','saveTaskMap','path','isActive','_roomMembers$','isTransformMutationsWithChangesetSuccess','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UniverDocsUi','@univerjs/drawing','LOGIN_FAILED','DocIMEInputManagerService','_handleHeartbeatEvent','column','permission.content','handleMoveRange','@univerjs/rpc','INVITE_CODE_HAS_BEEN_UES','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setItem','now','subscribeEvent','whenReady','SNAPSHOT_HAS_BEEN_REMOVED','USERS_LEAVE','57501dmabcy','@univerjs-pro/collaboration','switchMap','imageSourceType','@univerjs/docs-ui','throttleTime','registerComponent','CollaborationEvent','_transformService','attrs','ENTITLE_INSUFFICIENT_QUOTA','_onRefRangeChange','USER_NOT_INVITED_CODE','UNIVER_SHEET','RichTextEditingMutation','_initEntityListener','_revisionService','addHandlerCallback','_univerInstanceService','_collaborationUIEventService','SessionStatus','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','maxFormulaLimit','Workbook','formula.calculation.started','roomMembers','_docStateChangeManagerService','_transformUndoRedoStack','DocSelectionManagerService','collabStatus.conflict','red.300','closePath','_showGuardMessage','SetFormulaCalculationNotificationMutation','_scheduleClearOtherTimer','fillStyle','getStateCache','_registerDependencies','FormulaExecutedStateType','createElement','clipPath','fillText','RegularPolygon','YUUMI_ASYNCIO_CANCELLED','takeUntil','AWAITING','_transformPreviousActiveRange','_pollingInterval','1570540ABCoSF','Rect','transformMutation','functionsExecutedState','toRgbString','height','getMemberID','_cursors','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','generateRandomId','Unknown\x20user','subscribe','source','createSocket','lineTo','_status$','_uiPartsService','evenodd','UniverProCollaboration','catch','@univerjs/docs','post','random','collabStatus.notCollab','CHANGESET_REVISION_CONFILICT','m2Prime','InsertRangeMoveDownCommandId','UniverDesign','limitInfo','JOIN_ROOM_FAILED','translate(.97)','...','isEditing','_online','YUUMI_NO_CUBOID_FOR_QUESTION','getFocusedUnit','_removeCollabCursors','_saveCache','_collaborationController','_initUserListener','getUnitStatus$','font','currentColor','fromEventSubject','updateOfflineData','ENTITLE_CHAT_LIMIT_EXCEED','_currentUsage','getMergeData','SUCCESS','transformMutationsWithChangeset','debug','setStateCache','type','getOwnPropertyDescriptor','CollaborationDataLoaderController','/universer-api/license/formula/limit/done','TOO_MANY_REQUESTS','values','currentUsage','_document','session.will-retry','69670SfFGvj','onCommandExecuted','IConfigService','_cursorInfo$','NOT_COLLAB','UNDEFINED','Failed','UniverRpc','1em','BrowserCollaborationSocketService','addObject','tag','_lastResponseTimestamp','getCollabCursors$','Injector','UniverSheets','MOBILE_VERIFY_CODE_MISMATCH','_handleJoinEvent','COLORS','_toggleOffline','forEach','endColumn','SetDocZoomRatioOperation','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Success','ERROR_AGAIN','_eventUnsubscribe','ENTITLE_COUPON_EXPIRED','UniverIcon','@univerjs-pro/collaboration-client','getCurrentRevOfUnit','_scheduleHeartbeat','cursorInfo$','status$','Error','map','getMember','drawWith','WebSocketService','@univerjs/sheets-ui','resize','ENSURE_SNAPSHOT_EXECUTION','Loading','getColor','_hasFormulaInDirtyRanges','debounce','selections','SetFormulaCalculationStartMutation','selection','rxjs','UPDATE_CURSOR','sheetId','removeEventListener','lineno','INVITE_CODE_ALREADY_BOUND','_checkAndWaitForCalculationPermission','eventID','transformSelections','dispose','registerRefRange','collabCursorState$','_docClipboardService','from','APPLY_PERMISSION_DENIED','SetTextSelectionsOperation','_removeClearOtherTimer','_anchorDot','setShapeProps','UniverCollaborationClientUIPlugin','row','disableLocalCache','LOCAL_CACHE_INTERVAL_KEY','enableFrontendLog','saveImage','fillRule','getTypeOfUnitDisposed$','univer-mr-2\x20univer-flex\x20univer-text-xl','pipe','WebURLService','DesktopCollaborationStatusDisplayController','_name','RemoteUniscriptService','skeleton','setActiveRange','_initCommandInterceptor','show','getCurrentSelections','name','set','object','_createSocketURL','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_initDependencies','range','replace','handleDeleteRangeMoveLeft','_updateLocalCursor','MoveRangeCommandId','PENDING','_releaseCalculationLimit','labelPosition','_notificationService','LICENSE_DISTRO_REJECTED','jsx','NO_OTHER_CLIENTS_EDITING','stageInfo','exports','_entities','_collabCursorController','EMAIL_HAS_BEEN_BOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','ENTITLE_INVALID_COUPON_CODE','dispose$','YUUMI_SUBSCRIPTION_NOT_FOUND','REDEMPTION_USER_REDEEM_TIMES_EXCEED','INotificationService','handleInsertRangeMoveDown','TEXT_RANGE_LAYER_INDEX','transformRemoteChangeset','newValue','UniverNetwork','disposeWithMe','BehaviorSubject','IRenderManagerService','replaceState','_onCursorDelete','size','285147NgoZnr','error','getRelativeToViewportCoord','EMAIL_VERIFY_CODE_MISMATCH','use','MOBILE_HAS_BEEN_BOUND','_localeService','_transformHistoryAndStateStack','_localCacheService','ranges','Warning','useRef','deserializeRangeWithSheet','collabStatus.syncing','mergeOverrideWithDependencies','ENTITLE_CAN_NOT_BUY_LOWER_OTP','merge','isFormulaId','onRendered','invokeId','delete','getValue','handleInsertRow','makeDirty','_configService','trim','displayName','_render','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','EffectRefRangId','_registerRenderDependencies','_drawAnchor','M0\x200H16V16H0z','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DocStateChangeManagerService','INVALID_ARGUMENT'];_0x4307=function(){return _0x1f45f1;};return _0x4307();}
8
+ function _0x7e28(){const _0x2bee20=['getLocalCacheKey','UniverSheets','totalFormulasToCalculate','loadOfflineData','mutations','_updateURLWithCurrentState','reconnect','backgroundColor','_clearPolling','ITransformService','_commandService','_range','uni.network.url-service','formula.calculation.waiting','InsertRowCommandId','_logService','addObjects','bind','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','onCommandExecuted','all','add','_scheduleSaving','_unitStatus','@univerjs/engine-formula','TEXT_RANGE_LAYER_INDEX','getSheetId','setUndoRedoMutationParamsCache','RemoteUniscriptService','key','registerBeforeClose','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','getUnit','clearInterval','getFocusedUnit','_send','INVITE_CODE_REQUIRED','collaboration.closeRoom','CollaborationEvent','REDEMPTION_USER_NOT_ELIGIBLE','430dvSytx','LICENSE_DISTRO_REJECTED','ENTITLE_CHAT_LIMIT_EXCEED','UniverSheetsUi','createInstance','_memberID','replace','unsubscribe','svg','_transformHistoryAndStateStack','takeUntil','IConfigService','stageInfo','off-line-icon_clip0_910_343','APPLY_REVISION_CONFILICT','SUCCESS','YUUMI_ASYNCIO_CANCELLED','_revisionService','filename','unshift','UNRECOGNIZED','roomMembers$','_cursorShapes','Success','973314OsUmFn','collabCursorState$','BehaviorSubject','eventID','collabStatus.fetchMiss','parse','transformIMECache','debounceTime','_online','_hasFormulaInDirtyRanges','_docTransformSelectionsService','_initUnhandledRejectionListener','event$','setItem','setTimeout','clsx','attrs','DisposableCollection','SetWorksheetActivateCommand','Subject','UniverEngineFormula','none','@univerjs/core','React','RxDisposable','IDocClipboardService','CanceledError','MUTATION','getActiveRange','entries','SOCKET_FAILED','blue.400','UniverDocsUi','getUnhiddenWorksheets','fillStyle','getTypeOfUnitAdded$','debounce','_uploadLog','map','_name','#FFF','createSocket','memberID','complete','_ensureSubject','_backgroundColor','useCallback','LOGIN_FAILED','_updateCollabCursors','init','disposeUnit','EMAIL_HAS_BEEN_BOUND','deserializeRangeWithSheet','code','_monkeyPatchLogService','origin','some','div','forEach','isFormulaString','saveImage','handleMoveRange','deepClone','RevisionService','min','UniverEngineRender','_handleHover','ranges','enableFrontendLog','UNIVER_SHEET','@univerjs/sheets-ui','triggerDblclick','releaseFormulaLimitUrl','_messageService','@univerjs/docs-ui','_initWindowErrorListener','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_renderManagerService','getConfig','subscribeEvent','getOffsetConfig','getColorFromTheme','runRefRangeMutations','UnitStatus','length','useDependency','INVALID_ARGUMENT','xlink:href','hide','entityInit$','ICommandService','editingUnit','_cursorInfo$','LOGIN_TOKEN_PROCESSING_FAILED','_cursor','getSkeleton','clearTimeout','_onRefRangeChange','transformRemoteChangeset','ENTITLE_REPORT_LIMIT_EXCEED','REDEMPTION_CODE_INACTIVE','assign','_collaborationSessionService','253617ACqyEI','max','range','_beforeCloseService','clipPath','COMPLETION_FINISHED','_getSaveTimeout','isActive','_getFormulaLimitStatus','next','1em','?taskId=','IBeforeCloseService','_localStorageService','session.connection-failed','_updateLocalCursor','whenReady','getActiveSheet','collabStatus.conflict','dispose','getCollabCursors$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_roomMembers$','_startSheetCollabCursor','getDocRanges','MemberService','ENTITLE_COUPON_USED_UP','status$','_getScale','USER_NOT_INVITED_CODE','formula.calculation.unable','useObservable','_entityInit$','disposeWithMe','MOBILE_VERIFY_CODE_MISMATCH','selection','_transformService','_uiPartsService','toDisposable','_session','RemoveRowCommandId','_handleLeaveEvent','registerRefRange','white','_initCommandExecutedListener','@univerjs/design','exhaustSavingTask','_themeService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','split','5915dfkAws','lineno','_notificationService','transformMutationsWithChangeset','location','redoState','collabStatus.offline','CollaborationSessionService','...','IUIPartsService','collaboration-client-ui.config','children','Workbook','restore','UniverInstanceType','IMessageService','OFFLINE','getMemberID','InsertRangeMoveDownCommandId','reason','makeDirty','_context','translate(.97)','ALREADY_EXISTS','_initCommandInterceptor','unit','useRef','ticket','data','_startDocCollabCursor','params','_heartbeatTimer','CONFLICT','pluginName','_transformPreviousActiveRange','@univerjs/docs','IUniverInstanceService','subunit','bottom','handleInsertRangeMoveDown','_registerRenderDependencies','disableLocalCache','/universer-api/frontend/logs','@univerjs/engine-render','column','CommandType','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_localCacheService','SetFormulaCalculationStartMutation','createElement','DocIMEInputManagerService','focused$','SUBMIT_CHANGESET_TIMEOUT','_docTransformStateCacheService','HTTPService','pushState','CollaborationUIEventService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','setInterval','getValue','FromArray','executeCommand','Tools','ERROR_AGAIN','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collabStatus.notCollab','SOCKET_FAILED_RETRY','ISocketService','show','_urlService','UniverProCollaborationClient','throttleTime','LocaleService','arc','string','_onCursorUpdate','WebURLService','_textBubble','UniverDesign','RichTextEditingMutation','type','_createSocketURL','mergeOverrideWithDependencies','onPointerEnter$','text','_collabSessionService','442920qLmzmO','getCoordByCell','_cursors','CollaborationStatus','engine','_releaseCalculationLimit','toStringTag','forwardRef','_docSkeletonManagerService','merge','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','getCurrent','isTransformMutationFailure','_clearOtherTimers','ENTITLE_COUPON_EXPIRED','defineProperty','collaboration.offline-data-not-saved','size','now','ENTITLE_INVALID_COUPON_CODE','startFormulaLimitUrl','SheetsSelectionsService','APPLY_REJECT','url(#on-line-icon_clip0_910_349)','currentSkeleton$','onRendered','Unknown\x20user','setActiveRange','_init','_transformUndoRedoStack','OTHER_CLIENT_EDITING','_hovered','DeleteRangeMoveUpCommandId','assignAColorForMemberID','switchMap','row','debug','Tooltip','Rect','round','trim','filter','@univerjs-pro/collaboration','_saveTaskMap','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_configService','_lastResponseTimestamp','_getAnchorBounding','UNIVER_DOC','transformStateCache','_initStatusComponent','toString','jsx','YUUMI_SUBSCRIPTION_NOT_FOUND','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getMergeData','onLocalMutation','ILocalStorageService','startRow','defs','post','_refRangeService','startsWith','_docStateChangeManagerService','IImageIoService','registerDependencies','_collaborationController','searchParams','INVITE_CODE_ALREADY_BOUND','_removeClearOtherTimer','lineTo','transformSelections','function','roomMembers','combineLatest','override','Plugin','undoState','AWAITING','ILogService','rxjs','_onCursorDelete','docStateChange$','findNodePositionByCharIndex','unitId','_initResize','_scheduleClearOtherTimer','INTERNAL_ERROR','InsertColCommandId','Disposable','push','random','font','SessionStatus','_initEvent','USER_IS_ANONYMOUS','getUndoRedoMutationParamsCache','onMouseMove','PAYMENT_CHANNEL_NOT_SUPPORT','_docSyncEditingCollabCursorService','getUniverSheetInstance','textRanges','top','_scene','send','newValue','UniverCollaborationClientUIPlugin','skeleton','ILocalCacheService','UniverNetwork','PY_RUNTIME_SCRIPT_ERROR','INVITE_CODE_HAS_BEEN_UES','black','mask','unhandledrejection','handleDeleteRangeMoveUp','isFormulaId','COLORS','http://www.w3.org/2000/svg','getCellMatrix','REDEMPTION_CODE_NOT_STARTED','REDEMPTION_CODE_HAS_BEEN_CREATED','beginPath','SetDocZoomRatioOperation','CURRENT_STATUS_CANNOT_OPERATE','_docClipboardService','onPointerLeave$','beforeCommandExecuted','_color','permission.title','USER_NOT_FOUND','_applyCommand','WebSocketService','message','isArray','_getSessionTicket','_collaborationUIEventService','socket$','_collabCursorController','getCurrentRevOfUnit','/universer-api/license/formula/limit/status','_unitOnClients','session.will-retry','m1Prime','ThemeService','path','session.collaboration-timeout','_colorAssignService','DataLoaderService','_anchorDot','doc.mutation.rich-text-editing','55vLypGa','color','urlChange$','_setFormulaLimitStatus','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initDependencies','CollaborationUIEventId','on-line-icon_clip0_910_349','BuiltInUIPart','save','_getSheetObject','unitID','_pollingInterval','_updateSubUnitFromURLParams','getAncestorScale','_hover','YUUMI_NO_CUBOID_FOR_QUESTION','CHANGESET_REVISION_CONFILICT','_scheduleHeartbeat','DeleteRangeMoveLeftCommandId','2094DQAqfS','SNAPSHOT_HAS_BEEN_REMOVED','onPointerMove$','2214zRZKBB','parseInt','find','univerjs-icon\x20univerjs-icon-','MessageType','[Unhandled\x20Rejection]:\x20','DEFAULT_WS_SESSION_TICKET_URL','MOBILE_HAS_BEEN_BOUND','_maxFormulaLimit','RegularPolygon','REDEMPTION_CODE_FULLY_REDEEMED','NodePositionConvertToCursor','jiqing.500','includes','_showGuardMessage','values','react/jsx-runtime','DOC_RANGE_TYPE','APPLY_PERMISSION_DENIED','currentColor','getCellPositionByOffset','623060GqMLAY','_docTransformIMECacheService','CollaborationController','_initUserListener','WECHAT_HAS_BEEN_BOUND','HEADER_MENU','getSheetObject','EMAIL_VERIFY_CODE_MISMATCH','SHEET_VIEWPORT_KEY','NodePositionConvertToRectRange','@univerjs-pro/collaboration-client','CollaborationSocketService','Inject','saveTaskMap','startColumn','runOnServer','_selfUnitIDs','height','from','ENTITLE_INSUFFICIENT_QUOTA','dispose$','toRgbString','17396fclRKI','collab-client.tooltip.reconnect','YUUMI_RATE_OVER_LIMIT','PERMISSION_DENIED','_draw','_checkAndWaitForCalculationPermission','_dataLoaderService','_toggleOffline','DesktopCollaborationStatusDisplayController','ENTITLE_NEED_BILLING_ADDRESS','getParam','cursorInfo$','YUUMI_UNABLE_LOAD_URL','href','NO_OTHER_CLIENTS_EDITING','_entities','symbol','_id','IRenderManagerService','setParam','_anchor','_saveCache','activeSheet$','m2Prime','cursorInfo','_eventUnsubscribe','_config','_instanceService','Module','_setupBeforeClosingHandler','UNAUTHENTICATED','_setupSubUnitSync','green.600','_removeCollabCursors','fromEvent','Failed','has','connectInjector','RefRangeService','NOT_FOUND','LICENSE_IMPORT_SIZE_EXCEEDED','EffectRefRangId','USERS_LEAVE','sessionStatus$','RECT','getUnitStatus$','subUnitId','_initStatusListener','collab-rect-range-','_drawTextRange','get','_cachedData','LOCAL_CACHE_INTERVAL_KEY','setShapeProps','VIEW_MAIN','isTransformMutationsWithChangesetSuccess','FormulaExecutedStateType','NOT_COLLAB','_handleJoinEvent','IRemoteInstanceService','tag','history','on-line-icon','removeEventListener','subscribe','REDEMPTION_INVALID_CODE','setStateCache','TEXT','ColorKit','JOIN_ROOM_FAILED','colno','addEventListener','delete','Injector','evenodd','UniverCore','@univerjs/sheets','/run/','_colorIndex','ONLINE','YUUMI_URL_COL_OUT_OF_RANGE','LICENSE_MAX_UNITS_EXCEEDED','IURLService','shift','moveTo','UniverIcon','_localeService','syncEditingCollabCursor','maxFormulaLimit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','closePath','_memberService','endRow','_disabled','Warning','DocSelectionManagerService','set','YUUMI_CONNECTOR_URL_NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_NON_SEQUENTIAL_REVISION','Rectangle','SetSelectionsOperation','generateRandomId','selections','_httpService','fromEventSubject','_lastPointer','measureText','getUnitId','handleInsertRow','_drawAnchor','registerComponent','stack','touchDependencies','with','_getMergeRange','getMember','\x20at\x20','addObject','_drawRectRange','SheetSkeletonManagerService','_labelPosition','PENDING','getTypeOfUnitDisposed$','stringify','colorChannel1','body','_collabCursorState$','_syncEditingCollabCursorService','replaceState','collabStatus.synced','name','collabStatus.syncing','getOwnPropertyDescriptor','_document','requireSession','_currentUsage','ENSURE_SNAPSHOT_EXECUTION','BrowserCollaborationSocketService','saveOfflineData','amd','UniverDocs','_taskIds','drawWith','registerRenderModule','jsxs','asObservable','transformMutation','SNAPSHOT_INVALID_SNAPSHOT','error','getSheetBySheetId','react','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','limitInfo','CLOSE_ROOM','idSuffix','use','rgba(255,\x20255,\x20255,\x200.01)','_checkCalculationAvailable','UniverProCollaborationClientUi','sessionTicket','width','invokeId','_refreshCollabCursors','getRenderById','_hideTimer','sheetId','fillText','endColumn','object','Loading','removeParam','YUUMI_ALL_TABLES_IS_INVALID','getCollabEntity$','_shapes','pipe','/universer-api/license/formula/limit/start','_render','runId','_assignedColors','application/json','DependentOn','collab-text-anchor-','setAlpha','UniverCollaborationClientPlugin','784ExmXNt','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','then','FormulaExecuteStageType','_registerDependencies','START_CALCULATION','[Window\x20Error]:\x20','_status$','_handleEvent','_injector','getRangePointData','_initEntityListener','_univerInstanceService','setConfig','_sheetSkeletonManagerService','flatMap','Shape','current','0\x200\x2017\x2016','[CollaborationDataLoaderController]','getColor','fill','currentTheme$','Error','UNDEFINED','Vector2','formula.calculation.started','CONNECTOR_DATA_TOO_LARGE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','red.300','RemoveColCommandId','CollaborationDataLoaderController','UPDATE_CURSOR','UniverUi','displayName','wsSessionTicketUrl'];_0x7e28=function(){return _0x2bee20;};return _0x7e28();}function _0x33b0(_0x3fc460,_0xad95c){_0x3fc460=_0x3fc460-0x6e;const _0x7e2888=_0x7e28();let _0x33b0ca=_0x7e2888[_0x3fc460];return _0x33b0ca;}(function(_0x143a9e,_0x27e87c){const _0x5d7621=_0x33b0,_0x4e1576=_0x143a9e();while(!![]){try{const _0x85f168=-parseInt(_0x5d7621(0x276))/0x1+-parseInt(_0x5d7621(0x2fe))/0x2+parseInt(_0x5d7621(0x20f))/0x3+-parseInt(_0x5d7621(0xf1))/0x4*(-parseInt(_0x5d7621(0x1f7))/0x5)+-parseInt(_0x5d7621(0xc3))/0x6*(-parseInt(_0x5d7621(0x2a8))/0x7)+-parseInt(_0x5d7621(0x1aa))/0x8*(-parseInt(_0x5d7621(0xc6))/0x9)+parseInt(_0x5d7621(0xdb))/0xa*(-parseInt(_0x5d7621(0xaf))/0xb);if(_0x85f168===_0x27e87c)break;else _0x4e1576['push'](_0x4e1576['shift']());}catch(_0x473973){_0x4e1576['push'](_0x4e1576['shift']());}}}(_0x7e28,0x385ca),function(_0x2a427f,_0x37ed0e){const _0x2061e7=_0x33b0;typeof exports==_0x2061e7(0x19a)&&typeof module<'u'?_0x37ed0e(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x2061e7(0x346)&&define[_0x2061e7(0x17d)]?define(['exports',_0x2061e7(0xd6),_0x2061e7(0xe5),_0x2061e7(0x225),'@univerjs/ui','rxjs',_0x2061e7(0x2a3),_0x2061e7(0x188),'@univerjs/rpc',_0x2061e7(0x13d),_0x2061e7(0x2d3),'@univerjs/network',_0x2061e7(0x259),'@univerjs/drawing',_0x2061e7(0x328),_0x2061e7(0x2cb),_0x2061e7(0x1e6),'rxjs/operators',_0x2061e7(0x255)],_0x37ed0e):(_0x2a427f=typeof globalThis<'u'?globalThis:_0x2a427f||self,_0x37ed0e(_0x2a427f[_0x2061e7(0x190)]={},_0x2a427f[_0x2061e7(0x226)],_0x2a427f[_0x2061e7(0x2ee)],_0x2a427f[_0x2061e7(0x13c)],_0x2a427f[_0x2061e7(0x1cb)],_0x2a427f['rxjs'],_0x2a427f[_0x2061e7(0x2f6)],_0x2a427f[_0x2061e7(0x226)],_0x2a427f['UniverRpc'],_0x2a427f[_0x2061e7(0x1cf)],_0x2a427f[_0x2061e7(0x250)],_0x2a427f[_0x2061e7(0x85)],_0x2a427f[_0x2061e7(0x22f)],_0x2a427f['UniverDrawing'],_0x2a427f['UniverProCollaboration'],_0x2a427f[_0x2061e7(0x17e)],_0x2a427f[_0x2061e7(0x223)],_0x2a427f[_0x2061e7(0x34e)]['operators'],_0x2a427f[_0x2061e7(0x1fa)]));}(this,function(_0x21651b,_0x4401ae,_0x3899ea,_0x1dfb30,_0x5581af,_0x12ea67,_0x1d1957,_0x1060b1,_0x52d554,_0x59ff8d,_0x5cce25,_0x221af8,_0x4f04d2,_0x54e484,_0x1448e7,_0x90847b,_0x119829,_0x2dd10a,_0x149dfc){'use strict';const _0x1c30d9=_0x33b0;var _0x21f776=Object[_0x1c30d9(0x30d)],_0x52ca7d=(_0x1876f3,_0x2c8dd1,_0x2d9932)=>_0x2c8dd1 in _0x1876f3?_0x21f776(_0x1876f3,_0x2c8dd1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d9932}):_0x1876f3[_0x2c8dd1]=_0x2d9932,_0xbf1006=(_0xdc5087,_0xd2fd5e,_0x1d183b)=>_0x52ca7d(_0xdc5087,typeof _0xd2fd5e!=_0x1c30d9(0x101)?_0xd2fd5e+'':_0xd2fd5e,_0x1d183b);function _0xe02e29({ref:_0x15d6d4,..._0x265e9a}){const _0x448ea0=_0x1c30d9,{icon:_0xc42af3,id:_0x403eee,className:_0x50b0aa,extend:_0x3c6815,..._0x340fac}=_0x265e9a,_0x5bc8f5=(_0x448ea0(0xc9)+_0x403eee+'\x20'+(_0x50b0aa||''))[_0x448ea0(0x326)](),_0x211b28=_0x1060b1[_0x448ea0(0x2c2)]('_'+_0x14ae85());return _0x3f3387(_0xc42af3,''+_0x403eee,{'defIds':_0xc42af3['defIds'],'idSuffix':_0x211b28[_0x448ea0(0x1bb)]},{'ref':_0x15d6d4,'className':_0x5bc8f5,..._0x340fac},_0x3c6815);}function _0x3f3387(_0x1ac055,_0x23c2b7,_0x326ca6,_0x11ae7a,_0x4ec11e){return _0x1060b1['createElement'](_0x1ac055['tag'],{'key':_0x23c2b7,..._0x14d226(_0x1ac055,_0x326ca6,_0x4ec11e),..._0x11ae7a},(_0x6e4566(_0x1ac055,_0x326ca6)['children']||[])['map']((_0x5e888c,_0x863dbd)=>_0x3f3387(_0x5e888c,_0x23c2b7+'-'+_0x1ac055['tag']+'-'+_0x863dbd,_0x326ca6,void 0x0,_0x4ec11e)));}function _0x14d226(_0x5f1574,_0x21436b,_0x246d64){const _0x3af2a6=_0x1c30d9,_0x4423f2={..._0x5f1574['attrs']};_0x246d64!=null&&_0x246d64[_0x3af2a6(0x16e)]&&_0x4423f2[_0x3af2a6(0x1bf)]===_0x3af2a6(0x16e)&&(_0x4423f2[_0x3af2a6(0x1bf)]=_0x246d64[_0x3af2a6(0x16e)]),_0x5f1574[_0x3af2a6(0x12d)]===_0x3af2a6(0x89)&&_0x4423f2['id']&&(_0x4423f2['id']=_0x4423f2['id']+_0x21436b[_0x3af2a6(0x18c)]),Object[_0x3af2a6(0x22c)](_0x4423f2)['forEach'](([_0x4a109a,_0x3ccf74])=>{const _0x590703=_0x3af2a6;_0x4a109a==='mask'&&typeof _0x3ccf74=='string'&&(_0x4423f2[_0x4a109a]=_0x3ccf74['replace'](/url\(#(.*)\)/,'url(#$1'+_0x21436b[_0x590703(0x18c)]+')'));});const {defIds:_0x4a49f0}=_0x21436b;return!_0x4a49f0||_0x4a49f0['length']===0x0||(_0x5f1574[_0x3af2a6(0x12d)]===_0x3af2a6(0x18d)&&_0x4423f2[_0x3af2a6(0x266)]&&(_0x4423f2['xlink:href']=_0x4423f2[_0x3af2a6(0x266)]+_0x21436b[_0x3af2a6(0x18c)]),Object['entries'](_0x4423f2)[_0x3af2a6(0x249)](([_0x47402c,_0x6e1bf1])=>{const _0x1ec959=_0x3af2a6;typeof _0x6e1bf1=='string'&&(_0x4423f2[_0x47402c]=_0x6e1bf1[_0x1ec959(0x1fd)](/url\(#(.*)\)/,'url(#$1'+_0x21436b[_0x1ec959(0x18c)]+')'));})),_0x4423f2;}function _0x6e4566(_0x4c6c2,_0x121981){const _0x3c9132=_0x1c30d9;var _0x4287a7;const {defIds:_0x17396c}=_0x121981;return!_0x17396c||_0x17396c[_0x3c9132(0x263)]===0x0?_0x4c6c2:_0x4c6c2[_0x3c9132(0x12d)]==='defs'&&((_0x4287a7=_0x4c6c2[_0x3c9132(0x2b3)])!=null&&_0x4287a7[_0x3c9132(0x263)])?{..._0x4c6c2,'children':_0x4c6c2[_0x3c9132(0x2b3)][_0x3c9132(0x235)](_0x63d50=>typeof _0x63d50[_0x3c9132(0x21f)]['id']==_0x3c9132(0x2f2)&&_0x17396c&&_0x17396c[_0x3c9132(0xd3)](_0x63d50[_0x3c9132(0x21f)]['id'])?{..._0x63d50,'attrs':{..._0x63d50[_0x3c9132(0x21f)],'id':_0x63d50['attrs']['id']+_0x121981[_0x3c9132(0x18c)]}}:_0x63d50)}:_0x4c6c2;}function _0x14ae85(){const _0x4a006a=_0x1c30d9;return Math[_0x4a006a(0x73)]()[_0x4a006a(0x331)](0x24)['substring'](0x2,0x8);}_0xe02e29[_0x1c30d9(0x1cc)]=_0x1c30d9(0x146);const _0x32fe32={'tag':_0x1c30d9(0x1ff),'attrs':{'xmlns':_0x1c30d9(0x8e),'fill':_0x1c30d9(0x224),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1c30d9(0xa9),'attrs':{'stroke':_0x1c30d9(0xd9),'d':_0x1c30d9(0x1e0),'strokeLinecap':'round','strokeLinejoin':_0x1c30d9(0x325),'strokeWidth':1.2}}]},{'tag':_0x1c30d9(0x339),'attrs':{},'children':[{'tag':_0x1c30d9(0x27a),'attrs':{'id':_0x1c30d9(0x204)},'children':[{'tag':_0x1c30d9(0xa9),'attrs':{'fill':_0x1c30d9(0x2a1),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1c30d9(0x204)]},_0x174388=_0x1060b1[_0x1c30d9(0x305)](function(_0x34f384,_0x2ef7e6){const _0x2f2dc7=_0x1c30d9;return _0x1060b1[_0x2f2dc7(0x2d9)](_0xe02e29,Object[_0x2f2dc7(0x274)]({},_0x34f384,{'id':'off-line-icon','ref':_0x2ef7e6,'icon':_0x32fe32}));});_0x174388[_0x1c30d9(0x1cc)]='OffLineIcon';const _0x4d2ade={'tag':_0x1c30d9(0x1ff),'attrs':{'xmlns':_0x1c30d9(0x8e),'fill':_0x1c30d9(0x224),'viewBox':_0x1c30d9(0x1bc),'width':_0x1c30d9(0x280),'height':_0x1c30d9(0x280)},'children':[{'tag':'g','attrs':{'clipPath':_0x1c30d9(0x315)},'children':[{'tag':_0x1c30d9(0xa9),'attrs':{'stroke':'currentColor','d':_0x1c30d9(0x308),'strokeLinecap':_0x1c30d9(0x325),'strokeLinejoin':_0x1c30d9(0x325),'strokeWidth':1.2}}]},{'tag':_0x1c30d9(0x339),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1c30d9(0xb6)},'children':[{'tag':_0x1c30d9(0xa9),'attrs':{'fill':_0x1c30d9(0x2a1),'d':'M0\x200H16V16H0z','transform':_0x1c30d9(0x2be)}}]}]}],'defIds':[_0x1c30d9(0xb6)]},_0x28e949=_0x1060b1['forwardRef'](function(_0x5048bf,_0x122125){const _0x2e294b=_0x1c30d9;return _0x1060b1[_0x2e294b(0x2d9)](_0xe02e29,Object[_0x2e294b(0x274)]({},_0x5048bf,{'id':_0x2e294b(0x12f),'ref':_0x122125,'icon':_0x4d2ade}));});_0x28e949[_0x1c30d9(0x1cc)]='OnLineIcon';function _0x4803c2(_0x2312e1){const _0x3b698d=_0x1c30d9;switch(_0x2312e1){case _0x3899ea[_0x3b698d(0x301)][_0x3b698d(0x2b8)]:return _0x3b698d(0x2ae);case _0x3899ea[_0x3b698d(0x301)][_0x3b698d(0x2c8)]:return _0x3b698d(0x288);case _0x3899ea['CollaborationStatus']['FETCH_MISS']:return _0x3b698d(0x213);case _0x3899ea[_0x3b698d(0x301)][_0x3b698d(0x12a)]:return _0x3b698d(0x2e9);case _0x3899ea[_0x3b698d(0x301)][_0x3b698d(0x34c)]:case _0x3899ea[_0x3b698d(0x301)]['AWAITING_WITH_PENDING']:return _0x3b698d(0x175);case _0x3899ea['CollaborationStatus']['SYNCED']:case _0x3899ea['CollaborationStatus'][_0x3b698d(0x16b)]:return _0x3b698d(0x173);}}function _0x13f0f1(_0x2ea3d8){const _0x539b90=_0x1c30d9,{status$:_0x5f2498}=_0x2ea3d8,_0x30077d=_0x5581af[_0x539b90(0x295)](_0x5f2498,_0x3899ea[_0x539b90(0x301)][_0x539b90(0x12a)]),_0x45a736=_0x5581af['useDependency'](_0x1dfb30[_0x539b90(0x2f0)]),_0x63342=_0x5581af[_0x539b90(0x264)](_0x3899ea['CollaborationSessionService']),_0x2832fe=_0x30077d!==_0x3899ea[_0x539b90(0x301)][_0x539b90(0x2b8)],_0x449d99=_0x45a736['t'](_0x4803c2(_0x30077d)),_0x31fec9=_0x2832fe?_0x4401ae[_0x539b90(0x332)](_0x28e949,{}):_0x4401ae['jsx'](_0x174388,{}),_0x2383da=_0x1060b1[_0x539b90(0x23d)](()=>{const _0x19fd18=_0x539b90;_0x2832fe||_0x63342[_0x19fd18(0x1d4)]();},[_0x2832fe,_0x63342]);function _0x150a2a(){const _0x546365=_0x539b90;return _0x4401ae[_0x546365(0x182)](_0x546365(0x248),{'className':'univer-flex\x20univer-items-center','onClick':_0x2383da,'children':[_0x4401ae[_0x546365(0x332)]('div',{'className':_0x1d1957[_0x546365(0x21e)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2832fe,'univer-text-red-500':!_0x2832fe}),'children':_0x31fec9}),_0x4401ae['jsx'](_0x546365(0x248),{'className':_0x546365(0x2e1),'children':_0x449d99})]});}return _0x2832fe?_0x150a2a():_0x4401ae[_0x539b90(0x332)](_0x1d1957[_0x539b90(0x323)],{'title':_0x45a736['t'](_0x539b90(0xf2)),'children':_0x150a2a()});}var _0x23bdd9=Object[_0x1c30d9(0x176)],_0x51d42c=(_0x5b983c,_0x1db36b,_0x2087b2,_0x5267eb)=>{const _0x3a447d=_0x1c30d9;for(var _0x25c436=_0x5267eb>0x1?void 0x0:_0x5267eb?_0x23bdd9(_0x1db36b,_0x2087b2):_0x1db36b,_0x2ad384=_0x5b983c[_0x3a447d(0x263)]-0x1,_0x426c5c;_0x2ad384>=0x0;_0x2ad384--)(_0x426c5c=_0x5b983c[_0x2ad384])&&(_0x25c436=_0x426c5c(_0x25c436)||_0x25c436);return _0x25c436;},_0x3d2c07=(_0x509814,_0x45a8b5)=>(_0x2ba506,_0xbc2e58)=>_0x45a8b5(_0x2ba506,_0xbc2e58,_0x509814);_0x21651b[_0x1c30d9(0xf9)]=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x264ed1,_0x2cfd61,_0x460d47,_0x120305){const _0x3bc4f4=_0x1c30d9;super(),_0xbf1006(this,_0x3bc4f4(0x1b1),new _0x12ea67[(_0x3bc4f4(0x211))](_0x3899ea[_0x3bc4f4(0x301)][_0x3bc4f4(0x12a)])),(this['_univerInstanceService']=_0x264ed1,this['_injector']=_0x2cfd61,this['_collaborationController']=_0x460d47,this['_uiPartsService']=_0x120305,this[_0x3bc4f4(0x330)](),this[_0x3bc4f4(0x120)]());}[_0x1c30d9(0x120)](){const _0x128f2e=_0x1c30d9;this[_0x128f2e(0x297)](this['_univerInstanceService'][_0x128f2e(0x2db)][_0x128f2e(0x1a0)](_0x12ea67[_0x128f2e(0x320)](()=>{const _0x26a6eb=_0x128f2e,_0x3e74f=this[_0x26a6eb(0x1b6)][_0x26a6eb(0x1f1)]();return _0x3e74f?this[_0x26a6eb(0x340)][_0x26a6eb(0x19e)](_0x3e74f[_0x26a6eb(0x15d)]()):_0x12ea67['of'](null);}),_0x12ea67[_0x128f2e(0x320)](_0x4a1395=>_0x4a1395?_0x4a1395[_0x128f2e(0x291)]:_0x12ea67['of'](_0x3899ea[_0x128f2e(0x301)][_0x128f2e(0x12a)])))[_0x128f2e(0x131)](_0x34d159=>{const _0x2af22a=_0x128f2e;this[_0x2af22a(0x1b1)]['next'](_0x34d159);}));}[_0x1c30d9(0x330)](){const _0x2b159e=_0x1c30d9;this[_0x2b159e(0x297)](this[_0x2b159e(0x29b)][_0x2b159e(0x160)](_0x5581af[_0x2b159e(0xb7)][_0x2b159e(0xe0)],()=>_0x5581af[_0x2b159e(0x116)](_0x4fa062({'status$':this[_0x2b159e(0x1b1)]['asObservable']()}),this[_0x2b159e(0x1b3)])));}},_0x21651b['DesktopCollaborationStatusDisplayController']=_0x51d42c([_0x3d2c07(0x0,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x3d2c07(0x1,_0x1dfb30['Inject'](_0x1dfb30[_0x1c30d9(0x13a)])),_0x3d2c07(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0xdd)])),_0x3d2c07(0x3,_0x5581af[_0x1c30d9(0x2b1)])],_0x21651b[_0x1c30d9(0xf9)]);function _0x4fa062(_0x3dc3ff){const {status$:_0x5941bc}=_0x3dc3ff;return function(){const _0x446607=_0x33b0;return _0x4401ae[_0x446607(0x332)](_0x13f0f1,{'status$':_0x5941bc});};}const _0x50751f=_0x1dfb30['createIdentifier'](_0x1c30d9(0x1da));var _0x383a5a=Object[_0x1c30d9(0x176)],_0x7d5f55=(_0x35902d,_0x1fee03,_0x43ae0f,_0x2d4b25)=>{const _0x19336f=_0x1c30d9;for(var _0x480231=_0x2d4b25>0x1?void 0x0:_0x2d4b25?_0x383a5a(_0x1fee03,_0x43ae0f):_0x1fee03,_0x5e161a=_0x35902d[_0x19336f(0x263)]-0x1,_0x51f8f5;_0x5e161a>=0x0;_0x5e161a--)(_0x51f8f5=_0x35902d[_0x5e161a])&&(_0x480231=_0x51f8f5(_0x480231)||_0x480231);return _0x480231;},_0x4762cc=(_0x3dd77a,_0x2ac1a0)=>(_0x22c92f,_0x3a4fb8)=>_0x2ac1a0(_0x22c92f,_0x3a4fb8,_0x3dd77a);_0x21651b['CollaborationDataLoaderController']=class extends _0x1dfb30['RxDisposable']{constructor(_0x1104bd,_0x47c54e,_0x1bb926,_0x240686,_0x31c079){const _0x371e08=_0x1c30d9;super(),this['_urlService']=_0x1104bd,this['_logService']=_0x47c54e,this['_commandService']=_0x1bb926,this[_0x371e08(0xf7)]=_0x240686,_0x31c079?_0x31c079==null||_0x31c079[_0x371e08(0x286)]()[_0x371e08(0x1ac)](()=>this[_0x371e08(0x31a)]()):(this['_logService']['debug'](_0x371e08(0x1bd),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x371e08(0x31a)]());}async[_0x1c30d9(0x31a)](){const _0x37d92a=_0x1c30d9,_0x8bb63d=this['_urlService'][_0x37d92a(0xfb)](_0x37d92a(0x2c1)),_0x72da87=this[_0x37d92a(0x2ed)][_0x37d92a(0xfb)](_0x37d92a(0x2f8)),_0x428129=this[_0x37d92a(0x2ed)]['getParam'](_0x37d92a(0x2cd));if(!_0x8bb63d||!_0x72da87){this[_0x37d92a(0x1dd)][_0x37d92a(0x322)](_0x37d92a(0x1bd),_0x37d92a(0x32a));return;}const _0x568c69=await this[_0x37d92a(0xf7)]['loadUnit'](_0x8bb63d,Number(_0x72da87),_0x428129);_0x568c69&&_0x568c69 instanceof _0x1dfb30[_0x37d92a(0x2b4)]&&this[_0x37d92a(0x110)](_0x568c69);}async[_0x1c30d9(0x110)](_0x3a9133){const _0x36791b=_0x1c30d9;await this[_0x36791b(0xbc)](_0x3a9133),_0x3a9133[_0x36791b(0x107)][_0x36791b(0x1a0)](_0x12ea67['takeUntil'](this[_0x36791b(0xef)]))[_0x36791b(0x131)](_0x4ad768=>{const _0x2debbd=_0x36791b;_0x4ad768&&this[_0x2debbd(0x1d3)](_0x4ad768);}),this['_urlService']['urlChange$'][_0x36791b(0x1a0)](_0x12ea67['takeUntil'](this[_0x36791b(0xef)]))[_0x36791b(0x131)](()=>this['_updateSubUnitFromURLParams'](_0x3a9133));}[_0x1c30d9(0x1d3)](_0x240601,_0x5d22d2=!0x1){const _0xb1130d=_0x1c30d9,_0x4ea0ed=this[_0xb1130d(0x2ed)][_0xb1130d(0xfb)](_0xb1130d(0x2cd));_0x240601[_0xb1130d(0x1e8)]()!==_0x4ea0ed&&this[_0xb1130d(0x2ed)][_0xb1130d(0x104)](_0xb1130d(0x2cd),_0x240601[_0xb1130d(0x1e8)](),_0x5d22d2);}async[_0x1c30d9(0xbc)](_0x24efa6){const _0x1a9569=_0x1c30d9;var _0x130df3;const _0xd53000=this['_urlService'][_0x1a9569(0xfb)](_0x1a9569(0x2cd));if(!_0xd53000||!_0x24efa6[_0x1a9569(0x187)](_0xd53000)){const _0x326167=_0x24efa6[_0x1a9569(0x230)]()[0x0],_0x40d2dd=_0x24efa6[_0x1a9569(0x187)](_0x326167);if(!_0x40d2dd)return;this[_0x1a9569(0x1d3)](_0x40d2dd,!0x0),await this[_0x1a9569(0x1d8)]['executeCommand'](_0x59ff8d[_0x1a9569(0x221)]['id'],{'unitId':_0x24efa6[_0x1a9569(0x15d)](),'subUnitId':_0x326167});return;}((_0x130df3=_0x24efa6['getActiveSheet']())==null?void 0x0:_0x130df3[_0x1a9569(0x1e8)]())!==_0xd53000&&await this[_0x1a9569(0x1d8)][_0x1a9569(0x2e5)](_0x59ff8d[_0x1a9569(0x221)]['id'],{'unitId':_0x24efa6[_0x1a9569(0x15d)](),'subUnitId':_0xd53000});}},_0x21651b[_0x1c30d9(0x1c9)]=_0x7d5f55([_0x4762cc(0x0,_0x50751f),_0x4762cc(0x1,_0x1dfb30[_0x1c30d9(0x34d)]),_0x4762cc(0x2,_0x1dfb30[_0x1c30d9(0x269)]),_0x4762cc(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0xac)])),_0x4762cc(0x4,_0x1dfb30['Optional'](_0x52d554[_0x1c30d9(0x12c)]))],_0x21651b[_0x1c30d9(0x1c9)]);var _0x248c21=Object[_0x1c30d9(0x176)],_0x1d1448=(_0x191b72,_0xcb619b,_0x5062e5,_0x17e167)=>{for(var _0x2f5fce=_0x17e167>0x1?void 0x0:_0x17e167?_0x248c21(_0xcb619b,_0x5062e5):_0xcb619b,_0x3c173e=_0x191b72['length']-0x1,_0x4a9904;_0x3c173e>=0x0;_0x3c173e--)(_0x4a9904=_0x191b72[_0x3c173e])&&(_0x2f5fce=_0x4a9904(_0x2f5fce)||_0x2f5fce);return _0x2f5fce;},_0x465541=(_0x5f467d,_0x25dbc6)=>(_0x442ae3,_0x584176)=>_0x25dbc6(_0x442ae3,_0x584176,_0x5f467d);let _0x5cf9d2=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x4ffb2e,_0x4c9c1b){const _0x61f894=_0x1c30d9;super(),this[_0x61f894(0x95)]=_0x4ffb2e,this['_imageIoService']=_0x4c9c1b,this[_0x61f894(0x31a)]();}[_0x1c30d9(0x31a)](){const _0x360d9a=_0x1c30d9,_0x1a2ae2=this;this[_0x360d9a(0x297)](this[_0x360d9a(0x95)]['addClipboardHook']({'onBeforePasteImage':async _0x3da10d=>{const _0x40c9bd=_0x360d9a,_0x22f9e3=await _0x1a2ae2['_imageIoService'][_0x40c9bd(0x24b)](_0x3da10d);return _0x22f9e3?{'source':_0x22f9e3['source'],'imageSourceType':_0x22f9e3['imageSourceType']}:null;}}));}};_0x5cf9d2=_0x1d1448([_0x465541(0x0,_0x4f04d2[_0x1c30d9(0x228)]),_0x465541(0x1,_0x54e484[_0x1c30d9(0x33e)])],_0x5cf9d2);const _0x522eee=['purple.300',_0x1c30d9(0xd2),_0x1c30d9(0x111),_0x1c30d9(0x1c7),_0x1c30d9(0x22e),'yellow.400'];class _0x37c3e7 extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(){const _0x556ca7=_0x1c30d9;super(...arguments),_0xbf1006(this,_0x556ca7(0x1a4),new Map()),_0xbf1006(this,_0x556ca7(0x13f),0x0);}[_0x1c30d9(0x31f)](_0xe9e02b){const _0x2457b6=_0x1c30d9;if(this[_0x2457b6(0x1a4)][_0x2457b6(0x115)](_0xe9e02b))return this[_0x2457b6(0x1a4)]['get'](_0xe9e02b);const _0x380ea9=_0x522eee[this[_0x2457b6(0x13f)]];return this[_0x2457b6(0x13f)]=(this[_0x2457b6(0x13f)]+0x1)%_0x522eee[_0x2457b6(0x263)],this[_0x2457b6(0x1a4)][_0x2457b6(0x151)](_0xe9e02b,_0x380ea9),_0x380ea9;}}function _0x5e1a13(_0x53738a){const _0x4b8fa2=_0x1c30d9;let _0x198f02='';for(const _0x13580c of _0x53738a){const {startOffset:_0x3285cc,endOffset:_0x31cee9,isActive:_0x4cc963,rangeType:_0x1bcbc6,segmentId:_0x9af153,segmentPage:_0x35092e}=_0x13580c;_0x198f02[_0x4b8fa2(0x263)]&&(_0x198f02+=','),_0x198f02+=_0x3285cc+':'+_0x31cee9+':'+(_0x4cc963?'1':'0')+':'+_0x1bcbc6+':'+_0x9af153+':'+_0x35092e;}return _0x198f02;}function _0x43cc2a(_0xa8ea70){const _0x1d9240=_0x1c30d9,_0x10608b=_0xa8ea70[_0x1d9240(0x2a7)](','),_0x489970=[];for(const _0x560a6d of _0x10608b){const [_0x195cca,_0x2ad34b,_0x18303b,_0x56dad3,_0x122245,_0x55cafd]=_0x560a6d[_0x1d9240(0x2a7)](':');_0x489970[_0x1d9240(0x72)]({'startOffset':Number(_0x195cca),'endOffset':Number(_0x2ad34b),'collapsed':_0x195cca===_0x2ad34b,'isActive':_0x18303b==='1','rangeType':_0x56dad3===_0x1dfb30[_0x1d9240(0xd7)][_0x1d9240(0x134)]?_0x1dfb30['DOC_RANGE_TYPE'][_0x1d9240(0x134)]:_0x1dfb30[_0x1d9240(0xd7)][_0x1d9240(0x11d)],'segmentId':typeof _0x122245==_0x1d9240(0x2f2)?String(_0x122245):'','segmentPage':Number(_0x55cafd!=null?_0x55cafd:-0x1)});}return _0x489970[_0x1d9240(0x247)](_0x5ec889=>_0x5ec889[_0x1d9240(0x27d)])||(_0x489970[0x0][_0x1d9240(0x27d)]=!0x0),_0x489970;}class _0x3b41c7 extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(){const _0x4ecac8=_0x1c30d9;super(...arguments),_0xbf1006(this,'_collabCursorState$',new _0x12ea67[(_0x4ecac8(0x211))](null)),_0xbf1006(this,_0x4ecac8(0x210),this[_0x4ecac8(0x170)][_0x4ecac8(0x183)]());}[_0x1c30d9(0x148)](_0x2adfb8){const _0x21cebe=_0x1c30d9,{unitID:_0x3966fc,memberID:_0x568058,textRanges:_0x2b4382}=_0x2adfb8,_0x59f0be=_0x5e1a13(_0x2b4382);if(_0x59f0be==='')return;const _0x8931f0={'unitID':_0x3966fc,'memberID':_0x568058,'selection':_0x59f0be};this[_0x21cebe(0x170)][_0x21cebe(0x27f)](_0x8931f0);}}var _0x3e8ba9=Object[_0x1c30d9(0x176)],_0xf0f5c9=(_0x2f3e32,_0x336c11,_0x5ba632,_0x573a22)=>{const _0x4252f4=_0x1c30d9;for(var _0x490e95=_0x573a22>0x1?void 0x0:_0x573a22?_0x3e8ba9(_0x336c11,_0x5ba632):_0x336c11,_0x337611=_0x2f3e32[_0x4252f4(0x263)]-0x1,_0x61db2b;_0x337611>=0x0;_0x337611--)(_0x61db2b=_0x2f3e32[_0x337611])&&(_0x490e95=_0x61db2b(_0x490e95)||_0x490e95);return _0x490e95;},_0x2e2ed7=(_0x52beaa,_0x566f01)=>(_0xb61ff0,_0x30fbea)=>_0x566f01(_0xb61ff0,_0x30fbea,_0x52beaa);const _0x5d97ec=0x12c,_0x2ac50f=0x64;let _0x1ce994=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x352078,_0x4530fd,_0x24e9b7,_0x352a12,_0x1513f1,_0x23bc49,_0x55d657,_0xa5b2a9,_0x63237){const _0x1127f8=_0x1c30d9;super(),_0xbf1006(this,_0x1127f8(0x217),!0x1),_0xbf1006(this,'_init',!0x1),_0xbf1006(this,'_cursorInfo$',new _0x12ea67['BehaviorSubject'](new Map())),_0xbf1006(this,_0x1127f8(0xfc),this[_0x1127f8(0x26b)][_0x1127f8(0x183)]()),_0xbf1006(this,_0x1127f8(0x28c),new _0x12ea67[(_0x1127f8(0x211))]([])),_0xbf1006(this,_0x1127f8(0x20c),this[_0x1127f8(0x28c)]['pipe'](_0x12ea67[_0x1127f8(0x216)](_0x5d97ec))),_0xbf1006(this,_0x1127f8(0x285),_0x1dfb30[_0x1127f8(0x233)](_0x2700be=>{const _0x4639e3=_0x1127f8,_0x2d68e2={'eventID':_0x1448e7[_0x4639e3(0x1f5)][_0x4639e3(0x1ca)],'data':{'unitID':this[_0x4639e3(0xba)],'memberID':this[_0x4639e3(0x29d)][_0x4639e3(0x2b9)](),'selection':_0x5e1a13(_0x2700be)}};this[_0x4639e3(0x29d)][_0x4639e3(0x80)](_0x2d68e2,this[_0x4639e3(0xba)]);},_0x2ac50f)),(this[_0x1127f8(0xba)]=_0x352078,this[_0x1127f8(0x29d)]=_0x4530fd,this['_injector']=_0x24e9b7,this['_colorAssignService']=_0x352a12,this[_0x1127f8(0x14c)]=_0x1513f1,this[_0x1127f8(0x171)]=_0x23bc49,this[_0x1127f8(0x29a)]=_0x55d657,this[_0x1127f8(0x1b6)]=_0xa5b2a9,this[_0x1127f8(0x1d8)]=_0x63237);}get[_0x1c30d9(0x109)](){const _0x880bbe=_0x1c30d9;return this['_cursorInfo$'][_0x880bbe(0x2e3)]();}get['roomMembers'](){const _0x5f3dcc=_0x1c30d9;return this[_0x5f3dcc(0x28c)][_0x5f3dcc(0x2e3)]();}[_0x1c30d9(0x289)](){const _0x49d567=_0x1c30d9;super[_0x49d567(0x289)](),this[_0x49d567(0x26b)][_0x49d567(0x27f)](new Map()),this[_0x49d567(0x26b)][_0x49d567(0x23a)](),this[_0x49d567(0x28c)][_0x49d567(0x27f)]([]),this[_0x49d567(0x28c)]['complete']();}[_0x1c30d9(0x240)](){const _0x1749e4=_0x1c30d9;this['_init']||(this['_init']=!0x0,this[_0x1749e4(0x29d)][_0x1749e4(0x11c)][_0x1749e4(0x1a0)](_0x12ea67['takeUntil'](this[_0x1749e4(0xef)]))[_0x1749e4(0x131)](_0x213901=>{const _0x54e76b=_0x1749e4;_0x213901===_0x3899ea[_0x54e76b(0x75)][_0x54e76b(0x140)]?this[_0x54e76b(0x1ed)]():this[_0x54e76b(0xf8)]();}),this[_0x1749e4(0x29d)][_0x1749e4(0x21b)][_0x1749e4(0x1a0)](_0x12ea67[_0x1749e4(0x201)](this[_0x1749e4(0xef)]))[_0x1749e4(0x131)](_0x33abef=>{const _0xc5de31=_0x1749e4,_0x59c411=_0x33abef['eventID'];_0x59c411===_0x1448e7[_0xc5de31(0x1f5)][_0xc5de31(0x1ca)]&&this[_0xc5de31(0x2f3)](_0x33abef),_0x59c411===_0x1448e7[_0xc5de31(0x1f5)][_0xc5de31(0x11b)]&&this[_0xc5de31(0x34f)](_0x33abef);}),this[_0x1749e4(0x297)](this[_0x1749e4(0x1d8)]['onCommandExecuted'](_0x27825f=>{const _0x58537b=_0x1749e4,_0x308e60=_0x27825f[_0x58537b(0x2c6)];_0x308e60!=null&&this[_0x58537b(0x217)]&&_0x27825f['id']===_0x90847b['SetTextSelectionsOperation']['id']&&_0x308e60[_0x58537b(0x352)]===this[_0x58537b(0xba)]&&_0x308e60['isEditing']===!0x1&&_0x308e60[_0x58537b(0x252)][_0x58537b(0x263)]>0x0&&this[_0x58537b(0x285)](_0x308e60[_0x58537b(0x252)]);})),this['_syncEditingCollabCursorService'][_0x1749e4(0x210)][_0x1749e4(0x1a0)](_0x12ea67[_0x1749e4(0x201)](this[_0x1749e4(0xef)]))[_0x1749e4(0x131)](_0x1ba4fe=>{const _0x86aeb8=_0x1749e4;if((_0x1ba4fe==null?void 0x0:_0x1ba4fe[_0x86aeb8(0xba)])!==this['unitID'])return;const _0x67c3bb={'eventID':_0x1448e7[_0x86aeb8(0x1f5)]['UPDATE_CURSOR'],'data':_0x1ba4fe};this['_onCursorUpdate'](_0x67c3bb);}),this[_0x1749e4(0x297)](this[_0x1749e4(0x1d8)][_0x1749e4(0x1e1)](_0x16ac3c=>{const _0x17096f=_0x1749e4;if(_0x16ac3c[_0x17096f(0x2c6)]==null)return;const _0x2df9c4=_0x16ac3c['params'];if(_0x16ac3c['id']!==_0x90847b[_0x17096f(0x2f7)]['id']||_0x2df9c4[_0x17096f(0x352)]!==this[_0x17096f(0xba)])return;const _0x16a012={'id':_0x17096f(0xae),'params':_0x2df9c4},_0x1ad7b6=this[_0x17096f(0x109)];for(const [_0x3e7c02,_0x32571f]of _0x1ad7b6){const _0x3f7264={'id':_0x17096f(0xae),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x32571f[_0x17096f(0x252)]}},_0x27046e=this[_0x17096f(0x29a)]['transformMutation'](_0x16a012,_0x3f7264,!0x1);if(_0x1448e7['isTransformMutationFailure'](_0x27046e))throw _0x27046e[_0x17096f(0x186)];_0x1ad7b6[_0x17096f(0x151)](_0x3e7c02,{..._0x32571f,'ranges':_0x27046e[_0x17096f(0x108)][_0x17096f(0x2c6)]['textRanges']});}queueMicrotask(()=>{const _0x211f1f=_0x17096f;this['_cursorInfo$'][_0x211f1f(0x27f)](_0x1ad7b6);});})));}['_onCursorUpdate'](_0xe7a557){const _0x1dc3b2=_0x1c30d9;var _0x162e3e,_0x5d6e36;const {memberID:_0x47ee54,selection:_0x5ca21a}=_0xe7a557['data'],_0x502a75=_0x43cc2a(_0x5ca21a),_0x4af2de=(_0x5d6e36=(_0x162e3e=this[_0x1dc3b2(0x14c)][_0x1dc3b2(0x165)](this[_0x1dc3b2(0xba)],_0x47ee54))==null?void 0x0:_0x162e3e[_0x1dc3b2(0x174)])!=null?_0x5d6e36:_0x1dc3b2(0x318),_0x51aeda={'color':this[_0x1dc3b2(0xab)][_0x1dc3b2(0x31f)](_0x47ee54),'name':_0x4af2de,'ranges':_0x502a75},_0x3fca8a=this[_0x1dc3b2(0x109)];_0x3fca8a[_0x1dc3b2(0x151)](_0x47ee54,_0x51aeda),this['_cursorInfo$'][_0x1dc3b2(0x27f)](_0x3fca8a);}[_0x1c30d9(0x34f)](_0x437f1a){const _0x44ef65=_0x1c30d9,{memberID:_0x395309}=_0x437f1a[_0x44ef65(0x2c4)],_0x416611=this[_0x44ef65(0x109)];_0x416611['delete'](_0x395309),this['_cursorInfo$']['next'](_0x416611);}[_0x1c30d9(0x1ed)](){const _0x520a20=_0x1c30d9;var _0x2a59a0;if(this[_0x520a20(0x217)]=!0x0,((_0x2a59a0=this[_0x520a20(0x1b6)][_0x520a20(0x1f1)]())==null?void 0x0:_0x2a59a0['getUnitId']())!==this[_0x520a20(0xba)])return;const _0x54f766=this['_injector'][_0x520a20(0x123)](_0x90847b[_0x520a20(0x150)])['getDocRanges']();Array[_0x520a20(0x9e)](_0x54f766)&&_0x54f766[_0x520a20(0x263)]>0x0&&this[_0x520a20(0x285)](_0x54f766);}[_0x1c30d9(0xf8)](){const _0x1635c6=_0x1c30d9;this[_0x1635c6(0x217)]=!0x1;}};_0x1ce994=_0xf0f5c9([_0x2e2ed7(0x2,_0x1dfb30['Inject'](_0x1dfb30[_0x1c30d9(0x13a)])),_0x2e2ed7(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x37c3e7)),_0x2e2ed7(0x4,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea['MemberService'])),_0x2e2ed7(0x5,_0x1dfb30['Inject'](_0x3b41c7)),_0x2e2ed7(0x6,_0x1448e7[_0x1c30d9(0x1d7)]),_0x2e2ed7(0x7,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x2e2ed7(0x8,_0x1dfb30[_0x1c30d9(0x269)])],_0x1ce994);var _0x302aa7=Object[_0x1c30d9(0x176)],_0x18db51=(_0x593294,_0x59f5b1,_0x32a9af,_0x5e5cda)=>{const _0x1b38bb=_0x1c30d9;for(var _0x3769d1=_0x5e5cda>0x1?void 0x0:_0x5e5cda?_0x302aa7(_0x59f5b1,_0x32a9af):_0x59f5b1,_0x2cc533=_0x593294[_0x1b38bb(0x263)]-0x1,_0x2ca57e;_0x2cc533>=0x0;_0x2cc533--)(_0x2ca57e=_0x593294[_0x2cc533])&&(_0x3769d1=_0x2ca57e(_0x3769d1)||_0x3769d1);return _0x3769d1;},_0x2f9ea2=(_0x1e83fb,_0x46bbb9)=>(_0x22f6de,_0x257252)=>_0x46bbb9(_0x22f6de,_0x257252,_0x1e83fb);const _0x67503b=0x12c,_0x484329=0x64,_0x2011ca=()=>{let _0x4ce330=[],_0x401fb6=!0x1;return _0x14d403=>{_0x4ce330['push'](_0x14d403),_0x401fb6||(_0x401fb6=!0x0,setTimeout(()=>{_0x4ce330['forEach'](_0x36bb18=>_0x36bb18()),_0x4ce330=[],_0x401fb6=!0x1;}));};};let _0x26f0a0=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x59d931,_0x5554c1,_0x53d34c,_0x19490c,_0x2b2e45,_0x341fb7,_0x96e3f,_0x2baf70){const _0x1232b2=_0x1c30d9;super(),_0xbf1006(this,'_online',!0x1),_0xbf1006(this,_0x1232b2(0x31a),!0x1),_0xbf1006(this,'_cursorInfo$',new _0x12ea67[(_0x1232b2(0x211))](new Map())),_0xbf1006(this,_0x1232b2(0xfc),this[_0x1232b2(0x26b)]['asObservable']()),_0xbf1006(this,_0x1232b2(0x28c),new _0x12ea67[(_0x1232b2(0x211))]([])),_0xbf1006(this,_0x1232b2(0x20c),this[_0x1232b2(0x28c)][_0x1232b2(0x1a0)](_0x12ea67[_0x1232b2(0x216)](_0x67503b))),_0xbf1006(this,'_updateLocalCursor',_0x1dfb30['debounce']((_0x279a0a,_0x32018c)=>{const _0x4b6198=_0x1232b2,_0xb568ac={'eventID':_0x1448e7[_0x4b6198(0x1f5)][_0x4b6198(0x1ca)],'data':{'unitID':this[_0x4b6198(0xba)],'memberID':this['_session']['getMemberID'](),'selection':_0x119829['serializeRangeWithSheet'](_0x279a0a,_0x32018c[_0x4b6198(0x278)])}};this['_session'][_0x4b6198(0x80)](_0xb568ac,this[_0x4b6198(0xba)]);},_0x484329)),(this[_0x1232b2(0xba)]=_0x59d931,this['_session']=_0x5554c1,this[_0x1232b2(0x1b3)]=_0x53d34c,this[_0x1232b2(0xab)]=_0x19490c,this['_memberService']=_0x2b2e45,this[_0x1232b2(0x1b6)]=_0x341fb7,this[_0x1232b2(0x1d8)]=_0x96e3f,this[_0x1232b2(0x33b)]=_0x2baf70);}get['cursorInfo'](){const _0x5d96d9=_0x1c30d9;return this[_0x5d96d9(0x26b)][_0x5d96d9(0x2e3)]();}get[_0x1c30d9(0x347)](){const _0x3e0163=_0x1c30d9;return this['_roomMembers$'][_0x3e0163(0x2e3)]();}['dispose'](){const _0x443b1c=_0x1c30d9;super[_0x443b1c(0x289)](),this[_0x443b1c(0x26b)][_0x443b1c(0x27f)](new Map()),this[_0x443b1c(0x26b)]['complete'](),this[_0x443b1c(0x28c)][_0x443b1c(0x27f)]([]),this[_0x443b1c(0x28c)][_0x443b1c(0x23a)]();}[_0x1c30d9(0x240)](){const _0x11d7d4=_0x1c30d9;this['_init']||(this['_init']=!0x0,this[_0x11d7d4(0x29d)]['sessionStatus$'][_0x11d7d4(0x1a0)](_0x12ea67['takeUntil'](this[_0x11d7d4(0xef)]))[_0x11d7d4(0x131)](_0x3340bb=>{const _0x45c418=_0x11d7d4;_0x3340bb===_0x3899ea[_0x45c418(0x75)]['ONLINE']?this[_0x45c418(0x1ed)]():this[_0x45c418(0xf8)]();}),this[_0x11d7d4(0x29d)][_0x11d7d4(0x21b)]['pipe'](_0x12ea67[_0x11d7d4(0x201)](this[_0x11d7d4(0xef)]))['subscribe'](_0x481668=>{const _0x1d052c=_0x11d7d4,_0x559cd6=_0x481668[_0x1d052c(0x212)];_0x559cd6===_0x1448e7[_0x1d052c(0x1f5)][_0x1d052c(0x1ca)]&&this['_onCursorUpdate'](_0x481668),_0x559cd6===_0x1448e7[_0x1d052c(0x1f5)]['USERS_LEAVE']&&this[_0x1d052c(0x34f)](_0x481668);}),this[_0x11d7d4(0x270)](),this[_0x11d7d4(0x297)](this[_0x11d7d4(0x1d8)]['onCommandExecuted'](_0x19ce2b=>{const _0x5410a9=_0x11d7d4;if(this[_0x5410a9(0x217)]&&_0x19ce2b['id']===_0x59ff8d[_0x5410a9(0x156)]['id']&&_0x19ce2b[_0x5410a9(0x2c6)][_0x5410a9(0x352)]===this[_0x5410a9(0xba)]){const _0x3d7704=_0x19ce2b[_0x5410a9(0x2c6)];this['_updateLocalCursor'](_0x3d7704[_0x5410a9(0x11f)],_0x3d7704[_0x5410a9(0x158)][0x0]);}})));}['_onCursorUpdate'](_0x10b67f){const _0x16e251=_0x1c30d9;var _0x5dd1dd,_0x3261b2;const {memberID:_0x37d5e3,selection:_0x229597}=_0x10b67f['data'],{sheetName:_0x2fe94a,range:_0x348826}=_0x119829[_0x16e251(0x243)](_0x229597),_0x1a05ad={'name':(_0x3261b2=(_0x5dd1dd=this[_0x16e251(0x14c)][_0x16e251(0x165)](this[_0x16e251(0xba)],_0x37d5e3))==null?void 0x0:_0x5dd1dd[_0x16e251(0x174)])!=null?_0x3261b2:'Unknown\x20user','range':this['_getMergeRange'](_0x2fe94a,_0x348826),'sheetID':_0x2fe94a,'color':this[_0x16e251(0xab)][_0x16e251(0x31f)](_0x37d5e3),'selection':_0x229597},_0x4e9e11=this[_0x16e251(0x109)];_0x4e9e11[_0x16e251(0x151)](_0x37d5e3,_0x1a05ad),this[_0x16e251(0x26b)][_0x16e251(0x27f)](_0x4e9e11);}[_0x1c30d9(0x34f)](_0x4d44d3){const _0x5ec2c0=_0x1c30d9,{memberID:_0x5a515c}=_0x4d44d3['data'],_0x49c391=this[_0x5ec2c0(0x109)];_0x49c391[_0x5ec2c0(0x139)](_0x5a515c),this[_0x5ec2c0(0x26b)][_0x5ec2c0(0x27f)](_0x49c391);}[_0x1c30d9(0x164)](_0x7487c0,_0x584635){const _0x29e269=_0x1c30d9;var _0x5d477e,_0x234403;const _0x3c2765=(_0x234403=(_0x5d477e=this[_0x29e269(0x1b6)][_0x29e269(0x7c)](this[_0x29e269(0xba)]))==null?void 0x0:_0x5d477e[_0x29e269(0x187)](_0x7487c0))==null?void 0x0:_0x234403[_0x29e269(0x335)]();return(_0x3c2765==null?void 0x0:_0x3c2765[_0x29e269(0xc8)](_0x55df26=>_0x1dfb30[_0x29e269(0x155)]['contains'](_0x55df26,_0x584635)))||_0x584635;}[_0x1c30d9(0x270)](){const _0x8458c1=_0x1c30d9,_0x13dac5=new _0x1dfb30[(_0x8458c1(0x220))](),_0x231608=_0x2011ca(),_0x4a2e12=()=>{const _0x581767=_0x8458c1;_0x13dac5[_0x581767(0x289)]();const _0x5feada=(_0x4bd674,_0x4b3e84,_0x51bcdc,_0x2406f1)=>{const _0x5f1068=_0x581767;let _0x37921b=[];switch(_0x4bd674['id']){case _0x59ff8d[_0x5f1068(0x11a)][_0x5f1068(0xc2)]:{_0x37921b=_0x59ff8d['handleDeleteRangeMoveLeft'](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)][_0x5f1068(0x31e)]:{_0x37921b=_0x59ff8d[_0x5f1068(0x8b)](_0x4bd674,_0x2406f1);break;}case _0x59ff8d['EffectRefRangId'][_0x5f1068(0x70)]:{_0x37921b=_0x59ff8d['handleInsertCol'](_0x4bd674,_0x2406f1);break;}case _0x59ff8d['EffectRefRangId'][_0x5f1068(0x2ba)]:{_0x37921b=_0x59ff8d[_0x5f1068(0x2cf)](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)]['InsertRangeMoveRightCommandId']:{_0x37921b=_0x59ff8d['handleInsertRangeMoveRight'](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)][_0x5f1068(0x1dc)]:{_0x37921b=_0x59ff8d[_0x5f1068(0x15e)](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)]['MoveRangeCommandId']:{_0x37921b=_0x59ff8d[_0x5f1068(0x24c)](_0x4bd674,_0x2406f1);break;}case _0x59ff8d[_0x5f1068(0x11a)][_0x5f1068(0x1c8)]:{_0x37921b=_0x59ff8d['handleIRemoveCol'](_0x4bd674,_0x2406f1);break;}case _0x59ff8d['EffectRefRangId'][_0x5f1068(0x29e)]:{_0x37921b=_0x59ff8d['handleIRemoveRow'](_0x4bd674,_0x2406f1);break;}}const _0x4f1408=_0x59ff8d[_0x5f1068(0x261)](_0x37921b,_0x2406f1),_0x44c4f7=this[_0x5f1068(0x109)]['get'](_0x4b3e84);if(_0x44c4f7&&_0x4f1408){const _0x12aa27={..._0x44c4f7,'range':_0x4f1408};this['cursorInfo'][_0x5f1068(0x151)](_0x4b3e84,_0x12aa27),_0x231608(()=>{const _0x224e0e=_0x5f1068,_0x35acc3=this[_0x224e0e(0x33b)][_0x224e0e(0x2a0)](_0x4f1408,_0x51dfab=>(_0x35acc3[_0x224e0e(0x289)](),_0x5feada(_0x51dfab,_0x4b3e84,_0x51bcdc,_0x4f1408)));_0x13dac5[_0x224e0e(0x1e3)](_0x35acc3);});}return{'redos':[],'undos':[]};};this[_0x581767(0x109)]['forEach']((_0x19d7c2,_0x174bc6)=>{const _0x1f2419=_0x581767,{range:_0x37fb34,sheetID:_0x20fa6d}=_0x19d7c2,_0x40e6c7=this[_0x1f2419(0x33b)]['registerRefRange'](_0x37fb34,_0x3553eb=>(_0x40e6c7['dispose'](),_0x5feada(_0x3553eb,_0x174bc6,_0x20fa6d,_0x37fb34)));_0x13dac5[_0x1f2419(0x1e3)](_0x40e6c7);});};this['disposeWithMe'](_0x1dfb30['toDisposable'](this[_0x8458c1(0x26b)]['subscribe'](()=>{_0x4a2e12();})));}[_0x1c30d9(0x1ed)](){const _0xe85be7=_0x1c30d9;var _0xc7d84a,_0x4e610e;if(this[_0xe85be7(0x217)]=!0x0,((_0xc7d84a=this[_0xe85be7(0x1b6)]['getFocusedUnit']())==null?void 0x0:_0xc7d84a[_0xe85be7(0x15d)]())!==this[_0xe85be7(0xba)])return;const _0x27064b=(_0x4e610e=this[_0xe85be7(0x1b3)][_0xe85be7(0x123)](_0x59ff8d[_0xe85be7(0x313)])['getCurrentSelections']())==null?void 0x0:_0x4e610e[0x0],_0x1ac206=this[_0xe85be7(0x1b6)]['getCurrentUnitForType'](_0x1dfb30[_0xe85be7(0x2b6)][_0xe85be7(0x254)])[_0xe85be7(0x287)]();_0x27064b&&_0x1ac206&&this[_0xe85be7(0x285)](_0x1ac206[_0xe85be7(0x1e8)](),_0x27064b);}[_0x1c30d9(0xf8)](){const _0x5cb2ba=_0x1c30d9;this[_0x5cb2ba(0x217)]=!0x1;}};_0x26f0a0=_0x18db51([_0x2f9ea2(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30['Injector'])),_0x2f9ea2(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x37c3e7)),_0x2f9ea2(0x4,_0x1dfb30['Inject'](_0x3899ea[_0x1c30d9(0x28f)])),_0x2f9ea2(0x5,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x2f9ea2(0x6,_0x1dfb30[_0x1c30d9(0x269)]),_0x2f9ea2(0x7,_0x1dfb30['Inject'](_0x59ff8d[_0x1c30d9(0x117)]))],_0x26f0a0);var _0x57cb78=Object[_0x1c30d9(0x176)],_0x218b8e=(_0x9c41f8,_0x1854a5,_0x21faee,_0x324a99)=>{const _0x2011e1=_0x1c30d9;for(var _0x40119c=_0x324a99>0x1?void 0x0:_0x324a99?_0x57cb78(_0x1854a5,_0x21faee):_0x1854a5,_0x3c66d0=_0x9c41f8[_0x2011e1(0x263)]-0x1,_0x3ac21c;_0x3c66d0>=0x0;_0x3c66d0--)(_0x3ac21c=_0x9c41f8[_0x3c66d0])&&(_0x40119c=_0x3ac21c(_0x40119c)||_0x40119c);return _0x40119c;},_0x336319=(_0x1e974e,_0x54e021)=>(_0x483424,_0x808d6b)=>_0x54e021(_0x483424,_0x808d6b,_0x1e974e);let _0x156b27=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x316bae,_0x7d750d,_0x4d4736){const _0x41e122=_0x1c30d9;super(),_0xbf1006(this,_0x41e122(0x100),new Map()),_0xbf1006(this,_0x41e122(0x296),new _0x12ea67[(_0x41e122(0x222))]()),(this[_0x41e122(0x1b6)]=_0x316bae,this[_0x41e122(0x1b3)]=_0x7d750d,this['_collabSessionService']=_0x4d4736,this[_0x41e122(0x31a)]());}['dispose'](){const _0x56f028=_0x1c30d9;super[_0x56f028(0x289)](),this['_entityInit$'][_0x56f028(0x23a)](),this['_entities'][_0x56f028(0x249)](_0x492d8d=>_0x492d8d[_0x56f028(0x289)]());}[_0x1c30d9(0x28a)](_0x5df38e){const _0x49721e=_0x1c30d9;return this[_0x49721e(0x100)][_0x49721e(0x115)](_0x5df38e)?this[_0x49721e(0x100)]['get'](_0x5df38e)['cursorInfo$']:this[_0x49721e(0x296)]['pipe'](_0x12ea67[_0x49721e(0x327)](_0x7611c7=>_0x7611c7[_0x49721e(0xba)]===_0x5df38e),_0x12ea67['switchMap'](_0x278883=>_0x278883[_0x49721e(0xfc)]));}[_0x1c30d9(0x31a)](){const _0x3a69c0=_0x1c30d9;this[_0x3a69c0(0x1b6)][_0x3a69c0(0x232)](_0x1dfb30[_0x3a69c0(0x2b6)]['UNIVER_SHEET'])[_0x3a69c0(0x1a0)](_0x12ea67['takeUntil'](this[_0x3a69c0(0xef)]))['subscribe'](async _0x1c1f47=>{const _0x4f2dd8=_0x3a69c0,_0x33237c=_0x1c1f47['getUnitId'](),_0x125046=await this[_0x4f2dd8(0x28d)](_0x33237c);this[_0x4f2dd8(0x296)][_0x4f2dd8(0x27f)](_0x125046),this[_0x4f2dd8(0x100)]['set'](_0x33237c,_0x125046);}),this[_0x3a69c0(0x1b6)][_0x3a69c0(0x232)](_0x1dfb30[_0x3a69c0(0x2b6)][_0x3a69c0(0x32e)])['pipe'](_0x12ea67['takeUntil'](this[_0x3a69c0(0xef)]))[_0x3a69c0(0x1a0)](_0x12ea67[_0x3a69c0(0x327)](_0x47048f=>!_0x47048f[_0x3a69c0(0x15d)]()[_0x3a69c0(0x33c)]('__')))[_0x3a69c0(0x131)](async _0x43b0e2=>{const _0x3633bc=_0x3a69c0,_0xf5f6ce=_0x43b0e2[_0x3633bc(0x15d)](),_0x958183=await this[_0x3633bc(0x2c5)](_0xf5f6ce);this[_0x3633bc(0x296)][_0x3633bc(0x27f)](_0x958183),this[_0x3633bc(0x100)][_0x3633bc(0x151)](_0xf5f6ce,_0x958183);}),_0x12ea67[_0x3a69c0(0x307)](this[_0x3a69c0(0x1b6)][_0x3a69c0(0x16c)](_0x1dfb30['UniverInstanceType'][_0x3a69c0(0x32e)]),this[_0x3a69c0(0x1b6)][_0x3a69c0(0x16c)](_0x1dfb30[_0x3a69c0(0x2b6)]['UNIVER_SHEET']))['pipe'](_0x12ea67[_0x3a69c0(0x201)](this[_0x3a69c0(0xef)]))[_0x3a69c0(0x131)](_0x5e7d25=>{const _0x1b43fc=_0x3a69c0,_0x35fb09=_0x5e7d25['getUnitId'](),_0x117d5f=this[_0x1b43fc(0x100)][_0x1b43fc(0x123)](_0x35fb09);_0x117d5f&&(_0x117d5f[_0x1b43fc(0x289)](),this[_0x1b43fc(0x100)][_0x1b43fc(0x139)](_0x35fb09));});}async[_0x1c30d9(0x28d)](_0x50b3a6){const _0x4018fe=_0x1c30d9,_0x143edd=await this[_0x4018fe(0x2fd)][_0x4018fe(0x178)](_0x50b3a6),_0x2ed0e3=this[_0x4018fe(0x1b3)][_0x4018fe(0x1fb)](_0x26f0a0,_0x50b3a6,_0x143edd);return _0x2ed0e3[_0x4018fe(0x240)](),_0x2ed0e3;}async['_startDocCollabCursor'](_0x5e8625){const _0xa32b37=_0x1c30d9,_0x2dc7b4=await this['_collabSessionService'][_0xa32b37(0x178)](_0x5e8625),_0x4d95d0=this[_0xa32b37(0x1b3)][_0xa32b37(0x1fb)](_0x1ce994,_0x5e8625,_0x2dc7b4);return _0x4d95d0[_0xa32b37(0x240)](),_0x4d95d0;}};_0x156b27=_0x218b8e([_0x336319(0x0,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x336319(0x1,_0x1dfb30['Inject'](_0x1dfb30[_0x1c30d9(0x13a)])),_0x336319(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0x2af)]))],_0x156b27);const _0x5b7dae=0x14,_0x2e1839=0xc8,_0x316dd9=0x4,_0x6954ee=0x5;function _0x25d6fc(_0x255f64,_0x846288){const _0x16da7b=_0x1c30d9;let {radius:_0x56441f,width:_0x425f4e,height:_0x306f8a}=_0x846288;_0x56441f=_0x56441f!=null?_0x56441f:0x0,_0x425f4e=_0x425f4e!=null?_0x425f4e:0x1e,_0x306f8a=_0x306f8a!=null?_0x306f8a:0x1e;let _0x18c313=0x0,_0x2df2f1=0x0,_0x5a6e6b=0x0;_0x18c313=_0x2df2f1=_0x5a6e6b=Math[_0x16da7b(0x24f)](_0x56441f,_0x425f4e/0x2,_0x306f8a/0x2),_0x255f64[_0x16da7b(0x92)](),_0x255f64[_0x16da7b(0x145)](_0x18c313,0x0),_0x255f64[_0x16da7b(0x344)](_0x425f4e-_0x2df2f1,0x0),_0x255f64[_0x16da7b(0x2f1)](_0x425f4e-_0x2df2f1,_0x2df2f1,_0x2df2f1,Math['PI']*0x3/0x2,0x0,!0x1),_0x255f64[_0x16da7b(0x344)](_0x425f4e,_0x306f8a-_0x5a6e6b),_0x255f64[_0x16da7b(0x2f1)](_0x425f4e-_0x5a6e6b,_0x306f8a-_0x5a6e6b,_0x5a6e6b,0x0,Math['PI']/0x2,!0x1),_0x255f64[_0x16da7b(0x344)](0x0,_0x306f8a),_0x255f64[_0x16da7b(0x344)](0x0,_0x18c313),_0x255f64[_0x16da7b(0x2f1)](_0x18c313,_0x18c313,_0x18c313,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x255f64[_0x16da7b(0x14b)](),_0x846288[_0x16da7b(0x1bf)]&&(_0x255f64[_0x16da7b(0xb8)](),_0x255f64[_0x16da7b(0x231)]=_0x846288[_0x16da7b(0x1bf)],_0x846288['fillRule']===_0x16da7b(0x13b)?_0x255f64[_0x16da7b(0x1bf)](_0x16da7b(0x13b)):_0x255f64['fill'](),_0x255f64[_0x16da7b(0x2b5)]());}class _0x1932c3 extends _0x5cce25['Shape']{constructor(_0x9c9091,_0x23a8bf){const _0x565f1d=_0x1c30d9;super(_0x9c9091,_0x23a8bf),_0xbf1006(this,_0x565f1d(0xb0)),_0xbf1006(this,_0x565f1d(0x2fc)),(this[_0x565f1d(0xb0)]=_0x23a8bf==null?void 0x0:_0x23a8bf[_0x565f1d(0xb0)],this[_0x565f1d(0x2fc)]=_0x23a8bf==null?void 0x0:_0x23a8bf[_0x565f1d(0x2fc)]);}static[_0x1c30d9(0x180)](_0x1ba5ac,_0xda9fad){const _0x161cd9=_0x1c30d9,{text:_0x136981,color:_0xf83c31}=_0xda9fad;_0x1ba5ac[_0x161cd9(0xb8)](),_0x1ba5ac[_0x161cd9(0x74)]=_0x161cd9(0x25b);const _0x49b7c9=_0x1ba5ac[_0x161cd9(0x15c)](_0x136981)[_0x161cd9(0x192)],_0x4b9f47=Math[_0x161cd9(0x24f)](_0x49b7c9+0x2*_0x316dd9,_0x2e1839);_0x25d6fc(_0x1ba5ac,{'height':_0x5b7dae,'radius':0x4,'width':_0x4b9f47,'fill':_0xf83c31}),_0x1ba5ac[_0x161cd9(0x231)]=_0x161cd9(0x237);const _0x4429ca=_0x316dd9,_0x3fb7c1=_0x5b7dae-_0x6954ee,_0xdb0160=_0x2e1839-0x2*_0x316dd9;if(_0x49b7c9>_0xdb0160){let _0xe43c88='',_0x58caec=0x0;for(const _0x3cdd72 of _0x136981){const _0x530495=_0x1ba5ac[_0x161cd9(0x15c)](_0x3cdd72)[_0x161cd9(0x192)];if(_0x58caec+_0x530495<=_0xdb0160-_0x1ba5ac[_0x161cd9(0x15c)](_0x161cd9(0x2b0))[_0x161cd9(0x192)])_0xe43c88+=_0x3cdd72,_0x58caec+=_0x530495;else{_0xe43c88+='...';break;}}_0x1ba5ac[_0x161cd9(0x198)](_0xe43c88,_0x4429ca,_0x3fb7c1);}else _0x1ba5ac[_0x161cd9(0x198)](_0x136981,_0x4429ca,_0x3fb7c1);_0x1ba5ac[_0x161cd9(0x2b5)]();}[_0x1c30d9(0xf5)](_0x52e593){const _0x4195cd=_0x1c30d9;_0x1932c3[_0x4195cd(0x180)](_0x52e593,this);}}const _0x4bac1f=_0x1c30d9(0x1a7),_0x30b12a='collab-text-range-',_0x675c05=_0x1c30d9(0x121),_0x197527=0x6,_0x1a5bed=1.5,_0x17f908=0x4,_0x46d8a3=1.5,_0x5b9578=_0x1c30d9(0x18e);class _0x348f9b{constructor(_0x4657da,_0x235e46,_0x505265,_0x51b2c6){const _0x5189f3=_0x1c30d9;_0xbf1006(this,_0x5189f3(0x19f),[]),_0xbf1006(this,_0x5189f3(0x105),null),_0xbf1006(this,'_textBubble',null),_0xbf1006(this,_0x5189f3(0xad),null),_0xbf1006(this,'_hideTimer',null),_0xbf1006(this,'_eventUnsubscribe',null),(this[_0x5189f3(0x26d)]=_0x4657da,this[_0x5189f3(0x7f)]=_0x235e46,this['_docSkeleton']=_0x505265,this[_0x5189f3(0x177)]=_0x51b2c6,this[_0x5189f3(0x1a2)]());}set[_0x1c30d9(0xbe)](_0x1fc6d4){const _0x2ab4ca=_0x1c30d9;_0x1fc6d4?(this[_0x2ab4ca(0xad)]&&this[_0x2ab4ca(0xad)]['hide'](),this[_0x2ab4ca(0x2f5)]&&this['_textBubble'][_0x2ab4ca(0x2ec)]()):(this['_anchorDot']&&this[_0x2ab4ca(0xad)][_0x2ab4ca(0x2ec)](),this[_0x2ab4ca(0x2f5)]&&this[_0x2ab4ca(0x2f5)][_0x2ab4ca(0x267)]());}[_0x1c30d9(0x289)](){const _0x5584f4=_0x1c30d9;for(const _0x44b8ab of this[_0x5584f4(0x19f)])_0x44b8ab[_0x5584f4(0x289)]();this['_textBubble']&&this[_0x5584f4(0x2f5)]['dispose'](),this['_anchorDot']&&this[_0x5584f4(0xad)][_0x5584f4(0x289)](),this['_anchor']&&this[_0x5584f4(0x105)]['dispose'](),this[_0x5584f4(0x10a)]&&this[_0x5584f4(0x10a)]();}[_0x1c30d9(0x1a2)](){const _0x7c492d=_0x1c30d9;var _0x3a48e7;const {_docSkeleton:_0x62e982,_document:_0x29e285}=this,{color:_0x20ed29,name:_0x25889e,ranges:_0x30b58c}=this[_0x7c492d(0x26d)],_0x2bc7d0=_0x29e285[_0x7c492d(0x25f)](),{docsLeft:_0x3cdc51,docsTop:_0x20dcd2}=_0x2bc7d0,_0x3963cd=new _0x4f04d2[(_0x7c492d(0xd1))](_0x2bc7d0,_0x62e982);for(const {startOffset:_0x206e8d,endOffset:_0x592444,rangeType:_0xcc62e6,segmentId:_0x4a3d40,segmentPage:_0x378411,collapsed:_0x204457,isActive:_0x45803b}of _0x30b58c){const _0xca4705=_0x62e982[_0x7c492d(0x351)](_0x206e8d,!0x0,_0x4a3d40,_0x378411);let _0x774cd3=_0x62e982[_0x7c492d(0x351)](_0x592444,!0x0,_0x4a3d40,_0x378411);if(_0x774cd3==null&&(_0x774cd3=_0x62e982['findNodePositionByCharIndex'](_0x592444-0x1,!0x1,_0x4a3d40,_0x378411)),_0x45803b){const {contentBoxPointGroup:_0x1ced6a}=_0x3963cd[_0x7c492d(0x1b4)](_0x774cd3,_0x774cd3);if(_0x1ced6a[_0x7c492d(0x263)]===0x0)continue;this[_0x7c492d(0x15f)](_0x20ed29,_0x1ced6a,_0x3cdc51,_0x20dcd2,_0x25889e),this[_0x7c492d(0x10a)]=this[_0x7c492d(0x251)]();}if(_0xca4705&&_0x774cd3){if(_0xcc62e6===_0x1dfb30[_0x7c492d(0xd7)][_0x7c492d(0x11d)]){const _0x3a4dbf=new _0x4f04d2[(_0x7c492d(0xe4))](_0x2bc7d0,_0x62e982),{pointGroup:_0x4a4f1c}=(_0x3a48e7=_0x3a4dbf[_0x7c492d(0x1b4)](_0xca4705,_0x774cd3))!=null?_0x3a48e7:{};if(_0x4a4f1c==null||_0x4a4f1c[_0x7c492d(0x263)]===0x0)continue;this[_0x7c492d(0x168)](_0x20ed29,_0x4a4f1c,_0x3cdc51,_0x20dcd2);}else{if(!_0x204457){const {borderBoxPointGroup:_0x37a332}=_0x3963cd[_0x7c492d(0x1b4)](_0xca4705,_0x774cd3);if(_0x37a332[_0x7c492d(0x263)]===0x0)continue;this[_0x7c492d(0x122)](_0x20ed29,_0x37a332,_0x3cdc51,_0x20dcd2);}}}}}[_0x1c30d9(0x15f)](_0x4637a4,_0xac3ae1,_0x21420b,_0xdf31a9,_0x130a5a){const _0x344ac4=_0x1c30d9,_0x583fba=this['_getAnchorBounding'](_0xac3ae1),{left:_0x3e5689,top:_0x2e4985,height:_0x10ac4c}=_0x583fba,_0x5ac337=this[_0x344ac4(0x292)](),_0x4f9ebe=_0x46d8a3/_0x5ac337,_0xf4e5aa=new _0x5cce25[(_0x344ac4(0x324))](_0x4bac1f+_0x1dfb30[_0x344ac4(0x157)](_0x197527),{'left':_0x3e5689+_0x21420b-_0x4f9ebe,'top':_0x2e4985+_0xdf31a9,'height':_0x10ac4c,'width':_0x1a5bed,'fill':_0x4637a4||_0x5cce25['getColor'](_0x1dfb30[_0x344ac4(0x8d)][_0x344ac4(0x88)],0x0),'strokeWidth':_0x4f9ebe,'stroke':_0x5b9578,'evented':!0x0});this[_0x344ac4(0x105)]=_0xf4e5aa,this[_0x344ac4(0x7f)]['addObject'](_0xf4e5aa,_0x4f04d2[_0x344ac4(0x1e7)]);const _0x4d57a3=new _0x5cce25[(_0x344ac4(0x324))](_0x4bac1f+_0x1dfb30[_0x344ac4(0x157)](_0x197527),{'left':_0x3e5689+_0x21420b-_0x4f9ebe,'top':_0x2e4985+_0xdf31a9-_0x17f908/0x2,'height':_0x17f908,'width':_0x17f908,'fill':_0x4637a4||_0x5cce25['getColor'](_0x1dfb30['COLORS'][_0x344ac4(0x88)],0x0),'strokeWidth':0x0,'stroke':_0x4637a4||_0x5cce25[_0x344ac4(0x1be)](_0x1dfb30[_0x344ac4(0x8d)]['black'],0x0),'evented':!0x1});this[_0x344ac4(0xad)]=_0x4d57a3,this[_0x344ac4(0x7f)]['addObject'](_0x4d57a3,_0x4f04d2[_0x344ac4(0x1e7)]);const _0x51184c=new _0x1932c3(_0x4bac1f+_0x1dfb30[_0x344ac4(0x157)](_0x197527),{'left':_0x3e5689+_0x21420b-_0x4f9ebe,'top':_0x2e4985+_0xdf31a9-_0x5b7dae,'text':_0x130a5a,'color':_0x4637a4});this['_textBubble']=_0x51184c,this[_0x344ac4(0x7f)][_0x344ac4(0x167)](_0x51184c,_0x4f04d2['TEXT_RANGE_LAYER_INDEX']),this[_0x344ac4(0xbe)]=!0x1;}[_0x1c30d9(0x251)](){const _0x1efa93=_0x1c30d9,_0x38def3=this['_anchor'][_0x1efa93(0x2fb)][_0x1efa93(0x25e)](()=>{const _0x44d5f7=_0x1efa93;this[_0x44d5f7(0xbe)]=!0x0;}),_0x376f98=this[_0x1efa93(0x105)][_0x1efa93(0x96)]['subscribeEvent'](()=>{const _0x51ea66=_0x1efa93;this[_0x51ea66(0x196)]&&clearTimeout(this[_0x51ea66(0x196)]),this[_0x51ea66(0x196)]=setTimeout(()=>{const _0x204b9c=_0x51ea66;this[_0x204b9c(0xbe)]=!0x1;},0x7d0);});return()=>{const _0x30bf8e=_0x1efa93;_0x38def3[_0x30bf8e(0x1fe)](),_0x376f98[_0x30bf8e(0x1fe)]();};}[_0x1c30d9(0x122)](_0x524736,_0x3d775b,_0x48f5fe,_0x254119){const _0x25eba0=_0x1c30d9,_0x2b723a=new _0x1dfb30[(_0x25eba0(0x135))](_0x524736)[_0x25eba0(0x1a8)](0.2)[_0x25eba0(0xf0)](),_0x147c91=new _0x5cce25[(_0x25eba0(0xcf))](_0x30b12a+_0x1dfb30[_0x25eba0(0x157)](_0x197527),{'pointsGroup':_0x3d775b,'fill':_0x2b723a||_0x5cce25[_0x25eba0(0x1be)](_0x1dfb30[_0x25eba0(0x8d)][_0x25eba0(0x88)],0.2),'left':_0x48f5fe,'top':_0x254119,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x25eba0(0x72)](_0x147c91),this[_0x25eba0(0x7f)]['addObject'](_0x147c91,_0x4f04d2[_0x25eba0(0x1e7)]);}['_drawRectRange'](_0x8e3062,_0xc7b78f,_0x4c8d71,_0x531dae){const _0x428982=_0x1c30d9,_0xfd775=new _0x1dfb30[(_0x428982(0x135))](_0x8e3062)[_0x428982(0x1a8)](0.2)['toRgbString'](),_0x49c757=new _0x5cce25['RegularPolygon'](_0x675c05+_0x1dfb30['generateRandomId'](_0x197527),{'pointsGroup':_0xc7b78f,'fill':_0xfd775||_0x5cce25[_0x428982(0x1be)](_0x1dfb30[_0x428982(0x8d)][_0x428982(0x88)],0.2),'left':_0x4c8d71,'top':_0x531dae,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x428982(0x19f)][_0x428982(0x72)](_0x49c757),this['_scene'][_0x428982(0x167)](_0x49c757,_0x4f04d2[_0x428982(0x1e7)]);}[_0x1c30d9(0x32d)](_0x1e280c){const _0xf61fa1=_0x1e280c[0x0],_0x1eff4f=_0xf61fa1[0x0],_0x4ac336=_0xf61fa1[0x2],{x:_0x12f6da,y:_0x1cf08e}=_0x1eff4f,{x:_0x4717d4,y:_0x528b03}=_0x4ac336;return{'left':_0x12f6da,'top':_0x1cf08e,'width':_0x4717d4-_0x12f6da,'height':_0x528b03-_0x1cf08e};}[_0x1c30d9(0x292)](){const _0x278982=_0x1c30d9,{scaleX:_0x30ac,scaleY:_0x5e56df}=this[_0x278982(0x7f)][_0x278982(0xbd)]();return Math[_0x278982(0x277)](_0x30ac,_0x5e56df);}}var _0x16e398=Object[_0x1c30d9(0x176)],_0x3a36cc=(_0x41628c,_0x2c385f,_0x30f066,_0x5df8ff)=>{const _0x3b7e81=_0x1c30d9;for(var _0x523c4d=_0x5df8ff>0x1?void 0x0:_0x5df8ff?_0x16e398(_0x2c385f,_0x30f066):_0x2c385f,_0x5c9e7e=_0x41628c[_0x3b7e81(0x263)]-0x1,_0x58316f;_0x5c9e7e>=0x0;_0x5c9e7e--)(_0x58316f=_0x41628c[_0x5c9e7e])&&(_0x523c4d=_0x58316f(_0x523c4d)||_0x523c4d);return _0x523c4d;},_0x4a84f3=(_0x1f2ef1,_0x4fa0e1)=>(_0x321fb3,_0x556e02)=>_0x4fa0e1(_0x321fb3,_0x556e02,_0x1f2ef1);let _0x55ea51=class extends _0x1dfb30[_0x1c30d9(0x227)]{constructor(_0x3e1922,_0x5da921,_0x3ab9a9,_0x4c605b,_0x3134d1){const _0x2ce739=_0x1c30d9;super(),_0xbf1006(this,_0x2ce739(0x20d),[]),_0xbf1006(this,'_cursors',[]),(this['_context']=_0x3e1922,this[_0x2ce739(0x306)]=_0x5da921,this[_0x2ce739(0xa2)]=_0x3ab9a9,this[_0x2ce739(0x1d8)]=_0x4c605b,this['_themeService']=_0x3134d1,this[_0x2ce739(0x31a)]());}[_0x1c30d9(0x31a)](){const _0x59face=_0x1c30d9,_0x1a5239=this[_0x59face(0x2bd)][_0x59face(0x352)],_0x2e86c1=this[_0x59face(0x306)];this['disposeWithMe'](_0x12ea67[_0x59face(0x348)]([this[_0x59face(0xa2)]['getCollabCursors$'](_0x1a5239),this[_0x59face(0x2a5)][_0x59face(0x1c0)]])[_0x59face(0x1a0)](_0x2dd10a['map'](([_0x50362f,_0x5f1f44])=>({'skeleton':_0x2e86c1['getSkeleton'](),'cursors':[..._0x50362f[_0x59face(0xd5)]()][_0x59face(0x1b9)](_0x244591=>({..._0x244591,'color':this[_0x59face(0x2a5)][_0x59face(0x260)](_0x244591[_0x59face(0xb0)])}))})))[_0x59face(0x131)](_0x3cc83c=>{const _0x5a1b9d=_0x59face;if(this[_0x5a1b9d(0x112)](),_0x3cc83c){const {skeleton:_0x37da41,cursors:_0x2297de}=_0x3cc83c;this[_0x5a1b9d(0x23f)](_0x37da41,_0x2297de);}})),this[_0x59face(0x353)](),this['_initCommandExecutedListener']();}[_0x1c30d9(0x23f)](_0x34c52e,_0x26b888){const _0x9facf9=_0x1c30d9,{scene:_0x3037b1,mainComponent:_0x1d04f6}=this['_context'],_0x5d6ec6=_0x26b888[_0x9facf9(0x235)](_0x1e4473=>new _0x348f9b(_0x1e4473,_0x3037b1,_0x34c52e,_0x1d04f6));this[_0x9facf9(0x20d)]=_0x5d6ec6,this[_0x9facf9(0x300)]=_0x26b888;}['_refreshCollabCursors'](){const _0x1f9c43=_0x1c30d9;this[_0x1f9c43(0x112)]();const {scene:_0x6af634,mainComponent:_0x264ba7}=this[_0x1f9c43(0x2bd)],_0x3a52ad=this[_0x1f9c43(0x306)][_0x1f9c43(0x26e)](),_0x580fd4=this['_cursors'][_0x1f9c43(0x235)](_0x30eabe=>new _0x348f9b(_0x30eabe,_0x6af634,_0x3a52ad,_0x264ba7));this[_0x1f9c43(0x20d)]=_0x580fd4;}[_0x1c30d9(0x112)](){const _0x43a363=_0x1c30d9;this[_0x43a363(0x20d)][_0x43a363(0x249)](_0x3b3d67=>_0x3b3d67[_0x43a363(0x289)]()),this[_0x43a363(0x20d)]=[];}[_0x1c30d9(0x2a2)](){const _0x35b52d=_0x1c30d9,_0x7fadfb=[_0x4f04d2[_0x35b52d(0x93)]['id']];this['disposeWithMe'](this[_0x35b52d(0x1d8)][_0x35b52d(0x1e1)](_0x5a183e=>{const _0x25e77a=_0x35b52d;_0x7fadfb['includes'](_0x5a183e['id'])&&_0x5a183e[_0x25e77a(0x2c6)][_0x25e77a(0x352)]===this[_0x25e77a(0x2bd)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x1c30d9(0x353)](){const _0x10a220=_0x1c30d9;this[_0x10a220(0x297)](_0x1dfb30[_0x10a220(0x15a)](this[_0x10a220(0x2bd)][_0x10a220(0x302)]['onTransformChange$'])[_0x10a220(0x1a0)](_0x2dd10a[_0x10a220(0x327)](_0x3710c5=>_0x3710c5[_0x10a220(0x2f8)]===_0x5cce25[_0x10a220(0xb3)]['resize']),_0x2dd10a[_0x10a220(0x2ef)](0x10))[_0x10a220(0x131)](()=>{const _0x780209=_0x10a220;this[_0x780209(0x194)]();}));}};_0x55ea51=_0x3a36cc([_0x4a84f3(0x1,_0x1dfb30[_0x1c30d9(0xe7)](_0x90847b['DocSkeletonManagerService'])),_0x4a84f3(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x156b27)),_0x4a84f3(0x3,_0x1dfb30['ICommandService']),_0x4a84f3(0x4,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0xa8)]))],_0x55ea51);const _0x547eea=0x1,_0x4a9d37=1.5;class _0x3e7dc2 extends _0x5cce25[_0x1c30d9(0x1ba)]{constructor(_0x289721,_0x3ba25a){const _0x100fbe=_0x1c30d9;super(_0x289721,_0x3ba25a),_0xbf1006(this,_0x100fbe(0x98)),_0xbf1006(this,_0x100fbe(0x31d),!0x1),_0xbf1006(this,_0x100fbe(0x1d9)),_0xbf1006(this,_0x100fbe(0x236),''),_0xbf1006(this,_0x100fbe(0x16a),'top'),_0xbf1006(this,_0x100fbe(0x23c)),(_0x3ba25a&&this[_0x100fbe(0x126)](_0x3ba25a),this[_0x100fbe(0x2fb)][_0x100fbe(0x25e)](()=>this[_0x100fbe(0x126)]({'hovered':!0x0})),this[_0x100fbe(0x96)]['subscribeEvent'](()=>this[_0x100fbe(0x126)]({'hovered':!0x1})));}[_0x1c30d9(0x126)](_0x3c45dc){const _0x1bc0bf=_0x1c30d9;var _0x27544a,_0x2888fa,_0x317980,_0x5eb2d6,_0x9d6039,_0x206a61;this[_0x1bc0bf(0x98)]=(_0x27544a=_0x3c45dc[_0x1bc0bf(0xb0)])!=null?_0x27544a:this['_color'],this[_0x1bc0bf(0x31d)]=(_0x2888fa=_0x3c45dc['hovered'])!=null?_0x2888fa:this[_0x1bc0bf(0x31d)],this[_0x1bc0bf(0x1d9)]=(_0x317980=_0x3c45dc[_0x1bc0bf(0x278)])!=null?_0x317980:this[_0x1bc0bf(0x1d9)],this['_name']=(_0x5eb2d6=_0x3c45dc['name'])!=null?_0x5eb2d6:this[_0x1bc0bf(0x236)],this[_0x1bc0bf(0x16a)]=(_0x9d6039=_0x3c45dc['labelPosition'])!=null?_0x9d6039:this[_0x1bc0bf(0x16a)],this['_backgroundColor']=(_0x206a61=_0x3c45dc[_0x1bc0bf(0x1d5)])!=null?_0x206a61:this[_0x1bc0bf(0x23c)],this['transformByState']({'width':_0x3c45dc[_0x1bc0bf(0x192)],'height':_0x3c45dc[_0x1bc0bf(0xec)]});}[_0x1c30d9(0x79)](_0x3b43ec){const _0x55268e=_0x1c30d9,{row:_0x129569,column:_0x40fda}=_0x3b43ec;if(_0x129569>=this[_0x55268e(0x1d9)][_0x55268e(0x338)]&&_0x129569<=this[_0x55268e(0x1d9)][_0x55268e(0x14d)]&&_0x40fda>=this[_0x55268e(0x1d9)][_0x55268e(0xe9)]&&_0x40fda<=this[_0x55268e(0x1d9)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x55268e(0x126)]({'hovered':!0x1});}[_0x1c30d9(0x256)](_0x1891de){return!0x1;}['_draw'](_0x82e4b0){const _0x4e811e=_0x1c30d9;_0x5cce25['Rect'][_0x4e811e(0x180)](_0x82e4b0,{'width':this[_0x4e811e(0x192)],'height':this['height'],'strokeWidth':_0x4a9d37,'stroke':this[_0x4e811e(0x98)],'evented':!0x1,'fill':this[_0x4e811e(0x23c)]}),this[_0x4e811e(0x31d)]&&(_0x82e4b0[_0x4e811e(0xb8)](),_0x82e4b0['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x4e811e(0x16a)]===_0x4e811e(0x2ce)?0x0:-_0x5b7dae),_0x1932c3[_0x4e811e(0x180)](_0x82e4b0,{'text':this['_name'],'color':this['_color']}),_0x82e4b0[_0x4e811e(0x2b5)]());}}var _0x9265c6=Object[_0x1c30d9(0x176)],_0x53b2e7=(_0x37d937,_0x1fdbbc,_0x196d90,_0x16b6df)=>{for(var _0x3d97eb=_0x16b6df>0x1?void 0x0:_0x16b6df?_0x9265c6(_0x1fdbbc,_0x196d90):_0x1fdbbc,_0x30c1a5=_0x37d937['length']-0x1,_0x2734dd;_0x30c1a5>=0x0;_0x30c1a5--)(_0x2734dd=_0x37d937[_0x30c1a5])&&(_0x3d97eb=_0x2734dd(_0x3d97eb)||_0x3d97eb);return _0x3d97eb;},_0x607070=(_0xfdc640,_0xf40919)=>(_0x2a5675,_0x34a6a2)=>_0xf40919(_0x2a5675,_0x34a6a2,_0xfdc640);const _0x533df6=0x1389;let _0x5e75af=class extends _0x1dfb30['RxDisposable']{constructor(_0x1f6c24,_0x1996e2,_0x3a3b03,_0x4ad463){const _0x196ed9=_0x1c30d9;super(),_0xbf1006(this,_0x196ed9(0x300),new Set()),_0xbf1006(this,'_lastPointer',null),(this['_context']=_0x1f6c24,this[_0x196ed9(0x1b8)]=_0x1996e2,this[_0x196ed9(0xa2)]=_0x3a3b03,this['_themeService']=_0x4ad463,this[_0x196ed9(0x31a)]());}[_0x1c30d9(0x31a)](){const _0x1d3dfd=_0x1c30d9;this[_0x1d3dfd(0x1b8)][_0x1d3dfd(0x316)]['pipe'](_0x2dd10a[_0x1d3dfd(0x201)](this['dispose$']),_0x2dd10a[_0x1d3dfd(0x320)](_0x527663=>{const _0x1a2b3f=_0x1d3dfd;if(_0x527663){const _0x21b8a9=_0x527663[_0x1a2b3f(0x197)];return _0x12ea67[_0x1a2b3f(0x348)](this['_collabCursorController'][_0x1a2b3f(0x28a)](this[_0x1a2b3f(0x2bd)][_0x1a2b3f(0x352)]),this[_0x1a2b3f(0x2a5)]['currentTheme$'])[_0x1a2b3f(0x1a0)](_0x2dd10a[_0x1a2b3f(0x235)](([_0x3059eb,_0x272e0e])=>{const _0x162925=_0x1a2b3f,_0x3964f6=new Map();return _0x3059eb[_0x162925(0x249)]((_0x4a06d5,_0x4a18cf)=>{const _0x1158ed=_0x162925;if(_0x4a06d5['sheetID']===_0x21b8a9){const _0x4c4c45={..._0x4a06d5};_0x4c4c45[_0x1158ed(0xb0)]=this['_themeService']['getColorFromTheme'](_0x4a06d5[_0x1158ed(0xb0)]),_0x3964f6[_0x1158ed(0x151)](_0x4a18cf,_0x4c4c45);}}),{'skeleton':_0x527663,'cursors':_0x3964f6};}));}return _0x12ea67['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x516881,cursors:_0x4fb32c})=>{const _0x538644=_0x1d3dfd;this[_0x538644(0x112)](),_0x516881&&this[_0x538644(0x23f)](_0x516881,_0x4fb32c);}),this[_0x1d3dfd(0x1b8)][_0x1d3dfd(0x316)][_0x1d3dfd(0x131)](_0x4b5110=>{const _0x3e4fd3=_0x1d3dfd;if(_0x4b5110==null)return;const {skeleton:_0x3e190c}=_0x4b5110,{scene:_0x56c94d}=this['_context'];_0x56c94d[_0x3e4fd3(0xc5)][_0x3e4fd3(0x25e)](_0x1dfb30[_0x3e4fd3(0x233)](_0x31ee28=>{const _0x18fb1e=_0x3e4fd3;var _0xba314f,_0x128ae4;const {offsetX:_0x467a6d,offsetY:_0x56ad68}=_0x31ee28,{x:_0x2ce6e2,y:_0x2537d7}=_0x56c94d['getRelativeToViewportCoord'](_0x5cce25[_0x18fb1e(0x1c3)][_0x18fb1e(0x2e4)]([_0x467a6d,_0x56ad68])),{scaleX:_0x2a602f,scaleY:_0x4d56a9}=_0x56c94d[_0x18fb1e(0xbd)](),_0x54dd4b=_0x56c94d['getViewport'](_0x5cce25[_0x18fb1e(0xe3)][_0x18fb1e(0x127)]),_0x4a7531=_0x56c94d['getVpScrollXYInfoByPosToVp'](_0x5cce25[_0x18fb1e(0x1c3)]['FromArray']([_0x2ce6e2,_0x2537d7]),_0x54dd4b),_0x421f2c=_0x3e190c[_0x18fb1e(0xda)](_0x467a6d,_0x56ad68,_0x2a602f,_0x4d56a9,_0x4a7531);((_0xba314f=this[_0x18fb1e(0x15b)])==null?void 0x0:_0xba314f[_0x18fb1e(0x2d4)])===_0x421f2c[_0x18fb1e(0x2d4)]&&((_0x128ae4=this[_0x18fb1e(0x15b)])==null?void 0x0:_0x128ae4[_0x18fb1e(0x321)])===_0x421f2c[_0x18fb1e(0x321)]||this[_0x18fb1e(0x300)]['forEach'](_0x307df3=>{const _0x226130=_0x18fb1e;_0x307df3[_0x226130(0x79)](_0x421f2c);});},0x64));});}[_0x1c30d9(0x23f)](_0x18076f,_0x16fc23){const _0x42a64f=_0x1c30d9;var _0x2ace8c;const _0x4cbf81=(_0x2ace8c=this['_sheetSkeletonManagerService'][_0x42a64f(0x309)]())==null?void 0x0:_0x2ace8c[_0x42a64f(0x83)];if(!_0x4cbf81)return;const _0x370599=this[_0x42a64f(0xb9)]();if(!_0x370599)return;this['_cursors'][_0x42a64f(0x249)](_0x301a56=>{const _0x447a16=_0x42a64f;_0x301a56[_0x447a16(0x2bc)]();});const {scene:_0x497f40}=_0x370599,_0x5719ca=_0x197825(Array[_0x42a64f(0xed)](_0x16fc23[_0x42a64f(0xd5)]()))[_0x42a64f(0x235)](_0x2c5e6c=>{const _0x3413c1=_0x42a64f,{color:_0x26cd69,range:_0x28b30a,name:_0x59e32d,selection:_0x5daeeb,sheetID:_0x57c697}=_0x2c5e6c,{startColumn:_0xeec926,startRow:_0x1b6401,endColumn:_0x8acf67,endRow:_0x1e41d8}=_0x28b30a,_0x25d3d0=_0x149dfc['getCoordByCell'](_0x1b6401,_0xeec926,_0x497f40,_0x4cbf81),_0x1e49fa=_0x149dfc[_0x3413c1(0x2ff)](_0x1e41d8,_0x8acf67,_0x497f40,_0x4cbf81),{columnHeaderHeightAndMarginTop:_0x31affb}=_0x4cbf81,{startX:_0x4e78bd,startY:_0x3f7072}=_0x25d3d0,{endX:_0xe10d94,endY:_0x4a898d}=_0x1e49fa,_0x447665=_0xe10d94-_0x4e78bd,_0xeee734=_0x4a898d-_0x3f7072,_0x5ce1b9={'labelPosition':_0x3f7072-_0x31affb>=_0x5b7dae?_0x3413c1(0x7e):'bottom','sheetID':_0x57c697,'range':_0x28b30a,'color':_0x26cd69,'name':_0x59e32d,'selection':_0x5daeeb,'left':_0x4e78bd,'top':_0x3f7072,'width':_0x447665,'height':_0xeee734,'evented':!0x1,'zIndex':_0x533df6};return new _0x3e7dc2(_0x59e32d,_0x5ce1b9);});_0x497f40[_0x42a64f(0x1de)](_0x5719ca,_0x547eea),this[_0x42a64f(0x300)]=new Set(_0x5719ca);}['_removeCollabCursors'](){const _0x3153da=_0x1c30d9;var _0x1dc030;(_0x1dc030=this[_0x3153da(0x300)])==null||_0x1dc030[_0x3153da(0x249)](_0x537026=>_0x537026[_0x3153da(0x289)]());}[_0x1c30d9(0xb9)](){const _0x401472=_0x1c30d9;return _0x149dfc[_0x401472(0xe1)](this[_0x401472(0x2bd)]['unit'],this['_context']);}};_0x5e75af=_0x53b2e7([_0x607070(0x1,_0x1dfb30['Inject'](_0x149dfc[_0x1c30d9(0x169)])),_0x607070(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x156b27)),_0x607070(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0xa8)]))],_0x5e75af);function _0x197825(_0x3b3860){const _0x163833=_0x1c30d9,_0x37dc25=new Map();return _0x3b3860[_0x163833(0x249)](_0x1c0f53=>{const _0x3582bf=_0x163833;if(_0x37dc25['has'](_0x1c0f53['selection'])){const _0x385c2b=_0x37dc25[_0x3582bf(0x123)](_0x1c0f53[_0x3582bf(0x299)]);_0x385c2b[_0x3582bf(0x174)]+=',\x20'+_0x1c0f53[_0x3582bf(0x174)];}else _0x37dc25[_0x3582bf(0x151)](_0x1c0f53[_0x3582bf(0x299)],_0x1c0f53);}),Array[_0x163833(0xed)](_0x37dc25[_0x163833(0xd5)]());}var _0x123224=Object[_0x1c30d9(0x176)],_0x2726d1=(_0x80d3ff,_0x3ea718,_0x9f1fb0,_0x3dc467)=>{const _0x3ab385=_0x1c30d9;for(var _0x24bf11=_0x3dc467>0x1?void 0x0:_0x3dc467?_0x123224(_0x3ea718,_0x9f1fb0):_0x3ea718,_0x4d5800=_0x80d3ff[_0x3ab385(0x263)]-0x1,_0x31485c;_0x4d5800>=0x0;_0x4d5800--)(_0x31485c=_0x80d3ff[_0x4d5800])&&(_0x24bf11=_0x31485c(_0x24bf11)||_0x24bf11);return _0x24bf11;},_0x530b80=(_0x35239a,_0x58aab5)=>(_0x3cdb5b,_0x7c6741)=>_0x58aab5(_0x3cdb5b,_0x7c6741,_0x35239a);let _0x36e370=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x36a2f8,_0x4b9e7b,_0x15ca45,_0x1dfa23,_0x247b9d,_0x3a7845){const _0x294b2c=_0x1c30d9;super(),this['_beforeCloseService']=_0x36a2f8,this[_0x294b2c(0x2d7)]=_0x4b9e7b,this[_0x294b2c(0xa0)]=_0x15ca45,this[_0x294b2c(0x258)]=_0x1dfa23,this['_notificationService']=_0x247b9d,this['_localeService']=_0x3a7845,this[_0x294b2c(0x10e)](),this['_initEvent']();}[_0x1c30d9(0x10e)](){const _0x44a303=_0x1c30d9;this['disposeWithMe'](this[_0x44a303(0x279)][_0x44a303(0x1ec)](()=>{const _0x249a59=_0x44a303;if(this[_0x249a59(0x2d7)][_0x249a59(0xe8)][_0x249a59(0x30f)])return this['_localeService']['t'](_0x249a59(0x30e));}));}[_0x1c30d9(0x76)](){const _0x214901=_0x1c30d9;this[_0x214901(0x297)](this[_0x214901(0xa0)]['event$'][_0x214901(0x131)](_0x41ba6e=>{const _0x9d5d71=_0x214901;_0x41ba6e['id']===_0x3899ea['CollaborationUIEventId'][_0x9d5d71(0x31c)]&&this[_0x9d5d71(0x258)][_0x9d5d71(0x2ec)]({'type':_0x1d1957['MessageType'][_0x9d5d71(0x14f)],'content':this[_0x9d5d71(0x147)]['t']('collaboration.single-unit.warning')}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x18b)]&&this['_messageService'][_0x9d5d71(0x2ec)]({'type':_0x1d1957[_0x9d5d71(0xca)][_0x9d5d71(0x14f)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)]['PERMISSION_DENIED']&&this[_0x9d5d71(0x2aa)][_0x9d5d71(0x2ec)]({'title':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0x99)),'content':this[_0x9d5d71(0x147)]['t']('permission.content'),'type':_0x9d5d71(0x186),'duration':0x0}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)]['CONFLICT']&&this[_0x9d5d71(0x258)][_0x9d5d71(0x2ec)]({'type':_0x1d1957['MessageType'][_0x9d5d71(0x1c1)],'content':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0x1f4))+'('+_0x41ba6e[_0x9d5d71(0x2c4)]+')'}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x136)]&&this[_0x9d5d71(0x258)][_0x9d5d71(0x2ec)]({'type':_0x1d1957[_0x9d5d71(0xca)][_0x9d5d71(0x14f)],'content':this[_0x9d5d71(0x147)]['t'](_0x41ba6e[_0x9d5d71(0x2c4)]||'')}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x2ea)]&&this['_messageService']['show']({'type':_0x1d1957[_0x9d5d71(0xca)]['Warning'],'content':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0xa6))}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x22d)]&&this[_0x9d5d71(0x258)]['show']({'type':_0x1d1957[_0x9d5d71(0xca)]['Error'],'content':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0x284))}),_0x41ba6e['id']===_0x3899ea[_0x9d5d71(0xb5)][_0x9d5d71(0x2dc)]&&this[_0x9d5d71(0x258)]['show']({'type':_0x1d1957[_0x9d5d71(0xca)]['Error'],'content':this[_0x9d5d71(0x147)]['t'](_0x9d5d71(0xaa))});}));}};_0x36e370=_0x2726d1([_0x530b80(0x0,_0x5581af[_0x1c30d9(0x282)]),_0x530b80(0x1,_0x3899ea['ILocalCacheService']),_0x530b80(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0x2e0)])),_0x530b80(0x3,_0x5581af[_0x1c30d9(0x2b7)]),_0x530b80(0x4,_0x5581af['INotificationService']),_0x530b80(0x5,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x2f0)]))],_0x36e370);var _0x210745=Object[_0x1c30d9(0x176)],_0x3ef7a5=(_0x417978,_0x7d13e5,_0x56570d,_0x31db8a)=>{const _0x479416=_0x1c30d9;for(var _0x22bcd8=_0x31db8a>0x1?void 0x0:_0x31db8a?_0x210745(_0x7d13e5,_0x56570d):_0x7d13e5,_0x206ffc=_0x417978[_0x479416(0x263)]-0x1,_0x53bc89;_0x206ffc>=0x0;_0x206ffc--)(_0x53bc89=_0x417978[_0x206ffc])&&(_0x22bcd8=_0x53bc89(_0x22bcd8)||_0x22bcd8);return _0x22bcd8;},_0x558fc4=(_0x145a3e,_0xaa261e)=>(_0x9082c0,_0x5e6e5e)=>_0xaa261e(_0x9082c0,_0x5e6e5e,_0x145a3e);let _0x27794d=class extends _0x1dfb30['Disposable']{constructor(_0x5ed558,_0x2939b7,_0x2e65bb,_0x5e0ec2){const _0x3b5738=_0x1c30d9;super(),_0xbf1006(this,_0x3b5738(0x1fc)),(this[_0x3b5738(0x1b3)]=_0x5ed558,this[_0x3b5738(0x159)]=_0x2939b7,this[_0x3b5738(0x1dd)]=_0x2e65bb,this[_0x3b5738(0x275)]=_0x5e0ec2,this[_0x3b5738(0x31a)]());}[_0x1c30d9(0x31a)](){const _0x36f8df=_0x1c30d9;this['_initWindowErrorListener'](),this[_0x36f8df(0x21a)](),this[_0x36f8df(0x245)](),this[_0x36f8df(0xde)]();}[_0x1c30d9(0xde)](){const _0x41258b=_0x1c30d9;this['disposeWithMe'](this[_0x41258b(0x275)][_0x41258b(0xa1)][_0x41258b(0x131)](_0x111a60=>{const _0x45aed7=_0x41258b;this[_0x45aed7(0x1fc)]=_0x111a60==null?void 0x0:_0x111a60['memberID'];}));}[_0x1c30d9(0x25a)](){const _0x31c40e=_0x1c30d9,_0x2607ca=_0x1cfde6=>{const _0x360c45=_0x33b0;var _0x5a458d;this[_0x360c45(0x234)]('error',_0x360c45(0x1b0)+_0x1cfde6[_0x360c45(0x9d)]+_0x360c45(0x166)+_0x1cfde6[_0x360c45(0x209)]+':'+_0x1cfde6[_0x360c45(0x2a9)]+':'+_0x1cfde6[_0x360c45(0x137)]+'\x0a'+(((_0x5a458d=_0x1cfde6[_0x360c45(0x186)])==null?void 0x0:_0x5a458d[_0x360c45(0x161)])||''));};window[_0x31c40e(0x138)](_0x31c40e(0x186),_0x2607ca),this[_0x31c40e(0x297)](()=>{const _0x1291fc=_0x31c40e;window[_0x1291fc(0x130)]('error',_0x2607ca);});}[_0x1c30d9(0x21a)](){const _0x2b7cc6=_0x1c30d9,_0x5c08b0=_0x3ea153=>{const _0xf21e44=_0x33b0;this[_0xf21e44(0x234)](_0xf21e44(0x186),_0xf21e44(0xcb)+_0x3ea153[_0xf21e44(0x2bb)]);};window[_0x2b7cc6(0x138)](_0x2b7cc6(0x8a),_0x5c08b0),this[_0x2b7cc6(0x297)](()=>{const _0x10d04e=_0x2b7cc6;window[_0x10d04e(0x130)](_0x10d04e(0x8a),_0x5c08b0);});}[_0x1c30d9(0x245)](){const _0x231fdd=_0x1c30d9,_0x2a3eb6=this['_logService'][_0x231fdd(0x186)][_0x231fdd(0x1df)](this[_0x231fdd(0x1dd)]);this[_0x231fdd(0x1dd)]['error']=(..._0x2aceca)=>{const _0x522ffe=_0x231fdd,_0x903a68=_0x2aceca[_0x522ffe(0x235)](_0x18b0f0=>_0x18b0f0 instanceof Error?_0x18b0f0[_0x522ffe(0x9d)]+'\x0a'+_0x18b0f0[_0x522ffe(0x161)]:String(_0x18b0f0))['join']('\x20');this[_0x522ffe(0x234)]('error','[LogService\x20Error]:\x20'+_0x903a68),_0x2a3eb6(..._0x2aceca);},this[_0x231fdd(0x297)](()=>{const _0x5ad0f6=_0x231fdd;this[_0x5ad0f6(0x1dd)][_0x5ad0f6(0x186)]=_0x2a3eb6;});}[_0x1c30d9(0x234)](_0xfcf554,_0x7fb07f){const _0x57884b=_0x1c30d9;try{const _0x2693c6={'userId':this['_memberID'],'logLabel':_0xfcf554,'content':_0x7fb07f};this[_0x57884b(0x159)]['post'](_0x57884b(0x2d2),{'body':_0x2693c6})['catch'](()=>{});}catch{}}};_0x27794d=_0x3ef7a5([_0x558fc4(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x13a)])),_0x558fc4(0x1,_0x1dfb30[_0x1c30d9(0xe7)](_0x221af8[_0x1c30d9(0x2de)])),_0x558fc4(0x2,_0x1dfb30['ILogService']),_0x558fc4(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea['CollaborationSessionService']))],_0x27794d);const _0x3bfb6b=_0x1c30d9(0x2b2),_0x5a98db={};var _0x11c632=Object[_0x1c30d9(0x176)],_0x18f5b6=(_0x678a4b,_0x364118,_0x20b407,_0x5c7cc3)=>{const _0x86238=_0x1c30d9;for(var _0x1ab4de=_0x5c7cc3>0x1?void 0x0:_0x5c7cc3?_0x11c632(_0x364118,_0x20b407):_0x364118,_0x29f0e0=_0x678a4b[_0x86238(0x263)]-0x1,_0x11b9ae;_0x29f0e0>=0x0;_0x29f0e0--)(_0x11b9ae=_0x678a4b[_0x29f0e0])&&(_0x1ab4de=_0x11b9ae(_0x1ab4de)||_0x1ab4de);return _0x1ab4de;},_0x3b047a=(_0x589caa,_0x5ceb49)=>(_0x4f2acd,_0x4c46bf)=>_0x5ceb49(_0x4f2acd,_0x4c46bf,_0x589caa);let _0x404555=class{constructor(_0x5b6e13,_0x1ab5e5){const _0x604912=_0x1c30d9;this['_transformService']=_0x5b6e13,this[_0x604912(0x25c)]=_0x1ab5e5;}[_0x1c30d9(0x215)](_0x1da70c){const _0x22ef8b=_0x1c30d9;this[_0x22ef8b(0x31b)](_0x1da70c),this['_transformPreviousActiveRange'](_0x1da70c);}[_0x1c30d9(0x271)](_0x3c5918){const _0x309d59=_0x1c30d9,{unitID:_0x7d56bc}=_0x3c5918,_0x111382=this[_0x309d59(0x25c)][_0x309d59(0x195)](_0x7d56bc)[_0x309d59(0x163)](_0x4f04d2[_0x309d59(0x2da)]),{redoCache:_0x3a54dc}=_0x111382[_0x309d59(0x78)]();if(_0x3a54dc[_0x309d59(0x263)]===0x0)return _0x3c5918;let _0x43b039=_0x1dfb30['Tools']['deepClone'](_0x3c5918[_0x309d59(0x1d2)][0x0]);for(let _0x11bf81=0x0;_0x11bf81<_0x3a54dc[_0x309d59(0x263)];_0x11bf81++){const _0x5a20b2={'id':_0x309d59(0xae),'params':{..._0x3a54dc[_0x11bf81]}},_0x39b716=this[_0x309d59(0x29a)][_0x309d59(0x184)](_0x43b039,_0x5a20b2,!0x1);if(_0x1448e7['isTransformMutationFailure'](_0x39b716))throw _0x39b716[_0x309d59(0x186)];_0x43b039=_0x39b716[_0x309d59(0xa7)];}return{..._0x1dfb30[_0x309d59(0x2e6)]['deepClone'](_0x3c5918),'mutations':[_0x43b039]};}[_0x1c30d9(0x31b)](_0x3d05e4){const _0x9cc46d=_0x1c30d9,{unitID:_0x5b2494}=_0x3d05e4,_0x24bf8e=this[_0x9cc46d(0x25c)][_0x9cc46d(0x195)](_0x5b2494)[_0x9cc46d(0x163)](_0x4f04d2['DocIMEInputManagerService']),{undoCache:_0x1e9483,redoCache:_0x28a8bf}=_0x24bf8e[_0x9cc46d(0x78)]();if(_0x1e9483['length']===0x0||_0x28a8bf['length']===0x0)return;const _0x21bca1=[],_0x1851b7=[];let _0x3bb122=_0x1dfb30['Tools']['deepClone'](_0x3d05e4['mutations'][0x0]),_0x27b4cf=_0x1dfb30[_0x9cc46d(0x2e6)][_0x9cc46d(0x24d)](_0x3d05e4[_0x9cc46d(0x1d2)][0x0]);for(let _0x58779a=_0x1e9483['length']-0x1;_0x58779a>=0x0;_0x58779a--){const _0x176167={'id':_0x9cc46d(0xae),'params':{..._0x1e9483[_0x58779a]}},_0x5cca0e={'id':_0x9cc46d(0xae),'params':{..._0x28a8bf[_0x58779a]}},_0x56267a=this[_0x9cc46d(0x29a)][_0x9cc46d(0x184)](_0x3bb122,_0x176167,!0x1),_0x408707=this[_0x9cc46d(0x29a)][_0x9cc46d(0x184)](_0x27b4cf,_0x5cca0e,!0x1);if(_0x1448e7[_0x9cc46d(0x30a)](_0x56267a))throw _0x56267a[_0x9cc46d(0x186)];if(_0x1448e7[_0x9cc46d(0x30a)](_0x408707))throw _0x408707[_0x9cc46d(0x186)];_0x21bca1[_0x9cc46d(0x20a)](_0x56267a[_0x9cc46d(0x108)][_0x9cc46d(0x2c6)]),_0x1851b7[_0x9cc46d(0x20a)](_0x408707[_0x9cc46d(0x108)]['params']),_0x3bb122=_0x56267a[_0x9cc46d(0xa7)],_0x27b4cf=_0x408707[_0x9cc46d(0xa7)];}_0x24bf8e[_0x9cc46d(0x1e9)]({'undoCache':_0x21bca1,'redoCache':_0x1851b7});}[_0x1c30d9(0x2ca)](_0x12c328){const _0x4a1f9a=_0x1c30d9,{unitID:_0x31f9b3}=_0x12c328,_0x3da032=this[_0x4a1f9a(0x25c)][_0x4a1f9a(0x195)](_0x31f9b3)[_0x4a1f9a(0x163)](_0x4f04d2['DocIMEInputManagerService']),_0x430b2b=_0x3da032[_0x4a1f9a(0x22b)]();if(_0x430b2b==null)return;const _0x4f7217=[{'id':_0x4a1f9a(0xae),'params':{'unitId':_0x12c328['unitID'],'actions':null,'textRanges':[_0x430b2b]}}],_0x5b2082=this[_0x4a1f9a(0x29a)][_0x4a1f9a(0x2ab)](_0x12c328,_0x4f7217);if(!_0x1448e7[_0x4a1f9a(0x128)](_0x5b2082))throw _0x5b2082['error'];const _0x5eb00c=_0x5b2082['m2Prime'][0x0][_0x4a1f9a(0x2c6)][_0x4a1f9a(0x7d)];Array[_0x4a1f9a(0x9e)](_0x5eb00c)&&_0x5eb00c['length']&&_0x3da032[_0x4a1f9a(0x319)](_0x5eb00c[0x0]);}};_0x404555=_0x18f5b6([_0x3b047a(0x0,_0x1448e7['ITransformService']),_0x3b047a(0x1,_0x5cce25[_0x1c30d9(0x103)])],_0x404555);var _0x99fa8=Object['getOwnPropertyDescriptor'],_0x48df58=(_0x3610de,_0xa31e32,_0x369fca,_0x26ef0f)=>{for(var _0x66fbb0=_0x26ef0f>0x1?void 0x0:_0x26ef0f?_0x99fa8(_0xa31e32,_0x369fca):_0xa31e32,_0x1ab243=_0x3610de['length']-0x1,_0x5175bf;_0x1ab243>=0x0;_0x1ab243--)(_0x5175bf=_0x3610de[_0x1ab243])&&(_0x66fbb0=_0x5175bf(_0x66fbb0)||_0x66fbb0);return _0x66fbb0;},_0x3d688d=(_0x3b5eba,_0x5acaaa)=>(_0x30a74d,_0x57df07)=>_0x5acaaa(_0x30a74d,_0x57df07,_0x3b5eba);let _0x105355=class{constructor(_0x434f07,_0x43e55d,_0x553add){const _0x4faa6f=_0x1c30d9;this[_0x4faa6f(0x1b3)]=_0x434f07,this[_0x4faa6f(0x29a)]=_0x43e55d,this[_0x4faa6f(0x33d)]=_0x553add;}['transformStateCache'](_0x15ea33){this['_transformHistoryAndStateStack'](_0x15ea33);}[_0x1c30d9(0x271)](_0x544748){const _0x2f62b6=_0x1c30d9,{unitID:_0x58247c}=_0x544748,{collaboration:_0x1ed33c}=this[_0x2f62b6(0x33d)]['getStateCache'](_0x58247c);if(_0x1ed33c[_0x2f62b6(0x263)]===0x0)return _0x544748;let _0xc478b5=_0x1dfb30[_0x2f62b6(0x2e6)][_0x2f62b6(0x24d)](_0x544748[_0x2f62b6(0x1d2)][0x0]);for(let _0x2f2830=0x0;_0x2f2830<_0x1ed33c['length'];_0x2f2830++){const _0x30ffc1={'id':_0x2f62b6(0xae),'params':{'unitId':_0x1ed33c[_0x2f2830][_0x2f62b6(0x352)],..._0x1ed33c[_0x2f2830][_0x2f62b6(0x2ad)]}},_0x58dd7e=this['_transformService'][_0x2f62b6(0x184)](_0xc478b5,_0x30ffc1,!0x1);if(_0x1448e7['isTransformMutationFailure'](_0x58dd7e))throw _0x58dd7e[_0x2f62b6(0x186)];_0xc478b5=_0x58dd7e['m1Prime'];}return{..._0x1dfb30[_0x2f62b6(0x2e6)]['deepClone'](_0x544748),'mutations':[_0xc478b5]};}[_0x1c30d9(0x200)](_0xc652ee){const _0x472513=_0x1c30d9,{unitID:_0x3bed5b}=_0xc652ee,{history:_0x4d093e,collaboration:_0x252c65}=this['_docStateChangeManagerService']['getStateCache'](_0x3bed5b);if(_0x4d093e[_0x472513(0x263)]===0x0&&_0x252c65[_0x472513(0x263)]===0x0)return;const _0x12a45e=[],_0x1b7534=[];let _0x166ca4=_0x1dfb30[_0x472513(0x2e6)][_0x472513(0x24d)](_0xc652ee[_0x472513(0x1d2)][0x0]),_0xd3d470=_0x1dfb30[_0x472513(0x2e6)][_0x472513(0x24d)](_0xc652ee[_0x472513(0x1d2)][0x0]);for(let _0x4cad2e=_0x4d093e[_0x472513(0x263)]-0x1;_0x4cad2e>=0x0;_0x4cad2e--){const _0xb1e853={'id':_0x472513(0xae),'params':{'unitId':_0x4d093e[_0x4cad2e][_0x472513(0x352)],..._0x4d093e[_0x4cad2e]['undoState']}},_0x5168a7={'id':_0x472513(0xae),'params':{'unitId':_0x4d093e[_0x4cad2e][_0x472513(0x352)],..._0x4d093e[_0x4cad2e][_0x472513(0x2ad)]}},_0xd685a2=this['_transformService'][_0x472513(0x184)](_0x166ca4,_0xb1e853,!0x1),_0x2fc89c=this[_0x472513(0x29a)]['transformMutation'](_0xd3d470,_0x5168a7,!0x1);if(_0x1448e7['isTransformMutationFailure'](_0xd685a2))throw _0xd685a2[_0x472513(0x186)];if(_0x1448e7[_0x472513(0x30a)](_0x2fc89c))throw _0x2fc89c[_0x472513(0x186)];_0x12a45e[_0x472513(0x20a)]({..._0x4d093e[_0x4cad2e],'undoState':_0xd685a2[_0x472513(0x108)]['params'],'redoState':_0x2fc89c[_0x472513(0x108)]['params']}),_0x166ca4=_0xd685a2[_0x472513(0xa7)],_0xd3d470=_0x2fc89c[_0x472513(0xa7)];}_0x166ca4=_0x1dfb30['Tools'][_0x472513(0x24d)](_0xc652ee[_0x472513(0x1d2)][0x0]),_0xd3d470=_0x1dfb30[_0x472513(0x2e6)][_0x472513(0x24d)](_0xc652ee[_0x472513(0x1d2)][0x0]);for(let _0x4c7fc1=_0x252c65['length']-0x1;_0x4c7fc1>=0x0;_0x4c7fc1--){const _0x48c5a8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x252c65[_0x4c7fc1][_0x472513(0x352)],..._0x252c65[_0x4c7fc1][_0x472513(0x34b)]}},_0x1d1755={'id':_0x472513(0xae),'params':{'unitId':_0x252c65[_0x4c7fc1]['unitId'],..._0x252c65[_0x4c7fc1][_0x472513(0x2ad)]}},_0x5067df=this[_0x472513(0x29a)][_0x472513(0x184)](_0x166ca4,_0x48c5a8,!0x1),_0x561c7f=this[_0x472513(0x29a)][_0x472513(0x184)](_0xd3d470,_0x1d1755,!0x1);if(_0x1448e7[_0x472513(0x30a)](_0x5067df))throw _0x5067df[_0x472513(0x186)];if(_0x1448e7[_0x472513(0x30a)](_0x561c7f))throw _0x561c7f[_0x472513(0x186)];_0x1b7534[_0x472513(0x20a)]({..._0x252c65[_0x4c7fc1],'undoState':_0x5067df[_0x472513(0x108)][_0x472513(0x2c6)],'redoState':_0x561c7f[_0x472513(0x108)][_0x472513(0x2c6)]}),_0x166ca4=_0x5067df[_0x472513(0xa7)],_0xd3d470=_0x561c7f[_0x472513(0xa7)];}this[_0x472513(0x33d)][_0x472513(0x133)](_0x3bed5b,{'history':_0x12a45e,'collaboration':_0x1b7534});}};_0x105355=_0x48df58([_0x3d688d(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x13a)])),_0x3d688d(0x1,_0x1448e7[_0x1c30d9(0x1d7)]),_0x3d688d(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x4f04d2['DocStateChangeManagerService']))],_0x105355);var _0x32b73c=Object[_0x1c30d9(0x176)],_0x416748=(_0x1aecf1,_0x3fb4b4,_0x378742,_0x27c899)=>{const _0x304040=_0x1c30d9;for(var _0x56aa8c=_0x27c899>0x1?void 0x0:_0x27c899?_0x32b73c(_0x3fb4b4,_0x378742):_0x3fb4b4,_0x1749f3=_0x1aecf1[_0x304040(0x263)]-0x1,_0x2a9cb8;_0x1749f3>=0x0;_0x1749f3--)(_0x2a9cb8=_0x1aecf1[_0x1749f3])&&(_0x56aa8c=_0x2a9cb8(_0x56aa8c)||_0x56aa8c);return _0x56aa8c;},_0x37eb14=(_0x48474e,_0x10a4d0)=>(_0x17b675,_0x3dc1a9)=>_0x10a4d0(_0x17b675,_0x3dc1a9,_0x48474e);let _0x545a97=class{constructor(_0x2ca4c5,_0x1aa36f){const _0x3cd515=_0x1c30d9;this[_0x3cd515(0x1b3)]=_0x2ca4c5,this[_0x3cd515(0x29a)]=_0x1aa36f;}[_0x1c30d9(0x345)](_0x3f8820){const _0x370214=_0x1c30d9;var _0x3e37bf;const _0x3a8900=this['_injector'][_0x370214(0x123)](_0x90847b[_0x370214(0x150)]),_0x40663e=(_0x3e37bf=_0x3a8900[_0x370214(0x28e)]())!=null?_0x3e37bf:[];if(_0x40663e[_0x370214(0x263)]===0x0)return;const _0x27c9e9=_0x3f8820['unitID'],_0x19a5de=[{'id':_0x370214(0xae),'params':{'unitId':_0x27c9e9,'actions':null,'textRanges':_0x40663e}}],_0x22e720=this[_0x370214(0x29a)][_0x370214(0x2ab)](_0x3f8820,_0x19a5de);if(!_0x1448e7[_0x370214(0x128)](_0x22e720))throw _0x22e720['error'];const _0x311be5=_0x22e720['m2Prime'][0x0][_0x370214(0x2c6)][_0x370214(0x7d)];Array[_0x370214(0x9e)](_0x311be5)&&_0x311be5[_0x370214(0x263)]&&_0x3a8900['replaceDocRanges'](_0x311be5,{'unitId':_0x27c9e9,'subUnitId':_0x27c9e9},!0x1);}};_0x545a97=_0x416748([_0x37eb14(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30['Injector'])),_0x37eb14(0x1,_0x1448e7[_0x1c30d9(0x1d7)])],_0x545a97);var _0x50bf6e=Object[_0x1c30d9(0x176)],_0x12e0ee=(_0xc9353c,_0x2e95ba,_0x3f7499,_0xc3f1a4)=>{for(var _0x2590aa=_0xc3f1a4>0x1?void 0x0:_0xc3f1a4?_0x50bf6e(_0x2e95ba,_0x3f7499):_0x2e95ba,_0x4d9056=_0xc9353c['length']-0x1,_0xb40ebe;_0x4d9056>=0x0;_0x4d9056--)(_0xb40ebe=_0xc9353c[_0x4d9056])&&(_0x2590aa=_0xb40ebe(_0x2590aa)||_0x2590aa);return _0x2590aa;},_0x4c02af=(_0x330f97,_0x4ee641)=>(_0x1c4bb1,_0x22e710)=>_0x4ee641(_0x1c4bb1,_0x22e710,_0x330f97);let _0x23b742=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x3020ae,_0x290461,_0x401f4b,_0x4cc4ac,_0x46234f,_0x525c93,_0x1e93ee,_0x57136d){const _0x6fb226=_0x1c30d9;super(),_0xbf1006(this,_0x6fb226(0x1b1),new _0x12ea67[(_0x6fb226(0x211))](_0x3899ea['CollaborationStatus'][_0x6fb226(0x12a)])),(this[_0x6fb226(0x33d)]=_0x3020ae,this[_0x6fb226(0x340)]=_0x290461,this[_0x6fb226(0xdc)]=_0x401f4b,this['_docTransformStateCacheService']=_0x4cc4ac,this[_0x6fb226(0x219)]=_0x46234f,this[_0x6fb226(0x7b)]=_0x525c93,this[_0x6fb226(0x258)]=_0x1e93ee,this[_0x6fb226(0x147)]=_0x57136d,this[_0x6fb226(0x1b5)]());}[_0x1c30d9(0x1b5)](){const _0x4641e3=_0x1c30d9;this[_0x4641e3(0x297)](this[_0x4641e3(0x340)][_0x4641e3(0x268)]['subscribe'](_0x5cf71f=>{const _0xabea8f=_0x4641e3,_0xb0ebcf=this[_0xabea8f(0x33d)][_0xabea8f(0x350)][_0xabea8f(0x131)](_0x16f237=>{const _0xc1f82c=_0xabea8f;if(_0x16f237==null)return;const {unitId:_0x4c0150,redoState:_0x508cfc,commandId:_0x2d0f11}=_0x16f237;if(_0x4c0150!==_0x5cf71f[_0xc1f82c(0xba)])return;const _0x3c0c2b={'id':_0x2d0f11,'type':_0x1dfb30[_0xc1f82c(0x2d5)][_0xc1f82c(0x22a)],'params':{'unitId':_0x4c0150,'actions':_0x508cfc['actions'],'textRanges':null}};_0x5cf71f[_0xc1f82c(0x336)](_0x3c0c2b);});if(_0x5cf71f['disposeWithMe'](_0xb0ebcf),_0x5cf71f instanceof _0x3899ea['DocCollaborationEntity']){const _0x91b813={'onTransformIME':_0x21c7b5=>this[_0xabea8f(0xdc)][_0xabea8f(0x215)](_0x21c7b5),'onTransformState':_0x2573b2=>this[_0xabea8f(0x2dd)][_0xabea8f(0x32f)](_0x2573b2),'onTransformSelections':_0x1b9f99=>this[_0xabea8f(0x219)][_0xabea8f(0x345)](_0x1b9f99),'onSyncEditingCollabCursor':_0x4d8361=>this[_0xabea8f(0x7b)][_0xabea8f(0x148)](_0x4d8361),'onTransformRemoteChangesetByIMECache':_0x34c394=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x34c394),'onTransformRemoteChangesetByStateCache':_0x1f5706=>this[_0xabea8f(0x2dd)][_0xabea8f(0x271)](_0x1f5706)};_0x5cf71f['addHandlerCallback'](_0x91b813);}}));}};_0x23b742=_0x12e0ee([_0x4c02af(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x4f04d2['DocStateChangeManagerService'])),_0x4c02af(0x1,_0x1dfb30[_0x1c30d9(0xe7)](_0x3899ea[_0x1c30d9(0xdd)])),_0x4c02af(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x404555)),_0x4c02af(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x105355)),_0x4c02af(0x4,_0x1dfb30[_0x1c30d9(0xe7)](_0x545a97)),_0x4c02af(0x5,_0x1dfb30[_0x1c30d9(0xe7)](_0x3b41c7)),_0x4c02af(0x6,_0x5581af[_0x1c30d9(0x2b7)]),_0x4c02af(0x7,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30['LocaleService']))],_0x23b742);var _0x21f032=(_0x48c22e=>(_0x48c22e[_0x48c22e[_0x1c30d9(0x1c2)]=0x0]=_0x1c30d9(0x1c2),_0x48c22e[_0x48c22e['OK']=0x1]='OK',_0x48c22e[_0x48c22e[_0x1c30d9(0x6f)]=0x2]=_0x1c30d9(0x6f),_0x48c22e[_0x48c22e[_0x1c30d9(0xf4)]=0x3]=_0x1c30d9(0xf4),_0x48c22e[_0x48c22e['NOT_FOUND']=0x4]=_0x1c30d9(0x118),_0x48c22e[_0x48c22e[_0x1c30d9(0x10f)]=0x5]=_0x1c30d9(0x10f),_0x48c22e[_0x48c22e[_0x1c30d9(0x2bf)]=0x6]=_0x1c30d9(0x2bf),_0x48c22e[_0x48c22e['INVALID_ARGUMENT']=0x7]=_0x1c30d9(0x265),_0x48c22e[_0x48c22e['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x48c22e[_0x48c22e[_0x1c30d9(0x27b)]=0x9]='COMPLETION_FINISHED',_0x48c22e[_0x48c22e[_0x1c30d9(0x23e)]=0xa]=_0x1c30d9(0x23e),_0x48c22e[_0x48c22e[_0x1c30d9(0x298)]=0xb]=_0x1c30d9(0x298),_0x48c22e[_0x48c22e[_0x1c30d9(0x28b)]=0xc]=_0x1c30d9(0x28b),_0x48c22e[_0x48c22e[_0x1c30d9(0xe2)]=0xd]=_0x1c30d9(0xe2),_0x48c22e[_0x48c22e[_0x1c30d9(0x1c6)]=0xe]=_0x1c30d9(0x1c6),_0x48c22e[_0x48c22e['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x48c22e[_0x48c22e['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1c30d9(0x26c),_0x48c22e[_0x48c22e[_0x1c30d9(0x94)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x48c22e[_0x48c22e['ERROR_AGAIN']=0x65]=_0x1c30d9(0x2e7),_0x48c22e[_0x48c22e[_0x1c30d9(0x9a)]=0xc9]='USER_NOT_FOUND',_0x48c22e[_0x48c22e[_0x1c30d9(0x77)]=0xca]=_0x1c30d9(0x77),_0x48c22e[_0x48c22e[_0x1c30d9(0xc0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x48c22e[_0x48c22e[_0x1c30d9(0x185)]=0x1771]=_0x1c30d9(0x185),_0x48c22e[_0x48c22e[_0x1c30d9(0xc4)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x48c22e[_0x48c22e[_0x1c30d9(0x17a)]=0x1773]=_0x1c30d9(0x17a),_0x48c22e[_0x48c22e[_0x1c30d9(0x314)]=0x1b59]=_0x1c30d9(0x314),_0x48c22e[_0x48c22e[_0x1c30d9(0x154)]=0x1b5a]=_0x1c30d9(0x154),_0x48c22e[_0x48c22e[_0x1c30d9(0x205)]=0x1b5b]=_0x1c30d9(0x205),_0x48c22e[_0x48c22e[_0x1c30d9(0xd8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x48c22e[_0x48c22e['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x48c22e[_0x48c22e[_0x1c30d9(0x1c5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x48c22e[_0x48c22e[_0x1c30d9(0x142)]=0x2329]=_0x1c30d9(0x142),_0x48c22e[_0x48c22e[_0x1c30d9(0x14a)]=0x232a]=_0x1c30d9(0x14a),_0x48c22e[_0x48c22e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1c30d9(0x119),_0x48c22e[_0x48c22e[_0x1c30d9(0x1ee)]=0x232c]=_0x1c30d9(0x1ee),_0x48c22e[_0x48c22e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1c30d9(0x1f8),_0x48c22e[_0x48c22e[_0x1c30d9(0xfd)]=0x2711]=_0x1c30d9(0xfd),_0x48c22e[_0x48c22e[_0x1c30d9(0x141)]=0x2712]=_0x1c30d9(0x141),_0x48c22e[_0x48c22e[_0x1c30d9(0xf3)]=0x2713]=_0x1c30d9(0xf3),_0x48c22e[_0x48c22e[_0x1c30d9(0x333)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x48c22e[_0x48c22e[_0x1c30d9(0xbf)]=0x271a]=_0x1c30d9(0xbf),_0x48c22e[_0x48c22e[_0x1c30d9(0x207)]=0x271b]=_0x1c30d9(0x207),_0x48c22e[_0x48c22e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1c30d9(0x153),_0x48c22e[_0x48c22e[_0x1c30d9(0x19d)]=0x271d]=_0x1c30d9(0x19d),_0x48c22e[_0x48c22e['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1c30d9(0x2e8),_0x48c22e[_0x48c22e['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x48c22e[_0x48c22e[_0x1c30d9(0x152)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x48c22e[_0x48c22e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1c30d9(0x86),_0x48c22e[_0x48c22e[_0x1c30d9(0x87)]=0x2ee1]=_0x1c30d9(0x87),_0x48c22e[_0x48c22e['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x48c22e[_0x48c22e[_0x1c30d9(0x1f3)]=0x2ee3]=_0x1c30d9(0x1f3),_0x48c22e[_0x48c22e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1c30d9(0x293),_0x48c22e[_0x48c22e[_0x1c30d9(0x342)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x48c22e[_0x48c22e[_0x1c30d9(0xdf)]=0x32c9]=_0x1c30d9(0xdf),_0x48c22e[_0x48c22e[_0x1c30d9(0xcd)]=0x32ca]=_0x1c30d9(0xcd),_0x48c22e[_0x48c22e[_0x1c30d9(0x242)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x48c22e[_0x48c22e['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x48c22e[_0x48c22e['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x48c22e[_0x48c22e['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x48c22e[_0x48c22e[_0x1c30d9(0x7a)]=0x36b4]=_0x1c30d9(0x7a),_0x48c22e[_0x48c22e[_0x1c30d9(0x311)]=0x36b5]=_0x1c30d9(0x311),_0x48c22e[_0x48c22e[_0x1c30d9(0x30c)]=0x36b6]=_0x1c30d9(0x30c),_0x48c22e[_0x48c22e[_0x1c30d9(0x290)]=0x36b7]=_0x1c30d9(0x290),_0x48c22e[_0x48c22e[_0x1c30d9(0x2d6)]=0x36b8]=_0x1c30d9(0x2d6),_0x48c22e[_0x48c22e['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1c30d9(0x1f9),_0x48c22e[_0x48c22e[_0x1c30d9(0x272)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x48c22e[_0x48c22e[_0x1c30d9(0xee)]=0x3717]=_0x1c30d9(0xee),_0x48c22e[_0x48c22e[_0x1c30d9(0xfa)]=0x37dd]=_0x1c30d9(0xfa),_0x48c22e[_0x48c22e[_0x1c30d9(0x132)]=0x3a99]=_0x1c30d9(0x132),_0x48c22e[_0x48c22e[_0x1c30d9(0x273)]=0x3a9a]=_0x1c30d9(0x273),_0x48c22e[_0x48c22e['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x1c30d9(0xd0),_0x48c22e[_0x48c22e['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1c30d9(0x90),_0x48c22e[_0x48c22e[_0x1c30d9(0x1f6)]=0x3a9d]=_0x1c30d9(0x1f6),_0x48c22e[_0x48c22e['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1c30d9(0x2a6),_0x48c22e[_0x48c22e[_0x1c30d9(0x91)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x48c22e[_0x48c22e['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x48c22e[_0x48c22e[_0x1c30d9(0x20b)]=-0x1]=_0x1c30d9(0x20b),_0x48c22e))(_0x21f032||{});function _0x296e47(_0x173ddb){const _0x57a9ff=_0x1c30d9;var _0x6a8d1e,_0xbc4f55;const _0x165696=(_0x6a8d1e=_0x173ddb[_0x57a9ff(0x203)])==null?void 0x0:_0x6a8d1e['stage'],_0xd0aa7e=((_0xbc4f55=_0x173ddb[_0x57a9ff(0x203)])==null?void 0x0:_0xbc4f55[_0x57a9ff(0x1d0)])||0x0;return _0x165696===_0x119829[_0x57a9ff(0x1ad)][_0x57a9ff(0x1af)]&&_0xd0aa7e>0x0;}function _0x1183a5(_0x445010){const _0x4f7aec=_0x1c30d9;return _0x445010['functionsExecutedState']===_0x119829[_0x4f7aec(0x129)][_0x4f7aec(0x206)];}var _0xc5755f=Object[_0x1c30d9(0x176)],_0x5e922c=(_0x233636,_0x3ec9a1,_0x398dcc,_0x573bda)=>{const _0x416acf=_0x1c30d9;for(var _0x3d2e51=_0x573bda>0x1?void 0x0:_0x573bda?_0xc5755f(_0x3ec9a1,_0x398dcc):_0x3ec9a1,_0x3aa239=_0x233636[_0x416acf(0x263)]-0x1,_0xa06ab9;_0x3aa239>=0x0;_0x3aa239--)(_0xa06ab9=_0x233636[_0x3aa239])&&(_0x3d2e51=_0xa06ab9(_0x3d2e51)||_0x3d2e51);return _0x3d2e51;},_0x1aecf9=(_0x5e3879,_0x127cdc)=>(_0x3f0251,_0x5c16be)=>_0x127cdc(_0x3f0251,_0x5c16be,_0x5e3879);const _0x28ffa4=_0x1c30d9(0xa4),_0x33b5c6=_0x1c30d9(0x1a1),_0x25ccf2='/universer-api/license/formula/limit/done';let _0x3186d7=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x5c0be8,_0x984ce6,_0x3a5f68,_0x62e763,_0x51ffb6,_0x512d99,_0x49615d){const _0x1be246=_0x1c30d9;super(),_0xbf1006(this,'_pollingInterval',null),_0xbf1006(this,_0x1be246(0xce),0x0),_0xbf1006(this,_0x1be246(0x179),0x0),_0xbf1006(this,_0x1be246(0x17f),[]),_0xbf1006(this,_0x1be246(0x32c),0x0),(this[_0x1be246(0x258)]=_0x5c0be8,this['_commandService']=_0x984ce6,this['_configService']=_0x3a5f68,this[_0x1be246(0x159)]=_0x62e763,this[_0x1be246(0x1b6)]=_0x51ffb6,this[_0x1be246(0x1dd)]=_0x512d99,this[_0x1be246(0x147)]=_0x49615d,this['_initCommandInterceptor']());}[_0x1c30d9(0x2c0)](){const _0x529494=_0x1c30d9;this[_0x529494(0x297)](this[_0x529494(0x1d8)][_0x529494(0x97)]((_0xfc4481,_0x534815)=>{const _0xeb7989=_0x529494;var _0x30cf67;if(_0xfc4481['id']!==_0x119829[_0xeb7989(0x2d8)]['id'])return;const _0x1fda54=_0xfc4481[_0xeb7989(0x2c6)];if(!this[_0xeb7989(0x218)]((_0x30cf67=_0x1fda54['dirtyRanges'])!=null?_0x30cf67:[]))return;if(!this[_0xeb7989(0x18f)]())throw this[_0xeb7989(0xf6)](_0xfc4481,_0x534815),this[_0xeb7989(0xd4)](),new _0x1dfb30[(_0xeb7989(0x229))]();})),this['disposeWithMe'](this['_commandService'][_0x529494(0x1e1)]((_0x5189e9,_0x393fdd)=>{const _0x2d894e=_0x529494;if(_0x5189e9['id']!==_0x119829['SetFormulaCalculationNotificationMutation']['id'])return;const _0xc2021d=_0x5189e9[_0x2d894e(0x2c6)];if(_0x296e47(_0xc2021d)){const _0x571c03=_0x1dfb30[_0x2d894e(0x157)]();this[_0x2d894e(0x17f)][_0x2d894e(0x72)](_0x571c03),this['_startCalculationLimit'](_0x571c03);}else{if(_0x1183a5(_0xc2021d)&&this['_taskIds']['length']>0x0){const _0x54d397=this['_taskIds'][_0x2d894e(0x144)]();this[_0x2d894e(0x303)](_0x54d397);}}}));}[_0x1c30d9(0x289)](){const _0x58eefb=_0x1c30d9;super[_0x58eefb(0x289)](),this[_0x58eefb(0x1d6)](),this['_taskIds']=[],this[_0x58eefb(0x179)]=0x0,this[_0x58eefb(0xce)]=0x0,this[_0x58eefb(0x32c)]=0x0;}async[_0x1c30d9(0xf6)](_0x34c106,_0x21fad1){const _0x4beab3=_0x1c30d9;for(let _0x52e3de=0x0;_0x52e3de<0x1e;_0x52e3de++)try{if(await this[_0x4beab3(0x27e)](),this[_0x4beab3(0x18f)]()){this['_applyCommand'](_0x34c106,_0x21fad1),this['_messageService'][_0x4beab3(0x2ec)]({'content':this[_0x4beab3(0x147)]['t'](_0x4beab3(0x1c4)),'type':_0x1d1957[_0x4beab3(0xca)][_0x4beab3(0x20e)]});return;}await new Promise(_0x27fad0=>{const _0xf9dc55=_0x4beab3;this[_0xf9dc55(0xbb)]=window['setTimeout'](_0x27fad0,0x3e8);});}catch(_0x324c82){this['_logService'][_0x4beab3(0x186)](_0x324c82);}this[_0x4beab3(0x258)][_0x4beab3(0x2ec)]({'content':this['_localeService']['t'](_0x4beab3(0x294)),'type':_0x1d1957[_0x4beab3(0xca)]['Error']});}[_0x1c30d9(0x9b)](_0x2aa42e,_0x4d8224){const _0x3de664=_0x1c30d9;try{this[_0x3de664(0x1d8)]['executeCommand'](_0x2aa42e['id'],_0x2aa42e[_0x3de664(0x2c6)],_0x4d8224);}catch(_0x1609ee){this[_0x3de664(0x1dd)][_0x3de664(0x186)](_0x1609ee);}}[_0x1c30d9(0xb2)](_0x34797d,_0x2bae06){const _0x1a4d69=_0x1c30d9;_0x2bae06<this[_0x1a4d69(0x32c)]||(this['_lastResponseTimestamp']=_0x2bae06,this['_maxFormulaLimit']=Number[_0x1a4d69(0xc7)](_0x34797d[_0x1a4d69(0x149)]),this[_0x1a4d69(0x179)]=Number[_0x1a4d69(0xc7)](_0x34797d['currentUsage']));}async['_startCalculationLimit'](_0x5c82df){const _0x15d9f1=_0x1c30d9;var _0x44b743,_0x1fc3cf;const _0x7d0f81=Date['now']();try{const _0x1c69fd=((_0x44b743=this[_0x15d9f1(0x32b)][_0x15d9f1(0x25d)](_0x3899ea[_0x15d9f1(0x1ab)]))==null?void 0x0:_0x44b743[_0x15d9f1(0x312)])||_0x33b5c6,_0x1c88cf=(await this[_0x15d9f1(0x159)][_0x15d9f1(0x33a)](_0x1c69fd,{'body':JSON[_0x15d9f1(0x16d)]({'taskId':_0x5c82df})}))[_0x15d9f1(0x16f)];if(((_0x1fc3cf=_0x1c88cf[_0x15d9f1(0x186)])==null?void 0x0:_0x1fc3cf[_0x15d9f1(0x244)])!==_0x21f032['OK'])return;this['_setFormulaLimitStatus'](_0x1c88cf[_0x15d9f1(0x18a)],_0x7d0f81);}catch(_0x342c90){this['_logService'][_0x15d9f1(0x186)](_0x342c90);}}async[_0x1c30d9(0x27e)](_0x1ae35b){const _0x1fca97=_0x1c30d9;var _0x4af722,_0x4568e2;const _0x39e8b3=Date[_0x1fca97(0x310)]();try{const _0x301e05=((_0x4af722=this['_configService'][_0x1fca97(0x25d)](_0x3899ea[_0x1fca97(0x1ab)]))==null?void 0x0:_0x4af722['getformulaLimitStatusUrl'])||_0x28ffa4,_0x2a32ad=_0x1ae35b?_0x301e05+_0x1fca97(0x281)+encodeURIComponent(_0x1ae35b):_0x301e05,_0x15a7f3=(await this[_0x1fca97(0x159)][_0x1fca97(0x123)](_0x2a32ad))[_0x1fca97(0x16f)];if(((_0x4568e2=_0x15a7f3[_0x1fca97(0x186)])==null?void 0x0:_0x4568e2[_0x1fca97(0x244)])!==_0x21f032['OK'])return;this['_setFormulaLimitStatus'](_0x15a7f3[_0x1fca97(0x18a)],_0x39e8b3);}catch(_0x10f665){this[_0x1fca97(0x1dd)][_0x1fca97(0x186)](_0x10f665);}}async[_0x1c30d9(0x303)](_0x234934){const _0x268625=_0x1c30d9;var _0x31fd55,_0x5b0424;const _0x3c407e=Date[_0x268625(0x310)]();try{const _0x188887=((_0x31fd55=this[_0x268625(0x32b)]['getConfig'](_0x3899ea[_0x268625(0x1ab)]))==null?void 0x0:_0x31fd55[_0x268625(0x257)])||_0x25ccf2,_0x4c0788=(await this['_httpService'][_0x268625(0x33a)](_0x188887,{'body':JSON['stringify']({'taskId':_0x234934})}))['body'];if(((_0x5b0424=_0x4c0788[_0x268625(0x186)])==null?void 0x0:_0x5b0424['code'])!==_0x21f032['OK'])return;this[_0x268625(0xb2)](_0x4c0788[_0x268625(0x18a)],_0x3c407e);}catch(_0x59338b){this[_0x268625(0x1dd)]['error'](_0x59338b);}}[_0x1c30d9(0x18f)](){const _0x20af1d=_0x1c30d9;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x20af1d(0xce)]-this[_0x20af1d(0x179)]>0x0;}[_0x1c30d9(0x1d6)](){const _0x5b7ba4=_0x1c30d9;this[_0x5b7ba4(0xbb)]&&(clearTimeout(this[_0x5b7ba4(0xbb)]),this[_0x5b7ba4(0xbb)]=null);}['_showGuardMessage'](){const _0x567e5f=_0x1c30d9;this[_0x567e5f(0x258)]['show']({'content':this[_0x567e5f(0x147)]['t'](_0x567e5f(0x1db)),'type':_0x1d1957['MessageType'][_0x567e5f(0x19b)]});}[_0x1c30d9(0x218)](_0x255b2e){const _0x3614d4=_0x1c30d9;for(const _0x361bc2 of _0x255b2e){const {unitId:_0x57ea7b,sheetId:_0xf15b4c,range:_0x455c18}=_0x361bc2,_0x3e2574=this[_0x3614d4(0x1b6)][_0x3614d4(0x1ef)](_0x57ea7b);if(!_0x3e2574)continue;const _0x475210=_0x3e2574[_0x3614d4(0x187)](_0xf15b4c);if(!_0x475210)continue;const _0x1cf8bd=_0x475210[_0x3614d4(0x8f)]();for(let _0x50719b=_0x455c18[_0x3614d4(0x338)];_0x50719b<=_0x455c18['endRow'];_0x50719b++)for(let _0x2b75fa=_0x455c18[_0x3614d4(0xe9)];_0x2b75fa<=_0x455c18[_0x3614d4(0x199)];_0x2b75fa++){const _0x20d9e8=_0x1cf8bd[_0x3614d4(0x2e3)](_0x50719b,_0x2b75fa);if(_0x20d9e8&&(_0x1dfb30[_0x3614d4(0x24a)](_0x20d9e8['f'])||_0x1dfb30[_0x3614d4(0x8c)](_0x20d9e8['si'])))return!0x0;}}return!0x1;}};_0x3186d7=_0x5e922c([_0x1aecf9(0x0,_0x1dfb30['Inject'](_0x5581af[_0x1c30d9(0x2b7)])),_0x1aecf9(0x1,_0x1dfb30[_0x1c30d9(0x269)]),_0x1aecf9(0x2,_0x1dfb30[_0x1c30d9(0x202)]),_0x1aecf9(0x3,_0x1dfb30[_0x1c30d9(0xe7)](_0x221af8[_0x1c30d9(0x2de)])),_0x1aecf9(0x4,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x1aecf9(0x5,_0x1dfb30['ILogService']),_0x1aecf9(0x6,_0x1dfb30['Inject'](_0x1dfb30[_0x1c30d9(0x2f0)]))],_0x3186d7);var _0x22a598=Object[_0x1c30d9(0x176)],_0xc823=(_0x3c1d59,_0x1dd3a5,_0x9e4de7,_0x57e7c4)=>{for(var _0x21e122=_0x57e7c4>0x1?void 0x0:_0x57e7c4?_0x22a598(_0x1dd3a5,_0x9e4de7):_0x1dd3a5,_0x3f61f4=_0x3c1d59['length']-0x1,_0x5c44fd;_0x3f61f4>=0x0;_0x3f61f4--)(_0x5c44fd=_0x3c1d59[_0x3f61f4])&&(_0x21e122=_0x5c44fd(_0x21e122)||_0x21e122);return _0x21e122;},_0x82fff9=(_0x3a96c1,_0x334697)=>(_0x424ca5,_0x5ccf30)=>_0x334697(_0x424ca5,_0x5ccf30,_0x3a96c1);let _0x110e96=class extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(_0x4e1d0f,_0x869056,_0x5612cc){const _0xd2ecdc=_0x1c30d9;super(),_0xbf1006(this,'_cachedData',new Map()),_0xbf1006(this,'_saveTaskMap',new Map()),_0xbf1006(this,_0xd2ecdc(0x14e),!0x1),(this[_0xd2ecdc(0x32b)]=_0x4e1d0f,this['_localStorageService']=_0x869056,this['_revisionService']=_0x5612cc);}[_0x1c30d9(0x2d1)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x1b548c=_0x1c30d9;this[_0x1b548c(0x14e)]=!0x1;}get[_0x1c30d9(0xe8)](){const _0x3ebf67=_0x1c30d9;return this[_0x3ebf67(0x329)];}['dispose'](){const _0x83f7ed=_0x1c30d9;this['exhaustSavingTask']()['then'](()=>super[_0x83f7ed(0x289)]());}async[_0x1c30d9(0x1d1)](_0x46439a){const _0x2d8964=_0x1c30d9;return this[_0x2d8964(0x14e)]?null:this['_localStorageService']['getItem'](_0x3899ea[_0x2d8964(0x1ce)](_0x46439a));}async[_0x1c30d9(0x17c)](_0x569e30,_0x570c9d){const _0x33ad89=_0x1c30d9;return!!this[_0x33ad89(0x283)][_0x33ad89(0x21c)](_0x569e30,_0x570c9d);}['updateOfflineData'](_0x47eb8b,_0x2908bb,_0x11c0d8,_0x50a4ac){const _0x2152f2=_0x1c30d9,_0x283fa2=this[_0x2152f2(0x208)][_0x2152f2(0xa3)](_0x47eb8b);this[_0x2152f2(0x124)][_0x2152f2(0x151)](_0x47eb8b,{'unitID':_0x47eb8b,'type':_0x2908bb,'awaitingChangeset':_0x11c0d8,'mutations':_0x50a4ac,'rev':_0x283fa2}),this[_0x2152f2(0x329)][_0x2152f2(0x115)](_0x47eb8b)||this[_0x2152f2(0x1e4)](_0x47eb8b);}['_scheduleSaving'](_0xae36dd){const _0x3a6251=_0x1c30d9,_0x2d1695=this[_0x3a6251(0x27c)]();_0x2d1695===0x0?this[_0x3a6251(0x106)](_0xae36dd):this[_0x3a6251(0x329)]['set'](_0xae36dd,setTimeout(()=>this[_0x3a6251(0x106)](_0xae36dd),_0x2d1695));}['_getSaveTimeout'](){const _0x33e0da=_0x1c30d9;var _0x19e5d9;return(_0x19e5d9=this[_0x33e0da(0x32b)][_0x33e0da(0x25d)](_0x3899ea[_0x33e0da(0x125)]))!=null?_0x19e5d9:_0x3899ea['LOCAL_CACHE_INTERVAL'];}[_0x1c30d9(0x106)](_0x3f4856){const _0x5e5139=_0x1c30d9,_0x58ef62=this['_saveTaskMap'][_0x5e5139(0x123)](_0x3f4856);return _0x58ef62!==void 0x0&&window[_0x5e5139(0x26f)](_0x58ef62),this[_0x5e5139(0x283)][_0x5e5139(0x21c)](_0x3899ea[_0x5e5139(0x1ce)](_0x3f4856),this['_cachedData'][_0x5e5139(0x123)](_0x3f4856))[_0x5e5139(0x1ac)](()=>this[_0x5e5139(0x329)]['delete'](_0x3f4856));}async[_0x1c30d9(0x2a4)](){const _0x4059c5=_0x1c30d9,_0x52f578=[];this['_saveTaskMap']['forEach']((_0x4d0ea3,_0x3b9b56)=>{const _0x186dcb=_0x33b0;window[_0x186dcb(0x26f)](_0x4d0ea3),_0x52f578['push'](this[_0x186dcb(0x106)](_0x3b9b56)[_0x186dcb(0x1ac)](()=>{const _0x179861=_0x186dcb;this[_0x179861(0x329)][_0x179861(0x139)](_0x3b9b56);}));}),await Promise[_0x4059c5(0x1e2)](_0x52f578);}};_0x110e96=_0xc823([_0x82fff9(0x0,_0x1dfb30['IConfigService']),_0x82fff9(0x1,_0x1dfb30[_0x1c30d9(0x337)]),_0x82fff9(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x1448e7[_0x1c30d9(0x24e)]))],_0x110e96);class _0x197d00 extends _0x1dfb30['RxDisposable']{constructor(){const _0x42db01=_0x1c30d9;super(),_0xbf1006(this,'urlChange$'),this[_0x42db01(0xb1)]=_0x12ea67['fromEvent'](window,'popstate')['pipe'](_0x12ea67[_0x42db01(0x201)](this['dispose$']),_0x12ea67['shareReplay'](0x1),_0x12ea67['mapTo'](void 0x0));}[_0x1c30d9(0x104)](_0x3b8526,_0x4a04dd,_0x79a65b=!0x1){const _0x59fbe9=_0x1c30d9,_0x42e16b=new URL(window[_0x59fbe9(0x2ac)][_0x59fbe9(0xfe)]);_0x42e16b[_0x59fbe9(0x341)][_0x59fbe9(0x151)](_0x3b8526,_0x4a04dd),_0x79a65b?window['history'][_0x59fbe9(0x172)]('','',_0x42e16b[_0x59fbe9(0x331)]()):window['history'][_0x59fbe9(0x2df)]('','',_0x42e16b[_0x59fbe9(0x331)]());}[_0x1c30d9(0x19c)](_0x33ba51,_0x50c3b5=!0x1){const _0x1c6467=_0x1c30d9,_0x12f669=new URL(window[_0x1c6467(0x2ac)][_0x1c6467(0xfe)]);_0x12f669['searchParams'][_0x1c6467(0x139)](_0x33ba51),_0x50c3b5?window['history'][_0x1c6467(0x172)]('','',_0x12f669[_0x1c6467(0x331)]()):window[_0x1c6467(0x12e)][_0x1c6467(0x2df)]('','',_0x12f669[_0x1c6467(0x331)]());}[_0x1c30d9(0xfb)](_0xf4562e){const _0x3b79c2=_0x1c30d9;var _0x2f6e27;return(_0x2f6e27=new URL(window[_0x3b79c2(0x2ac)][_0x3b79c2(0xfe)])[_0x3b79c2(0x341)][_0x3b79c2(0x123)](_0xf4562e))!=null?_0x2f6e27:void 0x0;}}var _0x1b5a71=Object[_0x1c30d9(0x30d)],_0x25f9e5=Object['getOwnPropertyDescriptor'],_0x573f84=(_0xaaab40,_0x3da921,_0x536187)=>_0x3da921 in _0xaaab40?_0x1b5a71(_0xaaab40,_0x3da921,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x536187}):_0xaaab40[_0x3da921]=_0x536187,_0xc62929=(_0x3c528b,_0x1bd68a,_0x3e7ec8,_0x2558e3)=>{const _0x23f9c8=_0x1c30d9;for(var _0x385a48=_0x2558e3>0x1?void 0x0:_0x2558e3?_0x25f9e5(_0x1bd68a,_0x3e7ec8):_0x1bd68a,_0x16786e=_0x3c528b[_0x23f9c8(0x263)]-0x1,_0x1f66e4;_0x16786e>=0x0;_0x16786e--)(_0x1f66e4=_0x3c528b[_0x16786e])&&(_0x385a48=_0x1f66e4(_0x385a48)||_0x385a48);return _0x385a48;},_0x173be2=(_0x3c9e1d,_0x15bddc)=>(_0x2e608b,_0x41bdf4)=>_0x15bddc(_0x2e608b,_0x41bdf4,_0x3c9e1d),_0x2fd532=(_0x20c353,_0x133526,_0x1c5c90)=>_0x573f84(_0x20c353,_0x133526+'',_0x1c5c90);const _0x3b3b8c=_0x1c30d9(0x189);_0x21651b['UniverCollaborationClientUIPlugin']=class extends _0x1dfb30[_0x1c30d9(0x34a)]{constructor(_0x488b15=_0x5a98db,_0x3bc7a6,_0x56a6b6,_0x3412bb){const _0x191e55=_0x1c30d9;super(),this[_0x191e55(0x10b)]=_0x488b15,this[_0x191e55(0x25c)]=_0x3bc7a6,this[_0x191e55(0x1b3)]=_0x56a6b6,this[_0x191e55(0x32b)]=_0x3412bb;const {..._0x3541a5}=_0x1dfb30[_0x191e55(0x307)]({},_0x5a98db,this['_config']);this['_configService'][_0x191e55(0x1b7)](_0x3bfb6b,_0x3541a5);}['onStarting'](){const _0x4ff517=_0x1c30d9;this[_0x4ff517(0x1ae)](),this[_0x4ff517(0xb4)]();}[_0x1c30d9(0x317)](){const _0x3a0a75=_0x1c30d9;this[_0x3a0a75(0x2d0)]();}[_0x1c30d9(0x1ae)](){const _0x583f73=_0x1c30d9;var _0x473682;const _0x363ec8=[[_0x37c3e7],[_0x3186d7],[_0x545a97],[_0x404555],[_0x105355],[_0x3b41c7],[_0x50751f,{'useClass':_0x197d00}],[_0x221af8[_0x583f73(0x2eb)],{'useClass':_0x221af8[_0x583f73(0x9c)]}],[_0x3899ea[_0x583f73(0x84)],{'useClass':_0x110e96}],[_0x21651b[_0x583f73(0xf9)]],[_0x23b742],[_0x36e370],[_0x156b27],[_0x5cf9d2],[_0x21651b[_0x583f73(0x1c9)]]];this[_0x583f73(0x10b)]['enableFrontendLog']&&_0x363ec8[_0x583f73(0x72)]([_0x27794d]),_0x1dfb30[_0x583f73(0x33f)](this[_0x583f73(0x1b3)],_0x1dfb30[_0x583f73(0x2fa)](_0x363ec8,(_0x473682=this['_config'])==null?void 0x0:_0x473682[_0x583f73(0x349)]));}['_registerRenderDependencies'](){const _0x1a21f1=_0x1c30d9;this[_0x1a21f1(0x297)](this[_0x1a21f1(0x25c)][_0x1a21f1(0x181)](_0x1dfb30[_0x1a21f1(0x2b6)][_0x1a21f1(0x32e)],[_0x55ea51])),this['disposeWithMe'](this['_renderManagerService'][_0x1a21f1(0x181)](_0x1dfb30[_0x1a21f1(0x2b6)][_0x1a21f1(0x254)],[_0x5e75af]));}[_0x1c30d9(0xb4)](){const _0x2b74d4=_0x1c30d9;_0x1dfb30[_0x2b74d4(0x162)](this[_0x2b74d4(0x1b3)],[[_0x156b27],[_0x21651b[_0x2b74d4(0xf9)]],[_0x23b742],[_0x36e370],[_0x21651b[_0x2b74d4(0x1c9)]],[_0x3186d7]]),this[_0x2b74d4(0x10b)][_0x2b74d4(0x253)]&&_0x1dfb30['touchDependencies'](this[_0x2b74d4(0x1b3)],[[_0x27794d]]);}},_0x2fd532(_0x21651b[_0x1c30d9(0x82)],_0x1c30d9(0x2c9),_0x3b3b8c),_0x21651b[_0x1c30d9(0x82)]=_0xc62929([_0x1dfb30[_0x1c30d9(0x1a6)](_0x3899ea[_0x1c30d9(0x1a9)]),_0x173be2(0x1,_0x5cce25[_0x1c30d9(0x103)]),_0x173be2(0x2,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x13a)])),_0x173be2(0x3,_0x1dfb30[_0x1c30d9(0x202)])],_0x21651b[_0x1c30d9(0x82)]);var _0x512f13=Object[_0x1c30d9(0x176)],_0x2319e9=(_0xdb5c65,_0x9b8950,_0x2f8685,_0x199ae9)=>{const _0x1824ae=_0x1c30d9;for(var _0xc07f04=_0x199ae9>0x1?void 0x0:_0x199ae9?_0x512f13(_0x9b8950,_0x2f8685):_0x9b8950,_0x205ec0=_0xdb5c65[_0x1824ae(0x263)]-0x1,_0x4f82a1;_0x205ec0>=0x0;_0x205ec0--)(_0x4f82a1=_0xdb5c65[_0x205ec0])&&(_0xc07f04=_0x4f82a1(_0xc07f04)||_0xc07f04);return _0xc07f04;},_0x407e83=(_0xe817ce,_0x145e49)=>(_0x3ff6a7,_0x8efaa5)=>_0x145e49(_0x3ff6a7,_0x8efaa5,_0xe817ce);_0x21651b[_0x1c30d9(0x17b)]=class extends _0x3899ea[_0x1c30d9(0xe6)]{constructor(_0x106a38,_0x1c1101,_0x44ee25,_0x22a2b9,_0x4c7f24){super(_0x106a38,_0x1c1101,_0x44ee25,_0x22a2b9,_0x4c7f24);}async[_0x1c30d9(0x238)](_0x38d7bd){const _0x2ac3f9=_0x1c30d9,_0x2afaee=await this['_getSessionTicket'](),_0x3068ff=this[_0x2ac3f9(0x2f9)](_0x38d7bd,_0x2afaee);return this['_doCreateSocket'](_0x3068ff);}[_0x1c30d9(0x2f9)](_0x258325,_0x12b4f9){const _0x3f67d7=_0x1c30d9,_0x2f38a0=typeof window>'u'?new URL(_0x258325):new URL(_0x258325,window[_0x3f67d7(0x2ac)][_0x3f67d7(0x246)]);_0x2f38a0[_0x3f67d7(0x341)]['set'](_0x3f67d7(0x191),_0x12b4f9);const _0x38775e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3f67d7(0x2ac)]['search']);return _0x38775e[_0x3f67d7(0x123)](_0x3f67d7(0x1a3))&&_0x2f38a0[_0x3f67d7(0x341)][_0x3f67d7(0x151)](_0x3f67d7(0x1a3),_0x38775e[_0x3f67d7(0x123)](_0x3f67d7(0x1a3))),_0x2f38a0['toString']();}async[_0x1c30d9(0x9f)](){const _0xdcbbf8=_0x1c30d9;var _0x492124,_0x49556a,_0x8ea6c0;const _0xce810e=this[_0xdcbbf8(0x32b)]['getConfig'](_0x3899ea[_0xdcbbf8(0x1ab)]),_0x519cae=(_0x492124=_0xce810e==null?void 0x0:_0xce810e[_0xdcbbf8(0x1cd)])!=null?_0x492124:_0x3899ea[_0xdcbbf8(0xcc)];return(_0x8ea6c0=(_0x49556a=(await this[_0xdcbbf8(0x159)]['get'](_0x519cae,{'headers':{'Content-Type':_0xdcbbf8(0x1a5)}}))['body'])==null?void 0x0:_0x49556a[_0xdcbbf8(0x2c3)])!=null?_0x8ea6c0:'';}},_0x21651b[_0x1c30d9(0x17b)]=_0x2319e9([_0x407e83(0x0,_0x1dfb30[_0x1c30d9(0xe7)](_0x1dfb30[_0x1c30d9(0x13a)])),_0x407e83(0x1,_0x1dfb30['Inject'](_0x221af8[_0x1c30d9(0x2de)])),_0x407e83(0x2,_0x1dfb30[_0x1c30d9(0x202)]),_0x407e83(0x3,_0x1dfb30['ILogService']),_0x407e83(0x4,_0x1448e7['ISnapshotServerService'])],_0x21651b[_0x1c30d9(0x17b)]);var _0xe95722=Object[_0x1c30d9(0x176)],_0x1401a0=(_0x5377f9,_0x1739ea,_0x53442c,_0x55fe2d)=>{const _0xdcd2c6=_0x1c30d9;for(var _0x1733bd=_0x55fe2d>0x1?void 0x0:_0x55fe2d?_0xe95722(_0x1739ea,_0x53442c):_0x1739ea,_0x20b033=_0x5377f9[_0xdcd2c6(0x263)]-0x1,_0x364a7f;_0x20b033>=0x0;_0x20b033--)(_0x364a7f=_0x5377f9[_0x20b033])&&(_0x1733bd=_0x364a7f(_0x1733bd)||_0x1733bd);return _0x1733bd;},_0x468c6d=(_0x2d2219,_0x7909d8)=>(_0x2141ad,_0x344254)=>_0x7909d8(_0x2141ad,_0x344254,_0x2d2219);_0x21651b['RemoteUniscriptService']=class extends _0x1dfb30['Disposable']{constructor(_0x49f00a,_0x58753c,_0x555931){const _0x3ba2a7=_0x1c30d9;super(),this[_0x3ba2a7(0x10c)]=_0x49f00a,this[_0x3ba2a7(0x159)]=_0x58753c,this['_configService']=_0x555931;}async[_0x1c30d9(0xea)](_0x29402b,_0x129552,_0x4e7a6a,..._0x2f6e42){const _0x9d6605=_0x1c30d9;var _0x298ce9,_0x17b6d4,_0x17339c,_0x44d186;const _0x553f48=this['_instanceService'][_0x9d6605(0x1f1)]();if(!_0x553f48)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4fec15=((_0x298ce9=this[_0x9d6605(0x32b)][_0x9d6605(0x25d)](_0x3899ea['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x298ce9:_0x3899ea[_0x9d6605(0x334)])+'/'+_0x29402b+_0x9d6605(0x13e)+_0x129552,_0x8fc495=new URL(window['location']['href']),_0x3d9d8e={'scriptId':_0x29402b,'runId':(_0x17b6d4=_0x8fc495[_0x9d6605(0x341)][_0x9d6605(0x123)](_0x9d6605(0x1a3)))!=null?_0x17b6d4:'','function':_0x129552,'unitId':_0x553f48['getUnitId'](),'argsOfFunction':JSON[_0x9d6605(0x16d)](_0x2f6e42),'invokeId':(_0x17339c=_0x4e7a6a[_0x9d6605(0x193)])!=null?_0x17339c:'','executionId':(_0x44d186=_0x4e7a6a['executionId'])!=null?_0x44d186:''};try{const _0x4eda9e=await this[_0x9d6605(0x159)][_0x9d6605(0x33a)](_0x4fec15,{'body':_0x3d9d8e});return _0x4eda9e[_0x9d6605(0x16f)][_0x9d6605(0x186)]&&_0x4eda9e[_0x9d6605(0x16f)][_0x9d6605(0x186)][_0x9d6605(0x244)]!==_0x21f032['OK']?'Failed':_0x4eda9e[_0x9d6605(0x16f)]['result'];}catch{return _0x9d6605(0x114);}}},_0x21651b[_0x1c30d9(0x1ea)]=_0x1401a0([_0x468c6d(0x0,_0x1dfb30[_0x1c30d9(0x2cc)]),_0x468c6d(0x1,_0x1dfb30['Inject'](_0x221af8[_0x1c30d9(0x2de)])),_0x468c6d(0x2,_0x1dfb30[_0x1c30d9(0x202)])],_0x21651b[_0x1c30d9(0x1ea)]);const _0x1e34b6=0x7530,_0x3d64ed='ACTIVE_UNIT_EVENT_CHANNEL';class _0x127319 extends _0x1dfb30[_0x1c30d9(0x71)]{constructor(){const _0xe448f3=_0x1c30d9;super(),_0xbf1006(this,_0xe448f3(0x102),_0x1dfb30['generateRandomId']()),_0xbf1006(this,_0xe448f3(0xeb),new Set()),_0xbf1006(this,_0xe448f3(0xa5),new Map()),_0xbf1006(this,_0xe448f3(0x2c7),null),_0xbf1006(this,_0xe448f3(0x30b),new Map()),_0xbf1006(this,_0xe448f3(0x1e5),new Map()),this[_0xe448f3(0x31a)]();}[_0x1c30d9(0x289)](){const _0x5d9fba=_0x1c30d9;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x3020ab,_0x3550f0)=>this[_0x5d9fba(0x343)](_0x3550f0)),this[_0x5d9fba(0x2c7)]&&window[_0x5d9fba(0x1f0)](this[_0x5d9fba(0x2c7)]);}[_0x1c30d9(0x11e)](_0x256134){const _0x2d4b24=_0x1c30d9;return this[_0x2d4b24(0x23b)](_0x256134)['pipe'](_0x12ea67['distinctUntilChanged']());}[_0x1c30d9(0x26a)](_0x190e20){const _0x247e97=_0x1c30d9;this[_0x247e97(0xeb)][_0x247e97(0x30f)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x247e97(0x1e3)](_0x190e20),this[_0x247e97(0x1f2)]({'type':0x0,'memberID':this[_0x247e97(0x102)],'unitIDs':[_0x190e20],'isForwarded':!0x1});}[_0x1c30d9(0x241)](_0x4a6ee7){const _0x5eefdb=_0x1c30d9;this[_0x5eefdb(0xeb)]['delete'](_0x4a6ee7),this[_0x5eefdb(0xeb)]['size']===0x0&&this[_0x5eefdb(0x2c7)]&&window[_0x5eefdb(0x1f0)](this['_heartbeatTimer']);}[_0x1c30d9(0x31a)](){const _0x4ad7f6=_0x1c30d9;this[_0x4ad7f6(0x297)](_0x1dfb30[_0x4ad7f6(0x29c)](_0x12ea67[_0x4ad7f6(0x113)](window,'storage')['subscribe'](_0xda8c7e=>{const _0x1e62ee=_0x4ad7f6;if(_0xda8c7e[_0x1e62ee(0x1eb)]!==_0x3d64ed||!_0xda8c7e[_0x1e62ee(0x81)])return;const _0x51c9d7=JSON[_0x1e62ee(0x214)](_0xda8c7e['newValue']);this[_0x1e62ee(0x1b2)](_0x51c9d7);}))),window['addEventListener']('unload',()=>this[_0x4ad7f6(0x1f2)]({'type':0x1,'memberID':this[_0x4ad7f6(0x102)],'unitIDs':Array[_0x4ad7f6(0xed)](this[_0x4ad7f6(0xeb)])}));}[_0x1c30d9(0x1b2)](_0x10dead){const _0x1af036=_0x1c30d9;switch(_0x10dead[_0x1af036(0x2f8)]){case 0x0:this[_0x1af036(0x12b)](_0x10dead);break;case 0x1:this['_handleLeaveEvent'](_0x10dead);break;case 0x2:this['_handleHeartbeatEvent'](_0x10dead);break;}}[_0x1c30d9(0x12b)](_0x18dffa){const _0x58a413=_0x1c30d9,{unitIDs:_0x501614,memberID:_0x4c1774,isForwarded:_0x3b2806}=_0x18dffa;_0x501614[_0x58a413(0x249)](_0x1adbfa=>{const _0x597b1e=_0x58a413;if(!_0x3b2806&&this[_0x597b1e(0xa5)][_0x597b1e(0x115)](_0x1adbfa)&&this[_0x597b1e(0x23b)](_0x1adbfa)['next'](_0x3899ea[_0x597b1e(0x262)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x597b1e(0x115)](_0x1adbfa)||!this[_0x597b1e(0xa5)]['get'](_0x1adbfa)['has'](_0x4c1774)){const _0x42022d=this[_0x597b1e(0xa5)]['get'](_0x1adbfa)||new Set();_0x42022d[_0x597b1e(0x1e3)](_0x4c1774),this[_0x597b1e(0xa5)]['set'](_0x1adbfa,_0x42022d),this[_0x597b1e(0x6e)](_0x4c1774);}}),_0x3b2806||this[_0x58a413(0x1f2)]({'type':0x0,'memberID':this[_0x58a413(0x102)],'unitIDs':[...this[_0x58a413(0xeb)]],'isForwarded':!0x0});}[_0x1c30d9(0x6e)](_0x5d4ad3){const _0x528702=_0x1c30d9;this[_0x528702(0x343)](_0x5d4ad3);const _0x54d7ce=window[_0x528702(0x21d)](()=>{const _0x181f1b=_0x528702;this['_unitOnClients'][_0x181f1b(0x249)](_0xf03655=>{const _0x4d7aec=_0x181f1b;_0xf03655[_0x4d7aec(0x139)](_0x5d4ad3);});},_0x1e34b6*0x2);this[_0x528702(0x30b)]['set'](_0x5d4ad3,_0x54d7ce);}[_0x1c30d9(0x343)](_0x25a2a9){const _0xf2c486=_0x1c30d9;if(this[_0xf2c486(0x30b)][_0xf2c486(0x115)](_0x25a2a9)){const _0x111071=this[_0xf2c486(0x30b)][_0xf2c486(0x123)](_0x25a2a9);_0x111071&&window[_0xf2c486(0x26f)](_0x111071),this[_0xf2c486(0x30b)][_0xf2c486(0x151)](_0x25a2a9,null);}}[_0x1c30d9(0x29f)](_0x396682){const _0x2e8407=_0x1c30d9,{memberID:_0x8bd7cc,unitIDs:_0x3af48e}=_0x396682;_0x3af48e[_0x2e8407(0x249)](_0x506bff=>{const _0xeed590=_0x2e8407;var _0x5cfb44;const _0x2d5359=this['_unitOnClients'][_0xeed590(0x123)](_0x506bff);_0x2d5359&&(_0x2d5359['delete'](_0x8bd7cc),(_0x5cfb44=this[_0xeed590(0x23b)](_0x506bff))==null||_0x5cfb44[_0xeed590(0x27f)](_0x2d5359[_0xeed590(0x30f)]===0x0?_0x3899ea[_0xeed590(0x262)]['NO_OTHER_CLIENTS_EDITING']:_0x3899ea[_0xeed590(0x262)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x8bd7cc);}['_handleHeartbeatEvent'](_0x41b42c){const _0x31ba41=_0x1c30d9;this[_0x31ba41(0x6e)](_0x41b42c[_0x31ba41(0x239)]);}['_send'](_0x2dd757){const _0x30f866=_0x1c30d9;localStorage[_0x30f866(0x21c)](_0x3d64ed,JSON[_0x30f866(0x16d)](_0x2dd757));}[_0x1c30d9(0xc1)](){const _0x3f54f7=_0x1c30d9;this[_0x3f54f7(0x2c7)]=window[_0x3f54f7(0x2e2)](()=>{const _0x47cc13=_0x3f54f7;this[_0x47cc13(0x1f2)]({'type':0x2,'memberID':this['_id']});},_0x1e34b6);}['_ensureSubject'](_0x391178){const _0x15c542=_0x1c30d9;return this[_0x15c542(0x1e5)]['has'](_0x391178)||this[_0x15c542(0x1e5)]['set'](_0x391178,new _0x12ea67[(_0x15c542(0x211))](_0x3899ea['UnitStatus'][_0x15c542(0xff)])),this[_0x15c542(0x1e5)][_0x15c542(0x123)](_0x391178);}}_0x21651b[_0x1c30d9(0x143)]=_0x50751f,_0x21651b['SheetCollabCursorShape']=_0x3e7dc2,_0x21651b['WebBrowserSingleActiveUnitService']=_0x127319,_0x21651b[_0x1c30d9(0x2f4)]=_0x197d00,Object[_0x1c30d9(0x30d)](_0x21651b,Symbol[_0x1c30d9(0x304)],{'value':_0x1c30d9(0x10d)});}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x4dcf(_0x2df2b5,_0x527874){_0x2df2b5=_0x2df2b5-0x1dd;var _0x1e0dcd=_0x1e0d();var _0x4dcfdf=_0x1e0dcd[_0x2df2b5];return _0x4dcfdf;}(function(_0x3e9f3f,_0x5492a9){var _0x576ffd=_0x4dcf,_0x22abf3=_0x3e9f3f();while(!![]){try{var _0x583033=-parseInt(_0x576ffd(0x1e6))/0x1*(-parseInt(_0x576ffd(0x1e9))/0x2)+parseInt(_0x576ffd(0x1e5))/0x3+-parseInt(_0x576ffd(0x1ea))/0x4*(-parseInt(_0x576ffd(0x1e1))/0x5)+parseInt(_0x576ffd(0x1e7))/0x6*(-parseInt(_0x576ffd(0x1ef))/0x7)+-parseInt(_0x576ffd(0x1f0))/0x8+parseInt(_0x576ffd(0x1e2))/0x9+parseInt(_0x576ffd(0x1eb))/0xa;if(_0x583033===_0x5492a9)break;else _0x22abf3['push'](_0x22abf3['shift']());}catch(_0x4f77f5){_0x22abf3['push'](_0x22abf3['shift']());}}}(_0x1e0d,0x96c4c),function(_0x12cc6f,_0x3b302b){var _0xe17fe6=_0x4dcf;typeof exports==_0xe17fe6(0x1dd)&&typeof module<'u'?_0x3b302b(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0xe17fe6(0x1e0)&&define[_0xe17fe6(0x1ee)]?define(['@univerjs-pro/collaboration-client-ui',_0xe17fe6(0x1e8)],_0x3b302b):(_0x12cc6f=typeof globalThis<'u'?globalThis:_0x12cc6f||self,_0x3b302b(_0x12cc6f['UniverProCollaborationClientUi'],_0x12cc6f[_0xe17fe6(0x1e3)]));}(this,function(_0x4d67f2,_0x214a18){'use strict';var _0x542dcd=_0x4dcf;class _0x1e86d5 extends _0x214a18[_0x542dcd(0x1ec)]{['runOnServer'](_0x5c9521,_0x35d162,..._0x4e283a){var _0x4d0535=_0x542dcd;return this[_0x4d0535(0x1df)][_0x4d0535(0x1ed)](_0x4d67f2[_0x4d0535(0x1de)])[_0x4d0535(0x1e4)](_0x5c9521,_0x35d162,{},..._0x4e283a);}}_0x214a18[_0x542dcd(0x1ec)]['extend'](_0x1e86d5);}));function _0x1e0d(){var _0x25fb95=['5rbgxCJ','4310937rLWWKB','UniverCoreFacade','runOnServer','815772eeBazi','900449gjVAFS','6GhkAZW','@univerjs/core/facade','2uhiCRo','2039836kRxSyB','4379340aJleKU','FUniver','get','amd','6333047swomuh','8615920VbLDEl','object','RemoteUniscriptService','_injector','function'];_0x1e0d=function(){return _0x25fb95;};return _0x1e0d();}
11
+ function _0x1020(_0x3a6020,_0x2d2064){_0x3a6020=_0x3a6020-0x171;var _0x4e0e43=_0x4e0e();var _0x102082=_0x4e0e43[_0x3a6020];return _0x102082;}function _0x4e0e(){var _0xc0dfe8=['1551721qiOEMt','extend','FUniver','UniverProCollaborationClientUi','2358340raPksx','@univerjs/core/facade','runOnServer','object','function','231aDaiWc','8kkEqnn','1912659laRAst','2vDFrup','33aEpojU','244488uIZWjF','UniverCoreFacade','101990oMbjun','9NrWKVt','RemoteUniscriptService','4973128porWki','get','13499580HnufZM','amd'];_0x4e0e=function(){return _0xc0dfe8;};return _0x4e0e();}(function(_0x9b3381,_0xfe66c2){var _0x4d572a=_0x1020,_0x41c3d=_0x9b3381();while(!![]){try{var _0x268ca9=-parseInt(_0x4d572a(0x181))/0x1+parseInt(_0x4d572a(0x176))/0x2*(parseInt(_0x4d572a(0x175))/0x3)+parseInt(_0x4d572a(0x174))/0x4*(-parseInt(_0x4d572a(0x185))/0x5)+parseInt(_0x4d572a(0x178))/0x6*(-parseInt(_0x4d572a(0x173))/0x7)+parseInt(_0x4d572a(0x17d))/0x8*(parseInt(_0x4d572a(0x17b))/0x9)+-parseInt(_0x4d572a(0x17a))/0xa+parseInt(_0x4d572a(0x177))/0xb*(parseInt(_0x4d572a(0x17f))/0xc);if(_0x268ca9===_0xfe66c2)break;else _0x41c3d['push'](_0x41c3d['shift']());}catch(_0x377fe9){_0x41c3d['push'](_0x41c3d['shift']());}}}(_0x4e0e,0xbf715),function(_0x1b3565,_0x42e967){var _0x2c543d=_0x1020;typeof exports==_0x2c543d(0x171)&&typeof module<'u'?_0x42e967(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x2c543d(0x172)&&define[_0x2c543d(0x180)]?define(['@univerjs-pro/collaboration-client-ui',_0x2c543d(0x186)],_0x42e967):(_0x1b3565=typeof globalThis<'u'?globalThis:_0x1b3565||self,_0x42e967(_0x1b3565[_0x2c543d(0x184)],_0x1b3565[_0x2c543d(0x179)]));}(this,function(_0x70d94e,_0x2e264a){'use strict';var _0x1fcf02=_0x1020;class _0x1d262a extends _0x2e264a[_0x1fcf02(0x183)]{[_0x1fcf02(0x187)](_0x25f09,_0x53bec6,..._0x2bfbcc){var _0x2c8c5c=_0x1fcf02;return this['_injector'][_0x2c8c5c(0x17e)](_0x70d94e[_0x2c8c5c(0x17c)])['runOnServer'](_0x25f09,_0x53bec6,{},..._0x2bfbcc);}}_0x2e264a[_0x1fcf02(0x183)][_0x1fcf02(0x182)](_0x1d262a);}));
12
12
 
13
13
  // @univerjs-pro/thread-comment-datasource/index
14
- function _0x22f4(){const _0x1d3983=['defineProperty','Module','dayjs','add','users','get','exports','1499643XxXRdt','Unknown','UniverThreadComment','forEach','addComment','/add','code','DependentOn','ThreadCommentModel','onReady','user','UniverInstanceType','syncUpdateMutationToColla','UniverCollaborationClientPlugin','_initUserSync','thread-comment-data-source.config','values','Disposable','1197588qDimJf','getComment','2058748deatBd','Injector','UniverThreadCommentUi','10hZQWMv','12490BzCUyP','userID','_threadCommentDataSourceService','@univerjs/network','find','@univerjs/thread-comment','subscribe','pipe','_userService','getOwnPropertyDescriptor','_httpService','payload','slice','_config','size','onStarting','Edit','_configService','addUser','Inject','/solved','/universer-api/comment/unit/','4597180klnwOa','Solved','rxjs','CustomRangeType','1ThehKj','requireSession','Plugin','_threadCommentModel','error','saveCommentToSnapshot','type','threadId','/reply','_commentService','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','getUnit','/edit','Reply','getCurrentUser','format','parentId','Solve','merge','UniverProCollaborationClient','stringify','IThreadCommentDataSourceService','post','parse','YYYY/MM/DD\x20HH:mm','Add','dataSource','map','rangeType','unitId','/delete','8iixrzV','root','UniverThreadCommentDataSourcePlugin','4170330zPNEqT','ref','pluginName','Delete','body','updateComment','userId','resolveComment','OpenOrReOpen','_init','rangeId','function','amd','delete','customRanges','filter','_threadCommentDataSource','personId','createTimestamp','content','replies','comments','UNRECOGNIZED','disposeWithMe','44759bjYBvT','_injector','HTTPService','getMemberID','replyId','_sessionService','length','UniverProLicense','commentUpdate$','UserManagerService','solved','3025454ctsmZS'];_0x22f4=function(){return _0x1d3983;};return _0x22f4();}function _0x2946(_0x573ffd,_0xca1819){_0x573ffd=_0x573ffd-0x9e;const _0x22f4cc=_0x22f4();let _0x29467e=_0x22f4cc[_0x573ffd];return _0x29467e;}(function(_0x245cb3,_0xf6e2a){const _0x3166ff=_0x2946,_0x3e5d5a=_0x245cb3();while(!![]){try{const _0x2d1075=parseInt(_0x3166ff(0xb8))/0x1*(-parseInt(_0x3166ff(0xfd))/0x2)+-parseInt(_0x3166ff(0x117))/0x3+-parseInt(_0x3166ff(0x119))/0x4+-parseInt(_0x3166ff(0x11c))/0x5*(parseInt(_0x3166ff(0xda))/0x6)+-parseInt(_0x3166ff(0xb4))/0x7+parseInt(_0x3166ff(0xd7))/0x8*(parseInt(_0x3166ff(0x105))/0x9)+parseInt(_0x3166ff(0x9e))/0xa*(parseInt(_0x3166ff(0xf2))/0xb);if(_0x2d1075===_0xf6e2a)break;else _0x3e5d5a['push'](_0x3e5d5a['shift']());}catch(_0x5730be){_0x3e5d5a['push'](_0x3e5d5a['shift']());}}}(_0x22f4,0xbd4b4),function(_0x10f796,_0x162c10){const _0x5af409=_0x2946;typeof exports=='object'&&typeof module<'u'?_0x162c10(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0x5af409(0xe5)&&define[_0x5af409(0xe6)]?define([_0x5af409(0x104),'@univerjs-pro/collaboration-client','@univerjs-pro/license','@univerjs/core','@univerjs/thread-comment-ui',_0x5af409(0xa3),_0x5af409(0xb6),_0x5af409(0xa1)],_0x162c10):(_0x10f796=typeof globalThis<'u'?globalThis:_0x10f796||self,_0x162c10(_0x10f796['UniverProThreadCommentDatasource']={},_0x10f796[_0x5af409(0xcb)],_0x10f796[_0x5af409(0xf9)],_0x10f796['UniverCore'],_0x10f796[_0x5af409(0x11b)],_0x10f796[_0x5af409(0x107)],_0x10f796['rxjs'],_0x10f796['UniverNetwork']));}(this,function(_0x3d19a0,_0x323c91,_0x43588,_0x851170,_0x1daef5,_0x3b6309,_0x45bce8,_0x2629c9){'use strict';const _0x395cb0=_0x2946;const _0x44019f=_0x395cb0(0xc2);var _0x37e9b8=(_0x5e59a4=>(_0x5e59a4[_0x5e59a4['OpenOrReOpen']=0x0]=_0x395cb0(0xe2),_0x5e59a4[_0x5e59a4[_0x395cb0(0xb5)]=0x1]='Solved',_0x5e59a4[_0x5e59a4['UNRECOGNIZED']=-0x1]=_0x395cb0(0xf0),_0x5e59a4))(_0x37e9b8||{}),_0x20c545=(_0x3702dd=>(_0x3702dd[_0x3702dd['Unknown']=0x0]=_0x395cb0(0x106),_0x3702dd[_0x3702dd[_0x395cb0(0xd1)]=0x1]=_0x395cb0(0xd1),_0x3702dd[_0x3702dd[_0x395cb0(0xc5)]=0x2]=_0x395cb0(0xc5),_0x3702dd[_0x3702dd[_0x395cb0(0xae)]=0x3]='Edit',_0x3702dd[_0x3702dd[_0x395cb0(0xdd)]=0x4]=_0x395cb0(0xdd),_0x3702dd[_0x3702dd[_0x395cb0(0xc9)]=0x5]='Solve',_0x3702dd[_0x3702dd['UNRECOGNIZED']=-0x1]=_0x395cb0(0xf0),_0x3702dd))(_0x20c545||{});const _0x5e0d8f=_0x59be48=>_0x851170[_0x395cb0(0x100)](new Date(+_0x59be48))[_0x395cb0(0xc7)]('YYYY/MM/DD\x20HH:mm'),_0x2507bd=async(_0x251ee6,_0x3850bb)=>{const _0x3663c9=_0x395cb0,_0x8edbfb=_0x251ee6[_0x3663c9(0x103)](_0x851170['UserManagerService']),_0x50bb98=_0x251ee6[_0x3663c9(0x103)](_0x2629c9[_0x3663c9(0xf4)]);_0x3850bb[_0x3663c9(0x108)](_0x3c24ed=>{const _0x39cd4e=_0x3663c9;_0x8edbfb['getUser'](_0x3c24ed)&&_0x3850bb[_0x39cd4e(0xe7)](_0x3c24ed);}),_0x3850bb[_0x3663c9(0xac)]&&(await _0x50bb98['get']('/universer-api/user/list',{'params':{'userIDs':[..._0x3850bb]}}))['body'][_0x3663c9(0x102)][_0x3663c9(0x108)](_0x17efa6=>{const _0x453abd=_0x3663c9;_0x17efa6&&_0x8edbfb[_0x453abd(0xb0)](_0x17efa6);});};var _0x3b6d8e=Object[_0x395cb0(0xa7)],_0x569419=(_0x4892dc,_0x4068fb,_0x5a0a72,_0x40b98f)=>{const _0x57da7=_0x395cb0;for(var _0xad0646=_0x40b98f>0x1?void 0x0:_0x40b98f?_0x3b6d8e(_0x4068fb,_0x5a0a72):_0x4068fb,_0x4f7c24=_0x4892dc[_0x57da7(0xf8)]-0x1,_0xb94e18;_0x4f7c24>=0x0;_0x4f7c24--)(_0xb94e18=_0x4892dc[_0x4f7c24])&&(_0xad0646=_0xb94e18(_0xad0646)||_0xad0646);return _0xad0646;},_0x162d5d=(_0x567990,_0x353969)=>(_0x26a060,_0x5960f2)=>_0x353969(_0x26a060,_0x5960f2,_0x567990);let _0x3ecf5b=class extends _0x851170[_0x395cb0(0x116)]{constructor(_0x538608,_0xe543a,_0x53ceac,_0x19ee11){const _0x28de32=_0x395cb0;super(),this[_0x28de32(0xc1)]=_0x538608,this[_0x28de32(0xbb)]=_0xe543a,this[_0x28de32(0xa6)]=_0x53ceac,this['_injector']=_0x19ee11,this[_0x28de32(0xe3)](),this['_initUserSync']();}[_0x395cb0(0x113)](){const _0x1b8b5b=_0x395cb0;this[_0x1b8b5b(0xf1)](this['_threadCommentModel'][_0x1b8b5b(0xfa)][_0x1b8b5b(0xa5)](_0x45bce8['bufferTime'](0x10))[_0x1b8b5b(0xa4)](_0x246169=>{const _0x4ebcd0=_0x1b8b5b,_0x3448e8=new Set();_0x246169[_0x4ebcd0(0x108)](_0x3aa051=>{const _0x50f263=_0x4ebcd0;switch(_0x3aa051[_0x50f263(0xbe)]){case _0x50f263(0x101):{const _0x41b677=_0x3aa051[_0x50f263(0xa9)][_0x50f263(0xeb)];_0x3448e8[_0x50f263(0x101)](_0x41b677);break;}}}),_0x2507bd(this[_0x4ebcd0(0xf3)],_0x3448e8);}));}['_init'](){const _0x5d5b7a=_0x395cb0;this[_0x5d5b7a(0xf1)](this['_commentService'][_0x5d5b7a(0xfa)][_0x5d5b7a(0xa4)](async _0x105362=>{const _0x46d03f=_0x5d5b7a;var _0x2df702,_0x2802f3,_0x43f747,_0x17b230;const _0x27cffa=(_0x2df702=this['_threadCommentModel'][_0x46d03f(0xc3)](_0x105362[_0x46d03f(0xd5)])[_0x46d03f(0xa2)](_0x31a109=>_0x31a109[_0x46d03f(0xbf)]===_0x105362[_0x46d03f(0xbf)]))==null?void 0x0:_0x2df702[_0x46d03f(0xd8)];if(!_0x27cffa)return;const {unitId:_0x5c979d,subUnitId:_0x5c72ab}=_0x27cffa;switch(_0x105362[_0x46d03f(0x10f)]&&this[_0x46d03f(0xa6)][_0x46d03f(0xb0)](_0x105362[_0x46d03f(0x10f)]),_0x105362[_0x46d03f(0xbe)]){case _0x20c545[_0x46d03f(0xd1)]:break;case _0x20c545[_0x46d03f(0xc5)]:{this[_0x46d03f(0xbb)]['addComment'](_0x5c979d,_0x5c72ab,{'unitId':_0x5c979d,'subUnitId':_0x5c72ab,'ref':'','id':_0x105362[_0x46d03f(0xf6)],'dT':_0x5e0d8f(+_0x105362['createTimestamp']),'threadId':_0x105362[_0x46d03f(0xbf)],'personId':(_0x43f747=(_0x2802f3=_0x105362[_0x46d03f(0x10f)])==null?void 0x0:_0x2802f3[_0x46d03f(0x9f)])!=null?_0x43f747:_0x105362[_0x46d03f(0xe0)],'text':JSON['parse'](_0x105362['content']),'parentId':_0x27cffa['id']});break;}case _0x20c545[_0x46d03f(0xdd)]:{const _0x21bf0=this['_threadCommentModel'][_0x46d03f(0x118)](_0x5c979d,_0x5c72ab,_0x105362['replyId']);_0x21bf0&&_0x21bf0[_0x46d03f(0xc8)]&&this[_0x46d03f(0xbb)]['deleteComment'](_0x5c979d,_0x5c72ab,_0x105362['replyId']);break;}case _0x20c545[_0x46d03f(0xae)]:{this[_0x46d03f(0xbb)][_0x46d03f(0xdf)](_0x5c979d,_0x5c72ab,{'commentId':_0x105362[_0x46d03f(0xf6)],'text':JSON['parse'](_0x105362['content'])});break;}case _0x20c545[_0x46d03f(0xc9)]:{const _0x11522d=(_0x17b230=this[_0x46d03f(0xbb)]['getUnit'](_0x105362[_0x46d03f(0xd5)])['find'](_0x353f72=>_0x353f72[_0x46d03f(0xbf)]===_0x105362[_0x46d03f(0xbf)]))==null?void 0x0:_0x17b230[_0x46d03f(0xd8)];_0x11522d&&this['_threadCommentModel'][_0x46d03f(0xe1)](_0x5c979d,_0x5c72ab,_0x11522d['id'],_0x105362[_0x46d03f(0xfc)]===_0x37e9b8[_0x46d03f(0xb5)]);break;}}}));}};_0x3ecf5b=_0x569419([_0x162d5d(0x0,_0x851170[_0x395cb0(0xb1)](_0x323c91['CommentService'])),_0x162d5d(0x1,_0x851170['Inject'](_0x3b6309[_0x395cb0(0x10d)])),_0x162d5d(0x2,_0x851170[_0x395cb0(0xb1)](_0x851170[_0x395cb0(0xfb)])),_0x162d5d(0x3,_0x851170[_0x395cb0(0xb1)](_0x851170['Injector']))],_0x3ecf5b);const _0x318184=_0x395cb0(0x114),_0x5e5749={};var _0x306f61=Object['getOwnPropertyDescriptor'],_0x4eddf0=(_0x2723fb,_0x571ab0,_0x414b6d,_0x5dbdf9)=>{for(var _0x40acaf=_0x5dbdf9>0x1?void 0x0:_0x5dbdf9?_0x306f61(_0x571ab0,_0x414b6d):_0x571ab0,_0x5c7ad4=_0x2723fb['length']-0x1,_0x21bf3a;_0x5c7ad4>=0x0;_0x5c7ad4--)(_0x21bf3a=_0x2723fb[_0x5c7ad4])&&(_0x40acaf=_0x21bf3a(_0x40acaf)||_0x40acaf);return _0x40acaf;},_0x4513ae=(_0x3f862a,_0x2e5959)=>(_0x4322fb,_0x7a6573)=>_0x2e5959(_0x4322fb,_0x7a6573,_0x3f862a);function _0x2d615d(_0xe399ac,_0xe5ad38){const _0x8c7345=_0x395cb0,_0x2c516b=_0xe399ac[_0x8c7345(0xee)][0x0];return{..._0xe5ad38,'id':_0x2c516b['replyId'],'resolved':_0xe399ac[_0x8c7345(0xfc)]===0x1,'dT':_0x5e0d8f(_0x2c516b[_0x8c7345(0xec)]),'personId':_0x2c516b[_0x8c7345(0xe0)],'threadId':_0x2c516b['threadId']};}function _0x244604(_0x477cd7,_0x4ac8b1,_0x521b23){const _0x6a33ff=_0x395cb0;var _0x1d8ed5,_0x55c706;if(((_0x55c706=(_0x1d8ed5=_0x477cd7==null?void 0x0:_0x477cd7[_0x6a33ff(0xee)])==null?void 0x0:_0x1d8ed5[_0x6a33ff(0xf8)])!=null?_0x55c706:0x0)>0x0){const _0x1bd37e=(_0x1d9af5,_0xf34887)=>({'id':_0x1d9af5[_0x6a33ff(0xf6)],'threadId':_0x1d9af5[_0x6a33ff(0xbf)],'dT':_0x5e0d8f(_0x1d9af5[_0x6a33ff(0xec)]),'personId':_0x1d9af5['userId'],'resolved':_0x477cd7['solved']===_0x37e9b8['Solved'],'unitId':_0x4ac8b1,'subUnitId':_0x521b23,'text':JSON[_0x6a33ff(0xcf)](_0x1d9af5[_0x6a33ff(0xed)]),'parentId':_0xf34887}),_0x47119d=_0x1bd37e(_0x477cd7[_0x6a33ff(0xee)][0x0]);return{..._0x47119d,'children':_0x477cd7[_0x6a33ff(0xee)][_0x6a33ff(0xaa)](0x1)['map'](_0x4f0233=>_0x1bd37e(_0x4f0233,_0x47119d['id']))};}return null;}let _0x479b54=class{constructor(_0x42f12c,_0x28479f,_0x4d6327){const _0x17db6b=_0x395cb0;this[_0x17db6b(0xa8)]=_0x42f12c,this[_0x17db6b(0xa6)]=_0x28479f,this[_0x17db6b(0xf7)]=_0x4d6327;}async[_0x395cb0(0x109)](_0x1ab694){const _0x33dc6b=_0x395cb0;var _0x1b889e,_0x39ece9;const {parentId:_0x4ca085,unitId:_0x1f7cd4,text:_0x4b299e,threadId:_0x58cb93}=_0x1ab694,_0x2d28de=(_0x39ece9=(_0x1b889e=_0x4b299e[_0x33dc6b(0xe8)])==null?void 0x0:_0x1b889e['filter'](_0x1d24f0=>_0x1d24f0[_0x33dc6b(0xd4)]===_0x851170[_0x33dc6b(0xb7)]['COMMENT'])[_0x33dc6b(0xd3)](_0xd2c274=>_0xd2c274[_0x33dc6b(0xe4)]))!=null?_0x39ece9:[],_0x50b604=JSON[_0x33dc6b(0xcc)](_0x4b299e),_0x5363d4=(await this[_0x33dc6b(0xf7)]['requireSession'](_0x1f7cd4))[_0x33dc6b(0xf5)]();if(_0x4ca085){const _0x352985={'memberId':_0x5363d4,'unitId':_0x1f7cd4,'content':_0x50b604,'mention':_0x2d28de,'threadId':_0x58cb93},_0x1a0148=(await this[_0x33dc6b(0xa8)][_0x33dc6b(0xce)]('/universer-api/comment/unit/'+_0x1f7cd4+_0x33dc6b(0xc0),{'body':_0x352985}))[_0x33dc6b(0xde)]['reply'];return{..._0x1ab694,'id':_0x1a0148[_0x33dc6b(0xf6)],'dT':_0x851170[_0x33dc6b(0x100)](+_0x1a0148[_0x33dc6b(0xec)])['format'](_0x33dc6b(0xd0)),'personId':_0x1a0148[_0x33dc6b(0xe0)]};}else{const _0x16e62c={'memberId':_0x5363d4,'unitId':_0x1f7cd4,'content':_0x50b604,'mention':_0x2d28de},_0x280bad=await this[_0x33dc6b(0xa8)][_0x33dc6b(0xce)](_0x33dc6b(0xb3)+_0x1f7cd4+_0x33dc6b(0x10a),{'body':_0x16e62c});return _0x2d615d(_0x280bad[_0x33dc6b(0xde)]['comment'],_0x1ab694);}}async[_0x395cb0(0xdf)](_0x5e38f2){const _0x1bab11=_0x395cb0;var _0x922ebf,_0x714df9;const {text:_0x5a48a1,unitId:_0x3f77a0}=_0x5e38f2,_0x3f2e2a=(_0x714df9=(_0x922ebf=_0x5a48a1[_0x1bab11(0xe8)])==null?void 0x0:_0x922ebf[_0x1bab11(0xe9)](_0x13e217=>_0x13e217['rangeType']===_0x851170[_0x1bab11(0xb7)]['COMMENT'])[_0x1bab11(0xd3)](_0x1adaf7=>_0x1adaf7['rangeId']))!=null?_0x714df9:[],_0x48835d=JSON[_0x1bab11(0xcc)](_0x5a48a1),_0x20bf8c=_0x5e38f2[_0x1bab11(0xbf)],_0x542d45=_0x5e38f2['id'],_0x3a663e={'memberId':(await this[_0x1bab11(0xf7)][_0x1bab11(0xb9)](_0x3f77a0))[_0x1bab11(0xf5)](),'unitId':_0x3f77a0,'threadId':_0x20bf8c,'mention':_0x3f2e2a,'content':_0x48835d,'replyId':_0x542d45},_0xdc4747=await this[_0x1bab11(0xa8)][_0x1bab11(0xce)]('/universer-api/comment/unit/'+_0x3f77a0+_0x1bab11(0xc4),{'body':_0x3a663e});return!_0xdc4747[_0x1bab11(0xde)][_0x1bab11(0xbc)]||_0xdc4747[_0x1bab11(0xde)][_0x1bab11(0xbc)]['code']===0x1;}async[_0x395cb0(0xe1)](_0x5d2f21){const _0x208513=_0x395cb0,{unitId:_0x4b698f}=_0x5d2f21,_0x4b83f6=_0x5d2f21[_0x208513(0xbf)],_0x1dfced={'memberId':this[_0x208513(0xa6)][_0x208513(0xc6)]()[_0x208513(0x9f)],'unitId':_0x4b698f,'threadId':_0x4b83f6,'solved':_0x5d2f21['resolved']?_0x37e9b8['Solved']:_0x37e9b8[_0x208513(0xe2)]},_0x217fea=await this[_0x208513(0xa8)][_0x208513(0xce)](_0x208513(0xb3)+_0x4b698f+_0x208513(0xb2),{'body':_0x1dfced});return!_0x217fea[_0x208513(0xde)][_0x208513(0xbc)]||_0x217fea['body'][_0x208513(0xbc)][_0x208513(0x10b)]===0x1;}async['deleteComment'](_0x4c18fd,_0x2490e7,_0x1ab53f,_0x2212bc){const _0x55751a=_0x395cb0,_0x232e0e={'memberId':(await this['_sessionService'][_0x55751a(0xb9)](_0x4c18fd))[_0x55751a(0xf5)](),'threadId':_0x1ab53f,'replyId':_0x2212bc,'unitId':_0x4c18fd},_0x2ece6f=await this[_0x55751a(0xa8)][_0x55751a(0xce)](_0x55751a(0xb3)+_0x4c18fd+_0x55751a(0xd6),{'body':_0x232e0e});return!_0x2ece6f['body']['error']||_0x2ece6f['body']['error'][_0x55751a(0x10b)]===0x1;}async['listComments'](_0x42b5f8,_0x45b4ff,_0x17dc24){const _0x55bf5f=_0x395cb0,_0x4b3867={'unitId':_0x42b5f8,'threadId':_0x17dc24},_0x351a8b=await this[_0x55bf5f(0xa8)][_0x55bf5f(0xce)](_0x55bf5f(0xb3)+_0x42b5f8+'/list',{'body':_0x4b3867}),_0x449fd3=_0x17dc24['map'](_0x265bd0=>_0x244604(_0x351a8b[_0x55bf5f(0xde)][_0x55bf5f(0xef)][_0x265bd0],_0x42b5f8,_0x45b4ff))[_0x55bf5f(0xe9)](Boolean);return Object[_0x55bf5f(0x115)](_0x351a8b[_0x55bf5f(0xde)][_0x55bf5f(0x102)])[_0x55bf5f(0x108)](_0x59c5d1=>{const _0xda1a92=_0x55bf5f;this[_0xda1a92(0xa6)][_0xda1a92(0xb0)](_0x59c5d1);}),_0x449fd3;}[_0x395cb0(0xbd)](_0x9ba281){const _0x4adb78=_0x395cb0;return{'id':_0x9ba281['id'],'threadId':_0x9ba281[_0x4adb78(0xbf)],'ref':_0x9ba281[_0x4adb78(0xdb)]};}};_0x479b54=_0x4eddf0([_0x4513ae(0x0,_0x851170[_0x395cb0(0xb1)](_0x2629c9[_0x395cb0(0xf4)])),_0x4513ae(0x1,_0x851170['Inject'](_0x851170[_0x395cb0(0xfb)])),_0x4513ae(0x2,_0x851170[_0x395cb0(0xb1)](_0x323c91['CollaborationSessionService']))],_0x479b54);var _0x508a90=Object[_0x395cb0(0xa7)],_0x570dd8=(_0x1a410d,_0x1aba50,_0xd7d79f,_0x4eddc4)=>{for(var _0xfe983c=_0x4eddc4>0x1?void 0x0:_0x4eddc4?_0x508a90(_0x1aba50,_0xd7d79f):_0x1aba50,_0x51ba26=_0x1a410d['length']-0x1,_0x54e498;_0x51ba26>=0x0;_0x51ba26--)(_0x54e498=_0x1a410d[_0x51ba26])&&(_0xfe983c=_0x54e498(_0xfe983c)||_0xfe983c);return _0xfe983c;},_0x99d86c=(_0x35f1e3,_0x2e01a2)=>(_0x911f46,_0x1a1577)=>_0x2e01a2(_0x911f46,_0x1a1577,_0x35f1e3);let _0xf85777=class extends _0x851170[_0x395cb0(0x116)]{constructor(_0x47f8cd,_0x552627){const _0x12d275=_0x395cb0;super(),this[_0x12d275(0xa0)]=_0x47f8cd,this[_0x12d275(0xea)]=_0x552627,this['_initDataSource']();}['_initDataSource'](){const _0xc7a85d=_0x395cb0;this[_0xc7a85d(0xa0)][_0xc7a85d(0xd2)]=this['_threadCommentDataSource'],this[_0xc7a85d(0xa0)][_0xc7a85d(0x111)]=!0x1;}};_0xf85777=_0x570dd8([_0x99d86c(0x0,_0x3b6309[_0x395cb0(0xcd)]),_0x99d86c(0x1,_0x851170['Inject'](_0x479b54))],_0xf85777);var _0x1dc6cc=Object[_0x395cb0(0xfe)],_0x39bea6=Object['getOwnPropertyDescriptor'],_0x2bc154=(_0x361b33,_0x2647b3,_0x8ed16f)=>_0x2647b3 in _0x361b33?_0x1dc6cc(_0x361b33,_0x2647b3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8ed16f}):_0x361b33[_0x2647b3]=_0x8ed16f,_0x43c345=(_0xf9856b,_0x55a25b,_0x2315ac,_0x2c4df2)=>{const _0x8e9cd0=_0x395cb0;for(var _0x1f10c0=_0x2c4df2>0x1?void 0x0:_0x2c4df2?_0x39bea6(_0x55a25b,_0x2315ac):_0x55a25b,_0xcd379c=_0xf9856b[_0x8e9cd0(0xf8)]-0x1,_0xf6bcbf;_0xcd379c>=0x0;_0xcd379c--)(_0xf6bcbf=_0xf9856b[_0xcd379c])&&(_0x1f10c0=_0xf6bcbf(_0x1f10c0)||_0x1f10c0);return _0x1f10c0;},_0x28296a=(_0x6ad3a4,_0x12cd0b)=>(_0x4a72e2,_0x3181ee)=>_0x12cd0b(_0x4a72e2,_0x3181ee,_0x6ad3a4),_0x757c88=(_0x1747f7,_0x3a4811,_0x1c60ec)=>_0x2bc154(_0x1747f7,typeof _0x3a4811!='symbol'?_0x3a4811+'':_0x3a4811,_0x1c60ec);_0x3d19a0[_0x395cb0(0xd9)]=class extends _0x851170[_0x395cb0(0xba)]{constructor(_0x5472ad=_0x5e5749,_0x1c5f61,_0x18696d){const _0x505bb6=_0x395cb0;super(),this[_0x505bb6(0xab)]=_0x5472ad,this[_0x505bb6(0xf3)]=_0x1c5f61,this[_0x505bb6(0xaf)]=_0x18696d;const {..._0x1a65b3}=_0x851170[_0x505bb6(0xca)]({},_0x5e5749,this['_config']);this[_0x505bb6(0xaf)]['setConfig'](_0x318184,_0x1a65b3);}[_0x395cb0(0xad)](){const _0x2bf940=_0x395cb0;[[_0x479b54],[_0xf85777],[_0x3ecf5b]][_0x2bf940(0x108)](_0x517e94=>{const _0x2e15e4=_0x2bf940;this['_injector'][_0x2e15e4(0x101)](_0x517e94);});}[_0x395cb0(0x10e)](){const _0x102c59=_0x395cb0;this[_0x102c59(0xf3)]['get'](_0xf85777),this[_0x102c59(0xf3)][_0x102c59(0x103)](_0x3ecf5b);}},_0x757c88(_0x3d19a0['UniverThreadCommentDataSourcePlugin'],_0x395cb0(0xdc),_0x44019f),_0x757c88(_0x3d19a0[_0x395cb0(0xd9)],'type',_0x851170[_0x395cb0(0x110)]['UNIVER_UNKNOWN']),_0x3d19a0['UniverThreadCommentDataSourcePlugin']=_0x43c345([_0x851170[_0x395cb0(0x10c)](_0x1daef5['UniverThreadCommentUIPlugin'],_0x323c91[_0x395cb0(0x112)],_0x43588['UniverLicensePlugin']),_0x28296a(0x1,_0x851170[_0x395cb0(0xb1)](_0x851170[_0x395cb0(0x11a)])),_0x28296a(0x2,_0x851170['IConfigService'])],_0x3d19a0['UniverThreadCommentDataSourcePlugin']),Object[_0x395cb0(0xfe)](_0x3d19a0,Symbol['toStringTag'],{'value':_0x395cb0(0xff)});}));
14
+ function _0x49bd(){const _0x2b4341=['disposeWithMe','UniverThreadCommentUIPlugin','rxjs','post','_injector','updateComment','221076jHqOjz','customRanges','Unknown','OpenOrReOpen','reply','UniverProLicense','@univerjs-pro/license','parentId','Edit','comment','userId','format','addComment','CommentService','filter','_commentService','Add','content','map','requireSession','Solve','6821270CtaySs','symbol','getMemberID','UserManagerService','_initDataSource','saveCommentToSnapshot','subscribe','_config','getUser','Reply','createTimestamp','delete','1Tsschq','1097278WoxlRt','getOwnPropertyDescriptor','exports','object','1892421mhYmly','add','unitId','_httpService','Solved','/solved','_threadCommentModel','_initUserSync','18tvPwal','users','UniverProCollaborationClient','_threadCommentDataSource','threadId','userID','merge','_threadCommentDataSourceService','bufferTime','UniverInstanceType','@univerjs/network','replyId','_userService','error','deleteComment','slice','CustomRangeType','/delete','thread-comment-data-source.config','YYYY/MM/DD\x20HH:mm','604445kxbWLG','Injector','UNIVER_UNKNOWN','forEach','onReady','_sessionService','getUnit','body','addUser','toStringTag','rangeId','@univerjs/thread-comment','find','getComment','@univerjs/core','DependentOn','459468UuUfVu','_init','stringify','UNRECOGNIZED','@univerjs/thread-comment-ui','personId','24FLrZwF','COMMENT','rangeType','IConfigService','_configService','payload','parse','defineProperty','UniverCore','values','code','length','Delete','amd','HTTPService','syncUpdateMutationToColla','IThreadCommentDataSourceService','dayjs','user','get','/edit','setConfig','Inject','/universer-api/comment/unit/','resolveComment','/universer-api/user/list','comments','root','UniverThreadCommentDataSourcePlugin','602358dhCeKY','type','/list','pipe','replies','solved','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','CollaborationSessionService','UniverThreadComment'];_0x49bd=function(){return _0x2b4341;};return _0x49bd();}function _0x304b(_0x1341da,_0x37a169){_0x1341da=_0x1341da-0xae;const _0x49bdda=_0x49bd();let _0x304bb9=_0x49bdda[_0x1341da];return _0x304bb9;}(function(_0x1f9b10,_0x5800d4){const _0x5a9bc0=_0x304b,_0xa178ef=_0x1f9b10();while(!![]){try{const _0xaf423b=-parseInt(_0x5a9bc0(0xfb))/0x1*(-parseInt(_0x5a9bc0(0xcb))/0x2)+-parseInt(_0x5a9bc0(0x12c))/0x3+parseInt(_0x5a9bc0(0xda))/0x4+-parseInt(_0x5a9bc0(0x11c))/0x5*(parseInt(_0x5a9bc0(0x108))/0x6)+parseInt(_0x5a9bc0(0xfc))/0x7*(-parseInt(_0x5a9bc0(0xae))/0x8)+parseInt(_0x5a9bc0(0x100))/0x9+parseInt(_0x5a9bc0(0xef))/0xa;if(_0xaf423b===_0x5800d4)break;else _0xa178ef['push'](_0xa178ef['shift']());}catch(_0x367177){_0xa178ef['push'](_0xa178ef['shift']());}}}(_0x49bd,0x40267),function(_0x2c1fb6,_0x423ad1){const _0x353b80=_0x304b;typeof exports==_0x353b80(0xff)&&typeof module<'u'?_0x423ad1(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define=='function'&&define[_0x353b80(0xbb)]?define([_0x353b80(0xfe),'@univerjs-pro/collaboration-client',_0x353b80(0xe0),_0x353b80(0x12a),_0x353b80(0x130),_0x353b80(0x127),_0x353b80(0xd6),_0x353b80(0x112)],_0x423ad1):(_0x2c1fb6=typeof globalThis<'u'?globalThis:_0x2c1fb6||self,_0x423ad1(_0x2c1fb6['UniverProThreadCommentDatasource']={},_0x2c1fb6[_0x353b80(0x10a)],_0x2c1fb6[_0x353b80(0xdf)],_0x2c1fb6[_0x353b80(0xb6)],_0x2c1fb6['UniverThreadCommentUi'],_0x2c1fb6[_0x353b80(0xd3)],_0x2c1fb6[_0x353b80(0xd6)],_0x2c1fb6['UniverNetwork']));}(this,function(_0x9e9bf4,_0x210bf8,_0x362b49,_0x202475,_0x373872,_0x4dc4ac,_0x2cd9a9,_0x507eab){'use strict';const _0x3e5609=_0x304b;const _0x279a9d=_0x3e5609(0xd1);var _0x19b0c8=(_0x15fcc5=>(_0x15fcc5[_0x15fcc5['OpenOrReOpen']=0x0]=_0x3e5609(0xdd),_0x15fcc5[_0x15fcc5[_0x3e5609(0x104)]=0x1]='Solved',_0x15fcc5[_0x15fcc5['UNRECOGNIZED']=-0x1]=_0x3e5609(0x12f),_0x15fcc5))(_0x19b0c8||{}),_0x3fcc7f=(_0x320b82=>(_0x320b82[_0x320b82[_0x3e5609(0xdc)]=0x0]=_0x3e5609(0xdc),_0x320b82[_0x320b82[_0x3e5609(0xea)]=0x1]='Add',_0x320b82[_0x320b82['Reply']=0x2]=_0x3e5609(0xf8),_0x320b82[_0x320b82[_0x3e5609(0xe2)]=0x3]=_0x3e5609(0xe2),_0x320b82[_0x320b82[_0x3e5609(0xba)]=0x4]=_0x3e5609(0xba),_0x320b82[_0x320b82[_0x3e5609(0xee)]=0x5]=_0x3e5609(0xee),_0x320b82[_0x320b82['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x320b82))(_0x3fcc7f||{});const _0x1eabda=_0x148376=>_0x202475['dayjs'](new Date(+_0x148376))[_0x3e5609(0xe5)](_0x3e5609(0x11b)),_0x22f5ce=async(_0x144b2b,_0x3c541d)=>{const _0x4dcc88=_0x3e5609,_0x4fcb45=_0x144b2b[_0x4dcc88(0xc1)](_0x202475[_0x4dcc88(0xf2)]),_0x1ccee2=_0x144b2b[_0x4dcc88(0xc1)](_0x507eab[_0x4dcc88(0xbc)]);_0x3c541d[_0x4dcc88(0x11f)](_0x4d5634=>{const _0xea520f=_0x4dcc88;_0x4fcb45[_0xea520f(0xf7)](_0x4d5634)&&_0x3c541d[_0xea520f(0xfa)](_0x4d5634);}),_0x3c541d['size']&&(await _0x1ccee2[_0x4dcc88(0xc1)](_0x4dcc88(0xc7),{'params':{'userIDs':[..._0x3c541d]}}))[_0x4dcc88(0x123)][_0x4dcc88(0x109)][_0x4dcc88(0x11f)](_0x4470f5=>{const _0xc69f1e=_0x4dcc88;_0x4470f5&&_0x4fcb45[_0xc69f1e(0x124)](_0x4470f5);});};var _0x4c9b0d=Object[_0x3e5609(0xfd)],_0x230cee=(_0x3fdcee,_0x33ebd6,_0x24ed6c,_0x51ae92)=>{for(var _0x48f846=_0x51ae92>0x1?void 0x0:_0x51ae92?_0x4c9b0d(_0x33ebd6,_0x24ed6c):_0x33ebd6,_0x2381ea=_0x3fdcee['length']-0x1,_0x4ede50;_0x2381ea>=0x0;_0x2381ea--)(_0x4ede50=_0x3fdcee[_0x2381ea])&&(_0x48f846=_0x4ede50(_0x48f846)||_0x48f846);return _0x48f846;},_0x212e72=(_0x37ec27,_0x3348ef)=>(_0x1f1ce7,_0x1ece43)=>_0x3348ef(_0x1f1ce7,_0x1ece43,_0x37ec27);let _0x4f3510=class extends _0x202475['Disposable']{constructor(_0x547705,_0x7eb2ad,_0x1e49f9,_0x395dba){const _0x350d4a=_0x3e5609;super(),this[_0x350d4a(0xe9)]=_0x547705,this[_0x350d4a(0x106)]=_0x7eb2ad,this[_0x350d4a(0x114)]=_0x1e49f9,this[_0x350d4a(0xd8)]=_0x395dba,this[_0x350d4a(0x12d)](),this[_0x350d4a(0x107)]();}[_0x3e5609(0x107)](){const _0xa7f7eb=_0x3e5609;this[_0xa7f7eb(0xd4)](this[_0xa7f7eb(0x106)]['commentUpdate$'][_0xa7f7eb(0xce)](_0x2cd9a9[_0xa7f7eb(0x110)](0x10))[_0xa7f7eb(0xf5)](_0xc625e2=>{const _0x15ede7=_0xa7f7eb,_0x33afd3=new Set();_0xc625e2[_0x15ede7(0x11f)](_0x5c84c6=>{const _0x5112ae=_0x15ede7;switch(_0x5c84c6['type']){case _0x5112ae(0x101):{const _0x3161b3=_0x5c84c6[_0x5112ae(0xb3)][_0x5112ae(0x131)];_0x33afd3[_0x5112ae(0x101)](_0x3161b3);break;}}}),_0x22f5ce(this[_0x15ede7(0xd8)],_0x33afd3);}));}[_0x3e5609(0x12d)](){const _0xc52f5b=_0x3e5609;this[_0xc52f5b(0xd4)](this[_0xc52f5b(0xe9)]['commentUpdate$'][_0xc52f5b(0xf5)](async _0x4f07fb=>{const _0x4bc363=_0xc52f5b;var _0x5aa5a0,_0x1816e0,_0x370da7,_0x2c8d62;const _0x12df3f=(_0x5aa5a0=this[_0x4bc363(0x106)][_0x4bc363(0x122)](_0x4f07fb[_0x4bc363(0x102)])[_0x4bc363(0x128)](_0x216a37=>_0x216a37[_0x4bc363(0x10c)]===_0x4f07fb['threadId']))==null?void 0x0:_0x5aa5a0[_0x4bc363(0xc9)];if(!_0x12df3f)return;const {unitId:_0x485f78,subUnitId:_0x568ef5}=_0x12df3f;switch(_0x4f07fb[_0x4bc363(0xc0)]&&this['_userService'][_0x4bc363(0x124)](_0x4f07fb[_0x4bc363(0xc0)]),_0x4f07fb[_0x4bc363(0xcc)]){case _0x3fcc7f[_0x4bc363(0xea)]:break;case _0x3fcc7f['Reply']:{this[_0x4bc363(0x106)][_0x4bc363(0xe6)](_0x485f78,_0x568ef5,{'unitId':_0x485f78,'subUnitId':_0x568ef5,'ref':'','id':_0x4f07fb[_0x4bc363(0x113)],'dT':_0x1eabda(+_0x4f07fb['createTimestamp']),'threadId':_0x4f07fb[_0x4bc363(0x10c)],'personId':(_0x370da7=(_0x1816e0=_0x4f07fb['user'])==null?void 0x0:_0x1816e0[_0x4bc363(0x10d)])!=null?_0x370da7:_0x4f07fb[_0x4bc363(0xe4)],'text':JSON['parse'](_0x4f07fb[_0x4bc363(0xeb)]),'parentId':_0x12df3f['id']});break;}case _0x3fcc7f['Delete']:{const _0x329df3=this[_0x4bc363(0x106)][_0x4bc363(0x129)](_0x485f78,_0x568ef5,_0x4f07fb[_0x4bc363(0x113)]);_0x329df3&&_0x329df3[_0x4bc363(0xe1)]&&this['_threadCommentModel']['deleteComment'](_0x485f78,_0x568ef5,_0x4f07fb[_0x4bc363(0x113)]);break;}case _0x3fcc7f[_0x4bc363(0xe2)]:{this[_0x4bc363(0x106)][_0x4bc363(0xd9)](_0x485f78,_0x568ef5,{'commentId':_0x4f07fb[_0x4bc363(0x113)],'text':JSON['parse'](_0x4f07fb[_0x4bc363(0xeb)])});break;}case _0x3fcc7f[_0x4bc363(0xee)]:{const _0x1d3f2b=(_0x2c8d62=this[_0x4bc363(0x106)][_0x4bc363(0x122)](_0x4f07fb[_0x4bc363(0x102)])['find'](_0x34b950=>_0x34b950[_0x4bc363(0x10c)]===_0x4f07fb['threadId']))==null?void 0x0:_0x2c8d62[_0x4bc363(0xc9)];_0x1d3f2b&&this[_0x4bc363(0x106)]['resolveComment'](_0x485f78,_0x568ef5,_0x1d3f2b['id'],_0x4f07fb[_0x4bc363(0xd0)]===_0x19b0c8[_0x4bc363(0x104)]);break;}}}));}};_0x4f3510=_0x230cee([_0x212e72(0x0,_0x202475[_0x3e5609(0xc4)](_0x210bf8[_0x3e5609(0xe7)])),_0x212e72(0x1,_0x202475['Inject'](_0x4dc4ac['ThreadCommentModel'])),_0x212e72(0x2,_0x202475[_0x3e5609(0xc4)](_0x202475[_0x3e5609(0xf2)])),_0x212e72(0x3,_0x202475['Inject'](_0x202475[_0x3e5609(0x11d)]))],_0x4f3510);const _0x5626f9=_0x3e5609(0x11a),_0x4f5793={};var _0x2207e8=Object[_0x3e5609(0xfd)],_0xb4a31d=(_0x26f0f6,_0x585f36,_0x803e07,_0x1d2a11)=>{const _0x412a91=_0x3e5609;for(var _0xcd4c23=_0x1d2a11>0x1?void 0x0:_0x1d2a11?_0x2207e8(_0x585f36,_0x803e07):_0x585f36,_0x3c2410=_0x26f0f6[_0x412a91(0xb9)]-0x1,_0x98604e;_0x3c2410>=0x0;_0x3c2410--)(_0x98604e=_0x26f0f6[_0x3c2410])&&(_0xcd4c23=_0x98604e(_0xcd4c23)||_0xcd4c23);return _0xcd4c23;},_0x208ff8=(_0x5cb5ee,_0x1d0691)=>(_0x21c860,_0x2bc8cd)=>_0x1d0691(_0x21c860,_0x2bc8cd,_0x5cb5ee);function _0x33b9b5(_0x403073,_0x421578){const _0x3d2876=_0x3e5609,_0x27f513=_0x403073[_0x3d2876(0xcf)][0x0];return{..._0x421578,'id':_0x27f513[_0x3d2876(0x113)],'resolved':_0x403073[_0x3d2876(0xd0)]===0x1,'dT':_0x1eabda(_0x27f513[_0x3d2876(0xf9)]),'personId':_0x27f513[_0x3d2876(0xe4)],'threadId':_0x27f513[_0x3d2876(0x10c)]};}function _0x2311b1(_0x56ee2b,_0x4f3cfa,_0x416fce){const _0x311ff3=_0x3e5609;var _0xbc7c97,_0x28487c;if(((_0x28487c=(_0xbc7c97=_0x56ee2b==null?void 0x0:_0x56ee2b['replies'])==null?void 0x0:_0xbc7c97[_0x311ff3(0xb9)])!=null?_0x28487c:0x0)>0x0){const _0xfcf787=(_0x270c80,_0x125a21)=>({'id':_0x270c80[_0x311ff3(0x113)],'threadId':_0x270c80[_0x311ff3(0x10c)],'dT':_0x1eabda(_0x270c80[_0x311ff3(0xf9)]),'personId':_0x270c80[_0x311ff3(0xe4)],'resolved':_0x56ee2b[_0x311ff3(0xd0)]===_0x19b0c8[_0x311ff3(0x104)],'unitId':_0x4f3cfa,'subUnitId':_0x416fce,'text':JSON[_0x311ff3(0xb4)](_0x270c80['content']),'parentId':_0x125a21}),_0x290e2f=_0xfcf787(_0x56ee2b['replies'][0x0]);return{..._0x290e2f,'children':_0x56ee2b['replies'][_0x311ff3(0x117)](0x1)['map'](_0x50099c=>_0xfcf787(_0x50099c,_0x290e2f['id']))};}return null;}let _0xdf0bdf=class{constructor(_0x56624b,_0x56d3f4,_0x1c217d){const _0x5bce36=_0x3e5609;this[_0x5bce36(0x103)]=_0x56624b,this['_userService']=_0x56d3f4,this[_0x5bce36(0x121)]=_0x1c217d;}async[_0x3e5609(0xe6)](_0x168e59){const _0x49cbfa=_0x3e5609;var _0x5c6078,_0x47ff27;const {parentId:_0x4da86b,unitId:_0x3914fe,text:_0x1dca7c,threadId:_0x5a989c}=_0x168e59,_0x29aef3=(_0x47ff27=(_0x5c6078=_0x1dca7c[_0x49cbfa(0xdb)])==null?void 0x0:_0x5c6078[_0x49cbfa(0xe8)](_0x3e8fa7=>_0x3e8fa7['rangeType']===_0x202475[_0x49cbfa(0x118)]['COMMENT'])[_0x49cbfa(0xec)](_0x385e81=>_0x385e81[_0x49cbfa(0x126)]))!=null?_0x47ff27:[],_0x4a149c=JSON[_0x49cbfa(0x12e)](_0x1dca7c),_0x362605=(await this[_0x49cbfa(0x121)][_0x49cbfa(0xed)](_0x3914fe))['getMemberID']();if(_0x4da86b){const _0x52f095={'memberId':_0x362605,'unitId':_0x3914fe,'content':_0x4a149c,'mention':_0x29aef3,'threadId':_0x5a989c},_0x395666=(await this[_0x49cbfa(0x103)][_0x49cbfa(0xd7)](_0x49cbfa(0xc5)+_0x3914fe+'/reply',{'body':_0x52f095}))['body'][_0x49cbfa(0xde)];return{..._0x168e59,'id':_0x395666[_0x49cbfa(0x113)],'dT':_0x202475[_0x49cbfa(0xbf)](+_0x395666[_0x49cbfa(0xf9)])[_0x49cbfa(0xe5)](_0x49cbfa(0x11b)),'personId':_0x395666['userId']};}else{const _0x1fa894={'memberId':_0x362605,'unitId':_0x3914fe,'content':_0x4a149c,'mention':_0x29aef3},_0x248c99=await this[_0x49cbfa(0x103)][_0x49cbfa(0xd7)]('/universer-api/comment/unit/'+_0x3914fe+'/add',{'body':_0x1fa894});return _0x33b9b5(_0x248c99[_0x49cbfa(0x123)][_0x49cbfa(0xe3)],_0x168e59);}}async['updateComment'](_0x5a535c){const _0x13bb1c=_0x3e5609;var _0x16e342,_0x25abcf;const {text:_0x5b4232,unitId:_0x2b2e10}=_0x5a535c,_0x549b7f=(_0x25abcf=(_0x16e342=_0x5b4232[_0x13bb1c(0xdb)])==null?void 0x0:_0x16e342[_0x13bb1c(0xe8)](_0x211152=>_0x211152[_0x13bb1c(0xb0)]===_0x202475[_0x13bb1c(0x118)][_0x13bb1c(0xaf)])[_0x13bb1c(0xec)](_0x3d69b8=>_0x3d69b8[_0x13bb1c(0x126)]))!=null?_0x25abcf:[],_0x4c6c13=JSON[_0x13bb1c(0x12e)](_0x5b4232),_0x919a62=_0x5a535c[_0x13bb1c(0x10c)],_0x482d0d=_0x5a535c['id'],_0x51f671={'memberId':(await this[_0x13bb1c(0x121)][_0x13bb1c(0xed)](_0x2b2e10))['getMemberID'](),'unitId':_0x2b2e10,'threadId':_0x919a62,'mention':_0x549b7f,'content':_0x4c6c13,'replyId':_0x482d0d},_0x3e61bd=await this[_0x13bb1c(0x103)][_0x13bb1c(0xd7)](_0x13bb1c(0xc5)+_0x2b2e10+_0x13bb1c(0xc2),{'body':_0x51f671});return!_0x3e61bd[_0x13bb1c(0x123)][_0x13bb1c(0x115)]||_0x3e61bd[_0x13bb1c(0x123)]['error']['code']===0x1;}async[_0x3e5609(0xc6)](_0x2303b8){const _0xc9f1ab=_0x3e5609,{unitId:_0x10386b}=_0x2303b8,_0x5c6a51=_0x2303b8['threadId'],_0x8bf873={'memberId':this[_0xc9f1ab(0x114)]['getCurrentUser']()[_0xc9f1ab(0x10d)],'unitId':_0x10386b,'threadId':_0x5c6a51,'solved':_0x2303b8['resolved']?_0x19b0c8[_0xc9f1ab(0x104)]:_0x19b0c8['OpenOrReOpen']},_0x12ba0a=await this[_0xc9f1ab(0x103)][_0xc9f1ab(0xd7)](_0xc9f1ab(0xc5)+_0x10386b+_0xc9f1ab(0x105),{'body':_0x8bf873});return!_0x12ba0a[_0xc9f1ab(0x123)]['error']||_0x12ba0a[_0xc9f1ab(0x123)][_0xc9f1ab(0x115)][_0xc9f1ab(0xb8)]===0x1;}async[_0x3e5609(0x116)](_0x3bc1be,_0x9e9625,_0x41ef59,_0x11f5cd){const _0x30a97f=_0x3e5609,_0x1c01f7={'memberId':(await this['_sessionService'][_0x30a97f(0xed)](_0x3bc1be))[_0x30a97f(0xf1)](),'threadId':_0x41ef59,'replyId':_0x11f5cd,'unitId':_0x3bc1be},_0x3f8fa8=await this['_httpService']['post'](_0x30a97f(0xc5)+_0x3bc1be+_0x30a97f(0x119),{'body':_0x1c01f7});return!_0x3f8fa8[_0x30a97f(0x123)][_0x30a97f(0x115)]||_0x3f8fa8[_0x30a97f(0x123)][_0x30a97f(0x115)][_0x30a97f(0xb8)]===0x1;}async['listComments'](_0x4ee892,_0x5d17b6,_0xbf7b2b){const _0x303bf2=_0x3e5609,_0xe64dc0={'unitId':_0x4ee892,'threadId':_0xbf7b2b},_0x88718a=await this['_httpService']['post']('/universer-api/comment/unit/'+_0x4ee892+_0x303bf2(0xcd),{'body':_0xe64dc0}),_0x5e1eef=_0xbf7b2b[_0x303bf2(0xec)](_0x551f24=>_0x2311b1(_0x88718a[_0x303bf2(0x123)][_0x303bf2(0xc8)][_0x551f24],_0x4ee892,_0x5d17b6))[_0x303bf2(0xe8)](Boolean);return Object[_0x303bf2(0xb7)](_0x88718a[_0x303bf2(0x123)][_0x303bf2(0x109)])[_0x303bf2(0x11f)](_0x272551=>{const _0x23fb14=_0x303bf2;this[_0x23fb14(0x114)][_0x23fb14(0x124)](_0x272551);}),_0x5e1eef;}[_0x3e5609(0xf4)](_0x2c8f99){const _0x1ae9fa=_0x3e5609;return{'id':_0x2c8f99['id'],'threadId':_0x2c8f99[_0x1ae9fa(0x10c)],'ref':_0x2c8f99['ref']};}};_0xdf0bdf=_0xb4a31d([_0x208ff8(0x0,_0x202475['Inject'](_0x507eab['HTTPService'])),_0x208ff8(0x1,_0x202475[_0x3e5609(0xc4)](_0x202475[_0x3e5609(0xf2)])),_0x208ff8(0x2,_0x202475[_0x3e5609(0xc4)](_0x210bf8[_0x3e5609(0xd2)]))],_0xdf0bdf);var _0x27ff12=Object['getOwnPropertyDescriptor'],_0x5a430b=(_0x804519,_0xa83008,_0x22a1a4,_0x58094b)=>{const _0x33e9d6=_0x3e5609;for(var _0xfef8e4=_0x58094b>0x1?void 0x0:_0x58094b?_0x27ff12(_0xa83008,_0x22a1a4):_0xa83008,_0x45c851=_0x804519[_0x33e9d6(0xb9)]-0x1,_0x26e74b;_0x45c851>=0x0;_0x45c851--)(_0x26e74b=_0x804519[_0x45c851])&&(_0xfef8e4=_0x26e74b(_0xfef8e4)||_0xfef8e4);return _0xfef8e4;},_0x5d785c=(_0x1229f5,_0x2abb33)=>(_0x438bce,_0x41c468)=>_0x2abb33(_0x438bce,_0x41c468,_0x1229f5);let _0x2bb563=class extends _0x202475['Disposable']{constructor(_0x4803ab,_0x3adaf8){const _0x21160b=_0x3e5609;super(),this[_0x21160b(0x10f)]=_0x4803ab,this[_0x21160b(0x10b)]=_0x3adaf8,this[_0x21160b(0xf3)]();}['_initDataSource'](){const _0x378b7c=_0x3e5609;this[_0x378b7c(0x10f)]['dataSource']=this['_threadCommentDataSource'],this['_threadCommentDataSourceService'][_0x378b7c(0xbd)]=!0x1;}};_0x2bb563=_0x5a430b([_0x5d785c(0x0,_0x4dc4ac[_0x3e5609(0xbe)]),_0x5d785c(0x1,_0x202475['Inject'](_0xdf0bdf))],_0x2bb563);var _0x371113=Object[_0x3e5609(0xb5)],_0x304192=Object[_0x3e5609(0xfd)],_0xb62991=(_0x174803,_0xd98d41,_0x3bb23a)=>_0xd98d41 in _0x174803?_0x371113(_0x174803,_0xd98d41,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bb23a}):_0x174803[_0xd98d41]=_0x3bb23a,_0x251a17=(_0xfbf9af,_0x4ad050,_0x1a95f7,_0x4b9a68)=>{const _0x45803d=_0x3e5609;for(var _0x19a345=_0x4b9a68>0x1?void 0x0:_0x4b9a68?_0x304192(_0x4ad050,_0x1a95f7):_0x4ad050,_0x3bf28a=_0xfbf9af[_0x45803d(0xb9)]-0x1,_0x4373e3;_0x3bf28a>=0x0;_0x3bf28a--)(_0x4373e3=_0xfbf9af[_0x3bf28a])&&(_0x19a345=_0x4373e3(_0x19a345)||_0x19a345);return _0x19a345;},_0x360acd=(_0x4056c6,_0x2b1797)=>(_0x31bd9f,_0x2ae1da)=>_0x2b1797(_0x31bd9f,_0x2ae1da,_0x4056c6),_0x54f9de=(_0x144489,_0x480160,_0x5d9d6f)=>_0xb62991(_0x144489,typeof _0x480160!=_0x3e5609(0xf0)?_0x480160+'':_0x480160,_0x5d9d6f);_0x9e9bf4[_0x3e5609(0xca)]=class extends _0x202475['Plugin']{constructor(_0x42c1ca=_0x4f5793,_0x21479e,_0xfb189d){const _0x31c4b9=_0x3e5609;super(),this[_0x31c4b9(0xf6)]=_0x42c1ca,this[_0x31c4b9(0xd8)]=_0x21479e,this[_0x31c4b9(0xb2)]=_0xfb189d;const {..._0x5ade38}=_0x202475[_0x31c4b9(0x10e)]({},_0x4f5793,this[_0x31c4b9(0xf6)]);this[_0x31c4b9(0xb2)][_0x31c4b9(0xc3)](_0x5626f9,_0x5ade38);}['onStarting'](){[[_0xdf0bdf],[_0x2bb563],[_0x4f3510]]['forEach'](_0xb2c998=>{const _0x31f197=_0x304b;this[_0x31f197(0xd8)]['add'](_0xb2c998);});}[_0x3e5609(0x120)](){const _0x3f4ad0=_0x3e5609;this['_injector']['get'](_0x2bb563),this['_injector'][_0x3f4ad0(0xc1)](_0x4f3510);}},_0x54f9de(_0x9e9bf4[_0x3e5609(0xca)],'pluginName',_0x279a9d),_0x54f9de(_0x9e9bf4['UniverThreadCommentDataSourcePlugin'],_0x3e5609(0xcc),_0x202475[_0x3e5609(0x111)][_0x3e5609(0x11e)]),_0x9e9bf4[_0x3e5609(0xca)]=_0x251a17([_0x202475[_0x3e5609(0x12b)](_0x373872[_0x3e5609(0xd5)],_0x210bf8['UniverCollaborationClientPlugin'],_0x362b49['UniverLicensePlugin']),_0x360acd(0x1,_0x202475['Inject'](_0x202475[_0x3e5609(0x11d)])),_0x360acd(0x2,_0x202475[_0x3e5609(0xb1)])],_0x9e9bf4[_0x3e5609(0xca)]),Object['defineProperty'](_0x9e9bf4,Symbol[_0x3e5609(0x125)],{'value':'Module'});}));
15
15
 
16
16
  // @univerjs-pro/edit-history-viewer/index
17
- (function(_0x1aeca4,_0x277e79){const _0x10da1d=_0x4bef,_0x1311b9=_0x1aeca4();while(!![]){try{const _0x7a23b8=parseInt(_0x10da1d(0x35a))/0x1+-parseInt(_0x10da1d(0x21d))/0x2+parseInt(_0x10da1d(0x28d))/0x3*(-parseInt(_0x10da1d(0x3c0))/0x4)+-parseInt(_0x10da1d(0x201))/0x5*(-parseInt(_0x10da1d(0x332))/0x6)+-parseInt(_0x10da1d(0x1a4))/0x7+-parseInt(_0x10da1d(0x3af))/0x8+parseInt(_0x10da1d(0x37a))/0x9;if(_0x7a23b8===_0x277e79)break;else _0x1311b9['push'](_0x1311b9['shift']());}catch(_0x20ad6d){_0x1311b9['push'](_0x1311b9['shift']());}}}(_0x62de,0x208e3),function(_0xf3dd2,_0x2806ea){const _0x1515e5=_0x4bef;typeof exports==_0x1515e5(0x2d5)&&typeof module<'u'?_0x2806ea(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x1515e5(0x30f)&&define[_0x1515e5(0x2e8)]?define([_0x1515e5(0x287),'@univerjs-pro/collaboration',_0x1515e5(0x372),'@univerjs/core',_0x1515e5(0x318),_0x1515e5(0x24f),_0x1515e5(0x234),_0x1515e5(0x304),_0x1515e5(0x315),_0x1515e5(0x1bf),_0x1515e5(0x1c2),'rxjs','@univerjs-pro/sheets-chart',_0x1515e5(0x1a6),_0x1515e5(0x2c9),_0x1515e5(0x29b),_0x1515e5(0x298),_0x1515e5(0x215),_0x1515e5(0x34e),_0x1515e5(0x35d)],_0x2806ea):(_0xf3dd2=typeof globalThis<'u'?globalThis:_0xf3dd2||self,_0x2806ea(_0xf3dd2[_0x1515e5(0x28e)]={},_0xf3dd2['UniverProCollaboration'],_0xf3dd2[_0x1515e5(0x29c)],_0xf3dd2[_0x1515e5(0x35f)],_0xf3dd2[_0x1515e5(0x187)],_0xf3dd2[_0x1515e5(0x382)],_0xf3dd2[_0x1515e5(0x1cd)],_0xf3dd2[_0x1515e5(0x2ae)],_0xf3dd2[_0x1515e5(0x37e)],_0xf3dd2[_0x1515e5(0x250)],_0xf3dd2[_0x1515e5(0x306)],_0xf3dd2[_0x1515e5(0x2a7)],_0xf3dd2[_0x1515e5(0x373)],_0xf3dd2[_0x1515e5(0x1f3)],_0xf3dd2[_0x1515e5(0x186)],_0xf3dd2[_0x1515e5(0x31f)],_0xf3dd2[_0x1515e5(0x320)],_0xf3dd2['React'],_0xf3dd2[_0x1515e5(0x2a5)],_0xf3dd2['UniverProCollaborationClientUi']));}(this,function(_0xeb2dec,_0x4e44de,_0x189b50,_0x3590ca,_0xbddc27,_0x1d067f,_0x4e9320,_0x4c8a87,_0x470b41,_0x4ec5f1,_0x1a79e1,_0x4a4c1a,_0x3b2b16,_0x1c4f8e,_0x2d098f,_0x2ddfe7,_0x34304a,_0x396865,_0x9faa7f,_0x324e85){'use strict';const _0x48ae0f=_0x4bef;var _0x149bbc=Object['defineProperty'],_0x4113b3=(_0x5862aa,_0x4440cb,_0x469aa8)=>_0x4440cb in _0x5862aa?_0x149bbc(_0x5862aa,_0x4440cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x469aa8}):_0x5862aa[_0x4440cb]=_0x469aa8,_0x4d2713=(_0x274dfc,_0x547756,_0x463314)=>_0x4113b3(_0x274dfc,typeof _0x547756!=_0x48ae0f(0x2dd)?_0x547756+'':_0x547756,_0x463314);const _0x39482c='edit-history-viewer.config',_0x1524b9={};var _0x360ac3=Object['getOwnPropertyDescriptor'],_0x2dd6e0=(_0x48eaa4,_0x7cc510,_0x5132d1,_0x29ef91)=>{const _0x286537=_0x48ae0f;for(var _0x50ed78=_0x29ef91>0x1?void 0x0:_0x29ef91?_0x360ac3(_0x7cc510,_0x5132d1):_0x7cc510,_0x30f381=_0x48eaa4[_0x286537(0x36a)]-0x1,_0x189b7b;_0x30f381>=0x0;_0x30f381--)(_0x189b7b=_0x48eaa4[_0x30f381])&&(_0x50ed78=_0x189b7b(_0x50ed78)||_0x50ed78);return _0x50ed78;},_0x24f282=(_0x3f615e,_0x427ce6)=>(_0x4f8720,_0x1da2a5)=>_0x427ce6(_0x4f8720,_0x1da2a5,_0x3f615e);let _0xfd9e16=class extends _0x3590ca[_0x48ae0f(0x33d)]{constructor(_0x48a129){const _0x2e8be3=_0x48ae0f;super(),this['_cellEditorManagerService']=_0x48a129,this[_0x2e8be3(0x268)]();}[_0x48ae0f(0x268)](){const _0xd8a8f9=_0x48ae0f;this[_0xd8a8f9(0x3c2)](this['_cellEditorManagerService'][_0xd8a8f9(0x189)]['subscribe'](_0x4b44cd=>{const _0x3905ea=_0xd8a8f9;_0x4b44cd!=null&&_0x4b44cd[_0x3905ea(0x1c6)]&&this[_0x3905ea(0x195)]['setState']({'show':!0x1});}));}};_0xfd9e16=_0x2dd6e0([_0x24f282(0x0,_0x4c8a87[_0x48ae0f(0x2bf)])],_0xfd9e16);var _0x24eac8=(_0xf5f3be=>(_0xf5f3be[_0xf5f3be['UNDEFINED']=0x0]=_0x48ae0f(0x343),_0xf5f3be[_0xf5f3be['OK']=0x1]='OK',_0xf5f3be[_0xf5f3be['INTERNAL_ERROR']=0x2]=_0x48ae0f(0x1f9),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x335)]=0x3]='PERMISSION_DENIED',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x395)]=0x4]=_0x48ae0f(0x395),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x283)]=0x5]=_0x48ae0f(0x283),_0xf5f3be[_0xf5f3be['ALREADY_EXISTS']=0x6]=_0x48ae0f(0x397),_0xf5f3be[_0xf5f3be['INVALID_ARGUMENT']=0x7]=_0x48ae0f(0x245),_0xf5f3be[_0xf5f3be['TOO_MANY_REQUESTS']=0x8]=_0x48ae0f(0x3a3),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x392)]=0x9]='COMPLETION_FINISHED',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x322)]=0xa]=_0x48ae0f(0x322),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x39b)]=0xb]=_0x48ae0f(0x39b),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x350)]=0xc]=_0x48ae0f(0x350),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x210)]=0xd]=_0x48ae0f(0x210),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x214)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x278)]=0xf]=_0x48ae0f(0x278),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x2b3)]=0x10]=_0x48ae0f(0x2b3),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x391)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x345)]=0x65]=_0x48ae0f(0x345),_0xf5f3be[_0xf5f3be['USER_NOT_FOUND']=0xc9]=_0x48ae0f(0x1de),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x1f8)]=0xca]=_0x48ae0f(0x1f8),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x342)]=0x1389]=_0x48ae0f(0x342),_0xf5f3be[_0xf5f3be['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xf5f3be[_0xf5f3be['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x48ae0f(0x2b8),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x270)]=0x1773]=_0x48ae0f(0x270),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x293)]=0x1b59]='APPLY_REJECT',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x1fd)]=0x1b5a]=_0x48ae0f(0x1fd),_0xf5f3be[_0xf5f3be['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x48ae0f(0x353),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x38b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x3b8)]=0x1b5d]='APPLY_DUPLICATED',_0xf5f3be[_0xf5f3be['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x48ae0f(0x2dc),_0xf5f3be[_0xf5f3be['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x1af)]=0x232a]=_0x48ae0f(0x1af),_0xf5f3be[_0xf5f3be['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x3a7)]=0x232c]=_0x48ae0f(0x3a7),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x254)]=0x232d]=_0x48ae0f(0x254),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x3c5)]=0x2711]=_0x48ae0f(0x3c5),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x23d)]=0x2712]=_0x48ae0f(0x23d),_0xf5f3be[_0xf5f3be['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x48ae0f(0x39f),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x1e2)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x255)]=0x271a]=_0x48ae0f(0x255),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x17c)]=0x271b]=_0x48ae0f(0x17c),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x200)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x184)]=0x271d]=_0x48ae0f(0x184),_0xf5f3be[_0xf5f3be['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0xf5f3be[_0xf5f3be['YUUMI_AI_RUN_FAILED']=0x271f]=_0x48ae0f(0x216),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x240)]=0x2720]=_0x48ae0f(0x240),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x366)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x1cf)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x346)]=0x2ee2]=_0x48ae0f(0x346),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x18b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x22a)]=0x2ee4]=_0x48ae0f(0x22a),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x2a1)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xf5f3be[_0xf5f3be['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x48ae0f(0x393),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x35e)]=0x32ca]=_0x48ae0f(0x35e),_0xf5f3be[_0xf5f3be['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x48ae0f(0x313),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x226)]=0x36b1]=_0x48ae0f(0x226),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x2e1)]=0x36b2]=_0x48ae0f(0x2e1),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x33f)]=0x36b3]=_0x48ae0f(0x33f),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x358)]=0x36b4]=_0x48ae0f(0x358),_0xf5f3be[_0xf5f3be['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x48ae0f(0x246),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x277)]=0x36b6]=_0x48ae0f(0x277),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x26c)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x347)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0xf5f3be[_0xf5f3be['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x1b6)]=0x3716]=_0x48ae0f(0x1b6),_0xf5f3be[_0xf5f3be['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x48ae0f(0x179),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x3b7)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0xf5f3be[_0xf5f3be['REDEMPTION_INVALID_CODE']=0x3a99]=_0x48ae0f(0x294),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x19d)]=0x3a9a]=_0x48ae0f(0x19d),_0xf5f3be[_0xf5f3be['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x34d)]=0x3a9c]=_0x48ae0f(0x34d),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x37b)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0xf5f3be[_0xf5f3be['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x48ae0f(0x2d6),_0xf5f3be[_0xf5f3be['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x48ae0f(0x394),_0xf5f3be[_0xf5f3be[_0x48ae0f(0x2b6)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0xf5f3be[_0xf5f3be[_0x48ae0f(0x25f)]=-0x1]=_0x48ae0f(0x25f),_0xf5f3be))(_0x24eac8||{}),_0x52a6a9=(_0x4f2547=>(_0x4f2547[_0x4f2547['UNIVER_UNKNOWN']=0x0]=_0x48ae0f(0x225),_0x4f2547[_0x4f2547[_0x48ae0f(0x337)]=0x1]=_0x48ae0f(0x337),_0x4f2547[_0x4f2547['UNIVER_SHEET']=0x2]=_0x48ae0f(0x3c9),_0x4f2547[_0x4f2547[_0x48ae0f(0x1ac)]=0x3]=_0x48ae0f(0x1ac),_0x4f2547[_0x4f2547[_0x48ae0f(0x2b0)]=0x4]='UNIVER_PROJECT',_0x4f2547[_0x4f2547['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4f2547))(_0x52a6a9||{}),_0x18531f=(_0x3dc52d=>(_0x3dc52d[_0x3dc52d[_0x48ae0f(0x21e)]=0x0]=_0x48ae0f(0x21e),_0x3dc52d[_0x3dc52d['Edit']=0x1]=_0x48ae0f(0x231),_0x3dc52d[_0x3dc52d['ManageCollaborator']=0x2]=_0x48ae0f(0x2c7),_0x3dc52d[_0x3dc52d['Print']=0x3]=_0x48ae0f(0x1d9),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x2c4)]=0x4]='Duplicate',_0x3dc52d[_0x3dc52d[_0x48ae0f(0x389)]=0x5]=_0x48ae0f(0x389),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x38a)]=0x6]=_0x48ae0f(0x38a),_0x3dc52d[_0x3dc52d['Share']=0x7]=_0x48ae0f(0x1da),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x2c3)]=0x8]=_0x48ae0f(0x2c3),_0x3dc52d[_0x3dc52d['MoveWorksheet']=0x9]=_0x48ae0f(0x36d),_0x3dc52d[_0x3dc52d['DeleteWorksheet']=0xa]=_0x48ae0f(0x3b1),_0x3dc52d[_0x3dc52d['HideWorksheet']=0xb]=_0x48ae0f(0x39a),_0x3dc52d[_0x3dc52d['RenameWorksheet']=0xc]='RenameWorksheet',_0x3dc52d[_0x3dc52d[_0x48ae0f(0x18a)]=0xd]=_0x48ae0f(0x18a),_0x3dc52d[_0x3dc52d['SetWorksheetStyle']=0xe]='SetWorksheetStyle',_0x3dc52d[_0x3dc52d['EditWorksheetCell']=0xf]=_0x48ae0f(0x1a0),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x27d)]=0x10]=_0x48ae0f(0x27d),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x3ca)]=0x11]=_0x48ae0f(0x3ca),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x34c)]=0x12]=_0x48ae0f(0x34c),_0x3dc52d[_0x3dc52d['PivotTable']=0x13]=_0x48ae0f(0x1aa),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x236)]=0x14]='FloatImg',_0x3dc52d[_0x3dc52d[_0x48ae0f(0x32c)]=0x15]=_0x48ae0f(0x32c),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x3a1)]=0x16]='RwHgtClWdt',_0x3dc52d[_0x3dc52d['ViemRwHgtClWdt']=0x17]='ViemRwHgtClWdt',_0x3dc52d[_0x3dc52d[_0x48ae0f(0x241)]=0x18]=_0x48ae0f(0x241),_0x3dc52d[_0x3dc52d['MoveSheet']=0x19]=_0x48ae0f(0x361),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x338)]=0x1a]=_0x48ae0f(0x338),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x331)]=0x1b]=_0x48ae0f(0x331),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x1d4)]=0x1c]=_0x48ae0f(0x1d4),_0x3dc52d[_0x3dc52d['RenameSheet']=0x1d]=_0x48ae0f(0x3bd),_0x3dc52d[_0x3dc52d['CreateSheet']=0x1e]=_0x48ae0f(0x3ba),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x1c3)]=0x1f]=_0x48ae0f(0x1c3),_0x3dc52d[_0x3dc52d['SelectUnProtectedCells']=0x20]=_0x48ae0f(0x323),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x39e)]=0x21]=_0x48ae0f(0x39e),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x3ab)]=0x22]=_0x48ae0f(0x3ab),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x3ae)]=0x23]=_0x48ae0f(0x3ae),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x259)]=0x24]=_0x48ae0f(0x259),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x1e0)]=0x25]='InsertRow',_0x3dc52d[_0x3dc52d[_0x48ae0f(0x217)]=0x26]=_0x48ae0f(0x217),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x2d2)]=0x27]=_0x48ae0f(0x2d2),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x1be)]=0x28]=_0x48ae0f(0x1be),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x1b4)]=0x29]='EditExtraObject',_0x3dc52d[_0x3dc52d[_0x48ae0f(0x369)]=0x2a]=_0x48ae0f(0x369),_0x3dc52d[_0x3dc52d['RecoverHistory']=0x2b]=_0x48ae0f(0x360),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x229)]=0x2c]=_0x48ae0f(0x229),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x30e)]=0x2d]=_0x48ae0f(0x30e),_0x3dc52d[_0x3dc52d[_0x48ae0f(0x25f)]=-0x1]=_0x48ae0f(0x25f),_0x3dc52d))(_0x18531f||{});function _0xfc6956(_0x558d1d){const _0x53ca40=_0x48ae0f;return!!(_0x558d1d&&_0x558d1d['code']&&_0x558d1d[_0x53ca40(0x311)]!==_0x24eac8['OK']&&_0x558d1d[_0x53ca40(0x311)]!=='OK');}const _0x1abd6f=(_0x32447e,_0x3397b8)=>{const _0x2535fe=_0x48ae0f;if(!_0x32447e)return{'date':'','time':''};const _0x476bee=new Date(_0x32447e),_0x539239=_0x476bee[_0x2535fe(0x3bc)]()[_0x2535fe(0x1bb)]('T')[0x0];switch(_0x3397b8){case _0x3590ca[_0x2535fe(0x3a2)][_0x2535fe(0x1ee)]:return{'date':_0x18b421(_0x539239,_0x3397b8),'time':_0x476bee[_0x2535fe(0x202)]()+':'+String(_0x476bee['getMinutes']())['padStart'](0x2,'0')+':'+String(_0x476bee[_0x2535fe(0x1e9)]())[_0x2535fe(0x398)](0x2,'0')};default:return{'date':_0x18b421(_0x539239,_0x3397b8),'time':_0x476bee[_0x2535fe(0x202)]()+':'+_0x476bee['getMinutes']()+':'+_0x476bee['getSeconds']()};}},_0xdef31d=(_0x22502d,_0x4ea3d3)=>{const _0x5ecc68=_0x48ae0f,_0x306e32=_0x22502d['user']||_0x4ea3d3['t'](_0x5ecc68(0x3cc));if(_0x22502d[_0x5ecc68(0x23c)][_0x5ecc68(0x1cc)](_0x58d2fb=>_0x58d2fb===_0x4e44de['RevertRevisionMutation']['id'])&&_0x22502d['recoverTime']){const _0x553fd2=_0x1abd6f(_0x22502d['recoverTime'],_0x4ea3d3[_0x5ecc68(0x33b)]()),_0x2aff65=_0x553fd2[_0x5ecc68(0x39c)]+'\x20'+_0x553fd2[_0x5ecc68(0x2be)];return _0x306e32+'\x20'+_0x4ea3d3['t']('editHistory.action.revertSheetPrefix')+'\x20'+_0x2aff65+'\x20'+_0x4ea3d3['t'](_0x5ecc68(0x1b5));}const _0x511ba0=_0x30fb6f(_0x22502d),_0xc2a29d=_0x511ba0[_0x5ecc68(0x36a)]===0x1?_0x4ea3d3['t'](_0x511ba0[0x0]):''+_0x4ea3d3['t'](_0x511ba0[0x0])+_0x4ea3d3['t'](_0x5ecc68(0x260));return _0x306e32+'\x20'+_0xc2a29d;};function _0x30fb6f(_0x226529){const _0x1dc82b=_0x48ae0f;if(_0x226529[_0x1dc82b(0x23c)][_0x1dc82b(0x36a)]===0x0)return[''];const _0x3cc0bd='editHistory.action.',_0x31bbe3=_0x3cc0bd+_0x1dc82b(0x185),_0x25d0f5=[{'id':_0x4e44de['CreateUnitMutation']['id'],'action':_0x3cc0bd+_0x1dc82b(0x2c0)},{'id':_0x4e44de[_0x1dc82b(0x339)]['id'],'action':_0x3cc0bd+'revertSheet'},{'id':_0x1a79e1[_0x1dc82b(0x212)]['id'],'action':_0x3cc0bd+_0x1dc82b(0x243)},{'id':_0x1a79e1[_0x1dc82b(0x38e)]['id'],'action':_0x3cc0bd+_0x1dc82b(0x19a)},{'id':_0x1a79e1['SetFrozenMutation']['id'],'action':_0x3cc0bd+_0x1dc82b(0x2bb)},{'id':_0x34304a[_0x1dc82b(0x2f9)]['id'],'action':_0x3cc0bd+_0x1dc82b(0x3c8)},{'id':_0x2d098f[_0x1dc82b(0x2d1)]['id'],'action':_0x3cc0bd+_0x1dc82b(0x203)},{'id':_0x2d098f[_0x1dc82b(0x2de)]['id'],'action':_0x3cc0bd+'setDV'},{'id':_0x2ddfe7[_0x1dc82b(0x24e)]['id'],'action':_0x3cc0bd+_0x1dc82b(0x2d8)},{'id':_0x2ddfe7[_0x1dc82b(0x2cb)]['id'],'action':_0x3cc0bd+_0x1dc82b(0x2d8)},{'id':_0x1a79e1[_0x1dc82b(0x1e1)]['id'],'action':_0x3cc0bd+'addProtection'},{'id':_0x1a79e1['AddRangeProtectionMutation']['id'],'action':_0x3cc0bd+_0x1dc82b(0x2a4)},{'id':_0x1c4f8e[_0x1dc82b(0x1c7)]['id'],'action':_0x3cc0bd+_0x1dc82b(0x3b2)},{'id':_0x3b2b16[_0x1dc82b(0x2b5)]['id'],'action':_0x3cc0bd+_0x1dc82b(0x267)},{'id':_0x1a79e1[_0x1dc82b(0x3b9)]['id'],'action':_0x3cc0bd+_0x1dc82b(0x196)},{'id':_0x1a79e1[_0x1dc82b(0x2b9)]['id'],'action':_0x3cc0bd+_0x1dc82b(0x196)}]['filter'](_0x194871=>_0x226529[_0x1dc82b(0x23c)][_0x1dc82b(0x2ef)](_0x194871['id']));return _0x25d0f5!=null&&_0x25d0f5[_0x1dc82b(0x36a)]?_0x25d0f5[_0x1dc82b(0x20d)](_0x4a4beb=>_0x4a4beb['action']):[_0x31bbe3];}function _0x18b421(_0x3ef57e,_0x37040a){const _0x75b679=_0x48ae0f,[_0x41ce44,_0x2f1354,_0x4adcd5]=new Date()[_0x75b679(0x3bc)]()[_0x75b679(0x1bb)]('T')[0x0][_0x75b679(0x1bb)]('-'),[_0x14b1bf,_0x3f96ad,_0x3c4787]=_0x3ef57e[_0x75b679(0x1bb)]('-'),_0x72a324=_0x41ce44===_0x14b1bf&&_0x2f1354===_0x3f96ad&&_0x4adcd5===_0x3c4787;let _0x2c5c3d='',_0x3ba649='',_0x1762f9='';switch(_0x37040a){case _0x3590ca[_0x75b679(0x3a2)][_0x75b679(0x1ee)]:return _0x72a324?'今天':(_0x2c5c3d=_0x41ce44===_0x14b1bf?'':_0x14b1bf+'年',_0x3ba649=_0x3f96ad+'月',_0x1762f9=_0x3c4787+'日',''+_0x2c5c3d+_0x3ba649+_0x1762f9);default:return _0x72a324?_0x75b679(0x20a):(_0x2c5c3d=_0x41ce44===_0x14b1bf?'':_0x14b1bf+'-',_0x3ba649=_0x3f96ad+'-',_0x1762f9=''+_0x3c4787,''+_0x2c5c3d+_0x3ba649+_0x1762f9);}}function _0x5a183d(_0x2859d4){const _0x4f385d=_0x48ae0f;return _0x2859d4?_0x2859d4[_0x4f385d(0x2a3)]((_0x1dc451,_0x100fc4)=>{const _0x3f9502=_0x4f385d,_0x36754b=new Date(_0x100fc4['time'])[_0x3f9502(0x3bc)]()[_0x3f9502(0x1bb)]('T')[0x0];return _0x1dc451[_0x3f9502(0x36a)]>0x0&&_0x1dc451[_0x1dc451[_0x3f9502(0x36a)]-0x1]['dateString']===_0x36754b?_0x1dc451[_0x1dc451[_0x3f9502(0x36a)]-0x1][_0x3f9502(0x282)][_0x3f9502(0x3c3)](_0x100fc4):_0x1dc451[_0x3f9502(0x3c3)]({'dateString':_0x36754b,'versions':[_0x100fc4]}),_0x1dc451;},[]):[];}var _0x4d5bcf=Object[_0x48ae0f(0x37f)],_0x1a09b5=(_0x2da4f5,_0x35a0cc,_0x39bd05,_0x210c86)=>{const _0x3cc035=_0x48ae0f;for(var _0x9902e2=_0x210c86>0x1?void 0x0:_0x210c86?_0x4d5bcf(_0x35a0cc,_0x39bd05):_0x35a0cc,_0x4bfab3=_0x2da4f5[_0x3cc035(0x36a)]-0x1,_0x4af34d;_0x4bfab3>=0x0;_0x4bfab3--)(_0x4af34d=_0x2da4f5[_0x4bfab3])&&(_0x9902e2=_0x4af34d(_0x9902e2)||_0x9902e2);return _0x9902e2;},_0x564648=(_0x1d4433,_0x5f07ba)=>(_0x3d1686,_0x19c67f)=>_0x5f07ba(_0x3d1686,_0x19c67f,_0x1d4433),_0x7fbb24=(_0x31f7ca=>(_0x31f7ca[_0x31f7ca[_0x48ae0f(0x208)]=0x0]=_0x48ae0f(0x208),_0x31f7ca[_0x31f7ca[_0x48ae0f(0x1df)]=0x1]=_0x48ae0f(0x1df),_0x31f7ca[_0x31f7ca[_0x48ae0f(0x1fa)]=0x2]='Character',_0x31f7ca))(_0x7fbb24||{});const _0x510f4a=_0x48ae0f(0x2b2);let _0x5cdf05=class extends _0x3590ca[_0x48ae0f(0x33d)]{constructor(_0x2c6166,_0x46f7ec,_0x357726,_0x3ffe0a,_0xe9009a,_0x146200,_0x46c432){const _0x305e7f=_0x48ae0f;super(),_0x4d2713(this,_0x305e7f(0x30a),new Map()),(this[_0x305e7f(0x220)]=_0x2c6166,this[_0x305e7f(0x2ce)]=_0x46f7ec,this[_0x305e7f(0x19e)]=_0x357726,this['_configService']=_0x3ffe0a,this[_0x305e7f(0x307)]=_0xe9009a,this[_0x305e7f(0x32a)]=_0x146200,this['_sheetPermissionInitController']=_0x46c432);}[_0x48ae0f(0x341)](){const _0x21ed40=_0x48ae0f;this['_workbookDataCache'][_0x21ed40(0x207)](),super[_0x21ed40(0x341)]();}async[_0x48ae0f(0x262)](_0x1730eb){const _0x291cc6=_0x48ae0f;try{const _0x4a1d16=(await this['_httpService'][_0x291cc6(0x38f)](this[_0x291cc6(0x1f1)]()+'/'+_0x1730eb+_0x291cc6(0x32e)))[_0x291cc6(0x3a6)];if(_0x4a1d16&&_0x4a1d16[_0x291cc6(0x248)]&&_0x4a1d16[_0x291cc6(0x248)][_0x291cc6(0x311)]===_0x24eac8['OK'])return _0x4a1d16[_0x291cc6(0x18d)];}catch(_0x5107aa){console[_0x291cc6(0x248)](_0x5107aa);}return[];}async[_0x48ae0f(0x377)](_0x27a56b,_0x12cf97){const _0x5bd5d1=_0x48ae0f,{userIds:_0x548f26,lastLabel:_0x3e156d,origin:_0x30bc5a}=_0x12cf97!=null?_0x12cf97:{},_0x3087fc=new URLSearchParams();_0x3087fc[_0x5bd5d1(0x269)](_0x5bd5d1(0x36a),'20'),_0x3e156d&&_0x3087fc[_0x5bd5d1(0x269)]('lastLabel',_0x3e156d),_0x548f26==null||_0x548f26[_0x5bd5d1(0x1e4)](_0x2424a4=>{const _0x44fae9=_0x5bd5d1;_0x3087fc[_0x44fae9(0x2e9)]('userIds',_0x2424a4);}),_0x30bc5a&&_0x3087fc['set'](_0x5bd5d1(0x357),_0x30bc5a[_0x5bd5d1(0x33a)]());const _0x47a4fb=this['_getAPIPrefix']()+'/'+_0x27a56b+_0x5bd5d1(0x2da)+_0x3087fc[_0x5bd5d1(0x33a)]();try{const _0x3d6433=(await this[_0x5bd5d1(0x307)]['get'](_0x47a4fb))['body'];if(_0x3d6433&&_0x3d6433[_0x5bd5d1(0x248)]&&_0x3d6433['error'][_0x5bd5d1(0x311)]===_0x24eac8['OK']){const {hasMore:_0x2f3ecb,lastLabel:_0x53cebc}=_0x3d6433,_0x4c21af=_0x405951(_0x3d6433),_0x36e4aa=_0x3d6433[_0x5bd5d1(0x356)][_0x5bd5d1(0x22c)];return{'hasMore':_0x2f3ecb,'lastLabel':_0x53cebc,'versions':_0x4c21af,'members':_0x36e4aa};}}catch(_0x19a1a4){console[_0x5bd5d1(0x248)](_0x19a1a4);}return null;}['_getAPIPrefix'](){const _0x1cf404=_0x48ae0f;var _0x5b7c9a;const _0xd5fbe5=this[_0x1cf404(0x2e7)]['getConfig'](_0x39482c);return(_0x5b7c9a=_0xd5fbe5==null?void 0x0:_0xd5fbe5['historyListServerUrl'])!=null?_0x5b7c9a:_0x510f4a;}async['loadSheet'](_0x443f24,_0x1b2ac6,_0x2b896d){const _0x4fdc20=_0x48ae0f;var _0x20556,_0x603db6;_0x2b896d===void 0x0&&(_0x2b896d={}),this[_0x4fdc20(0x30a)][_0x4fdc20(0x24d)](_0x443f24)||this['_workbookDataCache'][_0x4fdc20(0x269)](_0x443f24,new Map());const {snapshot:_0x3ffe37,changesets:_0x1f2bd5,error:_0x5dd40e}=await this[_0x4fdc20(0x220)]['getUnitOnRev'](_0x2b896d,{'unitID':_0x443f24,'type':_0x52a6a9['UNIVER_SHEET'],'revision':_0x1b2ac6});if(_0xfc6956(_0x5dd40e)||!_0x3ffe37||!_0x3ffe37[_0x4fdc20(0x2bd)])throw new Error(_0x4fdc20(0x2a8));const _0x37560e=(_0x20556=_0x1f2bd5==null?void 0x0:_0x1f2bd5[_0x4fdc20(0x36a)])!=null?_0x20556:0x0;if(_0x1b2ac6!==0x0&&_0x3ffe37[_0x4fdc20(0x1d3)]+_0x37560e!==_0x1b2ac6)throw new Error(_0x4fdc20(0x2c5));const {workbook:_0x70df39}=_0x3ffe37,_0x2d468e=_0x70df39[_0x4fdc20(0x38d)]?Object[_0x4fdc20(0x1bd)](_0x70df39[_0x4fdc20(0x38d)])['map'](([_0x3262dc,_0x1f18b8])=>{const _0x353105=_0x4fdc20;var _0x4dc437,_0x33a2bb;return(_0x33a2bb=(_0x4dc437=_0x1f18b8[_0x353105(0x247)])==null?void 0x0:_0x4dc437[_0x353105(0x20d)](_0x281685=>_0x281685))!=null?_0x33a2bb:[];})['flat']():[],_0x54b1da=(await Promise[_0x4fdc20(0x274)](_0x2d468e[_0x4fdc20(0x20d)](_0x7997a4=>this[_0x4fdc20(0x220)][_0x4fdc20(0x1d6)](_0x2b896d,{'unitID':_0x443f24,'type':_0x52a6a9['UNIVER_SHEET'],'blockID':_0x7997a4})[_0x4fdc20(0x2f4)](_0x64ecbf=>_0x64ecbf[_0x4fdc20(0x327)]))))['filter'](_0x3c6b8f=>!!_0x3c6b8f),_0x4ef156=_0x4e44de['transformSnapshotToWorkbookData'](_0x3ffe37,_0x54b1da,_0x2b896d);return(_0x603db6=this['_workbookDataCache'][_0x4fdc20(0x38f)](_0x443f24))==null||_0x603db6[_0x4fdc20(0x269)](_0x1b2ac6,{'workbook':_0x4ef156}),new Promise(_0x352201=>{const _0x4325aa=_0x4fdc20,_0x59474b=this[_0x4325aa(0x2ce)][_0x4325aa(0x204)](_0x3590ca[_0x4325aa(0x194)][_0x4325aa(0x3c9)]);_0x59474b?(this['_univerInstanceService']['disposeUnit'](_0x59474b[_0x4325aa(0x3ac)]()),setTimeout(()=>{const _0x3888b1=_0x4325aa;this[_0x3888b1(0x34f)](_0x4ef156,_0x1f2bd5),this['_sheetPermissionInitController']['refreshRangeProtectPermission'](),_0x352201(!0x0);},0x0)):(this[_0x4325aa(0x34f)](_0x4ef156,_0x1f2bd5),_0x352201(!0x0));});}['_createUnit'](_0x7ae9a0,_0x1f3a5a){const _0x3dd402=_0x48ae0f,_0x42c72a=this['_univerInstanceService']['createUnit'](_0x3590ca[_0x3dd402(0x194)][_0x3dd402(0x3c9)],_0x7ae9a0);this[_0x3dd402(0x2ce)]['focusUnit'](_0x42c72a[_0x3dd402(0x3ac)]());const _0x3d36d9=this[_0x3dd402(0x32a)][_0x3dd402(0x281)][_0x3dd402(0x385)](this[_0x3dd402(0x32a)][_0x3dd402(0x281)][_0x3dd402(0x32d)]()['COMPRESS_MUTATION_APPLY']);return _0x1f3a5a==null||_0x1f3a5a[_0x3dd402(0x1e4)](_0x410e68=>{const _0x2d619b=_0x3dd402,_0x592da8=_0x410e68[_0x2d619b(0x24b)][_0x2d619b(0x20d)](_0x405f38=>({'id':_0x405f38['id'],'params':JSON[_0x2d619b(0x3c4)](_0x405f38['data'])}));({..._0x410e68,'mutations':_0x3d36d9(_0x592da8,null)||_0x592da8}['mutations']['forEach'](_0x497926=>{const _0x3dba93=_0x2d619b;this[_0x3dba93(0x19e)]['hasCommand'](_0x497926['id'])&&this['_commandService'][_0x3dba93(0x310)](_0x497926['id'],_0x497926['params']);}));}),_0x42c72a;}};_0x5cdf05=_0x1a09b5([_0x564648(0x0,_0x4e44de['ISnapshotServerService']),_0x564648(0x1,_0x3590ca['IUniverInstanceService']),_0x564648(0x2,_0x3590ca[_0x48ae0f(0x329)]),_0x564648(0x3,_0x3590ca[_0x48ae0f(0x38c)]),_0x564648(0x4,_0x3590ca['Inject'](_0x4e9320[_0x48ae0f(0x26d)])),_0x564648(0x5,_0x3590ca[_0x48ae0f(0x1fe)](_0x4e44de['CompressMutationService'])),_0x564648(0x6,_0x3590ca[_0x48ae0f(0x1fe)](_0x1a79e1[_0x48ae0f(0x27e)]))],_0x5cdf05);function _0x405951(_0x1b59a5){const _0x2a68bc=_0x48ae0f;var _0x220f98,_0x52bcef;const _0xdd3556=[],{entities:_0x3bd2a0,historyIds:_0x3e849e}=_0x1b59a5,{datas:_0x1b41b7,users:_0x1fc1f5}=_0x3bd2a0;for(const _0x10f7ef of _0x3e849e){const _0x3734c9=_0x1b41b7[_0x10f7ef];if(_0x3734c9){const _0x27b658=!!((_0x220f98=_0x1fc1f5[_0x3734c9[_0x2a68bc(0x2f5)]])!=null&&_0x220f98[_0x2a68bc(0x36b)]);_0xdd3556['push']({'unitId':_0x3734c9[_0x2a68bc(0x22f)],'user':_0x27b658?'':((_0x52bcef=_0x1fc1f5==null?void 0x0:_0x1fc1f5[_0x3734c9[_0x2a68bc(0x2f5)]])==null?void 0x0:_0x52bcef[_0x2a68bc(0x17f)])||'','isAnonymous':_0x27b658,'id':_0x10f7ef,'time':_0x3734c9[_0x2a68bc(0x35c)]?Number(_0x3734c9[_0x2a68bc(0x35c)]):void 0x0,'commands':_0x3734c9[_0x2a68bc(0x1b3)],'startRev':Number(_0x3734c9[_0x2a68bc(0x2ab)]),'endRev':Number(_0x3734c9[_0x2a68bc(0x1b8)]),'recoverTime':_0x3734c9[_0x2a68bc(0x3c7)]?Number(_0x3734c9['recoverTime']):void 0x0,'additionalFields':_0x3734c9['additionalFields']});}}return _0xdd3556;}var _0x59552b=Object['getOwnPropertyDescriptor'],_0x4cd110=(_0x1eb884,_0x1a60b8,_0x1ce7c5,_0xab1a05)=>{const _0x434adb=_0x48ae0f;for(var _0x2fa7bc=_0xab1a05>0x1?void 0x0:_0xab1a05?_0x59552b(_0x1a60b8,_0x1ce7c5):_0x1a60b8,_0x37683c=_0x1eb884[_0x434adb(0x36a)]-0x1,_0x195d76;_0x37683c>=0x0;_0x37683c--)(_0x195d76=_0x1eb884[_0x37683c])&&(_0x2fa7bc=_0x195d76(_0x2fa7bc)||_0x2fa7bc);return _0x2fa7bc;},_0x26bc3b=(_0x5ae246,_0x16b336)=>(_0x41589f,_0x3bd93c)=>_0x16b336(_0x41589f,_0x3bd93c,_0x5ae246),_0x86943=(_0x147271=>(_0x147271[_0x48ae0f(0x1dd)]=_0x48ae0f(0x30c),_0x147271['Exited']='exited',_0x147271['Error']=_0x48ae0f(0x248),_0x147271))(_0x86943||{}),_0x2f103c=(_0x2b42c4=>(_0x2b42c4[_0x48ae0f(0x35b)]='init',_0x2b42c4['Loading']='loading',_0x2b42c4['Loaded']=_0x48ae0f(0x2cc),_0x2b42c4))(_0x2f103c||{});const _0x5ac9ad=_0x48ae0f(0x222);_0xeb2dec[_0x48ae0f(0x1e8)]=class extends _0x3590ca[_0x48ae0f(0x33d)]{constructor(_0x232936,_0x2c50d3,_0x2805d3,_0x15773d){const _0x3d6b7b=_0x48ae0f;super(),_0x4d2713(this,'_versions$',new _0x4a4c1a[(_0x3d6b7b(0x19b))]([])),_0x4d2713(this,'versions$',this['_versions$'][_0x3d6b7b(0x291)]()),_0x4d2713(this,_0x3d6b7b(0x2ff),new _0x4a4c1a['BehaviorSubject']('')),_0x4d2713(this,_0x3d6b7b(0x265),this['_currentVersion$'][_0x3d6b7b(0x291)]()),_0x4d2713(this,_0x3d6b7b(0x1e6),new _0x4a4c1a[(_0x3d6b7b(0x19b))](_0x3d6b7b(0x30c))),_0x4d2713(this,_0x3d6b7b(0x3ce),this['_status$']['asObservable']()),_0x4d2713(this,_0x3d6b7b(0x32b),new _0x4a4c1a['BehaviorSubject'](0x0)),_0x4d2713(this,'revertRevision$',this['_revertRevision$']['asObservable']()),_0x4d2713(this,_0x3d6b7b(0x223),new _0x4a4c1a['BehaviorSubject']('')),_0x4d2713(this,_0x3d6b7b(0x235),this[_0x3d6b7b(0x223)][_0x3d6b7b(0x291)]()),_0x4d2713(this,_0x3d6b7b(0x24a),new _0x4a4c1a[(_0x3d6b7b(0x19b))](!0x1)),_0x4d2713(this,_0x3d6b7b(0x2b7),this[_0x3d6b7b(0x24a)]['asObservable']()),_0x4d2713(this,'_creators$',new _0x4a4c1a['BehaviorSubject']([])),_0x4d2713(this,_0x3d6b7b(0x219),this['_creators$'][_0x3d6b7b(0x291)]()),_0x4d2713(this,'_loadingState$',new _0x4a4c1a['BehaviorSubject'](_0x3d6b7b(0x29f))),_0x4d2713(this,_0x3d6b7b(0x2f8),this[_0x3d6b7b(0x28a)][_0x3d6b7b(0x291)]()),_0x4d2713(this,_0x3d6b7b(0x2e0),null),_0x4d2713(this,'_hasMore',!0x0),_0x4d2713(this,_0x3d6b7b(0x3b0),new Map()),_0x4d2713(this,_0x3d6b7b(0x2f3)),_0x4d2713(this,_0x3d6b7b(0x1ef)),_0x4d2713(this,'_maskElement'),_0x4d2713(this,_0x3d6b7b(0x3b4),!0x1),_0x4d2713(this,_0x3d6b7b(0x354),null),(this['_messageService']=_0x232936,this[_0x3d6b7b(0x2d3)]=_0x2c50d3,this[_0x3d6b7b(0x288)]=_0x2805d3,this[_0x3d6b7b(0x299)]=_0x15773d);}['_setFetching'](_0x26ed4d){const _0x11d922=_0x48ae0f;this[_0x11d922(0x24a)]['next'](_0x26ed4d);}get[_0x48ae0f(0x1b0)](){return this['_fetching$']['value'];}async[_0x48ae0f(0x218)](_0x1a0358,_0x1e7d11,_0xd225a4){const _0x28e622=_0x48ae0f;this[_0x28e622(0x2f3)]=_0x1e7d11,this[_0x28e622(0x3b4)]=_0xd225a4,await this[_0x28e622(0x1d1)](_0x1a0358);}async[_0x48ae0f(0x1d1)](_0x4b0a8b,_0x4d0dcd){const _0x26ef0e=_0x48ae0f;this[_0x26ef0e(0x223)]['next'](_0x4b0a8b),this[_0x26ef0e(0x354)]=_0x4d0dcd!=null?_0x4d0dcd:null,this['_setFetching'](!0x0);const _0x2aa79f=await this[_0x26ef0e(0x299)][_0x26ef0e(0x377)](_0x4b0a8b,_0x4d0dcd);if(this['_setFetching'](!0x1),_0x2aa79f){const {versions:_0x5b7ad3,lastLabel:_0x1a07a5,hasMore:_0x20696f,members:_0x2f71dc}=_0x2aa79f;_0x5b7ad3[_0x26ef0e(0x36a)]===0x0&&_0x5b7ad3['push']({'unitId':_0x4b0a8b,'id':_0x5ac9ad,'startRev':0x1,'endRev':0x0,'time':Date[_0x26ef0e(0x384)](),'user':this[_0x26ef0e(0x288)]['t'](_0x26ef0e(0x296)),'commands':[],'isAnonymous':!0x1}),this[_0x26ef0e(0x375)](_0x5b7ad3,_0x20696f,_0x1a07a5,!0x1,_0x2f71dc),this[_0x26ef0e(0x2ff)][_0x26ef0e(0x188)](_0x5b7ad3[0x0]['id']);}else this[_0x26ef0e(0x1e6)][_0x26ef0e(0x188)](_0x26ef0e(0x248));}async['loadMoreVersions'](){const _0x1f64df=_0x48ae0f;if(!this[_0x1f64df(0x2e0)]||!this[_0x1f64df(0x386)]||this['fetching'])return!0x1;this[_0x1f64df(0x1e3)](!0x0);const _0x30a92a=await this[_0x1f64df(0x299)][_0x1f64df(0x377)](this[_0x1f64df(0x22f)],{'lastLabel':this[_0x1f64df(0x2e0)],...this[_0x1f64df(0x354)]});if(this[_0x1f64df(0x1e3)](!0x1),_0x30a92a){const {versions:_0x26b897,lastLabel:_0x4f7df0,hasMore:_0x12c525,members:_0x282bac}=_0x30a92a;this['_updateVersions'](_0x26b897,_0x12c525,_0x4f7df0,!0x0,_0x282bac);}else this[_0x1f64df(0x387)][_0x1f64df(0x1c6)]({'content':this[_0x1f64df(0x288)]['t'](_0x1f64df(0x182)),'type':_0x4ec5f1[_0x1f64df(0x1b1)][_0x1f64df(0x2ba)],'duration':0xbb8});return!0x0;}async[_0x48ae0f(0x2ca)](){const _0x18062c=_0x48ae0f,{unitId:_0x269455}=this;if(!_0x269455)return;const _0x768147=await this['_historyFetchService'][_0x18062c(0x262)](_0x269455);_0x768147&&this[_0x18062c(0x2bc)][_0x18062c(0x188)](_0x768147);}async[_0x48ae0f(0x308)](_0x1fe504){const _0x62ce8c=_0x48ae0f;var _0x1742f2;const _0x2be2e6=(_0x1742f2=this['_versions$'][_0x62ce8c(0x2eb)])==null?void 0x0:_0x1742f2[_0x62ce8c(0x199)](_0xdd6d1=>_0xdd6d1['id']===_0x1fe504),{endRev:_0x2babe9}=_0x2be2e6||{};_0x2babe9||_0x2babe9===0x0?(this[_0x62ce8c(0x28a)][_0x62ce8c(0x188)](_0x62ce8c(0x2b4)),await this[_0x62ce8c(0x299)]['loadSheet'](this['unitId'],_0x2babe9),this[_0x62ce8c(0x28a)][_0x62ce8c(0x188)](_0x62ce8c(0x2cc))):this[_0x62ce8c(0x1e6)]['next'](_0x62ce8c(0x248));}async['triggerRevert'](_0x4ea554){const _0x977ce7=_0x48ae0f,_0x3304b9=_0x4ea554?this['getVersion'](_0x4ea554):this[_0x977ce7(0x3bb)]();if(!_0x3304b9)return;const _0x5875cb=_0x3304b9[_0x977ce7(0x367)],_0x13ac45=_0x1abd6f(_0x3304b9[_0x977ce7(0x2be)],this[_0x977ce7(0x288)][_0x977ce7(0x33b)]());await this[_0x977ce7(0x2d3)][_0x977ce7(0x3b3)]({'id':_0x977ce7(0x22e),'title':{'title':this[_0x977ce7(0x288)]['t'](_0x977ce7(0x266))},'children':{'title':this[_0x977ce7(0x288)]['t']('editHistory.panel.revertConfirmText')+_0x977ce7(0x1ca)+_0x13ac45[_0x977ce7(0x39c)]+'\x20'+_0x13ac45[_0x977ce7(0x2be)]+')'},'cancelText':this[_0x977ce7(0x288)]['t'](_0x977ce7(0x380)),'confirmText':this['_localeService']['t'](_0x977ce7(0x18f))})&&this['_revertRevision$'][_0x977ce7(0x188)](_0x5875cb);}[_0x48ae0f(0x375)](_0x3297a2,_0x4a5129,_0x1bd2fe,_0x53beec,_0x569622){const _0x86ad65=_0x48ae0f;this[_0x86ad65(0x256)](_0x53beec?this[_0x86ad65(0x1a3)][_0x86ad65(0x2eb)][_0x86ad65(0x28b)](_0x3297a2):_0x3297a2),this['_hasMore']=_0x4a5129,this[_0x86ad65(0x2e0)]=_0x1bd2fe,_0x569622&&Object[_0x86ad65(0x19c)](_0x569622)[_0x86ad65(0x1e4)](_0x47f3a0=>this[_0x86ad65(0x3b0)][_0x86ad65(0x269)](_0x47f3a0,_0x569622[_0x47f3a0]));}[_0x48ae0f(0x3bb)](){const _0x2e1254=_0x48ae0f;return this[_0x2e1254(0x23e)](this['_currentVersion$'][_0x2e1254(0x2eb)]);}[_0x48ae0f(0x256)](_0x2c4863){const _0x45cf7b=_0x48ae0f;this['_versions$'][_0x45cf7b(0x188)](_0x2c4863);}['getVersion'](_0x18e9df){const _0x19635b=_0x48ae0f;var _0x4fde3e;return(_0x4fde3e=this[_0x19635b(0x1a3)][_0x19635b(0x2eb)])==null?void 0x0:_0x4fde3e[_0x19635b(0x199)](_0x50e243=>_0x50e243['id']===_0x18e9df);}[_0x48ae0f(0x300)](_0x26a201){const _0x5dd26d=_0x48ae0f;return this['_members'][_0x5dd26d(0x38f)](_0x26a201);}[_0x48ae0f(0x17b)](){const _0x2c0710=_0x48ae0f;this[_0x2c0710(0x3cf)]=document[_0x2c0710(0x1ec)](_0x2c0710(0x237)),this['_maskElement'][_0x2c0710(0x21c)]='history-mask',this['_maskElement'][_0x2c0710(0x351)][_0x2c0710(0x330)]='absolute',this[_0x2c0710(0x3cf)]['style']['top']='0',this[_0x2c0710(0x3cf)][_0x2c0710(0x351)][_0x2c0710(0x290)]='0',this[_0x2c0710(0x3cf)]['style'][_0x2c0710(0x36f)]=_0x2c0710(0x239),this[_0x2c0710(0x3cf)][_0x2c0710(0x351)][_0x2c0710(0x1d5)]=_0x2c0710(0x239),this[_0x2c0710(0x3cf)][_0x2c0710(0x351)]['backgroundColor']=_0x2c0710(0x242),this[_0x2c0710(0x3cf)]['style'][_0x2c0710(0x23b)]=_0x2c0710(0x1f7),this[_0x2c0710(0x3cf)][_0x2c0710(0x351)][_0x2c0710(0x36e)]='flex',this[_0x2c0710(0x3cf)][_0x2c0710(0x351)][_0x2c0710(0x2ac)]=_0x2c0710(0x27a),this[_0x2c0710(0x3cf)]['style']['zIndex']=_0x2c0710(0x2af),this[_0x2c0710(0x3cf)][_0x2c0710(0x351)][_0x2c0710(0x36e)]=_0x2c0710(0x206),this[_0x2c0710(0x1ef)][_0x2c0710(0x2e9)](this[_0x2c0710(0x3cf)]);}[_0x48ae0f(0x272)](){const _0x2ad332=_0x48ae0f;var _0x4cd2fa;const _0x566897=(_0x4cd2fa=document['getElementById'](this[_0x2ad332(0x2f3)]))==null?void 0x0:_0x4cd2fa['querySelector'](_0x2ad332(0x370));_0x566897&&(this['_maskContainer']=_0x566897,this[_0x2ad332(0x17b)]());}[_0x48ae0f(0x1ed)](){const _0x19043f=_0x48ae0f;this[_0x19043f(0x1ef)]||this[_0x19043f(0x272)](),this[_0x19043f(0x3cf)]&&(this['_maskElement']['style']['display']=_0x19043f(0x2d4));}['hideMask'](){const _0x1df90b=_0x48ae0f;this['_maskElement']&&(this[_0x1df90b(0x3cf)]['style'][_0x1df90b(0x36e)]=_0x1df90b(0x206));}set['status'](_0x42649d){const _0x1249eb=_0x48ae0f;this[_0x1249eb(0x1e6)][_0x1249eb(0x188)](_0x42649d);}set[_0x48ae0f(0x24c)](_0x36b676){const _0x219582=_0x48ae0f;_0x36b676!==this[_0x219582(0x2ff)][_0x219582(0x2eb)]&&this[_0x219582(0x2ff)]['next'](_0x36b676);}get['currentVersion'](){const _0x4c885b=_0x48ae0f;return this[_0x4c885b(0x2ff)]['value'];}set['unitId'](_0x48e702){const _0x293074=_0x48ae0f;this[_0x293074(0x223)][_0x293074(0x188)](_0x48e702);}get[_0x48ae0f(0x22f)](){const _0x371e4d=_0x48ae0f;return this[_0x371e4d(0x223)][_0x371e4d(0x2eb)];}get['canRevert'](){const _0x2c2e6d=_0x48ae0f;return this[_0x2c2e6d(0x3b4)];}get[_0x48ae0f(0x1f2)](){const _0x152cf8=_0x48ae0f;return this[_0x152cf8(0x28a)]['value'];}},_0xeb2dec[_0x48ae0f(0x1e8)]=_0x4cd110([_0x26bc3b(0x0,_0x470b41['IMessageService']),_0x26bc3b(0x1,_0x470b41[_0x48ae0f(0x1d8)]),_0x26bc3b(0x2,_0x3590ca[_0x48ae0f(0x1fe)](_0x3590ca[_0x48ae0f(0x1ab)])),_0x26bc3b(0x3,_0x3590ca[_0x48ae0f(0x1fe)](_0x5cdf05))],_0xeb2dec[_0x48ae0f(0x1e8)]);function _0x37e7f6({ref:_0x1e40b6,..._0x5d51b3}){const _0x2c436a=_0x48ae0f,{icon:_0x31ccf8,id:_0x3ea907,className:_0x3ec17b,extend:_0x341db8,..._0x1bcd88}=_0x5d51b3,_0x129a3d=('univerjs-icon\x20univerjs-icon-'+_0x3ea907+'\x20'+(_0x3ec17b||''))[_0x2c436a(0x2c8)](),_0x1c7e5c=_0x9faa7f[_0x2c436a(0x30d)]('_'+_0x825bc6());return _0x53d7cb(_0x31ccf8,''+_0x3ea907,{'defIds':_0x31ccf8[_0x2c436a(0x37d)],'idSuffix':_0x1c7e5c['current']},{'ref':_0x1e40b6,'className':_0x129a3d,..._0x1bcd88},_0x341db8);}function _0x53d7cb(_0x358506,_0x354d36,_0x39fc1d,_0xb98609,_0x176ff9){const _0x1c0af7=_0x48ae0f;return _0x9faa7f[_0x1c0af7(0x1ec)](_0x358506[_0x1c0af7(0x378)],{'key':_0x354d36,..._0x101e84(_0x358506,_0x39fc1d,_0x176ff9),..._0xb98609},(_0x95bc90(_0x358506,_0x39fc1d)[_0x1c0af7(0x1f6)]||[])[_0x1c0af7(0x20d)]((_0x229c37,_0x2766bd)=>_0x53d7cb(_0x229c37,_0x354d36+'-'+_0x358506[_0x1c0af7(0x378)]+'-'+_0x2766bd,_0x39fc1d,void 0x0,_0x176ff9)));}function _0x101e84(_0x19672f,_0x3a25c0,_0x4d2df2){const _0x406be0=_0x48ae0f,_0x17edab={..._0x19672f[_0x406be0(0x26b)]};_0x4d2df2!=null&&_0x4d2df2['colorChannel1']&&_0x17edab[_0x406be0(0x316)]===_0x406be0(0x301)&&(_0x17edab['fill']=_0x4d2df2[_0x406be0(0x301)]),_0x19672f[_0x406be0(0x378)]===_0x406be0(0x286)&&_0x17edab['id']&&(_0x17edab['id']=_0x17edab['id']+_0x3a25c0['idSuffix']),Object['entries'](_0x17edab)[_0x406be0(0x1e4)](([_0x449b54,_0x30fd61])=>{const _0x428f34=_0x406be0;_0x449b54==='mask'&&typeof _0x30fd61==_0x428f34(0x363)&&(_0x17edab[_0x449b54]=_0x30fd61[_0x428f34(0x205)](/url\(#(.*)\)/,_0x428f34(0x2cf)+_0x3a25c0[_0x428f34(0x28c)]+')'));});const {defIds:_0x552cf5}=_0x3a25c0;return!_0x552cf5||_0x552cf5[_0x406be0(0x36a)]===0x0||(_0x19672f[_0x406be0(0x378)]==='use'&&_0x17edab[_0x406be0(0x388)]&&(_0x17edab[_0x406be0(0x388)]=_0x17edab['xlink:href']+_0x3a25c0[_0x406be0(0x28c)]),Object[_0x406be0(0x1bd)](_0x17edab)[_0x406be0(0x1e4)](([_0x42d985,_0x364da5])=>{const _0x1959ac=_0x406be0;typeof _0x364da5==_0x1959ac(0x363)&&(_0x17edab[_0x42d985]=_0x364da5['replace'](/url\(#(.*)\)/,_0x1959ac(0x2cf)+_0x3a25c0[_0x1959ac(0x28c)]+')'));})),_0x17edab;}function _0x95bc90(_0xe6efb2,_0x2d865e){const _0x5dc27c=_0x48ae0f;var _0x3b05a6;const {defIds:_0x14b08c}=_0x2d865e;return!_0x14b08c||_0x14b08c['length']===0x0?_0xe6efb2:_0xe6efb2[_0x5dc27c(0x378)]===_0x5dc27c(0x1c9)&&((_0x3b05a6=_0xe6efb2[_0x5dc27c(0x1f6)])!=null&&_0x3b05a6[_0x5dc27c(0x36a)])?{..._0xe6efb2,'children':_0xe6efb2[_0x5dc27c(0x1f6)][_0x5dc27c(0x20d)](_0x591605=>typeof _0x591605[_0x5dc27c(0x26b)]['id']==_0x5dc27c(0x363)&&_0x14b08c&&_0x14b08c[_0x5dc27c(0x2ef)](_0x591605['attrs']['id'])?{..._0x591605,'attrs':{..._0x591605[_0x5dc27c(0x26b)],'id':_0x591605[_0x5dc27c(0x26b)]['id']+_0x2d865e[_0x5dc27c(0x28c)]}}:_0x591605)}:_0xe6efb2;}function _0x825bc6(){const _0x15ff71=_0x48ae0f;return Math[_0x15ff71(0x275)]()['toString'](0x24)[_0x15ff71(0x1ff)](0x2,0x8);}_0x37e7f6['displayName']='UniverIcon';const _0x41d844={'tag':'svg','attrs':{'xmlns':_0x48ae0f(0x31c),'fill':_0x48ae0f(0x206),'viewBox':_0x48ae0f(0x27f),'width':_0x48ae0f(0x17a),'height':_0x48ae0f(0x17a)},'children':[{'tag':_0x48ae0f(0x326),'attrs':{'fill':'currentColor','d':_0x48ae0f(0x324)}}]},_0x43e018=_0x9faa7f[_0x48ae0f(0x180)](function(_0x56ffe8,_0x10f919){const _0x499d80=_0x48ae0f;return _0x9faa7f[_0x499d80(0x1ec)](_0x37e7f6,Object[_0x499d80(0x22d)]({},_0x56ffe8,{'id':_0x499d80(0x27c),'ref':_0x10f919,'icon':_0x41d844}));});_0x43e018[_0x48ae0f(0x192)]=_0x48ae0f(0x292);const _0x461f78={'tag':_0x48ae0f(0x1dc),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x48ae0f(0x206),'viewBox':_0x48ae0f(0x20e),'width':_0x48ae0f(0x17a),'height':_0x48ae0f(0x17a)},'children':[{'tag':'g','attrs':{'fill':_0x48ae0f(0x1c8),'clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x48ae0f(0x326),'attrs':{'d':_0x48ae0f(0x191)}},{'tag':_0x48ae0f(0x326),'attrs':{'d':_0x48ae0f(0x1fb),'fillRule':_0x48ae0f(0x2c1),'clipRule':'evenodd'}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x48ae0f(0x25c),'attrs':{'id':_0x48ae0f(0x181)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0x48ae0f(0x181)]},_0x55a63a=_0x9faa7f[_0x48ae0f(0x180)](function(_0x408e2d,_0x14afd0){const _0x58e752=_0x48ae0f;return _0x9faa7f[_0x58e752(0x1ec)](_0x37e7f6,Object['assign']({},_0x408e2d,{'id':'restore-icon','ref':_0x14afd0,'icon':_0x461f78}));});_0x55a63a[_0x48ae0f(0x192)]=_0x48ae0f(0x359);const _0x244f6d={'tag':_0x48ae0f(0x1dc),'attrs':{'xmlns':_0x48ae0f(0x31c),'fill':_0x48ae0f(0x206),'viewBox':_0x48ae0f(0x27f),'width':_0x48ae0f(0x17a),'height':_0x48ae0f(0x17a)},'children':[{'tag':_0x48ae0f(0x326),'attrs':{'fill':_0x48ae0f(0x3ad),'d':_0x48ae0f(0x20b),'fillOpacity':0.2,'fillRule':_0x48ae0f(0x2c1),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x48ae0f(0x3ad),'d':_0x48ae0f(0x1c5),'fillRule':_0x48ae0f(0x2c1),'clipRule':_0x48ae0f(0x2c1)}}]},_0x520c22=_0x9faa7f[_0x48ae0f(0x180)](function(_0x12b3e8,_0x456d9e){const _0x2c74ad=_0x48ae0f;return _0x9faa7f[_0x2c74ad(0x1ec)](_0x37e7f6,Object[_0x2c74ad(0x22d)]({},_0x12b3e8,{'id':_0x2c74ad(0x21f),'ref':_0x456d9e,'icon':_0x244f6d}));});_0x520c22[_0x48ae0f(0x192)]='LoadingMultiIcon';function _0x5e16bd(){const _0xfc3d43=_0x48ae0f;var _0x569481;const _0x19ebca=_0x470b41['useDependency'](_0xeb2dec[_0xfc3d43(0x1e8)]),_0x3b924d=_0x470b41['useDependency'](_0x3590ca['LocaleService']),_0x20e1c3=_0x9faa7f[_0xfc3d43(0x348)](()=>{const _0x3a86fa=_0xfc3d43;_0x19ebca[_0x3a86fa(0x1a9)]=_0x86943['Exited'];},[_0x19ebca]),_0x155de5=_0x9faa7f[_0xfc3d43(0x348)](()=>{const _0x5efc7b=_0xfc3d43;_0x19ebca[_0x5efc7b(0x3a9)]();},[_0x19ebca]),_0x234718=_0x470b41[_0xfc3d43(0x371)](_0x19ebca[_0xfc3d43(0x265)]),_0x4d9337=_0x470b41[_0xfc3d43(0x371)](_0x19ebca[_0xfc3d43(0x263)]),_0x99548=_0x234718===((_0x569481=_0x4d9337==null?void 0x0:_0x4d9337[0x0])==null?void 0x0:_0x569481['id']),_0x419b00=_0x234718!==''&&!_0x99548&&_0x19ebca[_0xfc3d43(0x1f4)];return _0x396865[_0xfc3d43(0x1b7)](_0xfc3d43(0x237),{'className':_0x4ec5f1[_0xfc3d43(0x349)](_0xfc3d43(0x25a),_0x4ec5f1[_0xfc3d43(0x30b)]),'children':[_0x396865[_0xfc3d43(0x2e6)]('a',{'className':_0xfc3d43(0x238),'role':'button','onClick':_0x20e1c3,'children':_0x396865[_0xfc3d43(0x2e6)](_0x43e018,{'className':_0xfc3d43(0x390)})}),_0x396865[_0xfc3d43(0x2e6)]('div',{'className':_0xfc3d43(0x334),'children':_0x419b00&&_0x396865[_0xfc3d43(0x2e6)](_0x4ec5f1['Button'],{'variant':_0xfc3d43(0x2a0),'onClick':_0x155de5,'children':_0x3b924d['t'](_0xfc3d43(0x2c2))})})]});}var _0x217361=Object[_0x48ae0f(0x37f)],_0x38dce5=(_0x2c769f,_0x1001fd,_0x4a807d,_0x2ed71a)=>{const _0x8fa58e=_0x48ae0f;for(var _0x18a8b0=_0x2ed71a>0x1?void 0x0:_0x2ed71a?_0x217361(_0x1001fd,_0x4a807d):_0x1001fd,_0xcab4ac=_0x2c769f[_0x8fa58e(0x36a)]-0x1,_0x5695b4;_0xcab4ac>=0x0;_0xcab4ac--)(_0x5695b4=_0x2c769f[_0xcab4ac])&&(_0x18a8b0=_0x5695b4(_0x18a8b0)||_0x18a8b0);return _0x18a8b0;},_0x4a06ce=(_0x4a2b09,_0x1d27da)=>(_0x95621e,_0x359874)=>_0x1d27da(_0x95621e,_0x359874,_0x4a2b09);let _0x14843b=class extends _0x3590ca[_0x48ae0f(0x33d)]{constructor(_0x20fb8b,_0x581e39,_0x1d0faa,_0x33da38,_0x4cd1d6,_0x33aad4){const _0x4efe97=_0x48ae0f;super(),this[_0x4efe97(0x17d)]=_0x20fb8b,this['_uiPartsService']=_0x581e39,this[_0x4efe97(0x387)]=_0x1d0faa,this[_0x4efe97(0x288)]=_0x33da38,this['_historyManagerService']=_0x4cd1d6,this[_0x4efe97(0x23f)]=_0x33aad4,this[_0x4efe97(0x268)]();}['_init'](){const _0x5286ef=_0x48ae0f;this['disposeWithMe'](this[_0x5286ef(0x29d)][_0x5286ef(0x265)]['subscribe'](_0x16a0e9=>{const _0x4f6163=_0x5286ef;_0x16a0e9&&this[_0x4f6163(0x29d)][_0x4f6163(0x308)](_0x16a0e9);})),this[_0x5286ef(0x3c2)](this[_0x5286ef(0x17d)][_0x5286ef(0x36c)][_0x5286ef(0x261)](_0xc0faef=>{const _0x100998=_0x5286ef,_0x25f7a9=this[_0x100998(0x29d)]['unitId'];_0x25f7a9&&(_0xc0faef['subType']===_0x18531f[_0x100998(0x231)]&&_0xc0faef[_0x100998(0x2eb)]===!0x0&&this['_permissionService'][_0x100998(0x3aa)](new _0x1a79e1[(_0x100998(0x379))](_0x25f7a9)['id'],!0x1),_0xc0faef[_0x100998(0x252)]===_0x18531f[_0x100998(0x3bd)]&&_0xc0faef[_0x100998(0x2eb)]===!0x0&&this['_permissionService'][_0x100998(0x3aa)](new _0x1a79e1[(_0x100998(0x209))](_0x25f7a9)['id'],!0x1),_0xc0faef[_0x100998(0x252)]===_0x18531f[_0x100998(0x361)]&&_0xc0faef[_0x100998(0x2eb)]===!0x0&&this[_0x100998(0x17d)][_0x100998(0x3aa)](new _0x1a79e1[(_0x100998(0x279))](_0x25f7a9)['id'],!0x1),_0xc0faef[_0x100998(0x252)]===_0x18531f[_0x100998(0x331)]&&_0xc0faef['value']===!0x0&&this[_0x100998(0x17d)][_0x100998(0x3aa)](new _0x1a79e1['WorkbookHideSheetPermission'](_0x25f7a9)['id'],!0x1),_0xc0faef['subType']===_0x18531f[_0x100998(0x389)]&&_0xc0faef[_0x100998(0x2eb)]===!0x0&&this['_permissionService'][_0x100998(0x3aa)](new _0x1a79e1['WorkbookEditablePermission'](_0x25f7a9)['id'],!0x1),_0xc0faef[_0x100998(0x252)]===_0x18531f[_0x100998(0x236)]&&_0xc0faef[_0x100998(0x2eb)]===!0x0&&this[_0x100998(0x17d)][_0x100998(0x3aa)](new _0x1a79e1[(_0x100998(0x379))](_0x25f7a9)['id'],!0x1));})),this['disposeWithMe'](this[_0x5286ef(0x21b)][_0x5286ef(0x264)](_0x470b41[_0x5286ef(0x1f0)][_0x5286ef(0x213)],()=>_0x470b41[_0x5286ef(0x2c6)](_0x5e16bd,this[_0x5286ef(0x23f)])));let _0x583e56;this[_0x5286ef(0x3c2)](this['_historyManagerService'][_0x5286ef(0x2f8)][_0x5286ef(0x261)](_0x263a55=>{const _0x184996=_0x5286ef;_0x583e56==null||_0x583e56[_0x184996(0x341)](),_0x263a55===_0x2f103c[_0x184996(0x34b)]&&(this[_0x184996(0x29d)][_0x184996(0x1ed)](),_0x583e56=this['_messageService'][_0x184996(0x1c6)]({'type':_0x4ec5f1[_0x184996(0x1b1)]['Info'],'content':this[_0x184996(0x288)]['t'](_0x184996(0x355))})),_0x263a55===_0x2f103c[_0x184996(0x2fc)]&&this[_0x184996(0x29d)][_0x184996(0x2db)]();}));}};_0x14843b=_0x38dce5([_0x4a06ce(0x0,_0x3590ca[_0x48ae0f(0x2cd)]),_0x4a06ce(0x1,_0x470b41[_0x48ae0f(0x227)]),_0x4a06ce(0x2,_0x470b41[_0x48ae0f(0x289)]),_0x4a06ce(0x3,_0x3590ca[_0x48ae0f(0x1fe)](_0x3590ca[_0x48ae0f(0x1ab)])),_0x4a06ce(0x4,_0x3590ca[_0x48ae0f(0x1fe)](_0xeb2dec['HistoryManagerService'])),_0x4a06ce(0x5,_0x3590ca[_0x48ae0f(0x1fe)](_0x3590ca[_0x48ae0f(0x2a9)]))],_0x14843b);var _0x242353=Object['getOwnPropertyDescriptor'],_0x488558=(_0x237aef,_0x697f8a,_0x3533f0,_0x404b54)=>{const _0x563674=_0x48ae0f;for(var _0x459bbf=_0x404b54>0x1?void 0x0:_0x404b54?_0x242353(_0x697f8a,_0x3533f0):_0x697f8a,_0x38aceb=_0x237aef[_0x563674(0x36a)]-0x1,_0x37cf74;_0x38aceb>=0x0;_0x38aceb--)(_0x37cf74=_0x237aef[_0x38aceb])&&(_0x459bbf=_0x37cf74(_0x459bbf)||_0x459bbf);return _0x459bbf;},_0x1f058c=(_0xa929c2,_0x265847)=>(_0xc90088,_0x420bf0)=>_0x265847(_0xc90088,_0x420bf0,_0xa929c2);let _0x2f1d9f=class extends _0x3590ca[_0x48ae0f(0x33d)]{constructor(_0x58e139,_0x5ce04a,_0x107ef9){const _0x9d6a00=_0x48ae0f;super(),_0x4d2713(this,'_diffRangesMap',new Map()),_0x4d2713(this,'_currentVersionDiff$',new _0x4a4c1a[(_0x9d6a00(0x19b))]({'ranges':new Map(),'active':null})),_0x4d2713(this,_0x9d6a00(0x381),this['_currentVersionDiff$'][_0x9d6a00(0x291)]()),(this[_0x9d6a00(0x29d)]=_0x58e139,this[_0x9d6a00(0x1c1)]=_0x5ce04a,this[_0x9d6a00(0x220)]=_0x107ef9,this[_0x9d6a00(0x268)]());}[_0x48ae0f(0x268)](){const _0x48fb60=_0x48ae0f;this[_0x48fb60(0x2ea)]=new Map(),this[_0x48fb60(0x3c2)](this[_0x48fb60(0x29d)]['unitId$'][_0x48fb60(0x261)](_0x5cbfdf=>{const _0x6b1ec0=_0x48fb60;_0x5cbfdf&&!this[_0x6b1ec0(0x2ea)]['has'](_0x5cbfdf)&&this['_diffRangesMap'][_0x6b1ec0(0x269)](_0x5cbfdf,new Map());})),this['disposeWithMe'](this[_0x48fb60(0x29d)][_0x48fb60(0x265)][_0x48fb60(0x261)](async _0x12bd76=>{const _0x327d87=_0x48fb60;var _0x8b620d;_0x12bd76&&(await this[_0x327d87(0x2ed)](_0x12bd76),this['_currentVersionDiff$']['next'](((_0x8b620d=this['_diffRangesMap'][_0x327d87(0x38f)](this[_0x327d87(0x29d)]['unitId']))==null?void 0x0:_0x8b620d[_0x327d87(0x38f)](_0x12bd76))||{'ranges':new Map(),'active':null}));}));}async[_0x48ae0f(0x2ed)](_0x16dce5){const _0x4eea3b=_0x48ae0f;var _0x4ee065,_0x8f9e6;const _0x196e39=this[_0x4eea3b(0x29d)][_0x4eea3b(0x23e)](_0x16dce5),_0xa1e7d5=this[_0x4eea3b(0x29d)]['unitId'];if(!_0x196e39||!_0xa1e7d5)return;const _0x4471e3=this[_0x4eea3b(0x2ea)][_0x4eea3b(0x38f)](_0xa1e7d5);if(_0x4471e3||this['_diffRangesMap']['set'](_0xa1e7d5,new Map()),(_0x4ee065=this[_0x4eea3b(0x2ea)][_0x4eea3b(0x38f)](_0xa1e7d5))!=null&&_0x4ee065['has'](_0x196e39['id']))return;const {startRev:_0x4a5e7d,endRev:_0x33468c}=_0x196e39;if(_0x4a5e7d===0x1){_0x4471e3[_0x4eea3b(0x269)](_0x196e39['id'],{'ranges':new Map(),'active':null});return;}const _0x37e049=_0x4a5e7d-0x1,_0x48c524=_0x33468c,_0x22d350=await this[_0x4eea3b(0x220)][_0x4eea3b(0x3a8)]({},{'unitID':_0xa1e7d5,'from':_0x37e049,'to':_0x48c524,'type':_0x52a6a9[_0x4eea3b(0x3c9)]});if(((_0x8f9e6=_0x22d350[_0x4eea3b(0x248)])==null?void 0x0:_0x8f9e6[_0x4eea3b(0x311)])===_0x24eac8['OK']){const _0x3ec076=_0x22d350[_0x4eea3b(0x325)][_0x4eea3b(0x20d)](_0x3c5c41=>((_0x3c5c41['mutations']===null||_0x3c5c41[_0x4eea3b(0x24b)]===void 0x0)&&(_0x3c5c41[_0x4eea3b(0x24b)]=[]),_0x4e44de[_0x4eea3b(0x276)](_0x3c5c41)))[_0x4eea3b(0x20d)](_0x2055ca=>_0x2055ca[_0x4eea3b(0x24b)]['map'](_0x59dcdc=>({..._0x59dcdc,'params':{..._0x59dcdc[_0x4eea3b(0x2f0)],'memberId':_0x2055ca[_0x4eea3b(0x22b)]}})))[_0x4eea3b(0x183)](),_0x447af5=this[_0x4eea3b(0x305)](_0x3ec076),_0x57b20c=this[_0x4eea3b(0x1bc)](_0x3ec076),_0x58fba9=this['_extractRanges'](_0x447af5);_0x4471e3['set'](_0x196e39['id'],{'ranges':_0x58fba9,'active':_0x57b20c});}}[_0x48ae0f(0x305)](_0x1764a7){const _0x307d89=_0x48ae0f;let _0x1605ff=[];for(let _0x17db07=0x0;_0x17db07<_0x1764a7[_0x307d89(0x36a)];_0x17db07++){const _0x34fcdf=_0x1764a7[_0x17db07];if(_0x1605ff[_0x307d89(0x3c3)](_0x34fcdf),_0x17db07!==_0x1764a7[_0x307d89(0x36a)]-0x1){const _0xfde8b6=_0x1764a7[_0x17db07+0x1],_0x184036=this[_0x307d89(0x1c1)][_0x307d89(0x230)](_0x1605ff,[_0xfde8b6]);_0x4e44de[_0x307d89(0x1ae)](_0x184036)?_0x1605ff=_0x184036['m1Prime']:_0x1605ff=[];}}return _0x1605ff;}[_0x48ae0f(0x1bc)](_0xadfe69){const _0x2b479d=_0x48ae0f;let _0xdb5152=[];return _0xadfe69['forEach'](_0x23a9e8=>{const _0x1ca401=_0x4bef;if(_0x23a9e8['id']===_0x1a79e1['InsertSheetMutation']['id']){const _0x444fe2=_0x23a9e8[_0x1ca401(0x2f0)];_0xdb5152[_0x1ca401(0x3c3)](_0x444fe2[_0x1ca401(0x25b)]['id']);}else{if(_0x23a9e8['id']===_0x1a79e1['RemoveSheetMutation']['id']){const _0xeb3ac3=_0x23a9e8[_0x1ca401(0x2f0)];_0xdb5152[_0x1ca401(0x36a)]>0x0&&(_0xdb5152=_0xdb5152[_0x1ca401(0x190)](_0x57b14f=>_0x57b14f!==_0xeb3ac3[_0x1ca401(0x26f)]));}else{if(_0x23a9e8['id']===_0x1a79e1[_0x1ca401(0x3cb)]['id']){const _0x25496b=_0x23a9e8['params'];_0x25496b[_0x1ca401(0x297)]?_0xdb5152=_0xdb5152[_0x1ca401(0x190)](_0x1a1eb9=>_0x1a1eb9!==_0x25496b[_0x1ca401(0x26f)]):_0xdb5152[_0x1ca401(0x3c3)](_0x25496b[_0x1ca401(0x26f)]);}else{const _0x1fa205=_0x23a9e8[_0x1ca401(0x2f0)];_0x1fa205['subUnitId']&&_0xdb5152[_0x1ca401(0x3c3)](_0x1fa205[_0x1ca401(0x26f)]);}}}}),_0xdb5152[_0x2b479d(0x36a)]>0x0?_0xdb5152[_0xdb5152['length']-0x1]:null;}['_extractRanges'](_0x4c68eb){const _0x518df5=_0x48ae0f,_0x1203e6=new Map();return _0x4c68eb[_0x518df5(0x1e4)](_0x2169be=>{const _0x5a6e6a=_0x518df5;var _0x2da5e2,_0x11a900;const _0x2ad82c=(_0x2da5e2=_0x2169be[_0x5a6e6a(0x2f0)])==null?void 0x0:_0x2da5e2[_0x5a6e6a(0x3d0)];if(_0x2ad82c){_0x1203e6['has'](_0x2ad82c)||_0x1203e6[_0x5a6e6a(0x269)](_0x2ad82c,[]);const _0x310a0c=this[_0x5a6e6a(0x258)](_0x2169be);(_0x11a900=_0x1203e6['get'](_0x2ad82c))==null||_0x11a900[_0x5a6e6a(0x3c3)](..._0x310a0c);}}),_0x1203e6['forEach']((_0x2046ef,_0x493c7c)=>{const _0x3e397d=_0x518df5;_0x1203e6[_0x3e397d(0x269)](_0x493c7c,this['_combineRanges'](_0x2046ef));}),_0x1203e6;}[_0x48ae0f(0x258)](_0x5ed3dc){const _0x432fd9=_0x48ae0f;switch(_0x5ed3dc['id']){case _0x1a79e1['AddRangeProtectionMutation']['id']:{const _0x2a19b7=_0x5ed3dc[_0x432fd9(0x2f0)];return _0x2a19b7['rules'][_0x432fd9(0x20d)](_0x1659a6=>_0x1659a6[_0x432fd9(0x340)][_0x432fd9(0x20d)](_0xd0bc19=>({'range':_0xd0bc19,'unitId':_0x2a19b7[_0x432fd9(0x22f)],'subUnitId':_0x2a19b7[_0x432fd9(0x26f)]})))['flat']();}case _0x1a79e1[_0x432fd9(0x2fa)]['id']:{const _0x1a3648=_0x5ed3dc[_0x432fd9(0x2f0)];return _0x1a3648[_0x432fd9(0x340)][_0x432fd9(0x20d)](_0x46cccf=>({'range':_0x46cccf,'unitId':_0x1a3648[_0x432fd9(0x22f)],'subUnitId':_0x1a3648[_0x432fd9(0x26f)]}));}case _0x1a79e1[_0x432fd9(0x285)]['id']:{const _0x909560=_0x5ed3dc[_0x432fd9(0x2f0)];return[{'range':_0x909560[_0x432fd9(0x26e)],'unitId':_0x909560[_0x432fd9(0x22f)],'subUnitId':_0x909560[_0x432fd9(0x26f)]}];}case _0x1a79e1[_0x432fd9(0x1ce)]['id']:{const _0x52e0ec=_0x5ed3dc['params'];return[{'range':_0x52e0ec['range'],'unitId':_0x52e0ec[_0x432fd9(0x22f)],'subUnitId':_0x52e0ec[_0x432fd9(0x26f)]}];}case _0x1a79e1['MoveRangeMutation']['id']:{const _0x42e06b=_0x5ed3dc[_0x432fd9(0x2f0)],{from:_0x346c2a,to:_0x38deef,unitId:_0x41f6f4}=_0x42e06b;return[{'range':_0x46187b(_0x346c2a[_0x432fd9(0x2eb)]),'unitId':_0x41f6f4,'subUnitId':_0x346c2a[_0x432fd9(0x26f)]},{'range':_0x46187b(_0x38deef['value']),'unitId':_0x41f6f4,'subUnitId':_0x38deef[_0x432fd9(0x26f)]}];}case _0x1a79e1['MoveRowsMutation']['id']:{const _0x191ab0=_0x5ed3dc['params'],{unitId:_0xe3019f,subUnitId:_0x1c8465,sourceRange:_0x378645,targetRange:_0x40e820}=_0x191ab0,_0x411e33=_0x378645[_0x432fd9(0x31a)]-_0x378645['startRow']+0x1;return[{'range':_0x40e820['startRow']<=_0x378645[_0x432fd9(0x224)]?_0x40e820:{..._0x40e820,'startRow':_0x40e820[_0x432fd9(0x224)]-_0x411e33,'endRow':_0x40e820['endRow']-_0x411e33},'unitId':_0xe3019f,'subUnitId':_0x1c8465}];}case _0x1a79e1['MoveColsMutation']['id']:{const _0x2a4474=_0x5ed3dc['params'],{unitId:_0x59e8c0,subUnitId:_0x6df6c,sourceRange:_0x2d3079,targetRange:_0x3424b8}=_0x2a4474,_0x253efa=_0x2d3079[_0x432fd9(0x33c)]-_0x2d3079[_0x432fd9(0x244)]+0x1;return[{'range':_0x3424b8[_0x432fd9(0x244)]<=_0x2d3079['startColumn']?_0x3424b8:{..._0x3424b8,'startColumn':_0x3424b8[_0x432fd9(0x244)]-_0x253efa,'endColumn':_0x3424b8[_0x432fd9(0x33c)]-_0x253efa},'unitId':_0x59e8c0,'subUnitId':_0x6df6c}];}case _0x1a79e1[_0x432fd9(0x31b)]['id']:{const _0x599e13=_0x5ed3dc['params'],{values:_0x1be841,unitId:_0x15774a,subUnitId:_0x1c075a}=_0x599e13;return Object[_0x432fd9(0x21a)](_0x1be841)[_0x432fd9(0x20d)](_0xc941b0=>_0xc941b0['ranges'][_0x432fd9(0x20d)](_0x86026b=>({'range':_0x86026b,'unitId':_0x15774a,'subUnitId':_0x1c075a})))[_0x432fd9(0x183)]();}case _0x1a79e1[_0x432fd9(0x2ee)]['id']:{const _0x3e42bf=_0x5ed3dc[_0x432fd9(0x2f0)],{ranges:_0x38029e,unitId:_0x273417,subUnitId:_0x275155}=_0x3e42bf;return _0x38029e[_0x432fd9(0x20d)](_0x3f95df=>({'range':_0x3f95df,'unitId':_0x273417,'subUnitId':_0x275155}));}case _0x1a79e1[_0x432fd9(0x18e)]['id']:{const _0x3a00ff=_0x5ed3dc[_0x432fd9(0x2f0)],{unitId:_0xcd8471,subUnitId:_0x1e34a0,range:_0x24eaaa}=_0x3a00ff;return[{'range':_0x24eaaa,'unitId':_0xcd8471,'subUnitId':_0x1e34a0}];}case _0x1a79e1[_0x432fd9(0x2b1)]['id']:{const _0x2ee4f1=_0x5ed3dc['params'];return _0x2ee4f1[_0x432fd9(0x20f)]['ranges'][_0x432fd9(0x20d)](_0x8241fe=>({'range':_0x8241fe,'unitId':_0x2ee4f1['unitId'],'subUnitId':_0x2ee4f1[_0x432fd9(0x26f)]}));}case _0x1a79e1[_0x432fd9(0x1fc)]['id']:{const _0x1e0f11=_0x5ed3dc['params'];return _0x1e0f11['cellValue']?_0x59efd5(_0x1e0f11[_0x432fd9(0x273)])[_0x432fd9(0x20d)](_0x202e23=>({'range':_0x202e23,'unitId':_0x1e0f11['unitId'],'subUnitId':_0x1e0f11[_0x432fd9(0x26f)]})):[];}case _0x34304a[_0x432fd9(0x2f9)]['id']:{const _0x16d8e4=_0x5ed3dc[_0x432fd9(0x2f0)];return[{'range':_0x16d8e4[_0x432fd9(0x26e)],'unitId':_0x16d8e4['unitId'],'subUnitId':_0x16d8e4[_0x432fd9(0x26f)]}];}case _0x2d098f[_0x432fd9(0x2d1)]['id']:{const _0x458930=_0x5ed3dc[_0x432fd9(0x2f0)];return(Array[_0x432fd9(0x368)](_0x458930[_0x432fd9(0x20f)])?_0x458930[_0x432fd9(0x20f)]:[_0x458930['rule']])[_0x432fd9(0x20d)](_0x47ad01=>_0x47ad01['ranges']['map'](_0x36fadd=>({'range':_0x36fadd,'unitId':_0x458930['unitId'],'subUnitId':_0x458930['subUnitId']})))[_0x432fd9(0x183)]();}case _0x2ddfe7[_0x432fd9(0x24e)]['id']:{const _0x539768=_0x5ed3dc[_0x432fd9(0x2f0)];return _0x539768[_0x432fd9(0x20f)]['ranges']['map'](_0x4293af=>({'range':_0x4293af,'unitId':_0x539768['unitId'],'subUnitId':_0x539768[_0x432fd9(0x26f)]}));}default:return[];}}[_0x48ae0f(0x29e)](_0x403fa5){const _0x12b251=_0x48ae0f;if(_0x403fa5['length']<=0x1)return _0x403fa5;const _0xa4c020=new Map();return _0x403fa5[_0x12b251(0x1e4)](_0xe0bf56=>{const _0xb39076=_0x12b251;var _0x48c5bd;const {unitId:_0x191629,subUnitId:_0x405afd}=_0xe0bf56,_0x8df1d9=_0x191629+'-'+_0x405afd;_0xa4c020['has'](_0x8df1d9)?(_0x48c5bd=_0xa4c020[_0xb39076(0x38f)](_0x8df1d9))==null||_0x48c5bd[_0xb39076(0x3c3)](_0xe0bf56):_0xa4c020['set'](_0x8df1d9,[_0xe0bf56]);}),Array['from'](_0xa4c020[_0x12b251(0x21a)]())['map'](_0x4108d5=>new _0x1a79e1[(_0x12b251(0x2d0))]()['add'](..._0x4108d5[_0x12b251(0x20d)](_0x35008e=>_0x35008e['range']))['merge']()['map'](_0x553aea=>({'range':_0x553aea,'unitId':_0x4108d5[0x0]['unitId'],'subUnitId':_0x4108d5[0x0][_0x12b251(0x26f)]})))[_0x12b251(0x183)]();}};_0x2f1d9f=_0x488558([_0x1f058c(0x0,_0x3590ca['Inject'](_0xeb2dec[_0x48ae0f(0x1e8)])),_0x1f058c(0x1,_0x4e44de['ITransformService']),_0x1f058c(0x2,_0x4e44de[_0x48ae0f(0x309)])],_0x2f1d9f);function _0x46187b(_0x2af202){const _0x4aa25b=_0x48ae0f;return new _0x3590ca[(_0x4aa25b(0x18c))](_0x2af202)[_0x4aa25b(0x2fb)]();}function _0x59efd5(_0x25a00f){const _0x4f76b5=_0x48ae0f,_0x546bac=new _0x3590ca['ObjectMatrix'](_0x25a00f),_0x1c8896=new _0x3590ca[(_0x4f76b5(0x18c))]();return _0x546bac[_0x4f76b5(0x2f6)]((_0x415a5f,_0x3cf74e)=>{const _0x496c5c=_0x4f76b5;_0x1c8896[_0x496c5c(0x3a4)](_0x415a5f,_0x3cf74e,0x1);}),_0x1a79e1['findAllRectangle'](_0x1c8896);}var _0x2d7912=Object[_0x48ae0f(0x37f)],_0x2ff196=(_0xa0afa6,_0x2f9e2b,_0x1a2400,_0x309708)=>{const _0x158605=_0x48ae0f;for(var _0x48d686=_0x309708>0x1?void 0x0:_0x309708?_0x2d7912(_0x2f9e2b,_0x1a2400):_0x2f9e2b,_0x46ee94=_0xa0afa6[_0x158605(0x36a)]-0x1,_0x5d1ec7;_0x46ee94>=0x0;_0x46ee94--)(_0x5d1ec7=_0xa0afa6[_0x46ee94])&&(_0x48d686=_0x5d1ec7(_0x48d686)||_0x48d686);return _0x48d686;},_0x5ed50b=(_0x52eb94,_0x242bcf)=>(_0x378c55,_0xf55cc1)=>_0x242bcf(_0x378c55,_0xf55cc1,_0x52eb94);let _0x2d092d=class extends _0x3590ca['Disposable']{constructor(_0x34f0ea,_0x2cde5d,_0x2809b0,_0x4bbeba,_0x21dbce,_0xdcb64d,_0x4957b6){const _0x2c878c=_0x48ae0f;super(),_0x4d2713(this,_0x2c878c(0x27b),new Set()),_0x4d2713(this,_0x2c878c(0x3cd),null),(this['_context']=_0x34f0ea,this[_0x2c878c(0x29d)]=_0x2cde5d,this[_0x2c878c(0x1cb)]=_0x2809b0,this[_0x2c878c(0x2ce)]=_0x4bbeba,this[_0x2c878c(0x193)]=_0x21dbce,this[_0x2c878c(0x232)]=_0xdcb64d,this[_0x2c878c(0x19e)]=_0x4957b6,this[_0x2c878c(0x268)]());}['_init'](){const _0x36bac1=_0x48ae0f;this[_0x36bac1(0x19f)](),this[_0x36bac1(0x2e4)]();}[_0x48ae0f(0x19f)](){const _0x56b111=_0x48ae0f;this[_0x56b111(0x3c2)](_0x4a4c1a[_0x56b111(0x253)]([this[_0x56b111(0x29d)][_0x56b111(0x2f8)],this['_sheetSkeletonManagerService'][_0x56b111(0x2ad)]])[_0x56b111(0x39d)](_0x4a4c1a['switchMap'](([_0x94210a,_0x3495b5])=>{const _0x19f8b3=_0x56b111;if(_0x94210a===_0x2f103c[_0x19f8b3(0x2fc)]&&_0x3495b5){const _0x4e28fc=_0x3495b5['sheetId'];return this[_0x19f8b3(0x1cb)]['currentVersionDiff$'][_0x19f8b3(0x39d)](_0x4a4c1a[_0x19f8b3(0x20d)](_0x48901f=>{const _0x2784ad=_0x19f8b3,_0x583fc5=new Map();return _0x48901f[_0x2784ad(0x340)][_0x2784ad(0x1e4)]((_0x595639,_0x5595b6)=>{const _0x158fe9=_0x2784ad,_0x147843=_0x595639[_0x158fe9(0x190)](_0x5a85f9=>_0x5a85f9[_0x158fe9(0x26f)]===_0x4e28fc);_0x583fc5[_0x158fe9(0x269)](_0x5595b6,_0x147843);}),{'skeleton':_0x3495b5,'diffs':_0x583fc5};}));}return _0x4a4c1a['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x5d75d8,diffs:_0x1dfbd5})=>{const _0x24c1d6=_0x56b111;this['_removeDiffMarks'](),_0x5d75d8&&this[_0x24c1d6(0x20c)](_0x5d75d8,_0x1dfbd5);})),this[_0x56b111(0x3c2)](this[_0x56b111(0x232)][_0x56b111(0x2ad)][_0x56b111(0x261)](_0x5ee668=>{const _0x49500f=_0x56b111;if(_0x5ee668==null)return;const {skeleton:_0x13f1e0}=_0x5ee668,{scene:_0x15f31}=this[_0x49500f(0x1eb)];_0x15f31[_0x49500f(0x228)]['subscribeEvent'](_0x3590ca[_0x49500f(0x399)](_0x99de77=>{const _0x2ce6f1=_0x49500f;var _0x5b3d30,_0x4783f0;const {offsetX:_0xb71eee,offsetY:_0x2e1ebf}=_0x99de77,{x:_0x8d69e2,y:_0x3b8f78}=_0x15f31['getRelativeToViewportCoord'](_0x1d067f[_0x2ce6f1(0x32f)][_0x2ce6f1(0x280)]([_0xb71eee,_0x2e1ebf])),{scaleX:_0x2d84bf,scaleY:_0x2dd4fa}=_0x15f31[_0x2ce6f1(0x37c)](),_0x4334bf=_0x15f31[_0x2ce6f1(0x2f1)](_0x1d067f[_0x2ce6f1(0x1ba)][_0x2ce6f1(0x3b6)]),_0x3de925=_0x15f31[_0x2ce6f1(0x233)](_0x1d067f[_0x2ce6f1(0x32f)][_0x2ce6f1(0x280)]([_0x8d69e2,_0x3b8f78]),_0x4334bf),_0x35b4ae=_0x13f1e0[_0x2ce6f1(0x31e)](_0xb71eee,_0x2e1ebf,_0x2d84bf,_0x2dd4fa,_0x3de925);((_0x5b3d30=this[_0x2ce6f1(0x3cd)])==null?void 0x0:_0x5b3d30[_0x2ce6f1(0x302)])===_0x35b4ae[_0x2ce6f1(0x302)]&&((_0x4783f0=this[_0x2ce6f1(0x3cd)])==null?void 0x0:_0x4783f0['row'])===_0x35b4ae[_0x2ce6f1(0x1a5)]||this['_diffs'][_0x2ce6f1(0x1e4)](_0x3bfb4d=>{const _0x5be887=_0x2ce6f1;_0x3bfb4d[_0x5be887(0x1c0)](_0x35b4ae);});},0x64));}));}[_0x48ae0f(0x2e4)](){const _0x40805b=_0x48ae0f;this[_0x40805b(0x3c2)](this[_0x40805b(0x29d)][_0x40805b(0x2f8)][_0x40805b(0x261)](_0x3b66ee=>{const _0x5015ce=_0x40805b,_0xf8b8d9=new _0x3590ca[(_0x5015ce(0x1a1))]();return _0x3b66ee===_0x2f103c[_0x5015ce(0x2fc)]&&(_0xf8b8d9[_0x5015ce(0x341)](),_0xf8b8d9[_0x5015ce(0x34a)](this['_versionDiffService']['currentVersionDiff$'][_0x5015ce(0x261)](_0x531d71=>{const _0x239586=_0x5015ce;_0x531d71['active']&&this[_0x239586(0x19e)][_0x239586(0x1b9)](_0x1a79e1['SetWorksheetActiveOperation']['id'],{'unitId':this[_0x239586(0x1eb)][_0x239586(0x22f)],'subUnitId':_0x531d71[_0x239586(0x2ec)]});}))),()=>_0xf8b8d9['dispose']();}));}[_0x48ae0f(0x20c)](_0x30a18a,_0x4c78f0){const _0x51a041=_0x48ae0f;var _0x17af13;const _0x24be34=(_0x17af13=this[_0x51a041(0x232)][_0x51a041(0x321)]())==null?void 0x0:_0x17af13[_0x51a041(0x3be)];if(!_0x24be34)return;this['_diffs'][_0x51a041(0x1e4)](_0x3cff83=>{const _0x3e9be3=_0x51a041;_0x3cff83[_0x3e9be3(0x383)]();});const {scene:_0x471cda}=this[_0x51a041(0x1eb)],_0x2d51e8=Array[_0x51a041(0x1d0)](_0x4c78f0[_0x51a041(0x19c)]())[_0x51a041(0x20d)](_0x332563=>_0x4c78f0[_0x51a041(0x38f)](_0x332563)['map'](_0x3bb852=>{const _0x341157=_0x51a041;var _0x416f76;const {range:_0x1e23cc,subUnitId:_0x3eae3f,unitId:_0x16d5f3}=_0x3bb852,{startColumn:_0x2b6ffe,startRow:_0x3c5601,endColumn:_0xe6a67b,endRow:_0x39c8e3}=_0x1e23cc,_0x348beb=_0x4c8a87[_0x341157(0x31d)](_0x3c5601,_0x2b6ffe,_0x471cda,_0x24be34),_0x2d03fd=_0x4c8a87['getCoordByCell'](_0x39c8e3,_0xe6a67b,_0x471cda,_0x24be34),{columnHeaderHeightAndMarginTop:_0x2cf067}=_0x24be34,{startX:_0x540022,startY:_0x3260a4}=_0x348beb,{endX:_0x1c29a5,endY:_0x2d3c8a}=_0x2d03fd,_0x46d9a9=_0x1c29a5-_0x540022,_0x598555=_0x2d3c8a-_0x3260a4,_0x5486fa={'labelPosition':_0x3260a4-_0x2cf067>=0x14?_0x341157(0x2d7):'bottom','sheetID':_0x3eae3f,'range':_0x1e23cc,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x416f76=this[_0x341157(0x29d)][_0x341157(0x300)](_0x332563))==null?void 0x0:_0x416f76['name'])||'','selection':_0x16d5f3+'-'+_0x3eae3f+'-'+_0x1e23cc[_0x341157(0x244)]+'-'+_0x1e23cc[_0x341157(0x224)]+'-'+_0x1e23cc[_0x341157(0x33c)]+'-'+_0x1e23cc[_0x341157(0x31a)],'left':_0x540022,'top':_0x3260a4,'width':_0x46d9a9,'height':_0x598555,'evented':!0x1,'zIndex':0x1};return new _0x324e85['SheetCollabCursorShape']('',_0x5486fa);}))[_0x51a041(0x183)]();_0x471cda[_0x51a041(0x3a0)](_0x2d51e8,0x1),this[_0x51a041(0x27b)]=new Set(_0x2d51e8);}[_0x48ae0f(0x376)](){const _0x12aac5=_0x48ae0f;var _0x197eba;(_0x197eba=this[_0x12aac5(0x27b)])==null||_0x197eba[_0x12aac5(0x1e4)](_0x40663e=>_0x40663e[_0x12aac5(0x341)]());}[_0x48ae0f(0x336)](){const _0x49a22d=_0x48ae0f;return _0x4c8a87[_0x49a22d(0x28f)](this['_univerInstanceService'],this['_renderManagerService']);}};_0x2d092d=_0x2ff196([_0x5ed50b(0x1,_0x3590ca['Inject'](_0xeb2dec[_0x48ae0f(0x1e8)])),_0x5ed50b(0x2,_0x3590ca[_0x48ae0f(0x1fe)](_0x2f1d9f)),_0x5ed50b(0x3,_0x3590ca[_0x48ae0f(0x249)]),_0x5ed50b(0x4,_0x1d067f[_0x48ae0f(0x344)]),_0x5ed50b(0x5,_0x3590ca[_0x48ae0f(0x1fe)](_0x4c8a87['SheetSkeletonManagerService'])),_0x5ed50b(0x6,_0x3590ca[_0x48ae0f(0x329)])],_0x2d092d);function _0x3328c6(){const _0x139340=_0x48ae0f,_0x1c2bac=_0x470b41['useDependency'](_0xeb2dec[_0x139340(0x1e8)]),_0x3f4604=_0x470b41[_0x139340(0x371)](_0x1c2bac[_0x139340(0x263)]),[_0x1fc224,_0x7fe77d]=_0x9faa7f[_0x139340(0x1c4)](!0x1),_0x206b47=_0x5a183d(_0x3f4604);return _0x3f4604?_0x396865[_0x139340(0x2e6)](_0x139340(0x237),{'className':_0x139340(0x257),'children':_0x396865['jsxs'](_0x139340(0x237),{'className':_0x139340(0x312),'children':[_0x206b47[_0x139340(0x20d)]((_0x20fdee,_0x1a43f7)=>_0x396865['jsxs'](_0x9faa7f[_0x139340(0x1f5)],{'children':[_0x396865[_0x139340(0x2e6)](_0x116f6d,{'date':_0x20fdee[_0x139340(0x3c6)]}),_0x20fdee[_0x139340(0x282)][_0x139340(0x20d)]((_0x151488,_0x59158e)=>_0x396865[_0x139340(0x2e6)](_0x32a630,{'index':[_0x1a43f7,_0x59158e],'item':_0x151488},_0x1a43f7+'-'+_0x59158e))]},_0x20fdee[_0x139340(0x3c6)])),_0x1fc224&&_0x396865[_0x139340(0x2e6)](_0x588817,{})]})}):_0x396865[_0x139340(0x2e6)](_0x455b3d,{});}function _0x588817(){const _0x3fd9c8=_0x48ae0f;return _0x396865['jsx'](_0x3fd9c8(0x237),{'className':_0x3fd9c8(0x271),'children':_0x396865['jsx'](_0x520c22,{'className':_0x3fd9c8(0x23a)})});}function _0x455b3d(){const _0x2f5ee8=_0x48ae0f;return _0x396865[_0x2f5ee8(0x2e6)](_0x2f5ee8(0x237),{'className':_0x2f5ee8(0x197),'children':_0x396865['jsx'](_0x2f5ee8(0x25d),{'className':_0x2f5ee8(0x2f7),'children':_0x396865[_0x2f5ee8(0x2e6)](_0x520c22,{'className':_0x2f5ee8(0x221)})})});}function _0x116f6d(_0x12314e){const _0x55f600=_0x48ae0f,_0x25e597=_0x470b41[_0x55f600(0x211)](_0x3590ca[_0x55f600(0x1ab)]),{date:_0x3ba562}=_0x12314e;return _0x396865[_0x55f600(0x2e6)]('div',{'className':_0x55f600(0x3a5),'children':_0x18b421(_0x3ba562,_0x25e597[_0x55f600(0x33b)]())});}function _0x32a630(_0x5c4259){const _0x59a545=_0x48ae0f,{item:_0x55b2b6,index:_0x5b8567}=_0x5c4259,{time:_0x31bfc1,user:_0x4b5cdf}=_0x55b2b6,[_0x41875f,_0x41cc6b]=_0x5b8567,_0x570365=_0x470b41[_0x59a545(0x211)](_0xeb2dec[_0x59a545(0x1e8)]),_0x389589=_0x470b41[_0x59a545(0x371)](_0x570365[_0x59a545(0x265)],'',!0x0)===_0x55b2b6['id'],_0x5e3310=_0x41875f===0x0&&_0x41cc6b===0x0,_0x23b542=!_0x5e3310&&_0x570365[_0x59a545(0x1f4)],_0x382d07=_0x470b41[_0x59a545(0x211)](_0x3590ca[_0x59a545(0x1ab)]),_0x689a6a=_0x382d07[_0x59a545(0x33b)](),_0xacdb7e=_0x1abd6f(_0x31bfc1,_0x689a6a),_0x588ee8=_0x382d07['t'](_0x59a545(0x1d2)),_0x1e5ebe=_0x9faa7f['useCallback'](_0x5792e3=>{const _0x32a9e5=_0x59a545;_0x570365[_0x32a9e5(0x1f2)]!==_0x2f103c[_0x32a9e5(0x34b)]&&(_0x570365[_0x32a9e5(0x24c)]=_0x5792e3);},[_0x570365]),_0x34d2a0=_0x9faa7f['useCallback'](_0x53d8bb=>{const _0x3b798e=_0x59a545;_0x570365[_0x3b798e(0x3a9)](_0x53d8bb);},[_0x570365]);return _0x396865[_0x59a545(0x1b7)](_0x59a545(0x237),{'className':_0x4ec5f1[_0x59a545(0x349)](_0x59a545(0x1a7),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x389589}),'onClick':()=>_0x1e5ebe(_0x55b2b6['id']),'children':[_0x396865[_0x59a545(0x1b7)]('div',{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x396865[_0x59a545(0x1b7)](_0x59a545(0x237),{'className':_0x59a545(0x352),'children':[_0x396865['jsx'](_0x59a545(0x25d),{'children':_0xacdb7e['time']}),_0x5e3310&&_0x396865[_0x59a545(0x2e6)](_0x59a545(0x25d),{'className':_0x59a545(0x314),'children':_0x588ee8})]}),_0x396865[_0x59a545(0x2e6)](_0x59a545(0x237),{'children':_0x23b542&&_0x396865[_0x59a545(0x2e6)](_0x4ec5f1[_0x59a545(0x1d7)],{'title':_0x382d07['t'](_0x59a545(0x1a8)),'children':_0x396865[_0x59a545(0x2e6)](_0x59a545(0x237),{'onClick':_0x21a304=>{_0x21a304['stopPropagation'](),_0x34d2a0(_0x55b2b6['id']);},'className':'univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','children':_0x396865[_0x59a545(0x2e6)](_0x55a63a,{})})})})]}),_0x396865[_0x59a545(0x2e6)](_0x59a545(0x237),{'className':_0x59a545(0x1db),'children':_0xdef31d(_0x55b2b6,_0x382d07)})]});}var _0x5a5775=Object['getOwnPropertyDescriptor'],_0x35caa9=(_0x42fba6,_0x473dfa,_0x4eb0e1,_0x24ff8a)=>{const _0x57c536=_0x48ae0f;for(var _0x5ada59=_0x24ff8a>0x1?void 0x0:_0x24ff8a?_0x5a5775(_0x473dfa,_0x4eb0e1):_0x473dfa,_0x5d3d35=_0x42fba6[_0x57c536(0x36a)]-0x1,_0x52f092;_0x5d3d35>=0x0;_0x5d3d35--)(_0x52f092=_0x42fba6[_0x5d3d35])&&(_0x5ada59=_0x52f092(_0x5ada59)||_0x5ada59);return _0x5ada59;},_0xcdfeb9=(_0x9ca522,_0x2c519f)=>(_0x1a9f0a,_0x3811fa)=>_0x2c519f(_0x1a9f0a,_0x3811fa,_0x9ca522);const _0xdc42a0=_0x48ae0f(0x2a2);let _0x2d05ab=class extends _0x3590ca[_0x48ae0f(0x33d)]{constructor(_0x5e989c,_0x23e8a8,_0xc273a7,_0x2cf935,_0x140d36){const _0x575c31=_0x48ae0f;super(),_0x4d2713(this,'_sidebarDisposable',null),(this[_0x575c31(0x3b5)]=_0x5e989c,this[_0x575c31(0x1e5)]=_0x23e8a8,this['_localeService']=_0xc273a7,this[_0x575c31(0x29d)]=_0x2cf935,this[_0x575c31(0x2e7)]=_0x140d36,this[_0x575c31(0x268)]());}[_0x48ae0f(0x268)](){const _0x218b37=_0x48ae0f;this[_0x218b37(0x198)](),this['_openPanel']();}['_openPanel'](){const _0x26b622=_0x48ae0f;var _0x4b0a6c;if(this[_0x26b622(0x2d9)])return;const _0x11fbd6=((_0x4b0a6c=this[_0x26b622(0x2e7)][_0x26b622(0x1e7)](_0x39482c))==null?void 0x0:_0x4b0a6c[_0x26b622(0x2f2)])||_0xdc42a0,_0x99b197={'header':{'title':this[_0x26b622(0x288)]['t'](_0x26b622(0x364))},'children':{'label':_0x11fbd6},'onClose':()=>{const _0x3c6a9a=_0x26b622;this[_0x3c6a9a(0x2d9)]=null,this[_0x3c6a9a(0x29d)][_0x3c6a9a(0x1a9)]=_0x86943['Exited'];}};this[_0x26b622(0x2d9)]=this[_0x26b622(0x3b5)][_0x26b622(0x284)]({..._0x99b197});}['_initPanel'](){const _0x3b82ef=_0x48ae0f;this['disposeWithMe'](this[_0x3b82ef(0x1e5)][_0x3b82ef(0x1a2)](_0xdc42a0,_0x3328c6)),this[_0x3b82ef(0x3c2)](this[_0x3b82ef(0x3b5)][_0x3b82ef(0x2aa)]['pipe'](_0x4a4c1a[_0x3b82ef(0x2df)](0x64))[_0x3b82ef(0x261)](_0xa813a=>{const _0x29a4a3=_0x3b82ef,{target:_0x20d705}=_0xa813a||{};if(_0x20d705){const {scrollTop:_0x9f1e7d,scrollHeight:_0x3b41ae,clientHeight:_0x270f9d}=_0x20d705;_0x9f1e7d+_0x270f9d>=_0x3b41ae-0x5&&this['_historyManagerService'][_0x29a4a3(0x317)]();}}));}};_0x2d05ab=_0x35caa9([_0xcdfeb9(0x0,_0x470b41[_0x48ae0f(0x2a6)]),_0xcdfeb9(0x1,_0x3590ca['Inject'](_0x470b41[_0x48ae0f(0x328)])),_0xcdfeb9(0x2,_0x3590ca[_0x48ae0f(0x1fe)](_0x3590ca[_0x48ae0f(0x1ab)])),_0xcdfeb9(0x3,_0x3590ca['Inject'](_0xeb2dec[_0x48ae0f(0x1e8)])),_0xcdfeb9(0x4,_0x3590ca['IConfigService'])],_0x2d05ab);class _0x5d5cd5 extends _0x3590ca[_0x48ae0f(0x33d)]{constructor(){const _0x3509a7=_0x48ae0f;super(),_0x4d2713(this,_0x3509a7(0x1ea),new _0x4a4c1a['Subject']());}[_0x48ae0f(0x284)](){return _0x3590ca['toDisposable'](()=>{});}[_0x48ae0f(0x374)](){}[_0x48ae0f(0x1ad)](_0x29fa49){}[_0x48ae0f(0x365)](){const _0x47a460=_0x48ae0f;return this[_0x47a460(0x1ea)][_0x47a460(0x291)]();}}var _0x2998f9=Object['defineProperty'],_0x48b6e8=Object['getOwnPropertyDescriptor'],_0x2a1ff6=(_0x3eeb1e,_0x29e5b6,_0x2dcfd0)=>_0x29e5b6 in _0x3eeb1e?_0x2998f9(_0x3eeb1e,_0x29e5b6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2dcfd0}):_0x3eeb1e[_0x29e5b6]=_0x2dcfd0,_0x506995=(_0x45a0e6,_0x16a64e,_0x20e8e6,_0x197c91)=>{const _0x89e401=_0x48ae0f;for(var _0x5cdcd7=_0x197c91>0x1?void 0x0:_0x197c91?_0x48b6e8(_0x16a64e,_0x20e8e6):_0x16a64e,_0x405341=_0x45a0e6[_0x89e401(0x36a)]-0x1,_0x40964c;_0x405341>=0x0;_0x405341--)(_0x40964c=_0x45a0e6[_0x405341])&&(_0x5cdcd7=_0x40964c(_0x5cdcd7)||_0x5cdcd7);return _0x5cdcd7;},_0x4e8ad4=(_0x3b0dec,_0x39e2aa)=>(_0x3ab5a6,_0x2f326f)=>_0x39e2aa(_0x3ab5a6,_0x2f326f,_0x3b0dec),_0x1b54f8=(_0x11c91c,_0x8c28e8,_0x3a11f4)=>_0x2a1ff6(_0x11c91c,_0x8c28e8+'',_0x3a11f4);const _0x531d8e=_0x48ae0f(0x29a);_0xeb2dec['UniverEditHistoryViewerPlugin']=class extends _0x3590ca['Plugin']{constructor(_0x7ef6f1=_0x1524b9,_0x497f0d,_0xf91613,_0x5ed3c0){const _0x310127=_0x48ae0f;super(),this[_0x310127(0x303)]=_0x7ef6f1,this[_0x310127(0x23f)]=_0x497f0d,this[_0x310127(0x193)]=_0xf91613,this[_0x310127(0x2e7)]=_0x5ed3c0;const {..._0x44c24f}=_0x3590ca[_0x310127(0x2e3)]({},_0x1524b9,this['_config']);this[_0x310127(0x2e7)][_0x310127(0x17e)](_0x39482c,_0x44c24f);}['onStarting'](){const _0x21fb36=_0x48ae0f;[[_0xeb2dec[_0x21fb36(0x1e8)]],[_0x14843b],[_0x2f1d9f],[_0x5cdf05],[_0x2d05ab],[_0xfd9e16],[_0x4e44de['ISnapshotServerService'],{'useClass':_0x189b50[_0x21fb36(0x26a)]}],[_0x470b41[_0x21fb36(0x2fd)],{'useClass':_0x5d5cd5}],[_0xbddc27[_0x21fb36(0x319)],{'useClass':_0x189b50[_0x21fb36(0x251)]}]][_0x21fb36(0x1e4)](_0x22d016=>this[_0x21fb36(0x23f)][_0x21fb36(0x34a)](_0x22d016)),this[_0x21fb36(0x23f)][_0x21fb36(0x38f)](_0x14843b);}[_0x48ae0f(0x362)](){const _0x43eea4=_0x48ae0f;[[_0x2d092d]][_0x43eea4(0x1e4)](_0x124dbe=>{const _0x316ba1=_0x43eea4;this[_0x316ba1(0x3c2)](this['_renderManagerService'][_0x316ba1(0x3bf)](_0x3590ca[_0x316ba1(0x194)][_0x316ba1(0x3c9)],_0x124dbe));}),this[_0x43eea4(0x23f)]['get'](_0xfd9e16),this[_0x43eea4(0x23f)][_0x43eea4(0x38f)](_0x2d05ab);}[_0x48ae0f(0x33e)](){const _0x1892d8=_0x48ae0f;this['_injector'][_0x1892d8(0x38f)](_0x2f1d9f);}},_0x1b54f8(_0xeb2dec[_0x48ae0f(0x1b2)],'pluginName',_0x531d8e),_0xeb2dec[_0x48ae0f(0x1b2)]=_0x506995([_0x3590ca[_0x48ae0f(0x3c1)](_0x4c8a87[_0x48ae0f(0x396)],_0x4e9320[_0x48ae0f(0x333)]),_0x4e8ad4(0x1,_0x3590ca[_0x48ae0f(0x1fe)](_0x3590ca[_0x48ae0f(0x2a9)])),_0x4e8ad4(0x2,_0x1d067f[_0x48ae0f(0x344)]),_0x4e8ad4(0x3,_0x3590ca['IConfigService'])],_0xeb2dec[_0x48ae0f(0x1b2)]),_0xeb2dec[_0x48ae0f(0x2e5)]=_0x86943,_0xeb2dec[_0x48ae0f(0x2e2)]=_0x7fbb24,Object[_0x48ae0f(0x25e)](_0xeb2dec,Symbol[_0x48ae0f(0x2fe)],{'value':_0x48ae0f(0x295)});}));function _0x4bef(_0x130450,_0x5be595){_0x130450=_0x130450-0x179;const _0x62decb=_0x62de();let _0x4befe3=_0x62decb[_0x130450];return _0x4befe3;}function _0x62de(){const _0x75cfe3=['editHistory.info.loading','entities','origin','PAYMENT_CHANNEL_NOT_SUPPORT','RestoreIcon','261356OjaOJs','Init','createTime','@univerjs-pro/collaboration-client-ui','MOBILE_HAS_BEEN_BOUND','UniverCore','RecoverHistory','MoveSheet','onRendered','string','editHistory.panel.title','getDialogs$','PY_RUNTIME_SCRIPT_ERROR','endRev','isArray','Delete','length','anonymous','permissionPointUpdate$','MoveWorksheet','display','width','.univer-app-container-content','useObservable','@univerjs-pro/collaboration-client','UniverProSheetsChart','close','_updateVersions','_removeDiffMarks','getVersions','tag','WorkbookEditablePermission','5180364JAOlIT','REDEMPTION_USER_NOT_ELIGIBLE','getAncestorScale','defIds','UniverUi','getOwnPropertyDescriptor','editHistory.panel.cancel','currentVersionDiff$','UniverEngineRender','makeDirty','now','fetchThroughInterceptors','_hasMore','_messageService','xlink:href','Comment','Copy','APPLY_PERMISSION_DENIED','IConfigService','blockMeta','RemoveSheetMutation','get','univer-text-2xl\x20dark:!univer-text-white','CURRENT_STATUS_CANNOT_OPERATE','COMPLETION_FINISHED','WECHAT_HAS_BEEN_BOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','NOT_FOUND','UniverSheetsUIPlugin','ALREADY_EXISTS','padStart','debounce','HideWorksheet','MOBILE_VERIFY_CODE_MISMATCH','date','pipe','SetCellStyle','YUUMI_RATE_OVER_LIMIT','addObjects','RwHgtClWdt','LocaleType','TOO_MANY_REQUESTS','setValue','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','body','LICENSE_EXPORT_SIZE_EXCEEDED','fetchMissingChangesets','triggerRevert','updatePermissionPoint','SetCellValue','getUnitId','#0B9EFB','SetRowStyle','1772008TOfeVl','_members','DeleteWorksheet','addSparkline','confirm','_canRevert','_sidebarService','VIEW_MAIN','ENTITLE_NEED_BILLING_ADDRESS','APPLY_DUPLICATED','DeleteRangeProtectionMutation','CreateSheet','getCurrentVersion','toISOString','RenameSheet','skeleton','registerRenderModule','75000tUUrjz','DependentOn','disposeWithMe','push','parse','YUUMI_UNABLE_LOAD_URL','dateString','recoverTime','setFilter','UNIVER_SHEET','Sort','SetWorksheetHideMutation','editHistory.panel.unknownUser','_lastPointer','status$','_maskElement','memberId','ENTITLE_INSUFFICIENT_QUOTA','1em','_createMask','YUUMI_ASYNCIO_CANCELLED','_permissionService','setConfig','name','forwardRef','restore-icon_clip0_1247_2','editHistory.panel.listFetchError','flat','YUUMI_ALL_TABLES_IS_INVALID','editSheet','UniverDataValidation','UniverDrawing','next','state$','CreateWorksheet','INVITE_CODE_REQUIRED','ObjectMatrix','creators','ReorderRangeMutation','editHistory.panel.confirm','filter','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','displayName','_renderManagerService','UniverInstanceType','_cellEditorManagerService','deleteProtection','univer-flex\x20univer-items-center\x20univer-justify-center','_initPanel','find','removeSheet','BehaviorSubject','keys','REDEMPTION_CODE_INACTIVE','_commandService','_initRender','EditWorksheetCell','DisposableCollection','register','_versions$','1548561ixJaLK','row','@univerjs-pro/sheets-sparkline','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','editHistory.panel.revertDesc','status','PivotTable','LocaleService','UNIVER_SLIDE','closeAll','isTransformMutationsSuccess','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','fetching','MessageType','UniverEditHistoryViewerPlugin','command','EditExtraObject','editHistory.action.revertSheetSuffix','ENTITLE_REPORT_LIMIT_EXCEED','jsxs','endRevision','executeCommand','SHEET_VIEWPORT_KEY','split','_getActiveSubUnitId','entries','DeleteColumn','@univerjs/design','onMouseMove','_transformService','@univerjs/sheets','SelectProtectedCells','useState','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','show','AddSheetSparklineMutation','currentColor','defs',':\x20(','_versionDiffService','some','UniverNetwork','InsertColMutation','INVITE_CODE_HAS_BEEN_UES','from','loadInitialVersions','editHistory.panel.currentVersion','rev','CopySheet','height','getDeserializedSheetBlock','Tooltip','IConfirmService','Print','Share','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','svg','Entered','USER_NOT_FOUND','User','InsertRow','AddWorksheetProtectionMutation','YUUMI_SUBSCRIPTION_NOT_FOUND','_setFetching','forEach','_componentManager','_status$','getConfig','HistoryManagerService','getSeconds','_dialogOptions$','_context','createElement','showMask','ZH_CN','_maskContainer','BuiltInUIPart','_getAPIPrefix','loadingState','UniverProSheetsSparkline','canRevert','Fragment','children','white','USER_IS_ANONYMOUS','INTERNAL_ERROR','Character','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','SetRangeValuesMutation','APPLY_NON_SEQUENTIAL_REVISION','Inject','substring','YUUMI_TABLE_NOT_FOUND_IN_UNIT','10BIHAsZ','getHours','setDV','getCurrentUnitForType','replace','none','clear','Unspecified','WorkbookRenameSheetPermission','Today','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','_updateDiffMarks','map','0\x200\x2016\x2017','rule','EMAIL_VERIFY_CODE_MISMATCH','useDependency','InsertSheetMutation','HEADER','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','react/jsx-runtime','YUUMI_AI_RUN_FAILED','InsertColumn','triggerLoadVersions','creators$','values','_uiPartsService','className','286434BaOcUt','View','loading-multi-icon','_snapshotServerService','univer-m-auto\x20univer-animate-spin','VIRTUAL_VERSION_NOW','_unitId$','startRow','UNIVER_UNKNOWN','ENTITLE_CAN_NOT_BUY_LOWER_OTP','IUIPartsService','onPointerMove$','ViewHistory','USER_NOT_INVITED_CODE','userID','users','assign','confirm-revert-revision','unitId','transformMutations','Edit','_sheetSkeletonManagerService','getVpScrollXYInfoByPosToVp','@univerjs/network','unitId$','FloatImg','div','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','100%','univer-animate-spin','color','commands','YUUMI_URL_COL_OUT_OF_RANGE','getVersion','_injector','YUUMI_CONNECTOR_URL_NOT_FOUND','ViewFilter','rgba(225,\x20225,\x20225,\x200.5)','insertSheet','startColumn','INVALID_ARGUMENT','ENTITLE_INVALID_COUPON_CODE','blocks','error','IUniverInstanceService','_fetching$','mutations','currentVersion','has','SetConditionalRuleMutation','@univerjs/engine-render','UniverDesign','CollaborationImageIoService','subType','combineLatest','LICENSE_DISTRO_REJECTED','YUUMI_NO_CUBOID_FOR_QUESTION','_setVersions','univer-overflow-hidden','_getRangesByMutation','SetColumnStyle','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','sheet','clipPath','span','defineProperty','UNRECOGNIZED','editHistory.action.etc','subscribe','fetchCreatorList','versions$','registerComponent','currentVersion$','editHistory.panel.revertConfirm','insertChart','_init','set','SnapshotServerOverHTTPService','attrs','ENTITLE_COUPON_USED_UP','HTTPService','range','subUnitId','ENSURE_SNAPSHOT_EXECUTION','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','_initMaskContainer','cellValue','all','random','parseProtocolChangeset','ENTITLE_COUPON_EXPIRED','AUTHORIZE_CODE_ILLEGAL','WorkbookMoveSheetPermission','center','_diffs','back-icon','InsertHyperlink','SheetPermissionInitController','0\x200\x2016\x2016','FromArray','interceptor','versions','UNAUTHENTICATED','open','InsertRowMutation','mask','exports','_localeService','IMessageService','_loadingState$','concat','idSuffix','39rYYnyz','UniverProEditHistoryViewer','getSheetObject','left','asObservable','BackIcon','APPLY_REJECT','REDEMPTION_INVALID_CODE','Module','editHistory.panel.currentUser','hidden','@univerjs/sheets-filter','_historyFetchService','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','@univerjs/sheets-conditional-formatting','UniverProCollaborationClient','_historyManagerService','_combineRanges','init','primary','INVITE_CODE_ALREADY_BOUND','history-panel','reduce','addProtection','React','ISidebarService','rxjs','[HistoryFetchService]:\x20request\x20snapshot\x20error!','Injector','scrollEvent$','startRevision','justifyContent','currentSkeleton$','UniverSheetsUi','1000','UNIVER_PROJECT','SetRangeProtectionMutation','/universer-api/history','LOGIN_TOKEN_PROCESSING_FAILED','loading','InsertSheetsChartMutation','DATA_SOURCE_TOO_LARGE','fetching$','SNAPSHOT_HAS_BEEN_REMOVED','DeleteWorksheetProtectionMutation','Error','setFrozen','_creators$','workbook','time','ICellEditorManagerService','createSheet','evenodd','editHistory.header.revert','Export','Duplicate','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','connectInjector','ManageCollaborator','trim','@univerjs/data-validation','loadHistoryCreatorList','AddConditionalRuleMutation','loaded','IPermissionService','_univerInstanceService','url(#$1','RangeMergeUtil','AddDataValidationMutation','DeleteRow','_confirmService','flex','object','REDEMPTION_USER_REDEEM_TIMES_EXCEED','top','setCF','_sidebarDisposable','/list?','hideMask','CONNECTOR_DATA_TOO_LARGE','symbol','UpdateDataValidationMutation','debounceTime','_lastLabel','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','HistoryOrigin','merge','_initActiveSwitch','HistoryModeStatus','jsx','_configService','amd','append','_diffRangesMap','value','active','ensureVersion','RemoveNumfmtMutation','includes','params','getViewport','historyPanelComponentKey','_historyContainerId','then','userId','forValue','univer-text-gray-500','loadingState$','SetSheetsFilterRangeMutation','AddWorksheetMergeMutation','getDataRange','Loaded','IDialogService','toStringTag','_currentVersion$','getMember','colorChannel1','column','_config','@univerjs/sheets-ui','_transformMutationByOrder','UniverSheets','_httpService','triggerLoadSheet','ISnapshotServerService','_workbookDataCache','borderBottomClassName','entered','useRef','CreatePermissionObject','function','syncExecuteCommand','code','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','EMAIL_HAS_BEEN_BOUND','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','@univerjs/ui','fill','loadMoreVersions','@univerjs/drawing','IImageIoService','endRow','SetNumfmtMutation','http://www.w3.org/2000/svg','getCoordByCell','getCellPositionByOffset','UniverSheetsConditionalFormatting','UniverSheetsFilter','getCurrent','LOGIN_FAILED','SelectUnProtectedCells','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','changesets','path','block','ComponentManager','ICommandService','_compressMutationService','_revertRevision$','History','getInterceptPoints','/creators','Vector2','position','HideSheet','378258tZOeca','UniverNetworkPlugin','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','PERMISSION_DENIED','_getSheetObject','UNIVER_DOC','DeleteSheet','RevertRevisionMutation','toString','getCurrentLocale','endColumn','Disposable','onSteady','ENTITLE_DUP_SUBSCRIPTION','ranges','dispose','CHANGESET_REVISION_CONFILICT','UNDEFINED','IRenderManagerService','ERROR_AGAIN','INVALID_INVITE_CODE','ENTITLE_USE_COUPON_NOT_1ST_TRADE','useCallback','clsx','add','Loading','Filter','REDEMPTION_CODE_NOT_STARTED','react','_createUnit','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','style','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_REVISION_CONFILICT','_loadParams'];_0x62de=function(){return _0x75cfe3;};return _0x62de();}
17
+ function _0x1062(_0x2994b0,_0x39a528){_0x2994b0=_0x2994b0-0x1ef;const _0x3bb96e=_0x3bb9();let _0x10621b=_0x3bb96e[_0x2994b0];return _0x10621b;}function _0x3bb9(){const _0x4ff1dc=['UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','SetRangeValuesMutation','useObservable','@univerjs-pro/sheets-sparkline','hidden','rgba(225,\x20225,\x20225,\x200.5)','HideSheet','_dialogOptions$','blocks','getSheetObject','className','from','triggerRevert','endRow','getMember','error','Sort','PAYMENT_CHANNEL_NOT_SUPPORT','hideMask','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','padStart','YUUMI_AI_RUN_FAILED','@univerjs/design','currentVersion$','CreateSheet','forwardRef','MessageType','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','_setFetching','useDependency','MOBILE_VERIFY_CODE_MISMATCH','VIEW_MAIN','triggerLoadVersions','_initActiveSwitch','updatePermissionPoint','transformSnapshotToWorkbookData','UpdateDataValidationMutation','ComponentManager','useCallback','jsxs','style','UniverProEditHistoryViewer','subUnitId','SNAPSHOT_INVALID_SNAPSHOT','removeSheet','@univerjs/core','_diffs','SetCellValue','get','rules','split','rxjs','_initMaskContainer','_componentManager','endColumn','_localeService','_createMask','querySelector','RemoveSheetMutation','SetRangeProtectionMutation','VIRTUAL_VERSION_NOW','REDEMPTION_CODE_FULLY_REDEEMED','keys','close','fetchCreatorList','confirm','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','height','subType','IDialogService','merge','editHistory.action.','USER_IS_ANONYMOUS','data','YUUMI_ALL_TABLES_IS_INVALID','editHistory.panel.listFetchError','Copy','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','disposeWithMe','ManageCollaborator','url(#$1','_compressMutationService','date','_historyManagerService','@univerjs/network','toStringTag','MoveRangeMutation','versions','fetching','unitId','WorkbookMoveSheetPermission','m1Prime','UniverInstanceType','YUUMI_CONNECTOR_URL_NOT_FOUND','getCellPositionByOffset','@univerjs/sheets-conditional-formatting','_sheetPermissionInitController','ISnapshotServerService','History','1em','editHistory.panel.currentUser','forEach','UniverProCollaborationClient','InsertRow','IUniverInstanceService','getAncestorScale','status','HideWorksheet','Plugin','1000','currentVersion','698460dlciaT','pluginName','APPLY_REVISION_CONFILICT','0\x200\x2016\x2017','white','SelectUnProtectedCells','UNIVER_UNKNOWN','commands','getCurrentVersion','idSuffix','97698uLaghV','14VMPFil','_lastPointer','UniverProSheetsSparkline','lastLabel','INVITE_CODE_REQUIRED','/creators','ENTITLE_CAN_NOT_BUY_LOWER_OTP','Share','restore-icon','UniverEngineRender','_sidebarDisposable','UniverProSheetsChart','EditWorksheetCell','loading','_versions$','ObjectMatrix','HistoryModeStatus','_historyContainerId','IConfigService','Module','push','Comment','_combineRanges','LoadingMultiIcon','INVITE_CODE_ALREADY_BOUND','colorChannel1','UNDEFINED','_configService','Exited','editHistory.action.etc','Duplicate','YUUMI_RATE_OVER_LIMIT','editHistory.header.revert','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','_unitId$','ViewFilter','clear','editHistory.panel.currentVersion','column','_versionDiffService','univer-animate-spin','cellValue','WECHAT_HAS_BEEN_BOUND','body','@univerjs/sheets-ui','_extractRanges','userID','.univer-app-container-content','FromArray','/list?','univerjs-icon\x20univerjs-icon-','RenameSheet','span','YUUMI_TABLE_NOT_FOUND_IN_UNIT','useState','editSheet','DATA_SOURCE_TOO_LARGE','CompressMutationService','_currentVersionDiff$','AUTHORIZE_CODE_ILLEGAL','SetConditionalRuleMutation','@univerjs/data-validation','_canRevert','getVpScrollXYInfoByPosToVp','loadHistoryCreatorList','DeleteRow','getRelativeToViewportCoord','getVersion','_loadingState$','loading-multi-icon','_status$','center','MoveWorksheet','CollaborationImageIoService','getUnitOnRev','setState','value','primary','ViemRwHgtClWdt','div','asObservable','LOGIN_TOKEN_PROCESSING_FAILED','includes','SheetPermissionInitController','SnapshotServerOverHTTPService','LICENSE_DISTRO_REJECTED','ViewHistory','ALREADY_EXISTS','loaded','mask','replace','Tooltip','Filter','#0B9EFB','substring','getDialogs$','0\x200\x2016\x2016','_getActiveSubUnitId','AddWorksheetProtectionMutation','_univerInstanceService','params','getHours','CreatePermissionObject','stopPropagation','ENSURE_SNAPSHOT_EXECUTION','2693845IAeHYy','SheetCollabCursorShape','univer-m-auto\x20univer-animate-spin','REDEMPTION_CODE_INACTIVE','editHistory.panel.unknownUser','_getRangesByMutation','COMPLETION_FINISHED','disposeUnit','pipe','editHistory.action.revertSheetPrefix','@univerjs/sheets-filter','_openPanel','DeleteWorksheetProtectionMutation','showMask','REDEMPTION_USER_REDEEM_TIMES_EXCEED','createTime','length','history-panel','APPLY_NON_SEQUENTIAL_REVISION','currentVersionDiff$','show','history-mask','color','CopySheet','triggerLoadSheet','isArray','UniverDataValidation','ENTITLE_REPORT_LIMIT_EXCEED','IUIPartsService','confirm-revert-revision','3712828ZvnuBT','createElement','_config','loadMoreVersions','rule','loadingState$','onStarting','3919506sqleEr','UniverDesign','ICommandService','_loadParams','SetSheetsFilterRangeMutation','workbook','UniverUi','InsertColumn','subscribe','active','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','addProtection','HEADER','toISOString','_lastLabel','_confirmService','loadInitialVersions','entries','ICellEditorManagerService','APPLY_DUPLICATED','_messageService','setFrozen','blockMeta','USER_NOT_FOUND','_setVersions','find','range','SetWorksheetStyle','ISidebarService','entities','InsertHyperlink','action','Disposable','_cellEditorManagerService','DeleteColumn','RwHgtClWdt','ranges','REDEMPTION_INVALID_CODE','WorkbookHideSheetPermission','historyListServerUrl','IPermissionService','subscribeEvent','_revertRevision$','MoveSheet','onMouseMove','defineProperty','RestoreIcon','getViewport','_initPanel','add','clipPath','YUUMI_NO_CUBOID_FOR_QUESTION','flex','onSteady','Error','_maskElement','_fetching$','map','ZH_CN','Edit','absolute','BehaviorSubject','YUUMI_URL_COL_OUT_OF_RANGE','backgroundColor','UniverProCollaborationClientUi','register','_workbookDataCache','displayName','ENTITLE_INVALID_COUPON_CODE','_createUnit','AddWorksheetMergeMutation','Export','getConfig','Fragment','getCurrentUnitForType','Vector2','focusUnit','Init','has','setFilter','getVersions','xlink:href','dispose','TOO_MANY_REQUESTS','creators$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','anonymous','getCoordByCell','restore-icon_clip0_1247_2','debounce','LocaleService','loadingState','endRev','UniverCore','react','FloatImg','createUnit','_members','UniverSheetsUIPlugin','currentColor','recoverTime','React','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','Button','SetNumfmtMutation','UNAUTHENTICATED','mutations','fetching$','DisposableCollection','LICENSE_IMPORT_SIZE_EXCEEDED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','rev','getOwnPropertyDescriptor','dateString','editHistory.panel.confirm','_maskContainer','registerComponent','refreshRangeProtectPermission','editHistory.panel.cancel','@univerjs-pro/sheets-chart','100%','set','concat','additionalFields','debounceTime','display','ENTITLE_INSUFFICIENT_QUOTA','executeCommand','_init','univer-text-2xl\x20dark:!univer-text-white','PY_RUNTIME_SCRIPT_ERROR','init','_snapshotServerService','CURRENT_STATUS_CANNOT_OPERATE','evenodd','parse','filter','ENTITLE_USE_COUPON_NOT_1ST_TRADE','amd','exports','toString','rgba(58,\x2096,\x20247,\x200.20)','9rfsFNq','INVITE_CODE_HAS_BEEN_UES','@univerjs-pro/collaboration-client','RecoverHistory','InsertSheetsChartMutation','interceptor','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','_permissionService','USER_NOT_INVITED_CODE','loadSheet','toDisposable','COMPRESS_MUTATION_APPLY','entered','_diffRangesMap','getElementById','INTERNAL_ERROR','[HistoryFetchService]:\x20request\x20snapshot\x20error!','@univerjs/sheets','RenameWorksheet','all','_transformMutationByOrder','zIndex','UniverSheets','DeleteRangeProtectionMutation','UniverProCollaboration','getDataRange','sheetId','_updateDiffMarks','@univerjs/engine-render','BackIcon','values','editHistory.panel.revertConfirmText','svg','INVALID_ARGUMENT','registerRenderModule','tag','react/jsx-runtime','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','assign','block','attrs','_uiPartsService','14770504lqRZmd','setCF','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','YUUMI_ASYNCIO_CANCELLED','PERMISSION_DENIED','RemoveNumfmtMutation','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','_creators$','editHistory.panel.revertDesc','Loaded','findAllRectangle','UNIVER_DOC','Character','INVALID_INVITE_CODE','connectInjector','startRow','_injector','CHANGESET_REVISION_CONFILICT','ENTITLE_DUP_SUBSCRIPTION','clsx','IRenderManagerService','use','getCurrentLocale','onRendered','Subject','setDV','403930IlmokS','canRevert','univer-overflow-hidden','ERROR_AGAIN','EMAIL_HAS_BEEN_BOUND','_getAPIPrefix','top','MoveColsMutation','editHistory.panel.revertConfirm','append','Delete','Loading','_httpService','url(#restore-icon_clip0_1247_2)','NOT_FOUND','permissionPointUpdate$','versions$','open','REDEMPTION_CODE_HAS_BEEN_CREATED','width','DeleteSheet','command','_historyFetchService','_renderManagerService','_commandService','flat','getCurrent','random','IMessageService','_hasMore','combineLatest','fill','string','AddRangeProtectionMutation','function','borderBottomClassName','status$','edit-history-viewer.config','sheet','MOBILE_HAS_BEEN_BOUND','SHEET_VIEWPORT_KEY','object','exited','UniverNetwork','makeDirty','startColumn','time','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_SUBSCRIPTION_NOT_FOUND','LocaleType','REDEMPTION_CODE_NOT_STARTED','revertSheet','UNIVER_SHEET','back-icon','AddDataValidationMutation','SheetSkeletonManagerService','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','DeleteWorksheet','SetFrozenMutation','UNIVER_PROJECT','code','SetRowStyle','path','ensureVersion','SelectProtectedCells','RangeMergeUtil','getDeserializedSheetBlock','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','ENTITLE_NEED_BILLING_ADDRESS','LOGIN_FAILED','APPLY_REJECT','_sheetSkeletonManagerService','children','users','@univerjs/drawing','insertChart','unitId$','editHistory.action.revertSheetSuffix','next','_getSheetObject','WorkbookEditablePermission','UniverIcon','_currentVersion$','SetColumnStyle','_updateVersions','getSeconds','bottom','defs','user','onPointerMove$','_transformService','jsx','getMinutes','APPLY_PERMISSION_DENIED','UniverSheetsConditionalFormatting','Injector','RevertRevisionMutation','http://www.w3.org/2000/svg','revertRevision$','_context','LICENSE_MAX_UNITS_EXCEEDED','then','none','ENTITLE_CHAT_LIMIT_EXCEED','View','ITransformService','_initRender','PivotTable','row','setValue','UniverEditHistoryViewerPlugin','UniverSheetsUi','UNRECOGNIZED','_sidebarService','EditExtraObject','Print','InsertSheetMutation','HistoryManagerService','SetCellStyle','InsertColMutation','CreateWorksheet','Entered','/universer-api/history','Inject','ReorderRangeMutation','isTransformMutationsSuccess'];_0x3bb9=function(){return _0x4ff1dc;};return _0x3bb9();}(function(_0x56b915,_0x1bb01a){const _0x1cac63=_0x1062,_0x5220a2=_0x56b915();while(!![]){try{const _0x1a46a1=-parseInt(_0x1cac63(0x207))/0x1+-parseInt(_0x1cac63(0x2ff))/0x2*(parseInt(_0x1cac63(0x2fe))/0x3)+-parseInt(_0x1cac63(0x2f4))/0x4+parseInt(_0x1cac63(0x368))/0x5+-parseInt(_0x1cac63(0x38d))/0x6+-parseInt(_0x1cac63(0x386))/0x7+-parseInt(_0x1cac63(0x445))/0x8*(-parseInt(_0x1cac63(0x41b))/0x9);if(_0x1a46a1===_0x1bb01a)break;else _0x5220a2['push'](_0x5220a2['shift']());}catch(_0x52fe2c){_0x5220a2['push'](_0x5220a2['shift']());}}}(_0x3bb9,0x606a8),function(_0x359e22,_0x3d28e4){const _0x2b4c0b=_0x1062;typeof exports==_0x2b4c0b(0x230)&&typeof module<'u'?_0x3d28e4(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x2b4c0b(0x229)&&define[_0x2b4c0b(0x417)]?define([_0x2b4c0b(0x418),'@univerjs-pro/collaboration',_0x2b4c0b(0x41d),_0x2b4c0b(0x2b2),_0x2b4c0b(0x251),_0x2b4c0b(0x437),_0x2b4c0b(0x2d9),_0x2b4c0b(0x32b),'@univerjs/ui',_0x2b4c0b(0x29b),_0x2b4c0b(0x42c),_0x2b4c0b(0x2b8),_0x2b4c0b(0x404),_0x2b4c0b(0x288),_0x2b4c0b(0x33c),_0x2b4c0b(0x2e4),_0x2b4c0b(0x372),_0x2b4c0b(0x43f),_0x2b4c0b(0x3eb),'@univerjs-pro/collaboration-client-ui'],_0x3d28e4):(_0x359e22=typeof globalThis<'u'?globalThis:_0x359e22||self,_0x3d28e4(_0x359e22[_0x2b4c0b(0x2ae)]={},_0x359e22[_0x2b4c0b(0x433)],_0x359e22[_0x2b4c0b(0x2eb)],_0x359e22[_0x2b4c0b(0x3ea)],_0x359e22['UniverDrawing'],_0x359e22[_0x2b4c0b(0x308)],_0x359e22[_0x2b4c0b(0x232)],_0x359e22[_0x2b4c0b(0x276)],_0x359e22[_0x2b4c0b(0x393)],_0x359e22[_0x2b4c0b(0x38e)],_0x359e22[_0x2b4c0b(0x431)],_0x359e22[_0x2b4c0b(0x2b8)],_0x359e22[_0x2b4c0b(0x30a)],_0x359e22[_0x2b4c0b(0x301)],_0x359e22[_0x2b4c0b(0x382)],_0x359e22[_0x2b4c0b(0x265)],_0x359e22['UniverSheetsFilter'],_0x359e22[_0x2b4c0b(0x3f2)],_0x359e22[_0x2b4c0b(0x3f2)],_0x359e22[_0x2b4c0b(0x3cd)]));}(this,function(_0x495eca,_0x557930,_0x4676cd,_0x9500e8,_0x33bd43,_0xf472c4,_0xcf8e98,_0x5b6804,_0x24c5e6,_0x336507,_0x11e5d2,_0x1d2e29,_0x1b9c27,_0x43fd21,_0x311529,_0x22a692,_0x5c5802,_0x2002a3,_0x429221,_0x315028){'use strict';const _0x3cfaa8=_0x1062;var _0x4e765f=Object[_0x3cfaa8(0x3ba)],_0x1d3f19=(_0x8d8e89,_0x328ba9,_0x5f29eb)=>_0x328ba9 in _0x8d8e89?_0x4e765f(_0x8d8e89,_0x328ba9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f29eb}):_0x8d8e89[_0x328ba9]=_0x5f29eb,_0x2247a2=(_0x5ebb4a,_0x1a3461,_0x15b865)=>_0x1d3f19(_0x5ebb4a,typeof _0x1a3461!='symbol'?_0x1a3461+'':_0x1a3461,_0x15b865);const _0x43073f=_0x3cfaa8(0x22c),_0x540750={};var _0x3015f9=Object[_0x3cfaa8(0x3fd)],_0x33e03e=(_0x40a707,_0x552ece,_0xe383b5,_0x54afd2)=>{const _0x1e44e7=_0x3cfaa8;for(var _0xc143d0=_0x54afd2>0x1?void 0x0:_0x54afd2?_0x3015f9(_0x552ece,_0xe383b5):_0x552ece,_0xa3608b=_0x40a707[_0x1e44e7(0x378)]-0x1,_0x16ea63;_0xa3608b>=0x0;_0xa3608b--)(_0x16ea63=_0x40a707[_0xa3608b])&&(_0xc143d0=_0x16ea63(_0xc143d0)||_0xc143d0);return _0xc143d0;},_0x2ccbe3=(_0x196fb3,_0x12f5ef)=>(_0x77905a,_0x3a6b06)=>_0x12f5ef(_0x77905a,_0x3a6b06,_0x196fb3);let _0x4320e7=class extends _0x9500e8[_0x3cfaa8(0x3ad)]{constructor(_0x514064){const _0x224729=_0x3cfaa8;super(),this[_0x224729(0x3ae)]=_0x514064,this[_0x224729(0x40d)]();}[_0x3cfaa8(0x40d)](){const _0x498f36=_0x3cfaa8;this[_0x498f36(0x2d3)](this[_0x498f36(0x3ae)]['state$'][_0x498f36(0x395)](_0x3d628a=>{const _0x317003=_0x498f36;_0x3d628a!=null&&_0x3d628a[_0x317003(0x37c)]&&this[_0x317003(0x3ae)][_0x317003(0x34a)]({'show':!0x1});}));}};_0x4320e7=_0x33e03e([_0x2ccbe3(0x0,_0x5b6804[_0x3cfaa8(0x39f)])],_0x4320e7);var _0x39da7c=(_0x31a6e0=>(_0x31a6e0[_0x31a6e0['UNDEFINED']=0x0]=_0x3cfaa8(0x319),_0x31a6e0[_0x31a6e0['OK']=0x1]='OK',_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x42a)]=0x2]=_0x3cfaa8(0x42a),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x1f1)]=0x3]=_0x3cfaa8(0x1f1),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x215)]=0x4]=_0x3cfaa8(0x215),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x3f6)]=0x5]=_0x3cfaa8(0x3f6),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x356)]=0x6]=_0x3cfaa8(0x356),_0x31a6e0[_0x31a6e0['INVALID_ARGUMENT']=0x7]=_0x3cfaa8(0x43c),_0x31a6e0[_0x31a6e0['TOO_MANY_REQUESTS']=0x8]=_0x3cfaa8(0x3e0),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x36e)]=0x9]='COMPLETION_FINISHED',_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x24c)]=0xa]=_0x3cfaa8(0x24c),_0x31a6e0[_0x31a6e0['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x3cfaa8(0x2a3),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x2d2)]=0xc]=_0x3cfaa8(0x2d2),_0x31a6e0[_0x31a6e0['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x3cfaa8(0x236),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x3e2)]=0xe]=_0x3cfaa8(0x3e2),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x33a)]=0xf]=_0x3cfaa8(0x33a),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x350)]=0x10]=_0x3cfaa8(0x350),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x412)]=0x64]=_0x3cfaa8(0x412),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x20a)]=0x65]='ERROR_AGAIN',_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x3a4)]=0xc9]=_0x3cfaa8(0x3a4),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x2cd)]=0xca]=_0x3cfaa8(0x2cd),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x1fe)]=0x1389]=_0x3cfaa8(0x1fe),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x2b0)]=0x1771]=_0x3cfaa8(0x2b0),_0x31a6e0[_0x31a6e0['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x31a6e0[_0x31a6e0['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3cfaa8(0x367),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x24d)]=0x1b59]=_0x3cfaa8(0x24d),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x37a)]=0x1b5a]=_0x3cfaa8(0x37a),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x2f6)]=0x1b5b]=_0x3cfaa8(0x2f6),_0x31a6e0[_0x31a6e0['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3cfaa8(0x264),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x3a0)]=0x1b5d]='APPLY_DUPLICATED',_0x31a6e0[_0x31a6e0['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x26b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x3fb)]=0x232a]=_0x3cfaa8(0x3fb),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x3fa)]=0x232b]=_0x3cfaa8(0x3fa),_0x31a6e0[_0x31a6e0['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x31a6e0[_0x31a6e0['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3cfaa8(0x354),_0x31a6e0[_0x31a6e0['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x3cb)]=0x2712]=_0x3cfaa8(0x3cb),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x31e)]=0x2713]=_0x3cfaa8(0x31e),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x237)]=0x2714]=_0x3cfaa8(0x237),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x3c0)]=0x271a]=_0x3cfaa8(0x3c0),_0x31a6e0[_0x31a6e0['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3cfaa8(0x1f0),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x334)]=0x271c]=_0x3cfaa8(0x334),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x2cf)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x31a6e0[_0x31a6e0['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x29a)]=0x271f]=_0x3cfaa8(0x29a),_0x31a6e0[_0x31a6e0['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3cfaa8(0x2e2),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x40f)]=0x2af9]=_0x3cfaa8(0x40f),_0x31a6e0[_0x31a6e0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3cfaa8(0x41c),_0x31a6e0[_0x31a6e0['INVALID_INVITE_CODE']=0x2ee2]=_0x3cfaa8(0x1fa),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x303)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x423)]=0x2ee4]=_0x3cfaa8(0x423),_0x31a6e0[_0x31a6e0['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3cfaa8(0x317),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x329)]=0x32c9]=_0x3cfaa8(0x329),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x22e)]=0x32ca]=_0x3cfaa8(0x22e),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x20b)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x305)]=0x36b1]=_0x3cfaa8(0x305),_0x31a6e0[_0x31a6e0['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x31a6e0[_0x31a6e0['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x3cfaa8(0x1ff),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x296)]=0x36b4]=_0x3cfaa8(0x296),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x3d1)]=0x36b5]=_0x3cfaa8(0x3d1),_0x31a6e0[_0x31a6e0['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x31a6e0[_0x31a6e0['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x416)]=0x36b8]=_0x3cfaa8(0x416),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x26e)]=0x3715]=_0x3cfaa8(0x26e),_0x31a6e0[_0x31a6e0['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x3cfaa8(0x383),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x40b)]=0x3717]=_0x3cfaa8(0x40b),_0x31a6e0[_0x31a6e0['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x3cfaa8(0x24b),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x3b2)]=0x3a99]=_0x3cfaa8(0x3b2),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x36b)]=0x3a9a]=_0x3cfaa8(0x36b),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x2c2)]=0x3a9b]=_0x3cfaa8(0x2c2),_0x31a6e0[_0x31a6e0['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x3cfaa8(0x239),_0x31a6e0[_0x31a6e0['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x376)]=0x3a9e]=_0x3cfaa8(0x376),_0x31a6e0[_0x31a6e0['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x3cfaa8(0x219),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x337)]=0x3e81]=_0x3cfaa8(0x337),_0x31a6e0[_0x31a6e0[_0x3cfaa8(0x277)]=-0x1]='UNRECOGNIZED',_0x31a6e0))(_0x39da7c||{}),_0x1cc1bf=(_0x4217e4=>(_0x4217e4[_0x4217e4[_0x3cfaa8(0x2fa)]=0x0]=_0x3cfaa8(0x2fa),_0x4217e4[_0x4217e4['UNIVER_DOC']=0x1]=_0x3cfaa8(0x1f8),_0x4217e4[_0x4217e4['UNIVER_SHEET']=0x2]=_0x3cfaa8(0x23b),_0x4217e4[_0x4217e4['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4217e4[_0x4217e4[_0x3cfaa8(0x242)]=0x4]=_0x3cfaa8(0x242),_0x4217e4[_0x4217e4[_0x3cfaa8(0x277)]=-0x1]=_0x3cfaa8(0x277),_0x4217e4))(_0x1cc1bf||{}),_0x9878ef=(_0x2fda7e=>(_0x2fda7e[_0x2fda7e['View']=0x0]=_0x3cfaa8(0x26f),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x3c8)]=0x1]=_0x3cfaa8(0x3c8),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x2d4)]=0x2]=_0x3cfaa8(0x2d4),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x27a)]=0x3]=_0x3cfaa8(0x27a),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x31d)]=0x4]=_0x3cfaa8(0x31d),_0x2fda7e[_0x2fda7e['Comment']=0x5]=_0x3cfaa8(0x314),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x2d1)]=0x6]='Copy',_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x306)]=0x7]=_0x3cfaa8(0x306),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x3d4)]=0x8]='Export',_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x347)]=0x9]=_0x3cfaa8(0x347),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x240)]=0xa]=_0x3cfaa8(0x240),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x2f0)]=0xb]=_0x3cfaa8(0x2f0),_0x2fda7e[_0x2fda7e['RenameWorksheet']=0xc]=_0x3cfaa8(0x42d),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x27f)]=0xd]=_0x3cfaa8(0x27f),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x3a8)]=0xe]=_0x3cfaa8(0x3a8),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x30b)]=0xf]='EditWorksheetCell',_0x2fda7e[_0x2fda7e['InsertHyperlink']=0x10]=_0x3cfaa8(0x3ab),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x295)]=0x11]=_0x3cfaa8(0x295),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x35b)]=0x12]=_0x3cfaa8(0x35b),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x272)]=0x13]=_0x3cfaa8(0x272),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x3ec)]=0x14]='FloatImg',_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x2e7)]=0x15]=_0x3cfaa8(0x2e7),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x3b0)]=0x16]='RwHgtClWdt',_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x34d)]=0x17]=_0x3cfaa8(0x34d),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x322)]=0x18]=_0x3cfaa8(0x322),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x3b8)]=0x19]=_0x3cfaa8(0x3b8),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x21b)]=0x1a]=_0x3cfaa8(0x21b),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x28b)]=0x1b]='HideSheet',_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x37f)]=0x1c]=_0x3cfaa8(0x37f),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x332)]=0x1d]=_0x3cfaa8(0x332),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x29d)]=0x1e]=_0x3cfaa8(0x29d),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x247)]=0x1f]=_0x3cfaa8(0x247),_0x2fda7e[_0x2fda7e['SelectUnProtectedCells']=0x20]=_0x3cfaa8(0x2f9),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x27d)]=0x21]=_0x3cfaa8(0x27d),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x2b4)]=0x22]=_0x3cfaa8(0x2b4),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x244)]=0x23]=_0x3cfaa8(0x244),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x25a)]=0x24]=_0x3cfaa8(0x25a),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x2ec)]=0x25]=_0x3cfaa8(0x2ec),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x394)]=0x26]=_0x3cfaa8(0x394),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x340)]=0x27]=_0x3cfaa8(0x340),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x3af)]=0x28]=_0x3cfaa8(0x3af),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x279)]=0x29]=_0x3cfaa8(0x279),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x211)]=0x2a]=_0x3cfaa8(0x211),_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x41e)]=0x2b]='RecoverHistory',_0x2fda7e[_0x2fda7e[_0x3cfaa8(0x355)]=0x2c]='ViewHistory',_0x2fda7e[_0x2fda7e['CreatePermissionObject']=0x2d]=_0x3cfaa8(0x365),_0x2fda7e[_0x2fda7e['UNRECOGNIZED']=-0x1]=_0x3cfaa8(0x277),_0x2fda7e))(_0x9878ef||{});function _0x57e413(_0xd7727a){const _0x5de5d4=_0x3cfaa8;return!!(_0xd7727a&&_0xd7727a['code']&&_0xd7727a[_0x5de5d4(0x243)]!==_0x39da7c['OK']&&_0xd7727a['code']!=='OK');}const _0x4fbd0a=(_0x2cb285,_0x271f8d)=>{const _0x18c729=_0x3cfaa8;if(!_0x2cb285)return{'date':'','time':''};const _0x41dbe1=new Date(_0x2cb285),_0x1dfe6a=_0x41dbe1[_0x18c729(0x39a)]()[_0x18c729(0x2b7)]('T')[0x0];switch(_0x271f8d){case _0x9500e8[_0x18c729(0x238)][_0x18c729(0x3c7)]:return{'date':_0x56931d(_0x1dfe6a,_0x271f8d),'time':_0x41dbe1[_0x18c729(0x364)]()+':'+String(_0x41dbe1[_0x18c729(0x263)]())[_0x18c729(0x299)](0x2,'0')+':'+String(_0x41dbe1[_0x18c729(0x25c)]())[_0x18c729(0x299)](0x2,'0')};default:return{'date':_0x56931d(_0x1dfe6a,_0x271f8d),'time':_0x41dbe1[_0x18c729(0x364)]()+':'+_0x41dbe1[_0x18c729(0x263)]()+':'+_0x41dbe1[_0x18c729(0x25c)]()};}},_0x700372=(_0x78b0ee,_0x3f952f)=>{const _0x129d94=_0x3cfaa8,_0x4de1cc=_0x78b0ee[_0x129d94(0x25f)]||_0x3f952f['t'](_0x129d94(0x36c));if(_0x78b0ee['commands']['some'](_0x72dc18=>_0x72dc18===_0x557930[_0x129d94(0x267)]['id'])&&_0x78b0ee[_0x129d94(0x3f1)]){const _0x3ea985=_0x4fbd0a(_0x78b0ee[_0x129d94(0x3f1)],_0x3f952f['getCurrentLocale']()),_0x153543=_0x3ea985[_0x129d94(0x2d7)]+'\x20'+_0x3ea985[_0x129d94(0x235)];return _0x4de1cc+'\x20'+_0x3f952f['t'](_0x129d94(0x371))+'\x20'+_0x153543+'\x20'+_0x3f952f['t'](_0x129d94(0x254));}const _0xb33bc=_0x21230b(_0x78b0ee),_0x1809fb=_0xb33bc[_0x129d94(0x378)]===0x1?_0x3f952f['t'](_0xb33bc[0x0]):''+_0x3f952f['t'](_0xb33bc[0x0])+_0x3f952f['t'](_0x129d94(0x31c));return _0x4de1cc+'\x20'+_0x1809fb;};function _0x21230b(_0x2b54d2){const _0x4c041a=_0x3cfaa8;if(_0x2b54d2[_0x4c041a(0x2fb)][_0x4c041a(0x378)]===0x0)return[''];const _0x53a1db=_0x4c041a(0x2cc),_0x51153f=_0x53a1db+_0x4c041a(0x336),_0x49ff09=[{'id':_0x557930['CreateUnitMutation']['id'],'action':_0x53a1db+'createSheet'},{'id':_0x557930[_0x4c041a(0x267)]['id'],'action':_0x53a1db+_0x4c041a(0x23a)},{'id':_0x11e5d2['InsertSheetMutation']['id'],'action':_0x53a1db+'insertSheet'},{'id':_0x11e5d2[_0x4c041a(0x2bf)]['id'],'action':_0x53a1db+_0x4c041a(0x2b1)},{'id':_0x11e5d2[_0x4c041a(0x241)]['id'],'action':_0x53a1db+_0x4c041a(0x3a2)},{'id':_0x5c5802[_0x4c041a(0x391)]['id'],'action':_0x53a1db+_0x4c041a(0x3dc)},{'id':_0x311529[_0x4c041a(0x23d)]['id'],'action':_0x53a1db+_0x4c041a(0x206)},{'id':_0x311529[_0x4c041a(0x2a9)]['id'],'action':_0x53a1db+_0x4c041a(0x206)},{'id':_0x22a692['SetConditionalRuleMutation']['id'],'action':_0x53a1db+_0x4c041a(0x446)},{'id':_0x22a692['AddConditionalRuleMutation']['id'],'action':_0x53a1db+'setCF'},{'id':_0x11e5d2[_0x4c041a(0x361)]['id'],'action':_0x53a1db+_0x4c041a(0x398)},{'id':_0x11e5d2[_0x4c041a(0x228)]['id'],'action':_0x53a1db+'addProtection'},{'id':_0x43fd21['AddSheetSparklineMutation']['id'],'action':_0x53a1db+'addSparkline'},{'id':_0x1b9c27[_0x4c041a(0x41f)]['id'],'action':_0x53a1db+_0x4c041a(0x252)},{'id':_0x11e5d2[_0x4c041a(0x432)]['id'],'action':_0x53a1db+'deleteProtection'},{'id':_0x11e5d2[_0x4c041a(0x374)]['id'],'action':_0x53a1db+'deleteProtection'}]['filter'](_0x5e5ed0=>_0x2b54d2[_0x4c041a(0x2fb)][_0x4c041a(0x351)](_0x5e5ed0['id']));return _0x49ff09!=null&&_0x49ff09[_0x4c041a(0x378)]?_0x49ff09[_0x4c041a(0x3c6)](_0x8941ca=>_0x8941ca[_0x4c041a(0x3ac)]):[_0x51153f];}function _0x56931d(_0x2fef44,_0x452966){const _0x44d9af=_0x3cfaa8,[_0x39155d,_0x33ce3d,_0x5208ab]=new Date()[_0x44d9af(0x39a)]()[_0x44d9af(0x2b7)]('T')[0x0][_0x44d9af(0x2b7)]('-'),[_0x459081,_0x23731f,_0x29f5b4]=_0x2fef44['split']('-'),_0x2906c3=_0x39155d===_0x459081&&_0x33ce3d===_0x23731f&&_0x5208ab===_0x29f5b4;let _0x44d32f='',_0x39efc7='',_0x403488='';switch(_0x452966){case _0x9500e8[_0x44d9af(0x238)]['ZH_CN']:return _0x2906c3?'今天':(_0x44d32f=_0x39155d===_0x459081?'':_0x459081+'年',_0x39efc7=_0x23731f+'月',_0x403488=_0x29f5b4+'日',''+_0x44d32f+_0x39efc7+_0x403488);default:return _0x2906c3?'Today':(_0x44d32f=_0x39155d===_0x459081?'':_0x459081+'-',_0x39efc7=_0x23731f+'-',_0x403488=''+_0x29f5b4,''+_0x44d32f+_0x39efc7+_0x403488);}}function _0x267e91(_0x28fd14){return _0x28fd14?_0x28fd14['reduce']((_0x4b279b,_0x2a9f55)=>{const _0x2828ee=_0x1062,_0x4e8b7a=new Date(_0x2a9f55[_0x2828ee(0x235)])[_0x2828ee(0x39a)]()[_0x2828ee(0x2b7)]('T')[0x0];return _0x4b279b['length']>0x0&&_0x4b279b[_0x4b279b['length']-0x1][_0x2828ee(0x3fe)]===_0x4e8b7a?_0x4b279b[_0x4b279b[_0x2828ee(0x378)]-0x1][_0x2828ee(0x2dc)][_0x2828ee(0x313)](_0x2a9f55):_0x4b279b[_0x2828ee(0x313)]({'dateString':_0x4e8b7a,'versions':[_0x2a9f55]}),_0x4b279b;},[]):[];}var _0x1c525f=Object[_0x3cfaa8(0x3fd)],_0x44f83c=(_0x412266,_0x520496,_0x46a89b,_0x24545f)=>{const _0x3891c9=_0x3cfaa8;for(var _0x16c46e=_0x24545f>0x1?void 0x0:_0x24545f?_0x1c525f(_0x520496,_0x46a89b):_0x520496,_0x120cd3=_0x412266[_0x3891c9(0x378)]-0x1,_0x2c159b;_0x120cd3>=0x0;_0x120cd3--)(_0x2c159b=_0x412266[_0x120cd3])&&(_0x16c46e=_0x2c159b(_0x16c46e)||_0x16c46e);return _0x16c46e;},_0x4318be=(_0x1b0034,_0x531e07)=>(_0x5d278e,_0x36fa72)=>_0x531e07(_0x5d278e,_0x36fa72,_0x1b0034),_0x1d1312=(_0x583c60=>(_0x583c60[_0x583c60['Unspecified']=0x0]='Unspecified',_0x583c60[_0x583c60['User']=0x1]='User',_0x583c60[_0x583c60[_0x3cfaa8(0x1f9)]=0x2]=_0x3cfaa8(0x1f9),_0x583c60))(_0x1d1312||{});const _0x30738a=_0x3cfaa8(0x281);let _0x138ac5=class extends _0x9500e8[_0x3cfaa8(0x3ad)]{constructor(_0x3ed95a,_0x236f5b,_0x2760e5,_0x359f8f,_0x1e5169,_0x331b8f,_0x2b30f2){const _0x475db5=_0x3cfaa8;super(),_0x2247a2(this,_0x475db5(0x3cf),new Map()),(this[_0x475db5(0x411)]=_0x3ed95a,this[_0x475db5(0x362)]=_0x236f5b,this['_commandService']=_0x2760e5,this[_0x475db5(0x31a)]=_0x359f8f,this[_0x475db5(0x213)]=_0x1e5169,this['_compressMutationService']=_0x331b8f,this[_0x475db5(0x2e5)]=_0x2b30f2);}[_0x3cfaa8(0x3df)](){const _0x12a692=_0x3cfaa8;this[_0x12a692(0x3cf)][_0x12a692(0x323)](),super[_0x12a692(0x3df)]();}async[_0x3cfaa8(0x2c5)](_0x26a8a9){const _0x8a2da0=_0x3cfaa8;try{const _0x208249=(await this[_0x8a2da0(0x213)][_0x8a2da0(0x2b5)](this[_0x8a2da0(0x20c)]()+'/'+_0x26a8a9+_0x8a2da0(0x304)))[_0x8a2da0(0x32a)];if(_0x208249&&_0x208249[_0x8a2da0(0x294)]&&_0x208249[_0x8a2da0(0x294)][_0x8a2da0(0x243)]===_0x39da7c['OK'])return _0x208249['creators'];}catch(_0x2fc511){console['error'](_0x2fc511);}return[];}async['getVersions'](_0x1000cf,_0x498258){const _0x377b2e=_0x3cfaa8,{userIds:_0xa6d480,lastLabel:_0x22fc72,origin:_0x3bdb48}=_0x498258!=null?_0x498258:{},_0x2c92e0=new URLSearchParams();_0x2c92e0['set'](_0x377b2e(0x378),'20'),_0x22fc72&&_0x2c92e0['set'](_0x377b2e(0x302),_0x22fc72),_0xa6d480==null||_0xa6d480[_0x377b2e(0x2ea)](_0x20ad37=>{const _0x77a0df=_0x377b2e;_0x2c92e0[_0x77a0df(0x210)]('userIds',_0x20ad37);}),_0x3bdb48&&_0x2c92e0['set']('origin',_0x3bdb48[_0x377b2e(0x419)]());const _0x5cabc1=this[_0x377b2e(0x20c)]()+'/'+_0x1000cf+_0x377b2e(0x330)+_0x2c92e0[_0x377b2e(0x419)]();try{const _0x50dc7=(await this[_0x377b2e(0x213)][_0x377b2e(0x2b5)](_0x5cabc1))[_0x377b2e(0x32a)];if(_0x50dc7&&_0x50dc7[_0x377b2e(0x294)]&&_0x50dc7[_0x377b2e(0x294)][_0x377b2e(0x243)]===_0x39da7c['OK']){const {hasMore:_0x392838,lastLabel:_0x4a9713}=_0x50dc7,_0x496c36=_0x1cf902(_0x50dc7),_0x5c7f74=_0x50dc7[_0x377b2e(0x3aa)][_0x377b2e(0x250)];return{'hasMore':_0x392838,'lastLabel':_0x4a9713,'versions':_0x496c36,'members':_0x5c7f74};}}catch(_0x1b2ca1){console[_0x377b2e(0x294)](_0x1b2ca1);}return null;}['_getAPIPrefix'](){const _0x53b59b=_0x3cfaa8;var _0x3b9495;const _0x1c0ed9=this[_0x53b59b(0x31a)][_0x53b59b(0x3d5)](_0x43073f);return(_0x3b9495=_0x1c0ed9==null?void 0x0:_0x1c0ed9[_0x53b59b(0x3b4)])!=null?_0x3b9495:_0x30738a;}async[_0x3cfaa8(0x424)](_0x1ade08,_0x45b9f5,_0x1cc43f){const _0x3d7c42=_0x3cfaa8;var _0x25904c,_0x16bcca;_0x1cc43f===void 0x0&&(_0x1cc43f={}),this['_workbookDataCache']['has'](_0x1ade08)||this[_0x3d7c42(0x3cf)]['set'](_0x1ade08,new Map());const {snapshot:_0x1f6b15,changesets:_0x2419b8,error:_0xecd10d}=await this[_0x3d7c42(0x411)][_0x3d7c42(0x349)](_0x1cc43f,{'unitID':_0x1ade08,'type':_0x1cc1bf[_0x3d7c42(0x23b)],'revision':_0x45b9f5});if(_0x57e413(_0xecd10d)||!_0x1f6b15||!_0x1f6b15[_0x3d7c42(0x392)])throw new Error(_0x3d7c42(0x42b));const _0x5a0628=(_0x25904c=_0x2419b8==null?void 0x0:_0x2419b8[_0x3d7c42(0x378)])!=null?_0x25904c:0x0;if(_0x45b9f5!==0x0&&_0x1f6b15[_0x3d7c42(0x3fc)]+_0x5a0628!==_0x45b9f5)throw new Error(_0x3d7c42(0x440));const {workbook:_0x310935}=_0x1f6b15,_0xd3a7ad=_0x310935[_0x3d7c42(0x3a3)]?Object[_0x3d7c42(0x39e)](_0x310935[_0x3d7c42(0x3a3)])[_0x3d7c42(0x3c6)](([_0x12a982,_0x2c09ca])=>{const _0x147cdf=_0x3d7c42;var _0x497c18,_0x5ade18;return(_0x5ade18=(_0x497c18=_0x2c09ca[_0x147cdf(0x28d)])==null?void 0x0:_0x497c18['map'](_0x38b220=>_0x38b220))!=null?_0x5ade18:[];})[_0x3d7c42(0x220)]():[],_0x4eeff4=(await Promise[_0x3d7c42(0x42e)](_0xd3a7ad[_0x3d7c42(0x3c6)](_0x4bb549=>this[_0x3d7c42(0x411)][_0x3d7c42(0x249)](_0x1cc43f,{'unitID':_0x1ade08,'type':_0x1cc1bf['UNIVER_SHEET'],'blockID':_0x4bb549})[_0x3d7c42(0x26c)](_0xacff49=>_0xacff49[_0x3d7c42(0x442)]))))['filter'](_0x956979=>!!_0x956979),_0x35b3c1=await _0x557930[_0x3d7c42(0x2a8)](_0x1f6b15,_0x4eeff4,_0x1cc43f);return(_0x16bcca=this[_0x3d7c42(0x3cf)]['get'](_0x1ade08))==null||_0x16bcca['set'](_0x45b9f5,{'workbook':_0x35b3c1}),new Promise(_0x1fb359=>{const _0x42949e=_0x3d7c42,_0x18a1c4=this['_univerInstanceService'][_0x42949e(0x3d7)](_0x9500e8[_0x42949e(0x2e1)][_0x42949e(0x23b)]);_0x18a1c4?(this['_univerInstanceService'][_0x42949e(0x36f)](_0x18a1c4['getUnitId']()),setTimeout(()=>{const _0x4878e4=_0x42949e;this['_createUnit'](_0x35b3c1,_0x2419b8),this[_0x4878e4(0x2e5)][_0x4878e4(0x402)](),_0x1fb359(!0x0);},0x0)):(this[_0x42949e(0x3d2)](_0x35b3c1,_0x2419b8),_0x1fb359(!0x0));});}['_createUnit'](_0x3305f5,_0x460a2d){const _0x1e404d=_0x3cfaa8,_0x12761e=this[_0x1e404d(0x362)][_0x1e404d(0x3ed)](_0x9500e8[_0x1e404d(0x2e1)][_0x1e404d(0x23b)],_0x3305f5);this['_univerInstanceService'][_0x1e404d(0x3d9)](_0x12761e['getUnitId']());const _0x2f19e8=this[_0x1e404d(0x2d6)][_0x1e404d(0x420)]['fetchThroughInterceptors'](this[_0x1e404d(0x2d6)][_0x1e404d(0x420)]['getInterceptPoints']()[_0x1e404d(0x426)]);return _0x460a2d==null||_0x460a2d[_0x1e404d(0x2ea)](_0x3baf97=>{const _0x3713dc=_0x1e404d,_0x57e318=_0x3baf97['mutations'][_0x3713dc(0x3c6)](_0xfeca4b=>({'id':_0xfeca4b['id'],'params':JSON[_0x3713dc(0x414)](_0xfeca4b[_0x3713dc(0x2ce)])}));({..._0x3baf97,'mutations':_0x2f19e8(_0x57e318,null)||_0x57e318}[_0x3713dc(0x3f7)]['forEach'](_0x4944e3=>{const _0x1743a4=_0x3713dc;this[_0x1743a4(0x21f)]['hasCommand'](_0x4944e3['id'])&&this['_commandService']['syncExecuteCommand'](_0x4944e3['id'],_0x4944e3[_0x1743a4(0x363)]);}));}),_0x12761e;}};_0x138ac5=_0x44f83c([_0x4318be(0x0,_0x557930[_0x3cfaa8(0x2e6)]),_0x4318be(0x1,_0x9500e8[_0x3cfaa8(0x2ed)]),_0x4318be(0x2,_0x9500e8['ICommandService']),_0x4318be(0x3,_0x9500e8[_0x3cfaa8(0x311)]),_0x4318be(0x4,_0x9500e8[_0x3cfaa8(0x282)](_0xcf8e98['HTTPService'])),_0x4318be(0x5,_0x9500e8[_0x3cfaa8(0x282)](_0x557930[_0x3cfaa8(0x338)])),_0x4318be(0x6,_0x9500e8[_0x3cfaa8(0x282)](_0x11e5d2[_0x3cfaa8(0x352)]))],_0x138ac5);function _0x1cf902(_0x4fc80e){const _0x24cdc5=_0x3cfaa8;var _0x7ffa96,_0x577a42;const _0x328d0c=[],{entities:_0x1b7f88,historyIds:_0x4bcd37}=_0x4fc80e,{datas:_0x47ba66,users:_0x1f49ff}=_0x1b7f88;for(const _0x58deec of _0x4bcd37){const _0x53b8ae=_0x47ba66[_0x58deec];if(_0x53b8ae){const _0x1b5dcd=!!((_0x7ffa96=_0x1f49ff[_0x53b8ae['userId']])!=null&&_0x7ffa96[_0x24cdc5(0x3e3)]);_0x328d0c[_0x24cdc5(0x313)]({'unitId':_0x53b8ae['unitId'],'user':_0x1b5dcd?'':((_0x577a42=_0x1f49ff==null?void 0x0:_0x1f49ff[_0x53b8ae['userId']])==null?void 0x0:_0x577a42['name'])||'','isAnonymous':_0x1b5dcd,'id':_0x58deec,'time':_0x53b8ae[_0x24cdc5(0x377)]?Number(_0x53b8ae['createTime']):void 0x0,'commands':_0x53b8ae[_0x24cdc5(0x21c)],'startRev':Number(_0x53b8ae['startRevision']),'endRev':Number(_0x53b8ae['endRevision']),'recoverTime':_0x53b8ae[_0x24cdc5(0x3f1)]?Number(_0x53b8ae[_0x24cdc5(0x3f1)]):void 0x0,'additionalFields':_0x53b8ae[_0x24cdc5(0x408)]});}}return _0x328d0c;}var _0x567bd0=Object[_0x3cfaa8(0x3fd)],_0x2669ae=(_0x1aa306,_0x107cbc,_0x5bf560,_0x16b6f1)=>{const _0x38880a=_0x3cfaa8;for(var _0x57f7d5=_0x16b6f1>0x1?void 0x0:_0x16b6f1?_0x567bd0(_0x107cbc,_0x5bf560):_0x107cbc,_0x58d1a9=_0x1aa306[_0x38880a(0x378)]-0x1,_0x9f87e3;_0x58d1a9>=0x0;_0x58d1a9--)(_0x9f87e3=_0x1aa306[_0x58d1a9])&&(_0x57f7d5=_0x9f87e3(_0x57f7d5)||_0x57f7d5);return _0x57f7d5;},_0x4c346a=(_0x8a8df0,_0x1f7937)=>(_0x12caad,_0x2f156e)=>_0x1f7937(_0x12caad,_0x2f156e,_0x8a8df0),_0x1dede6=(_0x1358fd=>(_0x1358fd[_0x3cfaa8(0x280)]=_0x3cfaa8(0x427),_0x1358fd['Exited']=_0x3cfaa8(0x231),_0x1358fd[_0x3cfaa8(0x3c3)]='error',_0x1358fd))(_0x1dede6||{}),_0x218c7d=(_0x6fe165=>(_0x6fe165[_0x3cfaa8(0x3da)]=_0x3cfaa8(0x410),_0x6fe165['Loading']=_0x3cfaa8(0x30c),_0x6fe165[_0x3cfaa8(0x1f6)]='loaded',_0x6fe165))(_0x218c7d||{});const _0x4bb804=_0x3cfaa8(0x2c1);_0x495eca[_0x3cfaa8(0x27c)]=class extends _0x9500e8[_0x3cfaa8(0x3ad)]{constructor(_0x53f9b1,_0x469bea,_0x48dbab,_0x1234e0){const _0x5b9637=_0x3cfaa8;super(),_0x2247a2(this,_0x5b9637(0x30d),new _0x1d2e29[(_0x5b9637(0x3ca))]([])),_0x2247a2(this,'versions$',this[_0x5b9637(0x30d)]['asObservable']()),_0x2247a2(this,_0x5b9637(0x259),new _0x1d2e29[(_0x5b9637(0x3ca))]('')),_0x2247a2(this,_0x5b9637(0x29c),this[_0x5b9637(0x259)][_0x5b9637(0x34f)]()),_0x2247a2(this,'_status$',new _0x1d2e29[(_0x5b9637(0x3ca))]('entered')),_0x2247a2(this,_0x5b9637(0x22b),this[_0x5b9637(0x345)][_0x5b9637(0x34f)]()),_0x2247a2(this,_0x5b9637(0x3b7),new _0x1d2e29[(_0x5b9637(0x3ca))](0x0)),_0x2247a2(this,_0x5b9637(0x269),this['_revertRevision$'][_0x5b9637(0x34f)]()),_0x2247a2(this,'_unitId$',new _0x1d2e29[(_0x5b9637(0x3ca))]('')),_0x2247a2(this,_0x5b9637(0x253),this[_0x5b9637(0x321)][_0x5b9637(0x34f)]()),_0x2247a2(this,_0x5b9637(0x3c5),new _0x1d2e29[(_0x5b9637(0x3ca))](!0x1)),_0x2247a2(this,_0x5b9637(0x3f8),this['_fetching$'][_0x5b9637(0x34f)]()),_0x2247a2(this,_0x5b9637(0x1f4),new _0x1d2e29[(_0x5b9637(0x3ca))]([])),_0x2247a2(this,_0x5b9637(0x3e1),this[_0x5b9637(0x1f4)][_0x5b9637(0x34f)]()),_0x2247a2(this,'_loadingState$',new _0x1d2e29['BehaviorSubject'](_0x5b9637(0x410))),_0x2247a2(this,_0x5b9637(0x38b),this[_0x5b9637(0x343)]['asObservable']()),_0x2247a2(this,'_lastLabel',null),_0x2247a2(this,_0x5b9637(0x224),!0x0),_0x2247a2(this,_0x5b9637(0x3ee),new Map()),_0x2247a2(this,'_historyContainerId'),_0x2247a2(this,_0x5b9637(0x400)),_0x2247a2(this,_0x5b9637(0x3c4)),_0x2247a2(this,'_canRevert',!0x1),_0x2247a2(this,'_loadParams',null),(this[_0x5b9637(0x3a1)]=_0x53f9b1,this[_0x5b9637(0x39c)]=_0x469bea,this['_localeService']=_0x48dbab,this[_0x5b9637(0x21d)]=_0x1234e0);}[_0x3cfaa8(0x2a1)](_0x3722c0){const _0x5dc5a3=_0x3cfaa8;this[_0x5dc5a3(0x3c5)][_0x5dc5a3(0x255)](_0x3722c0);}get[_0x3cfaa8(0x2dd)](){const _0x3c7a44=_0x3cfaa8;return this[_0x3c7a44(0x3c5)][_0x3c7a44(0x34b)];}async[_0x3cfaa8(0x2a5)](_0x11aaf0,_0x1e3dc3,_0x3cad3a){const _0x44a75f=_0x3cfaa8;this[_0x44a75f(0x310)]=_0x1e3dc3,this[_0x44a75f(0x33d)]=_0x3cad3a,await this[_0x44a75f(0x39d)](_0x11aaf0);}async[_0x3cfaa8(0x39d)](_0x4f81e9,_0x526324){const _0x3ddad0=_0x3cfaa8;this[_0x3ddad0(0x321)][_0x3ddad0(0x255)](_0x4f81e9),this[_0x3ddad0(0x390)]=_0x526324!=null?_0x526324:null,this[_0x3ddad0(0x2a1)](!0x0);const _0x529cfb=await this['_historyFetchService'][_0x3ddad0(0x3dd)](_0x4f81e9,_0x526324);if(this['_setFetching'](!0x1),_0x529cfb){const {versions:_0x35330d,lastLabel:_0x177e9e,hasMore:_0x4e5772,members:_0x348484}=_0x529cfb;_0x35330d[_0x3ddad0(0x378)]===0x0&&_0x35330d[_0x3ddad0(0x313)]({'unitId':_0x4f81e9,'id':_0x4bb804,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this['_localeService']['t'](_0x3ddad0(0x2e9)),'commands':[],'isAnonymous':!0x1}),this[_0x3ddad0(0x25b)](_0x35330d,_0x4e5772,_0x177e9e,!0x1,_0x348484),this[_0x3ddad0(0x259)][_0x3ddad0(0x255)](_0x35330d[0x0]['id']);}else this[_0x3ddad0(0x345)][_0x3ddad0(0x255)](_0x3ddad0(0x294));}async[_0x3cfaa8(0x389)](){const _0x4f9905=_0x3cfaa8;if(!this['_lastLabel']||!this[_0x4f9905(0x224)]||this[_0x4f9905(0x2dd)])return!0x1;this[_0x4f9905(0x2a1)](!0x0);const _0x47f721=await this['_historyFetchService'][_0x4f9905(0x3dd)](this['unitId'],{'lastLabel':this[_0x4f9905(0x39b)],...this[_0x4f9905(0x390)]});if(this[_0x4f9905(0x2a1)](!0x1),_0x47f721){const {versions:_0x2ccd84,lastLabel:_0x3c3ea3,hasMore:_0x762c29,members:_0x38a486}=_0x47f721;this[_0x4f9905(0x25b)](_0x2ccd84,_0x762c29,_0x3c3ea3,!0x0,_0x38a486);}else this[_0x4f9905(0x3a1)]['show']({'content':this[_0x4f9905(0x2bc)]['t'](_0x4f9905(0x2d0)),'type':_0x336507[_0x4f9905(0x29f)][_0x4f9905(0x3c3)],'duration':0xbb8});return!0x0;}async[_0x3cfaa8(0x33f)](){const _0x581132=_0x3cfaa8,{unitId:_0x322bf4}=this;if(!_0x322bf4)return;const _0x360d56=await this[_0x581132(0x21d)]['fetchCreatorList'](_0x322bf4);_0x360d56&&this['_creators$'][_0x581132(0x255)](_0x360d56);}async[_0x3cfaa8(0x380)](_0x323da5){const _0x52426d=_0x3cfaa8;var _0x55a563;const _0x46d3ac=(_0x55a563=this[_0x52426d(0x30d)][_0x52426d(0x34b)])==null?void 0x0:_0x55a563['find'](_0x15fd74=>_0x15fd74['id']===_0x323da5),{endRev:_0x245efc}=_0x46d3ac||{};_0x245efc||_0x245efc===0x0?(this[_0x52426d(0x343)][_0x52426d(0x255)]('loading'),await this['_historyFetchService']['loadSheet'](this[_0x52426d(0x2de)],_0x245efc),this['_loadingState$'][_0x52426d(0x255)](_0x52426d(0x357))):this[_0x52426d(0x345)]['next'](_0x52426d(0x294));}async['triggerRevert'](_0x40228a){const _0x29c620=_0x3cfaa8,_0x4fc72e=_0x40228a?this[_0x29c620(0x342)](_0x40228a):this[_0x29c620(0x2fc)]();if(!_0x4fc72e)return;const _0x4a3baa=_0x4fc72e[_0x29c620(0x3e9)],_0x4778da=_0x4fbd0a(_0x4fc72e[_0x29c620(0x235)],this[_0x29c620(0x2bc)][_0x29c620(0x203)]());await this[_0x29c620(0x39c)][_0x29c620(0x2c6)]({'id':_0x29c620(0x385),'title':{'title':this[_0x29c620(0x2bc)]['t'](_0x29c620(0x20f))},'children':{'title':this[_0x29c620(0x2bc)]['t'](_0x29c620(0x43a))+':\x20('+_0x4778da[_0x29c620(0x2d7)]+'\x20'+_0x4778da['time']+')'},'cancelText':this[_0x29c620(0x2bc)]['t'](_0x29c620(0x403)),'confirmText':this[_0x29c620(0x2bc)]['t'](_0x29c620(0x3ff))})&&this['_revertRevision$'][_0x29c620(0x255)](_0x4a3baa);}[_0x3cfaa8(0x25b)](_0x4c1294,_0x5c89b3,_0x29c2ee,_0x39a538,_0x33507b){const _0x3912d0=_0x3cfaa8;this[_0x3912d0(0x3a5)](_0x39a538?this[_0x3912d0(0x30d)][_0x3912d0(0x34b)][_0x3912d0(0x407)](_0x4c1294):_0x4c1294),this[_0x3912d0(0x224)]=_0x5c89b3,this[_0x3912d0(0x39b)]=_0x29c2ee,_0x33507b&&Object['keys'](_0x33507b)['forEach'](_0x5dd1ae=>this['_members'][_0x3912d0(0x406)](_0x5dd1ae,_0x33507b[_0x5dd1ae]));}[_0x3cfaa8(0x2fc)](){const _0x39bc00=_0x3cfaa8;return this[_0x39bc00(0x342)](this[_0x39bc00(0x259)]['value']);}[_0x3cfaa8(0x3a5)](_0xa61ac9){this['_versions$']['next'](_0xa61ac9);}['getVersion'](_0x2cf563){const _0x42c5db=_0x3cfaa8;var _0x4d79b8;return(_0x4d79b8=this['_versions$']['value'])==null?void 0x0:_0x4d79b8[_0x42c5db(0x3a6)](_0x23f97a=>_0x23f97a['id']===_0x2cf563);}['getMember'](_0x1f4e08){const _0x4b9335=_0x3cfaa8;return this[_0x4b9335(0x3ee)]['get'](_0x1f4e08);}['_createMask'](){const _0x1648da=_0x3cfaa8;this[_0x1648da(0x3c4)]=document['createElement'](_0x1648da(0x34e)),this[_0x1648da(0x3c4)][_0x1648da(0x28f)]=_0x1648da(0x37d),this[_0x1648da(0x3c4)][_0x1648da(0x2ad)]['position']=_0x1648da(0x3c9),this[_0x1648da(0x3c4)][_0x1648da(0x2ad)][_0x1648da(0x20d)]='0',this[_0x1648da(0x3c4)][_0x1648da(0x2ad)]['left']='0',this[_0x1648da(0x3c4)][_0x1648da(0x2ad)][_0x1648da(0x21a)]=_0x1648da(0x405),this[_0x1648da(0x3c4)]['style'][_0x1648da(0x2c8)]='100%',this['_maskElement'][_0x1648da(0x2ad)][_0x1648da(0x3cc)]=_0x1648da(0x28a),this[_0x1648da(0x3c4)][_0x1648da(0x2ad)][_0x1648da(0x37e)]='white',this[_0x1648da(0x3c4)][_0x1648da(0x2ad)][_0x1648da(0x40a)]=_0x1648da(0x3c1),this[_0x1648da(0x3c4)][_0x1648da(0x2ad)]['justifyContent']=_0x1648da(0x346),this[_0x1648da(0x3c4)][_0x1648da(0x2ad)][_0x1648da(0x430)]=_0x1648da(0x2f2),this['_maskElement'][_0x1648da(0x2ad)][_0x1648da(0x40a)]=_0x1648da(0x26d),this[_0x1648da(0x400)][_0x1648da(0x210)](this[_0x1648da(0x3c4)]);}[_0x3cfaa8(0x2b9)](){const _0x50dbee=_0x3cfaa8;var _0x2bded9;const _0x4f05d8=(_0x2bded9=document[_0x50dbee(0x429)](this[_0x50dbee(0x310)]))==null?void 0x0:_0x2bded9[_0x50dbee(0x2be)](_0x50dbee(0x32e));_0x4f05d8&&(this[_0x50dbee(0x400)]=_0x4f05d8,this[_0x50dbee(0x2bd)]());}[_0x3cfaa8(0x375)](){const _0x452ee6=_0x3cfaa8;this[_0x452ee6(0x400)]||this[_0x452ee6(0x2b9)](),this['_maskElement']&&(this[_0x452ee6(0x3c4)]['style'][_0x452ee6(0x40a)]=_0x452ee6(0x3c1));}[_0x3cfaa8(0x297)](){const _0x1bf315=_0x3cfaa8;this[_0x1bf315(0x3c4)]&&(this[_0x1bf315(0x3c4)][_0x1bf315(0x2ad)]['display']=_0x1bf315(0x26d));}set['status'](_0x42af17){const _0x272d38=_0x3cfaa8;this[_0x272d38(0x345)][_0x272d38(0x255)](_0x42af17);}set[_0x3cfaa8(0x2f3)](_0x4c52f2){const _0x162bdb=_0x3cfaa8;_0x4c52f2!==this[_0x162bdb(0x259)][_0x162bdb(0x34b)]&&this[_0x162bdb(0x259)][_0x162bdb(0x255)](_0x4c52f2);}get['currentVersion'](){const _0x5c02d5=_0x3cfaa8;return this[_0x5c02d5(0x259)][_0x5c02d5(0x34b)];}set[_0x3cfaa8(0x2de)](_0x1eb71c){const _0x5c4edd=_0x3cfaa8;this[_0x5c4edd(0x321)]['next'](_0x1eb71c);}get[_0x3cfaa8(0x2de)](){const _0x30e709=_0x3cfaa8;return this[_0x30e709(0x321)]['value'];}get[_0x3cfaa8(0x208)](){const _0x49453c=_0x3cfaa8;return this[_0x49453c(0x33d)];}get[_0x3cfaa8(0x3e8)](){const _0x10c164=_0x3cfaa8;return this[_0x10c164(0x343)][_0x10c164(0x34b)];}},_0x495eca[_0x3cfaa8(0x27c)]=_0x2669ae([_0x4c346a(0x0,_0x24c5e6[_0x3cfaa8(0x223)]),_0x4c346a(0x1,_0x24c5e6['IConfirmService']),_0x4c346a(0x2,_0x9500e8['Inject'](_0x9500e8[_0x3cfaa8(0x3e7)])),_0x4c346a(0x3,_0x9500e8[_0x3cfaa8(0x282)](_0x138ac5))],_0x495eca['HistoryManagerService']);function _0x19e473({ref:_0x42d70f,..._0x32eb89}){const _0xa038c0=_0x3cfaa8,{icon:_0x54cf6d,id:_0x3e6f9b,className:_0x443e4a,extend:_0x288a75,..._0x50fef6}=_0x32eb89,_0x25e93e=(_0xa038c0(0x331)+_0x3e6f9b+'\x20'+(_0x443e4a||''))['trim'](),_0x57fc67=_0x429221['useRef']('_'+_0x3f1ad0());return _0x4f8b01(_0x54cf6d,''+_0x3e6f9b,{'defIds':_0x54cf6d['defIds'],'idSuffix':_0x57fc67['current']},{'ref':_0x42d70f,'className':_0x25e93e,..._0x50fef6},_0x288a75);}function _0x4f8b01(_0x235925,_0x58990f,_0x4fcc32,_0x1283c7,_0x48aa40){const _0x531a93=_0x3cfaa8;return _0x429221[_0x531a93(0x387)](_0x235925[_0x531a93(0x43e)],{'key':_0x58990f,..._0x1bc5b6(_0x235925,_0x4fcc32,_0x48aa40),..._0x1283c7},(_0x3dd39d(_0x235925,_0x4fcc32)[_0x531a93(0x24f)]||[])['map']((_0x4c8731,_0x193ba5)=>_0x4f8b01(_0x4c8731,_0x58990f+'-'+_0x235925['tag']+'-'+_0x193ba5,_0x4fcc32,void 0x0,_0x48aa40)));}function _0x1bc5b6(_0x14e6ec,_0x4882f1,_0x196c52){const _0x46c1fb=_0x3cfaa8,_0x2e8713={..._0x14e6ec['attrs']};_0x196c52!=null&&_0x196c52[_0x46c1fb(0x318)]&&_0x2e8713[_0x46c1fb(0x226)]===_0x46c1fb(0x318)&&(_0x2e8713[_0x46c1fb(0x226)]=_0x196c52[_0x46c1fb(0x318)]),_0x14e6ec[_0x46c1fb(0x43e)]===_0x46c1fb(0x358)&&_0x2e8713['id']&&(_0x2e8713['id']=_0x2e8713['id']+_0x4882f1[_0x46c1fb(0x2fd)]),Object[_0x46c1fb(0x39e)](_0x2e8713)[_0x46c1fb(0x2ea)](([_0x5ad260,_0x43c84f])=>{const _0x25d2fb=_0x46c1fb;_0x5ad260===_0x25d2fb(0x358)&&typeof _0x43c84f==_0x25d2fb(0x227)&&(_0x2e8713[_0x5ad260]=_0x43c84f['replace'](/url\(#(.*)\)/,_0x25d2fb(0x2d5)+_0x4882f1[_0x25d2fb(0x2fd)]+')'));});const {defIds:_0x1da7c4}=_0x4882f1;return!_0x1da7c4||_0x1da7c4[_0x46c1fb(0x378)]===0x0||(_0x14e6ec[_0x46c1fb(0x43e)]===_0x46c1fb(0x202)&&_0x2e8713['xlink:href']&&(_0x2e8713[_0x46c1fb(0x3de)]=_0x2e8713[_0x46c1fb(0x3de)]+_0x4882f1[_0x46c1fb(0x2fd)]),Object[_0x46c1fb(0x39e)](_0x2e8713)['forEach'](([_0x432fda,_0x231f80])=>{const _0x34cf0d=_0x46c1fb;typeof _0x231f80=='string'&&(_0x2e8713[_0x432fda]=_0x231f80[_0x34cf0d(0x359)](/url\(#(.*)\)/,_0x34cf0d(0x2d5)+_0x4882f1[_0x34cf0d(0x2fd)]+')'));})),_0x2e8713;}function _0x3dd39d(_0x189eda,_0x4c32f4){const _0x15f756=_0x3cfaa8;var _0x1c7502;const {defIds:_0x5a55fd}=_0x4c32f4;return!_0x5a55fd||_0x5a55fd[_0x15f756(0x378)]===0x0?_0x189eda:_0x189eda[_0x15f756(0x43e)]===_0x15f756(0x25e)&&((_0x1c7502=_0x189eda[_0x15f756(0x24f)])!=null&&_0x1c7502[_0x15f756(0x378)])?{..._0x189eda,'children':_0x189eda[_0x15f756(0x24f)]['map'](_0x3ad017=>typeof _0x3ad017[_0x15f756(0x443)]['id']==_0x15f756(0x227)&&_0x5a55fd&&_0x5a55fd[_0x15f756(0x351)](_0x3ad017[_0x15f756(0x443)]['id'])?{..._0x3ad017,'attrs':{..._0x3ad017[_0x15f756(0x443)],'id':_0x3ad017[_0x15f756(0x443)]['id']+_0x4c32f4['idSuffix']}}:_0x3ad017)}:_0x189eda;}function _0x3f1ad0(){const _0x54a770=_0x3cfaa8;return Math[_0x54a770(0x222)]()[_0x54a770(0x419)](0x24)[_0x54a770(0x35d)](0x2,0x8);}_0x19e473['displayName']=_0x3cfaa8(0x258);const _0x3b8554={'tag':_0x3cfaa8(0x43b),'attrs':{'xmlns':_0x3cfaa8(0x268),'fill':'none','viewBox':_0x3cfaa8(0x35f),'width':_0x3cfaa8(0x2e8),'height':_0x3cfaa8(0x2e8)},'children':[{'tag':'path','attrs':{'fill':_0x3cfaa8(0x3f0),'d':'M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z'}}]},_0x4313c2=_0x429221[_0x3cfaa8(0x29e)](function(_0x169927,_0x598eba){const _0x15ad8e=_0x3cfaa8;return _0x429221[_0x15ad8e(0x387)](_0x19e473,Object[_0x15ad8e(0x441)]({},_0x169927,{'id':_0x15ad8e(0x23c),'ref':_0x598eba,'icon':_0x3b8554}));});_0x4313c2[_0x3cfaa8(0x3d0)]=_0x3cfaa8(0x438);const _0x4fb008={'tag':_0x3cfaa8(0x43b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3cfaa8(0x2f7),'width':'1em','height':_0x3cfaa8(0x2e8)},'children':[{'tag':'g','attrs':{'fill':_0x3cfaa8(0x3f0),'clipPath':_0x3cfaa8(0x214)},'children':[{'tag':_0x3cfaa8(0x245),'attrs':{'d':'M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z'}},{'tag':_0x3cfaa8(0x245),'attrs':{'d':_0x3cfaa8(0x298),'fillRule':_0x3cfaa8(0x413),'clipRule':_0x3cfaa8(0x413)}}]},{'tag':_0x3cfaa8(0x25e),'attrs':{},'children':[{'tag':_0x3cfaa8(0x3bf),'attrs':{'id':_0x3cfaa8(0x3e5)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x3cfaa8(0x2f8),'rx':0x4}}]}]}],'defIds':[_0x3cfaa8(0x3e5)]},_0x45d4c7=_0x429221['forwardRef'](function(_0x3dc16c,_0x33ea40){const _0x421104=_0x3cfaa8;return _0x429221['createElement'](_0x19e473,Object[_0x421104(0x441)]({},_0x3dc16c,{'id':_0x421104(0x307),'ref':_0x33ea40,'icon':_0x4fb008}));});_0x45d4c7[_0x3cfaa8(0x3d0)]=_0x3cfaa8(0x3bb);const _0x28ebc4={'tag':_0x3cfaa8(0x43b),'attrs':{'xmlns':_0x3cfaa8(0x268),'fill':_0x3cfaa8(0x26d),'viewBox':_0x3cfaa8(0x35f),'width':_0x3cfaa8(0x2e8),'height':_0x3cfaa8(0x2e8)},'children':[{'tag':_0x3cfaa8(0x245),'attrs':{'fill':_0x3cfaa8(0x35c),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x3cfaa8(0x35c),'d':_0x3cfaa8(0x2c7),'fillRule':_0x3cfaa8(0x413),'clipRule':_0x3cfaa8(0x413)}}]},_0x1d0a19=_0x429221['forwardRef'](function(_0x3c3630,_0x2c364c){const _0xd63137=_0x3cfaa8;return _0x429221[_0xd63137(0x387)](_0x19e473,Object[_0xd63137(0x441)]({},_0x3c3630,{'id':_0xd63137(0x344),'ref':_0x2c364c,'icon':_0x28ebc4}));});_0x1d0a19[_0x3cfaa8(0x3d0)]=_0x3cfaa8(0x316);function _0x1ced9b(){const _0x2c228f=_0x3cfaa8;var _0xdab31f;const _0x1c3b39=_0x24c5e6[_0x2c228f(0x2a2)](_0x495eca[_0x2c228f(0x27c)]),_0x4c5a7b=_0x24c5e6[_0x2c228f(0x2a2)](_0x9500e8[_0x2c228f(0x3e7)]),_0x17cfb9=_0x429221[_0x2c228f(0x2ab)](()=>{const _0x5df8d5=_0x2c228f;_0x1c3b39[_0x5df8d5(0x2ef)]=_0x1dede6[_0x5df8d5(0x31b)];},[_0x1c3b39]),_0x10adcd=_0x429221[_0x2c228f(0x2ab)](()=>{_0x1c3b39['triggerRevert']();},[_0x1c3b39]),_0x4cca8b=_0x24c5e6[_0x2c228f(0x287)](_0x1c3b39[_0x2c228f(0x29c)]),_0x17ff6c=_0x24c5e6[_0x2c228f(0x287)](_0x1c3b39['versions$']),_0x227e87=_0x4cca8b===((_0xdab31f=_0x17ff6c==null?void 0x0:_0x17ff6c[0x0])==null?void 0x0:_0xdab31f['id']),_0x5a5c19=_0x4cca8b!==''&&!_0x227e87&&_0x1c3b39[_0x2c228f(0x208)];return _0x2002a3['jsxs'](_0x2c228f(0x34e),{'className':_0x336507['clsx'](_0x2c228f(0x1f3),_0x336507[_0x2c228f(0x22a)]),'children':[_0x2002a3['jsx']('a',{'className':_0x2c228f(0x320),'role':'button','onClick':_0x17cfb9,'children':_0x2002a3[_0x2c228f(0x262)](_0x4313c2,{'className':_0x2c228f(0x40e)})}),_0x2002a3['jsx'](_0x2c228f(0x34e),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x5a5c19&&_0x2002a3[_0x2c228f(0x262)](_0x336507[_0x2c228f(0x3f4)],{'variant':_0x2c228f(0x34c),'onClick':_0x10adcd,'children':_0x4c5a7b['t'](_0x2c228f(0x31f))})})]});}var _0x43888b=Object['getOwnPropertyDescriptor'],_0x4524dd=(_0xb5d112,_0xc8107f,_0x3584f5,_0x28eb60)=>{const _0x3f065d=_0x3cfaa8;for(var _0x4d4fd3=_0x28eb60>0x1?void 0x0:_0x28eb60?_0x43888b(_0xc8107f,_0x3584f5):_0xc8107f,_0x2dc2fb=_0xb5d112[_0x3f065d(0x378)]-0x1,_0x194fa9;_0x2dc2fb>=0x0;_0x2dc2fb--)(_0x194fa9=_0xb5d112[_0x2dc2fb])&&(_0x4d4fd3=_0x194fa9(_0x4d4fd3)||_0x4d4fd3);return _0x4d4fd3;},_0x52c437=(_0x348adb,_0x3469d3)=>(_0x258586,_0x55071c)=>_0x3469d3(_0x258586,_0x55071c,_0x348adb);let _0x19176e=class extends _0x9500e8['Disposable']{constructor(_0xe5464d,_0x3c9ebb,_0x1db363,_0x58d58c,_0x15411e,_0x69aae5){const _0x45287d=_0x3cfaa8;super(),this[_0x45287d(0x422)]=_0xe5464d,this[_0x45287d(0x444)]=_0x3c9ebb,this[_0x45287d(0x3a1)]=_0x1db363,this[_0x45287d(0x2bc)]=_0x58d58c,this[_0x45287d(0x2d8)]=_0x15411e,this[_0x45287d(0x1fd)]=_0x69aae5,this['_init']();}[_0x3cfaa8(0x40d)](){const _0xa5d792=_0x3cfaa8;this['disposeWithMe'](this['_historyManagerService'][_0xa5d792(0x29c)][_0xa5d792(0x395)](_0x356ef4=>{const _0x71a642=_0xa5d792;_0x356ef4&&this[_0x71a642(0x2d8)][_0x71a642(0x380)](_0x356ef4);})),this[_0xa5d792(0x2d3)](this[_0xa5d792(0x422)][_0xa5d792(0x216)]['subscribe'](_0xe5c895=>{const _0x4ce9a4=_0xa5d792,_0x5c6ef1=this[_0x4ce9a4(0x2d8)]['unitId'];_0x5c6ef1&&(_0xe5c895[_0x4ce9a4(0x2c9)]===_0x9878ef[_0x4ce9a4(0x3c8)]&&_0xe5c895[_0x4ce9a4(0x34b)]===!0x0&&this['_permissionService'][_0x4ce9a4(0x2a7)](new _0x11e5d2[(_0x4ce9a4(0x257))](_0x5c6ef1)['id'],!0x1),_0xe5c895[_0x4ce9a4(0x2c9)]===_0x9878ef['RenameSheet']&&_0xe5c895[_0x4ce9a4(0x34b)]===!0x0&&this[_0x4ce9a4(0x422)][_0x4ce9a4(0x2a7)](new _0x11e5d2['WorkbookRenameSheetPermission'](_0x5c6ef1)['id'],!0x1),_0xe5c895['subType']===_0x9878ef[_0x4ce9a4(0x3b8)]&&_0xe5c895['value']===!0x0&&this[_0x4ce9a4(0x422)][_0x4ce9a4(0x2a7)](new _0x11e5d2[(_0x4ce9a4(0x2df))](_0x5c6ef1)['id'],!0x1),_0xe5c895['subType']===_0x9878ef[_0x4ce9a4(0x28b)]&&_0xe5c895[_0x4ce9a4(0x34b)]===!0x0&&this[_0x4ce9a4(0x422)]['updatePermissionPoint'](new _0x11e5d2[(_0x4ce9a4(0x3b3))](_0x5c6ef1)['id'],!0x1),_0xe5c895[_0x4ce9a4(0x2c9)]===_0x9878ef['Comment']&&_0xe5c895[_0x4ce9a4(0x34b)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x11e5d2[(_0x4ce9a4(0x257))](_0x5c6ef1)['id'],!0x1),_0xe5c895[_0x4ce9a4(0x2c9)]===_0x9878ef[_0x4ce9a4(0x3ec)]&&_0xe5c895[_0x4ce9a4(0x34b)]===!0x0&&this[_0x4ce9a4(0x422)]['updatePermissionPoint'](new _0x11e5d2[(_0x4ce9a4(0x257))](_0x5c6ef1)['id'],!0x1));})),this[_0xa5d792(0x2d3)](this[_0xa5d792(0x444)][_0xa5d792(0x401)](_0x24c5e6['BuiltInUIPart'][_0xa5d792(0x399)],()=>_0x24c5e6[_0xa5d792(0x1fb)](_0x1ced9b,this['_injector'])));let _0x561b55;this[_0xa5d792(0x2d3)](this[_0xa5d792(0x2d8)][_0xa5d792(0x38b)][_0xa5d792(0x395)](_0x4d01c1=>{const _0x3522b0=_0xa5d792;_0x561b55==null||_0x561b55[_0x3522b0(0x3df)](),_0x4d01c1===_0x218c7d[_0x3522b0(0x212)]&&(this['_historyManagerService']['showMask'](),_0x561b55=this['_messageService'][_0x3522b0(0x37c)]({'type':_0x336507[_0x3522b0(0x29f)]['Info'],'content':this[_0x3522b0(0x2bc)]['t']('editHistory.info.loading')})),_0x4d01c1===_0x218c7d['Loaded']&&this[_0x3522b0(0x2d8)][_0x3522b0(0x297)]();}));}};_0x19176e=_0x4524dd([_0x52c437(0x0,_0x9500e8[_0x3cfaa8(0x3b5)]),_0x52c437(0x1,_0x24c5e6[_0x3cfaa8(0x384)]),_0x52c437(0x2,_0x24c5e6['IMessageService']),_0x52c437(0x3,_0x9500e8[_0x3cfaa8(0x282)](_0x9500e8[_0x3cfaa8(0x3e7)])),_0x52c437(0x4,_0x9500e8[_0x3cfaa8(0x282)](_0x495eca[_0x3cfaa8(0x27c)])),_0x52c437(0x5,_0x9500e8[_0x3cfaa8(0x282)](_0x9500e8[_0x3cfaa8(0x266)]))],_0x19176e);var _0x30a432=Object['getOwnPropertyDescriptor'],_0x23f1f1=(_0x4ed89d,_0x1602c4,_0x3ac408,_0x4c0c99)=>{const _0x28cc9d=_0x3cfaa8;for(var _0x5cdaf8=_0x4c0c99>0x1?void 0x0:_0x4c0c99?_0x30a432(_0x1602c4,_0x3ac408):_0x1602c4,_0x457178=_0x4ed89d[_0x28cc9d(0x378)]-0x1,_0x5c3e85;_0x457178>=0x0;_0x457178--)(_0x5c3e85=_0x4ed89d[_0x457178])&&(_0x5cdaf8=_0x5c3e85(_0x5cdaf8)||_0x5cdaf8);return _0x5cdaf8;},_0x4a0c89=(_0x193715,_0x9b4eaa)=>(_0x18ce9a,_0x3a4204)=>_0x9b4eaa(_0x18ce9a,_0x3a4204,_0x193715);let _0x5659ad=class extends _0x9500e8[_0x3cfaa8(0x3ad)]{constructor(_0x4e1dfd,_0x466045,_0x1f8c5a){const _0x486863=_0x3cfaa8;super(),_0x2247a2(this,_0x486863(0x428),new Map()),_0x2247a2(this,_0x486863(0x339),new _0x1d2e29[(_0x486863(0x3ca))]({'ranges':new Map(),'active':null})),_0x2247a2(this,_0x486863(0x37b),this['_currentVersionDiff$']['asObservable']()),(this[_0x486863(0x2d8)]=_0x4e1dfd,this[_0x486863(0x261)]=_0x466045,this[_0x486863(0x411)]=_0x1f8c5a,this[_0x486863(0x40d)]());}[_0x3cfaa8(0x40d)](){const _0x2b9ecc=_0x3cfaa8;this[_0x2b9ecc(0x428)]=new Map(),this[_0x2b9ecc(0x2d3)](this[_0x2b9ecc(0x2d8)][_0x2b9ecc(0x253)][_0x2b9ecc(0x395)](_0x504cea=>{const _0x4412fc=_0x2b9ecc;_0x504cea&&!this[_0x4412fc(0x428)][_0x4412fc(0x3db)](_0x504cea)&&this[_0x4412fc(0x428)][_0x4412fc(0x406)](_0x504cea,new Map());})),this['disposeWithMe'](this['_historyManagerService'][_0x2b9ecc(0x29c)][_0x2b9ecc(0x395)](async _0x52070f=>{const _0x42fc19=_0x2b9ecc;var _0xe9f119;_0x52070f&&(await this[_0x42fc19(0x246)](_0x52070f),this[_0x42fc19(0x339)][_0x42fc19(0x255)](((_0xe9f119=this[_0x42fc19(0x428)][_0x42fc19(0x2b5)](this[_0x42fc19(0x2d8)][_0x42fc19(0x2de)]))==null?void 0x0:_0xe9f119[_0x42fc19(0x2b5)](_0x52070f))||{'ranges':new Map(),'active':null}));}));}async[_0x3cfaa8(0x246)](_0x476430){const _0x15c999=_0x3cfaa8;var _0x4c1510,_0x266aab;const _0x5cd8dc=this[_0x15c999(0x2d8)]['getVersion'](_0x476430),_0x56fe81=this[_0x15c999(0x2d8)][_0x15c999(0x2de)];if(!_0x5cd8dc||!_0x56fe81)return;const _0x1bb181=this[_0x15c999(0x428)][_0x15c999(0x2b5)](_0x56fe81);if(_0x1bb181||this[_0x15c999(0x428)][_0x15c999(0x406)](_0x56fe81,new Map()),(_0x4c1510=this['_diffRangesMap'][_0x15c999(0x2b5)](_0x56fe81))!=null&&_0x4c1510[_0x15c999(0x3db)](_0x5cd8dc['id']))return;const {startRev:_0x4fe4c1,endRev:_0xa9c2d6}=_0x5cd8dc;if(_0x4fe4c1===0x1){_0x1bb181[_0x15c999(0x406)](_0x5cd8dc['id'],{'ranges':new Map(),'active':null});return;}const _0x5e4b43=_0x4fe4c1-0x1,_0x4dcd27=_0xa9c2d6,_0x466f97=await this[_0x15c999(0x411)]['fetchMissingChangesets']({},{'unitID':_0x56fe81,'from':_0x5e4b43,'to':_0x4dcd27,'type':_0x1cc1bf[_0x15c999(0x23b)]});if(((_0x266aab=_0x466f97[_0x15c999(0x294)])==null?void 0x0:_0x266aab[_0x15c999(0x243)])===_0x39da7c['OK']){const _0x4461ba=_0x466f97['changesets'][_0x15c999(0x3c6)](_0x4fc060=>((_0x4fc060['mutations']===null||_0x4fc060['mutations']===void 0x0)&&(_0x4fc060[_0x15c999(0x3f7)]=[]),_0x557930['parseProtocolChangeset'](_0x4fc060)))['map'](_0x17090e=>_0x17090e[_0x15c999(0x3f7)][_0x15c999(0x3c6)](_0x10cf8b=>({..._0x10cf8b,'params':{..._0x10cf8b[_0x15c999(0x363)],'memberId':_0x17090e[_0x15c999(0x32d)]}})))[_0x15c999(0x220)](),_0x30e3c3=this[_0x15c999(0x42f)](_0x4461ba),_0x19cbb1=this[_0x15c999(0x360)](_0x4461ba),_0x322c99=this[_0x15c999(0x32c)](_0x30e3c3);_0x1bb181[_0x15c999(0x406)](_0x5cd8dc['id'],{'ranges':_0x322c99,'active':_0x19cbb1});}}['_transformMutationByOrder'](_0x413713){const _0x502e91=_0x3cfaa8;let _0x10f27f=[];for(let _0x40e154=0x0;_0x40e154<_0x413713[_0x502e91(0x378)];_0x40e154++){const _0x6488e4=_0x413713[_0x40e154];if(_0x10f27f[_0x502e91(0x313)](_0x6488e4),_0x40e154!==_0x413713[_0x502e91(0x378)]-0x1){const _0x562a05=_0x413713[_0x40e154+0x1],_0x2ff892=this[_0x502e91(0x261)]['transformMutations'](_0x10f27f,[_0x562a05]);_0x557930[_0x502e91(0x284)](_0x2ff892)?_0x10f27f=_0x2ff892[_0x502e91(0x2e0)]:_0x10f27f=[];}}return _0x10f27f;}[_0x3cfaa8(0x360)](_0x3207d2){const _0x2e99e6=_0x3cfaa8;let _0xa6494d=[];return _0x3207d2[_0x2e99e6(0x2ea)](_0xc20dc1=>{const _0x3cfc71=_0x2e99e6;if(_0xc20dc1['id']===_0x11e5d2[_0x3cfc71(0x27b)]['id']){const _0x3e39b4=_0xc20dc1[_0x3cfc71(0x363)];_0xa6494d[_0x3cfc71(0x313)](_0x3e39b4[_0x3cfc71(0x22d)]['id']);}else{if(_0xc20dc1['id']===_0x11e5d2[_0x3cfc71(0x2bf)]['id']){const _0x5fe0b2=_0xc20dc1[_0x3cfc71(0x363)];_0xa6494d[_0x3cfc71(0x378)]>0x0&&(_0xa6494d=_0xa6494d[_0x3cfc71(0x415)](_0x52902c=>_0x52902c!==_0x5fe0b2[_0x3cfc71(0x2af)]));}else{if(_0xc20dc1['id']===_0x11e5d2['SetWorksheetHideMutation']['id']){const _0x12a12c=_0xc20dc1[_0x3cfc71(0x363)];_0x12a12c[_0x3cfc71(0x289)]?_0xa6494d=_0xa6494d[_0x3cfc71(0x415)](_0x28e710=>_0x28e710!==_0x12a12c[_0x3cfc71(0x2af)]):_0xa6494d[_0x3cfc71(0x313)](_0x12a12c['subUnitId']);}else{const _0x430051=_0xc20dc1['params'];_0x430051[_0x3cfc71(0x2af)]&&_0xa6494d[_0x3cfc71(0x313)](_0x430051['subUnitId']);}}}}),_0xa6494d[_0x2e99e6(0x378)]>0x0?_0xa6494d[_0xa6494d[_0x2e99e6(0x378)]-0x1]:null;}['_extractRanges'](_0x453e2b){const _0x1664b9=_0x3cfaa8,_0x1aef46=new Map();return _0x453e2b[_0x1664b9(0x2ea)](_0x5de64c=>{const _0x5b97de=_0x1664b9;var _0x5a18c3,_0x552d18;const _0x1b377a=(_0x5a18c3=_0x5de64c[_0x5b97de(0x363)])==null?void 0x0:_0x5a18c3['memberId'];if(_0x1b377a){_0x1aef46[_0x5b97de(0x3db)](_0x1b377a)||_0x1aef46['set'](_0x1b377a,[]);const _0x28a906=this[_0x5b97de(0x36d)](_0x5de64c);(_0x552d18=_0x1aef46[_0x5b97de(0x2b5)](_0x1b377a))==null||_0x552d18['push'](..._0x28a906);}}),_0x1aef46[_0x1664b9(0x2ea)]((_0x14768c,_0x11ae2e)=>{const _0x57c503=_0x1664b9;_0x1aef46[_0x57c503(0x406)](_0x11ae2e,this[_0x57c503(0x315)](_0x14768c));}),_0x1aef46;}[_0x3cfaa8(0x36d)](_0x4a5ec8){const _0x2b76a6=_0x3cfaa8;switch(_0x4a5ec8['id']){case _0x11e5d2[_0x2b76a6(0x228)]['id']:{const _0x31fbb9=_0x4a5ec8['params'];return _0x31fbb9[_0x2b76a6(0x2b6)][_0x2b76a6(0x3c6)](_0x472f3c=>_0x472f3c['ranges'][_0x2b76a6(0x3c6)](_0x515107=>({'range':_0x515107,'unitId':_0x31fbb9['unitId'],'subUnitId':_0x31fbb9[_0x2b76a6(0x2af)]})))['flat']();}case _0x11e5d2[_0x2b76a6(0x3d3)]['id']:{const _0x2b0e43=_0x4a5ec8[_0x2b76a6(0x363)];return _0x2b0e43[_0x2b76a6(0x3b1)][_0x2b76a6(0x3c6)](_0x17e67c=>({'range':_0x17e67c,'unitId':_0x2b0e43['unitId'],'subUnitId':_0x2b0e43[_0x2b76a6(0x2af)]}));}case _0x11e5d2['InsertRowMutation']['id']:{const _0x450463=_0x4a5ec8[_0x2b76a6(0x363)];return[{'range':_0x450463['range'],'unitId':_0x450463[_0x2b76a6(0x2de)],'subUnitId':_0x450463[_0x2b76a6(0x2af)]}];}case _0x11e5d2[_0x2b76a6(0x27e)]['id']:{const _0x14b4bc=_0x4a5ec8[_0x2b76a6(0x363)];return[{'range':_0x14b4bc[_0x2b76a6(0x3a7)],'unitId':_0x14b4bc[_0x2b76a6(0x2de)],'subUnitId':_0x14b4bc[_0x2b76a6(0x2af)]}];}case _0x11e5d2[_0x2b76a6(0x2db)]['id']:{const _0x3f41b2=_0x4a5ec8['params'],{from:_0x8f3f2c,to:_0xfb6beb,unitId:_0x322994}=_0x3f41b2;return[{'range':_0xf07640(_0x8f3f2c['value']),'unitId':_0x322994,'subUnitId':_0x8f3f2c[_0x2b76a6(0x2af)]},{'range':_0xf07640(_0xfb6beb['value']),'unitId':_0x322994,'subUnitId':_0xfb6beb[_0x2b76a6(0x2af)]}];}case _0x11e5d2['MoveRowsMutation']['id']:{const _0x1c640b=_0x4a5ec8['params'],{unitId:_0x5ca03e,subUnitId:_0x366724,sourceRange:_0x15d7ea,targetRange:_0x274b2f}=_0x1c640b,_0x28ca99=_0x15d7ea['endRow']-_0x15d7ea[_0x2b76a6(0x1fc)]+0x1;return[{'range':_0x274b2f['startRow']<=_0x15d7ea[_0x2b76a6(0x1fc)]?_0x274b2f:{..._0x274b2f,'startRow':_0x274b2f['startRow']-_0x28ca99,'endRow':_0x274b2f[_0x2b76a6(0x292)]-_0x28ca99},'unitId':_0x5ca03e,'subUnitId':_0x366724}];}case _0x11e5d2[_0x2b76a6(0x20e)]['id']:{const _0x26d339=_0x4a5ec8['params'],{unitId:_0x3d2020,subUnitId:_0x1dfdd8,sourceRange:_0x4a013b,targetRange:_0x448763}=_0x26d339,_0x4033de=_0x4a013b['endColumn']-_0x4a013b[_0x2b76a6(0x234)]+0x1;return[{'range':_0x448763[_0x2b76a6(0x234)]<=_0x4a013b[_0x2b76a6(0x234)]?_0x448763:{..._0x448763,'startColumn':_0x448763[_0x2b76a6(0x234)]-_0x4033de,'endColumn':_0x448763[_0x2b76a6(0x2bb)]-_0x4033de},'unitId':_0x3d2020,'subUnitId':_0x1dfdd8}];}case _0x11e5d2[_0x2b76a6(0x3f5)]['id']:{const _0x4bf7ab=_0x4a5ec8[_0x2b76a6(0x363)],{values:_0x1ba788,unitId:_0x1f0f52,subUnitId:_0x24b20a}=_0x4bf7ab;return Object[_0x2b76a6(0x439)](_0x1ba788)[_0x2b76a6(0x3c6)](_0x472d69=>_0x472d69['ranges']['map'](_0x4e0404=>({'range':_0x4e0404,'unitId':_0x1f0f52,'subUnitId':_0x24b20a})))[_0x2b76a6(0x220)]();}case _0x11e5d2[_0x2b76a6(0x1f2)]['id']:{const _0x16afd3=_0x4a5ec8[_0x2b76a6(0x363)],{ranges:_0x24fcdb,unitId:_0x25b4ba,subUnitId:_0x1ba759}=_0x16afd3;return _0x24fcdb[_0x2b76a6(0x3c6)](_0x2aa72c=>({'range':_0x2aa72c,'unitId':_0x25b4ba,'subUnitId':_0x1ba759}));}case _0x11e5d2[_0x2b76a6(0x283)]['id']:{const _0x1dafb2=_0x4a5ec8[_0x2b76a6(0x363)],{unitId:_0x1f4526,subUnitId:_0x52514e,range:_0x1214f8}=_0x1dafb2;return[{'range':_0x1214f8,'unitId':_0x1f4526,'subUnitId':_0x52514e}];}case _0x11e5d2[_0x2b76a6(0x2c0)]['id']:{const _0x251540=_0x4a5ec8['params'];return _0x251540[_0x2b76a6(0x38a)][_0x2b76a6(0x3b1)][_0x2b76a6(0x3c6)](_0x5cff48=>({'range':_0x5cff48,'unitId':_0x251540[_0x2b76a6(0x2de)],'subUnitId':_0x251540['subUnitId']}));}case _0x11e5d2[_0x2b76a6(0x286)]['id']:{const _0x670bdc=_0x4a5ec8[_0x2b76a6(0x363)];return _0x670bdc[_0x2b76a6(0x328)]?_0x38bb31(_0x670bdc[_0x2b76a6(0x328)])[_0x2b76a6(0x3c6)](_0x9f7ca1=>({'range':_0x9f7ca1,'unitId':_0x670bdc[_0x2b76a6(0x2de)],'subUnitId':_0x670bdc[_0x2b76a6(0x2af)]})):[];}case _0x5c5802[_0x2b76a6(0x391)]['id']:{const _0x2f6612=_0x4a5ec8['params'];return[{'range':_0x2f6612[_0x2b76a6(0x3a7)],'unitId':_0x2f6612[_0x2b76a6(0x2de)],'subUnitId':_0x2f6612[_0x2b76a6(0x2af)]}];}case _0x311529[_0x2b76a6(0x23d)]['id']:{const _0x68159e=_0x4a5ec8['params'];return(Array[_0x2b76a6(0x381)](_0x68159e[_0x2b76a6(0x38a)])?_0x68159e[_0x2b76a6(0x38a)]:[_0x68159e[_0x2b76a6(0x38a)]])[_0x2b76a6(0x3c6)](_0x3fd828=>_0x3fd828[_0x2b76a6(0x3b1)][_0x2b76a6(0x3c6)](_0x17785d=>({'range':_0x17785d,'unitId':_0x68159e[_0x2b76a6(0x2de)],'subUnitId':_0x68159e[_0x2b76a6(0x2af)]})))[_0x2b76a6(0x220)]();}case _0x22a692[_0x2b76a6(0x33b)]['id']:{const _0x435753=_0x4a5ec8['params'];return _0x435753[_0x2b76a6(0x38a)][_0x2b76a6(0x3b1)][_0x2b76a6(0x3c6)](_0x3cbb54=>({'range':_0x3cbb54,'unitId':_0x435753[_0x2b76a6(0x2de)],'subUnitId':_0x435753[_0x2b76a6(0x2af)]}));}default:return[];}}[_0x3cfaa8(0x315)](_0x34886f){const _0x57366c=_0x3cfaa8;if(_0x34886f[_0x57366c(0x378)]<=0x1)return _0x34886f;const _0xa6aab1=new Map();return _0x34886f[_0x57366c(0x2ea)](_0x509784=>{const _0x3b9e88=_0x57366c;var _0x5c4457;const {unitId:_0x35b8aa,subUnitId:_0xb51463}=_0x509784,_0x117d07=_0x35b8aa+'-'+_0xb51463;_0xa6aab1[_0x3b9e88(0x3db)](_0x117d07)?(_0x5c4457=_0xa6aab1[_0x3b9e88(0x2b5)](_0x117d07))==null||_0x5c4457[_0x3b9e88(0x313)](_0x509784):_0xa6aab1['set'](_0x117d07,[_0x509784]);}),Array['from'](_0xa6aab1[_0x57366c(0x439)]())[_0x57366c(0x3c6)](_0x5627c2=>new _0x11e5d2[(_0x57366c(0x248))]()[_0x57366c(0x3be)](..._0x5627c2[_0x57366c(0x3c6)](_0x41a804=>_0x41a804[_0x57366c(0x3a7)]))['merge']()[_0x57366c(0x3c6)](_0x293da1=>({'range':_0x293da1,'unitId':_0x5627c2[0x0][_0x57366c(0x2de)],'subUnitId':_0x5627c2[0x0]['subUnitId']})))[_0x57366c(0x220)]();}};_0x5659ad=_0x23f1f1([_0x4a0c89(0x0,_0x9500e8[_0x3cfaa8(0x282)](_0x495eca[_0x3cfaa8(0x27c)])),_0x4a0c89(0x1,_0x557930[_0x3cfaa8(0x270)]),_0x4a0c89(0x2,_0x557930[_0x3cfaa8(0x2e6)])],_0x5659ad);function _0xf07640(_0x1da139){const _0x3112b3=_0x3cfaa8;return new _0x9500e8[(_0x3112b3(0x30e))](_0x1da139)[_0x3112b3(0x434)]();}function _0x38bb31(_0x5b01c3){const _0x4caed4=_0x3cfaa8,_0x522604=new _0x9500e8[(_0x4caed4(0x30e))](_0x5b01c3),_0x5ce63c=new _0x9500e8['ObjectMatrix']();return _0x522604['forValue']((_0x279d8f,_0x1844f1)=>{const _0x59ae71=_0x4caed4;_0x5ce63c[_0x59ae71(0x274)](_0x279d8f,_0x1844f1,0x1);}),_0x11e5d2[_0x4caed4(0x1f7)](_0x5ce63c);}var _0x46adf3=Object[_0x3cfaa8(0x3fd)],_0x524499=(_0x1c6463,_0x233038,_0x2e8177,_0x49f26a)=>{for(var _0xd9fbb6=_0x49f26a>0x1?void 0x0:_0x49f26a?_0x46adf3(_0x233038,_0x2e8177):_0x233038,_0x355bce=_0x1c6463['length']-0x1,_0x1644ed;_0x355bce>=0x0;_0x355bce--)(_0x1644ed=_0x1c6463[_0x355bce])&&(_0xd9fbb6=_0x1644ed(_0xd9fbb6)||_0xd9fbb6);return _0xd9fbb6;},_0x28315d=(_0x39cca5,_0x3c8737)=>(_0x4926e0,_0x445410)=>_0x3c8737(_0x4926e0,_0x445410,_0x39cca5);let _0x592771=class extends _0x9500e8[_0x3cfaa8(0x3ad)]{constructor(_0xd544c4,_0x3e0a27,_0x440c92,_0x4dfcb2,_0x493be0,_0x586b95,_0x2032c1){const _0x59c6e1=_0x3cfaa8;super(),_0x2247a2(this,'_diffs',new Set()),_0x2247a2(this,_0x59c6e1(0x300),null),(this[_0x59c6e1(0x26a)]=_0xd544c4,this[_0x59c6e1(0x2d8)]=_0x3e0a27,this[_0x59c6e1(0x326)]=_0x440c92,this['_univerInstanceService']=_0x4dfcb2,this['_renderManagerService']=_0x493be0,this['_sheetSkeletonManagerService']=_0x586b95,this['_commandService']=_0x2032c1,this[_0x59c6e1(0x40d)]());}[_0x3cfaa8(0x40d)](){const _0x11f711=_0x3cfaa8;this[_0x11f711(0x271)](),this[_0x11f711(0x2a6)]();}[_0x3cfaa8(0x271)](){const _0x27c5e5=_0x3cfaa8;this['disposeWithMe'](_0x1d2e29[_0x27c5e5(0x225)]([this[_0x27c5e5(0x2d8)][_0x27c5e5(0x38b)],this[_0x27c5e5(0x24e)]['currentSkeleton$']])[_0x27c5e5(0x370)](_0x1d2e29['switchMap'](([_0x497415,_0xb718df])=>{const _0x5334f3=_0x27c5e5;if(_0x497415===_0x218c7d['Loaded']&&_0xb718df){const _0x5a3b5b=_0xb718df[_0x5334f3(0x435)];return this[_0x5334f3(0x326)][_0x5334f3(0x37b)][_0x5334f3(0x370)](_0x1d2e29[_0x5334f3(0x3c6)](_0x1f6e09=>{const _0x35c19e=_0x5334f3,_0x4185b0=new Map();return _0x1f6e09[_0x35c19e(0x3b1)][_0x35c19e(0x2ea)]((_0xf7d77f,_0x5c9645)=>{const _0x2cd9e7=_0x35c19e,_0x2e826b=_0xf7d77f[_0x2cd9e7(0x415)](_0x1d4377=>_0x1d4377[_0x2cd9e7(0x2af)]===_0x5a3b5b);_0x4185b0['set'](_0x5c9645,_0x2e826b);}),{'skeleton':_0xb718df,'diffs':_0x4185b0};}));}return _0x1d2e29['of']({'skeleton':null,'diffs':new Map()});}))[_0x27c5e5(0x395)](({skeleton:_0x5a9889,diffs:_0x3eb604})=>{const _0x1438e3=_0x27c5e5;this['_removeDiffMarks'](),_0x5a9889&&this[_0x1438e3(0x436)](_0x5a9889,_0x3eb604);})),this[_0x27c5e5(0x2d3)](this[_0x27c5e5(0x24e)]['currentSkeleton$'][_0x27c5e5(0x395)](_0xa0a2d7=>{const _0x5ead42=_0x27c5e5;if(_0xa0a2d7==null)return;const {skeleton:_0x41eaa5}=_0xa0a2d7,{scene:_0x3b85f6}=this['_context'];_0x3b85f6[_0x5ead42(0x260)][_0x5ead42(0x3b6)](_0x9500e8[_0x5ead42(0x3e6)](_0x435b8f=>{const _0x5b0bde=_0x5ead42;var _0x518b7f,_0x29bc11;const {offsetX:_0x55ce7c,offsetY:_0x323e1a}=_0x435b8f,{x:_0x37ac56,y:_0x1cacbd}=_0x3b85f6[_0x5b0bde(0x341)](_0xf472c4[_0x5b0bde(0x3d8)][_0x5b0bde(0x32f)]([_0x55ce7c,_0x323e1a])),{scaleX:_0x52e377,scaleY:_0x5c27d5}=_0x3b85f6[_0x5b0bde(0x2ee)](),_0x17300d=_0x3b85f6[_0x5b0bde(0x3bc)](_0xf472c4[_0x5b0bde(0x22f)][_0x5b0bde(0x2a4)]),_0xffb63b=_0x3b85f6[_0x5b0bde(0x33e)](_0xf472c4[_0x5b0bde(0x3d8)][_0x5b0bde(0x32f)]([_0x37ac56,_0x1cacbd]),_0x17300d),_0x329f08=_0x41eaa5[_0x5b0bde(0x2e3)](_0x55ce7c,_0x323e1a,_0x52e377,_0x5c27d5,_0xffb63b);((_0x518b7f=this[_0x5b0bde(0x300)])==null?void 0x0:_0x518b7f[_0x5b0bde(0x325)])===_0x329f08[_0x5b0bde(0x325)]&&((_0x29bc11=this[_0x5b0bde(0x300)])==null?void 0x0:_0x29bc11[_0x5b0bde(0x273)])===_0x329f08[_0x5b0bde(0x273)]||this['_diffs'][_0x5b0bde(0x2ea)](_0x431aca=>{const _0x20f7b6=_0x5b0bde;_0x431aca[_0x20f7b6(0x3b9)](_0x329f08);});},0x64));}));}[_0x3cfaa8(0x2a6)](){const _0x399234=_0x3cfaa8;this[_0x399234(0x2d3)](this[_0x399234(0x2d8)][_0x399234(0x38b)][_0x399234(0x395)](_0x431e16=>{const _0x4c8ef3=_0x399234,_0x580d19=new _0x9500e8[(_0x4c8ef3(0x3f9))]();return _0x431e16===_0x218c7d[_0x4c8ef3(0x1f6)]&&(_0x580d19[_0x4c8ef3(0x3df)](),_0x580d19[_0x4c8ef3(0x3be)](this['_versionDiffService'][_0x4c8ef3(0x37b)][_0x4c8ef3(0x395)](_0x2cc513=>{const _0x4b6a85=_0x4c8ef3;_0x2cc513[_0x4b6a85(0x396)]&&this['_commandService'][_0x4b6a85(0x40c)](_0x11e5d2['SetWorksheetActiveOperation']['id'],{'unitId':this[_0x4b6a85(0x26a)][_0x4b6a85(0x2de)],'subUnitId':_0x2cc513[_0x4b6a85(0x396)]});}))),()=>_0x580d19[_0x4c8ef3(0x3df)]();}));}['_updateDiffMarks'](_0x3f895f,_0x1c2db0){const _0x4d7286=_0x3cfaa8;var _0x243844;const _0x4304fa=(_0x243844=this['_sheetSkeletonManagerService'][_0x4d7286(0x221)]())==null?void 0x0:_0x243844['skeleton'];if(!_0x4304fa)return;this[_0x4d7286(0x2b3)][_0x4d7286(0x2ea)](_0x291beb=>{const _0x45e8a4=_0x4d7286;_0x291beb[_0x45e8a4(0x233)]();});const {scene:_0x37cd12}=this[_0x4d7286(0x26a)],_0x5f435d=Array[_0x4d7286(0x290)](_0x1c2db0[_0x4d7286(0x2c3)]())[_0x4d7286(0x3c6)](_0x4cbf00=>_0x1c2db0[_0x4d7286(0x2b5)](_0x4cbf00)[_0x4d7286(0x3c6)](_0x267335=>{const _0x35df59=_0x4d7286;var _0x402e26;const {range:_0x5b8a08,subUnitId:_0x303171,unitId:_0x4cb22b}=_0x267335,{startColumn:_0x147a3d,startRow:_0x3e4afa,endColumn:_0x450476,endRow:_0x16b73a}=_0x5b8a08,_0x47df2f=_0x5b6804[_0x35df59(0x3e4)](_0x3e4afa,_0x147a3d,_0x37cd12,_0x4304fa),_0x274e4a=_0x5b6804[_0x35df59(0x3e4)](_0x16b73a,_0x450476,_0x37cd12,_0x4304fa),{columnHeaderHeightAndMarginTop:_0x59ada6}=_0x4304fa,{startX:_0x34cc54,startY:_0x213d0a}=_0x47df2f,{endX:_0x2b6910,endY:_0x4e7210}=_0x274e4a,_0x422681=_0x2b6910-_0x34cc54,_0x4c40e7=_0x4e7210-_0x213d0a,_0x4ec75c={'labelPosition':_0x213d0a-_0x59ada6>=0x14?_0x35df59(0x20d):_0x35df59(0x25d),'sheetID':_0x303171,'range':_0x5b8a08,'color':_0x35df59(0x41a),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x35df59(0x41a),'name':((_0x402e26=this[_0x35df59(0x2d8)][_0x35df59(0x293)](_0x4cbf00))==null?void 0x0:_0x402e26['name'])||'','selection':_0x4cb22b+'-'+_0x303171+'-'+_0x5b8a08[_0x35df59(0x234)]+'-'+_0x5b8a08[_0x35df59(0x1fc)]+'-'+_0x5b8a08[_0x35df59(0x2bb)]+'-'+_0x5b8a08[_0x35df59(0x292)],'left':_0x34cc54,'top':_0x213d0a,'width':_0x422681,'height':_0x4c40e7,'evented':!0x1,'zIndex':0x1};return new _0x315028[(_0x35df59(0x369))]('',_0x4ec75c);}))[_0x4d7286(0x220)]();_0x37cd12['addObjects'](_0x5f435d,0x1),this[_0x4d7286(0x2b3)]=new Set(_0x5f435d);}['_removeDiffMarks'](){const _0x50045c=_0x3cfaa8;var _0x1d701c;(_0x1d701c=this[_0x50045c(0x2b3)])==null||_0x1d701c[_0x50045c(0x2ea)](_0x229a78=>_0x229a78[_0x50045c(0x3df)]());}[_0x3cfaa8(0x256)](){const _0xd918cb=_0x3cfaa8;return _0x5b6804[_0xd918cb(0x28e)](this[_0xd918cb(0x362)],this[_0xd918cb(0x21e)]);}};_0x592771=_0x524499([_0x28315d(0x1,_0x9500e8['Inject'](_0x495eca[_0x3cfaa8(0x27c)])),_0x28315d(0x2,_0x9500e8[_0x3cfaa8(0x282)](_0x5659ad)),_0x28315d(0x3,_0x9500e8[_0x3cfaa8(0x2ed)]),_0x28315d(0x4,_0xf472c4[_0x3cfaa8(0x201)]),_0x28315d(0x5,_0x9500e8[_0x3cfaa8(0x282)](_0x5b6804[_0x3cfaa8(0x23e)])),_0x28315d(0x6,_0x9500e8[_0x3cfaa8(0x38f)])],_0x592771);function _0x103aed(){const _0x4b6026=_0x3cfaa8,_0x130853=_0x24c5e6['useDependency'](_0x495eca[_0x4b6026(0x27c)]),_0x5f42c5=_0x24c5e6['useObservable'](_0x130853[_0x4b6026(0x217)]),[_0x3d38b1,_0x5e2828]=_0x429221[_0x4b6026(0x335)](!0x1),_0x55f55b=_0x267e91(_0x5f42c5);return _0x5f42c5?_0x2002a3[_0x4b6026(0x262)](_0x4b6026(0x34e),{'className':_0x4b6026(0x209),'children':_0x2002a3[_0x4b6026(0x2ac)](_0x4b6026(0x34e),{'className':_0x4b6026(0x421),'children':[_0x55f55b['map']((_0x1022ec,_0x529ead)=>_0x2002a3[_0x4b6026(0x2ac)](_0x429221[_0x4b6026(0x3d6)],{'children':[_0x2002a3[_0x4b6026(0x262)](_0x9f33a5,{'date':_0x1022ec['dateString']}),_0x1022ec[_0x4b6026(0x2dc)][_0x4b6026(0x3c6)]((_0x5060a5,_0x4b532c)=>_0x2002a3[_0x4b6026(0x262)](_0x4aafe1,{'index':[_0x529ead,_0x4b532c],'item':_0x5060a5},_0x529ead+'-'+_0x4b532c))]},_0x1022ec[_0x4b6026(0x3fe)])),_0x3d38b1&&_0x2002a3['jsx'](_0xccf4f8,{})]})}):_0x2002a3[_0x4b6026(0x262)](_0x120894,{});}function _0xccf4f8(){const _0x776fc=_0x3cfaa8;return _0x2002a3[_0x776fc(0x262)](_0x776fc(0x34e),{'className':_0x776fc(0x3f3),'children':_0x2002a3[_0x776fc(0x262)](_0x1d0a19,{'className':_0x776fc(0x327)})});}function _0x120894(){const _0xfc6cb1=_0x3cfaa8;return _0x2002a3[_0xfc6cb1(0x262)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':_0x2002a3[_0xfc6cb1(0x262)](_0xfc6cb1(0x333),{'className':'univer-text-gray-500','children':_0x2002a3['jsx'](_0x1d0a19,{'className':_0xfc6cb1(0x36a)})})});}function _0x9f33a5(_0x4be338){const _0x5cb769=_0x3cfaa8,_0x8bc381=_0x24c5e6[_0x5cb769(0x2a2)](_0x9500e8[_0x5cb769(0x3e7)]),{date:_0x5adbf2}=_0x4be338;return _0x2002a3[_0x5cb769(0x262)]('div',{'className':_0x5cb769(0x24a),'children':_0x56931d(_0x5adbf2,_0x8bc381[_0x5cb769(0x203)]())});}function _0x4aafe1(_0x3532ea){const _0x18b412=_0x3cfaa8,{item:_0x5a7064,index:_0x8f9b48}=_0x3532ea,{time:_0x142e74,user:_0x10133e}=_0x5a7064,[_0x5ba303,_0x3943ad]=_0x8f9b48,_0x3ccf5b=_0x24c5e6['useDependency'](_0x495eca[_0x18b412(0x27c)]),_0x2eaf7c=_0x24c5e6[_0x18b412(0x287)](_0x3ccf5b[_0x18b412(0x29c)],'',!0x0)===_0x5a7064['id'],_0x59cb79=_0x5ba303===0x0&&_0x3943ad===0x0,_0x1028f8=!_0x59cb79&&_0x3ccf5b['canRevert'],_0x4ee780=_0x24c5e6[_0x18b412(0x2a2)](_0x9500e8['LocaleService']),_0x3a8b04=_0x4ee780[_0x18b412(0x203)](),_0x1261eb=_0x4fbd0a(_0x142e74,_0x3a8b04),_0x36a1d9=_0x4ee780['t'](_0x18b412(0x324)),_0x5b9282=_0x429221[_0x18b412(0x2ab)](_0x3d46c7=>{const _0x227924=_0x18b412;_0x3ccf5b[_0x227924(0x3e8)]!==_0x218c7d[_0x227924(0x212)]&&(_0x3ccf5b['currentVersion']=_0x3d46c7);},[_0x3ccf5b]),_0x396227=_0x429221[_0x18b412(0x2ab)](_0x122d6b=>{const _0x33a08f=_0x18b412;_0x3ccf5b[_0x33a08f(0x291)](_0x122d6b);},[_0x3ccf5b]);return _0x2002a3[_0x18b412(0x2ac)](_0x18b412(0x34e),{'className':_0x336507[_0x18b412(0x200)](_0x18b412(0x397),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x2eaf7c}),'onClick':()=>_0x5b9282(_0x5a7064['id']),'children':[_0x2002a3[_0x18b412(0x2ac)](_0x18b412(0x34e),{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x2002a3[_0x18b412(0x2ac)]('div',{'className':_0x18b412(0x1ef),'children':[_0x2002a3[_0x18b412(0x262)](_0x18b412(0x333),{'children':_0x1261eb[_0x18b412(0x235)]}),_0x59cb79&&_0x2002a3[_0x18b412(0x262)](_0x18b412(0x333),{'className':'univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x36a1d9})]}),_0x2002a3[_0x18b412(0x262)](_0x18b412(0x34e),{'children':_0x1028f8&&_0x2002a3[_0x18b412(0x262)](_0x336507[_0x18b412(0x35a)],{'title':_0x4ee780['t'](_0x18b412(0x1f5)),'children':_0x2002a3['jsx'](_0x18b412(0x34e),{'onClick':_0x50a85c=>{const _0x1eebf3=_0x18b412;_0x50a85c[_0x1eebf3(0x366)](),_0x396227(_0x5a7064['id']);},'className':_0x18b412(0x23f),'children':_0x2002a3['jsx'](_0x45d4c7,{})})})})]}),_0x2002a3[_0x18b412(0x262)](_0x18b412(0x34e),{'className':_0x18b412(0x2a0),'children':_0x700372(_0x5a7064,_0x4ee780)})]});}var _0x256537=Object['getOwnPropertyDescriptor'],_0x445871=(_0x175bba,_0x1f5572,_0x21032c,_0x3e6b68)=>{for(var _0x38fef6=_0x3e6b68>0x1?void 0x0:_0x3e6b68?_0x256537(_0x1f5572,_0x21032c):_0x1f5572,_0x230f0d=_0x175bba['length']-0x1,_0x645660;_0x230f0d>=0x0;_0x230f0d--)(_0x645660=_0x175bba[_0x230f0d])&&(_0x38fef6=_0x645660(_0x38fef6)||_0x38fef6);return _0x38fef6;},_0x24ad35=(_0x3e2148,_0x4d9a54)=>(_0x55943e,_0x30f484)=>_0x4d9a54(_0x55943e,_0x30f484,_0x3e2148);const _0x181c62=_0x3cfaa8(0x379);let _0x53e106=class extends _0x9500e8[_0x3cfaa8(0x3ad)]{constructor(_0xf67a2b,_0x19489d,_0x32a4ae,_0x4a9c19,_0x2fcf9d){const _0x15663a=_0x3cfaa8;super(),_0x2247a2(this,_0x15663a(0x309),null),(this[_0x15663a(0x278)]=_0xf67a2b,this['_componentManager']=_0x19489d,this[_0x15663a(0x2bc)]=_0x32a4ae,this[_0x15663a(0x2d8)]=_0x4a9c19,this[_0x15663a(0x31a)]=_0x2fcf9d,this[_0x15663a(0x40d)]());}[_0x3cfaa8(0x40d)](){const _0x1e9c39=_0x3cfaa8;this[_0x1e9c39(0x3bd)](),this[_0x1e9c39(0x373)]();}['_openPanel'](){const _0x5be52c=_0x3cfaa8;var _0x558841;if(this[_0x5be52c(0x309)])return;const _0x33df42=((_0x558841=this[_0x5be52c(0x31a)][_0x5be52c(0x3d5)](_0x43073f))==null?void 0x0:_0x558841['historyPanelComponentKey'])||_0x181c62,_0x2e533a={'header':{'title':this['_localeService']['t']('editHistory.panel.title')},'children':{'label':_0x33df42},'onClose':()=>{const _0x50153a=_0x5be52c;this[_0x50153a(0x309)]=null,this['_historyManagerService'][_0x50153a(0x2ef)]=_0x1dede6['Exited'];}};this['_sidebarDisposable']=this[_0x5be52c(0x278)][_0x5be52c(0x218)]({..._0x2e533a});}['_initPanel'](){const _0x218010=_0x3cfaa8;this['disposeWithMe'](this[_0x218010(0x2ba)][_0x218010(0x3ce)](_0x181c62,_0x103aed)),this[_0x218010(0x2d3)](this[_0x218010(0x278)]['scrollEvent$'][_0x218010(0x370)](_0x1d2e29[_0x218010(0x409)](0x64))[_0x218010(0x395)](_0x57d6a0=>{const _0x76410b=_0x218010,{target:_0x515339}=_0x57d6a0||{};if(_0x515339){const {scrollTop:_0x261640,scrollHeight:_0x404e49,clientHeight:_0xd0bfa9}=_0x515339;_0x261640+_0xd0bfa9>=_0x404e49-0x5&&this[_0x76410b(0x2d8)]['loadMoreVersions']();}}));}};_0x53e106=_0x445871([_0x24ad35(0x0,_0x24c5e6[_0x3cfaa8(0x3a9)]),_0x24ad35(0x1,_0x9500e8[_0x3cfaa8(0x282)](_0x24c5e6[_0x3cfaa8(0x2aa)])),_0x24ad35(0x2,_0x9500e8[_0x3cfaa8(0x282)](_0x9500e8[_0x3cfaa8(0x3e7)])),_0x24ad35(0x3,_0x9500e8[_0x3cfaa8(0x282)](_0x495eca[_0x3cfaa8(0x27c)])),_0x24ad35(0x4,_0x9500e8[_0x3cfaa8(0x311)])],_0x53e106);class _0x41ee01 extends _0x9500e8['Disposable']{constructor(){const _0x397c65=_0x3cfaa8;super(),_0x2247a2(this,_0x397c65(0x28c),new _0x1d2e29[(_0x397c65(0x205))]());}['open'](){const _0x3efa0c=_0x3cfaa8;return _0x9500e8[_0x3efa0c(0x425)](()=>{});}[_0x3cfaa8(0x2c4)](){}['closeAll'](_0x2bdaf2){}[_0x3cfaa8(0x35e)](){const _0x297e5c=_0x3cfaa8;return this[_0x297e5c(0x28c)]['asObservable']();}}var _0x1f851b=Object[_0x3cfaa8(0x3ba)],_0x5285fa=Object[_0x3cfaa8(0x3fd)],_0x4d444c=(_0xe55d8c,_0x486d80,_0x5b8f9a)=>_0x486d80 in _0xe55d8c?_0x1f851b(_0xe55d8c,_0x486d80,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b8f9a}):_0xe55d8c[_0x486d80]=_0x5b8f9a,_0x40775a=(_0x49c494,_0x2564e2,_0x50adc1,_0x3df4dc)=>{const _0x4da9e8=_0x3cfaa8;for(var _0x1bfa18=_0x3df4dc>0x1?void 0x0:_0x3df4dc?_0x5285fa(_0x2564e2,_0x50adc1):_0x2564e2,_0x5dadf9=_0x49c494[_0x4da9e8(0x378)]-0x1,_0x303142;_0x5dadf9>=0x0;_0x5dadf9--)(_0x303142=_0x49c494[_0x5dadf9])&&(_0x1bfa18=_0x303142(_0x1bfa18)||_0x1bfa18);return _0x1bfa18;},_0x124838=(_0x5c8265,_0x13e158)=>(_0x51e57a,_0x228c0e)=>_0x13e158(_0x51e57a,_0x228c0e,_0x5c8265),_0x4f4321=(_0x4b6ad6,_0x1eed04,_0x1b71e9)=>_0x4d444c(_0x4b6ad6,_0x1eed04+'',_0x1b71e9);const _0x3373e5=_0x3cfaa8(0x285);_0x495eca[_0x3cfaa8(0x275)]=class extends _0x9500e8[_0x3cfaa8(0x2f1)]{constructor(_0xb970d5=_0x540750,_0x2ba5f2,_0x5ea695,_0x5b6c39){const _0x3e3c3b=_0x3cfaa8;super(),this[_0x3e3c3b(0x388)]=_0xb970d5,this['_injector']=_0x2ba5f2,this['_renderManagerService']=_0x5ea695,this[_0x3e3c3b(0x31a)]=_0x5b6c39;const {..._0x46cca1}=_0x9500e8[_0x3e3c3b(0x2cb)]({},_0x540750,this[_0x3e3c3b(0x388)]);this['_configService']['setConfig'](_0x43073f,_0x46cca1);}[_0x3cfaa8(0x38c)](){const _0x25451d=_0x3cfaa8;[[_0x495eca[_0x25451d(0x27c)]],[_0x19176e],[_0x5659ad],[_0x138ac5],[_0x53e106],[_0x4320e7],[_0x557930[_0x25451d(0x2e6)],{'useClass':_0x4676cd[_0x25451d(0x353)]}],[_0x24c5e6[_0x25451d(0x2ca)],{'useClass':_0x41ee01}],[_0x33bd43['IImageIoService'],{'useClass':_0x4676cd[_0x25451d(0x348)]}]][_0x25451d(0x2ea)](_0xdd34c7=>this[_0x25451d(0x1fd)][_0x25451d(0x3be)](_0xdd34c7)),this[_0x25451d(0x1fd)][_0x25451d(0x2b5)](_0x19176e);}[_0x3cfaa8(0x204)](){const _0x561c0c=_0x3cfaa8;[[_0x592771]]['forEach'](_0x1a0532=>{const _0x58995c=_0x1062;this[_0x58995c(0x2d3)](this['_renderManagerService'][_0x58995c(0x43d)](_0x9500e8['UniverInstanceType'][_0x58995c(0x23b)],_0x1a0532));}),this[_0x561c0c(0x1fd)]['get'](_0x4320e7),this[_0x561c0c(0x1fd)][_0x561c0c(0x2b5)](_0x53e106);}[_0x3cfaa8(0x3c2)](){const _0x4d9251=_0x3cfaa8;this[_0x4d9251(0x1fd)][_0x4d9251(0x2b5)](_0x5659ad);}},_0x4f4321(_0x495eca[_0x3cfaa8(0x275)],_0x3cfaa8(0x2f5),_0x3373e5),_0x495eca[_0x3cfaa8(0x275)]=_0x40775a([_0x9500e8['DependentOn'](_0x5b6804[_0x3cfaa8(0x3ef)],_0xcf8e98['UniverNetworkPlugin']),_0x124838(0x1,_0x9500e8['Inject'](_0x9500e8[_0x3cfaa8(0x266)])),_0x124838(0x2,_0xf472c4[_0x3cfaa8(0x201)]),_0x124838(0x3,_0x9500e8[_0x3cfaa8(0x311)])],_0x495eca[_0x3cfaa8(0x275)]),_0x495eca[_0x3cfaa8(0x30f)]=_0x1dede6,_0x495eca['HistoryOrigin']=_0x1d1312,Object['defineProperty'](_0x495eca,Symbol[_0x3cfaa8(0x2da)],{'value':_0x3cfaa8(0x312)});}));
18
18
 
19
19
  // @univerjs-pro/edit-history-loader/index
20
- function _0x492e(){const _0x4e640f=['UniverDrawing','_localCacheService','@univerjs/sheets-drawing-ui','376rwwCZj','_disposableCollection','forEach','createElement','reload','UniverRpc','appendChild','unsubscribe','Exited','IConfigService','menu','UniverCollaborationPlugin','univerContainerId','type','exports','editHistory.panel.reverting','CHANGESET_ACK','@univerjs-pro/sheets-sparkline','toStringTag','_dialogService','@univerjs/sheets-filter','42140RZhkfy','343268TIfqgL','revertRevision$','_initContainer','HistoryManagerService','@univerjs/sheets-drawing','history-icon_clip0_907_281','_permissionService','_themeService','rxjs','UniverSheetsPlugin','width','univer-container','displayName','onStarting','UniverSheetsDataValidation','BUTTON','every','div','WorkbookEditablePermission','value','pluginName','UniverSheetsUi','UniverProSheetsPivot','uComp','1em','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getCollabEntity','some','UniverUIPlugin','UniverProSheetsChart','getUnit','UniverSheetsFilterUIPlugin','clipPath','_componentManager','unMountHistoryContent','@univerjs/sheets-numfmt','UniverSheetsFormulaUi','mergeMenu','currentTheme$','AuthzIoHttpService','getOwnPropertyDescriptor','register','UniverFormulaEnginePlugin','data','CollaborationController','UniverSheetsPivotTablePlugin','_historyUniver$','ComponentManager','_univerInstanceService','HistoryIcon','fill','close','style','CollaborationEvent','LocaleService','UNIVER_UNKNOWN','@univerjs/sheets-data-validation-ui','position','73503tiuyjb','BehaviorSubject','ThemeService','UniverUi','UniverSheetsFilterUi','MenuItemType','IPermissionService','_initListener','permissionId','editHistory.panel.revertFailed','2338536ThimMs','registerPlugin','IAuthzIoService','toDisposable','random','UniverDataValidation','@univerjs/engine-render','currentColor','IMessageService','@univerjs-pro/sheets-sparkline-ui','_localeService','UniverSheetSparklineUIPlugin','IImageIoService','UniverSheetsFilter','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','UniverProCollaborationClient','HistoryLoaderService','amd','map','combineLatest','UniverSheetsNumfmt','@univerjs-pro/sheets-chart','UniverDataValidationPlugin','historyUniver','children','setTheme','@univerjs/sheets-hyper-link','invoke','string','_configService','OTHERS','tag','UniverProSheetsSparkline','IUniverInstanceService','UniverSheetsHyperLinkUIPlugin','values','function','_config','from','none','editHistory.panel.title','UniverCore','add','triggerLoadVersions','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','_historyManagerService','_checkCanRevert','./worker.js','white','_collaborationController','UniverSheetsDrawingUIPlugin','UniverSheetSparklinePlugin','eventID','@univerjs/sheets-filter-ui','UniverDrawingUIPlugin','entries','UniverLicensePlugin','UniverSheetsHyperLinkPlugin','defineProperty','zIndex','defIds','UniverSheetsDrawing','show','_initPlugins','@univerjs/drawing','block','UniverRPCMainThreadPlugin','MessageType','set','length','useRef','CollaborationStatus','UniverProSheetsSparklineUi','_selectionProtectionRuleModel','attrs','HistoryModeStatus','@univerjs/sheets-conditional-formatting-ui','status$','defs','getCurrentRangeDisable$','Entered','ICommandService','historyPanelComponentKey','\x20has\x20been\x20registered.','_menuManagerService','forwardRef','mountHistoryContent','@univerjs-pro/sheets-chart-ui','RibbonStartGroup','UniverDocs','setConfig','url(#$1','@univerjs/data-validation','svg','663448BXJgcY','UNIVER_CONTAINER_ID_KEY','includes','params','subscribe','state$','OPERATION','replace','UniverProEditHistoryLoader','@univerjs/rpc','UniverDrawingPlugin','0\x200\x2016\x2016','exhaustSavingTask','UniverSheetsFilterPlugin','getCurrentLocale','@univerjs/sheets-hyper-link-ui','WorkbookViewHistoryPermission','display','get','mask','idSuffix','univerjs-icon\x20univerjs-icon-','clear','editHistory.panel.listFetchError','UniverSheetsDataValidationPlugin','UniverEngineRender','UniverSheetsDataValidationUIPlugin','Injector','current','flat','DisposableCollection','RevertRevisionMutation','onSteady','merge','_sidebarService','_initUniver','getElementById','UniverProSheetsChartUi','top','React','UniverInstanceType','100%','next','_commandService','UniverSheetsConditionalFormattingUIPlugin','RangeProtectionPermissionEditPoint','UniverProEditHistoryViewer','UniverDocsUIPlugin','history-icon','UniverSheetsHyperLinkUi','Loading','2617573HNcEGZ','path','UniverEditHistoryLoaderPlugin','UniverNetwork','_messageService','location','left','UniverSheetsConditionalFormattingUi','dataset','event$','3PTMsyl','CommandType','disposeWithMe','_init','_pluginMap','IDialogService','WorkbookRecoverHistoryPermission','react','setDarkMode','_injector','Univer','@univerjs-pro/sheets-pivot','UniverRenderEnginePlugin','UNIVER_SHEET','__getInjector','1931935YKyPfx','Inject','[HistoryLoaderService]:\x20Plugin\x20','Error','@univerjs-pro/collaboration','getSheetCommandTarget','history-container','historyUniver$','@univerjs/sheets-formula','_revertErrorTimer','use','UniverSheetsDrawingPlugin','@univerjs/sheets-ui','UniverDesign','dispose','UniverDrawingUi','UniverProCollaboration','IMenuManagerService','getConfig','object','xlink:href','registerCommand'];_0x492e=function(){return _0x4e640f;};return _0x492e();}function _0x50a9(_0x53ab13,_0x244735){_0x53ab13=_0x53ab13-0x150;const _0x492efa=_0x492e();let _0x50a946=_0x492efa[_0x53ab13];return _0x50a946;}(function(_0x4ff7c3,_0x3f31f9){const _0x5bde63=_0x50a9,_0xad1cf5=_0x4ff7c3();while(!![]){try{const _0x467df0=-parseInt(_0x5bde63(0x21c))/0x1+parseInt(_0x5bde63(0x1a2))/0x2+parseInt(_0x5bde63(0x1df))/0x3*(-parseInt(_0x5bde63(0x21d))/0x4)+parseInt(_0x5bde63(0x1ee))/0x5+parseInt(_0x5bde63(0x261))/0x6+-parseInt(_0x5bde63(0x1d5))/0x7+parseInt(_0x5bde63(0x207))/0x8*(-parseInt(_0x5bde63(0x257))/0x9);if(_0x467df0===_0x3f31f9)break;else _0xad1cf5['push'](_0xad1cf5['shift']());}catch(_0x48da91){_0xad1cf5['push'](_0xad1cf5['shift']());}}}(_0x492e,0x363aa),function(_0x37936b,_0x16fc6e){const _0x5d8def=_0x50a9;typeof exports==_0x5d8def(0x201)&&typeof module<'u'?_0x16fc6e(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x5d8def(0x168)&&define[_0x5d8def(0x155)]?define([_0x5d8def(0x215),'@univerjs/core',_0x5d8def(0x1f2),'@univerjs-pro/collaboration-client','@univerjs/design',_0x5d8def(0x1e6),'@univerjs/ui',_0x5d8def(0x225),'@univerjs/sheets','@univerjs-pro/edit-history-viewer','@univerjs-pro/license',_0x5d8def(0x159),_0x5d8def(0x19b),_0x5d8def(0x1ea),_0x5d8def(0x218),_0x5d8def(0x26a),_0x5d8def(0x1a0),'@univerjs/docs','@univerjs/docs-ui',_0x5d8def(0x184),'@univerjs/drawing-ui','@univerjs/engine-formula',_0x5d8def(0x267),'@univerjs/network',_0x5d8def(0x1ab),'@univerjs/sheets-conditional-formatting',_0x5d8def(0x190),'@univerjs/sheets-data-validation',_0x5d8def(0x255),_0x5d8def(0x221),_0x5d8def(0x206),_0x5d8def(0x21b),_0x5d8def(0x179),_0x5d8def(0x1f6),'@univerjs/sheets-formula-ui',_0x5d8def(0x15e),_0x5d8def(0x1b1),_0x5d8def(0x240),_0x5d8def(0x1fa)],_0x16fc6e):(_0x37936b=typeof globalThis<'u'?globalThis:_0x37936b||self,_0x16fc6e(_0x37936b[_0x5d8def(0x1aa)]={},_0x37936b[_0x5d8def(0x16d)],_0x37936b[_0x5d8def(0x1fe)],_0x37936b[_0x5d8def(0x153)],_0x37936b[_0x5d8def(0x1fb)],_0x37936b[_0x5d8def(0x1c9)],_0x37936b[_0x5d8def(0x25a)],_0x37936b[_0x5d8def(0x225)],_0x37936b['UniverSheets'],_0x37936b[_0x5d8def(0x1d0)],_0x37936b['UniverProLicense'],_0x37936b[_0x5d8def(0x23a)],_0x37936b[_0x5d8def(0x1c7)],_0x37936b[_0x5d8def(0x233)],_0x37936b[_0x5d8def(0x164)],_0x37936b[_0x5d8def(0x18c)],_0x37936b[_0x5d8def(0x266)],_0x37936b[_0x5d8def(0x19d)],_0x37936b['UniverDocsUi'],_0x37936b[_0x5d8def(0x204)],_0x37936b[_0x5d8def(0x1fd)],_0x37936b['UniverEngineFormula'],_0x37936b[_0x5d8def(0x1bb)],_0x37936b[_0x5d8def(0x1d8)],_0x37936b[_0x5d8def(0x20c)],_0x37936b['UniverSheetsConditionalFormatting'],_0x37936b[_0x5d8def(0x1dc)],_0x37936b[_0x5d8def(0x22b)],_0x37936b['UniverSheetsDataValidationUi'],_0x37936b[_0x5d8def(0x181)],_0x37936b['UniverSheetsDrawingUi'],_0x37936b[_0x5d8def(0x151)],_0x37936b[_0x5d8def(0x25b)],_0x37936b['UniverSheetsFormula'],_0x37936b[_0x5d8def(0x241)],_0x37936b['UniverSheetsHyperLink'],_0x37936b[_0x5d8def(0x1d3)],_0x37936b[_0x5d8def(0x158)],_0x37936b[_0x5d8def(0x232)]));}(this,function(_0x4b6ebd,_0x42f79d,_0x2cf53e,_0x1525a5,_0x214586,_0x363796,_0x382eb3,_0x4a95a9,_0x363eef,_0x34b0d4,_0x193822,_0x27204f,_0x377758,_0x2717dc,_0x116b93,_0x484403,_0x3f61c1,_0x4f2042,_0x3ef188,_0x3daa14,_0x18e09a,_0x36ba29,_0x2c9f7e,_0x207950,_0x3baa4c,_0x427a1a,_0x5109b1,_0x3c27ea,_0x54d1b3,_0x284aae,_0x34be3e,_0x4dae8e,_0xd9a35b,_0x2628b8,_0x1a6ab3,_0x23d3b1,_0x2c9daf,_0x2234af,_0x499a4e){'use strict';const _0x44c106=_0x50a9;var _0x382c42=Object[_0x44c106(0x17e)],_0x339207=(_0x10eb53,_0x6f2b4c,_0x90dfc9)=>_0x6f2b4c in _0x10eb53?_0x382c42(_0x10eb53,_0x6f2b4c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x90dfc9}):_0x10eb53[_0x6f2b4c]=_0x90dfc9,_0x70bc7d=(_0x5b15e5,_0xe4d450,_0x2a718e)=>_0x339207(_0x5b15e5,typeof _0xe4d450!='symbol'?_0xe4d450+'':_0xe4d450,_0x2a718e),_0x333a38;const _0x5249ed='edit-history-loader.config',_0x9a0134={};function _0x232c96({ref:_0x527e16,..._0x41d412}){const _0xa3fa5c=_0x44c106,{icon:_0x57b8db,id:_0x594059,className:_0xa302df,extend:_0x3d38fa,..._0x43ab2c}=_0x41d412,_0x3b66c8=(_0xa3fa5c(0x1b7)+_0x594059+'\x20'+(_0xa302df||''))['trim'](),_0x49905f=_0x363796[_0xa3fa5c(0x18a)]('_'+_0x4c1033());return _0x3f6c7e(_0x57b8db,''+_0x594059,{'defIds':_0x57b8db[_0xa3fa5c(0x180)],'idSuffix':_0x49905f[_0xa3fa5c(0x1be)]},{'ref':_0x527e16,'className':_0x3b66c8,..._0x43ab2c},_0x3d38fa);}function _0x3f6c7e(_0x35db09,_0x112f4f,_0x3e751f,_0x346712,_0x367eec){const _0x3d8a64=_0x44c106;return _0x363796['createElement'](_0x35db09[_0x3d8a64(0x163)],{'key':_0x112f4f,..._0x20d280(_0x35db09,_0x3e751f,_0x367eec),..._0x346712},(_0x5dbf96(_0x35db09,_0x3e751f)['children']||[])[_0x3d8a64(0x156)]((_0x538132,_0x39a953)=>_0x3f6c7e(_0x538132,_0x112f4f+'-'+_0x35db09['tag']+'-'+_0x39a953,_0x3e751f,void 0x0,_0x367eec)));}function _0x20d280(_0x2d8d29,_0x520eca,_0x409427){const _0x2b6fd3=_0x44c106,_0x418112={..._0x2d8d29[_0x2b6fd3(0x18e)]};_0x409427!=null&&_0x409427['colorChannel1']&&_0x418112[_0x2b6fd3(0x24f)]==='colorChannel1'&&(_0x418112[_0x2b6fd3(0x24f)]=_0x409427['colorChannel1']),_0x2d8d29[_0x2b6fd3(0x163)]===_0x2b6fd3(0x1b5)&&_0x418112['id']&&(_0x418112['id']=_0x418112['id']+_0x520eca['idSuffix']),Object[_0x2b6fd3(0x17b)](_0x418112)[_0x2b6fd3(0x209)](([_0x25378f,_0x3796d9])=>{const _0x1668f4=_0x2b6fd3;_0x25378f===_0x1668f4(0x1b5)&&typeof _0x3796d9==_0x1668f4(0x160)&&(_0x418112[_0x25378f]=_0x3796d9[_0x1668f4(0x1a9)](/url\(#(.*)\)/,_0x1668f4(0x19f)+_0x520eca['idSuffix']+')'));});const {defIds:_0x10505c}=_0x520eca;return!_0x10505c||_0x10505c[_0x2b6fd3(0x189)]===0x0||(_0x2d8d29[_0x2b6fd3(0x163)]===_0x2b6fd3(0x1f8)&&_0x418112[_0x2b6fd3(0x202)]&&(_0x418112[_0x2b6fd3(0x202)]=_0x418112[_0x2b6fd3(0x202)]+_0x520eca[_0x2b6fd3(0x1b6)]),Object[_0x2b6fd3(0x17b)](_0x418112)['forEach'](([_0x2ca203,_0x1bd9be])=>{const _0x5793f6=_0x2b6fd3;typeof _0x1bd9be=='string'&&(_0x418112[_0x2ca203]=_0x1bd9be['replace'](/url\(#(.*)\)/,_0x5793f6(0x19f)+_0x520eca[_0x5793f6(0x1b6)]+')'));})),_0x418112;}function _0x5dbf96(_0x3f0ac2,_0x229ddd){const _0x3cd74c=_0x44c106;var _0x181491;const {defIds:_0x257ad7}=_0x229ddd;return!_0x257ad7||_0x257ad7[_0x3cd74c(0x189)]===0x0?_0x3f0ac2:_0x3f0ac2['tag']===_0x3cd74c(0x192)&&((_0x181491=_0x3f0ac2[_0x3cd74c(0x15c)])!=null&&_0x181491[_0x3cd74c(0x189)])?{..._0x3f0ac2,'children':_0x3f0ac2[_0x3cd74c(0x15c)][_0x3cd74c(0x156)](_0x36a7e7=>typeof _0x36a7e7[_0x3cd74c(0x18e)]['id']==_0x3cd74c(0x160)&&_0x257ad7&&_0x257ad7[_0x3cd74c(0x1a4)](_0x36a7e7[_0x3cd74c(0x18e)]['id'])?{..._0x36a7e7,'attrs':{..._0x36a7e7['attrs'],'id':_0x36a7e7[_0x3cd74c(0x18e)]['id']+_0x229ddd[_0x3cd74c(0x1b6)]}}:_0x36a7e7)}:_0x3f0ac2;}function _0x4c1033(){const _0x2cc273=_0x44c106;return Math[_0x2cc273(0x265)]()['toString'](0x24)['substring'](0x2,0x8);}_0x232c96[_0x44c106(0x229)]='UniverIcon';const _0x270449={'tag':_0x44c106(0x1a1),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44c106(0x16b),'viewBox':_0x44c106(0x1ad),'width':'1em','height':_0x44c106(0x235)},'children':[{'tag':'g','attrs':{'fill':_0x44c106(0x268),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':'path','attrs':{'d':_0x44c106(0x170)}},{'tag':_0x44c106(0x1d6),'attrs':{'d':_0x44c106(0x152)}}]},{'tag':_0x44c106(0x192),'attrs':{},'children':[{'tag':_0x44c106(0x23d),'attrs':{'id':_0x44c106(0x222)},'children':[{'tag':_0x44c106(0x1d6),'attrs':{'fill':_0x44c106(0x174),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x44c106(0x222)]},_0x427284=_0x363796[_0x44c106(0x199)](function(_0x3546c6,_0xba42d6){const _0x188371=_0x44c106;return _0x363796[_0x188371(0x20a)](_0x232c96,Object['assign']({},_0x3546c6,{'id':_0x188371(0x1d2),'ref':_0xba42d6,'icon':_0x270449}));});_0x427284[_0x44c106(0x229)]=_0x44c106(0x24e);var _0x3c956f=Object['getOwnPropertyDescriptor'],_0x5d63d2=(_0x12f410,_0xa58a27,_0x514386,_0xc1994)=>{const _0x24617b=_0x44c106;for(var _0x5539d1=_0xc1994>0x1?void 0x0:_0xc1994?_0x3c956f(_0xa58a27,_0x514386):_0xa58a27,_0x3d42f6=_0x12f410[_0x24617b(0x189)]-0x1,_0x126a63;_0x3d42f6>=0x0;_0x3d42f6--)(_0x126a63=_0x12f410[_0x3d42f6])&&(_0x5539d1=_0x126a63(_0x5539d1)||_0x5539d1);return _0x5539d1;},_0x5f05e8=(_0x45a3a7,_0x1e3609)=>(_0x2318f6,_0x1c90bc)=>_0x1e3609(_0x2318f6,_0x1c90bc,_0x45a3a7);const _0x3e1c82=_0x44c106(0x228),_0x2182ad='UNIVER_CONTAINER_ID',_0x240eb5='univer-history-container';_0x4b6ebd['HistoryLoaderService']=class extends _0x42f79d['Disposable']{constructor(_0x3805ea,_0x212bd4,_0x10cff5,_0x1858cd,_0x46ef0e,_0x563780,_0x4b3211,_0x53731b,_0x26f39b,_0xd420b5){const _0x27067a=_0x44c106;super(),_0x70bc7d(this,_0x27067a(0x24b),new _0x4a95a9[(_0x27067a(0x258))](null)),_0x70bc7d(this,_0x27067a(0x1f5),this['_historyUniver$']['asObservable']()),_0x70bc7d(this,_0x27067a(0x208),new _0x42f79d[(_0x27067a(0x1c0))]()),_0x70bc7d(this,'_pluginMap',new Map()),(this['_localeService']=_0x3805ea,this[_0x27067a(0x24d)]=_0x212bd4,this[_0x27067a(0x161)]=_0x10cff5,this[_0x27067a(0x1cd)]=_0x1858cd,this['_messageService']=_0x46ef0e,this[_0x27067a(0x223)]=_0x563780,this[_0x27067a(0x18d)]=_0x4b3211,this[_0x27067a(0x21a)]=_0x53731b,this['_sidebarService']=_0x26f39b,this['_themeService']=_0xd420b5,this[_0x27067a(0x1e2)]());}get[_0x44c106(0x15b)](){const _0x320bcc=_0x44c106;return this['_historyUniver$'][_0x320bcc(0x230)];}[_0x44c106(0x1e2)](){const _0x22d274=_0x44c106;this[_0x22d274(0x21f)](),this[_0x22d274(0x183)]();}[_0x44c106(0x21f)](){const _0x486408=_0x44c106;var _0x540706;const _0x32ee88=(_0x540706=this[_0x486408(0x161)][_0x486408(0x200)](_0x2182ad))!=null?_0x540706:_0x3e1c82,_0x4bef5c=document['getElementById'](_0x32ee88);if(!_0x4bef5c)return;const _0x1ecb54=document[_0x486408(0x20a)](_0x486408(0x22e));_0x1ecb54['id']=_0x240eb5,_0x1ecb54[_0x486408(0x1dd)][_0x486408(0x234)]=_0x486408(0x1f4),_0x1ecb54['style'][_0x486408(0x256)]='absolute',_0x1ecb54[_0x486408(0x251)][_0x486408(0x1c8)]='0',_0x1ecb54[_0x486408(0x251)][_0x486408(0x1db)]='0',_0x1ecb54[_0x486408(0x251)][_0x486408(0x227)]=_0x486408(0x1cb),_0x1ecb54[_0x486408(0x251)]['height']='100%',_0x1ecb54[_0x486408(0x251)][_0x486408(0x17f)]='1000',_0x1ecb54[_0x486408(0x251)][_0x486408(0x1b3)]=_0x486408(0x16b),_0x4bef5c[_0x486408(0x20d)](_0x1ecb54);}['_initPlugins'](){const _0x1da94e=_0x44c106;var _0xd41787,_0xe574b5;[[_0x2c9f7e[_0x1da94e(0x1eb)]],[_0x382eb3[_0x1da94e(0x239)],{'container':_0x240eb5,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x382eb3[_0x1da94e(0x1e4)],null]]}],[_0x207950['UniverNetworkPlugin']],[_0x3daa14[_0x1da94e(0x1ac)],{'override':[[_0x3daa14[_0x1da94e(0x150)],null]]}],[_0x4f2042['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x3ef188[_0x1da94e(0x1d1)]],[_0x2234af['UniverSheetsNumfmtPlugin']],[_0x363eef[_0x1da94e(0x226)],{'notExecuteFormula':!0x0}],[_0x499a4e['UniverSheetsUIPlugin']],[_0x2628b8['UniverSheetsFormulaPlugin']],[_0x1a6ab3['UniverSheetsFormulaUIPlugin']],[_0x2cf53e[_0x1da94e(0x212)]],[_0x4dae8e[_0x1da94e(0x1af)]],[_0xd9a35b[_0x1da94e(0x23c)]],[_0x427a1a['UniverSheetsConditionalFormattingPlugin']],[_0x5109b1[_0x1da94e(0x1ce)]],[_0x23d3b1[_0x1da94e(0x17d)]],[_0x2c9daf[_0x1da94e(0x166)]],[_0x3f61c1[_0x1da94e(0x15a)]],[_0x3c27ea[_0x1da94e(0x1ba)]],[_0x54d1b3[_0x1da94e(0x1bc)]],[_0x36ba29[_0x1da94e(0x247)],{'notExecuteFormula':!0x0}],[_0x3baa4c[_0x1da94e(0x186)],{'workerURL':_0x1da94e(0x173)}],[_0x18e09a[_0x1da94e(0x17a)]],[_0x284aae[_0x1da94e(0x1f9)]],[_0x34be3e[_0x1da94e(0x176)]],[_0x116b93[_0x1da94e(0x177)]],[_0x484403[_0x1da94e(0x26c)]],[_0x27204f['UniverSheetsChartPlugin']],[_0x377758['UniverSheetsChartUIPlugin']],[_0x2717dc[_0x1da94e(0x24a)],{'notExecuteFormula':!0x0}],[_0x34b0d4['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0xd41787=this[_0x1da94e(0x161)][_0x1da94e(0x200)](_0x5249ed))==null?void 0x0:_0xd41787['historyListServerUrl'],'historyPanelComponentKey':(_0xe574b5=this['_configService'][_0x1da94e(0x200)](_0x5249ed))==null?void 0x0:_0xe574b5[_0x1da94e(0x196)]}]][_0x1da94e(0x209)](([_0x19fcb9,_0x93efc2])=>this['registerPlugin'](_0x19fcb9,_0x93efc2));}[_0x44c106(0x1fc)](){const _0x8029a8=_0x44c106;super['dispose'](),this['unMountHistoryContent'](),this[_0x8029a8(0x1e3)][_0x8029a8(0x1b8)]();}[_0x44c106(0x262)](_0x49e824,_0x2ed930,_0x4396f6){const _0x259af0=_0x44c106;if(this[_0x259af0(0x1e3)]['has'](_0x49e824[_0x259af0(0x231)])&&!_0x4396f6)throw new Error(_0x259af0(0x1f0)+_0x49e824[_0x259af0(0x231)]+_0x259af0(0x197));this[_0x259af0(0x1e3)][_0x259af0(0x188)](_0x49e824[_0x259af0(0x231)],[_0x49e824,_0x2ed930]);}['getAllPlugins'](){const _0x39df4e=_0x44c106;return Array[_0x39df4e(0x16a)](this[_0x39df4e(0x1e3)][_0x39df4e(0x167)]());}[_0x44c106(0x19a)](_0x32bd40){const _0x59be82=_0x44c106,_0x340878=document[_0x59be82(0x1c6)](_0x240eb5);_0x340878&&(_0x340878['style'][_0x59be82(0x1b3)]=_0x59be82(0x185),this['_initUniver'](_0x32bd40,_0x240eb5));}[_0x44c106(0x23f)](){const _0x116c35=_0x44c106;var _0x525425;this[_0x116c35(0x208)][_0x116c35(0x1fc)](),(_0x525425=this['historyUniver'])==null||_0x525425[_0x116c35(0x1fc)](),this[_0x116c35(0x24b)]['next'](null);const _0x3dc98b=document[_0x116c35(0x1c6)](_0x240eb5);_0x3dc98b&&(_0x3dc98b['style'][_0x116c35(0x1b3)]=_0x116c35(0x16b));}[_0x44c106(0x1c5)](_0x11aa6b,_0x1ef74b){const _0x387147=_0x44c106;if(this[_0x387147(0x15b)])return;const _0x239b33=new _0x42f79d[(_0x387147(0x1e9))]({'locales':{[this[_0x387147(0x26b)]['getCurrentLocale']()]:this[_0x387147(0x26b)]['getLocales']()},'override':[[_0x42f79d[_0x387147(0x263)],{'useClass':_0x1525a5[_0x387147(0x244)]}]]}),_0x11bb87=_0x239b33[_0x387147(0x1ed)]();this['disposeWithMe'](this[_0x387147(0x224)]['darkMode$'][_0x387147(0x1a6)](_0x575d19=>{const _0x5a5d56=_0x387147;_0x11bb87[_0x5a5d56(0x1b4)](_0x42f79d['ThemeService'])[_0x5a5d56(0x1e7)](_0x575d19);})),this[_0x387147(0x1e1)](this[_0x387147(0x224)][_0x387147(0x243)][_0x387147(0x1a6)](_0x1419be=>{const _0x341ac9=_0x387147;_0x11bb87[_0x341ac9(0x1b4)](_0x42f79d[_0x341ac9(0x259)])[_0x341ac9(0x15d)](_0x1419be);})),_0x11bb87[_0x387147(0x1b4)](_0x42f79d['LocaleService'])['setLocale'](this[_0x387147(0x26b)][_0x387147(0x1b0)]()),_0x11bb87[_0x387147(0x1b4)](_0x42f79d['IConfigService'])[_0x387147(0x19e)](_0x1525a5['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0x387147(0x161)][_0x387147(0x200)](_0x1525a5[_0x387147(0x236)]));const _0x5b92a0=this[_0x387147(0x161)][_0x387147(0x200)](_0x193822['LS_CONFIG_KEY']);_0x5b92a0&&_0x239b33[_0x387147(0x262)](_0x193822[_0x387147(0x17c)],{'license':_0x5b92a0['ls']}),this[_0x387147(0x1e3)][_0x387147(0x209)](([_0x31e674,_0x1a5971])=>{const _0x456163=_0x387147;_0x239b33[_0x456163(0x262)](_0x31e674,_0x1a5971);}),_0x11bb87[_0x387147(0x15f)](_0x14215b=>{const _0x173fa3=_0x387147;this[_0x173fa3(0x25e)](_0x14215b,_0x11aa6b);}),this[_0x387147(0x24b)][_0x387147(0x1cc)](_0x239b33);const _0x57647d=_0x11bb87['get'](_0x34b0d4[_0x387147(0x220)]),_0x24880a=this[_0x387147(0x172)](_0x11aa6b);_0x57647d[_0x387147(0x16f)](_0x11aa6b,_0x1ef74b,_0x24880a);}[_0x44c106(0x25e)](_0x5e16ec,_0xf797fd){const _0x37975e=_0x44c106,_0x3ae046=_0x5e16ec[_0x37975e(0x1b4)](_0x34b0d4[_0x37975e(0x220)]);this['_disposableCollection'][_0x37975e(0x16e)](_0x3ae046[_0x37975e(0x191)][_0x37975e(0x1a6)](_0x111525=>{const _0x446f15=_0x37975e;switch(_0x111525){case _0x34b0d4['HistoryModeStatus'][_0x446f15(0x194)]:this[_0x446f15(0x21a)]['closeAll'](),this[_0x446f15(0x1c4)][_0x446f15(0x250)]();break;case _0x34b0d4[_0x446f15(0x18f)][_0x446f15(0x20f)]:this[_0x446f15(0x23f)]();break;case _0x34b0d4[_0x446f15(0x18f)][_0x446f15(0x1f1)]:this[_0x446f15(0x23f)](),this[_0x446f15(0x1d9)]['show']({'content':this['_localeService']['t'](_0x446f15(0x1b9)),'type':_0x214586['MessageType']['Error'],'duration':0xbb8});break;}})),this['_disposableCollection'][_0x37975e(0x16e)](_0x3ae046[_0x37975e(0x21e)][_0x37975e(0x1a6)](async _0x3ecbc3=>{const _0x4c24fb=_0x37975e;_0x3ecbc3&&this[_0x4c24fb(0x1cd)]['executeCommand'](_0x2cf53e['RevertRevisionMutation']['id'],{'unitId':_0xf797fd,'revision':_0x3ecbc3});}));}[_0x44c106(0x172)](_0x2dad09){const _0xcbeebc=_0x44c106,_0x7064e8=this[_0xcbeebc(0x24d)][_0xcbeebc(0x23b)](_0x2dad09)['getSheets']()[_0xcbeebc(0x156)](_0x43f93e=>_0x43f93e['getSheetId']()),_0x1c0ff4=new _0x363eef[(_0xcbeebc(0x22f))](_0x2dad09)['id'],_0x3e4967=_0x7064e8[_0xcbeebc(0x156)](_0x4a85e1=>new _0x363eef['WorksheetEditPermission'](_0x2dad09,_0x4a85e1)['id']),_0x2c0fbf=_0x7064e8[_0xcbeebc(0x156)](_0x13bbb1=>this[_0xcbeebc(0x18d)]['getSubunitRuleList'](_0x2dad09,_0x13bbb1)[_0xcbeebc(0x156)](_0x5c72c5=>new _0x363eef[(_0xcbeebc(0x1cf))](_0x2dad09,_0x13bbb1,_0x5c72c5[_0xcbeebc(0x25f)])['id']))[_0xcbeebc(0x1bf)](),_0x5cfd68=new _0x363eef[(_0xcbeebc(0x1e5))](_0x2dad09)['id'];return this[_0xcbeebc(0x223)]['composePermission']([_0x1c0ff4,..._0x3e4967,..._0x2c0fbf,_0x5cfd68])[_0xcbeebc(0x22d)](_0x3bdabf=>!!_0x3bdabf[_0xcbeebc(0x230)]);}},_0x4b6ebd[_0x44c106(0x154)]=_0x5d63d2([_0x5f05e8(0x0,_0x42f79d[_0x44c106(0x1ef)](_0x42f79d[_0x44c106(0x253)])),_0x5f05e8(0x1,_0x42f79d[_0x44c106(0x165)]),_0x5f05e8(0x2,_0x42f79d[_0x44c106(0x210)]),_0x5f05e8(0x3,_0x42f79d['ICommandService']),_0x5f05e8(0x4,_0x382eb3[_0x44c106(0x269)]),_0x5f05e8(0x5,_0x42f79d[_0x44c106(0x25d)]),_0x5f05e8(0x6,_0x42f79d[_0x44c106(0x1ef)](_0x363eef['RangeProtectionRuleModel'])),_0x5f05e8(0x7,_0x42f79d[_0x44c106(0x1ef)](_0x382eb3[_0x44c106(0x1e4)])),_0x5f05e8(0x8,_0x42f79d[_0x44c106(0x1ef)](_0x382eb3['ISidebarService'])),_0x5f05e8(0x9,_0x42f79d[_0x44c106(0x1ef)](_0x42f79d[_0x44c106(0x259)]))],_0x4b6ebd[_0x44c106(0x154)]);const _0x585bae={'id':'univer.operation.toggle-edit-history','type':_0x42f79d[_0x44c106(0x1e0)][_0x44c106(0x1a8)],'handler':_0x1dfe8a=>{const _0x180e86=_0x44c106,_0x21de57=_0x1dfe8a[_0x180e86(0x1b4)](_0x4b6ebd[_0x180e86(0x154)]),_0x12a38c=_0x1dfe8a[_0x180e86(0x1b4)](_0x42f79d[_0x180e86(0x165)]),{unitId:_0xb80c06}=_0x363eef[_0x180e86(0x1f3)](_0x12a38c)||{};return _0xb80c06?(_0x21de57[_0x180e86(0x19a)](_0xb80c06),!0x0):!0x1;}};function _0x5d006b(_0x37de01){const _0xc84510=_0x44c106;return{'id':_0x585bae['id'],'type':_0x382eb3[_0xc84510(0x25c)][_0xc84510(0x22c)],'icon':'HistoryIcon','tooltip':_0xc84510(0x16c),'hidden$':_0x382eb3['getMenuHiddenObservable'](_0x37de01,_0x42f79d['UniverInstanceType'][_0xc84510(0x1ec)]),'disabled$':_0x499a4e[_0xc84510(0x193)](_0x37de01,{'workbookTypes':[_0x363eef[_0xc84510(0x22f)],_0x363eef[_0xc84510(0x1b2)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x1af45d={[_0x382eb3[_0x44c106(0x19c)][_0x44c106(0x162)]]:{[_0x585bae['id']]:{'order':0.2,'menuItemFactory':_0x5d006b}}};var _0x51d09a=Object[_0x44c106(0x245)],_0x841bb9=(_0x325c96,_0x316624,_0x3add8a,_0x5a67c3)=>{const _0x455701=_0x44c106;for(var _0x75e815=_0x5a67c3>0x1?void 0x0:_0x5a67c3?_0x51d09a(_0x316624,_0x3add8a):_0x316624,_0x540620=_0x325c96[_0x455701(0x189)]-0x1,_0x3ab540;_0x540620>=0x0;_0x540620--)(_0x3ab540=_0x325c96[_0x540620])&&(_0x75e815=_0x3ab540(_0x75e815)||_0x75e815);return _0x75e815;},_0x36e940=(_0x1a0c22,_0x5f03be)=>(_0x35cffe,_0x104632)=>_0x5f03be(_0x35cffe,_0x104632,_0x1a0c22);let _0x1315b9=class extends _0x42f79d['RxDisposable']{constructor(_0x21f7c7,_0x47c9ee,_0x3b9e19,_0x6a3778,_0x3ccc69,_0xb35460,_0x248566,_0x4655df){const _0x58a3d8=_0x44c106;super(),_0x70bc7d(this,'_revertErrorTimer',null),(this[_0x58a3d8(0x1cd)]=_0x21f7c7,this[_0x58a3d8(0x198)]=_0x47c9ee,this['_componentManager']=_0x3b9e19,this[_0x58a3d8(0x171)]=_0x6a3778,this[_0x58a3d8(0x26b)]=_0x3ccc69,this[_0x58a3d8(0x1d9)]=_0xb35460,this[_0x58a3d8(0x175)]=_0x248566,this[_0x58a3d8(0x205)]=_0x4655df,this[_0x58a3d8(0x1e2)]());}[_0x44c106(0x1e2)](){const _0x34b5db=_0x44c106;[_0x585bae][_0x34b5db(0x209)](_0x396812=>this[_0x34b5db(0x1e1)](_0x42f79d[_0x34b5db(0x264)](this['_commandService'][_0x34b5db(0x203)](_0x396812)))),this['disposeWithMe'](this[_0x34b5db(0x23e)][_0x34b5db(0x246)](_0x34b5db(0x24e),_0x427284)),this[_0x34b5db(0x198)][_0x34b5db(0x242)](_0x1af45d),this[_0x34b5db(0x1e1)](this[_0x34b5db(0x1cd)]['onCommandExecuted'](_0x295976=>{const _0x3b35f4=_0x34b5db;if(_0x295976['id']===_0x2cf53e[_0x3b35f4(0x1c1)]['id']){this['_messageService']['show']({'content':this['_localeService']['t'](_0x3b35f4(0x216)),'type':_0x214586[_0x3b35f4(0x187)][_0x3b35f4(0x1d4)],'duration':0x1388});const {unitId:_0x30d6b9}=_0x295976[_0x3b35f4(0x1a5)],_0x38ea57=this['_collaborationController'][_0x3b35f4(0x237)](_0x30d6b9),_0x5af155=_0x4a95a9[_0x3b35f4(0x157)]([_0x38ea57['session'][_0x3b35f4(0x1de)],_0x38ea57[_0x3b35f4(0x1a7)]])[_0x3b35f4(0x1a6)](async([_0x1f4edc,_0x59e0bc])=>{const _0x3dbdc4=_0x3b35f4;var _0x13cdf8;_0x1f4edc[_0x3dbdc4(0x178)]===_0x2cf53e[_0x3dbdc4(0x252)][_0x3dbdc4(0x217)]&&(_0x59e0bc==null?void 0x0:_0x59e0bc['status'])===_0x1525a5[_0x3dbdc4(0x18b)]['SYNCED']&&_0x1f4edc[_0x3dbdc4(0x248)]['mutations'][_0x3dbdc4(0x238)](_0xfcc286=>_0xfcc286['id']===_0x2cf53e[_0x3dbdc4(0x1c1)]['id'])&&(this[_0x3dbdc4(0x171)][_0x3dbdc4(0x23f)](),_0x5af155[_0x3dbdc4(0x20e)](),this[_0x3dbdc4(0x1f7)]&&clearTimeout(this[_0x3dbdc4(0x1f7)]),await((_0x13cdf8=this[_0x3dbdc4(0x205)])==null?void 0x0:_0x13cdf8[_0x3dbdc4(0x1ae)]()),setTimeout(()=>window[_0x3dbdc4(0x1da)][_0x3dbdc4(0x20b)]()));});this[_0x3b35f4(0x1f7)]=setTimeout(()=>{const _0xb8dae=_0x3b35f4;_0x5af155[_0xb8dae(0x20e)](),this[_0xb8dae(0x1d9)][_0xb8dae(0x182)]({'content':this[_0xb8dae(0x26b)]['t'](_0xb8dae(0x260)),'type':_0x214586[_0xb8dae(0x187)][_0xb8dae(0x1f1)],'duration':0xbb8});},0x1388);}}));}};_0x1315b9=_0x841bb9([_0x36e940(0x0,_0x42f79d[_0x44c106(0x195)]),_0x36e940(0x1,_0x382eb3[_0x44c106(0x1ff)]),_0x36e940(0x2,_0x42f79d[_0x44c106(0x1ef)](_0x382eb3[_0x44c106(0x24c)])),_0x36e940(0x3,_0x42f79d[_0x44c106(0x1ef)](_0x4b6ebd['HistoryLoaderService'])),_0x36e940(0x4,_0x42f79d[_0x44c106(0x1ef)](_0x42f79d[_0x44c106(0x253)])),_0x36e940(0x5,_0x382eb3[_0x44c106(0x269)]),_0x36e940(0x6,_0x42f79d['Inject'](_0x1525a5[_0x44c106(0x249)])),_0x36e940(0x7,_0x1525a5['ILocalCacheService'])],_0x1315b9);var _0x122a00=Object[_0x44c106(0x245)],_0x4a039c=(_0x212a63,_0x4cf4ce,_0x166e69,_0x502f67)=>{const _0x598638=_0x44c106;for(var _0x3966f5=_0x502f67>0x1?void 0x0:_0x502f67?_0x122a00(_0x4cf4ce,_0x166e69):_0x4cf4ce,_0x2ae806=_0x212a63[_0x598638(0x189)]-0x1,_0x3642a2;_0x2ae806>=0x0;_0x2ae806--)(_0x3642a2=_0x212a63[_0x2ae806])&&(_0x3966f5=_0x3642a2(_0x3966f5)||_0x3966f5);return _0x3966f5;},_0x332ab7=(_0x5083f8,_0x485855)=>(_0x168e54,_0xe8ef6a)=>_0x485855(_0x168e54,_0xe8ef6a,_0x5083f8);const _0x48f729='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';_0x4b6ebd[_0x44c106(0x1d7)]=(_0x333a38=class extends _0x42f79d['Plugin']{constructor(_0x3ac46b=_0x9a0134,_0x45a154,_0x16723c){const _0x1ff934=_0x44c106;super(),this[_0x1ff934(0x169)]=_0x3ac46b,this[_0x1ff934(0x1e8)]=_0x45a154,this[_0x1ff934(0x161)]=_0x16723c;const {menu:_0x3bf4e5,..._0x51092b}=_0x42f79d[_0x1ff934(0x1c3)]({},_0x9a0134,this[_0x1ff934(0x169)]);_0x3bf4e5&&this[_0x1ff934(0x161)][_0x1ff934(0x19e)](_0x1ff934(0x211),_0x3bf4e5,{'merge':!0x0}),this[_0x1ff934(0x161)][_0x1ff934(0x19e)](_0x5249ed,_0x51092b),this[_0x1ff934(0x169)]['univerContainerId']&&this['_configService']['setConfig'](_0x2182ad,this[_0x1ff934(0x169)][_0x1ff934(0x213)]);}[_0x44c106(0x22a)](){const _0x46bc44=_0x44c106;[[_0x4b6ebd['HistoryLoaderService']],[_0x1315b9]][_0x46bc44(0x209)](_0xb3417a=>this[_0x46bc44(0x1e8)]['add'](_0xb3417a));}[_0x44c106(0x1c2)](){const _0x5e26aa=_0x44c106;this[_0x5e26aa(0x1e8)][_0x5e26aa(0x1b4)](_0x1315b9);}},_0x70bc7d(_0x333a38,_0x44c106(0x214),_0x42f79d[_0x44c106(0x1ca)][_0x44c106(0x254)]),_0x70bc7d(_0x333a38,_0x44c106(0x231),_0x48f729),_0x333a38),_0x4b6ebd['UniverEditHistoryLoaderPlugin']=_0x4a039c([_0x332ab7(0x1,_0x42f79d[_0x44c106(0x1ef)](_0x42f79d[_0x44c106(0x1bd)])),_0x332ab7(0x2,_0x42f79d[_0x44c106(0x210)])],_0x4b6ebd[_0x44c106(0x1d7)]),_0x4b6ebd[_0x44c106(0x1a3)]=_0x2182ad,_0x4b6ebd['UNIVER_HISTORY_CONTAINER_ID']=_0x240eb5,Object[_0x44c106(0x17e)](_0x4b6ebd,Symbol[_0x44c106(0x219)],{'value':'Module'});}));
20
+ function _0x33ba(){const _0x619855=['_disposableCollection','ILocalCacheService','getSheets','CHANGESET_ACK','UniverDrawingPlugin','setTheme','div','_localeService','mergeMenu','_initListener','_dialogService','unMountHistoryContent','@univerjs/sheets-drawing','value','amd','HistoryManagerService','UniverSheetsConditionalFormatting','UNIVER_CONTAINER_ID_KEY','displayName','trim','length','appendChild','OTHERS','@univerjs/docs','UniverDocs','IConfigService','editHistory.panel.reverting','_commandService','replace','LocaleService','HistoryModeStatus','createElement','_historyUniver$','path','_sidebarService','_selectionProtectionRuleModel','Loading','RangeProtectionPermissionEditPoint','1367376wSfqWE','WorkbookViewHistoryPermission','_revertErrorTimer','has','1em','flat','display','UniverEngineFormula','\x20has\x20been\x20registered.','rxjs','UniverSheetsDataValidationPlugin','function','_permissionService','registerPlugin','svg','UniverSheetsHyperLinkPlugin','state$','_configService','UniverDocsPlugin','triggerLoadVersions','_initUniver','@univerjs/drawing-ui','getElementById','_pluginMap','getLocales','UniverDataValidationPlugin','block','historyUniver$','RxDisposable','getSubunitRuleList','_config','univerjs-icon\x20univerjs-icon-','IAuthzIoService','[HistoryLoaderService]:\x20Plugin\x20','BehaviorSubject','IPermissionService','Univer','RevertRevisionMutation','UniverSheetsDrawingPlugin','@univerjs/drawing','Injector','react','@univerjs/sheets-data-validation','getSheetId','UniverSheetsFormulaUi','UniverRpc','UniverDocsUIPlugin','attrs','UniverProSheetsChart','_initContainer','UniverSheetsFilterUIPlugin','ICommandService','UniverEngineRender','1192755BdGBCa','register','UniverProCollaborationClient','UniverSheetsChartUIPlugin','edit-history-loader.config','getConfig','colorChannel1','UniverSheetsDataValidationUIPlugin','@univerjs-pro/sheets-pivot','UniverSheetsDrawing','map','_init','Plugin','close','UniverRPCMainThreadPlugin','toDisposable','@univerjs-pro/sheets-sparkline-ui','xlink:href','historyListServerUrl','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','editHistory.panel.title','138828ERtYrc','1000','includes','dispose','AuthzIoHttpService','HistoryIcon','use','MessageType','_historyManagerService','HistoryLoaderService','Module','UniverSheetsFormulaUIPlugin','@univerjs-pro/sheets-chart-ui','UniverSheets','asObservable','editHistory.panel.listFetchError','status$','100%','UniverProEditHistoryLoader','setConfig','@univerjs/sheets-formula-ui','white','univer.operation.exit-edit-history','UniverDesign','random','params','@univerjs-pro/edit-history-viewer','IDialogService','assign','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','0\x200\x2016\x2016','history-icon_clip0_907_281','UniverSheetsNumfmtPlugin','@univerjs-pro/license','entries','UniverSheetsChartPlugin','unsubscribe','menu','UniverNetwork','DisposableCollection','MenuItemType','IUniverInstanceService','historyUniver','revertRevision$','UniverDrawing','getOwnPropertyDescriptor','get','merge','show','UniverProSheetsChartUi','string','@univerjs/sheets-filter-ui','UniverSheetsDrawingUi','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','reload','@univerjs/design','disposeWithMe','_themeService','getSheetCommandTarget','React','onSteady','mountHistoryContent','UniverSheetsDataValidation','status','@univerjs/docs-ui','UniverSheetsPivotTablePlugin','ThemeService','UniverRenderEnginePlugin','toString','@univerjs/engine-render','LS_CONFIG_KEY','@univerjs/sheets-numfmt','values','Inject','http://www.w3.org/2000/svg','UniverSheetSparklinePlugin','mutations','@univerjs-pro/collaboration-client','SYNCED','UniverCore','type','UniverLicensePlugin','getCurrentLocale','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Exited','pluginName','UniverProSheetsSparklineUi','setDarkMode','35UgqvTM','312008VHWhdy','UNIVER_HISTORY_CONTAINER_ID','from','UniverSheetsPlugin','UniverEditHistoryViewerPlugin','ComponentManager','subscribe','_messageService','UniverNetworkPlugin','UniverEditHistoryLoaderPlugin','CollaborationEvent','@univerjs/sheets-drawing-ui','_injector','3uffStV','UniverSheetsDrawingUIPlugin','history-container','UniverSheetsConditionalFormattingPlugin','idSuffix','120930mGwVUe','UniverSheetSparklineUIPlugin','@univerjs/core','@univerjs-pro/collaboration','UniverSheetsFormulaPlugin','forEach','location','@univerjs-pro/sheets-sparkline','UniverSheetsFilterUi','defIds','mask','@univerjs/sheets-conditional-formatting','40oYSynb','getCurrentRangeDisable$','@univerjs/rpc','WorkbookRecoverHistoryPermission','CollaborationController','_univerInstanceService','fill','closeAll','substring','@univerjs/sheets-conditional-formatting-ui','UniverProSheetsPivot','add','UniverDrawingUi','Error','UniverDataValidation','M0\x200H16V16H0z','style','WorksheetEditPermission','univer-container','url(#history-icon_clip0_907_281)','_menuManagerService','@univerjs/sheets-formula','forwardRef','UniverProCollaboration','getAllPlugins','@univerjs/sheets-filter','@univerjs/sheets-ui','tag','current','historyPanelComponentKey','exports','34179eiFufB','data','UniverSheetsNumfmt','top','UniverSheetsConditionalFormattingUIPlugin','_localCacheService','Entered','univer.operation.toggle-edit-history','_initPlugins','some','UniverDocsUi','currentColor','627cJTNSN','permissionId','@univerjs/sheets-hyper-link','event$','IMessageService','CollaborationStatus','UniverUi','symbol','zIndex','url(#$1','UniverUIPlugin','UNIVER_SHEET','useRef','@univerjs/network','UniverProEditHistoryViewer','171sFqVzM','position','_checkCanRevert','object','UniverDrawingUIPlugin','Disposable','UniverInstanceType','combineLatest','@univerjs/data-validation','@univerjs/ui','_collaborationController','absolute','BUTTON','width','OPERATION','dataset','@univerjs-pro/sheets-chart','registerCommand','UNIVER_CONTAINER_ID','none','IMenuManagerService','children','univerContainerId','UNIVER_UNKNOWN','WorkbookEditablePermission','61032ZULBZf'];_0x33ba=function(){return _0x619855;};return _0x33ba();}function _0x2c10(_0x3203e4,_0x2f4aaf){_0x3203e4=_0x3203e4-0x166;const _0x33ba39=_0x33ba();let _0x2c1066=_0x33ba39[_0x3203e4];return _0x2c1066;}(function(_0x5f43c8,_0x1855df){const _0x4429b1=_0x2c10,_0x122958=_0x5f43c8();while(!![]){try{const _0x5b9951=parseInt(_0x4429b1(0x19f))/0x1*(-parseInt(_0x4429b1(0x274))/0x2)+-parseInt(_0x4429b1(0x1cf))/0x3*(-parseInt(_0x4429b1(0x1b0))/0x4)+-parseInt(_0x4429b1(0x25f))/0x5+-parseInt(_0x4429b1(0x22a))/0x6+-parseInt(_0x4429b1(0x191))/0x7*(-parseInt(_0x4429b1(0x192))/0x8)+parseInt(_0x4429b1(0x1ea))/0x9*(parseInt(_0x4429b1(0x1a4))/0xa)+-parseInt(_0x4429b1(0x1db))/0xb*(-parseInt(_0x4429b1(0x203))/0xc);if(_0x5b9951===_0x1855df)break;else _0x122958['push'](_0x122958['shift']());}catch(_0x349fe1){_0x122958['push'](_0x122958['shift']());}}}(_0x33ba,0x2593b),function(_0x1067d8,_0x3cfd4d){const _0x4b0fb0=_0x2c10;typeof exports==_0x4b0fb0(0x1ed)&&typeof module<'u'?_0x3cfd4d(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x4b0fb0(0x235)&&define[_0x4b0fb0(0x212)]?define([_0x4b0fb0(0x1ce),_0x4b0fb0(0x1a6),_0x4b0fb0(0x1a7),_0x4b0fb0(0x186),_0x4b0fb0(0x170),_0x4b0fb0(0x253),_0x4b0fb0(0x1f3),_0x4b0fb0(0x233),'@univerjs/sheets',_0x4b0fb0(0x28e),_0x4b0fb0(0x295),_0x4b0fb0(0x1fa),_0x4b0fb0(0x280),_0x4b0fb0(0x267),_0x4b0fb0(0x1ab),_0x4b0fb0(0x26f),_0x4b0fb0(0x1f2),_0x4b0fb0(0x21b),_0x4b0fb0(0x179),_0x4b0fb0(0x251),_0x4b0fb0(0x23f),'@univerjs/engine-formula',_0x4b0fb0(0x17e),_0x4b0fb0(0x1e8),_0x4b0fb0(0x1b2),_0x4b0fb0(0x1af),_0x4b0fb0(0x1b9),_0x4b0fb0(0x254),'@univerjs/sheets-data-validation-ui',_0x4b0fb0(0x210),_0x4b0fb0(0x19d),_0x4b0fb0(0x1c9),_0x4b0fb0(0x16c),_0x4b0fb0(0x1c5),_0x4b0fb0(0x288),_0x4b0fb0(0x1dd),'@univerjs/sheets-hyper-link-ui',_0x4b0fb0(0x180),_0x4b0fb0(0x1ca)],_0x3cfd4d):(_0x1067d8=typeof globalThis<'u'?globalThis:_0x1067d8||self,_0x3cfd4d(_0x1067d8[_0x4b0fb0(0x286)]={},_0x1067d8[_0x4b0fb0(0x188)],_0x1067d8[_0x4b0fb0(0x1c7)],_0x1067d8[_0x4b0fb0(0x261)],_0x1067d8[_0x4b0fb0(0x28b)],_0x1067d8[_0x4b0fb0(0x174)],_0x1067d8[_0x4b0fb0(0x1e1)],_0x1067d8[_0x4b0fb0(0x233)],_0x1067d8[_0x4b0fb0(0x281)],_0x1067d8[_0x4b0fb0(0x1e9)],_0x1067d8['UniverProLicense'],_0x1067d8[_0x4b0fb0(0x25a)],_0x1067d8[_0x4b0fb0(0x16a)],_0x1067d8[_0x4b0fb0(0x1ba)],_0x1067d8['UniverProSheetsSparkline'],_0x1067d8[_0x4b0fb0(0x18f)],_0x1067d8[_0x4b0fb0(0x1be)],_0x1067d8[_0x4b0fb0(0x21c)],_0x1067d8[_0x4b0fb0(0x1d9)],_0x1067d8[_0x4b0fb0(0x2a0)],_0x1067d8[_0x4b0fb0(0x1bc)],_0x1067d8[_0x4b0fb0(0x231)],_0x1067d8[_0x4b0fb0(0x25e)],_0x1067d8[_0x4b0fb0(0x29a)],_0x1067d8[_0x4b0fb0(0x257)],_0x1067d8[_0x4b0fb0(0x214)],_0x1067d8['UniverSheetsConditionalFormattingUi'],_0x1067d8[_0x4b0fb0(0x177)],_0x1067d8['UniverSheetsDataValidationUi'],_0x1067d8[_0x4b0fb0(0x268)],_0x1067d8[_0x4b0fb0(0x16d)],_0x1067d8['UniverSheetsFilter'],_0x1067d8[_0x4b0fb0(0x1ac)],_0x1067d8['UniverSheetsFormula'],_0x1067d8[_0x4b0fb0(0x256)],_0x1067d8['UniverSheetsHyperLink'],_0x1067d8['UniverSheetsHyperLinkUi'],_0x1067d8[_0x4b0fb0(0x1d1)],_0x1067d8['UniverSheetsUi']));}(this,function(_0x229c5a,_0x1016c9,_0x40f05f,_0x5a70ef,_0x1ca223,_0x192ba7,_0x2d27ed,_0x17c577,_0x466835,_0x5d4ad5,_0x59c942,_0x55bad2,_0x317a01,_0xc9f07,_0x41ce81,_0x294efb,_0x3a92fc,_0x1cb07e,_0x32f500,_0x521183,_0x695a2a,_0x39e3c8,_0x396f74,_0x2646d4,_0x3a195b,_0x4a6844,_0x241da7,_0x52bbee,_0x3a7742,_0x4d598d,_0x275b50,_0x1db37c,_0x251370,_0x35c358,_0x189cb4,_0x2acfc5,_0x240d16,_0x5da4a0,_0x533934){'use strict';const _0x171c59=_0x2c10;var _0x45d4db=Object['defineProperty'],_0xc983cb=(_0x514459,_0x52bd38,_0x2d7327)=>_0x52bd38 in _0x514459?_0x45d4db(_0x514459,_0x52bd38,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d7327}):_0x514459[_0x52bd38]=_0x2d7327,_0x1d6dce=(_0x133dea,_0x3a83a1,_0x501329)=>_0xc983cb(_0x133dea,typeof _0x3a83a1!=_0x171c59(0x1e2)?_0x3a83a1+'':_0x3a83a1,_0x501329),_0x545414;const _0x241632=_0x171c59(0x263),_0x56f1be={};function _0x37dd0a({ref:_0x5a02ad,..._0xc26e72}){const _0x335483=_0x171c59,{icon:_0x439870,id:_0x4b3e27,className:_0x167f88,extend:_0x217416,..._0x532dee}=_0xc26e72,_0x8d3ce9=(_0x335483(0x249)+_0x4b3e27+'\x20'+(_0x167f88||''))[_0x335483(0x217)](),_0x57c75b=_0x192ba7[_0x335483(0x1e7)]('_'+_0x3bd1e5());return _0x24d928(_0x439870,''+_0x4b3e27,{'defIds':_0x439870[_0x335483(0x1ad)],'idSuffix':_0x57c75b[_0x335483(0x1cc)]},{'ref':_0x5a02ad,'className':_0x8d3ce9,..._0x532dee},_0x217416);}function _0x24d928(_0x47fa84,_0x13a402,_0x4fd14a,_0x4565b0,_0x53a6da){const _0x4db085=_0x171c59;return _0x192ba7[_0x4db085(0x223)](_0x47fa84[_0x4db085(0x1cb)],{'key':_0x13a402,..._0xea20d0(_0x47fa84,_0x4fd14a,_0x53a6da),..._0x4565b0},(_0x37fea9(_0x47fa84,_0x4fd14a)[_0x4db085(0x1ff)]||[])[_0x4db085(0x269)]((_0x191ec6,_0x41bf0c)=>_0x24d928(_0x191ec6,_0x13a402+'-'+_0x47fa84[_0x4db085(0x1cb)]+'-'+_0x41bf0c,_0x4fd14a,void 0x0,_0x53a6da)));}function _0xea20d0(_0x454837,_0x105db7,_0x36ae20){const _0xdb9fc4=_0x171c59,_0x4b9add={..._0x454837['attrs']};_0x36ae20!=null&&_0x36ae20['colorChannel1']&&_0x4b9add[_0xdb9fc4(0x1b6)]===_0xdb9fc4(0x265)&&(_0x4b9add[_0xdb9fc4(0x1b6)]=_0x36ae20['colorChannel1']),_0x454837[_0xdb9fc4(0x1cb)]===_0xdb9fc4(0x1ae)&&_0x4b9add['id']&&(_0x4b9add['id']=_0x4b9add['id']+_0x105db7[_0xdb9fc4(0x1a3)]),Object[_0xdb9fc4(0x296)](_0x4b9add)[_0xdb9fc4(0x1a9)](([_0x692d17,_0x5cdf70])=>{const _0x351e02=_0xdb9fc4;_0x692d17===_0x351e02(0x1ae)&&typeof _0x5cdf70==_0x351e02(0x16b)&&(_0x4b9add[_0x692d17]=_0x5cdf70['replace'](/url\(#(.*)\)/,'url(#$1'+_0x105db7['idSuffix']+')'));});const {defIds:_0xfd38ad}=_0x105db7;return!_0xfd38ad||_0xfd38ad['length']===0x0||(_0x454837[_0xdb9fc4(0x1cb)]===_0xdb9fc4(0x27a)&&_0x4b9add[_0xdb9fc4(0x270)]&&(_0x4b9add[_0xdb9fc4(0x270)]=_0x4b9add[_0xdb9fc4(0x270)]+_0x105db7['idSuffix']),Object[_0xdb9fc4(0x296)](_0x4b9add)[_0xdb9fc4(0x1a9)](([_0x1a138d,_0x3f9155])=>{const _0x2e4c51=_0xdb9fc4;typeof _0x3f9155=='string'&&(_0x4b9add[_0x1a138d]=_0x3f9155[_0x2e4c51(0x220)](/url\(#(.*)\)/,_0x2e4c51(0x1e4)+_0x105db7[_0x2e4c51(0x1a3)]+')'));})),_0x4b9add;}function _0x37fea9(_0x36b966,_0x50297b){const _0x52780c=_0x171c59;var _0x31fce2;const {defIds:_0x134e6f}=_0x50297b;return!_0x134e6f||_0x134e6f[_0x52780c(0x218)]===0x0?_0x36b966:_0x36b966[_0x52780c(0x1cb)]==='defs'&&((_0x31fce2=_0x36b966['children'])!=null&&_0x31fce2[_0x52780c(0x218)])?{..._0x36b966,'children':_0x36b966[_0x52780c(0x1ff)][_0x52780c(0x269)](_0x14fb7c=>typeof _0x14fb7c[_0x52780c(0x259)]['id']==_0x52780c(0x16b)&&_0x134e6f&&_0x134e6f[_0x52780c(0x276)](_0x14fb7c[_0x52780c(0x259)]['id'])?{..._0x14fb7c,'attrs':{..._0x14fb7c[_0x52780c(0x259)],'id':_0x14fb7c['attrs']['id']+_0x50297b[_0x52780c(0x1a3)]}}:_0x14fb7c)}:_0x36b966;}function _0x3bd1e5(){const _0x176488=_0x171c59;return Math[_0x176488(0x28c)]()[_0x176488(0x17d)](0x24)[_0x176488(0x1b8)](0x2,0x8);}_0x37dd0a['displayName']='UniverIcon';const _0x1ee599={'tag':_0x171c59(0x238),'attrs':{'xmlns':_0x171c59(0x183),'fill':_0x171c59(0x1fd),'viewBox':_0x171c59(0x292),'width':_0x171c59(0x22e),'height':_0x171c59(0x22e)},'children':[{'tag':'g','attrs':{'fill':_0x171c59(0x1da),'clipPath':_0x171c59(0x1c3)},'children':[{'tag':_0x171c59(0x225),'attrs':{'d':_0x171c59(0x291)}},{'tag':'path','attrs':{'d':_0x171c59(0x16e)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':'path','attrs':{'fill':_0x171c59(0x289),'d':_0x171c59(0x1bf)}}]}]}],'defIds':[_0x171c59(0x293)]},_0x572743=_0x192ba7[_0x171c59(0x1c6)](function(_0x133ac4,_0x54894c){const _0x3fb836=_0x171c59;return _0x192ba7[_0x3fb836(0x223)](_0x37dd0a,Object[_0x3fb836(0x290)]({},_0x133ac4,{'id':'history-icon','ref':_0x54894c,'icon':_0x1ee599}));});_0x572743[_0x171c59(0x216)]=_0x171c59(0x279);var _0x4d0f59=Object[_0x171c59(0x166)],_0x7f2728=(_0x260674,_0x5c971a,_0x5f5be4,_0x441c4e)=>{const _0x5289c7=_0x171c59;for(var _0x19f1a4=_0x441c4e>0x1?void 0x0:_0x441c4e?_0x4d0f59(_0x5c971a,_0x5f5be4):_0x5c971a,_0x1e25c3=_0x260674[_0x5289c7(0x218)]-0x1,_0x3d02c2;_0x1e25c3>=0x0;_0x1e25c3--)(_0x3d02c2=_0x260674[_0x1e25c3])&&(_0x19f1a4=_0x3d02c2(_0x19f1a4)||_0x19f1a4);return _0x19f1a4;},_0x23e862=(_0x42cc41,_0x3c0b91)=>(_0x18971e,_0x2de7f3)=>_0x3c0b91(_0x18971e,_0x2de7f3,_0x42cc41);const _0x5958fe=_0x171c59(0x1c2),_0x159cc3=_0x171c59(0x1fc),_0x335384='univer-history-container';_0x229c5a['HistoryLoaderService']=class extends _0x1016c9[_0x171c59(0x1ef)]{constructor(_0x507824,_0x28ef84,_0x53693b,_0x47ffad,_0x1f6257,_0x5a764a,_0x3c4bff,_0x5b324c,_0x51c0a6,_0x157c87){const _0x6b03ba=_0x171c59;super(),_0x1d6dce(this,'_historyUniver$',new _0x17c577[(_0x6b03ba(0x24c))](null)),_0x1d6dce(this,_0x6b03ba(0x245),this[_0x6b03ba(0x224)][_0x6b03ba(0x282)]()),_0x1d6dce(this,'_disposableCollection',new _0x1016c9[(_0x6b03ba(0x29b))]()),_0x1d6dce(this,_0x6b03ba(0x241),new Map()),(this['_localeService']=_0x507824,this[_0x6b03ba(0x1b5)]=_0x28ef84,this[_0x6b03ba(0x23b)]=_0x53693b,this['_commandService']=_0x47ffad,this['_messageService']=_0x1f6257,this[_0x6b03ba(0x236)]=_0x5a764a,this[_0x6b03ba(0x227)]=_0x3c4bff,this[_0x6b03ba(0x20e)]=_0x5b324c,this[_0x6b03ba(0x226)]=_0x51c0a6,this[_0x6b03ba(0x172)]=_0x157c87,this['_init']());}get[_0x171c59(0x29e)](){const _0x20e315=_0x171c59;return this[_0x20e315(0x224)][_0x20e315(0x211)];}[_0x171c59(0x26a)](){const _0x52fbe3=_0x171c59;this[_0x52fbe3(0x25b)](),this['_initPlugins']();}[_0x171c59(0x25b)](){const _0xc5eeba=_0x171c59;var _0x378bc9;const _0x470776=(_0x378bc9=this[_0xc5eeba(0x23b)][_0xc5eeba(0x264)](_0x159cc3))!=null?_0x378bc9:_0x5958fe,_0xff69a4=document[_0xc5eeba(0x240)](_0x470776);if(!_0xff69a4)return;const _0x3f9e5d=document[_0xc5eeba(0x223)](_0xc5eeba(0x20a));_0x3f9e5d['id']=_0x335384,_0x3f9e5d[_0xc5eeba(0x1f9)]['uComp']=_0xc5eeba(0x1a1),_0x3f9e5d[_0xc5eeba(0x1c0)][_0xc5eeba(0x1eb)]=_0xc5eeba(0x1f5),_0x3f9e5d[_0xc5eeba(0x1c0)][_0xc5eeba(0x1d2)]='0',_0x3f9e5d['style']['left']='0',_0x3f9e5d[_0xc5eeba(0x1c0)][_0xc5eeba(0x1f7)]=_0xc5eeba(0x285),_0x3f9e5d[_0xc5eeba(0x1c0)]['height']=_0xc5eeba(0x285),_0x3f9e5d[_0xc5eeba(0x1c0)][_0xc5eeba(0x1e3)]=_0xc5eeba(0x275),_0x3f9e5d[_0xc5eeba(0x1c0)]['display']=_0xc5eeba(0x1fd),_0xff69a4[_0xc5eeba(0x219)](_0x3f9e5d);}[_0x171c59(0x1d7)](){const _0x19dbf8=_0x171c59;var _0x3ec0ba,_0x3613ee;[[_0x396f74[_0x19dbf8(0x17c)]],[_0x2d27ed[_0x19dbf8(0x1e5)],{'container':_0x335384,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x2d27ed[_0x19dbf8(0x28f)],null]]}],[_0x2646d4[_0x19dbf8(0x19a)]],[_0x521183[_0x19dbf8(0x208)],{'override':[[_0x521183['IImageIoService'],null]]}],[_0x1cb07e[_0x19dbf8(0x23c)],{'hasScroll':!0x1}],[_0x32f500[_0x19dbf8(0x258)]],[_0x5da4a0[_0x19dbf8(0x294)]],[_0x466835[_0x19dbf8(0x195)],{'notExecuteFormula':!0x0}],[_0x533934['UniverSheetsUIPlugin']],[_0x35c358[_0x19dbf8(0x1a8)]],[_0x189cb4[_0x19dbf8(0x27f)]],[_0x40f05f['UniverCollaborationPlugin']],[_0x1db37c['UniverSheetsFilterPlugin']],[_0x251370[_0x19dbf8(0x25c)]],[_0x4a6844[_0x19dbf8(0x1a2)]],[_0x241da7[_0x19dbf8(0x1d3)]],[_0x2acfc5[_0x19dbf8(0x239)]],[_0x240d16['UniverSheetsHyperLinkUIPlugin']],[_0x3a92fc[_0x19dbf8(0x243)]],[_0x52bbee[_0x19dbf8(0x234)]],[_0x3a7742[_0x19dbf8(0x266)]],[_0x39e3c8['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0x3a195b[_0x19dbf8(0x26d)],{'workerURL':'./worker.js'}],[_0x695a2a[_0x19dbf8(0x1ee)]],[_0x4d598d[_0x19dbf8(0x250)]],[_0x275b50[_0x19dbf8(0x1a0)]],[_0x41ce81[_0x19dbf8(0x184)]],[_0x294efb[_0x19dbf8(0x1a5)]],[_0x55bad2[_0x19dbf8(0x297)]],[_0x317a01[_0x19dbf8(0x262)]],[_0xc9f07[_0x19dbf8(0x17a)],{'notExecuteFormula':!0x0}],[_0x5d4ad5[_0x19dbf8(0x196)],{'historyListServerUrl':(_0x3ec0ba=this[_0x19dbf8(0x23b)][_0x19dbf8(0x264)](_0x241632))==null?void 0x0:_0x3ec0ba[_0x19dbf8(0x271)],'historyPanelComponentKey':(_0x3613ee=this[_0x19dbf8(0x23b)][_0x19dbf8(0x264)](_0x241632))==null?void 0x0:_0x3613ee[_0x19dbf8(0x1cd)]}]]['forEach'](([_0x6f706f,_0xfb2388])=>this[_0x19dbf8(0x237)](_0x6f706f,_0xfb2388));}[_0x171c59(0x277)](){const _0x2d70db=_0x171c59;super[_0x2d70db(0x277)](),this[_0x2d70db(0x20f)](),this[_0x2d70db(0x241)]['clear']();}[_0x171c59(0x237)](_0x2445ba,_0x34ec72,_0x553201){const _0x58250f=_0x171c59;if(this[_0x58250f(0x241)][_0x58250f(0x22d)](_0x2445ba[_0x58250f(0x18e)])&&!_0x553201)throw new Error(_0x58250f(0x24b)+_0x2445ba['pluginName']+_0x58250f(0x232));this[_0x58250f(0x241)]['set'](_0x2445ba[_0x58250f(0x18e)],[_0x2445ba,_0x34ec72]);}[_0x171c59(0x1c8)](){const _0x62f76b=_0x171c59;return Array[_0x62f76b(0x194)](this['_pluginMap'][_0x62f76b(0x181)]());}[_0x171c59(0x176)](_0x40d4ff){const _0x288936=_0x171c59,_0xb45592=document[_0x288936(0x240)](_0x335384);_0xb45592&&(_0xb45592[_0x288936(0x1c0)][_0x288936(0x230)]=_0x288936(0x244),this['_initUniver'](_0x40d4ff,_0x335384));}[_0x171c59(0x20f)](){const _0x435e9d=_0x171c59;var _0x7dd941;this[_0x435e9d(0x204)]['dispose'](),(_0x7dd941=this['historyUniver'])==null||_0x7dd941['dispose'](),this[_0x435e9d(0x224)]['next'](null);const _0x15b1e9=document[_0x435e9d(0x240)](_0x335384);_0x15b1e9&&(_0x15b1e9[_0x435e9d(0x1c0)][_0x435e9d(0x230)]='none');}[_0x171c59(0x23e)](_0x3201d6,_0x51ea89){const _0x33a84a=_0x171c59;if(this[_0x33a84a(0x29e)])return;const _0x1c31e5=new _0x1016c9[(_0x33a84a(0x24e))]({'locales':{[this['_localeService']['getCurrentLocale']()]:this['_localeService'][_0x33a84a(0x242)]()},'override':[[_0x1016c9[_0x33a84a(0x24a)],{'useClass':_0x5a70ef[_0x33a84a(0x278)]}]]}),_0x4b6988=_0x1c31e5['__getInjector']();this[_0x33a84a(0x171)](this[_0x33a84a(0x172)]['darkMode$'][_0x33a84a(0x198)](_0x3a7bff=>{const _0x1924de=_0x33a84a;_0x4b6988[_0x1924de(0x167)](_0x1016c9[_0x1924de(0x17b)])[_0x1924de(0x190)](_0x3a7bff);})),this[_0x33a84a(0x171)](this[_0x33a84a(0x172)]['currentTheme$'][_0x33a84a(0x198)](_0x2c7d8b=>{const _0x33f204=_0x33a84a;_0x4b6988[_0x33f204(0x167)](_0x1016c9['ThemeService'])[_0x33f204(0x209)](_0x2c7d8b);})),_0x4b6988[_0x33a84a(0x167)](_0x1016c9[_0x33a84a(0x221)])['setLocale'](this['_localeService'][_0x33a84a(0x18b)]()),_0x4b6988[_0x33a84a(0x167)](_0x1016c9[_0x33a84a(0x21d)])[_0x33a84a(0x287)](_0x5a70ef[_0x33a84a(0x18c)],this[_0x33a84a(0x23b)]['getConfig'](_0x5a70ef[_0x33a84a(0x18c)]));const _0x3df5fe=this[_0x33a84a(0x23b)][_0x33a84a(0x264)](_0x59c942[_0x33a84a(0x17f)]);_0x3df5fe&&_0x1c31e5[_0x33a84a(0x237)](_0x59c942[_0x33a84a(0x18a)],{'license':_0x3df5fe['ls']}),this[_0x33a84a(0x241)][_0x33a84a(0x1a9)](([_0xa0f1ac,_0x426a77])=>{_0x1c31e5['registerPlugin'](_0xa0f1ac,_0x426a77);}),_0x4b6988['invoke'](_0x2a0aa0=>{const _0x98ea99=_0x33a84a;this[_0x98ea99(0x20d)](_0x2a0aa0,_0x3201d6);}),this[_0x33a84a(0x224)]['next'](_0x1c31e5);const _0x244bf1=_0x4b6988[_0x33a84a(0x167)](_0x5d4ad5[_0x33a84a(0x213)]),_0x443c7c=this['_checkCanRevert'](_0x3201d6);_0x244bf1[_0x33a84a(0x23d)](_0x3201d6,_0x51ea89,_0x443c7c);}['_initListener'](_0x366316,_0x1b9b72){const _0x1bf303=_0x171c59,_0x26ff06=_0x366316['get'](_0x5d4ad5[_0x1bf303(0x213)]);this[_0x1bf303(0x204)][_0x1bf303(0x1bb)](_0x26ff06[_0x1bf303(0x284)][_0x1bf303(0x198)](_0x5c315e=>{const _0x354c23=_0x1bf303;switch(_0x5c315e){case _0x5d4ad5[_0x354c23(0x222)][_0x354c23(0x1d5)]:this[_0x354c23(0x20e)][_0x354c23(0x1b7)](),this[_0x354c23(0x226)][_0x354c23(0x26c)]();break;case _0x5d4ad5['HistoryModeStatus'][_0x354c23(0x18d)]:this[_0x354c23(0x21f)]['executeCommand'](_0x166850['id']),this[_0x354c23(0x20f)]();break;case _0x5d4ad5[_0x354c23(0x222)][_0x354c23(0x1bd)]:this['unMountHistoryContent'](),this[_0x354c23(0x199)][_0x354c23(0x169)]({'content':this[_0x354c23(0x20b)]['t'](_0x354c23(0x283)),'type':_0x1ca223[_0x354c23(0x27b)][_0x354c23(0x1bd)],'duration':0xbb8});break;}})),this[_0x1bf303(0x204)][_0x1bf303(0x1bb)](_0x26ff06[_0x1bf303(0x29f)]['subscribe'](async _0x5eab2e=>{const _0x3161f6=_0x1bf303;_0x5eab2e&&this[_0x3161f6(0x21f)]['executeCommand'](_0x40f05f['RevertRevisionMutation']['id'],{'unitId':_0x1b9b72,'revision':_0x5eab2e});}));}[_0x171c59(0x1ec)](_0x521cdf){const _0x1aaec9=_0x171c59,_0x318db3=this['_univerInstanceService']['getUnit'](_0x521cdf)[_0x1aaec9(0x206)]()[_0x1aaec9(0x269)](_0x15d53a=>_0x15d53a[_0x1aaec9(0x255)]()),_0x3fd040=new _0x466835[(_0x1aaec9(0x202))](_0x521cdf)['id'],_0x44c456=_0x318db3['map'](_0x39f253=>new _0x466835[(_0x1aaec9(0x1c1))](_0x521cdf,_0x39f253)['id']),_0x92be32=_0x318db3['map'](_0x5f57de=>this['_selectionProtectionRuleModel'][_0x1aaec9(0x247)](_0x521cdf,_0x5f57de)[_0x1aaec9(0x269)](_0xd85f56=>new _0x466835[(_0x1aaec9(0x229))](_0x521cdf,_0x5f57de,_0xd85f56[_0x1aaec9(0x1dc)])['id']))[_0x1aaec9(0x22f)](),_0x4afd3b=new _0x466835[(_0x1aaec9(0x1b3))](_0x521cdf)['id'];return this[_0x1aaec9(0x236)]['composePermission']([_0x3fd040,..._0x44c456,..._0x92be32,_0x4afd3b])['every'](_0x2e1b7a=>!!_0x2e1b7a['value']);}},_0x229c5a[_0x171c59(0x27d)]=_0x7f2728([_0x23e862(0x0,_0x1016c9[_0x171c59(0x182)](_0x1016c9[_0x171c59(0x221)])),_0x23e862(0x1,_0x1016c9[_0x171c59(0x29d)]),_0x23e862(0x2,_0x1016c9[_0x171c59(0x21d)]),_0x23e862(0x3,_0x1016c9[_0x171c59(0x25d)]),_0x23e862(0x4,_0x2d27ed[_0x171c59(0x1df)]),_0x23e862(0x5,_0x1016c9[_0x171c59(0x24d)]),_0x23e862(0x6,_0x1016c9[_0x171c59(0x182)](_0x466835['RangeProtectionRuleModel'])),_0x23e862(0x7,_0x1016c9['Inject'](_0x2d27ed[_0x171c59(0x28f)])),_0x23e862(0x8,_0x1016c9['Inject'](_0x2d27ed['ISidebarService'])),_0x23e862(0x9,_0x1016c9[_0x171c59(0x182)](_0x1016c9[_0x171c59(0x17b)]))],_0x229c5a[_0x171c59(0x27d)]);const _0x94a768={'id':_0x171c59(0x1d6),'type':_0x1016c9['CommandType'][_0x171c59(0x1f8)],'handler':_0xb64719=>{const _0xa3ab41=_0x171c59,_0x35d75d=_0xb64719[_0xa3ab41(0x167)](_0x229c5a[_0xa3ab41(0x27d)]),_0x534d86=_0xb64719[_0xa3ab41(0x167)](_0x1016c9['IUniverInstanceService']),{unitId:_0x33729e}=_0x466835[_0xa3ab41(0x173)](_0x534d86)||{};return _0x33729e?(_0x35d75d['mountHistoryContent'](_0x33729e),!0x0):!0x1;}},_0x166850={'id':_0x171c59(0x28a),'type':_0x1016c9['CommandType']['OPERATION'],'handler':()=>!0x0};function _0x501c01(_0x53d3ca){const _0x2bf341=_0x171c59;return{'id':_0x94a768['id'],'type':_0x2d27ed[_0x2bf341(0x29c)][_0x2bf341(0x1f6)],'icon':_0x2bf341(0x279),'tooltip':_0x2bf341(0x273),'hidden$':_0x2d27ed['getMenuHiddenObservable'](_0x53d3ca,_0x1016c9['UniverInstanceType'][_0x2bf341(0x1e6)]),'disabled$':_0x533934[_0x2bf341(0x1b1)](_0x53d3ca,{'workbookTypes':[_0x466835[_0x2bf341(0x202)],_0x466835[_0x2bf341(0x22b)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x4794da={[_0x2d27ed['RibbonStartGroup'][_0x171c59(0x21a)]]:{[_0x94a768['id']]:{'order':0.2,'menuItemFactory':_0x501c01}}};var _0x597f5a=Object[_0x171c59(0x166)],_0x27056f=(_0x474479,_0x3482ed,_0x3642b1,_0x30cf46)=>{const _0x114e57=_0x171c59;for(var _0xc8ba0f=_0x30cf46>0x1?void 0x0:_0x30cf46?_0x597f5a(_0x3482ed,_0x3642b1):_0x3482ed,_0xb35cbf=_0x474479[_0x114e57(0x218)]-0x1,_0x41e2fb;_0xb35cbf>=0x0;_0xb35cbf--)(_0x41e2fb=_0x474479[_0xb35cbf])&&(_0xc8ba0f=_0x41e2fb(_0xc8ba0f)||_0xc8ba0f);return _0xc8ba0f;},_0x8a6e5e=(_0x1ba424,_0x2c0398)=>(_0x3073d4,_0x305784)=>_0x2c0398(_0x3073d4,_0x305784,_0x1ba424);let _0x4a91d6=class extends _0x1016c9[_0x171c59(0x246)]{constructor(_0x3beedd,_0x5a4c28,_0xab57bc,_0x15fb43,_0x4c92ae,_0x3f60f9,_0x4ae594,_0xde5f86){const _0x45724c=_0x171c59;super(),_0x1d6dce(this,'_revertErrorTimer',null),(this[_0x45724c(0x21f)]=_0x3beedd,this[_0x45724c(0x1c4)]=_0x5a4c28,this['_componentManager']=_0xab57bc,this[_0x45724c(0x27c)]=_0x15fb43,this['_localeService']=_0x4c92ae,this[_0x45724c(0x199)]=_0x3f60f9,this[_0x45724c(0x1f4)]=_0x4ae594,this[_0x45724c(0x1d4)]=_0xde5f86,this[_0x45724c(0x26a)]());}[_0x171c59(0x26a)](){const _0x4e05e2=_0x171c59;[_0x94a768,_0x166850]['forEach'](_0x4d7274=>this['disposeWithMe'](_0x1016c9[_0x4e05e2(0x26e)](this[_0x4e05e2(0x21f)][_0x4e05e2(0x1fb)](_0x4d7274)))),this['disposeWithMe'](this['_componentManager'][_0x4e05e2(0x260)](_0x4e05e2(0x279),_0x572743)),this[_0x4e05e2(0x1c4)][_0x4e05e2(0x20c)](_0x4794da),this['disposeWithMe'](this[_0x4e05e2(0x21f)]['onCommandExecuted'](_0x10cd6=>{const _0x28a464=_0x4e05e2;if(_0x10cd6['id']===_0x40f05f[_0x28a464(0x24f)]['id']){this[_0x28a464(0x199)][_0x28a464(0x169)]({'content':this['_localeService']['t'](_0x28a464(0x21e)),'type':_0x1ca223[_0x28a464(0x27b)][_0x28a464(0x228)],'duration':0x1388});const {unitId:_0x391ca1}=_0x10cd6[_0x28a464(0x28d)],_0x2b3dc1=this[_0x28a464(0x1f4)]['getCollabEntity'](_0x391ca1),_0x1ef5e5=_0x17c577[_0x28a464(0x1f1)]([_0x2b3dc1['session'][_0x28a464(0x1de)],_0x2b3dc1[_0x28a464(0x23a)]])[_0x28a464(0x198)](async([_0xaaf1c1,_0x46858d])=>{const _0x4c6109=_0x28a464;var _0x15d177;_0xaaf1c1['eventID']===_0x40f05f[_0x4c6109(0x19c)][_0x4c6109(0x207)]&&(_0x46858d==null?void 0x0:_0x46858d[_0x4c6109(0x178)])===_0x5a70ef[_0x4c6109(0x1e0)][_0x4c6109(0x187)]&&_0xaaf1c1[_0x4c6109(0x1d0)][_0x4c6109(0x185)][_0x4c6109(0x1d8)](_0x294086=>_0x294086['id']===_0x40f05f[_0x4c6109(0x24f)]['id'])&&(this[_0x4c6109(0x27c)][_0x4c6109(0x20f)](),_0x1ef5e5[_0x4c6109(0x298)](),this[_0x4c6109(0x22c)]&&clearTimeout(this[_0x4c6109(0x22c)]),await((_0x15d177=this['_localCacheService'])==null?void 0x0:_0x15d177['exhaustSavingTask']()),setTimeout(()=>window[_0x4c6109(0x1aa)][_0x4c6109(0x16f)]()));});this[_0x28a464(0x22c)]=setTimeout(()=>{const _0x2e3bbd=_0x28a464;_0x1ef5e5[_0x2e3bbd(0x298)](),this['_messageService']['show']({'content':this['_localeService']['t']('editHistory.panel.revertFailed'),'type':_0x1ca223[_0x2e3bbd(0x27b)][_0x2e3bbd(0x1bd)],'duration':0xbb8});},0x1388);}}));}};_0x4a91d6=_0x27056f([_0x8a6e5e(0x0,_0x1016c9[_0x171c59(0x25d)]),_0x8a6e5e(0x1,_0x2d27ed[_0x171c59(0x1fe)]),_0x8a6e5e(0x2,_0x1016c9[_0x171c59(0x182)](_0x2d27ed[_0x171c59(0x197)])),_0x8a6e5e(0x3,_0x1016c9[_0x171c59(0x182)](_0x229c5a[_0x171c59(0x27d)])),_0x8a6e5e(0x4,_0x1016c9[_0x171c59(0x182)](_0x1016c9[_0x171c59(0x221)])),_0x8a6e5e(0x5,_0x2d27ed['IMessageService']),_0x8a6e5e(0x6,_0x1016c9['Inject'](_0x5a70ef[_0x171c59(0x1b4)])),_0x8a6e5e(0x7,_0x5a70ef[_0x171c59(0x205)])],_0x4a91d6);var _0x2a8eda=Object[_0x171c59(0x166)],_0x4652b1=(_0x3dd372,_0x43e37d,_0x110085,_0x210a1e)=>{const _0x3cafef=_0x171c59;for(var _0x811b59=_0x210a1e>0x1?void 0x0:_0x210a1e?_0x2a8eda(_0x43e37d,_0x110085):_0x43e37d,_0x1a9432=_0x3dd372[_0x3cafef(0x218)]-0x1,_0x687c62;_0x1a9432>=0x0;_0x1a9432--)(_0x687c62=_0x3dd372[_0x1a9432])&&(_0x811b59=_0x687c62(_0x811b59)||_0x811b59);return _0x811b59;},_0x3a9283=(_0x4b4a33,_0x41d4f2)=>(_0x241d9e,_0x389e59)=>_0x41d4f2(_0x241d9e,_0x389e59,_0x4b4a33);const _0x4779b9=_0x171c59(0x272);_0x229c5a[_0x171c59(0x19b)]=(_0x545414=class extends _0x1016c9[_0x171c59(0x26b)]{constructor(_0x5f131b=_0x56f1be,_0x48a931,_0x326faa){const _0x5a6156=_0x171c59;super(),this[_0x5a6156(0x248)]=_0x5f131b,this[_0x5a6156(0x19e)]=_0x48a931,this['_configService']=_0x326faa;const {menu:_0x3997d0,..._0x59f20e}=_0x1016c9[_0x5a6156(0x168)]({},_0x56f1be,this['_config']);_0x3997d0&&this[_0x5a6156(0x23b)]['setConfig'](_0x5a6156(0x299),_0x3997d0,{'merge':!0x0}),this['_configService']['setConfig'](_0x241632,_0x59f20e),this[_0x5a6156(0x248)][_0x5a6156(0x200)]&&this[_0x5a6156(0x23b)]['setConfig'](_0x159cc3,this[_0x5a6156(0x248)][_0x5a6156(0x200)]);}['onStarting'](){const _0x4d1130=_0x171c59;[[_0x229c5a[_0x4d1130(0x27d)]],[_0x4a91d6]][_0x4d1130(0x1a9)](_0x4b78c6=>this[_0x4d1130(0x19e)][_0x4d1130(0x1bb)](_0x4b78c6));}[_0x171c59(0x175)](){const _0xa6dd76=_0x171c59;this[_0xa6dd76(0x19e)][_0xa6dd76(0x167)](_0x4a91d6);}},_0x1d6dce(_0x545414,_0x171c59(0x189),_0x1016c9[_0x171c59(0x1f0)][_0x171c59(0x201)]),_0x1d6dce(_0x545414,_0x171c59(0x18e),_0x4779b9),_0x545414),_0x229c5a[_0x171c59(0x19b)]=_0x4652b1([_0x3a9283(0x1,_0x1016c9[_0x171c59(0x182)](_0x1016c9[_0x171c59(0x252)])),_0x3a9283(0x2,_0x1016c9['IConfigService'])],_0x229c5a[_0x171c59(0x19b)]),_0x229c5a[_0x171c59(0x215)]=_0x159cc3,_0x229c5a[_0x171c59(0x193)]=_0x335384,Object['defineProperty'](_0x229c5a,Symbol['toStringTag'],{'value':_0x171c59(0x27e)});}));
21
21
 
22
22
  // index
23
23
  (function(e,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/edit-history-loader"),require("@univerjs-pro/collaboration-client/lib/facade"),require("@univerjs-pro/collaboration-client-ui/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/edit-history-loader","@univerjs-pro/collaboration-client/lib/facade","@univerjs-pro/collaboration-client-ui/lib/facade"],o):(e=typeof globalThis<"u"?globalThis:e||self,o(e.UniverPresetSheetsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi,e.UniverProEditHistoryLoader))})(this,(function(e,o,l,t,a){"use strict";function s(n){const i=new URL(n,window.location.origin);switch(i.protocol){case"https:":i.protocol="wss:";break;case"http:":i.protocol="ws:";break}return i.toString()}function u(n={}){const{universerEndpoint:i,univerContainerId:c="app",enableOfflineEditing:p=!0,enableSingleActiveInstanceLock:v=!0}=n,r=i!=null?i:`${window.location.protocol}//${window.location.host}`;return{plugins:[o.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:p,enableSingleActiveInstanceLock:v,enableAuthServer:!0,authzUrl:`${r}/universer-api/authz`,snapshotServerUrl:`${r}/universer-api/snapshot`,collabSubmitChangesetUrl:`${r}/universer-api/comb`,collabWebSocketUrl:s(`${r}/universer-api/comb/connect`),loginUrlKey:`${r}/universer-api/oidc/authpage`,uploadFileServerUrl:`${r}/universer-api/stream/file/upload`,signUrlServerUrl:`${r}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${r}/`,wsSessionTicketUrl:`${r}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${r}/universer-api/history`}]]}}e.UniverSheetsCollaborationPreset=u,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));