@univerjs-pro/collaboration-client 0.4.1-nightly.202410271605 → 0.4.1-nightly.202410291249

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x262f6e=_0x275e;(function(_0x183a40,_0x414cc2){const _0x454f50=_0x275e,_0x58dcb2=_0x183a40();while(!![]){try{const _0x523b01=-parseInt(_0x454f50(0x22a))/0x1*(-parseInt(_0x454f50(0x1e9))/0x2)+-parseInt(_0x454f50(0x1c3))/0x3+parseInt(_0x454f50(0x324))/0x4*(-parseInt(_0x454f50(0x4e1))/0x5)+-parseInt(_0x454f50(0x2db))/0x6+-parseInt(_0x454f50(0x1d4))/0x7*(-parseInt(_0x454f50(0x29d))/0x8)+-parseInt(_0x454f50(0x509))/0x9+parseInt(_0x454f50(0x1e3))/0xa;if(_0x523b01===_0x414cc2)break;else _0x58dcb2['push'](_0x58dcb2['shift']());}catch(_0x173f5e){_0x58dcb2['push'](_0x58dcb2['shift']());}}}(_0x27dd,0x3d690));var oi=Object[_0x262f6e(0x44e)],ai=(_0x5088c3,_0x2542da,_0x11b38f)=>_0x2542da in _0x5088c3?oi(_0x5088c3,_0x2542da,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11b38f}):_0x5088c3[_0x2542da]=_0x11b38f,l=(_0xd752d6,_0x54d0d7,_0x6d4413)=>ai(_0xd752d6,typeof _0x54d0d7!=_0x262f6e(0x39e)?_0x54d0d7+'':_0x54d0d7,_0x6d4413);import{createIdentifier as _0x4ef9ae,Inject as _0x26d5df,Disposable as _0x553a63,DisposableCollection as _0x39fca3,toDisposable as _0x18f2c5,IConfigService as _0x4b38b2,ILogService as _0x2bd539,UserManagerService as _0x5ca9dd,UniverInstanceType as _0x4e9f6c,IUniverInstanceService as _0x377149,LocaleService as _0x32fffe,Optional as _0x54fca0,RxDisposable as _0x866c0c,Injector as _0x506841,Tools as _0x385cf5,ILocalStorageService as _0x3d2231,Rectangle as _0xd11991,ICommandService as _0x19a5a5,DOC_RANGE_TYPE as _0x34c7fe,JSONX as _0x11e221,CommandType as _0x43413f,IPermissionService as _0x43df64,IUndoRedoService as _0x529156,sequenceExecute as _0x1d9197,debounce as _0x3926ff,COLORS as _0x361521,ColorKit as _0xc776fc,ThemeService as _0x168851,fromEventSubject as _0x69cdef,useDependency as _0x3fa209,connectInjector as _0x170108,Workbook as _0x2fbc8b,isInternalEditorID as _0x2068c5,LocalUndoRedoService as _0x25e586,IContextService as _0x3db295,DependentOn as _0x35196a,Plugin as _0x437a51,touchDependencies as _0x56b2d1,IAuthzIoService as _0x4d3181,mergeOverrideWithDependencies as _0x34f8eb}from'@univerjs/core';import{Subject as _0x154ded,merge as _0x4e21b3,takeUntil as _0x1e91dc,BehaviorSubject as _0x50e691,distinctUntilChanged as _0x3e3721,fromEvent as _0x3d0e04,ReplaySubject as _0x189b52,take as _0x3ed67f,map as _0x207e75,shareReplay as _0x9d8e86,of as _0x21b747,debounceTime as _0x4a41fe,filter as _0x117f07,switchMap as _0x8251bb,combineLatest as _0x1fb678,concatMap as _0x39aad4,mapTo as _0x23a87a}from'rxjs';import{map as _0x5eb34b,take as _0x5d967f,filter as _0x4fbabd,delay as _0x32d7ba,throttleTime as _0x2e3ebb,takeUntil as _0x17d262,switchMap as _0x1ab8ad}from'rxjs/operators';import{MessageType as _0x5ed11f,Tooltip as _0x148b45}from'@univerjs/design';import{IBeforeCloseService as _0x36412d,IMessageService as _0x2f20aa,INotificationService as _0x3ccfab,useObservable as _0x3593ba,BuiltInUIPart as _0x4f0da,IUIPartsService as _0x18fe26}from'@univerjs/ui';import{HTTPService as _0x3c5275,WebSocketService as _0x211742,MergeInterceptorFactory as _0x3f7228,HTTPRequest as _0x4f14b8,IHTTPImplementation as _0x4119fd,XHRHTTPImplementation as _0xc39664,ThresholdInterceptorFactory as _0x51b6cb}from'@univerjs/network';import{CollaborationEvent as _0x1f4b1b,parseChangesetToProtocol as _0xfc5a58,ISnapshotServerService as _0x4b6234,isTransformMutationFailure as _0x27062d,isTransformMutationsWithChangesetSuccess as _0x4d8a82,ITransformService as _0x3345fe,RevisionService as _0x2bcf77,mapDocumentTypeToUniverType as _0x437c6c,isTransformChangesetsSuccess as _0x233a00,CompressMutationService as _0x44d7c7,parseProtocolChangeset as _0x28252c,SnapshotService as _0x3086c3,textEncoder as _0x1bd0bc,b64DecodeUnicode as _0x222079,isTransformMutationsWithChangesetFailure as _0x1e9034,UniverCollaborationPlugin as _0x4a91ff}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xd0c748}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x33ca5e,DocStateChangeManagerService as _0xc14380,NodePositionConvertToCursor as _0x39a756,NodePositionConvertToRectRange as _0xd5a032,TEXT_RANGE_LAYER_INDEX as _0x2e39d5,SetDocZoomRatioOperation as _0x35beb3}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x1695c9,SetSelectionsOperation as _0x5b9268,InsertSheetMutation as _0x19c1ee,EmptyMutation as _0x3c2c05,WorkbookEditablePermission as _0x23f88f,RefRangeService as _0x7f18be,EffectRefRangId as _0x4d70ca,handleIRemoveRow as _0x4e2c56,handleIRemoveCol as _0x2ef843,handleMoveRange as _0x3ec23d,handleInsertRow as _0x54c8cb,handleInsertRangeMoveRight as _0x375097,handleInsertRangeMoveDown as _0x5b479a,handleInsertCol as _0x5dd0f1,handleDeleteRangeMoveUp as _0x77351e,handleDeleteRangeMoveLeft as _0xdc8fcf,runRefRangeMutations as _0x37b8ad,SetWorksheetActivateCommand as _0x1ba1a0}from'@univerjs/sheets';import{IRenderManagerService as _0x4b2759,Shape as _0x48cb40,Rect as _0x2e20e6,getColor as _0x41386e,RegularPolygon as _0xc14884,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3e4880,Vector2 as _0x19f0aa}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x6c9d1a,RichTextEditingMutation as _0x5e4442,SetTextSelectionsOperation as _0x287adc,DocSkeletonManagerService as _0x2f64fe}from'@univerjs/docs';import{ImageSourceType as _0x32a875,ImageUploadStatusType as _0xd1763c,IImageIoService as _0x163786}from'@univerjs/drawing';function _0x27dd(){const _0x557dc8=['pauseCollaboration','_onRemoteRetry','RECV','UNDEFINED','_getSnapshotAPIPrefix','_refRangeService','startColumn','_initCommandExecutedListener','_removeRoom','_scene','updateMember','_waitCount','catch','_listenToOfflineEvent','onTransformIME','_handleHeartbeatEvent','url','session.will-retry','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_collaborationTimeoutTimer','LIVESHARE_REQUEST_HOST','visibilitychange','x-univer-host','json','JOINING','resolve','_memberService','_saveCache','values','/universer-api/comb','idSuffix','body','_collabCursorState$','_candidateSocket','ws://127.0.0.1:8000/universer-api/comb/connect','div','getSkeleton','_state$','0\x200\x2016\x2016','_updateState','_joinRoom','getResourcesRequest','online','/unit/','_replayCachedMutations','max','setShowComponents','replaceState','_clearHeartbeatTimer','getDeserializedSheetBlock','every','unknown','univer-offline','_syncEditingCollabCursorService','_localCacheService','defineProperty','userID','fromCollab','INGEST','_undoRedoService','_handleJoinEvent','CHANGESET_REJ','HttpExport','getSheetBlock','CONFLICT','capture','readAsDataURL','_replaceFileID','purple300','compose','_initMergeInterceptor','_getUndoStack','_initEventListeners','getMember','_getLoginPath','_transformPreviousActiveRange','with','_tryEnsureSocket','target','permission.title','getCurrentRevOfUnit','socket\x20close','flatMap','downloadEndpointUrl','appendMutation','[OfflineState]:\x20received\x20rejection.','signUrlServerUrl','_socket','_status$','_colorAssignService','_cachedData','getFocusedUnit','apply','reqId','AWAITING','transformByState','getUnitType','_updateLocalCursor','[CollaborationUndoRedoService]','delete','_retryCount','SNAPSHOT_HAS_BEEN_REMOVED','_docSkeletonManagerService','USERS_LEAVE','Undefined','UUID','subscribe','clear','toggleOffline','_scheduleClearOtherTimer','permissionRejEvent','PENDING','getTypeOfUnitAdded$','resize','liveShareOperation','/-/object/-/batch_allowed','_hover','_saveTaskMap','_transformSelections','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','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket$','_substituteRedoStack','memberID','post','startTime','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/new_changes','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onMouseMove','FETCH_MISS','univer-pro.collaboration-client.single-active-unit-service','HttpImport','_roomMembers$','UNIVER_SLIDE','_createSocket','_getSignURL','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','setTimeout','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','currentSkeleton$','children','disableLocalCache','_waitForHeartbeatResponse','_checkMissing','Unknown\x20user','size','session','_resendTimer','_onLocalMutation','arc','baseRev','createSocket','url(#$1','unshift','_httpService','_getSheetObject','_onConnectionFailed','saveImage','history','_transformUndoredo','push','routeKey','_messageService','params','onRemoteRetry','/resources','skeleton','_disabled','editing\x20status\x20changed\x20to','_docTransformIMECacheService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_onUserJoin','_hideTimer','backgroundColor','_ensureSubject','HEARTBEAT_INTERVAL','defs','result','csAckEvent','_startCollaboration','BASE64','uni.network.url-service','_members','_updateCollabCursors','assignAColorForMemberID','eventID','AWAITING_WITH_PENDING','_sessions','[CollaborationEntity]','APPLY_REJECT','none','/allowed','/block/','includes','transformStack\x20failed!','collabSubmitChangesetUrl','black','_onRecvEvent','split','getCollabEntity','getImage','5lRMslv','responseType','awaitingChangeset','origin','hide','pushState','HEARTBEAT','InsertColCommandId','getUnit','copyFileMeta','_updateStatus','c2Prime','_applyRemoteChangeset','getParam','_snapshotServerService','getSheetId','resourceIDs','updateOfflineData','_range','[OfflineState]:\x20received\x20changeset.','show','_labelPosition','send','0\x200\x2017\x2016','fetchThroughInterceptors','_sendingTimer','tag','_initStatusComponent','_docTransformSelectionsService','PERMISSION_REJ','session.collaboration-timeout','executeCommand','then','_sessionStatus$','selection','_acknowledgedAwaitingChangeset','find','/object','_event$','getViewport','31995oWtyMH','defIds','_initCloseConn','complete','_startSheetCollabCursor','_clearRedo','getUndoRedoMutationParamsCache','setShapeProps','setConfig','clearInterval','collabStatus.fetchMiss','_pendingMutations','_handleHover','awaiting','LIVESHARE_TERMINATE','asObservable','_lockTransition','_name','_textBubble','endRow','getSheetBySheetId','_onUserLeave','_getCurrentRevision','encode','socketService','urlChange$','UPDATE_PERMISSION_OBJ','[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.','transformSelections','NOT_COLLAB','_onRemoteACK','_updateLocalCache','_socketReady','collaboratorID','ranges','_collaborationSessionService','_onCursorDelete','_sendHeartbeat','CHANGESET_SHOULD_RETRY','_snapshotService','getActiveRange','getAncestorScale','from','batchAllowed','reconnect','newCsEvent','encodeURIComponent','_clearLocalCache','_tryReconnect','toLowerCase','setUndoRedoMutationParamsCache','unit-cache-','_collabCursorController','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','APPLY_NON_SEQUENTIAL_REVISION','NEW_CHANGESETS','SHOULD_CLOSE_CONN','/fetchmissing?from=','image/jpeg','_roomMembers','auth.needGotoLoginAlert','init','&assign=','_createInitialStateImpl','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','endColumn','FileId','transformUndoRedo','_initRequestHeader','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','transformRemoteChangeset','LICENSE_DISTRO_REJECTED','rng','_http','213939vxuKMZ','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','length','/universer-api/file/{fileID}/sign-url','_changesetReqId','_handleEvent','Univer','href','socket$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onSyncEditingCollabCursor','sheetId','use','_docStateChangeManagerService','_singleActiveUnitService','clearTimeout','LIVESHARE_NEW_HOST','711277VWNVlJ','_getCtorByUniverType','1em','saveSheetBlock','change$','collabStatus.notCollab','updatePermissionObjEvent','dispose','fillText','[CollaborationSessionService]','hovered','getRandomValues','_rescheduleHeartbeat','getCurrent','code','1951460GdMRnr','objectType','getCurrentUser','[PendingState]:\x20received\x20rejection.','registerRefRange','roomMembers$','343950rjsJsA','labelPosition','_incrementRevisionNumber','&source=','sheetID','_notificationService','mutations','_isPermissionRej','reduce','NOT_FOUND','status$','actions','SNAPSHOT_SERVER_URL_KEY','c1Prime','_updateSubUnitFromURLParams','failed\x20to\x20apply\x20missed\x20changesets!','removeMember','LEAVE','unitId','fillStyle','FAIL','restore','hidden','UNRECOGNIZED','_resendTimeout','UnitEmbedded','SUCCUSS','_init','registerRenderModule','_clearScheduledTask','getUnitStatus$','_session','getRenderById','onRemoteChangeset','_transitionLocked','sessionStatus$','concat','_colorIndex','JOIN','_clearUndo','leaveEvent','ONLINE','transformChangesets','UNIVER_PROJECT','onTransformRemoteChangesetByIMECache','objectID','collaMsg','_getScale','_drawTextRange','confirm','_HTTPService','_removeCollabCursors','onCommentUpdate','_cursorInfo$','message$','number','_exhaustRemoteChangesetQueue','_drawRectRange','_toggleOffline','trim','liveShareNewHost','DeleteRangeMoveLeftCommandId','transform','focused$','_resendWithTimeout','2PFKvbM','createElement','collabStatus.offline','path','stopTime','collaborators','whenReady','addObject','univer-online-status-title','_updateURLWithCurrentState','[UniverCollaborationClientPlugin]','getOwnPropertySymbols','UniverIcon','roles','#FFF','onPointerMove$','uploadFileServerUrl','_shapes','cmd','_docSkeleton','parse','pluginName','subUnitId','getMemberID','TEXT','_substituteUndoStack','onRemoteAck','string','requireSession','assign','location','roomMembers','_toggleOnline','registerComponent','getTime','RETRY_CONNECTING_MAX_COUNT','_heartbeatTimer','?url=','disposeUnit','LICENSE_IMPORT_SIZE_EXCEEDED','getLatestCsReqIdBySid','_telemetryService','getOffsetConfig','onTransformChange$','min','_lastPointer','state$','_loadDoc','_revisionService','deepClone','method','connection\x20error','_clearOtherTimers','[OfflineState]:\x20received\x20acknowledgement.','entries','patch','registerHTTPInterceptor','_ws','originalMeta','localeService','onStarting','_compressMutationService','FromArray','onMissingChangesets','collab-rect-range-','set','_imageSourceCache','_startTelemetryCollaborationNewChangeset','displayName','telemetry\x20info\x20is\x20not\x20initialized','_collaborationController','width','getVpScrollXYInfoByPosToVp','bind','onMissedChangesetFetched','requestParams','event$','dispose$','beginPath','permission.content','YUUMI_RATE_OVER_LIMIT','engine','isEditing','UNAUTHENTICATED','_onJoinRoomEvent','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','error','_context','LIVESHARE_OPERATION','clipPath','getCollabEntity$','function','currentTheme$','_getDownloadEndpointURL','height','transformMutationsWithChangeset','cursorInfo$','_state','color','currentColor','onPointerLeave$','UNKNOWN_CODE','_handleLeaveEvent','_cursor','generateRandomId','_throwTelemetryCollaborationNewChangeset','_startDocCollabCursor','sessionStatus','RemoveColCommandId','univer-pro.collaboration-client-socket-service','SYNCED','getDocRanges','initWorkbookPermissionChange','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_onMessage','32hcyIJL','debug','sid','_send','measureText','rgba(255,\x20255,\x20255,\x200.01)','sendChangesetTimeout','text','roomInfos','DEFAULT_FILE_NAME','fill','map','updatePermissionPoint','updateCollaborator','unitId\x20is\x20not\x20found','_permissionService','UNIVER_SHEET','fetchMissingChangesets','_docSyncEditingCollabCursorService','getCurrentSelections','_handler','exhaustSavingTask','UNIVER_UNKNOWN','listRoles','toRgbString','_clearCollaborationTimeoutTimer','_registerDependencies','_initResize','_type','_timeoutTimer','lineTo','/role','members','_submitChangeset','CHANGESET_REVISION_CONFILICT','_change$','PERMISSION_DENIED','_cursorShapes','collabStatus.synced','findNodePositionByCharIndex','FETCH_MISSING','/collaborator','_retryConnectingTimer','unsubscribe','session.room-full','red300','offline','round','_transformStack','RECT','_online','enableSingleActiveInstanceLock','getActiveSheet','_color','activeSheet$','_themeService','fetch_missing','xlink:href','refreshPermission','onRemoteRej','getCollabCursors$','_drawAnchor','1461222cStjiW','M0\x200H16V16H0z','column','saveOfflineData','close','substring','_assignedColors','subunit','duration','_socketMessageSubscription','_collaborationPaused','ERROR_IMAGE_TYPE','UNIVER_DOC','_disableEditing','collab-text-anchor-','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','ACTIVE_UNIT_EVENT_CHANNEL','_getRedoStack','on-line-single','_id','collabCursorState$','editingUnit','_userManagerService','svg','createCollaborator','registerBeforeClose','state','evenodd','newValue','putCollaborators','csShouldRetryEvent','isPermissionRej','setActiveRange','_unitStatus','disposeWithMe','_sender','append','getCellPositionByOffset','/universer-api/snapshot','addEventListener','isActive','getItem','m1Prime','popstate','_scheduleHeartbeat','getInterceptPoints','INVALID_ARGUMENT','_unitOnClients','_queuedRemoteChangesets','put','joinRsp','_changesetSessionId','joinEvent','_logService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','now','_refreshCollabCursors','collaboration-client.config','changesets','session.connection-failed','error$','_decreaseWaiting','MoveRangeCommandId','_commentService','registerOnClose','_sheetTransformSelectionsService','Error','_redoStacks','YUUMI_URL_COL_OUT_OF_RANGE','_onConnectionOpen','SNAPSHOT_INVALID_SNAPSHOT','conflict.title','reject','1502396KVkMBG','drawWith','HELLO','cursorInfo','_createHandler','m2Prime','[SyncedState]:\x20received\x20rejection.','doc.mutation.rich-text-editing','_unlockTransition','YUUMI_SUBSCRIPTION_NOT_FOUND','IDLE','_removeClearOtherTimer','save','off-line-single_clip0_910_343','loadSheet','?size=','CONNECTOR_DATA_TOO_LARGE','awaiting_with_pending','univerjs-icon\x20univerjs-icon-','pipe','_draw','Warning','_localeService','collabWebSocketUrl','_eventUnsubscribe','replace','add','COMPRESS_MUTATION_APPLY','close$','getRelativeToViewportCoord','_getAPIPrefixPath','toString','collaboration.closeRoom','_scheduleTimestamp','filter','_anchor','getRangePointData','searchParams','key','_initStatusListener','triggerDblclick','onlineStatusIcon','INTERNAL_ERROR','snapshot','toggleOnline','_remoteChangesetQueue','_entityInit$','_onFetchMissResult','reverse','getUnitId','getValue','[CollaborationSession]','get','src','InsertRangeMoveRightCommandId','UnitSnapshot','createInstance','_onRemoteChangeset','ERROR_IMAGE','open$','[DataLoaderController]','verdancy600','file','_initUnitPermissionChange','LICENSE_EXPORT_SIZE_EXCEEDED','propertyIsEnumerable','onRendered','InsertRangeMoveDownCommandId','_telemetryInfo','getMergeData','revision','ERROR_EXCEED_SIZE','_clearTimeoutTimer','_initModules','contains','_fetchMissChangesets','collaboration.single-unit.warning','UPDATE_CURSOR','isArray','indexOf','randomUUID','TOO_MANY_REQUESTS','onTransformSelections','next','univer-online-status-icon','getUnhiddenWorksheets','OFFLINE','startsWith','_transformIMECache','_onRemoteRejected','status','_onOffline','unit','_shouldReportTelemetry','PSEUDO_FETCH_MISSING_RESULT','prototype','_executeRemoteChangeset','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','_setupSubUnitSync','listCollaborators','textRanges','objectActions','hasOwnProperty','_anchorDot','_entities','loginUrlKey','extend','onPointerEnter$','SUBMIT_CHANGESET','_getAnchorBounding','unitID','_getAPIPrefix','[CollaborationState]:\x20apply\x20error!','_config','_onCombEvent','pending','docStateChange$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_univerInstanceService','on-line-single_clip0_910_349','action','/universer-api/snapshot/','symbol','/rev/','UNKNOWN_CMD','_transformService','_getSendChangesetTimeout','_getUploadFileURL','has','forEach','synced','_commandService','rev','commentUpdate$','_schedule','getConfig','_instanceService','COLLAB_SUBMIT_CHANGESET_URL','saveSnapshot','_injector','CHANGESET_ACK','stringify','#fff','submit\x20changeset\x20error!','_cursors','_urlService','_onConflict','_createInitialState','getWorkbookSelections','_unitID','selections','_listenToOnlineEvent','_commentUpdate$','_loadSheet','updateCursorEvent','_hovered','closeSession','MSG_FOR_ERROR','getOwnPropertyDescriptor','setCurrentUser','USERS_ENTER','_sendHeartbeatTimer','COMMENT_UPDATE','_onCursorUpdate','VIEW_MAIN','colorChannel1','_document','interceptor','setItem','fetching\x20missing\x20changesets\x20from\x20','attrs','_getMergeRange','onCommandExecuted','transformMutation','_render','NO_OTHER_CLIENTS_EDITING','collab-text-range-','[FetchMissState]','snapshotServerUrl','_scheduleSaving','withCredentials','data','fetchMiss','getUniverSheetInstance','_backgroundColor','_sheetSkeletonManagerService','OTHER_CLIENTS_EDITING','LIVESHARE_FETCH_OPERATIONS','ENSURE_SNAPSHOT_EXECUTION','_configService','/object/','update','_awaitingChangeset','_syncEditingCollabCursor','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','name','replaceTextRanges','range','_beforeCloseService','POST','resend','_getSaveTimeout','bottom','socket\x20open.','_uiPartsService','closePath','type','onSendChangeset','_collabSessionService','Error\x20on\x20receiving\x20event','collaboration-session-retry','APPLY_PERMISSION_DENIED','ALREADY_EXISTS','_stopTelemetryCollaborationNewChangeset','MUTATION','syncEditingCollabCursor','_socketService','call','fillRule','subscribeEvent','deleteCollaborator','onStateChange','_transformRemoteChangesetByIMECache','icon','onlyLocal','getUnitOnRev','_selfUnitIDs','storage','object','_undoStacks','image/png','_scheduleCollaborationTimeoutTimer','APPLY_DUPLICATED','startRow','DeleteRangeMoveUpCommandId','random','getTypeOfUnitDisposed$','_renderManagerService','_localStorageService','image/jpg','objects','LICENSE_MAX_UNITS_EXCEEDED','loadOfflineData'];_0x27dd=function(){return _0x557dc8;};return _0x27dd();}import{deserializeRangeWithSheet as _0x5af4fd,serializeRangeWithSheet as _0x36208e}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0xb6e928,VIEWPORT_KEY as _0x59b677,getCoordByCell as _0x538fee,getSheetObject as _0x1db722,SheetPermissionInitController as _0x10cfb6}from'@univerjs/sheets-ui';import _0x1d3b3a,{forwardRef as _0x466e9e,useRef as _0x189376,createElement as _0x44b3ce,useCallback as _0x4d248d}from'react';import{IRemoteInstanceService as _0x23b3d8}from'@univerjs/rpc';import{getAttachHeader as _0x49ddc0}from'@univerjs-pro/license';const In=_0x262f6e(0x1f5),En=_0x262f6e(0x301),Cn='SNAPSHOT_URL_KEY',Ha='SEND_CHANGESET_TIMEOUT',bn=0x7d0,Tn='COLLAB_WEB_SOCKET_URL',Rn=_0x262f6e(0x439),On=_0x262f6e(0x4c7),Dn=0x7530,Hs='HEARTBEAT_TIMEOUT',xs=0x4e20,wn=0x4e20,Pn=_0x262f6e(0x24d),yn=0x3,Un='LOCAL_CACHE_INTERVAL',Nn=0x3e8,An=_0x262f6e(0x3ad),Mn=_0x262f6e(0x434),Ln='LOGIN_URL_KEY',$n='/universer-api/oidc/authpage';var ks=(_0x104d84=>(_0x104d84[_0x104d84['UNDEFINED']=0x0]=_0x262f6e(0x41a),_0x104d84[_0x104d84['OK']=0x1]='OK',_0x104d84[_0x104d84[_0x262f6e(0x34e)]=0x2]=_0x262f6e(0x34e),_0x104d84[_0x104d84[_0x262f6e(0x2c1)]=0x3]=_0x262f6e(0x2c1),_0x104d84[_0x104d84[_0x262f6e(0x1f2)]=0x4]='NOT_FOUND',_0x104d84[_0x104d84[_0x262f6e(0x27d)]=0x5]=_0x262f6e(0x27d),_0x104d84[_0x104d84[_0x262f6e(0x3f8)]=0x6]=_0x262f6e(0x3f8),_0x104d84[_0x104d84[_0x262f6e(0x309)]=0x7]=_0x262f6e(0x309),_0x104d84[_0x104d84[_0x262f6e(0x375)]=0x8]='TOO_MANY_REQUESTS',_0x104d84[_0x104d84['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x104d84[_0x104d84[_0x262f6e(0x2bf)]=0x1389]=_0x262f6e(0x2bf),_0x104d84[_0x104d84[_0x262f6e(0x321)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x104d84[_0x104d84[_0x262f6e(0x47c)]=0x1772]=_0x262f6e(0x47c),_0x104d84[_0x104d84[_0x262f6e(0x3e0)]=0x1773]=_0x262f6e(0x3e0),_0x104d84[_0x104d84[_0x262f6e(0x4d5)]=0x1b59]=_0x262f6e(0x4d5),_0x104d84[_0x104d84[_0x262f6e(0x1af)]=0x1b5a]=_0x262f6e(0x1af),_0x104d84[_0x104d84['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x104d84[_0x104d84['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x262f6e(0x3f7),_0x104d84[_0x104d84[_0x262f6e(0x40c)]=0x1b5d]=_0x262f6e(0x40c),_0x104d84[_0x104d84[_0x262f6e(0x334)]=0x1f41]=_0x262f6e(0x334),_0x104d84[_0x104d84[_0x262f6e(0x415)]=0x2329]=_0x262f6e(0x415),_0x104d84[_0x104d84[_0x262f6e(0x497)]=0x232a]=_0x262f6e(0x497),_0x104d84[_0x104d84[_0x262f6e(0x251)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x104d84[_0x104d84['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x262f6e(0x364),_0x104d84[_0x104d84[_0x262f6e(0x1c0)]=0x232d]=_0x262f6e(0x1c0),_0x104d84[_0x104d84['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x104d84[_0x104d84[_0x262f6e(0x31f)]=0x2712]=_0x262f6e(0x31f),_0x104d84[_0x104d84[_0x262f6e(0x27a)]=0x2713]=_0x262f6e(0x27a),_0x104d84[_0x104d84[_0x262f6e(0x32d)]=0x2714]=_0x262f6e(0x32d),_0x104d84[_0x104d84[_0x262f6e(0x200)]=-0x1]=_0x262f6e(0x200),_0x104d84))(ks||{}),B=(_0x5abad1=>(_0x5abad1[_0x5abad1[_0x262f6e(0x2b3)]=0x0]=_0x262f6e(0x2b3),_0x5abad1[_0x5abad1[_0x262f6e(0x2e7)]=0x1]='UNIVER_DOC',_0x5abad1[_0x5abad1[_0x262f6e(0x2ad)]=0x2]=_0x262f6e(0x2ad),_0x5abad1[_0x5abad1['UNIVER_SLIDE']=0x3]=_0x262f6e(0x49d),_0x5abad1[_0x5abad1['UNIVER_PROJECT']=0x4]=_0x262f6e(0x214),_0x5abad1[_0x5abad1[_0x262f6e(0x200)]=-0x1]=_0x262f6e(0x200),_0x5abad1))(B||{}),I=(_0x25609a=>(_0x25609a[_0x25609a[_0x262f6e(0x3a0)]=0x0]='UNKNOWN_CMD',_0x25609a[_0x25609a['HELLO']=0x1]=_0x262f6e(0x326),_0x25609a[_0x25609a['JOIN']=0x2]=_0x262f6e(0x20f),_0x25609a[_0x25609a[_0x262f6e(0x1fa)]=0x3]=_0x262f6e(0x1fa),_0x25609a[_0x25609a[_0x262f6e(0x451)]=0x4]=_0x262f6e(0x451),_0x25609a[_0x25609a[_0x262f6e(0x4e7)]=0x5]=_0x262f6e(0x4e7),_0x25609a[_0x25609a[_0x262f6e(0x419)]=0x6]='RECV',_0x25609a[_0x25609a[_0x262f6e(0x200)]=-0x1]='UNRECOGNIZED',_0x25609a))(I||{}),Ft=(_0x2f4595=>(_0x2f4595[_0x2f4595[_0x262f6e(0x28f)]=0x0]=_0x262f6e(0x28f),_0x2f4595[_0x2f4595['OK']=0x1]='OK',_0x2f4595[_0x2f4595[_0x262f6e(0x1fd)]=0x2]=_0x262f6e(0x1fd),_0x2f4595[_0x2f4595['UNRECOGNIZED']=-0x1]=_0x262f6e(0x200),_0x2f4595))(Ft||{}),Bs=(_0xe0a696=>(_0xe0a696[_0xe0a696[_0x262f6e(0x47f)]=0x0]='Undefined',_0xe0a696[_0xe0a696[_0x262f6e(0x49b)]=0x1]=_0x262f6e(0x49b),_0xe0a696[_0xe0a696[_0x262f6e(0x455)]=0x2]=_0x262f6e(0x455),_0xe0a696[_0xe0a696[_0x262f6e(0x202)]=0x3]=_0x262f6e(0x202),_0xe0a696[_0xe0a696[_0x262f6e(0x35b)]=0x4]=_0x262f6e(0x35b),_0xe0a696[_0xe0a696[_0x262f6e(0x200)]=-0x1]='UNRECOGNIZED',_0xe0a696))(Bs||{});const j=_0x262f6e(0x314),jn={};function Hn(_0x58611a){const _0x44c34f=_0x262f6e;var _0x17c02b,_0x407c35,_0x19703d,_0xd65837,_0x2ce635;const _0x570606=_0x58611a[_0x44c34f(0x3d9)],_0x205282=JSON[_0x44c34f(0x23e)](_0x570606);switch(_0x205282[_0x44c34f(0x23c)]){case I[_0x44c34f(0x4e7)]:case I[_0x44c34f(0x326)]:{const _0x536fb1=_0x205282['infoRsp'];return{..._0x205282,'data':_0x536fb1,'cmd':_0x205282[_0x44c34f(0x23c)]};}case I[_0x44c34f(0x20f)]:{const _0x2f01ae=_0x205282[_0x44c34f(0x30d)];return{..._0x205282,'data':_0x2f01ae,'cmd':_0x205282['cmd']};}case I[_0x44c34f(0x419)]:{const _0x11d694=_0x205282[_0x44c34f(0x217)];switch(_0x11d694['eventID']){case _0x1f4b1b[_0x44c34f(0x4fe)]:return{..._0x205282,'data':{..._0x11d694,'data':(_0x17c02b=_0x11d694[_0x44c34f(0x485)])==null?void 0x0:_0x17c02b['cs']},'cmd':_0x205282['cmd']};case _0x1f4b1b['CHANGESET_ACK']:return{..._0x205282,'data':{..._0x11d694,'data':(_0x407c35=_0x11d694[_0x44c34f(0x4ca)])==null?void 0x0:_0x407c35['cs']},'cmd':_0x205282[_0x44c34f(0x23c)]};case _0x1f4b1b[_0x44c34f(0x1b0)]:return{..._0x205282,'data':{..._0x11d694,'data':(_0x19703d=_0x11d694[_0x44c34f(0x1a6)])==null?void 0x0:_0x19703d['cs']},'cmd':_0x205282['cmd']};case _0x1f4b1b['CHANGESET_REJ']:return{..._0x205282,'data':{..._0x11d694,'data':(_0xd65837=_0x11d694['csRejEvent'])==null?void 0x0:_0xd65837['cs']},'cmd':_0x205282['cmd']};case _0x1f4b1b[_0x44c34f(0x19f)]:return{..._0x205282,'data':{..._0x11d694,'data':(_0x2ce635=_0x11d694[_0x44c34f(0x2f9)])==null?void 0x0:_0x2ce635['cs']},'cmd':_0x205282[_0x44c34f(0x23c)]};case _0x1f4b1b['UPDATE_CURSOR']:return{..._0x205282,'data':{..._0x11d694,'data':_0x11d694[_0x44c34f(0x3be)]},'cmd':_0x205282[_0x44c34f(0x23c)]};case _0x1f4b1b[_0x44c34f(0x3c4)]:return{..._0x205282,'data':{..._0x11d694,'data':_0x11d694[_0x44c34f(0x30f)]},'cmd':_0x205282[_0x44c34f(0x23c)]};case _0x1f4b1b[_0x44c34f(0x47e)]:return{..._0x205282,'data':{..._0x11d694,'data':_0x11d694[_0x44c34f(0x211)]},'cmd':_0x205282[_0x44c34f(0x23c)]};case _0x1f4b1b[_0x44c34f(0x1d3)]:return{..._0x205282,'data':{..._0x11d694,'data':_0x11d694[_0x44c34f(0x225)]},'cmd':_0x205282[_0x44c34f(0x23c)]};case _0x1f4b1b[_0x44c34f(0x3df)]:case _0x1f4b1b[_0x44c34f(0x282)]:return{..._0x205282,'data':{..._0x11d694,'data':_0x11d694[_0x44c34f(0x489)]},'cmd':_0x205282[_0x44c34f(0x23c)]};case _0x1f4b1b[_0x44c34f(0x517)]:return{..._0x205282,'data':{..._0x11d694,'data':_0x11d694[_0x44c34f(0x225)]},'cmd':_0x205282['cmd']};case _0x1f4b1b[_0x44c34f(0x3c1)]:return{..._0x205282,'data':_0x11d694,'cmd':_0x205282[_0x44c34f(0x23c)]};case _0x1f4b1b[_0x44c34f(0x3c6)]:return{..._0x205282,'data':{..._0x11d694,'data':_0x11d694['commentUpdateEvent']},'cmd':_0x205282[_0x44c34f(0x23c)]};case _0x1f4b1b[_0x44c34f(0x523)]:return{..._0x205282,'data':{..._0x11d694,'data':_0x11d694[_0x44c34f(0x1da)]},'cmd':_0x205282['cmd']};case _0x1f4b1b[_0x44c34f(0x1b1)]:return{..._0x205282,'data':{..._0x11d694,'data':_0x11d694['shouldCloseConn']},'cmd':_0x205282[_0x44c34f(0x23c)]};default:return _0x205282;}}default:return _0x205282;}}function xn(_0x6ec4c4){const _0x1c06c3=_0x262f6e;switch(_0x6ec4c4[_0x1c06c3(0x23c)]){case I[_0x1c06c3(0x4e7)]:case I[_0x1c06c3(0x326)]:return JSON['stringify']({'cmd':_0x6ec4c4[_0x1c06c3(0x23c)],'routeKey':_0x6ec4c4[_0x1c06c3(0x4b9)]});case I[_0x1c06c3(0x451)]:{let _0x1db579;switch(_0x6ec4c4[_0x1c06c3(0x3d9)][_0x1c06c3(0x4d1)]){case _0x1f4b1b[_0x1c06c3(0x371)]:{_0x1db579={'eventID':_0x1f4b1b[_0x1c06c3(0x371)],'updateCursorEvent':_0x6ec4c4['data'][_0x1c06c3(0x3d9)]};break;}case _0x1f4b1b[_0x1c06c3(0x47e)]:{_0x1db579={'eventID':_0x1f4b1b[_0x1c06c3(0x47e)],'leaveEvent':_0x6ec4c4[_0x1c06c3(0x3d9)][_0x1c06c3(0x3d9)]};break;}case _0x1f4b1b[_0x1c06c3(0x3c4)]:{_0x1db579={'eventID':_0x1f4b1b[_0x1c06c3(0x3c4)],'joinEvent':_0x6ec4c4[_0x1c06c3(0x3d9)]['data']};break;}case _0x1f4b1b[_0x1c06c3(0x1d3)]:{_0x1db579={'eventID':_0x1f4b1b['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x6ec4c4[_0x1c06c3(0x3d9)][_0x1c06c3(0x3d9)]};break;}case _0x1f4b1b['LIVESHARE_OPERATION']:{_0x1db579={'eventID':_0x1f4b1b['LIVESHARE_OPERATION'],'liveShareOperation':_0x6ec4c4[_0x1c06c3(0x3d9)][_0x1c06c3(0x3d9)]};break;}case _0x1f4b1b[_0x1c06c3(0x517)]:{_0x1db579={'eventID':_0x1f4b1b['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x6ec4c4[_0x1c06c3(0x3d9)][_0x1c06c3(0x3d9)]};break;}case _0x1f4b1b[_0x1c06c3(0x42b)]:{_0x1db579={'eventID':_0x1f4b1b[_0x1c06c3(0x42b)],'liveShareRequestHost':_0x6ec4c4[_0x1c06c3(0x3d9)][_0x1c06c3(0x3d9)]};break;}case _0x1f4b1b[_0x1c06c3(0x3df)]:{_0x1db579={'eventID':_0x1f4b1b[_0x1c06c3(0x3df)]};break;}default:_0x1db579={'eventID':_0x6ec4c4['data'][_0x1c06c3(0x4d1)]};}return JSON['stringify']({'cmd':_0x6ec4c4[_0x1c06c3(0x23c)],'routeKey':_0x6ec4c4[_0x1c06c3(0x4b9)],'collaMsg':_0x1db579});}case I[_0x1c06c3(0x20f)]:return JSON[_0x1c06c3(0x3b1)]({'cmd':_0x6ec4c4[_0x1c06c3(0x23c)],'routeKey':_0x6ec4c4[_0x1c06c3(0x4b9)],'joinReq':_0x6ec4c4[_0x1c06c3(0x3d9)]});case I[_0x1c06c3(0x1fa)]:return JSON[_0x1c06c3(0x3b1)]({'cmd':_0x6ec4c4[_0x1c06c3(0x23c)],'routeKey':_0x6ec4c4[_0x1c06c3(0x4b9)],'leaveReq':_0x6ec4c4[_0x1c06c3(0x3d9)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x262f6e(0x44e)],Bn=Object[_0x262f6e(0x3c2)],Vn=(_0x49b6d5,_0x55817c,_0x36a431,_0x13e616)=>{const _0x428b7d=_0x262f6e;for(var _0x54fd59=_0x13e616>0x1?void 0x0:_0x13e616?Bn(_0x55817c,_0x36a431):_0x55817c,_0x14c7b4=_0x49b6d5[_0x428b7d(0x1c5)]-0x1,_0x3a4bc8;_0x14c7b4>=0x0;_0x14c7b4--)(_0x3a4bc8=_0x49b6d5[_0x14c7b4])&&(_0x54fd59=(_0x13e616?_0x3a4bc8(_0x55817c,_0x36a431,_0x54fd59):_0x3a4bc8(_0x54fd59))||_0x54fd59);return _0x13e616&&_0x54fd59&&kn(_0x55817c,_0x36a431,_0x54fd59),_0x54fd59;},De=(_0x1c6f8d,_0x3eecdf)=>(_0x1d352b,_0x6e7520)=>_0x3eecdf(_0x1d352b,_0x6e7520,_0x1c6f8d);const Vs=_0x4ef9ae(_0x262f6e(0x297));function Fn(_0x411f3c,_0x4601b7,_0x50d6b8){const _0x2014fc=_0x262f6e;return _0x411f3c+'/'+_0x4601b7+_0x2014fc(0x442)+_0x50d6b8+_0x2014fc(0x496);}let bt=class extends _0x553a63{constructor(_0x3c1649,_0x18744c,_0x183f4f,_0x47f9b1,_0x33c762){const _0x28f1a7=_0x262f6e;super(),this[_0x28f1a7(0x1c2)]=_0x3c1649,this[_0x28f1a7(0x263)]=_0x18744c,this[_0x28f1a7(0x3e1)]=_0x183f4f,this['_logService']=_0x47f9b1,this[_0x28f1a7(0x4ef)]=_0x33c762;}[_0x262f6e(0x4af)](_0x5cf56f){const _0xcc0072=_0x262f6e,_0x5cb829=this[_0xcc0072(0x263)][_0xcc0072(0x4af)](_0x5cf56f);if(!_0x5cb829)throw new Error(_0xcc0072(0x1cc));const _0x5c74ec=new _0x39fca3(),_0x5aad14=new _0x154ded();_0x5c74ec['add'](_0x5cb829['close$']['subscribe'](_0x4f6eff=>_0x5aad14[_0xcc0072(0x377)](_0x4f6eff))),_0x5c74ec[_0xcc0072(0x33e)](_0x18f2c5(()=>_0x5aad14[_0xcc0072(0x50c)]()));const _0x2bc6c7=new _0x154ded();_0x5c74ec[_0xcc0072(0x33e)](_0x5cb829[_0xcc0072(0x317)][_0xcc0072(0x481)](_0x32d012=>_0x2bc6c7['next'](_0x32d012))),_0x5c74ec[_0xcc0072(0x33e)](_0x18f2c5(()=>_0x2bc6c7['complete']()));const _0x4aaaff=new _0x154ded();_0x5c74ec['add'](_0x5cb829[_0xcc0072(0x21f)]['subscribe'](_0x7190e3=>{const _0x5cd40d=_0xcc0072,_0x173394=Hn(_0x7190e3);_0x4aaaff[_0x5cd40d(0x377)](_0x173394);})),_0x5c74ec['add'](_0x18f2c5(()=>_0x4aaaff[_0xcc0072(0x50c)]()));let _0x2c1c0a;const _0x18d84c=()=>{const _0x54c134=_0xcc0072;_0x2bc6c7[_0x54c134(0x377)](new Event(_0x54c134(0x25d))),_0x5aad14[_0x54c134(0x377)](new CloseEvent(_0x54c134(0x25d))),_0x2c1c0a[_0x54c134(0x2df)]();};return _0x2c1c0a={'memberID':'','close$':_0x5aad14[_0xcc0072(0x518)](),'error$':_0x2bc6c7[_0xcc0072(0x518)](),'open$':_0x5cb829[_0xcc0072(0x35f)],'message$':_0x4aaaff[_0xcc0072(0x518)](),'send':_0xdf5c2b=>{const _0x4a37da=_0xcc0072;if(_0xdf5c2b['cmd']===I[_0x4a37da(0x451)]){if(_0xdf5c2b[_0x4a37da(0x3d9)][_0x4a37da(0x4d1)]===_0x1f4b1b['SUBMIT_CHANGESET']){this[_0x4a37da(0x2be)](_0x2c1c0a,_0xdf5c2b['data'])[_0x4a37da(0x423)](_0xee73f3=>{const _0x12f515=_0x4a37da;this[_0x12f515(0x310)][_0x12f515(0x280)](_0xee73f3),_0x18d84c();});return;}if(_0xdf5c2b[_0x4a37da(0x3d9)][_0x4a37da(0x4d1)]===_0x1f4b1b['FETCH_MISSING']){const _0x5b3b17=_0xdf5c2b[_0x4a37da(0x3d9)];this['_fetchMissChangesets'](_0x5b3b17)['then'](_0x120211=>{const _0xaeb572=_0x4a37da;_0x4aaaff[_0xaeb572(0x377)]({'cmd':I[_0xaeb572(0x419)],'code':Ft['OK'],'routeKey':_0x5b3b17[_0xaeb572(0x3d9)][_0xaeb572(0x392)],'routeType':'','data':{'eventID':_0x1f4b1b['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x120211}}});})['catch'](_0x38be56=>{const _0xa743f=_0x4a37da;this[_0xa743f(0x310)][_0xa743f(0x280)](_0x38be56),_0x18d84c();});return;}}_0x5cb829[_0x4a37da(0x4f7)](xn(_0xdf5c2b));},'close':()=>{const _0x388636=_0xcc0072;_0x5cb829[_0x388636(0x2df)](),_0x5c74ec['dispose']();}},_0x2c1c0a;}async[_0x262f6e(0x2be)](_0x2ea148,_0x39bee1){const _0xc9df56=_0x262f6e;var _0x4bf38d,_0x3dfba6;const {unitType:_0x4553fe,unitID:_0x390718,changeset:_0x48ebbe}=_0x39bee1[_0xc9df56(0x3d9)],_0x508fa4={'unitID':_0x390718,'memberID':_0x2ea148['memberID'],'type':_0x4553fe,'changeset':_0xfc5a58(_0x48ebbe)},_0x2447c9=this[_0xc9df56(0x3e1)]['getConfig'](An),_0x3def27=this[_0xc9df56(0x3e1)][_0xc9df56(0x3ab)](j),_0x1c4f90=Fn((_0x3dfba6=(_0x4bf38d=_0x3def27==null?void 0x0:_0x3def27[_0xc9df56(0x4db)])!=null?_0x4bf38d:_0x2447c9)!=null?_0x3dfba6:Mn,_0x4553fe,_0x390718);try{await this[_0xc9df56(0x1c2)][_0xc9df56(0x493)](_0x1c4f90,{'body':_0x508fa4});}catch(_0x1293fe){throw this[_0xc9df56(0x310)]['error']('[CollaborationSession]',_0xc9df56(0x3b3)),_0x1293fe;}}async[_0x262f6e(0x36f)](_0x52c9b){const _0x1db9b6=_0x262f6e,{unitID:_0x12ff07,from:_0x1dd970,to:_0x5d13a8,unitType:_0x2dfaf9}=_0x52c9b['data'];return(await this[_0x1db9b6(0x4ef)][_0x1db9b6(0x2ae)]({'metadata':void 0x0},{'unitID':_0x12ff07,'type':_0x2dfaf9,'from':_0x1dd970,'to':_0x5d13a8}))['changesets'];}};bt=Vn([De(0x0,_0x26d5df(_0x3c5275)),De(0x1,_0x26d5df(_0x211742)),De(0x2,_0x4b38b2),De(0x3,_0x2bd539),De(0x4,_0x4b6234)],bt);const Wn='collaboration_new_changeset';function Gn(_0x28826e){const _0x1b81ce=_0x262f6e;return JSON[_0x1b81ce(0x3b1)](_0x28826e)[_0x1b81ce(0x1c5)];}class Fs{constructor(){const _0x2b4542=_0x262f6e;l(this,_0x2b4542(0x3bc),new _0x154ded()),l(this,_0x2b4542(0x3a9),this[_0x2b4542(0x3bc)]['asObservable']());}['onCommentUpdate'](_0x37c3d6){const _0x43fa2e=_0x262f6e;this[_0x43fa2e(0x3bc)]['next'](_0x37c3d6);}}var Yn=Object[_0x262f6e(0x44e)],Kn=Object[_0x262f6e(0x3c2)],Xn=(_0x119fea,_0x5ca941,_0x590b13,_0x4532b6)=>{const _0x4c42da=_0x262f6e;for(var _0x3def60=_0x4532b6>0x1?void 0x0:_0x4532b6?Kn(_0x5ca941,_0x590b13):_0x5ca941,_0x24d6e9=_0x119fea[_0x4c42da(0x1c5)]-0x1,_0x469aa6;_0x24d6e9>=0x0;_0x24d6e9--)(_0x469aa6=_0x119fea[_0x24d6e9])&&(_0x3def60=(_0x4532b6?_0x469aa6(_0x5ca941,_0x590b13,_0x3def60):_0x469aa6(_0x3def60))||_0x3def60);return _0x4532b6&&_0x3def60&&Yn(_0x5ca941,_0x590b13,_0x3def60),_0x3def60;},cs=(_0x49fa71,_0xd3afef)=>(_0x4a0607,_0x55c2e4)=>_0xd3afef(_0x4a0607,_0x55c2e4,_0x49fa71);let _e=class extends _0x553a63{constructor(_0x54d418,_0x4c82f0){const _0x11f8e8=_0x262f6e;super(),l(this,_0x11f8e8(0x1b4),new Map()),(this[_0x11f8e8(0x39a)]=_0x54d418,this[_0x11f8e8(0x2f1)]=_0x4c82f0,this[_0x11f8e8(0x2fd)](_0x18f2c5(_0x4e21b3(this['_univerInstanceService'][_0x11f8e8(0x410)](_0x4e9f6c[_0x11f8e8(0x2ad)])[_0x11f8e8(0x337)](_0x5eb34b(_0xcec4a3=>_0xcec4a3[_0x11f8e8(0x355)]())),this[_0x11f8e8(0x39a)][_0x11f8e8(0x410)](_0x4e9f6c[_0x11f8e8(0x2e7)])[_0x11f8e8(0x337)](_0x5eb34b(_0x5ba1a3=>_0x5ba1a3[_0x11f8e8(0x355)]())),this[_0x11f8e8(0x39a)][_0x11f8e8(0x410)](_0x4e9f6c['UNIVER_SLIDE'])[_0x11f8e8(0x337)](_0x5eb34b(_0x382f8a=>_0x382f8a['getUnitId']())))[_0x11f8e8(0x481)](_0x4f3a12=>this[_0x11f8e8(0x41f)](_0x4f3a12)))));}[_0x262f6e(0x3c3)](_0x5d2b3b){const _0x397b0a=_0x262f6e;this[_0x397b0a(0x2f1)][_0x397b0a(0x3c3)](_0x5d2b3b);}['getCurrentUser'](){const _0x529c91=_0x262f6e;return this[_0x529c91(0x2f1)]['getCurrentUser']();}[_0x262f6e(0x421)](_0x294db2,_0xbf3c3f){const _0x410f60=_0x262f6e;let _0x3c3b17=this[_0x410f60(0x1b4)][_0x410f60(0x358)](_0x294db2);_0x3c3b17||(_0x3c3b17=new qn(),this[_0x410f60(0x1b4)]['set'](_0x294db2,_0x3c3b17)),_0x3c3b17[_0x410f60(0x421)](_0xbf3c3f);}[_0x262f6e(0x1f9)](_0xdac4ae,_0x29c54d){const _0x1c7e0b=_0x262f6e,_0x392d30=this[_0x1c7e0b(0x1b4)][_0x1c7e0b(0x358)](_0xdac4ae);_0x392d30&&_0x392d30['removeMember'](_0x29c54d);}['getRoom'](_0x5bea7f){const _0x791e34=_0x262f6e;return this['_roomMembers'][_0x791e34(0x358)](_0x5bea7f);}[_0x262f6e(0x460)](_0x374389,_0x3bf59a){const _0x2073b4=_0x262f6e,_0x59ed4a=this[_0x2073b4(0x1b4)][_0x2073b4(0x358)](_0x374389);if(_0x59ed4a)return _0x59ed4a[_0x2073b4(0x460)](_0x3bf59a);}[_0x262f6e(0x41f)](_0x327688){const _0x8b9047=_0x262f6e,_0x3ee162=this[_0x8b9047(0x1b4)][_0x8b9047(0x358)](_0x327688);_0x3ee162&&(_0x3ee162['dispose'](),this[_0x8b9047(0x1b4)][_0x8b9047(0x47a)](_0x327688));}[_0x262f6e(0x1db)](){const _0x56f9e2=_0x262f6e;this['_roomMembers']['forEach'](_0x1f58c6=>_0x1f58c6['dispose']()),this[_0x56f9e2(0x1b4)][_0x56f9e2(0x482)]();}};_e=Xn([cs(0x0,_0x377149),cs(0x1,_0x26d5df(_0x5ca9dd))],_e);class qn extends _0x553a63{constructor(){const _0xcf5e8d=_0x262f6e;super(...arguments),l(this,_0xcf5e8d(0x4ce),new Map());}[_0x262f6e(0x1db)](){this['_members']['clear']();}[_0x262f6e(0x421)](_0x4e948f){const _0x52315a=_0x262f6e;this[_0x52315a(0x4ce)][_0x52315a(0x26b)](_0x4e948f[_0x52315a(0x492)],_0x4e948f);}[_0x262f6e(0x1f9)](_0x395e01){const _0x190d6a=_0x262f6e;this[_0x190d6a(0x4ce)][_0x190d6a(0x47a)](_0x395e01);}[_0x262f6e(0x460)](_0xf5b064){const _0xd124b7=_0x262f6e;return this[_0xd124b7(0x4ce)][_0xd124b7(0x358)](_0xf5b064);}['getAllMembers'](){const _0x216905=_0x262f6e;return Array[_0x216905(0x1a3)](this[_0x216905(0x4ce)][_0x216905(0x433)]());}}var Jn=Object[_0x262f6e(0x44e)],zn=Object[_0x262f6e(0x3c2)],Zn=(_0x5c2068,_0x39afac,_0x315fad,_0x371d15)=>{const _0x6a8ca6=_0x262f6e;for(var _0x2fcbd8=_0x371d15>0x1?void 0x0:_0x371d15?zn(_0x39afac,_0x315fad):_0x39afac,_0x119bed=_0x5c2068[_0x6a8ca6(0x1c5)]-0x1,_0x4aacd0;_0x119bed>=0x0;_0x119bed--)(_0x4aacd0=_0x5c2068[_0x119bed])&&(_0x2fcbd8=(_0x371d15?_0x4aacd0(_0x39afac,_0x315fad,_0x2fcbd8):_0x4aacd0(_0x2fcbd8))||_0x2fcbd8);return _0x371d15&&_0x2fcbd8&&Jn(_0x39afac,_0x315fad,_0x2fcbd8),_0x2fcbd8;},Z=(_0x594441,_0x4b32ab)=>(_0x2cd3cc,_0x5d80f9)=>_0x4b32ab(_0x2cd3cc,_0x5d80f9,_0x594441),X=(_0x2a5925=>(_0x2a5925[_0x2a5925[_0x262f6e(0x32e)]=0x0]=_0x262f6e(0x32e),_0x2a5925[_0x2a5925[_0x262f6e(0x42f)]=0x1]=_0x262f6e(0x42f),_0x2a5925[_0x2a5925['OFFLINE']=0x2]=_0x262f6e(0x37a),_0x2a5925[_0x2a5925[_0x262f6e(0x212)]=0x3]=_0x262f6e(0x212),_0x2a5925))(X||{});let Tt=class extends _0x866c0c{constructor(_0x4dd50e,_0x3f1c3e,_0x55a1c0,_0x3d9c21,_0x22dee4,_0x260ed1,_0x45855f,_0x17faa6,_0x13f9a1,_0x482779){const _0x473d94=_0x262f6e;super(),l(this,_0x473d94(0x502),new _0x50e691(0x0)),l(this,_0x473d94(0x20c),this['_sessionStatus$'][_0x473d94(0x518)]()),l(this,'_event$',new _0x154ded()),l(this,_0x473d94(0x276),this[_0x473d94(0x507)][_0x473d94(0x518)]()),l(this,_0x473d94(0x46e)),l(this,_0x473d94(0x2e4)),l(this,_0x473d94(0x42a)),l(this,_0x473d94(0x381),!0x1),l(this,_0x473d94(0x368),null),(this['_unitID']=_0x4dd50e,this[_0x473d94(0x310)]=_0x55a1c0,this[_0x473d94(0x3ea)]=_0x3d9c21,this['_messageService']=_0x22dee4,this[_0x473d94(0x3e1)]=_0x260ed1,this[_0x473d94(0x33a)]=_0x45855f,this[_0x473d94(0x431)]=_0x17faa6,this[_0x473d94(0x31a)]=_0x13f9a1,this[_0x473d94(0x253)]=_0x482779,this[_0x473d94(0x381)]=!!this[_0x473d94(0x253)],_0x3f1c3e[_0x473d94(0x337)](_0x1e91dc(this['dispose$']))['subscribe'](_0x3adebb=>{const _0x4161=_0x473d94;var _0x4ae46d;typeof _0x3adebb>'u'||(this[_0x4161(0x46e)]=_0x3adebb,_0x3adebb?(this['_joinRoom'](_0x3adebb),this[_0x4161(0x2e4)]=_0x3adebb['message$'][_0x4161(0x481)](_0x341c4a=>{const _0x2248a6=_0x4161;_0x341c4a[_0x2248a6(0x4b9)]===this[_0x2248a6(0x3b9)]&&this['_onCombEvent'](_0x341c4a);})):(this[_0x4161(0x293)](),this[_0x4161(0x502)][_0x4161(0x377)](0x2),(_0x4ae46d=this[_0x4161(0x2e4)])==null||_0x4ae46d[_0x4161(0x2c8)](),this[_0x4161(0x2e4)]=null));}),this['disposeWithMe'](this['_beforeCloseService'][_0x473d94(0x31b)](()=>{const _0x6c41dd=_0x473d94;var _0x45dab2;(_0x45dab2=this['_socket'])==null||_0x45dab2[_0x6c41dd(0x4f7)]({'cmd':I[_0x6c41dd(0x1fa)],'data':{'roomID':this[_0x6c41dd(0x3b9)]}});})));}get[_0x262f6e(0x295)](){const _0x8db1a8=_0x262f6e;return this[_0x8db1a8(0x502)][_0x8db1a8(0x356)]();}['getMemberID'](){const _0x4cce13=_0x262f6e;var _0x567dc9,_0x4e632b;return(_0x4e632b=(_0x567dc9=this[_0x4cce13(0x46e)])==null?void 0x0:_0x567dc9['memberID'])!=null?_0x4e632b:null;}[_0x262f6e(0x1db)](){const _0x6d1d69=_0x262f6e;super[_0x6d1d69(0x1db)](),this[_0x6d1d69(0x277)][_0x6d1d69(0x377)](),this[_0x6d1d69(0x277)][_0x6d1d69(0x50c)]();}[_0x262f6e(0x2df)](){const _0x4a0ee1=_0x262f6e;var _0x5f504d,_0x26251c;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5f504d=this['_socket'])==null||_0x5f504d['send']({'cmd':I[_0x4a0ee1(0x1fa)],'data':{'roomID':this[_0x4a0ee1(0x3b9)]}}),(_0x26251c=this[_0x4a0ee1(0x46e)])==null||_0x26251c[_0x4a0ee1(0x2df)](),this[_0x4a0ee1(0x507)][_0x4a0ee1(0x50c)](),this[_0x4a0ee1(0x502)]['complete'](),this[_0x4a0ee1(0x1db)]();}[_0x262f6e(0x396)](_0x2728b6){const _0x119a17=_0x262f6e;_0x2728b6['cmd']===I[_0x119a17(0x20f)]?this['_onJoinRoomEvent'](_0x2728b6):_0x2728b6[_0x119a17(0x23c)]===I['RECV']&&this[_0x119a17(0x4dd)](_0x2728b6);}[_0x262f6e(0x43f)](_0x4c742f){const _0x3bd8cf=_0x262f6e;this['_sessionStatus$'][_0x3bd8cf(0x377)](0x1),_0x4c742f[_0x3bd8cf(0x4f7)]({'cmd':I[_0x3bd8cf(0x20f)],'routeKey':this[_0x3bd8cf(0x3b9)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3bd8cf(0x3b9)]}]}});}[_0x262f6e(0x27e)](_0x5ccc55){const _0x13f2b6=_0x262f6e;var _0x2e8388;if(_0x5ccc55[_0x13f2b6(0x1e2)]===Ft[_0x13f2b6(0x1fd)]){this[_0x13f2b6(0x4ba)][_0x13f2b6(0x4f5)]({'type':_0x5ed11f[_0x13f2b6(0x339)],'content':this[_0x13f2b6(0x33a)]['t'](_0x13f2b6(0x2c9))}),this['_sessionStatus$'][_0x13f2b6(0x377)](0x2);return;}this[_0x13f2b6(0x502)]['next'](0x3);const _0x5e53fe=(_0x2e8388=_0x5ccc55[_0x13f2b6(0x3d9)][_0x13f2b6(0x2a5)][this[_0x13f2b6(0x3b9)]])==null?void 0x0:_0x2e8388[_0x13f2b6(0x2bd)];_0x5e53fe&&_0x5e53fe[_0x13f2b6(0x3a5)](_0x5b08a4=>this[_0x13f2b6(0x431)][_0x13f2b6(0x421)](this[_0x13f2b6(0x3b9)],_0x5b08a4));}[_0x262f6e(0x4dd)](_0x44361b){const _0x31ef66=_0x262f6e;try{const _0xc7d80a=_0x44361b[_0x31ef66(0x3d9)];switch(_0xc7d80a['eventID']){case _0x1f4b1b[_0x31ef66(0x3c4)]:this[_0x31ef66(0x4c3)](_0xc7d80a),this[_0x31ef66(0x507)]['next'](_0xc7d80a);break;case _0x1f4b1b[_0x31ef66(0x47e)]:this[_0x31ef66(0x51e)](_0xc7d80a),this['_event$'][_0x31ef66(0x377)](_0xc7d80a);break;case _0x1f4b1b[_0x31ef66(0x3b0)]:case _0x1f4b1b[_0x31ef66(0x19f)]:this[_0x31ef66(0x3f9)](),this['_clearCollaborationTimeoutTimer'](),this[_0x31ef66(0x507)]['next'](_0xc7d80a);break;case _0x1f4b1b['MSG_FOR_ERROR']:this[_0x31ef66(0x310)][_0x31ef66(0x280)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x31ef66(0x3b1)](_0xc7d80a)),this[_0x31ef66(0x507)][_0x31ef66(0x377)](_0xc7d80a);break;case _0x1f4b1b[_0x31ef66(0x3c6)]:this[_0x31ef66(0x31a)][_0x31ef66(0x21d)](_0xc7d80a[_0x31ef66(0x3d9)]),this['_event$'][_0x31ef66(0x377)](_0xc7d80a);break;default:this[_0x31ef66(0x507)]['next'](_0xc7d80a);}}catch(_0x53b2c9){this[_0x31ef66(0x310)][_0x31ef66(0x280)](_0x53b2c9,_0x44361b);}}[_0x262f6e(0x4c3)](_0x2d5ed2){const _0x5bbe65=_0x262f6e;this[_0x5bbe65(0x431)][_0x5bbe65(0x421)](this[_0x5bbe65(0x3b9)],_0x2d5ed2['data']);}[_0x262f6e(0x51e)](_0x533a62){const _0xc011aa=_0x262f6e;this[_0xc011aa(0x431)]['removeMember'](this['_unitID'],_0x533a62[_0xc011aa(0x3d9)][_0xc011aa(0x492)]);}async[_0x262f6e(0x4f7)](_0x5357bc,_0x1cb324){const _0x4d0bb4=_0x262f6e;if(this[_0x4d0bb4(0x295)]!==0x3||!this['_socket'])throw new Error(_0x4d0bb4(0x3e6));try{_0x5357bc[_0x4d0bb4(0x4d1)]===_0x1f4b1b[_0x4d0bb4(0x390)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x5357bc)),this[_0x4d0bb4(0x46e)]['send']({'cmd':I[_0x4d0bb4(0x451)],'routeKey':_0x1cb324,'routeType':'','data':_0x5357bc});}catch(_0x4a0bef){this[_0x4d0bb4(0x310)][_0x4d0bb4(0x280)](_0x4a0bef);}}[_0x262f6e(0x40b)](){const _0x2df3fc=_0x262f6e;var _0x483654;this[_0x2df3fc(0x42a)]=window['setTimeout'](()=>{const _0x36db59=_0x2df3fc;this[_0x36db59(0x42a)]=null,this[_0x36db59(0x4ba)][_0x36db59(0x4f5)]({'type':_0x5ed11f['Error'],'content':this['_localeService']['t'](_0x36db59(0x4ff))});},(_0x483654=this['_configService'][_0x2df3fc(0x3ab)](Hs))!=null?_0x483654:xs);}[_0x262f6e(0x2b6)](){const _0x3a5e87=_0x262f6e;this[_0x3a5e87(0x42a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x262f6e(0x26d)](_0x3f99d5){const _0x50b193=_0x262f6e;if(!this[_0x50b193(0x381)])return;const {data:_0xb10902}=_0x3f99d5,{unitID:_0x358ae3,changeset:_0x26a86c}=_0xb10902,{mutations:_0x444504,type:_0xfc785e}=_0x26a86c;this['_telemetryInfo']={'unitId':_0x358ae3,'type':_0xfc785e,'startTime':performance[_0x50b193(0x312)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x444504)};}[_0x262f6e(0x3f9)](){const _0x4c2f2d=_0x262f6e;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x4c2f2d(0x310)][_0x4c2f2d(0x280)](_0x4c2f2d(0x357),_0x4c2f2d(0x26f));return;}this[_0x4c2f2d(0x368)]['stopTime']=performance[_0x4c2f2d(0x312)](),this[_0x4c2f2d(0x368)][_0x4c2f2d(0x2e3)]=this[_0x4c2f2d(0x368)][_0x4c2f2d(0x22e)]-this['_telemetryInfo'][_0x4c2f2d(0x494)],this[_0x4c2f2d(0x253)][_0x4c2f2d(0x458)](Wn,this[_0x4c2f2d(0x368)]),this['_telemetryInfo']=null;}}[_0x262f6e(0x293)](){this['_telemetryInfo']=null;}};Tt=Zn([Z(0x2,_0x2bd539),Z(0x3,_0x36412d),Z(0x4,_0x2f20aa),Z(0x5,_0x4b38b2),Z(0x6,_0x26d5df(_0x32fffe)),Z(0x7,_0x26d5df(_e)),Z(0x8,_0x26d5df(Fs)),Z(0x9,_0x54fca0(_0xd0c748))],Tt);var Qn=Object[_0x262f6e(0x44e)],er=Object['getOwnPropertyDescriptor'],tr=(_0x5a8ab2,_0x2f86b9,_0x1b9aae,_0x1dc2cc)=>{const _0x45276b=_0x262f6e;for(var _0x596889=_0x1dc2cc>0x1?void 0x0:_0x1dc2cc?er(_0x2f86b9,_0x1b9aae):_0x2f86b9,_0x5e1013=_0x5a8ab2[_0x45276b(0x1c5)]-0x1,_0x42fc85;_0x5e1013>=0x0;_0x5e1013--)(_0x42fc85=_0x5a8ab2[_0x5e1013])&&(_0x596889=(_0x1dc2cc?_0x42fc85(_0x2f86b9,_0x1b9aae,_0x596889):_0x42fc85(_0x596889))||_0x596889);return _0x1dc2cc&&_0x596889&&Qn(_0x2f86b9,_0x1b9aae,_0x596889),_0x596889;},Se=(_0x55f4e7,_0x23d4a4)=>(_0x4ebe7c,_0x30c8b0)=>_0x23d4a4(_0x4ebe7c,_0x30c8b0,_0x55f4e7);let ue=class extends _0x553a63{constructor(_0x314b73,_0xc55a12,_0x493274,_0x178443,_0x244de2,_0x1d81e9){const _0x1f7a96=_0x262f6e;super(),l(this,_0x1f7a96(0x490),new _0x50e691(void 0x0)),l(this,_0x1f7a96(0x1cb),this[_0x1f7a96(0x490)][_0x1f7a96(0x518)]()),l(this,'_candidateSocket',null),l(this,_0x1f7a96(0x4d3),new Map()),l(this,_0x1f7a96(0x46f),new _0x50e691(X[_0x1f7a96(0x32e)])),l(this,_0x1f7a96(0x1f3),this['_status$']['asObservable']()),l(this,_0x1f7a96(0x529),!0x1),l(this,_0x1f7a96(0x2c7)),l(this,_0x1f7a96(0x47b),0x0),l(this,_0x1f7a96(0x3c5)),l(this,_0x1f7a96(0x2ba)),(this['_injector']=_0x314b73,this[_0x1f7a96(0x33a)]=_0xc55a12,this[_0x1f7a96(0x4ba)]=_0x493274,this[_0x1f7a96(0x310)]=_0x178443,this[_0x1f7a96(0x3e1)]=_0x244de2,this[_0x1f7a96(0x3fc)]=_0x1d81e9,this[_0x1f7a96(0x45f)]());}get[_0x262f6e(0x46e)](){const _0x42e7ae=_0x262f6e;return this[_0x42e7ae(0x490)]['getValue']();}['_initEventListeners'](){const _0x10b505=_0x262f6e;this[_0x10b505(0x424)](),this[_0x10b505(0x3bb)]();}[_0x262f6e(0x1db)](){const _0x18465f=_0x262f6e;super[_0x18465f(0x1db)](),this['_sessions'][_0x18465f(0x3a5)](_0xc600f=>_0xc600f['dispose']()),this[_0x18465f(0x4d3)][_0x18465f(0x482)](),this['_status$'][_0x18465f(0x50c)]();}async[_0x262f6e(0x246)](_0x35d468){const _0x1ee3b2=_0x262f6e;if(this[_0x1ee3b2(0x4d3)][_0x1ee3b2(0x3a4)](_0x35d468))return this['_sessions'][_0x1ee3b2(0x358)](_0x35d468);this[_0x1ee3b2(0x464)]();const _0x460dc6=this[_0x1ee3b2(0x3af)][_0x1ee3b2(0x35c)](Tt,_0x35d468,this[_0x1ee3b2(0x490)]['asObservable']());return this['_sessions'][_0x1ee3b2(0x26b)](_0x35d468,_0x460dc6),_0x460dc6;}[_0x262f6e(0x3c0)](_0x4e6039){const _0x5de3f1=_0x262f6e;var _0x4ef908;const _0x39d789=this[_0x5de3f1(0x4d3)][_0x5de3f1(0x358)](_0x4e6039);_0x39d789&&(this[_0x5de3f1(0x4d3)]['delete'](_0x4e6039),_0x39d789[_0x5de3f1(0x2df)]()),this[_0x5de3f1(0x4d3)][_0x5de3f1(0x4a9)]||(_0x4ef908=this[_0x5de3f1(0x46e)])==null||_0x4ef908['close']();}[_0x262f6e(0x1a5)](){const _0x3f983e=_0x262f6e;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x3f983e(0x2c7)]),this[_0x3f983e(0x2c7)]=null),this[_0x3f983e(0x1a9)]();}[_0x262f6e(0x49e)](){const _0x3dda3f=_0x262f6e;var _0x3277c8,_0x3c52b3;const _0x28cd78=this[_0x3dda3f(0x3e1)][_0x3dda3f(0x3ab)](Tn),_0x375b95=this['_configService'][_0x3dda3f(0x3ab)](j),_0xcd26b1=(_0x3c52b3=(_0x3277c8=_0x375b95==null?void 0x0:_0x375b95[_0x3dda3f(0x33b)])!=null?_0x3277c8:_0x28cd78)!=null?_0x3c52b3:Rn,_0x5b14a3=this[_0x3dda3f(0x3fc)]['createSocket'](_0xcd26b1);return this['_candidateSocket']=_0x5b14a3,_0x5b14a3;}[_0x262f6e(0x464)](){const _0x3350c8=_0x262f6e;var _0x52442f,_0xe8a13b;try{const _0x5ef0cb=(_0xe8a13b=(_0x52442f=this[_0x3350c8(0x46e)])!=null?_0x52442f:this[_0x3350c8(0x438)])!=null?_0xe8a13b:this[_0x3350c8(0x49e)]();if(_0x5ef0cb){const _0x1581ac=_0x5ef0cb[_0x3350c8(0x4f7)];_0x5ef0cb['send']=_0x5ab4fc=>(this['_rescheduleHeartbeat'](),_0x1581ac[_0x3350c8(0x473)](_0x5ef0cb,[_0x5ab4fc])),_0x5ef0cb['message$']['subscribe'](_0x2bc63f=>this[_0x3350c8(0x29c)](_0x5ef0cb,_0x2bc63f)),_0x5ef0cb[_0x3350c8(0x317)]['pipe'](_0x5d967f(0x1))['subscribe'](_0x396e59=>this[_0x3350c8(0x310)][_0x3350c8(0x280)]('[CollaborationSessionService]:\x20socket\x20error',_0x396e59)),_0x5ef0cb[_0x3350c8(0x35f)]['pipe'](_0x5d967f(0x1))[_0x3350c8(0x481)](()=>{const _0x18aa49=_0x3350c8;this[_0x18aa49(0x320)](_0x5ef0cb);}),_0x5ef0cb[_0x3350c8(0x340)][_0x3350c8(0x337)](_0x5d967f(0x1))[_0x3350c8(0x481)](_0x13d04d=>{const _0x2606ac=_0x3350c8;this[_0x2606ac(0x310)][_0x2606ac(0x29e)]('[CollaborationSessionService]',_0x2606ac(0x468),_0x13d04d),this[_0x2606ac(0x4b4)]();});}}catch(_0x31f176){this[_0x3350c8(0x310)][_0x3350c8(0x280)](_0x31f176),this['_onConnectionFailed']();}}[_0x262f6e(0x320)](_0x1df217){const _0x12a02c=_0x262f6e;this['_logService'][_0x12a02c(0x29e)](_0x12a02c(0x1dd),_0x12a02c(0x3ef)),_0x1df217[_0x12a02c(0x4f7)]({'cmd':I[_0x12a02c(0x326)]}),this[_0x12a02c(0x1e0)]();}[_0x262f6e(0x424)](){const _0x399333=_0x262f6e;window[_0x399333(0x302)](_0x399333(0x2cb),()=>this['_onOffline']());}[_0x262f6e(0x37f)](){const _0x10bdfc=_0x262f6e;this[_0x10bdfc(0x529)]=!0x1,this[_0x10bdfc(0x438)]=null,this[_0x10bdfc(0x46f)]['next'](X[_0x10bdfc(0x37a)]),this[_0x10bdfc(0x490)][_0x10bdfc(0x377)](null),this[_0x10bdfc(0x36c)](),this['_clearHeartbeatTimer']();}[_0x262f6e(0x4b4)](){const _0x106cdf=_0x262f6e;var _0x4eb4b7;this['_onOffline'](),this['_retryCount']<((_0x4eb4b7=this[_0x106cdf(0x3e1)][_0x106cdf(0x3ab)](Pn))!=null?_0x4eb4b7:yn)?(this[_0x106cdf(0x4ba)][_0x106cdf(0x4f5)]({'key':'collaboration-session-retry','type':_0x5ed11f[_0x106cdf(0x339)],'content':this['_localeService']['t'](_0x106cdf(0x428))}),this[_0x106cdf(0x1a9)]()):this[_0x106cdf(0x4ba)][_0x106cdf(0x4f5)]({'key':_0x106cdf(0x3f6),'type':_0x5ed11f[_0x106cdf(0x31d)],'content':this[_0x106cdf(0x33a)]['t'](_0x106cdf(0x316))});}[_0x262f6e(0x3bb)](){const _0x2428fb=_0x262f6e,_0x3b7e54=()=>{const _0x1953e0=_0x275e;this['_socket']||this[_0x1953e0(0x1a5)]();},_0x446c92=()=>{const _0x29a15f=_0x275e;this['_socket']||document['visibilityState']===_0x29a15f(0x1ff)||this[_0x29a15f(0x1a5)]();};window[_0x2428fb(0x302)](_0x2428fb(0x441),_0x3b7e54),document[_0x2428fb(0x302)](_0x2428fb(0x42c),_0x446c92);}['_tryReconnect'](){const _0x2d3841=_0x262f6e;var _0x9ed082;const _0x178888=this[_0x2d3841(0x47b)],_0x210a8d=this[_0x2d3841(0x3e1)][_0x2d3841(0x3ab)](j),_0x3c4746=_0x178888===0x0?0x0:((_0x9ed082=_0x210a8d==null?void 0x0:_0x210a8d['retryConnectingInterval'])!=null?_0x9ed082:wn)*0x2**_0x178888;this['_retryConnectingTimer']=window[_0x2d3841(0x4a1)](()=>{const _0x4d2c99=_0x2d3841;clearTimeout(this[_0x4d2c99(0x2c7)]),this[_0x4d2c99(0x2c7)]=null,this[_0x4d2c99(0x464)]();},_0x3c4746),this[_0x2d3841(0x47b)]+=0x1;}[_0x262f6e(0x29c)](_0x2716b9,_0x5c7206){const _0x200032=_0x262f6e,{cmd:_0x550185}=_0x5c7206;_0x550185===I['HELLO']&&!this[_0x200032(0x529)]&&(_0x2716b9[_0x200032(0x492)]=_0x5c7206[_0x200032(0x3d9)]['memberID'],this[_0x200032(0x490)]['next'](_0x2716b9),this[_0x200032(0x46f)][_0x200032(0x377)](X[_0x200032(0x212)]),this['_socketReady']=!0x0,this[_0x200032(0x438)]=null),_0x550185===I[_0x200032(0x4e7)]&&this[_0x200032(0x36c)](),this[_0x200032(0x1e0)]();}['_rescheduleHeartbeat'](){const _0x92fc2=_0x262f6e;var _0x110e14;this[_0x92fc2(0x447)](),this[_0x92fc2(0x3c5)]=window[_0x92fc2(0x4a1)](()=>this[_0x92fc2(0x19e)](),(_0x110e14=this[_0x92fc2(0x3e1)][_0x92fc2(0x3ab)](On))!=null?_0x110e14:Dn);}[_0x262f6e(0x19e)](){const _0x3e2a3f=_0x262f6e;this[_0x3e2a3f(0x46e)][_0x3e2a3f(0x4f7)]({'cmd':I[_0x3e2a3f(0x4e7)]}),this[_0x3e2a3f(0x4a6)]();}[_0x262f6e(0x4a6)](){const _0x5181eb=_0x262f6e;var _0x2322d7;this['_timeoutTimer']=window[_0x5181eb(0x4a1)](()=>this[_0x5181eb(0x4b4)](),(_0x2322d7=this[_0x5181eb(0x3e1)][_0x5181eb(0x3ab)](Hs))!=null?_0x2322d7:xs);}[_0x262f6e(0x447)](){const _0x13143b=_0x262f6e;this[_0x13143b(0x3c5)]!=null&&(clearTimeout(this[_0x13143b(0x3c5)]),this[_0x13143b(0x3c5)]=null);}['_clearTimeoutTimer'](){const _0x411bea=_0x262f6e;this[_0x411bea(0x2ba)]!=null&&(clearTimeout(this[_0x411bea(0x2ba)]),this[_0x411bea(0x2ba)]=null);}};ue=tr([Se(0x0,_0x26d5df(_0x506841)),Se(0x1,_0x26d5df(_0x32fffe)),Se(0x2,_0x2f20aa),Se(0x3,_0x2bd539),Se(0x4,_0x4b38b2),Se(0x5,Vs)],ue);var T=[];for(var ht=0x0;ht<0x100;++ht)T['push']((ht+0x100)['toString'](0x10)['slice'](0x1));function sr(_0x54f889,_0x456864=0x0){const _0x3020da=_0x262f6e;return(T[_0x54f889[_0x456864+0x0]]+T[_0x54f889[_0x456864+0x1]]+T[_0x54f889[_0x456864+0x2]]+T[_0x54f889[_0x456864+0x3]]+'-'+T[_0x54f889[_0x456864+0x4]]+T[_0x54f889[_0x456864+0x5]]+'-'+T[_0x54f889[_0x456864+0x6]]+T[_0x54f889[_0x456864+0x7]]+'-'+T[_0x54f889[_0x456864+0x8]]+T[_0x54f889[_0x456864+0x9]]+'-'+T[_0x54f889[_0x456864+0xa]]+T[_0x54f889[_0x456864+0xb]]+T[_0x54f889[_0x456864+0xc]]+T[_0x54f889[_0x456864+0xd]]+T[_0x54f889[_0x456864+0xe]]+T[_0x54f889[_0x456864+0xf]])[_0x3020da(0x1aa)]();}var ke,ir=new Uint8Array(0x10);function nr(){const _0x218403=_0x262f6e;if(!ke&&(ke=typeof crypto<'u'&&crypto[_0x218403(0x1df)]&&crypto[_0x218403(0x1df)][_0x218403(0x273)](crypto),!ke))throw new Error(_0x218403(0x1be));return ke(ir);}var rr=typeof crypto<'u'&&crypto[_0x262f6e(0x374)]&&crypto[_0x262f6e(0x374)][_0x262f6e(0x273)](crypto);const hs={'randomUUID':rr};function or(_0x71ff19,_0x326e0d,_0x3bc8d5){const _0x2a41c7=_0x262f6e;if(hs[_0x2a41c7(0x374)]&&!_0x326e0d&&!_0x71ff19)return hs[_0x2a41c7(0x374)]();_0x71ff19=_0x71ff19||{};var _0x36b8c3=_0x71ff19['random']||(_0x71ff19[_0x2a41c7(0x1c1)]||nr)();return _0x36b8c3[0x6]=_0x36b8c3[0x6]&0xf|0x40,_0x36b8c3[0x8]=_0x36b8c3[0x8]&0x3f|0x80,sr(_0x36b8c3);}var ar=Object['defineProperty'],cr=Object[_0x262f6e(0x3c2)],hr=(_0x407ba5,_0x425675,_0x416a91,_0xb25284)=>{const _0x2e5d4a=_0x262f6e;for(var _0x6f7879=_0xb25284>0x1?void 0x0:_0xb25284?cr(_0x425675,_0x416a91):_0x425675,_0x4d3910=_0x407ba5[_0x2e5d4a(0x1c5)]-0x1,_0x33fa60;_0x4d3910>=0x0;_0x4d3910--)(_0x33fa60=_0x407ba5[_0x4d3910])&&(_0x6f7879=(_0xb25284?_0x33fa60(_0x425675,_0x416a91,_0x6f7879):_0x33fa60(_0x6f7879))||_0x6f7879);return _0xb25284&&_0x6f7879&&ar(_0x425675,_0x416a91,_0x6f7879),_0x6f7879;},lt=(_0x4f14dd,_0x3602d9)=>(_0x48fdfb,_0x4e7c37)=>_0x3602d9(_0x48fdfb,_0x4e7c37,_0x4f14dd);let Xe=class{constructor(_0x1207ae,_0x5e215d,_0x481796){const _0x536b03=_0x262f6e;this[_0x536b03(0x3af)]=_0x1207ae,this[_0x536b03(0x3a1)]=_0x5e215d,this[_0x536b03(0x411)]=_0x481796;}['transformIMECache'](_0x496ea7){const _0x151a36=_0x262f6e;this['_transformUndoRedoStack'](_0x496ea7),this[_0x151a36(0x462)](_0x496ea7);}[_0x262f6e(0x1bf)](_0x536ef9){const _0x1c25c5=_0x262f6e,{unitID:_0x48b298}=_0x536ef9,_0x5686b5=this[_0x1c25c5(0x411)][_0x1c25c5(0x209)](_0x48b298)[_0x1c25c5(0x463)](_0x33ca5e),{redoCache:_0x2da708}=_0x5686b5[_0x1c25c5(0x50f)]();if(_0x2da708[_0x1c25c5(0x1c5)]===0x0)return _0x536ef9;let _0x54d12f=_0x385cf5[_0x1c25c5(0x25b)](_0x536ef9['mutations'][0x0]);for(let _0x20bf07=0x0;_0x20bf07<_0x2da708[_0x1c25c5(0x1c5)];_0x20bf07++){const _0x2c8aec={'id':_0x1c25c5(0x32b),'params':{..._0x2da708[_0x20bf07]}},_0x5d4714=this[_0x1c25c5(0x3a1)][_0x1c25c5(0x3d1)](_0x54d12f,_0x2c8aec,!0x1);if(_0x27062d(_0x5d4714))throw _0x5d4714['error'];_0x54d12f=_0x5d4714[_0x1c25c5(0x305)];}return{..._0x385cf5[_0x1c25c5(0x25b)](_0x536ef9),'mutations':[_0x54d12f]};}['_transformUndoRedoStack'](_0x2f61ab){const _0x2f3ca4=_0x262f6e,{unitID:_0x1122f2}=_0x2f61ab,_0x2d3009=this[_0x2f3ca4(0x411)][_0x2f3ca4(0x209)](_0x1122f2)['with'](_0x33ca5e),{undoCache:_0x1d5f65,redoCache:_0x1fd8b6}=_0x2d3009[_0x2f3ca4(0x50f)]();if(_0x1d5f65[_0x2f3ca4(0x1c5)]===0x0||_0x1fd8b6[_0x2f3ca4(0x1c5)]===0x0)return;const _0x44d8b6=[],_0x50d833=[];let _0x5ca28b=_0x385cf5['deepClone'](_0x2f61ab[_0x2f3ca4(0x1ef)][0x0]),_0x2bd695=_0x385cf5[_0x2f3ca4(0x25b)](_0x2f61ab[_0x2f3ca4(0x1ef)][0x0]);for(let _0x14f439=_0x1d5f65['length']-0x1;_0x14f439>=0x0;_0x14f439--){const _0x115840={'id':_0x2f3ca4(0x32b),'params':{..._0x1d5f65[_0x14f439]}},_0x138cf3={'id':_0x2f3ca4(0x32b),'params':{..._0x1fd8b6[_0x14f439]}},_0x289310=this[_0x2f3ca4(0x3a1)][_0x2f3ca4(0x3d1)](_0x5ca28b,_0x115840,!0x1),_0x1fdd0a=this[_0x2f3ca4(0x3a1)][_0x2f3ca4(0x3d1)](_0x2bd695,_0x138cf3,!0x1);if(_0x27062d(_0x289310))throw _0x289310[_0x2f3ca4(0x280)];if(_0x27062d(_0x1fdd0a))throw _0x1fdd0a[_0x2f3ca4(0x280)];_0x44d8b6['unshift'](_0x289310['m2Prime'][_0x2f3ca4(0x4bb)]),_0x50d833[_0x2f3ca4(0x4b1)](_0x1fdd0a[_0x2f3ca4(0x329)]['params']),_0x5ca28b=_0x289310[_0x2f3ca4(0x305)],_0x2bd695=_0x1fdd0a[_0x2f3ca4(0x305)];}_0x2d3009[_0x2f3ca4(0x1ab)]({'undoCache':_0x44d8b6,'redoCache':_0x50d833});}[_0x262f6e(0x462)](_0x5a9226){const _0x1b5128=_0x262f6e,{unitID:_0x11ba28}=_0x5a9226,_0x501e0d=this[_0x1b5128(0x411)][_0x1b5128(0x209)](_0x11ba28)[_0x1b5128(0x463)](_0x33ca5e),_0x4af3cc=_0x501e0d[_0x1b5128(0x1a1)]();if(_0x4af3cc==null)return;const _0x1fc5e5=[{'id':_0x1b5128(0x32b),'params':{'unitId':_0x5a9226[_0x1b5128(0x392)],'actions':null,'textRanges':[_0x4af3cc]}}],_0x28788c=this['_transformService']['transformMutationsWithChangeset'](_0x5a9226,_0x1fc5e5);if(!_0x4d8a82(_0x28788c))throw _0x28788c[_0x1b5128(0x280)];const _0x2c082f=_0x28788c[_0x1b5128(0x329)][0x0]['params'][_0x1b5128(0x388)];Array[_0x1b5128(0x372)](_0x2c082f)&&_0x2c082f[_0x1b5128(0x1c5)]&&_0x501e0d[_0x1b5128(0x2fb)](_0x2c082f[0x0]);}};Xe=hr([lt(0x0,_0x26d5df(_0x506841)),lt(0x1,_0x3345fe),lt(0x2,_0x4b2759)],Xe);var lr=Object['defineProperty'],_r=Object['getOwnPropertyDescriptor'],ur=(_0x5e87f5,_0x3a3fc8,_0x7c4439,_0x4726a1)=>{for(var _0x391a5a=_0x4726a1>0x1?void 0x0:_0x4726a1?_r(_0x3a3fc8,_0x7c4439):_0x3a3fc8,_0xdfd11b=_0x5e87f5['length']-0x1,_0x41cda9;_0xdfd11b>=0x0;_0xdfd11b--)(_0x41cda9=_0x5e87f5[_0xdfd11b])&&(_0x391a5a=(_0x4726a1?_0x41cda9(_0x3a3fc8,_0x7c4439,_0x391a5a):_0x41cda9(_0x391a5a))||_0x391a5a);return _0x4726a1&&_0x391a5a&&lr(_0x3a3fc8,_0x7c4439,_0x391a5a),_0x391a5a;},we=(_0x1f0a29,_0x1d9bdf)=>(_0x2b819b,_0x36d261)=>_0x1d9bdf(_0x2b819b,_0x36d261,_0x1f0a29);let D=class extends _0x553a63{constructor(_0x199959,_0x2cbd45,_0x357551,_0x3258b4,_0x1fdca4){const _0x1298d0=_0x262f6e;super(),l(this,_0x1298d0(0x471),new Map()),l(this,_0x1298d0(0x48c),new Map()),l(this,_0x1298d0(0x4bf),!0x1),(this['_configService']=_0x199959,this[_0x1298d0(0x412)]=_0x2cbd45,this[_0x1298d0(0x3ea)]=_0x357551,this[_0x1298d0(0x33a)]=_0x3258b4,this['_revisionService']=_0x1fdca4,this['_setupBeforeClosingHandler']());}[_0x262f6e(0x4a5)](){const _0x1af88d=_0x262f6e;this[_0x1af88d(0x4bf)]=!0x0;}['enableLocalCache'](){const _0x1659d5=_0x262f6e;this[_0x1659d5(0x4bf)]=!0x1;}[_0x262f6e(0x1db)](){const _0x3ed8c4=_0x262f6e;this[_0x3ed8c4(0x2b2)]()['then'](()=>super[_0x3ed8c4(0x1db)]());}async[_0x262f6e(0x416)](_0x55a5fd){const _0x4a5409=_0x262f6e;return this[_0x4a5409(0x4bf)]?null:this[_0x4a5409(0x412)][_0x4a5409(0x304)](ls(_0x55a5fd));}async[_0x262f6e(0x2de)](_0x352e2e,_0xc2c48b){const _0x39c8bb=_0x262f6e;return!!this[_0x39c8bb(0x412)][_0x39c8bb(0x3cc)](_0x352e2e,_0xc2c48b);}[_0x262f6e(0x4f2)](_0x18db04,_0x390532,_0x1ff6a9,_0xf868a5){const _0xb7418a=_0x262f6e,_0x4e4501=this['_revisionService'][_0xb7418a(0x467)](_0x18db04);this['_cachedData'][_0xb7418a(0x26b)](_0x18db04,{'unitID':_0x18db04,'type':_0x390532,'awaitingChangeset':_0x1ff6a9,'mutations':_0xf868a5,'rev':_0x4e4501}),this[_0xb7418a(0x48c)]['has'](_0x18db04)||this[_0xb7418a(0x3d7)](_0x18db04);}[_0x262f6e(0x3d7)](_0x4b5b4a){const _0x52aed4=_0x262f6e,_0x9c0e2b=this[_0x52aed4(0x3ed)]();_0x9c0e2b===0x0?this[_0x52aed4(0x432)](_0x4b5b4a):this[_0x52aed4(0x48c)][_0x52aed4(0x26b)](_0x4b5b4a,setTimeout(()=>this[_0x52aed4(0x432)](_0x4b5b4a),_0x9c0e2b));}[_0x262f6e(0x3ed)](){const _0x4d700a=_0x262f6e;var _0xa009cd;return(_0xa009cd=this[_0x4d700a(0x3e1)][_0x4d700a(0x3ab)](Un))!=null?_0xa009cd:Nn;}[_0x262f6e(0x432)](_0x73d5ee){const _0x131824=_0x262f6e,_0x587ed4=this[_0x131824(0x48c)][_0x131824(0x358)](_0x73d5ee);return _0x587ed4!==void 0x0&&window[_0x131824(0x1d2)](_0x587ed4),this[_0x131824(0x412)][_0x131824(0x3cc)](ls(_0x73d5ee),this['_cachedData']['get'](_0x73d5ee))[_0x131824(0x501)](()=>this[_0x131824(0x48c)]['delete'](_0x73d5ee));}async['exhaustSavingTask'](){const _0x3ef7a2=_0x262f6e,_0x457c8c=[];this[_0x3ef7a2(0x48c)][_0x3ef7a2(0x3a5)]((_0x1ef1f7,_0x34e500)=>{const _0x5025d9=_0x3ef7a2;window[_0x5025d9(0x1d2)](_0x1ef1f7),_0x457c8c['push'](this[_0x5025d9(0x432)](_0x34e500)['then'](()=>{const _0x16acf5=_0x5025d9;this[_0x16acf5(0x48c)][_0x16acf5(0x47a)](_0x34e500);}));}),await Promise['all'](_0x457c8c);}['_setupBeforeClosingHandler'](){const _0x42c1f1=_0x262f6e;this[_0x42c1f1(0x2fd)](this['_beforeCloseService'][_0x42c1f1(0x2f4)](()=>{const _0x14112b=_0x42c1f1;if(this[_0x14112b(0x48c)]['size'])return this[_0x14112b(0x33a)]['t']('collaboration-client.offline-data-not-saved');}));}};D=ur([we(0x0,_0x4b38b2),we(0x1,_0x3d2231),we(0x2,_0x36412d),we(0x3,_0x26d5df(_0x32fffe)),we(0x4,_0x26d5df(_0x2bcf77))],D);function ls(_0xab7afb){const _0x2b778f=_0x262f6e;return _0x2b778f(0x1ac)+_0xab7afb;}var dr=Object[_0x262f6e(0x44e)],mr=Object[_0x262f6e(0x3c2)],fr=(_0x5e10bd,_0x2301c0,_0x1c6f5e,_0x59bfdf)=>{const _0x4feb50=_0x262f6e;for(var _0x2e4523=_0x59bfdf>0x1?void 0x0:_0x59bfdf?mr(_0x2301c0,_0x1c6f5e):_0x2301c0,_0x23c169=_0x5e10bd[_0x4feb50(0x1c5)]-0x1,_0x4dbd11;_0x23c169>=0x0;_0x23c169--)(_0x4dbd11=_0x5e10bd[_0x23c169])&&(_0x2e4523=(_0x59bfdf?_0x4dbd11(_0x2301c0,_0x1c6f5e,_0x2e4523):_0x4dbd11(_0x2e4523))||_0x2e4523);return _0x59bfdf&&_0x2e4523&&dr(_0x2301c0,_0x1c6f5e,_0x2e4523),_0x2e4523;},_t=(_0x21c154,_0x183074)=>(_0x35db5b,_0x13c8fd)=>_0x183074(_0x35db5b,_0x13c8fd,_0x21c154);function gr(_0x50808b){const _0x19ff9d=_0x262f6e,{unitID:_0x5d95c0,mutations:_0x3b64ea}=_0x50808b;return{'unitId':_0x5d95c0,'subUnitId':_0x3b64ea[0x0]['params'][_0x19ff9d(0x240)]};}let qe=class{constructor(_0x5f0ede,_0x10b069,_0x57dfc9){this['_injector']=_0x5f0ede,this['_transformService']=_0x10b069,this['_instanceService']=_0x57dfc9;}[_0x262f6e(0x525)](_0x2970da){const _0x2e3b12=_0x262f6e;var _0x4ccf81,_0x2c9ef3,_0x939260,_0x9be443;const _0x3cbd95=this[_0x2e3b12(0x3af)]['get'](_0x1695c9),{unitId:_0x49716c,subUnitId:_0x245ce6}=gr(_0x2970da),_0x4ae849=_0x3cbd95[_0x2e3b12(0x3b8)](_0x49716c)[_0x2e3b12(0x2b0)](),_0x481ce3=(_0x2c9ef3=(_0x4ccf81=this[_0x2e3b12(0x3ac)][_0x2e3b12(0x4e9)](_0x49716c))==null?void 0x0:_0x4ccf81[_0x2e3b12(0x2d1)]())==null?void 0x0:_0x2c9ef3['getSheetId']();if(_0x4ae849[_0x2e3b12(0x1c5)]===0x0||!_0x49716c||!_0x245ce6)return;const _0x2eb3c8=[{'id':_0x5b9268['id'],'params':{'unitId':_0x49716c,'subUnitId':_0x481ce3,'selections':_0x385cf5[_0x2e3b12(0x25b)](_0x4ae849)}}],_0x23f0a1=this[_0x2e3b12(0x3a1)][_0x2e3b12(0x289)](_0x2970da,_0x2eb3c8);if(!_0x4d8a82(_0x23f0a1))throw _0x23f0a1[_0x2e3b12(0x280)];const _0x4daf33=(_0x9be443=(_0x939260=_0x23f0a1[_0x2e3b12(0x329)][0x0])==null?void 0x0:_0x939260[_0x2e3b12(0x4bb)])==null?void 0x0:_0x9be443['selections'];if(Array[_0x2e3b12(0x372)](_0x4daf33)&&_0x4daf33[_0x2e3b12(0x1c5)]){if(_0x4daf33[_0x2e3b12(0x1c5)]===_0x2eb3c8[0x0][_0x2e3b12(0x4bb)][_0x2e3b12(0x3ba)]['length']&&_0x4daf33[_0x2e3b12(0x449)]((_0x301ff1,_0x4ab866)=>_0xd11991['equals'](_0x301ff1['range'],_0x2eb3c8[0x0][_0x2e3b12(0x4bb)][_0x2e3b12(0x3ba)][_0x4ab866][_0x2e3b12(0x3e9)])))return;this[_0x2e3b12(0x3af)][_0x2e3b12(0x358)](_0x19a5a5)[_0x2e3b12(0x500)](_0x5b9268['id'],{'unitId':_0x49716c,'subUnitId':_0x481ce3,'selections':_0x4daf33});}}};qe=fr([_t(0x0,_0x26d5df(_0x506841)),_t(0x1,_0x3345fe),_t(0x2,_0x377149)],qe);const it=_0x4ef9ae(_0x262f6e(0x49a));var Ws=(_0x35611e=>(_0x35611e[_0x35611e[_0x262f6e(0x3d3)]=0x0]=_0x262f6e(0x3d3),_0x35611e[_0x35611e[_0x262f6e(0x3de)]=0x1]=_0x262f6e(0x3de),_0x35611e))(Ws||{});const _s=0x7530,us=_0x262f6e(0x2eb);class Sr extends _0x553a63{constructor(){const _0x4e0608=_0x262f6e;super(),l(this,'_id',_0x385cf5['generateRandomId']()),l(this,'_selfUnitIDs',new Set()),l(this,_0x4e0608(0x30a),new Map()),l(this,_0x4e0608(0x24e),null),l(this,'_clearOtherTimers',new Map()),l(this,_0x4e0608(0x2fc),new Map()),this['_init']();}['dispose'](){const _0x2a8ca9=_0x262f6e;super[_0x2a8ca9(0x1db)](),this[_0x2a8ca9(0x25e)][_0x2a8ca9(0x3a5)]((_0x5b5ca1,_0x4603d9)=>this[_0x2a8ca9(0x32f)](_0x4603d9)),this[_0x2a8ca9(0x24e)]&&window[_0x2a8ca9(0x512)](this[_0x2a8ca9(0x24e)]);}[_0x262f6e(0x207)](_0x212e1e){const _0x26efc3=_0x262f6e;return this[_0x26efc3(0x4c6)](_0x212e1e)[_0x26efc3(0x337)](_0x3e3721());}[_0x262f6e(0x2f0)](_0x412120){const _0x31c5b9=_0x262f6e;this[_0x31c5b9(0x406)][_0x31c5b9(0x4a9)]===0x0&&this[_0x31c5b9(0x307)](),this[_0x31c5b9(0x406)]['add'](_0x412120),this[_0x31c5b9(0x2a0)]({'type':0x0,'memberID':this[_0x31c5b9(0x2ee)],'unitIDs':[_0x412120],'isForwarded':!0x1});}[_0x262f6e(0x250)](_0x1ccab3){const _0x2dd2ef=_0x262f6e;this[_0x2dd2ef(0x406)]['delete'](_0x1ccab3),this['_selfUnitIDs'][_0x2dd2ef(0x4a9)]===0x0&&this['_heartbeatTimer']&&window[_0x2dd2ef(0x512)](this[_0x2dd2ef(0x24e)]);}[_0x262f6e(0x204)](){const _0x2ade86=_0x262f6e;this['disposeWithMe'](_0x18f2c5(_0x3d0e04(window,_0x2ade86(0x407))['subscribe'](_0x3bea70=>{const _0x55c614=_0x2ade86;if(_0x3bea70[_0x55c614(0x34a)]!==us||!_0x3bea70[_0x55c614(0x2f7)])return;const _0x949a26=JSON['parse'](_0x3bea70[_0x55c614(0x2f7)]);this[_0x55c614(0x1c8)](_0x949a26);}))),window[_0x2ade86(0x302)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x2ade86(0x2ee)],'unitIDs':Array[_0x2ade86(0x1a3)](this[_0x2ade86(0x406)])}));}[_0x262f6e(0x1c8)](_0x69dd3d){const _0x33dbe5=_0x262f6e;switch(_0x69dd3d[_0x33dbe5(0x3f2)]){case 0x0:this[_0x33dbe5(0x453)](_0x69dd3d);break;case 0x1:this[_0x33dbe5(0x290)](_0x69dd3d);break;case 0x2:this[_0x33dbe5(0x426)](_0x69dd3d);break;}}[_0x262f6e(0x453)](_0x471fa6){const _0x33ad20=_0x262f6e,{unitIDs:_0x4ee8ea,memberID:_0x388a1a,isForwarded:_0x3b5e0e}=_0x471fa6;_0x4ee8ea[_0x33ad20(0x3a5)](_0x156400=>{const _0x17c66b=_0x33ad20;if(!_0x3b5e0e&&this['_unitOnClients'][_0x17c66b(0x3a4)](_0x156400)&&this[_0x17c66b(0x4c6)](_0x156400)['next'](0x1),!this[_0x17c66b(0x30a)][_0x17c66b(0x3a4)](_0x156400)||!this[_0x17c66b(0x30a)]['get'](_0x156400)[_0x17c66b(0x3a4)](_0x388a1a)){const _0x540c14=this[_0x17c66b(0x30a)][_0x17c66b(0x358)](_0x156400)||new Set();_0x540c14['add'](_0x388a1a),this['_unitOnClients'][_0x17c66b(0x26b)](_0x156400,_0x540c14),this[_0x17c66b(0x484)](_0x388a1a);}}),_0x3b5e0e||this[_0x33ad20(0x2a0)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x33ad20(0x406)]],'isForwarded':!0x0});}[_0x262f6e(0x484)](_0x1f2985){const _0x3eb29f=_0x262f6e;this['_removeClearOtherTimer'](_0x1f2985);const _0x2ca0c0=window[_0x3eb29f(0x4a1)](()=>{const _0x8f3660=_0x3eb29f;this[_0x8f3660(0x30a)][_0x8f3660(0x3a5)](_0x57fb88=>{_0x57fb88['delete'](_0x1f2985);});},_s*0x2);this[_0x3eb29f(0x25e)]['set'](_0x1f2985,_0x2ca0c0);}[_0x262f6e(0x32f)](_0x55b670){const _0x2cc699=_0x262f6e;if(this[_0x2cc699(0x25e)][_0x2cc699(0x3a4)](_0x55b670)){const _0x531319=this[_0x2cc699(0x25e)]['get'](_0x55b670);_0x531319&&window[_0x2cc699(0x1d2)](_0x531319),this[_0x2cc699(0x25e)][_0x2cc699(0x26b)](_0x55b670,null);}}[_0x262f6e(0x290)](_0x15b69d){const _0x4204f6=_0x262f6e,{memberID:_0x1dc5b6,unitIDs:_0x427247}=_0x15b69d;_0x427247[_0x4204f6(0x3a5)](_0x1cec66=>{const _0x187073=_0x4204f6;var _0x492372;const _0x3d1454=this[_0x187073(0x30a)][_0x187073(0x358)](_0x1cec66);_0x3d1454&&(_0x3d1454[_0x187073(0x47a)](_0x1dc5b6),(_0x492372=this['_ensureSubject'](_0x1cec66))==null||_0x492372[_0x187073(0x377)](_0x3d1454['size']===0x0?0x0:0x1));}),this[_0x4204f6(0x32f)](_0x1dc5b6);}[_0x262f6e(0x426)](_0x54726c){const _0x42fc41=_0x262f6e;this[_0x42fc41(0x484)](_0x54726c[_0x42fc41(0x492)]);}[_0x262f6e(0x2a0)](_0x2eed62){const _0x4efc0c=_0x262f6e;localStorage[_0x4efc0c(0x3cc)](us,JSON[_0x4efc0c(0x3b1)](_0x2eed62));}[_0x262f6e(0x307)](){const _0x3276e8=_0x262f6e;this[_0x3276e8(0x24e)]=window['setInterval'](()=>{const _0x3fbaeb=_0x3276e8;this[_0x3fbaeb(0x2a0)]({'type':0x2,'memberID':this[_0x3fbaeb(0x2ee)]});},_s);}[_0x262f6e(0x4c6)](_0x6a6da9){const _0x103de0=_0x262f6e;return this['_unitStatus'][_0x103de0(0x3a4)](_0x6a6da9)||this[_0x103de0(0x2fc)][_0x103de0(0x26b)](_0x6a6da9,new _0x50e691(0x0)),this['_unitStatus'][_0x103de0(0x358)](_0x6a6da9);}}function Gs(_0x2de2c4){const _0xe4f86b=_0x262f6e;let _0x2f2390='';for(const _0xc758cb of _0x2de2c4){const {startOffset:_0x736426,endOffset:_0xa6161,isActive:_0x2cdd80,rangeType:_0x23f0cc,segmentId:_0x417481,segmentPage:_0xcb90e5}=_0xc758cb;_0x2f2390[_0xe4f86b(0x1c5)]&&(_0x2f2390+=','),_0x2f2390+=_0x736426+':'+_0xa6161+':'+(_0x2cdd80?'1':'0')+':'+_0x23f0cc+':'+_0x417481+':'+_0xcb90e5;}return _0x2f2390;}function pr(_0x2da56b){const _0x1bef36=_0x262f6e,_0x5e6a50=_0x2da56b[_0x1bef36(0x4de)](','),_0x2f5552=[];for(const _0xce308d of _0x5e6a50){const [_0xd9bf58,_0x315855,_0x453cce,_0x563fc9,_0x589aaf,_0x5113f5]=_0xce308d[_0x1bef36(0x4de)](':');_0x2f5552['push']({'startOffset':Number(_0xd9bf58),'endOffset':Number(_0x315855),'collapsed':_0xd9bf58===_0x315855,'isActive':_0x453cce==='1','rangeType':_0x563fc9===_0x34c7fe[_0x1bef36(0x242)]?_0x34c7fe[_0x1bef36(0x242)]:_0x34c7fe[_0x1bef36(0x2ce)],'segmentId':typeof _0x589aaf==_0x1bef36(0x245)?String(_0x589aaf):'','segmentPage':Number(_0x5113f5!=null?_0x5113f5:-0x1)});}return _0x2f5552['some'](_0x3bff59=>_0x3bff59[_0x1bef36(0x303)])||(_0x2f5552[0x0]['isActive']=!0x0),_0x2f5552;}class Wt extends _0x866c0c{constructor(){const _0x240ece=_0x262f6e;super(...arguments),l(this,'_collabCursorState$',new _0x50e691(null)),l(this,_0x240ece(0x2ef),this[_0x240ece(0x437)][_0x240ece(0x518)]());}[_0x262f6e(0x3fb)](_0x170bfc){const _0x278407=_0x262f6e,{unitID:_0x4474ba,memberID:_0xffca29,textRanges:_0x1a9e41}=_0x170bfc,_0x5e587a=Gs(_0x1a9e41);if(_0x5e587a==='')return;const _0x497239={'unitID':_0x4474ba,'memberID':_0xffca29,'selection':_0x5e587a};this[_0x278407(0x437)][_0x278407(0x377)](_0x497239);}}var vr=Object[_0x262f6e(0x44e)],Ir=Object['getOwnPropertyDescriptor'],Er=(_0x2956d6,_0x57feb9,_0x38c92,_0x3f2cec)=>{const _0x332e04=_0x262f6e;for(var _0x15c7f5=_0x3f2cec>0x1?void 0x0:_0x3f2cec?Ir(_0x57feb9,_0x38c92):_0x57feb9,_0x2d3e0a=_0x2956d6[_0x332e04(0x1c5)]-0x1,_0x253d12;_0x2d3e0a>=0x0;_0x2d3e0a--)(_0x253d12=_0x2956d6[_0x2d3e0a])&&(_0x15c7f5=(_0x3f2cec?_0x253d12(_0x57feb9,_0x38c92,_0x15c7f5):_0x253d12(_0x15c7f5))||_0x15c7f5);return _0x3f2cec&&_0x15c7f5&&vr(_0x57feb9,_0x38c92,_0x15c7f5),_0x15c7f5;},ds=(_0x38f597,_0x1d0556)=>(_0xf9c639,_0x315991)=>_0x1d0556(_0xf9c639,_0x315991,_0x38f597);let Je=class{constructor(_0x57408a,_0x433411){const _0xc6ef64=_0x262f6e;this[_0xc6ef64(0x3af)]=_0x57408a,this[_0xc6ef64(0x3a1)]=_0x433411;}['transformSelections'](_0x1205ff){const _0x28f77c=_0x262f6e;var _0x4ea41c;const _0x2590cf=this[_0x28f77c(0x3af)][_0x28f77c(0x358)](_0x6c9d1a),_0x348c6d=(_0x4ea41c=_0x2590cf['getDocRanges']())!=null?_0x4ea41c:[];if(_0x348c6d[_0x28f77c(0x1c5)]===0x0)return;const _0x1d28e3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1205ff['unitID'],'actions':null,'textRanges':_0x348c6d}}],_0x38a44e=this[_0x28f77c(0x3a1)][_0x28f77c(0x289)](_0x1205ff,_0x1d28e3);if(!_0x4d8a82(_0x38a44e))throw _0x38a44e['error'];const _0x51d2c7=_0x38a44e['m2Prime'][0x0][_0x28f77c(0x4bb)]['textRanges'];Array[_0x28f77c(0x372)](_0x51d2c7)&&_0x51d2c7[_0x28f77c(0x1c5)]&&_0x2590cf[_0x28f77c(0x3e8)](_0x51d2c7,!0x1);}};Je=Er([ds(0x0,_0x26d5df(_0x506841)),ds(0x1,_0x3345fe)],Je);const Cr=new Set([_0x19c1ee['id']]);function ms(_0x2062df,_0x51a17a,_0x4b45d2,_0x53136d,_0x193fc3){const _0x5470bd=_0x262f6e;var _0x48a8bf,_0x4ac40f,_0xf14ccb,_0x13b910;const _0x1bad59=[];for(const _0x1f6962 of _0x2062df)if(Cr[_0x5470bd(0x3a4)](_0x1f6962['id'])){if(_0x1bad59[_0x5470bd(0x1c5)]>0x0)break;_0x1bad59['push'](_0x1f6962);break;}else _0x1bad59[_0x5470bd(0x4b8)](_0x1f6962);const _0x10ea6f=(_0x4ac40f=(_0x48a8bf=_0x193fc3[_0x5470bd(0x1e5)]())==null?void 0x0:_0x48a8bf[_0x5470bd(0x44f)])!=null?_0x4ac40f:_0x5470bd(0x44a),_0x597014=(_0x13b910=(_0xf14ccb=_0x193fc3[_0x5470bd(0x1e5)]())==null?void 0x0:_0xf14ccb[_0x5470bd(0x492)])!=null?_0x13b910:'unknown';return{'changeset':{'unitID':_0x51a17a,'type':_0x437c6c(_0x4b45d2[_0x5470bd(0x477)](_0x51a17a)),'baseRev':_0x53136d['getCurrentRevOfUnit'](_0x51a17a),'revision':0x0,'userID':_0x10ea6f,'memberID':_0x597014,'mutations':_0x1bad59},'pendingMutations':_0x2062df['slice'](_0x1bad59[_0x5470bd(0x1c5)])};}function br(_0xb19326,_0x2e6057,_0x40e2cd,_0x30f968,_0xfc972b){const _0x1cefe4=_0x262f6e;var _0xc703d0,_0x214012,_0x188f96,_0x2bd28b;const _0xf553f3=[_0xb19326[_0x1cefe4(0x1f1)]((_0x4be7f7,_0x614fd1)=>{const _0x16d1a1=_0x1cefe4;var _0x11cfe5;const {id:_0x5897fd}=_0x4be7f7,{id:_0x2e0f10,type:_0x4eed2}=_0x614fd1,_0x3d3f78=(_0x11cfe5=_0x4be7f7['params'])!=null?_0x11cfe5:{'actions':null},_0x20dd37=_0x614fd1[_0x16d1a1(0x4bb)];if(_0x5897fd&&_0x5897fd!==_0x2e0f10)throw new Error(_0x16d1a1(0x29b)+_0x5897fd+'\x20-\x20'+_0x2e0f10+'.');return{..._0x4be7f7,'id':_0x2e0f10,'type':_0x4eed2,'params':{'unitId':_0x20dd37[_0x16d1a1(0x1fb)],'textRanges':_0x20dd37[_0x16d1a1(0x388)],'actions':_0x11e221[_0x16d1a1(0x45c)](_0x3d3f78[_0x16d1a1(0x1f4)],_0x20dd37[_0x16d1a1(0x1f4)])}};},{})],_0xa52893=(_0x214012=(_0xc703d0=_0xfc972b[_0x1cefe4(0x1e5)]())==null?void 0x0:_0xc703d0[_0x1cefe4(0x44f)])!=null?_0x214012:_0x1cefe4(0x44a),_0x4a2080=(_0x2bd28b=(_0x188f96=_0xfc972b['getCurrentUser']())==null?void 0x0:_0x188f96[_0x1cefe4(0x492)])!=null?_0x2bd28b:'unknown';return{'changeset':{'unitID':_0x2e6057,'type':_0x437c6c(_0x40e2cd[_0x1cefe4(0x477)](_0x2e6057)),'baseRev':_0x30f968[_0x1cefe4(0x467)](_0x2e6057),'revision':0x0,'userID':_0xa52893,'memberID':_0x4a2080,'mutations':_0xf553f3},'pendingMutations':[]};}function Ys(_0x2110f3,_0x530c99){const _0x1a70b1=_0x262f6e,_0x436d90=new _0x189b52(0x1);return setTimeout(()=>_0x436d90[_0x1a70b1(0x377)](_0x530c99),_0x2110f3),_0x436d90[_0x1a70b1(0x518)]()[_0x1a70b1(0x337)](_0x3ed67f(0x1));}const Tr={'id':_0x3c2c05['id'],'type':_0x43413f[_0x262f6e(0x3fa)],'params':{}};var Rr=Object[_0x262f6e(0x44e)],Or=Object[_0x262f6e(0x3c2)],me=(_0x4bace1,_0x57775a,_0x370116,_0x12680f)=>{const _0x3b0ea9=_0x262f6e;for(var _0x3af5dc=_0x12680f>0x1?void 0x0:_0x12680f?Or(_0x57775a,_0x370116):_0x57775a,_0x56c5b8=_0x4bace1[_0x3b0ea9(0x1c5)]-0x1,_0xf2f395;_0x56c5b8>=0x0;_0x56c5b8--)(_0xf2f395=_0x4bace1[_0x56c5b8])&&(_0x3af5dc=(_0x12680f?_0xf2f395(_0x57775a,_0x370116,_0x3af5dc):_0xf2f395(_0x3af5dc))||_0x3af5dc);return _0x12680f&&_0x3af5dc&&Rr(_0x57775a,_0x370116,_0x3af5dc),_0x3af5dc;},f=(_0x3d3aef,_0x2b631e)=>(_0x468286,_0x381766)=>_0x2b631e(_0x468286,_0x381766,_0x3d3aef),w=(_0x5c1fa2=>(_0x5c1fa2[_0x262f6e(0x526)]='not_collab',_0x5c1fa2[_0x262f6e(0x298)]=_0x262f6e(0x3a6),_0x5c1fa2[_0x262f6e(0x486)]=_0x262f6e(0x397),_0x5c1fa2[_0x262f6e(0x475)]='awaiting',_0x5c1fa2[_0x262f6e(0x4d2)]=_0x262f6e(0x335),_0x5c1fa2[_0x262f6e(0x499)]=_0x262f6e(0x2d5),_0x5c1fa2[_0x262f6e(0x457)]='conflict',_0x5c1fa2['OFFLINE']=_0x262f6e(0x2cb),_0x5c1fa2))(w||{});const Ks=0xea60;class fe{constructor(_0x5314f2,_0x30dc64,_0x9c92cf,_0x366c25,_0x26356c,_0x37edd3,_0x5b4caa,_0x48534f,_0x37b033){const _0x362587=_0x262f6e;l(this,_0x362587(0x3e4),null),l(this,_0x362587(0x514),[]),(this[_0x362587(0x392)]=_0x5314f2,this[_0x362587(0x3f2)]=_0x30dc64,this['_handler']=_0x26356c,this[_0x362587(0x3a7)]=_0x37edd3,this[_0x362587(0x452)]=_0x5b4caa,this['_revisionService']=_0x48534f,this[_0x362587(0x44d)]=_0x37b033,this[_0x362587(0x3e4)]=_0x9c92cf,this[_0x362587(0x514)]=_0x366c25);}[_0x262f6e(0x4a7)](_0x4d107f){const _0x35ff04=_0x262f6e,_0x4546c4=this['_revisionService']['getCurrentRevOfUnit'](this[_0x35ff04(0x392)]);return _0x4d107f[_0x35ff04(0x36a)]>_0x4546c4+0x1?(this[_0x35ff04(0x2b1)][_0x35ff04(0x269)]({'from':_0x4546c4,'to':_0x4d107f[_0x35ff04(0x36a)]-0x1}),!0x0):!0x1;}[_0x262f6e(0x4b7)](_0x424aa){const _0x7b2064=_0x262f6e;this[_0x7b2064(0x452)][_0x7b2064(0x1bc)](this[_0x7b2064(0x392)],_0x424aa);}['_transformSelections'](_0x47d62f){const _0x22bc12=_0x262f6e;var _0x3c0a51,_0x50d7b0;(_0x50d7b0=(_0x3c0a51=this[_0x22bc12(0x2b1)])[_0x22bc12(0x376)])==null||_0x50d7b0['call'](_0x3c0a51,_0x47d62f);}['_transformIMECache'](_0x56693b){const _0x5c306d=_0x262f6e;var _0x41c419,_0x4857aa;return(_0x4857aa=(_0x41c419=this['_handler'])['onTransformIME'])==null?void 0x0:_0x4857aa[_0x5c306d(0x3fd)](_0x41c419,_0x56693b);}[_0x262f6e(0x402)](_0x5b11ba){const _0x578bef=_0x262f6e;var _0x3c7f80,_0x2f68ec,_0x1263c3;return(_0x1263c3=(_0x2f68ec=(_0x3c7f80=this[_0x578bef(0x2b1)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2f68ec[_0x578bef(0x3fd)](_0x3c7f80,_0x5b11ba))!=null?_0x1263c3:_0x5b11ba;}['_syncEditingCollabCursor'](_0x14292f){const _0x3098c8=_0x262f6e;var _0x3b9c3e,_0x326da3;if(this[_0x3098c8(0x3f2)]===B[_0x3098c8(0x2e7)]){const {unitID:_0x51b8ad,mutations:_0xb6f19d,memberID:_0x1a4c32}=_0x14292f,_0xd27efd=_0xb6f19d[0x0][_0x3098c8(0x4bb)][_0x3098c8(0x388)];Array[_0x3098c8(0x372)](_0xd27efd)&&_0xd27efd[_0x3098c8(0x1c5)]>0x0&&((_0x326da3=(_0x3b9c3e=this[_0x3098c8(0x2b1)])['onSyncEditingCollabCursor'])==null||_0x326da3[_0x3098c8(0x3fd)](_0x3b9c3e,{'unitID':_0x51b8ad,'memberID':_0x1a4c32,'textRanges':_0xd27efd}));}}[_0x262f6e(0x528)](){const _0x478ebf=_0x262f6e;this[_0x478ebf(0x44d)][_0x478ebf(0x4f2)](this[_0x478ebf(0x392)],this['type'],this['_awaitingChangeset'],this[_0x478ebf(0x514)]);}[_0x262f6e(0x51f)](){const _0x28708f=_0x262f6e;return this[_0x28708f(0x25a)]['getCurrentRevOfUnit'](this['unitID']);}[_0x262f6e(0x1eb)](){const _0x38afb1=_0x262f6e;this[_0x38afb1(0x25a)]['incrementRevOfUnit'](this[_0x38afb1(0x392)]);}[_0x262f6e(0x384)](_0x26c622){const _0xbef5d9=_0x262f6e;var _0x4bdec0;const _0x203913=this[_0xbef5d9(0x402)](_0x26c622),_0xd2fb6c=_0x1d9197(_0x203913[_0xbef5d9(0x1ef)],this[_0xbef5d9(0x3a7)],{'fromCollab':!0x0});if(!_0xd2fb6c[_0xbef5d9(0x4c9)])throw _0xd2fb6c['error']instanceof Error?_0xd2fb6c[_0xbef5d9(0x280)]:new Error((_0x4bdec0=_0xd2fb6c[_0xbef5d9(0x280)])!=null?_0x4bdec0:_0xbef5d9(0x394));this[_0xbef5d9(0x37c)](_0x203913),this[_0xbef5d9(0x4b7)](_0x26c622),this[_0xbef5d9(0x48d)](_0x203913),this[_0xbef5d9(0x3e5)](_0x203913),this[_0xbef5d9(0x1eb)]();}}let Ee=class extends fe{constructor(_0x68dc3,_0x350e5f,_0x1f5882,_0x4fa2b8,_0xdf8971,_0x71b677,_0x4de1b8,_0x245c2c,_0x318637,_0x1b9149){const _0x45432c=_0x262f6e;super(_0x68dc3,_0x350e5f,null,[],_0x1f5882,_0x245c2c,_0x4de1b8,_0x4fa2b8,_0xdf8971),l(this,'status',_0x45432c(0x3a6)),(this[_0x45432c(0x3af)]=_0x71b677,this[_0x45432c(0x310)]=_0x318637,this[_0x45432c(0x3a1)]=_0x1b9149);}[_0x262f6e(0x46b)](_0x360e65){const _0x4c498f=_0x262f6e,_0x331923=this[_0x4c498f(0x3af)][_0x4c498f(0x35c)](J,this[_0x4c498f(0x392)],this['type'],[_0x360e65],this[_0x4c498f(0x2b1)]);return _0x331923[_0x4c498f(0x3aa)](),_0x331923[_0x4c498f(0x528)](),_0x331923;}['onRemoteChangeset'](_0x5b5dbb){const _0x10ecf1=_0x262f6e;if(this[_0x10ecf1(0x4a7)](_0x5b5dbb))return this[_0x10ecf1(0x3af)]['createInstance'](V,this[_0x10ecf1(0x392)],this[_0x10ecf1(0x3f2)],null,[],null,[_0x5b5dbb],this[_0x10ecf1(0x2b1)]);try{const _0x2d67ad=this[_0x10ecf1(0x3a1)][_0x10ecf1(0x289)](_0x5b5dbb,[Tr]);if(_0x4d8a82(_0x2d67ad)){const {c1Prime:_0xbc8aa3}=_0x2d67ad;return this['_executeRemoteChangeset'](_0xbc8aa3),this;}throw _0x2d67ad[_0x10ecf1(0x280)];}catch(_0x42e37d){return this[_0x10ecf1(0x310)][_0x10ecf1(0x280)](_0x42e37d),this['_onConflict'](!0x1);}}['_onConflict'](_0x7e8db7){const _0x4cc646=_0x262f6e;return this['_injector'][_0x4cc646(0x35c)](se,this[_0x4cc646(0x392)],this[_0x4cc646(0x3f2)],null,[],this[_0x4cc646(0x2b1)],_0x7e8db7);}[_0x262f6e(0x244)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x262f6e(0x2d8)](){const _0x1b1586=_0x262f6e;throw new Error(_0x1b1586(0x32a));}[_0x262f6e(0x4bc)](){return this;}[_0x262f6e(0x483)](){const _0x1b44a2=_0x262f6e;return this[_0x1b44a2(0x3af)][_0x1b44a2(0x35c)](ie,this[_0x1b44a2(0x392)],this[_0x1b44a2(0x3f2)],null,[],this[_0x1b44a2(0x2b1)]);}['toggleOnline'](){return this;}[_0x262f6e(0x3ec)](){const _0x3f1b51=_0x262f6e;throw new Error(_0x3f1b51(0x1c4));}[_0x262f6e(0x3da)](){const _0x50ee12=_0x262f6e,_0xe314be=this[_0x50ee12(0x25a)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x50ee12(0x269)]({'from':_0xe314be,'to':0x0}),this[_0x50ee12(0x3af)][_0x50ee12(0x35c)](V,this[_0x50ee12(0x392)],this[_0x50ee12(0x3f2)],null,[],null,[],this[_0x50ee12(0x2b1)]);}};Ee=me([f(0x3,_0x26d5df(_0x2bcf77)),f(0x4,_0x26d5df(D)),f(0x5,_0x26d5df(_0x506841)),f(0x6,_0x529156),f(0x7,_0x19a5a5),f(0x8,_0x2bd539),f(0x9,_0x3345fe)],Ee);let J=class extends fe{constructor(_0x518ac9,_0x264f0f,_0xbd0de1,_0x111465,_0x3cfce4,_0x577a07,_0x427869,_0x2b947a,_0x5ebe91,_0x18833d,_0x49e55d,_0x2bb03b,_0x3b2403,_0xf31be6){const _0x37b7f1=_0x262f6e;super(_0x518ac9,_0x264f0f,null,_0xbd0de1,_0x111465,_0x18833d,_0xf31be6,_0x577a07,_0x427869),l(this,_0x37b7f1(0x37e),_0x37b7f1(0x397)),l(this,_0x37b7f1(0x345),null),l(this,'_sendingTimer',null),(this[_0x37b7f1(0x3af)]=_0x3cfce4,this['_memberService']=_0x2b947a,this[_0x37b7f1(0x310)]=_0x5ebe91,this['_configService']=_0x49e55d,this[_0x37b7f1(0x3a1)]=_0x2bb03b,this[_0x37b7f1(0x39a)]=_0x3b2403);}[_0x262f6e(0x46b)](_0x4ea97c){const _0x419807=_0x262f6e;return this['_pendingMutations'][_0x419807(0x4b8)](_0x4ea97c),this[_0x419807(0x528)](),this;}[_0x262f6e(0x20a)](_0x4f6f08){const _0x3966ea=_0x262f6e;if(this['_checkMissing'](_0x4f6f08))return this[_0x3966ea(0x206)](),this['_injector'][_0x3966ea(0x35c)](V,this[_0x3966ea(0x392)],this[_0x3966ea(0x3f2)],null,this[_0x3966ea(0x514)],null,[_0x4f6f08],this['_handler']);try{const _0x242a50=this[_0x3966ea(0x3a1)]['transformMutationsWithChangeset'](_0x4f6f08,this['_pendingMutations']);if(_0x4d8a82(_0x242a50)){const {c1Prime:_0x38f1e3,m2Prime:_0x9188d0}=_0x242a50;this['_executeRemoteChangeset'](_0x38f1e3);const _0x2545b6=this[_0x3966ea(0x3af)][_0x3966ea(0x35c)](J,this[_0x3966ea(0x392)],this[_0x3966ea(0x3f2)],_0x9188d0,this[_0x3966ea(0x2b1)]);return this[_0x3966ea(0x206)](),_0x2545b6['_schedule'](this['_scheduleTimestamp']?Math[_0x3966ea(0x444)](0x0,new Date()[_0x3966ea(0x24c)]()-this[_0x3966ea(0x345)]):this[_0x3966ea(0x3a2)]()),_0x2545b6;}throw _0x242a50['error'];}catch(_0x531db8){return this[_0x3966ea(0x310)][_0x3966ea(0x280)](_0x531db8),this[_0x3966ea(0x3b6)](!0x1);}}[_0x262f6e(0x244)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x5e3dad=_0x262f6e;throw new Error(_0x5e3dad(0x1e6));}['onRemoteRetry'](){return this;}[_0x262f6e(0x483)](){const _0x8f27e2=_0x262f6e;return this[_0x8f27e2(0x206)](),this[_0x8f27e2(0x3af)][_0x8f27e2(0x35c)](ie,this[_0x8f27e2(0x392)],this[_0x8f27e2(0x3f2)],null,this['_pendingMutations'],this[_0x8f27e2(0x2b1)]);}['toggleOnline'](){return this;}[_0x262f6e(0x3aa)](_0x5b712e){const _0x47ad62=_0x262f6e,_0x586d00=_0x5b712e!=null?_0x5b712e:this[_0x47ad62(0x3a2)]();this[_0x47ad62(0x345)]=new Date()['getTime'](),this[_0x47ad62(0x4fa)]=window[_0x47ad62(0x4a1)](()=>{const _0x82d0d=_0x47ad62;this[_0x82d0d(0x206)]();let _0x1dcf29=null;switch(this[_0x82d0d(0x3f2)]){case B[_0x82d0d(0x2ad)]:{_0x1dcf29=ms(this[_0x82d0d(0x514)],this['unitID'],this[_0x82d0d(0x39a)],this[_0x82d0d(0x25a)],this['_memberService']);break;}case B[_0x82d0d(0x2e7)]:{this[_0x82d0d(0x514)][_0x82d0d(0x449)](_0xd8210d=>_0xd8210d['id']===_0x5e4442['id'])?_0x1dcf29=br(this[_0x82d0d(0x514)],this[_0x82d0d(0x392)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x1dcf29=ms(this[_0x82d0d(0x514)],this[_0x82d0d(0x392)],this['_univerInstanceService'],this[_0x82d0d(0x25a)],this[_0x82d0d(0x431)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x82d0d(0x3f2)]+'\x20in\x20_schedule.');}const {changeset:_0x7b3c58,pendingMutations:_0xb20587}=_0x1dcf29;this['_handler'][_0x82d0d(0x3f3)](_0x7b3c58);const _0x467517=_0xb20587['length']?this[_0x82d0d(0x3af)][_0x82d0d(0x35c)](z,this[_0x82d0d(0x392)],this[_0x82d0d(0x3f2)],_0x7b3c58,_0xb20587,this[_0x82d0d(0x2b1)],void 0x0):this[_0x82d0d(0x3af)][_0x82d0d(0x35c)](te,this[_0x82d0d(0x392)],this[_0x82d0d(0x3f2)],_0x7b3c58,this['_handler']);_0x467517[_0x82d0d(0x528)](),this[_0x82d0d(0x2b1)][_0x82d0d(0x401)](this,_0x467517);},_0x586d00);}[_0x262f6e(0x3a2)](){const _0x7e7de8=_0x262f6e;var _0x4a3118;const _0x5df19e=this[_0x7e7de8(0x3e1)][_0x7e7de8(0x3ab)](j);return(_0x4a3118=_0x5df19e==null?void 0x0:_0x5df19e[_0x7e7de8(0x2a3)])!=null?_0x4a3118:bn;}[_0x262f6e(0x3ec)](){const _0x2ec708=_0x262f6e;throw new Error(_0x2ec708(0x27f));}[_0x262f6e(0x206)](){const _0x191f02=_0x262f6e;this[_0x191f02(0x4fa)]!=null&&(clearTimeout(this[_0x191f02(0x4fa)]),this[_0x191f02(0x4fa)]=null);}[_0x262f6e(0x3b6)](_0x500c90){const _0x7c58c5=_0x262f6e;return this[_0x7c58c5(0x206)](),this[_0x7c58c5(0x3af)]['createInstance'](se,this[_0x7c58c5(0x392)],this[_0x7c58c5(0x3f2)],null,this[_0x7c58c5(0x514)],this[_0x7c58c5(0x2b1)],_0x500c90);}};J=me([f(0x4,_0x26d5df(_0x506841)),f(0x5,_0x26d5df(_0x2bcf77)),f(0x6,_0x26d5df(D)),f(0x7,_0x26d5df(_e)),f(0x8,_0x2bd539),f(0x9,_0x19a5a5),f(0xa,_0x4b38b2),f(0xb,_0x3345fe),f(0xc,_0x377149),f(0xd,_0x529156)],J);let te=class extends fe{constructor(_0x68a645,_0x30fe0d,_0x2eaf93,_0x20dd26,_0x8cc517,_0xbd639,_0x2fd05e,_0x5b6c24,_0x36f51b,_0x3cda8b,_0x4f941a){const _0x57590a=_0x262f6e;super(_0x68a645,_0x30fe0d,_0x2eaf93,[],_0x20dd26,_0x5b6c24,_0x4f941a,_0xbd639,_0x2fd05e),l(this,'status',_0x57590a(0x516)),l(this,_0x57590a(0x201),0x0),l(this,_0x57590a(0x4ab)),l(this,_0x57590a(0x2fe)),(this[_0x57590a(0x3af)]=_0x8cc517,this['_logService']=_0x36f51b,this[_0x57590a(0x3a1)]=_0x3cda8b);}[_0x262f6e(0x46b)](_0x1c0d96){const _0x13b7c5=_0x262f6e;this['_clearScheduledTask']();const _0x2a30b6=this[_0x13b7c5(0x3af)][_0x13b7c5(0x35c)](z,this[_0x13b7c5(0x392)],this[_0x13b7c5(0x3f2)],this['_awaitingChangeset'],[_0x1c0d96],this[_0x13b7c5(0x2b1)],this['_resendTimer']);return _0x2a30b6[_0x13b7c5(0x528)](),_0x2a30b6;}[_0x262f6e(0x20a)](_0x2416bf){const _0x2a77a5=_0x262f6e;if(this[_0x2a77a5(0x4a7)](_0x2416bf))return this[_0x2a77a5(0x206)](),this[_0x2a77a5(0x3af)]['createInstance'](V,this[_0x2a77a5(0x392)],this[_0x2a77a5(0x3f2)],this[_0x2a77a5(0x3e4)],[],null,[_0x2416bf],this[_0x2a77a5(0x2b1)]);try{const _0x435107=this['_transformService'][_0x2a77a5(0x213)]([_0x2416bf],[this[_0x2a77a5(0x3e4)]],!0x1);if(_0x233a00(_0x435107)){const {c1Prime:_0x4ef78a,c2Prime:_0x3c3cdf}=_0x435107;this['_executeRemoteChangeset'](_0x4ef78a[0x0]),_0x3c3cdf[0x0]['baseRev']=this[_0x2a77a5(0x51f)](),this['_clearScheduledTask']();const _0x4aa251=this[_0x2a77a5(0x3af)][_0x2a77a5(0x35c)](te,this[_0x2a77a5(0x392)],this[_0x2a77a5(0x3f2)],_0x3c3cdf[0x0],this[_0x2a77a5(0x2b1)]);return _0x4aa251[_0x2a77a5(0x528)](),_0x4aa251;}return this['_onConflict'](!0x1);}catch(_0x2e2287){return this[_0x2a77a5(0x310)][_0x2a77a5(0x280)](_0x2e2287),this[_0x2a77a5(0x3b6)](!0x1);}}['onRemoteAck'](_0x3fc749){const _0x4275af=_0x262f6e;this['_clearScheduledTask']();const _0x1875b8=this[_0x4275af(0x25a)][_0x4275af(0x467)](this['unitID']);if(_0x3fc749[_0x4275af(0x36a)]<_0x1875b8-0x1)return this;if(this[_0x4275af(0x4a7)](_0x3fc749))return this[_0x4275af(0x3af)][_0x4275af(0x35c)](V,this[_0x4275af(0x392)],this[_0x4275af(0x3f2)],null,[],this['_awaitingChangeset'],[],this[_0x4275af(0x2b1)]);this[_0x4275af(0x1eb)]();const _0x292e2a=this[_0x4275af(0x3af)][_0x4275af(0x35c)](Ee,this[_0x4275af(0x392)],this[_0x4275af(0x3f2)],this[_0x4275af(0x2b1)]);return _0x292e2a[_0x4275af(0x528)](),_0x292e2a;}['onRemoteRej'](_0x572e9a){const _0x3169a1=_0x262f6e;return this['_onConflict'](!!(_0x572e9a!=null&&_0x572e9a[_0x3169a1(0x2fa)]));}[_0x262f6e(0x4bc)](_0x3a3812){const _0xb64ca5=_0x262f6e;return this['_resendTimeout']>Ks?this[_0xb64ca5(0x483)]():(this[_0xb64ca5(0x4ab)]=Ys(this[_0xb64ca5(0x201)],{'timeout':this['_resendTimeout'],'reqId':_0x3a3812[_0xb64ca5(0x474)]}),this['_sender']=this[_0xb64ca5(0x4ab)]['subscribe'](({reqId:_0x831e85,timeout:_0xa66276})=>{const _0x58a1b1=_0xb64ca5;this[_0x58a1b1(0x229)](_0x831e85,_0xa66276);}),this);}[_0x262f6e(0x483)](){const _0x2a8947=_0x262f6e;return this[_0x2a8947(0x206)](),this[_0x2a8947(0x3af)][_0x2a8947(0x35c)](ie,this[_0x2a8947(0x392)],this[_0x2a8947(0x3f2)],this[_0x2a8947(0x3e4)],[],this[_0x2a8947(0x2b1)]);}[_0x262f6e(0x350)](){return this;}['resend'](){const _0x52cb10=_0x262f6e;this[_0x52cb10(0x2b1)][_0x52cb10(0x3f3)](this[_0x52cb10(0x3e4)]);}['_onConflict'](_0x1027b3){const _0x269628=_0x262f6e;return this[_0x269628(0x206)](),this[_0x269628(0x3af)]['createInstance'](se,this[_0x269628(0x392)],this[_0x269628(0x3f2)],this[_0x269628(0x3e4)],[],this[_0x269628(0x2b1)],_0x1027b3);}[_0x262f6e(0x229)](_0xb64d7b,_0x4c653d){const _0x246130=_0x262f6e;var _0x509e98;_0xb64d7b===((_0x509e98=this[_0x246130(0x3e4)])==null?void 0x0:_0x509e98[_0x246130(0x474)])&&(this[_0x246130(0x3ec)](),this[_0x246130(0x201)]=_0x4c653d===0x0?0x3e8:_0x4c653d*0x2);}[_0x262f6e(0x206)](){const _0x1fd714=_0x262f6e;var _0x1a955b;(_0x1a955b=this['_sender'])==null||_0x1a955b[_0x1fd714(0x2c8)](),this[_0x1fd714(0x201)]=0x0;}};te=me([f(0x4,_0x26d5df(_0x506841)),f(0x5,_0x26d5df(_0x2bcf77)),f(0x6,_0x26d5df(D)),f(0x7,_0x19a5a5),f(0x8,_0x2bd539),f(0x9,_0x3345fe),f(0xa,_0x529156)],te);let z=class extends fe{constructor(_0x2ee5d0,_0x3ecea6,_0x50e75e,_0x229630,_0x2d5a54,_0x159ec0,_0x12fea5,_0x19e27c,_0x590c3f,_0x8ca682,_0x224a8b,_0x2560d3,_0x2b455c){const _0x351e5d=_0x262f6e;super(_0x2ee5d0,_0x3ecea6,_0x50e75e,_0x229630,_0x2d5a54,_0x8ca682,_0x2b455c,_0x19e27c,_0x590c3f),l(this,_0x351e5d(0x37e),_0x351e5d(0x335)),l(this,_0x351e5d(0x201),0x0),l(this,_0x351e5d(0x4ab)),l(this,_0x351e5d(0x2fe)),(this[_0x351e5d(0x3af)]=_0x12fea5,this[_0x351e5d(0x310)]=_0x224a8b,this[_0x351e5d(0x3a1)]=_0x2560d3,_0x159ec0&&(this[_0x351e5d(0x4ab)]=_0x159ec0,this['_sender']=this[_0x351e5d(0x4ab)][_0x351e5d(0x481)](({reqId:_0x47599b,timeout:_0xe3e933})=>{const _0x1641b2=_0x351e5d;this[_0x1641b2(0x229)](_0x47599b,_0xe3e933);})));}[_0x262f6e(0x46b)](_0x19b385){const _0x337a32=_0x262f6e;return this[_0x337a32(0x514)]['push'](_0x19b385),this;}[_0x262f6e(0x20a)](_0x2bf226){const _0x41fa0b=_0x262f6e;if(this[_0x41fa0b(0x4a7)](_0x2bf226))return this['_clearScheduledTask'](),this[_0x41fa0b(0x3af)]['createInstance'](V,this[_0x41fa0b(0x392)],this['type'],this[_0x41fa0b(0x3e4)],this[_0x41fa0b(0x514)],null,[_0x2bf226],this[_0x41fa0b(0x2b1)]);try{const _0x2a1ba7=this['_transformService']['transformChangesets']([_0x2bf226],[this[_0x41fa0b(0x3e4)]],!0x1);if(_0x233a00(_0x2a1ba7)){const {c1Prime:_0x2ca51c,c2Prime:_0x42ddfe}=_0x2a1ba7,_0x2bd468=this[_0x41fa0b(0x3a1)][_0x41fa0b(0x289)](_0x2ca51c[0x0],this[_0x41fa0b(0x514)]);if(_0x4d8a82(_0x2bd468)){const {c1Prime:_0x4dcca2,m2Prime:_0x1a0d11}=_0x2bd468;return this[_0x41fa0b(0x384)](_0x4dcca2),_0x42ddfe[0x0][_0x41fa0b(0x4ae)]=this['_getCurrentRevision'](),this[_0x41fa0b(0x206)](),this['_injector'][_0x41fa0b(0x35c)](z,this['unitID'],this['type'],_0x42ddfe[0x0],_0x1a0d11,this[_0x41fa0b(0x2b1)],void 0x0);}throw _0x2bd468[_0x41fa0b(0x280)];}throw _0x2a1ba7[_0x41fa0b(0x280)];}catch(_0x4baf53){return this[_0x41fa0b(0x310)][_0x41fa0b(0x280)](_0x4baf53),this[_0x41fa0b(0x3b6)](!0x1);}}[_0x262f6e(0x244)](_0x1f5ce3){const _0x211074=_0x262f6e;if(this[_0x211074(0x206)](),this['_checkMissing'](_0x1f5ce3))return this[_0x211074(0x3af)][_0x211074(0x35c)](V,this[_0x211074(0x392)],this[_0x211074(0x3f2)],null,this[_0x211074(0x514)],this['_awaitingChangeset'],[],this[_0x211074(0x2b1)]);this[_0x211074(0x1eb)]();const _0x40f229=this['_injector']['createInstance'](J,this['unitID'],this[_0x211074(0x3f2)],this[_0x211074(0x514)],this[_0x211074(0x2b1)]);return _0x40f229[_0x211074(0x3aa)](),_0x40f229[_0x211074(0x528)](),_0x40f229;}[_0x262f6e(0x2d8)](_0x5dad5){const _0x2bfe47=_0x262f6e;return this['_onConflict'](!!(_0x5dad5!=null&&_0x5dad5[_0x2bfe47(0x2fa)]));}['onRemoteRetry'](_0x1503be){const _0x399742=_0x262f6e;return this[_0x399742(0x201)]>Ks?this[_0x399742(0x483)]():(this[_0x399742(0x4ab)]=Ys(this['_resendTimeout'],{'timeout':this[_0x399742(0x201)],'reqId':_0x1503be[_0x399742(0x474)]}),this[_0x399742(0x2fe)]=this[_0x399742(0x4ab)][_0x399742(0x481)](({reqId:_0x3dc0fe,timeout:_0x41dc42})=>{const _0xf19fae=_0x399742;this[_0xf19fae(0x229)](_0x3dc0fe,_0x41dc42);}),this);}[_0x262f6e(0x483)](){const _0x71857d=_0x262f6e;return this[_0x71857d(0x206)](),this[_0x71857d(0x3af)]['createInstance'](ie,this[_0x71857d(0x392)],this['type'],this[_0x71857d(0x3e4)],this[_0x71857d(0x514)],this[_0x71857d(0x2b1)]);}['toggleOnline'](){return this;}[_0x262f6e(0x3ec)](){const _0x152bbf=_0x262f6e;this[_0x152bbf(0x2b1)][_0x152bbf(0x3f3)](this[_0x152bbf(0x3e4)]);}['_onConflict'](_0x19b50b){const _0x134962=_0x262f6e;return this[_0x134962(0x206)](),this[_0x134962(0x3af)][_0x134962(0x35c)](se,this[_0x134962(0x392)],this[_0x134962(0x3f2)],null,this['_pendingMutations'],this['_handler'],_0x19b50b);}['_resendWithTimeout'](_0x45c20,_0x8b0b44){const _0x9345e8=_0x262f6e;var _0x328d38;_0x45c20===((_0x328d38=this[_0x9345e8(0x3e4)])==null?void 0x0:_0x328d38[_0x9345e8(0x474)])&&(this[_0x9345e8(0x3ec)](),this['_resendTimeout']=_0x8b0b44===0x0?0x3e8:_0x8b0b44*0x2);}['_clearScheduledTask'](){const _0xf31fc=_0x262f6e;var _0x178519;(_0x178519=this[_0xf31fc(0x2fe)])==null||_0x178519[_0xf31fc(0x2c8)](),this['_resendTimeout']=0x0;}};z=me([f(0x6,_0x26d5df(_0x506841)),f(0x7,_0x26d5df(_0x2bcf77)),f(0x8,_0x26d5df(D)),f(0x9,_0x19a5a5),f(0xa,_0x2bd539),f(0xb,_0x3345fe),f(0xc,_0x529156)],z);let se=class extends fe{constructor(_0x505aab,_0x52609f,_0x27ca11,_0x8ca6b4,_0x307847,_0x3e6269=!0x1,_0x4d5efc,_0x5d33d0,_0xd6e0ae,_0x367983,_0x226ba,_0x24da3c,_0x434610){const _0x4bb430=_0x262f6e;super(_0x505aab,_0x52609f,_0x27ca11,_0x8ca6b4,_0x307847,_0x5d33d0,_0xd6e0ae,_0x226ba,_0x367983),l(this,'status','conflict'),(this[_0x4bb430(0x1f0)]=_0x3e6269,this['_permissionService']=_0x4d5efc,this[_0x4bb430(0x33a)]=_0x24da3c,this[_0x4bb430(0x1ee)]=_0x434610,this['_showConflictNotification'](),this[_0x4bb430(0x1a8)](),this['_disableEditing']());}[_0x262f6e(0x46b)](){return this;}[_0x262f6e(0x20a)](){return this;}[_0x262f6e(0x244)](){return this;}[_0x262f6e(0x2d8)](){return this;}[_0x262f6e(0x4bc)](){return this;}[_0x262f6e(0x483)](){return this;}[_0x262f6e(0x350)](){return this;}[_0x262f6e(0x3ec)](){const _0x3a1160=_0x262f6e;throw new Error(_0x3a1160(0x2ea));}[_0x262f6e(0x1a8)](){const _0x3d430e=_0x262f6e;this['_localCacheService']['updateOfflineData'](this[_0x3d430e(0x392)],this[_0x3d430e(0x3f2)],null,[]);}['_showConflictNotification'](){const _0x259e97=_0x262f6e;this[_0x259e97(0x1f0)]?this['_notificationService'][_0x259e97(0x4f5)]({'title':this[_0x259e97(0x33a)]['t'](_0x259e97(0x466)),'content':this[_0x259e97(0x33a)]['t'](_0x259e97(0x279)),'type':_0x259e97(0x280),'duration':0x0}):this['_notificationService'][_0x259e97(0x4f5)]({'title':this['_localeService']['t'](_0x259e97(0x322)),'content':this['_localeService']['t']('conflict.content'),'type':_0x259e97(0x280),'duration':0x0});}[_0x262f6e(0x2e8)](){const _0x9ae0cb=_0x262f6e;this['_permissionService'][_0x9ae0cb(0x2a9)](new _0x23f88f(this[_0x9ae0cb(0x392)])['id'],!0x1);}};se=me([f(0x6,_0x26d5df(_0x43df64)),f(0x7,_0x19a5a5),f(0x8,_0x529156),f(0x9,_0x26d5df(D)),f(0xa,_0x26d5df(_0x2bcf77)),f(0xb,_0x26d5df(_0x32fffe)),f(0xc,_0x3ccfab)],se);let ie=class extends fe{constructor(_0x4f0da0,_0x5c684c,_0x5c6cc8,_0x1368bd,_0xa33e57,_0x167a75,_0x34c400,_0x51350b,_0x4c3bdf,_0x5afb61){const _0x3e5f74=_0x262f6e;super(_0x4f0da0,_0x5c684c,_0x5c6cc8,_0x1368bd,_0xa33e57,_0x4c3bdf,_0x5afb61,_0x34c400,_0x51350b),l(this,_0x3e5f74(0x37e),_0x3e5f74(0x2cb)),this['_injector']=_0x167a75;}['appendMutation'](_0x5af5f6){const _0x5d27ab=_0x262f6e;return this[_0x5d27ab(0x514)]['push'](_0x5af5f6),this[_0x5d27ab(0x528)](),this;}['onRemoteChangeset'](_0x18590e){const _0x3eed1e=_0x262f6e;throw new Error(_0x3eed1e(0x4f4));}[_0x262f6e(0x244)](){const _0x4e1f1a=_0x262f6e;throw new Error(_0x4e1f1a(0x25f));}[_0x262f6e(0x2d8)](){const _0x189f78=_0x262f6e;throw new Error(_0x189f78(0x46c));}[_0x262f6e(0x4bc)](){return this;}[_0x262f6e(0x483)](){return this;}['toggleOnline'](){const _0x3e2e8c=_0x262f6e,{_injector:_0x4ae3f6,_pendingMutations:_0x35bff6,_awaitingChangeset:_0x7dc555,unitID:_0x3c9f21,_handler:_0x4d4136,type:_0x1cc311}=this,_0x432eec=Xs(_0x4ae3f6,_0x3c9f21,_0x1cc311,_0x7dc555,_0x35bff6,_0x4d4136);return _0x432eec instanceof J?_0x432eec[_0x3e2e8c(0x3aa)]():(_0x432eec instanceof z||_0x432eec instanceof te)&&_0x432eec[_0x3e2e8c(0x3ec)](),_0x432eec;}[_0x262f6e(0x3ec)](){const _0x55a2ae=_0x262f6e;throw new Error(_0x55a2ae(0x48f));}};ie=me([f(0x5,_0x26d5df(_0x506841)),f(0x6,_0x26d5df(_0x2bcf77)),f(0x7,_0x26d5df(D)),f(0x8,_0x19a5a5),f(0x9,_0x529156)],ie);let V=class extends fe{constructor(_0x556d79,_0x7cf1be,_0x2d9ce5,_0x3c514d,_0xe788de,_0x178531,_0x55fe13,_0xca66c8,_0x279bc4,_0x14246e,_0x474c32,_0x6ac663,_0x268234,_0x3d0527){const _0x5f0b5c=_0x262f6e;super(_0x556d79,_0x7cf1be,_0x2d9ce5,_0x3c514d,_0x55fe13,_0x6ac663,_0x268234,_0x279bc4,_0x14246e),l(this,'status','fetch_missing'),(this[_0x5f0b5c(0x504)]=_0xe788de,this['_queuedRemoteChangesets']=_0x178531,this[_0x5f0b5c(0x3af)]=_0xca66c8,this['_logService']=_0x474c32,this[_0x5f0b5c(0x3a1)]=_0x3d0527);}[_0x262f6e(0x274)](_0x56cc59){const _0x2fd20a=_0x262f6e;try{const _0x4a13e3=[..._0x56cc59,...this['_queuedRemoteChangesets']],_0x27bee7=[this[_0x2fd20a(0x3e4)]||this[_0x2fd20a(0x504)]][_0x2fd20a(0x346)](_0x4d9359=>!!_0x4d9359);let _0x56700f,_0x3a3870;if(_0x27bee7[_0x2fd20a(0x1c5)]){const _0x22f660=this['_transformService'][_0x2fd20a(0x213)](_0x4a13e3,_0x27bee7,!0x1);if(!_0x233a00(_0x22f660))throw _0x22f660[_0x2fd20a(0x280)];_0x56700f=_0x22f660[_0x2fd20a(0x1f6)],_0x3a3870=_0x22f660[_0x2fd20a(0x4ec)];}else _0x56700f=_0x4a13e3,_0x3a3870=[];let _0x507621=this[_0x2fd20a(0x514)];_0x56700f['forEach'](_0x5df9bf=>{const _0x5ec43a=_0x2fd20a;let _0x42ef96;if(_0x507621['length']){const _0x1b40ec=this['_transformService'][_0x5ec43a(0x289)](_0x5df9bf,_0x507621);if(!_0x4d8a82(_0x1b40ec))throw _0x1b40ec['error'];_0x42ef96=_0x1b40ec[_0x5ec43a(0x1f6)],_0x507621=_0x1b40ec['m2Prime'];}else _0x42ef96=_0x5df9bf;this[_0x5ec43a(0x384)](_0x42ef96);}),this[_0x2fd20a(0x504)]&&this['_incrementRevisionNumber'](),this[_0x2fd20a(0x3e4)]&&_0x3a3870[_0x2fd20a(0x1c5)]&&(_0x3a3870[0x0][_0x2fd20a(0x4ae)]=this['_getCurrentRevision']());let _0x284bb5;if(this[_0x2fd20a(0x3e4)]&&_0x507621['length']!==0x0)_0x284bb5=this[_0x2fd20a(0x3af)][_0x2fd20a(0x35c)](z,this[_0x2fd20a(0x392)],this['type'],_0x3a3870[0x0],_0x507621,this[_0x2fd20a(0x2b1)],void 0x0);else{if(this[_0x2fd20a(0x3e4)]&&_0x507621[_0x2fd20a(0x1c5)]===0x0)_0x3a3870[0x0][_0x2fd20a(0x4ae)]=this[_0x2fd20a(0x51f)](),_0x284bb5=this[_0x2fd20a(0x3af)]['createInstance'](te,this[_0x2fd20a(0x392)],this[_0x2fd20a(0x3f2)],_0x3a3870[0x0],this[_0x2fd20a(0x2b1)]);else{if(_0x507621[_0x2fd20a(0x1c5)]!==0x0){const _0x1b6d09=this[_0x2fd20a(0x3af)][_0x2fd20a(0x35c)](J,this[_0x2fd20a(0x392)],this[_0x2fd20a(0x3f2)],_0x507621,this[_0x2fd20a(0x2b1)]);_0x1b6d09[_0x2fd20a(0x3aa)](),_0x284bb5=_0x1b6d09;}else _0x284bb5=this[_0x2fd20a(0x3af)][_0x2fd20a(0x35c)](Ee,this[_0x2fd20a(0x392)],this[_0x2fd20a(0x3f2)],this[_0x2fd20a(0x2b1)]);}}return _0x284bb5[_0x2fd20a(0x528)](),_0x284bb5;}catch(_0x209f3e){return this[_0x2fd20a(0x310)]['error'](_0x2fd20a(0x3d5),_0x2fd20a(0x1f8),_0x209f3e),this[_0x2fd20a(0x3af)][_0x2fd20a(0x35c)](se,this['unitID'],this[_0x2fd20a(0x3f2)],this[_0x2fd20a(0x3e4)],this[_0x2fd20a(0x514)],this[_0x2fd20a(0x2b1)],!0x1);}}[_0x262f6e(0x3ec)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x262f6e(0x46b)](_0x2be5ca){const _0x190feb=_0x262f6e;return this[_0x190feb(0x514)][_0x190feb(0x4b8)](_0x2be5ca),this;}[_0x262f6e(0x20a)](_0x3dfe40){const _0x360b42=_0x262f6e;return this[_0x360b42(0x30b)][_0x360b42(0x4b8)](_0x3dfe40),this;}[_0x262f6e(0x244)](_0x42f2a5){const _0xdbf181=_0x262f6e;if(this[_0xdbf181(0x3e4)])return this[_0xdbf181(0x504)]=this['_awaitingChangeset'],this[_0xdbf181(0x3e4)]=null,this;throw new Error(_0xdbf181(0x4a0));}[_0x262f6e(0x2d8)](_0x165471){const _0x1715dd=_0x262f6e;return this[_0x1715dd(0x3b6)](!!(_0x165471!=null&&_0x165471[_0x1715dd(0x2fa)]));}[_0x262f6e(0x4bc)](){return this;}[_0x262f6e(0x483)](){const _0xdb1d78=_0x262f6e;return this[_0xdb1d78(0x3af)]['createInstance'](ie,this[_0xdb1d78(0x392)],this['type'],this[_0xdb1d78(0x3e4)],this[_0xdb1d78(0x514)],this[_0xdb1d78(0x2b1)]);}[_0x262f6e(0x350)](){return this;}[_0x262f6e(0x3b6)](_0xedfb9b){const _0x3963c4=_0x262f6e;return this[_0x3963c4(0x3af)][_0x3963c4(0x35c)](se,this[_0x3963c4(0x392)],this[_0x3963c4(0x3f2)],this[_0x3963c4(0x3e4)],this[_0x3963c4(0x514)],this['_handler'],_0xedfb9b);}};V=me([f(0x7,_0x26d5df(_0x506841)),f(0x8,_0x26d5df(_0x2bcf77)),f(0x9,_0x26d5df(D)),f(0xa,_0x2bd539),f(0xb,_0x19a5a5),f(0xc,_0x529156),f(0xd,_0x3345fe)],V);function Xs(_0x325636,_0x3066d4,_0x4c4097,_0x1a6beb,_0x28eeee,_0x3c7167){const _0x79222=_0x262f6e;return _0x1a6beb&&_0x28eeee[_0x79222(0x1c5)]?_0x325636[_0x79222(0x35c)](z,_0x3066d4,_0x4c4097,_0x1a6beb,_0x28eeee,_0x3c7167,void 0x0):_0x1a6beb?_0x325636['createInstance'](te,_0x3066d4,_0x4c4097,_0x1a6beb,_0x3c7167):_0x28eeee[_0x79222(0x1c5)]?_0x325636[_0x79222(0x35c)](J,_0x3066d4,_0x4c4097,_0x28eeee,_0x3c7167):_0x325636[_0x79222(0x35c)](Ee,_0x3066d4,_0x4c4097,_0x3c7167);}var Dr=Object[_0x262f6e(0x44e)],wr=Object[_0x262f6e(0x3c2)],Gt=(_0x1a25bd,_0x450af9,_0x40e6b0,_0x34de1b)=>{const _0x24fd4f=_0x262f6e;for(var _0xd8febb=_0x34de1b>0x1?void 0x0:_0x34de1b?wr(_0x450af9,_0x40e6b0):_0x450af9,_0x3d0448=_0x1a25bd[_0x24fd4f(0x1c5)]-0x1,_0x3de315;_0x3d0448>=0x0;_0x3d0448--)(_0x3de315=_0x1a25bd[_0x3d0448])&&(_0xd8febb=(_0x34de1b?_0x3de315(_0x450af9,_0x40e6b0,_0xd8febb):_0x3de315(_0xd8febb))||_0xd8febb);return _0x34de1b&&_0xd8febb&&Dr(_0x450af9,_0x40e6b0,_0xd8febb),_0xd8febb;},p=(_0x4ecef6,_0x4e2706)=>(_0x5332fd,_0x3eb6ee)=>_0x4e2706(_0x5332fd,_0x3eb6ee,_0x4ecef6);let ze=class extends _0x866c0c{constructor(_0x3872b1,_0x39cce1,_0x5ec485,_0x305719,_0x365136,_0x141e0c,_0xb701c7,_0x5a0521,_0x13f292,_0x74e6f9,_0x283491,_0x16903b,_0x4f21df){const _0x405c7f=_0x262f6e;super(),l(this,_0x405c7f(0x43c),new _0x50e691(null)),l(this,_0x405c7f(0x258),this[_0x405c7f(0x43c)][_0x405c7f(0x518)]()),l(this,'_state'),l(this,_0x405c7f(0x2e5),!0x1),l(this,'_changesetSessionId',''),l(this,_0x405c7f(0x1c7),0x0),l(this,'status$',this[_0x405c7f(0x258)]['pipe'](_0x207e75(_0x5deaaa=>_0x5deaaa?_0x5deaaa[_0x405c7f(0x37e)]:w[_0x405c7f(0x37a)]),_0x9d8e86(0x1))),l(this,_0x405c7f(0x20b),!0x1),l(this,_0x405c7f(0x351),[]),(this[_0x405c7f(0x392)]=_0x3872b1,this['session']=_0x39cce1,this[_0x405c7f(0x2b9)]=_0x5ec485,this[_0x405c7f(0x3af)]=_0x305719,this[_0x405c7f(0x44d)]=_0x365136,this['_compressMutationService']=_0x141e0c,this[_0x405c7f(0x33a)]=_0xb701c7,this['_revisionService']=_0x5a0521,this['_logService']=_0x13f292,this['_commandService']=_0x74e6f9,this[_0x405c7f(0x4ba)]=_0x283491,this['_permissionService']=_0x16903b,this[_0x405c7f(0x1d1)]=_0x4f21df);}get[_0x262f6e(0x2f5)](){const _0x543387=_0x262f6e;return this[_0x543387(0x28b)];}async['init'](){const _0xc8d83e=_0x262f6e;if(this[_0xc8d83e(0x2f5)])throw new Error(_0xc8d83e(0x495));await this[_0xc8d83e(0x204)]();}[_0x262f6e(0x417)](){return this['_collaborationPaused']=!0x0,_0x18f2c5(()=>{const _0x5646b7=_0x275e;this[_0x5646b7(0x2e5)]=!0x1,this[_0x5646b7(0x221)]();});}[_0x262f6e(0x43e)](_0x6f4878){const _0x40a6b3=_0x262f6e;this['_state']=_0x6f4878,this[_0x40a6b3(0x43c)][_0x40a6b3(0x377)](_0x6f4878);}async[_0x262f6e(0x204)](){const _0x10d903=_0x262f6e;var _0x13d851;this[_0x10d903(0x43e)](await this[_0x10d903(0x3b7)]()),this['_singleActiveUnitService']&&((_0x13d851=this[_0x10d903(0x1d1)])==null||_0x13d851[_0x10d903(0x2f0)](this['unitID']),this['disposeWithMe'](this['_singleActiveUnitService'][_0x10d903(0x207)](this[_0x10d903(0x392)])['subscribe'](_0x326f92=>{const _0x5c1af9=_0x10d903;this[_0x5c1af9(0x310)][_0x5c1af9(0x29e)](_0x5c1af9(0x4d4),_0x5c1af9(0x4c0),_0x326f92),_0x326f92===Ws[_0x5c1af9(0x3de)]?(this[_0x5c1af9(0x4ba)][_0x5c1af9(0x4f5)]({'content':this[_0x5c1af9(0x33a)]['t'](_0x5c1af9(0x370)),'type':_0x5ed11f[_0x5c1af9(0x339)]}),this[_0x5c1af9(0x2ac)][_0x5c1af9(0x2a9)](new _0x23f88f(this['unitID'])['id'],!0x1),this['_permissionService'][_0x5c1af9(0x445)](!0x1)):(this['_permissionService'][_0x5c1af9(0x2a9)](new _0x23f88f(this[_0x5c1af9(0x392)])['id'],!0x0),this[_0x5c1af9(0x2ac)][_0x5c1af9(0x445)](!0x0));})));let _0xafba4f=!0x1;return this[_0x10d903(0x2fd)](this['session']['sessionStatus$'][_0x10d903(0x481)](_0x18d744=>{const _0xce9436=_0x10d903;_0x18d744===X[_0xce9436(0x212)]?this[_0xce9436(0x24a)](_0xafba4f):_0x18d744===X[_0xce9436(0x37a)]&&(_0xafba4f=!0x0,this[_0xce9436(0x223)]());})),this[_0x10d903(0x2fd)](this[_0x10d903(0x4aa)][_0x10d903(0x276)][_0x10d903(0x481)](_0x3149fe=>{const _0x4fbf00=_0x10d903;try{switch(_0x3149fe['eventID']){case _0x1f4b1b[_0x4fbf00(0x1b0)]:{this[_0x4fbf00(0x35d)](_0x28252c(_0x3149fe['data']));break;}case _0x1f4b1b[_0x4fbf00(0x3b0)]:{this[_0x4fbf00(0x527)](_0x3149fe['data']);break;}case _0x1f4b1b[_0x4fbf00(0x454)]:{this[_0x4fbf00(0x37d)]();break;}case _0x1f4b1b[_0x4fbf00(0x19f)]:{this[_0x4fbf00(0x418)](_0x3149fe['data']);break;}case _0x1f4b1b[_0x4fbf00(0x382)]:{this[_0x4fbf00(0x353)](_0x3149fe[_0x4fbf00(0x3d9)][_0x4fbf00(0x315)][_0x4fbf00(0x2a8)](_0x92bfab=>_0x28252c(_0x92bfab)));break;}case _0x1f4b1b[_0x4fbf00(0x4fe)]:this[_0x4fbf00(0x37d)]({'isPermissionRej':!0x0});}}catch(_0x54725f){throw console[_0x4fbf00(0x280)](_0x4fbf00(0x3f5),_0x54725f),_0x54725f;}})),this[_0x10d903(0x28b)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x262f6e(0x519)](){const _0x1f513f=_0x262f6e;if(this[_0x1f513f(0x20b)])throw new Error(_0x1f513f(0x524));this[_0x1f513f(0x20b)]=!0x0;}[_0x262f6e(0x4ac)](_0x396da5){const _0x5a2a2a=_0x262f6e;this['_lockTransition'](),this[_0x5a2a2a(0x43e)](this[_0x5a2a2a(0x28b)]['appendMutation'](_0x396da5)),this[_0x5a2a2a(0x32c)]();}[_0x262f6e(0x35d)](_0x365d7c){const _0x542011=_0x262f6e;if(!(_0x365d7c['revision']<=this[_0x542011(0x25a)][_0x542011(0x467)](this[_0x542011(0x392)]))){if(this[_0x542011(0x2e5)]){this['_remoteChangesetQueue'][_0x542011(0x4b8)](_0x365d7c);return;}this[_0x542011(0x4ed)](_0x365d7c);}}['_exhaustRemoteChangesetQueue'](){const _0x18a0b8=_0x262f6e;this[_0x18a0b8(0x351)][_0x18a0b8(0x3a5)](_0x4e40ef=>this[_0x18a0b8(0x4ed)](_0x4e40ef)),this[_0x18a0b8(0x351)]=[];}['_applyRemoteChangeset'](_0x11443a){const _0x53a143=_0x262f6e,_0x32ee89=this[_0x53a143(0x267)][_0x53a143(0x3cb)][_0x53a143(0x4f9)](this['_compressMutationService'][_0x53a143(0x3cb)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x11443a['mutations'],null)||_0x11443a['mutations'],_0x51668a={..._0x11443a,'mutations':_0x32ee89};this[_0x53a143(0x519)](),this[_0x53a143(0x43e)](this[_0x53a143(0x28b)]['onRemoteChangeset'](_0x51668a)),this[_0x53a143(0x32c)]();}[_0x262f6e(0x527)](_0x26ce9e){const _0x1868fb=_0x262f6e;this[_0x1868fb(0x519)](),this[_0x1868fb(0x43e)](this[_0x1868fb(0x28b)][_0x1868fb(0x244)](_0x26ce9e)),this[_0x1868fb(0x32c)]();}[_0x262f6e(0x37d)](_0x529c5d){const _0x286779=_0x262f6e;this[_0x286779(0x519)](),this['_updateState'](this[_0x286779(0x28b)][_0x286779(0x2d8)](_0x529c5d)),this[_0x286779(0x32c)]();}[_0x262f6e(0x418)](_0x170dca){const _0x355303=_0x262f6e;this['_lockTransition'](),this[_0x355303(0x43e)](this['_state'][_0x355303(0x4bc)](_0x170dca)),this[_0x355303(0x32c)]();}[_0x262f6e(0x353)](_0x34dc25){const _0x143955=_0x262f6e;if(!(this[_0x143955(0x28b)]instanceof V))throw new TypeError(_0x143955(0x399));const _0x27417d=_0x34dc25[_0x143955(0x2a8)](_0x4954a1=>{const _0x1a7203=_0x143955,_0x68ee32=this[_0x1a7203(0x267)][_0x1a7203(0x3cb)][_0x1a7203(0x4f9)](this[_0x1a7203(0x267)][_0x1a7203(0x3cb)][_0x1a7203(0x308)]()[_0x1a7203(0x33f)])(_0x4954a1[_0x1a7203(0x1ef)],null)||_0x4954a1['mutations'];return{..._0x4954a1,'mutations':_0x68ee32};});this['_lockTransition'](),this[_0x143955(0x43e)](this[_0x143955(0x28b)][_0x143955(0x274)](_0x27417d)),this['_unlockTransition']();}[_0x262f6e(0x223)](){const _0x4cee11=_0x262f6e;this[_0x4cee11(0x519)](),this[_0x4cee11(0x43e)](this[_0x4cee11(0x28b)][_0x4cee11(0x483)]()),this[_0x4cee11(0x32c)]();}[_0x262f6e(0x24a)](_0x2f74ef=!0x1){const _0x3f7071=_0x262f6e;this[_0x3f7071(0x519)](),this['_updateState'](this[_0x3f7071(0x28b)][_0x3f7071(0x350)]()),this[_0x3f7071(0x32c)]();const _0x15dfce=this[_0x3f7071(0x28b)];_0x2f74ef&&_0x15dfce instanceof Ee&&(this[_0x3f7071(0x519)](),this['_updateState'](_0x15dfce[_0x3f7071(0x3da)]()),this[_0x3f7071(0x32c)]());}async[_0x262f6e(0x3b7)](){return new Promise(_0x358404=>{const _0x851e4a=_0x275e;this['session'][_0x851e4a(0x20c)][_0x851e4a(0x337)](_0x3ed67f(0x1))[_0x851e4a(0x481)](async _0x2661d7=>{_0x358404(await this['_createInitialStateImpl'](_0x2661d7===X['ONLINE']));});});}[_0x262f6e(0x328)](){const _0x4906b0=_0x262f6e,_0x4ef364=this[_0x4906b0(0x392)];return{'onStateChange':(_0x10283a,_0x5179c5)=>{const _0x503fe5=_0x4906b0;if(_0x10283a!==this[_0x503fe5(0x28b)])throw new Error(_0x503fe5(0x4c2)+_0x10283a[_0x503fe5(0x37e)]+'\x0aAfter:\x20'+_0x5179c5[_0x503fe5(0x37e)]+'\x0aCurrent:\x20'+this[_0x503fe5(0x28b)][_0x503fe5(0x37e)]);this[_0x503fe5(0x43e)](_0x5179c5);},'onSendChangeset':_0x33269f=>{const _0x4421fe=_0x4906b0;_0x33269f[_0x4421fe(0x29f)]||(_0x33269f[_0x4421fe(0x29f)]=this[_0x4421fe(0x30e)],_0x33269f[_0x4421fe(0x474)]=++this[_0x4421fe(0x1c7)]);const _0x4a3a9b={'eventID':_0x1f4b1b[_0x4421fe(0x390)],'data':{'unitID':_0x33269f[_0x4421fe(0x392)],'unitType':this[_0x4421fe(0x2b9)],'changeset':_0x33269f,'memberID':this[_0x4421fe(0x4aa)][_0x4421fe(0x241)]()}};this[_0x4421fe(0x4aa)][_0x4421fe(0x4f7)](_0x4a3a9b,this[_0x4421fe(0x392)]);},'onMissingChangesets':({from:_0x986b6,to:_0x59f687})=>{const _0x43cd41=_0x4906b0;this[_0x43cd41(0x310)][_0x43cd41(0x29e)]('[CollaborationEntity]',_0x43cd41(0x3cd)+_0x986b6+'\x20to\x20'+_0x59f687);const _0x1993a4={'eventID':_0x1f4b1b[_0x43cd41(0x2c5)],'data':{'unitID':_0x4ef364,'unitType':this[_0x43cd41(0x2b9)],'from':_0x986b6,'to':_0x59f687}};this['session'][_0x43cd41(0x4f7)](_0x1993a4,this[_0x43cd41(0x392)]);}};}async[_0x262f6e(0x1b8)](_0x4f8142){const _0x2e1a4c=_0x262f6e;var _0x185ed3,_0x3ecac3;const _0x57a84a=await this[_0x2e1a4c(0x44d)]['loadOfflineData'](this[_0x2e1a4c(0x392)]),_0x13fd49=(_0x185ed3=_0x57a84a==null?void 0x0:_0x57a84a[_0x2e1a4c(0x1ef)])!=null?_0x185ed3:[],_0x3ba965=(_0x3ecac3=_0x57a84a==null?void 0x0:_0x57a84a['awaitingChangeset'])!=null?_0x3ecac3:null,_0x5f4e4d=!!(_0x3ba965!=null&&_0x3ba965[_0x2e1a4c(0x29f)])&&!!(_0x3ba965!=null&&_0x3ba965[_0x2e1a4c(0x474)]);this[_0x2e1a4c(0x30e)]=_0x5f4e4d?_0x3ba965[_0x2e1a4c(0x29f)]:or(),this[_0x2e1a4c(0x1c7)]=_0x5f4e4d?_0x3ba965[_0x2e1a4c(0x474)]:0x0;const _0x1aad08=this['unitID'];try{this[_0x2e1a4c(0x443)](_0x3ba965,_0x13fd49);}catch(_0x54e0b8){this['_logService'][_0x2e1a4c(0x280)](_0x54e0b8);}const _0x2cff7e=this[_0x2e1a4c(0x328)]();if(_0x4f8142){const _0x2f8d4f=Xs(this['_injector'],_0x1aad08,this[_0x2e1a4c(0x2b9)],_0x3ba965,_0x13fd49,_0x2cff7e);return _0x2f8d4f instanceof J?_0x2f8d4f['_schedule']():(_0x2f8d4f instanceof z||_0x2f8d4f instanceof te)&&_0x2f8d4f[_0x2e1a4c(0x3ec)](),_0x2f8d4f;}return this['_injector'][_0x2e1a4c(0x35c)](ie,_0x1aad08,this[_0x2e1a4c(0x2b9)],_0x3ba965,_0x13fd49,_0x2cff7e);}[_0x262f6e(0x443)](_0x2f28c5,_0x3b67fe){const _0x5331db=_0x262f6e;var _0x5c88b6,_0x4b1630;const _0xa1819=this[_0x5331db(0x267)]['interceptor'][_0x5331db(0x4f9)](this['_compressMutationService'][_0x5331db(0x3cb)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x5c88b6=_0xa1819((_0x2f28c5==null?void 0x0:_0x2f28c5['mutations'])||[],null))==null||_0x5c88b6[_0x5331db(0x3a5)](_0x532357=>this['_commandService'][_0x5331db(0x500)](_0x532357['id'],_0x532357['params'])),(_0x4b1630=_0xa1819(_0x3b67fe||[],null))==null||_0x4b1630['forEach'](_0x2f85cb=>this['_commandService'][_0x5331db(0x500)](_0x2f85cb['id'],_0x2f85cb['params']));}};ze=Gt([p(0x3,_0x26d5df(_0x506841)),p(0x4,_0x26d5df(D)),p(0x5,_0x26d5df(_0x44d7c7)),p(0x6,_0x26d5df(_0x32fffe)),p(0x7,_0x26d5df(_0x2bcf77)),p(0x8,_0x2bd539),p(0x9,_0x19a5a5),p(0xa,_0x2f20aa),p(0xb,_0x43df64),p(0xc,_0x54fca0(it))],ze);let Rt=class extends ze{constructor(_0x5baf66,_0x4b8e5e,_0x30154c,_0x2d15b7,_0x4c83c4,_0xe994cb,_0x4ef334,_0x38d444,_0x5a456f,_0x12a51a,_0x542b52,_0x1731c0,_0x2e5705,_0xa7fa23,_0x3ae94e,_0x38d727,_0x4ec8e8){const _0x75df71=_0x262f6e;super(_0x5baf66,_0x30154c,_0x4b8e5e,_0x2d15b7,_0x4c83c4,_0xe994cb,_0x4ef334,_0x38d444,_0x2e5705,_0xa7fa23,_0x3ae94e,_0x38d727,_0x4ec8e8),this[_0x75df71(0x392)]=_0x5baf66,this['type']=_0x4b8e5e,this['_docStateChangeManagerService']=_0x5a456f,this[_0x75df71(0x4c1)]=_0x12a51a,this[_0x75df71(0x4fd)]=_0x542b52,this['_docSyncEditingCollabCursorService']=_0x1731c0;}[_0x262f6e(0x328)](){const _0x5bd304=_0x262f6e,_0x349870=super[_0x5bd304(0x328)]();return _0x349870[_0x5bd304(0x425)]=_0x444465=>this[_0x5bd304(0x4c1)]['transformIMECache'](_0x444465),_0x349870['onTransformSelections']=_0x3c9e84=>this[_0x5bd304(0x4fd)]['transformSelections'](_0x3c9e84),_0x349870[_0x5bd304(0x1cd)]=_0x14dd9c=>this[_0x5bd304(0x2af)][_0x5bd304(0x3fb)](_0x14dd9c),_0x349870[_0x5bd304(0x215)]=_0x3c609c=>this[_0x5bd304(0x4c1)][_0x5bd304(0x1bf)](_0x3c609c),_0x349870;}async['_init'](){const _0x233453=_0x262f6e,_0x2dee10=await super['_init']();return this[_0x233453(0x1d0)][_0x233453(0x398)][_0x233453(0x337)](_0x1e91dc(this[_0x233453(0x277)]))[_0x233453(0x481)](_0x25f00b=>{const _0x898289=_0x233453;if(_0x25f00b==null)return;const {unitId:_0x1700a9,redoState:_0x460154,commandId:_0x12f4df}=_0x25f00b;if(_0x1700a9!==this[_0x898289(0x392)])return;const _0x35f3ab={'id':_0x12f4df,'type':_0x43413f[_0x898289(0x3fa)],'params':{'unitId':_0x1700a9,'actions':_0x460154[_0x898289(0x1f4)],'textRanges':null}};this[_0x898289(0x4ac)](_0x35f3ab);}),_0x2dee10;}};Rt=Gt([p(0x3,_0x26d5df(_0x506841)),p(0x4,_0x26d5df(D)),p(0x5,_0x26d5df(_0x44d7c7)),p(0x6,_0x26d5df(_0x32fffe)),p(0x7,_0x26d5df(_0x2bcf77)),p(0x8,_0x26d5df(_0xc14380)),p(0x9,_0x26d5df(Xe)),p(0xa,_0x26d5df(Je)),p(0xb,_0x26d5df(Wt)),p(0xc,_0x2bd539),p(0xd,_0x19a5a5),p(0xe,_0x2f20aa),p(0xf,_0x43df64),p(0x10,_0x54fca0(it))],Rt);let Ot=class extends ze{constructor(_0x8083f1,_0x266ec3,_0x472a11,_0x3ede63,_0x48b8ec,_0x4b5b52,_0x3bec76,_0x41b38,_0x38a6dc,_0x551e56,_0x3e80bb,_0x423825,_0x5975de,_0x3cb1b2){const _0x394cf8=_0x262f6e;super(_0x8083f1,_0x472a11,_0x266ec3,_0x3ede63,_0x48b8ec,_0x4b5b52,_0x3bec76,_0x41b38,_0x551e56,_0x3e80bb,_0x423825,_0x5975de,_0x3cb1b2),this[_0x394cf8(0x392)]=_0x8083f1,this[_0x394cf8(0x3f2)]=_0x266ec3,this[_0x394cf8(0x31c)]=_0x38a6dc;}[_0x262f6e(0x328)](){const _0x22610b=_0x262f6e,_0x138ff6=super['_createHandler']();return _0x138ff6['onTransformSelections']=_0x7285f8=>this[_0x22610b(0x31c)][_0x22610b(0x525)](_0x7285f8),_0x138ff6;}async[_0x262f6e(0x204)](){const _0x2e61c3=_0x262f6e,_0x313d58=await super[_0x2e61c3(0x204)]();return this['disposeWithMe'](this[_0x2e61c3(0x3a7)][_0x2e61c3(0x3d0)]((_0x5abfb3,_0x19b333)=>{const _0x42ccbb=_0x2e61c3;if(_0x5abfb3['type']!==_0x43413f[_0x42ccbb(0x3fa)]||_0x19b333!=null&&_0x19b333[_0x42ccbb(0x450)]||_0x19b333!=null&&_0x19b333[_0x42ccbb(0x404)])return;const _0x3a9bd8=_0x5abfb3[_0x42ccbb(0x4bb)];if((_0x3a9bd8==null?void 0x0:_0x3a9bd8[_0x42ccbb(0x1fb)])!==this[_0x42ccbb(0x392)])return;const _0x15ccb6=_0x5abfb3,_0x4bf139=this['_compressMutationService'][_0x42ccbb(0x3cb)]['fetchThroughInterceptors'](this[_0x42ccbb(0x267)][_0x42ccbb(0x3cb)][_0x42ccbb(0x308)]()['COMPRESS_MUTATION_SEND'])([_0x15ccb6],null)||[_0x15ccb6];this[_0x42ccbb(0x4ac)](_0x4bf139[0x0]);})),_0x313d58;}};Ot=Gt([p(0x3,_0x26d5df(_0x506841)),p(0x4,_0x26d5df(D)),p(0x5,_0x26d5df(_0x44d7c7)),p(0x6,_0x26d5df(_0x32fffe)),p(0x7,_0x26d5df(_0x2bcf77)),p(0x8,_0x26d5df(qe)),p(0x9,_0x2bd539),p(0xa,_0x19a5a5),p(0xb,_0x2f20aa),p(0xc,_0x43df64),p(0xd,_0x54fca0(it))],Ot);var Pr=Object[_0x262f6e(0x44e)],yr=Object[_0x262f6e(0x3c2)],Ur=(_0x26839e,_0x32377b,_0x246892,_0x3b50fe)=>{const _0x1486ca=_0x262f6e;for(var _0x38061a=_0x3b50fe>0x1?void 0x0:_0x3b50fe?yr(_0x32377b,_0x246892):_0x32377b,_0x164fef=_0x26839e[_0x1486ca(0x1c5)]-0x1,_0x10713c;_0x164fef>=0x0;_0x164fef--)(_0x10713c=_0x26839e[_0x164fef])&&(_0x38061a=(_0x3b50fe?_0x10713c(_0x32377b,_0x246892,_0x38061a):_0x10713c(_0x38061a))||_0x38061a);return _0x3b50fe&&_0x38061a&&Pr(_0x32377b,_0x246892,_0x38061a),_0x38061a;},ut=(_0x2a6ffa,_0x401aa0)=>(_0x5a08ac,_0x49b9c4)=>_0x401aa0(_0x5a08ac,_0x49b9c4,_0x2a6ffa);let $e=class extends _0x866c0c{constructor(_0x3f21fb,_0x160100,_0x23b8c5){const _0x5830c2=_0x262f6e;super(),l(this,'_entities',new Map()),l(this,'_entityInit$',new _0x154ded()),(this[_0x5830c2(0x3af)]=_0x3f21fb,this[_0x5830c2(0x3f4)]=_0x160100,this['_univerInstanceService']=_0x23b8c5,this['_init']());}['dispose'](){const _0x3aac87=_0x262f6e;super[_0x3aac87(0x1db)](),this['_entities'][_0x3aac87(0x3a5)](_0x5ad67b=>_0x5ad67b[_0x3aac87(0x1db)]()),this[_0x3aac87(0x38c)]['clear']();}[_0x262f6e(0x4df)](_0x16a782){const _0x150ab4=_0x262f6e;var _0x148f88;return(_0x148f88=this[_0x150ab4(0x38c)][_0x150ab4(0x358)](_0x16a782))!=null?_0x148f88:null;}[_0x262f6e(0x284)](_0x377731){const _0x4e6e9c=_0x262f6e,_0x3a16c3=this[_0x4e6e9c(0x4df)](_0x377731);return _0x3a16c3?_0x21b747(_0x3a16c3):this[_0x4e6e9c(0x352)][_0x4e6e9c(0x337)](_0x4fbabd(_0x3f7313=>_0x3f7313[_0x4e6e9c(0x392)]===_0x377731));}[_0x262f6e(0x204)](){const _0xad448f=_0x262f6e;this[_0xad448f(0x39a)][_0xad448f(0x487)](_0x4e9f6c['UNIVER_SHEET'])[_0xad448f(0x337)](_0x1e91dc(this[_0xad448f(0x277)]),_0x32d7ba(0x10))[_0xad448f(0x481)](async _0x5732a1=>{const _0x5bc36f=_0xad448f,_0x18caae=_0x5732a1[_0x5bc36f(0x355)](),_0x18ee00=await this[_0x5bc36f(0x4cb)](_0x18caae,B[_0x5bc36f(0x2ad)]);this[_0x5bc36f(0x38c)][_0x5bc36f(0x26b)](_0x18caae,_0x18ee00);}),this[_0xad448f(0x39a)]['getTypeOfUnitAdded$'](_0x4e9f6c['UNIVER_DOC'])['pipe'](_0x1e91dc(this[_0xad448f(0x277)]),_0x32d7ba(0x10))[_0xad448f(0x337)](_0x4fbabd(_0x52161f=>!_0x52161f['getUnitId']()[_0xad448f(0x37b)]('__')))[_0xad448f(0x481)](async _0x6e5f23=>{const _0x31ffec=_0xad448f,_0x1586db=_0x6e5f23[_0x31ffec(0x355)](),_0x200e2b=await this[_0x31ffec(0x4cb)](_0x1586db,B['UNIVER_DOC']);this[_0x31ffec(0x38c)][_0x31ffec(0x26b)](_0x1586db,_0x200e2b);}),_0x4e21b3(this['_univerInstanceService'][_0xad448f(0x410)](_0x4e9f6c[_0xad448f(0x2ad)]),this[_0xad448f(0x39a)][_0xad448f(0x410)](_0x4e9f6c['UNIVER_DOC']))[_0xad448f(0x337)](_0x1e91dc(this[_0xad448f(0x277)]))[_0xad448f(0x481)](_0xfeb94d=>{const _0x2825ca=_0xad448f,_0x5a44e4=_0xfeb94d[_0x2825ca(0x355)](),_0x18fbc5=this['_entities'][_0x2825ca(0x358)](_0x5a44e4);_0x18fbc5&&(_0x18fbc5[_0x2825ca(0x1db)](),this[_0x2825ca(0x38c)][_0x2825ca(0x47a)](_0x5a44e4));});}async[_0x262f6e(0x4cb)](_0x330a7b,_0x186f13){const _0x5dde40=_0x262f6e,_0x51ceb9=await this[_0x5dde40(0x3f4)][_0x5dde40(0x246)](_0x330a7b),_0x5bc6b0=this[_0x5dde40(0x3af)][_0x5dde40(0x35c)](this['_getCtorByUniverType'](_0x186f13),_0x330a7b,_0x186f13,_0x51ceb9);return await _0x5bc6b0['init'](),this['_entityInit$']['next'](_0x5bc6b0),_0x5bc6b0;}[_0x262f6e(0x1d5)](_0x36693c){const _0x5b0053=_0x262f6e;switch(_0x36693c){case B[_0x5b0053(0x2e7)]:return Rt;case B[_0x5b0053(0x2ad)]:return Ot;default:throw new Error(_0x5b0053(0x1b9)+_0x36693c);}}};$e=Ur([ut(0x0,_0x26d5df(_0x506841)),ut(0x1,_0x26d5df(ue)),ut(0x2,_0x377149)],$e);const fs=[_0x262f6e(0x45b),'jiqing500',_0x262f6e(0x361),_0x262f6e(0x2ca),'blue400','gold400'];class Yt extends _0x553a63{constructor(){const _0x4ded40=_0x262f6e;super(...arguments),l(this,_0x4ded40(0x2e1),new Map()),l(this,_0x4ded40(0x20e),0x0);}[_0x262f6e(0x4d0)](_0x2151a2){const _0x51b7fe=_0x262f6e;if(this[_0x51b7fe(0x2e1)][_0x51b7fe(0x3a4)](_0x2151a2))return this['_assignedColors'][_0x51b7fe(0x358)](_0x2151a2);const _0x19d286=fs[this[_0x51b7fe(0x20e)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%fs[_0x51b7fe(0x1c5)],this[_0x51b7fe(0x2e1)][_0x51b7fe(0x26b)](_0x2151a2,_0x19d286),_0x19d286;}}var Nr=Object['defineProperty'],Ar=Object[_0x262f6e(0x3c2)],Mr=(_0x5cfc5b,_0x2faffe,_0x52fccb,_0x50294f)=>{const _0x1fd9bd=_0x262f6e;for(var _0x16e540=_0x50294f>0x1?void 0x0:_0x50294f?Ar(_0x2faffe,_0x52fccb):_0x2faffe,_0xc8b240=_0x5cfc5b[_0x1fd9bd(0x1c5)]-0x1,_0x58586d;_0xc8b240>=0x0;_0xc8b240--)(_0x58586d=_0x5cfc5b[_0xc8b240])&&(_0x16e540=(_0x50294f?_0x58586d(_0x2faffe,_0x52fccb,_0x16e540):_0x58586d(_0x16e540))||_0x16e540);return _0x50294f&&_0x16e540&&Nr(_0x2faffe,_0x52fccb,_0x16e540),_0x16e540;},oe=(_0x3ac81a,_0x5bd32f)=>(_0x10fbf5,_0x16345f)=>_0x5bd32f(_0x10fbf5,_0x16345f,_0x3ac81a);const Lr=0x12c,$r=0x64;let Dt=class extends _0x866c0c{constructor(_0x83b8af,_0x3d5414,_0x21045f,_0x128748,_0x19040b,_0x3aa598,_0x192528,_0xe6511a,_0x57a9da){const _0x21d67d=_0x262f6e;super(),l(this,_0x21d67d(0x2cf),!0x1),l(this,_0x21d67d(0x204),!0x1),l(this,_0x21d67d(0x21e),new _0x50e691(new Map())),l(this,_0x21d67d(0x28a),this[_0x21d67d(0x21e)]['asObservable']()),l(this,_0x21d67d(0x49c),new _0x50e691([])),l(this,_0x21d67d(0x1e8),this[_0x21d67d(0x49c)]['pipe'](_0x4a41fe(Lr))),l(this,_0x21d67d(0x478),_0x3926ff(_0x28da18=>{const _0x496dcb=_0x21d67d,_0x5d1d5c={'eventID':_0x1f4b1b[_0x496dcb(0x371)],'data':{'unitID':this[_0x496dcb(0x392)],'memberID':this['_session']['getMemberID'](),'selection':Gs(_0x28da18)}};this[_0x496dcb(0x208)][_0x496dcb(0x4f7)](_0x5d1d5c,this['unitID']);},$r)),(this[_0x21d67d(0x392)]=_0x83b8af,this[_0x21d67d(0x208)]=_0x3d5414,this[_0x21d67d(0x3af)]=_0x21045f,this[_0x21d67d(0x470)]=_0x128748,this[_0x21d67d(0x431)]=_0x19040b,this[_0x21d67d(0x44c)]=_0x3aa598,this[_0x21d67d(0x3a1)]=_0x192528,this[_0x21d67d(0x39a)]=_0xe6511a,this[_0x21d67d(0x3a7)]=_0x57a9da);}get['cursorInfo'](){const _0x563840=_0x262f6e;return this['_cursorInfo$'][_0x563840(0x356)]();}get[_0x262f6e(0x249)](){const _0x4fd2f8=_0x262f6e;return this['_roomMembers$'][_0x4fd2f8(0x356)]();}[_0x262f6e(0x1db)](){const _0x1ab68b=_0x262f6e;super[_0x1ab68b(0x1db)](),this[_0x1ab68b(0x21e)][_0x1ab68b(0x377)](new Map()),this[_0x1ab68b(0x21e)][_0x1ab68b(0x50c)](),this[_0x1ab68b(0x49c)][_0x1ab68b(0x377)]([]),this[_0x1ab68b(0x49c)][_0x1ab68b(0x50c)]();}[_0x262f6e(0x1b6)](){const _0x46c12b=_0x262f6e;this['_init']||(this['_init']=!0x0,this[_0x46c12b(0x208)][_0x46c12b(0x20c)]['pipe'](_0x1e91dc(this[_0x46c12b(0x277)]))['subscribe'](_0x3095db=>{const _0x5e3e6a=_0x46c12b;_0x3095db===X[_0x5e3e6a(0x212)]?this[_0x5e3e6a(0x24a)]():this['_toggleOffline']();}),this[_0x46c12b(0x208)][_0x46c12b(0x276)]['pipe'](_0x1e91dc(this[_0x46c12b(0x277)]))[_0x46c12b(0x481)](_0x500e2f=>{const _0x28a933=_0x46c12b,_0x3293e4=_0x500e2f[_0x28a933(0x4d1)];_0x3293e4===_0x1f4b1b[_0x28a933(0x371)]&&this['_onCursorUpdate'](_0x500e2f),_0x3293e4===_0x1f4b1b['USERS_LEAVE']&&this[_0x28a933(0x52d)](_0x500e2f);}),this[_0x46c12b(0x2fd)](this[_0x46c12b(0x3a7)][_0x46c12b(0x3d0)](_0x2f88fa=>{const _0x7fcb11=_0x46c12b,_0x21f79d=_0x2f88fa[_0x7fcb11(0x4bb)];_0x21f79d!=null&&this['_online']&&_0x2f88fa['id']===_0x287adc['id']&&_0x21f79d[_0x7fcb11(0x1fb)]===this[_0x7fcb11(0x392)]&&_0x21f79d[_0x7fcb11(0x27c)]===!0x1&&_0x21f79d[_0x7fcb11(0x52b)][_0x7fcb11(0x1c5)]>0x0&&this[_0x7fcb11(0x478)](_0x21f79d[_0x7fcb11(0x52b)]);})),this[_0x46c12b(0x44c)][_0x46c12b(0x2ef)][_0x46c12b(0x337)](_0x1e91dc(this[_0x46c12b(0x277)]))[_0x46c12b(0x481)](_0x8a1c7f=>{const _0xdd351e=_0x46c12b;if((_0x8a1c7f==null?void 0x0:_0x8a1c7f[_0xdd351e(0x392)])!==this[_0xdd351e(0x392)])return;const _0x25e496={'eventID':_0x1f4b1b[_0xdd351e(0x371)],'data':_0x8a1c7f};this[_0xdd351e(0x3c7)](_0x25e496);}),this[_0x46c12b(0x2fd)](this[_0x46c12b(0x3a7)][_0x46c12b(0x3d0)](_0x3093a6=>{const _0x19acac=_0x46c12b;if(_0x3093a6[_0x19acac(0x4bb)]==null)return;const _0x53f318=_0x3093a6['params'];if(_0x3093a6['id']!==_0x5e4442['id']||_0x53f318[_0x19acac(0x1fb)]!==this['unitID'])return;const _0xa87844={'id':'doc.mutation.rich-text-editing','params':_0x53f318},_0x2c01e1=this[_0x19acac(0x327)];for(const [_0x5bfcd0,_0x3b6707]of _0x2c01e1){const _0x481db0={'id':_0x19acac(0x32b),'params':{'unitId':this[_0x19acac(0x392)],'actions':null,'textRanges':_0x3b6707[_0x19acac(0x52b)]}},_0x3e7f15=this[_0x19acac(0x3a1)][_0x19acac(0x3d1)](_0xa87844,_0x481db0,!0x1);if(_0x27062d(_0x3e7f15))throw _0x3e7f15[_0x19acac(0x280)];_0x2c01e1[_0x19acac(0x26b)](_0x5bfcd0,{..._0x3b6707,'ranges':_0x3e7f15[_0x19acac(0x329)][_0x19acac(0x4bb)][_0x19acac(0x388)]});}queueMicrotask(()=>{const _0x1f7699=_0x19acac;this[_0x1f7699(0x21e)][_0x1f7699(0x377)](_0x2c01e1);});})));}[_0x262f6e(0x3c7)](_0x4430f1){const _0x5540a1=_0x262f6e;var _0x516922,_0xd4d61;const {memberID:_0x27530b,selection:_0x565db2}=_0x4430f1[_0x5540a1(0x3d9)],_0x3ef590=pr(_0x565db2),_0x231e22=(_0xd4d61=(_0x516922=this['_memberService'][_0x5540a1(0x460)](this[_0x5540a1(0x392)],_0x27530b))==null?void 0x0:_0x516922[_0x5540a1(0x3e7)])!=null?_0xd4d61:_0x5540a1(0x4a8),_0x29168e={'color':this[_0x5540a1(0x470)]['assignAColorForMemberID'](_0x27530b),'name':_0x231e22,'ranges':_0x3ef590},_0x13f261=this[_0x5540a1(0x327)];_0x13f261[_0x5540a1(0x26b)](_0x27530b,_0x29168e),this[_0x5540a1(0x21e)]['next'](_0x13f261);}[_0x262f6e(0x52d)](_0x42f669){const _0xa02052=_0x262f6e,{memberID:_0x4df8e3}=_0x42f669[_0xa02052(0x3d9)],_0x7cd316=this[_0xa02052(0x327)];_0x7cd316[_0xa02052(0x47a)](_0x4df8e3),this[_0xa02052(0x21e)][_0xa02052(0x377)](_0x7cd316);}[_0x262f6e(0x24a)](){const _0x289186=_0x262f6e;var _0x6695f2;if(this[_0x289186(0x2cf)]=!0x0,((_0x6695f2=this[_0x289186(0x39a)][_0x289186(0x472)]())==null?void 0x0:_0x6695f2[_0x289186(0x355)]())!==this[_0x289186(0x392)])return;const _0x549a43=this[_0x289186(0x3af)][_0x289186(0x358)](_0x6c9d1a)[_0x289186(0x299)]();Array[_0x289186(0x372)](_0x549a43)&&_0x549a43[_0x289186(0x1c5)]>0x0&&this[_0x289186(0x478)](_0x549a43);}[_0x262f6e(0x223)](){const _0xea6af2=_0x262f6e;this[_0xea6af2(0x2cf)]=!0x1;}};Dt=Mr([oe(0x2,_0x26d5df(_0x506841)),oe(0x3,_0x26d5df(Yt)),oe(0x4,_0x26d5df(_e)),oe(0x5,_0x26d5df(Wt)),oe(0x6,_0x3345fe),oe(0x7,_0x377149),oe(0x8,_0x19a5a5)],Dt);var jr=Object[_0x262f6e(0x44e)],Hr=Object[_0x262f6e(0x3c2)],xr=(_0x318ec4,_0x52831b,_0x38e15f,_0x58b222)=>{const _0x50be48=_0x262f6e;for(var _0xd4dcc5=_0x58b222>0x1?void 0x0:_0x58b222?Hr(_0x52831b,_0x38e15f):_0x52831b,_0x37b998=_0x318ec4[_0x50be48(0x1c5)]-0x1,_0xea90ba;_0x37b998>=0x0;_0x37b998--)(_0xea90ba=_0x318ec4[_0x37b998])&&(_0xd4dcc5=(_0x58b222?_0xea90ba(_0x52831b,_0x38e15f,_0xd4dcc5):_0xea90ba(_0xd4dcc5))||_0xd4dcc5);return _0x58b222&&_0xd4dcc5&&jr(_0x52831b,_0x38e15f,_0xd4dcc5),_0xd4dcc5;},pe=(_0x336b18,_0x5d81bc)=>(_0x54a6f1,_0x270b93)=>_0x5d81bc(_0x54a6f1,_0x270b93,_0x336b18);const kr=0x12c,Br=0x64,Vr=()=>{let _0x148b3f=[],_0x50f13a=!0x1;return _0x1bfdb8=>{const _0x2edd58=_0x275e;_0x148b3f[_0x2edd58(0x4b8)](_0x1bfdb8),_0x50f13a||(_0x50f13a=!0x0,setTimeout(()=>{const _0x2b7a94=_0x2edd58;_0x148b3f[_0x2b7a94(0x3a5)](_0x3e65bb=>_0x3e65bb()),_0x148b3f=[],_0x50f13a=!0x1;}));};};let wt=class extends _0x866c0c{constructor(_0x2bcb3d,_0x1dd0b5,_0x1e472e,_0x2214a0,_0x58dbd4,_0x5dca81,_0x206536,_0x40f767){const _0x46adb1=_0x262f6e;super(),l(this,'_online',!0x1),l(this,'_init',!0x1),l(this,_0x46adb1(0x21e),new _0x50e691(new Map())),l(this,_0x46adb1(0x28a),this[_0x46adb1(0x21e)]['asObservable']()),l(this,_0x46adb1(0x49c),new _0x50e691([])),l(this,_0x46adb1(0x1e8),this['_roomMembers$'][_0x46adb1(0x337)](_0x4a41fe(kr))),l(this,_0x46adb1(0x478),_0x3926ff((_0x398ff1,_0x4caef9)=>{const _0x312f11=_0x46adb1,_0x4e15c9={'eventID':_0x1f4b1b[_0x312f11(0x371)],'data':{'unitID':this[_0x312f11(0x392)],'memberID':this[_0x312f11(0x208)]['getMemberID'](),'selection':_0x36208e(_0x398ff1,_0x4caef9[_0x312f11(0x3e9)])}};this[_0x312f11(0x208)][_0x312f11(0x4f7)](_0x4e15c9,this[_0x312f11(0x392)]);},Br)),(this[_0x46adb1(0x392)]=_0x2bcb3d,this[_0x46adb1(0x208)]=_0x1dd0b5,this[_0x46adb1(0x3af)]=_0x1e472e,this[_0x46adb1(0x470)]=_0x2214a0,this['_memberService']=_0x58dbd4,this['_univerInstanceService']=_0x5dca81,this['_commandService']=_0x206536,this[_0x46adb1(0x41c)]=_0x40f767);}get[_0x262f6e(0x327)](){const _0x141090=_0x262f6e;return this[_0x141090(0x21e)][_0x141090(0x356)]();}get[_0x262f6e(0x249)](){const _0x4e266f=_0x262f6e;return this[_0x4e266f(0x49c)]['getValue']();}[_0x262f6e(0x1db)](){const _0x27f910=_0x262f6e;super[_0x27f910(0x1db)](),this[_0x27f910(0x21e)][_0x27f910(0x377)](new Map()),this[_0x27f910(0x21e)]['complete'](),this['_roomMembers$'][_0x27f910(0x377)]([]),this[_0x27f910(0x49c)][_0x27f910(0x50c)]();}['init'](){const _0x33d103=_0x262f6e;this['_init']||(this[_0x33d103(0x204)]=!0x0,this[_0x33d103(0x208)][_0x33d103(0x20c)][_0x33d103(0x337)](_0x1e91dc(this[_0x33d103(0x277)]))['subscribe'](_0xd34c10=>{const _0x3b5a54=_0x33d103;_0xd34c10===X['ONLINE']?this[_0x3b5a54(0x24a)]():this[_0x3b5a54(0x223)]();}),this[_0x33d103(0x208)][_0x33d103(0x276)][_0x33d103(0x337)](_0x1e91dc(this['dispose$']))[_0x33d103(0x481)](_0x3b854c=>{const _0x62b367=_0x33d103,_0x44398c=_0x3b854c[_0x62b367(0x4d1)];_0x44398c===_0x1f4b1b['UPDATE_CURSOR']&&this[_0x62b367(0x3c7)](_0x3b854c),_0x44398c===_0x1f4b1b[_0x62b367(0x47e)]&&this[_0x62b367(0x52d)](_0x3b854c);}),this['_onRefRangeChange'](),this[_0x33d103(0x2fd)](this[_0x33d103(0x3a7)][_0x33d103(0x3d0)](_0x22bf23=>{const _0x498ffd=_0x33d103;if(this[_0x498ffd(0x2cf)]&&_0x22bf23['id']===_0x5b9268['id']&&_0x22bf23[_0x498ffd(0x4bb)][_0x498ffd(0x1fb)]===this[_0x498ffd(0x392)]){const _0x51e92f=_0x22bf23[_0x498ffd(0x4bb)];this[_0x498ffd(0x478)](_0x51e92f['subUnitId'],_0x51e92f['selections'][0x0]);}})));}[_0x262f6e(0x3c7)](_0x3e7275){const _0x41810a=_0x262f6e;var _0x5ba118,_0x489676;const {memberID:_0x3b4038,selection:_0x3dfb75}=_0x3e7275['data'],{sheetName:_0x295d6e,range:_0xc85f8f}=_0x5af4fd(_0x3dfb75),_0x1df90c={'name':(_0x489676=(_0x5ba118=this[_0x41810a(0x431)]['getMember'](this[_0x41810a(0x392)],_0x3b4038))==null?void 0x0:_0x5ba118[_0x41810a(0x3e7)])!=null?_0x489676:_0x41810a(0x4a8),'range':this[_0x41810a(0x3cf)](_0x295d6e,_0xc85f8f),'sheetID':_0x295d6e,'color':this[_0x41810a(0x470)]['assignAColorForMemberID'](_0x3b4038),'selection':_0x3dfb75},_0x22d963=this[_0x41810a(0x327)];_0x22d963[_0x41810a(0x26b)](_0x3b4038,_0x1df90c),this[_0x41810a(0x21e)][_0x41810a(0x377)](_0x22d963);}[_0x262f6e(0x52d)](_0x26e256){const _0x55c7f8=_0x262f6e,{memberID:_0x328e67}=_0x26e256[_0x55c7f8(0x3d9)],_0x2ae5f4=this[_0x55c7f8(0x327)];_0x2ae5f4['delete'](_0x328e67),this[_0x55c7f8(0x21e)][_0x55c7f8(0x377)](_0x2ae5f4);}['_getMergeRange'](_0x48ecb9,_0x59ef41){const _0x3543e0=_0x262f6e;var _0x4d629f,_0x40edb1;const _0xaf72fc=(_0x40edb1=(_0x4d629f=this[_0x3543e0(0x39a)][_0x3543e0(0x3db)](this[_0x3543e0(0x392)]))==null?void 0x0:_0x4d629f[_0x3543e0(0x51d)](_0x48ecb9))==null?void 0x0:_0x40edb1[_0x3543e0(0x369)]();return(_0xaf72fc==null?void 0x0:_0xaf72fc[_0x3543e0(0x505)](_0x5d7d2d=>_0xd11991[_0x3543e0(0x36e)](_0x5d7d2d,_0x59ef41)))||_0x59ef41;}['_onRefRangeChange'](){const _0x43114c=_0x262f6e,_0x4192f0=new _0x39fca3(),_0x395dce=Vr(),_0x3a409d=()=>{const _0xef94b4=_0x275e;_0x4192f0[_0xef94b4(0x1db)]();const _0x4b981e=(_0x46c8b7,_0x55a3b7,_0x5ebe07,_0x2119f3)=>{const _0x8081f3=_0xef94b4;let _0x2d5bf2=[];switch(_0x46c8b7['id']){case _0x4d70ca[_0x8081f3(0x226)]:{_0x2d5bf2=_0xdc8fcf(_0x46c8b7,_0x2119f3);break;}case _0x4d70ca[_0x8081f3(0x40e)]:{_0x2d5bf2=_0x77351e(_0x46c8b7,_0x2119f3);break;}case _0x4d70ca[_0x8081f3(0x4e8)]:{_0x2d5bf2=_0x5dd0f1(_0x46c8b7,_0x2119f3);break;}case _0x4d70ca[_0x8081f3(0x367)]:{_0x2d5bf2=_0x5b479a(_0x46c8b7,_0x2119f3);break;}case _0x4d70ca[_0x8081f3(0x35a)]:{_0x2d5bf2=_0x375097(_0x46c8b7,_0x2119f3);break;}case _0x4d70ca['InsertRowCommandId']:{_0x2d5bf2=_0x54c8cb(_0x46c8b7,_0x2119f3);break;}case _0x4d70ca[_0x8081f3(0x319)]:{_0x2d5bf2=_0x3ec23d(_0x46c8b7,_0x2119f3);break;}case _0x4d70ca[_0x8081f3(0x296)]:{_0x2d5bf2=_0x2ef843(_0x46c8b7,_0x2119f3);break;}case _0x4d70ca['RemoveRowCommandId']:{_0x2d5bf2=_0x4e2c56(_0x46c8b7,_0x2119f3);break;}}const _0x272aa2=_0x37b8ad(_0x2d5bf2,_0x2119f3),_0x588686=this[_0x8081f3(0x327)][_0x8081f3(0x358)](_0x55a3b7);if(_0x588686&&_0x272aa2){const _0x10ebfb={..._0x588686,'range':_0x272aa2};this['cursorInfo']['set'](_0x55a3b7,_0x10ebfb),_0x395dce(()=>{const _0x4238bb=_0x8081f3,_0x304459=this[_0x4238bb(0x41c)][_0x4238bb(0x1e7)](_0x272aa2,_0x3e5f17=>(_0x304459['dispose'](),_0x4b981e(_0x3e5f17,_0x55a3b7,_0x5ebe07,_0x272aa2)));_0x4192f0[_0x4238bb(0x33e)](_0x304459);});}return{'redos':[],'undos':[]};};this[_0xef94b4(0x327)][_0xef94b4(0x3a5)]((_0x83f517,_0x3dfecf)=>{const _0x5d1328=_0xef94b4,{range:_0x4a771f,sheetID:_0x52635f}=_0x83f517,_0x4bbc04=this[_0x5d1328(0x41c)][_0x5d1328(0x1e7)](_0x4a771f,_0x5c535e=>(_0x4bbc04[_0x5d1328(0x1db)](),_0x4b981e(_0x5c535e,_0x3dfecf,_0x52635f,_0x4a771f)));_0x4192f0[_0x5d1328(0x33e)](_0x4bbc04);});};this[_0x43114c(0x2fd)](_0x18f2c5(this['_cursorInfo$'][_0x43114c(0x481)](()=>{_0x3a409d();})));}['_toggleOnline'](){const _0xe68475=_0x262f6e;var _0x18ae89,_0x3f671f;if(this[_0xe68475(0x2cf)]=!0x0,((_0x18ae89=this[_0xe68475(0x39a)][_0xe68475(0x472)]())==null?void 0x0:_0x18ae89[_0xe68475(0x355)]())!==this[_0xe68475(0x392)])return;const _0x211d29=(_0x3f671f=this[_0xe68475(0x3af)][_0xe68475(0x358)](_0x1695c9)['getCurrentSelections']())==null?void 0x0:_0x3f671f[0x0],_0x23680b=this[_0xe68475(0x39a)]['getCurrentUnitForType'](_0x4e9f6c[_0xe68475(0x2ad)])[_0xe68475(0x2d1)]();_0x211d29&&_0x23680b&&this[_0xe68475(0x478)](_0x23680b['getSheetId'](),_0x211d29);}['_toggleOffline'](){this['_online']=!0x1;}};wt=xr([pe(0x2,_0x26d5df(_0x506841)),pe(0x3,_0x26d5df(Yt)),pe(0x4,_0x26d5df(_e)),pe(0x5,_0x377149),pe(0x6,_0x19a5a5),pe(0x7,_0x26d5df(_0x7f18be))],wt);var Fr=Object[_0x262f6e(0x44e)],Wr=Object[_0x262f6e(0x3c2)],Gr=(_0x3c2e6c,_0x169c38,_0x3ad625,_0x2df94f)=>{const _0x4a6271=_0x262f6e;for(var _0x4d55ad=_0x2df94f>0x1?void 0x0:_0x2df94f?Wr(_0x169c38,_0x3ad625):_0x169c38,_0x23c2d8=_0x3c2e6c[_0x4a6271(0x1c5)]-0x1,_0x5f1cfe;_0x23c2d8>=0x0;_0x23c2d8--)(_0x5f1cfe=_0x3c2e6c[_0x23c2d8])&&(_0x4d55ad=(_0x2df94f?_0x5f1cfe(_0x169c38,_0x3ad625,_0x4d55ad):_0x5f1cfe(_0x4d55ad))||_0x4d55ad);return _0x2df94f&&_0x4d55ad&&Fr(_0x169c38,_0x3ad625,_0x4d55ad),_0x4d55ad;},dt=(_0x3340ae,_0x2de14c)=>(_0x4ce990,_0x376c39)=>_0x2de14c(_0x4ce990,_0x376c39,_0x3340ae);let Ce=class extends _0x866c0c{constructor(_0x2c9422,_0x1815b5,_0xd43068){const _0x53fecf=_0x262f6e;super(),l(this,_0x53fecf(0x38c),new Map()),l(this,'_entityInit$',new _0x154ded()),(this[_0x53fecf(0x39a)]=_0x2c9422,this[_0x53fecf(0x3af)]=_0x1815b5,this[_0x53fecf(0x3f4)]=_0xd43068,this[_0x53fecf(0x204)]());}[_0x262f6e(0x1db)](){const _0x22ca9d=_0x262f6e;super[_0x22ca9d(0x1db)](),this[_0x22ca9d(0x352)]['complete'](),this[_0x22ca9d(0x38c)][_0x22ca9d(0x3a5)](_0x91a14e=>_0x91a14e['dispose']());}[_0x262f6e(0x2d9)](_0x6f211d){const _0x5a558a=_0x262f6e;return this[_0x5a558a(0x38c)][_0x5a558a(0x3a4)](_0x6f211d)?this[_0x5a558a(0x38c)][_0x5a558a(0x358)](_0x6f211d)[_0x5a558a(0x28a)]:this[_0x5a558a(0x352)]['pipe'](_0x117f07(_0x1a7275=>_0x1a7275[_0x5a558a(0x392)]===_0x6f211d),_0x8251bb(_0xa0fbcd=>_0xa0fbcd[_0x5a558a(0x28a)]));}['_init'](){const _0x139d83=_0x262f6e;this[_0x139d83(0x39a)][_0x139d83(0x487)](_0x4e9f6c[_0x139d83(0x2ad)])[_0x139d83(0x337)](_0x1e91dc(this[_0x139d83(0x277)]))[_0x139d83(0x481)](async _0x295450=>{const _0x327a5f=_0x139d83,_0x53808c=_0x295450[_0x327a5f(0x355)](),_0x1520a9=await this[_0x327a5f(0x50d)](_0x53808c);this[_0x327a5f(0x352)]['next'](_0x1520a9),this[_0x327a5f(0x38c)][_0x327a5f(0x26b)](_0x53808c,_0x1520a9);}),this[_0x139d83(0x39a)][_0x139d83(0x487)](_0x4e9f6c[_0x139d83(0x2e7)])[_0x139d83(0x337)](_0x1e91dc(this[_0x139d83(0x277)]))[_0x139d83(0x337)](_0x117f07(_0x2b5ea4=>!_0x2b5ea4['getUnitId']()['startsWith']('__')))[_0x139d83(0x481)](async _0x37aa3b=>{const _0x2d1379=_0x139d83,_0x4d8bcc=_0x37aa3b[_0x2d1379(0x355)](),_0x5870eb=await this[_0x2d1379(0x294)](_0x4d8bcc);this[_0x2d1379(0x352)][_0x2d1379(0x377)](_0x5870eb),this[_0x2d1379(0x38c)][_0x2d1379(0x26b)](_0x4d8bcc,_0x5870eb);}),_0x4e21b3(this[_0x139d83(0x39a)][_0x139d83(0x410)](_0x4e9f6c[_0x139d83(0x2e7)]),this['_univerInstanceService'][_0x139d83(0x410)](_0x4e9f6c['UNIVER_SHEET']))[_0x139d83(0x337)](_0x1e91dc(this['dispose$']))[_0x139d83(0x481)](_0x256667=>{const _0x303a51=_0x139d83,_0x478563=_0x256667[_0x303a51(0x355)](),_0x349929=this[_0x303a51(0x38c)][_0x303a51(0x358)](_0x478563);_0x349929&&(_0x349929[_0x303a51(0x1db)](),this[_0x303a51(0x38c)][_0x303a51(0x47a)](_0x478563));});}async[_0x262f6e(0x50d)](_0x53b0b7){const _0x34bd53=_0x262f6e,_0x14cc94=await this[_0x34bd53(0x3f4)][_0x34bd53(0x246)](_0x53b0b7),_0x3016a1=this[_0x34bd53(0x3af)][_0x34bd53(0x35c)](wt,_0x53b0b7,_0x14cc94);return _0x3016a1[_0x34bd53(0x1b6)](),_0x3016a1;}async[_0x262f6e(0x294)](_0x4e13a1){const _0x500477=_0x262f6e,_0x3996ae=await this[_0x500477(0x3f4)][_0x500477(0x246)](_0x4e13a1),_0x2fb2a4=this[_0x500477(0x3af)][_0x500477(0x35c)](Dt,_0x4e13a1,_0x3996ae);return _0x2fb2a4[_0x500477(0x1b6)](),_0x2fb2a4;}};Ce=Gr([dt(0x0,_0x377149),dt(0x1,_0x26d5df(_0x506841)),dt(0x2,_0x26d5df(ue))],Ce);const je=0x14,gs=0xc8,mt=0x4,Yr=0x5;function Kr(_0x23e88b,_0x19716f){const _0x370130=_0x262f6e;let {radius:_0x2ce361,width:_0x361ed8,height:_0x157b33}=_0x19716f;_0x2ce361=_0x2ce361!=null?_0x2ce361:0x0,_0x361ed8=_0x361ed8!=null?_0x361ed8:0x1e,_0x157b33=_0x157b33!=null?_0x157b33:0x1e;let _0x168afe=0x0,_0x5c904e=0x0,_0x4bf74a=0x0;_0x168afe=_0x5c904e=_0x4bf74a=Math['min'](_0x2ce361,_0x361ed8/0x2,_0x157b33/0x2),_0x23e88b[_0x370130(0x278)](),_0x23e88b['moveTo'](_0x168afe,0x0),_0x23e88b[_0x370130(0x2bb)](_0x361ed8-_0x5c904e,0x0),_0x23e88b['arc'](_0x361ed8-_0x5c904e,_0x5c904e,_0x5c904e,Math['PI']*0x3/0x2,0x0,!0x1),_0x23e88b[_0x370130(0x2bb)](_0x361ed8,_0x157b33-_0x4bf74a),_0x23e88b[_0x370130(0x4ad)](_0x361ed8-_0x4bf74a,_0x157b33-_0x4bf74a,_0x4bf74a,0x0,Math['PI']/0x2,!0x1),_0x23e88b['lineTo'](0x0,_0x157b33),_0x23e88b['lineTo'](0x0,_0x168afe),_0x23e88b[_0x370130(0x4ad)](_0x168afe,_0x168afe,_0x168afe,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x23e88b[_0x370130(0x3f1)](),_0x19716f[_0x370130(0x2a7)]&&(_0x23e88b[_0x370130(0x330)](),_0x23e88b[_0x370130(0x1fc)]=_0x19716f['fill'],_0x19716f[_0x370130(0x3fe)]==='evenodd'?_0x23e88b[_0x370130(0x2a7)](_0x370130(0x2f6)):_0x23e88b[_0x370130(0x2a7)](),_0x23e88b[_0x370130(0x1fe)]());}class nt extends _0x48cb40{constructor(_0x4a8e47,_0x201658){const _0x5478b2=_0x262f6e;super(_0x4a8e47,_0x201658),l(this,_0x5478b2(0x28c)),l(this,'text'),(this[_0x5478b2(0x28c)]=_0x201658==null?void 0x0:_0x201658[_0x5478b2(0x28c)],this[_0x5478b2(0x2a4)]=_0x201658==null?void 0x0:_0x201658[_0x5478b2(0x2a4)]);}static[_0x262f6e(0x325)](_0x3dedb3,_0x3a395b){const _0x347e6f=_0x262f6e,{text:_0x33e890,color:_0x5b7b45}=_0x3a395b;_0x3dedb3['save'](),_0x3dedb3['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x7bf419=_0x3dedb3['measureText'](_0x33e890)[_0x347e6f(0x271)],_0x5e1832=Math[_0x347e6f(0x256)](_0x7bf419+0x2*mt,gs);Kr(_0x3dedb3,{'height':je,'radius':0x4,'width':_0x5e1832,'fill':_0x5b7b45,'evented':!0x1}),_0x3dedb3['fillStyle']=_0x347e6f(0x238);const _0x19fc3a=mt,_0x9a769c=je-Yr,_0x2be855=gs-0x2*mt;if(_0x7bf419>_0x2be855){let _0x1840c4='',_0x105a9a=0x0;for(const _0x516af8 of _0x33e890){const _0x119489=_0x3dedb3[_0x347e6f(0x2a1)](_0x516af8)[_0x347e6f(0x271)];if(_0x105a9a+_0x119489<=_0x2be855-_0x3dedb3[_0x347e6f(0x2a1)]('...')[_0x347e6f(0x271)])_0x1840c4+=_0x516af8,_0x105a9a+=_0x119489;else{_0x1840c4+='...';break;}}_0x3dedb3['fillText'](_0x1840c4,_0x19fc3a,_0x9a769c);}else _0x3dedb3[_0x347e6f(0x1dc)](_0x33e890,_0x19fc3a,_0x9a769c);_0x3dedb3[_0x347e6f(0x1fe)]();}['_draw'](_0x4a136d){const _0x5eeb71=_0x262f6e;nt[_0x5eeb71(0x325)](_0x4a136d,this);}}const ft=_0x262f6e(0x2e9),Xr=_0x262f6e(0x3d4),qr=_0x262f6e(0x26a),Pe=0x6,Jr=1.5,gt=0x4,zr=1.5,Zr=_0x262f6e(0x2a2);class Ss{constructor(_0x2e3f8a,_0x4f2146,_0x441fbb,_0xe6e54d){const _0x563968=_0x262f6e;l(this,_0x563968(0x23b),[]),l(this,_0x563968(0x347),null),l(this,_0x563968(0x51b),null),l(this,_0x563968(0x38b),null),l(this,_0x563968(0x4c4),null),l(this,_0x563968(0x33c),null),(this['_cursor']=_0x2e3f8a,this[_0x563968(0x420)]=_0x4f2146,this[_0x563968(0x23d)]=_0x441fbb,this[_0x563968(0x3ca)]=_0xe6e54d,this[_0x563968(0x3d2)]());}set['_hover'](_0x4ed5d7){const _0xaec6ab=_0x262f6e;_0x4ed5d7?(this[_0xaec6ab(0x38b)]&&this[_0xaec6ab(0x38b)][_0xaec6ab(0x4e5)](),this['_textBubble']&&this['_textBubble'][_0xaec6ab(0x4f5)]()):(this['_anchorDot']&&this[_0xaec6ab(0x38b)][_0xaec6ab(0x4f5)](),this[_0xaec6ab(0x51b)]&&this[_0xaec6ab(0x51b)][_0xaec6ab(0x4e5)]());}['dispose'](){const _0x16d94f=_0x262f6e;for(const _0x4a1765 of this['_shapes'])_0x4a1765[_0x16d94f(0x1db)]();this[_0x16d94f(0x51b)]&&this[_0x16d94f(0x51b)][_0x16d94f(0x1db)](),this[_0x16d94f(0x38b)]&&this[_0x16d94f(0x38b)][_0x16d94f(0x1db)](),this[_0x16d94f(0x347)]&&this[_0x16d94f(0x347)]['dispose'](),this[_0x16d94f(0x33c)]&&this[_0x16d94f(0x33c)]();}[_0x262f6e(0x3d2)](){const _0x163d00=_0x262f6e;var _0x21fcd6;const {_docSkeleton:_0x2a3dc9,_document:_0x41b5e6}=this,{color:_0x39a0e0,name:_0x5da9fb,ranges:_0x6aefd9}=this[_0x163d00(0x291)],_0x115c87=_0x41b5e6[_0x163d00(0x254)](),{docsLeft:_0x441f11,docsTop:_0x4390cb}=_0x115c87,_0x1dc523=new _0x39a756(_0x115c87,_0x2a3dc9);for(const {startOffset:_0x297d1f,endOffset:_0x3ff611,rangeType:_0x5d899c,segmentId:_0x7f980d,segmentPage:_0x299682,collapsed:_0x1bba71,isActive:_0xa71065}of _0x6aefd9){const _0x2dd0aa=_0x2a3dc9[_0x163d00(0x2c4)](_0x297d1f,!0x0,_0x7f980d,_0x299682);let _0x3849ef=_0x2a3dc9[_0x163d00(0x2c4)](_0x3ff611,!0x0,_0x7f980d,_0x299682);if(_0x3849ef==null&&(_0x3849ef=_0x2a3dc9[_0x163d00(0x2c4)](_0x3ff611-0x1,!0x1,_0x7f980d,_0x299682)),_0xa71065){const {contentBoxPointGroup:_0x478351}=_0x1dc523[_0x163d00(0x348)](_0x3849ef,_0x3849ef);if(_0x478351['length']===0x0)continue;this[_0x163d00(0x2da)](_0x39a0e0,_0x478351,_0x441f11,_0x4390cb,_0x5da9fb),this[_0x163d00(0x33c)]=this[_0x163d00(0x515)]();}if(!_0x1bba71&&_0x2dd0aa&&_0x3849ef){if(_0x5d899c===_0x34c7fe[_0x163d00(0x2ce)]){const _0x1da9cb=new _0xd5a032(_0x115c87,_0x2a3dc9),{pointGroup:_0x33acb9}=(_0x21fcd6=_0x1da9cb[_0x163d00(0x348)](_0x2dd0aa,_0x3849ef))!=null?_0x21fcd6:{};if(_0x33acb9==null||_0x33acb9[_0x163d00(0x1c5)]===0x0)continue;this['_drawRectRange'](_0x39a0e0,_0x33acb9,_0x441f11,_0x4390cb);}else{const {borderBoxPointGroup:_0x2c34ce}=_0x1dc523['getRangePointData'](_0x2dd0aa,_0x3849ef);if(_0x2c34ce[_0x163d00(0x1c5)]===0x0)continue;this[_0x163d00(0x219)](_0x39a0e0,_0x2c34ce,_0x441f11,_0x4390cb);}}}}[_0x262f6e(0x2da)](_0x210f85,_0x5dba7d,_0x5c38e5,_0x847dac,_0xb3dbf5){const _0x5c2636=_0x262f6e,_0x163e87=this[_0x5c2636(0x391)](_0x5dba7d),{left:_0x5a6da1,top:_0x474804,height:_0x101c5b}=_0x163e87,_0x4713b8=this[_0x5c2636(0x218)](),_0x2856b4=zr/_0x4713b8,_0x25e90a=new _0x2e20e6(ft+_0x385cf5['generateRandomId'](Pe),{'left':_0x5a6da1+_0x5c38e5-_0x2856b4,'top':_0x474804+_0x847dac,'height':_0x101c5b,'width':Jr,'fill':_0x210f85||_0x41386e(_0x361521[_0x5c2636(0x4dc)],0x0),'strokeWidth':_0x2856b4,'stroke':Zr,'evented':!0x0});this[_0x5c2636(0x347)]=_0x25e90a,this[_0x5c2636(0x420)]['addObject'](_0x25e90a,_0x2e39d5);const _0x470acf=new _0x2e20e6(ft+_0x385cf5[_0x5c2636(0x292)](Pe),{'left':_0x5a6da1+_0x5c38e5-_0x2856b4,'top':_0x474804+_0x847dac-gt/0x2,'height':gt,'width':gt,'fill':_0x210f85||_0x41386e(_0x361521[_0x5c2636(0x4dc)],0x0),'strokeWidth':0x0,'stroke':_0x210f85||_0x41386e(_0x361521[_0x5c2636(0x4dc)],0x0),'evented':!0x1});this[_0x5c2636(0x38b)]=_0x470acf,this[_0x5c2636(0x420)]['addObject'](_0x470acf,_0x2e39d5);const _0x1a14f6=new nt(ft+_0x385cf5[_0x5c2636(0x292)](Pe),{'left':_0x5a6da1+_0x5c38e5-_0x2856b4,'top':_0x474804+_0x847dac-je,'text':_0xb3dbf5,'color':_0x210f85});this['_textBubble']=_0x1a14f6,this[_0x5c2636(0x420)][_0x5c2636(0x231)](_0x1a14f6,_0x2e39d5),this['_hover']=!0x1;}[_0x262f6e(0x515)](){const _0x4c78a4=_0x262f6e,_0x21fd14=this[_0x4c78a4(0x347)][_0x4c78a4(0x38f)][_0x4c78a4(0x3ff)](()=>{const _0x3e86a2=_0x4c78a4;this[_0x3e86a2(0x48b)]=!0x0;}),_0x154452=this[_0x4c78a4(0x347)][_0x4c78a4(0x28e)][_0x4c78a4(0x3ff)](()=>{const _0x1faabb=_0x4c78a4;this[_0x1faabb(0x4c4)]&&clearTimeout(this['_hideTimer']),this[_0x1faabb(0x4c4)]=setTimeout(()=>{const _0x436eb4=_0x1faabb;this[_0x436eb4(0x48b)]=!0x1;},0x7d0);});return()=>{const _0x4594a9=_0x4c78a4;_0x21fd14[_0x4594a9(0x2c8)](),_0x154452[_0x4594a9(0x2c8)]();};}['_drawTextRange'](_0xa3f412,_0x13b6fe,_0x350cdc,_0x1e3e24){const _0x17fde1=_0x262f6e,_0x26519d=new _0xc776fc(_0xa3f412)['setAlpha'](0.2)[_0x17fde1(0x2b5)](),_0x590e2d=new _0xc14884(Xr+_0x385cf5['generateRandomId'](Pe),{'pointsGroup':_0x13b6fe,'fill':_0x26519d||_0x41386e(_0x361521['black'],0.2),'left':_0x350cdc,'top':_0x1e3e24,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x17fde1(0x23b)][_0x17fde1(0x4b8)](_0x590e2d),this['_scene']['addObject'](_0x590e2d,_0x2e39d5);}[_0x262f6e(0x222)](_0x546a8e,_0x356cd5,_0x597998,_0x564c3c){const _0x204eae=_0x262f6e,_0x31147a=new _0xc776fc(_0x546a8e)['setAlpha'](0.2)[_0x204eae(0x2b5)](),_0x27fbba=new _0xc14884(qr+_0x385cf5[_0x204eae(0x292)](Pe),{'pointsGroup':_0x356cd5,'fill':_0x31147a||_0x41386e(_0x361521[_0x204eae(0x4dc)],0.2),'left':_0x597998,'top':_0x564c3c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x204eae(0x23b)][_0x204eae(0x4b8)](_0x27fbba),this[_0x204eae(0x420)][_0x204eae(0x231)](_0x27fbba,_0x2e39d5);}['_getAnchorBounding'](_0x4f3338){const _0x503284=_0x4f3338[0x0],_0x363aae=_0x503284[0x0],_0x3bce82=_0x503284[0x2],{x:_0x52bf07,y:_0x9a4050}=_0x363aae,{x:_0x1cf2ca,y:_0x762e1e}=_0x3bce82;return{'left':_0x52bf07,'top':_0x9a4050,'width':_0x1cf2ca-_0x52bf07,'height':_0x762e1e-_0x9a4050};}[_0x262f6e(0x218)](){const _0x349b74=_0x262f6e,{scaleX:_0x130a14,scaleY:_0x30e99b}=this[_0x349b74(0x420)][_0x349b74(0x1a2)]();return Math[_0x349b74(0x444)](_0x130a14,_0x30e99b);}}var Qr=Object[_0x262f6e(0x44e)],eo=Object[_0x262f6e(0x3c2)],to=(_0x3cea48,_0x5e4ebe,_0x238dc5,_0x32afcb)=>{const _0x151a9f=_0x262f6e;for(var _0x53db61=_0x32afcb>0x1?void 0x0:_0x32afcb?eo(_0x5e4ebe,_0x238dc5):_0x5e4ebe,_0xe276e0=_0x3cea48[_0x151a9f(0x1c5)]-0x1,_0x32e3fd;_0xe276e0>=0x0;_0xe276e0--)(_0x32e3fd=_0x3cea48[_0xe276e0])&&(_0x53db61=(_0x32afcb?_0x32e3fd(_0x5e4ebe,_0x238dc5,_0x53db61):_0x32e3fd(_0x53db61))||_0x53db61);return _0x32afcb&&_0x53db61&&Qr(_0x5e4ebe,_0x238dc5,_0x53db61),_0x53db61;},Be=(_0x49ab17,_0x33d79d)=>(_0x3b0608,_0x1a72e1)=>_0x33d79d(_0x3b0608,_0x1a72e1,_0x49ab17);let Pt=class extends _0x866c0c{constructor(_0x422581,_0x31ced2,_0x46e6c5,_0x30dbf3,_0xb90023){const _0xa44f0e=_0x262f6e;super(),l(this,'_cursorShapes',[]),l(this,_0xa44f0e(0x3b4),[]),(this[_0xa44f0e(0x281)]=_0x422581,this[_0xa44f0e(0x47d)]=_0x31ced2,this[_0xa44f0e(0x1ad)]=_0x46e6c5,this[_0xa44f0e(0x3a7)]=_0x30dbf3,this[_0xa44f0e(0x2d4)]=_0xb90023,this[_0xa44f0e(0x204)]());}[_0x262f6e(0x204)](){const _0x578584=_0x262f6e,_0x5dd1db=this[_0x578584(0x281)]['unitId'],_0x12c1e9=this['_docSkeletonManagerService'];this[_0x578584(0x2fd)](_0x1fb678([this[_0x578584(0x1ad)]['getCollabCursors$'](_0x5dd1db),this[_0x578584(0x2d4)][_0x578584(0x286)]])[_0x578584(0x337)](_0x5eb34b(([_0x4bbd11,_0x5dd16e])=>({'skeleton':_0x12c1e9[_0x578584(0x43b)](),'cursors':[..._0x4bbd11[_0x578584(0x433)]()][_0x578584(0x469)](_0x3fb0d4=>({..._0x3fb0d4,'color':_0x5dd16e[_0x3fb0d4['color']]}))})))['subscribe'](_0xdd4711=>{const _0x467e8a=_0x578584;if(this[_0x467e8a(0x21c)](),_0xdd4711){const {skeleton:_0xe5525f,cursors:_0x1f9381}=_0xdd4711;this[_0x467e8a(0x4cf)](_0xe5525f,_0x1f9381);}})),this[_0x578584(0x2b8)](),this[_0x578584(0x41e)]();}[_0x262f6e(0x4cf)](_0x49ed44,_0x4d0ba1){const _0x55ff04=_0x262f6e,{scene:_0xbfc513,mainComponent:_0x4d4e89}=this[_0x55ff04(0x281)],_0x3c780=_0x4d0ba1['map'](_0x2e4d2b=>new Ss(_0x2e4d2b,_0xbfc513,_0x49ed44,_0x4d4e89));this[_0x55ff04(0x2c2)]=_0x3c780,this[_0x55ff04(0x3b4)]=_0x4d0ba1;}[_0x262f6e(0x313)](){const _0x36a65c=_0x262f6e;this[_0x36a65c(0x21c)]();const {scene:_0x3f555a,mainComponent:_0x231123}=this[_0x36a65c(0x281)],_0x2023f2=this[_0x36a65c(0x47d)]['getSkeleton'](),_0x327e2e=this[_0x36a65c(0x3b4)][_0x36a65c(0x2a8)](_0xab8d0b=>new Ss(_0xab8d0b,_0x3f555a,_0x2023f2,_0x231123));this[_0x36a65c(0x2c2)]=_0x327e2e;}[_0x262f6e(0x21c)](){const _0x576ee=_0x262f6e;this[_0x576ee(0x2c2)][_0x576ee(0x3a5)](_0x113612=>_0x113612[_0x576ee(0x1db)]()),this[_0x576ee(0x2c2)]=[];}[_0x262f6e(0x41e)](){const _0x384f69=_0x262f6e,_0x2f6f94=[_0x35beb3['id']];this['disposeWithMe'](this[_0x384f69(0x3a7)][_0x384f69(0x3d0)](_0x236885=>{const _0x4c17e2=_0x384f69;_0x2f6f94[_0x4c17e2(0x4d9)](_0x236885['id'])&&_0x236885[_0x4c17e2(0x4bb)][_0x4c17e2(0x1fb)]===this['_context'][_0x4c17e2(0x1fb)]&&this[_0x4c17e2(0x313)]();}));}['_initResize'](){const _0x1fce13=_0x262f6e;this['disposeWithMe'](_0x69cdef(this[_0x1fce13(0x281)][_0x1fce13(0x27b)][_0x1fce13(0x255)])['pipe'](_0x4fbabd(_0x3db52b=>_0x3db52b[_0x1fce13(0x3f2)]===_0x3e4880[_0x1fce13(0x488)]),_0x2e3ebb(0x10))[_0x1fce13(0x481)](()=>{this['_refreshCollabCursors']();}));}};Pt=to([Be(0x1,_0x26d5df(_0x2f64fe)),Be(0x2,_0x26d5df(Ce)),Be(0x3,_0x19a5a5),Be(0x4,_0x26d5df(_0x168851))],Pt);const so=0x1,io=1.5;class no extends _0x48cb40{constructor(_0x4a9134,_0xbdf1a2){const _0x1d7307=_0x262f6e;super(_0x4a9134,_0xbdf1a2),l(this,'_color'),l(this,_0x1d7307(0x3bf),!0x1),l(this,'_range'),l(this,_0x1d7307(0x51a),''),l(this,_0x1d7307(0x4f6),'top'),l(this,_0x1d7307(0x3dc)),(_0xbdf1a2&&this[_0x1d7307(0x510)](_0xbdf1a2),this[_0x1d7307(0x38f)][_0x1d7307(0x3ff)](()=>this[_0x1d7307(0x510)]({'hovered':!0x0})),this[_0x1d7307(0x28e)][_0x1d7307(0x3ff)](()=>this[_0x1d7307(0x510)]({'hovered':!0x1})));}['setShapeProps'](_0x213fa8){const _0x92485a=_0x262f6e;var _0x39f47d,_0xf010d6,_0x3dd5b8,_0x5e248b,_0x549814,_0xb2ddf7;this[_0x92485a(0x2d2)]=(_0x39f47d=_0x213fa8['color'])!=null?_0x39f47d:this[_0x92485a(0x2d2)],this['_hovered']=(_0xf010d6=_0x213fa8[_0x92485a(0x1de)])!=null?_0xf010d6:this['_hovered'],this['_range']=(_0x3dd5b8=_0x213fa8[_0x92485a(0x3e9)])!=null?_0x3dd5b8:this[_0x92485a(0x4f3)],this[_0x92485a(0x51a)]=(_0x5e248b=_0x213fa8['name'])!=null?_0x5e248b:this[_0x92485a(0x51a)],this['_labelPosition']=(_0x549814=_0x213fa8[_0x92485a(0x1ea)])!=null?_0x549814:this[_0x92485a(0x4f6)],this[_0x92485a(0x3dc)]=(_0xb2ddf7=_0x213fa8[_0x92485a(0x4c5)])!=null?_0xb2ddf7:this[_0x92485a(0x3dc)],this[_0x92485a(0x476)]({'width':_0x213fa8[_0x92485a(0x271)],'height':_0x213fa8[_0x92485a(0x288)]});}[_0x262f6e(0x498)](_0x1a6c7d){const _0x43536c=_0x262f6e,{row:_0x462dfb,column:_0x5e93c8}=_0x1a6c7d;if(_0x462dfb>=this[_0x43536c(0x4f3)][_0x43536c(0x40d)]&&_0x462dfb<=this[_0x43536c(0x4f3)][_0x43536c(0x51c)]&&_0x5e93c8>=this[_0x43536c(0x4f3)][_0x43536c(0x41d)]&&_0x5e93c8<=this['_range'][_0x43536c(0x1ba)]){this[_0x43536c(0x510)]({'hovered':!0x0});return;}this[_0x43536c(0x510)]({'hovered':!0x1});}[_0x262f6e(0x34c)](_0x2b39cc){return!0x1;}[_0x262f6e(0x338)](_0x1ec1d0){const _0x4236a4=_0x262f6e;_0x2e20e6[_0x4236a4(0x325)](_0x1ec1d0,{'width':this[_0x4236a4(0x271)],'height':this['height'],'strokeWidth':io,'stroke':this[_0x4236a4(0x2d2)],'evented':!0x1,'fill':this[_0x4236a4(0x3dc)]}),this[_0x4236a4(0x3bf)]&&(_0x1ec1d0[_0x4236a4(0x330)](),_0x1ec1d0[_0x4236a4(0x227)](0x1,0x0,0x0,0x1,this[_0x4236a4(0x271)],this[_0x4236a4(0x4f6)]===_0x4236a4(0x3ee)?0x0:-je),nt[_0x4236a4(0x325)](_0x1ec1d0,{'text':this[_0x4236a4(0x51a)],'color':this[_0x4236a4(0x2d2)]}),_0x1ec1d0[_0x4236a4(0x1fe)]());}}var ro=Object[_0x262f6e(0x44e)],oo=Object[_0x262f6e(0x3c2)],ao=(_0x10a257,_0x1fd7e0,_0x3d42e6,_0x528c14)=>{const _0x5c310a=_0x262f6e;for(var _0x528017=_0x528c14>0x1?void 0x0:_0x528c14?oo(_0x1fd7e0,_0x3d42e6):_0x1fd7e0,_0x5853b7=_0x10a257[_0x5c310a(0x1c5)]-0x1,_0xd33128;_0x5853b7>=0x0;_0x5853b7--)(_0xd33128=_0x10a257[_0x5853b7])&&(_0x528017=(_0x528c14?_0xd33128(_0x1fd7e0,_0x3d42e6,_0x528017):_0xd33128(_0x528017))||_0x528017);return _0x528c14&&_0x528017&&ro(_0x1fd7e0,_0x3d42e6,_0x528017),_0x528017;},St=(_0x34ec02,_0x4aa624)=>(_0x28fc50,_0x52cf78)=>_0x4aa624(_0x28fc50,_0x52cf78,_0x34ec02);const co=0x1389;let yt=class extends _0x866c0c{constructor(_0x6ad3ca,_0x55cf06,_0x29eb93,_0x5957db){const _0x2d83c7=_0x262f6e;super(),l(this,_0x2d83c7(0x3b4),new Set()),l(this,'_lastPointer',null),(this['_context']=_0x6ad3ca,this[_0x2d83c7(0x3dd)]=_0x55cf06,this[_0x2d83c7(0x1ad)]=_0x29eb93,this[_0x2d83c7(0x2d4)]=_0x5957db,this[_0x2d83c7(0x204)]());}['_init'](){const _0x5b1d7f=_0x262f6e;this[_0x5b1d7f(0x3dd)][_0x5b1d7f(0x4a3)]['pipe'](_0x17d262(this[_0x5b1d7f(0x277)]),_0x1ab8ad(_0xfed1a6=>{const _0x17d64b=_0x5b1d7f;if(_0xfed1a6){const _0x5b3999=_0xfed1a6[_0x17d64b(0x1ce)];return _0x1fb678(this[_0x17d64b(0x1ad)][_0x17d64b(0x2d9)](this[_0x17d64b(0x281)][_0x17d64b(0x1fb)]),this[_0x17d64b(0x2d4)][_0x17d64b(0x286)])[_0x17d64b(0x337)](_0x5eb34b(([_0xa6bfa2,_0xbf45af])=>{const _0x1fd73a=_0x17d64b,_0x88d32e=new Map();return _0xa6bfa2[_0x1fd73a(0x3a5)]((_0x54eea6,_0x57b558)=>{const _0x2d88c9=_0x1fd73a;if(_0x54eea6[_0x2d88c9(0x1ed)]===_0x5b3999){const _0x272da6={..._0x54eea6};_0x272da6[_0x2d88c9(0x28c)]=_0xbf45af[_0x54eea6[_0x2d88c9(0x28c)]],_0x88d32e[_0x2d88c9(0x26b)](_0x57b558,_0x272da6);}}),{'skeleton':_0xfed1a6,'cursors':_0x88d32e};}));}return _0x21b747({'skeleton':null,'cursors':new Map()});}))[_0x5b1d7f(0x481)](({skeleton:_0x15d660,cursors:_0x177a89})=>{const _0x1cdf6d=_0x5b1d7f;this[_0x1cdf6d(0x21c)](),_0x15d660&&this[_0x1cdf6d(0x4cf)](_0x15d660,_0x177a89);}),this[_0x5b1d7f(0x3dd)][_0x5b1d7f(0x4a3)][_0x5b1d7f(0x481)](_0x2a6a56=>{const _0x3dae5d=_0x5b1d7f;if(_0x2a6a56==null)return;const {skeleton:_0x5b94b8}=_0x2a6a56,{scene:_0x582236}=this[_0x3dae5d(0x281)];_0x582236[_0x3dae5d(0x239)][_0x3dae5d(0x3ff)](_0x3926ff(_0x125b61=>{const _0xa4058=_0x3dae5d;var _0x15d8bc,_0x28651f;const {offsetX:_0x492d72,offsetY:_0x5698ca}=_0x125b61,{x:_0x4a722c,y:_0x33b0f}=_0x582236[_0xa4058(0x341)](_0x19f0aa['FromArray']([_0x492d72,_0x5698ca])),{scaleX:_0x354d86,scaleY:_0x223ac2}=_0x582236[_0xa4058(0x1a2)](),_0x328466=_0x582236[_0xa4058(0x508)](_0x59b677[_0xa4058(0x3c8)]),_0x533f07=_0x582236[_0xa4058(0x272)](_0x19f0aa[_0xa4058(0x268)]([_0x4a722c,_0x33b0f]),_0x328466),_0x188d57=_0x5b94b8[_0xa4058(0x300)](_0x492d72,_0x5698ca,_0x354d86,_0x223ac2,_0x533f07);((_0x15d8bc=this[_0xa4058(0x257)])==null?void 0x0:_0x15d8bc[_0xa4058(0x2dd)])===_0x188d57['column']&&((_0x28651f=this[_0xa4058(0x257)])==null?void 0x0:_0x28651f['row'])===_0x188d57['row']||this['_cursors'][_0xa4058(0x3a5)](_0x18cdfe=>{const _0x27c508=_0xa4058;_0x18cdfe[_0x27c508(0x498)](_0x188d57);});},0x64));});}['_updateCollabCursors'](_0x247dc4,_0x202eac){const _0x4a9c4b=_0x262f6e;var _0xa113c1;const _0x1083c9=(_0xa113c1=this[_0x4a9c4b(0x3dd)][_0x4a9c4b(0x1e1)]())==null?void 0x0:_0xa113c1[_0x4a9c4b(0x4be)];if(!_0x1083c9)return;const _0x2fa69b=this[_0x4a9c4b(0x4b3)]();if(!_0x2fa69b)return;this[_0x4a9c4b(0x3b4)][_0x4a9c4b(0x3a5)](_0x17b49a=>{_0x17b49a['makeDirty']();});const {scene:_0x5a6e7b}=_0x2fa69b,_0x26e108=ho(Array[_0x4a9c4b(0x1a3)](_0x202eac[_0x4a9c4b(0x433)]()))[_0x4a9c4b(0x2a8)](_0x185281=>{const _0x259cd5=_0x4a9c4b,{color:_0x3c729f,range:_0x113066,name:_0x34530e,selection:_0x1e5920,sheetID:_0x30e3bc}=_0x185281,{startColumn:_0x5770a7,startRow:_0x76632b,endColumn:_0x1788a8,endRow:_0xe36059}=_0x113066,_0x3e789e=_0x538fee(_0x76632b,_0x5770a7,_0x5a6e7b,_0x1083c9),_0x394bb5=_0x538fee(_0xe36059,_0x1788a8,_0x5a6e7b,_0x1083c9),{columnHeaderHeightAndMarginTop:_0x88b7e4}=_0x1083c9,{startX:_0x107d20,startY:_0x49c461}=_0x3e789e,{endX:_0xaea457,endY:_0x3aee32}=_0x394bb5,_0x83c10c=_0xaea457-_0x107d20,_0x4f78e7=_0x3aee32-_0x49c461,_0x3c6bd7={'labelPosition':_0x49c461-_0x88b7e4>=je?'top':_0x259cd5(0x3ee),'sheetID':_0x30e3bc,'range':_0x113066,'color':_0x3c729f,'name':_0x34530e,'selection':_0x1e5920,'left':_0x107d20,'top':_0x49c461,'width':_0x83c10c,'height':_0x4f78e7,'evented':!0x1,'zIndex':co};return new no(_0x34530e,_0x3c6bd7);});_0x5a6e7b['addObjects'](_0x26e108,so),this[_0x4a9c4b(0x3b4)]=new Set(_0x26e108);}[_0x262f6e(0x21c)](){const _0x18e8db=_0x262f6e;var _0x1bb1b6;(_0x1bb1b6=this[_0x18e8db(0x3b4)])==null||_0x1bb1b6[_0x18e8db(0x3a5)](_0x560d3c=>_0x560d3c[_0x18e8db(0x1db)]());}[_0x262f6e(0x4b3)](){const _0x40ca75=_0x262f6e;return _0x1db722(this['_context'][_0x40ca75(0x380)],this['_context']);}};yt=ao([St(0x1,_0x26d5df(_0xb6e928)),St(0x2,_0x26d5df(Ce)),St(0x3,_0x26d5df(_0x168851))],yt);function ho(_0x247851){const _0x2101fa=_0x262f6e,_0xd7b298=new Map();return _0x247851['forEach'](_0x4183b1=>{const _0x418d7d=_0x275e;if(_0xd7b298[_0x418d7d(0x3a4)](_0x4183b1[_0x418d7d(0x503)])){const _0x5d0bf1=_0xd7b298[_0x418d7d(0x358)](_0x4183b1[_0x418d7d(0x503)]);_0x5d0bf1[_0x418d7d(0x3e7)]+=',\x20'+_0x4183b1[_0x418d7d(0x3e7)];}else _0xd7b298[_0x418d7d(0x26b)](_0x4183b1[_0x418d7d(0x503)],_0x4183b1);}),Array[_0x2101fa(0x1a3)](_0xd7b298[_0x2101fa(0x433)]());}var U=function(){const _0x33df22=_0x262f6e;return U=Object[_0x33df22(0x247)]||function(_0x1647db){const _0x423f3f=_0x33df22;for(var _0x41cc2a,_0x12d31a=0x1,_0x41af6a=arguments[_0x423f3f(0x1c5)];_0x12d31a<_0x41af6a;_0x12d31a++){_0x41cc2a=arguments[_0x12d31a];for(var _0x3eb7a5 in _0x41cc2a)Object[_0x423f3f(0x383)][_0x423f3f(0x38a)]['call'](_0x41cc2a,_0x3eb7a5)&&(_0x1647db[_0x3eb7a5]=_0x41cc2a[_0x3eb7a5]);}return _0x1647db;},U[_0x33df22(0x473)](this,arguments);},lo=function(_0x236767,_0x2035e6){const _0x28f98f=_0x262f6e;var _0x31b30e={};for(var _0x39a5b2 in _0x236767)Object[_0x28f98f(0x383)]['hasOwnProperty']['call'](_0x236767,_0x39a5b2)&&_0x2035e6['indexOf'](_0x39a5b2)<0x0&&(_0x31b30e[_0x39a5b2]=_0x236767[_0x39a5b2]);if(_0x236767!=null&&typeof Object['getOwnPropertySymbols']==_0x28f98f(0x285)){for(var _0x434ab5=0x0,_0x39a5b2=Object[_0x28f98f(0x235)](_0x236767);_0x434ab5<_0x39a5b2[_0x28f98f(0x1c5)];_0x434ab5++)_0x2035e6['indexOf'](_0x39a5b2[_0x434ab5])<0x0&&Object['prototype'][_0x28f98f(0x365)][_0x28f98f(0x3fd)](_0x236767,_0x39a5b2[_0x434ab5])&&(_0x31b30e[_0x39a5b2[_0x434ab5]]=_0x236767[_0x39a5b2[_0x434ab5]]);}return _0x31b30e;},Kt=_0x466e9e(function(_0x4b25d2,_0xa41816){const _0x3653dc=_0x262f6e;var _0x2e11d8=_0x4b25d2[_0x3653dc(0x403)],_0x12d02e=_0x4b25d2['id'],_0x541bd2=_0x4b25d2['className'],_0x48fa44=_0x4b25d2[_0x3653dc(0x38e)],_0x427a63=lo(_0x4b25d2,[_0x3653dc(0x403),'id','className',_0x3653dc(0x38e)]),_0x226ab0=_0x3653dc(0x336)[_0x3653dc(0x20d)](_0x12d02e,'\x20')[_0x3653dc(0x20d)](_0x541bd2||'')[_0x3653dc(0x224)](),_0x1c0b14=_0x189376('_'['concat'](mo()));return qs(_0x2e11d8,''[_0x3653dc(0x20d)](_0x12d02e),{'defIds':_0x2e11d8[_0x3653dc(0x50a)],'idSuffix':_0x1c0b14['current']},U({'ref':_0xa41816,'className':_0x226ab0},_0x427a63),_0x48fa44);});function qs(_0x407b2d,_0x3aaa1,_0x4c795d,_0xf7785c,_0x2afc2e){const _0x1848a4=_0x262f6e;return _0x44b3ce(_0x407b2d[_0x1848a4(0x4fb)],U(U({'key':_0x3aaa1},_o(_0x407b2d,_0x4c795d,_0x2afc2e)),_0xf7785c),(uo(_0x407b2d,_0x4c795d)['children']||[])[_0x1848a4(0x2a8)](function(_0x79047c,_0x49930d){const _0x5c3bfe=_0x1848a4;return qs(_0x79047c,''[_0x5c3bfe(0x20d)](_0x3aaa1,'-')[_0x5c3bfe(0x20d)](_0x407b2d[_0x5c3bfe(0x4fb)],'-')[_0x5c3bfe(0x20d)](_0x49930d),_0x4c795d,void 0x0,_0x2afc2e);}));}function _o(_0x42e710,_0x510a9a,_0xf2687d){const _0x157204=_0x262f6e;var _0x2d17b3=U({},_0x42e710[_0x157204(0x3ce)]);_0xf2687d!=null&&_0xf2687d[_0x157204(0x3c9)]&&_0x2d17b3[_0x157204(0x2a7)]===_0x157204(0x3c9)&&(_0x2d17b3[_0x157204(0x2a7)]=_0xf2687d['colorChannel1']);var _0xc987f1=_0x510a9a['defIds'];return!_0xc987f1||_0xc987f1[_0x157204(0x1c5)]===0x0||(_0x42e710[_0x157204(0x4fb)]===_0x157204(0x1cf)&&_0x2d17b3['xlink:href']&&(_0x2d17b3[_0x157204(0x2d6)]=_0x2d17b3['xlink:href']+_0x510a9a[_0x157204(0x435)]),Object[_0x157204(0x260)](_0x2d17b3)[_0x157204(0x3a5)](function(_0x375d19){const _0x2b6953=_0x157204;var _0x2cb236=_0x375d19[0x0],_0x25809f=_0x375d19[0x1];typeof _0x25809f=='string'&&(_0x2d17b3[_0x2cb236]=_0x25809f[_0x2b6953(0x33d)](/url\(#(.*)\)/,_0x2b6953(0x4b0)[_0x2b6953(0x20d)](_0x510a9a[_0x2b6953(0x435)],')')));})),_0x2d17b3;}function uo(_0x8fbfd1,_0x5eee72){const _0x1aea55=_0x262f6e;var _0x4b41af,_0x1af115=_0x5eee72[_0x1aea55(0x50a)];return!_0x1af115||_0x1af115[_0x1aea55(0x1c5)]===0x0?_0x8fbfd1:_0x8fbfd1[_0x1aea55(0x4fb)]===_0x1aea55(0x4c8)&&(!((_0x4b41af=_0x8fbfd1[_0x1aea55(0x4a4)])===null||_0x4b41af===void 0x0)&&_0x4b41af[_0x1aea55(0x1c5)])?U(U({},_0x8fbfd1),{'children':_0x8fbfd1[_0x1aea55(0x4a4)][_0x1aea55(0x2a8)](function(_0x5cfc48){const _0xb9db67=_0x1aea55;return typeof _0x5cfc48[_0xb9db67(0x3ce)]['id']==_0xb9db67(0x245)&&_0x1af115&&_0x1af115[_0xb9db67(0x373)](_0x5cfc48[_0xb9db67(0x3ce)]['id'])>-0x1?U(U({},_0x5cfc48),{'attrs':U(U({},_0x5cfc48[_0xb9db67(0x3ce)]),{'id':_0x5cfc48[_0xb9db67(0x3ce)]['id']+_0x5eee72[_0xb9db67(0x435)]})}):_0x5cfc48;})}):_0x8fbfd1;}function mo(){const _0x267081=_0x262f6e;return Math[_0x267081(0x40f)]()[_0x267081(0x343)](0x24)[_0x267081(0x2e0)](0x2,0x8);}Kt['displayName']=_0x262f6e(0x236);var fo={'tag':_0x262f6e(0x2f2),'attrs':{'fill':_0x262f6e(0x4d6),'viewBox':_0x262f6e(0x43d),'width':_0x262f6e(0x1d6),'height':_0x262f6e(0x1d6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x262f6e(0x28d),'d':_0x262f6e(0x385),'strokeLinecap':_0x262f6e(0x2cc),'strokeLinejoin':_0x262f6e(0x2cc),'strokeWidth':1.2}}]},{'tag':_0x262f6e(0x4c8),'attrs':{},'children':[{'tag':_0x262f6e(0x283),'attrs':{'id':_0x262f6e(0x331)},'children':[{'tag':_0x262f6e(0x22d),'attrs':{'fill':_0x262f6e(0x3b2),'d':_0x262f6e(0x2dc)}}]}]}],'defIds':[_0x262f6e(0x331)]},Js=_0x466e9e(function(_0x51644e,_0x6f073e){const _0x28812f=_0x262f6e;return _0x44b3ce(Kt,Object[_0x28812f(0x247)]({},_0x51644e,{'id':'off-line-single','ref':_0x6f073e,'icon':fo}));});Js[_0x262f6e(0x26e)]='OffLineSingle';var go={'tag':_0x262f6e(0x2f2),'attrs':{'fill':_0x262f6e(0x4d6),'viewBox':_0x262f6e(0x4f8),'width':_0x262f6e(0x1d6),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x262f6e(0x22d),'attrs':{'stroke':_0x262f6e(0x28d),'d':_0x262f6e(0x48e),'strokeLinecap':_0x262f6e(0x2cc),'strokeLinejoin':_0x262f6e(0x2cc),'strokeWidth':1.2}}]},{'tag':_0x262f6e(0x4c8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x262f6e(0x39b)},'children':[{'tag':_0x262f6e(0x22d),'attrs':{'fill':_0x262f6e(0x3b2),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x262f6e(0x39b)]},zs=_0x466e9e(function(_0x44eacc,_0x595e07){const _0x2a8509=_0x262f6e;return _0x44b3ce(Kt,Object[_0x2a8509(0x247)]({},_0x44eacc,{'id':_0x2a8509(0x2ed),'ref':_0x595e07,'icon':go}));});zs[_0x262f6e(0x26e)]='OnLineSingle';function Zs(_0x19d567){const _0xb780c9=_0x262f6e;var _0x3bb9e0,_0x5e708c,_0x512efd='';if(typeof _0x19d567==_0xb780c9(0x245)||typeof _0x19d567==_0xb780c9(0x220))_0x512efd+=_0x19d567;else{if(typeof _0x19d567==_0xb780c9(0x408)){if(Array[_0xb780c9(0x372)](_0x19d567)){var _0x1cd000=_0x19d567[_0xb780c9(0x1c5)];for(_0x3bb9e0=0x0;_0x3bb9e0<_0x1cd000;_0x3bb9e0++)_0x19d567[_0x3bb9e0]&&(_0x5e708c=Zs(_0x19d567[_0x3bb9e0]))&&(_0x512efd&&(_0x512efd+='\x20'),_0x512efd+=_0x5e708c);}else{for(_0x5e708c in _0x19d567)_0x19d567[_0x5e708c]&&(_0x512efd&&(_0x512efd+='\x20'),_0x512efd+=_0x5e708c);}}}return _0x512efd;}function So(){for(var _0x343a32,_0x497836,_0x4a15b7=0x0,_0x74faf2='',_0x4a7bcd=arguments['length'];_0x4a15b7<_0x4a7bcd;_0x4a15b7++)(_0x343a32=arguments[_0x4a15b7])&&(_0x497836=Zs(_0x343a32))&&(_0x74faf2&&(_0x74faf2+='\x20'),_0x74faf2+=_0x497836);return _0x74faf2;}const po=_0x262f6e(0x378),vo=_0x262f6e(0x232),Io='univer-online-status',Eo='univer-online',Co=_0x262f6e(0x44b),ye={'onlineStatusIcon':po,'onlineStatusTitle':vo,'onlineStatus':Io,'online':Eo,'offline':Co};function bo(_0x46ffd7){const _0x23a98e=_0x262f6e;switch(_0x46ffd7){case w[_0x23a98e(0x37a)]:return _0x23a98e(0x22c);case w['CONFLICT']:return'collabStatus.conflict';case w['FETCH_MISS']:return _0x23a98e(0x513);case w[_0x23a98e(0x526)]:return _0x23a98e(0x1d9);case w[_0x23a98e(0x475)]:case w[_0x23a98e(0x4d2)]:return'collabStatus.syncing';case w['SYNCED']:case w[_0x23a98e(0x486)]:return _0x23a98e(0x2c3);}}function To(_0x2bd325){const _0x4b805e=_0x262f6e,{status$:_0x3f1840}=_0x2bd325,_0x37c392=_0x3593ba(_0x3f1840,w[_0x4b805e(0x526)]),_0x9daaa4=_0x3fa209(_0x32fffe),_0x11a40a=_0x3fa209(ue),_0x428bc3=_0x37c392!==w['OFFLINE'],_0x45eaea=_0x9daaa4['t'](bo(_0x37c392)),_0x3618ae=So(ye['onlineStatus'],{[ye['online']]:_0x428bc3,[ye['offline']]:!_0x428bc3}),_0x1650cf=_0x428bc3?_0x1d3b3a[_0x4b805e(0x22b)](zs,null):_0x1d3b3a['createElement'](Js,null),_0x31b009=_0x4d248d(()=>{const _0x38496e=_0x4b805e;_0x428bc3||_0x11a40a[_0x38496e(0x1a5)]();},[_0x428bc3,_0x11a40a]);function _0x40a8fa(){const _0x811f5d=_0x4b805e;return _0x1d3b3a[_0x811f5d(0x22b)](_0x811f5d(0x43a),{'className':_0x3618ae,'onClick':_0x31b009},_0x1d3b3a['createElement'](_0x811f5d(0x43a),{'className':ye[_0x811f5d(0x34d)]},_0x1650cf),_0x1d3b3a[_0x811f5d(0x22b)](_0x811f5d(0x43a),{'className':ye['onlineStatusTitle']},_0x45eaea));}return _0x428bc3?_0x40a8fa():_0x1d3b3a[_0x4b805e(0x22b)](_0x148b45,{'title':_0x9daaa4['t']('collab-client.tooltip.reconnect')},_0x40a8fa());}var Ro=Object[_0x262f6e(0x44e)],Oo=Object['getOwnPropertyDescriptor'],Do=(_0x581dee,_0x112036,_0xe61270,_0x575cb5)=>{for(var _0x38db0b=_0x575cb5>0x1?void 0x0:_0x575cb5?Oo(_0x112036,_0xe61270):_0x112036,_0x5ab3d1=_0x581dee['length']-0x1,_0x187954;_0x5ab3d1>=0x0;_0x5ab3d1--)(_0x187954=_0x581dee[_0x5ab3d1])&&(_0x38db0b=(_0x575cb5?_0x187954(_0x112036,_0xe61270,_0x38db0b):_0x187954(_0x38db0b))||_0x38db0b);return _0x575cb5&&_0x38db0b&&Ro(_0x112036,_0xe61270,_0x38db0b),_0x38db0b;},Ve=(_0x27e072,_0x382b6e)=>(_0xeb7127,_0x40e793)=>_0x382b6e(_0xeb7127,_0x40e793,_0x27e072);let Me=class extends _0x553a63{constructor(_0x8829ef,_0x2ac1e6,_0x429bc9,_0x3b3e07){const _0xe2f562=_0x262f6e;super(),l(this,'_status$',new _0x50e691(w[_0xe2f562(0x526)])),(this['_univerInstanceService']=_0x8829ef,this['_uiPartsService']=_0x2ac1e6,this[_0xe2f562(0x3af)]=_0x429bc9,this[_0xe2f562(0x270)]=_0x3b3e07,this[_0xe2f562(0x4fc)](),this[_0xe2f562(0x34b)]());}['_initStatusListener'](){const _0x484103=_0x262f6e;this['disposeWithMe'](this[_0x484103(0x39a)][_0x484103(0x228)][_0x484103(0x337)](_0x8251bb(()=>{const _0x59e08e=_0x484103,_0x351bb1=this[_0x59e08e(0x39a)][_0x59e08e(0x472)]();return _0x351bb1?this[_0x59e08e(0x270)][_0x59e08e(0x284)](_0x351bb1[_0x59e08e(0x355)]()):_0x21b747(null);}),_0x8251bb(_0x365da0=>_0x365da0?_0x365da0[_0x484103(0x1f3)]:_0x21b747(w[_0x484103(0x526)])))['subscribe'](_0x12eac5=>{const _0x580fca=_0x484103;this[_0x580fca(0x46f)][_0x580fca(0x377)](_0x12eac5);}));}[_0x262f6e(0x4fc)](){const _0x44e187=_0x262f6e;this['disposeWithMe'](this[_0x44e187(0x3f0)][_0x44e187(0x24b)](_0x4f0da['HEADER_MENU'],()=>_0x170108(wo({'status$':this[_0x44e187(0x46f)][_0x44e187(0x518)]()}),this[_0x44e187(0x3af)])));}};Me=Do([Ve(0x0,_0x377149),Ve(0x1,_0x18fe26),Ve(0x2,_0x26d5df(_0x506841)),Ve(0x3,_0x26d5df($e))],Me);function _0x275e(_0xc5d40,_0xba074){const _0x27dd88=_0x27dd();return _0x275e=function(_0x275e21,_0x2698a6){_0x275e21=_0x275e21-0x19e;let _0xa6f76=_0x27dd88[_0x275e21];return _0xa6f76;},_0x275e(_0xc5d40,_0xba074);}function wo(_0x26523a){const {status$:_0x24bd9c}=_0x26523a;return function(){const _0x42a215=_0x275e;return _0x1d3b3a[_0x42a215(0x22b)](To,{'status$':_0x24bd9c});};}const Qs=_0x4ef9ae(_0x262f6e(0x4cd));var Po=Object[_0x262f6e(0x44e)],yo=Object['getOwnPropertyDescriptor'],Uo=(_0x6d2a43,_0xd4c37f,_0x21befc,_0x5ab6ae)=>{const _0x5b658b=_0x262f6e;for(var _0x3d2e9e=_0x5ab6ae>0x1?void 0x0:_0x5ab6ae?yo(_0xd4c37f,_0x21befc):_0xd4c37f,_0xd0e24f=_0x6d2a43[_0x5b658b(0x1c5)]-0x1,_0x54ca20;_0xd0e24f>=0x0;_0xd0e24f--)(_0x54ca20=_0x6d2a43[_0xd0e24f])&&(_0x3d2e9e=(_0x5ab6ae?_0x54ca20(_0xd4c37f,_0x21befc,_0x3d2e9e):_0x54ca20(_0x3d2e9e))||_0x3d2e9e);return _0x5ab6ae&&_0x3d2e9e&&Po(_0xd4c37f,_0x21befc,_0x3d2e9e),_0x3d2e9e;},ve=(_0x546975,_0x2bc799)=>(_0x34dd49,_0x5af6a2)=>_0x2bc799(_0x34dd49,_0x5af6a2,_0x546975);let Ze=class extends _0x866c0c{constructor(_0x1c70cb,_0x72dfc7,_0x2fb2ad,_0x527278,_0x55a7f3,_0x59465e){const _0x24c39e=_0x262f6e;super(),this[_0x24c39e(0x3b5)]=_0x1c70cb,this[_0x24c39e(0x310)]=_0x72dfc7,this['_commandService']=_0x2fb2ad,this[_0x24c39e(0x44d)]=_0x527278,this[_0x24c39e(0x1a0)]=_0x55a7f3,_0x59465e?_0x59465e==null||_0x59465e[_0x24c39e(0x230)]()[_0x24c39e(0x501)](()=>this['_init']()):(this['_logService'][_0x24c39e(0x29e)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x24c39e(0x204)]());}async[_0x262f6e(0x204)](){const _0x3e9858=_0x262f6e,_0x3cf694=this['_urlService']['getParam'](_0x3e9858(0x380)),_0x27016e=this[_0x3e9858(0x3b5)][_0x3e9858(0x4ee)](_0x3e9858(0x3f2));if(!_0x3cf694||!_0x27016e){this['_logService'][_0x3e9858(0x29e)](_0x3e9858(0x360),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x27016e)){case B[_0x3e9858(0x2ad)]:{const _0x5796dc=await this[_0x3e9858(0x3bd)](_0x3cf694);this[_0x3e9858(0x386)](_0x5796dc);break;}case B['UNIVER_DOC']:{await this['_loadDoc'](_0x3cf694);break;}default:{this['_logService'][_0x3e9858(0x280)](_0x3e9858(0x360),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x262f6e(0x386)](_0x3eda6b){const _0x277ae9=_0x262f6e;await this['_updateSubUnitFromURLParams'](_0x3eda6b),_0x3eda6b[_0x277ae9(0x2d3)]['pipe'](_0x1e91dc(this[_0x277ae9(0x277)]))[_0x277ae9(0x481)](_0x14132f=>{const _0x56f4c1=_0x277ae9;_0x14132f&&this[_0x56f4c1(0x233)](_0x14132f);}),this[_0x277ae9(0x3b5)]['urlChange$'][_0x277ae9(0x337)](_0x1e91dc(this[_0x277ae9(0x277)]))[_0x277ae9(0x481)](()=>this[_0x277ae9(0x1f7)](_0x3eda6b));}[_0x262f6e(0x233)](_0x4e426c,_0xc0f5a9=!0x1){const _0x5d9263=_0x262f6e,_0x108876=this[_0x5d9263(0x3b5)][_0x5d9263(0x4ee)](_0x5d9263(0x2e2));_0x4e426c[_0x5d9263(0x4f0)]()!==_0x108876&&this[_0x5d9263(0x3b5)]['setParam'](_0x5d9263(0x2e2),_0x4e426c[_0x5d9263(0x4f0)](),_0xc0f5a9);}async[_0x262f6e(0x1f7)](_0x462232){const _0x1d6a36=_0x262f6e;var _0x478392;const _0x18f98e=this[_0x1d6a36(0x3b5)]['getParam']('subunit');if(!_0x18f98e||!_0x462232['getSheetBySheetId'](_0x18f98e)){const _0x5e3ca4=_0x462232[_0x1d6a36(0x379)]()[0x0],_0xaeb3b6=_0x462232[_0x1d6a36(0x51d)](_0x5e3ca4);if(!_0xaeb3b6)return;this[_0x1d6a36(0x233)](_0xaeb3b6,!0x0),await this[_0x1d6a36(0x3a7)]['executeCommand'](_0x1ba1a0['id'],{'unitId':_0x462232[_0x1d6a36(0x355)](),'subUnitId':_0x5e3ca4});return;}((_0x478392=_0x462232[_0x1d6a36(0x2d1)]())==null?void 0x0:_0x478392['getSheetId']())!==_0x18f98e&&await this[_0x1d6a36(0x3a7)][_0x1d6a36(0x500)](_0x1ba1a0['id'],{'unitId':_0x462232[_0x1d6a36(0x355)](),'subUnitId':_0x18f98e});}async['_loadSheet'](_0x572a33){const _0x3b72f3=_0x262f6e;let _0x5ce3c7=0x0;const _0x104ae9=await this[_0x3b72f3(0x44d)][_0x3b72f3(0x416)](_0x572a33);return _0x104ae9&&(_0x104ae9[_0x3b72f3(0x4e3)]||_0x104ae9[_0x3b72f3(0x1ef)][_0x3b72f3(0x1c5)]!==0x0)&&(_0x5ce3c7=_0x104ae9[_0x3b72f3(0x3a8)]),_0x5ce3c7===0x0&&this[_0x3b72f3(0x310)]['debug'](_0x3b72f3(0x360),_0x3b72f3(0x1ae)),this[_0x3b72f3(0x1a0)][_0x3b72f3(0x332)](_0x572a33,_0x5ce3c7);}async[_0x262f6e(0x259)](_0x40c37e){const _0x2f7fdc=_0x262f6e;let _0x6e7494=0x0;const _0x217844=await this[_0x2f7fdc(0x44d)]['loadOfflineData'](_0x40c37e);return _0x217844&&(_0x217844[_0x2f7fdc(0x4e3)]||_0x217844[_0x2f7fdc(0x1ef)][_0x2f7fdc(0x1c5)]!==0x0)&&(_0x6e7494=_0x217844[_0x2f7fdc(0x3a8)]),_0x6e7494===0x0&&this[_0x2f7fdc(0x310)][_0x2f7fdc(0x29e)](_0x2f7fdc(0x360),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2f7fdc(0x1a0)]['loadDoc'](_0x40c37e,_0x6e7494);}};Ze=Uo([ve(0x0,Qs),ve(0x1,_0x2bd539),ve(0x2,_0x19a5a5),ve(0x3,_0x26d5df(D)),ve(0x4,_0x26d5df(_0x3086c3)),ve(0x5,_0x54fca0(_0x23b3d8))],Ze);var No=Object[_0x262f6e(0x44e)],Ao=Object['getOwnPropertyDescriptor'],Mo=(_0x24ed97,_0x2a6902,_0x537595,_0x4f5045)=>{for(var _0x4a1d66=_0x4f5045>0x1?void 0x0:_0x4f5045?Ao(_0x2a6902,_0x537595):_0x2a6902,_0x533a95=_0x24ed97['length']-0x1,_0x2c50fa;_0x533a95>=0x0;_0x533a95--)(_0x2c50fa=_0x24ed97[_0x533a95])&&(_0x4a1d66=(_0x4f5045?_0x2c50fa(_0x2a6902,_0x537595,_0x4a1d66):_0x2c50fa(_0x4a1d66))||_0x4a1d66);return _0x4f5045&&_0x4a1d66&&No(_0x2a6902,_0x537595,_0x4a1d66),_0x4a1d66;},ps=(_0x28960f,_0x2620f2)=>(_0x57a95a,_0x214217)=>_0x2620f2(_0x57a95a,_0x214217,_0x28960f);const Lo=_0x262f6e(0x2a6),$o=_0x262f6e(0x1c9);let Qe=class extends _0x553a63{constructor(_0x1482fd,_0x4f63b9){const _0x2838c1=_0x262f6e;super(),this[_0x2838c1(0x39a)]=_0x1482fd,this[_0x2838c1(0x3e1)]=_0x4f63b9,this['_init']();}[_0x262f6e(0x204)](){const _0x597e40=_0x262f6e;this[_0x597e40(0x2fd)](this['_univerInstanceService'][_0x597e40(0x228)][_0x597e40(0x481)](()=>{const _0x241228=_0x597e40;var _0x348979;const _0x34c6f9=this[_0x241228(0x39a)][_0x241228(0x472)]();let _0x4fbbd9=(_0x348979=this[_0x241228(0x3e1)][_0x241228(0x3ab)](Lo))!=null?_0x348979:$o;_0x34c6f9 instanceof _0x2fbc8b&&(_0x4fbbd9=_0x34c6f9[_0x241228(0x3e7)]),document['title']=_0x4fbbd9;}));}};Qe=Mo([ps(0x0,_0x377149),ps(0x1,_0x4b38b2)],Qe);var jo=Object['defineProperty'],Ho=Object[_0x262f6e(0x3c2)],xo=(_0x42ad0d,_0xa431dd,_0x261f77,_0xb882d7)=>{const _0x4a174e=_0x262f6e;for(var _0x523b6a=_0xb882d7>0x1?void 0x0:_0xb882d7?Ho(_0xa431dd,_0x261f77):_0xa431dd,_0x1afa5b=_0x42ad0d[_0x4a174e(0x1c5)]-0x1,_0x3effae;_0x1afa5b>=0x0;_0x1afa5b--)(_0x3effae=_0x42ad0d[_0x1afa5b])&&(_0x523b6a=(_0xb882d7?_0x3effae(_0xa431dd,_0x261f77,_0x523b6a):_0x3effae(_0x523b6a))||_0x523b6a);return _0xb882d7&&_0x523b6a&&jo(_0xa431dd,_0x261f77,_0x523b6a),_0x523b6a;},pt=(_0x1c4293,_0x51b08f)=>(_0x18c66d,_0x30b5f7)=>_0x51b08f(_0x18c66d,_0x30b5f7,_0x1c4293);let et=class{constructor(_0x1f19b9,_0x10bb06,_0xf04846){const _0x28f2f5=_0x262f6e;this[_0x28f2f5(0x3e1)]=_0x1f19b9,this[_0x28f2f5(0x4b2)]=_0x10bb06,this[_0x28f2f5(0x265)]=_0xf04846,this[_0x28f2f5(0x1b6)]();}[_0x262f6e(0x1b6)](){const _0x36632c=_0x262f6e;this[_0x36632c(0x4b2)][_0x36632c(0x262)]({'priority':0x1,'interceptor':(_0x1bfdfc,_0x2cbbb4)=>_0x2cbbb4(_0x1bfdfc)[_0x36632c(0x337)](_0x39aad4(async _0x4ee49a=>{const _0x43c94b=_0x36632c,_0x1a767c=_0x4ee49a;if(_0x1a767c['status']===0x191&&window[_0x43c94b(0x21a)](this[_0x43c94b(0x265)]['t'](_0x43c94b(0x1b5)))){const _0x17f3d1=window[_0x43c94b(0x1a7)](window['location'][_0x43c94b(0x1ca)]);window[_0x43c94b(0x248)][_0x43c94b(0x1ca)]=this[_0x43c94b(0x461)]()+_0x43c94b(0x24f)+_0x17f3d1;}return _0x1a767c;}))});}['_getLoginPath'](){const _0x2b5cc0=_0x262f6e;var _0x2338a3,_0x549c9a;const _0x3879f9=this['_configService'][_0x2b5cc0(0x3ab)](Ln),_0x288d8f=this[_0x2b5cc0(0x3e1)][_0x2b5cc0(0x3ab)](j);return(_0x549c9a=(_0x2338a3=_0x288d8f==null?void 0x0:_0x288d8f[_0x2b5cc0(0x38d)])!=null?_0x2338a3:_0x3879f9)!=null?_0x549c9a:$n;}};et=xo([pt(0x0,_0x4b38b2),pt(0x1,_0x26d5df(_0x3c5275)),pt(0x2,_0x26d5df(_0x32fffe))],et);var ko=Object[_0x262f6e(0x44e)],Bo=Object[_0x262f6e(0x3c2)],Vo=(_0x116b1f,_0xdcac84,_0x51ef18,_0x5c6e3c)=>{const _0x406e7a=_0x262f6e;for(var _0x49561e=_0x5c6e3c>0x1?void 0x0:_0x5c6e3c?Bo(_0xdcac84,_0x51ef18):_0xdcac84,_0x1c238c=_0x116b1f[_0x406e7a(0x1c5)]-0x1,_0x20ea33;_0x1c238c>=0x0;_0x1c238c--)(_0x20ea33=_0x116b1f[_0x1c238c])&&(_0x49561e=(_0x5c6e3c?_0x20ea33(_0xdcac84,_0x51ef18,_0x49561e):_0x20ea33(_0x49561e))||_0x49561e);return _0x5c6e3c&&_0x49561e&&ko(_0xdcac84,_0x51ef18,_0x49561e),_0x49561e;},vs=(_0x5195de,_0x1a9091)=>(_0x53a04c,_0xd3521a)=>_0x1a9091(_0x53a04c,_0xd3521a,_0x5195de);const Fo='AUTHZ_URL_KEY',Wo='/universer-api/authz';let Ut=class extends _0x553a63{constructor(_0x55a60b,_0x1162bc){const _0x45cb42=_0x262f6e;super(),this[_0x45cb42(0x21b)]=_0x55a60b,this[_0x45cb42(0x3e1)]=_0x1162bc,this[_0x45cb42(0x45d)]();}['_initMergeInterceptor'](){const _0x23f020=_0x262f6e,_0x397fda=this;this[_0x23f020(0x2fd)](this[_0x23f020(0x21b)][_0x23f020(0x262)]({'priority':0x3e7,'interceptor':_0x3f7228({'isMatch'(_0x398871){const _0xcb7c=_0x23f020;var _0x340afa;if(_0x398871[_0xcb7c(0x25c)]==='POST'&&((_0x340afa=_0x398871['requestParams'])!=null&&_0x340afa[_0xcb7c(0x436)])){const {objectID:_0x30154b,objectType:_0x27c297}=_0x398871[_0xcb7c(0x275)][_0xcb7c(0x436)]||{};if(!_0x30154b||_0x27c297===void 0x0)return!0x1;const _0x1a4186=_0x397fda[_0xcb7c(0x342)]()+'/'+_0x27c297+_0xcb7c(0x3e2)+_0x30154b+_0xcb7c(0x4d7);if(_0x398871[_0xcb7c(0x427)]===_0x1a4186)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5563b7){const _0x57ae57=_0x23f020;var _0x5face6;return(_0x5face6=_0x5563b7[_0x57ae57(0x275)])==null?void 0x0:_0x5face6[_0x57ae57(0x436)];},'mergeParamsToRequest'(_0x49d0bd,_0x39643){const _0x1f5d46=_0x23f020,_0x51bccf=_0x397fda['_getAPIPrefixPath']()+_0x1f5d46(0x48a),_0x565cc6=_0x49d0bd['reduce']((_0x2acdd2,_0x23b8e7)=>{const _0xaaf84=_0x1f5d46,{unitID:_0x22293c,objectID:_0x969c3f,objectType:_0x564174,actions:_0x4aa55c}=_0x23b8e7;return _0x2acdd2[_0x22293c]||(_0x2acdd2[_0x22293c]={}),_0x2acdd2[_0x22293c][_0x969c3f]||(_0x2acdd2[_0x22293c][_0x969c3f]={'objectID':_0x969c3f,'objectType':_0x564174,'actions':[]}),_0x2acdd2[_0x22293c][_0x969c3f]['actions'][_0xaaf84(0x4b8)](..._0x4aa55c),_0x2acdd2;},{}),_0x1bf39f=[];for(const _0xb7eb66 in _0x565cc6)for(const _0x5a01b4 in _0x565cc6[_0xb7eb66]){const {actions:_0x145c8f,objectType:_0x5b754d}=_0x565cc6[_0xb7eb66][_0x5a01b4],_0x286b6f=[...new Set(_0x145c8f)];_0x1bf39f[_0x1f5d46(0x4b8)]({'unitID':_0xb7eb66,'objectID':_0x5a01b4,'objectType':_0x5b754d,'actions':_0x286b6f});}return new _0x4f14b8(_0x1f5d46(0x3eb),_0x51bccf,{'headers':_0x39643['headers'],'withCredentials':_0x39643[_0x1f5d46(0x3d8)],'responseType':_0x39643[_0x1f5d46(0x4e2)],'body':{'requests':_0x1bf39f}});}},{'distributeResult'(_0x269174,_0x3472f9){const _0x48c5b8=_0x23f020,{objectActions:_0xe769e3}=_0x269174;return _0x3472f9[_0x48c5b8(0x2a8)](_0x2aba9e=>{const _0x5bdd1a=_0x48c5b8,{unitID:_0x2b0932,objectID:_0x13569a,actions:_0x41db4d}=_0x2aba9e,_0x2ee99b=_0xe769e3[_0x5bdd1a(0x505)](_0xf3040d=>_0xf3040d[_0x5bdd1a(0x392)]===_0x2b0932&&_0xf3040d[_0x5bdd1a(0x216)]===_0x13569a),_0x49daf6=_0x41db4d['map'](_0x42b184=>_0x2ee99b==null?void 0x0:_0x2ee99b['actions']['find'](_0x231146=>_0x231146[_0x5bdd1a(0x39c)]===_0x42b184))[_0x5bdd1a(0x346)](_0x32fc0b=>!!_0x32fc0b);return{'config':_0x2aba9e,'result':{'actions':_0x49daf6,'error':_0x269174[_0x5bdd1a(0x280)]}};});}})}));}[_0x262f6e(0x342)](){const _0x31b4a5=_0x262f6e;var _0x2e5615,_0xed989a;const _0x2be92a=this[_0x31b4a5(0x3e1)]['getConfig'](Fo),_0x32f22e=this[_0x31b4a5(0x3e1)]['getConfig'](j);return(_0xed989a=(_0x2e5615=_0x32f22e==null?void 0x0:_0x32f22e['authzUrl'])!=null?_0x2e5615:_0x2be92a)!=null?_0xed989a:Wo;}async['create'](_0x48cfc6){const _0x1f5559=_0x262f6e,_0x88f747=this[_0x1f5559(0x342)]()+'/'+_0x48cfc6['objectType']+_0x1f5559(0x506);return(await this[_0x1f5559(0x21b)]['post'](_0x88f747,{'body':_0x48cfc6}))['body'][_0x1f5559(0x216)]||'';}async['list'](_0x39f4b6){const _0x15f8c5=_0x262f6e,_0x31f3a7=this[_0x15f8c5(0x342)]()+'/-/object/list';return(await this['_HTTPService'][_0x15f8c5(0x493)](_0x31f3a7,{'body':_0x39f4b6}))[_0x15f8c5(0x436)][_0x15f8c5(0x414)];}async[_0x262f6e(0x3e3)](_0xc2a05d){const _0x4c7b22=_0x262f6e,_0x32768d=this[_0x4c7b22(0x342)]()+'/'+_0xc2a05d[_0x4c7b22(0x1e4)]+_0x4c7b22(0x3e2)+_0xc2a05d[_0x4c7b22(0x216)];await this[_0x4c7b22(0x21b)][_0x4c7b22(0x30c)](_0x32768d,{'body':_0xc2a05d});}async['allowed'](_0x44a0d9){const _0x103478=_0x262f6e,_0x3fe853=this[_0x103478(0x342)]()+'/'+_0x44a0d9[_0x103478(0x1e4)]+_0x103478(0x3e2)+_0x44a0d9[_0x103478(0x216)]+_0x103478(0x4d7);return(await this['_HTTPService'][_0x103478(0x493)](_0x3fe853,{'body':_0x44a0d9}))[_0x103478(0x436)][_0x103478(0x1f4)];}async[_0x262f6e(0x1a4)](_0x4d4efe){const _0x35df01=_0x262f6e,_0xb1d71d=this[_0x35df01(0x342)]()+_0x35df01(0x48a);return(await this['_HTTPService'][_0x35df01(0x493)](_0xb1d71d,{'body':{'requests':_0x4d4efe}}))['body'][_0x35df01(0x389)];}async[_0x262f6e(0x2b4)](_0x4e81f6){const _0x1b7b50=_0x262f6e,_0x2e16a4=this[_0x1b7b50(0x342)]()+'/'+_0x4e81f6[_0x1b7b50(0x1e4)]+_0x1b7b50(0x2bc),_0xedde3d=await this[_0x1b7b50(0x21b)][_0x1b7b50(0x493)](_0x2e16a4,{'body':_0x4e81f6});return{'roles':_0xedde3d['body'][_0x1b7b50(0x237)],'actions':_0xedde3d[_0x1b7b50(0x436)]['actions']};}async[_0x262f6e(0x400)](_0x4676c8){const _0x52f183=_0x262f6e,_0xcada70=this[_0x52f183(0x342)]()+_0x52f183(0x2c6);await this[_0x52f183(0x21b)][_0x52f183(0x47a)](_0xcada70,{'params':{'collaboratorID':_0x4676c8[_0x52f183(0x52a)],'objectID':_0x4676c8[_0x52f183(0x216)],'unitID':_0x4676c8[_0x52f183(0x392)]}});}async[_0x262f6e(0x2aa)](_0x780088){const _0x123abd=_0x262f6e,_0x1ed087=this[_0x123abd(0x342)]()+'/collaborator';await this['_HTTPService'][_0x123abd(0x261)](_0x1ed087,{'body':_0x780088});}async[_0x262f6e(0x2f3)](_0x2ef0cd){const _0x28d83b=_0x262f6e,_0x2b3c42=this[_0x28d83b(0x342)]()+_0x28d83b(0x2c6);await this[_0x28d83b(0x21b)][_0x28d83b(0x493)](_0x2b3c42,{'body':_0x2ef0cd});}async[_0x262f6e(0x387)](_0x4e5076){const _0x5248f1=_0x262f6e,_0x19ab37=this[_0x5248f1(0x342)]()+_0x5248f1(0x2c6);return(await this[_0x5248f1(0x21b)][_0x5248f1(0x358)](_0x19ab37,{'params':{'objectID':_0x4e5076[_0x5248f1(0x216)],'unitID':_0x4e5076[_0x5248f1(0x392)]}}))['body'][_0x5248f1(0x22f)];}async[_0x262f6e(0x2f8)](_0x3daed1){const _0x159077=_0x262f6e,_0x4516a4=this[_0x159077(0x342)]()+_0x159077(0x2c6);await this[_0x159077(0x21b)][_0x159077(0x30c)](_0x4516a4,{'body':_0x3daed1});}};Ut=Vo([vs(0x0,_0x26d5df(_0x3c5275)),vs(0x1,_0x26d5df(_0x4b38b2))],Ut);var Go=Object[_0x262f6e(0x44e)],Yo=Object['getOwnPropertyDescriptor'],Ko=(_0x12a4cf,_0x4fe391,_0x318bf7,_0x3ad3d0)=>{const _0x242560=_0x262f6e;for(var _0x4f6658=_0x3ad3d0>0x1?void 0x0:_0x3ad3d0?Yo(_0x4fe391,_0x318bf7):_0x4fe391,_0x4965cb=_0x12a4cf[_0x242560(0x1c5)]-0x1,_0x2538fd;_0x4965cb>=0x0;_0x4965cb--)(_0x2538fd=_0x12a4cf[_0x4965cb])&&(_0x4f6658=(_0x3ad3d0?_0x2538fd(_0x4fe391,_0x318bf7,_0x4f6658):_0x2538fd(_0x4f6658))||_0x4f6658);return _0x3ad3d0&&_0x4f6658&&Go(_0x4fe391,_0x318bf7,_0x4f6658),_0x4f6658;},Xo=(_0x84f608,_0x3be4ea)=>(_0x2876e4,_0x5b02e6)=>_0x3be4ea(_0x2876e4,_0x5b02e6,_0x84f608);let tt=class{constructor(_0xb4469e){const _0x594111=_0x262f6e;this['_httpService']=_0xb4469e,this[_0x594111(0x1bd)]();}['_initRequestHeader'](){const _0x4cadcb=_0x262f6e;this[_0x4cadcb(0x4b2)][_0x4cadcb(0x262)]({'interceptor':(_0x99d04b,_0x4ee47a)=>{const _0x1640b2=_0x4cadcb,_0x2e6705=_0x99d04b['headers'],_0x5bf810=_0x49ddc0();return _0x5bf810&&_0x2e6705[_0x1640b2(0x26b)](_0x1640b2(0x42d),_0x5bf810),_0x4ee47a(_0x99d04b);}});}};tt=Ko([Xo(0x0,_0x26d5df(_0x3c5275))],tt);var qo=Object['defineProperty'],Jo=Object[_0x262f6e(0x3c2)],zo=(_0x93d5a7,_0x2eb2d4,_0x5127eb,_0x357264)=>{const _0x1978e2=_0x262f6e;for(var _0x3578d6=_0x357264>0x1?void 0x0:_0x357264?Jo(_0x2eb2d4,_0x5127eb):_0x2eb2d4,_0x2d5c74=_0x93d5a7[_0x1978e2(0x1c5)]-0x1,_0xec1394;_0x2d5c74>=0x0;_0x2d5c74--)(_0xec1394=_0x93d5a7[_0x2d5c74])&&(_0x3578d6=(_0x357264?_0xec1394(_0x2eb2d4,_0x5127eb,_0x3578d6):_0xec1394(_0x3578d6))||_0x3578d6);return _0x357264&&_0x3578d6&&qo(_0x2eb2d4,_0x5127eb,_0x3578d6),_0x3578d6;},vt=(_0x1a3a88,_0x4ec71e)=>(_0x560aeb,_0x38f6bb)=>_0x4ec71e(_0x560aeb,_0x38f6bb,_0x1a3a88);const Zo=[_0x262f6e(0x40a),_0x262f6e(0x1b3),_0x262f6e(0x413),'image/gif','image/bmp'],Qo=0x5*0x400*0x400,ea=_0x262f6e(0x429),ta='/universer-api/stream/file/upload',sa=_0x262f6e(0x311),ia=_0x262f6e(0x1c6);let Nt=class{constructor(_0x3dfcee,_0x1a4f26,_0x501efc){const _0x2f0dbd=_0x262f6e;l(this,'_waitCount',0x0),l(this,_0x2f0dbd(0x2c0),new _0x154ded()),l(this,_0x2f0dbd(0x1d8),this[_0x2f0dbd(0x2c0)]),l(this,'_imageSourceCache',new Map()),(this[_0x2f0dbd(0x4b2)]=_0x3dfcee,this[_0x2f0dbd(0x3e1)]=_0x1a4f26,this[_0x2f0dbd(0x39a)]=_0x501efc);}['setWaitCount'](_0x1e47da){const _0x2f99dd=_0x262f6e;this[_0x2f99dd(0x422)]=_0x1e47da,this[_0x2f99dd(0x2c0)][_0x2f99dd(0x377)](_0x1e47da);}['getImageSourceCache'](_0x535ffa,_0x1e7ead){const _0x3ed4fb=_0x262f6e;if(_0x1e7ead===_0x32a875[_0x3ed4fb(0x4cc)]){const _0x2e4971=new Image();return _0x2e4971[_0x3ed4fb(0x359)]=_0x535ffa,_0x2e4971;}return this[_0x3ed4fb(0x26c)]['get'](_0x535ffa);}['addImageSourceCache'](_0x55ffb5,_0x51f2b6,_0x193448){const _0x145530=_0x262f6e;_0x51f2b6===_0x32a875[_0x145530(0x4cc)]||_0x193448==null||this[_0x145530(0x26c)]['set'](_0x55ffb5,_0x193448);}async[_0x262f6e(0x4e0)](_0x3901be){const _0x4325ea=_0x262f6e;try{const _0x14e2c6=this[_0x4325ea(0x45a)](this[_0x4325ea(0x49f)](),''+_0x3901be),_0x1405bc=(await this[_0x4325ea(0x4b2)][_0x4325ea(0x358)](_0x14e2c6))[_0x4325ea(0x436)];if(_0x1405bc[_0x4325ea(0x280)]&&_0x1405bc[_0x4325ea(0x280)][_0x4325ea(0x1e2)]===ks['OK']){const _0x8d243=new URL(_0x1405bc[_0x4325ea(0x427)],this[_0x4325ea(0x287)]())[_0x4325ea(0x343)]();return Promise[_0x4325ea(0x430)](_0x8d243);}return Promise['reject'](_0x1405bc[_0x4325ea(0x280)]);}catch(_0x47dc68){return Promise['reject'](_0x47dc68);}}async[_0x262f6e(0x4b5)](_0x562383){const _0x170724=_0x262f6e;let _0x2a23ab='';if(!Zo[_0x170724(0x4d9)](_0x562383[_0x170724(0x3f2)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0xd1763c[_0x170724(0x2e6)]));if(_0x562383[_0x170724(0x4a9)]>Qo)return this[_0x170724(0x318)](),Promise[_0x170724(0x323)](new Error(_0xd1763c[_0x170724(0x36b)]));try{const _0x565510=new FormData();_0x565510[_0x170724(0x2ff)](_0x170724(0x362),_0x562383);const _0x538c47=this[_0x170724(0x39a)][_0x170724(0x472)](),_0xfc277c=_0x538c47==null?void 0x0:_0x538c47[_0x170724(0x355)]();if(!_0xfc277c)throw new Error(_0x170724(0x2ab));const _0x2b2b03=this[_0x170724(0x3a3)]()+_0x170724(0x333)+_0x562383[_0x170724(0x4a9)][_0x170724(0x343)]()+_0x170724(0x1ec)+Bs['UnitEmbedded']+_0x170724(0x1b7)+encodeURIComponent(_0xfc277c),_0x29d1f5=await(await fetch(_0x2b2b03,{'method':_0x170724(0x3eb),'body':_0x565510}))[_0x170724(0x42e)]();if(typeof _0x29d1f5[_0x170724(0x1bb)]!=_0x170724(0x245))return this[_0x170724(0x318)](),Promise[_0x170724(0x323)](new Error(_0xd1763c[_0x170724(0x35e)]));_0x2a23ab=_0x29d1f5[_0x170724(0x1bb)];}catch{return this[_0x170724(0x318)](),Promise[_0x170724(0x323)](new Error(_0xd1763c[_0x170724(0x35e)]));}return new Promise((_0xb6ffd3,_0xb57a99)=>{const _0x4192cc=_0x170724,_0x49039a=new FileReader();_0x49039a[_0x4192cc(0x459)](_0x562383),_0x49039a['onload']=_0x2b8aab=>{const _0x37ebde=_0x4192cc;var _0x518837;const _0x4b0419=(_0x518837=_0x2b8aab[_0x37ebde(0x465)])==null?void 0x0:_0x518837[_0x37ebde(0x4c9)];if(_0x4b0419==null){this[_0x37ebde(0x318)](),_0xb57a99(new Error(_0xd1763c[_0x37ebde(0x35e)]));return;}const _0x388163=_0x385cf5[_0x37ebde(0x292)](0x6);_0xb6ffd3({'imageId':_0x388163,'imageSourceType':_0x32a875[_0x37ebde(0x480)],'source':_0x2a23ab,'base64Cache':_0x4b0419,'status':_0xd1763c[_0x37ebde(0x203)]}),this[_0x37ebde(0x318)]();};});}[_0x262f6e(0x3a3)](){const _0x4aa17f=_0x262f6e;var _0xfe3039,_0x35decc;const _0x10ff27=this['_configService']['getConfig'](ea),_0x17cdde=this[_0x4aa17f(0x3e1)][_0x4aa17f(0x3ab)](j);return(_0x35decc=(_0xfe3039=_0x17cdde==null?void 0x0:_0x17cdde[_0x4aa17f(0x23a)])!=null?_0xfe3039:_0x10ff27)!=null?_0x35decc:ta;}[_0x262f6e(0x49f)](){const _0xfcbd7=_0x262f6e;var _0x482551,_0x40a5f9;const _0x50e873=this[_0xfcbd7(0x3e1)][_0xfcbd7(0x3ab)](sa),_0x178fce=this[_0xfcbd7(0x3e1)][_0xfcbd7(0x3ab)](j);return(_0x40a5f9=(_0x482551=_0x178fce==null?void 0x0:_0x178fce[_0xfcbd7(0x46d)])!=null?_0x482551:_0x50e873)!=null?_0x40a5f9:ia;}[_0x262f6e(0x287)](){const _0x266d4d=_0x262f6e;var _0x1dfb17;const _0x40c97b=this[_0x266d4d(0x3e1)][_0x266d4d(0x3ab)](j);return(_0x1dfb17=_0x40c97b==null?void 0x0:_0x40c97b[_0x266d4d(0x46a)])!=null?_0x1dfb17:location[_0x266d4d(0x4e4)];}[_0x262f6e(0x45a)](_0xfff9f3,_0x1ab862){const _0x4ea84f=_0x262f6e;return _0xfff9f3[_0x4ea84f(0x33d)]('{fileID}',_0x1ab862);}['_decreaseWaiting'](){const _0x1761a5=_0x262f6e;this['_waitCount']-=0x1,this['_change$'][_0x1761a5(0x377)](this[_0x1761a5(0x422)]);}};Nt=zo([vt(0x0,_0x26d5df(_0x3c5275)),vt(0x1,_0x4b38b2),vt(0x2,_0x26d5df(_0x377149))],Nt);var na=Object[_0x262f6e(0x44e)],ra=Object['getOwnPropertyDescriptor'],oa=(_0x35f208,_0x5c3343,_0x459e9a,_0x469749)=>{const _0x10e1a6=_0x262f6e;for(var _0x4a4186=_0x469749>0x1?void 0x0:_0x469749?ra(_0x5c3343,_0x459e9a):_0x5c3343,_0xb43f81=_0x35f208[_0x10e1a6(0x1c5)]-0x1,_0x4ef8f6;_0xb43f81>=0x0;_0xb43f81--)(_0x4ef8f6=_0x35f208[_0xb43f81])&&(_0x4a4186=(_0x469749?_0x4ef8f6(_0x5c3343,_0x459e9a,_0x4a4186):_0x4ef8f6(_0x4a4186))||_0x4a4186);return _0x469749&&_0x4a4186&&na(_0x5c3343,_0x459e9a,_0x4a4186),_0x4a4186;},Ue=(_0x4f12ac,_0x52741e)=>(_0x3387bb,_0x4c6998)=>_0x52741e(_0x3387bb,_0x4c6998,_0x4f12ac);let st=class extends _0x866c0c{constructor(_0x434d46,_0x49f018,_0xe20377,_0x81ff84,_0x3e4190){const _0x459e3a=_0x262f6e;super(),this[_0x459e3a(0x3af)]=_0x434d46,this[_0x459e3a(0x39a)]=_0x49f018,this[_0x459e3a(0x2ac)]=_0xe20377,this['_collaborationSessionService']=_0x81ff84,this[_0x459e3a(0x33a)]=_0x3e4190,this[_0x459e3a(0x363)](),this[_0x459e3a(0x50b)]();}[_0x262f6e(0x50b)](){const _0x39fb5f=_0x262f6e,_0x524829=async _0x2087cf=>{const _0x338a9c=_0x275e;(await this[_0x338a9c(0x52c)][_0x338a9c(0x246)](_0x2087cf))[_0x338a9c(0x276)][_0x338a9c(0x337)](_0x4fbabd(_0x500dfe=>_0x500dfe['eventID']===_0x1f4b1b[_0x338a9c(0x1b1)]),_0x17d262(this[_0x338a9c(0x277)]))['subscribe'](_0x3c379b=>{const _0x22d27b=_0x338a9c,_0x48855a=_0x3c379b,{reason:_0x3cf238}=_0x48855a[_0x22d27b(0x3d9)];this[_0x22d27b(0x3af)][_0x22d27b(0x358)](_0x2f20aa)[_0x22d27b(0x4f5)]({'type':_0x5ed11f[_0x22d27b(0x31d)],'content':this[_0x22d27b(0x33a)]['t'](_0x22d27b(0x344))+'('+_0x3cf238+')'}),this[_0x22d27b(0x2ac)]['updatePermissionPoint'](new _0x23f88f(_0x2087cf)['id'],!0x1),this[_0x22d27b(0x52c)]['closeSession'](_0x2087cf);});};_0x4e21b3(this[_0x39fb5f(0x39a)]['getTypeOfUnitAdded$'](_0x4e9f6c['UNIVER_SHEET']),this[_0x39fb5f(0x39a)][_0x39fb5f(0x487)](_0x4e9f6c[_0x39fb5f(0x2e7)]))[_0x39fb5f(0x337)](_0x5eb34b(_0x22d35c=>_0x22d35c[_0x39fb5f(0x355)]()),_0x4fbabd(_0x144327=>!_0x2068c5(_0x144327)),_0x17d262(this[_0x39fb5f(0x277)]))['subscribe'](_0x5813bd=>{_0x524829(_0x5813bd);});}['_initUnitPermissionChange'](){const _0x447121=_0x262f6e,_0x22fe89=async _0x3c218e=>{const _0x1dfeb3=_0x275e;(await this[_0x1dfeb3(0x52c)]['requireSession'](_0x3c218e))[_0x1dfeb3(0x276)]['pipe'](_0x4fbabd(_0x4b5817=>_0x4b5817[_0x1dfeb3(0x4d1)]===_0x1f4b1b[_0x1dfeb3(0x523)]),_0x17d262(this['dispose$']))[_0x1dfeb3(0x481)](_0x525687=>{const _0x28bffa=_0x1dfeb3,_0x20f62d=_0x525687,{objectId:_0x438a1d}=_0x20f62d['data'],_0x442723=this['_injector'][_0x28bffa(0x358)](_0x10cfb6);_0x438a1d===_0x3c218e?_0x442723[_0x28bffa(0x29a)](_0x3c218e):_0x442723[_0x28bffa(0x2d7)](_0x3c218e,_0x438a1d);});};_0x4e21b3(this[_0x447121(0x39a)][_0x447121(0x487)](_0x4e9f6c[_0x447121(0x2ad)]),this[_0x447121(0x39a)][_0x447121(0x487)](_0x4e9f6c[_0x447121(0x2e7)]))[_0x447121(0x337)](_0x5eb34b(_0xafed3a=>_0xafed3a[_0x447121(0x355)]()),_0x4fbabd(_0x3e2b77=>!_0x2068c5(_0x3e2b77)),_0x17d262(this[_0x447121(0x277)]))[_0x447121(0x481)](_0x41c491=>{_0x22fe89(_0x41c491);});}};st=oa([Ue(0x0,_0x26d5df(_0x506841)),Ue(0x1,_0x377149),Ue(0x2,_0x43df64),Ue(0x3,_0x26d5df(ue)),Ue(0x4,_0x26d5df(_0x32fffe))],st);var aa=Object['defineProperty'],ca=Object[_0x262f6e(0x3c2)],ha=(_0x57b785,_0x164ef0,_0x18b347,_0x416d81)=>{for(var _0x1aef1f=_0x416d81>0x1?void 0x0:_0x416d81?ca(_0x164ef0,_0x18b347):_0x164ef0,_0x2993a7=_0x57b785['length']-0x1,_0x1cfcf6;_0x2993a7>=0x0;_0x2993a7--)(_0x1cfcf6=_0x57b785[_0x2993a7])&&(_0x1aef1f=(_0x416d81?_0x1cfcf6(_0x164ef0,_0x18b347,_0x1aef1f):_0x1cfcf6(_0x1aef1f))||_0x1aef1f);return _0x416d81&&_0x1aef1f&&aa(_0x164ef0,_0x18b347,_0x1aef1f),_0x1aef1f;},Is=(_0x4b3032,_0x57b848)=>(_0x35dcf7,_0x32055a)=>_0x57b848(_0x35dcf7,_0x32055a,_0x4b3032);let At=class{constructor(_0x2bb9ae,_0x3b4709){const _0x4d73f8=_0x262f6e;this[_0x4d73f8(0x3e1)]=_0x2bb9ae,this['_httpService']=_0x3b4709;}async[_0x262f6e(0x405)](_0x55f8d3,_0x387893){const _0x294f12=_0x262f6e;var _0xe22f09;const {unitID:_0x201e73,type:_0xd9f1a6,revision:_0x173553=0x0}=_0x387893,_0x393b47=this[_0x294f12(0x41b)]()+'/'+_0xd9f1a6+_0x294f12(0x442)+_0x201e73+_0x294f12(0x39f)+_0x173553,_0x56ea01=(await this[_0x294f12(0x4b2)][_0x294f12(0x358)](_0x393b47))[_0x294f12(0x436)],_0x313905=(_0xe22f09=_0x56ea01[_0x294f12(0x34f)])==null?void 0x0:_0xe22f09['workbook'];if(_0x313905){const _0x4bb5a9=_0x313905==null?void 0x0:_0x313905['originalMeta'],_0x5c10f8=_0x1bd0bc[_0x294f12(0x520)](_0x222079(_0x4bb5a9));_0x313905[_0x294f12(0x264)]=_0x5c10f8,Object['entries'](_0x313905['sheets'])[_0x294f12(0x3a5)](([,_0x2e29b4])=>{const _0x211e89=_0x294f12,_0x264b89=_0x2e29b4[_0x211e89(0x264)],_0xa6e00f=_0x1bd0bc[_0x211e89(0x520)](_0x222079(_0x264b89));_0x2e29b4['originalMeta']=_0xa6e00f;});}return _0x56ea01;}async[_0x262f6e(0x456)](_0x54bfb7,_0x3ea406){const _0x25899b=_0x262f6e,{unitID:_0x188eba,type:_0x5b5adb,blockID:_0x5082b9}=_0x3ea406,_0x36dcdc=this[_0x25899b(0x393)]()+'/'+_0x5b5adb+_0x25899b(0x442)+_0x188eba+_0x25899b(0x4d8)+_0x5082b9;return(await this[_0x25899b(0x4b2)][_0x25899b(0x358)](_0x36dcdc))[_0x25899b(0x436)];}async[_0x262f6e(0x448)](_0xba3e91,_0x7d9e23){const _0x39cf64=_0x262f6e,{unitID:_0x16eb75,type:_0x5cc20d,blockID:_0x390f4c}=_0x7d9e23,_0x11cb53=this[_0x39cf64(0x393)]()+_0x39cf64(0x4d8)+_0x5cc20d+_0x39cf64(0x442)+_0x16eb75+_0x39cf64(0x4d8)+_0x390f4c;return(await this[_0x39cf64(0x4b2)][_0x39cf64(0x358)](_0x11cb53))[_0x39cf64(0x436)];}async[_0x262f6e(0x2ae)](_0x3a359d,_0x27c0a0){const _0x86a3c8=_0x262f6e,{unitID:_0x4178bc,type:_0x3da1ba,from:_0x25f32a,to:_0x3fe2f6}=_0x27c0a0,_0x2f0001=this['_getAPIPrefix']()+'/'+_0x3da1ba+_0x86a3c8(0x442)+_0x4178bc+_0x86a3c8(0x1b2)+_0x25f32a+'&to='+_0x3fe2f6;return(await this[_0x86a3c8(0x4b2)][_0x86a3c8(0x358)](_0x2f0001))[_0x86a3c8(0x436)];}['_getSnapshotAPIPrefix'](){const _0x378fbe=_0x262f6e;var _0x5a3e3b;return(_0x5a3e3b=this[_0x378fbe(0x3e1)][_0x378fbe(0x3ab)](Cn))!=null?_0x5a3e3b:this[_0x378fbe(0x393)]();}[_0x262f6e(0x393)](){const _0x5535c7=_0x262f6e;var _0xb8f150,_0x209f22;const _0x55bf0b=this[_0x5535c7(0x3e1)][_0x5535c7(0x3ab)](In),_0x339218=this[_0x5535c7(0x3e1)][_0x5535c7(0x3ab)](j);return(_0x209f22=(_0xb8f150=_0x339218==null?void 0x0:_0x339218[_0x5535c7(0x3d6)])!=null?_0xb8f150:_0x55bf0b)!=null?_0x209f22:En;}async[_0x262f6e(0x440)](_0x462204,_0x8cd7d6){const _0x5b852e=_0x262f6e,_0x49d6fa=_0x5b852e(0x39d)+_0x8cd7d6[_0x5b852e(0x3f2)]+_0x5b852e(0x442)+_0x8cd7d6['unitID']+_0x5b852e(0x4bd);return(await this['_httpService']['get'](_0x49d6fa,{'params':{'resourceId':JSON[_0x5b852e(0x3b1)](_0x8cd7d6[_0x5b852e(0x4f1)])}}))['body'];}[_0x262f6e(0x3ae)](){const _0x2c14bd=_0x262f6e;throw new Error(_0x2c14bd(0x4a2));}[_0x262f6e(0x1d7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){const _0x14ac16=_0x262f6e;throw new Error(_0x14ac16(0x4a2));}[_0x262f6e(0x4ea)](){const _0x4eac60=_0x262f6e;throw new Error(_0x4eac60(0x4a2));}[_0x262f6e(0x252)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};At=ha([Is(0x0,_0x4b38b2),Is(0x1,_0x26d5df(_0x3c5275))],At);var la=Object[_0x262f6e(0x44e)],_a=Object[_0x262f6e(0x3c2)],ua=(_0x2dfc08,_0x4f5da7,_0x5c9105,_0x85a438)=>{const _0x4954ef=_0x262f6e;for(var _0x8f087a=_0x85a438>0x1?void 0x0:_0x85a438?_a(_0x4f5da7,_0x5c9105):_0x4f5da7,_0x5c420f=_0x2dfc08[_0x4954ef(0x1c5)]-0x1,_0x1ef3cb;_0x5c420f>=0x0;_0x5c420f--)(_0x1ef3cb=_0x2dfc08[_0x5c420f])&&(_0x8f087a=(_0x85a438?_0x1ef3cb(_0x4f5da7,_0x5c9105,_0x8f087a):_0x1ef3cb(_0x8f087a))||_0x8f087a);return _0x85a438&&_0x8f087a&&la(_0x4f5da7,_0x5c9105,_0x8f087a),_0x8f087a;},Ne=(_0x187a2d,_0x263847)=>(_0x555008,_0x15c42b)=>_0x263847(_0x555008,_0x15c42b,_0x187a2d);let Mt=class extends _0x25e586{constructor(_0x367da8,_0x2be439,_0x436c16,_0x25a7c1,_0x5e1b4b){const _0x2ff06e=_0x262f6e;super(_0x367da8,_0x2be439,_0x436c16),this['_transformService']=_0x25a7c1,this[_0x2ff06e(0x310)]=_0x5e1b4b;}[_0x262f6e(0x1bc)](_0x30a31c,_0x53a002){const _0x4f973a=_0x262f6e,_0x299e03=this['_getUndoStack'](_0x30a31c);if(_0x299e03)try{const _0x2c0d69=this[_0x4f973a(0x2cd)](_0x299e03,_0x53a002);this[_0x4f973a(0x243)](_0x30a31c,_0x2c0d69);}catch(_0x4d0096){this[_0x4f973a(0x310)]['error'](_0x4f973a(0x479),_0x4d0096),this[_0x4f973a(0x210)](_0x30a31c);}const _0x5d76be=this[_0x4f973a(0x2ec)](_0x30a31c);if(_0x5d76be)try{const _0x5f5c18=this['_transformStack'](_0x5d76be,_0x53a002);this[_0x4f973a(0x491)](_0x30a31c,_0x5f5c18);}catch(_0x58a97a){this[_0x4f973a(0x310)][_0x4f973a(0x280)](_0x58a97a),this[_0x4f973a(0x50e)](_0x30a31c);}}[_0x262f6e(0x210)](_0x5bfe2b){const _0x478e86=_0x262f6e,_0x294b86=this[_0x478e86(0x45e)](_0x5bfe2b);_0x294b86&&(_0x294b86[_0x478e86(0x1c5)]=0x0,this[_0x478e86(0x4eb)]());}[_0x262f6e(0x50e)](_0x4dbf7d){const _0x16aee1=_0x262f6e,_0x1da97a=this[_0x16aee1(0x2ec)](_0x4dbf7d);_0x1da97a&&(_0x1da97a[_0x16aee1(0x1c5)]=0x0,this[_0x16aee1(0x4eb)]());}[_0x262f6e(0x243)](_0x3d49da,_0x5f07cc){const _0x389a13=_0x262f6e;this[_0x389a13(0x409)]['set'](_0x3d49da,_0x5f07cc),this[_0x389a13(0x4eb)]();}[_0x262f6e(0x491)](_0x197cb7,_0x23fc82){const _0xf15720=_0x262f6e;this[_0xf15720(0x31e)][_0xf15720(0x26b)](_0x197cb7,_0x23fc82),this[_0xf15720(0x4eb)]();}[_0x262f6e(0x2cd)](_0x2a337e,_0x28b826){const _0x3c414d=_0x262f6e,_0x4f44bb=[];let _0x11f47e=_0x28b826,_0x4dab03=_0x28b826;for(let _0x86ebc5=_0x2a337e['length']-0x1;_0x86ebc5>=0x0;_0x86ebc5--){const {unitID:_0x290460,undoMutations:_0x4e0e8f,redoMutations:_0x17d5c8}=_0x2a337e[_0x86ebc5],_0xc6de21=this[_0x3c414d(0x3a1)][_0x3c414d(0x289)](_0x11f47e,_0x4e0e8f),_0x789085=this[_0x3c414d(0x3a1)]['transformMutationsWithChangeset'](_0x4dab03,_0x17d5c8);if(_0x1e9034(_0xc6de21)||_0x1e9034(_0x789085)){this[_0x3c414d(0x310)][_0x3c414d(0x280)](_0x3c414d(0x479),_0x3c414d(0x4da),_0xc6de21,_0x789085);break;}_0x11f47e=_0xc6de21[_0x3c414d(0x1f6)],_0x4dab03=_0x789085[_0x3c414d(0x1f6)],_0x4f44bb[_0x3c414d(0x4b8)]({'unitID':_0x290460,'undoMutations':_0xc6de21[_0x3c414d(0x329)],'redoMutations':_0x789085[_0x3c414d(0x329)]});}return _0x4f44bb[_0x3c414d(0x354)]();}};Mt=ua([Ne(0x0,_0x377149),Ne(0x1,_0x19a5a5),Ne(0x2,_0x3db295),Ne(0x3,_0x3345fe),Ne(0x4,_0x2bd539)],Mt);class da extends _0x866c0c{constructor(){const _0x5bbb70=_0x262f6e;super(),l(this,_0x5bbb70(0x522)),this[_0x5bbb70(0x522)]=_0x3d0e04(window,_0x5bbb70(0x306))[_0x5bbb70(0x337)](_0x1e91dc(this[_0x5bbb70(0x277)]),_0x9d8e86(0x1),_0x23a87a(void 0x0));}['setParam'](_0xe5980,_0x130fd5,_0x22986b=!0x1){const _0x38e20c=_0x262f6e,_0x4b3ba7=new URL(window[_0x38e20c(0x248)][_0x38e20c(0x1ca)]);_0x4b3ba7[_0x38e20c(0x349)]['set'](_0xe5980,_0x130fd5),_0x22986b?window['history'][_0x38e20c(0x446)]('','',_0x4b3ba7[_0x38e20c(0x343)]()):window[_0x38e20c(0x4b6)][_0x38e20c(0x4e6)]('','',_0x4b3ba7[_0x38e20c(0x343)]());}['removeParam'](_0x37295e,_0x2b3888=!0x1){const _0x4005c3=_0x262f6e,_0x1789ef=new URL(window[_0x4005c3(0x248)][_0x4005c3(0x1ca)]);_0x1789ef[_0x4005c3(0x349)][_0x4005c3(0x47a)](_0x37295e),_0x2b3888?window['history'][_0x4005c3(0x446)]('','',_0x1789ef[_0x4005c3(0x343)]()):window[_0x4005c3(0x4b6)][_0x4005c3(0x4e6)]('','',_0x1789ef[_0x4005c3(0x343)]());}['getParam'](_0x5aa4ec){const _0x23c9be=_0x262f6e;var _0x53c7cc;return(_0x53c7cc=new URL(window[_0x23c9be(0x248)][_0x23c9be(0x1ca)])[_0x23c9be(0x349)][_0x23c9be(0x358)](_0x5aa4ec))!=null?_0x53c7cc:void 0x0;}}var ei=Object[_0x262f6e(0x44e)],ma=Object[_0x262f6e(0x3c2)],fa=(_0x5ddc49,_0x1f74dd,_0x57bc61)=>_0x1f74dd in _0x5ddc49?ei(_0x5ddc49,_0x1f74dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57bc61}):_0x5ddc49[_0x1f74dd]=_0x57bc61,ga=(_0x3126fd,_0x50e254,_0x78e3da,_0x5992a5)=>{for(var _0x10b868=_0x5992a5>0x1?void 0x0:_0x5992a5?ma(_0x50e254,_0x78e3da):_0x50e254,_0x9e4988=_0x3126fd['length']-0x1,_0x47601f;_0x9e4988>=0x0;_0x9e4988--)(_0x47601f=_0x3126fd[_0x9e4988])&&(_0x10b868=(_0x5992a5?_0x47601f(_0x50e254,_0x78e3da,_0x10b868):_0x47601f(_0x10b868))||_0x10b868);return _0x5992a5&&_0x10b868&&ei(_0x50e254,_0x78e3da,_0x10b868),_0x10b868;},Fe=(_0x42b751,_0x54f74d)=>(_0xfe919e,_0x4fdbe5)=>_0x54f74d(_0xfe919e,_0x4fdbe5,_0x42b751),Sa=(_0x58bcc2,_0x24922d,_0x326f86)=>fa(_0x58bcc2,_0x24922d+'',_0x326f86);const pa='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Lt=class extends _0x437a51{constructor(_0xd845cc=jn,_0x48cac2,_0x2ab37b,_0x1956d2,_0x30788f){const _0x297d4e=_0x262f6e;super(),this[_0x297d4e(0x395)]=_0xd845cc,this['_logService']=_0x48cac2,this[_0x297d4e(0x411)]=_0x2ab37b,this[_0x297d4e(0x3af)]=_0x1956d2,this[_0x297d4e(0x3e1)]=_0x30788f;const {..._0x1667cd}=this[_0x297d4e(0x395)];this[_0x297d4e(0x3e1)][_0x297d4e(0x511)](j,_0x1667cd);}[_0x262f6e(0x266)](){const _0x295cd9=_0x262f6e;this[_0x295cd9(0x2b7)](),_0x56b2d1(this[_0x295cd9(0x3af)],[[Ce],[Ze],[st]]);}['onReady'](){const _0x472c18=_0x262f6e;_0x56b2d1(this[_0x472c18(0x3af)],[[Qe]]);}[_0x262f6e(0x366)](){this['_registerRenderDependencies']();}[_0x262f6e(0x2b7)](){const _0x21fd3d=_0x262f6e;var _0x4e2beb,_0x274720,_0x2a5ebf,_0x15876b;this[_0x21fd3d(0x3af)]['has'](_0x529156)&&this[_0x21fd3d(0x310)][_0x21fd3d(0x280)](_0x21fd3d(0x234),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');let _0x5859b8=[[_0x529156,{'useClass':Mt}],[ue],[Yt],[_0x3c5275],[Qs,{'useClass':da}],[_e],[D],[_0x211742],[qe],[Je],[Xe],[Wt],[et],[tt],[Fs],[st],[Vs,{'useClass':(_0x274720=(_0x4e2beb=this[_0x21fd3d(0x395)])==null?void 0x0:_0x4e2beb[_0x21fd3d(0x521)])!=null?_0x274720:bt}],[_0x4119fd,{'useClass':_0xc39664}],[_0x4b6234,{'useClass':At}],[_0x4d3181,{'useClass':Ut}],[_0x163786,{'useClass':Nt}],[$e],[Ze],[Me],[Qe],[Ce]];(_0x2a5ebf=this[_0x21fd3d(0x395)])!=null&&_0x2a5ebf[_0x21fd3d(0x2d0)]&&_0x5859b8['push']([it,{'useClass':Sr}]),_0x5859b8=_0x34f8eb(_0x5859b8,(_0x15876b=this['_config'])==null?void 0x0:_0x15876b['override']),_0x5859b8[_0x21fd3d(0x3a5)](_0x5347d0=>this[_0x21fd3d(0x3af)][_0x21fd3d(0x33e)](_0x5347d0)),this[_0x21fd3d(0x36d)]();}['_registerRenderDependencies'](){const _0x197b55=_0x262f6e;this[_0x197b55(0x2fd)](this[_0x197b55(0x411)][_0x197b55(0x205)](_0x4e9f6c['UNIVER_DOC'],[Pt])),this[_0x197b55(0x2fd)](this['_renderManagerService'][_0x197b55(0x205)](_0x4e9f6c[_0x197b55(0x2ad)],[yt]));}[_0x262f6e(0x36d)](){const _0x3c9b67=_0x262f6e;var _0xfebd84,_0x68983f;this[_0x3c9b67(0x3af)][_0x3c9b67(0x358)](_0x3c5275)[_0x3c9b67(0x262)]({'priority':0x14,'interceptor':_0x51b6cb({'maxParallel':0x6})}),this[_0x3c9b67(0x3af)][_0x3c9b67(0x358)](tt),(_0xfebd84=this[_0x3c9b67(0x395)])!=null&&_0xfebd84['enableOfflineEditing']||this[_0x3c9b67(0x3af)]['get'](D)[_0x3c9b67(0x4a5)](),(_0x68983f=this[_0x3c9b67(0x395)])!=null&&_0x68983f['enableAuthServer']&&this['_injector'][_0x3c9b67(0x358)](et),this[_0x3c9b67(0x3af)][_0x3c9b67(0x358)]($e),this['_injector']['has'](Me)&&this[_0x3c9b67(0x3af)]['get'](Me);}};Sa(Lt,_0x262f6e(0x23f),pa),Lt=ga([_0x35196a(_0x4a91ff),Fe(0x1,_0x2bd539),Fe(0x2,_0x4b2759),Fe(0x3,_0x26d5df(_0x506841)),Fe(0x4,_0x4b38b2)],Lt);export{Fo as AUTHZ_URL_KEY,Ut as AuthzIoHttpService,An as COLLAB_SUBMIT_CHANGESET_URL_KEY,Tn as COLLAB_WEB_SOCKET_URL_KEY,$e as CollaborationController,ze as CollaborationEntity,Tt as CollaborationSession,ue as CollaborationSessionService,bt as CollaborationSocketService,w as CollaborationStatus,To as CollaborationStatusDisplay,Fs as CommentService,Ze as DataLoaderController,Me as DesktopCollaborationStatusDisplayController,Rt as DocCollaborationEntity,On as HEARTBEAT_INTERVAL_KEY,Hs as HEARTBEAT_TIMEOUT_KEY,Vs as ICollaborationSocketService,Qs as IURLService,Nt as ImageIoService,Un as LOCAL_CACHE_INTERVAL_KEY,Ln as LOGIN_URL_KEY,D as LocalCacheService,_e as MemberService,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,Ha as SEND_CHANGESET_TIMEOUT_KEY,In as SNAPSHOT_SERVER_URL_KEY,Cn as SNAPSHOT_URL_KEY,X as SessionStatus,no as SheetCollabCursorShape,Ot as SheetCollaborationEntity,At as SnapshotServerOverHTTPService,Lt as UniverCollaborationClientPlugin,da as WebURLService,Hn as deserializeToCombResponse,xn as serializeCombRequest};
1
+ const _0x1a7f07=_0x54d3;(function(_0x76e140,_0x1c9259){const _0x237b10=_0x54d3,_0x5ceb75=_0x76e140();while(!![]){try{const _0x5d82b5=parseInt(_0x237b10(0x499))/0x1+-parseInt(_0x237b10(0x49e))/0x2+-parseInt(_0x237b10(0x209))/0x3+parseInt(_0x237b10(0x368))/0x4*(-parseInt(_0x237b10(0x4c9))/0x5)+-parseInt(_0x237b10(0x55b))/0x6+-parseInt(_0x237b10(0x498))/0x7+parseInt(_0x237b10(0x27c))/0x8;if(_0x5d82b5===_0x1c9259)break;else _0x5ceb75['push'](_0x5ceb75['shift']());}catch(_0x4f4eae){_0x5ceb75['push'](_0x5ceb75['shift']());}}}(_0x5961,0xb5b0a));var Ki=Object[_0x1a7f07(0x5b3)],zi=(_0x57a78c,_0xc3fe17,_0x367e9e)=>_0xc3fe17 in _0x57a78c?Ki(_0x57a78c,_0xc3fe17,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x367e9e}):_0x57a78c[_0xc3fe17]=_0x367e9e,g=(_0xc0233c,_0x4ee335,_0x578b59)=>zi(_0xc0233c,typeof _0x4ee335!='symbol'?_0x4ee335+'':_0x4ee335,_0x578b59);import{createIdentifier as _0x2707b7,Inject as _0x5cf6ec,Disposable as _0x3b3e75,DisposableCollection as _0xb0f374,toDisposable as _0x1c981a,IConfigService as _0x34b905,ILogService as _0x1e210b,UserManagerService as _0x133322,UniverInstanceType as _0x31d58f,IUniverInstanceService as _0x1726a1,LocaleService as _0x51f47a,Optional as _0x94953d,RxDisposable as _0x1cb902,Injector as _0xc0c089,Tools as _0x235991,ILocalStorageService as _0x2a11e6,Rectangle as _0x194108,ICommandService as _0x322b66,DOC_RANGE_TYPE as _0xe3b3a7,JSONX as _0xb47243,CommandType as _0x42d006,IPermissionService as _0x1083e0,IUndoRedoService as _0x5c2e54,sequenceExecute as _0xd02ce7,debounce as _0x433f68,COLORS as _0x48abe6,ColorKit as _0x5d5cbb,ThemeService as _0x104cf8,fromEventSubject as _0xda2401,useDependency as _0x3e43a5,connectInjector as _0x2bfd16,Workbook as _0x762674,isInternalEditorID as _0x47f4f5,LocalUndoRedoService as _0x3c699e,IContextService as _0x49ed20,DependentOn as _0x12c346,Plugin as _0x1dbbfd,touchDependencies as _0x9ace4b,IAuthzIoService as _0x568d25,registerDependencies as _0x3cc00e,mergeOverrideWithDependencies as _0x4907d0}from'@univerjs/core';import{Subject as _0x50574e,merge as _0x407b74,takeUntil as _0x171184,BehaviorSubject as _0x2c5f3e,distinctUntilChanged as _0x3f9e4c,fromEvent as _0x47503d,ReplaySubject as _0x32d019,take as _0x4e26bd,map as _0x55a023,shareReplay as _0x2b0828,of as _0x37aace,debounceTime as _0x341150,filter as _0x5d6a4a,switchMap as _0x1eab13,combineLatest as _0x3b40d1,concatMap as _0x57a071,mapTo as _0x527bfc}from'rxjs';import{map as _0x4e0bfc,take as _0x23f267,filter as _0x5cdcf5,delay as _0x2804ad,throttleTime as _0x11fe20,takeUntil as _0x2d8749,switchMap as _0x288cb3}from'rxjs/operators';import{MessageType as _0x4c03fa,Tooltip as _0x52d371}from'@univerjs/design';import{IBeforeCloseService as _0x5826ab,IMessageService as _0x521fac,INotificationService as _0x5a8c90,useObservable as _0x5841b1,BuiltInUIPart as _0x57e1bb,IUIPartsService as _0x1efadf}from'@univerjs/ui';import{HTTPService as _0x337047,WebSocketService as _0x138fc4,MergeInterceptorFactory as _0x4efab7,HTTPRequest as _0x5c71c3,UniverNetworkPlugin as _0x2a32af,ThresholdInterceptorFactory as _0x1afce2}from'@univerjs/network';import{CollaborationEvent as _0x4e3c97,parseChangesetToProtocol as _0xb83e96,ISnapshotServerService as _0x5670c4,isTransformMutationFailure as _0x46adb2,isTransformMutationsWithChangesetSuccess as _0x1b23f5,ITransformService as _0x2746ae,RevisionService as _0x5ee8b1,mapDocumentTypeToUniverType as _0x518e15,isTransformChangesetsSuccess as _0x408fbf,CompressMutationService as _0x230e80,parseProtocolChangeset as _0x35fd25,SnapshotService as _0xdab834,textEncoder as _0x1c89a9,b64DecodeUnicode as _0x330a6d,isTransformMutationsWithChangesetFailure as _0xa87d82,UniverCollaborationPlugin as _0x2f2f43}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x2ab1b7}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x50c7b2,DocStateChangeManagerService as _0x3fdbd8,NodePositionConvertToCursor as _0x598f61,NodePositionConvertToRectRange as _0x17e807,TEXT_RANGE_LAYER_INDEX as _0x58b8cf,SetDocZoomRatioOperation as _0x31e998}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2fad1e,SetSelectionsOperation as _0x27f103,InsertSheetMutation as _0x250bb3,EmptyMutation as _0x84a982,WorkbookEditablePermission as _0x5bdffd,RefRangeService as _0x421d7d,EffectRefRangId as _0x300cbc,handleIRemoveRow as _0x1de90e,handleIRemoveCol as _0x4e0669,handleMoveRange as _0x536a5b,handleInsertRow as _0x1bdaf3,handleInsertRangeMoveRight as _0x499d69,handleInsertRangeMoveDown as _0x28d224,handleInsertCol as _0x255154,handleDeleteRangeMoveUp as _0x220228,handleDeleteRangeMoveLeft as _0x39cf89,runRefRangeMutations as _0x1e843d,SetWorksheetActivateCommand as _0x13b74d}from'@univerjs/sheets';import{IRenderManagerService as _0xa3e106,Shape as _0x1e2684,Rect as _0x1a00c0,getColor as _0x4cc8c9,RegularPolygon as _0x24b371,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2b0eae,Vector2 as _0x5cd961}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x4ad750,RichTextEditingMutation as _0x22550b,SetTextSelectionsOperation as _0x1ccba4,DocSkeletonManagerService as _0x2a9a54}from'@univerjs/docs';import{ImageSourceType as _0x346cdb,ImageUploadStatusType as _0x3ce856,IImageIoService as _0xe3ad09}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x15f56b,serializeRangeWithSheet as _0x5ec0d6}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x419472,VIEWPORT_KEY as _0x45cb2d,getCoordByCell as _0x3aa7ff,getSheetObject as _0x136415,SheetPermissionInitController as _0xdfbf90}from'@univerjs/sheets-ui';import _0x2b1679,{forwardRef as _0x1e7b82,useRef as _0x1edd60,createElement as _0x27ae54,useCallback as _0xfaf194}from'react';import{IRemoteInstanceService as _0x58db13}from'@univerjs/rpc';const rr=_0x1a7f07(0x2de),or=_0x1a7f07(0x410),ar=_0x1a7f07(0x2a6),kc=_0x1a7f07(0x2d9),cr=0x7d0,hr=_0x1a7f07(0x1ee),lr=_0x1a7f07(0x228),_r=_0x1a7f07(0x3f0),ur=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr='LOCAL_CACHE_INTERVAL',pr=0x3e8,gr=_0x1a7f07(0x1f9),Sr=_0x1a7f07(0x340),Ir=_0x1a7f07(0x527),Cr='/universer-api/oidc/authpage';var Ri=(_0x244100=>(_0x244100[_0x244100[_0x1a7f07(0x1c0)]=0x0]='UNDEFINED',_0x244100[_0x244100['OK']=0x1]='OK',_0x244100[_0x244100[_0x1a7f07(0x221)]=0x2]=_0x1a7f07(0x221),_0x244100[_0x244100[_0x1a7f07(0x35c)]=0x3]=_0x1a7f07(0x35c),_0x244100[_0x244100[_0x1a7f07(0x56a)]=0x4]='NOT_FOUND',_0x244100[_0x244100[_0x1a7f07(0x542)]=0x5]=_0x1a7f07(0x542),_0x244100[_0x244100[_0x1a7f07(0x3fb)]=0x6]=_0x1a7f07(0x3fb),_0x244100[_0x244100[_0x1a7f07(0x482)]=0x7]=_0x1a7f07(0x482),_0x244100[_0x244100['TOO_MANY_REQUESTS']=0x8]=_0x1a7f07(0x3f9),_0x244100[_0x244100[_0x1a7f07(0x3ee)]=0x9]=_0x1a7f07(0x3ee),_0x244100[_0x244100[_0x1a7f07(0x389)]=0x1389]=_0x1a7f07(0x389),_0x244100[_0x244100[_0x1a7f07(0x548)]=0x1771]=_0x1a7f07(0x548),_0x244100[_0x244100[_0x1a7f07(0x448)]=0x1772]=_0x1a7f07(0x448),_0x244100[_0x244100['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x244100[_0x244100['APPLY_REJECT']=0x1b59]=_0x1a7f07(0x4ad),_0x244100[_0x244100[_0x1a7f07(0x256)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x244100[_0x244100[_0x1a7f07(0x36e)]=0x1b5b]=_0x1a7f07(0x36e),_0x244100[_0x244100[_0x1a7f07(0x36a)]=0x1b5c]=_0x1a7f07(0x36a),_0x244100[_0x244100['APPLY_DUPLICATED']=0x1b5d]=_0x1a7f07(0x446),_0x244100[_0x244100[_0x1a7f07(0x3e5)]=0x1f41]=_0x1a7f07(0x3e5),_0x244100[_0x244100[_0x1a7f07(0x59b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x244100[_0x244100['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1a7f07(0x336),_0x244100[_0x244100[_0x1a7f07(0x369)]=0x232b]=_0x1a7f07(0x369),_0x244100[_0x244100[_0x1a7f07(0x1d2)]=0x232c]=_0x1a7f07(0x1d2),_0x244100[_0x244100[_0x1a7f07(0x552)]=0x232d]=_0x1a7f07(0x552),_0x244100[_0x244100['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1a7f07(0x281),_0x244100[_0x244100[_0x1a7f07(0x5bb)]=0x2712]=_0x1a7f07(0x5bb),_0x244100[_0x244100[_0x1a7f07(0x30d)]=0x2713]=_0x1a7f07(0x30d),_0x244100[_0x244100[_0x1a7f07(0x33d)]=0x2714]=_0x1a7f07(0x33d),_0x244100[_0x244100[_0x1a7f07(0x3fd)]=-0x1]=_0x1a7f07(0x3fd),_0x244100))(Ri||{}),ce=(_0x3fb1e9=>(_0x3fb1e9[_0x3fb1e9['UNIVER_UNKNOWN']=0x0]=_0x1a7f07(0x4f1),_0x3fb1e9[_0x3fb1e9['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x3fb1e9[_0x3fb1e9[_0x1a7f07(0x3a2)]=0x2]=_0x1a7f07(0x3a2),_0x3fb1e9[_0x3fb1e9[_0x1a7f07(0x471)]=0x3]='UNIVER_SLIDE',_0x3fb1e9[_0x3fb1e9[_0x1a7f07(0x35a)]=0x4]=_0x1a7f07(0x35a),_0x3fb1e9[_0x3fb1e9[_0x1a7f07(0x3fd)]=-0x1]=_0x1a7f07(0x3fd),_0x3fb1e9))(ce||{}),W=(_0x15019b=>(_0x15019b[_0x15019b[_0x1a7f07(0x377)]=0x0]='UNKNOWN_CMD',_0x15019b[_0x15019b[_0x1a7f07(0x1e1)]=0x1]=_0x1a7f07(0x1e1),_0x15019b[_0x15019b[_0x1a7f07(0x20d)]=0x2]=_0x1a7f07(0x20d),_0x15019b[_0x15019b[_0x1a7f07(0x222)]=0x3]=_0x1a7f07(0x222),_0x15019b[_0x15019b[_0x1a7f07(0x1df)]=0x4]=_0x1a7f07(0x1df),_0x15019b[_0x15019b[_0x1a7f07(0x315)]=0x5]=_0x1a7f07(0x315),_0x15019b[_0x15019b[_0x1a7f07(0x478)]=0x6]=_0x1a7f07(0x478),_0x15019b[_0x15019b[_0x1a7f07(0x3fd)]=-0x1]='UNRECOGNIZED',_0x15019b))(W||{}),Is=(_0x3b61c5=>(_0x3b61c5[_0x3b61c5[_0x1a7f07(0x2d3)]=0x0]=_0x1a7f07(0x2d3),_0x3b61c5[_0x3b61c5['OK']=0x1]='OK',_0x3b61c5[_0x3b61c5[_0x1a7f07(0x58e)]=0x2]=_0x1a7f07(0x58e),_0x3b61c5[_0x3b61c5[_0x1a7f07(0x3fd)]=-0x1]='UNRECOGNIZED',_0x3b61c5))(Is||{}),yi=(_0xced278=>(_0xced278[_0xced278[_0x1a7f07(0x318)]=0x0]='Undefined',_0xced278[_0xced278[_0x1a7f07(0x304)]=0x1]=_0x1a7f07(0x304),_0xced278[_0xced278['HttpExport']=0x2]=_0x1a7f07(0x45b),_0xced278[_0xced278[_0x1a7f07(0x4cb)]=0x3]=_0x1a7f07(0x4cb),_0xced278[_0xced278[_0x1a7f07(0x521)]=0x4]=_0x1a7f07(0x521),_0xced278[_0xced278[_0x1a7f07(0x3fd)]=-0x1]=_0x1a7f07(0x3fd),_0xced278))(yi||{});const ie=_0x1a7f07(0x39f),Er={};function br(_0x2f5506){const _0x5eef78=_0x1a7f07;var _0x2214e0,_0x153d8e,_0x541c16,_0x459f5a,_0x7274fe;const _0x4f898c=_0x2f5506[_0x5eef78(0x32e)],_0x3c1e39=JSON[_0x5eef78(0x379)](_0x4f898c);switch(_0x3c1e39['cmd']){case W[_0x5eef78(0x315)]:case W['HELLO']:{const _0x2b01ee=_0x3c1e39[_0x5eef78(0x27d)];return{..._0x3c1e39,'data':_0x2b01ee,'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};}case W['JOIN']:{const _0x31f0be=_0x3c1e39[_0x5eef78(0x32d)];return{..._0x3c1e39,'data':_0x31f0be,'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};}case W[_0x5eef78(0x478)]:{const _0x28a0d2=_0x3c1e39[_0x5eef78(0x363)];switch(_0x28a0d2[_0x5eef78(0x215)]){case _0x4e3c97['PERMISSION_REJ']:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x2214e0=_0x28a0d2[_0x5eef78(0x29b)])==null?void 0x0:_0x2214e0['cs']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x343)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x153d8e=_0x28a0d2['csAckEvent'])==null?void 0x0:_0x153d8e['cs']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97['NEW_CHANGESETS']:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x541c16=_0x28a0d2[_0x5eef78(0x3c6)])==null?void 0x0:_0x541c16['cs']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x4e7)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x459f5a=_0x28a0d2['csRejEvent'])==null?void 0x0:_0x459f5a['cs']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x22a)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x7274fe=_0x28a0d2[_0x5eef78(0x3e8)])==null?void 0x0:_0x7274fe['cs']},'cmd':_0x3c1e39['cmd']};case _0x4e3c97[_0x5eef78(0x1cc)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x253)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x3af)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x5c4)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x54c)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x25a)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97['LIVESHARE_NEW_HOST']:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x43e)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x5ae)]:case _0x4e3c97[_0x5eef78(0x22b)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x2fa)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x1e3)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2['liveShareNewHost']},'cmd':_0x3c1e39['cmd']};case _0x4e3c97[_0x5eef78(0x5ca)]:return{..._0x3c1e39,'data':_0x28a0d2,'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x4f4)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x2d4)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x576)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x4e9)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97['SHOULD_CLOSE_CONN']:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2['shouldCloseConn']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};default:return _0x3c1e39;}}default:return _0x3c1e39;}}function Tr(_0x8319e8){const _0x4c215e=_0x1a7f07;switch(_0x8319e8['cmd']){case W[_0x4c215e(0x315)]:case W[_0x4c215e(0x1e1)]:return JSON[_0x4c215e(0x52c)]({'cmd':_0x8319e8[_0x4c215e(0x2b3)],'routeKey':_0x8319e8[_0x4c215e(0x31e)]});case W[_0x4c215e(0x1df)]:{let _0xf412c9;switch(_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x215)]){case _0x4e3c97[_0x4c215e(0x1cc)]:{_0xf412c9={'eventID':_0x4e3c97['UPDATE_CURSOR'],'updateCursorEvent':_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x32e)]};break;}case _0x4e3c97[_0x4c215e(0x54c)]:{_0xf412c9={'eventID':_0x4e3c97['USERS_LEAVE'],'leaveEvent':_0x8319e8[_0x4c215e(0x32e)]['data']};break;}case _0x4e3c97['USERS_ENTER']:{_0xf412c9={'eventID':_0x4e3c97[_0x4c215e(0x3af)],'joinEvent':_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x32e)]};break;}case _0x4e3c97[_0x4c215e(0x3a5)]:{_0xf412c9={'eventID':_0x4e3c97['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x32e)]};break;}case _0x4e3c97[_0x4c215e(0x22b)]:{_0xf412c9={'eventID':_0x4e3c97[_0x4c215e(0x22b)],'liveShareOperation':_0x8319e8[_0x4c215e(0x32e)]['data']};break;}case _0x4e3c97[_0x4c215e(0x1e3)]:{_0xf412c9={'eventID':_0x4e3c97['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x8319e8['data'][_0x4c215e(0x32e)]};break;}case _0x4e3c97[_0x4c215e(0x4b0)]:{_0xf412c9={'eventID':_0x4e3c97[_0x4c215e(0x4b0)],'liveShareRequestHost':_0x8319e8[_0x4c215e(0x32e)]['data']};break;}case _0x4e3c97[_0x4c215e(0x5ae)]:{_0xf412c9={'eventID':_0x4e3c97[_0x4c215e(0x5ae)]};break;}default:_0xf412c9={'eventID':_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x215)]};}return JSON[_0x4c215e(0x52c)]({'cmd':_0x8319e8[_0x4c215e(0x2b3)],'routeKey':_0x8319e8['routeKey'],'collaMsg':_0xf412c9});}case W[_0x4c215e(0x20d)]:return JSON[_0x4c215e(0x52c)]({'cmd':_0x8319e8[_0x4c215e(0x2b3)],'routeKey':_0x8319e8[_0x4c215e(0x31e)],'joinReq':_0x8319e8[_0x4c215e(0x32e)]});case W['LEAVE']:return JSON['stringify']({'cmd':_0x8319e8[_0x4c215e(0x2b3)],'routeKey':_0x8319e8['routeKey'],'leaveReq':_0x8319e8[_0x4c215e(0x32e)]});default:throw new Error(_0x4c215e(0x3cd));}}var Rr=Object[_0x1a7f07(0x5b3)],yr=Object[_0x1a7f07(0x298)],Or=(_0x555229,_0x3aacec,_0x2dd10f,_0x39457a)=>{for(var _0x1cc4e3=_0x39457a>0x1?void 0x0:_0x39457a?yr(_0x3aacec,_0x2dd10f):_0x3aacec,_0x4e4854=_0x555229['length']-0x1,_0x3f0bce;_0x4e4854>=0x0;_0x4e4854--)(_0x3f0bce=_0x555229[_0x4e4854])&&(_0x1cc4e3=(_0x39457a?_0x3f0bce(_0x3aacec,_0x2dd10f,_0x1cc4e3):_0x3f0bce(_0x1cc4e3))||_0x1cc4e3);return _0x39457a&&_0x1cc4e3&&Rr(_0x3aacec,_0x2dd10f,_0x1cc4e3),_0x1cc4e3;},qe=(_0x162231,_0x1bbd80)=>(_0x53e139,_0x514ede)=>_0x1bbd80(_0x53e139,_0x514ede,_0x162231);const Oi=_0x2707b7('univer-pro.collaboration-client-socket-service');function wr(_0x1246f4,_0x3baaf9,_0x3f5f81){const _0x42a815=_0x1a7f07;return _0x1246f4+'/'+_0x3baaf9+'/unit/'+_0x3f5f81+_0x42a815(0x338);}function _0x54d3(_0x4cd562,_0x87c29c){const _0x59616b=_0x5961();return _0x54d3=function(_0x54d39a,_0x2cd688){_0x54d39a=_0x54d39a-0x1bd;let _0x331933=_0x59616b[_0x54d39a];return _0x331933;},_0x54d3(_0x4cd562,_0x87c29c);}let es=class extends _0x3b3e75{constructor(_0x2ac730,_0x13a6cd,_0x1b3542,_0x27d5e6,_0x2740bf){const _0xe79333=_0x1a7f07;super(),this[_0xe79333(0x544)]=_0x2ac730,this[_0xe79333(0x328)]=_0x13a6cd,this[_0xe79333(0x428)]=_0x1b3542,this[_0xe79333(0x345)]=_0x27d5e6,this[_0xe79333(0x3bb)]=_0x2740bf;}[_0x1a7f07(0x4bd)](_0x237f5d){const _0x45b966=_0x1a7f07,_0x30392c=this['_ws']['createSocket'](_0x237f5d);if(!_0x30392c)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5ccee4=new _0xb0f374(),_0x418deb=new _0x50574e();_0x5ccee4['add'](_0x30392c[_0x45b966(0x514)]['subscribe'](_0xebfb77=>_0x418deb[_0x45b966(0x265)](_0xebfb77))),_0x5ccee4[_0x45b966(0x476)](_0x1c981a(()=>_0x418deb[_0x45b966(0x5b0)]()));const _0x361955=new _0x50574e();_0x5ccee4['add'](_0x30392c[_0x45b966(0x382)]['subscribe'](_0xcc4ff2=>_0x361955[_0x45b966(0x265)](_0xcc4ff2))),_0x5ccee4[_0x45b966(0x476)](_0x1c981a(()=>_0x361955[_0x45b966(0x5b0)]()));const _0x40eeae=new _0x50574e();_0x5ccee4[_0x45b966(0x476)](_0x30392c[_0x45b966(0x2e5)][_0x45b966(0x29f)](_0x5499ed=>{const _0x444549=br(_0x5499ed);_0x40eeae['next'](_0x444549);})),_0x5ccee4['add'](_0x1c981a(()=>_0x40eeae[_0x45b966(0x5b0)]()));let _0x5600b2;const _0x4052c5=()=>{const _0x1dcc07=_0x45b966;_0x361955[_0x1dcc07(0x265)](new Event('connection\x20error')),_0x418deb[_0x1dcc07(0x265)](new CloseEvent(_0x1dcc07(0x41f))),_0x5600b2['close']();};return _0x5600b2={'memberID':'','close$':_0x418deb['asObservable'](),'error$':_0x361955['asObservable'](),'open$':_0x30392c[_0x45b966(0x2f4)],'message$':_0x40eeae[_0x45b966(0x456)](),'send':_0x1a4f93=>{const _0x4a44ba=_0x45b966;if(_0x1a4f93[_0x4a44ba(0x2b3)]===W['INGEST']){if(_0x1a4f93[_0x4a44ba(0x32e)][_0x4a44ba(0x215)]===_0x4e3c97['SUBMIT_CHANGESET']){this[_0x4a44ba(0x536)](_0x5600b2,_0x1a4f93[_0x4a44ba(0x32e)])[_0x4a44ba(0x319)](_0x173d0f=>{const _0x568cab=_0x4a44ba;this['_logService'][_0x568cab(0x3eb)](_0x173d0f),_0x4052c5();});return;}if(_0x1a4f93[_0x4a44ba(0x32e)][_0x4a44ba(0x215)]===_0x4e3c97['FETCH_MISSING']){const _0x4f0544=_0x1a4f93[_0x4a44ba(0x32e)];this['_fetchMissChangesets'](_0x4f0544)[_0x4a44ba(0x44f)](_0x3c35d0=>{const _0x1aa639=_0x4a44ba;_0x40eeae['next']({'cmd':W[_0x1aa639(0x478)],'code':Is['OK'],'routeKey':_0x4f0544['data'][_0x1aa639(0x5b2)],'routeType':'','data':{'eventID':_0x4e3c97[_0x1aa639(0x35b)],'data':{'changesets':_0x3c35d0}}});})[_0x4a44ba(0x319)](_0x1486f7=>{const _0x591a5f=_0x4a44ba;this['_logService'][_0x591a5f(0x3eb)](_0x1486f7),_0x4052c5();});return;}}_0x30392c[_0x4a44ba(0x445)](Tr(_0x1a4f93));},'close':()=>{const _0x5eca07=_0x45b966;_0x30392c[_0x5eca07(0x4ed)](),_0x5ccee4[_0x5eca07(0x51b)]();}},_0x5600b2;}async[_0x1a7f07(0x536)](_0x594778,_0x1d7778){const _0x230d6e=_0x1a7f07;var _0x637312,_0x37406e;const {unitType:_0x734e06,unitID:_0x23fecb,changeset:_0x2a1470}=_0x1d7778['data'],_0x362216={'unitID':_0x23fecb,'memberID':_0x594778[_0x230d6e(0x286)],'type':_0x734e06,'changeset':_0xb83e96(_0x2a1470)},_0xacd3bb=this[_0x230d6e(0x428)][_0x230d6e(0x1bf)](gr),_0x58f816=this[_0x230d6e(0x428)][_0x230d6e(0x1bf)](ie),_0x49f241=wr((_0x37406e=(_0x637312=_0x58f816==null?void 0x0:_0x58f816['collabSubmitChangesetUrl'])!=null?_0x637312:_0xacd3bb)!=null?_0x37406e:Sr,_0x734e06,_0x23fecb);try{await this[_0x230d6e(0x544)][_0x230d6e(0x3bd)](_0x49f241,{'body':_0x362216});}catch(_0x9d771a){throw this[_0x230d6e(0x345)][_0x230d6e(0x3eb)](_0x230d6e(0x2ef),'submit\x20changeset\x20error!'),_0x9d771a;}}async[_0x1a7f07(0x300)](_0xdddb33){const _0x3b0318=_0x1a7f07,{unitID:_0x5ee078,from:_0x274a7f,to:_0x3e52c4,unitType:_0x20f199}=_0xdddb33[_0x3b0318(0x32e)];return(await this[_0x3b0318(0x3bb)][_0x3b0318(0x36d)]({'metadata':void 0x0},{'unitID':_0x5ee078,'type':_0x20f199,'from':_0x274a7f,'to':_0x3e52c4}))['changesets'];}};es=Or([qe(0x0,_0x5cf6ec(_0x337047)),qe(0x1,_0x5cf6ec(_0x138fc4)),qe(0x2,_0x34b905),qe(0x3,_0x1e210b),qe(0x4,_0x5670c4)],es);const Dr=_0x1a7f07(0x399);function Pr(_0x34c237){const _0x1d0e91=_0x1a7f07;return JSON['stringify'](_0x34c237)[_0x1d0e91(0x5bc)];}class wi{constructor(){const _0x32805a=_0x1a7f07;g(this,_0x32805a(0x316),new _0x50574e()),g(this,'commentUpdate$',this[_0x32805a(0x316)][_0x32805a(0x456)]());}[_0x1a7f07(0x28f)](_0x249819){const _0x42d8fd=_0x1a7f07;this[_0x42d8fd(0x316)][_0x42d8fd(0x265)](_0x249819);}}var Ur=Object[_0x1a7f07(0x5b3)],Nr=Object[_0x1a7f07(0x298)],Ar=(_0xa2bc10,_0x35cb0f,_0x1d5633,_0x28eaa7)=>{const _0x18cb92=_0x1a7f07;for(var _0xa14751=_0x28eaa7>0x1?void 0x0:_0x28eaa7?Nr(_0x35cb0f,_0x1d5633):_0x35cb0f,_0xe34cc=_0xa2bc10[_0x18cb92(0x5bc)]-0x1,_0x3cd7c9;_0xe34cc>=0x0;_0xe34cc--)(_0x3cd7c9=_0xa2bc10[_0xe34cc])&&(_0xa14751=(_0x28eaa7?_0x3cd7c9(_0x35cb0f,_0x1d5633,_0xa14751):_0x3cd7c9(_0xa14751))||_0xa14751);return _0x28eaa7&&_0xa14751&&Ur(_0x35cb0f,_0x1d5633,_0xa14751),_0xa14751;},Hs=(_0x21e6d9,_0xb2242a)=>(_0x4067fa,_0x390988)=>_0xb2242a(_0x4067fa,_0x390988,_0x21e6d9);let Ne=class extends _0x3b3e75{constructor(_0x524d01,_0x137c8c){const _0x49f411=_0x1a7f07;super(),g(this,_0x49f411(0x1ec),new Map()),(this[_0x49f411(0x44e)]=_0x524d01,this[_0x49f411(0x39c)]=_0x137c8c,this[_0x49f411(0x4b1)](_0x1c981a(_0x407b74(this[_0x49f411(0x44e)][_0x49f411(0x276)](_0x31d58f['UNIVER_SHEET'])[_0x49f411(0x1cf)](_0x4e0bfc(_0x41f029=>_0x41f029['getUnitId']())),this[_0x49f411(0x44e)][_0x49f411(0x276)](_0x31d58f[_0x49f411(0x51a)])[_0x49f411(0x1cf)](_0x4e0bfc(_0xc262b1=>_0xc262b1[_0x49f411(0x5c1)]())),this[_0x49f411(0x44e)][_0x49f411(0x276)](_0x31d58f[_0x49f411(0x471)])[_0x49f411(0x1cf)](_0x4e0bfc(_0x5d87bc=>_0x5d87bc['getUnitId']())))[_0x49f411(0x29f)](_0x25dade=>this[_0x49f411(0x25f)](_0x25dade)))));}[_0x1a7f07(0x50b)](_0x4ff632){const _0x4ac4ff=_0x1a7f07;this['_userManagerService'][_0x4ac4ff(0x50b)](_0x4ff632);}['getCurrentUser'](){const _0x219eb1=_0x1a7f07;return this['_userManagerService'][_0x219eb1(0x3c2)]();}[_0x1a7f07(0x21e)](_0x97ca75,_0x29aa7b){const _0x49da99=_0x1a7f07;let _0x306b0f=this[_0x49da99(0x1ec)][_0x49da99(0x59a)](_0x97ca75);_0x306b0f||(_0x306b0f=new Mr(),this[_0x49da99(0x1ec)]['set'](_0x97ca75,_0x306b0f)),_0x306b0f[_0x49da99(0x21e)](_0x29aa7b);}[_0x1a7f07(0x530)](_0x453eb0,_0x232677){const _0xcf3e5b=_0x1a7f07,_0x40a16e=this[_0xcf3e5b(0x1ec)][_0xcf3e5b(0x59a)](_0x453eb0);_0x40a16e&&_0x40a16e[_0xcf3e5b(0x530)](_0x232677);}[_0x1a7f07(0x1de)](_0x285ebf){const _0x326cdd=_0x1a7f07;return this[_0x326cdd(0x1ec)][_0x326cdd(0x59a)](_0x285ebf);}[_0x1a7f07(0x326)](_0xec0442,_0x14d2d6){const _0x1dd72d=_0x1a7f07,_0x1c7957=this[_0x1dd72d(0x1ec)][_0x1dd72d(0x59a)](_0xec0442);if(_0x1c7957)return _0x1c7957[_0x1dd72d(0x326)](_0x14d2d6);}[_0x1a7f07(0x25f)](_0x5c68f4){const _0x2a1139=_0x1a7f07,_0x2bd256=this[_0x2a1139(0x1ec)][_0x2a1139(0x59a)](_0x5c68f4);_0x2bd256&&(_0x2bd256['dispose'](),this[_0x2a1139(0x1ec)][_0x2a1139(0x473)](_0x5c68f4));}[_0x1a7f07(0x51b)](){const _0x12410a=_0x1a7f07;this[_0x12410a(0x1ec)][_0x12410a(0x547)](_0x3f66de=>_0x3f66de[_0x12410a(0x51b)]()),this[_0x12410a(0x1ec)]['clear']();}};Ne=Ar([Hs(0x0,_0x1726a1),Hs(0x1,_0x5cf6ec(_0x133322))],Ne);class Mr extends _0x3b3e75{constructor(){const _0x43ea8c=_0x1a7f07;super(...arguments),g(this,_0x43ea8c(0x267),new Map());}[_0x1a7f07(0x51b)](){const _0x2ea949=_0x1a7f07;this['_members'][_0x2ea949(0x320)]();}[_0x1a7f07(0x21e)](_0x442941){const _0x4095d4=_0x1a7f07;this['_members'][_0x4095d4(0x3f4)](_0x442941['memberID'],_0x442941);}[_0x1a7f07(0x530)](_0x370ec8){const _0x31dfd8=_0x1a7f07;this[_0x31dfd8(0x267)]['delete'](_0x370ec8);}['getMember'](_0x3799fc){const _0x57229e=_0x1a7f07;return this[_0x57229e(0x267)]['get'](_0x3799fc);}[_0x1a7f07(0x419)](){const _0x109939=_0x1a7f07;return Array[_0x109939(0x2ed)](this[_0x109939(0x267)][_0x109939(0x4d7)]());}}var xr=Object[_0x1a7f07(0x5b3)],Lr=Object[_0x1a7f07(0x298)],$r=(_0x15d7f4,_0x5e1cdd,_0x496f36,_0x8f35c1)=>{const _0x351cc9=_0x1a7f07;for(var _0x4600a5=_0x8f35c1>0x1?void 0x0:_0x8f35c1?Lr(_0x5e1cdd,_0x496f36):_0x5e1cdd,_0xfad8e5=_0x15d7f4[_0x351cc9(0x5bc)]-0x1,_0x2e8448;_0xfad8e5>=0x0;_0xfad8e5--)(_0x2e8448=_0x15d7f4[_0xfad8e5])&&(_0x4600a5=(_0x8f35c1?_0x2e8448(_0x5e1cdd,_0x496f36,_0x4600a5):_0x2e8448(_0x4600a5))||_0x4600a5);return _0x8f35c1&&_0x4600a5&&xr(_0x5e1cdd,_0x496f36,_0x4600a5),_0x4600a5;},Ee=(_0x3871bd,_0x3ea4a7)=>(_0xc95bdb,_0x3222aa)=>_0x3ea4a7(_0xc95bdb,_0x3222aa,_0x3871bd),ve=(_0x25bbe9=>(_0x25bbe9[_0x25bbe9[_0x1a7f07(0x350)]=0x0]=_0x1a7f07(0x350),_0x25bbe9[_0x25bbe9['JOINING']=0x1]=_0x1a7f07(0x3a9),_0x25bbe9[_0x25bbe9[_0x1a7f07(0x31d)]=0x2]=_0x1a7f07(0x31d),_0x25bbe9[_0x25bbe9['ONLINE']=0x3]=_0x1a7f07(0x48d),_0x25bbe9))(ve||{});let ts=class extends _0x1cb902{constructor(_0x8f1818,_0x4ae456,_0x3e6d74,_0x2b053c,_0xcdf6dd,_0x1461ea,_0x19ce7e,_0x25233e,_0x5cfc5b,_0x5c1246){const _0x140118=_0x1a7f07;super(),g(this,_0x140118(0x3d8),new _0x2c5f3e(0x0)),g(this,_0x140118(0x3aa),this[_0x140118(0x3d8)][_0x140118(0x456)]()),g(this,_0x140118(0x467),new _0x50574e()),g(this,'event$',this['_event$'][_0x140118(0x456)]()),g(this,_0x140118(0x293)),g(this,_0x140118(0x488)),g(this,'_collaborationTimeoutTimer'),g(this,_0x140118(0x411),!0x1),g(this,'_telemetryInfo',null),(this[_0x140118(0x51f)]=_0x8f1818,this[_0x140118(0x345)]=_0x3e6d74,this[_0x140118(0x437)]=_0x2b053c,this['_messageService']=_0xcdf6dd,this[_0x140118(0x428)]=_0x1461ea,this[_0x140118(0x47a)]=_0x19ce7e,this[_0x140118(0x2d8)]=_0x25233e,this['_commentService']=_0x5cfc5b,this[_0x140118(0x2e6)]=_0x5c1246,this[_0x140118(0x411)]=!!this[_0x140118(0x2e6)],_0x4ae456[_0x140118(0x1cf)](_0x171184(this[_0x140118(0x22c)]))[_0x140118(0x29f)](_0x497084=>{const _0x2f2d1b=_0x140118;var _0xb429da;typeof _0x497084>'u'||(this[_0x2f2d1b(0x293)]=_0x497084,_0x497084?(this[_0x2f2d1b(0x59d)](_0x497084),this['_socketMessageSubscription']=_0x497084['message$'][_0x2f2d1b(0x29f)](_0x599aaf=>{const _0x43e445=_0x2f2d1b;_0x599aaf[_0x43e445(0x31e)]===this[_0x43e445(0x51f)]&&this['_onCombEvent'](_0x599aaf);})):(this[_0x2f2d1b(0x299)](),this['_sessionStatus$']['next'](0x2),(_0xb429da=this[_0x2f2d1b(0x488)])==null||_0xb429da[_0x2f2d1b(0x4ee)](),this[_0x2f2d1b(0x488)]=null));}),this[_0x140118(0x4b1)](this[_0x140118(0x437)]['registerOnClose'](()=>{const _0x170ea5=_0x140118;var _0x2af462;(_0x2af462=this[_0x170ea5(0x293)])==null||_0x2af462[_0x170ea5(0x445)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x170ea5(0x51f)]}});})));}get[_0x1a7f07(0x28a)](){const _0x3b28ab=_0x1a7f07;return this[_0x3b28ab(0x3d8)]['getValue']();}[_0x1a7f07(0x57b)](){const _0x952505=_0x1a7f07;var _0x25a92a,_0x244ae0;return(_0x244ae0=(_0x25a92a=this[_0x952505(0x293)])==null?void 0x0:_0x25a92a['memberID'])!=null?_0x244ae0:null;}[_0x1a7f07(0x51b)](){const _0x5c200f=_0x1a7f07;super[_0x5c200f(0x51b)](),this[_0x5c200f(0x22c)][_0x5c200f(0x265)](),this[_0x5c200f(0x22c)][_0x5c200f(0x5b0)]();}[_0x1a7f07(0x4ed)](){const _0x3daadb=_0x1a7f07;var _0x68b3e7,_0x9d36f7;this[_0x3daadb(0x299)](),(_0x68b3e7=this[_0x3daadb(0x293)])==null||_0x68b3e7[_0x3daadb(0x445)]({'cmd':W[_0x3daadb(0x222)],'data':{'roomID':this[_0x3daadb(0x51f)]}}),(_0x9d36f7=this[_0x3daadb(0x293)])==null||_0x9d36f7[_0x3daadb(0x4ed)](),this[_0x3daadb(0x467)][_0x3daadb(0x5b0)](),this[_0x3daadb(0x3d8)][_0x3daadb(0x5b0)](),this[_0x3daadb(0x51b)]();}['_onCombEvent'](_0x193c0a){const _0x468b53=_0x1a7f07;_0x193c0a['cmd']===W[_0x468b53(0x20d)]?this[_0x468b53(0x1f6)](_0x193c0a):_0x193c0a[_0x468b53(0x2b3)]===W[_0x468b53(0x478)]&&this[_0x468b53(0x1cd)](_0x193c0a);}[_0x1a7f07(0x59d)](_0x270fad){const _0x423a33=_0x1a7f07;this[_0x423a33(0x3d8)][_0x423a33(0x265)](0x1),_0x270fad[_0x423a33(0x445)]({'cmd':W['JOIN'],'routeKey':this[_0x423a33(0x51f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x423a33(0x51f)]}]}});}[_0x1a7f07(0x1f6)](_0x4ec012){const _0x5b5621=_0x1a7f07;var _0x430f60;if(_0x4ec012[_0x5b5621(0x434)]===Is['FAIL']){this[_0x5b5621(0x387)][_0x5b5621(0x1ed)]({'type':_0x4c03fa['Warning'],'content':this['_localeService']['t']('session.room-full')}),this[_0x5b5621(0x3d8)][_0x5b5621(0x265)](0x2);return;}this[_0x5b5621(0x3d8)][_0x5b5621(0x265)](0x3);const _0x1983ae=(_0x430f60=_0x4ec012[_0x5b5621(0x32e)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x430f60[_0x5b5621(0x390)];_0x1983ae&&_0x1983ae[_0x5b5621(0x547)](_0x42bc8a=>this['_memberService'][_0x5b5621(0x21e)](this[_0x5b5621(0x51f)],_0x42bc8a));}[_0x1a7f07(0x1cd)](_0x208e6c){const _0x27abc3=_0x1a7f07;try{const _0xcab737=_0x208e6c[_0x27abc3(0x32e)];switch(_0xcab737[_0x27abc3(0x215)]){case _0x4e3c97[_0x27abc3(0x3af)]:this['_onUserJoin'](_0xcab737),this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);break;case _0x4e3c97[_0x27abc3(0x54c)]:this[_0x27abc3(0x283)](_0xcab737),this[_0x27abc3(0x467)]['next'](_0xcab737);break;case _0x4e3c97[_0x27abc3(0x343)]:case _0x4e3c97[_0x27abc3(0x22a)]:this[_0x27abc3(0x436)](),this[_0x27abc3(0x306)](),this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);break;case _0x4e3c97[_0x27abc3(0x5ca)]:this['_logService'][_0x27abc3(0x3eb)](_0x27abc3(0x1d4)+JSON[_0x27abc3(0x52c)](_0xcab737)),this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);break;case _0x4e3c97[_0x27abc3(0x4f4)]:this[_0x27abc3(0x4c4)]['onCommentUpdate'](_0xcab737[_0x27abc3(0x32e)]),this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);break;default:this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);}}catch(_0x13b3dd){this[_0x27abc3(0x345)][_0x27abc3(0x3eb)](_0x13b3dd,_0x208e6c);}}['_onUserJoin'](_0x32ae2c){const _0x29d711=_0x1a7f07;this[_0x29d711(0x2d8)][_0x29d711(0x21e)](this[_0x29d711(0x51f)],_0x32ae2c[_0x29d711(0x32e)]);}[_0x1a7f07(0x283)](_0x433004){const _0x528879=_0x1a7f07;this[_0x528879(0x2d8)][_0x528879(0x530)](this[_0x528879(0x51f)],_0x433004[_0x528879(0x32e)][_0x528879(0x286)]);}async[_0x1a7f07(0x445)](_0x451743,_0x1db162){const _0x50600c=_0x1a7f07;if(this[_0x50600c(0x28a)]!==0x3||!this[_0x50600c(0x293)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x451743['eventID']===_0x4e3c97[_0x50600c(0x4c2)]&&(this[_0x50600c(0x50a)](),this[_0x50600c(0x5ba)](_0x451743)),this[_0x50600c(0x293)][_0x50600c(0x445)]({'cmd':W[_0x50600c(0x1df)],'routeKey':_0x1db162,'routeType':'','data':_0x451743});}catch(_0x228e5c){this['_logService'][_0x50600c(0x3eb)](_0x228e5c);}}[_0x1a7f07(0x50a)](){const _0x19d085=_0x1a7f07;var _0x2e923f;this[_0x19d085(0x397)]=window['setTimeout'](()=>{const _0x41faf7=_0x19d085;this[_0x41faf7(0x397)]=null,this[_0x41faf7(0x387)][_0x41faf7(0x1ed)]({'type':_0x4c03fa[_0x41faf7(0x4c0)],'content':this[_0x41faf7(0x47a)]['t'](_0x41faf7(0x3b8))});},(_0x2e923f=this['_configService'][_0x19d085(0x1bf)](bi))!=null?_0x2e923f:Ti);}[_0x1a7f07(0x306)](){const _0x254c34=_0x1a7f07;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x254c34(0x397)]=null);}[_0x1a7f07(0x5ba)](_0x131f0e){const _0x2ef4e9=_0x1a7f07;if(!this[_0x2ef4e9(0x411)])return;const {data:_0x2ead17}=_0x131f0e,{unitID:_0x33f275,changeset:_0x3c649e}=_0x2ead17,{mutations:_0x5ebf8c,type:_0x1f95c7}=_0x3c649e;this[_0x2ef4e9(0x1c4)]={'unitId':_0x33f275,'type':_0x1f95c7,'startTime':performance[_0x2ef4e9(0x3f7)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x5ebf8c)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x121c08=_0x1a7f07;if(this[_0x121c08(0x411)]){if(!this[_0x121c08(0x1c4)]){this['_logService']['error']('[CollaborationSession]',_0x121c08(0x1f1));return;}this[_0x121c08(0x1c4)][_0x121c08(0x371)]=performance[_0x121c08(0x3f7)](),this[_0x121c08(0x1c4)][_0x121c08(0x214)]=this[_0x121c08(0x1c4)]['stopTime']-this[_0x121c08(0x1c4)][_0x121c08(0x34d)],this[_0x121c08(0x2e6)][_0x121c08(0x418)](Dr,this['_telemetryInfo']),this[_0x121c08(0x1c4)]=null;}}[_0x1a7f07(0x299)](){const _0x1f5943=_0x1a7f07;this[_0x1f5943(0x1c4)]=null;}};ts=$r([Ee(0x2,_0x1e210b),Ee(0x3,_0x5826ab),Ee(0x4,_0x521fac),Ee(0x5,_0x34b905),Ee(0x6,_0x5cf6ec(_0x51f47a)),Ee(0x7,_0x5cf6ec(Ne)),Ee(0x8,_0x5cf6ec(wi)),Ee(0x9,_0x94953d(_0x2ab1b7))],ts);var Hr=Object[_0x1a7f07(0x5b3)],jr=Object[_0x1a7f07(0x298)],Br=(_0x57aed7,_0x2f610c,_0x597031,_0x39bbe0)=>{const _0x881561=_0x1a7f07;for(var _0x739462=_0x39bbe0>0x1?void 0x0:_0x39bbe0?jr(_0x2f610c,_0x597031):_0x2f610c,_0x5cae69=_0x57aed7[_0x881561(0x5bc)]-0x1,_0x5f0436;_0x5cae69>=0x0;_0x5cae69--)(_0x5f0436=_0x57aed7[_0x5cae69])&&(_0x739462=(_0x39bbe0?_0x5f0436(_0x2f610c,_0x597031,_0x739462):_0x5f0436(_0x739462))||_0x739462);return _0x39bbe0&&_0x739462&&Hr(_0x2f610c,_0x597031,_0x739462),_0x739462;},je=(_0x46e242,_0x172a09)=>(_0x504b2b,_0x3bb783)=>_0x172a09(_0x504b2b,_0x3bb783,_0x46e242);let Ae=class extends _0x3b3e75{constructor(_0x54eedc,_0x22485d,_0x2e3613,_0x5c4039,_0x516461,_0x4fec98){const _0x24da42=_0x1a7f07;super(),g(this,_0x24da42(0x404),new _0x2c5f3e(void 0x0)),g(this,_0x24da42(0x53a),this[_0x24da42(0x404)][_0x24da42(0x456)]()),g(this,_0x24da42(0x37b),null),g(this,_0x24da42(0x539),new Map()),g(this,'_status$',new _0x2c5f3e(ve[_0x24da42(0x350)])),g(this,'status$',this[_0x24da42(0x1fd)][_0x24da42(0x456)]()),g(this,_0x24da42(0x2fe),!0x1),g(this,_0x24da42(0x504)),g(this,'_retryCount',0x0),g(this,_0x24da42(0x4f3)),g(this,_0x24da42(0x2d5)),(this[_0x24da42(0x4d5)]=_0x54eedc,this[_0x24da42(0x47a)]=_0x22485d,this[_0x24da42(0x387)]=_0x2e3613,this[_0x24da42(0x345)]=_0x5c4039,this[_0x24da42(0x428)]=_0x516461,this[_0x24da42(0x4ec)]=_0x4fec98,this[_0x24da42(0x51e)]());}get['_socket'](){const _0x1e8d06=_0x1a7f07;return this[_0x1e8d06(0x404)][_0x1e8d06(0x3f6)]();}[_0x1a7f07(0x51e)](){const _0x4359d6=_0x1a7f07;this[_0x4359d6(0x3c1)](),this[_0x4359d6(0x4d3)]();}[_0x1a7f07(0x51b)](){const _0x1f3b48=_0x1a7f07;super[_0x1f3b48(0x51b)](),this[_0x1f3b48(0x539)][_0x1f3b48(0x547)](_0x505829=>_0x505829['dispose']()),this[_0x1f3b48(0x539)][_0x1f3b48(0x320)](),this['_status$']['complete']();}async[_0x1a7f07(0x2ad)](_0x57d6f6){const _0x3d9f2f=_0x1a7f07;if(this[_0x3d9f2f(0x539)][_0x3d9f2f(0x581)](_0x57d6f6))return this[_0x3d9f2f(0x539)][_0x3d9f2f(0x59a)](_0x57d6f6);this[_0x3d9f2f(0x249)]();const _0x359bc5=this[_0x3d9f2f(0x4d5)]['createInstance'](ts,_0x57d6f6,this[_0x3d9f2f(0x404)][_0x3d9f2f(0x456)]());return this['_sessions'][_0x3d9f2f(0x3f4)](_0x57d6f6,_0x359bc5),_0x359bc5;}[_0x1a7f07(0x365)](_0x49fcef){const _0x457bbb=_0x1a7f07;var _0x464b7c;const _0x378871=this[_0x457bbb(0x539)][_0x457bbb(0x59a)](_0x49fcef);_0x378871&&(this['_sessions'][_0x457bbb(0x473)](_0x49fcef),_0x378871[_0x457bbb(0x4ed)]()),this[_0x457bbb(0x539)][_0x457bbb(0x252)]||(_0x464b7c=this['_socket'])==null||_0x464b7c['close']();}[_0x1a7f07(0x32a)](){const _0x139f62=_0x1a7f07;this[_0x139f62(0x535)]=0x0,this[_0x139f62(0x504)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x139f62(0x504)]=null),this[_0x139f62(0x503)]();}[_0x1a7f07(0x1ea)](){const _0x11d778=_0x1a7f07;var _0x1d7e53,_0x1daa9b;const _0x5b0ea2=this[_0x11d778(0x428)][_0x11d778(0x1bf)](hr),_0xf155f1=this[_0x11d778(0x428)][_0x11d778(0x1bf)](ie),_0xf2de36=(_0x1daa9b=(_0x1d7e53=_0xf155f1==null?void 0x0:_0xf155f1[_0x11d778(0x1fa)])!=null?_0x1d7e53:_0x5b0ea2)!=null?_0x1daa9b:lr,_0x5bec36=this[_0x11d778(0x4ec)][_0x11d778(0x4bd)](_0xf2de36);return this['_candidateSocket']=_0x5bec36,_0x5bec36;}[_0x1a7f07(0x249)](){const _0x5bf1a9=_0x1a7f07;var _0x50b049,_0x3c8ada;try{const _0x26a299=(_0x3c8ada=(_0x50b049=this[_0x5bf1a9(0x293)])!=null?_0x50b049:this['_candidateSocket'])!=null?_0x3c8ada:this[_0x5bf1a9(0x1ea)]();if(_0x26a299){const _0xf49e89=_0x26a299['send'];_0x26a299[_0x5bf1a9(0x445)]=_0x178a93=>(this[_0x5bf1a9(0x3d0)](),_0xf49e89[_0x5bf1a9(0x49a)](_0x26a299,[_0x178a93])),_0x26a299[_0x5bf1a9(0x2e5)][_0x5bf1a9(0x29f)](_0x55ac9e=>this[_0x5bf1a9(0x37f)](_0x26a299,_0x55ac9e)),_0x26a299[_0x5bf1a9(0x382)]['pipe'](_0x23f267(0x1))[_0x5bf1a9(0x29f)](_0x11a4c4=>this[_0x5bf1a9(0x345)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x11a4c4)),_0x26a299[_0x5bf1a9(0x2f4)][_0x5bf1a9(0x1cf)](_0x23f267(0x1))['subscribe'](()=>{const _0x480c53=_0x5bf1a9;this[_0x480c53(0x2e7)](_0x26a299);}),_0x26a299[_0x5bf1a9(0x514)]['pipe'](_0x23f267(0x1))[_0x5bf1a9(0x29f)](_0x33b841=>{const _0x2bcf69=_0x5bf1a9;this['_logService'][_0x2bcf69(0x4b5)](_0x2bcf69(0x39e),'socket\x20close',_0x33b841),this[_0x2bcf69(0x4d9)]();});}}catch(_0x5b0493){this[_0x5bf1a9(0x345)][_0x5bf1a9(0x3eb)](_0x5b0493),this[_0x5bf1a9(0x4d9)]();}}[_0x1a7f07(0x2e7)](_0x31e744){const _0x4f655e=_0x1a7f07;this[_0x4f655e(0x345)][_0x4f655e(0x4b5)](_0x4f655e(0x39e),_0x4f655e(0x2eb)),_0x31e744['send']({'cmd':W[_0x4f655e(0x1e1)]}),this['_rescheduleHeartbeat']();}[_0x1a7f07(0x3c1)](){const _0x4bc195=_0x1a7f07;window[_0x4bc195(0x3e9)](_0x4bc195(0x3b0),()=>this[_0x4bc195(0x458)]());}[_0x1a7f07(0x458)](){const _0x205408=_0x1a7f07;this[_0x205408(0x2fe)]=!0x1,this[_0x205408(0x37b)]=null,this[_0x205408(0x1fd)]['next'](ve['OFFLINE']),this[_0x205408(0x404)]['next'](null),this['_clearTimeoutTimer'](),this[_0x205408(0x5cd)]();}[_0x1a7f07(0x4d9)](){const _0x1d5e6d=_0x1a7f07;var _0x3b7fa4;this[_0x1d5e6d(0x458)](),this[_0x1d5e6d(0x535)]<((_0x3b7fa4=this['_configService']['getConfig'](fr))!=null?_0x3b7fa4:vr)?(this[_0x1d5e6d(0x387)][_0x1d5e6d(0x1ed)]({'key':_0x1d5e6d(0x447),'type':_0x4c03fa[_0x1d5e6d(0x37a)],'content':this[_0x1d5e6d(0x47a)]['t'](_0x1d5e6d(0x3ca))}),this[_0x1d5e6d(0x503)]()):this[_0x1d5e6d(0x387)][_0x1d5e6d(0x1ed)]({'key':'collaboration-session-retry','type':_0x4c03fa[_0x1d5e6d(0x4c0)],'content':this[_0x1d5e6d(0x47a)]['t'](_0x1d5e6d(0x460))});}[_0x1a7f07(0x4d3)](){const _0x2cf4a0=_0x1a7f07,_0x4245ca=()=>{const _0x2545be=_0x54d3;this[_0x2545be(0x293)]||this[_0x2545be(0x32a)]();},_0x293312=()=>{const _0xd6ea53=_0x54d3;this['_socket']||document[_0xd6ea53(0x1e5)]===_0xd6ea53(0x4ce)||this[_0xd6ea53(0x32a)]();};window['addEventListener']('online',_0x4245ca),document[_0x2cf4a0(0x3e9)]('visibilitychange',_0x293312);}['_tryReconnect'](){const _0x3a9b7b=_0x1a7f07;var _0x2c48f3;const _0x476922=this[_0x3a9b7b(0x535)],_0x2e14ef=this[_0x3a9b7b(0x428)][_0x3a9b7b(0x1bf)](ie),_0x19b1df=_0x476922===0x0?0x0:((_0x2c48f3=_0x2e14ef==null?void 0x0:_0x2e14ef[_0x3a9b7b(0x518)])!=null?_0x2c48f3:dr)*0x2**_0x476922;this['_retryConnectingTimer']=window['setTimeout'](()=>{const _0x4922fe=_0x3a9b7b;clearTimeout(this[_0x4922fe(0x504)]),this['_retryConnectingTimer']=null,this[_0x4922fe(0x249)]();},_0x19b1df),this[_0x3a9b7b(0x535)]+=0x1;}[_0x1a7f07(0x37f)](_0xa84964,_0x2c2ba2){const _0x4a67da=_0x1a7f07,{cmd:_0xdcfad6}=_0x2c2ba2;_0xdcfad6===W[_0x4a67da(0x1e1)]&&!this[_0x4a67da(0x2fe)]&&(_0xa84964['memberID']=_0x2c2ba2[_0x4a67da(0x32e)][_0x4a67da(0x286)],this[_0x4a67da(0x404)][_0x4a67da(0x265)](_0xa84964),this[_0x4a67da(0x1fd)][_0x4a67da(0x265)](ve[_0x4a67da(0x48d)]),this[_0x4a67da(0x2fe)]=!0x0,this[_0x4a67da(0x37b)]=null),_0xdcfad6===W[_0x4a67da(0x315)]&&this['_clearTimeoutTimer'](),this[_0x4a67da(0x3d0)]();}[_0x1a7f07(0x3d0)](){const _0x329744=_0x1a7f07;var _0x1d48fe;this[_0x329744(0x5cd)](),this[_0x329744(0x4f3)]=window[_0x329744(0x38f)](()=>this[_0x329744(0x4e5)](),(_0x1d48fe=this[_0x329744(0x428)][_0x329744(0x1bf)](_r))!=null?_0x1d48fe:ur);}[_0x1a7f07(0x4e5)](){const _0x1444e3=_0x1a7f07;this[_0x1444e3(0x293)][_0x1444e3(0x445)]({'cmd':W[_0x1444e3(0x315)]}),this['_waitForHeartbeatResponse']();}[_0x1a7f07(0x3ac)](){const _0x31f8ea=_0x1a7f07;var _0x5ba137;this[_0x31f8ea(0x2d5)]=window['setTimeout'](()=>this[_0x31f8ea(0x4d9)](),(_0x5ba137=this[_0x31f8ea(0x428)]['getConfig'](bi))!=null?_0x5ba137:Ti);}['_clearHeartbeatTimer'](){const _0x42fe60=_0x1a7f07;this[_0x42fe60(0x4f3)]!=null&&(clearTimeout(this[_0x42fe60(0x4f3)]),this[_0x42fe60(0x4f3)]=null);}[_0x1a7f07(0x313)](){const _0x392fa6=_0x1a7f07;this[_0x392fa6(0x2d5)]!=null&&(clearTimeout(this[_0x392fa6(0x2d5)]),this[_0x392fa6(0x2d5)]=null);}};Ae=Br([je(0x0,_0x5cf6ec(_0xc0c089)),je(0x1,_0x5cf6ec(_0x51f47a)),je(0x2,_0x521fac),je(0x3,_0x1e210b),je(0x4,_0x34b905),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x1a7f07(0x4b6)]((Nt+0x100)[_0x1a7f07(0x297)](0x10)[_0x1a7f07(0x515)](0x1));function kr(_0x269447,_0x4ab2e2=0x0){const _0x1ebf9f=_0x1a7f07;return(Y[_0x269447[_0x4ab2e2+0x0]]+Y[_0x269447[_0x4ab2e2+0x1]]+Y[_0x269447[_0x4ab2e2+0x2]]+Y[_0x269447[_0x4ab2e2+0x3]]+'-'+Y[_0x269447[_0x4ab2e2+0x4]]+Y[_0x269447[_0x4ab2e2+0x5]]+'-'+Y[_0x269447[_0x4ab2e2+0x6]]+Y[_0x269447[_0x4ab2e2+0x7]]+'-'+Y[_0x269447[_0x4ab2e2+0x8]]+Y[_0x269447[_0x4ab2e2+0x9]]+'-'+Y[_0x269447[_0x4ab2e2+0xa]]+Y[_0x269447[_0x4ab2e2+0xb]]+Y[_0x269447[_0x4ab2e2+0xc]]+Y[_0x269447[_0x4ab2e2+0xd]]+Y[_0x269447[_0x4ab2e2+0xe]]+Y[_0x269447[_0x4ab2e2+0xf]])[_0x1ebf9f(0x26e)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x5e4e5d=_0x1a7f07;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x5e4e5d(0x44d)]&&crypto[_0x5e4e5d(0x44d)][_0x5e4e5d(0x373)](crypto),!ct))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x1a7f07(0x2a7)]&&crypto[_0x1a7f07(0x2a7)][_0x1a7f07(0x373)](crypto);const js={'randomUUID':Vr};function Gr(_0x81a17f,_0x24e5dd,_0x3533f5){const _0x4bcbca=_0x1a7f07;if(js['randomUUID']&&!_0x24e5dd&&!_0x81a17f)return js[_0x4bcbca(0x2a7)]();_0x81a17f=_0x81a17f||{};var _0xfea372=_0x81a17f[_0x4bcbca(0x463)]||(_0x81a17f[_0x4bcbca(0x3b5)]||Fr)();return _0xfea372[0x6]=_0xfea372[0x6]&0xf|0x40,_0xfea372[0x8]=_0xfea372[0x8]&0x3f|0x80,kr(_0xfea372);}var Yr=Object[_0x1a7f07(0x5b3)],Kr=Object[_0x1a7f07(0x298)],zr=(_0x213573,_0x1b34dc,_0x3db91c,_0x3a8c6c)=>{const _0x360864=_0x1a7f07;for(var _0x244ef5=_0x3a8c6c>0x1?void 0x0:_0x3a8c6c?Kr(_0x1b34dc,_0x3db91c):_0x1b34dc,_0x3f63e3=_0x213573[_0x360864(0x5bc)]-0x1,_0x442fa0;_0x3f63e3>=0x0;_0x3f63e3--)(_0x442fa0=_0x213573[_0x3f63e3])&&(_0x244ef5=(_0x3a8c6c?_0x442fa0(_0x1b34dc,_0x3db91c,_0x244ef5):_0x442fa0(_0x244ef5))||_0x244ef5);return _0x3a8c6c&&_0x244ef5&&Yr(_0x1b34dc,_0x3db91c,_0x244ef5),_0x244ef5;},At=(_0x1d95ab,_0x1f8683)=>(_0x4e69b2,_0x59e7d4)=>_0x1f8683(_0x4e69b2,_0x59e7d4,_0x1d95ab);let vt=class{constructor(_0x164d72,_0x2e7d61,_0x171589){const _0x438b91=_0x1a7f07;this[_0x438b91(0x4d5)]=_0x164d72,this['_transformService']=_0x2e7d61,this[_0x438b91(0x1e2)]=_0x171589;}['transformIMECache'](_0x3ab46b){const _0x310ad4=_0x1a7f07;this[_0x310ad4(0x355)](_0x3ab46b),this[_0x310ad4(0x261)](_0x3ab46b);}[_0x1a7f07(0x277)](_0x3dc8ee){const _0x3e2541=_0x1a7f07,{unitID:_0x5ca46d}=_0x3dc8ee,_0x315c90=this[_0x3e2541(0x1e2)][_0x3e2541(0x25e)](_0x5ca46d)['with'](_0x50c7b2),{redoCache:_0x23c00c}=_0x315c90[_0x3e2541(0x226)]();if(_0x23c00c['length']===0x0)return _0x3dc8ee;let _0x50d40b=_0x235991[_0x3e2541(0x311)](_0x3dc8ee[_0x3e2541(0x2bb)][0x0]);for(let _0x22526c=0x0;_0x22526c<_0x23c00c[_0x3e2541(0x5bc)];_0x22526c++){const _0x3781d8={'id':_0x3e2541(0x472),'params':{..._0x23c00c[_0x22526c]}},_0x33c51f=this[_0x3e2541(0x4af)]['transformMutation'](_0x50d40b,_0x3781d8,!0x1);if(_0x46adb2(_0x33c51f))throw _0x33c51f['error'];_0x50d40b=_0x33c51f[_0x3e2541(0x1c8)];}return{..._0x235991[_0x3e2541(0x311)](_0x3dc8ee),'mutations':[_0x50d40b]};}[_0x1a7f07(0x355)](_0x1b1eb8){const _0x240ed8=_0x1a7f07,{unitID:_0x2c0d00}=_0x1b1eb8,_0x595176=this['_renderManagerService'][_0x240ed8(0x25e)](_0x2c0d00)[_0x240ed8(0x364)](_0x50c7b2),{undoCache:_0x4fcdb3,redoCache:_0xfbcffa}=_0x595176[_0x240ed8(0x226)]();if(_0x4fcdb3[_0x240ed8(0x5bc)]===0x0||_0xfbcffa[_0x240ed8(0x5bc)]===0x0)return;const _0x195ff5=[],_0x3b4848=[];let _0x51c76f=_0x235991['deepClone'](_0x1b1eb8[_0x240ed8(0x2bb)][0x0]),_0x40df97=_0x235991['deepClone'](_0x1b1eb8[_0x240ed8(0x2bb)][0x0]);for(let _0x18a2ff=_0x4fcdb3['length']-0x1;_0x18a2ff>=0x0;_0x18a2ff--){const _0x4d01a5={'id':_0x240ed8(0x472),'params':{..._0x4fcdb3[_0x18a2ff]}},_0x4bf71a={'id':'doc.mutation.rich-text-editing','params':{..._0xfbcffa[_0x18a2ff]}},_0x599ed2=this[_0x240ed8(0x4af)][_0x240ed8(0x23b)](_0x51c76f,_0x4d01a5,!0x1),_0x4e2c5c=this['_transformService']['transformMutation'](_0x40df97,_0x4bf71a,!0x1);if(_0x46adb2(_0x599ed2))throw _0x599ed2[_0x240ed8(0x3eb)];if(_0x46adb2(_0x4e2c5c))throw _0x4e2c5c[_0x240ed8(0x3eb)];_0x195ff5['unshift'](_0x599ed2[_0x240ed8(0x2e3)][_0x240ed8(0x53f)]),_0x3b4848['unshift'](_0x4e2c5c[_0x240ed8(0x2e3)][_0x240ed8(0x53f)]),_0x51c76f=_0x599ed2[_0x240ed8(0x1c8)],_0x40df97=_0x4e2c5c['m1Prime'];}_0x595176[_0x240ed8(0x287)]({'undoCache':_0x195ff5,'redoCache':_0x3b4848});}[_0x1a7f07(0x261)](_0x1e4969){const _0x1d9a15=_0x1a7f07,{unitID:_0x2296ea}=_0x1e4969,_0x474293=this[_0x1d9a15(0x1e2)][_0x1d9a15(0x25e)](_0x2296ea)['with'](_0x50c7b2),_0x26ee55=_0x474293[_0x1d9a15(0x455)]();if(_0x26ee55==null)return;const _0x288a6b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e4969['unitID'],'actions':null,'textRanges':[_0x26ee55]}}],_0x3f4564=this[_0x1d9a15(0x4af)][_0x1d9a15(0x469)](_0x1e4969,_0x288a6b);if(!_0x1b23f5(_0x3f4564))throw _0x3f4564[_0x1d9a15(0x3eb)];const _0x22096d=_0x3f4564[_0x1d9a15(0x2e3)][0x0]['params'][_0x1d9a15(0x53b)];Array[_0x1d9a15(0x344)](_0x22096d)&&_0x22096d[_0x1d9a15(0x5bc)]&&_0x474293[_0x1d9a15(0x59f)](_0x22096d[0x0]);}};vt=zr([At(0x0,_0x5cf6ec(_0xc0c089)),At(0x1,_0x2746ae),At(0x2,_0xa3e106)],vt);var qr=Object[_0x1a7f07(0x5b3)],Xr=Object[_0x1a7f07(0x298)],Jr=(_0x3bdc94,_0x5d7adc,_0x1ec845,_0x349760)=>{for(var _0x41b14a=_0x349760>0x1?void 0x0:_0x349760?Xr(_0x5d7adc,_0x1ec845):_0x5d7adc,_0x31dd77=_0x3bdc94['length']-0x1,_0x4f55b0;_0x31dd77>=0x0;_0x31dd77--)(_0x4f55b0=_0x3bdc94[_0x31dd77])&&(_0x41b14a=(_0x349760?_0x4f55b0(_0x5d7adc,_0x1ec845,_0x41b14a):_0x4f55b0(_0x41b14a))||_0x41b14a);return _0x349760&&_0x41b14a&&qr(_0x5d7adc,_0x1ec845,_0x41b14a),_0x41b14a;},Xe=(_0x55d078,_0x20ef4d)=>(_0x960141,_0x31a7ce)=>_0x20ef4d(_0x960141,_0x31a7ce,_0x55d078);let q=class extends _0x3b3e75{constructor(_0x440dc6,_0x5cbf9d,_0x44b835,_0x47be3a,_0xa9ecf1){const _0x5ad049=_0x1a7f07;super(),g(this,'_cachedData',new Map()),g(this,_0x5ad049(0x372),new Map()),g(this,_0x5ad049(0x5c0),!0x1),(this['_configService']=_0x440dc6,this[_0x5ad049(0x280)]=_0x5cbf9d,this[_0x5ad049(0x437)]=_0x44b835,this[_0x5ad049(0x47a)]=_0x47be3a,this[_0x5ad049(0x26a)]=_0xa9ecf1,this[_0x5ad049(0x486)]());}[_0x1a7f07(0x4ef)](){const _0x576ee4=_0x1a7f07;this[_0x576ee4(0x5c0)]=!0x0;}['enableLocalCache'](){const _0x93ab92=_0x1a7f07;this[_0x93ab92(0x5c0)]=!0x1;}[_0x1a7f07(0x51b)](){const _0x292ebf=_0x1a7f07;this[_0x292ebf(0x47c)]()[_0x292ebf(0x44f)](()=>super[_0x292ebf(0x51b)]());}async[_0x1a7f07(0x394)](_0x4e3970){const _0x55c3cc=_0x1a7f07;return this['_disabled']?null:this[_0x55c3cc(0x280)][_0x55c3cc(0x450)](Bs(_0x4e3970));}async[_0x1a7f07(0x231)](_0x1c6f99,_0x317a5b){const _0xe104e0=_0x1a7f07;return!!this[_0xe104e0(0x280)][_0xe104e0(0x28b)](_0x1c6f99,_0x317a5b);}['updateOfflineData'](_0x28711f,_0x130b67,_0x1dc92b,_0x4c98c3){const _0x3e1f20=_0x1a7f07,_0xe4f4f9=this['_revisionService'][_0x3e1f20(0x409)](_0x28711f);this['_cachedData'][_0x3e1f20(0x3f4)](_0x28711f,{'unitID':_0x28711f,'type':_0x130b67,'awaitingChangeset':_0x1dc92b,'mutations':_0x4c98c3,'rev':_0xe4f4f9}),this[_0x3e1f20(0x372)][_0x3e1f20(0x581)](_0x28711f)||this['_scheduleSaving'](_0x28711f);}[_0x1a7f07(0x237)](_0x212365){const _0x31f53f=_0x1a7f07,_0x128b71=this['_getSaveTimeout']();_0x128b71===0x0?this[_0x31f53f(0x201)](_0x212365):this['_saveTaskMap'][_0x31f53f(0x3f4)](_0x212365,setTimeout(()=>this['_saveCache'](_0x212365),_0x128b71));}['_getSaveTimeout'](){var _0x31221c;return(_0x31221c=this['_configService']['getConfig'](mr))!=null?_0x31221c:pr;}['_saveCache'](_0x1975d7){const _0x333c9c=_0x1a7f07,_0x5be2c4=this[_0x333c9c(0x372)][_0x333c9c(0x59a)](_0x1975d7);return _0x5be2c4!==void 0x0&&window[_0x333c9c(0x2be)](_0x5be2c4),this['_localStorageService'][_0x333c9c(0x28b)](Bs(_0x1975d7),this['_cachedData'][_0x333c9c(0x59a)](_0x1975d7))[_0x333c9c(0x44f)](()=>this[_0x333c9c(0x372)][_0x333c9c(0x473)](_0x1975d7));}async[_0x1a7f07(0x47c)](){const _0x2ccc0b=_0x1a7f07,_0x1883d5=[];this[_0x2ccc0b(0x372)]['forEach']((_0x1bf24d,_0x488e01)=>{const _0x27e52e=_0x2ccc0b;window[_0x27e52e(0x2be)](_0x1bf24d),_0x1883d5[_0x27e52e(0x4b6)](this[_0x27e52e(0x201)](_0x488e01)[_0x27e52e(0x44f)](()=>{const _0x55bf58=_0x27e52e;this[_0x55bf58(0x372)][_0x55bf58(0x473)](_0x488e01);}));}),await Promise[_0x2ccc0b(0x5cf)](_0x1883d5);}[_0x1a7f07(0x486)](){const _0x1725e3=_0x1a7f07;this[_0x1725e3(0x4b1)](this[_0x1725e3(0x437)]['registerBeforeClose'](()=>{const _0x4048ee=_0x1725e3;if(this[_0x4048ee(0x372)][_0x4048ee(0x252)])return this[_0x4048ee(0x47a)]['t'](_0x4048ee(0x578));}));}};q=Jr([Xe(0x0,_0x34b905),Xe(0x1,_0x2a11e6),Xe(0x2,_0x5826ab),Xe(0x3,_0x5cf6ec(_0x51f47a)),Xe(0x4,_0x5cf6ec(_0x5ee8b1))],q);function Bs(_0x2f3b71){return'unit-cache-'+_0x2f3b71;}var Zr=Object[_0x1a7f07(0x5b3)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x51208c,_0x2f80ea,_0x3a9d14,_0x421a05)=>{for(var _0x23e18a=_0x421a05>0x1?void 0x0:_0x421a05?Qr(_0x2f80ea,_0x3a9d14):_0x2f80ea,_0x2a810e=_0x51208c['length']-0x1,_0xf48c26;_0x2a810e>=0x0;_0x2a810e--)(_0xf48c26=_0x51208c[_0x2a810e])&&(_0x23e18a=(_0x421a05?_0xf48c26(_0x2f80ea,_0x3a9d14,_0x23e18a):_0xf48c26(_0x23e18a))||_0x23e18a);return _0x421a05&&_0x23e18a&&Zr(_0x2f80ea,_0x3a9d14,_0x23e18a),_0x23e18a;},Mt=(_0x5f2a04,_0x40cb6e)=>(_0x43bb54,_0x471e9e)=>_0x40cb6e(_0x43bb54,_0x471e9e,_0x5f2a04);function to(_0x13553a){const _0x2e8e21=_0x1a7f07,{unitID:_0x223d69,mutations:_0x51888f}=_0x13553a;return{'unitId':_0x223d69,'subUnitId':_0x51888f[0x0][_0x2e8e21(0x53f)][_0x2e8e21(0x2c2)]};}let mt=class{constructor(_0x9e6aa0,_0x168839,_0x127a48){const _0x3b4117=_0x1a7f07;this['_injector']=_0x9e6aa0,this['_transformService']=_0x168839,this[_0x3b4117(0x3ab)]=_0x127a48;}[_0x1a7f07(0x48e)](_0xeb8ba8){const _0x5b71b6=_0x1a7f07;var _0xb24cae,_0x4eada6,_0x3a6202,_0x443b16;const _0x5b4035=this[_0x5b71b6(0x4d5)][_0x5b71b6(0x59a)](_0x2fad1e),{unitId:_0x5ef3ea,subUnitId:_0x2eeba3}=to(_0xeb8ba8),_0x56d419=_0x5b4035[_0x5b71b6(0x461)](_0x5ef3ea)[_0x5b71b6(0x3bf)](),_0x50c71c=(_0x4eada6=(_0xb24cae=this[_0x5b71b6(0x3ab)][_0x5b71b6(0x4d0)](_0x5ef3ea))==null?void 0x0:_0xb24cae[_0x5b71b6(0x234)]())==null?void 0x0:_0x4eada6[_0x5b71b6(0x554)]();if(_0x56d419[_0x5b71b6(0x5bc)]===0x0||!_0x5ef3ea||!_0x2eeba3)return;const _0x4e2667=[{'id':_0x27f103['id'],'params':{'unitId':_0x5ef3ea,'subUnitId':_0x50c71c,'selections':_0x235991[_0x5b71b6(0x311)](_0x56d419)}}],_0x4279fb=this[_0x5b71b6(0x4af)]['transformMutationsWithChangeset'](_0xeb8ba8,_0x4e2667);if(!_0x1b23f5(_0x4279fb))throw _0x4279fb[_0x5b71b6(0x3eb)];const _0x3a6d21=(_0x443b16=(_0x3a6202=_0x4279fb['m2Prime'][0x0])==null?void 0x0:_0x3a6202[_0x5b71b6(0x53f)])==null?void 0x0:_0x443b16[_0x5b71b6(0x5be)];if(Array[_0x5b71b6(0x344)](_0x3a6d21)&&_0x3a6d21[_0x5b71b6(0x5bc)]){if(_0x3a6d21['length']===_0x4e2667[0x0]['params'][_0x5b71b6(0x5be)][_0x5b71b6(0x5bc)]&&_0x3a6d21[_0x5b71b6(0x3ed)]((_0x5009ea,_0x276efe)=>_0x194108[_0x5b71b6(0x55d)](_0x5009ea[_0x5b71b6(0x40a)],_0x4e2667[0x0][_0x5b71b6(0x53f)][_0x5b71b6(0x5be)][_0x276efe]['range'])))return;this[_0x5b71b6(0x4d5)][_0x5b71b6(0x59a)](_0x322b66)[_0x5b71b6(0x26f)](_0x27f103['id'],{'unitId':_0x5ef3ea,'subUnitId':_0x50c71c,'selections':_0x3a6d21});}}};mt=eo([Mt(0x0,_0x5cf6ec(_0xc0c089)),Mt(0x1,_0x2746ae),Mt(0x2,_0x1726a1)],mt);const yt=_0x2707b7(_0x1a7f07(0x5cb));var Di=(_0x143caf=>(_0x143caf[_0x143caf['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x1a7f07(0x441),_0x143caf[_0x143caf[_0x1a7f07(0x34a)]=0x1]='OTHER_CLIENTS_EDITING',_0x143caf))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class so extends _0x3b3e75{constructor(){const _0x121c43=_0x1a7f07;super(),g(this,_0x121c43(0x2e1),_0x235991[_0x121c43(0x59c)]()),g(this,_0x121c43(0x347),new Set()),g(this,_0x121c43(0x278),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x121c43(0x2a3),new Map()),g(this,_0x121c43(0x40e),new Map()),this['_init']();}[_0x1a7f07(0x51b)](){const _0x3e75f6=_0x1a7f07;super[_0x3e75f6(0x51b)](),this['_clearOtherTimers']['forEach']((_0x22ce62,_0x444520)=>this[_0x3e75f6(0x1c3)](_0x444520)),this[_0x3e75f6(0x574)]&&window[_0x3e75f6(0x241)](this['_heartbeatTimer']);}[_0x1a7f07(0x513)](_0x35ee8b){const _0x1ad0a8=_0x1a7f07;return this[_0x1ad0a8(0x20f)](_0x35ee8b)['pipe'](_0x3f9e4c());}[_0x1a7f07(0x2a1)](_0x42e57e){const _0x46559f=_0x1a7f07;this[_0x46559f(0x347)][_0x46559f(0x252)]===0x0&&this[_0x46559f(0x495)](),this['_selfUnitIDs'][_0x46559f(0x476)](_0x42e57e),this[_0x46559f(0x34f)]({'type':0x0,'memberID':this[_0x46559f(0x2e1)],'unitIDs':[_0x42e57e],'isForwarded':!0x1});}[_0x1a7f07(0x262)](_0x4420aa){const _0x3a926e=_0x1a7f07;this['_selfUnitIDs']['delete'](_0x4420aa),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x3a926e(0x241)](this['_heartbeatTimer']);}[_0x1a7f07(0x426)](){const _0x9d6f97=_0x1a7f07;this['disposeWithMe'](_0x1c981a(_0x47503d(window,_0x9d6f97(0x3b6))[_0x9d6f97(0x29f)](_0x5d414d=>{const _0x1016f0=_0x9d6f97;if(_0x5d414d[_0x1016f0(0x29a)]!==Ws||!_0x5d414d[_0x1016f0(0x290)])return;const _0x8e0d55=JSON[_0x1016f0(0x379)](_0x5d414d['newValue']);this[_0x1016f0(0x538)](_0x8e0d55);}))),window[_0x9d6f97(0x3e9)](_0x9d6f97(0x534),()=>this[_0x9d6f97(0x34f)]({'type':0x1,'memberID':this[_0x9d6f97(0x2e1)],'unitIDs':Array[_0x9d6f97(0x2ed)](this[_0x9d6f97(0x347)])}));}[_0x1a7f07(0x538)](_0x275b0b){const _0x552510=_0x1a7f07;switch(_0x275b0b[_0x552510(0x23c)]){case 0x0:this[_0x552510(0x2f2)](_0x275b0b);break;case 0x1:this[_0x552510(0x21a)](_0x275b0b);break;case 0x2:this[_0x552510(0x233)](_0x275b0b);break;}}[_0x1a7f07(0x2f2)](_0x56f08e){const _0x29f887=_0x1a7f07,{unitIDs:_0x2df5a7,memberID:_0x491771,isForwarded:_0x59658b}=_0x56f08e;_0x2df5a7['forEach'](_0x5f0986=>{const _0x10cfc0=_0x54d3;if(!_0x59658b&&this[_0x10cfc0(0x278)][_0x10cfc0(0x581)](_0x5f0986)&&this[_0x10cfc0(0x20f)](_0x5f0986)[_0x10cfc0(0x265)](0x1),!this[_0x10cfc0(0x278)]['has'](_0x5f0986)||!this['_unitOnClients'][_0x10cfc0(0x59a)](_0x5f0986)[_0x10cfc0(0x581)](_0x491771)){const _0x29b4d1=this[_0x10cfc0(0x278)]['get'](_0x5f0986)||new Set();_0x29b4d1[_0x10cfc0(0x476)](_0x491771),this['_unitOnClients'][_0x10cfc0(0x3f4)](_0x5f0986,_0x29b4d1),this[_0x10cfc0(0x545)](_0x491771);}}),_0x59658b||this[_0x29f887(0x34f)]({'type':0x0,'memberID':this[_0x29f887(0x2e1)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1a7f07(0x545)](_0x51632b){const _0x5d1bd6=_0x1a7f07;this[_0x5d1bd6(0x1c3)](_0x51632b);const _0x5d05a7=window[_0x5d1bd6(0x38f)](()=>{const _0x19268b=_0x5d1bd6;this[_0x19268b(0x278)][_0x19268b(0x547)](_0x2da3bb=>{const _0x5c767c=_0x19268b;_0x2da3bb[_0x5c767c(0x473)](_0x51632b);});},ks*0x2);this[_0x5d1bd6(0x2a3)]['set'](_0x51632b,_0x5d05a7);}[_0x1a7f07(0x1c3)](_0x46cf80){const _0x631a1a=_0x1a7f07;if(this['_clearOtherTimers'][_0x631a1a(0x581)](_0x46cf80)){const _0x584206=this[_0x631a1a(0x2a3)][_0x631a1a(0x59a)](_0x46cf80);_0x584206&&window['clearTimeout'](_0x584206),this['_clearOtherTimers'][_0x631a1a(0x3f4)](_0x46cf80,null);}}[_0x1a7f07(0x21a)](_0x522e10){const _0x212739=_0x1a7f07,{memberID:_0x5e8869,unitIDs:_0x4e3232}=_0x522e10;_0x4e3232['forEach'](_0xedadde=>{const _0x5a5f47=_0x54d3;var _0x442bd7;const _0x3b28b6=this[_0x5a5f47(0x278)]['get'](_0xedadde);_0x3b28b6&&(_0x3b28b6['delete'](_0x5e8869),(_0x442bd7=this[_0x5a5f47(0x20f)](_0xedadde))==null||_0x442bd7[_0x5a5f47(0x265)](_0x3b28b6[_0x5a5f47(0x252)]===0x0?0x0:0x1));}),this[_0x212739(0x1c3)](_0x5e8869);}['_handleHeartbeatEvent'](_0x4a8768){const _0xf12036=_0x1a7f07;this['_scheduleClearOtherTimer'](_0x4a8768[_0xf12036(0x286)]);}[_0x1a7f07(0x34f)](_0x5b402f){const _0x14814=_0x1a7f07;localStorage[_0x14814(0x28b)](Ws,JSON['stringify'](_0x5b402f));}[_0x1a7f07(0x495)](){const _0x565f18=_0x1a7f07;this[_0x565f18(0x574)]=window[_0x565f18(0x485)](()=>{const _0x5e97de=_0x565f18;this['_send']({'type':0x2,'memberID':this[_0x5e97de(0x2e1)]});},ks);}[_0x1a7f07(0x20f)](_0x30ac7f){const _0x4f520b=_0x1a7f07;return this[_0x4f520b(0x40e)][_0x4f520b(0x581)](_0x30ac7f)||this['_unitStatus'][_0x4f520b(0x3f4)](_0x30ac7f,new _0x2c5f3e(0x0)),this[_0x4f520b(0x40e)][_0x4f520b(0x59a)](_0x30ac7f);}}var io=Object[_0x1a7f07(0x5b3)],no=Object['getOwnPropertyDescriptor'],ro=(_0x4ccb3b,_0x568ac9,_0x24a088,_0x13a4fc)=>{const _0x2f31cc=_0x1a7f07;for(var _0x251706=_0x13a4fc>0x1?void 0x0:_0x13a4fc?no(_0x568ac9,_0x24a088):_0x568ac9,_0x212edf=_0x4ccb3b[_0x2f31cc(0x5bc)]-0x1,_0x4c96a0;_0x212edf>=0x0;_0x212edf--)(_0x4c96a0=_0x4ccb3b[_0x212edf])&&(_0x251706=(_0x13a4fc?_0x4c96a0(_0x568ac9,_0x24a088,_0x251706):_0x4c96a0(_0x251706))||_0x251706);return _0x13a4fc&&_0x251706&&io(_0x568ac9,_0x24a088,_0x251706),_0x251706;},xt=(_0x1aeb8f,_0x2241a1)=>(_0x23027b,_0x3fdd4b)=>_0x2241a1(_0x23027b,_0x3fdd4b,_0x1aeb8f);let pt=class{constructor(_0x28a4bc,_0x461f91,_0x3035b7){const _0x4172c4=_0x1a7f07;this['_injector']=_0x28a4bc,this[_0x4172c4(0x4af)]=_0x461f91,this[_0x4172c4(0x359)]=_0x3035b7;}[_0x1a7f07(0x2f0)](_0x311a61){const _0x2ac5a7=_0x1a7f07;this[_0x2ac5a7(0x1f8)](_0x311a61);}[_0x1a7f07(0x277)](_0x533e55){const _0x38263e=_0x1a7f07,{unitID:_0x5de87f}=_0x533e55,{collaboration:_0x86a9de}=this[_0x38263e(0x359)]['getStateCache'](_0x5de87f);if(_0x86a9de[_0x38263e(0x5bc)]===0x0)return _0x533e55;let _0x4b4f7d=_0x235991[_0x38263e(0x311)](_0x533e55[_0x38263e(0x2bb)][0x0]);for(let _0x42a007=0x0;_0x42a007<_0x86a9de[_0x38263e(0x5bc)];_0x42a007++){const _0x18f47b={'id':_0x38263e(0x472),'params':{'unitId':_0x86a9de[_0x42a007][_0x38263e(0x3c9)],..._0x86a9de[_0x42a007][_0x38263e(0x2fd)]}},_0xa08175=this['_transformService'][_0x38263e(0x23b)](_0x4b4f7d,_0x18f47b,!0x1);if(_0x46adb2(_0xa08175))throw _0xa08175['error'];_0x4b4f7d=_0xa08175[_0x38263e(0x1c8)];}return{..._0x235991[_0x38263e(0x311)](_0x533e55),'mutations':[_0x4b4f7d]};}[_0x1a7f07(0x1f8)](_0xb20321){const _0x2fdf1e=_0x1a7f07,{unitID:_0x5ba57d}=_0xb20321,{history:_0x422218,collaboration:_0x39341e}=this['_docStateChangeManagerService']['getStateCache'](_0x5ba57d);if(_0x422218[_0x2fdf1e(0x5bc)]===0x0&&_0x39341e[_0x2fdf1e(0x5bc)]===0x0)return;const _0x462761=[],_0x3077ad=[];let _0x2d8305=_0x235991[_0x2fdf1e(0x311)](_0xb20321[_0x2fdf1e(0x2bb)][0x0]),_0x1e0ea5=_0x235991[_0x2fdf1e(0x311)](_0xb20321['mutations'][0x0]);for(let _0xec5c2a=_0x422218['length']-0x1;_0xec5c2a>=0x0;_0xec5c2a--){const _0x1197ac={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x422218[_0xec5c2a]['unitId'],..._0x422218[_0xec5c2a][_0x2fdf1e(0x4ac)]}},_0x31bcfd={'id':_0x2fdf1e(0x472),'params':{'unitId':_0x422218[_0xec5c2a][_0x2fdf1e(0x3c9)],..._0x422218[_0xec5c2a]['redoState']}},_0x3caef7=this[_0x2fdf1e(0x4af)][_0x2fdf1e(0x23b)](_0x2d8305,_0x1197ac,!0x1),_0x3a7985=this[_0x2fdf1e(0x4af)]['transformMutation'](_0x1e0ea5,_0x31bcfd,!0x1);if(_0x46adb2(_0x3caef7))throw _0x3caef7[_0x2fdf1e(0x3eb)];if(_0x46adb2(_0x3a7985))throw _0x3a7985[_0x2fdf1e(0x3eb)];_0x462761[_0x2fdf1e(0x3fc)]({..._0x422218[_0xec5c2a],'undoState':_0x3caef7['m2Prime'][_0x2fdf1e(0x53f)],'redoState':_0x3a7985['m2Prime'][_0x2fdf1e(0x53f)]}),_0x2d8305=_0x3caef7[_0x2fdf1e(0x1c8)],_0x1e0ea5=_0x3a7985['m1Prime'];}_0x2d8305=_0x235991[_0x2fdf1e(0x311)](_0xb20321[_0x2fdf1e(0x2bb)][0x0]),_0x1e0ea5=_0x235991[_0x2fdf1e(0x311)](_0xb20321['mutations'][0x0]);for(let _0x5bab54=_0x39341e[_0x2fdf1e(0x5bc)]-0x1;_0x5bab54>=0x0;_0x5bab54--){const _0x4d4541={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39341e[_0x5bab54][_0x2fdf1e(0x3c9)],..._0x39341e[_0x5bab54][_0x2fdf1e(0x4ac)]}},_0x14435d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39341e[_0x5bab54]['unitId'],..._0x39341e[_0x5bab54][_0x2fdf1e(0x2fd)]}},_0xbe00af=this[_0x2fdf1e(0x4af)]['transformMutation'](_0x2d8305,_0x4d4541,!0x1),_0x2c8774=this[_0x2fdf1e(0x4af)][_0x2fdf1e(0x23b)](_0x1e0ea5,_0x14435d,!0x1);if(_0x46adb2(_0xbe00af))throw _0xbe00af[_0x2fdf1e(0x3eb)];if(_0x46adb2(_0x2c8774))throw _0x2c8774[_0x2fdf1e(0x3eb)];_0x3077ad[_0x2fdf1e(0x3fc)]({..._0x39341e[_0x5bab54],'undoState':_0xbe00af[_0x2fdf1e(0x2e3)][_0x2fdf1e(0x53f)],'redoState':_0x2c8774[_0x2fdf1e(0x2e3)]['params']}),_0x2d8305=_0xbe00af['m1Prime'],_0x1e0ea5=_0x2c8774[_0x2fdf1e(0x1c8)];}this[_0x2fdf1e(0x359)][_0x2fdf1e(0x3ec)](_0x5ba57d,{'history':_0x462761,'collaboration':_0x3077ad});}};pt=ro([xt(0x0,_0x5cf6ec(_0xc0c089)),xt(0x1,_0x2746ae),xt(0x2,_0x5cf6ec(_0x3fdbd8))],pt);function Pi(_0x3cdca0){const _0x36d963=_0x1a7f07;let _0x17eb53='';for(const _0x59109d of _0x3cdca0){const {startOffset:_0x169a0d,endOffset:_0x21ce7b,isActive:_0x499af9,rangeType:_0x487e6d,segmentId:_0x296497,segmentPage:_0x47359e}=_0x59109d;_0x17eb53[_0x36d963(0x5bc)]&&(_0x17eb53+=','),_0x17eb53+=_0x169a0d+':'+_0x21ce7b+':'+(_0x499af9?'1':'0')+':'+_0x487e6d+':'+_0x296497+':'+_0x47359e;}return _0x17eb53;}function oo(_0x4a77f4){const _0x5482df=_0x1a7f07,_0x5bee4e=_0x4a77f4[_0x5482df(0x42d)](','),_0x54b7b9=[];for(const _0x1b6d73 of _0x5bee4e){const [_0x3460bc,_0xa0678,_0x4e1637,_0x3ddbe5,_0xeb7155,_0x5a1b5]=_0x1b6d73[_0x5482df(0x42d)](':');_0x54b7b9['push']({'startOffset':Number(_0x3460bc),'endOffset':Number(_0xa0678),'collapsed':_0x3460bc===_0xa0678,'isActive':_0x4e1637==='1','rangeType':_0x3ddbe5===_0xe3b3a7[_0x5482df(0x3d5)]?_0xe3b3a7['TEXT']:_0xe3b3a7[_0x5482df(0x29c)],'segmentId':typeof _0xeb7155==_0x5482df(0x3b1)?String(_0xeb7155):'','segmentPage':Number(_0x5a1b5!=null?_0x5a1b5:-0x1)});}return _0x54b7b9[_0x5482df(0x420)](_0x5eef8c=>_0x5eef8c['isActive'])||(_0x54b7b9[0x0][_0x5482df(0x1d0)]=!0x0),_0x54b7b9;}class Cs extends _0x1cb902{constructor(){const _0x541c0b=_0x1a7f07;super(...arguments),g(this,_0x541c0b(0x334),new _0x2c5f3e(null)),g(this,_0x541c0b(0x3a8),this['_collabCursorState$'][_0x541c0b(0x456)]());}[_0x1a7f07(0x1db)](_0x48dd3a){const _0x19bce1=_0x1a7f07,{unitID:_0x5f199b,memberID:_0xc4906a,textRanges:_0x4476d4}=_0x48dd3a,_0x14cd9a=Pi(_0x4476d4);if(_0x14cd9a==='')return;const _0x3f994c={'unitID':_0x5f199b,'memberID':_0xc4906a,'selection':_0x14cd9a};this[_0x19bce1(0x334)]['next'](_0x3f994c);}}var ao=Object[_0x1a7f07(0x5b3)],co=Object['getOwnPropertyDescriptor'],ho=(_0x3045cc,_0x17bcdd,_0x4ef30b,_0x521130)=>{const _0x21e464=_0x1a7f07;for(var _0x3785cf=_0x521130>0x1?void 0x0:_0x521130?co(_0x17bcdd,_0x4ef30b):_0x17bcdd,_0x2443e5=_0x3045cc[_0x21e464(0x5bc)]-0x1,_0x4abbc9;_0x2443e5>=0x0;_0x2443e5--)(_0x4abbc9=_0x3045cc[_0x2443e5])&&(_0x3785cf=(_0x521130?_0x4abbc9(_0x17bcdd,_0x4ef30b,_0x3785cf):_0x4abbc9(_0x3785cf))||_0x3785cf);return _0x521130&&_0x3785cf&&ao(_0x17bcdd,_0x4ef30b,_0x3785cf),_0x3785cf;},Fs=(_0x18bc94,_0x5832a0)=>(_0xa2d9fe,_0x3a0a66)=>_0x5832a0(_0xa2d9fe,_0x3a0a66,_0x18bc94);let gt=class{constructor(_0x584295,_0x3d5dee){const _0x48d471=_0x1a7f07;this[_0x48d471(0x4d5)]=_0x584295,this['_transformService']=_0x3d5dee;}[_0x1a7f07(0x48e)](_0x1f1bbe){const _0x237e00=_0x1a7f07;var _0x497dab;const _0x5bbd62=this[_0x237e00(0x4d5)][_0x237e00(0x59a)](_0x4ad750),_0x275340=(_0x497dab=_0x5bbd62[_0x237e00(0x2f9)]())!=null?_0x497dab:[];if(_0x275340[_0x237e00(0x5bc)]===0x0)return;const _0x501dec=[{'id':_0x237e00(0x472),'params':{'unitId':_0x1f1bbe[_0x237e00(0x5b2)],'actions':null,'textRanges':_0x275340}}],_0x5a04cc=this['_transformService'][_0x237e00(0x469)](_0x1f1bbe,_0x501dec);if(!_0x1b23f5(_0x5a04cc))throw _0x5a04cc['error'];const _0x43da1f=_0x5a04cc['m2Prime'][0x0]['params'][_0x237e00(0x53b)];Array['isArray'](_0x43da1f)&&_0x43da1f['length']&&_0x5bbd62['replaceTextRanges'](_0x43da1f,!0x1);}};gt=ho([Fs(0x0,_0x5cf6ec(_0xc0c089)),Fs(0x1,_0x2746ae)],gt);const lo=new Set([_0x250bb3['id']]);function Vs(_0x4be652,_0x50866d,_0x4b2af0,_0x126d65,_0xee8a62){const _0x32e654=_0x1a7f07;var _0x1ba849,_0x48473f,_0x428b86,_0x948bf1;const _0x5e73c8=[];for(const _0x1b6514 of _0x4be652)if(lo['has'](_0x1b6514['id'])){if(_0x5e73c8[_0x32e654(0x5bc)]>0x0)break;_0x5e73c8[_0x32e654(0x4b6)](_0x1b6514);break;}else _0x5e73c8[_0x32e654(0x4b6)](_0x1b6514);const _0x3ef96f=(_0x48473f=(_0x1ba849=_0xee8a62[_0x32e654(0x3c2)]())==null?void 0x0:_0x1ba849[_0x32e654(0x53c)])!=null?_0x48473f:_0x32e654(0x247),_0x1875e5=(_0x948bf1=(_0x428b86=_0xee8a62[_0x32e654(0x3c2)]())==null?void 0x0:_0x428b86['memberID'])!=null?_0x948bf1:_0x32e654(0x247);return{'changeset':{'unitID':_0x50866d,'type':_0x518e15(_0x4b2af0[_0x32e654(0x46b)](_0x50866d)),'baseRev':_0x126d65['getCurrentRevOfUnit'](_0x50866d),'revision':0x0,'userID':_0x3ef96f,'memberID':_0x1875e5,'mutations':_0x5e73c8},'pendingMutations':_0x4be652[_0x32e654(0x515)](_0x5e73c8[_0x32e654(0x5bc)])};}function _o(_0x3eda37,_0x5ce4e3,_0x444491,_0x141514,_0x2592a2){const _0x563a8d=_0x1a7f07;var _0x5d8874,_0x1ee243,_0x169fa9,_0x11b2a1;const _0x2f4f07=[_0x3eda37[_0x563a8d(0x496)]((_0x570414,_0x4e8843)=>{const _0x37e8bc=_0x563a8d;var _0x5000c2;const {id:_0xe96e82}=_0x570414,{id:_0x48ab60,type:_0xcf923c}=_0x4e8843,_0x20344b=(_0x5000c2=_0x570414[_0x37e8bc(0x53f)])!=null?_0x5000c2:{'actions':null},_0x2ae007=_0x4e8843[_0x37e8bc(0x53f)];if(_0xe96e82&&_0xe96e82!==_0x48ab60)throw new Error(_0x37e8bc(0x492)+_0xe96e82+_0x37e8bc(0x1e4)+_0x48ab60+'.');return{..._0x570414,'id':_0x48ab60,'type':_0xcf923c,'params':{'unitId':_0x2ae007[_0x37e8bc(0x3c9)],'textRanges':_0x2ae007[_0x37e8bc(0x53b)],'actions':_0xb47243[_0x37e8bc(0x43a)](_0x20344b[_0x37e8bc(0x2aa)],_0x2ae007[_0x37e8bc(0x2aa)])}};},{})],_0x48a595=(_0x1ee243=(_0x5d8874=_0x2592a2[_0x563a8d(0x3c2)]())==null?void 0x0:_0x5d8874[_0x563a8d(0x53c)])!=null?_0x1ee243:_0x563a8d(0x247),_0x40a452=(_0x11b2a1=(_0x169fa9=_0x2592a2[_0x563a8d(0x3c2)]())==null?void 0x0:_0x169fa9[_0x563a8d(0x286)])!=null?_0x11b2a1:_0x563a8d(0x247);return{'changeset':{'unitID':_0x5ce4e3,'type':_0x518e15(_0x444491[_0x563a8d(0x46b)](_0x5ce4e3)),'baseRev':_0x141514[_0x563a8d(0x409)](_0x5ce4e3),'revision':0x0,'userID':_0x48a595,'memberID':_0x40a452,'mutations':_0x2f4f07},'pendingMutations':[]};}function Ui(_0x4aa07d,_0x1da145){const _0xad243c=_0x1a7f07,_0x140f1d=new _0x32d019(0x1);return setTimeout(()=>_0x140f1d[_0xad243c(0x265)](_0x1da145),_0x4aa07d),_0x140f1d[_0xad243c(0x456)]()[_0xad243c(0x1cf)](_0x4e26bd(0x1));}const uo={'id':_0x84a982['id'],'type':_0x42d006[_0x1a7f07(0x5b9)],'params':{}};var fo=Object[_0x1a7f07(0x5b3)],vo=Object[_0x1a7f07(0x298)],Le=(_0x4aebe7,_0x560c26,_0x167d25,_0xc1fcfb)=>{const _0x1c3134=_0x1a7f07;for(var _0x37abe8=_0xc1fcfb>0x1?void 0x0:_0xc1fcfb?vo(_0x560c26,_0x167d25):_0x560c26,_0xe1d709=_0x4aebe7[_0x1c3134(0x5bc)]-0x1,_0x48d29d;_0xe1d709>=0x0;_0xe1d709--)(_0x48d29d=_0x4aebe7[_0xe1d709])&&(_0x37abe8=(_0xc1fcfb?_0x48d29d(_0x560c26,_0x167d25,_0x37abe8):_0x48d29d(_0x37abe8))||_0x37abe8);return _0xc1fcfb&&_0x37abe8&&fo(_0x560c26,_0x167d25,_0x37abe8),_0x37abe8;},A=(_0x26af35,_0x2eb979)=>(_0x42ca97,_0x2f3a24)=>_0x2eb979(_0x42ca97,_0x2f3a24,_0x26af35),J=(_0x3678bb=>(_0x3678bb['NOT_COLLAB']=_0x1a7f07(0x2a9),_0x3678bb[_0x1a7f07(0x4f9)]=_0x1a7f07(0x1d6),_0x3678bb[_0x1a7f07(0x1ca)]='pending',_0x3678bb['AWAITING']=_0x1a7f07(0x3ce),_0x3678bb['AWAITING_WITH_PENDING']=_0x1a7f07(0x291),_0x3678bb[_0x1a7f07(0x50f)]=_0x1a7f07(0x540),_0x3678bb[_0x1a7f07(0x5ac)]=_0x1a7f07(0x54d),_0x3678bb[_0x1a7f07(0x31d)]=_0x1a7f07(0x3b0),_0x3678bb))(J||{});const Ni=0xea60;class $e{constructor(_0xad600f,_0x5e0f6f,_0x40b2db,_0x444cff,_0x905b15,_0x33d496,_0x4dc3d0,_0x29f6e0,_0xe5c5af){const _0x5af106=_0x1a7f07;g(this,_0x5af106(0x54e),null),g(this,'_pendingMutations',[]),(this[_0x5af106(0x5b2)]=_0xad600f,this[_0x5af106(0x23c)]=_0x5e0f6f,this[_0x5af106(0x543)]=_0x905b15,this[_0x5af106(0x4b3)]=_0x33d496,this[_0x5af106(0x443)]=_0x4dc3d0,this[_0x5af106(0x26a)]=_0x29f6e0,this[_0x5af106(0x493)]=_0xe5c5af,this['_awaitingChangeset']=_0x40b2db,this[_0x5af106(0x45e)]=_0x444cff);}[_0x1a7f07(0x484)](_0x3d4c0b){const _0x3571c6=_0x1a7f07,_0x431d31=this[_0x3571c6(0x26a)]['getCurrentRevOfUnit'](this[_0x3571c6(0x5b2)]);return _0x3d4c0b[_0x3571c6(0x206)]>_0x431d31+0x1?(this[_0x3571c6(0x543)][_0x3571c6(0x30a)]({'from':_0x431d31,'to':_0x3d4c0b[_0x3571c6(0x206)]-0x1}),!0x0):!0x1;}[_0x1a7f07(0x569)](_0x22f7b2){const _0x20479d=_0x1a7f07;this['_undoRedoService'][_0x20479d(0x243)](this[_0x20479d(0x5b2)],_0x22f7b2);}['_transformSelections'](_0x40e06a){const _0x3e8a17=_0x1a7f07;var _0x55cd42,_0x3faf73;(_0x3faf73=(_0x55cd42=this[_0x3e8a17(0x543)])[_0x3e8a17(0x242)])==null||_0x3faf73[_0x3e8a17(0x4bb)](_0x55cd42,_0x40e06a);}[_0x1a7f07(0x3e3)](_0x46d45c){const _0x31510e=_0x1a7f07;var _0x483850,_0x3c1e9e;return(_0x3c1e9e=(_0x483850=this[_0x31510e(0x543)])['onTransformIME'])==null?void 0x0:_0x3c1e9e[_0x31510e(0x4bb)](_0x483850,_0x46d45c);}[_0x1a7f07(0x457)](_0x339de6){const _0x109d96=_0x1a7f07;var _0x3df6fd,_0x1e8198;return(_0x1e8198=(_0x3df6fd=this[_0x109d96(0x543)])[_0x109d96(0x327)])==null?void 0x0:_0x1e8198[_0x109d96(0x4bb)](_0x3df6fd,_0x339de6);}[_0x1a7f07(0x4da)](_0x570d57){const _0x4ef204=_0x1a7f07;var _0x7f4115,_0x53cd54,_0x1a66d7;return(_0x1a66d7=(_0x53cd54=(_0x7f4115=this[_0x4ef204(0x543)])[_0x4ef204(0x257)])==null?void 0x0:_0x53cd54[_0x4ef204(0x4bb)](_0x7f4115,_0x570d57))!=null?_0x1a66d7:_0x570d57;}[_0x1a7f07(0x564)](_0x4b8a51){const _0x47c7d7=_0x1a7f07;var _0x6dbfff,_0x139101,_0x188e46;return(_0x188e46=(_0x139101=(_0x6dbfff=this[_0x47c7d7(0x543)])[_0x47c7d7(0x4a0)])==null?void 0x0:_0x139101[_0x47c7d7(0x4bb)](_0x6dbfff,_0x4b8a51))!=null?_0x188e46:_0x4b8a51;}[_0x1a7f07(0x2c0)](_0x2e150f){const _0x5df6a3=_0x1a7f07;var _0x58576a,_0xd4e959;if(this[_0x5df6a3(0x23c)]===ce[_0x5df6a3(0x51a)]){const {unitID:_0xabfa51,mutations:_0x6a32e8,memberID:_0x29f211}=_0x2e150f,_0x58b04e=_0x6a32e8[0x0][_0x5df6a3(0x53f)][_0x5df6a3(0x53b)];Array['isArray'](_0x58b04e)&&_0x58b04e[_0x5df6a3(0x5bc)]>0x0&&((_0xd4e959=(_0x58576a=this[_0x5df6a3(0x543)])[_0x5df6a3(0x438)])==null||_0xd4e959['call'](_0x58576a,{'unitID':_0xabfa51,'memberID':_0x29f211,'textRanges':_0x58b04e}));}}['_updateLocalCache'](){const _0x380d7a=_0x1a7f07;this['_localCacheService'][_0x380d7a(0x56f)](this[_0x380d7a(0x5b2)],this[_0x380d7a(0x23c)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x1a7f07(0x571)](){const _0xe4cd01=_0x1a7f07;return this[_0xe4cd01(0x26a)][_0xe4cd01(0x409)](this[_0xe4cd01(0x5b2)]);}['_incrementRevisionNumber'](){const _0x238fc1=_0x1a7f07;this[_0x238fc1(0x26a)][_0x238fc1(0x5a2)](this[_0x238fc1(0x5b2)]);}[_0x1a7f07(0x45c)](_0x38a6b1){const _0x37ba57=_0x1a7f07;var _0x53807c;let _0x22c20b=this[_0x37ba57(0x4da)](_0x38a6b1);_0x22c20b=this[_0x37ba57(0x564)](_0x22c20b);const _0x488378=_0xd02ce7(_0x22c20b['mutations'],this[_0x37ba57(0x4b3)],{'fromCollab':!0x0});if(!_0x488378[_0x37ba57(0x2a5)])throw _0x488378[_0x37ba57(0x3eb)]instanceof Error?_0x488378['error']:new Error((_0x53807c=_0x488378[_0x37ba57(0x3eb)])!=null?_0x53807c:_0x37ba57(0x55c));this[_0x37ba57(0x3e3)](_0x22c20b),this[_0x37ba57(0x457)](_0x22c20b),this[_0x37ba57(0x569)](_0x38a6b1),this[_0x37ba57(0x3b3)](_0x22c20b),this[_0x37ba57(0x2c0)](_0x22c20b),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x694a56,_0x4e5cd0,_0x334f5e,_0x31c8b5,_0x51bb89,_0x188dbd,_0x40600a,_0x2aed40,_0x381d1b,_0x4da3bc){const _0x355ff6=_0x1a7f07;super(_0x694a56,_0x4e5cd0,null,[],_0x334f5e,_0x2aed40,_0x40600a,_0x31c8b5,_0x51bb89),g(this,_0x355ff6(0x3ff),'synced'),(this[_0x355ff6(0x4d5)]=_0x188dbd,this['_logService']=_0x381d1b,this[_0x355ff6(0x4af)]=_0x4da3bc);}[_0x1a7f07(0x511)](_0x55c858){const _0x54af00=_0x1a7f07,_0x585f5b=this[_0x54af00(0x4d5)][_0x54af00(0x34e)](pe,this['unitID'],this[_0x54af00(0x23c)],[_0x55c858],this[_0x54af00(0x543)]);return _0x585f5b[_0x54af00(0x4b7)](),_0x585f5b[_0x54af00(0x3d2)](),_0x585f5b;}['onRemoteChangeset'](_0x2ce9fc){const _0x143e6b=_0x1a7f07;if(this[_0x143e6b(0x484)](_0x2ce9fc))return this[_0x143e6b(0x4d5)][_0x143e6b(0x34e)](he,this['unitID'],this[_0x143e6b(0x23c)],null,[],null,[_0x2ce9fc],this[_0x143e6b(0x543)]);try{const _0x70971e=this[_0x143e6b(0x4af)][_0x143e6b(0x469)](_0x2ce9fc,[uo]);if(_0x1b23f5(_0x70971e)){const {c1Prime:_0x147b71}=_0x70971e;return this['_executeRemoteChangeset'](_0x147b71),this;}throw _0x70971e[_0x143e6b(0x3eb)];}catch(_0x5221a0){return this['_logService'][_0x143e6b(0x3eb)](_0x5221a0),this[_0x143e6b(0x22d)](!0x1);}}[_0x1a7f07(0x22d)](_0xbdd21c){const _0x2d4045=_0x1a7f07;return this['_injector'][_0x2d4045(0x34e)](Re,this[_0x2d4045(0x5b2)],this[_0x2d4045(0x23c)],null,[],this[_0x2d4045(0x543)],_0xbdd21c);}[_0x1a7f07(0x27e)](){const _0x2f5c53=_0x1a7f07;throw new Error(_0x2f5c53(0x310));}[_0x1a7f07(0x273)](){const _0x443c2a=_0x1a7f07;throw new Error(_0x443c2a(0x285));}[_0x1a7f07(0x2d7)](){return this;}[_0x1a7f07(0x1f7)](){const _0x4bd65c=_0x1a7f07;return this['_injector'][_0x4bd65c(0x34e)](ye,this[_0x4bd65c(0x5b2)],this[_0x4bd65c(0x23c)],null,[],this[_0x4bd65c(0x543)]);}['toggleOnline'](){return this;}[_0x1a7f07(0x465)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1a7f07(0x2c4)](){const _0x285bdc=_0x1a7f07,_0x4a5f5a=this[_0x285bdc(0x26a)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x285bdc(0x543)]['onMissingChangesets']({'from':_0x4a5f5a,'to':0x0}),this[_0x285bdc(0x4d5)][_0x285bdc(0x34e)](he,this[_0x285bdc(0x5b2)],this[_0x285bdc(0x23c)],null,[],null,[],this[_0x285bdc(0x543)]);}};Fe=Le([A(0x3,_0x5cf6ec(_0x5ee8b1)),A(0x4,_0x5cf6ec(q)),A(0x5,_0x5cf6ec(_0xc0c089)),A(0x6,_0x5c2e54),A(0x7,_0x322b66),A(0x8,_0x1e210b),A(0x9,_0x2746ae)],Fe);let pe=class extends $e{constructor(_0x42299d,_0x29a25b,_0x31346e,_0x8473cc,_0x2fb163,_0x29ae19,_0x5120a0,_0x1631f7,_0x42996c,_0x6b223,_0x38c025,_0x5bfdaa,_0x5984f4,_0x16141e){const _0x22b5cc=_0x1a7f07;super(_0x42299d,_0x29a25b,null,_0x31346e,_0x8473cc,_0x6b223,_0x16141e,_0x29ae19,_0x5120a0),g(this,_0x22b5cc(0x3ff),_0x22b5cc(0x4db)),g(this,'_scheduleTimestamp',null),g(this,_0x22b5cc(0x529),null),(this['_injector']=_0x2fb163,this[_0x22b5cc(0x2d8)]=_0x1631f7,this[_0x22b5cc(0x345)]=_0x42996c,this[_0x22b5cc(0x428)]=_0x38c025,this[_0x22b5cc(0x4af)]=_0x5bfdaa,this[_0x22b5cc(0x44e)]=_0x5984f4);}[_0x1a7f07(0x511)](_0x495020){const _0x2d1d83=_0x1a7f07;return this[_0x2d1d83(0x45e)]['push'](_0x495020),this[_0x2d1d83(0x3d2)](),this;}[_0x1a7f07(0x35d)](_0x23490d){const _0xd42702=_0x1a7f07;if(this[_0xd42702(0x484)](_0x23490d))return this[_0xd42702(0x366)](),this[_0xd42702(0x4d5)][_0xd42702(0x34e)](he,this[_0xd42702(0x5b2)],this['type'],null,this[_0xd42702(0x45e)],null,[_0x23490d],this[_0xd42702(0x543)]);try{const _0x165e2e=this[_0xd42702(0x4af)][_0xd42702(0x469)](_0x23490d,this[_0xd42702(0x45e)]);if(_0x1b23f5(_0x165e2e)){const {c1Prime:_0x3b6135,m2Prime:_0x2fff3f}=_0x165e2e;this[_0xd42702(0x45c)](_0x3b6135);const _0x54e1e7=this[_0xd42702(0x4d5)][_0xd42702(0x34e)](pe,this[_0xd42702(0x5b2)],this[_0xd42702(0x23c)],_0x2fff3f,this['_handler']);return this['_clearScheduledTask'](),_0x54e1e7[_0xd42702(0x4b7)](this[_0xd42702(0x3b7)]?Math['max'](0x0,new Date()[_0xd42702(0x487)]()-this['_scheduleTimestamp']):this[_0xd42702(0x5b4)]()),_0x54e1e7;}throw _0x165e2e[_0xd42702(0x3eb)];}catch(_0x5d8c7b){return this[_0xd42702(0x345)][_0xd42702(0x3eb)](_0x5d8c7b),this[_0xd42702(0x22d)](!0x1);}}[_0x1a7f07(0x27e)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x207301=_0x1a7f07;throw new Error(_0x207301(0x3a6));}[_0x1a7f07(0x2d7)](){return this;}['toggleOffline'](){const _0x34e724=_0x1a7f07;return this[_0x34e724(0x366)](),this[_0x34e724(0x4d5)][_0x34e724(0x34e)](ye,this[_0x34e724(0x5b2)],this[_0x34e724(0x23c)],null,this[_0x34e724(0x45e)],this[_0x34e724(0x543)]);}[_0x1a7f07(0x325)](){return this;}[_0x1a7f07(0x4b7)](_0x452abd){const _0x2b63e4=_0x1a7f07,_0x129d81=_0x452abd!=null?_0x452abd:this[_0x2b63e4(0x5b4)]();this['_scheduleTimestamp']=new Date()[_0x2b63e4(0x487)](),this['_sendingTimer']=window[_0x2b63e4(0x38f)](()=>{const _0x257cfa=_0x2b63e4;this['_clearScheduledTask']();let _0x3fe206=null;switch(this[_0x257cfa(0x23c)]){case ce['UNIVER_SHEET']:{_0x3fe206=Vs(this['_pendingMutations'],this[_0x257cfa(0x5b2)],this[_0x257cfa(0x44e)],this['_revisionService'],this[_0x257cfa(0x2d8)]);break;}case ce[_0x257cfa(0x51a)]:{this[_0x257cfa(0x45e)][_0x257cfa(0x3ed)](_0x14ce9c=>_0x14ce9c['id']===_0x22550b['id'])?_0x3fe206=_o(this['_pendingMutations'],this[_0x257cfa(0x5b2)],this['_univerInstanceService'],this['_revisionService'],this[_0x257cfa(0x2d8)]):_0x3fe206=Vs(this['_pendingMutations'],this['unitID'],this[_0x257cfa(0x44e)],this[_0x257cfa(0x26a)],this['_memberService']);break;}default:throw new Error(_0x257cfa(0x5a6)+this[_0x257cfa(0x23c)]+_0x257cfa(0x49c));}const {changeset:_0x223e27,pendingMutations:_0x1a3be2}=_0x3fe206;this[_0x257cfa(0x543)]['onSendChangeset'](_0x223e27);const _0x5bf21e=_0x1a3be2[_0x257cfa(0x5bc)]?this[_0x257cfa(0x4d5)][_0x257cfa(0x34e)](ge,this[_0x257cfa(0x5b2)],this[_0x257cfa(0x23c)],_0x223e27,_0x1a3be2,this[_0x257cfa(0x543)],void 0x0):this[_0x257cfa(0x4d5)][_0x257cfa(0x34e)](Te,this[_0x257cfa(0x5b2)],this['type'],_0x223e27,this[_0x257cfa(0x543)]);_0x5bf21e[_0x257cfa(0x3d2)](),this['_handler'][_0x257cfa(0x507)](this,_0x5bf21e);},_0x129d81);}[_0x1a7f07(0x5b4)](){const _0x1f26e1=_0x1a7f07;var _0x86a1f4;const _0x3d9ad7=this[_0x1f26e1(0x428)][_0x1f26e1(0x1bf)](ie);return(_0x86a1f4=_0x3d9ad7==null?void 0x0:_0x3d9ad7[_0x1f26e1(0x516)])!=null?_0x86a1f4:cr;}[_0x1a7f07(0x465)](){const _0xd7b348=_0x1a7f07;throw new Error(_0xd7b348(0x4bf));}['_clearScheduledTask'](){const _0x15176e=_0x1a7f07;this[_0x15176e(0x529)]!=null&&(clearTimeout(this[_0x15176e(0x529)]),this[_0x15176e(0x529)]=null);}[_0x1a7f07(0x22d)](_0x4e26d0){const _0x152ff9=_0x1a7f07;return this[_0x152ff9(0x366)](),this[_0x152ff9(0x4d5)][_0x152ff9(0x34e)](Re,this['unitID'],this[_0x152ff9(0x23c)],null,this[_0x152ff9(0x45e)],this[_0x152ff9(0x543)],_0x4e26d0);}};pe=Le([A(0x4,_0x5cf6ec(_0xc0c089)),A(0x5,_0x5cf6ec(_0x5ee8b1)),A(0x6,_0x5cf6ec(q)),A(0x7,_0x5cf6ec(Ne)),A(0x8,_0x1e210b),A(0x9,_0x322b66),A(0xa,_0x34b905),A(0xb,_0x2746ae),A(0xc,_0x1726a1),A(0xd,_0x5c2e54)],pe);let Te=class extends $e{constructor(_0x122fa1,_0x173082,_0x2355c1,_0x2ac22c,_0x238dd3,_0x4a3429,_0xffa0be,_0x3d312c,_0x3a26db,_0x15e761,_0x3cede3){const _0x3ef301=_0x1a7f07;super(_0x122fa1,_0x173082,_0x2355c1,[],_0x2ac22c,_0x3d312c,_0x3cede3,_0x4a3429,_0xffa0be),g(this,_0x3ef301(0x3ff),_0x3ef301(0x3ce)),g(this,_0x3ef301(0x39a),0x0),g(this,_0x3ef301(0x405)),g(this,_0x3ef301(0x352)),(this[_0x3ef301(0x4d5)]=_0x238dd3,this['_logService']=_0x3a26db,this[_0x3ef301(0x4af)]=_0x15e761);}[_0x1a7f07(0x511)](_0x28631c){const _0x358afc=_0x1a7f07;this[_0x358afc(0x366)]();const _0x5b9334=this[_0x358afc(0x4d5)]['createInstance'](ge,this[_0x358afc(0x5b2)],this[_0x358afc(0x23c)],this['_awaitingChangeset'],[_0x28631c],this['_handler'],this[_0x358afc(0x405)]);return _0x5b9334[_0x358afc(0x3d2)](),_0x5b9334;}[_0x1a7f07(0x35d)](_0x2dc44e){const _0x434731=_0x1a7f07;if(this['_checkMissing'](_0x2dc44e))return this[_0x434731(0x366)](),this[_0x434731(0x4d5)][_0x434731(0x34e)](he,this[_0x434731(0x5b2)],this[_0x434731(0x23c)],this[_0x434731(0x54e)],[],null,[_0x2dc44e],this['_handler']);try{const _0x1b411d=this[_0x434731(0x4af)][_0x434731(0x579)]([_0x2dc44e],[this['_awaitingChangeset']],!0x1);if(_0x408fbf(_0x1b411d)){const {c1Prime:_0x95313c,c2Prime:_0x324071}=_0x1b411d;this[_0x434731(0x45c)](_0x95313c[0x0]),_0x324071[0x0][_0x434731(0x4cc)]=this[_0x434731(0x571)](),this[_0x434731(0x366)]();const _0x15894b=this[_0x434731(0x4d5)]['createInstance'](Te,this[_0x434731(0x5b2)],this[_0x434731(0x23c)],_0x324071[0x0],this[_0x434731(0x543)]);return _0x15894b['_updateLocalCache'](),_0x15894b;}return this[_0x434731(0x22d)](!0x1);}catch(_0xa5135f){return this[_0x434731(0x345)][_0x434731(0x3eb)](_0xa5135f),this[_0x434731(0x22d)](!0x1);}}[_0x1a7f07(0x27e)](_0x263c9c){const _0x4e18f2=_0x1a7f07;this[_0x4e18f2(0x366)]();const _0x2c2b2d=this[_0x4e18f2(0x26a)][_0x4e18f2(0x409)](this[_0x4e18f2(0x5b2)]);if(_0x263c9c['revision']<_0x2c2b2d-0x1)return this;if(this[_0x4e18f2(0x484)](_0x263c9c))return this['_injector']['createInstance'](he,this[_0x4e18f2(0x5b2)],this['type'],null,[],this[_0x4e18f2(0x54e)],[],this[_0x4e18f2(0x543)]);this['_incrementRevisionNumber']();const _0x37d08a=this[_0x4e18f2(0x4d5)][_0x4e18f2(0x34e)](Fe,this[_0x4e18f2(0x5b2)],this[_0x4e18f2(0x23c)],this[_0x4e18f2(0x543)]);return _0x37d08a[_0x4e18f2(0x3d2)](),_0x37d08a;}[_0x1a7f07(0x273)](_0x5eccb3){const _0x529c48=_0x1a7f07;return this[_0x529c48(0x22d)](!!(_0x5eccb3!=null&&_0x5eccb3[_0x529c48(0x383)]));}['onRemoteRetry'](_0x4fb229){const _0x118590=_0x1a7f07;return this['_resendTimeout']>Ni?this['toggleOffline']():(this[_0x118590(0x405)]=Ui(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4fb229['reqId']}),this['_sender']=this[_0x118590(0x405)][_0x118590(0x29f)](({reqId:_0x55d339,timeout:_0x28e84b})=>{const _0x53bf19=_0x118590;this[_0x53bf19(0x43f)](_0x55d339,_0x28e84b);}),this);}[_0x1a7f07(0x1f7)](){const _0x55b759=_0x1a7f07;return this[_0x55b759(0x366)](),this[_0x55b759(0x4d5)]['createInstance'](ye,this[_0x55b759(0x5b2)],this['type'],this[_0x55b759(0x54e)],[],this[_0x55b759(0x543)]);}['toggleOnline'](){return this;}['resend'](){const _0x5c0e35=_0x1a7f07;this[_0x5c0e35(0x543)][_0x5c0e35(0x549)](this['_awaitingChangeset']);}[_0x1a7f07(0x22d)](_0x168cdb){const _0x5a3593=_0x1a7f07;return this[_0x5a3593(0x366)](),this[_0x5a3593(0x4d5)][_0x5a3593(0x34e)](Re,this[_0x5a3593(0x5b2)],this[_0x5a3593(0x23c)],this[_0x5a3593(0x54e)],[],this[_0x5a3593(0x543)],_0x168cdb);}['_resendWithTimeout'](_0x3cd260,_0x34cffa){const _0x4724ba=_0x1a7f07;var _0x53a6a5;_0x3cd260===((_0x53a6a5=this[_0x4724ba(0x54e)])==null?void 0x0:_0x53a6a5[_0x4724ba(0x577)])&&(this[_0x4724ba(0x465)](),this[_0x4724ba(0x39a)]=_0x34cffa===0x0?0x3e8:_0x34cffa*0x2);}[_0x1a7f07(0x366)](){const _0x55dd65=_0x1a7f07;var _0x170626;(_0x170626=this['_sender'])==null||_0x170626[_0x55dd65(0x4ee)](),this[_0x55dd65(0x39a)]=0x0;}};Te=Le([A(0x4,_0x5cf6ec(_0xc0c089)),A(0x5,_0x5cf6ec(_0x5ee8b1)),A(0x6,_0x5cf6ec(q)),A(0x7,_0x322b66),A(0x8,_0x1e210b),A(0x9,_0x2746ae),A(0xa,_0x5c2e54)],Te);let ge=class extends $e{constructor(_0x18fed7,_0x3e968f,_0x17e080,_0x3d65b0,_0x4078b8,_0x409f7e,_0x208121,_0x5beac6,_0x1437c6,_0x439789,_0x207c28,_0x58722a,_0x31b521){const _0x2b5df8=_0x1a7f07;super(_0x18fed7,_0x3e968f,_0x17e080,_0x3d65b0,_0x4078b8,_0x439789,_0x31b521,_0x5beac6,_0x1437c6),g(this,_0x2b5df8(0x3ff),_0x2b5df8(0x291)),g(this,'_resendTimeout',0x0),g(this,_0x2b5df8(0x405)),g(this,_0x2b5df8(0x352)),(this[_0x2b5df8(0x4d5)]=_0x208121,this[_0x2b5df8(0x345)]=_0x207c28,this[_0x2b5df8(0x4af)]=_0x58722a,_0x409f7e&&(this[_0x2b5df8(0x405)]=_0x409f7e,this[_0x2b5df8(0x352)]=this[_0x2b5df8(0x405)][_0x2b5df8(0x29f)](({reqId:_0x4e1e0f,timeout:_0x529a1e})=>{this['_resendWithTimeout'](_0x4e1e0f,_0x529a1e);})));}[_0x1a7f07(0x511)](_0x11a814){const _0x69baa9=_0x1a7f07;return this['_pendingMutations'][_0x69baa9(0x4b6)](_0x11a814),this;}[_0x1a7f07(0x35d)](_0x75f371){const _0x47e693=_0x1a7f07;if(this['_checkMissing'](_0x75f371))return this[_0x47e693(0x366)](),this[_0x47e693(0x4d5)]['createInstance'](he,this[_0x47e693(0x5b2)],this[_0x47e693(0x23c)],this[_0x47e693(0x54e)],this[_0x47e693(0x45e)],null,[_0x75f371],this[_0x47e693(0x543)]);try{const _0x59365a=this[_0x47e693(0x4af)][_0x47e693(0x579)]([_0x75f371],[this['_awaitingChangeset']],!0x1);if(_0x408fbf(_0x59365a)){const {c1Prime:_0xa530ef,c2Prime:_0x25f09f}=_0x59365a,_0x20efc1=this[_0x47e693(0x4af)]['transformMutationsWithChangeset'](_0xa530ef[0x0],this[_0x47e693(0x45e)]);if(_0x1b23f5(_0x20efc1)){const {c1Prime:_0x381eea,m2Prime:_0x3b14e1}=_0x20efc1;return this[_0x47e693(0x45c)](_0x381eea),_0x25f09f[0x0][_0x47e693(0x4cc)]=this[_0x47e693(0x571)](),this['_clearScheduledTask'](),this[_0x47e693(0x4d5)][_0x47e693(0x34e)](ge,this[_0x47e693(0x5b2)],this[_0x47e693(0x23c)],_0x25f09f[0x0],_0x3b14e1,this[_0x47e693(0x543)],void 0x0);}throw _0x20efc1[_0x47e693(0x3eb)];}throw _0x59365a['error'];}catch(_0x338254){return this[_0x47e693(0x345)][_0x47e693(0x3eb)](_0x338254),this[_0x47e693(0x22d)](!0x1);}}['onRemoteAck'](_0x353e23){const _0x192019=_0x1a7f07;if(this[_0x192019(0x366)](),this[_0x192019(0x484)](_0x353e23))return this['_injector'][_0x192019(0x34e)](he,this['unitID'],this[_0x192019(0x23c)],null,this[_0x192019(0x45e)],this[_0x192019(0x54e)],[],this['_handler']);this[_0x192019(0x3a7)]();const _0x213a9c=this[_0x192019(0x4d5)][_0x192019(0x34e)](pe,this[_0x192019(0x5b2)],this[_0x192019(0x23c)],this[_0x192019(0x45e)],this[_0x192019(0x543)]);return _0x213a9c[_0x192019(0x4b7)](),_0x213a9c[_0x192019(0x3d2)](),_0x213a9c;}[_0x1a7f07(0x273)](_0x43476a){const _0x27da78=_0x1a7f07;return this[_0x27da78(0x22d)](!!(_0x43476a!=null&&_0x43476a[_0x27da78(0x383)]));}[_0x1a7f07(0x2d7)](_0x241ad8){const _0xbc333a=_0x1a7f07;return this['_resendTimeout']>Ni?this['toggleOffline']():(this[_0xbc333a(0x405)]=Ui(this[_0xbc333a(0x39a)],{'timeout':this[_0xbc333a(0x39a)],'reqId':_0x241ad8[_0xbc333a(0x577)]}),this[_0xbc333a(0x352)]=this['_resendTimer'][_0xbc333a(0x29f)](({reqId:_0xcc96dd,timeout:_0x202880})=>{const _0x395d00=_0xbc333a;this[_0x395d00(0x43f)](_0xcc96dd,_0x202880);}),this);}[_0x1a7f07(0x1f7)](){const _0x383ae9=_0x1a7f07;return this['_clearScheduledTask'](),this[_0x383ae9(0x4d5)][_0x383ae9(0x34e)](ye,this['unitID'],this[_0x383ae9(0x23c)],this[_0x383ae9(0x54e)],this[_0x383ae9(0x45e)],this[_0x383ae9(0x543)]);}[_0x1a7f07(0x325)](){return this;}['resend'](){const _0x435782=_0x1a7f07;this[_0x435782(0x543)][_0x435782(0x549)](this[_0x435782(0x54e)]);}['_onConflict'](_0x4448cb){const _0x222170=_0x1a7f07;return this[_0x222170(0x366)](),this[_0x222170(0x4d5)][_0x222170(0x34e)](Re,this[_0x222170(0x5b2)],this[_0x222170(0x23c)],null,this[_0x222170(0x45e)],this[_0x222170(0x543)],_0x4448cb);}[_0x1a7f07(0x43f)](_0x4feea1,_0x180e28){const _0x55368c=_0x1a7f07;var _0x35c20e;_0x4feea1===((_0x35c20e=this[_0x55368c(0x54e)])==null?void 0x0:_0x35c20e[_0x55368c(0x577)])&&(this[_0x55368c(0x465)](),this[_0x55368c(0x39a)]=_0x180e28===0x0?0x3e8:_0x180e28*0x2);}['_clearScheduledTask'](){const _0x28d893=_0x1a7f07;var _0x42bb00;(_0x42bb00=this[_0x28d893(0x352)])==null||_0x42bb00[_0x28d893(0x4ee)](),this[_0x28d893(0x39a)]=0x0;}};ge=Le([A(0x6,_0x5cf6ec(_0xc0c089)),A(0x7,_0x5cf6ec(_0x5ee8b1)),A(0x8,_0x5cf6ec(q)),A(0x9,_0x322b66),A(0xa,_0x1e210b),A(0xb,_0x2746ae),A(0xc,_0x5c2e54)],ge);let Re=class extends $e{constructor(_0x4401ac,_0x390f88,_0x395975,_0x2ce22f,_0x32a565,_0xf491c2=!0x1,_0x4b8ce8,_0x24b33f,_0x54485a,_0x59a68b,_0x17ed08,_0x38b216,_0x482457){const _0x506cc2=_0x1a7f07;super(_0x4401ac,_0x390f88,_0x395975,_0x2ce22f,_0x32a565,_0x24b33f,_0x54485a,_0x17ed08,_0x59a68b),g(this,_0x506cc2(0x3ff),_0x506cc2(0x54d)),(this[_0x506cc2(0x4ae)]=_0xf491c2,this[_0x506cc2(0x47b)]=_0x4b8ce8,this[_0x506cc2(0x47a)]=_0x38b216,this[_0x506cc2(0x4f8)]=_0x482457,this[_0x506cc2(0x240)](),this[_0x506cc2(0x3c3)](),this[_0x506cc2(0x58c)]());}[_0x1a7f07(0x511)](){return this;}['onRemoteChangeset'](){return this;}[_0x1a7f07(0x27e)](){return this;}[_0x1a7f07(0x273)](){return this;}[_0x1a7f07(0x2d7)](){return this;}[_0x1a7f07(0x1f7)](){return this;}[_0x1a7f07(0x325)](){return this;}[_0x1a7f07(0x465)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1a7f07(0x3c3)](){const _0x3a2822=_0x1a7f07;this[_0x3a2822(0x493)]['updateOfflineData'](this[_0x3a2822(0x5b2)],this['type'],null,[]);}['_showConflictNotification'](){const _0x634c8=_0x1a7f07;this['_isPermissionRej']?this[_0x634c8(0x4f8)][_0x634c8(0x1ed)]({'title':this[_0x634c8(0x47a)]['t'](_0x634c8(0x2bd)),'content':this[_0x634c8(0x47a)]['t']('permission.content'),'type':_0x634c8(0x3eb),'duration':0x0}):this['_notificationService'][_0x634c8(0x1ed)]({'title':this[_0x634c8(0x47a)]['t'](_0x634c8(0x296)),'content':this['_localeService']['t'](_0x634c8(0x2d6)),'type':'error','duration':0x0});}[_0x1a7f07(0x58c)](){const _0x2d9df9=_0x1a7f07;this[_0x2d9df9(0x47b)][_0x2d9df9(0x288)](new _0x5bdffd(this[_0x2d9df9(0x5b2)])['id'],!0x1);}};Re=Le([A(0x6,_0x5cf6ec(_0x1083e0)),A(0x7,_0x322b66),A(0x8,_0x5c2e54),A(0x9,_0x5cf6ec(q)),A(0xa,_0x5cf6ec(_0x5ee8b1)),A(0xb,_0x5cf6ec(_0x51f47a)),A(0xc,_0x5a8c90)],Re);let ye=class extends $e{constructor(_0x4f5764,_0x469df3,_0x465c6a,_0x3b150e,_0x4f4ac4,_0x59d668,_0x12b141,_0x1d6191,_0x5297a4,_0xcbaad2){const _0x507b4c=_0x1a7f07;super(_0x4f5764,_0x469df3,_0x465c6a,_0x3b150e,_0x4f4ac4,_0x5297a4,_0xcbaad2,_0x12b141,_0x1d6191),g(this,'status',_0x507b4c(0x3b0)),this[_0x507b4c(0x4d5)]=_0x59d668;}[_0x1a7f07(0x511)](_0x549145){const _0x5a9a17=_0x1a7f07;return this[_0x5a9a17(0x45e)][_0x5a9a17(0x4b6)](_0x549145),this[_0x5a9a17(0x3d2)](),this;}[_0x1a7f07(0x35d)](_0x102948){const _0x1e144e=_0x1a7f07;throw new Error(_0x1e144e(0x5a9));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x1a7f07(0x273)](){const _0x3f00c0=_0x1a7f07;throw new Error(_0x3f00c0(0x508));}[_0x1a7f07(0x2d7)](){return this;}[_0x1a7f07(0x1f7)](){return this;}[_0x1a7f07(0x325)](){const {_injector:_0xd0df9c,_pendingMutations:_0x5ea6ff,_awaitingChangeset:_0x1dcd09,unitID:_0x3ad0d7,_handler:_0x2d6099,type:_0xe9ae1a}=this,_0x38908a=Ai(_0xd0df9c,_0x3ad0d7,_0xe9ae1a,_0x1dcd09,_0x5ea6ff,_0x2d6099);return _0x38908a instanceof pe?_0x38908a['_schedule']():(_0x38908a instanceof ge||_0x38908a instanceof Te)&&_0x38908a['resend'](),_0x38908a;}['resend'](){const _0xfc93e0=_0x1a7f07;throw new Error(_0xfc93e0(0x4e1));}};ye=Le([A(0x5,_0x5cf6ec(_0xc0c089)),A(0x6,_0x5cf6ec(_0x5ee8b1)),A(0x7,_0x5cf6ec(q)),A(0x8,_0x322b66),A(0x9,_0x5c2e54)],ye);let he=class extends $e{constructor(_0x92d773,_0x151df1,_0x590120,_0x5e3ec3,_0x55ad4d,_0xc43475,_0x101790,_0x13305b,_0x4f839c,_0x50fad8,_0x5c55b4,_0x1fcf3c,_0xa25cd8,_0x275f28){const _0x43c263=_0x1a7f07;super(_0x92d773,_0x151df1,_0x590120,_0x5e3ec3,_0x101790,_0x1fcf3c,_0xa25cd8,_0x4f839c,_0x50fad8),g(this,_0x43c263(0x3ff),_0x43c263(0x540)),(this[_0x43c263(0x48b)]=_0x55ad4d,this[_0x43c263(0x58f)]=_0xc43475,this[_0x43c263(0x4d5)]=_0x13305b,this['_logService']=_0x5c55b4,this['_transformService']=_0x275f28);}[_0x1a7f07(0x251)](_0x1a62ff){const _0x5a3df7=_0x1a7f07;try{const _0xf833c8=[..._0x1a62ff,...this[_0x5a3df7(0x58f)]],_0x38f774=[this[_0x5a3df7(0x54e)]||this[_0x5a3df7(0x48b)]][_0x5a3df7(0x3de)](_0x43aa89=>!!_0x43aa89);let _0x19b544,_0x4499d7;if(_0x38f774[_0x5a3df7(0x5bc)]){const _0x2f0190=this[_0x5a3df7(0x4af)][_0x5a3df7(0x579)](_0xf833c8,_0x38f774,!0x1);if(!_0x408fbf(_0x2f0190))throw _0x2f0190['error'];_0x19b544=_0x2f0190[_0x5a3df7(0x435)],_0x4499d7=_0x2f0190[_0x5a3df7(0x53d)];}else _0x19b544=_0xf833c8,_0x4499d7=[];let _0x3ba190=this[_0x5a3df7(0x45e)];_0x19b544[_0x5a3df7(0x547)](_0xae405d=>{const _0x2d7ec0=_0x5a3df7;let _0x252fc6;if(_0x3ba190[_0x2d7ec0(0x5bc)]){const _0x4dca2a=this[_0x2d7ec0(0x4af)]['transformMutationsWithChangeset'](_0xae405d,_0x3ba190);if(!_0x1b23f5(_0x4dca2a))throw _0x4dca2a[_0x2d7ec0(0x3eb)];_0x252fc6=_0x4dca2a['c1Prime'],_0x3ba190=_0x4dca2a['m2Prime'];}else _0x252fc6=_0xae405d;this[_0x2d7ec0(0x45c)](_0x252fc6);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5a3df7(0x3a7)](),this[_0x5a3df7(0x54e)]&&_0x4499d7[_0x5a3df7(0x5bc)]&&(_0x4499d7[0x0][_0x5a3df7(0x4cc)]=this['_getCurrentRevision']());let _0x210e9d;if(this['_awaitingChangeset']&&_0x3ba190[_0x5a3df7(0x5bc)]!==0x0)_0x210e9d=this['_injector'][_0x5a3df7(0x34e)](ge,this['unitID'],this[_0x5a3df7(0x23c)],_0x4499d7[0x0],_0x3ba190,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x3ba190[_0x5a3df7(0x5bc)]===0x0)_0x4499d7[0x0][_0x5a3df7(0x4cc)]=this[_0x5a3df7(0x571)](),_0x210e9d=this[_0x5a3df7(0x4d5)]['createInstance'](Te,this['unitID'],this['type'],_0x4499d7[0x0],this['_handler']);else{if(_0x3ba190['length']!==0x0){const _0x56acea=this[_0x5a3df7(0x4d5)][_0x5a3df7(0x34e)](pe,this['unitID'],this[_0x5a3df7(0x23c)],_0x3ba190,this[_0x5a3df7(0x543)]);_0x56acea[_0x5a3df7(0x4b7)](),_0x210e9d=_0x56acea;}else _0x210e9d=this[_0x5a3df7(0x4d5)][_0x5a3df7(0x34e)](Fe,this[_0x5a3df7(0x5b2)],this['type'],this[_0x5a3df7(0x543)]);}}return _0x210e9d[_0x5a3df7(0x3d2)](),_0x210e9d;}catch(_0xd75f25){return this[_0x5a3df7(0x345)][_0x5a3df7(0x3eb)](_0x5a3df7(0x56e),_0x5a3df7(0x546),_0xd75f25),this[_0x5a3df7(0x4d5)][_0x5a3df7(0x34e)](Re,this['unitID'],this[_0x5a3df7(0x23c)],this['_awaitingChangeset'],this[_0x5a3df7(0x45e)],this[_0x5a3df7(0x543)],!0x1);}}['resend'](){const _0x4603e7=_0x1a7f07;throw new Error(_0x4603e7(0x376));}[_0x1a7f07(0x511)](_0x126111){const _0x31b0c4=_0x1a7f07;return this[_0x31b0c4(0x45e)][_0x31b0c4(0x4b6)](_0x126111),this;}[_0x1a7f07(0x35d)](_0x36f414){const _0x70a3b2=_0x1a7f07;return this['_queuedRemoteChangesets'][_0x70a3b2(0x4b6)](_0x36f414),this;}[_0x1a7f07(0x27e)](_0x2532d5){const _0x13429e=_0x1a7f07;if(this[_0x13429e(0x54e)])return this[_0x13429e(0x48b)]=this['_awaitingChangeset'],this[_0x13429e(0x54e)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1a7f07(0x273)](_0x3f042c){const _0x10d823=_0x1a7f07;return this[_0x10d823(0x22d)](!!(_0x3f042c!=null&&_0x3f042c[_0x10d823(0x383)]));}['onRemoteRetry'](){return this;}[_0x1a7f07(0x1f7)](){const _0x595f86=_0x1a7f07;return this[_0x595f86(0x4d5)][_0x595f86(0x34e)](ye,this[_0x595f86(0x5b2)],this[_0x595f86(0x23c)],this[_0x595f86(0x54e)],this[_0x595f86(0x45e)],this[_0x595f86(0x543)]);}[_0x1a7f07(0x325)](){return this;}['_onConflict'](_0x3f844c){const _0x4a2988=_0x1a7f07;return this[_0x4a2988(0x4d5)]['createInstance'](Re,this[_0x4a2988(0x5b2)],this[_0x4a2988(0x23c)],this[_0x4a2988(0x54e)],this[_0x4a2988(0x45e)],this[_0x4a2988(0x543)],_0x3f844c);}};he=Le([A(0x7,_0x5cf6ec(_0xc0c089)),A(0x8,_0x5cf6ec(_0x5ee8b1)),A(0x9,_0x5cf6ec(q)),A(0xa,_0x1e210b),A(0xb,_0x322b66),A(0xc,_0x5c2e54),A(0xd,_0x2746ae)],he);function Ai(_0x27270e,_0x17a372,_0x3a6dad,_0x2c83fc,_0x1de6c2,_0x3c540c){const _0x53e4dd=_0x1a7f07;return _0x2c83fc&&_0x1de6c2[_0x53e4dd(0x5bc)]?_0x27270e['createInstance'](ge,_0x17a372,_0x3a6dad,_0x2c83fc,_0x1de6c2,_0x3c540c,void 0x0):_0x2c83fc?_0x27270e[_0x53e4dd(0x34e)](Te,_0x17a372,_0x3a6dad,_0x2c83fc,_0x3c540c):_0x1de6c2[_0x53e4dd(0x5bc)]?_0x27270e[_0x53e4dd(0x34e)](pe,_0x17a372,_0x3a6dad,_0x1de6c2,_0x3c540c):_0x27270e[_0x53e4dd(0x34e)](Fe,_0x17a372,_0x3a6dad,_0x3c540c);}var mo=Object[_0x1a7f07(0x5b3)],po=Object[_0x1a7f07(0x298)],Es=(_0x1d6b20,_0x2b2c25,_0x3d834f,_0x527b90)=>{const _0x479160=_0x1a7f07;for(var _0x259e2e=_0x527b90>0x1?void 0x0:_0x527b90?po(_0x2b2c25,_0x3d834f):_0x2b2c25,_0x37252c=_0x1d6b20[_0x479160(0x5bc)]-0x1,_0x2b0c96;_0x37252c>=0x0;_0x37252c--)(_0x2b0c96=_0x1d6b20[_0x37252c])&&(_0x259e2e=(_0x527b90?_0x2b0c96(_0x2b2c25,_0x3d834f,_0x259e2e):_0x2b0c96(_0x259e2e))||_0x259e2e);return _0x527b90&&_0x259e2e&&mo(_0x2b2c25,_0x3d834f,_0x259e2e),_0x259e2e;},H=(_0x2ebd24,_0x34198f)=>(_0x4f818e,_0x1d8073)=>_0x34198f(_0x4f818e,_0x1d8073,_0x2ebd24);let St=class extends _0x1cb902{constructor(_0x596cd7,_0x55d1ab,_0x505706,_0x56173b,_0x5abeff,_0x3d6076,_0x2d57e3,_0xc31cae,_0x17241a,_0x1b2990,_0x5063e3,_0x4050c7,_0x4a0182){const _0x784980=_0x1a7f07;super(),g(this,_0x784980(0x475),new _0x2c5f3e(null)),g(this,_0x784980(0x52e),this[_0x784980(0x475)][_0x784980(0x456)]()),g(this,_0x784980(0x272)),g(this,_0x784980(0x559),!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x784980(0x1c5),this[_0x784980(0x52e)]['pipe'](_0x55a023(_0x925940=>_0x925940?_0x925940[_0x784980(0x3ff)]:J[_0x784980(0x31d)]),_0x2b0828(0x1))),g(this,_0x784980(0x2b0),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x784980(0x5b2)]=_0x596cd7,this['session']=_0x55d1ab,this[_0x784980(0x479)]=_0x505706,this[_0x784980(0x4d5)]=_0x56173b,this[_0x784980(0x493)]=_0x5abeff,this[_0x784980(0x480)]=_0x3d6076,this['_localeService']=_0x2d57e3,this['_revisionService']=_0xc31cae,this[_0x784980(0x345)]=_0x17241a,this[_0x784980(0x4b3)]=_0x1b2990,this['_messageService']=_0x5063e3,this[_0x784980(0x47b)]=_0x4050c7,this[_0x784980(0x41d)]=_0x4a0182);}get['state'](){const _0x2dc1b1=_0x1a7f07;return this[_0x2dc1b1(0x272)];}async[_0x1a7f07(0x3ae)](){const _0x7af94c=_0x1a7f07;if(this['state'])throw new Error(_0x7af94c(0x3ea));await this[_0x7af94c(0x426)]();}[_0x1a7f07(0x4fa)](){const _0x1f71d7=_0x1a7f07;return this[_0x1f71d7(0x559)]=!0x0,_0x1c981a(()=>{const _0x4fb366=_0x1f71d7;this[_0x4fb366(0x559)]=!0x1,this[_0x4fb366(0x2dc)]();});}['_updateState'](_0x41962c){const _0x30c7ac=_0x1a7f07;this[_0x30c7ac(0x272)]=_0x41962c,this[_0x30c7ac(0x475)][_0x30c7ac(0x265)](_0x41962c);}async['_init'](){const _0x8889d0=_0x1a7f07;var _0x911c10;this[_0x8889d0(0x2e2)](await this[_0x8889d0(0x50d)]()),this['_singleActiveUnitService']&&((_0x911c10=this['_singleActiveUnitService'])==null||_0x911c10[_0x8889d0(0x2a1)](this['unitID']),this[_0x8889d0(0x4b1)](this[_0x8889d0(0x41d)][_0x8889d0(0x513)](this[_0x8889d0(0x5b2)])[_0x8889d0(0x29f)](_0x2ca4d4=>{const _0x737cad=_0x8889d0;this[_0x737cad(0x345)][_0x737cad(0x4b5)]('[CollaborationEntity]',_0x737cad(0x5b7),_0x2ca4d4),_0x2ca4d4===Di[_0x737cad(0x34a)]?(this[_0x737cad(0x387)]['show']({'content':this[_0x737cad(0x47a)]['t'](_0x737cad(0x3dd)),'type':_0x4c03fa[_0x737cad(0x37a)]}),this['_permissionService'][_0x737cad(0x288)](new _0x5bdffd(this[_0x737cad(0x5b2)])['id'],!0x1),this[_0x737cad(0x47b)][_0x737cad(0x349)](!0x1)):(this[_0x737cad(0x47b)][_0x737cad(0x288)](new _0x5bdffd(this[_0x737cad(0x5b2)])['id'],!0x0),this[_0x737cad(0x47b)][_0x737cad(0x349)](!0x0));})));let _0x2f7092=!0x1;return this[_0x8889d0(0x4b1)](this['session'][_0x8889d0(0x3aa)]['subscribe'](_0x1a9060=>{const _0x302081=_0x8889d0;_0x1a9060===ve[_0x302081(0x48d)]?this['_toggleOnline'](_0x2f7092):_0x1a9060===ve['OFFLINE']&&(_0x2f7092=!0x0,this[_0x302081(0x2b4)]());})),this[_0x8889d0(0x4b1)](this[_0x8889d0(0x416)][_0x8889d0(0x46f)][_0x8889d0(0x29f)](_0x5a8580=>{const _0x24a06a=_0x8889d0;try{switch(_0x5a8580[_0x24a06a(0x215)]){case _0x4e3c97[_0x24a06a(0x49b)]:{this['_onRemoteChangeset'](_0x35fd25(_0x5a8580[_0x24a06a(0x32e)]));break;}case _0x4e3c97['CHANGESET_ACK']:{this[_0x24a06a(0x442)](_0x5a8580[_0x24a06a(0x32e)]);break;}case _0x4e3c97[_0x24a06a(0x4e7)]:{this[_0x24a06a(0x55f)]();break;}case _0x4e3c97[_0x24a06a(0x22a)]:{this[_0x24a06a(0x289)](_0x5a8580[_0x24a06a(0x32e)]);break;}case _0x4e3c97[_0x24a06a(0x35b)]:{this[_0x24a06a(0x21d)](_0x5a8580[_0x24a06a(0x32e)][_0x24a06a(0x24a)]['map'](_0x22bcdd=>_0x35fd25(_0x22bcdd)));break;}case _0x4e3c97[_0x24a06a(0x2bf)]:this[_0x24a06a(0x55f)]({'isPermissionRej':!0x0});}}catch(_0x444e0d){throw console[_0x24a06a(0x3eb)]('Error\x20on\x20receiving\x20event',_0x444e0d),_0x444e0d;}})),this[_0x8889d0(0x272)];}[_0x1a7f07(0x33e)](){const _0xf23565=_0x1a7f07;this[_0xf23565(0x2b0)]=!0x1;}[_0x1a7f07(0x56d)](){const _0x26a1be=_0x1a7f07;if(this[_0x26a1be(0x2b0)])throw new Error(_0x26a1be(0x239));this[_0x26a1be(0x2b0)]=!0x0;}['_onLocalMutation'](_0x2c7f21){const _0x791385=_0x1a7f07;this['_lockTransition'](),this[_0x791385(0x2e2)](this[_0x791385(0x272)]['appendMutation'](_0x2c7f21)),this[_0x791385(0x33e)]();}[_0x1a7f07(0x46e)](_0x55ef6d){const _0xb2d0e=_0x1a7f07;if(!(_0x55ef6d[_0xb2d0e(0x206)]<=this[_0xb2d0e(0x26a)]['getCurrentRevOfUnit'](this[_0xb2d0e(0x5b2)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x55ef6d);return;}this[_0xb2d0e(0x381)](_0x55ef6d);}}[_0x1a7f07(0x2dc)](){const _0x367c37=_0x1a7f07;this['_remoteChangesetQueue'][_0x367c37(0x547)](_0x58c820=>this[_0x367c37(0x381)](_0x58c820)),this[_0x367c37(0x481)]=[];}[_0x1a7f07(0x381)](_0x3a4b64){const _0x574d39=_0x1a7f07,_0x482269=this[_0x574d39(0x480)][_0x574d39(0x439)][_0x574d39(0x335)](this[_0x574d39(0x480)][_0x574d39(0x439)][_0x574d39(0x3b4)]()['COMPRESS_MUTATION_APPLY'])(_0x3a4b64[_0x574d39(0x2bb)],null)||_0x3a4b64[_0x574d39(0x2bb)],_0x49fab3={..._0x3a4b64,'mutations':_0x482269};this[_0x574d39(0x56d)](),this['_updateState'](this[_0x574d39(0x272)][_0x574d39(0x35d)](_0x49fab3)),this['_unlockTransition']();}[_0x1a7f07(0x442)](_0x19aaec){const _0x9329ca=_0x1a7f07;this[_0x9329ca(0x56d)](),this[_0x9329ca(0x2e2)](this[_0x9329ca(0x272)][_0x9329ca(0x27e)](_0x19aaec)),this[_0x9329ca(0x33e)]();}[_0x1a7f07(0x55f)](_0x4fe0ce){const _0x16cb5e=_0x1a7f07;this['_lockTransition'](),this['_updateState'](this[_0x16cb5e(0x272)]['onRemoteRej'](_0x4fe0ce)),this[_0x16cb5e(0x33e)]();}[_0x1a7f07(0x289)](_0x5e43f2){const _0x4aec68=_0x1a7f07;this['_lockTransition'](),this[_0x4aec68(0x2e2)](this['_state'][_0x4aec68(0x2d7)](_0x5e43f2)),this['_unlockTransition']();}['_onFetchMissResult'](_0x2ad7da){const _0x182369=_0x1a7f07;if(!(this['_state']instanceof he))throw new TypeError(_0x182369(0x4b2));const _0x1fce58=_0x2ad7da['map'](_0x160243=>{const _0x4c8fd3=_0x182369,_0x145020=this[_0x4c8fd3(0x480)][_0x4c8fd3(0x439)]['fetchThroughInterceptors'](this[_0x4c8fd3(0x480)]['interceptor'][_0x4c8fd3(0x3b4)]()[_0x4c8fd3(0x5aa)])(_0x160243[_0x4c8fd3(0x2bb)],null)||_0x160243[_0x4c8fd3(0x2bb)];return{..._0x160243,'mutations':_0x145020};});this[_0x182369(0x56d)](),this[_0x182369(0x2e2)](this[_0x182369(0x272)][_0x182369(0x251)](_0x1fce58)),this[_0x182369(0x33e)]();}[_0x1a7f07(0x2b4)](){const _0x3f41d4=_0x1a7f07;this['_lockTransition'](),this[_0x3f41d4(0x2e2)](this[_0x3f41d4(0x272)][_0x3f41d4(0x1f7)]()),this['_unlockTransition']();}['_toggleOnline'](_0x3fa35a=!0x1){const _0x404584=_0x1a7f07;this[_0x404584(0x56d)](),this['_updateState'](this[_0x404584(0x272)][_0x404584(0x325)]()),this['_unlockTransition']();const _0x54ce7d=this[_0x404584(0x272)];_0x3fa35a&&_0x54ce7d instanceof Fe&&(this[_0x404584(0x56d)](),this['_updateState'](_0x54ce7d[_0x404584(0x2c4)]()),this[_0x404584(0x33e)]());}async['_createInitialState'](){return new Promise(_0x5da08b=>{const _0x5ea1fc=_0x54d3;this[_0x5ea1fc(0x416)][_0x5ea1fc(0x3aa)][_0x5ea1fc(0x1cf)](_0x4e26bd(0x1))[_0x5ea1fc(0x29f)](async _0x1f6c58=>{const _0x2ec407=_0x5ea1fc;_0x5da08b(await this[_0x2ec407(0x391)](_0x1f6c58===ve['ONLINE']));});});}[_0x1a7f07(0x5c5)](){const _0x24197e=_0x1a7f07,_0x3f0f1c=this[_0x24197e(0x5b2)];return{'onStateChange':(_0x3bcb3f,_0xb7d503)=>{const _0x275f7d=_0x24197e;if(_0x3bcb3f!==this['_state'])throw new Error(_0x275f7d(0x2e9)+_0x3bcb3f['status']+'\x0aAfter:\x20'+_0xb7d503[_0x275f7d(0x3ff)]+_0x275f7d(0x33f)+this[_0x275f7d(0x272)][_0x275f7d(0x3ff)]);this[_0x275f7d(0x2e2)](_0xb7d503);},'onSendChangeset':_0x19f62=>{const _0x37ec71=_0x24197e;_0x19f62['sid']||(_0x19f62['sid']=this[_0x37ec71(0x4e4)],_0x19f62[_0x37ec71(0x577)]=++this['_changesetReqId']);const _0x4b8622={'eventID':_0x4e3c97[_0x37ec71(0x4c2)],'data':{'unitID':_0x19f62[_0x37ec71(0x5b2)],'unitType':this[_0x37ec71(0x479)],'changeset':_0x19f62,'memberID':this[_0x37ec71(0x416)]['getMemberID']()}};this[_0x37ec71(0x416)][_0x37ec71(0x445)](_0x4b8622,this[_0x37ec71(0x5b2)]);},'onMissingChangesets':({from:_0x5471a7,to:_0x318774})=>{const _0x300d5e=_0x24197e;this['_logService'][_0x300d5e(0x4b5)](_0x300d5e(0x412),_0x300d5e(0x1ff)+_0x5471a7+'\x20to\x20'+_0x318774);const _0x47be63={'eventID':_0x4e3c97['FETCH_MISSING'],'data':{'unitID':_0x3f0f1c,'unitType':this[_0x300d5e(0x479)],'from':_0x5471a7,'to':_0x318774}};this[_0x300d5e(0x416)]['send'](_0x47be63,this[_0x300d5e(0x5b2)]);}};}async[_0x1a7f07(0x391)](_0x33e964){const _0x4b3fda=_0x1a7f07;var _0x26b440,_0x5b41e1;const _0x3853b4=await this['_localCacheService'][_0x4b3fda(0x394)](this[_0x4b3fda(0x5b2)]),_0x1fea73=(_0x26b440=_0x3853b4==null?void 0x0:_0x3853b4[_0x4b3fda(0x2bb)])!=null?_0x26b440:[],_0x26137a=(_0x5b41e1=_0x3853b4==null?void 0x0:_0x3853b4[_0x4b3fda(0x531)])!=null?_0x5b41e1:null,_0x416da8=!!(_0x26137a!=null&&_0x26137a['sid'])&&!!(_0x26137a!=null&&_0x26137a[_0x4b3fda(0x577)]);this[_0x4b3fda(0x4e4)]=_0x416da8?_0x26137a[_0x4b3fda(0x3e1)]:Gr(),this[_0x4b3fda(0x3dc)]=_0x416da8?_0x26137a[_0x4b3fda(0x577)]:0x0;const _0x23a30e=this[_0x4b3fda(0x5b2)];try{this[_0x4b3fda(0x213)](_0x26137a,_0x1fea73);}catch(_0x2dd058){this['_logService'][_0x4b3fda(0x3eb)](_0x2dd058);}const _0x218c9f=this[_0x4b3fda(0x5c5)]();if(_0x33e964){const _0x12becb=Ai(this[_0x4b3fda(0x4d5)],_0x23a30e,this[_0x4b3fda(0x479)],_0x26137a,_0x1fea73,_0x218c9f);return _0x12becb instanceof pe?_0x12becb['_schedule']():(_0x12becb instanceof ge||_0x12becb instanceof Te)&&_0x12becb[_0x4b3fda(0x465)](),_0x12becb;}return this['_injector'][_0x4b3fda(0x34e)](ye,_0x23a30e,this[_0x4b3fda(0x479)],_0x26137a,_0x1fea73,_0x218c9f);}['_replayCachedMutations'](_0x147e6f,_0x5dbb34){const _0xbf8d6a=_0x1a7f07;var _0x336ade,_0x3fd6b7;const _0x1bd0ea=this[_0xbf8d6a(0x480)][_0xbf8d6a(0x439)][_0xbf8d6a(0x335)](this[_0xbf8d6a(0x480)][_0xbf8d6a(0x439)][_0xbf8d6a(0x3b4)]()[_0xbf8d6a(0x5aa)]);(_0x336ade=_0x1bd0ea((_0x147e6f==null?void 0x0:_0x147e6f[_0xbf8d6a(0x2bb)])||[],null))==null||_0x336ade['forEach'](_0x49a152=>this[_0xbf8d6a(0x4b3)][_0xbf8d6a(0x26f)](_0x49a152['id'],_0x49a152['params'])),(_0x3fd6b7=_0x1bd0ea(_0x5dbb34||[],null))==null||_0x3fd6b7[_0xbf8d6a(0x547)](_0x48d8bc=>this[_0xbf8d6a(0x4b3)][_0xbf8d6a(0x26f)](_0x48d8bc['id'],_0x48d8bc[_0xbf8d6a(0x53f)]));}};St=Es([H(0x3,_0x5cf6ec(_0xc0c089)),H(0x4,_0x5cf6ec(q)),H(0x5,_0x5cf6ec(_0x230e80)),H(0x6,_0x5cf6ec(_0x51f47a)),H(0x7,_0x5cf6ec(_0x5ee8b1)),H(0x8,_0x1e210b),H(0x9,_0x322b66),H(0xa,_0x521fac),H(0xb,_0x1083e0),H(0xc,_0x94953d(yt))],St);let ss=class extends St{constructor(_0x2f98fe,_0x22b2cd,_0x5e2f93,_0x432e62,_0x395ea2,_0x1f6e00,_0xbb71bd,_0x4ccbf1,_0x38ba18,_0x3f33a5,_0x53f2a6,_0x4a1938,_0x368aad,_0x21fcdc,_0x50edb2,_0x2a2d03,_0x3146a7,_0x34a5eb){const _0x2e753c=_0x1a7f07;super(_0x2f98fe,_0x5e2f93,_0x22b2cd,_0x432e62,_0x395ea2,_0x1f6e00,_0xbb71bd,_0x4ccbf1,_0x21fcdc,_0x50edb2,_0x2a2d03,_0x3146a7,_0x34a5eb),this[_0x2e753c(0x5b2)]=_0x2f98fe,this[_0x2e753c(0x23c)]=_0x22b2cd,this[_0x2e753c(0x359)]=_0x38ba18,this[_0x2e753c(0x28d)]=_0x3f33a5,this[_0x2e753c(0x3d9)]=_0x53f2a6,this[_0x2e753c(0x587)]=_0x4a1938,this['_docSyncEditingCollabCursorService']=_0x368aad;}[_0x1a7f07(0x5c5)](){const _0x5d17f6=_0x1a7f07,_0x306fb9=super['_createHandler']();return _0x306fb9[_0x5d17f6(0x2c6)]=_0x358f85=>this['_docTransformIMECacheService'][_0x5d17f6(0x506)](_0x358f85),_0x306fb9[_0x5d17f6(0x327)]=_0x206797=>this[_0x5d17f6(0x3d9)][_0x5d17f6(0x2f0)](_0x206797),_0x306fb9['onTransformSelections']=_0x154d8a=>this[_0x5d17f6(0x587)][_0x5d17f6(0x48e)](_0x154d8a),_0x306fb9['onSyncEditingCollabCursor']=_0x585918=>this[_0x5d17f6(0x500)][_0x5d17f6(0x1db)](_0x585918),_0x306fb9[_0x5d17f6(0x257)]=_0x2170fb=>this[_0x5d17f6(0x28d)]['transformRemoteChangeset'](_0x2170fb),_0x306fb9[_0x5d17f6(0x4a0)]=_0x287bea=>this[_0x5d17f6(0x3d9)][_0x5d17f6(0x277)](_0x287bea),_0x306fb9;}async[_0x1a7f07(0x426)](){const _0x4537b9=_0x1a7f07,_0x24d9ba=await super['_init']();return this[_0x4537b9(0x359)]['docStateChange$'][_0x4537b9(0x1cf)](_0x171184(this[_0x4537b9(0x22c)]))[_0x4537b9(0x29f)](_0x3f2b47=>{const _0x69e9a5=_0x4537b9;if(_0x3f2b47==null)return;const {unitId:_0x17860b,redoState:_0x246dc4,commandId:_0x1ca801}=_0x3f2b47;if(_0x17860b!==this[_0x69e9a5(0x5b2)])return;const _0x532594={'id':_0x1ca801,'type':_0x42d006['MUTATION'],'params':{'unitId':_0x17860b,'actions':_0x246dc4[_0x69e9a5(0x2aa)],'textRanges':null}};this[_0x69e9a5(0x307)](_0x532594);}),_0x24d9ba;}};ss=Es([H(0x3,_0x5cf6ec(_0xc0c089)),H(0x4,_0x5cf6ec(q)),H(0x5,_0x5cf6ec(_0x230e80)),H(0x6,_0x5cf6ec(_0x51f47a)),H(0x7,_0x5cf6ec(_0x5ee8b1)),H(0x8,_0x5cf6ec(_0x3fdbd8)),H(0x9,_0x5cf6ec(vt)),H(0xa,_0x5cf6ec(pt)),H(0xb,_0x5cf6ec(gt)),H(0xc,_0x5cf6ec(Cs)),H(0xd,_0x1e210b),H(0xe,_0x322b66),H(0xf,_0x521fac),H(0x10,_0x1083e0),H(0x11,_0x94953d(yt))],ss);let is=class extends St{constructor(_0x39abf8,_0x397f48,_0x2c2118,_0x52b18b,_0x27be87,_0x151b7e,_0x2ac8e8,_0x4eee4c,_0x58d8d6,_0x53a91c,_0x467b25,_0x457f8f,_0x3a1346,_0x48dfc5){const _0x11d1f0=_0x1a7f07;super(_0x39abf8,_0x2c2118,_0x397f48,_0x52b18b,_0x27be87,_0x151b7e,_0x2ac8e8,_0x4eee4c,_0x53a91c,_0x467b25,_0x457f8f,_0x3a1346,_0x48dfc5),this[_0x11d1f0(0x5b2)]=_0x39abf8,this['type']=_0x397f48,this[_0x11d1f0(0x330)]=_0x58d8d6;}[_0x1a7f07(0x5c5)](){const _0x422c0a=_0x1a7f07,_0x5c9dd7=super[_0x422c0a(0x5c5)]();return _0x5c9dd7['onTransformSelections']=_0x3e951f=>this[_0x422c0a(0x330)]['transformSelections'](_0x3e951f),_0x5c9dd7;}async['_init'](){const _0x319d80=_0x1a7f07,_0x440580=await super['_init']();return this[_0x319d80(0x4b1)](this[_0x319d80(0x4b3)][_0x319d80(0x229)]((_0x247415,_0x61128)=>{const _0x36f710=_0x319d80;if(_0x247415[_0x36f710(0x23c)]!==_0x42d006[_0x36f710(0x5b9)]||_0x61128!=null&&_0x61128[_0x36f710(0x4e8)]||_0x61128!=null&&_0x61128['onlyLocal'])return;const _0x445b5e=_0x247415[_0x36f710(0x53f)];if((_0x445b5e==null?void 0x0:_0x445b5e[_0x36f710(0x3c9)])!==this[_0x36f710(0x5b2)])return;const _0x4cc2d4=_0x247415,_0x3a2d5c=this[_0x36f710(0x480)][_0x36f710(0x439)]['fetchThroughInterceptors'](this[_0x36f710(0x480)]['interceptor'][_0x36f710(0x3b4)]()[_0x36f710(0x24f)])([_0x4cc2d4],null)||[_0x4cc2d4];this[_0x36f710(0x307)](_0x3a2d5c[0x0]);})),_0x440580;}};is=Es([H(0x3,_0x5cf6ec(_0xc0c089)),H(0x4,_0x5cf6ec(q)),H(0x5,_0x5cf6ec(_0x230e80)),H(0x6,_0x5cf6ec(_0x51f47a)),H(0x7,_0x5cf6ec(_0x5ee8b1)),H(0x8,_0x5cf6ec(mt)),H(0x9,_0x1e210b),H(0xa,_0x322b66),H(0xb,_0x521fac),H(0xc,_0x1083e0),H(0xd,_0x94953d(yt))],is);var go=Object[_0x1a7f07(0x5b3)],So=Object[_0x1a7f07(0x298)],Io=(_0x598ffa,_0x28ddcc,_0x511502,_0x102573)=>{const _0x2d0b0a=_0x1a7f07;for(var _0x2fe947=_0x102573>0x1?void 0x0:_0x102573?So(_0x28ddcc,_0x511502):_0x28ddcc,_0x267a1e=_0x598ffa[_0x2d0b0a(0x5bc)]-0x1,_0x49af5a;_0x267a1e>=0x0;_0x267a1e--)(_0x49af5a=_0x598ffa[_0x267a1e])&&(_0x2fe947=(_0x102573?_0x49af5a(_0x28ddcc,_0x511502,_0x2fe947):_0x49af5a(_0x2fe947))||_0x2fe947);return _0x102573&&_0x2fe947&&go(_0x28ddcc,_0x511502,_0x2fe947),_0x2fe947;},Lt=(_0x2bf565,_0x577b25)=>(_0x4606e0,_0x22ca2a)=>_0x577b25(_0x4606e0,_0x22ca2a,_0x2bf565);let it=class extends _0x1cb902{constructor(_0x3349aa,_0xfea2a0,_0x19da5d){const _0xc58acc=_0x1a7f07;super(),g(this,_0xc58acc(0x31b),new Map()),g(this,_0xc58acc(0x48a),new _0x50574e()),(this[_0xc58acc(0x4d5)]=_0x3349aa,this[_0xc58acc(0x46d)]=_0xfea2a0,this['_univerInstanceService']=_0x19da5d,this[_0xc58acc(0x426)]());}[_0x1a7f07(0x51b)](){const _0x3ea87c=_0x1a7f07;super[_0x3ea87c(0x51b)](),this[_0x3ea87c(0x31b)]['forEach'](_0x2a3698=>_0x2a3698[_0x3ea87c(0x51b)]()),this[_0x3ea87c(0x31b)][_0x3ea87c(0x320)]();}[_0x1a7f07(0x4a4)](_0x3474b5){const _0x4973c9=_0x1a7f07;var _0x49b37c;return(_0x49b37c=this[_0x4973c9(0x31b)]['get'](_0x3474b5))!=null?_0x49b37c:null;}[_0x1a7f07(0x46c)](_0x2bb3f1){const _0x12c6bd=_0x1a7f07,_0x3ff9b2=this[_0x12c6bd(0x4a4)](_0x2bb3f1);return _0x3ff9b2?_0x37aace(_0x3ff9b2):this[_0x12c6bd(0x48a)][_0x12c6bd(0x1cf)](_0x5cdcf5(_0x3031f9=>_0x3031f9[_0x12c6bd(0x5b2)]===_0x2bb3f1));}['_init'](){const _0xee9bee=_0x1a7f07;this[_0xee9bee(0x44e)]['getTypeOfUnitAdded$'](_0x31d58f[_0xee9bee(0x3a2)])[_0xee9bee(0x1cf)](_0x171184(this[_0xee9bee(0x22c)]),_0x2804ad(0x10))[_0xee9bee(0x29f)](async _0x1121e0=>{const _0x4cae87=_0xee9bee,_0x2c1052=_0x1121e0[_0x4cae87(0x5c1)](),_0x275877=await this[_0x4cae87(0x305)](_0x2c1052,ce['UNIVER_SHEET']);this[_0x4cae87(0x31b)][_0x4cae87(0x3f4)](_0x2c1052,_0x275877);}),this[_0xee9bee(0x44e)][_0xee9bee(0x5b8)](_0x31d58f[_0xee9bee(0x51a)])[_0xee9bee(0x1cf)](_0x171184(this['dispose$']),_0x2804ad(0x10))[_0xee9bee(0x1cf)](_0x5cdcf5(_0x5cff09=>!_0x5cff09[_0xee9bee(0x5c1)]()[_0xee9bee(0x4dd)]('__')))[_0xee9bee(0x29f)](async _0x3992ed=>{const _0x310f73=_0xee9bee,_0x320737=_0x3992ed['getUnitId'](),_0x41772f=await this['_startCollaboration'](_0x320737,ce[_0x310f73(0x51a)]);this[_0x310f73(0x31b)][_0x310f73(0x3f4)](_0x320737,_0x41772f);}),_0x407b74(this[_0xee9bee(0x44e)][_0xee9bee(0x276)](_0x31d58f[_0xee9bee(0x3a2)]),this[_0xee9bee(0x44e)]['getTypeOfUnitDisposed$'](_0x31d58f[_0xee9bee(0x51a)]))[_0xee9bee(0x1cf)](_0x171184(this['dispose$']))[_0xee9bee(0x29f)](_0x1adf76=>{const _0x467675=_0xee9bee,_0x506fa5=_0x1adf76[_0x467675(0x5c1)](),_0x541fe1=this['_entities'][_0x467675(0x59a)](_0x506fa5);_0x541fe1&&(_0x541fe1['dispose'](),this[_0x467675(0x31b)]['delete'](_0x506fa5));});}async[_0x1a7f07(0x305)](_0x11c929,_0x9c73f){const _0x1626ad=_0x1a7f07,_0x4ce0dd=await this[_0x1626ad(0x46d)][_0x1626ad(0x2ad)](_0x11c929),_0x511581=this[_0x1626ad(0x4d5)][_0x1626ad(0x34e)](this['_getCtorByUniverType'](_0x9c73f),_0x11c929,_0x9c73f,_0x4ce0dd);return await _0x511581[_0x1626ad(0x3ae)](),this[_0x1626ad(0x48a)][_0x1626ad(0x265)](_0x511581),_0x511581;}[_0x1a7f07(0x317)](_0x89b4d0){const _0x236f30=_0x1a7f07;switch(_0x89b4d0){case ce[_0x236f30(0x51a)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x89b4d0);}}};it=Io([Lt(0x0,_0x5cf6ec(_0xc0c089)),Lt(0x1,_0x5cf6ec(Ae)),Lt(0x2,_0x1726a1)],it);const Gs=[_0x1a7f07(0x43c),_0x1a7f07(0x3e7),_0x1a7f07(0x528),_0x1a7f07(0x408),_0x1a7f07(0x45f),_0x1a7f07(0x3e0)];class bs extends _0x3b3e75{constructor(){const _0x364891=_0x1a7f07;super(...arguments),g(this,_0x364891(0x2c7),new Map()),g(this,_0x364891(0x561),0x0);}['assignAColorForMemberID'](_0x599dca){const _0x59026e=_0x1a7f07;if(this[_0x59026e(0x2c7)][_0x59026e(0x581)](_0x599dca))return this['_assignedColors'][_0x59026e(0x59a)](_0x599dca);const _0x3db04d=Gs[this[_0x59026e(0x561)]];return this[_0x59026e(0x561)]=(this[_0x59026e(0x561)]+0x1)%Gs['length'],this[_0x59026e(0x2c7)][_0x59026e(0x3f4)](_0x599dca,_0x3db04d),_0x3db04d;}}var Co=Object[_0x1a7f07(0x5b3)],Eo=Object['getOwnPropertyDescriptor'],bo=(_0x1a147f,_0x5add32,_0x54eb0f,_0x53df40)=>{const _0x4aeeaa=_0x1a7f07;for(var _0x185cb4=_0x53df40>0x1?void 0x0:_0x53df40?Eo(_0x5add32,_0x54eb0f):_0x5add32,_0x1f1b02=_0x1a147f[_0x4aeeaa(0x5bc)]-0x1,_0x4d0cb0;_0x1f1b02>=0x0;_0x1f1b02--)(_0x4d0cb0=_0x1a147f[_0x1f1b02])&&(_0x185cb4=(_0x53df40?_0x4d0cb0(_0x5add32,_0x54eb0f,_0x185cb4):_0x4d0cb0(_0x185cb4))||_0x185cb4);return _0x53df40&&_0x185cb4&&Co(_0x5add32,_0x54eb0f,_0x185cb4),_0x185cb4;},Oe=(_0x2da74c,_0x60c9fc)=>(_0x1148ff,_0x5f13b4)=>_0x60c9fc(_0x1148ff,_0x5f13b4,_0x2da74c);const To=0x12c,Ro=0x64;let ns=class extends _0x1cb902{constructor(_0x1314e7,_0x47eb7f,_0x2dfec5,_0x3cbb65,_0x3cca9d,_0x272878,_0xb15617,_0x2db676,_0x5b793d){const _0x23385a=_0x1a7f07;super(),g(this,'_online',!0x1),g(this,_0x23385a(0x426),!0x1),g(this,_0x23385a(0x354),new _0x2c5f3e(new Map())),g(this,_0x23385a(0x2f8),this[_0x23385a(0x354)]['asObservable']()),g(this,_0x23385a(0x510),new _0x2c5f3e([])),g(this,_0x23385a(0x4ff),this[_0x23385a(0x510)][_0x23385a(0x1cf)](_0x341150(To))),g(this,_0x23385a(0x470),_0x433f68(_0xb083db=>{const _0xf56d2b=_0x23385a,_0x271a07={'eventID':_0x4e3c97[_0xf56d2b(0x1cc)],'data':{'unitID':this[_0xf56d2b(0x5b2)],'memberID':this[_0xf56d2b(0x595)][_0xf56d2b(0x57b)](),'selection':Pi(_0xb083db)}};this[_0xf56d2b(0x595)][_0xf56d2b(0x445)](_0x271a07,this['unitID']);},Ro)),(this[_0x23385a(0x5b2)]=_0x1314e7,this[_0x23385a(0x595)]=_0x47eb7f,this[_0x23385a(0x4d5)]=_0x2dfec5,this[_0x23385a(0x44a)]=_0x3cbb65,this[_0x23385a(0x2d8)]=_0x3cca9d,this[_0x23385a(0x246)]=_0x272878,this['_transformService']=_0xb15617,this['_univerInstanceService']=_0x2db676,this[_0x23385a(0x4b3)]=_0x5b793d);}get[_0x1a7f07(0x417)](){const _0x236ad0=_0x1a7f07;return this[_0x236ad0(0x354)][_0x236ad0(0x3f6)]();}get[_0x1a7f07(0x449)](){const _0x4d0718=_0x1a7f07;return this[_0x4d0718(0x510)][_0x4d0718(0x3f6)]();}[_0x1a7f07(0x51b)](){const _0x47a2f6=_0x1a7f07;super[_0x47a2f6(0x51b)](),this[_0x47a2f6(0x354)][_0x47a2f6(0x265)](new Map()),this[_0x47a2f6(0x354)][_0x47a2f6(0x5b0)](),this[_0x47a2f6(0x510)]['next']([]),this[_0x47a2f6(0x510)]['complete']();}[_0x1a7f07(0x3ae)](){const _0x40276b=_0x1a7f07;this['_init']||(this[_0x40276b(0x426)]=!0x0,this[_0x40276b(0x595)]['sessionStatus$'][_0x40276b(0x1cf)](_0x171184(this[_0x40276b(0x22c)]))[_0x40276b(0x29f)](_0x1ed538=>{const _0x377757=_0x40276b;_0x1ed538===ve[_0x377757(0x48d)]?this[_0x377757(0x1fc)]():this['_toggleOffline']();}),this[_0x40276b(0x595)][_0x40276b(0x46f)]['pipe'](_0x171184(this[_0x40276b(0x22c)]))['subscribe'](_0x202281=>{const _0x54bb27=_0x40276b,_0x11e4fe=_0x202281[_0x54bb27(0x215)];_0x11e4fe===_0x4e3c97[_0x54bb27(0x1cc)]&&this[_0x54bb27(0x24e)](_0x202281),_0x11e4fe===_0x4e3c97['USERS_LEAVE']&&this['_onCursorDelete'](_0x202281);}),this['disposeWithMe'](this[_0x40276b(0x4b3)]['onCommandExecuted'](_0x768515=>{const _0x8990c5=_0x40276b,_0x35adba=_0x768515[_0x8990c5(0x53f)];_0x35adba!=null&&this['_online']&&_0x768515['id']===_0x1ccba4['id']&&_0x35adba[_0x8990c5(0x3c9)]===this['unitID']&&_0x35adba[_0x8990c5(0x3e4)]===!0x1&&_0x35adba[_0x8990c5(0x519)][_0x8990c5(0x5bc)]>0x0&&this[_0x8990c5(0x470)](_0x35adba[_0x8990c5(0x519)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x40276b(0x1cf)](_0x171184(this[_0x40276b(0x22c)]))[_0x40276b(0x29f)](_0x7cac25=>{const _0x3bd30d=_0x40276b;if((_0x7cac25==null?void 0x0:_0x7cac25[_0x3bd30d(0x5b2)])!==this['unitID'])return;const _0x1d25e2={'eventID':_0x4e3c97['UPDATE_CURSOR'],'data':_0x7cac25};this['_onCursorUpdate'](_0x1d25e2);}),this['disposeWithMe'](this[_0x40276b(0x4b3)][_0x40276b(0x229)](_0x1e7445=>{const _0x1d67ba=_0x40276b;if(_0x1e7445['params']==null)return;const _0x13ee0c=_0x1e7445['params'];if(_0x1e7445['id']!==_0x22550b['id']||_0x13ee0c[_0x1d67ba(0x3c9)]!==this[_0x1d67ba(0x5b2)])return;const _0x2ef967={'id':'doc.mutation.rich-text-editing','params':_0x13ee0c},_0x46ed76=this['cursorInfo'];for(const [_0x5605e9,_0x274708]of _0x46ed76){const _0x1da298={'id':_0x1d67ba(0x472),'params':{'unitId':this[_0x1d67ba(0x5b2)],'actions':null,'textRanges':_0x274708[_0x1d67ba(0x519)]}},_0x34f208=this['_transformService'][_0x1d67ba(0x23b)](_0x2ef967,_0x1da298,!0x1);if(_0x46adb2(_0x34f208))throw _0x34f208[_0x1d67ba(0x3eb)];_0x46ed76[_0x1d67ba(0x3f4)](_0x5605e9,{..._0x274708,'ranges':_0x34f208[_0x1d67ba(0x2e3)][_0x1d67ba(0x53f)][_0x1d67ba(0x53b)]});}queueMicrotask(()=>{const _0x3cf644=_0x1d67ba;this[_0x3cf644(0x354)][_0x3cf644(0x265)](_0x46ed76);});})));}['_onCursorUpdate'](_0x26ccea){const _0x3d1163=_0x1a7f07;var _0x5624d0,_0x1c8f12;const {memberID:_0x3ec445,selection:_0x25b53a}=_0x26ccea['data'],_0x56b1c7=oo(_0x25b53a),_0x48247e=(_0x1c8f12=(_0x5624d0=this[_0x3d1163(0x2d8)][_0x3d1163(0x326)](this[_0x3d1163(0x5b2)],_0x3ec445))==null?void 0x0:_0x5624d0[_0x3d1163(0x598)])!=null?_0x1c8f12:'Unknown\x20user',_0x2fd5d8={'color':this[_0x3d1163(0x44a)]['assignAColorForMemberID'](_0x3ec445),'name':_0x48247e,'ranges':_0x56b1c7},_0x3d8cec=this[_0x3d1163(0x417)];_0x3d8cec['set'](_0x3ec445,_0x2fd5d8),this[_0x3d1163(0x354)][_0x3d1163(0x265)](_0x3d8cec);}[_0x1a7f07(0x5c3)](_0x4f4bf2){const _0x59d004=_0x1a7f07,{memberID:_0x3c1f3c}=_0x4f4bf2[_0x59d004(0x32e)],_0x3fbfa9=this[_0x59d004(0x417)];_0x3fbfa9[_0x59d004(0x473)](_0x3c1f3c),this[_0x59d004(0x354)]['next'](_0x3fbfa9);}[_0x1a7f07(0x1fc)](){const _0x1afa76=_0x1a7f07;var _0x513383;if(this['_online']=!0x0,((_0x513383=this[_0x1afa76(0x44e)][_0x1afa76(0x3db)]())==null?void 0x0:_0x513383[_0x1afa76(0x5c1)]())!==this[_0x1afa76(0x5b2)])return;const _0x91fcb1=this[_0x1afa76(0x4d5)][_0x1afa76(0x59a)](_0x4ad750)[_0x1afa76(0x2f9)]();Array[_0x1afa76(0x344)](_0x91fcb1)&&_0x91fcb1[_0x1afa76(0x5bc)]>0x0&&this['_updateLocalCursor'](_0x91fcb1);}[_0x1a7f07(0x2b4)](){const _0x43a821=_0x1a7f07;this[_0x43a821(0x323)]=!0x1;}};ns=bo([Oe(0x2,_0x5cf6ec(_0xc0c089)),Oe(0x3,_0x5cf6ec(bs)),Oe(0x4,_0x5cf6ec(Ne)),Oe(0x5,_0x5cf6ec(Cs)),Oe(0x6,_0x2746ae),Oe(0x7,_0x1726a1),Oe(0x8,_0x322b66)],ns);var yo=Object[_0x1a7f07(0x5b3)],Oo=Object[_0x1a7f07(0x298)],wo=(_0x3673cc,_0x437a62,_0x3df2dd,_0x3ef79b)=>{const _0x1e5afa=_0x1a7f07;for(var _0x30b3f0=_0x3ef79b>0x1?void 0x0:_0x3ef79b?Oo(_0x437a62,_0x3df2dd):_0x437a62,_0x5161a2=_0x3673cc[_0x1e5afa(0x5bc)]-0x1,_0x492867;_0x5161a2>=0x0;_0x5161a2--)(_0x492867=_0x3673cc[_0x5161a2])&&(_0x30b3f0=(_0x3ef79b?_0x492867(_0x437a62,_0x3df2dd,_0x30b3f0):_0x492867(_0x30b3f0))||_0x30b3f0);return _0x3ef79b&&_0x30b3f0&&yo(_0x437a62,_0x3df2dd,_0x30b3f0),_0x30b3f0;},Be=(_0xdc8aa,_0x3a5643)=>(_0x564e9c,_0x4b4038)=>_0x3a5643(_0x564e9c,_0x4b4038,_0xdc8aa);const Do=0x12c,Po=0x64,Uo=()=>{let _0x3f48d8=[],_0x57e5de=!0x1;return _0x11a24b=>{const _0xc83a1=_0x54d3;_0x3f48d8[_0xc83a1(0x4b6)](_0x11a24b),_0x57e5de||(_0x57e5de=!0x0,setTimeout(()=>{const _0x2c3950=_0xc83a1;_0x3f48d8[_0x2c3950(0x547)](_0x51207b=>_0x51207b()),_0x3f48d8=[],_0x57e5de=!0x1;}));};};let rs=class extends _0x1cb902{constructor(_0x1486a2,_0x58a328,_0xc6ddb4,_0x114877,_0x5e57ae,_0x1a92b4,_0x24f8d0,_0x20b514){const _0x36c4ec=_0x1a7f07;super(),g(this,_0x36c4ec(0x323),!0x1),g(this,_0x36c4ec(0x426),!0x1),g(this,_0x36c4ec(0x354),new _0x2c5f3e(new Map())),g(this,_0x36c4ec(0x2f8),this[_0x36c4ec(0x354)][_0x36c4ec(0x456)]()),g(this,_0x36c4ec(0x510),new _0x2c5f3e([])),g(this,'roomMembers$',this[_0x36c4ec(0x510)][_0x36c4ec(0x1cf)](_0x341150(Do))),g(this,_0x36c4ec(0x470),_0x433f68((_0x2f95dd,_0x49b94f)=>{const _0x32d3a2=_0x36c4ec,_0x17a5a3={'eventID':_0x4e3c97['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x32d3a2(0x595)]['getMemberID'](),'selection':_0x5ec0d6(_0x2f95dd,_0x49b94f['range'])}};this[_0x32d3a2(0x595)][_0x32d3a2(0x445)](_0x17a5a3,this[_0x32d3a2(0x5b2)]);},Po)),(this[_0x36c4ec(0x5b2)]=_0x1486a2,this['_session']=_0x58a328,this[_0x36c4ec(0x4d5)]=_0xc6ddb4,this[_0x36c4ec(0x44a)]=_0x114877,this[_0x36c4ec(0x2d8)]=_0x5e57ae,this[_0x36c4ec(0x44e)]=_0x1a92b4,this[_0x36c4ec(0x4b3)]=_0x24f8d0,this[_0x36c4ec(0x20e)]=_0x20b514);}get[_0x1a7f07(0x417)](){const _0x207774=_0x1a7f07;return this[_0x207774(0x354)][_0x207774(0x3f6)]();}get[_0x1a7f07(0x449)](){const _0x139aa3=_0x1a7f07;return this[_0x139aa3(0x510)]['getValue']();}['dispose'](){const _0x491ed8=_0x1a7f07;super[_0x491ed8(0x51b)](),this[_0x491ed8(0x354)][_0x491ed8(0x265)](new Map()),this['_cursorInfo$'][_0x491ed8(0x5b0)](),this['_roomMembers$'][_0x491ed8(0x265)]([]),this[_0x491ed8(0x510)]['complete']();}[_0x1a7f07(0x3ae)](){const _0x1943fa=_0x1a7f07;this[_0x1943fa(0x426)]||(this['_init']=!0x0,this[_0x1943fa(0x595)][_0x1943fa(0x3aa)][_0x1943fa(0x1cf)](_0x171184(this['dispose$']))['subscribe'](_0x4c3536=>{const _0x4bfa0f=_0x1943fa;_0x4c3536===ve[_0x4bfa0f(0x48d)]?this[_0x4bfa0f(0x1fc)]():this[_0x4bfa0f(0x2b4)]();}),this[_0x1943fa(0x595)][_0x1943fa(0x46f)][_0x1943fa(0x1cf)](_0x171184(this[_0x1943fa(0x22c)]))['subscribe'](_0xc9388e=>{const _0x432dbd=_0x1943fa,_0x3136a0=_0xc9388e[_0x432dbd(0x215)];_0x3136a0===_0x4e3c97[_0x432dbd(0x1cc)]&&this[_0x432dbd(0x24e)](_0xc9388e),_0x3136a0===_0x4e3c97['USERS_LEAVE']&&this['_onCursorDelete'](_0xc9388e);}),this[_0x1943fa(0x2a8)](),this['disposeWithMe'](this[_0x1943fa(0x4b3)][_0x1943fa(0x229)](_0x4014b7=>{const _0x1bfd1a=_0x1943fa;if(this[_0x1bfd1a(0x323)]&&_0x4014b7['id']===_0x27f103['id']&&_0x4014b7[_0x1bfd1a(0x53f)][_0x1bfd1a(0x3c9)]===this[_0x1bfd1a(0x5b2)]){const _0x4ee718=_0x4014b7[_0x1bfd1a(0x53f)];this[_0x1bfd1a(0x470)](_0x4ee718[_0x1bfd1a(0x2c2)],_0x4ee718['selections'][0x0]);}})));}[_0x1a7f07(0x24e)](_0x369f66){const _0x2586b4=_0x1a7f07;var _0x30c32b,_0x1aed12;const {memberID:_0x4a2288,selection:_0x5edc05}=_0x369f66[_0x2586b4(0x32e)],{sheetName:_0x1a26f9,range:_0x574d0d}=_0x15f56b(_0x5edc05),_0x4d0234={'name':(_0x1aed12=(_0x30c32b=this[_0x2586b4(0x2d8)][_0x2586b4(0x326)](this[_0x2586b4(0x5b2)],_0x4a2288))==null?void 0x0:_0x30c32b[_0x2586b4(0x598)])!=null?_0x1aed12:'Unknown\x20user','range':this['_getMergeRange'](_0x1a26f9,_0x574d0d),'sheetID':_0x1a26f9,'color':this[_0x2586b4(0x44a)][_0x2586b4(0x583)](_0x4a2288),'selection':_0x5edc05},_0x7c62af=this['cursorInfo'];_0x7c62af[_0x2586b4(0x3f4)](_0x4a2288,_0x4d0234),this['_cursorInfo$'][_0x2586b4(0x265)](_0x7c62af);}[_0x1a7f07(0x5c3)](_0x1b026d){const _0x25c17f=_0x1a7f07,{memberID:_0x3115fd}=_0x1b026d[_0x25c17f(0x32e)],_0x3b5768=this[_0x25c17f(0x417)];_0x3b5768['delete'](_0x3115fd),this[_0x25c17f(0x354)][_0x25c17f(0x265)](_0x3b5768);}['_getMergeRange'](_0x5ced43,_0x2dd52a){const _0x5bdc57=_0x1a7f07;var _0x2b13c4,_0x35309b;const _0x32597e=(_0x35309b=(_0x2b13c4=this[_0x5bdc57(0x44e)][_0x5bdc57(0x31f)](this[_0x5bdc57(0x5b2)]))==null?void 0x0:_0x2b13c4[_0x5bdc57(0x5bd)](_0x5ced43))==null?void 0x0:_0x35309b[_0x5bdc57(0x1be)]();return(_0x32597e==null?void 0x0:_0x32597e[_0x5bdc57(0x523)](_0x35d4ba=>_0x194108[_0x5bdc57(0x1d5)](_0x35d4ba,_0x2dd52a)))||_0x2dd52a;}[_0x1a7f07(0x2a8)](){const _0x37a0bc=_0x1a7f07,_0x481eee=new _0xb0f374(),_0x5e56d6=Uo(),_0x4e77aa=()=>{const _0x184fa1=_0x54d3;_0x481eee[_0x184fa1(0x51b)]();const _0x5c7828=(_0xd5e9f4,_0x3ea97b,_0x144274,_0x9c9024)=>{const _0x535cea=_0x184fa1;let _0x30f6b0=[];switch(_0xd5e9f4['id']){case _0x300cbc[_0x535cea(0x50c)]:{_0x30f6b0=_0x39cf89(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x3c7)]:{_0x30f6b0=_0x220228(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x49d)]:{_0x30f6b0=_0x255154(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x224)]:{_0x30f6b0=_0x28d224(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x2d0)]:{_0x30f6b0=_0x499d69(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x245)]:{_0x30f6b0=_0x1bdaf3(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x1e7)]:{_0x30f6b0=_0x536a5b(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x217)]:{_0x30f6b0=_0x4e0669(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc['RemoveRowCommandId']:{_0x30f6b0=_0x1de90e(_0xd5e9f4,_0x9c9024);break;}}const _0x4c6b3a=_0x1e843d(_0x30f6b0,_0x9c9024),_0x259fa0=this[_0x535cea(0x417)][_0x535cea(0x59a)](_0x3ea97b);if(_0x259fa0&&_0x4c6b3a){const _0x26f4cb={..._0x259fa0,'range':_0x4c6b3a};this['cursorInfo']['set'](_0x3ea97b,_0x26f4cb),_0x5e56d6(()=>{const _0x15b908=_0x535cea,_0x1dfe87=this[_0x15b908(0x20e)][_0x15b908(0x218)](_0x4c6b3a,_0x59d0f3=>(_0x1dfe87[_0x15b908(0x51b)](),_0x5c7828(_0x59d0f3,_0x3ea97b,_0x144274,_0x4c6b3a)));_0x481eee['add'](_0x1dfe87);});}return{'redos':[],'undos':[]};};this[_0x184fa1(0x417)][_0x184fa1(0x547)]((_0x21a48a,_0x56ebff)=>{const _0x49f66d=_0x184fa1,{range:_0x427300,sheetID:_0x5490cb}=_0x21a48a,_0x5bb719=this[_0x49f66d(0x20e)][_0x49f66d(0x218)](_0x427300,_0x137817=>(_0x5bb719[_0x49f66d(0x51b)](),_0x5c7828(_0x137817,_0x56ebff,_0x5490cb,_0x427300)));_0x481eee['add'](_0x5bb719);});};this[_0x37a0bc(0x4b1)](_0x1c981a(this['_cursorInfo$']['subscribe'](()=>{_0x4e77aa();})));}['_toggleOnline'](){const _0x18f1da=_0x1a7f07;var _0x22a27a,_0x1e02c0;if(this[_0x18f1da(0x323)]=!0x0,((_0x22a27a=this[_0x18f1da(0x44e)][_0x18f1da(0x3db)]())==null?void 0x0:_0x22a27a['getUnitId']())!==this[_0x18f1da(0x5b2)])return;const _0x1feb79=(_0x1e02c0=this['_injector'][_0x18f1da(0x59a)](_0x2fad1e)[_0x18f1da(0x3bf)]())==null?void 0x0:_0x1e02c0[0x0],_0x1d0ef6=this[_0x18f1da(0x44e)][_0x18f1da(0x3ad)](_0x31d58f[_0x18f1da(0x3a2)])[_0x18f1da(0x234)]();_0x1feb79&&_0x1d0ef6&&this[_0x18f1da(0x470)](_0x1d0ef6[_0x18f1da(0x554)](),_0x1feb79);}['_toggleOffline'](){const _0x1c6731=_0x1a7f07;this[_0x1c6731(0x323)]=!0x1;}};rs=wo([Be(0x2,_0x5cf6ec(_0xc0c089)),Be(0x3,_0x5cf6ec(bs)),Be(0x4,_0x5cf6ec(Ne)),Be(0x5,_0x1726a1),Be(0x6,_0x322b66),Be(0x7,_0x5cf6ec(_0x421d7d))],rs);var No=Object[_0x1a7f07(0x5b3)],Ao=Object[_0x1a7f07(0x298)],Mo=(_0x4ae1ae,_0x14ec55,_0x4af014,_0x5b95c0)=>{const _0x395291=_0x1a7f07;for(var _0x593af5=_0x5b95c0>0x1?void 0x0:_0x5b95c0?Ao(_0x14ec55,_0x4af014):_0x14ec55,_0x5b4d29=_0x4ae1ae[_0x395291(0x5bc)]-0x1,_0x507b7c;_0x5b4d29>=0x0;_0x5b4d29--)(_0x507b7c=_0x4ae1ae[_0x5b4d29])&&(_0x593af5=(_0x5b95c0?_0x507b7c(_0x14ec55,_0x4af014,_0x593af5):_0x507b7c(_0x593af5))||_0x593af5);return _0x5b95c0&&_0x593af5&&No(_0x14ec55,_0x4af014,_0x593af5),_0x593af5;},$t=(_0x110474,_0x55bd13)=>(_0x184801,_0x175ef4)=>_0x55bd13(_0x184801,_0x175ef4,_0x110474);let Ve=class extends _0x1cb902{constructor(_0x3b4a94,_0x2159ff,_0x436d14){const _0x27c642=_0x1a7f07;super(),g(this,_0x27c642(0x31b),new Map()),g(this,_0x27c642(0x48a),new _0x50574e()),(this['_univerInstanceService']=_0x3b4a94,this[_0x27c642(0x4d5)]=_0x2159ff,this[_0x27c642(0x46d)]=_0x436d14,this[_0x27c642(0x426)]());}['dispose'](){const _0x34280c=_0x1a7f07;super[_0x34280c(0x51b)](),this[_0x34280c(0x48a)][_0x34280c(0x5b0)](),this[_0x34280c(0x31b)][_0x34280c(0x547)](_0x1a5487=>_0x1a5487[_0x34280c(0x51b)]());}[_0x1a7f07(0x3be)](_0x2750f6){const _0x10dd02=_0x1a7f07;return this[_0x10dd02(0x31b)][_0x10dd02(0x581)](_0x2750f6)?this[_0x10dd02(0x31b)]['get'](_0x2750f6)[_0x10dd02(0x2f8)]:this[_0x10dd02(0x48a)][_0x10dd02(0x1cf)](_0x5d6a4a(_0x1e470b=>_0x1e470b[_0x10dd02(0x5b2)]===_0x2750f6),_0x1eab13(_0x3dc21e=>_0x3dc21e[_0x10dd02(0x2f8)]));}['_init'](){const _0x32d4db=_0x1a7f07;this[_0x32d4db(0x44e)][_0x32d4db(0x5b8)](_0x31d58f[_0x32d4db(0x3a2)])[_0x32d4db(0x1cf)](_0x171184(this['dispose$']))['subscribe'](async _0x5b2f33=>{const _0x1bd0b9=_0x32d4db,_0x5e4628=_0x5b2f33[_0x1bd0b9(0x5c1)](),_0x14681f=await this[_0x1bd0b9(0x314)](_0x5e4628);this[_0x1bd0b9(0x48a)]['next'](_0x14681f),this[_0x1bd0b9(0x31b)]['set'](_0x5e4628,_0x14681f);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x31d58f['UNIVER_DOC'])['pipe'](_0x171184(this[_0x32d4db(0x22c)]))['pipe'](_0x5d6a4a(_0x504de8=>!_0x504de8[_0x32d4db(0x5c1)]()['startsWith']('__')))[_0x32d4db(0x29f)](async _0xd413d7=>{const _0x3aadc9=_0x32d4db,_0x534ebd=_0xd413d7['getUnitId'](),_0x4b1fac=await this[_0x3aadc9(0x3fa)](_0x534ebd);this[_0x3aadc9(0x48a)][_0x3aadc9(0x265)](_0x4b1fac),this[_0x3aadc9(0x31b)][_0x3aadc9(0x3f4)](_0x534ebd,_0x4b1fac);}),_0x407b74(this[_0x32d4db(0x44e)][_0x32d4db(0x276)](_0x31d58f['UNIVER_DOC']),this[_0x32d4db(0x44e)]['getTypeOfUnitDisposed$'](_0x31d58f[_0x32d4db(0x3a2)]))[_0x32d4db(0x1cf)](_0x171184(this['dispose$']))[_0x32d4db(0x29f)](_0x26772b=>{const _0x4e0720=_0x32d4db,_0x3a016c=_0x26772b['getUnitId'](),_0x26ccd8=this['_entities'][_0x4e0720(0x59a)](_0x3a016c);_0x26ccd8&&(_0x26ccd8[_0x4e0720(0x51b)](),this[_0x4e0720(0x31b)][_0x4e0720(0x473)](_0x3a016c));});}async[_0x1a7f07(0x314)](_0x4b7669){const _0x43d10a=_0x1a7f07,_0x21d8d7=await this[_0x43d10a(0x46d)][_0x43d10a(0x2ad)](_0x4b7669),_0xb3c928=this[_0x43d10a(0x4d5)][_0x43d10a(0x34e)](rs,_0x4b7669,_0x21d8d7);return _0xb3c928[_0x43d10a(0x3ae)](),_0xb3c928;}async[_0x1a7f07(0x3fa)](_0x24c148){const _0x62c96f=_0x1a7f07,_0x3fc104=await this['_collabSessionService'][_0x62c96f(0x2ad)](_0x24c148),_0x1274d2=this[_0x62c96f(0x4d5)]['createInstance'](ns,_0x24c148,_0x3fc104);return _0x1274d2[_0x62c96f(0x3ae)](),_0x1274d2;}};Ve=Mo([$t(0x0,_0x1726a1),$t(0x1,_0x5cf6ec(_0xc0c089)),$t(0x2,_0x5cf6ec(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x88eb55,_0xfdd7d4){const _0x1c39b7=_0x1a7f07;let {radius:_0x22dc7a,width:_0x14c5a4,height:_0x461310}=_0xfdd7d4;_0x22dc7a=_0x22dc7a!=null?_0x22dc7a:0x0,_0x14c5a4=_0x14c5a4!=null?_0x14c5a4:0x1e,_0x461310=_0x461310!=null?_0x461310:0x1e;let _0x208736=0x0,_0x30ba65=0x0,_0x114adc=0x0;_0x208736=_0x30ba65=_0x114adc=Math[_0x1c39b7(0x21f)](_0x22dc7a,_0x14c5a4/0x2,_0x461310/0x2),_0x88eb55[_0x1c39b7(0x1c2)](),_0x88eb55[_0x1c39b7(0x36c)](_0x208736,0x0),_0x88eb55[_0x1c39b7(0x4c7)](_0x14c5a4-_0x30ba65,0x0),_0x88eb55[_0x1c39b7(0x4be)](_0x14c5a4-_0x30ba65,_0x30ba65,_0x30ba65,Math['PI']*0x3/0x2,0x0,!0x1),_0x88eb55[_0x1c39b7(0x4c7)](_0x14c5a4,_0x461310-_0x114adc),_0x88eb55['arc'](_0x14c5a4-_0x114adc,_0x461310-_0x114adc,_0x114adc,0x0,Math['PI']/0x2,!0x1),_0x88eb55[_0x1c39b7(0x4c7)](0x0,_0x461310),_0x88eb55[_0x1c39b7(0x4c7)](0x0,_0x208736),_0x88eb55[_0x1c39b7(0x4be)](_0x208736,_0x208736,_0x208736,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x88eb55[_0x1c39b7(0x30f)](),_0xfdd7d4['fill']&&(_0x88eb55[_0x1c39b7(0x202)](),_0x88eb55['fillStyle']=_0xfdd7d4[_0x1c39b7(0x522)],_0xfdd7d4['fillRule']===_0x1c39b7(0x54b)?_0x88eb55['fill'](_0x1c39b7(0x54b)):_0x88eb55['fill'](),_0x88eb55[_0x1c39b7(0x53e)]());}class Ot extends _0x1e2684{constructor(_0x6b41a7,_0x22889d){const _0x356c66=_0x1a7f07;super(_0x6b41a7,_0x22889d),g(this,'color'),g(this,'text'),(this[_0x356c66(0x4a3)]=_0x22889d==null?void 0x0:_0x22889d['color'],this['text']=_0x22889d==null?void 0x0:_0x22889d[_0x356c66(0x5a0)]);}static[_0x1a7f07(0x208)](_0x40d473,_0x1c97fb){const _0xf81402=_0x1a7f07,{text:_0x592d2e,color:_0x171264}=_0x1c97fb;_0x40d473[_0xf81402(0x202)](),_0x40d473[_0xf81402(0x4a7)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2a9077=_0x40d473[_0xf81402(0x509)](_0x592d2e)[_0xf81402(0x59e)],_0x41171c=Math[_0xf81402(0x21f)](_0x2a9077+0x2*Ht,Ys);Lo(_0x40d473,{'height':nt,'radius':0x4,'width':_0x41171c,'fill':_0x171264,'evented':!0x1}),_0x40d473[_0xf81402(0x238)]=_0xf81402(0x384);const _0x3fcbcd=Ht,_0x5ba38c=nt-xo,_0x44d610=Ys-0x2*Ht;if(_0x2a9077>_0x44d610){let _0x8230b='',_0x4eecf7=0x0;for(const _0x584f52 of _0x592d2e){const _0x518fab=_0x40d473[_0xf81402(0x509)](_0x584f52)[_0xf81402(0x59e)];if(_0x4eecf7+_0x518fab<=_0x44d610-_0x40d473[_0xf81402(0x509)]('...')[_0xf81402(0x59e)])_0x8230b+=_0x584f52,_0x4eecf7+=_0x518fab;else{_0x8230b+='...';break;}}_0x40d473['fillText'](_0x8230b,_0x3fcbcd,_0x5ba38c);}else _0x40d473[_0xf81402(0x1c6)](_0x592d2e,_0x3fcbcd,_0x5ba38c);_0x40d473[_0xf81402(0x53e)]();}[_0x1a7f07(0x3d4)](_0x2d0dec){const _0x332b31=_0x1a7f07;Ot[_0x332b31(0x208)](_0x2d0dec,this);}}const jt=_0x1a7f07(0x32b),$o=_0x1a7f07(0x47f),Ho=_0x1a7f07(0x5bf),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x1a7f07(0x33b);class Ks{constructor(_0xaa5480,_0x29f424,_0x30c5c9,_0x55ae6b){const _0x3296da=_0x1a7f07;g(this,_0x3296da(0x250),[]),g(this,_0x3296da(0x258),null),g(this,'_textBubble',null),g(this,_0x3296da(0x2c9),null),g(this,_0x3296da(0x526),null),g(this,'_eventUnsubscribe',null),(this[_0x3296da(0x553)]=_0xaa5480,this[_0x3296da(0x360)]=_0x29f424,this[_0x3296da(0x3c5)]=_0x30c5c9,this[_0x3296da(0x56b)]=_0x55ae6b,this['_render']());}set['_hover'](_0x352b32){const _0x4e5224=_0x1a7f07;_0x352b32?(this['_anchorDot']&&this[_0x4e5224(0x2c9)]['hide'](),this[_0x4e5224(0x4ea)]&&this[_0x4e5224(0x4ea)][_0x4e5224(0x1ed)]()):(this[_0x4e5224(0x2c9)]&&this[_0x4e5224(0x2c9)]['show'](),this[_0x4e5224(0x4ea)]&&this[_0x4e5224(0x4ea)][_0x4e5224(0x5c7)]());}[_0x1a7f07(0x51b)](){const _0x46c10a=_0x1a7f07;for(const _0x4c4077 of this[_0x46c10a(0x250)])_0x4c4077[_0x46c10a(0x51b)]();this[_0x46c10a(0x4ea)]&&this[_0x46c10a(0x4ea)][_0x46c10a(0x51b)](),this[_0x46c10a(0x2c9)]&&this[_0x46c10a(0x2c9)]['dispose'](),this[_0x46c10a(0x258)]&&this[_0x46c10a(0x258)][_0x46c10a(0x51b)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x1a7f07(0x1d8)](){const _0x10c8e2=_0x1a7f07;var _0x2efcc5;const {_docSkeleton:_0x3d4cf5,_document:_0x5b89fb}=this,{color:_0x10fed3,name:_0x3cfb35,ranges:_0x4c49eb}=this[_0x10c8e2(0x553)],_0x57c5df=_0x5b89fb[_0x10c8e2(0x386)](),{docsLeft:_0x1ce293,docsTop:_0x149f50}=_0x57c5df,_0x1f50d6=new _0x598f61(_0x57c5df,_0x3d4cf5);for(const {startOffset:_0x337659,endOffset:_0x2c7515,rangeType:_0x47847d,segmentId:_0x1d902e,segmentPage:_0x404f1f,collapsed:_0x121df9,isActive:_0x27ff24}of _0x4c49eb){const _0x1e93da=_0x3d4cf5['findNodePositionByCharIndex'](_0x337659,!0x0,_0x1d902e,_0x404f1f);let _0x556913=_0x3d4cf5[_0x10c8e2(0x380)](_0x2c7515,!0x0,_0x1d902e,_0x404f1f);if(_0x556913==null&&(_0x556913=_0x3d4cf5[_0x10c8e2(0x380)](_0x2c7515-0x1,!0x1,_0x1d902e,_0x404f1f)),_0x27ff24){const {contentBoxPointGroup:_0x32b4e1}=_0x1f50d6['getRangePointData'](_0x556913,_0x556913);if(_0x32b4e1['length']===0x0)continue;this[_0x10c8e2(0x1f0)](_0x10fed3,_0x32b4e1,_0x1ce293,_0x149f50,_0x3cfb35),this['_eventUnsubscribe']=this[_0x10c8e2(0x55a)]();}if(!_0x121df9&&_0x1e93da&&_0x556913){if(_0x47847d===_0xe3b3a7[_0x10c8e2(0x29c)]){const _0x2eb004=new _0x17e807(_0x57c5df,_0x3d4cf5),{pointGroup:_0x4779cb}=(_0x2efcc5=_0x2eb004[_0x10c8e2(0x3ef)](_0x1e93da,_0x556913))!=null?_0x2efcc5:{};if(_0x4779cb==null||_0x4779cb['length']===0x0)continue;this[_0x10c8e2(0x2a2)](_0x10fed3,_0x4779cb,_0x1ce293,_0x149f50);}else{const {borderBoxPointGroup:_0x26f549}=_0x1f50d6[_0x10c8e2(0x3ef)](_0x1e93da,_0x556913);if(_0x26f549[_0x10c8e2(0x5bc)]===0x0)continue;this[_0x10c8e2(0x37c)](_0x10fed3,_0x26f549,_0x1ce293,_0x149f50);}}}}[_0x1a7f07(0x1f0)](_0xf8a5a7,_0x366e0b,_0x4c2daf,_0x42c452,_0x2e2adf){const _0x17464b=_0x1a7f07,_0x277367=this[_0x17464b(0x3f3)](_0x366e0b),{left:_0x54fd74,top:_0x4021da,height:_0x3f7bc2}=_0x277367,_0x21ee8a=this[_0x17464b(0x425)](),_0x39503a=Bo/_0x21ee8a,_0x112775=new _0x1a00c0(jt+_0x235991[_0x17464b(0x59c)](Je),{'left':_0x54fd74+_0x4c2daf-_0x39503a,'top':_0x4021da+_0x42c452,'height':_0x3f7bc2,'width':jo,'fill':_0xf8a5a7||_0x4cc8c9(_0x48abe6[_0x17464b(0x4bc)],0x0),'strokeWidth':_0x39503a,'stroke':ko,'evented':!0x0});this[_0x17464b(0x258)]=_0x112775,this[_0x17464b(0x360)]['addObject'](_0x112775,_0x58b8cf);const _0x26deb6=new _0x1a00c0(jt+_0x235991[_0x17464b(0x59c)](Je),{'left':_0x54fd74+_0x4c2daf-_0x39503a,'top':_0x4021da+_0x42c452-Bt/0x2,'height':Bt,'width':Bt,'fill':_0xf8a5a7||_0x4cc8c9(_0x48abe6[_0x17464b(0x4bc)],0x0),'strokeWidth':0x0,'stroke':_0xf8a5a7||_0x4cc8c9(_0x48abe6[_0x17464b(0x4bc)],0x0),'evented':!0x1});this['_anchorDot']=_0x26deb6,this['_scene'][_0x17464b(0x4a5)](_0x26deb6,_0x58b8cf);const _0x3cfa71=new Ot(jt+_0x235991['generateRandomId'](Je),{'left':_0x54fd74+_0x4c2daf-_0x39503a,'top':_0x4021da+_0x42c452-nt,'text':_0x2e2adf,'color':_0xf8a5a7});this['_textBubble']=_0x3cfa71,this['_scene'][_0x17464b(0x4a5)](_0x3cfa71,_0x58b8cf),this[_0x17464b(0x271)]=!0x1;}[_0x1a7f07(0x55a)](){const _0x13b1d4=_0x1a7f07,_0x187020=this[_0x13b1d4(0x258)][_0x13b1d4(0x4c3)]['subscribeEvent'](()=>{const _0x16baf9=_0x13b1d4;this[_0x16baf9(0x271)]=!0x0;}),_0x1d712d=this[_0x13b1d4(0x258)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x2b6755=_0x13b1d4;this[_0x2b6755(0x526)]&&clearTimeout(this['_hideTimer']),this[_0x2b6755(0x526)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x274da7=_0x13b1d4;_0x187020[_0x274da7(0x4ee)](),_0x1d712d[_0x274da7(0x4ee)]();};}[_0x1a7f07(0x37c)](_0x12815a,_0x15c68a,_0x1e1cbc,_0x20683d){const _0x1bd1ea=_0x1a7f07,_0x58191c=new _0x5d5cbb(_0x12815a)[_0x1bd1ea(0x48f)](0.2)[_0x1bd1ea(0x597)](),_0x40543c=new _0x24b371($o+_0x235991['generateRandomId'](Je),{'pointsGroup':_0x15c68a,'fill':_0x58191c||_0x4cc8c9(_0x48abe6['black'],0.2),'left':_0x1e1cbc,'top':_0x20683d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1bd1ea(0x250)][_0x1bd1ea(0x4b6)](_0x40543c),this[_0x1bd1ea(0x360)][_0x1bd1ea(0x4a5)](_0x40543c,_0x58b8cf);}[_0x1a7f07(0x2a2)](_0x1d10f6,_0x3156e5,_0x1defa3,_0x242ab2){const _0x127245=_0x1a7f07,_0x5efb64=new _0x5d5cbb(_0x1d10f6)[_0x127245(0x48f)](0.2)[_0x127245(0x597)](),_0x5b57ef=new _0x24b371(Ho+_0x235991['generateRandomId'](Je),{'pointsGroup':_0x3156e5,'fill':_0x5efb64||_0x4cc8c9(_0x48abe6[_0x127245(0x4bc)],0.2),'left':_0x1defa3,'top':_0x242ab2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x127245(0x4b6)](_0x5b57ef),this[_0x127245(0x360)][_0x127245(0x4a5)](_0x5b57ef,_0x58b8cf);}[_0x1a7f07(0x3f3)](_0x46fe46){const _0x326b31=_0x46fe46[0x0],_0xef8058=_0x326b31[0x0],_0x4f568d=_0x326b31[0x2],{x:_0xb0ce19,y:_0x2f3b07}=_0xef8058,{x:_0x2cf0a8,y:_0x4e8a30}=_0x4f568d;return{'left':_0xb0ce19,'top':_0x2f3b07,'width':_0x2cf0a8-_0xb0ce19,'height':_0x4e8a30-_0x2f3b07};}['_getScale'](){const _0x2abb25=_0x1a7f07,{scaleX:_0x26c818,scaleY:_0x338203}=this['_scene'][_0x2abb25(0x230)]();return Math[_0x2abb25(0x4d1)](_0x26c818,_0x338203);}}var Wo=Object[_0x1a7f07(0x5b3)],Fo=Object['getOwnPropertyDescriptor'],Vo=(_0x4a658a,_0x3a5db5,_0x1c0d31,_0x447eb1)=>{for(var _0x4920f3=_0x447eb1>0x1?void 0x0:_0x447eb1?Fo(_0x3a5db5,_0x1c0d31):_0x3a5db5,_0x3d58d3=_0x4a658a['length']-0x1,_0x2ed7d9;_0x3d58d3>=0x0;_0x3d58d3--)(_0x2ed7d9=_0x4a658a[_0x3d58d3])&&(_0x4920f3=(_0x447eb1?_0x2ed7d9(_0x3a5db5,_0x1c0d31,_0x4920f3):_0x2ed7d9(_0x4920f3))||_0x4920f3);return _0x447eb1&&_0x4920f3&&Wo(_0x3a5db5,_0x1c0d31,_0x4920f3),_0x4920f3;},ht=(_0x3b8b3f,_0x3aef1c)=>(_0x12ffea,_0x5d4da1)=>_0x3aef1c(_0x12ffea,_0x5d4da1,_0x3b8b3f);let os=class extends _0x1cb902{constructor(_0x5f12b5,_0x222f44,_0x12f541,_0x610fd6,_0x34f6b2){const _0x76b356=_0x1a7f07;super(),g(this,_0x76b356(0x565),[]),g(this,_0x76b356(0x47d),[]),(this['_context']=_0x5f12b5,this[_0x76b356(0x26b)]=_0x222f44,this[_0x76b356(0x2df)]=_0x12f541,this['_commandService']=_0x610fd6,this[_0x76b356(0x30c)]=_0x34f6b2,this[_0x76b356(0x426)]());}[_0x1a7f07(0x426)](){const _0x3266b0=_0x1a7f07,_0x11cc7c=this[_0x3266b0(0x4f7)][_0x3266b0(0x3c9)],_0x500079=this[_0x3266b0(0x26b)];this[_0x3266b0(0x4b1)](_0x3b40d1([this['_collabCursorController'][_0x3266b0(0x3be)](_0x11cc7c),this[_0x3266b0(0x30c)][_0x3266b0(0x4a1)]])[_0x3266b0(0x1cf)](_0x4e0bfc(([_0x14ea60,_0x3d9e3a])=>({'skeleton':_0x500079[_0x3266b0(0x40b)](),'cursors':[..._0x14ea60[_0x3266b0(0x4d7)]()]['flatMap'](_0x23debf=>({..._0x23debf,'color':_0x3d9e3a[_0x23debf[_0x3266b0(0x4a3)]]}))})))['subscribe'](_0x4e7fa3=>{const _0x1f10b2=_0x3266b0;if(this['_removeCollabCursors'](),_0x4e7fa3){const {skeleton:_0x47a68e,cursors:_0x2268ab}=_0x4e7fa3;this[_0x1f10b2(0x44c)](_0x47a68e,_0x2268ab);}})),this[_0x3266b0(0x388)](),this[_0x3266b0(0x42b)]();}[_0x1a7f07(0x44c)](_0x1ef460,_0x381437){const _0x4e54c8=_0x1a7f07,{scene:_0xde2d38,mainComponent:_0x2793a3}=this[_0x4e54c8(0x4f7)],_0x52b072=_0x381437['map'](_0x6e4220=>new Ks(_0x6e4220,_0xde2d38,_0x1ef460,_0x2793a3));this[_0x4e54c8(0x565)]=_0x52b072,this[_0x4e54c8(0x47d)]=_0x381437;}['_refreshCollabCursors'](){const _0x17f6fb=_0x1a7f07;this[_0x17f6fb(0x2cf)]();const {scene:_0x5a17fa,mainComponent:_0xa66757}=this['_context'],_0x48c0b4=this[_0x17f6fb(0x26b)][_0x17f6fb(0x40b)](),_0x1b0d07=this[_0x17f6fb(0x47d)][_0x17f6fb(0x466)](_0x47f50c=>new Ks(_0x47f50c,_0x5a17fa,_0x48c0b4,_0xa66757));this['_cursorShapes']=_0x1b0d07;}[_0x1a7f07(0x2cf)](){const _0x4f351a=_0x1a7f07;this[_0x4f351a(0x565)]['forEach'](_0x4ac894=>_0x4ac894[_0x4f351a(0x51b)]()),this[_0x4f351a(0x565)]=[];}[_0x1a7f07(0x42b)](){const _0x53ed8b=_0x1a7f07,_0x5bd88a=[_0x31e998['id']];this[_0x53ed8b(0x4b1)](this[_0x53ed8b(0x4b3)][_0x53ed8b(0x229)](_0x2eb7c5=>{const _0x1adbd9=_0x53ed8b;_0x5bd88a[_0x1adbd9(0x41e)](_0x2eb7c5['id'])&&_0x2eb7c5[_0x1adbd9(0x53f)]['unitId']===this[_0x1adbd9(0x4f7)]['unitId']&&this[_0x1adbd9(0x34c)]();}));}[_0x1a7f07(0x388)](){const _0x35de35=_0x1a7f07;this['disposeWithMe'](_0xda2401(this['_context'][_0x35de35(0x537)][_0x35de35(0x557)])['pipe'](_0x5cdcf5(_0xafd1a5=>_0xafd1a5[_0x35de35(0x23c)]===_0x2b0eae['resize']),_0x11fe20(0x10))[_0x35de35(0x29f)](()=>{const _0x5182d7=_0x35de35;this[_0x5182d7(0x34c)]();}));}};os=Vo([ht(0x1,_0x5cf6ec(_0x2a9a54)),ht(0x2,_0x5cf6ec(Ve)),ht(0x3,_0x322b66),ht(0x4,_0x5cf6ec(_0x104cf8))],os);const Go=0x1,Yo=1.5;class Ko extends _0x1e2684{constructor(_0x14ed1f,_0x45246b){const _0xea9613=_0x1a7f07;super(_0x14ed1f,_0x45246b),g(this,_0xea9613(0x301)),g(this,_0xea9613(0x452),!0x1),g(this,_0xea9613(0x260)),g(this,_0xea9613(0x282),''),g(this,_0xea9613(0x2e8),_0xea9613(0x2ba)),g(this,'_backgroundColor'),(_0x45246b&&this[_0xea9613(0x45d)](_0x45246b),this[_0xea9613(0x4c3)][_0xea9613(0x216)](()=>this[_0xea9613(0x45d)]({'hovered':!0x0})),this[_0xea9613(0x362)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x1a7f07(0x45d)](_0x3e4567){const _0x2f429b=_0x1a7f07;var _0x37c0f5,_0x25b901,_0x367530,_0x1e0031,_0x29e9c9,_0x2f89c4;this[_0x2f429b(0x301)]=(_0x37c0f5=_0x3e4567['color'])!=null?_0x37c0f5:this[_0x2f429b(0x301)],this[_0x2f429b(0x452)]=(_0x25b901=_0x3e4567[_0x2f429b(0x501)])!=null?_0x25b901:this[_0x2f429b(0x452)],this[_0x2f429b(0x260)]=(_0x367530=_0x3e4567[_0x2f429b(0x40a)])!=null?_0x367530:this[_0x2f429b(0x260)],this['_name']=(_0x1e0031=_0x3e4567[_0x2f429b(0x598)])!=null?_0x1e0031:this[_0x2f429b(0x282)],this['_labelPosition']=(_0x29e9c9=_0x3e4567[_0x2f429b(0x4c6)])!=null?_0x29e9c9:this[_0x2f429b(0x2e8)],this[_0x2f429b(0x374)]=(_0x2f89c4=_0x3e4567[_0x2f429b(0x403)])!=null?_0x2f89c4:this[_0x2f429b(0x374)],this['transformByState']({'width':_0x3e4567[_0x2f429b(0x59e)],'height':_0x3e4567['height']});}[_0x1a7f07(0x562)](_0x19af83){const _0x3f19d5=_0x1a7f07,{row:_0x35a603,column:_0x6fa539}=_0x19af83;if(_0x35a603>=this[_0x3f19d5(0x260)]['startRow']&&_0x35a603<=this[_0x3f19d5(0x260)][_0x3f19d5(0x332)]&&_0x6fa539>=this[_0x3f19d5(0x260)][_0x3f19d5(0x54a)]&&_0x6fa539<=this[_0x3f19d5(0x260)][_0x3f19d5(0x207)]){this[_0x3f19d5(0x45d)]({'hovered':!0x0});return;}this[_0x3f19d5(0x45d)]({'hovered':!0x1});}[_0x1a7f07(0x52d)](_0x4606c7){return!0x1;}[_0x1a7f07(0x3d4)](_0xf9befc){const _0x44f1de=_0x1a7f07;_0x1a00c0[_0x44f1de(0x208)](_0xf9befc,{'width':this[_0x44f1de(0x59e)],'height':this[_0x44f1de(0x4aa)],'strokeWidth':Yo,'stroke':this[_0x44f1de(0x301)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x44f1de(0x452)]&&(_0xf9befc[_0x44f1de(0x202)](),_0xf9befc[_0x44f1de(0x431)](0x1,0x0,0x0,0x1,this[_0x44f1de(0x59e)],this[_0x44f1de(0x2e8)]===_0x44f1de(0x1f5)?0x0:-nt),Ot[_0x44f1de(0x208)](_0xf9befc,{'text':this[_0x44f1de(0x282)],'color':this[_0x44f1de(0x301)]}),_0xf9befc['restore']());}}var zo=Object[_0x1a7f07(0x5b3)],qo=Object[_0x1a7f07(0x298)],Xo=(_0x3de086,_0xff31c9,_0x1e6314,_0x48fb5f)=>{const _0xbad462=_0x1a7f07;for(var _0x22b2d3=_0x48fb5f>0x1?void 0x0:_0x48fb5f?qo(_0xff31c9,_0x1e6314):_0xff31c9,_0x4d6285=_0x3de086[_0xbad462(0x5bc)]-0x1,_0x2efa6b;_0x4d6285>=0x0;_0x4d6285--)(_0x2efa6b=_0x3de086[_0x4d6285])&&(_0x22b2d3=(_0x48fb5f?_0x2efa6b(_0xff31c9,_0x1e6314,_0x22b2d3):_0x2efa6b(_0x22b2d3))||_0x22b2d3);return _0x48fb5f&&_0x22b2d3&&zo(_0xff31c9,_0x1e6314,_0x22b2d3),_0x22b2d3;},kt=(_0x18f318,_0x2f5252)=>(_0x507a09,_0x1c9444)=>_0x2f5252(_0x507a09,_0x1c9444,_0x18f318);const Jo=0x1389;let as=class extends _0x1cb902{constructor(_0x28f7be,_0x1e4fce,_0xf4fb03,_0x582a9a){const _0x32f1b9=_0x1a7f07;super(),g(this,_0x32f1b9(0x47d),new Set()),g(this,_0x32f1b9(0x474),null),(this[_0x32f1b9(0x4f7)]=_0x28f7be,this[_0x32f1b9(0x402)]=_0x1e4fce,this[_0x32f1b9(0x2df)]=_0xf4fb03,this['_themeService']=_0x582a9a,this[_0x32f1b9(0x426)]());}['_init'](){const _0xc200d9=_0x1a7f07;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0xc200d9(0x1cf)](_0x2d8749(this['dispose$']),_0x288cb3(_0x4550d9=>{const _0x2c2517=_0xc200d9;if(_0x4550d9){const _0x169df3=_0x4550d9[_0x2c2517(0x21c)];return _0x3b40d1(this[_0x2c2517(0x2df)][_0x2c2517(0x3be)](this['_context'][_0x2c2517(0x3c9)]),this['_themeService'][_0x2c2517(0x4a1)])[_0x2c2517(0x1cf)](_0x4e0bfc(([_0x33c5b7,_0x1d192c])=>{const _0x23e9a8=_0x2c2517,_0x1da359=new Map();return _0x33c5b7[_0x23e9a8(0x547)]((_0x12f8fe,_0x2837dc)=>{const _0xbefdc6=_0x23e9a8;if(_0x12f8fe[_0xbefdc6(0x2e0)]===_0x169df3){const _0x43c40a={..._0x12f8fe};_0x43c40a[_0xbefdc6(0x4a3)]=_0x1d192c[_0x12f8fe['color']],_0x1da359[_0xbefdc6(0x3f4)](_0x2837dc,_0x43c40a);}}),{'skeleton':_0x4550d9,'cursors':_0x1da359};}));}return _0x37aace({'skeleton':null,'cursors':new Map()});}))[_0xc200d9(0x29f)](({skeleton:_0x21850e,cursors:_0x5eaf6c})=>{const _0x30a36f=_0xc200d9;this[_0x30a36f(0x2cf)](),_0x21850e&&this['_updateCollabCursors'](_0x21850e,_0x5eaf6c);}),this[_0xc200d9(0x402)][_0xc200d9(0x4eb)][_0xc200d9(0x29f)](_0x41497b=>{const _0x2cc970=_0xc200d9;if(_0x41497b==null)return;const {skeleton:_0x237e74}=_0x41497b,{scene:_0xa67482}=this['_context'];_0xa67482[_0x2cc970(0x5b1)][_0x2cc970(0x216)](_0x433f68(_0x3d8b4e=>{const _0x5f5c34=_0x2cc970;var _0x57384d,_0x4c9faf;const {offsetX:_0xe29a9f,offsetY:_0x4e135c}=_0x3d8b4e,{x:_0x5a139d,y:_0x2bcd0d}=_0xa67482[_0x5f5c34(0x58b)](_0x5cd961['FromArray']([_0xe29a9f,_0x4e135c])),{scaleX:_0x185921,scaleY:_0x18560e}=_0xa67482['getAncestorScale'](),_0x4365a4=_0xa67482[_0x5f5c34(0x2b2)](_0x45cb2d[_0x5f5c34(0x2ee)]),_0x5c570d=_0xa67482[_0x5f5c34(0x584)](_0x5cd961['FromArray']([_0x5a139d,_0x2bcd0d]),_0x4365a4),_0x7a1efc=_0x237e74[_0x5f5c34(0x3da)](_0xe29a9f,_0x4e135c,_0x185921,_0x18560e,_0x5c570d);((_0x57384d=this['_lastPointer'])==null?void 0x0:_0x57384d['column'])===_0x7a1efc[_0x5f5c34(0x235)]&&((_0x4c9faf=this[_0x5f5c34(0x474)])==null?void 0x0:_0x4c9faf[_0x5f5c34(0x51c)])===_0x7a1efc[_0x5f5c34(0x51c)]||this[_0x5f5c34(0x47d)][_0x5f5c34(0x547)](_0x470b5e=>{const _0x8de69=_0x5f5c34;_0x470b5e[_0x8de69(0x562)](_0x7a1efc);});},0x64));});}[_0x1a7f07(0x44c)](_0x30443e,_0x4ed80c){const _0xeb8c67=_0x1a7f07;var _0x3a2bb8;const _0x30e069=(_0x3a2bb8=this[_0xeb8c67(0x402)][_0xeb8c67(0x1eb)]())==null?void 0x0:_0x3a2bb8[_0xeb8c67(0x1cb)];if(!_0x30e069)return;const _0x102163=this[_0xeb8c67(0x35f)]();if(!_0x102163)return;this[_0xeb8c67(0x47d)][_0xeb8c67(0x547)](_0x42c73f=>{const _0x35a5a5=_0xeb8c67;_0x42c73f[_0x35a5a5(0x4a8)]();});const {scene:_0x225c9a}=_0x102163,_0x58521d=Zo(Array['from'](_0x4ed80c[_0xeb8c67(0x4d7)]()))['map'](_0x3d19ec=>{const _0x3fa4a3=_0xeb8c67,{color:_0x56e49c,range:_0x2a3e2a,name:_0x52c81b,selection:_0x3c9cd0,sheetID:_0x6f76e4}=_0x3d19ec,{startColumn:_0x9902b0,startRow:_0x3f31e3,endColumn:_0x5c694b,endRow:_0x195600}=_0x2a3e2a,_0x2e7ab1=_0x3aa7ff(_0x3f31e3,_0x9902b0,_0x225c9a,_0x30e069),_0x147bd4=_0x3aa7ff(_0x195600,_0x5c694b,_0x225c9a,_0x30e069),{columnHeaderHeightAndMarginTop:_0x2c0ed6}=_0x30e069,{startX:_0x4dbb20,startY:_0x908782}=_0x2e7ab1,{endX:_0x262aae,endY:_0x4b6f99}=_0x147bd4,_0x524d6e=_0x262aae-_0x4dbb20,_0x379d24=_0x4b6f99-_0x908782,_0x508ffc={'labelPosition':_0x908782-_0x2c0ed6>=nt?_0x3fa4a3(0x2ba):_0x3fa4a3(0x1f5),'sheetID':_0x6f76e4,'range':_0x2a3e2a,'color':_0x56e49c,'name':_0x52c81b,'selection':_0x3c9cd0,'left':_0x4dbb20,'top':_0x908782,'width':_0x524d6e,'height':_0x379d24,'evented':!0x1,'zIndex':Jo};return new Ko(_0x52c81b,_0x508ffc);});_0x225c9a['addObjects'](_0x58521d,Go),this[_0xeb8c67(0x47d)]=new Set(_0x58521d);}[_0x1a7f07(0x2cf)](){const _0x51d5cc=_0x1a7f07;var _0x26e731;(_0x26e731=this[_0x51d5cc(0x47d)])==null||_0x26e731[_0x51d5cc(0x547)](_0x89ff1d=>_0x89ff1d['dispose']());}[_0x1a7f07(0x35f)](){const _0x9ecd40=_0x1a7f07;return _0x136415(this[_0x9ecd40(0x4f7)]['unit'],this['_context']);}};as=Xo([kt(0x1,_0x5cf6ec(_0x419472)),kt(0x2,_0x5cf6ec(Ve)),kt(0x3,_0x5cf6ec(_0x104cf8))],as);function Zo(_0x4f49a1){const _0x597a34=_0x1a7f07,_0x4ca327=new Map();return _0x4f49a1[_0x597a34(0x547)](_0x3df803=>{const _0x1e3093=_0x597a34;if(_0x4ca327[_0x1e3093(0x581)](_0x3df803['selection'])){const _0x2f835f=_0x4ca327['get'](_0x3df803[_0x1e3093(0x4b8)]);_0x2f835f[_0x1e3093(0x598)]+=',\x20'+_0x3df803[_0x1e3093(0x598)];}else _0x4ca327['set'](_0x3df803[_0x1e3093(0x4b8)],_0x3df803);}),Array['from'](_0x4ca327['values']());}var ee=function(){const _0x599f6d=_0x1a7f07;return ee=Object[_0x599f6d(0x423)]||function(_0x21103e){const _0x546a35=_0x599f6d;for(var _0x57d981,_0x179b3d=0x1,_0x537ade=arguments[_0x546a35(0x5bc)];_0x179b3d<_0x537ade;_0x179b3d++){_0x57d981=arguments[_0x179b3d];for(var _0x2b2c81 in _0x57d981)Object['prototype'][_0x546a35(0x454)][_0x546a35(0x4bb)](_0x57d981,_0x2b2c81)&&(_0x21103e[_0x2b2c81]=_0x57d981[_0x2b2c81]);}return _0x21103e;},ee[_0x599f6d(0x49a)](this,arguments);},Qo=function(_0x329cdb,_0xc58b13){const _0x338fac=_0x1a7f07;var _0x27b306={};for(var _0x592196 in _0x329cdb)Object[_0x338fac(0x414)]['hasOwnProperty']['call'](_0x329cdb,_0x592196)&&_0xc58b13[_0x338fac(0x244)](_0x592196)<0x0&&(_0x27b306[_0x592196]=_0x329cdb[_0x592196]);if(_0x329cdb!=null&&typeof Object[_0x338fac(0x4cd)]==_0x338fac(0x494)){for(var _0x932c3b=0x0,_0x592196=Object[_0x338fac(0x4cd)](_0x329cdb);_0x932c3b<_0x592196['length'];_0x932c3b++)_0xc58b13[_0x338fac(0x244)](_0x592196[_0x932c3b])<0x0&&Object[_0x338fac(0x414)][_0x338fac(0x4fe)][_0x338fac(0x4bb)](_0x329cdb,_0x592196[_0x932c3b])&&(_0x27b306[_0x592196[_0x932c3b]]=_0x329cdb[_0x592196[_0x932c3b]]);}return _0x27b306;},Ts=_0x1e7b82(function(_0x281840,_0x2cdf1b){const _0x335b5e=_0x1a7f07;var _0x523872=_0x281840[_0x335b5e(0x2ea)],_0x43fedd=_0x281840['id'],_0xd3e7e3=_0x281840[_0x335b5e(0x502)],_0x36d7c8=_0x281840['extend'],_0x5c6f2c=Qo(_0x281840,[_0x335b5e(0x2ea),'id',_0x335b5e(0x502),_0x335b5e(0x38a)]),_0x32919c=_0x335b5e(0x2af)[_0x335b5e(0x451)](_0x43fedd,'\x20')[_0x335b5e(0x451)](_0xd3e7e3||'')[_0x335b5e(0x1bd)](),_0x228ef1=_0x1edd60('_'[_0x335b5e(0x451)](sa()));return Mi(_0x523872,''['concat'](_0x43fedd),{'defIds':_0x523872[_0x335b5e(0x550)],'idSuffix':_0x228ef1['current']},ee({'ref':_0x2cdf1b,'className':_0x32919c},_0x5c6f2c),_0x36d7c8);});function Mi(_0x568971,_0x22a25d,_0x193ec5,_0x447612,_0x107acb){const _0x59eceb=_0x1a7f07;return _0x27ae54(_0x568971[_0x59eceb(0x468)],ee(ee({'key':_0x22a25d},ea(_0x568971,_0x193ec5,_0x107acb)),_0x447612),(ta(_0x568971,_0x193ec5)[_0x59eceb(0x2ff)]||[])[_0x59eceb(0x466)](function(_0x37995b,_0x267c0c){const _0x5452ac=_0x59eceb;return Mi(_0x37995b,''['concat'](_0x22a25d,'-')[_0x5452ac(0x451)](_0x568971['tag'],'-')[_0x5452ac(0x451)](_0x267c0c),_0x193ec5,void 0x0,_0x107acb);}));}function ea(_0x58d74c,_0x2095d2,_0x426ae1){const _0x15c38e=_0x1a7f07;var _0x52d753=ee({},_0x58d74c[_0x15c38e(0x295)]);_0x426ae1!=null&&_0x426ae1[_0x15c38e(0x37e)]&&_0x52d753['fill']===_0x15c38e(0x37e)&&(_0x52d753['fill']=_0x426ae1[_0x15c38e(0x37e)]);var _0x4846a7=_0x2095d2[_0x15c38e(0x550)];return!_0x4846a7||_0x4846a7[_0x15c38e(0x5bc)]===0x0||(_0x58d74c['tag']==='use'&&_0x52d753['xlink:href']&&(_0x52d753['xlink:href']=_0x52d753['xlink:href']+_0x2095d2[_0x15c38e(0x25d)]),Object[_0x15c38e(0x555)](_0x52d753)[_0x15c38e(0x547)](function(_0x32922e){const _0x282509=_0x15c38e;var _0x41d69e=_0x32922e[0x0],_0x5131c9=_0x32922e[0x1];typeof _0x5131c9==_0x282509(0x3b1)&&(_0x52d753[_0x41d69e]=_0x5131c9[_0x282509(0x5ab)](/url\(#(.*)\)/,_0x282509(0x393)[_0x282509(0x451)](_0x2095d2[_0x282509(0x25d)],')')));})),_0x52d753;}function ta(_0x200e71,_0x4bdf02){const _0x31dda2=_0x1a7f07;var _0x4c14ad,_0x36a232=_0x4bdf02[_0x31dda2(0x550)];return!_0x36a232||_0x36a232['length']===0x0?_0x200e71:_0x200e71[_0x31dda2(0x468)]===_0x31dda2(0x57f)&&(!((_0x4c14ad=_0x200e71['children'])===null||_0x4c14ad===void 0x0)&&_0x4c14ad[_0x31dda2(0x5bc)])?ee(ee({},_0x200e71),{'children':_0x200e71[_0x31dda2(0x2ff)][_0x31dda2(0x466)](function(_0x3b5beb){const _0x3b5832=_0x31dda2;return typeof _0x3b5beb[_0x3b5832(0x295)]['id']=='string'&&_0x36a232&&_0x36a232[_0x3b5832(0x244)](_0x3b5beb[_0x3b5832(0x295)]['id'])>-0x1?ee(ee({},_0x3b5beb),{'attrs':ee(ee({},_0x3b5beb[_0x3b5832(0x295)]),{'id':_0x3b5beb[_0x3b5832(0x295)]['id']+_0x4bdf02[_0x3b5832(0x25d)]})}):_0x3b5beb;})}):_0x200e71;}function sa(){const _0x395f6f=_0x1a7f07;return Math[_0x395f6f(0x463)]()[_0x395f6f(0x297)](0x24)[_0x395f6f(0x2b9)](0x2,0x8);}Ts['displayName']=_0x1a7f07(0x259);var ia={'tag':'svg','attrs':{'fill':_0x1a7f07(0x35e),'viewBox':_0x1a7f07(0x4de),'width':_0x1a7f07(0x453),'height':_0x1a7f07(0x453)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x1a7f07(0x4c5),'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':_0x1a7f07(0x43d),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1a7f07(0x57f),'attrs':{},'children':[{'tag':_0x1a7f07(0x3ba),'attrs':{'id':_0x1a7f07(0x3cc)},'children':[{'tag':_0x1a7f07(0x4c5),'attrs':{'fill':_0x1a7f07(0x2da),'d':_0x1a7f07(0x26c)}}]}]}],'defIds':['off-line-single_clip0_910_343']},xi=_0x1e7b82(function(_0x51ed87,_0x42888f){const _0x1feb20=_0x1a7f07;return _0x27ae54(Ts,Object[_0x1feb20(0x423)]({},_0x51ed87,{'id':'off-line-single','ref':_0x42888f,'icon':ia}));});xi[_0x1a7f07(0x48c)]='OffLineSingle';var na={'tag':_0x1a7f07(0x3f1),'attrs':{'fill':_0x1a7f07(0x35e),'viewBox':_0x1a7f07(0x41c),'width':_0x1a7f07(0x453),'height':_0x1a7f07(0x453)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a7f07(0x57d)},'children':[{'tag':_0x1a7f07(0x4c5),'attrs':{'stroke':_0x1a7f07(0x532),'d':_0x1a7f07(0x3fe),'strokeLinecap':'round','strokeLinejoin':_0x1a7f07(0x43d),'strokeWidth':1.2}}]},{'tag':_0x1a7f07(0x57f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1a7f07(0x269)},'children':[{'tag':_0x1a7f07(0x4c5),'attrs':{'fill':_0x1a7f07(0x2da),'d':_0x1a7f07(0x26c),'transform':_0x1a7f07(0x5a7)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Li=_0x1e7b82(function(_0x16fc5b,_0xcb9882){const _0x8d7d36=_0x1a7f07;return _0x27ae54(Ts,Object[_0x8d7d36(0x423)]({},_0x16fc5b,{'id':_0x8d7d36(0x400),'ref':_0xcb9882,'icon':na}));});Li[_0x1a7f07(0x48c)]=_0x1a7f07(0x589);function $i(_0x2069a2){const _0x2cae09=_0x1a7f07;var _0x149996,_0x200dfb,_0x4cdf90='';if(typeof _0x2069a2=='string'||typeof _0x2069a2==_0x2cae09(0x4d2))_0x4cdf90+=_0x2069a2;else{if(typeof _0x2069a2==_0x2cae09(0x46a)){if(Array[_0x2cae09(0x344)](_0x2069a2)){var _0x1795fa=_0x2069a2[_0x2cae09(0x5bc)];for(_0x149996=0x0;_0x149996<_0x1795fa;_0x149996++)_0x2069a2[_0x149996]&&(_0x200dfb=$i(_0x2069a2[_0x149996]))&&(_0x4cdf90&&(_0x4cdf90+='\x20'),_0x4cdf90+=_0x200dfb);}else{for(_0x200dfb in _0x2069a2)_0x2069a2[_0x200dfb]&&(_0x4cdf90&&(_0x4cdf90+='\x20'),_0x4cdf90+=_0x200dfb);}}}return _0x4cdf90;}function ra(){const _0x3b43ea=_0x1a7f07;for(var _0x864686,_0x4c0e9b,_0x565e4f=0x0,_0x852fbd='',_0x511d7e=arguments[_0x3b43ea(0x5bc)];_0x565e4f<_0x511d7e;_0x565e4f++)(_0x864686=arguments[_0x565e4f])&&(_0x4c0e9b=$i(_0x864686))&&(_0x852fbd&&(_0x852fbd+='\x20'),_0x852fbd+=_0x4c0e9b);return _0x852fbd;}const oa='univer-online-status-icon',aa='univer-online-status-title',ca=_0x1a7f07(0x1f4),ha=_0x1a7f07(0x34b),la=_0x1a7f07(0x23a),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x12065a){const _0x3f0550=_0x1a7f07;switch(_0x12065a){case J[_0x3f0550(0x31d)]:return _0x3f0550(0x512);case J[_0x3f0550(0x5ac)]:return'collabStatus.conflict';case J['FETCH_MISS']:return _0x3f0550(0x42f);case J[_0x3f0550(0x575)]:return _0x3f0550(0x593);case J[_0x3f0550(0x23d)]:case J[_0x3f0550(0x2c5)]:return _0x3f0550(0x58d);case J[_0x3f0550(0x4f9)]:case J[_0x3f0550(0x1ca)]:return _0x3f0550(0x573);}}function ua(_0x2c79ed){const _0x51899a=_0x1a7f07,{status$:_0x56b618}=_0x2c79ed,_0x1d7a83=_0x5841b1(_0x56b618,J[_0x51899a(0x575)]),_0x1fcf65=_0x3e43a5(_0x51f47a),_0x1cf081=_0x3e43a5(Ae),_0x10e56f=_0x1d7a83!==J[_0x51899a(0x31d)],_0x3c3c22=_0x1fcf65['t'](_a(_0x1d7a83)),_0x4bd7e8=ra(Ze[_0x51899a(0x592)],{[Ze[_0x51899a(0x294)]]:_0x10e56f,[Ze[_0x51899a(0x3b0)]]:!_0x10e56f}),_0x19e242=_0x10e56f?_0x2b1679[_0x51899a(0x3d1)](Li,null):_0x2b1679['createElement'](xi,null),_0x5eb979=_0xfaf194(()=>{const _0x4729b1=_0x51899a;_0x10e56f||_0x1cf081[_0x4729b1(0x32a)]();},[_0x10e56f,_0x1cf081]);function _0x4fcf36(){const _0x5af703=_0x51899a;return _0x2b1679['createElement']('div',{'className':_0x4bd7e8,'onClick':_0x5eb979},_0x2b1679['createElement'](_0x5af703(0x227),{'className':Ze[_0x5af703(0x342)]},_0x19e242),_0x2b1679[_0x5af703(0x3d1)]('div',{'className':Ze[_0x5af703(0x429)]},_0x3c3c22));}return _0x10e56f?_0x4fcf36():_0x2b1679[_0x51899a(0x3d1)](_0x52d371,{'title':_0x1fcf65['t'](_0x51899a(0x292))},_0x4fcf36());}var da=Object['defineProperty'],fa=Object[_0x1a7f07(0x298)],va=(_0x101a5d,_0x599fca,_0x5c9e2d,_0x1ce796)=>{const _0x310068=_0x1a7f07;for(var _0xefba73=_0x1ce796>0x1?void 0x0:_0x1ce796?fa(_0x599fca,_0x5c9e2d):_0x599fca,_0xd70f04=_0x101a5d[_0x310068(0x5bc)]-0x1,_0x336f8a;_0xd70f04>=0x0;_0xd70f04--)(_0x336f8a=_0x101a5d[_0xd70f04])&&(_0xefba73=(_0x1ce796?_0x336f8a(_0x599fca,_0x5c9e2d,_0xefba73):_0x336f8a(_0xefba73))||_0xefba73);return _0x1ce796&&_0xefba73&&da(_0x599fca,_0x5c9e2d,_0xefba73),_0xefba73;},lt=(_0x36e219,_0xa97d06)=>(_0x5639c4,_0x33fe44)=>_0xa97d06(_0x5639c4,_0x33fe44,_0x36e219);let It=class extends _0x3b3e75{constructor(_0x183d41,_0x2beb58,_0x2b6f3a,_0x3a29a9){const _0x29c9c5=_0x1a7f07;super(),g(this,'_status$',new _0x2c5f3e(J[_0x29c9c5(0x575)])),(this[_0x29c9c5(0x44e)]=_0x183d41,this[_0x29c9c5(0x489)]=_0x2beb58,this[_0x29c9c5(0x4d5)]=_0x2b6f3a,this[_0x29c9c5(0x424)]=_0x3a29a9,this[_0x29c9c5(0x341)](),this[_0x29c9c5(0x2b8)]());}[_0x1a7f07(0x2b8)](){const _0x35f688=_0x1a7f07;this[_0x35f688(0x4b1)](this['_univerInstanceService'][_0x35f688(0x1f3)][_0x35f688(0x1cf)](_0x1eab13(()=>{const _0x2dfacf=_0x35f688,_0x23a880=this[_0x2dfacf(0x44e)][_0x2dfacf(0x3db)]();return _0x23a880?this[_0x2dfacf(0x424)][_0x2dfacf(0x46c)](_0x23a880[_0x2dfacf(0x5c1)]()):_0x37aace(null);}),_0x1eab13(_0x1934f2=>_0x1934f2?_0x1934f2[_0x35f688(0x1c5)]:_0x37aace(J[_0x35f688(0x575)])))['subscribe'](_0x609dd1=>{const _0x2a306b=_0x35f688;this[_0x2a306b(0x1fd)][_0x2a306b(0x265)](_0x609dd1);}));}[_0x1a7f07(0x341)](){const _0xe2e203=_0x1a7f07;this[_0xe2e203(0x4b1)](this[_0xe2e203(0x489)][_0xe2e203(0x270)](_0x57e1bb['HEADER_MENU'],()=>_0x2bfd16(ma({'status$':this[_0xe2e203(0x1fd)]['asObservable']()}),this[_0xe2e203(0x4d5)])));}};It=va([lt(0x0,_0x1726a1),lt(0x1,_0x1efadf),lt(0x2,_0x5cf6ec(_0xc0c089)),lt(0x3,_0x5cf6ec(it))],It);function ma(_0x2013de){const {status$:_0x395cd7}=_0x2013de;return function(){return _0x2b1679['createElement'](ua,{'status$':_0x395cd7});};}const Hi=_0x2707b7(_0x1a7f07(0x25b));var pa=Object[_0x1a7f07(0x5b3)],ga=Object[_0x1a7f07(0x298)],Sa=(_0x336f81,_0x49b7be,_0x462da7,_0x41384b)=>{const _0x56703b=_0x1a7f07;for(var _0x2be3a7=_0x41384b>0x1?void 0x0:_0x41384b?ga(_0x49b7be,_0x462da7):_0x49b7be,_0x3e0105=_0x336f81[_0x56703b(0x5bc)]-0x1,_0x572ea5;_0x3e0105>=0x0;_0x3e0105--)(_0x572ea5=_0x336f81[_0x3e0105])&&(_0x2be3a7=(_0x41384b?_0x572ea5(_0x49b7be,_0x462da7,_0x2be3a7):_0x572ea5(_0x2be3a7))||_0x2be3a7);return _0x41384b&&_0x2be3a7&&pa(_0x49b7be,_0x462da7,_0x2be3a7),_0x2be3a7;},ke=(_0x580f16,_0x387c05)=>(_0x5bc42b,_0x1d1abc)=>_0x387c05(_0x5bc42b,_0x1d1abc,_0x580f16);let Ct=class extends _0x1cb902{constructor(_0x46e658,_0x23bdc4,_0x1b6934,_0x27d487,_0x236644,_0x71c363){const _0xe4ff8c=_0x1a7f07;super(),this[_0xe4ff8c(0x591)]=_0x46e658,this[_0xe4ff8c(0x345)]=_0x23bdc4,this[_0xe4ff8c(0x4b3)]=_0x1b6934,this[_0xe4ff8c(0x493)]=_0x27d487,this[_0xe4ff8c(0x248)]=_0x236644,_0x71c363?_0x71c363==null||_0x71c363[_0xe4ff8c(0x39b)]()[_0xe4ff8c(0x44f)](()=>this[_0xe4ff8c(0x426)]()):(this['_logService'][_0xe4ff8c(0x4b5)](_0xe4ff8c(0x541),_0xe4ff8c(0x3b9)),this[_0xe4ff8c(0x426)]());}async[_0x1a7f07(0x426)](){const _0x2f4d02=_0x1a7f07,_0x550dcc=this[_0x2f4d02(0x591)]['getParam'](_0x2f4d02(0x497)),_0x180f5c=this[_0x2f4d02(0x591)][_0x2f4d02(0x23e)]('type');if(!_0x550dcc||!_0x180f5c){this[_0x2f4d02(0x345)][_0x2f4d02(0x4b5)](_0x2f4d02(0x541),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x180f5c)){case ce[_0x2f4d02(0x3a2)]:{const _0x29efaf=await this[_0x2f4d02(0x558)](_0x550dcc);this[_0x2f4d02(0x324)](_0x29efaf);break;}case ce[_0x2f4d02(0x51a)]:{await this[_0x2f4d02(0x321)](_0x550dcc);break;}default:{this[_0x2f4d02(0x345)][_0x2f4d02(0x3eb)](_0x2f4d02(0x541),_0x2f4d02(0x375));break;}}}async[_0x1a7f07(0x324)](_0x574fa2){const _0x33a389=_0x1a7f07;await this['_updateSubUnitFromURLParams'](_0x574fa2),_0x574fa2['activeSheet$'][_0x33a389(0x1cf)](_0x171184(this[_0x33a389(0x22c)]))['subscribe'](_0x490669=>{const _0x431230=_0x33a389;_0x490669&&this[_0x431230(0x302)](_0x490669);}),this[_0x33a389(0x591)][_0x33a389(0x5c9)][_0x33a389(0x1cf)](_0x171184(this[_0x33a389(0x22c)]))[_0x33a389(0x29f)](()=>this[_0x33a389(0x236)](_0x574fa2));}['_updateURLWithCurrentState'](_0x3ac7e2,_0x2ad21f=!0x1){const _0x50f6ba=_0x1a7f07,_0x2b1ef6=this[_0x50f6ba(0x591)][_0x50f6ba(0x23e)](_0x50f6ba(0x2b7));_0x3ac7e2[_0x50f6ba(0x554)]()!==_0x2b1ef6&&this[_0x50f6ba(0x591)][_0x50f6ba(0x5a5)](_0x50f6ba(0x2b7),_0x3ac7e2[_0x50f6ba(0x554)](),_0x2ad21f);}async[_0x1a7f07(0x236)](_0x3b73d9){const _0x311f43=_0x1a7f07;var _0x40d930;const _0x31a989=this['_urlService'][_0x311f43(0x23e)](_0x311f43(0x2b7));if(!_0x31a989||!_0x3b73d9[_0x311f43(0x5bd)](_0x31a989)){const _0x23685f=_0x3b73d9['getUnhiddenWorksheets']()[0x0],_0x287445=_0x3b73d9[_0x311f43(0x5bd)](_0x23685f);if(!_0x287445)return;this[_0x311f43(0x302)](_0x287445,!0x0),await this[_0x311f43(0x4b3)]['executeCommand'](_0x13b74d['id'],{'unitId':_0x3b73d9[_0x311f43(0x5c1)](),'subUnitId':_0x23685f});return;}((_0x40d930=_0x3b73d9[_0x311f43(0x234)]())==null?void 0x0:_0x40d930['getSheetId']())!==_0x31a989&&await this[_0x311f43(0x4b3)][_0x311f43(0x26f)](_0x13b74d['id'],{'unitId':_0x3b73d9[_0x311f43(0x5c1)](),'subUnitId':_0x31a989});}async[_0x1a7f07(0x558)](_0xb2774e){const _0x2ce54a=_0x1a7f07;let _0x1a01ab=0x0;const _0x32c53f=await this['_localCacheService'][_0x2ce54a(0x394)](_0xb2774e);return _0x32c53f&&(_0x32c53f[_0x2ce54a(0x531)]||_0x32c53f[_0x2ce54a(0x2bb)]['length']!==0x0)&&(_0x1a01ab=_0x32c53f['rev']),_0x1a01ab===0x0&&this['_logService'][_0x2ce54a(0x4b5)](_0x2ce54a(0x541),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2ce54a(0x248)]['loadSheet'](_0xb2774e,_0x1a01ab);}async[_0x1a7f07(0x321)](_0x52089d){const _0x4d3885=_0x1a7f07;let _0x15679e=0x0;const _0x1dceb5=await this[_0x4d3885(0x493)][_0x4d3885(0x394)](_0x52089d);return _0x1dceb5&&(_0x1dceb5['awaitingChangeset']||_0x1dceb5['mutations']['length']!==0x0)&&(_0x15679e=_0x1dceb5[_0x4d3885(0x433)]),_0x15679e===0x0&&this[_0x4d3885(0x345)][_0x4d3885(0x4b5)](_0x4d3885(0x541),_0x4d3885(0x4a6)),this['_snapshotService'][_0x4d3885(0x2ab)](_0x52089d,_0x15679e);}};function _0x5961(){const _0x57d4fe=['getOwnPropertySymbols','hidden','refreshPermission','getUnit','max','number','_listenToOnlineEvent','_getSnapshotAPIPrefix','_injector','unitId\x20is\x20not\x20found','values','target','_onConnectionFailed','_transformRemoteChangesetByIMECache','pending','append','startsWith','0\x200\x2016\x2016','_mode','_parse','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','words','BlockCipher','_changesetSessionId','_sendHeartbeat','_keyPriorReset','CHANGESET_REJ','fromCollab','updatePermissionObjEvent','_textBubble','currentSkeleton$','_socketService','close','unsubscribe','disableLocalCache','_registerDependencies','UNIVER_UNKNOWN','image/bmp','_sendHeartbeatTimer','COMMENT_UPDATE','Univer','_clearUndo','_context','_notificationService','SYNCED','pauseCollaboration','/resources','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','/object/','propertyIsEnumerable','roomMembers$','_docSyncEditingCollabCursorService','hovered','className','_tryReconnect','_retryConnectingTimer','DEFAULT_FILE_NAME','transformIMECache','onStateChange','[OfflineState]:\x20received\x20rejection.','measureText','_scheduleCollaborationTimeoutTimer','setCurrentUser','DeleteRangeMoveLeftCommandId','_createInitialState','image/jpeg','FETCH_MISS','_roomMembers$','appendMutation','collabStatus.offline','getUnitStatus$','close$','slice','sendChangesetTimeout','Pkcs7','retryConnectingInterval','ranges','UNIVER_DOC','dispose','row','location','_initEventListeners','_unitID','_key','UnitSnapshot','fill','find','Hasher','lib','_hideTimer','LOGIN_URL_KEY','verdancy600','_sendingTimer','registerHTTPInterceptor','msCrypto','stringify','triggerDblclick','state$','/fetchmissing?from=','removeMember','awaitingChangeset','currentColor','_nDataBytes','unload','_retryCount','_submitChangeset','engine','_handleEvent','_sessions','socket$','textRanges','userID','c2Prime','restore','params','fetch_missing','[DataLoaderController]','UNAUTHENTICATED','_handler','_http','_scheduleClearOtherTimer','failed\x20to\x20apply\x20missed\x20changesets!','forEach','SNAPSHOT_INVALID_SNAPSHOT','onSendChangeset','startColumn','evenodd','USERS_LEAVE','conflict','_awaitingChangeset','localeService','defIds','objects','LICENSE_DISTRO_REJECTED','_cursor','getSheetId','entries','transformStack\x20failed!','onTransformChange$','_loadSheet','_collaborationPaused','_handleHover','5407824zmcyoo','[CollaborationState]:\x20apply\x20error!','equals','charCodeAt','_onRemoteRejected','SerializableCipher','_colorIndex','onMouseMove','json','_transformRemoteChangesetByStateCache','_cursorShapes','SHA1','setWaitCount','compute','_transformUndoredo','NOT_FOUND','_document','HMAC','_lockTransition','[FetchMissState]','updateOfflineData','method','_getCurrentRevision','Utf8','collabStatus.synced','_heartbeatTimer','NOT_COLLAB','UPDATE_PERMISSION_OBJ','reqId','collaboration-client.offline-data-not-saved','transformChangesets','reject','getMemberID','AUTHZ_URL_KEY','url(#on-line-single_clip0_910_349)','NoPadding','defs','enableAuthServer','has','_getDownloadEndpointURL','assignAColorForMemberID','getVpScrollXYInfoByPosToVp','SHOULD_CLOSE_CONN','create','_docTransformSelectionsService','{fileID}','OnLineSingle','createDecryptor','getRelativeToViewportCoord','_disableEditing','collabStatus.syncing','FAIL','_queuedRemoteChangesets','charAt','_urlService','onlineStatus','collabStatus.notCollab','_initRequestHeader','_session','/-/object/list','toRgbString','name','objectActions','get','LICENSE_MAX_UNITS_EXCEEDED','generateRandomId','_joinRoom','width','setActiveRange','text','_getSignURL','incrementRevOfUnit','image/jpg','keySize','setParam','[PendingState]:\x20unhandled\x20univer\x20type:\x20','translate(.97)','image/gif','[OfflineState]:\x20received\x20changeset.','COMPRESS_MUTATION_APPLY','replace','CONFLICT','auth.needGotoLoginAlert','LIVESHARE_FETCH_OPERATIONS','encryptBlock','complete','onPointerMove$','unitID','defineProperty','_getSendChangesetTimeout','StreamCipher','_initDependencies','editing\x20status\x20changed\x20to','getTypeOfUnitAdded$','MUTATION','_startTelemetryCollaborationNewChangeset','YUUMI_URL_COL_OUT_OF_RANGE','length','getSheetBySheetId','selections','collab-rect-range-','_disabled','getUnitId','_doReset','_onCursorDelete','joinEvent','_createHandler','history','hide','_createHmacHelper','urlChange$','MSG_FOR_ERROR','univer-pro.collaboration-client.single-active-unit-service','collaboration.closeRoom','_clearHeartbeatTimer','kdf','all','trim','getMergeData','getConfig','UNDEFINED','createCollaborator','beginPath','_removeClearOtherTimer','_telemetryInfo','status$','fillText','_data','m1Prime','iterations','PENDING','skeleton','UPDATE_CURSOR','_onRecvEvent','_append','pipe','isActive','_getUploadFileURL','LICENSE_EXPORT_SIZE_EXCEEDED','removeParam','save\x20fail\x20reason\x20is\x20','contains','synced','BASE64','_render','reverse','searchParams','syncEditingCollabCursor','pad','_iKey','getRoom','INGEST','_config','HELLO','_renderManagerService','LIVESHARE_TERMINATE','\x20-\x20','visibilityState','sin','MoveRangeCommandId','fromCharCode','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_createSocket','getCurrent','_roomMembers','show','COLLAB_WEB_SOCKET_URL','x-univer-host','_drawAnchor','telemetry\x20info\x20is\x20not\x20initialized','randomBytes','focused$','univer-online-status','bottom','_onJoinRoomEvent','toggleOffline','_transformHistoryAndStateStack','COLLAB_SUBMIT_CHANGESET_URL','collabWebSocketUrl','Hex','_toggleOnline','_status$','title','fetching\x20missing\x20changesets\x20from\x20','padding','_saveCache','save','default','pluginName','_minBufferSize','revision','endColumn','drawWith','3633837chwQha','finalize','requestParams','saveChangeset','JOIN','_refRangeService','_ensureSubject','enableSingleActiveInstanceLock','snapshot','POST','_replayCachedMutations','duration','eventID','subscribeEvent','RemoveColCommandId','registerRefRange','_initMergeInterceptor','_handleLeaveEvent','putCollaborators','sheetId','_onFetchMissResult','updateMember','min','/-/object/-/batch_allowed','INTERNAL_ERROR','LEAVE','&assign=','InsertRangeMoveDownCommandId','objectID','getUndoRedoMutationParamsCache','div','ws://127.0.0.1:8000/universer-api/comb/connect','onCommandExecuted','CHANGESET_SHOULD_RETRY','LIVESHARE_OPERATION','dispose$','_onConflict','clone','?url=','getAncestorScale','saveOfflineData','_hash','_handleHeartbeatEvent','getActiveSheet','column','_updateSubUnitFromURLParams','_scheduleSaving','fillStyle','[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.','univer-offline','transformMutation','type','AWAITING','getParam','collaboratorID','_showConflictNotification','clearInterval','onTransformSelections','transformUndoRedo','indexOf','InsertRowCommandId','_syncEditingCollabCursorService','unknown','_snapshotService','_tryEnsureSocket','changesets','_initUnitPermissionChange','_DEC_XFORM_MODE','_httpService','_onCursorUpdate','COMPRESS_MUTATION_SEND','_shapes','onMissedChangesetFetched','size','updateCursorEvent','_waitCount','encrypt','APPLY_NON_SEQUENTIAL_REVISION','onTransformRemoteChangesetByIMECache','_anchor','UniverIcon','leaveEvent','uni.network.url-service','_replaceFileID','idSuffix','getRenderById','_removeRoom','_range','_transformPreviousActiveRange','disposeUnit','_imageSourceCache','file','next','substr','_members','ciphertext','on-line-single_clip0_910_349','_revisionService','_docSkeletonManagerService','M0\x200H16V16H0z','_substituteUndoStack','toLowerCase','executeCommand','registerComponent','_hover','_state','onRemoteRej','_getRedoStack','_reverseMap','getTypeOfUnitDisposed$','transformRemoteChangeset','_unitOnClients','_getLoginPath','copyFileMeta','splice','39681040mVPBav','infoRsp','onRemoteAck','/unit/','_localStorageService','YUUMI_UNABLE_LOAD_URL','_name','_onUserLeave','_decreaseWaiting','[SyncedState]:\x20received\x20rejection.','memberID','setUndoRedoMutationParamsCache','updatePermissionPoint','_onRemoteRetry','sessionStatus','setItem','_process','_docTransformIMECacheService','MD5','onCommentUpdate','newValue','awaiting_with_pending','collab-client.tooltip.reconnect','_socket','online','attrs','conflict.title','toString','getOwnPropertyDescriptor','_throwTelemetryCollaborationNewChangeset','key','permissionRejEvent','RECT','hasher','ERROR_IMAGE_TYPE','subscribe','/universer-api/snapshot/','editingUnit','_drawRectRange','_clearOtherTimers','list','result','SNAPSHOT_URL_KEY','randomUUID','_onRefRangeChange','not_collab','actions','loadDoc','format','requireSession','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','univerjs-icon\x20univerjs-icon-','_transitionLocked','_substituteRedoStack','getViewport','cmd','_toggleOffline','registerRenderModule','unpad','subunit','_initStatusListener','substring','top','mutations','&to=','permission.title','clearTimeout','PERMISSION_REJ','_syncEditingCollabCursor','[CollaborationUndoRedoService]','subUnitId','onRendered','fetchMiss','AWAITING_WITH_PENDING','onTransformIME','_assignedColors','onStarting','_anchorDot','workbook','/block/','_updateStatus','_collaborationSessionService','/collaborator','_removeCollabCursors','InsertRangeMoveRightCommandId','Base64','_doProcessBlock','UNKNOWN_CODE','commentUpdateEvent','_timeoutTimer','conflict.content','onRemoteRetry','_memberService','SEND_CHANGESET_TIMEOUT','#fff','_createHelper','_exhaustRemoteChangesetQueue','enableOfflineEditing','SNAPSHOT_SERVER_URL_KEY','_collabCursorController','sheetID','_id','_updateState','m2Prime','_cipher','message$','_telemetryService','_onConnectionOpen','_labelPosition','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','icon','socket\x20open.','_map','from','VIEW_MAIN','[CollaborationSession]','transformStateCache','_getUndoStack','_handleJoinEvent','Decryptor','open$','src','_nRounds','_invKeySchedule','cursorInfo$','getDocRanges','liveShareOperation','origin','Cipher','redoState','_socketReady','children','_fetchMissChangesets','_color','_updateURLWithCurrentState','Base','HttpImport','_startCollaboration','_clearCollaborationTimeoutTimer','_onLocalMutation','resourceIDs','_redoStacks','onMissingChangesets','algo','_themeService','YUUMI_RATE_OVER_LIMIT','$super','closePath','[SyncedState]:\x20received\x20acknowledgement.','deepClone','body','_clearTimeoutTimer','_startSheetCollabCursor','HEARTBEAT','_commentUpdate$','_getCtorByUniverType','Undefined','catch','override','_entities','_undoStacks','OFFLINE','routeKey','getUniverSheetInstance','clear','_loadDoc','_getAPIPrefix','_online','_setupSubUnitSync','toggleOnline','getMember','onTransformState','_ws','_doFinalize','reconnect','collab-text-anchor-','onReady','joinRsp','data','snapshotServerUrl','_sheetTransformSelectionsService','sigBytes','endRow','collaborators','_collabCursorState$','fetchThroughInterceptors','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','WordArray','/new_changes','image/png','crypto','rgba(255,\x20255,\x20255,\x200.01)','listRoles','YUUMI_SUBSCRIPTION_NOT_FOUND','_unlockTransition','\x0aCurrent:\x20','/universer-api/comb','_initStatusComponent','onlineStatusIcon','CHANGESET_ACK','isArray','_logService','getLatestCsReqIdBySid','_selfUnitIDs','reset','setShowComponents','OTHER_CLIENTS_EDITING','univer-online','_refreshCollabCursors','startTime','createInstance','_send','IDLE','saveImage','_sender','cfg','_cursorInfo$','_transformUndoRedoStack','confirm','url','floor','_docStateChangeManagerService','UNIVER_PROJECT','PSEUDO_FETCH_MISSING_RESULT','PERMISSION_DENIED','onRemoteChangeset','none','_getSheetObject','_scene','mixIn','onPointerLeave$','collaMsg','with','closeSession','_clearScheduledTask','mode','120zEzyzH','LICENSE_IMPORT_SIZE_EXCEEDED','APPLY_PERMISSION_DENIED','_HTTPService','moveTo','fetchMissingChangesets','APPLY_REVISION_CONFILICT','updateCollaborator','blockSize','stopTime','_saveTaskMap','bind','_backgroundColor','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UNKNOWN_CMD','_registerRenderDependencies','parse','Warning','_candidateSocket','_drawTextRange','CBC','colorChannel1','_onMessage','findNodePositionByCharIndex','_applyRemoteChangeset','error$','isPermissionRej','#FFF','originalMeta','getOffsetConfig','_messageService','_initResize','CHANGESET_REVISION_CONFILICT','extend','salt','decrypt','_getAPIPrefixPath','getDeserializedSheetBlock','setTimeout','members','_createInitialStateImpl','repeat','url(#$1','loadOfflineData','/universer-api/authz','popstate','_collaborationTimeoutTimer','formatter','collaboration_new_changeset','_resendTimeout','whenReady','_userManagerService','_change$','[CollaborationSessionService]','collaboration-client.config','pushState','AES','UNIVER_SHEET','_ENC_XFORM_MODE','exports','LIVESHARE_NEW_HOST','[PendingState]:\x20received\x20rejection.','_incrementRevisionNumber','collabCursorState$','JOINING','sessionStatus$','_instanceService','_waitForHeartbeatResponse','getCurrentUnitForType','init','USERS_ENTER','offline','string','SUCCUSS','_transformSelections','getInterceptPoints','rng','storage','_scheduleTimestamp','session.collaboration-timeout','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','clipPath','_snapshotServerService','headers','post','getCollabCursors$','getCurrentSelections','&source=','_listenToOfflineEvent','getCurrentUser','_clearLocalCache','ceil','_docSkeleton','newCsEvent','DeleteRangeMoveUpCommandId','withCredentials','unitId','session.will-retry','/rev/','off-line-single_clip0_910_343','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','awaiting','_keySchedule','_rescheduleHeartbeat','createElement','_updateLocalCache','_initCloseConn','_draw','TEXT','ERROR_IMAGE','update','_sessionStatus$','_docTransformStateCacheService','getCellPositionByOffset','getFocusedUnit','_changesetReqId','collaboration.single-unit.warning','filter','clamp','gold400','sid','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_transformIMECache','isEditing','CONNECTOR_DATA_TOO_LARGE','downloadEndpointUrl','jiqing500','csShouldRetryEvent','addEventListener','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','error','setStateCache','every','COMPLETION_FINISHED','getRangePointData','HEARTBEAT_INTERVAL','svg','_transformStack','_getAnchorBounding','set','join','getValue','now','getImageSourceCache','TOO_MANY_REQUESTS','_startDocCollabCursor','ALREADY_EXISTS','unshift','UNRECOGNIZED','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','status','on-line-single','authzUrl','_sheetSkeletonManagerService','backgroundColor','_socket$','_resendTimer','saveSheetBlock','href','red300','getCurrentRevOfUnit','range','getSkeleton','abs','HmacSHA1','_unitStatus','EXCHANGE_SIGN_URL_SERVER_URL_KEY','/universer-api/snapshot','_shouldReportTelemetry','[CollaborationEntity]','getImage','prototype','objectType','session','cursorInfo','capture','getAllMembers','_hasher','createEncryptor','0\x200\x2017\x2016','_singleActiveUnitService','includes','connection\x20error','some','signUrlServerUrl','Encryptor','assign','_collaborationController','_getScale','_init','uploadFileServerUrl','_configService','onlineStatusTitle','byteOffset','_initCommandExecutedListener','BufferedBlockAlgorithm','split','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','collabStatus.fetchMiss','deleteCollaborator','transform','UNIVER_COLLABORATION_CLIENT_PLUGIN','rev','code','c1Prime','_stopTelemetryCollaborationNewChangeset','_beforeCloseService','onSyncEditingCollabCursor','interceptor','compose','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','purple300','round','liveShareNewHost','_resendWithTimeout','put','NO_OTHER_CLIENTS_EDITING','_onRemoteACK','_undoRedoService','processBlock','send','APPLY_DUPLICATED','collaboration-session-retry','SNAPSHOT_HAS_BEEN_REMOVED','roomMembers','_colorAssignService','execute','_updateCollabCursors','getRandomValues','_univerInstanceService','then','getItem','concat','_hovered','1em','hasOwnProperty','getActiveRange','asObservable','_transformStateCache','_onOffline','loginUrlKey','UUID','HttpExport','_executeRemoteChangeset','setShapeProps','_pendingMutations','blue400','session.connection-failed','getWorkbookSelections','EvpKDF','random','OpenSSL','resend','map','_event$','tag','transformMutationsWithChangeset','object','getUnitType','getCollabEntity$','_collabSessionService','_onRemoteChangeset','event$','_updateLocalCursor','UNIVER_SLIDE','doc.mutation.rich-text-editing','delete','_lastPointer','_state$','add','_iv','RECV','_type','_localeService','_permissionService','exhaustSavingTask','_cursors','_clearRedo','collab-text-range-','_compressMutationService','_remoteChangesetQueue','INVALID_ARGUMENT','/allowed','_checkMissing','setInterval','_setupBeforeClosingHandler','getTime','_socketMessageSubscription','_uiPartsService','_entityInit$','_acknowledgedAwaitingChangeset','displayName','ONLINE','transformSelections','setAlpha','addImageSourceCache','saveSnapshot','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_localCacheService','function','_scheduleHeartbeat','reduce','unit','7709611QJBDlg','696095gheLci','apply','NEW_CHANGESETS','\x20in\x20_schedule.','InsertColCommandId','2944634nZbLbO','enc','onTransformRemoteChangesetByStateCache','currentTheme$','__creator','color','getCollabEntity','addObject','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','font','makeDirty','/universer-api/file/{fileID}/sign-url','height','_xformMode','undoState','APPLY_REJECT','_isPermissionRej','_transformService','LIVESHARE_REQUEST_HOST','disposeWithMe','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_commandService','_prevBlock','debug','push','_schedule','selection','_doCryptBlock','replaceState','call','black','createSocket','arc','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Error','Malformed\x20UTF-8\x20data','SUBMIT_CHANGESET','onPointerEnter$','_commentService','path','labelPosition','lineTo','roles','37625KGugiW','encode','UnitEmbedded','baseRev'];_0x5961=function(){return _0x57d4fe;};return _0x5961();}Ct=Sa([ke(0x0,Hi),ke(0x1,_0x1e210b),ke(0x2,_0x322b66),ke(0x3,_0x5cf6ec(q)),ke(0x4,_0x5cf6ec(_0xdab834)),ke(0x5,_0x94953d(_0x58db13))],Ct);var Ia=Object[_0x1a7f07(0x5b3)],Ca=Object[_0x1a7f07(0x298)],Ea=(_0x3b65e1,_0x4a7820,_0x36a0d0,_0x5e2d9c)=>{const _0x355a41=_0x1a7f07;for(var _0x379b7d=_0x5e2d9c>0x1?void 0x0:_0x5e2d9c?Ca(_0x4a7820,_0x36a0d0):_0x4a7820,_0x10c0dd=_0x3b65e1[_0x355a41(0x5bc)]-0x1,_0x587892;_0x10c0dd>=0x0;_0x10c0dd--)(_0x587892=_0x3b65e1[_0x10c0dd])&&(_0x379b7d=(_0x5e2d9c?_0x587892(_0x4a7820,_0x36a0d0,_0x379b7d):_0x587892(_0x379b7d))||_0x379b7d);return _0x5e2d9c&&_0x379b7d&&Ia(_0x4a7820,_0x36a0d0,_0x379b7d),_0x379b7d;},zs=(_0x260896,_0x325b3b)=>(_0x443409,_0x31bb20)=>_0x325b3b(_0x443409,_0x31bb20,_0x260896);const ba=_0x1a7f07(0x505),Ta=_0x1a7f07(0x4f5);let Et=class extends _0x3b3e75{constructor(_0x3a61d9,_0x2d27dc){const _0x56b3ad=_0x1a7f07;super(),this[_0x56b3ad(0x44e)]=_0x3a61d9,this[_0x56b3ad(0x428)]=_0x2d27dc,this['_init']();}[_0x1a7f07(0x426)](){const _0x3de8e5=_0x1a7f07;this['disposeWithMe'](this[_0x3de8e5(0x44e)][_0x3de8e5(0x1f3)][_0x3de8e5(0x29f)](()=>{const _0x17b4d7=_0x3de8e5;var _0x4597b0;const _0x56c380=this[_0x17b4d7(0x44e)]['getFocusedUnit']();let _0x4f44ef=(_0x4597b0=this[_0x17b4d7(0x428)][_0x17b4d7(0x1bf)](ba))!=null?_0x4597b0:Ta;_0x56c380 instanceof _0x762674&&(_0x4f44ef=_0x56c380[_0x17b4d7(0x598)]),document[_0x17b4d7(0x1fe)]=_0x4f44ef;}));}};Et=Ea([zs(0x0,_0x1726a1),zs(0x1,_0x34b905)],Et);var Ra=Object[_0x1a7f07(0x5b3)],ya=Object[_0x1a7f07(0x298)],Oa=(_0x32d1bf,_0x4ab425,_0x47d106,_0x4ac724)=>{const _0x27956e=_0x1a7f07;for(var _0x2844e9=_0x4ac724>0x1?void 0x0:_0x4ac724?ya(_0x4ab425,_0x47d106):_0x4ab425,_0x1a1a1b=_0x32d1bf[_0x27956e(0x5bc)]-0x1,_0x5bb43f;_0x1a1a1b>=0x0;_0x1a1a1b--)(_0x5bb43f=_0x32d1bf[_0x1a1a1b])&&(_0x2844e9=(_0x4ac724?_0x5bb43f(_0x4ab425,_0x47d106,_0x2844e9):_0x5bb43f(_0x2844e9))||_0x2844e9);return _0x4ac724&&_0x2844e9&&Ra(_0x4ab425,_0x47d106,_0x2844e9),_0x2844e9;},Wt=(_0x32d211,_0x368928)=>(_0x595e4f,_0x3a7b16)=>_0x368928(_0x595e4f,_0x3a7b16,_0x32d211);let bt=class{constructor(_0x5272c5,_0x1a0023,_0x1d58f0){const _0x3d5e0a=_0x1a7f07;this[_0x3d5e0a(0x428)]=_0x5272c5,this[_0x3d5e0a(0x24d)]=_0x1a0023,this['localeService']=_0x1d58f0,this[_0x3d5e0a(0x3ae)]();}['init'](){const _0x384ffa=_0x1a7f07;this['_httpService'][_0x384ffa(0x52a)]({'priority':0x1,'interceptor':(_0x4fba33,_0x4176c7)=>_0x4176c7(_0x4fba33)[_0x384ffa(0x1cf)](_0x57a071(async _0x42115e=>{const _0x5a7af8=_0x384ffa,_0xbca743=_0x42115e;if(_0xbca743[_0x5a7af8(0x3ff)]===0x191&&window[_0x5a7af8(0x356)](this[_0x5a7af8(0x54f)]['t'](_0x5a7af8(0x5ad)))){const _0x33e01b=window['encodeURIComponent'](window['location'][_0x5a7af8(0x407)]);window['location'][_0x5a7af8(0x407)]=this[_0x5a7af8(0x279)]()+_0x5a7af8(0x22f)+_0x33e01b;}return _0xbca743;}))});}['_getLoginPath'](){const _0x5d667f=_0x1a7f07;var _0x28a2cf,_0x5051b5;const _0x32db36=this['_configService']['getConfig'](Ir),_0x3183c7=this[_0x5d667f(0x428)][_0x5d667f(0x1bf)](ie);return(_0x5051b5=(_0x28a2cf=_0x3183c7==null?void 0x0:_0x3183c7[_0x5d667f(0x459)])!=null?_0x28a2cf:_0x32db36)!=null?_0x5051b5:Cr;}};bt=Oa([Wt(0x0,_0x34b905),Wt(0x1,_0x5cf6ec(_0x337047)),Wt(0x2,_0x5cf6ec(_0x51f47a))],bt);var wa=Object[_0x1a7f07(0x5b3)],Da=Object['getOwnPropertyDescriptor'],Pa=(_0x3c8225,_0x2712d8,_0x4b92bb,_0x2fc528)=>{for(var _0x1ccaa3=_0x2fc528>0x1?void 0x0:_0x2fc528?Da(_0x2712d8,_0x4b92bb):_0x2712d8,_0x40a142=_0x3c8225['length']-0x1,_0x557973;_0x40a142>=0x0;_0x40a142--)(_0x557973=_0x3c8225[_0x40a142])&&(_0x1ccaa3=(_0x2fc528?_0x557973(_0x2712d8,_0x4b92bb,_0x1ccaa3):_0x557973(_0x1ccaa3))||_0x1ccaa3);return _0x2fc528&&_0x1ccaa3&&wa(_0x2712d8,_0x4b92bb,_0x1ccaa3),_0x1ccaa3;},qs=(_0x38e015,_0x1d46b5)=>(_0xb9b162,_0x4abdd8)=>_0x1d46b5(_0xb9b162,_0x4abdd8,_0x38e015);const Ua=_0x1a7f07(0x57c),Na=_0x1a7f07(0x395);let cs=class extends _0x3b3e75{constructor(_0x1a44af,_0x21d074){const _0x2cb69d=_0x1a7f07;super(),this[_0x2cb69d(0x36b)]=_0x1a44af,this[_0x2cb69d(0x428)]=_0x21d074,this[_0x2cb69d(0x219)]();}[_0x1a7f07(0x219)](){const _0x4c53c7=_0x1a7f07,_0x48fdfe=this;this[_0x4c53c7(0x4b1)](this[_0x4c53c7(0x36b)][_0x4c53c7(0x52a)]({'priority':0x3e7,'interceptor':_0x4efab7({'isMatch'(_0x54e5ee){const _0x485be3=_0x4c53c7;var _0x39e31a;if(_0x54e5ee[_0x485be3(0x570)]==='POST'&&((_0x39e31a=_0x54e5ee[_0x485be3(0x20b)])!=null&&_0x39e31a['body'])){const {objectID:_0x72e97b,objectType:_0x275989}=_0x54e5ee['requestParams'][_0x485be3(0x312)]||{};if(!_0x72e97b||_0x275989===void 0x0)return!0x1;const _0x14956e=_0x48fdfe[_0x485be3(0x38d)]()+'/'+_0x275989+_0x485be3(0x4fd)+_0x72e97b+_0x485be3(0x483);if(_0x54e5ee[_0x485be3(0x357)]===_0x14956e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x34f459){const _0x2f69c3=_0x4c53c7;var _0x68e624;return(_0x68e624=_0x34f459['requestParams'])==null?void 0x0:_0x68e624[_0x2f69c3(0x312)];},'mergeParamsToRequest'(_0x6a386d,_0x2adb03){const _0x1a9bf6=_0x4c53c7,_0x153b6a=_0x48fdfe[_0x1a9bf6(0x38d)]()+_0x1a9bf6(0x220),_0x12f717=_0x6a386d[_0x1a9bf6(0x496)]((_0x1d5c21,_0x1caaad)=>{const _0x43dd3f=_0x1a9bf6,{unitID:_0x3e169f,objectID:_0x4a6385,objectType:_0x590329,actions:_0x3cc79e}=_0x1caaad;return _0x1d5c21[_0x3e169f]||(_0x1d5c21[_0x3e169f]={}),_0x1d5c21[_0x3e169f][_0x4a6385]||(_0x1d5c21[_0x3e169f][_0x4a6385]={'objectID':_0x4a6385,'objectType':_0x590329,'actions':[]}),_0x1d5c21[_0x3e169f][_0x4a6385][_0x43dd3f(0x2aa)][_0x43dd3f(0x4b6)](..._0x3cc79e),_0x1d5c21;},{}),_0x2d2f4a=[];for(const _0x3bb167 in _0x12f717)for(const _0x25ffa4 in _0x12f717[_0x3bb167]){const {actions:_0xc8c2c5,objectType:_0x3e8ca8}=_0x12f717[_0x3bb167][_0x25ffa4],_0x3816fb=[...new Set(_0xc8c2c5)];_0x2d2f4a[_0x1a9bf6(0x4b6)]({'unitID':_0x3bb167,'objectID':_0x25ffa4,'objectType':_0x3e8ca8,'actions':_0x3816fb});}return new _0x5c71c3(_0x1a9bf6(0x212),_0x153b6a,{'headers':_0x2adb03[_0x1a9bf6(0x3bc)],'withCredentials':_0x2adb03[_0x1a9bf6(0x3c8)],'responseType':_0x2adb03['responseType'],'body':{'requests':_0x2d2f4a}});}},{'distributeResult'(_0xc1549f,_0x325e7c){const _0x30b7d5=_0x4c53c7,{objectActions:_0x4ee1ab}=_0xc1549f;return _0x325e7c[_0x30b7d5(0x466)](_0x3bc449=>{const _0x5df221=_0x30b7d5,{unitID:_0x12ce35,objectID:_0x178254,actions:_0x262333}=_0x3bc449,_0x2eccd8=_0x4ee1ab[_0x5df221(0x523)](_0x5ad6c9=>_0x5ad6c9['unitID']===_0x12ce35&&_0x5ad6c9[_0x5df221(0x225)]===_0x178254),_0x5067ac=_0x262333['map'](_0x260169=>_0x2eccd8==null?void 0x0:_0x2eccd8['actions']['find'](_0x507578=>_0x507578['action']===_0x260169))['filter'](_0x3a65e8=>!!_0x3a65e8);return{'config':_0x3bc449,'result':{'actions':_0x5067ac,'error':_0xc1549f['error']}};});}})}));}[_0x1a7f07(0x38d)](){const _0x49654b=_0x1a7f07;var _0x5b93e1,_0x54c935;const _0x4887ec=this[_0x49654b(0x428)]['getConfig'](Ua),_0x184e64=this[_0x49654b(0x428)][_0x49654b(0x1bf)](ie);return(_0x54c935=(_0x5b93e1=_0x184e64==null?void 0x0:_0x184e64[_0x49654b(0x401)])!=null?_0x5b93e1:_0x4887ec)!=null?_0x54c935:Na;}async[_0x1a7f07(0x586)](_0x2ff270){const _0x39e5ef=_0x1a7f07,_0x56beb7=this[_0x39e5ef(0x38d)]()+'/'+_0x2ff270[_0x39e5ef(0x415)]+'/object';return(await this[_0x39e5ef(0x36b)][_0x39e5ef(0x3bd)](_0x56beb7,{'body':_0x2ff270}))[_0x39e5ef(0x312)][_0x39e5ef(0x225)]||'';}async[_0x1a7f07(0x2a4)](_0x2a61d1){const _0x33e87e=_0x1a7f07,_0x31b95c=this[_0x33e87e(0x38d)]()+_0x33e87e(0x596);return(await this[_0x33e87e(0x36b)][_0x33e87e(0x3bd)](_0x31b95c,{'body':_0x2a61d1}))['body'][_0x33e87e(0x551)];}async[_0x1a7f07(0x3d7)](_0x144d0f){const _0x35a5ca=_0x1a7f07,_0x14e786=this[_0x35a5ca(0x38d)]()+'/'+_0x144d0f[_0x35a5ca(0x415)]+_0x35a5ca(0x4fd)+_0x144d0f[_0x35a5ca(0x225)];await this['_HTTPService'][_0x35a5ca(0x440)](_0x14e786,{'body':_0x144d0f});}async['allowed'](_0x48bafe){const _0x3cf43a=_0x1a7f07,_0x24d6d8=this[_0x3cf43a(0x38d)]()+'/'+_0x48bafe[_0x3cf43a(0x415)]+_0x3cf43a(0x4fd)+_0x48bafe[_0x3cf43a(0x225)]+_0x3cf43a(0x483);return(await this[_0x3cf43a(0x36b)][_0x3cf43a(0x3bd)](_0x24d6d8,{'body':_0x48bafe}))['body'][_0x3cf43a(0x2aa)];}async['batchAllowed'](_0x22f7a0){const _0x535a3d=_0x1a7f07,_0x4c08d2=this['_getAPIPrefixPath']()+_0x535a3d(0x220);return(await this['_HTTPService'][_0x535a3d(0x3bd)](_0x4c08d2,{'body':{'requests':_0x22f7a0}}))[_0x535a3d(0x312)][_0x535a3d(0x599)];}async[_0x1a7f07(0x33c)](_0x345648){const _0x550389=_0x1a7f07,_0x2cc23c=this[_0x550389(0x38d)]()+'/'+_0x345648[_0x550389(0x415)]+'/role',_0x100887=await this[_0x550389(0x36b)][_0x550389(0x3bd)](_0x2cc23c,{'body':_0x345648});return{'roles':_0x100887[_0x550389(0x312)][_0x550389(0x4c8)],'actions':_0x100887[_0x550389(0x312)][_0x550389(0x2aa)]};}async[_0x1a7f07(0x430)](_0x322b42){const _0x5c296d=_0x1a7f07,_0x4ea210=this[_0x5c296d(0x38d)]()+_0x5c296d(0x2ce);await this[_0x5c296d(0x36b)]['delete'](_0x4ea210,{'params':{'collaboratorID':_0x322b42[_0x5c296d(0x23f)],'objectID':_0x322b42[_0x5c296d(0x225)],'unitID':_0x322b42[_0x5c296d(0x5b2)]}});}async[_0x1a7f07(0x36f)](_0x572d95){const _0x2afce9=_0x1a7f07,_0x370705=this['_getAPIPrefixPath']()+_0x2afce9(0x2ce);await this[_0x2afce9(0x36b)]['patch'](_0x370705,{'body':_0x572d95});}async[_0x1a7f07(0x1c1)](_0x44fb81){const _0x140434=_0x1a7f07,_0x1faabd=this[_0x140434(0x38d)]()+_0x140434(0x2ce);await this[_0x140434(0x36b)][_0x140434(0x3bd)](_0x1faabd,{'body':_0x44fb81});}async['listCollaborators'](_0x37bcbe){const _0x36bbb3=_0x1a7f07,_0x22c85d=this['_getAPIPrefixPath']()+_0x36bbb3(0x2ce);return(await this[_0x36bbb3(0x36b)][_0x36bbb3(0x59a)](_0x22c85d,{'params':{'objectID':_0x37bcbe['objectID'],'unitID':_0x37bcbe[_0x36bbb3(0x5b2)]}}))[_0x36bbb3(0x312)][_0x36bbb3(0x333)];}async[_0x1a7f07(0x21b)](_0x48733d){const _0x24de90=_0x1a7f07,_0xd84ac3=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x24de90(0x36b)][_0x24de90(0x440)](_0xd84ac3,{'body':_0x48733d});}};cs=Pa([qs(0x0,_0x5cf6ec(_0x337047)),qs(0x1,_0x5cf6ec(_0x34b905))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x7c079b){const _0x3203e1=_0x1a7f07;return _0x7c079b&&_0x7c079b['__esModule']&&Object[_0x3203e1(0x414)][_0x3203e1(0x454)]['call'](_0x7c079b,_0x3203e1(0x203))?_0x7c079b[_0x3203e1(0x203)]:_0x7c079b;}var ji={'exports':{}};function Aa(_0x21f929){const _0x28541b=_0x1a7f07;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x21f929+_0x28541b(0x43b));}var Ft={'exports':{}},Xs;function ue(){const _0x5e3eab=_0x1a7f07;return Xs||(Xs=0x1,function(_0x28c665,_0x136cb2){(function(_0x5da019,_0x3f3da8){const _0xe59c7e=_0x54d3;_0x28c665[_0xe59c7e(0x3a4)]=_0x3f3da8();}(Z,function(){var _0xbbeb1f=_0xbbeb1f||function(_0x1499b4,_0x13f257){const _0x21dd4d=_0x54d3;var _0x2a0b55;if(typeof window<'u'&&window['crypto']&&(_0x2a0b55=window[_0x21dd4d(0x33a)]),typeof self<'u'&&self[_0x21dd4d(0x33a)]&&(_0x2a0b55=self[_0x21dd4d(0x33a)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2a0b55=globalThis['crypto']),!_0x2a0b55&&typeof window<'u'&&window[_0x21dd4d(0x52b)]&&(_0x2a0b55=window['msCrypto']),!_0x2a0b55&&typeof Z<'u'&&Z[_0x21dd4d(0x33a)]&&(_0x2a0b55=Z['crypto']),!_0x2a0b55&&typeof Aa==_0x21dd4d(0x494))try{_0x2a0b55=require(_0x21dd4d(0x33a));}catch{}var _0x249213=function(){const _0x436004=_0x21dd4d;if(_0x2a0b55){if(typeof _0x2a0b55['getRandomValues']==_0x436004(0x494))try{return _0x2a0b55[_0x436004(0x44d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2a0b55[_0x436004(0x1f2)]==_0x436004(0x494))try{return _0x2a0b55[_0x436004(0x1f2)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x436004(0x3e2));},_0x2f9a36=Object[_0x21dd4d(0x586)]||(function(){function _0x5a3abe(){}return function(_0x4ac5c3){const _0x454c09=_0x54d3;var _0x586f12;return _0x5a3abe['prototype']=_0x4ac5c3,_0x586f12=new _0x5a3abe(),_0x5a3abe[_0x454c09(0x414)]=null,_0x586f12;};}()),_0xba4839={},_0x1f5c8b=_0xba4839[_0x21dd4d(0x525)]={},_0xf52fb6=_0x1f5c8b[_0x21dd4d(0x303)]=(function(){return{'extend':function(_0x35a63d){const _0x4dc76b=_0x54d3;var _0x58b21d=_0x2f9a36(this);return _0x35a63d&&_0x58b21d[_0x4dc76b(0x361)](_0x35a63d),(!_0x58b21d[_0x4dc76b(0x454)](_0x4dc76b(0x3ae))||this[_0x4dc76b(0x3ae)]===_0x58b21d[_0x4dc76b(0x3ae)])&&(_0x58b21d[_0x4dc76b(0x3ae)]=function(){const _0x47c08c=_0x4dc76b;_0x58b21d[_0x47c08c(0x30e)][_0x47c08c(0x3ae)][_0x47c08c(0x49a)](this,arguments);}),_0x58b21d[_0x4dc76b(0x3ae)]['prototype']=_0x58b21d,_0x58b21d[_0x4dc76b(0x30e)]=this,_0x58b21d;},'create':function(){const _0x43c97a=_0x54d3;var _0x35916d=this[_0x43c97a(0x38a)]();return _0x35916d[_0x43c97a(0x3ae)][_0x43c97a(0x49a)](_0x35916d,arguments),_0x35916d;},'init':function(){},'mixIn':function(_0x56ece3){const _0x3d209d=_0x54d3;for(var _0x561543 in _0x56ece3)_0x56ece3[_0x3d209d(0x454)](_0x561543)&&(this[_0x561543]=_0x56ece3[_0x561543]);_0x56ece3[_0x3d209d(0x454)](_0x3d209d(0x297))&&(this['toString']=_0x56ece3[_0x3d209d(0x297)]);},'clone':function(){const _0x45af3d=_0x54d3;return this[_0x45af3d(0x3ae)][_0x45af3d(0x414)][_0x45af3d(0x38a)](this);}};}()),_0xb34d76=_0x1f5c8b[_0x21dd4d(0x337)]=_0xf52fb6[_0x21dd4d(0x38a)]({'init':function(_0x3d4f80,_0x531fa7){const _0x1f27df=_0x21dd4d;_0x3d4f80=this['words']=_0x3d4f80||[],_0x531fa7!=_0x13f257?this['sigBytes']=_0x531fa7:this[_0x1f27df(0x331)]=_0x3d4f80['length']*0x4;},'toString':function(_0x149f2b){const _0x28c183=_0x21dd4d;return(_0x149f2b||_0x21dc94)[_0x28c183(0x52c)](this);},'concat':function(_0x4fa96f){const _0x3c5d44=_0x21dd4d;var _0x238863=this['words'],_0x6f6062=_0x4fa96f[_0x3c5d44(0x4e2)],_0x39dbf1=this[_0x3c5d44(0x331)],_0x19ee1d=_0x4fa96f[_0x3c5d44(0x331)];if(this[_0x3c5d44(0x3df)](),_0x39dbf1%0x4)for(var _0x372184=0x0;_0x372184<_0x19ee1d;_0x372184++){var _0x2f1527=_0x6f6062[_0x372184>>>0x2]>>>0x18-_0x372184%0x4*0x8&0xff;_0x238863[_0x39dbf1+_0x372184>>>0x2]|=_0x2f1527<<0x18-(_0x39dbf1+_0x372184)%0x4*0x8;}else{for(var _0x5660b7=0x0;_0x5660b7<_0x19ee1d;_0x5660b7+=0x4)_0x238863[_0x39dbf1+_0x5660b7>>>0x2]=_0x6f6062[_0x5660b7>>>0x2];}return this['sigBytes']+=_0x19ee1d,this;},'clamp':function(){const _0x5e42c8=_0x21dd4d;var _0x534e05=this['words'],_0x209d55=this['sigBytes'];_0x534e05[_0x209d55>>>0x2]&=0xffffffff<<0x20-_0x209d55%0x4*0x8,_0x534e05[_0x5e42c8(0x5bc)]=_0x1499b4['ceil'](_0x209d55/0x4);},'clone':function(){const _0x401726=_0x21dd4d;var _0x2574a2=_0xf52fb6[_0x401726(0x22e)][_0x401726(0x4bb)](this);return _0x2574a2[_0x401726(0x4e2)]=this[_0x401726(0x4e2)][_0x401726(0x515)](0x0),_0x2574a2;},'random':function(_0x32aa61){const _0x1c1516=_0x21dd4d;for(var _0x536b27=[],_0x59e60d=0x0;_0x59e60d<_0x32aa61;_0x59e60d+=0x4)_0x536b27['push'](_0x249213());return new _0xb34d76[(_0x1c1516(0x3ae))](_0x536b27,_0x32aa61);}}),_0x5f1fa8=_0xba4839['enc']={},_0x21dc94=_0x5f1fa8[_0x21dd4d(0x1fb)]={'stringify':function(_0x18bf1a){const _0x2cd420=_0x21dd4d;for(var _0x500c30=_0x18bf1a['words'],_0x1cfe4c=_0x18bf1a[_0x2cd420(0x331)],_0x58195c=[],_0x231393=0x0;_0x231393<_0x1cfe4c;_0x231393++){var _0x3b1871=_0x500c30[_0x231393>>>0x2]>>>0x18-_0x231393%0x4*0x8&0xff;_0x58195c[_0x2cd420(0x4b6)]((_0x3b1871>>>0x4)[_0x2cd420(0x297)](0x10)),_0x58195c['push']((_0x3b1871&0xf)[_0x2cd420(0x297)](0x10));}return _0x58195c[_0x2cd420(0x3f5)]('');},'parse':function(_0x34b0e9){const _0x18d23f=_0x21dd4d;for(var _0x5f2020=_0x34b0e9[_0x18d23f(0x5bc)],_0x3010d8=[],_0xf2b5ac=0x0;_0xf2b5ac<_0x5f2020;_0xf2b5ac+=0x2)_0x3010d8[_0xf2b5ac>>>0x3]|=parseInt(_0x34b0e9[_0x18d23f(0x266)](_0xf2b5ac,0x2),0x10)<<0x18-_0xf2b5ac%0x8*0x4;return new _0xb34d76['init'](_0x3010d8,_0x5f2020/0x2);}},_0x46ee55=_0x5f1fa8['Latin1']={'stringify':function(_0x25d629){const _0x2680aa=_0x21dd4d;for(var _0x121ac9=_0x25d629[_0x2680aa(0x4e2)],_0x5c0429=_0x25d629[_0x2680aa(0x331)],_0x5c63ae=[],_0x1f90b8=0x0;_0x1f90b8<_0x5c0429;_0x1f90b8++){var _0x40a28f=_0x121ac9[_0x1f90b8>>>0x2]>>>0x18-_0x1f90b8%0x4*0x8&0xff;_0x5c63ae[_0x2680aa(0x4b6)](String[_0x2680aa(0x1e8)](_0x40a28f));}return _0x5c63ae[_0x2680aa(0x3f5)]('');},'parse':function(_0x394692){const _0x1fa20a=_0x21dd4d;for(var _0x4ab146=_0x394692[_0x1fa20a(0x5bc)],_0x25247d=[],_0x43342e=0x0;_0x43342e<_0x4ab146;_0x43342e++)_0x25247d[_0x43342e>>>0x2]|=(_0x394692[_0x1fa20a(0x55e)](_0x43342e)&0xff)<<0x18-_0x43342e%0x4*0x8;return new _0xb34d76[(_0x1fa20a(0x3ae))](_0x25247d,_0x4ab146);}},_0x54968b=_0x5f1fa8[_0x21dd4d(0x572)]={'stringify':function(_0x490e8c){const _0x4b16d9=_0x21dd4d;try{return decodeURIComponent(escape(_0x46ee55[_0x4b16d9(0x52c)](_0x490e8c)));}catch{throw new Error(_0x4b16d9(0x4c1));}},'parse':function(_0x407cca){const _0x4b6ca5=_0x21dd4d;return _0x46ee55[_0x4b6ca5(0x379)](unescape(encodeURIComponent(_0x407cca)));}},_0x3a89e0=_0x1f5c8b['BufferedBlockAlgorithm']=_0xf52fb6[_0x21dd4d(0x38a)]({'reset':function(){const _0x5141c2=_0x21dd4d;this[_0x5141c2(0x1c7)]=new _0xb34d76[(_0x5141c2(0x3ae))](),this[_0x5141c2(0x533)]=0x0;},'_append':function(_0x1560bd){const _0x10cc57=_0x21dd4d;typeof _0x1560bd=='string'&&(_0x1560bd=_0x54968b[_0x10cc57(0x379)](_0x1560bd)),this['_data'][_0x10cc57(0x451)](_0x1560bd),this[_0x10cc57(0x533)]+=_0x1560bd[_0x10cc57(0x331)];},'_process':function(_0x5661ba){const _0x3a7b87=_0x21dd4d;var _0x43e5cc,_0x496e5e=this[_0x3a7b87(0x1c7)],_0x905f6a=_0x496e5e[_0x3a7b87(0x4e2)],_0x3c17ad=_0x496e5e[_0x3a7b87(0x331)],_0x7088b9=this[_0x3a7b87(0x370)],_0x401b1b=_0x7088b9*0x4,_0x146b11=_0x3c17ad/_0x401b1b;_0x5661ba?_0x146b11=_0x1499b4[_0x3a7b87(0x3c4)](_0x146b11):_0x146b11=_0x1499b4[_0x3a7b87(0x4d1)]((_0x146b11|0x0)-this[_0x3a7b87(0x205)],0x0);var _0x386519=_0x146b11*_0x7088b9,_0x5902a5=_0x1499b4[_0x3a7b87(0x21f)](_0x386519*0x4,_0x3c17ad);if(_0x386519){for(var _0x1ebc6b=0x0;_0x1ebc6b<_0x386519;_0x1ebc6b+=_0x7088b9)this[_0x3a7b87(0x2d2)](_0x905f6a,_0x1ebc6b);_0x43e5cc=_0x905f6a[_0x3a7b87(0x27b)](0x0,_0x386519),_0x496e5e[_0x3a7b87(0x331)]-=_0x5902a5;}return new _0xb34d76[(_0x3a7b87(0x3ae))](_0x43e5cc,_0x5902a5);},'clone':function(){const _0x3a407f=_0x21dd4d;var _0x4eb442=_0xf52fb6['clone'][_0x3a407f(0x4bb)](this);return _0x4eb442[_0x3a407f(0x1c7)]=this['_data'][_0x3a407f(0x22e)](),_0x4eb442;},'_minBufferSize':0x0});_0x1f5c8b[_0x21dd4d(0x524)]=_0x3a89e0[_0x21dd4d(0x38a)]({'cfg':_0xf52fb6[_0x21dd4d(0x38a)](),'init':function(_0x4be685){const _0x46a346=_0x21dd4d;this[_0x46a346(0x353)]=this[_0x46a346(0x353)]['extend'](_0x4be685),this[_0x46a346(0x348)]();},'reset':function(){const _0x32ee54=_0x21dd4d;_0x3a89e0['reset']['call'](this),this[_0x32ee54(0x5c2)]();},'update':function(_0x25f753){const _0xc3c476=_0x21dd4d;return this[_0xc3c476(0x1ce)](_0x25f753),this[_0xc3c476(0x28c)](),this;},'finalize':function(_0x214dcd){const _0x351911=_0x21dd4d;_0x214dcd&&this['_append'](_0x214dcd);var _0x4f865b=this[_0x351911(0x329)]();return _0x4f865b;},'blockSize':0x10,'_createHelper':function(_0x59477c){return function(_0x3f398d,_0x4060ef){const _0x5807be=_0x54d3;return new _0x59477c[(_0x5807be(0x3ae))](_0x4060ef)['finalize'](_0x3f398d);};},'_createHmacHelper':function(_0x34b647){return function(_0x4ff641,_0x18b38e){const _0x31a57a=_0x54d3;return new _0x3f5b20[(_0x31a57a(0x56c))][(_0x31a57a(0x3ae))](_0x34b647,_0x18b38e)[_0x31a57a(0x20a)](_0x4ff641);};}});var _0x3f5b20=_0xba4839[_0x21dd4d(0x30b)]={};return _0xba4839;}(Math);return _0xbbeb1f;}));}(Ft)),Ft[_0x5e3eab(0x3a4)];}var Vt={'exports':{}},Js;function Bi(){const _0x2847f0=_0x1a7f07;return Js||(Js=0x1,function(_0x1a4b56,_0x2a20b2){(function(_0x2c6a99,_0x3c482b){const _0x179754=_0x54d3;_0x1a4b56[_0x179754(0x3a4)]=_0x3c482b(ue());}(Z,function(_0x549019){const _0x16a58e=_0x54d3;return(function(){const _0x34e03d=_0x54d3;var _0x34b1d7=_0x549019,_0x3fa6e7=_0x34b1d7['lib'],_0xd05ed7=_0x3fa6e7[_0x34e03d(0x337)],_0x31154d=_0x34b1d7[_0x34e03d(0x49f)];_0x31154d[_0x34e03d(0x2d1)]={'stringify':function(_0x19b074){const _0x2fc255=_0x34e03d;var _0x38fe19=_0x19b074['words'],_0x236bf9=_0x19b074[_0x2fc255(0x331)],_0x48eb60=this[_0x2fc255(0x2ec)];_0x19b074[_0x2fc255(0x3df)]();for(var _0x325f37=[],_0x4f3fbe=0x0;_0x4f3fbe<_0x236bf9;_0x4f3fbe+=0x3)for(var _0x8777be=_0x38fe19[_0x4f3fbe>>>0x2]>>>0x18-_0x4f3fbe%0x4*0x8&0xff,_0x5cb6c5=_0x38fe19[_0x4f3fbe+0x1>>>0x2]>>>0x18-(_0x4f3fbe+0x1)%0x4*0x8&0xff,_0x35ab8b=_0x38fe19[_0x4f3fbe+0x2>>>0x2]>>>0x18-(_0x4f3fbe+0x2)%0x4*0x8&0xff,_0x3f40f1=_0x8777be<<0x10|_0x5cb6c5<<0x8|_0x35ab8b,_0x1001be=0x0;_0x1001be<0x4&&_0x4f3fbe+_0x1001be*0.75<_0x236bf9;_0x1001be++)_0x325f37[_0x2fc255(0x4b6)](_0x48eb60['charAt'](_0x3f40f1>>>0x6*(0x3-_0x1001be)&0x3f));var _0x182c12=_0x48eb60['charAt'](0x40);if(_0x182c12){for(;_0x325f37[_0x2fc255(0x5bc)]%0x4;)_0x325f37['push'](_0x182c12);}return _0x325f37[_0x2fc255(0x3f5)]('');},'parse':function(_0xb0ac07){const _0x3d36dd=_0x34e03d;var _0x25a466=_0xb0ac07[_0x3d36dd(0x5bc)],_0x31af61=this[_0x3d36dd(0x2ec)],_0x123f01=this[_0x3d36dd(0x275)];if(!_0x123f01){_0x123f01=this[_0x3d36dd(0x275)]=[];for(var _0x46985a=0x0;_0x46985a<_0x31af61['length'];_0x46985a++)_0x123f01[_0x31af61[_0x3d36dd(0x55e)](_0x46985a)]=_0x46985a;}var _0xa9982d=_0x31af61[_0x3d36dd(0x590)](0x40);if(_0xa9982d){var _0x414ef4=_0xb0ac07[_0x3d36dd(0x244)](_0xa9982d);_0x414ef4!==-0x1&&(_0x25a466=_0x414ef4);}return _0xd6876f(_0xb0ac07,_0x25a466,_0x123f01);},'_map':_0x34e03d(0x2ae)};function _0xd6876f(_0x41cef5,_0x2fa89e,_0x250aae){const _0x5e7c2e=_0x34e03d;for(var _0x3507e3=[],_0x2f18e1=0x0,_0x1a6757=0x0;_0x1a6757<_0x2fa89e;_0x1a6757++)if(_0x1a6757%0x4){var _0x4db1b1=_0x250aae[_0x41cef5[_0x5e7c2e(0x55e)](_0x1a6757-0x1)]<<_0x1a6757%0x4*0x2,_0x289d71=_0x250aae[_0x41cef5['charCodeAt'](_0x1a6757)]>>>0x6-_0x1a6757%0x4*0x2,_0x767961=_0x4db1b1|_0x289d71;_0x3507e3[_0x2f18e1>>>0x2]|=_0x767961<<0x18-_0x2f18e1%0x4*0x8,_0x2f18e1++;}return _0xd05ed7[_0x5e7c2e(0x586)](_0x3507e3,_0x2f18e1);}}()),_0x549019['enc'][_0x16a58e(0x2d1)];}));}(Vt)),Vt[_0x2847f0(0x3a4)];}var Gt={'exports':{}},Zs;function Ma(){const _0x3e9ace=_0x1a7f07;return Zs||(Zs=0x1,function(_0x1c91c8,_0x3ef3d6){(function(_0x2e6adf,_0x45b223){const _0x4d03fe=_0x54d3;_0x1c91c8[_0x4d03fe(0x3a4)]=_0x45b223(ue());}(Z,function(_0x3cfd31){const _0xd4cb6f=_0x54d3;return function(_0x46c15c){const _0x1aaa02=_0x54d3;var _0x264f26=_0x3cfd31,_0x4e0b1a=_0x264f26[_0x1aaa02(0x525)],_0x1efea8=_0x4e0b1a['WordArray'],_0x4d5ff1=_0x4e0b1a[_0x1aaa02(0x524)],_0x2ef94b=_0x264f26['algo'],_0x5f4e9b=[];(function(){const _0x19b11d=_0x1aaa02;for(var _0x38f20c=0x0;_0x38f20c<0x40;_0x38f20c++)_0x5f4e9b[_0x38f20c]=_0x46c15c[_0x19b11d(0x40c)](_0x46c15c[_0x19b11d(0x1e6)](_0x38f20c+0x1))*0x100000000|0x0;}());var _0x173490=_0x2ef94b[_0x1aaa02(0x28e)]=_0x4d5ff1[_0x1aaa02(0x38a)]({'_doReset':function(){const _0x52c469=_0x1aaa02;this[_0x52c469(0x232)]=new _0x1efea8[(_0x52c469(0x3ae))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x18de3a,_0x52dfd7){const _0x4cf208=_0x1aaa02;for(var _0xcb5752=0x0;_0xcb5752<0x10;_0xcb5752++){var _0x4e75b1=_0x52dfd7+_0xcb5752,_0x378fd8=_0x18de3a[_0x4e75b1];_0x18de3a[_0x4e75b1]=(_0x378fd8<<0x8|_0x378fd8>>>0x18)&0xff00ff|(_0x378fd8<<0x18|_0x378fd8>>>0x8)&0xff00ff00;}var _0x2f26a2=this[_0x4cf208(0x232)][_0x4cf208(0x4e2)],_0x921cb9=_0x18de3a[_0x52dfd7+0x0],_0x3c7510=_0x18de3a[_0x52dfd7+0x1],_0x9815c2=_0x18de3a[_0x52dfd7+0x2],_0xc5c256=_0x18de3a[_0x52dfd7+0x3],_0x3d1323=_0x18de3a[_0x52dfd7+0x4],_0x49f314=_0x18de3a[_0x52dfd7+0x5],_0xb3960f=_0x18de3a[_0x52dfd7+0x6],_0x425902=_0x18de3a[_0x52dfd7+0x7],_0x468f3d=_0x18de3a[_0x52dfd7+0x8],_0x1c1b74=_0x18de3a[_0x52dfd7+0x9],_0x22b219=_0x18de3a[_0x52dfd7+0xa],_0x28ea0b=_0x18de3a[_0x52dfd7+0xb],_0x795471=_0x18de3a[_0x52dfd7+0xc],_0x90e915=_0x18de3a[_0x52dfd7+0xd],_0x3151dd=_0x18de3a[_0x52dfd7+0xe],_0x24b635=_0x18de3a[_0x52dfd7+0xf],_0xbfca5f=_0x2f26a2[0x0],_0x44f63c=_0x2f26a2[0x1],_0x1e6830=_0x2f26a2[0x2],_0x5cb142=_0x2f26a2[0x3];_0xbfca5f=_0x5e1b64(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x921cb9,0x7,_0x5f4e9b[0x0]),_0x5cb142=_0x5e1b64(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x3c7510,0xc,_0x5f4e9b[0x1]),_0x1e6830=_0x5e1b64(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x9815c2,0x11,_0x5f4e9b[0x2]),_0x44f63c=_0x5e1b64(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0xc5c256,0x16,_0x5f4e9b[0x3]),_0xbfca5f=_0x5e1b64(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x3d1323,0x7,_0x5f4e9b[0x4]),_0x5cb142=_0x5e1b64(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x49f314,0xc,_0x5f4e9b[0x5]),_0x1e6830=_0x5e1b64(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0xb3960f,0x11,_0x5f4e9b[0x6]),_0x44f63c=_0x5e1b64(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x425902,0x16,_0x5f4e9b[0x7]),_0xbfca5f=_0x5e1b64(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x468f3d,0x7,_0x5f4e9b[0x8]),_0x5cb142=_0x5e1b64(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x1c1b74,0xc,_0x5f4e9b[0x9]),_0x1e6830=_0x5e1b64(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x22b219,0x11,_0x5f4e9b[0xa]),_0x44f63c=_0x5e1b64(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x28ea0b,0x16,_0x5f4e9b[0xb]),_0xbfca5f=_0x5e1b64(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x795471,0x7,_0x5f4e9b[0xc]),_0x5cb142=_0x5e1b64(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x90e915,0xc,_0x5f4e9b[0xd]),_0x1e6830=_0x5e1b64(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x3151dd,0x11,_0x5f4e9b[0xe]),_0x44f63c=_0x5e1b64(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x24b635,0x16,_0x5f4e9b[0xf]),_0xbfca5f=_0xf72439(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x3c7510,0x5,_0x5f4e9b[0x10]),_0x5cb142=_0xf72439(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0xb3960f,0x9,_0x5f4e9b[0x11]),_0x1e6830=_0xf72439(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x28ea0b,0xe,_0x5f4e9b[0x12]),_0x44f63c=_0xf72439(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x921cb9,0x14,_0x5f4e9b[0x13]),_0xbfca5f=_0xf72439(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x49f314,0x5,_0x5f4e9b[0x14]),_0x5cb142=_0xf72439(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x22b219,0x9,_0x5f4e9b[0x15]),_0x1e6830=_0xf72439(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x24b635,0xe,_0x5f4e9b[0x16]),_0x44f63c=_0xf72439(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x3d1323,0x14,_0x5f4e9b[0x17]),_0xbfca5f=_0xf72439(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x1c1b74,0x5,_0x5f4e9b[0x18]),_0x5cb142=_0xf72439(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x3151dd,0x9,_0x5f4e9b[0x19]),_0x1e6830=_0xf72439(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0xc5c256,0xe,_0x5f4e9b[0x1a]),_0x44f63c=_0xf72439(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x468f3d,0x14,_0x5f4e9b[0x1b]),_0xbfca5f=_0xf72439(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x90e915,0x5,_0x5f4e9b[0x1c]),_0x5cb142=_0xf72439(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x9815c2,0x9,_0x5f4e9b[0x1d]),_0x1e6830=_0xf72439(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x425902,0xe,_0x5f4e9b[0x1e]),_0x44f63c=_0xf72439(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x795471,0x14,_0x5f4e9b[0x1f]),_0xbfca5f=_0x4a9127(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x49f314,0x4,_0x5f4e9b[0x20]),_0x5cb142=_0x4a9127(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x468f3d,0xb,_0x5f4e9b[0x21]),_0x1e6830=_0x4a9127(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x28ea0b,0x10,_0x5f4e9b[0x22]),_0x44f63c=_0x4a9127(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x3151dd,0x17,_0x5f4e9b[0x23]),_0xbfca5f=_0x4a9127(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x3c7510,0x4,_0x5f4e9b[0x24]),_0x5cb142=_0x4a9127(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x3d1323,0xb,_0x5f4e9b[0x25]),_0x1e6830=_0x4a9127(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x425902,0x10,_0x5f4e9b[0x26]),_0x44f63c=_0x4a9127(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x22b219,0x17,_0x5f4e9b[0x27]),_0xbfca5f=_0x4a9127(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x90e915,0x4,_0x5f4e9b[0x28]),_0x5cb142=_0x4a9127(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x921cb9,0xb,_0x5f4e9b[0x29]),_0x1e6830=_0x4a9127(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0xc5c256,0x10,_0x5f4e9b[0x2a]),_0x44f63c=_0x4a9127(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0xb3960f,0x17,_0x5f4e9b[0x2b]),_0xbfca5f=_0x4a9127(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x1c1b74,0x4,_0x5f4e9b[0x2c]),_0x5cb142=_0x4a9127(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x795471,0xb,_0x5f4e9b[0x2d]),_0x1e6830=_0x4a9127(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x24b635,0x10,_0x5f4e9b[0x2e]),_0x44f63c=_0x4a9127(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x9815c2,0x17,_0x5f4e9b[0x2f]),_0xbfca5f=_0x2c8b96(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x921cb9,0x6,_0x5f4e9b[0x30]),_0x5cb142=_0x2c8b96(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x425902,0xa,_0x5f4e9b[0x31]),_0x1e6830=_0x2c8b96(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x3151dd,0xf,_0x5f4e9b[0x32]),_0x44f63c=_0x2c8b96(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x49f314,0x15,_0x5f4e9b[0x33]),_0xbfca5f=_0x2c8b96(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x795471,0x6,_0x5f4e9b[0x34]),_0x5cb142=_0x2c8b96(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0xc5c256,0xa,_0x5f4e9b[0x35]),_0x1e6830=_0x2c8b96(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x22b219,0xf,_0x5f4e9b[0x36]),_0x44f63c=_0x2c8b96(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x3c7510,0x15,_0x5f4e9b[0x37]),_0xbfca5f=_0x2c8b96(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x468f3d,0x6,_0x5f4e9b[0x38]),_0x5cb142=_0x2c8b96(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x24b635,0xa,_0x5f4e9b[0x39]),_0x1e6830=_0x2c8b96(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0xb3960f,0xf,_0x5f4e9b[0x3a]),_0x44f63c=_0x2c8b96(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x90e915,0x15,_0x5f4e9b[0x3b]),_0xbfca5f=_0x2c8b96(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x3d1323,0x6,_0x5f4e9b[0x3c]),_0x5cb142=_0x2c8b96(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x28ea0b,0xa,_0x5f4e9b[0x3d]),_0x1e6830=_0x2c8b96(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x9815c2,0xf,_0x5f4e9b[0x3e]),_0x44f63c=_0x2c8b96(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x1c1b74,0x15,_0x5f4e9b[0x3f]),_0x2f26a2[0x0]=_0x2f26a2[0x0]+_0xbfca5f|0x0,_0x2f26a2[0x1]=_0x2f26a2[0x1]+_0x44f63c|0x0,_0x2f26a2[0x2]=_0x2f26a2[0x2]+_0x1e6830|0x0,_0x2f26a2[0x3]=_0x2f26a2[0x3]+_0x5cb142|0x0;},'_doFinalize':function(){const _0x1bd8fe=_0x1aaa02;var _0x1c6e87=this[_0x1bd8fe(0x1c7)],_0x2cbf59=_0x1c6e87[_0x1bd8fe(0x4e2)],_0x279bbd=this[_0x1bd8fe(0x533)]*0x8,_0x247920=_0x1c6e87[_0x1bd8fe(0x331)]*0x8;_0x2cbf59[_0x247920>>>0x5]|=0x80<<0x18-_0x247920%0x20;var _0x4885ec=_0x46c15c[_0x1bd8fe(0x358)](_0x279bbd/0x100000000),_0x2dc254=_0x279bbd;_0x2cbf59[(_0x247920+0x40>>>0x9<<0x4)+0xf]=(_0x4885ec<<0x8|_0x4885ec>>>0x18)&0xff00ff|(_0x4885ec<<0x18|_0x4885ec>>>0x8)&0xff00ff00,_0x2cbf59[(_0x247920+0x40>>>0x9<<0x4)+0xe]=(_0x2dc254<<0x8|_0x2dc254>>>0x18)&0xff00ff|(_0x2dc254<<0x18|_0x2dc254>>>0x8)&0xff00ff00,_0x1c6e87[_0x1bd8fe(0x331)]=(_0x2cbf59[_0x1bd8fe(0x5bc)]+0x1)*0x4,this[_0x1bd8fe(0x28c)]();for(var _0x21b379=this['_hash'],_0x104356=_0x21b379[_0x1bd8fe(0x4e2)],_0x35edc9=0x0;_0x35edc9<0x4;_0x35edc9++){var _0x34ada3=_0x104356[_0x35edc9];_0x104356[_0x35edc9]=(_0x34ada3<<0x8|_0x34ada3>>>0x18)&0xff00ff|(_0x34ada3<<0x18|_0x34ada3>>>0x8)&0xff00ff00;}return _0x21b379;},'clone':function(){const _0x5bd588=_0x1aaa02;var _0x585d4a=_0x4d5ff1[_0x5bd588(0x22e)][_0x5bd588(0x4bb)](this);return _0x585d4a['_hash']=this[_0x5bd588(0x232)]['clone'](),_0x585d4a;}});function _0x5e1b64(_0x42deed,_0x4af939,_0x3cd3e2,_0x458088,_0x573fbb,_0x16a17d,_0x19be0f){var _0x2ebc2f=_0x42deed+(_0x4af939&_0x3cd3e2|~_0x4af939&_0x458088)+_0x573fbb+_0x19be0f;return(_0x2ebc2f<<_0x16a17d|_0x2ebc2f>>>0x20-_0x16a17d)+_0x4af939;}function _0xf72439(_0x516dc7,_0x3f48bf,_0x4c2034,_0x1e1f99,_0x57ecc1,_0x5c475b,_0x5e757a){var _0x705a70=_0x516dc7+(_0x3f48bf&_0x1e1f99|_0x4c2034&~_0x1e1f99)+_0x57ecc1+_0x5e757a;return(_0x705a70<<_0x5c475b|_0x705a70>>>0x20-_0x5c475b)+_0x3f48bf;}function _0x4a9127(_0xf948b3,_0x36b95c,_0x2f69e4,_0x33bc39,_0x251a71,_0x4fe079,_0x12b463){var _0x15eddb=_0xf948b3+(_0x36b95c^_0x2f69e4^_0x33bc39)+_0x251a71+_0x12b463;return(_0x15eddb<<_0x4fe079|_0x15eddb>>>0x20-_0x4fe079)+_0x36b95c;}function _0x2c8b96(_0x2ba253,_0x5d1082,_0x193b9c,_0x158fa,_0x3845a6,_0x2c0949,_0x291691){var _0x35ac7a=_0x2ba253+(_0x193b9c^(_0x5d1082|~_0x158fa))+_0x3845a6+_0x291691;return(_0x35ac7a<<_0x2c0949|_0x35ac7a>>>0x20-_0x2c0949)+_0x5d1082;}_0x264f26['MD5']=_0x4d5ff1['_createHelper'](_0x173490),_0x264f26['HmacMD5']=_0x4d5ff1[_0x1aaa02(0x5c8)](_0x173490);}(Math),_0x3cfd31[_0xd4cb6f(0x28e)];}));}(Gt)),Gt[_0x3e9ace(0x3a4)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x4ab17e=_0x1a7f07;return Qs||(Qs=0x1,function(_0x37f4a7,_0xa8e73b){(function(_0x3d32b0,_0x36095){_0x37f4a7['exports']=_0x36095(ue());}(Z,function(_0x5f287a){const _0x406931=_0x54d3;return(function(){const _0x238cbb=_0x54d3;var _0x25c990=_0x5f287a,_0x2cba1f=_0x25c990['lib'],_0x157ee1=_0x2cba1f[_0x238cbb(0x337)],_0x49da5c=_0x2cba1f[_0x238cbb(0x524)],_0x2ee9a2=_0x25c990[_0x238cbb(0x30b)],_0x35535b=[],_0x4cf706=_0x2ee9a2[_0x238cbb(0x566)]=_0x49da5c[_0x238cbb(0x38a)]({'_doReset':function(){const _0x450a28=_0x238cbb;this[_0x450a28(0x232)]=new _0x157ee1[(_0x450a28(0x3ae))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2cd068,_0x25143d){const _0x2a9bc4=_0x238cbb;for(var _0x2dec1a=this[_0x2a9bc4(0x232)]['words'],_0x5d6a86=_0x2dec1a[0x0],_0x4b56fb=_0x2dec1a[0x1],_0x463ec3=_0x2dec1a[0x2],_0x462af6=_0x2dec1a[0x3],_0x488183=_0x2dec1a[0x4],_0x2a8344=0x0;_0x2a8344<0x50;_0x2a8344++){if(_0x2a8344<0x10)_0x35535b[_0x2a8344]=_0x2cd068[_0x25143d+_0x2a8344]|0x0;else{var _0x4b17c8=_0x35535b[_0x2a8344-0x3]^_0x35535b[_0x2a8344-0x8]^_0x35535b[_0x2a8344-0xe]^_0x35535b[_0x2a8344-0x10];_0x35535b[_0x2a8344]=_0x4b17c8<<0x1|_0x4b17c8>>>0x1f;}var _0x385991=(_0x5d6a86<<0x5|_0x5d6a86>>>0x1b)+_0x488183+_0x35535b[_0x2a8344];_0x2a8344<0x14?_0x385991+=(_0x4b56fb&_0x463ec3|~_0x4b56fb&_0x462af6)+0x5a827999:_0x2a8344<0x28?_0x385991+=(_0x4b56fb^_0x463ec3^_0x462af6)+0x6ed9eba1:_0x2a8344<0x3c?_0x385991+=(_0x4b56fb&_0x463ec3|_0x4b56fb&_0x462af6|_0x463ec3&_0x462af6)-0x70e44324:_0x385991+=(_0x4b56fb^_0x463ec3^_0x462af6)-0x359d3e2a,_0x488183=_0x462af6,_0x462af6=_0x463ec3,_0x463ec3=_0x4b56fb<<0x1e|_0x4b56fb>>>0x2,_0x4b56fb=_0x5d6a86,_0x5d6a86=_0x385991;}_0x2dec1a[0x0]=_0x2dec1a[0x0]+_0x5d6a86|0x0,_0x2dec1a[0x1]=_0x2dec1a[0x1]+_0x4b56fb|0x0,_0x2dec1a[0x2]=_0x2dec1a[0x2]+_0x463ec3|0x0,_0x2dec1a[0x3]=_0x2dec1a[0x3]+_0x462af6|0x0,_0x2dec1a[0x4]=_0x2dec1a[0x4]+_0x488183|0x0;},'_doFinalize':function(){const _0x419f29=_0x238cbb;var _0x3f7708=this[_0x419f29(0x1c7)],_0x314a21=_0x3f7708[_0x419f29(0x4e2)],_0x48288=this[_0x419f29(0x533)]*0x8,_0x43ed81=_0x3f7708[_0x419f29(0x331)]*0x8;return _0x314a21[_0x43ed81>>>0x5]|=0x80<<0x18-_0x43ed81%0x20,_0x314a21[(_0x43ed81+0x40>>>0x9<<0x4)+0xe]=Math[_0x419f29(0x358)](_0x48288/0x100000000),_0x314a21[(_0x43ed81+0x40>>>0x9<<0x4)+0xf]=_0x48288,_0x3f7708[_0x419f29(0x331)]=_0x314a21['length']*0x4,this[_0x419f29(0x28c)](),this[_0x419f29(0x232)];},'clone':function(){const _0x2aa429=_0x238cbb;var _0x4234bc=_0x49da5c['clone'][_0x2aa429(0x4bb)](this);return _0x4234bc[_0x2aa429(0x232)]=this[_0x2aa429(0x232)]['clone'](),_0x4234bc;}});_0x25c990['SHA1']=_0x49da5c[_0x238cbb(0x2db)](_0x4cf706),_0x25c990[_0x238cbb(0x40d)]=_0x49da5c[_0x238cbb(0x5c8)](_0x4cf706);}()),_0x5f287a[_0x406931(0x566)];}));}(Kt)),Kt[_0x4ab17e(0x3a4)];}var zt={'exports':{}},ei;function La(){const _0x38893a=_0x1a7f07;return ei||(ei=0x1,function(_0x16cfaa,_0x1ab21d){(function(_0x114076,_0x439cb9){const _0x2ac8a9=_0x54d3;_0x16cfaa[_0x2ac8a9(0x3a4)]=_0x439cb9(ue());}(Z,function(_0x344b64){(function(){const _0x208ad8=_0x54d3;var _0x772d82=_0x344b64,_0x4ad03f=_0x772d82[_0x208ad8(0x525)],_0x42babb=_0x4ad03f[_0x208ad8(0x303)],_0x24a2db=_0x772d82[_0x208ad8(0x49f)],_0x1537ad=_0x24a2db[_0x208ad8(0x572)],_0x5cd700=_0x772d82[_0x208ad8(0x30b)];_0x5cd700['HMAC']=_0x42babb['extend']({'init':function(_0x330c74,_0x5b6180){const _0x346530=_0x208ad8;_0x330c74=this[_0x346530(0x41a)]=new _0x330c74[(_0x346530(0x3ae))](),typeof _0x5b6180=='string'&&(_0x5b6180=_0x1537ad['parse'](_0x5b6180));var _0x393bf1=_0x330c74['blockSize'],_0x56db23=_0x393bf1*0x4;_0x5b6180[_0x346530(0x331)]>_0x56db23&&(_0x5b6180=_0x330c74[_0x346530(0x20a)](_0x5b6180)),_0x5b6180['clamp']();for(var _0x3662c8=this['_oKey']=_0x5b6180[_0x346530(0x22e)](),_0x36e6d9=this[_0x346530(0x1dd)]=_0x5b6180['clone'](),_0x508ca2=_0x3662c8[_0x346530(0x4e2)],_0x571626=_0x36e6d9[_0x346530(0x4e2)],_0x25903e=0x0;_0x25903e<_0x393bf1;_0x25903e++)_0x508ca2[_0x25903e]^=0x5c5c5c5c,_0x571626[_0x25903e]^=0x36363636;_0x3662c8[_0x346530(0x331)]=_0x36e6d9[_0x346530(0x331)]=_0x56db23,this[_0x346530(0x348)]();},'reset':function(){const _0x2b5a09=_0x208ad8;var _0x1d22dd=this[_0x2b5a09(0x41a)];_0x1d22dd[_0x2b5a09(0x348)](),_0x1d22dd[_0x2b5a09(0x3d7)](this['_iKey']);},'update':function(_0x3f9322){const _0x291a77=_0x208ad8;return this[_0x291a77(0x41a)][_0x291a77(0x3d7)](_0x3f9322),this;},'finalize':function(_0x9d40d4){const _0x321687=_0x208ad8;var _0x340a60=this['_hasher'],_0x530b97=_0x340a60[_0x321687(0x20a)](_0x9d40d4);_0x340a60[_0x321687(0x348)]();var _0x172c99=_0x340a60['finalize'](this['_oKey']['clone']()[_0x321687(0x451)](_0x530b97));return _0x172c99;}});}());}));}(zt)),zt[_0x38893a(0x3a4)];}var ti;function ki(){return ti||(ti=0x1,function(_0x5eddc8,_0x551c4d){(function(_0x578986,_0x5b49b1,_0x4421f2){_0x5eddc8['exports']=_0x5b49b1(ue(),xa(),La());}(Z,function(_0x41486c){const _0x27acbb=_0x54d3;return(function(){const _0x46d89e=_0x54d3;var _0xf9f4ce=_0x41486c,_0xa60222=_0xf9f4ce[_0x46d89e(0x525)],_0x1e7ef4=_0xa60222['Base'],_0x1ea3e2=_0xa60222['WordArray'],_0x2857af=_0xf9f4ce[_0x46d89e(0x30b)],_0x3ca62f=_0x2857af[_0x46d89e(0x28e)],_0x1a20e3=_0x2857af['EvpKDF']=_0x1e7ef4[_0x46d89e(0x38a)]({'cfg':_0x1e7ef4[_0x46d89e(0x38a)]({'keySize':0x80/0x20,'hasher':_0x3ca62f,'iterations':0x1}),'init':function(_0x3fec0e){const _0x1842f4=_0x46d89e;this['cfg']=this[_0x1842f4(0x353)]['extend'](_0x3fec0e);},'compute':function(_0x56df3f,_0x3cc16b){const _0x194a7b=_0x46d89e;for(var _0xfacfab,_0x415b8a=this['cfg'],_0x319777=_0x415b8a['hasher']['create'](),_0x90502b=_0x1ea3e2[_0x194a7b(0x586)](),_0x2a670a=_0x90502b['words'],_0x2ba534=_0x415b8a[_0x194a7b(0x5a4)],_0x161f23=_0x415b8a[_0x194a7b(0x1c9)];_0x2a670a[_0x194a7b(0x5bc)]<_0x2ba534;){_0xfacfab&&_0x319777[_0x194a7b(0x3d7)](_0xfacfab),_0xfacfab=_0x319777[_0x194a7b(0x3d7)](_0x56df3f)[_0x194a7b(0x20a)](_0x3cc16b),_0x319777[_0x194a7b(0x348)]();for(var _0x18349e=0x1;_0x18349e<_0x161f23;_0x18349e++)_0xfacfab=_0x319777['finalize'](_0xfacfab),_0x319777[_0x194a7b(0x348)]();_0x90502b[_0x194a7b(0x451)](_0xfacfab);}return _0x90502b[_0x194a7b(0x331)]=_0x2ba534*0x4,_0x90502b;}});_0xf9f4ce[_0x46d89e(0x462)]=function(_0x588a18,_0x577d34,_0x1e8f25){const _0x27e35a=_0x46d89e;return _0x1a20e3[_0x27e35a(0x586)](_0x1e8f25)[_0x27e35a(0x568)](_0x588a18,_0x577d34);};}()),_0x41486c[_0x27acbb(0x462)];}));}(Yt)),Yt['exports'];}var qt={'exports':{}},si;function Wi(){const _0x13b4ac=_0x1a7f07;return si||(si=0x1,function(_0x37a3b3,_0x2eaf0d){(function(_0x2a8e70,_0x182269,_0x5c6801){const _0x556b23=_0x54d3;_0x37a3b3[_0x556b23(0x3a4)]=_0x182269(ue(),ki());}(Z,function(_0x30c19c){const _0x1a3e43=_0x54d3;_0x30c19c['lib'][_0x1a3e43(0x2fc)]||function(_0x1080a5){const _0x162c44=_0x1a3e43;var _0x35b263=_0x30c19c,_0x3e6b13=_0x35b263[_0x162c44(0x525)],_0x2a49e7=_0x3e6b13[_0x162c44(0x303)],_0x5931f7=_0x3e6b13[_0x162c44(0x337)],_0x489b0f=_0x3e6b13[_0x162c44(0x42c)],_0x3a3071=_0x35b263[_0x162c44(0x49f)];_0x3a3071['Utf8'];var _0x110064=_0x3a3071['Base64'],_0x59fa04=_0x35b263['algo'],_0x39f4d0=_0x59fa04['EvpKDF'],_0x4efc0b=_0x3e6b13[_0x162c44(0x2fc)]=_0x489b0f[_0x162c44(0x38a)]({'cfg':_0x2a49e7[_0x162c44(0x38a)](),'createEncryptor':function(_0x4942b,_0x3c7435){return this['create'](this['_ENC_XFORM_MODE'],_0x4942b,_0x3c7435);},'createDecryptor':function(_0x16c91f,_0x5029d3){const _0x53895c=_0x162c44;return this[_0x53895c(0x586)](this[_0x53895c(0x24c)],_0x16c91f,_0x5029d3);},'init':function(_0x225bdd,_0x2da9cc,_0x456d0e){const _0x236926=_0x162c44;this[_0x236926(0x353)]=this[_0x236926(0x353)][_0x236926(0x38a)](_0x456d0e),this[_0x236926(0x4ab)]=_0x225bdd,this[_0x236926(0x520)]=_0x2da9cc,this[_0x236926(0x348)]();},'reset':function(){const _0x41fb66=_0x162c44;_0x489b0f['reset'][_0x41fb66(0x4bb)](this),this['_doReset']();},'process':function(_0x258632){const _0x500f4b=_0x162c44;return this[_0x500f4b(0x1ce)](_0x258632),this['_process']();},'finalize':function(_0x345dd7){const _0x20d8f7=_0x162c44;_0x345dd7&&this[_0x20d8f7(0x1ce)](_0x345dd7);var _0x15cda5=this[_0x20d8f7(0x329)]();return _0x15cda5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x52ae8c(_0x1df39e){const _0x23f9b2=_0x54d3;return typeof _0x1df39e==_0x23f9b2(0x3b1)?_0x3a13c5:_0x1bb3e7;}return function(_0x30b3fe){return{'encrypt':function(_0x1df24e,_0x4cc7c7,_0x184ac5){const _0x1295d4=_0x54d3;return _0x52ae8c(_0x4cc7c7)[_0x1295d4(0x255)](_0x30b3fe,_0x1df24e,_0x4cc7c7,_0x184ac5);},'decrypt':function(_0xbc5b8a,_0x41b732,_0x3ce8b8){const _0x505122=_0x54d3;return _0x52ae8c(_0x41b732)[_0x505122(0x38c)](_0x30b3fe,_0xbc5b8a,_0x41b732,_0x3ce8b8);}};};}())});_0x3e6b13[_0x162c44(0x5b5)]=_0x4efc0b['extend']({'_doFinalize':function(){var _0x11030b=this['_process'](!0x0);return _0x11030b;},'blockSize':0x1});var _0x5542e7=_0x35b263[_0x162c44(0x367)]={},_0x5b1007=_0x3e6b13['BlockCipherMode']=_0x2a49e7[_0x162c44(0x38a)]({'createEncryptor':function(_0x4f4a82,_0x2d4c5d){const _0x2aa07a=_0x162c44;return this['Encryptor'][_0x2aa07a(0x586)](_0x4f4a82,_0x2d4c5d);},'createDecryptor':function(_0x20c941,_0x42256f){const _0x6e090c=_0x162c44;return this['Decryptor'][_0x6e090c(0x586)](_0x20c941,_0x42256f);},'init':function(_0x4fd42f,_0x27bb87){const _0x2f0563=_0x162c44;this[_0x2f0563(0x2e4)]=_0x4fd42f,this[_0x2f0563(0x477)]=_0x27bb87;}}),_0x45910e=_0x5542e7[_0x162c44(0x37d)]=(function(){const _0x43cbeb=_0x162c44;var _0x5840a8=_0x5b1007[_0x43cbeb(0x38a)]();_0x5840a8[_0x43cbeb(0x422)]=_0x5840a8[_0x43cbeb(0x38a)]({'processBlock':function(_0x12c87c,_0x47e43b){const _0x1ead87=_0x43cbeb;var _0x3f3930=this[_0x1ead87(0x2e4)],_0x5a7c6=_0x3f3930[_0x1ead87(0x370)];_0x242856['call'](this,_0x12c87c,_0x47e43b,_0x5a7c6),_0x3f3930[_0x1ead87(0x5af)](_0x12c87c,_0x47e43b),this[_0x1ead87(0x4b4)]=_0x12c87c[_0x1ead87(0x515)](_0x47e43b,_0x47e43b+_0x5a7c6);}}),_0x5840a8[_0x43cbeb(0x2f3)]=_0x5840a8[_0x43cbeb(0x38a)]({'processBlock':function(_0x3ed6dc,_0x2cd884){const _0x102476=_0x43cbeb;var _0x4f3658=this[_0x102476(0x2e4)],_0x43b77f=_0x4f3658[_0x102476(0x370)],_0x2cd722=_0x3ed6dc['slice'](_0x2cd884,_0x2cd884+_0x43b77f);_0x4f3658['decryptBlock'](_0x3ed6dc,_0x2cd884),_0x242856['call'](this,_0x3ed6dc,_0x2cd884,_0x43b77f),this[_0x102476(0x4b4)]=_0x2cd722;}});function _0x242856(_0x5d5461,_0x49d7af,_0x5b39bd){const _0x468cf6=_0x43cbeb;var _0x56be84,_0x2ff64a=this[_0x468cf6(0x477)];_0x2ff64a?(_0x56be84=_0x2ff64a,this[_0x468cf6(0x477)]=_0x1080a5):_0x56be84=this[_0x468cf6(0x4b4)];for(var _0x33bf40=0x0;_0x33bf40<_0x5b39bd;_0x33bf40++)_0x5d5461[_0x49d7af+_0x33bf40]^=_0x56be84[_0x33bf40];}return _0x5840a8;}()),_0x41486a=_0x35b263[_0x162c44(0x1dc)]={},_0x49026d=_0x41486a[_0x162c44(0x517)]={'pad':function(_0x1cbd67,_0x2b9b15){const _0x4fbd4c=_0x162c44;for(var _0x5c2cc6=_0x2b9b15*0x4,_0x2acfe3=_0x5c2cc6-_0x1cbd67[_0x4fbd4c(0x331)]%_0x5c2cc6,_0x1fcdec=_0x2acfe3<<0x18|_0x2acfe3<<0x10|_0x2acfe3<<0x8|_0x2acfe3,_0x1be253=[],_0x1a0a49=0x0;_0x1a0a49<_0x2acfe3;_0x1a0a49+=0x4)_0x1be253['push'](_0x1fcdec);var _0x3bbc0b=_0x5931f7['create'](_0x1be253,_0x2acfe3);_0x1cbd67[_0x4fbd4c(0x451)](_0x3bbc0b);},'unpad':function(_0x85b177){const _0xf585fc=_0x162c44;var _0x439d67=_0x85b177[_0xf585fc(0x4e2)][_0x85b177[_0xf585fc(0x331)]-0x1>>>0x2]&0xff;_0x85b177[_0xf585fc(0x331)]-=_0x439d67;}};_0x3e6b13[_0x162c44(0x4e3)]=_0x4efc0b['extend']({'cfg':_0x4efc0b[_0x162c44(0x353)]['extend']({'mode':_0x45910e,'padding':_0x49026d}),'reset':function(){const _0x1da423=_0x162c44;var _0x25fee3;_0x4efc0b['reset'][_0x1da423(0x4bb)](this);var _0x2a99ad=this['cfg'],_0x9076db=_0x2a99ad['iv'],_0x276b11=_0x2a99ad[_0x1da423(0x367)];this[_0x1da423(0x4ab)]==this[_0x1da423(0x3a3)]?_0x25fee3=_0x276b11['createEncryptor']:(_0x25fee3=_0x276b11[_0x1da423(0x58a)],this[_0x1da423(0x205)]=0x1),this['_mode']&&this[_0x1da423(0x4df)]['__creator']==_0x25fee3?this['_mode'][_0x1da423(0x3ae)](this,_0x9076db&&_0x9076db[_0x1da423(0x4e2)]):(this['_mode']=_0x25fee3[_0x1da423(0x4bb)](_0x276b11,this,_0x9076db&&_0x9076db[_0x1da423(0x4e2)]),this[_0x1da423(0x4df)][_0x1da423(0x4a2)]=_0x25fee3);},'_doProcessBlock':function(_0x5450b9,_0x29b5da){const _0x5f2570=_0x162c44;this['_mode'][_0x5f2570(0x444)](_0x5450b9,_0x29b5da);},'_doFinalize':function(){const _0x120abc=_0x162c44;var _0x8d3180,_0x2f038c=this[_0x120abc(0x353)][_0x120abc(0x200)];return this[_0x120abc(0x4ab)]==this['_ENC_XFORM_MODE']?(_0x2f038c[_0x120abc(0x1dc)](this[_0x120abc(0x1c7)],this['blockSize']),_0x8d3180=this[_0x120abc(0x28c)](!0x0)):(_0x8d3180=this[_0x120abc(0x28c)](!0x0),_0x2f038c[_0x120abc(0x2b6)](_0x8d3180)),_0x8d3180;},'blockSize':0x80/0x20});var _0x5f5117=_0x3e6b13['CipherParams']=_0x2a49e7[_0x162c44(0x38a)]({'init':function(_0x28d82b){const _0x2fd123=_0x162c44;this[_0x2fd123(0x361)](_0x28d82b);},'toString':function(_0x342e0b){const _0x1fd155=_0x162c44;return(_0x342e0b||this[_0x1fd155(0x398)])[_0x1fd155(0x52c)](this);}}),_0x573976=_0x35b263[_0x162c44(0x2ac)]={},_0xb14c70=_0x573976[_0x162c44(0x464)]={'stringify':function(_0x10caf3){const _0x391dcc=_0x162c44;var _0x5e3d0f,_0xbcff86=_0x10caf3['ciphertext'],_0x25d5c8=_0x10caf3[_0x391dcc(0x38b)];return _0x25d5c8?_0x5e3d0f=_0x5931f7[_0x391dcc(0x586)]([0x53616c74,0x65645f5f])[_0x391dcc(0x451)](_0x25d5c8)['concat'](_0xbcff86):_0x5e3d0f=_0xbcff86,_0x5e3d0f[_0x391dcc(0x297)](_0x110064);},'parse':function(_0x32a2a3){const _0x57cb3d=_0x162c44;var _0x318e9e,_0x4e7e5b=_0x110064[_0x57cb3d(0x379)](_0x32a2a3),_0x2bcddd=_0x4e7e5b[_0x57cb3d(0x4e2)];return _0x2bcddd[0x0]==0x53616c74&&_0x2bcddd[0x1]==0x65645f5f&&(_0x318e9e=_0x5931f7[_0x57cb3d(0x586)](_0x2bcddd[_0x57cb3d(0x515)](0x2,0x4)),_0x2bcddd[_0x57cb3d(0x27b)](0x0,0x4),_0x4e7e5b[_0x57cb3d(0x331)]-=0x10),_0x5f5117[_0x57cb3d(0x586)]({'ciphertext':_0x4e7e5b,'salt':_0x318e9e});}},_0x1bb3e7=_0x3e6b13[_0x162c44(0x560)]=_0x2a49e7['extend']({'cfg':_0x2a49e7[_0x162c44(0x38a)]({'format':_0xb14c70}),'encrypt':function(_0x590e59,_0x3dcc1a,_0x49b41f,_0x416972){const _0x3499a5=_0x162c44;_0x416972=this[_0x3499a5(0x353)]['extend'](_0x416972);var _0x39e946=_0x590e59[_0x3499a5(0x41b)](_0x49b41f,_0x416972),_0x4892f1=_0x39e946[_0x3499a5(0x20a)](_0x3dcc1a),_0xa3d40c=_0x39e946[_0x3499a5(0x353)];return _0x5f5117[_0x3499a5(0x586)]({'ciphertext':_0x4892f1,'key':_0x49b41f,'iv':_0xa3d40c['iv'],'algorithm':_0x590e59,'mode':_0xa3d40c[_0x3499a5(0x367)],'padding':_0xa3d40c[_0x3499a5(0x200)],'blockSize':_0x590e59[_0x3499a5(0x370)],'formatter':_0x416972['format']});},'decrypt':function(_0x1fd184,_0x3597d3,_0x998beb,_0x416986){const _0x4ad0f0=_0x162c44;_0x416986=this['cfg'][_0x4ad0f0(0x38a)](_0x416986),_0x3597d3=this['_parse'](_0x3597d3,_0x416986['format']);var _0x28ef88=_0x1fd184[_0x4ad0f0(0x58a)](_0x998beb,_0x416986)['finalize'](_0x3597d3[_0x4ad0f0(0x268)]);return _0x28ef88;},'_parse':function(_0x4bf031,_0x573f4e){const _0xe7a182=_0x162c44;return typeof _0x4bf031==_0xe7a182(0x3b1)?_0x573f4e[_0xe7a182(0x379)](_0x4bf031,this):_0x4bf031;}}),_0x9a49bf=_0x35b263[_0x162c44(0x5ce)]={},_0x4df15d=_0x9a49bf[_0x162c44(0x464)]={'execute':function(_0x25ee19,_0x12c17b,_0x42e699,_0x40a64e,_0x4be167){const _0x50bc34=_0x162c44;if(_0x40a64e||(_0x40a64e=_0x5931f7[_0x50bc34(0x463)](0x40/0x8)),_0x4be167)var _0x232bc4=_0x39f4d0['create']({'keySize':_0x12c17b+_0x42e699,'hasher':_0x4be167})[_0x50bc34(0x568)](_0x25ee19,_0x40a64e);else var _0x232bc4=_0x39f4d0[_0x50bc34(0x586)]({'keySize':_0x12c17b+_0x42e699})['compute'](_0x25ee19,_0x40a64e);var _0x59f9be=_0x5931f7[_0x50bc34(0x586)](_0x232bc4['words'][_0x50bc34(0x515)](_0x12c17b),_0x42e699*0x4);return _0x232bc4[_0x50bc34(0x331)]=_0x12c17b*0x4,_0x5f5117['create']({'key':_0x232bc4,'iv':_0x59f9be,'salt':_0x40a64e});}},_0x3a13c5=_0x3e6b13['PasswordBasedCipher']=_0x1bb3e7['extend']({'cfg':_0x1bb3e7['cfg'][_0x162c44(0x38a)]({'kdf':_0x4df15d}),'encrypt':function(_0x175c0d,_0x38fc4b,_0x16a7b6,_0x1d139d){const _0x19703f=_0x162c44;_0x1d139d=this[_0x19703f(0x353)]['extend'](_0x1d139d);var _0x48c729=_0x1d139d['kdf'][_0x19703f(0x44b)](_0x16a7b6,_0x175c0d[_0x19703f(0x5a4)],_0x175c0d['ivSize'],_0x1d139d[_0x19703f(0x38b)],_0x1d139d['hasher']);_0x1d139d['iv']=_0x48c729['iv'];var _0x465d3a=_0x1bb3e7[_0x19703f(0x255)][_0x19703f(0x4bb)](this,_0x175c0d,_0x38fc4b,_0x48c729[_0x19703f(0x29a)],_0x1d139d);return _0x465d3a[_0x19703f(0x361)](_0x48c729),_0x465d3a;},'decrypt':function(_0x25f728,_0x26e733,_0x5d77ab,_0x48fdb6){const _0x38282d=_0x162c44;_0x48fdb6=this[_0x38282d(0x353)][_0x38282d(0x38a)](_0x48fdb6),_0x26e733=this[_0x38282d(0x4e0)](_0x26e733,_0x48fdb6[_0x38282d(0x2ac)]);var _0x27fa00=_0x48fdb6[_0x38282d(0x5ce)][_0x38282d(0x44b)](_0x5d77ab,_0x25f728[_0x38282d(0x5a4)],_0x25f728['ivSize'],_0x26e733[_0x38282d(0x38b)],_0x48fdb6[_0x38282d(0x29d)]);_0x48fdb6['iv']=_0x27fa00['iv'];var _0x5c7bfe=_0x1bb3e7['decrypt'][_0x38282d(0x4bb)](this,_0x25f728,_0x26e733,_0x27fa00['key'],_0x48fdb6);return _0x5c7bfe;}});}();}));}(qt)),qt[_0x13b4ac(0x3a4)];}(function(_0x10b475,_0x3dbcd8){(function(_0x93254e,_0x1a1853,_0x30bd82){_0x10b475['exports']=_0x1a1853(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x33336e){const _0x6d08a6=_0x54d3;return(function(){const _0x51b821=_0x54d3;var _0x38ac56=_0x33336e,_0x513926=_0x38ac56[_0x51b821(0x525)],_0x1dfffe=_0x513926['BlockCipher'],_0x1fe434=_0x38ac56[_0x51b821(0x30b)],_0x31a6c0=[],_0x2cadda=[],_0x542ed7=[],_0xbfca72=[],_0x75f0b8=[],_0x26b978=[],_0x239738=[],_0x4970b2=[],_0x850fb3=[],_0x3b958e=[];(function(){for(var _0x332543=[],_0x66df0b=0x0;_0x66df0b<0x100;_0x66df0b++)_0x66df0b<0x80?_0x332543[_0x66df0b]=_0x66df0b<<0x1:_0x332543[_0x66df0b]=_0x66df0b<<0x1^0x11b;for(var _0x3e1437=0x0,_0x2dba2f=0x0,_0x66df0b=0x0;_0x66df0b<0x100;_0x66df0b++){var _0x5c6bca=_0x2dba2f^_0x2dba2f<<0x1^_0x2dba2f<<0x2^_0x2dba2f<<0x3^_0x2dba2f<<0x4;_0x5c6bca=_0x5c6bca>>>0x8^_0x5c6bca&0xff^0x63,_0x31a6c0[_0x3e1437]=_0x5c6bca,_0x2cadda[_0x5c6bca]=_0x3e1437;var _0x2db15c=_0x332543[_0x3e1437],_0x206464=_0x332543[_0x2db15c],_0x57dde6=_0x332543[_0x206464],_0x393f92=_0x332543[_0x5c6bca]*0x101^_0x5c6bca*0x1010100;_0x542ed7[_0x3e1437]=_0x393f92<<0x18|_0x393f92>>>0x8,_0xbfca72[_0x3e1437]=_0x393f92<<0x10|_0x393f92>>>0x10,_0x75f0b8[_0x3e1437]=_0x393f92<<0x8|_0x393f92>>>0x18,_0x26b978[_0x3e1437]=_0x393f92;var _0x393f92=_0x57dde6*0x1010101^_0x206464*0x10001^_0x2db15c*0x101^_0x3e1437*0x1010100;_0x239738[_0x5c6bca]=_0x393f92<<0x18|_0x393f92>>>0x8,_0x4970b2[_0x5c6bca]=_0x393f92<<0x10|_0x393f92>>>0x10,_0x850fb3[_0x5c6bca]=_0x393f92<<0x8|_0x393f92>>>0x18,_0x3b958e[_0x5c6bca]=_0x393f92,_0x3e1437?(_0x3e1437=_0x2db15c^_0x332543[_0x332543[_0x332543[_0x57dde6^_0x2db15c]]],_0x2dba2f^=_0x332543[_0x332543[_0x2dba2f]]):_0x3e1437=_0x2dba2f=0x1;}}());var _0x118954=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5b3407=_0x1fe434[_0x51b821(0x3a1)]=_0x1dfffe[_0x51b821(0x38a)]({'_doReset':function(){const _0x3fd1fa=_0x51b821;var _0x4a240e;if(!(this[_0x3fd1fa(0x2f6)]&&this[_0x3fd1fa(0x4e6)]===this[_0x3fd1fa(0x520)])){for(var _0x1785dd=this[_0x3fd1fa(0x4e6)]=this[_0x3fd1fa(0x520)],_0x3fca76=_0x1785dd['words'],_0x297240=_0x1785dd[_0x3fd1fa(0x331)]/0x4,_0x1f75f2=this[_0x3fd1fa(0x2f6)]=_0x297240+0x6,_0x4b17d4=(_0x1f75f2+0x1)*0x4,_0x5c3de1=this[_0x3fd1fa(0x3cf)]=[],_0x1c18f4=0x0;_0x1c18f4<_0x4b17d4;_0x1c18f4++)_0x1c18f4<_0x297240?_0x5c3de1[_0x1c18f4]=_0x3fca76[_0x1c18f4]:(_0x4a240e=_0x5c3de1[_0x1c18f4-0x1],_0x1c18f4%_0x297240?_0x297240>0x6&&_0x1c18f4%_0x297240==0x4&&(_0x4a240e=_0x31a6c0[_0x4a240e>>>0x18]<<0x18|_0x31a6c0[_0x4a240e>>>0x10&0xff]<<0x10|_0x31a6c0[_0x4a240e>>>0x8&0xff]<<0x8|_0x31a6c0[_0x4a240e&0xff]):(_0x4a240e=_0x4a240e<<0x8|_0x4a240e>>>0x18,_0x4a240e=_0x31a6c0[_0x4a240e>>>0x18]<<0x18|_0x31a6c0[_0x4a240e>>>0x10&0xff]<<0x10|_0x31a6c0[_0x4a240e>>>0x8&0xff]<<0x8|_0x31a6c0[_0x4a240e&0xff],_0x4a240e^=_0x118954[_0x1c18f4/_0x297240|0x0]<<0x18),_0x5c3de1[_0x1c18f4]=_0x5c3de1[_0x1c18f4-_0x297240]^_0x4a240e);for(var _0x1ac713=this['_invKeySchedule']=[],_0x4511f6=0x0;_0x4511f6<_0x4b17d4;_0x4511f6++){var _0x1c18f4=_0x4b17d4-_0x4511f6;if(_0x4511f6%0x4)var _0x4a240e=_0x5c3de1[_0x1c18f4];else var _0x4a240e=_0x5c3de1[_0x1c18f4-0x4];_0x4511f6<0x4||_0x1c18f4<=0x4?_0x1ac713[_0x4511f6]=_0x4a240e:_0x1ac713[_0x4511f6]=_0x239738[_0x31a6c0[_0x4a240e>>>0x18]]^_0x4970b2[_0x31a6c0[_0x4a240e>>>0x10&0xff]]^_0x850fb3[_0x31a6c0[_0x4a240e>>>0x8&0xff]]^_0x3b958e[_0x31a6c0[_0x4a240e&0xff]];}}},'encryptBlock':function(_0x5349a1,_0x576bf5){const _0x3daef1=_0x51b821;this[_0x3daef1(0x4b9)](_0x5349a1,_0x576bf5,this[_0x3daef1(0x3cf)],_0x542ed7,_0xbfca72,_0x75f0b8,_0x26b978,_0x31a6c0);},'decryptBlock':function(_0x14d5e5,_0x20061d){const _0x3bef84=_0x51b821;var _0x5ef457=_0x14d5e5[_0x20061d+0x1];_0x14d5e5[_0x20061d+0x1]=_0x14d5e5[_0x20061d+0x3],_0x14d5e5[_0x20061d+0x3]=_0x5ef457,this[_0x3bef84(0x4b9)](_0x14d5e5,_0x20061d,this[_0x3bef84(0x2f7)],_0x239738,_0x4970b2,_0x850fb3,_0x3b958e,_0x2cadda);var _0x5ef457=_0x14d5e5[_0x20061d+0x1];_0x14d5e5[_0x20061d+0x1]=_0x14d5e5[_0x20061d+0x3],_0x14d5e5[_0x20061d+0x3]=_0x5ef457;},'_doCryptBlock':function(_0x4e75b7,_0x46ed08,_0x170d69,_0x2fdd85,_0x4a6391,_0x3e26f0,_0x397fa4,_0x3c2270){const _0x407ac0=_0x51b821;for(var _0x79cf82=this[_0x407ac0(0x2f6)],_0x45423c=_0x4e75b7[_0x46ed08]^_0x170d69[0x0],_0x24ecd4=_0x4e75b7[_0x46ed08+0x1]^_0x170d69[0x1],_0x16170c=_0x4e75b7[_0x46ed08+0x2]^_0x170d69[0x2],_0x5d7da7=_0x4e75b7[_0x46ed08+0x3]^_0x170d69[0x3],_0x2c486b=0x4,_0x57355c=0x1;_0x57355c<_0x79cf82;_0x57355c++){var _0x48a926=_0x2fdd85[_0x45423c>>>0x18]^_0x4a6391[_0x24ecd4>>>0x10&0xff]^_0x3e26f0[_0x16170c>>>0x8&0xff]^_0x397fa4[_0x5d7da7&0xff]^_0x170d69[_0x2c486b++],_0x495548=_0x2fdd85[_0x24ecd4>>>0x18]^_0x4a6391[_0x16170c>>>0x10&0xff]^_0x3e26f0[_0x5d7da7>>>0x8&0xff]^_0x397fa4[_0x45423c&0xff]^_0x170d69[_0x2c486b++],_0x2f7fc4=_0x2fdd85[_0x16170c>>>0x18]^_0x4a6391[_0x5d7da7>>>0x10&0xff]^_0x3e26f0[_0x45423c>>>0x8&0xff]^_0x397fa4[_0x24ecd4&0xff]^_0x170d69[_0x2c486b++],_0x528ee6=_0x2fdd85[_0x5d7da7>>>0x18]^_0x4a6391[_0x45423c>>>0x10&0xff]^_0x3e26f0[_0x24ecd4>>>0x8&0xff]^_0x397fa4[_0x16170c&0xff]^_0x170d69[_0x2c486b++];_0x45423c=_0x48a926,_0x24ecd4=_0x495548,_0x16170c=_0x2f7fc4,_0x5d7da7=_0x528ee6;}var _0x48a926=(_0x3c2270[_0x45423c>>>0x18]<<0x18|_0x3c2270[_0x24ecd4>>>0x10&0xff]<<0x10|_0x3c2270[_0x16170c>>>0x8&0xff]<<0x8|_0x3c2270[_0x5d7da7&0xff])^_0x170d69[_0x2c486b++],_0x495548=(_0x3c2270[_0x24ecd4>>>0x18]<<0x18|_0x3c2270[_0x16170c>>>0x10&0xff]<<0x10|_0x3c2270[_0x5d7da7>>>0x8&0xff]<<0x8|_0x3c2270[_0x45423c&0xff])^_0x170d69[_0x2c486b++],_0x2f7fc4=(_0x3c2270[_0x16170c>>>0x18]<<0x18|_0x3c2270[_0x5d7da7>>>0x10&0xff]<<0x10|_0x3c2270[_0x45423c>>>0x8&0xff]<<0x8|_0x3c2270[_0x24ecd4&0xff])^_0x170d69[_0x2c486b++],_0x528ee6=(_0x3c2270[_0x5d7da7>>>0x18]<<0x18|_0x3c2270[_0x45423c>>>0x10&0xff]<<0x10|_0x3c2270[_0x24ecd4>>>0x8&0xff]<<0x8|_0x3c2270[_0x16170c&0xff])^_0x170d69[_0x2c486b++];_0x4e75b7[_0x46ed08]=_0x48a926,_0x4e75b7[_0x46ed08+0x1]=_0x495548,_0x4e75b7[_0x46ed08+0x2]=_0x2f7fc4,_0x4e75b7[_0x46ed08+0x3]=_0x528ee6;},'keySize':0x100/0x20});_0x38ac56[_0x51b821(0x3a1)]=_0x1dfffe[_0x51b821(0x2db)](_0x5b3407);}()),_0x33336e[_0x6d08a6(0x3a1)];}));}(ji));var $a=ji['exports'];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x465309,_0x3b68e7){(function(_0x39c57c,_0x288ae0){const _0x2f4090=_0x54d3;_0x465309[_0x2f4090(0x3a4)]=_0x288ae0(ue());}(Z,function(_0x54668c){const _0x5019c6=_0x54d3;return _0x54668c['enc'][_0x5019c6(0x572)];}));}(Fi));var Ba=Fi[_0x1a7f07(0x3a4)];const ka=at(Ba);var Vi={'exports':{}};(function(_0x43f913,_0x101315){(function(_0x45d1ae,_0x2b0934){const _0x142535=_0x54d3;_0x43f913[_0x142535(0x3a4)]=_0x2b0934(ue());}(Z,function(_0x4926ef){return(function(){const _0x3006d5=_0x54d3;if(typeof ArrayBuffer==_0x3006d5(0x494)){var _0x3ef2ce=_0x4926ef,_0x276c8a=_0x3ef2ce[_0x3006d5(0x525)],_0x1620c7=_0x276c8a['WordArray'],_0x4ec33d=_0x1620c7[_0x3006d5(0x3ae)],_0x56f182=_0x1620c7[_0x3006d5(0x3ae)]=function(_0x29d1bc){const _0x400370=_0x3006d5;if(_0x29d1bc instanceof ArrayBuffer&&(_0x29d1bc=new Uint8Array(_0x29d1bc)),(_0x29d1bc instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x29d1bc instanceof Uint8ClampedArray||_0x29d1bc instanceof Int16Array||_0x29d1bc instanceof Uint16Array||_0x29d1bc instanceof Int32Array||_0x29d1bc instanceof Uint32Array||_0x29d1bc instanceof Float32Array||_0x29d1bc instanceof Float64Array)&&(_0x29d1bc=new Uint8Array(_0x29d1bc['buffer'],_0x29d1bc[_0x400370(0x42a)],_0x29d1bc['byteLength'])),_0x29d1bc instanceof Uint8Array){for(var _0xb3f42a=_0x29d1bc['byteLength'],_0x4769b5=[],_0x36d9e0=0x0;_0x36d9e0<_0xb3f42a;_0x36d9e0++)_0x4769b5[_0x36d9e0>>>0x2]|=_0x29d1bc[_0x36d9e0]<<0x18-_0x36d9e0%0x4*0x8;_0x4ec33d[_0x400370(0x4bb)](this,_0x4769b5,_0xb3f42a);}else _0x4ec33d[_0x400370(0x49a)](this,arguments);};_0x56f182['prototype']=_0x1620c7;}}()),_0x4926ef['lib']['WordArray'];}));}(Vi));var Wa=Vi[_0x1a7f07(0x3a4)];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x2ef3d5,_0x30963a){(function(_0x33181f,_0x4a946f,_0x49aa77){const _0x408e59=_0x54d3;_0x2ef3d5[_0x408e59(0x3a4)]=_0x4a946f(ue(),Wi());}(Z,function(_0x28bc87){const _0xdd2da1=_0x54d3;return _0x28bc87[_0xdd2da1(0x1dc)][_0xdd2da1(0x57e)]={'pad':function(){},'unpad':function(){}},_0x28bc87['pad']['NoPadding'];}));}(Gi));var Va=Gi[_0x1a7f07(0x3a4)];const Ga=at(Va);function Ya(_0x1af6f1,_0x2a1b99){const _0x15c0c8=_0x1a7f07,_0x133368=_0x2a1b99-_0x1af6f1['length']%_0x2a1b99,_0x7f0efa=String['fromCharCode'](_0x133368)[_0x15c0c8(0x392)](_0x133368);return _0x1af6f1+_0x7f0efa;}function Ka(_0x3f2a95,_0x37cdf9){const _0x1231ef=_0x1a7f07,_0x3ead33=Fa[_0x1231ef(0x463)](0x10),_0x50ec44=Ya(_0x3f2a95,0x10),_0xee4255=Ha[_0x1231ef(0x255)](ka['parse'](_0x50ec44),ii['parse'](_0x37cdf9),{'iv':_0x3ead33,'padding':Ga});return _0x3ead33['concat'](_0xee4255[_0x1231ef(0x268)])['toString'](ii);}function za(){const _0x2f7b1e=_0x1a7f07,_0x4f320f=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x4f320f){const _0x2f4286={'time':Math[_0x2f7b1e(0x358)](Date[_0x2f7b1e(0x3f7)]()/0x3e8),'domain':location['hostname']};return Ka(JSON['stringify'](_0x2f4286),_0x4f320f);}}var qa=Object[_0x1a7f07(0x5b3)],Xa=Object[_0x1a7f07(0x298)],Ja=(_0x1e65cb,_0x51a118,_0x301c61,_0x1db074)=>{const _0x1cfe51=_0x1a7f07;for(var _0x383d73=_0x1db074>0x1?void 0x0:_0x1db074?Xa(_0x51a118,_0x301c61):_0x51a118,_0x4689d8=_0x1e65cb[_0x1cfe51(0x5bc)]-0x1,_0x20b221;_0x4689d8>=0x0;_0x4689d8--)(_0x20b221=_0x1e65cb[_0x4689d8])&&(_0x383d73=(_0x1db074?_0x20b221(_0x51a118,_0x301c61,_0x383d73):_0x20b221(_0x383d73))||_0x383d73);return _0x1db074&&_0x383d73&&qa(_0x51a118,_0x301c61,_0x383d73),_0x383d73;},Za=(_0x509c6e,_0x163c03)=>(_0x1b0320,_0x564aba)=>_0x163c03(_0x1b0320,_0x564aba,_0x509c6e);let Tt=class{constructor(_0x505906){const _0x3435e1=_0x1a7f07;this[_0x3435e1(0x24d)]=_0x505906,this[_0x3435e1(0x594)]();}[_0x1a7f07(0x594)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x3a5cd1,_0x422b5d)=>{const _0x2760dc=_0x54d3,_0x1b67af=_0x3a5cd1[_0x2760dc(0x3bc)],_0x4d4650=za();return _0x4d4650&&_0x1b67af[_0x2760dc(0x3f4)](_0x2760dc(0x1ef),_0x4d4650),_0x422b5d(_0x3a5cd1);}});}};Tt=Ja([Za(0x0,_0x5cf6ec(_0x337047))],Tt);var Qa=Object[_0x1a7f07(0x5b3)],ec=Object[_0x1a7f07(0x298)],tc=(_0x654316,_0x474767,_0x50215b,_0x12fdb2)=>{const _0x3585bd=_0x1a7f07;for(var _0x5b578b=_0x12fdb2>0x1?void 0x0:_0x12fdb2?ec(_0x474767,_0x50215b):_0x474767,_0x34e34c=_0x654316[_0x3585bd(0x5bc)]-0x1,_0xecd20b;_0x34e34c>=0x0;_0x34e34c--)(_0xecd20b=_0x654316[_0x34e34c])&&(_0x5b578b=(_0x12fdb2?_0xecd20b(_0x474767,_0x50215b,_0x5b578b):_0xecd20b(_0x5b578b))||_0x5b578b);return _0x12fdb2&&_0x5b578b&&Qa(_0x474767,_0x50215b,_0x5b578b),_0x5b578b;},Xt=(_0x7a01f5,_0x4043dd)=>(_0x41bdde,_0x1cabab)=>_0x4043dd(_0x41bdde,_0x1cabab,_0x7a01f5);const sc=[_0x1a7f07(0x339),_0x1a7f07(0x50e),_0x1a7f07(0x5a3),_0x1a7f07(0x5a8),_0x1a7f07(0x4f2)],ic=0x5*0x400*0x400,nc=_0x1a7f07(0x42e),rc='/universer-api/stream/file/upload',oc=_0x1a7f07(0x40f),ac=_0x1a7f07(0x4a9);let hs=class{constructor(_0x214df6,_0x331b81,_0x7b91a6){const _0x4eb7bc=_0x1a7f07;g(this,_0x4eb7bc(0x254),0x0),g(this,_0x4eb7bc(0x39d),new _0x50574e()),g(this,'change$',this[_0x4eb7bc(0x39d)]),g(this,_0x4eb7bc(0x263),new Map()),(this[_0x4eb7bc(0x24d)]=_0x214df6,this[_0x4eb7bc(0x428)]=_0x331b81,this['_univerInstanceService']=_0x7b91a6);}[_0x1a7f07(0x567)](_0x1e72a5){const _0x57b401=_0x1a7f07;this[_0x57b401(0x254)]=_0x1e72a5,this[_0x57b401(0x39d)]['next'](_0x1e72a5);}[_0x1a7f07(0x3f8)](_0x1dfd83,_0x179f79){const _0x1a5893=_0x1a7f07;if(_0x179f79===_0x346cdb['BASE64']){const _0x1990b9=new Image();return _0x1990b9[_0x1a5893(0x2f5)]=_0x1dfd83,_0x1990b9;}return this[_0x1a5893(0x263)][_0x1a5893(0x59a)](_0x1dfd83);}[_0x1a7f07(0x490)](_0x20a7f4,_0x23b8bd,_0x353e13){const _0x4d2709=_0x1a7f07;_0x23b8bd===_0x346cdb[_0x4d2709(0x1d7)]||_0x353e13==null||this[_0x4d2709(0x263)]['set'](_0x20a7f4,_0x353e13);}async[_0x1a7f07(0x413)](_0x236575){const _0x373b66=_0x1a7f07;try{const _0x275578=this[_0x373b66(0x25c)](this[_0x373b66(0x5a1)](),''+_0x236575),_0x2fcfdd=(await this['_httpService'][_0x373b66(0x59a)](_0x275578))['body'];if(_0x2fcfdd[_0x373b66(0x3eb)]&&_0x2fcfdd[_0x373b66(0x3eb)][_0x373b66(0x434)]===Ri['OK']){const _0x287ca8=new URL(_0x2fcfdd['url'],this[_0x373b66(0x582)]())[_0x373b66(0x297)]();return Promise['resolve'](_0x287ca8);}return Promise[_0x373b66(0x57a)](_0x2fcfdd[_0x373b66(0x3eb)]);}catch(_0x20c52e){return Promise[_0x373b66(0x57a)](_0x20c52e);}}async[_0x1a7f07(0x351)](_0x55cf12){const _0x2cb19a=_0x1a7f07;let _0x2c2e38='';if(!sc[_0x2cb19a(0x41e)](_0x55cf12[_0x2cb19a(0x23c)]))return this[_0x2cb19a(0x284)](),Promise['reject'](new Error(_0x3ce856[_0x2cb19a(0x29e)]));if(_0x55cf12[_0x2cb19a(0x252)]>ic)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x3ce856['ERROR_EXCEED_SIZE']));try{const _0x4f1925=new FormData();_0x4f1925[_0x2cb19a(0x4dc)](_0x2cb19a(0x264),_0x55cf12);const _0x319d22=this[_0x2cb19a(0x44e)][_0x2cb19a(0x3db)](),_0x440737=_0x319d22==null?void 0x0:_0x319d22[_0x2cb19a(0x5c1)]();if(!_0x440737)throw new Error(_0x2cb19a(0x4d6));const _0x517c72=this['_getUploadFileURL']()+'?size='+_0x55cf12[_0x2cb19a(0x252)]['toString']()+_0x2cb19a(0x3c0)+yi['UnitEmbedded']+_0x2cb19a(0x223)+encodeURIComponent(_0x440737),_0x5c97b5=await(await fetch(_0x517c72,{'method':_0x2cb19a(0x212),'body':_0x4f1925}))[_0x2cb19a(0x563)]();if(typeof _0x5c97b5['FileId']!=_0x2cb19a(0x3b1))return this[_0x2cb19a(0x284)](),Promise[_0x2cb19a(0x57a)](new Error(_0x3ce856[_0x2cb19a(0x3d6)]));_0x2c2e38=_0x5c97b5['FileId'];}catch{return this[_0x2cb19a(0x284)](),Promise[_0x2cb19a(0x57a)](new Error(_0x3ce856[_0x2cb19a(0x3d6)]));}return new Promise((_0x57762d,_0xa01fd3)=>{const _0x5cc92b=new FileReader();_0x5cc92b['readAsDataURL'](_0x55cf12),_0x5cc92b['onload']=_0x448fb7=>{const _0x6c27d2=_0x54d3;var _0x440abb;const _0x3d883d=(_0x440abb=_0x448fb7[_0x6c27d2(0x4d8)])==null?void 0x0:_0x440abb[_0x6c27d2(0x2a5)];if(_0x3d883d==null){this[_0x6c27d2(0x284)](),_0xa01fd3(new Error(_0x3ce856['ERROR_IMAGE']));return;}const _0x105e0f=_0x235991[_0x6c27d2(0x59c)](0x6);_0x57762d({'imageId':_0x105e0f,'imageSourceType':_0x346cdb[_0x6c27d2(0x45a)],'source':_0x2c2e38,'base64Cache':_0x3d883d,'status':_0x3ce856[_0x6c27d2(0x3b2)]}),this[_0x6c27d2(0x284)]();};});}[_0x1a7f07(0x1d1)](){const _0x2a9118=_0x1a7f07;var _0x49982b,_0x2f3f9a;const _0x380aaf=this['_configService']['getConfig'](nc),_0x598a5a=this[_0x2a9118(0x428)][_0x2a9118(0x1bf)](ie);return(_0x2f3f9a=(_0x49982b=_0x598a5a==null?void 0x0:_0x598a5a[_0x2a9118(0x427)])!=null?_0x49982b:_0x380aaf)!=null?_0x2f3f9a:rc;}[_0x1a7f07(0x5a1)](){const _0x1c7073=_0x1a7f07;var _0x1350a5,_0x24c3c7;const _0x1df300=this[_0x1c7073(0x428)][_0x1c7073(0x1bf)](oc),_0x2865a3=this['_configService'][_0x1c7073(0x1bf)](ie);return(_0x24c3c7=(_0x1350a5=_0x2865a3==null?void 0x0:_0x2865a3[_0x1c7073(0x421)])!=null?_0x1350a5:_0x1df300)!=null?_0x24c3c7:ac;}[_0x1a7f07(0x582)](){const _0x5ef77f=_0x1a7f07;var _0x1a7a14;const _0xdbf8f7=this[_0x5ef77f(0x428)][_0x5ef77f(0x1bf)](ie);return(_0x1a7a14=_0xdbf8f7==null?void 0x0:_0xdbf8f7[_0x5ef77f(0x3e6)])!=null?_0x1a7a14:location[_0x5ef77f(0x2fb)];}['_replaceFileID'](_0x1b95c6,_0x157081){const _0x4aefff=_0x1a7f07;return _0x1b95c6[_0x4aefff(0x5ab)](_0x4aefff(0x588),_0x157081);}[_0x1a7f07(0x284)](){const _0x4aa4b5=_0x1a7f07;this['_waitCount']-=0x1,this[_0x4aa4b5(0x39d)][_0x4aa4b5(0x265)](this[_0x4aa4b5(0x254)]);}};hs=tc([Xt(0x0,_0x5cf6ec(_0x337047)),Xt(0x1,_0x34b905),Xt(0x2,_0x5cf6ec(_0x1726a1))],hs);var cc=Object['defineProperty'],hc=Object['getOwnPropertyDescriptor'],lc=(_0x37ec9e,_0x539b86,_0x440cee,_0x34e97f)=>{for(var _0x4daf86=_0x34e97f>0x1?void 0x0:_0x34e97f?hc(_0x539b86,_0x440cee):_0x539b86,_0x3aa711=_0x37ec9e['length']-0x1,_0x55be64;_0x3aa711>=0x0;_0x3aa711--)(_0x55be64=_0x37ec9e[_0x3aa711])&&(_0x4daf86=(_0x34e97f?_0x55be64(_0x539b86,_0x440cee,_0x4daf86):_0x55be64(_0x4daf86))||_0x4daf86);return _0x34e97f&&_0x4daf86&&cc(_0x539b86,_0x440cee,_0x4daf86),_0x4daf86;},Qe=(_0x57de06,_0x4e01ed)=>(_0x35f3ab,_0x3d1d64)=>_0x4e01ed(_0x35f3ab,_0x3d1d64,_0x57de06);let Rt=class extends _0x1cb902{constructor(_0x52b0c1,_0x73497d,_0x58f4f5,_0x4cb970,_0x131cd6){const _0x22c5e8=_0x1a7f07;super(),this[_0x22c5e8(0x4d5)]=_0x52b0c1,this['_univerInstanceService']=_0x73497d,this[_0x22c5e8(0x47b)]=_0x58f4f5,this[_0x22c5e8(0x2cd)]=_0x4cb970,this['_localeService']=_0x131cd6,this['_initUnitPermissionChange'](),this[_0x22c5e8(0x3d3)]();}[_0x1a7f07(0x3d3)](){const _0x3c660b=_0x1a7f07,_0x3b4fc0=async _0xa9b246=>{const _0x5b3d80=_0x54d3;(await this['_collaborationSessionService']['requireSession'](_0xa9b246))['event$'][_0x5b3d80(0x1cf)](_0x5cdcf5(_0x136af7=>_0x136af7[_0x5b3d80(0x215)]===_0x4e3c97[_0x5b3d80(0x585)]),_0x2d8749(this[_0x5b3d80(0x22c)]))['subscribe'](_0x56a9d6=>{const _0x13998b=_0x5b3d80,_0x3b6408=_0x56a9d6,{reason:_0x33a7da}=_0x3b6408[_0x13998b(0x32e)];this[_0x13998b(0x4d5)][_0x13998b(0x59a)](_0x521fac)['show']({'type':_0x4c03fa['Error'],'content':this[_0x13998b(0x47a)]['t'](_0x13998b(0x5cc))+'('+_0x33a7da+')'}),this[_0x13998b(0x47b)][_0x13998b(0x288)](new _0x5bdffd(_0xa9b246)['id'],!0x1),this['_collaborationSessionService'][_0x13998b(0x365)](_0xa9b246);});};_0x407b74(this[_0x3c660b(0x44e)][_0x3c660b(0x5b8)](_0x31d58f[_0x3c660b(0x3a2)]),this[_0x3c660b(0x44e)][_0x3c660b(0x5b8)](_0x31d58f[_0x3c660b(0x51a)]))[_0x3c660b(0x1cf)](_0x4e0bfc(_0x50b9f3=>_0x50b9f3[_0x3c660b(0x5c1)]()),_0x5cdcf5(_0x54b499=>!_0x47f4f5(_0x54b499)),_0x2d8749(this['dispose$']))[_0x3c660b(0x29f)](_0x49be40=>{_0x3b4fc0(_0x49be40);});}[_0x1a7f07(0x24b)](){const _0x360a90=_0x1a7f07,_0x4acd47=async _0x35562a=>{const _0x5bfbb2=_0x54d3;(await this['_collaborationSessionService'][_0x5bfbb2(0x2ad)](_0x35562a))[_0x5bfbb2(0x46f)][_0x5bfbb2(0x1cf)](_0x5cdcf5(_0x9fc4ed=>_0x9fc4ed['eventID']===_0x4e3c97[_0x5bfbb2(0x576)]),_0x2d8749(this[_0x5bfbb2(0x22c)]))[_0x5bfbb2(0x29f)](_0x2bd1f0=>{const _0x1f357c=_0x5bfbb2,_0x44fe31=_0x2bd1f0,{objectId:_0x5a42d8}=_0x44fe31['data'],_0x2696df=this[_0x1f357c(0x4d5)][_0x1f357c(0x59a)](_0xdfbf90);_0x5a42d8===_0x35562a?_0x2696df['initWorkbookPermissionChange'](_0x35562a):_0x2696df[_0x1f357c(0x4cf)](_0x35562a,_0x5a42d8);});};_0x407b74(this[_0x360a90(0x44e)][_0x360a90(0x5b8)](_0x31d58f['UNIVER_SHEET']),this[_0x360a90(0x44e)][_0x360a90(0x5b8)](_0x31d58f['UNIVER_DOC']))['pipe'](_0x4e0bfc(_0x1f5159=>_0x1f5159[_0x360a90(0x5c1)]()),_0x5cdcf5(_0x5678e6=>!_0x47f4f5(_0x5678e6)),_0x2d8749(this[_0x360a90(0x22c)]))['subscribe'](_0x52d089=>{_0x4acd47(_0x52d089);});}};Rt=lc([Qe(0x0,_0x5cf6ec(_0xc0c089)),Qe(0x1,_0x1726a1),Qe(0x2,_0x1083e0),Qe(0x3,_0x5cf6ec(Ae)),Qe(0x4,_0x5cf6ec(_0x51f47a))],Rt);var _c=Object[_0x1a7f07(0x5b3)],uc=Object['getOwnPropertyDescriptor'],dc=(_0x2a7f1e,_0x3ee43a,_0x3682b0,_0xbdfa05)=>{const _0x4e63e6=_0x1a7f07;for(var _0x15eaf4=_0xbdfa05>0x1?void 0x0:_0xbdfa05?uc(_0x3ee43a,_0x3682b0):_0x3ee43a,_0x4c033c=_0x2a7f1e[_0x4e63e6(0x5bc)]-0x1,_0x24a6bb;_0x4c033c>=0x0;_0x4c033c--)(_0x24a6bb=_0x2a7f1e[_0x4c033c])&&(_0x15eaf4=(_0xbdfa05?_0x24a6bb(_0x3ee43a,_0x3682b0,_0x15eaf4):_0x24a6bb(_0x15eaf4))||_0x15eaf4);return _0xbdfa05&&_0x15eaf4&&_c(_0x3ee43a,_0x3682b0,_0x15eaf4),_0x15eaf4;},ni=(_0x84ddd0,_0x29440a)=>(_0x9f39e8,_0x4ff807)=>_0x29440a(_0x9f39e8,_0x4ff807,_0x84ddd0);let ls=class{constructor(_0x4799c2,_0x18580f){const _0x17a7a5=_0x1a7f07;this[_0x17a7a5(0x428)]=_0x4799c2,this[_0x17a7a5(0x24d)]=_0x18580f;}async['getUnitOnRev'](_0x587ab9,_0x5e79ee){const _0x33204b=_0x1a7f07;var _0x29919a;const {unitID:_0xac132d,type:_0x41b15f,revision:_0x4fece6=0x0}=_0x5e79ee,_0x92424a=this[_0x33204b(0x4d4)]()+'/'+_0x41b15f+_0x33204b(0x27f)+_0xac132d+_0x33204b(0x3cb)+_0x4fece6,_0x5753d0=(await this[_0x33204b(0x24d)][_0x33204b(0x59a)](_0x92424a))[_0x33204b(0x312)],_0x479282=(_0x29919a=_0x5753d0[_0x33204b(0x211)])==null?void 0x0:_0x29919a[_0x33204b(0x2ca)];if(_0x479282){const _0x33ac06=_0x479282==null?void 0x0:_0x479282[_0x33204b(0x385)],_0x42f86e=_0x1c89a9[_0x33204b(0x4ca)](_0x330a6d(_0x33ac06));_0x479282[_0x33204b(0x385)]=_0x42f86e,Object[_0x33204b(0x555)](_0x479282['sheets'])[_0x33204b(0x547)](([,_0x3fc174])=>{const _0x4369c5=_0x33204b,_0x354e7b=_0x3fc174[_0x4369c5(0x385)],_0x348a0c=_0x1c89a9[_0x4369c5(0x4ca)](_0x330a6d(_0x354e7b));_0x3fc174[_0x4369c5(0x385)]=_0x348a0c;});}return _0x5753d0;}async['getSheetBlock'](_0x40096c,_0x16d69a){const _0xc5cb5e=_0x1a7f07,{unitID:_0x3b65fe,type:_0x27b7cd,blockID:_0xbebb0b}=_0x16d69a,_0x4add0a=this[_0xc5cb5e(0x322)]()+'/'+_0x27b7cd+_0xc5cb5e(0x27f)+_0x3b65fe+_0xc5cb5e(0x2cb)+_0xbebb0b;return(await this[_0xc5cb5e(0x24d)][_0xc5cb5e(0x59a)](_0x4add0a))[_0xc5cb5e(0x312)];}async[_0x1a7f07(0x38e)](_0x26d890,_0x48e6a1){const _0x173df2=_0x1a7f07,{unitID:_0x178db7,type:_0x1bb987,blockID:_0x54c002}=_0x48e6a1,_0x588a80=this['_getAPIPrefix']()+'/block/'+_0x1bb987+_0x173df2(0x27f)+_0x178db7+_0x173df2(0x2cb)+_0x54c002;return(await this['_httpService'][_0x173df2(0x59a)](_0x588a80))['body'];}async[_0x1a7f07(0x36d)](_0x353b07,_0x4b0e9d){const _0x35b3f2=_0x1a7f07,{unitID:_0x3c4596,type:_0xfa1870,from:_0x30bd89,to:_0x1b5579}=_0x4b0e9d,_0x5e30db=this[_0x35b3f2(0x322)]()+'/'+_0xfa1870+_0x35b3f2(0x27f)+_0x3c4596+_0x35b3f2(0x52f)+_0x30bd89+_0x35b3f2(0x2bc)+_0x1b5579;return(await this['_httpService'][_0x35b3f2(0x59a)](_0x5e30db))[_0x35b3f2(0x312)];}['_getSnapshotAPIPrefix'](){const _0x2798bb=_0x1a7f07;var _0xe18dc3;return(_0xe18dc3=this[_0x2798bb(0x428)][_0x2798bb(0x1bf)](ar))!=null?_0xe18dc3:this[_0x2798bb(0x322)]();}[_0x1a7f07(0x322)](){const _0x31c49a=_0x1a7f07;var _0x207a97,_0x46e29e;const _0x52fe96=this[_0x31c49a(0x428)]['getConfig'](rr),_0x500dbd=this[_0x31c49a(0x428)][_0x31c49a(0x1bf)](ie);return(_0x46e29e=(_0x207a97=_0x500dbd==null?void 0x0:_0x500dbd[_0x31c49a(0x32f)])!=null?_0x207a97:_0x52fe96)!=null?_0x46e29e:or;}async['getResourcesRequest'](_0x4fa95e,_0xf6649a){const _0x4c8e07=_0x1a7f07,_0x505c18=_0x4c8e07(0x2a0)+_0xf6649a[_0x4c8e07(0x23c)]+'/unit/'+_0xf6649a[_0x4c8e07(0x5b2)]+_0x4c8e07(0x4fb);return(await this[_0x4c8e07(0x24d)]['get'](_0x505c18,{'params':{'resourceId':JSON[_0x4c8e07(0x52c)](_0xf6649a[_0x4c8e07(0x308)])}}))[_0x4c8e07(0x312)];}[_0x1a7f07(0x491)](){const _0x363050=_0x1a7f07;throw new Error(_0x363050(0x4fc));}[_0x1a7f07(0x406)](){const _0x1ee543=_0x1a7f07;throw new Error(_0x1ee543(0x4fc));}[_0x1a7f07(0x20c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1a7f07(0x27a)](){const _0x4f8ae6=_0x1a7f07;throw new Error(_0x4f8ae6(0x4fc));}[_0x1a7f07(0x346)](){const _0x112432=_0x1a7f07;throw new Error(_0x112432(0x4fc));}};ls=dc([ni(0x0,_0x34b905),ni(0x1,_0x5cf6ec(_0x337047))],ls);var fc=Object[_0x1a7f07(0x5b3)],vc=Object['getOwnPropertyDescriptor'],mc=(_0x2470fe,_0x43052b,_0x4a1eb4,_0x4f336c)=>{const _0x43efe0=_0x1a7f07;for(var _0x296ee7=_0x4f336c>0x1?void 0x0:_0x4f336c?vc(_0x43052b,_0x4a1eb4):_0x43052b,_0x1b73bb=_0x2470fe[_0x43efe0(0x5bc)]-0x1,_0x1e6722;_0x1b73bb>=0x0;_0x1b73bb--)(_0x1e6722=_0x2470fe[_0x1b73bb])&&(_0x296ee7=(_0x4f336c?_0x1e6722(_0x43052b,_0x4a1eb4,_0x296ee7):_0x1e6722(_0x296ee7))||_0x296ee7);return _0x4f336c&&_0x296ee7&&fc(_0x43052b,_0x4a1eb4,_0x296ee7),_0x296ee7;},et=(_0x6c5cb8,_0xa52185)=>(_0x55743b,_0x27754c)=>_0xa52185(_0x55743b,_0x27754c,_0x6c5cb8);let _s=class extends _0x3c699e{constructor(_0x2ca6b6,_0x4ddd32,_0xf5588e,_0x4f9636,_0x67e51f){const _0x27b06f=_0x1a7f07;super(_0x2ca6b6,_0x4ddd32,_0xf5588e),this[_0x27b06f(0x4af)]=_0x4f9636,this[_0x27b06f(0x345)]=_0x67e51f;}[_0x1a7f07(0x243)](_0x1cc529,_0xad62b9){const _0x5d9a4c=_0x1a7f07,_0x5134d=this[_0x5d9a4c(0x2f1)](_0x1cc529);if(_0x5134d)try{const _0x29acf0=this[_0x5d9a4c(0x3f2)](_0x5134d,_0xad62b9);this['_substituteUndoStack'](_0x1cc529,_0x29acf0);}catch(_0x59b373){this[_0x5d9a4c(0x345)][_0x5d9a4c(0x3eb)](_0x5d9a4c(0x2c1),_0x59b373),this['_clearUndo'](_0x1cc529);}const _0x57f634=this[_0x5d9a4c(0x274)](_0x1cc529);if(_0x57f634)try{const _0x15514f=this['_transformStack'](_0x57f634,_0xad62b9);this[_0x5d9a4c(0x2b1)](_0x1cc529,_0x15514f);}catch(_0x4333dc){this[_0x5d9a4c(0x345)][_0x5d9a4c(0x3eb)](_0x4333dc),this[_0x5d9a4c(0x47e)](_0x1cc529);}}[_0x1a7f07(0x4f6)](_0x205a49){const _0x11b861=_0x1a7f07,_0x424003=this['_getUndoStack'](_0x205a49);_0x424003&&(_0x424003[_0x11b861(0x5bc)]=0x0,this[_0x11b861(0x2cc)]());}[_0x1a7f07(0x47e)](_0x4fefc5){const _0x3f49ac=_0x1a7f07,_0x190824=this['_getRedoStack'](_0x4fefc5);_0x190824&&(_0x190824['length']=0x0,this[_0x3f49ac(0x2cc)]());}[_0x1a7f07(0x26d)](_0x4f9faa,_0xb2d9cc){const _0x264421=_0x1a7f07;this[_0x264421(0x31c)][_0x264421(0x3f4)](_0x4f9faa,_0xb2d9cc),this['_updateStatus']();}[_0x1a7f07(0x2b1)](_0x92d701,_0xb504b6){const _0x5cd1c3=_0x1a7f07;this[_0x5cd1c3(0x309)]['set'](_0x92d701,_0xb504b6),this[_0x5cd1c3(0x2cc)]();}[_0x1a7f07(0x3f2)](_0x1e03a4,_0x1585a3){const _0x241636=_0x1a7f07,_0x3f3daf=[];let _0x449368=_0x1585a3,_0x4b05c4=_0x1585a3;for(let _0x3aea44=_0x1e03a4[_0x241636(0x5bc)]-0x1;_0x3aea44>=0x0;_0x3aea44--){const {unitID:_0x1285e1,undoMutations:_0x5050ff,redoMutations:_0xd8413c}=_0x1e03a4[_0x3aea44],_0x306643=this[_0x241636(0x4af)][_0x241636(0x469)](_0x449368,_0x5050ff),_0x2e4bc6=this[_0x241636(0x4af)][_0x241636(0x469)](_0x4b05c4,_0xd8413c);if(_0xa87d82(_0x306643)||_0xa87d82(_0x2e4bc6)){this[_0x241636(0x345)][_0x241636(0x3eb)](_0x241636(0x2c1),_0x241636(0x556),_0x306643,_0x2e4bc6);break;}_0x449368=_0x306643[_0x241636(0x435)],_0x4b05c4=_0x2e4bc6['c1Prime'],_0x3f3daf[_0x241636(0x4b6)]({'unitID':_0x1285e1,'undoMutations':_0x306643[_0x241636(0x2e3)],'redoMutations':_0x2e4bc6[_0x241636(0x2e3)]});}return _0x3f3daf[_0x241636(0x1d9)]();}};_s=mc([et(0x0,_0x1726a1),et(0x1,_0x322b66),et(0x2,_0x49ed20),et(0x3,_0x2746ae),et(0x4,_0x1e210b)],_s);class pc extends _0x1cb902{constructor(){const _0x2e6f9b=_0x1a7f07;super(),g(this,_0x2e6f9b(0x5c9)),this[_0x2e6f9b(0x5c9)]=_0x47503d(window,_0x2e6f9b(0x396))['pipe'](_0x171184(this['dispose$']),_0x2b0828(0x1),_0x527bfc(void 0x0));}[_0x1a7f07(0x5a5)](_0x3cf9b3,_0x1fc751,_0x1c2fdd=!0x1){const _0x1a6e0c=_0x1a7f07,_0x4108c3=new URL(window[_0x1a6e0c(0x51d)]['href']);_0x4108c3[_0x1a6e0c(0x1da)]['set'](_0x3cf9b3,_0x1fc751),_0x1c2fdd?window['history'][_0x1a6e0c(0x4ba)]('','',_0x4108c3[_0x1a6e0c(0x297)]()):window[_0x1a6e0c(0x5c6)][_0x1a6e0c(0x3a0)]('','',_0x4108c3[_0x1a6e0c(0x297)]());}[_0x1a7f07(0x1d3)](_0x11289d,_0x382326=!0x1){const _0x47fece=_0x1a7f07,_0x436208=new URL(window[_0x47fece(0x51d)]['href']);_0x436208[_0x47fece(0x1da)][_0x47fece(0x473)](_0x11289d),_0x382326?window[_0x47fece(0x5c6)]['replaceState']('','',_0x436208[_0x47fece(0x297)]()):window['history'][_0x47fece(0x3a0)]('','',_0x436208[_0x47fece(0x297)]());}[_0x1a7f07(0x23e)](_0x420dd5){const _0x379432=_0x1a7f07;var _0x55e8fb;return(_0x55e8fb=new URL(window[_0x379432(0x51d)][_0x379432(0x407)])[_0x379432(0x1da)][_0x379432(0x59a)](_0x420dd5))!=null?_0x55e8fb:void 0x0;}}var Yi=Object['defineProperty'],gc=Object[_0x1a7f07(0x298)],Sc=(_0x438d05,_0x547172,_0x363155)=>_0x547172 in _0x438d05?Yi(_0x438d05,_0x547172,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x363155}):_0x438d05[_0x547172]=_0x363155,Ic=(_0x4cc60e,_0x16c0ae,_0x4d18b,_0x4d5b34)=>{const _0x4423b6=_0x1a7f07;for(var _0x1a1b5b=_0x4d5b34>0x1?void 0x0:_0x4d5b34?gc(_0x16c0ae,_0x4d18b):_0x16c0ae,_0x1fac98=_0x4cc60e[_0x4423b6(0x5bc)]-0x1,_0xe33823;_0x1fac98>=0x0;_0x1fac98--)(_0xe33823=_0x4cc60e[_0x1fac98])&&(_0x1a1b5b=(_0x4d5b34?_0xe33823(_0x16c0ae,_0x4d18b,_0x1a1b5b):_0xe33823(_0x1a1b5b))||_0x1a1b5b);return _0x4d5b34&&_0x1a1b5b&&Yi(_0x16c0ae,_0x4d18b,_0x1a1b5b),_0x1a1b5b;},_t=(_0x39c2b5,_0x529f72)=>(_0xdd3c5a,_0x375d67)=>_0x529f72(_0xdd3c5a,_0x375d67,_0x39c2b5),Cc=(_0x23d55d,_0x2f7974,_0x4c8108)=>Sc(_0x23d55d,_0x2f7974+'',_0x4c8108);const Ec=_0x1a7f07(0x432);let us=class extends _0x1dbbfd{constructor(_0x105ad4=Er,_0x34b056,_0x14cdee,_0x5424d1,_0x675be9){const _0x263263=_0x1a7f07;super(),this['_config']=_0x105ad4,this[_0x263263(0x345)]=_0x34b056,this[_0x263263(0x1e2)]=_0x14cdee,this[_0x263263(0x4d5)]=_0x5424d1,this['_configService']=_0x675be9;const {..._0x66bea9}=this[_0x263263(0x1e0)];this[_0x263263(0x428)]['setConfig'](ie,_0x66bea9);}[_0x1a7f07(0x2c8)](){const _0x4ef381=_0x1a7f07;this[_0x4ef381(0x4f0)](),this[_0x4ef381(0x5b6)]();}[_0x1a7f07(0x32c)](){_0x9ace4b(this['_injector'],[[Et]]);}[_0x1a7f07(0x2c3)](){const _0x52a471=_0x1a7f07;this[_0x52a471(0x378)]();}[_0x1a7f07(0x4f0)](){const _0x51b95a=_0x1a7f07;var _0x3a51e5,_0xa4830b,_0x56a200,_0x58e492;this[_0x51b95a(0x4d5)][_0x51b95a(0x581)](_0x5c2e54)&&this[_0x51b95a(0x345)][_0x51b95a(0x3eb)]('[UniverCollaborationClientPlugin]',_0x51b95a(0x1e9));const _0x3bffc2=[[_0x5c2e54,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x138fc4],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0xa4830b=(_0x3a51e5=this[_0x51b95a(0x1e0)])==null?void 0x0:_0x3a51e5['socketService'])!=null?_0xa4830b:es}],[_0x5670c4,{'useClass':ls}],[_0x568d25,{'useClass':cs}],[_0xe3ad09,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x56a200=this[_0x51b95a(0x1e0)])!=null&&_0x56a200[_0x51b95a(0x210)]&&_0x3bffc2['push']([yt,{'useClass':so}]),_0x3cc00e(this[_0x51b95a(0x4d5)],_0x4907d0(_0x3bffc2,(_0x58e492=this[_0x51b95a(0x1e0)])==null?void 0x0:_0x58e492[_0x51b95a(0x31a)]));}[_0x1a7f07(0x378)](){const _0x2f5dc4=_0x1a7f07;this[_0x2f5dc4(0x4b1)](this[_0x2f5dc4(0x1e2)]['registerRenderModule'](_0x31d58f[_0x2f5dc4(0x51a)],[os])),this[_0x2f5dc4(0x4b1)](this[_0x2f5dc4(0x1e2)][_0x2f5dc4(0x2b5)](_0x31d58f[_0x2f5dc4(0x3a2)],[as]));}[_0x1a7f07(0x5b6)](){const _0x108048=_0x1a7f07;var _0x42b018,_0xbf0c;this[_0x108048(0x4d5)][_0x108048(0x59a)](_0x337047)[_0x108048(0x52a)]({'priority':0x14,'interceptor':_0x1afce2({'maxParallel':0x6})}),(_0x42b018=this['_config'])!=null&&_0x42b018[_0x108048(0x2dd)]||this[_0x108048(0x4d5)]['get'](q)[_0x108048(0x4ef)](),(_0xbf0c=this[_0x108048(0x1e0)])!=null&&_0xbf0c[_0x108048(0x580)]&&_0x9ace4b(this[_0x108048(0x4d5)],[[bt]]),_0x9ace4b(this[_0x108048(0x4d5)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0x1a7f07(0x204),Ec),us=Ic([_0x12c346(_0x2f2f43,_0x2a32af),_t(0x1,_0x1e210b),_t(0x2,_0xa3e106),_t(0x3,_0x5cf6ec(_0xc0c089)),_t(0x4,_0x34b905)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,kc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,pc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};