@univerjs/preset-sheets-collaboration 0.21.0 → 0.21.1

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 _0x1dac(_0x4b6186,_0x48ead9){_0x4b6186=_0x4b6186-0x115;const _0x189ae1=_0x189a();let _0x1dac13=_0x189ae1[_0x4b6186];return _0x1dac13;}function _0x189a(){const _0x4609cf=['_getUndoStack','session','assign','rxjs',',\x20got\x20','FileId','function','{fileID}','_lockTransition','_executeRemoteChangeset','changesets','add','LIVESHARE_FETCH_OPERATIONS','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','_configService','copyFileMeta','getOwnPropertyDescriptor','UUID','@univerjs/protocol','closeSession','_memberService','enableOfflineEditing','dispose$','telemetry\x20info\x20is\x20not\x20initialized','onRemoteRetry','_permissionService','responseType','target','_rescheduleHeartbeat','disablePadding','commentUpdate$','hostname','ERROR_IMAGE_TYPE','textEncoder','mapDocumentTypeToUniverInstanceType','MUTATION','IUndoRedoService','_acknowledgedAwaitingChangeset','session.room-cnt-exceeds','duration','43599WbitLl','6cOlBuz','CollaborationUIEventId','SetSelectionsOperation','getFocusedUnit','_initRequestHeader','_onUserLeave','toHex','_sessionStatus$','_getDownloadEndpointURL','@univerjs/docs','onSyncEditingCollabCursor','initWorkbookPermissionChange','interceptor','selections','__Key__','ONLINE','_handler','univer-pro.collaboration-client-socket-service','loadUnitOfRevision','_onRemoteRejected','requestParams','permissionRejEvent','IImageIoService','IConfigService','collaborators','UniverInstanceType','@univerjs-pro/license','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_singleActiveUnitService','routeKey','getSheetId','getLatestCsReqIdBySid','fetchMiss','collaMsg','_retryConnectingTimer','toggleOffline','_onRemoteChangeset','onload','AWAITING','[CollaborationSession]','_transformStateCache','charCodeAt','snapshot','CollaborationSession','rev','FAIL','toggleOnline','RevisionService','onCommentUpdate','_changesetReqId','SheetsSelectionsService','CollaborationEntity','transformSelections','byteLength','getWorkbookSelections','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collaborationPaused','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','disableLocalCache','?url=','withCredentials','_onRemoteRetry','transformStack\x20failed!','MSG_FOR_ERROR','onTransformRemoteChangesetByIMECache','RETRY_CONNECTING_MAX_COUNT_KEY','ISingleActiveUnitService','fetch_missing','SnapshotService','_unitInfo$','file','13864jWkhbk','[CollaborationState]:\x20apply\x20error!','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unitId','_waitCount','CollaborationEvent','_compressMutationService','m2Prime','_createHandler','exports','2649339uAKEcD','_onConflict','type=','body','deserializeToCombResponse','_status$','code','_logService','Inject','_getUploadFileURL','@univerjs-pro/collaboration','ILocalCacheService','href','confirm','ThresholdInterceptorFactory','LIVESHARE_NEW_HOST','/block/','baseRev','onRemoteChangeset','getRoom','stopTime','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_getSendChangesetTimeout',',\x20got:\x20','updatePermissionObjEvent','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Tools','subUnitId','OTHER_CLIENTS_EDITING','state','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','objectType','_onCombEvent','crypto','/unit/','updateMember','_localeService','emitEvent','updatePermissionPoint','operators','mergeOverrideWithDependencies','SUBMIT_CHANGESET_TIMEOUT','cipher\x20output\x20not\x20supported','_clearScheduledTask','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','resourceIDs','fetching\x20missing\x20changesets\x20from\x20','_getSignURL','\x20in\x20_schedule.','INGEST','saveSheetBlock','pipe','output','getAllMembers','resend','_eventService','isTransformMutationsWithChangesetFailure','CollaborationUIEventService','_univerInstanceService','/universer-api/stream/file/upload','onTransformSelections','onMutationExecutedForCollab','requireSession','getActiveSheet','CmdRspCode','_incrementRevisionNumber','cmd','reduce','_updateLocalCache','_applyRemoteChangeset','unitID','_clearRetryConnectingTimer','_members$','error$','_getCurrentRevision','HELLO','session.room-full','UserManagerService','/universer-api/uniscript','CollaborativeUndoRedoService','now','parseProtocolChangeset','NO_OTHER_CLIENTS_EDITING','AwaitingState','@univerjs/core','@univerjs/network','_telemetryInfo','FETCH_MISSING','socket$','getUnitOnRev','_onOffline','clear','_submitChangeset','complete','124SHfdCw','addImageSourceCache','getCurrentSelections','setCfgEnableObjInherit','shareReplay','_scheduleCompleteTimestamp','CombCmd','CHANGESET_ACK','COMPRESS_MUTATION_APPLY','data','localeService','Rectangle','[OfflineState]:\x20received\x20rejection.','appendMutation','_clearHeartbeatTimer','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','liveShareNewHost','_telemetryService','action','socketService','roomInfos','UniverTelemetry','encrypt','error','takeUntil','?size=','capture','_onRemoteACK','fetchMissingChangesets','getSnapshotAPIPath','_onConnectionOpen','isTransformMutationsWithChangesetSuccess','infoRsp','UniverProCollaboration','_members','_toggleOnline','MergeInterceptorFactory','[DataLoaderService]','includes','fromCharCode','UniverCollaborationClientPlugin','Disposable','SessionStatus','registerHTTPInterceptor','size','_unlockTransition','setShowComponents','_commentUpdate$','transformMutationsWithChangeset','_onLocalMutation','USERS_ENTER','SOCKET_FAILED_RETRY','status','sequenceExecute','/-/object/list','constructor','catch','downloadEndpointUrl','uploadFileServerUrl','_httpService','_socketReady','/-/object/-/batch_allowed','close','[PendingState]:\x20received\x20acknowledgement.','userID','reverse','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','3592410xbstWX','get','[CollaborationEntity]','compose','PendingState','_doCreateSocket','_collaborationSessionService','type','RETRY_CONNECTING_MAX_COUNT','event$','loadOfflineData','@univerjs/sheets','_createSocket','createIdentifier','state$','actions','_disableEditing','_startTelemetryCollaborationNewChangeset','_emitMembers','delete','method','version','HTTPService','retryConnectingInterval','disposeWithMe','focused$','leaveEvent','_initDependencies','_initUnitPermissionChange','UNIVER_SHEET','_updateState','/universer-api/authz','loadSheet','DEFAULT_WS_SESSION_TICKET_URL','_transformRemoteChangesetByIMECache','getUnitType','varSizeNonce','allowed','RxDisposable','_onFetchMissResult','onlyLocal','ICollaborationSocketService','_decreaseWaiting','/rev/','SOCKET_FAILED','_tryEnsureSocket','_sendHeartbeat','&assign=','LIVESHARE_TERMINATE','univer-pro.collaboration-client.single-active-unit-service','ImageUploadStatusType','avatar','UniverNetworkPlugin','_onMessage','_sendingTimer','/universer-api/snapshot/','packageName','SheetPermissionInitController','getMember','_updateStatus','every','SheetTransformSelectionsService','/role','sid','not_collab','auth.needGotoLoginAlert','UnitStatus','IMentionIOService','_sender','_shouldReportTelemetry','onRemoteRej','deleteCollaborator','revision','_resendTimer','_localCacheService','ITelemetryService','onRemoteAck','UniverProLicense','fromCollab','authzUrl','addHandlerCallback','executeCommand','UniverDocs','_sendHeartbeatTimer','IAuthzIoService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UNIVER_DOC','_handlerCallback','JOIN_ROOM_NOT_EXISTS','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','enableAuthServer','SUBMIT_CHANGESET','rxjs/operators','_onUserJoin','failed\x20to\x20apply\x20missed\x20changesets!','parseChangesetToProtocol','_getLoginPath','resolveWithBasePath','RichTextEditingMutation','_roomCreated$','Plugin','sessionStatus','FETCH_MISS','PERMISSION_REJ','People','onMissedChangesetFetched','IUniverInstanceService','memberID','_awaitingChangeset','refreshPermission','_type','result','/collaborator','fromHex','positive\x20integer\x20expected,\x20got\x20','sessionStatus$','nonce','getMemberID','objectID','decrypt','min','_joinRoom','[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.','CollaborationController','sendChangesetTimeout','isPermissionRej','transformUndoRedo','readyForCollab','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[SyncedState]:\x20received\x20acknowledgement.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','AWAITING_WITH_PENDING','_transformIMECache','createSocket','_substituteRedoStack','BASE64','reject','_config','_userManagerService','_getAPIPrefix','_changesetSessionId','awaiting','UniverSheets','_waitForHeartbeatResponse','OfflineState','SHOULD_CLOSE_CONN','members','@univerjs-pro/collaboration-client','_tryReconnect','init','isInternalEditorID','OFFLINE','getSheetBlock','_throwTelemetryCollaborationNewChangeset','subscribe','firstValueFrom','_networkConditionService','ImageSourceType','conflict','message$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','eventID','MentionIoHttpService','LocalUndoRedoService','_resendWithTimeout','HEARTBEAT_TIMEOUT_KEY','\x20of\x20length\x20','symbol','_redoStacks','session.room-permission-denied','UniverCollaborationPlugin','306OGWJDY','invalid\x20output,\x20must\x20be\x20aligned','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','slice','roles','JOIN_ROOM_FULL','saveSnapshot','length=','/allowed','list','Univer','session.room-not-exists','getCollabEntity','string','PERMISSION_DENIED','/object/','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','_initCloseConn','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/fetchmissing?from=','LEAVE','socket\x20close','UniverDrawing','_listenToNetworkCondition','UnitEmbedded','_isPermissionRej','_revisionService','LocaleService','UPDATE_PERMISSION_OBJ','_removeRoom','_checkMissing','LIVESHARE_OPERATION','SNAPSHOT_URL_KEY','getImage','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_state','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_transformStack','findIndex','fetchThroughInterceptors','next','_getRedoStack','name','_state$','_getCtorByUniverInstanceType','UNISCRIPT_RUN','CommandType','commentUpdateEvent','sheets','_injector','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','image/jpg','_replaceFileID','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','DataLoaderService','_pendingMutations','updateCursorEvent','DEFAULT_COLLAB_WEB_SOCKET_URL','_transformUndoredo','find','ICommandService','_HTTPService','parse','signUrlServerUrl','_exhaustRemoteChangesetQueue','UNIVER_COLLABORATION_CLIENT_PLUGIN','textRanges','EmptyMutationInfo','_onJoinRoomEvent','x-univer-host','updateOfflineData','_transformSelections','_change$','onTransformRemoteChangesetByStateCache','_entityInit$','collaboration-client.config','583732YRDhRK','headers','USERS_LEAVE','UPDATE_CURSOR','ISocketService','CHANGESET_REJ','prototype','FetchingMissState','CompressMutationService','collaboration-client.local-cache-service','stringify','image/gif','[OfflineState]:\x20received\x20changeset.','[CollaborationSessionService]','isArray','values','SUCCUSS','[FetchMissState]','image/jpeg','buffer','getUnitStatus$','getDeserializedSheetBlock','HTTPRequest','dispose','getCurrentUser','uniscriptRunEvent','_schedule','_fetchMissChangesets','put','debug','RECV','_stopTelemetryCollaborationNewChangeset','_clearRedo','_cfgEnableObjInherit','_createInitialStateImpl','push','offline','string\x20expected','getConfig','save\x20fail\x20reason\x20is\x20','_entities','asObservable','Quantity','from','SyncedState','params','_transformRemoteChangesetByStateCache','forEach','_sheetTransformSelectionsService','Uint8Array','length','removeMember','UniverCore','toStringTag','_collaborationUIEventService','_snapshotServerService','_retryCount','IContextService','[SyncedState]:\x20received\x20rejection.','session.join-failed','setWaitCount','update','ILogService','_getAPIPrefixPath','take','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onConnectionFailed','LOCAL_CACHE_INTERVAL_KEY','setConfig','_scheduleCollaborationTimeoutTimer','aes/pkcs7:\x20wrong\x20padding','INetworkConditionService','Optional','localCacheService','JOIN','generateRandomId','0.21.0','_clearCollaborationTimeoutTimer','getTypeOfUnitDisposed$','iterator','startTime','ITransformService','getTypeOfUnitAdded$','delay','socket\x20open.','has','_queuedRemoteChangesets','_clearTimeoutTimer','CHANGESET_SHOULD_RETRY','toDisposable','CollaborationSocketService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','call','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','reconnect','object','COMPRESS_MUTATION_SEND','isTransformChangesetsSuccess','defineProperty','UniverProCollaborationClient','getTime','_imageSourceCache','_maxTotalRetryTimeout','_createInitialState','joinRsp','HEARTBEAT','online$','_undoStacks','c1Prime','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','Injector','entries','workbook','4870124RPJyQV','CollaborationImageIoService','getValue','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','unknown','indexOf','replace','CommentService','encode','NEW_CHANGESETS','PENDING','send','map','[UniverCollaborationClientPlugin]','5566030LooeqF','saveImage','InsertSheetMutation','_instanceService','updateSnapshot','BehaviorSubject','editing\x20status\x20changed\x20to','getUnitId','JOIN_ROOM_FAILED','synced','set','DependentOn','default','Subject','_substituteUndoStack','BYTES_PER_ELEMENT','_clearLocalCache','collaboration_new_changeset','getCurrentRevOfUnit','createInstance','_remoteChangesetQueue','_sessions','ErrorCode','AuthzIoHttpService','_transformService','apply','collaboratorID','patch','open$','MentionType','_commandService','pluginName','IDLE','CONFLICT','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','byteOffset','joinEvent','HEARTBEAT_INTERVAL_KEY','_syncEditingCollabCursor','_clearUndo','_undoRedoService','&to=','fill','__splitChunk__','setCurrentUser','awaiting_with_pending','CollaborationSessionService','awaitingChangeset','connection\x20error','_resendTimeout','loadUnit','unsubscribe','getCollabEntity$','ISnapshotServerService','OTHER_CLIENT_EDITING','decorate','_candidateSocket','change$','WorkbookEditablePermission','/universer-api/file/{fileID}/sign-url','IPermissionService','objects','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onLocalMutation','encodeURIComponent','/resources','override','_roomMembers','max','LIVESHARE_REQUEST_HOST','_registerDependencies','AAD','onMissingChangesets','_transitionLocked','onTransformIME','_collabSessionService','loadDoc','append','LOCAL_CACHE_INTERVAL','POST','@univerjs/drawing','CLOSE_ROOM','merge','_showConflictNotification','_socket$','/universer-api/comb','HEARTBEAT_TIMEOUT','DocCollaborationEntity','[CollaborationUndoRedoService]','PERSON','_timeoutTimer','_init','post','putCollaborators','getResourcesRequest','_collaborationTimeoutTimer','/universer-api/user/session-ticket','expected\x20Uint8Array','subarray','incrementRevOfUnit','getLocalCacheKey','JSONX','HEARTBEAT_INTERVAL','range','\x20-\x20','reqId','registerDependencies','touchDependencies','Module','_event$','filter','location','b64DecodeUnicode','2yCEAas','Failed\x20to\x20update\x20permission\x20point','_socketMessageSubscription','transformChangesets','_startCollaboration','JOINING','deepClone','SYNCED','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','entityInit$','originalMeta','COMMENT_UPDATE','serializeCombRequest','PSEUDO_FETCH_MISSING_RESULT','mutations','isView','crypto.getRandomValues\x20must\x20be\x20defined','onTransformState','pauseCollaboration','_initMergeInterceptor','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_unitID','ERROR_IMAGE','_toggleOffline','getInterceptPoints','subject','_commentService','JOIN_ROOM_PERMISSION_DENIED','readAsDataURL'];_0x189a=function(){return _0x4609cf;};return _0x189a();}(function(_0x527bb9,_0x1c1226){const _0x42e71c=_0x1dac,_0x3a3542=_0x527bb9();while(!![]){try{const _0x5b3f0d=-parseInt(_0x42e71c(0x385))/0x1*(parseInt(_0x42e71c(0x294))/0x2)+parseInt(_0x42e71c(0x3ca))/0x3*(-parseInt(_0x42e71c(0x15a))/0x4)+parseInt(_0x42e71c(0x314))/0x5+-parseInt(_0x42e71c(0x3cb))/0x6*(-parseInt(_0x42e71c(0x306))/0x7)+parseInt(_0x42e71c(0x412))/0x8*(-parseInt(_0x42e71c(0x248))/0x9)+-parseInt(_0x42e71c(0x19d))/0xa+parseInt(_0x42e71c(0x41c))/0xb;if(_0x5b3f0d===_0x1c1226)break;else _0x3a3542['push'](_0x3a3542['shift']());}catch(_0x35c938){_0x3a3542['push'](_0x3a3542['shift']());}}}(_0x189a,0x91d79),function(_0x56b474,_0x1e6fb7){const _0xfe972f=_0x1dac;typeof exports==_0xfe972f(0x2f4)&&typeof module<'u'?_0x1e6fb7(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/protocol`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define=='function'&&define['amd']?define([_0xfe972f(0x41b),_0xfe972f(0x426),_0xfe972f(0x150),_0xfe972f(0x3d4),_0xfe972f(0x1a8),_0xfe972f(0x3a5),_0xfe972f(0x3b4),'@univerjs/telemetry',_0xfe972f(0x1f9),_0xfe972f(0x151),_0xfe972f(0x3e5),_0xfe972f(0x364)],_0x1e6fb7):(_0x56b474=typeof globalThis<'u'?globalThis:_0x56b474||self,_0x1e6fb7(_0x56b474[_0xfe972f(0x2f8)]={},_0x56b474[_0xfe972f(0x17b)],_0x56b474[_0xfe972f(0x2c8)],_0x56b474[_0xfe972f(0x1ef)],_0x56b474[_0xfe972f(0x22b)],_0x56b474['rxjs'],_0x56b474['UniverProtocol'],_0x56b474[_0xfe972f(0x16f)],_0x56b474[_0xfe972f(0x3a5)][_0xfe972f(0x123)],_0x56b474['UniverNetwork'],_0x56b474[_0xfe972f(0x1ea)],_0x56b474[_0xfe972f(0x25e)]));}(this,function(_0x5382ad,_0xba6f9e,_0x21f9b6,_0x1444ec,_0x17b170,_0x4ea2bc,_0x4d42e2,_0x486886,_0x40ad09,_0xf4c2fc,_0xaf7c7d,_0x432f50){const _0x582532=_0x1dac;Object[_0x582532(0x2f7)](_0x5382ad,Symbol[_0x582532(0x2c9)],{'value':_0x582532(0x380)});let _0x107e87='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3ad1c7=0x4e20;function _0x3e065c(_0x1259e2){const _0x3e7037=_0x582532;return JSON[_0x3e7037(0x29e)](_0x1259e2)['length'];}function _0x5e134c(_0x2bf92d){'@babel/helpers - typeof';const _0x57fe0f=_0x582532;return _0x5e134c=typeof Symbol==_0x57fe0f(0x3a8)&&typeof Symbol[_0x57fe0f(0x2e3)]==_0x57fe0f(0x244)?function(_0x1e0d8d){return typeof _0x1e0d8d;}:function(_0x358cc3){const _0x346fb3=_0x57fe0f;return _0x358cc3&&typeof Symbol==_0x346fb3(0x3a8)&&_0x358cc3[_0x346fb3(0x191)]===Symbol&&_0x358cc3!==Symbol[_0x346fb3(0x29a)]?_0x346fb3(0x244):typeof _0x358cc3;},_0x5e134c(_0x2bf92d);}function _0x4d0d22(_0x10c70c,_0x2e4ffa){const _0x339d64=_0x582532;if(_0x5e134c(_0x10c70c)!='object'||!_0x10c70c)return _0x10c70c;var _0x556b61=_0x10c70c[Symbol['toPrimitive']];if(_0x556b61!==void 0x0){var _0x18dfc6=_0x556b61['call'](_0x10c70c,_0x2e4ffa||_0x339d64(0x320));if(_0x5e134c(_0x18dfc6)!=_0x339d64(0x2f4))return _0x18dfc6;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2e4ffa===_0x339d64(0x255)?String:Number)(_0x10c70c);}function _0x3c3c9e(_0x3cf070){const _0x4677b9=_0x582532;var _0xc72b35=_0x4d0d22(_0x3cf070,_0x4677b9(0x255));return _0x5e134c(_0xc72b35)==_0x4677b9(0x244)?_0xc72b35:_0xc72b35+'';}function _0x158768(_0x4a029e,_0x3527eb,_0x25a2c7){const _0x40f22e=_0x582532;return(_0x3527eb=_0x3c3c9e(_0x3527eb))in _0x4a029e?Object[_0x40f22e(0x2f7)](_0x4a029e,_0x3527eb,{'value':_0x25a2c7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4a029e[_0x3527eb]=_0x25a2c7,_0x4a029e;}let _0x214ddb=function(_0x31ac37){const _0x103e7f=_0x582532;return _0x31ac37[_0x103e7f(0x34a)]=_0x103e7f(0x34a),_0x31ac37[_0x103e7f(0x256)]=_0x103e7f(0x256),_0x31ac37[_0x103e7f(0x335)]=_0x103e7f(0x335),_0x31ac37[_0x103e7f(0x365)]=_0x103e7f(0x365),_0x31ac37[_0x103e7f(0x31c)]=_0x103e7f(0x31c),_0x31ac37[_0x103e7f(0x18d)]=_0x103e7f(0x18d),_0x31ac37[_0x103e7f(0x1c9)]=_0x103e7f(0x1c9),_0x31ac37[_0x103e7f(0x125)]=_0x103e7f(0x125),_0x31ac37;}({});var _0x49c645=class{constructor(){const _0x21dad4=_0x582532;_0x158768(this,_0x21dad4(0x381),new _0x4ea2bc['Subject']()),_0x158768(this,_0x21dad4(0x1a6),this[_0x21dad4(0x381)][_0x21dad4(0x2bd)]());}[_0x582532(0x121)](_0x11e2a8){const _0x3eb624=_0x582532;this[_0x3eb624(0x381)][_0x3eb624(0x270)](_0x11e2a8);}},_0x386670=class{constructor(){const _0x3fbfa9=_0x582532;_0x158768(this,_0x3fbfa9(0x189),new _0x4ea2bc[(_0x3fbfa9(0x321))]()),_0x158768(this,_0x3fbfa9(0x3c0),this[_0x3fbfa9(0x189)][_0x3fbfa9(0x2bd)]());}[_0x582532(0x3fb)](_0x459b49){const _0x42143b=_0x582532;this[_0x42143b(0x189)][_0x42143b(0x270)](_0x459b49);}};function _0x385b9b(_0x38a5e9,_0x55f3d3){return function(_0x477bf4,_0x276e0f){_0x55f3d3(_0x477bf4,_0x276e0f,_0x38a5e9);};}function _0x9fca30(_0x5afadf,_0x5b4d2b,_0x43dd84,_0x7630aa){const _0x4dd2b0=_0x582532;var _0x3a4f3b=arguments[_0x4dd2b0(0x2c6)],_0x4c5591=_0x3a4f3b<0x3?_0x5b4d2b:_0x7630aa===null?_0x7630aa=Object[_0x4dd2b0(0x3b2)](_0x5b4d2b,_0x43dd84):_0x7630aa,_0x595942;if(typeof Reflect==_0x4dd2b0(0x2f4)&&typeof Reflect[_0x4dd2b0(0x34b)]==_0x4dd2b0(0x3a8))_0x4c5591=Reflect[_0x4dd2b0(0x34b)](_0x5afadf,_0x5b4d2b,_0x43dd84,_0x7630aa);else{for(var _0x477ebd=_0x5afadf[_0x4dd2b0(0x2c6)]-0x1;_0x477ebd>=0x0;_0x477ebd--)(_0x595942=_0x5afadf[_0x477ebd])&&(_0x4c5591=(_0x3a4f3b<0x3?_0x595942(_0x4c5591):_0x3a4f3b>0x3?_0x595942(_0x5b4d2b,_0x43dd84,_0x4c5591):_0x595942(_0x5b4d2b,_0x43dd84))||_0x4c5591);}return _0x3a4f3b>0x3&&_0x4c5591&&Object[_0x4dd2b0(0x2f7)](_0x5b4d2b,_0x43dd84,_0x4c5591),_0x4c5591;}let _0x42c541=class extends _0x21f9b6[_0x582532(0x183)]{constructor(_0x2b9b4e,_0x1316d9){const _0x434808=_0x582532;super(),this[_0x434808(0x136)]=_0x2b9b4e,this[_0x434808(0x227)]=_0x1316d9,_0x158768(this,_0x434808(0x357),new Map()),_0x158768(this,'_roomCreated$',new _0x4ea2bc[(_0x434808(0x321))]()),this['disposeWithMe']((0x0,_0x4ea2bc['merge'])(this[_0x434808(0x136)][_0x434808(0x2e2)](_0x21f9b6[_0x434808(0x3e4)][_0x434808(0x1ba)])['pipe']((0x0,_0x40ad09[_0x434808(0x312)])(_0x35df16=>_0x35df16['getUnitId']())),this['_univerInstanceService'][_0x434808(0x2e2)](_0x21f9b6[_0x434808(0x3e4)][_0x434808(0x1f3)])['pipe']((0x0,_0x40ad09[_0x434808(0x312)])(_0xc81281=>_0xc81281[_0x434808(0x31b)]())))[_0x434808(0x237)](_0x826778=>this['_removeRoom'](_0x826778)));}['waitForRoom$'](_0x203c95){const _0x7a806e=_0x582532;return this[_0x7a806e(0x357)][_0x7a806e(0x2e9)](_0x203c95)?(0x0,_0x4ea2bc['of'])(this['_roomMembers'][_0x7a806e(0x19e)](_0x203c95)):this[_0x7a806e(0x200)][_0x7a806e(0x12f)]((0x0,_0x40ad09[_0x7a806e(0x312)])(_0x5742d1=>{const _0x2a19bb=_0x7a806e;if(_0x5742d1===_0x203c95)return this[_0x2a19bb(0x357)][_0x2a19bb(0x19e)](_0x5742d1);}));}['setCurrentUser'](_0x483747){const _0x2fbd68=_0x582532;this[_0x2fbd68(0x227)][_0x2fbd68(0x340)](_0x483747);}['getCurrentUser'](){const _0x263a1d=_0x582532;return this['_userManagerService'][_0x263a1d(0x2ac)]();}['updateMember'](_0x15f87d,_0x57e250){const _0xdc37e2=_0x582532;let _0x106ced=this[_0xdc37e2(0x357)][_0xdc37e2(0x19e)](_0x15f87d);_0x106ced||(_0x106ced=new _0x32b32e(),this[_0xdc37e2(0x357)]['set'](_0x15f87d,_0x106ced),this[_0xdc37e2(0x200)][_0xdc37e2(0x270)](_0x15f87d)),_0x106ced['updateMember'](_0x57e250);}['removeMember'](_0x490d69,_0x115f08){const _0x41d01e=_0x582532;let _0x2e86ed=this['_roomMembers'][_0x41d01e(0x19e)](_0x490d69);_0x2e86ed&&_0x2e86ed['removeMember'](_0x115f08);}[_0x582532(0x42f)](_0x12ac1a){const _0xeb9ab6=_0x582532;return this['_roomMembers'][_0xeb9ab6(0x19e)](_0x12ac1a);}['getMember'](_0x4ba3b6,_0x59dda1){const _0x3ba842=_0x582532;let _0x29f4b6=this[_0x3ba842(0x357)][_0x3ba842(0x19e)](_0x4ba3b6);if(_0x29f4b6)return _0x29f4b6[_0x3ba842(0x1d7)](_0x59dda1);}[_0x582532(0x265)](_0x4288be){const _0x9b9e2f=_0x582532;let _0x1cfb04=this[_0x9b9e2f(0x357)][_0x9b9e2f(0x19e)](_0x4288be);_0x1cfb04&&(_0x1cfb04['dispose'](),this[_0x9b9e2f(0x357)]['delete'](_0x4288be));}[_0x582532(0x2ab)](){const _0x1fa350=_0x582532;this[_0x1fa350(0x357)][_0x1fa350(0x2c3)](_0x61aacd=>_0x61aacd[_0x1fa350(0x2ab)]()),this[_0x1fa350(0x357)][_0x1fa350(0x157)](),this[_0x1fa350(0x200)][_0x1fa350(0x159)]();}};_0x42c541=_0x9fca30([_0x385b9b(0x0,_0x21f9b6['IUniverInstanceService']),_0x385b9b(0x1,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x149)]))],_0x42c541);var _0x32b32e=class extends _0x21f9b6[_0x582532(0x183)]{constructor(..._0x861d6b){const _0x255839=_0x582532;super(..._0x861d6b),_0x158768(this,_0x255839(0x17c),new Map()),_0x158768(this,_0x255839(0x144),new _0x4ea2bc['BehaviorSubject'](this['_members'])),_0x158768(this,'members$',this['_members$'][_0x255839(0x2bd)]());}[_0x582532(0x2ab)](){const _0x155539=_0x582532;this[_0x155539(0x17c)]['clear']();}[_0x582532(0x11f)](_0x2033b1){const _0x46b543=_0x582532;this['_members']['set'](_0x2033b1[_0x46b543(0x208)],_0x2033b1),this[_0x46b543(0x1af)]();}[_0x582532(0x2c7)](_0x3ecaa3){const _0x5855f2=_0x582532;this[_0x5855f2(0x17c)]['delete'](_0x3ecaa3);}[_0x582532(0x1d7)](_0xf2956a){const _0x30e761=_0x582532;return this[_0x30e761(0x17c)][_0x30e761(0x19e)](_0xf2956a);}[_0x582532(0x131)](){const _0x4743f2=_0x582532;return Array['from'](this[_0x4743f2(0x17c)][_0x4743f2(0x2a3)]());}[_0x582532(0x1af)](){const _0x49d2bb=_0x582532;this[_0x49d2bb(0x144)][_0x49d2bb(0x270)](this[_0x49d2bb(0x17c)]);}};let _0x42d806=function(_0x6bb479){const _0x3023bf=_0x582532;return _0x6bb479[_0x6bb479['IDLE']=0x0]='IDLE',_0x6bb479[_0x6bb479[_0x3023bf(0x38a)]=0x1]=_0x3023bf(0x38a),_0x6bb479[_0x6bb479['OFFLINE']=0x2]='OFFLINE',_0x6bb479[_0x6bb479[_0x3023bf(0x3da)]=0x3]=_0x3023bf(0x3da),_0x6bb479;}({}),_0x156385={[_0x4d42e2['CmdRspCode'][_0x582532(0x3f8)]]:_0x582532(0x2cf),[_0x4d42e2[_0x582532(0x13c)][_0x582532(0x24d)]]:_0x582532(0x148),[_0x4d42e2['CmdRspCode'][_0x582532(0x1f5)]]:_0x582532(0x253),[_0x4d42e2[_0x582532(0x13c)][_0x582532(0x3a0)]]:_0x582532(0x246),[_0x4d42e2['CmdRspCode']['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x582532(0x3c8)},_0x172cb0=class extends _0x21f9b6[_0x582532(0x1c3)]{get[_0x582532(0x202)](){const _0x54155f=_0x582532;return this[_0x54155f(0x3d2)][_0x54155f(0x308)]();}constructor(_0x822249,_0x1d1e00,_0xb69246,_0x35f5fb,_0x41c167,_0x20f30e,_0xed35b4,_0x500542){const _0x1e195d=_0x582532;super(),this['_unitID']=_0x822249,this['_logService']=_0xb69246,this['_configService']=_0x35f5fb,this[_0x1e195d(0x3b6)]=_0x41c167,this[_0x1e195d(0x39f)]=_0x20f30e,this[_0x1e195d(0x2ca)]=_0xed35b4,this[_0x1e195d(0x16b)]=_0x500542,_0x158768(this,'_sessionStatus$',new _0x4ea2bc[(_0x1e195d(0x319))](_0x42d806[_0x1e195d(0x334)])),_0x158768(this,'sessionStatus$',this[_0x1e195d(0x3d2)][_0x1e195d(0x2bd)]()),_0x158768(this,'_event$',new _0x4ea2bc[(_0x1e195d(0x321))]()),_0x158768(this,_0x1e195d(0x1a6),this[_0x1e195d(0x381)][_0x1e195d(0x2bd)]()),_0x158768(this,_0x1e195d(0x2f0),void 0x0),_0x158768(this,_0x1e195d(0x387),void 0x0),_0x158768(this,_0x1e195d(0x373),void 0x0),_0x158768(this,_0x1e195d(0x1e2),!0x1),_0x158768(this,_0x1e195d(0x152),null),this[_0x1e195d(0x1e2)]=!!this[_0x1e195d(0x16b)],_0x1d1e00[_0x1e195d(0x12f)]((0x0,_0x4ea2bc[_0x1e195d(0x172)])(this['dispose$']))['subscribe'](_0x23c469=>{const _0x315cf3=_0x1e195d;if(_0x23c469!==void 0x0){if(this[_0x315cf3(0x2f0)]=_0x23c469,_0x23c469)this[_0x315cf3(0x216)](_0x23c469),this[_0x315cf3(0x387)]=_0x23c469[_0x315cf3(0x23c)][_0x315cf3(0x237)](_0x289d35=>{const _0x1dcc53=_0x315cf3;_0x289d35[_0x1dcc53(0x3e8)]===this[_0x1dcc53(0x39a)]&&this[_0x1dcc53(0x11c)](_0x289d35);});else{var _0x1b989d;this['_throwTelemetryCollaborationNewChangeset'](),this[_0x315cf3(0x3d2)][_0x315cf3(0x270)](_0x42d806[_0x315cf3(0x234)]),(_0x1b989d=this['_socketMessageSubscription'])==null||_0x1b989d[_0x315cf3(0x347)](),this[_0x315cf3(0x387)]=null;}}});}[_0x582532(0x212)](){const _0x58f033=_0x582532;var _0x372a0f,_0x34adbe;return(_0x372a0f=(_0x34adbe=this[_0x58f033(0x2f0)])==null?void 0x0:_0x34adbe[_0x58f033(0x208)])==null?null:_0x372a0f;}['dispose'](){const _0x46007b=_0x582532;super['dispose'](),this[_0x46007b(0x198)](),this[_0x46007b(0x3b8)][_0x46007b(0x270)](),this[_0x46007b(0x3b8)][_0x46007b(0x159)]();}[_0x582532(0x198)](){const _0x367d03=_0x582532;var _0x4ee0bc,_0x24a215;this[_0x367d03(0x236)](),(_0x4ee0bc=this[_0x367d03(0x2f0)])==null||_0x4ee0bc[_0x367d03(0x311)]({'cmd':_0x4d42e2[_0x367d03(0x160)][_0x367d03(0x25c)],'data':{'roomID':this[_0x367d03(0x39a)]}}),(_0x24a215=this[_0x367d03(0x2f0)])==null||_0x24a215['close'](),this[_0x367d03(0x381)]['complete'](),this[_0x367d03(0x3d2)][_0x367d03(0x159)]();}[_0x582532(0x11c)](_0x41cf3f){const _0x5da78c=_0x582532;_0x41cf3f[_0x5da78c(0x13e)]===_0x4d42e2[_0x5da78c(0x160)][_0x5da78c(0x2de)]?this[_0x5da78c(0x28c)](_0x41cf3f):_0x41cf3f['cmd']===_0x4d42e2[_0x5da78c(0x160)]['RECV']&&this['_onRecvEvent'](_0x41cf3f);}['_joinRoom'](_0x1b4e25){const _0x31abd7=_0x582532;this[_0x31abd7(0x3d2)][_0x31abd7(0x270)](_0x42d806[_0x31abd7(0x38a)]),_0x1b4e25['send']({'cmd':_0x4d42e2[_0x31abd7(0x160)]['JOIN'],'routeKey':this[_0x31abd7(0x39a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x31abd7(0x39a)]}]}});}[_0x582532(0x28c)](_0x341e5b){const _0xdf6a5f=_0x582532;var _0x306846;if(_0x341e5b[_0xdf6a5f(0x422)]in _0x156385){this['_collaborationUIEventService']['emitEvent']({'id':_0x214ddb[_0xdf6a5f(0x31c)],'data':_0x156385[_0x341e5b[_0xdf6a5f(0x422)]]}),this['_sessionStatus$'][_0xdf6a5f(0x270)](_0x42d806[_0xdf6a5f(0x234)]);return;}this[_0xdf6a5f(0x3d2)][_0xdf6a5f(0x270)](_0x42d806['ONLINE']);let _0x598f45=(_0x306846=_0x341e5b[_0xdf6a5f(0x163)][_0xdf6a5f(0x16e)][this[_0xdf6a5f(0x39a)]])==null?void 0x0:_0x306846[_0xdf6a5f(0x22f)];_0x598f45&&_0x598f45[_0xdf6a5f(0x2c3)](_0x48283e=>this[_0xdf6a5f(0x3b6)][_0xdf6a5f(0x11f)](this[_0xdf6a5f(0x39a)],_0x48283e));}['_onRecvEvent'](_0x39da68){const _0x2319e0=_0x582532;try{let _0x3ed497=_0x39da68[_0x2319e0(0x163)];switch(_0x3ed497[_0x2319e0(0x23e)]){case _0xba6f9e[_0x2319e0(0x417)][_0x2319e0(0x18c)]:this[_0x2319e0(0x1fa)](_0x3ed497),this[_0x2319e0(0x381)][_0x2319e0(0x270)](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)]['USERS_LEAVE']:this['_onUserLeave'](_0x3ed497),this[_0x2319e0(0x381)][_0x2319e0(0x270)](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)][_0x2319e0(0x161)]:case _0xba6f9e[_0x2319e0(0x417)][_0x2319e0(0x2ec)]:this[_0x2319e0(0x2b3)](),this[_0x2319e0(0x2e1)](),this['_event$']['next'](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)]['MSG_FOR_ERROR']:this[_0x2319e0(0x423)][_0x2319e0(0x171)](_0x2319e0(0x2bb)+JSON['stringify'](_0x3ed497)),this[_0x2319e0(0x381)][_0x2319e0(0x270)](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)]['COMMENT_UPDATE']:this[_0x2319e0(0x39f)][_0x2319e0(0x3fb)](_0x3ed497[_0x2319e0(0x163)]),this[_0x2319e0(0x381)]['next'](_0x3ed497);break;default:this['_event$'][_0x2319e0(0x270)](_0x3ed497);}}catch(_0x172f8e){this[_0x2319e0(0x423)]['error'](_0x172f8e,_0x39da68);}}[_0x582532(0x1fa)](_0x665639){const _0x10af40=_0x582532;this[_0x10af40(0x3b6)]['updateMember'](this['_unitID'],_0x665639['data']);}[_0x582532(0x3d0)](_0xb51a20){const _0x156df5=_0x582532;this[_0x156df5(0x3b6)][_0x156df5(0x2c7)](this[_0x156df5(0x39a)],_0xb51a20['data']['memberID']);}async[_0x582532(0x311)](_0x19e807,_0x25cc40){const _0x5a9049=_0x582532;if(this['sessionStatus']!==_0x42d806['ONLINE']||!this['_socket'])throw Error(_0x5a9049(0x26c));try{_0x19e807[_0x5a9049(0x23e)]===_0xba6f9e[_0x5a9049(0x417)][_0x5a9049(0x1f8)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5a9049(0x1ae)](_0x19e807)),this['_socket'][_0x5a9049(0x311)]({'cmd':_0x4d42e2[_0x5a9049(0x160)]['INGEST'],'routeKey':_0x25cc40,'routeType':'','data':_0x19e807});}catch(_0x5619d0){this[_0x5a9049(0x423)][_0x5a9049(0x171)](_0x5619d0);}}[_0x582532(0x2d9)](){const _0x1332a5=_0x582532;var _0x33009f;this[_0x1332a5(0x373)]=setTimeout(()=>{const _0x33510d=_0x1332a5;this['_collaborationTimeoutTimer']=null,this[_0x33510d(0x2ca)][_0x33510d(0x121)]({'id':_0x214ddb[_0x33510d(0x125)]});},(_0x33009f=this[_0x1332a5(0x3b0)][_0x1332a5(0x2ba)](_0x1332a5(0x36a)))==null?_0x3ad1c7:_0x33009f);}[_0x582532(0x2e1)](){const _0x579ab0=_0x582532;this[_0x579ab0(0x373)]&&(clearTimeout(this[_0x579ab0(0x373)]),this[_0x579ab0(0x373)]=null);}[_0x582532(0x1ae)](_0x296140){const _0x24af7f=_0x582532;if(!this[_0x24af7f(0x1e2)])return;let {data:_0x3be28d}=_0x296140,{unitID:_0x248049,changeset:_0x1c523b}=_0x3be28d,{mutations:_0x245e30,type:_0xa89f2e}=_0x1c523b;this[_0x24af7f(0x152)]={'unitId':_0x248049,'type':_0xa89f2e,'startTime':performance[_0x24af7f(0x14c)](),'stopTime':0x0,'duration':0x0,'size':_0x3e065c(_0x245e30)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x3f0354=_0x582532;if(this[_0x3f0354(0x1e2)]){if(!this[_0x3f0354(0x152)]){this[_0x3f0354(0x423)][_0x3f0354(0x171)](_0x3f0354(0x3f2),_0x3f0354(0x3b9));return;}this['_telemetryInfo'][_0x3f0354(0x430)]=performance['now'](),this[_0x3f0354(0x152)][_0x3f0354(0x3c9)]=this[_0x3f0354(0x152)][_0x3f0354(0x430)]-this['_telemetryInfo'][_0x3f0354(0x2e4)],this[_0x3f0354(0x16b)][_0x3f0354(0x174)](_0x3f0354(0x325),this[_0x3f0354(0x152)]),this['_telemetryInfo']=null;}}[_0x582532(0x236)](){this['_telemetryInfo']=null;}};_0x172cb0=_0x9fca30([_0x385b9b(0x2,_0x21f9b6['ILogService']),_0x385b9b(0x3,_0x21f9b6['IConfigService']),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x42c541)),_0x385b9b(0x5,(0x0,_0x21f9b6['Inject'])(_0x386670)),_0x385b9b(0x6,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x486886[_0x582532(0x1e8)]))],_0x172cb0);let _0x2705d1=(0x0,_0x21f9b6[_0x582532(0x1aa)])(_0x582532(0x29d));function _0x183d07(_0x452ca2){return'unit-cache-'+_0x452ca2;}function _0x5873bb(_0x2024f3){const _0x212b08=_0x582532;let {unitID:_0xaae179,mutations:_0x552b55}=_0x2024f3;return{'unitId':_0xaae179,'subUnitId':_0x552b55['length']>0x0?_0x552b55[0x0][_0x212b08(0x2c1)][_0x212b08(0x117)]:null};}let _0x43e293=class{constructor(_0x29ac54,_0x432363,_0x39fcb5){const _0x5bdb45=_0x582532;this[_0x5bdb45(0x279)]=_0x29ac54,this['_transformService']=_0x432363,this['_instanceService']=_0x39fcb5;}[_0x582532(0x3ff)](_0x538f53){const _0x3243a7=_0x582532;var _0x464b8d,_0x1f7a42;let _0x213269=this['_injector'][_0x3243a7(0x19e)](_0x17b170[_0x3243a7(0x3fd)]),{unitId:_0x3f9749,subUnitId:_0x31c1bb}=_0x5873bb(_0x538f53),_0x5038be=_0x213269==null?void 0x0:_0x213269[_0x3243a7(0x401)](_0x3f9749)[_0x3243a7(0x15c)](),_0x566a50=(_0x464b8d=this[_0x3243a7(0x317)]['getUnit'](_0x3f9749))==null||(_0x464b8d=_0x464b8d[_0x3243a7(0x13b)]())==null?void 0x0:_0x464b8d[_0x3243a7(0x3e9)]();if(_0x5038be[_0x3243a7(0x2c6)]===0x0||!_0x3f9749||!_0x31c1bb)return;let _0x2ae9b8=[{'id':_0x17b170[_0x3243a7(0x3cd)]['id'],'params':{'unitId':_0x3f9749,'subUnitId':_0x566a50,'selections':_0x21f9b6[_0x3243a7(0x116)][_0x3243a7(0x38b)](_0x5038be)}}],_0x2a0eda=this[_0x3243a7(0x32c)]['transformMutationsWithChangeset'](_0x538f53,_0x2ae9b8);if(!(0x0,_0xba6f9e[_0x3243a7(0x179)])(_0x2a0eda))throw _0x2a0eda[_0x3243a7(0x171)];let _0x1e6dc4=(_0x1f7a42=_0x2a0eda[_0x3243a7(0x419)][0x0])==null||(_0x1f7a42=_0x1f7a42['params'])==null?void 0x0:_0x1f7a42[_0x3243a7(0x3d8)];if(Array['isArray'](_0x1e6dc4)&&_0x1e6dc4[_0x3243a7(0x2c6)]){if(_0x1e6dc4[_0x3243a7(0x2c6)]===_0x2ae9b8[0x0]['params'][_0x3243a7(0x3d8)][_0x3243a7(0x2c6)]&&_0x1e6dc4[_0x3243a7(0x1d9)]((_0x2edcc7,_0x52e500)=>_0x21f9b6[_0x3243a7(0x165)]['equals'](_0x2edcc7[_0x3243a7(0x37b)],_0x2ae9b8[0x0][_0x3243a7(0x2c1)][_0x3243a7(0x3d8)][_0x52e500]['range'])))return;this[_0x3243a7(0x279)][_0x3243a7(0x19e)](_0x21f9b6[_0x3243a7(0x284)])[_0x3243a7(0x1ee)](_0x17b170['SetSelectionsOperation']['id'],{'unitId':_0x3f9749,'subUnitId':_0x566a50,'selections':_0x1e6dc4});}}};_0x43e293=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6['Inject'])(_0x21f9b6['Injector'])),_0x385b9b(0x1,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x207)])],_0x43e293);let _0x4ada3c=(0x0,_0x21f9b6[_0x582532(0x1aa)])(_0x582532(0x1ce)),_0x5e2f10=function(_0x3cac88){const _0x197712=_0x582532;return _0x3cac88[_0x3cac88[_0x197712(0x14e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3cac88[_0x3cac88[_0x197712(0x118)]=0x1]=_0x197712(0x118),_0x3cac88;}({}),_0x3b7e3d=_0x582532(0x293);Symbol(_0x3b7e3d);let _0x1a0a3c={};function _0x2582a0(_0x180e05){const _0x195008=_0x582532;var _0x4eb331;return!!((_0x4eb331=_0x180e05[_0x195008(0x2c1)])!=null&&_0x4eb331[_0x195008(0x33f)]);}let _0x1d0ff0=new Set([_0x17b170[_0x582532(0x316)]['id']]);function _0xb02396(_0x3f9fb7,_0x29be90,_0x56b7cb,_0x748d13,_0x4955fe){const _0x506b88=_0x582532;var _0x518218,_0x56190f,_0x1c0195,_0x2a5c29;let _0x28531a=[];for(let _0x576848 of _0x3f9fb7){if(_0x1d0ff0['has'](_0x576848['id'])){if(_0x28531a[_0x506b88(0x2c6)]>0x0)break;_0x28531a[_0x506b88(0x2b7)](_0x576848);break;}if(_0x2582a0(_0x576848)){if(_0x28531a[_0x506b88(0x2c6)]>0x0)break;_0x28531a[_0x506b88(0x2b7)](_0x576848);break;}_0x28531a[_0x506b88(0x2b7)](_0x576848);}let _0x29f864=(_0x518218=(_0x56190f=_0x4955fe[_0x506b88(0x2ac)]())==null?void 0x0:_0x56190f[_0x506b88(0x19a)])==null?_0x506b88(0x30a):_0x518218,_0x1dabaa=(_0x1c0195=(_0x2a5c29=_0x4955fe[_0x506b88(0x2ac)]())==null?void 0x0:_0x2a5c29[_0x506b88(0x208)])==null?'unknown':_0x1c0195;return{'changeset':{'unitID':_0x29be90,'type':(0x0,_0xba6f9e[_0x506b88(0x3c4)])(_0x56b7cb[_0x506b88(0x1c0)](_0x29be90)),'baseRev':_0x748d13['getCurrentRevOfUnit'](_0x29be90),'revision':0x0,'userID':_0x29f864,'memberID':_0x1dabaa,'mutations':_0x28531a},'pendingMutations':_0x3f9fb7[_0x506b88(0x24b)](_0x28531a[_0x506b88(0x2c6)])};}function _0x3b1a7d(_0x37f861,_0x2f28dc,_0x306487,_0x52c958,_0x3d2e92){const _0x480349=_0x582532;var _0x421a51,_0x1e1570,_0x1a8f06,_0x570c70;let _0x25a752=[_0x37f861[_0x480349(0x13f)]((_0x2c1c91,_0x499cce)=>{const _0x5c51d9=_0x480349;var _0x2251c2;let {id:_0x52b1c7}=_0x2c1c91,{id:_0x2f375c,type:_0x4fc9ab}=_0x499cce,_0x59c746=(_0x2251c2=_0x2c1c91[_0x5c51d9(0x2c1)])==null?{'actions':null}:_0x2251c2,_0x3dacc3=_0x499cce[_0x5c51d9(0x2c1)];if(_0x52b1c7&&_0x52b1c7!==_0x2f375c)throw Error(_0x5c51d9(0x128)+_0x52b1c7+_0x5c51d9(0x37c)+_0x2f375c+'.');return{..._0x2c1c91,'id':_0x2f375c,'type':_0x4fc9ab,'params':{'unitId':_0x3dacc3[_0x5c51d9(0x415)],'textRanges':_0x3dacc3[_0x5c51d9(0x28a)],'actions':_0x21f9b6[_0x5c51d9(0x379)][_0x5c51d9(0x1a0)](_0x59c746[_0x5c51d9(0x1ac)],_0x3dacc3[_0x5c51d9(0x1ac)])}};},{})],_0x1e423a=(_0x421a51=(_0x1e1570=_0x3d2e92[_0x480349(0x2ac)]())==null?void 0x0:_0x1e1570[_0x480349(0x19a)])==null?_0x480349(0x30a):_0x421a51,_0x5dc596=(_0x1a8f06=(_0x570c70=_0x3d2e92['getCurrentUser']())==null?void 0x0:_0x570c70['memberID'])==null?_0x480349(0x30a):_0x1a8f06;return{'changeset':{'unitID':_0x2f28dc,'type':(0x0,_0xba6f9e[_0x480349(0x3c4)])(_0x306487[_0x480349(0x1c0)](_0x2f28dc)),'baseRev':_0x52c958[_0x480349(0x326)](_0x2f28dc),'revision':0x0,'userID':_0x1e423a,'memberID':_0x5dc596,'mutations':_0x25a752},'pendingMutations':[]};}function _0x28d3ce(_0xca5a55,_0x47a5a1){const _0x54aa4e=_0x582532;let _0x4d1bb5=new _0x4ea2bc['ReplaySubject'](0x1);return setTimeout(()=>_0x4d1bb5[_0x54aa4e(0x270)](_0x47a5a1),_0xca5a55),_0x4d1bb5[_0x54aa4e(0x2bd)]()[_0x54aa4e(0x12f)]((0x0,_0x4ea2bc[_0x54aa4e(0x2d4)])(0x1));}var _0x5bce94,_0x5ccf93,_0x3cf1d4;let _0x259f7c=function(_0x1a1a73){const _0x37adff=_0x582532;return _0x1a1a73['NOT_COLLAB']=_0x37adff(0x1dd),_0x1a1a73[_0x37adff(0x38c)]=_0x37adff(0x31d),_0x1a1a73['PENDING']='pending',_0x1a1a73[_0x37adff(0x3f1)]=_0x37adff(0x22a),_0x1a1a73[_0x37adff(0x220)]=_0x37adff(0x341),_0x1a1a73[_0x37adff(0x203)]=_0x37adff(0x40e),_0x1a1a73[_0x37adff(0x335)]=_0x37adff(0x23b),_0x1a1a73[_0x37adff(0x234)]=_0x37adff(0x2b8),_0x1a1a73;}({}),_0x48a954=0x4e20,_0x35b288=0x2bf20;var _0x30bec6=class{constructor(_0xff5de9,_0x4d65fd,_0x379d75,_0x262837,_0x187099,_0x3543cc,_0x2acef3,_0x47aa4e,_0xca2853){const _0x1dbe70=_0x582532;this[_0x1dbe70(0x142)]=_0xff5de9,this[_0x1dbe70(0x1a4)]=_0x4d65fd,this['_handler']=_0x187099,this[_0x1dbe70(0x332)]=_0x3543cc,this[_0x1dbe70(0x33c)]=_0x2acef3,this[_0x1dbe70(0x262)]=_0x47aa4e,this[_0x1dbe70(0x1e7)]=_0xca2853,_0x158768(this,_0x1dbe70(0x209),null),_0x158768(this,'_pendingMutations',[]),this['_awaitingChangeset']=_0x379d75,this[_0x1dbe70(0x27f)]=_0x262837;}[_0x582532(0x266)](_0x20b949){const _0x4fdb1a=_0x582532;let _0x3ab845=this[_0x4fdb1a(0x262)][_0x4fdb1a(0x326)](this[_0x4fdb1a(0x142)]);return _0x20b949['revision']>_0x3ab845+0x1?(this[_0x4fdb1a(0x3db)][_0x4fdb1a(0x35c)]({'from':_0x3ab845,'to':_0x20b949[_0x4fdb1a(0x1e5)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x56ab9d){const _0x495402=_0x582532;this[_0x495402(0x33c)][_0x495402(0x21b)](this['unitID'],_0x56ab9d);}['_transformSelections'](_0x159487){const _0x42b4f0=_0x582532;var _0x5c1ea2,_0x487f3e;(_0x5c1ea2=(_0x487f3e=this[_0x42b4f0(0x3db)])[_0x42b4f0(0x138)])==null||_0x5c1ea2[_0x42b4f0(0x2f1)](_0x487f3e,_0x159487);}[_0x582532(0x221)](_0x5754ac){const _0x2c7b91=_0x582532;var _0x34d495,_0x3c3a78;return(_0x34d495=(_0x3c3a78=this[_0x2c7b91(0x3db)])['onTransformIME'])==null?void 0x0:_0x34d495[_0x2c7b91(0x2f1)](_0x3c3a78,_0x5754ac);}['_transformStateCache'](_0x5acbba){const _0x4597f4=_0x582532;var _0x1ed09f,_0x31a209;return(_0x1ed09f=(_0x31a209=this[_0x4597f4(0x3db)])[_0x4597f4(0x396)])==null?void 0x0:_0x1ed09f['call'](_0x31a209,_0x5acbba);}[_0x582532(0x1bf)](_0x1cf0fc){const _0x54c835=_0x582532;var _0xb00d35,_0x86c319,_0x7b78f1;return(_0xb00d35=(_0x86c319=(_0x7b78f1=this[_0x54c835(0x3db)])[_0x54c835(0x40b)])==null?void 0x0:_0x86c319[_0x54c835(0x2f1)](_0x7b78f1,_0x1cf0fc))==null?_0x1cf0fc:_0xb00d35;}['_transformRemoteChangesetByStateCache'](_0x1b6eb9){const _0x4f6f8d=_0x582532;var _0x33ab14,_0x2e6867,_0x35fb02;return(_0x33ab14=(_0x2e6867=(_0x35fb02=this[_0x4f6f8d(0x3db)])[_0x4f6f8d(0x291)])==null?void 0x0:_0x2e6867['call'](_0x35fb02,_0x1b6eb9))==null?_0x1b6eb9:_0x33ab14;}[_0x582532(0x33a)](_0x36cfd8){const _0x1d3ff0=_0x582532;if(this[_0x1d3ff0(0x1a4)]===_0x21f9b6[_0x1d3ff0(0x3e4)]['UNIVER_DOC']){let {unitID:_0xdbb2dc,mutations:_0x5f40a4,memberID:_0x29ae8c}=_0x36cfd8,_0x160d6a=_0x5f40a4['length']>0x0?_0x5f40a4[0x0][_0x1d3ff0(0x2c1)][_0x1d3ff0(0x28a)]:[];if(Array[_0x1d3ff0(0x2a2)](_0x160d6a)&&_0x160d6a[_0x1d3ff0(0x2c6)]>0x0){var _0x1437cf,_0x227188;(_0x1437cf=(_0x227188=this[_0x1d3ff0(0x3db)])[_0x1d3ff0(0x3d5)])==null||_0x1437cf['call'](_0x227188,{'unitID':_0xdbb2dc,'memberID':_0x29ae8c,'textRanges':_0x160d6a});}}}[_0x582532(0x140)](){const _0x11cc84=_0x582532;var _0x51dd2a;(_0x51dd2a=this[_0x11cc84(0x1e7)])==null||_0x51dd2a[_0x11cc84(0x28e)](this[_0x11cc84(0x142)],this[_0x11cc84(0x1a4)],this[_0x11cc84(0x209)],this[_0x11cc84(0x27f)]);}[_0x582532(0x146)](){const _0x524235=_0x582532;return this[_0x524235(0x262)][_0x524235(0x326)](this[_0x524235(0x142)]);}[_0x582532(0x13d)](){const _0xd3ea05=_0x582532;this[_0xd3ea05(0x262)][_0xd3ea05(0x377)](this['unitID']);}[_0x582532(0x3ab)](_0x408f50){const _0x2e0c5e=_0x582532;let _0x106a51=this[_0x2e0c5e(0x1bf)](_0x408f50);_0x106a51=this[_0x2e0c5e(0x2c2)](_0x106a51);let _0x1f3b0c=(0x0,_0x21f9b6[_0x2e0c5e(0x18f)])(_0x106a51['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x1f3b0c[_0x2e0c5e(0x20c)]){var _0x107267;throw _0x1f3b0c[_0x2e0c5e(0x171)]instanceof Error?_0x1f3b0c['error']:Error((_0x107267=_0x1f3b0c['error'])==null?_0x2e0c5e(0x413):_0x107267);}this['_transformIMECache'](_0x106a51),this[_0x2e0c5e(0x3f3)](_0x106a51),this[_0x2e0c5e(0x282)](_0x408f50),this[_0x2e0c5e(0x28f)](_0x106a51),this[_0x2e0c5e(0x33a)](_0x106a51),this[_0x2e0c5e(0x13d)]();}};let _0x51c4b3=class extends _0x30bec6{constructor(_0x191636,_0x3dbaae,_0x52c9db,_0x57a7be,_0x3685d2,_0x425356,_0xfff1c1,_0x1bf1b5,_0x34c474,_0xb38237){const _0x53ee51=_0x582532;super(_0x191636,_0x3dbaae,null,[],_0x52c9db,_0xfff1c1,_0x425356,_0x57a7be,_0xb38237),this[_0x53ee51(0x279)]=_0x3685d2,this[_0x53ee51(0x423)]=_0x1bf1b5,this[_0x53ee51(0x32c)]=_0x34c474,this[_0x53ee51(0x2dd)]=_0xb38237,_0x158768(this,_0x53ee51(0x18e),_0x259f7c[_0x53ee51(0x38c)]);}[_0x582532(0x167)](_0x1c6747){const _0x2fe4dc=_0x582532;let _0x4c7e7c=this[_0x2fe4dc(0x279)][_0x2fe4dc(0x327)](_0x348615,this[_0x2fe4dc(0x142)],this[_0x2fe4dc(0x1a4)],[_0x1c6747],this[_0x2fe4dc(0x3db)]);return _0x4c7e7c[_0x2fe4dc(0x2ae)](),_0x4c7e7c[_0x2fe4dc(0x140)](),_0x4c7e7c;}[_0x582532(0x42e)](_0xb4de09){const _0x758499=_0x582532;if(this['_checkMissing'](_0xb4de09))return this[_0x758499(0x279)][_0x758499(0x327)](_0x231f53,this[_0x758499(0x142)],this['type'],null,[],null,[_0xb4de09],this['_handler']);try{let _0x360525=this[_0x758499(0x32c)]['transformMutationsWithChangeset'](_0xb4de09,[_0xba6f9e[_0x758499(0x28b)]]);if((0x0,_0xba6f9e['isTransformMutationsWithChangesetSuccess'])(_0x360525)){let {c1Prime:_0x5c6725}=_0x360525;return this[_0x758499(0x3ab)](_0x5c6725),this;}throw _0x360525[_0x758499(0x171)];}catch(_0xd3a5bc){return this[_0x758499(0x423)][_0x758499(0x171)](_0xd3a5bc),this['_onConflict'](!0x1);}}[_0x582532(0x41d)](_0x42e58d){const _0x21f715=_0x582532;return this[_0x21f715(0x279)][_0x21f715(0x327)](_0x2d5de6,this[_0x21f715(0x142)],this['type'],null,[],this[_0x21f715(0x3db)],_0x42e58d);}['onRemoteAck'](){const _0x48cd23=_0x582532;throw Error(_0x48cd23(0x21e));}[_0x582532(0x1e3)](){const _0x578c8b=_0x582532;throw Error(_0x578c8b(0x2ce));}[_0x582532(0x3ba)](){return this;}['toggleOffline'](){const _0x187a31=_0x582532;return this[_0x187a31(0x279)][_0x187a31(0x327)](_0x23f8dc,this[_0x187a31(0x142)],this['type'],null,[],this[_0x187a31(0x3db)]);}[_0x582532(0x3f9)](){return this;}['resend'](){throw Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x68ae2=_0x582532;let _0x5900f8=this['_revisionService']['getCurrentRevOfUnit'](this[_0x68ae2(0x142)]);return this[_0x68ae2(0x3db)][_0x68ae2(0x35c)]({'from':_0x5900f8,'to':0x0}),this['_injector'][_0x68ae2(0x327)](_0x231f53,this['unitID'],this[_0x68ae2(0x1a4)],null,[],null,[],this[_0x68ae2(0x3db)]);}};_0x51c4b3=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x4,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x5,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0x6,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x8,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x9,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x51c4b3);let _0x348615=_0x5bce94=class extends _0x30bec6{constructor(_0x1ab62a,_0x2a7f2a,_0x3998da,_0x565924,_0x175d39,_0x30fabc,_0x468985,_0x40d4df,_0x1718f4,_0x2f0f9d,_0x5b7bce,_0x3b5ed8,_0x2dacb0,_0x4d6ed2){const _0x3381ed=_0x582532;super(_0x1ab62a,_0x2a7f2a,null,_0x3998da,_0x565924,_0x1718f4,_0x2dacb0,_0x30fabc,_0x4d6ed2),this[_0x3381ed(0x279)]=_0x175d39,this[_0x3381ed(0x3b6)]=_0x468985,this['_logService']=_0x40d4df,this[_0x3381ed(0x3b0)]=_0x2f0f9d,this[_0x3381ed(0x32c)]=_0x5b7bce,this[_0x3381ed(0x136)]=_0x3b5ed8,_0x158768(this,_0x3381ed(0x18e),_0x259f7c[_0x3381ed(0x310)]),_0x158768(this,_0x3381ed(0x15f),null),_0x158768(this,_0x3381ed(0x1d3),null);}[_0x582532(0x167)](_0x1754c8){const _0x5b4731=_0x582532;return this[_0x5b4731(0x27f)]['push'](_0x1754c8),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x13a597){const _0x2387b0=_0x582532;if(this[_0x2387b0(0x266)](_0x13a597))return this[_0x2387b0(0x127)](),this['_injector'][_0x2387b0(0x327)](_0x231f53,this[_0x2387b0(0x142)],this['type'],null,this[_0x2387b0(0x27f)],null,[_0x13a597],this[_0x2387b0(0x3db)]);try{let _0x4f4bd2=this['_transformService'][_0x2387b0(0x18a)](_0x13a597,this[_0x2387b0(0x27f)]);if((0x0,_0xba6f9e[_0x2387b0(0x179)])(_0x4f4bd2)){let {c1Prime:_0x30c7de,m2Prime:_0x5b12f6}=_0x4f4bd2;this['_executeRemoteChangeset'](_0x30c7de);let _0x47bad4=this[_0x2387b0(0x279)]['createInstance'](_0x5bce94,this[_0x2387b0(0x142)],this[_0x2387b0(0x1a4)],_0x5b12f6,this[_0x2387b0(0x3db)]);this[_0x2387b0(0x127)]();let _0x273fd8=new Date()[_0x2387b0(0x2f9)](),_0x4db129=this[_0x2387b0(0x15f)]?Math[_0x2387b0(0x358)](this[_0x2387b0(0x15f)]-_0x273fd8,0x0):this[_0x2387b0(0x432)]();return _0x47bad4[_0x2387b0(0x2ae)](_0x4db129),_0x47bad4;}throw _0x4f4bd2[_0x2387b0(0x171)];}catch(_0x228ca1){return this[_0x2387b0(0x423)][_0x2387b0(0x171)](_0x228ca1),this[_0x2387b0(0x41d)](!0x1);}}[_0x582532(0x1e9)](){const _0xe2bd34=_0x582532;throw Error(_0xe2bd34(0x199));}['onRemoteRej'](){throw Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x3df602=_0x582532;return this[_0x3df602(0x127)](),this[_0x3df602(0x279)][_0x3df602(0x327)](_0x23f8dc,this[_0x3df602(0x142)],this[_0x3df602(0x1a4)],null,this[_0x3df602(0x27f)],this[_0x3df602(0x3db)]);}[_0x582532(0x3f9)](){return this;}[_0x582532(0x2ae)](_0x5a4988){const _0x18dcd8=_0x582532;let _0x52fda7=_0x5a4988==null?this['_getSendChangesetTimeout']():_0x5a4988;this['_scheduleCompleteTimestamp']=new Date()[_0x18dcd8(0x2f9)]()+_0x52fda7,this[_0x18dcd8(0x1d3)]=setTimeout(()=>{const _0x4ff290=_0x18dcd8;this[_0x4ff290(0x127)]();let _0x299b1d=null;switch(this['type']){case _0x21f9b6[_0x4ff290(0x3e4)]['UNIVER_SHEET']:_0x299b1d=_0xb02396(this['_pendingMutations'],this[_0x4ff290(0x142)],this[_0x4ff290(0x136)],this[_0x4ff290(0x262)],this[_0x4ff290(0x3b6)]);break;case _0x21f9b6['UniverInstanceType'][_0x4ff290(0x1f3)]:_0x299b1d=this[_0x4ff290(0x27f)][_0x4ff290(0x1d9)](_0xd44c98=>_0xd44c98['id']===_0x1444ec[_0x4ff290(0x1ff)]['id'])?_0x3b1a7d(this[_0x4ff290(0x27f)],this[_0x4ff290(0x142)],this['_univerInstanceService'],this[_0x4ff290(0x262)],this[_0x4ff290(0x3b6)]):_0xb02396(this['_pendingMutations'],this[_0x4ff290(0x142)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;default:throw Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x4ff290(0x1a4)]+_0x4ff290(0x12c));}let {changeset:_0xbfcbfa,pendingMutations:_0x3f827a}=_0x299b1d;this[_0x4ff290(0x3db)]['onSendChangeset'](_0xbfcbfa);let _0x18fee0=_0x3f827a['length']?this[_0x4ff290(0x279)]['createInstance'](_0x548b22,this[_0x4ff290(0x142)],this[_0x4ff290(0x1a4)],_0xbfcbfa,_0x3f827a,this[_0x4ff290(0x3db)],void 0x0):this[_0x4ff290(0x279)][_0x4ff290(0x327)](_0x4cb993,this[_0x4ff290(0x142)],this[_0x4ff290(0x1a4)],_0xbfcbfa,this[_0x4ff290(0x3db)]);_0x18fee0['_updateLocalCache'](),this[_0x4ff290(0x3db)]['onStateChange'](this,_0x18fee0);},_0x52fda7);}['_getSendChangesetTimeout'](){const _0x57542e=_0x582532;var _0x5388d8;let _0x8e446d=this[_0x57542e(0x3b0)]['getConfig'](_0x3b7e3d);return(_0x5388d8=_0x8e446d==null?void 0x0:_0x8e446d[_0x57542e(0x219)])==null?0x7d0:_0x5388d8;}['resend'](){const _0x16a690=_0x582532;throw Error(_0x16a690(0x115));}[_0x582532(0x127)](){const _0x410e28=_0x582532;this[_0x410e28(0x1d3)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x410e28(0x1d3)]=null);}[_0x582532(0x41d)](_0x5cce5b){const _0x1f328c=_0x582532;return this[_0x1f328c(0x127)](),this[_0x1f328c(0x279)][_0x1f328c(0x327)](_0x2d5de6,this[_0x1f328c(0x142)],this['type'],null,this[_0x1f328c(0x27f)],this[_0x1f328c(0x3db)],_0x5cce5b);}};_0x348615=_0x5bce94=_0x9fca30([_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e['RevisionService'])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x42c541)),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x8,_0x21f9b6['ICommandService']),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0xa,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0xb,_0x21f9b6['IUniverInstanceService']),_0x385b9b(0xc,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x348615);let _0x4cb993=_0x5ccf93=class extends _0x30bec6{constructor(_0x5ae621,_0x121bf5,_0x262e39,_0x2b5481,_0x514f22,_0x473c76,_0x2c09a5,_0x311085,_0x322bf4,_0x276cbf,_0x5370ee){const _0x5dc3d3=_0x582532;super(_0x5ae621,_0x121bf5,_0x262e39,[],_0x2b5481,_0x2c09a5,_0x276cbf,_0x473c76,_0x5370ee),this[_0x5dc3d3(0x279)]=_0x514f22,this['_logService']=_0x311085,this[_0x5dc3d3(0x32c)]=_0x322bf4,_0x158768(this,_0x5dc3d3(0x18e),_0x259f7c[_0x5dc3d3(0x3f1)]),_0x158768(this,_0x5dc3d3(0x345),0x0),_0x158768(this,_0x5dc3d3(0x2fb),0x0),_0x158768(this,_0x5dc3d3(0x1e6),void 0x0),_0x158768(this,_0x5dc3d3(0x1e1),void 0x0);}['appendMutation'](_0x1c2523){const _0x5db447=_0x582532;this[_0x5db447(0x127)]();let _0x5ad262=this[_0x5db447(0x279)]['createInstance'](_0x548b22,this[_0x5db447(0x142)],this['type'],this[_0x5db447(0x209)],[_0x1c2523],this['_handler'],this[_0x5db447(0x1e6)]);return _0x5ad262[_0x5db447(0x140)](),_0x5ad262;}[_0x582532(0x42e)](_0x44d48b){const _0x11b52d=_0x582532;if(this['_checkMissing'](_0x44d48b))return this[_0x11b52d(0x127)](),this['_injector'][_0x11b52d(0x327)](_0x231f53,this['unitID'],this[_0x11b52d(0x1a4)],this[_0x11b52d(0x209)],[],null,[_0x44d48b],this[_0x11b52d(0x3db)]);try{let _0x47b469=this[_0x11b52d(0x32c)][_0x11b52d(0x388)]([_0x44d48b],[this[_0x11b52d(0x209)]],!0x1);if((0x0,_0xba6f9e[_0x11b52d(0x2f6)])(_0x47b469)){let {c1Prime:_0x2c953a,c2Prime:_0x16c29a}=_0x47b469;this[_0x11b52d(0x3ab)](_0x2c953a[0x0]),_0x16c29a[0x0][_0x11b52d(0x42d)]=this[_0x11b52d(0x146)](),this['_clearScheduledTask']();let _0x4ad2ee=this[_0x11b52d(0x279)][_0x11b52d(0x327)](_0x5ccf93,this[_0x11b52d(0x142)],this['type'],_0x16c29a[0x0],this[_0x11b52d(0x3db)]);return _0x4ad2ee[_0x11b52d(0x140)](),_0x4ad2ee;}return this[_0x11b52d(0x41d)](!0x1);}catch(_0x471fbd){return this[_0x11b52d(0x423)][_0x11b52d(0x171)](_0x471fbd),this['_onConflict'](!0x1);}}[_0x582532(0x1e9)](_0xfda263){const _0x4c2b8a=_0x582532;this[_0x4c2b8a(0x127)]();let _0x52aa92=this[_0x4c2b8a(0x262)][_0x4c2b8a(0x326)](this[_0x4c2b8a(0x142)]);if(_0xfda263[_0x4c2b8a(0x1e5)]<_0x52aa92-0x1)return this;if(this[_0x4c2b8a(0x266)](_0xfda263))return this['_injector'][_0x4c2b8a(0x327)](_0x231f53,this[_0x4c2b8a(0x142)],this[_0x4c2b8a(0x1a4)],null,[],this[_0x4c2b8a(0x209)],[],this[_0x4c2b8a(0x3db)]);this[_0x4c2b8a(0x13d)]();let _0x1bec25=this[_0x4c2b8a(0x279)][_0x4c2b8a(0x327)](_0x51c4b3,this['unitID'],this[_0x4c2b8a(0x1a4)],this['_handler']);return _0x1bec25['_updateLocalCache'](),_0x1bec25;}['onRemoteRej'](_0x55fc0c){const _0x3cd3ea=_0x582532;return this[_0x3cd3ea(0x41d)](!!(_0x55fc0c!=null&&_0x55fc0c[_0x3cd3ea(0x21a)]));}[_0x582532(0x3ba)](_0x4ce1e4){const _0x379df2=_0x582532;return this[_0x379df2(0x2fb)]>_0x35b288?this['toggleOffline']():(this['_resendTimer']=_0x28d3ce(this['_resendTimeout'],{'timeout':this[_0x379df2(0x345)],'reqId':_0x4ce1e4[_0x379df2(0x37d)]}),this[_0x379df2(0x1e1)]=this[_0x379df2(0x1e6)][_0x379df2(0x237)](({reqId:_0x4c25e2,timeout:_0x961807})=>{const _0x48d43d=_0x379df2;this[_0x48d43d(0x241)](_0x4c25e2,_0x961807);}),this);}['toggleOffline'](){const _0x2fc99b=_0x582532;return this[_0x2fc99b(0x127)](),this[_0x2fc99b(0x279)][_0x2fc99b(0x327)](_0x23f8dc,this[_0x2fc99b(0x142)],this[_0x2fc99b(0x1a4)],this['_awaitingChangeset'],[],this[_0x2fc99b(0x3db)]);}['toggleOnline'](){return this;}[_0x582532(0x132)](){const _0x5a83d8=_0x582532;this[_0x5a83d8(0x3db)]['onSendChangeset'](this[_0x5a83d8(0x209)]);}['_onConflict'](_0x300cd1){const _0xbb9a50=_0x582532;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x2d5de6,this[_0xbb9a50(0x142)],this[_0xbb9a50(0x1a4)],this[_0xbb9a50(0x209)],[],this[_0xbb9a50(0x3db)],_0x300cd1);}[_0x582532(0x241)](_0x1c096e,_0x47d51c){const _0x4dde86=_0x582532;var _0x35a75c;_0x1c096e===((_0x35a75c=this[_0x4dde86(0x209)])==null?void 0x0:_0x35a75c[_0x4dde86(0x37d)])&&(this[_0x4dde86(0x132)](),this[_0x4dde86(0x345)]=_0x47d51c===0x0?0x3e8:Math[_0x4dde86(0x215)](_0x47d51c*0x2,_0x48a954),this[_0x4dde86(0x2fb)]+=this[_0x4dde86(0x345)]);}['_clearScheduledTask'](){const _0x2e85ac=_0x582532;var _0x3b277c;(_0x3b277c=this[_0x2e85ac(0x1e1)])==null||_0x3b277c[_0x2e85ac(0x347)](),this[_0x2e85ac(0x345)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x4cb993=_0x5ccf93=_0x9fca30([_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x6,_0x21f9b6['ICommandService']),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x8,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0xa,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x4cb993);let _0x548b22=_0x3cf1d4=class extends _0x30bec6{constructor(_0x13907a,_0x2ee344,_0x2e6ce6,_0x489fac,_0x29a727,_0x476a10,_0x58ad0d,_0x584c6a,_0x25884a,_0xa1a8c8,_0x50b2e0,_0x43a927,_0x993219){const _0x191ba0=_0x582532;super(_0x13907a,_0x2ee344,_0x2e6ce6,_0x489fac,_0x29a727,_0x25884a,_0x43a927,_0x584c6a,_0x993219),this[_0x191ba0(0x279)]=_0x58ad0d,this[_0x191ba0(0x423)]=_0xa1a8c8,this[_0x191ba0(0x32c)]=_0x50b2e0,this[_0x191ba0(0x2dd)]=_0x993219,_0x158768(this,_0x191ba0(0x18e),_0x259f7c['AWAITING_WITH_PENDING']),_0x158768(this,'_resendTimeout',0x0),_0x158768(this,_0x191ba0(0x2fb),0x0),_0x158768(this,_0x191ba0(0x1e6),void 0x0),_0x158768(this,_0x191ba0(0x1e1),void 0x0),_0x476a10&&(this['_resendTimer']=_0x476a10,this['_sender']=this[_0x191ba0(0x1e6)]['subscribe'](({reqId:_0x30324b,timeout:_0x5b4b07})=>{const _0x5a3859=_0x191ba0;this[_0x5a3859(0x241)](_0x30324b,_0x5b4b07);}));}[_0x582532(0x167)](_0x4cf22d){const _0x3d7741=_0x582532;return this[_0x3d7741(0x27f)][_0x3d7741(0x2b7)](_0x4cf22d),this;}[_0x582532(0x42e)](_0x375667){const _0x272661=_0x582532;if(this[_0x272661(0x266)](_0x375667))return this['_clearScheduledTask'](),this['_injector'][_0x272661(0x327)](_0x231f53,this[_0x272661(0x142)],this[_0x272661(0x1a4)],this[_0x272661(0x209)],this['_pendingMutations'],null,[_0x375667],this[_0x272661(0x3db)]);try{let _0x6af304=this[_0x272661(0x32c)]['transformChangesets']([_0x375667],[this[_0x272661(0x209)]],!0x1);if((0x0,_0xba6f9e[_0x272661(0x2f6)])(_0x6af304)){let {c1Prime:_0x40f146,c2Prime:_0x5a3f49}=_0x6af304,_0x260a89=this[_0x272661(0x32c)]['transformMutationsWithChangeset'](_0x40f146[0x0],this[_0x272661(0x27f)]);if((0x0,_0xba6f9e['isTransformMutationsWithChangesetSuccess'])(_0x260a89)){let {c1Prime:_0x44acfd,m2Prime:_0x2c0702}=_0x260a89;return this[_0x272661(0x3ab)](_0x44acfd),_0x5a3f49[0x0][_0x272661(0x42d)]=this['_getCurrentRevision'](),this[_0x272661(0x127)](),this['_injector'][_0x272661(0x327)](_0x3cf1d4,this['unitID'],this[_0x272661(0x1a4)],_0x5a3f49[0x0],_0x2c0702,this[_0x272661(0x3db)],void 0x0);}throw _0x260a89['error'];}throw _0x6af304[_0x272661(0x171)];}catch(_0x2435b6){return this['_logService']['error'](_0x2435b6),this[_0x272661(0x41d)](!0x1);}}[_0x582532(0x1e9)](_0x2214c6){const _0x56b1b3=_0x582532;if(this['_clearScheduledTask'](),this[_0x56b1b3(0x266)](_0x2214c6))return this['_injector'][_0x56b1b3(0x327)](_0x231f53,this[_0x56b1b3(0x142)],this['type'],null,this[_0x56b1b3(0x27f)],this[_0x56b1b3(0x209)],[],this[_0x56b1b3(0x3db)]);this[_0x56b1b3(0x13d)]();let _0x4f8c88=this[_0x56b1b3(0x279)][_0x56b1b3(0x327)](_0x348615,this['unitID'],this['type'],this[_0x56b1b3(0x27f)],this[_0x56b1b3(0x3db)]);return _0x4f8c88[_0x56b1b3(0x2ae)](),_0x4f8c88[_0x56b1b3(0x140)](),_0x4f8c88;}[_0x582532(0x1e3)](_0x552c10){const _0x516b8b=_0x582532;return this[_0x516b8b(0x41d)](!!(_0x552c10!=null&&_0x552c10['isPermissionRej']));}[_0x582532(0x3ba)](_0x1c22e0){const _0x153216=_0x582532;return this[_0x153216(0x2fb)]>_0x35b288?this['toggleOffline']():(this[_0x153216(0x1e6)]=_0x28d3ce(this['_resendTimeout'],{'timeout':this[_0x153216(0x345)],'reqId':_0x1c22e0[_0x153216(0x37d)]}),this[_0x153216(0x1e1)]=this[_0x153216(0x1e6)][_0x153216(0x237)](({reqId:_0x4d006d,timeout:_0x251a94})=>{const _0x189237=_0x153216;this[_0x189237(0x241)](_0x4d006d,_0x251a94);}),this);}['toggleOffline'](){const _0x101e23=_0x582532;return this[_0x101e23(0x127)](),this[_0x101e23(0x279)][_0x101e23(0x327)](_0x23f8dc,this[_0x101e23(0x142)],this[_0x101e23(0x1a4)],this[_0x101e23(0x209)],this['_pendingMutations'],this[_0x101e23(0x3db)]);}[_0x582532(0x3f9)](){return this;}[_0x582532(0x132)](){const _0x2a3017=_0x582532;this[_0x2a3017(0x3db)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x582532(0x41d)](_0x3a429a){const _0x4adf68=_0x582532;return this[_0x4adf68(0x127)](),this[_0x4adf68(0x279)]['createInstance'](_0x2d5de6,this['unitID'],this[_0x4adf68(0x1a4)],null,this['_pendingMutations'],this['_handler'],_0x3a429a);}[_0x582532(0x241)](_0x2dc870,_0x2b422a){const _0x542b7b=_0x582532;var _0x1d6961;_0x2dc870===((_0x1d6961=this['_awaitingChangeset'])==null?void 0x0:_0x1d6961['reqId'])&&(this['resend'](),this[_0x542b7b(0x345)]=_0x2b422a===0x0?0x3e8:Math[_0x542b7b(0x215)](_0x2b422a*0x2,_0x48a954),this[_0x542b7b(0x2fb)]+=this[_0x542b7b(0x345)]);}[_0x582532(0x127)](){const _0x50fd3f=_0x582532;var _0x5d9c8d;(_0x5d9c8d=this[_0x50fd3f(0x1e1)])==null||_0x5d9c8d[_0x50fd3f(0x347)](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x548b22=_0x3cf1d4=_0x9fca30([_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6['Injector'])),_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x8,_0x21f9b6['ICommandService']),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0xb,_0x21f9b6['IUndoRedoService']),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x548b22);let _0x2d5de6=class extends _0x30bec6{constructor(_0xf5fd1c,_0x26b480,_0x15299f,_0x6d64be,_0x256cea,_0x452b50=!0x1,_0x35b082,_0x980067,_0x1d57b8,_0x503f15,_0x5d7213,_0x51214e,_0x28260a){const _0x275b6a=_0x582532;super(_0xf5fd1c,_0x26b480,_0x15299f,_0x6d64be,_0x256cea,_0x980067,_0x1d57b8,_0x503f15,_0x28260a),this[_0x275b6a(0x261)]=_0x452b50,this[_0x275b6a(0x3bb)]=_0x35b082,this[_0x275b6a(0x120)]=_0x5d7213,this[_0x275b6a(0x2ca)]=_0x51214e,this[_0x275b6a(0x2dd)]=_0x28260a,_0x158768(this,_0x275b6a(0x18e),_0x259f7c[_0x275b6a(0x335)]),this[_0x275b6a(0x367)](),this[_0x275b6a(0x324)](),this['_disableEditing']();}[_0x582532(0x167)](){return this;}[_0x582532(0x42e)](){return this;}['onRemoteAck'](){return this;}[_0x582532(0x1e3)](){return this;}[_0x582532(0x3ba)](){return this;}[_0x582532(0x3ee)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x34ac66=_0x582532;throw Error(_0x34ac66(0x2ef));}[_0x582532(0x324)](){const _0x3bb7c6=_0x582532;var _0x1d57c5;(_0x1d57c5=this[_0x3bb7c6(0x1e7)])==null||_0x1d57c5[_0x3bb7c6(0x28e)](this[_0x3bb7c6(0x142)],this[_0x3bb7c6(0x1a4)],null,[]);}[_0x582532(0x367)](){const _0x542e23=_0x582532;this[_0x542e23(0x261)]?this[_0x542e23(0x2ca)][_0x542e23(0x121)]({'id':_0x214ddb[_0x542e23(0x256)]}):this[_0x542e23(0x2ca)][_0x542e23(0x121)]({'id':_0x214ddb[_0x542e23(0x335)]});}[_0x582532(0x1ad)](){const _0x487c00=_0x582532;this[_0x487c00(0x3bb)][_0x487c00(0x122)](new _0x17b170[(_0x487c00(0x34e))](this[_0x487c00(0x142)])['id'],!0x1);}};_0x2d5de6=_0x9fca30([_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x350)])),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0x9,(0x0,_0x21f9b6['Inject'])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0xa,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x263)])),_0x385b9b(0xb,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x2d5de6);let _0x23f8dc=class extends _0x30bec6{constructor(_0x247506,_0x28cd61,_0x1b682d,_0x5deb89,_0x2280ba,_0x11adb6,_0x1c7326,_0x162a22,_0x19c429,_0x4025f4){const _0x11a97d=_0x582532;super(_0x247506,_0x28cd61,_0x1b682d,_0x5deb89,_0x2280ba,_0x162a22,_0x19c429,_0x1c7326,_0x4025f4),this[_0x11a97d(0x279)]=_0x11adb6,_0x158768(this,'status',_0x259f7c[_0x11a97d(0x234)]);}[_0x582532(0x167)](_0x3ea730){const _0x1f2c53=_0x582532;return this[_0x1f2c53(0x27f)][_0x1f2c53(0x2b7)](_0x3ea730),this[_0x1f2c53(0x140)](),this;}[_0x582532(0x42e)](_0x2d467f){const _0x1387b2=_0x582532;throw Error(_0x1387b2(0x2a0));}[_0x582532(0x1e9)](){throw Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x433db6=_0x582532;throw Error(_0x433db6(0x166));}[_0x582532(0x3ba)](){return this;}['toggleOffline'](){return this;}[_0x582532(0x3f9)](){const _0x4fe268=_0x582532;let {_injector:_0x7ae0fc,_pendingMutations:_0x5506f7,_awaitingChangeset:_0x493394,unitID:_0x183c2c,_handler:_0x1f4062,type:_0xabb73c}=this,_0x4835d9=_0xb3493c(_0x7ae0fc,_0x183c2c,_0xabb73c,_0x493394,_0x5506f7,_0x1f4062);return _0x4835d9 instanceof _0x348615?_0x4835d9['_schedule']():(_0x4835d9 instanceof _0x548b22||_0x4835d9 instanceof _0x4cb993)&&_0x4835d9[_0x4fe268(0x132)](),_0x4835d9;}[_0x582532(0x132)](){const _0x5e4bbd=_0x582532;throw Error(_0x5e4bbd(0x352));}};_0x23f8dc=_0x9fca30([_0x385b9b(0x5,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e['RevisionService'])),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0x9,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x23f8dc);let _0x231f53=class extends _0x30bec6{constructor(_0x427c88,_0x2450d2,_0x2633b7,_0x585a2a,_0x4b94ba,_0x1cd96f,_0x35e160,_0x4a662b,_0x1aee75,_0x44fa75,_0x4f4d79,_0x546367,_0x2d8ec0,_0x43033d){const _0x444b02=_0x582532;super(_0x427c88,_0x2450d2,_0x2633b7,_0x585a2a,_0x35e160,_0x4f4d79,_0x546367,_0x1aee75,_0x43033d),this[_0x444b02(0x3c7)]=_0x4b94ba,this[_0x444b02(0x2ea)]=_0x1cd96f,this[_0x444b02(0x279)]=_0x4a662b,this['_logService']=_0x44fa75,this[_0x444b02(0x32c)]=_0x2d8ec0,this[_0x444b02(0x2dd)]=_0x43033d,_0x158768(this,_0x444b02(0x18e),_0x259f7c[_0x444b02(0x203)]);}['onMissedChangesetFetched'](_0x4c2705){const _0x3b27d8=_0x582532;try{let _0x3b940d=[..._0x4c2705,...this['_queuedRemoteChangesets']],_0x3086df=[this[_0x3b27d8(0x209)]||this[_0x3b27d8(0x3c7)]][_0x3b27d8(0x382)](_0x521c4f=>!!_0x521c4f),_0x208f1a,_0x334c7e;if(_0x3086df[_0x3b27d8(0x2c6)]){let _0x591f92=this['_transformService'][_0x3b27d8(0x388)](_0x3b940d,_0x3086df,!0x1);if(!(0x0,_0xba6f9e[_0x3b27d8(0x2f6)])(_0x591f92))throw _0x591f92[_0x3b27d8(0x171)];_0x208f1a=_0x591f92[_0x3b27d8(0x301)],_0x334c7e=_0x591f92['c2Prime'];}else _0x208f1a=_0x3b940d,_0x334c7e=[];let _0x2afad1=this[_0x3b27d8(0x27f)];_0x208f1a[_0x3b27d8(0x2c3)](_0x3e4a89=>{const _0xce38cc=_0x3b27d8;let _0x312a11;if(_0x2afad1['length']){let _0x4c7e2b=this[_0xce38cc(0x32c)][_0xce38cc(0x18a)](_0x3e4a89,_0x2afad1);if(!(0x0,_0xba6f9e[_0xce38cc(0x179)])(_0x4c7e2b))throw _0x4c7e2b[_0xce38cc(0x171)];_0x312a11=_0x4c7e2b[_0xce38cc(0x301)],_0x2afad1=_0x4c7e2b['m2Prime'];}else _0x312a11=_0x3e4a89;this['_executeRemoteChangeset'](_0x312a11);}),this[_0x3b27d8(0x3c7)]&&this[_0x3b27d8(0x13d)](),this['_awaitingChangeset']&&_0x334c7e['length']&&(_0x334c7e[0x0][_0x3b27d8(0x42d)]=this['_getCurrentRevision']());let _0x5b2675;if(this[_0x3b27d8(0x209)]&&_0x2afad1[_0x3b27d8(0x2c6)]!==0x0)_0x5b2675=this[_0x3b27d8(0x279)][_0x3b27d8(0x327)](_0x548b22,this['unitID'],this[_0x3b27d8(0x1a4)],_0x334c7e[0x0],_0x2afad1,this['_handler'],void 0x0);else{if(this[_0x3b27d8(0x209)]&&_0x2afad1[_0x3b27d8(0x2c6)]===0x0)_0x334c7e[0x0][_0x3b27d8(0x42d)]=this[_0x3b27d8(0x146)](),_0x5b2675=this['_injector']['createInstance'](_0x4cb993,this['unitID'],this[_0x3b27d8(0x1a4)],_0x334c7e[0x0],this[_0x3b27d8(0x3db)]);else{if(_0x2afad1['length']!==0x0){let _0xb65cc=this[_0x3b27d8(0x279)][_0x3b27d8(0x327)](_0x348615,this[_0x3b27d8(0x142)],this[_0x3b27d8(0x1a4)],_0x2afad1,this[_0x3b27d8(0x3db)]);_0xb65cc[_0x3b27d8(0x2ae)](),_0x5b2675=_0xb65cc;}else _0x5b2675=this[_0x3b27d8(0x279)]['createInstance'](_0x51c4b3,this['unitID'],this[_0x3b27d8(0x1a4)],this['_handler']);}}return _0x5b2675[_0x3b27d8(0x140)](),_0x5b2675;}catch(_0x581834){return this[_0x3b27d8(0x423)][_0x3b27d8(0x171)](_0x3b27d8(0x2a5),_0x3b27d8(0x1fb),_0x581834),this[_0x3b27d8(0x279)][_0x3b27d8(0x327)](_0x2d5de6,this[_0x3b27d8(0x142)],this['type'],this[_0x3b27d8(0x209)],this[_0x3b27d8(0x27f)],this[_0x3b27d8(0x3db)],!0x1);}}[_0x582532(0x132)](){const _0x527b08=_0x582532;throw Error(_0x527b08(0x21f));}[_0x582532(0x167)](_0x584773){const _0x3e095a=_0x582532;return this[_0x3e095a(0x27f)]['push'](_0x584773),this;}['onRemoteChangeset'](_0xe1d723){const _0x4fd9c3=_0x582532;return this[_0x4fd9c3(0x2ea)][_0x4fd9c3(0x2b7)](_0xe1d723),this;}[_0x582532(0x1e9)](_0x29181c){const _0x451fcf=_0x582532;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x451fcf(0x209)],this[_0x451fcf(0x209)]=null,this;throw Error(_0x451fcf(0x1f2));}[_0x582532(0x1e3)](_0x2afd4d){const _0x641db3=_0x582532;return this[_0x641db3(0x41d)](!!(_0x2afd4d!=null&&_0x2afd4d[_0x641db3(0x21a)]));}[_0x582532(0x3ba)](){return this;}[_0x582532(0x3ee)](){const _0x328a78=_0x582532;return this[_0x328a78(0x279)][_0x328a78(0x327)](_0x23f8dc,this[_0x328a78(0x142)],this[_0x328a78(0x1a4)],this[_0x328a78(0x209)],this[_0x328a78(0x27f)],this[_0x328a78(0x3db)]);}['toggleOnline'](){return this;}[_0x582532(0x41d)](_0x1eddc0){const _0x206e5c=_0x582532;return this[_0x206e5c(0x279)][_0x206e5c(0x327)](_0x2d5de6,this['unitID'],this[_0x206e5c(0x1a4)],this[_0x206e5c(0x209)],this[_0x206e5c(0x27f)],this[_0x206e5c(0x3db)],_0x1eddc0);}};_0x231f53=_0x9fca30([_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x8,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0xb,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0xc,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x231f53);function _0xb3493c(_0x28f7ca,_0x443a9e,_0x28b251,_0x40faf5,_0x2ebb6e,_0x53b6b0){const _0x5b03b2=_0x582532;return _0x40faf5&&_0x2ebb6e['length']?_0x28f7ca[_0x5b03b2(0x327)](_0x548b22,_0x443a9e,_0x28b251,_0x40faf5,_0x2ebb6e,_0x53b6b0,void 0x0):_0x40faf5?_0x28f7ca['createInstance'](_0x4cb993,_0x443a9e,_0x28b251,_0x40faf5,_0x53b6b0):_0x2ebb6e['length']?_0x28f7ca['createInstance'](_0x348615,_0x443a9e,_0x28b251,_0x2ebb6e,_0x53b6b0):_0x28f7ca['createInstance'](_0x51c4b3,_0x443a9e,_0x28b251,_0x53b6b0);}let _0x20db3d=class extends _0x21f9b6[_0x582532(0x1c3)]{get[_0x582532(0x119)](){const _0x16d195=_0x582532;return this[_0x16d195(0x26b)];}constructor(_0x26a4d1,_0xf5a6e3,_0x50d5f8,_0x6fd0cc,_0x588da3,_0x45fa1c,_0x2f5ead,_0x472620,_0x48a7af,_0x383495,_0x3a2c94,_0x4b5044,_0x100fe9,_0xf01b31){const _0x307276=_0x582532;super(),this[_0x307276(0x142)]=_0x26a4d1,this[_0x307276(0x3a3)]=_0xf5a6e3,this[_0x307276(0x20b)]=_0x50d5f8,this['_injector']=_0x6fd0cc,this[_0x307276(0x418)]=_0x588da3,this[_0x307276(0x120)]=_0x45fa1c,this[_0x307276(0x262)]=_0x2f5ead,this['_eventService']=_0x472620,this[_0x307276(0x136)]=_0x48a7af,this[_0x307276(0x423)]=_0x383495,this[_0x307276(0x332)]=_0x3a2c94,this['_permissionService']=_0x4b5044,this['_singleActiveUnitService']=_0x100fe9,this[_0x307276(0x1e7)]=_0xf01b31,_0x158768(this,_0x307276(0x273),new _0x4ea2bc[(_0x307276(0x319))](null)),_0x158768(this,_0x307276(0x1ab),this[_0x307276(0x273)][_0x307276(0x2bd)]()),_0x158768(this,'_state',void 0x0),_0x158768(this,_0x307276(0x403),!0x1),_0x158768(this,'_changesetSessionId',''),_0x158768(this,_0x307276(0x3fc),0x0),_0x158768(this,'status$',this[_0x307276(0x1ab)][_0x307276(0x12f)]((0x0,_0x4ea2bc[_0x307276(0x312)])(_0x379ee3=>_0x379ee3?_0x379ee3[_0x307276(0x18e)]:_0x259f7c[_0x307276(0x234)]),(0x0,_0x4ea2bc[_0x307276(0x15e)])(0x1))),_0x158768(this,_0x307276(0x35d),!0x1),_0x158768(this,_0x307276(0x328),[]);}async[_0x582532(0x232)](){const _0x2d5cbf=_0x582532;if(this[_0x2d5cbf(0x119)])throw Error(_0x2d5cbf(0x399));await this[_0x2d5cbf(0x36f)]();}[_0x582532(0x397)](){const _0x186e19=_0x582532;return this[_0x186e19(0x403)]=!0x0,(0x0,_0x21f9b6[_0x186e19(0x2ed)])(()=>{const _0x18fbe3=_0x186e19;this[_0x18fbe3(0x403)]=!0x1,this[_0x18fbe3(0x288)]();});}[_0x582532(0x353)](_0x11bc01){this['_onLocalMutation'](_0x11bc01);}[_0x582532(0x1bb)](_0x401e0c){const _0x2e9e2a=_0x582532;this[_0x2e9e2a(0x26b)]=_0x401e0c,this[_0x2e9e2a(0x273)][_0x2e9e2a(0x270)](_0x401e0c);}async[_0x582532(0x36f)](){const _0x37363e=_0x582532;if(this['_updateState'](await this['_createInitialState']()),this[_0x37363e(0x3e7)]){var _0x3ffc3b;(_0x3ffc3b=this[_0x37363e(0x3e7)])==null||_0x3ffc3b['editingUnit'](this[_0x37363e(0x142)]),this['disposeWithMe'](this[_0x37363e(0x3e7)][_0x37363e(0x2a8)](this[_0x37363e(0x142)])[_0x37363e(0x237)](_0x27bf2a=>{const _0x1b53bf=_0x37363e;this[_0x1b53bf(0x423)][_0x1b53bf(0x2b1)](_0x1b53bf(0x19f),_0x1b53bf(0x31a),_0x27bf2a),_0x27bf2a===_0x5e2f10['OTHER_CLIENTS_EDITING']?(this[_0x1b53bf(0x133)][_0x1b53bf(0x121)]({'id':_0x214ddb['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x1b53bf(0x122)](new _0x17b170[(_0x1b53bf(0x34e))](this[_0x1b53bf(0x142)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x1b53bf(0x3bb)][_0x1b53bf(0x122)](new _0x17b170[(_0x1b53bf(0x34e))](this[_0x1b53bf(0x142)])['id'],!0x0),this[_0x1b53bf(0x3bb)][_0x1b53bf(0x188)](!0x0));}));}let _0x4a9604=!0x1;return this[_0x37363e(0x1b5)](this[_0x37363e(0x3a3)][_0x37363e(0x210)][_0x37363e(0x237)](_0x2df962=>{const _0x611f69=_0x37363e;_0x2df962===_0x42d806[_0x611f69(0x3da)]?this['_toggleOnline'](_0x4a9604):_0x2df962===_0x42d806[_0x611f69(0x234)]&&(_0x4a9604=!0x0,this[_0x611f69(0x39c)]());})),this[_0x37363e(0x1b5)](this[_0x37363e(0x3a3)]['event$'][_0x37363e(0x237)](_0x171d9a=>{const _0x39fc32=_0x37363e;try{switch(_0x171d9a[_0x39fc32(0x23e)]){case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x30f)]:this['_onRemoteChangeset']((0x0,_0xba6f9e[_0x39fc32(0x14d)])(_0x171d9a['data']));break;case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x161)]:this['_onRemoteACK'](_0x171d9a[_0x39fc32(0x163)]);break;case _0xba6f9e[_0x39fc32(0x417)][_0x39fc32(0x299)]:this[_0x39fc32(0x3de)]();break;case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x2ec)]:this[_0x39fc32(0x408)](_0x171d9a[_0x39fc32(0x163)]);break;case _0xba6f9e[_0x39fc32(0x417)][_0x39fc32(0x392)]:this['_onFetchMissResult'](_0x171d9a['data'][_0x39fc32(0x3ac)]['map'](_0x123b1e=>(0x0,_0xba6f9e[_0x39fc32(0x14d)])(_0x123b1e)));break;case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x204)]:this[_0x39fc32(0x3de)]({'isPermissionRej':!0x0});break;case _0xba6f9e[_0x39fc32(0x417)][_0x39fc32(0x275)]:break;}}catch(_0x431280){throw console[_0x39fc32(0x171)]('Error\x20on\x20receiving\x20event',_0x431280),_0x431280;}})),this[_0x37363e(0x26b)];}[_0x582532(0x187)](){const _0x46e37e=_0x582532;this[_0x46e37e(0x35d)]=!0x1;}[_0x582532(0x3aa)](){const _0x5c85b5=_0x582532;if(this[_0x5c85b5(0x35d)])throw Error(_0x5c85b5(0x217));this[_0x5c85b5(0x35d)]=!0x0;}[_0x582532(0x18b)](_0x26630a){const _0x188fc4=_0x582532;this['_lockTransition'](),this[_0x188fc4(0x1bb)](this[_0x188fc4(0x26b)][_0x188fc4(0x167)](_0x26630a)),this[_0x188fc4(0x187)]();}[_0x582532(0x3ef)](_0x42340a){const _0x3aa2ab=_0x582532;if(!(_0x42340a[_0x3aa2ab(0x1e5)]<=this[_0x3aa2ab(0x262)]['getCurrentRevOfUnit'](this[_0x3aa2ab(0x142)]))){if(this[_0x3aa2ab(0x403)]){this['_remoteChangesetQueue']['push'](_0x42340a);return;}this[_0x3aa2ab(0x141)](_0x42340a);}}[_0x582532(0x288)](){const _0xab48f2=_0x582532;this['_remoteChangesetQueue'][_0xab48f2(0x2c3)](_0x43462b=>this[_0xab48f2(0x141)](_0x43462b)),this['_remoteChangesetQueue']=[];}[_0x582532(0x141)](_0x36d493){const _0xac0e7b=_0x582532;let _0x25b3d8=this['_compressMutationService']['interceptor'][_0xac0e7b(0x26f)](this['_compressMutationService'][_0xac0e7b(0x3d7)][_0xac0e7b(0x39d)]()[_0xac0e7b(0x162)])(_0x36d493[_0xac0e7b(0x393)],null)||_0x36d493['mutations'],_0xf754fb={..._0x36d493,'mutations':_0x25b3d8};this['_lockTransition'](),this[_0xac0e7b(0x1bb)](this['_state'][_0xac0e7b(0x42e)](_0xf754fb)),this[_0xac0e7b(0x187)]();}[_0x582532(0x175)](_0x336e6c){const _0x4b0dc8=_0x582532;this[_0x4b0dc8(0x3aa)](),this['_updateState'](this[_0x4b0dc8(0x26b)]['onRemoteAck'](_0x336e6c)),this['_unlockTransition']();}['_onRemoteRejected'](_0x569511){const _0x5430c5=_0x582532;this[_0x5430c5(0x3aa)](),this['_updateState'](this['_state'][_0x5430c5(0x1e3)](_0x569511)),this['_unlockTransition']();}[_0x582532(0x408)](_0x4bacd4){const _0x7d2834=_0x582532;this[_0x7d2834(0x3aa)](),this[_0x7d2834(0x1bb)](this['_state'][_0x7d2834(0x3ba)](_0x4bacd4)),this[_0x7d2834(0x187)]();}[_0x582532(0x1c4)](_0x17dd99){const _0x53161a=_0x582532;if(!(this[_0x53161a(0x26b)]instanceof _0x231f53))throw TypeError(_0x53161a(0x431));let _0x31772a=_0x17dd99[_0x53161a(0x312)](_0x215dc2=>{const _0x5538ee=_0x53161a;let _0x5ed240=this['_compressMutationService'][_0x5538ee(0x3d7)][_0x5538ee(0x26f)](this['_compressMutationService'][_0x5538ee(0x3d7)]['getInterceptPoints']()[_0x5538ee(0x162)])(_0x215dc2[_0x5538ee(0x393)],null)||_0x215dc2[_0x5538ee(0x393)];return{..._0x215dc2,'mutations':_0x5ed240};});this['_lockTransition'](),this[_0x53161a(0x1bb)](this['_state'][_0x53161a(0x206)](_0x31772a)),this[_0x53161a(0x187)]();}[_0x582532(0x39c)](){const _0x438f21=_0x582532;this[_0x438f21(0x3aa)](),this[_0x438f21(0x1bb)](this[_0x438f21(0x26b)][_0x438f21(0x3ee)]()),this[_0x438f21(0x187)]();}[_0x582532(0x17d)](_0x472ae7=!0x1){const _0x20e23d=_0x582532;this[_0x20e23d(0x3aa)](),this[_0x20e23d(0x1bb)](this['_state'][_0x20e23d(0x3f9)]()),this[_0x20e23d(0x187)]();let _0x30212b=this[_0x20e23d(0x26b)];_0x472ae7&&_0x30212b instanceof _0x51c4b3&&(this[_0x20e23d(0x3aa)](),this[_0x20e23d(0x1bb)](_0x30212b[_0x20e23d(0x3eb)]()),this[_0x20e23d(0x187)]());}async[_0x582532(0x2fc)](){return new Promise(_0x2a4efd=>{const _0x2f9c0c=_0x1dac;this[_0x2f9c0c(0x3a3)][_0x2f9c0c(0x210)][_0x2f9c0c(0x12f)]((0x0,_0x4ea2bc[_0x2f9c0c(0x2d4)])(0x1))[_0x2f9c0c(0x237)](async _0x1d923e=>{const _0x3349a4=_0x2f9c0c;_0x2a4efd(await this['_createInitialStateImpl'](_0x1d923e===_0x42d806[_0x3349a4(0x3da)]));});});}[_0x582532(0x41a)](){const _0x3002f5=_0x582532;let _0x31dbab=this[_0x3002f5(0x142)];return{'onStateChange':(_0x128359,_0x276472)=>{const _0x33b240=_0x3002f5;if(_0x128359!==this[_0x33b240(0x26b)])throw Error(_0x33b240(0x19c)+_0x128359['status']+'\x0aAfter:\x20'+_0x276472[_0x33b240(0x18e)]+'\x0aCurrent:\x20'+this['_state']['status']);this[_0x33b240(0x1bb)](_0x276472);},'onSendChangeset':_0x35370d=>{const _0x2bb793=_0x3002f5;_0x35370d[_0x2bb793(0x1dc)]||(_0x35370d[_0x2bb793(0x1dc)]=this[_0x2bb793(0x229)],_0x35370d['reqId']=++this[_0x2bb793(0x3fc)]);let _0x4822a0={'eventID':_0xba6f9e[_0x2bb793(0x417)][_0x2bb793(0x1f8)],'data':{'unitID':_0x35370d[_0x2bb793(0x142)],'unitType':this['_type'],'changeset':_0x35370d,'memberID':this[_0x2bb793(0x3a3)]['getMemberID']()}};this['session'][_0x2bb793(0x311)](_0x4822a0,this[_0x2bb793(0x142)]);},'onMissingChangesets':({from:_0x516c72,to:_0x4f8067})=>{const _0x4b9f60=_0x3002f5;this[_0x4b9f60(0x423)]['debug'](_0x4b9f60(0x19f),_0x4b9f60(0x12a)+_0x516c72+'\x20to\x20'+_0x4f8067);let _0x39a23e={'eventID':_0xba6f9e[_0x4b9f60(0x417)]['FETCH_MISSING'],'data':{'unitID':_0x31dbab,'unitType':this['_type'],'from':_0x516c72,'to':_0x4f8067}};this[_0x4b9f60(0x3a3)][_0x4b9f60(0x311)](_0x39a23e,this[_0x4b9f60(0x142)]);}};}async[_0x582532(0x2b6)](_0x503ee7){const _0x27e280=_0x582532;var _0x37ad70,_0x20eb7b,_0x4c3ab0;let _0x5e64c2=await((_0x37ad70=this['_localCacheService'])==null?void 0x0:_0x37ad70[_0x27e280(0x1a7)](this[_0x27e280(0x142)])),_0x281145=(_0x20eb7b=_0x5e64c2==null?void 0x0:_0x5e64c2[_0x27e280(0x393)])==null?[]:_0x20eb7b,_0x2ed360=(_0x4c3ab0=_0x5e64c2==null?void 0x0:_0x5e64c2[_0x27e280(0x343)])==null?null:_0x4c3ab0,_0x3302b6=!!(_0x2ed360!=null&&_0x2ed360['sid'])&&!!(_0x2ed360!=null&&_0x2ed360[_0x27e280(0x37d)]);this[_0x27e280(0x229)]=_0x3302b6?_0x2ed360['sid']:(0x0,_0xba6f9e['uuidv4'])(),this[_0x27e280(0x3fc)]=_0x3302b6?_0x2ed360[_0x27e280(0x37d)]:0x0;let _0x29d98f=this[_0x27e280(0x142)];try{this['_replayCachedMutations'](_0x2ed360,_0x281145);}catch(_0x5e2559){this[_0x27e280(0x423)][_0x27e280(0x171)](_0x5e2559);}let _0x1b1bab=this['_createHandler']();if(_0x503ee7){let _0x39ce01=_0xb3493c(this['_injector'],_0x29d98f,this[_0x27e280(0x20b)],_0x2ed360,_0x281145,_0x1b1bab);return _0x39ce01 instanceof _0x348615?_0x39ce01[_0x27e280(0x2ae)]():(_0x39ce01 instanceof _0x548b22||_0x39ce01 instanceof _0x4cb993)&&_0x39ce01[_0x27e280(0x132)](),_0x39ce01;}return this[_0x27e280(0x279)]['createInstance'](_0x23f8dc,_0x29d98f,this['_type'],_0x2ed360,_0x281145,_0x1b1bab);}['_replayCachedMutations'](_0x378041,_0x76d9cf){const _0x10575c=_0x582532;var _0x420591,_0x49d536;let _0x38f89b=this[_0x10575c(0x418)]['interceptor'][_0x10575c(0x26f)](this[_0x10575c(0x418)][_0x10575c(0x3d7)][_0x10575c(0x39d)]()['COMPRESS_MUTATION_APPLY']);(_0x420591=_0x38f89b((_0x378041==null?void 0x0:_0x378041[_0x10575c(0x393)])||[],null))==null||_0x420591['forEach'](_0x21b9d0=>this[_0x10575c(0x332)][_0x10575c(0x1ee)](_0x21b9d0['id'],_0x21b9d0[_0x10575c(0x2c1)])),(_0x49d536=_0x38f89b(_0x76d9cf||[],null))==null||_0x49d536[_0x10575c(0x2c3)](_0x56cc4d=>this[_0x10575c(0x332)]['executeCommand'](_0x56cc4d['id'],_0x56cc4d['params']));}};_0x20db3d=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x29c)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x263)])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e['RevisionService'])),_0x385b9b(0x7,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0xb,_0x21f9b6['IPermissionService']),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x4ada3c)),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x20db3d);let _0xd1a0d8=class extends _0x20db3d{constructor(_0x10f124,_0x169208,_0x5f1b6d,_0x42aa08,_0x5bdcfa,_0x125779,_0x481f88,_0x5d941e,_0x1a953e,_0x314a42,_0x28230d,_0x103922,_0x17fb6d,_0x59804e){const _0x968c6a=_0x582532;super(_0x10f124,_0x5f1b6d,_0x169208,_0x42aa08,_0x5bdcfa,_0x125779,_0x481f88,_0x5d941e,_0x1a953e,_0x314a42,_0x28230d,_0x103922,_0x17fb6d,_0x59804e),this['unitID']=_0x10f124,this[_0x968c6a(0x1a4)]=_0x169208,_0x158768(this,_0x968c6a(0x1f4),null);}[_0x582532(0x1ed)](_0x3cdb81){const _0x27b06e=_0x582532;this[_0x27b06e(0x1f4)]=_0x3cdb81;}['dispose'](){const _0x3e57db=_0x582532;this[_0x3e57db(0x1f4)]=null,super[_0x3e57db(0x2ab)]();}[_0x582532(0x41a)](){const _0x35160a=_0x582532;let _0x31e4ea=super[_0x35160a(0x41a)]();return _0x31e4ea['onTransformIME']=_0x83cfb2=>{const _0x5ba091=_0x35160a;var _0x23da4b,_0x461fe8;return(_0x23da4b=this[_0x5ba091(0x1f4)])==null||(_0x461fe8=_0x23da4b[_0x5ba091(0x35e)])==null?void 0x0:_0x461fe8[_0x5ba091(0x2f1)](_0x23da4b,_0x83cfb2);},_0x31e4ea[_0x35160a(0x396)]=_0x454835=>{const _0x2a74b1=_0x35160a;var _0x3a5c6e,_0x10ca4f;return(_0x3a5c6e=this[_0x2a74b1(0x1f4)])==null||(_0x10ca4f=_0x3a5c6e[_0x2a74b1(0x396)])==null?void 0x0:_0x10ca4f[_0x2a74b1(0x2f1)](_0x3a5c6e,_0x454835);},_0x31e4ea[_0x35160a(0x138)]=_0x2daf09=>{const _0x1d0548=_0x35160a;var _0x504162,_0x5423ee;return(_0x504162=this[_0x1d0548(0x1f4)])==null||(_0x5423ee=_0x504162[_0x1d0548(0x138)])==null?void 0x0:_0x5423ee[_0x1d0548(0x2f1)](_0x504162,_0x2daf09);},_0x31e4ea[_0x35160a(0x3d5)]=_0x2c5b52=>{const _0x3eed36=_0x35160a;var _0x5a25cb,_0x298cc3;return(_0x5a25cb=this[_0x3eed36(0x1f4)])==null||(_0x298cc3=_0x5a25cb[_0x3eed36(0x3d5)])==null?void 0x0:_0x298cc3[_0x3eed36(0x2f1)](_0x5a25cb,_0x2c5b52);},_0x31e4ea[_0x35160a(0x40b)]=_0x1313d8=>{const _0x2a2136=_0x35160a;var _0x4651e8,_0x466d6b,_0x119823;if(!((_0x4651e8=this[_0x2a2136(0x1f4)])!=null&&_0x4651e8[_0x2a2136(0x40b)]))throw Error(_0x2a2136(0x27a));return(_0x466d6b=this[_0x2a2136(0x1f4)])==null||(_0x119823=_0x466d6b['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x119823[_0x2a2136(0x2f1)](_0x466d6b,_0x1313d8);},_0x31e4ea[_0x35160a(0x291)]=_0x223927=>{const _0x4ffbc5=_0x35160a;var _0x45a768,_0xc150f8,_0x4099e4;if(!((_0x45a768=this['_handlerCallback'])!=null&&_0x45a768[_0x4ffbc5(0x291)]))throw Error(_0x4ffbc5(0x2f2));return(_0xc150f8=this[_0x4ffbc5(0x1f4)])==null||(_0x4099e4=_0xc150f8[_0x4ffbc5(0x291)])==null?void 0x0:_0x4099e4[_0x4ffbc5(0x2f1)](_0xc150f8,_0x223927);},_0x31e4ea;}async[_0x582532(0x36f)](){const _0x46ef09=_0x582532;let _0x59ce32=await super[_0x46ef09(0x36f)]();return this['disposeWithMe'](this[_0x46ef09(0x332)][_0x46ef09(0x139)]((_0xe3338f,_0x1aa7aa)=>{const _0x26e996=_0x46ef09;if(_0xe3338f[_0x26e996(0x1a4)]!==_0x21f9b6[_0x26e996(0x276)]['MUTATION']||_0x1aa7aa!=null&&_0x1aa7aa[_0x26e996(0x1eb)]||_0x1aa7aa!=null&&_0x1aa7aa[_0x26e996(0x1c5)]||_0xe3338f['id']===_0x1444ec[_0x26e996(0x1ff)]['id'])return;let _0x417bfd=_0xe3338f[_0x26e996(0x2c1)];if((_0x417bfd==null?void 0x0:_0x417bfd[_0x26e996(0x415)])!==this[_0x26e996(0x142)])return;let _0x4aa6e3=_0xe3338f,_0x42a8bd=this[_0x26e996(0x418)]['interceptor']['fetchThroughInterceptors'](this[_0x26e996(0x418)][_0x26e996(0x3d7)][_0x26e996(0x39d)]()[_0x26e996(0x2f5)])([_0x4aa6e3],this[_0x26e996(0x136)])||[_0x4aa6e3];this[_0x26e996(0x18b)](_0x42a8bd[0x0]);})),_0x59ce32;}};_0xd1a0d8=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x29c)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6['LocaleService'])),_0x385b9b(0x6,(0x0,_0x21f9b6['Inject'])(_0xba6f9e['RevisionService'])),_0x385b9b(0x7,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0x21f9b6['ICommandService']),_0x385b9b(0xb,_0x21f9b6['IPermissionService']),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x4ada3c)),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0xd1a0d8);let _0x33b45e=class extends _0x20db3d{constructor(_0xc4a590,_0x2e2468,_0xcaa88,_0x3efb95,_0x223014,_0x3d30dc,_0xf1e1c9,_0x50c931,_0xdf2647,_0x3e9b2f,_0x256650,_0x30bf3e,_0x2dc0e8,_0x1d95be,_0x534efc){const _0x311c7c=_0x582532;super(_0xc4a590,_0xcaa88,_0x2e2468,_0x3efb95,_0x223014,_0x3d30dc,_0xf1e1c9,_0xdf2647,_0x3e9b2f,_0x256650,_0x30bf3e,_0x2dc0e8,_0x1d95be,_0x534efc),this[_0x311c7c(0x142)]=_0xc4a590,this['type']=_0x2e2468,this['_sheetTransformSelectionsService']=_0x50c931;}[_0x582532(0x41a)](){const _0x559d13=_0x582532;let _0x3f8616=super[_0x559d13(0x41a)]();return _0x3f8616['onTransformSelections']=_0x210f73=>this[_0x559d13(0x2c4)][_0x559d13(0x3ff)](_0x210f73),_0x3f8616;}async['_init'](){const _0x8eb4eb=_0x582532;let _0x113bd8=await super[_0x8eb4eb(0x36f)]();return this[_0x8eb4eb(0x1b5)](this[_0x8eb4eb(0x332)][_0x8eb4eb(0x139)]((_0x3a20fa,_0x2e714e)=>{const _0x4b40e7=_0x8eb4eb;if(_0x3a20fa['type']!==_0x21f9b6[_0x4b40e7(0x276)][_0x4b40e7(0x3c5)]||_0x2e714e!=null&&_0x2e714e['fromCollab']||_0x2e714e!=null&&_0x2e714e['onlyLocal'])return;let _0x32b5bb=_0x3a20fa[_0x4b40e7(0x2c1)];if((_0x32b5bb==null?void 0x0:_0x32b5bb['unitId'])!==this[_0x4b40e7(0x142)])return;let _0x1b6823=_0x3a20fa,_0x5d71fa=this[_0x4b40e7(0x418)][_0x4b40e7(0x3d7)][_0x4b40e7(0x26f)](this['_compressMutationService'][_0x4b40e7(0x3d7)][_0x4b40e7(0x39d)]()[_0x4b40e7(0x2f5)])([_0x1b6823],this[_0x4b40e7(0x136)])||[_0x1b6823];this[_0x4b40e7(0x18b)](_0x5d71fa[0x0]);})),_0x113bd8;}};_0x33b45e=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x29c)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x263)])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x43e293)),_0x385b9b(0x8,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x49c645)),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0xa,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xb,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0xc,_0x21f9b6[_0x582532(0x350)]),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x4ada3c)),_0x385b9b(0xe,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x33b45e);let _0x3cb508=(0x0,_0x21f9b6[_0x582532(0x1aa)])('univer-pro.collaboration-client.network-condition.service');function _0x8921cb(_0x385c33){const _0x42e667=_0x582532;let _0x1d69c5=_0x385c33[_0x42e667(0x163)],_0x3671af=JSON[_0x42e667(0x286)](_0x1d69c5);switch(_0x3671af[_0x42e667(0x13e)]){case _0x4d42e2[_0x42e667(0x160)]['HEARTBEAT']:case _0x4d42e2[_0x42e667(0x160)][_0x42e667(0x147)]:{let _0x37fff0=_0x3671af[_0x42e667(0x17a)];return{..._0x3671af,'data':_0x37fff0,'cmd':_0x3671af['cmd']};}case _0x4d42e2['CombCmd'][_0x42e667(0x2de)]:{let _0x43e4a6=_0x3671af[_0x42e667(0x2fd)];return{..._0x3671af,'data':_0x43e4a6,'cmd':_0x3671af[_0x42e667(0x13e)]};}case _0x4d42e2['CombCmd'][_0x42e667(0x2b2)]:{let _0x5b7a8a=_0x3671af[_0x42e667(0x3ec)];switch(_0x5b7a8a[_0x42e667(0x23e)]){case _0xba6f9e['CollaborationEvent'][_0x42e667(0x204)]:var _0x4d7f46;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x4d7f46=_0x5b7a8a[_0x42e667(0x3e0)])==null?void 0x0:_0x4d7f46['cs']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)]['CHANGESET_ACK']:var _0x3eccc3;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x3eccc3=_0x5b7a8a['csAckEvent'])==null?void 0x0:_0x3eccc3['cs']},'cmd':_0x3671af['cmd']};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x30f)]:var _0x50ce85;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x50ce85=_0x5b7a8a['newCsEvent'])==null?void 0x0:_0x50ce85['cs']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x299)]:var _0x596b98;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x596b98=_0x5b7a8a['csRejEvent'])==null?void 0x0:_0x596b98['cs']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x2ec)]:var _0x1efbf2;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x1efbf2=_0x5b7a8a['csShouldRetryEvent'])==null?void 0x0:_0x1efbf2['cs']},'cmd':_0x3671af['cmd']};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x297)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x280)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x18c)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x338)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x296)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x1b7)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x42b)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x16a)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e['CollaborationEvent'][_0x42e667(0x3ae)]:case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x267)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a['liveShareOperation']},'cmd':_0x3671af['cmd']};case _0xba6f9e[_0x42e667(0x417)]['LIVESHARE_TERMINATE']:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x16a)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x40a)]:return{..._0x3671af,'data':_0x5b7a8a,'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x390)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x277)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x264)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x434)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)]['SHOULD_CLOSE_CONN']:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a['shouldCloseConn']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)]['UNISCRIPT_RUN']:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x2ad)]},'cmd':_0x3671af[_0x42e667(0x13e)]};default:return _0x3671af;}}default:return _0x3671af;}}function _0x16a106(_0x1c0dc8){const _0x256211=_0x582532;switch(_0x1c0dc8['cmd']){case _0x4d42e2[_0x256211(0x160)]['HEARTBEAT']:case _0x4d42e2[_0x256211(0x160)][_0x256211(0x147)]:return JSON['stringify']({'cmd':_0x1c0dc8[_0x256211(0x13e)],'routeKey':_0x1c0dc8['routeKey']});case _0x4d42e2['CombCmd'][_0x256211(0x12d)]:{let _0x1e2f9f;switch(_0x1c0dc8[_0x256211(0x163)][_0x256211(0x23e)]){case _0xba6f9e[_0x256211(0x417)][_0x256211(0x297)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)]['UPDATE_CURSOR'],'updateCursorEvent':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x296)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x296)],'leaveEvent':_0x1c0dc8[_0x256211(0x163)]['data']};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x18c)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x18c)],'joinEvent':_0x1c0dc8['data'][_0x256211(0x163)]};break;case _0xba6f9e['CollaborationEvent']['LIVESHARE_NEW_HOST']:_0x1e2f9f={'eventID':_0xba6f9e['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1c0dc8['data']['data']};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x267)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x267)],'liveShareOperation':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)]['LIVESHARE_TERMINATE']:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x1cd)],'liveShareTerminate':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x359)]:_0x1e2f9f={'eventID':_0xba6f9e['CollaborationEvent'][_0x256211(0x359)],'liveShareRequestHost':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x3ae)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x3ae)]};break;default:_0x1e2f9f={'eventID':_0x1c0dc8[_0x256211(0x163)]['eventID']};}return JSON[_0x256211(0x29e)]({'cmd':_0x1c0dc8[_0x256211(0x13e)],'routeKey':_0x1c0dc8[_0x256211(0x3e8)],'collaMsg':_0x1e2f9f});}case _0x4d42e2[_0x256211(0x160)][_0x256211(0x2de)]:return JSON[_0x256211(0x29e)]({'cmd':_0x1c0dc8['cmd'],'routeKey':_0x1c0dc8[_0x256211(0x3e8)],'joinReq':_0x1c0dc8['data']});case _0x4d42e2[_0x256211(0x160)][_0x256211(0x25c)]:return JSON['stringify']({'cmd':_0x1c0dc8[_0x256211(0x13e)],'routeKey':_0x1c0dc8[_0x256211(0x3e8)],'leaveReq':_0x1c0dc8[_0x256211(0x163)]});default:throw Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}let _0x1b8f90=(0x0,_0x21f9b6[_0x582532(0x1aa)])(_0x582532(0x3dc));function _0x24b777(_0x376e03,_0x2fc268,_0x12a2ea){const _0x193c97=_0x582532;return _0x376e03+'/'+_0x2fc268+_0x193c97(0x11e)+_0x12a2ea+'/new_changes';}let _0xc1659c=class extends _0x21f9b6[_0x582532(0x183)]{constructor(_0x199150,_0x527888,_0x2b584d,_0xbbc32a,_0x3bcb7d){const _0x964504=_0x582532;super(),this[_0x964504(0x279)]=_0x199150,this[_0x964504(0x195)]=_0x527888,this[_0x964504(0x3b0)]=_0x2b584d,this['_logService']=_0xbbc32a,this[_0x964504(0x2cb)]=_0x3bcb7d;}[_0x582532(0x1a2)](_0x19031d){const _0x556ba4=_0x582532;let _0x529db8=this[_0x556ba4(0x279)][_0x556ba4(0x19e)](_0xf4c2fc[_0x556ba4(0x298)]);if(!_0x529db8)throw Error(_0x556ba4(0x25a));let _0xe4d533=_0x529db8[_0x556ba4(0x222)](_0x19031d);if(!_0xe4d533)throw Error(_0x556ba4(0x169));let _0x249a19=new _0x21f9b6['DisposableCollection'](),_0x181336=new _0x4ea2bc[(_0x556ba4(0x321))]();_0x249a19[_0x556ba4(0x3ad)](_0xe4d533['close$'][_0x556ba4(0x237)](_0x3c07fe=>_0x181336[_0x556ba4(0x270)](_0x3c07fe))),_0x249a19[_0x556ba4(0x3ad)]((0x0,_0x21f9b6[_0x556ba4(0x2ed)])(()=>_0x181336[_0x556ba4(0x159)]()));let _0x52914d=new _0x4ea2bc[(_0x556ba4(0x321))]();_0x249a19[_0x556ba4(0x3ad)](_0xe4d533['error$'][_0x556ba4(0x237)](_0x1b37b2=>_0x52914d[_0x556ba4(0x270)](_0x1b37b2))),_0x249a19['add']((0x0,_0x21f9b6['toDisposable'])(()=>_0x52914d['complete']()));let _0x58a414=new _0x4ea2bc['Subject']();_0x249a19['add'](_0xe4d533['message$'][_0x556ba4(0x237)](_0xb4b92a=>{const _0x329b9a=_0x556ba4;let _0x45de10=_0x8921cb(_0xb4b92a);_0x58a414[_0x329b9a(0x270)](_0x45de10);})),_0x249a19[_0x556ba4(0x3ad)]((0x0,_0x21f9b6[_0x556ba4(0x2ed)])(()=>_0x58a414[_0x556ba4(0x159)]()));let _0x353b08,_0x4cb60b=()=>{const _0xc9bcee=_0x556ba4;_0x52914d[_0xc9bcee(0x270)](new Event(_0xc9bcee(0x344))),_0x181336['next'](new Event(_0xc9bcee(0x344))),_0x353b08[_0xc9bcee(0x198)]();};return _0x353b08={'memberID':'','close$':_0x181336[_0x556ba4(0x2bd)](),'error$':_0x52914d[_0x556ba4(0x2bd)](),'open$':_0xe4d533['open$'],'message$':_0x58a414[_0x556ba4(0x2bd)](),'send':_0x3464b3=>{const _0x24e645=_0x556ba4;if(_0x3464b3[_0x24e645(0x13e)]===_0x4d42e2[_0x24e645(0x160)][_0x24e645(0x12d)]){if(_0x3464b3['data']['eventID']===_0xba6f9e[_0x24e645(0x417)][_0x24e645(0x1f8)]){this[_0x24e645(0x158)](_0x353b08,_0x3464b3[_0x24e645(0x163)])[_0x24e645(0x192)](_0x2431ba=>{const _0x2bc1e6=_0x24e645;this['_logService'][_0x2bc1e6(0x171)](_0x2431ba),_0x4cb60b();});return;}if(_0x3464b3[_0x24e645(0x163)][_0x24e645(0x23e)]===_0xba6f9e['CollaborationEvent'][_0x24e645(0x153)]){let _0x21355d=_0x3464b3[_0x24e645(0x163)];this[_0x24e645(0x2af)](_0x21355d)['then'](_0x4fe1c8=>{const _0x35c49b=_0x24e645;_0x58a414[_0x35c49b(0x270)]({'cmd':_0x4d42e2[_0x35c49b(0x160)]['RECV'],'code':_0x4d42e2[_0x35c49b(0x13c)]['OK'],'routeKey':_0x21355d['data']['unitID'],'routeType':'','data':{'eventID':_0xba6f9e[_0x35c49b(0x417)][_0x35c49b(0x392)],'data':{'changesets':_0x4fe1c8}}});})['catch'](_0x3d1f29=>{const _0x4842e1=_0x24e645;this['_logService'][_0x4842e1(0x171)](_0x3d1f29),_0x4cb60b();});return;}}_0xe4d533[_0x24e645(0x311)](_0x16a106(_0x3464b3));},'close':()=>{const _0xf2094d=_0x556ba4;_0xe4d533[_0xf2094d(0x198)](),_0x249a19[_0xf2094d(0x2ab)]();}},_0x353b08;}async[_0x582532(0x158)](_0x25db4e,_0x479b09){const _0x58f5c6=_0x582532;var _0x55011d;let {unitType:_0x446821,unitID:_0x3a8b29,changeset:_0xce152}=_0x479b09['data'],_0x4dcd47={'unitID':_0x3a8b29,'memberID':_0x25db4e[_0x58f5c6(0x208)],'type':_0x446821,'changeset':(0x0,_0xba6f9e[_0x58f5c6(0x1fc)])(_0xce152)},_0x306f95=this['_configService']['getConfig'](_0x3b7e3d),_0x300e8a=_0x24b777((_0x55011d=_0x306f95==null?void 0x0:_0x306f95['collabSubmitChangesetUrl'])==null?_0x58f5c6(0x369):_0x55011d,_0x446821,_0x3a8b29);try{await this[_0x58f5c6(0x195)][_0x58f5c6(0x370)](_0x300e8a,{'body':_0x4dcd47});}catch(_0x2a8e95){throw this[_0x58f5c6(0x423)][_0x58f5c6(0x171)](_0x58f5c6(0x3f2),'submit\x20changeset\x20error!'),_0x2a8e95;}}async[_0x582532(0x2af)](_0x48a9a4){const _0x5635e7=_0x582532;let {unitID:_0x1c7e86,from:_0x5155ea,to:_0x5657b7,unitType:_0x1ad323}=_0x48a9a4[_0x5635e7(0x163)];return(await this[_0x5635e7(0x2cb)][_0x5635e7(0x176)]({'metadata':void 0x0},{'unitID':_0x1c7e86,'type':_0x1ad323,'from':_0x5155ea,'to':_0x5657b7}))['changesets']['map'](_0x1576f6=>((_0x1576f6[_0x5635e7(0x393)]===null||_0x1576f6[_0x5635e7(0x393)]===void 0x0)&&(_0x1576f6[_0x5635e7(0x393)]=[]),_0x1576f6));}};_0xc1659c=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,(0x0,_0x21f9b6['Inject'])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x3,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x4,_0xba6f9e[_0x582532(0x349)])],_0xc1659c);let _0x457933=class extends _0x21f9b6[_0x582532(0x183)]{get[_0x582532(0x2f0)](){const _0x316d4d=_0x582532;return this['_socket$'][_0x316d4d(0x308)]();}constructor(_0x274e47,_0x156621,_0x16a7d9,_0x19677d,_0x17c6f6,_0x330429){const _0xfa7362=_0x582532;super(),this['_injector']=_0x274e47,this[_0xfa7362(0x423)]=_0x156621,this[_0xfa7362(0x3b0)]=_0x16a7d9,this['_socketService']=_0x19677d,this[_0xfa7362(0x2ca)]=_0x17c6f6,this['_networkConditionService']=_0x330429,_0x158768(this,_0xfa7362(0x368),new _0x4ea2bc[(_0xfa7362(0x319))](void 0x0)),_0x158768(this,_0xfa7362(0x154),this[_0xfa7362(0x368)][_0xfa7362(0x2bd)]()),_0x158768(this,_0xfa7362(0x34c),null),_0x158768(this,'_sessions',new Map()),_0x158768(this,_0xfa7362(0x421),new _0x4ea2bc[(_0xfa7362(0x319))](_0x42d806[_0xfa7362(0x334)])),_0x158768(this,'status$',this[_0xfa7362(0x421)][_0xfa7362(0x2bd)]()),_0x158768(this,'_socketReady',!0x1),_0x158768(this,_0xfa7362(0x3ed),void 0x0),_0x158768(this,_0xfa7362(0x2cc),0x0),_0x158768(this,_0xfa7362(0x1f0),void 0x0),_0x158768(this,_0xfa7362(0x36e),void 0x0),this[_0xfa7362(0x25f)]();}[_0x582532(0x25f)](){const _0x4447cf=_0x582532;this[_0x4447cf(0x239)]&&this['disposeWithMe'](this[_0x4447cf(0x239)][_0x4447cf(0x2ff)][_0x4447cf(0x237)](_0xe9096e=>{const _0x49c93e=_0x4447cf;_0xe9096e&&!this[_0x49c93e(0x2f0)]&&this[_0x49c93e(0x2f3)](),_0xe9096e||this[_0x49c93e(0x156)]();}));}[_0x582532(0x2ab)](){const _0xca7b81=_0x582532;super[_0xca7b81(0x2ab)](),this[_0xca7b81(0x143)](),this[_0xca7b81(0x2eb)](),this[_0xca7b81(0x168)](),this[_0xca7b81(0x329)][_0xca7b81(0x2c3)](_0x6026fc=>_0x6026fc[_0xca7b81(0x2ab)]()),this['_sessions']['clear'](),this[_0xca7b81(0x421)][_0xca7b81(0x159)]();}async[_0x582532(0x13a)](_0x208729){const _0x1a3f5a=_0x582532;if(this[_0x1a3f5a(0x329)][_0x1a3f5a(0x2e9)](_0x208729))return this['_sessions']['get'](_0x208729);this[_0x1a3f5a(0x1ca)]();let _0x4e66db=this[_0x1a3f5a(0x279)][_0x1a3f5a(0x327)](_0x172cb0,_0x208729,this[_0x1a3f5a(0x368)]['asObservable']());return this[_0x1a3f5a(0x329)][_0x1a3f5a(0x31e)](_0x208729,_0x4e66db),_0x4e66db;}[_0x582532(0x3b5)](_0x21865b){const _0x3d1083=_0x582532;let _0x53f6ad=this[_0x3d1083(0x329)][_0x3d1083(0x19e)](_0x21865b);if(_0x53f6ad&&(this['_sessions'][_0x3d1083(0x1b0)](_0x21865b),_0x53f6ad['close']()),!this[_0x3d1083(0x329)][_0x3d1083(0x186)]){var _0x2b8767;(_0x2b8767=this['_socket'])==null||_0x2b8767['close']();}}[_0x582532(0x2f3)](){const _0x1ce214=_0x582532;this[_0x1ce214(0x2cc)]=0x0,this[_0x1ce214(0x143)](),this[_0x1ce214(0x231)]();}[_0x582532(0x143)](){const _0x5a8e9a=_0x582532;this[_0x5a8e9a(0x3ed)]!=null&&(clearTimeout(this[_0x5a8e9a(0x3ed)]),this['_retryConnectingTimer']=null);}async[_0x582532(0x1a9)](){const _0x18d727=_0x582532;var _0x551242;let _0x3f2f63=this['_configService'][_0x18d727(0x2ba)](_0x3b7e3d),_0x20d39f=(_0x551242=_0x3f2f63==null?void 0x0:_0x3f2f63['collabWebSocketUrl'])==null?_0x107e87:_0x551242,_0x118078=await this['_socketService'][_0x18d727(0x222)](_0x20d39f);return this[_0x18d727(0x34c)]=_0x118078,_0x118078;}async['_tryEnsureSocket'](){const _0x3ca933=_0x582532;try{var _0x1ebc86,_0x5be31f;let _0x52a484=(_0x1ebc86=(_0x5be31f=this['_socket'])==null?this[_0x3ca933(0x34c)]:_0x5be31f)==null?await this[_0x3ca933(0x1a9)]():_0x1ebc86;if(_0x52a484){let _0x554ab8=_0x52a484[_0x3ca933(0x311)];_0x52a484['send']=_0x3653fe=>(_0x3653fe['cmd']!==_0x4d42e2[_0x3ca933(0x160)][_0x3ca933(0x25c)]&&this[_0x3ca933(0x3be)](),_0x554ab8[_0x3ca933(0x32d)](_0x52a484,[_0x3653fe])),_0x52a484[_0x3ca933(0x23c)][_0x3ca933(0x237)](_0x23ae2b=>this['_onMessage'](_0x52a484,_0x23ae2b)),_0x52a484[_0x3ca933(0x145)][_0x3ca933(0x12f)]((0x0,_0x40ad09[_0x3ca933(0x2d4)])(0x1))[_0x3ca933(0x237)](_0x5df1a4=>this[_0x3ca933(0x423)][_0x3ca933(0x171)]('[CollaborationSessionService]:\x20socket\x20error',_0x5df1a4)),_0x52a484[_0x3ca933(0x330)][_0x3ca933(0x12f)]((0x0,_0x40ad09['take'])(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x52a484);}),_0x52a484['close$']['pipe']((0x0,_0x40ad09[_0x3ca933(0x2d4)])(0x1))[_0x3ca933(0x237)](_0x1c1e5c=>{const _0x6098ea=_0x3ca933;this[_0x6098ea(0x423)][_0x6098ea(0x2b1)](_0x6098ea(0x2a1),_0x6098ea(0x25d),_0x1c1e5c),this[_0x6098ea(0x2d6)]();});}}catch(_0x3cee88){this[_0x3ca933(0x423)][_0x3ca933(0x171)](_0x3cee88),this['_onConnectionFailed']();}}[_0x582532(0x178)](_0x3d619a){const _0x24e79c=_0x582532;this[_0x24e79c(0x423)][_0x24e79c(0x2b1)](_0x24e79c(0x2a1),_0x24e79c(0x2e8)),_0x3d619a[_0x24e79c(0x311)]({'cmd':_0x4d42e2[_0x24e79c(0x160)][_0x24e79c(0x147)]}),this[_0x24e79c(0x3be)]();}[_0x582532(0x156)](){const _0x5ba959=_0x582532;this['_socketReady']=!0x1,this[_0x5ba959(0x34c)]=null,this['_status$'][_0x5ba959(0x270)](_0x42d806[_0x5ba959(0x234)]),this[_0x5ba959(0x368)]['next'](null),this[_0x5ba959(0x2eb)](),this['_clearHeartbeatTimer']();}[_0x582532(0x2d6)](){const _0xc2c44b=_0x582532;var _0x4c41d8;this[_0xc2c44b(0x156)](),this['_retryCount']<((_0x4c41d8=this[_0xc2c44b(0x3b0)][_0xc2c44b(0x2ba)]('RETRY_CONNECTING_MAX_COUNT'))==null?0x3:_0x4c41d8)?(this[_0xc2c44b(0x2ca)]['emitEvent']({'id':_0x214ddb[_0xc2c44b(0x18d)]}),this[_0xc2c44b(0x231)]()):this[_0xc2c44b(0x2ca)][_0xc2c44b(0x121)]({'id':_0x214ddb[_0xc2c44b(0x1c9)]});}[_0x582532(0x231)](){const _0x244ed0=_0x582532;var _0x1b247e;let _0x148ed3=this[_0x244ed0(0x2cc)],_0x47e147=this[_0x244ed0(0x3b0)][_0x244ed0(0x2ba)](_0x3b7e3d),_0x4298f8=_0x148ed3===0x0?0x0:((_0x1b247e=_0x47e147==null?void 0x0:_0x47e147[_0x244ed0(0x1b4)])==null?0x4e20:_0x1b247e)*0x2**_0x148ed3;this[_0x244ed0(0x3ed)]=setTimeout(()=>{const _0x109e54=_0x244ed0;clearTimeout(this['_retryConnectingTimer']),this[_0x109e54(0x3ed)]=null,this['_tryEnsureSocket']();},_0x4298f8),this[_0x244ed0(0x2cc)]+=0x1;}[_0x582532(0x1d2)](_0x2fd457,_0x321cea){const _0x2a2e96=_0x582532;let {cmd:_0x2855ec}=_0x321cea;_0x2855ec===_0x4d42e2[_0x2a2e96(0x160)][_0x2a2e96(0x147)]&&!this[_0x2a2e96(0x196)]&&(_0x2fd457[_0x2a2e96(0x208)]=_0x321cea[_0x2a2e96(0x163)][_0x2a2e96(0x208)],this['_socket$'][_0x2a2e96(0x270)](_0x2fd457),this[_0x2a2e96(0x421)][_0x2a2e96(0x270)](_0x42d806[_0x2a2e96(0x3da)]),this[_0x2a2e96(0x196)]=!0x0,this[_0x2a2e96(0x34c)]=null),_0x2855ec===_0x4d42e2[_0x2a2e96(0x160)][_0x2a2e96(0x2fe)]&&this[_0x2a2e96(0x2eb)](),this[_0x2a2e96(0x3be)]();}['_rescheduleHeartbeat'](){const _0x4f430b=_0x582532;var _0x519234;this[_0x4f430b(0x168)](),this[_0x4f430b(0x1f0)]=setTimeout(()=>this[_0x4f430b(0x1cb)](),(_0x519234=this[_0x4f430b(0x3b0)][_0x4f430b(0x2ba)](_0x4f430b(0x37a)))==null?0x7530:_0x519234);}[_0x582532(0x1cb)](){const _0x51cd57=_0x582532;this[_0x51cd57(0x2f0)][_0x51cd57(0x311)]({'cmd':_0x4d42e2[_0x51cd57(0x160)][_0x51cd57(0x2fe)]}),this[_0x51cd57(0x22c)]();}[_0x582532(0x22c)](){const _0x2f4916=_0x582532;var _0x2965f2;this[_0x2f4916(0x36e)]=setTimeout(()=>this[_0x2f4916(0x2d6)](),(_0x2965f2=this['_configService']['getConfig'](_0x2f4916(0x36a)))==null?_0x3ad1c7:_0x2965f2);}[_0x582532(0x168)](){const _0x44af00=_0x582532;this[_0x44af00(0x1f0)]!=null&&(clearTimeout(this[_0x44af00(0x1f0)]),this[_0x44af00(0x1f0)]=null);}[_0x582532(0x2eb)](){const _0xeb870b=_0x582532;this[_0xeb870b(0x36e)]!=null&&(clearTimeout(this[_0xeb870b(0x36e)]),this[_0xeb870b(0x36e)]=null);}};_0x457933=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x2,_0x21f9b6['IConfigService']),_0x385b9b(0x3,_0x1b8f90),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x49c645)),_0x385b9b(0x5,(0x0,_0x21f9b6['Optional'])(_0x3cb508))],_0x457933);let _0x28cc0e=class extends _0x21f9b6[_0x582532(0x1c3)]{constructor(_0x51af53,_0x33e149,_0x16e70c,_0x34db9c){const _0x27654a=_0x582532;var _0x1bda93;super(),this['_injector']=_0x51af53,this[_0x27654a(0x35f)]=_0x33e149,this[_0x27654a(0x3b0)]=_0x16e70c,this['_univerInstanceService']=_0x34db9c,_0x158768(this,'_entities',new Map()),_0x158768(this,_0x27654a(0x292),new _0x4ea2bc[(_0x27654a(0x321))]()),_0x158768(this,_0x27654a(0x38e),this[_0x27654a(0x292)][_0x27654a(0x2bd)]()),((_0x1bda93=this[_0x27654a(0x3b0)]['getConfig'](_0x27654a(0x293)))==null?void 0x0:_0x1bda93['enableCollaboration'])!==!0x1&&this[_0x27654a(0x36f)]();}[_0x582532(0x2ab)](){const _0x4a0027=_0x582532;super[_0x4a0027(0x2ab)](),this[_0x4a0027(0x2bc)]['forEach'](_0x3fa063=>_0x3fa063['dispose']()),this[_0x4a0027(0x2bc)][_0x4a0027(0x157)]();}['getCollabEntity'](_0x5d8820){const _0x41afc6=_0x582532;var _0x5dbee9;return(_0x5dbee9=this[_0x41afc6(0x2bc)][_0x41afc6(0x19e)](_0x5d8820))==null?null:_0x5dbee9;}[_0x582532(0x348)](_0x1f517f){const _0x4b9f1b=_0x582532;let _0x27c5ee=this[_0x4b9f1b(0x254)](_0x1f517f);return _0x27c5ee?(0x0,_0x4ea2bc['of'])(_0x27c5ee):this[_0x4b9f1b(0x292)][_0x4b9f1b(0x12f)]((0x0,_0x40ad09[_0x4b9f1b(0x382)])(_0x777864=>_0x777864[_0x4b9f1b(0x142)]===_0x1f517f));}[_0x582532(0x21c)](_0x5007ab){const _0x1be260=_0x582532;return(0x0,_0x4ea2bc[_0x1be260(0x238)])(this[_0x1be260(0x348)](_0x5007ab)[_0x1be260(0x12f)]((0x0,_0x40ad09[_0x1be260(0x312)])(()=>void 0x0)));}[_0x582532(0x36f)](){const _0x9f900=_0x582532;this[_0x9f900(0x136)][_0x9f900(0x2e6)](_0x21f9b6[_0x9f900(0x3e4)][_0x9f900(0x1ba)])[_0x9f900(0x12f)]((0x0,_0x4ea2bc[_0x9f900(0x172)])(this[_0x9f900(0x3b8)]),(0x0,_0x40ad09['delay'])(0x10))[_0x9f900(0x237)](async _0x5c5669=>{const _0x44b92f=_0x9f900;let _0x416265=_0x5c5669['getUnitId'](),_0x146a86=await this[_0x44b92f(0x389)](_0x416265,_0x21f9b6['UniverInstanceType'][_0x44b92f(0x1ba)]);this[_0x44b92f(0x2bc)]['set'](_0x416265,_0x146a86);}),this[_0x9f900(0x136)][_0x9f900(0x2e6)](_0x21f9b6[_0x9f900(0x3e4)][_0x9f900(0x1f3)])[_0x9f900(0x12f)]((0x0,_0x4ea2bc['takeUntil'])(this[_0x9f900(0x3b8)]),(0x0,_0x40ad09[_0x9f900(0x2e7)])(0x10))[_0x9f900(0x12f)]((0x0,_0x40ad09[_0x9f900(0x382)])(_0x277d68=>!_0x277d68[_0x9f900(0x31b)]()['startsWith']('__')))[_0x9f900(0x237)](async _0xd24bcc=>{const _0x5ca650=_0x9f900;let _0x573ec0=_0xd24bcc[_0x5ca650(0x31b)](),_0x2251a3=await this['_startCollaboration'](_0x573ec0,_0x21f9b6[_0x5ca650(0x3e4)][_0x5ca650(0x1f3)]);this['_entities']['set'](_0x573ec0,_0x2251a3);}),(0x0,_0x4ea2bc[_0x9f900(0x366)])(this[_0x9f900(0x136)][_0x9f900(0x2e2)](_0x21f9b6[_0x9f900(0x3e4)][_0x9f900(0x1ba)]),this[_0x9f900(0x136)][_0x9f900(0x2e2)](_0x21f9b6[_0x9f900(0x3e4)]['UNIVER_DOC']))[_0x9f900(0x12f)]((0x0,_0x4ea2bc['takeUntil'])(this['dispose$']))[_0x9f900(0x237)](_0x177a7a=>{const _0x4dafdc=_0x9f900;let _0x5239bd=_0x177a7a[_0x4dafdc(0x31b)](),_0x407e1b=this[_0x4dafdc(0x2bc)]['get'](_0x5239bd);_0x407e1b&&(_0x407e1b[_0x4dafdc(0x2ab)](),this[_0x4dafdc(0x2bc)]['delete'](_0x5239bd));});}async[_0x582532(0x389)](_0x1c585b,_0x51ce10){const _0x498392=_0x582532;let _0x225ced=await this[_0x498392(0x35f)][_0x498392(0x13a)](_0x1c585b),_0x506704=this[_0x498392(0x279)][_0x498392(0x327)](this[_0x498392(0x274)](_0x51ce10),_0x1c585b,_0x51ce10,_0x225ced);return await _0x506704[_0x498392(0x232)](),this['_entityInit$']['next'](_0x506704),_0x506704;}[_0x582532(0x274)](_0x10cb28){const _0x179fa0=_0x582532;switch(_0x10cb28){case _0x21f9b6[_0x179fa0(0x3e4)]['UNIVER_DOC']:return _0xd1a0d8;case _0x21f9b6['UniverInstanceType'][_0x179fa0(0x1ba)]:return _0x33b45e;default:throw Error(_0x179fa0(0x26a)+_0x10cb28);}}};_0x28cc0e=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x457933)),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x3,_0x21f9b6[_0x582532(0x207)])],_0x28cc0e);var _0x2aec61=_0x582532(0x230),_0x1c30ed=_0x582532(0x2e0);let _0x5e16b4=class extends _0x21f9b6[_0x582532(0x183)]{constructor(_0x2276dc,_0x61df2){const _0x19bdb3=_0x582532;super(),this[_0x19bdb3(0x136)]=_0x2276dc,this[_0x19bdb3(0x3b0)]=_0x61df2,this[_0x19bdb3(0x36f)]();}['_init'](){const _0x4cd0ad=_0x582532;this[_0x4cd0ad(0x1b5)](this[_0x4cd0ad(0x136)][_0x4cd0ad(0x1b6)][_0x4cd0ad(0x237)](()=>{const _0x1fadea=_0x4cd0ad;var _0x51b96b;let _0x336270=this[_0x1fadea(0x136)][_0x1fadea(0x3ce)](),_0x4618d8=(_0x51b96b=this[_0x1fadea(0x3b0)][_0x1fadea(0x2ba)]('DEFAULT_FILE_NAME'))==null?_0x1fadea(0x252):_0x51b96b;_0x336270 instanceof _0x21f9b6['Workbook']&&(_0x4618d8=_0x336270[_0x1fadea(0x272)]),document['title']=_0x4618d8;}));}};_0x5e16b4=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x3e2)])],_0x5e16b4);let _0x3d2f49=class{constructor(_0x51dd43,_0x2f8175,_0x563159){const _0x3495ee=_0x582532;this['_configService']=_0x51dd43,this[_0x3495ee(0x195)]=_0x2f8175,this[_0x3495ee(0x164)]=_0x563159,this[_0x3495ee(0x232)]();}[_0x582532(0x232)](){const _0x83af08=_0x582532;this[_0x83af08(0x195)][_0x83af08(0x185)]({'priority':0x1,'interceptor':(_0x49666d,_0x138292)=>_0x138292(_0x49666d)['pipe']((0x0,_0x4ea2bc['concatMap'])(async _0x538ca3=>{const _0x1b59e3=_0x83af08;let _0x231a5c=_0x538ca3;if(_0x231a5c[_0x1b59e3(0x18e)]===0x191){if(typeof window>'u')throw Error(_0x1b59e3(0x23d));if(window[_0x1b59e3(0x429)](this[_0x1b59e3(0x164)]['t'](_0x1b59e3(0x1de)))){let _0x2f5e6c=window[_0x1b59e3(0x354)](window[_0x1b59e3(0x383)][_0x1b59e3(0x428)]);window['location'][_0x1b59e3(0x428)]=this[_0x1b59e3(0x1fd)]()+_0x1b59e3(0x406)+_0x2f5e6c;}}return _0x231a5c;}))});}[_0x582532(0x1fd)](){const _0x201686=_0x582532;var _0x476484;let _0x7a2ce=this[_0x201686(0x3b0)][_0x201686(0x2ba)](_0x3b7e3d);return(_0x476484=_0x7a2ce==null?void 0x0:_0x7a2ce['loginUrlKey'])==null?'/universer-api/oidc/authpage':_0x476484;}};_0x3d2f49=_0x9fca30([_0x385b9b(0x0,_0x21f9b6['IConfigService']),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x2,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6['LocaleService']))],_0x3d2f49);let _0x23b744=class extends _0x21f9b6['Disposable']{constructor(_0x213693,_0xb29efb){const _0x30aa78=_0x582532;super(),this[_0x30aa78(0x285)]=_0x213693,this[_0x30aa78(0x3b0)]=_0xb29efb,_0x158768(this,_0x30aa78(0x2b5),!0x1),this[_0x30aa78(0x398)]();}[_0x582532(0x398)](){const _0x3e0550=_0x582532;let _0x3896d4=this;this[_0x3e0550(0x1b5)](this[_0x3e0550(0x285)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':(0x0,_0xf4c2fc[_0x3e0550(0x17e)])({'isMatch'(_0x331e18){const _0x379a79=_0x3e0550;var _0x7786b9;if(_0x331e18[_0x379a79(0x1b1)]==='POST'&&(_0x7786b9=_0x331e18['requestParams'])!=null&&_0x7786b9[_0x379a79(0x41f)]){let {objectID:_0x51ac33,objectType:_0x5917c7}=_0x331e18[_0x379a79(0x3df)][_0x379a79(0x41f)]||{};if(!_0x51ac33||_0x5917c7===void 0x0)return!0x1;let _0x240696=_0x3896d4[_0x379a79(0x2d3)]()+'/'+_0x5917c7+_0x379a79(0x257)+_0x51ac33+'/allowed';if(_0x331e18['url']===_0x240696)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4de589){const _0x5d3112=_0x3e0550;var _0x5c06e8;return(_0x5c06e8=_0x4de589[_0x5d3112(0x3df)])==null?void 0x0:_0x5c06e8[_0x5d3112(0x41f)];},'mergeParamsToRequest'(_0x4c2486,_0x58c817){const _0x2f5015=_0x3e0550;let _0x38edc5=_0x3896d4[_0x2f5015(0x2d3)]()+_0x2f5015(0x197),_0x46b426=_0x4c2486['reduce']((_0x3b1deb,_0x1d9779)=>{const _0x1d7962=_0x2f5015;let {unitID:_0x6284a7,objectID:_0x1f85aa,objectType:_0xfe159e,actions:_0xff9ea0}=_0x1d9779;return _0x3b1deb[_0x6284a7]||(_0x3b1deb[_0x6284a7]={}),_0x3b1deb[_0x6284a7][_0x1f85aa]||(_0x3b1deb[_0x6284a7][_0x1f85aa]={'objectID':_0x1f85aa,'objectType':_0xfe159e,'actions':[]}),_0x3b1deb[_0x6284a7][_0x1f85aa][_0x1d7962(0x1ac)][_0x1d7962(0x2b7)](..._0xff9ea0),_0x3b1deb;},{}),_0x389ee1=[];for(let _0x2090d0 in _0x46b426)for(let _0x5f55b5 in _0x46b426[_0x2090d0]){let {actions:_0x1aa738,objectType:_0x296a0f}=_0x46b426[_0x2090d0][_0x5f55b5],_0x1ed8b9=[...new Set(_0x1aa738)];_0x389ee1[_0x2f5015(0x2b7)]({'unitID':_0x2090d0,'objectID':_0x5f55b5,'objectType':_0x296a0f,'actions':_0x1ed8b9});}return new _0xf4c2fc[(_0x2f5015(0x2aa))](_0x2f5015(0x363),_0x38edc5,{'headers':_0x58c817[_0x2f5015(0x295)],'withCredentials':_0x58c817[_0x2f5015(0x407)],'responseType':_0x58c817[_0x2f5015(0x3bc)],'body':{'requests':_0x389ee1}});}},{'distributeResult'(_0x49f6b4,_0x1a16a1){const _0x561f58=_0x3e0550;let {objectActions:_0x11a89a}=_0x49f6b4;return _0x1a16a1[_0x561f58(0x312)](_0x22adb5=>{const _0x7d100=_0x561f58;let {unitID:_0x53c07d,objectID:_0x24872c,actions:_0x541326}=_0x22adb5,_0x32fa9f=_0x11a89a[_0x7d100(0x283)](_0x1e3ec8=>_0x1e3ec8[_0x7d100(0x142)]===_0x53c07d&&_0x1e3ec8[_0x7d100(0x213)]===_0x24872c);return{'config':_0x22adb5,'result':{'actions':_0x541326['map'](_0x3e9a7a=>_0x32fa9f==null?void 0x0:_0x32fa9f[_0x7d100(0x1ac)][_0x7d100(0x283)](_0x23379f=>_0x23379f[_0x7d100(0x16c)]===_0x3e9a7a))['filter'](_0x5012e3=>!!_0x5012e3),'error':_0x49f6b4[_0x7d100(0x171)]}};});}})}));}['_getAPIPrefixPath'](){const _0x12c55f=_0x582532;var _0xdfa4cc;let _0x12c3d9=this[_0x12c55f(0x3b0)][_0x12c55f(0x2ba)](_0x3b7e3d);return(_0xdfa4cc=_0x12c3d9==null?void 0x0:_0x12c3d9[_0x12c55f(0x1ec)])==null?_0x12c55f(0x1bc):_0xdfa4cc;}async['create'](_0x3672b8){const _0x32724d=_0x582532;let _0x1c2691=this[_0x32724d(0x2d3)]()+'/'+_0x3672b8[_0x32724d(0x11b)]+'/object';return(await this[_0x32724d(0x285)][_0x32724d(0x370)](_0x1c2691,{'body':_0x3672b8}))[_0x32724d(0x41f)]['objectID']||'';}async[_0x582532(0x251)](_0x25a8a8){const _0x5135e2=_0x582532;let _0x755a28=this['_getAPIPrefixPath']()+_0x5135e2(0x190);return(await this[_0x5135e2(0x285)][_0x5135e2(0x370)](_0x755a28,{'body':_0x25a8a8}))[_0x5135e2(0x41f)][_0x5135e2(0x351)];}async[_0x582532(0x2d1)](_0x35c811){const _0x1116c1=_0x582532;var _0x15e7ed;let _0x16fa30=this[_0x1116c1(0x2d3)]()+'/'+_0x35c811[_0x1116c1(0x11b)]+'/object/'+_0x35c811[_0x1116c1(0x213)],_0x4ee158=await this[_0x1116c1(0x285)][_0x1116c1(0x2b0)](_0x16fa30,{'body':_0x35c811});if((_0x4ee158==null||(_0x15e7ed=_0x4ee158[_0x1116c1(0x41f)])==null||(_0x15e7ed=_0x15e7ed[_0x1116c1(0x171)])==null?void 0x0:_0x15e7ed[_0x1116c1(0x422)])!==0x1)throw Error(_0x1116c1(0x386));}async[_0x582532(0x1c2)](_0x3ee800){const _0x4be582=_0x582532;let _0x45a80d=this['_getAPIPrefixPath']()+'/'+_0x3ee800[_0x4be582(0x11b)]+_0x4be582(0x257)+_0x3ee800['objectID']+_0x4be582(0x250);return(await this[_0x4be582(0x285)][_0x4be582(0x370)](_0x45a80d,{'body':_0x3ee800}))[_0x4be582(0x41f)][_0x4be582(0x1ac)];}async['batchAllowed'](_0x49a5b5){const _0x80657b=_0x582532;let _0x59c25d=this[_0x80657b(0x2d3)]()+'/-/object/-/batch_allowed';return(await this[_0x80657b(0x285)][_0x80657b(0x370)](_0x59c25d,{'body':{'requests':_0x49a5b5}}))[_0x80657b(0x41f)]['objectActions'];}async['listRoles'](_0x2d6531){const _0x769ade=_0x582532;let _0x239ec2=this[_0x769ade(0x2d3)]()+'/'+_0x2d6531[_0x769ade(0x11b)]+_0x769ade(0x1db),_0x434332=await this[_0x769ade(0x285)][_0x769ade(0x370)](_0x239ec2,{'body':_0x2d6531});return{'roles':_0x434332[_0x769ade(0x41f)][_0x769ade(0x24c)],'actions':_0x434332[_0x769ade(0x41f)][_0x769ade(0x1ac)]};}async[_0x582532(0x1e4)](_0x5cc759){const _0x5b6717=_0x582532;let _0x317af8=this[_0x5b6717(0x2d3)]()+'/collaborator';await this[_0x5b6717(0x285)][_0x5b6717(0x1b0)](_0x317af8,{'params':{'collaboratorID':_0x5cc759[_0x5b6717(0x32e)],'objectID':_0x5cc759[_0x5b6717(0x213)],'unitID':_0x5cc759[_0x5b6717(0x142)]}});}async['updateCollaborator'](_0x5123bd){const _0x3a1ba8=_0x582532;let _0x6bd4d2=this[_0x3a1ba8(0x2d3)]()+'/collaborator';await this['_HTTPService'][_0x3a1ba8(0x32f)](_0x6bd4d2,{'body':_0x5123bd});}async['createCollaborator'](_0x300163){const _0x3e4cfa=_0x582532;let _0x29109c=this[_0x3e4cfa(0x2d3)]()+'/collaborator';await this[_0x3e4cfa(0x285)]['post'](_0x29109c,{'body':_0x300163});}async['listCollaborators'](_0x2dcee6){const _0x2e7663=_0x582532;var _0x1342a6;let _0x28910d=this[_0x2e7663(0x2d3)]()+_0x2e7663(0x20d),_0x134ee6=await this[_0x2e7663(0x285)]['get'](_0x28910d,{'params':{'objectID':_0x2dcee6['objectID'],'unitID':_0x2dcee6[_0x2e7663(0x142)]}});return this['setCfgEnableObjInherit']((_0x1342a6=_0x134ee6[_0x2e7663(0x41f)]['cfgEnableObjInherit'])==null?!0x1:_0x1342a6),_0x134ee6[_0x2e7663(0x41f)][_0x2e7663(0x3e3)];}async[_0x582532(0x371)](_0x272883){const _0x68c42a=_0x582532;let _0x5646c2=this[_0x68c42a(0x2d3)]()+'/collaborator';await this[_0x68c42a(0x285)][_0x68c42a(0x2b0)](_0x5646c2,{'body':_0x272883});}[_0x582532(0x15d)](_0x345801){const _0x46d200=_0x582532;this[_0x46d200(0x2b5)]=_0x345801;}['getCfgEnableObjInherit'](){return this['_cfgEnableObjInherit'];}};_0x23b744=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x3e2)]))],_0x23b744);function _0x37b175(_0x1959ed){const _0x56bd31=_0x582532;return _0x1959ed instanceof Uint8Array||ArrayBuffer[_0x56bd31(0x394)](_0x1959ed)&&_0x1959ed['constructor'][_0x56bd31(0x272)]===_0x56bd31(0x2c5)&&_0x56bd31(0x323)in _0x1959ed&&_0x1959ed[_0x56bd31(0x323)]===0x1;}function _0xd9eca4(_0x4a6d80){const _0x1cd73f=_0x582532;if(typeof _0x4a6d80!='number')throw TypeError('number\x20expected,\x20got\x20'+typeof _0x4a6d80);if(!Number['isSafeInteger'](_0x4a6d80)||_0x4a6d80<0x0)throw RangeError(_0x1cd73f(0x20f)+_0x4a6d80);}function _0x2b212e(_0x140cd8,_0x1d08f5,_0x488135=''){const _0xad2eeb=_0x582532;let _0x24ad2d=_0x37b175(_0x140cd8),_0x18ffd7=_0x140cd8==null?void 0x0:_0x140cd8[_0xad2eeb(0x2c6)],_0x584d9e=_0x1d08f5!==void 0x0;if(!_0x24ad2d||_0x584d9e&&_0x18ffd7!==_0x1d08f5){let _0x52cf1e=_0x488135&&'\x22'+_0x488135+'\x22\x20',_0x113956=_0x584d9e?_0xad2eeb(0x243)+_0x1d08f5:'',_0x12259f=_0x24ad2d?_0xad2eeb(0x24f)+_0x18ffd7:_0xad2eeb(0x41e)+typeof _0x140cd8,_0x5e9184=_0x52cf1e+_0xad2eeb(0x375)+_0x113956+_0xad2eeb(0x3a6)+_0x12259f;throw _0x24ad2d?RangeError(_0x5e9184):TypeError(_0x5e9184);}return _0x140cd8;}function _0x50d30e(_0x37ea02){const _0x225515=_0x582532;return new Uint32Array(_0x37ea02[_0x225515(0x2a7)],_0x37ea02[_0x225515(0x337)],Math['floor'](_0x37ea02[_0x225515(0x400)]/0x4));}function _0x524ec3(..._0x569517){const _0x3ac672=_0x582532;for(let _0x225f98=0x0;_0x225f98<_0x569517[_0x3ac672(0x2c6)];_0x225f98++)_0x569517[_0x225f98][_0x3ac672(0x33e)](0x0);}let _0x4512aa=new Uint8Array(new Uint32Array([0x11223344])[_0x582532(0x2a7)])[0x0]===0x44,_0x4fcfce=_0x1e46d1=>_0x1e46d1<<0x18&0xff000000|_0x1e46d1<<0x8&0xff0000|_0x1e46d1>>>0x8&0xff00|_0x1e46d1>>>0x18&0xff,_0x32199a=_0x4512aa?_0x4a4442=>_0x4a4442:_0x5a0057=>{for(let _0x4fbd8f=0x0;_0x4fbd8f<_0x5a0057['length'];_0x4fbd8f++)_0x5a0057[_0x4fbd8f]=_0x4fcfce(_0x5a0057[_0x4fbd8f]);return _0x5a0057;};typeof Uint8Array['from']([])[_0x582532(0x3d1)]=='function'&&Uint8Array[_0x582532(0x20e)];function _0x5cc704(_0x363ee7){const _0x5b141d=_0x582532;if(typeof _0x363ee7!=_0x5b141d(0x255))throw TypeError(_0x5b141d(0x2b9));return new Uint8Array(new TextEncoder()[_0x5b141d(0x30e)](_0x363ee7));}function _0x2c06c8(_0x3a09a1,_0x4fc1a8){const _0x1c6f51=_0x582532;return!_0x3a09a1[_0x1c6f51(0x400)]||!_0x4fc1a8[_0x1c6f51(0x400)]?!0x1:_0x3a09a1['buffer']===_0x4fc1a8[_0x1c6f51(0x2a7)]&&_0x3a09a1[_0x1c6f51(0x337)]<_0x4fc1a8[_0x1c6f51(0x337)]+_0x4fc1a8['byteLength']&&_0x4fc1a8['byteOffset']<_0x3a09a1[_0x1c6f51(0x337)]+_0x3a09a1[_0x1c6f51(0x400)];}function _0x1c61a7(_0x1a1d5b,_0x5807e3){const _0x126a71=_0x582532;if(_0x2c06c8(_0x1a1d5b,_0x5807e3)&&_0x1a1d5b['byteOffset']<_0x5807e3[_0x126a71(0x337)])throw Error(_0x126a71(0x336));}function _0x3f3bb2(..._0x527e35){const _0x220d9d=_0x582532;let _0x2ca980=0x0;for(let _0x4305ab=0x0;_0x4305ab<_0x527e35[_0x220d9d(0x2c6)];_0x4305ab++){let _0x15ed96=_0x527e35[_0x4305ab];_0x2b212e(_0x15ed96),_0x2ca980+=_0x15ed96[_0x220d9d(0x2c6)];}let _0x23022b=new Uint8Array(_0x2ca980);for(let _0x4a9778=0x0,_0x273056=0x0;_0x4a9778<_0x527e35[_0x220d9d(0x2c6)];_0x4a9778++){let _0x2e739e=_0x527e35[_0x4a9778];_0x23022b[_0x220d9d(0x31e)](_0x2e739e,_0x273056),_0x273056+=_0x2e739e[_0x220d9d(0x2c6)];}return _0x23022b;}let _0x28fc36=(_0x3ce0fc,_0x28acb7)=>{const _0x478830=_0x582532;function _0x204523(_0x5c2dee,..._0x50286c){const _0x50569e=_0x1dac;if(_0x2b212e(_0x5c2dee,void 0x0,'key'),_0x3ce0fc['nonceLength']!==void 0x0){let _0x135478=_0x50286c[0x0];_0x2b212e(_0x135478,_0x3ce0fc[_0x50569e(0x1c1)]?void 0x0:_0x3ce0fc['nonceLength'],_0x50569e(0x211));}let _0x23a8ef=_0x3ce0fc['tagLength'];_0x23a8ef&&_0x50286c[0x1]!==void 0x0&&_0x2b212e(_0x50286c[0x1],void 0x0,_0x50569e(0x35b));let _0x20a3d4=_0x28acb7(_0x5c2dee,..._0x50286c),_0x1f69f4=(_0x443459,_0x212882)=>{const _0x222311=_0x50569e;if(_0x212882!==void 0x0){if(_0x443459!==0x2)throw Error(_0x222311(0x126));_0x2b212e(_0x212882,void 0x0,_0x222311(0x130));}},_0x2cb6c4=!0x1;return{'encrypt'(_0x102b94,_0x5b4f3d){const _0x5b89b2=_0x50569e;if(_0x2cb6c4)throw Error(_0x5b89b2(0x309));return _0x2cb6c4=!0x0,_0x2b212e(_0x102b94),_0x1f69f4(_0x20a3d4[_0x5b89b2(0x170)]['length'],_0x5b4f3d),_0x20a3d4[_0x5b89b2(0x170)](_0x102b94,_0x5b4f3d);},'decrypt'(_0x329304,_0x406a3d){const _0x5e0af5=_0x50569e;if(_0x2b212e(_0x329304),_0x23a8ef&&_0x329304[_0x5e0af5(0x2c6)]<_0x23a8ef)throw Error(_0x5e0af5(0x38d)+_0x23a8ef);return _0x1f69f4(_0x20a3d4['decrypt'][_0x5e0af5(0x2c6)],_0x406a3d),_0x20a3d4[_0x5e0af5(0x214)](_0x329304,_0x406a3d);}};}return Object[_0x478830(0x3a4)](_0x204523,_0x3ce0fc),_0x204523;};function _0x1a7d56(_0x5affb1,_0x2de016,_0x2a2914=!0x0){const _0xeb18be=_0x582532;if(_0x2de016===void 0x0)return new Uint8Array(_0x5affb1);if(_0x2b212e(_0x2de016,void 0x0,_0xeb18be(0x130)),_0x2de016[_0xeb18be(0x2c6)]!==_0x5affb1)throw Error(_0xeb18be(0x27d)+_0x5affb1+_0xeb18be(0x433)+_0x2de016[_0xeb18be(0x2c6)]);if(_0x2a2914&&!_0x37db50(_0x2de016))throw Error(_0xeb18be(0x249));return _0x2de016;}function _0x37db50(_0x5ec377){const _0x484fac=_0x582532;return _0x5ec377[_0x484fac(0x337)]%0x4==0x0;}function _0x11fe44(_0x489b78){const _0x2c2638=_0x582532;return Uint8Array[_0x2c2638(0x2bf)](_0x2b212e(_0x489b78));}function _0x8b606d(_0x37d8f1=0x20){const _0x44e972=_0x582532;_0xd9eca4(_0x37d8f1);let _0x3f205d=typeof globalThis==_0x44e972(0x2f4)?globalThis[_0x44e972(0x11d)]:null;if(typeof(_0x3f205d==null?void 0x0:_0x3f205d['getRandomValues'])!='function')throw Error(_0x44e972(0x395));return _0x3f205d['getRandomValues'](new Uint8Array(_0x37d8f1));}function _0x15511f(_0x339882){const _0x2c3c2f=_0x582532;if(![0x10,0x18,0x20]['includes'](_0x339882[_0x2c3c2f(0x2c6)]))throw Error(_0x2c3c2f(0x24a)+_0x339882['length']);}function _0x1b018f(_0x202a48){return _0x202a48<<0x1^0x11b&-(_0x202a48>>0x7);}function _0x12f5a0(_0x1d09c3,_0x416b8c){let _0x436761=0x0;for(;_0x416b8c>0x0;_0x416b8c>>=0x1)_0x436761^=_0x1d09c3&-(_0x416b8c&0x1),_0x1d09c3=_0x1b018f(_0x1d09c3);return _0x436761;}let _0x1a5e35=((()=>{let _0x5510b7=new Uint8Array(0x100);for(let _0xa645c9=0x0,_0x3cf41e=0x1;_0xa645c9<0x100;_0xa645c9++,_0x3cf41e^=_0x1b018f(_0x3cf41e))_0x5510b7[_0xa645c9]=_0x3cf41e;let _0x521f77=new Uint8Array(0x100);_0x521f77[0x0]=0x63;for(let _0x52f831=0x0;_0x52f831<0xff;_0x52f831++){let _0x1ecde2=_0x5510b7[0xff-_0x52f831];_0x1ecde2|=_0x1ecde2<<0x8,_0x521f77[_0x5510b7[_0x52f831]]=(_0x1ecde2^_0x1ecde2>>0x4^_0x1ecde2>>0x5^_0x1ecde2>>0x6^_0x1ecde2>>0x7^0x63)&0xff;}return _0x524ec3(_0x5510b7),_0x521f77;})()),_0x43968b=_0x1a5e35[_0x582532(0x312)]((_0x5bc5b6,_0x1484f4)=>_0x1a5e35[_0x582532(0x30b)](_0x1484f4)),_0x4d6e5b=_0x4a238f=>_0x4a238f<<0x18|_0x4a238f>>>0x8,_0x53fcd1=_0xc85dc0=>_0xc85dc0<<0x8|_0xc85dc0>>>0x18;function _0x2599ea(_0x5db2d0,_0x3d8558){const _0x5bcb4c=_0x582532;if(_0x5db2d0[_0x5bcb4c(0x2c6)]!==0x100)throw Error('Wrong\x20sbox\x20length');let _0x5d87ab=new Uint32Array(0x100)[_0x5bcb4c(0x312)]((_0x1c4d6c,_0x24e471)=>_0x3d8558(_0x5db2d0[_0x24e471])),_0x22bb4a=_0x5d87ab[_0x5bcb4c(0x312)](_0x53fcd1),_0x35148c=_0x22bb4a[_0x5bcb4c(0x312)](_0x53fcd1),_0x305127=_0x35148c['map'](_0x53fcd1),_0x1fc7f3=new Uint32Array(0x100*0x100),_0x5e9d59=new Uint32Array(0x100*0x100),_0xcecfc2=new Uint16Array(0x100*0x100);for(let _0x3ffecf=0x0;_0x3ffecf<0x100;_0x3ffecf++)for(let _0xb59215=0x0;_0xb59215<0x100;_0xb59215++){let _0x49d40d=_0x3ffecf*0x100+_0xb59215;_0x1fc7f3[_0x49d40d]=_0x5d87ab[_0x3ffecf]^_0x22bb4a[_0xb59215],_0x5e9d59[_0x49d40d]=_0x35148c[_0x3ffecf]^_0x305127[_0xb59215],_0xcecfc2[_0x49d40d]=_0x5db2d0[_0x3ffecf]<<0x8|_0x5db2d0[_0xb59215];}return{'sbox':_0x5db2d0,'sbox2':_0xcecfc2,'T0':_0x5d87ab,'T1':_0x22bb4a,'T2':_0x35148c,'T3':_0x305127,'T01':_0x1fc7f3,'T23':_0x5e9d59};}let _0x2bb216=_0x2599ea(_0x1a5e35,_0xc15696=>_0x12f5a0(_0xc15696,0x3)<<0x18|_0xc15696<<0x10|_0xc15696<<0x8|_0x12f5a0(_0xc15696,0x2)),_0x29174a=_0x2599ea(_0x43968b,_0xa268c1=>_0x12f5a0(_0xa268c1,0xb)<<0x18|_0x12f5a0(_0xa268c1,0xd)<<0x10|_0x12f5a0(_0xa268c1,0x9)<<0x8|_0x12f5a0(_0xa268c1,0xe)),_0x4f06a7=((()=>{let _0x58d08b=new Uint8Array(0x10);for(let _0x4738f9=0x0,_0x18aa3e=0x1;_0x4738f9<0x10;_0x4738f9++,_0x18aa3e=_0x1b018f(_0x18aa3e))_0x58d08b[_0x4738f9]=_0x18aa3e;return _0x58d08b;})());function _0x5a5350(_0x2e1daa){const _0x1a50f1=_0x582532;_0x2b212e(_0x2e1daa);let _0x3d342c=_0x2e1daa[_0x1a50f1(0x2c6)];_0x15511f(_0x2e1daa);let {sbox2:_0x595cf9}=_0x2bb216,_0x36cbe7=[];(!_0x4512aa||!_0x37db50(_0x2e1daa))&&_0x36cbe7[_0x1a50f1(0x2b7)](_0x2e1daa=_0x11fe44(_0x2e1daa));let _0x20bc1a=_0x32199a(_0x50d30e(_0x2e1daa)),_0x3e4067=_0x20bc1a[_0x1a50f1(0x2c6)],_0x3147f3=_0x2b76d2=>_0x4e9853(_0x595cf9,_0x2b76d2,_0x2b76d2,_0x2b76d2,_0x2b76d2),_0x4c62ea=new Uint32Array(_0x3d342c+0x1c);_0x4c62ea[_0x1a50f1(0x31e)](_0x20bc1a);for(let _0x2798c4=_0x3e4067;_0x2798c4<_0x4c62ea['length'];_0x2798c4++){let _0x488097=_0x4c62ea[_0x2798c4-0x1];_0x2798c4%_0x3e4067===0x0?_0x488097=_0x3147f3(_0x4d6e5b(_0x488097))^_0x4f06a7[_0x2798c4/_0x3e4067-0x1]:_0x3e4067>0x6&&_0x2798c4%_0x3e4067===0x4&&(_0x488097=_0x3147f3(_0x488097)),_0x4c62ea[_0x2798c4]=_0x4c62ea[_0x2798c4-_0x3e4067]^_0x488097;}return _0x524ec3(..._0x36cbe7),_0x4c62ea;}function _0x43ba7b(_0x538286){const _0x127c83=_0x582532;let _0x597222=_0x5a5350(_0x538286),_0x9bfe7d=_0x597222[_0x127c83(0x24b)](),_0x143795=_0x597222['length'],{sbox2:_0x3af405}=_0x2bb216,{T0:_0x3eec10,T1:_0x21f010,T2:_0x3ac128,T3:_0x2ab6aa}=_0x29174a;for(let _0x4fb6d5=0x0;_0x4fb6d5<_0x143795;_0x4fb6d5+=0x4)for(let _0x52fb3f=0x0;_0x52fb3f<0x4;_0x52fb3f++)_0x9bfe7d[_0x4fb6d5+_0x52fb3f]=_0x597222[_0x143795-_0x4fb6d5-0x4+_0x52fb3f];_0x524ec3(_0x597222);for(let _0x4c2273=0x4;_0x4c2273<_0x143795-0x4;_0x4c2273++){let _0x2bd4d4=_0x9bfe7d[_0x4c2273],_0x359c23=_0x4e9853(_0x3af405,_0x2bd4d4,_0x2bd4d4,_0x2bd4d4,_0x2bd4d4);_0x9bfe7d[_0x4c2273]=_0x3eec10[_0x359c23&0xff]^_0x21f010[_0x359c23>>>0x8&0xff]^_0x3ac128[_0x359c23>>>0x10&0xff]^_0x2ab6aa[_0x359c23>>>0x18];}return _0x9bfe7d;}function _0x3bc83e(_0x25d36f,_0x40ec53,_0x263691,_0x3ffa69,_0x297e8e,_0x23b143){return _0x25d36f[_0x263691<<0x8&0xff00|_0x3ffa69>>>0x8&0xff]^_0x40ec53[_0x297e8e>>>0x8&0xff00|_0x23b143>>>0x18&0xff];}function _0x4e9853(_0x30a18a,_0x22c724,_0x58bdf5,_0x5f1627,_0x47ecda){return _0x30a18a[_0x22c724&0xff|_0x58bdf5&0xff00]|_0x30a18a[_0x5f1627>>>0x10&0xff|_0x47ecda>>>0x10&0xff00]<<0x10;}function _0x42a4f2(_0x8b2762,_0x156c40,_0x2f8aff,_0x3aa835,_0x3d71a7){const _0x5700ef=_0x582532;let {sbox2:_0x3ae018,T01:_0x206f8d,T23:_0x4fc10e}=_0x2bb216,_0xb31bd4=0x0;_0x156c40^=_0x8b2762[_0xb31bd4++],_0x2f8aff^=_0x8b2762[_0xb31bd4++],_0x3aa835^=_0x8b2762[_0xb31bd4++],_0x3d71a7^=_0x8b2762[_0xb31bd4++];let _0x8e9559=_0x8b2762[_0x5700ef(0x2c6)]/0x4-0x2;for(let _0xc2951c=0x0;_0xc2951c<_0x8e9559;_0xc2951c++){let _0x300cc2=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x156c40,_0x2f8aff,_0x3aa835,_0x3d71a7),_0x5bcadd=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x2f8aff,_0x3aa835,_0x3d71a7,_0x156c40),_0x15b811=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x3aa835,_0x3d71a7,_0x156c40,_0x2f8aff),_0x484471=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x3d71a7,_0x156c40,_0x2f8aff,_0x3aa835);_0x156c40=_0x300cc2,_0x2f8aff=_0x5bcadd,_0x3aa835=_0x15b811,_0x3d71a7=_0x484471;}return{'s0':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x156c40,_0x2f8aff,_0x3aa835,_0x3d71a7),'s1':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x2f8aff,_0x3aa835,_0x3d71a7,_0x156c40),'s2':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x3aa835,_0x3d71a7,_0x156c40,_0x2f8aff),'s3':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x3d71a7,_0x156c40,_0x2f8aff,_0x3aa835)};}function _0x4537dd(_0x5043bc,_0x2c7101,_0x4920fb,_0x2a5d38,_0x22e04b){const _0x584f8c=_0x582532;let {sbox2:_0x3ced94,T01:_0x79fcf1,T23:_0x23eb7f}=_0x29174a,_0x151046=0x0;_0x2c7101^=_0x5043bc[_0x151046++],_0x4920fb^=_0x5043bc[_0x151046++],_0x2a5d38^=_0x5043bc[_0x151046++],_0x22e04b^=_0x5043bc[_0x151046++];let _0x2b1bb3=_0x5043bc[_0x584f8c(0x2c6)]/0x4-0x2;for(let _0x198297=0x0;_0x198297<_0x2b1bb3;_0x198297++){let _0x42dd3a=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x2c7101,_0x22e04b,_0x2a5d38,_0x4920fb),_0x4e601c=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x4920fb,_0x2c7101,_0x22e04b,_0x2a5d38),_0x5ef9a6=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x2a5d38,_0x4920fb,_0x2c7101,_0x22e04b),_0x5dd8ad=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x22e04b,_0x2a5d38,_0x4920fb,_0x2c7101);_0x2c7101=_0x42dd3a,_0x4920fb=_0x4e601c,_0x2a5d38=_0x5ef9a6,_0x22e04b=_0x5dd8ad;}return{'s0':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x2c7101,_0x22e04b,_0x2a5d38,_0x4920fb),'s1':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x4920fb,_0x2c7101,_0x22e04b,_0x2a5d38),'s2':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x2a5d38,_0x4920fb,_0x2c7101,_0x22e04b),'s3':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x22e04b,_0x2a5d38,_0x4920fb,_0x2c7101)};}function _0x5665ee(_0x38d7bc){const _0x33b95d=_0x582532;if(_0x2b212e(_0x38d7bc),_0x38d7bc[_0x33b95d(0x2c6)]%0x10!=0x0)throw Error(_0x33b95d(0x3af));}function _0x1d63e3(_0x3b504f,_0x3048ad,_0x261980){const _0x2cf438=_0x582532;_0x2b212e(_0x3b504f);let _0x158f68=_0x3b504f[_0x2cf438(0x2c6)],_0x4f6c24=_0x158f68%0x10;if(!_0x3048ad&&_0x4f6c24!==0x0)throw Error(_0x2cf438(0x258));if(_0x3048ad){let _0x1cc9a2=0x10-_0x4f6c24;_0x1cc9a2||(_0x1cc9a2=0x10),_0x158f68+=_0x1cc9a2;}_0x261980=_0x1a7d56(_0x158f68,_0x261980),_0x1c61a7(_0x3b504f,_0x261980),(!_0x4512aa||!_0x37db50(_0x3b504f))&&(_0x3b504f=_0x11fe44(_0x3b504f));let _0x4fb4d4=_0x50d30e(_0x3b504f);return _0x32199a(_0x4fb4d4),{'b':_0x4fb4d4,'o':_0x50d30e(_0x261980),'out':_0x261980};}function _0xe2a58(_0xb6937b,_0x20760b){const _0xb9be62=_0x582532;if(!_0x20760b)return _0xb6937b;let _0x4f8417=_0xb6937b[_0xb9be62(0x2c6)];if(_0x4f8417===0x0)throw Error(_0xb9be62(0x302));let _0x457a9a=_0xb6937b[_0x4f8417-0x1],_0x43e8de=0x1;_0x43e8de&=_0x457a9a-0x1>>>0x1f^0x1,_0x43e8de&=0x10-_0x457a9a>>>0x1f^0x1;for(let _0x2504a2=0x0;_0x2504a2<0x10;_0x2504a2++){let _0x353c46=_0x2504a2-_0x457a9a>>>0x1f,_0x533d3e=+((_0xb6937b[_0x4f8417-0x1-_0x2504a2]^_0x457a9a)===0x0);_0x43e8de&=_0x533d3e|_0x353c46^0x1;}if(!_0x43e8de)throw Error(_0xb9be62(0x2da));return _0xb6937b[_0xb9be62(0x376)](0x0,_0x4f8417-_0x457a9a);}function _0x142ef9(_0x441925){const _0x401e98=_0x582532;let _0x585aaf=new Uint8Array(0x10),_0x3a4758=_0x50d30e(_0x585aaf);_0x585aaf[_0x401e98(0x31e)](_0x441925);let _0x2ccb3a=0x10-_0x441925[_0x401e98(0x2c6)];for(let _0x511b31=0x10-_0x2ccb3a;_0x511b31<0x10;_0x511b31++)_0x585aaf[_0x511b31]=_0x2ccb3a;return _0x3a4758;}let _0x1cd376=_0x28fc36({'blockSize':0x10,'nonceLength':0x10},function(_0x51ec6c,_0x233b67,_0x53f855={}){const _0x25516f=_0x582532;let _0x1442a0=!_0x53f855[_0x25516f(0x3bf)];return{'encrypt'(_0x179b6b,_0x1c4ba6){const _0x19f34f=_0x25516f;let _0x4e5fee=_0x5a5350(_0x51ec6c),{b:_0x12039f,o:_0x28da20,out:_0x598d70}=_0x1d63e3(_0x179b6b,_0x1442a0,_0x1c4ba6),_0x53cf9d=_0x233b67,_0x28deb4=[_0x4e5fee];(!_0x4512aa||!_0x37db50(_0x53cf9d))&&_0x28deb4[_0x19f34f(0x2b7)](_0x53cf9d=_0x11fe44(_0x53cf9d));let _0x307dd6=_0x50d30e(_0x53cf9d);_0x32199a(_0x307dd6);let _0x368f5c=_0x307dd6[0x0],_0x2ca1bf=_0x307dd6[0x1],_0x1fc217=_0x307dd6[0x2],_0x5169a0=_0x307dd6[0x3],_0xa93538=0x0;for(;_0xa93538+0x4<=_0x12039f[_0x19f34f(0x2c6)];)_0x368f5c^=_0x12039f[_0xa93538+0x0],_0x2ca1bf^=_0x12039f[_0xa93538+0x1],_0x1fc217^=_0x12039f[_0xa93538+0x2],_0x5169a0^=_0x12039f[_0xa93538+0x3],{s0:_0x368f5c,s1:_0x2ca1bf,s2:_0x1fc217,s3:_0x5169a0}=_0x42a4f2(_0x4e5fee,_0x368f5c,_0x2ca1bf,_0x1fc217,_0x5169a0),_0x28da20[_0xa93538++]=_0x368f5c,_0x28da20[_0xa93538++]=_0x2ca1bf,_0x28da20[_0xa93538++]=_0x1fc217,_0x28da20[_0xa93538++]=_0x5169a0;if(_0x1442a0){let _0x5211e1=_0x142ef9(_0x179b6b[_0x19f34f(0x376)](_0xa93538*0x4));_0x32199a(_0x5211e1),_0x368f5c^=_0x5211e1[0x0],_0x2ca1bf^=_0x5211e1[0x1],_0x1fc217^=_0x5211e1[0x2],_0x5169a0^=_0x5211e1[0x3],{s0:_0x368f5c,s1:_0x2ca1bf,s2:_0x1fc217,s3:_0x5169a0}=_0x42a4f2(_0x4e5fee,_0x368f5c,_0x2ca1bf,_0x1fc217,_0x5169a0),_0x28da20[_0xa93538++]=_0x368f5c,_0x28da20[_0xa93538++]=_0x2ca1bf,_0x28da20[_0xa93538++]=_0x1fc217,_0x28da20[_0xa93538++]=_0x5169a0;}return _0x32199a(_0x28da20),_0x524ec3(..._0x28deb4),_0x598d70;},'decrypt'(_0x936a93,_0x1a49ae){const _0x54a305=_0x25516f;_0x5665ee(_0x936a93);let _0x5404b4=_0x43ba7b(_0x51ec6c),_0x46b331=_0x233b67,_0x3ea06c=[_0x5404b4];(!_0x4512aa||!_0x37db50(_0x46b331))&&_0x3ea06c[_0x54a305(0x2b7)](_0x46b331=_0x11fe44(_0x46b331));let _0x2da209=_0x50d30e(_0x46b331);_0x32199a(_0x2da209),_0x1a49ae=_0x1a7d56(_0x936a93['length'],_0x1a49ae),_0x1c61a7(_0x936a93,_0x1a49ae),(!_0x4512aa||!_0x37db50(_0x936a93))&&_0x3ea06c['push'](_0x936a93=_0x11fe44(_0x936a93));let _0x5ccd18=_0x50d30e(_0x936a93),_0x45b1b9=_0x50d30e(_0x1a49ae);_0x32199a(_0x5ccd18);let _0x2348ca=_0x2da209[0x0],_0x543eba=_0x2da209[0x1],_0x594d44=_0x2da209[0x2],_0x2bb1a4=_0x2da209[0x3];for(let _0x118bb4=0x0;_0x118bb4+0x4<=_0x5ccd18[_0x54a305(0x2c6)];){let _0x2477c9=_0x2348ca,_0x43ba60=_0x543eba,_0x5bf589=_0x594d44,_0x5c0832=_0x2bb1a4;_0x2348ca=_0x5ccd18[_0x118bb4+0x0],_0x543eba=_0x5ccd18[_0x118bb4+0x1],_0x594d44=_0x5ccd18[_0x118bb4+0x2],_0x2bb1a4=_0x5ccd18[_0x118bb4+0x3];let {s0:_0x41ee55,s1:_0x1f3131,s2:_0x4b9473,s3:_0x1054cd}=_0x4537dd(_0x5404b4,_0x2348ca,_0x543eba,_0x594d44,_0x2bb1a4);_0x45b1b9[_0x118bb4++]=_0x41ee55^_0x2477c9,_0x45b1b9[_0x118bb4++]=_0x1f3131^_0x43ba60,_0x45b1b9[_0x118bb4++]=_0x4b9473^_0x5bf589,_0x45b1b9[_0x118bb4++]=_0x1054cd^_0x5c0832;}return _0x32199a(_0x45b1b9),_0x524ec3(..._0x3ea06c),_0xe2a58(_0x1a49ae,_0x1442a0);}};});function _0x28a73e(_0x8a0a88){const _0x5bdc4d=_0x582532;let _0x172e02=atob(_0x8a0a88),_0x1b0445=new Uint8Array(_0x172e02[_0x5bdc4d(0x2c6)]);for(let _0x363c19=0x0;_0x363c19<_0x172e02[_0x5bdc4d(0x2c6)];_0x363c19++)_0x1b0445[_0x363c19]=_0x172e02[_0x5bdc4d(0x3f4)](_0x363c19);return _0x1b0445;}function _0x304433(_0x11ff17){const _0x1684c7=_0x582532;let _0x1b35c8='';for(let _0x21345a=0x0;_0x21345a<_0x11ff17[_0x1684c7(0x2c6)];_0x21345a++)_0x1b35c8+=String[_0x1684c7(0x181)](_0x11ff17[_0x21345a]);return btoa(_0x1b35c8);}function _0x202928(_0x202831,_0x349b91){const _0x209bd8=_0x582532;let _0x14e356=_0x28a73e(_0x349b91),_0x3dcbe4=_0x8b606d(0x10);return _0x304433(_0x3f3bb2(_0x3dcbe4,_0x1cd376(_0x14e356,_0x3dcbe4)[_0x209bd8(0x170)](_0x5cc704(_0x202831))));}function _0x14bffd(){const _0x246af9=_0x582532;let _0x57e86a=(0x0,_0xaf7c7d['getGlobalObject'])()[_0x246af9(0x3d9)];if(typeof window<'u'&&window[_0x246af9(0x383)]!==void 0x0&&_0x57e86a){let _0x467bde={'time':Math['floor'](Date[_0x246af9(0x14c)]()/0x3e8),'domain':location[_0x246af9(0x3c1)]};return _0x202928(JSON['stringify'](_0x467bde),_0x57e86a);}}let _0x23debf=class{constructor(_0x36eed4){const _0x40bfaf=_0x582532;this[_0x40bfaf(0x195)]=_0x36eed4,this[_0x40bfaf(0x3cf)]();}[_0x582532(0x3cf)](){const _0x4d2f94=_0x582532;this[_0x4d2f94(0x195)][_0x4d2f94(0x185)]({'interceptor':(_0x2dc6d8,_0x1ce67e)=>{const _0xc305ea=_0x4d2f94;let _0x594d28=_0x14bffd();return _0x594d28&&_0x2dc6d8['headers'][_0xc305ea(0x31e)](_0xc305ea(0x28d),_0x594d28),_0x1ce67e(_0x2dc6d8);}});}};_0x23debf=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc['HTTPService']))],_0x23debf);let _0xc0f129=class extends _0x21f9b6[_0x582532(0x1c3)]{constructor(_0x4c76c5,_0x1d15ee,_0x53f7ed){const _0x48f1be=_0x582532;super(),this[_0x48f1be(0x423)]=_0x4c76c5,this['_snapshotService']=_0x1d15ee,this['_localCacheService']=_0x53f7ed,_0x158768(this,_0x48f1be(0x410),new _0x4ea2bc[(_0x48f1be(0x319))](null)),_0x158768(this,'unitInfo$',this['_unitInfo$']['asObservable']());}async[_0x582532(0x3dd)](_0x5bc631,_0x49f49c,_0x374797){const _0x47bb92=_0x582532;this[_0x47bb92(0x410)][_0x47bb92(0x270)]({'unitId':_0x5bc631,'type':_0x49f49c});let _0x57d0cb=null;switch(_0x49f49c){case _0x21f9b6[_0x47bb92(0x3e4)][_0x47bb92(0x1ba)]:_0x57d0cb=await this['_snapshotService'][_0x47bb92(0x1bd)](_0x5bc631,_0x374797);break;case _0x21f9b6['UniverInstanceType'][_0x47bb92(0x1f3)]:_0x57d0cb=await this['_snapshotService'][_0x47bb92(0x360)](_0x5bc631,_0x374797);break;default:this[_0x47bb92(0x423)][_0x47bb92(0x171)]('[DataLoaderService]',_0x47bb92(0x1f6));break;}return _0x57d0cb;}async[_0x582532(0x346)](_0x2adb3a,_0x41a794,_0x4f5b3a){const _0x1d1ac0=_0x582532;var _0x4aee01;this[_0x1d1ac0(0x410)]['next']({'unitId':_0x2adb3a,'type':_0x41a794,'subUnitId':_0x4f5b3a});let _0x94face=0x0,_0x2bf44c=await((_0x4aee01=this['_localCacheService'])==null?void 0x0:_0x4aee01[_0x1d1ac0(0x1a7)](_0x2adb3a));return _0x2bf44c&&(_0x2bf44c[_0x1d1ac0(0x343)]||_0x2bf44c[_0x1d1ac0(0x393)][_0x1d1ac0(0x2c6)]!==0x0)&&(_0x94face=_0x2bf44c[_0x1d1ac0(0x3f7)]),_0x94face===0x0&&this[_0x1d1ac0(0x423)][_0x1d1ac0(0x2b1)](_0x1d1ac0(0x17f),_0x1d1ac0(0x404)),this[_0x1d1ac0(0x3dd)](_0x2adb3a,_0x41a794,_0x94face);}};_0xc0f129=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x40f)])),_0x385b9b(0x2,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0xc0f129);let _0x20a57b=['image/png',_0x582532(0x2a6),_0x582532(0x27b),_0x582532(0x29f),'image/bmp'],_0x567524=class{constructor(_0x59cf01,_0x4d66ef,_0x423e07){const _0x4d8296=_0x582532;this[_0x4d8296(0x195)]=_0x59cf01,this['_configService']=_0x4d66ef,this[_0x4d8296(0x136)]=_0x423e07,_0x158768(this,_0x4d8296(0x416),0x0),_0x158768(this,_0x4d8296(0x290),new _0x4ea2bc['Subject']()),_0x158768(this,_0x4d8296(0x34d),this[_0x4d8296(0x290)]),_0x158768(this,_0x4d8296(0x2fa),new Map());}[_0x582532(0x2d0)](_0x31aaee){const _0x56bfa6=_0x582532;this[_0x56bfa6(0x416)]=_0x31aaee,this[_0x56bfa6(0x290)][_0x56bfa6(0x270)](_0x31aaee);}['getImageSourceCache'](_0x44f755,_0x80d942){const _0x22e950=_0x582532;if(_0x80d942===_0x432f50['ImageSourceType'][_0x22e950(0x224)]){let _0x19a232=new Image();return _0x19a232['src']=_0x44f755,_0x19a232;}return this[_0x22e950(0x2fa)][_0x22e950(0x19e)](_0x44f755);}[_0x582532(0x15b)](_0x4e2e0f,_0x329b36,_0x1a754e){const _0xbb2a08=_0x582532;_0x329b36===_0x432f50[_0xbb2a08(0x23a)]['BASE64']||_0x1a754e==null||this[_0xbb2a08(0x2fa)][_0xbb2a08(0x31e)](_0x4e2e0f,_0x1a754e);}async[_0x582532(0x269)](_0x2ee489){const _0x238a60=_0x582532;try{let _0x612eb2=this[_0x238a60(0x27c)](this[_0x238a60(0x12b)](),''+_0x2ee489),_0xb12a8d=(await this['_httpService']['get'](_0x612eb2))[_0x238a60(0x41f)];if(_0xb12a8d[_0x238a60(0x171)]&&_0xb12a8d[_0x238a60(0x171)][_0x238a60(0x422)]===_0x4d42e2[_0x238a60(0x32a)]['OK']){let _0x1f6949=(0x0,_0x21f9b6[_0x238a60(0x1fe)])(_0xb12a8d['url'],this['_getDownloadEndpointURL']());return Promise['resolve'](_0x1f6949);}return Promise[_0x238a60(0x225)](_0xb12a8d[_0x238a60(0x171)]);}catch(_0x5670fc){return Promise['reject'](_0x5670fc);}}async[_0x582532(0x315)](_0x45a0b2){const _0x298f9a=_0x582532;let _0x7fb1de='';if(!_0x20a57b[_0x298f9a(0x180)](_0x45a0b2['type']))return this[_0x298f9a(0x1c7)](),Promise[_0x298f9a(0x225)](Error(_0x432f50[_0x298f9a(0x1cf)][_0x298f9a(0x3c2)]));if(_0x45a0b2[_0x298f9a(0x186)]>0x500000)return this['_decreaseWaiting'](),Promise[_0x298f9a(0x225)](Error(_0x432f50[_0x298f9a(0x1cf)]['ERROR_EXCEED_SIZE']));try{let _0x15651a=new FormData();_0x15651a[_0x298f9a(0x361)](_0x298f9a(0x411),_0x45a0b2);let _0x35edb1=this['_univerInstanceService'][_0x298f9a(0x3ce)](),_0x223b53=_0x35edb1==null?void 0x0:_0x35edb1[_0x298f9a(0x31b)]();if(!_0x223b53)throw Error('unitId\x20is\x20not\x20found');let _0x4109ab=this[_0x298f9a(0x425)]()+_0x298f9a(0x173)+_0x45a0b2[_0x298f9a(0x186)]['toString']()+'&source='+_0x4d42e2['FileSource'][_0x298f9a(0x260)]+_0x298f9a(0x1cc)+encodeURIComponent(_0x223b53),_0x12c897={'body':_0x15651a},_0x132e18=(await this[_0x298f9a(0x195)][_0x298f9a(0x370)](_0x4109ab,_0x12c897))[_0x298f9a(0x41f)];if(typeof _0x132e18[_0x298f9a(0x3a7)]!=_0x298f9a(0x255))return this['_decreaseWaiting'](),Promise[_0x298f9a(0x225)](Error(_0x432f50['ImageUploadStatusType'][_0x298f9a(0x39b)]));_0x7fb1de=_0x132e18['FileId'];}catch{return this[_0x298f9a(0x1c7)](),Promise[_0x298f9a(0x225)](Error(_0x432f50['ImageUploadStatusType'][_0x298f9a(0x39b)]));}return new Promise((_0x440d97,_0x5c5c9b)=>{const _0x5f2f27=_0x298f9a;let _0x152f8f=new FileReader();_0x152f8f[_0x5f2f27(0x3a1)](_0x45a0b2),_0x152f8f[_0x5f2f27(0x3f0)]=_0xe8a163=>{const _0x4ae741=_0x5f2f27;var _0x38a0a1;let _0x449474=(_0x38a0a1=_0xe8a163[_0x4ae741(0x3bd)])==null?void 0x0:_0x38a0a1[_0x4ae741(0x20c)];if(_0x449474==null){this['_decreaseWaiting'](),_0x5c5c9b(Error(_0x432f50[_0x4ae741(0x1cf)][_0x4ae741(0x39b)]));return;}_0x440d97({'imageId':(0x0,_0x21f9b6[_0x4ae741(0x2df)])(0x6),'imageSourceType':_0x432f50[_0x4ae741(0x23a)][_0x4ae741(0x3b3)],'source':_0x7fb1de,'base64Cache':_0x449474,'status':_0x432f50[_0x4ae741(0x1cf)][_0x4ae741(0x2a4)]}),this[_0x4ae741(0x1c7)]();};});}[_0x582532(0x425)](){const _0x12da30=_0x582532;var _0x4c0d02;let _0x3363b6=this[_0x12da30(0x3b0)]['getConfig'](_0x3b7e3d);return(_0x4c0d02=_0x3363b6==null?void 0x0:_0x3363b6[_0x12da30(0x194)])==null?_0x12da30(0x137):_0x4c0d02;}[_0x582532(0x12b)](){const _0x5ebfe3=_0x582532;var _0x17ab87;let _0x939138=this[_0x5ebfe3(0x3b0)][_0x5ebfe3(0x2ba)](_0x3b7e3d);return(_0x17ab87=_0x939138==null?void 0x0:_0x939138[_0x5ebfe3(0x287)])==null?_0x5ebfe3(0x34f):_0x17ab87;}[_0x582532(0x3d3)](){const _0x5533aa=_0x582532;var _0x2bbb83;let _0x388621=this['_configService']['getConfig'](_0x3b7e3d);return(_0x2bbb83=_0x388621==null?void 0x0:_0x388621[_0x5533aa(0x193)])==null?location['origin']:_0x2bbb83;}['_replaceFileID'](_0x5c47a0,_0x38f5f9){const _0x44e421=_0x582532;return _0x5c47a0[_0x44e421(0x30c)](_0x44e421(0x3a9),_0x38f5f9);}[_0x582532(0x1c7)](){const _0x5c7d5a=_0x582532;--this['_waitCount'],this['_change$'][_0x5c7d5a(0x270)](this[_0x5c7d5a(0x416)]);}};_0x567524=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x2,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x207)]))],_0x567524);let _0x51ebde=class{constructor(_0x119f07,_0x17a32c){const _0x40875b=_0x582532;this['_configService']=_0x119f07,this[_0x40875b(0x285)]=_0x17a32c;}[_0x582532(0x2d3)](){const _0x390e02=_0x582532;var _0x4c1e97;let _0x4b114=this[_0x390e02(0x3b0)][_0x390e02(0x2ba)](_0x3b7e3d);return(_0x4c1e97=_0x4b114==null?void 0x0:_0x4b114[_0x390e02(0x1ec)])==null?'/universer-api/authz':_0x4c1e97;}async[_0x582532(0x251)](_0x30726f){const _0x19770a=_0x582532;let _0x2eb54c=this[_0x19770a(0x2d3)]()+'/collaborator';return{'list':[{'title':_0x19770a(0x205),'mentions':(await this[_0x19770a(0x285)]['get'](_0x2eb54c,{'params':{'objectID':_0x30726f[_0x19770a(0x415)],'unitID':_0x30726f[_0x19770a(0x415)]}}))['body']['collaborators']['map'](_0x30c717=>({'objectId':_0x30c717['id'],'name':_0x30c717[_0x19770a(0x39e)][_0x19770a(0x272)],'metadata':{'icon':_0x30c717[_0x19770a(0x39e)][_0x19770a(0x1d0)]},'label':_0x30c717[_0x19770a(0x39e)]['name'],'objectType':_0x21f9b6[_0x19770a(0x331)][_0x19770a(0x36d)]})),'metadata':{},'type':_0x21f9b6[_0x19770a(0x331)][_0x19770a(0x36d)]}]};}};_0x51ebde=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6['Inject'])(_0x21f9b6['IConfigService'])),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)]))],_0x51ebde);let _0x2ff624=class extends _0x21f9b6[_0x582532(0x1c3)]{constructor(_0x2567eb,_0x42d4fc,_0x3afe36,_0xcac7e9,_0x40f732){const _0x521472=_0x582532;super(),this[_0x521472(0x279)]=_0x2567eb,this[_0x521472(0x136)]=_0x42d4fc,this[_0x521472(0x3bb)]=_0x3afe36,this[_0x521472(0x1a3)]=_0xcac7e9,this[_0x521472(0x2ca)]=_0x40f732,this[_0x521472(0x1b9)](),this['_initCloseConn']();}[_0x582532(0x259)](){const _0x508611=_0x582532;let _0x41f917=async _0x1beff0=>{const _0x38543c=_0x1dac;(await this['_collaborationSessionService'][_0x38543c(0x13a)](_0x1beff0))[_0x38543c(0x1a6)][_0x38543c(0x12f)]((0x0,_0x40ad09[_0x38543c(0x382)])(_0x26c956=>_0x26c956[_0x38543c(0x23e)]===_0xba6f9e[_0x38543c(0x417)][_0x38543c(0x22e)]),(0x0,_0x40ad09[_0x38543c(0x172)])(this[_0x38543c(0x3b8)]))[_0x38543c(0x237)](_0x3e88f0=>{const _0x566816=_0x38543c;let {reason:_0x381427}=_0x3e88f0[_0x566816(0x163)];this[_0x566816(0x2ca)][_0x566816(0x121)]({'id':_0x214ddb[_0x566816(0x365)],'data':_0x381427}),this[_0x566816(0x3bb)]['updatePermissionPoint'](new _0x17b170['WorkbookEditablePermission'](_0x1beff0)['id'],!0x1),this['_collaborationSessionService'][_0x566816(0x3b5)](_0x1beff0);});};(0x0,_0x4ea2bc[_0x508611(0x366)])(this[_0x508611(0x136)]['getTypeOfUnitAdded$'](_0x21f9b6['UniverInstanceType'][_0x508611(0x1ba)]),this['_univerInstanceService'][_0x508611(0x2e6)](_0x21f9b6[_0x508611(0x3e4)]['UNIVER_DOC']))[_0x508611(0x12f)]((0x0,_0x40ad09['map'])(_0x353819=>_0x353819['getUnitId']()),(0x0,_0x40ad09[_0x508611(0x382)])(_0x57f6d4=>!(0x0,_0x21f9b6[_0x508611(0x233)])(_0x57f6d4)),(0x0,_0x40ad09['takeUntil'])(this[_0x508611(0x3b8)]))[_0x508611(0x237)](_0x305db0=>{_0x41f917(_0x305db0);});}[_0x582532(0x1b9)](){const _0x1c7330=_0x582532;let _0x3e9e1e=async _0x2f2e48=>{const _0x4b74d9=_0x1dac;let _0x3d9a6a=await this['_collaborationSessionService'][_0x4b74d9(0x13a)](_0x2f2e48),_0x21542c=this[_0x4b74d9(0x279)]['get'](_0x17b170[_0x4b74d9(0x1d6)]);_0x3d9a6a[_0x4b74d9(0x1a6)][_0x4b74d9(0x12f)]((0x0,_0x40ad09['filter'])(_0x47ade5=>_0x47ade5[_0x4b74d9(0x23e)]===_0xba6f9e['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),(0x0,_0x40ad09[_0x4b74d9(0x172)])(this[_0x4b74d9(0x3b8)]))[_0x4b74d9(0x237)](_0x3dc6cd=>{const _0x3200b2=_0x4b74d9;let {objectId:_0x362ae3}=_0x3dc6cd['data'];_0x362ae3===_0x2f2e48?_0x21542c[_0x3200b2(0x3d6)](_0x2f2e48):_0x21542c[_0x3200b2(0x20a)](_0x2f2e48,_0x362ae3);});};(0x0,_0x4ea2bc[_0x1c7330(0x366)])(this['_univerInstanceService'][_0x1c7330(0x2e6)](_0x21f9b6[_0x1c7330(0x3e4)]['UNIVER_SHEET']))[_0x1c7330(0x12f)]((0x0,_0x40ad09[_0x1c7330(0x312)])(_0x16f855=>_0x16f855[_0x1c7330(0x31b)]()),(0x0,_0x40ad09['filter'])(_0x437e61=>!(0x0,_0x21f9b6[_0x1c7330(0x233)])(_0x437e61)),(0x0,_0x40ad09['takeUntil'])(this[_0x1c7330(0x3b8)]))[_0x1c7330(0x237)](_0xfa03ba=>{_0x3e9e1e(_0xfa03ba);});}};_0x2ff624=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,_0x21f9b6['IUniverInstanceService']),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x350)]),_0x385b9b(0x3,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x457933)),_0x385b9b(0x4,(0x0,_0x21f9b6['Inject'])(_0x49c645))],_0x2ff624);let _0x583f98=class{constructor(_0x488d32,_0x4e759d){const _0x5ba7c7=_0x582532;this[_0x5ba7c7(0x3b0)]=_0x488d32,this['_httpService']=_0x4e759d;}async[_0x582532(0x155)](_0x12fad3,_0x2e09f0){const _0x4eccee=_0x582532;var _0x48ee03;let {unitID:_0x25aeb5,type:_0x42bdee,revision:_0x55a56e=0x0}=_0x2e09f0,_0x5349d4=this[_0x4eccee(0x177)]()+'/'+_0x42bdee+'/unit/'+_0x25aeb5+_0x4eccee(0x1c8)+_0x55a56e,_0x1ecb54=(await this['_httpService'][_0x4eccee(0x19e)](_0x5349d4))[_0x4eccee(0x41f)],_0x5e3968=(_0x48ee03=_0x1ecb54[_0x4eccee(0x3f5)])==null?void 0x0:_0x48ee03[_0x4eccee(0x305)];if(_0x5e3968){let _0x58f4d3=_0x5e3968==null?void 0x0:_0x5e3968['originalMeta'];_0x5e3968['originalMeta']=_0xba6f9e[_0x4eccee(0x3c3)][_0x4eccee(0x30e)]((0x0,_0xba6f9e[_0x4eccee(0x384)])(_0x58f4d3)),Object[_0x4eccee(0x304)](_0x5e3968[_0x4eccee(0x278)])[_0x4eccee(0x2c3)](([,_0x5bfcbf])=>{const _0x2979aa=_0x4eccee;let _0x519785=_0x5bfcbf[_0x2979aa(0x38f)];_0x5bfcbf['originalMeta']=_0xba6f9e['textEncoder']['encode']((0x0,_0xba6f9e[_0x2979aa(0x384)])(_0x519785));});}return _0x1ecb54;}async[_0x582532(0x235)](_0x113abe,_0x177128){const _0x33110e=_0x582532;let {unitID:_0x2eaa90,type:_0xaa9c5d,blockID:_0x4c0b84}=_0x177128,_0x5d88a0=this[_0x33110e(0x228)]()+'/'+_0xaa9c5d+_0x33110e(0x11e)+_0x2eaa90+_0x33110e(0x42c)+_0x4c0b84;return(await this[_0x33110e(0x195)]['get'](_0x5d88a0))['body'];}async[_0x582532(0x2a9)](_0x2db860,_0x8f1534){const _0x59e13d=_0x582532;let {unitID:_0x2af368,type:_0x32c5c0,blockID:_0x120bb3}=_0x8f1534,_0xc5a377=this['_getAPIPrefix']()+'/block/'+_0x32c5c0+_0x59e13d(0x11e)+_0x2af368+_0x59e13d(0x42c)+_0x120bb3;return(await this[_0x59e13d(0x195)][_0x59e13d(0x19e)](_0xc5a377))[_0x59e13d(0x41f)];}async[_0x582532(0x176)](_0x5a9330,_0x46e10f){const _0x4aa548=_0x582532;let {unitID:_0x26eb6c,type:_0xac34c0,from:_0x3cfbbe,to:_0x23b9a6}=_0x46e10f,_0x1684aa=this['_getAPIPrefix']()+'/'+_0xac34c0+'/unit/'+_0x26eb6c+_0x4aa548(0x25b)+_0x3cfbbe+_0x4aa548(0x33d)+_0x23b9a6;return(await this[_0x4aa548(0x195)][_0x4aa548(0x19e)](_0x1684aa))['body'];}[_0x582532(0x177)](){const _0x173883=_0x582532;var _0x21e5a7;return(_0x21e5a7=this['_configService']['getConfig'](_0x173883(0x268)))==null?this[_0x173883(0x228)]():_0x21e5a7;}[_0x582532(0x228)](){const _0x409884=_0x582532;var _0x834c38;let _0x235f3c=this[_0x409884(0x3b0)][_0x409884(0x2ba)](_0x3b7e3d);return(_0x834c38=_0x235f3c==null?void 0x0:_0x235f3c['snapshotServerUrl'])==null?'/universer-api/snapshot':_0x834c38;}async[_0x582532(0x372)](_0x3f1365,_0x718086){const _0x4dc852=_0x582532;let _0x14fb0d=_0x4dc852(0x1d4)+_0x718086[_0x4dc852(0x1a4)]+_0x4dc852(0x11e)+_0x718086[_0x4dc852(0x142)]+_0x4dc852(0x355);return(await this[_0x4dc852(0x195)][_0x4dc852(0x19e)](_0x14fb0d,{'params':{'resourceId':JSON['stringify'](_0x718086[_0x4dc852(0x129)])}}))[_0x4dc852(0x41f)];}[_0x582532(0x24e)](){const _0x4a8d54=_0x582532;throw Error(_0x4a8d54(0x2d5));}[_0x582532(0x318)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x582532(0x12e)](){const _0x3e0669=_0x582532;throw Error(_0x3e0669(0x2d5));}['saveChangeset'](){const _0x4385af=_0x582532;throw Error(_0x4385af(0x2d5));}[_0x582532(0x3b1)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x582532(0x3ea)](){const _0x3a541f=_0x582532;throw Error(_0x3a541f(0x2d5));}};_0x583f98=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)]))],_0x583f98);let _0x42923c=class extends _0x21f9b6[_0x582532(0x240)]{constructor(_0x5b491f,_0x255d61,_0x11b184,_0x5cbc43,_0x5084e4){const _0x5223d4=_0x582532;super(_0x5b491f,_0x255d61,_0x11b184),this['_transformService']=_0x5cbc43,this[_0x5223d4(0x423)]=_0x5084e4;}[_0x582532(0x21b)](_0x256da3,_0x1ead75){const _0x34022c=_0x582532;let _0x1482a3=this[_0x34022c(0x3a2)](_0x256da3);if(_0x1482a3)try{let _0x14822e=this['_transformStack'](_0x1482a3,_0x1ead75);this['_substituteUndoStack'](_0x256da3,_0x14822e);}catch(_0x254aef){this[_0x34022c(0x423)][_0x34022c(0x171)](_0x34022c(0x36c),_0x254aef),this[_0x34022c(0x33b)](_0x256da3);}let _0x35562c=this[_0x34022c(0x271)](_0x256da3);if(_0x35562c)try{let _0xef1f6b=this[_0x34022c(0x26d)](_0x35562c,_0x1ead75);this['_substituteRedoStack'](_0x256da3,_0xef1f6b);}catch(_0x2f0ba2){this[_0x34022c(0x423)][_0x34022c(0x171)](_0x2f0ba2),this[_0x34022c(0x2b4)](_0x256da3);}}[_0x582532(0x33b)](_0x7e3b6f){const _0x15de06=_0x582532;let _0x532ed8=this[_0x15de06(0x3a2)](_0x7e3b6f);_0x532ed8&&(_0x532ed8[_0x15de06(0x2c6)]=0x0,this[_0x15de06(0x1d8)]());}[_0x582532(0x2b4)](_0x4ef4e4){const _0xdfbc8f=_0x582532;let _0x39a6ad=this['_getRedoStack'](_0x4ef4e4);_0x39a6ad&&(_0x39a6ad[_0xdfbc8f(0x2c6)]=0x0,this[_0xdfbc8f(0x1d8)]());}[_0x582532(0x322)](_0x5434bb,_0x3995ce){const _0x2acdf1=_0x582532;this[_0x2acdf1(0x300)][_0x2acdf1(0x31e)](_0x5434bb,_0x3995ce),this['_updateStatus']();}[_0x582532(0x223)](_0x2c8d3e,_0x2b411d){const _0x17efbc=_0x582532;this[_0x17efbc(0x245)][_0x17efbc(0x31e)](_0x2c8d3e,_0x2b411d),this[_0x17efbc(0x1d8)]();}[_0x582532(0x26d)](_0x4e2a3c,_0x1b1886){const _0x57759a=_0x582532;let _0x493079=[],_0x31827b=_0x1b1886,_0x49ec64=_0x1b1886;for(let _0xc2ab7=_0x4e2a3c['length']-0x1;_0xc2ab7>=0x0;_0xc2ab7--){let {unitID:_0x549ac4,undoMutations:_0x50f208,redoMutations:_0x5cd67a}=_0x4e2a3c[_0xc2ab7],_0x757007=this['_transformService'][_0x57759a(0x18a)](_0x31827b,_0x50f208),_0x211e5e=this[_0x57759a(0x32c)][_0x57759a(0x18a)](_0x49ec64,_0x5cd67a);if((0x0,_0xba6f9e[_0x57759a(0x134)])(_0x757007)||(0x0,_0xba6f9e[_0x57759a(0x134)])(_0x211e5e)){this[_0x57759a(0x423)][_0x57759a(0x171)]('[CollaborationUndoRedoService]',_0x57759a(0x409),_0x757007,_0x211e5e);break;}_0x31827b=_0x757007[_0x57759a(0x301)],_0x49ec64=_0x211e5e[_0x57759a(0x301)],_0x493079['push']({'unitID':_0x549ac4,'undoMutations':_0x757007[_0x57759a(0x419)],'redoMutations':_0x211e5e['m2Prime']});}return _0x493079[_0x57759a(0x19b)]();}};_0x42923c=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x2cd)]),_0x385b9b(0x3,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x4,_0x21f9b6[_0x582532(0x2d2)])],_0x42923c);let _0x10a260=class extends _0x21f9b6[_0x582532(0x201)]{constructor(_0x27815d={},_0x3ac0ff,_0x344d62,_0x5db8b2){const _0x5c6ace=_0x582532;super(),this[_0x5c6ace(0x226)]=_0x27815d,this['_logService']=_0x3ac0ff,this[_0x5c6ace(0x279)]=_0x344d62,this[_0x5c6ace(0x3b0)]=_0x5db8b2;let {..._0x5e6d3d}=(0x0,_0x21f9b6['merge'])({},_0x1a0a3c,_0x27815d);if(!_0x5e6d3d[_0x5c6ace(0x16d)])throw Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x5e6d3d,this[_0x5c6ace(0x3b0)][_0x5c6ace(0x2d8)](_0x3b7e3d,_0x5e6d3d);}['onStarting'](){const _0x467e47=_0x582532;this[_0x467e47(0x35a)](),this[_0x467e47(0x1b8)]();}[_0x582532(0x35a)](){const _0x25fa56=_0x582532;var _0x5658e6,_0x8385e5;this[_0x25fa56(0x279)][_0x25fa56(0x2e9)](_0x21f9b6[_0x25fa56(0x3c6)])&&this[_0x25fa56(0x423)][_0x25fa56(0x171)](_0x25fa56(0x313),_0x25fa56(0x21d));let _0x2df68c=(0x0,_0x21f9b6[_0x25fa56(0x124)])([[_0x21f9b6[_0x25fa56(0x3c6)],{'useClass':_0x42923c}],[_0x457933],[_0x42c541],[_0x43e293],[_0x3d2f49],[_0x23debf],[_0x386670],[_0x2ff624],[_0x49c645],[_0xc0f129],[_0x1b8f90,{'useClass':this[_0x25fa56(0x226)][_0x25fa56(0x16d)]}],[_0xba6f9e[_0x25fa56(0x349)],{'useClass':_0x583f98}],[_0x21f9b6[_0x25fa56(0x1f1)],{'useClass':_0x23b744}],[_0x432f50[_0x25fa56(0x3e1)],{'useClass':_0x567524}],[_0x21f9b6[_0x25fa56(0x1e0)],{'useClass':_0x51ebde}],[_0x28cc0e],[_0x5e16b4]],(_0x5658e6=this['_config'])==null?void 0x0:_0x5658e6[_0x25fa56(0x356)]);if(!((_0x8385e5=this[_0x25fa56(0x226)])!=null&&_0x8385e5['enableSingleActiveInstanceLock'])){let _0x4454a2=_0x2df68c[_0x25fa56(0x26e)](([_0x4e8457])=>_0x4e8457===_0x4ada3c);_0x4454a2!==-0x1&&_0x2df68c['splice'](_0x4454a2,0x1);}(0x0,_0x21f9b6[_0x25fa56(0x37e)])(this[_0x25fa56(0x279)],_0x2df68c);}[_0x582532(0x1b8)](){const _0x292f3e=_0x582532;var _0x55f659,_0x4fa2c8;if(this[_0x292f3e(0x279)][_0x292f3e(0x19e)](_0xf4c2fc[_0x292f3e(0x1b3)])[_0x292f3e(0x185)]({'priority':0x14,'interceptor':(0x0,_0xf4c2fc[_0x292f3e(0x42a)])({'maxParallel':0x6})}),!((_0x55f659=this[_0x292f3e(0x226)])!=null&&_0x55f659[_0x292f3e(0x3b7)])){var _0x4c4737;(_0x4c4737=this['_injector'][_0x292f3e(0x19e)](_0x2705d1,_0x21f9b6[_0x292f3e(0x2be)]['OPTIONAL']))==null||_0x4c4737[_0x292f3e(0x405)]();}(_0x4fa2c8=this[_0x292f3e(0x226)])!=null&&_0x4fa2c8[_0x292f3e(0x1f7)]&&(0x0,_0x21f9b6[_0x292f3e(0x37f)])(this['_injector'],[[_0x3d2f49]]),(0x0,_0x21f9b6[_0x292f3e(0x37f)])(this['_injector'],[[_0x23debf],[_0x28cc0e],[_0x2ff624]]);}};_0x158768(_0x10a260,_0x582532(0x333),_0x582532(0x289)),_0x158768(_0x10a260,_0x582532(0x1d5),_0x2aec61),_0x158768(_0x10a260,_0x582532(0x1b2),_0x1c30ed),_0x10a260=_0x9fca30([(0x0,_0x21f9b6[_0x582532(0x31f)])(_0xaf7c7d['UniverLicensePlugin'],_0xba6f9e[_0x582532(0x247)],_0xf4c2fc[_0x582532(0x1d1)]),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x2,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x3,_0x21f9b6[_0x582532(0x3e2)])],_0x10a260),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x32b),{'enumerable':!0x0,'get':function(){return _0x23b744;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x14f),{'enumerable':!0x0,'get':function(){return _0x4cb993;}}),Object[_0x582532(0x2f7)](_0x5382ad,'AwaitingWithPendingState',{'enumerable':!0x0,'get':function(){return _0x548b22;}}),_0x5382ad[_0x582532(0x11a)]=_0x3b7e3d,Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x218),{'enumerable':!0x0,'get':function(){return _0x28cc0e;}}),Object['defineProperty'](_0x5382ad,_0x582532(0x3fe),{'enumerable':!0x0,'get':function(){return _0x20db3d;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x307),{'enumerable':!0x0,'get':function(){return _0x567524;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x3f6),{'enumerable':!0x0,'get':function(){return _0x172cb0;}}),Object['defineProperty'](_0x5382ad,_0x582532(0x342),{'enumerable':!0x0,'get':function(){return _0x457933;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x2ee),{'enumerable':!0x0,'get':function(){return _0xc1659c;}}),_0x5382ad['CollaborationStatus']=_0x259f7c,_0x5382ad[_0x582532(0x3cc)]=_0x214ddb,_0x5382ad[_0x582532(0x135)]=_0x49c645,Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x14b),{'enumerable':!0x0,'get':function(){return _0x42923c;}}),_0x5382ad[_0x582532(0x30d)]=_0x386670,Object['defineProperty'](_0x5382ad,'ConflictState',{'enumerable':!0x0,'get':function(){return _0x2d5de6;}}),_0x5382ad[_0x582532(0x281)]=_0x107e87,_0x5382ad[_0x582532(0x414)]=_0x582532(0x14a),_0x5382ad[_0x582532(0x1be)]=_0x582532(0x374),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x27e),{'enumerable':!0x0,'get':function(){return _0xc0f129;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x36b),{'enumerable':!0x0,'get':function(){return _0xd1a0d8;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x29b),{'enumerable':!0x0,'get':function(){return _0x231f53;}}),_0x5382ad[_0x582532(0x339)]='HEARTBEAT_INTERVAL',_0x5382ad[_0x582532(0x242)]=_0x582532(0x36a),_0x5382ad[_0x582532(0x1c6)]=_0x1b8f90,_0x5382ad[_0x582532(0x427)]=_0x2705d1,_0x5382ad[_0x582532(0x2db)]=_0x3cb508,_0x5382ad[_0x582532(0x40d)]=_0x4ada3c,_0x5382ad[_0x582532(0x362)]=0x3e8,_0x5382ad[_0x582532(0x2d7)]=_0x582532(0x362),Object[_0x582532(0x2f7)](_0x5382ad,'MemberService',{'enumerable':!0x0,'get':function(){return _0x42c541;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x23f),{'enumerable':!0x0,'get':function(){return _0x51ebde;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x22d),{'enumerable':!0x0,'get':function(){return _0x23f8dc;}}),Object['defineProperty'](_0x5382ad,_0x582532(0x1a1),{'enumerable':!0x0,'get':function(){return _0x348615;}}),_0x5382ad[_0x582532(0x3e6)]=_0x582532(0x402),_0x5382ad[_0x582532(0x40c)]=_0x582532(0x1a5),_0x5382ad[_0x582532(0x184)]=_0x42d806,Object['defineProperty'](_0x5382ad,'SheetCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x33b45e;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x1da),{'enumerable':!0x0,'get':function(){return _0x43e293;}}),Object['defineProperty'](_0x5382ad,'SnapshotServerOverHTTPService',{'enumerable':!0x0,'get':function(){return _0x583f98;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x2c0),{'enumerable':!0x0,'get':function(){return _0x51c4b3;}}),_0x5382ad[_0x582532(0x1df)]=_0x5e2f10,Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x182),{'enumerable':!0x0,'get':function(){return _0x10a260;}}),_0x5382ad[_0x582532(0x420)]=_0x8921cb,_0x5382ad[_0x582532(0x378)]=_0x183d07,_0x5382ad[_0x582532(0x391)]=_0x16a106;}));
2
+ function _0x1951(_0xcf935d,_0x1db3c3){_0xcf935d=_0xcf935d-0x1e7;const _0x537ede=_0x537e();let _0x1951f2=_0x537ede[_0xcf935d];return _0x1951f2;}function _0x537e(){const _0x3d7b50=['output','_memberService','[CollaborationSessionService]','CHANGESET_ACK','_members$','connection\x20error','CollaborationController','[UniverCollaborationClientPlugin]','DataLoaderService','SheetPermissionInitController','_emitMembers','_onRemoteRejected','_getDownloadEndpointURL','Error\x20on\x20receiving\x20event','body','getValue','isSafeInteger','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','onMissedChangesetFetched','compose','crypto','_onUserLeave','take','transformStack\x20failed!','_logService','_substituteRedoStack','awaitingChangeset','_transformStateCache','_transitionLocked','isTransformChangesetsSuccess','CollaborationSessionService','equals','_remoteChangesetQueue','UniverProCollaborationClient','LIVESHARE_REQUEST_HOST','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unit-cache-','online$','shouldCloseConn','init','USERS_LEAVE','newCsEvent','waitForRoom$','delete','shareReplay','_startCollaboration','actions','JOIN_ROOM_PERMISSION_DENIED','_roomCreated$','_queuedRemoteChangesets','@univerjs/protocol','UniverTelemetry','_socketService','ErrorCode','UPDATE_PERMISSION_OBJ','reject','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','type=','SheetTransformSelectionsService','_getRedoStack','/universer-api/stream/file/upload','Inject','type','onRemoteChangeset','_clearLocalCache','ONLINE','MergeInterceptorFactory','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/-/object/list','[SyncedState]:\x20received\x20acknowledgement.','transformMutationsWithChangeset','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','/resources','subUnitId','SYNCED','_entityInit$','PendingState','getCurrentSelections','[CollaborationSession]','RECV','_substituteUndoStack','\x20to\x20','UniverLicensePlugin','synced','subarray','crypto.getRandomValues\x20must\x20be\x20defined','FETCH_MISSING','_transformService','CmdRspCode','_onUserJoin','MentionType','size','length=','_getAPIPrefixPath','SUBMIT_CHANGESET_TIMEOUT','objectType','_entities','getCollabEntity$','withCredentials','ImageSourceType','splice','textEncoder','loadOfflineData','589728WRcmgI','_changesetSessionId','complete','encodeURIComponent','send','BASE64','HEARTBEAT_INTERVAL','_doCreateSocket','JOIN_ROOM_NOT_EXISTS','members$','members','6izZMBe','byteOffset','parseProtocolChangeset','enableOfflineEditing','hostname','_networkConditionService','getFocusedUnit','reverse','code','BYTES_PER_ELEMENT','/universer-api/authz','override','ConflictState','firstValueFrom','saveImage','/universer-api/file/{fileID}/sign-url','userID','isArray','OTHER_CLIENT_EDITING','changesets','getImageSourceCache','fromCollab','touchDependencies','onStateChange','_transformSelections','registerDependencies','buffer','/universer-api/oidc/authpage','getRandomValues','dispose$','isTransformMutationsWithChangesetFailure','HTTPService','_rescheduleHeartbeat','memberID','FileSource','_getLoginPath','getSnapshotAPIPath','_syncEditingCollabCursor','_transformStack','_updateState','AWAITING','_permissionService','UniverCore','selections','HTTPRequest','SOCKET_FAILED','leaveEvent','subscribe','_telemetryInfo','every','takeUntil','CompressMutationService','symbol','_localCacheService','parseChangesetToProtocol','_getSignURL','eventID','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_waitCount','/-/object/-/batch_allowed','10oQfLIB','stopTime','_onMessage','createSocket','_collaborationPaused','_checkMissing','debug','SnapshotService','@univerjs/telemetry','IDLE','_injector','SUBMIT_CHANGESET','IImageIoService','routeKey','/block/','RETRY_CONNECTING_MAX_COUNT','_shouldReportTelemetry','originalMeta','toStringTag','createCollaborator','LIVESHARE_TERMINATE','constructor','INetworkConditionService','Subject','awaiting_with_pending','error','InsertSheetMutation','positive\x20integer\x20expected,\x20got\x20','[CollaborationSessionService]:\x20socket\x20error','_joinRoom','[SyncedState]:\x20received\x20rejection.','_collaborationTimeoutTimer','requireSession','176545JobijB','RETRY_CONNECTING_MAX_COUNT_KEY','_snapshotServerService','_sendingTimer','params','_scheduleCompleteTimestamp','NEW_CHANGESETS','_instanceService','NO_OTHER_CLIENTS_EDITING','_transformRemoteChangesetByIMECache','_clearScheduledTask','UNIVER_SHEET','_state','objectID','offline','_commandService','_submitChangeset','COMPRESS_MUTATION_SEND','_scheduleCollaborationTimeoutTimer','collaboration-client.local-cache-service','uniscriptRunEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','title','_registerDependencies','sid','getWorkbookSelections','/universer-api/snapshot/','PERMISSION_DENIED','UPDATE_CURSOR','&to=','editing\x20status\x20changed\x20to',',\x20got:\x20','collabWebSocketUrl','pluginName','_changesetReqId','_sheetTransformSelectionsService','src','min','GLOBAL_ROOMS_CNT_EXCEEDS','onload','[PendingState]:\x20received\x20acknowledgement.','getRoom','deserializeToCombResponse','duration','_onRemoteChangeset','mapDocumentTypeToUniverInstanceType','_getSendChangesetTimeout','_initCloseConn','Quantity','/universer-api/uniscript','encode','Rectangle','createIdentifier','resolve','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/allowed','OTHER_CLIENTS_EDITING','range','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','_initRequestHeader','default','SyncedState','UniverNetworkPlugin','confirm','_sessionStatus$','fetchMissingChangesets','_createSocket','conflict','workbook','getMemberID','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','has','AWAITING_WITH_PENDING','_toggleOffline','rxjs','AuthzIoHttpService','HEARTBEAT','getSheetBlock','asObservable','close$','enableSingleActiveInstanceLock','getAllMembers','ICollaborationSocketService','_event$','x-univer-host','{fileID}','updatePermissionPoint','unitID','name','data','_status$','_throwTelemetryCollaborationNewChangeset','_applyRemoteChangeset','JOIN','onSendChangeset','result','_clearCollaborationTimeoutTimer','_members','cmd','_getCurrentRevision','RxDisposable','updateOfflineData','getTypeOfUnitDisposed$','558212lsEUPW','_onConnectionFailed','JOIN_ROOM_FULL','message$','[CollaborationEntity]','_createInitialStateImpl','push','location','/collaborator','sequenceExecute','socket\x20close','onStarting','7ISjkNA','isTransformMutationsWithChangesetSuccess','JOIN_ROOM_FAILED','LocaleService','INGEST','session.join-failed','FETCH_MISS','Tools','_exhaustRemoteChangesetQueue','_isPermissionRej','localCacheService','onSyncEditingCollabCursor','state','UniverInstanceType','dispose','_collaborationUIEventService','WorkbookEditablePermission','setCfgEnableObjInherit','_HTTPService','_init','CollaborationEvent','CommentService','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','PSEUDO_FETCH_MISSING_RESULT','interceptor','unitId\x20is\x20not\x20found','getUnitOnRev','ImageUploadStatusType','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','UNISCRIPT_RUN','loginUrlKey','_clearUndo','close','DocCollaborationEntity','getTypeOfUnitAdded$','IUndoRedoService','status$','_sessions','OFFLINE','MUTATION','status','collaborators','_incrementRevisionNumber','collaboration-client.config','baseRev','Disposable','_getUndoStack','responseType','updateCursorEvent','sessionStatus$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','uploadFileServerUrl','ThresholdInterceptorFactory','max','updateMember','LOCAL_CACHE_INTERVAL','image/png','copyFileMeta','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitId','startsWith','/rev/','open$','_unlockTransition','signUrlServerUrl','incrementRevOfUnit','getDeserializedSheetBlock','_collaborationSessionService','_awaitingChangeset','JSONX','toPrimitive','_clearRetryConnectingTimer','rxjs/operators','emitEvent','function','ITelemetryService','reconnect','findIndex','loadUnitOfRevision','_configService','create','LEAVE','ILocalCacheService','_transformRemoteChangesetByStateCache','_onCombEvent','_telemetryService','_getUploadFileURL','setWaitCount','_onFetchMissResult','getLocalCacheKey','onMutationExecutedForCollab','_imageSourceCache','[OfflineState]:\x20received\x20rejection.','resourceIDs','CollaborationEntity','IConfigService','concatMap','unknown','isPermissionRej','packageName','_undoRedoService','_retryCount','SOCKET_FAILED_RETRY','list','\x0aCurrent:\x20','ws://127.0.0.1:8000/universer-api/comb/connect','indexOf','_resendTimeout','\x20-\x20','onTransformRemoteChangesetByIMECache','apply','UniverDocs','loadUnit','_createHandler','collabSubmitChangesetUrl','UnitStatus','onCommentUpdate','image/jpeg','href','url','reduce','loadDoc','IUniverInstanceService','infoRsp','enableCollaboration','OfflineState','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','uuidv4','stringify','MentionIoHttpService','_waitForHeartbeatResponse','createInstance','defineProperty','deleteCollaborator','_tryEnsureSocket','readAsDataURL','133638eSXWTR','HELLO','PERMISSION_REJ','roomInfos','saveSheetBlock','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','&assign=','_resendWithTimeout','LocalUndoRedoService','_getAPIPrefix','_revisionService','_socketReady','add','snapshotServerUrl','updatePermissionObjEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','key','_socketMessageSubscription','_userManagerService','getConfig','fill','downloadEndpointUrl','_disableEditing','event$','ILogService','socket\x20open.','JOINING','ERROR_IMAGE','onRemoteRej','@univerjs-pro/license','/universer-api/comb','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','clear','RichTextEditingMutation','SetSelectionsOperation','SHOULD_CLOSE_CONN','UNIVER_COLLABORATION_CLIENT_PLUGIN','toHex','call','UniverProLicense','subject','get','CLOSE_ROOM','permissionRejEvent','_resendTimer','LIVESHARE_NEW_HOST','_onRemoteACK','ISingleActiveUnitService','deepClone','save\x20fail\x20reason\x20is\x20','liveShareNewHost','_singleActiveUnitService','_removeRoom','OPTIONAL','objectActions','csAckEvent','274401yWWnbq','@univerjs/network','now','CollaborationStatus','fetching\x20missing\x20changesets\x20from\x20','_univerInstanceService','IContextService','ISocketService','_localeService','encrypt','requestParams','_initUnitPermissionChange','onMissingChangesets','getUnitType','setConfig','_sender','UNIVER_DOC','_type','getTime','_commentService','parse','put','_transformIMECache','nonceLength','CollaborationUIEventService','decrypt','error$','readyForCollab','onTransformState','/fetchmissing?from=','_candidateSocket','LIVESHARE_OPERATION','CollaborationSocketService','method','rev','RevisionService','_onRecvEvent','target','FAIL','localeService','unitId','UniverProCollaboration','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','focused$','_collabSessionService','set','_replayCachedMutations','object','joinEvent','slice','\x20in\x20_schedule.','AAD','revision','length','&source=','registerHTTPInterceptor','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','commentUpdate$','_lockTransition','ERROR_EXCEED_SIZE','[OfflineState]:\x20received\x20acknowledgement.','getResourcesRequest','_compressMutationService','c1Prime','post','ISnapshotServerService','People','IAuthzIoService','not_collab','byteLength','update','CommandType','sessionStatus','closeSession','onRemoteAck','getLatestCsReqIdBySid','CollaborationImageIoService','getInterceptPoints','state$','DisposableCollection','_updateLocalCache','_schedule','@univerjs-pro/collaboration-client','SUCCUSS','action','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getGlobalObject','then','getImage','sendChangesetTimeout','cfgEnableObjInherit','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','prototype','merge','NOT_COLLAB','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_onConnectionOpen','pending','nonce','PERSON','headers','/unit/','onTransformIME','\x20of\x20length\x20','allowed','roles','_onConflict','session.room-not-exists','session.room-permission-denied','objects','_handler','transformSelections','_initMergeInterceptor','_roomMembers','onTransformSelections','LOCAL_CACHE_INTERVAL_KEY','_startTelemetryCollaborationNewChangeset','sheets','transformChangesets','entries','getMember','_getCtorByUniverInstanceType','_cfgEnableObjInherit','collaMsg','resend','_unitInfo$','_socket','image/bmp','/object/','_timeoutTimer','_acknowledgedAwaitingChangeset','toString','decorate','retryConnectingInterval','_handlerCallback','UniverCollaborationClientPlugin','invalid\x20output,\x20must\x20be\x20aligned','SessionStatus','authzUrl','resolveWithBasePath','session.room-full','csRejEvent','_onJoinRoomEvent','floor','change$','ICommandService','string','Optional','socket$','_onRemoteRetry','next','includes','[OfflineState]:\x20received\x20changeset.','_listenToNetworkCondition','CHANGESET_SHOULD_RETRY',',\x20got\x20','@univerjs/docs','DEFAULT_FILE_NAME','aes/pkcs7:\x20wrong\x20padding','toDisposable','toggleOnline','forEach','_updateStatus','MemberService','removeMember','USERS_ENTER','_redoStacks','CHANGESET_REJ','c2Prime','_snapshotService','[FetchMissState]','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','reqId','_socket$','AwaitingState','onRemoteRetry','_tryReconnect','getOwnPropertyDescriptor','_unitID','varSizeNonce','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ITransformService','?url=','UniverNetwork','POST','LIVESHARE_FETCH_OPERATIONS','Univer','delay','liveShareOperation','/new_changes','_showConflictNotification','@univerjs-pro/collaboration','[PendingState]:\x20received\x20rejection.','MSG_FOR_ERROR','origin','/role','_clearTimeoutTimer','3461571VMUkif','/universer-api/user/session-ticket','fromHex','_clearRedo','toggleOffline','__splitChunk__','fromCharCode','loadSheet','socketService','_commentUpdate$','COMPRESS_MUTATION_APPLY','_config','map','_retryConnectingTimer','isInternalEditorID','unsubscribe','getCurrentUser','[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.','appendMutation','CombCmd','_httpService','CollaborativeUndoRedoService','avatar','getCfgEnableObjInherit','UniverProtocol','from','session','_decreaseWaiting','_maxTotalRetryTimeout','fetchThroughInterceptors','_clearHeartbeatTimer','288118llQCBN','_onLocalMutation','_initDependencies','b64DecodeUnicode','auth.needGotoLoginAlert','FileId','disableLocalCache','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','addImageSourceCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[DataLoaderService]','univer-pro.collaboration-client-socket-service','unit','onLocalMutation','_sendHeartbeatTimer','collaboratorID','operators','SheetCollaborationEntity','image/gif','find','UniverDrawing','_pendingMutations','filter','BehaviorSubject','COMMENT_UPDATE','charCodeAt','getCurrentRevOfUnit','SnapshotServerOverHTTPService','UUID','values','executeCommand','onTransformRemoteChangesetByStateCache','?size=','mutations','HEARTBEAT_TIMEOUT','pipe','disposeWithMe','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','number','fetchMiss','_replaceFileID','HEARTBEAT_TIMEOUT_KEY','getUnitStatus$','IPermissionService','m2Prime','Workbook','_state$','CONFLICT','Injector','getActiveSheet','[CollaborationUndoRedoService]','awaiting','append','_executeRemoteChangeset','_createInitialState','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','listRoles','batchAllowed','/object','ReplaySubject','disablePadding','_transformUndoredo','_change$','setShowComponents','\x0aAfter:\x20','UserManagerService','_onOffline'];_0x537e=function(){return _0x3d7b50;};return _0x537e();}(function(_0x2ba2db,_0x157b5a){const _0x1f3005=_0x1951,_0x33cbe0=_0x2ba2db();while(!![]){try{const _0x54ad80=parseInt(_0x1f3005(0x2cc))/0x1+-parseInt(_0x1f3005(0x3b0))/0x2+parseInt(_0x1f3005(0x466))/0x3*(-parseInt(_0x1f3005(0x1fe))/0x4)+-parseInt(_0x1f3005(0x4c3))/0x5+parseInt(_0x1f3005(0x293))/0x6+parseInt(_0x1f3005(0x20a))/0x7*(-parseInt(_0x1f3005(0x45b))/0x8)+-parseInt(_0x1f3005(0x391))/0x9*(-parseInt(_0x1f3005(0x4a2))/0xa);if(_0x54ad80===_0x157b5a)break;else _0x33cbe0['push'](_0x33cbe0['shift']());}catch(_0x4bb76){_0x33cbe0['push'](_0x33cbe0['shift']());}}}(_0x537e,0x2466f),function(_0x2d7875,_0x21a7f1){const _0x5e27e5=_0x1951;typeof exports=='object'&&typeof module<'u'?_0x21a7f1(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/protocol`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define=='function'&&define['amd']?define(['exports',_0x5e27e5(0x38b),'@univerjs/core',_0x5e27e5(0x368),'@univerjs/sheets',_0x5e27e5(0x50d),_0x5e27e5(0x425),_0x5e27e5(0x4aa),_0x5e27e5(0x253),_0x5e27e5(0x2cd),_0x5e27e5(0x2b0),'@univerjs/drawing'],_0x21a7f1):(_0x2d7875=typeof globalThis<'u'?globalThis:_0x2d7875||self,_0x21a7f1(_0x2d7875[_0x5e27e5(0x414)]={},_0x2d7875[_0x5e27e5(0x2f5)],_0x2d7875[_0x5e27e5(0x490)],_0x2d7875[_0x5e27e5(0x27a)],_0x2d7875['UniverSheets'],_0x2d7875['rxjs'],_0x2d7875[_0x5e27e5(0x3a9)],_0x2d7875[_0x5e27e5(0x426)],_0x2d7875[_0x5e27e5(0x50d)][_0x5e27e5(0x3c0)],_0x2d7875[_0x5e27e5(0x383)],_0x2d7875[_0x5e27e5(0x2bb)],_0x2d7875[_0x5e27e5(0x3c4)]));}(this,function(_0x1d11dd,_0x35ef0a,_0x2fb456,_0x4923d3,_0x558c66,_0x5eae7e,_0x402625,_0x595543,_0x41c5dd,_0x25f3fb,_0x54ba21,_0x4f2ba2){const _0x500950=_0x1951;Object[_0x500950(0x28f)](_0x1d11dd,Symbol[_0x500950(0x4b4)],{'value':'Module'});let _0x551362=_0x500950(0x274),_0x4293e1=0x4e20;function _0x4d509d(_0x550a7e){const _0x2664ce=_0x500950;return JSON[_0x2664ce(0x28b)](_0x550a7e)[_0x2664ce(0x301)];}function _0x3b102e(_0x5f5737){'@babel/helpers - typeof';const _0x231fbd=_0x500950;return _0x3b102e=typeof Symbol==_0x231fbd(0x255)&&typeof Symbol['iterator']=='symbol'?function(_0x3f9721){return typeof _0x3f9721;}:function(_0x1c6557){const _0x328429=_0x231fbd;return _0x1c6557&&typeof Symbol==_0x328429(0x255)&&_0x1c6557[_0x328429(0x4b7)]===Symbol&&_0x1c6557!==Symbol[_0x328429(0x328)]?_0x328429(0x49a):typeof _0x1c6557;},_0x3b102e(_0x5f5737);}function _0x3a510c(_0x873181,_0x149dff){const _0x7d0ad=_0x500950;if(_0x3b102e(_0x873181)!=_0x7d0ad(0x2fb)||!_0x873181)return _0x873181;var _0x21698a=_0x873181[Symbol[_0x7d0ad(0x251)]];if(_0x21698a!==void 0x0){var _0x593f24=_0x21698a[_0x7d0ad(0x2ba)](_0x873181,_0x149dff||_0x7d0ad(0x4ff));if(_0x3b102e(_0x593f24)!=_0x7d0ad(0x2fb))return _0x593f24;throw TypeError(_0x7d0ad(0x3b7));}return(_0x149dff===_0x7d0ad(0x35e)?String:Number)(_0x873181);}function _0x11adf3(_0x30d2cf){const _0x27c9f6=_0x500950;var _0x410ef3=_0x3a510c(_0x30d2cf,_0x27c9f6(0x35e));return _0x3b102e(_0x410ef3)==_0x27c9f6(0x49a)?_0x410ef3:_0x410ef3+'';}function _0x3dd6fc(_0x483668,_0x4c24c2,_0x57b16c){return(_0x4c24c2=_0x11adf3(_0x4c24c2))in _0x483668?Object['defineProperty'](_0x483668,_0x4c24c2,{'value':_0x57b16c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x483668[_0x4c24c2]=_0x57b16c,_0x483668;}let _0x3221f8=function(_0x310c99){const _0x12bbf0=_0x500950;return _0x310c99[_0x12bbf0(0x478)]=_0x12bbf0(0x478),_0x310c99[_0x12bbf0(0x4de)]=_0x12bbf0(0x4de),_0x310c99['CONFLICT']=_0x12bbf0(0x3df),_0x310c99[_0x12bbf0(0x2be)]=_0x12bbf0(0x2be),_0x310c99[_0x12bbf0(0x20c)]=_0x12bbf0(0x20c),_0x310c99[_0x12bbf0(0x271)]='SOCKET_FAILED_RETRY',_0x310c99[_0x12bbf0(0x493)]=_0x12bbf0(0x493),_0x310c99[_0x12bbf0(0x452)]=_0x12bbf0(0x452),_0x310c99;}({});var _0x4cb1da=class{constructor(){const _0x13c3a5=_0x500950;_0x3dd6fc(this,_0x13c3a5(0x1ea),new _0x5eae7e['Subject']()),_0x3dd6fc(this,_0x13c3a5(0x2aa),this[_0x13c3a5(0x1ea)][_0x13c3a5(0x511)]());}[_0x500950(0x254)](_0x7b3098){const _0x42a5a4=_0x500950;this[_0x42a5a4(0x1ea)][_0x42a5a4(0x362)](_0x7b3098);}},_0x732d06=class{constructor(){const _0x3f4d42=_0x500950;_0x3dd6fc(this,_0x3f4d42(0x39a),new _0x5eae7e[(_0x3f4d42(0x4b9))]()),_0x3dd6fc(this,_0x3f4d42(0x305),this[_0x3f4d42(0x39a)][_0x3f4d42(0x511)]());}[_0x500950(0x27f)](_0x382603){const _0x4e968b=_0x500950;this[_0x4e968b(0x39a)][_0x4e968b(0x362)](_0x382603);}};function _0x42aff9(_0xff6de0,_0x42a100){return function(_0x12dfcd,_0x183921){_0x42a100(_0x12dfcd,_0x183921,_0xff6de0);};}function _0x1c7ac3(_0xa1d6d6,_0x407e0d,_0xa70b5b,_0x13fdec){const _0x2d4d80=_0x500950;var _0x55773f=arguments[_0x2d4d80(0x301)],_0x33490=_0x55773f<0x3?_0x407e0d:_0x13fdec===null?_0x13fdec=Object[_0x2d4d80(0x37d)](_0x407e0d,_0xa70b5b):_0x13fdec,_0xea0be4;if(typeof Reflect==_0x2d4d80(0x2fb)&&typeof Reflect[_0x2d4d80(0x350)]=='function')_0x33490=Reflect[_0x2d4d80(0x350)](_0xa1d6d6,_0x407e0d,_0xa70b5b,_0x13fdec);else{for(var _0x38b7a6=_0xa1d6d6[_0x2d4d80(0x301)]-0x1;_0x38b7a6>=0x0;_0x38b7a6--)(_0xea0be4=_0xa1d6d6[_0x38b7a6])&&(_0x33490=(_0x55773f<0x3?_0xea0be4(_0x33490):_0x55773f>0x3?_0xea0be4(_0x407e0d,_0xa70b5b,_0x33490):_0xea0be4(_0x407e0d,_0xa70b5b))||_0x33490);}return _0x55773f>0x3&&_0x33490&&Object[_0x2d4d80(0x28f)](_0x407e0d,_0xa70b5b,_0x33490),_0x33490;}let _0xe1c77b=class extends _0x2fb456['Disposable']{constructor(_0x1be02e,_0x5e0b1a){const _0x513e0f=_0x500950;super(),this[_0x513e0f(0x2d1)]=_0x1be02e,this[_0x513e0f(0x2a5)]=_0x5e0b1a,_0x3dd6fc(this,_0x513e0f(0x33d),new Map()),_0x3dd6fc(this,_0x513e0f(0x423),new _0x5eae7e[(_0x513e0f(0x4b9))]()),this[_0x513e0f(0x3d4)]((0x0,_0x5eae7e[_0x513e0f(0x329)])(this[_0x513e0f(0x2d1)][_0x513e0f(0x1fd)](_0x2fb456[_0x513e0f(0x217)][_0x513e0f(0x4ce)])[_0x513e0f(0x3d3)]((0x0,_0x41c5dd[_0x513e0f(0x39d)])(_0x8c7fb4=>_0x8c7fb4[_0x513e0f(0x246)]())),this['_univerInstanceService'][_0x513e0f(0x1fd)](_0x2fb456[_0x513e0f(0x217)]['UNIVER_DOC'])[_0x513e0f(0x3d3)]((0x0,_0x41c5dd[_0x513e0f(0x39d)])(_0x4341d5=>_0x4341d5[_0x513e0f(0x246)]())))[_0x513e0f(0x495)](_0x402306=>this['_removeRoom'](_0x402306)));}[_0x500950(0x41d)](_0x4bad26){const _0x16c9fa=_0x500950;return this['_roomMembers'][_0x16c9fa(0x50a)](_0x4bad26)?(0x0,_0x5eae7e['of'])(this[_0x16c9fa(0x33d)]['get'](_0x4bad26)):this['_roomCreated$'][_0x16c9fa(0x3d3)]((0x0,_0x41c5dd[_0x16c9fa(0x39d)])(_0x298a33=>{const _0x1894ad=_0x16c9fa;if(_0x298a33===_0x4bad26)return this['_roomMembers'][_0x1894ad(0x2bd)](_0x298a33);}));}['setCurrentUser'](_0x56c8f8){const _0xb5ecd=_0x500950;this[_0xb5ecd(0x2a5)]['setCurrentUser'](_0x56c8f8);}[_0x500950(0x3a1)](){const _0x4ed752=_0x500950;return this['_userManagerService'][_0x4ed752(0x3a1)]();}[_0x500950(0x241)](_0x3d9365,_0x488d87){const _0xccab04=_0x500950;let _0x676a7d=this[_0xccab04(0x33d)][_0xccab04(0x2bd)](_0x3d9365);_0x676a7d||(_0x676a7d=new _0x4d46aa(),this[_0xccab04(0x33d)][_0xccab04(0x2f9)](_0x3d9365,_0x676a7d),this['_roomCreated$'][_0xccab04(0x362)](_0x3d9365)),_0x676a7d['updateMember'](_0x488d87);}[_0x500950(0x370)](_0x399b8e,_0x56d608){const _0x23ff47=_0x500950;let _0x11a4df=this[_0x23ff47(0x33d)][_0x23ff47(0x2bd)](_0x399b8e);_0x11a4df&&_0x11a4df[_0x23ff47(0x370)](_0x56d608);}[_0x500950(0x4ec)](_0x2e6541){const _0x36c4b0=_0x500950;return this[_0x36c4b0(0x33d)][_0x36c4b0(0x2bd)](_0x2e6541);}[_0x500950(0x344)](_0x3dd45c,_0x201e19){const _0x4b643a=_0x500950;let _0xb5a92b=this[_0x4b643a(0x33d)][_0x4b643a(0x2bd)](_0x3dd45c);if(_0xb5a92b)return _0xb5a92b[_0x4b643a(0x344)](_0x201e19);}[_0x500950(0x2c8)](_0x5ce635){const _0x37a31a=_0x500950;let _0x4ff51f=this[_0x37a31a(0x33d)][_0x37a31a(0x2bd)](_0x5ce635);_0x4ff51f&&(_0x4ff51f['dispose'](),this[_0x37a31a(0x33d)][_0x37a31a(0x41e)](_0x5ce635));}[_0x500950(0x218)](){const _0x5d4526=_0x500950;this[_0x5d4526(0x33d)][_0x5d4526(0x36d)](_0x3d8cc6=>_0x3d8cc6[_0x5d4526(0x218)]()),this[_0x5d4526(0x33d)][_0x5d4526(0x2b4)](),this[_0x5d4526(0x423)][_0x5d4526(0x45d)]();}};_0xe1c77b=_0x1c7ac3([_0x42aff9(0x0,_0x2fb456[_0x500950(0x285)]),_0x42aff9(0x1,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x3f1)]))],_0xe1c77b);var _0x4d46aa=class extends _0x2fb456[_0x500950(0x238)]{constructor(..._0x415224){const _0x4aafe4=_0x500950;super(..._0x415224),_0x3dd6fc(this,_0x4aafe4(0x1f8),new Map()),_0x3dd6fc(this,_0x4aafe4(0x3f7),new _0x5eae7e['BehaviorSubject'](this[_0x4aafe4(0x1f8)])),_0x3dd6fc(this,_0x4aafe4(0x464),this[_0x4aafe4(0x3f7)]['asObservable']());}[_0x500950(0x218)](){const _0x292b93=_0x500950;this[_0x292b93(0x1f8)][_0x292b93(0x2b4)](),this[_0x292b93(0x3f7)]['complete']();}[_0x500950(0x241)](_0x30734b){const _0x311b03=_0x500950;this[_0x311b03(0x1f8)][_0x311b03(0x2f9)](_0x30734b['memberID'],_0x30734b),this[_0x311b03(0x3fd)]();}[_0x500950(0x370)](_0x6007fc){this['_members']['delete'](_0x6007fc),this['_emitMembers']();}[_0x500950(0x344)](_0x5c85fb){const _0x21d3d6=_0x500950;return this[_0x21d3d6(0x1f8)][_0x21d3d6(0x2bd)](_0x5c85fb);}[_0x500950(0x1e8)](){const _0x25a247=_0x500950;return Array[_0x25a247(0x3aa)](this[_0x25a247(0x1f8)][_0x25a247(0x3cd)]());}[_0x500950(0x3fd)](){const _0x1c896e=_0x500950;this[_0x1c896e(0x3f7)][_0x1c896e(0x362)](this[_0x1c896e(0x1f8)]);}};let _0x486856=function(_0xd6c4b2){const _0x356ce2=_0x500950;return _0xd6c4b2[_0xd6c4b2[_0x356ce2(0x4ab)]=0x0]=_0x356ce2(0x4ab),_0xd6c4b2[_0xd6c4b2['JOINING']=0x1]=_0x356ce2(0x2ad),_0xd6c4b2[_0xd6c4b2[_0x356ce2(0x231)]=0x2]=_0x356ce2(0x231),_0xd6c4b2[_0xd6c4b2['ONLINE']=0x3]=_0x356ce2(0x434),_0xd6c4b2;}({}),_0x114cad={[_0x402625[_0x500950(0x44c)][_0x500950(0x2f2)]]:_0x500950(0x20f),[_0x402625[_0x500950(0x44c)][_0x500950(0x200)]]:_0x500950(0x358),[_0x402625[_0x500950(0x44c)][_0x500950(0x463)]]:_0x500950(0x337),[_0x402625['CmdRspCode'][_0x500950(0x422)]]:_0x500950(0x338),[_0x402625[_0x500950(0x44c)][_0x500950(0x4e9)]]:'session.room-cnt-exceeds'},_0x4e1b56=class extends _0x2fb456[_0x500950(0x1fb)]{get[_0x500950(0x314)](){const _0x14795c=_0x500950;return this[_0x14795c(0x503)][_0x14795c(0x402)]();}constructor(_0x37d427,_0x10a548,_0x531e12,_0x48a844,_0x494d01,_0x39bc68,_0x4df721,_0x52bbc6){const _0x490123=_0x500950;super(),this[_0x490123(0x37e)]=_0x37d427,this[_0x490123(0x40b)]=_0x531e12,this['_configService']=_0x48a844,this[_0x490123(0x3f4)]=_0x494d01,this[_0x490123(0x2df)]=_0x39bc68,this[_0x490123(0x219)]=_0x4df721,this['_telemetryService']=_0x52bbc6,_0x3dd6fc(this,_0x490123(0x503),new _0x5eae7e[(_0x490123(0x3c7))](_0x486856[_0x490123(0x4ab)])),_0x3dd6fc(this,_0x490123(0x23c),this[_0x490123(0x503)][_0x490123(0x511)]()),_0x3dd6fc(this,_0x490123(0x1ea),new _0x5eae7e[(_0x490123(0x4b9))]()),_0x3dd6fc(this,_0x490123(0x2aa),this[_0x490123(0x1ea)][_0x490123(0x511)]()),_0x3dd6fc(this,'_socket',void 0x0),_0x3dd6fc(this,_0x490123(0x2a4),void 0x0),_0x3dd6fc(this,_0x490123(0x4c1),void 0x0),_0x3dd6fc(this,'_shouldReportTelemetry',!0x1),_0x3dd6fc(this,'_telemetryInfo',null),this[_0x490123(0x4b2)]=!!this[_0x490123(0x260)],_0x10a548[_0x490123(0x3d3)]((0x0,_0x5eae7e['takeUntil'])(this[_0x490123(0x483)]))[_0x490123(0x495)](_0x25bcff=>{const _0x54a2c5=_0x490123;if(_0x25bcff!==void 0x0){if(this[_0x54a2c5(0x34a)]=_0x25bcff,_0x25bcff)this['_joinRoom'](_0x25bcff),this[_0x54a2c5(0x2a4)]=_0x25bcff['message$'][_0x54a2c5(0x495)](_0x3e35d2=>{const _0x24fafb=_0x54a2c5;_0x3e35d2[_0x24fafb(0x4af)]===this[_0x24fafb(0x37e)]&&this[_0x24fafb(0x25f)](_0x3e35d2);});else{var _0x1258ce;this[_0x54a2c5(0x1f2)](),this['_sessionStatus$'][_0x54a2c5(0x362)](_0x486856[_0x54a2c5(0x231)]),(_0x1258ce=this['_socketMessageSubscription'])==null||_0x1258ce[_0x54a2c5(0x3a0)](),this[_0x54a2c5(0x2a4)]=null;}}});}[_0x500950(0x508)](){const _0x12cc30=_0x500950;var _0x31145d,_0xc8fc22;return(_0x31145d=(_0xc8fc22=this[_0x12cc30(0x34a)])==null?void 0x0:_0xc8fc22[_0x12cc30(0x487)])==null?null:_0x31145d;}[_0x500950(0x218)](){const _0x492509=_0x500950;super[_0x492509(0x218)](),this[_0x492509(0x22b)](),this[_0x492509(0x483)][_0x492509(0x362)](),this['dispose$'][_0x492509(0x45d)]();}[_0x500950(0x22b)](){const _0x47484f=_0x500950;var _0x1102c7,_0x38b47d;this[_0x47484f(0x1f2)](),(_0x1102c7=this[_0x47484f(0x34a)])==null||_0x1102c7[_0x47484f(0x45f)]({'cmd':_0x402625[_0x47484f(0x3a4)][_0x47484f(0x25c)],'data':{'roomID':this[_0x47484f(0x37e)]}}),(_0x38b47d=this[_0x47484f(0x34a)])==null||_0x38b47d[_0x47484f(0x22b)](),this[_0x47484f(0x1ea)][_0x47484f(0x45d)](),this['_sessionStatus$'][_0x47484f(0x45d)]();}[_0x500950(0x25f)](_0x5dcc7f){const _0x5ebab4=_0x500950;_0x5dcc7f[_0x5ebab4(0x1f9)]===_0x402625['CombCmd'][_0x5ebab4(0x1f4)]?this[_0x5ebab4(0x35a)](_0x5dcc7f):_0x5dcc7f[_0x5ebab4(0x1f9)]===_0x402625[_0x5ebab4(0x3a4)][_0x5ebab4(0x443)]&&this[_0x5ebab4(0x2f0)](_0x5dcc7f);}[_0x500950(0x4bf)](_0x1a0a18){const _0x5bca90=_0x500950;this[_0x5bca90(0x503)][_0x5bca90(0x362)](_0x486856[_0x5bca90(0x2ad)]),_0x1a0a18['send']({'cmd':_0x402625[_0x5bca90(0x3a4)][_0x5bca90(0x1f4)],'routeKey':this[_0x5bca90(0x37e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5bca90(0x37e)]}]}});}[_0x500950(0x35a)](_0xd8dbbd){const _0x391321=_0x500950;var _0xa600d2;if(_0xd8dbbd[_0x391321(0x46e)]in _0x114cad){this[_0x391321(0x219)][_0x391321(0x254)]({'id':_0x3221f8[_0x391321(0x20c)],'data':_0x114cad[_0xd8dbbd[_0x391321(0x46e)]]}),this[_0x391321(0x503)][_0x391321(0x362)](_0x486856[_0x391321(0x231)]);return;}this['_sessionStatus$'][_0x391321(0x362)](_0x486856[_0x391321(0x434)]);let _0x191272=(_0xa600d2=_0xd8dbbd['data'][_0x391321(0x296)][this[_0x391321(0x37e)]])==null?void 0x0:_0xa600d2[_0x391321(0x465)];_0x191272&&_0x191272[_0x391321(0x36d)](_0x305295=>this[_0x391321(0x3f4)]['updateMember'](this[_0x391321(0x37e)],_0x305295));}['_onRecvEvent'](_0x50267f){const _0x4a522c=_0x500950;try{let _0x50fc90=_0x50267f[_0x4a522c(0x1f0)];switch(_0x50fc90['eventID']){case _0x35ef0a['CollaborationEvent'][_0x4a522c(0x371)]:this[_0x4a522c(0x44d)](_0x50fc90),this['_event$'][_0x4a522c(0x362)](_0x50fc90);break;case _0x35ef0a[_0x4a522c(0x21e)][_0x4a522c(0x41b)]:this['_onUserLeave'](_0x50fc90),this[_0x4a522c(0x1ea)][_0x4a522c(0x362)](_0x50fc90);break;case _0x35ef0a[_0x4a522c(0x21e)][_0x4a522c(0x3f6)]:case _0x35ef0a[_0x4a522c(0x21e)][_0x4a522c(0x366)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x4a522c(0x1f7)](),this[_0x4a522c(0x1ea)][_0x4a522c(0x362)](_0x50fc90);break;case _0x35ef0a[_0x4a522c(0x21e)][_0x4a522c(0x38d)]:this[_0x4a522c(0x40b)][_0x4a522c(0x4bb)](_0x4a522c(0x2c5)+JSON[_0x4a522c(0x28b)](_0x50fc90)),this['_event$'][_0x4a522c(0x362)](_0x50fc90);break;case _0x35ef0a[_0x4a522c(0x21e)][_0x4a522c(0x3c8)]:this[_0x4a522c(0x2df)][_0x4a522c(0x27f)](_0x50fc90[_0x4a522c(0x1f0)]),this[_0x4a522c(0x1ea)][_0x4a522c(0x362)](_0x50fc90);break;default:this[_0x4a522c(0x1ea)]['next'](_0x50fc90);}}catch(_0x495d84){this[_0x4a522c(0x40b)][_0x4a522c(0x4bb)](_0x495d84,_0x50267f);}}['_onUserJoin'](_0x32f9b0){const _0x2fe371=_0x500950;this[_0x2fe371(0x3f4)]['updateMember'](this[_0x2fe371(0x37e)],_0x32f9b0['data']);}[_0x500950(0x408)](_0x36b152){const _0x6d85b7=_0x500950;this['_memberService'][_0x6d85b7(0x370)](this[_0x6d85b7(0x37e)],_0x36b152[_0x6d85b7(0x1f0)]['memberID']);}async[_0x500950(0x45f)](_0x515aa8,_0xae1df0){const _0x40f3ab=_0x500950;if(this['sessionStatus']!==_0x486856[_0x40f3ab(0x434)]||!this[_0x40f3ab(0x34a)])throw Error(_0x40f3ab(0x380));try{_0x515aa8[_0x40f3ab(0x49e)]===_0x35ef0a[_0x40f3ab(0x21e)]['SUBMIT_CHANGESET']&&(this[_0x40f3ab(0x4d5)](),this[_0x40f3ab(0x340)](_0x515aa8)),this[_0x40f3ab(0x34a)]['send']({'cmd':_0x402625['CombCmd'][_0x40f3ab(0x20e)],'routeKey':_0xae1df0,'routeType':'','data':_0x515aa8});}catch(_0x3f58c2){this[_0x40f3ab(0x40b)][_0x40f3ab(0x4bb)](_0x3f58c2);}}['_scheduleCollaborationTimeoutTimer'](){const _0x43bbba=_0x500950;var _0xf88f8d;this['_collaborationTimeoutTimer']=setTimeout(()=>{const _0x428738=_0x1951;this[_0x428738(0x4c1)]=null,this[_0x428738(0x219)][_0x428738(0x254)]({'id':_0x3221f8[_0x428738(0x452)]});},(_0xf88f8d=this['_configService'][_0x43bbba(0x2a6)](_0x43bbba(0x3d2)))==null?_0x4293e1:_0xf88f8d);}[_0x500950(0x1f7)](){const _0x23e0dc=_0x500950;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x23e0dc(0x4c1)]),this[_0x23e0dc(0x4c1)]=null);}[_0x500950(0x340)](_0x19714c){const _0x3c08a4=_0x500950;if(!this['_shouldReportTelemetry'])return;let {data:_0x4c0fc6}=_0x19714c,{unitID:_0x118c57,changeset:_0xc9856d}=_0x4c0fc6,{mutations:_0xfd208a,type:_0x4a6256}=_0xc9856d;this[_0x3c08a4(0x496)]={'unitId':_0x118c57,'type':_0x4a6256,'startTime':performance[_0x3c08a4(0x2ce)](),'stopTime':0x0,'duration':0x0,'size':_0x4d509d(_0xfd208a)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x2ea47d=_0x500950;if(this['_shouldReportTelemetry']){if(!this[_0x2ea47d(0x496)]){this[_0x2ea47d(0x40b)][_0x2ea47d(0x4bb)](_0x2ea47d(0x442),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x2ea47d(0x4a3)]=performance['now'](),this[_0x2ea47d(0x496)][_0x2ea47d(0x4ee)]=this[_0x2ea47d(0x496)]['stopTime']-this['_telemetryInfo']['startTime'],this['_telemetryService']['capture']('collaboration_new_changeset',this[_0x2ea47d(0x496)]),this[_0x2ea47d(0x496)]=null;}}[_0x500950(0x1f2)](){const _0x106942=_0x500950;this[_0x106942(0x496)]=null;}};_0x4e1b56=_0x1c7ac3([_0x42aff9(0x2,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0x3,_0x2fb456[_0x500950(0x26a)]),_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0xe1c77b)),_0x42aff9(0x5,(0x0,_0x2fb456['Inject'])(_0x732d06)),_0x42aff9(0x6,(0x0,_0x2fb456[_0x500950(0x430)])(_0x4cb1da)),_0x42aff9(0x7,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x595543[_0x500950(0x256)]))],_0x4e1b56);let _0x3d2740=(0x0,_0x2fb456['createIdentifier'])(_0x500950(0x4d6));function _0x1bd9d1(_0x43bb46){const _0x2282f5=_0x500950;return _0x2282f5(0x417)+_0x43bb46;}function _0x1afcaf(_0x93b3f8){const _0x1b944e=_0x500950;let {unitID:_0x4504b6,mutations:_0x5746b5}=_0x93b3f8;return{'unitId':_0x4504b6,'subUnitId':_0x5746b5['length']>0x0?_0x5746b5[0x0][_0x1b944e(0x4c7)][_0x1b944e(0x43d)]:null};}let _0x324b61=class{constructor(_0x19c1cb,_0x531975,_0x147b01){const _0x317233=_0x500950;this[_0x317233(0x4ac)]=_0x19c1cb,this[_0x317233(0x44b)]=_0x531975,this[_0x317233(0x4ca)]=_0x147b01;}[_0x500950(0x33b)](_0x4d21cf){const _0x365378=_0x500950;var _0xac7eb5,_0x2b47b0;let _0x48d358=this['_injector'][_0x365378(0x2bd)](_0x558c66['SheetsSelectionsService']),{unitId:_0x59bd05,subUnitId:_0x4c11e5}=_0x1afcaf(_0x4d21cf),_0x25c61f=_0x48d358==null?void 0x0:_0x48d358[_0x365378(0x4dc)](_0x59bd05)[_0x365378(0x441)](),_0x44e5eb=(_0xac7eb5=this[_0x365378(0x4ca)]['getUnit'](_0x59bd05))==null||(_0xac7eb5=_0xac7eb5[_0x365378(0x3e1)]())==null?void 0x0:_0xac7eb5['getSheetId']();if(_0x25c61f[_0x365378(0x301)]===0x0||!_0x59bd05||!_0x4c11e5)return;let _0x4f53f1=[{'id':_0x558c66['SetSelectionsOperation']['id'],'params':{'unitId':_0x59bd05,'subUnitId':_0x44e5eb,'selections':_0x2fb456[_0x365378(0x211)][_0x365378(0x2c4)](_0x25c61f)}}],_0x190bf6=this[_0x365378(0x44b)][_0x365378(0x439)](_0x4d21cf,_0x4f53f1);if(!(0x0,_0x35ef0a[_0x365378(0x20b)])(_0x190bf6))throw _0x190bf6[_0x365378(0x4bb)];let _0x36e6d5=(_0x2b47b0=_0x190bf6['m2Prime'][0x0])==null||(_0x2b47b0=_0x2b47b0[_0x365378(0x4c7)])==null?void 0x0:_0x2b47b0[_0x365378(0x491)];if(Array[_0x365378(0x477)](_0x36e6d5)&&_0x36e6d5[_0x365378(0x301)]){if(_0x36e6d5['length']===_0x4f53f1[0x0][_0x365378(0x4c7)][_0x365378(0x491)]['length']&&_0x36e6d5[_0x365378(0x497)]((_0x408f63,_0x991952)=>_0x2fb456[_0x365378(0x4f6)][_0x365378(0x412)](_0x408f63[_0x365378(0x4fc)],_0x4f53f1[0x0]['params']['selections'][_0x991952][_0x365378(0x4fc)])))return;this[_0x365378(0x4ac)]['get'](_0x2fb456['ICommandService'])['executeCommand'](_0x558c66[_0x365378(0x2b6)]['id'],{'unitId':_0x59bd05,'subUnitId':_0x44e5eb,'selections':_0x36e6d5});}}};_0x324b61=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x1,_0x35ef0a['ITransformService']),_0x42aff9(0x2,_0x2fb456[_0x500950(0x285)])],_0x324b61);let _0x129fb8=(0x0,_0x2fb456[_0x500950(0x4f7)])('univer-pro.collaboration-client.single-active-unit-service'),_0x3886c4=function(_0xc9084c){const _0x20b0a7=_0x500950;return _0xc9084c[_0xc9084c[_0x20b0a7(0x4cb)]=0x0]=_0x20b0a7(0x4cb),_0xc9084c[_0xc9084c['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0xc9084c;}({}),_0x5445c5='collaboration-client.config';Symbol(_0x5445c5);let _0x465697={};function _0x5bdd96(_0x3f9a67){const _0x524643=_0x500950;var _0x47dcf1;return!!((_0x47dcf1=_0x3f9a67[_0x524643(0x4c7)])!=null&&_0x47dcf1[_0x524643(0x396)]);}let _0x407214=new Set([_0x558c66[_0x500950(0x4bc)]['id']]);function _0x194ae7(_0x3234f0,_0x529dae,_0xc7a95e,_0x2d5bd0,_0x454c99){const _0x29d26f=_0x500950;var _0x656814,_0x1ffbf4,_0x276a59,_0x6ee4a5;let _0x3443f1=[];for(let _0xe9eb6 of _0x3234f0){if(_0x407214[_0x29d26f(0x50a)](_0xe9eb6['id'])){if(_0x3443f1[_0x29d26f(0x301)]>0x0)break;_0x3443f1[_0x29d26f(0x204)](_0xe9eb6);break;}if(_0x5bdd96(_0xe9eb6)){if(_0x3443f1[_0x29d26f(0x301)]>0x0)break;_0x3443f1[_0x29d26f(0x204)](_0xe9eb6);break;}_0x3443f1['push'](_0xe9eb6);}let _0xf68e22=(_0x656814=(_0x1ffbf4=_0x454c99[_0x29d26f(0x3a1)]())==null?void 0x0:_0x1ffbf4['userID'])==null?_0x29d26f(0x26c):_0x656814,_0x3e4121=(_0x276a59=(_0x6ee4a5=_0x454c99[_0x29d26f(0x3a1)]())==null?void 0x0:_0x6ee4a5[_0x29d26f(0x487)])==null?_0x29d26f(0x26c):_0x276a59;return{'changeset':{'unitID':_0x529dae,'type':(0x0,_0x35ef0a[_0x29d26f(0x4f0)])(_0xc7a95e[_0x29d26f(0x2d9)](_0x529dae)),'baseRev':_0x2d5bd0[_0x29d26f(0x3ca)](_0x529dae),'revision':0x0,'userID':_0xf68e22,'memberID':_0x3e4121,'mutations':_0x3443f1},'pendingMutations':_0x3234f0[_0x29d26f(0x2fd)](_0x3443f1[_0x29d26f(0x301)])};}function _0x22005d(_0x5f067f,_0x3a1d41,_0x1ce012,_0x49c460,_0x3e8e7c){const _0x11852c=_0x500950;var _0x205991,_0x447b87,_0x18c19f,_0x1d2c77;let _0x335754=[_0x5f067f[_0x11852c(0x283)]((_0x246fa0,_0x5e5473)=>{const _0x2db8dd=_0x11852c;var _0x476ee6;let {id:_0x1d4f0d}=_0x246fa0,{id:_0x16fa7c,type:_0x2343bb}=_0x5e5473,_0x53001f=(_0x476ee6=_0x246fa0['params'])==null?{'actions':null}:_0x476ee6,_0x929cc3=_0x5e5473['params'];if(_0x1d4f0d&&_0x1d4f0d!==_0x16fa7c)throw Error(_0x2db8dd(0x43a)+_0x1d4f0d+_0x2db8dd(0x277)+_0x16fa7c+'.');return{..._0x246fa0,'id':_0x16fa7c,'type':_0x2343bb,'params':{'unitId':_0x929cc3[_0x2db8dd(0x2f4)],'textRanges':_0x929cc3['textRanges'],'actions':_0x2fb456[_0x2db8dd(0x250)][_0x2db8dd(0x406)](_0x53001f[_0x2db8dd(0x421)],_0x929cc3[_0x2db8dd(0x421)])}};},{})],_0x2ef920=(_0x205991=(_0x447b87=_0x3e8e7c[_0x11852c(0x3a1)]())==null?void 0x0:_0x447b87[_0x11852c(0x476)])==null?'unknown':_0x205991,_0x189ff2=(_0x18c19f=(_0x1d2c77=_0x3e8e7c[_0x11852c(0x3a1)]())==null?void 0x0:_0x1d2c77['memberID'])==null?_0x11852c(0x26c):_0x18c19f;return{'changeset':{'unitID':_0x3a1d41,'type':(0x0,_0x35ef0a[_0x11852c(0x4f0)])(_0x1ce012[_0x11852c(0x2d9)](_0x3a1d41)),'baseRev':_0x49c460[_0x11852c(0x3ca)](_0x3a1d41),'revision':0x0,'userID':_0x2ef920,'memberID':_0x189ff2,'mutations':_0x335754},'pendingMutations':[]};}function _0x2998df(_0x532c1c,_0x1df8ed){const _0x2a41dc=_0x500950;let _0x185284=new _0x5eae7e[(_0x2a41dc(0x3eb))](0x1);return setTimeout(()=>_0x185284['next'](_0x1df8ed),_0x532c1c),_0x185284[_0x2a41dc(0x511)]()['pipe']((0x0,_0x5eae7e[_0x2a41dc(0x409)])(0x1));}var _0x1b89d6,_0x585efb,_0x1d7c17;let _0x243dc1=function(_0xb238da){const _0x1bc4a2=_0x500950;return _0xb238da[_0x1bc4a2(0x32a)]=_0x1bc4a2(0x310),_0xb238da['SYNCED']=_0x1bc4a2(0x447),_0xb238da['PENDING']=_0x1bc4a2(0x32d),_0xb238da[_0x1bc4a2(0x48e)]=_0x1bc4a2(0x3e3),_0xb238da[_0x1bc4a2(0x50b)]=_0x1bc4a2(0x4ba),_0xb238da[_0x1bc4a2(0x210)]='fetch_missing',_0xb238da[_0x1bc4a2(0x3df)]=_0x1bc4a2(0x506),_0xb238da['OFFLINE']=_0x1bc4a2(0x4d1),_0xb238da;}({}),_0x5297ac=0x4e20,_0xd5a097=0x2bf20;var _0x3bded5=class{constructor(_0x185af4,_0x2eab93,_0x3e8517,_0x473e94,_0x447924,_0x50ff74,_0xededed,_0x5ade06,_0xefa5f0){const _0x5460f3=_0x500950;this[_0x5460f3(0x1ee)]=_0x185af4,this[_0x5460f3(0x431)]=_0x2eab93,this[_0x5460f3(0x33a)]=_0x447924,this[_0x5460f3(0x4d2)]=_0x50ff74,this[_0x5460f3(0x26f)]=_0xededed,this[_0x5460f3(0x29d)]=_0x5ade06,this['_localCacheService']=_0xefa5f0,_0x3dd6fc(this,_0x5460f3(0x24f),null),_0x3dd6fc(this,_0x5460f3(0x3c5),[]),this['_awaitingChangeset']=_0x3e8517,this[_0x5460f3(0x3c5)]=_0x473e94;}[_0x500950(0x4a7)](_0x2b4635){const _0x8448bd=_0x500950;let _0x34bc55=this[_0x8448bd(0x29d)][_0x8448bd(0x3ca)](this[_0x8448bd(0x1ee)]);return _0x2b4635[_0x8448bd(0x300)]>_0x34bc55+0x1?(this['_handler'][_0x8448bd(0x2d8)]({'from':_0x34bc55,'to':_0x2b4635[_0x8448bd(0x300)]-0x1}),!0x0):!0x1;}[_0x500950(0x3ed)](_0x5e2502){const _0x8fd305=_0x500950;this[_0x8fd305(0x26f)]['transformUndoRedo'](this[_0x8fd305(0x1ee)],_0x5e2502);}['_transformSelections'](_0x468ed3){const _0x56d41e=_0x500950;var _0x2009e4,_0x232160;(_0x2009e4=(_0x232160=this['_handler'])[_0x56d41e(0x33e)])==null||_0x2009e4[_0x56d41e(0x2ba)](_0x232160,_0x468ed3);}['_transformIMECache'](_0x505e55){const _0x554164=_0x500950;var _0x5edad1,_0x5c6ac0;return(_0x5edad1=(_0x5c6ac0=this['_handler'])[_0x554164(0x332)])==null?void 0x0:_0x5edad1['call'](_0x5c6ac0,_0x505e55);}[_0x500950(0x40e)](_0x27298c){const _0x2a25e7=_0x500950;var _0x4f7c86,_0x2f37bd;return(_0x4f7c86=(_0x2f37bd=this['_handler'])[_0x2a25e7(0x2e8)])==null?void 0x0:_0x4f7c86[_0x2a25e7(0x2ba)](_0x2f37bd,_0x27298c);}[_0x500950(0x4cc)](_0x5ea23f){const _0x339f5f=_0x500950;var _0x162a15,_0x3e6432,_0x54b8ea;return(_0x162a15=(_0x3e6432=(_0x54b8ea=this['_handler'])[_0x339f5f(0x278)])==null?void 0x0:_0x3e6432['call'](_0x54b8ea,_0x5ea23f))==null?_0x5ea23f:_0x162a15;}[_0x500950(0x25e)](_0x406198){const _0x56d133=_0x500950;var _0x343fb9,_0x517545,_0x3f8242;return(_0x343fb9=(_0x517545=(_0x3f8242=this['_handler'])[_0x56d133(0x3cf)])==null?void 0x0:_0x517545[_0x56d133(0x2ba)](_0x3f8242,_0x406198))==null?_0x406198:_0x343fb9;}[_0x500950(0x48b)](_0xcb354c){const _0x388a0a=_0x500950;if(this['type']===_0x2fb456[_0x388a0a(0x217)][_0x388a0a(0x2dc)]){let {unitID:_0x399335,mutations:_0x7fd5d2,memberID:_0x27c2eb}=_0xcb354c,_0x38744d=_0x7fd5d2['length']>0x0?_0x7fd5d2[0x0][_0x388a0a(0x4c7)]['textRanges']:[];if(Array['isArray'](_0x38744d)&&_0x38744d[_0x388a0a(0x301)]>0x0){var _0x354185,_0x14d744;(_0x354185=(_0x14d744=this['_handler'])[_0x388a0a(0x215)])==null||_0x354185[_0x388a0a(0x2ba)](_0x14d744,{'unitID':_0x399335,'memberID':_0x27c2eb,'textRanges':_0x38744d});}}}[_0x500950(0x31c)](){const _0x2242d6=_0x500950;var _0x1ec7bd;(_0x1ec7bd=this[_0x2242d6(0x49b)])==null||_0x1ec7bd[_0x2242d6(0x1fc)](this[_0x2242d6(0x1ee)],this[_0x2242d6(0x431)],this['_awaitingChangeset'],this[_0x2242d6(0x3c5)]);}[_0x500950(0x1fa)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}[_0x500950(0x235)](){const _0x361da0=_0x500950;this['_revisionService'][_0x361da0(0x24c)](this[_0x361da0(0x1ee)]);}[_0x500950(0x3e5)](_0x24b542){const _0x22da16=_0x500950;let _0x341938=this[_0x22da16(0x4cc)](_0x24b542);_0x341938=this[_0x22da16(0x25e)](_0x341938);let _0x31cb1b=(0x0,_0x2fb456[_0x22da16(0x207)])(_0x341938[_0x22da16(0x3d1)],this['_commandService'],{'fromCollab':!0x0});if(!_0x31cb1b[_0x22da16(0x1f6)]){var _0x226000;throw _0x31cb1b['error']instanceof Error?_0x31cb1b[_0x22da16(0x4bb)]:Error((_0x226000=_0x31cb1b[_0x22da16(0x4bb)])==null?'[CollaborationState]:\x20apply\x20error!':_0x226000);}this[_0x22da16(0x2e2)](_0x341938),this[_0x22da16(0x40e)](_0x341938),this[_0x22da16(0x3ed)](_0x24b542),this[_0x22da16(0x47e)](_0x341938),this['_syncEditingCollabCursor'](_0x341938),this[_0x22da16(0x235)]();}};let _0x421172=class extends _0x3bded5{constructor(_0xe093d,_0x55f219,_0x559e3b,_0x39dcc0,_0x1ca2ed,_0x2f51a3,_0x592675,_0x58ba2c,_0x118cd2,_0x19f8c8){const _0x2b9cfc=_0x500950;super(_0xe093d,_0x55f219,null,[],_0x559e3b,_0x592675,_0x2f51a3,_0x39dcc0,_0x19f8c8),this[_0x2b9cfc(0x4ac)]=_0x1ca2ed,this['_logService']=_0x58ba2c,this['_transformService']=_0x118cd2,this[_0x2b9cfc(0x214)]=_0x19f8c8,_0x3dd6fc(this,'status',_0x243dc1[_0x2b9cfc(0x43e)]);}['appendMutation'](_0x5e41e0){const _0x40e141=_0x500950;let _0x37a7d5=this[_0x40e141(0x4ac)][_0x40e141(0x28e)](_0x59f2bd,this[_0x40e141(0x1ee)],this['type'],[_0x5e41e0],this[_0x40e141(0x33a)]);return _0x37a7d5[_0x40e141(0x31d)](),_0x37a7d5['_updateLocalCache'](),_0x37a7d5;}[_0x500950(0x432)](_0x15c3d7){const _0x7c9652=_0x500950;if(this['_checkMissing'](_0x15c3d7))return this[_0x7c9652(0x4ac)][_0x7c9652(0x28e)](_0x1a096a,this['unitID'],this['type'],null,[],null,[_0x15c3d7],this[_0x7c9652(0x33a)]);try{let _0x1aef9e=this[_0x7c9652(0x44b)][_0x7c9652(0x439)](_0x15c3d7,[_0x35ef0a['EmptyMutationInfo']]);if((0x0,_0x35ef0a[_0x7c9652(0x20b)])(_0x1aef9e)){let {c1Prime:_0x339fcb}=_0x1aef9e;return this[_0x7c9652(0x3e5)](_0x339fcb),this;}throw _0x1aef9e[_0x7c9652(0x4bb)];}catch(_0x56339b){return this[_0x7c9652(0x40b)]['error'](_0x56339b),this[_0x7c9652(0x336)](!0x1);}}[_0x500950(0x336)](_0x23fdaf){const _0x208cdd=_0x500950;return this['_injector'][_0x208cdd(0x28e)](_0xf626e2,this[_0x208cdd(0x1ee)],this[_0x208cdd(0x431)],null,[],this[_0x208cdd(0x33a)],_0x23fdaf);}[_0x500950(0x316)](){const _0x352c4f=_0x500950;throw Error(_0x352c4f(0x438));}[_0x500950(0x2af)](){const _0x3a77dd=_0x500950;throw Error(_0x3a77dd(0x4c0));}[_0x500950(0x37b)](){return this;}[_0x500950(0x395)](){const _0x446118=_0x500950;return this['_injector'][_0x446118(0x28e)](_0x457aa2,this['unitID'],this[_0x446118(0x431)],null,[],this[_0x446118(0x33a)]);}[_0x500950(0x36c)](){return this;}[_0x500950(0x348)](){const _0x3f496a=_0x500950;throw Error(_0x3f496a(0x245));}[_0x500950(0x3d7)](){const _0x47dc5a=_0x500950;let _0xad9325=this[_0x47dc5a(0x29d)][_0x47dc5a(0x3ca)](this[_0x47dc5a(0x1ee)]);return this['_handler'][_0x47dc5a(0x2d8)]({'from':_0xad9325,'to':0x0}),this[_0x47dc5a(0x4ac)]['createInstance'](_0x1a096a,this[_0x47dc5a(0x1ee)],this[_0x47dc5a(0x431)],null,[],null,[],this[_0x47dc5a(0x33a)]);}};_0x421172=_0x1c7ac3([_0x42aff9(0x3,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456['Injector'])),_0x42aff9(0x5,_0x2fb456[_0x500950(0x22e)]),_0x42aff9(0x6,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x7,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0x8,_0x35ef0a['ITransformService']),_0x42aff9(0x9,(0x0,_0x2fb456['Optional'])(_0x3d2740))],_0x421172);let _0x59f2bd=_0x1b89d6=class extends _0x3bded5{constructor(_0x538081,_0x133b07,_0x5b6ffc,_0x490b13,_0x1245b4,_0x35b357,_0x5082e2,_0x3428a4,_0x1cff5a,_0x1e6de3,_0x3a1332,_0x3f5fdc,_0x324b37,_0x77cff2){const _0x1bfa2c=_0x500950;super(_0x538081,_0x133b07,null,_0x5b6ffc,_0x490b13,_0x1cff5a,_0x324b37,_0x35b357,_0x77cff2),this[_0x1bfa2c(0x4ac)]=_0x1245b4,this['_memberService']=_0x5082e2,this[_0x1bfa2c(0x40b)]=_0x3428a4,this['_configService']=_0x1e6de3,this['_transformService']=_0x3a1332,this['_univerInstanceService']=_0x3f5fdc,_0x3dd6fc(this,_0x1bfa2c(0x233),_0x243dc1['PENDING']),_0x3dd6fc(this,_0x1bfa2c(0x4c8),null),_0x3dd6fc(this,'_sendingTimer',null);}[_0x500950(0x3a3)](_0xb9bdfb){const _0x2a2f20=_0x500950;return this['_pendingMutations'][_0x2a2f20(0x204)](_0xb9bdfb),this['_updateLocalCache'](),this;}[_0x500950(0x432)](_0x32cb58){const _0x58acdd=_0x500950;if(this[_0x58acdd(0x4a7)](_0x32cb58))return this['_clearScheduledTask'](),this[_0x58acdd(0x4ac)]['createInstance'](_0x1a096a,this[_0x58acdd(0x1ee)],this['type'],null,this['_pendingMutations'],null,[_0x32cb58],this[_0x58acdd(0x33a)]);try{let _0xffb5a8=this[_0x58acdd(0x44b)][_0x58acdd(0x439)](_0x32cb58,this[_0x58acdd(0x3c5)]);if((0x0,_0x35ef0a['isTransformMutationsWithChangesetSuccess'])(_0xffb5a8)){let {c1Prime:_0x174b46,m2Prime:_0x3d5346}=_0xffb5a8;this[_0x58acdd(0x3e5)](_0x174b46);let _0x471af4=this[_0x58acdd(0x4ac)][_0x58acdd(0x28e)](_0x1b89d6,this[_0x58acdd(0x1ee)],this[_0x58acdd(0x431)],_0x3d5346,this[_0x58acdd(0x33a)]);this[_0x58acdd(0x4cd)]();let _0x5efe7a=new Date()[_0x58acdd(0x2de)](),_0x4d31c5=this['_scheduleCompleteTimestamp']?Math[_0x58acdd(0x240)](this[_0x58acdd(0x4c8)]-_0x5efe7a,0x0):this[_0x58acdd(0x4f1)]();return _0x471af4[_0x58acdd(0x31d)](_0x4d31c5),_0x471af4;}throw _0xffb5a8[_0x58acdd(0x4bb)];}catch(_0x1ea94c){return this[_0x58acdd(0x40b)][_0x58acdd(0x4bb)](_0x1ea94c),this['_onConflict'](!0x1);}}[_0x500950(0x316)](){const _0x469144=_0x500950;throw Error(_0x469144(0x4eb));}['onRemoteRej'](){const _0x507e75=_0x500950;throw Error(_0x507e75(0x38c));}[_0x500950(0x37b)](){return this;}[_0x500950(0x395)](){const _0x403633=_0x500950;return this[_0x403633(0x4cd)](),this['_injector'][_0x403633(0x28e)](_0x457aa2,this[_0x403633(0x1ee)],this[_0x403633(0x431)],null,this[_0x403633(0x3c5)],this[_0x403633(0x33a)]);}['toggleOnline'](){return this;}[_0x500950(0x31d)](_0x7f29ac){const _0x1007cc=_0x500950;let _0x3ce6d3=_0x7f29ac==null?this['_getSendChangesetTimeout']():_0x7f29ac;this['_scheduleCompleteTimestamp']=new Date()[_0x1007cc(0x2de)]()+_0x3ce6d3,this[_0x1007cc(0x4c6)]=setTimeout(()=>{const _0x582484=_0x1007cc;this[_0x582484(0x4cd)]();let _0x26a425=null;switch(this[_0x582484(0x431)]){case _0x2fb456['UniverInstanceType'][_0x582484(0x4ce)]:_0x26a425=_0x194ae7(this['_pendingMutations'],this['unitID'],this[_0x582484(0x2d1)],this[_0x582484(0x29d)],this[_0x582484(0x3f4)]);break;case _0x2fb456[_0x582484(0x217)][_0x582484(0x2dc)]:_0x26a425=this['_pendingMutations'][_0x582484(0x497)](_0xed4f13=>_0xed4f13['id']===_0x4923d3['RichTextEditingMutation']['id'])?_0x22005d(this[_0x582484(0x3c5)],this[_0x582484(0x1ee)],this['_univerInstanceService'],this['_revisionService'],this[_0x582484(0x3f4)]):_0x194ae7(this[_0x582484(0x3c5)],this[_0x582484(0x1ee)],this[_0x582484(0x2d1)],this[_0x582484(0x29d)],this[_0x582484(0x3f4)]);break;default:throw Error(_0x582484(0x43b)+this[_0x582484(0x431)]+_0x582484(0x2fe));}let {changeset:_0x59e6c2,pendingMutations:_0x237cda}=_0x26a425;this['_handler'][_0x582484(0x1f5)](_0x59e6c2);let _0x1426aa=_0x237cda[_0x582484(0x301)]?this[_0x582484(0x4ac)][_0x582484(0x28e)](_0x22a444,this['unitID'],this[_0x582484(0x431)],_0x59e6c2,_0x237cda,this[_0x582484(0x33a)],void 0x0):this[_0x582484(0x4ac)]['createInstance'](_0x555165,this[_0x582484(0x1ee)],this[_0x582484(0x431)],_0x59e6c2,this[_0x582484(0x33a)]);_0x1426aa[_0x582484(0x31c)](),this[_0x582484(0x33a)][_0x582484(0x47d)](this,_0x1426aa);},_0x3ce6d3);}[_0x500950(0x4f1)](){const _0x336f28=_0x500950;var _0x394594;let _0x17bd7c=this[_0x336f28(0x25a)]['getConfig'](_0x5445c5);return(_0x394594=_0x17bd7c==null?void 0x0:_0x17bd7c[_0x336f28(0x325)])==null?0x7d0:_0x394594;}[_0x500950(0x348)](){const _0x289234=_0x500950;throw Error(_0x289234(0x298));}['_clearScheduledTask'](){const _0x12e013=_0x500950;this[_0x12e013(0x4c6)]!=null&&(clearTimeout(this[_0x12e013(0x4c6)]),this['_sendingTimer']=null);}[_0x500950(0x336)](_0x38e5bc){const _0x1e1ee8=_0x500950;return this[_0x1e1ee8(0x4cd)](),this[_0x1e1ee8(0x4ac)][_0x1e1ee8(0x28e)](_0xf626e2,this[_0x1e1ee8(0x1ee)],this[_0x1e1ee8(0x431)],null,this[_0x1e1ee8(0x3c5)],this[_0x1e1ee8(0x33a)],_0x38e5bc);}};_0x59f2bd=_0x1b89d6=_0x1c7ac3([_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x5,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x6,(0x0,_0x2fb456[_0x500950(0x430)])(_0xe1c77b)),_0x42aff9(0x7,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0x8,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x9,_0x2fb456['IConfigService']),_0x42aff9(0xa,_0x35ef0a[_0x500950(0x381)]),_0x42aff9(0xb,_0x2fb456[_0x500950(0x285)]),_0x42aff9(0xc,_0x2fb456['IUndoRedoService']),_0x42aff9(0xd,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x59f2bd);let _0x555165=_0x585efb=class extends _0x3bded5{constructor(_0x4cded4,_0x14ff70,_0x56d870,_0x22dba7,_0x2102f6,_0x4e2c6c,_0xdc8db9,_0x28016a,_0x4a43e6,_0x7aecf4,_0x1cc148){const _0x39418e=_0x500950;super(_0x4cded4,_0x14ff70,_0x56d870,[],_0x22dba7,_0xdc8db9,_0x7aecf4,_0x4e2c6c,_0x1cc148),this[_0x39418e(0x4ac)]=_0x2102f6,this[_0x39418e(0x40b)]=_0x28016a,this[_0x39418e(0x44b)]=_0x4a43e6,_0x3dd6fc(this,_0x39418e(0x233),_0x243dc1['AWAITING']),_0x3dd6fc(this,_0x39418e(0x276),0x0),_0x3dd6fc(this,_0x39418e(0x3ad),0x0),_0x3dd6fc(this,_0x39418e(0x2c0),void 0x0),_0x3dd6fc(this,'_sender',void 0x0);}[_0x500950(0x3a3)](_0x1b4e9a){const _0x3d0199=_0x500950;this[_0x3d0199(0x4cd)]();let _0x5db884=this['_injector']['createInstance'](_0x22a444,this[_0x3d0199(0x1ee)],this[_0x3d0199(0x431)],this[_0x3d0199(0x24f)],[_0x1b4e9a],this['_handler'],this[_0x3d0199(0x2c0)]);return _0x5db884[_0x3d0199(0x31c)](),_0x5db884;}['onRemoteChangeset'](_0x195f5a){const _0x2e678a=_0x500950;if(this['_checkMissing'](_0x195f5a))return this[_0x2e678a(0x4cd)](),this[_0x2e678a(0x4ac)][_0x2e678a(0x28e)](_0x1a096a,this[_0x2e678a(0x1ee)],this[_0x2e678a(0x431)],this['_awaitingChangeset'],[],null,[_0x195f5a],this[_0x2e678a(0x33a)]);try{let _0x4bdc64=this['_transformService']['transformChangesets']([_0x195f5a],[this[_0x2e678a(0x24f)]],!0x1);if((0x0,_0x35ef0a['isTransformChangesetsSuccess'])(_0x4bdc64)){let {c1Prime:_0x2dd5ac,c2Prime:_0x5a6a85}=_0x4bdc64;this[_0x2e678a(0x3e5)](_0x2dd5ac[0x0]),_0x5a6a85[0x0][_0x2e678a(0x237)]=this[_0x2e678a(0x1fa)](),this[_0x2e678a(0x4cd)]();let _0x4c810a=this[_0x2e678a(0x4ac)][_0x2e678a(0x28e)](_0x585efb,this[_0x2e678a(0x1ee)],this[_0x2e678a(0x431)],_0x5a6a85[0x0],this['_handler']);return _0x4c810a[_0x2e678a(0x31c)](),_0x4c810a;}return this['_onConflict'](!0x1);}catch(_0x52651c){return this['_logService'][_0x2e678a(0x4bb)](_0x52651c),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x51aace){const _0x2bb310=_0x500950;this['_clearScheduledTask']();let _0xf6de3b=this['_revisionService'][_0x2bb310(0x3ca)](this['unitID']);if(_0x51aace[_0x2bb310(0x300)]<_0xf6de3b-0x1)return this;if(this[_0x2bb310(0x4a7)](_0x51aace))return this[_0x2bb310(0x4ac)]['createInstance'](_0x1a096a,this[_0x2bb310(0x1ee)],this[_0x2bb310(0x431)],null,[],this[_0x2bb310(0x24f)],[],this[_0x2bb310(0x33a)]);this[_0x2bb310(0x235)]();let _0x175a2b=this['_injector']['createInstance'](_0x421172,this[_0x2bb310(0x1ee)],this['type'],this['_handler']);return _0x175a2b['_updateLocalCache'](),_0x175a2b;}[_0x500950(0x2af)](_0x409cd2){const _0x168728=_0x500950;return this[_0x168728(0x336)](!!(_0x409cd2!=null&&_0x409cd2[_0x168728(0x26d)]));}[_0x500950(0x37b)](_0x18989a){const _0x4f4fad=_0x500950;return this[_0x4f4fad(0x3ad)]>_0xd5a097?this[_0x4f4fad(0x395)]():(this['_resendTimer']=_0x2998df(this[_0x4f4fad(0x276)],{'timeout':this['_resendTimeout'],'reqId':_0x18989a[_0x4f4fad(0x378)]}),this[_0x4f4fad(0x2db)]=this[_0x4f4fad(0x2c0)]['subscribe'](({reqId:_0x2ec0e7,timeout:_0xad3b6})=>{const _0x427c43=_0x4f4fad;this[_0x427c43(0x29a)](_0x2ec0e7,_0xad3b6);}),this);}['toggleOffline'](){const _0x3d4d79=_0x500950;return this[_0x3d4d79(0x4cd)](),this['_injector'][_0x3d4d79(0x28e)](_0x457aa2,this[_0x3d4d79(0x1ee)],this[_0x3d4d79(0x431)],this['_awaitingChangeset'],[],this[_0x3d4d79(0x33a)]);}[_0x500950(0x36c)](){return this;}[_0x500950(0x348)](){const _0x1afa2f=_0x500950;this[_0x1afa2f(0x33a)][_0x1afa2f(0x1f5)](this[_0x1afa2f(0x24f)]);}['_onConflict'](_0x274c2b){const _0xb17388=_0x500950;return this[_0xb17388(0x4cd)](),this['_injector'][_0xb17388(0x28e)](_0xf626e2,this['unitID'],this[_0xb17388(0x431)],this[_0xb17388(0x24f)],[],this[_0xb17388(0x33a)],_0x274c2b);}[_0x500950(0x29a)](_0x38e4b6,_0x45a0e4){const _0x24cf54=_0x500950;var _0x466a49;_0x38e4b6===((_0x466a49=this[_0x24cf54(0x24f)])==null?void 0x0:_0x466a49[_0x24cf54(0x378)])&&(this[_0x24cf54(0x348)](),this['_resendTimeout']=_0x45a0e4===0x0?0x3e8:Math[_0x24cf54(0x4e8)](_0x45a0e4*0x2,_0x5297ac),this['_maxTotalRetryTimeout']+=this[_0x24cf54(0x276)]);}[_0x500950(0x4cd)](){const _0x29c41a=_0x500950;var _0x292377;(_0x292377=this['_sender'])==null||_0x292377[_0x29c41a(0x3a0)](),this['_resendTimeout']=0x0,this[_0x29c41a(0x3ad)]=0x0;}};_0x555165=_0x585efb=_0x1c7ac3([_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456['Injector'])),_0x42aff9(0x5,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x6,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x7,_0x2fb456['ILogService']),_0x42aff9(0x8,_0x35ef0a[_0x500950(0x381)]),_0x42aff9(0x9,_0x2fb456[_0x500950(0x22e)]),_0x42aff9(0xa,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x555165);let _0x22a444=_0x1d7c17=class extends _0x3bded5{constructor(_0x2637e7,_0x364df6,_0x5aae34,_0x5355eb,_0x50d5db,_0x9885fb,_0x1e6ebb,_0x3d9015,_0x559f83,_0xd302c5,_0x166a0f,_0x1b0ea4,_0x5683dc){const _0x4a2b26=_0x500950;super(_0x2637e7,_0x364df6,_0x5aae34,_0x5355eb,_0x50d5db,_0x559f83,_0x1b0ea4,_0x3d9015,_0x5683dc),this['_injector']=_0x1e6ebb,this[_0x4a2b26(0x40b)]=_0xd302c5,this['_transformService']=_0x166a0f,this[_0x4a2b26(0x214)]=_0x5683dc,_0x3dd6fc(this,_0x4a2b26(0x233),_0x243dc1[_0x4a2b26(0x50b)]),_0x3dd6fc(this,_0x4a2b26(0x276),0x0),_0x3dd6fc(this,_0x4a2b26(0x3ad),0x0),_0x3dd6fc(this,_0x4a2b26(0x2c0),void 0x0),_0x3dd6fc(this,'_sender',void 0x0),_0x9885fb&&(this[_0x4a2b26(0x2c0)]=_0x9885fb,this[_0x4a2b26(0x2db)]=this['_resendTimer']['subscribe'](({reqId:_0x39acba,timeout:_0xf064e2})=>{const _0x5e481e=_0x4a2b26;this[_0x5e481e(0x29a)](_0x39acba,_0xf064e2);}));}['appendMutation'](_0x33be97){const _0x14050b=_0x500950;return this[_0x14050b(0x3c5)][_0x14050b(0x204)](_0x33be97),this;}[_0x500950(0x432)](_0x18fde0){const _0x4355be=_0x500950;if(this[_0x4355be(0x4a7)](_0x18fde0))return this[_0x4355be(0x4cd)](),this[_0x4355be(0x4ac)][_0x4355be(0x28e)](_0x1a096a,this[_0x4355be(0x1ee)],this[_0x4355be(0x431)],this[_0x4355be(0x24f)],this['_pendingMutations'],null,[_0x18fde0],this[_0x4355be(0x33a)]);try{let _0x14906a=this[_0x4355be(0x44b)][_0x4355be(0x342)]([_0x18fde0],[this[_0x4355be(0x24f)]],!0x1);if((0x0,_0x35ef0a[_0x4355be(0x410)])(_0x14906a)){let {c1Prime:_0x2d8cff,c2Prime:_0x4d9adc}=_0x14906a,_0x148e74=this[_0x4355be(0x44b)]['transformMutationsWithChangeset'](_0x2d8cff[0x0],this[_0x4355be(0x3c5)]);if((0x0,_0x35ef0a[_0x4355be(0x20b)])(_0x148e74)){let {c1Prime:_0x2f186f,m2Prime:_0x115c67}=_0x148e74;return this[_0x4355be(0x3e5)](_0x2f186f),_0x4d9adc[0x0][_0x4355be(0x237)]=this['_getCurrentRevision'](),this[_0x4355be(0x4cd)](),this['_injector'][_0x4355be(0x28e)](_0x1d7c17,this[_0x4355be(0x1ee)],this[_0x4355be(0x431)],_0x4d9adc[0x0],_0x115c67,this[_0x4355be(0x33a)],void 0x0);}throw _0x148e74['error'];}throw _0x14906a['error'];}catch(_0x4381b2){return this[_0x4355be(0x40b)][_0x4355be(0x4bb)](_0x4381b2),this[_0x4355be(0x336)](!0x1);}}['onRemoteAck'](_0x51ff88){const _0x2eedee=_0x500950;if(this[_0x2eedee(0x4cd)](),this[_0x2eedee(0x4a7)](_0x51ff88))return this[_0x2eedee(0x4ac)][_0x2eedee(0x28e)](_0x1a096a,this[_0x2eedee(0x1ee)],this[_0x2eedee(0x431)],null,this[_0x2eedee(0x3c5)],this[_0x2eedee(0x24f)],[],this[_0x2eedee(0x33a)]);this['_incrementRevisionNumber']();let _0x2a1dcf=this['_injector'][_0x2eedee(0x28e)](_0x59f2bd,this[_0x2eedee(0x1ee)],this[_0x2eedee(0x431)],this[_0x2eedee(0x3c5)],this[_0x2eedee(0x33a)]);return _0x2a1dcf[_0x2eedee(0x31d)](),_0x2a1dcf[_0x2eedee(0x31c)](),_0x2a1dcf;}[_0x500950(0x2af)](_0x4896c8){const _0xb95c20=_0x500950;return this['_onConflict'](!!(_0x4896c8!=null&&_0x4896c8[_0xb95c20(0x26d)]));}[_0x500950(0x37b)](_0x3d2bbd){const _0x193fa4=_0x500950;return this['_maxTotalRetryTimeout']>_0xd5a097?this['toggleOffline']():(this[_0x193fa4(0x2c0)]=_0x2998df(this['_resendTimeout'],{'timeout':this[_0x193fa4(0x276)],'reqId':_0x3d2bbd[_0x193fa4(0x378)]}),this[_0x193fa4(0x2db)]=this['_resendTimer'][_0x193fa4(0x495)](({reqId:_0x47c712,timeout:_0x15bf4a})=>{const _0x46b0b4=_0x193fa4;this[_0x46b0b4(0x29a)](_0x47c712,_0x15bf4a);}),this);}['toggleOffline'](){const _0x40a055=_0x500950;return this[_0x40a055(0x4cd)](),this[_0x40a055(0x4ac)][_0x40a055(0x28e)](_0x457aa2,this['unitID'],this[_0x40a055(0x431)],this['_awaitingChangeset'],this[_0x40a055(0x3c5)],this[_0x40a055(0x33a)]);}[_0x500950(0x36c)](){return this;}[_0x500950(0x348)](){const _0xe3e89d=_0x500950;this[_0xe3e89d(0x33a)][_0xe3e89d(0x1f5)](this[_0xe3e89d(0x24f)]);}[_0x500950(0x336)](_0x20dd5d){const _0x2786bd=_0x500950;return this[_0x2786bd(0x4cd)](),this[_0x2786bd(0x4ac)][_0x2786bd(0x28e)](_0xf626e2,this[_0x2786bd(0x1ee)],this[_0x2786bd(0x431)],null,this[_0x2786bd(0x3c5)],this[_0x2786bd(0x33a)],_0x20dd5d);}[_0x500950(0x29a)](_0x19eb0f,_0xebc07c){const _0x469ea4=_0x500950;var _0x167988;_0x19eb0f===((_0x167988=this[_0x469ea4(0x24f)])==null?void 0x0:_0x167988['reqId'])&&(this[_0x469ea4(0x348)](),this[_0x469ea4(0x276)]=_0xebc07c===0x0?0x3e8:Math['min'](_0xebc07c*0x2,_0x5297ac),this[_0x469ea4(0x3ad)]+=this['_resendTimeout']);}[_0x500950(0x4cd)](){var _0x324dfd;(_0x324dfd=this['_sender'])==null||_0x324dfd['unsubscribe'](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x22a444=_0x1d7c17=_0x1c7ac3([_0x42aff9(0x6,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x7,(0x0,_0x2fb456['Inject'])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x8,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x9,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0xa,_0x35ef0a[_0x500950(0x381)]),_0x42aff9(0xb,_0x2fb456['IUndoRedoService']),_0x42aff9(0xc,(0x0,_0x2fb456['Optional'])(_0x3d2740))],_0x22a444);let _0xf626e2=class extends _0x3bded5{constructor(_0x494943,_0x173140,_0x3f5b02,_0x11ffd6,_0x3d246,_0x48176d=!0x1,_0x4ce748,_0x40e84e,_0x4832c2,_0xa70997,_0x94d966,_0x432292,_0x416679){const _0x2a8205=_0x500950;super(_0x494943,_0x173140,_0x3f5b02,_0x11ffd6,_0x3d246,_0x40e84e,_0x4832c2,_0xa70997,_0x416679),this[_0x2a8205(0x213)]=_0x48176d,this[_0x2a8205(0x48f)]=_0x4ce748,this[_0x2a8205(0x2d4)]=_0x94d966,this['_collaborationUIEventService']=_0x432292,this['localCacheService']=_0x416679,_0x3dd6fc(this,_0x2a8205(0x233),_0x243dc1[_0x2a8205(0x3df)]),this[_0x2a8205(0x38a)](),this[_0x2a8205(0x433)](),this[_0x2a8205(0x2a9)]();}[_0x500950(0x3a3)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x500950(0x2af)](){return this;}[_0x500950(0x37b)](){return this;}[_0x500950(0x395)](){return this;}[_0x500950(0x36c)](){return this;}[_0x500950(0x348)](){const _0x4703ec=_0x500950;throw Error(_0x4703ec(0x2b2));}[_0x500950(0x433)](){const _0x586fce=_0x500950;var _0x316873;(_0x316873=this[_0x586fce(0x49b)])==null||_0x316873[_0x586fce(0x1fc)](this['unitID'],this[_0x586fce(0x431)],null,[]);}[_0x500950(0x38a)](){const _0x1a2ca3=_0x500950;this[_0x1a2ca3(0x213)]?this[_0x1a2ca3(0x219)][_0x1a2ca3(0x254)]({'id':_0x3221f8[_0x1a2ca3(0x4de)]}):this['_collaborationUIEventService']['emitEvent']({'id':_0x3221f8[_0x1a2ca3(0x3df)]});}[_0x500950(0x2a9)](){const _0x4a5025=_0x500950;this[_0x4a5025(0x48f)]['updatePermissionPoint'](new _0x558c66['WorkbookEditablePermission'](this[_0x4a5025(0x1ee)])['id'],!0x1);}};_0xf626e2=_0x1c7ac3([_0x42aff9(0x6,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x3db)])),_0x42aff9(0x7,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x8,_0x2fb456['IUndoRedoService']),_0x42aff9(0x9,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0xa,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x20d)])),_0x42aff9(0xb,(0x0,_0x2fb456[_0x500950(0x430)])(_0x4cb1da)),_0x42aff9(0xc,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0xf626e2);let _0x457aa2=class extends _0x3bded5{constructor(_0x3fe470,_0x449d79,_0x29164c,_0x2202d6,_0x57b78e,_0x3cd1a0,_0x22b7aa,_0x2215f4,_0x328fc5,_0x30fc9b){const _0x2fa06f=_0x500950;super(_0x3fe470,_0x449d79,_0x29164c,_0x2202d6,_0x57b78e,_0x2215f4,_0x328fc5,_0x22b7aa,_0x30fc9b),this[_0x2fa06f(0x4ac)]=_0x3cd1a0,_0x3dd6fc(this,'status',_0x243dc1[_0x2fa06f(0x231)]);}['appendMutation'](_0x3dbd78){const _0x222428=_0x500950;return this['_pendingMutations']['push'](_0x3dbd78),this[_0x222428(0x31c)](),this;}['onRemoteChangeset'](_0x229f44){const _0x58966b=_0x500950;throw Error(_0x58966b(0x364));}[_0x500950(0x316)](){const _0x948975=_0x500950;throw Error(_0x948975(0x308));}['onRemoteRej'](){const _0x200e1d=_0x500950;throw Error(_0x200e1d(0x267));}[_0x500950(0x37b)](){return this;}['toggleOffline'](){return this;}[_0x500950(0x36c)](){const _0x40d04b=_0x500950;let {_injector:_0x573e54,_pendingMutations:_0x2d1a85,_awaitingChangeset:_0xb8e612,unitID:_0x4a673f,_handler:_0x428d3a,type:_0x32592a}=this,_0x1849a9=_0x56847e(_0x573e54,_0x4a673f,_0x32592a,_0xb8e612,_0x2d1a85,_0x428d3a);return _0x1849a9 instanceof _0x59f2bd?_0x1849a9[_0x40d04b(0x31d)]():(_0x1849a9 instanceof _0x22a444||_0x1849a9 instanceof _0x555165)&&_0x1849a9[_0x40d04b(0x348)](),_0x1849a9;}[_0x500950(0x348)](){const _0x554c12=_0x500950;throw Error(_0x554c12(0x49f));}};_0x457aa2=_0x1c7ac3([_0x42aff9(0x5,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x6,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x7,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x8,_0x2fb456[_0x500950(0x22e)]),_0x42aff9(0x9,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x457aa2);let _0x1a096a=class extends _0x3bded5{constructor(_0xa61941,_0x5cac9d,_0x19c583,_0x149403,_0x4daa76,_0x105dd1,_0x247f57,_0xc2a46f,_0x443801,_0x4c6f16,_0x35a4bc,_0x310c09,_0x17a796,_0x372e19){const _0xcb7379=_0x500950;super(_0xa61941,_0x5cac9d,_0x19c583,_0x149403,_0x247f57,_0x35a4bc,_0x310c09,_0x443801,_0x372e19),this[_0xcb7379(0x34e)]=_0x4daa76,this[_0xcb7379(0x424)]=_0x105dd1,this['_injector']=_0xc2a46f,this['_logService']=_0x4c6f16,this[_0xcb7379(0x44b)]=_0x17a796,this['localCacheService']=_0x372e19,_0x3dd6fc(this,_0xcb7379(0x233),_0x243dc1[_0xcb7379(0x210)]);}[_0x500950(0x405)](_0x3acd17){const _0x529e2d=_0x500950;try{let _0x2a04ed=[..._0x3acd17,...this[_0x529e2d(0x424)]],_0x3c3c08=[this[_0x529e2d(0x24f)]||this[_0x529e2d(0x34e)]]['filter'](_0x12b2f1=>!!_0x12b2f1),_0x52653a,_0x470ceb;if(_0x3c3c08[_0x529e2d(0x301)]){let _0x2f4f67=this[_0x529e2d(0x44b)][_0x529e2d(0x342)](_0x2a04ed,_0x3c3c08,!0x1);if(!(0x0,_0x35ef0a[_0x529e2d(0x410)])(_0x2f4f67))throw _0x2f4f67[_0x529e2d(0x4bb)];_0x52653a=_0x2f4f67['c1Prime'],_0x470ceb=_0x2f4f67[_0x529e2d(0x374)];}else _0x52653a=_0x2a04ed,_0x470ceb=[];let _0x46c14c=this[_0x529e2d(0x3c5)];_0x52653a[_0x529e2d(0x36d)](_0x4c957d=>{const _0x1030df=_0x529e2d;let _0x52bc1c;if(_0x46c14c[_0x1030df(0x301)]){let _0x455891=this[_0x1030df(0x44b)][_0x1030df(0x439)](_0x4c957d,_0x46c14c);if(!(0x0,_0x35ef0a[_0x1030df(0x20b)])(_0x455891))throw _0x455891[_0x1030df(0x4bb)];_0x52bc1c=_0x455891[_0x1030df(0x30b)],_0x46c14c=_0x455891[_0x1030df(0x3dc)];}else _0x52bc1c=_0x4c957d;this[_0x1030df(0x3e5)](_0x52bc1c);}),this[_0x529e2d(0x34e)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x470ceb[_0x529e2d(0x301)]&&(_0x470ceb[0x0][_0x529e2d(0x237)]=this[_0x529e2d(0x1fa)]());let _0xa34d71;if(this['_awaitingChangeset']&&_0x46c14c[_0x529e2d(0x301)]!==0x0)_0xa34d71=this['_injector'][_0x529e2d(0x28e)](_0x22a444,this[_0x529e2d(0x1ee)],this[_0x529e2d(0x431)],_0x470ceb[0x0],_0x46c14c,this[_0x529e2d(0x33a)],void 0x0);else{if(this[_0x529e2d(0x24f)]&&_0x46c14c['length']===0x0)_0x470ceb[0x0][_0x529e2d(0x237)]=this[_0x529e2d(0x1fa)](),_0xa34d71=this['_injector'][_0x529e2d(0x28e)](_0x555165,this['unitID'],this[_0x529e2d(0x431)],_0x470ceb[0x0],this[_0x529e2d(0x33a)]);else{if(_0x46c14c['length']!==0x0){let _0x1a30df=this[_0x529e2d(0x4ac)]['createInstance'](_0x59f2bd,this['unitID'],this[_0x529e2d(0x431)],_0x46c14c,this[_0x529e2d(0x33a)]);_0x1a30df[_0x529e2d(0x31d)](),_0xa34d71=_0x1a30df;}else _0xa34d71=this['_injector'][_0x529e2d(0x28e)](_0x421172,this[_0x529e2d(0x1ee)],this[_0x529e2d(0x431)],this[_0x529e2d(0x33a)]);}}return _0xa34d71[_0x529e2d(0x31c)](),_0xa34d71;}catch(_0x3e6f5e){return this[_0x529e2d(0x40b)][_0x529e2d(0x4bb)](_0x529e2d(0x376),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3e6f5e),this[_0x529e2d(0x4ac)][_0x529e2d(0x28e)](_0xf626e2,this[_0x529e2d(0x1ee)],this[_0x529e2d(0x431)],this[_0x529e2d(0x24f)],this[_0x529e2d(0x3c5)],this[_0x529e2d(0x33a)],!0x1);}}[_0x500950(0x348)](){const _0x9d39f2=_0x500950;throw Error(_0x9d39f2(0x32b));}[_0x500950(0x3a3)](_0x2301d6){const _0x58fe4c=_0x500950;return this[_0x58fe4c(0x3c5)][_0x58fe4c(0x204)](_0x2301d6),this;}[_0x500950(0x432)](_0x547a07){const _0x1ecb0a=_0x500950;return this[_0x1ecb0a(0x424)][_0x1ecb0a(0x204)](_0x547a07),this;}[_0x500950(0x316)](_0x3b9c7c){const _0xd7847e=_0x500950;if(this[_0xd7847e(0x24f)])return this[_0xd7847e(0x34e)]=this[_0xd7847e(0x24f)],this[_0xd7847e(0x24f)]=null,this;throw Error(_0xd7847e(0x23d));}[_0x500950(0x2af)](_0x18b8b7){return this['_onConflict'](!!(_0x18b8b7!=null&&_0x18b8b7['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x500950(0x395)](){const _0x19c1f2=_0x500950;return this[_0x19c1f2(0x4ac)][_0x19c1f2(0x28e)](_0x457aa2,this['unitID'],this[_0x19c1f2(0x431)],this[_0x19c1f2(0x24f)],this[_0x19c1f2(0x3c5)],this[_0x19c1f2(0x33a)]);}[_0x500950(0x36c)](){return this;}[_0x500950(0x336)](_0x33091c){const _0x4afe2b=_0x500950;return this[_0x4afe2b(0x4ac)][_0x4afe2b(0x28e)](_0xf626e2,this[_0x4afe2b(0x1ee)],this['type'],this['_awaitingChangeset'],this[_0x4afe2b(0x3c5)],this[_0x4afe2b(0x33a)],_0x33091c);}};_0x1a096a=_0x1c7ac3([_0x42aff9(0x7,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456['Injector'])),_0x42aff9(0x8,(0x0,_0x2fb456['Inject'])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x9,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0xa,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0xb,_0x2fb456[_0x500950(0x22e)]),_0x42aff9(0xc,_0x35ef0a[_0x500950(0x381)]),_0x42aff9(0xd,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x1a096a);function _0x56847e(_0x1caeb9,_0x5f5a94,_0x2554ff,_0x148f77,_0x49497c,_0x37face){const _0x30c469=_0x500950;return _0x148f77&&_0x49497c[_0x30c469(0x301)]?_0x1caeb9[_0x30c469(0x28e)](_0x22a444,_0x5f5a94,_0x2554ff,_0x148f77,_0x49497c,_0x37face,void 0x0):_0x148f77?_0x1caeb9[_0x30c469(0x28e)](_0x555165,_0x5f5a94,_0x2554ff,_0x148f77,_0x37face):_0x49497c['length']?_0x1caeb9[_0x30c469(0x28e)](_0x59f2bd,_0x5f5a94,_0x2554ff,_0x49497c,_0x37face):_0x1caeb9[_0x30c469(0x28e)](_0x421172,_0x5f5a94,_0x2554ff,_0x37face);}let _0x575020=class extends _0x2fb456[_0x500950(0x1fb)]{get[_0x500950(0x216)](){const _0x5059d6=_0x500950;return this[_0x5059d6(0x4cf)];}constructor(_0x56e3e4,_0x472622,_0x4b3e0f,_0xe354c9,_0x3e7b0e,_0x2289f0,_0x466a65,_0x53acaf,_0x14c027,_0x56a177,_0x528351,_0x45a743,_0x15c94d,_0x22b1b4){const _0x41bac=_0x500950;super(),this[_0x41bac(0x1ee)]=_0x56e3e4,this[_0x41bac(0x3ab)]=_0x472622,this[_0x41bac(0x2dd)]=_0x4b3e0f,this['_injector']=_0xe354c9,this['_compressMutationService']=_0x3e7b0e,this[_0x41bac(0x2d4)]=_0x2289f0,this['_revisionService']=_0x466a65,this['_eventService']=_0x53acaf,this[_0x41bac(0x2d1)]=_0x14c027,this[_0x41bac(0x40b)]=_0x56a177,this[_0x41bac(0x4d2)]=_0x528351,this['_permissionService']=_0x45a743,this[_0x41bac(0x2c7)]=_0x15c94d,this['_localCacheService']=_0x22b1b4,_0x3dd6fc(this,_0x41bac(0x3de),new _0x5eae7e[(_0x41bac(0x3c7))](null)),_0x3dd6fc(this,'state$',this[_0x41bac(0x3de)]['asObservable']()),_0x3dd6fc(this,_0x41bac(0x4cf),void 0x0),_0x3dd6fc(this,_0x41bac(0x4a6),!0x1),_0x3dd6fc(this,_0x41bac(0x45c),''),_0x3dd6fc(this,'_changesetReqId',0x0),_0x3dd6fc(this,_0x41bac(0x22f),this[_0x41bac(0x31a)][_0x41bac(0x3d3)]((0x0,_0x5eae7e[_0x41bac(0x39d)])(_0x42d626=>_0x42d626?_0x42d626['status']:_0x243dc1[_0x41bac(0x231)]),(0x0,_0x5eae7e[_0x41bac(0x41f)])(0x1))),_0x3dd6fc(this,_0x41bac(0x40f),!0x1),_0x3dd6fc(this,_0x41bac(0x413),[]);}async[_0x500950(0x41a)](){const _0x26f77c=_0x500950;if(this[_0x26f77c(0x216)])throw Error(_0x26f77c(0x509));await this[_0x26f77c(0x21d)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,(0x0,_0x2fb456['toDisposable'])(()=>{const _0xb10cff=_0x1951;this[_0xb10cff(0x4a6)]=!0x1,this[_0xb10cff(0x212)]();});}[_0x500950(0x3bd)](_0x508a94){const _0x58f6f7=_0x500950;this[_0x58f6f7(0x3b1)](_0x508a94);}[_0x500950(0x48d)](_0x57eef1){const _0x274d14=_0x500950;this[_0x274d14(0x4cf)]=_0x57eef1,this[_0x274d14(0x3de)][_0x274d14(0x362)](_0x57eef1);}async[_0x500950(0x21d)](){const _0x2d9a5e=_0x500950;if(this[_0x2d9a5e(0x48d)](await this[_0x2d9a5e(0x3e6)]()),this[_0x2d9a5e(0x2c7)]){var _0xde9532;(_0xde9532=this['_singleActiveUnitService'])==null||_0xde9532['editingUnit'](this[_0x2d9a5e(0x1ee)]),this[_0x2d9a5e(0x3d4)](this[_0x2d9a5e(0x2c7)][_0x2d9a5e(0x3da)](this[_0x2d9a5e(0x1ee)])['subscribe'](_0x4701f2=>{const _0xd839dd=_0x2d9a5e;this['_logService'][_0xd839dd(0x4a8)](_0xd839dd(0x202),_0xd839dd(0x4e1),_0x4701f2),_0x4701f2===_0x3886c4[_0xd839dd(0x4fb)]?(this['_eventService'][_0xd839dd(0x254)]({'id':_0x3221f8[_0xd839dd(0x478)]}),this[_0xd839dd(0x48f)][_0xd839dd(0x1ed)](new _0x558c66['WorkbookEditablePermission'](this[_0xd839dd(0x1ee)])['id'],!0x1),this[_0xd839dd(0x48f)][_0xd839dd(0x3ef)](!0x1)):(this['_permissionService'][_0xd839dd(0x1ed)](new _0x558c66[(_0xd839dd(0x21a))](this[_0xd839dd(0x1ee)])['id'],!0x0),this[_0xd839dd(0x48f)][_0xd839dd(0x3ef)](!0x0));}));}let _0x8f8a93=!0x1;return this[_0x2d9a5e(0x3d4)](this[_0x2d9a5e(0x3ab)][_0x2d9a5e(0x23c)]['subscribe'](_0x26b167=>{const _0xb896c8=_0x2d9a5e;_0x26b167===_0x486856[_0xb896c8(0x434)]?this['_toggleOnline'](_0x8f8a93):_0x26b167===_0x486856[_0xb896c8(0x231)]&&(_0x8f8a93=!0x0,this[_0xb896c8(0x50c)]());})),this['disposeWithMe'](this[_0x2d9a5e(0x3ab)][_0x2d9a5e(0x2aa)][_0x2d9a5e(0x495)](_0x4898d5=>{const _0x1af43b=_0x2d9a5e;try{switch(_0x4898d5[_0x1af43b(0x49e)]){case _0x35ef0a[_0x1af43b(0x21e)]['NEW_CHANGESETS']:this[_0x1af43b(0x4ef)]((0x0,_0x35ef0a[_0x1af43b(0x468)])(_0x4898d5['data']));break;case _0x35ef0a[_0x1af43b(0x21e)][_0x1af43b(0x3f6)]:this[_0x1af43b(0x2c2)](_0x4898d5['data']);break;case _0x35ef0a['CollaborationEvent'][_0x1af43b(0x373)]:this[_0x1af43b(0x3fe)]();break;case _0x35ef0a[_0x1af43b(0x21e)]['CHANGESET_SHOULD_RETRY']:this[_0x1af43b(0x361)](_0x4898d5[_0x1af43b(0x1f0)]);break;case _0x35ef0a['CollaborationEvent'][_0x1af43b(0x222)]:this[_0x1af43b(0x263)](_0x4898d5[_0x1af43b(0x1f0)][_0x1af43b(0x479)][_0x1af43b(0x39d)](_0x17da60=>(0x0,_0x35ef0a[_0x1af43b(0x468)])(_0x17da60)));break;case _0x35ef0a[_0x1af43b(0x21e)][_0x1af43b(0x295)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});break;case _0x35ef0a['CollaborationEvent'][_0x1af43b(0x228)]:break;}}catch(_0x39d93a){throw console[_0x1af43b(0x4bb)](_0x1af43b(0x400),_0x39d93a),_0x39d93a;}})),this[_0x2d9a5e(0x4cf)];}[_0x500950(0x24a)](){const _0x21d693=_0x500950;this[_0x21d693(0x40f)]=!0x1;}[_0x500950(0x306)](){const _0x14b324=_0x500950;if(this[_0x14b324(0x40f)])throw Error(_0x14b324(0x3a2));this[_0x14b324(0x40f)]=!0x0;}[_0x500950(0x3b1)](_0x3a9cfd){const _0x42bd72=_0x500950;this['_lockTransition'](),this[_0x42bd72(0x48d)](this[_0x42bd72(0x4cf)][_0x42bd72(0x3a3)](_0x3a9cfd)),this[_0x42bd72(0x24a)]();}[_0x500950(0x4ef)](_0x14b797){const _0x44a3dd=_0x500950;if(!(_0x14b797['revision']<=this[_0x44a3dd(0x29d)][_0x44a3dd(0x3ca)](this['unitID']))){if(this[_0x44a3dd(0x4a6)]){this[_0x44a3dd(0x413)][_0x44a3dd(0x204)](_0x14b797);return;}this['_applyRemoteChangeset'](_0x14b797);}}[_0x500950(0x212)](){const _0xc6013b=_0x500950;this[_0xc6013b(0x413)][_0xc6013b(0x36d)](_0x403f09=>this[_0xc6013b(0x1f3)](_0x403f09)),this['_remoteChangesetQueue']=[];}[_0x500950(0x1f3)](_0x1c9fc7){const _0x4800b5=_0x500950;let _0x11ec55=this[_0x4800b5(0x30a)][_0x4800b5(0x223)]['fetchThroughInterceptors'](this[_0x4800b5(0x30a)][_0x4800b5(0x223)][_0x4800b5(0x319)]()[_0x4800b5(0x39b)])(_0x1c9fc7[_0x4800b5(0x3d1)],null)||_0x1c9fc7[_0x4800b5(0x3d1)],_0x23dc74={..._0x1c9fc7,'mutations':_0x11ec55};this[_0x4800b5(0x306)](),this['_updateState'](this[_0x4800b5(0x4cf)][_0x4800b5(0x432)](_0x23dc74)),this[_0x4800b5(0x24a)]();}[_0x500950(0x2c2)](_0x5f168a){const _0x387393=_0x500950;this[_0x387393(0x306)](),this[_0x387393(0x48d)](this[_0x387393(0x4cf)][_0x387393(0x316)](_0x5f168a)),this[_0x387393(0x24a)]();}[_0x500950(0x3fe)](_0x3a467d){const _0x10bbba=_0x500950;this['_lockTransition'](),this[_0x10bbba(0x48d)](this[_0x10bbba(0x4cf)][_0x10bbba(0x2af)](_0x3a467d)),this['_unlockTransition']();}[_0x500950(0x361)](_0x516fda){const _0x148f4d=_0x500950;this[_0x148f4d(0x306)](),this['_updateState'](this[_0x148f4d(0x4cf)][_0x148f4d(0x37b)](_0x516fda)),this[_0x148f4d(0x24a)]();}[_0x500950(0x263)](_0x17e658){const _0x1765ab=_0x500950;if(!(this[_0x1765ab(0x4cf)]instanceof _0x1a096a))throw TypeError(_0x1765ab(0x436));let _0x17f3e0=_0x17e658[_0x1765ab(0x39d)](_0x405035=>{const _0x5479bb=_0x1765ab;let _0x5d47d2=this[_0x5479bb(0x30a)]['interceptor'][_0x5479bb(0x3ae)](this['_compressMutationService'][_0x5479bb(0x223)][_0x5479bb(0x319)]()[_0x5479bb(0x39b)])(_0x405035['mutations'],null)||_0x405035['mutations'];return{..._0x405035,'mutations':_0x5d47d2};});this[_0x1765ab(0x306)](),this[_0x1765ab(0x48d)](this[_0x1765ab(0x4cf)][_0x1765ab(0x405)](_0x17f3e0)),this[_0x1765ab(0x24a)]();}[_0x500950(0x50c)](){const _0x31ba35=_0x500950;this[_0x31ba35(0x306)](),this[_0x31ba35(0x48d)](this[_0x31ba35(0x4cf)][_0x31ba35(0x395)]()),this[_0x31ba35(0x24a)]();}['_toggleOnline'](_0x3254c1=!0x1){const _0x4658fd=_0x500950;this[_0x4658fd(0x306)](),this[_0x4658fd(0x48d)](this[_0x4658fd(0x4cf)][_0x4658fd(0x36c)]()),this[_0x4658fd(0x24a)]();let _0x4e9167=this[_0x4658fd(0x4cf)];_0x3254c1&&_0x4e9167 instanceof _0x421172&&(this[_0x4658fd(0x306)](),this[_0x4658fd(0x48d)](_0x4e9167['fetchMiss']()),this['_unlockTransition']());}async[_0x500950(0x3e6)](){return new Promise(_0x417467=>{const _0x5be2f4=_0x1951;this['session']['sessionStatus$'][_0x5be2f4(0x3d3)]((0x0,_0x5eae7e[_0x5be2f4(0x409)])(0x1))[_0x5be2f4(0x495)](async _0x23db51=>{const _0x2063e6=_0x5be2f4;_0x417467(await this[_0x2063e6(0x203)](_0x23db51===_0x486856[_0x2063e6(0x434)]));});});}['_createHandler'](){const _0x29a9dc=_0x500950;let _0x4fa5cd=this[_0x29a9dc(0x1ee)];return{'onStateChange':(_0x4a939b,_0x353ac9)=>{const _0x424fb9=_0x29a9dc;if(_0x4a939b!==this[_0x424fb9(0x4cf)])throw Error(_0x424fb9(0x2a2)+_0x4a939b[_0x424fb9(0x233)]+_0x424fb9(0x3f0)+_0x353ac9['status']+_0x424fb9(0x273)+this[_0x424fb9(0x4cf)]['status']);this[_0x424fb9(0x48d)](_0x353ac9);},'onSendChangeset':_0x3518c9=>{const _0x50e083=_0x29a9dc;_0x3518c9[_0x50e083(0x4db)]||(_0x3518c9[_0x50e083(0x4db)]=this[_0x50e083(0x45c)],_0x3518c9['reqId']=++this[_0x50e083(0x4e5)]);let _0x5caf0e={'eventID':_0x35ef0a[_0x50e083(0x21e)][_0x50e083(0x4ad)],'data':{'unitID':_0x3518c9[_0x50e083(0x1ee)],'unitType':this[_0x50e083(0x2dd)],'changeset':_0x3518c9,'memberID':this[_0x50e083(0x3ab)]['getMemberID']()}};this['session'][_0x50e083(0x45f)](_0x5caf0e,this[_0x50e083(0x1ee)]);},'onMissingChangesets':({from:_0x1112bc,to:_0x5c8a5d})=>{const _0x3ceb80=_0x29a9dc;this[_0x3ceb80(0x40b)]['debug'](_0x3ceb80(0x202),_0x3ceb80(0x2d0)+_0x1112bc+_0x3ceb80(0x445)+_0x5c8a5d);let _0x587f36={'eventID':_0x35ef0a[_0x3ceb80(0x21e)][_0x3ceb80(0x44a)],'data':{'unitID':_0x4fa5cd,'unitType':this[_0x3ceb80(0x2dd)],'from':_0x1112bc,'to':_0x5c8a5d}};this[_0x3ceb80(0x3ab)]['send'](_0x587f36,this['unitID']);}};}async[_0x500950(0x203)](_0x5e2ec3){const _0x40106e=_0x500950;var _0x24124d,_0x313dbc,_0x12c737;let _0x5c7b4f=await((_0x24124d=this['_localCacheService'])==null?void 0x0:_0x24124d[_0x40106e(0x45a)](this[_0x40106e(0x1ee)])),_0x5b4e83=(_0x313dbc=_0x5c7b4f==null?void 0x0:_0x5c7b4f[_0x40106e(0x3d1)])==null?[]:_0x313dbc,_0x1097f4=(_0x12c737=_0x5c7b4f==null?void 0x0:_0x5c7b4f[_0x40106e(0x40d)])==null?null:_0x12c737,_0x5a1a22=!!(_0x1097f4!=null&&_0x1097f4[_0x40106e(0x4db)])&&!!(_0x1097f4!=null&&_0x1097f4[_0x40106e(0x378)]);this[_0x40106e(0x45c)]=_0x5a1a22?_0x1097f4['sid']:(0x0,_0x35ef0a[_0x40106e(0x28a)])(),this[_0x40106e(0x4e5)]=_0x5a1a22?_0x1097f4[_0x40106e(0x378)]:0x0;let _0x328a7b=this[_0x40106e(0x1ee)];try{this[_0x40106e(0x2fa)](_0x1097f4,_0x5b4e83);}catch(_0x214abf){this[_0x40106e(0x40b)][_0x40106e(0x4bb)](_0x214abf);}let _0x5d8448=this[_0x40106e(0x27c)]();if(_0x5e2ec3){let _0x451032=_0x56847e(this[_0x40106e(0x4ac)],_0x328a7b,this[_0x40106e(0x2dd)],_0x1097f4,_0x5b4e83,_0x5d8448);return _0x451032 instanceof _0x59f2bd?_0x451032['_schedule']():(_0x451032 instanceof _0x22a444||_0x451032 instanceof _0x555165)&&_0x451032[_0x40106e(0x348)](),_0x451032;}return this[_0x40106e(0x4ac)][_0x40106e(0x28e)](_0x457aa2,_0x328a7b,this[_0x40106e(0x2dd)],_0x1097f4,_0x5b4e83,_0x5d8448);}[_0x500950(0x2fa)](_0x2126eb,_0x5f169a){const _0x23cd54=_0x500950;var _0x4b18e4,_0xd405df;let _0x3e45ef=this[_0x23cd54(0x30a)][_0x23cd54(0x223)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x23cd54(0x319)]()['COMPRESS_MUTATION_APPLY']);(_0x4b18e4=_0x3e45ef((_0x2126eb==null?void 0x0:_0x2126eb[_0x23cd54(0x3d1)])||[],null))==null||_0x4b18e4[_0x23cd54(0x36d)](_0x14f7e8=>this['_commandService'][_0x23cd54(0x3ce)](_0x14f7e8['id'],_0x14f7e8[_0x23cd54(0x4c7)])),(_0xd405df=_0x3e45ef(_0x5f169a||[],null))==null||_0xd405df[_0x23cd54(0x36d)](_0xaad5d9=>this[_0x23cd54(0x4d2)]['executeCommand'](_0xaad5d9['id'],_0xaad5d9['params']));}};_0x575020=_0x1c7ac3([_0x42aff9(0x3,(0x0,_0x2fb456['Inject'])(_0x2fb456['Injector'])),_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x499)])),_0x42aff9(0x5,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x20d)])),_0x42aff9(0x6,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x7,(0x0,_0x2fb456[_0x500950(0x430)])(_0x4cb1da)),_0x42aff9(0x8,_0x2fb456['IUniverInstanceService']),_0x42aff9(0x9,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0xa,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0xb,_0x2fb456[_0x500950(0x3db)]),_0x42aff9(0xc,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x129fb8)),_0x42aff9(0xd,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x575020);let _0x2f2fd7=class extends _0x575020{constructor(_0x5ece9a,_0x221c16,_0x5e50e8,_0x366249,_0x587262,_0x3eff11,_0x26938d,_0x473359,_0x129930,_0x4c0440,_0x2dd391,_0x5ce0d1,_0x1cc735,_0x923f5e){const _0x4dc5b7=_0x500950;super(_0x5ece9a,_0x5e50e8,_0x221c16,_0x366249,_0x587262,_0x3eff11,_0x26938d,_0x473359,_0x129930,_0x4c0440,_0x2dd391,_0x5ce0d1,_0x1cc735,_0x923f5e),this[_0x4dc5b7(0x1ee)]=_0x5ece9a,this[_0x4dc5b7(0x431)]=_0x221c16,_0x3dd6fc(this,_0x4dc5b7(0x352),null);}['addHandlerCallback'](_0x348ac8){const _0x1ad773=_0x500950;this[_0x1ad773(0x352)]=_0x348ac8;}['dispose'](){const _0x4e85a5=_0x500950;this['_handlerCallback']=null,super[_0x4e85a5(0x218)]();}[_0x500950(0x27c)](){const _0x5a380b=_0x500950;let _0x4142fa=super[_0x5a380b(0x27c)]();return _0x4142fa[_0x5a380b(0x332)]=_0x3cc9b6=>{const _0x435454=_0x5a380b;var _0x7a9e03,_0x2372eb;return(_0x7a9e03=this[_0x435454(0x352)])==null||(_0x2372eb=_0x7a9e03[_0x435454(0x332)])==null?void 0x0:_0x2372eb['call'](_0x7a9e03,_0x3cc9b6);},_0x4142fa[_0x5a380b(0x2e8)]=_0x2819b4=>{const _0x5cbc7e=_0x5a380b;var _0x2119cd,_0x5000d4;return(_0x2119cd=this['_handlerCallback'])==null||(_0x5000d4=_0x2119cd[_0x5cbc7e(0x2e8)])==null?void 0x0:_0x5000d4[_0x5cbc7e(0x2ba)](_0x2119cd,_0x2819b4);},_0x4142fa[_0x5a380b(0x33e)]=_0x493404=>{const _0x46373e=_0x5a380b;var _0x5c4420,_0x588e03;return(_0x5c4420=this[_0x46373e(0x352)])==null||(_0x588e03=_0x5c4420[_0x46373e(0x33e)])==null?void 0x0:_0x588e03['call'](_0x5c4420,_0x493404);},_0x4142fa[_0x5a380b(0x215)]=_0x35f985=>{const _0x894f8d=_0x5a380b;var _0x23bd87,_0x2d32d3;return(_0x23bd87=this[_0x894f8d(0x352)])==null||(_0x2d32d3=_0x23bd87[_0x894f8d(0x215)])==null?void 0x0:_0x2d32d3['call'](_0x23bd87,_0x35f985);},_0x4142fa[_0x5a380b(0x278)]=_0xc67cc3=>{const _0x26f149=_0x5a380b;var _0x562f13,_0xb91a86,_0x42d2cf;if(!((_0x562f13=this[_0x26f149(0x352)])!=null&&_0x562f13['onTransformRemoteChangesetByIMECache']))throw Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xb91a86=this[_0x26f149(0x352)])==null||(_0x42d2cf=_0xb91a86[_0x26f149(0x278)])==null?void 0x0:_0x42d2cf['call'](_0xb91a86,_0xc67cc3);},_0x4142fa[_0x5a380b(0x3cf)]=_0x506ac7=>{const _0x3d559f=_0x5a380b;var _0x1f4de0,_0x4b90db,_0x551c22;if(!((_0x1f4de0=this[_0x3d559f(0x352)])!=null&&_0x1f4de0['onTransformRemoteChangesetByStateCache']))throw Error(_0x3d559f(0x221));return(_0x4b90db=this[_0x3d559f(0x352)])==null||(_0x551c22=_0x4b90db[_0x3d559f(0x3cf)])==null?void 0x0:_0x551c22[_0x3d559f(0x2ba)](_0x4b90db,_0x506ac7);},_0x4142fa;}async[_0x500950(0x21d)](){const _0x3fc88e=_0x500950;let _0x430645=await super[_0x3fc88e(0x21d)]();return this[_0x3fc88e(0x3d4)](this['_commandService'][_0x3fc88e(0x265)]((_0x162a8a,_0x5c9981)=>{const _0x2f2d1e=_0x3fc88e;if(_0x162a8a[_0x2f2d1e(0x431)]!==_0x2fb456[_0x2f2d1e(0x313)][_0x2f2d1e(0x232)]||_0x5c9981!=null&&_0x5c9981[_0x2f2d1e(0x47b)]||_0x5c9981!=null&&_0x5c9981['onlyLocal']||_0x162a8a['id']===_0x4923d3[_0x2f2d1e(0x2b5)]['id'])return;let _0x424837=_0x162a8a[_0x2f2d1e(0x4c7)];if((_0x424837==null?void 0x0:_0x424837[_0x2f2d1e(0x2f4)])!==this['unitID'])return;let _0x4975fa=_0x162a8a,_0x47d3fb=this['_compressMutationService'][_0x2f2d1e(0x223)][_0x2f2d1e(0x3ae)](this[_0x2f2d1e(0x30a)][_0x2f2d1e(0x223)][_0x2f2d1e(0x319)]()[_0x2f2d1e(0x4d4)])([_0x4975fa],this[_0x2f2d1e(0x2d1)])||[_0x4975fa];this['_onLocalMutation'](_0x47d3fb[0x0]);})),_0x430645;}};_0x2f2fd7=_0x1c7ac3([_0x42aff9(0x3,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a['CompressMutationService'])),_0x42aff9(0x5,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x20d)])),_0x42aff9(0x6,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x7,(0x0,_0x2fb456[_0x500950(0x430)])(_0x4cb1da)),_0x42aff9(0x8,_0x2fb456['IUniverInstanceService']),_0x42aff9(0x9,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0xa,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0xb,_0x2fb456[_0x500950(0x3db)]),_0x42aff9(0xc,(0x0,_0x2fb456['Optional'])(_0x129fb8)),_0x42aff9(0xd,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x2f2fd7);let _0x19f82b=class extends _0x575020{constructor(_0x5a599c,_0x5d8886,_0x4dd391,_0x26798e,_0x1310cd,_0x20c151,_0x1c128b,_0x357120,_0xd20393,_0x5c8481,_0x21510c,_0x31b6e1,_0x3f599d,_0xcbbf12,_0x41f09b){const _0x25c209=_0x500950;super(_0x5a599c,_0x4dd391,_0x5d8886,_0x26798e,_0x1310cd,_0x20c151,_0x1c128b,_0xd20393,_0x5c8481,_0x21510c,_0x31b6e1,_0x3f599d,_0xcbbf12,_0x41f09b),this['unitID']=_0x5a599c,this['type']=_0x5d8886,this[_0x25c209(0x4e6)]=_0x357120;}[_0x500950(0x27c)](){const _0x6a6286=_0x500950;let _0x5c3b69=super[_0x6a6286(0x27c)]();return _0x5c3b69[_0x6a6286(0x33e)]=_0x1cb4e4=>this['_sheetTransformSelectionsService'][_0x6a6286(0x33b)](_0x1cb4e4),_0x5c3b69;}async[_0x500950(0x21d)](){const _0xec6104=_0x500950;let _0x26facb=await super[_0xec6104(0x21d)]();return this[_0xec6104(0x3d4)](this[_0xec6104(0x4d2)][_0xec6104(0x265)]((_0x202a96,_0x1ebd22)=>{const _0x2cd84d=_0xec6104;if(_0x202a96[_0x2cd84d(0x431)]!==_0x2fb456[_0x2cd84d(0x313)]['MUTATION']||_0x1ebd22!=null&&_0x1ebd22[_0x2cd84d(0x47b)]||_0x1ebd22!=null&&_0x1ebd22['onlyLocal'])return;let _0x2dcd8f=_0x202a96[_0x2cd84d(0x4c7)];if((_0x2dcd8f==null?void 0x0:_0x2dcd8f[_0x2cd84d(0x2f4)])!==this[_0x2cd84d(0x1ee)])return;let _0x24c416=_0x202a96,_0x281a64=this[_0x2cd84d(0x30a)][_0x2cd84d(0x223)][_0x2cd84d(0x3ae)](this[_0x2cd84d(0x30a)][_0x2cd84d(0x223)][_0x2cd84d(0x319)]()[_0x2cd84d(0x4d4)])([_0x24c416],this[_0x2cd84d(0x2d1)])||[_0x24c416];this[_0x2cd84d(0x3b1)](_0x281a64[0x0]);})),_0x26facb;}};_0x19f82b=_0x1c7ac3([_0x42aff9(0x3,(0x0,_0x2fb456['Inject'])(_0x2fb456['Injector'])),_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x499)])),_0x42aff9(0x5,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x20d)])),_0x42aff9(0x6,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x2ef)])),_0x42aff9(0x7,(0x0,_0x2fb456[_0x500950(0x430)])(_0x324b61)),_0x42aff9(0x8,(0x0,_0x2fb456[_0x500950(0x430)])(_0x4cb1da)),_0x42aff9(0x9,_0x2fb456['IUniverInstanceService']),_0x42aff9(0xa,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0xb,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0xc,_0x2fb456['IPermissionService']),_0x42aff9(0xd,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x129fb8)),_0x42aff9(0xe,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x19f82b);let _0x1efe11=(0x0,_0x2fb456[_0x500950(0x4f7)])('univer-pro.collaboration-client.network-condition.service');function _0x5c7426(_0x12608d){const _0xac0ca3=_0x500950;let _0x2590c5=_0x12608d[_0xac0ca3(0x1f0)],_0x29285b=JSON[_0xac0ca3(0x2e0)](_0x2590c5);switch(_0x29285b['cmd']){case _0x402625[_0xac0ca3(0x3a4)][_0xac0ca3(0x50f)]:case _0x402625[_0xac0ca3(0x3a4)][_0xac0ca3(0x294)]:{let _0x40cd8b=_0x29285b[_0xac0ca3(0x286)];return{..._0x29285b,'data':_0x40cd8b,'cmd':_0x29285b[_0xac0ca3(0x1f9)]};}case _0x402625['CombCmd'][_0xac0ca3(0x1f4)]:{let _0x3f8a1b=_0x29285b['joinRsp'];return{..._0x29285b,'data':_0x3f8a1b,'cmd':_0x29285b[_0xac0ca3(0x1f9)]};}case _0x402625[_0xac0ca3(0x3a4)]['RECV']:{let _0x237e2d=_0x29285b[_0xac0ca3(0x347)];switch(_0x237e2d[_0xac0ca3(0x49e)]){case _0x35ef0a[_0xac0ca3(0x21e)]['PERMISSION_REJ']:var _0x4ebc33;return{..._0x29285b,'data':{..._0x237e2d,'data':(_0x4ebc33=_0x237e2d[_0xac0ca3(0x2bf)])==null?void 0x0:_0x4ebc33['cs']},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x3f6)]:var _0x1dc0d5;return{..._0x29285b,'data':{..._0x237e2d,'data':(_0x1dc0d5=_0x237e2d[_0xac0ca3(0x2cb)])==null?void 0x0:_0x1dc0d5['cs']},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x4c9)]:var _0x14431e;return{..._0x29285b,'data':{..._0x237e2d,'data':(_0x14431e=_0x237e2d[_0xac0ca3(0x41c)])==null?void 0x0:_0x14431e['cs']},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x373)]:var _0x460a6e;return{..._0x29285b,'data':{..._0x237e2d,'data':(_0x460a6e=_0x237e2d[_0xac0ca3(0x359)])==null?void 0x0:_0x460a6e['cs']},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a['CollaborationEvent'][_0xac0ca3(0x366)]:var _0x23676e;return{..._0x29285b,'data':{..._0x237e2d,'data':(_0x23676e=_0x237e2d['csShouldRetryEvent'])==null?void 0x0:_0x23676e['cs']},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x4df)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x23b)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)]['USERS_ENTER']:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x2fc)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)]['USERS_LEAVE']:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x494)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x2c1)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x2c6)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x385)]:case _0x35ef0a['CollaborationEvent'][_0xac0ca3(0x2eb)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x388)]},'cmd':_0x29285b['cmd']};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x4b6)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x2c6)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x38d)]:return{..._0x29285b,'data':_0x237e2d,'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a['CollaborationEvent'][_0xac0ca3(0x3c8)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d['commentUpdateEvent']},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a['CollaborationEvent'][_0xac0ca3(0x429)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x2a1)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x2b7)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x419)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};case _0x35ef0a[_0xac0ca3(0x21e)][_0xac0ca3(0x228)]:return{..._0x29285b,'data':{..._0x237e2d,'data':_0x237e2d[_0xac0ca3(0x4d7)]},'cmd':_0x29285b[_0xac0ca3(0x1f9)]};default:return _0x29285b;}}default:return _0x29285b;}}function _0x5e22c3(_0x4dca1d){const _0xe224fc=_0x500950;switch(_0x4dca1d['cmd']){case _0x402625[_0xe224fc(0x3a4)]['HEARTBEAT']:case _0x402625[_0xe224fc(0x3a4)][_0xe224fc(0x294)]:return JSON[_0xe224fc(0x28b)]({'cmd':_0x4dca1d[_0xe224fc(0x1f9)],'routeKey':_0x4dca1d[_0xe224fc(0x4af)]});case _0x402625[_0xe224fc(0x3a4)][_0xe224fc(0x20e)]:{let _0x9a78f3;switch(_0x4dca1d['data'][_0xe224fc(0x49e)]){case _0x35ef0a['CollaborationEvent'][_0xe224fc(0x4df)]:_0x9a78f3={'eventID':_0x35ef0a[_0xe224fc(0x21e)]['UPDATE_CURSOR'],'updateCursorEvent':_0x4dca1d['data'][_0xe224fc(0x1f0)]};break;case _0x35ef0a['CollaborationEvent']['USERS_LEAVE']:_0x9a78f3={'eventID':_0x35ef0a[_0xe224fc(0x21e)][_0xe224fc(0x41b)],'leaveEvent':_0x4dca1d[_0xe224fc(0x1f0)][_0xe224fc(0x1f0)]};break;case _0x35ef0a['CollaborationEvent'][_0xe224fc(0x371)]:_0x9a78f3={'eventID':_0x35ef0a['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x4dca1d[_0xe224fc(0x1f0)][_0xe224fc(0x1f0)]};break;case _0x35ef0a['CollaborationEvent'][_0xe224fc(0x2c1)]:_0x9a78f3={'eventID':_0x35ef0a['CollaborationEvent'][_0xe224fc(0x2c1)],'liveShareNewHost':_0x4dca1d[_0xe224fc(0x1f0)][_0xe224fc(0x1f0)]};break;case _0x35ef0a[_0xe224fc(0x21e)]['LIVESHARE_OPERATION']:_0x9a78f3={'eventID':_0x35ef0a['CollaborationEvent'][_0xe224fc(0x2eb)],'liveShareOperation':_0x4dca1d[_0xe224fc(0x1f0)][_0xe224fc(0x1f0)]};break;case _0x35ef0a[_0xe224fc(0x21e)]['LIVESHARE_TERMINATE']:_0x9a78f3={'eventID':_0x35ef0a[_0xe224fc(0x21e)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4dca1d['data']['data']};break;case _0x35ef0a[_0xe224fc(0x21e)][_0xe224fc(0x415)]:_0x9a78f3={'eventID':_0x35ef0a[_0xe224fc(0x21e)][_0xe224fc(0x415)],'liveShareRequestHost':_0x4dca1d[_0xe224fc(0x1f0)][_0xe224fc(0x1f0)]};break;case _0x35ef0a[_0xe224fc(0x21e)][_0xe224fc(0x385)]:_0x9a78f3={'eventID':_0x35ef0a[_0xe224fc(0x21e)][_0xe224fc(0x385)]};break;default:_0x9a78f3={'eventID':_0x4dca1d['data'][_0xe224fc(0x49e)]};}return JSON[_0xe224fc(0x28b)]({'cmd':_0x4dca1d[_0xe224fc(0x1f9)],'routeKey':_0x4dca1d['routeKey'],'collaMsg':_0x9a78f3});}case _0x402625['CombCmd'][_0xe224fc(0x1f4)]:return JSON['stringify']({'cmd':_0x4dca1d[_0xe224fc(0x1f9)],'routeKey':_0x4dca1d[_0xe224fc(0x4af)],'joinReq':_0x4dca1d['data']});case _0x402625[_0xe224fc(0x3a4)]['LEAVE']:return JSON['stringify']({'cmd':_0x4dca1d['cmd'],'routeKey':_0x4dca1d[_0xe224fc(0x4af)],'leaveReq':_0x4dca1d[_0xe224fc(0x1f0)]});default:throw Error(_0xe224fc(0x2b3));}}let _0xdc50bf=(0x0,_0x2fb456['createIdentifier'])(_0x500950(0x3bb));function _0x25c3d2(_0x36ca52,_0x1623ab,_0xfe5c5a){const _0x4b3f03=_0x500950;return _0x36ca52+'/'+_0x1623ab+_0x4b3f03(0x331)+_0xfe5c5a+_0x4b3f03(0x389);}let _0x5700f0=class extends _0x2fb456[_0x500950(0x238)]{constructor(_0x21607e,_0x5ca9a9,_0x4049d4,_0x1c4cbc,_0x53a0cd){const _0x149e0e=_0x500950;super(),this[_0x149e0e(0x4ac)]=_0x21607e,this['_httpService']=_0x5ca9a9,this[_0x149e0e(0x25a)]=_0x4049d4,this['_logService']=_0x1c4cbc,this[_0x149e0e(0x4c5)]=_0x53a0cd;}[_0x500950(0x462)](_0x159f27){const _0x5219a0=_0x500950;let _0x2ebb51=this[_0x5219a0(0x4ac)][_0x5219a0(0x2bd)](_0x25f3fb[_0x5219a0(0x2d3)]);if(!_0x2ebb51)throw Error(_0x5219a0(0x4f9));let _0x5b7796=_0x2ebb51[_0x5219a0(0x4a5)](_0x159f27);if(!_0x5b7796)throw Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');let _0x2c3b3b=new _0x2fb456[(_0x5219a0(0x31b))](),_0xf7d8e4=new _0x5eae7e[(_0x5219a0(0x4b9))]();_0x2c3b3b['add'](_0x5b7796[_0x5219a0(0x512)][_0x5219a0(0x495)](_0x9eac18=>_0xf7d8e4[_0x5219a0(0x362)](_0x9eac18))),_0x2c3b3b[_0x5219a0(0x29f)]((0x0,_0x2fb456[_0x5219a0(0x36b)])(()=>_0xf7d8e4[_0x5219a0(0x45d)]()));let _0x34ca73=new _0x5eae7e[(_0x5219a0(0x4b9))]();_0x2c3b3b[_0x5219a0(0x29f)](_0x5b7796[_0x5219a0(0x2e6)][_0x5219a0(0x495)](_0x5769c8=>_0x34ca73['next'](_0x5769c8))),_0x2c3b3b['add']((0x0,_0x2fb456[_0x5219a0(0x36b)])(()=>_0x34ca73[_0x5219a0(0x45d)]()));let _0x5a9bb5=new _0x5eae7e[(_0x5219a0(0x4b9))]();_0x2c3b3b['add'](_0x5b7796['message$'][_0x5219a0(0x495)](_0x195ee7=>{let _0x29853c=_0x5c7426(_0x195ee7);_0x5a9bb5['next'](_0x29853c);})),_0x2c3b3b[_0x5219a0(0x29f)]((0x0,_0x2fb456[_0x5219a0(0x36b)])(()=>_0x5a9bb5[_0x5219a0(0x45d)]()));let _0x24b071,_0x58b448=()=>{const _0x529990=_0x5219a0;_0x34ca73[_0x529990(0x362)](new Event('connection\x20error')),_0xf7d8e4[_0x529990(0x362)](new Event(_0x529990(0x3f8))),_0x24b071[_0x529990(0x22b)]();};return _0x24b071={'memberID':'','close$':_0xf7d8e4[_0x5219a0(0x511)](),'error$':_0x34ca73[_0x5219a0(0x511)](),'open$':_0x5b7796['open$'],'message$':_0x5a9bb5[_0x5219a0(0x511)](),'send':_0x1033d5=>{const _0x237284=_0x5219a0;if(_0x1033d5[_0x237284(0x1f9)]===_0x402625[_0x237284(0x3a4)][_0x237284(0x20e)]){if(_0x1033d5[_0x237284(0x1f0)][_0x237284(0x49e)]===_0x35ef0a[_0x237284(0x21e)]['SUBMIT_CHANGESET']){this[_0x237284(0x4d3)](_0x24b071,_0x1033d5[_0x237284(0x1f0)])['catch'](_0x18bdfa=>{const _0xbea20a=_0x237284;this[_0xbea20a(0x40b)][_0xbea20a(0x4bb)](_0x18bdfa),_0x58b448();});return;}if(_0x1033d5[_0x237284(0x1f0)][_0x237284(0x49e)]===_0x35ef0a['CollaborationEvent'][_0x237284(0x44a)]){let _0x48b125=_0x1033d5[_0x237284(0x1f0)];this['_fetchMissChangesets'](_0x48b125)[_0x237284(0x323)](_0x52bc57=>{const _0x430037=_0x237284;_0x5a9bb5[_0x430037(0x362)]({'cmd':_0x402625['CombCmd'][_0x430037(0x443)],'code':_0x402625[_0x430037(0x44c)]['OK'],'routeKey':_0x48b125['data']['unitID'],'routeType':'','data':{'eventID':_0x35ef0a[_0x430037(0x21e)][_0x430037(0x222)],'data':{'changesets':_0x52bc57}}});})['catch'](_0x30702c=>{const _0x3b6166=_0x237284;this[_0x3b6166(0x40b)][_0x3b6166(0x4bb)](_0x30702c),_0x58b448();});return;}}_0x5b7796[_0x237284(0x45f)](_0x5e22c3(_0x1033d5));},'close':()=>{const _0x47008d=_0x5219a0;_0x5b7796['close'](),_0x2c3b3b[_0x47008d(0x218)]();}},_0x24b071;}async['_submitChangeset'](_0x5b4ff2,_0x4dc84a){const _0x40e45e=_0x500950;var _0x35e686;let {unitType:_0x5c9bcc,unitID:_0x406179,changeset:_0xb05ce9}=_0x4dc84a[_0x40e45e(0x1f0)],_0x339a3b={'unitID':_0x406179,'memberID':_0x5b4ff2[_0x40e45e(0x487)],'type':_0x5c9bcc,'changeset':(0x0,_0x35ef0a[_0x40e45e(0x49c)])(_0xb05ce9)},_0x31280c=this[_0x40e45e(0x25a)]['getConfig'](_0x5445c5),_0x735d20=_0x25c3d2((_0x35e686=_0x31280c==null?void 0x0:_0x31280c[_0x40e45e(0x27d)])==null?_0x40e45e(0x2b1):_0x35e686,_0x5c9bcc,_0x406179);try{await this['_httpService']['post'](_0x735d20,{'body':_0x339a3b});}catch(_0x521c90){throw this['_logService'][_0x40e45e(0x4bb)](_0x40e45e(0x442),'submit\x20changeset\x20error!'),_0x521c90;}}async['_fetchMissChangesets'](_0x26a450){const _0x506d3f=_0x500950;let {unitID:_0x4a8c46,from:_0x37c899,to:_0x17e546,unitType:_0x363d1f}=_0x26a450[_0x506d3f(0x1f0)];return(await this['_snapshotServerService'][_0x506d3f(0x504)]({'metadata':void 0x0},{'unitID':_0x4a8c46,'type':_0x363d1f,'from':_0x37c899,'to':_0x17e546}))[_0x506d3f(0x479)][_0x506d3f(0x39d)](_0x4e58a5=>((_0x4e58a5[_0x506d3f(0x3d1)]===null||_0x4e58a5['mutations']===void 0x0)&&(_0x4e58a5[_0x506d3f(0x3d1)]=[]),_0x4e58a5));}};_0x5700f0=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x1,(0x0,_0x2fb456[_0x500950(0x430)])(_0x25f3fb['HTTPService'])),_0x42aff9(0x2,_0x2fb456[_0x500950(0x26a)]),_0x42aff9(0x3,_0x2fb456['ILogService']),_0x42aff9(0x4,_0x35ef0a[_0x500950(0x30d)])],_0x5700f0);let _0x1c0f7b=class extends _0x2fb456[_0x500950(0x238)]{get[_0x500950(0x34a)](){const _0x21a966=_0x500950;return this[_0x21a966(0x379)]['getValue']();}constructor(_0x7b165a,_0x530aaa,_0x25df77,_0x219109,_0x31bf37,_0xc08db2){const _0x332dfb=_0x500950;super(),this['_injector']=_0x7b165a,this[_0x332dfb(0x40b)]=_0x530aaa,this['_configService']=_0x25df77,this[_0x332dfb(0x427)]=_0x219109,this[_0x332dfb(0x219)]=_0x31bf37,this[_0x332dfb(0x46b)]=_0xc08db2,_0x3dd6fc(this,'_socket$',new _0x5eae7e[(_0x332dfb(0x3c7))](void 0x0)),_0x3dd6fc(this,_0x332dfb(0x360),this[_0x332dfb(0x379)][_0x332dfb(0x511)]()),_0x3dd6fc(this,'_candidateSocket',null),_0x3dd6fc(this,_0x332dfb(0x230),new Map()),_0x3dd6fc(this,_0x332dfb(0x1f1),new _0x5eae7e[(_0x332dfb(0x3c7))](_0x486856[_0x332dfb(0x4ab)])),_0x3dd6fc(this,'status$',this['_status$'][_0x332dfb(0x511)]()),_0x3dd6fc(this,_0x332dfb(0x29e),!0x1),_0x3dd6fc(this,'_retryConnectingTimer',void 0x0),_0x3dd6fc(this,_0x332dfb(0x270),0x0),_0x3dd6fc(this,'_sendHeartbeatTimer',void 0x0),_0x3dd6fc(this,_0x332dfb(0x34d),void 0x0),this['_listenToNetworkCondition']();}[_0x500950(0x365)](){const _0xe8665b=_0x500950;this['_networkConditionService']&&this[_0xe8665b(0x3d4)](this[_0xe8665b(0x46b)][_0xe8665b(0x418)]['subscribe'](_0x351674=>{const _0x549027=_0xe8665b;_0x351674&&!this[_0x549027(0x34a)]&&this['reconnect'](),_0x351674||this[_0x549027(0x3f2)]();}));}['dispose'](){const _0x12b314=_0x500950;super['dispose'](),this[_0x12b314(0x252)](),this['_clearTimeoutTimer'](),this[_0x12b314(0x3af)](),this[_0x12b314(0x230)][_0x12b314(0x36d)](_0x6cc3da=>_0x6cc3da['dispose']()),this[_0x12b314(0x230)][_0x12b314(0x2b4)](),this['_status$']['complete']();}async['requireSession'](_0x5c6507){const _0x450e4e=_0x500950;if(this[_0x450e4e(0x230)][_0x450e4e(0x50a)](_0x5c6507))return this[_0x450e4e(0x230)][_0x450e4e(0x2bd)](_0x5c6507);this[_0x450e4e(0x291)]();let _0x1318a5=this['_injector'][_0x450e4e(0x28e)](_0x4e1b56,_0x5c6507,this['_socket$'][_0x450e4e(0x511)]());return this[_0x450e4e(0x230)][_0x450e4e(0x2f9)](_0x5c6507,_0x1318a5),_0x1318a5;}[_0x500950(0x315)](_0x318504){const _0x279272=_0x500950;let _0x414d77=this[_0x279272(0x230)][_0x279272(0x2bd)](_0x318504);if(_0x414d77&&(this[_0x279272(0x230)]['delete'](_0x318504),_0x414d77['close']()),!this[_0x279272(0x230)][_0x279272(0x44f)]){var _0x136ea6;(_0x136ea6=this['_socket'])==null||_0x136ea6[_0x279272(0x22b)]();}}[_0x500950(0x257)](){const _0xa29b89=_0x500950;this[_0xa29b89(0x270)]=0x0,this[_0xa29b89(0x252)](),this[_0xa29b89(0x37c)]();}['_clearRetryConnectingTimer'](){const _0x103e40=_0x500950;this[_0x103e40(0x39e)]!=null&&(clearTimeout(this[_0x103e40(0x39e)]),this[_0x103e40(0x39e)]=null);}async[_0x500950(0x505)](){const _0x21e0a0=_0x500950;var _0xb34d34;let _0x3e0f8b=this[_0x21e0a0(0x25a)][_0x21e0a0(0x2a6)](_0x5445c5),_0x4decd3=(_0xb34d34=_0x3e0f8b==null?void 0x0:_0x3e0f8b[_0x21e0a0(0x4e3)])==null?_0x551362:_0xb34d34,_0x57f22b=await this['_socketService'][_0x21e0a0(0x4a5)](_0x4decd3);return this[_0x21e0a0(0x2ea)]=_0x57f22b,_0x57f22b;}async['_tryEnsureSocket'](){const _0x560458=_0x500950;try{var _0x4b91a4,_0x3fa23d;let _0x3fe430=(_0x4b91a4=(_0x3fa23d=this[_0x560458(0x34a)])==null?this[_0x560458(0x2ea)]:_0x3fa23d)==null?await this[_0x560458(0x505)]():_0x4b91a4;if(_0x3fe430){let _0x4ad416=_0x3fe430['send'];_0x3fe430['send']=_0x4285b6=>(_0x4285b6[_0x560458(0x1f9)]!==_0x402625[_0x560458(0x3a4)][_0x560458(0x25c)]&&this[_0x560458(0x486)](),_0x4ad416[_0x560458(0x279)](_0x3fe430,[_0x4285b6])),_0x3fe430[_0x560458(0x201)][_0x560458(0x495)](_0x103518=>this[_0x560458(0x4a4)](_0x3fe430,_0x103518)),_0x3fe430[_0x560458(0x2e6)][_0x560458(0x3d3)]((0x0,_0x41c5dd[_0x560458(0x409)])(0x1))[_0x560458(0x495)](_0x57381a=>this[_0x560458(0x40b)][_0x560458(0x4bb)](_0x560458(0x4be),_0x57381a)),_0x3fe430[_0x560458(0x249)][_0x560458(0x3d3)]((0x0,_0x41c5dd[_0x560458(0x409)])(0x1))[_0x560458(0x495)](()=>{const _0x22fcec=_0x560458;this[_0x22fcec(0x32c)](_0x3fe430);}),_0x3fe430[_0x560458(0x512)][_0x560458(0x3d3)]((0x0,_0x41c5dd[_0x560458(0x409)])(0x1))[_0x560458(0x495)](_0x54bf46=>{const _0x2c800e=_0x560458;this['_logService'][_0x2c800e(0x4a8)](_0x2c800e(0x3f5),_0x2c800e(0x208),_0x54bf46),this['_onConnectionFailed']();});}}catch(_0x4454cb){this[_0x560458(0x40b)][_0x560458(0x4bb)](_0x4454cb),this[_0x560458(0x1ff)]();}}[_0x500950(0x32c)](_0x3b04eb){const _0x5f137c=_0x500950;this[_0x5f137c(0x40b)]['debug']('[CollaborationSessionService]',_0x5f137c(0x2ac)),_0x3b04eb[_0x5f137c(0x45f)]({'cmd':_0x402625[_0x5f137c(0x3a4)]['HELLO']}),this[_0x5f137c(0x486)]();}[_0x500950(0x3f2)](){const _0x41006b=_0x500950;this[_0x41006b(0x29e)]=!0x1,this[_0x41006b(0x2ea)]=null,this[_0x41006b(0x1f1)][_0x41006b(0x362)](_0x486856['OFFLINE']),this[_0x41006b(0x379)][_0x41006b(0x362)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x500950(0x1ff)](){const _0x2da89b=_0x500950;var _0x590540;this[_0x2da89b(0x3f2)](),this[_0x2da89b(0x270)]<((_0x590540=this[_0x2da89b(0x25a)]['getConfig'](_0x2da89b(0x4b1)))==null?0x3:_0x590540)?(this['_collaborationUIEventService']['emitEvent']({'id':_0x3221f8[_0x2da89b(0x271)]}),this['_tryReconnect']()):this[_0x2da89b(0x219)]['emitEvent']({'id':_0x3221f8['SOCKET_FAILED']});}['_tryReconnect'](){const _0x427876=_0x500950;var _0x419ef5;let _0x4be58c=this[_0x427876(0x270)],_0x218e26=this[_0x427876(0x25a)][_0x427876(0x2a6)](_0x5445c5),_0x2fd653=_0x4be58c===0x0?0x0:((_0x419ef5=_0x218e26==null?void 0x0:_0x218e26[_0x427876(0x351)])==null?0x4e20:_0x419ef5)*0x2**_0x4be58c;this[_0x427876(0x39e)]=setTimeout(()=>{const _0x379493=_0x427876;clearTimeout(this['_retryConnectingTimer']),this[_0x379493(0x39e)]=null,this[_0x379493(0x291)]();},_0x2fd653),this['_retryCount']+=0x1;}[_0x500950(0x4a4)](_0x109c7c,_0x3a221c){const _0x46e517=_0x500950;let {cmd:_0x38a4fe}=_0x3a221c;_0x38a4fe===_0x402625[_0x46e517(0x3a4)][_0x46e517(0x294)]&&!this[_0x46e517(0x29e)]&&(_0x109c7c[_0x46e517(0x487)]=_0x3a221c['data'][_0x46e517(0x487)],this[_0x46e517(0x379)][_0x46e517(0x362)](_0x109c7c),this['_status$'][_0x46e517(0x362)](_0x486856[_0x46e517(0x434)]),this[_0x46e517(0x29e)]=!0x0,this[_0x46e517(0x2ea)]=null),_0x38a4fe===_0x402625[_0x46e517(0x3a4)]['HEARTBEAT']&&this[_0x46e517(0x390)](),this[_0x46e517(0x486)]();}[_0x500950(0x486)](){const _0x44aa82=_0x500950;var _0x50951e;this[_0x44aa82(0x3af)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x50951e=this[_0x44aa82(0x25a)][_0x44aa82(0x2a6)](_0x44aa82(0x461)))==null?0x7530:_0x50951e);}['_sendHeartbeat'](){const _0x398156=_0x500950;this[_0x398156(0x34a)]['send']({'cmd':_0x402625['CombCmd'][_0x398156(0x50f)]}),this['_waitForHeartbeatResponse']();}[_0x500950(0x28d)](){const _0x17e366=_0x500950;var _0x40f58f;this[_0x17e366(0x34d)]=setTimeout(()=>this[_0x17e366(0x1ff)](),(_0x40f58f=this[_0x17e366(0x25a)][_0x17e366(0x2a6)](_0x17e366(0x3d2)))==null?_0x4293e1:_0x40f58f);}[_0x500950(0x3af)](){const _0x4c9ab0=_0x500950;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4c9ab0(0x3be)]),this['_sendHeartbeatTimer']=null);}[_0x500950(0x390)](){const _0x36872=_0x500950;this[_0x36872(0x34d)]!=null&&(clearTimeout(this[_0x36872(0x34d)]),this[_0x36872(0x34d)]=null);}};_0x1c0f7b=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456['Inject'])(_0x2fb456['Injector'])),_0x42aff9(0x1,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0x2,_0x2fb456['IConfigService']),_0x42aff9(0x3,_0xdc50bf),_0x42aff9(0x4,(0x0,_0x2fb456['Inject'])(_0x4cb1da)),_0x42aff9(0x5,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x1efe11))],_0x1c0f7b);let _0x319e42=class extends _0x2fb456[_0x500950(0x1fb)]{constructor(_0x494fe3,_0x4c6760,_0x99971f,_0x36d556){const _0x32615d=_0x500950;var _0x544251;super(),this[_0x32615d(0x4ac)]=_0x494fe3,this[_0x32615d(0x2f8)]=_0x4c6760,this[_0x32615d(0x25a)]=_0x99971f,this[_0x32615d(0x2d1)]=_0x36d556,_0x3dd6fc(this,_0x32615d(0x454),new Map()),_0x3dd6fc(this,_0x32615d(0x43f),new _0x5eae7e[(_0x32615d(0x4b9))]()),_0x3dd6fc(this,'entityInit$',this[_0x32615d(0x43f)][_0x32615d(0x511)]()),((_0x544251=this['_configService'][_0x32615d(0x2a6)](_0x32615d(0x236)))==null?void 0x0:_0x544251[_0x32615d(0x287)])!==!0x1&&this['_init']();}[_0x500950(0x218)](){const _0xd9c50e=_0x500950;super[_0xd9c50e(0x218)](),this[_0xd9c50e(0x454)][_0xd9c50e(0x36d)](_0x57236b=>_0x57236b[_0xd9c50e(0x218)]()),this[_0xd9c50e(0x454)][_0xd9c50e(0x2b4)]();}['getCollabEntity'](_0x110403){const _0x509c5c=_0x500950;var _0x5b2e22;return(_0x5b2e22=this['_entities'][_0x509c5c(0x2bd)](_0x110403))==null?null:_0x5b2e22;}[_0x500950(0x455)](_0x119cde){const _0x292875=_0x500950;let _0x3eeb5e=this['getCollabEntity'](_0x119cde);return _0x3eeb5e?(0x0,_0x5eae7e['of'])(_0x3eeb5e):this[_0x292875(0x43f)][_0x292875(0x3d3)]((0x0,_0x41c5dd[_0x292875(0x3c6)])(_0x4cb960=>_0x4cb960[_0x292875(0x1ee)]===_0x119cde));}[_0x500950(0x2e7)](_0x41a8a7){const _0x2787cf=_0x500950;return(0x0,_0x5eae7e[_0x2787cf(0x473)])(this[_0x2787cf(0x455)](_0x41a8a7)[_0x2787cf(0x3d3)]((0x0,_0x41c5dd['map'])(()=>void 0x0)));}[_0x500950(0x21d)](){const _0x1e3c7c=_0x500950;this[_0x1e3c7c(0x2d1)][_0x1e3c7c(0x22d)](_0x2fb456['UniverInstanceType'][_0x1e3c7c(0x4ce)])['pipe']((0x0,_0x5eae7e[_0x1e3c7c(0x498)])(this[_0x1e3c7c(0x483)]),(0x0,_0x41c5dd[_0x1e3c7c(0x387)])(0x10))[_0x1e3c7c(0x495)](async _0x14466f=>{const _0x438b19=_0x1e3c7c;let _0x51aa62=_0x14466f[_0x438b19(0x3bc)][_0x438b19(0x246)](),_0x2e40df=await this[_0x438b19(0x420)](_0x51aa62,_0x2fb456[_0x438b19(0x217)][_0x438b19(0x4ce)]);this[_0x438b19(0x454)][_0x438b19(0x2f9)](_0x51aa62,_0x2e40df);}),this['_univerInstanceService'][_0x1e3c7c(0x22d)](_0x2fb456[_0x1e3c7c(0x217)][_0x1e3c7c(0x2dc)])[_0x1e3c7c(0x3d3)]((0x0,_0x5eae7e[_0x1e3c7c(0x498)])(this[_0x1e3c7c(0x483)]),(0x0,_0x41c5dd[_0x1e3c7c(0x387)])(0x10))[_0x1e3c7c(0x3d3)]((0x0,_0x41c5dd['filter'])(_0x409998=>!_0x409998['unit'][_0x1e3c7c(0x246)]()[_0x1e3c7c(0x247)]('__')))[_0x1e3c7c(0x495)](async _0x3396fe=>{const _0x3e1777=_0x1e3c7c;let _0x5ff15d=_0x3396fe[_0x3e1777(0x3bc)][_0x3e1777(0x246)](),_0x47c57a=await this[_0x3e1777(0x420)](_0x5ff15d,_0x2fb456[_0x3e1777(0x217)][_0x3e1777(0x2dc)]);this[_0x3e1777(0x454)][_0x3e1777(0x2f9)](_0x5ff15d,_0x47c57a);}),(0x0,_0x5eae7e[_0x1e3c7c(0x329)])(this[_0x1e3c7c(0x2d1)][_0x1e3c7c(0x1fd)](_0x2fb456[_0x1e3c7c(0x217)][_0x1e3c7c(0x4ce)]),this[_0x1e3c7c(0x2d1)][_0x1e3c7c(0x1fd)](_0x2fb456['UniverInstanceType'][_0x1e3c7c(0x2dc)]))[_0x1e3c7c(0x3d3)]((0x0,_0x5eae7e[_0x1e3c7c(0x498)])(this['dispose$']))[_0x1e3c7c(0x495)](_0x226acc=>{const _0x45ac1b=_0x1e3c7c;let _0x3ffa23=_0x226acc['getUnitId'](),_0x3d1e86=this[_0x45ac1b(0x454)]['get'](_0x3ffa23);_0x3d1e86&&(_0x3d1e86['dispose'](),this[_0x45ac1b(0x454)]['delete'](_0x3ffa23));});}async[_0x500950(0x420)](_0x367b12,_0x570d1d){const _0x439e9c=_0x500950;let _0x1f3ef2=await this[_0x439e9c(0x2f8)][_0x439e9c(0x4c2)](_0x367b12),_0x5cb1d3=this[_0x439e9c(0x4ac)][_0x439e9c(0x28e)](this['_getCtorByUniverInstanceType'](_0x570d1d),_0x367b12,_0x570d1d,_0x1f3ef2);return await _0x5cb1d3[_0x439e9c(0x41a)](),this['_entityInit$']['next'](_0x5cb1d3),_0x5cb1d3;}[_0x500950(0x345)](_0x379191){const _0x1b3236=_0x500950;switch(_0x379191){case _0x2fb456[_0x1b3236(0x217)][_0x1b3236(0x2dc)]:return _0x2f2fd7;case _0x2fb456['UniverInstanceType'][_0x1b3236(0x4ce)]:return _0x19f82b;default:throw Error(_0x1b3236(0x304)+_0x379191);}}};_0x319e42=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x1,(0x0,_0x2fb456[_0x500950(0x430)])(_0x1c0f7b)),_0x42aff9(0x2,_0x2fb456[_0x500950(0x26a)]),_0x42aff9(0x3,_0x2fb456['IUniverInstanceService'])],_0x319e42);var _0x443ffe=_0x500950(0x31e),_0x46ce6e='0.21.1';let _0x3a9542=class extends _0x2fb456['Disposable']{constructor(_0x20b87e,_0x566501){const _0x5ed52c=_0x500950;super(),this['_univerInstanceService']=_0x20b87e,this[_0x5ed52c(0x25a)]=_0x566501,this[_0x5ed52c(0x21d)]();}[_0x500950(0x21d)](){const _0x3d5de8=_0x500950;this[_0x3d5de8(0x3d4)](this[_0x3d5de8(0x2d1)][_0x3d5de8(0x2f7)][_0x3d5de8(0x495)](()=>{const _0x2f74fb=_0x3d5de8;var _0x217d4f;let _0x4add27=this[_0x2f74fb(0x2d1)][_0x2f74fb(0x46c)](),_0x29ac35=(_0x217d4f=this[_0x2f74fb(0x25a)][_0x2f74fb(0x2a6)](_0x2f74fb(0x369)))==null?_0x2f74fb(0x386):_0x217d4f;_0x4add27 instanceof _0x2fb456[_0x2f74fb(0x3dd)]&&(_0x29ac35=_0x4add27[_0x2f74fb(0x1ef)]),document[_0x2f74fb(0x4d9)]=_0x29ac35;}));}};_0x3a9542=_0x1c7ac3([_0x42aff9(0x0,_0x2fb456['IUniverInstanceService']),_0x42aff9(0x1,_0x2fb456[_0x500950(0x26a)])],_0x3a9542);let _0x59404f=class{constructor(_0x4d3e97,_0x1aca1b,_0xab3639){const _0x3a931b=_0x500950;this[_0x3a931b(0x25a)]=_0x4d3e97,this['_httpService']=_0x1aca1b,this[_0x3a931b(0x2f3)]=_0xab3639,this[_0x3a931b(0x41a)]();}[_0x500950(0x41a)](){const _0x46c4cc=_0x500950;this['_httpService'][_0x46c4cc(0x303)]({'priority':0x1,'interceptor':(_0x1c6e1a,_0x43146e)=>_0x43146e(_0x1c6e1a)['pipe']((0x0,_0x5eae7e[_0x46c4cc(0x26b)])(async _0x3cca57=>{const _0x586bd0=_0x46c4cc;let _0x3d3afc=_0x3cca57;if(_0x3d3afc[_0x586bd0(0x233)]===0x191){if(typeof window>'u')throw Error(_0x586bd0(0x2f6));if(window[_0x586bd0(0x502)](this[_0x586bd0(0x2f3)]['t'](_0x586bd0(0x3b4)))){let _0x53f71e=window[_0x586bd0(0x45e)](window[_0x586bd0(0x205)]['href']);window[_0x586bd0(0x205)][_0x586bd0(0x281)]=this[_0x586bd0(0x489)]()+_0x586bd0(0x382)+_0x53f71e;}}return _0x3d3afc;}))});}['_getLoginPath'](){const _0x260778=_0x500950;var _0x2ca695;let _0xe2901f=this[_0x260778(0x25a)][_0x260778(0x2a6)](_0x5445c5);return(_0x2ca695=_0xe2901f==null?void 0x0:_0xe2901f[_0x260778(0x229)])==null?_0x260778(0x481):_0x2ca695;}};_0x59404f=_0x1c7ac3([_0x42aff9(0x0,_0x2fb456[_0x500950(0x26a)]),_0x42aff9(0x1,(0x0,_0x2fb456[_0x500950(0x430)])(_0x25f3fb[_0x500950(0x485)])),_0x42aff9(0x2,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x20d)]))],_0x59404f);let _0x20ee4d=class extends _0x2fb456[_0x500950(0x238)]{constructor(_0x416f28,_0x440cf1){const _0x2538f3=_0x500950;super(),this[_0x2538f3(0x21c)]=_0x416f28,this[_0x2538f3(0x25a)]=_0x440cf1,_0x3dd6fc(this,'_cfgEnableObjInherit',!0x1),this[_0x2538f3(0x33c)]();}['_initMergeInterceptor'](){const _0x44a8e9=_0x500950;let _0x44d343=this;this['disposeWithMe'](this[_0x44a8e9(0x21c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':(0x0,_0x25f3fb[_0x44a8e9(0x435)])({'isMatch'(_0x21746e){const _0x4a7a9e=_0x44a8e9;var _0x471f2a;if(_0x21746e[_0x4a7a9e(0x2ed)]==='POST'&&(_0x471f2a=_0x21746e['requestParams'])!=null&&_0x471f2a[_0x4a7a9e(0x401)]){let {objectID:_0x38d91b,objectType:_0x2f6c88}=_0x21746e[_0x4a7a9e(0x2d6)][_0x4a7a9e(0x401)]||{};if(!_0x38d91b||_0x2f6c88===void 0x0)return!0x1;let _0x94834d=_0x44d343[_0x4a7a9e(0x451)]()+'/'+_0x2f6c88+'/object/'+_0x38d91b+_0x4a7a9e(0x4fa);if(_0x21746e[_0x4a7a9e(0x282)]===_0x94834d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x50667a){const _0x5a1cdc=_0x44a8e9;var _0x1c1545;return(_0x1c1545=_0x50667a[_0x5a1cdc(0x2d6)])==null?void 0x0:_0x1c1545[_0x5a1cdc(0x401)];},'mergeParamsToRequest'(_0x5dc4cd,_0x8b579e){const _0xd29fb8=_0x44a8e9;let _0x430233=_0x44d343['_getAPIPrefixPath']()+_0xd29fb8(0x4a1),_0x409232=_0x5dc4cd['reduce']((_0x499c67,_0x83573a)=>{const _0x59b6ee=_0xd29fb8;let {unitID:_0xa4abea,objectID:_0x4800aa,objectType:_0x49749b,actions:_0x225f82}=_0x83573a;return _0x499c67[_0xa4abea]||(_0x499c67[_0xa4abea]={}),_0x499c67[_0xa4abea][_0x4800aa]||(_0x499c67[_0xa4abea][_0x4800aa]={'objectID':_0x4800aa,'objectType':_0x49749b,'actions':[]}),_0x499c67[_0xa4abea][_0x4800aa][_0x59b6ee(0x421)][_0x59b6ee(0x204)](..._0x225f82),_0x499c67;},{}),_0x404b9d=[];for(let _0x51e6e9 in _0x409232)for(let _0x313b72 in _0x409232[_0x51e6e9]){let {actions:_0x490da6,objectType:_0x548262}=_0x409232[_0x51e6e9][_0x313b72],_0x2dc2c0=[...new Set(_0x490da6)];_0x404b9d[_0xd29fb8(0x204)]({'unitID':_0x51e6e9,'objectID':_0x313b72,'objectType':_0x548262,'actions':_0x2dc2c0});}return new _0x25f3fb[(_0xd29fb8(0x492))](_0xd29fb8(0x384),_0x430233,{'headers':_0x8b579e[_0xd29fb8(0x330)],'withCredentials':_0x8b579e[_0xd29fb8(0x456)],'responseType':_0x8b579e[_0xd29fb8(0x23a)],'body':{'requests':_0x404b9d}});}},{'distributeResult'(_0x901f8,_0x4a0f53){const _0x90a676=_0x44a8e9;let {objectActions:_0x43fa48}=_0x901f8;return _0x4a0f53[_0x90a676(0x39d)](_0x4bae80=>{const _0x221098=_0x90a676;let {unitID:_0x2362ae,objectID:_0x408478,actions:_0x38cad1}=_0x4bae80,_0x5f088d=_0x43fa48[_0x221098(0x3c3)](_0x23cda2=>_0x23cda2[_0x221098(0x1ee)]===_0x2362ae&&_0x23cda2[_0x221098(0x4d0)]===_0x408478);return{'config':_0x4bae80,'result':{'actions':_0x38cad1[_0x221098(0x39d)](_0x5983f4=>_0x5f088d==null?void 0x0:_0x5f088d['actions']['find'](_0x241e79=>_0x241e79[_0x221098(0x320)]===_0x5983f4))[_0x221098(0x3c6)](_0x22f17b=>!!_0x22f17b),'error':_0x901f8[_0x221098(0x4bb)]}};});}})}));}['_getAPIPrefixPath'](){const _0x4b26fe=_0x500950;var _0x5228d5;let _0x139e1b=this[_0x4b26fe(0x25a)]['getConfig'](_0x5445c5);return(_0x5228d5=_0x139e1b==null?void 0x0:_0x139e1b[_0x4b26fe(0x356)])==null?_0x4b26fe(0x470):_0x5228d5;}async[_0x500950(0x25b)](_0x1c2b53){const _0x3877bb=_0x500950;let _0x436355=this[_0x3877bb(0x451)]()+'/'+_0x1c2b53['objectType']+_0x3877bb(0x3ea);return(await this[_0x3877bb(0x21c)][_0x3877bb(0x30c)](_0x436355,{'body':_0x1c2b53}))[_0x3877bb(0x401)][_0x3877bb(0x4d0)]||'';}async[_0x500950(0x272)](_0x16273b){const _0x234bfe=_0x500950;let _0x53b62e=this[_0x234bfe(0x451)]()+_0x234bfe(0x437);return(await this[_0x234bfe(0x21c)][_0x234bfe(0x30c)](_0x53b62e,{'body':_0x16273b}))[_0x234bfe(0x401)][_0x234bfe(0x339)];}async[_0x500950(0x312)](_0x48a64e){const _0x3cd1b7=_0x500950;var _0x4695a4;let _0x49cd2c=this[_0x3cd1b7(0x451)]()+'/'+_0x48a64e['objectType']+_0x3cd1b7(0x34c)+_0x48a64e[_0x3cd1b7(0x4d0)],_0x2ca37a=await this[_0x3cd1b7(0x21c)]['put'](_0x49cd2c,{'body':_0x48a64e});if((_0x2ca37a==null||(_0x4695a4=_0x2ca37a[_0x3cd1b7(0x401)])==null||(_0x4695a4=_0x4695a4[_0x3cd1b7(0x4bb)])==null?void 0x0:_0x4695a4['code'])!==0x1)throw Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x500950(0x334)](_0x116a84){const _0x356384=_0x500950;let _0x5e2b3e=this['_getAPIPrefixPath']()+'/'+_0x116a84['objectType']+_0x356384(0x34c)+_0x116a84[_0x356384(0x4d0)]+_0x356384(0x4fa);return(await this['_HTTPService'][_0x356384(0x30c)](_0x5e2b3e,{'body':_0x116a84}))[_0x356384(0x401)][_0x356384(0x421)];}async[_0x500950(0x3e9)](_0x204c12){const _0x288edd=_0x500950;let _0x15c50f=this[_0x288edd(0x451)]()+'/-/object/-/batch_allowed';return(await this[_0x288edd(0x21c)]['post'](_0x15c50f,{'body':{'requests':_0x204c12}}))[_0x288edd(0x401)][_0x288edd(0x2ca)];}async[_0x500950(0x3e8)](_0x2a450f){const _0x31fe95=_0x500950;let _0x42ade4=this[_0x31fe95(0x451)]()+'/'+_0x2a450f[_0x31fe95(0x453)]+_0x31fe95(0x38f),_0x55ba14=await this[_0x31fe95(0x21c)][_0x31fe95(0x30c)](_0x42ade4,{'body':_0x2a450f});return{'roles':_0x55ba14['body'][_0x31fe95(0x335)],'actions':_0x55ba14[_0x31fe95(0x401)][_0x31fe95(0x421)]};}async[_0x500950(0x290)](_0x201b63){const _0x47a01d=_0x500950;let _0x4fe612=this[_0x47a01d(0x451)]()+_0x47a01d(0x206);await this[_0x47a01d(0x21c)][_0x47a01d(0x41e)](_0x4fe612,{'params':{'collaboratorID':_0x201b63[_0x47a01d(0x3bf)],'objectID':_0x201b63[_0x47a01d(0x4d0)],'unitID':_0x201b63[_0x47a01d(0x1ee)]}});}async['updateCollaborator'](_0x10c319){const _0xc43ef=_0x500950;let _0x670790=this['_getAPIPrefixPath']()+_0xc43ef(0x206);await this['_HTTPService']['patch'](_0x670790,{'body':_0x10c319});}async[_0x500950(0x4b5)](_0x400adc){const _0x185227=_0x500950;let _0x3dfcf3=this['_getAPIPrefixPath']()+_0x185227(0x206);await this[_0x185227(0x21c)][_0x185227(0x30c)](_0x3dfcf3,{'body':_0x400adc});}async['listCollaborators'](_0x5a5046){const _0xcf2f3b=_0x500950;var _0x5c3801;let _0x9521=this['_getAPIPrefixPath']()+_0xcf2f3b(0x206),_0x310ed7=await this[_0xcf2f3b(0x21c)]['get'](_0x9521,{'params':{'objectID':_0x5a5046[_0xcf2f3b(0x4d0)],'unitID':_0x5a5046[_0xcf2f3b(0x1ee)]}});return this['setCfgEnableObjInherit']((_0x5c3801=_0x310ed7[_0xcf2f3b(0x401)][_0xcf2f3b(0x326)])==null?!0x1:_0x5c3801),_0x310ed7[_0xcf2f3b(0x401)][_0xcf2f3b(0x234)];}async['putCollaborators'](_0x3df867){const _0x1c3cf6=_0x500950;let _0x347be7=this[_0x1c3cf6(0x451)]()+_0x1c3cf6(0x206);await this[_0x1c3cf6(0x21c)][_0x1c3cf6(0x2e1)](_0x347be7,{'body':_0x3df867});}[_0x500950(0x21b)](_0x45ff1b){const _0x1c9dad=_0x500950;this[_0x1c9dad(0x346)]=_0x45ff1b;}[_0x500950(0x3a8)](){return this['_cfgEnableObjInherit'];}};_0x20ee4d=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456['Inject'])(_0x25f3fb[_0x500950(0x485)])),_0x42aff9(0x1,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x26a)]))],_0x20ee4d);function _0x9583e1(_0x4d80ec){const _0x218aa2=_0x500950;return _0x4d80ec instanceof Uint8Array||ArrayBuffer['isView'](_0x4d80ec)&&_0x4d80ec[_0x218aa2(0x4b7)]['name']==='Uint8Array'&&_0x218aa2(0x46f)in _0x4d80ec&&_0x4d80ec[_0x218aa2(0x46f)]===0x1;}function _0x4d8be5(_0x4c83e9){const _0x2f3c6f=_0x500950;if(typeof _0x4c83e9!=_0x2f3c6f(0x3d6))throw TypeError('number\x20expected,\x20got\x20'+typeof _0x4c83e9);if(!Number[_0x2f3c6f(0x403)](_0x4c83e9)||_0x4c83e9<0x0)throw RangeError(_0x2f3c6f(0x4bd)+_0x4c83e9);}function _0x41e5e9(_0x428ca6,_0x2c140b,_0x5df059=''){const _0x17720c=_0x500950;let _0x4e3e43=_0x9583e1(_0x428ca6),_0x57a6b1=_0x428ca6==null?void 0x0:_0x428ca6[_0x17720c(0x301)],_0x99937b=_0x2c140b!==void 0x0;if(!_0x4e3e43||_0x99937b&&_0x57a6b1!==_0x2c140b){let _0x4c0a49=_0x5df059&&'\x22'+_0x5df059+'\x22\x20',_0xca90ba=_0x99937b?_0x17720c(0x333)+_0x2c140b:'',_0x3caf81=_0x4e3e43?_0x17720c(0x450)+_0x57a6b1:_0x17720c(0x42c)+typeof _0x428ca6,_0x28fcf0=_0x4c0a49+'expected\x20Uint8Array'+_0xca90ba+_0x17720c(0x367)+_0x3caf81;throw _0x4e3e43?RangeError(_0x28fcf0):TypeError(_0x28fcf0);}return _0x428ca6;}function _0x5c5189(_0x2658ed){const _0x46e5c3=_0x500950;return new Uint32Array(_0x2658ed[_0x46e5c3(0x480)],_0x2658ed[_0x46e5c3(0x467)],Math['floor'](_0x2658ed[_0x46e5c3(0x311)]/0x4));}function _0x415ec6(..._0x4afe87){const _0x2f8d6e=_0x500950;for(let _0x19a2e2=0x0;_0x19a2e2<_0x4afe87[_0x2f8d6e(0x301)];_0x19a2e2++)_0x4afe87[_0x19a2e2][_0x2f8d6e(0x2a7)](0x0);}let _0x2828f9=new Uint8Array(new Uint32Array([0x11223344])[_0x500950(0x480)])[0x0]===0x44,_0xc26621=_0x4ee1b2=>_0x4ee1b2<<0x18&0xff000000|_0x4ee1b2<<0x8&0xff0000|_0x4ee1b2>>>0x8&0xff00|_0x4ee1b2>>>0x18&0xff,_0x2a2b0b=_0x2828f9?_0x18e430=>_0x18e430:_0x54320c=>{const _0x42a0aa=_0x500950;for(let _0x7da11a=0x0;_0x7da11a<_0x54320c[_0x42a0aa(0x301)];_0x7da11a++)_0x54320c[_0x7da11a]=_0xc26621(_0x54320c[_0x7da11a]);return _0x54320c;};typeof Uint8Array[_0x500950(0x3aa)]([])[_0x500950(0x2b9)]==_0x500950(0x255)&&Uint8Array[_0x500950(0x393)];function _0x45ad3e(_0x13cc52){const _0x223b95=_0x500950;if(typeof _0x13cc52!=_0x223b95(0x35e))throw TypeError('string\x20expected');return new Uint8Array(new TextEncoder()[_0x223b95(0x4f5)](_0x13cc52));}function _0x229eae(_0xff5590,_0x40f17a){const _0x45ed65=_0x500950;return!_0xff5590[_0x45ed65(0x311)]||!_0x40f17a[_0x45ed65(0x311)]?!0x1:_0xff5590['buffer']===_0x40f17a[_0x45ed65(0x480)]&&_0xff5590[_0x45ed65(0x467)]<_0x40f17a[_0x45ed65(0x467)]+_0x40f17a[_0x45ed65(0x311)]&&_0x40f17a[_0x45ed65(0x467)]<_0xff5590[_0x45ed65(0x467)]+_0xff5590[_0x45ed65(0x311)];}function _0xf4ad49(_0x57d8f5,_0x9959f9){const _0x374464=_0x500950;if(_0x229eae(_0x57d8f5,_0x9959f9)&&_0x57d8f5[_0x374464(0x467)]<_0x9959f9['byteOffset'])throw Error(_0x374464(0x4fd));}function _0x4787bd(..._0xd2ad0){const _0x529534=_0x500950;let _0x49f695=0x0;for(let _0xad9a9=0x0;_0xad9a9<_0xd2ad0[_0x529534(0x301)];_0xad9a9++){let _0x1bcf91=_0xd2ad0[_0xad9a9];_0x41e5e9(_0x1bcf91),_0x49f695+=_0x1bcf91[_0x529534(0x301)];}let _0x307464=new Uint8Array(_0x49f695);for(let _0x471514=0x0,_0x463379=0x0;_0x471514<_0xd2ad0[_0x529534(0x301)];_0x471514++){let _0x489cf2=_0xd2ad0[_0x471514];_0x307464[_0x529534(0x2f9)](_0x489cf2,_0x463379),_0x463379+=_0x489cf2[_0x529534(0x301)];}return _0x307464;}let _0x5edb52=(_0x4de64f,_0x5d7f45)=>{function _0x437541(_0x3c4a3f,..._0x58dbaf){const _0x4381e0=_0x1951;if(_0x41e5e9(_0x3c4a3f,void 0x0,_0x4381e0(0x2a3)),_0x4de64f[_0x4381e0(0x2e3)]!==void 0x0){let _0x3b89d3=_0x58dbaf[0x0];_0x41e5e9(_0x3b89d3,_0x4de64f[_0x4381e0(0x37f)]?void 0x0:_0x4de64f[_0x4381e0(0x2e3)],_0x4381e0(0x32e));}let _0x421dd9=_0x4de64f['tagLength'];_0x421dd9&&_0x58dbaf[0x1]!==void 0x0&&_0x41e5e9(_0x58dbaf[0x1],void 0x0,_0x4381e0(0x2ff));let _0x3d4ca1=_0x5d7f45(_0x3c4a3f,..._0x58dbaf),_0x39d0a6=(_0x2e8809,_0x241f2d)=>{if(_0x241f2d!==void 0x0){if(_0x2e8809!==0x2)throw Error('cipher\x20output\x20not\x20supported');_0x41e5e9(_0x241f2d,void 0x0,'output');}},_0x2dac3b=!0x1;return{'encrypt'(_0x5a054e,_0x5367d9){const _0x72d0ba=_0x4381e0;if(_0x2dac3b)throw Error('cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce');return _0x2dac3b=!0x0,_0x41e5e9(_0x5a054e),_0x39d0a6(_0x3d4ca1[_0x72d0ba(0x2d5)][_0x72d0ba(0x301)],_0x5367d9),_0x3d4ca1[_0x72d0ba(0x2d5)](_0x5a054e,_0x5367d9);},'decrypt'(_0x19e353,_0x41ce6f){const _0x3d6db0=_0x4381e0;if(_0x41e5e9(_0x19e353),_0x421dd9&&_0x19e353[_0x3d6db0(0x301)]<_0x421dd9)throw Error(_0x3d6db0(0x377)+_0x421dd9);return _0x39d0a6(_0x3d4ca1['decrypt'][_0x3d6db0(0x301)],_0x41ce6f),_0x3d4ca1[_0x3d6db0(0x2e5)](_0x19e353,_0x41ce6f);}};}return Object['assign'](_0x437541,_0x4de64f),_0x437541;};function _0x2433ec(_0x45ca3a,_0x1c73c2,_0x570ab5=!0x0){const _0xd963f=_0x500950;if(_0x1c73c2===void 0x0)return new Uint8Array(_0x45ca3a);if(_0x41e5e9(_0x1c73c2,void 0x0,_0xd963f(0x3f3)),_0x1c73c2[_0xd963f(0x301)]!==_0x45ca3a)throw Error(_0xd963f(0x220)+_0x45ca3a+_0xd963f(0x4e2)+_0x1c73c2[_0xd963f(0x301)]);if(_0x570ab5&&!_0x270ceb(_0x1c73c2))throw Error(_0xd963f(0x354));return _0x1c73c2;}function _0x270ceb(_0x56dcc3){const _0x4b7dfd=_0x500950;return _0x56dcc3[_0x4b7dfd(0x467)]%0x4==0x0;}function _0x10a7f9(_0x272f1a){return Uint8Array['from'](_0x41e5e9(_0x272f1a));}function _0x345534(_0x5bbaa8=0x20){const _0x3c0d22=_0x500950;_0x4d8be5(_0x5bbaa8);let _0x1e731e=typeof globalThis==_0x3c0d22(0x2fb)?globalThis[_0x3c0d22(0x407)]:null;if(typeof(_0x1e731e==null?void 0x0:_0x1e731e[_0x3c0d22(0x482)])!=_0x3c0d22(0x255))throw Error(_0x3c0d22(0x449));return _0x1e731e[_0x3c0d22(0x482)](new Uint8Array(_0x5bbaa8));}function _0x540553(_0x455435){const _0x264615=_0x500950;if(![0x10,0x18,0x20][_0x264615(0x363)](_0x455435[_0x264615(0x301)]))throw Error(_0x264615(0x227)+_0x455435['length']);}function _0x30ab73(_0x3bbd20){return _0x3bbd20<<0x1^0x11b&-(_0x3bbd20>>0x7);}function _0x282c8c(_0x12a1f1,_0x595ae5){let _0x40e08d=0x0;for(;_0x595ae5>0x0;_0x595ae5>>=0x1)_0x40e08d^=_0x12a1f1&-(_0x595ae5&0x1),_0x12a1f1=_0x30ab73(_0x12a1f1);return _0x40e08d;}let _0x13b0b6=((()=>{let _0x1482be=new Uint8Array(0x100);for(let _0x4703eb=0x0,_0x528ecc=0x1;_0x4703eb<0x100;_0x4703eb++,_0x528ecc^=_0x30ab73(_0x528ecc))_0x1482be[_0x4703eb]=_0x528ecc;let _0x177123=new Uint8Array(0x100);_0x177123[0x0]=0x63;for(let _0x2ca3b4=0x0;_0x2ca3b4<0xff;_0x2ca3b4++){let _0x44f2d6=_0x1482be[0xff-_0x2ca3b4];_0x44f2d6|=_0x44f2d6<<0x8,_0x177123[_0x1482be[_0x2ca3b4]]=(_0x44f2d6^_0x44f2d6>>0x4^_0x44f2d6>>0x5^_0x44f2d6>>0x6^_0x44f2d6>>0x7^0x63)&0xff;}return _0x415ec6(_0x1482be),_0x177123;})()),_0xf9e91d=_0x13b0b6['map']((_0x99e8ff,_0x592f35)=>_0x13b0b6[_0x500950(0x275)](_0x592f35)),_0x209f48=_0x5cfadb=>_0x5cfadb<<0x18|_0x5cfadb>>>0x8,_0x1ea3e4=_0x236edc=>_0x236edc<<0x8|_0x236edc>>>0x18;function _0x52730f(_0x4a7ba4,_0x1839b8){const _0xac9256=_0x500950;if(_0x4a7ba4['length']!==0x100)throw Error('Wrong\x20sbox\x20length');let _0x467f96=new Uint32Array(0x100)['map']((_0x4a835d,_0x4b8167)=>_0x1839b8(_0x4a7ba4[_0x4b8167])),_0x1e60f3=_0x467f96[_0xac9256(0x39d)](_0x1ea3e4),_0x1c681e=_0x1e60f3['map'](_0x1ea3e4),_0x55945e=_0x1c681e[_0xac9256(0x39d)](_0x1ea3e4),_0x307cf6=new Uint32Array(0x100*0x100),_0x335d13=new Uint32Array(0x100*0x100),_0x3a59be=new Uint16Array(0x100*0x100);for(let _0x2730e1=0x0;_0x2730e1<0x100;_0x2730e1++)for(let _0x3b2c2e=0x0;_0x3b2c2e<0x100;_0x3b2c2e++){let _0x448e7a=_0x2730e1*0x100+_0x3b2c2e;_0x307cf6[_0x448e7a]=_0x467f96[_0x2730e1]^_0x1e60f3[_0x3b2c2e],_0x335d13[_0x448e7a]=_0x1c681e[_0x2730e1]^_0x55945e[_0x3b2c2e],_0x3a59be[_0x448e7a]=_0x4a7ba4[_0x2730e1]<<0x8|_0x4a7ba4[_0x3b2c2e];}return{'sbox':_0x4a7ba4,'sbox2':_0x3a59be,'T0':_0x467f96,'T1':_0x1e60f3,'T2':_0x1c681e,'T3':_0x55945e,'T01':_0x307cf6,'T23':_0x335d13};}let _0x3525b0=_0x52730f(_0x13b0b6,_0x2d9c4f=>_0x282c8c(_0x2d9c4f,0x3)<<0x18|_0x2d9c4f<<0x10|_0x2d9c4f<<0x8|_0x282c8c(_0x2d9c4f,0x2)),_0x3c53b9=_0x52730f(_0xf9e91d,_0x2a96c4=>_0x282c8c(_0x2a96c4,0xb)<<0x18|_0x282c8c(_0x2a96c4,0xd)<<0x10|_0x282c8c(_0x2a96c4,0x9)<<0x8|_0x282c8c(_0x2a96c4,0xe)),_0x13211e=((()=>{let _0xcc454e=new Uint8Array(0x10);for(let _0xe1901=0x0,_0x40a41a=0x1;_0xe1901<0x10;_0xe1901++,_0x40a41a=_0x30ab73(_0x40a41a))_0xcc454e[_0xe1901]=_0x40a41a;return _0xcc454e;})());function _0x48cdbf(_0x332f06){const _0x2cf259=_0x500950;_0x41e5e9(_0x332f06);let _0x2d7081=_0x332f06[_0x2cf259(0x301)];_0x540553(_0x332f06);let {sbox2:_0x5d8df2}=_0x3525b0,_0x1cfbdf=[];(!_0x2828f9||!_0x270ceb(_0x332f06))&&_0x1cfbdf[_0x2cf259(0x204)](_0x332f06=_0x10a7f9(_0x332f06));let _0x1c7714=_0x2a2b0b(_0x5c5189(_0x332f06)),_0x16058e=_0x1c7714[_0x2cf259(0x301)],_0x191010=_0x1a3929=>_0x16bc3b(_0x5d8df2,_0x1a3929,_0x1a3929,_0x1a3929,_0x1a3929),_0xabb6a3=new Uint32Array(_0x2d7081+0x1c);_0xabb6a3[_0x2cf259(0x2f9)](_0x1c7714);for(let _0x9dc660=_0x16058e;_0x9dc660<_0xabb6a3[_0x2cf259(0x301)];_0x9dc660++){let _0xa0a04a=_0xabb6a3[_0x9dc660-0x1];_0x9dc660%_0x16058e===0x0?_0xa0a04a=_0x191010(_0x209f48(_0xa0a04a))^_0x13211e[_0x9dc660/_0x16058e-0x1]:_0x16058e>0x6&&_0x9dc660%_0x16058e===0x4&&(_0xa0a04a=_0x191010(_0xa0a04a)),_0xabb6a3[_0x9dc660]=_0xabb6a3[_0x9dc660-_0x16058e]^_0xa0a04a;}return _0x415ec6(..._0x1cfbdf),_0xabb6a3;}function _0x3a9554(_0xbbb93c){const _0x2bab4a=_0x500950;let _0x49ff4d=_0x48cdbf(_0xbbb93c),_0x3e33e3=_0x49ff4d[_0x2bab4a(0x2fd)](),_0x491aac=_0x49ff4d[_0x2bab4a(0x301)],{sbox2:_0x5d264e}=_0x3525b0,{T0:_0x4e331e,T1:_0x2c02ab,T2:_0x1ce522,T3:_0x12f31c}=_0x3c53b9;for(let _0x36f1d0=0x0;_0x36f1d0<_0x491aac;_0x36f1d0+=0x4)for(let _0x121876=0x0;_0x121876<0x4;_0x121876++)_0x3e33e3[_0x36f1d0+_0x121876]=_0x49ff4d[_0x491aac-_0x36f1d0-0x4+_0x121876];_0x415ec6(_0x49ff4d);for(let _0x2b82b7=0x4;_0x2b82b7<_0x491aac-0x4;_0x2b82b7++){let _0x2b0b6a=_0x3e33e3[_0x2b82b7],_0x214197=_0x16bc3b(_0x5d264e,_0x2b0b6a,_0x2b0b6a,_0x2b0b6a,_0x2b0b6a);_0x3e33e3[_0x2b82b7]=_0x4e331e[_0x214197&0xff]^_0x2c02ab[_0x214197>>>0x8&0xff]^_0x1ce522[_0x214197>>>0x10&0xff]^_0x12f31c[_0x214197>>>0x18];}return _0x3e33e3;}function _0x16c38b(_0x3edae3,_0x47c0fd,_0x2e96e5,_0x44ee51,_0x9d606b,_0x16349c){return _0x3edae3[_0x2e96e5<<0x8&0xff00|_0x44ee51>>>0x8&0xff]^_0x47c0fd[_0x9d606b>>>0x8&0xff00|_0x16349c>>>0x18&0xff];}function _0x16bc3b(_0x45299c,_0x4a54e7,_0x3dd38f,_0x3bded3,_0x149f26){return _0x45299c[_0x4a54e7&0xff|_0x3dd38f&0xff00]|_0x45299c[_0x3bded3>>>0x10&0xff|_0x149f26>>>0x10&0xff00]<<0x10;}function _0x3de05d(_0x499289,_0x2f5011,_0x1bc362,_0x3e9276,_0x2118d3){let {sbox2:_0x529ae4,T01:_0x441d44,T23:_0x4905d1}=_0x3525b0,_0x207950=0x0;_0x2f5011^=_0x499289[_0x207950++],_0x1bc362^=_0x499289[_0x207950++],_0x3e9276^=_0x499289[_0x207950++],_0x2118d3^=_0x499289[_0x207950++];let _0x4fe7ba=_0x499289['length']/0x4-0x2;for(let _0x1d86ce=0x0;_0x1d86ce<_0x4fe7ba;_0x1d86ce++){let _0x4e80a1=_0x499289[_0x207950++]^_0x16c38b(_0x441d44,_0x4905d1,_0x2f5011,_0x1bc362,_0x3e9276,_0x2118d3),_0x364a7a=_0x499289[_0x207950++]^_0x16c38b(_0x441d44,_0x4905d1,_0x1bc362,_0x3e9276,_0x2118d3,_0x2f5011),_0x105608=_0x499289[_0x207950++]^_0x16c38b(_0x441d44,_0x4905d1,_0x3e9276,_0x2118d3,_0x2f5011,_0x1bc362),_0x18b13e=_0x499289[_0x207950++]^_0x16c38b(_0x441d44,_0x4905d1,_0x2118d3,_0x2f5011,_0x1bc362,_0x3e9276);_0x2f5011=_0x4e80a1,_0x1bc362=_0x364a7a,_0x3e9276=_0x105608,_0x2118d3=_0x18b13e;}return{'s0':_0x499289[_0x207950++]^_0x16bc3b(_0x529ae4,_0x2f5011,_0x1bc362,_0x3e9276,_0x2118d3),'s1':_0x499289[_0x207950++]^_0x16bc3b(_0x529ae4,_0x1bc362,_0x3e9276,_0x2118d3,_0x2f5011),'s2':_0x499289[_0x207950++]^_0x16bc3b(_0x529ae4,_0x3e9276,_0x2118d3,_0x2f5011,_0x1bc362),'s3':_0x499289[_0x207950++]^_0x16bc3b(_0x529ae4,_0x2118d3,_0x2f5011,_0x1bc362,_0x3e9276)};}function _0x28fab3(_0x28eca4,_0x44c078,_0x1b0010,_0x2daaaf,_0x342c8a){const _0x214e85=_0x500950;let {sbox2:_0x5744e0,T01:_0x5bc903,T23:_0x573cdd}=_0x3c53b9,_0x4e39b9=0x0;_0x44c078^=_0x28eca4[_0x4e39b9++],_0x1b0010^=_0x28eca4[_0x4e39b9++],_0x2daaaf^=_0x28eca4[_0x4e39b9++],_0x342c8a^=_0x28eca4[_0x4e39b9++];let _0x64928c=_0x28eca4[_0x214e85(0x301)]/0x4-0x2;for(let _0x3124be=0x0;_0x3124be<_0x64928c;_0x3124be++){let _0x1ef61c=_0x28eca4[_0x4e39b9++]^_0x16c38b(_0x5bc903,_0x573cdd,_0x44c078,_0x342c8a,_0x2daaaf,_0x1b0010),_0x3f032f=_0x28eca4[_0x4e39b9++]^_0x16c38b(_0x5bc903,_0x573cdd,_0x1b0010,_0x44c078,_0x342c8a,_0x2daaaf),_0x10d687=_0x28eca4[_0x4e39b9++]^_0x16c38b(_0x5bc903,_0x573cdd,_0x2daaaf,_0x1b0010,_0x44c078,_0x342c8a),_0x491c5d=_0x28eca4[_0x4e39b9++]^_0x16c38b(_0x5bc903,_0x573cdd,_0x342c8a,_0x2daaaf,_0x1b0010,_0x44c078);_0x44c078=_0x1ef61c,_0x1b0010=_0x3f032f,_0x2daaaf=_0x10d687,_0x342c8a=_0x491c5d;}return{'s0':_0x28eca4[_0x4e39b9++]^_0x16bc3b(_0x5744e0,_0x44c078,_0x342c8a,_0x2daaaf,_0x1b0010),'s1':_0x28eca4[_0x4e39b9++]^_0x16bc3b(_0x5744e0,_0x1b0010,_0x44c078,_0x342c8a,_0x2daaaf),'s2':_0x28eca4[_0x4e39b9++]^_0x16bc3b(_0x5744e0,_0x2daaaf,_0x1b0010,_0x44c078,_0x342c8a),'s3':_0x28eca4[_0x4e39b9++]^_0x16bc3b(_0x5744e0,_0x342c8a,_0x2daaaf,_0x1b0010,_0x44c078)};}function _0x142c5d(_0x21d734){const _0x26c71b=_0x500950;if(_0x41e5e9(_0x21d734),_0x21d734[_0x26c71b(0x301)]%0x10!=0x0)throw Error(_0x26c71b(0x3e7));}function _0x5482ff(_0xc988b2,_0x2a978f,_0x24fa4e){const _0xb4fbe5=_0x500950;_0x41e5e9(_0xc988b2);let _0x82dbd0=_0xc988b2[_0xb4fbe5(0x301)],_0x4a3e55=_0x82dbd0%0x10;if(!_0x2a978f&&_0x4a3e55!==0x0)throw Error('aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding');if(_0x2a978f){let _0x5683b3=0x10-_0x4a3e55;_0x5683b3||(_0x5683b3=0x10),_0x82dbd0+=_0x5683b3;}_0x24fa4e=_0x2433ec(_0x82dbd0,_0x24fa4e),_0xf4ad49(_0xc988b2,_0x24fa4e),(!_0x2828f9||!_0x270ceb(_0xc988b2))&&(_0xc988b2=_0x10a7f9(_0xc988b2));let _0x5f3f2e=_0x5c5189(_0xc988b2);return _0x2a2b0b(_0x5f3f2e),{'b':_0x5f3f2e,'o':_0x5c5189(_0x24fa4e),'out':_0x24fa4e};}function _0x646a4a(_0x27e004,_0x2ba326){const _0xf53d78=_0x500950;if(!_0x2ba326)return _0x27e004;let _0x4e7d17=_0x27e004[_0xf53d78(0x301)];if(_0x4e7d17===0x0)throw Error(_0xf53d78(0x289));let _0xdd10e=_0x27e004[_0x4e7d17-0x1],_0x290edc=0x1;_0x290edc&=_0xdd10e-0x1>>>0x1f^0x1,_0x290edc&=0x10-_0xdd10e>>>0x1f^0x1;for(let _0x574672=0x0;_0x574672<0x10;_0x574672++){let _0x4545ff=_0x574672-_0xdd10e>>>0x1f,_0xb53e2e=+((_0x27e004[_0x4e7d17-0x1-_0x574672]^_0xdd10e)===0x0);_0x290edc&=_0xb53e2e|_0x4545ff^0x1;}if(!_0x290edc)throw Error(_0xf53d78(0x36a));return _0x27e004[_0xf53d78(0x448)](0x0,_0x4e7d17-_0xdd10e);}function _0x29fc63(_0x327a05){const _0x18f837=_0x500950;let _0x4012b7=new Uint8Array(0x10),_0x233909=_0x5c5189(_0x4012b7);_0x4012b7['set'](_0x327a05);let _0x3973d2=0x10-_0x327a05[_0x18f837(0x301)];for(let _0x5ad425=0x10-_0x3973d2;_0x5ad425<0x10;_0x5ad425++)_0x4012b7[_0x5ad425]=_0x3973d2;return _0x233909;}let _0x20482d=_0x5edb52({'blockSize':0x10,'nonceLength':0x10},function(_0xe20ebe,_0x3b7df3,_0x1caaa8={}){const _0x44c6de=_0x500950;let _0x560e94=!_0x1caaa8[_0x44c6de(0x3ec)];return{'encrypt'(_0xefd1d1,_0x1d88aa){const _0x5842d6=_0x44c6de;let _0x3e8b54=_0x48cdbf(_0xe20ebe),{b:_0xaabfaa,o:_0x160e42,out:_0x13d78f}=_0x5482ff(_0xefd1d1,_0x560e94,_0x1d88aa),_0x55a490=_0x3b7df3,_0x4ba899=[_0x3e8b54];(!_0x2828f9||!_0x270ceb(_0x55a490))&&_0x4ba899['push'](_0x55a490=_0x10a7f9(_0x55a490));let _0x3ca88e=_0x5c5189(_0x55a490);_0x2a2b0b(_0x3ca88e);let _0x2b6f19=_0x3ca88e[0x0],_0x5704da=_0x3ca88e[0x1],_0xa576ed=_0x3ca88e[0x2],_0x59e83f=_0x3ca88e[0x3],_0x5e599c=0x0;for(;_0x5e599c+0x4<=_0xaabfaa[_0x5842d6(0x301)];)_0x2b6f19^=_0xaabfaa[_0x5e599c+0x0],_0x5704da^=_0xaabfaa[_0x5e599c+0x1],_0xa576ed^=_0xaabfaa[_0x5e599c+0x2],_0x59e83f^=_0xaabfaa[_0x5e599c+0x3],{s0:_0x2b6f19,s1:_0x5704da,s2:_0xa576ed,s3:_0x59e83f}=_0x3de05d(_0x3e8b54,_0x2b6f19,_0x5704da,_0xa576ed,_0x59e83f),_0x160e42[_0x5e599c++]=_0x2b6f19,_0x160e42[_0x5e599c++]=_0x5704da,_0x160e42[_0x5e599c++]=_0xa576ed,_0x160e42[_0x5e599c++]=_0x59e83f;if(_0x560e94){let _0x5d5762=_0x29fc63(_0xefd1d1['subarray'](_0x5e599c*0x4));_0x2a2b0b(_0x5d5762),_0x2b6f19^=_0x5d5762[0x0],_0x5704da^=_0x5d5762[0x1],_0xa576ed^=_0x5d5762[0x2],_0x59e83f^=_0x5d5762[0x3],{s0:_0x2b6f19,s1:_0x5704da,s2:_0xa576ed,s3:_0x59e83f}=_0x3de05d(_0x3e8b54,_0x2b6f19,_0x5704da,_0xa576ed,_0x59e83f),_0x160e42[_0x5e599c++]=_0x2b6f19,_0x160e42[_0x5e599c++]=_0x5704da,_0x160e42[_0x5e599c++]=_0xa576ed,_0x160e42[_0x5e599c++]=_0x59e83f;}return _0x2a2b0b(_0x160e42),_0x415ec6(..._0x4ba899),_0x13d78f;},'decrypt'(_0xe5daf9,_0x53b645){const _0x2eae4e=_0x44c6de;_0x142c5d(_0xe5daf9);let _0x32cb46=_0x3a9554(_0xe20ebe),_0x18be7f=_0x3b7df3,_0x17ff9d=[_0x32cb46];(!_0x2828f9||!_0x270ceb(_0x18be7f))&&_0x17ff9d[_0x2eae4e(0x204)](_0x18be7f=_0x10a7f9(_0x18be7f));let _0x2fb8f0=_0x5c5189(_0x18be7f);_0x2a2b0b(_0x2fb8f0),_0x53b645=_0x2433ec(_0xe5daf9[_0x2eae4e(0x301)],_0x53b645),_0xf4ad49(_0xe5daf9,_0x53b645),(!_0x2828f9||!_0x270ceb(_0xe5daf9))&&_0x17ff9d['push'](_0xe5daf9=_0x10a7f9(_0xe5daf9));let _0x3634a1=_0x5c5189(_0xe5daf9),_0x2da42b=_0x5c5189(_0x53b645);_0x2a2b0b(_0x3634a1);let _0x55c63e=_0x2fb8f0[0x0],_0x4f40b0=_0x2fb8f0[0x1],_0xc28997=_0x2fb8f0[0x2],_0x336bc4=_0x2fb8f0[0x3];for(let _0x231558=0x0;_0x231558+0x4<=_0x3634a1[_0x2eae4e(0x301)];){let _0x152466=_0x55c63e,_0x4d86d6=_0x4f40b0,_0x460af9=_0xc28997,_0x1d175b=_0x336bc4;_0x55c63e=_0x3634a1[_0x231558+0x0],_0x4f40b0=_0x3634a1[_0x231558+0x1],_0xc28997=_0x3634a1[_0x231558+0x2],_0x336bc4=_0x3634a1[_0x231558+0x3];let {s0:_0x59338b,s1:_0x12e38f,s2:_0xc3979a,s3:_0x99550}=_0x28fab3(_0x32cb46,_0x55c63e,_0x4f40b0,_0xc28997,_0x336bc4);_0x2da42b[_0x231558++]=_0x59338b^_0x152466,_0x2da42b[_0x231558++]=_0x12e38f^_0x4d86d6,_0x2da42b[_0x231558++]=_0xc3979a^_0x460af9,_0x2da42b[_0x231558++]=_0x99550^_0x1d175b;}return _0x2a2b0b(_0x2da42b),_0x415ec6(..._0x17ff9d),_0x646a4a(_0x53b645,_0x560e94);}};});function _0x5596a6(_0x5be2b3){const _0x93f7b6=_0x500950;let _0x1a9d41=atob(_0x5be2b3),_0x383a0b=new Uint8Array(_0x1a9d41[_0x93f7b6(0x301)]);for(let _0x38ef83=0x0;_0x38ef83<_0x1a9d41[_0x93f7b6(0x301)];_0x38ef83++)_0x383a0b[_0x38ef83]=_0x1a9d41[_0x93f7b6(0x3c9)](_0x38ef83);return _0x383a0b;}function _0x28c500(_0x40f9f9){const _0x48282e=_0x500950;let _0x24c05e='';for(let _0x7f71e=0x0;_0x7f71e<_0x40f9f9[_0x48282e(0x301)];_0x7f71e++)_0x24c05e+=String[_0x48282e(0x397)](_0x40f9f9[_0x7f71e]);return btoa(_0x24c05e);}function _0x334022(_0x181301,_0x344691){const _0x3e007b=_0x500950;let _0x332c8a=_0x5596a6(_0x344691),_0x4facbf=_0x345534(0x10);return _0x28c500(_0x4787bd(_0x4facbf,_0x20482d(_0x332c8a,_0x4facbf)[_0x3e007b(0x2d5)](_0x45ad3e(_0x181301))));}function _0x3a4cf9(){const _0x4fdeac=_0x500950;let _0x203bb5=(0x0,_0x54ba21[_0x4fdeac(0x322)])()['__Key__'];if(typeof window<'u'&&window[_0x4fdeac(0x205)]!==void 0x0&&_0x203bb5){let _0x3300b4={'time':Math[_0x4fdeac(0x35b)](Date['now']()/0x3e8),'domain':location[_0x4fdeac(0x46a)]};return _0x334022(JSON[_0x4fdeac(0x28b)](_0x3300b4),_0x203bb5);}}let _0x33e4c0=class{constructor(_0xbecc25){const _0x5a1c13=_0x500950;this[_0x5a1c13(0x3a5)]=_0xbecc25,this['_initRequestHeader']();}[_0x500950(0x4fe)](){const _0x27702a=_0x500950;this[_0x27702a(0x3a5)]['registerHTTPInterceptor']({'interceptor':(_0x1b8911,_0x5f48d6)=>{const _0x29899a=_0x27702a;let _0x54f290=_0x3a4cf9();return _0x54f290&&_0x1b8911['headers'][_0x29899a(0x2f9)](_0x29899a(0x1eb),_0x54f290),_0x5f48d6(_0x1b8911);}});}};_0x33e4c0=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456[_0x500950(0x430)])(_0x25f3fb[_0x500950(0x485)]))],_0x33e4c0);let _0x47d8bf=class extends _0x2fb456[_0x500950(0x1fb)]{constructor(_0x21cd7a,_0xf26a82,_0x4a0a77){const _0x39d648=_0x500950;super(),this['_logService']=_0x21cd7a,this['_snapshotService']=_0xf26a82,this['_localCacheService']=_0x4a0a77,_0x3dd6fc(this,'_unitInfo$',new _0x5eae7e[(_0x39d648(0x3c7))](null)),_0x3dd6fc(this,'unitInfo$',this[_0x39d648(0x349)][_0x39d648(0x511)]());}async[_0x500950(0x259)](_0x3df0a5,_0x4b121d,_0x46eae3){const _0x5251cd=_0x500950;this[_0x5251cd(0x349)][_0x5251cd(0x362)]({'unitId':_0x3df0a5,'type':_0x4b121d});let _0x4472d6=null;switch(_0x4b121d){case _0x2fb456[_0x5251cd(0x217)][_0x5251cd(0x4ce)]:_0x4472d6=await this[_0x5251cd(0x375)][_0x5251cd(0x398)](_0x3df0a5,_0x46eae3);break;case _0x2fb456[_0x5251cd(0x217)]['UNIVER_DOC']:_0x4472d6=await this['_snapshotService'][_0x5251cd(0x284)](_0x3df0a5,_0x46eae3);break;default:this['_logService']['error']('[DataLoaderService]',_0x5251cd(0x416));break;}return _0x4472d6;}async[_0x500950(0x27b)](_0x15b396,_0x41377c,_0x31e009){const _0x4473be=_0x500950;var _0x21915a;this[_0x4473be(0x349)]['next']({'unitId':_0x15b396,'type':_0x41377c,'subUnitId':_0x31e009});let _0x450fa5=0x0,_0x418c0d=await((_0x21915a=this[_0x4473be(0x49b)])==null?void 0x0:_0x21915a[_0x4473be(0x45a)](_0x15b396));return _0x418c0d&&(_0x418c0d[_0x4473be(0x40d)]||_0x418c0d[_0x4473be(0x3d1)]['length']!==0x0)&&(_0x450fa5=_0x418c0d[_0x4473be(0x2ee)]),_0x450fa5===0x0&&this['_logService'][_0x4473be(0x4a8)](_0x4473be(0x3ba),_0x4473be(0x404)),this[_0x4473be(0x259)](_0x15b396,_0x41377c,_0x450fa5);}};_0x47d8bf=_0x1c7ac3([_0x42aff9(0x0,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0x1,(0x0,_0x2fb456[_0x500950(0x430)])(_0x35ef0a[_0x500950(0x4a9)])),_0x42aff9(0x2,(0x0,_0x2fb456[_0x500950(0x35f)])(_0x3d2740))],_0x47d8bf);let _0x5cc7c3=[_0x500950(0x243),_0x500950(0x280),'image/jpg',_0x500950(0x3c2),_0x500950(0x34b)],_0x373cd0=class{constructor(_0x3682c8,_0x12fba5,_0x2ed9c3){const _0x4ce777=_0x500950;this[_0x4ce777(0x3a5)]=_0x3682c8,this[_0x4ce777(0x25a)]=_0x12fba5,this['_univerInstanceService']=_0x2ed9c3,_0x3dd6fc(this,_0x4ce777(0x4a0),0x0),_0x3dd6fc(this,_0x4ce777(0x3ee),new _0x5eae7e[(_0x4ce777(0x4b9))]()),_0x3dd6fc(this,_0x4ce777(0x35c),this[_0x4ce777(0x3ee)]),_0x3dd6fc(this,'_imageSourceCache',new Map());}[_0x500950(0x262)](_0x29c84e){const _0x3f13a3=_0x500950;this[_0x3f13a3(0x4a0)]=_0x29c84e,this[_0x3f13a3(0x3ee)][_0x3f13a3(0x362)](_0x29c84e);}[_0x500950(0x47a)](_0x9ddb48,_0x2016f2){const _0x384ac1=_0x500950;if(_0x2016f2===_0x4f2ba2['ImageSourceType']['BASE64']){let _0x2fa76d=new Image();return _0x2fa76d[_0x384ac1(0x4e7)]=_0x9ddb48,_0x2fa76d;}return this[_0x384ac1(0x266)][_0x384ac1(0x2bd)](_0x9ddb48);}[_0x500950(0x3b8)](_0x53d795,_0x20ef35,_0x596321){const _0x3b3e66=_0x500950;_0x20ef35===_0x4f2ba2[_0x3b3e66(0x457)][_0x3b3e66(0x460)]||_0x596321==null||this[_0x3b3e66(0x266)][_0x3b3e66(0x2f9)](_0x53d795,_0x596321);}async[_0x500950(0x324)](_0x3446ea){const _0xd461b7=_0x500950;try{let _0x41af8e=this[_0xd461b7(0x3d8)](this[_0xd461b7(0x49d)](),''+_0x3446ea),_0x10fe3b=(await this[_0xd461b7(0x3a5)]['get'](_0x41af8e))[_0xd461b7(0x401)];if(_0x10fe3b[_0xd461b7(0x4bb)]&&_0x10fe3b[_0xd461b7(0x4bb)][_0xd461b7(0x46e)]===_0x402625[_0xd461b7(0x428)]['OK']){let _0x89388=(0x0,_0x2fb456[_0xd461b7(0x357)])(_0x10fe3b[_0xd461b7(0x282)],this[_0xd461b7(0x3ff)]());return Promise[_0xd461b7(0x4f8)](_0x89388);}return Promise[_0xd461b7(0x42a)](_0x10fe3b[_0xd461b7(0x4bb)]);}catch(_0x5da2e6){return Promise[_0xd461b7(0x42a)](_0x5da2e6);}}async[_0x500950(0x474)](_0x310107){const _0x394f94=_0x500950;let _0x2d4012='';if(!_0x5cc7c3[_0x394f94(0x363)](_0x310107[_0x394f94(0x431)]))return this['_decreaseWaiting'](),Promise[_0x394f94(0x42a)](Error(_0x4f2ba2['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x310107[_0x394f94(0x44f)]>0x500000)return this['_decreaseWaiting'](),Promise[_0x394f94(0x42a)](Error(_0x4f2ba2['ImageUploadStatusType'][_0x394f94(0x307)]));try{let _0x196460=new FormData();_0x196460[_0x394f94(0x3e4)]('file',_0x310107);let _0x18c1a8=this[_0x394f94(0x2d1)][_0x394f94(0x46c)](),_0x28862e=_0x18c1a8==null?void 0x0:_0x18c1a8[_0x394f94(0x246)]();if(!_0x28862e)throw Error(_0x394f94(0x224));let _0x58735d=this[_0x394f94(0x261)]()+_0x394f94(0x3d0)+_0x310107[_0x394f94(0x44f)][_0x394f94(0x34f)]()+_0x394f94(0x302)+_0x402625[_0x394f94(0x488)]['UnitEmbedded']+_0x394f94(0x299)+encodeURIComponent(_0x28862e),_0x242865={'body':_0x196460},_0x1edcbf=(await this[_0x394f94(0x3a5)][_0x394f94(0x30c)](_0x58735d,_0x242865))[_0x394f94(0x401)];if(typeof _0x1edcbf[_0x394f94(0x3b5)]!=_0x394f94(0x35e))return this[_0x394f94(0x3ac)](),Promise[_0x394f94(0x42a)](Error(_0x4f2ba2[_0x394f94(0x226)][_0x394f94(0x2ae)]));_0x2d4012=_0x1edcbf[_0x394f94(0x3b5)];}catch{return this[_0x394f94(0x3ac)](),Promise[_0x394f94(0x42a)](Error(_0x4f2ba2[_0x394f94(0x226)]['ERROR_IMAGE']));}return new Promise((_0xd3a006,_0x306d32)=>{const _0x52dbfc=_0x394f94;let _0x524218=new FileReader();_0x524218[_0x52dbfc(0x292)](_0x310107),_0x524218[_0x52dbfc(0x4ea)]=_0x22e6df=>{const _0x321ea3=_0x52dbfc;var _0x274086;let _0x55e86c=(_0x274086=_0x22e6df[_0x321ea3(0x2f1)])==null?void 0x0:_0x274086[_0x321ea3(0x1f6)];if(_0x55e86c==null){this[_0x321ea3(0x3ac)](),_0x306d32(Error(_0x4f2ba2[_0x321ea3(0x226)][_0x321ea3(0x2ae)]));return;}_0xd3a006({'imageId':(0x0,_0x2fb456['generateRandomId'])(0x6),'imageSourceType':_0x4f2ba2[_0x321ea3(0x457)][_0x321ea3(0x3cc)],'source':_0x2d4012,'base64Cache':_0x55e86c,'status':_0x4f2ba2['ImageUploadStatusType'][_0x321ea3(0x31f)]}),this[_0x321ea3(0x3ac)]();};});}['_getUploadFileURL'](){const _0x40128b=_0x500950;var _0x4c11e2;let _0xfdf074=this['_configService']['getConfig'](_0x5445c5);return(_0x4c11e2=_0xfdf074==null?void 0x0:_0xfdf074[_0x40128b(0x23e)])==null?_0x40128b(0x42f):_0x4c11e2;}[_0x500950(0x49d)](){const _0x1e377a=_0x500950;var _0x1e7db9;let _0x1bbd5a=this['_configService']['getConfig'](_0x5445c5);return(_0x1e7db9=_0x1bbd5a==null?void 0x0:_0x1bbd5a[_0x1e377a(0x24b)])==null?_0x1e377a(0x475):_0x1e7db9;}[_0x500950(0x3ff)](){const _0x2dea48=_0x500950;var _0xf32f40;let _0x5f3996=this[_0x2dea48(0x25a)][_0x2dea48(0x2a6)](_0x5445c5);return(_0xf32f40=_0x5f3996==null?void 0x0:_0x5f3996[_0x2dea48(0x2a8)])==null?location[_0x2dea48(0x38e)]:_0xf32f40;}['_replaceFileID'](_0x5f29c2,_0x47f477){const _0x59576e=_0x500950;return _0x5f29c2['replace'](_0x59576e(0x1ec),_0x47f477);}[_0x500950(0x3ac)](){const _0xe66110=_0x500950;--this[_0xe66110(0x4a0)],this[_0xe66110(0x3ee)]['next'](this[_0xe66110(0x4a0)]);}};_0x373cd0=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456['Inject'])(_0x25f3fb[_0x500950(0x485)])),_0x42aff9(0x1,_0x2fb456[_0x500950(0x26a)]),_0x42aff9(0x2,(0x0,_0x2fb456[_0x500950(0x430)])(_0x2fb456[_0x500950(0x285)]))],_0x373cd0);let _0x33dc04=class{constructor(_0x168fc4,_0x25966c){const _0x59aeb5=_0x500950;this[_0x59aeb5(0x25a)]=_0x168fc4,this['_HTTPService']=_0x25966c;}[_0x500950(0x451)](){const _0x41c7cb=_0x500950;var _0x32c940;let _0x50d0c4=this[_0x41c7cb(0x25a)][_0x41c7cb(0x2a6)](_0x5445c5);return(_0x32c940=_0x50d0c4==null?void 0x0:_0x50d0c4[_0x41c7cb(0x356)])==null?'/universer-api/authz':_0x32c940;}async[_0x500950(0x272)](_0xcf4bf9){const _0xbcf9e=_0x500950;let _0x5550b8=this[_0xbcf9e(0x451)]()+_0xbcf9e(0x206);return{'list':[{'title':_0xbcf9e(0x30e),'mentions':(await this[_0xbcf9e(0x21c)][_0xbcf9e(0x2bd)](_0x5550b8,{'params':{'objectID':_0xcf4bf9['unitId'],'unitID':_0xcf4bf9['unitId']}}))[_0xbcf9e(0x401)][_0xbcf9e(0x234)][_0xbcf9e(0x39d)](_0x50de34=>({'objectId':_0x50de34['id'],'name':_0x50de34[_0xbcf9e(0x2bc)][_0xbcf9e(0x1ef)],'metadata':{'icon':_0x50de34['subject'][_0xbcf9e(0x3a7)]},'label':_0x50de34[_0xbcf9e(0x2bc)]['name'],'objectType':_0x2fb456[_0xbcf9e(0x44e)][_0xbcf9e(0x32f)]})),'metadata':{},'type':_0x2fb456['MentionType']['PERSON']}]};}};_0x33dc04=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x26a)])),_0x42aff9(0x1,(0x0,_0x2fb456['Inject'])(_0x25f3fb[_0x500950(0x485)]))],_0x33dc04);let _0x2fe85b=class extends _0x2fb456[_0x500950(0x1fb)]{constructor(_0x259586,_0x5ed681,_0x393906,_0x56e9f9,_0x2f145a){const _0xff70e3=_0x500950;super(),this['_injector']=_0x259586,this[_0xff70e3(0x2d1)]=_0x5ed681,this['_permissionService']=_0x393906,this[_0xff70e3(0x24e)]=_0x56e9f9,this['_collaborationUIEventService']=_0x2f145a,this[_0xff70e3(0x2d7)](),this[_0xff70e3(0x4f2)]();}[_0x500950(0x4f2)](){const _0x1d3077=_0x500950;let _0x3c97f3=async _0x4822ef=>{const _0x341cc9=_0x1951;(await this[_0x341cc9(0x24e)][_0x341cc9(0x4c2)](_0x4822ef))[_0x341cc9(0x2aa)][_0x341cc9(0x3d3)]((0x0,_0x41c5dd[_0x341cc9(0x3c6)])(_0x39677a=>_0x39677a[_0x341cc9(0x49e)]===_0x35ef0a[_0x341cc9(0x21e)]['SHOULD_CLOSE_CONN']),(0x0,_0x41c5dd['takeUntil'])(this[_0x341cc9(0x483)]))[_0x341cc9(0x495)](_0x11043d=>{const _0x404296=_0x341cc9;let {reason:_0x1f6dca}=_0x11043d['data'];this[_0x404296(0x219)]['emitEvent']({'id':_0x3221f8[_0x404296(0x2be)],'data':_0x1f6dca}),this[_0x404296(0x48f)][_0x404296(0x1ed)](new _0x558c66['WorkbookEditablePermission'](_0x4822ef)['id'],!0x1),this['_collaborationSessionService'][_0x404296(0x315)](_0x4822ef);});};(0x0,_0x5eae7e[_0x1d3077(0x329)])(this[_0x1d3077(0x2d1)][_0x1d3077(0x22d)](_0x2fb456[_0x1d3077(0x217)][_0x1d3077(0x4ce)]),this[_0x1d3077(0x2d1)][_0x1d3077(0x22d)](_0x2fb456[_0x1d3077(0x217)][_0x1d3077(0x2dc)]))[_0x1d3077(0x3d3)]((0x0,_0x41c5dd[_0x1d3077(0x39d)])(_0x7c9121=>_0x7c9121[_0x1d3077(0x3bc)][_0x1d3077(0x246)]()),(0x0,_0x41c5dd[_0x1d3077(0x3c6)])(_0x4dc891=>!(0x0,_0x2fb456[_0x1d3077(0x39f)])(_0x4dc891)),(0x0,_0x41c5dd[_0x1d3077(0x498)])(this[_0x1d3077(0x483)]))['subscribe'](_0x4d1d82=>{_0x3c97f3(_0x4d1d82);});}[_0x500950(0x2d7)](){const _0x47baa2=_0x500950;let _0x1a83d6=async _0x40aa4a=>{const _0x4429f5=_0x1951;let _0x12d6d8=await this[_0x4429f5(0x24e)][_0x4429f5(0x4c2)](_0x40aa4a),_0x58e4fd=this[_0x4429f5(0x4ac)][_0x4429f5(0x2bd)](_0x558c66[_0x4429f5(0x3fc)]);_0x12d6d8['event$'][_0x4429f5(0x3d3)]((0x0,_0x41c5dd[_0x4429f5(0x3c6)])(_0x3cec85=>_0x3cec85[_0x4429f5(0x49e)]===_0x35ef0a[_0x4429f5(0x21e)]['UPDATE_PERMISSION_OBJ']),(0x0,_0x41c5dd[_0x4429f5(0x498)])(this['dispose$']))[_0x4429f5(0x495)](_0x2ce3f0=>{const _0x3a7dd8=_0x4429f5;let {objectId:_0x4383be}=_0x2ce3f0[_0x3a7dd8(0x1f0)];_0x4383be===_0x40aa4a?_0x58e4fd['initWorkbookPermissionChange'](_0x40aa4a):_0x58e4fd['refreshPermission'](_0x40aa4a,_0x4383be);});};(0x0,_0x5eae7e['merge'])(this['_univerInstanceService'][_0x47baa2(0x22d)](_0x2fb456['UniverInstanceType'][_0x47baa2(0x4ce)]))[_0x47baa2(0x3d3)]((0x0,_0x41c5dd[_0x47baa2(0x39d)])(_0x550eb5=>_0x550eb5[_0x47baa2(0x3bc)]['getUnitId']()),(0x0,_0x41c5dd[_0x47baa2(0x3c6)])(_0x2511a8=>!(0x0,_0x2fb456[_0x47baa2(0x39f)])(_0x2511a8)),(0x0,_0x41c5dd['takeUntil'])(this['dispose$']))[_0x47baa2(0x495)](_0x13d6f5=>{_0x1a83d6(_0x13d6f5);});}};_0x2fe85b=_0x1c7ac3([_0x42aff9(0x0,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x1,_0x2fb456[_0x500950(0x285)]),_0x42aff9(0x2,_0x2fb456[_0x500950(0x3db)]),_0x42aff9(0x3,(0x0,_0x2fb456['Inject'])(_0x1c0f7b)),_0x42aff9(0x4,(0x0,_0x2fb456[_0x500950(0x430)])(_0x4cb1da))],_0x2fe85b);let _0x349b8a=class{constructor(_0x3842ac,_0x4665df){const _0x25c093=_0x500950;this[_0x25c093(0x25a)]=_0x3842ac,this[_0x25c093(0x3a5)]=_0x4665df;}async[_0x500950(0x225)](_0x470844,_0xa33fc){const _0x2ee0b8=_0x500950;var _0x5f34e1;let {unitID:_0x123961,type:_0x4074a9,revision:_0x202f21=0x0}=_0xa33fc,_0x543d8c=this[_0x2ee0b8(0x48a)]()+'/'+_0x4074a9+_0x2ee0b8(0x331)+_0x123961+_0x2ee0b8(0x248)+_0x202f21,_0x1c9fca=(await this[_0x2ee0b8(0x3a5)][_0x2ee0b8(0x2bd)](_0x543d8c))[_0x2ee0b8(0x401)],_0x2daf52=(_0x5f34e1=_0x1c9fca['snapshot'])==null?void 0x0:_0x5f34e1[_0x2ee0b8(0x507)];if(_0x2daf52){let _0x33e0c7=_0x2daf52==null?void 0x0:_0x2daf52['originalMeta'];_0x2daf52[_0x2ee0b8(0x4b3)]=_0x35ef0a[_0x2ee0b8(0x459)][_0x2ee0b8(0x4f5)]((0x0,_0x35ef0a[_0x2ee0b8(0x3b3)])(_0x33e0c7)),Object[_0x2ee0b8(0x343)](_0x2daf52[_0x2ee0b8(0x341)])[_0x2ee0b8(0x36d)](([,_0x4e965d])=>{const _0x5317b8=_0x2ee0b8;let _0x124348=_0x4e965d['originalMeta'];_0x4e965d['originalMeta']=_0x35ef0a['textEncoder'][_0x5317b8(0x4f5)]((0x0,_0x35ef0a['b64DecodeUnicode'])(_0x124348));});}return _0x1c9fca;}async[_0x500950(0x510)](_0x222e96,_0x2e22da){const _0x146ba6=_0x500950;let {unitID:_0x337449,type:_0x578467,blockID:_0x355a35}=_0x2e22da,_0x449461=this[_0x146ba6(0x29c)]()+'/'+_0x578467+_0x146ba6(0x331)+_0x337449+'/block/'+_0x355a35;return(await this[_0x146ba6(0x3a5)][_0x146ba6(0x2bd)](_0x449461))[_0x146ba6(0x401)];}async[_0x500950(0x24d)](_0x2acfa3,_0x453da7){const _0x13435b=_0x500950;let {unitID:_0x498cd9,type:_0x5aa42b,blockID:_0x46b05b}=_0x453da7,_0x5679ea=this[_0x13435b(0x29c)]()+_0x13435b(0x4b0)+_0x5aa42b+_0x13435b(0x331)+_0x498cd9+'/block/'+_0x46b05b;return(await this[_0x13435b(0x3a5)]['get'](_0x5679ea))[_0x13435b(0x401)];}async['fetchMissingChangesets'](_0x9ace81,_0x4378ce){const _0x5418b8=_0x500950;let {unitID:_0x4904dc,type:_0x4ba5d1,from:_0xece231,to:_0xae5192}=_0x4378ce,_0x1890b9=this[_0x5418b8(0x29c)]()+'/'+_0x4ba5d1+_0x5418b8(0x331)+_0x4904dc+_0x5418b8(0x2e9)+_0xece231+_0x5418b8(0x4e0)+_0xae5192;return(await this[_0x5418b8(0x3a5)][_0x5418b8(0x2bd)](_0x1890b9))[_0x5418b8(0x401)];}['getSnapshotAPIPath'](){const _0x3b0a8b=_0x500950;var _0x37905a;return(_0x37905a=this['_configService'][_0x3b0a8b(0x2a6)]('SNAPSHOT_URL_KEY'))==null?this[_0x3b0a8b(0x29c)]():_0x37905a;}[_0x500950(0x29c)](){const _0x3f012b=_0x500950;var _0x3194c2;let _0x5459d9=this[_0x3f012b(0x25a)][_0x3f012b(0x2a6)](_0x5445c5);return(_0x3194c2=_0x5459d9==null?void 0x0:_0x5459d9[_0x3f012b(0x2a0)])==null?'/universer-api/snapshot':_0x3194c2;}async[_0x500950(0x309)](_0x13842b,_0x6ffb52){const _0x36a596=_0x500950;let _0x446084=_0x36a596(0x4dd)+_0x6ffb52[_0x36a596(0x431)]+_0x36a596(0x331)+_0x6ffb52['unitID']+_0x36a596(0x43c);return(await this[_0x36a596(0x3a5)][_0x36a596(0x2bd)](_0x446084,{'params':{'resourceId':JSON['stringify'](_0x6ffb52[_0x36a596(0x268)])}}))[_0x36a596(0x401)];}['saveSnapshot'](){const _0x1acf8b=_0x500950;throw Error(_0x1acf8b(0x3d5));}['updateSnapshot'](){const _0x2e660b=_0x500950;throw Error(_0x2e660b(0x3d5));}[_0x500950(0x297)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){const _0x4522f8=_0x500950;throw Error(_0x4522f8(0x3d5));}[_0x500950(0x244)](){const _0x47692d=_0x500950;throw Error(_0x47692d(0x3d5));}[_0x500950(0x317)](){const _0x42f38f=_0x500950;throw Error(_0x42f38f(0x3d5));}};_0x349b8a=_0x1c7ac3([_0x42aff9(0x0,_0x2fb456[_0x500950(0x26a)]),_0x42aff9(0x1,(0x0,_0x2fb456[_0x500950(0x430)])(_0x25f3fb[_0x500950(0x485)]))],_0x349b8a);let _0x22469f=class extends _0x2fb456[_0x500950(0x29b)]{constructor(_0x44b825,_0x18077b,_0x15a513,_0x49deab,_0x34a1f4){const _0x32f193=_0x500950;super(_0x44b825,_0x18077b,_0x15a513),this[_0x32f193(0x44b)]=_0x49deab,this['_logService']=_0x34a1f4;}['transformUndoRedo'](_0x3c0d86,_0x5de93c){const _0x87f039=_0x500950;let _0x4cee2e=this['_getUndoStack'](_0x3c0d86);if(_0x4cee2e)try{let _0x2324d3=this['_transformStack'](_0x4cee2e,_0x5de93c);this[_0x87f039(0x444)](_0x3c0d86,_0x2324d3);}catch(_0x435737){this[_0x87f039(0x40b)][_0x87f039(0x4bb)](_0x87f039(0x3e2),_0x435737),this[_0x87f039(0x22a)](_0x3c0d86);}let _0x2a4539=this['_getRedoStack'](_0x3c0d86);if(_0x2a4539)try{let _0x90158c=this[_0x87f039(0x48c)](_0x2a4539,_0x5de93c);this[_0x87f039(0x40c)](_0x3c0d86,_0x90158c);}catch(_0x4f53cc){this['_logService'][_0x87f039(0x4bb)](_0x4f53cc),this[_0x87f039(0x394)](_0x3c0d86);}}[_0x500950(0x22a)](_0x180ace){const _0x5a2539=_0x500950;let _0x55e17b=this[_0x5a2539(0x239)](_0x180ace);_0x55e17b&&(_0x55e17b[_0x5a2539(0x301)]=0x0,this[_0x5a2539(0x36e)]());}[_0x500950(0x394)](_0x5ac831){const _0x3e10f2=_0x500950;let _0x265251=this[_0x3e10f2(0x42e)](_0x5ac831);_0x265251&&(_0x265251['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x163a90,_0x43794e){const _0x5de464=_0x500950;this['_undoStacks'][_0x5de464(0x2f9)](_0x163a90,_0x43794e),this[_0x5de464(0x36e)]();}['_substituteRedoStack'](_0x34e1f3,_0x2fe86f){const _0x42203b=_0x500950;this[_0x42203b(0x372)]['set'](_0x34e1f3,_0x2fe86f),this[_0x42203b(0x36e)]();}['_transformStack'](_0x482a6d,_0x291087){const _0x3d2ee1=_0x500950;let _0x18ef77=[],_0x153400=_0x291087,_0x322083=_0x291087;for(let _0x4c9e67=_0x482a6d['length']-0x1;_0x4c9e67>=0x0;_0x4c9e67--){let {unitID:_0x2e9c7c,undoMutations:_0x5e0739,redoMutations:_0x453ab8}=_0x482a6d[_0x4c9e67],_0x171a82=this[_0x3d2ee1(0x44b)][_0x3d2ee1(0x439)](_0x153400,_0x5e0739),_0x3ea4ad=this[_0x3d2ee1(0x44b)][_0x3d2ee1(0x439)](_0x322083,_0x453ab8);if((0x0,_0x35ef0a[_0x3d2ee1(0x484)])(_0x171a82)||(0x0,_0x35ef0a['isTransformMutationsWithChangesetFailure'])(_0x3ea4ad)){this['_logService'][_0x3d2ee1(0x4bb)](_0x3d2ee1(0x3e2),_0x3d2ee1(0x40a),_0x171a82,_0x3ea4ad);break;}_0x153400=_0x171a82['c1Prime'],_0x322083=_0x3ea4ad[_0x3d2ee1(0x30b)],_0x18ef77['push']({'unitID':_0x2e9c7c,'undoMutations':_0x171a82['m2Prime'],'redoMutations':_0x3ea4ad[_0x3d2ee1(0x3dc)]});}return _0x18ef77[_0x3d2ee1(0x46d)]();}};_0x22469f=_0x1c7ac3([_0x42aff9(0x0,_0x2fb456[_0x500950(0x285)]),_0x42aff9(0x1,_0x2fb456[_0x500950(0x35d)]),_0x42aff9(0x2,_0x2fb456[_0x500950(0x2d2)]),_0x42aff9(0x3,_0x35ef0a[_0x500950(0x381)]),_0x42aff9(0x4,_0x2fb456[_0x500950(0x2ab)])],_0x22469f);let _0x2e81a6=class extends _0x2fb456['Plugin']{constructor(_0x3dce49={},_0xf37f27,_0x16c048,_0x4ba048){const _0x42acff=_0x500950;super(),this['_config']=_0x3dce49,this['_logService']=_0xf37f27,this[_0x42acff(0x4ac)]=_0x16c048,this[_0x42acff(0x25a)]=_0x4ba048;let {..._0x5a1ffe}=(0x0,_0x2fb456[_0x42acff(0x329)])({},_0x465697,_0x3dce49);if(!_0x5a1ffe[_0x42acff(0x399)])throw Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x42acff(0x39c)]=_0x5a1ffe,this[_0x42acff(0x25a)][_0x42acff(0x2da)](_0x5445c5,_0x5a1ffe);}[_0x500950(0x209)](){const _0xef1185=_0x500950;this[_0xef1185(0x4da)](),this[_0xef1185(0x3b2)]();}[_0x500950(0x4da)](){const _0x1177f0=_0x500950;var _0x1fc719,_0x19d8e1;this[_0x1177f0(0x4ac)][_0x1177f0(0x50a)](_0x2fb456['IUndoRedoService'])&&this[_0x1177f0(0x40b)][_0x1177f0(0x4bb)](_0x1177f0(0x3fa),_0x1177f0(0x42b));let _0x16b4b6=(0x0,_0x2fb456['mergeOverrideWithDependencies'])([[_0x2fb456[_0x1177f0(0x22e)],{'useClass':_0x22469f}],[_0x1c0f7b],[_0xe1c77b],[_0x324b61],[_0x59404f],[_0x33e4c0],[_0x732d06],[_0x2fe85b],[_0x4cb1da],[_0x47d8bf],[_0xdc50bf,{'useClass':this[_0x1177f0(0x39c)][_0x1177f0(0x399)]}],[_0x35ef0a['ISnapshotServerService'],{'useClass':_0x349b8a}],[_0x2fb456[_0x1177f0(0x30f)],{'useClass':_0x20ee4d}],[_0x4f2ba2[_0x1177f0(0x4ae)],{'useClass':_0x373cd0}],[_0x2fb456['IMentionIOService'],{'useClass':_0x33dc04}],[_0x319e42],[_0x3a9542]],(_0x1fc719=this['_config'])==null?void 0x0:_0x1fc719[_0x1177f0(0x471)]);if(!((_0x19d8e1=this[_0x1177f0(0x39c)])!=null&&_0x19d8e1[_0x1177f0(0x1e7)])){let _0x2a421f=_0x16b4b6[_0x1177f0(0x258)](([_0x32c468])=>_0x32c468===_0x129fb8);_0x2a421f!==-0x1&&_0x16b4b6[_0x1177f0(0x458)](_0x2a421f,0x1);}(0x0,_0x2fb456[_0x1177f0(0x47f)])(this[_0x1177f0(0x4ac)],_0x16b4b6);}[_0x500950(0x3b2)](){const _0xd3fb2a=_0x500950;var _0x5e5662,_0x11b52a;if(this[_0xd3fb2a(0x4ac)]['get'](_0x25f3fb[_0xd3fb2a(0x485)])[_0xd3fb2a(0x303)]({'priority':0x14,'interceptor':(0x0,_0x25f3fb[_0xd3fb2a(0x23f)])({'maxParallel':0x6})}),!((_0x5e5662=this[_0xd3fb2a(0x39c)])!=null&&_0x5e5662[_0xd3fb2a(0x469)])){var _0x4c77e3;(_0x4c77e3=this[_0xd3fb2a(0x4ac)][_0xd3fb2a(0x2bd)](_0x3d2740,_0x2fb456[_0xd3fb2a(0x4f3)][_0xd3fb2a(0x2c9)]))==null||_0x4c77e3[_0xd3fb2a(0x3b6)]();}(_0x11b52a=this[_0xd3fb2a(0x39c)])!=null&&_0x11b52a['enableAuthServer']&&(0x0,_0x2fb456[_0xd3fb2a(0x47c)])(this['_injector'],[[_0x59404f]]),(0x0,_0x2fb456['touchDependencies'])(this[_0xd3fb2a(0x4ac)],[[_0x33e4c0],[_0x319e42],[_0x2fe85b]]);}};_0x3dd6fc(_0x2e81a6,_0x500950(0x4e4),_0x500950(0x2b8)),_0x3dd6fc(_0x2e81a6,_0x500950(0x26e),_0x443ffe),_0x3dd6fc(_0x2e81a6,'version',_0x46ce6e),_0x2e81a6=_0x1c7ac3([(0x0,_0x2fb456['DependentOn'])(_0x54ba21[_0x500950(0x446)],_0x35ef0a['UniverCollaborationPlugin'],_0x25f3fb[_0x500950(0x501)]),_0x42aff9(0x1,_0x2fb456[_0x500950(0x2ab)]),_0x42aff9(0x2,(0x0,_0x2fb456['Inject'])(_0x2fb456[_0x500950(0x3e0)])),_0x42aff9(0x3,_0x2fb456[_0x500950(0x26a)])],_0x2e81a6),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x50e),{'enumerable':!0x0,'get':function(){return _0x20ee4d;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x37a),{'enumerable':!0x0,'get':function(){return _0x555165;}}),Object['defineProperty'](_0x1d11dd,'AwaitingWithPendingState',{'enumerable':!0x0,'get':function(){return _0x22a444;}}),_0x1d11dd[_0x500950(0x321)]=_0x5445c5,Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x3f9),{'enumerable':!0x0,'get':function(){return _0x319e42;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x269),{'enumerable':!0x0,'get':function(){return _0x575020;}}),Object['defineProperty'](_0x1d11dd,_0x500950(0x318),{'enumerable':!0x0,'get':function(){return _0x373cd0;}}),Object[_0x500950(0x28f)](_0x1d11dd,'CollaborationSession',{'enumerable':!0x0,'get':function(){return _0x4e1b56;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x411),{'enumerable':!0x0,'get':function(){return _0x1c0f7b;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x2ec),{'enumerable':!0x0,'get':function(){return _0x5700f0;}}),_0x1d11dd[_0x500950(0x2cf)]=_0x243dc1,_0x1d11dd['CollaborationUIEventId']=_0x3221f8,_0x1d11dd[_0x500950(0x2e4)]=_0x4cb1da,Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x3a6),{'enumerable':!0x0,'get':function(){return _0x22469f;}}),_0x1d11dd[_0x500950(0x21f)]=_0x732d06,Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x472),{'enumerable':!0x0,'get':function(){return _0xf626e2;}}),_0x1d11dd['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x551362,_0x1d11dd[_0x500950(0x327)]=_0x500950(0x4f4),_0x1d11dd['DEFAULT_WS_SESSION_TICKET_URL']=_0x500950(0x392),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x3fb),{'enumerable':!0x0,'get':function(){return _0x47d8bf;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x22c),{'enumerable':!0x0,'get':function(){return _0x2f2fd7;}}),Object[_0x500950(0x28f)](_0x1d11dd,'FetchingMissState',{'enumerable':!0x0,'get':function(){return _0x1a096a;}}),_0x1d11dd['HEARTBEAT_INTERVAL_KEY']=_0x500950(0x461),_0x1d11dd[_0x500950(0x3d9)]=_0x500950(0x3d2),_0x1d11dd[_0x500950(0x1e9)]=_0xdc50bf,_0x1d11dd[_0x500950(0x25d)]=_0x3d2740,_0x1d11dd[_0x500950(0x4b8)]=_0x1efe11,_0x1d11dd[_0x500950(0x2c3)]=_0x129fb8,_0x1d11dd[_0x500950(0x242)]=0x3e8,_0x1d11dd[_0x500950(0x33f)]='LOCAL_CACHE_INTERVAL',Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x36f),{'enumerable':!0x0,'get':function(){return _0xe1c77b;}}),Object['defineProperty'](_0x1d11dd,_0x500950(0x28c),{'enumerable':!0x0,'get':function(){return _0x33dc04;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x288),{'enumerable':!0x0,'get':function(){return _0x457aa2;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x440),{'enumerable':!0x0,'get':function(){return _0x59f2bd;}}),_0x1d11dd[_0x500950(0x4d8)]=_0x500950(0x3b9),_0x1d11dd[_0x500950(0x4c4)]='RETRY_CONNECTING_MAX_COUNT',_0x1d11dd[_0x500950(0x355)]=_0x486856,Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x3c1),{'enumerable':!0x0,'get':function(){return _0x19f82b;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x42d),{'enumerable':!0x0,'get':function(){return _0x324b61;}}),Object['defineProperty'](_0x1d11dd,_0x500950(0x3cb),{'enumerable':!0x0,'get':function(){return _0x349b8a;}}),Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x500),{'enumerable':!0x0,'get':function(){return _0x421172;}}),_0x1d11dd[_0x500950(0x27e)]=_0x3886c4,Object[_0x500950(0x28f)](_0x1d11dd,_0x500950(0x353),{'enumerable':!0x0,'get':function(){return _0x2e81a6;}}),_0x1d11dd[_0x500950(0x4ed)]=_0x5c7426,_0x1d11dd[_0x500950(0x264)]=_0x1bd9d1,_0x1d11dd['serializeCombRequest']=_0x5e22c3;}));
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x1786(_0x42ac8b,_0x442bad){_0x42ac8b=_0x42ac8b-0x1b3;const _0x465f91=_0x465f();let _0x178653=_0x465f91[_0x42ac8b];return _0x178653;}function _0x465f(){const _0x574421=['CollaborationStatusChanged','FCollaboration','getUnitId','rxjs','subscribeCollaborators','71BIXsFO','from','get','status','length','loadUnit','exports','values','@univerjs-pro/collaboration-client','85NDSxsg','FEnum','members$','_snapshotService','toDisposable','460350LVDAhT','loadServerUnit','loadSheet','7381680aQrXfE','_collaborationController','DisposableCollection','function','amd','CollaborationController','unitID','fireEvent','loadSheetAsync','UniverProCollaborationClientFacade','FEventName','createInstance','loadActiveSheetAsync','object','UniverCoreFacade','readyForCollab','_univerInstanceService','Inject','SnapshotService','2314602caHyKQ','@univerjs/core/facade','_injector','entityInit$','NOT_COLLAB','FBase','FUniver','subscribe','@univerjs-pro/collaboration','Event','getOwnPropertyDescriptor','defineProperty','loadUnitOfRevision','Module','24YmZqEx','_handler','Injector','380429fGArEb','2260EGDVac','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','switchMap','IUniverInstanceService','waitForRoom$','DataLoaderService','5558SAUZcK','add','getCollaboration','1220124rQupYu','extend','decorate','CollaborationStatus','loadServerUnitOfRevision','MemberService','getFocusedUnit','getUniverSheet','state'];_0x465f=function(){return _0x574421;};return _0x465f();}(function(_0x588cef,_0x551514){const _0x1be84f=_0x1786,_0x1753c0=_0x588cef();while(!![]){try{const _0x37e259=parseInt(_0x1be84f(0x1fa))/0x1*(parseInt(_0x1be84f(0x1e9))/0x2)+-parseInt(_0x1be84f(0x1bb))/0x3+parseInt(_0x1be84f(0x1e3))/0x4*(-parseInt(_0x1be84f(0x1b6))/0x5)+-parseInt(_0x1be84f(0x1ec))/0x6+-parseInt(_0x1be84f(0x1e2))/0x7*(parseInt(_0x1be84f(0x1df))/0x8)+-parseInt(_0x1be84f(0x1d1))/0x9+parseInt(_0x1be84f(0x1be))/0xa;if(_0x37e259===_0x551514)break;else _0x1753c0['push'](_0x1753c0['shift']());}catch(_0x4e8225){_0x1753c0['push'](_0x1753c0['shift']());}}}(_0x465f,0x24571),function(_0x3e96c0,_0x5e67b3){const _0x1bb46c=_0x1786;typeof exports==_0x1bb46c(0x1cb)&&typeof module<'u'?_0x5e67b3(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define==_0x1bb46c(0x1c1)&&define[_0x1bb46c(0x1c2)]?define([_0x1bb46c(0x1b3),_0x1bb46c(0x1b5),_0x1bb46c(0x1d2),'@univerjs/core',_0x1bb46c(0x1d9),'rxjs'],_0x5e67b3):(_0x3e96c0=typeof globalThis<'u'?globalThis:_0x3e96c0||self,_0x5e67b3(_0x3e96c0[_0x1bb46c(0x1c7)]={},_0x3e96c0['UniverProCollaborationClient'],_0x3e96c0[_0x1bb46c(0x1cc)],_0x3e96c0['UniverCore'],_0x3e96c0['UniverProCollaboration'],_0x3e96c0[_0x1bb46c(0x1f8)]));}(this,function(_0x2ae065,_0x21c4b2,_0x2ada40,_0x6da4ff,_0x5a386d,_0x5930bc){const _0x4d33f7=_0x1786;Object['defineProperty'](_0x2ae065,Symbol['toStringTag'],{'value':_0x4d33f7(0x1de)});var _0x5b379d=class extends _0x2ada40['FEnum']{get['CollaborationStatus'](){const _0x403540=_0x4d33f7;return _0x21c4b2[_0x403540(0x1ef)];}};_0x2ada40[_0x4d33f7(0x1b7)][_0x4d33f7(0x1ed)](_0x5b379d);var _0x10e2a9=class extends _0x2ada40['FEventName']{get[_0x4d33f7(0x1f5)](){const _0x5d6328=_0x4d33f7;return _0x5d6328(0x1f5);}};_0x2ada40[_0x4d33f7(0x1c8)][_0x4d33f7(0x1ed)](_0x10e2a9);function _0x39c035(_0x2d58bb,_0x21511e){return function(_0xa3f24d,_0x401f36){_0x21511e(_0xa3f24d,_0x401f36,_0x2d58bb);};}function _0x48052d(_0x86cb5d,_0x2902d5,_0x5e7906,_0x5aa581){const _0x34da51=_0x4d33f7;var _0x3d786e=arguments[_0x34da51(0x1fe)],_0x3d1e=_0x3d786e<0x3?_0x2902d5:_0x5aa581===null?_0x5aa581=Object[_0x34da51(0x1db)](_0x2902d5,_0x5e7906):_0x5aa581,_0x2e1e97;if(typeof Reflect==_0x34da51(0x1cb)&&typeof Reflect[_0x34da51(0x1ee)]==_0x34da51(0x1c1))_0x3d1e=Reflect['decorate'](_0x86cb5d,_0x2902d5,_0x5e7906,_0x5aa581);else{for(var _0x5003e1=_0x86cb5d[_0x34da51(0x1fe)]-0x1;_0x5003e1>=0x0;_0x5003e1--)(_0x2e1e97=_0x86cb5d[_0x5003e1])&&(_0x3d1e=(_0x3d786e<0x3?_0x2e1e97(_0x3d1e):_0x3d786e>0x3?_0x2e1e97(_0x2902d5,_0x5e7906,_0x3d1e):_0x2e1e97(_0x2902d5,_0x5e7906))||_0x3d1e);}return _0x3d786e>0x3&&_0x3d1e&&Object['defineProperty'](_0x2902d5,_0x5e7906,_0x3d1e),_0x3d1e;}let _0x727f90=class extends _0x2ada40[_0x4d33f7(0x1d6)]{constructor(_0x3a9287,_0x18db48,_0x33b5e7,_0x5b6b0a,_0x5920a9){const _0x20cd0b=_0x4d33f7;super(),this[_0x20cd0b(0x1e0)]=_0x3a9287,this[_0x20cd0b(0x1d3)]=_0x18db48,this['_univerInstanceService']=_0x33b5e7,this[_0x20cd0b(0x1b9)]=_0x5b6b0a,this['_collaborationController']=_0x5920a9;}async['loadActiveSheet'](){const _0x17fe6e=_0x4d33f7;return this[_0x17fe6e(0x1ca)]();}async[_0x4d33f7(0x1ca)](){const _0x2ee707=_0x4d33f7;throw Error(_0x2ee707(0x1e4));}async[_0x4d33f7(0x1bd)](_0xb96f53){const _0x56cda4=_0x4d33f7;return this[_0x56cda4(0x1c6)](_0xb96f53);}async[_0x4d33f7(0x1c6)](_0x2055b6,_0x4d262d){const _0x83ccad=_0x4d33f7;return await this[_0x83ccad(0x1b9)][_0x83ccad(0x1bd)](_0x2055b6,0x0,_0x4d262d)?(await this[_0x83ccad(0x1bf)][_0x83ccad(0x1cd)](_0x2055b6),this[_0x83ccad(0x1e0)][_0x83ccad(0x1f3)](_0x2055b6)):null;}[_0x4d33f7(0x1f9)](_0x4453e7,_0x58e132){const _0x5b1ae8=_0x4d33f7;return(0x0,_0x6da4ff[_0x5b1ae8(0x1ba)])(this['_injector'][_0x5b1ae8(0x1fc)](_0x21c4b2[_0x5b1ae8(0x1f1)])[_0x5b1ae8(0x1e7)](_0x4453e7)['pipe']((0x0,_0x5930bc[_0x5b1ae8(0x1e5)])(_0x3479bd=>_0x3479bd[_0x5b1ae8(0x1b8)]))[_0x5b1ae8(0x1d8)](_0x24f2e4=>_0x58e132(Array[_0x5b1ae8(0x1fb)](_0x24f2e4[_0x5b1ae8(0x1b4)]()))));}['getCollaborationStatus'](_0x50be58){const _0x2ab72f=_0x4d33f7;var _0x2ec159;let _0x3116f3;if(_0x50be58)_0x3116f3=_0x50be58;else{let _0x40f2df=this[_0x2ab72f(0x1ce)][_0x2ab72f(0x1f2)]();_0x3116f3=_0x40f2df==null?void 0x0:_0x40f2df[_0x2ab72f(0x1f7)]();}if(!_0x3116f3)return _0x21c4b2[_0x2ab72f(0x1ef)][_0x2ab72f(0x1d5)];let _0x5ab197=this['_collaborationController']['getCollabEntity'](_0x3116f3);return(_0x2ec159=_0x5ab197==null?void 0x0:_0x5ab197[_0x2ab72f(0x1f4)][_0x2ab72f(0x1fd)])==null?_0x21c4b2['CollaborationStatus'][_0x2ab72f(0x1d5)]:_0x2ec159;}};_0x727f90=_0x48052d([_0x39c035(0x1,(0x0,_0x6da4ff['Inject'])(_0x6da4ff[_0x4d33f7(0x1e1)])),_0x39c035(0x2,_0x6da4ff[_0x4d33f7(0x1e6)]),_0x39c035(0x3,(0x0,_0x6da4ff[_0x4d33f7(0x1cf)])(_0x5a386d[_0x4d33f7(0x1d0)])),_0x39c035(0x4,(0x0,_0x6da4ff[_0x4d33f7(0x1cf)])(_0x21c4b2[_0x4d33f7(0x1c3)]))],_0x727f90);var _0x5da8ef=class extends _0x2ada40[_0x4d33f7(0x1d7)]{['_initialize'](_0x4a806d){const _0x193153=_0x4d33f7;let _0x4ff669=_0x4a806d[_0x193153(0x1fc)](_0x21c4b2['CollaborationController']);this['disposeWithMe'](this['registerEventHandler'](this[_0x193153(0x1da)][_0x193153(0x1f5)],()=>{const _0x5601fb=_0x193153;let _0x1d4079=new _0x6da4ff[(_0x5601fb(0x1c0))](),_0x13c898=_0x4ff669[_0x5601fb(0x1d4)][_0x5601fb(0x1d8)](_0x542b86=>{const _0x4ee6e0=_0x5601fb;let _0x34621e=_0x542b86['status$']['subscribe'](_0x134dd1=>{const _0x5a085c=_0x1786;let _0x153e69={'unitId':_0x542b86[_0x5a085c(0x1c4)],'status':_0x134dd1};this[_0x5a085c(0x1c5)](this[_0x5a085c(0x1da)][_0x5a085c(0x1f5)],_0x153e69);});_0x1d4079[_0x4ee6e0(0x1ea)]((0x0,_0x6da4ff[_0x4ee6e0(0x1ba)])(_0x34621e));});return _0x1d4079['add']((0x0,_0x6da4ff['toDisposable'])(_0x13c898)),_0x1d4079;}));}[_0x4d33f7(0x1eb)](){const _0x2433e3=_0x4d33f7;return this[_0x2433e3(0x1d3)][_0x2433e3(0x1c9)](_0x727f90,{'getUniverSheet':_0x128374=>this[_0x2433e3(0x1f3)](_0x128374)});}[_0x4d33f7(0x1bc)](_0x3ddfd3,_0x4bd757,_0xb4605b){const _0x539e41=_0x4d33f7;return this['_injector']['get'](_0x21c4b2['DataLoaderService'])[_0x539e41(0x1ff)](_0x3ddfd3,_0x4bd757,_0xb4605b);}[_0x4d33f7(0x1f0)](_0x55cdb5,_0x48689a,_0x1f223f){const _0x6bf600=_0x4d33f7;return this[_0x6bf600(0x1d3)][_0x6bf600(0x1fc)](_0x21c4b2[_0x6bf600(0x1e8)])[_0x6bf600(0x1dd)](_0x55cdb5,_0x48689a,_0x1f223f);}};_0x2ada40[_0x4d33f7(0x1d7)][_0x4d33f7(0x1ed)](_0x5da8ef),Object[_0x4d33f7(0x1dc)](_0x2ae065,_0x4d33f7(0x1f6),{'enumerable':!0x0,'get':function(){return _0x727f90;}});}));
5
+ (function(_0xfe0e3f,_0x2c6af1){const _0x1c6e78=_0x2ce4,_0x45569f=_0xfe0e3f();while(!![]){try{const _0xb9513b=-parseInt(_0x1c6e78(0x1aa))/0x1+-parseInt(_0x1c6e78(0x1ad))/0x2*(parseInt(_0x1c6e78(0x1b6))/0x3)+-parseInt(_0x1c6e78(0x1d3))/0x4+parseInt(_0x1c6e78(0x1db))/0x5*(parseInt(_0x1c6e78(0x1dd))/0x6)+parseInt(_0x1c6e78(0x1eb))/0x7+parseInt(_0x1c6e78(0x1ca))/0x8*(parseInt(_0x1c6e78(0x1e9))/0x9)+-parseInt(_0x1c6e78(0x1c8))/0xa*(-parseInt(_0x1c6e78(0x1e1))/0xb);if(_0xb9513b===_0x2c6af1)break;else _0x45569f['push'](_0x45569f['shift']());}catch(_0x59167e){_0x45569f['push'](_0x45569f['shift']());}}}(_0x4b8d,0x20054),function(_0x117ff1,_0xbd935c){const _0x291563=_0x2ce4;typeof exports=='object'&&typeof module<'u'?_0xbd935c(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define==_0x291563(0x1c3)&&define[_0x291563(0x1d6)]?define([_0x291563(0x1b9),_0x291563(0x1e8),_0x291563(0x1df),'@univerjs/core',_0x291563(0x1ef),'rxjs'],_0xbd935c):(_0x117ff1=typeof globalThis<'u'?globalThis:_0x117ff1||self,_0xbd935c(_0x117ff1[_0x291563(0x1ce)]={},_0x117ff1[_0x291563(0x1d9)],_0x117ff1[_0x291563(0x1d8)],_0x117ff1[_0x291563(0x1d7)],_0x117ff1['UniverProCollaboration'],_0x117ff1[_0x291563(0x1b1)]));}(this,function(_0x2ce02c,_0xc607a3,_0x47990d,_0x214ad3,_0x4c15a3,_0x149906){const _0x3ee700=_0x2ce4;Object[_0x3ee700(0x1bb)](_0x2ce02c,Symbol[_0x3ee700(0x1b0)],{'value':'Module'});var _0x1f0f03=class extends _0x47990d[_0x3ee700(0x1e6)]{get[_0x3ee700(0x1c6)](){const _0x886f5f=_0x3ee700;return _0xc607a3[_0x886f5f(0x1c6)];}};_0x47990d[_0x3ee700(0x1e6)][_0x3ee700(0x1e3)](_0x1f0f03);var _0x5b65fc=class extends _0x47990d[_0x3ee700(0x1c1)]{get[_0x3ee700(0x1d5)](){const _0x3b2e78=_0x3ee700;return _0x3b2e78(0x1d5);}};_0x47990d[_0x3ee700(0x1c1)][_0x3ee700(0x1e3)](_0x5b65fc);function _0x591b4f(_0x25f38e,_0x8bd01){return function(_0x32eb7c,_0x32fd4d){_0x8bd01(_0x32eb7c,_0x32fd4d,_0x25f38e);};}function _0x20ddd6(_0x3cc66d,_0x18e7b0,_0x213fdd,_0x8d1bdb){const _0x3259e7=_0x3ee700;var _0x59d3ed=arguments[_0x3259e7(0x1bf)],_0x1946a5=_0x59d3ed<0x3?_0x18e7b0:_0x8d1bdb===null?_0x8d1bdb=Object[_0x3259e7(0x1ba)](_0x18e7b0,_0x213fdd):_0x8d1bdb,_0xb035e0;if(typeof Reflect==_0x3259e7(0x1c7)&&typeof Reflect[_0x3259e7(0x1ed)]==_0x3259e7(0x1c3))_0x1946a5=Reflect[_0x3259e7(0x1ed)](_0x3cc66d,_0x18e7b0,_0x213fdd,_0x8d1bdb);else{for(var _0x3ad2bc=_0x3cc66d[_0x3259e7(0x1bf)]-0x1;_0x3ad2bc>=0x0;_0x3ad2bc--)(_0xb035e0=_0x3cc66d[_0x3ad2bc])&&(_0x1946a5=(_0x59d3ed<0x3?_0xb035e0(_0x1946a5):_0x59d3ed>0x3?_0xb035e0(_0x18e7b0,_0x213fdd,_0x1946a5):_0xb035e0(_0x18e7b0,_0x213fdd))||_0x1946a5);}return _0x59d3ed>0x3&&_0x1946a5&&Object[_0x3259e7(0x1bb)](_0x18e7b0,_0x213fdd,_0x1946a5),_0x1946a5;}let _0x44cc00=class extends _0x47990d[_0x3ee700(0x1ac)]{constructor(_0x42e8a,_0x297711,_0x1b3ad1,_0x47d3fd,_0x10b41d){const _0x333be5=_0x3ee700;super(),this[_0x333be5(0x1d0)]=_0x42e8a,this[_0x333be5(0x1e7)]=_0x297711,this[_0x333be5(0x1a3)]=_0x1b3ad1,this[_0x333be5(0x1c2)]=_0x47d3fd,this[_0x333be5(0x1d4)]=_0x10b41d;}async[_0x3ee700(0x1cb)](){return this['loadActiveSheetAsync']();}async[_0x3ee700(0x1bd)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x3ee700(0x1dc)](_0x489268){const _0x39a232=_0x3ee700;return this[_0x39a232(0x1f1)](_0x489268);}async[_0x3ee700(0x1f1)](_0x3551d4,_0x1383e2){const _0x3e8746=_0x3ee700;return await this[_0x3e8746(0x1c2)][_0x3e8746(0x1dc)](_0x3551d4,0x0,_0x1383e2)?(await this[_0x3e8746(0x1d4)]['readyForCollab'](_0x3551d4),this[_0x3e8746(0x1d0)][_0x3e8746(0x1cd)](_0x3551d4)):null;}[_0x3ee700(0x1e5)](_0x3ae663,_0x56e431){const _0x3f3802=_0x3ee700;return(0x0,_0x214ad3[_0x3f3802(0x1a7)])(this[_0x3f3802(0x1e7)][_0x3f3802(0x1b8)](_0xc607a3['MemberService'])[_0x3f3802(0x1a6)](_0x3ae663)[_0x3f3802(0x1a8)]((0x0,_0x149906[_0x3f3802(0x1c0)])(_0x1269f9=>_0x1269f9[_0x3f3802(0x1bc)]))[_0x3f3802(0x1a4)](_0x32f358=>_0x56e431(Array[_0x3f3802(0x1b2)](_0x32f358[_0x3f3802(0x1b3)]()))));}[_0x3ee700(0x1d2)](_0x2cfcf1){const _0x4851d5=_0x3ee700;var _0x134ea8;let _0x45935e;if(_0x2cfcf1)_0x45935e=_0x2cfcf1;else{let _0x17cdb1=this['_univerInstanceService'][_0x4851d5(0x1a9)]();_0x45935e=_0x17cdb1==null?void 0x0:_0x17cdb1[_0x4851d5(0x1de)]();}if(!_0x45935e)return _0xc607a3[_0x4851d5(0x1c6)][_0x4851d5(0x1cf)];let _0x327965=this[_0x4851d5(0x1d4)][_0x4851d5(0x1ee)](_0x45935e);return(_0x134ea8=_0x327965==null?void 0x0:_0x327965[_0x4851d5(0x1c9)][_0x4851d5(0x1c4)])==null?_0xc607a3[_0x4851d5(0x1c6)][_0x4851d5(0x1cf)]:_0x134ea8;}};_0x44cc00=_0x20ddd6([_0x591b4f(0x1,(0x0,_0x214ad3[_0x3ee700(0x1af)])(_0x214ad3[_0x3ee700(0x1e2)])),_0x591b4f(0x2,_0x214ad3['IUniverInstanceService']),_0x591b4f(0x3,(0x0,_0x214ad3[_0x3ee700(0x1af)])(_0x4c15a3[_0x3ee700(0x1b7)])),_0x591b4f(0x4,(0x0,_0x214ad3['Inject'])(_0xc607a3[_0x3ee700(0x1ab)]))],_0x44cc00);var _0x416abb=class extends _0x47990d[_0x3ee700(0x1a5)]{['_initialize'](_0x2f842a){const _0x195d7f=_0x3ee700;let _0x1523ed=_0x2f842a[_0x195d7f(0x1b8)](_0xc607a3[_0x195d7f(0x1ab)]);this[_0x195d7f(0x1f2)](this['registerEventHandler'](this[_0x195d7f(0x1e4)][_0x195d7f(0x1d5)],()=>{const _0xfe19c3=_0x195d7f;let _0x1cbd46=new _0x214ad3[(_0xfe19c3(0x1b5))](),_0x375ae7=_0x1523ed[_0xfe19c3(0x1b4)]['subscribe'](_0x12f25e=>{const _0x4454e7=_0xfe19c3;let _0x33bab4=_0x12f25e[_0x4454e7(0x1ae)][_0x4454e7(0x1a4)](_0x10205c=>{const _0x34d31b=_0x4454e7;let _0x457249={'unitId':_0x12f25e[_0x34d31b(0x1e0)],'status':_0x10205c};this[_0x34d31b(0x1f0)](this['Event']['CollaborationStatusChanged'],_0x457249);});_0x1cbd46[_0x4454e7(0x1ec)]((0x0,_0x214ad3['toDisposable'])(_0x33bab4));});return _0x1cbd46[_0xfe19c3(0x1ec)]((0x0,_0x214ad3[_0xfe19c3(0x1a7)])(_0x375ae7)),_0x1cbd46;}));}[_0x3ee700(0x1be)](){const _0x29b3ed=_0x3ee700;return this[_0x29b3ed(0x1e7)]['createInstance'](_0x44cc00,{'getUniverSheet':_0x4bfc19=>this[_0x29b3ed(0x1cd)](_0x4bfc19)});}[_0x3ee700(0x1c5)](_0x1186c9,_0x413aed,_0x114dbd){const _0xb95bb4=_0x3ee700;return this[_0xb95bb4(0x1e7)]['get'](_0xc607a3[_0xb95bb4(0x1da)])[_0xb95bb4(0x1cc)](_0x1186c9,_0x413aed,_0x114dbd);}[_0x3ee700(0x1d1)](_0x3de0d3,_0x200173,_0x3a67ce){const _0x6cbdf7=_0x3ee700;return this[_0x6cbdf7(0x1e7)]['get'](_0xc607a3[_0x6cbdf7(0x1da)])['loadUnitOfRevision'](_0x3de0d3,_0x200173,_0x3a67ce);}};_0x47990d[_0x3ee700(0x1a5)]['extend'](_0x416abb),Object['defineProperty'](_0x2ce02c,_0x3ee700(0x1ea),{'enumerable':!0x0,'get':function(){return _0x44cc00;}});}));function _0x2ce4(_0x13c388,_0x72250e){_0x13c388=_0x13c388-0x1a3;const _0x4b8db2=_0x4b8d();let _0x2ce43d=_0x4b8db2[_0x13c388];return _0x2ce43d;}function _0x4b8d(){const _0x9e4a1a=['loadActiveSheetAsync','getCollaboration','length','switchMap','FEventName','_snapshotService','function','status','loadServerUnit','CollaborationStatus','object','170yYJyzV','state','2656akttoe','loadActiveSheet','loadUnit','getUniverSheet','UniverProCollaborationClientFacade','NOT_COLLAB','_handler','loadServerUnitOfRevision','getCollaborationStatus','992688qbxWWN','_collaborationController','CollaborationStatusChanged','amd','UniverCore','UniverCoreFacade','UniverProCollaborationClient','DataLoaderService','287485lPzYXY','loadSheet','12YNFtvJ','getUnitId','@univerjs/core/facade','unitID','105666EtjJoG','Injector','extend','Event','subscribeCollaborators','FEnum','_injector','@univerjs-pro/collaboration-client','3231QztbGp','FCollaboration','797118upFrQg','add','decorate','getCollabEntity','@univerjs-pro/collaboration','fireEvent','loadSheetAsync','disposeWithMe','_univerInstanceService','subscribe','FUniver','waitForRoom$','toDisposable','pipe','getFocusedUnit','5533RLzJEw','CollaborationController','FBase','36142uURjXB','status$','Inject','toStringTag','rxjs','from','values','entityInit$','DisposableCollection','21utBheG','SnapshotService','get','exports','getOwnPropertyDescriptor','defineProperty','members$'];_0x4b8d=function(){return _0x9e4a1a;};return _0x4b8d();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x1170(){const _0x378a22=['unitId','getColor','min','RxDisposable','WebSocketService','UniverSheets','RichTextEditingMutation','_configService','size','UNIVER_SHEET','_removeCollabCursors','addObject','key','m1Prime','resize','result','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','engine','1em','rgba(255,\x20255,\x20255,\x200.01)','UniverSheetsUi','_renderManagerService','replaceDocRanges','getTypeOfUnitDisposed$','/universer-api/license/formula/limit/start','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','eventID','MessageType','drawWith','_initCommandExecutedListener','off-line-icon_clip0_910_343','jsx','Rectangle','roomMembers$','mask','join','ErrorCode','UniverNetwork','UniverProtocol','handleInsertRangeMoveDown','Success','status$','textRanges','collaboration.closeRoom','_blinkIntervalTimer','evenodd','prototype','setTimeout','SYNCED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','fromEventSubject','getActiveRange','addObjects','_assignedColors','on-line-icon_clip0_910_349','isTransformMutationFailure','createInstance','_updateSubUnitFromURLParams','saveOfflineData','PERMISSION_DENIED','_getAnchorBounding','_monkeyPatchLogService','path','requireSession','ONLINE','_startDocCollabCursor','_collabCursorState$','_colorIndex','UniverCollaborationClientPlugin','getSheetObject','maxFormulaLimit','createElement','_entityInit$','ranges','Disposable','subUnitId','searchParams','_refreshCollabCursors','[Window\x20Error]:\x20','0.21.0','toRgbString','_getSheetObject','registerBeforeClose','popstate','moveTo','forwardRef','iterator','_notificationService','_toggleOnline','on-line-icon','isActive','_updateLocalCursor','_anchor','selection','_getLighterColor','location','replace','debug','univer-h-8\x20univer-w-8\x20univer-rounded-lg','InsertRangeMoveRightCommandId','_stopBlinking','/universer-api/license/formula/limit/status','unload','black','setUndoRedoMutationParamsCache','3YPMfgM','getCurrentUnitForType','\x20at\x20','_handleEvent','DataLoaderService','has','getParam','replaceState','defs','focused$','_setFormulaLimitStatus','restore','_drawAnchor','show','_color','post','handleIRemoveRow','_onCursorDelete','random','LEAVE','substring','_initResize','Inactive','currentSkeleton$','_document','transform','debounce','stringify','UniverProCollaboration','AWAITING_WITH_PENDING','forEach','SheetsSelectionsService','code','split','call','FormulaExecuteStageType','Injector','memberID','_context','_online','setShapeProps','i18nKey','red.300','_revisionService','getUnitStatus$','OTHER_CLIENTS_EDITING','_removeClearOtherTimer','_maxFormulaLimit','dispose$','onStarting','collabStatus.offline','@univerjs/protocol','_initUnhandledRejectionListener','_initCommandInterceptor','loadUnit','onCommandExecuted','length','transformMutation','_startCalculationLimit','init','_localCacheService','green.600','map','string','780gpdRRC','@univerjs-pro/collaboration-client','url(#on-line-icon_clip0_910_349)','round','_initEvent','top','_pollingInterval','ILocalCacheService','_highlight','SetSelectionsOperation','xlink:href','LOCAL_CACHE_INTERVAL_KEY','setItem','undoState','\x20-\x20','type','tag','filter','version','_commandService','constructor','toPrimitive','stage','useRef','switchMap','_heartbeatTimer','SOCKET_FAILED','@univerjs/drawing','_shapes','unsubscribe','_toggleOffline','currentTheme$','getUniverSheetInstance','transformStateCache','Active','_logService','391844abOGYV','getDocRanges','getOwnPropertyDescriptor','UniverCore','Module','Inject','_collaborationUIEventService','data','univer-border-none\x20univer-bg-transparent','session.collaboration-timeout','InsertRowCommandId','removeEventListener','storage','_releaseCalculationLimit','hide','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_collaborationController','runId','collabStatus.fetchMiss','startsWith','_themeService','_disabled','USERS_LEAVE','Shape','sessionTicket','UniverProCollaborationClient','some','IRenderManagerService','getMember','_labelPosition','SheetCollabCursorShape','_taskIds','_saveCache','editingUnit','_registerDependencies','takeUntil','_createSocketURL','_getSaveTimeout','_config','event$','_cursors','_name','assignAColorForMemberID','functionsExecutedState','merge','?taskId=','getRenderById','bottom','unhandledrejection','exports','UniverCollaborationClientUIPlugin','shift','pushState','RemoteUniscriptService','runOnServer','_transformService','FromArray','collab-text-range-','packageName','colorClass','_hovered','rgb','preventDefault','get','getCellMatrix','startRow','useObservable','_scheduleHeartbeat','transformMutationsWithChangeset','_initEntityListener','lineTo','SetFormulaCalculationStartMutation','INotificationService','values','entityInit$','error','UniverEngineFormula','createSocket','UnitStatus','0.2)','clipPath','amd','IRemoteInstanceService','CollaborationSessionService','univer-text-orange-500','attrs','DeleteRangeMoveLeftCommandId','OnLineIcon','http://www.w3.org/2000/svg','isTransformMutationsWithChangesetSuccess','_docClipboardService','m2Prime','_handleHover','/universer-api/frontend/logs','useMemo','_unitStatus','fromEvent','labelPosition','getVpScrollXYInfoByPosToVp','_transformHistoryAndStateStack','_highlightSecond','collabStatus.syncing','limitInfo','white','_univerInstanceService','#0B9EFB','BehaviorSubject','releaseFormulaLimitUrl','translate(.97)','_memberID','univer-text-blue-500','width','SessionStatus','function','_messageService','hovered','_range','updateOfflineData','sessionStatus$','getRangePointData','whenReady','registerRefRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','add','div','includes','COLORS','6ExVLxz','...','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','_docTransformSelectionsService','_setupBeforeClosingHandler','connectInjector','DocStateChangeManagerService','startFormulaLimitUrl','getSheetId','BrowserCollaborationSocketService','3320MPDiAF','_isBlinkVisible','collaboration.offline-data-not-saved','CLOSE_ROOM','_instanceService','setActiveRange','unitID','serializeRangeWithSheet','InsertRangeMoveDownCommandId','name','reconnect','transformSelections','Error','syncEditingCollabCursor','DesktopCollaborationStatusDisplayController','RefRangeService','Workbook','_registerRenderDependencies','getSkeleton','_onRefRangeChange','getConfig','formula.calculation.started','SOCKET_FAILED_RETRY','shareReplay','decorate','_cursorShapes','_showGuardMessage','_anchorDot','loadOfflineData','enableFrontendLog','_showText','getFocusedUnit','docStateChange$','_offsetY','operators','ISocketService','DocSkeletonManagerService','wsSessionTicketUrl','_init','href','getAncestorScale','[RemoteUniscriptService]:\x20no\x20focused\x20unit','loading-multi-icon','backgroundColor','transformByState','purple.300','isArray','5408520mIddGV','_imageIoService','highlight','IMessageService','getRelativeToViewportCoord','mapTo','_blinkTimer','LOCAL_CACHE_INTERVAL','_startBlinking','closePath','sheetId','ThemeService','onLocalMutation','CollaborationController','getFormulaLimitStatusUrl','findNodePositionByCharIndex','getViewport','_onCursorUpdate','addEventListener','row','body','SetDocZoomRatioOperation','getItem','_sheetSkeletonManagerService','_docSyncEditingCollabCursorService','getStateCache','_lastPointer','history','HTTPService','jiqing.500','endRow','getCoordByCell','DocIMEInputManagerService','UniverProCollaborationClientUi','ITransformService','imageSourceType','RegularPolygon','subunit','_initDependencies','dispose','message','@univerjs/sheets','_textBubble','color','Failed','setInterval','_collabCursorController','_scheduleClearOtherTimer','session.will-retry','_unitOnClients','univerjs-icon\x20univerjs-icon-','CollaborationDataLoaderController','univer-text-green-500','CollaborationSocketService','lineno','default','_uiPartsService','_hover','_currentUsage','_clearPolling','Enter','isFormulaId','[Unhandled\x20Rejection]:\x20','_saveTaskMap','endColumn','_getSessionTicket','_scheduleSaving','OTHER_CLIENT_EDITING','roomMembers','DependentOn','highlightSecond','height','setParam','offsetY','SetWorksheetActivateCommand',',\x200.2)','push','distinctUntilChanged','combineLatest','_memberService','collabStatus.synced','set','currentColor','deepClone','0\x200\x2016\x2016','SUBMIT_CHANGESET_TIMEOUT','_handleJoinEvent','Tools','registerComponent','@univerjs/ui','_transformUndoRedoStack','filename','collab-client.tooltip.reconnect','_roomMembers$','CONFLICT','entries','univer-flex\x20univer-items-center\x20univer-justify-center','univer-text-red-500','NOT_COLLAB','totalFormulasToCalculate','UniverDocsUi','CollaborationEvent','PENDING','_docSkeletonManagerService','colorChannel1','spin','beginPath','exhaustSavingTask','save','all','asObservable','beforeCommandExecuted','_cursor','RemoveColCommandId','setAlpha','cursorInfo$','_clearOtherTimers','React','_id','_cachedData','6540940siLseu','FETCH_MISS','true','ILocalStorageService','_draw','yellow.400','_startSheetCollabCursor','10984784lqCUHX','EffectRefRangId','session.connection-failed','currentUsage','throttleTime','generateRandomId','parse','getUnhiddenWorksheets','getOffsetConfig','override','executionId','UniverDocs','_session','current','text','Unknown\x20user','217413WoMGzS','strokeWidth','_checkAndWaitForCalculationPermission','_docStateChangeManagerService','getColorFromTheme','_ensureSubject','RECT','svg','SetTextSelectionsOperation','@univerjs/core','getValue','AWAITING','IURLService','Loading','symbol','reason','toString','Warning','saveTaskMap','getUnit','params','_updateURLWithCurrentState','[CollaborationDataLoaderController]','redoState','onRendered','_entities','@univerjs/sheets-ui','M0\x200H16V16H0z','saveImage','_cursorInfo$','defineProperty','collabStatus.notCollab','_collabSessionService','fillRule','rgba(','urlChange$','stageInfo','clsx','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_applyCommand','setOffsetY','HEARTBEAT','UniverInstanceType','object','_send','univer-inline-flex\x20univer-items-center\x20univer-justify-center','Tooltip','_httpService','SHEET_VIEWPORT_KEY','IConfigService','BuiltInUIPart','slice','DocSelectionManagerService','indicator','children','ICommandService','_collaborationSessionService','getUnitId','getCollabEntity$','complete','deserializeRangeWithSheet','doc.mutation.rich-text-editing','rxjs','Rect','TEXT','range','ACTIVE_UNIT_EVENT_CHANNEL','collab-rect-range-','LocaleService','unshift','_refRangeService','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','unit','status','onPointerLeave$','SUCCESS','url(#$1','_lastResponseTimestamp','disposeWithMe','_getFormulaLimitStatus','handleIRemoveCol','clickable','delete','Vector2','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','_transformPreviousActiveRange','CollaborationUIEventId','_drawTextRange','getTypeOfUnitAdded$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','JOIN','search','TEXT_RANGE_LAYER_INDEX','Optional','JOIN_ROOM_FAILED','UniverRpc','_initWindowErrorListener','arc','span','@univerjs/docs-ui','measureText','parseInt','_initStatusListener','next','getSheetBySheetId','@univerjs-pro/collaboration-client-ui','pipe','[LogService\x20Error]:\x20','_status$','_backgroundColor','_urlService','fillText','collab-text-anchor-','#FFF','debounceTime','isEditing','CollaborationStatus','transformIMECache','useDependency','_selfUnitIDs','fill','clearInterval','touchDependencies','cursorInfo','mergeOverrideWithDependencies','UniverDrawing','mutations','SheetSkeletonManagerService','assign','handleDeleteRangeMoveLeft','triggerDblclick','IUIPartsService','now','UNIVER_DOC','UPDATE_CURSOR','handleMoveRange','column','DocCollaborationEntity','NO_OTHER_CLIENTS_EDITING','dirtyRanges','_initStatusComponent','displayName','WebBrowserSingleActiveUnitService','univer-m-0\x20univer-p-0','none','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','MemberService','polite','_localeService','transformRemoteChangeset','_docTransformStateCacheService','START_CALCULATION','formula.calculation.waiting','RevisionService','_updateCollabCursors','_getScale','_scene','ILogService','_initUserListener','_injector','InsertColCommandId','getUndoRedoMutationParamsCache','application/json','clearTimeout','getMemberID','1729211fueeNA','idSuffix','_uploadLog','_hasFormulaInDirtyRanges','handleDeleteRangeMoveUp','send','DOC_RANGE_TYPE','subscribeEvent','onPointerMove$','_getMergeRange','ISnapshotServerService','origin','_render','_eventUnsubscribe','handleInsertRow','_colorAssignService','stack','_drawRectRange','formula.calculation.unable','univer-appearance-none','then','use','useCallback','WebURLService','pluginName','onMouseMove','LoadingMultiIcon','fillStyle','_hideTimer','IUniverInstanceService','subscribe','with','_checkCalculationAvailable','newValue','static','catch','tooltipKey','_dataLoaderService','actions','registerDependencies','_handleHeartbeatEvent','executeCommand','@univerjs/rpc','_docTransformIMECacheService','rgba','@univerjs/docs','button'];_0x1170=function(){return _0x378a22;};return _0x1170();}function _0x3eb0(_0x35607c,_0x23c8bd){_0x35607c=_0x35607c-0xe1;const _0x117080=_0x1170();let _0x3eb0f0=_0x117080[_0x35607c];return _0x3eb0f0;}(function(_0x296b3b,_0x260d6e){const _0x2a6984=_0x3eb0,_0x4aced1=_0x296b3b();while(!![]){try{const _0x50422f=-parseInt(_0x2a6984(0x2c1))/0x1+-parseInt(_0x2a6984(0x3bd))/0x2*(parseInt(_0x2a6984(0x359))/0x3)+-parseInt(_0x2a6984(0x18d))/0x4+parseInt(_0x2a6984(0x15e))/0x5*(-parseInt(_0x2a6984(0x154))/0x6)+parseInt(_0x2a6984(0x205))/0x7+parseInt(_0x2a6984(0x20c))/0x8+parseInt(_0x2a6984(0x21c))/0x9*(parseInt(_0x2a6984(0x399))/0xa);if(_0x50422f===_0x260d6e)break;else _0x4aced1['push'](_0x4aced1['shift']());}catch(_0x435e9c){_0x4aced1['push'](_0x4aced1['shift']());}}}(_0x1170,0xdf1ad),function(_0x6306fa,_0x4882cc){const _0x58ff26=_0x3eb0;typeof exports=='object'&&typeof module<'u'?_0x4882cc(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),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`),require(`@univerjs/protocol`)):typeof define=='function'&&define[_0x58ff26(0x126)]?define([_0x58ff26(0x106),_0x58ff26(0x39a),_0x58ff26(0x225),_0x58ff26(0x1e6),_0x58ff26(0x25a),'@univerjs/design','react','react/jsx-runtime',_0x58ff26(0x2eb),_0x58ff26(0x1b6),'@univerjs/engine-render','@univerjs/network',_0x58ff26(0x27f),_0x58ff26(0x3b4),'@univerjs-pro/collaboration',_0x58ff26(0x2ee),'@univerjs/engine-formula','rxjs/operators',_0x58ff26(0x236),_0x58ff26(0x38c)],_0x4882cc):(_0x6306fa=typeof globalThis<'u'?globalThis:_0x6306fa||self,_0x4882cc(_0x6306fa[_0x58ff26(0x1ae)]={},_0x6306fa[_0x58ff26(0xee)],_0x6306fa[_0x58ff26(0x3c0)],_0x6306fa['UniverUi'],_0x6306fa['rxjs'],_0x6306fa['UniverDesign'],_0x6306fa[_0x58ff26(0x202)],_0x6306fa['React'],_0x6306fa[_0x58ff26(0x27b)],_0x6306fa[_0x58ff26(0x2f5)],_0x6306fa['UniverEngineRender'],_0x6306fa[_0x58ff26(0x315)],_0x6306fa[_0x58ff26(0x1f1)],_0x6306fa[_0x58ff26(0x299)],_0x6306fa[_0x58ff26(0x375)],_0x6306fa[_0x58ff26(0x217)],_0x6306fa[_0x58ff26(0x121)],_0x6306fa[_0x58ff26(0x25a)][_0x58ff26(0x180)],_0x6306fa[_0x58ff26(0x304)],_0x6306fa[_0x58ff26(0x316)]));}(this,function(_0x59af53,_0x5ba2ed,_0x3789e1,_0x28956d,_0x4a289e,_0x239455,_0x148fc0,_0x4f8cd5,_0x47f4ed,_0x5081db,_0x4b5cb2,_0x2ccad2,_0x4d692e,_0x5be687,_0x136fe4,_0x43a715,_0x12c154,_0x21659b,_0x35b411,_0x53e205){const _0x486c12=_0x3eb0;Object[_0x486c12(0x23a)](_0x59af53,Symbol['toStringTag'],{'value':_0x486c12(0x3c1)});function _0x412b8c({ref:_0x154f47,..._0x25e30b}){const _0xa16a68=_0x486c12;let {icon:_0x19d2e2,id:_0x5beaa6,className:_0x146bf8,extend:_0x1372c7,..._0xcd47e}=_0x25e30b,_0x5e1dab=(_0xa16a68(0x1bf)+_0x5beaa6+'\x20'+(_0x146bf8||''))['trim'](),_0x557b89=(0x0,_0x148fc0[_0xa16a68(0x3b0)])('_'+_0x4f713d());return _0x1d17e3(_0x19d2e2,''+_0x5beaa6,{'defIds':_0x19d2e2['defIds'],'idSuffix':_0x557b89[_0xa16a68(0x219)]},{'ref':_0x154f47,'className':_0x5e1dab,..._0xcd47e},_0x1372c7);}function _0x1d17e3(_0x48101e,_0x4fd882,_0x2d5cf1,_0x2b51e0,_0x79df68){const _0x4dfba9=_0x486c12;return(0x0,_0x148fc0[_0x4dfba9(0x337)])(_0x48101e[_0x4dfba9(0x3a9)],{'key':_0x4fd882,..._0x5dc3d1(_0x48101e,_0x2d5cf1,_0x79df68),..._0x2b51e0},(_0x1a2ec5(_0x48101e,_0x2d5cf1)[_0x4dfba9(0x252)]||[])[_0x4dfba9(0x397)]((_0x2c0f73,_0x20abe1)=>_0x1d17e3(_0x2c0f73,_0x4fd882+'-'+_0x48101e[_0x4dfba9(0x3a9)]+'-'+_0x20abe1,_0x2d5cf1,void 0x0,_0x79df68)));}function _0x5dc3d1(_0x53bb14,_0x42d6a3,_0x2ce14d){const _0x2d683a=_0x486c12;let _0x146a44={..._0x53bb14[_0x2d683a(0x12a)]};_0x2ce14d!=null&&_0x2ce14d[_0x2d683a(0x1f5)]&&_0x146a44['fill']===_0x2d683a(0x1f5)&&(_0x146a44[_0x2d683a(0x294)]=_0x2ce14d[_0x2d683a(0x1f5)]),_0x53bb14['tag']===_0x2d683a(0x312)&&_0x146a44['id']&&(_0x146a44['id']+=_0x42d6a3[_0x2d683a(0x2c2)]),Object[_0x2d683a(0x1ec)](_0x146a44)[_0x2d683a(0x377)](([_0xe7a392,_0x2ca131])=>{const _0x26c455=_0x2d683a;_0xe7a392==='mask'&&typeof _0x2ca131==_0x26c455(0x398)&&(_0x146a44[_0xe7a392]=_0x2ca131['replace'](/url\(#(.*)\)/,_0x26c455(0x268)+_0x42d6a3[_0x26c455(0x2c2)]+')'));});let {defIds:_0x1917b4}=_0x42d6a3;return!_0x1917b4||_0x1917b4[_0x2d683a(0x391)]===0x0?_0x146a44:(_0x53bb14[_0x2d683a(0x3a9)]===_0x2d683a(0x2d6)&&_0x146a44['xlink:href']&&(_0x146a44[_0x2d683a(0x3a3)]+=_0x42d6a3['idSuffix']),Object[_0x2d683a(0x1ec)](_0x146a44)[_0x2d683a(0x377)](([_0x54f5ab,_0x538ae7])=>{const _0x5301cc=_0x2d683a;typeof _0x538ae7==_0x5301cc(0x398)&&(_0x146a44[_0x54f5ab]=_0x538ae7[_0x5301cc(0x350)](/url\(#(.*)\)/,_0x5301cc(0x268)+_0x42d6a3['idSuffix']+')'));}),_0x146a44);}function _0x1a2ec5(_0x54de95,_0x58162d){const _0x845b84=_0x486c12;var _0x469d35;let {defIds:_0xf4bd05}=_0x58162d;return!_0xf4bd05||_0xf4bd05[_0x845b84(0x391)]===0x0?_0x54de95:_0x54de95[_0x845b84(0x3a9)]===_0x845b84(0x361)&&(_0x469d35=_0x54de95[_0x845b84(0x252)])!=null&&_0x469d35[_0x845b84(0x391)]?{..._0x54de95,'children':_0x54de95['children'][_0x845b84(0x397)](_0x2dd4ec=>typeof _0x2dd4ec[_0x845b84(0x12a)]['id']==_0x845b84(0x398)&&_0xf4bd05&&_0xf4bd05['includes'](_0x2dd4ec[_0x845b84(0x12a)]['id'])?{..._0x2dd4ec,'attrs':{..._0x2dd4ec[_0x845b84(0x12a)],'id':_0x2dd4ec[_0x845b84(0x12a)]['id']+_0x58162d[_0x845b84(0x2c2)]}}:_0x2dd4ec)}:_0x54de95;}function _0x4f713d(){const _0x31c3e4=_0x486c12;return Math[_0x31c3e4(0x36b)]()[_0x31c3e4(0x22c)](0x24)[_0x31c3e4(0x36d)](0x2,0x8);}_0x412b8c[_0x486c12(0x2a9)]='UniverIcon';let _0x2b3a9b={'tag':'svg','attrs':{'xmlns':_0x486c12(0x12d),'fill':_0x486c12(0x2ac),'viewBox':'0\x200\x2016\x2016','width':_0x486c12(0x302),'height':_0x486c12(0x302)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x486c12(0x32e),'attrs':{'stroke':_0x486c12(0x1df),'d':_0x486c12(0x2ad),'strokeLinecap':_0x486c12(0x39c),'strokeLinejoin':_0x486c12(0x39c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x486c12(0x30e)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13c),'d':_0x486c12(0x237)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x5bf108=(0x0,_0x148fc0[_0x486c12(0x345)])(function(_0x5ec82c,_0x5760eb){const _0x41540e=_0x486c12;return(0x0,_0x148fc0['createElement'])(_0x412b8c,Object[_0x41540e(0x29c)]({},_0x5ec82c,{'id':'off-line-icon','ref':_0x5760eb,'icon':_0x2b3a9b}));});_0x5bf108[_0x486c12(0x2a9)]='OffLineIcon';let _0x682c12={'tag':_0x486c12(0x223),'attrs':{'xmlns':_0x486c12(0x12d),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x486c12(0x302),'height':_0x486c12(0x302)},'children':[{'tag':'g','attrs':{'clipPath':_0x486c12(0x39b)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'stroke':_0x486c12(0x1df),'d':_0x486c12(0x300),'strokeLinecap':_0x486c12(0x39c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x486c12(0x361),'attrs':{},'children':[{'tag':_0x486c12(0x125),'attrs':{'id':_0x486c12(0x326)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13c),'d':_0x486c12(0x237),'transform':_0x486c12(0x141)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x19e81b=(0x0,_0x148fc0['forwardRef'])(function(_0x2ff1fe,_0x2fc17d){const _0x181945=_0x486c12;return(0x0,_0x148fc0[_0x181945(0x337)])(_0x412b8c,Object[_0x181945(0x29c)]({},_0x2ff1fe,{'id':_0x181945(0x349),'ref':_0x2fc17d,'icon':_0x682c12}));});_0x19e81b[_0x486c12(0x2a9)]=_0x486c12(0x12c);let _0x24b25b={'tag':_0x486c12(0x223),'attrs':{'xmlns':_0x486c12(0x12d),'fill':'none','viewBox':_0x486c12(0x1e1),'width':'1em','height':_0x486c12(0x302)},'children':[{'tag':'path','attrs':{'fill':_0x486c12(0x13e),'d':_0x486c12(0x156),'fillOpacity':0.2,'fillRule':_0x486c12(0x31d),'clipRule':_0x486c12(0x31d)}},{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13e),'d':'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','fillRule':_0x486c12(0x31d),'clipRule':'evenodd'}}]},_0x423b97=(0x0,_0x148fc0[_0x486c12(0x345)])(function(_0x49fb54,_0x4dce00){const _0xa107f6=_0x486c12;return(0x0,_0x148fc0['createElement'])(_0x412b8c,Object['assign']({},_0x49fb54,{'id':_0xa107f6(0x188),'ref':_0x4dce00,'icon':_0x24b25b}));});_0x423b97[_0x486c12(0x2a9)]=_0x486c12(0x2db);function _0x83fed(_0x3c8afd){const _0x48f29f=_0x486c12;switch(_0x3c8afd){case _0x5ba2ed[_0x48f29f(0x290)]['OFFLINE']:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x5bf108,{}),'colorClass':_0x48f29f(0x1ee),'i18nKey':_0x48f29f(0x38b),'tooltipKey':_0x48f29f(0x1e9),'clickable':!0x0,'indicator':_0x48f29f(0x2e3)};case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x1eb)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x5bf108,{}),'colorClass':_0x48f29f(0x129),'i18nKey':'collabStatus.conflict','clickable':!0x1,'indicator':_0x48f29f(0x2e3)};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x206)]:return{'icon':(0x0,_0x4f8cd5['jsx'])(_0x423b97,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x48f29f(0xe7),'clickable':!0x1,'indicator':_0x48f29f(0x1f6)};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x1ef)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x19e81b,{}),'colorClass':'univer-text-gray-400','i18nKey':_0x48f29f(0x23b),'clickable':!0x1,'indicator':'static'};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x227)]:case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x376)]:return{'icon':(0x0,_0x4f8cd5['jsx'])(_0x423b97,{}),'colorClass':_0x48f29f(0x143),'i18nKey':_0x48f29f(0x13a),'clickable':!0x1,'indicator':_0x48f29f(0x1f6)};case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x320)]:case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x1f3)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x19e81b,{}),'colorClass':_0x48f29f(0x1c1),'i18nKey':_0x48f29f(0x1dd),'clickable':!0x1,'indicator':'static'};}}function _0x4b4d17(_0x3874b3){const _0x4bc170=_0x486c12;let {status$:_0x2e19d7}=_0x3874b3,_0xd06cd1=(0x0,_0x28956d[_0x4bc170(0x117)])(_0x2e19d7,_0x5ba2ed['CollaborationStatus'][_0x4bc170(0x1ef)]),_0x29b6df=(0x0,_0x28956d[_0x4bc170(0x292)])(_0x3789e1[_0x4bc170(0x260)]),_0x451b6b=(0x0,_0x28956d[_0x4bc170(0x292)])(_0x5ba2ed[_0x4bc170(0x128)]),_0x2057b4=(0x0,_0x148fc0[_0x4bc170(0x133)])(()=>_0x83fed(_0xd06cd1),[_0xd06cd1]),_0x1db9ad=_0xd06cd1!==_0x5ba2ed['CollaborationStatus']['OFFLINE'],_0x315680=_0x29b6df['t'](_0x2057b4[_0x4bc170(0x382)]),_0x41b92c=_0x2057b4['tooltipKey']?_0x29b6df['t'](_0x2057b4[_0x4bc170(0x2e5)]):_0x315680,_0xab70f6=(0x0,_0x148fc0[_0x4bc170(0x2d7)])(()=>{const _0x204bbc=_0x4bc170;_0x1db9ad||_0x451b6b[_0x204bbc(0x168)]();},[_0x1db9ad,_0x451b6b]),_0x5725f6=(0x0,_0x148fc0['useCallback'])(_0x5ce383=>{const _0x933650=_0x4bc170;!_0x1db9ad&&(_0x5ce383['key']===_0x933650(0x1c9)||_0x5ce383[_0x933650(0x2fc)]==='\x20')&&(_0x5ce383[_0x933650(0x113)](),_0x451b6b[_0x933650(0x168)]());},[_0x1db9ad,_0x451b6b]),_0x50a6cf=(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x27e),{'className':(0x0,_0x239455[_0x4bc170(0x241)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x4bc170(0x270),_0x2057b4[_0x4bc170(0x110)],{'univer-animate-spin':_0x2057b4[_0x4bc170(0x251)]===_0x4bc170(0x1f6),'univer-animate-pulse':_0x2057b4[_0x4bc170(0x251)]==='pulse'}),'aria-hidden':_0x4bc170(0x207),'children':_0x2057b4['icon']}),_0x2fe446=(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x27e),{'className':(0x0,_0x239455[_0x4bc170(0x241)])(_0x4bc170(0x1ed),_0x4bc170(0x352),'univer-transition-all\x20univer-duration-200',_0x4bc170(0x263),'dark:focus:univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x2057b4[_0x4bc170(0x26d)],'univer-cursor-default':!_0x2057b4[_0x4bc170(0x26d)]}),'children':_0x50a6cf});return _0x2057b4[_0x4bc170(0x26d)]?(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x239455[_0x4bc170(0x24a)],{'title':_0x41b92c,'placement':_0x4bc170(0x104),'children':(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x4bc170(0x2ef),{'type':_0x4bc170(0x2ef),'onClick':_0xab70f6,'onKeyDown':_0x5725f6,'className':(0x0,_0x239455[_0x4bc170(0x241)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x4bc170(0x3c5),_0x4bc170(0x2ab),_0x4bc170(0x2d4)),'aria-label':_0x315680+_0x4bc170(0x3a7)+_0x41b92c,'role':_0x4bc170(0x265),'aria-live':_0x4bc170(0x2af),'aria-atomic':_0x4bc170(0x207),'children':_0x2fe446})}):(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x239455['Tooltip'],{'title':_0x41b92c,'placement':_0x4bc170(0x104),'children':(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x151),{'className':(0x0,_0x239455['clsx'])(_0x4bc170(0x249),_0x4bc170(0x3c5),_0x4bc170(0x2ab)),'aria-label':_0x315680,'role':_0x4bc170(0x265),'aria-live':'polite','aria-atomic':_0x4bc170(0x207),'children':_0x2fe446})});}function _0x34d6b5(_0x272f63){'@babel/helpers - typeof';const _0x5a4d0b=_0x486c12;return _0x34d6b5=typeof Symbol==_0x5a4d0b(0x146)&&typeof Symbol[_0x5a4d0b(0x346)]==_0x5a4d0b(0x22a)?function(_0x2a9e15){return typeof _0x2a9e15;}:function(_0x1a5c22){const _0x704a1c=_0x5a4d0b;return _0x1a5c22&&typeof Symbol==_0x704a1c(0x146)&&_0x1a5c22[_0x704a1c(0x3ad)]===Symbol&&_0x1a5c22!==Symbol[_0x704a1c(0x31e)]?_0x704a1c(0x22a):typeof _0x1a5c22;},_0x34d6b5(_0x272f63);}function _0x408cfb(_0xc296c3,_0x4ad84f){const _0x2e0150=_0x486c12;if(_0x34d6b5(_0xc296c3)!='object'||!_0xc296c3)return _0xc296c3;var _0x50fb4b=_0xc296c3[Symbol[_0x2e0150(0x3ae)]];if(_0x50fb4b!==void 0x0){var _0x3f4347=_0x50fb4b[_0x2e0150(0x37b)](_0xc296c3,_0x4ad84f||_0x2e0150(0x1c4));if(_0x34d6b5(_0x3f4347)!='object')return _0x3f4347;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4ad84f===_0x2e0150(0x398)?String:Number)(_0xc296c3);}function _0x21d468(_0xccac71){const _0x4e6f8d=_0x486c12;var _0x43a763=_0x408cfb(_0xccac71,_0x4e6f8d(0x398));return _0x34d6b5(_0x43a763)=='symbol'?_0x43a763:_0x43a763+'';}function _0x28a1e3(_0x47a4f7,_0x3c1a41,_0x56bb84){const _0x344b5e=_0x486c12;return(_0x3c1a41=_0x21d468(_0x3c1a41))in _0x47a4f7?Object[_0x344b5e(0x23a)](_0x47a4f7,_0x3c1a41,{'value':_0x56bb84,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x47a4f7[_0x3c1a41]=_0x56bb84,_0x47a4f7;}function _0x5dbd47(_0x34596a,_0x1f6e8d){return function(_0x559663,_0x42ad4d){_0x1f6e8d(_0x559663,_0x42ad4d,_0x34596a);};}function _0x2eed91(_0x4c7584,_0x33ebea,_0x358666,_0x3807b2){const _0x11a992=_0x486c12;var _0x4c9261=arguments[_0x11a992(0x391)],_0x24db04=_0x4c9261<0x3?_0x33ebea:_0x3807b2===null?_0x3807b2=Object[_0x11a992(0x3bf)](_0x33ebea,_0x358666):_0x3807b2,_0x5aecbc;if(typeof Reflect==_0x11a992(0x247)&&typeof Reflect[_0x11a992(0x176)]=='function')_0x24db04=Reflect[_0x11a992(0x176)](_0x4c7584,_0x33ebea,_0x358666,_0x3807b2);else{for(var _0x4dd6ae=_0x4c7584['length']-0x1;_0x4dd6ae>=0x0;_0x4dd6ae--)(_0x5aecbc=_0x4c7584[_0x4dd6ae])&&(_0x24db04=(_0x4c9261<0x3?_0x5aecbc(_0x24db04):_0x4c9261>0x3?_0x5aecbc(_0x33ebea,_0x358666,_0x24db04):_0x5aecbc(_0x33ebea,_0x358666))||_0x24db04);}return _0x4c9261>0x3&&_0x24db04&&Object[_0x11a992(0x23a)](_0x33ebea,_0x358666,_0x24db04),_0x24db04;}let _0x2f2efb=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x357c19,_0x2f27fb,_0x4e1788,_0x48c92e){const _0x2ec5fc=_0x486c12;super(),this[_0x2ec5fc(0x13d)]=_0x357c19,this[_0x2ec5fc(0x2bb)]=_0x2f27fb,this[_0x2ec5fc(0xe5)]=_0x4e1788,this['_uiPartsService']=_0x48c92e,_0x28a1e3(this,_0x2ec5fc(0x288),new _0x4a289e[(_0x2ec5fc(0x13f))](_0x5ba2ed['CollaborationStatus'][_0x2ec5fc(0x1ef)])),this['_initStatusComponent'](),this['_initStatusListener']();}[_0x486c12(0x282)](){const _0xbd4315=_0x486c12;this[_0xbd4315(0x26a)](this[_0xbd4315(0x13d)][_0xbd4315(0x362)]['pipe']((0x0,_0x4a289e[_0xbd4315(0x3b1)])(()=>{const _0x462cef=_0xbd4315;let _0x4a6d3e=this['_univerInstanceService'][_0x462cef(0x17d)]();return _0x4a6d3e?this[_0x462cef(0xe5)][_0x462cef(0x256)](_0x4a6d3e[_0x462cef(0x255)]()):(0x0,_0x4a289e['of'])(null);}),(0x0,_0x4a289e[_0xbd4315(0x3b1)])(_0x39ed51=>_0x39ed51?_0x39ed51[_0xbd4315(0x319)]:(0x0,_0x4a289e['of'])(_0x5ba2ed['CollaborationStatus'][_0xbd4315(0x1ef)])))[_0xbd4315(0x2df)](_0x47115a=>{this['_status$']['next'](_0x47115a);}));}[_0x486c12(0x2a8)](){const _0x5456e3=_0x486c12;this['disposeWithMe'](this[_0x5456e3(0x1c5)][_0x5456e3(0x1e5)](_0x28956d[_0x5456e3(0x24e)]['HEADER_MENU'],()=>(0x0,_0x28956d[_0x5456e3(0x159)])(_0xe0157a({'status$':this['_status$']['asObservable']()}),this[_0x5456e3(0x2bb)])));}};_0x2f2efb=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed['CollaborationController'])),_0x5dbd47(0x3,_0x28956d[_0x486c12(0x29f)])],_0x2f2efb);function _0xe0157a(_0x42b58a){let {status$:_0x43724c}=_0x42b58a;return function(){const _0x18ce6b=_0x3eb0;return(0x0,_0x4f8cd5[_0x18ce6b(0x30f)])(_0x4b4d17,{'status$':_0x43724c});};}let _0x1b48a9=(0x0,_0x3789e1['createIdentifier'])('uni.network.url-service'),_0xe6e34a=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x20f4ed,_0xdd982c,_0x32038e,_0x418b08,_0x3e178a){const _0x40a6b9=_0x486c12;super(),this[_0x40a6b9(0x28a)]=_0x20f4ed,this[_0x40a6b9(0x3bc)]=_0xdd982c,this['_commandService']=_0x32038e,this[_0x40a6b9(0x2e6)]=_0x418b08,_0x3e178a?_0x3e178a==null||_0x3e178a[_0x40a6b9(0x14d)]()[_0x40a6b9(0x2d5)](()=>this[_0x40a6b9(0x184)]()):(this[_0x40a6b9(0x3bc)][_0x40a6b9(0x351)](_0x40a6b9(0x232),_0x40a6b9(0x14f)),this[_0x40a6b9(0x184)]());}async[_0x486c12(0x184)](){const _0x3c4c7e=_0x486c12;let _0x22c0be=this[_0x3c4c7e(0x28a)]['getParam']('unit'),_0x232282=this[_0x3c4c7e(0x28a)][_0x3c4c7e(0x35f)](_0x3c4c7e(0x3a8)),_0x47beb9=this[_0x3c4c7e(0x28a)][_0x3c4c7e(0x35f)](_0x3c4c7e(0x1b2));if(!_0x22c0be||!_0x232282){this[_0x3c4c7e(0x3bc)][_0x3c4c7e(0x351)](_0x3c4c7e(0x232),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}let _0x40c4d4=await this[_0x3c4c7e(0x2e6)][_0x3c4c7e(0x38f)](_0x22c0be,Number(_0x232282),_0x47beb9);_0x40c4d4&&_0x40c4d4 instanceof _0x3789e1[_0x3c4c7e(0x16e)]&&this['_setupSubUnitSync'](_0x40c4d4);}async['_setupSubUnitSync'](_0x322c77){const _0x5a594e=_0x486c12;await this[_0x5a594e(0x329)](_0x322c77),_0x322c77['activeSheet$'][_0x5a594e(0x286)]((0x0,_0x4a289e[_0x5a594e(0xf8)])(this[_0x5a594e(0x389)]))[_0x5a594e(0x2df)](_0x12b1a3=>{_0x12b1a3&&this['_updateURLWithCurrentState'](_0x12b1a3);}),this[_0x5a594e(0x28a)][_0x5a594e(0x23f)]['pipe']((0x0,_0x4a289e[_0x5a594e(0xf8)])(this[_0x5a594e(0x389)]))[_0x5a594e(0x2df)](()=>this[_0x5a594e(0x329)](_0x322c77));}[_0x486c12(0x231)](_0x3cdc47,_0x49e237=!0x1){const _0x10a993=_0x486c12;let _0x3df033=this[_0x10a993(0x28a)][_0x10a993(0x35f)](_0x10a993(0x1b2));_0x3cdc47[_0x10a993(0x15c)]()!==_0x3df033&&this[_0x10a993(0x28a)][_0x10a993(0x1d5)](_0x10a993(0x1b2),_0x3cdc47[_0x10a993(0x15c)](),_0x49e237);}async[_0x486c12(0x329)](_0x41c689){const _0x39567c=_0x486c12;var _0x3bce0e;let _0x25a182=this[_0x39567c(0x28a)][_0x39567c(0x35f)]('subunit');if(!_0x25a182||!_0x41c689[_0x39567c(0x284)](_0x25a182)){let _0x5dfa08=_0x41c689[_0x39567c(0x213)]()[0x0],_0x28212a=_0x41c689[_0x39567c(0x284)](_0x5dfa08);if(!_0x28212a)return;this[_0x39567c(0x231)](_0x28212a,!0x0),await this[_0x39567c(0x3ac)][_0x39567c(0x2ea)](_0x5081db[_0x39567c(0x1d7)]['id'],{'unitId':_0x41c689[_0x39567c(0x255)](),'subUnitId':_0x5dfa08});return;}((_0x3bce0e=_0x41c689['getActiveSheet']())==null?void 0x0:_0x3bce0e[_0x39567c(0x15c)]())!==_0x25a182&&await this[_0x39567c(0x3ac)]['executeCommand'](_0x5081db[_0x39567c(0x1d7)]['id'],{'unitId':_0x41c689['getUnitId'](),'subUnitId':_0x25a182});}};_0xe6e34a=_0x2eed91([_0x5dbd47(0x0,_0x1b48a9),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x2b9)]),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x5ba2ed[_0x486c12(0x35d)])),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x279)])(_0x47f4ed[_0x486c12(0x127)]))],_0xe6e34a);var _0x606168=_0x486c12(0x285),_0x34f54e=_0x486c12(0x33f);let _0x560036=class extends _0x3789e1['RxDisposable']{constructor(_0x1d10c6,_0x208f3f){const _0x5bd632=_0x486c12;super(),this['_docClipboardService']=_0x1d10c6,this[_0x5bd632(0x18e)]=_0x208f3f,this[_0x5bd632(0x184)]();}['_init'](){const _0x5d4c82=_0x486c12;let _0x26defa=this;this['disposeWithMe'](this[_0x5d4c82(0x12f)]['addClipboardHook']({'onBeforePasteImage':async _0x44a74f=>{const _0x4df972=_0x5d4c82;let _0x1b5cab=await _0x26defa['_imageIoService'][_0x4df972(0x238)](_0x44a74f);return _0x1b5cab?{'source':_0x1b5cab['source'],'imageSourceType':_0x1b5cab[_0x4df972(0x1b0)]}:null;}}));}};_0x560036=_0x2eed91([_0x5dbd47(0x0,_0x4d692e['IDocClipboardService']),_0x5dbd47(0x1,_0x5be687['IImageIoService'])],_0x560036);let _0x4cbed8=[_0x486c12(0x18b),_0x486c12(0x1aa),_0x486c12(0x396),_0x486c12(0x383),'blue.400',_0x486c12(0x20a)];var _0x3e01b5=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(..._0xa81c6f){const _0xa93aa4=_0x486c12;super(..._0xa81c6f),_0x28a1e3(this,'_assignedColors',new Map()),_0x28a1e3(this,_0xa93aa4(0x333),0x0);}[_0x486c12(0xff)](_0xb79f37){const _0x3b2466=_0x486c12;if(this[_0x3b2466(0x325)]['has'](_0xb79f37))return this[_0x3b2466(0x325)]['get'](_0xb79f37);let _0x16fc3a=_0x4cbed8[this['_colorIndex']];return this[_0x3b2466(0x333)]=(this[_0x3b2466(0x333)]+0x1)%_0x4cbed8[_0x3b2466(0x391)],this[_0x3b2466(0x325)][_0x3b2466(0x1de)](_0xb79f37,_0x16fc3a),_0x16fc3a;}},_0x32684e=function(_0x785c03){const _0x37459d=_0x486c12;return _0x785c03[_0x37459d(0x3bb)]='1',_0x785c03[_0x37459d(0x36f)]='0',_0x785c03;}(_0x32684e||{});function _0x5138d6(_0x5258d5){const _0x3e8632=_0x486c12;let _0x2d9314='';for(let _0x2cc0d3 of _0x5258d5){let {startOffset:_0x1304b6,endOffset:_0x11ebb8,isActive:_0x46ce0d,rangeType:_0x3a4701,segmentId:_0x2ca50e,segmentPage:_0x59f267}=_0x2cc0d3;_0x2d9314['length']&&(_0x2d9314+=','),_0x2d9314+=_0x1304b6+':'+_0x11ebb8+':'+(_0x46ce0d?_0x32684e[_0x3e8632(0x3bb)]:_0x32684e[_0x3e8632(0x36f)])+':'+_0x3a4701+':'+_0x2ca50e+':'+_0x59f267;}return _0x2d9314;}function _0x429d89(_0xae8d4f){const _0x476aa1=_0x486c12;let _0x15fe18=_0xae8d4f[_0x476aa1(0x37a)](','),_0x2996ed=[];for(let _0x41595e of _0x15fe18){let [_0x2ba73d,_0x429348,_0x249a9d,_0x146f29,_0x163b2f,_0x59f943]=_0x41595e[_0x476aa1(0x37a)](':');_0x2996ed[_0x476aa1(0x1d9)]({'startOffset':Number(_0x2ba73d),'endOffset':Number(_0x429348),'collapsed':_0x2ba73d===_0x429348,'isActive':_0x249a9d===_0x32684e[_0x476aa1(0x3bb)],'rangeType':_0x146f29===_0x3789e1[_0x476aa1(0x2c7)]['TEXT']?_0x3789e1[_0x476aa1(0x2c7)][_0x476aa1(0x25c)]:_0x3789e1[_0x476aa1(0x2c7)]['RECT'],'segmentId':typeof _0x163b2f==_0x476aa1(0x398)?String(_0x163b2f):'','segmentPage':Number(_0x59f943==null?-0x1:_0x59f943)});}return _0x2996ed[_0x476aa1(0xef)](_0x253325=>_0x253325[_0x476aa1(0x34a)])||(_0x2996ed[0x0][_0x476aa1(0x34a)]=!0x0),_0x2996ed;}var _0xb4d8f5=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(..._0x2ee086){const _0x716738=_0x486c12;super(..._0x2ee086),_0x28a1e3(this,'_collabCursorState$',new _0x4a289e['BehaviorSubject'](null)),_0x28a1e3(this,'collabCursorState$',this[_0x716738(0x332)][_0x716738(0x1fb)]());}[_0x486c12(0x16b)](_0x30068a){const _0x2eef3e=_0x486c12;let {unitID:_0x4ce52a,memberID:_0x2c9828,textRanges:_0x5d9b2d}=_0x30068a,_0x2570dd=_0x5138d6(_0x5d9b2d);if(_0x2570dd==='')return;let _0x44014c={'unitID':_0x4ce52a,'memberID':_0x2c9828,'selection':_0x2570dd};this['_collabCursorState$'][_0x2eef3e(0x283)](_0x44014c);}};let _0x443cbb=class extends _0x3789e1[_0x486c12(0x2f3)]{get[_0x486c12(0x297)](){const _0x251928=_0x486c12;return this[_0x251928(0x239)][_0x251928(0x226)]();}get['roomMembers'](){const _0x4f9e82=_0x486c12;return this[_0x4f9e82(0x1ea)][_0x4f9e82(0x226)]();}constructor(_0x52bcce,_0x131d5f,_0x4489b5,_0x2fd13c,_0x11d727,_0x2526be,_0x1272cd,_0xff233d,_0x1258ed){const _0x53f315=_0x486c12;super(),this['unitID']=_0x52bcce,this['_session']=_0x131d5f,this['_injector']=_0x4489b5,this['_colorAssignService']=_0x2fd13c,this[_0x53f315(0x1dc)]=_0x11d727,this['_syncEditingCollabCursorService']=_0x2526be,this[_0x53f315(0x10c)]=_0x1272cd,this[_0x53f315(0x13d)]=_0xff233d,this[_0x53f315(0x3ac)]=_0x1258ed,_0x28a1e3(this,_0x53f315(0x380),!0x1),_0x28a1e3(this,_0x53f315(0x184),!0x1),_0x28a1e3(this,_0x53f315(0x239),new _0x4a289e['BehaviorSubject'](new Map())),_0x28a1e3(this,_0x53f315(0x200),this[_0x53f315(0x239)]['asObservable']()),_0x28a1e3(this,_0x53f315(0x1ea),new _0x4a289e['BehaviorSubject']([])),_0x28a1e3(this,_0x53f315(0x311),this[_0x53f315(0x1ea)][_0x53f315(0x286)]((0x0,_0x4a289e[_0x53f315(0x28e)])(0x12c))),_0x28a1e3(this,_0x53f315(0x34b),(0x0,_0x3789e1[_0x53f315(0x373)])(_0x173009=>{const _0x583fc3=_0x53f315;let _0x53924={'eventID':_0x136fe4[_0x583fc3(0x1f2)][_0x583fc3(0x2a2)],'data':{'unitID':this[_0x583fc3(0x164)],'memberID':this[_0x583fc3(0x218)][_0x583fc3(0x2c0)](),'selection':_0x5138d6(_0x173009)}};this['_session'][_0x583fc3(0x2c6)](_0x53924,this[_0x583fc3(0x164)]);},0x64));}[_0x486c12(0x1b4)](){const _0x3e9109=_0x486c12;super[_0x3e9109(0x1b4)](),this[_0x3e9109(0x239)][_0x3e9109(0x283)](new Map()),this[_0x3e9109(0x239)]['complete'](),this[_0x3e9109(0x1ea)][_0x3e9109(0x283)]([]),this[_0x3e9109(0x1ea)]['complete']();}[_0x486c12(0x394)](){const _0x19f062=_0x486c12;this[_0x19f062(0x184)]||(this[_0x19f062(0x184)]=!0x0,this[_0x19f062(0x218)][_0x19f062(0x14b)][_0x19f062(0x286)]((0x0,_0x4a289e['takeUntil'])(this[_0x19f062(0x389)]))[_0x19f062(0x2df)](_0x27b979=>{const _0x27336d=_0x19f062;_0x27b979===_0x5ba2ed[_0x27336d(0x145)]['ONLINE']?this[_0x27336d(0x348)]():this[_0x27336d(0x3b7)]();}),this[_0x19f062(0x218)][_0x19f062(0xfc)][_0x19f062(0x286)]((0x0,_0x4a289e[_0x19f062(0xf8)])(this['dispose$']))[_0x19f062(0x2df)](_0x492d51=>{const _0xb02562=_0x19f062;let _0x4d10df=_0x492d51['eventID'];_0x4d10df===_0x136fe4['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x492d51),_0x4d10df===_0x136fe4[_0xb02562(0x1f2)][_0xb02562(0xeb)]&&this[_0xb02562(0x36a)](_0x492d51);}),this[_0x19f062(0x26a)](this['_commandService'][_0x19f062(0x390)](_0x131ebe=>{const _0x3874aa=_0x19f062;let _0x1d1624=_0x131ebe[_0x3874aa(0x230)];_0x1d1624!=null&&this['_online']&&_0x131ebe['id']===_0x43a715[_0x3874aa(0x224)]['id']&&_0x1d1624[_0x3874aa(0x2f0)]===this['unitID']&&_0x1d1624[_0x3874aa(0x28f)]===!0x1&&_0x1d1624['ranges']['length']>0x0&&this[_0x3874aa(0x34b)](_0x1d1624[_0x3874aa(0x339)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe']((0x0,_0x4a289e['takeUntil'])(this[_0x19f062(0x389)]))[_0x19f062(0x2df)](_0x4b8b36=>{const _0xe67b1b=_0x19f062;if((_0x4b8b36==null?void 0x0:_0x4b8b36[_0xe67b1b(0x164)])!==this['unitID'])return;let _0x26c39e={'eventID':_0x136fe4[_0xe67b1b(0x1f2)][_0xe67b1b(0x2a2)],'data':_0x4b8b36};this[_0xe67b1b(0x19e)](_0x26c39e);}),this[_0x19f062(0x26a)](this[_0x19f062(0x3ac)]['onCommandExecuted'](_0x3bd3ce=>{const _0x17e757=_0x19f062;if(_0x3bd3ce['params']==null)return;let _0x2bb3af=_0x3bd3ce[_0x17e757(0x230)];if(_0x3bd3ce['id']!==_0x43a715[_0x17e757(0x2f6)]['id']||_0x2bb3af['unitId']!==this[_0x17e757(0x164)])return;let _0xdf87a7={'id':_0x17e757(0x259),'params':_0x2bb3af},_0x232d06=this[_0x17e757(0x297)];for(let [_0x39850f,_0x308d7b]of _0x232d06){let _0x355df0={'id':_0x17e757(0x259),'params':{'unitId':this[_0x17e757(0x164)],'actions':null,'textRanges':_0x308d7b[_0x17e757(0x339)]}},_0x5a2aa0=this[_0x17e757(0x10c)][_0x17e757(0x392)](_0xdf87a7,_0x355df0,!0x1);if((0x0,_0x136fe4[_0x17e757(0x327)])(_0x5a2aa0))throw _0x5a2aa0[_0x17e757(0x120)];_0x232d06[_0x17e757(0x1de)](_0x39850f,{..._0x308d7b,'ranges':_0x5a2aa0[_0x17e757(0x130)]['params']['textRanges']});}queueMicrotask(()=>{const _0x4341b6=_0x17e757;this[_0x4341b6(0x239)][_0x4341b6(0x283)](_0x232d06);});})));}[_0x486c12(0x19e)](_0x27c495){const _0x4cb6f2=_0x486c12;var _0xada09,_0x2a9074;let {memberID:_0x4c460e,selection:_0x8f2140}=_0x27c495['data'],_0x2212b4=_0x429d89(_0x8f2140),_0x1e3a10=(_0xada09=(_0x2a9074=this[_0x4cb6f2(0x1dc)]['getMember'](this[_0x4cb6f2(0x164)],_0x4c460e))==null?void 0x0:_0x2a9074[_0x4cb6f2(0x167)])==null?_0x4cb6f2(0x21b):_0xada09,_0x4072f8={'color':this[_0x4cb6f2(0x2d0)][_0x4cb6f2(0xff)](_0x4c460e),'name':_0x1e3a10,'ranges':_0x2212b4},_0x51d523=this[_0x4cb6f2(0x297)];_0x51d523[_0x4cb6f2(0x1de)](_0x4c460e,_0x4072f8),this[_0x4cb6f2(0x239)][_0x4cb6f2(0x283)](_0x51d523);}[_0x486c12(0x36a)](_0x373a7d){const _0x703077=_0x486c12;let {memberID:_0x17c173}=_0x373a7d[_0x703077(0x3c4)],_0xdc4cc0=this[_0x703077(0x297)];_0xdc4cc0[_0x703077(0x26e)](_0x17c173),this[_0x703077(0x239)][_0x703077(0x283)](_0xdc4cc0);}['_toggleOnline'](){const _0x18bb2f=_0x486c12;var _0x516587;if(this[_0x18bb2f(0x380)]=!0x0,((_0x516587=this[_0x18bb2f(0x13d)][_0x18bb2f(0x17d)]())==null?void 0x0:_0x516587[_0x18bb2f(0x255)]())!==this[_0x18bb2f(0x164)])return;let _0x1fe2b1=this['_injector'][_0x18bb2f(0x114)](_0x43a715[_0x18bb2f(0x250)])[_0x18bb2f(0x3be)]();Array['isArray'](_0x1fe2b1)&&_0x1fe2b1['length']>0x0&&this['_updateLocalCursor'](_0x1fe2b1);}['_toggleOffline'](){const _0x3b6b00=_0x486c12;this[_0x3b6b00(0x380)]=!0x1;}};_0x443cbb=_0x2eed91([_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x3e01b5)),_0x5dbd47(0x4,(0x0,_0x3789e1['Inject'])(_0x5ba2ed[_0x486c12(0x2ae)])),_0x5dbd47(0x5,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0xb4d8f5)),_0x5dbd47(0x6,_0x136fe4[_0x486c12(0x1af)]),_0x5dbd47(0x7,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x8,_0x3789e1[_0x486c12(0x253)])],_0x443cbb);let _0x54474f=()=>{let _0x2e032d=[],_0x2bfdf4=!0x1;return _0x5e1ead=>{_0x2e032d['push'](_0x5e1ead),_0x2bfdf4||(_0x2bfdf4=!0x0,setTimeout(()=>{const _0x5085a4=_0x3eb0;_0x2e032d[_0x5085a4(0x377)](_0x5c9302=>_0x5c9302()),_0x2e032d=[],_0x2bfdf4=!0x1;}));};},_0x35ff85=class extends _0x3789e1[_0x486c12(0x2f3)]{get[_0x486c12(0x297)](){const _0x557e5e=_0x486c12;return this[_0x557e5e(0x239)][_0x557e5e(0x226)]();}get[_0x486c12(0x1d1)](){const _0x3ad4da=_0x486c12;return this[_0x3ad4da(0x1ea)][_0x3ad4da(0x226)]();}constructor(_0x4634e9,_0x12a1c3,_0x109dae,_0x9189d1,_0x31007c,_0x3ab41d,_0x1e09d9,_0x21594e){const _0x2ea6a5=_0x486c12;super(),this[_0x2ea6a5(0x164)]=_0x4634e9,this['_session']=_0x12a1c3,this[_0x2ea6a5(0x2bb)]=_0x109dae,this[_0x2ea6a5(0x2d0)]=_0x9189d1,this[_0x2ea6a5(0x1dc)]=_0x31007c,this[_0x2ea6a5(0x13d)]=_0x3ab41d,this[_0x2ea6a5(0x3ac)]=_0x1e09d9,this['_refRangeService']=_0x21594e,_0x28a1e3(this,_0x2ea6a5(0x380),!0x1),_0x28a1e3(this,_0x2ea6a5(0x184),!0x1),_0x28a1e3(this,'_cursorInfo$',new _0x4a289e[(_0x2ea6a5(0x13f))](new Map())),_0x28a1e3(this,_0x2ea6a5(0x200),this[_0x2ea6a5(0x239)][_0x2ea6a5(0x1fb)]()),_0x28a1e3(this,'_roomMembers$',new _0x4a289e[(_0x2ea6a5(0x13f))]([])),_0x28a1e3(this,_0x2ea6a5(0x311),this[_0x2ea6a5(0x1ea)]['pipe']((0x0,_0x4a289e[_0x2ea6a5(0x28e)])(0x12c))),_0x28a1e3(this,_0x2ea6a5(0x34b),(0x0,_0x3789e1['debounce'])((_0x27abfc,_0x40ab46)=>{const _0x3d6e67=_0x2ea6a5;let _0x121ef3={'eventID':_0x136fe4[_0x3d6e67(0x1f2)][_0x3d6e67(0x2a2)],'data':{'unitID':this[_0x3d6e67(0x164)],'memberID':this[_0x3d6e67(0x218)]['getMemberID'](),'selection':(0x0,_0x12c154[_0x3d6e67(0x165)])(_0x27abfc,_0x40ab46[_0x3d6e67(0x25d)])}};this['_session']['send'](_0x121ef3,this[_0x3d6e67(0x164)]);},0x64));}[_0x486c12(0x1b4)](){const _0x270a13=_0x486c12;super[_0x270a13(0x1b4)](),this[_0x270a13(0x239)][_0x270a13(0x283)](new Map()),this[_0x270a13(0x239)][_0x270a13(0x257)](),this['_roomMembers$']['next']([]),this[_0x270a13(0x1ea)][_0x270a13(0x257)]();}[_0x486c12(0x394)](){const _0x5f425d=_0x486c12;this[_0x5f425d(0x184)]||(this[_0x5f425d(0x184)]=!0x0,this[_0x5f425d(0x218)]['sessionStatus$'][_0x5f425d(0x286)]((0x0,_0x4a289e['takeUntil'])(this['dispose$']))[_0x5f425d(0x2df)](_0x26ec04=>{const _0x4728a5=_0x5f425d;_0x26ec04===_0x5ba2ed['SessionStatus'][_0x4728a5(0x330)]?this[_0x4728a5(0x348)]():this['_toggleOffline']();}),this[_0x5f425d(0x218)][_0x5f425d(0xfc)][_0x5f425d(0x286)]((0x0,_0x4a289e[_0x5f425d(0xf8)])(this[_0x5f425d(0x389)]))[_0x5f425d(0x2df)](_0x207e0f=>{const _0x329e62=_0x5f425d;let _0x1cff83=_0x207e0f[_0x329e62(0x30a)];_0x1cff83===_0x136fe4['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x329e62(0x19e)](_0x207e0f),_0x1cff83===_0x136fe4['CollaborationEvent']['USERS_LEAVE']&&this[_0x329e62(0x36a)](_0x207e0f);}),this[_0x5f425d(0x171)](),this[_0x5f425d(0x26a)](this[_0x5f425d(0x3ac)][_0x5f425d(0x390)](_0x58fa97=>{const _0x394126=_0x5f425d;if(this[_0x394126(0x380)]&&_0x58fa97['id']===_0x5081db[_0x394126(0x3a2)]['id']&&_0x58fa97[_0x394126(0x230)][_0x394126(0x2f0)]===this[_0x394126(0x164)]){let _0x36fe10=_0x58fa97['params'];this[_0x394126(0x34b)](_0x36fe10[_0x394126(0x33b)],_0x36fe10['selections'][0x0]);}})));}[_0x486c12(0x19e)](_0x302a25){const _0xaa2a92=_0x486c12;var _0x16a206,_0x3208f7;let {memberID:_0x521d7d,selection:_0xc5707b}=_0x302a25[_0xaa2a92(0x3c4)],{sheetName:_0x53ebec,range:_0x154280}=(0x0,_0x12c154[_0xaa2a92(0x258)])(_0xc5707b),_0x235b8e={'name':(_0x16a206=(_0x3208f7=this['_memberService'][_0xaa2a92(0xf1)](this[_0xaa2a92(0x164)],_0x521d7d))==null?void 0x0:_0x3208f7[_0xaa2a92(0x167)])==null?_0xaa2a92(0x21b):_0x16a206,'range':this[_0xaa2a92(0x2ca)](_0x53ebec,_0x154280),'sheetID':_0x53ebec,'color':this[_0xaa2a92(0x2d0)][_0xaa2a92(0xff)](_0x521d7d),'selection':_0xc5707b},_0x10ce8d=this[_0xaa2a92(0x297)];_0x10ce8d[_0xaa2a92(0x1de)](_0x521d7d,_0x235b8e),this[_0xaa2a92(0x239)][_0xaa2a92(0x283)](_0x10ce8d);}[_0x486c12(0x36a)](_0x158f55){const _0x4aa443=_0x486c12;let {memberID:_0xfab6c9}=_0x158f55[_0x4aa443(0x3c4)],_0xd04186=this[_0x4aa443(0x297)];_0xd04186[_0x4aa443(0x26e)](_0xfab6c9),this[_0x4aa443(0x239)][_0x4aa443(0x283)](_0xd04186);}[_0x486c12(0x2ca)](_0x397d71,_0x65c539){const _0x486ca6=_0x486c12;var _0x1eb8b3;let _0x4f3cc6=(_0x1eb8b3=this['_univerInstanceService'][_0x486ca6(0x3b9)](this[_0x486ca6(0x164)]))==null||(_0x1eb8b3=_0x1eb8b3[_0x486ca6(0x284)](_0x397d71))==null?void 0x0:_0x1eb8b3['getMergeData']();return(_0x4f3cc6==null?void 0x0:_0x4f3cc6['find'](_0x4c5232=>_0x3789e1[_0x486ca6(0x310)]['contains'](_0x4c5232,_0x65c539)))||_0x65c539;}[_0x486c12(0x171)](){const _0x24fc46=_0x486c12;let _0x1de951=new _0x3789e1['DisposableCollection'](),_0xc23063=_0x54474f(),_0x1cfdc3=()=>{const _0x518b4d=_0x3eb0;_0x1de951['dispose']();let _0x5d91ee=(_0x486fdf,_0x551ae8,_0x4d7cd9,_0x4f28b6)=>{const _0x190e0d=_0x3eb0;let _0x4893b4=[];switch(_0x486fdf['id']){case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x12b)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x29d)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['DeleteRangeMoveUpCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2c5)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x2bc)]:_0x4893b4=(0x0,_0x5081db['handleInsertCol'])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x166)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x317)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x353)]:_0x4893b4=(0x0,_0x5081db['handleInsertRangeMoveRight'])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x3c7)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2cf)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['MoveRangeCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2a3)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x1fe)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x26c)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['RemoveRowCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x369)])(_0x486fdf,_0x4f28b6);break;}let _0x4d6a1d=(0x0,_0x5081db['runRefRangeMutations'])(_0x4893b4,_0x4f28b6),_0x343478=this['cursorInfo'][_0x190e0d(0x114)](_0x551ae8);if(_0x343478&&_0x4d6a1d){let _0x885a1c={..._0x343478,'range':_0x4d6a1d};this[_0x190e0d(0x297)][_0x190e0d(0x1de)](_0x551ae8,_0x885a1c),_0xc23063(()=>{const _0x577f23=_0x190e0d;let _0x29c0dc=this[_0x577f23(0x262)][_0x577f23(0x14e)](_0x4d6a1d,_0x1a11d7=>(_0x29c0dc[_0x577f23(0x1b4)](),_0x5d91ee(_0x1a11d7,_0x551ae8,_0x4d7cd9,_0x4d6a1d)));_0x1de951['add'](_0x29c0dc);});}return{'redos':[],'undos':[]};};this[_0x518b4d(0x297)][_0x518b4d(0x377)]((_0x2b29ab,_0x1345e3)=>{const _0x845aa4=_0x518b4d;let {range:_0x3404d3,sheetID:_0x2f9556}=_0x2b29ab,_0xc7475e=this['_refRangeService'][_0x845aa4(0x14e)](_0x3404d3,_0x28faf9=>(_0xc7475e[_0x845aa4(0x1b4)](),_0x5d91ee(_0x28faf9,_0x1345e3,_0x2f9556,_0x3404d3)));_0x1de951['add'](_0xc7475e);});};this['disposeWithMe']((0x0,_0x3789e1['toDisposable'])(this['_cursorInfo$'][_0x24fc46(0x2df)](()=>{_0x1cfdc3();})));}[_0x486c12(0x348)](){const _0x18aa1d=_0x486c12;var _0x5d0bb7,_0x58819d;if(this[_0x18aa1d(0x380)]=!0x0,((_0x5d0bb7=this[_0x18aa1d(0x13d)][_0x18aa1d(0x17d)]())==null?void 0x0:_0x5d0bb7[_0x18aa1d(0x255)]())!==this[_0x18aa1d(0x164)])return;let _0xb09e00=(_0x58819d=this[_0x18aa1d(0x2bb)][_0x18aa1d(0x114)](_0x5081db[_0x18aa1d(0x378)])['getCurrentSelections']())==null?void 0x0:_0x58819d[0x0],_0x29fa3c=this['_univerInstanceService'][_0x18aa1d(0x35a)](_0x3789e1[_0x18aa1d(0x246)][_0x18aa1d(0x2f9)])['getActiveSheet']();_0xb09e00&&_0x29fa3c&&this[_0x18aa1d(0x34b)](_0x29fa3c[_0x18aa1d(0x15c)](),_0xb09e00);}[_0x486c12(0x3b7)](){this['_online']=!0x1;}};_0x35ff85=_0x2eed91([_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3e01b5)),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x2ae)])),_0x5dbd47(0x5,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x6,_0x3789e1['ICommandService']),_0x5dbd47(0x7,(0x0,_0x3789e1['Inject'])(_0x5081db[_0x486c12(0x16d)]))],_0x35ff85);let _0x59bc3e=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x5b1676,_0x4d8b34,_0x57bcac){const _0x1cbf1=_0x486c12;super(),this[_0x1cbf1(0x13d)]=_0x5b1676,this['_injector']=_0x4d8b34,this[_0x1cbf1(0x23c)]=_0x57bcac,_0x28a1e3(this,_0x1cbf1(0x235),new Map()),_0x28a1e3(this,_0x1cbf1(0x338),new _0x4a289e['Subject']()),this['_init']();}[_0x486c12(0x1b4)](){const _0x5a8f65=_0x486c12;super[_0x5a8f65(0x1b4)](),this[_0x5a8f65(0x338)][_0x5a8f65(0x257)](),this[_0x5a8f65(0x235)][_0x5a8f65(0x377)](_0x891527=>_0x891527[_0x5a8f65(0x1b4)]());}['getCollabCursors$'](_0xaac18e){const _0x450c12=_0x486c12;return this[_0x450c12(0x235)][_0x450c12(0x35e)](_0xaac18e)?this['_entities'][_0x450c12(0x114)](_0xaac18e)[_0x450c12(0x200)]:this['_entityInit$']['pipe']((0x0,_0x4a289e['filter'])(_0x516596=>_0x516596[_0x450c12(0x164)]===_0xaac18e),(0x0,_0x4a289e[_0x450c12(0x3b1)])(_0x2d4b09=>_0x2d4b09[_0x450c12(0x200)]));}['_init'](){const _0x120b07=_0x486c12;this[_0x120b07(0x13d)][_0x120b07(0x274)](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2f9)])[_0x120b07(0x286)]((0x0,_0x4a289e[_0x120b07(0xf8)])(this[_0x120b07(0x389)]))[_0x120b07(0x2df)](async _0x4176f6=>{const _0x1725cf=_0x120b07;let _0xf9fbbb=_0x4176f6[_0x1725cf(0x255)](),_0x3dba44=await this[_0x1725cf(0x20b)](_0xf9fbbb);this[_0x1725cf(0x338)][_0x1725cf(0x283)](_0x3dba44),this[_0x1725cf(0x235)][_0x1725cf(0x1de)](_0xf9fbbb,_0x3dba44);}),this[_0x120b07(0x13d)]['getTypeOfUnitAdded$'](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2a1)])[_0x120b07(0x286)]((0x0,_0x4a289e['takeUntil'])(this[_0x120b07(0x389)]))['pipe']((0x0,_0x4a289e[_0x120b07(0x3aa)])(_0x1df644=>!_0x1df644[_0x120b07(0x255)]()[_0x120b07(0xe8)]('__')))[_0x120b07(0x2df)](async _0x3896fb=>{const _0x35f852=_0x120b07;let _0x2b3962=_0x3896fb[_0x35f852(0x255)](),_0x105b95=await this[_0x35f852(0x331)](_0x2b3962);this['_entityInit$'][_0x35f852(0x283)](_0x105b95),this[_0x35f852(0x235)][_0x35f852(0x1de)](_0x2b3962,_0x105b95);}),(0x0,_0x4a289e[_0x120b07(0x101)])(this[_0x120b07(0x13d)][_0x120b07(0x307)](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2a1)]),this[_0x120b07(0x13d)][_0x120b07(0x307)](_0x3789e1[_0x120b07(0x246)]['UNIVER_SHEET']))[_0x120b07(0x286)]((0x0,_0x4a289e[_0x120b07(0xf8)])(this['dispose$']))[_0x120b07(0x2df)](_0x3c892d=>{const _0x39af94=_0x120b07;let _0x52b57b=_0x3c892d['getUnitId'](),_0x33e041=this[_0x39af94(0x235)][_0x39af94(0x114)](_0x52b57b);_0x33e041&&(_0x33e041[_0x39af94(0x1b4)](),this[_0x39af94(0x235)][_0x39af94(0x26e)](_0x52b57b));});}async['_startSheetCollabCursor'](_0x53111c){const _0x155f91=_0x486c12;let _0x7d5ef9=await this[_0x155f91(0x23c)][_0x155f91(0x32f)](_0x53111c),_0x2bcc3b=this[_0x155f91(0x2bb)][_0x155f91(0x328)](_0x35ff85,_0x53111c,_0x7d5ef9);return _0x2bcc3b[_0x155f91(0x394)](),_0x2bcc3b;}async[_0x486c12(0x331)](_0x31011d){const _0x38265a=_0x486c12;let _0x2af25c=await this['_collabSessionService'][_0x38265a(0x32f)](_0x31011d),_0x259f3a=this[_0x38265a(0x2bb)][_0x38265a(0x328)](_0x443cbb,_0x31011d,_0x2af25c);return _0x259f3a[_0x38265a(0x394)](),_0x259f3a;}};_0x59bc3e=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x128)]))],_0x59bc3e);function _0x2b2b89(_0xe705a3,_0x64ea77){const _0x320958=_0x486c12;var _0x313a87,_0x34160e,_0x394d5f;let {radius:_0x327d74,width:_0x53222c,height:_0x4c72da}=_0x64ea77;_0x327d74=(_0x313a87=_0x327d74)==null?0x0:_0x313a87,_0x53222c=(_0x34160e=_0x53222c)==null?0x1e:_0x34160e,_0x4c72da=(_0x394d5f=_0x4c72da)==null?0x1e:_0x394d5f;let _0x42fa09=0x0,_0x391d75=0x0,_0x2f5dba=0x0;_0x42fa09=_0x391d75=_0x2f5dba=Math[_0x320958(0x2f2)](_0x327d74,_0x53222c/0x2,_0x4c72da/0x2),_0xe705a3[_0x320958(0x1f7)](),_0xe705a3[_0x320958(0x344)](_0x42fa09,0x0),_0xe705a3['lineTo'](_0x53222c-_0x391d75,0x0),_0xe705a3[_0x320958(0x27d)](_0x53222c-_0x391d75,_0x391d75,_0x391d75,Math['PI']*0x3/0x2,0x0,!0x1),_0xe705a3[_0x320958(0x11b)](_0x53222c,_0x4c72da-_0x2f5dba),_0xe705a3[_0x320958(0x27d)](_0x53222c-_0x2f5dba,_0x4c72da-_0x2f5dba,_0x2f5dba,0x0,Math['PI']/0x2,!0x1),_0xe705a3[_0x320958(0x11b)](0x0,_0x4c72da),_0xe705a3[_0x320958(0x11b)](0x0,_0x42fa09),_0xe705a3[_0x320958(0x27d)](_0x42fa09,_0x42fa09,_0x42fa09,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe705a3[_0x320958(0x196)](),_0x64ea77[_0x320958(0x294)]&&(_0xe705a3[_0x320958(0x1f9)](),_0xe705a3['fillStyle']=_0x64ea77['fill'],_0x64ea77[_0x320958(0x23d)]==='evenodd'?_0xe705a3[_0x320958(0x294)]('evenodd'):_0xe705a3['fill'](),_0xe705a3[_0x320958(0x364)]());}var _0x31aed2=class _0x3f0e2d extends _0x4b5cb2[_0x486c12(0xec)]{constructor(_0x254e33,_0x3a6150){const _0x4f0b33=_0x486c12;super(_0x254e33,_0x3a6150),_0x28a1e3(this,'color',void 0x0),_0x28a1e3(this,_0x4f0b33(0x21a),void 0x0),this[_0x4f0b33(0x1b8)]=_0x3a6150==null?void 0x0:_0x3a6150[_0x4f0b33(0x1b8)],this[_0x4f0b33(0x21a)]=_0x3a6150==null?void 0x0:_0x3a6150[_0x4f0b33(0x21a)];}static[_0x486c12(0x30c)](_0x1b1d84,_0xc70b39){const _0x1186cc=_0x486c12;let {text:_0x1071db,color:_0x9dd47a}=_0xc70b39;_0x1b1d84[_0x1186cc(0x1f9)](),_0x1b1d84['font']=_0x1186cc(0xe4);let _0x494478=_0x1b1d84[_0x1186cc(0x280)](_0x1071db)[_0x1186cc(0x144)];if(_0x2b2b89(_0x1b1d84,{'height':0x14,'radius':0x4,'width':Math[_0x1186cc(0x2f2)](_0x494478+0x8,0xc8),'fill':_0x9dd47a,'evented':!0x1}),_0x1b1d84[_0x1186cc(0x2dc)]=_0x1186cc(0x28d),_0x494478>0xc0){let _0x1e03f7='',_0x160878=0x0;for(let _0x3b3695 of _0x1071db){let _0xeb4548=_0x1b1d84[_0x1186cc(0x280)](_0x3b3695)[_0x1186cc(0x144)];if(_0x160878+_0xeb4548<=0xc0-_0x1b1d84['measureText'](_0x1186cc(0x155))[_0x1186cc(0x144)])_0x1e03f7+=_0x3b3695,_0x160878+=_0xeb4548;else{_0x1e03f7+='...';break;}}_0x1b1d84[_0x1186cc(0x28b)](_0x1e03f7,0x4,0xf);}else _0x1b1d84[_0x1186cc(0x28b)](_0x1071db,0x4,0xf);_0x1b1d84[_0x1186cc(0x364)]();}[_0x486c12(0x209)](_0x450793){_0x3f0e2d['drawWith'](_0x450793,this);}};let _0x41be05=_0x486c12(0x28c);var _0x210b6c=class{constructor(_0x18d080,_0x2e3fc3,_0x2ffa8a,_0x6278b){const _0x1862e4=_0x486c12;this[_0x1862e4(0x1fd)]=_0x18d080,this[_0x1862e4(0x2b8)]=_0x2e3fc3,this['_docSkeleton']=_0x2ffa8a,this[_0x1862e4(0x371)]=_0x6278b,_0x28a1e3(this,_0x1862e4(0x3b5),[]),_0x28a1e3(this,'_anchor',null),_0x28a1e3(this,_0x1862e4(0x1b7),null),_0x28a1e3(this,_0x1862e4(0x179),null),_0x28a1e3(this,_0x1862e4(0x2dd),null),_0x28a1e3(this,_0x1862e4(0x2ce),null),this[_0x1862e4(0x2cd)]();}set[_0x486c12(0x1c6)](_0x29f3fe){const _0x2a1958=_0x486c12;_0x29f3fe?(this[_0x2a1958(0x179)]&&this[_0x2a1958(0x179)]['hide'](),this[_0x2a1958(0x1b7)]&&this['_textBubble']['show']()):(this[_0x2a1958(0x179)]&&this[_0x2a1958(0x179)][_0x2a1958(0x366)](),this['_textBubble']&&this[_0x2a1958(0x1b7)][_0x2a1958(0xe3)]());}[_0x486c12(0x1b4)](){const _0x21608d=_0x486c12;for(let _0x547474 of this[_0x21608d(0x3b5)])_0x547474[_0x21608d(0x1b4)]();this[_0x21608d(0x1b7)]&&this[_0x21608d(0x1b7)][_0x21608d(0x1b4)](),this[_0x21608d(0x179)]&&this['_anchorDot'][_0x21608d(0x1b4)](),this[_0x21608d(0x34c)]&&this[_0x21608d(0x34c)][_0x21608d(0x1b4)](),this[_0x21608d(0x2ce)]&&this[_0x21608d(0x2ce)]();}['_render'](){const _0x24f58a=_0x486c12;let {_docSkeleton:_0x1a3e87,_document:_0x539462}=this,{color:_0x159c2f,name:_0x5a2577,ranges:_0x15cbbb}=this[_0x24f58a(0x1fd)],_0x4545ce=_0x539462[_0x24f58a(0x214)](),{docsLeft:_0xb94453,docsTop:_0x22f4ed}=_0x4545ce,_0xe8fd6a=new _0x4d692e['NodePositionConvertToCursor'](_0x4545ce,_0x1a3e87);for(let {startOffset:_0x35ba82,endOffset:_0x182245,rangeType:_0x8149be,segmentId:_0x3c067d,segmentPage:_0x122592,collapsed:_0x28179e,isActive:_0x33914c}of _0x15cbbb){let _0x1cf936=_0x1a3e87[_0x24f58a(0x19c)](_0x35ba82,!0x0,_0x3c067d,_0x122592),_0x56dde4=_0x1a3e87[_0x24f58a(0x19c)](_0x182245,!0x0,_0x3c067d,_0x122592);if(_0x56dde4==null&&(_0x56dde4=_0x1a3e87['findNodePositionByCharIndex'](_0x182245-0x1,!0x1,_0x3c067d,_0x122592)),_0x33914c){let {contentBoxPointGroup:_0x540b07}=_0xe8fd6a['getRangePointData'](_0x56dde4,_0x56dde4);if(_0x540b07[_0x24f58a(0x391)]===0x0)continue;this[_0x24f58a(0x365)](_0x159c2f,_0x540b07,_0xb94453,_0x22f4ed,_0x5a2577),this[_0x24f58a(0x2ce)]=this['_handleHover']();}if(_0x1cf936&&_0x56dde4){if(_0x8149be===_0x3789e1[_0x24f58a(0x2c7)][_0x24f58a(0x222)]){var _0x338d97;let {pointGroup:_0x55b21b}=(_0x338d97=new _0x4d692e['NodePositionConvertToRectRange'](_0x4545ce,_0x1a3e87)['getRangePointData'](_0x1cf936,_0x56dde4))==null?{}:_0x338d97;if(_0x55b21b==null||_0x55b21b[_0x24f58a(0x391)]===0x0)continue;this[_0x24f58a(0x2d2)](_0x159c2f,_0x55b21b,_0xb94453,_0x22f4ed);}else{if(!_0x28179e){let {borderBoxPointGroup:_0x326434}=_0xe8fd6a[_0x24f58a(0x14c)](_0x1cf936,_0x56dde4);if(_0x326434['length']===0x0)continue;this[_0x24f58a(0x273)](_0x159c2f,_0x326434,_0xb94453,_0x22f4ed);}}}}}[_0x486c12(0x365)](_0x1a806c,_0x41656c,_0x4beb98,_0x33090d,_0x410445){const _0x13f2c2=_0x486c12;let {left:_0x4c3193,top:_0x586718,height:_0x4dfa26}=this[_0x13f2c2(0x32c)](_0x41656c),_0x278608=1.5/this[_0x13f2c2(0x2b7)](),_0x24a261=new _0x4b5cb2[(_0x13f2c2(0x25b))](_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d,'height':_0x4dfa26,'width':1.5,'fill':_0x1a806c||(0x0,_0x4b5cb2[_0x13f2c2(0x2f1)])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'strokeWidth':_0x278608,'stroke':_0x13f2c2(0x303),'evented':!0x0});this[_0x13f2c2(0x34c)]=_0x24a261,this[_0x13f2c2(0x2b8)][_0x13f2c2(0x2fb)](_0x24a261,_0x4d692e[_0x13f2c2(0x278)]);let _0x16f567=new _0x4b5cb2[(_0x13f2c2(0x25b))](_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x1a806c||(0x0,_0x4b5cb2['getColor'])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'strokeWidth':0x0,'stroke':_0x1a806c||(0x0,_0x4b5cb2[_0x13f2c2(0x2f1)])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'evented':!0x1});this[_0x13f2c2(0x179)]=_0x16f567,this[_0x13f2c2(0x2b8)][_0x13f2c2(0x2fb)](_0x16f567,_0x4d692e['TEXT_RANGE_LAYER_INDEX']);let _0x1af2eb=new _0x31aed2(_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d-0x14,'text':_0x410445,'color':_0x1a806c});this[_0x13f2c2(0x1b7)]=_0x1af2eb,this['_scene'][_0x13f2c2(0x2fb)](_0x1af2eb,_0x4d692e[_0x13f2c2(0x278)]),this[_0x13f2c2(0x1c6)]=!0x1;}[_0x486c12(0x131)](){const _0x1f4857=_0x486c12;let _0xc75d6=this[_0x1f4857(0x34c)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x441bbc=_0x1f4857;this[_0x441bbc(0x1c6)]=!0x0;}),_0x4516a3=this[_0x1f4857(0x34c)][_0x1f4857(0x266)][_0x1f4857(0x2c8)](()=>{const _0x6e1f2d=_0x1f4857;this[_0x6e1f2d(0x2dd)]&&clearTimeout(this[_0x6e1f2d(0x2dd)]),this['_hideTimer']=setTimeout(()=>{const _0x1cec1e=_0x6e1f2d;this[_0x1cec1e(0x1c6)]=!0x1;},0x7d0);});return()=>{const _0x1ab6cc=_0x1f4857;_0xc75d6[_0x1ab6cc(0x3b6)](),_0x4516a3['unsubscribe']();};}[_0x486c12(0x273)](_0x16400b,_0x3962db,_0x4e3f67,_0x1b0fbe){const _0x12f50b=_0x486c12;let _0x2ee898=0.2,_0x5e47ff=new _0x3789e1['ColorKit'](_0x16400b)[_0x12f50b(0x1ff)](_0x2ee898)[_0x12f50b(0x340)](),_0x5a672d=new _0x4b5cb2[(_0x12f50b(0x1b1))](_0x12f50b(0x10e)+(0x0,_0x3789e1[_0x12f50b(0x211)])(0x6),{'pointsGroup':_0x3962db,'fill':_0x5e47ff||(0x0,_0x4b5cb2['getColor'])(_0x3789e1['COLORS']['black'],_0x2ee898),'left':_0x4e3f67,'top':_0x1b0fbe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x12f50b(0x3b5)][_0x12f50b(0x1d9)](_0x5a672d),this[_0x12f50b(0x2b8)][_0x12f50b(0x2fb)](_0x5a672d,_0x4d692e[_0x12f50b(0x278)]);}[_0x486c12(0x2d2)](_0x311592,_0x1a9843,_0x50b8cb,_0x49f096){const _0x20eaeb=_0x486c12;let _0x38c4db=0.2,_0x29cb5b=new _0x3789e1['ColorKit'](_0x311592)[_0x20eaeb(0x1ff)](_0x38c4db)['toRgbString'](),_0x5260d9=new _0x4b5cb2[(_0x20eaeb(0x1b1))](_0x20eaeb(0x25f)+(0x0,_0x3789e1[_0x20eaeb(0x211)])(0x6),{'pointsGroup':_0x1a9843,'fill':_0x29cb5b||(0x0,_0x4b5cb2[_0x20eaeb(0x2f1)])(_0x3789e1[_0x20eaeb(0x153)][_0x20eaeb(0x357)],_0x38c4db),'left':_0x50b8cb,'top':_0x49f096,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20eaeb(0x3b5)][_0x20eaeb(0x1d9)](_0x5260d9),this[_0x20eaeb(0x2b8)][_0x20eaeb(0x2fb)](_0x5260d9,_0x4d692e['TEXT_RANGE_LAYER_INDEX']);}[_0x486c12(0x32c)](_0x337fb7){let _0x13106f=_0x337fb7[0x0],_0x4d5153=_0x13106f[0x0],_0x51eca9=_0x13106f[0x2],{x:_0x430fe6,y:_0x1f926b}=_0x4d5153,{x:_0x33dcc1,y:_0x1327a9}=_0x51eca9;return{'left':_0x430fe6,'top':_0x1f926b,'width':_0x33dcc1-_0x430fe6,'height':_0x1327a9-_0x1f926b};}[_0x486c12(0x2b7)](){const _0x4ef09f=_0x486c12;let {scaleX:_0x15c31d,scaleY:_0x429363}=this['_scene'][_0x4ef09f(0x186)]();return Math['max'](_0x15c31d,_0x429363);}};let _0x8c0b72=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x583e0c,_0x35a3c5,_0x482636,_0x408868,_0x44a3d1){const _0x21ac07=_0x486c12;super(),this[_0x21ac07(0x37f)]=_0x583e0c,this[_0x21ac07(0x1f4)]=_0x35a3c5,this[_0x21ac07(0x1bb)]=_0x482636,this[_0x21ac07(0x3ac)]=_0x408868,this[_0x21ac07(0xe9)]=_0x44a3d1,_0x28a1e3(this,_0x21ac07(0x177),[]),_0x28a1e3(this,_0x21ac07(0xfd),[]),this[_0x21ac07(0x184)]();}['_init'](){const _0x238841=_0x486c12;let _0x369cd5=this[_0x238841(0x37f)]['unitId'],_0x3b404e=this[_0x238841(0x1f4)];this['disposeWithMe']((0x0,_0x4a289e[_0x238841(0x1db)])([this[_0x238841(0x1bb)]['getCollabCursors$'](_0x369cd5),this[_0x238841(0xe9)][_0x238841(0x3b8)]])[_0x238841(0x286)]((0x0,_0x21659b[_0x238841(0x397)])(([_0x36aa5e,_0x300c26])=>({'skeleton':_0x3b404e['getSkeleton'](),'cursors':[..._0x36aa5e[_0x238841(0x11e)]()]['flatMap'](_0x346453=>({..._0x346453,'color':this[_0x238841(0xe9)][_0x238841(0x220)](_0x346453[_0x238841(0x1b8)])}))})))[_0x238841(0x2df)](_0x3ca73a=>{if(this['_removeCollabCursors'](),_0x3ca73a){let {skeleton:_0x1a9e69,cursors:_0xab6dd7}=_0x3ca73a;this['_updateCollabCursors'](_0x1a9e69,_0xab6dd7);}})),this[_0x238841(0x36e)](),this[_0x238841(0x30d)]();}[_0x486c12(0x2b6)](_0x5df0b8,_0x51f6b9){const _0x2d0652=_0x486c12;let {scene:_0x7ff283,mainComponent:_0x8ad69c}=this[_0x2d0652(0x37f)];this[_0x2d0652(0x177)]=_0x51f6b9[_0x2d0652(0x397)](_0x47c2f7=>new _0x210b6c(_0x47c2f7,_0x7ff283,_0x5df0b8,_0x8ad69c)),this[_0x2d0652(0xfd)]=_0x51f6b9;}[_0x486c12(0x33d)](){const _0x59dedb=_0x486c12;this[_0x59dedb(0x2fa)]();let {scene:_0x57638a,mainComponent:_0x148049}=this[_0x59dedb(0x37f)],_0x3416b1=this[_0x59dedb(0x1f4)][_0x59dedb(0x170)]();this[_0x59dedb(0x177)]=this[_0x59dedb(0xfd)]['map'](_0x9a669c=>new _0x210b6c(_0x9a669c,_0x57638a,_0x3416b1,_0x148049));}[_0x486c12(0x2fa)](){const _0x24ef6b=_0x486c12;this[_0x24ef6b(0x177)][_0x24ef6b(0x377)](_0x210b37=>_0x210b37[_0x24ef6b(0x1b4)]()),this[_0x24ef6b(0x177)]=[];}['_initCommandExecutedListener'](){const _0x141e75=_0x486c12;let _0x5783f6=[_0x4d692e[_0x141e75(0x1a2)]['id']];this[_0x141e75(0x26a)](this[_0x141e75(0x3ac)][_0x141e75(0x390)](_0x336e7f=>{const _0x11bc21=_0x141e75;_0x5783f6[_0x11bc21(0x152)](_0x336e7f['id'])&&_0x336e7f['params'][_0x11bc21(0x2f0)]===this[_0x11bc21(0x37f)][_0x11bc21(0x2f0)]&&this[_0x11bc21(0x33d)]();}));}[_0x486c12(0x36e)](){const _0x2eaff6=_0x486c12;this['disposeWithMe']((0x0,_0x3789e1[_0x2eaff6(0x322)])(this['_context'][_0x2eaff6(0x301)]['onTransformChange$'])[_0x2eaff6(0x286)]((0x0,_0x21659b[_0x2eaff6(0x3aa)])(_0x27bee3=>_0x27bee3[_0x2eaff6(0x3a8)]===_0x4b5cb2[_0x2eaff6(0x321)][_0x2eaff6(0x2fe)]),(0x0,_0x21659b[_0x2eaff6(0x210)])(0x10))[_0x2eaff6(0x2df)](()=>{this['_refreshCollabCursors']();}));}};_0x8c0b72=_0x2eed91([_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x43a715[_0x486c12(0x182)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x59bc3e)),_0x5dbd47(0x3,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x4,(0x0,_0x3789e1['Inject'])(_0x3789e1['ThemeService']))],_0x8c0b72);var _0x573714=class extends _0x4b5cb2[_0x486c12(0xec)]{constructor(_0xb16d59,_0x1e0d6b){const _0x33e25a=_0x486c12;if(super(_0xb16d59,_0x1e0d6b),_0x28a1e3(this,_0x33e25a(0x367),void 0x0),_0x28a1e3(this,_0x33e25a(0x111),!0x1),_0x28a1e3(this,_0x33e25a(0x149),void 0x0),_0x28a1e3(this,'_name',''),_0x28a1e3(this,_0x33e25a(0xf2),_0x33e25a(0x39e)),_0x28a1e3(this,'_backgroundColor',void 0x0),_0x28a1e3(this,'_showText',void 0x0),_0x28a1e3(this,_0x33e25a(0x3a1),void 0x0),_0x28a1e3(this,_0x33e25a(0x139),0x4),_0x28a1e3(this,_0x33e25a(0x193),void 0x0),_0x28a1e3(this,_0x33e25a(0x31c),void 0x0),_0x28a1e3(this,_0x33e25a(0x15f),!0x0),_0x28a1e3(this,_0x33e25a(0x17f),0x0),_0x1e0d6b){var _0x1749e8;if(this[_0x33e25a(0x381)](_0x1e0d6b),_0x1e0d6b[_0x33e25a(0x18f)]&&((_0x1749e8=_0x1e0d6b[_0x33e25a(0x1d3)])==null?this[_0x33e25a(0x139)]:_0x1749e8)){var _0xf2b536;this['_startBlinking']((_0xf2b536=_0x1e0d6b[_0x33e25a(0x1d3)])==null?this[_0x33e25a(0x139)]:_0xf2b536);}}this['onPointerEnter$'][_0x33e25a(0x2c8)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x33e25a(0x266)][_0x33e25a(0x2c8)](()=>this[_0x33e25a(0x381)]({'hovered':!0x1}));}[_0x486c12(0x244)](_0x5abd76){this['_offsetY']=_0x5abd76;}[_0x486c12(0x381)](_0x284966){const _0x5f5b66=_0x486c12;var _0xf8407f,_0x341771,_0x110675,_0x3317c3,_0x5c34e7,_0xf17ea3,_0x494891;this[_0x5f5b66(0x367)]=(_0xf8407f=_0x284966['color'])==null?this[_0x5f5b66(0x367)]:_0xf8407f,this[_0x5f5b66(0x111)]=(_0x341771=_0x284966[_0x5f5b66(0x148)])==null?this[_0x5f5b66(0x111)]:_0x341771,this[_0x5f5b66(0x149)]=(_0x110675=_0x284966[_0x5f5b66(0x25d)])==null?this[_0x5f5b66(0x149)]:_0x110675,this[_0x5f5b66(0xfe)]=(_0x3317c3=_0x284966[_0x5f5b66(0x167)])==null?this['_name']:_0x3317c3,this[_0x5f5b66(0xf2)]=(_0x5c34e7=_0x284966[_0x5f5b66(0x136)])==null?this[_0x5f5b66(0xf2)]:_0x5c34e7,this[_0x5f5b66(0x289)]=(_0xf17ea3=_0x284966[_0x5f5b66(0x189)])==null?this[_0x5f5b66(0x289)]:_0xf17ea3,this[_0x5f5b66(0x17c)]=(_0x494891=_0x284966['showText'])==null?this[_0x5f5b66(0x17c)]:_0x494891,_0x284966['highlightSecond']!==void 0x0&&(this[_0x5f5b66(0x139)]=_0x284966[_0x5f5b66(0x1d3)]),_0x284966[_0x5f5b66(0x18f)]!==void 0x0&&(this[_0x5f5b66(0x3a1)]=_0x284966['highlight']),_0x284966[_0x5f5b66(0x1d6)]!==void 0x0&&(this[_0x5f5b66(0x17f)]=_0x284966[_0x5f5b66(0x1d6)]),this[_0x5f5b66(0x18a)]({'width':_0x284966[_0x5f5b66(0x144)],'height':_0x284966['height']});}[_0x486c12(0x2da)](_0x2ae81b){const _0x1f5bd4=_0x486c12;let {row:_0x345c1f,column:_0x95d49}=_0x2ae81b;if(_0x345c1f>=this[_0x1f5bd4(0x149)][_0x1f5bd4(0x116)]&&_0x345c1f<=this[_0x1f5bd4(0x149)][_0x1f5bd4(0x1ab)]&&_0x95d49>=this[_0x1f5bd4(0x149)]['startColumn']&&_0x95d49<=this['_range'][_0x1f5bd4(0x1cd)]){this[_0x1f5bd4(0x381)]({'hovered':!0x0});return;}this[_0x1f5bd4(0x381)]({'hovered':!0x1});}[_0x486c12(0x195)](_0x5abec8){const _0x3ff4c7=_0x486c12;this[_0x3ff4c7(0x354)](),this[_0x3ff4c7(0x15f)]=!0x0,this[_0x3ff4c7(0x31c)]=window[_0x3ff4c7(0x1ba)](()=>{const _0x386772=_0x3ff4c7;this['_isBlinkVisible']=!this[_0x386772(0x15f)],this['makeDirty'](!0x0);},0x1f4),this[_0x3ff4c7(0x193)]=window[_0x3ff4c7(0x31f)](()=>{const _0x42ec7c=_0x3ff4c7;this[_0x42ec7c(0x354)](),this[_0x42ec7c(0x15f)]=!0x0,this['makeDirty'](!0x0);},_0x5abec8*0x3e8);}[_0x486c12(0x354)](){const _0x1766e8=_0x486c12;this[_0x1766e8(0x31c)]&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x1766e8(0x31c)]=void 0x0),this[_0x1766e8(0x193)]&&(window[_0x1766e8(0x2bf)](this[_0x1766e8(0x193)]),this[_0x1766e8(0x193)]=void 0x0);}[_0x486c12(0x29e)](_0x521dd2){return!0x1;}[_0x486c12(0x1b4)](){const _0x1d6344=_0x486c12;this[_0x1d6344(0x354)](),super[_0x1d6344(0x1b4)]();}[_0x486c12(0x209)](_0x44abf6){const _0x427c55=_0x486c12;var _0x260ed1;let _0x19294b=this[_0x427c55(0x367)],_0xa22401=this['_backgroundColor'];if(this[_0x427c55(0x3a1)]&&!this[_0x427c55(0x15f)]&&(_0x19294b=this[_0x427c55(0x34e)](this[_0x427c55(0x367)]),_0xa22401=this[_0x427c55(0x289)]?this[_0x427c55(0x34e)](this['_backgroundColor']):void 0x0),_0x4b5cb2[_0x427c55(0x25b)][_0x427c55(0x30c)](_0x44abf6,{'width':this['width'],'height':this[_0x427c55(0x1d4)],'strokeWidth':(_0x260ed1=this[_0x427c55(0x21d)])==null?1.5:_0x260ed1,'stroke':_0x19294b,'evented':!0x1,'fill':_0xa22401}),this[_0x427c55(0x111)]||this[_0x427c55(0x17c)]){var _0x1bc6e3;_0x44abf6['save'](),_0x44abf6[_0x427c55(0x372)](0x1,0x0,0x0,0x1,this[_0x427c55(0x144)],(this['_labelPosition']===_0x427c55(0x104)?0x0:-0x14)+((_0x1bc6e3=this['_offsetY'])==null?0x0:_0x1bc6e3)),_0x31aed2[_0x427c55(0x30c)](_0x44abf6,{'text':this[_0x427c55(0xfe)],'color':_0x19294b}),_0x44abf6[_0x427c55(0x364)]();}}[_0x486c12(0x34e)](_0x5e4b04){const _0x3b8cde=_0x486c12;return _0x5e4b04[_0x3b8cde(0xe8)]('#')?_0x3b8cde(0x23e)+Number[_0x3b8cde(0x281)](_0x5e4b04[_0x3b8cde(0x24f)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x5e4b04[_0x3b8cde(0x24f)](0x3,0x5),0x10)+',\x20'+Number[_0x3b8cde(0x281)](_0x5e4b04[_0x3b8cde(0x24f)](0x5,0x7),0x10)+_0x3b8cde(0x1d8):_0x5e4b04['startsWith'](_0x3b8cde(0x2ed))?_0x5e4b04[_0x3b8cde(0x350)](/[\d.]+\)$/g,_0x3b8cde(0x124)):_0x5e4b04['startsWith']('rgb')?_0x5e4b04[_0x3b8cde(0x350)](_0x3b8cde(0x112),_0x3b8cde(0x2ed))['replace'](')',_0x3b8cde(0x1d8)):_0x5e4b04;}};let _0x4d3930=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x5786b5,_0x220fb4,_0x598bcc,_0x42204d){const _0x34141e=_0x486c12;super(),this[_0x34141e(0x37f)]=_0x5786b5,this[_0x34141e(0x1a4)]=_0x220fb4,this[_0x34141e(0x1bb)]=_0x598bcc,this[_0x34141e(0xe9)]=_0x42204d,_0x28a1e3(this,_0x34141e(0xfd),new Set()),_0x28a1e3(this,'_lastPointer',null),this['_init']();}['_init'](){const _0x50ad64=_0x486c12;this[_0x50ad64(0x1a4)][_0x50ad64(0x370)][_0x50ad64(0x286)]((0x0,_0x21659b['takeUntil'])(this[_0x50ad64(0x389)]),(0x0,_0x21659b['switchMap'])(_0x544d38=>{const _0x335084=_0x50ad64;if(_0x544d38){let _0x4e8cce=_0x544d38[_0x335084(0x197)];return(0x0,_0x4a289e[_0x335084(0x1db)])(this[_0x335084(0x1bb)]['getCollabCursors$'](this[_0x335084(0x37f)][_0x335084(0x2f0)]),this[_0x335084(0xe9)][_0x335084(0x3b8)])[_0x335084(0x286)]((0x0,_0x21659b[_0x335084(0x397)])(([_0x5739a6,_0x2fa677])=>{const _0x2cf6d9=_0x335084;let _0x2668e4=new Map();return _0x5739a6[_0x2cf6d9(0x377)]((_0xa33950,_0x5af9ba)=>{const _0x31d74b=_0x2cf6d9;if(_0xa33950['sheetID']===_0x4e8cce){let _0x107cfb={..._0xa33950};_0x107cfb[_0x31d74b(0x1b8)]=this[_0x31d74b(0xe9)][_0x31d74b(0x220)](_0xa33950[_0x31d74b(0x1b8)]),_0x2668e4[_0x31d74b(0x1de)](_0x5af9ba,_0x107cfb);}}),{'skeleton':_0x544d38,'cursors':_0x2668e4};}));}return(0x0,_0x4a289e['of'])({'skeleton':null,'cursors':new Map()});}))[_0x50ad64(0x2df)](({skeleton:_0x2f4ead,cursors:_0x4e48c5})=>{const _0xf76e27=_0x50ad64;this[_0xf76e27(0x2fa)](),_0x2f4ead&&this[_0xf76e27(0x2b6)](_0x2f4ead,_0x4e48c5);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x50ad64(0x2df)](_0x18443c=>{const _0x735014=_0x50ad64;if(_0x18443c==null)return;let {skeleton:_0x24a58c}=_0x18443c,{scene:_0x3167a0}=this[_0x735014(0x37f)];_0x3167a0[_0x735014(0x2c9)]['subscribeEvent']((0x0,_0x3789e1[_0x735014(0x373)])(_0x4fbf28=>{const _0x296de0=_0x735014;var _0x2e1f31,_0x4202d5;let {offsetX:_0x29993a,offsetY:_0x23c54f}=_0x4fbf28,{x:_0x401955,y:_0x583c35}=_0x3167a0[_0x296de0(0x191)](_0x4b5cb2[_0x296de0(0x26f)][_0x296de0(0x10d)]([_0x29993a,_0x23c54f])),{scaleX:_0xf62b14,scaleY:_0x5863df}=_0x3167a0[_0x296de0(0x186)](),_0x2b3971=_0x3167a0[_0x296de0(0x19d)](_0x4b5cb2[_0x296de0(0x24c)]['VIEW_MAIN']),_0x4de390=_0x3167a0[_0x296de0(0x137)](_0x4b5cb2['Vector2'][_0x296de0(0x10d)]([_0x401955,_0x583c35]),_0x2b3971),_0x37e856=_0x24a58c['getCellPositionByOffset'](_0x29993a,_0x23c54f,_0xf62b14,_0x5863df,_0x4de390);((_0x2e1f31=this[_0x296de0(0x1a7)])==null?void 0x0:_0x2e1f31[_0x296de0(0x2a4)])===_0x37e856['column']&&((_0x4202d5=this['_lastPointer'])==null?void 0x0:_0x4202d5[_0x296de0(0x1a0)])===_0x37e856['row']||this[_0x296de0(0xfd)][_0x296de0(0x377)](_0x1a2ccd=>{const _0x1198d3=_0x296de0;_0x1a2ccd[_0x1198d3(0x2da)](_0x37e856);});},0x64));});}[_0x486c12(0x2b6)](_0x1e8151,_0x2ba9a1){const _0x56e68b=_0x486c12;let _0x307601=this[_0x56e68b(0x1a4)]['getCurrentSkeleton']();if(!_0x307601)return;let _0x5a1c51=this[_0x56e68b(0x341)]();if(!_0x5a1c51)return;this[_0x56e68b(0xfd)]['forEach'](_0x5480dd=>{_0x5480dd['makeDirty']();});let {scene:_0x3104bf}=_0x5a1c51,_0x922b36=_0x172d5f(Array['from'](_0x2ba9a1[_0x56e68b(0x11e)]()))[_0x56e68b(0x397)](_0x3746a9=>{const _0x23a721=_0x56e68b;let {color:_0x445a53,range:_0x3e67bc,name:_0x10d9de,selection:_0x574084,sheetID:_0x52fe64}=_0x3746a9,{startColumn:_0xf47ac9,startRow:_0x571e9b,endColumn:_0x5f296c,endRow:_0x4d5ee0}=_0x3e67bc,_0x4e1f78=(0x0,_0x35b411['getCoordByCell'])(_0x571e9b,_0xf47ac9,_0x3104bf,_0x307601),_0x2a1efc=(0x0,_0x35b411[_0x23a721(0x1ac)])(_0x4d5ee0,_0x5f296c,_0x3104bf,_0x307601),{columnHeaderHeightAndMarginTop:_0x39d5cc}=_0x307601,{startX:_0x4413f5,startY:_0x18d29c}=_0x4e1f78,{endX:_0x5042c4,endY:_0x88a6b}=_0x2a1efc,_0x1a7d5f=_0x5042c4-_0x4413f5,_0x284116=_0x88a6b-_0x18d29c;return new _0x573714(_0x10d9de,{'labelPosition':_0x18d29c-_0x39d5cc>=0x14?_0x23a721(0x39e):_0x23a721(0x104),'sheetID':_0x52fe64,'range':_0x3e67bc,'color':_0x445a53,'name':_0x10d9de,'selection':_0x574084,'left':_0x4413f5,'top':_0x18d29c,'width':_0x1a7d5f,'height':_0x284116,'evented':!0x1,'zIndex':0x1389});});_0x3104bf[_0x56e68b(0x324)](_0x922b36,0x1),this[_0x56e68b(0xfd)]=new Set(_0x922b36);}['_removeCollabCursors'](){const _0x6e67f4=_0x486c12;var _0x495fdc;(_0x495fdc=this[_0x6e67f4(0xfd)])==null||_0x495fdc['forEach'](_0x3417b8=>_0x3417b8[_0x6e67f4(0x1b4)]());}[_0x486c12(0x341)](){const _0x2d40ae=_0x486c12;return(0x0,_0x35b411[_0x2d40ae(0x335)])(this[_0x2d40ae(0x37f)][_0x2d40ae(0x264)],this['_context']);}};_0x4d3930=_0x2eed91([_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x35b411[_0x486c12(0x29b)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x59bc3e)),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x198)]))],_0x4d3930);function _0x172d5f(_0x462b4a){const _0x1c11e8=_0x486c12;let _0xa8874e=new Map();return _0x462b4a[_0x1c11e8(0x377)](_0xdd5fa7=>{const _0x5dc12a=_0x1c11e8;if(_0xa8874e[_0x5dc12a(0x35e)](_0xdd5fa7[_0x5dc12a(0x34d)])){let _0x452694=_0xa8874e[_0x5dc12a(0x114)](_0xdd5fa7[_0x5dc12a(0x34d)]);_0x452694[_0x5dc12a(0x167)]+=',\x20'+_0xdd5fa7[_0x5dc12a(0x167)];}else _0xa8874e['set'](_0xdd5fa7['selection'],_0xdd5fa7);}),Array['from'](_0xa8874e[_0x1c11e8(0x11e)]());}let _0x3bb688=class extends _0x3789e1['Disposable']{constructor(_0x28e265,_0x548d2b,_0x5da078,_0x226fe5,_0x476fd4,_0x199c42){const _0x1aa432=_0x486c12;super(),this['_beforeCloseService']=_0x28e265,this[_0x1aa432(0x395)]=_0x548d2b,this[_0x1aa432(0x3c3)]=_0x5da078,this[_0x1aa432(0x147)]=_0x226fe5,this[_0x1aa432(0x347)]=_0x476fd4,this[_0x1aa432(0x2b0)]=_0x199c42,this[_0x1aa432(0x158)](),this[_0x1aa432(0x39d)]();}[_0x486c12(0x158)](){const _0x19237b=_0x486c12;this['disposeWithMe'](this['_beforeCloseService'][_0x19237b(0x342)](()=>{const _0x58227d=_0x19237b;if(this[_0x58227d(0x395)][_0x58227d(0x22e)]['size'])return this[_0x58227d(0x2b0)]['t'](_0x58227d(0x160));}));}[_0x486c12(0x39d)](){const _0x51e10b=_0x486c12;this[_0x51e10b(0x26a)](this[_0x51e10b(0x3c3)]['event$']['subscribe'](_0x1f4207=>{const _0x1dd249=_0x51e10b;_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1d0)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x161)]&&this[_0x1dd249(0x147)]['show']({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x31b))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x32b)]&&this[_0x1dd249(0x347)][_0x1dd249(0x366)]({'title':this[_0x1dd249(0x2b0)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x1dd249(0x120),'duration':0x0}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1eb)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x31b))+'('+_0x1f4207[_0x1dd249(0x3c4)]+')'}),_0x1f4207['id']===_0x5ba2ed['CollaborationUIEventId'][_0x1dd249(0x27a)]&&this['_messageService'][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1f4207[_0x1dd249(0x3c4)]||'')}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x174)]&&this[_0x1dd249(0x147)]['show']({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this['_localeService']['t'](_0x1dd249(0x1bd))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x3b3)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x20e))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1e2)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x3c6))});}));}};_0x3bb688=_0x2eed91([_0x5dbd47(0x0,_0x28956d['IBeforeCloseService']),_0x5dbd47(0x1,_0x5ba2ed[_0x486c12(0x3a0)]),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed['CollaborationUIEventService'])),_0x5dbd47(0x3,_0x28956d[_0x486c12(0x190)]),_0x5dbd47(0x4,_0x28956d[_0x486c12(0x11d)]),_0x5dbd47(0x5,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x260)]))],_0x3bb688);let _0x529e28='collaboration-client-ui.config';Symbol(_0x529e28);let _0x157272={},_0x1dc143=class{constructor(_0x316ab1,_0x6c5b5d){const _0x324d4e=_0x486c12;this[_0x324d4e(0x10c)]=_0x316ab1,this[_0x324d4e(0x305)]=_0x6c5b5d;}[_0x486c12(0x291)](_0x30c14f){const _0x29f88d=_0x486c12;this[_0x29f88d(0x1e7)](_0x30c14f),this[_0x29f88d(0x271)](_0x30c14f);}['transformRemoteChangeset'](_0x2ffaa7){const _0x417436=_0x486c12;let {unitID:_0xfa1e24}=_0x2ffaa7,{redoCache:_0x452345}=this[_0x417436(0x305)][_0x417436(0x103)](_0xfa1e24)['with'](_0x4d692e[_0x417436(0x1ad)])[_0x417436(0x2bd)]();if(_0x452345[_0x417436(0x391)]===0x0)return _0x2ffaa7;let _0x31d3d1=_0x3789e1['Tools'][_0x417436(0x1e0)](_0x2ffaa7[_0x417436(0x29a)][0x0]);for(let _0x4d5bbc=0x0;_0x4d5bbc<_0x452345['length'];_0x4d5bbc++){let _0x32cfa2={'id':_0x417436(0x259),'params':{..._0x452345[_0x4d5bbc]}},_0x410c73=this[_0x417436(0x10c)][_0x417436(0x392)](_0x31d3d1,_0x32cfa2,!0x1);if((0x0,_0x136fe4['isTransformMutationFailure'])(_0x410c73))throw _0x410c73[_0x417436(0x120)];_0x31d3d1=_0x410c73[_0x417436(0x2fd)];}return{..._0x3789e1['Tools'][_0x417436(0x1e0)](_0x2ffaa7),'mutations':[_0x31d3d1]};}[_0x486c12(0x1e7)](_0x981f2c){const _0xcacea=_0x486c12;let {unitID:_0x3f3b40}=_0x981f2c,_0x492f6a=this[_0xcacea(0x305)][_0xcacea(0x103)](_0x3f3b40)[_0xcacea(0x2e0)](_0x4d692e['DocIMEInputManagerService']),{undoCache:_0x1355e3,redoCache:_0x35f486}=_0x492f6a[_0xcacea(0x2bd)]();if(_0x1355e3['length']===0x0||_0x35f486['length']===0x0)return;let _0x35621a=[],_0x19eb0d=[],_0x51b906=_0x3789e1[_0xcacea(0x1e4)][_0xcacea(0x1e0)](_0x981f2c[_0xcacea(0x29a)][0x0]),_0x3dfaaf=_0x3789e1['Tools'][_0xcacea(0x1e0)](_0x981f2c['mutations'][0x0]);for(let _0x43824f=_0x1355e3['length']-0x1;_0x43824f>=0x0;_0x43824f--){let _0x357152={'id':'doc.mutation.rich-text-editing','params':{..._0x1355e3[_0x43824f]}},_0x2aee85={'id':_0xcacea(0x259),'params':{..._0x35f486[_0x43824f]}},_0x24754f=this[_0xcacea(0x10c)][_0xcacea(0x392)](_0x51b906,_0x357152,!0x1),_0x5d6704=this[_0xcacea(0x10c)][_0xcacea(0x392)](_0x3dfaaf,_0x2aee85,!0x1);if((0x0,_0x136fe4[_0xcacea(0x327)])(_0x24754f))throw _0x24754f[_0xcacea(0x120)];if((0x0,_0x136fe4[_0xcacea(0x327)])(_0x5d6704))throw _0x5d6704['error'];_0x35621a[_0xcacea(0x261)](_0x24754f[_0xcacea(0x130)]['params']),_0x19eb0d[_0xcacea(0x261)](_0x5d6704[_0xcacea(0x130)][_0xcacea(0x230)]),_0x51b906=_0x24754f[_0xcacea(0x2fd)],_0x3dfaaf=_0x5d6704[_0xcacea(0x2fd)];}_0x492f6a[_0xcacea(0x358)]({'undoCache':_0x35621a,'redoCache':_0x19eb0d});}[_0x486c12(0x271)](_0x30a90c){const _0x357bfd=_0x486c12;let {unitID:_0x13dea0}=_0x30a90c,_0x414888=this[_0x357bfd(0x305)]['getRenderById'](_0x13dea0)[_0x357bfd(0x2e0)](_0x4d692e[_0x357bfd(0x1ad)]),_0x1bc9d1=_0x414888[_0x357bfd(0x323)]();if(_0x1bc9d1==null)return;let _0x154f20=[{'id':_0x357bfd(0x259),'params':{'unitId':_0x30a90c[_0x357bfd(0x164)],'actions':null,'textRanges':[_0x1bc9d1]}}],_0x504c1c=this[_0x357bfd(0x10c)][_0x357bfd(0x119)](_0x30a90c,_0x154f20);if(!(0x0,_0x136fe4[_0x357bfd(0x12e)])(_0x504c1c))throw _0x504c1c[_0x357bfd(0x120)];let _0xce8f73=_0x504c1c[_0x357bfd(0x130)][0x0]['params'][_0x357bfd(0x31a)];Array[_0x357bfd(0x18c)](_0xce8f73)&&_0xce8f73[_0x357bfd(0x391)]&&_0x414888[_0x357bfd(0x163)](_0xce8f73[0x0]);}};_0x1dc143=_0x2eed91([_0x5dbd47(0x0,_0x136fe4[_0x486c12(0x1af)]),_0x5dbd47(0x1,_0x4b5cb2[_0x486c12(0xf0)])],_0x1dc143);let _0x4e2c0d=class{constructor(_0x27d192,_0x30d9a4,_0xf15f23){const _0xd152ed=_0x486c12;this[_0xd152ed(0x2bb)]=_0x27d192,this[_0xd152ed(0x10c)]=_0x30d9a4,this[_0xd152ed(0x21f)]=_0xf15f23;}[_0x486c12(0x3ba)](_0x9e0321){const _0x374891=_0x486c12;this[_0x374891(0x138)](_0x9e0321);}[_0x486c12(0x2b1)](_0x83b2ae){const _0x1b73d7=_0x486c12;let {unitID:_0x311984}=_0x83b2ae,{collaboration:_0x44e473}=this[_0x1b73d7(0x21f)][_0x1b73d7(0x1a6)](_0x311984);if(_0x44e473[_0x1b73d7(0x391)]===0x0)return _0x83b2ae;let _0x4d014c=_0x3789e1[_0x1b73d7(0x1e4)][_0x1b73d7(0x1e0)](_0x83b2ae[_0x1b73d7(0x29a)][0x0]);for(let _0x13616d=0x0;_0x13616d<_0x44e473['length'];_0x13616d++){let _0x1edf21={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x44e473[_0x13616d][_0x1b73d7(0x2f0)],..._0x44e473[_0x13616d][_0x1b73d7(0x233)]}},_0x2c024b=this[_0x1b73d7(0x10c)]['transformMutation'](_0x4d014c,_0x1edf21,!0x1);if((0x0,_0x136fe4[_0x1b73d7(0x327)])(_0x2c024b))throw _0x2c024b[_0x1b73d7(0x120)];_0x4d014c=_0x2c024b['m1Prime'];}return{..._0x3789e1['Tools']['deepClone'](_0x83b2ae),'mutations':[_0x4d014c]};}['_transformHistoryAndStateStack'](_0x9ed3b8){const _0x2de605=_0x486c12;let {unitID:_0x53c774}=_0x9ed3b8,{history:_0x37fb20,collaboration:_0x342682}=this[_0x2de605(0x21f)][_0x2de605(0x1a6)](_0x53c774);if(_0x37fb20[_0x2de605(0x391)]===0x0&&_0x342682[_0x2de605(0x391)]===0x0)return;let _0x20c38a=[],_0x482565=[],_0x41df6e=_0x3789e1['Tools'][_0x2de605(0x1e0)](_0x9ed3b8[_0x2de605(0x29a)][0x0]),_0x36b6ed=_0x3789e1[_0x2de605(0x1e4)][_0x2de605(0x1e0)](_0x9ed3b8[_0x2de605(0x29a)][0x0]);for(let _0x5f4282=_0x37fb20[_0x2de605(0x391)]-0x1;_0x5f4282>=0x0;_0x5f4282--){let _0x550fec={'id':_0x2de605(0x259),'params':{'unitId':_0x37fb20[_0x5f4282][_0x2de605(0x2f0)],..._0x37fb20[_0x5f4282][_0x2de605(0x3a6)]}},_0x3e4b1d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37fb20[_0x5f4282][_0x2de605(0x2f0)],..._0x37fb20[_0x5f4282][_0x2de605(0x233)]}},_0x285154=this['_transformService'][_0x2de605(0x392)](_0x41df6e,_0x550fec,!0x1),_0x4699b1=this['_transformService']['transformMutation'](_0x36b6ed,_0x3e4b1d,!0x1);if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x285154))throw _0x285154[_0x2de605(0x120)];if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x4699b1))throw _0x4699b1[_0x2de605(0x120)];_0x20c38a[_0x2de605(0x261)]({..._0x37fb20[_0x5f4282],'undoState':_0x285154[_0x2de605(0x130)][_0x2de605(0x230)],'redoState':_0x4699b1[_0x2de605(0x130)][_0x2de605(0x230)]}),_0x41df6e=_0x285154['m1Prime'],_0x36b6ed=_0x4699b1['m1Prime'];}_0x41df6e=_0x3789e1[_0x2de605(0x1e4)][_0x2de605(0x1e0)](_0x9ed3b8['mutations'][0x0]),_0x36b6ed=_0x3789e1[_0x2de605(0x1e4)]['deepClone'](_0x9ed3b8[_0x2de605(0x29a)][0x0]);for(let _0xd0ab15=_0x342682[_0x2de605(0x391)]-0x1;_0xd0ab15>=0x0;_0xd0ab15--){let _0x587335={'id':_0x2de605(0x259),'params':{'unitId':_0x342682[_0xd0ab15][_0x2de605(0x2f0)],..._0x342682[_0xd0ab15][_0x2de605(0x3a6)]}},_0x2cb1ae={'id':_0x2de605(0x259),'params':{'unitId':_0x342682[_0xd0ab15][_0x2de605(0x2f0)],..._0x342682[_0xd0ab15][_0x2de605(0x233)]}},_0x4a3bde=this[_0x2de605(0x10c)]['transformMutation'](_0x41df6e,_0x587335,!0x1),_0x5054d8=this['_transformService']['transformMutation'](_0x36b6ed,_0x2cb1ae,!0x1);if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x4a3bde))throw _0x4a3bde['error'];if((0x0,_0x136fe4['isTransformMutationFailure'])(_0x5054d8))throw _0x5054d8[_0x2de605(0x120)];_0x482565['unshift']({..._0x342682[_0xd0ab15],'undoState':_0x4a3bde[_0x2de605(0x130)][_0x2de605(0x230)],'redoState':_0x5054d8[_0x2de605(0x130)][_0x2de605(0x230)]}),_0x41df6e=_0x4a3bde['m1Prime'],_0x36b6ed=_0x5054d8[_0x2de605(0x2fd)];}this['_docStateChangeManagerService']['setStateCache'](_0x53c774,{'history':_0x20c38a,'collaboration':_0x482565});}};_0x4e2c0d=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,_0x136fe4['ITransformService']),_0x5dbd47(0x2,(0x0,_0x3789e1['Inject'])(_0x4d692e[_0x486c12(0x15a)]))],_0x4e2c0d);let _0x115b18=class{constructor(_0x99f86e,_0x4ae26d){const _0xe3756c=_0x486c12;this[_0xe3756c(0x2bb)]=_0x99f86e,this[_0xe3756c(0x10c)]=_0x4ae26d;}[_0x486c12(0x169)](_0x28294b){const _0x33de51=_0x486c12;var _0x4ea723;let _0x5b48d9=this[_0x33de51(0x2bb)][_0x33de51(0x114)](_0x43a715[_0x33de51(0x250)]),_0x57a36f=(_0x4ea723=_0x5b48d9['getDocRanges']())==null?[]:_0x4ea723;if(_0x57a36f['length']===0x0)return;let _0x2d7aa=_0x28294b[_0x33de51(0x164)],_0x554c4e=[{'id':_0x33de51(0x259),'params':{'unitId':_0x2d7aa,'actions':null,'textRanges':_0x57a36f}}],_0x730645=this[_0x33de51(0x10c)][_0x33de51(0x119)](_0x28294b,_0x554c4e);if(!(0x0,_0x136fe4[_0x33de51(0x12e)])(_0x730645))throw _0x730645[_0x33de51(0x120)];let _0x4756d8=_0x730645[_0x33de51(0x130)][0x0][_0x33de51(0x230)]['textRanges'];Array['isArray'](_0x4756d8)&&_0x4756d8[_0x33de51(0x391)]&&_0x5b48d9[_0x33de51(0x306)](_0x4756d8,{'unitId':_0x2d7aa,'subUnitId':_0x2d7aa},!0x1);}};_0x115b18=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,_0x136fe4[_0x486c12(0x1af)])],_0x115b18);let _0x27249b=class extends _0x3789e1['Disposable']{constructor(_0x3e5bf8,_0x5c57c7,_0x4a4265,_0x4c5283,_0x5edf8f,_0x110aca,_0x4efb86,_0x1248ec){const _0x164e76=_0x486c12;super(),this[_0x164e76(0x21f)]=_0x3e5bf8,this[_0x164e76(0xe5)]=_0x5c57c7,this[_0x164e76(0x2ec)]=_0x4a4265,this[_0x164e76(0x2b2)]=_0x4c5283,this[_0x164e76(0x157)]=_0x5edf8f,this['_docSyncEditingCollabCursorService']=_0x110aca,this[_0x164e76(0x147)]=_0x4efb86,this[_0x164e76(0x2b0)]=_0x1248ec,_0x28a1e3(this,'_status$',new _0x4a289e[(_0x164e76(0x13f))](_0x5ba2ed[_0x164e76(0x290)][_0x164e76(0x1ef)])),this[_0x164e76(0x11a)]();}[_0x486c12(0x11a)](){const _0xe1a8da=_0x486c12;this[_0xe1a8da(0x26a)](this[_0xe1a8da(0xe5)][_0xe1a8da(0x11f)][_0xe1a8da(0x2df)](_0x411399=>{const _0x520906=_0xe1a8da;let _0x116ad3=this[_0x520906(0x21f)][_0x520906(0x17e)][_0x520906(0x2df)](_0x1ba696=>{const _0x528465=_0x520906;if(_0x1ba696==null)return;let {unitId:_0x455bf1,redoState:_0x12e489,commandId:_0x100191}=_0x1ba696;if(_0x455bf1!==_0x411399[_0x528465(0x164)])return;let _0x2f8095={'id':_0x100191,'type':_0x3789e1['CommandType']['MUTATION'],'params':{'unitId':_0x455bf1,'actions':_0x12e489[_0x528465(0x2e7)],'textRanges':null}};_0x411399[_0x528465(0x199)](_0x2f8095);});_0x411399['disposeWithMe'](_0x116ad3),_0x411399 instanceof _0x5ba2ed[_0x520906(0x2a5)]&&_0x411399['addHandlerCallback']({'onTransformIME':_0x889800=>this[_0x520906(0x2ec)][_0x520906(0x291)](_0x889800),'onTransformState':_0x347202=>this[_0x520906(0x2b2)][_0x520906(0x3ba)](_0x347202),'onTransformSelections':_0x5a92f0=>this[_0x520906(0x157)][_0x520906(0x169)](_0x5a92f0),'onSyncEditingCollabCursor':_0x458f6d=>this[_0x520906(0x1a5)][_0x520906(0x16b)](_0x458f6d),'onTransformRemoteChangesetByIMECache':_0x320201=>this[_0x520906(0x2ec)][_0x520906(0x2b1)](_0x320201),'onTransformRemoteChangesetByStateCache':_0x3ff69e=>this[_0x520906(0x2b2)][_0x520906(0x2b1)](_0x3ff69e)});}));}};_0x27249b=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x4d692e[_0x486c12(0x15a)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x19a)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x1dc143)),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x4e2c0d)),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x115b18)),_0x5dbd47(0x5,(0x0,_0x3789e1['Inject'])(_0xb4d8f5)),_0x5dbd47(0x6,_0x28956d[_0x486c12(0x190)]),_0x5dbd47(0x7,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x260)]))],_0x27249b);let _0x558a6b=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x3c6f07,_0x40d970,_0x555e97,_0xe099e1){const _0x2c6d3b=_0x486c12;super(),this[_0x2c6d3b(0x2bb)]=_0x3c6f07,this[_0x2c6d3b(0x24b)]=_0x40d970,this[_0x2c6d3b(0x3bc)]=_0x555e97,this[_0x2c6d3b(0x254)]=_0xe099e1,_0x28a1e3(this,_0x2c6d3b(0x142),void 0x0),this['_init']();}[_0x486c12(0x184)](){const _0x2729a2=_0x486c12;this['_initWindowErrorListener'](),this[_0x2729a2(0x38d)](),this[_0x2729a2(0x32d)](),this[_0x2729a2(0x2ba)]();}[_0x486c12(0x2ba)](){const _0x1a1432=_0x486c12;this[_0x1a1432(0x26a)](this['_collaborationSessionService']['socket$'][_0x1a1432(0x2df)](_0x48041f=>{const _0x3d44f8=_0x1a1432;this[_0x3d44f8(0x142)]=_0x48041f==null?void 0x0:_0x48041f['memberID'];}));}[_0x486c12(0x27c)](){const _0x11f724=_0x486c12;let _0x5dd5dd=_0x5d125b=>{const _0x5d97b6=_0x3eb0;var _0x12bec3;this[_0x5d97b6(0x2c3)]('error',_0x5d97b6(0x33e)+_0x5d125b[_0x5d97b6(0x1b5)]+_0x5d97b6(0x35b)+_0x5d125b[_0x5d97b6(0x1e8)]+':'+_0x5d125b[_0x5d97b6(0x1c3)]+':'+_0x5d125b['colno']+'\x0a'+(((_0x12bec3=_0x5d125b[_0x5d97b6(0x120)])==null?void 0x0:_0x12bec3[_0x5d97b6(0x2d1)])||''));};window[_0x11f724(0x19f)](_0x11f724(0x120),_0x5dd5dd),this[_0x11f724(0x26a)](()=>{const _0x3d00b2=_0x11f724;window[_0x3d00b2(0x3c8)](_0x3d00b2(0x120),_0x5dd5dd);});}[_0x486c12(0x38d)](){const _0x3db13f=_0x486c12;let _0x12d373=_0x469d6d=>{const _0x4ed178=_0x3eb0;this[_0x4ed178(0x2c3)](_0x4ed178(0x120),_0x4ed178(0x1cb)+_0x469d6d[_0x4ed178(0x22b)]);};window[_0x3db13f(0x19f)](_0x3db13f(0x105),_0x12d373),this[_0x3db13f(0x26a)](()=>{const _0x2d0a6d=_0x3db13f;window[_0x2d0a6d(0x3c8)](_0x2d0a6d(0x105),_0x12d373);});}[_0x486c12(0x32d)](){const _0x5e8175=_0x486c12;let _0x103845=this[_0x5e8175(0x3bc)][_0x5e8175(0x120)]['bind'](this[_0x5e8175(0x3bc)]);this[_0x5e8175(0x3bc)][_0x5e8175(0x120)]=(..._0x337617)=>{const _0x51b125=_0x5e8175;let _0x56cdf1=_0x337617[_0x51b125(0x397)](_0x21e969=>_0x21e969 instanceof Error?_0x21e969[_0x51b125(0x1b5)]+'\x0a'+_0x21e969['stack']:String(_0x21e969))[_0x51b125(0x313)]('\x20');this['_uploadLog'](_0x51b125(0x120),_0x51b125(0x287)+_0x56cdf1),_0x103845(..._0x337617);},this['disposeWithMe'](()=>{const _0x3c3917=_0x5e8175;this[_0x3c3917(0x3bc)][_0x3c3917(0x120)]=_0x103845;});}['_uploadLog'](_0x332185,_0x3452ea){const _0x129fd0=_0x486c12;try{let _0x24d2d9={'userId':this[_0x129fd0(0x142)],'logLabel':_0x332185,'content':_0x3452ea};this['_httpService'][_0x129fd0(0x368)](_0x129fd0(0x132),{'body':_0x24d2d9})[_0x129fd0(0x2e4)](()=>{});}catch{}}};_0x558a6b=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2[_0x486c12(0x1a9)])),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x2b9)]),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x128)]))],_0x558a6b);function _0x41a53b(_0xfb89fd){const _0x333910=_0x486c12;var _0x35dca6,_0x2d1e52;let _0x1f75ea=(_0x35dca6=_0xfb89fd[_0x333910(0x240)])==null?void 0x0:_0x35dca6[_0x333910(0x3af)],_0x24c6e8=((_0x2d1e52=_0xfb89fd[_0x333910(0x240)])==null?void 0x0:_0x2d1e52[_0x333910(0x1f0)])||0x0;return _0x1f75ea===_0x12c154[_0x333910(0x37c)][_0x333910(0x2b3)]&&_0x24c6e8>0x0;}function _0x30afc0(_0xa7bf90){const _0x3e2292=_0x486c12;return _0xa7bf90[_0x3e2292(0x100)]===_0x12c154['FormulaExecutedStateType'][_0x3e2292(0x267)];}let _0x3c0988=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x5ccb1b,_0x59a544,_0x4358ad,_0x1dcd3c,_0x358c22,_0x481255,_0x4b8e61){const _0x3a4425=_0x486c12;super(),this[_0x3a4425(0x147)]=_0x5ccb1b,this[_0x3a4425(0x3ac)]=_0x59a544,this[_0x3a4425(0x2f7)]=_0x4358ad,this['_httpService']=_0x1dcd3c,this[_0x3a4425(0x13d)]=_0x358c22,this[_0x3a4425(0x3bc)]=_0x481255,this['_localeService']=_0x4b8e61,_0x28a1e3(this,_0x3a4425(0x39f),null),_0x28a1e3(this,_0x3a4425(0x388),0x0),_0x28a1e3(this,_0x3a4425(0x1c7),0x0),_0x28a1e3(this,_0x3a4425(0xf4),[]),_0x28a1e3(this,_0x3a4425(0x269),0x0),this[_0x3a4425(0x38e)]();}[_0x486c12(0x38e)](){const _0x5f0ea2=_0x486c12;this[_0x5f0ea2(0x26a)](this[_0x5f0ea2(0x3ac)][_0x5f0ea2(0x1fc)]((_0x305dc2,_0xd91981)=>{const _0x15ec04=_0x5f0ea2;var _0x45f92a;if(_0x305dc2['id']!==_0x12c154[_0x15ec04(0x11c)]['id'])return;let _0x140b2f=_0x305dc2[_0x15ec04(0x230)];if(this['_hasFormulaInDirtyRanges']((_0x45f92a=_0x140b2f[_0x15ec04(0x2a7)])==null?[]:_0x45f92a)&&!this[_0x15ec04(0x2e1)]())throw this[_0x15ec04(0x21e)](_0x305dc2,_0xd91981),this[_0x15ec04(0x178)](),new _0x3789e1['CanceledError']();})),this[_0x5f0ea2(0x26a)](this[_0x5f0ea2(0x3ac)]['onCommandExecuted']((_0x4581b3,_0x2c1f5d)=>{const _0x395327=_0x5f0ea2;if(_0x4581b3['id']!==_0x12c154['SetFormulaCalculationNotificationMutation']['id'])return;let _0x5a954d=_0x4581b3[_0x395327(0x230)];if(_0x41a53b(_0x5a954d)){let _0x85e801=(0x0,_0x3789e1[_0x395327(0x211)])();this[_0x395327(0xf4)]['push'](_0x85e801),this['_startCalculationLimit'](_0x85e801);}else{if(_0x30afc0(_0x5a954d)&&this['_taskIds'][_0x395327(0x391)]>0x0){let _0x50a7c5=this['_taskIds'][_0x395327(0x108)]();this[_0x395327(0xe2)](_0x50a7c5);}}}));}['dispose'](){const _0x2ecfe0=_0x486c12;super['dispose'](),this[_0x2ecfe0(0x1c8)](),this[_0x2ecfe0(0xf4)]=[],this[_0x2ecfe0(0x1c7)]=0x0,this[_0x2ecfe0(0x388)]=0x0,this[_0x2ecfe0(0x269)]=0x0;}async[_0x486c12(0x21e)](_0x262399,_0xb6cf1c){const _0x1dba60=_0x486c12;for(let _0x574ebf=0x0;_0x574ebf<0x1e;_0x574ebf++)try{if(await this[_0x1dba60(0x26b)](),this[_0x1dba60(0x2e1)]()){this[_0x1dba60(0x243)](_0x262399,_0xb6cf1c),this[_0x1dba60(0x147)][_0x1dba60(0x366)]({'content':this['_localeService']['t'](_0x1dba60(0x173)),'type':_0x239455[_0x1dba60(0x30b)][_0x1dba60(0x318)]});return;}await new Promise(_0x267921=>{const _0x26160a=_0x1dba60;this[_0x26160a(0x39f)]=window['setTimeout'](_0x267921,0x3e8);});}catch(_0x438bc5){this[_0x1dba60(0x3bc)]['error'](_0x438bc5);}this['_messageService'][_0x1dba60(0x366)]({'content':this['_localeService']['t'](_0x1dba60(0x2d3)),'type':_0x239455[_0x1dba60(0x30b)][_0x1dba60(0x16a)]});}[_0x486c12(0x243)](_0x15f251,_0x133396){const _0xe7df52=_0x486c12;try{this['_commandService']['executeCommand'](_0x15f251['id'],_0x15f251['params'],_0x133396);}catch(_0x284dd3){this['_logService'][_0xe7df52(0x120)](_0x284dd3);}}[_0x486c12(0x363)](_0x548c07,_0x13a9ba){const _0x541435=_0x486c12;_0x13a9ba<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x13a9ba,this[_0x541435(0x388)]=Number[_0x541435(0x281)](_0x548c07[_0x541435(0x336)]),this['_currentUsage']=Number[_0x541435(0x281)](_0x548c07[_0x541435(0x20f)]));}async[_0x486c12(0x393)](_0x1d0c00){const _0x1d3c2d=_0x486c12;let _0x4eaf65=Date['now']();try{var _0x12470d,_0x184031;let _0x5b35c0=((_0x12470d=this[_0x1d3c2d(0x2f7)]['getConfig'](_0x5ba2ed[_0x1d3c2d(0x275)]))==null?void 0x0:_0x12470d[_0x1d3c2d(0x15b)])||_0x1d3c2d(0x308),_0x547230=(await this['_httpService']['post'](_0x5b35c0,{'body':JSON[_0x1d3c2d(0x374)]({'taskId':_0x1d0c00})}))[_0x1d3c2d(0x1a1)];if(((_0x184031=_0x547230['error'])==null?void 0x0:_0x184031[_0x1d3c2d(0x379)])!==_0x53e205[_0x1d3c2d(0x314)]['OK'])return;this[_0x1d3c2d(0x363)](_0x547230[_0x1d3c2d(0x13b)],_0x4eaf65);}catch(_0xb2e5db){this[_0x1d3c2d(0x3bc)][_0x1d3c2d(0x120)](_0xb2e5db);}}async[_0x486c12(0x26b)](_0x686d5f){const _0xcd475c=_0x486c12;let _0x4792ac=Date['now']();try{var _0x213fb7,_0x3c6e0c;let _0xd797c8=((_0x213fb7=this[_0xcd475c(0x2f7)][_0xcd475c(0x172)](_0x5ba2ed[_0xcd475c(0x275)]))==null?void 0x0:_0x213fb7[_0xcd475c(0x19b)])||_0xcd475c(0x355),_0x31000d=_0x686d5f?_0xd797c8+_0xcd475c(0x102)+encodeURIComponent(_0x686d5f):_0xd797c8,_0x461b68=(await this['_httpService'][_0xcd475c(0x114)](_0x31000d))[_0xcd475c(0x1a1)];if(((_0x3c6e0c=_0x461b68[_0xcd475c(0x120)])==null?void 0x0:_0x3c6e0c[_0xcd475c(0x379)])!==_0x53e205[_0xcd475c(0x314)]['OK'])return;this[_0xcd475c(0x363)](_0x461b68[_0xcd475c(0x13b)],_0x4792ac);}catch(_0x3b7f9e){this[_0xcd475c(0x3bc)]['error'](_0x3b7f9e);}}async[_0x486c12(0xe2)](_0x49ff96){const _0x41e0f3=_0x486c12;let _0x5bb5f9=Date[_0x41e0f3(0x2a0)]();try{var _0x11a615,_0x3faf12;let _0x16320a=((_0x11a615=this[_0x41e0f3(0x2f7)]['getConfig'](_0x5ba2ed[_0x41e0f3(0x275)]))==null?void 0x0:_0x11a615[_0x41e0f3(0x140)])||'/universer-api/license/formula/limit/done',_0x5b1c9d=(await this[_0x41e0f3(0x24b)][_0x41e0f3(0x368)](_0x16320a,{'body':JSON[_0x41e0f3(0x374)]({'taskId':_0x49ff96})}))['body'];if(((_0x3faf12=_0x5b1c9d['error'])==null?void 0x0:_0x3faf12[_0x41e0f3(0x379)])!==_0x53e205[_0x41e0f3(0x314)]['OK'])return;this[_0x41e0f3(0x363)](_0x5b1c9d[_0x41e0f3(0x13b)],_0x5bb5f9);}catch(_0x3b3096){this[_0x41e0f3(0x3bc)][_0x41e0f3(0x120)](_0x3b3096);}}[_0x486c12(0x2e1)](){const _0x24b62a=_0x486c12;return this[_0x24b62a(0x388)]===0x0?!0x0:this[_0x24b62a(0x388)]-this[_0x24b62a(0x1c7)]>0x0;}[_0x486c12(0x1c8)](){const _0x5d0264=_0x486c12;this[_0x5d0264(0x39f)]&&(clearTimeout(this['_pollingInterval']),this[_0x5d0264(0x39f)]=null);}[_0x486c12(0x178)](){const _0x5ef60c=_0x486c12;this[_0x5ef60c(0x147)][_0x5ef60c(0x366)]({'content':this['_localeService']['t'](_0x5ef60c(0x2b4)),'type':_0x239455[_0x5ef60c(0x30b)][_0x5ef60c(0x229)]});}[_0x486c12(0x2c4)](_0x2f40aa){const _0x58e4fc=_0x486c12;for(let _0x4eafe8 of _0x2f40aa){let {unitId:_0x434404,sheetId:_0xe2e04c,range:_0x5a7316}=_0x4eafe8,_0xe23547=this['_univerInstanceService'][_0x58e4fc(0x22f)](_0x434404);if(!_0xe23547)continue;let _0x49629e=_0xe23547['getSheetBySheetId'](_0xe2e04c);if(!_0x49629e)continue;let _0x1c9777=_0x49629e[_0x58e4fc(0x115)]();for(let _0x428936=_0x5a7316[_0x58e4fc(0x116)];_0x428936<=_0x5a7316[_0x58e4fc(0x1ab)];_0x428936++)for(let _0x791ad8=_0x5a7316['startColumn'];_0x791ad8<=_0x5a7316['endColumn'];_0x791ad8++){let _0x21895d=_0x1c9777[_0x58e4fc(0x226)](_0x428936,_0x791ad8);if(_0x21895d&&((0x0,_0x3789e1['isFormulaString'])(_0x21895d['f'])||(0x0,_0x3789e1[_0x58e4fc(0x1ca)])(_0x21895d['si'])))return!0x0;}}return!0x1;}};_0x3c0988=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x28956d[_0x486c12(0x190)])),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2[_0x486c12(0x1a9)])),_0x5dbd47(0x4,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x5,_0x3789e1['ILogService']),_0x5dbd47(0x6,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1['LocaleService']))],_0x3c0988);let _0x49419b=class extends _0x3789e1['Disposable']{constructor(_0x346635,_0x507546,_0x1423a4){const _0x3117e2=_0x486c12;super(),this[_0x3117e2(0x2f7)]=_0x346635,this['_localStorageService']=_0x507546,this['_revisionService']=_0x1423a4,_0x28a1e3(this,_0x3117e2(0x204),new Map()),_0x28a1e3(this,_0x3117e2(0x1cc),new Map()),_0x28a1e3(this,_0x3117e2(0xea),!0x1);}['disableLocalCache'](){const _0x299471=_0x486c12;this[_0x299471(0xea)]=!0x0;}['enableLocalCache'](){const _0x3838d3=_0x486c12;this[_0x3838d3(0xea)]=!0x1;}get[_0x486c12(0x22e)](){const _0x210bb0=_0x486c12;return this[_0x210bb0(0x1cc)];}[_0x486c12(0x1b4)](){const _0x32421f=_0x486c12;this[_0x32421f(0x1f8)]()['then'](()=>super[_0x32421f(0x1b4)]());}async[_0x486c12(0x17a)](_0x2a4257){const _0xfe53a7=_0x486c12;return this[_0xfe53a7(0xea)]?null:this['_localStorageService'][_0xfe53a7(0x1a3)]((0x0,_0x5ba2ed['getLocalCacheKey'])(_0x2a4257));}async[_0x486c12(0x32a)](_0x4b1ab9,_0x54b9f7){return!!this['_localStorageService']['setItem'](_0x4b1ab9,_0x54b9f7);}[_0x486c12(0x14a)](_0x53b4c3,_0x1d8705,_0x5cdca9,_0x381cad){const _0x54ddb5=_0x486c12;let _0x2e3cd9=this[_0x54ddb5(0x384)]['getCurrentRevOfUnit'](_0x53b4c3);this[_0x54ddb5(0x204)]['set'](_0x53b4c3,{'unitID':_0x53b4c3,'type':_0x1d8705,'awaitingChangeset':_0x5cdca9,'mutations':_0x381cad,'rev':_0x2e3cd9}),this[_0x54ddb5(0x1cc)][_0x54ddb5(0x35e)](_0x53b4c3)||this[_0x54ddb5(0x1cf)](_0x53b4c3);}[_0x486c12(0x1cf)](_0x245429){const _0x3b3194=_0x486c12;let _0x19e80f=this['_getSaveTimeout']();_0x19e80f===0x0?this['_saveCache'](_0x245429):this[_0x3b3194(0x1cc)][_0x3b3194(0x1de)](_0x245429,setTimeout(()=>this[_0x3b3194(0xf5)](_0x245429),_0x19e80f));}[_0x486c12(0xfa)](){const _0xe35530=_0x486c12;var _0x19a71c;return(_0x19a71c=this['_configService'][_0xe35530(0x172)](_0x5ba2ed[_0xe35530(0x3a4)]))==null?_0x5ba2ed[_0xe35530(0x194)]:_0x19a71c;}[_0x486c12(0xf5)](_0x39367a){const _0x23a805=_0x486c12;let _0x5a18c0=this[_0x23a805(0x1cc)][_0x23a805(0x114)](_0x39367a);return _0x5a18c0!==void 0x0&&window[_0x23a805(0x2bf)](_0x5a18c0),this['_localStorageService'][_0x23a805(0x3a5)]((0x0,_0x5ba2ed['getLocalCacheKey'])(_0x39367a),this[_0x23a805(0x204)]['get'](_0x39367a))[_0x23a805(0x2d5)](()=>this[_0x23a805(0x1cc)][_0x23a805(0x26e)](_0x39367a));}async[_0x486c12(0x1f8)](){const _0x4e8654=_0x486c12;let _0x220d2e=[];this[_0x4e8654(0x1cc)][_0x4e8654(0x377)]((_0x2ec676,_0x2392c4)=>{const _0x2d5642=_0x4e8654;window['clearTimeout'](_0x2ec676),_0x220d2e[_0x2d5642(0x1d9)](this[_0x2d5642(0xf5)](_0x2392c4)[_0x2d5642(0x2d5)](()=>{const _0x5e2b8e=_0x2d5642;this[_0x5e2b8e(0x1cc)][_0x5e2b8e(0x26e)](_0x2392c4);}));}),await Promise[_0x4e8654(0x1fa)](_0x220d2e);}};_0x49419b=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x208)]),_0x5dbd47(0x2,(0x0,_0x3789e1['Inject'])(_0x136fe4[_0x486c12(0x2b5)]))],_0x49419b);var _0x5b0485=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(){const _0x4fa941=_0x486c12;super(),_0x28a1e3(this,_0x4fa941(0x23f),void 0x0),this[_0x4fa941(0x23f)]=(0x0,_0x4a289e[_0x4fa941(0x135)])(window,_0x4fa941(0x343))['pipe']((0x0,_0x4a289e['takeUntil'])(this['dispose$']),(0x0,_0x4a289e[_0x4fa941(0x175)])(0x1),(0x0,_0x4a289e[_0x4fa941(0x192)])(void 0x0));}[_0x486c12(0x1d5)](_0x560112,_0x3f6c19,_0x14129e=!0x1){const _0x60e71d=_0x486c12;let _0x35a2fa=new URL(window[_0x60e71d(0x34f)][_0x60e71d(0x185)]);_0x35a2fa['searchParams']['set'](_0x560112,_0x3f6c19),_0x14129e?window[_0x60e71d(0x1a8)][_0x60e71d(0x360)]('','',_0x35a2fa[_0x60e71d(0x22c)]()):window[_0x60e71d(0x1a8)][_0x60e71d(0x109)]('','',_0x35a2fa[_0x60e71d(0x22c)]());}['removeParam'](_0x21ecf7,_0x39176f=!0x1){const _0x25f08e=_0x486c12;let _0x52cf29=new URL(window[_0x25f08e(0x34f)][_0x25f08e(0x185)]);_0x52cf29[_0x25f08e(0x33c)][_0x25f08e(0x26e)](_0x21ecf7),_0x39176f?window[_0x25f08e(0x1a8)]['replaceState']('','',_0x52cf29[_0x25f08e(0x22c)]()):window[_0x25f08e(0x1a8)][_0x25f08e(0x109)]('','',_0x52cf29['toString']());}['getParam'](_0x46710a){const _0x513557=_0x486c12;var _0x2bea5e;return(_0x2bea5e=new URL(window[_0x513557(0x34f)][_0x513557(0x185)])[_0x513557(0x33c)][_0x513557(0x114)](_0x46710a))==null?void 0x0:_0x2bea5e;}};let _0x4c8995=class extends _0x3789e1['Plugin']{constructor(_0x334f78=_0x157272,_0x3785,_0x3c3d32,_0x28af26){const _0x9c7c45=_0x486c12;super(),this[_0x9c7c45(0xfb)]=_0x334f78,this[_0x9c7c45(0x305)]=_0x3785,this[_0x9c7c45(0x2bb)]=_0x3c3d32,this['_configService']=_0x28af26;let {..._0x591ac8}=(0x0,_0x3789e1[_0x9c7c45(0x101)])({},_0x157272,this[_0x9c7c45(0xfb)]);this[_0x9c7c45(0x2f7)]['setConfig'](_0x529e28,_0x591ac8);}[_0x486c12(0x38a)](){const _0x338265=_0x486c12;this[_0x338265(0xf7)](),this[_0x338265(0x1b3)]();}[_0x486c12(0x234)](){const _0x480da0=_0x486c12;this[_0x480da0(0x16f)]();}[_0x486c12(0xf7)](){const _0x4dea67=_0x486c12;var _0x83d2a0;let _0x1aa8d7=[[_0x3e01b5],[_0x3c0988],[_0x115b18],[_0x1dc143],[_0x4e2c0d],[_0xb4d8f5],[_0x1b48a9,{'useClass':_0x5b0485}],[_0x2ccad2[_0x4dea67(0x181)],{'useClass':_0x2ccad2[_0x4dea67(0x2f4)]}],[_0x5ba2ed[_0x4dea67(0x3a0)],{'useClass':_0x49419b}],[_0x2f2efb],[_0x27249b],[_0x3bb688],[_0x59bc3e],[_0x560036],[_0xe6e34a]];this['_config'][_0x4dea67(0x17b)]&&_0x1aa8d7[_0x4dea67(0x1d9)]([_0x558a6b]),(0x0,_0x3789e1[_0x4dea67(0x2e8)])(this[_0x4dea67(0x2bb)],(0x0,_0x3789e1[_0x4dea67(0x298)])(_0x1aa8d7,(_0x83d2a0=this[_0x4dea67(0xfb)])==null?void 0x0:_0x83d2a0[_0x4dea67(0x215)]));}[_0x486c12(0x16f)](){const _0x397303=_0x486c12;this[_0x397303(0x26a)](this[_0x397303(0x305)]['registerRenderModule'](_0x3789e1['UniverInstanceType'][_0x397303(0x2a1)],[_0x8c0b72])),this[_0x397303(0x26a)](this['_renderManagerService']['registerRenderModule'](_0x3789e1[_0x397303(0x246)]['UNIVER_SHEET'],[_0x4d3930]));}['_initDependencies'](){const _0x554a4c=_0x486c12;(0x0,_0x3789e1[_0x554a4c(0x296)])(this[_0x554a4c(0x2bb)],[[_0x59bc3e],[_0x2f2efb],[_0x27249b],[_0x3bb688],[_0xe6e34a],[_0x3c0988]]),this[_0x554a4c(0xfb)][_0x554a4c(0x17b)]&&(0x0,_0x3789e1['touchDependencies'])(this[_0x554a4c(0x2bb)],[[_0x558a6b]]);}};_0x28a1e3(_0x4c8995,_0x486c12(0x2d9),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x28a1e3(_0x4c8995,_0x486c12(0x10f),_0x606168),_0x28a1e3(_0x4c8995,_0x486c12(0x3ab),_0x34f54e),_0x4c8995=_0x2eed91([(0x0,_0x3789e1[_0x486c12(0x1d2)])(_0x5ba2ed[_0x486c12(0x334)]),_0x5dbd47(0x1,_0x4b5cb2[_0x486c12(0xf0)]),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,_0x3789e1[_0x486c12(0x24d)])],_0x4c8995);let _0x7679a8=class extends _0x5ba2ed[_0x486c12(0x1c2)]{constructor(_0x47d284,_0x788eb1,_0x2f8fd8,_0x37c9c8,_0x22d01c){super(_0x47d284,_0x788eb1,_0x2f8fd8,_0x37c9c8,_0x22d01c);}async[_0x486c12(0x122)](_0x140943){const _0x438b1c=_0x486c12;let _0x5cc25e=await this['_getSessionTicket'](),_0x38630b=this[_0x438b1c(0xf9)](_0x140943,_0x5cc25e);return this['_doCreateSocket'](_0x38630b);}['_createSocketURL'](_0x59f37c,_0x5beb49){const _0x3504b9=_0x486c12;let _0x147e2c=typeof window>'u'?new URL(_0x59f37c):new URL(_0x59f37c,window['location'][_0x3504b9(0x2cc)]);_0x147e2c['searchParams'][_0x3504b9(0x1de)](_0x3504b9(0xed),_0x5beb49);let _0x3dee12=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3504b9(0x34f)][_0x3504b9(0x277)]);return _0x3dee12[_0x3504b9(0x114)]('runId')&&_0x147e2c[_0x3504b9(0x33c)][_0x3504b9(0x1de)](_0x3504b9(0xe6),_0x3dee12[_0x3504b9(0x114)](_0x3504b9(0xe6))),_0x147e2c[_0x3504b9(0x22c)]();}async[_0x486c12(0x1ce)](){const _0x2cd3db=_0x486c12;var _0x46bb87,_0x426580,_0x266441;let _0x49ce9a=this['_configService'][_0x2cd3db(0x172)](_0x5ba2ed['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1a4cda=(_0x46bb87=_0x49ce9a==null?void 0x0:_0x49ce9a[_0x2cd3db(0x183)])==null?_0x5ba2ed['DEFAULT_WS_SESSION_TICKET_URL']:_0x46bb87;return(_0x426580=(_0x266441=(await this[_0x2cd3db(0x24b)]['get'](_0x1a4cda,{'headers':{'Content-Type':_0x2cd3db(0x2be)}}))[_0x2cd3db(0x1a1)])==null?void 0x0:_0x266441['ticket'])==null?'':_0x426580;}};_0x7679a8=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2['HTTPService'])),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x3,_0x3789e1['ILogService']),_0x5dbd47(0x4,_0x136fe4[_0x486c12(0x2cb)])],_0x7679a8);let _0x4caaa6=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x511213,_0x1ab376,_0x1d115e){const _0x391bec=_0x486c12;super(),this[_0x391bec(0x162)]=_0x511213,this[_0x391bec(0x24b)]=_0x1ab376,this[_0x391bec(0x2f7)]=_0x1d115e;}async[_0x486c12(0x10b)](_0x41c07f,_0x429439,_0x496744,..._0x56b0ed){const _0x1bb5b2=_0x486c12;var _0x244cf6,_0x1103b9,_0x2010bc,_0x659e8b;let _0x45bd9f=this[_0x1bb5b2(0x162)][_0x1bb5b2(0x17d)]();if(!_0x45bd9f)throw Error(_0x1bb5b2(0x187));let _0x3b442f=((_0x244cf6=this[_0x1bb5b2(0x2f7)][_0x1bb5b2(0x172)](_0x5ba2ed[_0x1bb5b2(0x242)]))==null?_0x5ba2ed[_0x1bb5b2(0x309)]:_0x244cf6)+'/'+_0x41c07f+'/run/'+_0x429439,_0x437771={'scriptId':_0x41c07f,'runId':(_0x1103b9=new URL(window[_0x1bb5b2(0x34f)][_0x1bb5b2(0x185)])[_0x1bb5b2(0x33c)][_0x1bb5b2(0x114)](_0x1bb5b2(0xe6)))==null?'':_0x1103b9,'function':_0x429439,'unitId':_0x45bd9f[_0x1bb5b2(0x255)](),'argsOfFunction':JSON[_0x1bb5b2(0x374)](_0x56b0ed),'invokeId':(_0x2010bc=_0x496744['invokeId'])==null?'':_0x2010bc,'executionId':(_0x659e8b=_0x496744[_0x1bb5b2(0x216)])==null?'':_0x659e8b};try{let _0x1dc12c=await this[_0x1bb5b2(0x24b)][_0x1bb5b2(0x368)](_0x3b442f,{'body':_0x437771});return _0x1dc12c['body'][_0x1bb5b2(0x120)]&&_0x1dc12c[_0x1bb5b2(0x1a1)]['error'][_0x1bb5b2(0x379)]!==_0x53e205['ErrorCode']['OK']?'Failed':_0x1dc12c[_0x1bb5b2(0x1a1)][_0x1bb5b2(0x2ff)];}catch{return _0x1bb5b2(0x1b9);}}};_0x4caaa6=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2['HTTPService'])),_0x5dbd47(0x2,_0x3789e1['IConfigService'])],_0x4caaa6);var _0x4626a9=function(_0x3795b4){const _0x705879=_0x486c12;return _0x3795b4[_0x3795b4[_0x705879(0x276)]=0x0]=_0x705879(0x276),_0x3795b4[_0x3795b4[_0x705879(0x36c)]=0x1]=_0x705879(0x36c),_0x3795b4[_0x3795b4['HEARTBEAT']=0x2]=_0x705879(0x245),_0x3795b4;}(_0x4626a9||{});let _0x4e3ed2=0x7530,_0x4653ed=_0x486c12(0x25e);var _0x12c06f=class extends _0x3789e1['Disposable']{constructor(){const _0x21ed61=_0x486c12;super(),_0x28a1e3(this,_0x21ed61(0x203),(0x0,_0x3789e1[_0x21ed61(0x211)])()),_0x28a1e3(this,'_selfUnitIDs',new Set()),_0x28a1e3(this,'_unitOnClients',new Map()),_0x28a1e3(this,_0x21ed61(0x3b2),null),_0x28a1e3(this,_0x21ed61(0x201),new Map()),_0x28a1e3(this,_0x21ed61(0x134),new Map()),this[_0x21ed61(0x184)]();}[_0x486c12(0x1b4)](){const _0x3632c3=_0x486c12;super[_0x3632c3(0x1b4)](),this['_clearOtherTimers'][_0x3632c3(0x377)]((_0x11b291,_0xbd5cbd)=>this[_0x3632c3(0x387)](_0xbd5cbd)),this['_heartbeatTimer']&&window[_0x3632c3(0x295)](this[_0x3632c3(0x3b2)]);}[_0x486c12(0x385)](_0x5b2872){const _0x51a467=_0x486c12;return this[_0x51a467(0x221)](_0x5b2872)[_0x51a467(0x286)]((0x0,_0x4a289e[_0x51a467(0x1da)])());}[_0x486c12(0xf6)](_0x427fd9){const _0x2944d5=_0x486c12;this[_0x2944d5(0x293)][_0x2944d5(0x2f8)]===0x0&&this[_0x2944d5(0x118)](),this['_selfUnitIDs'][_0x2944d5(0x150)](_0x427fd9),this['_send']({'type':_0x4626a9[_0x2944d5(0x276)],'memberID':this[_0x2944d5(0x203)],'unitIDs':[_0x427fd9],'isForwarded':!0x1});}['disposeUnit'](_0x32d735){const _0x22b5d0=_0x486c12;this[_0x22b5d0(0x293)][_0x22b5d0(0x26e)](_0x32d735),this[_0x22b5d0(0x293)][_0x22b5d0(0x2f8)]===0x0&&this[_0x22b5d0(0x3b2)]&&window['clearInterval'](this[_0x22b5d0(0x3b2)]);}['_init'](){const _0x49d701=_0x486c12;this[_0x49d701(0x26a)]((0x0,_0x3789e1['toDisposable'])((0x0,_0x4a289e['fromEvent'])(window,_0x49d701(0xe1))['subscribe'](_0x4853d6=>{const _0x16f3cc=_0x49d701;if(_0x4853d6[_0x16f3cc(0x2fc)]!==_0x4653ed||!_0x4853d6[_0x16f3cc(0x2e2)])return;let _0x3dce19=JSON[_0x16f3cc(0x212)](_0x4853d6[_0x16f3cc(0x2e2)]);this[_0x16f3cc(0x35c)](_0x3dce19);}))),window['addEventListener'](_0x49d701(0x356),()=>this[_0x49d701(0x248)]({'type':_0x4626a9[_0x49d701(0x36c)],'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x486c12(0x35c)](_0xb7cee1){const _0x35570f=_0x486c12;switch(_0xb7cee1[_0x35570f(0x3a8)]){case _0x4626a9[_0x35570f(0x276)]:this[_0x35570f(0x1e3)](_0xb7cee1);break;case _0x4626a9[_0x35570f(0x36c)]:this['_handleLeaveEvent'](_0xb7cee1);break;case _0x4626a9['HEARTBEAT']:this[_0x35570f(0x2e9)](_0xb7cee1);break;}}[_0x486c12(0x1e3)](_0x1f523a){const _0x524630=_0x486c12;let {unitIDs:_0x4b5674,memberID:_0x2bd38e,isForwarded:_0x24899c}=_0x1f523a;_0x4b5674[_0x524630(0x377)](_0x5b4d53=>{const _0x218589=_0x524630;if(!_0x24899c&&this['_unitOnClients'][_0x218589(0x35e)](_0x5b4d53)&&this[_0x218589(0x221)](_0x5b4d53)['next'](_0x5ba2ed[_0x218589(0x123)][_0x218589(0x386)]),!this[_0x218589(0x1be)][_0x218589(0x35e)](_0x5b4d53)||!this[_0x218589(0x1be)][_0x218589(0x114)](_0x5b4d53)[_0x218589(0x35e)](_0x2bd38e)){let _0x3bb28e=this[_0x218589(0x1be)][_0x218589(0x114)](_0x5b4d53)||new Set();_0x3bb28e[_0x218589(0x150)](_0x2bd38e),this['_unitOnClients']['set'](_0x5b4d53,_0x3bb28e),this['_scheduleClearOtherTimer'](_0x2bd38e);}}),_0x24899c||this[_0x524630(0x248)]({'type':_0x4626a9['JOIN'],'memberID':this['_id'],'unitIDs':[...this[_0x524630(0x293)]],'isForwarded':!0x0});}[_0x486c12(0x1bc)](_0x3d07e2){const _0x12fca4=_0x486c12;this[_0x12fca4(0x387)](_0x3d07e2);let _0x2d7612=window[_0x12fca4(0x31f)](()=>{const _0x372f9c=_0x12fca4;this['_unitOnClients'][_0x372f9c(0x377)](_0x558b82=>{const _0x48d6d3=_0x372f9c;_0x558b82[_0x48d6d3(0x26e)](_0x3d07e2);});},_0x4e3ed2*0x2);this[_0x12fca4(0x201)][_0x12fca4(0x1de)](_0x3d07e2,_0x2d7612);}[_0x486c12(0x387)](_0x6dbc1c){const _0x1f42bc=_0x486c12;if(this[_0x1f42bc(0x201)][_0x1f42bc(0x35e)](_0x6dbc1c)){let _0x179dff=this[_0x1f42bc(0x201)]['get'](_0x6dbc1c);_0x179dff&&window[_0x1f42bc(0x2bf)](_0x179dff),this[_0x1f42bc(0x201)]['set'](_0x6dbc1c,null);}}['_handleLeaveEvent'](_0x20f780){let {memberID:_0x47de61,unitIDs:_0x3c2fcc}=_0x20f780;_0x3c2fcc['forEach'](_0x3794f1=>{const _0xb69dde=_0x3eb0;var _0x3ab9d3;let _0x4e9709=this[_0xb69dde(0x1be)][_0xb69dde(0x114)](_0x3794f1);_0x4e9709&&(_0x4e9709[_0xb69dde(0x26e)](_0x47de61),(_0x3ab9d3=this[_0xb69dde(0x221)](_0x3794f1))==null||_0x3ab9d3[_0xb69dde(0x283)](_0x4e9709['size']===0x0?_0x5ba2ed[_0xb69dde(0x123)][_0xb69dde(0x2a6)]:_0x5ba2ed['UnitStatus'][_0xb69dde(0x386)]));}),this['_removeClearOtherTimer'](_0x47de61);}[_0x486c12(0x2e9)](_0x21a671){const _0x150ab2=_0x486c12;this['_scheduleClearOtherTimer'](_0x21a671[_0x150ab2(0x37e)]);}[_0x486c12(0x248)](_0x524f86){const _0x22d454=_0x486c12;localStorage['setItem'](_0x4653ed,JSON[_0x22d454(0x374)](_0x524f86));}[_0x486c12(0x118)](){const _0x1ec70e=_0x486c12;this['_heartbeatTimer']=window[_0x1ec70e(0x1ba)](()=>{const _0x13062d=_0x1ec70e;this['_send']({'type':_0x4626a9[_0x13062d(0x245)],'memberID':this[_0x13062d(0x203)]});},_0x4e3ed2);}[_0x486c12(0x221)](_0x2e8c7c){const _0x1f9807=_0x486c12;return this[_0x1f9807(0x134)][_0x1f9807(0x35e)](_0x2e8c7c)||this[_0x1f9807(0x134)][_0x1f9807(0x1de)](_0x2e8c7c,new _0x4a289e['BehaviorSubject'](_0x5ba2ed['UnitStatus'][_0x1f9807(0x2a6)])),this[_0x1f9807(0x134)][_0x1f9807(0x114)](_0x2e8c7c);}};Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x15d),{'enumerable':!0x0,'get':function(){return _0x7679a8;}}),Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x1c0),{'enumerable':!0x0,'get':function(){return _0xe6e34a;}}),Object['defineProperty'](_0x59af53,_0x486c12(0x16c),{'enumerable':!0x0,'get':function(){return _0x2f2efb;}}),_0x59af53[_0x486c12(0x228)]=_0x1b48a9,Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x10a),{'enumerable':!0x0,'get':function(){return _0x4caaa6;}}),_0x59af53[_0x486c12(0xf3)]=_0x573714,Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x107),{'enumerable':!0x0,'get':function(){return _0x4c8995;}}),_0x59af53[_0x486c12(0x2aa)]=_0x12c06f,_0x59af53[_0x486c12(0x2d8)]=_0x5b0485;}));
8
+ function _0x4995(){const _0x56131a=['addObject','onPointerMove$','onRendered','getUndoRedoMutationParamsCache','_localeService','rgba(255,\x20255,\x20255,\x200.01)','@univerjs/ui','newValue','onStarting','black','IImageIoService','find','UniverEngineRender','HEARTBEAT','UniverSheets','5554664vnPnwt','0.2)','OTHER_CLIENTS_EDITING','#FFF',',\x200.2)','memberID','_updateSubUnitFromURLParams','_beforeCloseService','_getLighterColor','LoadingMultiIcon','UniverIcon','univer-h-8\x20univer-w-8\x20univer-rounded-lg','dispose$','rgba','findNodePositionByCharIndex','data','_handleLeaveEvent','delete','IMessageService','selections','_removeCollabCursors','dispose','clearInterval','_getScale','stack','translate(.97)','code','_saveCache','button','_initResize','mask','subscribe','univerjs-icon\x20univerjs-icon-','_shapes','_sheetSkeletonManagerService','SessionStatus','defs','unsubscribe','_injector','getCoordByCell','?taskId=','SheetsSelectionsService','size','ONLINE','_collabCursorState$','addEventListener','push','_updateURLWithCurrentState','BuiltInUIPart','catch','registerRefRange','_range','span','CollaborationSocketService','_onCursorUpdate','i18nKey','_roomMembers$','_commandService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_collabCursorController','rxjs/operators','_refRangeService','http://www.w3.org/2000/svg','@univerjs/core','collab-client.tooltip.reconnect','getValue','operators','_imageIoService','_context','_docTransformIMECacheService','purple.300','Tools','_onRefRangeChange','collabStatus.syncing','transformMutationsWithChangeset','_startSheetCollabCursor','CommandType','CLOSE_ROOM','_initCommandExecutedListener','@univerjs/docs-ui','RemoveRowCommandId','getAncestorScale','Loading','top','slice','saveImage','registerRenderModule','ITransformService','setShapeProps','JOIN','getUniverSheetInstance','VIEW_MAIN','yellow.400','_collabSessionService','handleDeleteRangeMoveLeft','set','_document','exports','getActiveRange','UniverCollaborationClientUIPlugin','toString','fill','selection','_checkCalculationAvailable','_initEntityListener','url(#on-line-icon_clip0_910_349)','CollaborationEvent','CollaborationSessionService','_lastPointer','_docSyncEditingCollabCursorService','connectInjector','/run/','RxDisposable','editingUnit','CollaborationDataLoaderController','toRgbString','_hovered','ACTIVE_UNIT_EVENT_CHANNEL','UniverCore','@univerjs/drawing','_setupBeforeClosingHandler','MUTATION','useDependency','OFFLINE','override','_getSessionTicket','Inactive','has','_transformUndoRedoStack','getMergeData','getTypeOfUnitDisposed$','Unknown\x20user','switchMap','Subject','CollaborationController','replaceState','symbol','univer-text-blue-500','xlink:href','LOCAL_CACHE_INTERVAL_KEY','setTimeout','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','colorChannel1','IUniverInstanceService','_initWindowErrorListener','UNIVER_SHEET','_transformHistoryAndStateStack','_revisionService','_unitStatus','CONFLICT','endRow','getOwnPropertyDescriptor','white','/universer-api/frontend/logs','stage','session.connection-failed','_docStateChangeManagerService','random','round','_renderManagerService','AWAITING','replace','imageSourceType','FromArray','Tooltip','hide','TRANSFORM_CHANGE_OBSERVABLE_TYPE','runOnServer','Plugin','_scheduleSaving','_anchor','_logService','measureText','blue.400','bottom','Rect','_docSkeletonManagerService','init','currentTheme$','maxFormulaLimit','toDisposable','getUnit','column','takeUntil','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','startFormulaLimitUrl','history','currentColor','transformSelections','UniverDocsUi','_collaborationController','clsx','_localCacheService','ticket','getRelativeToViewportCoord','_stopBlinking','DocStateChangeManagerService','backgroundColor','_pollingInterval','error','4760QODPfW','add','pushState','_getSheetObject','lineno','clickable','_updateCollabCursors','UniverProCollaboration','registerBeforeClose','UniverDrawing','univer-transition-all\x20univer-duration-200','_online','1968660pdkyIn','createInstance','...','formula.calculation.waiting','some','_localStorageService','color','prototype','0\x200\x2017\x2016','onPointerLeave$','getSheetBySheetId','Enter','replaceDocRanges','tag','DocSelectionManagerService','subUnitId','IUIPartsService','_initDependencies','subscribeEvent','endColumn','univer-text-orange-500','collaboration.closeRoom','2532546lCblZq','getFocusedUnit','debounce','IRenderManagerService','_highlight','_updateLocalCursor','LocaleService','_id','UniverRpc','undoState','_ensureSubject','div','dirtyRanges','ThemeService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DOC_RANGE_TYPE','_registerRenderDependencies','runId','AWAITING_WITH_PENDING','useRef','_init','getParam','isTransformMutationFailure','createElement','combineLatest','engine','on-line-icon_clip0_910_349','currentUsage','_maxFormulaLimit','_startBlinking','limitInfo','mutations','univer-appearance-none','_render','highlight','spin','filter','_cursors','MemberService','setParam','stringify','_color','getCurrentSelections','_removeClearOtherTimer','range','handleInsertRangeMoveRight','ILogService','_unitOnClients','_entities','_transformService','m2Prime','IBeforeCloseService','univer-border-none\x20univer-bg-transparent','_heartbeatTimer','SetFormulaCalculationNotificationMutation','_memberService','getCellPositionByOffset','map','_initStatusComponent','popstate','row','tooltipKey','ErrorCode','_uploadLog','NO_OTHER_CLIENTS_EDITING','getRangePointData','_clearPolling','_urlService','permission.content','assignAColorForMemberID','SetFormulaCalculationStartMutation','object','_docClipboardService','RefRangeService','_startCalculationLimit','react/jsx-runtime','CollaborationUIEventId','doc.mutation.rich-text-editing','INotificationService','CanceledError','_drawAnchor','UPDATE_CURSOR','_handleEvent','_saveTaskMap','InsertRangeMoveDownCommandId','isFormulaId','_colorIndex','key','_colorAssignService','SetWorksheetActivateCommand','SOCKET_FAILED','shift','#0B9EFB','lineTo','_hasFormulaInDirtyRanges','1em','entries','_initStatusListener','get','_getAnchorBounding','/universer-api/license/formula/limit/start','LOCAL_CACHE_INTERVAL','ranges','currentSkeleton$','pulse','result','_drawTextRange','now','iterator','_setupSubUnitSync','join','WebBrowserSingleActiveUnitService','handleDeleteRangeMoveUp','[LogService\x20Error]:\x20','min','\x20-\x20','idSuffix','svg','deserializeRangeWithSheet','_handleJoinEvent','onMouseMove','COLORS','_lastResponseTimestamp','HTTPService','_taskIds','all','_blinkIntervalTimer','@univerjs/network','_messageService','_cursorInfo$','Injector','unit','session.will-retry','startColumn','m1Prime','send','length','_dataLoaderService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','text','_handleHeartbeatEvent','[Unhandled\x20Rejection]:\x20','requireSession','_checkAndWaitForCalculationPermission','getConfig','START_CALCULATION','UniverCollaborationClientPlugin','source','removeEventListener','setUndoRedoMutationParamsCache','_applyCommand','height','_eventUnsubscribe','ILocalCacheService','status$','getCurrentSkeleton','path','onCommandExecuted','TEXT','_collaborationUIEventService','SYNCED','enableFrontendLog','reason','NodePositionConvertToRectRange','version','DataLoaderService','36rPkCCi','values','createSocket','_setFormulaLimitStatus','RemoteUniscriptService','InsertRangeMoveRightCommandId','_getMergeRange','SheetSkeletonManagerService','FormulaExecutedStateType','UniverUi','DeleteRangeMoveUpCommandId','transformRemoteChangeset','RegularPolygon','_scene','disableLocalCache','_initEvent','IConfigService','_offsetY','UniverInstanceType','_config','NOT_COLLAB','UniverSheetsUi','DEFAULT_WS_SESSION_TICKET_URL','setAlpha','syncEditingCollabCursor','_toggleOffline','next','addObjects','fromEvent','beforeCommandExecuted','OTHER_CLIENT_EDITING','_textBubble','status','name','runRefRangeMutations','icon','_refreshCollabCursors','@univerjs-pro/collaboration-client-ui','red.300','params','handleMoveRange','transformByState','default','decorate','_hideTimer','_draw','_clearOtherTimers','setConfig','uni.network.url-service','isTransformMutationsWithChangesetSuccess','getCollabEntity$','_onCursorDelete','_scheduleHeartbeat','react','DocIMEInputManagerService','contains','TEXT_RANGE_LAYER_INDEX','getDocRanges','assign','distinctUntilChanged','saveTaskMap','UniverNetwork','_memberID','throttleTime','[CollaborationDataLoaderController]','loading-multi-icon','green.600','BehaviorSubject','@univerjs/engine-render','_highlightSecond','IRemoteInstanceService','bind','19641666KUfcJR','_doCreateSocket','current','subunit','_drawRectRange','UniverEngineFormula','roomMembers','univer-text-red-500','_showGuardMessage','getRenderById','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','makeDirty','isFormulaString','socket$','reconnect','entityInit$','getUnitId','jsx','setInterval','useObservable','removeParam','univer-inline-flex\x20univer-items-center\x20univer-justify-center','sessionStatus$','rgb','startsWith','_hover','HEADER_MENU','_blinkTimer','Error','_monkeyPatchLogService','_selfUnitIDs','getLocalCacheKey','storage','none','Shape','forEach','_send','attrs','rxjs','_cursorShapes','executeCommand','urlChange$','colorClass','[Window\x20Error]:\x20','disposeWithMe','debounceTime','collab-text-range-','collaboration-client-ui.config','_assignedColors','onPointerEnter$','generateRandomId','off-line-icon','releaseFormulaLimitUrl','parse','_cachedData','evenodd','27xeHxMK','roomMembers$','_disabled','WebURLService','DependentOn','off-line-icon_clip0_910_343','restore','SetTextSelectionsOperation','children','@univerjs/design','_docTransformStateCacheService','univer-flex\x20univer-items-center\x20univer-justify-center','enableLocalCache','JOIN_ROOM_FAILED','@univerjs/sheets','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','@univerjs/docs','UniverProCollaborationClient','eventID','formula.calculation.started','setItem','searchParams','_anchorDot','save','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','_collaborationSessionService','triggerDblclick','Disposable','href','_themeService','_registerDependencies','highlightSecond','@univerjs-pro/collaboration','hovered','_name','createIdentifier','asObservable','complete','includes','split','isActive','getCellMatrix','dark:focus:univer-ring-offset-gray-800','transformMutation','_initUnhandledRejectionListener','_docTransformSelectionsService','forwardRef','0\x200\x2016\x2016','@univerjs/engine-formula','handleIRemoveRow','fromEventSubject','unitID','cursorInfo','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_uiPartsService','stageInfo','width','_status$','univer-m-0\x20univer-p-0','DeleteRangeMoveLeftCommandId','CollaborationStatus','then','Vector2','SetSelectionsOperation','SHEET_VIEWPORT_KEY','MessageType','collaboration.single-unit.warning','LEAVE','functionsExecutedState','_initUserListener','/universer-api/license/formula/limit/done','OnLineIcon','ICommandService','indicator','packageName','addHandlerCallback','EffectRefRangId','useCallback','_currentUsage','_instanceService','CollaborationUIEventService','amd','pipe','message','with','filename','wsSessionTicketUrl','post','true','transformIMECache','SOCKET_FAILED_RETRY','redoState','parseInt','unhandledrejection','getViewport','moveTo','debug','getVpScrollXYInfoByPosToVp','React','_httpService','UniverDocs','FETCH_MISS','DisposableCollection','@univerjs-pro/collaboration-client','function','getSkeleton','from','_entityInit$','@univerjs/rpc','displayName','getUnitStatus$','_getFormulaLimitStatus','UNIVER_DOC','fillText','Warning','shareReplay','isEditing','44867vizcUa','_showText','getColor','_backgroundColor','deepClone','_cursor','_syncEditingCollabCursorService','_transformPreviousActiveRange','Active','defineProperty','_releaseCalculationLimit','_createSocketURL','static','getCollabCursors$','unitId','arc','constructor','startRow','disposeUnit','OffLineIcon','_toggleOnline','location','saveOfflineData','isArray','body','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_session','collabStatus.notCollab','getSheetId','string','RichTextEditingMutation','FormulaExecuteStageType','flatMap','Rectangle','clearTimeout','drawWith','UnitStatus','resize','unshift','Inject','getActiveSheet','_univerInstanceService','cursorInfo$','mergeOverrideWithDependencies','_scheduleClearOtherTimer','event$','156sAALwd','_isBlinkVisible','RECT','_configService','getTypeOfUnitAdded$','offsetY','textRanges','3460dQshIk','239113vTapPi','ColorKit','show','_notificationService','_startDocCollabCursor','getColorFromTheme','transformStateCache','clipPath','_labelPosition','font','_initCommandInterceptor'];_0x4995=function(){return _0x56131a;};return _0x4995();}function _0x58a9(_0x30af58,_0x449359){_0x30af58=_0x30af58-0xba;const _0x49959e=_0x4995();let _0x58a9d4=_0x49959e[_0x30af58];return _0x58a9d4;}(function(_0x4b5bab,_0x14936f){const _0x235bc5=_0x58a9,_0x4f07fa=_0x4b5bab();while(!![]){try{const _0x157531=-parseInt(_0x235bc5(0x2c4))/0x1*(-parseInt(_0x235bc5(0x1cf))/0x2)+-parseInt(_0x235bc5(0x129))/0x3+parseInt(_0x235bc5(0x2f9))/0x4*(-parseInt(_0x235bc5(0x107))/0x5)+-parseInt(_0x235bc5(0x2f2))/0x6*(-parseInt(_0x235bc5(0x2fa))/0x7)+-parseInt(_0x235bc5(0x314))/0x8+-parseInt(_0x235bc5(0x24f))/0x9*(parseInt(_0x235bc5(0x113))/0xa)+parseInt(_0x235bc5(0x217))/0xb;if(_0x157531===_0x14936f)break;else _0x4f07fa['push'](_0x4f07fa['shift']());}catch(_0x13a8b7){_0x4f07fa['push'](_0x4f07fa['shift']());}}}(_0x4995,0x81171),function(_0x3b6c0b,_0xb95545){const _0x49e9c1=_0x58a9;typeof exports==_0x49e9c1(0x170)&&typeof module<'u'?_0xb95545(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),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`),require(`@univerjs/protocol`)):typeof define==_0x49e9c1(0x2b7)&&define[_0x49e9c1(0x2a0)]?define([_0x49e9c1(0x375),_0x49e9c1(0x2b6),_0x49e9c1(0x353),_0x49e9c1(0x30b),_0x49e9c1(0x23d),_0x49e9c1(0x258),_0x49e9c1(0x204),_0x49e9c1(0x174),_0x49e9c1(0x2bb),_0x49e9c1(0x25d),_0x49e9c1(0x213),_0x49e9c1(0x1a8),_0x49e9c1(0x363),_0x49e9c1(0x38b),_0x49e9c1(0x26f),_0x49e9c1(0x25f),_0x49e9c1(0x27f),_0x49e9c1(0x350),'@univerjs/sheets-ui','@univerjs/protocol'],_0xb95545):(_0x3b6c0b=typeof globalThis<'u'?globalThis:_0x3b6c0b||self,_0xb95545(_0x3b6c0b['UniverProCollaborationClientUi']={},_0x3b6c0b[_0x49e9c1(0x260)],_0x3b6c0b[_0x49e9c1(0x38a)],_0x3b6c0b[_0x49e9c1(0x1d8)],_0x3b6c0b['rxjs'],_0x3b6c0b['UniverDesign'],_0x3b6c0b[_0x49e9c1(0x2b1)],_0x3b6c0b[_0x49e9c1(0x2b1)],_0x3b6c0b[_0x49e9c1(0x131)],_0x3b6c0b[_0x49e9c1(0x313)],_0x3b6c0b[_0x49e9c1(0x311)],_0x3b6c0b[_0x49e9c1(0x20c)],_0x3b6c0b[_0x49e9c1(0xfc)],_0x3b6c0b[_0x49e9c1(0x110)],_0x3b6c0b[_0x49e9c1(0x10e)],_0x3b6c0b[_0x49e9c1(0x2b3)],_0x3b6c0b[_0x49e9c1(0x21c)],_0x3b6c0b['rxjs'][_0x49e9c1(0x356)],_0x3b6c0b[_0x49e9c1(0x1e4)],_0x3b6c0b['UniverProtocol']));}(this,function(_0x2fd88d,_0x261153,_0x1b882,_0x17c834,_0x35c532,_0x4edaae,_0x1cf822,_0x178677,_0x1b192f,_0x3d6c00,_0x58c2ed,_0x43995b,_0x652756,_0x3e58b9,_0x5214d3,_0x2a8584,_0x20223c,_0x5bdd75,_0x18a125,_0x336c2f){const _0x13b6b7=_0x58a9;Object['defineProperty'](_0x2fd88d,Symbol['toStringTag'],{'value':'Module'});function _0xd7fa38({ref:_0x3f408c,..._0x2db15e}){const _0x3de3ee=_0x58a9;let {icon:_0xd0dc82,id:_0x27838f,className:_0x8758b5,extend:_0x2e6807,..._0x2c6baa}=_0x2db15e,_0x97e55a=(_0x3de3ee(0x334)+_0x27838f+'\x20'+(_0x8758b5||''))['trim'](),_0x3832d6=(0x0,_0x1cf822[_0x3de3ee(0x13c)])('_'+_0x525ced());return _0x1d2331(_0xd0dc82,''+_0x27838f,{'defIds':_0xd0dc82['defIds'],'idSuffix':_0x3832d6[_0x3de3ee(0x219)]},{'ref':_0x3f408c,'className':_0x97e55a,..._0x2c6baa},_0x2e6807);}function _0x1d2331(_0x2a50e7,_0x517dc3,_0x3c80e3,_0x4c6a7c,_0xca133d){const _0x56e157=_0x58a9;return(0x0,_0x1cf822[_0x56e157(0x140)])(_0x2a50e7[_0x56e157(0x120)],{'key':_0x517dc3,..._0x1045b0(_0x2a50e7,_0x3c80e3,_0xca133d),..._0x4c6a7c},(_0x4d6416(_0x2a50e7,_0x3c80e3)[_0x56e157(0x257)]||[])[_0x56e157(0x162)]((_0x1d17d4,_0x1100d2)=>_0x1d2331(_0x1d17d4,_0x517dc3+'-'+_0x2a50e7[_0x56e157(0x120)]+'-'+_0x1100d2,_0x3c80e3,void 0x0,_0xca133d)));}function _0x1045b0(_0x27b3bf,_0x55bda1,_0x24940b){const _0x5ba167=_0x58a9;let _0x8baecb={..._0x27b3bf[_0x5ba167(0x23c)]};_0x24940b!=null&&_0x24940b[_0x5ba167(0xcd)]&&_0x8baecb['fill']==='colorChannel1'&&(_0x8baecb[_0x5ba167(0x379)]=_0x24940b[_0x5ba167(0xcd)]),_0x27b3bf['tag']==='mask'&&_0x8baecb['id']&&(_0x8baecb['id']+=_0x55bda1[_0x5ba167(0x19d)]),Object[_0x5ba167(0x189)](_0x8baecb)['forEach'](([_0x1c58fa,_0x43fe88])=>{const _0x239ffe=_0x5ba167;_0x1c58fa===_0x239ffe(0x332)&&typeof _0x43fe88==_0x239ffe(0x2e1)&&(_0x8baecb[_0x1c58fa]=_0x43fe88['replace'](/url\(#(.*)\)/,'url(#$1'+_0x55bda1[_0x239ffe(0x19d)]+')'));});let {defIds:_0x55c9a3}=_0x55bda1;return!_0x55c9a3||_0x55c9a3['length']===0x0?_0x8baecb:(_0x27b3bf[_0x5ba167(0x120)]==='use'&&_0x8baecb['xlink:href']&&(_0x8baecb[_0x5ba167(0xc9)]+=_0x55bda1[_0x5ba167(0x19d)]),Object['entries'](_0x8baecb)[_0x5ba167(0x23a)](([_0xa19254,_0x1274e7])=>{const _0x3ec5e4=_0x5ba167;typeof _0x1274e7==_0x3ec5e4(0x2e1)&&(_0x8baecb[_0xa19254]=_0x1274e7['replace'](/url\(#(.*)\)/,'url(#$1'+_0x55bda1[_0x3ec5e4(0x19d)]+')'));}),_0x8baecb);}function _0x4d6416(_0x2599f4,_0x1ec6bc){const _0x40c929=_0x58a9;var _0x290a73;let {defIds:_0x36705c}=_0x1ec6bc;return!_0x36705c||_0x36705c['length']===0x0?_0x2599f4:_0x2599f4[_0x40c929(0x120)]===_0x40c929(0x338)&&(_0x290a73=_0x2599f4[_0x40c929(0x257)])!=null&&_0x290a73['length']?{..._0x2599f4,'children':_0x2599f4[_0x40c929(0x257)][_0x40c929(0x162)](_0x9ecdfe=>typeof _0x9ecdfe['attrs']['id']==_0x40c929(0x2e1)&&_0x36705c&&_0x36705c[_0x40c929(0x275)](_0x9ecdfe['attrs']['id'])?{..._0x9ecdfe,'attrs':{..._0x9ecdfe[_0x40c929(0x23c)],'id':_0x9ecdfe['attrs']['id']+_0x1ec6bc[_0x40c929(0x19d)]}}:_0x9ecdfe)}:_0x2599f4;}function _0x525ced(){const _0x1c6a52=_0x58a9;return Math[_0x1c6a52(0xdc)]()[_0x1c6a52(0x378)](0x24)['substring'](0x2,0x8);}_0xd7fa38[_0x13b6b7(0x2bc)]=_0x13b6b7(0x31e);let _0x4eed2b={'tag':_0x13b6b7(0x19e),'attrs':{'xmlns':_0x13b6b7(0x352),'fill':'none','viewBox':_0x13b6b7(0x27e),'width':_0x13b6b7(0x188),'height':_0x13b6b7(0x188)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x13b6b7(0x1c5),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x13b6b7(0xdd),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x13b6b7(0x338),'attrs':{},'children':[{'tag':_0x13b6b7(0x301),'attrs':{'id':_0x13b6b7(0x254)},'children':[{'tag':_0x13b6b7(0x1c5),'attrs':{'fill':_0x13b6b7(0xd7),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x4f171c=(0x0,_0x1cf822[_0x13b6b7(0x27d)])(function(_0x5b00f5,_0x49518c){const _0x5c1beb=_0x13b6b7;return(0x0,_0x1cf822[_0x5c1beb(0x140)])(_0xd7fa38,Object[_0x5c1beb(0x209)]({},_0x5b00f5,{'id':_0x5c1beb(0x24a),'ref':_0x49518c,'icon':_0x4eed2b}));});_0x4f171c['displayName']=_0x13b6b7(0x2d7);let _0x34b2e3={'tag':_0x13b6b7(0x19e),'attrs':{'xmlns':_0x13b6b7(0x352),'fill':_0x13b6b7(0x238),'viewBox':_0x13b6b7(0x11b),'width':_0x13b6b7(0x188),'height':_0x13b6b7(0x188)},'children':[{'tag':'g','attrs':{'clipPath':_0x13b6b7(0x37d)},'children':[{'tag':_0x13b6b7(0x1c5),'attrs':{'stroke':_0x13b6b7(0xfa),'d':_0x13b6b7(0x221),'strokeLinecap':_0x13b6b7(0xdd),'strokeLinejoin':_0x13b6b7(0xdd),'strokeWidth':1.2}}]},{'tag':_0x13b6b7(0x338),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x13b6b7(0x143)},'children':[{'tag':_0x13b6b7(0x1c5),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x13b6b7(0x32d)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x6edb34=(0x0,_0x1cf822[_0x13b6b7(0x27d)])(function(_0x365b0b,_0x4ec4dd){const _0x4ed5d0=_0x13b6b7;return(0x0,_0x1cf822['createElement'])(_0xd7fa38,Object[_0x4ed5d0(0x209)]({},_0x365b0b,{'id':'on-line-icon','ref':_0x4ec4dd,'icon':_0x34b2e3}));});_0x6edb34['displayName']=_0x13b6b7(0x296);let _0x1e7af7={'tag':_0x13b6b7(0x19e),'attrs':{'xmlns':_0x13b6b7(0x352),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x13b6b7(0x188),'height':_0x13b6b7(0x188)},'children':[{'tag':_0x13b6b7(0x1c5),'attrs':{'fill':_0x13b6b7(0x185),'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':_0x13b6b7(0x24e),'clipRule':_0x13b6b7(0x24e)}},{'tag':'path','attrs':{'fill':_0x13b6b7(0x185),'d':'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','fillRule':_0x13b6b7(0x24e),'clipRule':_0x13b6b7(0x24e)}}]},_0x296ac0=(0x0,_0x1cf822[_0x13b6b7(0x27d)])(function(_0x39cf81,_0x25a1d0){const _0x47c1a8=_0x13b6b7;return(0x0,_0x1cf822[_0x47c1a8(0x140)])(_0xd7fa38,Object[_0x47c1a8(0x209)]({},_0x39cf81,{'id':_0x47c1a8(0x210),'ref':_0x25a1d0,'icon':_0x1e7af7}));});_0x296ac0[_0x13b6b7(0x2bc)]=_0x13b6b7(0x31d);function _0x52ef18(_0x30232c){const _0x568163=_0x13b6b7;switch(_0x30232c){case _0x261153[_0x568163(0x28b)][_0x568163(0xba)]:return{'icon':(0x0,_0x178677[_0x568163(0x228)])(_0x4f171c,{}),'colorClass':_0x568163(0x21e),'i18nKey':'collabStatus.offline','tooltipKey':_0x568163(0x354),'clickable':!0x0,'indicator':_0x568163(0x2d0)};case _0x261153['CollaborationStatus']['CONFLICT']:return{'icon':(0x0,_0x178677['jsx'])(_0x4f171c,{}),'colorClass':_0x568163(0x127),'i18nKey':'collabStatus.conflict','clickable':!0x1,'indicator':_0x568163(0x2d0)};case _0x261153[_0x568163(0x28b)][_0x568163(0x2b4)]:return{'icon':(0x0,_0x178677['jsx'])(_0x296ac0,{}),'colorClass':_0x568163(0xc8),'i18nKey':'collabStatus.fetchMiss','clickable':!0x1,'indicator':_0x568163(0x14c)};case _0x261153[_0x568163(0x28b)][_0x568163(0x1e3)]:return{'icon':(0x0,_0x178677[_0x568163(0x228)])(_0x6edb34,{}),'colorClass':'univer-text-gray-400','i18nKey':_0x568163(0x2df),'clickable':!0x1,'indicator':_0x568163(0x2d0)};case _0x261153[_0x568163(0x28b)][_0x568163(0xdf)]:case _0x261153['CollaborationStatus'][_0x568163(0x13b)]:return{'icon':(0x0,_0x178677[_0x568163(0x228)])(_0x296ac0,{}),'colorClass':_0x568163(0xc8),'i18nKey':_0x568163(0x35d),'clickable':!0x1,'indicator':'spin'};case _0x261153[_0x568163(0x28b)][_0x568163(0x1c9)]:case _0x261153[_0x568163(0x28b)]['PENDING']:return{'icon':(0x0,_0x178677[_0x568163(0x228)])(_0x6edb34,{}),'colorClass':'univer-text-green-500','i18nKey':'collabStatus.synced','clickable':!0x1,'indicator':'static'};}}function _0x2902c5(_0x3b7fbc){const _0x1e49ce=_0x13b6b7;let {status$:_0x3a77e7}=_0x3b7fbc,_0x2552e2=(0x0,_0x17c834[_0x1e49ce(0x22a)])(_0x3a77e7,_0x261153[_0x1e49ce(0x28b)][_0x1e49ce(0x1e3)]),_0x5bb56d=(0x0,_0x17c834[_0x1e49ce(0x38e)])(_0x1b882[_0x1e49ce(0x12f)]),_0x466170=(0x0,_0x17c834[_0x1e49ce(0x38e)])(_0x261153[_0x1e49ce(0x37f)]),_0x583781=(0x0,_0x1cf822['useMemo'])(()=>_0x52ef18(_0x2552e2),[_0x2552e2]),_0x1d2495=_0x2552e2!==_0x261153[_0x1e49ce(0x28b)][_0x1e49ce(0xba)],_0x37183f=_0x5bb56d['t'](_0x583781[_0x1e49ce(0x34b)]),_0x11e0d1=_0x583781[_0x1e49ce(0x166)]?_0x5bb56d['t'](_0x583781[_0x1e49ce(0x166)]):_0x37183f,_0x589ece=(0x0,_0x1cf822[_0x1e49ce(0x29c)])(()=>{_0x1d2495||_0x466170['reconnect']();},[_0x1d2495,_0x466170]),_0x1c61c7=(0x0,_0x1cf822[_0x1e49ce(0x29c)])(_0x2eb64b=>{const _0x5b617c=_0x1e49ce;!_0x1d2495&&(_0x2eb64b[_0x5b617c(0x180)]===_0x5b617c(0x11e)||_0x2eb64b['key']==='\x20')&&(_0x2eb64b['preventDefault'](),_0x466170[_0x5b617c(0x225)]());},[_0x1d2495,_0x466170]),_0x5260b8=(0x0,_0x178677[_0x1e49ce(0x228)])(_0x1e49ce(0x348),{'className':(0x0,_0x4edaae[_0x1e49ce(0xfe)])(_0x1e49ce(0x25a),_0x1e49ce(0x25e),_0x583781[_0x1e49ce(0x241)],{'univer-animate-spin':_0x583781[_0x1e49ce(0x298)]===_0x1e49ce(0x14c),'univer-animate-pulse':_0x583781[_0x1e49ce(0x298)]===_0x1e49ce(0x191)}),'aria-hidden':_0x1e49ce(0x2a7),'children':_0x583781[_0x1e49ce(0x1f2)]}),_0x4863b8=(0x0,_0x178677['jsx'])(_0x1e49ce(0x348),{'className':(0x0,_0x4edaae[_0x1e49ce(0xfe)])(_0x1e49ce(0x25a),_0x1e49ce(0x31f),_0x1e49ce(0x111),_0x1e49ce(0x267),_0x1e49ce(0x279),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x583781[_0x1e49ce(0x10c)],'univer-cursor-default':!_0x583781[_0x1e49ce(0x10c)]}),'children':_0x5260b8});return _0x583781['clickable']?(0x0,_0x178677[_0x1e49ce(0x228)])(_0x4edaae[_0x1e49ce(0xe3)],{'title':_0x11e0d1,'placement':_0x1e49ce(0xed),'children':(0x0,_0x178677[_0x1e49ce(0x228)])(_0x1e49ce(0x330),{'type':_0x1e49ce(0x330),'onClick':_0x589ece,'onKeyDown':_0x1c61c7,'className':(0x0,_0x4edaae[_0x1e49ce(0xfe)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x1e49ce(0x15d),'univer-m-0\x20univer-p-0',_0x1e49ce(0x149)),'aria-label':_0x37183f+_0x1e49ce(0x19c)+_0x11e0d1,'role':_0x1e49ce(0x1ef),'aria-live':'polite','aria-atomic':_0x1e49ce(0x2a7),'children':_0x4863b8})}):(0x0,_0x178677['jsx'])(_0x4edaae[_0x1e49ce(0xe3)],{'title':_0x11e0d1,'placement':_0x1e49ce(0xed),'children':(0x0,_0x178677[_0x1e49ce(0x228)])(_0x1e49ce(0x134),{'className':(0x0,_0x4edaae['clsx'])(_0x1e49ce(0x22c),_0x1e49ce(0x15d),_0x1e49ce(0x289)),'aria-label':_0x37183f,'role':'status','aria-live':'polite','aria-atomic':_0x1e49ce(0x2a7),'children':_0x4863b8})});}function _0x26629d(_0x3a97a7){'@babel/helpers - typeof';const _0x4ffaf7=_0x13b6b7;return _0x26629d=typeof Symbol==_0x4ffaf7(0x2b7)&&typeof Symbol[_0x4ffaf7(0x195)]=='symbol'?function(_0x46754f){return typeof _0x46754f;}:function(_0x330bec){const _0x11c066=_0x4ffaf7;return _0x330bec&&typeof Symbol==_0x11c066(0x2b7)&&_0x330bec[_0x11c066(0x2d4)]===Symbol&&_0x330bec!==Symbol[_0x11c066(0x11a)]?_0x11c066(0xc7):typeof _0x330bec;},_0x26629d(_0x3a97a7);}function _0x4a802e(_0x559c7f,_0x3be686){const _0x84941a=_0x13b6b7;if(_0x26629d(_0x559c7f)!=_0x84941a(0x170)||!_0x559c7f)return _0x559c7f;var _0x28ec42=_0x559c7f[Symbol['toPrimitive']];if(_0x28ec42!==void 0x0){var _0x334735=_0x28ec42['call'](_0x559c7f,_0x3be686||_0x84941a(0x1f9));if(_0x26629d(_0x334735)!='object')return _0x334735;throw TypeError(_0x84941a(0x34e));}return(_0x3be686===_0x84941a(0x2e1)?String:Number)(_0x559c7f);}function _0x2eac73(_0xf447ae){var _0x4328af=_0x4a802e(_0xf447ae,'string');return _0x26629d(_0x4328af)=='symbol'?_0x4328af:_0x4328af+'';}function _0x59ddc8(_0x21c3af,_0x5d330a,_0xa597c){const _0x16a974=_0x13b6b7;return(_0x5d330a=_0x2eac73(_0x5d330a))in _0x21c3af?Object[_0x16a974(0x2cd)](_0x21c3af,_0x5d330a,{'value':_0xa597c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x21c3af[_0x5d330a]=_0xa597c,_0x21c3af;}function _0x4b3a6d(_0x3fc583,_0x57adae){return function(_0x5c62d9,_0x260579){_0x57adae(_0x5c62d9,_0x260579,_0x3fc583);};}function _0x3debe9(_0xca8493,_0x1be7f5,_0x4d9ad5,_0xad250e){const _0x134907=_0x13b6b7;var _0x37266c=arguments[_0x134907(0x1b1)],_0x41782c=_0x37266c<0x3?_0x1be7f5:_0xad250e===null?_0xad250e=Object[_0x134907(0xd6)](_0x1be7f5,_0x4d9ad5):_0xad250e,_0x10faa1;if(typeof Reflect==_0x134907(0x170)&&typeof Reflect[_0x134907(0x1fa)]=='function')_0x41782c=Reflect['decorate'](_0xca8493,_0x1be7f5,_0x4d9ad5,_0xad250e);else{for(var _0x32b0ba=_0xca8493[_0x134907(0x1b1)]-0x1;_0x32b0ba>=0x0;_0x32b0ba--)(_0x10faa1=_0xca8493[_0x32b0ba])&&(_0x41782c=(_0x37266c<0x3?_0x10faa1(_0x41782c):_0x37266c>0x3?_0x10faa1(_0x1be7f5,_0x4d9ad5,_0x41782c):_0x10faa1(_0x1be7f5,_0x4d9ad5))||_0x41782c);}return _0x37266c>0x3&&_0x41782c&&Object['defineProperty'](_0x1be7f5,_0x4d9ad5,_0x41782c),_0x41782c;}let _0x37698a=class extends _0x1b882['Disposable']{constructor(_0x50880f,_0x2e7d17,_0x54d89f,_0x49df5a){const _0x46c003=_0x13b6b7;super(),this['_univerInstanceService']=_0x50880f,this[_0x46c003(0x33a)]=_0x2e7d17,this[_0x46c003(0xfd)]=_0x54d89f,this[_0x46c003(0x285)]=_0x49df5a,_0x59ddc8(this,_0x46c003(0x288),new _0x35c532[(_0x46c003(0x212))](_0x261153[_0x46c003(0x28b)][_0x46c003(0x1e3)])),this[_0x46c003(0x163)](),this[_0x46c003(0x18a)]();}[_0x13b6b7(0x18a)](){const _0x37d520=_0x13b6b7;this[_0x37d520(0x243)](this[_0x37d520(0x2ed)]['focused$'][_0x37d520(0x2a1)]((0x0,_0x35c532[_0x37d520(0xc3)])(()=>{const _0x3e10d1=_0x37d520;let _0x2414a3=this[_0x3e10d1(0x2ed)][_0x3e10d1(0x12a)]();return _0x2414a3?this[_0x3e10d1(0xfd)][_0x3e10d1(0x201)](_0x2414a3[_0x3e10d1(0x227)]()):(0x0,_0x35c532['of'])(null);}),(0x0,_0x35c532[_0x37d520(0xc3)])(_0x10120f=>_0x10120f?_0x10120f[_0x37d520(0x1c3)]:(0x0,_0x35c532['of'])(_0x261153['CollaborationStatus'][_0x37d520(0x1e3)])))[_0x37d520(0x333)](_0x151352=>{const _0x46f52f=_0x37d520;this[_0x46f52f(0x288)][_0x46f52f(0x1e9)](_0x151352);}));}['_initStatusComponent'](){const _0x42049f=_0x13b6b7;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x17c834[_0x42049f(0x344)][_0x42049f(0x231)],()=>(0x0,_0x17c834[_0x42049f(0x382)])(_0x1bfa44({'status$':this['_status$'][_0x42049f(0x273)]()}),this[_0x42049f(0x33a)])));}};_0x37698a=_0x3debe9([_0x4b3a6d(0x0,_0x1b882[_0x13b6b7(0xce)]),_0x4b3a6d(0x1,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x1b882['Injector'])),_0x4b3a6d(0x2,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x261153[_0x13b6b7(0xc5)])),_0x4b3a6d(0x3,_0x17c834[_0x13b6b7(0x123)])],_0x37698a);function _0x1bfa44(_0xe6a820){let {status$:_0xd185b2}=_0xe6a820;return function(){return(0x0,_0x178677['jsx'])(_0x2902c5,{'status$':_0xd185b2});};}let _0x42ff8e=(0x0,_0x1b882[_0x13b6b7(0x272)])(_0x13b6b7(0x1ff)),_0x2e1cb9=class extends _0x1b882[_0x13b6b7(0x384)]{constructor(_0x572794,_0x5bdcc2,_0x5e1ae6,_0x1e0e23,_0x206560){const _0x291a00=_0x13b6b7;super(),this[_0x291a00(0x16c)]=_0x572794,this[_0x291a00(0xea)]=_0x5bdcc2,this[_0x291a00(0x34d)]=_0x5e1ae6,this[_0x291a00(0x1b2)]=_0x1e0e23,_0x206560?_0x206560==null||_0x206560['whenReady']()[_0x291a00(0x28c)](()=>this[_0x291a00(0x13d)]()):(this['_logService'][_0x291a00(0x2af)](_0x291a00(0x20f),_0x291a00(0x2dd)),this[_0x291a00(0x13d)]());}async[_0x13b6b7(0x13d)](){const _0x1ab46d=_0x13b6b7;let _0x2b2e48=this[_0x1ab46d(0x16c)][_0x1ab46d(0x13e)](_0x1ab46d(0x1ac)),_0x48f53b=this[_0x1ab46d(0x16c)][_0x1ab46d(0x13e)]('type'),_0x30ff76=this['_urlService']['getParam'](_0x1ab46d(0x21a));if(!_0x2b2e48||!_0x48f53b){this[_0x1ab46d(0xea)]['debug'](_0x1ab46d(0x20f),_0x1ab46d(0x1b3));return;}let _0x9dd121=await this['_dataLoaderService']['loadUnit'](_0x2b2e48,Number(_0x48f53b),_0x30ff76);_0x9dd121&&_0x9dd121 instanceof _0x1b882['Workbook']&&this[_0x1ab46d(0x196)](_0x9dd121);}async[_0x13b6b7(0x196)](_0x3f7c32){const _0x1ce6aa=_0x13b6b7;await this['_updateSubUnitFromURLParams'](_0x3f7c32),_0x3f7c32['activeSheet$']['pipe']((0x0,_0x35c532['takeUntil'])(this[_0x1ce6aa(0x320)]))[_0x1ce6aa(0x333)](_0x701cd8=>{_0x701cd8&&this['_updateURLWithCurrentState'](_0x701cd8);}),this[_0x1ce6aa(0x16c)][_0x1ce6aa(0x240)][_0x1ce6aa(0x2a1)]((0x0,_0x35c532[_0x1ce6aa(0xf6)])(this[_0x1ce6aa(0x320)]))[_0x1ce6aa(0x333)](()=>this[_0x1ce6aa(0x31a)](_0x3f7c32));}[_0x13b6b7(0x343)](_0x5383ef,_0x3a19f1=!0x1){const _0x10fd34=_0x13b6b7;let _0x3e4f62=this['_urlService'][_0x10fd34(0x13e)](_0x10fd34(0x21a));_0x5383ef['getSheetId']()!==_0x3e4f62&&this[_0x10fd34(0x16c)][_0x10fd34(0x150)](_0x10fd34(0x21a),_0x5383ef[_0x10fd34(0x2e0)](),_0x3a19f1);}async['_updateSubUnitFromURLParams'](_0x486002){const _0x50b56c=_0x13b6b7;var _0x224e71;let _0x2fb788=this['_urlService'][_0x50b56c(0x13e)](_0x50b56c(0x21a));if(!_0x2fb788||!_0x486002[_0x50b56c(0x11d)](_0x2fb788)){let _0x5dd406=_0x486002['getUnhiddenWorksheets']()[0x0],_0x313e0e=_0x486002[_0x50b56c(0x11d)](_0x5dd406);if(!_0x313e0e)return;this['_updateURLWithCurrentState'](_0x313e0e,!0x0),await this[_0x50b56c(0x34d)][_0x50b56c(0x23f)](_0x3d6c00[_0x50b56c(0x182)]['id'],{'unitId':_0x486002[_0x50b56c(0x227)](),'subUnitId':_0x5dd406});return;}((_0x224e71=_0x486002[_0x50b56c(0x2ec)]())==null?void 0x0:_0x224e71[_0x50b56c(0x2e0)]())!==_0x2fb788&&await this[_0x50b56c(0x34d)][_0x50b56c(0x23f)](_0x3d6c00[_0x50b56c(0x182)]['id'],{'unitId':_0x486002[_0x50b56c(0x227)](),'subUnitId':_0x2fb788});}};_0x2e1cb9=_0x3debe9([_0x4b3a6d(0x0,_0x42ff8e),_0x4b3a6d(0x1,_0x1b882['ILogService']),_0x4b3a6d(0x2,_0x1b882['ICommandService']),_0x4b3a6d(0x3,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x261153[_0x13b6b7(0x1ce)])),_0x4b3a6d(0x4,(0x0,_0x1b882['Optional'])(_0x1b192f[_0x13b6b7(0x215)]))],_0x2e1cb9);var _0x2315d8=_0x13b6b7(0x1f4),_0x420cb4='0.21.1';let _0x585c9b=class extends _0x1b882[_0x13b6b7(0x384)]{constructor(_0xb2a534,_0x58d50b){const _0xf5e13c=_0x13b6b7;super(),this['_docClipboardService']=_0xb2a534,this[_0xf5e13c(0x357)]=_0x58d50b,this[_0xf5e13c(0x13d)]();}['_init'](){const _0x1218c0=_0x13b6b7;let _0x15ef5d=this;this['disposeWithMe'](this[_0x1218c0(0x171)]['addClipboardHook']({'onBeforePasteImage':async _0x40f394=>{const _0x3bdaea=_0x1218c0;let _0xfc1530=await _0x15ef5d[_0x3bdaea(0x357)][_0x3bdaea(0x369)](_0x40f394);return _0xfc1530?{'source':_0xfc1530[_0x3bdaea(0x1bc)],'imageSourceType':_0xfc1530[_0x3bdaea(0xe1)]}:null;}}));}};_0x585c9b=_0x3debe9([_0x4b3a6d(0x0,_0x652756['IDocClipboardService']),_0x4b3a6d(0x1,_0x3e58b9[_0x13b6b7(0x30f)])],_0x585c9b);let _0x572617=[_0x13b6b7(0x35a),'jiqing.500',_0x13b6b7(0x211),_0x13b6b7(0x1f5),_0x13b6b7(0xec),_0x13b6b7(0x370)];var _0x21d499=class extends _0x1b882[_0x13b6b7(0x26a)]{constructor(..._0x7c70f2){const _0x474791=_0x13b6b7;super(..._0x7c70f2),_0x59ddc8(this,_0x474791(0x247),new Map()),_0x59ddc8(this,_0x474791(0x17f),0x0);}[_0x13b6b7(0x16e)](_0x2fbca7){const _0x1b4e41=_0x13b6b7;if(this[_0x1b4e41(0x247)][_0x1b4e41(0xbe)](_0x2fbca7))return this[_0x1b4e41(0x247)][_0x1b4e41(0x18b)](_0x2fbca7);let _0x2ab08e=_0x572617[this['_colorIndex']];return this[_0x1b4e41(0x17f)]=(this[_0x1b4e41(0x17f)]+0x1)%_0x572617['length'],this[_0x1b4e41(0x247)][_0x1b4e41(0x373)](_0x2fbca7,_0x2ab08e),_0x2ab08e;}},_0x326c70=function(_0xdd6b3b){const _0x6dbdd7=_0x13b6b7;return _0xdd6b3b[_0x6dbdd7(0x2cc)]='1',_0xdd6b3b[_0x6dbdd7(0xbd)]='0',_0xdd6b3b;}(_0x326c70||{});function _0x169dee(_0x4f0b02){const _0x14d096=_0x13b6b7;let _0x13ba8b='';for(let _0x21250a of _0x4f0b02){let {startOffset:_0x1e27cb,endOffset:_0x97fc95,isActive:_0x1190d0,rangeType:_0x44f8ba,segmentId:_0x1b8601,segmentPage:_0x469f45}=_0x21250a;_0x13ba8b[_0x14d096(0x1b1)]&&(_0x13ba8b+=','),_0x13ba8b+=_0x1e27cb+':'+_0x97fc95+':'+(_0x1190d0?_0x326c70[_0x14d096(0x2cc)]:_0x326c70[_0x14d096(0xbd)])+':'+_0x44f8ba+':'+_0x1b8601+':'+_0x469f45;}return _0x13ba8b;}function _0x3a50f1(_0x591303){const _0xc722c4=_0x13b6b7;let _0x1113e5=_0x591303[_0xc722c4(0x276)](','),_0x1f913d=[];for(let _0x58c780 of _0x1113e5){let [_0x211176,_0x4d632a,_0x1c2bce,_0x5ee5e5,_0x268045,_0x307d09]=_0x58c780[_0xc722c4(0x276)](':');_0x1f913d[_0xc722c4(0x342)]({'startOffset':Number(_0x211176),'endOffset':Number(_0x4d632a),'collapsed':_0x211176===_0x4d632a,'isActive':_0x1c2bce===_0x326c70[_0xc722c4(0x2cc)],'rangeType':_0x5ee5e5===_0x1b882[_0xc722c4(0x138)][_0xc722c4(0x1c7)]?_0x1b882[_0xc722c4(0x138)][_0xc722c4(0x1c7)]:_0x1b882['DOC_RANGE_TYPE'][_0xc722c4(0x2f4)],'segmentId':typeof _0x268045==_0xc722c4(0x2e1)?String(_0x268045):'','segmentPage':Number(_0x307d09==null?-0x1:_0x307d09)});}return _0x1f913d[_0xc722c4(0x117)](_0x51f5bc=>_0x51f5bc[_0xc722c4(0x277)])||(_0x1f913d[0x0]['isActive']=!0x0),_0x1f913d;}var _0x2fb00f=class extends _0x1b882['RxDisposable']{constructor(..._0x458026){const _0x4a0979=_0x13b6b7;super(..._0x458026),_0x59ddc8(this,_0x4a0979(0x340),new _0x35c532[(_0x4a0979(0x212))](null)),_0x59ddc8(this,'collabCursorState$',this[_0x4a0979(0x340)][_0x4a0979(0x273)]());}[_0x13b6b7(0x1e7)](_0x141532){const _0x24da82=_0x13b6b7;let {unitID:_0x3bea7d,memberID:_0x480dd7,textRanges:_0x2e763f}=_0x141532,_0x24cdb8=_0x169dee(_0x2e763f);if(_0x24cdb8==='')return;let _0x349bdb={'unitID':_0x3bea7d,'memberID':_0x480dd7,'selection':_0x24cdb8};this[_0x24da82(0x340)][_0x24da82(0x1e9)](_0x349bdb);}};let _0x3a44c9=class extends _0x1b882[_0x13b6b7(0x384)]{get['cursorInfo'](){const _0x354059=_0x13b6b7;return this[_0x354059(0x1aa)][_0x354059(0x355)]();}get[_0x13b6b7(0x21d)](){const _0x4a1e1a=_0x13b6b7;return this[_0x4a1e1a(0x34c)]['getValue']();}constructor(_0x59966d,_0x1b1378,_0x108ff6,_0x1d3838,_0x35db1f,_0x176536,_0x552e3d,_0x4f0e15,_0x4e1658){const _0x506fd4=_0x13b6b7;super(),this[_0x506fd4(0x282)]=_0x59966d,this[_0x506fd4(0x2de)]=_0x1b1378,this[_0x506fd4(0x33a)]=_0x108ff6,this[_0x506fd4(0x181)]=_0x1d3838,this[_0x506fd4(0x160)]=_0x35db1f,this[_0x506fd4(0x2ca)]=_0x176536,this[_0x506fd4(0x15a)]=_0x552e3d,this[_0x506fd4(0x2ed)]=_0x4f0e15,this[_0x506fd4(0x34d)]=_0x4e1658,_0x59ddc8(this,_0x506fd4(0x112),!0x1),_0x59ddc8(this,'_init',!0x1),_0x59ddc8(this,_0x506fd4(0x1aa),new _0x35c532['BehaviorSubject'](new Map())),_0x59ddc8(this,_0x506fd4(0x2ee),this[_0x506fd4(0x1aa)]['asObservable']()),_0x59ddc8(this,'_roomMembers$',new _0x35c532[(_0x506fd4(0x212))]([])),_0x59ddc8(this,_0x506fd4(0x250),this[_0x506fd4(0x34c)][_0x506fd4(0x2a1)]((0x0,_0x35c532[_0x506fd4(0x244)])(0x12c))),_0x59ddc8(this,_0x506fd4(0x12e),(0x0,_0x1b882[_0x506fd4(0x12b)])(_0x32ba87=>{const _0x45dc93=_0x506fd4;let _0xfcf851={'eventID':_0x5214d3[_0x45dc93(0x37e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x45dc93(0x282)],'memberID':this['_session']['getMemberID'](),'selection':_0x169dee(_0x32ba87)}};this['_session'][_0x45dc93(0x1b0)](_0xfcf851,this[_0x45dc93(0x282)]);},0x64));}[_0x13b6b7(0x329)](){const _0x179d92=_0x13b6b7;super['dispose'](),this[_0x179d92(0x1aa)]['next'](new Map()),this[_0x179d92(0x1aa)][_0x179d92(0x274)](),this[_0x179d92(0x34c)][_0x179d92(0x1e9)]([]),this[_0x179d92(0x34c)][_0x179d92(0x274)]();}[_0x13b6b7(0xf0)](){const _0x58abf2=_0x13b6b7;this['_init']||(this[_0x58abf2(0x13d)]=!0x0,this[_0x58abf2(0x2de)]['sessionStatus$'][_0x58abf2(0x2a1)]((0x0,_0x35c532[_0x58abf2(0xf6)])(this[_0x58abf2(0x320)]))['subscribe'](_0xb05ad8=>{const _0x362207=_0x58abf2;_0xb05ad8===_0x261153[_0x362207(0x337)][_0x362207(0x33f)]?this[_0x362207(0x2d8)]():this[_0x362207(0x1e8)]();}),this[_0x58abf2(0x2de)][_0x58abf2(0x2f1)]['pipe']((0x0,_0x35c532[_0x58abf2(0xf6)])(this[_0x58abf2(0x320)]))['subscribe'](_0x27bb14=>{const _0x2d6d57=_0x58abf2;let _0x3b95f2=_0x27bb14[_0x2d6d57(0x261)];_0x3b95f2===_0x5214d3[_0x2d6d57(0x37e)][_0x2d6d57(0x17a)]&&this[_0x2d6d57(0x34a)](_0x27bb14),_0x3b95f2===_0x5214d3[_0x2d6d57(0x37e)]['USERS_LEAVE']&&this[_0x2d6d57(0x202)](_0x27bb14);}),this['disposeWithMe'](this[_0x58abf2(0x34d)][_0x58abf2(0x1c6)](_0x41150b=>{const _0x516052=_0x58abf2;let _0x5c6c1b=_0x41150b[_0x516052(0x1f6)];_0x5c6c1b!=null&&this[_0x516052(0x112)]&&_0x41150b['id']===_0x2a8584[_0x516052(0x256)]['id']&&_0x5c6c1b['unitId']===this['unitID']&&_0x5c6c1b[_0x516052(0x2c3)]===!0x1&&_0x5c6c1b[_0x516052(0x18f)][_0x516052(0x1b1)]>0x0&&this[_0x516052(0x12e)](_0x5c6c1b['ranges']);})),this[_0x58abf2(0x2ca)]['collabCursorState$'][_0x58abf2(0x2a1)]((0x0,_0x35c532[_0x58abf2(0xf6)])(this[_0x58abf2(0x320)]))[_0x58abf2(0x333)](_0x5d0d65=>{const _0x161f37=_0x58abf2;if((_0x5d0d65==null?void 0x0:_0x5d0d65[_0x161f37(0x282)])!==this[_0x161f37(0x282)])return;let _0x356e85={'eventID':_0x5214d3['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x5d0d65};this[_0x161f37(0x34a)](_0x356e85);}),this[_0x58abf2(0x243)](this[_0x58abf2(0x34d)]['onCommandExecuted'](_0x2ec68d=>{const _0x56e0f5=_0x58abf2;if(_0x2ec68d[_0x56e0f5(0x1f6)]==null)return;let _0x287948=_0x2ec68d['params'];if(_0x2ec68d['id']!==_0x2a8584[_0x56e0f5(0x2e2)]['id']||_0x287948['unitId']!==this['unitID'])return;let _0xfa1fd4={'id':_0x56e0f5(0x176),'params':_0x287948},_0x12c02b=this['cursorInfo'];for(let [_0x29b06a,_0x3104dd]of _0x12c02b){let _0x15b13e={'id':_0x56e0f5(0x176),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3104dd[_0x56e0f5(0x18f)]}},_0x1f74ca=this[_0x56e0f5(0x15a)][_0x56e0f5(0x27a)](_0xfa1fd4,_0x15b13e,!0x1);if((0x0,_0x5214d3[_0x56e0f5(0x13f)])(_0x1f74ca))throw _0x1f74ca[_0x56e0f5(0x106)];_0x12c02b[_0x56e0f5(0x373)](_0x29b06a,{..._0x3104dd,'ranges':_0x1f74ca[_0x56e0f5(0x15b)][_0x56e0f5(0x1f6)][_0x56e0f5(0x2f8)]});}queueMicrotask(()=>{const _0x3c03c8=_0x56e0f5;this[_0x3c03c8(0x1aa)]['next'](_0x12c02b);});})));}[_0x13b6b7(0x34a)](_0x584a16){const _0x281e6d=_0x13b6b7;var _0x1040e1,_0x5ba114;let {memberID:_0x449c9a,selection:_0x54401c}=_0x584a16[_0x281e6d(0x323)],_0x3d5d23=_0x3a50f1(_0x54401c),_0x3371f3=(_0x1040e1=(_0x5ba114=this[_0x281e6d(0x160)]['getMember'](this[_0x281e6d(0x282)],_0x449c9a))==null?void 0x0:_0x5ba114[_0x281e6d(0x1f0)])==null?_0x281e6d(0xc2):_0x1040e1,_0x5c2362={'color':this[_0x281e6d(0x181)][_0x281e6d(0x16e)](_0x449c9a),'name':_0x3371f3,'ranges':_0x3d5d23},_0x15a098=this['cursorInfo'];_0x15a098['set'](_0x449c9a,_0x5c2362),this[_0x281e6d(0x1aa)][_0x281e6d(0x1e9)](_0x15a098);}[_0x13b6b7(0x202)](_0x5f512b){const _0x3e7cfa=_0x13b6b7;let {memberID:_0x8d0ed1}=_0x5f512b[_0x3e7cfa(0x323)],_0x4d81bb=this[_0x3e7cfa(0x283)];_0x4d81bb[_0x3e7cfa(0x325)](_0x8d0ed1),this['_cursorInfo$'][_0x3e7cfa(0x1e9)](_0x4d81bb);}[_0x13b6b7(0x2d8)](){const _0x225c4d=_0x13b6b7;var _0x1a9d1f;if(this['_online']=!0x0,((_0x1a9d1f=this[_0x225c4d(0x2ed)][_0x225c4d(0x12a)]())==null?void 0x0:_0x1a9d1f[_0x225c4d(0x227)]())!==this[_0x225c4d(0x282)])return;let _0x2a0e5d=this[_0x225c4d(0x33a)]['get'](_0x2a8584['DocSelectionManagerService'])[_0x225c4d(0x208)]();Array[_0x225c4d(0x2db)](_0x2a0e5d)&&_0x2a0e5d[_0x225c4d(0x1b1)]>0x0&&this['_updateLocalCursor'](_0x2a0e5d);}[_0x13b6b7(0x1e8)](){this['_online']=!0x1;}};_0x3a44c9=_0x3debe9([_0x4b3a6d(0x2,(0x0,_0x1b882['Inject'])(_0x1b882['Injector'])),_0x4b3a6d(0x3,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x21d499)),_0x4b3a6d(0x4,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x261153[_0x13b6b7(0x14f)])),_0x4b3a6d(0x5,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x2fb00f)),_0x4b3a6d(0x6,_0x5214d3['ITransformService']),_0x4b3a6d(0x7,_0x1b882[_0x13b6b7(0xce)]),_0x4b3a6d(0x8,_0x1b882[_0x13b6b7(0x297)])],_0x3a44c9);let _0x32972e=()=>{let _0xc92be4=[],_0x1e24ff=!0x1;return _0xda9cbe=>{const _0x50ddf4=_0x58a9;_0xc92be4[_0x50ddf4(0x342)](_0xda9cbe),_0x1e24ff||(_0x1e24ff=!0x0,setTimeout(()=>{const _0x5d7b48=_0x50ddf4;_0xc92be4[_0x5d7b48(0x23a)](_0xbff650=>_0xbff650()),_0xc92be4=[],_0x1e24ff=!0x1;}));};},_0x826061=class extends _0x1b882[_0x13b6b7(0x384)]{get[_0x13b6b7(0x283)](){const _0x5807f5=_0x13b6b7;return this['_cursorInfo$'][_0x5807f5(0x355)]();}get[_0x13b6b7(0x21d)](){const _0x277b6c=_0x13b6b7;return this[_0x277b6c(0x34c)][_0x277b6c(0x355)]();}constructor(_0x10e975,_0x18fa64,_0xeb2bf7,_0x215bf1,_0x3bbe20,_0x49b466,_0x9e02aa,_0x29a6f5){const _0x136812=_0x13b6b7;super(),this['unitID']=_0x10e975,this[_0x136812(0x2de)]=_0x18fa64,this[_0x136812(0x33a)]=_0xeb2bf7,this[_0x136812(0x181)]=_0x215bf1,this['_memberService']=_0x3bbe20,this[_0x136812(0x2ed)]=_0x49b466,this[_0x136812(0x34d)]=_0x9e02aa,this[_0x136812(0x351)]=_0x29a6f5,_0x59ddc8(this,_0x136812(0x112),!0x1),_0x59ddc8(this,_0x136812(0x13d),!0x1),_0x59ddc8(this,_0x136812(0x1aa),new _0x35c532[(_0x136812(0x212))](new Map())),_0x59ddc8(this,_0x136812(0x2ee),this[_0x136812(0x1aa)][_0x136812(0x273)]()),_0x59ddc8(this,_0x136812(0x34c),new _0x35c532[(_0x136812(0x212))]([])),_0x59ddc8(this,'roomMembers$',this[_0x136812(0x34c)]['pipe']((0x0,_0x35c532[_0x136812(0x244)])(0x12c))),_0x59ddc8(this,'_updateLocalCursor',(0x0,_0x1b882[_0x136812(0x12b)])((_0xd7e6cf,_0x19590e)=>{const _0x1721fe=_0x136812;let _0x33f8b1={'eventID':_0x5214d3[_0x1721fe(0x37e)][_0x1721fe(0x17a)],'data':{'unitID':this[_0x1721fe(0x282)],'memberID':this[_0x1721fe(0x2de)]['getMemberID'](),'selection':(0x0,_0x20223c['serializeRangeWithSheet'])(_0xd7e6cf,_0x19590e[_0x1721fe(0x155)])}};this[_0x1721fe(0x2de)]['send'](_0x33f8b1,this[_0x1721fe(0x282)]);},0x64));}[_0x13b6b7(0x329)](){const _0x205149=_0x13b6b7;super[_0x205149(0x329)](),this[_0x205149(0x1aa)][_0x205149(0x1e9)](new Map()),this[_0x205149(0x1aa)][_0x205149(0x274)](),this[_0x205149(0x34c)][_0x205149(0x1e9)]([]),this[_0x205149(0x34c)][_0x205149(0x274)]();}['init'](){const _0x81098b=_0x13b6b7;this[_0x81098b(0x13d)]||(this[_0x81098b(0x13d)]=!0x0,this[_0x81098b(0x2de)][_0x81098b(0x22d)]['pipe']((0x0,_0x35c532[_0x81098b(0xf6)])(this[_0x81098b(0x320)]))[_0x81098b(0x333)](_0x4b8f1f=>{const _0x4f2072=_0x81098b;_0x4b8f1f===_0x261153[_0x4f2072(0x337)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x81098b(0x2de)][_0x81098b(0x2f1)][_0x81098b(0x2a1)]((0x0,_0x35c532[_0x81098b(0xf6)])(this['dispose$']))[_0x81098b(0x333)](_0x13a9d4=>{const _0x248748=_0x81098b;let _0x1e9470=_0x13a9d4[_0x248748(0x261)];_0x1e9470===_0x5214d3[_0x248748(0x37e)][_0x248748(0x17a)]&&this[_0x248748(0x34a)](_0x13a9d4),_0x1e9470===_0x5214d3['CollaborationEvent']['USERS_LEAVE']&&this[_0x248748(0x202)](_0x13a9d4);}),this[_0x81098b(0x35c)](),this[_0x81098b(0x243)](this[_0x81098b(0x34d)]['onCommandExecuted'](_0x378d7e=>{const _0xf3e9bb=_0x81098b;if(this['_online']&&_0x378d7e['id']===_0x3d6c00[_0xf3e9bb(0x28e)]['id']&&_0x378d7e[_0xf3e9bb(0x1f6)]['unitId']===this[_0xf3e9bb(0x282)]){let _0x43b3c0=_0x378d7e[_0xf3e9bb(0x1f6)];this[_0xf3e9bb(0x12e)](_0x43b3c0[_0xf3e9bb(0x122)],_0x43b3c0[_0xf3e9bb(0x327)][0x0]);}})));}['_onCursorUpdate'](_0x125082){const _0x265f8b=_0x13b6b7;var _0x5e4293,_0x266f45;let {memberID:_0x137328,selection:_0xb27095}=_0x125082[_0x265f8b(0x323)],{sheetName:_0x5adf93,range:_0x1e6a3b}=(0x0,_0x20223c[_0x265f8b(0x19f)])(_0xb27095),_0x483f13={'name':(_0x5e4293=(_0x266f45=this[_0x265f8b(0x160)]['getMember'](this['unitID'],_0x137328))==null?void 0x0:_0x266f45[_0x265f8b(0x1f0)])==null?_0x265f8b(0xc2):_0x5e4293,'range':this[_0x265f8b(0x1d5)](_0x5adf93,_0x1e6a3b),'sheetID':_0x5adf93,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x137328),'selection':_0xb27095},_0xb19e8f=this[_0x265f8b(0x283)];_0xb19e8f[_0x265f8b(0x373)](_0x137328,_0x483f13),this['_cursorInfo$'][_0x265f8b(0x1e9)](_0xb19e8f);}[_0x13b6b7(0x202)](_0xaaa3fb){const _0x23fc1f=_0x13b6b7;let {memberID:_0x379bb8}=_0xaaa3fb['data'],_0x316412=this[_0x23fc1f(0x283)];_0x316412[_0x23fc1f(0x325)](_0x379bb8),this['_cursorInfo$'][_0x23fc1f(0x1e9)](_0x316412);}[_0x13b6b7(0x1d5)](_0x33e6de,_0x2b3575){const _0x4bf146=_0x13b6b7;var _0x4d4bc2;let _0x1104c0=(_0x4d4bc2=this[_0x4bf146(0x2ed)][_0x4bf146(0x36e)](this['unitID']))==null||(_0x4d4bc2=_0x4d4bc2['getSheetBySheetId'](_0x33e6de))==null?void 0x0:_0x4d4bc2[_0x4bf146(0xc0)]();return(_0x1104c0==null?void 0x0:_0x1104c0[_0x4bf146(0x310)](_0x582a8e=>_0x1b882[_0x4bf146(0x2e5)][_0x4bf146(0x206)](_0x582a8e,_0x2b3575)))||_0x2b3575;}[_0x13b6b7(0x35c)](){const _0x10b981=_0x13b6b7;let _0xab7dce=new _0x1b882[(_0x10b981(0x2b5))](),_0x19b422=_0x32972e(),_0x4f1234=()=>{const _0x3bd61e=_0x10b981;_0xab7dce[_0x3bd61e(0x329)]();let _0x53de8c=(_0x1ee864,_0x18ad5d,_0x4613f7,_0x5e2805)=>{const _0x280818=_0x3bd61e;let _0x4c45b4=[];switch(_0x1ee864['id']){case _0x3d6c00[_0x280818(0x29b)][_0x280818(0x28a)]:_0x4c45b4=(0x0,_0x3d6c00[_0x280818(0x372)])(_0x1ee864,_0x5e2805);break;case _0x3d6c00[_0x280818(0x29b)][_0x280818(0x1d9)]:_0x4c45b4=(0x0,_0x3d6c00[_0x280818(0x199)])(_0x1ee864,_0x5e2805);break;case _0x3d6c00[_0x280818(0x29b)]['InsertColCommandId']:_0x4c45b4=(0x0,_0x3d6c00['handleInsertCol'])(_0x1ee864,_0x5e2805);break;case _0x3d6c00[_0x280818(0x29b)][_0x280818(0x17d)]:_0x4c45b4=(0x0,_0x3d6c00['handleInsertRangeMoveDown'])(_0x1ee864,_0x5e2805);break;case _0x3d6c00['EffectRefRangId'][_0x280818(0x1d4)]:_0x4c45b4=(0x0,_0x3d6c00[_0x280818(0x156)])(_0x1ee864,_0x5e2805);break;case _0x3d6c00[_0x280818(0x29b)]['InsertRowCommandId']:_0x4c45b4=(0x0,_0x3d6c00['handleInsertRow'])(_0x1ee864,_0x5e2805);break;case _0x3d6c00[_0x280818(0x29b)]['MoveRangeCommandId']:_0x4c45b4=(0x0,_0x3d6c00[_0x280818(0x1f7)])(_0x1ee864,_0x5e2805);break;case _0x3d6c00[_0x280818(0x29b)]['RemoveColCommandId']:_0x4c45b4=(0x0,_0x3d6c00['handleIRemoveCol'])(_0x1ee864,_0x5e2805);break;case _0x3d6c00[_0x280818(0x29b)][_0x280818(0x364)]:_0x4c45b4=(0x0,_0x3d6c00[_0x280818(0x280)])(_0x1ee864,_0x5e2805);break;}let _0x311f9b=(0x0,_0x3d6c00[_0x280818(0x1f1)])(_0x4c45b4,_0x5e2805),_0x3f9af2=this['cursorInfo'][_0x280818(0x18b)](_0x18ad5d);if(_0x3f9af2&&_0x311f9b){let _0x43016d={..._0x3f9af2,'range':_0x311f9b};this[_0x280818(0x283)][_0x280818(0x373)](_0x18ad5d,_0x43016d),_0x19b422(()=>{const _0x11460e=_0x280818;let _0x2dc13a=this[_0x11460e(0x351)][_0x11460e(0x346)](_0x311f9b,_0x136b8d=>(_0x2dc13a['dispose'](),_0x53de8c(_0x136b8d,_0x18ad5d,_0x4613f7,_0x311f9b)));_0xab7dce[_0x11460e(0x108)](_0x2dc13a);});}return{'redos':[],'undos':[]};};this[_0x3bd61e(0x283)][_0x3bd61e(0x23a)]((_0x340bbb,_0x275d3c)=>{const _0x290997=_0x3bd61e;let {range:_0x5ac582,sheetID:_0x39107f}=_0x340bbb,_0x1a2485=this[_0x290997(0x351)][_0x290997(0x346)](_0x5ac582,_0x8b89dc=>(_0x1a2485['dispose'](),_0x53de8c(_0x8b89dc,_0x275d3c,_0x39107f,_0x5ac582)));_0xab7dce[_0x290997(0x108)](_0x1a2485);});};this[_0x10b981(0x243)]((0x0,_0x1b882['toDisposable'])(this[_0x10b981(0x1aa)][_0x10b981(0x333)](()=>{_0x4f1234();})));}[_0x13b6b7(0x2d8)](){const _0x2e79d2=_0x13b6b7;var _0x435a1f,_0x21ae81;if(this['_online']=!0x0,((_0x435a1f=this[_0x2e79d2(0x2ed)][_0x2e79d2(0x12a)]())==null?void 0x0:_0x435a1f[_0x2e79d2(0x227)]())!==this[_0x2e79d2(0x282)])return;let _0x21931b=(_0x21ae81=this[_0x2e79d2(0x33a)]['get'](_0x3d6c00[_0x2e79d2(0x33d)])[_0x2e79d2(0x153)]())==null?void 0x0:_0x21ae81[0x0],_0x34516f=this['_univerInstanceService']['getCurrentUnitForType'](_0x1b882[_0x2e79d2(0x1e1)]['UNIVER_SHEET'])[_0x2e79d2(0x2ec)]();_0x21931b&&_0x34516f&&this[_0x2e79d2(0x12e)](_0x34516f['getSheetId'](),_0x21931b);}[_0x13b6b7(0x1e8)](){const _0x3becf8=_0x13b6b7;this[_0x3becf8(0x112)]=!0x1;}};_0x826061=_0x3debe9([_0x4b3a6d(0x2,(0x0,_0x1b882['Inject'])(_0x1b882[_0x13b6b7(0x1ab)])),_0x4b3a6d(0x3,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x21d499)),_0x4b3a6d(0x4,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x261153[_0x13b6b7(0x14f)])),_0x4b3a6d(0x5,_0x1b882[_0x13b6b7(0xce)]),_0x4b3a6d(0x6,_0x1b882[_0x13b6b7(0x297)]),_0x4b3a6d(0x7,(0x0,_0x1b882['Inject'])(_0x3d6c00[_0x13b6b7(0x172)]))],_0x826061);let _0x345a71=class extends _0x1b882['RxDisposable']{constructor(_0x35780b,_0x119c63,_0x3231cf){const _0x2fd806=_0x13b6b7;super(),this[_0x2fd806(0x2ed)]=_0x35780b,this['_injector']=_0x119c63,this[_0x2fd806(0x371)]=_0x3231cf,_0x59ddc8(this,'_entities',new Map()),_0x59ddc8(this,_0x2fd806(0x2ba),new _0x35c532[(_0x2fd806(0xc4))]()),this['_init']();}[_0x13b6b7(0x329)](){const _0x14f3a6=_0x13b6b7;super[_0x14f3a6(0x329)](),this[_0x14f3a6(0x2ba)]['complete'](),this[_0x14f3a6(0x159)]['forEach'](_0x464574=>_0x464574['dispose']());}[_0x13b6b7(0x2d1)](_0x20f4c1){const _0x355ae0=_0x13b6b7;return this['_entities'][_0x355ae0(0xbe)](_0x20f4c1)?this['_entities']['get'](_0x20f4c1)[_0x355ae0(0x2ee)]:this['_entityInit$']['pipe']((0x0,_0x35c532[_0x355ae0(0x14d)])(_0x1ce243=>_0x1ce243[_0x355ae0(0x282)]===_0x20f4c1),(0x0,_0x35c532[_0x355ae0(0xc3)])(_0x648083=>_0x648083[_0x355ae0(0x2ee)]));}['_init'](){const _0x37672b=_0x13b6b7;this[_0x37672b(0x2ed)][_0x37672b(0x2f6)](_0x1b882[_0x37672b(0x1e1)]['UNIVER_SHEET'])[_0x37672b(0x2a1)]((0x0,_0x35c532[_0x37672b(0xf6)])(this[_0x37672b(0x320)]))[_0x37672b(0x333)](async _0x4cbebf=>{const _0x3da36e=_0x37672b;let _0x576630=_0x4cbebf[_0x3da36e(0x1ac)][_0x3da36e(0x227)](),_0x2a8587=await this[_0x3da36e(0x35f)](_0x576630);this[_0x3da36e(0x2ba)][_0x3da36e(0x1e9)](_0x2a8587),this['_entities'][_0x3da36e(0x373)](_0x576630,_0x2a8587);}),this[_0x37672b(0x2ed)][_0x37672b(0x2f6)](_0x1b882[_0x37672b(0x1e1)][_0x37672b(0x2bf)])['pipe']((0x0,_0x35c532[_0x37672b(0xf6)])(this['dispose$']))[_0x37672b(0x2a1)]((0x0,_0x35c532[_0x37672b(0x14d)])(_0x4e0a6e=>!_0x4e0a6e['unit'][_0x37672b(0x227)]()[_0x37672b(0x22f)]('__')))[_0x37672b(0x333)](async _0x581eb5=>{const _0x2e4eba=_0x37672b;let {unit:_0x472d3a}=_0x581eb5,_0x54ae05=_0x472d3a[_0x2e4eba(0x227)](),_0x6b40b=await this[_0x2e4eba(0x2fe)](_0x54ae05);this[_0x2e4eba(0x2ba)][_0x2e4eba(0x1e9)](_0x6b40b),this['_entities']['set'](_0x54ae05,_0x6b40b);}),(0x0,_0x35c532['merge'])(this[_0x37672b(0x2ed)][_0x37672b(0xc1)](_0x1b882[_0x37672b(0x1e1)][_0x37672b(0x2bf)]),this[_0x37672b(0x2ed)]['getTypeOfUnitDisposed$'](_0x1b882[_0x37672b(0x1e1)][_0x37672b(0xd0)]))[_0x37672b(0x2a1)]((0x0,_0x35c532['takeUntil'])(this[_0x37672b(0x320)]))['subscribe'](_0xdbc142=>{const _0x56f8bb=_0x37672b;let _0x125926=_0xdbc142[_0x56f8bb(0x227)](),_0xbdff7d=this[_0x56f8bb(0x159)]['get'](_0x125926);_0xbdff7d&&(_0xbdff7d[_0x56f8bb(0x329)](),this[_0x56f8bb(0x159)][_0x56f8bb(0x325)](_0x125926));});}async['_startSheetCollabCursor'](_0x598af5){const _0x102152=_0x13b6b7;let _0x206f83=await this[_0x102152(0x371)][_0x102152(0x1b7)](_0x598af5),_0x33f7a8=this[_0x102152(0x33a)][_0x102152(0x114)](_0x826061,_0x598af5,_0x206f83);return _0x33f7a8[_0x102152(0xf0)](),_0x33f7a8;}async[_0x13b6b7(0x2fe)](_0x17bae3){const _0x27e504=_0x13b6b7;let _0x4a5c37=await this['_collabSessionService']['requireSession'](_0x17bae3),_0x1bfa4f=this[_0x27e504(0x33a)][_0x27e504(0x114)](_0x3a44c9,_0x17bae3,_0x4a5c37);return _0x1bfa4f[_0x27e504(0xf0)](),_0x1bfa4f;}};_0x345a71=_0x3debe9([_0x4b3a6d(0x0,_0x1b882['IUniverInstanceService']),_0x4b3a6d(0x1,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x1b882['Injector'])),_0x4b3a6d(0x2,(0x0,_0x1b882['Inject'])(_0x261153[_0x13b6b7(0x37f)]))],_0x345a71);function _0x3a4232(_0x124c74,_0x58a9df){const _0x1fabad=_0x13b6b7;var _0x2b9b89,_0x1e7542,_0x2a1279;let {radius:_0x5cdb97,width:_0x397bbd,height:_0x1dadc7}=_0x58a9df;_0x5cdb97=(_0x2b9b89=_0x5cdb97)==null?0x0:_0x2b9b89,_0x397bbd=(_0x1e7542=_0x397bbd)==null?0x1e:_0x1e7542,_0x1dadc7=(_0x2a1279=_0x1dadc7)==null?0x1e:_0x2a1279;let _0xab5527=0x0,_0x1c498f=0x0,_0x581c68=0x0;_0xab5527=_0x1c498f=_0x581c68=Math[_0x1fabad(0x19b)](_0x5cdb97,_0x397bbd/0x2,_0x1dadc7/0x2),_0x124c74['beginPath'](),_0x124c74[_0x1fabad(0x2ae)](_0xab5527,0x0),_0x124c74['lineTo'](_0x397bbd-_0x1c498f,0x0),_0x124c74['arc'](_0x397bbd-_0x1c498f,_0x1c498f,_0x1c498f,Math['PI']*0x3/0x2,0x0,!0x1),_0x124c74[_0x1fabad(0x186)](_0x397bbd,_0x1dadc7-_0x581c68),_0x124c74[_0x1fabad(0x2d3)](_0x397bbd-_0x581c68,_0x1dadc7-_0x581c68,_0x581c68,0x0,Math['PI']/0x2,!0x1),_0x124c74['lineTo'](0x0,_0x1dadc7),_0x124c74[_0x1fabad(0x186)](0x0,_0xab5527),_0x124c74['arc'](_0xab5527,_0xab5527,_0xab5527,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x124c74['closePath'](),_0x58a9df['fill']&&(_0x124c74[_0x1fabad(0x266)](),_0x124c74['fillStyle']=_0x58a9df[_0x1fabad(0x379)],_0x58a9df['fillRule']===_0x1fabad(0x24e)?_0x124c74[_0x1fabad(0x379)](_0x1fabad(0x24e)):_0x124c74['fill'](),_0x124c74[_0x1fabad(0x255)]());}var _0x295f0e=class _0xc330b3 extends _0x58c2ed[_0x13b6b7(0x239)]{constructor(_0x4d8b8e,_0x321e0a){const _0x25bb64=_0x13b6b7;super(_0x4d8b8e,_0x321e0a),_0x59ddc8(this,_0x25bb64(0x119),void 0x0),_0x59ddc8(this,_0x25bb64(0x1b4),void 0x0),this['color']=_0x321e0a==null?void 0x0:_0x321e0a['color'],this[_0x25bb64(0x1b4)]=_0x321e0a==null?void 0x0:_0x321e0a[_0x25bb64(0x1b4)];}static[_0x13b6b7(0x2e7)](_0x1fb554,_0x466314){const _0x3ede57=_0x13b6b7;let {text:_0x53eae4,color:_0x48ef88}=_0x466314;_0x1fb554[_0x3ede57(0x266)](),_0x1fb554[_0x3ede57(0x303)]=_0x3ede57(0xcc);let _0x5f2734=_0x1fb554[_0x3ede57(0xeb)](_0x53eae4)[_0x3ede57(0x287)];if(_0x3a4232(_0x1fb554,{'height':0x14,'radius':0x4,'width':Math['min'](_0x5f2734+0x8,0xc8),'fill':_0x48ef88,'evented':!0x1}),_0x1fb554['fillStyle']=_0x3ede57(0x317),_0x5f2734>0xc0){let _0x9dc6e3='',_0x22c33e=0x0;for(let _0x1afb71 of _0x53eae4){let _0x3fab6e=_0x1fb554[_0x3ede57(0xeb)](_0x1afb71)[_0x3ede57(0x287)];if(_0x22c33e+_0x3fab6e<=0xc0-_0x1fb554[_0x3ede57(0xeb)](_0x3ede57(0x115))[_0x3ede57(0x287)])_0x9dc6e3+=_0x1afb71,_0x22c33e+=_0x3fab6e;else{_0x9dc6e3+=_0x3ede57(0x115);break;}}_0x1fb554[_0x3ede57(0x2c0)](_0x9dc6e3,0x4,0xf);}else _0x1fb554[_0x3ede57(0x2c0)](_0x53eae4,0x4,0xf);_0x1fb554[_0x3ede57(0x255)]();}[_0x13b6b7(0x1fc)](_0x9cc0d8){const _0x4321ad=_0x13b6b7;_0xc330b3[_0x4321ad(0x2e7)](_0x9cc0d8,this);}};let _0x1aa408='collab-text-anchor-';var _0xe7a32f=class{constructor(_0x5ae2bd,_0x24b325,_0x3557e8,_0x7a88fd){const _0x8494da=_0x13b6b7;this[_0x8494da(0x2c9)]=_0x5ae2bd,this[_0x8494da(0x1dc)]=_0x24b325,this['_docSkeleton']=_0x3557e8,this[_0x8494da(0x374)]=_0x7a88fd,_0x59ddc8(this,_0x8494da(0x335),[]),_0x59ddc8(this,_0x8494da(0xe9),null),_0x59ddc8(this,'_textBubble',null),_0x59ddc8(this,'_anchorDot',null),_0x59ddc8(this,_0x8494da(0x1fb),null),_0x59ddc8(this,_0x8494da(0x1c1),null),this[_0x8494da(0x14a)]();}set['_hover'](_0x192d07){const _0x24ece6=_0x13b6b7;_0x192d07?(this['_anchorDot']&&this['_anchorDot'][_0x24ece6(0xe4)](),this[_0x24ece6(0x1ee)]&&this[_0x24ece6(0x1ee)][_0x24ece6(0x2fc)]()):(this[_0x24ece6(0x265)]&&this['_anchorDot'][_0x24ece6(0x2fc)](),this[_0x24ece6(0x1ee)]&&this[_0x24ece6(0x1ee)][_0x24ece6(0xe4)]());}[_0x13b6b7(0x329)](){const _0x2e3994=_0x13b6b7;for(let _0x571dc2 of this[_0x2e3994(0x335)])_0x571dc2[_0x2e3994(0x329)]();this[_0x2e3994(0x1ee)]&&this[_0x2e3994(0x1ee)][_0x2e3994(0x329)](),this[_0x2e3994(0x265)]&&this[_0x2e3994(0x265)][_0x2e3994(0x329)](),this[_0x2e3994(0xe9)]&&this[_0x2e3994(0xe9)][_0x2e3994(0x329)](),this[_0x2e3994(0x1c1)]&&this[_0x2e3994(0x1c1)]();}[_0x13b6b7(0x14a)](){const _0x78f55c=_0x13b6b7;let {_docSkeleton:_0x7007,_document:_0x48075a}=this,{color:_0x58fd6a,name:_0x624cef,ranges:_0x321d1a}=this[_0x78f55c(0x2c9)],_0x293ec3=_0x48075a['getOffsetConfig'](),{docsLeft:_0x3c10c8,docsTop:_0x1e069e}=_0x293ec3,_0x521535=new _0x652756['NodePositionConvertToCursor'](_0x293ec3,_0x7007);for(let {startOffset:_0x4bd7c8,endOffset:_0x729571,rangeType:_0x14c01b,segmentId:_0x12e453,segmentPage:_0x4fc57b,collapsed:_0x4b32cd,isActive:_0x237b7c}of _0x321d1a){let _0x1ade75=_0x7007[_0x78f55c(0x322)](_0x4bd7c8,!0x0,_0x12e453,_0x4fc57b),_0x3a9a65=_0x7007[_0x78f55c(0x322)](_0x729571,!0x0,_0x12e453,_0x4fc57b);if(_0x3a9a65==null&&(_0x3a9a65=_0x7007['findNodePositionByCharIndex'](_0x729571-0x1,!0x1,_0x12e453,_0x4fc57b)),_0x237b7c){let {contentBoxPointGroup:_0x5077ac}=_0x521535[_0x78f55c(0x16a)](_0x3a9a65,_0x3a9a65);if(_0x5077ac[_0x78f55c(0x1b1)]===0x0)continue;this[_0x78f55c(0x179)](_0x58fd6a,_0x5077ac,_0x3c10c8,_0x1e069e,_0x624cef),this[_0x78f55c(0x1c1)]=this['_handleHover']();}if(_0x1ade75&&_0x3a9a65){if(_0x14c01b===_0x1b882[_0x78f55c(0x138)][_0x78f55c(0x2f4)]){var _0x1ac3ce;let {pointGroup:_0x1c1b77}=(_0x1ac3ce=new _0x652756[(_0x78f55c(0x1cc))](_0x293ec3,_0x7007)[_0x78f55c(0x16a)](_0x1ade75,_0x3a9a65))==null?{}:_0x1ac3ce;if(_0x1c1b77==null||_0x1c1b77[_0x78f55c(0x1b1)]===0x0)continue;this[_0x78f55c(0x21b)](_0x58fd6a,_0x1c1b77,_0x3c10c8,_0x1e069e);}else{if(!_0x4b32cd){let {borderBoxPointGroup:_0x1acbe9}=_0x521535[_0x78f55c(0x16a)](_0x1ade75,_0x3a9a65);if(_0x1acbe9[_0x78f55c(0x1b1)]===0x0)continue;this[_0x78f55c(0x193)](_0x58fd6a,_0x1acbe9,_0x3c10c8,_0x1e069e);}}}}}[_0x13b6b7(0x179)](_0x5b5941,_0x1b4d75,_0x257a94,_0x5af287,_0x8754a9){const _0x44ac96=_0x13b6b7;let {left:_0x5dca35,top:_0x1e1923,height:_0x14e0c9}=this[_0x44ac96(0x18c)](_0x1b4d75),_0x36ffa1=1.5/this[_0x44ac96(0x32b)](),_0x5c6163=new _0x58c2ed[(_0x44ac96(0xee))](_0x1aa408+(0x0,_0x1b882[_0x44ac96(0x249)])(0x6),{'left':_0x5dca35+_0x257a94-_0x36ffa1,'top':_0x1e1923+_0x5af287,'height':_0x14e0c9,'width':1.5,'fill':_0x5b5941||(0x0,_0x58c2ed[_0x44ac96(0x2c6)])(_0x1b882['COLORS'][_0x44ac96(0x30e)],0x0),'strokeWidth':_0x36ffa1,'stroke':_0x44ac96(0x30a),'evented':!0x0});this['_anchor']=_0x5c6163,this[_0x44ac96(0x1dc)][_0x44ac96(0x305)](_0x5c6163,_0x652756[_0x44ac96(0x207)]);let _0x58651f=new _0x58c2ed[(_0x44ac96(0xee))](_0x1aa408+(0x0,_0x1b882['generateRandomId'])(0x6),{'left':_0x5dca35+_0x257a94-_0x36ffa1,'top':_0x1e1923+_0x5af287-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x5b5941||(0x0,_0x58c2ed['getColor'])(_0x1b882['COLORS'][_0x44ac96(0x30e)],0x0),'strokeWidth':0x0,'stroke':_0x5b5941||(0x0,_0x58c2ed['getColor'])(_0x1b882[_0x44ac96(0x1a2)][_0x44ac96(0x30e)],0x0),'evented':!0x1});this[_0x44ac96(0x265)]=_0x58651f,this[_0x44ac96(0x1dc)][_0x44ac96(0x305)](_0x58651f,_0x652756[_0x44ac96(0x207)]);let _0x1b39bf=new _0x295f0e(_0x1aa408+(0x0,_0x1b882['generateRandomId'])(0x6),{'left':_0x5dca35+_0x257a94-_0x36ffa1,'top':_0x1e1923+_0x5af287-0x14,'text':_0x8754a9,'color':_0x5b5941});this['_textBubble']=_0x1b39bf,this['_scene'][_0x44ac96(0x305)](_0x1b39bf,_0x652756['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x370969=_0x13b6b7;let _0x119bf6=this[_0x370969(0xe9)][_0x370969(0x248)][_0x370969(0x125)](()=>{const _0x148d3d=_0x370969;this[_0x148d3d(0x230)]=!0x0;}),_0x2f0c1b=this[_0x370969(0xe9)]['onPointerLeave$'][_0x370969(0x125)](()=>{const _0x43c564=_0x370969;this[_0x43c564(0x1fb)]&&clearTimeout(this[_0x43c564(0x1fb)]),this[_0x43c564(0x1fb)]=setTimeout(()=>{const _0x1b7b85=_0x43c564;this[_0x1b7b85(0x230)]=!0x1;},0x7d0);});return()=>{const _0x10a25e=_0x370969;_0x119bf6[_0x10a25e(0x339)](),_0x2f0c1b[_0x10a25e(0x339)]();};}[_0x13b6b7(0x193)](_0x1b774c,_0x592494,_0x3afd27,_0x481d43){const _0x31d101=_0x13b6b7;let _0x31d69f=0.2,_0x3231f6=new _0x1b882['ColorKit'](_0x1b774c)[_0x31d101(0x1e6)](_0x31d69f)[_0x31d101(0x387)](),_0x7608e7=new _0x58c2ed['RegularPolygon'](_0x31d101(0x245)+(0x0,_0x1b882[_0x31d101(0x249)])(0x6),{'pointsGroup':_0x592494,'fill':_0x3231f6||(0x0,_0x58c2ed['getColor'])(_0x1b882[_0x31d101(0x1a2)][_0x31d101(0x30e)],_0x31d69f),'left':_0x3afd27,'top':_0x481d43,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x31d101(0x335)]['push'](_0x7608e7),this[_0x31d101(0x1dc)]['addObject'](_0x7608e7,_0x652756['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x504b3c,_0x1c2922,_0x1f382d,_0x2b4f19){const _0xee50c3=_0x13b6b7;let _0xf6650=0.2,_0x39f95b=new _0x1b882[(_0xee50c3(0x2fb))](_0x504b3c)[_0xee50c3(0x1e6)](_0xf6650)[_0xee50c3(0x387)](),_0x4ee000=new _0x58c2ed[(_0xee50c3(0x1db))]('collab-rect-range-'+(0x0,_0x1b882[_0xee50c3(0x249)])(0x6),{'pointsGroup':_0x1c2922,'fill':_0x39f95b||(0x0,_0x58c2ed[_0xee50c3(0x2c6)])(_0x1b882[_0xee50c3(0x1a2)][_0xee50c3(0x30e)],_0xf6650),'left':_0x1f382d,'top':_0x2b4f19,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xee50c3(0x335)][_0xee50c3(0x342)](_0x4ee000),this[_0xee50c3(0x1dc)][_0xee50c3(0x305)](_0x4ee000,_0x652756[_0xee50c3(0x207)]);}[_0x13b6b7(0x18c)](_0x230187){let _0x1c5202=_0x230187[0x0],_0x34af50=_0x1c5202[0x0],_0x408b35=_0x1c5202[0x2],{x:_0x564aea,y:_0x3010fb}=_0x34af50,{x:_0x5385c1,y:_0xff8f64}=_0x408b35;return{'left':_0x564aea,'top':_0x3010fb,'width':_0x5385c1-_0x564aea,'height':_0xff8f64-_0x3010fb};}[_0x13b6b7(0x32b)](){const _0x43eed6=_0x13b6b7;let {scaleX:_0x308d4d,scaleY:_0x35461a}=this[_0x43eed6(0x1dc)][_0x43eed6(0x365)]();return Math['max'](_0x308d4d,_0x35461a);}};let _0x22fb89=class extends _0x1b882[_0x13b6b7(0x384)]{constructor(_0x319376,_0x3425a1,_0x2c8f36,_0x534569,_0x46c3de){const _0x1c5dbf=_0x13b6b7;super(),this[_0x1c5dbf(0x358)]=_0x319376,this[_0x1c5dbf(0xef)]=_0x3425a1,this[_0x1c5dbf(0x34f)]=_0x2c8f36,this['_commandService']=_0x534569,this[_0x1c5dbf(0x26c)]=_0x46c3de,_0x59ddc8(this,_0x1c5dbf(0x23e),[]),_0x59ddc8(this,'_cursors',[]),this[_0x1c5dbf(0x13d)]();}[_0x13b6b7(0x13d)](){const _0x689c76=_0x13b6b7;let _0x4bad56=this[_0x689c76(0x358)]['unitId'],_0x2e88d4=this[_0x689c76(0xef)];this[_0x689c76(0x243)]((0x0,_0x35c532[_0x689c76(0x141)])([this[_0x689c76(0x34f)][_0x689c76(0x2d1)](_0x4bad56),this[_0x689c76(0x26c)]['currentTheme$']])[_0x689c76(0x2a1)]((0x0,_0x5bdd75[_0x689c76(0x162)])(([_0x4472e4,_0x386582])=>({'skeleton':_0x2e88d4[_0x689c76(0x2b8)](),'cursors':[..._0x4472e4[_0x689c76(0x1d0)]()][_0x689c76(0x2e4)](_0x2524a5=>({..._0x2524a5,'color':this['_themeService'][_0x689c76(0x2ff)](_0x2524a5[_0x689c76(0x119)])}))})))[_0x689c76(0x333)](_0x4cf7d6=>{const _0xb106bf=_0x689c76;if(this[_0xb106bf(0x328)](),_0x4cf7d6){let {skeleton:_0x4c9f28,cursors:_0x306455}=_0x4cf7d6;this[_0xb106bf(0x10d)](_0x4c9f28,_0x306455);}})),this[_0x689c76(0x331)](),this[_0x689c76(0x362)]();}[_0x13b6b7(0x10d)](_0x549ed8,_0x2cb330){const _0x309441=_0x13b6b7;let {scene:_0x1dda12,mainComponent:_0x16356a}=this[_0x309441(0x358)];this[_0x309441(0x23e)]=_0x2cb330[_0x309441(0x162)](_0x45771d=>new _0xe7a32f(_0x45771d,_0x1dda12,_0x549ed8,_0x16356a)),this[_0x309441(0x14e)]=_0x2cb330;}[_0x13b6b7(0x1f3)](){const _0x56a6a3=_0x13b6b7;this[_0x56a6a3(0x328)]();let {scene:_0x361da8,mainComponent:_0x3fdf6f}=this[_0x56a6a3(0x358)],_0x2d41ff=this[_0x56a6a3(0xef)][_0x56a6a3(0x2b8)]();this[_0x56a6a3(0x23e)]=this['_cursors'][_0x56a6a3(0x162)](_0x18c6fe=>new _0xe7a32f(_0x18c6fe,_0x361da8,_0x2d41ff,_0x3fdf6f));}[_0x13b6b7(0x328)](){const _0x2343f9=_0x13b6b7;this[_0x2343f9(0x23e)][_0x2343f9(0x23a)](_0x28ea0b=>_0x28ea0b[_0x2343f9(0x329)]()),this[_0x2343f9(0x23e)]=[];}[_0x13b6b7(0x362)](){const _0x410969=_0x13b6b7;let _0x45f40b=[_0x652756['SetDocZoomRatioOperation']['id']];this[_0x410969(0x243)](this[_0x410969(0x34d)][_0x410969(0x1c6)](_0x483d4c=>{const _0x33f608=_0x410969;_0x45f40b[_0x33f608(0x275)](_0x483d4c['id'])&&_0x483d4c[_0x33f608(0x1f6)][_0x33f608(0x2d2)]===this[_0x33f608(0x358)][_0x33f608(0x2d2)]&&this[_0x33f608(0x1f3)]();}));}[_0x13b6b7(0x331)](){const _0x519227=_0x13b6b7;this[_0x519227(0x243)]((0x0,_0x1b882[_0x519227(0x281)])(this['_context'][_0x519227(0x142)]['onTransformChange$'])[_0x519227(0x2a1)]((0x0,_0x5bdd75[_0x519227(0x14d)])(_0x39f0b4=>_0x39f0b4['type']===_0x58c2ed[_0x519227(0xe5)][_0x519227(0x2e9)]),(0x0,_0x5bdd75[_0x519227(0x20e)])(0x10))[_0x519227(0x333)](()=>{this['_refreshCollabCursors']();}));}};_0x22fb89=_0x3debe9([_0x4b3a6d(0x1,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x2a8584['DocSkeletonManagerService'])),_0x4b3a6d(0x2,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x345a71)),_0x4b3a6d(0x3,_0x1b882[_0x13b6b7(0x297)]),_0x4b3a6d(0x4,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x1b882[_0x13b6b7(0x136)]))],_0x22fb89);var _0x1f4229=class extends _0x58c2ed[_0x13b6b7(0x239)]{constructor(_0x5a7f35,_0x2be961){const _0x4e3cbd=_0x13b6b7;if(super(_0x5a7f35,_0x2be961),_0x59ddc8(this,_0x4e3cbd(0x152),void 0x0),_0x59ddc8(this,_0x4e3cbd(0x388),!0x1),_0x59ddc8(this,_0x4e3cbd(0x347),void 0x0),_0x59ddc8(this,_0x4e3cbd(0x271),''),_0x59ddc8(this,'_labelPosition',_0x4e3cbd(0x367)),_0x59ddc8(this,'_backgroundColor',void 0x0),_0x59ddc8(this,_0x4e3cbd(0x2c5),void 0x0),_0x59ddc8(this,_0x4e3cbd(0x12d),void 0x0),_0x59ddc8(this,_0x4e3cbd(0x214),0x4),_0x59ddc8(this,_0x4e3cbd(0x232),void 0x0),_0x59ddc8(this,_0x4e3cbd(0x1a7),void 0x0),_0x59ddc8(this,_0x4e3cbd(0x2f3),!0x0),_0x59ddc8(this,_0x4e3cbd(0x1e0),0x0),_0x2be961){var _0x37a2e3;if(this[_0x4e3cbd(0x36c)](_0x2be961),_0x2be961['highlight']&&((_0x37a2e3=_0x2be961[_0x4e3cbd(0x26e)])==null?this['_highlightSecond']:_0x37a2e3)){var _0x16ea83;this['_startBlinking']((_0x16ea83=_0x2be961['highlightSecond'])==null?this[_0x4e3cbd(0x214)]:_0x16ea83);}}this[_0x4e3cbd(0x248)][_0x4e3cbd(0x125)](()=>this[_0x4e3cbd(0x36c)]({'hovered':!0x0})),this[_0x4e3cbd(0x11c)][_0x4e3cbd(0x125)](()=>this[_0x4e3cbd(0x36c)]({'hovered':!0x1}));}['setOffsetY'](_0x58a6c1){this['_offsetY']=_0x58a6c1;}[_0x13b6b7(0x36c)](_0x275251){const _0x1c9a26=_0x13b6b7;var _0xf5ad0e,_0x4c3a50,_0xcfa863,_0x216ba9,_0x20419d,_0xaecafa,_0x573470;this['_color']=(_0xf5ad0e=_0x275251[_0x1c9a26(0x119)])==null?this[_0x1c9a26(0x152)]:_0xf5ad0e,this[_0x1c9a26(0x388)]=(_0x4c3a50=_0x275251[_0x1c9a26(0x270)])==null?this[_0x1c9a26(0x388)]:_0x4c3a50,this[_0x1c9a26(0x347)]=(_0xcfa863=_0x275251[_0x1c9a26(0x155)])==null?this[_0x1c9a26(0x347)]:_0xcfa863,this['_name']=(_0x216ba9=_0x275251[_0x1c9a26(0x1f0)])==null?this['_name']:_0x216ba9,this['_labelPosition']=(_0x20419d=_0x275251['labelPosition'])==null?this[_0x1c9a26(0x302)]:_0x20419d,this[_0x1c9a26(0x2c7)]=(_0xaecafa=_0x275251[_0x1c9a26(0x104)])==null?this[_0x1c9a26(0x2c7)]:_0xaecafa,this['_showText']=(_0x573470=_0x275251['showText'])==null?this['_showText']:_0x573470,_0x275251[_0x1c9a26(0x26e)]!==void 0x0&&(this[_0x1c9a26(0x214)]=_0x275251[_0x1c9a26(0x26e)]),_0x275251['highlight']!==void 0x0&&(this['_highlight']=_0x275251[_0x1c9a26(0x14b)]),_0x275251[_0x1c9a26(0x2f7)]!==void 0x0&&(this['_offsetY']=_0x275251[_0x1c9a26(0x2f7)]),this[_0x1c9a26(0x1f8)]({'width':_0x275251[_0x1c9a26(0x287)],'height':_0x275251[_0x1c9a26(0x1c0)]});}[_0x13b6b7(0x1a1)](_0x4574bb){const _0x4a6b12=_0x13b6b7;let {row:_0x4f1129,column:_0x44898b}=_0x4574bb;if(_0x4f1129>=this[_0x4a6b12(0x347)][_0x4a6b12(0x2d5)]&&_0x4f1129<=this[_0x4a6b12(0x347)][_0x4a6b12(0xd5)]&&_0x44898b>=this['_range'][_0x4a6b12(0x1ae)]&&_0x44898b<=this[_0x4a6b12(0x347)][_0x4a6b12(0x126)]){this[_0x4a6b12(0x36c)]({'hovered':!0x0});return;}this[_0x4a6b12(0x36c)]({'hovered':!0x1});}[_0x13b6b7(0x146)](_0x36b070){const _0x3e3bf6=_0x13b6b7;this[_0x3e3bf6(0x102)](),this[_0x3e3bf6(0x2f3)]=!0x0,this[_0x3e3bf6(0x1a7)]=window[_0x3e3bf6(0x229)](()=>{const _0x17c3f8=_0x3e3bf6;this[_0x17c3f8(0x2f3)]=!this[_0x17c3f8(0x2f3)],this[_0x17c3f8(0x222)](!0x0);},0x1f4),this[_0x3e3bf6(0x232)]=window[_0x3e3bf6(0xcb)](()=>{const _0x57d568=_0x3e3bf6;this[_0x57d568(0x102)](),this[_0x57d568(0x2f3)]=!0x0,this[_0x57d568(0x222)](!0x0);},_0x36b070*0x3e8);}[_0x13b6b7(0x102)](){const _0x28f5f9=_0x13b6b7;this['_blinkIntervalTimer']&&(window[_0x28f5f9(0x32a)](this['_blinkIntervalTimer']),this[_0x28f5f9(0x1a7)]=void 0x0),this[_0x28f5f9(0x232)]&&(window[_0x28f5f9(0x2e6)](this[_0x28f5f9(0x232)]),this[_0x28f5f9(0x232)]=void 0x0);}[_0x13b6b7(0x269)](_0x1eb01e){return!0x1;}['dispose'](){this['_stopBlinking'](),super['dispose']();}[_0x13b6b7(0x1fc)](_0x41f610){const _0x283060=_0x13b6b7;let _0x314541=this['_color'],_0x2326eb=this[_0x283060(0x2c7)];if(this[_0x283060(0x12d)]&&!this[_0x283060(0x2f3)]&&(_0x314541=this[_0x283060(0x31c)](this['_color']),_0x2326eb=this[_0x283060(0x2c7)]?this[_0x283060(0x31c)](this[_0x283060(0x2c7)]):void 0x0),_0x58c2ed[_0x283060(0xee)][_0x283060(0x2e7)](_0x41f610,{'width':this[_0x283060(0x287)],'height':this['height'],'strokeWidth':this['strokeWidth']||1.5,'stroke':_0x314541,'evented':!0x1,'fill':_0x2326eb}),this[_0x283060(0x388)]||this[_0x283060(0x2c5)]){var _0x48d046;_0x41f610[_0x283060(0x266)](),_0x41f610['transform'](0x1,0x0,0x0,0x1,this[_0x283060(0x287)],(this[_0x283060(0x302)]===_0x283060(0xed)?0x0:-0x14)+((_0x48d046=this[_0x283060(0x1e0)])==null?0x0:_0x48d046)),_0x295f0e[_0x283060(0x2e7)](_0x41f610,{'text':this['_name'],'color':_0x314541}),_0x41f610[_0x283060(0x255)]();}}[_0x13b6b7(0x31c)](_0x1e72ce){const _0x53c59f=_0x13b6b7;return _0x1e72ce[_0x53c59f(0x22f)]('#')?'rgba('+Number['parseInt'](_0x1e72ce[_0x53c59f(0x368)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x1e72ce[_0x53c59f(0x368)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x1e72ce[_0x53c59f(0x368)](0x5,0x7),0x10)+_0x53c59f(0x318):_0x1e72ce[_0x53c59f(0x22f)](_0x53c59f(0x321))?_0x1e72ce[_0x53c59f(0xe0)](/[\d.]+\)$/g,_0x53c59f(0x315)):_0x1e72ce[_0x53c59f(0x22f)](_0x53c59f(0x22e))?_0x1e72ce[_0x53c59f(0xe0)]('rgb','rgba')[_0x53c59f(0xe0)](')',',\x200.2)'):_0x1e72ce;}};let _0x2545b9=class extends _0x1b882[_0x13b6b7(0x384)]{constructor(_0x390d35,_0x5227ec,_0x284aa9,_0x2c2f9d){const _0x2a6cdc=_0x13b6b7;super(),this[_0x2a6cdc(0x358)]=_0x390d35,this[_0x2a6cdc(0x336)]=_0x5227ec,this[_0x2a6cdc(0x34f)]=_0x284aa9,this['_themeService']=_0x2c2f9d,_0x59ddc8(this,_0x2a6cdc(0x14e),new Set()),_0x59ddc8(this,_0x2a6cdc(0x380),null),this['_init']();}[_0x13b6b7(0x13d)](){const _0x24d74c=_0x13b6b7;this[_0x24d74c(0x336)][_0x24d74c(0x190)]['pipe']((0x0,_0x5bdd75[_0x24d74c(0xf6)])(this['dispose$']),(0x0,_0x5bdd75[_0x24d74c(0xc3)])(_0x25ceee=>{const _0x26633a=_0x24d74c;if(_0x25ceee){let _0x28cb15=_0x25ceee['sheetId'];return(0x0,_0x35c532[_0x26633a(0x141)])(this[_0x26633a(0x34f)]['getCollabCursors$'](this['_context']['unitId']),this[_0x26633a(0x26c)][_0x26633a(0xf1)])[_0x26633a(0x2a1)]((0x0,_0x5bdd75[_0x26633a(0x162)])(([_0x4320e0,_0x4adda3])=>{const _0x376150=_0x26633a;let _0x4318c4=new Map();return _0x4320e0[_0x376150(0x23a)]((_0x228005,_0x42977d)=>{const _0x1ba761=_0x376150;if(_0x228005['sheetID']===_0x28cb15){let _0x41c4dc={..._0x228005};_0x41c4dc['color']=this['_themeService']['getColorFromTheme'](_0x228005['color']),_0x4318c4[_0x1ba761(0x373)](_0x42977d,_0x41c4dc);}}),{'skeleton':_0x25ceee,'cursors':_0x4318c4};}));}return(0x0,_0x35c532['of'])({'skeleton':null,'cursors':new Map()});}))[_0x24d74c(0x333)](({skeleton:_0x2f0fda,cursors:_0xd2a8aa})=>{const _0x4f553b=_0x24d74c;this[_0x4f553b(0x328)](),_0x2f0fda&&this['_updateCollabCursors'](_0x2f0fda,_0xd2a8aa);}),this[_0x24d74c(0x336)][_0x24d74c(0x190)][_0x24d74c(0x333)](_0x7943ad=>{const _0x1af10f=_0x24d74c;if(_0x7943ad==null)return;let {skeleton:_0x591fc4}=_0x7943ad,{scene:_0x3a7c80}=this[_0x1af10f(0x358)];_0x3a7c80[_0x1af10f(0x306)]['subscribeEvent']((0x0,_0x1b882[_0x1af10f(0x12b)])(_0x3b3eee=>{const _0x64dacd=_0x1af10f;var _0x4a3526,_0x56cf5b;let {offsetX:_0x25ddd0,offsetY:_0x2896fe}=_0x3b3eee,{x:_0x5452a9,y:_0x5bb899}=_0x3a7c80[_0x64dacd(0x101)](_0x58c2ed[_0x64dacd(0x28d)]['FromArray']([_0x25ddd0,_0x2896fe])),{scaleX:_0x47736a,scaleY:_0x2b1bbf}=_0x3a7c80['getAncestorScale'](),_0x5bdb73=_0x3a7c80[_0x64dacd(0x2ad)](_0x58c2ed[_0x64dacd(0x28f)][_0x64dacd(0x36f)]),_0x1cb9b9=_0x3a7c80[_0x64dacd(0x2b0)](_0x58c2ed[_0x64dacd(0x28d)][_0x64dacd(0xe2)]([_0x5452a9,_0x5bb899]),_0x5bdb73),_0x1529e6=_0x591fc4[_0x64dacd(0x161)](_0x25ddd0,_0x2896fe,_0x47736a,_0x2b1bbf,_0x1cb9b9);((_0x4a3526=this[_0x64dacd(0x380)])==null?void 0x0:_0x4a3526[_0x64dacd(0xf5)])===_0x1529e6[_0x64dacd(0xf5)]&&((_0x56cf5b=this[_0x64dacd(0x380)])==null?void 0x0:_0x56cf5b[_0x64dacd(0x165)])===_0x1529e6['row']||this[_0x64dacd(0x14e)]['forEach'](_0x42db74=>{_0x42db74['onMouseMove'](_0x1529e6);});},0x64));});}['_updateCollabCursors'](_0x18a169,_0x3e2561){const _0x4b2538=_0x13b6b7;let _0x360761=this[_0x4b2538(0x336)][_0x4b2538(0x1c4)]();if(!_0x360761)return;let _0x5c0682=this[_0x4b2538(0x10a)]();if(!_0x5c0682)return;this[_0x4b2538(0x14e)]['forEach'](_0x3c9c3e=>{const _0x24f32d=_0x4b2538;_0x3c9c3e[_0x24f32d(0x222)]();});let {scene:_0x430e51}=_0x5c0682,_0x1106ed=_0x32c7b6(Array['from'](_0x3e2561[_0x4b2538(0x1d0)]()))[_0x4b2538(0x162)](_0x45666a=>{const _0x40f619=_0x4b2538;let {color:_0x16de41,range:_0x44d11e,name:_0x4389dd,selection:_0xa20415,sheetID:_0xf3855}=_0x45666a,{startColumn:_0x2a7939,startRow:_0x2b22e3,endColumn:_0x212c57,endRow:_0x4502b7}=_0x44d11e,_0x4f6dab=(0x0,_0x18a125[_0x40f619(0x33b)])(_0x2b22e3,_0x2a7939,_0x430e51,_0x360761),_0x1f1307=(0x0,_0x18a125[_0x40f619(0x33b)])(_0x4502b7,_0x212c57,_0x430e51,_0x360761),{columnHeaderHeightAndMarginTop:_0x5c4c67}=_0x360761,{startX:_0x5e5ec9,startY:_0x4556fd}=_0x4f6dab,{endX:_0x143568,endY:_0x28a4fb}=_0x1f1307,_0x227e36=_0x143568-_0x5e5ec9,_0x2a70d1=_0x28a4fb-_0x4556fd;return new _0x1f4229(_0x4389dd,{'labelPosition':_0x4556fd-_0x5c4c67>=0x14?_0x40f619(0x367):_0x40f619(0xed),'sheetID':_0xf3855,'range':_0x44d11e,'color':_0x16de41,'name':_0x4389dd,'selection':_0xa20415,'left':_0x5e5ec9,'top':_0x4556fd,'width':_0x227e36,'height':_0x2a70d1,'evented':!0x1,'zIndex':0x1389});});_0x430e51[_0x4b2538(0x1ea)](_0x1106ed,0x1),this[_0x4b2538(0x14e)]=new Set(_0x1106ed);}['_removeCollabCursors'](){const _0x1d363b=_0x13b6b7;var _0x1a665b;(_0x1a665b=this[_0x1d363b(0x14e)])==null||_0x1a665b[_0x1d363b(0x23a)](_0x19bd65=>_0x19bd65[_0x1d363b(0x329)]());}[_0x13b6b7(0x10a)](){const _0x5e31b6=_0x13b6b7;return(0x0,_0x18a125['getSheetObject'])(this[_0x5e31b6(0x358)]['unit'],this[_0x5e31b6(0x358)]);}};_0x2545b9=_0x3debe9([_0x4b3a6d(0x1,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x18a125[_0x13b6b7(0x1d6)])),_0x4b3a6d(0x2,(0x0,_0x1b882['Inject'])(_0x345a71)),_0x4b3a6d(0x3,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x1b882[_0x13b6b7(0x136)]))],_0x2545b9);function _0x32c7b6(_0x170c33){const _0xd65898=_0x13b6b7;let _0x4f44f5=new Map();return _0x170c33[_0xd65898(0x23a)](_0xecbe2d=>{const _0x376251=_0xd65898;if(_0x4f44f5[_0x376251(0xbe)](_0xecbe2d[_0x376251(0x37a)])){let _0x33db30=_0x4f44f5[_0x376251(0x18b)](_0xecbe2d[_0x376251(0x37a)]);_0x33db30[_0x376251(0x1f0)]+=',\x20'+_0xecbe2d[_0x376251(0x1f0)];}else _0x4f44f5[_0x376251(0x373)](_0xecbe2d[_0x376251(0x37a)],_0xecbe2d);}),Array[_0xd65898(0x2b9)](_0x4f44f5[_0xd65898(0x1d0)]());}let _0x511b5d=class extends _0x1b882[_0x13b6b7(0x26a)]{constructor(_0x1cb817,_0x5361ea,_0x55db37,_0x1d9ed8,_0x325998,_0x2ff3e7){const _0x4d5711=_0x13b6b7;super(),this[_0x4d5711(0x31b)]=_0x1cb817,this[_0x4d5711(0xff)]=_0x5361ea,this[_0x4d5711(0x1c8)]=_0x55db37,this[_0x4d5711(0x1a9)]=_0x1d9ed8,this[_0x4d5711(0x2fd)]=_0x325998,this[_0x4d5711(0x309)]=_0x2ff3e7,this[_0x4d5711(0x38c)](),this[_0x4d5711(0x1de)]();}[_0x13b6b7(0x38c)](){const _0x17bbfd=_0x13b6b7;this[_0x17bbfd(0x243)](this[_0x17bbfd(0x31b)][_0x17bbfd(0x10f)](()=>{const _0x423eac=_0x17bbfd;if(this[_0x423eac(0xff)][_0x423eac(0x20b)][_0x423eac(0x33e)])return this[_0x423eac(0x309)]['t']('collaboration.offline-data-not-saved');}));}[_0x13b6b7(0x1de)](){const _0x3e18c4=_0x13b6b7;this[_0x3e18c4(0x243)](this['_collaborationUIEventService'][_0x3e18c4(0x2f1)][_0x3e18c4(0x333)](_0x2a7435=>{const _0x4a64f8=_0x3e18c4;_0x2a7435['id']===_0x261153[_0x4a64f8(0x175)][_0x4a64f8(0x1ed)]&&this['_messageService']['show']({'type':_0x4edaae[_0x4a64f8(0x290)][_0x4a64f8(0x2c1)],'content':this[_0x4a64f8(0x309)]['t'](_0x4a64f8(0x291))}),_0x2a7435['id']===_0x261153['CollaborationUIEventId'][_0x4a64f8(0x361)]&&this['_messageService'][_0x4a64f8(0x2fc)]({'type':_0x4edaae[_0x4a64f8(0x290)]['Warning'],'content':this[_0x4a64f8(0x309)]['t'](_0x4a64f8(0x128))}),_0x2a7435['id']===_0x261153[_0x4a64f8(0x175)]['PERMISSION_DENIED']&&this[_0x4a64f8(0x2fd)][_0x4a64f8(0x2fc)]({'title':this[_0x4a64f8(0x309)]['t']('permission.title'),'content':this[_0x4a64f8(0x309)]['t'](_0x4a64f8(0x16d)),'type':_0x4a64f8(0x106),'duration':0x0}),_0x2a7435['id']===_0x261153['CollaborationUIEventId'][_0x4a64f8(0xd4)]&&this[_0x4a64f8(0x1a9)][_0x4a64f8(0x2fc)]({'type':_0x4edaae[_0x4a64f8(0x290)][_0x4a64f8(0x233)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x2a7435[_0x4a64f8(0x323)]+')'}),_0x2a7435['id']===_0x261153[_0x4a64f8(0x175)][_0x4a64f8(0x25c)]&&this[_0x4a64f8(0x1a9)]['show']({'type':_0x4edaae['MessageType']['Warning'],'content':this[_0x4a64f8(0x309)]['t'](_0x2a7435[_0x4a64f8(0x323)]||'')}),_0x2a7435['id']===_0x261153[_0x4a64f8(0x175)][_0x4a64f8(0x2a9)]&&this['_messageService'][_0x4a64f8(0x2fc)]({'type':_0x4edaae[_0x4a64f8(0x290)][_0x4a64f8(0x2c1)],'content':this[_0x4a64f8(0x309)]['t'](_0x4a64f8(0x1ad))}),_0x2a7435['id']===_0x261153[_0x4a64f8(0x175)][_0x4a64f8(0x183)]&&this[_0x4a64f8(0x1a9)][_0x4a64f8(0x2fc)]({'type':_0x4edaae[_0x4a64f8(0x290)][_0x4a64f8(0x233)],'content':this[_0x4a64f8(0x309)]['t'](_0x4a64f8(0xda))}),_0x2a7435['id']===_0x261153[_0x4a64f8(0x175)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x4a64f8(0x1a9)]['show']({'type':_0x4edaae[_0x4a64f8(0x290)][_0x4a64f8(0x233)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x511b5d=_0x3debe9([_0x4b3a6d(0x0,_0x17c834[_0x13b6b7(0x15c)]),_0x4b3a6d(0x1,_0x261153['ILocalCacheService']),_0x4b3a6d(0x2,(0x0,_0x1b882['Inject'])(_0x261153[_0x13b6b7(0x29f)])),_0x4b3a6d(0x3,_0x17c834[_0x13b6b7(0x326)]),_0x4b3a6d(0x4,_0x17c834[_0x13b6b7(0x177)]),_0x4b3a6d(0x5,(0x0,_0x1b882['Inject'])(_0x1b882[_0x13b6b7(0x12f)]))],_0x511b5d);let _0x5c5797=_0x13b6b7(0x246);Symbol(_0x5c5797);let _0x29d52b={},_0x8b787d=class{constructor(_0x207e37,_0x3ca947){const _0x561134=_0x13b6b7;this[_0x561134(0x15a)]=_0x207e37,this['_renderManagerService']=_0x3ca947;}[_0x13b6b7(0x2a8)](_0x1a83ef){const _0x38ac3a=_0x13b6b7;this[_0x38ac3a(0xbf)](_0x1a83ef),this[_0x38ac3a(0x2cb)](_0x1a83ef);}['transformRemoteChangeset'](_0x215dfb){const _0x36effe=_0x13b6b7;let {unitID:_0x29771c}=_0x215dfb,{redoCache:_0x270b4a}=this[_0x36effe(0xde)][_0x36effe(0x220)](_0x29771c)[_0x36effe(0x2a3)](_0x652756[_0x36effe(0x205)])['getUndoRedoMutationParamsCache']();if(_0x270b4a[_0x36effe(0x1b1)]===0x0)return _0x215dfb;let _0x34ed84=_0x1b882[_0x36effe(0x35b)][_0x36effe(0x2c8)](_0x215dfb[_0x36effe(0x148)][0x0]);for(let _0x34a2ca=0x0;_0x34a2ca<_0x270b4a[_0x36effe(0x1b1)];_0x34a2ca++){let _0x426def={'id':_0x36effe(0x176),'params':{..._0x270b4a[_0x34a2ca]}},_0x5732c1=this[_0x36effe(0x15a)][_0x36effe(0x27a)](_0x34ed84,_0x426def,!0x1);if((0x0,_0x5214d3[_0x36effe(0x13f)])(_0x5732c1))throw _0x5732c1[_0x36effe(0x106)];_0x34ed84=_0x5732c1[_0x36effe(0x1af)];}return{..._0x1b882[_0x36effe(0x35b)][_0x36effe(0x2c8)](_0x215dfb),'mutations':[_0x34ed84]};}['_transformUndoRedoStack'](_0x5e6b7a){const _0x4167b5=_0x13b6b7;let {unitID:_0x1e63d4}=_0x5e6b7a,_0x186353=this[_0x4167b5(0xde)]['getRenderById'](_0x1e63d4)['with'](_0x652756[_0x4167b5(0x205)]),{undoCache:_0x17977a,redoCache:_0x32fb8d}=_0x186353[_0x4167b5(0x308)]();if(_0x17977a['length']===0x0||_0x32fb8d[_0x4167b5(0x1b1)]===0x0)return;let _0x3f5540=[],_0x4150c0=[],_0x39e51b=_0x1b882[_0x4167b5(0x35b)]['deepClone'](_0x5e6b7a[_0x4167b5(0x148)][0x0]),_0x5efc14=_0x1b882['Tools'][_0x4167b5(0x2c8)](_0x5e6b7a[_0x4167b5(0x148)][0x0]);for(let _0x390180=_0x17977a[_0x4167b5(0x1b1)]-0x1;_0x390180>=0x0;_0x390180--){let _0x10b61f={'id':_0x4167b5(0x176),'params':{..._0x17977a[_0x390180]}},_0x4cc0d0={'id':_0x4167b5(0x176),'params':{..._0x32fb8d[_0x390180]}},_0x3def74=this[_0x4167b5(0x15a)][_0x4167b5(0x27a)](_0x39e51b,_0x10b61f,!0x1),_0x117816=this[_0x4167b5(0x15a)][_0x4167b5(0x27a)](_0x5efc14,_0x4cc0d0,!0x1);if((0x0,_0x5214d3[_0x4167b5(0x13f)])(_0x3def74))throw _0x3def74[_0x4167b5(0x106)];if((0x0,_0x5214d3['isTransformMutationFailure'])(_0x117816))throw _0x117816[_0x4167b5(0x106)];_0x3f5540[_0x4167b5(0x2ea)](_0x3def74['m2Prime'][_0x4167b5(0x1f6)]),_0x4150c0[_0x4167b5(0x2ea)](_0x117816[_0x4167b5(0x15b)][_0x4167b5(0x1f6)]),_0x39e51b=_0x3def74[_0x4167b5(0x1af)],_0x5efc14=_0x117816['m1Prime'];}_0x186353[_0x4167b5(0x1be)]({'undoCache':_0x3f5540,'redoCache':_0x4150c0});}[_0x13b6b7(0x2cb)](_0x4394db){const _0x3d8e52=_0x13b6b7;let {unitID:_0x1e4145}=_0x4394db,_0x2d98f4=this[_0x3d8e52(0xde)]['getRenderById'](_0x1e4145)['with'](_0x652756['DocIMEInputManagerService']),_0x15d5dc=_0x2d98f4[_0x3d8e52(0x376)]();if(_0x15d5dc==null)return;let _0x104d1c=[{'id':_0x3d8e52(0x176),'params':{'unitId':_0x4394db['unitID'],'actions':null,'textRanges':[_0x15d5dc]}}],_0x30ed0a=this[_0x3d8e52(0x15a)][_0x3d8e52(0x35e)](_0x4394db,_0x104d1c);if(!(0x0,_0x5214d3['isTransformMutationsWithChangesetSuccess'])(_0x30ed0a))throw _0x30ed0a[_0x3d8e52(0x106)];let _0x23d645=_0x30ed0a[_0x3d8e52(0x15b)][0x0][_0x3d8e52(0x1f6)]['textRanges'];Array[_0x3d8e52(0x2db)](_0x23d645)&&_0x23d645[_0x3d8e52(0x1b1)]&&_0x2d98f4['setActiveRange'](_0x23d645[0x0]);}};_0x8b787d=_0x3debe9([_0x4b3a6d(0x0,_0x5214d3[_0x13b6b7(0x36b)]),_0x4b3a6d(0x1,_0x58c2ed[_0x13b6b7(0x12c)])],_0x8b787d);let _0x2d775a=class{constructor(_0x21cdfe,_0x28cecf,_0x26d0ab){const _0x42a7cc=_0x13b6b7;this['_injector']=_0x21cdfe,this[_0x42a7cc(0x15a)]=_0x28cecf,this[_0x42a7cc(0xdb)]=_0x26d0ab;}[_0x13b6b7(0x300)](_0x57484b){const _0x447faa=_0x13b6b7;this[_0x447faa(0xd1)](_0x57484b);}[_0x13b6b7(0x1da)](_0x35e167){const _0x4f2f46=_0x13b6b7;let {unitID:_0x487a9c}=_0x35e167,{collaboration:_0x533703}=this[_0x4f2f46(0xdb)]['getStateCache'](_0x487a9c);if(_0x533703['length']===0x0)return _0x35e167;let _0x4d1910=_0x1b882['Tools'][_0x4f2f46(0x2c8)](_0x35e167['mutations'][0x0]);for(let _0x358bc0=0x0;_0x358bc0<_0x533703[_0x4f2f46(0x1b1)];_0x358bc0++){let _0x53959f={'id':_0x4f2f46(0x176),'params':{'unitId':_0x533703[_0x358bc0]['unitId'],..._0x533703[_0x358bc0]['redoState']}},_0x1e38f4=this[_0x4f2f46(0x15a)]['transformMutation'](_0x4d1910,_0x53959f,!0x1);if((0x0,_0x5214d3[_0x4f2f46(0x13f)])(_0x1e38f4))throw _0x1e38f4[_0x4f2f46(0x106)];_0x4d1910=_0x1e38f4['m1Prime'];}return{..._0x1b882['Tools'][_0x4f2f46(0x2c8)](_0x35e167),'mutations':[_0x4d1910]};}[_0x13b6b7(0xd1)](_0x41c141){const _0x4eecbe=_0x13b6b7;let {unitID:_0x1c1a31}=_0x41c141,{history:_0x444a4f,collaboration:_0x33c461}=this[_0x4eecbe(0xdb)]['getStateCache'](_0x1c1a31);if(_0x444a4f['length']===0x0&&_0x33c461[_0x4eecbe(0x1b1)]===0x0)return;let _0x4aa782=[],_0x2fe2fd=[],_0x5e5fc7=_0x1b882[_0x4eecbe(0x35b)][_0x4eecbe(0x2c8)](_0x41c141[_0x4eecbe(0x148)][0x0]),_0x3d855d=_0x1b882[_0x4eecbe(0x35b)]['deepClone'](_0x41c141[_0x4eecbe(0x148)][0x0]);for(let _0x474c83=_0x444a4f['length']-0x1;_0x474c83>=0x0;_0x474c83--){let _0x41d306={'id':_0x4eecbe(0x176),'params':{'unitId':_0x444a4f[_0x474c83][_0x4eecbe(0x2d2)],..._0x444a4f[_0x474c83]['undoState']}},_0x5f1593={'id':_0x4eecbe(0x176),'params':{'unitId':_0x444a4f[_0x474c83][_0x4eecbe(0x2d2)],..._0x444a4f[_0x474c83]['redoState']}},_0x1a9e8e=this[_0x4eecbe(0x15a)][_0x4eecbe(0x27a)](_0x5e5fc7,_0x41d306,!0x1),_0x55e378=this[_0x4eecbe(0x15a)][_0x4eecbe(0x27a)](_0x3d855d,_0x5f1593,!0x1);if((0x0,_0x5214d3[_0x4eecbe(0x13f)])(_0x1a9e8e))throw _0x1a9e8e[_0x4eecbe(0x106)];if((0x0,_0x5214d3[_0x4eecbe(0x13f)])(_0x55e378))throw _0x55e378[_0x4eecbe(0x106)];_0x4aa782[_0x4eecbe(0x2ea)]({..._0x444a4f[_0x474c83],'undoState':_0x1a9e8e[_0x4eecbe(0x15b)][_0x4eecbe(0x1f6)],'redoState':_0x55e378[_0x4eecbe(0x15b)]['params']}),_0x5e5fc7=_0x1a9e8e[_0x4eecbe(0x1af)],_0x3d855d=_0x55e378[_0x4eecbe(0x1af)];}_0x5e5fc7=_0x1b882[_0x4eecbe(0x35b)][_0x4eecbe(0x2c8)](_0x41c141['mutations'][0x0]),_0x3d855d=_0x1b882[_0x4eecbe(0x35b)][_0x4eecbe(0x2c8)](_0x41c141['mutations'][0x0]);for(let _0x416d1d=_0x33c461[_0x4eecbe(0x1b1)]-0x1;_0x416d1d>=0x0;_0x416d1d--){let _0x1064f3={'id':_0x4eecbe(0x176),'params':{'unitId':_0x33c461[_0x416d1d][_0x4eecbe(0x2d2)],..._0x33c461[_0x416d1d][_0x4eecbe(0x132)]}},_0x10fcca={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x33c461[_0x416d1d]['unitId'],..._0x33c461[_0x416d1d][_0x4eecbe(0x2aa)]}},_0x1ef39b=this[_0x4eecbe(0x15a)][_0x4eecbe(0x27a)](_0x5e5fc7,_0x1064f3,!0x1),_0x29d29a=this[_0x4eecbe(0x15a)]['transformMutation'](_0x3d855d,_0x10fcca,!0x1);if((0x0,_0x5214d3[_0x4eecbe(0x13f)])(_0x1ef39b))throw _0x1ef39b['error'];if((0x0,_0x5214d3[_0x4eecbe(0x13f)])(_0x29d29a))throw _0x29d29a['error'];_0x2fe2fd[_0x4eecbe(0x2ea)]({..._0x33c461[_0x416d1d],'undoState':_0x1ef39b[_0x4eecbe(0x15b)][_0x4eecbe(0x1f6)],'redoState':_0x29d29a['m2Prime'][_0x4eecbe(0x1f6)]}),_0x5e5fc7=_0x1ef39b['m1Prime'],_0x3d855d=_0x29d29a[_0x4eecbe(0x1af)];}this[_0x4eecbe(0xdb)]['setStateCache'](_0x1c1a31,{'history':_0x4aa782,'collaboration':_0x2fe2fd});}};_0x2d775a=_0x3debe9([_0x4b3a6d(0x0,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x1b882['Injector'])),_0x4b3a6d(0x1,_0x5214d3[_0x13b6b7(0x36b)]),_0x4b3a6d(0x2,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x652756[_0x13b6b7(0x103)]))],_0x2d775a);let _0xf096d=class{constructor(_0x460f6d,_0x571190){const _0x2edf9f=_0x13b6b7;this['_injector']=_0x460f6d,this[_0x2edf9f(0x15a)]=_0x571190;}[_0x13b6b7(0xfb)](_0x3f93d5){const _0x52e9a4=_0x13b6b7;var _0x304354;let _0x38cd18=this[_0x52e9a4(0x33a)][_0x52e9a4(0x18b)](_0x2a8584[_0x52e9a4(0x121)]),_0x53bf1f=(_0x304354=_0x38cd18[_0x52e9a4(0x208)]())==null?[]:_0x304354;if(_0x53bf1f[_0x52e9a4(0x1b1)]===0x0)return;let _0x4dc88e=_0x3f93d5['unitID'],_0xae9f6a=[{'id':_0x52e9a4(0x176),'params':{'unitId':_0x4dc88e,'actions':null,'textRanges':_0x53bf1f}}],_0x32da36=this['_transformService'][_0x52e9a4(0x35e)](_0x3f93d5,_0xae9f6a);if(!(0x0,_0x5214d3[_0x52e9a4(0x200)])(_0x32da36))throw _0x32da36[_0x52e9a4(0x106)];let _0x4f166f=_0x32da36['m2Prime'][0x0][_0x52e9a4(0x1f6)][_0x52e9a4(0x2f8)];Array[_0x52e9a4(0x2db)](_0x4f166f)&&_0x4f166f['length']&&_0x38cd18[_0x52e9a4(0x11f)](_0x4f166f,{'unitId':_0x4dc88e,'subUnitId':_0x4dc88e},!0x1);}};_0xf096d=_0x3debe9([_0x4b3a6d(0x0,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x1b882[_0x13b6b7(0x1ab)])),_0x4b3a6d(0x1,_0x5214d3[_0x13b6b7(0x36b)])],_0xf096d);let _0x378cab=class extends _0x1b882[_0x13b6b7(0x26a)]{constructor(_0x44d64a,_0x232211,_0x29c0fa,_0x273e6b,_0x244819,_0x14607e,_0x3b7a8b,_0xb90c4f){const _0x356518=_0x13b6b7;super(),this[_0x356518(0xdb)]=_0x44d64a,this[_0x356518(0xfd)]=_0x232211,this[_0x356518(0x359)]=_0x29c0fa,this[_0x356518(0x259)]=_0x273e6b,this[_0x356518(0x27c)]=_0x244819,this[_0x356518(0x381)]=_0x14607e,this['_messageService']=_0x3b7a8b,this[_0x356518(0x309)]=_0xb90c4f,_0x59ddc8(this,_0x356518(0x288),new _0x35c532[(_0x356518(0x212))](_0x261153[_0x356518(0x28b)][_0x356518(0x1e3)])),this[_0x356518(0x37c)]();}['_initEntityListener'](){const _0x25c34b=_0x13b6b7;this[_0x25c34b(0x243)](this[_0x25c34b(0xfd)][_0x25c34b(0x226)][_0x25c34b(0x333)](_0x92a339=>{const _0x4975e0=_0x25c34b;let _0x21d34f=this[_0x4975e0(0xdb)]['docStateChange$']['subscribe'](_0x339608=>{const _0x3cca9f=_0x4975e0;if(_0x339608==null)return;let {unitId:_0x86920d,redoState:_0xb92dda,commandId:_0x2ab6ee}=_0x339608;if(_0x86920d!==_0x92a339[_0x3cca9f(0x282)])return;let _0x4fa580={'id':_0x2ab6ee,'type':_0x1b882[_0x3cca9f(0x360)][_0x3cca9f(0x38d)],'params':{'unitId':_0x86920d,'actions':_0xb92dda['actions'],'textRanges':null}};_0x92a339['onLocalMutation'](_0x4fa580);});_0x92a339['disposeWithMe'](_0x21d34f),_0x92a339 instanceof _0x261153['DocCollaborationEntity']&&_0x92a339[_0x4975e0(0x29a)]({'onTransformIME':_0x214d96=>this['_docTransformIMECacheService'][_0x4975e0(0x2a8)](_0x214d96),'onTransformState':_0x5ecbe3=>this[_0x4975e0(0x259)]['transformStateCache'](_0x5ecbe3),'onTransformSelections':_0x2ec6d7=>this[_0x4975e0(0x27c)][_0x4975e0(0xfb)](_0x2ec6d7),'onSyncEditingCollabCursor':_0x65a0ea=>this[_0x4975e0(0x381)][_0x4975e0(0x1e7)](_0x65a0ea),'onTransformRemoteChangesetByIMECache':_0x156ad1=>this[_0x4975e0(0x359)][_0x4975e0(0x1da)](_0x156ad1),'onTransformRemoteChangesetByStateCache':_0x1c591b=>this[_0x4975e0(0x259)][_0x4975e0(0x1da)](_0x1c591b)});}));}};_0x378cab=_0x3debe9([_0x4b3a6d(0x0,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x652756['DocStateChangeManagerService'])),_0x4b3a6d(0x1,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x261153[_0x13b6b7(0xc5)])),_0x4b3a6d(0x2,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x8b787d)),_0x4b3a6d(0x3,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x2d775a)),_0x4b3a6d(0x4,(0x0,_0x1b882['Inject'])(_0xf096d)),_0x4b3a6d(0x5,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x2fb00f)),_0x4b3a6d(0x6,_0x17c834[_0x13b6b7(0x326)]),_0x4b3a6d(0x7,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x1b882[_0x13b6b7(0x12f)]))],_0x378cab);let _0x53753e=class extends _0x1b882[_0x13b6b7(0x26a)]{constructor(_0x2f0f20,_0x3cda84,_0x57097e,_0xe62ed8){const _0xfd555c=_0x13b6b7;super(),this[_0xfd555c(0x33a)]=_0x2f0f20,this['_httpService']=_0x3cda84,this[_0xfd555c(0xea)]=_0x57097e,this[_0xfd555c(0x268)]=_0xe62ed8,_0x59ddc8(this,'_memberID',void 0x0),this['_init']();}[_0x13b6b7(0x13d)](){const _0x18da7f=_0x13b6b7;this['_initWindowErrorListener'](),this[_0x18da7f(0x27b)](),this[_0x18da7f(0x234)](),this['_initUserListener']();}[_0x13b6b7(0x294)](){const _0x1c2b77=_0x13b6b7;this[_0x1c2b77(0x243)](this['_collaborationSessionService'][_0x1c2b77(0x224)][_0x1c2b77(0x333)](_0x1e0df5=>{const _0x187ee0=_0x1c2b77;this[_0x187ee0(0x20d)]=_0x1e0df5==null?void 0x0:_0x1e0df5['memberID'];}));}[_0x13b6b7(0xcf)](){const _0x571934=_0x13b6b7;let _0x18eaa3=_0x57ebb9=>{const _0x47038f=_0x58a9;var _0x1db5ae;this[_0x47038f(0x168)](_0x47038f(0x106),_0x47038f(0x242)+_0x57ebb9['message']+'\x20at\x20'+_0x57ebb9[_0x47038f(0x2a4)]+':'+_0x57ebb9[_0x47038f(0x10b)]+':'+_0x57ebb9['colno']+'\x0a'+(((_0x1db5ae=_0x57ebb9[_0x47038f(0x106)])==null?void 0x0:_0x1db5ae[_0x47038f(0x32c)])||''));};window[_0x571934(0x341)]('error',_0x18eaa3),this[_0x571934(0x243)](()=>{const _0x377378=_0x571934;window[_0x377378(0x1bd)]('error',_0x18eaa3);});}[_0x13b6b7(0x27b)](){const _0x501dea=_0x13b6b7;let _0x5ce9dc=_0x37a0d5=>{const _0x11597b=_0x58a9;this['_uploadLog'](_0x11597b(0x106),_0x11597b(0x1b6)+_0x37a0d5[_0x11597b(0x1cb)]);};window['addEventListener'](_0x501dea(0x2ac),_0x5ce9dc),this[_0x501dea(0x243)](()=>{const _0x1a9d88=_0x501dea;window[_0x1a9d88(0x1bd)](_0x1a9d88(0x2ac),_0x5ce9dc);});}[_0x13b6b7(0x234)](){const _0x4f3ebf=_0x13b6b7;let _0x2f1040=this['_logService'][_0x4f3ebf(0x106)][_0x4f3ebf(0x216)](this[_0x4f3ebf(0xea)]);this[_0x4f3ebf(0xea)][_0x4f3ebf(0x106)]=(..._0x4241cf)=>{const _0x3a573b=_0x4f3ebf;let _0x5e5fdb=_0x4241cf[_0x3a573b(0x162)](_0x1f128a=>_0x1f128a instanceof Error?_0x1f128a[_0x3a573b(0x2a2)]+'\x0a'+_0x1f128a[_0x3a573b(0x32c)]:String(_0x1f128a))[_0x3a573b(0x197)]('\x20');this['_uploadLog'](_0x3a573b(0x106),_0x3a573b(0x19a)+_0x5e5fdb),_0x2f1040(..._0x4241cf);},this[_0x4f3ebf(0x243)](()=>{const _0x2cb066=_0x4f3ebf;this['_logService'][_0x2cb066(0x106)]=_0x2f1040;});}[_0x13b6b7(0x168)](_0x191768,_0x505199){const _0x48fe20=_0x13b6b7;try{let _0x43022f={'userId':this[_0x48fe20(0x20d)],'logLabel':_0x191768,'content':_0x505199};this[_0x48fe20(0x2b2)][_0x48fe20(0x2a6)](_0x48fe20(0xd8),{'body':_0x43022f})[_0x48fe20(0x345)](()=>{});}catch{}}};_0x53753e=_0x3debe9([_0x4b3a6d(0x0,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x1b882[_0x13b6b7(0x1ab)])),_0x4b3a6d(0x1,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x43995b[_0x13b6b7(0x1a4)])),_0x4b3a6d(0x2,_0x1b882[_0x13b6b7(0x157)]),_0x4b3a6d(0x3,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x261153[_0x13b6b7(0x37f)]))],_0x53753e);function _0x3b3f0f(_0x14c105){const _0x47c90f=_0x13b6b7;var _0x197f97,_0x55c470;let _0x40f884=(_0x197f97=_0x14c105[_0x47c90f(0x286)])==null?void 0x0:_0x197f97[_0x47c90f(0xd9)],_0x340b93=((_0x55c470=_0x14c105['stageInfo'])==null?void 0x0:_0x55c470['totalFormulasToCalculate'])||0x0;return _0x40f884===_0x20223c[_0x47c90f(0x2e3)][_0x47c90f(0x1ba)]&&_0x340b93>0x0;}function _0x42912c(_0x569fcf){const _0x279f19=_0x13b6b7;return _0x569fcf[_0x279f19(0x293)]===_0x20223c[_0x279f19(0x1d7)]['SUCCESS'];}let _0x3e7876=class extends _0x1b882['Disposable']{constructor(_0x1c0ab8,_0x89fe21,_0x2be195,_0x334328,_0x1d4191,_0x216ac6,_0xd98765){const _0x174718=_0x13b6b7;super(),this['_messageService']=_0x1c0ab8,this[_0x174718(0x34d)]=_0x89fe21,this[_0x174718(0x2f5)]=_0x2be195,this[_0x174718(0x2b2)]=_0x334328,this[_0x174718(0x2ed)]=_0x1d4191,this[_0x174718(0xea)]=_0x216ac6,this['_localeService']=_0xd98765,_0x59ddc8(this,_0x174718(0x105),null),_0x59ddc8(this,_0x174718(0x145),0x0),_0x59ddc8(this,_0x174718(0x29d),0x0),_0x59ddc8(this,_0x174718(0x1a5),[]),_0x59ddc8(this,_0x174718(0x1a3),0x0),this[_0x174718(0x304)]();}[_0x13b6b7(0x304)](){const _0x1a658e=_0x13b6b7;this[_0x1a658e(0x243)](this[_0x1a658e(0x34d)][_0x1a658e(0x1ec)]((_0x5d4cad,_0x212488)=>{const _0x2a6b89=_0x1a658e;var _0x13ccf9;if(_0x5d4cad['id']!==_0x20223c[_0x2a6b89(0x16f)]['id'])return;let _0x2a1874=_0x5d4cad[_0x2a6b89(0x1f6)];if(this[_0x2a6b89(0x187)]((_0x13ccf9=_0x2a1874[_0x2a6b89(0x135)])==null?[]:_0x13ccf9)&&!this[_0x2a6b89(0x37b)]())throw this[_0x2a6b89(0x1b8)](_0x5d4cad,_0x212488),this['_showGuardMessage'](),new _0x1b882[(_0x2a6b89(0x178))]();})),this[_0x1a658e(0x243)](this[_0x1a658e(0x34d)][_0x1a658e(0x1c6)]((_0x37d801,_0x4fcccb)=>{const _0xdf5547=_0x1a658e;if(_0x37d801['id']!==_0x20223c[_0xdf5547(0x15f)]['id'])return;let _0x397452=_0x37d801[_0xdf5547(0x1f6)];if(_0x3b3f0f(_0x397452)){let _0x255efc=(0x0,_0x1b882[_0xdf5547(0x249)])();this[_0xdf5547(0x1a5)][_0xdf5547(0x342)](_0x255efc),this[_0xdf5547(0x173)](_0x255efc);}else{if(_0x42912c(_0x397452)&&this['_taskIds'][_0xdf5547(0x1b1)]>0x0){let _0x18a4c9=this[_0xdf5547(0x1a5)][_0xdf5547(0x184)]();this[_0xdf5547(0x2ce)](_0x18a4c9);}}}));}[_0x13b6b7(0x329)](){const _0x5be8af=_0x13b6b7;super[_0x5be8af(0x329)](),this[_0x5be8af(0x16b)](),this[_0x5be8af(0x1a5)]=[],this['_currentUsage']=0x0,this[_0x5be8af(0x145)]=0x0,this[_0x5be8af(0x1a3)]=0x0;}async[_0x13b6b7(0x1b8)](_0xeb72fd,_0x4405ae){const _0x2db861=_0x13b6b7;for(let _0xc4ea73=0x0;_0xc4ea73<0x1e;_0xc4ea73++)try{if(await this[_0x2db861(0x2be)](),this[_0x2db861(0x37b)]()){this[_0x2db861(0x1bf)](_0xeb72fd,_0x4405ae),this[_0x2db861(0x1a9)][_0x2db861(0x2fc)]({'content':this[_0x2db861(0x309)]['t'](_0x2db861(0x262)),'type':_0x4edaae[_0x2db861(0x290)]['Success']});return;}await new Promise(_0x4c6c62=>{const _0x1c8c23=_0x2db861;this['_pollingInterval']=window[_0x1c8c23(0xcb)](_0x4c6c62,0x3e8);});}catch(_0x24df54){this[_0x2db861(0xea)][_0x2db861(0x106)](_0x24df54);}this['_messageService'][_0x2db861(0x2fc)]({'content':this[_0x2db861(0x309)]['t']('formula.calculation.unable'),'type':_0x4edaae[_0x2db861(0x290)][_0x2db861(0x233)]});}['_applyCommand'](_0x679e7c,_0x26db86){const _0x33fa3c=_0x13b6b7;try{this[_0x33fa3c(0x34d)]['executeCommand'](_0x679e7c['id'],_0x679e7c['params'],_0x26db86);}catch(_0xbbdfa1){this[_0x33fa3c(0xea)][_0x33fa3c(0x106)](_0xbbdfa1);}}[_0x13b6b7(0x1d2)](_0x3b1261,_0x3d078b){const _0xf6cbc7=_0x13b6b7;_0x3d078b<this[_0xf6cbc7(0x1a3)]||(this[_0xf6cbc7(0x1a3)]=_0x3d078b,this[_0xf6cbc7(0x145)]=Number[_0xf6cbc7(0x2ab)](_0x3b1261[_0xf6cbc7(0xf2)]),this[_0xf6cbc7(0x29d)]=Number[_0xf6cbc7(0x2ab)](_0x3b1261[_0xf6cbc7(0x144)]));}async[_0x13b6b7(0x173)](_0x573160){const _0x17e2ef=_0x13b6b7;let _0x324de7=Date['now']();try{var _0x2c5d54,_0xb99c46;let _0x5eb3db=((_0x2c5d54=this[_0x17e2ef(0x2f5)][_0x17e2ef(0x1b9)](_0x261153[_0x17e2ef(0xf7)]))==null?void 0x0:_0x2c5d54[_0x17e2ef(0xf8)])||_0x17e2ef(0x18d),_0x2a0475=(await this[_0x17e2ef(0x2b2)]['post'](_0x5eb3db,{'body':JSON[_0x17e2ef(0x151)]({'taskId':_0x573160})}))[_0x17e2ef(0x2dc)];if(((_0xb99c46=_0x2a0475[_0x17e2ef(0x106)])==null?void 0x0:_0xb99c46[_0x17e2ef(0x32e)])!==_0x336c2f['ErrorCode']['OK'])return;this[_0x17e2ef(0x1d2)](_0x2a0475['limitInfo'],_0x324de7);}catch(_0x57fe23){this[_0x17e2ef(0xea)][_0x17e2ef(0x106)](_0x57fe23);}}async['_getFormulaLimitStatus'](_0x1ada9d){const _0x4c4bb7=_0x13b6b7;let _0x3edc17=Date[_0x4c4bb7(0x194)]();try{var _0xad284d,_0x40935c;let _0x404d92=((_0xad284d=this['_configService']['getConfig'](_0x261153[_0x4c4bb7(0xf7)]))==null?void 0x0:_0xad284d['getFormulaLimitStatusUrl'])||'/universer-api/license/formula/limit/status',_0x202693=_0x1ada9d?_0x404d92+_0x4c4bb7(0x33c)+encodeURIComponent(_0x1ada9d):_0x404d92,_0x2fdf6d=(await this[_0x4c4bb7(0x2b2)][_0x4c4bb7(0x18b)](_0x202693))[_0x4c4bb7(0x2dc)];if(((_0x40935c=_0x2fdf6d['error'])==null?void 0x0:_0x40935c[_0x4c4bb7(0x32e)])!==_0x336c2f[_0x4c4bb7(0x167)]['OK'])return;this[_0x4c4bb7(0x1d2)](_0x2fdf6d[_0x4c4bb7(0x147)],_0x3edc17);}catch(_0xb403f3){this[_0x4c4bb7(0xea)][_0x4c4bb7(0x106)](_0xb403f3);}}async[_0x13b6b7(0x2ce)](_0x27fe54){const _0x3c1471=_0x13b6b7;let _0x2146c5=Date[_0x3c1471(0x194)]();try{var _0x11301a,_0x51184c;let _0x1099a1=((_0x11301a=this[_0x3c1471(0x2f5)][_0x3c1471(0x1b9)](_0x261153[_0x3c1471(0xf7)]))==null?void 0x0:_0x11301a[_0x3c1471(0x24b)])||_0x3c1471(0x295),_0x5aba0d=(await this['_httpService'][_0x3c1471(0x2a6)](_0x1099a1,{'body':JSON[_0x3c1471(0x151)]({'taskId':_0x27fe54})}))[_0x3c1471(0x2dc)];if(((_0x51184c=_0x5aba0d[_0x3c1471(0x106)])==null?void 0x0:_0x51184c[_0x3c1471(0x32e)])!==_0x336c2f[_0x3c1471(0x167)]['OK'])return;this[_0x3c1471(0x1d2)](_0x5aba0d[_0x3c1471(0x147)],_0x2146c5);}catch(_0x21d145){this[_0x3c1471(0xea)]['error'](_0x21d145);}}[_0x13b6b7(0x37b)](){const _0x225c36=_0x13b6b7;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x225c36(0x145)]-this[_0x225c36(0x29d)]>0x0;}['_clearPolling'](){const _0x3a6e57=_0x13b6b7;this[_0x3a6e57(0x105)]&&(clearTimeout(this['_pollingInterval']),this[_0x3a6e57(0x105)]=null);}[_0x13b6b7(0x21f)](){const _0xed4084=_0x13b6b7;this[_0xed4084(0x1a9)][_0xed4084(0x2fc)]({'content':this[_0xed4084(0x309)]['t'](_0xed4084(0x116)),'type':_0x4edaae[_0xed4084(0x290)][_0xed4084(0x366)]});}[_0x13b6b7(0x187)](_0x4d37e1){const _0x585d23=_0x13b6b7;for(let _0x354175 of _0x4d37e1){let {unitId:_0x56494f,sheetId:_0x1d658b,range:_0x9c1d2c}=_0x354175,_0x77091e=this['_univerInstanceService'][_0x585d23(0xf4)](_0x56494f);if(!_0x77091e)continue;let _0x51416a=_0x77091e['getSheetBySheetId'](_0x1d658b);if(!_0x51416a)continue;let _0x3c58ae=_0x51416a[_0x585d23(0x278)]();for(let _0x43279c=_0x9c1d2c[_0x585d23(0x2d5)];_0x43279c<=_0x9c1d2c[_0x585d23(0xd5)];_0x43279c++)for(let _0x5a767a=_0x9c1d2c['startColumn'];_0x5a767a<=_0x9c1d2c[_0x585d23(0x126)];_0x5a767a++){let _0x56bddc=_0x3c58ae[_0x585d23(0x355)](_0x43279c,_0x5a767a);if(_0x56bddc&&((0x0,_0x1b882[_0x585d23(0x223)])(_0x56bddc['f'])||(0x0,_0x1b882[_0x585d23(0x17e)])(_0x56bddc['si'])))return!0x0;}}return!0x1;}};_0x3e7876=_0x3debe9([_0x4b3a6d(0x0,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x17c834[_0x13b6b7(0x326)])),_0x4b3a6d(0x1,_0x1b882[_0x13b6b7(0x297)]),_0x4b3a6d(0x2,_0x1b882[_0x13b6b7(0x1df)]),_0x4b3a6d(0x3,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x43995b[_0x13b6b7(0x1a4)])),_0x4b3a6d(0x4,_0x1b882[_0x13b6b7(0xce)]),_0x4b3a6d(0x5,_0x1b882[_0x13b6b7(0x157)]),_0x4b3a6d(0x6,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x1b882[_0x13b6b7(0x12f)]))],_0x3e7876);let _0x26ce37=class extends _0x1b882[_0x13b6b7(0x26a)]{constructor(_0xbd5913,_0x18ac30,_0x16739f){const _0x3f059e=_0x13b6b7;super(),this[_0x3f059e(0x2f5)]=_0xbd5913,this[_0x3f059e(0x118)]=_0x18ac30,this[_0x3f059e(0xd2)]=_0x16739f,_0x59ddc8(this,_0x3f059e(0x24d),new Map()),_0x59ddc8(this,_0x3f059e(0x17c),new Map()),_0x59ddc8(this,_0x3f059e(0x251),!0x1);}[_0x13b6b7(0x1dd)](){const _0xee1043=_0x13b6b7;this[_0xee1043(0x251)]=!0x0;}[_0x13b6b7(0x25b)](){const _0x6c0f10=_0x13b6b7;this[_0x6c0f10(0x251)]=!0x1;}get[_0x13b6b7(0x20b)](){const _0x316419=_0x13b6b7;return this[_0x316419(0x17c)];}[_0x13b6b7(0x329)](){const _0x4152e0=_0x13b6b7;this['exhaustSavingTask']()[_0x4152e0(0x28c)](()=>super[_0x4152e0(0x329)]());}async['loadOfflineData'](_0x55463c){const _0x3a0f62=_0x13b6b7;return this[_0x3a0f62(0x251)]?null:this['_localStorageService']['getItem']((0x0,_0x261153[_0x3a0f62(0x236)])(_0x55463c));}async[_0x13b6b7(0x2da)](_0x332011,_0x5c806f){const _0x57c030=_0x13b6b7;return!!this[_0x57c030(0x118)]['setItem'](_0x332011,_0x5c806f);}['updateOfflineData'](_0x5b7971,_0x21add5,_0x416af5,_0xaa3c9e){const _0x407fa3=_0x13b6b7;let _0x50776a=this[_0x407fa3(0xd2)]['getCurrentRevOfUnit'](_0x5b7971);this['_cachedData']['set'](_0x5b7971,{'unitID':_0x5b7971,'type':_0x21add5,'awaitingChangeset':_0x416af5,'mutations':_0xaa3c9e,'rev':_0x50776a}),this['_saveTaskMap'][_0x407fa3(0xbe)](_0x5b7971)||this[_0x407fa3(0xe8)](_0x5b7971);}[_0x13b6b7(0xe8)](_0x46a097){const _0x35a47a=_0x13b6b7;let _0x39897c=this['_getSaveTimeout']();_0x39897c===0x0?this[_0x35a47a(0x32f)](_0x46a097):this[_0x35a47a(0x17c)][_0x35a47a(0x373)](_0x46a097,setTimeout(()=>this[_0x35a47a(0x32f)](_0x46a097),_0x39897c));}['_getSaveTimeout'](){const _0x56f28a=_0x13b6b7;var _0x4b50c2;return(_0x4b50c2=this[_0x56f28a(0x2f5)][_0x56f28a(0x1b9)](_0x261153[_0x56f28a(0xca)]))==null?_0x261153[_0x56f28a(0x18e)]:_0x4b50c2;}[_0x13b6b7(0x32f)](_0x150428){const _0x3b03e4=_0x13b6b7;let _0x5e5bc3=this['_saveTaskMap'][_0x3b03e4(0x18b)](_0x150428);return _0x5e5bc3!==void 0x0&&window['clearTimeout'](_0x5e5bc3),this[_0x3b03e4(0x118)][_0x3b03e4(0x263)]((0x0,_0x261153[_0x3b03e4(0x236)])(_0x150428),this['_cachedData'][_0x3b03e4(0x18b)](_0x150428))[_0x3b03e4(0x28c)](()=>this[_0x3b03e4(0x17c)]['delete'](_0x150428));}async['exhaustSavingTask'](){const _0x52d9b0=_0x13b6b7;let _0xa631d7=[];this[_0x52d9b0(0x17c)]['forEach']((_0x77a9dc,_0x287277)=>{const _0x4431ae=_0x52d9b0;window[_0x4431ae(0x2e6)](_0x77a9dc),_0xa631d7[_0x4431ae(0x342)](this[_0x4431ae(0x32f)](_0x287277)[_0x4431ae(0x28c)](()=>{const _0x249d88=_0x4431ae;this[_0x249d88(0x17c)][_0x249d88(0x325)](_0x287277);}));}),await Promise[_0x52d9b0(0x1a6)](_0xa631d7);}};_0x26ce37=_0x3debe9([_0x4b3a6d(0x0,_0x1b882[_0x13b6b7(0x1df)]),_0x4b3a6d(0x1,_0x1b882['ILocalStorageService']),_0x4b3a6d(0x2,(0x0,_0x1b882['Inject'])(_0x5214d3['RevisionService']))],_0x26ce37);var _0x5e1b92=class extends _0x1b882[_0x13b6b7(0x384)]{constructor(){const _0x4c914d=_0x13b6b7;super(),_0x59ddc8(this,_0x4c914d(0x240),void 0x0),this[_0x4c914d(0x240)]=(0x0,_0x35c532[_0x4c914d(0x1eb)])(window,_0x4c914d(0x164))[_0x4c914d(0x2a1)]((0x0,_0x35c532[_0x4c914d(0xf6)])(this[_0x4c914d(0x320)]),(0x0,_0x35c532[_0x4c914d(0x2c2)])(0x1),(0x0,_0x35c532['mapTo'])(void 0x0));}[_0x13b6b7(0x150)](_0xe472af,_0x2ea2d6,_0xcec7bd=!0x1){const _0x167bc1=_0x13b6b7;let _0x217f8a=new URL(window[_0x167bc1(0x2d9)][_0x167bc1(0x26b)]);_0x217f8a['searchParams'][_0x167bc1(0x373)](_0xe472af,_0x2ea2d6),_0xcec7bd?window[_0x167bc1(0xf9)][_0x167bc1(0xc6)]('','',_0x217f8a[_0x167bc1(0x378)]()):window[_0x167bc1(0xf9)][_0x167bc1(0x109)]('','',_0x217f8a[_0x167bc1(0x378)]());}[_0x13b6b7(0x22b)](_0x1a17bb,_0x4a6171=!0x1){const _0x32d64e=_0x13b6b7;let _0x53f75c=new URL(window['location'][_0x32d64e(0x26b)]);_0x53f75c[_0x32d64e(0x264)][_0x32d64e(0x325)](_0x1a17bb),_0x4a6171?window[_0x32d64e(0xf9)][_0x32d64e(0xc6)]('','',_0x53f75c[_0x32d64e(0x378)]()):window[_0x32d64e(0xf9)][_0x32d64e(0x109)]('','',_0x53f75c[_0x32d64e(0x378)]());}['getParam'](_0x4d110e){const _0x3c1708=_0x13b6b7;var _0x8e7a9c;return(_0x8e7a9c=new URL(window[_0x3c1708(0x2d9)][_0x3c1708(0x26b)])[_0x3c1708(0x264)][_0x3c1708(0x18b)](_0x4d110e))==null?void 0x0:_0x8e7a9c;}};let _0x4dad5c=class extends _0x1b882[_0x13b6b7(0xe7)]{constructor(_0x3ee117=_0x29d52b,_0x3c6f25,_0x353731,_0x11ab1d){const _0x290c0d=_0x13b6b7;super(),this[_0x290c0d(0x1e2)]=_0x3ee117,this['_renderManagerService']=_0x3c6f25,this[_0x290c0d(0x33a)]=_0x353731,this['_configService']=_0x11ab1d;let {..._0x2bf25b}=(0x0,_0x1b882['merge'])({},_0x29d52b,this[_0x290c0d(0x1e2)]);this['_configService'][_0x290c0d(0x1fe)](_0x5c5797,_0x2bf25b);}[_0x13b6b7(0x30d)](){const _0x264d73=_0x13b6b7;this[_0x264d73(0x26d)](),this[_0x264d73(0x124)]();}[_0x13b6b7(0x307)](){const _0x3f9e8c=_0x13b6b7;this[_0x3f9e8c(0x139)]();}[_0x13b6b7(0x26d)](){const _0x82506=_0x13b6b7;var _0x379cc4;let _0x522ee5=[[_0x21d499],[_0x3e7876],[_0xf096d],[_0x8b787d],[_0x2d775a],[_0x2fb00f],[_0x42ff8e,{'useClass':_0x5e1b92}],[_0x43995b['ISocketService'],{'useClass':_0x43995b['WebSocketService']}],[_0x261153[_0x82506(0x1c2)],{'useClass':_0x26ce37}],[_0x37698a],[_0x378cab],[_0x511b5d],[_0x345a71],[_0x585c9b],[_0x2e1cb9]];this[_0x82506(0x1e2)][_0x82506(0x1ca)]&&_0x522ee5[_0x82506(0x342)]([_0x53753e]),(0x0,_0x1b882['registerDependencies'])(this[_0x82506(0x33a)],(0x0,_0x1b882[_0x82506(0x2ef)])(_0x522ee5,(_0x379cc4=this[_0x82506(0x1e2)])==null?void 0x0:_0x379cc4[_0x82506(0xbb)]));}[_0x13b6b7(0x139)](){const _0x3db7fd=_0x13b6b7;this[_0x3db7fd(0x243)](this[_0x3db7fd(0xde)][_0x3db7fd(0x36a)](_0x1b882[_0x3db7fd(0x1e1)][_0x3db7fd(0x2bf)],[_0x22fb89])),this[_0x3db7fd(0x243)](this[_0x3db7fd(0xde)]['registerRenderModule'](_0x1b882[_0x3db7fd(0x1e1)][_0x3db7fd(0xd0)],[_0x2545b9]));}[_0x13b6b7(0x124)](){const _0x1731a6=_0x13b6b7;(0x0,_0x1b882['touchDependencies'])(this[_0x1731a6(0x33a)],[[_0x345a71],[_0x37698a],[_0x378cab],[_0x511b5d],[_0x2e1cb9],[_0x3e7876]]),this[_0x1731a6(0x1e2)][_0x1731a6(0x1ca)]&&(0x0,_0x1b882['touchDependencies'])(this[_0x1731a6(0x33a)],[[_0x53753e]]);}};_0x59ddc8(_0x4dad5c,'pluginName','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x59ddc8(_0x4dad5c,_0x13b6b7(0x299),_0x2315d8),_0x59ddc8(_0x4dad5c,_0x13b6b7(0x1cd),_0x420cb4),_0x4dad5c=_0x3debe9([(0x0,_0x1b882[_0x13b6b7(0x253)])(_0x261153[_0x13b6b7(0x1bb)]),_0x4b3a6d(0x1,_0x58c2ed[_0x13b6b7(0x12c)]),_0x4b3a6d(0x2,(0x0,_0x1b882['Inject'])(_0x1b882['Injector'])),_0x4b3a6d(0x3,_0x1b882['IConfigService'])],_0x4dad5c);let _0x35fc2c=class extends _0x261153[_0x13b6b7(0x349)]{constructor(_0x2b76df,_0x1be747,_0x137152,_0x367349,_0x12c5de){super(_0x2b76df,_0x1be747,_0x137152,_0x367349,_0x12c5de);}async[_0x13b6b7(0x1d1)](_0x132fcf){const _0x3bc711=_0x13b6b7;let _0x5cb132=await this[_0x3bc711(0xbc)](),_0x3f5d51=this['_createSocketURL'](_0x132fcf,_0x5cb132);return this[_0x3bc711(0x218)](_0x3f5d51);}[_0x13b6b7(0x2cf)](_0x1e478e,_0x501300){const _0x29618a=_0x13b6b7;let _0x2df57f=typeof window>'u'?new URL(_0x1e478e):new URL(_0x1e478e,window['location']['origin']);_0x2df57f[_0x29618a(0x264)]['set']('sessionTicket',_0x501300);let _0x53d9ec=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x29618a(0x2d9)]['search']);return _0x53d9ec['get'](_0x29618a(0x13a))&&_0x2df57f[_0x29618a(0x264)][_0x29618a(0x373)](_0x29618a(0x13a),_0x53d9ec[_0x29618a(0x18b)](_0x29618a(0x13a))),_0x2df57f[_0x29618a(0x378)]();}async['_getSessionTicket'](){const _0x20bdce=_0x13b6b7;var _0x38e561,_0x36a7ea,_0x4972e9;let _0x2b813b=this['_configService'][_0x20bdce(0x1b9)](_0x261153[_0x20bdce(0xf7)]),_0x34573b=(_0x38e561=_0x2b813b==null?void 0x0:_0x2b813b[_0x20bdce(0x2a5)])==null?_0x261153[_0x20bdce(0x1e5)]:_0x38e561;return(_0x36a7ea=(_0x4972e9=(await this['_httpService'][_0x20bdce(0x18b)](_0x34573b,{'headers':{'Content-Type':'application/json'}}))[_0x20bdce(0x2dc)])==null?void 0x0:_0x4972e9[_0x20bdce(0x100)])==null?'':_0x36a7ea;}};_0x35fc2c=_0x3debe9([_0x4b3a6d(0x0,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x1b882[_0x13b6b7(0x1ab)])),_0x4b3a6d(0x1,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x43995b[_0x13b6b7(0x1a4)])),_0x4b3a6d(0x2,_0x1b882[_0x13b6b7(0x1df)]),_0x4b3a6d(0x3,_0x1b882[_0x13b6b7(0x157)]),_0x4b3a6d(0x4,_0x5214d3['ISnapshotServerService'])],_0x35fc2c);let _0x566161=class extends _0x1b882[_0x13b6b7(0x26a)]{constructor(_0x1e2ba4,_0x435aa9,_0x1d597c){const _0x16badd=_0x13b6b7;super(),this[_0x16badd(0x29e)]=_0x1e2ba4,this[_0x16badd(0x2b2)]=_0x435aa9,this[_0x16badd(0x2f5)]=_0x1d597c;}async[_0x13b6b7(0xe6)](_0x4ebbcd,_0x6d4bc0,_0x28ee02,..._0x4871f1){const _0x388fbb=_0x13b6b7;var _0x55adeb,_0x8f91ae,_0x2866fb,_0x3285b8;let _0x3fba2f=this['_instanceService'][_0x388fbb(0x12a)]();if(!_0x3fba2f)throw Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');let _0x3b0fbe=((_0x55adeb=this[_0x388fbb(0x2f5)][_0x388fbb(0x1b9)](_0x261153[_0x388fbb(0x137)]))==null?_0x261153[_0x388fbb(0x284)]:_0x55adeb)+'/'+_0x4ebbcd+_0x388fbb(0x383)+_0x6d4bc0,_0x13a7c2={'scriptId':_0x4ebbcd,'runId':(_0x8f91ae=new URL(window['location'][_0x388fbb(0x26b)])[_0x388fbb(0x264)][_0x388fbb(0x18b)](_0x388fbb(0x13a)))==null?'':_0x8f91ae,'function':_0x6d4bc0,'unitId':_0x3fba2f[_0x388fbb(0x227)](),'argsOfFunction':JSON['stringify'](_0x4871f1),'invokeId':(_0x2866fb=_0x28ee02['invokeId'])==null?'':_0x2866fb,'executionId':(_0x3285b8=_0x28ee02['executionId'])==null?'':_0x3285b8};try{let _0x3b0699=await this[_0x388fbb(0x2b2)]['post'](_0x3b0fbe,{'body':_0x13a7c2});return _0x3b0699[_0x388fbb(0x2dc)]['error']&&_0x3b0699[_0x388fbb(0x2dc)]['error']['code']!==_0x336c2f[_0x388fbb(0x167)]['OK']?'Failed':_0x3b0699['body'][_0x388fbb(0x192)];}catch{return'Failed';}}};_0x566161=_0x3debe9([_0x4b3a6d(0x0,_0x1b882[_0x13b6b7(0xce)]),_0x4b3a6d(0x1,(0x0,_0x1b882[_0x13b6b7(0x2eb)])(_0x43995b[_0x13b6b7(0x1a4)])),_0x4b3a6d(0x2,_0x1b882['IConfigService'])],_0x566161);var _0x427d4d=function(_0x31d6c3){const _0x3391da=_0x13b6b7;return _0x31d6c3[_0x31d6c3['JOIN']=0x0]=_0x3391da(0x36d),_0x31d6c3[_0x31d6c3['LEAVE']=0x1]=_0x3391da(0x292),_0x31d6c3[_0x31d6c3['HEARTBEAT']=0x2]=_0x3391da(0x312),_0x31d6c3;}(_0x427d4d||{});let _0x254864=0x7530,_0x1ce590=_0x13b6b7(0x389);var _0x1800d6=class extends _0x1b882[_0x13b6b7(0x26a)]{constructor(){const _0x8ccaeb=_0x13b6b7;super(),_0x59ddc8(this,_0x8ccaeb(0x130),(0x0,_0x1b882[_0x8ccaeb(0x249)])()),_0x59ddc8(this,_0x8ccaeb(0x235),new Set()),_0x59ddc8(this,_0x8ccaeb(0x158),new Map()),_0x59ddc8(this,'_heartbeatTimer',null),_0x59ddc8(this,'_clearOtherTimers',new Map()),_0x59ddc8(this,_0x8ccaeb(0xd3),new Map()),this[_0x8ccaeb(0x13d)]();}[_0x13b6b7(0x329)](){const _0x33e196=_0x13b6b7;super['dispose'](),this[_0x33e196(0x1fd)][_0x33e196(0x23a)]((_0x25916b,_0x2e47ba)=>this[_0x33e196(0x154)](_0x2e47ba)),this[_0x33e196(0x15e)]&&window[_0x33e196(0x32a)](this['_heartbeatTimer']);}[_0x13b6b7(0x2bd)](_0x110000){const _0x1cbd20=_0x13b6b7;return this[_0x1cbd20(0x133)](_0x110000)[_0x1cbd20(0x2a1)]((0x0,_0x35c532[_0x1cbd20(0x20a)])());}[_0x13b6b7(0x385)](_0xe24352){const _0x2d0c32=_0x13b6b7;this[_0x2d0c32(0x235)][_0x2d0c32(0x33e)]===0x0&&this[_0x2d0c32(0x203)](),this[_0x2d0c32(0x235)][_0x2d0c32(0x108)](_0xe24352),this['_send']({'type':_0x427d4d['JOIN'],'memberID':this['_id'],'unitIDs':[_0xe24352],'isForwarded':!0x1});}[_0x13b6b7(0x2d6)](_0x4ed812){const _0x35bb46=_0x13b6b7;this[_0x35bb46(0x235)][_0x35bb46(0x325)](_0x4ed812),this[_0x35bb46(0x235)][_0x35bb46(0x33e)]===0x0&&this['_heartbeatTimer']&&window[_0x35bb46(0x32a)](this['_heartbeatTimer']);}[_0x13b6b7(0x13d)](){const _0x445e5f=_0x13b6b7;this[_0x445e5f(0x243)]((0x0,_0x1b882[_0x445e5f(0xf3)])((0x0,_0x35c532['fromEvent'])(window,_0x445e5f(0x237))[_0x445e5f(0x333)](_0x362c19=>{const _0x23f8e6=_0x445e5f;if(_0x362c19[_0x23f8e6(0x180)]!==_0x1ce590||!_0x362c19[_0x23f8e6(0x30c)])return;let _0x50e29a=JSON[_0x23f8e6(0x24c)](_0x362c19[_0x23f8e6(0x30c)]);this[_0x23f8e6(0x17b)](_0x50e29a);}))),window[_0x445e5f(0x341)]('unload',()=>this['_send']({'type':_0x427d4d[_0x445e5f(0x292)],'memberID':this['_id'],'unitIDs':Array[_0x445e5f(0x2b9)](this['_selfUnitIDs'])}));}[_0x13b6b7(0x17b)](_0x594f78){const _0x662835=_0x13b6b7;switch(_0x594f78['type']){case _0x427d4d[_0x662835(0x36d)]:this[_0x662835(0x1a0)](_0x594f78);break;case _0x427d4d[_0x662835(0x292)]:this[_0x662835(0x324)](_0x594f78);break;case _0x427d4d[_0x662835(0x312)]:this[_0x662835(0x1b5)](_0x594f78);break;}}['_handleJoinEvent'](_0x3aef35){const _0xda221b=_0x13b6b7;let {unitIDs:_0x32cd73,memberID:_0x2406e1,isForwarded:_0x21322f}=_0x3aef35;_0x32cd73['forEach'](_0x319b1d=>{const _0x40f4df=_0x58a9;if(!_0x21322f&&this[_0x40f4df(0x158)][_0x40f4df(0xbe)](_0x319b1d)&&this['_ensureSubject'](_0x319b1d)[_0x40f4df(0x1e9)](_0x261153[_0x40f4df(0x2e8)][_0x40f4df(0x316)]),!this[_0x40f4df(0x158)][_0x40f4df(0xbe)](_0x319b1d)||!this['_unitOnClients'][_0x40f4df(0x18b)](_0x319b1d)[_0x40f4df(0xbe)](_0x2406e1)){let _0x1fc7b4=this[_0x40f4df(0x158)][_0x40f4df(0x18b)](_0x319b1d)||new Set();_0x1fc7b4[_0x40f4df(0x108)](_0x2406e1),this['_unitOnClients']['set'](_0x319b1d,_0x1fc7b4),this[_0x40f4df(0x2f0)](_0x2406e1);}}),_0x21322f||this[_0xda221b(0x23b)]({'type':_0x427d4d[_0xda221b(0x36d)],'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x13b6b7(0x2f0)](_0x1f1340){const _0x27bf58=_0x13b6b7;this['_removeClearOtherTimer'](_0x1f1340);let _0x3dbab6=window['setTimeout'](()=>{const _0xc210b4=_0x58a9;this[_0xc210b4(0x158)][_0xc210b4(0x23a)](_0x239082=>{_0x239082['delete'](_0x1f1340);});},_0x254864*0x2);this[_0x27bf58(0x1fd)]['set'](_0x1f1340,_0x3dbab6);}[_0x13b6b7(0x154)](_0x2ff924){const _0x5e6128=_0x13b6b7;if(this['_clearOtherTimers'][_0x5e6128(0xbe)](_0x2ff924)){let _0x1fcd6e=this[_0x5e6128(0x1fd)][_0x5e6128(0x18b)](_0x2ff924);_0x1fcd6e&&window['clearTimeout'](_0x1fcd6e),this[_0x5e6128(0x1fd)][_0x5e6128(0x373)](_0x2ff924,null);}}[_0x13b6b7(0x324)](_0x23328f){let {memberID:_0x4f94e5,unitIDs:_0x1699e2}=_0x23328f;_0x1699e2['forEach'](_0xba6cce=>{const _0x5cb728=_0x58a9;var _0xc8ab38;let _0x153a95=this[_0x5cb728(0x158)][_0x5cb728(0x18b)](_0xba6cce);_0x153a95&&(_0x153a95[_0x5cb728(0x325)](_0x4f94e5),(_0xc8ab38=this[_0x5cb728(0x133)](_0xba6cce))==null||_0xc8ab38[_0x5cb728(0x1e9)](_0x153a95['size']===0x0?_0x261153[_0x5cb728(0x2e8)][_0x5cb728(0x169)]:_0x261153[_0x5cb728(0x2e8)][_0x5cb728(0x316)]));}),this['_removeClearOtherTimer'](_0x4f94e5);}[_0x13b6b7(0x1b5)](_0x46cbfe){const _0x1b5864=_0x13b6b7;this['_scheduleClearOtherTimer'](_0x46cbfe[_0x1b5864(0x319)]);}['_send'](_0x39c2ec){const _0x50cbc0=_0x13b6b7;localStorage[_0x50cbc0(0x263)](_0x1ce590,JSON[_0x50cbc0(0x151)](_0x39c2ec));}['_scheduleHeartbeat'](){const _0x2d5e07=_0x13b6b7;this[_0x2d5e07(0x15e)]=window['setInterval'](()=>{const _0x239b41=_0x2d5e07;this['_send']({'type':_0x427d4d[_0x239b41(0x312)],'memberID':this[_0x239b41(0x130)]});},_0x254864);}[_0x13b6b7(0x133)](_0x4f4bb4){const _0x37e83a=_0x13b6b7;return this[_0x37e83a(0xd3)][_0x37e83a(0xbe)](_0x4f4bb4)||this['_unitStatus'][_0x37e83a(0x373)](_0x4f4bb4,new _0x35c532[(_0x37e83a(0x212))](_0x261153['UnitStatus'][_0x37e83a(0x169)])),this[_0x37e83a(0xd3)][_0x37e83a(0x18b)](_0x4f4bb4);}};Object['defineProperty'](_0x2fd88d,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x35fc2c;}}),Object[_0x13b6b7(0x2cd)](_0x2fd88d,_0x13b6b7(0x386),{'enumerable':!0x0,'get':function(){return _0x2e1cb9;}}),Object[_0x13b6b7(0x2cd)](_0x2fd88d,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x37698a;}}),_0x2fd88d['IURLService']=_0x42ff8e,Object[_0x13b6b7(0x2cd)](_0x2fd88d,_0x13b6b7(0x1d3),{'enumerable':!0x0,'get':function(){return _0x566161;}}),_0x2fd88d['SheetCollabCursorShape']=_0x1f4229,Object[_0x13b6b7(0x2cd)](_0x2fd88d,_0x13b6b7(0x377),{'enumerable':!0x0,'get':function(){return _0x4dad5c;}}),_0x2fd88d[_0x13b6b7(0x198)]=_0x1800d6,_0x2fd88d[_0x13b6b7(0x252)]=_0x5e1b92;}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- (function(_0x5506b9,_0x517984){var _0x370a75=_0x484b,_0x492708=_0x5506b9();while(!![]){try{var _0x42edf1=parseInt(_0x370a75(0x8c))/0x1+-parseInt(_0x370a75(0x8d))/0x2*(parseInt(_0x370a75(0x78))/0x3)+parseInt(_0x370a75(0x85))/0x4*(-parseInt(_0x370a75(0x88))/0x5)+parseInt(_0x370a75(0x79))/0x6+parseInt(_0x370a75(0x8b))/0x7*(parseInt(_0x370a75(0x7d))/0x8)+-parseInt(_0x370a75(0x7e))/0x9+-parseInt(_0x370a75(0x7a))/0xa*(-parseInt(_0x370a75(0x89))/0xb);if(_0x42edf1===_0x517984)break;else _0x492708['push'](_0x492708['shift']());}catch(_0x4ce3d0){_0x492708['push'](_0x492708['shift']());}}}(_0x1779,0x4bc9e),function(_0x39050b,_0x22c7c1){var _0x2b468b=_0x484b;typeof exports==_0x2b468b(0x7b)&&typeof module<'u'?_0x22c7c1(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define=='function'&&define[_0x2b468b(0x8a)]?define([_0x2b468b(0x82),'@univerjs/core/facade'],_0x22c7c1):(_0x39050b=typeof globalThis<'u'?globalThis:_0x39050b||self,_0x22c7c1(_0x39050b[_0x2b468b(0x81)],_0x39050b[_0x2b468b(0x80)]));}(this,function(_0x5179e1,_0x7dae9c){var _0x5c5123=_0x484b,_0x1094e9=class extends _0x7dae9c[_0x5c5123(0x84)]{['runOnServer'](_0x23fdcb,_0x3921b8,..._0x9d145){var _0x323cca=_0x5c5123;return this[_0x323cca(0x83)][_0x323cca(0x7f)](_0x5179e1[_0x323cca(0x87)])[_0x323cca(0x7c)](_0x23fdcb,_0x3921b8,{},..._0x9d145);}};_0x7dae9c[_0x5c5123(0x84)][_0x5c5123(0x86)](_0x1094e9);}));function _0x484b(_0x6efd47,_0x2fb122){_0x6efd47=_0x6efd47-0x78;var _0x177950=_0x1779();var _0x484bdd=_0x177950[_0x6efd47];return _0x484bdd;}function _0x1779(){var _0x24c3a1=['amd','28UEKFOB','38153LmGzSQ','179182sWuBAK','15NfvTRX','477084qjoTTw','211420EEHpzj','object','runOnServer','55736zXYIku','5564295RKExFO','get','UniverCoreFacade','UniverProCollaborationClientUi','@univerjs-pro/collaboration-client-ui','_injector','FUniver','4276MDchNo','extend','RemoteUniscriptService','175EJuDeO','660byFjNJ'];_0x1779=function(){return _0x24c3a1;};return _0x1779();}
11
+ function _0x3e9f(){var _0x1c394f=['object','UniverCoreFacade','610qyARIf','RemoteUniscriptService','1132owGOZE','241346yJQTIq','@univerjs/core/facade','extend','293176gUhpRN','234990WyVbli','function','1062DxrtRN','3308tNiYoI','UniverProCollaborationClientUi','FUniver','runOnServer','amd','7070058IfoPtb','1486872cxnbya'];_0x3e9f=function(){return _0x1c394f;};return _0x3e9f();}function _0x5f1a(_0x53d4c2,_0x45d518){_0x53d4c2=_0x53d4c2-0x122;var _0x3e9f21=_0x3e9f();var _0x5f1a4b=_0x3e9f21[_0x53d4c2];return _0x5f1a4b;}(function(_0x34b14a,_0x30e426){var _0xdd4527=_0x5f1a,_0x49e489=_0x34b14a();while(!![]){try{var _0x55b457=-parseInt(_0xdd4527(0x126))/0x1+parseInt(_0xdd4527(0x125))/0x2*(-parseInt(_0xdd4527(0x12c))/0x3)+parseInt(_0xdd4527(0x12d))/0x4*(parseInt(_0xdd4527(0x123))/0x5)+-parseInt(_0xdd4527(0x133))/0x6+-parseInt(_0xdd4527(0x12a))/0x7+-parseInt(_0xdd4527(0x129))/0x8+parseInt(_0xdd4527(0x132))/0x9;if(_0x55b457===_0x30e426)break;else _0x49e489['push'](_0x49e489['shift']());}catch(_0x1416df){_0x49e489['push'](_0x49e489['shift']());}}}(_0x3e9f,0x1eefd),function(_0x4434cc,_0x18a03f){var _0x11cfae=_0x5f1a;typeof exports==_0x11cfae(0x134)&&typeof module<'u'?_0x18a03f(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define==_0x11cfae(0x12b)&&define[_0x11cfae(0x131)]?define(['@univerjs-pro/collaboration-client-ui',_0x11cfae(0x127)],_0x18a03f):(_0x4434cc=typeof globalThis<'u'?globalThis:_0x4434cc||self,_0x18a03f(_0x4434cc[_0x11cfae(0x12e)],_0x4434cc[_0x11cfae(0x122)]));}(this,function(_0x47b859,_0x5a8e9c){var _0x1cc6d6=_0x5f1a,_0x14577b=class extends _0x5a8e9c[_0x1cc6d6(0x12f)]{[_0x1cc6d6(0x130)](_0x371e07,_0x2b640e,..._0x49d29d){var _0x46517d=_0x1cc6d6;return this['_injector']['get'](_0x47b859[_0x46517d(0x124)])[_0x46517d(0x130)](_0x371e07,_0x2b640e,{},..._0x49d29d);}};_0x5a8e9c[_0x1cc6d6(0x12f)][_0x1cc6d6(0x128)](_0x14577b);}));
12
12
 
13
13
  // @univerjs-pro/thread-comment-datasource/index
14
- function _0x2b19(_0x164bbb,_0x24b161){_0x164bbb=_0x164bbb-0x18b;const _0x28988f=_0x2898();let _0x2b1900=_0x28988f[_0x164bbb];return _0x2b1900;}function _0x2898(){const _0x365ab1=['_sessionService','object','@univerjs/thread-comment','972777qvbYTJ','/universer-api/comment/unit/','comment','default','_threadCommentDataSourceService','get','Add','replyId','symbol','resolveComment','customRanges','rangeType','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','merge','_initUserSync','UniverProCollaborationClient','map','_userService','userID','405dVBmXz','/reply','stringify','getOwnPropertyDescriptor','string','content','user','slice','filter','userId','parentId','UniverCollaborationClientPlugin','format','8kcNghO','HTTPService','pluginName','thread-comment-data-source.config','listComments','syncUpdateMutationToColla','function','packageName','UserManagerService','rxjs','code','root','type','UniverThreadComment','Solved','_commentService','updateComment','Reply','length','CustomRangeType','/solved','iterator','createTimestamp','pipe','Inject','_initDataSource','@univerjs/network','IThreadCommentDataSourceService','UniverProThreadCommentDatasource','Module','ThreadCommentModel','72948RLLfOr','disposeWithMe','/delete','0.21.0','@univerjs-pro/license','version','requireSession','_injector','Solve','UniverThreadCommentUi','find','delete','reply','_threadCommentModel','34915780kDleDT','2372718HYYOvH','@univerjs/protocol','saveCommentToSnapshot','@univerjs/thread-comment-ui','error','comments','getMemberID','onReady','_init','threadId','unitId','/universer-api/user/list','Delete','size','Edit','prototype','parse','post','96gaqNGc','addComment','UniverCore','amd','dateKit','CommentUpdateEventType','@univerjs-pro/collaboration-client','values','call','deleteComment','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','commentUpdate$','decorate','_threadCommentDataSource','DependentOn','_configService','CommentService','_config','rangeId','personId','_httpService','COMMENT','forEach','@univerjs/core','332605PmilGn','CommentSolvedStatus','defineProperty','add','onStarting','YYYY/MM/DD\x20HH:mm','Injector','dataSource','resolved','users','replies','UniverProLicense','getUser','body','580653AEWzPK','getUnit','/add','toPrimitive','UniverLicensePlugin','subscribe','addUser','UniverNetwork','Disposable','solved','6151537yvjKPO','UniverThreadCommentUIPlugin','bufferTime','exports'];_0x2898=function(){return _0x365ab1;};return _0x2898();}(function(_0x951e14,_0x27f202){const _0x5b7d0b=_0x2b19,_0x1f8514=_0x951e14();while(!![]){try{const _0x54fd27=-parseInt(_0x5b7d0b(0x21b))/0x1+-parseInt(_0x5b7d0b(0x1c3))/0x2*(-parseInt(_0x5b7d0b(0x1a3))/0x3)+-parseInt(_0x5b7d0b(0x1e2))/0x4*(parseInt(_0x5b7d0b(0x1b6))/0x5)+-parseInt(_0x5b7d0b(0x1f1))/0x6+-parseInt(_0x5b7d0b(0x19c))/0x7+-parseInt(_0x5b7d0b(0x203))/0x8*(parseInt(_0x5b7d0b(0x192))/0x9)+parseInt(_0x5b7d0b(0x1f0))/0xa;if(_0x54fd27===_0x27f202)break;else _0x1f8514['push'](_0x1f8514['shift']());}catch(_0x3f6ef2){_0x1f8514['push'](_0x1f8514['shift']());}}}(_0x2898,0xe323c),function(_0x432eb5,_0xa7d08c){const _0x490090=_0x2b19;typeof exports==_0x490090(0x1a1)&&typeof module<'u'?_0xa7d08c(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs-pro/license`),require(`@univerjs/core`),require(`@univerjs/thread-comment-ui`),require(`@univerjs/protocol`),require(`@univerjs/thread-comment`),require(`rxjs`),require(`@univerjs/network`)):typeof define==_0x490090(0x1c9)&&define[_0x490090(0x206)]?define([_0x490090(0x19f),_0x490090(0x209),_0x490090(0x1e6),_0x490090(0x21a),_0x490090(0x1f4),_0x490090(0x1f2),_0x490090(0x1a2),_0x490090(0x1cc),_0x490090(0x1dd)],_0xa7d08c):(_0x432eb5=typeof globalThis<'u'?globalThis:_0x432eb5||self,_0xa7d08c(_0x432eb5[_0x490090(0x1df)]={},_0x432eb5[_0x490090(0x1b2)],_0x432eb5[_0x490090(0x18f)],_0x432eb5[_0x490090(0x205)],_0x432eb5[_0x490090(0x1eb)],_0x432eb5['UniverProtocol'],_0x432eb5[_0x490090(0x1d0)],_0x432eb5[_0x490090(0x1cc)],_0x432eb5[_0x490090(0x199)]));}(this,function(_0x17009d,_0x43d9ee,_0x72892f,_0x43f138,_0x885b42,_0x2b045d,_0x1fa212,_0x2845e7,_0x12dc7b){const _0x446e9e=_0x2b19;Object[_0x446e9e(0x21d)](_0x17009d,Symbol['toStringTag'],{'value':_0x446e9e(0x1e0)});var _0x5af773='@univerjs-pro/thread-comment-datasource',_0x344790=_0x446e9e(0x1e5);let _0x3be6f2=_0x35ed88=>(0x0,_0x43f138[_0x446e9e(0x207)])(new Date(+_0x35ed88))[_0x446e9e(0x1c2)]('YYYY/MM/DD\x20HH:mm'),_0xf20770=async(_0x5d8ede,_0x589987)=>{const _0x506c71=_0x446e9e;let _0x4914ab=_0x5d8ede[_0x506c71(0x1a8)](_0x43f138['UserManagerService']),_0x1fee57=_0x5d8ede[_0x506c71(0x1a8)](_0x12dc7b[_0x506c71(0x1c4)]);_0x589987['forEach'](_0x39eee5=>{const _0x1671a3=_0x506c71;_0x4914ab[_0x1671a3(0x190)](_0x39eee5)&&_0x589987[_0x1671a3(0x1ed)](_0x39eee5);}),_0x589987[_0x506c71(0x1fe)]&&(await _0x1fee57[_0x506c71(0x1a8)](_0x506c71(0x1fc),{'params':{'userIDs':[..._0x589987]}}))[_0x506c71(0x191)][_0x506c71(0x18d)][_0x506c71(0x219)](_0x11a93e=>{const _0x1b3dd3=_0x506c71;_0x11a93e&&_0x4914ab[_0x1b3dd3(0x198)](_0x11a93e);});};function _0x26b3db(_0x3c35ef,_0x1d1574){return function(_0x4fa5f8,_0xff1682){_0x1d1574(_0x4fa5f8,_0xff1682,_0x3c35ef);};}function _0xc2ad05(_0x3d01f5,_0x319a6e,_0x2b9f81,_0x51aca1){const _0x3a75fc=_0x446e9e;var _0x40ef27=arguments['length'],_0x77c7a2=_0x40ef27<0x3?_0x319a6e:_0x51aca1===null?_0x51aca1=Object[_0x3a75fc(0x1b9)](_0x319a6e,_0x2b9f81):_0x51aca1,_0x335e73;if(typeof Reflect==_0x3a75fc(0x1a1)&&typeof Reflect['decorate']=='function')_0x77c7a2=Reflect[_0x3a75fc(0x20f)](_0x3d01f5,_0x319a6e,_0x2b9f81,_0x51aca1);else{for(var _0x44acdd=_0x3d01f5[_0x3a75fc(0x1d5)]-0x1;_0x44acdd>=0x0;_0x44acdd--)(_0x335e73=_0x3d01f5[_0x44acdd])&&(_0x77c7a2=(_0x40ef27<0x3?_0x335e73(_0x77c7a2):_0x40ef27>0x3?_0x335e73(_0x319a6e,_0x2b9f81,_0x77c7a2):_0x335e73(_0x319a6e,_0x2b9f81))||_0x77c7a2);}return _0x40ef27>0x3&&_0x77c7a2&&Object[_0x3a75fc(0x21d)](_0x319a6e,_0x2b9f81,_0x77c7a2),_0x77c7a2;}let _0x4e651d=class extends _0x43f138['Disposable']{constructor(_0x589a5b,_0x1cac16,_0x326612,_0x44f892){const _0x3744ea=_0x446e9e;super(),this[_0x3744ea(0x1d2)]=_0x589a5b,this[_0x3744ea(0x1ef)]=_0x1cac16,this[_0x3744ea(0x1b4)]=_0x326612,this[_0x3744ea(0x1e9)]=_0x44f892,this['_init'](),this['_initUserSync']();}[_0x446e9e(0x1b1)](){const _0x298b35=_0x446e9e;this[_0x298b35(0x1e3)](this[_0x298b35(0x1ef)][_0x298b35(0x20e)][_0x298b35(0x1da)]((0x0,_0x2845e7[_0x298b35(0x19e)])(0x10))['subscribe'](_0x4be9eb=>{const _0x20fe47=_0x298b35;let _0x430bc2=new Set();_0x4be9eb[_0x20fe47(0x219)](_0x5e803c=>{const _0x1e9f93=_0x20fe47;switch(_0x5e803c[_0x1e9f93(0x1cf)]){case'add':{let _0x197386=_0x5e803c['payload'][_0x1e9f93(0x216)];_0x430bc2[_0x1e9f93(0x21e)](_0x197386);break;}default:break;}}),_0xf20770(this['_injector'],_0x430bc2);}));}[_0x446e9e(0x1f9)](){const _0x26c1e3=_0x446e9e;this[_0x26c1e3(0x1e3)](this['_commentService']['commentUpdate$'][_0x26c1e3(0x197)](async _0x2defe1=>{const _0x1142fd=_0x26c1e3;var _0x1d4989;let _0x1bebf4=(_0x1d4989=this[_0x1142fd(0x1ef)][_0x1142fd(0x193)](_0x2defe1[_0x1142fd(0x1fb)])['find'](_0x2a9c0a=>_0x2a9c0a['threadId']===_0x2defe1['threadId']))==null?void 0x0:_0x1d4989[_0x1142fd(0x1ce)];if(!_0x1bebf4)return;let {unitId:_0x41bcca,subUnitId:_0x17bd7a}=_0x1bebf4;switch(_0x2defe1[_0x1142fd(0x1bc)]&&this['_userService'][_0x1142fd(0x198)](_0x2defe1[_0x1142fd(0x1bc)]),_0x2defe1['type']){case _0x2b045d['CommentUpdateEventType'][_0x1142fd(0x1a9)]:break;case _0x2b045d[_0x1142fd(0x208)][_0x1142fd(0x1d4)]:var _0x2b16ac,_0x5c751e;this['_threadCommentModel'][_0x1142fd(0x204)](_0x41bcca,_0x17bd7a,{'unitId':_0x41bcca,'subUnitId':_0x17bd7a,'ref':'','id':_0x2defe1['replyId'],'dT':_0x3be6f2(+_0x2defe1[_0x1142fd(0x1d9)]),'threadId':_0x2defe1[_0x1142fd(0x1fa)],'personId':(_0x2b16ac=(_0x5c751e=_0x2defe1[_0x1142fd(0x1bc)])==null?void 0x0:_0x5c751e[_0x1142fd(0x1b5)])==null?_0x2defe1[_0x1142fd(0x1bf)]:_0x2b16ac,'text':JSON[_0x1142fd(0x201)](_0x2defe1[_0x1142fd(0x1bb)]),'parentId':_0x1bebf4['id']});break;case _0x2b045d[_0x1142fd(0x208)][_0x1142fd(0x1fd)]:{let _0x107b11=this[_0x1142fd(0x1ef)]['getComment'](_0x41bcca,_0x17bd7a,_0x2defe1[_0x1142fd(0x1aa)]);_0x107b11&&_0x107b11[_0x1142fd(0x1c0)]&&this[_0x1142fd(0x1ef)][_0x1142fd(0x20c)](_0x41bcca,_0x17bd7a,_0x2defe1['replyId']);break;}case _0x2b045d[_0x1142fd(0x208)][_0x1142fd(0x1ff)]:this['_threadCommentModel'][_0x1142fd(0x1d3)](_0x41bcca,_0x17bd7a,{'commentId':_0x2defe1['replyId'],'text':JSON[_0x1142fd(0x201)](_0x2defe1[_0x1142fd(0x1bb)])});break;case _0x2b045d[_0x1142fd(0x208)][_0x1142fd(0x1ea)]:{var _0x1e5e26;let _0x3f6afb=(_0x1e5e26=this[_0x1142fd(0x1ef)][_0x1142fd(0x193)](_0x2defe1[_0x1142fd(0x1fb)])[_0x1142fd(0x1ec)](_0xaa1672=>_0xaa1672['threadId']===_0x2defe1['threadId']))==null?void 0x0:_0x1e5e26[_0x1142fd(0x1ce)];_0x3f6afb&&this[_0x1142fd(0x1ef)][_0x1142fd(0x1ac)](_0x41bcca,_0x17bd7a,_0x3f6afb['id'],_0x2defe1[_0x1142fd(0x19b)]===_0x2b045d['CommentSolvedStatus'][_0x1142fd(0x1d1)]);break;}default:break;}}));}};_0x4e651d=_0xc2ad05([_0x26b3db(0x0,(0x0,_0x43f138['Inject'])(_0x43d9ee[_0x446e9e(0x213)])),_0x26b3db(0x1,(0x0,_0x43f138[_0x446e9e(0x1db)])(_0x1fa212[_0x446e9e(0x1e1)])),_0x26b3db(0x2,(0x0,_0x43f138['Inject'])(_0x43f138['UserManagerService'])),_0x26b3db(0x3,(0x0,_0x43f138[_0x446e9e(0x1db)])(_0x43f138[_0x446e9e(0x221)]))],_0x4e651d);let _0x19e91f=_0x446e9e(0x1c6);Symbol(_0x19e91f);let _0x44f42b={};function _0x369159(_0x162191,_0x39eb2a){const _0x20e1f4=_0x446e9e;let _0x54d0a1=_0x162191['replies'][0x0];return{..._0x39eb2a,'id':_0x54d0a1['replyId'],'resolved':_0x162191[_0x20e1f4(0x19b)]===0x1,'dT':_0x3be6f2(_0x54d0a1[_0x20e1f4(0x1d9)]),'personId':_0x54d0a1[_0x20e1f4(0x1bf)],'threadId':_0x54d0a1[_0x20e1f4(0x1fa)]};}function _0x3c8d35(_0x3fac06,_0x4817d0,_0x47f880){const _0x4fb7cb=_0x446e9e;var _0x35b8ae,_0x6d99d;if(((_0x35b8ae=_0x3fac06==null||(_0x6d99d=_0x3fac06[_0x4fb7cb(0x18e)])==null?void 0x0:_0x6d99d['length'])==null?0x0:_0x35b8ae)>0x0){let _0x2ed2a2=(_0x1f376e,_0x552e8e)=>({'id':_0x1f376e[_0x4fb7cb(0x1aa)],'threadId':_0x1f376e[_0x4fb7cb(0x1fa)],'dT':_0x3be6f2(_0x1f376e[_0x4fb7cb(0x1d9)]),'personId':_0x1f376e[_0x4fb7cb(0x1bf)],'resolved':_0x3fac06['solved']===_0x2b045d[_0x4fb7cb(0x21c)][_0x4fb7cb(0x1d1)],'unitId':_0x4817d0,'subUnitId':_0x47f880,'text':JSON[_0x4fb7cb(0x201)](_0x1f376e[_0x4fb7cb(0x1bb)]),'parentId':_0x552e8e}),_0x330355=_0x2ed2a2(_0x3fac06[_0x4fb7cb(0x18e)][0x0]);return{..._0x330355,'children':_0x3fac06[_0x4fb7cb(0x18e)][_0x4fb7cb(0x1bd)](0x1)[_0x4fb7cb(0x1b3)](_0x332323=>_0x2ed2a2(_0x332323,_0x330355['id']))};}return null;}let _0x95412e=class{constructor(_0x293aa5,_0x5ef3f3,_0x1e5f9e){const _0x57fb05=_0x446e9e;this[_0x57fb05(0x217)]=_0x293aa5,this[_0x57fb05(0x1b4)]=_0x5ef3f3,this[_0x57fb05(0x1a0)]=_0x1e5f9e;}async[_0x446e9e(0x204)](_0xaf9687){const _0x21bbab=_0x446e9e;var _0x4c291d,_0xa8dbd6;let {parentId:_0x19b024,unitId:_0x5d9887,text:_0x31408a,threadId:_0x25fabe}=_0xaf9687,_0xbef6df=(_0x4c291d=(_0xa8dbd6=_0x31408a[_0x21bbab(0x1ad)])==null?void 0x0:_0xa8dbd6[_0x21bbab(0x1be)](_0x3c8d09=>_0x3c8d09[_0x21bbab(0x1ae)]===_0x43f138[_0x21bbab(0x1d6)][_0x21bbab(0x218)])[_0x21bbab(0x1b3)](_0x45552e=>_0x45552e[_0x21bbab(0x215)]))==null?[]:_0x4c291d,_0x5c4c80=JSON[_0x21bbab(0x1b8)](_0x31408a),_0x12fc94=(await this[_0x21bbab(0x1a0)][_0x21bbab(0x1e8)](_0x5d9887))[_0x21bbab(0x1f7)]();if(_0x19b024){let _0x205f5={'memberId':_0x12fc94,'unitId':_0x5d9887,'content':_0x5c4c80,'mention':_0xbef6df,'threadId':_0x25fabe},_0x241c9c=(await this[_0x21bbab(0x217)]['post'](_0x21bbab(0x1a4)+_0x5d9887+_0x21bbab(0x1b7),{'body':_0x205f5}))[_0x21bbab(0x191)][_0x21bbab(0x1ee)];return{..._0xaf9687,'id':_0x241c9c[_0x21bbab(0x1aa)],'dT':(0x0,_0x43f138[_0x21bbab(0x207)])(+_0x241c9c[_0x21bbab(0x1d9)])['format'](_0x21bbab(0x220)),'personId':_0x241c9c[_0x21bbab(0x1bf)]};}else{let _0x1bff64={'memberId':_0x12fc94,'unitId':_0x5d9887,'content':_0x5c4c80,'mention':_0xbef6df};return _0x369159((await this['_httpService'][_0x21bbab(0x202)](_0x21bbab(0x1a4)+_0x5d9887+_0x21bbab(0x194),{'body':_0x1bff64}))[_0x21bbab(0x191)][_0x21bbab(0x1a5)],_0xaf9687);}}async[_0x446e9e(0x1d3)](_0x547324){const _0x40b071=_0x446e9e;var _0x5d9f71,_0x2ecc68;let {text:_0x13080a,unitId:_0x604ed}=_0x547324,_0x4de829=(_0x5d9f71=(_0x2ecc68=_0x13080a['customRanges'])==null?void 0x0:_0x2ecc68[_0x40b071(0x1be)](_0x44f40a=>_0x44f40a[_0x40b071(0x1ae)]===_0x43f138['CustomRangeType'][_0x40b071(0x218)])[_0x40b071(0x1b3)](_0x275817=>_0x275817[_0x40b071(0x215)]))==null?[]:_0x5d9f71,_0x4d05b3=JSON['stringify'](_0x13080a),_0x1fa263=_0x547324[_0x40b071(0x1fa)],_0x1c208a=_0x547324['id'],_0x27d835={'memberId':(await this[_0x40b071(0x1a0)][_0x40b071(0x1e8)](_0x604ed))[_0x40b071(0x1f7)](),'unitId':_0x604ed,'threadId':_0x1fa263,'mention':_0x4de829,'content':_0x4d05b3,'replyId':_0x1c208a},_0x514777=await this[_0x40b071(0x217)][_0x40b071(0x202)](_0x40b071(0x1a4)+_0x604ed+'/edit',{'body':_0x27d835});return!_0x514777[_0x40b071(0x191)]['error']||_0x514777[_0x40b071(0x191)][_0x40b071(0x1f5)][_0x40b071(0x1cd)]===0x1;}async[_0x446e9e(0x1ac)](_0x304092){const _0xf2392=_0x446e9e;let {unitId:_0x3386c7}=_0x304092,_0x4174bc=_0x304092['threadId'],_0x94cf5b={'memberId':this['_userService']['getCurrentUser']()['userID'],'unitId':_0x3386c7,'threadId':_0x4174bc,'solved':_0x304092[_0xf2392(0x18c)]?_0x2b045d['CommentSolvedStatus'][_0xf2392(0x1d1)]:_0x2b045d['CommentSolvedStatus']['OpenOrReOpen']},_0x4f74bc=await this['_httpService']['post']('/universer-api/comment/unit/'+_0x3386c7+_0xf2392(0x1d7),{'body':_0x94cf5b});return!_0x4f74bc[_0xf2392(0x191)][_0xf2392(0x1f5)]||_0x4f74bc[_0xf2392(0x191)][_0xf2392(0x1f5)][_0xf2392(0x1cd)]===0x1;}async[_0x446e9e(0x20c)](_0x2ce220,_0x12bfc5,_0x1053a0,_0x31f0df){const _0x2a1b27=_0x446e9e;let _0x3d3da2={'memberId':(await this[_0x2a1b27(0x1a0)]['requireSession'](_0x2ce220))[_0x2a1b27(0x1f7)](),'threadId':_0x1053a0,'replyId':_0x31f0df,'unitId':_0x2ce220},_0x4f4a7b=await this[_0x2a1b27(0x217)]['post'](_0x2a1b27(0x1a4)+_0x2ce220+_0x2a1b27(0x1e4),{'body':_0x3d3da2});return!_0x4f4a7b[_0x2a1b27(0x191)][_0x2a1b27(0x1f5)]||_0x4f4a7b[_0x2a1b27(0x191)]['error']['code']===0x1;}async[_0x446e9e(0x1c7)](_0x4c5601,_0xfd77b3,_0x509006){const _0x1f8d7e=_0x446e9e;let _0x401954={'unitId':_0x4c5601,'threadId':_0x509006},_0x5c7de3=await this[_0x1f8d7e(0x217)][_0x1f8d7e(0x202)](_0x1f8d7e(0x1a4)+_0x4c5601+'/list',{'body':_0x401954}),_0x51bb1e=_0x509006[_0x1f8d7e(0x1b3)](_0x2a969e=>_0x3c8d35(_0x5c7de3['body'][_0x1f8d7e(0x1f6)][_0x2a969e],_0x4c5601,_0xfd77b3))[_0x1f8d7e(0x1be)](Boolean);return Object[_0x1f8d7e(0x20a)](_0x5c7de3[_0x1f8d7e(0x191)][_0x1f8d7e(0x18d)])['forEach'](_0x506e0d=>{const _0x433308=_0x1f8d7e;this[_0x433308(0x1b4)][_0x433308(0x198)](_0x506e0d);}),_0x51bb1e;}[_0x446e9e(0x1f3)](_0x357d30){const _0x189158=_0x446e9e;return{'id':_0x357d30['id'],'threadId':_0x357d30[_0x189158(0x1fa)],'ref':_0x357d30['ref']};}};_0x95412e=_0xc2ad05([_0x26b3db(0x0,(0x0,_0x43f138[_0x446e9e(0x1db)])(_0x12dc7b[_0x446e9e(0x1c4)])),_0x26b3db(0x1,(0x0,_0x43f138['Inject'])(_0x43f138[_0x446e9e(0x1cb)])),_0x26b3db(0x2,(0x0,_0x43f138[_0x446e9e(0x1db)])(_0x43d9ee['CollaborationSessionService']))],_0x95412e);let _0x42e325=class extends _0x43f138[_0x446e9e(0x19a)]{constructor(_0x151fa5,_0x13f0ae){const _0x4ef996=_0x446e9e;super(),this[_0x4ef996(0x1a7)]=_0x151fa5,this[_0x4ef996(0x210)]=_0x13f0ae,this[_0x4ef996(0x1dc)]();}[_0x446e9e(0x1dc)](){const _0x380cb5=_0x446e9e;this[_0x380cb5(0x1a7)][_0x380cb5(0x18b)]=this[_0x380cb5(0x210)],this[_0x380cb5(0x1a7)][_0x380cb5(0x1c8)]=!0x1;}};_0x42e325=_0xc2ad05([_0x26b3db(0x0,_0x1fa212[_0x446e9e(0x1de)]),_0x26b3db(0x1,(0x0,_0x43f138[_0x446e9e(0x1db)])(_0x95412e))],_0x42e325);function _0x5ae6cc(_0x469b8f){'@babel/helpers - typeof';const _0x455a07=_0x446e9e;return _0x5ae6cc=typeof Symbol=='function'&&typeof Symbol[_0x455a07(0x1d8)]==_0x455a07(0x1ab)?function(_0xc69698){return typeof _0xc69698;}:function(_0x556cf9){const _0x39879d=_0x455a07;return _0x556cf9&&typeof Symbol==_0x39879d(0x1c9)&&_0x556cf9['constructor']===Symbol&&_0x556cf9!==Symbol[_0x39879d(0x200)]?'symbol':typeof _0x556cf9;},_0x5ae6cc(_0x469b8f);}function _0x69cdf1(_0x413671,_0x5ed5b4){const _0x562b90=_0x446e9e;if(_0x5ae6cc(_0x413671)!='object'||!_0x413671)return _0x413671;var _0xcd815f=_0x413671[Symbol[_0x562b90(0x195)]];if(_0xcd815f!==void 0x0){var _0xd13930=_0xcd815f[_0x562b90(0x20b)](_0x413671,_0x5ed5b4||_0x562b90(0x1a6));if(_0x5ae6cc(_0xd13930)!='object')return _0xd13930;throw TypeError(_0x562b90(0x20d));}return(_0x5ed5b4===_0x562b90(0x1ba)?String:Number)(_0x413671);}function _0x5c4f09(_0x150a0d){const _0x1463bb=_0x446e9e;var _0x4eca7b=_0x69cdf1(_0x150a0d,_0x1463bb(0x1ba));return _0x5ae6cc(_0x4eca7b)==_0x1463bb(0x1ab)?_0x4eca7b:_0x4eca7b+'';}function _0x4ba6a4(_0x13242a,_0x509ff0,_0x3a63a0){const _0x21b821=_0x446e9e;return(_0x509ff0=_0x5c4f09(_0x509ff0))in _0x13242a?Object[_0x21b821(0x21d)](_0x13242a,_0x509ff0,{'value':_0x3a63a0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x13242a[_0x509ff0]=_0x3a63a0,_0x13242a;}let _0x51b9e8=class extends _0x43f138['Plugin']{constructor(_0x39f1c0=_0x44f42b,_0x512135,_0x2b70ee){const _0xe6c6c=_0x446e9e;super(),this['_config']=_0x39f1c0,this[_0xe6c6c(0x1e9)]=_0x512135,this[_0xe6c6c(0x212)]=_0x2b70ee;let {..._0x4aab82}=(0x0,_0x43f138[_0xe6c6c(0x1b0)])({},_0x44f42b,this[_0xe6c6c(0x214)]);this[_0xe6c6c(0x212)]['setConfig'](_0x19e91f,_0x4aab82);}[_0x446e9e(0x21f)](){[[_0x95412e],[_0x42e325],[_0x4e651d]]['forEach'](_0x4906b5=>{const _0x79c38d=_0x2b19;this[_0x79c38d(0x1e9)][_0x79c38d(0x21e)](_0x4906b5);});}[_0x446e9e(0x1f8)](){const _0x339752=_0x446e9e;this['_injector'][_0x339752(0x1a8)](_0x42e325),this[_0x339752(0x1e9)][_0x339752(0x1a8)](_0x4e651d);}};_0x4ba6a4(_0x51b9e8,_0x446e9e(0x1c5),_0x446e9e(0x1af)),_0x4ba6a4(_0x51b9e8,_0x446e9e(0x1ca),_0x5af773),_0x4ba6a4(_0x51b9e8,_0x446e9e(0x1e7),_0x344790),_0x51b9e8=_0xc2ad05([(0x0,_0x43f138[_0x446e9e(0x211)])(_0x885b42[_0x446e9e(0x19d)],_0x43d9ee[_0x446e9e(0x1c1)],_0x72892f[_0x446e9e(0x196)]),_0x26b3db(0x1,(0x0,_0x43f138[_0x446e9e(0x1db)])(_0x43f138['Injector'])),_0x26b3db(0x2,_0x43f138['IConfigService'])],_0x51b9e8),Object[_0x446e9e(0x21d)](_0x17009d,'UniverThreadCommentDataSourcePlugin',{'enumerable':!0x0,'get':function(){return _0x51b9e8;}});}));
14
+ function _0x27e7(){const _0x1a177b=['length','format','bufferTime','addUser','call','body','add','updateComment','function','/edit','_threadCommentDataSourceService','_userService','YYYY/MM/DD\x20HH:mm','13228XsAKXE','type','Reply','Add','UserManagerService','solved','resolved','_configService','users','parse','parentId','/reply','size','CommentService','get','UniverNetwork','UniverThreadCommentDataSourcePlugin','_commentService','userId','addComment','Module','pipe','_threadCommentDataSource','find','unitId','OpenOrReOpen','content','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','ThreadCommentModel','personId','317156wKwiAe','7814674vSRhdO','root','getMemberID','rangeType','957xGMiXo','packageName','toStringTag','reply','comment','IConfigService','object','@univerjs-pro/license','/universer-api/user/list','_sessionService','commentUpdate$','replies','CommentSolvedStatus','replyId','comments','@univerjs/thread-comment-ui','426004TFrCmX','getUser','@univerjs/thread-comment','stringify','string','3527352xEmEAp','createTimestamp','syncUpdateMutationToColla','4659948CwNMyb','code','_initDataSource','forEach','threadId','requireSession','CollaborationSessionService','/list','default','446345CbRFWz','UniverProCollaborationClient','Delete','defineProperty','constructor','version','_threadCommentModel','dataSource','onStarting','delete','getCurrentUser','decorate','HTTPService','subscribe','@univerjs/protocol','dateKit','onReady','CustomRangeType','_config','@univerjs-pro/thread-comment-datasource','UniverThreadCommentUIPlugin','saveCommentToSnapshot','merge','pluginName','resolveComment','error','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','deleteComment','DependentOn','payload','UniverCollaborationClientPlugin','_httpService','Inject','_injector','_init','/universer-api/comment/unit/','prototype','getComment','_initUserSync','@univerjs/network','symbol','Edit','getUnit','disposeWithMe','/delete','user','filter','map','CommentUpdateEventType','userID','UniverThreadComment','rangeId','Solved','post','UniverCore','rxjs'];_0x27e7=function(){return _0x1a177b;};return _0x27e7();}function _0x32ca(_0x2168f1,_0x3b851d){_0x2168f1=_0x2168f1-0x168;const _0x27e767=_0x27e7();let _0x32cae4=_0x27e767[_0x2168f1];return _0x32cae4;}(function(_0xa5d881,_0x460b7f){const _0x3a01a4=_0x32ca,_0x3469d8=_0xa5d881();while(!![]){try{const _0xc7bd29=-parseInt(_0x3a01a4(0x1a6))/0x1+parseInt(_0x3a01a4(0x191))/0x2+parseInt(_0x3a01a4(0x196))/0x3*(parseInt(_0x3a01a4(0x173))/0x4)+-parseInt(_0x3a01a4(0x1b7))/0x5+-parseInt(_0x3a01a4(0x1ae))/0x6+parseInt(_0x3a01a4(0x192))/0x7+-parseInt(_0x3a01a4(0x1ab))/0x8;if(_0xc7bd29===_0x460b7f)break;else _0x3469d8['push'](_0x3469d8['shift']());}catch(_0x368996){_0x3469d8['push'](_0x3469d8['shift']());}}}(_0x27e7,0x91c33),function(_0x1f312d,_0x3d4e84){const _0x1f3ccc=_0x32ca;typeof exports==_0x1f3ccc(0x19c)&&typeof module<'u'?_0x3d4e84(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs-pro/license`),require(`@univerjs/core`),require(`@univerjs/thread-comment-ui`),require(`@univerjs/protocol`),require(`@univerjs/thread-comment`),require(`rxjs`),require(`@univerjs/network`)):typeof define==_0x1f3ccc(0x16e)&&define['amd']?define(['exports','@univerjs-pro/collaboration-client',_0x1f3ccc(0x19d),'@univerjs/core',_0x1f3ccc(0x1a5),_0x1f3ccc(0x1c5),_0x1f3ccc(0x1a8),_0x1f3ccc(0x1ee),_0x1f3ccc(0x1de)],_0x3d4e84):(_0x1f312d=typeof globalThis<'u'?globalThis:_0x1f312d||self,_0x3d4e84(_0x1f312d['UniverProThreadCommentDatasource']={},_0x1f312d[_0x1f3ccc(0x1b8)],_0x1f312d['UniverProLicense'],_0x1f312d[_0x1f3ccc(0x1ed)],_0x1f312d['UniverThreadCommentUi'],_0x1f312d['UniverProtocol'],_0x1f312d[_0x1f3ccc(0x1e9)],_0x1f312d[_0x1f3ccc(0x1ee)],_0x1f312d[_0x1f3ccc(0x182)]));}(this,function(_0x565f7a,_0xd0dee6,_0x2fcd0a,_0x49fef2,_0x5c16ab,_0x55bb10,_0x5472a1,_0x1d2cc5,_0x45ccbb){const _0x54de2a=_0x32ca;Object[_0x54de2a(0x1ba)](_0x565f7a,Symbol[_0x54de2a(0x198)],{'value':_0x54de2a(0x187)});var _0x2b0dfa=_0x54de2a(0x1ca),_0x573e70='0.21.1';let _0x4cb6d9=_0x25f262=>(0x0,_0x49fef2[_0x54de2a(0x1c6)])(new Date(+_0x25f262))[_0x54de2a(0x1f0)](_0x54de2a(0x172)),_0x37adfc=async(_0x4830a5,_0x58b249)=>{const _0x358711=_0x54de2a;let _0x461ab1=_0x4830a5[_0x358711(0x181)](_0x49fef2['UserManagerService']),_0x4c7198=_0x4830a5[_0x358711(0x181)](_0x45ccbb[_0x358711(0x1c3)]);_0x58b249[_0x358711(0x1b1)](_0x1530db=>{const _0x215cfb=_0x358711;_0x461ab1[_0x215cfb(0x1a7)](_0x1530db)&&_0x58b249[_0x215cfb(0x1c0)](_0x1530db);}),_0x58b249[_0x358711(0x17f)]&&(await _0x4c7198[_0x358711(0x181)](_0x358711(0x19e),{'params':{'userIDs':[..._0x58b249]}}))['body'][_0x358711(0x17b)]['forEach'](_0x45c211=>{_0x45c211&&_0x461ab1['addUser'](_0x45c211);});};function _0x5a7579(_0x45ba77,_0xaeef9c){return function(_0x4880e5,_0x41880f){_0xaeef9c(_0x4880e5,_0x41880f,_0x45ba77);};}function _0x45f590(_0x1d7cee,_0x244cc5,_0x53d9fe,_0x3b84fc){const _0x5d889a=_0x54de2a;var _0x2d9b89=arguments[_0x5d889a(0x1ef)],_0x1f269f=_0x2d9b89<0x3?_0x244cc5:_0x3b84fc===null?_0x3b84fc=Object['getOwnPropertyDescriptor'](_0x244cc5,_0x53d9fe):_0x3b84fc,_0x18a5cf;if(typeof Reflect==_0x5d889a(0x19c)&&typeof Reflect[_0x5d889a(0x1c2)]==_0x5d889a(0x16e))_0x1f269f=Reflect[_0x5d889a(0x1c2)](_0x1d7cee,_0x244cc5,_0x53d9fe,_0x3b84fc);else{for(var _0x39c948=_0x1d7cee[_0x5d889a(0x1ef)]-0x1;_0x39c948>=0x0;_0x39c948--)(_0x18a5cf=_0x1d7cee[_0x39c948])&&(_0x1f269f=(_0x2d9b89<0x3?_0x18a5cf(_0x1f269f):_0x2d9b89>0x3?_0x18a5cf(_0x244cc5,_0x53d9fe,_0x1f269f):_0x18a5cf(_0x244cc5,_0x53d9fe))||_0x1f269f);}return _0x2d9b89>0x3&&_0x1f269f&&Object['defineProperty'](_0x244cc5,_0x53d9fe,_0x1f269f),_0x1f269f;}let _0x4ffb68=class extends _0x49fef2['Disposable']{constructor(_0x11db2e,_0x4e89d6,_0x5e3c63,_0x45ba4d){const _0x5bf90a=_0x54de2a;super(),this[_0x5bf90a(0x184)]=_0x11db2e,this[_0x5bf90a(0x1bd)]=_0x4e89d6,this[_0x5bf90a(0x171)]=_0x5e3c63,this[_0x5bf90a(0x1d8)]=_0x45ba4d,this[_0x5bf90a(0x1d9)](),this[_0x5bf90a(0x1dd)]();}[_0x54de2a(0x1dd)](){const _0x430d43=_0x54de2a;this[_0x430d43(0x1e2)](this['_threadCommentModel'][_0x430d43(0x1a0)][_0x430d43(0x188)]((0x0,_0x1d2cc5[_0x430d43(0x168)])(0x10))[_0x430d43(0x1c4)](_0x56a5df=>{let _0x4db818=new Set();_0x56a5df['forEach'](_0x2972bf=>{const _0x4fe39f=_0x32ca;switch(_0x2972bf[_0x4fe39f(0x174)]){case _0x4fe39f(0x16c):{let _0xaf022d=_0x2972bf[_0x4fe39f(0x1d4)][_0x4fe39f(0x190)];_0x4db818[_0x4fe39f(0x16c)](_0xaf022d);break;}default:break;}}),_0x37adfc(this['_injector'],_0x4db818);}));}[_0x54de2a(0x1d9)](){const _0x35cf17=_0x54de2a;this['disposeWithMe'](this[_0x35cf17(0x184)][_0x35cf17(0x1a0)][_0x35cf17(0x1c4)](async _0x29733d=>{const _0x3517f1=_0x35cf17;var _0x55cab2;let _0x5948b2=(_0x55cab2=this[_0x3517f1(0x1bd)]['getUnit'](_0x29733d[_0x3517f1(0x18b)])['find'](_0x3efa97=>_0x3efa97[_0x3517f1(0x1b2)]===_0x29733d['threadId']))==null?void 0x0:_0x55cab2[_0x3517f1(0x193)];if(!_0x5948b2)return;let {unitId:_0x12c1cf,subUnitId:_0x1ce8ad}=_0x5948b2;switch(_0x29733d[_0x3517f1(0x1e4)]&&this[_0x3517f1(0x171)][_0x3517f1(0x169)](_0x29733d[_0x3517f1(0x1e4)]),_0x29733d[_0x3517f1(0x174)]){case _0x55bb10[_0x3517f1(0x1e7)][_0x3517f1(0x176)]:break;case _0x55bb10['CommentUpdateEventType'][_0x3517f1(0x175)]:var _0x16ba0d,_0x1faf8d;this[_0x3517f1(0x1bd)][_0x3517f1(0x186)](_0x12c1cf,_0x1ce8ad,{'unitId':_0x12c1cf,'subUnitId':_0x1ce8ad,'ref':'','id':_0x29733d['replyId'],'dT':_0x4cb6d9(+_0x29733d[_0x3517f1(0x1ac)]),'threadId':_0x29733d[_0x3517f1(0x1b2)],'personId':(_0x16ba0d=(_0x1faf8d=_0x29733d['user'])==null?void 0x0:_0x1faf8d[_0x3517f1(0x1e8)])==null?_0x29733d[_0x3517f1(0x185)]:_0x16ba0d,'text':JSON[_0x3517f1(0x17c)](_0x29733d['content']),'parentId':_0x5948b2['id']});break;case _0x55bb10['CommentUpdateEventType'][_0x3517f1(0x1b9)]:{let _0x1d6b50=this[_0x3517f1(0x1bd)][_0x3517f1(0x1dc)](_0x12c1cf,_0x1ce8ad,_0x29733d['replyId']);_0x1d6b50&&_0x1d6b50[_0x3517f1(0x17d)]&&this[_0x3517f1(0x1bd)]['deleteComment'](_0x12c1cf,_0x1ce8ad,_0x29733d[_0x3517f1(0x1a3)]);break;}case _0x55bb10[_0x3517f1(0x1e7)][_0x3517f1(0x1e0)]:this[_0x3517f1(0x1bd)][_0x3517f1(0x16d)](_0x12c1cf,_0x1ce8ad,{'commentId':_0x29733d[_0x3517f1(0x1a3)],'text':JSON['parse'](_0x29733d[_0x3517f1(0x18d)])});break;case _0x55bb10[_0x3517f1(0x1e7)]['Solve']:{var _0x5de1cd;let _0x200e43=(_0x5de1cd=this[_0x3517f1(0x1bd)][_0x3517f1(0x1e1)](_0x29733d['unitId'])[_0x3517f1(0x18a)](_0x393fe9=>_0x393fe9[_0x3517f1(0x1b2)]===_0x29733d[_0x3517f1(0x1b2)]))==null?void 0x0:_0x5de1cd['root'];_0x200e43&&this[_0x3517f1(0x1bd)][_0x3517f1(0x1cf)](_0x12c1cf,_0x1ce8ad,_0x200e43['id'],_0x29733d[_0x3517f1(0x178)]===_0x55bb10[_0x3517f1(0x1a2)][_0x3517f1(0x1eb)]);break;}default:break;}}));}};_0x4ffb68=_0x45f590([_0x5a7579(0x0,(0x0,_0x49fef2[_0x54de2a(0x1d7)])(_0xd0dee6[_0x54de2a(0x180)])),_0x5a7579(0x1,(0x0,_0x49fef2[_0x54de2a(0x1d7)])(_0x5472a1[_0x54de2a(0x18f)])),_0x5a7579(0x2,(0x0,_0x49fef2[_0x54de2a(0x1d7)])(_0x49fef2[_0x54de2a(0x177)])),_0x5a7579(0x3,(0x0,_0x49fef2[_0x54de2a(0x1d7)])(_0x49fef2['Injector']))],_0x4ffb68);let _0xdc243f='thread-comment-data-source.config';Symbol(_0xdc243f);let _0x50c216={};function _0xa3dec3(_0x122422,_0x879856){const _0x2c0b80=_0x54de2a;let _0x590d8e=_0x122422['replies'][0x0];return{..._0x879856,'id':_0x590d8e[_0x2c0b80(0x1a3)],'resolved':_0x122422[_0x2c0b80(0x178)]===0x1,'dT':_0x4cb6d9(_0x590d8e[_0x2c0b80(0x1ac)]),'personId':_0x590d8e[_0x2c0b80(0x185)],'threadId':_0x590d8e[_0x2c0b80(0x1b2)]};}function _0xbb6501(_0x2772a4,_0x4ba2ed,_0x4b2333){const _0xa34ae0=_0x54de2a;var _0x3f595a,_0x424391;if(((_0x3f595a=_0x2772a4==null||(_0x424391=_0x2772a4[_0xa34ae0(0x1a1)])==null?void 0x0:_0x424391[_0xa34ae0(0x1ef)])==null?0x0:_0x3f595a)>0x0){let _0xcccabb=(_0xf99a6c,_0x4b61fc)=>({'id':_0xf99a6c[_0xa34ae0(0x1a3)],'threadId':_0xf99a6c['threadId'],'dT':_0x4cb6d9(_0xf99a6c[_0xa34ae0(0x1ac)]),'personId':_0xf99a6c[_0xa34ae0(0x185)],'resolved':_0x2772a4[_0xa34ae0(0x178)]===_0x55bb10[_0xa34ae0(0x1a2)][_0xa34ae0(0x1eb)],'unitId':_0x4ba2ed,'subUnitId':_0x4b2333,'text':JSON['parse'](_0xf99a6c['content']),'parentId':_0x4b61fc}),_0x5e9d00=_0xcccabb(_0x2772a4[_0xa34ae0(0x1a1)][0x0]);return{..._0x5e9d00,'children':_0x2772a4['replies']['slice'](0x1)[_0xa34ae0(0x1e6)](_0x3c3b1c=>_0xcccabb(_0x3c3b1c,_0x5e9d00['id']))};}return null;}let _0x30dc59=class{constructor(_0x352921,_0x15d2c4,_0x105858){const _0x23e498=_0x54de2a;this['_httpService']=_0x352921,this[_0x23e498(0x171)]=_0x15d2c4,this[_0x23e498(0x19f)]=_0x105858;}async[_0x54de2a(0x186)](_0x497e2d){const _0x4ecc1d=_0x54de2a;var _0x300363,_0x2a6048;let {parentId:_0x4fe20a,unitId:_0x374a43,text:_0x19de2e,threadId:_0x2f3354}=_0x497e2d,_0x3ca3c8=(_0x300363=(_0x2a6048=_0x19de2e['customRanges'])==null?void 0x0:_0x2a6048[_0x4ecc1d(0x1e5)](_0x4916ef=>_0x4916ef[_0x4ecc1d(0x195)]===_0x49fef2['CustomRangeType']['COMMENT'])[_0x4ecc1d(0x1e6)](_0x1d66f4=>_0x1d66f4[_0x4ecc1d(0x1ea)]))==null?[]:_0x300363,_0x2b523f=JSON[_0x4ecc1d(0x1a9)](_0x19de2e),_0x5d21c8=(await this[_0x4ecc1d(0x19f)]['requireSession'](_0x374a43))['getMemberID']();if(_0x4fe20a){let _0x4a4f44={'memberId':_0x5d21c8,'unitId':_0x374a43,'content':_0x2b523f,'mention':_0x3ca3c8,'threadId':_0x2f3354},_0x52d8e9=(await this['_httpService'][_0x4ecc1d(0x1ec)](_0x4ecc1d(0x1da)+_0x374a43+_0x4ecc1d(0x17e),{'body':_0x4a4f44}))[_0x4ecc1d(0x16b)][_0x4ecc1d(0x199)];return{..._0x497e2d,'id':_0x52d8e9[_0x4ecc1d(0x1a3)],'dT':(0x0,_0x49fef2['dateKit'])(+_0x52d8e9[_0x4ecc1d(0x1ac)])[_0x4ecc1d(0x1f0)](_0x4ecc1d(0x172)),'personId':_0x52d8e9[_0x4ecc1d(0x185)]};}else{let _0x3e3022={'memberId':_0x5d21c8,'unitId':_0x374a43,'content':_0x2b523f,'mention':_0x3ca3c8};return _0xa3dec3((await this[_0x4ecc1d(0x1d6)][_0x4ecc1d(0x1ec)](_0x4ecc1d(0x1da)+_0x374a43+'/add',{'body':_0x3e3022}))[_0x4ecc1d(0x16b)][_0x4ecc1d(0x19a)],_0x497e2d);}}async[_0x54de2a(0x16d)](_0x43ddc5){const _0xf08b77=_0x54de2a;var _0x1be54c,_0x4f8a03;let {text:_0xc5cfd3,unitId:_0x2f3055}=_0x43ddc5,_0x2ffec3=(_0x1be54c=(_0x4f8a03=_0xc5cfd3['customRanges'])==null?void 0x0:_0x4f8a03[_0xf08b77(0x1e5)](_0xd1786f=>_0xd1786f[_0xf08b77(0x195)]===_0x49fef2[_0xf08b77(0x1c8)]['COMMENT'])[_0xf08b77(0x1e6)](_0x2bb06c=>_0x2bb06c[_0xf08b77(0x1ea)]))==null?[]:_0x1be54c,_0x47b472=JSON['stringify'](_0xc5cfd3),_0x5e6ba2=_0x43ddc5[_0xf08b77(0x1b2)],_0x6c34c9=_0x43ddc5['id'],_0x5b0a72={'memberId':(await this[_0xf08b77(0x19f)]['requireSession'](_0x2f3055))[_0xf08b77(0x194)](),'unitId':_0x2f3055,'threadId':_0x5e6ba2,'mention':_0x2ffec3,'content':_0x47b472,'replyId':_0x6c34c9},_0x5a2120=await this[_0xf08b77(0x1d6)]['post'](_0xf08b77(0x1da)+_0x2f3055+_0xf08b77(0x16f),{'body':_0x5b0a72});return!_0x5a2120['body'][_0xf08b77(0x1d0)]||_0x5a2120[_0xf08b77(0x16b)][_0xf08b77(0x1d0)][_0xf08b77(0x1af)]===0x1;}async[_0x54de2a(0x1cf)](_0x27dfe9){const _0x2cec8a=_0x54de2a;let {unitId:_0x197aad}=_0x27dfe9,_0x3fcfea=_0x27dfe9[_0x2cec8a(0x1b2)],_0x4f8288={'memberId':this[_0x2cec8a(0x171)][_0x2cec8a(0x1c1)]()['userID'],'unitId':_0x197aad,'threadId':_0x3fcfea,'solved':_0x27dfe9[_0x2cec8a(0x179)]?_0x55bb10[_0x2cec8a(0x1a2)][_0x2cec8a(0x1eb)]:_0x55bb10[_0x2cec8a(0x1a2)][_0x2cec8a(0x18c)]},_0x2b9b1b=await this[_0x2cec8a(0x1d6)][_0x2cec8a(0x1ec)](_0x2cec8a(0x1da)+_0x197aad+'/solved',{'body':_0x4f8288});return!_0x2b9b1b[_0x2cec8a(0x16b)][_0x2cec8a(0x1d0)]||_0x2b9b1b[_0x2cec8a(0x16b)]['error'][_0x2cec8a(0x1af)]===0x1;}async[_0x54de2a(0x1d2)](_0x103e70,_0x45deba,_0x5096ce,_0x3d8fc2){const _0x114067=_0x54de2a;let _0x2290a7={'memberId':(await this[_0x114067(0x19f)][_0x114067(0x1b3)](_0x103e70))[_0x114067(0x194)](),'threadId':_0x5096ce,'replyId':_0x3d8fc2,'unitId':_0x103e70},_0x2b3006=await this[_0x114067(0x1d6)][_0x114067(0x1ec)]('/universer-api/comment/unit/'+_0x103e70+_0x114067(0x1e3),{'body':_0x2290a7});return!_0x2b3006[_0x114067(0x16b)][_0x114067(0x1d0)]||_0x2b3006[_0x114067(0x16b)][_0x114067(0x1d0)]['code']===0x1;}async['listComments'](_0x3afc10,_0x1b618e,_0x1e7f5d){const _0x1e84d5=_0x54de2a;let _0x54925c={'unitId':_0x3afc10,'threadId':_0x1e7f5d},_0x5c5bb7=await this[_0x1e84d5(0x1d6)][_0x1e84d5(0x1ec)]('/universer-api/comment/unit/'+_0x3afc10+_0x1e84d5(0x1b5),{'body':_0x54925c}),_0xc2e6db=_0x1e7f5d['map'](_0x514505=>_0xbb6501(_0x5c5bb7['body'][_0x1e84d5(0x1a4)][_0x514505],_0x3afc10,_0x1b618e))[_0x1e84d5(0x1e5)](Boolean);return Object['values'](_0x5c5bb7[_0x1e84d5(0x16b)][_0x1e84d5(0x17b)])['forEach'](_0x213701=>{const _0x2b5893=_0x1e84d5;this[_0x2b5893(0x171)][_0x2b5893(0x169)](_0x213701);}),_0xc2e6db;}[_0x54de2a(0x1cc)](_0x5e7b91){const _0x3cde1c=_0x54de2a;return{'id':_0x5e7b91['id'],'threadId':_0x5e7b91[_0x3cde1c(0x1b2)],'ref':_0x5e7b91['ref']};}};_0x30dc59=_0x45f590([_0x5a7579(0x0,(0x0,_0x49fef2[_0x54de2a(0x1d7)])(_0x45ccbb[_0x54de2a(0x1c3)])),_0x5a7579(0x1,(0x0,_0x49fef2['Inject'])(_0x49fef2[_0x54de2a(0x177)])),_0x5a7579(0x2,(0x0,_0x49fef2[_0x54de2a(0x1d7)])(_0xd0dee6[_0x54de2a(0x1b4)]))],_0x30dc59);let _0x2a74c7=class extends _0x49fef2['Disposable']{constructor(_0x11f0e3,_0x4e5a9f){const _0x5f465f=_0x54de2a;super(),this[_0x5f465f(0x170)]=_0x11f0e3,this[_0x5f465f(0x189)]=_0x4e5a9f,this[_0x5f465f(0x1b0)]();}[_0x54de2a(0x1b0)](){const _0x334249=_0x54de2a;this[_0x334249(0x170)][_0x334249(0x1be)]=this[_0x334249(0x189)],this[_0x334249(0x170)][_0x334249(0x1ad)]=!0x1;}};_0x2a74c7=_0x45f590([_0x5a7579(0x0,_0x5472a1['IThreadCommentDataSourceService']),_0x5a7579(0x1,(0x0,_0x49fef2[_0x54de2a(0x1d7)])(_0x30dc59))],_0x2a74c7);function _0x3d1320(_0x5c4aa1){'@babel/helpers - typeof';const _0x9428ca=_0x54de2a;return _0x3d1320=typeof Symbol==_0x9428ca(0x16e)&&typeof Symbol['iterator']==_0x9428ca(0x1df)?function(_0x3893d1){return typeof _0x3893d1;}:function(_0x49e129){const _0xe0d888=_0x9428ca;return _0x49e129&&typeof Symbol==_0xe0d888(0x16e)&&_0x49e129[_0xe0d888(0x1bb)]===Symbol&&_0x49e129!==Symbol[_0xe0d888(0x1db)]?_0xe0d888(0x1df):typeof _0x49e129;},_0x3d1320(_0x5c4aa1);}function _0x3825ae(_0x455863,_0x3d1350){const _0x305cd9=_0x54de2a;if(_0x3d1320(_0x455863)!=_0x305cd9(0x19c)||!_0x455863)return _0x455863;var _0x48e183=_0x455863[Symbol['toPrimitive']];if(_0x48e183!==void 0x0){var _0x5dec5e=_0x48e183[_0x305cd9(0x16a)](_0x455863,_0x3d1350||_0x305cd9(0x1b6));if(_0x3d1320(_0x5dec5e)!=_0x305cd9(0x19c))return _0x5dec5e;throw TypeError(_0x305cd9(0x1d1));}return(_0x3d1350===_0x305cd9(0x1aa)?String:Number)(_0x455863);}function _0x18339c(_0x44f42a){const _0x1631fb=_0x54de2a;var _0xead7d2=_0x3825ae(_0x44f42a,'string');return _0x3d1320(_0xead7d2)==_0x1631fb(0x1df)?_0xead7d2:_0xead7d2+'';}function _0x360ac6(_0x5d19dd,_0x41062b,_0x35227d){const _0x50b184=_0x54de2a;return(_0x41062b=_0x18339c(_0x41062b))in _0x5d19dd?Object[_0x50b184(0x1ba)](_0x5d19dd,_0x41062b,{'value':_0x35227d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5d19dd[_0x41062b]=_0x35227d,_0x5d19dd;}let _0x38440e=class extends _0x49fef2['Plugin']{constructor(_0x50f631=_0x50c216,_0x47e86f,_0x4cdbb7){const _0x32954a=_0x54de2a;super(),this[_0x32954a(0x1c9)]=_0x50f631,this[_0x32954a(0x1d8)]=_0x47e86f,this[_0x32954a(0x17a)]=_0x4cdbb7;let {..._0x4e6bdf}=(0x0,_0x49fef2[_0x32954a(0x1cd)])({},_0x50c216,this['_config']);this[_0x32954a(0x17a)]['setConfig'](_0xdc243f,_0x4e6bdf);}[_0x54de2a(0x1bf)](){const _0x2336cb=_0x54de2a;[[_0x30dc59],[_0x2a74c7],[_0x4ffb68]][_0x2336cb(0x1b1)](_0x605d11=>{const _0x47b748=_0x2336cb;this[_0x47b748(0x1d8)]['add'](_0x605d11);});}[_0x54de2a(0x1c7)](){const _0x33767c=_0x54de2a;this[_0x33767c(0x1d8)][_0x33767c(0x181)](_0x2a74c7),this[_0x33767c(0x1d8)][_0x33767c(0x181)](_0x4ffb68);}};_0x360ac6(_0x38440e,_0x54de2a(0x1ce),_0x54de2a(0x18e)),_0x360ac6(_0x38440e,_0x54de2a(0x197),_0x2b0dfa),_0x360ac6(_0x38440e,_0x54de2a(0x1bc),_0x573e70),_0x38440e=_0x45f590([(0x0,_0x49fef2[_0x54de2a(0x1d3)])(_0x5c16ab[_0x54de2a(0x1cb)],_0xd0dee6[_0x54de2a(0x1d5)],_0x2fcd0a['UniverLicensePlugin']),_0x5a7579(0x1,(0x0,_0x49fef2['Inject'])(_0x49fef2['Injector'])),_0x5a7579(0x2,_0x49fef2[_0x54de2a(0x19b)])],_0x38440e),Object[_0x54de2a(0x1ba)](_0x565f7a,_0x54de2a(0x183),{'enumerable':!0x0,'get':function(){return _0x38440e;}});}));
15
15
 
16
16
  // @univerjs-pro/edit-history-viewer/index
17
- function _0x3bbe(){const _0x101a7e=['0\x200\x2016\x2017','BackIcon','onPointerMove$','memberId','block','ReorderRangeMutation','SetConditionalRuleMutation','UniverProtocol','defIds','rangeInfo','_revertRevision$','_context','_direction','call','addProtection','onStarting','SetRowVisibleMutation','_unitCurrentVersionMap','LocaleService','refreshRangeProtectPermission','insertShape','startsWith','UpdatePivotTableSourceRangeMutation','getUnitId','url(#restore-icon_clip0_1247_2)','getRelativeToViewportCoord','univer-animate-spin\x20univer-text-gray-400','SetSheetSparklineMutation','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','white','onPointerLeave$','min','scene','WorkbookEditablePermission','-detail-','useEffect','DisposableCollection','SetWorksheetColumnCountMutation','_sheetsChartService','_openPanel','CopyWorksheetEndMutation','_hovered','updateValuePosition','4697370Tjwkmr','univer-pointer-events-auto\x20univer-flex\x20univer-flex-col\x20univer-rounded-t-2xl\x20univer-bg-white\x20univer-shadow-[0_-4px_24px_rgba(0,0,0,0.12)]\x20univer-transition-[height]\x20univer-duration-300\x20dark:!univer-bg-gray-950','editHistory.header.revert','focusUnit','ISidebarService','sparklines','IConfigService','_startBlinking','history-mask','editHistory.action.revertSheetSuffix','_sheetsPivotTableConfigModel','rules','currentColor','endColumn','_diffRangesMap','editHistory.panel.filterAll','ComponentManager','clearInterval','RemoveColMutation','deleteCF','random','INSERT','left','from','FunnelIcon','_initActiveSwitch','setInterval','_transformService','HEADER','SetWorksheetRangeThemeStyleMutation','additionalFields','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-blue-50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','RemoveSheetsShapeMutation','endRev','UniverIcon','COLUMN','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','dateString','center','defs','scrollToShape','bottom','85304rakkDV','rgb','arc','removeChart','SetWorksheetRowHeightMutation','startRow','_compressMutationService','ensureVersion','object','_initMaskContainer','univer-min-w-[240px]','versions','setShapeProps','_historyContainerId','AddWorksheetMergeMutation','BuiltInUIPart','removeNumfmt','SetNumfmtMutation','#0B9EFB','_isBlinkVisible','stringify','UpdateDataValidationMutation','subUnitId','REMOVE','\x20-\x20','univer-flex-1\x20univer-overflow-y-auto','SetColHiddenMutation','HistoryOrigin','startRevision','currentSkeleton$','_sidebarService','insertChart','iterator','setTimeout','removeSparkline','removeTable','merge','_loadParams','FloatImg','Today','10px','_commandService','abs','UNIVER_SHEET','includes','getRuleById','setOffsetY','IPermissionService','updateChartSource','_cellEditorManagerService','SetDrawingApplyMutation','getCurrentLocale','direction','substring','_findOverlappingShapes','reduce','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-font-medium\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getSubUnitId','columnData','transform','12px','editHistory.info.loading','showDiffMarks','setRangeValues','setPivotValueFilter','ranges','DeleteConditionalRuleMutation','BehaviorSubject','univer-w-10','SetWorksheetNameMutation','currentVersion','_blinkIntervalTimer','_workbookDataCache','setRightToLeft','entered','clear','useRef','end','isTransformMutationsSuccess','deleteWorksheetRangeTheme','WorkbookHideSheetPermission','removeSheet','DeleteSheetTableMutation','getHours','show','#FF557D','Comment','setRowData','children','-drawing-','filter','SetWorksheetActiveOperation','editHistory.panel.currentVersion','canRevert','UniverProSheetsChart','univer-m-auto\x20univer-animate-spin','rect','useState','commands','VersionDiffRenderController','_renderBorderRanges','Entered','_maskContainer','RemoveSheetsChartMutation','fetchCreatorList','deleteCellRanges','RemoveNumfmtMutation','connectInjector','_renderCellRanges','ISnapshotServerService','SetWorksheetRowIsAutoHeightMutation','LoadingMultiIcon','addEventListener','parse','_borderDiffs','editHistory.panel.currentUser','key','chartModelId','SparklineDataSourceModel','SetPivotFieldFormatMutation','mutations','m1Prime','useMemo','VIEW_MAIN','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-shrink-0\x20univer-cursor-pointer\x20univer-flex-col\x20univer-items-center\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','setRowAutoHeight','RevertRevisionMutation','univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','100%','defineProperty','sheet','2407020xHJjwl','Failed\x20to\x20fetch\x20version\x20details:','_snapshotServerService','IConfirmService','UniverDesign','removePivotTable','users','data','SetSheetTableMutation','_renderArrowRanges','ruleId','...','_draw','column','editHistory.header.back','RemoveSheetsFilterMutation','setPermissionPoints','creators$','Edit','_sparklineDataSourceModel','SetSheetsFilterRangeMutation','univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','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','version','loadHistoryCreatorList','registerComponent','DeleteRangeProtectionMutation','getSheets','editHistory.panel.aiAssistant','_conditionalFormattingRuleModel','padStart','creators','displayName','Loading','findAllRectangle','SetWorkbookNameMutation','history-panel','_updateDiffMarks','currentVersion$','univer-flex\x20univer-items-center\x20univer-gap-2','default','stroke','SetPivotPositionMutation','_fetching$','row','http://www.w3.org/2000/svg','getCurrentUnitCurrentVersion','clsx','DeleteWorksheetRangeThemeStyleMutation','addRangeTheme','UniverSheetsConditionalFormatting','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','createSheet','getHistoryChangesets','subscribeEvent','closePath','setRowIsAutoHeight','closeAll','SetPivotCollapseMutation','0.655','univer-relative\x20univer-h-8','setState','startColumn','startDateString','_members','start','setFilter','restore-icon','replace','blocks','/creators','1203SaYzFL','0px','getRange','unitId$','setPivotSort','univer-min-w-0\x20univer-flex-1','_currentVersion$','columnHeaderHeight','scrollToViewportPos','addPivotField','_lastPointer','IRenderManagerService','univer-text-gray-500','Button','Plugin','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','range','label','/cs?startRevision=','Rect','status','addTable','addPivotTable','_sidebarDisposable','_transformMutationByOrder','SetPivotValueFilterMutation','SetSheetsFilterCriteriaMutation','updateChartConfig','_initRender','_stopBlinking','loadingState$','updatePermissionPoint','fillText','SnapshotServerOverHTTPService','sort','SetWorksheetDefaultStyleMutation','onMouseMove','reverse','getVersions','SheetTableService','pipe','targetRange','evenodd','getCurrentSkeleton','_applyWorkbookData','RenameSheet','LRUMap','_arrowDiffs','symbol','SetPivotSubtotalTypeMutation','UniverEngineRender','combineLatest','setDefaultStyle','getAncestorScale','zIndex','Error','_updateWorksheetVisibility','_getAPIPrefix','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-px-1\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','_drawTextBubble','state$','getRule','editHistory.action.','svg','getCurrentVersion','setDV','unionPivotViewRange','addObjects','removeFilter','exports.@univerjs-pro/collaboration-client-ui.@univerjs/core.@univerjs/drawing.@univerjs/engine-render.@univerjs/sheets.@univerjs/sheets-ui.rxjs.@univerjs/design.@univerjs/ui.@univerjs-pro/collaboration.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-sparkline.@univerjs/data-validation.@univerjs/sheets-conditional-formatting.@univerjs/sheets-drawing.@univerjs/sheets-filter.@univerjs/sheets-table.@univerjs/network.@univerjs/protocol.@univerjs/sheets-data-validation.@univerjs-pro/collaboration-client.react.react/jsx-runtime','#A656FF','_cacheKey','SetWorksheetRightToLeftMutation','currentVersionDiff$','UniverInstanceType','blockMeta','ReCalcSheetsFilterMutation','hovered','_componentManager','jsx','updateDrawing','categorizeMutationRanges','highlightSecond','SetPivotSortMutation','linearGradient','React','IImageIoService','AddSheetSparklineMutation','fillStyle','translateY(-50%)','funnel-icon','UniverSheetsUIPlugin','highlightColumn','date','_lastLabel','editHistory.panel.cancel','RemoveSheetSparklineMutation','AddPivotTableMutation','rule','stop','SetFrozenMutation','2596055lwChcF','function','toString','/list?','isSheetHidden','0\x200\x2020\x2020','_getActiveSubUnitId','UniverSheetsTable','[HistoryFetchService]:\x20request\x20snapshot\x20error!','url(#paint0_linear_236_415)','flex','getSparklineById','now','changesets','arrowColumnRanges','keys','getSeconds','lineWidth','span','toDisposable','univer-size-4\x20univer-animate-spin','endRevision','map','arrowColumn','setSparkline','InsertColMutation','rgba(46,125,50,0.5)','_diffs','loadMoreVersions','getInterceptPoints','_injector','CreateUnitMutation','SetWorksheetPermissionPointsMutation','Exited','strokeStyle','Tooltip','onRendered','univer-size-4','editHistory.panel.confirm','width','SetPivotFilterMutation','lineTo','getTableInfo','createTime','openPanel$','setPivotPosition','more-right-icon','RemovePivotTableMutation','setTabColor','colorChannel1','editHistory.panel.revertDesc','_status$','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getMinutes','interceptor','createElement','UniverSheets','triggerCustomVersions','getFilterModel','univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','ObjectMatrix','none','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','_drawHorizontalArrow','18.1758','path','50%','getSheetObject','forValue','rgba(198,40,40,0.5)','setGridlinesColor','_renderDrawingHighlights','_removeDiffMarks','moveCols','parent','0.31','getViewport','4SLJTvr','entries','hide','onPointerEnter$','revision','IDrawingManagerService','idSuffix','updateFieldPosition','M9.18035\x202.34502C9.21605\x202.15386\x209.31749\x201.9812\x209.46709\x201.85695C9.6167\x201.7327\x209.80504\x201.66469\x209.99951\x201.66469C10.194\x201.66469\x2010.3823\x201.7327\x2010.5319\x201.85695C10.6815\x201.9812\x2010.783\x202.15386\x2010.8187\x202.34502L11.6945\x206.97669C11.7567\x207.30598\x2011.9167\x207.60887\x2012.1537\x207.84583C12.3907\x208.08279\x2012.6936\x208.24282\x2013.0228\x208.30502L17.6545\x209.18085C17.8457\x209.21656\x2018.0183\x209.318\x2018.1426\x209.4676C18.2668\x209.6172\x2018.3348\x209.80555\x2018.3348\x2010C18.3348\x2010.1945\x2018.2668\x2010.3828\x2018.1426\x2010.5324C18.0183\x2010.682\x2017.8457\x2010.7835\x2017.6545\x2010.8192L13.0228\x2011.695C12.6936\x2011.7572\x2012.3907\x2011.9172\x2012.1537\x2012.1542C11.9167\x2012.3912\x2011.7567\x2012.6941\x2011.6945\x2013.0234L10.8187\x2017.655C10.783\x2017.8462\x2010.6815\x2018.0188\x2010.5319\x2018.1431C10.3823\x2018.2673\x2010.194\x2018.3353\x209.99951\x2018.3353C9.80504\x2018.3353\x209.6167\x2018.2673\x209.46709\x2018.1431C9.31749\x2018.0188\x209.21605\x2017.8462\x209.18035\x2017.655L8.30451\x2013.0234C8.24231\x2012.6941\x208.08228\x2012.3912\x207.84532\x2012.1542C7.60836\x2011.9172\x207.30547\x2011.7572\x206.97618\x2011.695L2.34451\x2010.8192C2.15335\x2010.7835\x201.98069\x2010.682\x201.85645\x2010.5324C1.7322\x2010.3828\x201.66418\x2010.1945\x201.66418\x2010C1.66418\x209.80555\x201.7322\x209.6172\x201.85645\x209.4676C1.98069\x209.318\x202.15335\x209.21656\x202.34451\x209.18085L6.97618\x208.30502C7.30547\x208.24282\x207.60836\x208.08279\x207.84532\x207.84583C8.08228\x207.60887\x208.24231\x207.30598\x208.30451\x206.97669L9.18035\x202.34502Z','rgba(','insertBorderRanges','0\x200\x2016\x2016','max','arrowRow','DeleteWorksheetProtectionMutation','RemoveWorksheetMergeMutation','_extractRanges','stopPropagation','loading-multi-icon','highlightRow','toggleGridlines','display','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','RemoveRowMutation',',\x200.2)','executeCommand','_registerHeader','getDialogs$','switchMap','confirm-revert-revision','SetColDataMutation','_detailVersionsMap','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','univer-h-[60%]','forwardRef','justifyContent','endRow','InsertSheetsChartMutation','renameSheet','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-flex\x20univer-h-[calc(100%-32px)]\x20univer-w-[calc(100%-16px)]\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-overflow-auto\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_highlightSecond','ICommandService','moveCF','_combineRanges','_createUnit','updatePivotFieldSource','loadSheet','concat','univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','_drawingDiffs','edit-history-viewer.config','showRow','_drawingManagerService','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','deleteDrawings','getUnitOnRev','insertCol','evented','LocaleType','save','unitId','decorate','subType','_openPanel$','getSelectedVersionCanRevert','SHEET_VIEWPORT_KEY','univer-text-sm','absolute','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-50\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x20univer-text-xs\x20univer-font-semibold\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','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','pivotTableId','SheetSkeletonManagerService','RenamePivotFieldMutation','IMessageService','div','MoveSheet','reorderSheet','_historyFetchService','getDrawingByParam','moveRange','UniverDataValidation','IUniverInstanceService','name','UniverProSheetsPivot','prototype',':\x20(','univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','renamePivotField','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','RANGE_TYPE','insertDrawings','updateShapeType','30px','parseProtocolChangeset','recoverTime','Fragment','UniverSheetsFilter','UniverProCollaboration','transparent','AddConditionalRuleMutation','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-1/2\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','editSheet','setColData','userID','parseInt','univer-text-xs\x20univer-text-gray-400','registerRenderModule','ghost','_drawVerticalArrow','ConditionalFormattingRuleModel','clearTimeout','_unitId$','userId','1px','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-xs\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','subUnitIds','tableId','rowHeaderWidth','beginPath','editHistory.panel.revertConfirm','univer-flex\x20univer-items-center\x20univer-justify-center','getSelectedVersionIsCurrentVersion','ChartUpdateConfigMutation','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','setPivotOption','get','error','univer-ml-1\x20univer-flex\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','endDateString','reorderRange','deleteProtection','Loaded','getCurrentUnitForType','insertBorder','VIRTUAL_VERSION_NOW','values','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','IUIPartsService','disposeWithMe','editHistory.panel.listFetchError','url(#$1','SheetsFilterService','UniverEditHistoryViewerPlugin','jsxs','DrawingApplyType','copySheet','_uiPartsService','2110779LGZewJ','ErrorCode','ruleIds','_getLighterColor','CONTENT','removePivotField','_setVersions','AddWorksheetProtectionMutation','useCallback','setWorksheetRangeTheme','generateDiffMarks','constructor','anonymous','syncExecuteCommand','link','has','lastLabel','SetWorksheetProtectionMutation','univer-size-8\x20univer-text-gray-400','9ooluyP','updateBorder','_dataValidationModel','_sheetPermissionInitController','_init','packageName','User','_name','sparklineConfigMap','setColCount','_dialogOptions$','67914wJBbsU','setTableFilter','1000','insert','_sheetTableService','attrs','viewportScrollX','_blinkTimer','_configService','AddPivotFieldMutation','_highlight','cfId','_createMask','revertSheet','renameWorkbook','cellValue','UniverNetwork','triggerRevert','deleteBorder','insertRow','univer-flex-1','AddRangeThemeMutation','_labelPosition','next','SheetDataValidationModel','body','trim','arrowRowRanges','UniverSheetsDataValidation','groupIds','getSheetId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','userIds','triggerDblclick','scroll','historyPanelComponentKey','permissionPointUpdate$','Inject','disposeUnit','editHistory.panel.title','setConfig','SetRowHiddenMutation','_sheetSkeletonManagerService','getCoordByCell','Checkbox','find','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-py-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','UpdateSheetsShapeDataMutation','deleteRangeProtection','FromArray','moveTo','endRevCreateTime','Unspecified','set','getElementById','exited','UnitAction','getMutationActionMap','asObservable','action','addSparkline','horizontal','rowData','_univerInstanceService','setNumfmt','setPivotFilter','debounce','drawingId','getMember','versions$','COMPRESS_MUTATION_APPLY','showMask','active','ICellEditorManagerService','fill','button','restore-icon_clip0_1247_2','getVpScrollXYInfoByPosToVp','UpdateFieldPositionMutation','highlight','_showText','current','setRangeProtection','Info','allRanges','restore','hideMask','fetching$','editHistory.panel.filterCollaboratorConfirm','UniverSheetsDrawing','paint0_linear_236_415','setCF','drawingIds','useObservable','add','_permissionService','rev','value','UniverDrawing','UniverSheetsUi','assign','isError','shapeId','hidden','vertical','status$','Disposable','className','setPivotSubtotalType','_categorizeMutationRanges','useDependency','editHistory.panel.filterCollaboratorCancel','time','getMatrix','insertCellRanges','showText','InsertSheetsShapeMutation','AddSheetTableMutation','getConfig','1.66418','length','register','code','_currentVersionDiff$','loadInitialVersions','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-shrink-0\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-py-0.5\x20univer-text-xs\x20univer-text-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','top','ChartUpdateSourceConfigMutation','editHistory.panel.revertConfirmText','_updateVersions','editHistory.action.removeDrawing','amd','startRevCreateTime','RemoveSheetMutation','SetWorksheetColWidthMutation','triggerLoadSheet','UniverProEditHistoryViewer','editHistory.panel.filterAi','objects','onSteady','string','UniverCore','_httpService','_handleOverlappingShapes','middle','1em','setColWidth','all','0.21.0','loaded','M1\x203.87476C1\x204.97933\x201.89543\x205.87476\x203\x205.87476L3\x207.67383C3\x208.7784\x203.89543\x209.67383\x205\x209.67383H5.5V13.5252C5.5\x2014.4089\x206.21634\x2015.1252\x207.1\x2015.1252H8.9C9.78366\x2015.1252\x2010.5\x2014.4089\x2010.5\x2013.5252V9.67383H11C12.1046\x209.67383\x2013\x208.7784\x2013\x207.67383V5.87476C14.1046\x205.87476\x2015\x204.97933\x2015\x203.87476V2.87476C15\x201.77019\x2014.1046\x200.874756\x2013\x200.874756H3C1.89543\x200.874756\x201\x201.77019\x201\x202.87476V3.87476ZM13\x202.07476H3C2.55817\x202.07476\x202.2\x202.43293\x202.2\x202.87476V3.87476C2.2\x204.31658\x202.55817\x204.67476\x203\x204.67476L13\x204.67383C13.4418\x204.67383\x2013.8\x204.31658\x2013.8\x203.87476V2.87476C13.8\x202.43293\x2013.4418\x202.07476\x2013\x202.07476ZM4.2\x207.67383V5.87476H11.8V7.67383C11.8\x208.11566\x2011.4418\x208.47383\x2011\x208.47383H5C4.55817\x208.47383\x204.2\x208.11566\x204.2\x207.67383ZM6.7\x209.67437H9.3V13.5252C9.3\x2013.7462\x209.12091\x2013.9252\x208.9\x2013.9252H7.1C6.87909\x2013.9252\x206.7\x2013.7462\x206.7\x2013.5252V9.67437Z','_messageService','style','_maskElement','flat','univer-rounded-xs\x20univer-h-6\x20univer-cursor-pointer\x20univer-p-1\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','removeDiffMarks','_historyManagerService','UniverNetworkPlugin','sourceRange','loadingState','removeRangeTheme','SheetsPivotTableConfigModel','registerDetailVersion','updateShapeData','HTTPService','setPivotCollapse','toISOString','SetRangeThemeMutation','SheetCollabCursorShape','_hasMore','_setFetching','delete','_creators$','updateCellRanges','IDialogService','DependentOn','updateBorderRanges','_scrollToShape','0.01','HistoryManagerService','_sheetsFilterService','workbook','position','HistoryModeStatus','unknownUser','_rangeProtectionRuleModel','842HEMEbO','_color','Vector2','InsertSheetMutation','transformSnapshotToWorkbookData','editHistory.action.revertSheetPrefix','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-end\x20univer-gap-2\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_initPanel','_getSheetObject','_versions$','SetTabColorMutation','subscribe','rgba(225,\x20225,\x20225,\x200.5)','Segmented','params','pluginName','startRev','primary','editHistory.action.etc','sheetId','_config','use','some','append','moveRows','chartId','dispose','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','SetWorksheetHideMutation','type','#2793FF','_renderManagerService','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','SetSheetTableFilterMutation','back-icon','makeDirty','AddRangeProtectionMutation','forEach','labelPosition','rgba(21,101,192,0.5)','301BVtzwc','setPivotFieldFormat','unmergeCells','then','SetGridlinesColorMutation','getPivotTableRangeInfo','push','MessageType','transformByState','InsertRowMutation','_versionDiffService','command','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','getDataRange','AddDataValidationMutation','RemoveDataValidationMutation','MoveColsMutation','revertRevision$','getVersion','_canRevert','SetRangeValuesMutation','_localeService','height','editHistory.panel.unknownUser','rgba','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','isArray','_confirmService','labelKey','removeDV','_loadingState$','MoveRangeMutation','Character','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-10\x20univer-flex\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-justify-end\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','tag','SetWorksheetRowCountMutation','update','userSpaceOnUse','RangeMergeUtil','join','updateDrawings','setFilterCriteria','split','viewportScrollY','SetRangeProtectionMutation','MoveConditionalRuleMutation','setProtection','CollaborationImageIoService','Init','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','hideCol','updateTable','UniverProCollaborationClientUi','measureText','deleteBorderRanges','historyAIassistantEnabled','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-950\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','UpdateValuePositionMutation','RemovePivotFieldMutation','Injector','xlink:href','recalcFilter','ROW','UniverEditHistoryViewerMobilePlugin','univer-size-4\x20univer-shrink-0','open','mask','slice'];_0x3bbe=function(){return _0x101a7e;};return _0x3bbe();}function _0xc05f(_0x3048fe,_0x15a201){_0x3048fe=_0x3048fe-0x1d0;const _0x3bbe3f=_0x3bbe();let _0xc05f38=_0x3bbe3f[_0x3048fe];return _0xc05f38;}(function(_0x47d8b3,_0x15e083){const _0x441bb2=_0xc05f,_0x5cb080=_0x47d8b3();while(!![]){try{const _0x5c5411=parseInt(_0x441bb2(0x4ff))/0x1*(parseInt(_0x441bb2(0x374))/0x2)+-parseInt(_0x441bb2(0x2b9))/0x3*(parseInt(_0x441bb2(0x208))/0x4)+-parseInt(_0x441bb2(0x564))/0x5+-parseInt(_0x441bb2(0x4b8))/0x6+-parseInt(_0x441bb2(0x39c))/0x7*(-parseInt(_0x441bb2(0x435))/0x8)+-parseInt(_0x441bb2(0x2ae))/0x9*(-parseInt(_0x441bb2(0x40b))/0xa)+-parseInt(_0x441bb2(0x29b))/0xb;if(_0x5c5411===_0x15e083)break;else _0x5cb080['push'](_0x5cb080['shift']());}catch(_0x18968f){_0x5cb080['push'](_0x5cb080['shift']());}}}(_0x3bbe,0x49319),function(_0x5b9645,_0x49f527){const _0x20f553=_0xc05f;typeof exports==_0x20f553(0x43d)&&typeof module<'u'?_0x49f527(exports,require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core`),require(`@univerjs/drawing`),require(`@univerjs/engine-render`),require(`@univerjs/sheets`),require(`@univerjs/sheets-ui`),require(`rxjs`),require(`@univerjs/design`),require(`@univerjs/ui`),require(`@univerjs-pro/collaboration`),require(`@univerjs-pro/sheets-chart`),require(`@univerjs-pro/sheets-pivot`),require(`@univerjs-pro/sheets-shape`),require(`@univerjs-pro/sheets-sparkline`),require(`@univerjs/data-validation`),require(`@univerjs/sheets-conditional-formatting`),require(`@univerjs/sheets-drawing`),require(`@univerjs/sheets-filter`),require(`@univerjs/sheets-table`),require(`@univerjs/network`),require(`@univerjs/protocol`),require(`@univerjs/sheets-data-validation`),require(`@univerjs-pro/collaboration-client`),require(`react`),require(`react/jsx-runtime`)):typeof define==_0x20f553(0x565)&&define[_0x20f553(0x33c)]?define(_0x20f553(0x544)[_0x20f553(0x3c6)]('.'),_0x49f527):(_0x5b9645=typeof globalThis<'u'?globalThis:_0x5b9645||self,_0x49f527(_0x5b9645[_0x20f553(0x341)]={},_0x5b9645[_0x20f553(0x3d0)],_0x5b9645[_0x20f553(0x346)],_0x5b9645[_0x20f553(0x31b)],_0x5b9645[_0x20f553(0x531)],_0x5b9645[_0x20f553(0x1f3)],_0x5b9645[_0x20f553(0x31c)],_0x5b9645['rxjs'],_0x5b9645[_0x20f553(0x4bc)],_0x5b9645['UniverUi'],_0x5b9645[_0x20f553(0x269)],_0x5b9645[_0x20f553(0x493)],_0x5b9645[_0x20f553(0x25b)],_0x5b9645['UniverProSheetsShape'],_0x5b9645['UniverProSheetsSparkline'],_0x5b9645[_0x20f553(0x258)],_0x5b9645[_0x20f553(0x4ea)],_0x5b9645[_0x20f553(0x312)],_0x5b9645[_0x20f553(0x268)],_0x5b9645[_0x20f553(0x56b)],_0x5b9645[_0x20f553(0x2c9)],_0x5b9645[_0x20f553(0x3e7)],_0x5b9645[_0x20f553(0x2d5)],_0x5b9645['UniverProCollaborationClient'],_0x5b9645[_0x20f553(0x554)],_0x5b9645[_0x20f553(0x554)]));}(this,function(_0x53bb1f,_0x5aadf8,_0x1249e8,_0x8cd3e6,_0x4a53b9,_0x1b4633,_0x4bed25,_0x43cd5a,_0x13eba3,_0x577c26,_0x2550be,_0x563273,_0xde9a52,_0x5ba16e,_0x35dc1e,_0xc19dd2,_0x536eef,_0x6b353d,_0x4a9e0b,_0x1d08d2,_0x4b9277,_0x94dd27,_0x5e4e88,_0x127e6b,_0x476712,_0x1168cc){const _0x3f4fc0=_0xc05f;Object['defineProperty'](_0x53bb1f,Symbol['toStringTag'],{'value':'Module'});function _0x205fa5(_0x390c17=_0x3f4fc0(0x53d)){const _0x2ced0f=_0x3f4fc0;return{'collaboration':[{'id':_0x2550be[_0x2ced0f(0x1da)]['id'],'action':_0x390c17+_0x2ced0f(0x4ec)},{'id':_0x2550be[_0x2ced0f(0x4b3)]['id'],'action':_0x390c17+_0x2ced0f(0x2c6)}],'sheets':[{'id':_0x1b4633['InsertSheetMutation']['id'],'action':_0x390c17+'insertSheet'},{'id':_0x1b4633[_0x2ced0f(0x33e)]['id'],'action':_0x390c17+_0x2ced0f(0x486)},{'id':_0x1b4633[_0x2ced0f(0x47a)]['id'],'action':_0x390c17+_0x2ced0f(0x22e)},{'id':_0x1b4633['SetWorksheetOrderMutation']['id'],'action':_0x390c17+_0x2ced0f(0x254)},{'id':_0x1b4633[_0x2ced0f(0x390)]['id'],'action':_0x390c17+'hideSheet'},{'id':_0x1b4633[_0x2ced0f(0x408)]['id'],'action':_0x390c17+_0x2ced0f(0x299)},{'id':_0x1b4633[_0x2ced0f(0x37e)]['id'],'action':_0x390c17+_0x2ced0f(0x1eb)},{'id':_0x1b4633[_0x2ced0f(0x4db)]['id'],'action':_0x390c17+_0x2ced0f(0x2c7)},{'id':_0x1b4633[_0x2ced0f(0x3a5)]['id'],'action':_0x390c17+_0x2ced0f(0x2cc)},{'id':_0x1b4633['InsertColMutation']['id'],'action':_0x390c17+_0x2ced0f(0x240)},{'id':_0x1b4633[_0x2ced0f(0x21f)]['id'],'action':_0x390c17+'removeRow'},{'id':_0x1b4633[_0x2ced0f(0x41d)]['id'],'action':_0x390c17+'removeCol'},{'id':_0x1b4633['MoveRowsMutation']['id'],'action':_0x390c17+_0x2ced0f(0x38c)},{'id':_0x1b4633['MoveColsMutation']['id'],'action':_0x390c17+_0x2ced0f(0x204)},{'id':_0x1b4633[_0x2ced0f(0x3f0)]['id'],'action':_0x390c17+_0x2ced0f(0x23b)},{'id':_0x1b4633[_0x2ced0f(0x2e2)]['id'],'action':_0x390c17+'hideRow'},{'id':_0x1b4633['SetColVisibleMutation']['id'],'action':_0x390c17+'showCol'},{'id':_0x1b4633[_0x2ced0f(0x44f)]['id'],'action':_0x390c17+_0x2ced0f(0x3ce)},{'id':_0x1b4633[_0x2ced0f(0x439)]['id'],'action':_0x390c17+'setRowHeight'},{'id':_0x1b4633[_0x2ced0f(0x33f)]['id'],'action':_0x390c17+_0x2ced0f(0x34b)},{'id':_0x1b4633['SetWorksheetRowAutoHeightMutation']['id'],'action':_0x390c17+_0x2ced0f(0x4b2)},{'id':_0x1b4633[_0x2ced0f(0x4a3)]['id'],'action':_0x390c17+_0x2ced0f(0x4f0)},{'id':_0x1b4633['SetRowDataMutation']['id'],'action':_0x390c17+_0x2ced0f(0x48c)},{'id':_0x1b4633[_0x2ced0f(0x226)]['id'],'action':_0x390c17+_0x2ced0f(0x26e)},{'id':_0x1b4633[_0x2ced0f(0x3bf)]['id'],'action':_0x390c17+'setRowCount'},{'id':_0x1b4633[_0x2ced0f(0x405)]['id'],'action':_0x390c17+_0x2ced0f(0x2b7)},{'id':_0x1b4633['SetRangeValuesMutation']['id'],'action':_0x390c17+_0x2ced0f(0x474)},{'id':_0x1b4633[_0x2ced0f(0x3bb)]['id'],'action':_0x390c17+_0x2ced0f(0x257)},{'id':_0x1b4633[_0x2ced0f(0x3e5)]['id'],'action':_0x390c17+_0x2ced0f(0x289)},{'id':_0x1b4633[_0x2ced0f(0x443)]['id'],'action':_0x390c17+'mergeCells'},{'id':_0x1b4633[_0x2ced0f(0x217)]['id'],'action':_0x390c17+_0x2ced0f(0x39e)},{'id':_0x1b4633[_0x2ced0f(0x563)]['id'],'action':_0x390c17+'setFrozen'},{'id':_0x1b4633['ToggleGridlinesMutation']['id'],'action':_0x390c17+_0x2ced0f(0x21c)},{'id':_0x1b4633[_0x2ced0f(0x3a0)]['id'],'action':_0x390c17+_0x2ced0f(0x201)},{'id':_0x1b4633[_0x2ced0f(0x547)]['id'],'action':_0x390c17+_0x2ced0f(0x47e)},{'id':_0x1b4633[_0x2ced0f(0x522)]['id'],'action':_0x390c17+_0x2ced0f(0x533)},{'id':_0x1b4633[_0x2ced0f(0x2a2)]['id'],'action':_0x390c17+_0x2ced0f(0x3ee)},{'id':_0x1b4633[_0x2ced0f(0x2ac)]['id'],'action':_0x390c17+_0x2ced0f(0x3ca)},{'id':_0x1b4633[_0x2ced0f(0x216)]['id'],'action':_0x390c17+_0x2ced0f(0x28a)},{'id':_0x1b4633[_0x2ced0f(0x398)]['id'],'action':_0x390c17+'addRangeProtection'},{'id':_0x1b4633[_0x2ced0f(0x3c8)]['id'],'action':_0x390c17+'setRangeProtection'},{'id':_0x1b4633[_0x2ced0f(0x4d2)]['id'],'action':_0x390c17+_0x2ced0f(0x2e9)},{'id':_0x1b4633[_0x2ced0f(0x1db)]['id'],'action':_0x390c17+_0x2ced0f(0x4c8)},{'id':_0x1b4633[_0x2ced0f(0x446)]['id'],'action':_0x390c17+_0x2ced0f(0x2f9)},{'id':_0x1b4633[_0x2ced0f(0x49f)]['id'],'action':_0x390c17+_0x2ced0f(0x445)},{'id':_0x1b4633[_0x2ced0f(0x2ce)]['id'],'action':_0x390c17+_0x2ced0f(0x4e9)},{'id':_0x1b4633[_0x2ced0f(0x361)]['id'],'action':_0x390c17+'setRangeTheme'},{'id':_0x1b4633['RemoveRangeThemeMutation']['id'],'action':_0x390c17+_0x2ced0f(0x35a)},{'id':_0x1b4633[_0x2ced0f(0x428)]['id'],'action':_0x390c17+'setWorksheetRangeTheme'},{'id':_0x1b4633['DeleteWorksheetRangeThemeStyleMutation']['id'],'action':_0x390c17+'deleteWorksheetRangeTheme'}],'sheetsConditionalFormatting':[{'id':_0x536eef[_0x2ced0f(0x26b)]['id'],'action':_0x390c17+'setCF'},{'id':_0x536eef[_0x2ced0f(0x3e6)]['id'],'action':_0x390c17+_0x2ced0f(0x314)},{'id':_0x536eef[_0x2ced0f(0x477)]['id'],'action':_0x390c17+_0x2ced0f(0x41e)},{'id':_0x536eef[_0x2ced0f(0x3c9)]['id'],'action':_0x390c17+_0x2ced0f(0x232)}],'sheetsFilter':[{'id':_0x4a9e0b[_0x2ced0f(0x4cc)]['id'],'action':_0x390c17+_0x2ced0f(0x4fa)},{'id':_0x4a9e0b[_0x2ced0f(0x519)]['id'],'action':_0x390c17+_0x2ced0f(0x3c5)},{'id':_0x4a9e0b[_0x2ced0f(0x4c7)]['id'],'action':_0x390c17+_0x2ced0f(0x543)},{'id':_0x4a9e0b['ReCalcSheetsFilterMutation']['id'],'action':_0x390c17+_0x2ced0f(0x3d9)}],'dataValidation':[{'id':_0xc19dd2[_0x2ced0f(0x3aa)]['id'],'action':_0x390c17+'setDV'},{'id':_0xc19dd2[_0x2ced0f(0x44a)]['id'],'action':_0x390c17+_0x2ced0f(0x540)},{'id':_0xc19dd2[_0x2ced0f(0x3ab)]['id'],'action':_0x390c17+'removeDV'}],'sheetsChart':[{'id':_0x563273['InsertSheetsChartMutation']['id'],'action':_0x390c17+_0x2ced0f(0x454)},{'id':_0x563273['RemoveSheetsChartMutation']['id'],'action':_0x390c17+_0x2ced0f(0x438)},{'id':_0x563273[_0x2ced0f(0x282)]['id'],'action':_0x390c17+_0x2ced0f(0x51a)},{'id':_0x563273[_0x2ced0f(0x338)]['id'],'action':_0x390c17+_0x2ced0f(0x465)}],'sheetsSparkline':[{'id':_0x35dc1e[_0x2ced0f(0x556)]['id'],'action':_0x390c17+'addSparkline'},{'id':_0x35dc1e['SetSheetSparklineMutation']['id'],'action':_0x390c17+_0x2ced0f(0x1d3)},{'id':_0x35dc1e[_0x2ced0f(0x55f)]['id'],'action':_0x390c17+_0x2ced0f(0x457)}],'sheetsPivot':[{'id':_0xde9a52[_0x2ced0f(0x560)]['id'],'action':_0x390c17+_0x2ced0f(0x515)},{'id':_0xde9a52['RemovePivotTableMutation']['id'],'action':_0x390c17+'removePivotTable'},{'id':_0xde9a52['SetPivotOptionMutation']['id'],'action':_0x390c17+_0x2ced0f(0x284)},{'id':_0xde9a52[_0x2ced0f(0x4e2)]['id'],'action':_0x390c17+_0x2ced0f(0x1e8)},{'id':_0xde9a52[_0x2ced0f(0x3f6)]['id'],'action':_0x390c17+'updatePivotSource'},{'id':_0xde9a52[_0x2ced0f(0x2c2)]['id'],'action':_0x390c17+_0x2ced0f(0x508)},{'id':_0xde9a52['RemovePivotFieldMutation']['id'],'action':_0x390c17+_0x2ced0f(0x2a0)},{'id':_0xde9a52[_0x2ced0f(0x250)]['id'],'action':_0x390c17+_0x2ced0f(0x25f)},{'id':_0xde9a52[_0x2ced0f(0x307)]['id'],'action':_0x390c17+_0x2ced0f(0x20f)},{'id':_0xde9a52['UpdateValuePositionMutation']['id'],'action':_0x390c17+_0x2ced0f(0x40a)},{'id':_0xde9a52['UpdatePivotFieldSourceInfoMutation']['id'],'action':_0x390c17+_0x2ced0f(0x235)},{'id':_0xde9a52[_0x2ced0f(0x4ac)]['id'],'action':_0x390c17+_0x2ced0f(0x39d)},{'id':_0xde9a52[_0x2ced0f(0x1e3)]['id'],'action':_0x390c17+_0x2ced0f(0x2fa)},{'id':_0xde9a52[_0x2ced0f(0x518)]['id'],'action':_0x390c17+'setPivotValueFilter'},{'id':_0xde9a52['SetPivotSortMutation']['id'],'action':_0x390c17+'setPivotSort'},{'id':_0xde9a52[_0x2ced0f(0x4f2)]['id'],'action':_0x390c17+_0x2ced0f(0x35f)},{'id':_0xde9a52[_0x2ced0f(0x530)]['id'],'action':_0x390c17+'setPivotSubtotalType'}],'sheetsShape':[{'id':_0x5ba16e[_0x2ced0f(0x32d)]['id'],'action':_0x390c17+_0x2ced0f(0x3f4)},{'id':_0x5ba16e['RemoveSheetsShapeMutation']['id'],'action':_0x390c17+'removeShape'},{'id':_0x5ba16e[_0x2ced0f(0x2e8)]['id'],'action':_0x390c17+_0x2ced0f(0x35d)},{'id':_0x5ba16e['UpdateSheetsShapeTypeMutation']['id'],'action':_0x390c17+_0x2ced0f(0x263)}],'sheetsTable':[{'id':_0x1d08d2[_0x2ced0f(0x32e)]['id'],'action':_0x390c17+_0x2ced0f(0x514)},{'id':_0x1d08d2[_0x2ced0f(0x487)]['id'],'action':_0x390c17+_0x2ced0f(0x458)},{'id':_0x1d08d2['SetSheetTableMutation']['id'],'action':_0x390c17+_0x2ced0f(0x3cf)},{'id':_0x1d08d2[_0x2ced0f(0x395)]['id'],'action':_0x390c17+_0x2ced0f(0x2ba)}],'sheetsDrawing':[{'id':_0x6b353d[_0x2ced0f(0x467)]['id'],'action':_0x390c17+_0x2ced0f(0x54f)}]};}function _0x52287b(_0x17a8d6=_0x3f4fc0(0x53d)){const _0x3c9956=_0x3f4fc0;let _0x30b132=_0x205fa5(_0x17a8d6);return Object['values'](_0x30b132)[_0x3c9956(0x353)]();}let _0x226af0=(_0x5290ce,_0x42df74)=>{const _0x5a9a67=_0x3f4fc0;if(!_0x5290ce)return{'date':'','time':''};let _0x5e53af=new Date(_0x5290ce),_0x558dd8=_0x5e53af[_0x5a9a67(0x360)]()[_0x5a9a67(0x3c6)]('T')[0x0];switch(_0x42df74){case _0x1249e8[_0x5a9a67(0x242)]['ZH_CN']:return{'date':_0x1e7c4c(_0x558dd8,_0x42df74),'time':_0x5e53af['getHours']()+':'+String(_0x5e53af[_0x5a9a67(0x1f0)]())[_0x5a9a67(0x4d6)](0x2,'0')+':'+String(_0x5e53af[_0x5a9a67(0x574)]())['padStart'](0x2,'0')};default:return{'date':_0x1e7c4c(_0x558dd8,_0x42df74),'time':_0x5e53af[_0x5a9a67(0x488)]()+':'+_0x5e53af[_0x5a9a67(0x1f0)]()+':'+_0x5e53af[_0x5a9a67(0x574)]()};}},_0xbaedfa=(_0x18abec,_0x174cf1)=>{const _0x220eab=_0x3f4fc0;if(_0x18abec['commands'][_0x220eab(0x38a)](_0x2144ba=>_0x2144ba===_0x2550be[_0x220eab(0x4b3)]['id'])&&_0x18abec[_0x220eab(0x266)]){let _0x567bc0=_0x226af0(_0x18abec[_0x220eab(0x266)],_0x174cf1[_0x220eab(0x468)]()),_0x2a91fd=_0x567bc0['date']+'\x20'+_0x567bc0[_0x220eab(0x329)];return _0x174cf1['t'](_0x220eab(0x379))+'\x20'+_0x2a91fd+'\x20'+_0x174cf1['t'](_0x220eab(0x414));}let _0x5ac7ac=_0x3c1fbb(_0x18abec),_0x1ddf1e=Array[_0x220eab(0x422)](new Set(_0x5ac7ac)),_0xec7597;if(_0x1ddf1e[_0x220eab(0x331)]===0x1)_0xec7597=_0x174cf1['t'](_0x1ddf1e[0x0]);else{let _0x3c58b8=_0x1ddf1e['slice'](0x0,0x5)['map'](_0xd7e46f=>_0x174cf1['t'](_0xd7e46f))['join'](',\x20');_0xec7597=_0x1ddf1e[_0x220eab(0x331)]>0x5?''+_0x3c58b8+_0x174cf1['t'](_0x220eab(0x386)):_0x3c58b8;}return''+_0xec7597;};function _0x3c1fbb(_0x261794){const _0xf20f51=_0x3f4fc0;if(_0x261794[_0xf20f51(0x497)][_0xf20f51(0x331)]===0x0)return[''];let _0x18836f='editHistory.action.',_0x4d209b=_0x18836f+_0xf20f51(0x26d),_0x254a26=_0x52287b(_0x18836f)[_0xf20f51(0x48f)](_0x4a77ce=>_0x261794[_0xf20f51(0x497)][_0xf20f51(0x461)](_0x4a77ce['id']));return _0x254a26!=null&&_0x254a26[_0xf20f51(0x331)]?_0x254a26[_0xf20f51(0x1d1)](_0x3b4fe1=>_0x3b4fe1[_0xf20f51(0x2f4)]):[_0x4d209b];}function _0x1e7c4c(_0x26fc8d,_0x1d7d12){const _0x4f4a1e=_0x3f4fc0;let [_0x5ceb86,_0x1198ec,_0x6ceaf9]=new Date()[_0x4f4a1e(0x360)]()['split']('T')[0x0][_0x4f4a1e(0x3c6)]('-'),[_0x1571c1,_0x22cfe6,_0x529365]=_0x26fc8d[_0x4f4a1e(0x3c6)]('-'),_0x3aed6e=_0x5ceb86===_0x1571c1&&_0x1198ec===_0x22cfe6&&_0x6ceaf9===_0x529365,_0x496abd='',_0x4a84d0='',_0x2bf092='';switch(_0x1d7d12){case _0x1249e8[_0x4f4a1e(0x242)]['ZH_CN']:return _0x3aed6e?'今天':(_0x496abd=_0x5ceb86===_0x1571c1?'':_0x1571c1+'年',_0x4a84d0=_0x22cfe6+'月',_0x2bf092=_0x529365+'日',''+_0x496abd+_0x4a84d0+_0x2bf092);default:return _0x3aed6e?_0x4f4a1e(0x45c):(_0x496abd=_0x5ceb86===_0x1571c1?'':_0x1571c1+'-',_0x4a84d0=_0x22cfe6+'-',_0x2bf092=''+_0x529365,''+_0x496abd+_0x4a84d0+_0x2bf092);}}function _0x5cd3cd(_0x3c69ba){const _0xd669f3=_0x3f4fc0;return _0x3c69ba?_0x3c69ba[_0xd669f3(0x46c)]((_0x59a1da,_0x828350)=>{const _0x502559=_0xd669f3;let _0x5661a9=new Date(_0x828350[_0x502559(0x329)])[_0x502559(0x360)]()[_0x502559(0x3c6)]('T')[0x0],_0x10265d=_0x828350[_0x502559(0x33d)]?new Date(_0x828350[_0x502559(0x33d)])[_0x502559(0x360)]()['split']('T')[0x0]:_0x5661a9,_0xb79df9=_0x828350['endRevCreateTime']?new Date(_0x828350[_0x502559(0x2ec)])[_0x502559(0x360)]()[_0x502559(0x3c6)]('T')[0x0]:_0x5661a9;return _0x59a1da[_0x502559(0x331)]>0x0&&_0x59a1da[_0x59a1da[_0x502559(0x331)]-0x1][_0x502559(0x4f7)]===_0x10265d?_0x59a1da[_0x59a1da[_0x502559(0x331)]-0x1]['versions']['push'](_0x828350):_0x59a1da[_0x502559(0x3a2)]({'dateString':_0x5661a9,'startDateString':_0x10265d,'endDateString':_0xb79df9,'versions':[_0x828350]}),_0x59a1da;},[]):[];}let _0x6e4ebd=_0x3f4fc0(0x23a);Symbol(_0x6e4ebd);let _0x16fd6c={};function _0x271acf(_0x53d784){'@babel/helpers - typeof';const _0xa926d=_0x3f4fc0;return _0x271acf=typeof Symbol=='function'&&typeof Symbol[_0xa926d(0x455)]==_0xa926d(0x52f)?function(_0x209cb2){return typeof _0x209cb2;}:function(_0x47050a){const _0x4f24f0=_0xa926d;return _0x47050a&&typeof Symbol==_0x4f24f0(0x565)&&_0x47050a[_0x4f24f0(0x2a6)]===Symbol&&_0x47050a!==Symbol[_0x4f24f0(0x25c)]?_0x4f24f0(0x52f):typeof _0x47050a;},_0x271acf(_0x53d784);}function _0x375b78(_0x50bd0b,_0x2b3d95){const _0x2eed0c=_0x3f4fc0;if(_0x271acf(_0x50bd0b)!=_0x2eed0c(0x43d)||!_0x50bd0b)return _0x50bd0b;var _0x7c2f44=_0x50bd0b[Symbol['toPrimitive']];if(_0x7c2f44!==void 0x0){var _0x68eea5=_0x7c2f44[_0x2eed0c(0x3ed)](_0x50bd0b,_0x2b3d95||_0x2eed0c(0x4e0));if(_0x271acf(_0x68eea5)!=_0x2eed0c(0x43d))return _0x68eea5;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2b3d95===_0x2eed0c(0x345)?String:Number)(_0x50bd0b);}function _0x4c3031(_0x31b4b5){const _0x4f8dd5=_0x3f4fc0;var _0x35cb92=_0x375b78(_0x31b4b5,_0x4f8dd5(0x345));return _0x271acf(_0x35cb92)==_0x4f8dd5(0x52f)?_0x35cb92:_0x35cb92+'';}function _0x2a49f8(_0x4ba6ec,_0x3704ad,_0x1b165f){return(_0x3704ad=_0x4c3031(_0x3704ad))in _0x4ba6ec?Object['defineProperty'](_0x4ba6ec,_0x3704ad,{'value':_0x1b165f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4ba6ec[_0x3704ad]=_0x1b165f,_0x4ba6ec;}function _0x24cc5e(_0x1c75f3,_0x18fed2){return function(_0x533486,_0xe9bd22){_0x18fed2(_0x533486,_0xe9bd22,_0x1c75f3);};}function _0x45b447(_0x141c14,_0x43633e,_0x45e268,_0x274de7){const _0x37f9e0=_0x3f4fc0;var _0x395ef9=arguments['length'],_0x3d6169=_0x395ef9<0x3?_0x43633e:_0x274de7===null?_0x274de7=Object['getOwnPropertyDescriptor'](_0x43633e,_0x45e268):_0x274de7,_0x27f76c;if(typeof Reflect==_0x37f9e0(0x43d)&&typeof Reflect[_0x37f9e0(0x245)]==_0x37f9e0(0x565))_0x3d6169=Reflect['decorate'](_0x141c14,_0x43633e,_0x45e268,_0x274de7);else{for(var _0x1d8138=_0x141c14['length']-0x1;_0x1d8138>=0x0;_0x1d8138--)(_0x27f76c=_0x141c14[_0x1d8138])&&(_0x3d6169=(_0x395ef9<0x3?_0x27f76c(_0x3d6169):_0x395ef9>0x3?_0x27f76c(_0x43633e,_0x45e268,_0x3d6169):_0x27f76c(_0x43633e,_0x45e268))||_0x3d6169);}return _0x395ef9>0x3&&_0x3d6169&&Object[_0x37f9e0(0x4b6)](_0x43633e,_0x45e268,_0x3d6169),_0x3d6169;}let _0x4ec3c4=function(_0x612c0e){const _0x471bc1=_0x3f4fc0;return _0x612c0e[_0x612c0e['Unspecified']=0x0]=_0x471bc1(0x2ed),_0x612c0e[_0x612c0e[_0x471bc1(0x2b4)]=0x1]='User',_0x612c0e[_0x612c0e[_0x471bc1(0x3bc)]=0x2]='Character',_0x612c0e;}({}),_0x483938=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x3f05a6,_0x1c7ec7,_0x183d57,_0x598a4c,_0x150d40,_0x373317,_0x3f0816){const _0x88b861=_0x3f4fc0;super(),this['_snapshotServerService']=_0x3f05a6,this[_0x88b861(0x2f8)]=_0x1c7ec7,this[_0x88b861(0x45e)]=_0x183d57,this[_0x88b861(0x2c1)]=_0x598a4c,this[_0x88b861(0x347)]=_0x150d40,this[_0x88b861(0x43b)]=_0x373317,this[_0x88b861(0x2b1)]=_0x3f0816,_0x2a49f8(this,_0x88b861(0x47d),void 0x0),this[_0x88b861(0x47d)]=new _0x1249e8[(_0x88b861(0x52d))](0x3c);}[_0x3f4fc0(0x38e)](){const _0x4fd1b9=_0x3f4fc0;this[_0x4fd1b9(0x47d)][_0x4fd1b9(0x480)](),super[_0x4fd1b9(0x38e)]();}async[_0x3f4fc0(0x49d)](_0x57d71e){const _0x2f577f=_0x3f4fc0;try{let _0x37f5bf=(await this['_httpService'][_0x2f577f(0x285)](this[_0x2f577f(0x538)]()+'/'+_0x57d71e+_0x2f577f(0x4fe)))[_0x2f577f(0x2d2)];if(_0x37f5bf&&_0x37f5bf[_0x2f577f(0x286)]&&_0x37f5bf[_0x2f577f(0x286)][_0x2f577f(0x333)]===_0x94dd27[_0x2f577f(0x29c)]['OK'])return _0x37f5bf[_0x2f577f(0x4d7)];}catch(_0x4d118a){console['error'](_0x4d118a);}return[];}async['getVersions'](_0x2eaef1,_0x59584e){const _0x5386e4=_0x3f4fc0;let {userIds:_0x1dd31a,lastLabel:_0x2b3f64,origin:_0x4c15c0}=_0x59584e==null?{}:_0x59584e,_0x34bc45=new URLSearchParams();_0x34bc45[_0x5386e4(0x2ee)](_0x5386e4(0x331),'20'),_0x2b3f64&&_0x34bc45[_0x5386e4(0x2ee)](_0x5386e4(0x2ab),_0x2b3f64),_0x1dd31a==null||_0x1dd31a[_0x5386e4(0x399)](_0x31a828=>{const _0x1e366d=_0x5386e4;_0x34bc45[_0x1e366d(0x38b)](_0x1e366d(0x2d9),_0x31a828);}),_0x4c15c0&&_0x34bc45[_0x5386e4(0x2ee)]('origin',_0x4c15c0[_0x5386e4(0x566)]());let _0x21a968=this[_0x5386e4(0x538)]()+'/'+_0x2eaef1+_0x5386e4(0x567)+_0x34bc45[_0x5386e4(0x566)]();try{let _0xf5daf4=(await this[_0x5386e4(0x347)][_0x5386e4(0x285)](_0x21a968))[_0x5386e4(0x2d2)];if(_0xf5daf4&&_0xf5daf4[_0x5386e4(0x286)]&&_0xf5daf4[_0x5386e4(0x286)]['code']===_0x94dd27[_0x5386e4(0x29c)]['OK']){let {hasMore:_0x197db3,lastLabel:_0x135bac}=_0xf5daf4;return{'hasMore':_0x197db3,'lastLabel':_0x135bac,'versions':_0x353708(_0xf5daf4),'members':_0xf5daf4['entities'][_0x5386e4(0x4be)]};}}catch(_0x5de6eb){console['error'](_0x5de6eb);}return null;}async['getHistoryChangesets'](_0x2295ae,_0x52f9c9){const _0x31a051=_0x3f4fc0;let {unitId:_0x3e7ad2,startRevision:_0x299b9c,endRevision:_0x321290}=_0x52f9c9,_0x3d80eb=this[_0x31a051(0x538)]()+'/'+_0x3e7ad2+_0x31a051(0x511)+_0x299b9c+'&endRevision='+_0x321290;return(await this[_0x31a051(0x347)][_0x31a051(0x285)](_0x3d80eb))[_0x31a051(0x2d2)];}[_0x3f4fc0(0x538)](){const _0x528d03=_0x3f4fc0;var _0xd8d708;let _0x44287c=this[_0x528d03(0x2c1)]['getConfig'](_0x6e4ebd);return(_0xd8d708=_0x44287c==null?void 0x0:_0x44287c['historyListServerUrl'])==null?'/universer-api/history':_0xd8d708;}['_cacheKey'](_0x2762b3,_0x3124eb){return _0x2762b3+':'+_0x3124eb;}async[_0x3f4fc0(0x236)](_0x2701d5,_0x2ea66a,_0x2c037f={}){const _0x587885=_0x3f4fc0;var _0x1d7365;let _0x429e11=this[_0x587885(0x546)](_0x2701d5,_0x2ea66a),_0xe6ab81=this['_workbookDataCache'][_0x587885(0x285)](_0x429e11);if(_0xe6ab81){let {workbookData:_0x19aa25,changesets:_0x483957}=_0xe6ab81;return await this[_0x587885(0x52b)](_0x19aa25,_0x483957),!0x0;}let {snapshot:_0xf6ae0c,changesets:_0x1c4aa7,error:_0x42ebe5}=await this[_0x587885(0x4ba)][_0x587885(0x23f)](_0x2c037f,{'unitID':_0x2701d5,'type':_0x1249e8[_0x587885(0x549)][_0x587885(0x460)],'revision':_0x2ea66a});if((0x0,_0x94dd27[_0x587885(0x31e)])(_0x42ebe5)||!_0xf6ae0c||!_0xf6ae0c[_0x587885(0x36f)])throw Error(_0x587885(0x56c));let _0x459824=(_0x1d7365=_0x1c4aa7==null?void 0x0:_0x1c4aa7[_0x587885(0x331)])==null?0x0:_0x1d7365;if(_0x2ea66a!==0x0&&_0xf6ae0c[_0x587885(0x319)]+_0x459824!==_0x2ea66a)throw Error(_0x587885(0x290));let {workbook:_0x1be5e3}=_0xf6ae0c,_0x498f78=_0x1be5e3['blockMeta']?Object[_0x587885(0x28f)](_0x1be5e3[_0x587885(0x54a)])['flatMap'](_0x45ec08=>{const _0x1ab4d0=_0x587885;var _0x2b9e70;return(_0x2b9e70=_0x45ec08[_0x1ab4d0(0x4fd)])==null?[]:_0x2b9e70;}):[],_0x1c5a06=await(0x0,_0x2550be[_0x587885(0x378)])(_0xf6ae0c,(await Promise[_0x587885(0x34c)](_0x498f78[_0x587885(0x1d1)](_0x5870c8=>this[_0x587885(0x4ba)]['getDeserializedSheetBlock'](_0x2c037f,{'unitID':_0x2701d5,'type':_0x1249e8[_0x587885(0x549)][_0x587885(0x460)],'blockID':_0x5870c8})[_0x587885(0x39f)](_0x575789=>_0x575789[_0x587885(0x3e4)]))))[_0x587885(0x48f)](Boolean),_0x2c037f);return this[_0x587885(0x47d)][_0x587885(0x2ee)](_0x429e11,{'workbookData':_0x1c5a06,'changesets':_0x1c4aa7}),await this[_0x587885(0x52b)](_0x1c5a06,_0x1c4aa7),!0x0;}async[_0x3f4fc0(0x52b)](_0x173ccb,_0x3367ec){const _0x265ca0=_0x3f4fc0;let _0x266430=this[_0x265ca0(0x2f8)][_0x265ca0(0x28c)](_0x1249e8[_0x265ca0(0x549)][_0x265ca0(0x460)]);_0x266430&&(this[_0x265ca0(0x2f8)][_0x265ca0(0x2df)](_0x266430[_0x265ca0(0x3f7)]()),await Promise['resolve']());let _0xdc7c5d=JSON['parse'](JSON[_0x265ca0(0x449)](_0x173ccb));this[_0x265ca0(0x234)](_0xdc7c5d,_0x3367ec),this[_0x265ca0(0x2b1)][_0x265ca0(0x3f3)]();}[_0x3f4fc0(0x234)](_0x320ac4,_0x30f3b6){const _0x5e8a0f=_0x3f4fc0;let _0x22be81=this[_0x5e8a0f(0x2f8)]['createUnit'](_0x1249e8[_0x5e8a0f(0x549)][_0x5e8a0f(0x460)],_0x320ac4);this['_univerInstanceService'][_0x5e8a0f(0x40e)](_0x22be81[_0x5e8a0f(0x3f7)]());let _0x53646c=this[_0x5e8a0f(0x43b)][_0x5e8a0f(0x1f1)]['fetchThroughInterceptors'](this[_0x5e8a0f(0x43b)][_0x5e8a0f(0x1f1)][_0x5e8a0f(0x1d8)]()[_0x5e8a0f(0x2ff)]);return _0x30f3b6==null||_0x30f3b6[_0x5e8a0f(0x399)](_0xa97db9=>{const _0x38c1ef=_0x5e8a0f;let _0x3e3b23=_0xa97db9['mutations'][_0x38c1ef(0x1d1)](_0x1882f8=>({'id':_0x1882f8['id'],'params':JSON[_0x38c1ef(0x4a6)](_0x1882f8[_0x38c1ef(0x4bf)])}));(_0x53646c(_0x3e3b23,null)||_0x3e3b23)[_0x38c1ef(0x399)](_0x3ad0c4=>{const _0x32a240=_0x38c1ef;this['_commandService']['hasCommand'](_0x3ad0c4['id'])&&this[_0x32a240(0x45e)][_0x32a240(0x2a8)](_0x3ad0c4['id'],_0x3ad0c4[_0x32a240(0x382)],{'fromChangeset':!0x0});});}),_0x22be81;}};_0x483938=_0x45b447([_0x24cc5e(0x0,_0x2550be[_0x3f4fc0(0x4a2)]),_0x24cc5e(0x1,_0x1249e8[_0x3f4fc0(0x259)]),_0x24cc5e(0x2,_0x1249e8[_0x3f4fc0(0x231)]),_0x24cc5e(0x3,_0x1249e8[_0x3f4fc0(0x411)]),_0x24cc5e(0x4,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x4b9277[_0x3f4fc0(0x35e)])),_0x24cc5e(0x5,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x2550be['CompressMutationService'])),_0x24cc5e(0x6,(0x0,_0x1249e8['Inject'])(_0x1b4633['SheetPermissionInitController']))],_0x483938);function _0x353708(_0x34b36b){const _0xfbce34=_0x3f4fc0;let _0x332a62=[],{entities:_0x46fc54,historyIds:_0x36f626}=_0x34b36b,{datas:_0x44c7af,users:_0x2157f6}=_0x46fc54;for(let _0x50728a of _0x36f626){let _0x381ab0=_0x44c7af[_0x50728a];if(_0x381ab0){var _0x4ad02e,_0x14c9f1;let _0x54719b=!!((_0x4ad02e=_0x2157f6[_0x381ab0[_0xfbce34(0x278)]])!=null&&_0x4ad02e[_0xfbce34(0x2a7)]);_0x332a62[_0xfbce34(0x3a2)]({'unitId':_0x381ab0[_0xfbce34(0x244)],'user':_0x54719b?'':(_0x2157f6==null||(_0x14c9f1=_0x2157f6[_0x381ab0[_0xfbce34(0x278)]])==null?void 0x0:_0x14c9f1[_0xfbce34(0x25a)])||'','users':_0x381ab0[_0xfbce34(0x2d9)][_0xfbce34(0x1d1)](_0x102e8f=>{const _0x590051=_0xfbce34;var _0x505d28;return(_0x2157f6==null||(_0x505d28=_0x2157f6[_0x102e8f])==null?void 0x0:_0x505d28[_0x590051(0x25a)])||'';})[_0xfbce34(0x48f)](_0x3b70bd=>_0x3b70bd),'isAnonymous':_0x54719b,'id':_0x50728a,'time':_0x381ab0[_0xfbce34(0x1e6)]?Number(_0x381ab0[_0xfbce34(0x1e6)]):void 0x0,'commands':_0x381ab0[_0xfbce34(0x3a7)],'startRev':Number(_0x381ab0[_0xfbce34(0x451)]),'endRev':Number(_0x381ab0[_0xfbce34(0x1d0)]),'recoverTime':_0x381ab0['recoverTime']?Number(_0x381ab0[_0xfbce34(0x266)]):void 0x0,'additionalFields':_0x381ab0[_0xfbce34(0x429)],'startRevCreateTime':_0x381ab0[_0xfbce34(0x33d)]?Number(_0x381ab0[_0xfbce34(0x33d)]):void 0x0,'endRevCreateTime':_0x381ab0[_0xfbce34(0x2ec)]?Number(_0x381ab0['endRevCreateTime']):void 0x0});}}return _0x332a62;}let _0x1f4562=function(_0x4ecd59){const _0x1518c7=_0x3f4fc0;return _0x4ecd59[_0x1518c7(0x49a)]=_0x1518c7(0x47f),_0x4ecd59[_0x1518c7(0x1dc)]=_0x1518c7(0x2f0),_0x4ecd59[_0x1518c7(0x536)]=_0x1518c7(0x286),_0x4ecd59;}({}),_0x19b843=function(_0x3d6d9e){const _0x2c8c15=_0x3f4fc0;return _0x3d6d9e[_0x2c8c15(0x3cc)]='init',_0x3d6d9e[_0x2c8c15(0x4d9)]='loading',_0x3d6d9e[_0x2c8c15(0x28b)]=_0x2c8c15(0x34e),_0x3d6d9e;}({}),_0x3a241a=_0x3f4fc0(0x28e),_0x504091=class extends _0x1249e8[_0x3f4fc0(0x323)]{[_0x3f4fc0(0x364)](_0x268003){const _0x3ab5ce=_0x3f4fc0;this[_0x3ab5ce(0x4e3)][_0x3ab5ce(0x2d0)](_0x268003);}get['fetching'](){const _0x3a1c28=_0x3f4fc0;return this[_0x3a1c28(0x4e3)]['value'];}constructor(_0x451ee7,_0x1235a0,_0x144c13,_0x2c8ad8){const _0x2a1f9f=_0x3f4fc0;super(),this[_0x2a1f9f(0x350)]=_0x451ee7,this[_0x2a1f9f(0x3b7)]=_0x1235a0,this[_0x2a1f9f(0x3b1)]=_0x144c13,this['_historyFetchService']=_0x2c8ad8,_0x2a49f8(this,'_versions$',new _0x43cd5a[(_0x2a1f9f(0x478))]([])),_0x2a49f8(this,_0x2a1f9f(0x2fe),this[_0x2a1f9f(0x37d)][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,_0x2a1f9f(0x505),new _0x43cd5a[(_0x2a1f9f(0x478))]('')),_0x2a49f8(this,'currentVersion$',this[_0x2a1f9f(0x505)][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,_0x2a1f9f(0x1ee),new _0x43cd5a[(_0x2a1f9f(0x478))](_0x1f4562[_0x2a1f9f(0x49a)])),_0x2a49f8(this,_0x2a1f9f(0x322),this['_status$'][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,_0x2a1f9f(0x3ea),new _0x43cd5a[(_0x2a1f9f(0x478))](0x0)),_0x2a49f8(this,_0x2a1f9f(0x3ad),this[_0x2a1f9f(0x3ea)][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,_0x2a1f9f(0x277),new _0x43cd5a['BehaviorSubject']('')),_0x2a49f8(this,_0x2a1f9f(0x502),this['_unitId$'][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,'_fetching$',new _0x43cd5a[(_0x2a1f9f(0x478))](!0x1)),_0x2a49f8(this,_0x2a1f9f(0x310),this[_0x2a1f9f(0x4e3)][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,'_creators$',new _0x43cd5a[(_0x2a1f9f(0x478))]([])),_0x2a49f8(this,_0x2a1f9f(0x4c9),this[_0x2a1f9f(0x366)][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,_0x2a1f9f(0x247),new _0x43cd5a[(_0x2a1f9f(0x478))](!0x1)),_0x2a49f8(this,'openPanel$',this['_openPanel$'][_0x2a1f9f(0x2f3)]()),_0x2a49f8(this,_0x2a1f9f(0x227),new Map()),_0x2a49f8(this,_0x2a1f9f(0x3ba),new _0x43cd5a[(_0x2a1f9f(0x478))](_0x19b843['Init'])),_0x2a49f8(this,'loadingState$',this[_0x2a1f9f(0x3ba)]['asObservable']()),_0x2a49f8(this,_0x2a1f9f(0x55d),null),_0x2a49f8(this,_0x2a1f9f(0x363),!0x0),_0x2a49f8(this,_0x2a1f9f(0x4f8),new Map()),_0x2a49f8(this,_0x2a1f9f(0x442),void 0x0),_0x2a49f8(this,_0x2a1f9f(0x49b),void 0x0),_0x2a49f8(this,_0x2a1f9f(0x352),void 0x0),_0x2a49f8(this,'_canRevert',!0x1),_0x2a49f8(this,_0x2a1f9f(0x45a),null),_0x2a49f8(this,'_unitCurrentVersionMap',new Map());}async['triggerLoadVersions'](_0x474431,_0x58781e,_0x2d3ba7){const _0x4c63f7=_0x3f4fc0;this['_historyContainerId']=_0x58781e,this[_0x4c63f7(0x3af)]=_0x2d3ba7,this[_0x4c63f7(0x247)]['next'](!0x0),await this['loadInitialVersions'](_0x474431);}[_0x3f4fc0(0x1f4)](_0x48cf0d,_0x46882f='',_0x407b89,_0x19d585){const _0x1dafec=_0x3f4fc0;let {versions:_0x1170d8,hasMore:_0x4bb5cf,lastLabel:_0x6a95fc,members:_0x41b239}=_0x19d585,_0x3e4ad5=_0x1170d8[_0x1dafec(0x331)]>0x0?_0x1170d8:[{'unitId':_0x48cf0d,'id':_0x3a241a,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this['_localeService']['t'](_0x1dafec(0x4a8)),'users':[this[_0x1dafec(0x3b1)]['t'](_0x1dafec(0x4a8))],'commands':[],'isAnonymous':!0x1}];this[_0x1dafec(0x3af)]=_0x407b89,this[_0x1dafec(0x442)]=_0x46882f,this[_0x1dafec(0x277)]['next'](_0x48cf0d),this['_updateVersions'](_0x3e4ad5,_0x4bb5cf,_0x6a95fc,!0x1,_0x41b239),this[_0x1dafec(0x505)][_0x1dafec(0x2d0)](_0x3e4ad5[0x0]['id']);}async['loadInitialVersions'](_0x4cd11a,_0x21c9ad){const _0x4e2a53=_0x3f4fc0;this[_0x4e2a53(0x277)]['next'](_0x4cd11a),this['_loadParams']=_0x21c9ad==null?null:_0x21c9ad,this[_0x4e2a53(0x364)](!0x0);let _0x44fdfa=await this['_historyFetchService'][_0x4e2a53(0x525)](_0x4cd11a,_0x21c9ad);if(this[_0x4e2a53(0x364)](!0x1),_0x44fdfa){let {versions:_0x24af47,lastLabel:_0x44a84c,hasMore:_0x37dfcc,members:_0x1a688f}=_0x44fdfa;_0x24af47[_0x4e2a53(0x331)]===0x0&&_0x24af47[_0x4e2a53(0x3a2)]({'unitId':_0x4cd11a,'id':_0x3a241a,'startRev':0x1,'endRev':0x0,'time':Date[_0x4e2a53(0x570)](),'user':this['_localeService']['t'](_0x4e2a53(0x4a8)),'users':[this[_0x4e2a53(0x3b1)]['t']('editHistory.panel.currentUser')],'commands':[],'isAnonymous':!0x1}),this[_0x4e2a53(0x33a)](_0x24af47,_0x37dfcc,_0x44a84c,!0x1,_0x1a688f),this[_0x4e2a53(0x505)]['next'](_0x24af47[0x0]['id']),this['_unitCurrentVersionMap'][_0x4e2a53(0x2ee)](_0x4cd11a,_0x24af47[0x0][_0x4e2a53(0x42c)]);}else this['_status$'][_0x4e2a53(0x2d0)](_0x1f4562[_0x4e2a53(0x536)]);}async['loadMoreVersions'](){const _0x2f3c72=_0x3f4fc0;if(!this[_0x2f3c72(0x55d)]||!this[_0x2f3c72(0x363)]||this['fetching'])return!0x1;this['_setFetching'](!0x0);let _0x10b176=await this[_0x2f3c72(0x255)][_0x2f3c72(0x525)](this['unitId'],{'lastLabel':this['_lastLabel'],...this[_0x2f3c72(0x45a)]});if(this[_0x2f3c72(0x364)](!0x1),_0x10b176){let {versions:_0x5d7234,lastLabel:_0x2f9518,hasMore:_0x433195,members:_0x75917e}=_0x10b176;this[_0x2f3c72(0x33a)](_0x5d7234,_0x433195,_0x2f9518,!0x0,_0x75917e);}else this[_0x2f3c72(0x350)]['show']({'content':this[_0x2f3c72(0x3b1)]['t'](_0x2f3c72(0x293)),'type':_0x13eba3['MessageType'][_0x2f3c72(0x536)],'duration':0xbb8});return!0x0;}async[_0x3f4fc0(0x4d0)](){const _0x330042=_0x3f4fc0;let {unitId:_0x477215}=this;if(!_0x477215)return;let _0x2a7025=await this[_0x330042(0x255)]['fetchCreatorList'](_0x477215);_0x2a7025&&this[_0x330042(0x366)][_0x330042(0x2d0)](_0x2a7025);}async[_0x3f4fc0(0x340)](_0xb3f1a0){const _0x4e6c03=_0x3f4fc0;let {endRev:_0x17c115}=this[_0x4e6c03(0x3ae)](_0xb3f1a0)||{};_0x17c115||_0x17c115===0x0?(this[_0x4e6c03(0x3ba)][_0x4e6c03(0x2d0)](_0x19b843[_0x4e6c03(0x4d9)]),await this['_historyFetchService'][_0x4e6c03(0x236)](this[_0x4e6c03(0x244)],_0x17c115),this[_0x4e6c03(0x3ba)][_0x4e6c03(0x2d0)](_0x19b843[_0x4e6c03(0x28b)])):this['_status$']['next'](_0x1f4562[_0x4e6c03(0x536)]);}async['triggerRevert'](_0x5ac3d9){const _0x366c51=_0x3f4fc0;let _0x4da2bc=_0x5ac3d9?this[_0x366c51(0x3ae)](_0x5ac3d9):this[_0x366c51(0x53f)]();if(!_0x4da2bc)return;let _0x41dd18=_0x4da2bc['endRev'],_0x26665f=_0x226af0(_0x4da2bc[_0x366c51(0x329)],this[_0x366c51(0x3b1)]['getCurrentLocale']());await this[_0x366c51(0x3b7)]['confirm']({'id':_0x366c51(0x225),'title':{'title':this[_0x366c51(0x3b1)]['t'](_0x366c51(0x27f))},'children':{'title':this[_0x366c51(0x3b1)]['t'](_0x366c51(0x339))+_0x366c51(0x25d)+_0x26665f[_0x366c51(0x55c)]+'\x20'+_0x26665f[_0x366c51(0x329)]+')'},'cancelText':this['_localeService']['t'](_0x366c51(0x55e)),'confirmText':this['_localeService']['t'](_0x366c51(0x1e1))})&&this[_0x366c51(0x3ea)][_0x366c51(0x2d0)](_0x41dd18);}['_updateVersions'](_0x355289,_0x53e425,_0x1466b3,_0x477ab9,_0x413688){const _0x4e3d2d=_0x3f4fc0;this[_0x4e3d2d(0x2a1)](_0x477ab9?this['_versions$'][_0x4e3d2d(0x31a)][_0x4e3d2d(0x237)](_0x355289):_0x355289),this[_0x4e3d2d(0x363)]=_0x53e425,this[_0x4e3d2d(0x55d)]=_0x1466b3,_0x413688&&Object[_0x4e3d2d(0x573)](_0x413688)['forEach'](_0x597651=>this['_members'][_0x4e3d2d(0x2ee)](_0x597651,_0x413688[_0x597651]));}[_0x3f4fc0(0x53f)](){const _0x4ddc5a=_0x3f4fc0;return this[_0x4ddc5a(0x3ae)](this[_0x4ddc5a(0x505)][_0x4ddc5a(0x31a)]);}[_0x3f4fc0(0x2a1)](_0xdf848c){const _0x4aa05c=_0x3f4fc0;this[_0x4aa05c(0x37d)][_0x4aa05c(0x2d0)](_0xdf848c);}[_0x3f4fc0(0x3ae)](_0x1c21ab){const _0x2da637=_0x3f4fc0;var _0x5c3504;return((_0x5c3504=this[_0x2da637(0x37d)][_0x2da637(0x31a)])==null?void 0x0:_0x5c3504[_0x2da637(0x2e6)](_0x28931f=>_0x28931f['id']===_0x1c21ab))||this[_0x2da637(0x227)]['get'](_0x1c21ab);}[_0x3f4fc0(0x35c)](_0x173118){const _0x41f3ed=_0x3f4fc0;this[_0x41f3ed(0x227)][_0x41f3ed(0x2ee)](_0x173118['id'],_0x173118);}['getCurrentUnitCurrentVersion'](){const _0x4181d3=_0x3f4fc0;if(this['unitId'])return this[_0x4181d3(0x3f1)]['get'](this[_0x4181d3(0x244)]);}[_0x3f4fc0(0x281)](){const _0x510807=_0x3f4fc0;var _0x4dec1f;return((_0x4dec1f=this[_0x510807(0x53f)]())==null?void 0x0:_0x4dec1f[_0x510807(0x42c)])===this[_0x510807(0x4e6)]();}[_0x3f4fc0(0x248)](){const _0x38b187=_0x3f4fc0;return!this[_0x38b187(0x281)]()&&this['canRevert'];}[_0x3f4fc0(0x2fd)](_0x29451d){const _0x48e3b0=_0x3f4fc0;return this['_members'][_0x48e3b0(0x285)](_0x29451d);}['_createMask'](){const _0x397014=_0x3f4fc0;this[_0x397014(0x352)]=document['createElement'](_0x397014(0x252)),this[_0x397014(0x352)][_0x397014(0x324)]=_0x397014(0x413),this[_0x397014(0x352)][_0x397014(0x351)][_0x397014(0x370)]=_0x397014(0x24b),this[_0x397014(0x352)]['style']['top']='0',this[_0x397014(0x352)][_0x397014(0x351)][_0x397014(0x421)]='0',this[_0x397014(0x352)]['style'][_0x397014(0x1e2)]=_0x397014(0x4b5),this[_0x397014(0x352)][_0x397014(0x351)][_0x397014(0x3b2)]=_0x397014(0x4b5),this[_0x397014(0x352)]['style']['backgroundColor']=_0x397014(0x380),this[_0x397014(0x352)][_0x397014(0x351)]['color']=_0x397014(0x3fd),this[_0x397014(0x352)][_0x397014(0x351)]['display']=_0x397014(0x56e),this[_0x397014(0x352)]['style'][_0x397014(0x22b)]=_0x397014(0x431),this['_maskElement']['style'][_0x397014(0x535)]=_0x397014(0x2bb),this[_0x397014(0x352)]['style'][_0x397014(0x21d)]='none',this['_maskContainer']['append'](this['_maskElement']);}[_0x3f4fc0(0x43e)](){const _0x34ffa7=_0x3f4fc0;let _0xb815a4=document[_0x34ffa7(0x2ef)](this['_historyContainerId']);_0xb815a4&&(this[_0x34ffa7(0x49b)]=_0xb815a4,this[_0x34ffa7(0x2c5)]());}['showMask'](){const _0x5adfd6=_0x3f4fc0;this[_0x5adfd6(0x49b)]||this[_0x5adfd6(0x43e)](),this[_0x5adfd6(0x352)]&&(this[_0x5adfd6(0x352)]['style']['display']='flex');}['hideMask'](){const _0x2ebd21=_0x3f4fc0;this[_0x2ebd21(0x352)]&&(this[_0x2ebd21(0x352)]['style'][_0x2ebd21(0x21d)]=_0x2ebd21(0x1f8));}set[_0x3f4fc0(0x513)](_0xd4710d){const _0x58596b=_0x3f4fc0;this[_0x58596b(0x1ee)][_0x58596b(0x2d0)](_0xd4710d);}set['currentVersion'](_0xc3acff){const _0x2b74bf=_0x3f4fc0;_0xc3acff!==this[_0x2b74bf(0x505)]['value']&&this[_0x2b74bf(0x505)][_0x2b74bf(0x2d0)](_0xc3acff);}get[_0x3f4fc0(0x47b)](){const _0x2b19fb=_0x3f4fc0;return this[_0x2b19fb(0x505)]['value'];}set[_0x3f4fc0(0x244)](_0x706aab){const _0x3e5456=_0x3f4fc0;this[_0x3e5456(0x277)]['next'](_0x706aab);}get[_0x3f4fc0(0x244)](){const _0x48b313=_0x3f4fc0;return this['_unitId$'][_0x48b313(0x31a)];}get[_0x3f4fc0(0x492)](){const _0x44da54=_0x3f4fc0;return this[_0x44da54(0x3af)];}get[_0x3f4fc0(0x359)](){const _0x265ac2=_0x3f4fc0;return this[_0x265ac2(0x3ba)][_0x265ac2(0x31a)];}};_0x504091=_0x45b447([_0x24cc5e(0x0,_0x577c26[_0x3f4fc0(0x251)]),_0x24cc5e(0x1,_0x1249e8[_0x3f4fc0(0x4bb)]),_0x24cc5e(0x2,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8[_0x3f4fc0(0x3f2)])),_0x24cc5e(0x3,(0x0,_0x1249e8['Inject'])(_0x483938))],_0x504091);let _0x45320b=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x209042,_0x34491e,_0x1a837a,_0x430886,_0x138f62,_0x1014fc,_0xfbf57b,_0x31b862,_0xd9bf1f,_0xa9e346,_0x2922c7,_0x295f15,_0x246aeb){const _0x10d312=_0x3f4fc0;super(),this[_0x10d312(0x356)]=_0x209042,this[_0x10d312(0x426)]=_0x34491e,this[_0x10d312(0x4ba)]=_0x1a837a,this['_rangeProtectionRuleModel']=_0x430886,this[_0x10d312(0x4d5)]=_0x138f62,this['_dataValidationModel']=_0x1014fc,this[_0x10d312(0x36e)]=_0xfbf57b,this[_0x10d312(0x4cb)]=_0x31b862,this['_sheetsPivotTableConfigModel']=_0xd9bf1f,this[_0x10d312(0x2bd)]=_0xa9e346,this[_0x10d312(0x3b1)]=_0x2922c7,this[_0x10d312(0x406)]=_0x295f15,this['_historyFetchService']=_0x246aeb,_0x2a49f8(this,'_diffRangesMap',new Map()),_0x2a49f8(this,_0x10d312(0x334),new _0x43cd5a[(_0x10d312(0x478))]({'ranges':new Map(),'active':null,'subUnitIds':[]})),_0x2a49f8(this,_0x10d312(0x548),this['_currentVersionDiff$'][_0x10d312(0x2f3)]()),this['_init']();}['_init'](){const _0x5057d1=_0x3f4fc0;this[_0x5057d1(0x419)]=new Map(),this[_0x5057d1(0x292)](this[_0x5057d1(0x356)][_0x5057d1(0x502)][_0x5057d1(0x37f)](_0x458826=>{const _0x4b7946=_0x5057d1;_0x458826&&!this[_0x4b7946(0x419)][_0x4b7946(0x2aa)](_0x458826)&&this[_0x4b7946(0x419)][_0x4b7946(0x2ee)](_0x458826,new Map());})),this['disposeWithMe'](this['_historyManagerService']['currentVersion$'][_0x5057d1(0x37f)](async _0xe23d19=>{const _0x1f4fd4=_0x5057d1;if(_0xe23d19){var _0x33251d;await this[_0x1f4fd4(0x43c)](_0xe23d19),this['_currentVersionDiff$'][_0x1f4fd4(0x2d0)](((_0x33251d=this[_0x1f4fd4(0x419)][_0x1f4fd4(0x285)](this['_historyManagerService']['unitId']))==null?void 0x0:_0x33251d[_0x1f4fd4(0x285)](_0xe23d19))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async[_0x3f4fc0(0x43c)](_0x4ed583){const _0xafb881=_0x3f4fc0;var _0x277f64,_0x5c6696;let _0x53b60f=this[_0xafb881(0x356)]['getVersion'](_0x4ed583),_0x5399e8=this[_0xafb881(0x356)][_0xafb881(0x244)];if(!_0x53b60f||!_0x5399e8)return;let _0x432e9a=this[_0xafb881(0x419)][_0xafb881(0x285)](_0x5399e8);if(_0x432e9a||this[_0xafb881(0x419)][_0xafb881(0x2ee)](_0x5399e8,new Map()),(_0x277f64=this['_diffRangesMap']['get'](_0x5399e8))!=null&&_0x277f64[_0xafb881(0x2aa)](_0x53b60f['id']))return;let {startRev:_0x4059d6,endRev:_0x1555e3}=_0x53b60f;if(_0x4059d6===0x1){_0x432e9a[_0xafb881(0x2ee)](_0x53b60f['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x1784b8=_0x4059d6,_0x5d5bf0=_0x1555e3,_0x2fa88b=await this[_0xafb881(0x255)]['getHistoryChangesets']({},{'unitId':_0x5399e8,'startRevision':_0x1784b8,'endRevision':_0x5d5bf0});if(((_0x5c6696=_0x2fa88b[_0xafb881(0x286)])==null?void 0x0:_0x5c6696[_0xafb881(0x333)])===_0x94dd27[_0xafb881(0x29c)]['OK']){let _0x2c1229=_0x2fa88b[_0xafb881(0x571)][_0xafb881(0x1d1)](_0x2512f2=>((_0x2512f2['mutations']===null||_0x2512f2[_0xafb881(0x4ad)]===void 0x0)&&(_0x2512f2[_0xafb881(0x4ad)]=[]),(0x0,_0x2550be[_0xafb881(0x265)])(_0x2512f2)))[_0xafb881(0x1d1)](_0x22bf4d=>_0x22bf4d['mutations']['map'](_0x19144e=>({..._0x19144e,'params':{..._0x19144e[_0xafb881(0x382)],'memberId':_0x22bf4d[_0xafb881(0x26f)]||_0xafb881(0x372)}})))[_0xafb881(0x353)](),_0x4dd101=await this['_transformMutationByOrder'](_0x2c1229),_0x475f87=this[_0xafb881(0x56a)](_0x2c1229),_0x2bcc9a=this[_0xafb881(0x218)](_0x4dd101);_0x432e9a[_0xafb881(0x2ee)](_0x53b60f['id'],{..._0x2bcc9a,'active':_0x475f87});}}[_0x3f4fc0(0x2f2)](){const _0x460940=_0x3f4fc0;let _0x4d0d28=_0x205fa5('editHistory.action.'),_0x551d49=new Map();return Object[_0x460940(0x28f)](_0x4d0d28)['flat']()['forEach'](_0x5d8654=>{const _0x3d3330=_0x460940;_0x551d49[_0x3d3330(0x2ee)](_0x5d8654['id'],_0x5d8654[_0x3d3330(0x2f4)]);}),_0x551d49;}[_0x3f4fc0(0x550)](_0x38fc17,_0x45f772){return this['_categorizeMutationRanges'](_0x38fc17,_0x45f772);}async[_0x3f4fc0(0x517)](_0x276530){const _0x42aed6=_0x3f4fc0;let _0x1b8224=[];for(let _0x27592e=0x0;_0x27592e<_0x276530['length'];_0x27592e++){let _0x2f9827=_0x276530[_0x27592e];if(_0x1b8224[_0x42aed6(0x3a2)](_0x2f9827),_0x27592e!==_0x276530[_0x42aed6(0x331)]-0x1){let _0x3d93b3=_0x276530[_0x27592e+0x1],_0x493330=this['_transformService']['transformMutations'](_0x1b8224,[_0x3d93b3]);_0x1b8224=(0x0,_0x2550be[_0x42aed6(0x483)])(_0x493330)?_0x493330[_0x42aed6(0x4ae)]:[];}_0x27592e%0xa==0x0&&_0x27592e>0x0&&await this['_yieldToMain']();}return _0x1b8224;}['_yieldToMain'](){return new Promise(_0x3526c7=>{const _0xf08458=_0xc05f;typeof requestIdleCallback==_0xf08458(0x565)?requestIdleCallback(()=>_0x3526c7(),{'timeout':0x64}):setTimeout(_0x3526c7,0x0);});}[_0x3f4fc0(0x56a)](_0x10460f){const _0x534b46=_0x3f4fc0;let _0x3533f5=[];return _0x10460f[_0x534b46(0x399)](_0x1a5eea=>{const _0x4ab4c4=_0x534b46;if(_0x1a5eea['id']===_0x1b4633[_0x4ab4c4(0x377)]['id']){let _0x3e4ffb=_0x1a5eea['params'];_0x3533f5['push'](_0x3e4ffb[_0x4ab4c4(0x4b7)]['id']);}else{if(_0x1a5eea['id']===_0x1b4633['RemoveSheetMutation']['id']){let _0x5d201d=_0x1a5eea[_0x4ab4c4(0x382)];_0x3533f5['length']>0x0&&(_0x3533f5=_0x3533f5['filter'](_0x316adb=>_0x316adb!==_0x5d201d[_0x4ab4c4(0x44b)]));}else{if(_0x1a5eea['id']===_0x1b4633[_0x4ab4c4(0x390)]['id']){let _0x376726=_0x1a5eea[_0x4ab4c4(0x382)];_0x376726[_0x4ab4c4(0x320)]?_0x3533f5=_0x3533f5['filter'](_0xf7874a=>_0xf7874a!==_0x376726[_0x4ab4c4(0x44b)]):_0x3533f5['push'](_0x376726[_0x4ab4c4(0x44b)]);}else{let _0x426c83=_0x1a5eea[_0x4ab4c4(0x382)];_0x426c83[_0x4ab4c4(0x44b)]&&_0x3533f5['push'](_0x426c83[_0x4ab4c4(0x44b)]);}}}}),_0x3533f5[_0x534b46(0x331)]>0x0?_0x3533f5[_0x3533f5[_0x534b46(0x331)]-0x1]:null;}[_0x3f4fc0(0x218)](_0x5c7fa4){const _0x569cb6=_0x3f4fc0;let _0x22ea76=new Map(),_0x44e991=new Map(),_0x126f74=new Map(),_0x3c7fda=new Map(),_0x4e3381=new Map(),_0x4c439a=new Map(),_0x3547b4=new Map(),_0x34b0b9=new Map(),_0x152d0c=new Map(),_0x4416cf=new Map(),_0x225641=new Map(),_0x1ecba9=new Map(),_0x16b71d=new Set(),_0x4a9989=this['getMutationActionMap']();return _0x5c7fa4[_0x569cb6(0x399)](_0x4f8840=>{const _0x7f26e4=_0x569cb6;var _0xfdcfc6,_0x40f958,_0x6625ac,_0x3c46bf,_0x1f698e,_0x17bfaa,_0x5d9119,_0x1160ca,_0x4e29cb,_0x376b91,_0x4de1ef,_0x17fb1a,_0x23684f;let _0x542253=(_0xfdcfc6=_0x4f8840[_0x7f26e4(0x382)])==null?void 0x0:_0xfdcfc6[_0x7f26e4(0x3e3)];if(!_0x542253)return;_0x22ea76[_0x7f26e4(0x2aa)](_0x542253)||(_0x22ea76[_0x7f26e4(0x2ee)](_0x542253,[]),_0x44e991[_0x7f26e4(0x2ee)](_0x542253,[]),_0x126f74[_0x7f26e4(0x2ee)](_0x542253,[]),_0x3c7fda['set'](_0x542253,[]),_0x4e3381['set'](_0x542253,[]),_0x4c439a[_0x7f26e4(0x2ee)](_0x542253,[]),_0x3547b4[_0x7f26e4(0x2ee)](_0x542253,[]),_0x34b0b9[_0x7f26e4(0x2ee)](_0x542253,[]),_0x152d0c['set'](_0x542253,[]),_0x4416cf['set'](_0x542253,[]),_0x225641[_0x7f26e4(0x2ee)](_0x542253,[]),_0x1ecba9[_0x7f26e4(0x2ee)](_0x542253,[]));let _0x27554f=this[_0x7f26e4(0x326)](_0x4f8840,_0x4a9989);_0x27554f['subUnitIds'][_0x7f26e4(0x399)](_0x537557=>_0x16b71d[_0x7f26e4(0x317)](_0x537557)),(_0x40f958=_0x22ea76[_0x7f26e4(0x285)](_0x542253))==null||_0x40f958[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x30d)]),(_0x6625ac=_0x44e991[_0x7f26e4(0x285)](_0x542253))==null||_0x6625ac[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x32b)]),(_0x3c46bf=_0x126f74[_0x7f26e4(0x285)](_0x542253))==null||_0x3c46bf[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x49e)]),(_0x1f698e=_0x3c7fda[_0x7f26e4(0x285)](_0x542253))==null||_0x1f698e[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x367)]),(_0x17bfaa=_0x4e3381[_0x7f26e4(0x285)](_0x542253))==null||_0x17bfaa[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x212)]),(_0x5d9119=_0x4c439a[_0x7f26e4(0x285)](_0x542253))==null||_0x5d9119[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x3d2)]),(_0x1160ca=_0x3547b4[_0x7f26e4(0x285)](_0x542253))==null||_0x1160ca[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x36a)]),(_0x4e29cb=_0x34b0b9['get'](_0x542253))==null||_0x4e29cb[_0x7f26e4(0x3a2)](..._0x27554f['arrowRowRanges']),(_0x376b91=_0x152d0c[_0x7f26e4(0x285)](_0x542253))==null||_0x376b91[_0x7f26e4(0x3a2)](..._0x27554f['arrowColumnRanges']),(_0x4de1ef=_0x225641[_0x7f26e4(0x285)](_0x542253))==null||_0x4de1ef[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x262)]),(_0x17fb1a=_0x1ecba9[_0x7f26e4(0x285)](_0x542253))==null||_0x17fb1a[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x23e)]),(_0x23684f=_0x4416cf[_0x7f26e4(0x285)](_0x542253))==null||_0x23684f[_0x7f26e4(0x3a2)](..._0x27554f[_0x7f26e4(0x3c4)]);}),_0x22ea76[_0x569cb6(0x399)]((_0x55bec5,_0x1b5a78)=>{const _0x53c881=_0x569cb6;_0x22ea76[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x55bec5)),_0x44e991[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x44e991['get'](_0x1b5a78)||[])),_0x126f74[_0x53c881(0x2ee)](_0x1b5a78,this['_combineRanges'](_0x126f74[_0x53c881(0x285)](_0x1b5a78)||[])),_0x3c7fda[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x3c7fda[_0x53c881(0x285)](_0x1b5a78)||[])),_0x4e3381[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x4e3381[_0x53c881(0x285)](_0x1b5a78)||[])),_0x4c439a[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x4c439a[_0x53c881(0x285)](_0x1b5a78)||[])),_0x3547b4[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x3547b4['get'](_0x1b5a78)||[])),_0x34b0b9[_0x53c881(0x2ee)](_0x1b5a78,this[_0x53c881(0x233)](_0x34b0b9[_0x53c881(0x285)](_0x1b5a78)||[])),_0x152d0c[_0x53c881(0x2ee)](_0x1b5a78,this['_combineRanges'](_0x152d0c[_0x53c881(0x285)](_0x1b5a78)||[]));}),{'ranges':_0x22ea76,'insertCellRanges':_0x44e991,'deleteCellRanges':_0x126f74,'updateCellRanges':_0x3c7fda,'insertBorderRanges':_0x4e3381,'deleteBorderRanges':_0x4c439a,'updateBorderRanges':_0x3547b4,'arrowRowRanges':_0x34b0b9,'arrowColumnRanges':_0x152d0c,'insertDrawings':_0x225641,'deleteDrawings':_0x1ecba9,'updateDrawings':_0x4416cf,'subUnitIds':Array[_0x569cb6(0x422)](_0x16b71d)};}['_categorizeMutationRanges'](_0x5eba23,_0x55c5dd){const _0x47d22c=_0x3f4fc0;let _0x43ce50={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x518e24=_0x5eba23['id'],_0x1e9f14=_0x5eba23['params'],_0x3c90a6=this[_0x47d22c(0x3b1)]['t'](_0x55c5dd[_0x47d22c(0x285)](_0x518e24)||'');_0x1e9f14[_0x47d22c(0x44b)]&&_0x43ce50[_0x47d22c(0x27b)][_0x47d22c(0x3a2)](_0x1e9f14[_0x47d22c(0x44b)]);let _0x201bc1=(_0x63fc79,_0x377ce4)=>{const _0x2e2f5d=_0x47d22c;let _0x10cffc=_0x63fc79[_0x2e2f5d(0x1d1)](_0x1364e2=>({..._0x1364e2,'showText':_0x3c90a6}));switch(_0x43ce50[_0x2e2f5d(0x30d)]['push'](..._0x10cffc),_0x377ce4){case _0x2e2f5d(0x2bc):_0x43ce50[_0x2e2f5d(0x32b)][_0x2e2f5d(0x3a2)](..._0x10cffc);break;case _0x2e2f5d(0x365):_0x43ce50[_0x2e2f5d(0x49e)][_0x2e2f5d(0x3a2)](..._0x10cffc);break;case _0x2e2f5d(0x3c0):_0x43ce50[_0x2e2f5d(0x367)]['push'](..._0x10cffc);break;case'insertBorder':_0x43ce50[_0x2e2f5d(0x212)]['push'](..._0x10cffc);break;case _0x2e2f5d(0x2cb):_0x43ce50[_0x2e2f5d(0x3d2)][_0x2e2f5d(0x3a2)](..._0x10cffc);break;case _0x2e2f5d(0x2af):_0x43ce50[_0x2e2f5d(0x36a)][_0x2e2f5d(0x3a2)](..._0x10cffc);break;case _0x2e2f5d(0x215):_0x43ce50[_0x2e2f5d(0x2d4)][_0x2e2f5d(0x3a2)](..._0x10cffc);break;case'arrowColumn':_0x43ce50[_0x2e2f5d(0x572)][_0x2e2f5d(0x3a2)](..._0x10cffc);break;}};switch(_0x518e24){case _0x1b4633[_0x47d22c(0x3a5)]['id']:{let _0x2d8202=_0x1e9f14;_0x201bc1([{'range':{..._0x2d8202[_0x47d22c(0x50f)],'rangeType':_0x1249e8[_0x47d22c(0x261)]['ROW']},'unitId':_0x2d8202['unitId'],'subUnitId':_0x2d8202[_0x47d22c(0x44b)],'showText':'insertRow','highlightRow':!0x0}],'insert');break;}case _0x1b4633[_0x47d22c(0x1d4)]['id']:{let _0x593723=_0x1e9f14;_0x201bc1([{'range':{..._0x593723['range'],'rangeType':_0x1249e8[_0x47d22c(0x261)][_0x47d22c(0x42e)]},'unitId':_0x593723[_0x47d22c(0x244)],'subUnitId':_0x593723[_0x47d22c(0x44b)],'showText':_0x47d22c(0x240),'highlightColumn':!0x0}],_0x47d22c(0x2bc));break;}case _0x1b4633['AddWorksheetMergeMutation']['id']:{let _0x42f544=_0x1e9f14;_0x201bc1(_0x42f544[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0xee295=>({'range':_0xee295,'unitId':_0x42f544['unitId'],'subUnitId':_0x42f544[_0x47d22c(0x44b)],'showText':'mergeCells'})),_0x47d22c(0x2bc));break;}case _0x1b4633[_0x47d22c(0x446)]['id']:{let _0x4b333a=_0x1e9f14;_0x201bc1(Object[_0x47d22c(0x28f)](_0x4b333a['values'])[_0x47d22c(0x1d1)](_0x4ef4ba=>_0x4ef4ba[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x321586=>({'range':_0x321586,'unitId':_0x4b333a[_0x47d22c(0x244)],'subUnitId':_0x4b333a[_0x47d22c(0x44b)],'showText':_0x47d22c(0x2f9)})))[_0x47d22c(0x353)](),_0x47d22c(0x2bc));break;}case _0x1b4633[_0x47d22c(0x217)]['id']:{let _0x55badb=_0x1e9f14;_0x201bc1(_0x55badb[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x4dddd9=>({'range':_0x4dddd9,'unitId':_0x55badb[_0x47d22c(0x244)],'subUnitId':_0x55badb[_0x47d22c(0x44b)],'showText':_0x47d22c(0x39e)})),_0x47d22c(0x365));break;}case _0x1b4633['RemoveNumfmtMutation']['id']:{let _0x200c81=_0x1e9f14;_0x201bc1(_0x200c81['ranges'][_0x47d22c(0x1d1)](_0x169ba4=>({'range':_0x169ba4,'unitId':_0x200c81[_0x47d22c(0x244)],'subUnitId':_0x200c81[_0x47d22c(0x44b)],'showText':_0x47d22c(0x445)})),_0x47d22c(0x365));break;}case _0x1b4633['MoveRowsMutation']['id']:{let _0x387425=_0x1e9f14;_0x201bc1([{'range':{..._0x387425[_0x47d22c(0x358)],'rangeType':_0x1249e8[_0x47d22c(0x261)][_0x47d22c(0x3da)]},'unitId':_0x387425[_0x47d22c(0x244)],'subUnitId':_0x387425['subUnitId'],'showText':'moveRows'}],'delete'),_0x201bc1([{'range':{..._0x387425[_0x47d22c(0x528)],'rangeType':_0x1249e8['RANGE_TYPE'][_0x47d22c(0x3da)]},'unitId':_0x387425[_0x47d22c(0x244)],'subUnitId':_0x387425[_0x47d22c(0x44b)],'showText':'moveRows'}],'insert');break;}case _0x1b4633[_0x47d22c(0x3ac)]['id']:{let _0x4cab12=_0x1e9f14;_0x201bc1([{'range':{..._0x4cab12[_0x47d22c(0x358)],'rangeType':_0x1249e8['RANGE_TYPE'][_0x47d22c(0x42e)]},'unitId':_0x4cab12[_0x47d22c(0x244)],'subUnitId':_0x4cab12[_0x47d22c(0x44b)],'showText':_0x47d22c(0x204)}],'delete'),_0x201bc1([{'range':{..._0x4cab12['targetRange'],'rangeType':_0x1249e8['RANGE_TYPE'][_0x47d22c(0x42e)]},'unitId':_0x4cab12[_0x47d22c(0x244)],'subUnitId':_0x4cab12[_0x47d22c(0x44b)],'showText':_0x47d22c(0x204)}],'insert');break;}case _0x1b4633[_0x47d22c(0x3f0)]['id']:{let _0x3511b8=_0x1e9f14;_0x201bc1(_0x3511b8['ranges'][_0x47d22c(0x1d1)](_0xd20ade=>({'range':{..._0xd20ade,'rangeType':_0x1249e8[_0x47d22c(0x261)]['ROW']},'unitId':_0x3511b8['unitId'],'subUnitId':_0x3511b8['subUnitId'],'showText':_0x47d22c(0x23b),'highlightRow':!0x0})),_0x47d22c(0x3c0));break;}case _0x1b4633['SetRowDataMutation']['id']:{let _0xcaa245=_0x1e9f14;_0xcaa245[_0x47d22c(0x2f7)]&&_0xcaa245[_0x47d22c(0x44b)]&&Object[_0x47d22c(0x573)](_0xcaa245['rowData'])[_0x47d22c(0x1d1)](Number)[_0x47d22c(0x399)](_0x496d61=>{const _0x2b7cb6=_0x47d22c;_0x201bc1([{'range':{'startRow':_0x496d61,'endRow':_0x496d61,'startColumn':NaN,'endColumn':NaN,'rangeType':_0x1249e8[_0x2b7cb6(0x261)]['ROW']},'unitId':_0xcaa245[_0x2b7cb6(0x244)],'subUnitId':_0xcaa245[_0x2b7cb6(0x44b)],'showText':_0x2b7cb6(0x48c),'highlightRow':!0x0}],_0x2b7cb6(0x3c0));});break;}case _0x1b4633['SetColVisibleMutation']['id']:{let _0x2c0b2c=_0x1e9f14;_0x201bc1(_0x2c0b2c[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x37b60c=>({'range':{..._0x37b60c,'rangeType':_0x1249e8[_0x47d22c(0x261)]['COLUMN']},'unitId':_0x2c0b2c['unitId'],'subUnitId':_0x2c0b2c[_0x47d22c(0x44b)],'showText':'showCol','highlightColumn':!0x0})),'update');break;}case _0x1b4633[_0x47d22c(0x226)]['id']:{let _0x24ae89=_0x1e9f14;_0x24ae89['columnData']&&_0x24ae89[_0x47d22c(0x44b)]&&Object[_0x47d22c(0x573)](_0x24ae89[_0x47d22c(0x46f)])[_0x47d22c(0x1d1)](Number)['forEach'](_0x42ad59=>{const _0x1a4398=_0x47d22c;_0x201bc1([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x42ad59,'endColumn':_0x42ad59,'rangeType':_0x1249e8[_0x1a4398(0x261)][_0x1a4398(0x42e)]},'unitId':_0x24ae89[_0x1a4398(0x244)],'subUnitId':_0x24ae89['subUnitId'],'showText':'setColData','highlightColumn':!0x0}],_0x1a4398(0x3c0));});break;}case _0x1b4633[_0x47d22c(0x3b0)]['id']:{let _0x125471=_0x1e9f14;_0x201bc1(_0x125471[_0x47d22c(0x2c8)]?_0x2146fe(_0x125471[_0x47d22c(0x2c8)])['map'](_0x20fc69=>({'range':_0x20fc69,'unitId':_0x125471['unitId'],'subUnitId':_0x125471[_0x47d22c(0x44b)],'showText':_0x47d22c(0x474)})):[],_0x47d22c(0x3c0));break;}case _0x1b4633[_0x47d22c(0x3bb)]['id']:{let _0x5a15f=_0x5eba23[_0x47d22c(0x382)];_0x201bc1([{'range':_0xc54e60(_0x5a15f['from']['value']),'unitId':_0x5a15f[_0x47d22c(0x244)],'subUnitId':_0x5a15f['from'][_0x47d22c(0x44b)],'showText':_0x47d22c(0x257)}],_0x47d22c(0x365)),_0x201bc1([{'range':_0xc54e60(_0x5a15f['to'][_0x47d22c(0x31a)]),'unitId':_0x5a15f[_0x47d22c(0x244)],'subUnitId':_0x5a15f['to']['subUnitId'],'showText':_0x47d22c(0x257)}],_0x47d22c(0x2bc));break;}case _0x1b4633['ReorderRangeMutation']['id']:{let _0xadbda9=_0x1e9f14;_0x201bc1([{'range':_0xadbda9[_0x47d22c(0x50f)],'unitId':_0xadbda9[_0x47d22c(0x244)],'subUnitId':_0xadbda9[_0x47d22c(0x44b)]}],_0x47d22c(0x3c0));break;}case _0x1b4633['SetWorksheetRowHeightMutation']['id']:{let _0x3e5039=_0x1e9f14;_0x3e5039[_0x47d22c(0x476)]&&_0x3e5039['ranges'][_0x47d22c(0x331)]>0x0&&_0x3e5039[_0x47d22c(0x44b)]&&_0x201bc1(_0x3e5039[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x1a4a03=>({'range':_0x1a4a03,'unitId':_0x3e5039['unitId'],'subUnitId':_0x3e5039[_0x47d22c(0x44b)],'showText':'setRowHeight'})),_0x47d22c(0x215));break;}case _0x1b4633['SetWorksheetColWidthMutation']['id']:{let _0x53210d=_0x1e9f14;_0x53210d[_0x47d22c(0x476)]&&_0x53210d[_0x47d22c(0x476)][_0x47d22c(0x331)]>0x0&&_0x53210d[_0x47d22c(0x44b)]&&_0x201bc1(_0x53210d[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x545108=>({'range':_0x545108,'unitId':_0x53210d['unitId'],'subUnitId':_0x53210d[_0x47d22c(0x44b)],'showText':_0x47d22c(0x34b)})),_0x47d22c(0x1d2));break;}case _0x1b4633[_0x47d22c(0x398)]['id']:{let _0x5593b4=_0x1e9f14;_0x201bc1(_0x5593b4[_0x47d22c(0x416)][_0x47d22c(0x1d1)](_0x4e11b0=>_0x4e11b0[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x53db54=>({'range':_0x53db54,'unitId':_0x5593b4[_0x47d22c(0x244)],'subUnitId':_0x5593b4[_0x47d22c(0x44b)],'showText':'addRangeProtection'})))[_0x47d22c(0x353)](),'insertBorder');break;}case _0x536eef[_0x47d22c(0x26b)]['id']:{let _0xbe1b7e=_0x1e9f14;_0x201bc1(_0xbe1b7e[_0x47d22c(0x561)][_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0xf1bb7f=>({'range':_0xf1bb7f,'unitId':_0xbe1b7e['unitId'],'subUnitId':_0xbe1b7e[_0x47d22c(0x44b)],'showText':'setCF'})),_0x47d22c(0x28d));break;}case _0xc19dd2['AddDataValidationMutation']['id']:{let _0x3f5e59=_0x1e9f14;_0x201bc1((Array[_0x47d22c(0x3b6)](_0x3f5e59[_0x47d22c(0x561)])?_0x3f5e59['rule']:[_0x3f5e59['rule']])['map'](_0x2f7420=>_0x2f7420[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x24e695=>({'range':_0x24e695,'unitId':_0x3f5e59[_0x47d22c(0x244)],'subUnitId':_0x3f5e59['subUnitId'],'showText':'setDV'})))['flat'](),'insertBorder');break;}case _0x1b4633[_0x47d22c(0x4d2)]['id']:{let _0x51c08d=_0x1e9f14,_0x2b4382=_0x51c08d[_0x47d22c(0x244)],_0x592ded=_0x51c08d[_0x47d22c(0x44b)];_0x51c08d[_0x47d22c(0x29d)]&&_0x51c08d['ruleIds'][_0x47d22c(0x331)]>0x0&&_0x51c08d[_0x47d22c(0x44b)]&&_0x51c08d[_0x47d22c(0x29d)][_0x47d22c(0x399)](_0x239c85=>{const _0x5378ec=_0x47d22c;let _0x21aabb=this[_0x5378ec(0x373)][_0x5378ec(0x53c)](_0x2b4382,_0x592ded,_0x239c85),_0x44b24b=(_0x21aabb==null?void 0x0:_0x21aabb[_0x5378ec(0x476)][_0x5378ec(0x1d1)](_0x45e337=>({'range':_0x45e337,'unitId':_0x2b4382,'subUnitId':_0x592ded,'showText':_0x5378ec(0x2e9)})))||[];_0x44b24b[_0x5378ec(0x331)]>0x0&&_0x201bc1(_0x44b24b,_0x5378ec(0x2cb));});break;}case _0x536eef[_0x47d22c(0x477)]['id']:{let _0x4c707b=_0x1e9f14;if(_0x4c707b[_0x47d22c(0x2c4)]&&_0x4c707b[_0x47d22c(0x44b)]){let _0x3da6e7=this[_0x47d22c(0x4d5)][_0x47d22c(0x53c)](_0x4c707b['unitId'],_0x4c707b[_0x47d22c(0x44b)],_0x4c707b['cfId']);if(_0x3da6e7){let _0x21f82f=_0x3da6e7['ranges'][_0x47d22c(0x1d1)](_0x44de00=>({'range':_0x44de00,'unitId':_0x4c707b[_0x47d22c(0x244)],'subUnitId':_0x4c707b[_0x47d22c(0x44b)],'showText':_0x47d22c(0x41e)}));_0x21f82f[_0x47d22c(0x331)]>0x0&&_0x201bc1(_0x21f82f,_0x47d22c(0x2cb));}}break;}case _0xc19dd2[_0x47d22c(0x3ab)]['id']:{let _0x388be7=_0x1e9f14,_0x27d670=Array[_0x47d22c(0x3b6)](_0x388be7[_0x47d22c(0x4c2)])?_0x388be7[_0x47d22c(0x4c2)]:[_0x388be7[_0x47d22c(0x4c2)]];_0x27d670[_0x47d22c(0x331)]>0x0&&_0x388be7[_0x47d22c(0x44b)]&&_0x27d670['forEach'](_0x57ecf1=>{const _0x3cf4cd=_0x47d22c;let _0x4daa92=this[_0x3cf4cd(0x2b0)][_0x3cf4cd(0x462)](_0x388be7[_0x3cf4cd(0x244)],_0x388be7[_0x3cf4cd(0x44b)],_0x57ecf1),_0x559bc7=(_0x4daa92==null?void 0x0:_0x4daa92['ranges'][_0x3cf4cd(0x1d1)](_0xfd5291=>({'range':_0xfd5291,'unitId':_0x388be7['unitId'],'subUnitId':_0x388be7[_0x3cf4cd(0x44b)],'showText':_0x3cf4cd(0x3b9)})))||[];_0x559bc7[_0x3cf4cd(0x331)]>0x0&&_0x201bc1(_0x559bc7,'deleteBorder');});break;}case _0x1b4633[_0x47d22c(0x3c8)]['id']:{let _0x5934d0=_0x1e9f14;_0x201bc1(_0x5934d0[_0x47d22c(0x561)][_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x234641=>({'range':_0x234641,'unitId':_0x5934d0[_0x47d22c(0x244)],'subUnitId':_0x5934d0[_0x47d22c(0x44b)],'showText':_0x47d22c(0x30b)})),'updateBorder');break;}case _0x1b4633[_0x47d22c(0x428)]['id']:{let _0x44b9d2=_0x1e9f14;_0x201bc1([{'range':_0x44b9d2['range'],'unitId':_0x44b9d2[_0x47d22c(0x244)],'subUnitId':_0x44b9d2[_0x47d22c(0x44b)],'showText':_0x47d22c(0x2a4)}],_0x47d22c(0x2af));break;}case _0x1b4633[_0x47d22c(0x4e8)]['id']:{let _0x1e2995=_0x1e9f14;_0x201bc1([{'range':_0x1e2995[_0x47d22c(0x50f)],'unitId':_0x1e2995[_0x47d22c(0x244)],'subUnitId':_0x1e2995['subUnitId'],'showText':_0x47d22c(0x484)}],_0x47d22c(0x2af));break;}case _0x536eef['SetConditionalRuleMutation']['id']:{let _0x4e02c3=_0x1e9f14;_0x201bc1(_0x4e02c3[_0x47d22c(0x561)][_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x4d116d=>({'range':_0x4d116d,'unitId':_0x4e02c3[_0x47d22c(0x244)],'subUnitId':_0x4e02c3[_0x47d22c(0x44b)],'showText':_0x47d22c(0x314)})),_0x47d22c(0x2af));break;}case _0x536eef[_0x47d22c(0x3c9)]['id']:{let _0x2f0be8=_0x1e9f14,_0xcd065=this[_0x47d22c(0x4d5)][_0x47d22c(0x53c)](_0x2f0be8[_0x47d22c(0x244)],_0x2f0be8[_0x47d22c(0x44b)],_0x2f0be8[_0x47d22c(0x4f9)]['id']),_0x360f9a=this['_conditionalFormattingRuleModel']['getRule'](_0x2f0be8[_0x47d22c(0x244)],_0x2f0be8[_0x47d22c(0x44b)],_0x2f0be8[_0x47d22c(0x482)]['id']);_0xcd065&&_0x201bc1(_0xcd065['ranges'][_0x47d22c(0x1d1)](_0x24bfd2=>({'range':_0x24bfd2,'unitId':_0x2f0be8[_0x47d22c(0x244)],'subUnitId':_0x2f0be8[_0x47d22c(0x44b)],'showText':_0x47d22c(0x232)})),_0x47d22c(0x2cb)),_0x360f9a&&_0x201bc1(_0x360f9a[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x41f77d=>({'range':_0x41f77d,'unitId':_0x2f0be8[_0x47d22c(0x244)],'subUnitId':_0x2f0be8['subUnitId'],'showText':'moveCF'})),_0x47d22c(0x28d));break;}case _0x4a9e0b[_0x47d22c(0x4cc)]['id']:{let _0x7d42f4=_0x1e9f14;_0x201bc1([{'range':_0x7d42f4['range'],'unitId':_0x7d42f4[_0x47d22c(0x244)],'subUnitId':_0x7d42f4[_0x47d22c(0x44b)],'showText':_0x47d22c(0x4fa)}],_0x47d22c(0x2af));break;}case _0x4a9e0b[_0x47d22c(0x519)]['id']:{let _0x1dd83a=_0x1e9f14,_0x45adb1=this[_0x47d22c(0x36e)][_0x47d22c(0x1f5)](_0x1dd83a['unitId'],_0x1dd83a[_0x47d22c(0x44b)]);if(_0x45adb1){let _0x472ca0=_0x45adb1[_0x47d22c(0x501)]();_0x201bc1(_0x472ca0?[{'range':_0x472ca0,'unitId':_0x1dd83a[_0x47d22c(0x244)],'subUnitId':_0x1dd83a[_0x47d22c(0x44b)],'showText':'setFilterCriteria'}]:[],'updateBorder');}break;}case _0x4a9e0b[_0x47d22c(0x4c7)]['id']:{let _0xfb1b42=_0x1e9f14,_0x3dc463=this[_0x47d22c(0x36e)]['getFilterModel'](_0xfb1b42[_0x47d22c(0x244)],_0xfb1b42[_0x47d22c(0x44b)]);if(_0x3dc463){let _0x6af582=_0x3dc463['getRange']();_0x201bc1(_0x6af582?[{'range':_0x6af582,'unitId':_0xfb1b42['unitId'],'subUnitId':_0xfb1b42[_0x47d22c(0x44b)],'showText':'removeFilter'}]:[],_0x47d22c(0x2af));}break;}case _0x4a9e0b[_0x47d22c(0x54b)]['id']:{let _0x11c9ae=_0x1e9f14,_0x1bf008=this[_0x47d22c(0x36e)]['getFilterModel'](_0x11c9ae[_0x47d22c(0x244)],_0x11c9ae[_0x47d22c(0x44b)]);if(_0x1bf008){let _0x1e477e=_0x1bf008[_0x47d22c(0x501)]();_0x201bc1(_0x1e477e?[{'range':_0x1e477e,'unitId':_0x11c9ae['unitId'],'subUnitId':_0x11c9ae[_0x47d22c(0x44b)],'showText':_0x47d22c(0x543)}]:[],_0x47d22c(0x2af));}break;}case _0xc19dd2['UpdateDataValidationMutation']['id']:{let _0xe973f1=_0x1e9f14,_0x853f2b=this[_0x47d22c(0x2b0)][_0x47d22c(0x462)](_0xe973f1[_0x47d22c(0x244)],_0xe973f1[_0x47d22c(0x44b)],_0xe973f1[_0x47d22c(0x4c2)]);_0x853f2b&&_0x201bc1(_0x853f2b[_0x47d22c(0x476)][_0x47d22c(0x1d1)](_0x34d88b=>({'range':_0x34d88b,'unitId':_0xe973f1['unitId'],'subUnitId':_0xe973f1[_0x47d22c(0x44b)],'showText':'setDV'})),_0x47d22c(0x2af));break;}case _0x35dc1e[_0x47d22c(0x556)]['id']:{let _0x3fec6e=_0x1e9f14,_0x27236c=_0x3fec6e[_0x47d22c(0x244)],_0x22a4c0=_0x3fec6e[_0x47d22c(0x44b)],_0x476226=_0x3fec6e[_0x47d22c(0x2b6)];_0x3fec6e[_0x47d22c(0x2b6)]&&_0x22a4c0&&Object[_0x47d22c(0x573)](_0x3fec6e['sparklineConfigMap'])['forEach'](_0x382a2c=>{const _0x4dc50e=_0x47d22c;let _0x21e11c=_0x476226[_0x382a2c];_0x201bc1(_0x2146fe(_0x21e11c[_0x4dc50e(0x410)])[_0x4dc50e(0x1d1)](_0x99d052=>({'range':_0x99d052,'unitId':_0x27236c,'subUnitId':_0x22a4c0,'showText':_0x4dc50e(0x2f5)})),_0x4dc50e(0x2bc));});break;}case _0x35dc1e[_0x47d22c(0x3fb)]['id']:{let _0x47292a=_0x1e9f14;_0x47292a[_0x47d22c(0x2d6)]&&_0x47292a[_0x47d22c(0x2d6)][_0x47d22c(0x331)]>0x0&&_0x47292a[_0x47d22c(0x44b)]&&_0x47292a[_0x47d22c(0x2d6)][_0x47d22c(0x399)](_0x183849=>{const _0x554445=_0x47d22c;let _0x4224f7=this[_0x554445(0x4cb)][_0x554445(0x56f)](_0x47292a['unitId'],_0x47292a[_0x554445(0x44b)],_0x183849);_0x4224f7&&_0x201bc1(_0x2146fe(_0x4224f7[_0x554445(0x410)][_0x554445(0x32a)]())[_0x554445(0x1d1)](_0x472b9d=>({'range':_0x472b9d,'unitId':_0x47292a[_0x554445(0x244)],'subUnitId':_0x47292a['subUnitId'],'showText':_0x554445(0x1d3)})),_0x554445(0x3c0));});break;}case _0x35dc1e['RemoveSheetSparklineMutation']['id']:{let _0x26425e=_0x1e9f14;_0x26425e[_0x47d22c(0x2d6)]&&_0x26425e[_0x47d22c(0x2d6)][_0x47d22c(0x331)]>0x0&&_0x26425e[_0x47d22c(0x44b)]&&_0x26425e[_0x47d22c(0x2d6)][_0x47d22c(0x399)](_0x44bf79=>{const _0x49dc3d=_0x47d22c;let _0x5319ba=this[_0x49dc3d(0x4cb)][_0x49dc3d(0x56f)](_0x26425e[_0x49dc3d(0x244)],_0x26425e[_0x49dc3d(0x44b)],_0x44bf79);_0x5319ba&&_0x201bc1(_0x2146fe(_0x5319ba[_0x49dc3d(0x410)][_0x49dc3d(0x32a)]())[_0x49dc3d(0x1d1)](_0x556d6e=>({'range':_0x556d6e,'unitId':_0x26425e[_0x49dc3d(0x244)],'subUnitId':_0x26425e[_0x49dc3d(0x44b)],'showText':_0x49dc3d(0x457)})),_0x49dc3d(0x365));});break;}case _0x1d08d2[_0x47d22c(0x32e)]['id']:{let _0x93ad8f=_0x1e9f14;_0x93ad8f[_0x47d22c(0x27c)]&&_0x93ad8f[_0x47d22c(0x44b)]&&_0x201bc1([{'range':_0x93ad8f[_0x47d22c(0x50f)],'unitId':_0x93ad8f[_0x47d22c(0x244)],'subUnitId':_0x93ad8f[_0x47d22c(0x44b)],'showText':_0x47d22c(0x514)}],_0x47d22c(0x2bc));break;}case _0x1d08d2['DeleteSheetTableMutation']['id']:{let _0x1f90fd=_0x1e9f14;if(_0x1f90fd[_0x47d22c(0x27c)]&&_0x1f90fd[_0x47d22c(0x44b)]){var _0x599f35;let _0x4dbcc5=(_0x599f35=this['_sheetTableService'][_0x47d22c(0x1e5)](_0x1f90fd[_0x47d22c(0x244)],_0x1f90fd['tableId']))==null?void 0x0:_0x599f35[_0x47d22c(0x50f)];_0x4dbcc5&&_0x201bc1([{'range':_0x4dbcc5,'unitId':_0x1f90fd['unitId'],'subUnitId':_0x1f90fd['subUnitId'],'showText':_0x47d22c(0x458)}],_0x47d22c(0x365));}break;}case _0x1d08d2['SetSheetTableFilterMutation']['id']:{let _0xbec68e=_0x1e9f14;if(_0xbec68e['tableId']){let _0x13fd27=this[_0x47d22c(0x2bd)][_0x47d22c(0x1e5)](_0xbec68e['unitId'],_0xbec68e[_0x47d22c(0x27c)]);_0x13fd27&&_0x13fd27['range']&&_0x13fd27[_0x47d22c(0x44b)]&&(_0x43ce50[_0x47d22c(0x27b)][_0x47d22c(0x3a2)](_0x13fd27[_0x47d22c(0x44b)]),_0x201bc1([{'range':_0x13fd27[_0x47d22c(0x50f)],'unitId':_0xbec68e['unitId'],'subUnitId':_0x13fd27[_0x47d22c(0x44b)],'showText':_0x47d22c(0x2ba)}],'update'));}break;}case _0x1d08d2[_0x47d22c(0x4c0)]['id']:{let _0x47e02c=_0x1e9f14;if(_0x47e02c[_0x47d22c(0x27c)]&&_0x47e02c[_0x47d22c(0x44b)]){var _0x121ede;let _0x1d34ba=(_0x121ede=this[_0x47d22c(0x2bd)][_0x47d22c(0x1e5)](_0x47e02c[_0x47d22c(0x244)],_0x47e02c['tableId']))==null?void 0x0:_0x121ede[_0x47d22c(0x50f)];_0x1d34ba&&_0x201bc1([{'range':_0x1d34ba,'unitId':_0x47e02c[_0x47d22c(0x244)],'subUnitId':_0x47e02c[_0x47d22c(0x44b)],'showText':_0x47d22c(0x3cf)}],_0x47d22c(0x3c0));}break;}case _0xde9a52['AddPivotTableMutation']['id']:{let _0x51e425=_0x1e9f14;if(_0x51e425['pivotTableId']&&_0x51e425['subUnitId']){var _0x5e8480;let _0x3a826d=(_0x5e8480=this['_sheetsPivotTableConfigModel'][_0x47d22c(0x3a1)](_0x51e425[_0x47d22c(0x244)],_0x51e425[_0x47d22c(0x44b)],_0x51e425[_0x47d22c(0x24e)]))==null?void 0x0:_0x5e8480[_0x47d22c(0x3e9)];_0x3a826d&&_0x201bc1((0x0,_0xde9a52[_0x47d22c(0x541)])(_0x3a826d)[_0x47d22c(0x1d1)](_0x37965f=>({'range':_0x37965f,'unitId':_0x51e425[_0x47d22c(0x244)],'subUnitId':_0x51e425[_0x47d22c(0x44b)],'showText':_0x47d22c(0x515)})),_0x47d22c(0x2bc));}break;}case _0xde9a52[_0x47d22c(0x1ea)]['id']:{let _0x41b8a6=_0x1e9f14;if(_0x41b8a6['pivotTableId']&&_0x41b8a6[_0x47d22c(0x44b)]){var _0x5d0f31;let _0x206f3c=(_0x5d0f31=this[_0x47d22c(0x415)][_0x47d22c(0x3a1)](_0x41b8a6[_0x47d22c(0x244)],_0x41b8a6[_0x47d22c(0x44b)],_0x41b8a6[_0x47d22c(0x24e)]))==null?void 0x0:_0x5d0f31[_0x47d22c(0x3e9)];_0x206f3c&&_0x201bc1((0x0,_0xde9a52['unionPivotViewRange'])(_0x206f3c)[_0x47d22c(0x1d1)](_0x31a542=>({'range':_0x31a542,'unitId':_0x41b8a6['unitId'],'subUnitId':_0x41b8a6[_0x47d22c(0x44b)],'showText':_0x47d22c(0x4bd)})),_0x47d22c(0x365));}break;}case _0xde9a52['SetPivotOptionMutation']['id']:case _0xde9a52[_0x47d22c(0x4e2)]['id']:case _0xde9a52[_0x47d22c(0x3f6)]['id']:case _0xde9a52[_0x47d22c(0x2c2)]['id']:case _0xde9a52[_0x47d22c(0x3d6)]['id']:case _0xde9a52[_0x47d22c(0x250)]['id']:case _0xde9a52[_0x47d22c(0x307)]['id']:case _0xde9a52[_0x47d22c(0x3d5)]['id']:case _0xde9a52['UpdatePivotFieldSourceInfoMutation']['id']:case _0xde9a52[_0x47d22c(0x1e3)]['id']:case _0xde9a52[_0x47d22c(0x518)]['id']:case _0xde9a52[_0x47d22c(0x552)]['id']:case _0xde9a52[_0x47d22c(0x4f2)]['id']:case _0xde9a52[_0x47d22c(0x4ac)]['id']:case _0xde9a52[_0x47d22c(0x530)]['id']:{let _0x480f7d=_0x1e9f14,_0x559979=_0x47d22c(0x284);if(_0x518e24===_0xde9a52['SetPivotOptionMutation']['id']?_0x559979=_0x47d22c(0x284):_0x518e24===_0xde9a52[_0x47d22c(0x4e2)]['id']?_0x559979=_0x47d22c(0x1e8):_0x518e24===_0xde9a52[_0x47d22c(0x3f6)]['id']?_0x559979='updatePivotSource':_0x518e24===_0xde9a52[_0x47d22c(0x2c2)]['id']?_0x559979=_0x47d22c(0x508):_0x518e24===_0xde9a52[_0x47d22c(0x3d6)]['id']?_0x559979=_0x47d22c(0x2a0):_0x518e24===_0xde9a52[_0x47d22c(0x250)]['id']?_0x559979='renamePivotField':_0x518e24===_0xde9a52[_0x47d22c(0x307)]['id']?_0x559979='updateFieldPosition':_0x518e24===_0xde9a52[_0x47d22c(0x3d5)]['id']?_0x559979=_0x47d22c(0x40a):_0x518e24===_0xde9a52['UpdatePivotFieldSourceInfoMutation']['id']?_0x559979=_0x47d22c(0x235):_0x518e24===_0xde9a52[_0x47d22c(0x1e3)]['id']?_0x559979='setPivotFilter':_0x518e24===_0xde9a52[_0x47d22c(0x518)]['id']?_0x559979=_0x47d22c(0x475):_0x518e24===_0xde9a52[_0x47d22c(0x552)]['id']?_0x559979=_0x47d22c(0x503):_0x518e24===_0xde9a52[_0x47d22c(0x4f2)]['id']?_0x559979=_0x47d22c(0x35f):_0x518e24===_0xde9a52[_0x47d22c(0x530)]['id']?_0x559979=_0x47d22c(0x325):_0x518e24===_0xde9a52[_0x47d22c(0x4ac)]['id']&&(_0x559979=_0x47d22c(0x39d)),_0x480f7d[_0x47d22c(0x24e)]&&_0x480f7d[_0x47d22c(0x44b)]){var _0x1e79e4;let _0x54bcc5=(_0x1e79e4=this[_0x47d22c(0x415)][_0x47d22c(0x3a1)](_0x480f7d[_0x47d22c(0x244)],_0x480f7d['subUnitId'],_0x480f7d[_0x47d22c(0x24e)]))==null?void 0x0:_0x1e79e4[_0x47d22c(0x3e9)];_0x54bcc5&&_0x201bc1((0x0,_0xde9a52['unionPivotViewRange'])(_0x54bcc5)[_0x47d22c(0x1d1)](_0x3b8b39=>({'range':_0x3b8b39,'unitId':_0x480f7d[_0x47d22c(0x244)],'subUnitId':_0x480f7d[_0x47d22c(0x44b)],'showText':_0x559979})),_0x47d22c(0x3c0));}break;}case _0x563273[_0x47d22c(0x22d)]['id']:{let _0x3f421e=_0x1e9f14;_0x3f421e['chartId']&&_0x43ce50[_0x47d22c(0x262)]['push']({'drawingId':_0x3f421e[_0x47d22c(0x38d)],'unitId':_0x3f421e[_0x47d22c(0x244)],'subUnitId':_0x3f421e[_0x47d22c(0x44b)],'showText':_0x3c90a6});break;}case _0x563273[_0x47d22c(0x49c)]['id']:{let _0x14bc01=_0x1e9f14;_0x14bc01['chartId']&&_0x43ce50[_0x47d22c(0x23e)][_0x47d22c(0x3a2)]({'drawingId':_0x14bc01[_0x47d22c(0x38d)],'unitId':_0x14bc01[_0x47d22c(0x244)],'subUnitId':_0x14bc01[_0x47d22c(0x44b)],'showText':_0x3c90a6});break;}case _0x563273[_0x47d22c(0x282)]['id']:{let _0x3edd8d=_0x1e9f14;if(_0x3edd8d[_0x47d22c(0x4aa)]){let _0xa5a172=this['_sheetsChartService'][_0x47d22c(0x46e)](_0x3edd8d[_0x47d22c(0x244)],_0x3edd8d[_0x47d22c(0x4aa)]);_0xa5a172&&(_0x43ce50[_0x47d22c(0x27b)][_0x47d22c(0x3a2)](_0xa5a172),_0x43ce50[_0x47d22c(0x3c4)]['push']({'drawingId':_0x3edd8d['chartModelId'],'unitId':_0x3edd8d['unitId'],'subUnitId':_0xa5a172,'showText':_0x3c90a6}));}break;}case _0x563273[_0x47d22c(0x338)]['id']:{let _0x316f20=_0x1e9f14;if(_0x316f20[_0x47d22c(0x4aa)]){let _0x37e216=this['_sheetsChartService'][_0x47d22c(0x46e)](_0x316f20[_0x47d22c(0x244)],_0x316f20[_0x47d22c(0x4aa)]);_0x37e216&&(_0x43ce50[_0x47d22c(0x27b)][_0x47d22c(0x3a2)](_0x37e216),_0x43ce50[_0x47d22c(0x3c4)][_0x47d22c(0x3a2)]({'drawingId':_0x316f20['chartModelId'],'unitId':_0x316f20[_0x47d22c(0x244)],'subUnitId':_0x37e216,'showText':_0x3c90a6}));}break;}case _0x5ba16e['InsertSheetsShapeMutation']['id']:{let _0x4e57ab=_0x1e9f14;_0x4e57ab['shapeId']&&_0x43ce50[_0x47d22c(0x262)][_0x47d22c(0x3a2)]({'drawingId':_0x4e57ab[_0x47d22c(0x31f)],'unitId':_0x4e57ab[_0x47d22c(0x244)],'subUnitId':_0x4e57ab[_0x47d22c(0x44b)],'showText':_0x3c90a6});break;}case _0x5ba16e[_0x47d22c(0x42b)]['id']:{let _0x7df490=_0x1e9f14;_0x7df490[_0x47d22c(0x31f)]&&_0x43ce50['deleteDrawings']['push']({'drawingId':_0x7df490[_0x47d22c(0x31f)],'unitId':_0x7df490[_0x47d22c(0x244)],'subUnitId':_0x7df490[_0x47d22c(0x44b)],'showText':_0x3c90a6});break;}case _0x5ba16e[_0x47d22c(0x2e8)]['id']:case _0x5ba16e['UpdateSheetsShapeTypeMutation']['id']:{let _0x4d1c8d=_0x1e9f14;_0x4d1c8d[_0x47d22c(0x31f)]&&_0x43ce50[_0x47d22c(0x3c4)][_0x47d22c(0x3a2)]({'drawingId':_0x4d1c8d[_0x47d22c(0x31f)],'unitId':_0x4d1c8d[_0x47d22c(0x244)],'subUnitId':_0x4d1c8d[_0x47d22c(0x44b)],'showText':_0x3c90a6});break;}case _0x6b353d['SetDrawingApplyMutation']['id']:{let _0x5a06e6=_0x1e9f14,_0x4863d7=_0x5a06e6[_0x47d22c(0x343)],_0x5ace50=_0x5a06e6[_0x47d22c(0x391)],_0x503f07=_0x5ace50!==_0x6b353d['DrawingApplyType'][_0x47d22c(0x420)]&&_0x5ace50!==_0x6b353d[_0x47d22c(0x298)]['REMOVE'],_0x29d313=_0x5ace50===_0x6b353d[_0x47d22c(0x298)]['INSERT'],_0x11f282=_0x5ace50===_0x6b353d['DrawingApplyType'][_0x47d22c(0x44c)],_0x506e4a=_0x3c90a6;if(_0x5ace50===_0x6b353d[_0x47d22c(0x298)]['INSERT']?_0x506e4a=this[_0x47d22c(0x3b1)]['t']('editHistory.action.insertDrawing'):_0x5ace50===_0x6b353d['DrawingApplyType']['REMOVE']&&(_0x506e4a=this[_0x47d22c(0x3b1)]['t'](_0x47d22c(0x33b))),Array[_0x47d22c(0x3b6)](_0x4863d7))_0x4863d7[_0x47d22c(0x399)](_0x17339d=>{const _0x395445=_0x47d22c;if('drawingId'in _0x17339d&&_0x17339d[_0x395445(0x2fc)])_0x503f07?_0x43ce50[_0x395445(0x3c4)][_0x395445(0x3a2)]({'drawingId':_0x17339d[_0x395445(0x2fc)],'unitId':_0x5a06e6[_0x395445(0x244)],'subUnitId':_0x5a06e6[_0x395445(0x44b)],'showText':_0x506e4a}):_0x29d313?_0x43ce50[_0x395445(0x262)]['push']({'drawingId':_0x17339d[_0x395445(0x2fc)],'unitId':_0x5a06e6[_0x395445(0x244)],'subUnitId':_0x5a06e6[_0x395445(0x44b)],'showText':_0x506e4a}):_0x11f282&&_0x43ce50[_0x395445(0x23e)][_0x395445(0x3a2)]({'drawingId':_0x17339d['drawingId'],'unitId':_0x5a06e6[_0x395445(0x244)],'subUnitId':_0x5a06e6[_0x395445(0x44b)],'showText':_0x506e4a});else{if(_0x395445(0x205)in _0x17339d&&'children'in _0x17339d){var _0x4aec95,_0x53b0d6;(_0x4aec95=_0x17339d[_0x395445(0x205)])!=null&&_0x4aec95['drawingId']&&(_0x503f07?_0x43ce50[_0x395445(0x3c4)][_0x395445(0x3a2)]({'drawingId':_0x17339d[_0x395445(0x205)][_0x395445(0x2fc)],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6[_0x395445(0x44b)],'showText':_0x506e4a}):_0x29d313?_0x43ce50['insertDrawings'][_0x395445(0x3a2)]({'drawingId':_0x17339d[_0x395445(0x205)][_0x395445(0x2fc)],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6['subUnitId'],'showText':_0x506e4a}):_0x11f282&&_0x43ce50[_0x395445(0x23e)]['push']({'drawingId':_0x17339d[_0x395445(0x205)][_0x395445(0x2fc)],'unitId':_0x5a06e6[_0x395445(0x244)],'subUnitId':_0x5a06e6[_0x395445(0x44b)],'showText':_0x506e4a})),(_0x53b0d6=_0x17339d['children'])==null||_0x53b0d6[_0x395445(0x399)](_0x337fa9=>{const _0x430af0=_0x395445;_0x337fa9[_0x430af0(0x2fc)]&&(_0x503f07?_0x43ce50[_0x430af0(0x3c4)][_0x430af0(0x3a2)]({'drawingId':_0x337fa9[_0x430af0(0x2fc)],'unitId':_0x5a06e6[_0x430af0(0x244)],'subUnitId':_0x5a06e6[_0x430af0(0x44b)],'showText':_0x506e4a}):_0x29d313?_0x43ce50[_0x430af0(0x262)]['push']({'drawingId':_0x337fa9['drawingId'],'unitId':_0x5a06e6[_0x430af0(0x244)],'subUnitId':_0x5a06e6[_0x430af0(0x44b)],'showText':_0x506e4a}):_0x11f282&&_0x43ce50['deleteDrawings']['push']({'drawingId':_0x337fa9[_0x430af0(0x2fc)],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6[_0x430af0(0x44b)],'showText':_0x506e4a}));});}}});else{if(_0x4863d7&&typeof _0x4863d7=='object'){if(_0x47d22c(0x315)in _0x4863d7&&Array['isArray'](_0x4863d7[_0x47d22c(0x315)]))_0x4863d7['drawingIds'][_0x47d22c(0x399)](_0x98cfe3=>{const _0x1f97ea=_0x47d22c;_0x503f07?_0x43ce50[_0x1f97ea(0x3c4)][_0x1f97ea(0x3a2)]({'drawingId':_0x98cfe3,'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6[_0x1f97ea(0x44b)],'showText':_0x506e4a}):_0x29d313?_0x43ce50[_0x1f97ea(0x262)][_0x1f97ea(0x3a2)]({'drawingId':_0x98cfe3,'unitId':_0x5a06e6[_0x1f97ea(0x244)],'subUnitId':_0x5a06e6[_0x1f97ea(0x44b)],'showText':_0x506e4a}):_0x11f282&&_0x43ce50[_0x1f97ea(0x23e)][_0x1f97ea(0x3a2)]({'drawingId':_0x98cfe3,'unitId':_0x5a06e6[_0x1f97ea(0x244)],'subUnitId':_0x5a06e6[_0x1f97ea(0x44b)],'showText':_0x506e4a});});else{if(_0x47d22c(0x205)in _0x4863d7&&_0x47d22c(0x48d)in _0x4863d7){var _0x403a16,_0x41dbf9;(_0x403a16=_0x4863d7[_0x47d22c(0x205)])!=null&&_0x403a16[_0x47d22c(0x2fc)]&&(_0x503f07?_0x43ce50[_0x47d22c(0x3c4)][_0x47d22c(0x3a2)]({'drawingId':_0x4863d7['parent'][_0x47d22c(0x2fc)],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6[_0x47d22c(0x44b)],'showText':_0x506e4a}):_0x29d313?_0x43ce50[_0x47d22c(0x262)][_0x47d22c(0x3a2)]({'drawingId':_0x4863d7[_0x47d22c(0x205)][_0x47d22c(0x2fc)],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6['subUnitId'],'showText':_0x506e4a}):_0x11f282&&_0x43ce50['deleteDrawings'][_0x47d22c(0x3a2)]({'drawingId':_0x4863d7[_0x47d22c(0x205)][_0x47d22c(0x2fc)],'unitId':_0x5a06e6[_0x47d22c(0x244)],'subUnitId':_0x5a06e6[_0x47d22c(0x44b)],'showText':_0x506e4a})),(_0x41dbf9=_0x4863d7['children'])==null||_0x41dbf9[_0x47d22c(0x399)](_0x314762=>{const _0x51e262=_0x47d22c;_0x314762[_0x51e262(0x2fc)]&&(_0x503f07?_0x43ce50['updateDrawings']['push']({'drawingId':_0x314762[_0x51e262(0x2fc)],'unitId':_0x5a06e6[_0x51e262(0x244)],'subUnitId':_0x5a06e6[_0x51e262(0x44b)],'showText':_0x506e4a}):_0x29d313?_0x43ce50['insertDrawings'][_0x51e262(0x3a2)]({'drawingId':_0x314762['drawingId'],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6[_0x51e262(0x44b)],'showText':_0x506e4a}):_0x11f282&&_0x43ce50[_0x51e262(0x23e)]['push']({'drawingId':_0x314762['drawingId'],'unitId':_0x5a06e6['unitId'],'subUnitId':_0x5a06e6[_0x51e262(0x44b)],'showText':_0x506e4a}));});}}}}break;}}return _0x43ce50;}[_0x3f4fc0(0x233)](_0xbdcc1){const _0x2ed389=_0x3f4fc0;if(_0xbdcc1[_0x2ed389(0x331)]<=0x1)return _0xbdcc1;let _0x89b69c=new Map();return _0xbdcc1[_0x2ed389(0x399)](_0x5ea33a=>{const _0x1a2fa6=_0x2ed389;let {unitId:_0x2ce3ee,subUnitId:_0x1481d0}=_0x5ea33a,_0x42278b=_0x2ce3ee+'-'+_0x1481d0;if(!_0x89b69c['has'](_0x42278b))_0x89b69c['set'](_0x42278b,[_0x5ea33a]);else{var _0x1e289f;(_0x1e289f=_0x89b69c[_0x1a2fa6(0x285)](_0x42278b))==null||_0x1e289f['push'](_0x5ea33a);}}),Array[_0x2ed389(0x422)](_0x89b69c[_0x2ed389(0x28f)]())[_0x2ed389(0x1d1)](_0x212c84=>new _0x1b4633[(_0x2ed389(0x3c2))]()[_0x2ed389(0x317)](..._0x212c84[_0x2ed389(0x1d1)](_0x47ab76=>_0x47ab76[_0x2ed389(0x50f)]))['merge']()[_0x2ed389(0x1d1)](_0x513252=>({'range':_0x513252,'unitId':_0x212c84[0x0]['unitId'],'subUnitId':_0x212c84[0x0]['subUnitId'],'showText':_0x212c84[0x0][_0x2ed389(0x32c)],'highlightRow':_0x212c84[0x0][_0x2ed389(0x21b)],'highlightColumn':_0x212c84[0x0][_0x2ed389(0x55b)]})))[_0x2ed389(0x353)]();}};_0x45320b=_0x45b447([_0x24cc5e(0x0,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x504091)),_0x24cc5e(0x1,_0x2550be['ITransformService']),_0x24cc5e(0x2,_0x2550be['ISnapshotServerService']),_0x24cc5e(0x3,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1b4633['RangeProtectionRuleModel'])),_0x24cc5e(0x4,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x536eef[_0x3f4fc0(0x275)])),_0x24cc5e(0x5,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x5e4e88[_0x3f4fc0(0x2d1)])),_0x24cc5e(0x6,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x4a9e0b[_0x3f4fc0(0x295)])),_0x24cc5e(0x7,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x35dc1e[_0x3f4fc0(0x4ab)])),_0x24cc5e(0x8,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0xde9a52[_0x3f4fc0(0x35b)])),_0x24cc5e(0x9,(0x0,_0x1249e8['Inject'])(_0x1d08d2[_0x3f4fc0(0x526)])),_0x24cc5e(0xa,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8[_0x3f4fc0(0x3f2)])),_0x24cc5e(0xb,(0x0,_0x1249e8['Inject'])(_0x563273['SheetsChartService'])),_0x24cc5e(0xc,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x483938))],_0x45320b);function _0xc54e60(_0x2d71ad){const _0x142c00=_0x3f4fc0;return new _0x1249e8[(_0x142c00(0x1f7))](_0x2d71ad)[_0x142c00(0x3a9)]();}function _0x2146fe(_0x3726b4){const _0x53037a=_0x3f4fc0;let _0x211268=new _0x1249e8[(_0x53037a(0x1f7))](_0x3726b4),_0x23d9f6=new _0x1249e8[(_0x53037a(0x1f7))]();return _0x211268[_0x53037a(0x1ff)]((_0x55f805,_0x10ec0c)=>{_0x23d9f6['setValue'](_0x55f805,_0x10ec0c,0x1);}),(0x0,_0x1b4633[_0x53037a(0x4da)])(_0x23d9f6);}var _0x580f25=class extends _0x4a53b9['Shape']{constructor(_0x4cf4d8,_0xb7b920){const _0x5d1ae2=_0x3f4fc0;if(super(_0x4cf4d8,_0xb7b920),_0x2a49f8(this,_0x5d1ae2(0x375),void 0x0),_0x2a49f8(this,_0x5d1ae2(0x3ec),void 0x0),_0x2a49f8(this,_0x5d1ae2(0x2c3),void 0x0),_0x2a49f8(this,_0x5d1ae2(0x230),0x4),_0x2a49f8(this,'_blinkTimer',void 0x0),_0x2a49f8(this,'_blinkIntervalTimer',void 0x0),_0x2a49f8(this,_0x5d1ae2(0x448),!0x0),_0x2a49f8(this,'_name',''),_0x2a49f8(this,'_hovered',!0x1),_0x2a49f8(this,'_labelPosition','top'),_0x2a49f8(this,_0x5d1ae2(0x309),void 0x0),_0xb7b920){var _0x4e773d;if(this[_0x5d1ae2(0x441)](_0xb7b920),_0xb7b920[_0x5d1ae2(0x308)]&&((_0x4e773d=_0xb7b920['highlightSecond'])==null?this[_0x5d1ae2(0x230)]:_0x4e773d)){var _0x204741;this[_0x5d1ae2(0x412)]((_0x204741=_0xb7b920[_0x5d1ae2(0x551)])==null?this[_0x5d1ae2(0x230)]:_0x204741);}}this[_0x5d1ae2(0x20b)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5d1ae2(0x3fe)]['subscribeEvent'](()=>this[_0x5d1ae2(0x441)]({'hovered':!0x1}));}[_0x3f4fc0(0x441)](_0x17d4ab){const _0x1ca773=_0x3f4fc0;var _0x462a45,_0x1b1c4c,_0x27f837,_0x5c273b,_0x2594ee,_0x466371;this[_0x1ca773(0x375)]=(_0x462a45=_0x17d4ab['color'])==null?this[_0x1ca773(0x375)]:_0x462a45,this[_0x1ca773(0x3ec)]=(_0x1b1c4c=_0x17d4ab[_0x1ca773(0x469)])==null?this[_0x1ca773(0x3ec)]:_0x1b1c4c,this[_0x1ca773(0x2b5)]=(_0x27f837=_0x17d4ab[_0x1ca773(0x25a)])==null?this[_0x1ca773(0x2b5)]:_0x27f837,this[_0x1ca773(0x409)]=(_0x5c273b=_0x17d4ab[_0x1ca773(0x54c)])==null?this[_0x1ca773(0x409)]:_0x5c273b,this[_0x1ca773(0x2cf)]=(_0x2594ee=_0x17d4ab[_0x1ca773(0x39a)])==null?this[_0x1ca773(0x2cf)]:_0x2594ee,this['_showText']=(_0x466371=_0x17d4ab[_0x1ca773(0x32c)])==null?this[_0x1ca773(0x309)]:_0x466371,_0x17d4ab[_0x1ca773(0x551)]!==void 0x0&&(this[_0x1ca773(0x230)]=_0x17d4ab[_0x1ca773(0x551)]),_0x17d4ab[_0x1ca773(0x308)]!==void 0x0&&(this[_0x1ca773(0x2c3)]=_0x17d4ab[_0x1ca773(0x308)]),this[_0x1ca773(0x3a4)]({'width':_0x17d4ab['width'],'height':_0x17d4ab[_0x1ca773(0x3b2)]});}['_startBlinking'](_0x480b6c){const _0x95d14d=_0x3f4fc0;this[_0x95d14d(0x51c)](),this[_0x95d14d(0x448)]=!0x0,this[_0x95d14d(0x47c)]=window[_0x95d14d(0x425)](()=>{const _0xd13891=_0x95d14d;this[_0xd13891(0x448)]=!this[_0xd13891(0x448)],this['makeDirty'](!0x0);},0x1f4),this[_0x95d14d(0x2c0)]=window[_0x95d14d(0x456)](()=>{const _0x3031f8=_0x95d14d;this[_0x3031f8(0x51c)](),this[_0x3031f8(0x448)]=!0x0,this[_0x3031f8(0x397)](!0x0);},_0x480b6c*0x3e8);}[_0x3f4fc0(0x51c)](){const _0x31cfc4=_0x3f4fc0;this[_0x31cfc4(0x47c)]&&(window[_0x31cfc4(0x41c)](this[_0x31cfc4(0x47c)]),this[_0x31cfc4(0x47c)]=void 0x0),this[_0x31cfc4(0x2c0)]&&(window[_0x31cfc4(0x276)](this['_blinkTimer']),this[_0x31cfc4(0x2c0)]=void 0x0);}[_0x3f4fc0(0x2da)](_0xbc768e){return!0x1;}[_0x3f4fc0(0x38e)](){const _0x29df1e=_0x3f4fc0;this[_0x29df1e(0x51c)](),super['dispose']();}[_0x3f4fc0(0x4c4)](_0x5d624c){const _0x16b32b=_0x3f4fc0;let _0x4ba8f4=this[_0x16b32b(0x375)];this[_0x16b32b(0x2c3)]&&!this[_0x16b32b(0x448)]&&(_0x4ba8f4=this[_0x16b32b(0x29e)](this[_0x16b32b(0x375)])),_0x5d624c[_0x16b32b(0x243)](),_0x5d624c[_0x16b32b(0x1dd)]=_0x4ba8f4,_0x5d624c[_0x16b32b(0x557)]=_0x4ba8f4,_0x5d624c[_0x16b32b(0x575)]=0x4,this[_0x16b32b(0x3ec)]===_0x16b32b(0x2f6)?this[_0x16b32b(0x1fa)](_0x5d624c):this['_drawVerticalArrow'](_0x5d624c),_0x5d624c[_0x16b32b(0x30e)](),(this[_0x16b32b(0x409)]||this['_showText'])&&this[_0x16b32b(0x2b5)]&&(_0x5d624c[_0x16b32b(0x243)](),this['_direction']===_0x16b32b(0x2f6)?_0x5d624c['transform'](0x1,0x0,0x0,0x1,this[_0x16b32b(0x1e2)],this['_labelPosition']===_0x16b32b(0x434)?0x0:-0x14):_0x5d624c['transform'](0x1,0x0,0x0,0x1,this[_0x16b32b(0x1e2)],this[_0x16b32b(0x2cf)]===_0x16b32b(0x434)?this[_0x16b32b(0x3b2)]:-0x14),this[_0x16b32b(0x53a)](_0x5d624c,this[_0x16b32b(0x2b5)],_0x4ba8f4),_0x5d624c[_0x16b32b(0x30e)]());}[_0x3f4fc0(0x1fa)](_0x1107ee){const _0x29b8cc=_0x3f4fc0;let _0x51d330=this['height']/0x2,_0x30402d=this['width']-0xc;_0x1107ee[_0x29b8cc(0x27e)](),_0x1107ee[_0x29b8cc(0x2eb)](0xc,_0x51d330),_0x1107ee[_0x29b8cc(0x1e4)](_0x30402d,_0x51d330),_0x1107ee[_0x29b8cc(0x4e1)](),_0x1107ee[_0x29b8cc(0x27e)](),_0x1107ee[_0x29b8cc(0x2eb)](0x0,_0x51d330),_0x1107ee[_0x29b8cc(0x1e4)](0xc,_0x51d330-0xc/0x2),_0x1107ee[_0x29b8cc(0x1e4)](0xc,_0x51d330+0xc/0x2),_0x1107ee['closePath'](),_0x1107ee[_0x29b8cc(0x303)](),_0x1107ee[_0x29b8cc(0x27e)](),_0x1107ee[_0x29b8cc(0x2eb)](this[_0x29b8cc(0x1e2)],_0x51d330),_0x1107ee[_0x29b8cc(0x1e4)](this['width']-0xc,_0x51d330-0xc/0x2),_0x1107ee[_0x29b8cc(0x1e4)](this[_0x29b8cc(0x1e2)]-0xc,_0x51d330+0xc/0x2),_0x1107ee[_0x29b8cc(0x4ef)](),_0x1107ee[_0x29b8cc(0x303)]();}[_0x3f4fc0(0x274)](_0x3bbf64){const _0x5cfe3c=_0x3f4fc0;let _0xac7523=this['width']/0x2,_0x3ab3e8=this[_0x5cfe3c(0x3b2)]-0xc;_0x3bbf64[_0x5cfe3c(0x27e)](),_0x3bbf64[_0x5cfe3c(0x2eb)](_0xac7523,0xc),_0x3bbf64[_0x5cfe3c(0x1e4)](_0xac7523,_0x3ab3e8),_0x3bbf64[_0x5cfe3c(0x4e1)](),_0x3bbf64[_0x5cfe3c(0x27e)](),_0x3bbf64[_0x5cfe3c(0x2eb)](_0xac7523,0x0),_0x3bbf64[_0x5cfe3c(0x1e4)](_0xac7523-0xc/0x2,0xc),_0x3bbf64[_0x5cfe3c(0x1e4)](_0xac7523+0xc/0x2,0xc),_0x3bbf64[_0x5cfe3c(0x4ef)](),_0x3bbf64[_0x5cfe3c(0x303)](),_0x3bbf64[_0x5cfe3c(0x27e)](),_0x3bbf64['moveTo'](_0xac7523,this[_0x5cfe3c(0x3b2)]),_0x3bbf64[_0x5cfe3c(0x1e4)](_0xac7523-0xc/0x2,this['height']-0xc),_0x3bbf64[_0x5cfe3c(0x1e4)](_0xac7523+0xc/0x2,this['height']-0xc),_0x3bbf64[_0x5cfe3c(0x4ef)](),_0x3bbf64[_0x5cfe3c(0x303)]();}[_0x3f4fc0(0x53a)](_0x4bb8be,_0x213cd9,_0x4951d2){const _0xc673ef=_0x3f4fc0;_0x4bb8be['font']=_0xc673ef(0x21e);let _0x26e946=_0x4bb8be[_0xc673ef(0x3d1)](_0x213cd9)[_0xc673ef(0x1e2)],_0x8b271e=Math[_0xc673ef(0x3ff)](_0x26e946+0x8,0xc8);if(_0x4bb8be[_0xc673ef(0x557)]=_0x4951d2,_0x4bb8be[_0xc673ef(0x27e)](),_0x4bb8be[_0xc673ef(0x2eb)](0x4,0x0),_0x4bb8be[_0xc673ef(0x1e4)](_0x8b271e-0x4,0x0),_0x4bb8be[_0xc673ef(0x437)](_0x8b271e-0x4,0x4,0x4,Math['PI']*0x3/0x2,0x0,!0x1),_0x4bb8be['lineTo'](_0x8b271e,0x10),_0x4bb8be[_0xc673ef(0x437)](_0x8b271e-0x4,0x10,0x4,0x0,Math['PI']/0x2,!0x1),_0x4bb8be[_0xc673ef(0x1e4)](0x0,0x14),_0x4bb8be[_0xc673ef(0x1e4)](0x0,0x4),_0x4bb8be[_0xc673ef(0x437)](0x4,0x4,0x4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4bb8be[_0xc673ef(0x4ef)](),_0x4bb8be[_0xc673ef(0x303)](),_0x4bb8be[_0xc673ef(0x557)]='#FFF',_0x26e946>0xc0){let _0x3c4011='',_0x19f3a8=0x0;for(let _0x5ce8e3 of _0x213cd9){let _0x188c6e=_0x4bb8be[_0xc673ef(0x3d1)](_0x5ce8e3)[_0xc673ef(0x1e2)];if(_0x19f3a8+_0x188c6e<=0xc0-_0x4bb8be[_0xc673ef(0x3d1)](_0xc673ef(0x4c3))[_0xc673ef(0x1e2)])_0x3c4011+=_0x5ce8e3,_0x19f3a8+=_0x188c6e;else{_0x3c4011+='...';break;}}_0x4bb8be[_0xc673ef(0x51f)](_0x3c4011,0x4,0xf);}else _0x4bb8be[_0xc673ef(0x51f)](_0x213cd9,0x4,0xf);}['_getLighterColor'](_0x416c34){const _0x286fa8=_0x3f4fc0;return _0x416c34[_0x286fa8(0x3f5)]('#')?_0x286fa8(0x211)+Number[_0x286fa8(0x270)](_0x416c34[_0x286fa8(0x3df)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x416c34[_0x286fa8(0x3df)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x416c34[_0x286fa8(0x3df)](0x5,0x7),0x10)+_0x286fa8(0x220):_0x416c34[_0x286fa8(0x3f5)]('rgba')?_0x416c34[_0x286fa8(0x4fc)](/[\d.]+\)$/g,'0.2)'):_0x416c34[_0x286fa8(0x3f5)]('rgb')?_0x416c34[_0x286fa8(0x4fc)](_0x286fa8(0x436),_0x286fa8(0x3b4))['replace'](')',',\x200.2)'):_0x416c34;}};let _0x2c1ffe=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x2a0133,_0x2eacff,_0x55b46e,_0x391d22,_0x4d382c,_0x541568,_0x34e16f,_0x5e1ee1){const _0x20d67e=_0x3f4fc0;super(),this[_0x20d67e(0x3eb)]=_0x2a0133,this[_0x20d67e(0x356)]=_0x2eacff,this[_0x20d67e(0x3a6)]=_0x55b46e,this[_0x20d67e(0x2f8)]=_0x391d22,this['_renderManagerService']=_0x4d382c,this[_0x20d67e(0x2e3)]=_0x541568,this[_0x20d67e(0x45e)]=_0x34e16f,this['_drawingManagerService']=_0x5e1ee1,_0x2a49f8(this,_0x20d67e(0x1d6),new Set()),_0x2a49f8(this,_0x20d67e(0x4a7),new Set()),_0x2a49f8(this,_0x20d67e(0x52e),new Set()),_0x2a49f8(this,'_drawingDiffs',new Set()),_0x2a49f8(this,_0x20d67e(0x509),null),this[_0x20d67e(0x2b2)]();}[_0x3f4fc0(0x2b2)](){const _0x308a64=_0x3f4fc0;this[_0x308a64(0x51b)](),this[_0x308a64(0x424)]();}[_0x3f4fc0(0x51b)](){const _0x2f3230=_0x3f4fc0;this['disposeWithMe']((0x0,_0x43cd5a[_0x2f3230(0x532)])([this[_0x2f3230(0x356)][_0x2f3230(0x51d)],this[_0x2f3230(0x2e3)][_0x2f3230(0x452)]])[_0x2f3230(0x527)]((0x0,_0x43cd5a[_0x2f3230(0x224)])(([_0x4a3a20,_0x1fa297])=>{const _0x1cb8bf=_0x2f3230;if(_0x4a3a20===_0x19b843[_0x1cb8bf(0x28b)]&&_0x1fa297){let _0x459784=_0x1fa297[_0x1cb8bf(0x387)];return this[_0x1cb8bf(0x3a6)][_0x1cb8bf(0x548)]['pipe']((0x0,_0x43cd5a[_0x1cb8bf(0x1d1)])(_0x572528=>_0x572528[_0x1cb8bf(0x27b)][_0x1cb8bf(0x331)]===0x0||_0x572528['subUnitIds'][_0x1cb8bf(0x461)](_0x459784)?{'skeleton':_0x1fa297,'versionDiff':_0x572528,'sheetID':_0x459784}:{'skeleton':_0x1fa297,'versionDiff':null}));}return(0x0,_0x43cd5a['of'])({'skeleton':null,'versionDiff':null,'sheetID':null});}))['subscribe'](({skeleton:_0x13e140,versionDiff:_0x113037,sheetID:_0x265fd8})=>{const _0x5e32ba=_0x2f3230;this['_removeDiffMarks'](),_0x13e140&&_0x113037&&_0x265fd8&&this[_0x5e32ba(0x4dd)](_0x13e140,_0x113037,_0x265fd8);})),this['disposeWithMe'](this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2f3230(0x37f)](_0x391b05=>{const _0x260778=_0x2f3230;if(_0x391b05==null)return;let {skeleton:_0x2d1ddf}=_0x391b05,{scene:_0x12da0a}=this[_0x260778(0x3eb)];_0x12da0a[_0x260778(0x3e2)][_0x260778(0x4ee)]((0x0,_0x1249e8[_0x260778(0x2fb)])(_0x393ba3=>{const _0x338525=_0x260778;var _0x29f950,_0x3a6fbf;let {offsetX:_0x476c51,offsetY:_0xcefac1}=_0x393ba3,{x:_0x1c0997,y:_0xe3b206}=_0x12da0a[_0x338525(0x3f9)](_0x4a53b9[_0x338525(0x376)][_0x338525(0x2ea)]([_0x476c51,_0xcefac1])),{scaleX:_0x236369,scaleY:_0x18ad28}=_0x12da0a[_0x338525(0x534)](),_0x16df5a=_0x12da0a['getViewport'](_0x4a53b9[_0x338525(0x249)][_0x338525(0x4b0)]),_0x4c8d99=_0x12da0a[_0x338525(0x306)](_0x4a53b9[_0x338525(0x376)][_0x338525(0x2ea)]([_0x1c0997,_0xe3b206]),_0x16df5a),_0x4844ca=_0x2d1ddf['getCellPositionByOffset'](_0x476c51,_0xcefac1,_0x236369,_0x18ad28,_0x4c8d99);((_0x29f950=this['_lastPointer'])==null?void 0x0:_0x29f950[_0x338525(0x4c5)])===_0x4844ca[_0x338525(0x4c5)]&&((_0x3a6fbf=this[_0x338525(0x509)])==null?void 0x0:_0x3a6fbf[_0x338525(0x4e4)])===_0x4844ca['row']||this[_0x338525(0x1d6)][_0x338525(0x399)](_0x232782=>{const _0xcdb1e8=_0x338525;_0x232782[_0xcdb1e8(0x241)]||_0x232782[_0xcdb1e8(0x523)](_0x4844ca);});},0x64));}));}[_0x3f4fc0(0x424)](){const _0xe3fe3b=_0x3f4fc0;this[_0xe3fe3b(0x292)](this[_0xe3fe3b(0x356)][_0xe3fe3b(0x51d)][_0xe3fe3b(0x37f)](_0x134776=>{const _0x17a6b9=_0xe3fe3b;let _0x41fe3f=new _0x1249e8[(_0x17a6b9(0x404))]();return _0x134776===_0x19b843['Loaded']&&(_0x41fe3f['dispose'](),_0x41fe3f['add'](this[_0x17a6b9(0x3a6)][_0x17a6b9(0x548)][_0x17a6b9(0x37f)](_0x4a28f8=>{const _0x42f17a=_0x17a6b9;this[_0x42f17a(0x537)](_0x4a28f8[_0x42f17a(0x27b)]),_0x4a28f8[_0x42f17a(0x301)]&&this[_0x42f17a(0x45e)]['executeCommand'](_0x1b4633[_0x42f17a(0x490)]['id'],{'unitId':this[_0x42f17a(0x3eb)][_0x42f17a(0x244)],'subUnitId':_0x4a28f8['active']});}))),()=>_0x41fe3f['dispose']();}));}[_0x3f4fc0(0x537)](_0x427e6a){const _0x3088d8=_0x3f4fc0;let _0x2c0c39=this[_0x3088d8(0x2f8)]['getUnit'](this[_0x3088d8(0x3eb)][_0x3088d8(0x244)],_0x1249e8['UniverInstanceType']['UNIVER_SHEET']);if(!_0x2c0c39)return;let _0x377179=_0x2c0c39[_0x3088d8(0x4d3)]();if(_0x427e6a['length']===0x0){_0x377179[_0x3088d8(0x399)](_0x44b202=>{const _0x38a2dc=_0x3088d8;_0x44b202[_0x38a2dc(0x568)]()&&this[_0x38a2dc(0x45e)][_0x38a2dc(0x221)](_0x1b4633['SetWorksheetHideMutation']['id'],{'unitId':this[_0x38a2dc(0x3eb)][_0x38a2dc(0x244)],'subUnitId':_0x44b202[_0x38a2dc(0x2d7)](),'hidden':0x0});});return;}_0x377179[_0x3088d8(0x399)](_0x419792=>{const _0x83f5a5=_0x3088d8;let _0xe67997=_0x419792[_0x83f5a5(0x2d7)](),_0x3a8f2e=_0x427e6a['includes'](_0xe67997),_0xcdd823=_0x419792[_0x83f5a5(0x568)]();_0x3a8f2e&&_0xcdd823?this[_0x83f5a5(0x45e)][_0x83f5a5(0x221)](_0x1b4633[_0x83f5a5(0x390)]['id'],{'unitId':this[_0x83f5a5(0x3eb)][_0x83f5a5(0x244)],'subUnitId':_0xe67997,'hidden':0x0}):!_0x3a8f2e&&!_0xcdd823&&this[_0x83f5a5(0x45e)][_0x83f5a5(0x221)](_0x1b4633[_0x83f5a5(0x390)]['id'],{'unitId':this[_0x83f5a5(0x3eb)][_0x83f5a5(0x244)],'subUnitId':_0xe67997,'hidden':0x1});});}['_updateDiffMarks'](_0x506e62,_0x1d281c,_0x2a4617){const _0x582a8f=_0x3f4fc0;this['_diffs'][_0x582a8f(0x399)](_0xcbe591=>{const _0x1c9215=_0x582a8f;_0xcbe591[_0x1c9215(0x397)]();});let _0x4682ee=this[_0x582a8f(0x2a5)](_0x1d281c,_0x2a4617);this['_diffs']=new Set(_0x4682ee[_0x582a8f(0x48f)](_0x18a17d=>_0x18a17d instanceof _0x5aadf8[_0x582a8f(0x362)])),this['_borderDiffs']=new Set(_0x4682ee[_0x582a8f(0x48f)](_0x33cb3a=>_0x33cb3a instanceof _0x4a53b9[_0x582a8f(0x512)])),this['_arrowDiffs']=new Set(_0x4682ee[_0x582a8f(0x48f)](_0x209089=>_0x209089 instanceof _0x580f25)),_0x4682ee['length']>0x0&&this[_0x582a8f(0x36b)](_0x4682ee[0x0],this[_0x582a8f(0x3eb)][_0x582a8f(0x400)]);}['generateDiffMarks'](_0x49beae,_0x1d7dba){const _0x53b50e=_0x3f4fc0;let _0x4044b5=this[_0x53b50e(0x2e3)][_0x53b50e(0x52a)]();if(!_0x4044b5)return[];let {scene:_0x31ba41}=this['_context'],_0xf2dce=[],_0x1a0db8=_0x366d98=>{const _0x3b0e79=_0x53b50e;if(!_0x366d98)return new Map();let _0x11d44f=new Map();return _0x366d98[_0x3b0e79(0x399)]((_0x5c91cf,_0x5a6e20)=>{const _0x238ad4=_0x3b0e79;let _0x52c9c0=_0x5c91cf[_0x238ad4(0x48f)](_0x2748c1=>_0x2748c1[_0x238ad4(0x44b)]===_0x1d7dba);_0x52c9c0['length']>0x0&&_0x11d44f['set'](_0x5a6e20,_0x52c9c0);}),_0x11d44f;};return this[_0x53b50e(0x4a1)](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae['insertCellRanges']),_0x53b50e(0x1d5),_0xf2dce),this[_0x53b50e(0x4a1)](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae[_0x53b50e(0x49e)]),_0x53b50e(0x200),_0xf2dce),this[_0x53b50e(0x4a1)](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae[_0x53b50e(0x367)]),_0x53b50e(0x39b),_0xf2dce),this['_renderBorderRanges'](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae[_0x53b50e(0x212)]),_0x53b50e(0x1d5),_0xf2dce),this[_0x53b50e(0x499)](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae[_0x53b50e(0x3d2)]),_0x53b50e(0x200),_0xf2dce),this[_0x53b50e(0x499)](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae[_0x53b50e(0x36a)]),_0x53b50e(0x39b),_0xf2dce),this['_renderArrowRanges'](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae[_0x53b50e(0x2d4)]),_0x53b50e(0x321),_0xf2dce),this[_0x53b50e(0x4c1)](_0x31ba41,_0x4044b5,_0x1a0db8(_0x49beae['arrowColumnRanges']),'horizontal',_0xf2dce),_0x49beae['insertDrawings']&&this[_0x53b50e(0x202)](_0x31ba41,_0x49beae[_0x53b50e(0x262)],_0x53b50e(0x1d5),_0xf2dce),_0x49beae['deleteDrawings']&&this[_0x53b50e(0x202)](_0x31ba41,_0x49beae[_0x53b50e(0x23e)],'rgba(198,40,40,0.5)',_0xf2dce),_0x49beae[_0x53b50e(0x3c4)]&&this[_0x53b50e(0x202)](_0x31ba41,_0x49beae[_0x53b50e(0x3c4)],_0x53b50e(0x39b),_0xf2dce),this['_handleOverlappingShapes'](_0xf2dce),_0x31ba41[_0x53b50e(0x542)](_0xf2dce,0x14),_0xf2dce;}['hideDiffMarks'](){const _0x48e8d5=_0x3f4fc0;this[_0x48e8d5(0x1d6)][_0x48e8d5(0x399)](_0x5c85c4=>{const _0x2ee7c7=_0x48e8d5;_0x5c85c4[_0x2ee7c7(0x20a)]();}),this[_0x48e8d5(0x4a7)][_0x48e8d5(0x399)](_0x29a861=>{const _0x379015=_0x48e8d5;_0x29a861[_0x379015(0x20a)]();}),this['_arrowDiffs'][_0x48e8d5(0x399)](_0x194a5f=>{const _0x161dce=_0x48e8d5;_0x194a5f[_0x161dce(0x20a)]();});}[_0x3f4fc0(0x473)](){const _0x195384=_0x3f4fc0;this[_0x195384(0x1d6)][_0x195384(0x399)](_0x3931d7=>{const _0x15ff1e=_0x195384;_0x3931d7[_0x15ff1e(0x489)]();}),this[_0x195384(0x4a7)][_0x195384(0x399)](_0x5ad5a4=>{const _0x59f2be=_0x195384;_0x5ad5a4[_0x59f2be(0x489)]();}),this['_arrowDiffs'][_0x195384(0x399)](_0xcd3024=>{const _0x1732db=_0x195384;_0xcd3024[_0x1732db(0x489)]();});}[_0x3f4fc0(0x355)](){const _0x1c612b=_0x3f4fc0;this[_0x1c612b(0x203)]();}[_0x3f4fc0(0x433)](_0x4b8738,_0x19d6a7){const _0x28572b=_0x3f4fc0;this[_0x28572b(0x36b)](_0x4b8738,_0x19d6a7);}['_renderCellRanges'](_0xcc9bf4,_0x5ca7f0,_0x289273,_0x3e27a8,_0x3d61ee){_0x289273['forEach']((_0x55cab3,_0x57deda)=>{const _0x4e743b=_0xc05f;_0x55cab3[_0x4e743b(0x399)](_0x1a8be2=>{const _0x385f4b=_0x4e743b;var _0x3c38a5;let {range:_0x858215,subUnitId:_0x368436,unitId:_0x2064d2,showText:_0xca8f86='',highlightColumn:_0x549abe,highlightRow:_0x4f6709}=_0x1a8be2,{startColumn:_0xa1b6ad,startRow:_0x3cccc2,endColumn:_0x4388b9,endRow:_0x52304d}=_0x858215,_0x4f0966=(0x0,_0x4bed25[_0x385f4b(0x2e4)])(_0x3cccc2,_0xa1b6ad,_0xcc9bf4,_0x5ca7f0),_0x1b5eb0=(0x0,_0x4bed25['getCoordByCell'])(_0x52304d,_0x4388b9,_0xcc9bf4,_0x5ca7f0),{columnHeaderHeightAndMarginTop:_0x1a1453}=_0x5ca7f0,{startX:_0x531463,startY:_0x27cf14}=_0x4f0966,{endX:_0x582b83,endY:_0x15f146}=_0x1b5eb0,_0x2a1eed=_0x5ca7f0['rowHeaderWidth'],_0x2cd667=_0x5ca7f0[_0x385f4b(0x506)];_0x4f6709&&(_0x531463-=_0x2a1eed),_0x549abe&&(_0x27cf14-=_0x2cd667);let _0x590f38=_0x582b83-_0x531463,_0x4daaea=_0x15f146-_0x27cf14,_0x3ec87e={'labelPosition':_0x27cf14-_0x1a1453>=0x14?'top':_0x385f4b(0x434),'sheetID':_0x368436,'range':_0x858215,'color':_0x3e27a8,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x3e27a8,'name':((_0x3c38a5=this['_historyManagerService'][_0x385f4b(0x2fd)](_0x57deda))==null?void 0x0:_0x3c38a5[_0x385f4b(0x25a)])+'\x20'+_0xca8f86||_0xca8f86,'selection':_0x2064d2+'-'+_0x368436+'-'+_0x858215[_0x385f4b(0x4f6)]+'-'+_0x858215[_0x385f4b(0x43a)]+'-'+_0x858215['endColumn']+'-'+_0x858215['endRow'],'left':_0x531463,'top':_0x27cf14,'width':_0x590f38,'height':_0x4daaea,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0x3d61ee[_0x385f4b(0x3a2)](new _0x5aadf8[(_0x385f4b(0x362))]('',_0x3ec87e));});});}['_renderBorderRanges'](_0x22154e,_0x562920,_0x48b411,_0x340453,_0x2dee7e){const _0x10e713=_0x3f4fc0;_0x48b411[_0x10e713(0x399)]((_0x2875bf,_0x2ce1b7)=>{_0x2875bf['forEach'](_0x3a1253=>{const _0x5c0f72=_0xc05f;var _0x5b46ef;let {range:_0xa1fc1d,subUnitId:_0x3867e7,unitId:_0x44baf3,showText:_0x9c1a9c=''}=_0x3a1253,{startColumn:_0x592911,startRow:_0x24f992,endColumn:_0x1d7126,endRow:_0x5ec8ec}=_0xa1fc1d,_0x34ff14=(0x0,_0x4bed25['getCoordByCell'])(_0x24f992,_0x592911,_0x22154e,_0x562920),_0x5ae3b4=(0x0,_0x4bed25['getCoordByCell'])(_0x5ec8ec,_0x1d7126,_0x22154e,_0x562920),{columnHeaderHeightAndMarginTop:_0x167dd3}=_0x562920,{startX:_0x28701f,startY:_0x3ac559}=_0x34ff14,{endX:_0x274935,endY:_0x2eaabd}=_0x5ae3b4,_0x5e8b9=_0x274935-_0x28701f,_0x164c7e=_0x2eaabd-_0x3ac559,_0x4da48e={'labelPosition':_0x3ac559-_0x167dd3>=0x14?_0x5c0f72(0x337):_0x5c0f72(0x434),'sheetID':_0x3867e7,'range':_0xa1fc1d,'color':_0x340453,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x5c0f72(0x26a),'name':((_0x5b46ef=this[_0x5c0f72(0x356)][_0x5c0f72(0x2fd)](_0x2ce1b7))==null?void 0x0:_0x5b46ef['name'])+'\x20'+_0x9c1a9c||_0x9c1a9c,'selection':_0x44baf3+'-'+_0x3867e7+'-'+_0xa1fc1d[_0x5c0f72(0x4f6)]+'-'+_0xa1fc1d['startRow']+'-'+_0xa1fc1d[_0x5c0f72(0x418)]+'-'+_0xa1fc1d[_0x5c0f72(0x22c)],'left':_0x28701f-0xc/0x2,'top':_0x3ac559-0xc/0x2,'width':_0x5e8b9,'height':_0x164c7e,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0x2dee7e['push'](new _0x5aadf8[(_0x5c0f72(0x362))]('',_0x4da48e));});});}[_0x3f4fc0(0x4c1)](_0x2b772b,_0x151aa2,_0x7d626f,_0x432277,_0x4e4a1a){const _0x31983f=_0x3f4fc0;let _0x54e844=_0x151aa2[_0x31983f(0x27d)],_0x51a0ab=_0x151aa2[_0x31983f(0x506)];_0x7d626f[_0x31983f(0x399)]((_0x5a5bcc,_0x5e88de)=>{const _0xc05036=_0x31983f;_0x5a5bcc[_0xc05036(0x399)](_0x2a96ae=>{const _0x152e6b=_0xc05036;let {range:_0x20d6c3,showText:_0x35c914=''}=_0x2a96ae,{startColumn:_0x98722f,startRow:_0xf37fbd,endColumn:_0x3f60cc,endRow:_0x3879b}=_0x20d6c3,_0x2b2192=(0x0,_0x4bed25[_0x152e6b(0x2e4)])(_0xf37fbd,_0x98722f,_0x2b772b,_0x151aa2),_0x2f5f2c=(0x0,_0x4bed25[_0x152e6b(0x2e4)])(_0x3879b,_0x3f60cc,_0x2b772b,_0x151aa2),{startX:_0x1c96dd,startY:_0x3b05bf}=_0x2b2192,{endX:_0x284ef7,endY:_0x5131bd}=_0x2f5f2c,{columnHeaderHeightAndMarginTop:_0x2f7616}=_0x151aa2,_0x5ae4a1;if(_0x432277===_0x152e6b(0x2f6)){var _0x2b5cec;_0x5ae4a1=new _0x580f25('',{'color':_0x152e6b(0x39b),'direction':'horizontal','left':_0x1c96dd,'top':0x2,'width':_0x284ef7-_0x1c96dd,'height':_0x51a0ab-0x4,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x2b5cec=this[_0x152e6b(0x356)]['getMember'](_0x5e88de))==null?void 0x0:_0x2b5cec[_0x152e6b(0x25a)])+'\x20'+_0x35c914||_0x35c914,'labelPosition':_0x3b05bf-_0x2f7616>=0x14?'top':_0x152e6b(0x434)}),_0x4e4a1a['push'](_0x5ae4a1);}else{var _0xe10d9;let _0x47e88d=_0x5131bd-_0x3b05bf;_0x5ae4a1=new _0x580f25('',{'color':_0x152e6b(0x39b),'direction':'vertical','left':0x2,'top':_0x3b05bf,'width':_0x54e844-0x4,'height':_0x47e88d,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0xe10d9=this[_0x152e6b(0x356)][_0x152e6b(0x2fd)](_0x5e88de))==null?void 0x0:_0xe10d9[_0x152e6b(0x25a)])+'\x20'+_0x35c914||_0x35c914,'labelPosition':_0x152e6b(0x337)}),_0x4e4a1a[_0x152e6b(0x3a2)](_0x5ae4a1);}});});}[_0x3f4fc0(0x202)](_0x43f7d1,_0x2cb915,_0x62ae79,_0x1ceed2){const _0x41b9ff=_0x3f4fc0;let _0xb4b836=this['_sheetSkeletonManagerService'][_0x41b9ff(0x52a)]();if(!_0xb4b836)return;let {columnHeaderHeightAndMarginTop:_0x3b6ae1}=_0xb4b836;_0x2cb915[_0x41b9ff(0x399)]((_0x89b2ee,_0x4f3002)=>{const _0x33cd15=_0x41b9ff;_0x89b2ee[_0x33cd15(0x399)](_0x4d519b=>{const _0x1a7ead=_0x33cd15;var _0x5c1d6f;let {drawingId:_0x181b09,unitId:_0x2f9d27,subUnitId:_0x44da09,showText:_0x4ffc8c=''}=_0x4d519b,_0x19be48=this[_0x1a7ead(0x23c)][_0x1a7ead(0x256)]({'unitId':_0x2f9d27,'subUnitId':_0x44da09,'drawingId':_0x181b09});if(!_0x19be48||!_0x19be48[_0x1a7ead(0x470)])return;let {left:_0xc6cc7d=0x0,top:_0x377c17=0x0,width:_0x255d8f,height:_0xba0520}=_0x19be48[_0x1a7ead(0x470)],_0x52a624=new _0x5aadf8['SheetCollabCursorShape']('',{'labelPosition':_0x377c17-_0x3b6ae1>=0x14?_0x1a7ead(0x337):_0x1a7ead(0x434),'sheetID':_0x44da09,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0x62ae79,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x1a7ead(0x26a),'name':((_0x5c1d6f=this['_historyManagerService']['getMember'](_0x4f3002))==null?void 0x0:_0x5c1d6f[_0x1a7ead(0x25a)])+'\x20'+_0x4ffc8c||_0x4ffc8c,'selection':_0x2f9d27+'-'+_0x44da09+_0x1a7ead(0x48e)+_0x181b09,'left':_0xc6cc7d-0xc/0x2,'top':_0x377c17-0xc/0x2,'width':_0x255d8f,'height':_0xba0520,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0});_0x52a624[_0x1a7ead(0x20b)][_0x1a7ead(0x4ee)](()=>{const _0x4229c2=_0x1a7ead;this[_0x4229c2(0x46b)](_0x52a624,_0x1ceed2)['forEach'](_0x584682=>{const _0x5b5ea3=_0x4229c2;_0x584682 instanceof _0x5aadf8[_0x5b5ea3(0x362)]&&_0x584682[_0x5b5ea3(0x441)]({'hovered':!0x0});});}),_0x52a624[_0x1a7ead(0x3fe)][_0x1a7ead(0x4ee)](()=>{const _0x37e4ad=_0x1a7ead;this[_0x37e4ad(0x46b)](_0x52a624,_0x1ceed2)[_0x37e4ad(0x399)](_0x4b3217=>{const _0x48be3c=_0x37e4ad;_0x4b3217 instanceof _0x5aadf8[_0x48be3c(0x362)]&&_0x4b3217[_0x48be3c(0x441)]({'hovered':!0x1});});}),_0x1ceed2[_0x1a7ead(0x3a2)](_0x52a624);});});}[_0x3f4fc0(0x203)](){const _0x5b8119=_0x3f4fc0;var _0x4f8e90,_0x20c289,_0x266deb,_0x264cca;(_0x4f8e90=this[_0x5b8119(0x1d6)])==null||_0x4f8e90[_0x5b8119(0x399)](_0x2609fe=>_0x2609fe[_0x5b8119(0x38e)]()),(_0x20c289=this['_borderDiffs'])==null||_0x20c289['forEach'](_0x1a70ae=>_0x1a70ae[_0x5b8119(0x38e)]()),(_0x266deb=this[_0x5b8119(0x52e)])==null||_0x266deb['forEach'](_0xac3b21=>_0xac3b21[_0x5b8119(0x38e)]()),(_0x264cca=this[_0x5b8119(0x239)])==null||_0x264cca['forEach'](_0x4e79ae=>_0x4e79ae['dispose']());}[_0x3f4fc0(0x348)](_0x27071f){const _0x4909d1=_0x3f4fc0;let _0x3f384b=_0x27071f['filter'](_0x468455=>_0x468455 instanceof _0x5aadf8['SheetCollabCursorShape']);if(_0x3f384b[_0x4909d1(0x331)]===0x0)return;let _0x40e05d=[],_0x1052c1=new Set();_0x3f384b[_0x4909d1(0x399)](_0x1ed5ec=>{const _0x36a5bc=_0x4909d1;if(_0x1052c1[_0x36a5bc(0x2aa)](_0x1ed5ec))return;let _0x3e731d=_0x1ed5ec['left']||0x0,_0x2858fe=_0x1ed5ec[_0x36a5bc(0x337)]||0x0,_0x3f2efb=_0x3e731d+(_0x1ed5ec['width']||0x0),_0x83cac=_0x2858fe,_0x4758ee=[_0x1ed5ec];_0x1052c1['add'](_0x1ed5ec),_0x3f384b[_0x36a5bc(0x399)](_0x429e22=>{const _0x4c1d4=_0x36a5bc;if(_0x1052c1[_0x4c1d4(0x2aa)](_0x429e22))return;let _0x2b681f=_0x429e22['left']||0x0,_0x3e2a54=_0x429e22[_0x4c1d4(0x337)]||0x0,_0x539127=_0x2b681f+(_0x429e22[_0x4c1d4(0x1e2)]||0x0),_0x14fc73=_0x3e2a54;Math[_0x4c1d4(0x45f)](_0x3f2efb-_0x539127)<=0xa&&Math[_0x4c1d4(0x45f)](_0x83cac-_0x14fc73)<=0xa&&(_0x4758ee[_0x4c1d4(0x3a2)](_0x429e22),_0x1052c1[_0x4c1d4(0x317)](_0x429e22));}),_0x4758ee[_0x36a5bc(0x331)]>0x1&&_0x40e05d[_0x36a5bc(0x3a2)](_0x4758ee);}),_0x40e05d[_0x4909d1(0x399)](_0x57d5d1=>{const _0x117c70=_0x4909d1;_0x57d5d1[_0x117c70(0x521)]((_0x32bdc8,_0x3c1d2c)=>(_0x32bdc8[_0x117c70(0x337)]||0x0)-(_0x3c1d2c[_0x117c70(0x337)]||0x0)),_0x57d5d1[_0x117c70(0x399)]((_0x326e36,_0x41ad1f)=>{const _0x345148=_0x117c70;let _0x5b60f6=_0x41ad1f*0x16;_0x326e36[_0x345148(0x463)](_0x5b60f6);});});}[_0x3f4fc0(0x46b)](_0x36269d,_0x31d457){const _0x2be396=_0x3f4fc0;let _0x1de070=_0x36269d[_0x2be396(0x421)]||0x0,_0xf9ee2d=_0x36269d[_0x2be396(0x337)]||0x0,_0x207088=_0x36269d[_0x2be396(0x1e2)]||0x0,_0x447505=_0x36269d[_0x2be396(0x3b2)]||0x0,_0x49c883=_0x1de070+_0x207088,_0x4c615d=_0xf9ee2d+_0x447505;return _0x31d457['filter'](_0x3fa07b=>{const _0x1675c5=_0x2be396;let _0x287101=_0x3fa07b[_0x1675c5(0x421)]||0x0,_0x2c2b79=_0x3fa07b[_0x1675c5(0x337)]||0x0,_0x335482=_0x3fa07b[_0x1675c5(0x1e2)]||0x0,_0x458931=_0x3fa07b[_0x1675c5(0x3b2)]||0x0,_0x1a8e20=_0x287101+_0x335482,_0x49a1b1=_0x2c2b79+_0x458931;return!(_0x49c883<=_0x287101||_0x1de070>=_0x1a8e20||_0x4c615d<=_0x2c2b79||_0xf9ee2d>=_0x49a1b1);});}[_0x3f4fc0(0x36b)](_0x20dbc4,_0x4e30f3){const _0x24a076=_0x3f4fc0;let _0x4b3087=_0x4e30f3[_0x24a076(0x207)](_0x4a53b9[_0x24a076(0x249)]['VIEW_MAIN']);if(!_0x4b3087)return;let _0x71394=_0x20dbc4[_0x24a076(0x421)]||0x0,_0x565183=_0x20dbc4[_0x24a076(0x337)]||0x0,_0x752e82=_0x20dbc4[_0x24a076(0x1e2)]||0x0,_0x2f98e8=_0x20dbc4[_0x24a076(0x3b2)]||0x0,_0x106035=_0x4b3087['width']||0x0,_0x1538e8=_0x4b3087[_0x24a076(0x3b2)]||0x0,_0x5b771e=_0x4b3087[_0x24a076(0x2bf)]||0x0,_0x26d77c=_0x4b3087[_0x24a076(0x3c7)]||0x0,_0x3a88ba=_0x5b771e,_0xb9e782=_0x26d77c,_0x292649=_0x5b771e+_0x106035,_0x389580=_0x26d77c+_0x1538e8;if(_0x71394>=_0x3a88ba&&_0x565183>=_0xb9e782&&_0x71394+_0x752e82<=_0x292649&&_0x565183+_0x2f98e8<=_0x389580)return;let _0x5c7902=Math[_0x24a076(0x214)](0x0,_0x71394-_0x106035/0x2+_0x752e82/0x2),_0x595603=Math[_0x24a076(0x214)](0x0,_0x565183-_0x1538e8/0x2+_0x2f98e8/0x2);_0x4b3087[_0x24a076(0x507)]({'viewportScrollX':_0x5c7902,'viewportScrollY':_0x595603});}[_0x3f4fc0(0x37c)](){const _0x3cd9d6=_0x3f4fc0;return(0x0,_0x4bed25[_0x3cd9d6(0x1fe)])(this['_univerInstanceService'],this['_renderManagerService']);}};_0x2c1ffe=_0x45b447([_0x24cc5e(0x1,(0x0,_0x1249e8['Inject'])(_0x504091)),_0x24cc5e(0x2,(0x0,_0x1249e8['Inject'])(_0x45320b)),_0x24cc5e(0x3,_0x1249e8[_0x3f4fc0(0x259)]),_0x24cc5e(0x4,_0x4a53b9[_0x3f4fc0(0x50a)]),_0x24cc5e(0x5,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x4bed25[_0x3f4fc0(0x24f)])),_0x24cc5e(0x6,_0x1249e8[_0x3f4fc0(0x231)]),_0x24cc5e(0x7,_0x8cd3e6[_0x3f4fc0(0x20d)])],_0x2c1ffe);var _0x157a56='@univerjs-pro/edit-history-viewer',_0x56d247=_0x3f4fc0(0x34d);let _0x47aaa2=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x1083b4){const _0x4939aa=_0x3f4fc0;super(),this[_0x4939aa(0x466)]=_0x1083b4,this[_0x4939aa(0x2b2)]();}['_init'](){const _0x1fd53c=_0x3f4fc0;this[_0x1fd53c(0x292)](this[_0x1fd53c(0x466)][_0x1fd53c(0x53b)][_0x1fd53c(0x37f)](_0xa7997d=>{const _0x5a1114=_0x1fd53c;_0xa7997d!=null&&_0xa7997d[_0x5a1114(0x489)]&&this[_0x5a1114(0x466)][_0x5a1114(0x4f5)]({'show':!0x1});}));}};_0x47aaa2=_0x45b447([_0x24cc5e(0x0,_0x4bed25[_0x3f4fc0(0x302)])],_0x47aaa2);function _0x4e4643(){const _0x52caf3=_0x3f4fc0;let _0x39f6e4=(0x0,_0x577c26[_0x52caf3(0x327)])(_0x504091),_0x385720=(0x0,_0x577c26[_0x52caf3(0x327)])(_0x1249e8[_0x52caf3(0x3f2)]),_0x130fe3=(0x0,_0x577c26[_0x52caf3(0x316)])(_0x39f6e4['currentVersion$']),_0x3e04a0=(0x0,_0x476712['useMemo'])(()=>_0x130fe3?_0x39f6e4['getSelectedVersionCanRevert']():!0x1,[_0x39f6e4,_0x130fe3]),_0x9e9134=(0x0,_0x476712[_0x52caf3(0x2a3)])(()=>{const _0x255762=_0x52caf3;_0x39f6e4[_0x255762(0x513)]=_0x1f4562[_0x255762(0x1dc)];},[_0x39f6e4]),_0x341606=(0x0,_0x476712[_0x52caf3(0x2a3)])(()=>{const _0x18e96f=_0x52caf3;_0x39f6e4[_0x18e96f(0x2ca)]();},[_0x39f6e4]);return(0x0,_0x1168cc[_0x52caf3(0x297)])('div',{'className':_0x52caf3(0x3d4),'children':[(0x0,_0x1168cc[_0x52caf3(0x54e)])(_0x13eba3['Button'],{'variant':_0x52caf3(0x2a9),'onClick':_0x9e9134,'children':_0x385720['t'](_0x52caf3(0x4c6))}),_0x3e04a0?(0x0,_0x1168cc['jsx'])(_0x13eba3[_0x52caf3(0x50c)],{'variant':'link','onClick':_0x341606,'children':_0x385720['t'](_0x52caf3(0x40d))}):(0x0,_0x1168cc['jsx'])(_0x52caf3(0x252),{'className':_0x52caf3(0x479)})]});}let _0x5670a7=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x19a7a2,_0x1a6843,_0x2f6fa5,_0x523fd9,_0x4c3b3d,_0x462822,_0x2df09a){const _0x4530d6=_0x3f4fc0;super(),this[_0x4530d6(0x318)]=_0x19a7a2,this[_0x4530d6(0x29a)]=_0x1a6843,this[_0x4530d6(0x350)]=_0x2f6fa5,this[_0x4530d6(0x3b1)]=_0x523fd9,this[_0x4530d6(0x356)]=_0x4c3b3d,this[_0x4530d6(0x1d9)]=_0x462822,this['_configService']=_0x2df09a,this[_0x4530d6(0x2b2)]();}['_init'](){const _0x31798e=_0x3f4fc0;this[_0x31798e(0x292)](this[_0x31798e(0x356)][_0x31798e(0x4de)][_0x31798e(0x37f)](_0x55456c=>{const _0x2e0c4d=_0x31798e;_0x55456c&&this[_0x2e0c4d(0x356)][_0x2e0c4d(0x340)](_0x55456c);})),this[_0x31798e(0x292)](this[_0x31798e(0x318)][_0x31798e(0x2dd)][_0x31798e(0x37f)](_0x5b7a15=>{const _0x4b7575=_0x31798e;let _0x4be9eb=this[_0x4b7575(0x356)][_0x4b7575(0x244)];_0x4be9eb&&(_0x5b7a15[_0x4b7575(0x246)]===_0x94dd27[_0x4b7575(0x2f1)][_0x4b7575(0x4ca)]&&_0x5b7a15[_0x4b7575(0x31a)]===!0x0&&this[_0x4b7575(0x318)][_0x4b7575(0x51e)](new _0x1b4633[(_0x4b7575(0x401))](_0x4be9eb)['id'],!0x1),_0x5b7a15[_0x4b7575(0x246)]===_0x94dd27[_0x4b7575(0x2f1)][_0x4b7575(0x52c)]&&_0x5b7a15[_0x4b7575(0x31a)]===!0x0&&this[_0x4b7575(0x318)]['updatePermissionPoint'](new _0x1b4633['WorkbookRenameSheetPermission'](_0x4be9eb)['id'],!0x1),_0x5b7a15[_0x4b7575(0x246)]===_0x94dd27[_0x4b7575(0x2f1)]['MoveSheet']&&_0x5b7a15[_0x4b7575(0x31a)]===!0x0&&this['_permissionService'][_0x4b7575(0x51e)](new _0x1b4633['WorkbookMoveSheetPermission'](_0x4be9eb)['id'],!0x1),_0x5b7a15[_0x4b7575(0x246)]===_0x94dd27[_0x4b7575(0x2f1)]['HideSheet']&&_0x5b7a15[_0x4b7575(0x31a)]===!0x0&&this[_0x4b7575(0x318)][_0x4b7575(0x51e)](new _0x1b4633['WorkbookHideSheetPermission'](_0x4be9eb)['id'],!0x1),_0x5b7a15[_0x4b7575(0x246)]===_0x94dd27[_0x4b7575(0x2f1)][_0x4b7575(0x48b)]&&_0x5b7a15[_0x4b7575(0x31a)]===!0x0&&this['_permissionService'][_0x4b7575(0x51e)](new _0x1b4633[(_0x4b7575(0x401))](_0x4be9eb)['id'],!0x1),_0x5b7a15[_0x4b7575(0x246)]===_0x94dd27['UnitAction'][_0x4b7575(0x45b)]&&_0x5b7a15['value']===!0x0&&this[_0x4b7575(0x318)][_0x4b7575(0x51e)](new _0x1b4633[(_0x4b7575(0x401))](_0x4be9eb)['id'],!0x1));})),this[_0x31798e(0x222)]();let _0x475b46;this[_0x31798e(0x292)](this['_historyManagerService'][_0x31798e(0x51d)][_0x31798e(0x37f)](_0x5849fc=>{const _0x161c94=_0x31798e;this[_0x161c94(0x350)]['removeAll'](),_0x475b46==null||_0x475b46[_0x161c94(0x38e)](),_0x5849fc===_0x19b843['Loading']&&(this[_0x161c94(0x356)]['showMask'](),_0x475b46=this[_0x161c94(0x350)][_0x161c94(0x489)]({'type':_0x13eba3[_0x161c94(0x3a3)]['Info'],'content':this[_0x161c94(0x3b1)]['t'](_0x161c94(0x472)),'duration':0x3e8})),_0x5849fc===_0x19b843[_0x161c94(0x28b)]&&this[_0x161c94(0x356)]['hideMask']();}));}['_registerHeader'](){const _0x580081=_0x3f4fc0;var _0x20066b;(_0x20066b=this[_0x580081(0x2c1)][_0x580081(0x32f)](_0x580081(0x23a)))!=null&&_0x20066b['historyPanelHidden']||this[_0x580081(0x292)](this['_uiPartsService'][_0x580081(0x4d1)](_0x577c26[_0x580081(0x444)]['HEADER'],()=>(0x0,_0x577c26[_0x580081(0x4a0)])(_0x4e4643,this[_0x580081(0x1d9)])));}};_0x5670a7=_0x45b447([_0x24cc5e(0x0,_0x1249e8['IPermissionService']),_0x24cc5e(0x1,_0x577c26[_0x3f4fc0(0x291)]),_0x24cc5e(0x2,_0x577c26[_0x3f4fc0(0x251)]),_0x24cc5e(0x3,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8['LocaleService'])),_0x24cc5e(0x4,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x504091)),_0x24cc5e(0x5,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8[_0x3f4fc0(0x3d7)])),_0x24cc5e(0x6,_0x1249e8[_0x3f4fc0(0x411)])],_0x5670a7);function _0x214159({ref:_0x21fb25,..._0xaa10dc}){const _0x1151d4=_0x3f4fc0;let {icon:_0x51f037,id:_0x226f84,className:_0x5945f9,extend:_0x16d175,..._0x29613f}=_0xaa10dc,_0x3a9555=('univerjs-icon\x20univerjs-icon-'+_0x226f84+'\x20'+(_0x5945f9||''))[_0x1151d4(0x2d3)](),_0x405d09=(0x0,_0x476712['useRef'])('_'+_0x4730b5());return _0x46691d(_0x51f037,''+_0x226f84,{'defIds':_0x51f037[_0x1151d4(0x3e8)],'idSuffix':_0x405d09[_0x1151d4(0x30a)]},{'ref':_0x21fb25,'className':_0x3a9555,..._0x29613f},_0x16d175);}function _0x46691d(_0x2a48d1,_0x35bc4e,_0x24001c,_0x37daf9,_0x240f8a){const _0x511cea=_0x3f4fc0;return(0x0,_0x476712[_0x511cea(0x1f2)])(_0x2a48d1[_0x511cea(0x3be)],{'key':_0x35bc4e,..._0x19deb1(_0x2a48d1,_0x24001c,_0x240f8a),..._0x37daf9},(_0xea80c1(_0x2a48d1,_0x24001c)['children']||[])[_0x511cea(0x1d1)]((_0x14b53f,_0x4a1936)=>_0x46691d(_0x14b53f,_0x35bc4e+'-'+_0x2a48d1[_0x511cea(0x3be)]+'-'+_0x4a1936,_0x24001c,void 0x0,_0x240f8a)));}function _0x19deb1(_0x522125,_0x4c44f9,_0x16fa98){const _0x284d15=_0x3f4fc0;let _0x39da60={..._0x522125[_0x284d15(0x2be)]};_0x16fa98!=null&&_0x16fa98[_0x284d15(0x1ec)]&&_0x39da60[_0x284d15(0x303)]===_0x284d15(0x1ec)&&(_0x39da60[_0x284d15(0x303)]=_0x16fa98['colorChannel1']),_0x522125[_0x284d15(0x3be)]===_0x284d15(0x3de)&&_0x39da60['id']&&(_0x39da60['id']+=_0x4c44f9[_0x284d15(0x20e)]),Object[_0x284d15(0x209)](_0x39da60)[_0x284d15(0x399)](([_0x58cc86,_0x248930])=>{const _0x3e9961=_0x284d15;_0x58cc86===_0x3e9961(0x3de)&&typeof _0x248930==_0x3e9961(0x345)&&(_0x39da60[_0x58cc86]=_0x248930[_0x3e9961(0x4fc)](/url\(#(.*)\)/,_0x3e9961(0x294)+_0x4c44f9[_0x3e9961(0x20e)]+')'));});let {defIds:_0x2ecf71}=_0x4c44f9;return!_0x2ecf71||_0x2ecf71[_0x284d15(0x331)]===0x0?_0x39da60:(_0x522125['tag']===_0x284d15(0x389)&&_0x39da60[_0x284d15(0x3d8)]&&(_0x39da60[_0x284d15(0x3d8)]+=_0x4c44f9[_0x284d15(0x20e)]),Object[_0x284d15(0x209)](_0x39da60)[_0x284d15(0x399)](([_0x1cda29,_0xc70b3d])=>{const _0x8a8a2b=_0x284d15;typeof _0xc70b3d==_0x8a8a2b(0x345)&&(_0x39da60[_0x1cda29]=_0xc70b3d['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4c44f9['idSuffix']+')'));}),_0x39da60);}function _0xea80c1(_0x14f780,_0x498ec5){const _0x3c3a7e=_0x3f4fc0;var _0x160cde;let {defIds:_0x427768}=_0x498ec5;return!_0x427768||_0x427768[_0x3c3a7e(0x331)]===0x0?_0x14f780:_0x14f780[_0x3c3a7e(0x3be)]==='defs'&&(_0x160cde=_0x14f780[_0x3c3a7e(0x48d)])!=null&&_0x160cde[_0x3c3a7e(0x331)]?{..._0x14f780,'children':_0x14f780[_0x3c3a7e(0x48d)]['map'](_0x2f8963=>typeof _0x2f8963[_0x3c3a7e(0x2be)]['id']==_0x3c3a7e(0x345)&&_0x427768&&_0x427768[_0x3c3a7e(0x461)](_0x2f8963[_0x3c3a7e(0x2be)]['id'])?{..._0x2f8963,'attrs':{..._0x2f8963[_0x3c3a7e(0x2be)],'id':_0x2f8963[_0x3c3a7e(0x2be)]['id']+_0x498ec5['idSuffix']}}:_0x2f8963)}:_0x14f780;}function _0x4730b5(){const _0x1cad90=_0x3f4fc0;return Math[_0x1cad90(0x41f)]()[_0x1cad90(0x566)](0x24)[_0x1cad90(0x46a)](0x2,0x8);}_0x214159[_0x3f4fc0(0x4d8)]=_0x3f4fc0(0x42d);let _0x29e28a={'tag':_0x3f4fc0(0x53e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3f4fc0(0x1f8),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x3f4fc0(0x1fc),'attrs':{'fill':'currentColor','d':_0x3f4fc0(0x283)}}]},_0x130f4f=(0x0,_0x476712['forwardRef'])(function(_0x3b00da,_0x186a01){const _0x4dc940=_0x3f4fc0;return(0x0,_0x476712[_0x4dc940(0x1f2)])(_0x214159,Object[_0x4dc940(0x31d)]({},_0x3b00da,{'id':_0x4dc940(0x396),'ref':_0x186a01,'icon':_0x29e28a}));});_0x130f4f[_0x3f4fc0(0x4d8)]=_0x3f4fc0(0x3e1);let _0x674a45={'tag':_0x3f4fc0(0x53e),'attrs':{'xmlns':_0x3f4fc0(0x4e5),'fill':_0x3f4fc0(0x1f8),'viewBox':_0x3f4fc0(0x213),'width':_0x3f4fc0(0x34a),'height':'1em'},'children':[{'tag':_0x3f4fc0(0x1fc),'attrs':{'fill':_0x3f4fc0(0x417),'d':_0x3f4fc0(0x34f),'fillRule':_0x3f4fc0(0x529),'clipRule':_0x3f4fc0(0x529)}}]},_0x180d0b=(0x0,_0x476712[_0x3f4fc0(0x22a)])(function(_0x3546b4,_0x132e7e){const _0x448e21=_0x3f4fc0;return(0x0,_0x476712['createElement'])(_0x214159,Object[_0x448e21(0x31d)]({},_0x3546b4,{'id':_0x448e21(0x559),'ref':_0x132e7e,'icon':_0x674a45}));});_0x180d0b[_0x3f4fc0(0x4d8)]=_0x3f4fc0(0x423);let _0x24f1f0={'tag':_0x3f4fc0(0x53e),'attrs':{'xmlns':_0x3f4fc0(0x4e5),'fill':'none','viewBox':_0x3f4fc0(0x213),'width':_0x3f4fc0(0x34a),'height':_0x3f4fc0(0x34a)},'children':[{'tag':_0x3f4fc0(0x1fc),'attrs':{'fill':_0x3f4fc0(0x417),'d':_0x3f4fc0(0x1f9),'fillRule':_0x3f4fc0(0x529),'clipRule':_0x3f4fc0(0x529)}}]},_0x1144e2=(0x0,_0x476712['forwardRef'])(function(_0x5b60fe,_0x14ebc4){const _0x48bc72=_0x3f4fc0;return(0x0,_0x476712[_0x48bc72(0x1f2)])(_0x214159,Object[_0x48bc72(0x31d)]({},_0x5b60fe,{'id':'more-down-icon','ref':_0x14ebc4,'icon':_0x24f1f0}));});_0x1144e2['displayName']='MoreDownIcon';let _0x2b0185={'tag':_0x3f4fc0(0x53e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3f4fc0(0x1f8),'viewBox':_0x3f4fc0(0x213),'width':_0x3f4fc0(0x34a),'height':_0x3f4fc0(0x34a)},'children':[{'tag':'path','attrs':{'fill':_0x3f4fc0(0x417),'d':'M6.14645\x204.64645C6.34171\x204.45118\x206.65829\x204.45118\x206.85355\x204.64645L9.85355\x207.64645C10.0488\x207.84171\x2010.0488\x208.15829\x209.85355\x208.35355L6.85355\x2011.3536C6.65829\x2011.5488\x206.34171\x2011.5488\x206.14645\x2011.3536C5.95118\x2011.1583\x205.95118\x2010.8417\x206.14645\x2010.6464L8.79289\x208L6.14645\x205.35355C5.95118\x205.15829\x205.95118\x204.84171\x206.14645\x204.64645Z','fillRule':_0x3f4fc0(0x529),'clipRule':_0x3f4fc0(0x529)}}]},_0x2f4dae=(0x0,_0x476712[_0x3f4fc0(0x22a)])(function(_0x480a53,_0x41d0e9){const _0xd9ef33=_0x3f4fc0;return(0x0,_0x476712[_0xd9ef33(0x1f2)])(_0x214159,Object[_0xd9ef33(0x31d)]({},_0x480a53,{'id':_0xd9ef33(0x1e9),'ref':_0x41d0e9,'icon':_0x2b0185}));});_0x2f4dae['displayName']='MoreRightIcon';let _0x5a3de5={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3f4fc0(0x3e0),'width':_0x3f4fc0(0x34a),'height':_0x3f4fc0(0x34a)},'children':[{'tag':'g','attrs':{'fill':_0x3f4fc0(0x417),'clipPath':_0x3f4fc0(0x3f8)},'children':[{'tag':_0x3f4fc0(0x1fc),'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':_0x3f4fc0(0x1fc),'attrs':{'d':_0x3f4fc0(0x4ce),'fillRule':_0x3f4fc0(0x529),'clipRule':_0x3f4fc0(0x529)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f4fc0(0x305)},'children':[{'tag':_0x3f4fc0(0x495),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x3f4fc0(0x3fd),'rx':0x4}}]}]}],'defIds':[_0x3f4fc0(0x305)]},_0x26135e=(0x0,_0x476712[_0x3f4fc0(0x22a)])(function(_0x596006,_0xe6353c){const _0x1f882e=_0x3f4fc0;return(0x0,_0x476712[_0x1f882e(0x1f2)])(_0x214159,Object['assign']({},_0x596006,{'id':_0x1f882e(0x4fb),'ref':_0xe6353c,'icon':_0x5a3de5}));});_0x26135e['displayName']='RestoreIcon';let _0xff5fb8={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3f4fc0(0x1f8),'viewBox':_0x3f4fc0(0x213),'width':_0x3f4fc0(0x34a),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x3f4fc0(0x447),'d':_0x3f4fc0(0x3cd),'fillOpacity':0.2,'fillRule':_0x3f4fc0(0x529),'clipRule':_0x3f4fc0(0x529)}},{'tag':_0x3f4fc0(0x1fc),'attrs':{'fill':_0x3f4fc0(0x447),'d':_0x3f4fc0(0x24d),'fillRule':_0x3f4fc0(0x529),'clipRule':_0x3f4fc0(0x529)}}]},_0x11383d=(0x0,_0x476712[_0x3f4fc0(0x22a)])(function(_0x5301bb,_0x2e79f2){const _0x182a84=_0x3f4fc0;return(0x0,_0x476712[_0x182a84(0x1f2)])(_0x214159,Object[_0x182a84(0x31d)]({},_0x5301bb,{'id':_0x182a84(0x21a),'ref':_0x2e79f2,'icon':_0xff5fb8}));});_0x11383d[_0x3f4fc0(0x4d8)]=_0x3f4fc0(0x4a4);function _0x11c55c(_0x34413f){const _0x4b324d=_0x3f4fc0;var _0x2d9c4b;let {item:_0x2083d4,isNewest:_0x20b9ad}=_0x34413f,_0xc5f92a=(0x0,_0x577c26[_0x4b324d(0x327)])(_0x504091),_0x309a9f=(0x0,_0x577c26[_0x4b324d(0x327)])(_0x45320b),_0x4c78e7=(0x0,_0x577c26[_0x4b324d(0x327)])(_0x1249e8[_0x4b324d(0x3f2)]),_0x2c1683=(0x0,_0x577c26['useObservable'])(_0xc5f92a[_0x4b324d(0x4de)],'',!0x0)===_0x2083d4['id'],_0x4cf8cf=_0x4c78e7[_0x4b324d(0x468)](),_0x48d27a=_0x226af0(_0x2083d4[_0x4b324d(0x329)],_0x4cf8cf),_0x521659=!_0x20b9ad&&_0xc5f92a[_0x4b324d(0x492)],_0x557414=(0x0,_0x476712[_0x4b324d(0x2a3)])(async()=>{const _0x3cd96d=_0x4b324d;_0xc5f92a[_0x3cd96d(0x359)]!==_0x19b843[_0x3cd96d(0x4d9)]&&(_0xc5f92a[_0x3cd96d(0x47b)]=_0x2083d4['id'],await _0x309a9f[_0x3cd96d(0x43c)](_0x2083d4['id']));},[_0xc5f92a,_0x309a9f,_0x2083d4['id']]),_0x4b5223=(0x0,_0x476712[_0x4b324d(0x2a3)])(_0x49870d=>{const _0x345d62=_0x4b324d;_0x49870d[_0x345d62(0x219)](),_0xc5f92a[_0x345d62(0x2ca)](_0x2083d4['id']);},[_0xc5f92a,_0x2083d4['id']]),_0x57c637=((_0x2d9c4b=_0x2083d4[_0x4b324d(0x4be)])==null?void 0x0:_0x2d9c4b[_0x4b324d(0x48f)](Boolean)[_0x4b324d(0x3c3)](',\x20'))||_0x2083d4['user']||_0x4c78e7['t'](_0x4b324d(0x3b3));return(0x0,_0x1168cc[_0x4b324d(0x297)])(_0x4b324d(0x252),{'className':(0x0,_0x13eba3[_0x4b324d(0x4e7)])('univer-flex\x20univer-items-center\x20univer-gap-3\x20univer-border-b\x20univer-border-gray-100\x20univer-px-4\x20univer-py-3\x20dark:!univer-border-gray-800',_0x2c1683&&_0x4b324d(0x42a)),'onClick':_0x557414,'children':[(0x0,_0x1168cc[_0x4b324d(0x297)])(_0x4b324d(0x252),{'className':_0x4b324d(0x504),'children':[(0x0,_0x1168cc[_0x4b324d(0x297)])(_0x4b324d(0x252),{'className':_0x4b324d(0x4b4),'children':[(0x0,_0x1168cc['jsx'])('span',{'className':_0x4b324d(0x260),'children':_0x57c637}),_0x20b9ad&&(0x0,_0x1168cc[_0x4b324d(0x54e)])(_0x4b324d(0x576),{'className':_0x4b324d(0x336),'children':_0x4c78e7['t'](_0x4b324d(0x491))})]}),(0x0,_0x1168cc[_0x4b324d(0x297)])(_0x4b324d(0x252),{'className':_0x4b324d(0x4df),'children':[(0x0,_0x1168cc[_0x4b324d(0x54e)])('span',{'className':_0x4b324d(0x271),'children':_0x48d27a['time']}),(0x0,_0x1168cc[_0x4b324d(0x54e)])(_0x4b324d(0x576),{'className':_0x4b324d(0x27a),'children':_0xbaedfa(_0x2083d4,_0x4c78e7)})]})]}),_0x521659&&(0x0,_0x1168cc[_0x4b324d(0x54e)])(_0x13eba3[_0x4b324d(0x50c)],{'size':'small','variant':_0x4b324d(0x385),'onClick':_0x4b5223,'children':_0x4c78e7['t'](_0x4b324d(0x40d))})]});}function _0x484a74(){const _0x43b16c=_0x3f4fc0;let _0x344600=(0x0,_0x577c26[_0x43b16c(0x327)])(_0x504091),_0x38b51c=(0x0,_0x577c26[_0x43b16c(0x327)])(_0x1249e8['LocaleService']),_0x4b49f5=(0x0,_0x577c26[_0x43b16c(0x316)])(_0x344600[_0x43b16c(0x2fe)]),_0xa7763c=(0x0,_0x577c26[_0x43b16c(0x316)])(_0x344600[_0x43b16c(0x310)]),_0x3546a3=(0x0,_0x476712[_0x43b16c(0x481)])(null),[_0x2d477a,_0x270d40]=(0x0,_0x476712['useState'])(!0x0);(0x0,_0x476712[_0x43b16c(0x403)])(()=>{const _0xcbdc30=_0x43b16c;let _0x253b14=_0x3546a3[_0xcbdc30(0x30a)];if(!_0x253b14||!_0x2d477a)return;let _0x1efb93,_0x5091d9=()=>{clearTimeout(_0x1efb93),_0x1efb93=setTimeout(()=>{const _0x13d6df=_0xc05f;let {scrollTop:_0x2f79de,scrollHeight:_0x4e8553,clientHeight:_0x5c1d69}=_0x253b14;_0x2f79de+_0x5c1d69>=_0x4e8553-0xa&&_0x344600[_0x13d6df(0x1d7)]();},0x64);};return _0x253b14[_0xcbdc30(0x4a5)]('scroll',_0x5091d9),()=>{const _0x54a09f=_0xcbdc30;clearTimeout(_0x1efb93),_0x253b14['removeEventListener'](_0x54a09f(0x2db),_0x5091d9);};},[_0x344600,_0x2d477a]);let _0x32c783=_0x5cd3cd(_0x4b49f5==null?[]:_0x4b49f5);return(0x0,_0x1168cc[_0x43b16c(0x54e)])('div',{'className':_0x43b16c(0x3bd),'children':(0x0,_0x1168cc[_0x43b16c(0x297)])(_0x43b16c(0x252),{'className':(0x0,_0x13eba3[_0x43b16c(0x4e7)])(_0x43b16c(0x40c),_0x2d477a?_0x43b16c(0x229):'univer-h-12'),'children':[(0x0,_0x1168cc[_0x43b16c(0x297)])('div',{'className':_0x43b16c(0x4b1),'onClick':()=>_0x270d40(_0x32c678=>!_0x32c678),'children':[(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x43b16c(0x252),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-1\x20univer-w-10\x20univer-rounded-full\x20univer-bg-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),!_0x2d477a&&(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x43b16c(0x576),{'className':_0x43b16c(0x4cd),'children':_0x38b51c['t'](_0x43b16c(0x2e0))})]}),_0x2d477a&&(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x1168cc['Fragment'],{'children':_0x4b49f5?(0x0,_0x1168cc[_0x43b16c(0x297)])(_0x43b16c(0x252),{'ref':_0x3546a3,'className':_0x43b16c(0x44e),'children':[_0x32c783[_0x43b16c(0x1d1)](_0x3cbacc=>(0x0,_0x1168cc[_0x43b16c(0x297)])(_0x43b16c(0x252),{'children':[(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x43b16c(0x252),{'className':_0x43b16c(0x24c),'children':_0x1e7c4c(_0x3cbacc[_0x43b16c(0x4f7)],_0x38b51c[_0x43b16c(0x468)]())}),_0x3cbacc[_0x43b16c(0x440)][_0x43b16c(0x1d1)]((_0x4fd60b,_0x2b9f1b)=>(0x0,_0x1168cc['jsx'])(_0x11c55c,{'item':_0x4fd60b,'isNewest':_0x32c783[0x0]===_0x3cbacc&&_0x2b9f1b===0x0},_0x4fd60b['id']))]},_0x3cbacc[_0x43b16c(0x430)])),_0xa7763c&&(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x43b16c(0x252),{'className':_0x43b16c(0x2e7),'children':(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x11383d,{'className':_0x43b16c(0x3fa)})})]}):(0x0,_0x1168cc['jsx'])('div',{'className':_0x43b16c(0x228),'children':(0x0,_0x1168cc[_0x43b16c(0x54e)])(_0x11383d,{'className':_0x43b16c(0x3fa)})})})]})});}let _0x1fc93f=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0xc62b27,_0x476180){const _0xf9499e=_0x3f4fc0;super(),this[_0xf9499e(0x29a)]=_0xc62b27,this['_injector']=_0x476180,this[_0xf9499e(0x292)](this[_0xf9499e(0x29a)][_0xf9499e(0x4d1)](_0x577c26['BuiltInUIPart'][_0xf9499e(0x29f)],()=>(0x0,_0x577c26['connectInjector'])(_0x484a74,this[_0xf9499e(0x1d9)])));}};_0x1fc93f=_0x45b447([_0x24cc5e(0x0,_0x577c26[_0x3f4fc0(0x291)]),_0x24cc5e(0x1,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8[_0x3f4fc0(0x3d7)]))],_0x1fc93f);var _0x2a4474=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(){const _0x400128=_0x3f4fc0;super(),_0x2a49f8(this,_0x400128(0x2b8),new _0x43cd5a['Subject']());}[_0x3f4fc0(0x3dd)](){const _0x2d13de=_0x3f4fc0;return(0x0,_0x1249e8[_0x2d13de(0x577)])(()=>{});}['close'](){}[_0x3f4fc0(0x4f1)](_0x3e7aac){}[_0x3f4fc0(0x223)](){const _0x5c78c1=_0x3f4fc0;return this[_0x5c78c1(0x2b8)][_0x5c78c1(0x2f3)]();}};let _0x4ab963=class extends _0x1249e8[_0x3f4fc0(0x50d)]{constructor(_0xe7f400=_0x16fd6c,_0x5336a1,_0x3e04c2,_0x5c2b22){const _0xe1ad6a=_0x3f4fc0;super(),this[_0xe1ad6a(0x388)]=_0xe7f400,this[_0xe1ad6a(0x1d9)]=_0x5336a1,this['_renderManagerService']=_0x3e04c2,this[_0xe1ad6a(0x2c1)]=_0x5c2b22;let {..._0x4228c4}=(0x0,_0x1249e8[_0xe1ad6a(0x459)])({},_0x16fd6c,this[_0xe1ad6a(0x388)]);this[_0xe1ad6a(0x2c1)][_0xe1ad6a(0x2e1)](_0x6e4ebd,_0x4228c4);}[_0x3f4fc0(0x3ef)](){const _0x1b0a0b=_0x3f4fc0;[[_0x504091],[_0x5670a7],[_0x45320b],[_0x483938],[_0x1fc93f],[_0x47aaa2],[_0x2550be[_0x1b0a0b(0x4a2)],{'useClass':_0x127e6b[_0x1b0a0b(0x520)]}],[_0x577c26[_0x1b0a0b(0x368)],{'useClass':_0x2a4474}],[_0x8cd3e6[_0x1b0a0b(0x555)],{'useClass':_0x127e6b[_0x1b0a0b(0x3cb)]}]]['forEach'](_0x59a62e=>this[_0x1b0a0b(0x1d9)][_0x1b0a0b(0x317)](_0x59a62e)),this['_injector'][_0x1b0a0b(0x285)](_0x5670a7);}['onRendered'](){const _0x33c5a5=_0x3f4fc0;[[_0x2c1ffe]][_0x33c5a5(0x399)](_0x27fa7f=>{const _0x3a0ba3=_0x33c5a5;this[_0x3a0ba3(0x292)](this[_0x3a0ba3(0x393)][_0x3a0ba3(0x272)](_0x1249e8[_0x3a0ba3(0x549)][_0x3a0ba3(0x460)],_0x27fa7f));}),this[_0x33c5a5(0x1d9)][_0x33c5a5(0x285)](_0x47aaa2),this[_0x33c5a5(0x1d9)][_0x33c5a5(0x285)](_0x1fc93f);}[_0x3f4fc0(0x344)](){this['_injector']['get'](_0x45320b);}};_0x2a49f8(_0x4ab963,_0x3f4fc0(0x383),'UNIVER_EDIT_HISTORY_VIEWER_MOBILE_PLUGIN'),_0x2a49f8(_0x4ab963,_0x3f4fc0(0x2b3),_0x157a56),_0x2a49f8(_0x4ab963,_0x3f4fc0(0x4cf),_0x56d247),_0x4ab963=_0x45b447([(0x0,_0x1249e8[_0x3f4fc0(0x369)])(_0x4bed25['UniverSheetsMobileUIPlugin'],_0x4b9277[_0x3f4fc0(0x357)]),_0x24cc5e(0x1,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8['Injector'])),_0x24cc5e(0x2,_0x4a53b9[_0x3f4fc0(0x50a)]),_0x24cc5e(0x3,_0x1249e8[_0x3f4fc0(0x411)])],_0x4ab963);function _0x4f2720(){const _0x297e1e=_0x3f4fc0;let _0x58fed6=(0x0,_0x577c26[_0x297e1e(0x327)])(_0x504091),_0x5c7817=(0x0,_0x577c26[_0x297e1e(0x327)])(_0x1249e8['LocaleService']),_0x4c466f=(0x0,_0x577c26[_0x297e1e(0x316)])(_0x58fed6[_0x297e1e(0x4de)]),_0x1d26ca=(0x0,_0x476712[_0x297e1e(0x4af)])(()=>_0x4c466f?_0x58fed6[_0x297e1e(0x248)]():!0x1,[_0x58fed6,_0x4c466f]),_0x5a0f80=(0x0,_0x476712[_0x297e1e(0x2a3)])(()=>{const _0x88a98e=_0x297e1e;_0x58fed6[_0x88a98e(0x513)]=_0x1f4562[_0x88a98e(0x1dc)];},[_0x58fed6]),_0x522db0=(0x0,_0x476712['useCallback'])(()=>{const _0x2467e3=_0x297e1e;_0x58fed6[_0x2467e3(0x2ca)]();},[_0x58fed6]);return(0x0,_0x1168cc[_0x297e1e(0x297)])(_0x297e1e(0x252),{'className':(0x0,_0x13eba3['clsx'])(_0x297e1e(0x50e),_0x13eba3['borderBottomClassName']),'children':[(0x0,_0x1168cc['jsx'])('a',{'className':'univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','role':_0x297e1e(0x304),'onClick':_0x5a0f80,'children':(0x0,_0x1168cc[_0x297e1e(0x54e)])(_0x130f4f,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),(0x0,_0x1168cc['jsx'])(_0x297e1e(0x252),{'className':_0x297e1e(0x228),'children':_0x1d26ca&&(0x0,_0x1168cc[_0x297e1e(0x54e)])(_0x13eba3[_0x297e1e(0x50c)],{'variant':'primary','onClick':_0x522db0,'children':_0x5c7817['t'](_0x297e1e(0x40d))})})]});}let _0x196bf7=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x56fbe3,_0x5c419c,_0x2f5085,_0xf92332,_0x1d0781,_0x2232ce,_0x1ceac3){const _0x1a648b=_0x3f4fc0;super(),this['_permissionService']=_0x56fbe3,this['_uiPartsService']=_0x5c419c,this[_0x1a648b(0x350)]=_0x2f5085,this[_0x1a648b(0x3b1)]=_0xf92332,this[_0x1a648b(0x356)]=_0x1d0781,this[_0x1a648b(0x1d9)]=_0x2232ce,this[_0x1a648b(0x2c1)]=_0x1ceac3,this[_0x1a648b(0x2b2)]();}[_0x3f4fc0(0x2b2)](){const _0x30832a=_0x3f4fc0;this[_0x30832a(0x292)](this[_0x30832a(0x356)][_0x30832a(0x4de)][_0x30832a(0x37f)](_0x1847e2=>{const _0x17a3aa=_0x30832a;_0x1847e2&&this[_0x17a3aa(0x356)][_0x17a3aa(0x340)](_0x1847e2);})),this['disposeWithMe'](this['_permissionService']['permissionPointUpdate$'][_0x30832a(0x37f)](_0x32867a=>{const _0x447bac=_0x30832a;let _0x5bffca=this[_0x447bac(0x356)][_0x447bac(0x244)];_0x5bffca&&(_0x32867a[_0x447bac(0x246)]===_0x94dd27[_0x447bac(0x2f1)][_0x447bac(0x4ca)]&&_0x32867a[_0x447bac(0x31a)]===!0x0&&this[_0x447bac(0x318)][_0x447bac(0x51e)](new _0x1b4633['WorkbookEditablePermission'](_0x5bffca)['id'],!0x1),_0x32867a[_0x447bac(0x246)]===_0x94dd27['UnitAction'][_0x447bac(0x52c)]&&_0x32867a['value']===!0x0&&this[_0x447bac(0x318)]['updatePermissionPoint'](new _0x1b4633['WorkbookRenameSheetPermission'](_0x5bffca)['id'],!0x1),_0x32867a[_0x447bac(0x246)]===_0x94dd27[_0x447bac(0x2f1)][_0x447bac(0x253)]&&_0x32867a[_0x447bac(0x31a)]===!0x0&&this[_0x447bac(0x318)][_0x447bac(0x51e)](new _0x1b4633['WorkbookMoveSheetPermission'](_0x5bffca)['id'],!0x1),_0x32867a[_0x447bac(0x246)]===_0x94dd27[_0x447bac(0x2f1)]['HideSheet']&&_0x32867a[_0x447bac(0x31a)]===!0x0&&this[_0x447bac(0x318)]['updatePermissionPoint'](new _0x1b4633[(_0x447bac(0x485))](_0x5bffca)['id'],!0x1),_0x32867a['subType']===_0x94dd27[_0x447bac(0x2f1)][_0x447bac(0x48b)]&&_0x32867a[_0x447bac(0x31a)]===!0x0&&this[_0x447bac(0x318)]['updatePermissionPoint'](new _0x1b4633[(_0x447bac(0x401))](_0x5bffca)['id'],!0x1),_0x32867a[_0x447bac(0x246)]===_0x94dd27['UnitAction'][_0x447bac(0x45b)]&&_0x32867a['value']===!0x0&&this[_0x447bac(0x318)]['updatePermissionPoint'](new _0x1b4633['WorkbookEditablePermission'](_0x5bffca)['id'],!0x1));})),this[_0x30832a(0x222)]();let _0xa2f601;this[_0x30832a(0x292)](this[_0x30832a(0x356)][_0x30832a(0x51d)]['subscribe'](_0x53412d=>{const _0x14b647=_0x30832a;this[_0x14b647(0x350)]['removeAll'](),_0xa2f601==null||_0xa2f601[_0x14b647(0x38e)](),_0x53412d===_0x19b843[_0x14b647(0x4d9)]&&(this[_0x14b647(0x356)][_0x14b647(0x300)](),_0xa2f601=this[_0x14b647(0x350)][_0x14b647(0x489)]({'type':_0x13eba3[_0x14b647(0x3a3)][_0x14b647(0x30c)],'content':this[_0x14b647(0x3b1)]['t']('editHistory.info.loading'),'duration':0x3e8})),_0x53412d===_0x19b843[_0x14b647(0x28b)]&&this[_0x14b647(0x356)][_0x14b647(0x30f)]();}));}['_registerHeader'](){const _0x7008a0=_0x3f4fc0;var _0x398df1;(_0x398df1=this[_0x7008a0(0x2c1)][_0x7008a0(0x32f)]('edit-history-viewer.config'))!=null&&_0x398df1['historyPanelHidden']||this[_0x7008a0(0x292)](this[_0x7008a0(0x29a)][_0x7008a0(0x4d1)](_0x577c26[_0x7008a0(0x444)][_0x7008a0(0x427)],()=>(0x0,_0x577c26[_0x7008a0(0x4a0)])(_0x4f2720,this[_0x7008a0(0x1d9)])));}};_0x196bf7=_0x45b447([_0x24cc5e(0x0,_0x1249e8[_0x3f4fc0(0x464)]),_0x24cc5e(0x1,_0x577c26[_0x3f4fc0(0x291)]),_0x24cc5e(0x2,_0x577c26[_0x3f4fc0(0x251)]),_0x24cc5e(0x3,(0x0,_0x1249e8['Inject'])(_0x1249e8[_0x3f4fc0(0x3f2)])),_0x24cc5e(0x4,(0x0,_0x1249e8['Inject'])(_0x504091)),_0x24cc5e(0x5,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8[_0x3f4fc0(0x3d7)])),_0x24cc5e(0x6,_0x1249e8['IConfigService'])],_0x196bf7);let _0x5f0b79=[{'key':_0x4ec3c4[_0x3f4fc0(0x2ed)],'labelKey':_0x3f4fc0(0x41a)},{'key':_0x4ec3c4['User'],'labelKey':'editHistory.panel.filterUser'},{'key':_0x4ec3c4[_0x3f4fc0(0x3bc)],'labelKey':_0x3f4fc0(0x342)}];function _0x50058c(_0x4a03df){const _0x39aeb5=_0x3f4fc0;let {className:_0x307659}=_0x4a03df;return(0x0,_0x1168cc[_0x39aeb5(0x297)])('svg',{'className':_0x307659,'fill':_0x39aeb5(0x1f8),'height':'20','viewBox':_0x39aeb5(0x569),'width':'20','xmlns':_0x39aeb5(0x4e5),'children':[(0x0,_0x1168cc[_0x39aeb5(0x54e)])('path',{'d':_0x39aeb5(0x210),'fill':_0x39aeb5(0x56d)}),(0x0,_0x1168cc[_0x39aeb5(0x54e)])(_0x39aeb5(0x432),{'children':(0x0,_0x1168cc['jsxs'])(_0x39aeb5(0x553),{'gradientUnits':_0x39aeb5(0x3c1),'id':_0x39aeb5(0x313),'x1':_0x39aeb5(0x330),'x2':_0x39aeb5(0x1fb),'y1':'7.08645','y2':'6.77028','children':[(0x0,_0x1168cc[_0x39aeb5(0x54e)])(_0x39aeb5(0x562),{'offset':_0x39aeb5(0x36c),'stopColor':_0x39aeb5(0x48a)}),(0x0,_0x1168cc['jsx'])('stop',{'offset':_0x39aeb5(0x206),'stopColor':_0x39aeb5(0x545)}),(0x0,_0x1168cc['jsx'])(_0x39aeb5(0x562),{'offset':_0x39aeb5(0x4f3),'stopColor':_0x39aeb5(0x392)}),(0x0,_0x1168cc[_0x39aeb5(0x54e)])(_0x39aeb5(0x562),{'offset':'1','stopColor':'#01C2AA'})]})})]});}function _0x2cb8c1(_0x11c787){const _0x4d07fc=_0x3f4fc0;let {value:_0x9b6f02,onChange:_0x165c3a}=_0x11c787,_0x4ed9f0=(0x0,_0x577c26[_0x4d07fc(0x327)])(_0x1249e8[_0x4d07fc(0x3f2)]);return(0x0,_0x1168cc['jsx'])('div',{'className':_0x4d07fc(0x4f4),'children':(0x0,_0x1168cc[_0x4d07fc(0x54e)])(_0x13eba3[_0x4d07fc(0x381)],{'items':_0x5f0b79['map'](_0x44a2a6=>({'label':_0x4ed9f0['t'](_0x44a2a6[_0x4d07fc(0x3b8)]),'value':_0x44a2a6['key']})),'value':_0x9b6f02,'onChange':_0x165c3a})});}function _0x7e4c38(){const _0x123c79=_0x3f4fc0;var _0x55a1ea,_0x2ce18d;let _0x2067e8=(0x0,_0x577c26[_0x123c79(0x327)])(_0x504091),_0x598db6=(0x0,_0x577c26[_0x123c79(0x327)])(_0x483938),_0x181b22=(0x0,_0x577c26[_0x123c79(0x327)])(_0x45320b),_0xc4bc07=(0x0,_0x577c26[_0x123c79(0x327)])(_0x1249e8[_0x123c79(0x411)]),_0x5376ab=(0x0,_0x577c26[_0x123c79(0x316)])(_0x2067e8[_0x123c79(0x2fe)]),_0x49edbe=(0x0,_0x577c26[_0x123c79(0x316)])(_0x2067e8[_0x123c79(0x4c9)],[]),[_0x9c2582,_0x207a4e]=(0x0,_0x476712['useState'])(new Set()),[_0x39172f,_0x277572]=(0x0,_0x476712['useState'])(new Map()),[_0x7e83e4,_0x43445c]=(0x0,_0x476712[_0x123c79(0x496)])(new Set()),[_0x4d5c21,_0x4435bc]=(0x0,_0x476712[_0x123c79(0x496)])(_0x4ec3c4[_0x123c79(0x2ed)]),_0x321800=(0x0,_0x577c26['useDependency'])(_0x1249e8[_0x123c79(0x3f2)]),_0x1fb247=(0x0,_0x476712[_0x123c79(0x481)])(null),[_0x53b174,_0x280eda]=(0x0,_0x476712['useState'])(!0x1),[_0x12710f,_0x160f26]=(0x0,_0x476712[_0x123c79(0x496)])([]),_0x424fa7=(_0x55a1ea=(_0x2ce18d=_0xc4bc07[_0x123c79(0x32f)](_0x123c79(0x23a)))==null?void 0x0:_0x2ce18d[_0x123c79(0x3d3)])==null?!0x1:_0x55a1ea,_0x308367=_0x5cd3cd(_0x5376ab),[_0x1949ac,_0x3faa41]=(0x0,_0x476712[_0x123c79(0x496)])([]),_0x235a4e=(0x0,_0x476712[_0x123c79(0x4af)])(()=>_0x49edbe['map'](_0x4dec92=>({'key':_0x4dec92[_0x123c79(0x278)],'label':_0x4dec92[_0x123c79(0x25a)]})),[_0x49edbe]);(0x0,_0x476712[_0x123c79(0x403)])(()=>{const _0x57b3a2=_0x123c79;_0x2067e8[_0x57b3a2(0x4d0)]();},[]);let _0x5509e3=(0x0,_0x476712[_0x123c79(0x2a3)])(_0x49cb9f=>{const _0x1048d9=_0x123c79;_0x3faa41([]),_0x4435bc(_0x49cb9f),_0x2067e8['unitId']&&_0x2067e8[_0x1048d9(0x335)](_0x2067e8['unitId'],{'origin':_0x49cb9f});},[_0x2067e8]);(0x0,_0x476712[_0x123c79(0x403)])(()=>{const _0x595aea=_0x123c79;let _0x529a00=_0x1fb247['current'];if(!_0x529a00)return;let _0x5f4e0b,_0x298242=_0x548834=>{clearTimeout(_0x5f4e0b),_0x5f4e0b=setTimeout(()=>{const _0x256ddb=_0xc05f;let {target:_0x22003}=_0x548834;if(_0x22003){let {scrollTop:_0x1e5f61,scrollHeight:_0x3c85a7,clientHeight:_0x2b04f2}=_0x22003;_0x1e5f61+_0x2b04f2>=_0x3c85a7-0x5&&_0x2067e8[_0x256ddb(0x1d7)]();}},0x64);};return _0x529a00[_0x595aea(0x4a5)](_0x595aea(0x2db),_0x298242),()=>{const _0x248733=_0x595aea;clearTimeout(_0x5f4e0b),_0x529a00['removeEventListener'](_0x248733(0x2db),_0x298242);};},[_0x2067e8]);let _0x3a8dd5=(0x0,_0x476712[_0x123c79(0x2a3)])(async _0xf82fb5=>{const _0x280900=_0x123c79;let _0x30fa9a=_0xf82fb5['id'];if(_0x9c2582['has'](_0x30fa9a)){_0x207a4e(_0x57bc96=>{let _0x2e9403=new Set(_0x57bc96);return _0x2e9403['delete'](_0x30fa9a),_0x2e9403;});return;}if(_0x39172f['has'](_0x30fa9a)){_0x207a4e(_0x4d7bbd=>new Set(_0x4d7bbd)['add'](_0x30fa9a));return;}_0x43445c(_0x3f760c=>new Set(_0x3f760c)[_0x280900(0x317)](_0x30fa9a));try{var _0x4f7db1;let _0x3d4deb=_0x2067e8['unitId'];if(!_0x3d4deb)return;let _0x25b2f1=await _0x598db6[_0x280900(0x4ed)]({},{'unitId':_0x3d4deb,'startRevision':_0xf82fb5[_0x280900(0x384)],'endRevision':_0xf82fb5[_0x280900(0x42c)]});if(((_0x4f7db1=_0x25b2f1['error'])==null?void 0x0:_0x4f7db1[_0x280900(0x333)])===0x1&&_0x25b2f1[_0x280900(0x571)]){let _0x3161c0=_0x25b2f1[_0x280900(0x571)][_0x280900(0x524)]()[_0x280900(0x1d1)](_0x506756=>{const _0x1ee6b3=_0x280900;var _0x388b61,_0x3e07d6;let _0x424c82=(0x0,_0x2550be['parseProtocolChangeset'])(_0x506756),_0x5a11cb=_0x506756[_0x1ee6b3(0x26f)]||_0x424c82[_0x1ee6b3(0x26f)],_0x24301d=(_0x388b61=_0x25b2f1[_0x1ee6b3(0x4be)])==null?void 0x0:_0x388b61[_0x5a11cb],_0x5728a3=((_0x3e07d6=_0x506756[_0x1ee6b3(0x4ad)])==null?void 0x0:_0x3e07d6[_0x1ee6b3(0x1d1)](_0x1b68fc=>_0x1b68fc['id']))||[];return{'id':_0x30fa9a+_0x1ee6b3(0x402)+_0x506756[_0x1ee6b3(0x20c)],'unitId':_0x506756['unitID'],'startRev':_0x506756[_0x1ee6b3(0x20c)],'endRev':_0x506756[_0x1ee6b3(0x20c)],'time':_0x506756['createTime']?_0x506756[_0x1ee6b3(0x1e6)]*0x3e8:void 0x0,'user':(_0x24301d==null?void 0x0:_0x24301d['name'])||'','users':[(_0x24301d==null?void 0x0:_0x24301d['name'])||''],'commands':_0x5728a3,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0x30fa9a,'additionalFields':_0x506756['additionalFields']};});_0x277572(_0x21b282=>new Map(_0x21b282)[_0x280900(0x2ee)](_0x30fa9a,_0x3161c0)),_0x3161c0['forEach'](_0x1d5dd5=>{_0x2067e8['registerDetailVersion'](_0x1d5dd5);});for(let _0x451410 of _0x3161c0)await _0x181b22[_0x280900(0x43c)](_0x451410['id']);_0x207a4e(_0x3167d2=>new Set(_0x3167d2)['add'](_0x30fa9a));}}catch(_0x53d26e){console[_0x280900(0x286)](_0x280900(0x4b9),_0x53d26e);}finally{_0x43445c(_0x448569=>{const _0x1750af=_0x280900;let _0xb84c98=new Set(_0x448569);return _0xb84c98[_0x1750af(0x365)](_0x30fa9a),_0xb84c98;});}},[_0x9c2582,_0x39172f,_0x2067e8,_0x598db6,_0x181b22]);return _0x5376ab?(0x0,_0x1168cc[_0x123c79(0x297)])(_0x123c79(0x252),{'ref':_0x1fb247,'className':_0x123c79(0x22f),'children':[_0x424fa7&&(0x0,_0x1168cc[_0x123c79(0x297)])(_0x123c79(0x252),{'className':_0x123c79(0x3fc),'children':[(0x0,_0x1168cc[_0x123c79(0x54e)])('div',{'className':_0x123c79(0x2cd),'children':(0x0,_0x1168cc['jsx'])(_0x2cb8c1,{'value':_0x4d5c21,'onChange':_0x5509e3})}),(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x13eba3['Dropdown'],{'align':_0x123c79(0x482),'open':_0x53b174,'onOpenChange':_0x3c90a8=>{_0x280eda(_0x3c90a8),_0x3c90a8&&_0x160f26(_0x1949ac);},'overlay':(0x0,_0x1168cc[_0x123c79(0x297)])(_0x123c79(0x252),{'className':_0x123c79(0x43f),'children':[(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x123c79(0x252),{'className':_0x123c79(0x25e),'children':_0x321800['t']('editHistory.panel.filterCollaborator')}),(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x123c79(0x252),{'className':_0x123c79(0x4eb)}),(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x123c79(0x252),{'className':_0x123c79(0x1f6),'children':_0x235a4e[_0x123c79(0x1d1)](_0x4669b7=>{const _0x204ce8=_0x123c79;let _0x491a95=_0x12710f[_0x204ce8(0x461)](_0x4669b7[_0x204ce8(0x4a9)]);return(0x0,_0x1168cc[_0x204ce8(0x297)])(_0x204ce8(0x252),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-3\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','onClick':()=>{const _0x4d0b68=_0x204ce8;_0x160f26(_0x491a95?_0x12710f[_0x4d0b68(0x48f)](_0x4b2108=>_0x4b2108!==_0x4669b7[_0x4d0b68(0x4a9)]):[..._0x12710f,_0x4669b7[_0x4d0b68(0x4a9)]]);},'children':[(0x0,_0x1168cc['jsx'])(_0x13eba3[_0x204ce8(0x2e5)],{'checked':_0x491a95}),(0x0,_0x1168cc['jsx'])(_0x204ce8(0x576),{'className':_0x204ce8(0x24a),'children':_0x4669b7[_0x204ce8(0x510)]})]},_0x4669b7[_0x204ce8(0x4a9)]);})}),(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x123c79(0x252),{'className':_0x123c79(0x4eb)}),(0x0,_0x1168cc['jsxs'])('div',{'className':_0x123c79(0x37a),'children':[(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x13eba3[_0x123c79(0x50c)],{'size':'middle','variant':_0x123c79(0x273),'onClick':()=>{_0x160f26(_0x1949ac),_0x280eda(!0x1);},'children':_0x321800['t'](_0x123c79(0x328))}),(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x13eba3[_0x123c79(0x50c)],{'size':_0x123c79(0x349),'onClick':()=>{const _0x49186d=_0x123c79;_0x3faa41(_0x12710f),_0x2067e8['unitId']&&_0x2067e8[_0x49186d(0x335)](_0x2067e8['unitId'],{'origin':_0x4d5c21,'userIds':_0x12710f}),_0x280eda(!0x1);},'children':_0x321800['t'](_0x123c79(0x311))})]})]}),'children':(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x13eba3[_0x123c79(0x50c)],{'className':_0x123c79(0x354),'size':'middle','variant':_0x123c79(0x273),'children':(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x180d0b,{'className':(0x0,_0x13eba3['clsx'])(_0x123c79(0x1e0),{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0x1949ac[_0x123c79(0x331)]>0x0})})})})]}),(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x123c79(0x252),{'className':'univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','children':_0x308367[_0x123c79(0x1d1)]((_0x2f8de0,_0x2e8bef)=>(0x0,_0x1168cc[_0x123c79(0x297)])(_0x476712['Fragment'],{'children':[(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x1cb32d,{'date':_0x2f8de0[_0x123c79(0x430)],'startDate':_0x2f8de0[_0x123c79(0x4f7)],'endDate':_0x2f8de0[_0x123c79(0x288)]}),_0x2f8de0[_0x123c79(0x440)][_0x123c79(0x1d1)]((_0xd71858,_0x505f39)=>{const _0x534912=_0x123c79;let _0xbf63f6=_0x9c2582[_0x534912(0x2aa)](_0xd71858['id']),_0x17a031=_0x7e83e4[_0x534912(0x2aa)](_0xd71858['id']),_0x56782b=_0x39172f['get'](_0xd71858['id'])||[];return(0x0,_0x1168cc['jsxs'])(_0x476712[_0x534912(0x267)],{'children':[(0x0,_0x1168cc[_0x534912(0x54e)])(_0x4351bb,{'item':_0xd71858,'onToggleExpand':_0x3a8dd5,'isExpanded':_0xbf63f6,'isLoadingDetail':_0x17a031}),_0xbf63f6&&_0x56782b[_0x534912(0x1d1)]((_0xa68b0b,_0x537e82)=>(0x0,_0x1168cc[_0x534912(0x297)])(_0x534912(0x252),{'className':'univer-relative','style':{'marginTop':_0x534912(0x500),'marginBottom':_0x534912(0x500)},'children':[(0x0,_0x1168cc['jsxs'])(_0x534912(0x252),{'className':'univer-absolute\x20univer-top-0\x20univer-h-full','style':{'left':_0x534912(0x264),'width':_0x534912(0x45d)},'children':[_0x537e82<_0x56782b[_0x534912(0x331)]-0x1&&(0x0,_0x1168cc['jsx'])(_0x534912(0x252),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-h-full\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','style':{'left':'0','width':_0x534912(0x279)}}),_0x537e82===_0x56782b[_0x534912(0x331)]-0x1&&(0x0,_0x1168cc[_0x534912(0x54e)])(_0x534912(0x252),{'className':_0x534912(0x38f),'style':{'left':'0','width':_0x534912(0x279),'height':_0x534912(0x1fd)}}),(0x0,_0x1168cc[_0x534912(0x54e)])('div',{'className':_0x534912(0x26c),'style':{'left':'0','width':_0x534912(0x45d),'height':_0x534912(0x279),'transform':_0x534912(0x558)}})]}),(0x0,_0x1168cc['jsx'])(_0x4351bb,{'item':_0xa68b0b,'isDetail':!0x0})]},_0x2e8bef+'-'+_0x505f39+_0x534912(0x402)+_0x537e82))]},_0x2e8bef+'-'+_0x505f39);})]},_0x2f8de0['dateString']))})]}):(0x0,_0x1168cc[_0x123c79(0x54e)])(_0x1dd1f0,{});}function _0x1dd1f0(){const _0x1c00a8=_0x3f4fc0;return(0x0,_0x1168cc[_0x1c00a8(0x54e)])(_0x1c00a8(0x252),{'className':_0x1c00a8(0x280),'children':(0x0,_0x1168cc[_0x1c00a8(0x54e)])(_0x1c00a8(0x576),{'className':_0x1c00a8(0x50b),'children':(0x0,_0x1168cc[_0x1c00a8(0x54e)])(_0x11383d,{'className':_0x1c00a8(0x494)})})});}function _0x1cb32d(_0x19635d){const _0x29ac30=_0x3f4fc0;let _0x5a91c3=(0x0,_0x577c26['useDependency'])(_0x1249e8['LocaleService']),{date:_0xe38a73,startDate:_0x389ae9=_0xe38a73}=_0x19635d;return(0x0,_0x1168cc[_0x29ac30(0x54e)])(_0x29ac30(0x252),{'className':_0x29ac30(0x23d),'children':_0x1e7c4c(_0x389ae9,_0x5a91c3['getCurrentLocale']())});}function _0x4351bb(_0x738c8a){const _0x1e8591=_0x3f4fc0;let {item:_0x50c3f0,onToggleExpand:_0x9f2e10,isExpanded:_0x264b6c,isLoadingDetail:_0x51698e,isDetail:_0x3eb9e0}=_0x738c8a,{time:_0x1278e9,user:_0x1bea2d,startRevCreateTime:_0x1d9fcc,endRevCreateTime:_0x2e4a3e,users:_0x5383e3}=_0x50c3f0,_0x4c4275=(0x0,_0x577c26['useDependency'])(_0x504091),_0x32adb7=(0x0,_0x577c26[_0x1e8591(0x327)])(_0x45320b),_0x1c5939=(0x0,_0x577c26[_0x1e8591(0x316)])(_0x4c4275[_0x1e8591(0x4de)],'',!0x0)===_0x50c3f0['id'],_0x1744da=_0x4c4275[_0x1e8591(0x4e6)]()===_0x50c3f0['endRev'],_0x1948b0=!_0x1744da&&_0x4c4275['canRevert'],_0x4f2b1c=(0x0,_0x577c26['useDependency'])(_0x1249e8['LocaleService']),_0x2491f4=_0x4f2b1c[_0x1e8591(0x468)](),_0x46fbae=_0x226af0(_0x1278e9,_0x2491f4),_0x76871f=_0x226af0(_0x1d9fcc,_0x2491f4),_0x2f4a43=_0x226af0(_0x2e4a3e,_0x2491f4),_0x51b82d=_0x4f2b1c['t'](_0x1e8591(0x491)),_0xdc6cd8=_0x50c3f0[_0x1e8591(0x384)]!==_0x50c3f0[_0x1e8591(0x42c)],_0x218a6c=!!_0x50c3f0[_0x1e8591(0x429)],_0x4bbfeb=(0x0,_0x476712[_0x1e8591(0x4af)])(()=>{const _0x56c5a2=_0x1e8591;let _0x10b0ee=_0x1bea2d||_0x4f2b1c['t'](_0x56c5a2(0x3b3));return _0x5383e3&&_0x5383e3[_0x56c5a2(0x48f)](_0x43309d=>_0x43309d)[_0x56c5a2(0x331)]>0x0&&(_0x10b0ee=_0x5383e3[_0x56c5a2(0x48f)](_0x4d904b=>_0x4d904b)[_0x56c5a2(0x3c3)](',\x20')),_0x218a6c?''+_0x4f2b1c['t'](_0x56c5a2(0x4d4))+(_0x10b0ee?'\x20('+_0x10b0ee+')':''):_0x10b0ee;},[_0x218a6c,_0x1bea2d,_0x5383e3,_0x4f2b1c]),_0x9ba22d=(0x0,_0x476712['useCallback'])(async _0x42144d=>{const _0x3894ba=_0x1e8591;_0x4c4275['loadingState']!==_0x19b843[_0x3894ba(0x4d9)]&&(_0x4c4275[_0x3894ba(0x47b)]=_0x42144d,_0x3eb9e0&&(await _0x32adb7[_0x3894ba(0x43c)](_0x42144d),await _0x4c4275[_0x3894ba(0x340)](_0x42144d)));},[_0x4c4275,_0x32adb7,_0x3eb9e0]),_0x191127=(0x0,_0x476712['useCallback'])(_0x1d41bb=>{_0x4c4275['triggerRevert'](_0x1d41bb);},[_0x4c4275]),_0x525c55=(0x0,_0x476712['useCallback'])(_0x39a4c7=>{_0x39a4c7['stopPropagation'](),_0x9f2e10&&!_0x51698e&&_0x9f2e10(_0x50c3f0);},[_0x9f2e10,_0x50c3f0,_0x51698e]);return(0x0,_0x1168cc[_0x1e8591(0x297)])('div',{'className':(0x0,_0x13eba3[_0x1e8591(0x4e7)])(_0x1e8591(0x539),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x1c5939,'univer-ml-6':_0x3eb9e0}),'onClick':()=>_0x9ba22d(_0x50c3f0['id']),'children':[(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1e8591(0x252),{'className':_0x1e8591(0x280),'style':{'width':_0x1e8591(0x471)},'children':_0xdc6cd8&&!_0x3eb9e0&&(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1e8591(0x252),{'onClick':_0x525c55,'className':_0x1e8591(0x238),'children':_0x51698e?(0x0,_0x1168cc['jsx'])(_0x11383d,{'className':_0x1e8591(0x578)}):_0x264b6c?(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1144e2,{'className':'univer-size-8\x20univer-text-gray-400'}):(0x0,_0x1168cc['jsx'])(_0x2f4dae,{'className':_0x1e8591(0x2ad)})})}),(0x0,_0x1168cc[_0x1e8591(0x297)])('div',{'className':_0x1e8591(0x3b5),'children':[(0x0,_0x1168cc[_0x1e8591(0x297)])(_0x1e8591(0x252),{'className':_0x1e8591(0x42f),'children':[(0x0,_0x1168cc[_0x1e8591(0x297)])(_0x1e8591(0x252),{'className':_0x1e8591(0x1ef),'children':[_0x218a6c&&(0x0,_0x1168cc['jsx'])(_0x50058c,{'className':_0x1e8591(0x3dc)}),(0x0,_0x1168cc['jsx'])(_0x1e8591(0x576),{'className':_0x1e8591(0x46d),'children':_0x4bbfeb}),(0x0,_0x1168cc['jsx'])(_0x1e8591(0x576),{'className':_0x1e8591(0x2d8),'children':_0x3eb9e0?_0x46fbae['time']:_0x1d9fcc===_0x2e4a3e?_0x76871f[_0x1e8591(0x329)]:_0x76871f[_0x1e8591(0x329)]+_0x1e8591(0x44d)+_0x2f4a43[_0x1e8591(0x329)]}),_0x1744da&&(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1e8591(0x576),{'className':_0x1e8591(0x287),'children':_0x51b82d})]}),(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1e8591(0x252),{'children':_0x1948b0&&(0x0,_0x1168cc['jsx'])(_0x13eba3[_0x1e8591(0x1de)],{'title':_0x4f2b1c['t'](_0x1e8591(0x1ed)),'children':(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1e8591(0x252),{'onClick':_0x5e953d=>{const _0x24b859=_0x1e8591;_0x5e953d[_0x24b859(0x219)](),_0x191127(_0x50c3f0['id']);},'className':_0x1e8591(0x394),'children':(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x26135e,{})})})})]}),(0x0,_0x1168cc[_0x1e8591(0x54e)])(_0x1e8591(0x252),{'className':_0x1e8591(0x3a8),'children':_0xbaedfa(_0x50c3f0,_0x4f2b1c)})]})]});}let _0x4482f2=_0x3f4fc0(0x4dc),_0xd4b1e=class extends _0x1249e8[_0x3f4fc0(0x323)]{constructor(_0x507478,_0x51d682,_0x59632f,_0x18c644,_0x22ff3c){const _0x584389=_0x3f4fc0;super(),this[_0x584389(0x453)]=_0x507478,this[_0x584389(0x54d)]=_0x51d682,this['_localeService']=_0x59632f,this[_0x584389(0x356)]=_0x18c644,this[_0x584389(0x2c1)]=_0x22ff3c,_0x2a49f8(this,'_sidebarDisposable',null),this[_0x584389(0x2b2)]();}[_0x3f4fc0(0x2b2)](){const _0xe84956=_0x3f4fc0;this[_0xe84956(0x37b)]();}[_0x3f4fc0(0x407)](){const _0x411294=_0x3f4fc0;var _0x4ecae5;if(this[_0x411294(0x516)])return;let _0x17292e=((_0x4ecae5=this[_0x411294(0x2c1)]['getConfig']('edit-history-viewer.config'))==null?void 0x0:_0x4ecae5[_0x411294(0x2dc)])||_0x4482f2,_0x538c52={'header':{'title':this['_localeService']['t'](_0x411294(0x2e0))},'children':{'label':_0x17292e},'onClose':()=>{const _0x349680=_0x411294;this[_0x349680(0x516)]=null,this['_historyManagerService'][_0x349680(0x513)]=_0x1f4562[_0x349680(0x1dc)];}};this[_0x411294(0x516)]=this[_0x411294(0x453)][_0x411294(0x3dd)]({..._0x538c52});}[_0x3f4fc0(0x37b)](){const _0x1e178c=_0x3f4fc0;this[_0x1e178c(0x292)](this[_0x1e178c(0x54d)][_0x1e178c(0x332)](_0x4482f2,_0x7e4c38)),this[_0x1e178c(0x292)](this['_historyManagerService'][_0x1e178c(0x1e7)]['subscribe'](_0x5574b2=>{_0x5574b2&&this['_openPanel']();}));}};_0xd4b1e=_0x45b447([_0x24cc5e(0x0,_0x577c26[_0x3f4fc0(0x40f)]),_0x24cc5e(0x1,(0x0,_0x1249e8['Inject'])(_0x577c26[_0x3f4fc0(0x41b)])),_0x24cc5e(0x2,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8[_0x3f4fc0(0x3f2)])),_0x24cc5e(0x3,(0x0,_0x1249e8['Inject'])(_0x504091)),_0x24cc5e(0x4,_0x1249e8[_0x3f4fc0(0x411)])],_0xd4b1e);let _0x40a850=class extends _0x1249e8[_0x3f4fc0(0x50d)]{constructor(_0x5bb14d=_0x16fd6c,_0xd554bb,_0x13f73a,_0x39e30e){const _0x30bbb6=_0x3f4fc0;super(),this[_0x30bbb6(0x388)]=_0x5bb14d,this[_0x30bbb6(0x1d9)]=_0xd554bb,this[_0x30bbb6(0x393)]=_0x13f73a,this[_0x30bbb6(0x2c1)]=_0x39e30e;let {..._0x4d4f6a}=(0x0,_0x1249e8[_0x30bbb6(0x459)])({},_0x16fd6c,this[_0x30bbb6(0x388)]);this['_configService'][_0x30bbb6(0x2e1)](_0x6e4ebd,_0x4d4f6a);}[_0x3f4fc0(0x3ef)](){const _0x4ad467=_0x3f4fc0;[[_0x504091],[_0x196bf7],[_0x45320b],[_0x483938],[_0xd4b1e],[_0x47aaa2],[_0x2550be[_0x4ad467(0x4a2)],{'useClass':_0x127e6b[_0x4ad467(0x520)]}],[_0x577c26[_0x4ad467(0x368)],{'useClass':_0x2a4474}],[_0x8cd3e6[_0x4ad467(0x555)],{'useClass':_0x127e6b[_0x4ad467(0x3cb)]}]]['forEach'](_0x2f961f=>this[_0x4ad467(0x1d9)][_0x4ad467(0x317)](_0x2f961f)),this[_0x4ad467(0x1d9)][_0x4ad467(0x285)](_0x196bf7);}[_0x3f4fc0(0x1df)](){const _0x53cdf6=_0x3f4fc0;[[_0x2c1ffe]][_0x53cdf6(0x399)](_0xd3467c=>{const _0x1c16f2=_0x53cdf6;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x1249e8['UniverInstanceType'][_0x1c16f2(0x460)],_0xd3467c));}),this[_0x53cdf6(0x1d9)]['get'](_0x47aaa2),this['_injector'][_0x53cdf6(0x285)](_0xd4b1e);}[_0x3f4fc0(0x344)](){const _0x2a8167=_0x3f4fc0;this[_0x2a8167(0x1d9)][_0x2a8167(0x285)](_0x45320b);}};_0x2a49f8(_0x40a850,_0x3f4fc0(0x383),'UNIVER_EDIT_HISTORY_VIEWER_PLUGIN'),_0x2a49f8(_0x40a850,_0x3f4fc0(0x2b3),_0x157a56),_0x2a49f8(_0x40a850,'version',_0x56d247),_0x40a850=_0x45b447([(0x0,_0x1249e8[_0x3f4fc0(0x369)])(_0x4bed25[_0x3f4fc0(0x55a)],_0x4b9277[_0x3f4fc0(0x357)]),_0x24cc5e(0x1,(0x0,_0x1249e8[_0x3f4fc0(0x2de)])(_0x1249e8['Injector'])),_0x24cc5e(0x2,_0x4a53b9['IRenderManagerService']),_0x24cc5e(0x3,_0x1249e8[_0x3f4fc0(0x411)])],_0x40a850),Object['defineProperty'](_0x53bb1f,_0x3f4fc0(0x36d),{'enumerable':!0x0,'get':function(){return _0x504091;}}),_0x53bb1f[_0x3f4fc0(0x371)]=_0x1f4562,_0x53bb1f[_0x3f4fc0(0x450)]=_0x4ec3c4,Object['defineProperty'](_0x53bb1f,_0x3f4fc0(0x3db),{'enumerable':!0x0,'get':function(){return _0x4ab963;}}),Object[_0x3f4fc0(0x4b6)](_0x53bb1f,_0x3f4fc0(0x296),{'enumerable':!0x0,'get':function(){return _0x40a850;}}),Object[_0x3f4fc0(0x4b6)](_0x53bb1f,_0x3f4fc0(0x498),{'enumerable':!0x0,'get':function(){return _0x2c1ffe;}}),Object[_0x3f4fc0(0x4b6)](_0x53bb1f,'VersionDiffService',{'enumerable':!0x0,'get':function(){return _0x45320b;}});}));
17
+ function _0x5d41(_0x3adb78,_0x22c67){_0x3adb78=_0x3adb78-0x114;const _0x3d6136=_0x3d61();let _0x5d4176=_0x3d6136[_0x3adb78];return _0x5d4176;}function _0x3d61(){const _0x534f31=['setNumfmt','setPivotFieldFormat','parse','name','top','_updateDiffMarks','SetWorksheetRangeThemeStyleMutation','univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','getConfig','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-py-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','RemoveSheetsShapeMutation','_localeService','arrowColumn','random','useCallback','RANGE_TYPE','editHistory.panel.title','SheetCollabCursorShape','string','univer-size-4','AddSheetTableMutation','recoverTime','drawingId','DeleteConditionalRuleMutation','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-h-full\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-h-12','lineTo','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-blue-50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mutations','unmergeCells','sparklineConfigMap','disposeWithMe','Plugin','historyPanelComponentKey','fillText','-drawing-','loadingState$','UniverSheetsUIPlugin','get','updateChartSource','editHistory.panel.filterCollaboratorCancel','&endRevision=','SetWorksheetRowHeightMutation','0.655','getRule','div','disposeUnit','ChartUpdateSourceConfigMutation','SetWorksheetRightToLeftMutation','flex','BuiltInUIPart','-detail-','_members','univer-animate-spin\x20univer-text-gray-400','univer-flex\x20univer-items-center\x20univer-gap-3\x20univer-border-b\x20univer-border-gray-100\x20univer-px-4\x20univer-py-3\x20dark:!univer-border-gray-800','removeDV','SetSheetTableMutation','Disposable','UniverProSheetsShape','function','_renderArrowRanges','_sidebarDisposable','Loaded','_getSheetObject','IImageIoService','_confirmService','currentSkeleton$','_detailVersionsMap','UniverProSheetsChart','pipe','connectInjector','ReorderRangeMutation','editHistory.panel.cancel','_permissionService','style','SetRowHiddenMutation','objects',':\x20(','_uiPartsService','creators','SetPivotOptionMutation','SheetTableService','versions','Rect','HistoryManagerService','jsxs','HideSheet','_lastPointer','onMouseMove','loadHistoryCreatorList','hideMask','onPointerLeave$','deleteProtection','1.66418','SetPivotPositionMutation','current','SetWorksheetProtectionMutation','FloatImg','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-950\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','drawingIds','#FF557D','idSuffix','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','userSpaceOnUse','permissionPointUpdate$','_updateVersions','addRangeProtection','historyAIassistantEnabled','VIRTUAL_VERSION_NOW','setWorksheetRangeTheme','100%','getSparklineById','setColData','insertSheet','...','_sparklineDataSourceModel','_updateWorksheetVisibility','getCurrentVersion','_registerHeader','transform','REMOVE','currentVersion$','getRange','WorkbookRenameSheetPermission','MoveRowsMutation','makeDirty','updateDrawings','editHistory.panel.currentVersion','InsertRowMutation','getRuleById','_currentVersionDiff$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','rgba','Info','sheet','_maskContainer','entries','RangeMergeUtil','setRowData','SetPivotSubtotalTypeMutation','setProtection','_transformService','_borderDiffs','Segmented','Comment','IUIPartsService','Init','univer-text-gray-500','UpdatePivotTableSourceRangeMutation','filter','interceptor','arrowRow','AddConditionalRuleMutation','_renderDrawingHighlights','FromArray','_createUnit','ranges','Edit','addRangeTheme','_openPanel','updateDrawing','xlink:href','SetWorksheetHideMutation','updateCellRanges','createSheet','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','update','toString','defs','useRef','univer-text-sm','restore-icon_clip0_1247_2','_injector','RemoveSheetMutation','set','versions$','SetPivotFieldFormatMutation','code','LoadingMultiIcon','UpdateFieldPositionMutation','getHours','editHistory.panel.filterCollaboratorConfirm','_configService','getCellPositionByOffset','width','funnel-icon','loadingState','transformMutations','univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','commands','SetWorksheetColWidthMutation','_conditionalFormattingRuleModel','url(#$1','SetSheetTableFilterMutation','arrowRowRanges','_name','closePath','_arrowDiffs','M9.18035\x202.34502C9.21605\x202.15386\x209.31749\x201.9812\x209.46709\x201.85695C9.6167\x201.7327\x209.80504\x201.66469\x209.99951\x201.66469C10.194\x201.66469\x2010.3823\x201.7327\x2010.5319\x201.85695C10.6815\x201.9812\x2010.783\x202.15386\x2010.8187\x202.34502L11.6945\x206.97669C11.7567\x207.30598\x2011.9167\x207.60887\x2012.1537\x207.84583C12.3907\x208.08279\x2012.6936\x208.24282\x2013.0228\x208.30502L17.6545\x209.18085C17.8457\x209.21656\x2018.0183\x209.318\x2018.1426\x209.4676C18.2668\x209.6172\x2018.3348\x209.80555\x2018.3348\x2010C18.3348\x2010.1945\x2018.2668\x2010.3828\x2018.1426\x2010.5324C18.0183\x2010.682\x2017.8457\x2010.7835\x2017.6545\x2010.8192L13.0228\x2011.695C12.6936\x2011.7572\x2012.3907\x2011.9172\x2012.1537\x2012.1542C11.9167\x2012.3912\x2011.7567\x2012.6941\x2011.6945\x2013.0234L10.8187\x2017.655C10.783\x2017.8462\x2010.6815\x2018.0188\x2010.5319\x2018.1431C10.3823\x2018.2673\x2010.194\x2018.3353\x209.99951\x2018.3353C9.80504\x2018.3353\x209.6167\x2018.2673\x209.46709\x2018.1431C9.31749\x2018.0188\x209.21605\x2017.8462\x209.18035\x2017.655L8.30451\x2013.0234C8.24231\x2012.6941\x208.08228\x2012.3912\x207.84532\x2012.1542C7.60836\x2011.9172\x207.30547\x2011.7572\x206.97618\x2011.695L2.34451\x2010.8192C2.15335\x2010.7835\x201.98069\x2010.682\x201.85645\x2010.5324C1.7322\x2010.3828\x201.66418\x2010.1945\x201.66418\x2010C1.66418\x209.80555\x201.7322\x209.6172\x201.85645\x209.4676C1.98069\x209.318\x202.15335\x209.21656\x202.34451\x209.18085L6.97618\x208.30502C7.30547\x208.24282\x207.60836\x208.08279\x207.84532\x207.84583C8.08228\x207.60887\x208.24231\x207.30598\x208.30451\x206.97669L9.18035\x202.34502Z','Inject','ROW','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','7.08645','userID','10px','focusUnit','subUnitId','3871oBHeAz','fill','stop','children','canRevert','colorChannel1','padStart','SetWorksheetPermissionPointsMutation','UNIVER_SHEET','editHistory.panel.currentUser','_openPanel$','back-icon','Module','_handleOverlappingShapes','more-right-icon','#0B9EFB','chartModelId','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','updatePermissionPoint','height','_workbookDataCache','insert','setRowHeight','univer-flex-1\x20univer-overflow-y-auto','groupIds','horizontal','hideDiffMarks','params','vertical','executeCommand','getVersions','_diffRangesMap','univer-flex\x20univer-items-center\x20univer-gap-2','_config','viewportScrollY','renamePivotField','univer-text-2xl\x20dark:!univer-text-white','evenodd','displayName','_sheetPermissionInitController','setFilter','isArray','memberId','_univerInstanceService','setPivotCollapse','UniverIcon','IDialogService','getSelectedVersionCanRevert','getViewport','SheetPermissionInitController','openPanel$','_fetching$','_removeDiffMarks','SheetsChartService','univer-size-8\x20univer-text-gray-400','rgba(198,40,40,0.5)','jsx','#A656FF','SheetSkeletonManagerService','replace','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','defIds','1482852SGFwSF','getPivotTableRangeInfo','addSparkline','deleteBorder','ConditionalFormattingRuleModel','deleteCellRanges','moveRows','getCurrentLocale','addProtection','defineProperty','ErrorCode','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-1\x20univer-w-10\x20univer-rounded-full\x20univer-bg-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','highlight','historyPanelHidden','editHistory.action.','error','creators$','none','loadMoreVersions','show','IUniverInstanceService','highlightRow','univer-size-4\x20univer-shrink-0','UniverCore','trim','stroke','sparklines','generateDiffMarks','registerRenderModule','data','highlightSecond','date','DependentOn','Injector','VIEW_MAIN','loadSheet','renameSheet','append','RemoveColMutation','moveTo','getVpScrollXYInfoByPosToVp','_hasMore','SetSheetSparklineMutation','removeCol','reduce','UpdatePivotFieldSourceInfoMutation','highlightColumn','MoreRightIcon','AddSheetSparklineMutation','setPivotFilter','history-mask','startsWith','scrollToViewportPos','removeDiffMarks','position','UniverSheetsMobileUIPlugin','_unitCurrentVersionMap','234558HItqnC','SetPivotCollapseMutation','_status$','removePivotField','setPivotOption','flat','button','UpdateSheetsShapeDataMutation','time','addEventListener','entered','setDefaultStyle','getCurrentUnitForType','IDrawingManagerService','_historyFetchService','pivotTableId','ReCalcSheetsFilterMutation','setFilterCriteria','SetSheetsFilterCriteriaMutation','white','evented','rowData','mergeCells','ISidebarService','editHistory.panel.revertDesc','IMessageService','insertDrawings','hide','deleteCF','editHistory.panel.revertConfirmText','\x20-\x20','0.01','tableId','add','SetFrozenMutation','univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','_messageService','INSERT','univer-flex\x20univer-items-center\x20univer-justify-center','getDrawingByParam','setRangeProtection','object','MessageType','pluginName','editHistory.header.revert','origin','addTable','resolve','findAllRectangle','ISnapshotServerService','_versionDiffService','keys','hideRow','0px','_drawTextBubble','34612032MCruMw','0\x200\x2016\x2016','removeRow','currentColor','insertChart','active','measureText','register','symbol','CopyWorksheetEndMutation','1px','_snapshotServerService','#01C2AA','rev','SetWorkbookNameMutation','_canRevert','_highlightSecond','deleteDrawings','removeChart','status','url(#paint0_linear_236_415)','AddWorksheetProtectionMutation','MoveSheet','SetGridlinesColorMutation','createElement','UNIVER_EDIT_HISTORY_VIEWER_MOBILE_PLUGIN','setInterval','_highlight','setColCount','setConfig','ICellEditorManagerService','UniverSheetsDrawing','rect','_yieldToMain','setRightToLeft','2933766LJoNQA','getOwnPropertyDescriptor','arrowColumnRanges','_dataValidationModel','_hovered','shapeId','AddWorksheetMergeMutation','hidden','startDateString','setPivotSubtotalType','row','setRangeValues','RemoveSheetSparklineMutation','cfId','unitId$','ruleId','editHistory.panel.unknownUser','LRUMap','path','_setVersions','merge','fetching','labelKey','UniverSheetsConditionalFormatting','clipPath','includes','getHistoryChangesets','Entered','rule','currentVersion','updateBorderRanges','tag','getFilterModel','Checkbox','exited','18.1758','UpdateValuePositionMutation','_initRender','bottom','deleteRangeProtection','m1Prime','RemoveSheetsChartMutation','React','workbook','columnData','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-shrink-0\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-py-0.5\x20univer-text-xs\x20univer-text-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','forwardRef','editHistory.info.loading','copySheet','getMatrix','getCoordByCell','setRowCount','insertCol','SetColVisibleMutation','_categorizeMutationRanges','blockMeta','showMask','asObservable','IConfirmService','_startBlinking','rgba(21,101,192,0.5)','Exited','columnHeaderHeight','packageName','univer-rounded-xs\x20univer-h-6\x20univer-cursor-pointer\x20univer-p-1\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','dateString','editHistory.panel.revertConfirm','setPivotSort','IConfigService','DeleteRangeProtectionMutation','from','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','univer-absolute\x20univer-top-0\x20univer-h-full','setPivotValueFilter','version','setTimeout','setState','scrollToShape','univer-min-w-[240px]','getSheets','loading-multi-icon','setCF','_sidebarService','showRow','ZH_CN','UniverSheetsDataValidation','endColumn','_loadParams','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','unionPivotViewRange','SheetsPivotTableConfigModel','_init','getElementById','label','font','Tooltip','removeTable','insertRow','_drawHorizontalArrow','decorate','removePivotTable','_diffs','onSteady','editSheet','middle','useObservable','editHistory.panel.filterCollaborator','editHistory.panel.aiAssistant','scroll','absolute','_maskElement','ObjectMatrix','reorderSheet','InsertSheetsChartMutation','_renderBorderRanges','fetchThroughInterceptors','WorkbookEditablePermission','RemoveNumfmtMutation','has','UniverProtocol','RevertRevisionMutation','Shape','_unitId$','now','_labelPosition','createTime','command','_cacheKey','url(#restore-icon_clip0_1247_2)','_context','InsertSheetsShapeMutation','display','removeEventListener','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','reorderRange','edit-history-viewer.config','body','moveRange','AddPivotFieldMutation','setFrozen','save','updateShapeType','COMPRESS_MUTATION_APPLY','UnitAction','7626gSGplo','SetSheetsFilterRangeMutation','removeRangeTheme','color','SheetsFilterService','revision','SetPivotValueFilterMutation','more-down-icon','RangeProtectionRuleModel','max','UniverProSheetsSparkline','SheetDataValidationModel','use','ITransformService','#2793FF','beginPath','updateBorder','AddRangeThemeMutation','scene','_initActiveSwitch','Vector2','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','currentVersionDiff$','AddRangeProtectionMutation','SetRangeValuesMutation','_renderCellRanges','switchMap','abs','4652802YUhWjE','RemovePivotFieldMutation','dispose','svg','_httpService','updateValuePosition','SetNumfmtMutation','RemoveDataValidationMutation','BehaviorSubject','removeShape','rowHeaderWidth','_rangeProtectionRuleModel','/universer-api/history','LocaleService','updateChartConfig','RenamePivotFieldMutation','UniverProSheetsPivot','WorkbookHideSheetPermission','showText','ChartUpdateConfigMutation','endRevCreateTime','SetWorksheetOrderMutation','getVersion','UniverUi','link','hideSheet','SetPivotFilterMutation','_sheetTableService','/list?','MoveConditionalRuleMutation','showCol','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','transformSnapshotToWorkbookData','_renderManagerService','next','SetWorksheetActiveOperation','mask','setPivotPosition','updateTable','_applyWorkbookData','chartId','subUnitIds','user','_showText','HTTPService','_blinkTimer','additionalFields','labelPosition','column','univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','RemoveWorksheetMergeMutation','parseProtocolChangeset','triggerCustomVersions','triggerLoadSheet','AddPivotTableMutation','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','ruleIds','DeleteWorksheetRangeThemeStyleMutation','length','removeFilter','_componentManager','userId','getSeconds','clearInterval','_revertRevision$','DeleteSheetTableMutation','6.77028','rgb','UniverSheets','univer-relative\x20univer-h-8','HEADER','_createMask','Error','RemovePivotTableMutation','univer-size-4\x20univer-animate-spin','RemoveSheetsFilterMutation','_color','unitID','Loading','_scrollToShape','fetching$','isTransformMutationsSuccess','onRendered','setColWidth','updateFieldPosition','_drawVerticalArrow','RenameSheet','loadInitialVersions','SetRowDataMutation','toStringTag','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','endDateString','subscribeEvent','User','setSparkline','getMember','unknownUser','split','parseInt','users','RemoveRowMutation','type','_creators$','moveCF','key','transparent','BackIcon','setTabColor','CompressMutationService','_sheetsPivotTableConfigModel','some','forValue','cellValue','getAncestorScale','UniverEngineRender','status$','reverse','UniverEditHistoryViewerMobilePlugin','getCurrentSkeleton','_blinkIntervalTimer','removeAll','1924435gUUBfA','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-px-1\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','_initMaskContainer','updateShapeData','fetchCreatorList','startColumn','fillStyle','subscribe','startRev','getDialogs$','_setFetching','univer-h-[60%]','primary',',\x200.2)','_isBlinkVisible','delete','http://www.w3.org/2000/svg','UniverDrawing','borderBottomClassName','span','_direction','stopPropagation','1em','isSheetHidden','iterator','getDeserializedSheetBlock','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','direction','RestoreIcon','editHistory.action.etc','registerDetailVersion','SetRangeProtectionMutation','deleteBorderRanges','useMemo','removeNumfmt','updatePivotSource','removeSheet','registerComponent','_loadingState$','AddDataValidationMutation','range','getCurrentUnitCurrentVersion','30px','SetColHiddenMutation','MoveColsMutation','COLUMN','substring','ghost','_cellEditorManagerService','targetRange','rangeInfo','revertRevision$','getMinutes','toggleGridlines','updatePivotFieldSource','_commandService','_getAPIPrefix','removeSparkline','SnapshotServerOverHTTPService','getSubUnitId','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','assign','start','UniverNetworkPlugin','addPivotTable','restore','_compressMutationService','SetColDataMutation','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getSheetId','SetPivotSortMutation','sourceRange','Fragment','_initPanel','triggerRevert','Dropdown','attrs','parent','deleteWorksheetRangeTheme','startRow','action','12px','editHistory.panel.filterUser','SetRowVisibleMutation','SetWorksheetNameMutation','recalcFilter','setValue','_combineRanges','left','Character','useState','getInterceptPoints','univerjs-icon\x20univerjs-icon-','slice','setRowAutoHeight','insertBorderRanges','SetConditionalRuleMutation','center','setShapeProps','_getLighterColor','call','UniverInstanceType','_getActiveSubUnitId','SetWorksheetDefaultStyleMutation','changesets','SHEET_VIEWPORT_KEY','_historyManagerService','SetWorksheetRowCountMutation','getUnitOnRev','insertCellRanges','clsx','_historyContainerId','onStarting','ensureVersion','IRenderManagerService','_stopBlinking','0.31','userIds','exports.@univerjs-pro/collaboration-client-ui.@univerjs/core.@univerjs/drawing.@univerjs/engine-render.@univerjs/sheets.@univerjs/sheets-ui.rxjs.@univerjs/design.@univerjs/ui.@univerjs-pro/collaboration.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-sparkline.@univerjs/data-validation.@univerjs/sheets-conditional-formatting.@univerjs/sheets-drawing.@univerjs/sheets-filter.@univerjs/sheets-table.@univerjs/network.@univerjs/protocol.@univerjs/sheets-data-validation.@univerjs-pro/collaboration-client.react.react/jsx-runtime','Button','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','confirm','useEffect','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','InsertSheetMutation','rgba(225,\x20225,\x20225,\x200.5)','value','CollaborationImageIoService','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','values','WorkbookMoveSheetPermission','block','_versions$','M1\x203.87476C1\x204.97933\x201.89543\x205.87476\x203\x205.87476L3\x207.67383C3\x208.7784\x203.89543\x209.67383\x205\x209.67383H5.5V13.5252C5.5\x2014.4089\x206.21634\x2015.1252\x207.1\x2015.1252H8.9C9.78366\x2015.1252\x2010.5\x2014.4089\x2010.5\x2013.5252V9.67383H11C12.1046\x209.67383\x2013\x208.7784\x2013\x207.67383V5.87476C14.1046\x205.87476\x2015\x204.97933\x2015\x203.87476V2.87476C15\x201.77019\x2014.1046\x200.874756\x2013\x200.874756H3C1.89543\x200.874756\x201\x201.77019\x201\x202.87476V3.87476ZM13\x202.07476H3C2.55817\x202.07476\x202.2\x202.43293\x202.2\x202.87476V3.87476C2.2\x204.31658\x202.55817\x204.67476\x203\x204.67476L13\x204.67383C13.4418\x204.67383\x2013.8\x204.31658\x2013.8\x203.87476V2.87476C13.8\x202.43293\x2013.4418\x202.07476\x2013\x202.07476ZM4.2\x207.67383V5.87476H11.8V7.67383C11.8\x208.11566\x2011.4418\x208.47383\x2011\x208.47383H5C4.55817\x208.47383\x204.2\x208.11566\x204.2\x207.67383ZM6.7\x209.67437H9.3V13.5252C9.3\x2013.7462\x209.12091\x2013.9252\x208.9\x2013.9252H7.1C6.87909\x2013.9252\x206.7\x2013.7462\x206.7\x2013.5252V9.67437Z','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','editHistory.header.back','subType','_drawingManagerService','VersionDiffRenderController','InsertColMutation','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-font-medium\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','open','getSelectedVersionIsCurrentVersion','endRevision','endRow','hideCol','getMutationActionMap','_sheetSkeletonManagerService','1000','CreateUnitMutation','_sheetsFilterService','editHistory.action.removeDrawing','forEach','univer-text-xs\x20univer-text-gray-400','push','CONTENT','_dialogOptions$','onPointerEnter$','then','DrawingApplyType','_sheetsChartService','map','toDisposable','LocaleType','translateY(-50%)','univer-relative','moveCols','unitId','endRev','_currentVersion$','restore-icon','/creators','rgba(46,125,50,0.5)','join','setDV','strokeStyle','getUnitId','Unspecified','_transformMutationByOrder','getTableInfo','UniverDataValidation','close','paint0_linear_236_415','startRevCreateTime','closeAll','history-panel','_lastLabel','useDependency','hasCommand','UpdateDataValidationMutation','addPivotField','toISOString','_drawingDiffs','SetDrawingApplyMutation','justifyContent','setTableFilter','arc','insertBorder','ICommandService','SetTabColorMutation','UniverSheetsUi'];_0x3d61=function(){return _0x534f31;};return _0x3d61();}(function(_0x401d7f,_0xd82876){const _0xcc250a=_0x5d41,_0x356381=_0x401d7f();while(!![]){try{const _0x4264bd=parseInt(_0xcc250a(0x154))/0x1+-parseInt(_0xcc250a(0x1ae))/0x2+-parseInt(_0xcc250a(0x25b))/0x3+-parseInt(_0xcc250a(0x11b))/0x4+parseInt(_0xcc250a(0x2d5))/0x5+parseInt(_0xcc250a(0x23f))/0x6*(-parseInt(_0xcc250a(0x46d))/0x7)+parseInt(_0xcc250a(0x18b))/0x8;if(_0x4264bd===_0xd82876)break;else _0x356381['push'](_0x356381['shift']());}catch(_0x434319){_0x356381['push'](_0x356381['shift']());}}}(_0x3d61,0xd0a1c),function(_0x13ce07,_0x255280){const _0x4f56bd=_0x5d41;typeof exports==_0x4f56bd(0x17d)&&typeof module<'u'?_0x255280(exports,require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core`),require(`@univerjs/drawing`),require(`@univerjs/engine-render`),require(`@univerjs/sheets`),require(`@univerjs/sheets-ui`),require(`rxjs`),require(`@univerjs/design`),require(`@univerjs/ui`),require(`@univerjs-pro/collaboration`),require(`@univerjs-pro/sheets-chart`),require(`@univerjs-pro/sheets-pivot`),require(`@univerjs-pro/sheets-shape`),require(`@univerjs-pro/sheets-sparkline`),require(`@univerjs/data-validation`),require(`@univerjs/sheets-conditional-formatting`),require(`@univerjs/sheets-drawing`),require(`@univerjs/sheets-filter`),require(`@univerjs/sheets-table`),require(`@univerjs/network`),require(`@univerjs/protocol`),require(`@univerjs/sheets-data-validation`),require(`@univerjs-pro/collaboration-client`),require(`react`),require(`react/jsx-runtime`)):typeof define=='function'&&define['amd']?define(_0x4f56bd(0x34b)[_0x4f56bd(0x2bd)]('.'),_0x255280):(_0x13ce07=typeof globalThis<'u'?globalThis:_0x13ce07||self,_0x255280(_0x13ce07['UniverProEditHistoryViewer']={},_0x13ce07['UniverProCollaborationClientUi'],_0x13ce07[_0x4f56bd(0x132)],_0x13ce07[_0x4f56bd(0x2e6)],_0x13ce07[_0x4f56bd(0x2ce)],_0x13ce07[_0x4f56bd(0x29f)],_0x13ce07[_0x4f56bd(0x39d)],_0x13ce07['rxjs'],_0x13ce07['UniverDesign'],_0x13ce07[_0x4f56bd(0x272)],_0x13ce07['UniverProCollaboration'],_0x13ce07[_0x4f56bd(0x3e2)],_0x13ce07[_0x4f56bd(0x26b)],_0x13ce07[_0x4f56bd(0x3d8)],_0x13ce07[_0x4f56bd(0x249)],_0x13ce07[_0x4f56bd(0x389)],_0x13ce07[_0x4f56bd(0x1c5)],_0x13ce07[_0x4f56bd(0x1aa)],_0x13ce07['UniverSheetsFilter'],_0x13ce07['UniverSheetsTable'],_0x13ce07['UniverNetwork'],_0x13ce07[_0x4f56bd(0x225)],_0x13ce07[_0x4f56bd(0x203)],_0x13ce07['UniverProCollaborationClient'],_0x13ce07[_0x4f56bd(0x1d8)],_0x13ce07['React']));}(this,function(_0x6129fa,_0x738bdb,_0x1ff675,_0x4d9a74,_0x12f665,_0x37f055,_0x45078f,_0x1cdcf3,_0x36e70d,_0x2ba54d,_0x3f0f3e,_0x23e923,_0x17c8e0,_0x865af4,_0x2ddee4,_0x2c9252,_0x2b079f,_0xfd993c,_0x41ed04,_0x2ec22d,_0x263e7d,_0x2c1da0,_0x353561,_0x4419dc,_0x486c19,_0x34c075){const _0x1b7ff8=_0x5d41;Object[_0x1b7ff8(0x124)](_0x6129fa,Symbol[_0x1b7ff8(0x2b4)],{'value':_0x1b7ff8(0x479)});function _0x2c4e92(_0x401c21=_0x1b7ff8(0x129)){const _0x43f47e=_0x1b7ff8;return{'collaboration':[{'id':_0x3f0f3e[_0x43f47e(0x36a)]['id'],'action':_0x401c21+_0x43f47e(0x442)},{'id':_0x3f0f3e['RevertRevisionMutation']['id'],'action':_0x401c21+'revertSheet'}],'sheets':[{'id':_0x37f055[_0x43f47e(0x351)]['id'],'action':_0x401c21+_0x43f47e(0x40f)},{'id':_0x37f055['RemoveSheetMutation']['id'],'action':_0x401c21+_0x43f47e(0x2f9)},{'id':_0x37f055[_0x43f47e(0x329)]['id'],'action':_0x401c21+_0x43f47e(0x13f)},{'id':_0x37f055[_0x43f47e(0x270)]['id'],'action':_0x401c21+_0x43f47e(0x21e)},{'id':_0x37f055[_0x43f47e(0x440)]['id'],'action':_0x401c21+_0x43f47e(0x274)},{'id':_0x37f055[_0x43f47e(0x194)]['id'],'action':_0x401c21+_0x43f47e(0x1de)},{'id':_0x37f055[_0x43f47e(0x39c)]['id'],'action':_0x401c21+_0x43f47e(0x2c7)},{'id':_0x37f055[_0x43f47e(0x199)]['id'],'action':_0x401c21+'renameWorkbook'},{'id':_0x37f055[_0x43f47e(0x41e)]['id'],'action':_0x401c21+_0x43f47e(0x20f)},{'id':_0x37f055[_0x43f47e(0x360)]['id'],'action':_0x401c21+'insertCol'},{'id':_0x37f055[_0x43f47e(0x2c0)]['id'],'action':_0x401c21+_0x43f47e(0x18d)},{'id':_0x37f055[_0x43f47e(0x141)]['id'],'action':_0x401c21+_0x43f47e(0x146)},{'id':_0x37f055[_0x43f47e(0x41a)]['id'],'action':_0x401c21+'moveRows'},{'id':_0x37f055[_0x43f47e(0x301)]['id'],'action':_0x401c21+_0x43f47e(0x37b)},{'id':_0x37f055[_0x43f47e(0x328)]['id'],'action':_0x401c21+'showRow'},{'id':_0x37f055[_0x43f47e(0x3e9)]['id'],'action':_0x401c21+_0x43f47e(0x188)},{'id':_0x37f055['SetColVisibleMutation']['id'],'action':_0x401c21+'showCol'},{'id':_0x37f055[_0x43f47e(0x300)]['id'],'action':_0x401c21+_0x43f47e(0x366)},{'id':_0x37f055[_0x43f47e(0x3c8)]['id'],'action':_0x401c21+'setRowHeight'},{'id':_0x37f055['SetWorksheetColWidthMutation']['id'],'action':_0x401c21+_0x43f47e(0x2ae)},{'id':_0x37f055['SetWorksheetRowAutoHeightMutation']['id'],'action':_0x401c21+_0x43f47e(0x333)},{'id':_0x37f055['SetWorksheetRowIsAutoHeightMutation']['id'],'action':_0x401c21+'setRowIsAutoHeight'},{'id':_0x37f055['SetRowDataMutation']['id'],'action':_0x401c21+_0x43f47e(0x428)},{'id':_0x37f055[_0x43f47e(0x318)]['id'],'action':_0x401c21+_0x43f47e(0x40e)},{'id':_0x37f055[_0x43f47e(0x340)]['id'],'action':_0x401c21+_0x43f47e(0x1e1)},{'id':_0x37f055['SetWorksheetColumnCountMutation']['id'],'action':_0x401c21+_0x43f47e(0x1a7)},{'id':_0x37f055[_0x43f47e(0x257)]['id'],'action':_0x401c21+_0x43f47e(0x1b9)},{'id':_0x37f055['MoveRangeMutation']['id'],'action':_0x401c21+_0x43f47e(0x238)},{'id':_0x37f055['ReorderRangeMutation']['id'],'action':_0x401c21+_0x43f47e(0x235)},{'id':_0x37f055[_0x43f47e(0x1b4)]['id'],'action':_0x401c21+_0x43f47e(0x16a)},{'id':_0x37f055[_0x43f47e(0x28d)]['id'],'action':_0x401c21+_0x43f47e(0x3bb)},{'id':_0x37f055[_0x43f47e(0x176)]['id'],'action':_0x401c21+_0x43f47e(0x23a)},{'id':_0x37f055['ToggleGridlinesMutation']['id'],'action':_0x401c21+_0x43f47e(0x30a)},{'id':_0x37f055[_0x43f47e(0x1a2)]['id'],'action':_0x401c21+'setGridlinesColor'},{'id':_0x37f055[_0x43f47e(0x3ce)]['id'],'action':_0x401c21+_0x43f47e(0x1ad)},{'id':_0x37f055[_0x43f47e(0x33c)]['id'],'action':_0x401c21+_0x43f47e(0x15f)},{'id':_0x37f055[_0x43f47e(0x1a0)]['id'],'action':_0x401c21+_0x43f47e(0x123)},{'id':_0x37f055[_0x43f47e(0x3fe)]['id'],'action':_0x401c21+_0x43f47e(0x42a)},{'id':_0x37f055['DeleteWorksheetProtectionMutation']['id'],'action':_0x401c21+_0x43f47e(0x3fa)},{'id':_0x37f055[_0x43f47e(0x256)]['id'],'action':_0x401c21+'addRangeProtection'},{'id':_0x37f055[_0x43f47e(0x2f4)]['id'],'action':_0x401c21+_0x43f47e(0x17c)},{'id':_0x37f055['DeleteRangeProtectionMutation']['id'],'action':_0x401c21+_0x43f47e(0x1d5)},{'id':_0x37f055[_0x43f47e(0x474)]['id'],'action':_0x401c21+'setPermissionPoints'},{'id':_0x37f055[_0x43f47e(0x261)]['id'],'action':_0x401c21+_0x43f47e(0x39e)},{'id':_0x37f055[_0x43f47e(0x223)]['id'],'action':_0x401c21+_0x43f47e(0x2f7)},{'id':_0x37f055[_0x43f47e(0x250)]['id'],'action':_0x401c21+_0x43f47e(0x43c)},{'id':_0x37f055['SetRangeThemeMutation']['id'],'action':_0x401c21+'setRangeTheme'},{'id':_0x37f055['RemoveRangeThemeMutation']['id'],'action':_0x401c21+_0x43f47e(0x241)},{'id':_0x37f055[_0x43f47e(0x3a4)]['id'],'action':_0x401c21+_0x43f47e(0x40b)},{'id':_0x37f055[_0x43f47e(0x294)]['id'],'action':_0x401c21+_0x43f47e(0x323)}],'sheetsConditionalFormatting':[{'id':_0x2b079f[_0x43f47e(0x436)]['id'],'action':_0x401c21+_0x43f47e(0x1ff)},{'id':_0x2b079f[_0x43f47e(0x335)]['id'],'action':_0x401c21+_0x43f47e(0x1ff)},{'id':_0x2b079f[_0x43f47e(0x3b5)]['id'],'action':_0x401c21+_0x43f47e(0x170)},{'id':_0x2b079f[_0x43f47e(0x278)]['id'],'action':_0x401c21+_0x43f47e(0x2c3)}],'sheetsFilter':[{'id':_0x41ed04['SetSheetsFilterRangeMutation']['id'],'action':_0x401c21+'setFilter'},{'id':_0x41ed04[_0x43f47e(0x166)]['id'],'action':_0x401c21+_0x43f47e(0x165)},{'id':_0x41ed04[_0x43f47e(0x2a6)]['id'],'action':_0x401c21+'removeFilter'},{'id':_0x41ed04[_0x43f47e(0x164)]['id'],'action':_0x401c21+_0x43f47e(0x32a)}],'dataValidation':[{'id':_0x2c9252[_0x43f47e(0x2fc)]['id'],'action':_0x401c21+_0x43f47e(0x383)},{'id':_0x2c9252['UpdateDataValidationMutation']['id'],'action':_0x401c21+_0x43f47e(0x383)},{'id':_0x2c9252[_0x43f47e(0x262)]['id'],'action':_0x401c21+_0x43f47e(0x3d5)}],'sheetsChart':[{'id':_0x23e923[_0x43f47e(0x21f)]['id'],'action':_0x401c21+_0x43f47e(0x18f)},{'id':_0x23e923[_0x43f47e(0x1d7)]['id'],'action':_0x401c21+_0x43f47e(0x19d)},{'id':_0x23e923[_0x43f47e(0x26e)]['id'],'action':_0x401c21+_0x43f47e(0x269)},{'id':_0x23e923[_0x43f47e(0x3cd)]['id'],'action':_0x401c21+_0x43f47e(0x3c5)}],'sheetsSparkline':[{'id':_0x2ddee4[_0x43f47e(0x14b)]['id'],'action':_0x401c21+_0x43f47e(0x11d)},{'id':_0x2ddee4[_0x43f47e(0x145)]['id'],'action':_0x401c21+_0x43f47e(0x2ba)},{'id':_0x2ddee4[_0x43f47e(0x1ba)]['id'],'action':_0x401c21+_0x43f47e(0x30e)}],'sheetsPivot':[{'id':_0x17c8e0[_0x43f47e(0x291)]['id'],'action':_0x401c21+_0x43f47e(0x315)},{'id':_0x17c8e0[_0x43f47e(0x2a4)]['id'],'action':_0x401c21+_0x43f47e(0x212)},{'id':_0x17c8e0[_0x43f47e(0x3ee)]['id'],'action':_0x401c21+'setPivotOption'},{'id':_0x17c8e0[_0x43f47e(0x3fc)]['id'],'action':_0x401c21+_0x43f47e(0x280)},{'id':_0x17c8e0['UpdatePivotTableSourceRangeMutation']['id'],'action':_0x401c21+_0x43f47e(0x2f8)},{'id':_0x17c8e0['AddPivotFieldMutation']['id'],'action':_0x401c21+_0x43f47e(0x393)},{'id':_0x17c8e0[_0x43f47e(0x25c)]['id'],'action':_0x401c21+_0x43f47e(0x157)},{'id':_0x17c8e0['RenamePivotFieldMutation']['id'],'action':_0x401c21+'renamePivotField'},{'id':_0x17c8e0[_0x43f47e(0x451)]['id'],'action':_0x401c21+_0x43f47e(0x2af)},{'id':_0x17c8e0[_0x43f47e(0x1d2)]['id'],'action':_0x401c21+_0x43f47e(0x260)},{'id':_0x17c8e0[_0x43f47e(0x148)]['id'],'action':_0x401c21+_0x43f47e(0x30b)},{'id':_0x17c8e0[_0x43f47e(0x44e)]['id'],'action':_0x401c21+_0x43f47e(0x39f)},{'id':_0x17c8e0['SetPivotFilterMutation']['id'],'action':_0x401c21+'setPivotFilter'},{'id':_0x17c8e0[_0x43f47e(0x245)]['id'],'action':_0x401c21+_0x43f47e(0x1f7)},{'id':_0x17c8e0[_0x43f47e(0x31b)]['id'],'action':_0x401c21+_0x43f47e(0x1f1)},{'id':_0x17c8e0[_0x43f47e(0x155)]['id'],'action':_0x401c21+_0x43f47e(0x499)},{'id':_0x17c8e0[_0x43f47e(0x429)]['id'],'action':_0x401c21+_0x43f47e(0x1b7)}],'sheetsShape':[{'id':_0x865af4['InsertSheetsShapeMutation']['id'],'action':_0x401c21+'insertShape'},{'id':_0x865af4[_0x43f47e(0x3a8)]['id'],'action':_0x401c21+_0x43f47e(0x264)},{'id':_0x865af4['UpdateSheetsShapeDataMutation']['id'],'action':_0x401c21+_0x43f47e(0x2d8)},{'id':_0x865af4['UpdateSheetsShapeTypeMutation']['id'],'action':_0x401c21+_0x43f47e(0x23c)}],'sheetsTable':[{'id':_0x2ec22d[_0x43f47e(0x3b2)]['id'],'action':_0x401c21+_0x43f47e(0x182)},{'id':_0x2ec22d['DeleteSheetTableMutation']['id'],'action':_0x401c21+_0x43f47e(0x20e)},{'id':_0x2ec22d[_0x43f47e(0x3d6)]['id'],'action':_0x401c21+_0x43f47e(0x281)},{'id':_0x2ec22d[_0x43f47e(0x45f)]['id'],'action':_0x401c21+_0x43f47e(0x398)}],'sheetsDrawing':[{'id':_0xfd993c['SetDrawingApplyMutation']['id'],'action':_0x401c21+_0x43f47e(0x43e)}]};}function _0x229663(_0x448043=_0x1b7ff8(0x129)){const _0xce564c=_0x1b7ff8;let _0x15d6f4=_0x2c4e92(_0x448043);return Object[_0xce564c(0x356)](_0x15d6f4)[_0xce564c(0x159)]();}let _0x270f2f=(_0xbeeff8,_0x728dee)=>{const _0x12ca1b=_0x1b7ff8;if(!_0xbeeff8)return{'date':'','time':''};let _0x2bf007=new Date(_0xbeeff8),_0x32eb8d=_0x2bf007[_0x12ca1b(0x394)]()[_0x12ca1b(0x2bd)]('T')[0x0];switch(_0x728dee){case _0x1ff675['LocaleType'][_0x12ca1b(0x202)]:return{'date':_0x13562e(_0x32eb8d,_0x728dee),'time':_0x2bf007['getHours']()+':'+String(_0x2bf007[_0x12ca1b(0x309)]())[_0x12ca1b(0x473)](0x2,'0')+':'+String(_0x2bf007[_0x12ca1b(0x299)]())[_0x12ca1b(0x473)](0x2,'0')};default:return{'date':_0x13562e(_0x32eb8d,_0x728dee),'time':_0x2bf007[_0x12ca1b(0x452)]()+':'+_0x2bf007[_0x12ca1b(0x309)]()+':'+_0x2bf007[_0x12ca1b(0x299)]()};}},_0x129f96=(_0x5c8f9b,_0x4f0bb6)=>{const _0x1db608=_0x1b7ff8;if(_0x5c8f9b['commands'][_0x1db608(0x2ca)](_0xd7fb53=>_0xd7fb53===_0x3f0f3e[_0x1db608(0x226)]['id'])&&_0x5c8f9b[_0x1db608(0x3b3)]){let _0x9953bb=_0x270f2f(_0x5c8f9b[_0x1db608(0x3b3)],_0x4f0bb6['getCurrentLocale']()),_0x44cdd2=_0x9953bb[_0x1db608(0x13a)]+'\x20'+_0x9953bb['time'];return _0x4f0bb6['t']('editHistory.action.revertSheetPrefix')+'\x20'+_0x44cdd2+'\x20'+_0x4f0bb6['t']('editHistory.action.revertSheetSuffix');}let _0x331612=_0x16f714(_0x5c8f9b),_0x2088a4=Array[_0x1db608(0x1f4)](new Set(_0x331612)),_0x14cfcf;if(_0x2088a4[_0x1db608(0x295)]===0x1)_0x14cfcf=_0x4f0bb6['t'](_0x2088a4[0x0]);else{let _0x4d50fe=_0x2088a4[_0x1db608(0x332)](0x0,0x5)[_0x1db608(0x376)](_0x59bb8c=>_0x4f0bb6['t'](_0x59bb8c))[_0x1db608(0x382)](',\x20');_0x14cfcf=_0x2088a4[_0x1db608(0x295)]>0x5?''+_0x4d50fe+_0x4f0bb6['t'](_0x1db608(0x2f2)):_0x4d50fe;}return''+_0x14cfcf;};function _0x16f714(_0x1a3a46){const _0x4d07e1=_0x1b7ff8;if(_0x1a3a46[_0x4d07e1(0x45b)][_0x4d07e1(0x295)]===0x0)return[''];let _0x2ac7fe='editHistory.action.',_0x24ed3d=_0x2ac7fe+_0x4d07e1(0x215),_0x180a0c=_0x229663(_0x2ac7fe)['filter'](_0x1b631a=>_0x1a3a46[_0x4d07e1(0x45b)]['includes'](_0x1b631a['id']));return _0x180a0c!=null&&_0x180a0c[_0x4d07e1(0x295)]?_0x180a0c[_0x4d07e1(0x376)](_0x28c00f=>_0x28c00f[_0x4d07e1(0x325)]):[_0x24ed3d];}function _0x13562e(_0x5ca583,_0x2ec30c){const _0x13bd46=_0x1b7ff8;let [_0x563bcc,_0x52a0cd,_0x5bc0fa]=new Date()[_0x13bd46(0x394)]()['split']('T')[0x0][_0x13bd46(0x2bd)]('-'),[_0x5e3b2b,_0x138c42,_0x4421c0]=_0x5ca583[_0x13bd46(0x2bd)]('-'),_0xc67edd=_0x563bcc===_0x5e3b2b&&_0x52a0cd===_0x138c42&&_0x5bc0fa===_0x4421c0,_0x2230d4='',_0xb3017b='',_0x3bc1e3='';switch(_0x2ec30c){case _0x1ff675[_0x13bd46(0x378)][_0x13bd46(0x202)]:return _0xc67edd?'今天':(_0x2230d4=_0x563bcc===_0x5e3b2b?'':_0x5e3b2b+'年',_0xb3017b=_0x138c42+'月',_0x3bc1e3=_0x4421c0+'日',''+_0x2230d4+_0xb3017b+_0x3bc1e3);default:return _0xc67edd?'Today':(_0x2230d4=_0x563bcc===_0x5e3b2b?'':_0x5e3b2b+'-',_0xb3017b=_0x138c42+'-',_0x3bc1e3=''+_0x4421c0,''+_0x2230d4+_0xb3017b+_0x3bc1e3);}}function _0x1c8a20(_0x40880a){const _0xae5a1f=_0x1b7ff8;return _0x40880a?_0x40880a[_0xae5a1f(0x147)]((_0x5cb0e2,_0x36e3db)=>{const _0x109baf=_0xae5a1f;let _0x16a7cc=new Date(_0x36e3db['time'])[_0x109baf(0x394)]()[_0x109baf(0x2bd)]('T')[0x0],_0x589b93=_0x36e3db[_0x109baf(0x38c)]?new Date(_0x36e3db[_0x109baf(0x38c)])['toISOString']()[_0x109baf(0x2bd)]('T')[0x0]:_0x16a7cc,_0x4e6648=_0x36e3db['endRevCreateTime']?new Date(_0x36e3db[_0x109baf(0x26f)])[_0x109baf(0x394)]()[_0x109baf(0x2bd)]('T')[0x0]:_0x16a7cc;return _0x5cb0e2[_0x109baf(0x295)]>0x0&&_0x5cb0e2[_0x5cb0e2['length']-0x1][_0x109baf(0x1b6)]===_0x589b93?_0x5cb0e2[_0x5cb0e2[_0x109baf(0x295)]-0x1][_0x109baf(0x3f0)][_0x109baf(0x36f)](_0x36e3db):_0x5cb0e2['push']({'dateString':_0x16a7cc,'startDateString':_0x589b93,'endDateString':_0x4e6648,'versions':[_0x36e3db]}),_0x5cb0e2;},[]):[];}let _0xe4d65b=_0x1b7ff8(0x236);Symbol(_0xe4d65b);let _0x1fe70b={};function _0x5294c9(_0x1fef98){'@babel/helpers - typeof';const _0x592549=_0x1b7ff8;return _0x5294c9=typeof Symbol==_0x592549(0x3d9)&&typeof Symbol[_0x592549(0x2ed)]==_0x592549(0x193)?function(_0xbd0726){return typeof _0xbd0726;}:function(_0xd5e5ce){const _0x405202=_0x592549;return _0xd5e5ce&&typeof Symbol==_0x405202(0x3d9)&&_0xd5e5ce['constructor']===Symbol&&_0xd5e5ce!==Symbol['prototype']?_0x405202(0x193):typeof _0xd5e5ce;},_0x5294c9(_0x1fef98);}function _0x398f42(_0xe504d1,_0x4f0136){const _0x1c508b=_0x1b7ff8;if(_0x5294c9(_0xe504d1)!=_0x1c508b(0x17d)||!_0xe504d1)return _0xe504d1;var _0x2b7377=_0xe504d1[Symbol['toPrimitive']];if(_0x2b7377!==void 0x0){var _0x44c258=_0x2b7377[_0x1c508b(0x339)](_0xe504d1,_0x4f0136||'default');if(_0x5294c9(_0x44c258)!=_0x1c508b(0x17d))return _0x44c258;throw TypeError(_0x1c508b(0x404));}return(_0x4f0136===_0x1c508b(0x3b0)?String:Number)(_0xe504d1);}function _0x5461ed(_0x4ec5e0){const _0x18f3fb=_0x1b7ff8;var _0x2984b5=_0x398f42(_0x4ec5e0,_0x18f3fb(0x3b0));return _0x5294c9(_0x2984b5)==_0x18f3fb(0x193)?_0x2984b5:_0x2984b5+'';}function _0x49c423(_0x1f0c7a,_0x26977a,_0x56b9f8){const _0x2cd67a=_0x1b7ff8;return(_0x26977a=_0x5461ed(_0x26977a))in _0x1f0c7a?Object[_0x2cd67a(0x124)](_0x1f0c7a,_0x26977a,{'value':_0x56b9f8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1f0c7a[_0x26977a]=_0x56b9f8,_0x1f0c7a;}function _0x274dca(_0x49d22d,_0x5ec48d){return function(_0x20f364,_0xefe33){_0x5ec48d(_0x20f364,_0xefe33,_0x49d22d);};}function _0x110e9b(_0x48fecf,_0x1e6fec,_0x37e489,_0x377aef){const _0x1b5cb5=_0x1b7ff8;var _0x5899c3=arguments[_0x1b5cb5(0x295)],_0x540cbe=_0x5899c3<0x3?_0x1e6fec:_0x377aef===null?_0x377aef=Object[_0x1b5cb5(0x1af)](_0x1e6fec,_0x37e489):_0x377aef,_0x46ee19;if(typeof Reflect==_0x1b5cb5(0x17d)&&typeof Reflect[_0x1b5cb5(0x211)]==_0x1b5cb5(0x3d9))_0x540cbe=Reflect[_0x1b5cb5(0x211)](_0x48fecf,_0x1e6fec,_0x37e489,_0x377aef);else{for(var _0x2a02f6=_0x48fecf['length']-0x1;_0x2a02f6>=0x0;_0x2a02f6--)(_0x46ee19=_0x48fecf[_0x2a02f6])&&(_0x540cbe=(_0x5899c3<0x3?_0x46ee19(_0x540cbe):_0x5899c3>0x3?_0x46ee19(_0x1e6fec,_0x37e489,_0x540cbe):_0x46ee19(_0x1e6fec,_0x37e489))||_0x540cbe);}return _0x5899c3>0x3&&_0x540cbe&&Object[_0x1b5cb5(0x124)](_0x1e6fec,_0x37e489,_0x540cbe),_0x540cbe;}let _0x27ee32=function(_0x4b9406){const _0x35ff86=_0x1b7ff8;return _0x4b9406[_0x4b9406[_0x35ff86(0x386)]=0x0]='Unspecified',_0x4b9406[_0x4b9406[_0x35ff86(0x2b9)]=0x1]='User',_0x4b9406[_0x4b9406[_0x35ff86(0x32e)]=0x2]=_0x35ff86(0x32e),_0x4b9406;}({}),_0x1e040a=class extends _0x1ff675[_0x1b7ff8(0x3d7)]{constructor(_0x8e3ba0,_0x4eefb0,_0x19fc47,_0x1facb3,_0x93b439,_0x243fd5,_0x505619){const _0x4fd539=_0x1b7ff8;super(),this[_0x4fd539(0x196)]=_0x8e3ba0,this[_0x4fd539(0x498)]=_0x4eefb0,this[_0x4fd539(0x30c)]=_0x19fc47,this[_0x4fd539(0x454)]=_0x1facb3,this['_httpService']=_0x93b439,this[_0x4fd539(0x317)]=_0x243fd5,this[_0x4fd539(0x494)]=_0x505619,_0x49c423(this,_0x4fd539(0x481),void 0x0),this[_0x4fd539(0x481)]=new _0x1ff675[(_0x4fd539(0x1bf))](0x3c);}[_0x1b7ff8(0x25d)](){const _0x583f67=_0x1b7ff8;this[_0x583f67(0x481)]['clear'](),super[_0x583f67(0x25d)]();}async[_0x1b7ff8(0x2d9)](_0x54cf67){const _0x18e53d=_0x1b7ff8;try{let _0xcf054b=(await this[_0x18e53d(0x25f)][_0x18e53d(0x3c4)](this[_0x18e53d(0x30d)]()+'/'+_0x54cf67+_0x18e53d(0x380)))[_0x18e53d(0x237)];if(_0xcf054b&&_0xcf054b[_0x18e53d(0x12a)]&&_0xcf054b['error'][_0x18e53d(0x44f)]===_0x2c1da0[_0x18e53d(0x125)]['OK'])return _0xcf054b[_0x18e53d(0x3ed)];}catch(_0x37a0cd){console['error'](_0x37a0cd);}return[];}async['getVersions'](_0x526684,_0x5bb0f4){const _0x498ca0=_0x1b7ff8;let {userIds:_0x484fc5,lastLabel:_0x49f561,origin:_0x29568e}=_0x5bb0f4==null?{}:_0x5bb0f4,_0x133235=new URLSearchParams();_0x133235['set']('length','20'),_0x49f561&&_0x133235[_0x498ca0(0x44c)]('lastLabel',_0x49f561),_0x484fc5==null||_0x484fc5[_0x498ca0(0x36d)](_0x541801=>{const _0x5a4fc2=_0x498ca0;_0x133235['append'](_0x5a4fc2(0x34a),_0x541801);}),_0x29568e&&_0x133235[_0x498ca0(0x44c)](_0x498ca0(0x181),_0x29568e[_0x498ca0(0x445)]());let _0x50c32f=this[_0x498ca0(0x30d)]()+'/'+_0x526684+_0x498ca0(0x277)+_0x133235[_0x498ca0(0x445)]();try{let _0x717b9c=(await this[_0x498ca0(0x25f)]['get'](_0x50c32f))[_0x498ca0(0x237)];if(_0x717b9c&&_0x717b9c['error']&&_0x717b9c[_0x498ca0(0x12a)][_0x498ca0(0x44f)]===_0x2c1da0[_0x498ca0(0x125)]['OK']){let {hasMore:_0x2b53ce,lastLabel:_0x49e823}=_0x717b9c;return{'hasMore':_0x2b53ce,'lastLabel':_0x49e823,'versions':_0x1af2c9(_0x717b9c),'members':_0x717b9c['entities']['users']};}}catch(_0x44b110){console[_0x498ca0(0x12a)](_0x44b110);}return null;}async[_0x1b7ff8(0x1c8)](_0x4f0be4,_0x5930e6){const _0x46dffa=_0x1b7ff8;let {unitId:_0x2c7a20,startRevision:_0x1382fb,endRevision:_0x134f95}=_0x5930e6,_0x589916=this[_0x46dffa(0x30d)]()+'/'+_0x2c7a20+'/cs?startRevision='+_0x1382fb+_0x46dffa(0x3c7)+_0x134f95;return(await this[_0x46dffa(0x25f)][_0x46dffa(0x3c4)](_0x589916))[_0x46dffa(0x237)];}[_0x1b7ff8(0x30d)](){const _0x3be2c8=_0x1b7ff8;var _0xa76073;let _0x151ca6=this[_0x3be2c8(0x454)]['getConfig'](_0xe4d65b);return(_0xa76073=_0x151ca6==null?void 0x0:_0x151ca6['historyListServerUrl'])==null?_0x3be2c8(0x267):_0xa76073;}['_cacheKey'](_0x21a87c,_0x14bf8b){return _0x21a87c+':'+_0x14bf8b;}async[_0x1b7ff8(0x13e)](_0x36ef20,_0x53a63b,_0x303ec6={}){const _0x2af801=_0x1b7ff8;var _0x2161cb;let _0x1ee048=this[_0x2af801(0x22d)](_0x36ef20,_0x53a63b),_0x42cdf7=this[_0x2af801(0x481)][_0x2af801(0x3c4)](_0x1ee048);if(_0x42cdf7){let {workbookData:_0x27c253,changesets:_0x2e0f27}=_0x42cdf7;return await this['_applyWorkbookData'](_0x27c253,_0x2e0f27),!0x0;}let {snapshot:_0x16d44c,changesets:_0x145a42,error:_0xe99fa0}=await this[_0x2af801(0x196)][_0x2af801(0x341)](_0x303ec6,{'unitID':_0x36ef20,'type':_0x1ff675[_0x2af801(0x33a)][_0x2af801(0x475)],'revision':_0x53a63b});if((0x0,_0x2c1da0['isError'])(_0xe99fa0)||!_0x16d44c||!_0x16d44c[_0x2af801(0x1d9)])throw Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');let _0x4e2f54=(_0x2161cb=_0x145a42==null?void 0x0:_0x145a42[_0x2af801(0x295)])==null?0x0:_0x2161cb;if(_0x53a63b!==0x0&&_0x16d44c[_0x2af801(0x198)]+_0x4e2f54!==_0x53a63b)throw Error(_0x2af801(0x311));let {workbook:_0x250d7b}=_0x16d44c,_0x3dc4ee=_0x250d7b[_0x2af801(0x1e5)]?Object['values'](_0x250d7b[_0x2af801(0x1e5)])['flatMap'](_0x49b388=>{var _0x504471;return(_0x504471=_0x49b388['blocks'])==null?[]:_0x504471;}):[],_0x1d2cb4=await(0x0,_0x3f0f3e[_0x2af801(0x27b)])(_0x16d44c,(await Promise['all'](_0x3dc4ee[_0x2af801(0x376)](_0x4f95f1=>this[_0x2af801(0x196)][_0x2af801(0x2ee)](_0x303ec6,{'unitID':_0x36ef20,'type':_0x1ff675[_0x2af801(0x33a)][_0x2af801(0x475)],'blockID':_0x4f95f1})[_0x2af801(0x373)](_0x4a20ce=>_0x4a20ce[_0x2af801(0x358)]))))[_0x2af801(0x433)](Boolean),_0x303ec6);return this[_0x2af801(0x481)]['set'](_0x1ee048,{'workbookData':_0x1d2cb4,'changesets':_0x145a42}),await this['_applyWorkbookData'](_0x1d2cb4,_0x145a42),!0x0;}async[_0x1b7ff8(0x282)](_0x8682b6,_0x75f54f){const _0xcc81cc=_0x1b7ff8;let _0x5a4fcf=this[_0xcc81cc(0x498)][_0xcc81cc(0x160)](_0x1ff675[_0xcc81cc(0x33a)]['UNIVER_SHEET']);_0x5a4fcf&&(this['_univerInstanceService'][_0xcc81cc(0x3cc)](_0x5a4fcf[_0xcc81cc(0x385)]()),await Promise[_0xcc81cc(0x183)]());let _0x6c7fe0=JSON[_0xcc81cc(0x3a0)](JSON['stringify'](_0x8682b6));this[_0xcc81cc(0x439)](_0x6c7fe0,_0x75f54f),this[_0xcc81cc(0x494)]['refreshRangeProtectPermission']();}['_createUnit'](_0x299cc0,_0x1e1e2e){const _0xea2b89=_0x1b7ff8;let _0x594786=this[_0xea2b89(0x498)]['createUnit'](_0x1ff675['UniverInstanceType'][_0xea2b89(0x475)],_0x299cc0);this['_univerInstanceService'][_0xea2b89(0x46b)](_0x594786[_0xea2b89(0x385)]());let _0x3050f0=this['_compressMutationService'][_0xea2b89(0x434)][_0xea2b89(0x221)](this[_0xea2b89(0x317)]['interceptor'][_0xea2b89(0x330)]()[_0xea2b89(0x23d)]);return _0x1e1e2e==null||_0x1e1e2e[_0xea2b89(0x36d)](_0x4701c7=>{const _0x97ed80=_0xea2b89;let _0x3211aa=_0x4701c7['mutations']['map'](_0x24531a=>({'id':_0x24531a['id'],'params':JSON['parse'](_0x24531a[_0x97ed80(0x138)])}));(_0x3050f0(_0x3211aa,null)||_0x3211aa)[_0x97ed80(0x36d)](_0x25ee84=>{const _0xb54c9f=_0x97ed80;this['_commandService'][_0xb54c9f(0x391)](_0x25ee84['id'])&&this[_0xb54c9f(0x30c)]['syncExecuteCommand'](_0x25ee84['id'],_0x25ee84[_0xb54c9f(0x488)],{'fromChangeset':!0x0});});}),_0x594786;}};_0x1e040a=_0x110e9b([_0x274dca(0x0,_0x3f0f3e[_0x1b7ff8(0x185)]),_0x274dca(0x1,_0x1ff675[_0x1b7ff8(0x12f)]),_0x274dca(0x2,_0x1ff675[_0x1b7ff8(0x39b)]),_0x274dca(0x3,_0x1ff675[_0x1b7ff8(0x1f2)]),_0x274dca(0x4,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x263e7d[_0x1b7ff8(0x287)])),_0x274dca(0x5,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x3f0f3e[_0x1b7ff8(0x2c8)])),_0x274dca(0x6,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x37f055[_0x1b7ff8(0x49e)]))],_0x1e040a);function _0x1af2c9(_0xb29f0b){const _0x21d8e4=_0x1b7ff8;let _0x148022=[],{entities:_0x4e1fb0,historyIds:_0x5873ad}=_0xb29f0b,{datas:_0x4b6bfc,users:_0x238d9d}=_0x4e1fb0;for(let _0x6ae891 of _0x5873ad){let _0x474fea=_0x4b6bfc[_0x6ae891];if(_0x474fea){var _0x18e9bf,_0x1eab64;let _0xdeb51a=!!((_0x18e9bf=_0x238d9d[_0x474fea[_0x21d8e4(0x298)]])!=null&&_0x18e9bf['anonymous']);_0x148022[_0x21d8e4(0x36f)]({'unitId':_0x474fea[_0x21d8e4(0x37c)],'user':_0xdeb51a?'':(_0x238d9d==null||(_0x1eab64=_0x238d9d[_0x474fea[_0x21d8e4(0x298)]])==null?void 0x0:_0x1eab64[_0x21d8e4(0x3a1)])||'','users':_0x474fea[_0x21d8e4(0x34a)][_0x21d8e4(0x376)](_0x265afa=>{const _0x447a87=_0x21d8e4;var _0x57438a;return(_0x238d9d==null||(_0x57438a=_0x238d9d[_0x265afa])==null?void 0x0:_0x57438a[_0x447a87(0x3a1)])||'';})[_0x21d8e4(0x433)](_0x29176e=>_0x29176e),'isAnonymous':_0xdeb51a,'id':_0x6ae891,'time':_0x474fea[_0x21d8e4(0x22b)]?Number(_0x474fea[_0x21d8e4(0x22b)]):void 0x0,'commands':_0x474fea[_0x21d8e4(0x22c)],'startRev':Number(_0x474fea['startRevision']),'endRev':Number(_0x474fea[_0x21d8e4(0x364)]),'recoverTime':_0x474fea[_0x21d8e4(0x3b3)]?Number(_0x474fea[_0x21d8e4(0x3b3)]):void 0x0,'additionalFields':_0x474fea['additionalFields'],'startRevCreateTime':_0x474fea[_0x21d8e4(0x38c)]?Number(_0x474fea[_0x21d8e4(0x38c)]):void 0x0,'endRevCreateTime':_0x474fea[_0x21d8e4(0x26f)]?Number(_0x474fea[_0x21d8e4(0x26f)]):void 0x0});}}return _0x148022;}let _0x1702fc=function(_0x4071f7){const _0x5d04aa=_0x1b7ff8;return _0x4071f7[_0x5d04aa(0x1c9)]=_0x5d04aa(0x15e),_0x4071f7[_0x5d04aa(0x1eb)]=_0x5d04aa(0x1d0),_0x4071f7[_0x5d04aa(0x2a3)]=_0x5d04aa(0x12a),_0x4071f7;}({}),_0x47279d=function(_0x5af316){const _0x3f82f8=_0x1b7ff8;return _0x5af316[_0x3f82f8(0x430)]='init',_0x5af316[_0x3f82f8(0x2a9)]='loading',_0x5af316[_0x3f82f8(0x3dc)]='loaded',_0x5af316;}({}),_0x375890=_0x1b7ff8(0x40a),_0x3b5fc2=class extends _0x1ff675[_0x1b7ff8(0x3d7)]{[_0x1b7ff8(0x2df)](_0xa2f6a4){const _0x1d021c=_0x1b7ff8;this[_0x1d021c(0x4a0)][_0x1d021c(0x27d)](_0xa2f6a4);}get['fetching'](){const _0xfd1068=_0x1b7ff8;return this[_0xfd1068(0x4a0)][_0xfd1068(0x353)];}constructor(_0x1ae50b,_0x36e5b0,_0x114af6,_0xb8fa45){const _0x1179e8=_0x1b7ff8;super(),this[_0x1179e8(0x178)]=_0x1ae50b,this[_0x1179e8(0x3df)]=_0x36e5b0,this[_0x1179e8(0x3a9)]=_0x114af6,this[_0x1179e8(0x162)]=_0xb8fa45,_0x49c423(this,_0x1179e8(0x359),new _0x1cdcf3[(_0x1179e8(0x263))]([])),_0x49c423(this,'versions$',this[_0x1179e8(0x359)][_0x1179e8(0x1e7)]()),_0x49c423(this,_0x1179e8(0x37e),new _0x1cdcf3['BehaviorSubject']('')),_0x49c423(this,_0x1179e8(0x417),this['_currentVersion$'][_0x1179e8(0x1e7)]()),_0x49c423(this,_0x1179e8(0x156),new _0x1cdcf3[(_0x1179e8(0x263))](_0x1702fc[_0x1179e8(0x1c9)])),_0x49c423(this,_0x1179e8(0x2cf),this[_0x1179e8(0x156)][_0x1179e8(0x1e7)]()),_0x49c423(this,'_revertRevision$',new _0x1cdcf3[(_0x1179e8(0x263))](0x0)),_0x49c423(this,_0x1179e8(0x308),this['_revertRevision$']['asObservable']()),_0x49c423(this,'_unitId$',new _0x1cdcf3[(_0x1179e8(0x263))]('')),_0x49c423(this,'unitId$',this[_0x1179e8(0x228)][_0x1179e8(0x1e7)]()),_0x49c423(this,_0x1179e8(0x4a0),new _0x1cdcf3['BehaviorSubject'](!0x1)),_0x49c423(this,_0x1179e8(0x2ab),this['_fetching$']['asObservable']()),_0x49c423(this,'_creators$',new _0x1cdcf3[(_0x1179e8(0x263))]([])),_0x49c423(this,_0x1179e8(0x12b),this[_0x1179e8(0x2c2)][_0x1179e8(0x1e7)]()),_0x49c423(this,_0x1179e8(0x477),new _0x1cdcf3[(_0x1179e8(0x263))](!0x1)),_0x49c423(this,_0x1179e8(0x49f),this['_openPanel$'][_0x1179e8(0x1e7)]()),_0x49c423(this,_0x1179e8(0x3e1),new Map()),_0x49c423(this,_0x1179e8(0x2fb),new _0x1cdcf3[(_0x1179e8(0x263))](_0x47279d['Init'])),_0x49c423(this,_0x1179e8(0x3c2),this[_0x1179e8(0x2fb)][_0x1179e8(0x1e7)]()),_0x49c423(this,_0x1179e8(0x38f),null),_0x49c423(this,_0x1179e8(0x144),!0x0),_0x49c423(this,'_members',new Map()),_0x49c423(this,_0x1179e8(0x344),void 0x0),_0x49c423(this,_0x1179e8(0x425),void 0x0),_0x49c423(this,'_maskElement',void 0x0),_0x49c423(this,_0x1179e8(0x19a),!0x1),_0x49c423(this,_0x1179e8(0x205),null),_0x49c423(this,_0x1179e8(0x153),new Map());}async['triggerLoadVersions'](_0x1b23a5,_0x3c387c,_0x3f90d2){const _0x2828fe=_0x1b7ff8;this[_0x2828fe(0x344)]=_0x3c387c,this[_0x2828fe(0x19a)]=_0x3f90d2,this[_0x2828fe(0x477)][_0x2828fe(0x27d)](!0x0),await this[_0x2828fe(0x2b2)](_0x1b23a5);}[_0x1b7ff8(0x28f)](_0x185191,_0x53e85a='',_0x125924,_0x223703){const _0x15032c=_0x1b7ff8;let {versions:_0x4a6068,hasMore:_0x425e76,lastLabel:_0x3209b0,members:_0x1d65d0}=_0x223703,_0x9a349a=_0x4a6068[_0x15032c(0x295)]>0x0?_0x4a6068:[{'unitId':_0x185191,'id':_0x375890,'startRev':0x1,'endRev':0x0,'time':Date[_0x15032c(0x229)](),'user':this['_localeService']['t']('editHistory.panel.currentUser'),'users':[this[_0x15032c(0x3a9)]['t'](_0x15032c(0x476))],'commands':[],'isAnonymous':!0x1}];this[_0x15032c(0x19a)]=_0x125924,this[_0x15032c(0x344)]=_0x53e85a,this['_unitId$'][_0x15032c(0x27d)](_0x185191),this[_0x15032c(0x407)](_0x9a349a,_0x425e76,_0x3209b0,!0x1,_0x1d65d0),this['_currentVersion$'][_0x15032c(0x27d)](_0x9a349a[0x0]['id']);}async[_0x1b7ff8(0x2b2)](_0x6bf476,_0x275df1){const _0x461c83=_0x1b7ff8;this[_0x461c83(0x228)]['next'](_0x6bf476),this[_0x461c83(0x205)]=_0x275df1==null?null:_0x275df1,this['_setFetching'](!0x0);let _0x5819c6=await this[_0x461c83(0x162)]['getVersions'](_0x6bf476,_0x275df1);if(this[_0x461c83(0x2df)](!0x1),_0x5819c6){let {versions:_0x43777b,lastLabel:_0x25a3f6,hasMore:_0x2e3593,members:_0x20bc23}=_0x5819c6;_0x43777b['length']===0x0&&_0x43777b[_0x461c83(0x36f)]({'unitId':_0x6bf476,'id':_0x375890,'startRev':0x1,'endRev':0x0,'time':Date[_0x461c83(0x229)](),'user':this['_localeService']['t'](_0x461c83(0x476)),'users':[this[_0x461c83(0x3a9)]['t'](_0x461c83(0x476))],'commands':[],'isAnonymous':!0x1}),this[_0x461c83(0x407)](_0x43777b,_0x2e3593,_0x25a3f6,!0x1,_0x20bc23),this['_currentVersion$'][_0x461c83(0x27d)](_0x43777b[0x0]['id']),this[_0x461c83(0x153)]['set'](_0x6bf476,_0x43777b[0x0]['endRev']);}else this['_status$'][_0x461c83(0x27d)](_0x1702fc['Error']);}async['loadMoreVersions'](){const _0x296d86=_0x1b7ff8;if(!this['_lastLabel']||!this[_0x296d86(0x144)]||this[_0x296d86(0x1c3)])return!0x1;this[_0x296d86(0x2df)](!0x0);let _0x8d7e4d=await this[_0x296d86(0x162)][_0x296d86(0x48b)](this[_0x296d86(0x37c)],{'lastLabel':this[_0x296d86(0x38f)],...this[_0x296d86(0x205)]});if(this[_0x296d86(0x2df)](!0x1),_0x8d7e4d){let {versions:_0x51aca0,lastLabel:_0x433eaa,hasMore:_0xf6dd8,members:_0x5cf6a1}=_0x8d7e4d;this[_0x296d86(0x407)](_0x51aca0,_0xf6dd8,_0x433eaa,!0x0,_0x5cf6a1);}else this[_0x296d86(0x178)]['show']({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x36e70d[_0x296d86(0x17e)][_0x296d86(0x2a3)],'duration':0xbb8});return!0x0;}async[_0x1b7ff8(0x3f7)](){const _0xc99a84=_0x1b7ff8;let {unitId:_0x4d19a5}=this;if(!_0x4d19a5)return;let _0xaa2efe=await this[_0xc99a84(0x162)][_0xc99a84(0x2d9)](_0x4d19a5);_0xaa2efe&&this[_0xc99a84(0x2c2)][_0xc99a84(0x27d)](_0xaa2efe);}async[_0x1b7ff8(0x290)](_0x16bb65){const _0x592674=_0x1b7ff8;let {endRev:_0x119359}=this[_0x592674(0x271)](_0x16bb65)||{};_0x119359||_0x119359===0x0?(this['_loadingState$']['next'](_0x47279d['Loading']),await this['_historyFetchService'][_0x592674(0x13e)](this['unitId'],_0x119359),this['_loadingState$'][_0x592674(0x27d)](_0x47279d[_0x592674(0x3dc)])):this[_0x592674(0x156)][_0x592674(0x27d)](_0x1702fc[_0x592674(0x2a3)]);}async[_0x1b7ff8(0x31f)](_0x17fe5e){const _0x4845cc=_0x1b7ff8;let _0x57b22c=_0x17fe5e?this['getVersion'](_0x17fe5e):this[_0x4845cc(0x413)]();if(!_0x57b22c)return;let _0x1db893=_0x57b22c[_0x4845cc(0x37d)],_0x406d76=_0x270f2f(_0x57b22c[_0x4845cc(0x15c)],this[_0x4845cc(0x3a9)][_0x4845cc(0x122)]());await this[_0x4845cc(0x3df)][_0x4845cc(0x34e)]({'id':'confirm-revert-revision','title':{'title':this['_localeService']['t'](_0x4845cc(0x1f0))},'children':{'title':this[_0x4845cc(0x3a9)]['t'](_0x4845cc(0x171))+_0x4845cc(0x3eb)+_0x406d76[_0x4845cc(0x13a)]+'\x20'+_0x406d76[_0x4845cc(0x15c)]+')'},'cancelText':this[_0x4845cc(0x3a9)]['t'](_0x4845cc(0x3e6)),'confirmText':this[_0x4845cc(0x3a9)]['t']('editHistory.panel.confirm')})&&this[_0x4845cc(0x29b)][_0x4845cc(0x27d)](_0x1db893);}[_0x1b7ff8(0x407)](_0x27f261,_0x5136a7,_0x13f398,_0x56e526,_0x5454dd){const _0x11c0cd=_0x1b7ff8;this['_setVersions'](_0x56e526?this['_versions$'][_0x11c0cd(0x353)]['concat'](_0x27f261):_0x27f261),this[_0x11c0cd(0x144)]=_0x5136a7,this['_lastLabel']=_0x13f398,_0x5454dd&&Object[_0x11c0cd(0x187)](_0x5454dd)[_0x11c0cd(0x36d)](_0x27ea3a=>this[_0x11c0cd(0x3d2)]['set'](_0x27ea3a,_0x5454dd[_0x27ea3a]));}[_0x1b7ff8(0x413)](){const _0x4d7d1f=_0x1b7ff8;return this['getVersion'](this[_0x4d7d1f(0x37e)][_0x4d7d1f(0x353)]);}[_0x1b7ff8(0x1c1)](_0x1c5be7){const _0x5a35b0=_0x1b7ff8;this['_versions$'][_0x5a35b0(0x27d)](_0x1c5be7);}['getVersion'](_0xe2770a){const _0x3b79bb=_0x1b7ff8;var _0x498e32;return((_0x498e32=this[_0x3b79bb(0x359)][_0x3b79bb(0x353)])==null?void 0x0:_0x498e32['find'](_0x1c8bfe=>_0x1c8bfe['id']===_0xe2770a))||this['_detailVersionsMap'][_0x3b79bb(0x3c4)](_0xe2770a);}['registerDetailVersion'](_0x80d2c2){const _0x1b313f=_0x1b7ff8;this[_0x1b313f(0x3e1)][_0x1b313f(0x44c)](_0x80d2c2['id'],_0x80d2c2);}[_0x1b7ff8(0x2fe)](){const _0x2176cb=_0x1b7ff8;if(this[_0x2176cb(0x37c)])return this[_0x2176cb(0x153)][_0x2176cb(0x3c4)](this[_0x2176cb(0x37c)]);}[_0x1b7ff8(0x363)](){const _0xdeb2fb=_0x1b7ff8;var _0x10423f;return((_0x10423f=this[_0xdeb2fb(0x413)]())==null?void 0x0:_0x10423f['endRev'])===this[_0xdeb2fb(0x2fe)]();}['getSelectedVersionCanRevert'](){const _0x1efcb1=_0x1b7ff8;return!this[_0x1efcb1(0x363)]()&&this[_0x1efcb1(0x471)];}[_0x1b7ff8(0x2bb)](_0x4ecf6b){const _0x41983b=_0x1b7ff8;return this[_0x41983b(0x3d2)][_0x41983b(0x3c4)](_0x4ecf6b);}[_0x1b7ff8(0x2a2)](){const _0x53b2f8=_0x1b7ff8;this[_0x53b2f8(0x21c)]=document[_0x53b2f8(0x1a3)]('div'),this[_0x53b2f8(0x21c)]['className']=_0x53b2f8(0x14d),this[_0x53b2f8(0x21c)][_0x53b2f8(0x3e8)][_0x53b2f8(0x151)]=_0x53b2f8(0x21b),this[_0x53b2f8(0x21c)]['style'][_0x53b2f8(0x3a2)]='0',this['_maskElement']['style'][_0x53b2f8(0x32d)]='0',this[_0x53b2f8(0x21c)][_0x53b2f8(0x3e8)][_0x53b2f8(0x456)]='100%',this[_0x53b2f8(0x21c)]['style'][_0x53b2f8(0x480)]=_0x53b2f8(0x40c),this[_0x53b2f8(0x21c)][_0x53b2f8(0x3e8)]['backgroundColor']=_0x53b2f8(0x352),this['_maskElement'][_0x53b2f8(0x3e8)][_0x53b2f8(0x242)]=_0x53b2f8(0x167),this['_maskElement']['style'][_0x53b2f8(0x231)]=_0x53b2f8(0x3cf),this[_0x53b2f8(0x21c)][_0x53b2f8(0x3e8)][_0x53b2f8(0x397)]=_0x53b2f8(0x336),this[_0x53b2f8(0x21c)][_0x53b2f8(0x3e8)]['zIndex']=_0x53b2f8(0x369),this[_0x53b2f8(0x21c)][_0x53b2f8(0x3e8)][_0x53b2f8(0x231)]='none',this[_0x53b2f8(0x425)][_0x53b2f8(0x140)](this[_0x53b2f8(0x21c)]);}[_0x1b7ff8(0x2d7)](){const _0x4b98b1=_0x1b7ff8;let _0x344bfa=document[_0x4b98b1(0x20a)](this[_0x4b98b1(0x344)]);_0x344bfa&&(this[_0x4b98b1(0x425)]=_0x344bfa,this[_0x4b98b1(0x2a2)]());}[_0x1b7ff8(0x1e6)](){const _0xdf0ffb=_0x1b7ff8;this[_0xdf0ffb(0x425)]||this[_0xdf0ffb(0x2d7)](),this[_0xdf0ffb(0x21c)]&&(this[_0xdf0ffb(0x21c)][_0xdf0ffb(0x3e8)]['display']=_0xdf0ffb(0x3cf));}[_0x1b7ff8(0x3f8)](){const _0x3f8e83=_0x1b7ff8;this['_maskElement']&&(this[_0x3f8e83(0x21c)][_0x3f8e83(0x3e8)][_0x3f8e83(0x231)]='none');}set[_0x1b7ff8(0x19e)](_0x3be76f){const _0x54611=_0x1b7ff8;this[_0x54611(0x156)]['next'](_0x3be76f);}set[_0x1b7ff8(0x1cb)](_0x330b5d){const _0x5ea700=_0x1b7ff8;_0x330b5d!==this[_0x5ea700(0x37e)][_0x5ea700(0x353)]&&this[_0x5ea700(0x37e)]['next'](_0x330b5d);}get['currentVersion'](){const _0x22accc=_0x1b7ff8;return this[_0x22accc(0x37e)][_0x22accc(0x353)];}set[_0x1b7ff8(0x37c)](_0x2e8628){const _0x51fa25=_0x1b7ff8;this['_unitId$'][_0x51fa25(0x27d)](_0x2e8628);}get[_0x1b7ff8(0x37c)](){const _0x5ed34a=_0x1b7ff8;return this[_0x5ed34a(0x228)]['value'];}get[_0x1b7ff8(0x471)](){const _0x49277e=_0x1b7ff8;return this[_0x49277e(0x19a)];}get[_0x1b7ff8(0x458)](){const _0x4f27cd=_0x1b7ff8;return this[_0x4f27cd(0x2fb)]['value'];}};_0x3b5fc2=_0x110e9b([_0x274dca(0x0,_0x2ba54d[_0x1b7ff8(0x16d)]),_0x274dca(0x1,_0x1ff675[_0x1b7ff8(0x1e8)]),_0x274dca(0x2,(0x0,_0x1ff675['Inject'])(_0x1ff675['LocaleService'])),_0x274dca(0x3,(0x0,_0x1ff675['Inject'])(_0x1e040a))],_0x3b5fc2);let _0x4eafe8=class extends _0x1ff675[_0x1b7ff8(0x3d7)]{constructor(_0x1722f5,_0x2e5cc3,_0x2a2c2e,_0x456db7,_0x31b342,_0x28387e,_0x4888e5,_0x331732,_0x173c1d,_0x109c1e,_0x3b95b9,_0x38595b,_0x31e4db){const _0x26b899=_0x1b7ff8;super(),this[_0x26b899(0x33f)]=_0x1722f5,this[_0x26b899(0x42b)]=_0x2e5cc3,this['_snapshotServerService']=_0x2a2c2e,this['_rangeProtectionRuleModel']=_0x456db7,this[_0x26b899(0x45d)]=_0x31b342,this[_0x26b899(0x1b1)]=_0x28387e,this[_0x26b899(0x36b)]=_0x4888e5,this[_0x26b899(0x411)]=_0x331732,this[_0x26b899(0x2c9)]=_0x173c1d,this[_0x26b899(0x276)]=_0x109c1e,this[_0x26b899(0x3a9)]=_0x3b95b9,this[_0x26b899(0x375)]=_0x38595b,this['_historyFetchService']=_0x31e4db,_0x49c423(this,_0x26b899(0x48c),new Map()),_0x49c423(this,_0x26b899(0x420),new _0x1cdcf3[(_0x26b899(0x263))]({'ranges':new Map(),'active':null,'subUnitIds':[]})),_0x49c423(this,_0x26b899(0x255),this[_0x26b899(0x420)][_0x26b899(0x1e7)]()),this[_0x26b899(0x209)]();}[_0x1b7ff8(0x209)](){const _0x2ed5c4=_0x1b7ff8;this[_0x2ed5c4(0x48c)]=new Map(),this[_0x2ed5c4(0x3bd)](this[_0x2ed5c4(0x33f)][_0x2ed5c4(0x1bc)][_0x2ed5c4(0x2dc)](_0x25d9a1=>{const _0x480381=_0x2ed5c4;_0x25d9a1&&!this[_0x480381(0x48c)]['has'](_0x25d9a1)&&this[_0x480381(0x48c)][_0x480381(0x44c)](_0x25d9a1,new Map());})),this['disposeWithMe'](this[_0x2ed5c4(0x33f)][_0x2ed5c4(0x417)][_0x2ed5c4(0x2dc)](async _0x1bff97=>{const _0x466f10=_0x2ed5c4;if(_0x1bff97){var _0x2890d2;await this['ensureVersion'](_0x1bff97),this[_0x466f10(0x420)][_0x466f10(0x27d)](((_0x2890d2=this[_0x466f10(0x48c)]['get'](this[_0x466f10(0x33f)][_0x466f10(0x37c)]))==null?void 0x0:_0x2890d2[_0x466f10(0x3c4)](_0x1bff97))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async[_0x1b7ff8(0x346)](_0x190040){const _0x38ba54=_0x1b7ff8;var _0x119716,_0x19c1d8;let _0x341120=this['_historyManagerService']['getVersion'](_0x190040),_0x431797=this['_historyManagerService']['unitId'];if(!_0x341120||!_0x431797)return;let _0xab40ed=this['_diffRangesMap'][_0x38ba54(0x3c4)](_0x431797);if(_0xab40ed||this['_diffRangesMap']['set'](_0x431797,new Map()),(_0x119716=this['_diffRangesMap'][_0x38ba54(0x3c4)](_0x431797))!=null&&_0x119716[_0x38ba54(0x224)](_0x341120['id']))return;let {startRev:_0x14c970,endRev:_0x439a4f}=_0x341120;if(_0x14c970===0x1){_0xab40ed[_0x38ba54(0x44c)](_0x341120['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x1a3008=_0x14c970,_0x22415a=_0x439a4f,_0x5eb6d1=await this[_0x38ba54(0x162)]['getHistoryChangesets']({},{'unitId':_0x431797,'startRevision':_0x1a3008,'endRevision':_0x22415a});if(((_0x19c1d8=_0x5eb6d1[_0x38ba54(0x12a)])==null?void 0x0:_0x19c1d8['code'])===_0x2c1da0['ErrorCode']['OK']){let _0x4aa54e=_0x5eb6d1[_0x38ba54(0x33d)][_0x38ba54(0x376)](_0x181662=>((_0x181662[_0x38ba54(0x3ba)]===null||_0x181662['mutations']===void 0x0)&&(_0x181662[_0x38ba54(0x3ba)]=[]),(0x0,_0x3f0f3e[_0x38ba54(0x28e)])(_0x181662)))['map'](_0xc75e26=>_0xc75e26[_0x38ba54(0x3ba)][_0x38ba54(0x376)](_0x1f17ce=>({..._0x1f17ce,'params':{..._0x1f17ce['params'],'memberId':_0xc75e26[_0x38ba54(0x469)]||_0x38ba54(0x2bc)}})))['flat'](),_0x117ce9=await this[_0x38ba54(0x387)](_0x4aa54e),_0x24bba2=this['_getActiveSubUnitId'](_0x4aa54e),_0x7983a=this['_extractRanges'](_0x117ce9);_0xab40ed[_0x38ba54(0x44c)](_0x341120['id'],{..._0x7983a,'active':_0x24bba2});}}[_0x1b7ff8(0x367)](){const _0x183040=_0x1b7ff8;let _0x583d63=_0x2c4e92(_0x183040(0x129)),_0x23172f=new Map();return Object[_0x183040(0x356)](_0x583d63)[_0x183040(0x159)]()[_0x183040(0x36d)](_0x838eb3=>{const _0x1197ed=_0x183040;_0x23172f[_0x1197ed(0x44c)](_0x838eb3['id'],_0x838eb3[_0x1197ed(0x325)]);}),_0x23172f;}['categorizeMutationRanges'](_0x4e4cb2,_0x7de41f){const _0x32433f=_0x1b7ff8;return this[_0x32433f(0x1e4)](_0x4e4cb2,_0x7de41f);}async['_transformMutationByOrder'](_0x4c6d62){const _0x1440de=_0x1b7ff8;let _0x38aed8=[];for(let _0x1bd712=0x0;_0x1bd712<_0x4c6d62[_0x1440de(0x295)];_0x1bd712++){let _0xdd1ab=_0x4c6d62[_0x1bd712];if(_0x38aed8[_0x1440de(0x36f)](_0xdd1ab),_0x1bd712!==_0x4c6d62[_0x1440de(0x295)]-0x1){let _0x385aab=_0x4c6d62[_0x1bd712+0x1],_0x5b8973=this[_0x1440de(0x42b)][_0x1440de(0x459)](_0x38aed8,[_0x385aab]);_0x38aed8=(0x0,_0x3f0f3e[_0x1440de(0x2ac)])(_0x5b8973)?_0x5b8973[_0x1440de(0x1d6)]:[];}_0x1bd712%0xa==0x0&&_0x1bd712>0x0&&await this[_0x1440de(0x1ac)]();}return _0x38aed8;}['_yieldToMain'](){return new Promise(_0x58c93d=>{const _0x11ea8b=_0x5d41;typeof requestIdleCallback==_0x11ea8b(0x3d9)?requestIdleCallback(()=>_0x58c93d(),{'timeout':0x64}):setTimeout(_0x58c93d,0x0);});}[_0x1b7ff8(0x33b)](_0x1f826){const _0x445b4e=_0x1b7ff8;let _0x4eb894=[];return _0x1f826[_0x445b4e(0x36d)](_0x27414c=>{const _0xe5699a=_0x445b4e;if(_0x27414c['id']===_0x37f055['InsertSheetMutation']['id']){let _0x4536e0=_0x27414c[_0xe5699a(0x488)];_0x4eb894[_0xe5699a(0x36f)](_0x4536e0[_0xe5699a(0x424)]['id']);}else{if(_0x27414c['id']===_0x37f055[_0xe5699a(0x44b)]['id']){let _0x45a627=_0x27414c[_0xe5699a(0x488)];_0x4eb894[_0xe5699a(0x295)]>0x0&&(_0x4eb894=_0x4eb894[_0xe5699a(0x433)](_0x6fd35e=>_0x6fd35e!==_0x45a627[_0xe5699a(0x46c)]));}else{if(_0x27414c['id']===_0x37f055[_0xe5699a(0x440)]['id']){let _0xf99e69=_0x27414c[_0xe5699a(0x488)];_0xf99e69[_0xe5699a(0x1b5)]?_0x4eb894=_0x4eb894[_0xe5699a(0x433)](_0x24ddad=>_0x24ddad!==_0xf99e69[_0xe5699a(0x46c)]):_0x4eb894[_0xe5699a(0x36f)](_0xf99e69['subUnitId']);}else{let _0x4d68bd=_0x27414c[_0xe5699a(0x488)];_0x4d68bd['subUnitId']&&_0x4eb894['push'](_0x4d68bd[_0xe5699a(0x46c)]);}}}}),_0x4eb894[_0x445b4e(0x295)]>0x0?_0x4eb894[_0x4eb894['length']-0x1]:null;}['_extractRanges'](_0x47919e){const _0x189414=_0x1b7ff8;let _0x9df9b4=new Map(),_0x22624e=new Map(),_0xc13628=new Map(),_0x1042ca=new Map(),_0x5b05fd=new Map(),_0x130168=new Map(),_0x31145c=new Map(),_0x1ed913=new Map(),_0x171947=new Map(),_0x17a6e6=new Map(),_0x18be2e=new Map(),_0x111adf=new Map(),_0x21f648=new Set(),_0x21cf82=this[_0x189414(0x367)]();return _0x47919e[_0x189414(0x36d)](_0x563577=>{const _0x3f33c2=_0x189414;var _0x44675e,_0x17badb,_0x1226cb,_0x5982ba,_0x10347b,_0x2a45e1,_0x4ee897,_0x2a987d,_0x352ca7,_0x23e45c,_0x177a21,_0x4b880e,_0x5eafd5;let _0x3a7c3c=(_0x44675e=_0x563577['params'])==null?void 0x0:_0x44675e[_0x3f33c2(0x497)];if(!_0x3a7c3c)return;_0x9df9b4[_0x3f33c2(0x224)](_0x3a7c3c)||(_0x9df9b4[_0x3f33c2(0x44c)](_0x3a7c3c,[]),_0x22624e[_0x3f33c2(0x44c)](_0x3a7c3c,[]),_0xc13628[_0x3f33c2(0x44c)](_0x3a7c3c,[]),_0x1042ca[_0x3f33c2(0x44c)](_0x3a7c3c,[]),_0x5b05fd['set'](_0x3a7c3c,[]),_0x130168[_0x3f33c2(0x44c)](_0x3a7c3c,[]),_0x31145c[_0x3f33c2(0x44c)](_0x3a7c3c,[]),_0x1ed913['set'](_0x3a7c3c,[]),_0x171947[_0x3f33c2(0x44c)](_0x3a7c3c,[]),_0x17a6e6[_0x3f33c2(0x44c)](_0x3a7c3c,[]),_0x18be2e[_0x3f33c2(0x44c)](_0x3a7c3c,[]),_0x111adf['set'](_0x3a7c3c,[]));let _0x3fe63c=this['_categorizeMutationRanges'](_0x563577,_0x21cf82);_0x3fe63c[_0x3f33c2(0x284)][_0x3f33c2(0x36d)](_0x543de3=>_0x21f648['add'](_0x543de3)),(_0x17badb=_0x9df9b4['get'](_0x3a7c3c))==null||_0x17badb[_0x3f33c2(0x36f)](..._0x3fe63c['allRanges']),(_0x1226cb=_0x22624e[_0x3f33c2(0x3c4)](_0x3a7c3c))==null||_0x1226cb['push'](..._0x3fe63c['insertCellRanges']),(_0x5982ba=_0xc13628['get'](_0x3a7c3c))==null||_0x5982ba[_0x3f33c2(0x36f)](..._0x3fe63c[_0x3f33c2(0x120)]),(_0x10347b=_0x1042ca[_0x3f33c2(0x3c4)](_0x3a7c3c))==null||_0x10347b['push'](..._0x3fe63c['updateCellRanges']),(_0x2a45e1=_0x5b05fd[_0x3f33c2(0x3c4)](_0x3a7c3c))==null||_0x2a45e1[_0x3f33c2(0x36f)](..._0x3fe63c[_0x3f33c2(0x334)]),(_0x4ee897=_0x130168[_0x3f33c2(0x3c4)](_0x3a7c3c))==null||_0x4ee897[_0x3f33c2(0x36f)](..._0x3fe63c[_0x3f33c2(0x2f5)]),(_0x2a987d=_0x31145c['get'](_0x3a7c3c))==null||_0x2a987d[_0x3f33c2(0x36f)](..._0x3fe63c[_0x3f33c2(0x1cc)]),(_0x352ca7=_0x1ed913[_0x3f33c2(0x3c4)](_0x3a7c3c))==null||_0x352ca7[_0x3f33c2(0x36f)](..._0x3fe63c['arrowRowRanges']),(_0x23e45c=_0x171947[_0x3f33c2(0x3c4)](_0x3a7c3c))==null||_0x23e45c[_0x3f33c2(0x36f)](..._0x3fe63c['arrowColumnRanges']),(_0x177a21=_0x18be2e[_0x3f33c2(0x3c4)](_0x3a7c3c))==null||_0x177a21[_0x3f33c2(0x36f)](..._0x3fe63c[_0x3f33c2(0x16e)]),(_0x4b880e=_0x111adf[_0x3f33c2(0x3c4)](_0x3a7c3c))==null||_0x4b880e[_0x3f33c2(0x36f)](..._0x3fe63c[_0x3f33c2(0x19c)]),(_0x5eafd5=_0x17a6e6[_0x3f33c2(0x3c4)](_0x3a7c3c))==null||_0x5eafd5[_0x3f33c2(0x36f)](..._0x3fe63c[_0x3f33c2(0x41c)]);}),_0x9df9b4[_0x189414(0x36d)]((_0x1e3049,_0x7e0ca8)=>{const _0x39d16c=_0x189414;_0x9df9b4[_0x39d16c(0x44c)](_0x7e0ca8,this['_combineRanges'](_0x1e3049)),_0x22624e[_0x39d16c(0x44c)](_0x7e0ca8,this[_0x39d16c(0x32c)](_0x22624e[_0x39d16c(0x3c4)](_0x7e0ca8)||[])),_0xc13628['set'](_0x7e0ca8,this[_0x39d16c(0x32c)](_0xc13628[_0x39d16c(0x3c4)](_0x7e0ca8)||[])),_0x1042ca[_0x39d16c(0x44c)](_0x7e0ca8,this[_0x39d16c(0x32c)](_0x1042ca['get'](_0x7e0ca8)||[])),_0x5b05fd[_0x39d16c(0x44c)](_0x7e0ca8,this[_0x39d16c(0x32c)](_0x5b05fd[_0x39d16c(0x3c4)](_0x7e0ca8)||[])),_0x130168['set'](_0x7e0ca8,this[_0x39d16c(0x32c)](_0x130168[_0x39d16c(0x3c4)](_0x7e0ca8)||[])),_0x31145c['set'](_0x7e0ca8,this[_0x39d16c(0x32c)](_0x31145c[_0x39d16c(0x3c4)](_0x7e0ca8)||[])),_0x1ed913[_0x39d16c(0x44c)](_0x7e0ca8,this[_0x39d16c(0x32c)](_0x1ed913[_0x39d16c(0x3c4)](_0x7e0ca8)||[])),_0x171947['set'](_0x7e0ca8,this[_0x39d16c(0x32c)](_0x171947['get'](_0x7e0ca8)||[]));}),{'ranges':_0x9df9b4,'insertCellRanges':_0x22624e,'deleteCellRanges':_0xc13628,'updateCellRanges':_0x1042ca,'insertBorderRanges':_0x5b05fd,'deleteBorderRanges':_0x130168,'updateBorderRanges':_0x31145c,'arrowRowRanges':_0x1ed913,'arrowColumnRanges':_0x171947,'insertDrawings':_0x18be2e,'deleteDrawings':_0x111adf,'updateDrawings':_0x17a6e6,'subUnitIds':Array['from'](_0x21f648)};}[_0x1b7ff8(0x1e4)](_0x557c2d,_0x51331c){const _0x3b6d76=_0x1b7ff8;let _0x4e7ff8={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x310d6e=_0x557c2d['id'],_0x5b14e9=_0x557c2d[_0x3b6d76(0x488)],_0x465475=this[_0x3b6d76(0x3a9)]['t'](_0x51331c['get'](_0x310d6e)||'');_0x5b14e9['subUnitId']&&_0x4e7ff8[_0x3b6d76(0x284)][_0x3b6d76(0x36f)](_0x5b14e9[_0x3b6d76(0x46c)]);let _0x321f1f=(_0x522450,_0x4edbc6)=>{const _0x146867=_0x3b6d76;let _0x8170ea=_0x522450['map'](_0x41f682=>({..._0x41f682,'showText':_0x465475}));switch(_0x4e7ff8['allRanges'][_0x146867(0x36f)](..._0x8170ea),_0x4edbc6){case _0x146867(0x482):_0x4e7ff8['insertCellRanges']['push'](..._0x8170ea);break;case _0x146867(0x2e4):_0x4e7ff8[_0x146867(0x120)][_0x146867(0x36f)](..._0x8170ea);break;case _0x146867(0x444):_0x4e7ff8['updateCellRanges'][_0x146867(0x36f)](..._0x8170ea);break;case'insertBorder':_0x4e7ff8[_0x146867(0x334)][_0x146867(0x36f)](..._0x8170ea);break;case'deleteBorder':_0x4e7ff8[_0x146867(0x2f5)][_0x146867(0x36f)](..._0x8170ea);break;case _0x146867(0x24f):_0x4e7ff8[_0x146867(0x1cc)]['push'](..._0x8170ea);break;case _0x146867(0x435):_0x4e7ff8['arrowRowRanges'][_0x146867(0x36f)](..._0x8170ea);break;case _0x146867(0x3aa):_0x4e7ff8[_0x146867(0x1b0)][_0x146867(0x36f)](..._0x8170ea);break;}};switch(_0x310d6e){case _0x37f055[_0x3b6d76(0x41e)]['id']:{let _0xaa4e6=_0x5b14e9;_0x321f1f([{'range':{..._0xaa4e6[_0x3b6d76(0x2fd)],'rangeType':_0x1ff675[_0x3b6d76(0x3ad)][_0x3b6d76(0x466)]},'unitId':_0xaa4e6['unitId'],'subUnitId':_0xaa4e6['subUnitId'],'showText':'insertRow','highlightRow':!0x0}],_0x3b6d76(0x482));break;}case _0x37f055[_0x3b6d76(0x360)]['id']:{let _0x2ddc0f=_0x5b14e9;_0x321f1f([{'range':{..._0x2ddc0f[_0x3b6d76(0x2fd)],'rangeType':_0x1ff675['RANGE_TYPE']['COLUMN']},'unitId':_0x2ddc0f[_0x3b6d76(0x37c)],'subUnitId':_0x2ddc0f[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x1e2),'highlightColumn':!0x0}],'insert');break;}case _0x37f055[_0x3b6d76(0x1b4)]['id']:{let _0x40eeae=_0x5b14e9;_0x321f1f(_0x40eeae[_0x3b6d76(0x43a)][_0x3b6d76(0x376)](_0x3fde3b=>({'range':_0x3fde3b,'unitId':_0x40eeae['unitId'],'subUnitId':_0x40eeae['subUnitId'],'showText':_0x3b6d76(0x16a)})),'insert');break;}case _0x37f055[_0x3b6d76(0x261)]['id']:{let _0xd6d7f5=_0x5b14e9;_0x321f1f(Object['values'](_0xd6d7f5[_0x3b6d76(0x356)])[_0x3b6d76(0x376)](_0x4fdf53=>_0x4fdf53[_0x3b6d76(0x43a)][_0x3b6d76(0x376)](_0x10e9db=>({'range':_0x10e9db,'unitId':_0xd6d7f5['unitId'],'subUnitId':_0xd6d7f5[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x39e)})))[_0x3b6d76(0x159)](),'insert');break;}case _0x37f055[_0x3b6d76(0x28d)]['id']:{let _0x236986=_0x5b14e9;_0x321f1f(_0x236986['ranges'][_0x3b6d76(0x376)](_0x1871fe=>({'range':_0x1871fe,'unitId':_0x236986['unitId'],'subUnitId':_0x236986[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x3bb)})),_0x3b6d76(0x2e4));break;}case _0x37f055['RemoveNumfmtMutation']['id']:{let _0x415c64=_0x5b14e9;_0x321f1f(_0x415c64[_0x3b6d76(0x43a)][_0x3b6d76(0x376)](_0x4a40b6=>({'range':_0x4a40b6,'unitId':_0x415c64[_0x3b6d76(0x37c)],'subUnitId':_0x415c64['subUnitId'],'showText':_0x3b6d76(0x2f7)})),_0x3b6d76(0x2e4));break;}case _0x37f055[_0x3b6d76(0x41a)]['id']:{let _0x576f4a=_0x5b14e9;_0x321f1f([{'range':{..._0x576f4a[_0x3b6d76(0x31c)],'rangeType':_0x1ff675[_0x3b6d76(0x3ad)]['ROW']},'unitId':_0x576f4a[_0x3b6d76(0x37c)],'subUnitId':_0x576f4a['subUnitId'],'showText':_0x3b6d76(0x121)}],'delete'),_0x321f1f([{'range':{..._0x576f4a[_0x3b6d76(0x306)],'rangeType':_0x1ff675[_0x3b6d76(0x3ad)][_0x3b6d76(0x466)]},'unitId':_0x576f4a[_0x3b6d76(0x37c)],'subUnitId':_0x576f4a['subUnitId'],'showText':_0x3b6d76(0x121)}],_0x3b6d76(0x482));break;}case _0x37f055[_0x3b6d76(0x301)]['id']:{let _0x7e12fb=_0x5b14e9;_0x321f1f([{'range':{..._0x7e12fb['sourceRange'],'rangeType':_0x1ff675[_0x3b6d76(0x3ad)]['COLUMN']},'unitId':_0x7e12fb[_0x3b6d76(0x37c)],'subUnitId':_0x7e12fb['subUnitId'],'showText':_0x3b6d76(0x37b)}],'delete'),_0x321f1f([{'range':{..._0x7e12fb[_0x3b6d76(0x306)],'rangeType':_0x1ff675[_0x3b6d76(0x3ad)][_0x3b6d76(0x302)]},'unitId':_0x7e12fb['unitId'],'subUnitId':_0x7e12fb[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x37b)}],_0x3b6d76(0x482));break;}case _0x37f055['SetRowVisibleMutation']['id']:{let _0x3a92d0=_0x5b14e9;_0x321f1f(_0x3a92d0[_0x3b6d76(0x43a)][_0x3b6d76(0x376)](_0x3ee13f=>({'range':{..._0x3ee13f,'rangeType':_0x1ff675['RANGE_TYPE'][_0x3b6d76(0x466)]},'unitId':_0x3a92d0[_0x3b6d76(0x37c)],'subUnitId':_0x3a92d0[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x201),'highlightRow':!0x0})),_0x3b6d76(0x444));break;}case _0x37f055[_0x3b6d76(0x2b3)]['id']:{let _0x2beb08=_0x5b14e9;_0x2beb08[_0x3b6d76(0x169)]&&_0x2beb08['subUnitId']&&Object['keys'](_0x2beb08[_0x3b6d76(0x169)])[_0x3b6d76(0x376)](Number)[_0x3b6d76(0x36d)](_0x1da12f=>{const _0x3cfe71=_0x3b6d76;_0x321f1f([{'range':{'startRow':_0x1da12f,'endRow':_0x1da12f,'startColumn':NaN,'endColumn':NaN,'rangeType':_0x1ff675['RANGE_TYPE'][_0x3cfe71(0x466)]},'unitId':_0x2beb08[_0x3cfe71(0x37c)],'subUnitId':_0x2beb08[_0x3cfe71(0x46c)],'showText':_0x3cfe71(0x428),'highlightRow':!0x0}],_0x3cfe71(0x444));});break;}case _0x37f055[_0x3b6d76(0x1e3)]['id']:{let _0x20b37c=_0x5b14e9;_0x321f1f(_0x20b37c['ranges'][_0x3b6d76(0x376)](_0x5dd97b=>({'range':{..._0x5dd97b,'rangeType':_0x1ff675[_0x3b6d76(0x3ad)]['COLUMN']},'unitId':_0x20b37c['unitId'],'subUnitId':_0x20b37c['subUnitId'],'showText':_0x3b6d76(0x279),'highlightColumn':!0x0})),'update');break;}case _0x37f055['SetColDataMutation']['id']:{let _0x1edfe7=_0x5b14e9;_0x1edfe7[_0x3b6d76(0x1da)]&&_0x1edfe7['subUnitId']&&Object[_0x3b6d76(0x187)](_0x1edfe7[_0x3b6d76(0x1da)])[_0x3b6d76(0x376)](Number)['forEach'](_0x40ae2d=>{const _0x6be6f0=_0x3b6d76;_0x321f1f([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x40ae2d,'endColumn':_0x40ae2d,'rangeType':_0x1ff675[_0x6be6f0(0x3ad)][_0x6be6f0(0x302)]},'unitId':_0x1edfe7[_0x6be6f0(0x37c)],'subUnitId':_0x1edfe7[_0x6be6f0(0x46c)],'showText':'setColData','highlightColumn':!0x0}],_0x6be6f0(0x444));});break;}case _0x37f055[_0x3b6d76(0x257)]['id']:{let _0x21a8f8=_0x5b14e9;_0x321f1f(_0x21a8f8[_0x3b6d76(0x2cc)]?_0x3b80c0(_0x21a8f8[_0x3b6d76(0x2cc)])[_0x3b6d76(0x376)](_0x9b7624=>({'range':_0x9b7624,'unitId':_0x21a8f8[_0x3b6d76(0x37c)],'subUnitId':_0x21a8f8['subUnitId'],'showText':'setRangeValues'})):[],_0x3b6d76(0x444));break;}case _0x37f055['MoveRangeMutation']['id']:{let _0x3620ac=_0x557c2d['params'];_0x321f1f([{'range':_0x2f0b43(_0x3620ac[_0x3b6d76(0x1f4)][_0x3b6d76(0x353)]),'unitId':_0x3620ac[_0x3b6d76(0x37c)],'subUnitId':_0x3620ac['from'][_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x238)}],_0x3b6d76(0x2e4)),_0x321f1f([{'range':_0x2f0b43(_0x3620ac['to']['value']),'unitId':_0x3620ac[_0x3b6d76(0x37c)],'subUnitId':_0x3620ac['to'][_0x3b6d76(0x46c)],'showText':'moveRange'}],'insert');break;}case _0x37f055[_0x3b6d76(0x3e5)]['id']:{let _0x2663ea=_0x5b14e9;_0x321f1f([{'range':_0x2663ea[_0x3b6d76(0x2fd)],'unitId':_0x2663ea['unitId'],'subUnitId':_0x2663ea[_0x3b6d76(0x46c)]}],_0x3b6d76(0x444));break;}case _0x37f055[_0x3b6d76(0x3c8)]['id']:{let _0x1b0f08=_0x5b14e9;_0x1b0f08[_0x3b6d76(0x43a)]&&_0x1b0f08[_0x3b6d76(0x43a)][_0x3b6d76(0x295)]>0x0&&_0x1b0f08['subUnitId']&&_0x321f1f(_0x1b0f08[_0x3b6d76(0x43a)][_0x3b6d76(0x376)](_0x20e834=>({'range':_0x20e834,'unitId':_0x1b0f08['unitId'],'subUnitId':_0x1b0f08[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x483)})),_0x3b6d76(0x435));break;}case _0x37f055[_0x3b6d76(0x45c)]['id']:{let _0x1befa2=_0x5b14e9;_0x1befa2['ranges']&&_0x1befa2[_0x3b6d76(0x43a)]['length']>0x0&&_0x1befa2['subUnitId']&&_0x321f1f(_0x1befa2[_0x3b6d76(0x43a)]['map'](_0x5aaf3e=>({'range':_0x5aaf3e,'unitId':_0x1befa2[_0x3b6d76(0x37c)],'subUnitId':_0x1befa2[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x2ae)})),_0x3b6d76(0x3aa));break;}case _0x37f055[_0x3b6d76(0x256)]['id']:{let _0x262a33=_0x5b14e9;_0x321f1f(_0x262a33['rules'][_0x3b6d76(0x376)](_0x1afa16=>_0x1afa16[_0x3b6d76(0x43a)][_0x3b6d76(0x376)](_0x3b5ec4=>({'range':_0x3b5ec4,'unitId':_0x262a33[_0x3b6d76(0x37c)],'subUnitId':_0x262a33[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x408)})))[_0x3b6d76(0x159)](),'insertBorder');break;}case _0x2b079f[_0x3b6d76(0x436)]['id']:{let _0x42cb0c=_0x5b14e9;_0x321f1f(_0x42cb0c[_0x3b6d76(0x1ca)]['ranges'][_0x3b6d76(0x376)](_0x136f41=>({'range':_0x136f41,'unitId':_0x42cb0c['unitId'],'subUnitId':_0x42cb0c['subUnitId'],'showText':'setCF'})),'insertBorder');break;}case _0x2c9252[_0x3b6d76(0x2fc)]['id']:{let _0x137af9=_0x5b14e9;_0x321f1f((Array[_0x3b6d76(0x496)](_0x137af9[_0x3b6d76(0x1ca)])?_0x137af9['rule']:[_0x137af9[_0x3b6d76(0x1ca)]])['map'](_0x2ab844=>_0x2ab844['ranges'][_0x3b6d76(0x376)](_0x34c0cd=>({'range':_0x34c0cd,'unitId':_0x137af9[_0x3b6d76(0x37c)],'subUnitId':_0x137af9[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x383)})))[_0x3b6d76(0x159)](),'insertBorder');break;}case _0x37f055[_0x3b6d76(0x1f3)]['id']:{let _0x14ee63=_0x5b14e9,_0x55f94e=_0x14ee63[_0x3b6d76(0x37c)],_0x2adbbb=_0x14ee63[_0x3b6d76(0x46c)];_0x14ee63[_0x3b6d76(0x293)]&&_0x14ee63[_0x3b6d76(0x293)][_0x3b6d76(0x295)]>0x0&&_0x14ee63[_0x3b6d76(0x46c)]&&_0x14ee63[_0x3b6d76(0x293)]['forEach'](_0xd34b39=>{const _0x21c413=_0x3b6d76;let _0xa2b7f8=this[_0x21c413(0x266)][_0x21c413(0x3ca)](_0x55f94e,_0x2adbbb,_0xd34b39),_0x39390b=(_0xa2b7f8==null?void 0x0:_0xa2b7f8[_0x21c413(0x43a)][_0x21c413(0x376)](_0x3241ed=>({'range':_0x3241ed,'unitId':_0x55f94e,'subUnitId':_0x2adbbb,'showText':_0x21c413(0x1d5)})))||[];_0x39390b[_0x21c413(0x295)]>0x0&&_0x321f1f(_0x39390b,_0x21c413(0x11e));});break;}case _0x2b079f[_0x3b6d76(0x3b5)]['id']:{let _0x23e786=_0x5b14e9;if(_0x23e786['cfId']&&_0x23e786[_0x3b6d76(0x46c)]){let _0x45b007=this['_conditionalFormattingRuleModel']['getRule'](_0x23e786[_0x3b6d76(0x37c)],_0x23e786[_0x3b6d76(0x46c)],_0x23e786[_0x3b6d76(0x1bb)]);if(_0x45b007){let _0x27f93b=_0x45b007[_0x3b6d76(0x43a)]['map'](_0x248af2=>({'range':_0x248af2,'unitId':_0x23e786['unitId'],'subUnitId':_0x23e786[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x170)}));_0x27f93b[_0x3b6d76(0x295)]>0x0&&_0x321f1f(_0x27f93b,_0x3b6d76(0x11e));}}break;}case _0x2c9252[_0x3b6d76(0x262)]['id']:{let _0x4b1ccb=_0x5b14e9,_0x321823=Array[_0x3b6d76(0x496)](_0x4b1ccb[_0x3b6d76(0x1bd)])?_0x4b1ccb[_0x3b6d76(0x1bd)]:[_0x4b1ccb['ruleId']];_0x321823[_0x3b6d76(0x295)]>0x0&&_0x4b1ccb[_0x3b6d76(0x46c)]&&_0x321823[_0x3b6d76(0x36d)](_0x5796ca=>{const _0x1618a3=_0x3b6d76;let _0x148c42=this[_0x1618a3(0x1b1)][_0x1618a3(0x41f)](_0x4b1ccb['unitId'],_0x4b1ccb['subUnitId'],_0x5796ca),_0x19d417=(_0x148c42==null?void 0x0:_0x148c42[_0x1618a3(0x43a)][_0x1618a3(0x376)](_0x60efba=>({'range':_0x60efba,'unitId':_0x4b1ccb[_0x1618a3(0x37c)],'subUnitId':_0x4b1ccb['subUnitId'],'showText':_0x1618a3(0x3d5)})))||[];_0x19d417[_0x1618a3(0x295)]>0x0&&_0x321f1f(_0x19d417,_0x1618a3(0x11e));});break;}case _0x37f055[_0x3b6d76(0x2f4)]['id']:{let _0x236840=_0x5b14e9;_0x321f1f(_0x236840['rule']['ranges'][_0x3b6d76(0x376)](_0x1be85f=>({'range':_0x1be85f,'unitId':_0x236840[_0x3b6d76(0x37c)],'subUnitId':_0x236840[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x17c)})),_0x3b6d76(0x24f));break;}case _0x37f055[_0x3b6d76(0x3a4)]['id']:{let _0x55356a=_0x5b14e9;_0x321f1f([{'range':_0x55356a[_0x3b6d76(0x2fd)],'unitId':_0x55356a[_0x3b6d76(0x37c)],'subUnitId':_0x55356a[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x40b)}],_0x3b6d76(0x24f));break;}case _0x37f055[_0x3b6d76(0x294)]['id']:{let _0x100cdc=_0x5b14e9;_0x321f1f([{'range':_0x100cdc['range'],'unitId':_0x100cdc['unitId'],'subUnitId':_0x100cdc[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x323)}],_0x3b6d76(0x24f));break;}case _0x2b079f[_0x3b6d76(0x335)]['id']:{let _0xb8382=_0x5b14e9;_0x321f1f(_0xb8382[_0x3b6d76(0x1ca)]['ranges'][_0x3b6d76(0x376)](_0x4b0f4c=>({'range':_0x4b0f4c,'unitId':_0xb8382[_0x3b6d76(0x37c)],'subUnitId':_0xb8382[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x1ff)})),_0x3b6d76(0x24f));break;}case _0x2b079f[_0x3b6d76(0x278)]['id']:{let _0x3df3c1=_0x5b14e9,_0x32c79c=this[_0x3b6d76(0x45d)][_0x3b6d76(0x3ca)](_0x3df3c1['unitId'],_0x3df3c1['subUnitId'],_0x3df3c1[_0x3b6d76(0x313)]['id']),_0x8f5f84=this['_conditionalFormattingRuleModel']['getRule'](_0x3df3c1[_0x3b6d76(0x37c)],_0x3df3c1[_0x3b6d76(0x46c)],_0x3df3c1['end']['id']);_0x32c79c&&_0x321f1f(_0x32c79c['ranges'][_0x3b6d76(0x376)](_0x1f23cf=>({'range':_0x1f23cf,'unitId':_0x3df3c1[_0x3b6d76(0x37c)],'subUnitId':_0x3df3c1[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x2c3)})),_0x3b6d76(0x11e)),_0x8f5f84&&_0x321f1f(_0x8f5f84['ranges'][_0x3b6d76(0x376)](_0x34c326=>({'range':_0x34c326,'unitId':_0x3df3c1[_0x3b6d76(0x37c)],'subUnitId':_0x3df3c1[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x2c3)})),_0x3b6d76(0x39a));break;}case _0x41ed04[_0x3b6d76(0x240)]['id']:{let _0x56f8c2=_0x5b14e9;_0x321f1f([{'range':_0x56f8c2[_0x3b6d76(0x2fd)],'unitId':_0x56f8c2['unitId'],'subUnitId':_0x56f8c2[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x495)}],'updateBorder');break;}case _0x41ed04[_0x3b6d76(0x166)]['id']:{let _0x23a8f0=_0x5b14e9,_0x595328=this[_0x3b6d76(0x36b)]['getFilterModel'](_0x23a8f0['unitId'],_0x23a8f0[_0x3b6d76(0x46c)]);if(_0x595328){let _0x4ed088=_0x595328[_0x3b6d76(0x418)]();_0x321f1f(_0x4ed088?[{'range':_0x4ed088,'unitId':_0x23a8f0[_0x3b6d76(0x37c)],'subUnitId':_0x23a8f0[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x165)}]:[],_0x3b6d76(0x24f));}break;}case _0x41ed04[_0x3b6d76(0x2a6)]['id']:{let _0x56b70e=_0x5b14e9,_0x29c5bb=this[_0x3b6d76(0x36b)][_0x3b6d76(0x1ce)](_0x56b70e['unitId'],_0x56b70e[_0x3b6d76(0x46c)]);if(_0x29c5bb){let _0x5e9912=_0x29c5bb[_0x3b6d76(0x418)]();_0x321f1f(_0x5e9912?[{'range':_0x5e9912,'unitId':_0x56b70e[_0x3b6d76(0x37c)],'subUnitId':_0x56b70e['subUnitId'],'showText':_0x3b6d76(0x296)}]:[],_0x3b6d76(0x24f));}break;}case _0x41ed04['ReCalcSheetsFilterMutation']['id']:{let _0x33c40d=_0x5b14e9,_0x3d829f=this[_0x3b6d76(0x36b)]['getFilterModel'](_0x33c40d[_0x3b6d76(0x37c)],_0x33c40d[_0x3b6d76(0x46c)]);if(_0x3d829f){let _0x42a674=_0x3d829f[_0x3b6d76(0x418)]();_0x321f1f(_0x42a674?[{'range':_0x42a674,'unitId':_0x33c40d[_0x3b6d76(0x37c)],'subUnitId':_0x33c40d[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x296)}]:[],_0x3b6d76(0x24f));}break;}case _0x2c9252[_0x3b6d76(0x392)]['id']:{let _0x5f3446=_0x5b14e9,_0x22ab1f=this[_0x3b6d76(0x1b1)][_0x3b6d76(0x41f)](_0x5f3446[_0x3b6d76(0x37c)],_0x5f3446[_0x3b6d76(0x46c)],_0x5f3446[_0x3b6d76(0x1bd)]);_0x22ab1f&&_0x321f1f(_0x22ab1f[_0x3b6d76(0x43a)][_0x3b6d76(0x376)](_0x29b170=>({'range':_0x29b170,'unitId':_0x5f3446['unitId'],'subUnitId':_0x5f3446[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x383)})),_0x3b6d76(0x24f));break;}case _0x2ddee4[_0x3b6d76(0x14b)]['id']:{let _0x3c0ef1=_0x5b14e9,_0x3fad8e=_0x3c0ef1['unitId'],_0x15fd27=_0x3c0ef1[_0x3b6d76(0x46c)],_0x169126=_0x3c0ef1[_0x3b6d76(0x3bc)];_0x3c0ef1[_0x3b6d76(0x3bc)]&&_0x15fd27&&Object[_0x3b6d76(0x187)](_0x3c0ef1['sparklineConfigMap'])[_0x3b6d76(0x36d)](_0x3b4ff4=>{const _0x3e387d=_0x3b6d76;let _0x262a7d=_0x169126[_0x3b4ff4];_0x321f1f(_0x3b80c0(_0x262a7d[_0x3e387d(0x135)])[_0x3e387d(0x376)](_0x242f5b=>({'range':_0x242f5b,'unitId':_0x3fad8e,'subUnitId':_0x15fd27,'showText':_0x3e387d(0x11d)})),_0x3e387d(0x482));});break;}case _0x2ddee4[_0x3b6d76(0x145)]['id']:{let _0x1bf474=_0x5b14e9;_0x1bf474[_0x3b6d76(0x485)]&&_0x1bf474['groupIds'][_0x3b6d76(0x295)]>0x0&&_0x1bf474[_0x3b6d76(0x46c)]&&_0x1bf474[_0x3b6d76(0x485)]['forEach'](_0x405cb8=>{const _0x4f4531=_0x3b6d76;let _0x4be329=this[_0x4f4531(0x411)][_0x4f4531(0x40d)](_0x1bf474['unitId'],_0x1bf474['subUnitId'],_0x405cb8);_0x4be329&&_0x321f1f(_0x3b80c0(_0x4be329['sparklines']['getMatrix']())['map'](_0x4733a4=>({'range':_0x4733a4,'unitId':_0x1bf474[_0x4f4531(0x37c)],'subUnitId':_0x1bf474[_0x4f4531(0x46c)],'showText':'setSparkline'})),_0x4f4531(0x444));});break;}case _0x2ddee4[_0x3b6d76(0x1ba)]['id']:{let _0x24a8e3=_0x5b14e9;_0x24a8e3['groupIds']&&_0x24a8e3[_0x3b6d76(0x485)][_0x3b6d76(0x295)]>0x0&&_0x24a8e3['subUnitId']&&_0x24a8e3[_0x3b6d76(0x485)][_0x3b6d76(0x36d)](_0x29c9e6=>{const _0x91be6b=_0x3b6d76;let _0x245adb=this[_0x91be6b(0x411)][_0x91be6b(0x40d)](_0x24a8e3[_0x91be6b(0x37c)],_0x24a8e3['subUnitId'],_0x29c9e6);_0x245adb&&_0x321f1f(_0x3b80c0(_0x245adb[_0x91be6b(0x135)][_0x91be6b(0x1df)]())[_0x91be6b(0x376)](_0x41be97=>({'range':_0x41be97,'unitId':_0x24a8e3[_0x91be6b(0x37c)],'subUnitId':_0x24a8e3[_0x91be6b(0x46c)],'showText':_0x91be6b(0x30e)})),_0x91be6b(0x2e4));});break;}case _0x2ec22d[_0x3b6d76(0x3b2)]['id']:{let _0x35be9b=_0x5b14e9;_0x35be9b[_0x3b6d76(0x174)]&&_0x35be9b[_0x3b6d76(0x46c)]&&_0x321f1f([{'range':_0x35be9b[_0x3b6d76(0x2fd)],'unitId':_0x35be9b[_0x3b6d76(0x37c)],'subUnitId':_0x35be9b[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x182)}],_0x3b6d76(0x482));break;}case _0x2ec22d[_0x3b6d76(0x29c)]['id']:{let _0x5ad137=_0x5b14e9;if(_0x5ad137[_0x3b6d76(0x174)]&&_0x5ad137[_0x3b6d76(0x46c)]){var _0xad3b85;let _0x18390e=(_0xad3b85=this['_sheetTableService'][_0x3b6d76(0x388)](_0x5ad137[_0x3b6d76(0x37c)],_0x5ad137[_0x3b6d76(0x174)]))==null?void 0x0:_0xad3b85[_0x3b6d76(0x2fd)];_0x18390e&&_0x321f1f([{'range':_0x18390e,'unitId':_0x5ad137[_0x3b6d76(0x37c)],'subUnitId':_0x5ad137[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x20e)}],_0x3b6d76(0x2e4));}break;}case _0x2ec22d[_0x3b6d76(0x45f)]['id']:{let _0x4dbae0=_0x5b14e9;if(_0x4dbae0[_0x3b6d76(0x174)]){let _0x662413=this['_sheetTableService'][_0x3b6d76(0x388)](_0x4dbae0['unitId'],_0x4dbae0['tableId']);_0x662413&&_0x662413['range']&&_0x662413[_0x3b6d76(0x46c)]&&(_0x4e7ff8[_0x3b6d76(0x284)][_0x3b6d76(0x36f)](_0x662413[_0x3b6d76(0x46c)]),_0x321f1f([{'range':_0x662413[_0x3b6d76(0x2fd)],'unitId':_0x4dbae0['unitId'],'subUnitId':_0x662413[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x398)}],_0x3b6d76(0x444)));}break;}case _0x2ec22d[_0x3b6d76(0x3d6)]['id']:{let _0x44c5ef=_0x5b14e9;if(_0x44c5ef[_0x3b6d76(0x174)]&&_0x44c5ef[_0x3b6d76(0x46c)]){var _0x3e8591;let _0xdc7be1=(_0x3e8591=this[_0x3b6d76(0x276)]['getTableInfo'](_0x44c5ef['unitId'],_0x44c5ef['tableId']))==null?void 0x0:_0x3e8591[_0x3b6d76(0x2fd)];_0xdc7be1&&_0x321f1f([{'range':_0xdc7be1,'unitId':_0x44c5ef[_0x3b6d76(0x37c)],'subUnitId':_0x44c5ef[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x281)}],'update');}break;}case _0x17c8e0[_0x3b6d76(0x291)]['id']:{let _0x17b571=_0x5b14e9;if(_0x17b571[_0x3b6d76(0x163)]&&_0x17b571[_0x3b6d76(0x46c)]){var _0x28af5d;let _0x89ab9c=(_0x28af5d=this[_0x3b6d76(0x2c9)][_0x3b6d76(0x11c)](_0x17b571[_0x3b6d76(0x37c)],_0x17b571[_0x3b6d76(0x46c)],_0x17b571[_0x3b6d76(0x163)]))==null?void 0x0:_0x28af5d[_0x3b6d76(0x307)];_0x89ab9c&&_0x321f1f((0x0,_0x17c8e0[_0x3b6d76(0x207)])(_0x89ab9c)[_0x3b6d76(0x376)](_0x148134=>({'range':_0x148134,'unitId':_0x17b571[_0x3b6d76(0x37c)],'subUnitId':_0x17b571[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x315)})),_0x3b6d76(0x482));}break;}case _0x17c8e0['RemovePivotTableMutation']['id']:{let _0x2dbac4=_0x5b14e9;if(_0x2dbac4[_0x3b6d76(0x163)]&&_0x2dbac4[_0x3b6d76(0x46c)]){var _0x24af6d;let _0x568df1=(_0x24af6d=this[_0x3b6d76(0x2c9)][_0x3b6d76(0x11c)](_0x2dbac4[_0x3b6d76(0x37c)],_0x2dbac4[_0x3b6d76(0x46c)],_0x2dbac4['pivotTableId']))==null?void 0x0:_0x24af6d[_0x3b6d76(0x307)];_0x568df1&&_0x321f1f((0x0,_0x17c8e0[_0x3b6d76(0x207)])(_0x568df1)[_0x3b6d76(0x376)](_0x808360=>({'range':_0x808360,'unitId':_0x2dbac4['unitId'],'subUnitId':_0x2dbac4[_0x3b6d76(0x46c)],'showText':_0x3b6d76(0x212)})),_0x3b6d76(0x2e4));}break;}case _0x17c8e0['SetPivotOptionMutation']['id']:case _0x17c8e0['SetPivotPositionMutation']['id']:case _0x17c8e0['UpdatePivotTableSourceRangeMutation']['id']:case _0x17c8e0[_0x3b6d76(0x239)]['id']:case _0x17c8e0[_0x3b6d76(0x25c)]['id']:case _0x17c8e0[_0x3b6d76(0x26a)]['id']:case _0x17c8e0[_0x3b6d76(0x451)]['id']:case _0x17c8e0[_0x3b6d76(0x1d2)]['id']:case _0x17c8e0[_0x3b6d76(0x148)]['id']:case _0x17c8e0[_0x3b6d76(0x275)]['id']:case _0x17c8e0[_0x3b6d76(0x245)]['id']:case _0x17c8e0[_0x3b6d76(0x31b)]['id']:case _0x17c8e0[_0x3b6d76(0x155)]['id']:case _0x17c8e0[_0x3b6d76(0x44e)]['id']:case _0x17c8e0[_0x3b6d76(0x429)]['id']:{let _0x392cb9=_0x5b14e9,_0x1dc683='setPivotOption';if(_0x310d6e===_0x17c8e0['SetPivotOptionMutation']['id']?_0x1dc683=_0x3b6d76(0x158):_0x310d6e===_0x17c8e0[_0x3b6d76(0x3fc)]['id']?_0x1dc683='setPivotPosition':_0x310d6e===_0x17c8e0[_0x3b6d76(0x432)]['id']?_0x1dc683=_0x3b6d76(0x2f8):_0x310d6e===_0x17c8e0[_0x3b6d76(0x239)]['id']?_0x1dc683=_0x3b6d76(0x393):_0x310d6e===_0x17c8e0['RemovePivotFieldMutation']['id']?_0x1dc683='removePivotField':_0x310d6e===_0x17c8e0[_0x3b6d76(0x26a)]['id']?_0x1dc683=_0x3b6d76(0x490):_0x310d6e===_0x17c8e0['UpdateFieldPositionMutation']['id']?_0x1dc683=_0x3b6d76(0x2af):_0x310d6e===_0x17c8e0[_0x3b6d76(0x1d2)]['id']?_0x1dc683=_0x3b6d76(0x260):_0x310d6e===_0x17c8e0[_0x3b6d76(0x148)]['id']?_0x1dc683=_0x3b6d76(0x30b):_0x310d6e===_0x17c8e0['SetPivotFilterMutation']['id']?_0x1dc683=_0x3b6d76(0x14c):_0x310d6e===_0x17c8e0['SetPivotValueFilterMutation']['id']?_0x1dc683='setPivotValueFilter':_0x310d6e===_0x17c8e0[_0x3b6d76(0x31b)]['id']?_0x1dc683=_0x3b6d76(0x1f1):_0x310d6e===_0x17c8e0['SetPivotCollapseMutation']['id']?_0x1dc683=_0x3b6d76(0x499):_0x310d6e===_0x17c8e0[_0x3b6d76(0x429)]['id']?_0x1dc683=_0x3b6d76(0x1b7):_0x310d6e===_0x17c8e0['SetPivotFieldFormatMutation']['id']&&(_0x1dc683=_0x3b6d76(0x39f)),_0x392cb9[_0x3b6d76(0x163)]&&_0x392cb9['subUnitId']){var _0x5d99ac;let _0x5a7572=(_0x5d99ac=this[_0x3b6d76(0x2c9)]['getPivotTableRangeInfo'](_0x392cb9['unitId'],_0x392cb9['subUnitId'],_0x392cb9[_0x3b6d76(0x163)]))==null?void 0x0:_0x5d99ac[_0x3b6d76(0x307)];_0x5a7572&&_0x321f1f((0x0,_0x17c8e0[_0x3b6d76(0x207)])(_0x5a7572)[_0x3b6d76(0x376)](_0x1724bc=>({'range':_0x1724bc,'unitId':_0x392cb9['unitId'],'subUnitId':_0x392cb9['subUnitId'],'showText':_0x1dc683})),_0x3b6d76(0x444));}break;}case _0x23e923[_0x3b6d76(0x21f)]['id']:{let _0x4c1bd4=_0x5b14e9;_0x4c1bd4[_0x3b6d76(0x283)]&&_0x4e7ff8[_0x3b6d76(0x16e)][_0x3b6d76(0x36f)]({'drawingId':_0x4c1bd4[_0x3b6d76(0x283)],'unitId':_0x4c1bd4[_0x3b6d76(0x37c)],'subUnitId':_0x4c1bd4[_0x3b6d76(0x46c)],'showText':_0x465475});break;}case _0x23e923[_0x3b6d76(0x1d7)]['id']:{let _0x221af4=_0x5b14e9;_0x221af4[_0x3b6d76(0x283)]&&_0x4e7ff8[_0x3b6d76(0x19c)]['push']({'drawingId':_0x221af4[_0x3b6d76(0x283)],'unitId':_0x221af4[_0x3b6d76(0x37c)],'subUnitId':_0x221af4[_0x3b6d76(0x46c)],'showText':_0x465475});break;}case _0x23e923[_0x3b6d76(0x26e)]['id']:{let _0x529b33=_0x5b14e9;if(_0x529b33[_0x3b6d76(0x47d)]){let _0x13c9b2=this['_sheetsChartService'][_0x3b6d76(0x310)](_0x529b33['unitId'],_0x529b33['chartModelId']);_0x13c9b2&&(_0x4e7ff8[_0x3b6d76(0x284)]['push'](_0x13c9b2),_0x4e7ff8[_0x3b6d76(0x41c)][_0x3b6d76(0x36f)]({'drawingId':_0x529b33['chartModelId'],'unitId':_0x529b33[_0x3b6d76(0x37c)],'subUnitId':_0x13c9b2,'showText':_0x465475}));}break;}case _0x23e923[_0x3b6d76(0x3cd)]['id']:{let _0x5f17f6=_0x5b14e9;if(_0x5f17f6['chartModelId']){let _0x1b11db=this['_sheetsChartService'][_0x3b6d76(0x310)](_0x5f17f6['unitId'],_0x5f17f6[_0x3b6d76(0x47d)]);_0x1b11db&&(_0x4e7ff8[_0x3b6d76(0x284)][_0x3b6d76(0x36f)](_0x1b11db),_0x4e7ff8[_0x3b6d76(0x41c)][_0x3b6d76(0x36f)]({'drawingId':_0x5f17f6[_0x3b6d76(0x47d)],'unitId':_0x5f17f6[_0x3b6d76(0x37c)],'subUnitId':_0x1b11db,'showText':_0x465475}));}break;}case _0x865af4[_0x3b6d76(0x230)]['id']:{let _0x3b3829=_0x5b14e9;_0x3b3829[_0x3b6d76(0x1b3)]&&_0x4e7ff8[_0x3b6d76(0x16e)][_0x3b6d76(0x36f)]({'drawingId':_0x3b3829['shapeId'],'unitId':_0x3b3829[_0x3b6d76(0x37c)],'subUnitId':_0x3b3829['subUnitId'],'showText':_0x465475});break;}case _0x865af4[_0x3b6d76(0x3a8)]['id']:{let _0x2231ac=_0x5b14e9;_0x2231ac[_0x3b6d76(0x1b3)]&&_0x4e7ff8[_0x3b6d76(0x19c)]['push']({'drawingId':_0x2231ac[_0x3b6d76(0x1b3)],'unitId':_0x2231ac[_0x3b6d76(0x37c)],'subUnitId':_0x2231ac[_0x3b6d76(0x46c)],'showText':_0x465475});break;}case _0x865af4[_0x3b6d76(0x15b)]['id']:case _0x865af4['UpdateSheetsShapeTypeMutation']['id']:{let _0x370abe=_0x5b14e9;_0x370abe['shapeId']&&_0x4e7ff8['updateDrawings']['push']({'drawingId':_0x370abe[_0x3b6d76(0x1b3)],'unitId':_0x370abe[_0x3b6d76(0x37c)],'subUnitId':_0x370abe[_0x3b6d76(0x46c)],'showText':_0x465475});break;}case _0xfd993c[_0x3b6d76(0x396)]['id']:{let _0x175698=_0x5b14e9,_0x59f850=_0x175698[_0x3b6d76(0x3ea)],_0x343fc5=_0x175698[_0x3b6d76(0x2c1)],_0x1e5e92=_0x343fc5!==_0xfd993c[_0x3b6d76(0x374)]['INSERT']&&_0x343fc5!==_0xfd993c[_0x3b6d76(0x374)][_0x3b6d76(0x416)],_0x1d4314=_0x343fc5===_0xfd993c[_0x3b6d76(0x374)][_0x3b6d76(0x179)],_0x54bb77=_0x343fc5===_0xfd993c[_0x3b6d76(0x374)]['REMOVE'],_0x34e826=_0x465475;if(_0x343fc5===_0xfd993c[_0x3b6d76(0x374)][_0x3b6d76(0x179)]?_0x34e826=this['_localeService']['t']('editHistory.action.insertDrawing'):_0x343fc5===_0xfd993c['DrawingApplyType'][_0x3b6d76(0x416)]&&(_0x34e826=this[_0x3b6d76(0x3a9)]['t'](_0x3b6d76(0x36c))),Array[_0x3b6d76(0x496)](_0x59f850))_0x59f850['forEach'](_0x18e907=>{const _0x1fad00=_0x3b6d76;if(_0x1fad00(0x3b4)in _0x18e907&&_0x18e907[_0x1fad00(0x3b4)])_0x1e5e92?_0x4e7ff8[_0x1fad00(0x41c)][_0x1fad00(0x36f)]({'drawingId':_0x18e907['drawingId'],'unitId':_0x175698[_0x1fad00(0x37c)],'subUnitId':_0x175698[_0x1fad00(0x46c)],'showText':_0x34e826}):_0x1d4314?_0x4e7ff8[_0x1fad00(0x16e)][_0x1fad00(0x36f)]({'drawingId':_0x18e907['drawingId'],'unitId':_0x175698['unitId'],'subUnitId':_0x175698['subUnitId'],'showText':_0x34e826}):_0x54bb77&&_0x4e7ff8[_0x1fad00(0x19c)][_0x1fad00(0x36f)]({'drawingId':_0x18e907[_0x1fad00(0x3b4)],'unitId':_0x175698[_0x1fad00(0x37c)],'subUnitId':_0x175698[_0x1fad00(0x46c)],'showText':_0x34e826});else{if(_0x1fad00(0x322)in _0x18e907&&_0x1fad00(0x470)in _0x18e907){var _0x4e10d5,_0x52a23b;(_0x4e10d5=_0x18e907['parent'])!=null&&_0x4e10d5[_0x1fad00(0x3b4)]&&(_0x1e5e92?_0x4e7ff8[_0x1fad00(0x41c)][_0x1fad00(0x36f)]({'drawingId':_0x18e907[_0x1fad00(0x322)][_0x1fad00(0x3b4)],'unitId':_0x175698[_0x1fad00(0x37c)],'subUnitId':_0x175698[_0x1fad00(0x46c)],'showText':_0x34e826}):_0x1d4314?_0x4e7ff8[_0x1fad00(0x16e)][_0x1fad00(0x36f)]({'drawingId':_0x18e907[_0x1fad00(0x322)][_0x1fad00(0x3b4)],'unitId':_0x175698[_0x1fad00(0x37c)],'subUnitId':_0x175698[_0x1fad00(0x46c)],'showText':_0x34e826}):_0x54bb77&&_0x4e7ff8['deleteDrawings'][_0x1fad00(0x36f)]({'drawingId':_0x18e907[_0x1fad00(0x322)][_0x1fad00(0x3b4)],'unitId':_0x175698[_0x1fad00(0x37c)],'subUnitId':_0x175698[_0x1fad00(0x46c)],'showText':_0x34e826})),(_0x52a23b=_0x18e907[_0x1fad00(0x470)])==null||_0x52a23b[_0x1fad00(0x36d)](_0x5ee47d=>{const _0x5ce607=_0x1fad00;_0x5ee47d[_0x5ce607(0x3b4)]&&(_0x1e5e92?_0x4e7ff8[_0x5ce607(0x41c)][_0x5ce607(0x36f)]({'drawingId':_0x5ee47d[_0x5ce607(0x3b4)],'unitId':_0x175698[_0x5ce607(0x37c)],'subUnitId':_0x175698['subUnitId'],'showText':_0x34e826}):_0x1d4314?_0x4e7ff8[_0x5ce607(0x16e)][_0x5ce607(0x36f)]({'drawingId':_0x5ee47d[_0x5ce607(0x3b4)],'unitId':_0x175698[_0x5ce607(0x37c)],'subUnitId':_0x175698[_0x5ce607(0x46c)],'showText':_0x34e826}):_0x54bb77&&_0x4e7ff8['deleteDrawings'][_0x5ce607(0x36f)]({'drawingId':_0x5ee47d['drawingId'],'unitId':_0x175698['unitId'],'subUnitId':_0x175698[_0x5ce607(0x46c)],'showText':_0x34e826}));});}}});else{if(_0x59f850&&typeof _0x59f850==_0x3b6d76(0x17d)){if(_0x3b6d76(0x401)in _0x59f850&&Array[_0x3b6d76(0x496)](_0x59f850[_0x3b6d76(0x401)]))_0x59f850['drawingIds'][_0x3b6d76(0x36d)](_0x455adb=>{const _0x2c1f7d=_0x3b6d76;_0x1e5e92?_0x4e7ff8[_0x2c1f7d(0x41c)][_0x2c1f7d(0x36f)]({'drawingId':_0x455adb,'unitId':_0x175698[_0x2c1f7d(0x37c)],'subUnitId':_0x175698['subUnitId'],'showText':_0x34e826}):_0x1d4314?_0x4e7ff8['insertDrawings'][_0x2c1f7d(0x36f)]({'drawingId':_0x455adb,'unitId':_0x175698['unitId'],'subUnitId':_0x175698[_0x2c1f7d(0x46c)],'showText':_0x34e826}):_0x54bb77&&_0x4e7ff8[_0x2c1f7d(0x19c)][_0x2c1f7d(0x36f)]({'drawingId':_0x455adb,'unitId':_0x175698[_0x2c1f7d(0x37c)],'subUnitId':_0x175698['subUnitId'],'showText':_0x34e826});});else{if(_0x3b6d76(0x322)in _0x59f850&&_0x3b6d76(0x470)in _0x59f850){var _0x24c3c1,_0x300371;(_0x24c3c1=_0x59f850['parent'])!=null&&_0x24c3c1[_0x3b6d76(0x3b4)]&&(_0x1e5e92?_0x4e7ff8[_0x3b6d76(0x41c)]['push']({'drawingId':_0x59f850[_0x3b6d76(0x322)][_0x3b6d76(0x3b4)],'unitId':_0x175698[_0x3b6d76(0x37c)],'subUnitId':_0x175698[_0x3b6d76(0x46c)],'showText':_0x34e826}):_0x1d4314?_0x4e7ff8[_0x3b6d76(0x16e)][_0x3b6d76(0x36f)]({'drawingId':_0x59f850['parent']['drawingId'],'unitId':_0x175698[_0x3b6d76(0x37c)],'subUnitId':_0x175698[_0x3b6d76(0x46c)],'showText':_0x34e826}):_0x54bb77&&_0x4e7ff8['deleteDrawings'][_0x3b6d76(0x36f)]({'drawingId':_0x59f850['parent'][_0x3b6d76(0x3b4)],'unitId':_0x175698['unitId'],'subUnitId':_0x175698['subUnitId'],'showText':_0x34e826})),(_0x300371=_0x59f850[_0x3b6d76(0x470)])==null||_0x300371['forEach'](_0xd78d6b=>{const _0x458ce7=_0x3b6d76;_0xd78d6b[_0x458ce7(0x3b4)]&&(_0x1e5e92?_0x4e7ff8[_0x458ce7(0x41c)][_0x458ce7(0x36f)]({'drawingId':_0xd78d6b[_0x458ce7(0x3b4)],'unitId':_0x175698[_0x458ce7(0x37c)],'subUnitId':_0x175698[_0x458ce7(0x46c)],'showText':_0x34e826}):_0x1d4314?_0x4e7ff8[_0x458ce7(0x16e)][_0x458ce7(0x36f)]({'drawingId':_0xd78d6b[_0x458ce7(0x3b4)],'unitId':_0x175698[_0x458ce7(0x37c)],'subUnitId':_0x175698['subUnitId'],'showText':_0x34e826}):_0x54bb77&&_0x4e7ff8[_0x458ce7(0x19c)][_0x458ce7(0x36f)]({'drawingId':_0xd78d6b['drawingId'],'unitId':_0x175698['unitId'],'subUnitId':_0x175698[_0x458ce7(0x46c)],'showText':_0x34e826}));});}}}}break;}}return _0x4e7ff8;}[_0x1b7ff8(0x32c)](_0x4be58a){const _0x4cb1f9=_0x1b7ff8;if(_0x4be58a[_0x4cb1f9(0x295)]<=0x1)return _0x4be58a;let _0x3525e7=new Map();return _0x4be58a[_0x4cb1f9(0x36d)](_0x3b507e=>{const _0x653ff=_0x4cb1f9;let {unitId:_0x14084c,subUnitId:_0x5ec2e6}=_0x3b507e,_0x3f2145=_0x14084c+'-'+_0x5ec2e6;if(!_0x3525e7['has'](_0x3f2145))_0x3525e7[_0x653ff(0x44c)](_0x3f2145,[_0x3b507e]);else{var _0xf3665f;(_0xf3665f=_0x3525e7[_0x653ff(0x3c4)](_0x3f2145))==null||_0xf3665f['push'](_0x3b507e);}}),Array['from'](_0x3525e7[_0x4cb1f9(0x356)]())[_0x4cb1f9(0x376)](_0x34ef21=>new _0x37f055[(_0x4cb1f9(0x427))]()['add'](..._0x34ef21['map'](_0x524d25=>_0x524d25[_0x4cb1f9(0x2fd)]))[_0x4cb1f9(0x1c2)]()[_0x4cb1f9(0x376)](_0x366ed8=>({'range':_0x366ed8,'unitId':_0x34ef21[0x0][_0x4cb1f9(0x37c)],'subUnitId':_0x34ef21[0x0][_0x4cb1f9(0x46c)],'showText':_0x34ef21[0x0][_0x4cb1f9(0x26d)],'highlightRow':_0x34ef21[0x0][_0x4cb1f9(0x130)],'highlightColumn':_0x34ef21[0x0][_0x4cb1f9(0x149)]})))[_0x4cb1f9(0x159)]();}};_0x4eafe8=_0x110e9b([_0x274dca(0x0,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x3b5fc2)),_0x274dca(0x1,_0x3f0f3e[_0x1b7ff8(0x24c)]),_0x274dca(0x2,_0x3f0f3e[_0x1b7ff8(0x185)]),_0x274dca(0x3,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x37f055[_0x1b7ff8(0x247)])),_0x274dca(0x4,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x2b079f[_0x1b7ff8(0x11f)])),_0x274dca(0x5,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x353561[_0x1b7ff8(0x24a)])),_0x274dca(0x6,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x41ed04[_0x1b7ff8(0x243)])),_0x274dca(0x7,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x2ddee4['SparklineDataSourceModel'])),_0x274dca(0x8,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x17c8e0[_0x1b7ff8(0x208)])),_0x274dca(0x9,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x2ec22d[_0x1b7ff8(0x3ef)])),_0x274dca(0xa,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x1ff675[_0x1b7ff8(0x268)])),_0x274dca(0xb,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x23e923[_0x1b7ff8(0x4a2)])),_0x274dca(0xc,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x1e040a))],_0x4eafe8);function _0x2f0b43(_0x1d5a62){const _0x24903a=_0x1b7ff8;return new _0x1ff675[(_0x24903a(0x21d))](_0x1d5a62)['getDataRange']();}function _0x3b80c0(_0x372790){const _0x323918=_0x1b7ff8;let _0x25ab1a=new _0x1ff675['ObjectMatrix'](_0x372790),_0x15bb57=new _0x1ff675[(_0x323918(0x21d))]();return _0x25ab1a[_0x323918(0x2cb)]((_0x2a73e2,_0x5d0cba)=>{const _0x468ea5=_0x323918;_0x15bb57[_0x468ea5(0x32b)](_0x2a73e2,_0x5d0cba,0x1);}),(0x0,_0x37f055[_0x323918(0x184)])(_0x15bb57);}var _0x45fba5=class extends _0x12f665[_0x1b7ff8(0x227)]{constructor(_0x45e737,_0x54f287){const _0x452499=_0x1b7ff8;if(super(_0x45e737,_0x54f287),_0x49c423(this,_0x452499(0x2a7),void 0x0),_0x49c423(this,_0x452499(0x2e9),void 0x0),_0x49c423(this,_0x452499(0x1a6),void 0x0),_0x49c423(this,_0x452499(0x19b),0x4),_0x49c423(this,_0x452499(0x288),void 0x0),_0x49c423(this,_0x452499(0x2d3),void 0x0),_0x49c423(this,_0x452499(0x2e3),!0x0),_0x49c423(this,_0x452499(0x461),''),_0x49c423(this,_0x452499(0x1b2),!0x1),_0x49c423(this,_0x452499(0x22a),_0x452499(0x3a2)),_0x49c423(this,_0x452499(0x286),void 0x0),_0x54f287){var _0x410e6c;if(this[_0x452499(0x337)](_0x54f287),_0x54f287[_0x452499(0x127)]&&((_0x410e6c=_0x54f287['highlightSecond'])==null?this[_0x452499(0x19b)]:_0x410e6c)){var _0x4d259a;this[_0x452499(0x1e9)]((_0x4d259a=_0x54f287[_0x452499(0x139)])==null?this[_0x452499(0x19b)]:_0x4d259a);}}this[_0x452499(0x372)][_0x452499(0x2b8)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x452499(0x3f9)][_0x452499(0x2b8)](()=>this[_0x452499(0x337)]({'hovered':!0x1}));}['setShapeProps'](_0xc610f7){const _0x40b2f8=_0x1b7ff8;var _0x39dcf9,_0x5c14e2,_0x5f1e0b,_0x42819f,_0x3eb37d,_0x2aa742;this['_color']=(_0x39dcf9=_0xc610f7[_0x40b2f8(0x242)])==null?this[_0x40b2f8(0x2a7)]:_0x39dcf9,this[_0x40b2f8(0x2e9)]=(_0x5c14e2=_0xc610f7[_0x40b2f8(0x2f0)])==null?this['_direction']:_0x5c14e2,this['_name']=(_0x5f1e0b=_0xc610f7[_0x40b2f8(0x3a1)])==null?this[_0x40b2f8(0x461)]:_0x5f1e0b,this['_hovered']=(_0x42819f=_0xc610f7['hovered'])==null?this[_0x40b2f8(0x1b2)]:_0x42819f,this[_0x40b2f8(0x22a)]=(_0x3eb37d=_0xc610f7[_0x40b2f8(0x28a)])==null?this['_labelPosition']:_0x3eb37d,this[_0x40b2f8(0x286)]=(_0x2aa742=_0xc610f7['showText'])==null?this['_showText']:_0x2aa742,_0xc610f7['highlightSecond']!==void 0x0&&(this['_highlightSecond']=_0xc610f7['highlightSecond']),_0xc610f7[_0x40b2f8(0x127)]!==void 0x0&&(this[_0x40b2f8(0x1a6)]=_0xc610f7['highlight']),this['transformByState']({'width':_0xc610f7[_0x40b2f8(0x456)],'height':_0xc610f7[_0x40b2f8(0x480)]});}[_0x1b7ff8(0x1e9)](_0x2d74f7){const _0x404b7e=_0x1b7ff8;this['_stopBlinking'](),this[_0x404b7e(0x2e3)]=!0x0,this[_0x404b7e(0x2d3)]=window[_0x404b7e(0x1a5)](()=>{const _0x1ebe57=_0x404b7e;this[_0x1ebe57(0x2e3)]=!this[_0x1ebe57(0x2e3)],this[_0x1ebe57(0x41b)](!0x0);},0x1f4),this[_0x404b7e(0x288)]=window[_0x404b7e(0x1f9)](()=>{const _0x208614=_0x404b7e;this[_0x208614(0x348)](),this[_0x208614(0x2e3)]=!0x0,this[_0x208614(0x41b)](!0x0);},_0x2d74f7*0x3e8);}['_stopBlinking'](){const _0x1919d6=_0x1b7ff8;this[_0x1919d6(0x2d3)]&&(window[_0x1919d6(0x29a)](this[_0x1919d6(0x2d3)]),this[_0x1919d6(0x2d3)]=void 0x0),this[_0x1919d6(0x288)]&&(window['clearTimeout'](this[_0x1919d6(0x288)]),this[_0x1919d6(0x288)]=void 0x0);}['triggerDblclick'](_0x5d9fea){return!0x1;}[_0x1b7ff8(0x25d)](){const _0x394e9a=_0x1b7ff8;this[_0x394e9a(0x348)](),super[_0x394e9a(0x25d)]();}['_draw'](_0x5c3e69){const _0x115830=_0x1b7ff8;let _0x52e835=this[_0x115830(0x2a7)];this[_0x115830(0x1a6)]&&!this[_0x115830(0x2e3)]&&(_0x52e835=this['_getLighterColor'](this[_0x115830(0x2a7)])),_0x5c3e69[_0x115830(0x23b)](),_0x5c3e69[_0x115830(0x384)]=_0x52e835,_0x5c3e69[_0x115830(0x2db)]=_0x52e835,_0x5c3e69['lineWidth']=0x4,this[_0x115830(0x2e9)]===_0x115830(0x486)?this[_0x115830(0x210)](_0x5c3e69):this[_0x115830(0x2b0)](_0x5c3e69),_0x5c3e69['restore'](),(this[_0x115830(0x1b2)]||this[_0x115830(0x286)])&&this[_0x115830(0x461)]&&(_0x5c3e69[_0x115830(0x23b)](),this[_0x115830(0x2e9)]===_0x115830(0x486)?_0x5c3e69[_0x115830(0x415)](0x1,0x0,0x0,0x1,this[_0x115830(0x456)],this[_0x115830(0x22a)]===_0x115830(0x1d4)?0x0:-0x14):_0x5c3e69[_0x115830(0x415)](0x1,0x0,0x0,0x1,this[_0x115830(0x456)],this[_0x115830(0x22a)]===_0x115830(0x1d4)?this[_0x115830(0x480)]:-0x14),this['_drawTextBubble'](_0x5c3e69,this[_0x115830(0x461)],_0x52e835),_0x5c3e69[_0x115830(0x316)]());}[_0x1b7ff8(0x210)](_0x42585b){const _0x4f44cc=_0x1b7ff8;let _0x2b4745=this[_0x4f44cc(0x480)]/0x2,_0x49d4a8=this[_0x4f44cc(0x456)]-0xc;_0x42585b[_0x4f44cc(0x24e)](),_0x42585b[_0x4f44cc(0x142)](0xc,_0x2b4745),_0x42585b[_0x4f44cc(0x3b8)](_0x49d4a8,_0x2b4745),_0x42585b[_0x4f44cc(0x134)](),_0x42585b['beginPath'](),_0x42585b['moveTo'](0x0,_0x2b4745),_0x42585b['lineTo'](0xc,_0x2b4745-0xc/0x2),_0x42585b['lineTo'](0xc,_0x2b4745+0xc/0x2),_0x42585b[_0x4f44cc(0x462)](),_0x42585b[_0x4f44cc(0x46e)](),_0x42585b['beginPath'](),_0x42585b['moveTo'](this[_0x4f44cc(0x456)],_0x2b4745),_0x42585b[_0x4f44cc(0x3b8)](this['width']-0xc,_0x2b4745-0xc/0x2),_0x42585b[_0x4f44cc(0x3b8)](this[_0x4f44cc(0x456)]-0xc,_0x2b4745+0xc/0x2),_0x42585b['closePath'](),_0x42585b[_0x4f44cc(0x46e)]();}[_0x1b7ff8(0x2b0)](_0x150c4c){const _0xd3aca1=_0x1b7ff8;let _0x17f2cf=this[_0xd3aca1(0x456)]/0x2,_0x319acc=this[_0xd3aca1(0x480)]-0xc;_0x150c4c['beginPath'](),_0x150c4c[_0xd3aca1(0x142)](_0x17f2cf,0xc),_0x150c4c['lineTo'](_0x17f2cf,_0x319acc),_0x150c4c[_0xd3aca1(0x134)](),_0x150c4c[_0xd3aca1(0x24e)](),_0x150c4c[_0xd3aca1(0x142)](_0x17f2cf,0x0),_0x150c4c[_0xd3aca1(0x3b8)](_0x17f2cf-0xc/0x2,0xc),_0x150c4c['lineTo'](_0x17f2cf+0xc/0x2,0xc),_0x150c4c[_0xd3aca1(0x462)](),_0x150c4c[_0xd3aca1(0x46e)](),_0x150c4c[_0xd3aca1(0x24e)](),_0x150c4c['moveTo'](_0x17f2cf,this[_0xd3aca1(0x480)]),_0x150c4c[_0xd3aca1(0x3b8)](_0x17f2cf-0xc/0x2,this[_0xd3aca1(0x480)]-0xc),_0x150c4c['lineTo'](_0x17f2cf+0xc/0x2,this[_0xd3aca1(0x480)]-0xc),_0x150c4c[_0xd3aca1(0x462)](),_0x150c4c[_0xd3aca1(0x46e)]();}[_0x1b7ff8(0x18a)](_0x4a8cf3,_0xc5aeeb,_0x1f0357){const _0x4dd46d=_0x1b7ff8;_0x4a8cf3[_0x4dd46d(0x20c)]=_0x4dd46d(0x319);let _0x4d3094=_0x4a8cf3[_0x4dd46d(0x191)](_0xc5aeeb)[_0x4dd46d(0x456)],_0x256557=Math['min'](_0x4d3094+0x8,0xc8);if(_0x4a8cf3[_0x4dd46d(0x2db)]=_0x1f0357,_0x4a8cf3['beginPath'](),_0x4a8cf3['moveTo'](0x4,0x0),_0x4a8cf3[_0x4dd46d(0x3b8)](_0x256557-0x4,0x0),_0x4a8cf3[_0x4dd46d(0x399)](_0x256557-0x4,0x4,0x4,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a8cf3[_0x4dd46d(0x3b8)](_0x256557,0x10),_0x4a8cf3[_0x4dd46d(0x399)](_0x256557-0x4,0x10,0x4,0x0,Math['PI']/0x2,!0x1),_0x4a8cf3[_0x4dd46d(0x3b8)](0x0,0x14),_0x4a8cf3['lineTo'](0x0,0x4),_0x4a8cf3[_0x4dd46d(0x399)](0x4,0x4,0x4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a8cf3['closePath'](),_0x4a8cf3[_0x4dd46d(0x46e)](),_0x4a8cf3[_0x4dd46d(0x2db)]='#FFF',_0x4d3094>0xc0){let _0x36e17b='',_0x1a0ff9=0x0;for(let _0x542c67 of _0xc5aeeb){let _0x3203b4=_0x4a8cf3[_0x4dd46d(0x191)](_0x542c67)[_0x4dd46d(0x456)];if(_0x1a0ff9+_0x3203b4<=0xc0-_0x4a8cf3[_0x4dd46d(0x191)](_0x4dd46d(0x410))[_0x4dd46d(0x456)])_0x36e17b+=_0x542c67,_0x1a0ff9+=_0x3203b4;else{_0x36e17b+='...';break;}}_0x4a8cf3['fillText'](_0x36e17b,0x4,0xf);}else _0x4a8cf3[_0x4dd46d(0x3c0)](_0xc5aeeb,0x4,0xf);}[_0x1b7ff8(0x338)](_0xb12f44){const _0xc954e=_0x1b7ff8;return _0xb12f44[_0xc954e(0x14e)]('#')?'rgba('+Number[_0xc954e(0x2be)](_0xb12f44[_0xc954e(0x332)](0x1,0x3),0x10)+',\x20'+Number[_0xc954e(0x2be)](_0xb12f44[_0xc954e(0x332)](0x3,0x5),0x10)+',\x20'+Number[_0xc954e(0x2be)](_0xb12f44[_0xc954e(0x332)](0x5,0x7),0x10)+',\x200.2)':_0xb12f44[_0xc954e(0x14e)](_0xc954e(0x422))?_0xb12f44[_0xc954e(0x118)](/[\d.]+\)$/g,'0.2)'):_0xb12f44['startsWith'](_0xc954e(0x29e))?_0xb12f44['replace']('rgb','rgba')['replace'](')',_0xc954e(0x2e2)):_0xb12f44;}};let _0x2e5f0a=class extends _0x1ff675[_0x1b7ff8(0x3d7)]{constructor(_0x5a14d7,_0x4d12f4,_0x3a2f0b,_0x5ab9be,_0x410df4,_0xc51ff5,_0x24284a,_0x267e4c){const _0x47b78a=_0x1b7ff8;super(),this[_0x47b78a(0x22f)]=_0x5a14d7,this[_0x47b78a(0x33f)]=_0x4d12f4,this['_versionDiffService']=_0x3a2f0b,this[_0x47b78a(0x498)]=_0x5ab9be,this[_0x47b78a(0x27c)]=_0x410df4,this[_0x47b78a(0x368)]=_0xc51ff5,this[_0x47b78a(0x30c)]=_0x24284a,this[_0x47b78a(0x35e)]=_0x267e4c,_0x49c423(this,_0x47b78a(0x213),new Set()),_0x49c423(this,'_borderDiffs',new Set()),_0x49c423(this,_0x47b78a(0x463),new Set()),_0x49c423(this,_0x47b78a(0x395),new Set()),_0x49c423(this,_0x47b78a(0x3f5),null),this[_0x47b78a(0x209)]();}[_0x1b7ff8(0x209)](){const _0x46abfb=_0x1b7ff8;this[_0x46abfb(0x1d3)](),this[_0x46abfb(0x252)]();}[_0x1b7ff8(0x1d3)](){const _0xac5c=_0x1b7ff8;this[_0xac5c(0x3bd)]((0x0,_0x1cdcf3['combineLatest'])([this['_historyManagerService'][_0xac5c(0x3c2)],this[_0xac5c(0x368)][_0xac5c(0x3e0)]])[_0xac5c(0x3e3)]((0x0,_0x1cdcf3[_0xac5c(0x259)])(([_0x2a1c52,_0x504baf])=>{const _0x1dd0ce=_0xac5c;if(_0x2a1c52===_0x47279d['Loaded']&&_0x504baf){let _0x7a0fc2=_0x504baf['sheetId'];return this[_0x1dd0ce(0x186)][_0x1dd0ce(0x255)][_0x1dd0ce(0x3e3)]((0x0,_0x1cdcf3['map'])(_0x572054=>_0x572054[_0x1dd0ce(0x284)][_0x1dd0ce(0x295)]===0x0||_0x572054['subUnitIds']['includes'](_0x7a0fc2)?{'skeleton':_0x504baf,'versionDiff':_0x572054,'sheetID':_0x7a0fc2}:{'skeleton':_0x504baf,'versionDiff':null}));}return(0x0,_0x1cdcf3['of'])({'skeleton':null,'versionDiff':null,'sheetID':null});}))[_0xac5c(0x2dc)](({skeleton:_0xec1f76,versionDiff:_0x4efc83,sheetID:_0x5df053})=>{const _0x5db7b8=_0xac5c;this['_removeDiffMarks'](),_0xec1f76&&_0x4efc83&&_0x5df053&&this[_0x5db7b8(0x3a3)](_0xec1f76,_0x4efc83,_0x5df053);})),this[_0xac5c(0x3bd)](this['_sheetSkeletonManagerService'][_0xac5c(0x3e0)][_0xac5c(0x2dc)](_0xc91d38=>{const _0x475471=_0xac5c;if(_0xc91d38==null)return;let {skeleton:_0x485a1c}=_0xc91d38,{scene:_0x2518d2}=this[_0x475471(0x22f)];_0x2518d2['onPointerMove$'][_0x475471(0x2b8)]((0x0,_0x1ff675['debounce'])(_0x51e954=>{const _0x51585e=_0x475471;var _0x13d015,_0x3529b0;let {offsetX:_0x1f0a93,offsetY:_0x5bb1db}=_0x51e954,{x:_0x14d9a9,y:_0x8d15cb}=_0x2518d2['getRelativeToViewportCoord'](_0x12f665['Vector2'][_0x51585e(0x438)]([_0x1f0a93,_0x5bb1db])),{scaleX:_0xbea880,scaleY:_0x385e70}=_0x2518d2[_0x51585e(0x2cd)](),_0x3453b3=_0x2518d2[_0x51585e(0x49d)](_0x12f665[_0x51585e(0x33e)][_0x51585e(0x13d)]),_0x4d5474=_0x2518d2[_0x51585e(0x143)](_0x12f665[_0x51585e(0x253)]['FromArray']([_0x14d9a9,_0x8d15cb]),_0x3453b3),_0x425c3b=_0x485a1c[_0x51585e(0x455)](_0x1f0a93,_0x5bb1db,_0xbea880,_0x385e70,_0x4d5474);((_0x13d015=this[_0x51585e(0x3f5)])==null?void 0x0:_0x13d015[_0x51585e(0x28b)])===_0x425c3b[_0x51585e(0x28b)]&&((_0x3529b0=this[_0x51585e(0x3f5)])==null?void 0x0:_0x3529b0[_0x51585e(0x1b8)])===_0x425c3b[_0x51585e(0x1b8)]||this[_0x51585e(0x213)][_0x51585e(0x36d)](_0x15a993=>{const _0xfac90d=_0x51585e;_0x15a993[_0xfac90d(0x168)]||_0x15a993[_0xfac90d(0x3f6)](_0x425c3b);});},0x64));}));}[_0x1b7ff8(0x252)](){const _0x57dbe4=_0x1b7ff8;this[_0x57dbe4(0x3bd)](this[_0x57dbe4(0x33f)][_0x57dbe4(0x3c2)][_0x57dbe4(0x2dc)](_0x1d6ff4=>{const _0x45aeb6=_0x57dbe4;let _0x1007a9=new _0x1ff675['DisposableCollection']();return _0x1d6ff4===_0x47279d[_0x45aeb6(0x3dc)]&&(_0x1007a9['dispose'](),_0x1007a9[_0x45aeb6(0x175)](this[_0x45aeb6(0x186)][_0x45aeb6(0x255)][_0x45aeb6(0x2dc)](_0x3405d3=>{const _0x465175=_0x45aeb6;this[_0x465175(0x412)](_0x3405d3[_0x465175(0x284)]),_0x3405d3['active']&&this[_0x465175(0x30c)][_0x465175(0x48a)](_0x37f055[_0x465175(0x27e)]['id'],{'unitId':this[_0x465175(0x22f)][_0x465175(0x37c)],'subUnitId':_0x3405d3[_0x465175(0x190)]});}))),()=>_0x1007a9[_0x45aeb6(0x25d)]();}));}['_updateWorksheetVisibility'](_0x187d1c){const _0xc2935=_0x1b7ff8;let _0x2f5044=this[_0xc2935(0x498)]['getUnit'](this[_0xc2935(0x22f)][_0xc2935(0x37c)],_0x1ff675[_0xc2935(0x33a)][_0xc2935(0x475)]);if(!_0x2f5044)return;let _0x10af0a=_0x2f5044[_0xc2935(0x1fd)]();if(_0x187d1c[_0xc2935(0x295)]===0x0){_0x10af0a['forEach'](_0xb85e28=>{const _0x53f362=_0xc2935;_0xb85e28[_0x53f362(0x2ec)]()&&this[_0x53f362(0x30c)]['executeCommand'](_0x37f055['SetWorksheetHideMutation']['id'],{'unitId':this['_context'][_0x53f362(0x37c)],'subUnitId':_0xb85e28[_0x53f362(0x31a)](),'hidden':0x0});});return;}_0x10af0a['forEach'](_0x57775a=>{const _0x473672=_0xc2935;let _0x19964b=_0x57775a[_0x473672(0x31a)](),_0x3b366d=_0x187d1c[_0x473672(0x1c7)](_0x19964b),_0x23e76e=_0x57775a['isSheetHidden']();_0x3b366d&&_0x23e76e?this[_0x473672(0x30c)][_0x473672(0x48a)](_0x37f055[_0x473672(0x440)]['id'],{'unitId':this['_context'][_0x473672(0x37c)],'subUnitId':_0x19964b,'hidden':0x0}):!_0x3b366d&&!_0x23e76e&&this[_0x473672(0x30c)][_0x473672(0x48a)](_0x37f055[_0x473672(0x440)]['id'],{'unitId':this[_0x473672(0x22f)][_0x473672(0x37c)],'subUnitId':_0x19964b,'hidden':0x1});});}['_updateDiffMarks'](_0x42e1c1,_0x30a735,_0x3ebc9e){const _0x59e974=_0x1b7ff8;this['_diffs'][_0x59e974(0x36d)](_0x4357df=>{const _0x2e936e=_0x59e974;_0x4357df[_0x2e936e(0x41b)]();});let _0x595d75=this[_0x59e974(0x136)](_0x30a735,_0x3ebc9e);this['_diffs']=new Set(_0x595d75[_0x59e974(0x433)](_0x48c958=>_0x48c958 instanceof _0x738bdb[_0x59e974(0x3af)])),this[_0x59e974(0x42c)]=new Set(_0x595d75['filter'](_0x29f800=>_0x29f800 instanceof _0x12f665[_0x59e974(0x3f1)])),this[_0x59e974(0x463)]=new Set(_0x595d75[_0x59e974(0x433)](_0x39ac4b=>_0x39ac4b instanceof _0x45fba5)),_0x595d75['length']>0x0&&this[_0x59e974(0x2aa)](_0x595d75[0x0],this['_context'][_0x59e974(0x251)]);}[_0x1b7ff8(0x136)](_0x5c290d,_0x568d85){const _0x4e1e71=_0x1b7ff8;let _0x4a4a25=this['_sheetSkeletonManagerService'][_0x4e1e71(0x2d2)]();if(!_0x4a4a25)return[];let {scene:_0x190529}=this[_0x4e1e71(0x22f)],_0x120be0=[],_0x334f81=_0x5cd9f7=>{const _0x5947ed=_0x4e1e71;if(!_0x5cd9f7)return new Map();let _0x3581ca=new Map();return _0x5cd9f7[_0x5947ed(0x36d)]((_0x5ec02f,_0x3ec955)=>{const _0x2e7030=_0x5947ed;let _0x20bbeb=_0x5ec02f[_0x2e7030(0x433)](_0x412f83=>_0x412f83[_0x2e7030(0x46c)]===_0x568d85);_0x20bbeb[_0x2e7030(0x295)]>0x0&&_0x3581ca[_0x2e7030(0x44c)](_0x3ec955,_0x20bbeb);}),_0x3581ca;};return this[_0x4e1e71(0x258)](_0x190529,_0x4a4a25,_0x334f81(_0x5c290d[_0x4e1e71(0x342)]),_0x4e1e71(0x381),_0x120be0),this['_renderCellRanges'](_0x190529,_0x4a4a25,_0x334f81(_0x5c290d[_0x4e1e71(0x120)]),_0x4e1e71(0x114),_0x120be0),this[_0x4e1e71(0x258)](_0x190529,_0x4a4a25,_0x334f81(_0x5c290d[_0x4e1e71(0x441)]),'rgba(21,101,192,0.5)',_0x120be0),this['_renderBorderRanges'](_0x190529,_0x4a4a25,_0x334f81(_0x5c290d[_0x4e1e71(0x334)]),'rgba(46,125,50,0.5)',_0x120be0),this[_0x4e1e71(0x220)](_0x190529,_0x4a4a25,_0x334f81(_0x5c290d[_0x4e1e71(0x2f5)]),_0x4e1e71(0x114),_0x120be0),this[_0x4e1e71(0x220)](_0x190529,_0x4a4a25,_0x334f81(_0x5c290d[_0x4e1e71(0x1cc)]),_0x4e1e71(0x1ea),_0x120be0),this['_renderArrowRanges'](_0x190529,_0x4a4a25,_0x334f81(_0x5c290d[_0x4e1e71(0x460)]),_0x4e1e71(0x489),_0x120be0),this['_renderArrowRanges'](_0x190529,_0x4a4a25,_0x334f81(_0x5c290d[_0x4e1e71(0x1b0)]),_0x4e1e71(0x486),_0x120be0),_0x5c290d['insertDrawings']&&this[_0x4e1e71(0x437)](_0x190529,_0x5c290d[_0x4e1e71(0x16e)],_0x4e1e71(0x381),_0x120be0),_0x5c290d[_0x4e1e71(0x19c)]&&this['_renderDrawingHighlights'](_0x190529,_0x5c290d['deleteDrawings'],_0x4e1e71(0x114),_0x120be0),_0x5c290d['updateDrawings']&&this[_0x4e1e71(0x437)](_0x190529,_0x5c290d[_0x4e1e71(0x41c)],_0x4e1e71(0x1ea),_0x120be0),this[_0x4e1e71(0x47a)](_0x120be0),_0x190529['addObjects'](_0x120be0,0x14),_0x120be0;}[_0x1b7ff8(0x487)](){const _0x11b49d=_0x1b7ff8;this[_0x11b49d(0x213)][_0x11b49d(0x36d)](_0x1830a6=>{const _0x128128=_0x11b49d;_0x1830a6[_0x128128(0x16f)]();}),this[_0x11b49d(0x42c)][_0x11b49d(0x36d)](_0x407c7d=>{const _0x5b4449=_0x11b49d;_0x407c7d[_0x5b4449(0x16f)]();}),this['_arrowDiffs']['forEach'](_0x2f1d5f=>{_0x2f1d5f['hide']();});}['showDiffMarks'](){const _0x1b89c7=_0x1b7ff8;this[_0x1b89c7(0x213)][_0x1b89c7(0x36d)](_0x421bfc=>{const _0x31b271=_0x1b89c7;_0x421bfc[_0x31b271(0x12e)]();}),this['_borderDiffs'][_0x1b89c7(0x36d)](_0x4f35a6=>{const _0x89f77b=_0x1b89c7;_0x4f35a6[_0x89f77b(0x12e)]();}),this['_arrowDiffs']['forEach'](_0xb9dba0=>{const _0x415140=_0x1b89c7;_0xb9dba0[_0x415140(0x12e)]();});}[_0x1b7ff8(0x150)](){const _0x4a1af6=_0x1b7ff8;this[_0x4a1af6(0x4a1)]();}[_0x1b7ff8(0x1fb)](_0x28f46f,_0x46f756){const _0x4722bb=_0x1b7ff8;this[_0x4722bb(0x2aa)](_0x28f46f,_0x46f756);}['_renderCellRanges'](_0x309411,_0x4dfb63,_0x4ca4f5,_0x3cc74e,_0x33bab4){const _0x4cef8d=_0x1b7ff8;_0x4ca4f5[_0x4cef8d(0x36d)]((_0x5aa7e6,_0x245342)=>{const _0x45160c=_0x4cef8d;_0x5aa7e6[_0x45160c(0x36d)](_0x1446cf=>{const _0x1491ca=_0x45160c;var _0x59c11e;let {range:_0x1f0e2a,subUnitId:_0x488012,unitId:_0x434f4d,showText:_0x28d21a='',highlightColumn:_0x338990,highlightRow:_0x570d08}=_0x1446cf,{startColumn:_0xcc02ad,startRow:_0x24a8c6,endColumn:_0x4ef184,endRow:_0x3502c6}=_0x1f0e2a,_0x31732b=(0x0,_0x45078f[_0x1491ca(0x1e0)])(_0x24a8c6,_0xcc02ad,_0x309411,_0x4dfb63),_0x154826=(0x0,_0x45078f[_0x1491ca(0x1e0)])(_0x3502c6,_0x4ef184,_0x309411,_0x4dfb63),{columnHeaderHeightAndMarginTop:_0x3adb7b}=_0x4dfb63,{startX:_0x597dea,startY:_0x303e7e}=_0x31732b,{endX:_0x4b6800,endY:_0x236e4f}=_0x154826,_0x154ab4=_0x4dfb63[_0x1491ca(0x265)],_0x5b7125=_0x4dfb63[_0x1491ca(0x1ec)];_0x570d08&&(_0x597dea-=_0x154ab4),_0x338990&&(_0x303e7e-=_0x5b7125);let _0x28cd47=_0x4b6800-_0x597dea,_0xbd610=_0x236e4f-_0x303e7e,_0x1b5f11={'labelPosition':_0x303e7e-_0x3adb7b>=0x14?_0x1491ca(0x3a2):'bottom','sheetID':_0x488012,'range':_0x1f0e2a,'color':_0x3cc74e,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x3cc74e,'name':((_0x59c11e=this[_0x1491ca(0x33f)][_0x1491ca(0x2bb)](_0x245342))==null?void 0x0:_0x59c11e[_0x1491ca(0x3a1)])+'\x20'+_0x28d21a||_0x28d21a,'selection':_0x434f4d+'-'+_0x488012+'-'+_0x1f0e2a[_0x1491ca(0x2da)]+'-'+_0x1f0e2a[_0x1491ca(0x324)]+'-'+_0x1f0e2a[_0x1491ca(0x204)]+'-'+_0x1f0e2a[_0x1491ca(0x365)],'left':_0x597dea,'top':_0x303e7e,'width':_0x28cd47,'height':_0xbd610,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0x33bab4[_0x1491ca(0x36f)](new _0x738bdb['SheetCollabCursorShape']('',_0x1b5f11));});});}[_0x1b7ff8(0x220)](_0x284a04,_0x2cde60,_0x28cd3b,_0x11e411,_0x2e6fbd){const _0x15148c=_0x1b7ff8;_0x28cd3b[_0x15148c(0x36d)]((_0x73c639,_0x3aae99)=>{const _0x495863=_0x15148c;_0x73c639[_0x495863(0x36d)](_0x586f96=>{const _0x490422=_0x495863;var _0x4b0151;let {range:_0x5c9f66,subUnitId:_0x6a3dab,unitId:_0x1d3f59,showText:_0x968475=''}=_0x586f96,{startColumn:_0x4e27cb,startRow:_0x4a7c54,endColumn:_0x178ae5,endRow:_0x1747e8}=_0x5c9f66,_0xd167bd=(0x0,_0x45078f['getCoordByCell'])(_0x4a7c54,_0x4e27cb,_0x284a04,_0x2cde60),_0xec2928=(0x0,_0x45078f[_0x490422(0x1e0)])(_0x1747e8,_0x178ae5,_0x284a04,_0x2cde60),{columnHeaderHeightAndMarginTop:_0x41b1b6}=_0x2cde60,{startX:_0x590b67,startY:_0x1f47ff}=_0xd167bd,{endX:_0x138126,endY:_0x184752}=_0xec2928,_0x499264=_0x138126-_0x590b67,_0x563615=_0x184752-_0x1f47ff,_0x2893ed={'labelPosition':_0x1f47ff-_0x41b1b6>=0x14?_0x490422(0x3a2):_0x490422(0x1d4),'sheetID':_0x6a3dab,'range':_0x5c9f66,'color':_0x11e411,'fillAfterStrokeEnabled':!0x1,'backgroundColor':'transparent','name':((_0x4b0151=this[_0x490422(0x33f)][_0x490422(0x2bb)](_0x3aae99))==null?void 0x0:_0x4b0151[_0x490422(0x3a1)])+'\x20'+_0x968475||_0x968475,'selection':_0x1d3f59+'-'+_0x6a3dab+'-'+_0x5c9f66[_0x490422(0x2da)]+'-'+_0x5c9f66[_0x490422(0x324)]+'-'+_0x5c9f66[_0x490422(0x204)]+'-'+_0x5c9f66['endRow'],'left':_0x590b67-0xc/0x2,'top':_0x1f47ff-0xc/0x2,'width':_0x499264,'height':_0x563615,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0x2e6fbd['push'](new _0x738bdb[(_0x490422(0x3af))]('',_0x2893ed));});});}[_0x1b7ff8(0x3da)](_0x5cf54e,_0x42ca1f,_0x52ed0b,_0x993d78,_0x316cfc){const _0x23c6c2=_0x1b7ff8;let _0x5bf127=_0x42ca1f[_0x23c6c2(0x265)],_0x369d00=_0x42ca1f['columnHeaderHeight'];_0x52ed0b[_0x23c6c2(0x36d)]((_0xd26cee,_0x42d49f)=>{const _0x5c9d88=_0x23c6c2;_0xd26cee[_0x5c9d88(0x36d)](_0x1d4b7f=>{const _0x40de5e=_0x5c9d88;let {range:_0x5210b9,showText:_0x1888e4=''}=_0x1d4b7f,{startColumn:_0x295745,startRow:_0x305c17,endColumn:_0x41a8b1,endRow:_0x6d00e2}=_0x5210b9,_0x4a5af4=(0x0,_0x45078f[_0x40de5e(0x1e0)])(_0x305c17,_0x295745,_0x5cf54e,_0x42ca1f),_0x10f463=(0x0,_0x45078f[_0x40de5e(0x1e0)])(_0x6d00e2,_0x41a8b1,_0x5cf54e,_0x42ca1f),{startX:_0x13ade0,startY:_0xa49438}=_0x4a5af4,{endX:_0x4dc980,endY:_0xdacd47}=_0x10f463,{columnHeaderHeightAndMarginTop:_0x446046}=_0x42ca1f,_0x4e71c6;if(_0x993d78===_0x40de5e(0x486)){var _0x393a7e;_0x4e71c6=new _0x45fba5('',{'color':_0x40de5e(0x1ea),'direction':_0x40de5e(0x486),'left':_0x13ade0,'top':0x2,'width':_0x4dc980-_0x13ade0,'height':_0x369d00-0x4,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x393a7e=this[_0x40de5e(0x33f)][_0x40de5e(0x2bb)](_0x42d49f))==null?void 0x0:_0x393a7e[_0x40de5e(0x3a1)])+'\x20'+_0x1888e4||_0x1888e4,'labelPosition':_0xa49438-_0x446046>=0x14?_0x40de5e(0x3a2):_0x40de5e(0x1d4)}),_0x316cfc['push'](_0x4e71c6);}else{var _0x4f30fb;let _0xb2f8bb=_0xdacd47-_0xa49438;_0x4e71c6=new _0x45fba5('',{'color':_0x40de5e(0x1ea),'direction':'vertical','left':0x2,'top':_0xa49438,'width':_0x5bf127-0x4,'height':_0xb2f8bb,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x4f30fb=this['_historyManagerService'][_0x40de5e(0x2bb)](_0x42d49f))==null?void 0x0:_0x4f30fb[_0x40de5e(0x3a1)])+'\x20'+_0x1888e4||_0x1888e4,'labelPosition':'top'}),_0x316cfc['push'](_0x4e71c6);}});});}[_0x1b7ff8(0x437)](_0x4cb9e7,_0x5f0d9b,_0x2aec97,_0x2104da){const _0x1a8d5c=_0x1b7ff8;let _0x58e3c9=this[_0x1a8d5c(0x368)][_0x1a8d5c(0x2d2)]();if(!_0x58e3c9)return;let {columnHeaderHeightAndMarginTop:_0x18afc3}=_0x58e3c9;_0x5f0d9b[_0x1a8d5c(0x36d)]((_0x43d161,_0x40d0b1)=>{const _0x4896ae=_0x1a8d5c;_0x43d161[_0x4896ae(0x36d)](_0x3ffa4f=>{const _0x29ac2b=_0x4896ae;var _0x1aa0cd;let {drawingId:_0x55c715,unitId:_0x32bd6e,subUnitId:_0x4d345e,showText:_0x1035b2=''}=_0x3ffa4f,_0x19db9b=this[_0x29ac2b(0x35e)][_0x29ac2b(0x17b)]({'unitId':_0x32bd6e,'subUnitId':_0x4d345e,'drawingId':_0x55c715});if(!_0x19db9b||!_0x19db9b[_0x29ac2b(0x415)])return;let {left:_0xf15829=0x0,top:_0x3d2b2e=0x0,width:_0x1bab3d,height:_0x5b114d}=_0x19db9b[_0x29ac2b(0x415)],_0x12a827=new _0x738bdb[(_0x29ac2b(0x3af))]('',{'labelPosition':_0x3d2b2e-_0x18afc3>=0x14?_0x29ac2b(0x3a2):_0x29ac2b(0x1d4),'sheetID':_0x4d345e,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0x2aec97,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x29ac2b(0x2c5),'name':((_0x1aa0cd=this[_0x29ac2b(0x33f)]['getMember'](_0x40d0b1))==null?void 0x0:_0x1aa0cd[_0x29ac2b(0x3a1)])+'\x20'+_0x1035b2||_0x1035b2,'selection':_0x32bd6e+'-'+_0x4d345e+_0x29ac2b(0x3c1)+_0x55c715,'left':_0xf15829-0xc/0x2,'top':_0x3d2b2e-0xc/0x2,'width':_0x1bab3d,'height':_0x5b114d,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0});_0x12a827[_0x29ac2b(0x372)][_0x29ac2b(0x2b8)](()=>{const _0x56e397=_0x29ac2b;this['_findOverlappingShapes'](_0x12a827,_0x2104da)[_0x56e397(0x36d)](_0x1625d0=>{const _0x36f5cf=_0x56e397;_0x1625d0 instanceof _0x738bdb[_0x36f5cf(0x3af)]&&_0x1625d0['setShapeProps']({'hovered':!0x0});});}),_0x12a827[_0x29ac2b(0x3f9)][_0x29ac2b(0x2b8)](()=>{const _0x1ab55c=_0x29ac2b;this['_findOverlappingShapes'](_0x12a827,_0x2104da)[_0x1ab55c(0x36d)](_0x5ea2c2=>{const _0x130ecd=_0x1ab55c;_0x5ea2c2 instanceof _0x738bdb[_0x130ecd(0x3af)]&&_0x5ea2c2[_0x130ecd(0x337)]({'hovered':!0x1});});}),_0x2104da[_0x29ac2b(0x36f)](_0x12a827);});});}[_0x1b7ff8(0x4a1)](){const _0x2d8546=_0x1b7ff8;var _0x3cd19,_0x259820,_0x12ae64,_0x519196;(_0x3cd19=this[_0x2d8546(0x213)])==null||_0x3cd19[_0x2d8546(0x36d)](_0x1020c2=>_0x1020c2[_0x2d8546(0x25d)]()),(_0x259820=this['_borderDiffs'])==null||_0x259820[_0x2d8546(0x36d)](_0x14d833=>_0x14d833[_0x2d8546(0x25d)]()),(_0x12ae64=this[_0x2d8546(0x463)])==null||_0x12ae64[_0x2d8546(0x36d)](_0x4d769e=>_0x4d769e['dispose']()),(_0x519196=this[_0x2d8546(0x395)])==null||_0x519196[_0x2d8546(0x36d)](_0x41af57=>_0x41af57[_0x2d8546(0x25d)]());}[_0x1b7ff8(0x47a)](_0xa27b3d){const _0x25b649=_0x1b7ff8;let _0x2f8ef9=_0xa27b3d[_0x25b649(0x433)](_0xb146f2=>_0xb146f2 instanceof _0x738bdb['SheetCollabCursorShape']);if(_0x2f8ef9[_0x25b649(0x295)]===0x0)return;let _0x21730f=[],_0x26db11=new Set();_0x2f8ef9[_0x25b649(0x36d)](_0x3f652f=>{const _0xf85eee=_0x25b649;if(_0x26db11[_0xf85eee(0x224)](_0x3f652f))return;let _0x121ec2=_0x3f652f[_0xf85eee(0x32d)]||0x0,_0x4d99ab=_0x3f652f[_0xf85eee(0x3a2)]||0x0,_0x5d8b88=_0x121ec2+(_0x3f652f['width']||0x0),_0x1fd1da=_0x4d99ab,_0x2f3602=[_0x3f652f];_0x26db11['add'](_0x3f652f),_0x2f8ef9[_0xf85eee(0x36d)](_0x46a97d=>{const _0x2b488e=_0xf85eee;if(_0x26db11['has'](_0x46a97d))return;let _0x2d786c=_0x46a97d['left']||0x0,_0x3c0829=_0x46a97d[_0x2b488e(0x3a2)]||0x0,_0x41ee9f=_0x2d786c+(_0x46a97d[_0x2b488e(0x456)]||0x0),_0x47bcc7=_0x3c0829;Math[_0x2b488e(0x25a)](_0x5d8b88-_0x41ee9f)<=0xa&&Math['abs'](_0x1fd1da-_0x47bcc7)<=0xa&&(_0x2f3602[_0x2b488e(0x36f)](_0x46a97d),_0x26db11['add'](_0x46a97d));}),_0x2f3602[_0xf85eee(0x295)]>0x1&&_0x21730f[_0xf85eee(0x36f)](_0x2f3602);}),_0x21730f[_0x25b649(0x36d)](_0x1146f3=>{const _0x13b991=_0x25b649;_0x1146f3['sort']((_0x3642b5,_0x5c6256)=>(_0x3642b5[_0x13b991(0x3a2)]||0x0)-(_0x5c6256[_0x13b991(0x3a2)]||0x0)),_0x1146f3[_0x13b991(0x36d)]((_0x1adfe9,_0x349678)=>{let _0x516bfe=_0x349678*0x16;_0x1adfe9['setOffsetY'](_0x516bfe);});});}['_findOverlappingShapes'](_0x565466,_0x3855d4){const _0x5d37cb=_0x1b7ff8;let _0x3b670a=_0x565466[_0x5d37cb(0x32d)]||0x0,_0x1eb4e0=_0x565466[_0x5d37cb(0x3a2)]||0x0,_0x2d4790=_0x565466[_0x5d37cb(0x456)]||0x0,_0x50cb3d=_0x565466[_0x5d37cb(0x480)]||0x0,_0x48f722=_0x3b670a+_0x2d4790,_0x2ee21e=_0x1eb4e0+_0x50cb3d;return _0x3855d4[_0x5d37cb(0x433)](_0x27d310=>{const _0x345698=_0x5d37cb;let _0xba7617=_0x27d310[_0x345698(0x32d)]||0x0,_0x80a42c=_0x27d310[_0x345698(0x3a2)]||0x0,_0x3a3b1c=_0x27d310[_0x345698(0x456)]||0x0,_0x335fc0=_0x27d310[_0x345698(0x480)]||0x0,_0x1dd3bb=_0xba7617+_0x3a3b1c,_0x1d9130=_0x80a42c+_0x335fc0;return!(_0x48f722<=_0xba7617||_0x3b670a>=_0x1dd3bb||_0x2ee21e<=_0x80a42c||_0x1eb4e0>=_0x1d9130);});}[_0x1b7ff8(0x2aa)](_0xad5030,_0x4da470){const _0x2815dc=_0x1b7ff8;let _0x5465ff=_0x4da470['getViewport'](_0x12f665[_0x2815dc(0x33e)][_0x2815dc(0x13d)]);if(!_0x5465ff)return;let _0x1467e6=_0xad5030[_0x2815dc(0x32d)]||0x0,_0x85b0d3=_0xad5030[_0x2815dc(0x3a2)]||0x0,_0x45add7=_0xad5030[_0x2815dc(0x456)]||0x0,_0x32ae5d=_0xad5030[_0x2815dc(0x480)]||0x0,_0x232cd6=_0x5465ff[_0x2815dc(0x456)]||0x0,_0x131528=_0x5465ff['height']||0x0,_0x59a4ea=_0x5465ff['viewportScrollX']||0x0,_0x4a4e7d=_0x5465ff[_0x2815dc(0x48f)]||0x0,_0xa005ba=_0x59a4ea,_0x9ac6a8=_0x4a4e7d,_0x43cd32=_0x59a4ea+_0x232cd6,_0x3a13f3=_0x4a4e7d+_0x131528;if(_0x1467e6>=_0xa005ba&&_0x85b0d3>=_0x9ac6a8&&_0x1467e6+_0x45add7<=_0x43cd32&&_0x85b0d3+_0x32ae5d<=_0x3a13f3)return;let _0x5c0409=Math[_0x2815dc(0x248)](0x0,_0x1467e6-_0x232cd6/0x2+_0x45add7/0x2),_0x816866=Math[_0x2815dc(0x248)](0x0,_0x85b0d3-_0x131528/0x2+_0x32ae5d/0x2);_0x5465ff[_0x2815dc(0x14f)]({'viewportScrollX':_0x5c0409,'viewportScrollY':_0x816866});}[_0x1b7ff8(0x3dd)](){const _0x192c31=_0x1b7ff8;return(0x0,_0x45078f['getSheetObject'])(this[_0x192c31(0x498)],this['_renderManagerService']);}};_0x2e5f0a=_0x110e9b([_0x274dca(0x1,(0x0,_0x1ff675['Inject'])(_0x3b5fc2)),_0x274dca(0x2,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x4eafe8)),_0x274dca(0x3,_0x1ff675['IUniverInstanceService']),_0x274dca(0x4,_0x12f665[_0x1b7ff8(0x347)]),_0x274dca(0x5,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x45078f[_0x1b7ff8(0x117)])),_0x274dca(0x6,_0x1ff675[_0x1b7ff8(0x39b)]),_0x274dca(0x7,_0x4d9a74[_0x1b7ff8(0x161)])],_0x2e5f0a);var _0x44a468='@univerjs-pro/edit-history-viewer',_0x5e25e3='0.21.1';let _0x1e1ea6=class extends _0x1ff675[_0x1b7ff8(0x3d7)]{constructor(_0x3bf179){const _0x47ccb2=_0x1b7ff8;super(),this[_0x47ccb2(0x305)]=_0x3bf179,this[_0x47ccb2(0x209)]();}[_0x1b7ff8(0x209)](){const _0x29b5b1=_0x1b7ff8;this[_0x29b5b1(0x3bd)](this[_0x29b5b1(0x305)]['state$'][_0x29b5b1(0x2dc)](_0xe7fad8=>{const _0x228f5e=_0x29b5b1;_0xe7fad8!=null&&_0xe7fad8[_0x228f5e(0x12e)]&&this[_0x228f5e(0x305)][_0x228f5e(0x1fa)]({'show':!0x1});}));}};_0x1e1ea6=_0x110e9b([_0x274dca(0x0,_0x45078f[_0x1b7ff8(0x1a9)])],_0x1e1ea6);function _0xefe8de(){const _0x598faf=_0x1b7ff8;let _0x5961fb=(0x0,_0x2ba54d[_0x598faf(0x390)])(_0x3b5fc2),_0x1f3f31=(0x0,_0x2ba54d['useDependency'])(_0x1ff675[_0x598faf(0x268)]),_0x38f0b3=(0x0,_0x2ba54d[_0x598faf(0x217)])(_0x5961fb[_0x598faf(0x417)]),_0x4eb01e=(0x0,_0x486c19[_0x598faf(0x2f6)])(()=>_0x38f0b3?_0x5961fb['getSelectedVersionCanRevert']():!0x1,[_0x5961fb,_0x38f0b3]),_0x5291fc=(0x0,_0x486c19[_0x598faf(0x3ac)])(()=>{const _0x44ee5d=_0x598faf;_0x5961fb[_0x44ee5d(0x19e)]=_0x1702fc['Exited'];},[_0x5961fb]),_0x1ca907=(0x0,_0x486c19[_0x598faf(0x3ac)])(()=>{const _0xffa90f=_0x598faf;_0x5961fb[_0xffa90f(0x31f)]();},[_0x5961fb]);return(0x0,_0x34c075[_0x598faf(0x3f3)])('div',{'className':_0x598faf(0x400),'children':[(0x0,_0x34c075[_0x598faf(0x115)])(_0x36e70d['Button'],{'variant':_0x598faf(0x273),'onClick':_0x5291fc,'children':_0x1f3f31['t'](_0x598faf(0x35c))}),_0x4eb01e?(0x0,_0x34c075[_0x598faf(0x115)])(_0x36e70d['Button'],{'variant':_0x598faf(0x273),'onClick':_0x1ca907,'children':_0x1f3f31['t'](_0x598faf(0x180))}):(0x0,_0x34c075['jsx'])(_0x598faf(0x3cb),{'className':'univer-w-10'})]});}let _0x501629=class extends _0x1ff675[_0x1b7ff8(0x3d7)]{constructor(_0x12d85a,_0x2c5844,_0x4161f5,_0x50e31b,_0x1ce6da,_0x5efd85,_0x339233){const _0x529cd8=_0x1b7ff8;super(),this['_permissionService']=_0x12d85a,this['_uiPartsService']=_0x2c5844,this[_0x529cd8(0x178)]=_0x4161f5,this['_localeService']=_0x50e31b,this['_historyManagerService']=_0x1ce6da,this[_0x529cd8(0x44a)]=_0x5efd85,this['_configService']=_0x339233,this[_0x529cd8(0x209)]();}['_init'](){const _0xb88d60=_0x1b7ff8;this['disposeWithMe'](this['_historyManagerService']['currentVersion$'][_0xb88d60(0x2dc)](_0x1cd4aa=>{_0x1cd4aa&&this['_historyManagerService']['triggerLoadSheet'](_0x1cd4aa);})),this[_0xb88d60(0x3bd)](this['_permissionService'][_0xb88d60(0x406)][_0xb88d60(0x2dc)](_0x4d58ab=>{const _0x1d8ea1=_0xb88d60;let _0x145703=this[_0x1d8ea1(0x33f)][_0x1d8ea1(0x37c)];_0x145703&&(_0x4d58ab[_0x1d8ea1(0x35d)]===_0x2c1da0[_0x1d8ea1(0x23e)]['Edit']&&_0x4d58ab[_0x1d8ea1(0x353)]===!0x0&&this[_0x1d8ea1(0x3e7)]['updatePermissionPoint'](new _0x37f055[(_0x1d8ea1(0x222))](_0x145703)['id'],!0x1),_0x4d58ab[_0x1d8ea1(0x35d)]===_0x2c1da0[_0x1d8ea1(0x23e)]['RenameSheet']&&_0x4d58ab[_0x1d8ea1(0x353)]===!0x0&&this['_permissionService'][_0x1d8ea1(0x47f)](new _0x37f055[(_0x1d8ea1(0x419))](_0x145703)['id'],!0x1),_0x4d58ab[_0x1d8ea1(0x35d)]===_0x2c1da0[_0x1d8ea1(0x23e)][_0x1d8ea1(0x1a1)]&&_0x4d58ab['value']===!0x0&&this[_0x1d8ea1(0x3e7)]['updatePermissionPoint'](new _0x37f055[(_0x1d8ea1(0x357))](_0x145703)['id'],!0x1),_0x4d58ab[_0x1d8ea1(0x35d)]===_0x2c1da0[_0x1d8ea1(0x23e)][_0x1d8ea1(0x3f4)]&&_0x4d58ab[_0x1d8ea1(0x353)]===!0x0&&this[_0x1d8ea1(0x3e7)][_0x1d8ea1(0x47f)](new _0x37f055[(_0x1d8ea1(0x26c))](_0x145703)['id'],!0x1),_0x4d58ab['subType']===_0x2c1da0[_0x1d8ea1(0x23e)]['Comment']&&_0x4d58ab[_0x1d8ea1(0x353)]===!0x0&&this[_0x1d8ea1(0x3e7)][_0x1d8ea1(0x47f)](new _0x37f055['WorkbookEditablePermission'](_0x145703)['id'],!0x1),_0x4d58ab['subType']===_0x2c1da0[_0x1d8ea1(0x23e)][_0x1d8ea1(0x3ff)]&&_0x4d58ab[_0x1d8ea1(0x353)]===!0x0&&this[_0x1d8ea1(0x3e7)][_0x1d8ea1(0x47f)](new _0x37f055[(_0x1d8ea1(0x222))](_0x145703)['id'],!0x1));})),this[_0xb88d60(0x414)]();let _0x1107fc;this['disposeWithMe'](this[_0xb88d60(0x33f)][_0xb88d60(0x3c2)][_0xb88d60(0x2dc)](_0x5abe86=>{const _0x3df3c3=_0xb88d60;this['_messageService'][_0x3df3c3(0x2d4)](),_0x1107fc==null||_0x1107fc[_0x3df3c3(0x25d)](),_0x5abe86===_0x47279d[_0x3df3c3(0x2a9)]&&(this[_0x3df3c3(0x33f)][_0x3df3c3(0x1e6)](),_0x1107fc=this[_0x3df3c3(0x178)][_0x3df3c3(0x12e)]({'type':_0x36e70d[_0x3df3c3(0x17e)][_0x3df3c3(0x423)],'content':this[_0x3df3c3(0x3a9)]['t'](_0x3df3c3(0x1dd)),'duration':0x3e8})),_0x5abe86===_0x47279d['Loaded']&&this[_0x3df3c3(0x33f)][_0x3df3c3(0x3f8)]();}));}[_0x1b7ff8(0x414)](){const _0x5a3a64=_0x1b7ff8;var _0xf4b13e;(_0xf4b13e=this['_configService'][_0x5a3a64(0x3a6)](_0x5a3a64(0x236)))!=null&&_0xf4b13e[_0x5a3a64(0x128)]||this['disposeWithMe'](this[_0x5a3a64(0x3ec)][_0x5a3a64(0x2fa)](_0x2ba54d['BuiltInUIPart'][_0x5a3a64(0x2a1)],()=>(0x0,_0x2ba54d['connectInjector'])(_0xefe8de,this[_0x5a3a64(0x44a)])));}};_0x501629=_0x110e9b([_0x274dca(0x0,_0x1ff675['IPermissionService']),_0x274dca(0x1,_0x2ba54d[_0x1b7ff8(0x42f)]),_0x274dca(0x2,_0x2ba54d[_0x1b7ff8(0x16d)]),_0x274dca(0x3,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x1ff675['LocaleService'])),_0x274dca(0x4,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x3b5fc2)),_0x274dca(0x5,(0x0,_0x1ff675['Inject'])(_0x1ff675[_0x1b7ff8(0x13c)])),_0x274dca(0x6,_0x1ff675[_0x1b7ff8(0x1f2)])],_0x501629);function _0x3b8e4c({ref:_0x6575b8,..._0x28cbbe}){const _0x7599d1=_0x1b7ff8;let {icon:_0x114508,id:_0x25fedf,className:_0x4ea4bf,extend:_0x52060a,..._0x34ea40}=_0x28cbbe,_0x359fce=(_0x7599d1(0x331)+_0x25fedf+'\x20'+(_0x4ea4bf||''))[_0x7599d1(0x133)](),_0x456fc1=(0x0,_0x486c19[_0x7599d1(0x447)])('_'+_0x2f5051());return _0xcb45f(_0x114508,''+_0x25fedf,{'defIds':_0x114508[_0x7599d1(0x11a)],'idSuffix':_0x456fc1[_0x7599d1(0x3fd)]},{'ref':_0x6575b8,'className':_0x359fce,..._0x34ea40},_0x52060a);}function _0xcb45f(_0x2b7a83,_0x5eb2b1,_0x553d33,_0xea74cf,_0x22d8b1){const _0x17d0a6=_0x1b7ff8;return(0x0,_0x486c19[_0x17d0a6(0x1a3)])(_0x2b7a83[_0x17d0a6(0x1cd)],{'key':_0x5eb2b1,..._0x409104(_0x2b7a83,_0x553d33,_0x22d8b1),..._0xea74cf},(_0x17ea4b(_0x2b7a83,_0x553d33)[_0x17d0a6(0x470)]||[])[_0x17d0a6(0x376)]((_0x595696,_0x4bece3)=>_0xcb45f(_0x595696,_0x5eb2b1+'-'+_0x2b7a83['tag']+'-'+_0x4bece3,_0x553d33,void 0x0,_0x22d8b1)));}function _0x409104(_0x568f0b,_0x2fd40f,_0x746c81){const _0x119e20=_0x1b7ff8;let _0x398f8d={..._0x568f0b['attrs']};_0x746c81!=null&&_0x746c81['colorChannel1']&&_0x398f8d[_0x119e20(0x46e)]===_0x119e20(0x472)&&(_0x398f8d[_0x119e20(0x46e)]=_0x746c81[_0x119e20(0x472)]),_0x568f0b['tag']===_0x119e20(0x27f)&&_0x398f8d['id']&&(_0x398f8d['id']+=_0x2fd40f[_0x119e20(0x403)]),Object['entries'](_0x398f8d)[_0x119e20(0x36d)](([_0x1912c3,_0x53ae6e])=>{const _0x13e985=_0x119e20;_0x1912c3==='mask'&&typeof _0x53ae6e==_0x13e985(0x3b0)&&(_0x398f8d[_0x1912c3]=_0x53ae6e[_0x13e985(0x118)](/url\(#(.*)\)/,_0x13e985(0x45e)+_0x2fd40f[_0x13e985(0x403)]+')'));});let {defIds:_0x3357c5}=_0x2fd40f;return!_0x3357c5||_0x3357c5[_0x119e20(0x295)]===0x0?_0x398f8d:(_0x568f0b[_0x119e20(0x1cd)]===_0x119e20(0x24b)&&_0x398f8d['xlink:href']&&(_0x398f8d[_0x119e20(0x43f)]+=_0x2fd40f['idSuffix']),Object[_0x119e20(0x426)](_0x398f8d)['forEach'](([_0x4631e2,_0xd2deb])=>{const _0x21a18c=_0x119e20;typeof _0xd2deb=='string'&&(_0x398f8d[_0x4631e2]=_0xd2deb[_0x21a18c(0x118)](/url\(#(.*)\)/,_0x21a18c(0x45e)+_0x2fd40f[_0x21a18c(0x403)]+')'));}),_0x398f8d);}function _0x17ea4b(_0x5b8ec3,_0x56e388){const _0x387f53=_0x1b7ff8;var _0x47aabb;let {defIds:_0x39c9b8}=_0x56e388;return!_0x39c9b8||_0x39c9b8[_0x387f53(0x295)]===0x0?_0x5b8ec3:_0x5b8ec3['tag']==='defs'&&(_0x47aabb=_0x5b8ec3['children'])!=null&&_0x47aabb[_0x387f53(0x295)]?{..._0x5b8ec3,'children':_0x5b8ec3[_0x387f53(0x470)][_0x387f53(0x376)](_0x50c57b=>typeof _0x50c57b[_0x387f53(0x321)]['id']==_0x387f53(0x3b0)&&_0x39c9b8&&_0x39c9b8[_0x387f53(0x1c7)](_0x50c57b[_0x387f53(0x321)]['id'])?{..._0x50c57b,'attrs':{..._0x50c57b['attrs'],'id':_0x50c57b['attrs']['id']+_0x56e388[_0x387f53(0x403)]}}:_0x50c57b)}:_0x5b8ec3;}function _0x2f5051(){const _0x2fd2d4=_0x1b7ff8;return Math[_0x2fd2d4(0x3ab)]()['toString'](0x24)[_0x2fd2d4(0x303)](0x2,0x8);}_0x3b8e4c[_0x1b7ff8(0x493)]=_0x1b7ff8(0x49a);let _0x4163bd={'tag':_0x1b7ff8(0x25e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1b7ff8(0x12c),'viewBox':_0x1b7ff8(0x18c),'width':_0x1b7ff8(0x2eb),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x1b7ff8(0x18e),'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'}}]},_0x1cb03f=(0x0,_0x486c19['forwardRef'])(function(_0x1bee46,_0x2aa972){const _0x19da40=_0x1b7ff8;return(0x0,_0x486c19[_0x19da40(0x1a3)])(_0x3b8e4c,Object[_0x19da40(0x312)]({},_0x1bee46,{'id':_0x19da40(0x478),'ref':_0x2aa972,'icon':_0x4163bd}));});_0x1cb03f[_0x1b7ff8(0x493)]=_0x1b7ff8(0x2c6);let _0x2b602f={'tag':'svg','attrs':{'xmlns':_0x1b7ff8(0x2e5),'fill':'none','viewBox':_0x1b7ff8(0x18c),'width':_0x1b7ff8(0x2eb),'height':'1em'},'children':[{'tag':_0x1b7ff8(0x1c0),'attrs':{'fill':_0x1b7ff8(0x18e),'d':_0x1b7ff8(0x35a),'fillRule':_0x1b7ff8(0x492),'clipRule':_0x1b7ff8(0x492)}}]},_0x1dec55=(0x0,_0x486c19[_0x1b7ff8(0x1dc)])(function(_0x294f7a,_0x52e9c9){const _0x23f9e2=_0x1b7ff8;return(0x0,_0x486c19[_0x23f9e2(0x1a3)])(_0x3b8e4c,Object[_0x23f9e2(0x312)]({},_0x294f7a,{'id':_0x23f9e2(0x457),'ref':_0x52e9c9,'icon':_0x2b602f}));});_0x1dec55['displayName']='FunnelIcon';let _0x72a57a={'tag':_0x1b7ff8(0x25e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x1b7ff8(0x2eb),'height':_0x1b7ff8(0x2eb)},'children':[{'tag':_0x1b7ff8(0x1c0),'attrs':{'fill':_0x1b7ff8(0x18e),'d':_0x1b7ff8(0x35b),'fillRule':'evenodd','clipRule':_0x1b7ff8(0x492)}}]},_0x3c8b30=(0x0,_0x486c19[_0x1b7ff8(0x1dc)])(function(_0x3963ad,_0x33d7af){const _0xf04a28=_0x1b7ff8;return(0x0,_0x486c19['createElement'])(_0x3b8e4c,Object['assign']({},_0x3963ad,{'id':_0xf04a28(0x246),'ref':_0x33d7af,'icon':_0x72a57a}));});_0x3c8b30[_0x1b7ff8(0x493)]='MoreDownIcon';let _0x49a3c1={'tag':_0x1b7ff8(0x25e),'attrs':{'xmlns':_0x1b7ff8(0x2e5),'fill':_0x1b7ff8(0x12c),'viewBox':_0x1b7ff8(0x18c),'width':_0x1b7ff8(0x2eb),'height':_0x1b7ff8(0x2eb)},'children':[{'tag':'path','attrs':{'fill':_0x1b7ff8(0x18e),'d':'M6.14645\x204.64645C6.34171\x204.45118\x206.65829\x204.45118\x206.85355\x204.64645L9.85355\x207.64645C10.0488\x207.84171\x2010.0488\x208.15829\x209.85355\x208.35355L6.85355\x2011.3536C6.65829\x2011.5488\x206.34171\x2011.5488\x206.14645\x2011.3536C5.95118\x2011.1583\x205.95118\x2010.8417\x206.14645\x2010.6464L8.79289\x208L6.14645\x205.35355C5.95118\x205.15829\x205.95118\x204.84171\x206.14645\x204.64645Z','fillRule':_0x1b7ff8(0x492),'clipRule':_0x1b7ff8(0x492)}}]},_0x5b2781=(0x0,_0x486c19[_0x1b7ff8(0x1dc)])(function(_0x5975e6,_0x4c2a0e){const _0xa3565f=_0x1b7ff8;return(0x0,_0x486c19[_0xa3565f(0x1a3)])(_0x3b8e4c,Object[_0xa3565f(0x312)]({},_0x5975e6,{'id':_0xa3565f(0x47b),'ref':_0x4c2a0e,'icon':_0x49a3c1}));});_0x5b2781[_0x1b7ff8(0x493)]=_0x1b7ff8(0x14a);let _0x5cc1c7={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1b7ff8(0x12c),'viewBox':'0\x200\x2016\x2017','width':'1em','height':_0x1b7ff8(0x2eb)},'children':[{'tag':'g','attrs':{'fill':_0x1b7ff8(0x18e),'clipPath':_0x1b7ff8(0x22e)},'children':[{'tag':_0x1b7ff8(0x1c0),'attrs':{'d':_0x1b7ff8(0x355)}},{'tag':_0x1b7ff8(0x1c0),'attrs':{'d':_0x1b7ff8(0x34d),'fillRule':_0x1b7ff8(0x492),'clipRule':'evenodd'}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1b7ff8(0x1c6),'attrs':{'id':'restore-icon_clip0_1247_2'},'children':[{'tag':_0x1b7ff8(0x1ab),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x1b7ff8(0x167),'rx':0x4}}]}]}],'defIds':[_0x1b7ff8(0x449)]},_0x5a34cd=(0x0,_0x486c19[_0x1b7ff8(0x1dc)])(function(_0x39ece8,_0x310abe){const _0x34b199=_0x1b7ff8;return(0x0,_0x486c19[_0x34b199(0x1a3)])(_0x3b8e4c,Object['assign']({},_0x39ece8,{'id':_0x34b199(0x37f),'ref':_0x310abe,'icon':_0x5cc1c7}));});_0x5a34cd['displayName']=_0x1b7ff8(0x2f1);let _0x4436d7={'tag':_0x1b7ff8(0x25e),'attrs':{'xmlns':_0x1b7ff8(0x2e5),'fill':_0x1b7ff8(0x12c),'viewBox':_0x1b7ff8(0x18c),'width':'1em','height':_0x1b7ff8(0x2eb)},'children':[{'tag':_0x1b7ff8(0x1c0),'attrs':{'fill':_0x1b7ff8(0x47c),'d':_0x1b7ff8(0x27a),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x1b7ff8(0x492)}},{'tag':'path','attrs':{'fill':_0x1b7ff8(0x47c),'d':_0x1b7ff8(0x206),'fillRule':_0x1b7ff8(0x492),'clipRule':'evenodd'}}]},_0x281562=(0x0,_0x486c19['forwardRef'])(function(_0x46d3d3,_0x3a046e){const _0x31797d=_0x1b7ff8;return(0x0,_0x486c19[_0x31797d(0x1a3)])(_0x3b8e4c,Object['assign']({},_0x46d3d3,{'id':_0x31797d(0x1fe),'ref':_0x3a046e,'icon':_0x4436d7}));});_0x281562[_0x1b7ff8(0x493)]=_0x1b7ff8(0x450);function _0x2c3b51(_0x19b5f7){const _0x1cbf88=_0x1b7ff8;var _0x13d881;let {item:_0x369efc,isNewest:_0x10a6a2}=_0x19b5f7,_0xe2e986=(0x0,_0x2ba54d[_0x1cbf88(0x390)])(_0x3b5fc2),_0x4b8c9e=(0x0,_0x2ba54d['useDependency'])(_0x4eafe8),_0x2b6a03=(0x0,_0x2ba54d[_0x1cbf88(0x390)])(_0x1ff675[_0x1cbf88(0x268)]),_0x36aa84=(0x0,_0x2ba54d[_0x1cbf88(0x217)])(_0xe2e986['currentVersion$'],'',!0x0)===_0x369efc['id'],_0x53d337=_0x2b6a03[_0x1cbf88(0x122)](),_0x2e74aa=_0x270f2f(_0x369efc['time'],_0x53d337),_0x349215=!_0x10a6a2&&_0xe2e986[_0x1cbf88(0x471)],_0xe16977=(0x0,_0x486c19[_0x1cbf88(0x3ac)])(async()=>{const _0x274c8d=_0x1cbf88;_0xe2e986[_0x274c8d(0x458)]!==_0x47279d['Loading']&&(_0xe2e986[_0x274c8d(0x1cb)]=_0x369efc['id'],await _0x4b8c9e[_0x274c8d(0x346)](_0x369efc['id']));},[_0xe2e986,_0x4b8c9e,_0x369efc['id']]),_0x330ce4=(0x0,_0x486c19['useCallback'])(_0x53d31c=>{const _0x450608=_0x1cbf88;_0x53d31c[_0x450608(0x2ea)](),_0xe2e986[_0x450608(0x31f)](_0x369efc['id']);},[_0xe2e986,_0x369efc['id']]),_0x366b1=((_0x13d881=_0x369efc[_0x1cbf88(0x2bf)])==null?void 0x0:_0x13d881[_0x1cbf88(0x433)](Boolean)['join'](',\x20'))||_0x369efc[_0x1cbf88(0x285)]||_0x2b6a03['t'](_0x1cbf88(0x1be));return(0x0,_0x34c075[_0x1cbf88(0x3f3)])(_0x1cbf88(0x3cb),{'className':(0x0,_0x36e70d[_0x1cbf88(0x343)])(_0x1cbf88(0x3d4),_0x36aa84&&_0x1cbf88(0x3b9)),'onClick':_0xe16977,'children':[(0x0,_0x34c075[_0x1cbf88(0x3f3)])(_0x1cbf88(0x3cb),{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,_0x34c075[_0x1cbf88(0x3f3)])(_0x1cbf88(0x3cb),{'className':_0x1cbf88(0x234),'children':[(0x0,_0x34c075['jsx'])(_0x1cbf88(0x2e8),{'className':_0x1cbf88(0x119),'children':_0x366b1}),_0x10a6a2&&(0x0,_0x34c075[_0x1cbf88(0x115)])('span',{'className':_0x1cbf88(0x1db),'children':_0x2b6a03['t']('editHistory.panel.currentVersion')})]}),(0x0,_0x34c075['jsxs'])('div',{'className':_0x1cbf88(0x48d),'children':[(0x0,_0x34c075[_0x1cbf88(0x115)])(_0x1cbf88(0x2e8),{'className':_0x1cbf88(0x36e),'children':_0x2e74aa[_0x1cbf88(0x15c)]}),(0x0,_0x34c075[_0x1cbf88(0x115)])('span',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-xs\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x129f96(_0x369efc,_0x2b6a03)})]})]}),_0x349215&&(0x0,_0x34c075['jsx'])(_0x36e70d[_0x1cbf88(0x34c)],{'size':'small','variant':_0x1cbf88(0x2e1),'onClick':_0x330ce4,'children':_0x2b6a03['t'](_0x1cbf88(0x180))})]});}function _0x3fced6(){const _0x20b11e=_0x1b7ff8;let _0xdfa974=(0x0,_0x2ba54d[_0x20b11e(0x390)])(_0x3b5fc2),_0x430006=(0x0,_0x2ba54d[_0x20b11e(0x390)])(_0x1ff675[_0x20b11e(0x268)]),_0x14dd7c=(0x0,_0x2ba54d[_0x20b11e(0x217)])(_0xdfa974[_0x20b11e(0x44d)]),_0x18ae0d=(0x0,_0x2ba54d[_0x20b11e(0x217)])(_0xdfa974['fetching$']),_0xa5cb1c=(0x0,_0x486c19[_0x20b11e(0x447)])(null),[_0x50aba5,_0x139d87]=(0x0,_0x486c19[_0x20b11e(0x32f)])(!0x0);(0x0,_0x486c19[_0x20b11e(0x34f)])(()=>{const _0x3f6640=_0x20b11e;let _0x37cfb3=_0xa5cb1c[_0x3f6640(0x3fd)];if(!_0x37cfb3||!_0x50aba5)return;let _0x36f5f6,_0x3a3968=()=>{clearTimeout(_0x36f5f6),_0x36f5f6=setTimeout(()=>{const _0x5f0354=_0x5d41;let {scrollTop:_0x180968,scrollHeight:_0x278aad,clientHeight:_0x1ca57f}=_0x37cfb3;_0x180968+_0x1ca57f>=_0x278aad-0xa&&_0xdfa974[_0x5f0354(0x12d)]();},0x64);};return _0x37cfb3[_0x3f6640(0x15d)]('scroll',_0x3a3968),()=>{const _0x51f6ec=_0x3f6640;clearTimeout(_0x36f5f6),_0x37cfb3['removeEventListener'](_0x51f6ec(0x21a),_0x3a3968);};},[_0xdfa974,_0x50aba5]);let _0x105794=_0x1c8a20(_0x14dd7c==null?[]:_0x14dd7c);return(0x0,_0x34c075[_0x20b11e(0x115)])(_0x20b11e(0x3cb),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-10\x20univer-flex\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-justify-end\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x34c075['jsxs'])(_0x20b11e(0x3cb),{'className':(0x0,_0x36e70d[_0x20b11e(0x343)])('univer-pointer-events-auto\x20univer-flex\x20univer-flex-col\x20univer-rounded-t-2xl\x20univer-bg-white\x20univer-shadow-[0_-4px_24px_rgba(0,0,0,0.12)]\x20univer-transition-[height]\x20univer-duration-300\x20dark:!univer-bg-gray-950',_0x50aba5?_0x20b11e(0x2e0):_0x20b11e(0x3b7)),'children':[(0x0,_0x34c075['jsxs'])(_0x20b11e(0x3cb),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-shrink-0\x20univer-cursor-pointer\x20univer-flex-col\x20univer-items-center\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','onClick':()=>_0x139d87(_0x4b93d8=>!_0x4b93d8),'children':[(0x0,_0x34c075[_0x20b11e(0x115)])(_0x20b11e(0x3cb),{'className':_0x20b11e(0x126)}),!_0x50aba5&&(0x0,_0x34c075[_0x20b11e(0x115)])(_0x20b11e(0x2e8),{'className':_0x20b11e(0x3a5),'children':_0x430006['t']('editHistory.panel.title')})]}),_0x50aba5&&(0x0,_0x34c075[_0x20b11e(0x115)])(_0x34c075['Fragment'],{'children':_0x14dd7c?(0x0,_0x34c075[_0x20b11e(0x3f3)])(_0x20b11e(0x3cb),{'ref':_0xa5cb1c,'className':_0x20b11e(0x484),'children':[_0x105794[_0x20b11e(0x376)](_0x24ca4e=>(0x0,_0x34c075[_0x20b11e(0x3f3)])(_0x20b11e(0x3cb),{'children':[(0x0,_0x34c075[_0x20b11e(0x115)])(_0x20b11e(0x3cb),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-50\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x20univer-text-xs\x20univer-font-semibold\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x13562e(_0x24ca4e['startDateString'],_0x430006[_0x20b11e(0x122)]())}),_0x24ca4e[_0x20b11e(0x3f0)][_0x20b11e(0x376)]((_0x59c7c8,_0x2dc7f6)=>(0x0,_0x34c075[_0x20b11e(0x115)])(_0x2c3b51,{'item':_0x59c7c8,'isNewest':_0x105794[0x0]===_0x24ca4e&&_0x2dc7f6===0x0},_0x59c7c8['id']))]},_0x24ca4e['dateString'])),_0x18ae0d&&(0x0,_0x34c075[_0x20b11e(0x115)])(_0x20b11e(0x3cb),{'className':_0x20b11e(0x3a7),'children':(0x0,_0x34c075['jsx'])(_0x281562,{'className':_0x20b11e(0x3d3)})})]}):(0x0,_0x34c075[_0x20b11e(0x115)])(_0x20b11e(0x3cb),{'className':_0x20b11e(0x47e),'children':(0x0,_0x34c075[_0x20b11e(0x115)])(_0x281562,{'className':_0x20b11e(0x3d3)})})})]})});}let _0x182882=class extends _0x1ff675[_0x1b7ff8(0x3d7)]{constructor(_0x5b1454,_0x3a9739){const _0x477f38=_0x1b7ff8;super(),this[_0x477f38(0x3ec)]=_0x5b1454,this[_0x477f38(0x44a)]=_0x3a9739,this[_0x477f38(0x3bd)](this[_0x477f38(0x3ec)][_0x477f38(0x2fa)](_0x2ba54d[_0x477f38(0x3d0)][_0x477f38(0x370)],()=>(0x0,_0x2ba54d[_0x477f38(0x3e4)])(_0x3fced6,this[_0x477f38(0x44a)])));}};_0x182882=_0x110e9b([_0x274dca(0x0,_0x2ba54d[_0x1b7ff8(0x42f)]),_0x274dca(0x1,(0x0,_0x1ff675['Inject'])(_0x1ff675[_0x1b7ff8(0x13c)]))],_0x182882);var _0x315c89=class extends _0x1ff675[_0x1b7ff8(0x3d7)]{constructor(){const _0x36415b=_0x1b7ff8;super(),_0x49c423(this,_0x36415b(0x371),new _0x1cdcf3['Subject']());}['open'](){const _0x2ba678=_0x1b7ff8;return(0x0,_0x1ff675[_0x2ba678(0x377)])(()=>{});}[_0x1b7ff8(0x38a)](){}[_0x1b7ff8(0x38d)](_0x31a77b){}[_0x1b7ff8(0x2de)](){const _0xa7cd06=_0x1b7ff8;return this[_0xa7cd06(0x371)][_0xa7cd06(0x1e7)]();}};let _0x3365ab=class extends _0x1ff675[_0x1b7ff8(0x3be)]{constructor(_0xa1118=_0x1fe70b,_0x956f7a,_0x5577a7,_0x153dd6){const _0x2eeac7=_0x1b7ff8;super(),this[_0x2eeac7(0x48e)]=_0xa1118,this[_0x2eeac7(0x44a)]=_0x956f7a,this[_0x2eeac7(0x27c)]=_0x5577a7,this[_0x2eeac7(0x454)]=_0x153dd6;let {..._0x219530}=(0x0,_0x1ff675['merge'])({},_0x1fe70b,this['_config']);this[_0x2eeac7(0x454)][_0x2eeac7(0x1a8)](_0xe4d65b,_0x219530);}[_0x1b7ff8(0x345)](){const _0x41ff53=_0x1b7ff8;[[_0x3b5fc2],[_0x501629],[_0x4eafe8],[_0x1e040a],[_0x182882],[_0x1e1ea6],[_0x3f0f3e[_0x41ff53(0x185)],{'useClass':_0x4419dc[_0x41ff53(0x30f)]}],[_0x2ba54d['IDialogService'],{'useClass':_0x315c89}],[_0x4d9a74[_0x41ff53(0x3de)],{'useClass':_0x4419dc[_0x41ff53(0x354)]}]][_0x41ff53(0x36d)](_0x41b260=>this[_0x41ff53(0x44a)][_0x41ff53(0x175)](_0x41b260)),this[_0x41ff53(0x44a)][_0x41ff53(0x3c4)](_0x501629);}[_0x1b7ff8(0x2ad)](){const _0x52fe7f=_0x1b7ff8;[[_0x2e5f0a]][_0x52fe7f(0x36d)](_0x1ae01b=>{const _0xfebeb8=_0x52fe7f;this['disposeWithMe'](this[_0xfebeb8(0x27c)][_0xfebeb8(0x137)](_0x1ff675[_0xfebeb8(0x33a)]['UNIVER_SHEET'],_0x1ae01b));}),this[_0x52fe7f(0x44a)][_0x52fe7f(0x3c4)](_0x1e1ea6),this[_0x52fe7f(0x44a)]['get'](_0x182882);}[_0x1b7ff8(0x214)](){const _0x7c0a5d=_0x1b7ff8;this['_injector'][_0x7c0a5d(0x3c4)](_0x4eafe8);}};_0x49c423(_0x3365ab,_0x1b7ff8(0x17f),_0x1b7ff8(0x1a4)),_0x49c423(_0x3365ab,_0x1b7ff8(0x1ed),_0x44a468),_0x49c423(_0x3365ab,_0x1b7ff8(0x1f8),_0x5e25e3),_0x3365ab=_0x110e9b([(0x0,_0x1ff675[_0x1b7ff8(0x13b)])(_0x45078f[_0x1b7ff8(0x152)],_0x263e7d['UniverNetworkPlugin']),_0x274dca(0x1,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x1ff675['Injector'])),_0x274dca(0x2,_0x12f665['IRenderManagerService']),_0x274dca(0x3,_0x1ff675['IConfigService'])],_0x3365ab);function _0x594767(){const _0x3adbb0=_0x1b7ff8;let _0x581daa=(0x0,_0x2ba54d[_0x3adbb0(0x390)])(_0x3b5fc2),_0x126b1a=(0x0,_0x2ba54d['useDependency'])(_0x1ff675[_0x3adbb0(0x268)]),_0x26d08b=(0x0,_0x2ba54d['useObservable'])(_0x581daa[_0x3adbb0(0x417)]),_0x104061=(0x0,_0x486c19[_0x3adbb0(0x2f6)])(()=>_0x26d08b?_0x581daa[_0x3adbb0(0x49c)]():!0x1,[_0x581daa,_0x26d08b]),_0x52318c=(0x0,_0x486c19['useCallback'])(()=>{const _0x29897b=_0x3adbb0;_0x581daa[_0x29897b(0x19e)]=_0x1702fc[_0x29897b(0x1eb)];},[_0x581daa]),_0x474659=(0x0,_0x486c19[_0x3adbb0(0x3ac)])(()=>{_0x581daa['triggerRevert']();},[_0x581daa]);return(0x0,_0x34c075['jsxs'])('div',{'className':(0x0,_0x36e70d['clsx'])(_0x3adbb0(0x254),_0x36e70d[_0x3adbb0(0x2e7)]),'children':[(0x0,_0x34c075[_0x3adbb0(0x115)])('a',{'className':'univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','role':_0x3adbb0(0x15a),'onClick':_0x52318c,'children':(0x0,_0x34c075[_0x3adbb0(0x115)])(_0x1cb03f,{'className':_0x3adbb0(0x491)})}),(0x0,_0x34c075[_0x3adbb0(0x115)])(_0x3adbb0(0x3cb),{'className':_0x3adbb0(0x47e),'children':_0x104061&&(0x0,_0x34c075[_0x3adbb0(0x115)])(_0x36e70d[_0x3adbb0(0x34c)],{'variant':_0x3adbb0(0x2e1),'onClick':_0x474659,'children':_0x126b1a['t']('editHistory.header.revert')})})]});}let _0x450c41=class extends _0x1ff675[_0x1b7ff8(0x3d7)]{constructor(_0x5b699f,_0x52def1,_0x108651,_0x22bb1a,_0x4ca6f9,_0x2c8e9d,_0x4255f2){const _0x39383b=_0x1b7ff8;super(),this[_0x39383b(0x3e7)]=_0x5b699f,this[_0x39383b(0x3ec)]=_0x52def1,this[_0x39383b(0x178)]=_0x108651,this[_0x39383b(0x3a9)]=_0x22bb1a,this[_0x39383b(0x33f)]=_0x4ca6f9,this[_0x39383b(0x44a)]=_0x2c8e9d,this[_0x39383b(0x454)]=_0x4255f2,this[_0x39383b(0x209)]();}['_init'](){const _0x3c6da7=_0x1b7ff8;this['disposeWithMe'](this[_0x3c6da7(0x33f)]['currentVersion$'][_0x3c6da7(0x2dc)](_0x504a7a=>{const _0x354fa=_0x3c6da7;_0x504a7a&&this[_0x354fa(0x33f)][_0x354fa(0x290)](_0x504a7a);})),this['disposeWithMe'](this[_0x3c6da7(0x3e7)][_0x3c6da7(0x406)]['subscribe'](_0x4b851d=>{const _0x1ca69f=_0x3c6da7;let _0x59a03c=this[_0x1ca69f(0x33f)][_0x1ca69f(0x37c)];_0x59a03c&&(_0x4b851d[_0x1ca69f(0x35d)]===_0x2c1da0['UnitAction'][_0x1ca69f(0x43b)]&&_0x4b851d[_0x1ca69f(0x353)]===!0x0&&this[_0x1ca69f(0x3e7)][_0x1ca69f(0x47f)](new _0x37f055['WorkbookEditablePermission'](_0x59a03c)['id'],!0x1),_0x4b851d[_0x1ca69f(0x35d)]===_0x2c1da0['UnitAction'][_0x1ca69f(0x2b1)]&&_0x4b851d[_0x1ca69f(0x353)]===!0x0&&this[_0x1ca69f(0x3e7)][_0x1ca69f(0x47f)](new _0x37f055[(_0x1ca69f(0x419))](_0x59a03c)['id'],!0x1),_0x4b851d[_0x1ca69f(0x35d)]===_0x2c1da0[_0x1ca69f(0x23e)][_0x1ca69f(0x1a1)]&&_0x4b851d[_0x1ca69f(0x353)]===!0x0&&this[_0x1ca69f(0x3e7)][_0x1ca69f(0x47f)](new _0x37f055[(_0x1ca69f(0x357))](_0x59a03c)['id'],!0x1),_0x4b851d[_0x1ca69f(0x35d)]===_0x2c1da0[_0x1ca69f(0x23e)][_0x1ca69f(0x3f4)]&&_0x4b851d['value']===!0x0&&this[_0x1ca69f(0x3e7)][_0x1ca69f(0x47f)](new _0x37f055[(_0x1ca69f(0x26c))](_0x59a03c)['id'],!0x1),_0x4b851d['subType']===_0x2c1da0[_0x1ca69f(0x23e)][_0x1ca69f(0x42e)]&&_0x4b851d[_0x1ca69f(0x353)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x37f055[(_0x1ca69f(0x222))](_0x59a03c)['id'],!0x1),_0x4b851d['subType']===_0x2c1da0['UnitAction']['FloatImg']&&_0x4b851d[_0x1ca69f(0x353)]===!0x0&&this[_0x1ca69f(0x3e7)]['updatePermissionPoint'](new _0x37f055['WorkbookEditablePermission'](_0x59a03c)['id'],!0x1));})),this[_0x3c6da7(0x414)]();let _0x35ef13;this[_0x3c6da7(0x3bd)](this[_0x3c6da7(0x33f)][_0x3c6da7(0x3c2)]['subscribe'](_0x36ecf9=>{const _0x429f1=_0x3c6da7;this[_0x429f1(0x178)][_0x429f1(0x2d4)](),_0x35ef13==null||_0x35ef13['dispose'](),_0x36ecf9===_0x47279d[_0x429f1(0x2a9)]&&(this['_historyManagerService'][_0x429f1(0x1e6)](),_0x35ef13=this[_0x429f1(0x178)]['show']({'type':_0x36e70d[_0x429f1(0x17e)][_0x429f1(0x423)],'content':this[_0x429f1(0x3a9)]['t'](_0x429f1(0x1dd)),'duration':0x3e8})),_0x36ecf9===_0x47279d[_0x429f1(0x3dc)]&&this[_0x429f1(0x33f)][_0x429f1(0x3f8)]();}));}[_0x1b7ff8(0x414)](){const _0x1b8f78=_0x1b7ff8;var _0x1eac70;(_0x1eac70=this[_0x1b8f78(0x454)][_0x1b8f78(0x3a6)](_0x1b8f78(0x236)))!=null&&_0x1eac70[_0x1b8f78(0x128)]||this[_0x1b8f78(0x3bd)](this[_0x1b8f78(0x3ec)][_0x1b8f78(0x2fa)](_0x2ba54d[_0x1b8f78(0x3d0)]['HEADER'],()=>(0x0,_0x2ba54d['connectInjector'])(_0x594767,this['_injector'])));}};_0x450c41=_0x110e9b([_0x274dca(0x0,_0x1ff675['IPermissionService']),_0x274dca(0x1,_0x2ba54d[_0x1b7ff8(0x42f)]),_0x274dca(0x2,_0x2ba54d[_0x1b7ff8(0x16d)]),_0x274dca(0x3,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x1ff675[_0x1b7ff8(0x268)])),_0x274dca(0x4,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x3b5fc2)),_0x274dca(0x5,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x1ff675[_0x1b7ff8(0x13c)])),_0x274dca(0x6,_0x1ff675['IConfigService'])],_0x450c41);let _0x2c1751=[{'key':_0x27ee32[_0x1b7ff8(0x386)],'labelKey':'editHistory.panel.filterAll'},{'key':_0x27ee32[_0x1b7ff8(0x2b9)],'labelKey':_0x1b7ff8(0x327)},{'key':_0x27ee32[_0x1b7ff8(0x32e)],'labelKey':'editHistory.panel.filterAi'}];function _0x334de8(_0x1d031b){const _0x557bb2=_0x1b7ff8;let {className:_0x41d0d3}=_0x1d031b;return(0x0,_0x34c075[_0x557bb2(0x3f3)])(_0x557bb2(0x25e),{'className':_0x41d0d3,'fill':_0x557bb2(0x12c),'height':'20','viewBox':'0\x200\x2020\x2020','width':'20','xmlns':_0x557bb2(0x2e5),'children':[(0x0,_0x34c075[_0x557bb2(0x115)])(_0x557bb2(0x1c0),{'d':_0x557bb2(0x464),'fill':_0x557bb2(0x19f)}),(0x0,_0x34c075[_0x557bb2(0x115)])(_0x557bb2(0x446),{'children':(0x0,_0x34c075['jsxs'])('linearGradient',{'gradientUnits':_0x557bb2(0x405),'id':_0x557bb2(0x38b),'x1':_0x557bb2(0x3fb),'x2':_0x557bb2(0x1d1),'y1':_0x557bb2(0x468),'y2':_0x557bb2(0x29d),'children':[(0x0,_0x34c075[_0x557bb2(0x115)])(_0x557bb2(0x46f),{'offset':_0x557bb2(0x173),'stopColor':_0x557bb2(0x402)}),(0x0,_0x34c075['jsx'])(_0x557bb2(0x46f),{'offset':_0x557bb2(0x349),'stopColor':_0x557bb2(0x116)}),(0x0,_0x34c075[_0x557bb2(0x115)])(_0x557bb2(0x46f),{'offset':_0x557bb2(0x3c9),'stopColor':_0x557bb2(0x24d)}),(0x0,_0x34c075[_0x557bb2(0x115)])(_0x557bb2(0x46f),{'offset':'1','stopColor':_0x557bb2(0x197)})]})})]});}function _0x5d0ef7(_0x29a96b){const _0x29fa20=_0x1b7ff8;let {value:_0x46aac6,onChange:_0x4c214b}=_0x29a96b,_0x408ea8=(0x0,_0x2ba54d['useDependency'])(_0x1ff675['LocaleService']);return(0x0,_0x34c075['jsx'])(_0x29fa20(0x3cb),{'className':_0x29fa20(0x2a0),'children':(0x0,_0x34c075['jsx'])(_0x36e70d[_0x29fa20(0x42d)],{'items':_0x2c1751[_0x29fa20(0x376)](_0x13e53e=>({'label':_0x408ea8['t'](_0x13e53e[_0x29fa20(0x1c4)]),'value':_0x13e53e[_0x29fa20(0x2c4)]})),'value':_0x46aac6,'onChange':_0x4c214b})});}function _0x45931c(){const _0x34cad8=_0x1b7ff8;var _0x7cbc4d,_0x28ad53;let _0x3afa07=(0x0,_0x2ba54d['useDependency'])(_0x3b5fc2),_0x429da2=(0x0,_0x2ba54d[_0x34cad8(0x390)])(_0x1e040a),_0x56bf24=(0x0,_0x2ba54d[_0x34cad8(0x390)])(_0x4eafe8),_0x521ff2=(0x0,_0x2ba54d['useDependency'])(_0x1ff675[_0x34cad8(0x1f2)]),_0x13de6a=(0x0,_0x2ba54d[_0x34cad8(0x217)])(_0x3afa07['versions$']),_0x56253b=(0x0,_0x2ba54d['useObservable'])(_0x3afa07['creators$'],[]),[_0x180bde,_0x2327cc]=(0x0,_0x486c19[_0x34cad8(0x32f)])(new Set()),[_0x17108a,_0x2dd45c]=(0x0,_0x486c19[_0x34cad8(0x32f)])(new Map()),[_0x18c84c,_0x3a5a8e]=(0x0,_0x486c19[_0x34cad8(0x32f)])(new Set()),[_0x441fc7,_0x1e5abd]=(0x0,_0x486c19['useState'])(_0x27ee32[_0x34cad8(0x386)]),_0x17e6bc=(0x0,_0x2ba54d['useDependency'])(_0x1ff675[_0x34cad8(0x268)]),_0x37edb8=(0x0,_0x486c19[_0x34cad8(0x447)])(null),[_0x1f01db,_0xfedd57]=(0x0,_0x486c19[_0x34cad8(0x32f)])(!0x1),[_0x5ded21,_0x19715f]=(0x0,_0x486c19['useState'])([]),_0x122708=(_0x7cbc4d=(_0x28ad53=_0x521ff2['getConfig'](_0x34cad8(0x236)))==null?void 0x0:_0x28ad53[_0x34cad8(0x409)])==null?!0x1:_0x7cbc4d,_0xa9c1d5=_0x1c8a20(_0x13de6a),[_0xc11d78,_0x18c87b]=(0x0,_0x486c19[_0x34cad8(0x32f)])([]),_0x2896ed=(0x0,_0x486c19[_0x34cad8(0x2f6)])(()=>_0x56253b[_0x34cad8(0x376)](_0x2d5742=>({'key':_0x2d5742[_0x34cad8(0x298)],'label':_0x2d5742['name']})),[_0x56253b]);(0x0,_0x486c19[_0x34cad8(0x34f)])(()=>{const _0x1e10ab=_0x34cad8;_0x3afa07[_0x1e10ab(0x3f7)]();},[]);let _0x1b2782=(0x0,_0x486c19[_0x34cad8(0x3ac)])(_0x59ebe6=>{const _0x56432f=_0x34cad8;_0x18c87b([]),_0x1e5abd(_0x59ebe6),_0x3afa07['unitId']&&_0x3afa07[_0x56432f(0x2b2)](_0x3afa07['unitId'],{'origin':_0x59ebe6});},[_0x3afa07]);(0x0,_0x486c19[_0x34cad8(0x34f)])(()=>{const _0x2d1e26=_0x34cad8;let _0x502ad5=_0x37edb8[_0x2d1e26(0x3fd)];if(!_0x502ad5)return;let _0x3d8e03,_0x5c1da3=_0x2743a6=>{clearTimeout(_0x3d8e03),_0x3d8e03=setTimeout(()=>{let {target:_0x547c3b}=_0x2743a6;if(_0x547c3b){let {scrollTop:_0x375a78,scrollHeight:_0xdf6e2,clientHeight:_0x23399f}=_0x547c3b;_0x375a78+_0x23399f>=_0xdf6e2-0x5&&_0x3afa07['loadMoreVersions']();}},0x64);};return _0x502ad5[_0x2d1e26(0x15d)](_0x2d1e26(0x21a),_0x5c1da3),()=>{const _0x5ac943=_0x2d1e26;clearTimeout(_0x3d8e03),_0x502ad5[_0x5ac943(0x232)](_0x5ac943(0x21a),_0x5c1da3);};},[_0x3afa07]);let _0x16a319=(0x0,_0x486c19[_0x34cad8(0x3ac)])(async _0x480f34=>{const _0x591107=_0x34cad8;let _0x184f43=_0x480f34['id'];if(_0x180bde[_0x591107(0x224)](_0x184f43)){_0x2327cc(_0x51df75=>{const _0x23b1e5=_0x591107;let _0xdd52f2=new Set(_0x51df75);return _0xdd52f2[_0x23b1e5(0x2e4)](_0x184f43),_0xdd52f2;});return;}if(_0x17108a[_0x591107(0x224)](_0x184f43)){_0x2327cc(_0x28f884=>new Set(_0x28f884)['add'](_0x184f43));return;}_0x3a5a8e(_0x34af6f=>new Set(_0x34af6f)[_0x591107(0x175)](_0x184f43));try{var _0x4f32aa;let _0x57deae=_0x3afa07['unitId'];if(!_0x57deae)return;let _0x589a7a=await _0x429da2[_0x591107(0x1c8)]({},{'unitId':_0x57deae,'startRevision':_0x480f34['startRev'],'endRevision':_0x480f34[_0x591107(0x37d)]});if(((_0x4f32aa=_0x589a7a[_0x591107(0x12a)])==null?void 0x0:_0x4f32aa[_0x591107(0x44f)])===0x1&&_0x589a7a['changesets']){let _0x41207d=_0x589a7a[_0x591107(0x33d)][_0x591107(0x2d0)]()[_0x591107(0x376)](_0x446a95=>{const _0x1381c2=_0x591107;var _0x8777f1,_0x2fd9a2;let _0x1ba041=(0x0,_0x3f0f3e[_0x1381c2(0x28e)])(_0x446a95),_0x2151ab=_0x446a95['userID']||_0x1ba041['userID'],_0x5d22e5=(_0x8777f1=_0x589a7a['users'])==null?void 0x0:_0x8777f1[_0x2151ab],_0x2b77a2=((_0x2fd9a2=_0x446a95[_0x1381c2(0x3ba)])==null?void 0x0:_0x2fd9a2['map'](_0x12dc4b=>_0x12dc4b['id']))||[];return{'id':_0x184f43+'-detail-'+_0x446a95[_0x1381c2(0x244)],'unitId':_0x446a95[_0x1381c2(0x2a8)],'startRev':_0x446a95[_0x1381c2(0x244)],'endRev':_0x446a95[_0x1381c2(0x244)],'time':_0x446a95['createTime']?_0x446a95['createTime']*0x3e8:void 0x0,'user':(_0x5d22e5==null?void 0x0:_0x5d22e5[_0x1381c2(0x3a1)])||'','users':[(_0x5d22e5==null?void 0x0:_0x5d22e5['name'])||''],'commands':_0x2b77a2,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0x184f43,'additionalFields':_0x446a95[_0x1381c2(0x289)]};});_0x2dd45c(_0x38553a=>new Map(_0x38553a)['set'](_0x184f43,_0x41207d)),_0x41207d['forEach'](_0x2d567f=>{const _0x174b7d=_0x591107;_0x3afa07[_0x174b7d(0x2f3)](_0x2d567f);});for(let _0x281c08 of _0x41207d)await _0x56bf24[_0x591107(0x346)](_0x281c08['id']);_0x2327cc(_0x399b08=>new Set(_0x399b08)[_0x591107(0x175)](_0x184f43));}}catch(_0x1c8b41){console[_0x591107(0x12a)]('Failed\x20to\x20fetch\x20version\x20details:',_0x1c8b41);}finally{_0x3a5a8e(_0x3ca248=>{let _0x176d2e=new Set(_0x3ca248);return _0x176d2e['delete'](_0x184f43),_0x176d2e;});}},[_0x180bde,_0x17108a,_0x3afa07,_0x429da2,_0x56bf24]);return _0x13de6a?(0x0,_0x34c075[_0x34cad8(0x3f3)])(_0x34cad8(0x3cb),{'ref':_0x37edb8,'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-flex\x20univer-h-[calc(100%-32px)]\x20univer-w-[calc(100%-16px)]\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-overflow-auto\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':[_0x122708&&(0x0,_0x34c075[_0x34cad8(0x3f3)])('div',{'className':_0x34cad8(0x421),'children':[(0x0,_0x34c075[_0x34cad8(0x115)])(_0x34cad8(0x3cb),{'className':'univer-flex-1','children':(0x0,_0x34c075[_0x34cad8(0x115)])(_0x5d0ef7,{'value':_0x441fc7,'onChange':_0x1b2782})}),(0x0,_0x34c075['jsx'])(_0x36e70d[_0x34cad8(0x320)],{'align':'end','open':_0x1f01db,'onOpenChange':_0x38b14b=>{_0xfedd57(_0x38b14b),_0x38b14b&&_0x19715f(_0xc11d78);},'overlay':(0x0,_0x34c075[_0x34cad8(0x3f3)])(_0x34cad8(0x3cb),{'className':_0x34cad8(0x1fc),'children':[(0x0,_0x34c075['jsx'])('div',{'className':_0x34cad8(0x28c),'children':_0x17e6bc['t'](_0x34cad8(0x218))}),(0x0,_0x34c075['jsx'])(_0x34cad8(0x3cb),{'className':_0x34cad8(0x2ef)}),(0x0,_0x34c075[_0x34cad8(0x115)])(_0x34cad8(0x3cb),{'className':_0x34cad8(0x177),'children':_0x2896ed[_0x34cad8(0x376)](_0x11165f=>{const _0x22aaa7=_0x34cad8;let _0xcba3ce=_0x5ded21['includes'](_0x11165f[_0x22aaa7(0x2c4)]);return(0x0,_0x34c075['jsxs'])(_0x22aaa7(0x3cb),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-3\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','onClick':()=>{const _0xcb8328=_0x22aaa7;_0x19715f(_0xcba3ce?_0x5ded21[_0xcb8328(0x433)](_0x213f2f=>_0x213f2f!==_0x11165f[_0xcb8328(0x2c4)]):[..._0x5ded21,_0x11165f['key']]);},'children':[(0x0,_0x34c075[_0x22aaa7(0x115)])(_0x36e70d[_0x22aaa7(0x1cf)],{'checked':_0xcba3ce}),(0x0,_0x34c075[_0x22aaa7(0x115)])(_0x22aaa7(0x2e8),{'className':_0x22aaa7(0x448),'children':_0x11165f[_0x22aaa7(0x20b)]})]},_0x11165f[_0x22aaa7(0x2c4)]);})}),(0x0,_0x34c075[_0x34cad8(0x115)])(_0x34cad8(0x3cb),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),(0x0,_0x34c075[_0x34cad8(0x3f3)])(_0x34cad8(0x3cb),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-end\x20univer-gap-2\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':[(0x0,_0x34c075['jsx'])(_0x36e70d[_0x34cad8(0x34c)],{'size':'middle','variant':_0x34cad8(0x304),'onClick':()=>{_0x19715f(_0xc11d78),_0xfedd57(!0x1);},'children':_0x17e6bc['t'](_0x34cad8(0x3c6))}),(0x0,_0x34c075[_0x34cad8(0x115)])(_0x36e70d[_0x34cad8(0x34c)],{'size':_0x34cad8(0x216),'onClick':()=>{const _0x32ae9b=_0x34cad8;_0x18c87b(_0x5ded21),_0x3afa07[_0x32ae9b(0x37c)]&&_0x3afa07[_0x32ae9b(0x2b2)](_0x3afa07['unitId'],{'origin':_0x441fc7,'userIds':_0x5ded21}),_0xfedd57(!0x1);},'children':_0x17e6bc['t'](_0x34cad8(0x453))})]})]}),'children':(0x0,_0x34c075['jsx'])(_0x36e70d[_0x34cad8(0x34c)],{'className':_0x34cad8(0x1ee),'size':_0x34cad8(0x216),'variant':'ghost','children':(0x0,_0x34c075[_0x34cad8(0x115)])(_0x1dec55,{'className':(0x0,_0x36e70d[_0x34cad8(0x343)])(_0x34cad8(0x3b1),{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0xc11d78[_0x34cad8(0x295)]>0x0})})})})]}),(0x0,_0x34c075['jsx'])(_0x34cad8(0x3cb),{'className':_0x34cad8(0x45a),'children':_0xa9c1d5[_0x34cad8(0x376)]((_0x14e287,_0x37fce6)=>(0x0,_0x34c075[_0x34cad8(0x3f3)])(_0x486c19[_0x34cad8(0x31d)],{'children':[(0x0,_0x34c075[_0x34cad8(0x115)])(_0xb628eb,{'date':_0x14e287[_0x34cad8(0x1ef)],'startDate':_0x14e287[_0x34cad8(0x1b6)],'endDate':_0x14e287[_0x34cad8(0x2b7)]}),_0x14e287[_0x34cad8(0x3f0)]['map']((_0x2400b5,_0x11d831)=>{const _0x4d5f46=_0x34cad8;let _0x21cb97=_0x180bde['has'](_0x2400b5['id']),_0x5039e3=_0x18c84c['has'](_0x2400b5['id']),_0x494b17=_0x17108a[_0x4d5f46(0x3c4)](_0x2400b5['id'])||[];return(0x0,_0x34c075[_0x4d5f46(0x3f3)])(_0x486c19[_0x4d5f46(0x31d)],{'children':[(0x0,_0x34c075[_0x4d5f46(0x115)])(_0xe25241,{'item':_0x2400b5,'onToggleExpand':_0x16a319,'isExpanded':_0x21cb97,'isLoadingDetail':_0x5039e3}),_0x21cb97&&_0x494b17[_0x4d5f46(0x376)]((_0x33811e,_0x29a7be)=>(0x0,_0x34c075[_0x4d5f46(0x3f3)])(_0x4d5f46(0x3cb),{'className':_0x4d5f46(0x37a),'style':{'marginTop':_0x4d5f46(0x189),'marginBottom':_0x4d5f46(0x189)},'children':[(0x0,_0x34c075[_0x4d5f46(0x3f3)])(_0x4d5f46(0x3cb),{'className':_0x4d5f46(0x1f6),'style':{'left':_0x4d5f46(0x2ff),'width':_0x4d5f46(0x46a)},'children':[_0x29a7be<_0x494b17[_0x4d5f46(0x295)]-0x1&&(0x0,_0x34c075[_0x4d5f46(0x115)])(_0x4d5f46(0x3cb),{'className':_0x4d5f46(0x3b6),'style':{'left':'0','width':_0x4d5f46(0x195)}}),_0x29a7be===_0x494b17[_0x4d5f46(0x295)]-0x1&&(0x0,_0x34c075[_0x4d5f46(0x115)])(_0x4d5f46(0x3cb),{'className':_0x4d5f46(0x467),'style':{'left':'0','width':'1px','height':'50%'}}),(0x0,_0x34c075['jsx'])(_0x4d5f46(0x3cb),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-1/2\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','style':{'left':'0','width':_0x4d5f46(0x46a),'height':'1px','transform':_0x4d5f46(0x379)}})]}),(0x0,_0x34c075[_0x4d5f46(0x115)])(_0xe25241,{'item':_0x33811e,'isDetail':!0x0})]},_0x37fce6+'-'+_0x11d831+_0x4d5f46(0x3d1)+_0x29a7be))]},_0x37fce6+'-'+_0x11d831);})]},_0x14e287[_0x34cad8(0x1ef)]))})]}):(0x0,_0x34c075[_0x34cad8(0x115)])(_0x44d572,{});}function _0x44d572(){const _0x25e963=_0x1b7ff8;return(0x0,_0x34c075[_0x25e963(0x115)])(_0x25e963(0x3cb),{'className':_0x25e963(0x17a),'children':(0x0,_0x34c075[_0x25e963(0x115)])(_0x25e963(0x2e8),{'className':_0x25e963(0x431),'children':(0x0,_0x34c075[_0x25e963(0x115)])(_0x281562,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function _0xb628eb(_0x449445){const _0x3091ee=_0x1b7ff8;let _0x41b7cf=(0x0,_0x2ba54d['useDependency'])(_0x1ff675['LocaleService']),{date:_0x414416,startDate:_0x19cdd4=_0x414416}=_0x449445;return(0x0,_0x34c075[_0x3091ee(0x115)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','children':_0x13562e(_0x19cdd4,_0x41b7cf[_0x3091ee(0x122)]())});}function _0xe25241(_0x2adb4a){const _0x5227fe=_0x1b7ff8;let {item:_0x3edefe,onToggleExpand:_0x14e347,isExpanded:_0x5405d1,isLoadingDetail:_0x157c78,isDetail:_0x5e39ba}=_0x2adb4a,{time:_0x55dfcc,user:_0x256f41,startRevCreateTime:_0x2a38e7,endRevCreateTime:_0x6aa4ab,users:_0xd5b694}=_0x3edefe,_0x41b880=(0x0,_0x2ba54d['useDependency'])(_0x3b5fc2),_0x1e9756=(0x0,_0x2ba54d[_0x5227fe(0x390)])(_0x4eafe8),_0x12b810=(0x0,_0x2ba54d[_0x5227fe(0x217)])(_0x41b880[_0x5227fe(0x417)],'',!0x0)===_0x3edefe['id'],_0x2fe53c=_0x41b880[_0x5227fe(0x2fe)]()===_0x3edefe[_0x5227fe(0x37d)],_0x39f28d=!_0x2fe53c&&_0x41b880[_0x5227fe(0x471)],_0x2f5704=(0x0,_0x2ba54d['useDependency'])(_0x1ff675['LocaleService']),_0x2102dd=_0x2f5704[_0x5227fe(0x122)](),_0x4f1cfc=_0x270f2f(_0x55dfcc,_0x2102dd),_0x1d679e=_0x270f2f(_0x2a38e7,_0x2102dd),_0x13b15f=_0x270f2f(_0x6aa4ab,_0x2102dd),_0x3c0c21=_0x2f5704['t'](_0x5227fe(0x41d)),_0x32bb41=_0x3edefe[_0x5227fe(0x2dd)]!==_0x3edefe[_0x5227fe(0x37d)],_0x385bd8=!!_0x3edefe['additionalFields'],_0x6da4a9=(0x0,_0x486c19[_0x5227fe(0x2f6)])(()=>{const _0x26d462=_0x5227fe;let _0x31f35d=_0x256f41||_0x2f5704['t'](_0x26d462(0x1be));return _0xd5b694&&_0xd5b694[_0x26d462(0x433)](_0x4fb424=>_0x4fb424)[_0x26d462(0x295)]>0x0&&(_0x31f35d=_0xd5b694[_0x26d462(0x433)](_0x39c525=>_0x39c525)[_0x26d462(0x382)](',\x20')),_0x385bd8?''+_0x2f5704['t'](_0x26d462(0x219))+(_0x31f35d?'\x20('+_0x31f35d+')':''):_0x31f35d;},[_0x385bd8,_0x256f41,_0xd5b694,_0x2f5704]),_0x589662=(0x0,_0x486c19[_0x5227fe(0x3ac)])(async _0x47ebf8=>{const _0x15846e=_0x5227fe;_0x41b880[_0x15846e(0x458)]!==_0x47279d[_0x15846e(0x2a9)]&&(_0x41b880['currentVersion']=_0x47ebf8,_0x5e39ba&&(await _0x1e9756[_0x15846e(0x346)](_0x47ebf8),await _0x41b880['triggerLoadSheet'](_0x47ebf8)));},[_0x41b880,_0x1e9756,_0x5e39ba]),_0xf137a6=(0x0,_0x486c19[_0x5227fe(0x3ac)])(_0xd1c4e8=>{const _0x3efe4c=_0x5227fe;_0x41b880[_0x3efe4c(0x31f)](_0xd1c4e8);},[_0x41b880]),_0x3c2b8c=(0x0,_0x486c19[_0x5227fe(0x3ac)])(_0x421631=>{const _0x3f6fca=_0x5227fe;_0x421631[_0x3f6fca(0x2ea)](),_0x14e347&&!_0x157c78&&_0x14e347(_0x3edefe);},[_0x14e347,_0x3edefe,_0x157c78]);return(0x0,_0x34c075[_0x5227fe(0x3f3)])(_0x5227fe(0x3cb),{'className':(0x0,_0x36e70d[_0x5227fe(0x343)])(_0x5227fe(0x2d6),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x12b810,'univer-ml-6':_0x5e39ba}),'onClick':()=>_0x589662(_0x3edefe['id']),'children':[(0x0,_0x34c075[_0x5227fe(0x115)])('div',{'className':_0x5227fe(0x17a),'style':{'width':_0x5227fe(0x326)},'children':_0x32bb41&&!_0x5e39ba&&(0x0,_0x34c075[_0x5227fe(0x115)])(_0x5227fe(0x3cb),{'onClick':_0x3c2b8c,'className':'univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','children':_0x157c78?(0x0,_0x34c075[_0x5227fe(0x115)])(_0x281562,{'className':_0x5227fe(0x2a5)}):_0x5405d1?(0x0,_0x34c075['jsx'])(_0x3c8b30,{'className':_0x5227fe(0x4a3)}):(0x0,_0x34c075[_0x5227fe(0x115)])(_0x5b2781,{'className':_0x5227fe(0x4a3)})})}),(0x0,_0x34c075[_0x5227fe(0x3f3)])('div',{'className':_0x5227fe(0x443),'children':[(0x0,_0x34c075[_0x5227fe(0x3f3)])(_0x5227fe(0x3cb),{'className':_0x5227fe(0x350),'children':[(0x0,_0x34c075[_0x5227fe(0x3f3)])(_0x5227fe(0x3cb),{'className':_0x5227fe(0x2b5),'children':[_0x385bd8&&(0x0,_0x34c075[_0x5227fe(0x115)])(_0x334de8,{'className':_0x5227fe(0x131)}),(0x0,_0x34c075['jsx'])(_0x5227fe(0x2e8),{'className':_0x5227fe(0x361),'children':_0x6da4a9}),(0x0,_0x34c075[_0x5227fe(0x115)])(_0x5227fe(0x2e8),{'className':_0x5227fe(0x233),'children':_0x5e39ba?_0x4f1cfc[_0x5227fe(0x15c)]:_0x2a38e7===_0x6aa4ab?_0x1d679e[_0x5227fe(0x15c)]:_0x1d679e[_0x5227fe(0x15c)]+_0x5227fe(0x172)+_0x13b15f[_0x5227fe(0x15c)]}),_0x2fe53c&&(0x0,_0x34c075[_0x5227fe(0x115)])(_0x5227fe(0x2e8),{'className':'univer-ml-1\x20univer-flex\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':_0x3c0c21})]}),(0x0,_0x34c075[_0x5227fe(0x115)])(_0x5227fe(0x3cb),{'children':_0x39f28d&&(0x0,_0x34c075[_0x5227fe(0x115)])(_0x36e70d[_0x5227fe(0x20d)],{'title':_0x2f5704['t'](_0x5227fe(0x16c)),'children':(0x0,_0x34c075[_0x5227fe(0x115)])(_0x5227fe(0x3cb),{'onClick':_0x5df6a7=>{_0x5df6a7['stopPropagation'](),_0xf137a6(_0x3edefe['id']);},'className':_0x5227fe(0x292),'children':(0x0,_0x34c075['jsx'])(_0x5a34cd,{})})})})]}),(0x0,_0x34c075['jsx'])(_0x5227fe(0x3cb),{'className':_0x5227fe(0x2b6),'children':_0x129f96(_0x3edefe,_0x2f5704)})]})]});}let _0x4f45=_0x1b7ff8(0x38e),_0x23b4ad=class extends _0x1ff675['Disposable']{constructor(_0x1571a5,_0x41a0c9,_0x57b059,_0x554750,_0x3d1251){const _0x1a406d=_0x1b7ff8;super(),this[_0x1a406d(0x200)]=_0x1571a5,this[_0x1a406d(0x297)]=_0x41a0c9,this['_localeService']=_0x57b059,this[_0x1a406d(0x33f)]=_0x554750,this[_0x1a406d(0x454)]=_0x3d1251,_0x49c423(this,_0x1a406d(0x3db),null),this[_0x1a406d(0x209)]();}['_init'](){const _0x13a27a=_0x1b7ff8;this[_0x13a27a(0x31e)]();}['_openPanel'](){const _0xf9adc3=_0x1b7ff8;var _0x23d33b;if(this[_0xf9adc3(0x3db)])return;let _0x1d1f7a=((_0x23d33b=this[_0xf9adc3(0x454)][_0xf9adc3(0x3a6)](_0xf9adc3(0x236)))==null?void 0x0:_0x23d33b[_0xf9adc3(0x3bf)])||_0x4f45,_0x493929={'header':{'title':this[_0xf9adc3(0x3a9)]['t'](_0xf9adc3(0x3ae))},'children':{'label':_0x1d1f7a},'onClose':()=>{const _0x1aaff2=_0xf9adc3;this[_0x1aaff2(0x3db)]=null,this[_0x1aaff2(0x33f)][_0x1aaff2(0x19e)]=_0x1702fc[_0x1aaff2(0x1eb)];}};this[_0xf9adc3(0x3db)]=this[_0xf9adc3(0x200)][_0xf9adc3(0x362)]({..._0x493929});}[_0x1b7ff8(0x31e)](){const _0x26ff05=_0x1b7ff8;this[_0x26ff05(0x3bd)](this[_0x26ff05(0x297)][_0x26ff05(0x192)](_0x4f45,_0x45931c)),this['disposeWithMe'](this['_historyManagerService'][_0x26ff05(0x49f)][_0x26ff05(0x2dc)](_0x36b333=>{const _0x1f7699=_0x26ff05;_0x36b333&&this[_0x1f7699(0x43d)]();}));}};_0x23b4ad=_0x110e9b([_0x274dca(0x0,_0x2ba54d[_0x1b7ff8(0x16b)]),_0x274dca(0x1,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x2ba54d['ComponentManager'])),_0x274dca(0x2,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x1ff675[_0x1b7ff8(0x268)])),_0x274dca(0x3,(0x0,_0x1ff675['Inject'])(_0x3b5fc2)),_0x274dca(0x4,_0x1ff675[_0x1b7ff8(0x1f2)])],_0x23b4ad);let _0x3265b9=class extends _0x1ff675['Plugin']{constructor(_0x345ad5=_0x1fe70b,_0xe55c7d,_0x20a5cd,_0x575dbf){const _0x2b7aa2=_0x1b7ff8;super(),this[_0x2b7aa2(0x48e)]=_0x345ad5,this[_0x2b7aa2(0x44a)]=_0xe55c7d,this[_0x2b7aa2(0x27c)]=_0x20a5cd,this[_0x2b7aa2(0x454)]=_0x575dbf;let {..._0x9ec890}=(0x0,_0x1ff675['merge'])({},_0x1fe70b,this['_config']);this[_0x2b7aa2(0x454)]['setConfig'](_0xe4d65b,_0x9ec890);}[_0x1b7ff8(0x345)](){const _0x18320a=_0x1b7ff8;[[_0x3b5fc2],[_0x450c41],[_0x4eafe8],[_0x1e040a],[_0x23b4ad],[_0x1e1ea6],[_0x3f0f3e[_0x18320a(0x185)],{'useClass':_0x4419dc['SnapshotServerOverHTTPService']}],[_0x2ba54d[_0x18320a(0x49b)],{'useClass':_0x315c89}],[_0x4d9a74[_0x18320a(0x3de)],{'useClass':_0x4419dc[_0x18320a(0x354)]}]][_0x18320a(0x36d)](_0x1af8c2=>this[_0x18320a(0x44a)][_0x18320a(0x175)](_0x1af8c2)),this[_0x18320a(0x44a)][_0x18320a(0x3c4)](_0x450c41);}[_0x1b7ff8(0x2ad)](){const _0x39efbe=_0x1b7ff8;[[_0x2e5f0a]][_0x39efbe(0x36d)](_0x31e3b4=>{const _0x175e9d=_0x39efbe;this[_0x175e9d(0x3bd)](this['_renderManagerService'][_0x175e9d(0x137)](_0x1ff675[_0x175e9d(0x33a)][_0x175e9d(0x475)],_0x31e3b4));}),this[_0x39efbe(0x44a)][_0x39efbe(0x3c4)](_0x1e1ea6),this[_0x39efbe(0x44a)]['get'](_0x23b4ad);}['onSteady'](){const _0x479f4b=_0x1b7ff8;this[_0x479f4b(0x44a)][_0x479f4b(0x3c4)](_0x4eafe8);}};_0x49c423(_0x3265b9,_0x1b7ff8(0x17f),_0x1b7ff8(0x1f5)),_0x49c423(_0x3265b9,'packageName',_0x44a468),_0x49c423(_0x3265b9,_0x1b7ff8(0x1f8),_0x5e25e3),_0x3265b9=_0x110e9b([(0x0,_0x1ff675[_0x1b7ff8(0x13b)])(_0x45078f[_0x1b7ff8(0x3c3)],_0x263e7d[_0x1b7ff8(0x314)]),_0x274dca(0x1,(0x0,_0x1ff675[_0x1b7ff8(0x465)])(_0x1ff675['Injector'])),_0x274dca(0x2,_0x12f665[_0x1b7ff8(0x347)]),_0x274dca(0x3,_0x1ff675[_0x1b7ff8(0x1f2)])],_0x3265b9),Object[_0x1b7ff8(0x124)](_0x6129fa,_0x1b7ff8(0x3f2),{'enumerable':!0x0,'get':function(){return _0x3b5fc2;}}),_0x6129fa['HistoryModeStatus']=_0x1702fc,_0x6129fa['HistoryOrigin']=_0x27ee32,Object[_0x1b7ff8(0x124)](_0x6129fa,_0x1b7ff8(0x2d1),{'enumerable':!0x0,'get':function(){return _0x3365ab;}}),Object['defineProperty'](_0x6129fa,'UniverEditHistoryViewerPlugin',{'enumerable':!0x0,'get':function(){return _0x3265b9;}}),Object[_0x1b7ff8(0x124)](_0x6129fa,_0x1b7ff8(0x35f),{'enumerable':!0x0,'get':function(){return _0x2e5f0a;}}),Object[_0x1b7ff8(0x124)](_0x6129fa,'VersionDiffService',{'enumerable':!0x0,'get':function(){return _0x4eafe8;}});}));
18
18
 
19
19
  // @univerjs-pro/edit-history-loader/index
20
- function _0x2d8b(){const _0x1f4f5a=['history-container','RangeProtectionRuleModel','subunit','left','HistoryManagerService','UniverSheetsDataValidationUi','historyUniver$','appendChild','IPermissionService','univer-history-container','symbol','univer.operation.toggle-edit-history','UniverSheetsNumfmtPlugin','_menuManagerService','_revertErrorTimer','UniverSheetSparklineUIPlugin','getSheetBySheetId','mutations','flat','UniverSheetsDataValidationMobileUIPlugin','iterator','getUnhiddenWorksheets','historyPanelHidden','loadUnit','dataset','UniverInstanceType','editHistory.panel.reverting','ISidebarService','IURLService','_dialogService','getSheetCommandTarget','disposeUnit','UniverUi','whenReady','currentTheme$','IDialogService','RevertRevisionMutation','IMessageService','decorate','function','HistoryIcon','editHistory.info.initializing','UniverSheetsUIPlugin','UniverRenderEnginePlugin','CommandType','path','UniverCore','call','HistoryLoaderService','getElementById','UniverSheetsPlugin','white','AuthzIoHttpService','UniverSheetsFilter','_initContainer','Inject','EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY','UniverSheetsHyperLink','UniverSheetsTablePlugin','_disposableCollection','UniverUIPlugin','xlink:href','_dataLoaderService','_localeService','RxDisposable','http://www.w3.org/2000/svg','toDisposable','_configService','UniverNetworkPlugin','3483342bCGwfP','94686fqVKGy','UNIVER_UNKNOWN','height','onSteady','urlChange$','historyListServerUrl','mountHistoryContent','UniverProCollaboration','zIndex','IUniverInstanceService','editHistory.panel.revertFailed','UniverIcon','mergeMenu','clipPath','onStarting','invoke','next','0\x200\x2016\x2016','IMenuManagerService','idSuffix','WorksheetEditPermission','from','replace','IRemoteInstanceService','M0\x200H16V16H0z','15090330EsvoVQ','eventID','_componentManager','UniverSheetsDrawingUi','_sidebarService','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','IImageIoService','revertRevision$','entries','Loading','exports.@univerjs/core.@univerjs/sheets.@univerjs-pro/collaboration.@univerjs-pro/collaboration-client.@univerjs-pro/edit-history-viewer.@univerjs-pro/license.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-chart-ui.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-shape-ui.@univerjs-pro/sheets-sparkline.@univerjs-pro/sheets-sparkline-ui.@univerjs/data-validation.@univerjs/design.@univerjs/docs.@univerjs/docs-ui.@univerjs/drawing.@univerjs/drawing-ui.@univerjs/engine-formula.@univerjs/engine-render.@univerjs/network.@univerjs/rpc.@univerjs/sheets-conditional-formatting.@univerjs/sheets-conditional-formatting-ui.@univerjs/sheets-data-validation.@univerjs/sheets-data-validation-ui.@univerjs/sheets-drawing.@univerjs/sheets-drawing-ui.@univerjs/sheets-filter.@univerjs/sheets-filter-ui.@univerjs/sheets-formula.@univerjs/sheets-formula-ui.@univerjs/sheets-hyper-link.@univerjs/sheets-hyper-link-ui.@univerjs/sheets-numfmt.@univerjs/sheets-table.@univerjs/sheets-ui.@univerjs/ui.rxjs.@univerjs-pro/collaboration-client-ui.react','BUTTON','_themeService','reload','block','div','fill','status$','clear','Exited','UniverProLicense','disposeWithMe','UniverEditHistoryViewerPlugin','UniverSheetsDataValidation','11CJrxiG','UniverSheetsShapePlugin','UniverDataValidation','attrs','UniverFormulaEnginePlugin','UniverProSheetsShapeUi','_internalWebWorker','UniverDataValidationPlugin','HistoryModeStatus','univer-container','_univerInstanceService','defIds','UniverSheetsFormulaUi','getAllPlugins','exhaustSavingTask','UniverEditHistoryLoaderPlugin','UniverSheetsDataValidationUIPlugin','UniverProEditHistoryViewer','mask','none','status','univer.operation.exit-edit-history','IConfigService','LocaleService','WorkbookRecoverHistoryPermission','workerURL','colorChannel1','BehaviorSubject','setDarkMode','takeUntil','UniverDesign','currentColor','UniverProSheetsSparkline','state$','UniverSheetsNumfmt','event$','ComponentManager','length','UNIVER_SHEET','setParam','string','MobileHistoryLoaderService','DisposableCollection','svg','UNIVER_HISTORY_CONTAINER_ID','session','0.21.0','trim','754162DoFBcm','UniverLicensePlugin','value','UniverSheetsPivotTablePlugin','position','use','140uhzACV','UniverCollaborationPlugin','getUnitId','get','UniverSheetsDrawingPlugin','forwardRef','registerPlugin','getSheets','MenuItemType','add','set','toStringTag','_permissionService','UniverSheetsDataValidationPlugin','history-icon','RibbonStartGroup','getUnit','_messageService','UniverSheetsFilterPlugin','defineProperty','getSubunitRuleList','UniverDrawingUi','object','darkMode$','SetWorksheetActivateCommand','ThemeService','terminate','getSheetId','_injector','UniverSheetsDrawingUIPlugin','\x20has\x20been\x20registered.','3523681CCRUqe','__getInjector','17349RZMZXb','UniverEngineRender','UniverSheets','RangeProtectionPermissionEditPoint','defs','uComp','React','UniverRpc','LS_CONFIG_KEY','getConfig','historyUniver','UniverProSheetsSparklineUi','UniverSheetsHyperLinkPlugin','Disposable','UniverDocsPlugin','then','edit-history-loader.config','univerContainerId','UniverSheetsFormulaPlugin','UniverProSheetsShape','rxjs','WorkbookEditablePermission','CollaborationStatus','onCommandExecuted','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','location','type','registerCommand','UniverSheetsTable','width','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','executeCommand','dispose','_localCacheService','getCollabEntity','UniverDrawingUIPlugin','editHistory.panel.listFetchError','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','OPERATION','UniverSheetsFilterUIPlugin','data','url(#$1','setLocale','UniverSheetsChartUIPlugin','merge','asObservable','every','_historyUniver$','assign','register','UniverSheetsHyperLinkUi','UniverSheetsConditionalFormattingPlugin','_checkCanRevert','toPrimitive','UniverEngineFormula','historyAIassistantEnabled','activeSheet$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_commandService','1902320IrBBnL','CollaborationController','OTHERS','_setupSubUnitSync','getParam','UniverDrawingPlugin','tag','UniverProEditHistoryLoader','ToggleEditHistoryOperation','style','children','unMountHistoryContent','pipe','absolute','univerjs-icon\x20univerjs-icon-','getCurrentRangeDisable$','composePermission','_initUniver','DataLoaderService','_urlService','Injector','UniverSheetsFormulaUIPlugin','MessageType','show','removeAll','split','url(#history-icon_clip0_907_281)','Entered','forEach','values','history-icon_clip0_907_281','Plugin','UniverRPCMainThreadPlugin','historyPanelComponentKey','1ZACDhD','UniverProSheetsPivot','some','unsubscribe','display','UniverDocs','WorkbookViewHistoryPermission','combineLatest','setTheme','UniverProSheetsChartUi','fromCollab','_handleRevertAcknowledgement','triggerCustomVersions','_updateSubUnitFromURLParams','UniverSheetsConditionalFormatting','_updateURLWithCurrentState','current','displayName','_init','UniverDocsUIPlugin','UniverSheetsConditionalFormattingUi','Workbook','_config','IAuthzIoService','UniverSheetSparklinePlugin','createElement','UniverProCollaborationClient','[HistoryLoaderService]:\x20Plugin\x20','_initPlugins','UniverProCollaborationClientUi','permissionId','closeAll','has','dispose$','UniverSheetsChartPlugin','setConfig','close','map','getActiveSheet','menu','Error','CollaborationEvent','ILocalCacheService','100%','_collaborationController','95BWKVMc','_selectionProtectionRuleModel','Univer','@univerjs-pro/edit-history-loader','getLocales','DependentOn','UNIVER_CONTAINER_ID','UniverSheetsShapeUIPlugin','_historyManagerService','subscribe','getCurrentLocale','UniverEditHistoryViewerMobilePlugin','default','ICommandService','pluginName','UniverSheetsMobileUIPlugin','Module','constructor','_pluginMap','version'];_0x2d8b=function(){return _0x1f4f5a;};return _0x2d8b();}function _0x4d71(_0x4d7dda,_0x35036e){_0x4d7dda=_0x4d7dda-0x186;const _0x2d8bd3=_0x2d8b();let _0x4d71c1=_0x2d8bd3[_0x4d7dda];return _0x4d71c1;}(function(_0x35c80d,_0x5110f5){const _0x30cf9d=_0x4d71,_0x5e7223=_0x35c80d();while(!![]){try{const _0x1155ac=-parseInt(_0x30cf9d(0x1ac))/0x1*(parseInt(_0x30cf9d(0x294))/0x2)+-parseInt(_0x30cf9d(0x2bb))/0x3*(parseInt(_0x30cf9d(0x29a))/0x4)+parseInt(_0x30cf9d(0x1d9))/0x5*(-parseInt(_0x30cf9d(0x233))/0x6)+-parseInt(_0x30cf9d(0x2b9))/0x7+-parseInt(_0x30cf9d(0x18a))/0x8+parseInt(_0x30cf9d(0x232))/0x9+-parseInt(_0x30cf9d(0x24c))/0xa*(-parseInt(_0x30cf9d(0x264))/0xb);if(_0x1155ac===_0x5110f5)break;else _0x5e7223['push'](_0x5e7223['shift']());}catch(_0x182ab1){_0x5e7223['push'](_0x5e7223['shift']());}}}(_0x2d8b,0x43475),function(_0x1a3ff5,_0x249de5){const _0x313ee3=_0x4d71;typeof exports==_0x313ee3(0x2b0)&&typeof module<'u'?_0x249de5(exports,require(`@univerjs/core`),require(`@univerjs/sheets`),require(`@univerjs-pro/collaboration`),require(`@univerjs-pro/collaboration-client`),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-shape`),require(`@univerjs-pro/sheets-shape-ui`),require(`@univerjs-pro/sheets-sparkline`),require(`@univerjs-pro/sheets-sparkline-ui`),require(`@univerjs/data-validation`),require(`@univerjs/design`),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-table`),require(`@univerjs/sheets-ui`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs-pro/collaboration-client-ui`),require(`react`)):typeof define=='function'&&define['amd']?define(_0x313ee3(0x256)[_0x313ee3(0x1a3)]('.'),_0x249de5):(_0x1a3ff5=typeof globalThis<'u'?globalThis:_0x1a3ff5||self,_0x249de5(_0x1a3ff5[_0x313ee3(0x191)]={},_0x1a3ff5[_0x313ee3(0x21b)],_0x1a3ff5[_0x313ee3(0x2bd)],_0x1a3ff5[_0x313ee3(0x23a)],_0x1a3ff5[_0x313ee3(0x1c6)],_0x1a3ff5[_0x313ee3(0x275)],_0x1a3ff5[_0x313ee3(0x260)],_0x1a3ff5['UniverProSheetsChart'],_0x1a3ff5[_0x313ee3(0x1b5)],_0x1a3ff5[_0x313ee3(0x1ad)],_0x1a3ff5[_0x313ee3(0x2ce)],_0x1a3ff5[_0x313ee3(0x269)],_0x1a3ff5[_0x313ee3(0x284)],_0x1a3ff5[_0x313ee3(0x2c6)],_0x1a3ff5[_0x313ee3(0x266)],_0x1a3ff5[_0x313ee3(0x282)],_0x1a3ff5[_0x313ee3(0x1b1)],_0x1a3ff5['UniverDocsUi'],_0x1a3ff5['UniverDrawing'],_0x1a3ff5[_0x313ee3(0x2af)],_0x1a3ff5[_0x313ee3(0x2f1)],_0x1a3ff5[_0x313ee3(0x2bc)],_0x1a3ff5['UniverNetwork'],_0x1a3ff5[_0x313ee3(0x2c2)],_0x1a3ff5[_0x313ee3(0x1ba)],_0x1a3ff5[_0x313ee3(0x1c0)],_0x1a3ff5[_0x313ee3(0x263)],_0x1a3ff5[_0x313ee3(0x1f2)],_0x1a3ff5['UniverSheetsDrawing'],_0x1a3ff5[_0x313ee3(0x24f)],_0x1a3ff5[_0x313ee3(0x222)],_0x1a3ff5['UniverSheetsFilterUi'],_0x1a3ff5['UniverSheetsFormula'],_0x1a3ff5[_0x313ee3(0x270)],_0x1a3ff5[_0x313ee3(0x226)],_0x1a3ff5[_0x313ee3(0x2ed)],_0x1a3ff5[_0x313ee3(0x286)],_0x1a3ff5[_0x313ee3(0x2d7)],_0x1a3ff5['UniverSheetsUi'],_0x1a3ff5[_0x313ee3(0x20d)],_0x1a3ff5[_0x313ee3(0x2cf)],_0x1a3ff5[_0x313ee3(0x1c9)],_0x1a3ff5[_0x313ee3(0x2c1)]));}(this,function(_0x57d9fe,_0x4941f9,_0x55dc03,_0x4d7f78,_0x56c2b9,_0x23c092,_0x21e068,_0x339a74,_0x3f61d4,_0x12aa69,_0x3873e9,_0x48caa0,_0x4905f6,_0x339b51,_0x3d65ae,_0x141d4a,_0x39adae,_0x191e0b,_0x1ecc4b,_0x2e2fd7,_0x39169a,_0x4b24ed,_0xf803b2,_0x217b9e,_0xa49623,_0x3abcdd,_0xcaeca9,_0x235b7e,_0x15f482,_0x584a9b,_0x9b82b7,_0x397bf8,_0x401347,_0x561d1e,_0x44b86d,_0x3155c5,_0x47d091,_0x263d77,_0x5ba188,_0x4e0cc1,_0x4be76c,_0x3678e9,_0x34440f){const _0x5c0478=_0x4d71;Object[_0x5c0478(0x2ad)](_0x57d9fe,Symbol[_0x5c0478(0x2a5)],{'value':_0x5c0478(0x1e9)});let _0xf36b4='edit-history-loader.config';Symbol(_0xf36b4);let _0x2ab2b7={};function _0x41eefe(_0xf5a78){'@babel/helpers - typeof';const _0x446a2d=_0x5c0478;return _0x41eefe=typeof Symbol==_0x446a2d(0x214)&&typeof Symbol[_0x446a2d(0x201)]==_0x446a2d(0x1f7)?function(_0x2335db){return typeof _0x2335db;}:function(_0x387b3f){const _0x4462fa=_0x446a2d;return _0x387b3f&&typeof Symbol==_0x4462fa(0x214)&&_0x387b3f[_0x4462fa(0x1ea)]===Symbol&&_0x387b3f!==Symbol['prototype']?_0x4462fa(0x1f7):typeof _0x387b3f;},_0x41eefe(_0xf5a78);}function _0x129a18(_0x35448b,_0x5eb7ea){const _0x4f97ed=_0x5c0478;if(_0x41eefe(_0x35448b)!=_0x4f97ed(0x2b0)||!_0x35448b)return _0x35448b;var _0xc51cab=_0x35448b[Symbol[_0x4f97ed(0x2f0)]];if(_0xc51cab!==void 0x0){var _0x20457d=_0xc51cab[_0x4f97ed(0x21c)](_0x35448b,_0x5eb7ea||_0x4f97ed(0x1e5));if(_0x41eefe(_0x20457d)!=_0x4f97ed(0x2b0))return _0x20457d;throw TypeError(_0x4f97ed(0x2d9));}return(_0x5eb7ea===_0x4f97ed(0x28c)?String:Number)(_0x35448b);}function _0x261711(_0x41880e){const _0x18909a=_0x5c0478;var _0x51f5f0=_0x129a18(_0x41880e,_0x18909a(0x28c));return _0x41eefe(_0x51f5f0)=='symbol'?_0x51f5f0:_0x51f5f0+'';}function _0x4b0516(_0x1b0324,_0x227895,_0xbfd0a1){return(_0x227895=_0x261711(_0x227895))in _0x1b0324?Object['defineProperty'](_0x1b0324,_0x227895,{'value':_0xbfd0a1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1b0324[_0x227895]=_0xbfd0a1,_0x1b0324;}function _0xa5c874(_0x3fa3ff,_0x3640ea){return function(_0x530dc3,_0x55b413){_0x3640ea(_0x530dc3,_0x55b413,_0x3fa3ff);};}function _0x12d3bc(_0x445050,_0x4259ad,_0xb1bcc3,_0x1180e4){const _0x28b95c=_0x5c0478;var _0xe71925=arguments['length'],_0x3cd4ed=_0xe71925<0x3?_0x4259ad:_0x1180e4===null?_0x1180e4=Object['getOwnPropertyDescriptor'](_0x4259ad,_0xb1bcc3):_0x1180e4,_0x2a0afd;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x28b95c(0x214))_0x3cd4ed=Reflect[_0x28b95c(0x213)](_0x445050,_0x4259ad,_0xb1bcc3,_0x1180e4);else{for(var _0x19135d=_0x445050[_0x28b95c(0x289)]-0x1;_0x19135d>=0x0;_0x19135d--)(_0x2a0afd=_0x445050[_0x19135d])&&(_0x3cd4ed=(_0xe71925<0x3?_0x2a0afd(_0x3cd4ed):_0xe71925>0x3?_0x2a0afd(_0x4259ad,_0xb1bcc3,_0x3cd4ed):_0x2a0afd(_0x4259ad,_0xb1bcc3))||_0x3cd4ed);}return _0xe71925>0x3&&_0x3cd4ed&&Object['defineProperty'](_0x4259ad,_0xb1bcc3,_0x3cd4ed),_0x3cd4ed;}let _0xcb22c8=_0x5c0478(0x1df),_0x899ff9=_0x5c0478(0x1f6),_0x5c387d=class extends _0x4941f9['Disposable']{constructor(_0x4bc780,_0x1d02a1,_0x326b77,_0x547f96,_0x587aad,_0x549642,_0x19e568,_0x33ecb6,_0x1831c9,_0x54e666){const _0x52baff=_0x5c0478;super(),this[_0x52baff(0x22c)]=_0x4bc780,this[_0x52baff(0x26e)]=_0x1d02a1,this[_0x52baff(0x230)]=_0x326b77,this[_0x52baff(0x189)]=_0x547f96,this[_0x52baff(0x2ab)]=_0x587aad,this['_permissionService']=_0x549642,this['_selectionProtectionRuleModel']=_0x19e568,this[_0x52baff(0x20a)]=_0x33ecb6,this[_0x52baff(0x250)]=_0x1831c9,this[_0x52baff(0x258)]=_0x54e666,_0x4b0516(this,_0x52baff(0x2ea),new _0x4be76c[(_0x52baff(0x27f))](null)),_0x4b0516(this,'historyUniver$',this['_historyUniver$']['asObservable']()),_0x4b0516(this,_0x52baff(0x228),new _0x4941f9['DisposableCollection']()),_0x4b0516(this,_0x52baff(0x1eb),new Map()),_0x4b0516(this,_0x52baff(0x26a),null),this[_0x52baff(0x1be)]();}get[_0x5c0478(0x2c5)](){const _0x5968fd=_0x5c0478;return this['_historyUniver$'][_0x5968fd(0x296)];}[_0x5c0478(0x1be)](){const _0x441444=_0x5c0478;this[_0x441444(0x223)](),this['_initPlugins']();}[_0x5c0478(0x223)](){const _0x42d476=_0x5c0478;var _0x28c75e;let _0x3f97ac=(_0x28c75e=this['_configService'][_0x42d476(0x2c4)]('UNIVER_CONTAINER_ID'))==null?_0x42d476(0x26d):_0x28c75e,_0x5316f3=document[_0x42d476(0x21e)](_0x3f97ac);if(!_0x5316f3)return;let _0x2079e3=document['createElement'](_0x42d476(0x25b));_0x2079e3['id']=_0x899ff9,_0x2079e3['dataset'][_0x42d476(0x2c0)]=_0x42d476(0x1ed),_0x2079e3[_0x42d476(0x193)][_0x42d476(0x298)]=_0x42d476(0x197),_0x2079e3['style']['top']='0',_0x2079e3[_0x42d476(0x193)][_0x42d476(0x1f0)]='0',_0x2079e3[_0x42d476(0x193)]['width']=_0x42d476(0x1d7),_0x2079e3[_0x42d476(0x193)][_0x42d476(0x235)]=_0x42d476(0x1d7),_0x2079e3[_0x42d476(0x193)]['zIndex']='49',_0x2079e3[_0x42d476(0x193)][_0x42d476(0x1b0)]=_0x42d476(0x277),_0x5316f3[_0x42d476(0x1f4)](_0x2079e3);}[_0x5c0478(0x1c8)](){const _0x43a336=_0x5c0478;[[_0x4b24ed['UniverRenderEnginePlugin']],[_0x4e0cc1[_0x43a336(0x229)],{'container':_0x899ff9,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x4e0cc1[_0x43a336(0x210)],null]]}],[_0xf803b2['UniverNetworkPlugin']],[_0x1ecc4b[_0x43a336(0x18f)],{'override':[[_0x1ecc4b['IImageIoService'],null]]}],[_0x39adae[_0x43a336(0x2c9)],{'hasScroll':!0x1}],[_0x191e0b[_0x43a336(0x1bf)]],[_0x47d091['UniverSheetsNumfmtPlugin']],[_0x55dc03['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x5ba188[_0x43a336(0x217)]],[_0x401347[_0x43a336(0x2cd)]],[_0x561d1e[_0x43a336(0x19f)]],[_0x4d7f78[_0x43a336(0x29b)]],[_0x9b82b7['UniverSheetsFilterPlugin']],[_0x397bf8[_0x43a336(0x2e2)]],[_0xa49623[_0x43a336(0x2ee)]],[_0x3abcdd['UniverSheetsConditionalFormattingUIPlugin']],[_0x44b86d[_0x43a336(0x2c7)]],[_0x3155c5['UniverSheetsHyperLinkUIPlugin']],[_0x3d65ae[_0x43a336(0x26b)]],[_0xcaeca9[_0x43a336(0x2a7)]],[_0x235b7e[_0x43a336(0x274)]],[_0x39169a[_0x43a336(0x268)],{'notExecuteFormula':!0x0}],[_0x2e2fd7[_0x43a336(0x2de)]],[_0x15f482[_0x43a336(0x29e)]],[_0x584a9b[_0x43a336(0x2b7)]],[_0x4905f6[_0x43a336(0x1c4)]],[_0x339b51['UniverSheetSparklineUIPlugin']],[_0x339a74['UniverSheetsChartPlugin']],[_0x3f61d4[_0x43a336(0x2e6)]],[_0x3873e9[_0x43a336(0x265)]],[_0x48caa0['UniverSheetsShapeUIPlugin']],[_0x12aa69[_0x43a336(0x297)],{'notExecuteFormula':!0x0}],[_0x263d77[_0x43a336(0x227)]]][_0x43a336(0x1a6)](([_0x52ed43,_0x218f44])=>this[_0x43a336(0x2a0)](_0x52ed43,_0x218f44));}[_0x5c0478(0x2db)](){const _0x385e6d=_0x5c0478;super[_0x385e6d(0x2db)](),this[_0x385e6d(0x195)](),this[_0x385e6d(0x1eb)][_0x385e6d(0x25e)]();}[_0x5c0478(0x2a0)](_0x2a54b2,_0x5ed160,_0x5246a9){const _0x4bf17e=_0x5c0478;if(this[_0x4bf17e(0x1eb)][_0x4bf17e(0x1cc)](_0x2a54b2[_0x4bf17e(0x1e7)])&&!_0x5246a9)throw Error(_0x4bf17e(0x1c7)+_0x2a54b2[_0x4bf17e(0x1e7)]+_0x4bf17e(0x2b8));this[_0x4bf17e(0x1eb)]['set'](_0x2a54b2[_0x4bf17e(0x1e7)],[_0x2a54b2,_0x5ed160]);}[_0x5c0478(0x271)](){const _0x1ab94c=_0x5c0478;return Array[_0x1ab94c(0x248)](this[_0x1ab94c(0x1eb)][_0x1ab94c(0x1a7)]());}['mountHistoryContent'](_0x46909f,_0x4548f8){const _0x1b6b4a=_0x5c0478;let _0x439450=document[_0x1b6b4a(0x21e)](_0x899ff9);_0x439450&&(_0x439450[_0x1b6b4a(0x193)][_0x1b6b4a(0x1b0)]=_0x1b6b4a(0x25a),this[_0x1b6b4a(0x19b)](_0x46909f,_0x899ff9,_0x4548f8));}['unMountHistoryContent'](){const _0x57c835=_0x5c0478;var _0x5ce534;this['_disposableCollection']['dispose'](),(_0x5ce534=this[_0x57c835(0x2c5)])==null||_0x5ce534[_0x57c835(0x2db)](),this[_0x57c835(0x2ea)][_0x57c835(0x243)](null);let _0x4baa92=document[_0x57c835(0x21e)](_0x899ff9);_0x4baa92&&(_0x4baa92[_0x57c835(0x193)][_0x57c835(0x1b0)]=_0x57c835(0x277),this['_internalWebWorker']&&(this[_0x57c835(0x26a)][_0x57c835(0x2b4)](),this[_0x57c835(0x26a)]=null));}['_initUniver'](_0x1017bf,_0x9dd78c,_0x189990){const _0x405ef3=_0x5c0478;var _0x1ea5d7,_0x1877a4,_0x30e28d,_0x377b48,_0x3e8e0c;if(this[_0x405ef3(0x2c5)])return;let _0x3209a1=new _0x4941f9['Univer']({'locales':{[this[_0x405ef3(0x22c)][_0x405ef3(0x1e3)]()]:this[_0x405ef3(0x22c)][_0x405ef3(0x1dd)]()},'override':[[_0x4941f9[_0x405ef3(0x1c3)],{'useClass':_0x56c2b9[_0x405ef3(0x221)]}]]}),_0x42ddb0=_0x3209a1[_0x405ef3(0x2ba)]();this[_0x405ef3(0x261)](this[_0x405ef3(0x258)]['darkMode$'][_0x405ef3(0x1e2)](_0x305d04=>{const _0x1b8099=_0x405ef3;_0x42ddb0[_0x1b8099(0x29d)](_0x4941f9[_0x1b8099(0x2b3)])[_0x1b8099(0x280)](_0x305d04);})),this[_0x405ef3(0x261)](this[_0x405ef3(0x258)][_0x405ef3(0x20f)][_0x405ef3(0x1e2)](_0x49e4c8=>{const _0x29aae0=_0x405ef3;_0x42ddb0['get'](_0x4941f9[_0x29aae0(0x2b3)])[_0x29aae0(0x1b4)](_0x49e4c8);})),_0x42ddb0['get'](_0x4941f9[_0x405ef3(0x27b)])[_0x405ef3(0x2e5)](this[_0x405ef3(0x22c)][_0x405ef3(0x1e3)]()),_0x42ddb0['get'](_0x4941f9[_0x405ef3(0x27a)])[_0x405ef3(0x1cf)](_0x56c2b9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0x405ef3(0x230)][_0x405ef3(0x2c4)](_0x56c2b9[_0x405ef3(0x188)]));let _0x21c00b=this[_0x405ef3(0x230)]['getConfig'](_0x21e068[_0x405ef3(0x2c3)]);_0x21c00b&&_0x3209a1[_0x405ef3(0x2a0)](_0x21e068['UniverLicensePlugin'],{'license':_0x21c00b['ls']});let _0x3abc57=(_0x1ea5d7=this[_0x405ef3(0x230)][_0x405ef3(0x2c4)](_0x405ef3(0x2cb)))==null?void 0x0:_0x1ea5d7[_0x405ef3(0x27d)],_0x4e309d=!!_0x3abc57;_0x4e309d&&(this[_0x405ef3(0x26a)]=_0x3abc57 instanceof Worker?_0x3abc57:null,_0x3209a1[_0x405ef3(0x2a0)](_0x217b9e[_0x405ef3(0x1aa)],{'workerURL':_0x3abc57})),this['_pluginMap'][_0x405ef3(0x1a6)](([_0x3bcf02,_0x36cafe])=>{const _0x2a3c38=_0x405ef3;_0x3209a1[_0x2a3c38(0x2a0)](_0x3bcf02,_0x36cafe);}),_0x3209a1['registerPlugin'](_0x23c092[_0x405ef3(0x262)],{'historyListServerUrl':(_0x1877a4=this[_0x405ef3(0x230)][_0x405ef3(0x2c4)]('edit-history-loader.config'))==null?void 0x0:_0x1877a4[_0x405ef3(0x238)],'historyPanelComponentKey':(_0x30e28d=this[_0x405ef3(0x230)][_0x405ef3(0x2c4)](_0x405ef3(0x2cb)))==null?void 0x0:_0x30e28d[_0x405ef3(0x1ab)],'historyPanelHidden':(_0x377b48=this[_0x405ef3(0x230)]['getConfig'](_0x405ef3(0x2cb)))==null?void 0x0:_0x377b48['historyPanelHidden'],'historyAIassistantEnabled':(_0x3e8e0c=this['_configService']['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x3e8e0c[_0x405ef3(0x186)]}),_0x42ddb0['invoke'](_0x538fd4=>{this['_initListener'](_0x538fd4,_0x1017bf);}),this[_0x405ef3(0x2ea)][_0x405ef3(0x243)](_0x3209a1);let _0x5c1b43=_0x42ddb0[_0x405ef3(0x29d)](_0x23c092[_0x405ef3(0x1f1)]),_0x172f61=this[_0x405ef3(0x2ef)](_0x1017bf),_0x5461b0=()=>{const _0x548644=_0x405ef3;_0x189990?_0x5c1b43[_0x548644(0x1b8)](_0x1017bf,_0x9dd78c,_0x172f61,_0x189990):_0x5c1b43['triggerLoadVersions'](_0x1017bf,_0x9dd78c,_0x172f61);};if(this[_0x405ef3(0x2ab)][_0x405ef3(0x1a1)]({'content':this[_0x405ef3(0x22c)]['t'](_0x405ef3(0x216)),'type':_0x141d4a[_0x405ef3(0x1a0)][_0x405ef3(0x255)]}),_0x4e309d)try{_0x42ddb0['get'](_0x217b9e[_0x405ef3(0x24a)])[_0x405ef3(0x20e)]()[_0x405ef3(0x2ca)](()=>{_0x5461b0();});}catch{_0x5461b0();}else _0x5461b0();}['_initListener'](_0x215b07,_0x2e205c){const _0xc064c7=_0x5c0478;let _0x15a8b2=_0x215b07[_0xc064c7(0x29d)](_0x23c092['HistoryManagerService']);this['_disposableCollection'][_0xc064c7(0x2a3)](_0x15a8b2[_0xc064c7(0x25d)][_0xc064c7(0x1e2)](_0x3771ed=>{const _0x3afee5=_0xc064c7;switch(_0x3771ed){case _0x23c092[_0x3afee5(0x26c)]['Entered']:this[_0x3afee5(0x20a)][_0x3afee5(0x1cb)](),this[_0x3afee5(0x250)][_0x3afee5(0x1d0)]();break;case _0x23c092[_0x3afee5(0x26c)][_0x3afee5(0x25f)]:this[_0x3afee5(0x189)][_0x3afee5(0x2da)](_0x1b34e3['id']),this[_0x3afee5(0x195)]();break;case _0x23c092[_0x3afee5(0x26c)][_0x3afee5(0x1d4)]:this[_0x3afee5(0x195)](),this[_0x3afee5(0x2ab)][_0x3afee5(0x1a1)]({'content':this[_0x3afee5(0x22c)]['t'](_0x3afee5(0x2df)),'type':_0x141d4a[_0x3afee5(0x1a0)][_0x3afee5(0x1d4)],'duration':0xbb8});break;default:break;}})),this[_0xc064c7(0x228)][_0xc064c7(0x2a3)](_0x15a8b2[_0xc064c7(0x253)]['subscribe'](async _0x588e41=>{const _0x4dcd5e=_0xc064c7;_0x588e41&&this[_0x4dcd5e(0x189)]['executeCommand'](_0x4d7f78[_0x4dcd5e(0x211)]['id'],{'unitId':_0x2e205c,'revision':_0x588e41});}));}[_0x5c0478(0x2ef)](_0x4932fa){const _0x5f1b03=_0x5c0478;let _0x4eeaee=this[_0x5f1b03(0x26e)][_0x5f1b03(0x2aa)](_0x4932fa)[_0x5f1b03(0x2a1)]()['map'](_0x28a300=>_0x28a300[_0x5f1b03(0x2b5)]()),_0x139fe5=new _0x55dc03[(_0x5f1b03(0x2d0))](_0x4932fa)['id'],_0x44adb7=_0x4eeaee[_0x5f1b03(0x1d1)](_0x115906=>new _0x55dc03[(_0x5f1b03(0x247))](_0x4932fa,_0x115906)['id']),_0x19690d=_0x4eeaee['map'](_0x578ded=>this['_selectionProtectionRuleModel']['getSubunitRuleList'](_0x4932fa,_0x578ded)[_0x5f1b03(0x1d1)](_0x5b4a41=>new _0x55dc03[(_0x5f1b03(0x2be))](_0x4932fa,_0x578ded,_0x5b4a41[_0x5f1b03(0x1ca)])['id']))[_0x5f1b03(0x1ff)](),_0xab81d8=new _0x55dc03[(_0x5f1b03(0x27c))](_0x4932fa)['id'];return this[_0x5f1b03(0x2a6)][_0x5f1b03(0x19a)]([_0x139fe5,..._0x44adb7,..._0x19690d,_0xab81d8])[_0x5f1b03(0x2e9)](_0x341b20=>!!_0x341b20['value']);}};_0x5c387d=_0x12d3bc([_0xa5c874(0x0,(0x0,_0x4941f9['Inject'])(_0x4941f9[_0x5c0478(0x27b)])),_0xa5c874(0x1,_0x4941f9[_0x5c0478(0x23c)]),_0xa5c874(0x2,_0x4941f9[_0x5c0478(0x27a)]),_0xa5c874(0x3,_0x4941f9[_0x5c0478(0x1e6)]),_0xa5c874(0x4,_0x4e0cc1[_0x5c0478(0x212)]),_0xa5c874(0x5,_0x4941f9[_0x5c0478(0x1f5)]),_0xa5c874(0x6,(0x0,_0x4941f9['Inject'])(_0x55dc03[_0x5c0478(0x1ee)])),_0xa5c874(0x7,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4e0cc1[_0x5c0478(0x210)])),_0xa5c874(0x8,(0x0,_0x4941f9['Inject'])(_0x4e0cc1[_0x5c0478(0x208)])),_0xa5c874(0x9,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4941f9[_0x5c0478(0x2b3)]))],_0x5c387d);let _0x543923={'id':_0x5c0478(0x1f8),'type':_0x4941f9[_0x5c0478(0x219)][_0x5c0478(0x2e1)],'handler':_0x5d7097=>{const _0x5c33e9=_0x5c0478;let _0x93dae4=_0x5d7097[_0x5c33e9(0x29d)](_0x5c387d),{unitId:_0x330bf5}=(0x0,_0x55dc03[_0x5c33e9(0x20b)])(_0x5d7097['get'](_0x4941f9[_0x5c33e9(0x23c)]))||{};return _0x330bf5?(_0x93dae4[_0x5c33e9(0x239)](_0x330bf5),!0x0):!0x1;}},_0x1b34e3={'id':_0x5c0478(0x279),'type':_0x4941f9[_0x5c0478(0x219)][_0x5c0478(0x2e1)],'handler':()=>!0x0};var _0x4b4513=_0x5c0478(0x1dc),_0x394f18=_0x5c0478(0x292);function _0x793aff({ref:_0x4206be,..._0x5e99e3}){const _0x594e9a=_0x5c0478;let {icon:_0x1e0868,id:_0x3d9766,className:_0x162df1,extend:_0x1bc62a,..._0x518d7c}=_0x5e99e3,_0x2a2845=(_0x594e9a(0x198)+_0x3d9766+'\x20'+(_0x162df1||''))[_0x594e9a(0x293)](),_0x43ee20=(0x0,_0x34440f['useRef'])('_'+_0x3ffbf6());return _0x392d11(_0x1e0868,''+_0x3d9766,{'defIds':_0x1e0868[_0x594e9a(0x26f)],'idSuffix':_0x43ee20[_0x594e9a(0x1bc)]},{'ref':_0x4206be,'className':_0x2a2845,..._0x518d7c},_0x1bc62a);}function _0x392d11(_0x319e5b,_0x837c97,_0x573060,_0xe9b905,_0x35dbc4){const _0x31437e=_0x5c0478;return(0x0,_0x34440f[_0x31437e(0x1c5)])(_0x319e5b[_0x31437e(0x190)],{'key':_0x837c97,..._0x576718(_0x319e5b,_0x573060,_0x35dbc4),..._0xe9b905},(_0x26318d(_0x319e5b,_0x573060)[_0x31437e(0x194)]||[])[_0x31437e(0x1d1)]((_0x5e15b6,_0x5bddd5)=>_0x392d11(_0x5e15b6,_0x837c97+'-'+_0x319e5b['tag']+'-'+_0x5bddd5,_0x573060,void 0x0,_0x35dbc4)));}function _0x576718(_0x1cc323,_0x184862,_0x1c37b0){const _0x357016=_0x5c0478;let _0x2e3ac5={..._0x1cc323[_0x357016(0x267)]};_0x1c37b0!=null&&_0x1c37b0['colorChannel1']&&_0x2e3ac5['fill']===_0x357016(0x27e)&&(_0x2e3ac5[_0x357016(0x25c)]=_0x1c37b0[_0x357016(0x27e)]),_0x1cc323[_0x357016(0x190)]===_0x357016(0x276)&&_0x2e3ac5['id']&&(_0x2e3ac5['id']+=_0x184862[_0x357016(0x246)]),Object[_0x357016(0x254)](_0x2e3ac5)[_0x357016(0x1a6)](([_0x4e14cd,_0x36a551])=>{const _0x5652fb=_0x357016;_0x4e14cd===_0x5652fb(0x276)&&typeof _0x36a551==_0x5652fb(0x28c)&&(_0x2e3ac5[_0x4e14cd]=_0x36a551[_0x5652fb(0x249)](/url\(#(.*)\)/,'url(#$1'+_0x184862['idSuffix']+')'));});let {defIds:_0x40ede4}=_0x184862;return!_0x40ede4||_0x40ede4[_0x357016(0x289)]===0x0?_0x2e3ac5:(_0x1cc323[_0x357016(0x190)]===_0x357016(0x299)&&_0x2e3ac5[_0x357016(0x22a)]&&(_0x2e3ac5['xlink:href']+=_0x184862['idSuffix']),Object['entries'](_0x2e3ac5)['forEach'](([_0x10ca30,_0x2ce562])=>{const _0x3d6e06=_0x357016;typeof _0x2ce562==_0x3d6e06(0x28c)&&(_0x2e3ac5[_0x10ca30]=_0x2ce562[_0x3d6e06(0x249)](/url\(#(.*)\)/,_0x3d6e06(0x2e4)+_0x184862['idSuffix']+')'));}),_0x2e3ac5);}function _0x26318d(_0x3edc67,_0x5a6658){const _0x7833d=_0x5c0478;var _0x594c7a;let {defIds:_0x5b6a45}=_0x5a6658;return!_0x5b6a45||_0x5b6a45[_0x7833d(0x289)]===0x0?_0x3edc67:_0x3edc67[_0x7833d(0x190)]==='defs'&&(_0x594c7a=_0x3edc67[_0x7833d(0x194)])!=null&&_0x594c7a[_0x7833d(0x289)]?{..._0x3edc67,'children':_0x3edc67[_0x7833d(0x194)]['map'](_0x2a23db=>typeof _0x2a23db[_0x7833d(0x267)]['id']==_0x7833d(0x28c)&&_0x5b6a45&&_0x5b6a45['includes'](_0x2a23db['attrs']['id'])?{..._0x2a23db,'attrs':{..._0x2a23db[_0x7833d(0x267)],'id':_0x2a23db[_0x7833d(0x267)]['id']+_0x5a6658[_0x7833d(0x246)]}}:_0x2a23db)}:_0x3edc67;}function _0x3ffbf6(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x793aff[_0x5c0478(0x1bd)]=_0x5c0478(0x23e);let _0xda8d3c={'tag':_0x5c0478(0x28f),'attrs':{'xmlns':_0x5c0478(0x22e),'fill':_0x5c0478(0x277),'viewBox':_0x5c0478(0x244),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x5c0478(0x283),'clipPath':_0x5c0478(0x1a4)},'children':[{'tag':_0x5c0478(0x21a),'attrs':{'d':'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'}},{'tag':_0x5c0478(0x21a),'attrs':{'d':_0x5c0478(0x2d3)}}]},{'tag':_0x5c0478(0x2bf),'attrs':{},'children':[{'tag':_0x5c0478(0x240),'attrs':{'id':_0x5c0478(0x1a8)},'children':[{'tag':_0x5c0478(0x21a),'attrs':{'fill':_0x5c0478(0x220),'d':_0x5c0478(0x24b)}}]}]}],'defIds':['history-icon_clip0_907_281']},_0x448da4=(0x0,_0x34440f[_0x5c0478(0x29f)])(function(_0x287798,_0xa19128){const _0x5aad33=_0x5c0478;return(0x0,_0x34440f[_0x5aad33(0x1c5)])(_0x793aff,Object[_0x5aad33(0x2eb)]({},_0x287798,{'id':_0x5aad33(0x2a8),'ref':_0xa19128,'icon':_0xda8d3c}));});_0x448da4[_0x5c0478(0x1bd)]=_0x5c0478(0x215);function _0x334973(_0x42d36a){const _0x2a0c5b=_0x5c0478;return{'id':_0x543923['id'],'type':_0x4e0cc1[_0x2a0c5b(0x2a2)][_0x2a0c5b(0x257)],'icon':'HistoryIcon','tooltip':'editHistory.panel.title','hidden$':(0x0,_0x4e0cc1['getMenuHiddenObservable'])(_0x42d36a,_0x4941f9[_0x2a0c5b(0x206)][_0x2a0c5b(0x28a)]),'disabled$':(0x0,_0x5ba188[_0x2a0c5b(0x199)])(_0x42d36a,{'workbookTypes':[_0x55dc03[_0x2a0c5b(0x1b2)]],'worksheetTypes':[],'rangeTypes':[]})};}let _0xf7ee2d={[_0x4e0cc1[_0x5c0478(0x2a9)][_0x5c0478(0x18c)]]:{[_0x543923['id']]:{'order':0.2,'menuItemFactory':_0x334973}}},_0x54af3a=class extends _0x4941f9[_0x5c0478(0x22d)]{constructor(_0x4e3f12,_0x3ea551,_0x37ea32,_0x10c57b,_0x2c3168,_0x51d072,_0x3eeb4d,_0x210b98,_0x47fa8f,_0x54ba0e,_0x4a1aaa){const _0x2036da=_0x5c0478;super(),this['_commandService']=_0x4e3f12,this[_0x2036da(0x1fa)]=_0x3ea551,this[_0x2036da(0x24e)]=_0x37ea32,this[_0x2036da(0x1e1)]=_0x10c57b,this[_0x2036da(0x22c)]=_0x2c3168,this['_messageService']=_0x51d072,this[_0x2036da(0x1d8)]=_0x3eeb4d,this['_localCacheService']=_0x210b98,this[_0x2036da(0x22b)]=_0x47fa8f,this['_univerInstanceService']=_0x54ba0e,this[_0x2036da(0x19d)]=_0x4a1aaa,_0x4b0516(this,_0x2036da(0x1fb),null),this[_0x2036da(0x1be)]();}['_init'](){const _0x4fd042=_0x5c0478;[_0x543923,_0x1b34e3][_0x4fd042(0x1a6)](_0x203b7f=>this[_0x4fd042(0x261)]((0x0,_0x4941f9[_0x4fd042(0x22f)])(this[_0x4fd042(0x189)][_0x4fd042(0x2d6)](_0x203b7f)))),this[_0x4fd042(0x261)](this[_0x4fd042(0x24e)][_0x4fd042(0x2ec)](_0x4fd042(0x215),_0x448da4)),this[_0x4fd042(0x1fa)][_0x4fd042(0x23f)](_0xf7ee2d),this[_0x4fd042(0x261)](this[_0x4fd042(0x189)]['onCommandExecuted'](async(_0x5a5367,_0x2b6538)=>{const _0x2584e9=_0x4fd042;if(_0x5a5367['id']===_0x4d7f78[_0x2584e9(0x211)]['id']){let {unitId:_0x218e64}=_0x5a5367['params'];this[_0x2584e9(0x2ab)][_0x2584e9(0x1a1)]({'content':this[_0x2584e9(0x22c)]['t'](_0x2584e9(0x207)),'type':_0x141d4a[_0x2584e9(0x1a0)][_0x2584e9(0x255)],'duration':0x1388});let _0x18a7a9=this[_0x2584e9(0x1d8)]['getCollabEntity'](_0x218e64);_0x2b6538!=null&&_0x2b6538['fromCollab']?this[_0x2584e9(0x1b7)](_0x18a7a9,async()=>(setTimeout(()=>window[_0x2584e9(0x2d4)][_0x2584e9(0x259)]()),!0x0),!0x0):this[_0x2584e9(0x1b7)](_0x18a7a9,async()=>{const _0x40e602=_0x2584e9;let _0x5a115e=this[_0x40e602(0x26e)]['getCurrentUnitOfType'](_0x4941f9['UniverInstanceType']['UNIVER_SHEET']),_0x58b638=_0x5a115e==null?void 0x0:_0x5a115e['getActiveSheet']();if(!_0x58b638)return!0x1;this[_0x40e602(0x26e)][_0x40e602(0x20c)](_0x218e64);let _0x3ade75=await this[_0x40e602(0x22b)][_0x40e602(0x204)](_0x218e64,_0x4941f9[_0x40e602(0x206)][_0x40e602(0x28a)]);return _0x3ade75&&_0x3ade75 instanceof _0x4941f9[_0x40e602(0x1c1)]?(await this['_setupSubUnitSync'](_0x3ade75,_0x58b638[_0x40e602(0x2b5)]()),!0x0):!0x1;});}}));}[_0x5c0478(0x1b7)](_0x418b1d,_0x40e0af,_0x413aa0=!0x1){const _0x4666c9=_0x5c0478;let _0x4f6467=(0x0,_0x4be76c[_0x4666c9(0x1b3)])([_0x418b1d[_0x4666c9(0x291)]['event$'],_0x418b1d[_0x4666c9(0x285)]])['subscribe'](async([_0x1b776c,_0x2b5b85])=>{const _0x2b0077=_0x4666c9;if(_0x1b776c[_0x2b0077(0x24d)]===_0x4d7f78[_0x2b0077(0x1d5)]['CHANGESET_ACK']&&(_0x2b5b85==null?void 0x0:_0x2b5b85[_0x2b0077(0x278)])===_0x56c2b9[_0x2b0077(0x2d1)]['SYNCED']&&_0x1b776c[_0x2b0077(0x2e3)][_0x2b0077(0x1fe)]['some'](_0x37d0bb=>_0x37d0bb['id']===_0x4d7f78[_0x2b0077(0x211)]['id'])&&await _0x40e0af()){var _0x1adc8e;this[_0x2b0077(0x1e1)][_0x2b0077(0x195)](),_0x4f6467['unsubscribe'](),this['_revertErrorTimer']&&clearTimeout(this[_0x2b0077(0x1fb)]),await((_0x1adc8e=this['_localCacheService'])==null?void 0x0:_0x1adc8e[_0x2b0077(0x272)]()),this[_0x2b0077(0x2ab)][_0x2b0077(0x1a2)]();}});_0x413aa0&&(this[_0x4666c9(0x1fb)]=setTimeout(()=>{const _0x5c08f8=_0x4666c9;_0x4f6467[_0x5c08f8(0x1af)](),this['_messageService'][_0x5c08f8(0x1a1)]({'content':this['_localeService']['t'](_0x5c08f8(0x23d)),'type':_0x141d4a[_0x5c08f8(0x1a0)][_0x5c08f8(0x1d4)],'duration':0xbb8});},0x1388));}async[_0x5c0478(0x18d)](_0x1bb53c,_0x59114d){const _0x4bf396=_0x5c0478;await this[_0x4bf396(0x1b9)](_0x1bb53c,_0x59114d),_0x1bb53c[_0x4bf396(0x187)][_0x4bf396(0x196)]((0x0,_0x4be76c[_0x4bf396(0x281)])(this['dispose$']))[_0x4bf396(0x1e2)](_0x5ae8de=>{const _0x3178b0=_0x4bf396;_0x5ae8de&&this[_0x3178b0(0x1bb)](_0x5ae8de);}),this[_0x4bf396(0x19d)][_0x4bf396(0x237)][_0x4bf396(0x196)]((0x0,_0x4be76c[_0x4bf396(0x281)])(this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x1bb53c,_0x59114d));}[_0x5c0478(0x1bb)](_0x5695cd,_0x20e8c0=!0x1){const _0x588982=_0x5c0478;let _0x3b63a0=this[_0x588982(0x19d)][_0x588982(0x18e)](_0x588982(0x1ef));_0x5695cd[_0x588982(0x2b5)]()!==_0x3b63a0&&this[_0x588982(0x19d)][_0x588982(0x28b)](_0x588982(0x1ef),_0x5695cd['getSheetId'](),_0x20e8c0);}async[_0x5c0478(0x1b9)](_0xcde316,_0x221e37){const _0x3ebe2c=_0x5c0478;var _0x2a6c7b;if(!_0x221e37||!_0xcde316[_0x3ebe2c(0x1fd)](_0x221e37)){let _0x3817b0=_0xcde316[_0x3ebe2c(0x202)]()[0x0],_0x6bbe01=_0xcde316['getSheetBySheetId'](_0x3817b0);if(!_0x6bbe01)return;this[_0x3ebe2c(0x1bb)](_0x6bbe01,!0x0),await this[_0x3ebe2c(0x189)][_0x3ebe2c(0x2da)](_0x55dc03[_0x3ebe2c(0x2b2)]['id'],{'unitId':_0xcde316[_0x3ebe2c(0x29c)](),'subUnitId':_0x3817b0});return;}((_0x2a6c7b=_0xcde316[_0x3ebe2c(0x1d2)]())==null?void 0x0:_0x2a6c7b[_0x3ebe2c(0x2b5)]())!==_0x221e37&&await this[_0x3ebe2c(0x189)][_0x3ebe2c(0x2da)](_0x55dc03[_0x3ebe2c(0x2b2)]['id'],{'unitId':_0xcde316['getUnitId'](),'subUnitId':_0x221e37});}};_0x54af3a=_0x12d3bc([_0xa5c874(0x0,_0x4941f9[_0x5c0478(0x1e6)]),_0xa5c874(0x1,_0x4e0cc1[_0x5c0478(0x245)]),_0xa5c874(0x2,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4e0cc1['ComponentManager'])),_0xa5c874(0x3,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x5c387d)),_0xa5c874(0x4,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4941f9[_0x5c0478(0x27b)])),_0xa5c874(0x5,_0x4e0cc1[_0x5c0478(0x212)]),_0xa5c874(0x6,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x56c2b9[_0x5c0478(0x18b)])),_0xa5c874(0x7,_0x56c2b9[_0x5c0478(0x1d6)]),_0xa5c874(0x8,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x56c2b9[_0x5c0478(0x19c)])),_0xa5c874(0x9,_0x4941f9[_0x5c0478(0x23c)]),_0xa5c874(0xa,_0x3678e9[_0x5c0478(0x209)])],_0x54af3a);let _0x552cd1='univer-history-container-mobile',_0x53b120=class extends _0x4941f9[_0x5c0478(0x2c8)]{constructor(_0x441c67,_0x3f2b31,_0x2bedf2,_0x2db5a4,_0x450ae3,_0x439953,_0x14b990,_0x539826,_0x287a1e,_0x18d65e){const _0x449fe2=_0x5c0478;super(),this['_localeService']=_0x441c67,this[_0x449fe2(0x26e)]=_0x3f2b31,this[_0x449fe2(0x230)]=_0x2bedf2,this[_0x449fe2(0x189)]=_0x2db5a4,this[_0x449fe2(0x2ab)]=_0x450ae3,this[_0x449fe2(0x2a6)]=_0x439953,this[_0x449fe2(0x1da)]=_0x14b990,this[_0x449fe2(0x20a)]=_0x539826,this[_0x449fe2(0x250)]=_0x287a1e,this['_themeService']=_0x18d65e,_0x4b0516(this,_0x449fe2(0x2ea),new _0x4be76c[(_0x449fe2(0x27f))](null)),_0x4b0516(this,_0x449fe2(0x1f3),this[_0x449fe2(0x2ea)][_0x449fe2(0x2e8)]()),_0x4b0516(this,'_disposableCollection',new _0x4941f9[(_0x449fe2(0x28e))]()),_0x4b0516(this,_0x449fe2(0x1eb),new Map()),_0x4b0516(this,_0x449fe2(0x26a),null),this[_0x449fe2(0x1be)]();}get[_0x5c0478(0x2c5)](){const _0x546056=_0x5c0478;return this['_historyUniver$'][_0x546056(0x296)];}[_0x5c0478(0x1be)](){const _0x4646ac=_0x5c0478;this[_0x4646ac(0x223)](),this[_0x4646ac(0x1c8)]();}[_0x5c0478(0x223)](){const _0x359093=_0x5c0478;var _0x44fe0b;let _0x2ca183=(_0x44fe0b=this['_configService'][_0x359093(0x2c4)]('UNIVER_CONTAINER_ID'))==null?_0x359093(0x26d):_0x44fe0b,_0x18d3de=document[_0x359093(0x21e)](_0x2ca183);if(!_0x18d3de)return;let _0x1c4d01=document[_0x359093(0x1c5)]('div');_0x1c4d01['id']=_0x552cd1,_0x1c4d01[_0x359093(0x205)][_0x359093(0x2c0)]=_0x359093(0x1ed),_0x1c4d01[_0x359093(0x193)][_0x359093(0x298)]='absolute',_0x1c4d01['style']['top']='0',_0x1c4d01['style'][_0x359093(0x1f0)]='0',_0x1c4d01[_0x359093(0x193)][_0x359093(0x2d8)]='100%',_0x1c4d01['style'][_0x359093(0x235)]=_0x359093(0x1d7),_0x1c4d01[_0x359093(0x193)][_0x359093(0x23b)]='49',_0x1c4d01[_0x359093(0x193)][_0x359093(0x1b0)]='none',_0x18d3de['appendChild'](_0x1c4d01);}['_initPlugins'](){const _0x4b0bd5=_0x5c0478;[[_0x4b24ed[_0x4b0bd5(0x218)]],[_0x4e0cc1['UniverMobileUIPlugin'],{'container':_0x552cd1,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x4e0cc1['IDialogService'],null]]}],[_0xf803b2[_0x4b0bd5(0x231)]],[_0x1ecc4b[_0x4b0bd5(0x18f)],{'override':[[_0x1ecc4b[_0x4b0bd5(0x252)],null]]}],[_0x39adae[_0x4b0bd5(0x2c9)],{'hasScroll':!0x1}],[_0x191e0b[_0x4b0bd5(0x1bf)]],[_0x47d091[_0x4b0bd5(0x1f9)]],[_0x55dc03[_0x4b0bd5(0x21f)],{'notExecuteFormula':!0x0}],[_0x5ba188[_0x4b0bd5(0x1e8)]],[_0x401347[_0x4b0bd5(0x2cd)]],[_0x561d1e[_0x4b0bd5(0x19f)]],[_0x4d7f78[_0x4b0bd5(0x29b)]],[_0x9b82b7[_0x4b0bd5(0x2ac)]],[_0xa49623['UniverSheetsConditionalFormattingPlugin']],[_0x44b86d[_0x4b0bd5(0x2c7)]],[_0x3155c5['UniverSheetsHyperLinkUIPlugin']],[_0x3d65ae['UniverDataValidationPlugin']],[_0xcaeca9[_0x4b0bd5(0x2a7)]],[_0x235b7e[_0x4b0bd5(0x200)]],[_0x39169a[_0x4b0bd5(0x268)],{'notExecuteFormula':!0x0}],[_0x2e2fd7[_0x4b0bd5(0x2de)]],[_0x15f482['UniverSheetsDrawingPlugin']],[_0x584a9b['UniverSheetsDrawingUIPlugin']],[_0x4905f6['UniverSheetSparklinePlugin']],[_0x339b51[_0x4b0bd5(0x1fc)]],[_0x339a74[_0x4b0bd5(0x1ce)]],[_0x3f61d4[_0x4b0bd5(0x2e6)]],[_0x3873e9[_0x4b0bd5(0x265)]],[_0x48caa0[_0x4b0bd5(0x1e0)]],[_0x12aa69[_0x4b0bd5(0x297)],{'notExecuteFormula':!0x0}],[_0x263d77[_0x4b0bd5(0x227)]]][_0x4b0bd5(0x1a6)](([_0x5d9f19,_0x526842])=>this[_0x4b0bd5(0x2a0)](_0x5d9f19,_0x526842));}['dispose'](){const _0x467b04=_0x5c0478;super[_0x467b04(0x2db)](),this[_0x467b04(0x195)](),this[_0x467b04(0x1eb)][_0x467b04(0x25e)]();}[_0x5c0478(0x2a0)](_0xc9a931,_0x429994,_0x27a810){const _0x3486af=_0x5c0478;if(this[_0x3486af(0x1eb)][_0x3486af(0x1cc)](_0xc9a931[_0x3486af(0x1e7)])&&!_0x27a810)throw Error('[MobileHistoryLoaderService]:\x20Plugin\x20'+_0xc9a931[_0x3486af(0x1e7)]+'\x20has\x20been\x20registered.');this[_0x3486af(0x1eb)][_0x3486af(0x2a4)](_0xc9a931[_0x3486af(0x1e7)],[_0xc9a931,_0x429994]);}[_0x5c0478(0x271)](){const _0x44e911=_0x5c0478;return Array[_0x44e911(0x248)](this[_0x44e911(0x1eb)][_0x44e911(0x1a7)]());}[_0x5c0478(0x239)](_0x45866f,_0xef6be9){const _0x3b6063=_0x5c0478;let _0x276276=document['getElementById'](_0x552cd1);_0x276276&&(_0x276276['style']['display']=_0x3b6063(0x25a),this['_initUniver'](_0x45866f,_0x552cd1,_0xef6be9));}['unMountHistoryContent'](){const _0xaaca84=_0x5c0478;var _0x430e92;this[_0xaaca84(0x228)][_0xaaca84(0x2db)](),(_0x430e92=this[_0xaaca84(0x2c5)])==null||_0x430e92[_0xaaca84(0x2db)](),this[_0xaaca84(0x2ea)][_0xaaca84(0x243)](null);let _0x3143b7=document[_0xaaca84(0x21e)](_0x552cd1);_0x3143b7&&(_0x3143b7[_0xaaca84(0x193)][_0xaaca84(0x1b0)]=_0xaaca84(0x277),this[_0xaaca84(0x26a)]&&(this['_internalWebWorker'][_0xaaca84(0x2b4)](),this['_internalWebWorker']=null));}[_0x5c0478(0x19b)](_0x4245ab,_0x42f30d,_0x1c8fc4){const _0xc69799=_0x5c0478;var _0x3e724f,_0x4d9946,_0x131ef3,_0x1491d7;if(this[_0xc69799(0x2c5)])return;let _0x1b600e=new _0x4941f9[(_0xc69799(0x1db))]({'locales':{[this['_localeService'][_0xc69799(0x1e3)]()]:this[_0xc69799(0x22c)][_0xc69799(0x1dd)]()},'override':[[_0x4941f9[_0xc69799(0x1c3)],{'useClass':_0x56c2b9[_0xc69799(0x221)]}]]}),_0x50fd15=_0x1b600e[_0xc69799(0x2ba)]();this[_0xc69799(0x261)](this[_0xc69799(0x258)][_0xc69799(0x2b1)][_0xc69799(0x1e2)](_0x4a09c6=>{const _0x325ba0=_0xc69799;_0x50fd15[_0x325ba0(0x29d)](_0x4941f9[_0x325ba0(0x2b3)])[_0x325ba0(0x280)](_0x4a09c6);})),this['disposeWithMe'](this[_0xc69799(0x258)][_0xc69799(0x20f)][_0xc69799(0x1e2)](_0x5f08c5=>{const _0x32a3e1=_0xc69799;_0x50fd15[_0x32a3e1(0x29d)](_0x4941f9[_0x32a3e1(0x2b3)])['setTheme'](_0x5f08c5);})),_0x50fd15[_0xc69799(0x29d)](_0x4941f9[_0xc69799(0x27b)])[_0xc69799(0x2e5)](this[_0xc69799(0x22c)]['getCurrentLocale']()),_0x50fd15[_0xc69799(0x29d)](_0x4941f9[_0xc69799(0x27a)])[_0xc69799(0x1cf)](_0x56c2b9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY'],this[_0xc69799(0x230)][_0xc69799(0x2c4)](_0x56c2b9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));let _0x1936be=this[_0xc69799(0x230)]['getConfig'](_0x21e068[_0xc69799(0x2c3)]);_0x1936be&&_0x1b600e['registerPlugin'](_0x21e068['UniverLicensePlugin'],{'license':_0x1936be['ls']});let _0x12c522=(_0x3e724f=this[_0xc69799(0x230)][_0xc69799(0x2c4)](_0xc69799(0x2cb)))==null?void 0x0:_0x3e724f[_0xc69799(0x27d)],_0x303e0a=!!_0x12c522;_0x303e0a&&(this[_0xc69799(0x26a)]=_0x12c522 instanceof Worker?_0x12c522:null,_0x1b600e[_0xc69799(0x2a0)](_0x217b9e[_0xc69799(0x1aa)],{'workerURL':_0x12c522})),this[_0xc69799(0x1eb)][_0xc69799(0x1a6)](([_0x829df1,_0x347e95])=>{_0x1b600e['registerPlugin'](_0x829df1,_0x347e95);}),_0x1b600e[_0xc69799(0x2a0)](_0x23c092[_0xc69799(0x1e4)],{'historyListServerUrl':(_0x4d9946=this[_0xc69799(0x230)][_0xc69799(0x2c4)](_0xc69799(0x2cb)))==null?void 0x0:_0x4d9946[_0xc69799(0x238)],'historyPanelComponentKey':(_0x131ef3=this[_0xc69799(0x230)]['getConfig'](_0xc69799(0x2cb)))==null?void 0x0:_0x131ef3['historyPanelComponentKey'],'historyPanelHidden':(_0x1491d7=this[_0xc69799(0x230)][_0xc69799(0x2c4)](_0xc69799(0x2cb)))==null?void 0x0:_0x1491d7[_0xc69799(0x203)]}),_0x50fd15[_0xc69799(0x242)](_0x78dae5=>{this['_initListener'](_0x78dae5,_0x4245ab);}),this[_0xc69799(0x2ea)][_0xc69799(0x243)](_0x1b600e);let _0x3beb3e=_0x50fd15[_0xc69799(0x29d)](_0x23c092['HistoryManagerService']),_0x1a059e=this[_0xc69799(0x2ef)](_0x4245ab),_0x10119a=()=>{const _0x47606c=_0xc69799;_0x1c8fc4?_0x3beb3e[_0x47606c(0x1b8)](_0x4245ab,_0x42f30d,_0x1a059e,_0x1c8fc4):_0x3beb3e['triggerLoadVersions'](_0x4245ab,_0x42f30d,_0x1a059e);};if(this[_0xc69799(0x2ab)][_0xc69799(0x1a1)]({'content':this['_localeService']['t']('editHistory.info.initializing'),'type':_0x141d4a[_0xc69799(0x1a0)][_0xc69799(0x255)]}),_0x303e0a)try{_0x50fd15[_0xc69799(0x29d)](_0x217b9e[_0xc69799(0x24a)])[_0xc69799(0x20e)]()[_0xc69799(0x2ca)](()=>{_0x10119a();});}catch{_0x10119a();}else _0x10119a();}['_initListener'](_0x3c20d8,_0x820295){const _0x30c0ed=_0x5c0478;let _0x3776fb=_0x3c20d8['get'](_0x23c092[_0x30c0ed(0x1f1)]);this[_0x30c0ed(0x228)][_0x30c0ed(0x2a3)](_0x3776fb[_0x30c0ed(0x25d)]['subscribe'](_0x5cb88d=>{const _0x37f1a6=_0x30c0ed;switch(_0x5cb88d){case _0x23c092[_0x37f1a6(0x26c)][_0x37f1a6(0x1a5)]:this[_0x37f1a6(0x20a)][_0x37f1a6(0x1cb)](),this['_sidebarService'][_0x37f1a6(0x1d0)]();break;case _0x23c092[_0x37f1a6(0x26c)]['Exited']:this[_0x37f1a6(0x189)][_0x37f1a6(0x2da)](_0x1b34e3['id']),this['unMountHistoryContent']();break;case _0x23c092['HistoryModeStatus']['Error']:this[_0x37f1a6(0x195)](),this['_messageService'][_0x37f1a6(0x1a1)]({'content':this['_localeService']['t'](_0x37f1a6(0x2df)),'type':_0x141d4a[_0x37f1a6(0x1a0)]['Error'],'duration':0xbb8});break;default:break;}})),this[_0x30c0ed(0x228)][_0x30c0ed(0x2a3)](_0x3776fb[_0x30c0ed(0x253)]['subscribe'](async _0x231920=>{const _0x11104c=_0x30c0ed;_0x231920&&this[_0x11104c(0x189)][_0x11104c(0x2da)](_0x4d7f78[_0x11104c(0x211)]['id'],{'unitId':_0x820295,'revision':_0x231920});}));}[_0x5c0478(0x2ef)](_0x4cf0d7){const _0x796687=_0x5c0478;let _0x3387ae=this[_0x796687(0x26e)]['getUnit'](_0x4cf0d7)[_0x796687(0x2a1)]()[_0x796687(0x1d1)](_0x2f9f85=>_0x2f9f85['getSheetId']()),_0x34526a=new _0x55dc03[(_0x796687(0x2d0))](_0x4cf0d7)['id'],_0x4285b9=_0x3387ae['map'](_0x1bb973=>new _0x55dc03[(_0x796687(0x247))](_0x4cf0d7,_0x1bb973)['id']),_0x45aebc=_0x3387ae[_0x796687(0x1d1)](_0x51fdd3=>this[_0x796687(0x1da)][_0x796687(0x2ae)](_0x4cf0d7,_0x51fdd3)[_0x796687(0x1d1)](_0x1c0785=>new _0x55dc03[(_0x796687(0x2be))](_0x4cf0d7,_0x51fdd3,_0x1c0785['permissionId'])['id']))['flat'](),_0x8a4ed=new _0x55dc03[(_0x796687(0x27c))](_0x4cf0d7)['id'];return this[_0x796687(0x2a6)]['composePermission']([_0x34526a,..._0x4285b9,..._0x45aebc,_0x8a4ed])['every'](_0x3c4bcd=>!!_0x3c4bcd[_0x796687(0x296)]);}};_0x53b120=_0x12d3bc([_0xa5c874(0x0,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4941f9[_0x5c0478(0x27b)])),_0xa5c874(0x1,_0x4941f9[_0x5c0478(0x23c)]),_0xa5c874(0x2,_0x4941f9[_0x5c0478(0x27a)]),_0xa5c874(0x3,_0x4941f9[_0x5c0478(0x1e6)]),_0xa5c874(0x4,_0x4e0cc1[_0x5c0478(0x212)]),_0xa5c874(0x5,_0x4941f9[_0x5c0478(0x1f5)]),_0xa5c874(0x6,(0x0,_0x4941f9['Inject'])(_0x55dc03['RangeProtectionRuleModel'])),_0xa5c874(0x7,(0x0,_0x4941f9['Inject'])(_0x4e0cc1[_0x5c0478(0x210)])),_0xa5c874(0x8,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4e0cc1[_0x5c0478(0x208)])),_0xa5c874(0x9,(0x0,_0x4941f9['Inject'])(_0x4941f9[_0x5c0478(0x2b3)]))],_0x53b120);let _0x51c5c7=class extends _0x4941f9[_0x5c0478(0x1a9)]{constructor(_0x22f898=_0x2ab2b7,_0x50b333,_0xbb5bd4){const _0x46ed87=_0x5c0478;super(),this['_config']=_0x22f898,this[_0x46ed87(0x2b6)]=_0x50b333,this[_0x46ed87(0x230)]=_0xbb5bd4;let {menu:_0x109ac0,..._0x5739e4}=(0x0,_0x4941f9[_0x46ed87(0x2e7)])({},_0x2ab2b7,this['_config']);_0x109ac0&&this[_0x46ed87(0x230)][_0x46ed87(0x1cf)](_0x46ed87(0x1d3),_0x109ac0,{'merge':!0x0}),this[_0x46ed87(0x230)][_0x46ed87(0x1cf)](_0xf36b4,_0x5739e4),this['_config'][_0x46ed87(0x2cc)]&&this[_0x46ed87(0x230)][_0x46ed87(0x1cf)]('UNIVER_CONTAINER_ID',this['_config']['univerContainerId']);}[_0x5c0478(0x241)](){const _0x3f8e20=_0x5c0478;[[_0x5c387d,{'useClass':_0x53b120}],[_0x54af3a]]['forEach'](_0x1f37df=>this[_0x3f8e20(0x2b6)]['add'](_0x1f37df));}[_0x5c0478(0x236)](){const _0x454c56=_0x5c0478;this[_0x454c56(0x2b6)][_0x454c56(0x29d)](_0x54af3a);}};_0x4b0516(_0x51c5c7,'type',_0x4941f9['UniverInstanceType'][_0x5c0478(0x234)]),_0x4b0516(_0x51c5c7,'pluginName',_0x5c0478(0x251)),_0x4b0516(_0x51c5c7,'packageName',_0x4b4513),_0x4b0516(_0x51c5c7,_0x5c0478(0x1ec),_0x394f18),_0x51c5c7=_0x12d3bc([(0x0,_0x4941f9[_0x5c0478(0x1de)])(_0x21e068[_0x5c0478(0x295)]),_0xa5c874(0x1,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4941f9[_0x5c0478(0x19e)])),_0xa5c874(0x2,_0x4941f9['IConfigService'])],_0x51c5c7);let _0x5866ad=class extends _0x4941f9[_0x5c0478(0x22d)]{constructor(_0x5a3418,_0x3d54e9,_0x34890e,_0x17eba6,_0x1dd70b,_0x5c6344,_0x661120,_0x3be27e,_0x1a71c9,_0x289168,_0xcccbb6){const _0x5d247a=_0x5c0478;super(),this[_0x5d247a(0x189)]=_0x5a3418,this['_menuManagerService']=_0x3d54e9,this[_0x5d247a(0x24e)]=_0x34890e,this['_historyManagerService']=_0x17eba6,this[_0x5d247a(0x22c)]=_0x1dd70b,this[_0x5d247a(0x2ab)]=_0x5c6344,this[_0x5d247a(0x1d8)]=_0x661120,this[_0x5d247a(0x2dc)]=_0x3be27e,this[_0x5d247a(0x22b)]=_0x1a71c9,this['_univerInstanceService']=_0x289168,this[_0x5d247a(0x19d)]=_0xcccbb6,_0x4b0516(this,_0x5d247a(0x1fb),null),this[_0x5d247a(0x1be)]();}['_init'](){const _0x277646=_0x5c0478;[_0x543923,_0x1b34e3][_0x277646(0x1a6)](_0x4b1120=>this[_0x277646(0x261)]((0x0,_0x4941f9[_0x277646(0x22f)])(this[_0x277646(0x189)]['registerCommand'](_0x4b1120)))),this[_0x277646(0x261)](this['_componentManager'][_0x277646(0x2ec)](_0x277646(0x215),_0x448da4)),this[_0x277646(0x1fa)][_0x277646(0x23f)](_0xf7ee2d),this[_0x277646(0x261)](this[_0x277646(0x189)][_0x277646(0x2d2)](async(_0x94aee3,_0x50e193)=>{const _0xe19ff4=_0x277646;if(_0x94aee3['id']===_0x4d7f78[_0xe19ff4(0x211)]['id']){let {unitId:_0x428637}=_0x94aee3['params'];this[_0xe19ff4(0x2ab)][_0xe19ff4(0x1a1)]({'content':this[_0xe19ff4(0x22c)]['t'](_0xe19ff4(0x207)),'type':_0x141d4a[_0xe19ff4(0x1a0)][_0xe19ff4(0x255)],'duration':0x1388});let _0xd087af=this['_collaborationController'][_0xe19ff4(0x2dd)](_0x428637);_0x50e193!=null&&_0x50e193[_0xe19ff4(0x1b6)]?this['_handleRevertAcknowledgement'](_0xd087af,async()=>(setTimeout(()=>window[_0xe19ff4(0x2d4)]['reload']()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0xd087af,async()=>{const _0x5dada6=_0xe19ff4;let _0x245ec1=this['_univerInstanceService']['getCurrentUnitOfType'](_0x4941f9['UniverInstanceType'][_0x5dada6(0x28a)]),_0x36ab2d=_0x245ec1==null?void 0x0:_0x245ec1[_0x5dada6(0x1d2)]();if(!_0x36ab2d)return!0x1;this[_0x5dada6(0x26e)][_0x5dada6(0x20c)](_0x428637);let _0x58d48c=await this[_0x5dada6(0x22b)][_0x5dada6(0x204)](_0x428637,_0x4941f9[_0x5dada6(0x206)]['UNIVER_SHEET']);return _0x58d48c&&_0x58d48c instanceof _0x4941f9[_0x5dada6(0x1c1)]?(await this[_0x5dada6(0x18d)](_0x58d48c,_0x36ab2d['getSheetId']()),!0x0):!0x1;});}}));}[_0x5c0478(0x1b7)](_0x20e49a,_0x566245,_0x2d2cff=!0x1){const _0x5dce4=_0x5c0478;let _0x1a68b8=(0x0,_0x4be76c['combineLatest'])([_0x20e49a[_0x5dce4(0x291)][_0x5dce4(0x287)],_0x20e49a[_0x5dce4(0x285)]])[_0x5dce4(0x1e2)](async([_0x23538f,_0x6eb7b0])=>{const _0xeb3225=_0x5dce4;if(_0x23538f['eventID']===_0x4d7f78[_0xeb3225(0x1d5)]['CHANGESET_ACK']&&(_0x6eb7b0==null?void 0x0:_0x6eb7b0['status'])===_0x56c2b9[_0xeb3225(0x2d1)]['SYNCED']&&_0x23538f[_0xeb3225(0x2e3)][_0xeb3225(0x1fe)][_0xeb3225(0x1ae)](_0x5118d2=>_0x5118d2['id']===_0x4d7f78[_0xeb3225(0x211)]['id'])&&await _0x566245()){var _0x393954;this[_0xeb3225(0x1e1)][_0xeb3225(0x195)](),_0x1a68b8[_0xeb3225(0x1af)](),this[_0xeb3225(0x1fb)]&&clearTimeout(this[_0xeb3225(0x1fb)]),await((_0x393954=this[_0xeb3225(0x2dc)])==null?void 0x0:_0x393954[_0xeb3225(0x272)]());}});_0x2d2cff&&(this[_0x5dce4(0x1fb)]=setTimeout(()=>{const _0x206234=_0x5dce4;_0x1a68b8[_0x206234(0x1af)](),this[_0x206234(0x2ab)]['show']({'content':this[_0x206234(0x22c)]['t'](_0x206234(0x23d)),'type':_0x141d4a['MessageType'][_0x206234(0x1d4)],'duration':0xbb8});},0x1388));}async[_0x5c0478(0x18d)](_0x59cdbc,_0x498e47){const _0x3d314c=_0x5c0478;await this[_0x3d314c(0x1b9)](_0x59cdbc,_0x498e47),_0x59cdbc['activeSheet$'][_0x3d314c(0x196)]((0x0,_0x4be76c[_0x3d314c(0x281)])(this[_0x3d314c(0x1cd)]))[_0x3d314c(0x1e2)](_0x8ab96a=>{const _0x3a9c0a=_0x3d314c;_0x8ab96a&&this[_0x3a9c0a(0x1bb)](_0x8ab96a);}),this[_0x3d314c(0x19d)][_0x3d314c(0x237)][_0x3d314c(0x196)]((0x0,_0x4be76c[_0x3d314c(0x281)])(this[_0x3d314c(0x1cd)]))[_0x3d314c(0x1e2)](()=>this[_0x3d314c(0x1b9)](_0x59cdbc,_0x498e47));}[_0x5c0478(0x1bb)](_0x479be2,_0x26099d=!0x1){const _0x1e1670=_0x5c0478;let _0x2a0942=this[_0x1e1670(0x19d)][_0x1e1670(0x18e)](_0x1e1670(0x1ef));_0x479be2[_0x1e1670(0x2b5)]()!==_0x2a0942&&this[_0x1e1670(0x19d)]['setParam']('subunit',_0x479be2[_0x1e1670(0x2b5)](),_0x26099d);}async[_0x5c0478(0x1b9)](_0x183e08,_0x9de4b1){const _0x3dfcc5=_0x5c0478;var _0x3ecadd;if(!_0x9de4b1||!_0x183e08['getSheetBySheetId'](_0x9de4b1)){let _0x2ca281=_0x183e08['getUnhiddenWorksheets']()[0x0],_0x23b24f=_0x183e08[_0x3dfcc5(0x1fd)](_0x2ca281);if(!_0x23b24f)return;this[_0x3dfcc5(0x1bb)](_0x23b24f,!0x0),await this[_0x3dfcc5(0x189)]['executeCommand'](_0x55dc03[_0x3dfcc5(0x2b2)]['id'],{'unitId':_0x183e08['getUnitId'](),'subUnitId':_0x2ca281});return;}((_0x3ecadd=_0x183e08[_0x3dfcc5(0x1d2)]())==null?void 0x0:_0x3ecadd[_0x3dfcc5(0x2b5)]())!==_0x9de4b1&&await this[_0x3dfcc5(0x189)][_0x3dfcc5(0x2da)](_0x55dc03[_0x3dfcc5(0x2b2)]['id'],{'unitId':_0x183e08['getUnitId'](),'subUnitId':_0x9de4b1});}};_0x5866ad=_0x12d3bc([_0xa5c874(0x0,_0x4941f9[_0x5c0478(0x1e6)]),_0xa5c874(0x1,_0x4e0cc1[_0x5c0478(0x245)]),_0xa5c874(0x2,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4e0cc1[_0x5c0478(0x288)])),_0xa5c874(0x3,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x5c387d)),_0xa5c874(0x4,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x4941f9[_0x5c0478(0x27b)])),_0xa5c874(0x5,_0x4e0cc1['IMessageService']),_0xa5c874(0x6,(0x0,_0x4941f9['Inject'])(_0x56c2b9[_0x5c0478(0x18b)])),_0xa5c874(0x7,_0x56c2b9['ILocalCacheService']),_0xa5c874(0x8,(0x0,_0x4941f9[_0x5c0478(0x224)])(_0x56c2b9[_0x5c0478(0x19c)])),_0xa5c874(0x9,_0x4941f9['IUniverInstanceService']),_0xa5c874(0xa,_0x3678e9['IURLService'])],_0x5866ad);let _0x459b1a=class extends _0x4941f9[_0x5c0478(0x1a9)]{constructor(_0x5ceb54=_0x2ab2b7,_0x2d158e,_0x1ffc60){const _0x2949a5=_0x5c0478;super(),this[_0x2949a5(0x1c2)]=_0x5ceb54,this[_0x2949a5(0x2b6)]=_0x2d158e,this[_0x2949a5(0x230)]=_0x1ffc60;let {menu:_0x2bc127,..._0x2be782}=(0x0,_0x4941f9[_0x2949a5(0x2e7)])({},_0x2ab2b7,this[_0x2949a5(0x1c2)]);_0x2bc127&&this[_0x2949a5(0x230)]['setConfig'](_0x2949a5(0x1d3),_0x2bc127,{'merge':!0x0}),this[_0x2949a5(0x230)][_0x2949a5(0x1cf)](_0xf36b4,_0x2be782),this[_0x2949a5(0x1c2)][_0x2949a5(0x2cc)]&&this[_0x2949a5(0x230)][_0x2949a5(0x1cf)](_0xcb22c8,this[_0x2949a5(0x1c2)]['univerContainerId']);}[_0x5c0478(0x241)](){const _0x5c951b=_0x5c0478;[[_0x5c387d],[_0x5866ad]]['forEach'](_0x1dbd38=>this[_0x5c951b(0x2b6)]['add'](_0x1dbd38));}[_0x5c0478(0x236)](){const _0x176e44=_0x5c0478;this[_0x176e44(0x2b6)][_0x176e44(0x29d)](_0x5866ad);}};_0x4b0516(_0x459b1a,_0x5c0478(0x2d5),_0x4941f9[_0x5c0478(0x206)]['UNIVER_UNKNOWN']),_0x4b0516(_0x459b1a,_0x5c0478(0x1e7),_0x5c0478(0x2e0)),_0x4b0516(_0x459b1a,'packageName',_0x4b4513),_0x4b0516(_0x459b1a,_0x5c0478(0x1ec),_0x394f18),_0x459b1a=_0x12d3bc([(0x0,_0x4941f9['DependentOn'])(_0x21e068[_0x5c0478(0x295)]),_0xa5c874(0x1,(0x0,_0x4941f9['Inject'])(_0x4941f9[_0x5c0478(0x19e)])),_0xa5c874(0x2,_0x4941f9[_0x5c0478(0x27a)])],_0x459b1a),_0x57d9fe[_0x5c0478(0x225)]=_0xf36b4,Object[_0x5c0478(0x2ad)](_0x57d9fe,_0x5c0478(0x21d),{'enumerable':!0x0,'get':function(){return _0x5c387d;}}),Object['defineProperty'](_0x57d9fe,_0x5c0478(0x28d),{'enumerable':!0x0,'get':function(){return _0x53b120;}}),_0x57d9fe[_0x5c0478(0x192)]=_0x543923,_0x57d9fe['UNIVER_CONTAINER_ID_KEY']=_0xcb22c8,_0x57d9fe[_0x5c0478(0x290)]=_0x899ff9,Object['defineProperty'](_0x57d9fe,'UniverEditHistoryLoaderMobilePlugin',{'enumerable':!0x0,'get':function(){return _0x51c5c7;}}),Object['defineProperty'](_0x57d9fe,_0x5c0478(0x273),{'enumerable':!0x0,'get':function(){return _0x459b1a;}});}));
20
+ function _0x3886(_0x1ba131,_0x16fa79){_0x1ba131=_0x1ba131-0x67;const _0x16d36f=_0x16d3();let _0x388655=_0x16d36f[_0x1ba131];return _0x388655;}function _0x16d3(){const _0x30af7b=['UniverSheetsTable','UniverSheetsDrawingUIPlugin','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','darkMode$','location','MenuItemType','UniverProEditHistoryViewer','_config','_sidebarService','getUnitId','getUnit','map','LS_CONFIG_KEY','_collaborationController','eventID','setConfig','subscribe','getCurrentLocale','_initContainer','ComponentManager','_localeService','Plugin','getCurrentUnitOfType','ThemeService','merge','whenReady','call','UniverSheetsDrawingPlugin','UniverSheetsChartPlugin','string','UniverSheetsTablePlugin','state$','editHistory.panel.reverting','_menuManagerService','848912fyVtlD','position','registerCommand','width','_messageService','UniverMobileUIPlugin','_updateSubUnitFromURLParams','add','every','mountHistoryContent','UniverSheetsDataValidationUi','defs','UniverEngineRender','AuthzIoHttpService','UniverSheetsUIPlugin','BehaviorSubject','http://www.w3.org/2000/svg','UniverCollaborationPlugin','UniverSheetSparklinePlugin','onSteady','UniverRpc','children','_injector','historyPanelHidden','MobileHistoryLoaderService','WorkbookEditablePermission','Inject','IMessageService','IAuthzIoService','appendChild','UniverSheetsShapePlugin','current','random','editHistory.panel.title','style','mask','UniverSheetsDataValidationPlugin','_pluginMap','has','7312CiawCq','pipe','display','entries','IURLService','absolute','UniverSheetsPlugin','fromCollab','ISidebarService','use','Exited','history-icon','14049flReXS','decorate','set','UniverSheetsShapeUIPlugin','trim','executeCommand','UniverSheetsHyperLinkPlugin','UniverDrawingPlugin','Injector','mergeMenu','zIndex','prototype','UniverSheetsFilter','getSubunitRuleList','removeAll','IPermissionService','historyListServerUrl','_historyManagerService','event$','UniverSheetsDrawingUi','UniverSheetsNumfmtPlugin','getMenuHiddenObservable','object','CollaborationEvent','disposeWithMe','revertRevision$','UniverSheetsNumfmt','UniverUi','status','path','subunit','uComp','CHANGESET_ACK','currentColor','UniverSheetsHyperLink','UniverLicensePlugin','_handleRevertAcknowledgement','attrs','_localCacheService','UniverSheetsHyperLinkUi','UniverSheetsFormula','React','idSuffix','toStringTag','UniverDataValidationPlugin','get','SYNCED','IUniverInstanceService','getSheetBySheetId','editHistory.info.initializing','HistoryIcon','getCollabEntity','__getInjector','Disposable','historyUniver$','DisposableCollection','xlink:href','function','UniverSheetsConditionalFormattingPlugin','UniverDocsUi','params','[HistoryLoaderService]:\x20Plugin\x20','UniverSheetsFormulaUIPlugin','UniverProSheetsShape','then','UniverDrawing','UniverSheetsFilterPlugin','UniverDesign','url(#history-icon_clip0_907_281)','top','invoke','block','assign','getConfig','_disposableCollection','terminate','UniverSheetsUi','7UTHxOy','ICommandService','UniverSheetSparklineUIPlugin','_revertErrorTimer','symbol','toDisposable','height','_univerInstanceService','DataLoaderService','register','ILocalCacheService','replace','univer.operation.exit-edit-history','unMountHistoryContent','ToggleEditHistoryOperation','UniverProSheetsShapeUi','triggerCustomVersions','fill','triggerLoadVersions','univer.operation.toggle-edit-history','permissionId','OTHERS','forEach','tag','SetWorksheetActivateCommand','toPrimitive','UNIVER_UNKNOWN','UniverProSheetsPivot','UniverProCollaboration','registerPlugin','clear','EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY','getSheetCommandTarget','Entered','RxDisposable','UniverSheetsFormulaPlugin','getParam','UniverSheetsFilterUIPlugin','toString','none','UniverEngineFormula','UniverSheetsChartUIPlugin','menu','historyPanelComponentKey','dispose$','MessageType','HistoryModeStatus','history-icon_clip0_907_281','UniverRPCMainThreadPlugin','default','UNIVER_HISTORY_CONTAINER_ID','next','DependentOn','UniverEditHistoryLoaderMobilePlugin','white','show','UniverIcon','UniverDrawingUi','UniverSheetsFilterUi','UniverSheetsDataValidationMobileUIPlugin','univerContainerId','RevertRevisionMutation','UniverSheets','historyUniver','values','edit-history-loader.config','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','_historyUniver$','disposeUnit','UniverProSheetsChart','UniverUIPlugin','_initListener','WorkbookRecoverHistoryPermission','_componentManager','UniverNetworkPlugin','UniverSheetsHyperLinkUIPlugin','takeUntil','UniverProEditHistoryLoader','CollaborationStatus','Workbook','exhaustSavingTask','WorksheetEditPermission','IDialogService','_updateURLWithCurrentState','_urlService','Loading','status$','UniverSheetsConditionalFormattingUi','value','univer-history-container-mobile','RangeProtectionRuleModel','getElementById','BUTTON','univerjs-icon\x20univerjs-icon-','iterator','forwardRef','dataset','UniverRenderEnginePlugin','activeSheet$','currentTheme$','\x20has\x20been\x20registered.','data','1591624yIPsWw','3505230NtNyUN','_configService','pluginName','getLocales','urlChange$','reload','univer-history-container','createElement','dispose','@univerjs-pro/edit-history-loader','UniverEditHistoryViewerPlugin','UNIVER_CONTAINER_ID_KEY','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','combineLatest','split','session','CollaborationController','UniverInstanceType','unsubscribe','CommandType','UniverCore','RibbonStartGroup','setDarkMode','WorkbookViewHistoryPermission','_setupSubUnitSync','UNIVER_SHEET','length','getAllPlugins','setTheme','composePermission','colorChannel1','LocaleService','_init','mutations','IMenuManagerService','HistoryLoaderService','537016VLYzcx','editHistory.panel.revertFailed','UniverProSheetsChartUi','_initUniver','displayName','onStarting','getSheets','_selectionProtectionRuleModel','_themeService','0\x200\x2016\x2016','IImageIoService','amd','UniverSheetsPivotTablePlugin','UNIVER_CONTAINER_ID','UniverProCollaborationClientUi','asObservable','setParam','491139TGUval','UniverFormulaEnginePlugin','IConfigService','UniverDocsPlugin','getCurrentRangeDisable$','left','flat','_internalWebWorker','close','packageName','from','100%','_initPlugins','Univer','_permissionService','onCommandExecuted','2598504CCAaKe','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getActiveSheet','UniverDocsUIPlugin','Error','editHistory.panel.listFetchError','UniverProCollaborationClient','RangeProtectionPermissionEditPoint','_dialogService','UniverSheetsConditionalFormattingUIPlugin','_dataLoaderService','rxjs','constructor','defineProperty','history-container','_commandService','M0\x200H16V16H0z','setLocale','HistoryManagerService','loadUnit','closeAll','getUnhiddenWorksheets','some','UniverProLicense','_checkCanRevert','getSheetId'];_0x16d3=function(){return _0x30af7b;};return _0x16d3();}(function(_0x49a6e5,_0xcb0f57){const _0x46d8fc=_0x3886,_0xa08c4=_0x49a6e5();while(!![]){try{const _0x11b37b=-parseInt(_0x46d8fc(0xfa))/0x1+-parseInt(_0x46d8fc(0x157))/0x2+parseInt(_0x46d8fc(0x10b))/0x3+-parseInt(_0x46d8fc(0xd5))/0x4+parseInt(_0x46d8fc(0xd6))/0x5+parseInt(_0x46d8fc(0x11b))/0x6*(-parseInt(_0x46d8fc(0x6f))/0x7)+parseInt(_0x46d8fc(0x17e))/0x8*(parseInt(_0x46d8fc(0x18a))/0x9);if(_0x11b37b===_0xcb0f57)break;else _0xa08c4['push'](_0xa08c4['shift']());}catch(_0x4fe867){_0xa08c4['push'](_0xa08c4['shift']());}}}(_0x16d3,0x79d6b),function(_0x3ae8d8,_0x2858ca){const _0xf9704c=_0x3886;typeof exports==_0xf9704c(0x1a0)&&typeof module<'u'?_0x2858ca(exports,require(`@univerjs/core`),require(`@univerjs/sheets`),require(`@univerjs-pro/collaboration`),require(`@univerjs-pro/collaboration-client`),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-shape`),require(`@univerjs-pro/sheets-shape-ui`),require(`@univerjs-pro/sheets-sparkline`),require(`@univerjs-pro/sheets-sparkline-ui`),require(`@univerjs/data-validation`),require(`@univerjs/design`),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-table`),require(`@univerjs/sheets-ui`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs-pro/collaboration-client-ui`),require(`react`)):typeof define=='function'&&define[_0xf9704c(0x105)]?define('exports.@univerjs/core.@univerjs/sheets.@univerjs-pro/collaboration.@univerjs-pro/collaboration-client.@univerjs-pro/edit-history-viewer.@univerjs-pro/license.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-chart-ui.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-shape-ui.@univerjs-pro/sheets-sparkline.@univerjs-pro/sheets-sparkline-ui.@univerjs/data-validation.@univerjs/design.@univerjs/docs.@univerjs/docs-ui.@univerjs/drawing.@univerjs/drawing-ui.@univerjs/engine-formula.@univerjs/engine-render.@univerjs/network.@univerjs/rpc.@univerjs/sheets-conditional-formatting.@univerjs/sheets-conditional-formatting-ui.@univerjs/sheets-data-validation.@univerjs/sheets-data-validation-ui.@univerjs/sheets-drawing.@univerjs/sheets-drawing-ui.@univerjs/sheets-filter.@univerjs/sheets-filter-ui.@univerjs/sheets-formula.@univerjs/sheets-formula-ui.@univerjs/sheets-hyper-link.@univerjs/sheets-hyper-link-ui.@univerjs/sheets-numfmt.@univerjs/sheets-table.@univerjs/sheets-ui.@univerjs/ui.rxjs.@univerjs-pro/collaboration-client-ui.react'[_0xf9704c(0xe4)]('.'),_0x2858ca):(_0x3ae8d8=typeof globalThis<'u'?globalThis:_0x3ae8d8||self,_0x2858ca(_0x3ae8d8[_0xf9704c(0xbc)]={},_0x3ae8d8[_0xf9704c(0xea)],_0x3ae8d8[_0xf9704c(0xad)],_0x3ae8d8[_0xf9704c(0x8b)],_0x3ae8d8[_0xf9704c(0x121)],_0x3ae8d8[_0xf9704c(0x13b)],_0x3ae8d8[_0xf9704c(0x132)],_0x3ae8d8[_0xf9704c(0xb4)],_0x3ae8d8[_0xf9704c(0xfc)],_0x3ae8d8[_0xf9704c(0x8a)],_0x3ae8d8[_0xf9704c(0x1c9)],_0x3ae8d8[_0xf9704c(0x7e)],_0x3ae8d8['UniverProSheetsSparkline'],_0x3ae8d8['UniverProSheetsSparklineUi'],_0x3ae8d8['UniverDataValidation'],_0x3ae8d8[_0xf9704c(0x1cd)],_0x3ae8d8['UniverDocs'],_0x3ae8d8[_0xf9704c(0x1c5)],_0x3ae8d8[_0xf9704c(0x1cb)],_0x3ae8d8[_0xf9704c(0xa8)],_0x3ae8d8[_0xf9704c(0x97)],_0x3ae8d8[_0xf9704c(0x163)],_0x3ae8d8['UniverNetwork'],_0x3ae8d8[_0xf9704c(0x16b)],_0x3ae8d8['UniverSheetsConditionalFormatting'],_0x3ae8d8[_0xf9704c(0xc6)],_0x3ae8d8['UniverSheetsDataValidation'],_0x3ae8d8[_0xf9704c(0x161)],_0x3ae8d8['UniverSheetsDrawing'],_0x3ae8d8[_0xf9704c(0x19d)],_0x3ae8d8[_0xf9704c(0x196)],_0x3ae8d8[_0xf9704c(0xa9)],_0x3ae8d8[_0xf9704c(0x1b2)],_0x3ae8d8['UniverSheetsFormulaUi'],_0x3ae8d8[_0xf9704c(0x1ac)],_0x3ae8d8[_0xf9704c(0x1b1)],_0x3ae8d8[_0xf9704c(0x1a4)],_0x3ae8d8[_0xf9704c(0x135)],_0x3ae8d8[_0xf9704c(0x6e)],_0x3ae8d8[_0xf9704c(0x1a5)],_0x3ae8d8[_0xf9704c(0x126)],_0x3ae8d8[_0xf9704c(0x108)],_0x3ae8d8[_0xf9704c(0x1b3)]));}(this,function(_0xdb52b,_0x412010,_0x136342,_0x597de7,_0x110681,_0xad21ce,_0xa92606,_0x13a5b7,_0x14cbfe,_0x574451,_0x4dccbb,_0x283344,_0x342fba,_0x394d70,_0x4f122e,_0x153d7c,_0x3a8973,_0x575f91,_0x58aeae,_0x1959e3,_0x2a0b4b,_0x54884c,_0x3b1006,_0x283f0d,_0x137584,_0xd473da,_0x3d8376,_0x24998c,_0x5b45f0,_0x27a0cb,_0x8d1937,_0x189537,_0xa1db9b,_0x2596de,_0x2f751c,_0x9f6010,_0x5790d8,_0x317470,_0x1f610d,_0x284ec3,_0x121a50,_0x2fda48,_0x30721f){const _0x45b811=_0x3886;Object[_0x45b811(0x128)](_0xdb52b,Symbol[_0x45b811(0x1b5)],{'value':'Module'});let _0x149075=_0x45b811(0xb0);Symbol(_0x149075);let _0x5df63e={};function _0x4b67f4(_0x21535d){'@babel/helpers - typeof';const _0x5cd6f7=_0x45b811;return _0x4b67f4=typeof Symbol==_0x5cd6f7(0x1c3)&&typeof Symbol[_0x5cd6f7(0xcd)]==_0x5cd6f7(0x73)?function(_0x5c0898){return typeof _0x5c0898;}:function(_0x3713ec){const _0x52cabc=_0x5cd6f7;return _0x3713ec&&typeof Symbol==_0x52cabc(0x1c3)&&_0x3713ec[_0x52cabc(0x127)]===Symbol&&_0x3713ec!==Symbol[_0x52cabc(0x195)]?'symbol':typeof _0x3713ec;},_0x4b67f4(_0x21535d);}function _0x492c3e(_0x215fe5,_0x5cf206){const _0x5677f9=_0x45b811;if(_0x4b67f4(_0x215fe5)!='object'||!_0x215fe5)return _0x215fe5;var _0x176a94=_0x215fe5[Symbol[_0x5677f9(0x88)]];if(_0x176a94!==void 0x0){var _0x33a391=_0x176a94[_0x5677f9(0x14f)](_0x215fe5,_0x5cf206||_0x5677f9(0xa0));if(_0x4b67f4(_0x33a391)!=_0x5677f9(0x1a0))return _0x33a391;throw TypeError(_0x5677f9(0x11c));}return(_0x5cf206===_0x5677f9(0x152)?String:Number)(_0x215fe5);}function _0xf5ee05(_0x2c051a){const _0x22b997=_0x45b811;var _0x44c3df=_0x492c3e(_0x2c051a,_0x22b997(0x152));return _0x4b67f4(_0x44c3df)==_0x22b997(0x73)?_0x44c3df:_0x44c3df+'';}function _0x57c8f2(_0x37b7e8,_0x1e54c1,_0x31a2fe){const _0x30c9b0=_0x45b811;return(_0x1e54c1=_0xf5ee05(_0x1e54c1))in _0x37b7e8?Object[_0x30c9b0(0x128)](_0x37b7e8,_0x1e54c1,{'value':_0x31a2fe,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x37b7e8[_0x1e54c1]=_0x31a2fe,_0x37b7e8;}function _0x132994(_0x24e5e5,_0x574b5f){return function(_0x55c1e1,_0x34b710){_0x574b5f(_0x55c1e1,_0x34b710,_0x24e5e5);};}function _0x58019a(_0x29a858,_0x10baf1,_0x2b2022,_0x42cb17){const _0x494c83=_0x45b811;var _0x51ab5d=arguments[_0x494c83(0xf0)],_0x224ab0=_0x51ab5d<0x3?_0x10baf1:_0x42cb17===null?_0x42cb17=Object['getOwnPropertyDescriptor'](_0x10baf1,_0x2b2022):_0x42cb17,_0x5e5fb3;if(typeof Reflect==_0x494c83(0x1a0)&&typeof Reflect['decorate']=='function')_0x224ab0=Reflect[_0x494c83(0x18b)](_0x29a858,_0x10baf1,_0x2b2022,_0x42cb17);else{for(var _0x1dafc4=_0x29a858['length']-0x1;_0x1dafc4>=0x0;_0x1dafc4--)(_0x5e5fb3=_0x29a858[_0x1dafc4])&&(_0x224ab0=(_0x51ab5d<0x3?_0x5e5fb3(_0x224ab0):_0x51ab5d>0x3?_0x5e5fb3(_0x10baf1,_0x2b2022,_0x224ab0):_0x5e5fb3(_0x10baf1,_0x2b2022))||_0x224ab0);}return _0x51ab5d>0x3&&_0x224ab0&&Object[_0x494c83(0x128)](_0x10baf1,_0x2b2022,_0x224ab0),_0x224ab0;}let _0x25fbf7='UNIVER_CONTAINER_ID',_0x40de2d=_0x45b811(0xdc),_0x595023=class extends _0x412010[_0x45b811(0x1bf)]{constructor(_0x54b22a,_0x132623,_0x5a9e7f,_0x4bba21,_0x10a837,_0x153fbd,_0xd226e,_0xb851d4,_0x19f025,_0x1a1e4b){const _0x522dd5=_0x45b811;super(),this['_localeService']=_0x54b22a,this[_0x522dd5(0x76)]=_0x132623,this[_0x522dd5(0xd7)]=_0x5a9e7f,this[_0x522dd5(0x12a)]=_0x4bba21,this[_0x522dd5(0x15b)]=_0x10a837,this['_permissionService']=_0x153fbd,this['_selectionProtectionRuleModel']=_0xd226e,this[_0x522dd5(0x123)]=_0xb851d4,this[_0x522dd5(0x13d)]=_0x19f025,this[_0x522dd5(0x102)]=_0x1a1e4b,_0x57c8f2(this,_0x522dd5(0xb2),new _0x121a50[(_0x522dd5(0x166))](null)),_0x57c8f2(this,'historyUniver$',this[_0x522dd5(0xb2)]['asObservable']()),_0x57c8f2(this,_0x522dd5(0x6c),new _0x412010[(_0x522dd5(0x1c1))]()),_0x57c8f2(this,_0x522dd5(0x17c),new Map()),_0x57c8f2(this,_0x522dd5(0x112),null),this['_init']();}get[_0x45b811(0xae)](){return this['_historyUniver$']['value'];}['_init'](){const _0x17a16b=_0x45b811;this[_0x17a16b(0x147)](),this['_initPlugins']();}[_0x45b811(0x147)](){const _0x320b47=_0x45b811;var _0x1132e2;let _0x53b544=(_0x1132e2=this[_0x320b47(0xd7)][_0x320b47(0x6b)](_0x320b47(0x107)))==null?'univer-container':_0x1132e2,_0x9b891d=document[_0x320b47(0xca)](_0x53b544);if(!_0x9b891d)return;let _0x16c1a7=document[_0x320b47(0xdd)]('div');_0x16c1a7['id']=_0x40de2d,_0x16c1a7[_0x320b47(0xcf)][_0x320b47(0x1a9)]=_0x320b47(0x129),_0x16c1a7[_0x320b47(0x179)][_0x320b47(0x158)]=_0x320b47(0x183),_0x16c1a7[_0x320b47(0x179)][_0x320b47(0x67)]='0',_0x16c1a7['style'][_0x320b47(0x110)]='0',_0x16c1a7['style'][_0x320b47(0x15a)]='100%',_0x16c1a7[_0x320b47(0x179)][_0x320b47(0x75)]=_0x320b47(0x116),_0x16c1a7['style'][_0x320b47(0x194)]='49',_0x16c1a7[_0x320b47(0x179)][_0x320b47(0x180)]=_0x320b47(0x96),_0x9b891d[_0x320b47(0x174)](_0x16c1a7);}[_0x45b811(0x117)](){const _0x46b3f8=_0x45b811;[[_0x54884c['UniverRenderEnginePlugin']],[_0x284ec3[_0x46b3f8(0xb5)],{'container':_0x40de2d,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x284ec3[_0x46b3f8(0xc1)],null]]}],[_0x3b1006[_0x46b3f8(0xb9)]],[_0x58aeae[_0x46b3f8(0x191)],{'override':[[_0x58aeae[_0x46b3f8(0x104)],null]]}],[_0x3a8973[_0x46b3f8(0x10e)],{'hasScroll':!0x1}],[_0x575f91[_0x46b3f8(0x11e)]],[_0x5790d8[_0x46b3f8(0x19e)]],[_0x136342[_0x46b3f8(0x184)],{'notExecuteFormula':!0x0}],[_0x1f610d[_0x46b3f8(0x165)]],[_0xa1db9b[_0x46b3f8(0x92)]],[_0x2596de[_0x46b3f8(0x1c8)]],[_0x597de7[_0x46b3f8(0x168)]],[_0x8d1937['UniverSheetsFilterPlugin']],[_0x189537[_0x46b3f8(0x94)]],[_0x137584[_0x46b3f8(0x1c4)]],[_0xd473da[_0x46b3f8(0x124)]],[_0x2f751c[_0x46b3f8(0x190)]],[_0x9f6010[_0x46b3f8(0xba)]],[_0x4f122e[_0x46b3f8(0x1b6)]],[_0x3d8376[_0x46b3f8(0x17b)]],[_0x24998c['UniverSheetsDataValidationUIPlugin']],[_0x2a0b4b[_0x46b3f8(0x10c)],{'notExecuteFormula':!0x0}],[_0x1959e3['UniverDrawingUIPlugin']],[_0x5b45f0['UniverSheetsDrawingPlugin']],[_0x27a0cb[_0x46b3f8(0x136)]],[_0x342fba[_0x46b3f8(0x169)]],[_0x394d70[_0x46b3f8(0x71)]],[_0x13a5b7[_0x46b3f8(0x151)]],[_0x14cbfe['UniverSheetsChartUIPlugin']],[_0x4dccbb[_0x46b3f8(0x175)]],[_0x283344[_0x46b3f8(0x18d)]],[_0x574451['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x317470['UniverSheetsTablePlugin']]][_0x46b3f8(0x85)](([_0x2e1aa0,_0xa1165f])=>this[_0x46b3f8(0x8c)](_0x2e1aa0,_0xa1165f));}[_0x45b811(0xde)](){const _0x15eef8=_0x45b811;super['dispose'](),this['unMountHistoryContent'](),this[_0x15eef8(0x17c)][_0x15eef8(0x8d)]();}[_0x45b811(0x8c)](_0xebb6e7,_0x5949ef,_0x537d64){const _0x2494bd=_0x45b811;if(this[_0x2494bd(0x17c)][_0x2494bd(0x17d)](_0xebb6e7[_0x2494bd(0xd8)])&&!_0x537d64)throw Error(_0x2494bd(0x1c7)+_0xebb6e7[_0x2494bd(0xd8)]+_0x2494bd(0xd3));this['_pluginMap'][_0x2494bd(0x18c)](_0xebb6e7['pluginName'],[_0xebb6e7,_0x5949ef]);}[_0x45b811(0xf1)](){const _0x4ccd14=_0x45b811;return Array[_0x4ccd14(0x115)](this[_0x4ccd14(0x17c)][_0x4ccd14(0xaf)]());}[_0x45b811(0x160)](_0x4a2fe9,_0x1f4552){const _0x5f0e18=_0x45b811;let _0x467bdb=document['getElementById'](_0x40de2d);_0x467bdb&&(_0x467bdb[_0x5f0e18(0x179)]['display']=_0x5f0e18(0x69),this[_0x5f0e18(0xfd)](_0x4a2fe9,_0x40de2d,_0x1f4552));}[_0x45b811(0x7c)](){const _0x12c9f8=_0x45b811;var _0x35ba36;this[_0x12c9f8(0x6c)][_0x12c9f8(0xde)](),(_0x35ba36=this[_0x12c9f8(0xae)])==null||_0x35ba36['dispose'](),this[_0x12c9f8(0xb2)][_0x12c9f8(0xa2)](null);let _0x4ffac3=document[_0x12c9f8(0xca)](_0x40de2d);_0x4ffac3&&(_0x4ffac3['style'][_0x12c9f8(0x180)]='none',this[_0x12c9f8(0x112)]&&(this['_internalWebWorker'][_0x12c9f8(0x6d)](),this[_0x12c9f8(0x112)]=null));}[_0x45b811(0xfd)](_0x465881,_0x331dc7,_0x3726b0){const _0x17ff3b=_0x45b811;var _0xf9d917,_0xb1b528,_0x45c19e,_0x33b106,_0x4989e5;if(this[_0x17ff3b(0xae)])return;let _0x17caf4=new _0x412010[(_0x17ff3b(0x118))]({'locales':{[this[_0x17ff3b(0x149)][_0x17ff3b(0x146)]()]:this['_localeService']['getLocales']()},'override':[[_0x412010[_0x17ff3b(0x173)],{'useClass':_0x110681[_0x17ff3b(0x164)]}]]}),_0x2117ff=_0x17caf4['__getInjector']();this[_0x17ff3b(0x1a2)](this['_themeService'][_0x17ff3b(0x138)][_0x17ff3b(0x145)](_0x28c99b=>{const _0x5ed642=_0x17ff3b;_0x2117ff[_0x5ed642(0x1b7)](_0x412010[_0x5ed642(0x14c)])[_0x5ed642(0xec)](_0x28c99b);})),this[_0x17ff3b(0x1a2)](this[_0x17ff3b(0x102)][_0x17ff3b(0xd2)][_0x17ff3b(0x145)](_0xbce279=>{const _0x1baed6=_0x17ff3b;_0x2117ff['get'](_0x412010[_0x1baed6(0x14c)])[_0x1baed6(0xf2)](_0xbce279);})),_0x2117ff[_0x17ff3b(0x1b7)](_0x412010['LocaleService'])[_0x17ff3b(0x12c)](this[_0x17ff3b(0x149)]['getCurrentLocale']()),_0x2117ff[_0x17ff3b(0x1b7)](_0x412010[_0x17ff3b(0x10d)])['setConfig'](_0x110681[_0x17ff3b(0xe2)],this[_0x17ff3b(0xd7)][_0x17ff3b(0x6b)](_0x110681[_0x17ff3b(0xe2)]));let _0x2d1cb4=this[_0x17ff3b(0xd7)]['getConfig'](_0xa92606[_0x17ff3b(0x141)]);_0x2d1cb4&&_0x17caf4['registerPlugin'](_0xa92606[_0x17ff3b(0x1ad)],{'license':_0x2d1cb4['ls']});let _0x56c25a=(_0xf9d917=this[_0x17ff3b(0xd7)][_0x17ff3b(0x6b)](_0x17ff3b(0xb0)))==null?void 0x0:_0xf9d917['workerURL'],_0x2ba1ab=!!_0x56c25a;_0x2ba1ab&&(this[_0x17ff3b(0x112)]=_0x56c25a instanceof Worker?_0x56c25a:null,_0x17caf4['registerPlugin'](_0x283f0d[_0x17ff3b(0x9f)],{'workerURL':_0x56c25a})),this[_0x17ff3b(0x17c)][_0x17ff3b(0x85)](([_0x2c374a,_0x24f3ee])=>{const _0xe1e083=_0x17ff3b;_0x17caf4[_0xe1e083(0x8c)](_0x2c374a,_0x24f3ee);}),_0x17caf4['registerPlugin'](_0xad21ce[_0x17ff3b(0xe0)],{'historyListServerUrl':(_0xb1b528=this[_0x17ff3b(0xd7)][_0x17ff3b(0x6b)](_0x17ff3b(0xb0)))==null?void 0x0:_0xb1b528['historyListServerUrl'],'historyPanelComponentKey':(_0x45c19e=this[_0x17ff3b(0xd7)][_0x17ff3b(0x6b)](_0x17ff3b(0xb0)))==null?void 0x0:_0x45c19e[_0x17ff3b(0x9a)],'historyPanelHidden':(_0x33b106=this[_0x17ff3b(0xd7)][_0x17ff3b(0x6b)]('edit-history-loader.config'))==null?void 0x0:_0x33b106[_0x17ff3b(0x16e)],'historyAIassistantEnabled':(_0x4989e5=this[_0x17ff3b(0xd7)]['getConfig'](_0x17ff3b(0xb0)))==null?void 0x0:_0x4989e5['historyAIassistantEnabled']}),_0x2117ff['invoke'](_0x1c30f3=>{const _0x3ba60d=_0x17ff3b;this[_0x3ba60d(0xb6)](_0x1c30f3,_0x465881);}),this[_0x17ff3b(0xb2)][_0x17ff3b(0xa2)](_0x17caf4);let _0x314ad0=_0x2117ff[_0x17ff3b(0x1b7)](_0xad21ce[_0x17ff3b(0x12d)]),_0x574981=this[_0x17ff3b(0x133)](_0x465881),_0x241808=()=>{const _0x5a6eef=_0x17ff3b;_0x3726b0?_0x314ad0[_0x5a6eef(0x7f)](_0x465881,_0x331dc7,_0x574981,_0x3726b0):_0x314ad0['triggerLoadVersions'](_0x465881,_0x331dc7,_0x574981);};if(this['_messageService'][_0x17ff3b(0xa6)]({'content':this[_0x17ff3b(0x149)]['t'](_0x17ff3b(0x1bb)),'type':_0x153d7c[_0x17ff3b(0x9c)][_0x17ff3b(0xc4)]}),_0x2ba1ab)try{_0x2117ff['get'](_0x283f0d['IRemoteInstanceService'])['whenReady']()[_0x17ff3b(0x1ca)](()=>{_0x241808();});}catch{_0x241808();}else _0x241808();}[_0x45b811(0xb6)](_0x49f821,_0x4bf2aa){const _0x5d8942=_0x45b811;let _0x5cc265=_0x49f821[_0x5d8942(0x1b7)](_0xad21ce['HistoryManagerService']);this['_disposableCollection']['add'](_0x5cc265[_0x5d8942(0xc5)][_0x5d8942(0x145)](_0x50ac7f=>{const _0x1b83cc=_0x5d8942;switch(_0x50ac7f){case _0xad21ce[_0x1b83cc(0x9d)][_0x1b83cc(0x90)]:this[_0x1b83cc(0x123)][_0x1b83cc(0x12f)](),this[_0x1b83cc(0x13d)]['close']();break;case _0xad21ce[_0x1b83cc(0x9d)][_0x1b83cc(0x188)]:this[_0x1b83cc(0x12a)]['executeCommand'](_0x5cf7c7['id']),this[_0x1b83cc(0x7c)]();break;case _0xad21ce[_0x1b83cc(0x9d)][_0x1b83cc(0x11f)]:this['unMountHistoryContent'](),this[_0x1b83cc(0x15b)]['show']({'content':this[_0x1b83cc(0x149)]['t'](_0x1b83cc(0x120)),'type':_0x153d7c[_0x1b83cc(0x9c)]['Error'],'duration':0xbb8});break;default:break;}})),this['_disposableCollection'][_0x5d8942(0x15e)](_0x5cc265[_0x5d8942(0x1a3)]['subscribe'](async _0x15902e=>{const _0x30ffe1=_0x5d8942;_0x15902e&&this[_0x30ffe1(0x12a)][_0x30ffe1(0x18f)](_0x597de7[_0x30ffe1(0xac)]['id'],{'unitId':_0x4bf2aa,'revision':_0x15902e});}));}[_0x45b811(0x133)](_0x4a4fc4){const _0x3057cb=_0x45b811;let _0x2189f8=this[_0x3057cb(0x76)][_0x3057cb(0x13f)](_0x4a4fc4)[_0x3057cb(0x100)]()[_0x3057cb(0x140)](_0x192139=>_0x192139['getSheetId']()),_0x225cd7=new _0x136342[(_0x3057cb(0x170))](_0x4a4fc4)['id'],_0xe8a78a=_0x2189f8[_0x3057cb(0x140)](_0x321f9f=>new _0x136342[(_0x3057cb(0xc0))](_0x4a4fc4,_0x321f9f)['id']),_0x342dbb=_0x2189f8[_0x3057cb(0x140)](_0x3b1293=>this['_selectionProtectionRuleModel'][_0x3057cb(0x197)](_0x4a4fc4,_0x3b1293)[_0x3057cb(0x140)](_0x2f1718=>new _0x136342[(_0x3057cb(0x122))](_0x4a4fc4,_0x3b1293,_0x2f1718[_0x3057cb(0x83)])['id']))[_0x3057cb(0x111)](),_0x5ec140=new _0x136342[(_0x3057cb(0xb7))](_0x4a4fc4)['id'];return this[_0x3057cb(0x119)][_0x3057cb(0xf3)]([_0x225cd7,..._0xe8a78a,..._0x342dbb,_0x5ec140])[_0x3057cb(0x15f)](_0xd1dba5=>!!_0xd1dba5['value']);}};_0x595023=_0x58019a([_0x132994(0x0,(0x0,_0x412010[_0x45b811(0x171)])(_0x412010[_0x45b811(0xf5)])),_0x132994(0x1,_0x412010[_0x45b811(0x1b9)]),_0x132994(0x2,_0x412010[_0x45b811(0x10d)]),_0x132994(0x3,_0x412010[_0x45b811(0x70)]),_0x132994(0x4,_0x284ec3['IMessageService']),_0x132994(0x5,_0x412010[_0x45b811(0x199)]),_0x132994(0x6,(0x0,_0x412010[_0x45b811(0x171)])(_0x136342['RangeProtectionRuleModel'])),_0x132994(0x7,(0x0,_0x412010['Inject'])(_0x284ec3['IDialogService'])),_0x132994(0x8,(0x0,_0x412010['Inject'])(_0x284ec3[_0x45b811(0x186)])),_0x132994(0x9,(0x0,_0x412010[_0x45b811(0x171)])(_0x412010['ThemeService']))],_0x595023);let _0x549959={'id':_0x45b811(0x82),'type':_0x412010[_0x45b811(0xe9)]['OPERATION'],'handler':_0x3495eb=>{const _0x3c8039=_0x45b811;let _0x14984c=_0x3495eb['get'](_0x595023),{unitId:_0x2a1b9d}=(0x0,_0x136342[_0x3c8039(0x8f)])(_0x3495eb[_0x3c8039(0x1b7)](_0x412010[_0x3c8039(0x1b9)]))||{};return _0x2a1b9d?(_0x14984c['mountHistoryContent'](_0x2a1b9d),!0x0):!0x1;}},_0x5cf7c7={'id':_0x45b811(0x7b),'type':_0x412010['CommandType']['OPERATION'],'handler':()=>!0x0};var _0x42d231=_0x45b811(0xdf),_0x108dc4='0.21.1';function _0x1d3024({ref:_0x4eb592,..._0x26c5a2}){const _0x462880=_0x45b811;let {icon:_0x314e16,id:_0x326534,className:_0x56023e,extend:_0x5c8f29,..._0xd8fcaa}=_0x26c5a2,_0x1ea202=(_0x462880(0xcc)+_0x326534+'\x20'+(_0x56023e||''))[_0x462880(0x18e)](),_0x1ece99=(0x0,_0x30721f['useRef'])('_'+_0x1bdc55());return _0x26975a(_0x314e16,''+_0x326534,{'defIds':_0x314e16['defIds'],'idSuffix':_0x1ece99[_0x462880(0x176)]},{'ref':_0x4eb592,'className':_0x1ea202,..._0xd8fcaa},_0x5c8f29);}function _0x26975a(_0x18725b,_0x404dbd,_0x216a2e,_0x352e3f,_0x34670e){const _0x433138=_0x45b811;return(0x0,_0x30721f['createElement'])(_0x18725b[_0x433138(0x86)],{'key':_0x404dbd,..._0x218b40(_0x18725b,_0x216a2e,_0x34670e),..._0x352e3f},(_0x121d35(_0x18725b,_0x216a2e)[_0x433138(0x16c)]||[])[_0x433138(0x140)]((_0xd9f6c4,_0x7df2b)=>_0x26975a(_0xd9f6c4,_0x404dbd+'-'+_0x18725b[_0x433138(0x86)]+'-'+_0x7df2b,_0x216a2e,void 0x0,_0x34670e)));}function _0x218b40(_0x749678,_0x59d5db,_0x3c0f78){const _0x5867e0=_0x45b811;let _0x364d7b={..._0x749678[_0x5867e0(0x1af)]};_0x3c0f78!=null&&_0x3c0f78[_0x5867e0(0xf4)]&&_0x364d7b[_0x5867e0(0x80)]===_0x5867e0(0xf4)&&(_0x364d7b[_0x5867e0(0x80)]=_0x3c0f78['colorChannel1']),_0x749678[_0x5867e0(0x86)]===_0x5867e0(0x17a)&&_0x364d7b['id']&&(_0x364d7b['id']+=_0x59d5db[_0x5867e0(0x1b4)]),Object[_0x5867e0(0x181)](_0x364d7b)['forEach'](([_0x3bdc57,_0x3c5bdb])=>{const _0xfe109c=_0x5867e0;_0x3bdc57===_0xfe109c(0x17a)&&typeof _0x3c5bdb==_0xfe109c(0x152)&&(_0x364d7b[_0x3bdc57]=_0x3c5bdb['replace'](/url\(#(.*)\)/,'url(#$1'+_0x59d5db[_0xfe109c(0x1b4)]+')'));});let {defIds:_0x10a978}=_0x59d5db;return!_0x10a978||_0x10a978[_0x5867e0(0xf0)]===0x0?_0x364d7b:(_0x749678[_0x5867e0(0x86)]===_0x5867e0(0x187)&&_0x364d7b['xlink:href']&&(_0x364d7b[_0x5867e0(0x1c2)]+=_0x59d5db[_0x5867e0(0x1b4)]),Object[_0x5867e0(0x181)](_0x364d7b)[_0x5867e0(0x85)](([_0x53c544,_0x541ec0])=>{const _0x178b66=_0x5867e0;typeof _0x541ec0=='string'&&(_0x364d7b[_0x53c544]=_0x541ec0[_0x178b66(0x7a)](/url\(#(.*)\)/,'url(#$1'+_0x59d5db['idSuffix']+')'));}),_0x364d7b);}function _0x121d35(_0x3adf68,_0x5c8103){const _0x3c8c95=_0x45b811;var _0x583d07;let {defIds:_0x1b6b33}=_0x5c8103;return!_0x1b6b33||_0x1b6b33[_0x3c8c95(0xf0)]===0x0?_0x3adf68:_0x3adf68[_0x3c8c95(0x86)]===_0x3c8c95(0x162)&&(_0x583d07=_0x3adf68[_0x3c8c95(0x16c)])!=null&&_0x583d07['length']?{..._0x3adf68,'children':_0x3adf68[_0x3c8c95(0x16c)][_0x3c8c95(0x140)](_0x31133b=>typeof _0x31133b['attrs']['id']==_0x3c8c95(0x152)&&_0x1b6b33&&_0x1b6b33['includes'](_0x31133b['attrs']['id'])?{..._0x31133b,'attrs':{..._0x31133b[_0x3c8c95(0x1af)],'id':_0x31133b[_0x3c8c95(0x1af)]['id']+_0x5c8103[_0x3c8c95(0x1b4)]}}:_0x31133b)}:_0x3adf68;}function _0x1bdc55(){const _0x4946ae=_0x45b811;return Math[_0x4946ae(0x177)]()[_0x4946ae(0x95)](0x24)['substring'](0x2,0x8);}_0x1d3024[_0x45b811(0xfe)]=_0x45b811(0xa7);let _0x10cbec={'tag':'svg','attrs':{'xmlns':_0x45b811(0x167),'fill':'none','viewBox':_0x45b811(0x103),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x45b811(0x1ab),'clipPath':_0x45b811(0x1ce)},'children':[{'tag':_0x45b811(0x1a7),'attrs':{'d':'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'}},{'tag':'path','attrs':{'d':'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'}}]},{'tag':_0x45b811(0x162),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x45b811(0x9e)},'children':[{'tag':_0x45b811(0x1a7),'attrs':{'fill':_0x45b811(0xa5),'d':_0x45b811(0x12b)}}]}]}],'defIds':[_0x45b811(0x9e)]},_0x1af6a6=(0x0,_0x30721f[_0x45b811(0xce)])(function(_0xda8154,_0x57c07f){const _0x3a3209=_0x45b811;return(0x0,_0x30721f[_0x3a3209(0xdd)])(_0x1d3024,Object[_0x3a3209(0x6a)]({},_0xda8154,{'id':_0x3a3209(0x189),'ref':_0x57c07f,'icon':_0x10cbec}));});_0x1af6a6[_0x45b811(0xfe)]=_0x45b811(0x1bc);function _0x3348d5(_0x49fbe3){const _0x33b0ae=_0x45b811;return{'id':_0x549959['id'],'type':_0x284ec3[_0x33b0ae(0x13a)][_0x33b0ae(0xcb)],'icon':_0x33b0ae(0x1bc),'tooltip':_0x33b0ae(0x178),'hidden$':(0x0,_0x284ec3[_0x33b0ae(0x19f)])(_0x49fbe3,_0x412010[_0x33b0ae(0xe7)]['UNIVER_SHEET']),'disabled$':(0x0,_0x1f610d[_0x33b0ae(0x10f)])(_0x49fbe3,{'workbookTypes':[_0x136342[_0x33b0ae(0xed)]],'worksheetTypes':[],'rangeTypes':[]})};}let _0x840e2f={[_0x284ec3[_0x45b811(0xeb)][_0x45b811(0x84)]]:{[_0x549959['id']]:{'order':0.2,'menuItemFactory':_0x3348d5}}},_0x4f2ef7=class extends _0x412010[_0x45b811(0x91)]{constructor(_0x374c08,_0x178590,_0x5262e1,_0x30eaf6,_0x110707,_0xb009f0,_0x298029,_0x59c512,_0x2f4d1c,_0x4be5e1,_0x421603){const _0x156e65=_0x45b811;super(),this['_commandService']=_0x374c08,this[_0x156e65(0x156)]=_0x178590,this[_0x156e65(0xb8)]=_0x5262e1,this['_historyManagerService']=_0x30eaf6,this[_0x156e65(0x149)]=_0x110707,this[_0x156e65(0x15b)]=_0xb009f0,this[_0x156e65(0x142)]=_0x298029,this[_0x156e65(0x1b0)]=_0x59c512,this[_0x156e65(0x125)]=_0x2f4d1c,this['_univerInstanceService']=_0x4be5e1,this[_0x156e65(0xc3)]=_0x421603,_0x57c8f2(this,_0x156e65(0x72),null),this[_0x156e65(0xf6)]();}['_init'](){const _0x36e203=_0x45b811;[_0x549959,_0x5cf7c7][_0x36e203(0x85)](_0x46d235=>this[_0x36e203(0x1a2)]((0x0,_0x412010['toDisposable'])(this[_0x36e203(0x12a)][_0x36e203(0x159)](_0x46d235)))),this[_0x36e203(0x1a2)](this['_componentManager']['register'](_0x36e203(0x1bc),_0x1af6a6)),this[_0x36e203(0x156)][_0x36e203(0x193)](_0x840e2f),this['disposeWithMe'](this['_commandService'][_0x36e203(0x11a)](async(_0x1922d6,_0x8b3d45)=>{const _0x2085d2=_0x36e203;if(_0x1922d6['id']===_0x597de7[_0x2085d2(0xac)]['id']){let {unitId:_0x45842d}=_0x1922d6[_0x2085d2(0x1c6)];this[_0x2085d2(0x15b)][_0x2085d2(0xa6)]({'content':this[_0x2085d2(0x149)]['t'](_0x2085d2(0x155)),'type':_0x153d7c['MessageType'][_0x2085d2(0xc4)],'duration':0x1388});let _0x4f070a=this[_0x2085d2(0x142)][_0x2085d2(0x1bd)](_0x45842d);_0x8b3d45!=null&&_0x8b3d45[_0x2085d2(0x185)]?this[_0x2085d2(0x1ae)](_0x4f070a,async()=>(setTimeout(()=>window['location'][_0x2085d2(0xdb)]()),!0x0),!0x0):this[_0x2085d2(0x1ae)](_0x4f070a,async()=>{const _0x5d6cf3=_0x2085d2;let _0x4b4971=this['_univerInstanceService'][_0x5d6cf3(0x14b)](_0x412010[_0x5d6cf3(0xe7)]['UNIVER_SHEET']),_0x1a6d76=_0x4b4971==null?void 0x0:_0x4b4971[_0x5d6cf3(0x11d)]();if(!_0x1a6d76)return!0x1;this[_0x5d6cf3(0x76)]['disposeUnit'](_0x45842d);let _0x289ae6=await this['_dataLoaderService'][_0x5d6cf3(0x12e)](_0x45842d,_0x412010[_0x5d6cf3(0xe7)][_0x5d6cf3(0xef)]);return _0x289ae6&&_0x289ae6 instanceof _0x412010[_0x5d6cf3(0xbe)]?(await this[_0x5d6cf3(0xee)](_0x289ae6,_0x1a6d76[_0x5d6cf3(0x134)]()),!0x0):!0x1;});}}));}[_0x45b811(0x1ae)](_0x1a177b,_0x1de96c,_0x371cde=!0x1){const _0xfbec09=_0x45b811;let _0x57a3c2=(0x0,_0x121a50[_0xfbec09(0xe3)])([_0x1a177b[_0xfbec09(0xe5)][_0xfbec09(0x19c)],_0x1a177b[_0xfbec09(0x154)]])[_0xfbec09(0x145)](async([_0x1eb53f,_0x4f89dc])=>{const _0x51b067=_0xfbec09;if(_0x1eb53f[_0x51b067(0x143)]===_0x597de7[_0x51b067(0x1a1)][_0x51b067(0x1aa)]&&(_0x4f89dc==null?void 0x0:_0x4f89dc[_0x51b067(0x1a6)])===_0x110681[_0x51b067(0xbd)][_0x51b067(0x1b8)]&&_0x1eb53f[_0x51b067(0xd4)]['mutations']['some'](_0x10ef4d=>_0x10ef4d['id']===_0x597de7[_0x51b067(0xac)]['id'])&&await _0x1de96c()){var _0x1db9fc;this[_0x51b067(0x19b)][_0x51b067(0x7c)](),_0x57a3c2[_0x51b067(0xe8)](),this['_revertErrorTimer']&&clearTimeout(this[_0x51b067(0x72)]),await((_0x1db9fc=this['_localCacheService'])==null?void 0x0:_0x1db9fc[_0x51b067(0xbf)]()),this['_messageService'][_0x51b067(0x198)]();}});_0x371cde&&(this['_revertErrorTimer']=setTimeout(()=>{const _0x38da70=_0xfbec09;_0x57a3c2[_0x38da70(0xe8)](),this[_0x38da70(0x15b)][_0x38da70(0xa6)]({'content':this[_0x38da70(0x149)]['t'](_0x38da70(0xfb)),'type':_0x153d7c['MessageType'][_0x38da70(0x11f)],'duration':0xbb8});},0x1388));}async['_setupSubUnitSync'](_0x3189f5,_0x5b347c){const _0x4405de=_0x45b811;await this[_0x4405de(0x15d)](_0x3189f5,_0x5b347c),_0x3189f5[_0x4405de(0xd1)][_0x4405de(0x17f)]((0x0,_0x121a50[_0x4405de(0xbb)])(this[_0x4405de(0x9b)]))[_0x4405de(0x145)](_0x478e88=>{const _0x558344=_0x4405de;_0x478e88&&this[_0x558344(0xc2)](_0x478e88);}),this['_urlService'][_0x4405de(0xda)][_0x4405de(0x17f)]((0x0,_0x121a50[_0x4405de(0xbb)])(this['dispose$']))[_0x4405de(0x145)](()=>this['_updateSubUnitFromURLParams'](_0x3189f5,_0x5b347c));}[_0x45b811(0xc2)](_0x3ea7b7,_0x1b0ab2=!0x1){const _0x4869e1=_0x45b811;let _0x1c2baa=this[_0x4869e1(0xc3)][_0x4869e1(0x93)](_0x4869e1(0x1a8));_0x3ea7b7['getSheetId']()!==_0x1c2baa&&this[_0x4869e1(0xc3)][_0x4869e1(0x10a)]('subunit',_0x3ea7b7[_0x4869e1(0x134)](),_0x1b0ab2);}async[_0x45b811(0x15d)](_0x49b585,_0x569bb9){const _0x324071=_0x45b811;var _0x583869;if(!_0x569bb9||!_0x49b585[_0x324071(0x1ba)](_0x569bb9)){let _0x5d8f1c=_0x49b585[_0x324071(0x130)]()[0x0],_0x2d5f02=_0x49b585[_0x324071(0x1ba)](_0x5d8f1c);if(!_0x2d5f02)return;this[_0x324071(0xc2)](_0x2d5f02,!0x0),await this['_commandService'][_0x324071(0x18f)](_0x136342[_0x324071(0x87)]['id'],{'unitId':_0x49b585[_0x324071(0x13e)](),'subUnitId':_0x5d8f1c});return;}((_0x583869=_0x49b585['getActiveSheet']())==null?void 0x0:_0x583869[_0x324071(0x134)]())!==_0x569bb9&&await this[_0x324071(0x12a)][_0x324071(0x18f)](_0x136342[_0x324071(0x87)]['id'],{'unitId':_0x49b585[_0x324071(0x13e)](),'subUnitId':_0x569bb9});}};_0x4f2ef7=_0x58019a([_0x132994(0x0,_0x412010[_0x45b811(0x70)]),_0x132994(0x1,_0x284ec3[_0x45b811(0xf8)]),_0x132994(0x2,(0x0,_0x412010['Inject'])(_0x284ec3['ComponentManager'])),_0x132994(0x3,(0x0,_0x412010[_0x45b811(0x171)])(_0x595023)),_0x132994(0x4,(0x0,_0x412010[_0x45b811(0x171)])(_0x412010[_0x45b811(0xf5)])),_0x132994(0x5,_0x284ec3[_0x45b811(0x172)]),_0x132994(0x6,(0x0,_0x412010[_0x45b811(0x171)])(_0x110681[_0x45b811(0xe6)])),_0x132994(0x7,_0x110681['ILocalCacheService']),_0x132994(0x8,(0x0,_0x412010[_0x45b811(0x171)])(_0x110681[_0x45b811(0x77)])),_0x132994(0x9,_0x412010['IUniverInstanceService']),_0x132994(0xa,_0x2fda48[_0x45b811(0x182)])],_0x4f2ef7);let _0xacbcd3=_0x45b811(0xc8),_0x2f2a1f=class extends _0x412010[_0x45b811(0x1bf)]{constructor(_0xc6d8fd,_0x54d7fd,_0x394c3e,_0x420506,_0x1894b5,_0x3a0d18,_0x45042a,_0x213d63,_0x17f7af,_0x1b2cbd){const _0x539cf6=_0x45b811;super(),this[_0x539cf6(0x149)]=_0xc6d8fd,this[_0x539cf6(0x76)]=_0x54d7fd,this['_configService']=_0x394c3e,this[_0x539cf6(0x12a)]=_0x420506,this[_0x539cf6(0x15b)]=_0x1894b5,this['_permissionService']=_0x3a0d18,this[_0x539cf6(0x101)]=_0x45042a,this[_0x539cf6(0x123)]=_0x213d63,this['_sidebarService']=_0x17f7af,this['_themeService']=_0x1b2cbd,_0x57c8f2(this,_0x539cf6(0xb2),new _0x121a50[(_0x539cf6(0x166))](null)),_0x57c8f2(this,_0x539cf6(0x1c0),this[_0x539cf6(0xb2)][_0x539cf6(0x109)]()),_0x57c8f2(this,_0x539cf6(0x6c),new _0x412010[(_0x539cf6(0x1c1))]()),_0x57c8f2(this,_0x539cf6(0x17c),new Map()),_0x57c8f2(this,_0x539cf6(0x112),null),this[_0x539cf6(0xf6)]();}get[_0x45b811(0xae)](){const _0x5c8516=_0x45b811;return this[_0x5c8516(0xb2)][_0x5c8516(0xc7)];}['_init'](){const _0x4a1a4a=_0x45b811;this[_0x4a1a4a(0x147)](),this[_0x4a1a4a(0x117)]();}[_0x45b811(0x147)](){const _0x77953f=_0x45b811;var _0x45f47c;let _0x5930ff=(_0x45f47c=this['_configService'][_0x77953f(0x6b)](_0x77953f(0x107)))==null?'univer-container':_0x45f47c,_0x2e71a8=document[_0x77953f(0xca)](_0x5930ff);if(!_0x2e71a8)return;let _0x54f400=document['createElement']('div');_0x54f400['id']=_0xacbcd3,_0x54f400[_0x77953f(0xcf)][_0x77953f(0x1a9)]='history-container',_0x54f400[_0x77953f(0x179)][_0x77953f(0x158)]=_0x77953f(0x183),_0x54f400[_0x77953f(0x179)]['top']='0',_0x54f400['style'][_0x77953f(0x110)]='0',_0x54f400[_0x77953f(0x179)][_0x77953f(0x15a)]=_0x77953f(0x116),_0x54f400[_0x77953f(0x179)][_0x77953f(0x75)]=_0x77953f(0x116),_0x54f400[_0x77953f(0x179)][_0x77953f(0x194)]='49',_0x54f400[_0x77953f(0x179)][_0x77953f(0x180)]=_0x77953f(0x96),_0x2e71a8[_0x77953f(0x174)](_0x54f400);}[_0x45b811(0x117)](){const _0x8c43c=_0x45b811;[[_0x54884c[_0x8c43c(0xd0)]],[_0x284ec3[_0x8c43c(0x15c)],{'container':_0xacbcd3,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x284ec3[_0x8c43c(0xc1)],null]]}],[_0x3b1006[_0x8c43c(0xb9)]],[_0x58aeae[_0x8c43c(0x191)],{'override':[[_0x58aeae[_0x8c43c(0x104)],null]]}],[_0x3a8973[_0x8c43c(0x10e)],{'hasScroll':!0x1}],[_0x575f91['UniverDocsUIPlugin']],[_0x5790d8[_0x8c43c(0x19e)]],[_0x136342[_0x8c43c(0x184)],{'notExecuteFormula':!0x0}],[_0x1f610d['UniverSheetsMobileUIPlugin']],[_0xa1db9b['UniverSheetsFormulaPlugin']],[_0x2596de['UniverSheetsFormulaUIPlugin']],[_0x597de7[_0x8c43c(0x168)]],[_0x8d1937[_0x8c43c(0x1cc)]],[_0x137584['UniverSheetsConditionalFormattingPlugin']],[_0x2f751c['UniverSheetsHyperLinkPlugin']],[_0x9f6010['UniverSheetsHyperLinkUIPlugin']],[_0x4f122e['UniverDataValidationPlugin']],[_0x3d8376[_0x8c43c(0x17b)]],[_0x24998c[_0x8c43c(0xaa)]],[_0x2a0b4b['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0x1959e3['UniverDrawingUIPlugin']],[_0x5b45f0[_0x8c43c(0x150)]],[_0x27a0cb[_0x8c43c(0x136)]],[_0x342fba[_0x8c43c(0x169)]],[_0x394d70[_0x8c43c(0x71)]],[_0x13a5b7[_0x8c43c(0x151)]],[_0x14cbfe[_0x8c43c(0x98)]],[_0x4dccbb[_0x8c43c(0x175)]],[_0x283344['UniverSheetsShapeUIPlugin']],[_0x574451[_0x8c43c(0x106)],{'notExecuteFormula':!0x0}],[_0x317470[_0x8c43c(0x153)]]][_0x8c43c(0x85)](([_0xec195a,_0x14ae94])=>this['registerPlugin'](_0xec195a,_0x14ae94));}['dispose'](){const _0x331835=_0x45b811;super[_0x331835(0xde)](),this[_0x331835(0x7c)](),this[_0x331835(0x17c)][_0x331835(0x8d)]();}[_0x45b811(0x8c)](_0x3365f5,_0x2810a5,_0x13b7d3){const _0xa10c59=_0x45b811;if(this['_pluginMap'][_0xa10c59(0x17d)](_0x3365f5[_0xa10c59(0xd8)])&&!_0x13b7d3)throw Error('[MobileHistoryLoaderService]:\x20Plugin\x20'+_0x3365f5[_0xa10c59(0xd8)]+'\x20has\x20been\x20registered.');this[_0xa10c59(0x17c)][_0xa10c59(0x18c)](_0x3365f5[_0xa10c59(0xd8)],[_0x3365f5,_0x2810a5]);}[_0x45b811(0xf1)](){const _0x6c437f=_0x45b811;return Array['from'](this[_0x6c437f(0x17c)][_0x6c437f(0xaf)]());}[_0x45b811(0x160)](_0x1b6ba2,_0x34cae0){const _0x34d096=_0x45b811;let _0x15c0a3=document['getElementById'](_0xacbcd3);_0x15c0a3&&(_0x15c0a3['style'][_0x34d096(0x180)]=_0x34d096(0x69),this[_0x34d096(0xfd)](_0x1b6ba2,_0xacbcd3,_0x34cae0));}[_0x45b811(0x7c)](){const _0x4f61aa=_0x45b811;var _0x5605a4;this[_0x4f61aa(0x6c)][_0x4f61aa(0xde)](),(_0x5605a4=this[_0x4f61aa(0xae)])==null||_0x5605a4[_0x4f61aa(0xde)](),this[_0x4f61aa(0xb2)][_0x4f61aa(0xa2)](null);let _0x44f595=document['getElementById'](_0xacbcd3);_0x44f595&&(_0x44f595[_0x4f61aa(0x179)]['display']=_0x4f61aa(0x96),this['_internalWebWorker']&&(this[_0x4f61aa(0x112)][_0x4f61aa(0x6d)](),this[_0x4f61aa(0x112)]=null));}[_0x45b811(0xfd)](_0x402aae,_0x5c0ac6,_0x37d674){const _0x49b9bd=_0x45b811;var _0x4c02c6,_0x236a61,_0x21c3ac,_0x2d49f5;if(this[_0x49b9bd(0xae)])return;let _0x47880d=new _0x412010[(_0x49b9bd(0x118))]({'locales':{[this[_0x49b9bd(0x149)][_0x49b9bd(0x146)]()]:this[_0x49b9bd(0x149)][_0x49b9bd(0xd9)]()},'override':[[_0x412010[_0x49b9bd(0x173)],{'useClass':_0x110681['AuthzIoHttpService']}]]}),_0x9ba10e=_0x47880d[_0x49b9bd(0x1be)]();this['disposeWithMe'](this[_0x49b9bd(0x102)][_0x49b9bd(0x138)][_0x49b9bd(0x145)](_0xd9ba60=>{const _0x40365b=_0x49b9bd;_0x9ba10e[_0x40365b(0x1b7)](_0x412010[_0x40365b(0x14c)])['setDarkMode'](_0xd9ba60);})),this[_0x49b9bd(0x1a2)](this[_0x49b9bd(0x102)][_0x49b9bd(0xd2)][_0x49b9bd(0x145)](_0x4f07a9=>{const _0x388346=_0x49b9bd;_0x9ba10e[_0x388346(0x1b7)](_0x412010[_0x388346(0x14c)])[_0x388346(0xf2)](_0x4f07a9);})),_0x9ba10e[_0x49b9bd(0x1b7)](_0x412010[_0x49b9bd(0xf5)])[_0x49b9bd(0x12c)](this[_0x49b9bd(0x149)][_0x49b9bd(0x146)]()),_0x9ba10e[_0x49b9bd(0x1b7)](_0x412010[_0x49b9bd(0x10d)])['setConfig'](_0x110681[_0x49b9bd(0xe2)],this[_0x49b9bd(0xd7)][_0x49b9bd(0x6b)](_0x110681['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));let _0x29d2e7=this[_0x49b9bd(0xd7)]['getConfig'](_0xa92606[_0x49b9bd(0x141)]);_0x29d2e7&&_0x47880d[_0x49b9bd(0x8c)](_0xa92606[_0x49b9bd(0x1ad)],{'license':_0x29d2e7['ls']});let _0x469ccc=(_0x4c02c6=this[_0x49b9bd(0xd7)]['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x4c02c6['workerURL'],_0x9f4d64=!!_0x469ccc;_0x9f4d64&&(this['_internalWebWorker']=_0x469ccc instanceof Worker?_0x469ccc:null,_0x47880d['registerPlugin'](_0x283f0d[_0x49b9bd(0x9f)],{'workerURL':_0x469ccc})),this[_0x49b9bd(0x17c)][_0x49b9bd(0x85)](([_0x5ec3dc,_0x2172dd])=>{const _0x30e6c3=_0x49b9bd;_0x47880d[_0x30e6c3(0x8c)](_0x5ec3dc,_0x2172dd);}),_0x47880d[_0x49b9bd(0x8c)](_0xad21ce['UniverEditHistoryViewerMobilePlugin'],{'historyListServerUrl':(_0x236a61=this['_configService'][_0x49b9bd(0x6b)](_0x49b9bd(0xb0)))==null?void 0x0:_0x236a61[_0x49b9bd(0x19a)],'historyPanelComponentKey':(_0x21c3ac=this[_0x49b9bd(0xd7)][_0x49b9bd(0x6b)]('edit-history-loader.config'))==null?void 0x0:_0x21c3ac[_0x49b9bd(0x9a)],'historyPanelHidden':(_0x2d49f5=this['_configService']['getConfig'](_0x49b9bd(0xb0)))==null?void 0x0:_0x2d49f5[_0x49b9bd(0x16e)]}),_0x9ba10e[_0x49b9bd(0x68)](_0x192f16=>{this['_initListener'](_0x192f16,_0x402aae);}),this['_historyUniver$']['next'](_0x47880d);let _0x247624=_0x9ba10e['get'](_0xad21ce[_0x49b9bd(0x12d)]),_0x51ea76=this['_checkCanRevert'](_0x402aae),_0x1911c7=()=>{const _0x413e9c=_0x49b9bd;_0x37d674?_0x247624[_0x413e9c(0x7f)](_0x402aae,_0x5c0ac6,_0x51ea76,_0x37d674):_0x247624[_0x413e9c(0x81)](_0x402aae,_0x5c0ac6,_0x51ea76);};if(this[_0x49b9bd(0x15b)][_0x49b9bd(0xa6)]({'content':this[_0x49b9bd(0x149)]['t'](_0x49b9bd(0x1bb)),'type':_0x153d7c[_0x49b9bd(0x9c)][_0x49b9bd(0xc4)]}),_0x9f4d64)try{_0x9ba10e[_0x49b9bd(0x1b7)](_0x283f0d['IRemoteInstanceService'])[_0x49b9bd(0x14e)]()[_0x49b9bd(0x1ca)](()=>{_0x1911c7();});}catch{_0x1911c7();}else _0x1911c7();}[_0x45b811(0xb6)](_0x333e06,_0x5da4ab){const _0x2c9a04=_0x45b811;let _0x46577f=_0x333e06[_0x2c9a04(0x1b7)](_0xad21ce[_0x2c9a04(0x12d)]);this[_0x2c9a04(0x6c)]['add'](_0x46577f[_0x2c9a04(0xc5)]['subscribe'](_0x522492=>{const _0x28e415=_0x2c9a04;switch(_0x522492){case _0xad21ce[_0x28e415(0x9d)]['Entered']:this['_dialogService'][_0x28e415(0x12f)](),this[_0x28e415(0x13d)][_0x28e415(0x113)]();break;case _0xad21ce[_0x28e415(0x9d)][_0x28e415(0x188)]:this[_0x28e415(0x12a)][_0x28e415(0x18f)](_0x5cf7c7['id']),this['unMountHistoryContent']();break;case _0xad21ce['HistoryModeStatus'][_0x28e415(0x11f)]:this[_0x28e415(0x7c)](),this['_messageService'][_0x28e415(0xa6)]({'content':this[_0x28e415(0x149)]['t'](_0x28e415(0x120)),'type':_0x153d7c[_0x28e415(0x9c)][_0x28e415(0x11f)],'duration':0xbb8});break;default:break;}})),this[_0x2c9a04(0x6c)][_0x2c9a04(0x15e)](_0x46577f[_0x2c9a04(0x1a3)][_0x2c9a04(0x145)](async _0xc6542=>{const _0x4e0b8f=_0x2c9a04;_0xc6542&&this[_0x4e0b8f(0x12a)]['executeCommand'](_0x597de7[_0x4e0b8f(0xac)]['id'],{'unitId':_0x5da4ab,'revision':_0xc6542});}));}[_0x45b811(0x133)](_0x191837){const _0x1680ed=_0x45b811;let _0x35ba73=this[_0x1680ed(0x76)][_0x1680ed(0x13f)](_0x191837)['getSheets']()[_0x1680ed(0x140)](_0x10a0b3=>_0x10a0b3[_0x1680ed(0x134)]()),_0x2db0a8=new _0x136342[(_0x1680ed(0x170))](_0x191837)['id'],_0x3c512b=_0x35ba73[_0x1680ed(0x140)](_0x2d883b=>new _0x136342[(_0x1680ed(0xc0))](_0x191837,_0x2d883b)['id']),_0x244a67=_0x35ba73[_0x1680ed(0x140)](_0x49ed5b=>this[_0x1680ed(0x101)][_0x1680ed(0x197)](_0x191837,_0x49ed5b)[_0x1680ed(0x140)](_0x2d3f51=>new _0x136342[(_0x1680ed(0x122))](_0x191837,_0x49ed5b,_0x2d3f51['permissionId'])['id']))[_0x1680ed(0x111)](),_0x4f35f6=new _0x136342[(_0x1680ed(0xb7))](_0x191837)['id'];return this['_permissionService'][_0x1680ed(0xf3)]([_0x2db0a8,..._0x3c512b,..._0x244a67,_0x4f35f6])[_0x1680ed(0x15f)](_0xdb8ecc=>!!_0xdb8ecc[_0x1680ed(0xc7)]);}};_0x2f2a1f=_0x58019a([_0x132994(0x0,(0x0,_0x412010['Inject'])(_0x412010[_0x45b811(0xf5)])),_0x132994(0x1,_0x412010[_0x45b811(0x1b9)]),_0x132994(0x2,_0x412010[_0x45b811(0x10d)]),_0x132994(0x3,_0x412010['ICommandService']),_0x132994(0x4,_0x284ec3[_0x45b811(0x172)]),_0x132994(0x5,_0x412010['IPermissionService']),_0x132994(0x6,(0x0,_0x412010['Inject'])(_0x136342[_0x45b811(0xc9)])),_0x132994(0x7,(0x0,_0x412010[_0x45b811(0x171)])(_0x284ec3['IDialogService'])),_0x132994(0x8,(0x0,_0x412010[_0x45b811(0x171)])(_0x284ec3[_0x45b811(0x186)])),_0x132994(0x9,(0x0,_0x412010['Inject'])(_0x412010[_0x45b811(0x14c)]))],_0x2f2a1f);let _0x39d9f0=class extends _0x412010['Plugin']{constructor(_0x19017b=_0x5df63e,_0x30cd89,_0x40757f){const _0x4152ab=_0x45b811;super(),this['_config']=_0x19017b,this[_0x4152ab(0x16d)]=_0x30cd89,this[_0x4152ab(0xd7)]=_0x40757f;let {menu:_0x376857,..._0x558cef}=(0x0,_0x412010[_0x4152ab(0x14d)])({},_0x5df63e,this[_0x4152ab(0x13c)]);_0x376857&&this[_0x4152ab(0xd7)][_0x4152ab(0x144)]('menu',_0x376857,{'merge':!0x0}),this['_configService'][_0x4152ab(0x144)](_0x149075,_0x558cef),this[_0x4152ab(0x13c)][_0x4152ab(0xab)]&&this[_0x4152ab(0xd7)]['setConfig'](_0x4152ab(0x107),this[_0x4152ab(0x13c)]['univerContainerId']);}[_0x45b811(0xff)](){const _0x467d7e=_0x45b811;[[_0x595023,{'useClass':_0x2f2a1f}],[_0x4f2ef7]][_0x467d7e(0x85)](_0x11b695=>this[_0x467d7e(0x16d)][_0x467d7e(0x15e)](_0x11b695));}[_0x45b811(0x16a)](){const _0x585fd1=_0x45b811;this[_0x585fd1(0x16d)][_0x585fd1(0x1b7)](_0x4f2ef7);}};_0x57c8f2(_0x39d9f0,'type',_0x412010['UniverInstanceType'][_0x45b811(0x89)]),_0x57c8f2(_0x39d9f0,_0x45b811(0xd8),_0x45b811(0x137)),_0x57c8f2(_0x39d9f0,_0x45b811(0x114),_0x42d231),_0x57c8f2(_0x39d9f0,'version',_0x108dc4),_0x39d9f0=_0x58019a([(0x0,_0x412010['DependentOn'])(_0xa92606[_0x45b811(0x1ad)]),_0x132994(0x1,(0x0,_0x412010[_0x45b811(0x171)])(_0x412010[_0x45b811(0x192)])),_0x132994(0x2,_0x412010[_0x45b811(0x10d)])],_0x39d9f0);let _0x3b00ac=class extends _0x412010[_0x45b811(0x91)]{constructor(_0x18e26e,_0x183ce7,_0x3eee6f,_0x1dbacf,_0x4bc9ff,_0x115127,_0x37d972,_0x40daf7,_0x52bd6d,_0xd21d7b,_0x39ce7a){const _0x5112e5=_0x45b811;super(),this[_0x5112e5(0x12a)]=_0x18e26e,this[_0x5112e5(0x156)]=_0x183ce7,this[_0x5112e5(0xb8)]=_0x3eee6f,this['_historyManagerService']=_0x1dbacf,this[_0x5112e5(0x149)]=_0x4bc9ff,this['_messageService']=_0x115127,this['_collaborationController']=_0x37d972,this[_0x5112e5(0x1b0)]=_0x40daf7,this[_0x5112e5(0x125)]=_0x52bd6d,this[_0x5112e5(0x76)]=_0xd21d7b,this['_urlService']=_0x39ce7a,_0x57c8f2(this,_0x5112e5(0x72),null),this[_0x5112e5(0xf6)]();}['_init'](){const _0x552eff=_0x45b811;[_0x549959,_0x5cf7c7][_0x552eff(0x85)](_0x76637=>this[_0x552eff(0x1a2)]((0x0,_0x412010[_0x552eff(0x74)])(this[_0x552eff(0x12a)][_0x552eff(0x159)](_0x76637)))),this[_0x552eff(0x1a2)](this[_0x552eff(0xb8)][_0x552eff(0x78)](_0x552eff(0x1bc),_0x1af6a6)),this[_0x552eff(0x156)][_0x552eff(0x193)](_0x840e2f),this[_0x552eff(0x1a2)](this[_0x552eff(0x12a)]['onCommandExecuted'](async(_0x6ed01d,_0x40d04a)=>{const _0x1524ab=_0x552eff;if(_0x6ed01d['id']===_0x597de7[_0x1524ab(0xac)]['id']){let {unitId:_0x201e00}=_0x6ed01d[_0x1524ab(0x1c6)];this[_0x1524ab(0x15b)][_0x1524ab(0xa6)]({'content':this[_0x1524ab(0x149)]['t'](_0x1524ab(0x155)),'type':_0x153d7c[_0x1524ab(0x9c)][_0x1524ab(0xc4)],'duration':0x1388});let _0x544c60=this[_0x1524ab(0x142)]['getCollabEntity'](_0x201e00);_0x40d04a!=null&&_0x40d04a[_0x1524ab(0x185)]?this[_0x1524ab(0x1ae)](_0x544c60,async()=>(setTimeout(()=>window[_0x1524ab(0x139)]['reload']()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x544c60,async()=>{const _0x31d33a=_0x1524ab;let _0x13b19f=this[_0x31d33a(0x76)][_0x31d33a(0x14b)](_0x412010[_0x31d33a(0xe7)]['UNIVER_SHEET']),_0x400c60=_0x13b19f==null?void 0x0:_0x13b19f[_0x31d33a(0x11d)]();if(!_0x400c60)return!0x1;this['_univerInstanceService'][_0x31d33a(0xb3)](_0x201e00);let _0x1e9335=await this['_dataLoaderService'][_0x31d33a(0x12e)](_0x201e00,_0x412010[_0x31d33a(0xe7)][_0x31d33a(0xef)]);return _0x1e9335&&_0x1e9335 instanceof _0x412010[_0x31d33a(0xbe)]?(await this[_0x31d33a(0xee)](_0x1e9335,_0x400c60[_0x31d33a(0x134)]()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x3437e9,_0x5e57ef,_0x50f483=!0x1){const _0x4aab07=_0x45b811;let _0x5b9701=(0x0,_0x121a50['combineLatest'])([_0x3437e9[_0x4aab07(0xe5)]['event$'],_0x3437e9['state$']])[_0x4aab07(0x145)](async([_0x3e8d5f,_0x34d741])=>{const _0x4be059=_0x4aab07;if(_0x3e8d5f[_0x4be059(0x143)]===_0x597de7[_0x4be059(0x1a1)]['CHANGESET_ACK']&&(_0x34d741==null?void 0x0:_0x34d741['status'])===_0x110681[_0x4be059(0xbd)][_0x4be059(0x1b8)]&&_0x3e8d5f['data'][_0x4be059(0xf7)][_0x4be059(0x131)](_0x3fd30b=>_0x3fd30b['id']===_0x597de7[_0x4be059(0xac)]['id'])&&await _0x5e57ef()){var _0xb344d;this[_0x4be059(0x19b)][_0x4be059(0x7c)](),_0x5b9701['unsubscribe'](),this[_0x4be059(0x72)]&&clearTimeout(this[_0x4be059(0x72)]),await((_0xb344d=this[_0x4be059(0x1b0)])==null?void 0x0:_0xb344d[_0x4be059(0xbf)]());}});_0x50f483&&(this[_0x4aab07(0x72)]=setTimeout(()=>{const _0xb81276=_0x4aab07;_0x5b9701[_0xb81276(0xe8)](),this['_messageService'][_0xb81276(0xa6)]({'content':this[_0xb81276(0x149)]['t'](_0xb81276(0xfb)),'type':_0x153d7c[_0xb81276(0x9c)][_0xb81276(0x11f)],'duration':0xbb8});},0x1388));}async[_0x45b811(0xee)](_0x517967,_0x4498ac){const _0x52e73d=_0x45b811;await this[_0x52e73d(0x15d)](_0x517967,_0x4498ac),_0x517967[_0x52e73d(0xd1)][_0x52e73d(0x17f)]((0x0,_0x121a50[_0x52e73d(0xbb)])(this[_0x52e73d(0x9b)]))[_0x52e73d(0x145)](_0x5a4b3a=>{const _0x3761bc=_0x52e73d;_0x5a4b3a&&this[_0x3761bc(0xc2)](_0x5a4b3a);}),this[_0x52e73d(0xc3)][_0x52e73d(0xda)]['pipe']((0x0,_0x121a50[_0x52e73d(0xbb)])(this['dispose$']))['subscribe'](()=>this[_0x52e73d(0x15d)](_0x517967,_0x4498ac));}['_updateURLWithCurrentState'](_0x12b85f,_0xda826a=!0x1){const _0x37fa8d=_0x45b811;let _0x2f4dad=this[_0x37fa8d(0xc3)][_0x37fa8d(0x93)](_0x37fa8d(0x1a8));_0x12b85f[_0x37fa8d(0x134)]()!==_0x2f4dad&&this['_urlService'][_0x37fa8d(0x10a)](_0x37fa8d(0x1a8),_0x12b85f[_0x37fa8d(0x134)](),_0xda826a);}async['_updateSubUnitFromURLParams'](_0x2ff22f,_0x4afc0e){const _0x15e1af=_0x45b811;var _0x4bff17;if(!_0x4afc0e||!_0x2ff22f[_0x15e1af(0x1ba)](_0x4afc0e)){let _0x1f040c=_0x2ff22f['getUnhiddenWorksheets']()[0x0],_0x420c8f=_0x2ff22f[_0x15e1af(0x1ba)](_0x1f040c);if(!_0x420c8f)return;this['_updateURLWithCurrentState'](_0x420c8f,!0x0),await this[_0x15e1af(0x12a)][_0x15e1af(0x18f)](_0x136342['SetWorksheetActivateCommand']['id'],{'unitId':_0x2ff22f['getUnitId'](),'subUnitId':_0x1f040c});return;}((_0x4bff17=_0x2ff22f[_0x15e1af(0x11d)]())==null?void 0x0:_0x4bff17[_0x15e1af(0x134)]())!==_0x4afc0e&&await this[_0x15e1af(0x12a)][_0x15e1af(0x18f)](_0x136342[_0x15e1af(0x87)]['id'],{'unitId':_0x2ff22f[_0x15e1af(0x13e)](),'subUnitId':_0x4afc0e});}};_0x3b00ac=_0x58019a([_0x132994(0x0,_0x412010['ICommandService']),_0x132994(0x1,_0x284ec3[_0x45b811(0xf8)]),_0x132994(0x2,(0x0,_0x412010[_0x45b811(0x171)])(_0x284ec3[_0x45b811(0x148)])),_0x132994(0x3,(0x0,_0x412010[_0x45b811(0x171)])(_0x595023)),_0x132994(0x4,(0x0,_0x412010['Inject'])(_0x412010['LocaleService'])),_0x132994(0x5,_0x284ec3[_0x45b811(0x172)]),_0x132994(0x6,(0x0,_0x412010[_0x45b811(0x171)])(_0x110681['CollaborationController'])),_0x132994(0x7,_0x110681[_0x45b811(0x79)]),_0x132994(0x8,(0x0,_0x412010[_0x45b811(0x171)])(_0x110681[_0x45b811(0x77)])),_0x132994(0x9,_0x412010[_0x45b811(0x1b9)]),_0x132994(0xa,_0x2fda48[_0x45b811(0x182)])],_0x3b00ac);let _0x1f97de=class extends _0x412010[_0x45b811(0x14a)]{constructor(_0x25adf6=_0x5df63e,_0x5645d7,_0x2892e1){const _0x34fe32=_0x45b811;super(),this[_0x34fe32(0x13c)]=_0x25adf6,this[_0x34fe32(0x16d)]=_0x5645d7,this['_configService']=_0x2892e1;let {menu:_0x22c6a7,..._0x35fa08}=(0x0,_0x412010[_0x34fe32(0x14d)])({},_0x5df63e,this['_config']);_0x22c6a7&&this[_0x34fe32(0xd7)]['setConfig'](_0x34fe32(0x99),_0x22c6a7,{'merge':!0x0}),this['_configService'][_0x34fe32(0x144)](_0x149075,_0x35fa08),this[_0x34fe32(0x13c)][_0x34fe32(0xab)]&&this['_configService']['setConfig'](_0x25fbf7,this[_0x34fe32(0x13c)][_0x34fe32(0xab)]);}['onStarting'](){const _0x554ff7=_0x45b811;[[_0x595023],[_0x3b00ac]][_0x554ff7(0x85)](_0x350de7=>this[_0x554ff7(0x16d)]['add'](_0x350de7));}[_0x45b811(0x16a)](){const _0x40d4ce=_0x45b811;this[_0x40d4ce(0x16d)]['get'](_0x3b00ac);}};_0x57c8f2(_0x1f97de,'type',_0x412010[_0x45b811(0xe7)][_0x45b811(0x89)]),_0x57c8f2(_0x1f97de,_0x45b811(0xd8),_0x45b811(0xb1)),_0x57c8f2(_0x1f97de,_0x45b811(0x114),_0x42d231),_0x57c8f2(_0x1f97de,'version',_0x108dc4),_0x1f97de=_0x58019a([(0x0,_0x412010[_0x45b811(0xa3)])(_0xa92606['UniverLicensePlugin']),_0x132994(0x1,(0x0,_0x412010['Inject'])(_0x412010[_0x45b811(0x192)])),_0x132994(0x2,_0x412010['IConfigService'])],_0x1f97de),_0xdb52b[_0x45b811(0x8e)]=_0x149075,Object[_0x45b811(0x128)](_0xdb52b,_0x45b811(0xf9),{'enumerable':!0x0,'get':function(){return _0x595023;}}),Object[_0x45b811(0x128)](_0xdb52b,_0x45b811(0x16f),{'enumerable':!0x0,'get':function(){return _0x2f2a1f;}}),_0xdb52b[_0x45b811(0x7d)]=_0x549959,_0xdb52b[_0x45b811(0xe1)]=_0x25fbf7,_0xdb52b[_0x45b811(0xa1)]=_0x40de2d,Object[_0x45b811(0x128)](_0xdb52b,_0x45b811(0xa4),{'enumerable':!0x0,'get':function(){return _0x39d9f0;}}),Object['defineProperty'](_0xdb52b,'UniverEditHistoryLoaderPlugin',{'enumerable':!0x0,'get':function(){return _0x1f97de;}});}));
21
21
 
22
22
  // index
23
23
  (function(r,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):(r=typeof globalThis<"u"?globalThis:r||self,o(r.UniverPresetSheetsCollaboration={},r.UniverProCollaboration,r.UniverProCollaborationClient,r.UniverProCollaborationClientUi,r.UniverProEditHistoryLoader))})(this,(function(r,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,enableFrontendLog:d=!1,historyWorkerURL:b}=n,e=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:`${e}/universer-api/authz`,snapshotServerUrl:`${e}/universer-api/snapshot`,collabSubmitChangesetUrl:`${e}/universer-api/comb`,collabWebSocketUrl:s(`${e}/universer-api/comb/connect`),loginUrlKey:`${e}/universer-api/oidc/authpage`,uploadFileServerUrl:`${e}/universer-api/stream/file/upload`,signUrlServerUrl:`${e}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${e}/`,wsSessionTicketUrl:`${e}/universer-api/user/session-ticket`,startFormulaLimitUrl:`${e}/universer-api/license/formula/limit/start`,getFormulaLimitStatusUrl:`${e}/universer-api/license/formula/limit/status`,releaseFormulaLimitUrl:`${e}/universer-api/license/formula/limit/done`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{enableFrontendLog:d}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${e}/universer-api/history`,workerURL:b}]]}}r.UniverSheetsCollaborationPreset=u,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}));