@univerjs-pro/collaboration-client 0.5.0-nightly.202411171605 → 0.5.0-nightly.202411191606
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/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/index.d.ts +2 -0
- package/lib/types/services/mention-server/mention-io-http.service.d.ts +9 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const _0x3c9859=_0x1e8f;(function(_0x1aa55c,_0x4983ec){const _0x1bdb9c=_0x1e8f,_0x367098=_0x1aa55c();while(!![]){try{const _0x4675b8=-parseInt(_0x1bdb9c(0x48b))/0x1+-parseInt(_0x1bdb9c(0x206))/0x2+-parseInt(_0x1bdb9c(0x467))/0x3+parseInt(_0x1bdb9c(0x25b))/0x4*(parseInt(_0x1bdb9c(0x370))/0x5)+-parseInt(_0x1bdb9c(0x315))/0x6*(parseInt(_0x1bdb9c(0x2d3))/0x7)+parseInt(_0x1bdb9c(0x4bf))/0x8+parseInt(_0x1bdb9c(0x222))/0x9;if(_0x4675b8===_0x4983ec)break;else _0x367098['push'](_0x367098['shift']());}catch(_0x875344){_0x367098['push'](_0x367098['shift']());}}}(_0x1e19,0x78ae7));var Ln=Object['defineProperty'],xn=(_0x1b9371,_0x648947,_0x159e2d)=>_0x648947 in _0x1b9371?Ln(_0x1b9371,_0x648947,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x159e2d}):_0x1b9371[_0x648947]=_0x159e2d,I=(_0x497c52,_0x527bfb,_0x355d1f)=>xn(_0x497c52,typeof _0x527bfb!=_0x3c9859(0x627)?_0x527bfb+'':_0x527bfb,_0x355d1f);Object['defineProperty'](exports,Symbol[_0x3c9859(0x4db)],{'value':_0x3c9859(0x3de)});const a=require('@univerjs/core'),A=require(_0x3c9859(0x660)),V=require(_0x3c9859(0x40f)),Ie=require('@univerjs/design'),J=require(_0x3c9859(0x5a7)),te=require('@univerjs/ui'),p=require(_0x3c9859(0x4a7)),jn=require(_0x3c9859(0x594)),Z=require(_0x3c9859(0x388)),B=require(_0x3c9859(0x5ac)),K=require(_0x3c9859(0x31f)),ye=require(_0x3c9859(0x4e4)),ne=require(_0x3c9859(0x3ef)),Pt=require(_0x3c9859(0x3f5)),Re=require(_0x3c9859(0x4a1)),ae=require(_0x3c9859(0x377)),$n=require(_0x3c9859(0x440)),Zt=_0x3c9859(0x3d5),Hn='/universer-api/snapshot',Qt=_0x3c9859(0x3ea),kn=_0x3c9859(0x5ea),Bn=0x7d0,en=_0x3c9859(0x5c4),Wn=_0x3c9859(0x490),Fn=_0x3c9859(0x259),tn=_0x3c9859(0x2f0),Vn=0x7530,Ct=_0x3c9859(0x51c),nn=0x4e20,Gn=0x4e20,sn=_0x3c9859(0x3d7),Yn=0x3,rn='LOCAL_CACHE_INTERVAL',Kn=0x3e8,on=_0x3c9859(0x616),qn='/universer-api/comb',an='LOGIN_URL_KEY',zn=_0x3c9859(0x50e);var cn=(_0xac857e=>(_0xac857e[_0xac857e[_0x3c9859(0x46d)]=0x0]='UNDEFINED',_0xac857e[_0xac857e['OK']=0x1]='OK',_0xac857e[_0xac857e[_0x3c9859(0x538)]=0x2]=_0x3c9859(0x538),_0xac857e[_0xac857e[_0x3c9859(0x5f6)]=0x3]=_0x3c9859(0x5f6),_0xac857e[_0xac857e[_0x3c9859(0x5b1)]=0x4]=_0x3c9859(0x5b1),_0xac857e[_0xac857e[_0x3c9859(0x269)]=0x5]=_0x3c9859(0x269),_0xac857e[_0xac857e[_0x3c9859(0x51f)]=0x6]=_0x3c9859(0x51f),_0xac857e[_0xac857e['INVALID_ARGUMENT']=0x7]=_0x3c9859(0x2eb),_0xac857e[_0xac857e[_0x3c9859(0x64c)]=0x8]=_0x3c9859(0x64c),_0xac857e[_0xac857e[_0x3c9859(0x291)]=0x9]='COMPLETION_FINISHED',_0xac857e[_0xac857e[_0x3c9859(0x65b)]=0x1389]=_0x3c9859(0x65b),_0xac857e[_0xac857e[_0x3c9859(0x539)]=0x1771]=_0x3c9859(0x539),_0xac857e[_0xac857e[_0x3c9859(0x512)]=0x1772]=_0x3c9859(0x512),_0xac857e[_0xac857e[_0x3c9859(0x672)]=0x1773]=_0x3c9859(0x672),_0xac857e[_0xac857e[_0x3c9859(0x2e6)]=0x1b59]=_0x3c9859(0x2e6),_0xac857e[_0xac857e[_0x3c9859(0x4b8)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xac857e[_0xac857e['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0xac857e[_0xac857e[_0x3c9859(0x4b4)]=0x1b5c]=_0x3c9859(0x4b4),_0xac857e[_0xac857e[_0x3c9859(0x4d8)]=0x1b5d]='APPLY_DUPLICATED',_0xac857e[_0xac857e[_0x3c9859(0x35d)]=0x1f41]=_0x3c9859(0x35d),_0xac857e[_0xac857e[_0x3c9859(0x2f2)]=0x2329]=_0x3c9859(0x2f2),_0xac857e[_0xac857e[_0x3c9859(0x1c0)]=0x232a]=_0x3c9859(0x1c0),_0xac857e[_0xac857e[_0x3c9859(0x4fb)]=0x232b]=_0x3c9859(0x4fb),_0xac857e[_0xac857e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3c9859(0x393),_0xac857e[_0xac857e[_0x3c9859(0x55b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xac857e[_0xac857e[_0x3c9859(0x526)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xac857e[_0xac857e['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3c9859(0x4f2),_0xac857e[_0xac857e[_0x3c9859(0x3f4)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xac857e[_0xac857e[_0x3c9859(0x646)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xac857e[_0xac857e[_0x3c9859(0x39d)]=-0x1]=_0x3c9859(0x39d),_0xac857e))(cn||{}),ie=(_0x100051=>(_0x100051[_0x100051[_0x3c9859(0x4cb)]=0x0]=_0x3c9859(0x4cb),_0x100051[_0x100051[_0x3c9859(0x254)]=0x1]=_0x3c9859(0x254),_0x100051[_0x100051[_0x3c9859(0x1e9)]=0x2]=_0x3c9859(0x1e9),_0x100051[_0x100051[_0x3c9859(0x3b6)]=0x3]=_0x3c9859(0x3b6),_0x100051[_0x100051[_0x3c9859(0x258)]=0x4]=_0x3c9859(0x258),_0x100051[_0x100051[_0x3c9859(0x39d)]=-0x1]=_0x3c9859(0x39d),_0x100051))(ie||{}),G=(_0x4cd808=>(_0x4cd808[_0x4cd808[_0x3c9859(0x294)]=0x0]=_0x3c9859(0x294),_0x4cd808[_0x4cd808[_0x3c9859(0x406)]=0x1]=_0x3c9859(0x406),_0x4cd808[_0x4cd808['JOIN']=0x2]='JOIN',_0x4cd808[_0x4cd808['LEAVE']=0x3]='LEAVE',_0x4cd808[_0x4cd808[_0x3c9859(0x61f)]=0x4]=_0x3c9859(0x61f),_0x4cd808[_0x4cd808[_0x3c9859(0x39e)]=0x5]='HEARTBEAT',_0x4cd808[_0x4cd808[_0x3c9859(0x44b)]=0x6]=_0x3c9859(0x44b),_0x4cd808[_0x4cd808[_0x3c9859(0x39d)]=-0x1]=_0x3c9859(0x39d),_0x4cd808))(G||{}),Et=(_0x1287bb=>(_0x1287bb[_0x1287bb[_0x3c9859(0x2c3)]=0x0]=_0x3c9859(0x2c3),_0x1287bb[_0x1287bb['OK']=0x1]='OK',_0x1287bb[_0x1287bb['FAIL']=0x2]=_0x3c9859(0x262),_0x1287bb[_0x1287bb[_0x3c9859(0x664)]=0x3e9]=_0x3c9859(0x664),_0x1287bb[_0x1287bb['JOIN_ROOM_NOT_ALLOWED']=0x3ea]='JOIN_ROOM_NOT_ALLOWED',_0x1287bb[_0x1287bb[_0x3c9859(0x39d)]=-0x1]=_0x3c9859(0x39d),_0x1287bb))(Et||{}),ln=(_0x29c67b=>(_0x29c67b[_0x29c67b[_0x3c9859(0x4a8)]=0x0]='Undefined',_0x29c67b[_0x29c67b[_0x3c9859(0x66e)]=0x1]=_0x3c9859(0x66e),_0x29c67b[_0x29c67b[_0x3c9859(0x3a9)]=0x2]=_0x3c9859(0x3a9),_0x29c67b[_0x29c67b[_0x3c9859(0x366)]=0x3]=_0x3c9859(0x366),_0x29c67b[_0x29c67b[_0x3c9859(0x30e)]=0x4]='UnitSnapshot',_0x29c67b[_0x29c67b[_0x3c9859(0x39d)]=-0x1]='UNRECOGNIZED',_0x29c67b))(ln||{});const ee=_0x3c9859(0x35f),Xn={};function _0x1e19(){const _0x376ece=['_docSyncEditingCollabCursorService','_ENC_XFORM_MODE','get','_doCryptBlock','onTransformState','HEARTBEAT_TIMEOUT_KEY','handleInsertRangeMoveDown','onlineStatusIcon','execute','$super','@univerjs/telemetry','_onRecvEvent','_transformRemoteChangesetByStateCache','name','_createHandler','_updateCollabCursors','liveShareNewHost','deserializeRangeWithSheet','_docStateChangeManagerService','close','backgroundColor','revision','registerRenderModule','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getDownloadEndpointURL','entries','_lockTransition','origin','width','@univerjs/network','offline','registerComponent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','useDependency','@univerjs/sheets','deepClone','triggerDblclick','onStarting','_scene','NOT_FOUND','PSEUDO_FETCH_MISSING_RESULT','_parse','conflict','arc','from','TEXT','_name','doc.mutation.rich-text-editing','_socket$','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','objectID','url(#on-line-single_clip0_910_349)','NOT_COLLAB','CollaborationSessionService','_sessionStatus$','on-line-single_clip0_910_349','resend','randomBytes','COLLAB_WEB_SOCKET_URL','image/jpeg','pluginName','changesets','session.connection-failed','/object','RichTextEditingMutation','fetchThroughInterceptors','_send','MUTATION','getConfig','slice','DocSelectionManagerService','onRemoteRetry','subUnitId','_refRangeService','enableOfflineEditing','text','registerBeforeClose','AES','_nRounds','floor','csShouldRetryEvent','react.fragment','location','call','hasOwnProperty','subunit','setTimeout','_drawTextRange','_registerDependencies','registerRefRange','_status$','evenodd','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','univer-offline','createDecryptor','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','SEND_CHANGESET_TIMEOUT','registerDependencies','/new_changes','stopTime','_commentUpdate$','_acknowledgedAwaitingChangeset','jiqing500','_color','unsubscribe','getRenderById','unit','_initDependencies','PERMISSION_DENIED','iterations','sheetId','_cachedData','_snapshotServerService','CONFLICT','ITransformService','IConfigService','localeService','attrs','createEncryptor','WebURLService','min','post','exhaustSavingTask','loadDoc','AWAITING_WITH_PENDING','_tryReconnect','code','_syncEditingCollabCursor','_iv','MemberService','combineLatest','_session','_unitID','_labelPosition','_xformMode','\x0aCurrent:\x20','USERS_ENTER','SheetSkeletonManagerService','_replayCachedMutations','svg','COLLAB_SUBMIT_CHANGESET_URL','/object/','closeSession','OpenSSL','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_onUserLeave','getUnitStatus$','set','_lastPointer','INGEST','splice','redoState','handleIRemoveCol','&assign=','[CollaborationSessionService]','_throwTelemetryCollaborationNewChangeset','onCommandExecuted','symbol','_http','_onFetchMissResult','for','[CollaborationSession]','_updateLocalCache','deleteCollaborator','exports','getSheetObject','_getRedoStack','_beforeCloseService','jsxs','[OfflineState]:\x20received\x20rejection.','HEARTBEAT_INTERVAL_KEY','transformRemoteChangeset','has','trim','_transitionLocked','bottom','_replaceFileID','current','clipPath','/block/','encryptBlock','Latin1','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','createCollaborator','_joinRoom','transformChangesets','byteLength','CollaborationController','YUUMI_SUBSCRIPTION_NOT_FOUND','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_backgroundColor','measureText','_getCtorByUniverType','FETCH_MISS','TOO_MANY_REQUESTS','_socketReady','collaboration.closeRoom','USERS_LEAVE','data','_members','_state$','_urlService','row','newCsEvent','key','withCredentials','_collaborationSessionService','getSkeleton','isArray','CHANGESET_REVISION_CONFILICT','session','_initStatusComponent','UniverIcon','commentUpdateEvent','rxjs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setShapeProps','getVpScrollXYInfoByPosToVp','JOIN_ROOM_FULL','kdf','_keyPriorReset','getMemberID','send','restore','liveShareOperation','_exhaustRemoteChangesetQueue','editingUnit','[OfflineState]:\x20received\x20acknowledgement.','HttpImport','getMergeData','createIdentifier','IUniverInstanceService','ENSURE_SNAPSHOT_EXECUTION','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','blue400','deserializeToCombResponse','1em','take','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getUnhiddenWorksheets','EvpKDF','getDocRanges','MD5','Could\x20not\x20dynamically\x20require\x20\x22','split','serializeRangeWithSheet','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_HTTPService','toggleOffline','ONLINE','_getSendChangesetTimeout','addObject','setAlpha','ivSize','indexOf','Warning','#FFF','mixIn','_fetchMissChangesets','purple300','decryptBlock','InsertColCommandId','requestParams','0\x200\x2016\x2016','incrementRevOfUnit','addEventListener','_onCursorUpdate','getCurrentUnitForType','_createSocketURL','setConfig','body','getMember','parseChangesetToProtocol','_reverseMap','MergeInterceptorFactory','_changesetReqId','_awaitingChangeset','fromCharCode','_startSheetCollabCursor','UNIVER_SHEET','unitId','joinRsp','_textBubble','_getUploadFileURL','COLLAB_SUBMIT_CHANGESET_URL_KEY','parseProtocolChangeset','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_changesetSessionId','fetchMiss','awaiting','sessionStatus','transformMutation','_onConnectionFailed','_nDataBytes','handleDeleteRangeMoveUp','round','ThemeService','_unitOnClients','removeMember','\x20to\x20','Tooltip','CollaborationSocketService','submit\x20changeset\x20error!','syncEditingCollabCursor','currentColor','tag','getResourcesRequest','_transformSelections','956542WSbmCA','connectInjector','_startTelemetryCollaborationNewChangeset','resize','useObservable','_transformRemoteChangesetByIMECache','labelPosition','_sessions','getRoom','dispose','history','onMissingChangesets','session.will-retry','joinEvent','[CollaborationUndoRedoService]','Encryptor','getUnitId','list','Injector','handleIRemoveRow','pauseCollaboration','assignAColorForMemberID','LOGIN_URL_KEY','getTypeOfUnitAdded$','getCollabEntity$','_drawAnchor','cmd','Base','19872630TCzcnO','SetSelectionsOperation','_localeService','onTransformIME','WorkbookEditablePermission','eventID','collaboration-client.offline-data-not-saved','currentSkeleton$','_saveCache','collaMsg','updateCollaborator','ReplaySubject','_clearScheduledTask','CHANGESET_SHOULD_RETRY','_transformService','unpad','pipe','_onCombEvent','object','getCurrentSelections','[CollaborationEntity]','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','extend','onRendered','infoRsp','disableLocalCache','Fragment','url(#$1','contains','_colorIndex','_online','_checkMissing','CHANGESET_ACK','_sender','Utf8','ILocalStorageService','result','NodePositionConvertToRectRange','IRemoteInstanceService','getUndoRedoMutationParamsCache','_removeRoom','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getParam','isInternalEditorID','_undoRedoService','Base64','makeDirty','colorChannel1','b64DecodeUnicode','getCurrentUser','UNIVER_DOC','_pendingMutations','setStateCache','transformSelections','UNIVER_PROJECT','/universer-api/user/session-ticket','RemoveRowCommandId','1512aGtsjT','_cursorInfo$','_DEC_XFORM_MODE','encodeURIComponent','_sheetTransformSelectionsService','WordArray','catch','FAIL','_revisionService','_docTransformSelectionsService','DeleteRangeMoveUpCommandId','open$','href','transformIMECache','UNAUTHENTICATED','_entities','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','lineTo','setCurrentUser','_initMergeInterceptor','_retryCount','_docTransformStateCacheService','DisposableCollection','_assignedColors','_sendHeartbeatTimer','DocStateChangeManagerService','reverse','_getCurrentRevision','/resources','signUrlServerUrl','updateMember','_updateSubUnitFromURLParams','_selfUnitIDs','getTime','_sendingTimer','ImageIoService','_remoteChangesetQueue','RECT','SnapshotServerOverHTTPService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','originalMeta','event$','_substituteRedoStack','IURLService','div','Inject','objectActions','/rev/','_hideTimer','blockSize','actions','replaceDocRanges','ImageUploadStatusType','concat','COMPLETION_FINISHED','getRangePointData','failed\x20to\x20apply\x20missed\x20changesets!','UNKNOWN_CMD','LocaleService','_updateStatus','CompressMutationService','isPermissionRej','telemetry\x20info\x20is\x20not\x20initialized','reject','BufferedBlockAlgorithm','sessionStatus$','_docSkeletonManagerService','fetch_missing','[UniverCollaborationClientPlugin]','prototype','_onOffline','generateRandomId','/-/object/-/batch_allowed','c1Prime','_cipher','updatePermissionPoint','red300','_shapes','m1Prime','defineProperty','byteOffset','NoPadding','randomUUID','BASE64','apply','rng','BehaviorSubject','/universer-api/snapshot/','keySize','_updateURLWithCurrentState','HMAC','forwardRef','univer-online','handleMoveRange','every','DataLoaderController','defs','univer-online-status-title','now','_transformHistoryAndStateStack','status$','_collabSessionService','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','roomMembers$','UNKNOWN_CODE','requireSession','roles','map','activeSheet$','readInt32LE','distinctUntilChanged','updatePermissionObjEvent','UniverCollaborationClientPlugin','_event$','HTTPRequest','_commentService','createInstance','getColor','takeUntil','_handleLeaveEvent','6867161viKbIG','lib','_unlockTransition','_candidateSocket','black','Subject','salt','SetWorksheetActivateCommand','format','_syncEditingCollabCursorService','transformStateCache','StreamCipher','_sheetSkeletonManagerService','_scheduleClearOtherTimer','downloadEndpointUrl','_stopTelemetryCollaborationNewChangeset','off-line-single_clip0_910_343','[DataLoaderController]','Plugin','APPLY_REJECT','handleInsertRow','_initStatusListener','_loadSheet','Cipher','INVALID_ARGUMENT','Unknown\x20user','transform','_toggleOnline','LIVESHARE_REQUEST_HOST','HEARTBEAT_INTERVAL','_transformStateCache','LICENSE_MAX_UNITS_EXCEEDED','_showConflictNotification','DOC_RANGE_TYPE','override','startsWith','/unit/','SheetCollaborationEntity','join','UPDATE_PERMISSION_OBJ','image/gif','_injector','currentTheme$','sin','bind','_anchorDot','_telemetryService','_waitForHeartbeatResponse','_getSaveTimeout','focused$','create','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','capture','unknown','image/png','_onCursorDelete','_getLoginPath','src','_notificationService','UnitSnapshot','_eventUnsubscribe','_startCollaboration','collabStatus.conflict','CollaborationSession','clearTimeout','&source=','6tUGTQA','\x0aAfter:\x20','resourceIDs','__esModule','complete','_tryEnsureSocket','_socket','NO_OTHER_CLIENTS_EDITING','LEAVE','_append','@univerjs/engine-render','editing\x20status\x20changed\x20to','getRelativeToViewportCoord','fillText','storage','sendChangesetTimeout','_id','COLORS','reduce','visibilityState','_configService','Disposable','_refreshCollabCursors','_getSessionTicket','_clearRedo','session.collaboration-timeout','_onRemoteRetry','_transformIMECache','push','off-line-single','routeKey','OTHER_CLIENTS_EDITING','[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.','ref','_createHelper','_rescheduleHeartbeat','_hovered','isTransformMutationsWithChangesetFailure','getImageSourceCache','toggleOnline','_handleHover','finalize','isTransformMutationsWithChangesetSuccess','PERMISSION_REJ','_onRefRangeChange','retryConnectingInterval','clamp','RxDisposable','univer-pro.collaboration-client.single-active-unit-service','SheetsSelectionsService','_transformUndoRedoStack','collabStatus.syncing','mapTo','rev','_redoStacks','_retryConnectingTimer','_scheduleSaving','concatMap','DEFAULT_FILE_NAME','createSocket','collabStatus.fetchMiss','enableSingleActiveInstanceLock','getOwnPropertyDescriptor','_data','collabCursorState$','getDeserializedSheetBlock','Tools','[CollaborationSessionService]:\x20socket\x20error','setItem','algo','CBC','MSG_FOR_ERROR','CONNECTOR_DATA_TOO_LARGE','_docSkeleton','collaboration-client.config','_getAnchorBounding','parse','HTTPService','use','SYNCED','none','UnitEmbedded','buffer','state$','uni.network.url-service','close$','_incrementRevisionNumber','transformStack\x20failed!','pushState','onReady','onPointerEnter$','1460ZkLMVn','replaceState','includes','_resendTimeout','unload','all','dispose$','react','POST','encrypt','_drawRectRange','_getMergeRange','refreshPermission','_clearOtherTimers','path','unshift','EffectRefRangId','handleInsertCol','_executeRemoteChangeset','_getSignURL','csRejEvent','_initUnitPermissionChange','NEW_CHANGESETS','PENDING','@univerjs/docs-ui','_schedule','SessionStatus','UPDATE_CURSOR','show','onTransformSelections','permission.content','onMouseMove','padding','AUTHZ_URL_KEY','_socketService','LICENSE_EXPORT_SIZE_EXCEEDED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','...','members','saveOfflineData','&to=','_hasher','_initEventListeners','workbook','COMPRESS_MUTATION_SEND','UNRECOGNIZED','HEARTBEAT','Rect','_timeoutTimer','_snapshotService','values','rgba(255,\x20255,\x20255,\x200.01)','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','onRemoteRej','interceptor','length','_onMessage','HttpExport','getCellPositionByOffset','objects','onPointerMove$','displayName','processBlock','_shouldReportTelemetry','hide','_init','function','_onJoinRoomEvent','InsertRangeMoveRightCommandId','Malformed\x20UTF-8\x20data','UNIVER_SLIDE','compose','not_collab','CHANGESET_REJ','_createInitialStateImpl','_removeCollabCursors','getUniverSheetInstance','objectType','throttleTime','merge','ReactCurrentOwner','DesktopCollaborationStatusDisplayController','_decreaseWaiting','toRgbString','getInterceptPoints','socket\x20close','useCallback','LIVESHARE_OPERATION','application/json','UniverCollaborationPlugin','mutations','_ensureSubject','message$','_commandService','/collaborator','_onConflict','ciphertext','translate(.97)','top','_collaborationController','newValue','SNAPSHOT_SERVER_URL_KEY','_process','RETRY_CONNECTING_MAX_COUNT','snapshotServerUrl','_state','InsertRangeMoveDownCommandId','createElement','_onConnectionOpen','__Key__','Module','onSyncEditingCollabCursor','sid','_localCacheService','_singleActiveUnitService','_handler','cursorInfo$','idSuffix','find','setParam','with','_ws','SNAPSHOT_URL_KEY','asObservable','_initResize','getValue','onCommentUpdate','@univerjs/drawing','url(#off-line-single_clip0_910_343)','JOINING','?size=','_telemetryInfo','YUUMI_RATE_OVER_LIMIT','@univerjs/engine-formula','getWorkbookSelections','sequenceExecute','#fff','_getSheetObject','cursorInfo','/role','getUnitType','collaboration.single-unit.warning','_substituteUndoStack','toString','default','getRandomValues','sheetID','_getAPIPrefix','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','setWaitCount','HELLO','string','charAt','msCrypto','UserManagerService','TEXT_RANGE_LAYER_INDEX','getSheetId','ranges','_disableEditing','rxjs/operators','JSONX','enc','getCoordByCell','executeCommand','_getSnapshotAPIPrefix','conflict.title','_compressMutationService','fillRule','_socketMessageSubscription','PasswordBasedCipher','_doProcessBlock','awaitingChangeset','collaboration_new_changeset','findNodePositionByCharIndex','_onRemoteRejected','_transformStack','debounce','\x20-\x20','getCollabEntity','touchDependencies','save','debug','_mode','updateOfflineData','[SyncedState]:\x20received\x20acknowledgement.','_initRequestHeader','onlineStatusTitle','mergeOverrideWithDependencies','FETCH_MISSING','range','_renderManagerService','toDisposable','listCollaborators','IPermissionService','ImageSourceType','ticket','CommandType','_registerRenderDependencies','IMessageService','SUBMIT_CHANGESET','collab-text-anchor-','shareReplay','_invKeySchedule','BlockCipher','_permissionService','enableAuthServer','_getScale','state','@univerjs/rpc','shouldCloseConn','mapDocumentTypeToUniverType','_listenToOnlineEvent','_transformUndoredo','_saveTaskMap','gold400','_scheduleTimestamp','_initCloseConn','_collabCursorController','disposeWithMe','RECV','onMissedChangesetFetched','FromArray','userID','clear','endColumn','/allowed','ISnapshotServerService','/fetchmissing?from=','leaveEvent','CollaborationEntity','ceil','getViewport','className','SheetPermissionInitController','removeParam','_entityInit$','JOIN','setUndoRedoMutationParamsCache','stringify','_setupSubUnitSync','setActiveRange','onload','collab-text-range-','Error\x20on\x20receiving\x20event','getCurrentRevOfUnit','urlChange$','collaboration-session-retry','2493747ZzzkqA','getOwnPropertySymbols','InsertRowCommandId','_scheduleCollaborationTimeoutTimer','filter','_heartbeatTimer','UNDEFINED','collabWebSocketUrl','[PendingState]:\x20received\x20acknowledgement.','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ERROR_IMAGE','getActiveSheet','url','copyFileMeta','readAsDataURL','isTransformChangesetsSuccess','RegularPolygon','textRanges','_initCommandExecutedListener','SHOULD_CLOSE_CONN','getFocusedUnit','verdancy600','MessageType','ACTIVE_UNIT_EVENT_CHANNEL','switchMap','confirm','_clearUndo','fetching\x20missing\x20changesets\x20from\x20','assign','_unitStatus','IImageIoService','getSheetBySheetId','defIds','_instanceService','transformMutationsWithChangeset','error$','190314eKkskL','COMMENT_UPDATE','_messageService','_updateState','DocSkeletonManagerService','ws://127.0.0.1:8000/universer-api/comb/connect','repeat','?url=','_key','/universer-api/file/{fileID}/sign-url','target','getUnitOnRev','_themeService','random','[PendingState]:\x20received\x20rejection.','jsx','Workbook','synced','color','_toggleOffline','_startDocCollabCursor','_config','@univerjs/sheets-ui','_map','_clearTimeoutTimer','next','_univerInstanceService','unitId\x20is\x20not\x20found','@univerjs-pro/collaboration','Undefined','closePath','_roomMembers','fetchMissingChangesets','onTransformRemoteChangesetByIMECache','roomInfos','NodePositionConvertToCursor','hasher','_draw','_docTransformIMECacheService','RevisionService','_onLocalMutation','APPLY_PERMISSION_DENIED','getCollabCursors$','_memberService','AWAITING','APPLY_NON_SEQUENTIAL_REVISION','__creator','HmacMD5','Rectangle','update','ICollaborationSocketService','_setupBeforeClosingHandler','5253776GBzlnp','loadOfflineData','memberID','textEncoder','subscribe','delete','visibilitychange','init','_clearHeartbeatTimer','reset','_cursor','sheets','UNIVER_UNKNOWN','_localStorageService','size','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','socket$','_sendHeartbeat','forEach','_cursors','xlink:href','substring','collabStatus.synced','_imageSourceCache','ColorKit','APPLY_DUPLICATED','collab-client.tooltip.reconnect','_getUndoStack','toStringTag','CollaborationEvent','_keySchedule','mode','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','crypto','docStateChange$','undoState','selections','@univerjs/docs','add','_getAPIPrefixPath','AuthzIoHttpService','OffLineSingle','useRef','LIVESHARE_NEW_HOST','_onRemoteChangeset','getLatestCsReqIdBySid','compute','isTransformMutationFailure','DocIMEInputManagerService','_isPermissionRej','LOCAL_CACHE_INTERVAL_KEY','YUUMI_URL_COL_OUT_OF_RANGE','onTransformRemoteChangesetByStateCache','SHA1','univer-pro.collaboration-client-socket-service','Vector2','_listenToOfflineEvent','_removeClearOtherTimer','selection','endRow','LICENSE_IMPORT_SIZE_EXCEEDED','_collaborationTimeoutTimer','/-/object/list','getStateCache','_handleJoinEvent','baseRev','flatMap','getImage','getTypeOfUnitDisposed$','replace','IDLE','roomMembers','Hasher','icon','_prevBlock','reqId','m2Prime','clone','resolve','/universer-api/oidc/authpage','_queuedRemoteChangesets','COMPRESS_MUTATION_APPLY','collabSubmitChangesetUrl','SNAPSHOT_HAS_BEEN_REMOVED','serializeCombRequest','height','_document','_onRemoteACK','_resendTimer','file','transformUndoRedo','_hash','awaiting_with_pending','HEARTBEAT_TIMEOUT','UniverInstanceType','abs','ALREADY_EXISTS','onlyLocal','charCodeAt','drawWith','x-univer-host','max','OFFLINE','YUUMI_UNABLE_LOAD_URL','WebSocketService','LIVESHARE_TERMINATE','_roomMembers$','unitID','type','/universer-api/stream/file/upload','_updateLocalCursor','reconnect','_applyRemoteChangeset','params','_createHmacHelper','_resendWithTimeout','fromEventSubject','_loadDoc','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','conflict.content','collabStatus.offline','INTERNAL_ERROR','SNAPSHOT_INVALID_SNAPSHOT','_createSocket','M0\x200H16V16H0z','_httpService','Shape','subscribeEvent','_cursorShapes','LIVESHARE_FETCH_OPERATIONS','encode','_change$','_iKey','LocalCacheService','INotificationService','_undoStacks','Hex','authzUrl','appendMutation','column','debounceTime','_disabled','onSendChangeset','_createInitialState','onPointerLeave$','RETRY_CONNECTING_MAX_COUNT_KEY','onRemoteChangeset','fromEvent','_type','delay','pending','allowed','propertyIsEnumerable','_range','cfg','connection\x20error','LICENSE_DISTRO_REJECTED','getActiveRange','_scheduleHeartbeat','/universer-api/authz','startColumn','pad','status','_anchor','Optional','_colorAssignService','hovered','Univer','HmacSHA1','registerHTTPInterceptor','ICommandService','_waitCount','_logService','fillStyle','_handleHeartbeatEvent','UNIVER_COLLABORATION_CLIENT_PLUGIN','image/jpg','popstate','sigBytes','ERROR_EXCEED_SIZE','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_transformPreviousActiveRange','IUndoRedoService','socket\x20open.','clearInterval','fill','words','getAncestorScale','_oKey','batchAllowed','headers','_userManagerService','_collabCursorState$','_context','error','onRemoteAck','SerializableCipher','ILogService','duration','_hover','_submitChangeset','then','searchParams'];_0x1e19=function(){return _0x376ece;};return _0x1e19();}function hn(_0x1e7618){const _0x283a1b=_0x3c9859;var _0x3aa6f9,_0x1f05a6,_0x50017b,_0x4a9f45,_0x29994e;const _0x23142b=_0x1e7618['data'],_0x35e785=JSON['parse'](_0x23142b);switch(_0x35e785[_0x283a1b(0x220)]){case G[_0x283a1b(0x39e)]:case G['HELLO']:{const _0x2408f4=_0x35e785[_0x283a1b(0x23a)];return{..._0x35e785,'data':_0x2408f4,'cmd':_0x35e785[_0x283a1b(0x220)]};}case G[_0x283a1b(0x45c)]:{const _0x4e923d=_0x35e785[_0x283a1b(0x1eb)];return{..._0x35e785,'data':_0x4e923d,'cmd':_0x35e785['cmd']};}case G[_0x283a1b(0x44b)]:{const _0x85906=_0x35e785[_0x283a1b(0x22b)];switch(_0x85906[_0x283a1b(0x227)]){case p[_0x283a1b(0x4dc)][_0x283a1b(0x340)]:return{..._0x35e785,'data':{..._0x85906,'data':(_0x3aa6f9=_0x85906['permissionRejEvent'])==null?void 0x0:_0x3aa6f9['cs']},'cmd':_0x35e785[_0x283a1b(0x220)]};case p['CollaborationEvent']['CHANGESET_ACK']:return{..._0x35e785,'data':{..._0x85906,'data':(_0x1f05a6=_0x85906['csAckEvent'])==null?void 0x0:_0x1f05a6['cs']},'cmd':_0x35e785[_0x283a1b(0x220)]};case p[_0x283a1b(0x4dc)][_0x283a1b(0x386)]:return{..._0x35e785,'data':{..._0x85906,'data':(_0x50017b=_0x85906[_0x283a1b(0x655)])==null?void 0x0:_0x50017b['cs']},'cmd':_0x35e785[_0x283a1b(0x220)]};case p[_0x283a1b(0x4dc)]['CHANGESET_REJ']:return{..._0x35e785,'data':{..._0x85906,'data':(_0x4a9f45=_0x85906[_0x283a1b(0x384)])==null?void 0x0:_0x4a9f45['cs']},'cmd':_0x35e785[_0x283a1b(0x220)]};case p[_0x283a1b(0x4dc)][_0x283a1b(0x22f)]:return{..._0x35e785,'data':{..._0x85906,'data':(_0x29994e=_0x85906[_0x283a1b(0x5da)])==null?void 0x0:_0x29994e['cs']},'cmd':_0x35e785[_0x283a1b(0x220)]};case p['CollaborationEvent'][_0x283a1b(0x38b)]:return{..._0x35e785,'data':{..._0x85906,'data':_0x85906['updateCursorEvent']},'cmd':_0x35e785[_0x283a1b(0x220)]};case p['CollaborationEvent'][_0x283a1b(0x612)]:return{..._0x35e785,'data':{..._0x85906,'data':_0x85906[_0x283a1b(0x213)]},'cmd':_0x35e785[_0x283a1b(0x220)]};case p[_0x283a1b(0x4dc)][_0x283a1b(0x64f)]:return{..._0x35e785,'data':{..._0x85906,'data':_0x85906[_0x283a1b(0x454)]},'cmd':_0x35e785[_0x283a1b(0x220)]};case p[_0x283a1b(0x4dc)][_0x283a1b(0x4ea)]:return{..._0x35e785,'data':{..._0x85906,'data':_0x85906[_0x283a1b(0x59a)]},'cmd':_0x35e785['cmd']};case p[_0x283a1b(0x4dc)][_0x283a1b(0x540)]:case p['CollaborationEvent'][_0x283a1b(0x3c7)]:return{..._0x35e785,'data':{..._0x85906,'data':_0x85906[_0x283a1b(0x66a)]},'cmd':_0x35e785[_0x283a1b(0x220)]};case p['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x35e785,'data':{..._0x85906,'data':_0x85906[_0x283a1b(0x59a)]},'cmd':_0x35e785[_0x283a1b(0x220)]};case p[_0x283a1b(0x4dc)]['MSG_FOR_ERROR']:return{..._0x35e785,'data':_0x85906,'cmd':_0x35e785[_0x283a1b(0x220)]};case p[_0x283a1b(0x4dc)][_0x283a1b(0x48c)]:return{..._0x35e785,'data':{..._0x85906,'data':_0x85906[_0x283a1b(0x65f)]},'cmd':_0x35e785[_0x283a1b(0x220)]};case p[_0x283a1b(0x4dc)][_0x283a1b(0x2fa)]:return{..._0x35e785,'data':{..._0x85906,'data':_0x85906[_0x283a1b(0x2ca)]},'cmd':_0x35e785['cmd']};case p[_0x283a1b(0x4dc)][_0x283a1b(0x47a)]:return{..._0x35e785,'data':{..._0x85906,'data':_0x85906[_0x283a1b(0x441)]},'cmd':_0x35e785[_0x283a1b(0x220)]};default:return _0x35e785;}}default:return _0x35e785;}}function _n(_0x2494c0){const _0x56b056=_0x3c9859;switch(_0x2494c0[_0x56b056(0x220)]){case G[_0x56b056(0x39e)]:case G[_0x56b056(0x406)]:return JSON[_0x56b056(0x45e)]({'cmd':_0x2494c0[_0x56b056(0x220)],'routeKey':_0x2494c0[_0x56b056(0x333)]});case G[_0x56b056(0x61f)]:{let _0x22162b;switch(_0x2494c0[_0x56b056(0x650)][_0x56b056(0x227)]){case p['CollaborationEvent'][_0x56b056(0x38b)]:{_0x22162b={'eventID':p[_0x56b056(0x4dc)][_0x56b056(0x38b)],'updateCursorEvent':_0x2494c0[_0x56b056(0x650)][_0x56b056(0x650)]};break;}case p[_0x56b056(0x4dc)][_0x56b056(0x64f)]:{_0x22162b={'eventID':p[_0x56b056(0x4dc)]['USERS_LEAVE'],'leaveEvent':_0x2494c0[_0x56b056(0x650)][_0x56b056(0x650)]};break;}case p['CollaborationEvent']['USERS_ENTER']:{_0x22162b={'eventID':p['CollaborationEvent'][_0x56b056(0x612)],'joinEvent':_0x2494c0[_0x56b056(0x650)][_0x56b056(0x650)]};break;}case p['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x22162b={'eventID':p[_0x56b056(0x4dc)][_0x56b056(0x4ea)],'liveShareNewHost':_0x2494c0['data'][_0x56b056(0x650)]};break;}case p['CollaborationEvent'][_0x56b056(0x3c7)]:{_0x22162b={'eventID':p['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x2494c0[_0x56b056(0x650)][_0x56b056(0x650)]};break;}case p[_0x56b056(0x4dc)][_0x56b056(0x528)]:{_0x22162b={'eventID':p[_0x56b056(0x4dc)][_0x56b056(0x528)],'liveShareTerminate':_0x2494c0[_0x56b056(0x650)][_0x56b056(0x650)]};break;}case p['CollaborationEvent'][_0x56b056(0x2ef)]:{_0x22162b={'eventID':p[_0x56b056(0x4dc)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2494c0[_0x56b056(0x650)]['data']};break;}case p[_0x56b056(0x4dc)]['LIVESHARE_FETCH_OPERATIONS']:{_0x22162b={'eventID':p[_0x56b056(0x4dc)][_0x56b056(0x540)]};break;}default:_0x22162b={'eventID':_0x2494c0[_0x56b056(0x650)][_0x56b056(0x227)]};}return JSON['stringify']({'cmd':_0x2494c0['cmd'],'routeKey':_0x2494c0[_0x56b056(0x333)],'collaMsg':_0x22162b});}case G[_0x56b056(0x45c)]:return JSON['stringify']({'cmd':_0x2494c0['cmd'],'routeKey':_0x2494c0[_0x56b056(0x333)],'joinReq':_0x2494c0[_0x56b056(0x650)]});case G[_0x56b056(0x31d)]:return JSON[_0x56b056(0x45e)]({'cmd':_0x2494c0[_0x56b056(0x220)],'routeKey':_0x2494c0[_0x56b056(0x333)],'leaveReq':_0x2494c0[_0x56b056(0x650)]});default:throw new Error(_0x56b056(0x237));}}var Jn=Object[_0x3c9859(0x2aa)],Zn=Object[_0x3c9859(0x353)],Qn=(_0x549d76,_0x4df477,_0x467623,_0x2b2c32)=>{const _0x576a31=_0x3c9859;for(var _0xaf51e6=_0x2b2c32>0x1?void 0x0:_0x2b2c32?Zn(_0x4df477,_0x467623):_0x4df477,_0x45106c=_0x549d76[_0x576a31(0x3a7)]-0x1,_0x51ec99;_0x45106c>=0x0;_0x45106c--)(_0x51ec99=_0x549d76[_0x45106c])&&(_0xaf51e6=(_0x2b2c32?_0x51ec99(_0x4df477,_0x467623,_0xaf51e6):_0x51ec99(_0xaf51e6))||_0xaf51e6);return _0x2b2c32&&_0xaf51e6&&Jn(_0x4df477,_0x467623,_0xaf51e6),_0xaf51e6;},we=(_0xdc5a53,_0x5d131b)=>(_0x584b2c,_0x14b2b2)=>_0x5d131b(_0x584b2c,_0x14b2b2,_0xdc5a53);const bt=a[_0x3c9859(0x670)](_0x3c9859(0x4f5));function ei(_0x203d68,_0x29796e,_0x123337){const _0x189614=_0x3c9859;return _0x203d68+'/'+_0x29796e+'/unit/'+_0x123337+_0x189614(0x5ec);}exports['CollaborationSocketService']=class extends a[_0x3c9859(0x32a)]{constructor(_0x31fc9f,_0x50ebbf,_0x5475c8,_0x317117,_0x267e7c){const _0x350b1f=_0x3c9859;super(),this[_0x350b1f(0x628)]=_0x31fc9f,this[_0x350b1f(0x3e9)]=_0x50ebbf,this['_configService']=_0x5475c8,this[_0x350b1f(0x56b)]=_0x317117,this[_0x350b1f(0x5fa)]=_0x267e7c;}[_0x3c9859(0x350)](_0x3c1f0f){const _0x3d4f7c=_0x3c9859,_0x11eb7b=this[_0x3d4f7c(0x3e9)][_0x3d4f7c(0x350)](_0x3c1f0f);if(!_0x11eb7b)throw new Error(_0x3d4f7c(0x5e6));const _0x247349=new a[(_0x3d4f7c(0x271))](),_0x54c9b2=new A[(_0x3d4f7c(0x2d8))]();_0x247349['add'](_0x11eb7b[_0x3d4f7c(0x36a)][_0x3d4f7c(0x4c3)](_0xdaac40=>_0x54c9b2[_0x3d4f7c(0x4a4)](_0xdaac40))),_0x247349['add'](a[_0x3d4f7c(0x42f)](()=>_0x54c9b2[_0x3d4f7c(0x319)]()));const _0x1e3095=new A['Subject']();_0x247349[_0x3d4f7c(0x4e5)](_0x11eb7b['error$'][_0x3d4f7c(0x4c3)](_0x4bfdb5=>_0x1e3095[_0x3d4f7c(0x4a4)](_0x4bfdb5))),_0x247349[_0x3d4f7c(0x4e5)](a[_0x3d4f7c(0x42f)](()=>_0x1e3095[_0x3d4f7c(0x319)]()));const _0x3ebad1=new A['Subject']();_0x247349[_0x3d4f7c(0x4e5)](_0x11eb7b['message$']['subscribe'](_0x356d5a=>{const _0x346086=_0x3d4f7c,_0x4852f5=hn(_0x356d5a);_0x3ebad1[_0x346086(0x4a4)](_0x4852f5);})),_0x247349[_0x3d4f7c(0x4e5)](a[_0x3d4f7c(0x42f)](()=>_0x3ebad1[_0x3d4f7c(0x319)]()));let _0x126ce2;const _0x54bf98=()=>{const _0x51e6ed=_0x3d4f7c;_0x1e3095['next'](new Event(_0x51e6ed(0x55a))),_0x54c9b2[_0x51e6ed(0x4a4)](new CloseEvent(_0x51e6ed(0x55a))),_0x126ce2[_0x51e6ed(0x59d)]();};return _0x126ce2={'memberID':'','close$':_0x54c9b2[_0x3d4f7c(0x3eb)](),'error$':_0x1e3095[_0x3d4f7c(0x3eb)](),'open$':_0x11eb7b[_0x3d4f7c(0x266)],'message$':_0x3ebad1[_0x3d4f7c(0x3eb)](),'send':_0x36d193=>{const _0xc1d8d5=_0x3d4f7c;if(_0x36d193[_0xc1d8d5(0x220)]===G[_0xc1d8d5(0x61f)]){if(_0x36d193[_0xc1d8d5(0x650)][_0xc1d8d5(0x227)]===p[_0xc1d8d5(0x4dc)][_0xc1d8d5(0x437)]){this[_0xc1d8d5(0x587)](_0x126ce2,_0x36d193[_0xc1d8d5(0x650)])[_0xc1d8d5(0x261)](_0x53b257=>{const _0x2ec606=_0xc1d8d5;this[_0x2ec606(0x56b)]['error'](_0x53b257),_0x54bf98();});return;}if(_0x36d193['data']['eventID']===p['CollaborationEvent'][_0xc1d8d5(0x42c)]){const _0x125547=_0x36d193['data'];this[_0xc1d8d5(0x1d4)](_0x125547)[_0xc1d8d5(0x588)](_0x26ff1e=>{const _0x2c0df1=_0xc1d8d5;_0x3ebad1[_0x2c0df1(0x4a4)]({'cmd':G[_0x2c0df1(0x44b)],'code':Et['OK'],'routeKey':_0x125547[_0x2c0df1(0x650)][_0x2c0df1(0x52a)],'routeType':'','data':{'eventID':p[_0x2c0df1(0x4dc)][_0x2c0df1(0x5b2)],'data':{'changesets':_0x26ff1e}}});})[_0xc1d8d5(0x261)](_0x395ad3=>{const _0x41dc67=_0xc1d8d5;this[_0x41dc67(0x56b)][_0x41dc67(0x581)](_0x395ad3),_0x54bf98();});return;}}_0x11eb7b['send'](_n(_0x36d193));},'close':()=>{const _0x5500b2=_0x3d4f7c;_0x11eb7b[_0x5500b2(0x59d)](),_0x247349[_0x5500b2(0x20f)]();}},_0x126ce2;}async[_0x3c9859(0x587)](_0x39793d,_0x302ebd){const _0x24f145=_0x3c9859;var _0xb84a20,_0x5946a9;const {unitType:_0x2be011,unitID:_0x442c7d,changeset:_0x2576fc}=_0x302ebd[_0x24f145(0x650)],_0x4322a4={'unitID':_0x442c7d,'memberID':_0x39793d[_0x24f145(0x4c1)],'type':_0x2be011,'changeset':p[_0x24f145(0x1e2)](_0x2576fc)},_0x3d47cb=this[_0x24f145(0x329)]['getConfig'](on),_0x14d52e=this[_0x24f145(0x329)][_0x24f145(0x5ce)](ee),_0x471c7e=ei((_0x5946a9=(_0xb84a20=_0x14d52e==null?void 0x0:_0x14d52e[_0x24f145(0x511)])!=null?_0xb84a20:_0x3d47cb)!=null?_0x5946a9:qn,_0x2be011,_0x442c7d);try{await this[_0x24f145(0x628)]['post'](_0x471c7e,{'body':_0x4322a4});}catch(_0x59f028){throw this[_0x24f145(0x56b)]['error'](_0x24f145(0x62b),_0x24f145(0x200)),_0x59f028;}}async[_0x3c9859(0x1d4)](_0xd371c3){const _0x94ea1e=_0x3c9859,{unitID:_0x123594,from:_0x344e87,to:_0x5a06a0,unitType:_0xe14609}=_0xd371c3[_0x94ea1e(0x650)];return(await this[_0x94ea1e(0x5fa)][_0x94ea1e(0x4ab)]({'metadata':void 0x0},{'unitID':_0x123594,'type':_0xe14609,'from':_0x344e87,'to':_0x5a06a0}))[_0x94ea1e(0x5c7)];}},exports[_0x3c9859(0x1ff)]=Qn([we(0x0,a[_0x3c9859(0x288)](J[_0x3c9859(0x362)])),we(0x1,a[_0x3c9859(0x288)](J[_0x3c9859(0x527)])),we(0x2,a[_0x3c9859(0x5fd)]),we(0x3,a[_0x3c9859(0x584)]),we(0x4,p['ISnapshotServerService'])],exports[_0x3c9859(0x1ff)]);const ti=_0x3c9859(0x41c);function ni(_0x511463){return JSON['stringify'](_0x511463)['length'];}class Tt{constructor(){const _0x84cede=_0x3c9859;I(this,_0x84cede(0x5ee),new A[(_0x84cede(0x2d8))]()),I(this,'commentUpdate$',this[_0x84cede(0x5ee)][_0x84cede(0x3eb)]());}[_0x3c9859(0x3ee)](_0x4b74df){const _0x42a7aa=_0x3c9859;this[_0x42a7aa(0x5ee)][_0x42a7aa(0x4a4)](_0x4b74df);}}var ii=Object[_0x3c9859(0x2aa)],si=Object['getOwnPropertyDescriptor'],ri=(_0x729abd,_0x2db81d,_0x46f2da,_0x5450e3)=>{for(var _0x39cf2b=_0x5450e3>0x1?void 0x0:_0x5450e3?si(_0x2db81d,_0x46f2da):_0x2db81d,_0x4f30c7=_0x729abd['length']-0x1,_0x139a8b;_0x4f30c7>=0x0;_0x4f30c7--)(_0x139a8b=_0x729abd[_0x4f30c7])&&(_0x39cf2b=(_0x5450e3?_0x139a8b(_0x2db81d,_0x46f2da,_0x39cf2b):_0x139a8b(_0x39cf2b))||_0x39cf2b);return _0x5450e3&&_0x39cf2b&&ii(_0x2db81d,_0x46f2da,_0x39cf2b),_0x39cf2b;},Ut=(_0x2538cd,_0x4cbaaa)=>(_0x5c39be,_0x25e2b9)=>_0x4cbaaa(_0x5c39be,_0x25e2b9,_0x2538cd);exports[_0x3c9859(0x60b)]=class extends a[_0x3c9859(0x32a)]{constructor(_0xdea13,_0x186d4a){const _0x127258=_0x3c9859;super(),I(this,_0x127258(0x4aa),new Map()),(this[_0x127258(0x4a5)]=_0xdea13,this[_0x127258(0x57e)]=_0x186d4a,this[_0x127258(0x44a)](a[_0x127258(0x42f)](A[_0x127258(0x3bf)](this[_0x127258(0x4a5)][_0x127258(0x503)](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](V['map'](_0x31d27d=>_0x31d27d[_0x127258(0x216)]())),this[_0x127258(0x4a5)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x127258(0x254)])[_0x127258(0x232)](V[_0x127258(0x2c6)](_0x3d3453=>_0x3d3453['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x127258(0x51d)][_0x127258(0x3b6)])[_0x127258(0x232)](V[_0x127258(0x2c6)](_0x468f9e=>_0x468f9e[_0x127258(0x216)]())))[_0x127258(0x4c3)](_0x16a993=>this[_0x127258(0x24a)](_0x16a993)))));}[_0x3c9859(0x26d)](_0x3e3622){const _0x43b2f9=_0x3c9859;this[_0x43b2f9(0x57e)][_0x43b2f9(0x26d)](_0x3e3622);}['getCurrentUser'](){const _0xa5791=_0x3c9859;return this[_0xa5791(0x57e)][_0xa5791(0x253)]();}[_0x3c9859(0x279)](_0x1a9ccb,_0x8d24e1){const _0x47430a=_0x3c9859;let _0x52c842=this['_roomMembers'][_0x47430a(0x58c)](_0x1a9ccb);_0x52c842||(_0x52c842=new oi(),this[_0x47430a(0x4aa)]['set'](_0x1a9ccb,_0x52c842)),_0x52c842[_0x47430a(0x279)](_0x8d24e1);}[_0x3c9859(0x1fc)](_0x1a35ca,_0x110729){const _0x4b3223=_0x3c9859,_0x45bdb8=this['_roomMembers'][_0x4b3223(0x58c)](_0x1a35ca);_0x45bdb8&&_0x45bdb8[_0x4b3223(0x1fc)](_0x110729);}[_0x3c9859(0x20e)](_0x233d9b){const _0x5440a2=_0x3c9859;return this['_roomMembers'][_0x5440a2(0x58c)](_0x233d9b);}[_0x3c9859(0x1e1)](_0x412280,_0x4053dc){const _0x3ca183=_0x3c9859,_0x44c5e0=this[_0x3ca183(0x4aa)][_0x3ca183(0x58c)](_0x412280);if(_0x44c5e0)return _0x44c5e0[_0x3ca183(0x1e1)](_0x4053dc);}[_0x3c9859(0x24a)](_0x4915a8){const _0x2cb669=_0x3c9859,_0x47cb96=this[_0x2cb669(0x4aa)][_0x2cb669(0x58c)](_0x4915a8);_0x47cb96&&(_0x47cb96['dispose'](),this[_0x2cb669(0x4aa)][_0x2cb669(0x4c4)](_0x4915a8));}[_0x3c9859(0x20f)](){const _0x13f5d5=_0x3c9859;this['_roomMembers'][_0x13f5d5(0x4d1)](_0x56ec3a=>_0x56ec3a[_0x13f5d5(0x20f)]()),this[_0x13f5d5(0x4aa)]['clear']();}},exports[_0x3c9859(0x60b)]=ri([Ut(0x0,a[_0x3c9859(0x671)]),Ut(0x1,a['Inject'](a[_0x3c9859(0x40a)]))],exports[_0x3c9859(0x60b)]);class oi extends a['Disposable']{constructor(){const _0x2d1997=_0x3c9859;super(...arguments),I(this,_0x2d1997(0x651),new Map());}[_0x3c9859(0x20f)](){const _0xcba72a=_0x3c9859;this[_0xcba72a(0x651)][_0xcba72a(0x44f)]();}['updateMember'](_0x371787){const _0x285594=_0x3c9859;this[_0x285594(0x651)][_0x285594(0x61d)](_0x371787[_0x285594(0x4c1)],_0x371787);}[_0x3c9859(0x1fc)](_0x18e0a9){const _0x501985=_0x3c9859;this[_0x501985(0x651)]['delete'](_0x18e0a9);}[_0x3c9859(0x1e1)](_0x59cf0b){const _0x57befc=_0x3c9859;return this[_0x57befc(0x651)][_0x57befc(0x58c)](_0x59cf0b);}['getAllMembers'](){const _0x365214=_0x3c9859;return Array['from'](this[_0x365214(0x651)]['values']());}}var ai=Object[_0x3c9859(0x2aa)],ci=Object[_0x3c9859(0x353)],li=(_0x1887e4,_0x10a413,_0xbe811,_0x3dda0e)=>{const _0x56b06c=_0x3c9859;for(var _0x369ab7=_0x3dda0e>0x1?void 0x0:_0x3dda0e?ci(_0x10a413,_0xbe811):_0x10a413,_0x23e711=_0x1887e4[_0x56b06c(0x3a7)]-0x1,_0x3de5c6;_0x23e711>=0x0;_0x23e711--)(_0x3de5c6=_0x1887e4[_0x23e711])&&(_0x369ab7=(_0x3dda0e?_0x3de5c6(_0x10a413,_0xbe811,_0x369ab7):_0x3de5c6(_0x369ab7))||_0x369ab7);return _0x3dda0e&&_0x369ab7&&ai(_0x10a413,_0xbe811,_0x369ab7),_0x369ab7;},de=(_0x183643,_0x2ae8a9)=>(_0x2c8c56,_0x4e1151)=>_0x2ae8a9(_0x2c8c56,_0x4e1151,_0x183643),se=(_0x254496=>(_0x254496[_0x254496[_0x3c9859(0x505)]=0x0]=_0x3c9859(0x505),_0x254496[_0x254496['JOINING']=0x1]=_0x3c9859(0x3f1),_0x254496[_0x254496[_0x3c9859(0x525)]=0x2]=_0x3c9859(0x525),_0x254496[_0x254496[_0x3c9859(0x1cb)]=0x3]=_0x3c9859(0x1cb),_0x254496))(se||{});exports[_0x3c9859(0x312)]=class extends a[_0x3c9859(0x344)]{constructor(_0x5acb3a,_0x356efc,_0x4f393e,_0x1cadea,_0x2a693c,_0x407b7b,_0x1c3389,_0xdcca59,_0x1af124,_0x1b851f){const _0x5e8956=_0x3c9859;super(),I(this,_0x5e8956(0x5c0),new A[(_0x5e8956(0x2b1))](0x0)),I(this,_0x5e8956(0x29c),this[_0x5e8956(0x5c0)][_0x5e8956(0x3eb)]()),I(this,_0x5e8956(0x2cc),new A['Subject']()),I(this,_0x5e8956(0x284),this[_0x5e8956(0x2cc)]['asObservable']()),I(this,_0x5e8956(0x31b)),I(this,_0x5e8956(0x418)),I(this,_0x5e8956(0x4fc)),I(this,_0x5e8956(0x3af),!0x1),I(this,_0x5e8956(0x3f3),null),(this[_0x5e8956(0x60e)]=_0x5acb3a,this[_0x5e8956(0x56b)]=_0x4f393e,this['_beforeCloseService']=_0x1cadea,this[_0x5e8956(0x48d)]=_0x2a693c,this['_configService']=_0x407b7b,this['_localeService']=_0x1c3389,this[_0x5e8956(0x4b6)]=_0xdcca59,this[_0x5e8956(0x2ce)]=_0x1af124,this['_telemetryService']=_0x1b851f,this[_0x5e8956(0x3af)]=!!this[_0x5e8956(0x301)],_0x356efc[_0x5e8956(0x232)](A[_0x5e8956(0x2d1)](this[_0x5e8956(0x376)]))[_0x5e8956(0x4c3)](_0x4a7621=>{const _0x135d55=_0x5e8956;var _0x1a6ca9;typeof _0x4a7621>'u'||(this[_0x135d55(0x31b)]=_0x4a7621,_0x4a7621?(this[_0x135d55(0x642)](_0x4a7621),this[_0x135d55(0x418)]=_0x4a7621[_0x135d55(0x3cc)]['subscribe'](_0x146a28=>{const _0x18e96f=_0x135d55;_0x146a28[_0x18e96f(0x333)]===this['_unitID']&&this[_0x18e96f(0x233)](_0x146a28);})):(this[_0x135d55(0x625)](),this[_0x135d55(0x5c0)][_0x135d55(0x4a4)](0x2),(_0x1a6ca9=this[_0x135d55(0x418)])==null||_0x1a6ca9[_0x135d55(0x5f2)](),this['_socketMessageSubscription']=null));}),this[_0x5e8956(0x44a)](this[_0x5e8956(0x631)]['registerOnClose'](()=>{const _0x2f7ec9=_0x5e8956;var _0x517654;(_0x517654=this[_0x2f7ec9(0x31b)])==null||_0x517654[_0x2f7ec9(0x668)]({'cmd':G[_0x2f7ec9(0x31d)],'data':{'roomID':this['_unitID']}});})));}get[_0x3c9859(0x1f4)](){const _0x1daf32=_0x3c9859;return this[_0x1daf32(0x5c0)]['getValue']();}[_0x3c9859(0x667)](){const _0x4b4476=_0x3c9859;var _0x2f2700,_0x5107c8;return(_0x5107c8=(_0x2f2700=this['_socket'])==null?void 0x0:_0x2f2700[_0x4b4476(0x4c1)])!=null?_0x5107c8:null;}[_0x3c9859(0x20f)](){const _0xa159ed=_0x3c9859;super['dispose'](),this[_0xa159ed(0x376)][_0xa159ed(0x4a4)](),this[_0xa159ed(0x376)]['complete']();}['close'](){const _0x30b7bb=_0x3c9859;var _0x28c96f,_0x3cf636;this['_throwTelemetryCollaborationNewChangeset'](),(_0x28c96f=this['_socket'])==null||_0x28c96f[_0x30b7bb(0x668)]({'cmd':G[_0x30b7bb(0x31d)],'data':{'roomID':this[_0x30b7bb(0x60e)]}}),(_0x3cf636=this[_0x30b7bb(0x31b)])==null||_0x3cf636[_0x30b7bb(0x59d)](),this[_0x30b7bb(0x2cc)][_0x30b7bb(0x319)](),this[_0x30b7bb(0x5c0)][_0x30b7bb(0x319)](),this[_0x30b7bb(0x20f)]();}[_0x3c9859(0x233)](_0x5de9e9){const _0x238f70=_0x3c9859;_0x5de9e9[_0x238f70(0x220)]===G['JOIN']?this[_0x238f70(0x3b3)](_0x5de9e9):_0x5de9e9[_0x238f70(0x220)]===G['RECV']&&this['_onRecvEvent'](_0x5de9e9);}[_0x3c9859(0x642)](_0x41751c){const _0xad31a6=_0x3c9859;this['_sessionStatus$'][_0xad31a6(0x4a4)](0x1),_0x41751c[_0xad31a6(0x668)]({'cmd':G[_0xad31a6(0x45c)],'routeKey':this[_0xad31a6(0x60e)],'routeType':'','data':{'rooms':[{'roomID':this[_0xad31a6(0x60e)]}]}});}['_onJoinRoomEvent'](_0x19abfc){const _0x3bce83=_0x3c9859;var _0x111b55;if(_0x19abfc[_0x3bce83(0x608)]===Et[_0x3bce83(0x262)]){this[_0x3bce83(0x48d)]['show']({'type':Ie[_0x3bce83(0x47d)][_0x3bce83(0x1d1)],'content':this[_0x3bce83(0x224)]['t']('session.room-full')}),this[_0x3bce83(0x5c0)][_0x3bce83(0x4a4)](0x2);return;}this[_0x3bce83(0x5c0)][_0x3bce83(0x4a4)](0x3);const _0x6f6a2c=(_0x111b55=_0x19abfc['data'][_0x3bce83(0x4ad)][this[_0x3bce83(0x60e)]])==null?void 0x0:_0x111b55[_0x3bce83(0x396)];_0x6f6a2c&&_0x6f6a2c[_0x3bce83(0x4d1)](_0x369cea=>this[_0x3bce83(0x4b6)]['updateMember'](this[_0x3bce83(0x60e)],_0x369cea));}[_0x3c9859(0x595)](_0x3859ea){const _0x504837=_0x3c9859;try{const _0x59f060=_0x3859ea[_0x504837(0x650)];switch(_0x59f060[_0x504837(0x227)]){case p['CollaborationEvent'][_0x504837(0x612)]:this['_onUserJoin'](_0x59f060),this[_0x504837(0x2cc)][_0x504837(0x4a4)](_0x59f060);break;case p[_0x504837(0x4dc)][_0x504837(0x64f)]:this[_0x504837(0x61b)](_0x59f060),this[_0x504837(0x2cc)][_0x504837(0x4a4)](_0x59f060);break;case p[_0x504837(0x4dc)][_0x504837(0x242)]:case p[_0x504837(0x4dc)][_0x504837(0x22f)]:this[_0x504837(0x2e2)](),this['_clearCollaborationTimeoutTimer'](),this[_0x504837(0x2cc)][_0x504837(0x4a4)](_0x59f060);break;case p['CollaborationEvent'][_0x504837(0x35c)]:this[_0x504837(0x56b)][_0x504837(0x581)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x504837(0x45e)](_0x59f060)),this[_0x504837(0x2cc)][_0x504837(0x4a4)](_0x59f060);break;case p[_0x504837(0x4dc)][_0x504837(0x48c)]:this[_0x504837(0x2ce)][_0x504837(0x3ee)](_0x59f060['data']),this[_0x504837(0x2cc)][_0x504837(0x4a4)](_0x59f060);break;default:this[_0x504837(0x2cc)][_0x504837(0x4a4)](_0x59f060);}}catch(_0x49b296){this[_0x504837(0x56b)][_0x504837(0x581)](_0x49b296,_0x3859ea);}}['_onUserJoin'](_0x3774fd){const _0x22d118=_0x3c9859;this[_0x22d118(0x4b6)][_0x22d118(0x279)](this['_unitID'],_0x3774fd[_0x22d118(0x650)]);}[_0x3c9859(0x61b)](_0x50ed58){const _0x160be9=_0x3c9859;this[_0x160be9(0x4b6)][_0x160be9(0x1fc)](this['_unitID'],_0x50ed58[_0x160be9(0x650)][_0x160be9(0x4c1)]);}async[_0x3c9859(0x668)](_0x24d34e,_0x45f0e8){const _0x34ce76=_0x3c9859;if(this[_0x34ce76(0x1f4)]!==0x3||!this[_0x34ce76(0x31b)])throw new Error(_0x34ce76(0x1f0));try{_0x24d34e[_0x34ce76(0x227)]===p[_0x34ce76(0x4dc)]['SUBMIT_CHANGESET']&&(this[_0x34ce76(0x46a)](),this['_startTelemetryCollaborationNewChangeset'](_0x24d34e)),this[_0x34ce76(0x31b)][_0x34ce76(0x668)]({'cmd':G[_0x34ce76(0x61f)],'routeKey':_0x45f0e8,'routeType':'','data':_0x24d34e});}catch(_0x44e6ed){this['_logService']['error'](_0x44e6ed);}}[_0x3c9859(0x46a)](){const _0x225a4e=_0x3c9859;var _0x100764;this['_collaborationTimeoutTimer']=window['setTimeout'](()=>{const _0x17ab86=_0x1e8f;this['_collaborationTimeoutTimer']=null,this['_messageService'][_0x17ab86(0x38c)]({'type':Ie[_0x17ab86(0x47d)]['Error'],'content':this['_localeService']['t'](_0x17ab86(0x32e))});},(_0x100764=this[_0x225a4e(0x329)][_0x225a4e(0x5ce)](Ct))!=null?_0x100764:nn);}['_clearCollaborationTimeoutTimer'](){const _0x439193=_0x3c9859;this[_0x439193(0x4fc)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x439193(0x4fc)]=null);}[_0x3c9859(0x208)](_0x525909){const _0x3dc041=_0x3c9859;if(!this['_shouldReportTelemetry'])return;const {data:_0x11fd78}=_0x525909,{unitID:_0x2471e7,changeset:_0x15f79f}=_0x11fd78,{mutations:_0x49b9e9,type:_0x324fb0}=_0x15f79f;this['_telemetryInfo']={'unitId':_0x2471e7,'type':_0x324fb0,'startTime':performance[_0x3dc041(0x2bd)](),'stopTime':0x0,'duration':0x0,'size':ni(_0x49b9e9)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x31b912=_0x3c9859;if(this[_0x31b912(0x3af)]){if(!this[_0x31b912(0x3f3)]){this[_0x31b912(0x56b)][_0x31b912(0x581)](_0x31b912(0x62b),_0x31b912(0x299));return;}this[_0x31b912(0x3f3)]['stopTime']=performance[_0x31b912(0x2bd)](),this['_telemetryInfo'][_0x31b912(0x585)]=this['_telemetryInfo'][_0x31b912(0x5ed)]-this[_0x31b912(0x3f3)]['startTime'],this[_0x31b912(0x301)][_0x31b912(0x307)](ti,this['_telemetryInfo']),this[_0x31b912(0x3f3)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x4d845e=_0x3c9859;this[_0x4d845e(0x3f3)]=null;}},exports[_0x3c9859(0x312)]=li([de(0x2,a['ILogService']),de(0x3,te['IBeforeCloseService']),de(0x4,te['IMessageService']),de(0x5,a[_0x3c9859(0x5fd)]),de(0x6,a['Inject'](a['LocaleService'])),de(0x7,a[_0x3c9859(0x288)](exports[_0x3c9859(0x60b)])),de(0x8,a[_0x3c9859(0x288)](Tt)),de(0x9,a['Optional'](jn['ITelemetryService']))],exports['CollaborationSession']);var hi=Object[_0x3c9859(0x2aa)],_i=Object['getOwnPropertyDescriptor'],ui=(_0x49ec6a,_0xf194a0,_0x1da7f8,_0x50c506)=>{for(var _0x1431ba=_0x50c506>0x1?void 0x0:_0x50c506?_i(_0xf194a0,_0x1da7f8):_0xf194a0,_0x3f71b4=_0x49ec6a['length']-0x1,_0x1c7c18;_0x3f71b4>=0x0;_0x3f71b4--)(_0x1c7c18=_0x49ec6a[_0x3f71b4])&&(_0x1431ba=(_0x50c506?_0x1c7c18(_0xf194a0,_0x1da7f8,_0x1431ba):_0x1c7c18(_0x1431ba))||_0x1431ba);return _0x50c506&&_0x1431ba&&hi(_0xf194a0,_0x1da7f8,_0x1431ba),_0x1431ba;},pe=(_0x252f56,_0x568891)=>(_0x5d107b,_0x1c64d0)=>_0x568891(_0x5d107b,_0x1c64d0,_0x252f56);exports[_0x3c9859(0x5bf)]=class extends a[_0x3c9859(0x32a)]{constructor(_0x4df144,_0x2c9f58,_0x2fbda9,_0x33516b,_0x112b7b,_0x2b7466,_0x268e95){const _0x286f8d=_0x3c9859;super(),I(this,_0x286f8d(0x5ba),new A['BehaviorSubject'](void 0x0)),I(this,_0x286f8d(0x4cf),this[_0x286f8d(0x5ba)]['asObservable']()),I(this,_0x286f8d(0x2d6),null),I(this,'_sessions',new Map()),I(this,'_status$',new A[(_0x286f8d(0x2b1))](se['IDLE'])),I(this,_0x286f8d(0x2bf),this['_status$'][_0x286f8d(0x3eb)]()),I(this,_0x286f8d(0x64d),!0x1),I(this,_0x286f8d(0x34c)),I(this,'_retryCount',0x0),I(this,_0x286f8d(0x273)),I(this,'_timeoutTimer'),(this['_injector']=_0x4df144,this[_0x286f8d(0x224)]=_0x2c9f58,this[_0x286f8d(0x48d)]=_0x2fbda9,this[_0x286f8d(0x56b)]=_0x33516b,this[_0x286f8d(0x329)]=_0x112b7b,this[_0x286f8d(0x392)]=_0x2b7466,this[_0x286f8d(0x53c)]=_0x268e95,this['_initEventListeners']());}get['_socket'](){const _0x335b3b=_0x3c9859;return this['_socket$'][_0x335b3b(0x3ed)]();}[_0x3c9859(0x39a)](){const _0xe7c164=_0x3c9859;this[_0xe7c164(0x4f7)](),this[_0xe7c164(0x443)]();}[_0x3c9859(0x20f)](){const _0x318801=_0x3c9859;super[_0x318801(0x20f)](),this['_sessions']['forEach'](_0x37684d=>_0x37684d[_0x318801(0x20f)]()),this[_0x318801(0x20d)][_0x318801(0x44f)](),this[_0x318801(0x5e4)][_0x318801(0x319)]();}async['requireSession'](_0x55a116){const _0x3ce9b1=_0x3c9859;if(this[_0x3ce9b1(0x20d)][_0x3ce9b1(0x636)](_0x55a116))return this[_0x3ce9b1(0x20d)][_0x3ce9b1(0x58c)](_0x55a116);this['_tryEnsureSocket']();const _0x110ef=this[_0x3ce9b1(0x2fc)][_0x3ce9b1(0x2cf)](exports[_0x3ce9b1(0x312)],_0x55a116,this['_socket$'][_0x3ce9b1(0x3eb)]());return this['_sessions']['set'](_0x55a116,_0x110ef),_0x110ef;}['closeSession'](_0x13c194){const _0x75f49a=_0x3c9859;var _0x1ca611;const _0x505818=this['_sessions']['get'](_0x13c194);_0x505818&&(this['_sessions'][_0x75f49a(0x4c4)](_0x13c194),_0x505818['close']()),this['_sessions'][_0x75f49a(0x4cd)]||(_0x1ca611=this[_0x75f49a(0x31b)])==null||_0x1ca611[_0x75f49a(0x59d)]();}['reconnect'](){const _0xe31e9e=_0x3c9859;this[_0xe31e9e(0x26f)]=0x0,this[_0xe31e9e(0x34c)]!=null&&(clearTimeout(this[_0xe31e9e(0x34c)]),this[_0xe31e9e(0x34c)]=null),this[_0xe31e9e(0x607)]();}async['_getSessionTicket'](){const _0x2a2775=_0x3c9859;var _0x524d87,_0x4a7b59,_0x20c78e;const _0x2362fb=this[_0x2a2775(0x329)][_0x2a2775(0x5ce)](ee),_0x18428a=(_0x524d87=_0x2362fb==null?void 0x0:_0x2362fb['wsSessionTicketUrl'])!=null?_0x524d87:Fn;return(_0x20c78e=(_0x4a7b59=(await this[_0x2a2775(0x53c)][_0x2a2775(0x58c)](_0x18428a,{'headers':{'Content-Type':_0x2a2775(0x3c8)}}))[_0x2a2775(0x1e0)])==null?void 0x0:_0x4a7b59[_0x2a2775(0x433)])!=null?_0x20c78e:'';}[_0x3c9859(0x1de)](_0x189a91){const _0x55a6e5=_0x3c9859;var _0x5b5079,_0x5e0e87;const _0x5d00ec=this['_configService'][_0x55a6e5(0x5ce)](en),_0x59b47c=this[_0x55a6e5(0x329)][_0x55a6e5(0x5ce)](ee),_0x56b12f=(_0x5e0e87=(_0x5b5079=_0x59b47c==null?void 0x0:_0x59b47c[_0x55a6e5(0x46e)])!=null?_0x5b5079:_0x5d00ec)!=null?_0x5e0e87:Wn,_0x4ada93=new URL(_0x56b12f,window[_0x55a6e5(0x5dc)][_0x55a6e5(0x5a5)]);return _0x4ada93[_0x55a6e5(0x589)][_0x55a6e5(0x61d)]('sessionTicket',_0x189a91),_0x4ada93[_0x55a6e5(0x3ff)]();}async[_0x3c9859(0x53a)](){const _0x4c6fd1=_0x3c9859,_0x3a9ec8=await this[_0x4c6fd1(0x32c)](),_0x2d30a7=this['_createSocketURL'](_0x3a9ec8),_0x42ea5a=this['_socketService'][_0x4c6fd1(0x350)](_0x2d30a7);return this[_0x4c6fd1(0x2d6)]=_0x42ea5a,_0x42ea5a;}async[_0x3c9859(0x31a)](){const _0x3506da=_0x3c9859;var _0x1d37c8,_0x4d33b2;try{const _0xf8c690=(_0x4d33b2=(_0x1d37c8=this[_0x3506da(0x31b)])!=null?_0x1d37c8:this[_0x3506da(0x2d6)])!=null?_0x4d33b2:await this[_0x3506da(0x53a)]();if(_0xf8c690){const _0x228e34=_0xf8c690['send'];_0xf8c690[_0x3506da(0x668)]=_0x2bd1aa=>(this[_0x3506da(0x338)](),_0x228e34[_0x3506da(0x2af)](_0xf8c690,[_0x2bd1aa])),_0xf8c690[_0x3506da(0x3cc)][_0x3506da(0x4c3)](_0x1af8b1=>this[_0x3506da(0x3a8)](_0xf8c690,_0x1af8b1)),_0xf8c690[_0x3506da(0x48a)]['pipe'](V[_0x3506da(0x1bf)](0x1))[_0x3506da(0x4c3)](_0x500aa8=>this[_0x3506da(0x56b)][_0x3506da(0x581)](_0x3506da(0x358),_0x500aa8)),_0xf8c690[_0x3506da(0x266)][_0x3506da(0x232)](V[_0x3506da(0x1bf)](0x1))[_0x3506da(0x4c3)](()=>{const _0x1c9ef6=_0x3506da;this[_0x1c9ef6(0x3dc)](_0xf8c690);}),_0xf8c690[_0x3506da(0x36a)][_0x3506da(0x232)](V[_0x3506da(0x1bf)](0x1))[_0x3506da(0x4c3)](_0x309175=>{const _0xea6891=_0x3506da;this[_0xea6891(0x56b)]['debug'](_0xea6891(0x624),_0xea6891(0x3c5),_0x309175),this[_0xea6891(0x1f6)]();});}}catch(_0x515524){this['_logService'][_0x3506da(0x581)](_0x515524),this[_0x3506da(0x1f6)]();}}[_0x3c9859(0x3dc)](_0x3cf052){const _0x5af0a7=_0x3c9859;this[_0x5af0a7(0x56b)]['debug'](_0x5af0a7(0x624),_0x5af0a7(0x576)),_0x3cf052[_0x5af0a7(0x668)]({'cmd':G[_0x5af0a7(0x406)]}),this['_rescheduleHeartbeat']();}[_0x3c9859(0x4f7)](){const _0x2d3e33=_0x3c9859;window[_0x2d3e33(0x1db)](_0x2d3e33(0x5a8),()=>this['_onOffline']());}[_0x3c9859(0x2a1)](){const _0x409c02=_0x3c9859;this[_0x409c02(0x64d)]=!0x1,this[_0x409c02(0x2d6)]=null,this['_status$'][_0x409c02(0x4a4)](se[_0x409c02(0x525)]),this[_0x409c02(0x5ba)]['next'](null),this[_0x409c02(0x4a3)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){const _0x31d5e6=_0x3c9859;var _0x4c44b1;this[_0x31d5e6(0x2a1)](),this['_retryCount']<((_0x4c44b1=this[_0x31d5e6(0x329)][_0x31d5e6(0x5ce)](sn))!=null?_0x4c44b1:Yn)?(this[_0x31d5e6(0x48d)]['show']({'key':_0x31d5e6(0x466),'type':Ie[_0x31d5e6(0x47d)][_0x31d5e6(0x1d1)],'content':this['_localeService']['t'](_0x31d5e6(0x212))}),this[_0x31d5e6(0x607)]()):this[_0x31d5e6(0x48d)][_0x31d5e6(0x38c)]({'key':_0x31d5e6(0x466),'type':Ie[_0x31d5e6(0x47d)]['Error'],'content':this['_localeService']['t'](_0x31d5e6(0x5c8))});}[_0x3c9859(0x443)](){const _0x3350cd=_0x3c9859,_0x445d1a=()=>{const _0x5c58b2=_0x1e8f;this[_0x5c58b2(0x31b)]||this[_0x5c58b2(0x52e)]();},_0x4541d4=()=>{const _0x13e060=_0x1e8f;this['_socket']||document[_0x13e060(0x328)]==='hidden'||this[_0x13e060(0x52e)]();};window[_0x3350cd(0x1db)]('online',_0x445d1a),document[_0x3350cd(0x1db)](_0x3350cd(0x4c5),_0x4541d4);}[_0x3c9859(0x607)](){const _0x161d03=_0x3c9859;var _0x4c56e2;const _0x35b8f4=this[_0x161d03(0x26f)],_0x2a7412=this[_0x161d03(0x329)][_0x161d03(0x5ce)](ee),_0x5628f4=_0x35b8f4===0x0?0x0:((_0x4c56e2=_0x2a7412==null?void 0x0:_0x2a7412[_0x161d03(0x342)])!=null?_0x4c56e2:Gn)*0x2**_0x35b8f4;this[_0x161d03(0x34c)]=window['setTimeout'](()=>{const _0x254f6d=_0x161d03;clearTimeout(this['_retryConnectingTimer']),this[_0x254f6d(0x34c)]=null,this[_0x254f6d(0x31a)]();},_0x5628f4),this[_0x161d03(0x26f)]+=0x1;}[_0x3c9859(0x3a8)](_0x1ab2f5,_0x4d9300){const _0x526eea=_0x3c9859,{cmd:_0x4ec5da}=_0x4d9300;_0x4ec5da===G[_0x526eea(0x406)]&&!this[_0x526eea(0x64d)]&&(_0x1ab2f5[_0x526eea(0x4c1)]=_0x4d9300[_0x526eea(0x650)][_0x526eea(0x4c1)],this['_socket$'][_0x526eea(0x4a4)](_0x1ab2f5),this[_0x526eea(0x5e4)][_0x526eea(0x4a4)](se[_0x526eea(0x1cb)]),this[_0x526eea(0x64d)]=!0x0,this[_0x526eea(0x2d6)]=null),_0x4ec5da===G['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x526eea(0x338)]();}[_0x3c9859(0x338)](){const _0x35ef58=_0x3c9859;var _0x473880;this[_0x35ef58(0x4c7)](),this[_0x35ef58(0x273)]=window[_0x35ef58(0x5e0)](()=>this[_0x35ef58(0x4d0)](),(_0x473880=this[_0x35ef58(0x329)][_0x35ef58(0x5ce)](tn))!=null?_0x473880:Vn);}[_0x3c9859(0x4d0)](){const _0x5e1dc7=_0x3c9859;this['_socket'][_0x5e1dc7(0x668)]({'cmd':G[_0x5e1dc7(0x39e)]}),this[_0x5e1dc7(0x302)]();}['_waitForHeartbeatResponse'](){const _0x2907c3=_0x3c9859;var _0x5254ad;this[_0x2907c3(0x3a0)]=window[_0x2907c3(0x5e0)](()=>this[_0x2907c3(0x1f6)](),(_0x5254ad=this[_0x2907c3(0x329)]['getConfig'](Ct))!=null?_0x5254ad:nn);}[_0x3c9859(0x4c7)](){const _0x439e58=_0x3c9859;this[_0x439e58(0x273)]!=null&&(clearTimeout(this[_0x439e58(0x273)]),this[_0x439e58(0x273)]=null);}[_0x3c9859(0x4a3)](){const _0x5cebf7=_0x3c9859;this[_0x5cebf7(0x3a0)]!=null&&(clearTimeout(this[_0x5cebf7(0x3a0)]),this[_0x5cebf7(0x3a0)]=null);}},exports[_0x3c9859(0x5bf)]=ui([pe(0x0,a[_0x3c9859(0x288)](a['Injector'])),pe(0x1,a[_0x3c9859(0x288)](a['LocaleService'])),pe(0x2,te['IMessageService']),pe(0x3,a['ILogService']),pe(0x4,a[_0x3c9859(0x5fd)]),pe(0x5,bt),pe(0x6,a['Inject'](J[_0x3c9859(0x362)]))],exports[_0x3c9859(0x5bf)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x3c9859(0x331)]((s+0x100)['toString'](0x10)[_0x3c9859(0x5cf)](0x1));function di(_0x43500f,_0x34579f=0x0){return(Y[_0x43500f[_0x34579f+0x0]]+Y[_0x43500f[_0x34579f+0x1]]+Y[_0x43500f[_0x34579f+0x2]]+Y[_0x43500f[_0x34579f+0x3]]+'-'+Y[_0x43500f[_0x34579f+0x4]]+Y[_0x43500f[_0x34579f+0x5]]+'-'+Y[_0x43500f[_0x34579f+0x6]]+Y[_0x43500f[_0x34579f+0x7]]+'-'+Y[_0x43500f[_0x34579f+0x8]]+Y[_0x43500f[_0x34579f+0x9]]+'-'+Y[_0x43500f[_0x34579f+0xa]]+Y[_0x43500f[_0x34579f+0xb]]+Y[_0x43500f[_0x34579f+0xc]]+Y[_0x43500f[_0x34579f+0xd]]+Y[_0x43500f[_0x34579f+0xe]]+Y[_0x43500f[_0x34579f+0xf]])['toLowerCase']();}let Je;const fi=new Uint8Array(0x10);function vi(){const _0x260181=_0x3c9859;if(!Je){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x260181(0x535));Je=crypto[_0x260181(0x401)][_0x260181(0x2ff)](crypto);}return Je(fi);}const Si=typeof crypto<'u'&&crypto[_0x3c9859(0x2ad)]&&crypto[_0x3c9859(0x2ad)]['bind'](crypto),Mt={'randomUUID':Si};function pi(_0x1da582,_0x36fb13,_0x35dc28){const _0x16b8a1=_0x3c9859;if(Mt[_0x16b8a1(0x2ad)]&&!_0x36fb13&&!_0x1da582)return Mt['randomUUID']();_0x1da582=_0x1da582||{};const _0x150eee=_0x1da582[_0x16b8a1(0x498)]||(_0x1da582[_0x16b8a1(0x2b0)]||vi)();return _0x150eee[0x6]=_0x150eee[0x6]&0xf|0x40,_0x150eee[0x8]=_0x150eee[0x8]&0x3f|0x80,di(_0x150eee);}var mi=Object['defineProperty'],gi=Object[_0x3c9859(0x353)],Ii=(_0x1eca58,_0x539c3a,_0xfeef37,_0x7e4fe)=>{const _0x429786=_0x3c9859;for(var _0x259da4=_0x7e4fe>0x1?void 0x0:_0x7e4fe?gi(_0x539c3a,_0xfeef37):_0x539c3a,_0x235ff9=_0x1eca58[_0x429786(0x3a7)]-0x1,_0x563fb7;_0x235ff9>=0x0;_0x235ff9--)(_0x563fb7=_0x1eca58[_0x235ff9])&&(_0x259da4=(_0x7e4fe?_0x563fb7(_0x539c3a,_0xfeef37,_0x259da4):_0x563fb7(_0x259da4))||_0x259da4);return _0x7e4fe&&_0x259da4&&mi(_0x539c3a,_0xfeef37,_0x259da4),_0x259da4;},Ze=(_0x4bc912,_0x5e2cf2)=>(_0x3f6e28,_0x45137e)=>_0x5e2cf2(_0x3f6e28,_0x45137e,_0x4bc912);let ke=class{constructor(_0x2e2c68,_0x5be2f9,_0x2cec89){const _0x185b2f=_0x3c9859;this[_0x185b2f(0x2fc)]=_0x2e2c68,this[_0x185b2f(0x230)]=_0x5be2f9,this[_0x185b2f(0x42e)]=_0x2cec89;}[_0x3c9859(0x268)](_0x4f46a9){const _0x3fc054=_0x3c9859;this[_0x3fc054(0x347)](_0x4f46a9),this[_0x3fc054(0x574)](_0x4f46a9);}['transformRemoteChangeset'](_0x1cb157){const _0x3fb5fb=_0x3c9859,{unitID:_0x395536}=_0x1cb157,_0x470c62=this['_renderManagerService']['getRenderById'](_0x395536)['with'](Z[_0x3fb5fb(0x4ef)]),{redoCache:_0x2a751f}=_0x470c62['getUndoRedoMutationParamsCache']();if(_0x2a751f['length']===0x0)return _0x1cb157;let _0x2a45f9=a[_0x3fb5fb(0x357)][_0x3fb5fb(0x5ad)](_0x1cb157[_0x3fb5fb(0x3ca)][0x0]);for(let _0x322479=0x0;_0x322479<_0x2a751f[_0x3fb5fb(0x3a7)];_0x322479++){const _0xbe2369={'id':_0x3fb5fb(0x5b9),'params':{..._0x2a751f[_0x322479]}},_0xb15a18=this['_transformService'][_0x3fb5fb(0x1f5)](_0x2a45f9,_0xbe2369,!0x1);if(p[_0x3fb5fb(0x4ee)](_0xb15a18))throw _0xb15a18[_0x3fb5fb(0x581)];_0x2a45f9=_0xb15a18[_0x3fb5fb(0x2a9)];}return{...a[_0x3fb5fb(0x357)][_0x3fb5fb(0x5ad)](_0x1cb157),'mutations':[_0x2a45f9]};}[_0x3c9859(0x347)](_0x51cee4){const _0x1e34b3=_0x3c9859,{unitID:_0x5a4011}=_0x51cee4,_0x523e57=this[_0x1e34b3(0x42e)][_0x1e34b3(0x5f3)](_0x5a4011)[_0x1e34b3(0x3e8)](Z[_0x1e34b3(0x4ef)]),{undoCache:_0x5b0b22,redoCache:_0x5dc1d4}=_0x523e57[_0x1e34b3(0x249)]();if(_0x5b0b22['length']===0x0||_0x5dc1d4[_0x1e34b3(0x3a7)]===0x0)return;const _0x3acdae=[],_0x333c5c=[];let _0xc34a6=a['Tools'][_0x1e34b3(0x5ad)](_0x51cee4[_0x1e34b3(0x3ca)][0x0]),_0x290c67=a[_0x1e34b3(0x357)][_0x1e34b3(0x5ad)](_0x51cee4['mutations'][0x0]);for(let _0x2d4201=_0x5b0b22[_0x1e34b3(0x3a7)]-0x1;_0x2d4201>=0x0;_0x2d4201--){const _0x13825c={'id':_0x1e34b3(0x5b9),'params':{..._0x5b0b22[_0x2d4201]}},_0x50c180={'id':'doc.mutation.rich-text-editing','params':{..._0x5dc1d4[_0x2d4201]}},_0x4e4d53=this[_0x1e34b3(0x230)]['transformMutation'](_0xc34a6,_0x13825c,!0x1),_0x5253e0=this[_0x1e34b3(0x230)][_0x1e34b3(0x1f5)](_0x290c67,_0x50c180,!0x1);if(p[_0x1e34b3(0x4ee)](_0x4e4d53))throw _0x4e4d53[_0x1e34b3(0x581)];if(p[_0x1e34b3(0x4ee)](_0x5253e0))throw _0x5253e0[_0x1e34b3(0x581)];_0x3acdae[_0x1e34b3(0x37f)](_0x4e4d53['m2Prime'][_0x1e34b3(0x530)]),_0x333c5c['unshift'](_0x5253e0[_0x1e34b3(0x50b)][_0x1e34b3(0x530)]),_0xc34a6=_0x4e4d53['m1Prime'],_0x290c67=_0x5253e0[_0x1e34b3(0x2a9)];}_0x523e57[_0x1e34b3(0x45d)]({'undoCache':_0x3acdae,'redoCache':_0x333c5c});}[_0x3c9859(0x574)](_0x4e8bf8){const _0x6fe711=_0x3c9859,{unitID:_0x2944a5}=_0x4e8bf8,_0x306eee=this[_0x6fe711(0x42e)]['getRenderById'](_0x2944a5)[_0x6fe711(0x3e8)](Z[_0x6fe711(0x4ef)]),_0x578d6e=_0x306eee[_0x6fe711(0x55c)]();if(_0x578d6e==null)return;const _0x5265e2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e8bf8[_0x6fe711(0x52a)],'actions':null,'textRanges':[_0x578d6e]}}],_0x176ebb=this[_0x6fe711(0x230)][_0x6fe711(0x489)](_0x4e8bf8,_0x5265e2);if(!p[_0x6fe711(0x33f)](_0x176ebb))throw _0x176ebb['error'];const _0x1739f1=_0x176ebb['m2Prime'][0x0][_0x6fe711(0x530)][_0x6fe711(0x478)];Array[_0x6fe711(0x65a)](_0x1739f1)&&_0x1739f1[_0x6fe711(0x3a7)]&&_0x306eee[_0x6fe711(0x460)](_0x1739f1[0x0]);}};ke=Ii([Ze(0x0,a[_0x3c9859(0x288)](a['Injector'])),Ze(0x1,p[_0x3c9859(0x5fc)]),Ze(0x2,K['IRenderManagerService'])],ke);var Ci=Object[_0x3c9859(0x2aa)],Ei=Object[_0x3c9859(0x353)],bi=(_0x2e600b,_0x2e499f,_0x33b1d9,_0x297f2d)=>{for(var _0x54e1f0=_0x297f2d>0x1?void 0x0:_0x297f2d?Ei(_0x2e499f,_0x33b1d9):_0x2e499f,_0x1a64f8=_0x2e600b['length']-0x1,_0x44a7dc;_0x1a64f8>=0x0;_0x1a64f8--)(_0x44a7dc=_0x2e600b[_0x1a64f8])&&(_0x54e1f0=(_0x297f2d?_0x44a7dc(_0x2e499f,_0x33b1d9,_0x54e1f0):_0x44a7dc(_0x54e1f0))||_0x54e1f0);return _0x297f2d&&_0x54e1f0&&Ci(_0x2e499f,_0x33b1d9,_0x54e1f0),_0x54e1f0;},Pe=(_0x3924fe,_0x3476df)=>(_0x278381,_0x216a7e)=>_0x3476df(_0x278381,_0x216a7e,_0x3924fe);exports['LocalCacheService']=class extends a['Disposable']{constructor(_0x721ead,_0x4823f1,_0x48b2e8,_0x28c5f0,_0x4833b2){const _0x37bd78=_0x3c9859;super(),I(this,'_cachedData',new Map()),I(this,_0x37bd78(0x445),new Map()),I(this,'_disabled',!0x1),(this[_0x37bd78(0x329)]=_0x721ead,this[_0x37bd78(0x4cc)]=_0x4823f1,this['_beforeCloseService']=_0x48b2e8,this[_0x37bd78(0x224)]=_0x28c5f0,this[_0x37bd78(0x263)]=_0x4833b2,this[_0x37bd78(0x4be)]());}[_0x3c9859(0x23b)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x153a14=_0x3c9859;this[_0x153a14(0x54c)]=!0x1;}['dispose'](){const _0x4393c2=_0x3c9859;this[_0x4393c2(0x604)]()[_0x4393c2(0x588)](()=>super[_0x4393c2(0x20f)]());}async['loadOfflineData'](_0x4c1aac){const _0x4dca05=_0x3c9859;return this['_disabled']?null:this[_0x4dca05(0x4cc)]['getItem'](At(_0x4c1aac));}async[_0x3c9859(0x397)](_0x2cfab5,_0x210a20){const _0x3188e7=_0x3c9859;return!!this[_0x3188e7(0x4cc)][_0x3188e7(0x359)](_0x2cfab5,_0x210a20);}[_0x3c9859(0x427)](_0x1edb46,_0x201dd6,_0x97db06,_0x1b39a5){const _0x49d390=_0x3c9859,_0x11a416=this['_revisionService'][_0x49d390(0x464)](_0x1edb46);this[_0x49d390(0x5f9)][_0x49d390(0x61d)](_0x1edb46,{'unitID':_0x1edb46,'type':_0x201dd6,'awaitingChangeset':_0x97db06,'mutations':_0x1b39a5,'rev':_0x11a416}),this[_0x49d390(0x445)][_0x49d390(0x636)](_0x1edb46)||this[_0x49d390(0x34d)](_0x1edb46);}[_0x3c9859(0x34d)](_0x15819f){const _0x32c434=_0x3c9859,_0x17df7d=this['_getSaveTimeout']();_0x17df7d===0x0?this[_0x32c434(0x22a)](_0x15819f):this[_0x32c434(0x445)]['set'](_0x15819f,setTimeout(()=>this[_0x32c434(0x22a)](_0x15819f),_0x17df7d));}[_0x3c9859(0x303)](){const _0x1d7b98=_0x3c9859;var _0x976311;return(_0x976311=this['_configService'][_0x1d7b98(0x5ce)](rn))!=null?_0x976311:Kn;}[_0x3c9859(0x22a)](_0x194d14){const _0x494377=_0x3c9859,_0x5e8461=this['_saveTaskMap']['get'](_0x194d14);return _0x5e8461!==void 0x0&&window['clearTimeout'](_0x5e8461),this[_0x494377(0x4cc)][_0x494377(0x359)](At(_0x194d14),this[_0x494377(0x5f9)][_0x494377(0x58c)](_0x194d14))[_0x494377(0x588)](()=>this[_0x494377(0x445)]['delete'](_0x194d14));}async['exhaustSavingTask'](){const _0x1fca67=_0x3c9859,_0x422489=[];this['_saveTaskMap'][_0x1fca67(0x4d1)]((_0x34a721,_0x40a38b)=>{const _0x1d5e4c=_0x1fca67;window['clearTimeout'](_0x34a721),_0x422489[_0x1d5e4c(0x331)](this[_0x1d5e4c(0x22a)](_0x40a38b)[_0x1d5e4c(0x588)](()=>{const _0x110a1d=_0x1d5e4c;this[_0x110a1d(0x445)][_0x110a1d(0x4c4)](_0x40a38b);}));}),await Promise[_0x1fca67(0x375)](_0x422489);}[_0x3c9859(0x4be)](){const _0x4b4312=_0x3c9859;this[_0x4b4312(0x44a)](this['_beforeCloseService'][_0x4b4312(0x5d6)](()=>{const _0x2127fa=_0x4b4312;if(this[_0x2127fa(0x445)]['size'])return this[_0x2127fa(0x224)]['t'](_0x2127fa(0x228));}));}},exports[_0x3c9859(0x544)]=bi([Pe(0x0,a[_0x3c9859(0x5fd)]),Pe(0x1,a[_0x3c9859(0x245)]),Pe(0x2,te['IBeforeCloseService']),Pe(0x3,a[_0x3c9859(0x288)](a['LocaleService'])),Pe(0x4,a[_0x3c9859(0x288)](p['RevisionService']))],exports[_0x3c9859(0x544)]);function At(_0x3a5e7b){return'unit-cache-'+_0x3a5e7b;}var Ti=Object['defineProperty'],Ri=Object['getOwnPropertyDescriptor'],yi=(_0x231320,_0xfeec03,_0x455b8f,_0x20209a)=>{const _0x36db3c=_0x3c9859;for(var _0x2533f3=_0x20209a>0x1?void 0x0:_0x20209a?Ri(_0xfeec03,_0x455b8f):_0xfeec03,_0x8592ed=_0x231320[_0x36db3c(0x3a7)]-0x1,_0x1018e3;_0x8592ed>=0x0;_0x8592ed--)(_0x1018e3=_0x231320[_0x8592ed])&&(_0x2533f3=(_0x20209a?_0x1018e3(_0xfeec03,_0x455b8f,_0x2533f3):_0x1018e3(_0x2533f3))||_0x2533f3);return _0x20209a&&_0x2533f3&&Ti(_0xfeec03,_0x455b8f,_0x2533f3),_0x2533f3;},Qe=(_0x3526f9,_0x4e1564)=>(_0x1e8ee0,_0x3cd846)=>_0x4e1564(_0x1e8ee0,_0x3cd846,_0x3526f9);function Oi(_0x43fc16){const _0x5ae0f0=_0x3c9859,{unitID:_0x56bc0c,mutations:_0x5cb499}=_0x43fc16;return{'unitId':_0x56bc0c,'subUnitId':_0x5cb499[0x0][_0x5ae0f0(0x530)][_0x5ae0f0(0x5d2)]};}let Be=class{constructor(_0x681a56,_0x5b1f2e,_0xe5eb69){const _0x165601=_0x3c9859;this[_0x165601(0x2fc)]=_0x681a56,this['_transformService']=_0x5b1f2e,this['_instanceService']=_0xe5eb69;}[_0x3c9859(0x257)](_0x427aeb){const _0x1487c8=_0x3c9859;var _0x4cb7f1,_0x485510,_0x21f029,_0x44e2eb;const _0x1bedc4=this[_0x1487c8(0x2fc)]['get'](B[_0x1487c8(0x346)]),{unitId:_0x410431,subUnitId:_0x34b438}=Oi(_0x427aeb),_0x59c4c5=_0x1bedc4[_0x1487c8(0x3f6)](_0x410431)[_0x1487c8(0x235)](),_0x2abe22=(_0x485510=(_0x4cb7f1=this[_0x1487c8(0x488)]['getUnit'](_0x410431))==null?void 0x0:_0x4cb7f1[_0x1487c8(0x472)]())==null?void 0x0:_0x485510[_0x1487c8(0x40c)]();if(_0x59c4c5[_0x1487c8(0x3a7)]===0x0||!_0x410431||!_0x34b438)return;const _0xa7e65f=[{'id':B[_0x1487c8(0x223)]['id'],'params':{'unitId':_0x410431,'subUnitId':_0x2abe22,'selections':a[_0x1487c8(0x357)][_0x1487c8(0x5ad)](_0x59c4c5)}}],_0x9617a0=this[_0x1487c8(0x230)]['transformMutationsWithChangeset'](_0x427aeb,_0xa7e65f);if(!p[_0x1487c8(0x33f)](_0x9617a0))throw _0x9617a0[_0x1487c8(0x581)];const _0x3edb7f=(_0x44e2eb=(_0x21f029=_0x9617a0[_0x1487c8(0x50b)][0x0])==null?void 0x0:_0x21f029[_0x1487c8(0x530)])==null?void 0x0:_0x44e2eb[_0x1487c8(0x4e3)];if(Array[_0x1487c8(0x65a)](_0x3edb7f)&&_0x3edb7f[_0x1487c8(0x3a7)]){if(_0x3edb7f[_0x1487c8(0x3a7)]===_0xa7e65f[0x0][_0x1487c8(0x530)][_0x1487c8(0x4e3)][_0x1487c8(0x3a7)]&&_0x3edb7f[_0x1487c8(0x2b9)]((_0x1e04c0,_0x41671c)=>a[_0x1487c8(0x4bb)]['equals'](_0x1e04c0[_0x1487c8(0x42d)],_0xa7e65f[0x0][_0x1487c8(0x530)][_0x1487c8(0x4e3)][_0x41671c][_0x1487c8(0x42d)])))return;this[_0x1487c8(0x2fc)][_0x1487c8(0x58c)](a[_0x1487c8(0x569)])[_0x1487c8(0x413)](B[_0x1487c8(0x223)]['id'],{'unitId':_0x410431,'subUnitId':_0x2abe22,'selections':_0x3edb7f});}}};Be=yi([Qe(0x0,a[_0x3c9859(0x288)](a[_0x3c9859(0x218)])),Qe(0x1,p['ITransformService']),Qe(0x2,a['IUniverInstanceService'])],Be);const qe=a[_0x3c9859(0x670)](_0x3c9859(0x345));var un=(_0x1d0c04=>(_0x1d0c04[_0x1d0c04[_0x3c9859(0x31c)]=0x0]=_0x3c9859(0x31c),_0x1d0c04[_0x1d0c04[_0x3c9859(0x334)]=0x1]='OTHER_CLIENTS_EDITING',_0x1d0c04))(un||{});const Nt=0x7530,Lt=_0x3c9859(0x47e);class Di extends a['Disposable']{constructor(){const _0x28c221=_0x3c9859;super(),I(this,_0x28c221(0x325),a[_0x28c221(0x357)]['generateRandomId']()),I(this,'_selfUnitIDs',new Set()),I(this,'_unitOnClients',new Map()),I(this,'_heartbeatTimer',null),I(this,_0x28c221(0x37d),new Map()),I(this,_0x28c221(0x484),new Map()),this[_0x28c221(0x3b1)]();}[_0x3c9859(0x20f)](){const _0x1a57c9=_0x3c9859;super[_0x1a57c9(0x20f)](),this[_0x1a57c9(0x37d)][_0x1a57c9(0x4d1)]((_0x580ae6,_0x3be8ca)=>this[_0x1a57c9(0x4f8)](_0x3be8ca)),this['_heartbeatTimer']&&window[_0x1a57c9(0x577)](this[_0x1a57c9(0x46c)]);}['getUnitStatus$'](_0x2fce6f){const _0x28e70f=_0x3c9859;return this[_0x28e70f(0x3cb)](_0x2fce6f)[_0x28e70f(0x232)](A[_0x28e70f(0x2c9)]());}[_0x3c9859(0x66c)](_0x274563){const _0xef82b4=_0x3c9859;this[_0xef82b4(0x27b)][_0xef82b4(0x4cd)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0xef82b4(0x4e5)](_0x274563),this['_send']({'type':0x0,'memberID':this[_0xef82b4(0x325)],'unitIDs':[_0x274563],'isForwarded':!0x1});}['disposeUnit'](_0xfa9973){const _0x57c388=_0x3c9859;this[_0x57c388(0x27b)][_0x57c388(0x4c4)](_0xfa9973),this[_0x57c388(0x27b)][_0x57c388(0x4cd)]===0x0&&this[_0x57c388(0x46c)]&&window[_0x57c388(0x577)](this[_0x57c388(0x46c)]);}[_0x3c9859(0x3b1)](){const _0x151f61=_0x3c9859;this['disposeWithMe'](a[_0x151f61(0x42f)](A[_0x151f61(0x552)](window,_0x151f61(0x323))['subscribe'](_0x2fd2b9=>{const _0x1832af=_0x151f61;if(_0x2fd2b9[_0x1832af(0x656)]!==Lt||!_0x2fd2b9[_0x1832af(0x3d4)])return;const _0x1e990c=JSON['parse'](_0x2fd2b9[_0x1832af(0x3d4)]);this['_handleEvent'](_0x1e990c);}))),window[_0x151f61(0x1db)](_0x151f61(0x374),()=>this['_send']({'type':0x1,'memberID':this[_0x151f61(0x325)],'unitIDs':Array['from'](this[_0x151f61(0x27b)])}));}['_handleEvent'](_0x9d25ef){const _0x55dada=_0x3c9859;switch(_0x9d25ef[_0x55dada(0x52b)]){case 0x0:this['_handleJoinEvent'](_0x9d25ef);break;case 0x1:this['_handleLeaveEvent'](_0x9d25ef);break;case 0x2:this[_0x55dada(0x56d)](_0x9d25ef);break;}}[_0x3c9859(0x4ff)](_0x4ecb33){const _0x1a8dff=_0x3c9859,{unitIDs:_0x7c27d2,memberID:_0x5cb04e,isForwarded:_0x5b180d}=_0x4ecb33;_0x7c27d2[_0x1a8dff(0x4d1)](_0x48bea2=>{const _0x453566=_0x1a8dff;if(!_0x5b180d&&this[_0x453566(0x1fb)][_0x453566(0x636)](_0x48bea2)&&this[_0x453566(0x3cb)](_0x48bea2)['next'](0x1),!this[_0x453566(0x1fb)][_0x453566(0x636)](_0x48bea2)||!this[_0x453566(0x1fb)][_0x453566(0x58c)](_0x48bea2)[_0x453566(0x636)](_0x5cb04e)){const _0x59e87b=this[_0x453566(0x1fb)][_0x453566(0x58c)](_0x48bea2)||new Set();_0x59e87b[_0x453566(0x4e5)](_0x5cb04e),this[_0x453566(0x1fb)]['set'](_0x48bea2,_0x59e87b),this[_0x453566(0x2e0)](_0x5cb04e);}}),_0x5b180d||this[_0x1a8dff(0x5cc)]({'type':0x0,'memberID':this[_0x1a8dff(0x325)],'unitIDs':[...this[_0x1a8dff(0x27b)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x36d94b){const _0x372065=_0x3c9859;this[_0x372065(0x4f8)](_0x36d94b);const _0x3f935b=window['setTimeout'](()=>{const _0x1155a2=_0x372065;this[_0x1155a2(0x1fb)][_0x1155a2(0x4d1)](_0x4fe716=>{const _0x473ec9=_0x1155a2;_0x4fe716[_0x473ec9(0x4c4)](_0x36d94b);});},Nt*0x2);this[_0x372065(0x37d)][_0x372065(0x61d)](_0x36d94b,_0x3f935b);}[_0x3c9859(0x4f8)](_0x4a98ec){const _0x4cc70c=_0x3c9859;if(this[_0x4cc70c(0x37d)][_0x4cc70c(0x636)](_0x4a98ec)){const _0x271909=this[_0x4cc70c(0x37d)][_0x4cc70c(0x58c)](_0x4a98ec);_0x271909&&window[_0x4cc70c(0x313)](_0x271909),this[_0x4cc70c(0x37d)][_0x4cc70c(0x61d)](_0x4a98ec,null);}}[_0x3c9859(0x2d2)](_0x213b8c){const _0x2bc6ed=_0x3c9859,{memberID:_0x4c583b,unitIDs:_0x473193}=_0x213b8c;_0x473193[_0x2bc6ed(0x4d1)](_0x4ded02=>{const _0xf6973e=_0x2bc6ed;var _0x4322e7;const _0x1207ff=this[_0xf6973e(0x1fb)][_0xf6973e(0x58c)](_0x4ded02);_0x1207ff&&(_0x1207ff[_0xf6973e(0x4c4)](_0x4c583b),(_0x4322e7=this[_0xf6973e(0x3cb)](_0x4ded02))==null||_0x4322e7[_0xf6973e(0x4a4)](_0x1207ff[_0xf6973e(0x4cd)]===0x0?0x0:0x1));}),this[_0x2bc6ed(0x4f8)](_0x4c583b);}[_0x3c9859(0x56d)](_0x48ff04){const _0x2fe08a=_0x3c9859;this[_0x2fe08a(0x2e0)](_0x48ff04['memberID']);}['_send'](_0x5ca77f){const _0x3879e9=_0x3c9859;localStorage[_0x3879e9(0x359)](Lt,JSON[_0x3879e9(0x45e)](_0x5ca77f));}[_0x3c9859(0x55d)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x3d5d3c=_0x1e8f;this[_0x3d5d3c(0x5cc)]({'type':0x2,'memberID':this[_0x3d5d3c(0x325)]});},Nt);}['_ensureSubject'](_0x5d6e56){const _0x1b9287=_0x3c9859;return this[_0x1b9287(0x484)][_0x1b9287(0x636)](_0x5d6e56)||this['_unitStatus'][_0x1b9287(0x61d)](_0x5d6e56,new A[(_0x1b9287(0x2b1))](0x0)),this['_unitStatus']['get'](_0x5d6e56);}}var wi=Object[_0x3c9859(0x2aa)],Pi=Object[_0x3c9859(0x353)],Ui=(_0x186329,_0x366ed6,_0x1bd0fb,_0x19da97)=>{for(var _0x33a237=_0x19da97>0x1?void 0x0:_0x19da97?Pi(_0x366ed6,_0x1bd0fb):_0x366ed6,_0x458212=_0x186329['length']-0x1,_0x269d1c;_0x458212>=0x0;_0x458212--)(_0x269d1c=_0x186329[_0x458212])&&(_0x33a237=(_0x19da97?_0x269d1c(_0x366ed6,_0x1bd0fb,_0x33a237):_0x269d1c(_0x33a237))||_0x33a237);return _0x19da97&&_0x33a237&&wi(_0x366ed6,_0x1bd0fb,_0x33a237),_0x33a237;},et=(_0x4ba89a,_0x3e7432)=>(_0x547723,_0x37278d)=>_0x3e7432(_0x547723,_0x37278d,_0x4ba89a);let We=class{constructor(_0x597185,_0x37edad,_0x217205){const _0x14d982=_0x3c9859;this[_0x14d982(0x2fc)]=_0x597185,this[_0x14d982(0x230)]=_0x37edad,this[_0x14d982(0x59c)]=_0x217205;}[_0x3c9859(0x2dd)](_0x24ec5d){const _0x2e8df0=_0x3c9859;this[_0x2e8df0(0x2be)](_0x24ec5d);}['transformRemoteChangeset'](_0x3a72e0){const _0x42b019=_0x3c9859,{unitID:_0x77ecb5}=_0x3a72e0,{collaboration:_0x3b9141}=this[_0x42b019(0x59c)]['getStateCache'](_0x77ecb5);if(_0x3b9141[_0x42b019(0x3a7)]===0x0)return _0x3a72e0;let _0x3d7fa6=a[_0x42b019(0x357)][_0x42b019(0x5ad)](_0x3a72e0[_0x42b019(0x3ca)][0x0]);for(let _0x3ddc2a=0x0;_0x3ddc2a<_0x3b9141[_0x42b019(0x3a7)];_0x3ddc2a++){const _0x489cfa={'id':_0x42b019(0x5b9),'params':{'unitId':_0x3b9141[_0x3ddc2a][_0x42b019(0x1ea)],..._0x3b9141[_0x3ddc2a][_0x42b019(0x621)]}},_0x45239c=this['_transformService'][_0x42b019(0x1f5)](_0x3d7fa6,_0x489cfa,!0x1);if(p[_0x42b019(0x4ee)](_0x45239c))throw _0x45239c[_0x42b019(0x581)];_0x3d7fa6=_0x45239c[_0x42b019(0x2a9)];}return{...a[_0x42b019(0x357)][_0x42b019(0x5ad)](_0x3a72e0),'mutations':[_0x3d7fa6]};}['_transformHistoryAndStateStack'](_0x1a602e){const _0x53b262=_0x3c9859,{unitID:_0x139930}=_0x1a602e,{history:_0x3476fc,collaboration:_0x2fe75c}=this[_0x53b262(0x59c)][_0x53b262(0x4fe)](_0x139930);if(_0x3476fc[_0x53b262(0x3a7)]===0x0&&_0x2fe75c[_0x53b262(0x3a7)]===0x0)return;const _0x1deb91=[],_0x49cf21=[];let _0x49d78f=a['Tools'][_0x53b262(0x5ad)](_0x1a602e[_0x53b262(0x3ca)][0x0]),_0x13fe87=a[_0x53b262(0x357)][_0x53b262(0x5ad)](_0x1a602e[_0x53b262(0x3ca)][0x0]);for(let _0x1a4833=_0x3476fc[_0x53b262(0x3a7)]-0x1;_0x1a4833>=0x0;_0x1a4833--){const _0x2f5dee={'id':_0x53b262(0x5b9),'params':{'unitId':_0x3476fc[_0x1a4833][_0x53b262(0x1ea)],..._0x3476fc[_0x1a4833][_0x53b262(0x4e2)]}},_0x2933db={'id':_0x53b262(0x5b9),'params':{'unitId':_0x3476fc[_0x1a4833][_0x53b262(0x1ea)],..._0x3476fc[_0x1a4833][_0x53b262(0x621)]}},_0x4f1770=this['_transformService'][_0x53b262(0x1f5)](_0x49d78f,_0x2f5dee,!0x1),_0x397df6=this[_0x53b262(0x230)]['transformMutation'](_0x13fe87,_0x2933db,!0x1);if(p[_0x53b262(0x4ee)](_0x4f1770))throw _0x4f1770[_0x53b262(0x581)];if(p['isTransformMutationFailure'](_0x397df6))throw _0x397df6[_0x53b262(0x581)];_0x1deb91[_0x53b262(0x37f)]({..._0x3476fc[_0x1a4833],'undoState':_0x4f1770[_0x53b262(0x50b)]['params'],'redoState':_0x397df6['m2Prime'][_0x53b262(0x530)]}),_0x49d78f=_0x4f1770[_0x53b262(0x2a9)],_0x13fe87=_0x397df6[_0x53b262(0x2a9)];}_0x49d78f=a[_0x53b262(0x357)][_0x53b262(0x5ad)](_0x1a602e['mutations'][0x0]),_0x13fe87=a[_0x53b262(0x357)]['deepClone'](_0x1a602e[_0x53b262(0x3ca)][0x0]);for(let _0x2d81de=_0x2fe75c[_0x53b262(0x3a7)]-0x1;_0x2d81de>=0x0;_0x2d81de--){const _0x88a385={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2fe75c[_0x2d81de]['unitId'],..._0x2fe75c[_0x2d81de][_0x53b262(0x4e2)]}},_0x10b1cc={'id':_0x53b262(0x5b9),'params':{'unitId':_0x2fe75c[_0x2d81de][_0x53b262(0x1ea)],..._0x2fe75c[_0x2d81de]['redoState']}},_0x4f89a8=this['_transformService'][_0x53b262(0x1f5)](_0x49d78f,_0x88a385,!0x1),_0x13b00c=this['_transformService'][_0x53b262(0x1f5)](_0x13fe87,_0x10b1cc,!0x1);if(p[_0x53b262(0x4ee)](_0x4f89a8))throw _0x4f89a8[_0x53b262(0x581)];if(p[_0x53b262(0x4ee)](_0x13b00c))throw _0x13b00c['error'];_0x49cf21[_0x53b262(0x37f)]({..._0x2fe75c[_0x2d81de],'undoState':_0x4f89a8[_0x53b262(0x50b)][_0x53b262(0x530)],'redoState':_0x13b00c['m2Prime'][_0x53b262(0x530)]}),_0x49d78f=_0x4f89a8[_0x53b262(0x2a9)],_0x13fe87=_0x13b00c[_0x53b262(0x2a9)];}this[_0x53b262(0x59c)][_0x53b262(0x256)](_0x139930,{'history':_0x1deb91,'collaboration':_0x49cf21});}};We=Ui([et(0x0,a[_0x3c9859(0x288)](a[_0x3c9859(0x218)])),et(0x1,p[_0x3c9859(0x5fc)]),et(0x2,a[_0x3c9859(0x288)](Z[_0x3c9859(0x274)]))],We);function dn(_0x1db9f8){const _0x28e8b7=_0x3c9859;let _0x3836fa='';for(const _0x22c585 of _0x1db9f8){const {startOffset:_0x81fb85,endOffset:_0xb04f34,isActive:_0x205b5e,rangeType:_0x7de7d,segmentId:_0x4340f0,segmentPage:_0x230527}=_0x22c585;_0x3836fa[_0x28e8b7(0x3a7)]&&(_0x3836fa+=','),_0x3836fa+=_0x81fb85+':'+_0xb04f34+':'+(_0x205b5e?'1':'0')+':'+_0x7de7d+':'+_0x4340f0+':'+_0x230527;}return _0x3836fa;}function Mi(_0x267198){const _0x1daf8c=_0x3c9859,_0xba13f7=_0x267198[_0x1daf8c(0x1c6)](','),_0x2493dc=[];for(const _0x461408 of _0xba13f7){const [_0x6008d2,_0x3acd7b,_0x1a83c2,_0x4d2f9c,_0x10ebbc,_0x351b9c]=_0x461408[_0x1daf8c(0x1c6)](':');_0x2493dc['push']({'startOffset':Number(_0x6008d2),'endOffset':Number(_0x3acd7b),'collapsed':_0x6008d2===_0x3acd7b,'isActive':_0x1a83c2==='1','rangeType':_0x4d2f9c===a[_0x1daf8c(0x2f4)]['TEXT']?a['DOC_RANGE_TYPE'][_0x1daf8c(0x5b7)]:a[_0x1daf8c(0x2f4)][_0x1daf8c(0x280)],'segmentId':typeof _0x10ebbc=='string'?String(_0x10ebbc):'','segmentPage':Number(_0x351b9c!=null?_0x351b9c:-0x1)});}return _0x2493dc['some'](_0x281d63=>_0x281d63['isActive'])||(_0x2493dc[0x0]['isActive']=!0x0),_0x2493dc;}class Rt extends a['RxDisposable']{constructor(){const _0x42f431=_0x3c9859;super(...arguments),I(this,_0x42f431(0x57f),new A[(_0x42f431(0x2b1))](null)),I(this,'collabCursorState$',this[_0x42f431(0x57f)]['asObservable']());}['syncEditingCollabCursor'](_0x2d6562){const {unitID:_0x341042,memberID:_0x21938f,textRanges:_0x5718bd}=_0x2d6562,_0x3aaf91=dn(_0x5718bd);if(_0x3aaf91==='')return;const _0x9c9e86={'unitID':_0x341042,'memberID':_0x21938f,'selection':_0x3aaf91};this['_collabCursorState$']['next'](_0x9c9e86);}}var Ai=Object['defineProperty'],Ni=Object[_0x3c9859(0x353)],Li=(_0xbaadef,_0x4f9fb5,_0x4401d4,_0x4d2704)=>{for(var _0x181e9e=_0x4d2704>0x1?void 0x0:_0x4d2704?Ni(_0x4f9fb5,_0x4401d4):_0x4f9fb5,_0x45541a=_0xbaadef['length']-0x1,_0x3dcc6b;_0x45541a>=0x0;_0x45541a--)(_0x3dcc6b=_0xbaadef[_0x45541a])&&(_0x181e9e=(_0x4d2704?_0x3dcc6b(_0x4f9fb5,_0x4401d4,_0x181e9e):_0x3dcc6b(_0x181e9e))||_0x181e9e);return _0x4d2704&&_0x181e9e&&Ai(_0x4f9fb5,_0x4401d4,_0x181e9e),_0x181e9e;},xt=(_0x51ea16,_0xd64c88)=>(_0x3e16c4,_0x55f70b)=>_0xd64c88(_0x3e16c4,_0x55f70b,_0x51ea16);let Fe=class{constructor(_0x43e3ec,_0x237fe9){const _0x55ab23=_0x3c9859;this[_0x55ab23(0x2fc)]=_0x43e3ec,this[_0x55ab23(0x230)]=_0x237fe9;}['transformSelections'](_0x3624c6){const _0x2c9030=_0x3c9859;var _0x432d32;const _0x354850=this['_injector'][_0x2c9030(0x58c)](ye[_0x2c9030(0x5d0)]),_0x1eb0ee=(_0x432d32=_0x354850[_0x2c9030(0x1c3)]())!=null?_0x432d32:[];if(_0x1eb0ee[_0x2c9030(0x3a7)]===0x0)return;const _0x1e7f33=_0x3624c6['unitID'],_0xa7e5d3=[{'id':_0x2c9030(0x5b9),'params':{'unitId':_0x1e7f33,'actions':null,'textRanges':_0x1eb0ee}}],_0x2648c7=this['_transformService'][_0x2c9030(0x489)](_0x3624c6,_0xa7e5d3);if(!p[_0x2c9030(0x33f)](_0x2648c7))throw _0x2648c7[_0x2c9030(0x581)];const _0x4c9055=_0x2648c7['m2Prime'][0x0]['params'][_0x2c9030(0x478)];Array[_0x2c9030(0x65a)](_0x4c9055)&&_0x4c9055['length']&&_0x354850[_0x2c9030(0x28e)](_0x4c9055,{'unitId':_0x1e7f33,'subUnitId':_0x1e7f33},!0x1);}};Fe=Li([xt(0x0,a[_0x3c9859(0x288)](a['Injector'])),xt(0x1,p[_0x3c9859(0x5fc)])],Fe);const xi=new Set([B['InsertSheetMutation']['id']]);function jt(_0x30c928,_0x636f62,_0x324b84,_0x2f09a5,_0x52e5ed){const _0x50a1a8=_0x3c9859;var _0x1e766a,_0x44fa22,_0xebba5c,_0x15be8e;const _0x47d827=[];for(const _0x301b84 of _0x30c928)if(xi[_0x50a1a8(0x636)](_0x301b84['id'])){if(_0x47d827[_0x50a1a8(0x3a7)]>0x0)break;_0x47d827['push'](_0x301b84);break;}else _0x47d827['push'](_0x301b84);const _0x4be0d9=(_0x44fa22=(_0x1e766a=_0x52e5ed[_0x50a1a8(0x253)]())==null?void 0x0:_0x1e766a[_0x50a1a8(0x44e)])!=null?_0x44fa22:_0x50a1a8(0x308),_0x301cee=(_0x15be8e=(_0xebba5c=_0x52e5ed[_0x50a1a8(0x253)]())==null?void 0x0:_0xebba5c[_0x50a1a8(0x4c1)])!=null?_0x15be8e:_0x50a1a8(0x308);return{'changeset':{'unitID':_0x636f62,'type':p[_0x50a1a8(0x442)](_0x324b84[_0x50a1a8(0x3fc)](_0x636f62)),'baseRev':_0x2f09a5[_0x50a1a8(0x464)](_0x636f62),'revision':0x0,'userID':_0x4be0d9,'memberID':_0x301cee,'mutations':_0x47d827},'pendingMutations':_0x30c928[_0x50a1a8(0x5cf)](_0x47d827[_0x50a1a8(0x3a7)])};}function ji(_0x1bc57b,_0xc31451,_0x82d9fc,_0x24a9fe,_0xc07c5e){const _0xea8cdf=_0x3c9859;var _0x5a1506,_0x257b72,_0x17aa3f,_0x1c25cd;const _0xf4be51=[_0x1bc57b[_0xea8cdf(0x327)]((_0x3fa2c8,_0x5ca65a)=>{const _0x4fa15e=_0xea8cdf;var _0x383651;const {id:_0x1ffca5}=_0x3fa2c8,{id:_0x5c1afd,type:_0x35c078}=_0x5ca65a,_0x49547d=(_0x383651=_0x3fa2c8[_0x4fa15e(0x530)])!=null?_0x383651:{'actions':null},_0x164367=_0x5ca65a[_0x4fa15e(0x530)];if(_0x1ffca5&&_0x1ffca5!==_0x5c1afd)throw new Error(_0x4fa15e(0x4ce)+_0x1ffca5+_0x4fa15e(0x421)+_0x5c1afd+'.');return{..._0x3fa2c8,'id':_0x5c1afd,'type':_0x35c078,'params':{'unitId':_0x164367[_0x4fa15e(0x1ea)],'textRanges':_0x164367[_0x4fa15e(0x478)],'actions':a[_0x4fa15e(0x410)][_0x4fa15e(0x3b7)](_0x49547d[_0x4fa15e(0x28d)],_0x164367[_0x4fa15e(0x28d)])}};},{})],_0xf982da=(_0x257b72=(_0x5a1506=_0xc07c5e[_0xea8cdf(0x253)]())==null?void 0x0:_0x5a1506[_0xea8cdf(0x44e)])!=null?_0x257b72:_0xea8cdf(0x308),_0x171aa6=(_0x1c25cd=(_0x17aa3f=_0xc07c5e[_0xea8cdf(0x253)]())==null?void 0x0:_0x17aa3f[_0xea8cdf(0x4c1)])!=null?_0x1c25cd:'unknown';return{'changeset':{'unitID':_0xc31451,'type':p['mapDocumentTypeToUniverType'](_0x82d9fc['getUnitType'](_0xc31451)),'baseRev':_0x24a9fe[_0xea8cdf(0x464)](_0xc31451),'revision':0x0,'userID':_0xf982da,'memberID':_0x171aa6,'mutations':_0xf4be51},'pendingMutations':[]};}function fn(_0x17cd94,_0x2f6add){const _0x4d0c81=_0x3c9859,_0x2fd0e0=new A[(_0x4d0c81(0x22d))](0x1);return setTimeout(()=>_0x2fd0e0['next'](_0x2f6add),_0x17cd94),_0x2fd0e0[_0x4d0c81(0x3eb)]()[_0x4d0c81(0x232)](A[_0x4d0c81(0x1bf)](0x1));}const $i={'id':B['EmptyMutation']['id'],'type':a['CommandType']['MUTATION'],'params':{}};var Hi=Object['defineProperty'],ki=Object['getOwnPropertyDescriptor'],Ce=(_0x540e46,_0x5661a6,_0x23cdf7,_0x19ba23)=>{const _0x2fac0e=_0x3c9859;for(var _0x11f771=_0x19ba23>0x1?void 0x0:_0x19ba23?ki(_0x5661a6,_0x23cdf7):_0x5661a6,_0x3b80d4=_0x540e46[_0x2fac0e(0x3a7)]-0x1,_0x1e18fe;_0x3b80d4>=0x0;_0x3b80d4--)(_0x1e18fe=_0x540e46[_0x3b80d4])&&(_0x11f771=(_0x19ba23?_0x1e18fe(_0x5661a6,_0x23cdf7,_0x11f771):_0x1e18fe(_0x11f771))||_0x11f771);return _0x19ba23&&_0x11f771&&Hi(_0x5661a6,_0x23cdf7,_0x11f771),_0x11f771;},N=(_0x162384,_0x464cbf)=>(_0x43b930,_0x471d1c)=>_0x464cbf(_0x43b930,_0x471d1c,_0x162384),q=(_0x191ac2=>(_0x191ac2[_0x3c9859(0x5be)]=_0x3c9859(0x3b8),_0x191ac2[_0x3c9859(0x364)]=_0x3c9859(0x49c),_0x191ac2[_0x3c9859(0x387)]=_0x3c9859(0x555),_0x191ac2[_0x3c9859(0x4b7)]=_0x3c9859(0x1f3),_0x191ac2[_0x3c9859(0x606)]=_0x3c9859(0x51b),_0x191ac2[_0x3c9859(0x64b)]=_0x3c9859(0x29e),_0x191ac2[_0x3c9859(0x5fb)]=_0x3c9859(0x5b4),_0x191ac2[_0x3c9859(0x525)]=_0x3c9859(0x5a8),_0x191ac2))(q||{});const vn=0xea60;class Ee{constructor(_0x2aa1bd,_0x5535c6,_0x121bf3,_0x2a07f0,_0x7dc045,_0x3bc9a1,_0x14cc7e,_0x209988,_0x24f6ea){const _0x14680e=_0x3c9859;I(this,_0x14680e(0x1e6),null),I(this,'_pendingMutations',[]),(this[_0x14680e(0x52a)]=_0x2aa1bd,this[_0x14680e(0x52b)]=_0x5535c6,this[_0x14680e(0x3e3)]=_0x7dc045,this[_0x14680e(0x3cd)]=_0x3bc9a1,this[_0x14680e(0x24e)]=_0x14cc7e,this['_revisionService']=_0x209988,this[_0x14680e(0x3e1)]=_0x24f6ea,this['_awaitingChangeset']=_0x121bf3,this[_0x14680e(0x255)]=_0x2a07f0);}['_checkMissing'](_0x4dbe68){const _0x512190=_0x3c9859,_0x4d8fa0=this[_0x512190(0x263)][_0x512190(0x464)](this[_0x512190(0x52a)]);return _0x4dbe68[_0x512190(0x59f)]>_0x4d8fa0+0x1?(this[_0x512190(0x3e3)][_0x512190(0x211)]({'from':_0x4d8fa0,'to':_0x4dbe68[_0x512190(0x59f)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5a01b6){const _0x3d267e=_0x3c9859;this[_0x3d267e(0x24e)][_0x3d267e(0x519)](this[_0x3d267e(0x52a)],_0x5a01b6);}[_0x3c9859(0x205)](_0xe81a06){const _0x2e93f3=_0x3c9859;var _0x1e3f12,_0x4834d7;(_0x4834d7=(_0x1e3f12=this['_handler'])['onTransformSelections'])==null||_0x4834d7[_0x2e93f3(0x5dd)](_0x1e3f12,_0xe81a06);}[_0x3c9859(0x330)](_0x196588){const _0x5d9579=_0x3c9859;var _0x34e9b0,_0x176350;return(_0x176350=(_0x34e9b0=this['_handler'])[_0x5d9579(0x225)])==null?void 0x0:_0x176350[_0x5d9579(0x5dd)](_0x34e9b0,_0x196588);}[_0x3c9859(0x2f1)](_0x25c54d){const _0x274ea5=_0x3c9859;var _0x47dde1,_0x2ce550;return(_0x2ce550=(_0x47dde1=this['_handler'])['onTransformState'])==null?void 0x0:_0x2ce550[_0x274ea5(0x5dd)](_0x47dde1,_0x25c54d);}['_transformRemoteChangesetByIMECache'](_0x57ead5){const _0x1ec9db=_0x3c9859;var _0x254d9f,_0x55164a,_0x16827b;return(_0x16827b=(_0x55164a=(_0x254d9f=this[_0x1ec9db(0x3e3)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x55164a[_0x1ec9db(0x5dd)](_0x254d9f,_0x57ead5))!=null?_0x16827b:_0x57ead5;}[_0x3c9859(0x596)](_0x37ca8d){const _0x26f8e2=_0x3c9859;var _0x3e1044,_0x1d3b64,_0xad8d4;return(_0xad8d4=(_0x1d3b64=(_0x3e1044=this[_0x26f8e2(0x3e3)])[_0x26f8e2(0x4f3)])==null?void 0x0:_0x1d3b64['call'](_0x3e1044,_0x37ca8d))!=null?_0xad8d4:_0x37ca8d;}[_0x3c9859(0x609)](_0x24d3a8){const _0x47e9f0=_0x3c9859;var _0x13c328,_0x110ef4;if(this['type']===ie[_0x47e9f0(0x254)]){const {unitID:_0x1fc241,mutations:_0x4be88a,memberID:_0x30f0a1}=_0x24d3a8,_0xc6dfa1=_0x4be88a[0x0][_0x47e9f0(0x530)][_0x47e9f0(0x478)];Array[_0x47e9f0(0x65a)](_0xc6dfa1)&&_0xc6dfa1[_0x47e9f0(0x3a7)]>0x0&&((_0x110ef4=(_0x13c328=this[_0x47e9f0(0x3e3)])[_0x47e9f0(0x3df)])==null||_0x110ef4[_0x47e9f0(0x5dd)](_0x13c328,{'unitID':_0x1fc241,'memberID':_0x30f0a1,'textRanges':_0xc6dfa1}));}}['_updateLocalCache'](){const _0x3c7a47=_0x3c9859;this[_0x3c7a47(0x3e1)][_0x3c7a47(0x427)](this[_0x3c7a47(0x52a)],this[_0x3c7a47(0x52b)],this['_awaitingChangeset'],this[_0x3c7a47(0x255)]);}[_0x3c9859(0x276)](){const _0x79212=_0x3c9859;return this[_0x79212(0x263)][_0x79212(0x464)](this[_0x79212(0x52a)]);}['_incrementRevisionNumber'](){const _0x33b9b8=_0x3c9859;this[_0x33b9b8(0x263)][_0x33b9b8(0x1da)](this['unitID']);}[_0x3c9859(0x382)](_0x29efe8){const _0x29c03c=_0x3c9859;var _0x4812e3;let _0x423e07=this[_0x29c03c(0x20b)](_0x29efe8);_0x423e07=this[_0x29c03c(0x596)](_0x423e07);const _0x5ca2ef=a[_0x29c03c(0x3f7)](_0x423e07[_0x29c03c(0x3ca)],this[_0x29c03c(0x3cd)],{'fromCollab':!0x0});if(!_0x5ca2ef[_0x29c03c(0x246)])throw _0x5ca2ef['error']instanceof Error?_0x5ca2ef[_0x29c03c(0x581)]:new Error((_0x4812e3=_0x5ca2ef[_0x29c03c(0x581)])!=null?_0x4812e3:'[CollaborationState]:\x20apply\x20error!');this[_0x29c03c(0x330)](_0x423e07),this[_0x29c03c(0x2f1)](_0x423e07),this[_0x29c03c(0x444)](_0x29efe8),this[_0x29c03c(0x205)](_0x423e07),this[_0x29c03c(0x609)](_0x423e07),this[_0x29c03c(0x36b)]();}}let Oe=class extends Ee{constructor(_0x5e7130,_0xc029af,_0x5a6fbe,_0x21fbd8,_0x30549b,_0x4bb254,_0x35259c,_0xc4d054,_0x310eac,_0x1baf83){const _0x22f676=_0x3c9859;super(_0x5e7130,_0xc029af,null,[],_0x5a6fbe,_0xc4d054,_0x35259c,_0x21fbd8,_0x30549b),I(this,_0x22f676(0x561),_0x22f676(0x49c)),(this[_0x22f676(0x2fc)]=_0x4bb254,this[_0x22f676(0x56b)]=_0x310eac,this['_transformService']=_0x1baf83);}[_0x3c9859(0x549)](_0x37c304){const _0x4d592e=_0x3c9859,_0x5111e4=this['_injector'][_0x4d592e(0x2cf)](ce,this['unitID'],this['type'],[_0x37c304],this['_handler']);return _0x5111e4[_0x4d592e(0x389)](),_0x5111e4['_updateLocalCache'](),_0x5111e4;}[_0x3c9859(0x551)](_0x4e7dac){const _0x5e5073=_0x3c9859;if(this['_checkMissing'](_0x4e7dac))return this[_0x5e5073(0x2fc)][_0x5e5073(0x2cf)](re,this[_0x5e5073(0x52a)],this[_0x5e5073(0x52b)],null,[],null,[_0x4e7dac],this[_0x5e5073(0x3e3)]);try{const _0x8e682a=this[_0x5e5073(0x230)][_0x5e5073(0x489)](_0x4e7dac,[$i]);if(p[_0x5e5073(0x33f)](_0x8e682a)){const {c1Prime:_0x1482af}=_0x8e682a;return this[_0x5e5073(0x382)](_0x1482af),this;}throw _0x8e682a['error'];}catch(_0x48eefa){return this[_0x5e5073(0x56b)][_0x5e5073(0x581)](_0x48eefa),this[_0x5e5073(0x3cf)](!0x1);}}[_0x3c9859(0x3cf)](_0x3f1eec){const _0x895e6a=_0x3c9859;return this['_injector'][_0x895e6a(0x2cf)](ve,this[_0x895e6a(0x52a)],this['type'],null,[],this[_0x895e6a(0x3e3)],_0x3f1eec);}['onRemoteAck'](){const _0x1b4461=_0x3c9859;throw new Error(_0x1b4461(0x428));}[_0x3c9859(0x3a5)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x3c9859(0x1ca)](){const _0x365045=_0x3c9859;return this['_injector'][_0x365045(0x2cf)](Se,this['unitID'],this['type'],null,[],this['_handler']);}[_0x3c9859(0x33c)](){return this;}[_0x3c9859(0x5c2)](){const _0x5b6a97=_0x3c9859;throw new Error(_0x5b6a97(0x5e9));}[_0x3c9859(0x1f2)](){const _0x38387d=_0x3c9859,_0x120b13=this['_revisionService']['getCurrentRevOfUnit'](this[_0x38387d(0x52a)]);return this[_0x38387d(0x3e3)]['onMissingChangesets']({'from':_0x120b13,'to':0x0}),this['_injector'][_0x38387d(0x2cf)](re,this['unitID'],this[_0x38387d(0x52b)],null,[],null,[],this[_0x38387d(0x3e3)]);}};Oe=Ce([N(0x3,a[_0x3c9859(0x288)](p[_0x3c9859(0x4b2)])),N(0x4,a[_0x3c9859(0x288)](exports[_0x3c9859(0x544)])),N(0x5,a[_0x3c9859(0x288)](a[_0x3c9859(0x218)])),N(0x6,a['IUndoRedoService']),N(0x7,a[_0x3c9859(0x569)]),N(0x8,a[_0x3c9859(0x584)]),N(0x9,p[_0x3c9859(0x5fc)])],Oe);let ce=class extends Ee{constructor(_0x3ba836,_0x2d6dfb,_0x30c276,_0x15b83a,_0x2942af,_0x4bdcc7,_0x8fac8f,_0x439986,_0xf3c13e,_0x4fc1cb,_0x1bdbfd,_0x37c55e,_0x3912e3,_0x352305){const _0x5b7f41=_0x3c9859;super(_0x3ba836,_0x2d6dfb,null,_0x30c276,_0x15b83a,_0x4fc1cb,_0x352305,_0x4bdcc7,_0x8fac8f),I(this,_0x5b7f41(0x561),'pending'),I(this,_0x5b7f41(0x447),null),I(this,_0x5b7f41(0x27d),null),(this[_0x5b7f41(0x2fc)]=_0x2942af,this[_0x5b7f41(0x4b6)]=_0x439986,this[_0x5b7f41(0x56b)]=_0xf3c13e,this['_configService']=_0x1bdbfd,this[_0x5b7f41(0x230)]=_0x37c55e,this[_0x5b7f41(0x4a5)]=_0x3912e3);}['appendMutation'](_0x4a2161){const _0x400fc7=_0x3c9859;return this[_0x400fc7(0x255)][_0x400fc7(0x331)](_0x4a2161),this['_updateLocalCache'](),this;}[_0x3c9859(0x551)](_0x5e85d3){const _0x301695=_0x3c9859;if(this[_0x301695(0x241)](_0x5e85d3))return this[_0x301695(0x22e)](),this[_0x301695(0x2fc)][_0x301695(0x2cf)](re,this[_0x301695(0x52a)],this[_0x301695(0x52b)],null,this[_0x301695(0x255)],null,[_0x5e85d3],this[_0x301695(0x3e3)]);try{const _0x1eed87=this[_0x301695(0x230)][_0x301695(0x489)](_0x5e85d3,this[_0x301695(0x255)]);if(p[_0x301695(0x33f)](_0x1eed87)){const {c1Prime:_0x445c95,m2Prime:_0x283489}=_0x1eed87;this[_0x301695(0x382)](_0x445c95);const _0x33950d=this[_0x301695(0x2fc)]['createInstance'](ce,this[_0x301695(0x52a)],this[_0x301695(0x52b)],_0x283489,this[_0x301695(0x3e3)]);return this[_0x301695(0x22e)](),_0x33950d[_0x301695(0x389)](this[_0x301695(0x447)]?Math['max'](0x0,new Date()[_0x301695(0x27c)]()-this[_0x301695(0x447)]):this[_0x301695(0x1cc)]()),_0x33950d;}throw _0x1eed87[_0x301695(0x581)];}catch(_0x5b3806){return this[_0x301695(0x56b)]['error'](_0x5b3806),this[_0x301695(0x3cf)](!0x1);}}['onRemoteAck'](){const _0x401b44=_0x3c9859;throw new Error(_0x401b44(0x46f));}[_0x3c9859(0x3a5)](){const _0x5275bd=_0x3c9859;throw new Error(_0x5275bd(0x499));}['onRemoteRetry'](){return this;}[_0x3c9859(0x1ca)](){const _0x1ac162=_0x3c9859;return this[_0x1ac162(0x22e)](),this[_0x1ac162(0x2fc)][_0x1ac162(0x2cf)](Se,this[_0x1ac162(0x52a)],this[_0x1ac162(0x52b)],null,this[_0x1ac162(0x255)],this[_0x1ac162(0x3e3)]);}[_0x3c9859(0x33c)](){return this;}[_0x3c9859(0x389)](_0x18ba23){const _0x376ca3=_0x3c9859,_0x26ccf4=_0x18ba23!=null?_0x18ba23:this[_0x376ca3(0x1cc)]();this['_scheduleTimestamp']=new Date()['getTime'](),this[_0x376ca3(0x27d)]=window[_0x376ca3(0x5e0)](()=>{const _0x4fd18b=_0x376ca3;this[_0x4fd18b(0x22e)]();let _0x3f01be=null;switch(this['type']){case ie[_0x4fd18b(0x1e9)]:{_0x3f01be=jt(this[_0x4fd18b(0x255)],this[_0x4fd18b(0x52a)],this[_0x4fd18b(0x4a5)],this['_revisionService'],this[_0x4fd18b(0x4b6)]);break;}case ie['UNIVER_DOC']:{this[_0x4fd18b(0x255)]['every'](_0x10d6e2=>_0x10d6e2['id']===ye[_0x4fd18b(0x5ca)]['id'])?_0x3f01be=ji(this[_0x4fd18b(0x255)],this[_0x4fd18b(0x52a)],this[_0x4fd18b(0x4a5)],this[_0x4fd18b(0x263)],this[_0x4fd18b(0x4b6)]):_0x3f01be=jt(this[_0x4fd18b(0x255)],this[_0x4fd18b(0x52a)],this[_0x4fd18b(0x4a5)],this[_0x4fd18b(0x263)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x4fd18b(0x52b)]+'\x20in\x20_schedule.');}const {changeset:_0x4bd713,pendingMutations:_0x495f80}=_0x3f01be;this['_handler']['onSendChangeset'](_0x4bd713);const _0x1972f9=_0x495f80[_0x4fd18b(0x3a7)]?this[_0x4fd18b(0x2fc)][_0x4fd18b(0x2cf)](le,this[_0x4fd18b(0x52a)],this[_0x4fd18b(0x52b)],_0x4bd713,_0x495f80,this['_handler'],void 0x0):this[_0x4fd18b(0x2fc)]['createInstance'](fe,this['unitID'],this['type'],_0x4bd713,this[_0x4fd18b(0x3e3)]);_0x1972f9[_0x4fd18b(0x62c)](),this['_handler']['onStateChange'](this,_0x1972f9);},_0x26ccf4);}[_0x3c9859(0x1cc)](){const _0x4b85ba=_0x3c9859;var _0x4c6699;const _0x178bf0=this[_0x4b85ba(0x329)][_0x4b85ba(0x5ce)](ee);return(_0x4c6699=_0x178bf0==null?void 0x0:_0x178bf0[_0x4b85ba(0x324)])!=null?_0x4c6699:Bn;}[_0x3c9859(0x5c2)](){const _0x50a844=_0x3c9859;throw new Error(_0x50a844(0x26b));}['_clearScheduledTask'](){const _0x134af5=_0x3c9859;this[_0x134af5(0x27d)]!=null&&(clearTimeout(this[_0x134af5(0x27d)]),this[_0x134af5(0x27d)]=null);}['_onConflict'](_0x5f2b52){const _0x17c919=_0x3c9859;return this[_0x17c919(0x22e)](),this[_0x17c919(0x2fc)][_0x17c919(0x2cf)](ve,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x17c919(0x3e3)],_0x5f2b52);}};ce=Ce([N(0x4,a['Inject'](a[_0x3c9859(0x218)])),N(0x5,a[_0x3c9859(0x288)](p['RevisionService'])),N(0x6,a['Inject'](exports[_0x3c9859(0x544)])),N(0x7,a['Inject'](exports[_0x3c9859(0x60b)])),N(0x8,a[_0x3c9859(0x584)]),N(0x9,a[_0x3c9859(0x569)]),N(0xa,a[_0x3c9859(0x5fd)]),N(0xb,p[_0x3c9859(0x5fc)]),N(0xc,a[_0x3c9859(0x671)]),N(0xd,a['IUndoRedoService'])],ce);let fe=class extends Ee{constructor(_0x3bc795,_0x41bc2f,_0x3dbc2a,_0x474afa,_0x2fe9a9,_0x2aeccf,_0x364503,_0x2f33e4,_0x4ad588,_0x221eaa,_0x405d77){const _0x53ab29=_0x3c9859;super(_0x3bc795,_0x41bc2f,_0x3dbc2a,[],_0x474afa,_0x2f33e4,_0x405d77,_0x2aeccf,_0x364503),I(this,_0x53ab29(0x561),_0x53ab29(0x1f3)),I(this,'_resendTimeout',0x0),I(this,'_resendTimer'),I(this,_0x53ab29(0x243)),(this[_0x53ab29(0x2fc)]=_0x2fe9a9,this['_logService']=_0x4ad588,this[_0x53ab29(0x230)]=_0x221eaa);}[_0x3c9859(0x549)](_0x25f134){const _0x831564=_0x3c9859;this['_clearScheduledTask']();const _0x10e7f4=this[_0x831564(0x2fc)][_0x831564(0x2cf)](le,this['unitID'],this[_0x831564(0x52b)],this[_0x831564(0x1e6)],[_0x25f134],this['_handler'],this['_resendTimer']);return _0x10e7f4['_updateLocalCache'](),_0x10e7f4;}[_0x3c9859(0x551)](_0x201c12){const _0x37d2eb=_0x3c9859;if(this[_0x37d2eb(0x241)](_0x201c12))return this['_clearScheduledTask'](),this[_0x37d2eb(0x2fc)][_0x37d2eb(0x2cf)](re,this[_0x37d2eb(0x52a)],this[_0x37d2eb(0x52b)],this['_awaitingChangeset'],[],null,[_0x201c12],this[_0x37d2eb(0x3e3)]);try{const _0x607e84=this[_0x37d2eb(0x230)]['transformChangesets']([_0x201c12],[this[_0x37d2eb(0x1e6)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x607e84)){const {c1Prime:_0x1d0465,c2Prime:_0x4dc0bc}=_0x607e84;this['_executeRemoteChangeset'](_0x1d0465[0x0]),_0x4dc0bc[0x0][_0x37d2eb(0x500)]=this[_0x37d2eb(0x276)](),this[_0x37d2eb(0x22e)]();const _0x3f0877=this[_0x37d2eb(0x2fc)][_0x37d2eb(0x2cf)](fe,this[_0x37d2eb(0x52a)],this[_0x37d2eb(0x52b)],_0x4dc0bc[0x0],this[_0x37d2eb(0x3e3)]);return _0x3f0877[_0x37d2eb(0x62c)](),_0x3f0877;}return this[_0x37d2eb(0x3cf)](!0x1);}catch(_0x31dee2){return this[_0x37d2eb(0x56b)][_0x37d2eb(0x581)](_0x31dee2),this['_onConflict'](!0x1);}}[_0x3c9859(0x582)](_0xc84d5){const _0x11d77c=_0x3c9859;this[_0x11d77c(0x22e)]();const _0x275b3e=this['_revisionService'][_0x11d77c(0x464)](this['unitID']);if(_0xc84d5[_0x11d77c(0x59f)]<_0x275b3e-0x1)return this;if(this[_0x11d77c(0x241)](_0xc84d5))return this[_0x11d77c(0x2fc)][_0x11d77c(0x2cf)](re,this['unitID'],this[_0x11d77c(0x52b)],null,[],this[_0x11d77c(0x1e6)],[],this[_0x11d77c(0x3e3)]);this[_0x11d77c(0x36b)]();const _0x4e6192=this[_0x11d77c(0x2fc)][_0x11d77c(0x2cf)](Oe,this[_0x11d77c(0x52a)],this[_0x11d77c(0x52b)],this[_0x11d77c(0x3e3)]);return _0x4e6192['_updateLocalCache'](),_0x4e6192;}['onRemoteRej'](_0x9caaa9){const _0x18f9f2=_0x3c9859;return this[_0x18f9f2(0x3cf)](!!(_0x9caaa9!=null&&_0x9caaa9['isPermissionRej']));}[_0x3c9859(0x5d1)](_0x14b664){const _0x128274=_0x3c9859;return this[_0x128274(0x373)]>vn?this['toggleOffline']():(this[_0x128274(0x517)]=fn(this['_resendTimeout'],{'timeout':this[_0x128274(0x373)],'reqId':_0x14b664[_0x128274(0x50a)]}),this[_0x128274(0x243)]=this[_0x128274(0x517)]['subscribe'](({reqId:_0x506402,timeout:_0x4fce68})=>{const _0x28b710=_0x128274;this[_0x28b710(0x532)](_0x506402,_0x4fce68);}),this);}[_0x3c9859(0x1ca)](){const _0x1be99d=_0x3c9859;return this[_0x1be99d(0x22e)](),this['_injector'][_0x1be99d(0x2cf)](Se,this[_0x1be99d(0x52a)],this[_0x1be99d(0x52b)],this[_0x1be99d(0x1e6)],[],this[_0x1be99d(0x3e3)]);}[_0x3c9859(0x33c)](){return this;}[_0x3c9859(0x5c2)](){const _0x1327cf=_0x3c9859;this['_handler'][_0x1327cf(0x54d)](this[_0x1327cf(0x1e6)]);}[_0x3c9859(0x3cf)](_0x2ad679){const _0x111512=_0x3c9859;return this[_0x111512(0x22e)](),this[_0x111512(0x2fc)][_0x111512(0x2cf)](ve,this[_0x111512(0x52a)],this[_0x111512(0x52b)],this[_0x111512(0x1e6)],[],this[_0x111512(0x3e3)],_0x2ad679);}[_0x3c9859(0x532)](_0x221dcf,_0x872b55){const _0x136270=_0x3c9859;var _0x5b8098;_0x221dcf===((_0x5b8098=this[_0x136270(0x1e6)])==null?void 0x0:_0x5b8098[_0x136270(0x50a)])&&(this[_0x136270(0x5c2)](),this[_0x136270(0x373)]=_0x872b55===0x0?0x3e8:_0x872b55*0x2);}['_clearScheduledTask'](){const _0x337045=_0x3c9859;var _0x46e28a;(_0x46e28a=this[_0x337045(0x243)])==null||_0x46e28a[_0x337045(0x5f2)](),this['_resendTimeout']=0x0;}};fe=Ce([N(0x4,a[_0x3c9859(0x288)](a[_0x3c9859(0x218)])),N(0x5,a[_0x3c9859(0x288)](p[_0x3c9859(0x4b2)])),N(0x6,a[_0x3c9859(0x288)](exports[_0x3c9859(0x544)])),N(0x7,a['ICommandService']),N(0x8,a[_0x3c9859(0x584)]),N(0x9,p['ITransformService']),N(0xa,a[_0x3c9859(0x575)])],fe);let le=class extends Ee{constructor(_0x5b5b3c,_0x184379,_0x3ee23e,_0x4cad6a,_0x557f6b,_0x538e3b,_0x5f07df,_0x3e5da4,_0xe1c329,_0x548d2a,_0x5bb231,_0x249f8c,_0x6c556a){const _0x521eae=_0x3c9859;super(_0x5b5b3c,_0x184379,_0x3ee23e,_0x4cad6a,_0x557f6b,_0x548d2a,_0x6c556a,_0x3e5da4,_0xe1c329),I(this,_0x521eae(0x561),_0x521eae(0x51b)),I(this,_0x521eae(0x373),0x0),I(this,_0x521eae(0x517)),I(this,_0x521eae(0x243)),(this['_injector']=_0x5f07df,this[_0x521eae(0x56b)]=_0x5bb231,this[_0x521eae(0x230)]=_0x249f8c,_0x538e3b&&(this['_resendTimer']=_0x538e3b,this['_sender']=this[_0x521eae(0x517)][_0x521eae(0x4c3)](({reqId:_0x39a478,timeout:_0x19c7b7})=>{const _0x5de92=_0x521eae;this[_0x5de92(0x532)](_0x39a478,_0x19c7b7);})));}[_0x3c9859(0x549)](_0x20c495){const _0x33e0aa=_0x3c9859;return this[_0x33e0aa(0x255)]['push'](_0x20c495),this;}[_0x3c9859(0x551)](_0x9c0289){const _0x5aa03a=_0x3c9859;if(this[_0x5aa03a(0x241)](_0x9c0289))return this['_clearScheduledTask'](),this[_0x5aa03a(0x2fc)][_0x5aa03a(0x2cf)](re,this[_0x5aa03a(0x52a)],this['type'],this[_0x5aa03a(0x1e6)],this[_0x5aa03a(0x255)],null,[_0x9c0289],this[_0x5aa03a(0x3e3)]);try{const _0x1d9a17=this[_0x5aa03a(0x230)][_0x5aa03a(0x643)]([_0x9c0289],[this['_awaitingChangeset']],!0x1);if(p[_0x5aa03a(0x476)](_0x1d9a17)){const {c1Prime:_0x5484d1,c2Prime:_0x3b795}=_0x1d9a17,_0x1dbe3c=this['_transformService']['transformMutationsWithChangeset'](_0x5484d1[0x0],this[_0x5aa03a(0x255)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x1dbe3c)){const {c1Prime:_0x4264b5,m2Prime:_0x4fcffe}=_0x1dbe3c;return this[_0x5aa03a(0x382)](_0x4264b5),_0x3b795[0x0][_0x5aa03a(0x500)]=this[_0x5aa03a(0x276)](),this['_clearScheduledTask'](),this[_0x5aa03a(0x2fc)][_0x5aa03a(0x2cf)](le,this[_0x5aa03a(0x52a)],this['type'],_0x3b795[0x0],_0x4fcffe,this[_0x5aa03a(0x3e3)],void 0x0);}throw _0x1dbe3c['error'];}throw _0x1d9a17[_0x5aa03a(0x581)];}catch(_0x47d047){return this['_logService'][_0x5aa03a(0x581)](_0x47d047),this[_0x5aa03a(0x3cf)](!0x1);}}['onRemoteAck'](_0x2de6ca){const _0x1f7484=_0x3c9859;if(this[_0x1f7484(0x22e)](),this[_0x1f7484(0x241)](_0x2de6ca))return this[_0x1f7484(0x2fc)][_0x1f7484(0x2cf)](re,this[_0x1f7484(0x52a)],this[_0x1f7484(0x52b)],null,this[_0x1f7484(0x255)],this[_0x1f7484(0x1e6)],[],this['_handler']);this[_0x1f7484(0x36b)]();const _0x21d4e6=this[_0x1f7484(0x2fc)][_0x1f7484(0x2cf)](ce,this[_0x1f7484(0x52a)],this[_0x1f7484(0x52b)],this[_0x1f7484(0x255)],this[_0x1f7484(0x3e3)]);return _0x21d4e6[_0x1f7484(0x389)](),_0x21d4e6[_0x1f7484(0x62c)](),_0x21d4e6;}['onRemoteRej'](_0x52647d){const _0x6b581f=_0x3c9859;return this[_0x6b581f(0x3cf)](!!(_0x52647d!=null&&_0x52647d['isPermissionRej']));}[_0x3c9859(0x5d1)](_0xff69d){const _0x49dacd=_0x3c9859;return this['_resendTimeout']>vn?this[_0x49dacd(0x1ca)]():(this[_0x49dacd(0x517)]=fn(this['_resendTimeout'],{'timeout':this[_0x49dacd(0x373)],'reqId':_0xff69d[_0x49dacd(0x50a)]}),this[_0x49dacd(0x243)]=this[_0x49dacd(0x517)][_0x49dacd(0x4c3)](({reqId:_0xdd979d,timeout:_0x39ea40})=>{const _0x304e40=_0x49dacd;this[_0x304e40(0x532)](_0xdd979d,_0x39ea40);}),this);}[_0x3c9859(0x1ca)](){const _0x46495d=_0x3c9859;return this[_0x46495d(0x22e)](),this[_0x46495d(0x2fc)]['createInstance'](Se,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x46495d(0x255)],this[_0x46495d(0x3e3)]);}[_0x3c9859(0x33c)](){return this;}['resend'](){const _0x1aee8c=_0x3c9859;this[_0x1aee8c(0x3e3)][_0x1aee8c(0x54d)](this[_0x1aee8c(0x1e6)]);}[_0x3c9859(0x3cf)](_0x49c978){const _0x51183a=_0x3c9859;return this[_0x51183a(0x22e)](),this['_injector'][_0x51183a(0x2cf)](ve,this[_0x51183a(0x52a)],this[_0x51183a(0x52b)],null,this[_0x51183a(0x255)],this[_0x51183a(0x3e3)],_0x49c978);}[_0x3c9859(0x532)](_0x43a445,_0x729ed2){const _0x21e880=_0x3c9859;var _0x1892d5;_0x43a445===((_0x1892d5=this['_awaitingChangeset'])==null?void 0x0:_0x1892d5[_0x21e880(0x50a)])&&(this['resend'](),this[_0x21e880(0x373)]=_0x729ed2===0x0?0x3e8:_0x729ed2*0x2);}[_0x3c9859(0x22e)](){const _0x332f3b=_0x3c9859;var _0xc7edda;(_0xc7edda=this[_0x332f3b(0x243)])==null||_0xc7edda[_0x332f3b(0x5f2)](),this[_0x332f3b(0x373)]=0x0;}};le=Ce([N(0x6,a['Inject'](a['Injector'])),N(0x7,a['Inject'](p[_0x3c9859(0x4b2)])),N(0x8,a[_0x3c9859(0x288)](exports[_0x3c9859(0x544)])),N(0x9,a['ICommandService']),N(0xa,a[_0x3c9859(0x584)]),N(0xb,p[_0x3c9859(0x5fc)]),N(0xc,a[_0x3c9859(0x575)])],le);let ve=class extends Ee{constructor(_0x46ae36,_0x15d33a,_0x503557,_0x572b79,_0x7d8962,_0x2a8f70=!0x1,_0x29b5a1,_0xaed233,_0x21d62d,_0x5aa087,_0x4500cd,_0x52678c,_0x3925b6){const _0x40119a=_0x3c9859;super(_0x46ae36,_0x15d33a,_0x503557,_0x572b79,_0x7d8962,_0xaed233,_0x21d62d,_0x4500cd,_0x5aa087),I(this,_0x40119a(0x561),_0x40119a(0x5b4)),(this[_0x40119a(0x4f0)]=_0x2a8f70,this[_0x40119a(0x43c)]=_0x29b5a1,this['_localeService']=_0x52678c,this[_0x40119a(0x30d)]=_0x3925b6,this[_0x40119a(0x2f3)](),this['_clearLocalCache'](),this[_0x40119a(0x40e)]());}[_0x3c9859(0x549)](){return this;}['onRemoteChangeset'](){return this;}[_0x3c9859(0x582)](){return this;}[_0x3c9859(0x3a5)](){return this;}[_0x3c9859(0x5d1)](){return this;}[_0x3c9859(0x1ca)](){return this;}[_0x3c9859(0x33c)](){return this;}[_0x3c9859(0x5c2)](){const _0x5038e3=_0x3c9859;throw new Error(_0x5038e3(0x404));}['_clearLocalCache'](){const _0x30e8b2=_0x3c9859;this[_0x30e8b2(0x3e1)]['updateOfflineData'](this['unitID'],this[_0x30e8b2(0x52b)],null,[]);}[_0x3c9859(0x2f3)](){const _0x5801bc=_0x3c9859;this[_0x5801bc(0x4f0)]?this['_notificationService'][_0x5801bc(0x38c)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x5801bc(0x224)]['t'](_0x5801bc(0x38e)),'type':_0x5801bc(0x581),'duration':0x0}):this[_0x5801bc(0x30d)]['show']({'title':this[_0x5801bc(0x224)]['t'](_0x5801bc(0x415)),'content':this[_0x5801bc(0x224)]['t'](_0x5801bc(0x536)),'type':_0x5801bc(0x581),'duration':0x0});}[_0x3c9859(0x40e)](){const _0x45be6a=_0x3c9859;this[_0x45be6a(0x43c)]['updatePermissionPoint'](new B[(_0x45be6a(0x226))](this['unitID'])['id'],!0x1);}};ve=Ce([N(0x6,a[_0x3c9859(0x288)](a[_0x3c9859(0x431)])),N(0x7,a['ICommandService']),N(0x8,a[_0x3c9859(0x575)]),N(0x9,a[_0x3c9859(0x288)](exports[_0x3c9859(0x544)])),N(0xa,a['Inject'](p[_0x3c9859(0x4b2)])),N(0xb,a[_0x3c9859(0x288)](a['LocaleService'])),N(0xc,te[_0x3c9859(0x545)])],ve);let Se=class extends Ee{constructor(_0x3cb6ca,_0x4d3d17,_0x195f96,_0x33e4a3,_0x2677e5,_0x525210,_0x3e085d,_0x39ac3a,_0x3b5a4c,_0x27ddfd){const _0x4b4871=_0x3c9859;super(_0x3cb6ca,_0x4d3d17,_0x195f96,_0x33e4a3,_0x2677e5,_0x3b5a4c,_0x27ddfd,_0x3e085d,_0x39ac3a),I(this,'status',_0x4b4871(0x5a8)),this[_0x4b4871(0x2fc)]=_0x525210;}[_0x3c9859(0x549)](_0x14533b){const _0x66a656=_0x3c9859;return this['_pendingMutations'][_0x66a656(0x331)](_0x14533b),this[_0x66a656(0x62c)](),this;}[_0x3c9859(0x551)](_0x22f92a){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x3c9859(0x582)](){const _0xae5f09=_0x3c9859;throw new Error(_0xae5f09(0x66d));}[_0x3c9859(0x3a5)](){const _0x4dd45d=_0x3c9859;throw new Error(_0x4dd45d(0x633));}[_0x3c9859(0x5d1)](){return this;}[_0x3c9859(0x1ca)](){return this;}['toggleOnline'](){const _0x1ffa18=_0x3c9859,{_injector:_0x4385f4,_pendingMutations:_0x18393c,_awaitingChangeset:_0x58c7ae,unitID:_0x4828b8,_handler:_0x2e0ad2,type:_0x21197c}=this,_0x4d1a94=Sn(_0x4385f4,_0x4828b8,_0x21197c,_0x58c7ae,_0x18393c,_0x2e0ad2);return _0x4d1a94 instanceof ce?_0x4d1a94[_0x1ffa18(0x389)]():(_0x4d1a94 instanceof le||_0x4d1a94 instanceof fe)&&_0x4d1a94[_0x1ffa18(0x5c2)](),_0x4d1a94;}[_0x3c9859(0x5c2)](){const _0x598b1b=_0x3c9859;throw new Error(_0x598b1b(0x4df));}};Se=Ce([N(0x5,a[_0x3c9859(0x288)](a['Injector'])),N(0x6,a[_0x3c9859(0x288)](p['RevisionService'])),N(0x7,a[_0x3c9859(0x288)](exports[_0x3c9859(0x544)])),N(0x8,a[_0x3c9859(0x569)]),N(0x9,a[_0x3c9859(0x575)])],Se);let re=class extends Ee{constructor(_0x281635,_0x4b589a,_0x46f6fd,_0x344978,_0x1c1619,_0x2b2199,_0xd4f061,_0x45a6ef,_0x48701a,_0x170b8b,_0x33b413,_0x59662e,_0x4c6e61,_0x4f35c8){const _0x3ba304=_0x3c9859;super(_0x281635,_0x4b589a,_0x46f6fd,_0x344978,_0xd4f061,_0x59662e,_0x4c6e61,_0x48701a,_0x170b8b),I(this,_0x3ba304(0x561),_0x3ba304(0x29e)),(this[_0x3ba304(0x5ef)]=_0x1c1619,this[_0x3ba304(0x50f)]=_0x2b2199,this[_0x3ba304(0x2fc)]=_0x45a6ef,this['_logService']=_0x33b413,this[_0x3ba304(0x230)]=_0x4f35c8);}[_0x3c9859(0x44c)](_0x272562){const _0x25cfa0=_0x3c9859;try{const _0x45f5fe=[..._0x272562,...this[_0x25cfa0(0x50f)]],_0x36ae1f=[this[_0x25cfa0(0x1e6)]||this[_0x25cfa0(0x5ef)]][_0x25cfa0(0x46b)](_0xc02d70=>!!_0xc02d70);let _0x359cf9,_0x3c67ce;if(_0x36ae1f[_0x25cfa0(0x3a7)]){const _0x3d48b4=this['_transformService'][_0x25cfa0(0x643)](_0x45f5fe,_0x36ae1f,!0x1);if(!p[_0x25cfa0(0x476)](_0x3d48b4))throw _0x3d48b4[_0x25cfa0(0x581)];_0x359cf9=_0x3d48b4[_0x25cfa0(0x2a4)],_0x3c67ce=_0x3d48b4['c2Prime'];}else _0x359cf9=_0x45f5fe,_0x3c67ce=[];let _0x228127=this[_0x25cfa0(0x255)];_0x359cf9[_0x25cfa0(0x4d1)](_0xdabaac=>{const _0x3b3b74=_0x25cfa0;let _0x289a3d;if(_0x228127[_0x3b3b74(0x3a7)]){const _0x42e0b5=this[_0x3b3b74(0x230)]['transformMutationsWithChangeset'](_0xdabaac,_0x228127);if(!p[_0x3b3b74(0x33f)](_0x42e0b5))throw _0x42e0b5[_0x3b3b74(0x581)];_0x289a3d=_0x42e0b5[_0x3b3b74(0x2a4)],_0x228127=_0x42e0b5[_0x3b3b74(0x50b)];}else _0x289a3d=_0xdabaac;this['_executeRemoteChangeset'](_0x289a3d);}),this['_acknowledgedAwaitingChangeset']&&this[_0x25cfa0(0x36b)](),this['_awaitingChangeset']&&_0x3c67ce[_0x25cfa0(0x3a7)]&&(_0x3c67ce[0x0]['baseRev']=this[_0x25cfa0(0x276)]());let _0x3f407d;if(this[_0x25cfa0(0x1e6)]&&_0x228127[_0x25cfa0(0x3a7)]!==0x0)_0x3f407d=this[_0x25cfa0(0x2fc)][_0x25cfa0(0x2cf)](le,this[_0x25cfa0(0x52a)],this[_0x25cfa0(0x52b)],_0x3c67ce[0x0],_0x228127,this[_0x25cfa0(0x3e3)],void 0x0);else{if(this[_0x25cfa0(0x1e6)]&&_0x228127[_0x25cfa0(0x3a7)]===0x0)_0x3c67ce[0x0][_0x25cfa0(0x500)]=this[_0x25cfa0(0x276)](),_0x3f407d=this[_0x25cfa0(0x2fc)][_0x25cfa0(0x2cf)](fe,this[_0x25cfa0(0x52a)],this[_0x25cfa0(0x52b)],_0x3c67ce[0x0],this[_0x25cfa0(0x3e3)]);else{if(_0x228127[_0x25cfa0(0x3a7)]!==0x0){const _0xc592dc=this['_injector'][_0x25cfa0(0x2cf)](ce,this['unitID'],this[_0x25cfa0(0x52b)],_0x228127,this[_0x25cfa0(0x3e3)]);_0xc592dc['_schedule'](),_0x3f407d=_0xc592dc;}else _0x3f407d=this[_0x25cfa0(0x2fc)][_0x25cfa0(0x2cf)](Oe,this['unitID'],this[_0x25cfa0(0x52b)],this[_0x25cfa0(0x3e3)]);}}return _0x3f407d['_updateLocalCache'](),_0x3f407d;}catch(_0x3ddf36){return this[_0x25cfa0(0x56b)][_0x25cfa0(0x581)]('[FetchMissState]',_0x25cfa0(0x293),_0x3ddf36),this['_injector'][_0x25cfa0(0x2cf)](ve,this[_0x25cfa0(0x52a)],this[_0x25cfa0(0x52b)],this[_0x25cfa0(0x1e6)],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){const _0x66060=_0x3c9859;throw new Error(_0x66060(0x394));}['appendMutation'](_0x395c25){const _0x2b7784=_0x3c9859;return this['_pendingMutations'][_0x2b7784(0x331)](_0x395c25),this;}[_0x3c9859(0x551)](_0xfebe0f){const _0x130116=_0x3c9859;return this[_0x130116(0x50f)]['push'](_0xfebe0f),this;}[_0x3c9859(0x582)](_0x3399d7){const _0x4b7ee6=_0x3c9859;if(this[_0x4b7ee6(0x1e6)])return this[_0x4b7ee6(0x5ef)]=this[_0x4b7ee6(0x1e6)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x5b5128){const _0xd3bc21=_0x3c9859;return this['_onConflict'](!!(_0x5b5128!=null&&_0x5b5128[_0xd3bc21(0x298)]));}[_0x3c9859(0x5d1)](){return this;}['toggleOffline'](){const _0x15b423=_0x3c9859;return this['_injector'][_0x15b423(0x2cf)](Se,this[_0x15b423(0x52a)],this[_0x15b423(0x52b)],this[_0x15b423(0x1e6)],this['_pendingMutations'],this[_0x15b423(0x3e3)]);}[_0x3c9859(0x33c)](){return this;}[_0x3c9859(0x3cf)](_0x3f59f5){const _0x40d170=_0x3c9859;return this[_0x40d170(0x2fc)]['createInstance'](ve,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x40d170(0x255)],this[_0x40d170(0x3e3)],_0x3f59f5);}};re=Ce([N(0x7,a[_0x3c9859(0x288)](a[_0x3c9859(0x218)])),N(0x8,a['Inject'](p['RevisionService'])),N(0x9,a[_0x3c9859(0x288)](exports[_0x3c9859(0x544)])),N(0xa,a['ILogService']),N(0xb,a[_0x3c9859(0x569)]),N(0xc,a['IUndoRedoService']),N(0xd,p[_0x3c9859(0x5fc)])],re);function Sn(_0x2360c1,_0x47fb0c,_0xe8d41f,_0x193076,_0x1ae894,_0x233461){const _0x358df0=_0x3c9859;return _0x193076&&_0x1ae894[_0x358df0(0x3a7)]?_0x2360c1[_0x358df0(0x2cf)](le,_0x47fb0c,_0xe8d41f,_0x193076,_0x1ae894,_0x233461,void 0x0):_0x193076?_0x2360c1[_0x358df0(0x2cf)](fe,_0x47fb0c,_0xe8d41f,_0x193076,_0x233461):_0x1ae894[_0x358df0(0x3a7)]?_0x2360c1[_0x358df0(0x2cf)](ce,_0x47fb0c,_0xe8d41f,_0x1ae894,_0x233461):_0x2360c1[_0x358df0(0x2cf)](Oe,_0x47fb0c,_0xe8d41f,_0x233461);}var Bi=Object['defineProperty'],Wi=Object[_0x3c9859(0x353)],yt=(_0x2be7a6,_0x3804a5,_0x165b87,_0x2dcbd6)=>{const _0xd1a30d=_0x3c9859;for(var _0x35e490=_0x2dcbd6>0x1?void 0x0:_0x2dcbd6?Wi(_0x3804a5,_0x165b87):_0x3804a5,_0x3ea059=_0x2be7a6[_0xd1a30d(0x3a7)]-0x1,_0x565a48;_0x3ea059>=0x0;_0x3ea059--)(_0x565a48=_0x2be7a6[_0x3ea059])&&(_0x35e490=(_0x2dcbd6?_0x565a48(_0x3804a5,_0x165b87,_0x35e490):_0x565a48(_0x35e490))||_0x35e490);return _0x2dcbd6&&_0x35e490&&Bi(_0x3804a5,_0x165b87,_0x35e490),_0x35e490;},H=(_0xd84232,_0x15a1e7)=>(_0x4c551c,_0x557a83)=>_0x15a1e7(_0x4c551c,_0x557a83,_0xd84232);exports[_0x3c9859(0x455)]=class extends a[_0x3c9859(0x344)]{constructor(_0x4bfc63,_0x3b0279,_0x5a2522,_0x13c9c9,_0x4681f1,_0x1444dc,_0x4db9e4,_0x58c8ed,_0x1d16c4,_0x2377d1,_0x3aaad6,_0x4768d1,_0x1f2510){const _0x3e58c9=_0x3c9859;super(),I(this,_0x3e58c9(0x652),new A[(_0x3e58c9(0x2b1))](null)),I(this,_0x3e58c9(0x368),this[_0x3e58c9(0x652)]['asObservable']()),I(this,_0x3e58c9(0x3d9)),I(this,'_collaborationPaused',!0x1),I(this,_0x3e58c9(0x1f1),''),I(this,_0x3e58c9(0x1e5),0x0),I(this,_0x3e58c9(0x2bf),this[_0x3e58c9(0x368)][_0x3e58c9(0x232)](A[_0x3e58c9(0x2c6)](_0x4996d9=>_0x4996d9?_0x4996d9[_0x3e58c9(0x561)]:q[_0x3e58c9(0x525)]),A[_0x3e58c9(0x439)](0x1))),I(this,_0x3e58c9(0x638),!0x1),I(this,_0x3e58c9(0x27f),[]),(this['unitID']=_0x4bfc63,this[_0x3e58c9(0x65c)]=_0x3b0279,this[_0x3e58c9(0x553)]=_0x5a2522,this[_0x3e58c9(0x2fc)]=_0x13c9c9,this[_0x3e58c9(0x3e1)]=_0x4681f1,this[_0x3e58c9(0x416)]=_0x1444dc,this[_0x3e58c9(0x224)]=_0x4db9e4,this[_0x3e58c9(0x263)]=_0x58c8ed,this['_logService']=_0x1d16c4,this['_commandService']=_0x2377d1,this[_0x3e58c9(0x48d)]=_0x3aaad6,this[_0x3e58c9(0x43c)]=_0x4768d1,this[_0x3e58c9(0x3e2)]=_0x1f2510);}get[_0x3c9859(0x43f)](){const _0xd88b9d=_0x3c9859;return this[_0xd88b9d(0x3d9)];}async[_0x3c9859(0x4c6)](){const _0x523fa0=_0x3c9859;if(this[_0x523fa0(0x43f)])throw new Error(_0x523fa0(0x1c8));await this['_init']();}[_0x3c9859(0x21a)](){return this['_collaborationPaused']=!0x0,a['toDisposable'](()=>{const _0x1e5e4c=_0x1e8f;this['_collaborationPaused']=!0x1,this[_0x1e5e4c(0x66b)]();});}[_0x3c9859(0x48e)](_0x2e2c28){const _0x51a272=_0x3c9859;this[_0x51a272(0x3d9)]=_0x2e2c28,this[_0x51a272(0x652)][_0x51a272(0x4a4)](_0x2e2c28);}async[_0x3c9859(0x3b1)](){const _0x5bb329=_0x3c9859;var _0x3178a0;this['_updateState'](await this[_0x5bb329(0x54e)]()),this['_singleActiveUnitService']&&((_0x3178a0=this['_singleActiveUnitService'])==null||_0x3178a0['editingUnit'](this[_0x5bb329(0x52a)]),this[_0x5bb329(0x44a)](this[_0x5bb329(0x3e2)][_0x5bb329(0x61c)](this['unitID'])['subscribe'](_0xc0d934=>{const _0x250d31=_0x5bb329;this[_0x250d31(0x56b)][_0x250d31(0x425)](_0x250d31(0x236),_0x250d31(0x320),_0xc0d934),_0xc0d934===un['OTHER_CLIENTS_EDITING']?(this['_messageService'][_0x250d31(0x38c)]({'content':this[_0x250d31(0x224)]['t'](_0x250d31(0x3fd)),'type':Ie[_0x250d31(0x47d)][_0x250d31(0x1d1)]}),this[_0x250d31(0x43c)]['updatePermissionPoint'](new B['WorkbookEditablePermission'](this[_0x250d31(0x52a)])['id'],!0x1),this[_0x250d31(0x43c)]['setShowComponents'](!0x1)):(this[_0x250d31(0x43c)][_0x250d31(0x2a6)](new B['WorkbookEditablePermission'](this[_0x250d31(0x52a)])['id'],!0x0),this[_0x250d31(0x43c)]['setShowComponents'](!0x0));})));let _0x5b4367=!0x1;return this['disposeWithMe'](this[_0x5bb329(0x65c)][_0x5bb329(0x29c)][_0x5bb329(0x4c3)](_0x3b4c6e=>{const _0x56c8aa=_0x5bb329;_0x3b4c6e===se[_0x56c8aa(0x1cb)]?this[_0x56c8aa(0x2ee)](_0x5b4367):_0x3b4c6e===se[_0x56c8aa(0x525)]&&(_0x5b4367=!0x0,this[_0x56c8aa(0x49e)]());})),this[_0x5bb329(0x44a)](this[_0x5bb329(0x65c)][_0x5bb329(0x284)][_0x5bb329(0x4c3)](_0x2b4af0=>{const _0x54a487=_0x5bb329;try{switch(_0x2b4af0[_0x54a487(0x227)]){case p['CollaborationEvent'][_0x54a487(0x386)]:{this[_0x54a487(0x4eb)](p['parseProtocolChangeset'](_0x2b4af0[_0x54a487(0x650)]));break;}case p[_0x54a487(0x4dc)][_0x54a487(0x242)]:{this['_onRemoteACK'](_0x2b4af0['data']);break;}case p['CollaborationEvent'][_0x54a487(0x3b9)]:{this[_0x54a487(0x41e)]();break;}case p[_0x54a487(0x4dc)][_0x54a487(0x22f)]:{this[_0x54a487(0x32f)](_0x2b4af0[_0x54a487(0x650)]);break;}case p['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x54a487(0x629)](_0x2b4af0[_0x54a487(0x650)][_0x54a487(0x5c7)]['map'](_0x2ecec2=>p[_0x54a487(0x1ef)](_0x2ecec2)));break;}case p[_0x54a487(0x4dc)][_0x54a487(0x340)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x1ddde2){throw console['error'](_0x54a487(0x463),_0x1ddde2),_0x1ddde2;}})),this[_0x5bb329(0x3d9)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x3c9859(0x5a4)](){const _0x391aca=_0x3c9859;if(this['_transitionLocked'])throw new Error(_0x391aca(0x335));this['_transitionLocked']=!0x0;}[_0x3c9859(0x4b3)](_0x98e2e0){const _0x2b6bbf=_0x3c9859;this[_0x2b6bbf(0x5a4)](),this[_0x2b6bbf(0x48e)](this[_0x2b6bbf(0x3d9)][_0x2b6bbf(0x549)](_0x98e2e0)),this[_0x2b6bbf(0x2d5)]();}[_0x3c9859(0x4eb)](_0x3b3f6c){const _0x147298=_0x3c9859;if(!(_0x3b3f6c[_0x147298(0x59f)]<=this[_0x147298(0x263)][_0x147298(0x464)](this[_0x147298(0x52a)]))){if(this['_collaborationPaused']){this[_0x147298(0x27f)]['push'](_0x3b3f6c);return;}this['_applyRemoteChangeset'](_0x3b3f6c);}}['_exhaustRemoteChangesetQueue'](){const _0x108afd=_0x3c9859;this[_0x108afd(0x27f)][_0x108afd(0x4d1)](_0x3479e8=>this[_0x108afd(0x52f)](_0x3479e8)),this[_0x108afd(0x27f)]=[];}[_0x3c9859(0x52f)](_0x2db2c9){const _0x186d8a=_0x3c9859,_0x2a1b69=this['_compressMutationService'][_0x186d8a(0x3a6)]['fetchThroughInterceptors'](this[_0x186d8a(0x416)][_0x186d8a(0x3a6)]['getInterceptPoints']()[_0x186d8a(0x510)])(_0x2db2c9[_0x186d8a(0x3ca)],null)||_0x2db2c9['mutations'],_0xdfce61={..._0x2db2c9,'mutations':_0x2a1b69};this[_0x186d8a(0x5a4)](),this[_0x186d8a(0x48e)](this[_0x186d8a(0x3d9)][_0x186d8a(0x551)](_0xdfce61)),this[_0x186d8a(0x2d5)]();}[_0x3c9859(0x516)](_0x4cdff7){const _0x1168c7=_0x3c9859;this['_lockTransition'](),this['_updateState'](this['_state'][_0x1168c7(0x582)](_0x4cdff7)),this[_0x1168c7(0x2d5)]();}[_0x3c9859(0x41e)](_0x4829be){const _0x502e4e=_0x3c9859;this[_0x502e4e(0x5a4)](),this[_0x502e4e(0x48e)](this[_0x502e4e(0x3d9)][_0x502e4e(0x3a5)](_0x4829be)),this[_0x502e4e(0x2d5)]();}[_0x3c9859(0x32f)](_0x5bc331){const _0x5bf416=_0x3c9859;this[_0x5bf416(0x5a4)](),this[_0x5bf416(0x48e)](this[_0x5bf416(0x3d9)]['onRemoteRetry'](_0x5bc331)),this[_0x5bf416(0x2d5)]();}[_0x3c9859(0x629)](_0x15374e){const _0x4fbdc2=_0x3c9859;if(!(this[_0x4fbdc2(0x3d9)]instanceof re))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x503f5a=_0x15374e['map'](_0x248a3b=>{const _0x5a13e7=_0x4fbdc2,_0x436ffe=this[_0x5a13e7(0x416)][_0x5a13e7(0x3a6)]['fetchThroughInterceptors'](this[_0x5a13e7(0x416)]['interceptor'][_0x5a13e7(0x3c4)]()['COMPRESS_MUTATION_APPLY'])(_0x248a3b[_0x5a13e7(0x3ca)],null)||_0x248a3b['mutations'];return{..._0x248a3b,'mutations':_0x436ffe};});this['_lockTransition'](),this[_0x4fbdc2(0x48e)](this[_0x4fbdc2(0x3d9)]['onMissedChangesetFetched'](_0x503f5a)),this[_0x4fbdc2(0x2d5)]();}[_0x3c9859(0x49e)](){const _0x61249a=_0x3c9859;this[_0x61249a(0x5a4)](),this[_0x61249a(0x48e)](this[_0x61249a(0x3d9)]['toggleOffline']()),this[_0x61249a(0x2d5)]();}['_toggleOnline'](_0x16848e=!0x1){const _0x466fd6=_0x3c9859;this['_lockTransition'](),this[_0x466fd6(0x48e)](this[_0x466fd6(0x3d9)][_0x466fd6(0x33c)]()),this['_unlockTransition']();const _0x215db6=this[_0x466fd6(0x3d9)];_0x16848e&&_0x215db6 instanceof Oe&&(this[_0x466fd6(0x5a4)](),this[_0x466fd6(0x48e)](_0x215db6[_0x466fd6(0x1f2)]()),this[_0x466fd6(0x2d5)]());}async[_0x3c9859(0x54e)](){return new Promise(_0x5c0098=>{const _0x23f648=_0x1e8f;this[_0x23f648(0x65c)][_0x23f648(0x29c)][_0x23f648(0x232)](A[_0x23f648(0x1bf)](0x1))['subscribe'](async _0x4fbd4a=>{const _0x3c2d38=_0x23f648;_0x5c0098(await this[_0x3c2d38(0x3ba)](_0x4fbd4a===se[_0x3c2d38(0x1cb)]));});});}['_createHandler'](){const _0x2fe4a0=_0x3c9859,_0x1cdb47=this[_0x2fe4a0(0x52a)];return{'onStateChange':(_0x109469,_0x20fb35)=>{const _0x2335c3=_0x2fe4a0;if(_0x109469!==this[_0x2335c3(0x3d9)])throw new Error(_0x2335c3(0x282)+_0x109469[_0x2335c3(0x561)]+_0x2335c3(0x316)+_0x20fb35[_0x2335c3(0x561)]+_0x2335c3(0x611)+this[_0x2335c3(0x3d9)][_0x2335c3(0x561)]);this[_0x2335c3(0x48e)](_0x20fb35);},'onSendChangeset':_0x5bf1d4=>{const _0x48437d=_0x2fe4a0;_0x5bf1d4[_0x48437d(0x3e0)]||(_0x5bf1d4['sid']=this[_0x48437d(0x1f1)],_0x5bf1d4['reqId']=++this[_0x48437d(0x1e5)]);const _0x5b80a3={'eventID':p[_0x48437d(0x4dc)][_0x48437d(0x437)],'data':{'unitID':_0x5bf1d4[_0x48437d(0x52a)],'unitType':this[_0x48437d(0x553)],'changeset':_0x5bf1d4,'memberID':this['session'][_0x48437d(0x667)]()}};this['session'][_0x48437d(0x668)](_0x5b80a3,this['unitID']);},'onMissingChangesets':({from:_0x579927,to:_0x5c7896})=>{const _0x21a0a1=_0x2fe4a0;this[_0x21a0a1(0x56b)][_0x21a0a1(0x425)](_0x21a0a1(0x236),_0x21a0a1(0x482)+_0x579927+_0x21a0a1(0x1fd)+_0x5c7896);const _0x246ce6={'eventID':p[_0x21a0a1(0x4dc)][_0x21a0a1(0x42c)],'data':{'unitID':_0x1cdb47,'unitType':this[_0x21a0a1(0x553)],'from':_0x579927,'to':_0x5c7896}};this[_0x21a0a1(0x65c)][_0x21a0a1(0x668)](_0x246ce6,this[_0x21a0a1(0x52a)]);}};}async[_0x3c9859(0x3ba)](_0x4b178e){const _0x3c2be9=_0x3c9859;var _0x3f3ea0,_0x43ec4e;const _0x378b30=await this[_0x3c2be9(0x3e1)][_0x3c2be9(0x4c0)](this[_0x3c2be9(0x52a)]),_0x573adf=(_0x3f3ea0=_0x378b30==null?void 0x0:_0x378b30[_0x3c2be9(0x3ca)])!=null?_0x3f3ea0:[],_0x44a0f3=(_0x43ec4e=_0x378b30==null?void 0x0:_0x378b30[_0x3c2be9(0x41b)])!=null?_0x43ec4e:null,_0x1d498c=!!(_0x44a0f3!=null&&_0x44a0f3[_0x3c2be9(0x3e0)])&&!!(_0x44a0f3!=null&&_0x44a0f3[_0x3c2be9(0x50a)]);this[_0x3c2be9(0x1f1)]=_0x1d498c?_0x44a0f3['sid']:pi(),this[_0x3c2be9(0x1e5)]=_0x1d498c?_0x44a0f3['reqId']:0x0;const _0x7ca433=this[_0x3c2be9(0x52a)];try{this['_replayCachedMutations'](_0x44a0f3,_0x573adf);}catch(_0x2343b7){this[_0x3c2be9(0x56b)][_0x3c2be9(0x581)](_0x2343b7);}const _0x3b8adc=this[_0x3c2be9(0x598)]();if(_0x4b178e){const _0x13c6ce=Sn(this[_0x3c2be9(0x2fc)],_0x7ca433,this[_0x3c2be9(0x553)],_0x44a0f3,_0x573adf,_0x3b8adc);return _0x13c6ce instanceof ce?_0x13c6ce[_0x3c2be9(0x389)]():(_0x13c6ce instanceof le||_0x13c6ce instanceof fe)&&_0x13c6ce['resend'](),_0x13c6ce;}return this[_0x3c2be9(0x2fc)][_0x3c2be9(0x2cf)](Se,_0x7ca433,this['_type'],_0x44a0f3,_0x573adf,_0x3b8adc);}[_0x3c9859(0x614)](_0xd78bd,_0x2b4706){const _0x37a419=_0x3c9859;var _0x413938,_0x3befdf;const _0x49f684=this[_0x37a419(0x416)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x37a419(0x510)]);(_0x413938=_0x49f684((_0xd78bd==null?void 0x0:_0xd78bd[_0x37a419(0x3ca)])||[],null))==null||_0x413938['forEach'](_0x431537=>this[_0x37a419(0x3cd)]['executeCommand'](_0x431537['id'],_0x431537[_0x37a419(0x530)])),(_0x3befdf=_0x49f684(_0x2b4706||[],null))==null||_0x3befdf[_0x37a419(0x4d1)](_0x3b3365=>this[_0x37a419(0x3cd)][_0x37a419(0x413)](_0x3b3365['id'],_0x3b3365[_0x37a419(0x530)]));}},exports[_0x3c9859(0x455)]=yt([H(0x3,a[_0x3c9859(0x288)](a[_0x3c9859(0x218)])),H(0x4,a[_0x3c9859(0x288)](exports[_0x3c9859(0x544)])),H(0x5,a[_0x3c9859(0x288)](p[_0x3c9859(0x297)])),H(0x6,a[_0x3c9859(0x288)](a[_0x3c9859(0x295)])),H(0x7,a['Inject'](p[_0x3c9859(0x4b2)])),H(0x8,a[_0x3c9859(0x584)]),H(0x9,a[_0x3c9859(0x569)]),H(0xa,te['IMessageService']),H(0xb,a[_0x3c9859(0x431)]),H(0xc,a[_0x3c9859(0x563)](qe))],exports[_0x3c9859(0x455)]),exports['DocCollaborationEntity']=class extends exports[_0x3c9859(0x455)]{constructor(_0x1e67c8,_0x236a3c,_0x3dcc68,_0x14f3a8,_0x21b9dd,_0x5640b1,_0x3d22be,_0x3ca482,_0x949c8b,_0x3d3d19,_0x141e2a,_0x2ce3ae,_0x59b7a9,_0x105503,_0x31d305,_0xedb4f3,_0x2e711e,_0x5a59b8){const _0x2775f9=_0x3c9859;super(_0x1e67c8,_0x3dcc68,_0x236a3c,_0x14f3a8,_0x21b9dd,_0x5640b1,_0x3d22be,_0x3ca482,_0x105503,_0x31d305,_0xedb4f3,_0x2e711e,_0x5a59b8),this[_0x2775f9(0x52a)]=_0x1e67c8,this[_0x2775f9(0x52b)]=_0x236a3c,this[_0x2775f9(0x59c)]=_0x949c8b,this['_docTransformIMECacheService']=_0x3d3d19,this[_0x2775f9(0x270)]=_0x141e2a,this['_docTransformSelectionsService']=_0x2ce3ae,this[_0x2775f9(0x58a)]=_0x59b7a9;}['_createHandler'](){const _0x34a024=_0x3c9859,_0xd51c79=super['_createHandler']();return _0xd51c79['onTransformIME']=_0x47df5f=>this[_0x34a024(0x4b1)][_0x34a024(0x268)](_0x47df5f),_0xd51c79[_0x34a024(0x58e)]=_0x9a7776=>this['_docTransformStateCacheService'][_0x34a024(0x2dd)](_0x9a7776),_0xd51c79[_0x34a024(0x38d)]=_0x457c08=>this[_0x34a024(0x264)]['transformSelections'](_0x457c08),_0xd51c79[_0x34a024(0x3df)]=_0x36377b=>this[_0x34a024(0x58a)][_0x34a024(0x201)](_0x36377b),_0xd51c79[_0x34a024(0x4ac)]=_0x570458=>this[_0x34a024(0x4b1)][_0x34a024(0x635)](_0x570458),_0xd51c79[_0x34a024(0x4f3)]=_0x31888d=>this[_0x34a024(0x270)][_0x34a024(0x635)](_0x31888d),_0xd51c79;}async[_0x3c9859(0x3b1)](){const _0xb45fc=_0x3c9859,_0x3783db=await super[_0xb45fc(0x3b1)]();return this[_0xb45fc(0x59c)][_0xb45fc(0x4e1)][_0xb45fc(0x232)](A['takeUntil'](this[_0xb45fc(0x376)]))[_0xb45fc(0x4c3)](_0x5b236c=>{const _0x4923b5=_0xb45fc;if(_0x5b236c==null)return;const {unitId:_0x3a6322,redoState:_0x2a3028,commandId:_0x4ff5bb}=_0x5b236c;if(_0x3a6322!==this[_0x4923b5(0x52a)])return;const _0x56261d={'id':_0x4ff5bb,'type':a['CommandType'][_0x4923b5(0x5cd)],'params':{'unitId':_0x3a6322,'actions':_0x2a3028[_0x4923b5(0x28d)],'textRanges':null}};this[_0x4923b5(0x4b3)](_0x56261d);}),_0x3783db;}},exports['DocCollaborationEntity']=yt([H(0x3,a['Inject'](a['Injector'])),H(0x4,a['Inject'](exports['LocalCacheService'])),H(0x5,a['Inject'](p['CompressMutationService'])),H(0x6,a[_0x3c9859(0x288)](a[_0x3c9859(0x295)])),H(0x7,a[_0x3c9859(0x288)](p['RevisionService'])),H(0x8,a['Inject'](Z[_0x3c9859(0x274)])),H(0x9,a[_0x3c9859(0x288)](ke)),H(0xa,a[_0x3c9859(0x288)](We)),H(0xb,a[_0x3c9859(0x288)](Fe)),H(0xc,a[_0x3c9859(0x288)](Rt)),H(0xd,a['ILogService']),H(0xe,a[_0x3c9859(0x569)]),H(0xf,te[_0x3c9859(0x436)]),H(0x10,a[_0x3c9859(0x431)]),H(0x11,a[_0x3c9859(0x563)](qe))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports[_0x3c9859(0x455)]{constructor(_0x14af46,_0x4773b6,_0x1274ae,_0x1c7899,_0x5ebfbf,_0x25b814,_0x208dca,_0x51def0,_0x1cefa4,_0x547910,_0x29e588,_0x228b6c,_0xdc411b,_0x31b1c9){const _0x32a8a3=_0x3c9859;super(_0x14af46,_0x1274ae,_0x4773b6,_0x1c7899,_0x5ebfbf,_0x25b814,_0x208dca,_0x51def0,_0x547910,_0x29e588,_0x228b6c,_0xdc411b,_0x31b1c9),this['unitID']=_0x14af46,this[_0x32a8a3(0x52b)]=_0x4773b6,this[_0x32a8a3(0x25f)]=_0x1cefa4;}[_0x3c9859(0x598)](){const _0x31e670=_0x3c9859,_0x4bb483=super[_0x31e670(0x598)]();return _0x4bb483[_0x31e670(0x38d)]=_0x1f6771=>this['_sheetTransformSelectionsService'][_0x31e670(0x257)](_0x1f6771),_0x4bb483;}async['_init'](){const _0x12cb05=_0x3c9859,_0x565c9a=await super[_0x12cb05(0x3b1)]();return this[_0x12cb05(0x44a)](this[_0x12cb05(0x3cd)][_0x12cb05(0x626)]((_0x90d2b8,_0x28cbcc)=>{const _0xa96b63=_0x12cb05;if(_0x90d2b8[_0xa96b63(0x52b)]!==a[_0xa96b63(0x434)][_0xa96b63(0x5cd)]||_0x28cbcc!=null&&_0x28cbcc['fromCollab']||_0x28cbcc!=null&&_0x28cbcc[_0xa96b63(0x520)])return;const _0x163518=_0x90d2b8[_0xa96b63(0x530)];if((_0x163518==null?void 0x0:_0x163518[_0xa96b63(0x1ea)])!==this[_0xa96b63(0x52a)])return;const _0x25ce07=_0x90d2b8,_0x27f4d1=this['_compressMutationService'][_0xa96b63(0x3a6)][_0xa96b63(0x5cb)](this['_compressMutationService']['interceptor'][_0xa96b63(0x3c4)]()[_0xa96b63(0x39c)])([_0x25ce07],null)||[_0x25ce07];this[_0xa96b63(0x4b3)](_0x27f4d1[0x0]);})),_0x565c9a;}},exports[_0x3c9859(0x2f8)]=yt([H(0x3,a['Inject'](a[_0x3c9859(0x218)])),H(0x4,a[_0x3c9859(0x288)](exports[_0x3c9859(0x544)])),H(0x5,a['Inject'](p[_0x3c9859(0x297)])),H(0x6,a[_0x3c9859(0x288)](a[_0x3c9859(0x295)])),H(0x7,a[_0x3c9859(0x288)](p['RevisionService'])),H(0x8,a[_0x3c9859(0x288)](Be)),H(0x9,a[_0x3c9859(0x584)]),H(0xa,a[_0x3c9859(0x569)]),H(0xb,te[_0x3c9859(0x436)]),H(0xc,a[_0x3c9859(0x431)]),H(0xd,a[_0x3c9859(0x563)](qe))],exports[_0x3c9859(0x2f8)]);var Fi=Object['defineProperty'],Vi=Object[_0x3c9859(0x353)],Gi=(_0x590bfe,_0x4e3182,_0x1fe02a,_0x21eddb)=>{const _0x343989=_0x3c9859;for(var _0x2899cd=_0x21eddb>0x1?void 0x0:_0x21eddb?Vi(_0x4e3182,_0x1fe02a):_0x4e3182,_0x361add=_0x590bfe[_0x343989(0x3a7)]-0x1,_0x2bdb34;_0x361add>=0x0;_0x361add--)(_0x2bdb34=_0x590bfe[_0x361add])&&(_0x2899cd=(_0x21eddb?_0x2bdb34(_0x4e3182,_0x1fe02a,_0x2899cd):_0x2bdb34(_0x2899cd))||_0x2899cd);return _0x21eddb&&_0x2899cd&&Fi(_0x4e3182,_0x1fe02a,_0x2899cd),_0x2899cd;},tt=(_0x552250,_0x3be8e3)=>(_0x1198f3,_0x3c6ba1)=>_0x3be8e3(_0x1198f3,_0x3c6ba1,_0x552250);exports[_0x3c9859(0x645)]=class extends a[_0x3c9859(0x344)]{constructor(_0x32294e,_0x2cf5d0,_0x395304){const _0x3732cb=_0x3c9859;super(),I(this,_0x3732cb(0x26a),new Map()),I(this,'_entityInit$',new A[(_0x3732cb(0x2d8))]()),(this[_0x3732cb(0x2fc)]=_0x32294e,this['_collabSessionService']=_0x2cf5d0,this[_0x3732cb(0x4a5)]=_0x395304,this['_init']());}[_0x3c9859(0x20f)](){const _0x41d9e3=_0x3c9859;super[_0x41d9e3(0x20f)](),this['_entities']['forEach'](_0x302a66=>_0x302a66[_0x41d9e3(0x20f)]()),this[_0x41d9e3(0x26a)]['clear']();}[_0x3c9859(0x422)](_0x35c8b2){const _0x40e5dd=_0x3c9859;var _0x1e7cf2;return(_0x1e7cf2=this[_0x40e5dd(0x26a)][_0x40e5dd(0x58c)](_0x35c8b2))!=null?_0x1e7cf2:null;}['getCollabEntity$'](_0x3804a4){const _0x38a611=_0x3c9859,_0x43a4c6=this[_0x38a611(0x422)](_0x3804a4);return _0x43a4c6?A['of'](_0x43a4c6):this[_0x38a611(0x45b)]['pipe'](V[_0x38a611(0x46b)](_0x4784a6=>_0x4784a6[_0x38a611(0x52a)]===_0x3804a4));}['_init'](){const _0x32133f=_0x3c9859;this[_0x32133f(0x4a5)][_0x32133f(0x21d)](a[_0x32133f(0x51d)]['UNIVER_SHEET'])['pipe'](A[_0x32133f(0x2d1)](this[_0x32133f(0x376)]),V[_0x32133f(0x554)](0x10))[_0x32133f(0x4c3)](async _0x1f5f59=>{const _0x2e8552=_0x32133f,_0x43c19a=_0x1f5f59['getUnitId'](),_0xdf6225=await this['_startCollaboration'](_0x43c19a,ie[_0x2e8552(0x1e9)]);this[_0x2e8552(0x26a)][_0x2e8552(0x61d)](_0x43c19a,_0xdf6225);}),this[_0x32133f(0x4a5)][_0x32133f(0x21d)](a[_0x32133f(0x51d)][_0x32133f(0x254)])['pipe'](A['takeUntil'](this[_0x32133f(0x376)]),V[_0x32133f(0x554)](0x10))['pipe'](V['filter'](_0x4119fa=>!_0x4119fa[_0x32133f(0x216)]()[_0x32133f(0x2f6)]('__')))['subscribe'](async _0x325e9a=>{const _0x283d5c=_0x32133f,_0x55153c=_0x325e9a[_0x283d5c(0x216)](),_0x11b188=await this[_0x283d5c(0x310)](_0x55153c,ie[_0x283d5c(0x254)]);this['_entities'][_0x283d5c(0x61d)](_0x55153c,_0x11b188);}),A[_0x32133f(0x3bf)](this['_univerInstanceService'][_0x32133f(0x503)](a[_0x32133f(0x51d)][_0x32133f(0x1e9)]),this[_0x32133f(0x4a5)][_0x32133f(0x503)](a[_0x32133f(0x51d)]['UNIVER_DOC']))[_0x32133f(0x232)](A['takeUntil'](this[_0x32133f(0x376)]))[_0x32133f(0x4c3)](_0x50e6e2=>{const _0x246eaa=_0x32133f,_0x25be19=_0x50e6e2[_0x246eaa(0x216)](),_0x554edc=this[_0x246eaa(0x26a)][_0x246eaa(0x58c)](_0x25be19);_0x554edc&&(_0x554edc['dispose'](),this['_entities'][_0x246eaa(0x4c4)](_0x25be19));});}async[_0x3c9859(0x310)](_0x3c37d6,_0x1c9862){const _0x5be5e9=_0x3c9859,_0x29ddc7=await this[_0x5be5e9(0x2c0)][_0x5be5e9(0x2c4)](_0x3c37d6),_0x1245c0=this[_0x5be5e9(0x2fc)]['createInstance'](this[_0x5be5e9(0x64a)](_0x1c9862),_0x3c37d6,_0x1c9862,_0x29ddc7);return await _0x1245c0[_0x5be5e9(0x4c6)](),this[_0x5be5e9(0x45b)]['next'](_0x1245c0),_0x1245c0;}[_0x3c9859(0x64a)](_0x3b81fd){const _0x19f6c9=_0x3c9859;switch(_0x3b81fd){case ie[_0x19f6c9(0x254)]:return exports['DocCollaborationEntity'];case ie['UNIVER_SHEET']:return exports[_0x19f6c9(0x2f8)];default:throw new Error(_0x19f6c9(0x640)+_0x3b81fd);}}},exports['CollaborationController']=Gi([tt(0x0,a[_0x3c9859(0x288)](a[_0x3c9859(0x218)])),tt(0x1,a[_0x3c9859(0x288)](exports[_0x3c9859(0x5bf)])),tt(0x2,a[_0x3c9859(0x671)])],exports[_0x3c9859(0x645)]);const $t=[_0x3c9859(0x1d5),_0x3c9859(0x5f0),_0x3c9859(0x47c),_0x3c9859(0x2a7),_0x3c9859(0x674),_0x3c9859(0x446)];class Ot extends a[_0x3c9859(0x32a)]{constructor(){const _0x3eb1dc=_0x3c9859;super(...arguments),I(this,'_assignedColors',new Map()),I(this,_0x3eb1dc(0x23f),0x0);}[_0x3c9859(0x21b)](_0x38da02){const _0x5c9b7f=_0x3c9859;if(this[_0x5c9b7f(0x272)]['has'](_0x38da02))return this[_0x5c9b7f(0x272)][_0x5c9b7f(0x58c)](_0x38da02);const _0x3253b7=$t[this[_0x5c9b7f(0x23f)]];return this[_0x5c9b7f(0x23f)]=(this['_colorIndex']+0x1)%$t[_0x5c9b7f(0x3a7)],this['_assignedColors'][_0x5c9b7f(0x61d)](_0x38da02,_0x3253b7),_0x3253b7;}}var Yi=Object[_0x3c9859(0x2aa)],Ki=Object[_0x3c9859(0x353)],qi=(_0x57e53c,_0x2fc909,_0x46f296,_0x32e201)=>{const _0x3a6740=_0x3c9859;for(var _0x3fa1f9=_0x32e201>0x1?void 0x0:_0x32e201?Ki(_0x2fc909,_0x46f296):_0x2fc909,_0x180677=_0x57e53c[_0x3a6740(0x3a7)]-0x1,_0x434a78;_0x180677>=0x0;_0x180677--)(_0x434a78=_0x57e53c[_0x180677])&&(_0x3fa1f9=(_0x32e201?_0x434a78(_0x2fc909,_0x46f296,_0x3fa1f9):_0x434a78(_0x3fa1f9))||_0x3fa1f9);return _0x32e201&&_0x3fa1f9&&Yi(_0x2fc909,_0x46f296,_0x3fa1f9),_0x3fa1f9;},me=(_0x703587,_0x40adbe)=>(_0x23ac9b,_0x5c124e)=>_0x40adbe(_0x23ac9b,_0x5c124e,_0x703587);const zi=0x12c,Xi=0x64;let St=class extends a[_0x3c9859(0x344)]{constructor(_0x38826f,_0x4bbc7c,_0x2cf37f,_0x12f729,_0x35b808,_0x3c17b8,_0x120d22,_0x4f2a1f,_0x4222cb){const _0xf14998=_0x3c9859;super(),I(this,_0xf14998(0x240),!0x1),I(this,_0xf14998(0x3b1),!0x1),I(this,_0xf14998(0x25c),new A[(_0xf14998(0x2b1))](new Map())),I(this,_0xf14998(0x3e4),this[_0xf14998(0x25c)]['asObservable']()),I(this,_0xf14998(0x529),new A[(_0xf14998(0x2b1))]([])),I(this,_0xf14998(0x2c2),this[_0xf14998(0x529)][_0xf14998(0x232)](A[_0xf14998(0x54b)](zi))),I(this,_0xf14998(0x52d),a['debounce'](_0x8ee246=>{const _0x29c146=_0xf14998,_0x4d1eef={'eventID':p[_0x29c146(0x4dc)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x29c146(0x52a)],'memberID':this[_0x29c146(0x60d)][_0x29c146(0x667)](),'selection':dn(_0x8ee246)}};this[_0x29c146(0x60d)][_0x29c146(0x668)](_0x4d1eef,this[_0x29c146(0x52a)]);},Xi)),(this[_0xf14998(0x52a)]=_0x38826f,this[_0xf14998(0x60d)]=_0x4bbc7c,this[_0xf14998(0x2fc)]=_0x2cf37f,this[_0xf14998(0x564)]=_0x12f729,this['_memberService']=_0x35b808,this[_0xf14998(0x2dc)]=_0x3c17b8,this[_0xf14998(0x230)]=_0x120d22,this[_0xf14998(0x4a5)]=_0x4f2a1f,this['_commandService']=_0x4222cb);}get[_0x3c9859(0x3fa)](){const _0x3ec7dd=_0x3c9859;return this[_0x3ec7dd(0x25c)][_0x3ec7dd(0x3ed)]();}get[_0x3c9859(0x506)](){const _0x1877b1=_0x3c9859;return this[_0x1877b1(0x529)][_0x1877b1(0x3ed)]();}['dispose'](){const _0x4b4506=_0x3c9859;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x4b4506(0x25c)]['complete'](),this[_0x4b4506(0x529)][_0x4b4506(0x4a4)]([]),this[_0x4b4506(0x529)]['complete']();}['init'](){const _0x1d88a9=_0x3c9859;this[_0x1d88a9(0x3b1)]||(this[_0x1d88a9(0x3b1)]=!0x0,this['_session'][_0x1d88a9(0x29c)][_0x1d88a9(0x232)](A[_0x1d88a9(0x2d1)](this['dispose$']))[_0x1d88a9(0x4c3)](_0x5f9a00=>{const _0x559559=_0x1d88a9;_0x5f9a00===se[_0x559559(0x1cb)]?this[_0x559559(0x2ee)]():this[_0x559559(0x49e)]();}),this[_0x1d88a9(0x60d)][_0x1d88a9(0x284)][_0x1d88a9(0x232)](A[_0x1d88a9(0x2d1)](this['dispose$']))[_0x1d88a9(0x4c3)](_0x17aad5=>{const _0x3feb41=_0x1d88a9,_0x4fe0ae=_0x17aad5[_0x3feb41(0x227)];_0x4fe0ae===p[_0x3feb41(0x4dc)][_0x3feb41(0x38b)]&&this['_onCursorUpdate'](_0x17aad5),_0x4fe0ae===p[_0x3feb41(0x4dc)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x17aad5);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x587233=>{const _0x2b1f7f=_0x1d88a9,_0x3143d6=_0x587233[_0x2b1f7f(0x530)];_0x3143d6!=null&&this[_0x2b1f7f(0x240)]&&_0x587233['id']===ye['SetTextSelectionsOperation']['id']&&_0x3143d6[_0x2b1f7f(0x1ea)]===this['unitID']&&_0x3143d6['isEditing']===!0x1&&_0x3143d6[_0x2b1f7f(0x40d)][_0x2b1f7f(0x3a7)]>0x0&&this[_0x2b1f7f(0x52d)](_0x3143d6[_0x2b1f7f(0x40d)]);})),this['_syncEditingCollabCursorService'][_0x1d88a9(0x355)][_0x1d88a9(0x232)](A[_0x1d88a9(0x2d1)](this[_0x1d88a9(0x376)]))[_0x1d88a9(0x4c3)](_0x42ca00=>{const _0x2a7108=_0x1d88a9;if((_0x42ca00==null?void 0x0:_0x42ca00[_0x2a7108(0x52a)])!==this[_0x2a7108(0x52a)])return;const _0x1b7cee={'eventID':p[_0x2a7108(0x4dc)][_0x2a7108(0x38b)],'data':_0x42ca00};this[_0x2a7108(0x1dc)](_0x1b7cee);}),this['disposeWithMe'](this[_0x1d88a9(0x3cd)][_0x1d88a9(0x626)](_0x13f2ff=>{const _0x40409c=_0x1d88a9;if(_0x13f2ff[_0x40409c(0x530)]==null)return;const _0x385fca=_0x13f2ff[_0x40409c(0x530)];if(_0x13f2ff['id']!==ye['RichTextEditingMutation']['id']||_0x385fca[_0x40409c(0x1ea)]!==this[_0x40409c(0x52a)])return;const _0x3ca5bf={'id':_0x40409c(0x5b9),'params':_0x385fca},_0x3b3344=this['cursorInfo'];for(const [_0x3a7537,_0xeaee3]of _0x3b3344){const _0x518ea7={'id':_0x40409c(0x5b9),'params':{'unitId':this[_0x40409c(0x52a)],'actions':null,'textRanges':_0xeaee3[_0x40409c(0x40d)]}},_0x10b921=this['_transformService'][_0x40409c(0x1f5)](_0x3ca5bf,_0x518ea7,!0x1);if(p[_0x40409c(0x4ee)](_0x10b921))throw _0x10b921[_0x40409c(0x581)];_0x3b3344[_0x40409c(0x61d)](_0x3a7537,{..._0xeaee3,'ranges':_0x10b921[_0x40409c(0x50b)]['params'][_0x40409c(0x478)]});}queueMicrotask(()=>{const _0x46cddb=_0x40409c;this[_0x46cddb(0x25c)]['next'](_0x3b3344);});})));}[_0x3c9859(0x1dc)](_0x16a3d8){const _0x568e88=_0x3c9859;var _0x129b88,_0x11181f;const {memberID:_0x28db4d,selection:_0x21ceec}=_0x16a3d8['data'],_0xcc8740=Mi(_0x21ceec),_0x4cf69b=(_0x11181f=(_0x129b88=this[_0x568e88(0x4b6)][_0x568e88(0x1e1)](this[_0x568e88(0x52a)],_0x28db4d))==null?void 0x0:_0x129b88[_0x568e88(0x597)])!=null?_0x11181f:'Unknown\x20user',_0x375e3c={'color':this[_0x568e88(0x564)][_0x568e88(0x21b)](_0x28db4d),'name':_0x4cf69b,'ranges':_0xcc8740},_0x187c5e=this[_0x568e88(0x3fa)];_0x187c5e[_0x568e88(0x61d)](_0x28db4d,_0x375e3c),this['_cursorInfo$'][_0x568e88(0x4a4)](_0x187c5e);}[_0x3c9859(0x30a)](_0x31e5b6){const _0x322764=_0x3c9859,{memberID:_0x1cf7c3}=_0x31e5b6[_0x322764(0x650)],_0x322949=this[_0x322764(0x3fa)];_0x322949[_0x322764(0x4c4)](_0x1cf7c3),this[_0x322764(0x25c)][_0x322764(0x4a4)](_0x322949);}['_toggleOnline'](){const _0x38412b=_0x3c9859;var _0x4b1c52;if(this[_0x38412b(0x240)]=!0x0,((_0x4b1c52=this[_0x38412b(0x4a5)][_0x38412b(0x47b)]())==null?void 0x0:_0x4b1c52[_0x38412b(0x216)]())!==this[_0x38412b(0x52a)])return;const _0x42cb0c=this[_0x38412b(0x2fc)][_0x38412b(0x58c)](ye[_0x38412b(0x5d0)])[_0x38412b(0x1c3)]();Array[_0x38412b(0x65a)](_0x42cb0c)&&_0x42cb0c['length']>0x0&&this[_0x38412b(0x52d)](_0x42cb0c);}[_0x3c9859(0x49e)](){const _0x23856c=_0x3c9859;this[_0x23856c(0x240)]=!0x1;}};St=qi([me(0x2,a[_0x3c9859(0x288)](a[_0x3c9859(0x218)])),me(0x3,a[_0x3c9859(0x288)](Ot)),me(0x4,a[_0x3c9859(0x288)](exports[_0x3c9859(0x60b)])),me(0x5,a['Inject'](Rt)),me(0x6,p[_0x3c9859(0x5fc)]),me(0x7,a[_0x3c9859(0x671)]),me(0x8,a[_0x3c9859(0x569)])],St);var Ji=Object[_0x3c9859(0x2aa)],Zi=Object[_0x3c9859(0x353)],Qi=(_0x320d8a,_0x1bdad1,_0x1132e1,_0x1b8acc)=>{for(var _0x3b2dc0=_0x1b8acc>0x1?void 0x0:_0x1b8acc?Zi(_0x1bdad1,_0x1132e1):_0x1bdad1,_0x11b04b=_0x320d8a['length']-0x1,_0x38d1b1;_0x11b04b>=0x0;_0x11b04b--)(_0x38d1b1=_0x320d8a[_0x11b04b])&&(_0x3b2dc0=(_0x1b8acc?_0x38d1b1(_0x1bdad1,_0x1132e1,_0x3b2dc0):_0x38d1b1(_0x3b2dc0))||_0x3b2dc0);return _0x1b8acc&&_0x3b2dc0&&Ji(_0x1bdad1,_0x1132e1,_0x3b2dc0),_0x3b2dc0;},be=(_0x29e70b,_0x1a4b4d)=>(_0x316458,_0x23467e)=>_0x1a4b4d(_0x316458,_0x23467e,_0x29e70b);const es=0x12c,ts=0x64,ns=()=>{let _0x5842c1=[],_0x384704=!0x1;return _0x5f159d=>{const _0x3b94e7=_0x1e8f;_0x5842c1[_0x3b94e7(0x331)](_0x5f159d),_0x384704||(_0x384704=!0x0,setTimeout(()=>{const _0x49309d=_0x3b94e7;_0x5842c1[_0x49309d(0x4d1)](_0xe1c4cb=>_0xe1c4cb()),_0x5842c1=[],_0x384704=!0x1;}));};};let pt=class extends a[_0x3c9859(0x344)]{constructor(_0x5a477d,_0x4485d3,_0x53552b,_0xc9f861,_0x123065,_0xccf72f,_0x29b4b5,_0x54dc4d){const _0x54c12e=_0x3c9859;super(),I(this,'_online',!0x1),I(this,_0x54c12e(0x3b1),!0x1),I(this,_0x54c12e(0x25c),new A['BehaviorSubject'](new Map())),I(this,_0x54c12e(0x3e4),this[_0x54c12e(0x25c)][_0x54c12e(0x3eb)]()),I(this,_0x54c12e(0x529),new A[(_0x54c12e(0x2b1))]([])),I(this,_0x54c12e(0x2c2),this[_0x54c12e(0x529)][_0x54c12e(0x232)](A[_0x54c12e(0x54b)](es))),I(this,_0x54c12e(0x52d),a['debounce']((_0x125337,_0x81184b)=>{const _0x49cd00=_0x54c12e,_0xda09f1={'eventID':p[_0x49cd00(0x4dc)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x49cd00(0x52a)],'memberID':this['_session'][_0x49cd00(0x667)](),'selection':Pt[_0x49cd00(0x1c7)](_0x125337,_0x81184b[_0x49cd00(0x42d)])}};this['_session'][_0x49cd00(0x668)](_0xda09f1,this[_0x49cd00(0x52a)]);},ts)),(this['unitID']=_0x5a477d,this['_session']=_0x4485d3,this['_injector']=_0x53552b,this[_0x54c12e(0x564)]=_0xc9f861,this[_0x54c12e(0x4b6)]=_0x123065,this[_0x54c12e(0x4a5)]=_0xccf72f,this[_0x54c12e(0x3cd)]=_0x29b4b5,this[_0x54c12e(0x5d3)]=_0x54dc4d);}get[_0x3c9859(0x3fa)](){const _0x5d4aff=_0x3c9859;return this[_0x5d4aff(0x25c)][_0x5d4aff(0x3ed)]();}get[_0x3c9859(0x506)](){const _0x1ff4d1=_0x3c9859;return this['_roomMembers$'][_0x1ff4d1(0x3ed)]();}[_0x3c9859(0x20f)](){const _0x249426=_0x3c9859;super[_0x249426(0x20f)](),this[_0x249426(0x25c)]['next'](new Map()),this[_0x249426(0x25c)]['complete'](),this[_0x249426(0x529)][_0x249426(0x4a4)]([]),this[_0x249426(0x529)][_0x249426(0x319)]();}['init'](){const _0x3c32d2=_0x3c9859;this[_0x3c32d2(0x3b1)]||(this['_init']=!0x0,this[_0x3c32d2(0x60d)][_0x3c32d2(0x29c)]['pipe'](A[_0x3c32d2(0x2d1)](this[_0x3c32d2(0x376)]))['subscribe'](_0x31342b=>{const _0x29c3ab=_0x3c32d2;_0x31342b===se[_0x29c3ab(0x1cb)]?this[_0x29c3ab(0x2ee)]():this[_0x29c3ab(0x49e)]();}),this['_session'][_0x3c32d2(0x284)][_0x3c32d2(0x232)](A[_0x3c32d2(0x2d1)](this[_0x3c32d2(0x376)]))[_0x3c32d2(0x4c3)](_0x1ce43c=>{const _0x49b801=_0x3c32d2,_0x1809cd=_0x1ce43c[_0x49b801(0x227)];_0x1809cd===p[_0x49b801(0x4dc)]['UPDATE_CURSOR']&&this[_0x49b801(0x1dc)](_0x1ce43c),_0x1809cd===p['CollaborationEvent']['USERS_LEAVE']&&this[_0x49b801(0x30a)](_0x1ce43c);}),this[_0x3c32d2(0x341)](),this[_0x3c32d2(0x44a)](this[_0x3c32d2(0x3cd)][_0x3c32d2(0x626)](_0x2767b0=>{const _0x458aa0=_0x3c32d2;if(this[_0x458aa0(0x240)]&&_0x2767b0['id']===B[_0x458aa0(0x223)]['id']&&_0x2767b0[_0x458aa0(0x530)][_0x458aa0(0x1ea)]===this['unitID']){const _0x228298=_0x2767b0[_0x458aa0(0x530)];this[_0x458aa0(0x52d)](_0x228298[_0x458aa0(0x5d2)],_0x228298[_0x458aa0(0x4e3)][0x0]);}})));}[_0x3c9859(0x1dc)](_0x56f875){const _0x33d15c=_0x3c9859;var _0x343f79,_0xf8a27c;const {memberID:_0xdafe45,selection:_0x50f1df}=_0x56f875[_0x33d15c(0x650)],{sheetName:_0x4da5a0,range:_0xe5b194}=Pt[_0x33d15c(0x59b)](_0x50f1df),_0x2d5bc9={'name':(_0xf8a27c=(_0x343f79=this['_memberService']['getMember'](this[_0x33d15c(0x52a)],_0xdafe45))==null?void 0x0:_0x343f79[_0x33d15c(0x597)])!=null?_0xf8a27c:_0x33d15c(0x2ec),'range':this[_0x33d15c(0x37b)](_0x4da5a0,_0xe5b194),'sheetID':_0x4da5a0,'color':this[_0x33d15c(0x564)][_0x33d15c(0x21b)](_0xdafe45),'selection':_0x50f1df},_0x18ae2c=this[_0x33d15c(0x3fa)];_0x18ae2c['set'](_0xdafe45,_0x2d5bc9),this['_cursorInfo$']['next'](_0x18ae2c);}[_0x3c9859(0x30a)](_0x2a1fdc){const _0x3dc8f8=_0x3c9859,{memberID:_0x2767c6}=_0x2a1fdc[_0x3dc8f8(0x650)],_0x4fdb1d=this['cursorInfo'];_0x4fdb1d[_0x3dc8f8(0x4c4)](_0x2767c6),this[_0x3dc8f8(0x25c)][_0x3dc8f8(0x4a4)](_0x4fdb1d);}['_getMergeRange'](_0xfc080e,_0x20a0ab){const _0x39ff3e=_0x3c9859;var _0x515a40,_0x114843;const _0x32a70=(_0x114843=(_0x515a40=this['_univerInstanceService'][_0x39ff3e(0x3bc)](this[_0x39ff3e(0x52a)]))==null?void 0x0:_0x515a40[_0x39ff3e(0x486)](_0xfc080e))==null?void 0x0:_0x114843[_0x39ff3e(0x66f)]();return(_0x32a70==null?void 0x0:_0x32a70[_0x39ff3e(0x3e6)](_0x52882d=>a[_0x39ff3e(0x4bb)][_0x39ff3e(0x23e)](_0x52882d,_0x20a0ab)))||_0x20a0ab;}[_0x3c9859(0x341)](){const _0x582746=_0x3c9859,_0x405015=new a[(_0x582746(0x271))](),_0xc5620b=ns(),_0x2054c8=()=>{const _0x2bee1f=_0x582746;_0x405015[_0x2bee1f(0x20f)]();const _0x558a0b=(_0x28ba4e,_0x1d7c14,_0x4116a8,_0x1ec711)=>{const _0xae12de=_0x2bee1f;let _0x10a5d2=[];switch(_0x28ba4e['id']){case B[_0xae12de(0x380)]['DeleteRangeMoveLeftCommandId']:{_0x10a5d2=B['handleDeleteRangeMoveLeft'](_0x28ba4e,_0x1ec711);break;}case B['EffectRefRangId'][_0xae12de(0x265)]:{_0x10a5d2=B[_0xae12de(0x1f8)](_0x28ba4e,_0x1ec711);break;}case B[_0xae12de(0x380)][_0xae12de(0x1d7)]:{_0x10a5d2=B[_0xae12de(0x381)](_0x28ba4e,_0x1ec711);break;}case B[_0xae12de(0x380)][_0xae12de(0x3da)]:{_0x10a5d2=B[_0xae12de(0x590)](_0x28ba4e,_0x1ec711);break;}case B[_0xae12de(0x380)][_0xae12de(0x3b4)]:{_0x10a5d2=B['handleInsertRangeMoveRight'](_0x28ba4e,_0x1ec711);break;}case B[_0xae12de(0x380)][_0xae12de(0x469)]:{_0x10a5d2=B[_0xae12de(0x2e7)](_0x28ba4e,_0x1ec711);break;}case B[_0xae12de(0x380)]['MoveRangeCommandId']:{_0x10a5d2=B[_0xae12de(0x2b8)](_0x28ba4e,_0x1ec711);break;}case B[_0xae12de(0x380)]['RemoveColCommandId']:{_0x10a5d2=B[_0xae12de(0x622)](_0x28ba4e,_0x1ec711);break;}case B[_0xae12de(0x380)][_0xae12de(0x25a)]:{_0x10a5d2=B[_0xae12de(0x219)](_0x28ba4e,_0x1ec711);break;}}const _0x4bb4b9=B['runRefRangeMutations'](_0x10a5d2,_0x1ec711),_0x5c53db=this[_0xae12de(0x3fa)][_0xae12de(0x58c)](_0x1d7c14);if(_0x5c53db&&_0x4bb4b9){const _0x558d29={..._0x5c53db,'range':_0x4bb4b9};this['cursorInfo'][_0xae12de(0x61d)](_0x1d7c14,_0x558d29),_0xc5620b(()=>{const _0x3ed77e=_0xae12de,_0xd2636b=this[_0x3ed77e(0x5d3)]['registerRefRange'](_0x4bb4b9,_0x221f5b=>(_0xd2636b[_0x3ed77e(0x20f)](),_0x558a0b(_0x221f5b,_0x1d7c14,_0x4116a8,_0x4bb4b9)));_0x405015['add'](_0xd2636b);});}return{'redos':[],'undos':[]};};this[_0x2bee1f(0x3fa)][_0x2bee1f(0x4d1)]((_0x2b79f5,_0x36379)=>{const _0x3e78d1=_0x2bee1f,{range:_0x96e11f,sheetID:_0x22b0cf}=_0x2b79f5,_0x15745d=this['_refRangeService'][_0x3e78d1(0x5e3)](_0x96e11f,_0x5ed1f8=>(_0x15745d[_0x3e78d1(0x20f)](),_0x558a0b(_0x5ed1f8,_0x36379,_0x22b0cf,_0x96e11f)));_0x405015['add'](_0x15745d);});};this[_0x582746(0x44a)](a['toDisposable'](this[_0x582746(0x25c)][_0x582746(0x4c3)](()=>{_0x2054c8();})));}[_0x3c9859(0x2ee)](){const _0x21fd57=_0x3c9859;var _0xbd0480,_0x2c6552;if(this[_0x21fd57(0x240)]=!0x0,((_0xbd0480=this[_0x21fd57(0x4a5)][_0x21fd57(0x47b)]())==null?void 0x0:_0xbd0480[_0x21fd57(0x216)]())!==this[_0x21fd57(0x52a)])return;const _0x806ef1=(_0x2c6552=this[_0x21fd57(0x2fc)][_0x21fd57(0x58c)](B[_0x21fd57(0x346)])[_0x21fd57(0x235)]())==null?void 0x0:_0x2c6552[0x0],_0x241361=this['_univerInstanceService'][_0x21fd57(0x1dd)](a['UniverInstanceType'][_0x21fd57(0x1e9)])['getActiveSheet']();_0x806ef1&&_0x241361&&this[_0x21fd57(0x52d)](_0x241361['getSheetId'](),_0x806ef1);}[_0x3c9859(0x49e)](){const _0x14d83e=_0x3c9859;this[_0x14d83e(0x240)]=!0x1;}};pt=Qi([be(0x2,a[_0x3c9859(0x288)](a[_0x3c9859(0x218)])),be(0x3,a[_0x3c9859(0x288)](Ot)),be(0x4,a[_0x3c9859(0x288)](exports[_0x3c9859(0x60b)])),be(0x5,a[_0x3c9859(0x671)]),be(0x6,a[_0x3c9859(0x569)]),be(0x7,a[_0x3c9859(0x288)](B['RefRangeService']))],pt);var is=Object[_0x3c9859(0x2aa)],ss=Object[_0x3c9859(0x353)],rs=(_0x3c411a,_0x4c3ec6,_0x64c5c0,_0x2ac03c)=>{const _0x573a73=_0x3c9859;for(var _0x38c617=_0x2ac03c>0x1?void 0x0:_0x2ac03c?ss(_0x4c3ec6,_0x64c5c0):_0x4c3ec6,_0x46efd8=_0x3c411a[_0x573a73(0x3a7)]-0x1,_0x4f7e1e;_0x46efd8>=0x0;_0x46efd8--)(_0x4f7e1e=_0x3c411a[_0x46efd8])&&(_0x38c617=(_0x2ac03c?_0x4f7e1e(_0x4c3ec6,_0x64c5c0,_0x38c617):_0x4f7e1e(_0x38c617))||_0x38c617);return _0x2ac03c&&_0x38c617&&is(_0x4c3ec6,_0x64c5c0,_0x38c617),_0x38c617;},nt=(_0x581818,_0x6dfc35)=>(_0x1c92a3,_0x3c59f2)=>_0x6dfc35(_0x1c92a3,_0x3c59f2,_0x581818);let De=class extends a[_0x3c9859(0x344)]{constructor(_0x2d435a,_0x4e6712,_0x481d67){const _0x119a94=_0x3c9859;super(),I(this,_0x119a94(0x26a),new Map()),I(this,_0x119a94(0x45b),new A[(_0x119a94(0x2d8))]()),(this[_0x119a94(0x4a5)]=_0x2d435a,this[_0x119a94(0x2fc)]=_0x4e6712,this['_collabSessionService']=_0x481d67,this[_0x119a94(0x3b1)]());}[_0x3c9859(0x20f)](){const _0x5849db=_0x3c9859;super[_0x5849db(0x20f)](),this[_0x5849db(0x45b)]['complete'](),this[_0x5849db(0x26a)][_0x5849db(0x4d1)](_0x59d66d=>_0x59d66d['dispose']());}[_0x3c9859(0x4b5)](_0xa64202){const _0x28c81d=_0x3c9859;return this[_0x28c81d(0x26a)][_0x28c81d(0x636)](_0xa64202)?this['_entities'][_0x28c81d(0x58c)](_0xa64202)['cursorInfo$']:this['_entityInit$'][_0x28c81d(0x232)](A[_0x28c81d(0x46b)](_0x2251ba=>_0x2251ba[_0x28c81d(0x52a)]===_0xa64202),A['switchMap'](_0x25183b=>_0x25183b[_0x28c81d(0x3e4)]));}[_0x3c9859(0x3b1)](){const _0x4e4cae=_0x3c9859;this[_0x4e4cae(0x4a5)]['getTypeOfUnitAdded$'](a[_0x4e4cae(0x51d)]['UNIVER_SHEET'])[_0x4e4cae(0x232)](A[_0x4e4cae(0x2d1)](this[_0x4e4cae(0x376)]))[_0x4e4cae(0x4c3)](async _0x8454e2=>{const _0x108cae=_0x4e4cae,_0x4eefc1=_0x8454e2['getUnitId'](),_0x272395=await this['_startSheetCollabCursor'](_0x4eefc1);this[_0x108cae(0x45b)][_0x108cae(0x4a4)](_0x272395),this['_entities'][_0x108cae(0x61d)](_0x4eefc1,_0x272395);}),this[_0x4e4cae(0x4a5)][_0x4e4cae(0x21d)](a[_0x4e4cae(0x51d)]['UNIVER_DOC'])[_0x4e4cae(0x232)](A[_0x4e4cae(0x2d1)](this[_0x4e4cae(0x376)]))[_0x4e4cae(0x232)](A[_0x4e4cae(0x46b)](_0x8d4b7a=>!_0x8d4b7a[_0x4e4cae(0x216)]()['startsWith']('__')))['subscribe'](async _0x55bbac=>{const _0x449ba7=_0x4e4cae,_0x517804=_0x55bbac['getUnitId'](),_0x336359=await this[_0x449ba7(0x49f)](_0x517804);this[_0x449ba7(0x45b)][_0x449ba7(0x4a4)](_0x336359),this[_0x449ba7(0x26a)]['set'](_0x517804,_0x336359);}),A[_0x4e4cae(0x3bf)](this[_0x4e4cae(0x4a5)][_0x4e4cae(0x503)](a['UniverInstanceType']['UNIVER_DOC']),this[_0x4e4cae(0x4a5)][_0x4e4cae(0x503)](a[_0x4e4cae(0x51d)][_0x4e4cae(0x1e9)]))[_0x4e4cae(0x232)](A['takeUntil'](this['dispose$']))['subscribe'](_0x5db74f=>{const _0xc6372b=_0x4e4cae,_0x54ff59=_0x5db74f[_0xc6372b(0x216)](),_0x567f4b=this[_0xc6372b(0x26a)][_0xc6372b(0x58c)](_0x54ff59);_0x567f4b&&(_0x567f4b[_0xc6372b(0x20f)](),this[_0xc6372b(0x26a)][_0xc6372b(0x4c4)](_0x54ff59));});}async[_0x3c9859(0x1e8)](_0x2df4e9){const _0x43010f=_0x3c9859,_0x19217f=await this[_0x43010f(0x2c0)][_0x43010f(0x2c4)](_0x2df4e9),_0x19e255=this[_0x43010f(0x2fc)][_0x43010f(0x2cf)](pt,_0x2df4e9,_0x19217f);return _0x19e255['init'](),_0x19e255;}async[_0x3c9859(0x49f)](_0x385aae){const _0x4578e8=_0x3c9859,_0x613431=await this[_0x4578e8(0x2c0)][_0x4578e8(0x2c4)](_0x385aae),_0x35ae6f=this[_0x4578e8(0x2fc)]['createInstance'](St,_0x385aae,_0x613431);return _0x35ae6f[_0x4578e8(0x4c6)](),_0x35ae6f;}};De=rs([nt(0x0,a[_0x3c9859(0x671)]),nt(0x1,a['Inject'](a[_0x3c9859(0x218)])),nt(0x2,a[_0x3c9859(0x288)](exports[_0x3c9859(0x5bf)]))],De);const Le=0x14,Ht=0xc8,it=0x4,os=0x5;function as(_0x4d807d,_0x434cd1){const _0x44ea77=_0x3c9859;let {radius:_0x3d9d98,width:_0x2da47d,height:_0x181b9d}=_0x434cd1;_0x3d9d98=_0x3d9d98!=null?_0x3d9d98:0x0,_0x2da47d=_0x2da47d!=null?_0x2da47d:0x1e,_0x181b9d=_0x181b9d!=null?_0x181b9d:0x1e;let _0x53b637=0x0,_0x4731e9=0x0,_0x197a80=0x0;_0x53b637=_0x4731e9=_0x197a80=Math[_0x44ea77(0x602)](_0x3d9d98,_0x2da47d/0x2,_0x181b9d/0x2),_0x4d807d['beginPath'](),_0x4d807d['moveTo'](_0x53b637,0x0),_0x4d807d[_0x44ea77(0x26c)](_0x2da47d-_0x4731e9,0x0),_0x4d807d[_0x44ea77(0x5b5)](_0x2da47d-_0x4731e9,_0x4731e9,_0x4731e9,Math['PI']*0x3/0x2,0x0,!0x1),_0x4d807d['lineTo'](_0x2da47d,_0x181b9d-_0x197a80),_0x4d807d['arc'](_0x2da47d-_0x197a80,_0x181b9d-_0x197a80,_0x197a80,0x0,Math['PI']/0x2,!0x1),_0x4d807d[_0x44ea77(0x26c)](0x0,_0x181b9d),_0x4d807d['lineTo'](0x0,_0x53b637),_0x4d807d[_0x44ea77(0x5b5)](_0x53b637,_0x53b637,_0x53b637,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4d807d[_0x44ea77(0x4a9)](),_0x434cd1[_0x44ea77(0x578)]&&(_0x4d807d[_0x44ea77(0x424)](),_0x4d807d[_0x44ea77(0x56c)]=_0x434cd1[_0x44ea77(0x578)],_0x434cd1[_0x44ea77(0x417)]===_0x44ea77(0x5e5)?_0x4d807d['fill'](_0x44ea77(0x5e5)):_0x4d807d['fill'](),_0x4d807d[_0x44ea77(0x669)]());}class ze extends K[_0x3c9859(0x53d)]{constructor(_0x913caa,_0x4ff12d){const _0x301b3d=_0x3c9859;super(_0x913caa,_0x4ff12d),I(this,_0x301b3d(0x49d)),I(this,_0x301b3d(0x5d5)),(this[_0x301b3d(0x49d)]=_0x4ff12d==null?void 0x0:_0x4ff12d[_0x301b3d(0x49d)],this[_0x301b3d(0x5d5)]=_0x4ff12d==null?void 0x0:_0x4ff12d['text']);}static[_0x3c9859(0x522)](_0x43c8d4,_0x486082){const _0x45d35b=_0x3c9859,{text:_0x127056,color:_0x1d6985}=_0x486082;_0x43c8d4[_0x45d35b(0x424)](),_0x43c8d4['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1ef57f=_0x43c8d4[_0x45d35b(0x649)](_0x127056)[_0x45d35b(0x5a6)],_0x220713=Math['min'](_0x1ef57f+0x2*it,Ht);as(_0x43c8d4,{'height':Le,'radius':0x4,'width':_0x220713,'fill':_0x1d6985,'evented':!0x1}),_0x43c8d4[_0x45d35b(0x56c)]=_0x45d35b(0x1d2);const _0x3b414e=it,_0x116c70=Le-os,_0x13acab=Ht-0x2*it;if(_0x1ef57f>_0x13acab){let _0x55268b='',_0x49ced8=0x0;for(const _0x520861 of _0x127056){const _0x9ef83b=_0x43c8d4[_0x45d35b(0x649)](_0x520861)['width'];if(_0x49ced8+_0x9ef83b<=_0x13acab-_0x43c8d4[_0x45d35b(0x649)](_0x45d35b(0x395))[_0x45d35b(0x5a6)])_0x55268b+=_0x520861,_0x49ced8+=_0x9ef83b;else{_0x55268b+='...';break;}}_0x43c8d4[_0x45d35b(0x322)](_0x55268b,_0x3b414e,_0x116c70);}else _0x43c8d4[_0x45d35b(0x322)](_0x127056,_0x3b414e,_0x116c70);_0x43c8d4[_0x45d35b(0x669)]();}[_0x3c9859(0x4b0)](_0x2dc03e){const _0x229952=_0x3c9859;ze[_0x229952(0x522)](_0x2dc03e,this);}}const st=_0x3c9859(0x438),cs=_0x3c9859(0x462),ls='collab-rect-range-',Ue=0x6,hs=1.5,rt=0x4,_s=1.5,us=_0x3c9859(0x3a3);class kt{constructor(_0x2c7d93,_0x5d0d12,_0x29184e,_0x4cec4c){const _0x570ce8=_0x3c9859;I(this,_0x570ce8(0x2a8),[]),I(this,'_anchor',null),I(this,_0x570ce8(0x1ec),null),I(this,_0x570ce8(0x300),null),I(this,'_hideTimer',null),I(this,_0x570ce8(0x30f),null),(this[_0x570ce8(0x4c9)]=_0x2c7d93,this['_scene']=_0x5d0d12,this[_0x570ce8(0x35e)]=_0x29184e,this[_0x570ce8(0x515)]=_0x4cec4c,this['_render']());}set[_0x3c9859(0x586)](_0x551ffd){const _0x47c11b=_0x3c9859;_0x551ffd?(this[_0x47c11b(0x300)]&&this['_anchorDot'][_0x47c11b(0x3b0)](),this[_0x47c11b(0x1ec)]&&this[_0x47c11b(0x1ec)][_0x47c11b(0x38c)]()):(this[_0x47c11b(0x300)]&&this[_0x47c11b(0x300)]['show'](),this[_0x47c11b(0x1ec)]&&this['_textBubble'][_0x47c11b(0x3b0)]());}[_0x3c9859(0x20f)](){const _0xc53f0f=_0x3c9859;for(const _0x134d54 of this[_0xc53f0f(0x2a8)])_0x134d54[_0xc53f0f(0x20f)]();this[_0xc53f0f(0x1ec)]&&this[_0xc53f0f(0x1ec)]['dispose'](),this[_0xc53f0f(0x300)]&&this[_0xc53f0f(0x300)][_0xc53f0f(0x20f)](),this[_0xc53f0f(0x562)]&&this[_0xc53f0f(0x562)][_0xc53f0f(0x20f)](),this[_0xc53f0f(0x30f)]&&this[_0xc53f0f(0x30f)]();}['_render'](){const _0x3bdcff=_0x3c9859;var _0x338b7a;const {_docSkeleton:_0x3ba0bf,_document:_0x18e059}=this,{color:_0x4feb15,name:_0x5a086c,ranges:_0x74acb8}=this['_cursor'],_0x12b6af=_0x18e059['getOffsetConfig'](),{docsLeft:_0x32e4e4,docsTop:_0x2dcbeb}=_0x12b6af,_0x13b155=new Z[(_0x3bdcff(0x4ae))](_0x12b6af,_0x3ba0bf);for(const {startOffset:_0x95917f,endOffset:_0x4db154,rangeType:_0x4b087b,segmentId:_0x307a9d,segmentPage:_0x403db0,collapsed:_0x2fe951,isActive:_0x48d78a}of _0x74acb8){const _0x1208a9=_0x3ba0bf['findNodePositionByCharIndex'](_0x95917f,!0x0,_0x307a9d,_0x403db0);let _0x4bebec=_0x3ba0bf[_0x3bdcff(0x41d)](_0x4db154,!0x0,_0x307a9d,_0x403db0);if(_0x4bebec==null&&(_0x4bebec=_0x3ba0bf['findNodePositionByCharIndex'](_0x4db154-0x1,!0x1,_0x307a9d,_0x403db0)),_0x48d78a){const {contentBoxPointGroup:_0x7512b2}=_0x13b155[_0x3bdcff(0x292)](_0x4bebec,_0x4bebec);if(_0x7512b2[_0x3bdcff(0x3a7)]===0x0)continue;this[_0x3bdcff(0x21f)](_0x4feb15,_0x7512b2,_0x32e4e4,_0x2dcbeb,_0x5a086c),this[_0x3bdcff(0x30f)]=this[_0x3bdcff(0x33d)]();}if(_0x1208a9&&_0x4bebec){if(_0x4b087b===a[_0x3bdcff(0x2f4)][_0x3bdcff(0x280)]){const _0x506c95=new Z[(_0x3bdcff(0x247))](_0x12b6af,_0x3ba0bf),{pointGroup:_0x19b3ef}=(_0x338b7a=_0x506c95['getRangePointData'](_0x1208a9,_0x4bebec))!=null?_0x338b7a:{};if(_0x19b3ef==null||_0x19b3ef[_0x3bdcff(0x3a7)]===0x0)continue;this[_0x3bdcff(0x37a)](_0x4feb15,_0x19b3ef,_0x32e4e4,_0x2dcbeb);}else{if(!_0x2fe951){const {borderBoxPointGroup:_0x5562e8}=_0x13b155[_0x3bdcff(0x292)](_0x1208a9,_0x4bebec);if(_0x5562e8[_0x3bdcff(0x3a7)]===0x0)continue;this[_0x3bdcff(0x5e1)](_0x4feb15,_0x5562e8,_0x32e4e4,_0x2dcbeb);}}}}}[_0x3c9859(0x21f)](_0x2a6e40,_0x570f40,_0x29e57a,_0x32d29b,_0x3c4f00){const _0x56f6eb=_0x3c9859,_0xb7764b=this[_0x56f6eb(0x360)](_0x570f40),{left:_0x18afb3,top:_0x55356c,height:_0x5564bf}=_0xb7764b,_0xf7db32=this[_0x56f6eb(0x43e)](),_0x59dbe3=_s/_0xf7db32,_0x2fc874=new K[(_0x56f6eb(0x39f))](st+a[_0x56f6eb(0x357)][_0x56f6eb(0x2a2)](Ue),{'left':_0x18afb3+_0x29e57a-_0x59dbe3,'top':_0x55356c+_0x32d29b,'height':_0x5564bf,'width':hs,'fill':_0x2a6e40||K['getColor'](a[_0x56f6eb(0x326)][_0x56f6eb(0x2d7)],0x0),'strokeWidth':_0x59dbe3,'stroke':us,'evented':!0x0});this[_0x56f6eb(0x562)]=_0x2fc874,this['_scene'][_0x56f6eb(0x1cd)](_0x2fc874,Z[_0x56f6eb(0x40b)]);const _0x42642e=new K[(_0x56f6eb(0x39f))](st+a[_0x56f6eb(0x357)]['generateRandomId'](Ue),{'left':_0x18afb3+_0x29e57a-_0x59dbe3,'top':_0x55356c+_0x32d29b-rt/0x2,'height':rt,'width':rt,'fill':_0x2a6e40||K['getColor'](a[_0x56f6eb(0x326)][_0x56f6eb(0x2d7)],0x0),'strokeWidth':0x0,'stroke':_0x2a6e40||K[_0x56f6eb(0x2d0)](a[_0x56f6eb(0x326)][_0x56f6eb(0x2d7)],0x0),'evented':!0x1});this[_0x56f6eb(0x300)]=_0x42642e,this[_0x56f6eb(0x5b0)][_0x56f6eb(0x1cd)](_0x42642e,Z[_0x56f6eb(0x40b)]);const _0x9343c5=new ze(st+a[_0x56f6eb(0x357)][_0x56f6eb(0x2a2)](Ue),{'left':_0x18afb3+_0x29e57a-_0x59dbe3,'top':_0x55356c+_0x32d29b-Le,'text':_0x3c4f00,'color':_0x2a6e40});this[_0x56f6eb(0x1ec)]=_0x9343c5,this[_0x56f6eb(0x5b0)]['addObject'](_0x9343c5,Z[_0x56f6eb(0x40b)]),this[_0x56f6eb(0x586)]=!0x1;}['_handleHover'](){const _0x246473=_0x3c9859,_0x768d6e=this['_anchor'][_0x246473(0x36f)][_0x246473(0x53e)](()=>{const _0x5d5763=_0x246473;this[_0x5d5763(0x586)]=!0x0;}),_0x1a815b=this[_0x246473(0x562)][_0x246473(0x54f)][_0x246473(0x53e)](()=>{const _0x5b5ac7=_0x246473;this[_0x5b5ac7(0x28b)]&&clearTimeout(this[_0x5b5ac7(0x28b)]),this[_0x5b5ac7(0x28b)]=setTimeout(()=>{const _0x411ade=_0x5b5ac7;this[_0x411ade(0x586)]=!0x1;},0x7d0);});return()=>{const _0x3604b7=_0x246473;_0x768d6e['unsubscribe'](),_0x1a815b[_0x3604b7(0x5f2)]();};}[_0x3c9859(0x5e1)](_0x20bc1,_0x4eb9b5,_0x1363b8,_0x5acc76){const _0x27aa7f=_0x3c9859,_0x59c754=new a[(_0x27aa7f(0x4d7))](_0x20bc1)[_0x27aa7f(0x1ce)](0.2)[_0x27aa7f(0x3c3)](),_0x1888b5=new K['RegularPolygon'](cs+a[_0x27aa7f(0x357)]['generateRandomId'](Ue),{'pointsGroup':_0x4eb9b5,'fill':_0x59c754||K['getColor'](a[_0x27aa7f(0x326)][_0x27aa7f(0x2d7)],0.2),'left':_0x1363b8,'top':_0x5acc76,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x27aa7f(0x331)](_0x1888b5),this[_0x27aa7f(0x5b0)][_0x27aa7f(0x1cd)](_0x1888b5,Z[_0x27aa7f(0x40b)]);}[_0x3c9859(0x37a)](_0x39c34d,_0x369cbd,_0x373df1,_0x2fe45d){const _0x905eac=_0x3c9859,_0x387302=new a[(_0x905eac(0x4d7))](_0x39c34d)[_0x905eac(0x1ce)](0.2)[_0x905eac(0x3c3)](),_0xda1dec=new K[(_0x905eac(0x477))](ls+a[_0x905eac(0x357)]['generateRandomId'](Ue),{'pointsGroup':_0x369cbd,'fill':_0x387302||K[_0x905eac(0x2d0)](a[_0x905eac(0x326)]['black'],0.2),'left':_0x373df1,'top':_0x2fe45d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x905eac(0x2a8)][_0x905eac(0x331)](_0xda1dec),this[_0x905eac(0x5b0)][_0x905eac(0x1cd)](_0xda1dec,Z[_0x905eac(0x40b)]);}['_getAnchorBounding'](_0x2c1ae9){const _0x90aabc=_0x2c1ae9[0x0],_0x4763e7=_0x90aabc[0x0],_0xa18223=_0x90aabc[0x2],{x:_0x555a7e,y:_0x2b5c75}=_0x4763e7,{x:_0x1f1b9e,y:_0x75dcfb}=_0xa18223;return{'left':_0x555a7e,'top':_0x2b5c75,'width':_0x1f1b9e-_0x555a7e,'height':_0x75dcfb-_0x2b5c75};}['_getScale'](){const _0x4b8c02=_0x3c9859,{scaleX:_0x500041,scaleY:_0x4966e1}=this[_0x4b8c02(0x5b0)][_0x4b8c02(0x57a)]();return Math[_0x4b8c02(0x524)](_0x500041,_0x4966e1);}}var ds=Object[_0x3c9859(0x2aa)],fs=Object[_0x3c9859(0x353)],vs=(_0x12724a,_0x15301f,_0x3b1eb5,_0x4be760)=>{const _0x335791=_0x3c9859;for(var _0x174b7b=_0x4be760>0x1?void 0x0:_0x4be760?fs(_0x15301f,_0x3b1eb5):_0x15301f,_0x52da37=_0x12724a[_0x335791(0x3a7)]-0x1,_0x4e84d3;_0x52da37>=0x0;_0x52da37--)(_0x4e84d3=_0x12724a[_0x52da37])&&(_0x174b7b=(_0x4be760?_0x4e84d3(_0x15301f,_0x3b1eb5,_0x174b7b):_0x4e84d3(_0x174b7b))||_0x174b7b);return _0x4be760&&_0x174b7b&&ds(_0x15301f,_0x3b1eb5,_0x174b7b),_0x174b7b;},je=(_0x40f17b,_0x2ceccb)=>(_0x443386,_0x74dc37)=>_0x2ceccb(_0x443386,_0x74dc37,_0x40f17b);let mt=class extends a[_0x3c9859(0x344)]{constructor(_0x10dd5a,_0xb90f78,_0x4c0cf6,_0x44ba7a,_0x54c8b1){const _0x24cc82=_0x3c9859;super(),I(this,_0x24cc82(0x53f),[]),I(this,'_cursors',[]),(this[_0x24cc82(0x580)]=_0x10dd5a,this[_0x24cc82(0x29d)]=_0xb90f78,this['_collabCursorController']=_0x4c0cf6,this['_commandService']=_0x44ba7a,this[_0x24cc82(0x497)]=_0x54c8b1,this['_init']());}[_0x3c9859(0x3b1)](){const _0x386954=_0x3c9859,_0x110365=this[_0x386954(0x580)][_0x386954(0x1ea)],_0x27057a=this[_0x386954(0x29d)];this[_0x386954(0x44a)](A['combineLatest']([this['_collabCursorController'][_0x386954(0x4b5)](_0x110365),this[_0x386954(0x497)][_0x386954(0x2fd)]])[_0x386954(0x232)](V[_0x386954(0x2c6)](([_0x17fd8d,_0x296ce1])=>({'skeleton':_0x27057a[_0x386954(0x659)](),'cursors':[..._0x17fd8d[_0x386954(0x3a2)]()][_0x386954(0x501)](_0x31ce90=>({..._0x31ce90,'color':_0x296ce1[_0x31ce90[_0x386954(0x49d)]]}))})))[_0x386954(0x4c3)](_0x296967=>{const _0x6c4956=_0x386954;if(this[_0x6c4956(0x3bb)](),_0x296967){const {skeleton:_0xf64c4c,cursors:_0x3ede51}=_0x296967;this['_updateCollabCursors'](_0xf64c4c,_0x3ede51);}})),this[_0x386954(0x3ec)](),this['_initCommandExecutedListener']();}[_0x3c9859(0x599)](_0x1d8c60,_0x5fe223){const _0x86ba22=_0x3c9859,{scene:_0x30f3e4,mainComponent:_0x39b1bd}=this[_0x86ba22(0x580)],_0x152e2f=_0x5fe223['map'](_0x5e996e=>new kt(_0x5e996e,_0x30f3e4,_0x1d8c60,_0x39b1bd));this[_0x86ba22(0x53f)]=_0x152e2f,this[_0x86ba22(0x4d2)]=_0x5fe223;}['_refreshCollabCursors'](){const _0xbd4b10=_0x3c9859;this[_0xbd4b10(0x3bb)]();const {scene:_0x1f1d21,mainComponent:_0x258cc8}=this['_context'],_0x452c65=this[_0xbd4b10(0x29d)][_0xbd4b10(0x659)](),_0xd98394=this['_cursors'][_0xbd4b10(0x2c6)](_0x297d01=>new kt(_0x297d01,_0x1f1d21,_0x452c65,_0x258cc8));this[_0xbd4b10(0x53f)]=_0xd98394;}[_0x3c9859(0x3bb)](){const _0x5cce6c=_0x3c9859;this[_0x5cce6c(0x53f)][_0x5cce6c(0x4d1)](_0x10d284=>_0x10d284[_0x5cce6c(0x20f)]()),this['_cursorShapes']=[];}[_0x3c9859(0x479)](){const _0x591cc0=_0x3c9859,_0x28edc1=[Z['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x591cc0(0x3cd)][_0x591cc0(0x626)](_0x5abb53=>{const _0x1623f8=_0x591cc0;_0x28edc1[_0x1623f8(0x372)](_0x5abb53['id'])&&_0x5abb53[_0x1623f8(0x530)][_0x1623f8(0x1ea)]===this[_0x1623f8(0x580)][_0x1623f8(0x1ea)]&&this[_0x1623f8(0x32b)]();}));}['_initResize'](){const _0x2c2878=_0x3c9859;this[_0x2c2878(0x44a)](a[_0x2c2878(0x533)](this[_0x2c2878(0x580)]['engine']['onTransformChange$'])['pipe'](V[_0x2c2878(0x46b)](_0x2e80a8=>_0x2e80a8[_0x2c2878(0x52b)]===K[_0x2c2878(0x647)][_0x2c2878(0x209)]),V[_0x2c2878(0x3be)](0x10))['subscribe'](()=>{const _0x46d628=_0x2c2878;this[_0x46d628(0x32b)]();}));}};mt=vs([je(0x1,a[_0x3c9859(0x288)](ye[_0x3c9859(0x48f)])),je(0x2,a[_0x3c9859(0x288)](De)),je(0x3,a['ICommandService']),je(0x4,a[_0x3c9859(0x288)](a[_0x3c9859(0x1fa)]))],mt);const Ss=0x1,ps=1.5;class pn extends K['Shape']{constructor(_0x38f5f0,_0x2bc088){const _0x5e7f25=_0x3c9859;super(_0x38f5f0,_0x2bc088),I(this,_0x5e7f25(0x5f1)),I(this,'_hovered',!0x1),I(this,_0x5e7f25(0x558)),I(this,_0x5e7f25(0x5b8),''),I(this,_0x5e7f25(0x60f),_0x5e7f25(0x3d2)),I(this,_0x5e7f25(0x648)),(_0x2bc088&&this[_0x5e7f25(0x662)](_0x2bc088),this[_0x5e7f25(0x36f)][_0x5e7f25(0x53e)](()=>this[_0x5e7f25(0x662)]({'hovered':!0x0})),this[_0x5e7f25(0x54f)][_0x5e7f25(0x53e)](()=>this[_0x5e7f25(0x662)]({'hovered':!0x1})));}[_0x3c9859(0x662)](_0x1aaacb){const _0x582434=_0x3c9859;var _0x23e2d0,_0x516820,_0x106af6,_0x1864d3,_0x3e69c8,_0x57d0fb;this['_color']=(_0x23e2d0=_0x1aaacb[_0x582434(0x49d)])!=null?_0x23e2d0:this[_0x582434(0x5f1)],this[_0x582434(0x339)]=(_0x516820=_0x1aaacb[_0x582434(0x565)])!=null?_0x516820:this[_0x582434(0x339)],this[_0x582434(0x558)]=(_0x106af6=_0x1aaacb[_0x582434(0x42d)])!=null?_0x106af6:this[_0x582434(0x558)],this['_name']=(_0x1864d3=_0x1aaacb['name'])!=null?_0x1864d3:this[_0x582434(0x5b8)],this[_0x582434(0x60f)]=(_0x3e69c8=_0x1aaacb[_0x582434(0x20c)])!=null?_0x3e69c8:this['_labelPosition'],this[_0x582434(0x648)]=(_0x57d0fb=_0x1aaacb[_0x582434(0x59e)])!=null?_0x57d0fb:this[_0x582434(0x648)],this['transformByState']({'width':_0x1aaacb[_0x582434(0x5a6)],'height':_0x1aaacb[_0x582434(0x514)]});}['onMouseMove'](_0x507f68){const _0x31ebe5=_0x3c9859,{row:_0x371749,column:_0x62a2fe}=_0x507f68;if(_0x371749>=this[_0x31ebe5(0x558)]['startRow']&&_0x371749<=this['_range'][_0x31ebe5(0x4fa)]&&_0x62a2fe>=this[_0x31ebe5(0x558)][_0x31ebe5(0x55f)]&&_0x62a2fe<=this['_range'][_0x31ebe5(0x450)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x31ebe5(0x662)]({'hovered':!0x1});}[_0x3c9859(0x5ae)](_0x24d12d){return!0x1;}['_draw'](_0xc742ca){const _0x4940da=_0x3c9859;K[_0x4940da(0x39f)][_0x4940da(0x522)](_0xc742ca,{'width':this[_0x4940da(0x5a6)],'height':this['height'],'strokeWidth':ps,'stroke':this[_0x4940da(0x5f1)],'evented':!0x1,'fill':this[_0x4940da(0x648)]}),this['_hovered']&&(_0xc742ca['save'](),_0xc742ca[_0x4940da(0x2ed)](0x1,0x0,0x0,0x1,this[_0x4940da(0x5a6)],this[_0x4940da(0x60f)]===_0x4940da(0x639)?0x0:-Le),ze[_0x4940da(0x522)](_0xc742ca,{'text':this['_name'],'color':this['_color']}),_0xc742ca[_0x4940da(0x669)]());}}var ms=Object['defineProperty'],gs=Object[_0x3c9859(0x353)],Is=(_0x1d767f,_0x5f1543,_0x33c469,_0x2aeba9)=>{const _0x23164b=_0x3c9859;for(var _0x213367=_0x2aeba9>0x1?void 0x0:_0x2aeba9?gs(_0x5f1543,_0x33c469):_0x5f1543,_0x16db3b=_0x1d767f[_0x23164b(0x3a7)]-0x1,_0x9806f9;_0x16db3b>=0x0;_0x16db3b--)(_0x9806f9=_0x1d767f[_0x16db3b])&&(_0x213367=(_0x2aeba9?_0x9806f9(_0x5f1543,_0x33c469,_0x213367):_0x9806f9(_0x213367))||_0x213367);return _0x2aeba9&&_0x213367&&ms(_0x5f1543,_0x33c469,_0x213367),_0x213367;},ot=(_0x106021,_0x4eb492)=>(_0x26e6b7,_0x3cdb11)=>_0x4eb492(_0x26e6b7,_0x3cdb11,_0x106021);function _0x1e8f(_0x3d96d9,_0x5b1013){const _0x1e19e2=_0x1e19();return _0x1e8f=function(_0x1e8faa,_0x9af5c4){_0x1e8faa=_0x1e8faa-0x1bf;let _0x5789dd=_0x1e19e2[_0x1e8faa];return _0x5789dd;},_0x1e8f(_0x3d96d9,_0x5b1013);}const Cs=0x1389;let gt=class extends a[_0x3c9859(0x344)]{constructor(_0x36fac2,_0x3f72d3,_0x583899,_0xa8de46){const _0x3d84ac=_0x3c9859;super(),I(this,'_cursors',new Set()),I(this,'_lastPointer',null),(this['_context']=_0x36fac2,this[_0x3d84ac(0x2df)]=_0x3f72d3,this[_0x3d84ac(0x449)]=_0x583899,this['_themeService']=_0xa8de46,this[_0x3d84ac(0x3b1)]());}[_0x3c9859(0x3b1)](){const _0x14716f=_0x3c9859;this[_0x14716f(0x2df)][_0x14716f(0x229)][_0x14716f(0x232)](V[_0x14716f(0x2d1)](this[_0x14716f(0x376)]),V[_0x14716f(0x47f)](_0x1b1b75=>{const _0x1ef369=_0x14716f;if(_0x1b1b75){const _0xd3f02c=_0x1b1b75[_0x1ef369(0x5f8)];return A[_0x1ef369(0x60c)](this['_collabCursorController'][_0x1ef369(0x4b5)](this[_0x1ef369(0x580)][_0x1ef369(0x1ea)]),this[_0x1ef369(0x497)][_0x1ef369(0x2fd)])['pipe'](V[_0x1ef369(0x2c6)](([_0x183d35,_0x2d37f1])=>{const _0x21917b=_0x1ef369,_0x4ec6c6=new Map();return _0x183d35[_0x21917b(0x4d1)]((_0x20d947,_0x53b53a)=>{const _0x54a116=_0x21917b;if(_0x20d947[_0x54a116(0x402)]===_0xd3f02c){const _0x1ae5cf={..._0x20d947};_0x1ae5cf[_0x54a116(0x49d)]=_0x2d37f1[_0x20d947[_0x54a116(0x49d)]],_0x4ec6c6[_0x54a116(0x61d)](_0x53b53a,_0x1ae5cf);}}),{'skeleton':_0x1b1b75,'cursors':_0x4ec6c6};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1e3730,cursors:_0x4460ee})=>{const _0x4c9313=_0x14716f;this[_0x4c9313(0x3bb)](),_0x1e3730&&this['_updateCollabCursors'](_0x1e3730,_0x4460ee);}),this[_0x14716f(0x2df)][_0x14716f(0x229)][_0x14716f(0x4c3)](_0x459322=>{const _0x330e2e=_0x14716f;if(_0x459322==null)return;const {skeleton:_0x152ef5}=_0x459322,{scene:_0x1f4942}=this[_0x330e2e(0x580)];_0x1f4942[_0x330e2e(0x3ac)][_0x330e2e(0x53e)](a[_0x330e2e(0x420)](_0x4e47f6=>{const _0x13d88d=_0x330e2e;var _0x2649cc,_0x2de42d;const {offsetX:_0x1c6feb,offsetY:_0x10e696}=_0x4e47f6,{x:_0x30fecf,y:_0x549b75}=_0x1f4942[_0x13d88d(0x321)](K['Vector2'][_0x13d88d(0x44d)]([_0x1c6feb,_0x10e696])),{scaleX:_0x1959e6,scaleY:_0x4dc581}=_0x1f4942[_0x13d88d(0x57a)](),_0x4427b7=_0x1f4942[_0x13d88d(0x457)](Re['VIEWPORT_KEY']['VIEW_MAIN']),_0x2af0e8=_0x1f4942[_0x13d88d(0x663)](K[_0x13d88d(0x4f6)][_0x13d88d(0x44d)]([_0x30fecf,_0x549b75]),_0x4427b7),_0x38f851=_0x152ef5[_0x13d88d(0x3aa)](_0x1c6feb,_0x10e696,_0x1959e6,_0x4dc581,_0x2af0e8);((_0x2649cc=this[_0x13d88d(0x61e)])==null?void 0x0:_0x2649cc[_0x13d88d(0x54a)])===_0x38f851[_0x13d88d(0x54a)]&&((_0x2de42d=this[_0x13d88d(0x61e)])==null?void 0x0:_0x2de42d['row'])===_0x38f851[_0x13d88d(0x654)]||this[_0x13d88d(0x4d2)][_0x13d88d(0x4d1)](_0x52c3ba=>{const _0x471c4d=_0x13d88d;_0x52c3ba[_0x471c4d(0x38f)](_0x38f851);});},0x64));});}[_0x3c9859(0x599)](_0x382fb9,_0x776b17){const _0x3eb112=_0x3c9859;var _0x1f8f1e;const _0x3f0c22=(_0x1f8f1e=this[_0x3eb112(0x2df)]['getCurrent']())==null?void 0x0:_0x1f8f1e['skeleton'];if(!_0x3f0c22)return;const _0x27f3e9=this[_0x3eb112(0x3f9)]();if(!_0x27f3e9)return;this['_cursors'][_0x3eb112(0x4d1)](_0x4893c8=>{const _0x2249c4=_0x3eb112;_0x4893c8[_0x2249c4(0x250)]();});const {scene:_0x3acf19}=_0x27f3e9,_0x4be307=Es(Array[_0x3eb112(0x5b6)](_0x776b17[_0x3eb112(0x3a2)]()))[_0x3eb112(0x2c6)](_0x4fa31e=>{const _0x1b4968=_0x3eb112,{color:_0x52f0ba,range:_0x400429,name:_0x250750,selection:_0x6871af,sheetID:_0x317176}=_0x4fa31e,{startColumn:_0x477e69,startRow:_0x15176e,endColumn:_0x52d32c,endRow:_0x1791d5}=_0x400429,_0x1d9ebe=Re[_0x1b4968(0x412)](_0x15176e,_0x477e69,_0x3acf19,_0x3f0c22),_0x3fabe1=Re[_0x1b4968(0x412)](_0x1791d5,_0x52d32c,_0x3acf19,_0x3f0c22),{columnHeaderHeightAndMarginTop:_0x40fa92}=_0x3f0c22,{startX:_0x44a90b,startY:_0x26bf38}=_0x1d9ebe,{endX:_0x5b10ae,endY:_0x53dec4}=_0x3fabe1,_0x254932=_0x5b10ae-_0x44a90b,_0x1aa2f3=_0x53dec4-_0x26bf38,_0xcd93f5={'labelPosition':_0x26bf38-_0x40fa92>=Le?_0x1b4968(0x3d2):_0x1b4968(0x639),'sheetID':_0x317176,'range':_0x400429,'color':_0x52f0ba,'name':_0x250750,'selection':_0x6871af,'left':_0x44a90b,'top':_0x26bf38,'width':_0x254932,'height':_0x1aa2f3,'evented':!0x1,'zIndex':Cs};return new pn(_0x250750,_0xcd93f5);});_0x3acf19['addObjects'](_0x4be307,Ss),this['_cursors']=new Set(_0x4be307);}[_0x3c9859(0x3bb)](){const _0x5124e7=_0x3c9859;var _0x4283e9;(_0x4283e9=this[_0x5124e7(0x4d2)])==null||_0x4283e9['forEach'](_0x523167=>_0x523167['dispose']());}[_0x3c9859(0x3f9)](){const _0x5db96a=_0x3c9859;return Re[_0x5db96a(0x62f)](this[_0x5db96a(0x580)]['unit'],this[_0x5db96a(0x580)]);}};gt=Is([ot(0x1,a['Inject'](Re[_0x3c9859(0x613)])),ot(0x2,a[_0x3c9859(0x288)](De)),ot(0x3,a[_0x3c9859(0x288)](a['ThemeService']))],gt);function Es(_0x2275aa){const _0x3c3770=_0x3c9859,_0x412ea3=new Map();return _0x2275aa['forEach'](_0xda7aea=>{const _0xbd2b11=_0x1e8f;if(_0x412ea3[_0xbd2b11(0x636)](_0xda7aea[_0xbd2b11(0x4f9)])){const _0x2a57be=_0x412ea3[_0xbd2b11(0x58c)](_0xda7aea[_0xbd2b11(0x4f9)]);_0x2a57be[_0xbd2b11(0x597)]+=',\x20'+_0xda7aea[_0xbd2b11(0x597)];}else _0x412ea3[_0xbd2b11(0x61d)](_0xda7aea[_0xbd2b11(0x4f9)],_0xda7aea);}),Array['from'](_0x412ea3[_0x3c3770(0x3a2)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x35f9cf){const _0x13f2e3=_0x3c9859;return _0x35f9cf&&_0x35f9cf[_0x13f2e3(0x318)]&&Object[_0x13f2e3(0x2a0)][_0x13f2e3(0x5de)][_0x13f2e3(0x5dd)](_0x35f9cf,_0x13f2e3(0x400))?_0x35f9cf[_0x13f2e3(0x400)]:_0x35f9cf;}var mn={'exports':{}},Xe={},bs=ae,Ts=Symbol[_0x3c9859(0x62a)]('react.element'),Rs=Symbol[_0x3c9859(0x62a)](_0x3c9859(0x5db)),ys=Object[_0x3c9859(0x2a0)][_0x3c9859(0x5de)],Os=bs[_0x3c9859(0x2c1)][_0x3c9859(0x3c0)],Ds={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x3cfff1,_0x1774fd,_0x34d4eb){const _0x420976=_0x3c9859;var _0xf283dd,_0x55bdef={},_0x32301d=null,_0x31491a=null;_0x34d4eb!==void 0x0&&(_0x32301d=''+_0x34d4eb),_0x1774fd[_0x420976(0x656)]!==void 0x0&&(_0x32301d=''+_0x1774fd[_0x420976(0x656)]),_0x1774fd['ref']!==void 0x0&&(_0x31491a=_0x1774fd[_0x420976(0x336)]);for(_0xf283dd in _0x1774fd)ys[_0x420976(0x5dd)](_0x1774fd,_0xf283dd)&&!Ds['hasOwnProperty'](_0xf283dd)&&(_0x55bdef[_0xf283dd]=_0x1774fd[_0xf283dd]);if(_0x3cfff1&&_0x3cfff1['defaultProps']){for(_0xf283dd in(_0x1774fd=_0x3cfff1['defaultProps'],_0x1774fd))_0x55bdef[_0xf283dd]===void 0x0&&(_0x55bdef[_0xf283dd]=_0x1774fd[_0xf283dd]);}return{'$$typeof':Ts,'type':_0x3cfff1,'key':_0x32301d,'ref':_0x31491a,'props':_0x55bdef,'_owner':Os[_0x420976(0x63b)]};}Xe[_0x3c9859(0x23c)]=Rs,Xe[_0x3c9859(0x49a)]=gn,Xe[_0x3c9859(0x632)]=gn,mn[_0x3c9859(0x62e)]=Xe;var ge=mn[_0x3c9859(0x62e)],Q=function(){const _0xa2f64d=_0x3c9859;return Q=Object[_0xa2f64d(0x483)]||function(_0x30e315){const _0x43caf3=_0xa2f64d;for(var _0x21d2ee,_0xe63e76=0x1,_0x4ae5e1=arguments['length'];_0xe63e76<_0x4ae5e1;_0xe63e76++){_0x21d2ee=arguments[_0xe63e76];for(var _0x3cdff3 in _0x21d2ee)Object['prototype'][_0x43caf3(0x5de)][_0x43caf3(0x5dd)](_0x21d2ee,_0x3cdff3)&&(_0x30e315[_0x3cdff3]=_0x21d2ee[_0x3cdff3]);}return _0x30e315;},Q[_0xa2f64d(0x2af)](this,arguments);},ws=function(_0x2f99f0,_0x1d30dd){const _0x6ae8b9=_0x3c9859;var _0x1a46c3={};for(var _0x5da0be in _0x2f99f0)Object['prototype'][_0x6ae8b9(0x5de)][_0x6ae8b9(0x5dd)](_0x2f99f0,_0x5da0be)&&_0x1d30dd[_0x6ae8b9(0x1d0)](_0x5da0be)<0x0&&(_0x1a46c3[_0x5da0be]=_0x2f99f0[_0x5da0be]);if(_0x2f99f0!=null&&typeof Object[_0x6ae8b9(0x468)]==_0x6ae8b9(0x3b2)){for(var _0x273742=0x0,_0x5da0be=Object[_0x6ae8b9(0x468)](_0x2f99f0);_0x273742<_0x5da0be[_0x6ae8b9(0x3a7)];_0x273742++)_0x1d30dd[_0x6ae8b9(0x1d0)](_0x5da0be[_0x273742])<0x0&&Object['prototype'][_0x6ae8b9(0x557)]['call'](_0x2f99f0,_0x5da0be[_0x273742])&&(_0x1a46c3[_0x5da0be[_0x273742]]=_0x2f99f0[_0x5da0be[_0x273742]]);}return _0x1a46c3;},Dt=ae['forwardRef'](function(_0x5d54a9,_0xee0111){const _0x13f77c=_0x3c9859;var _0x2f95e8=_0x5d54a9[_0x13f77c(0x508)],_0x3e8eb6=_0x5d54a9['id'],_0x341267=_0x5d54a9[_0x13f77c(0x458)],_0x2dde79=_0x5d54a9[_0x13f77c(0x238)],_0x19dedc=ws(_0x5d54a9,[_0x13f77c(0x508),'id',_0x13f77c(0x458),_0x13f77c(0x238)]),_0x13ebcc='univerjs-icon\x20univerjs-icon-'[_0x13f77c(0x290)](_0x3e8eb6,'\x20')['concat'](_0x341267||'')[_0x13f77c(0x637)](),_0xe6d018=ae[_0x13f77c(0x4e9)]('_'['concat'](Ms()));return In(_0x2f95e8,''['concat'](_0x3e8eb6),{'defIds':_0x2f95e8[_0x13f77c(0x487)],'idSuffix':_0xe6d018[_0x13f77c(0x63b)]},Q({'ref':_0xee0111,'className':_0x13ebcc},_0x19dedc),_0x2dde79);});function In(_0x33d2fb,_0x271ed7,_0xe62ba9,_0x4f1ca0,_0x472057){const _0x462528=_0x3c9859;return ae[_0x462528(0x3db)](_0x33d2fb[_0x462528(0x203)],Q(Q({'key':_0x271ed7},Ps(_0x33d2fb,_0xe62ba9,_0x472057)),_0x4f1ca0),(Us(_0x33d2fb,_0xe62ba9)['children']||[])[_0x462528(0x2c6)](function(_0x13add6,_0x1247fd){const _0x1ba790=_0x462528;return In(_0x13add6,''[_0x1ba790(0x290)](_0x271ed7,'-')[_0x1ba790(0x290)](_0x33d2fb['tag'],'-')[_0x1ba790(0x290)](_0x1247fd),_0xe62ba9,void 0x0,_0x472057);}));}function Ps(_0x93b7a5,_0x4a71a1,_0x21892a){const _0x58b05c=_0x3c9859;var _0x104631=Q({},_0x93b7a5[_0x58b05c(0x5ff)]);_0x21892a!=null&&_0x21892a[_0x58b05c(0x251)]&&_0x104631['fill']===_0x58b05c(0x251)&&(_0x104631[_0x58b05c(0x578)]=_0x21892a['colorChannel1']);var _0x211022=_0x4a71a1['defIds'];return!_0x211022||_0x211022['length']===0x0||(_0x93b7a5[_0x58b05c(0x203)]===_0x58b05c(0x363)&&_0x104631[_0x58b05c(0x4d3)]&&(_0x104631[_0x58b05c(0x4d3)]=_0x104631[_0x58b05c(0x4d3)]+_0x4a71a1[_0x58b05c(0x3e5)]),Object['entries'](_0x104631)[_0x58b05c(0x4d1)](function(_0x1923da){const _0x19f517=_0x58b05c;var _0x2126ca=_0x1923da[0x0],_0x28794f=_0x1923da[0x1];typeof _0x28794f==_0x19f517(0x407)&&(_0x104631[_0x2126ca]=_0x28794f[_0x19f517(0x504)](/url\(#(.*)\)/,_0x19f517(0x23d)[_0x19f517(0x290)](_0x4a71a1['idSuffix'],')')));})),_0x104631;}function Us(_0x3118f2,_0x321616){const _0x101489=_0x3c9859;var _0x1a06b7,_0x355259=_0x321616[_0x101489(0x487)];return!_0x355259||_0x355259[_0x101489(0x3a7)]===0x0?_0x3118f2:_0x3118f2['tag']===_0x101489(0x2bb)&&(!((_0x1a06b7=_0x3118f2['children'])===null||_0x1a06b7===void 0x0)&&_0x1a06b7[_0x101489(0x3a7)])?Q(Q({},_0x3118f2),{'children':_0x3118f2['children'][_0x101489(0x2c6)](function(_0x503310){const _0x229703=_0x101489;return typeof _0x503310['attrs']['id']==_0x229703(0x407)&&_0x355259&&_0x355259[_0x229703(0x1d0)](_0x503310[_0x229703(0x5ff)]['id'])>-0x1?Q(Q({},_0x503310),{'attrs':Q(Q({},_0x503310[_0x229703(0x5ff)]),{'id':_0x503310['attrs']['id']+_0x321616[_0x229703(0x3e5)]})}):_0x503310;})}):_0x3118f2;}function Ms(){const _0x32cee3=_0x3c9859;return Math[_0x32cee3(0x498)]()[_0x32cee3(0x3ff)](0x24)[_0x32cee3(0x4d4)](0x2,0x8);}Dt[_0x3c9859(0x3ad)]=_0x3c9859(0x65e);var As={'tag':_0x3c9859(0x615),'attrs':{'fill':_0x3c9859(0x365),'viewBox':_0x3c9859(0x1d9),'width':_0x3c9859(0x676),'height':_0x3c9859(0x676)},'children':[{'tag':'g','attrs':{'clipPath':_0x3c9859(0x3f0)},'children':[{'tag':_0x3c9859(0x37e),'attrs':{'stroke':_0x3c9859(0x202),'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':_0x3c9859(0x1f9),'strokeLinejoin':_0x3c9859(0x1f9),'strokeWidth':1.2}}]},{'tag':_0x3c9859(0x2bb),'attrs':{},'children':[{'tag':_0x3c9859(0x63c),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x3c9859(0x37e),'attrs':{'fill':_0x3c9859(0x3f8),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3c9859(0x2e3)]},Cn=ae[_0x3c9859(0x2b6)](function(_0x237bc4,_0x5dbdef){const _0x102b1d=_0x3c9859;return ae[_0x102b1d(0x3db)](Dt,Object[_0x102b1d(0x483)]({},_0x237bc4,{'id':_0x102b1d(0x332),'ref':_0x5dbdef,'icon':As}));});Cn[_0x3c9859(0x3ad)]=_0x3c9859(0x4e8);var Ns={'tag':_0x3c9859(0x615),'attrs':{'fill':_0x3c9859(0x365),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x3c9859(0x676)},'children':[{'tag':'g','attrs':{'clipPath':_0x3c9859(0x5bd)},'children':[{'tag':_0x3c9859(0x37e),'attrs':{'stroke':_0x3c9859(0x202),'d':_0x3c9859(0x5bb),'strokeLinecap':_0x3c9859(0x1f9),'strokeLinejoin':_0x3c9859(0x1f9),'strokeWidth':1.2}}]},{'tag':_0x3c9859(0x2bb),'attrs':{},'children':[{'tag':_0x3c9859(0x63c),'attrs':{'id':_0x3c9859(0x5c1)},'children':[{'tag':_0x3c9859(0x37e),'attrs':{'fill':_0x3c9859(0x3f8),'d':_0x3c9859(0x53b),'transform':_0x3c9859(0x3d1)}}]}]}],'defIds':[_0x3c9859(0x5c1)]},En=ae[_0x3c9859(0x2b6)](function(_0x13e3df,_0x42a840){const _0x1b86ed=_0x3c9859;return ae['createElement'](Dt,Object[_0x1b86ed(0x483)]({},_0x13e3df,{'id':'on-line-single','ref':_0x42a840,'icon':Ns}));});En[_0x3c9859(0x3ad)]='OnLineSingle';function bn(_0x1cd003){const _0x306ec3=_0x3c9859;var _0x30b1c5,_0x3b6410,_0x5a7f21='';if(typeof _0x1cd003==_0x306ec3(0x407)||typeof _0x1cd003=='number')_0x5a7f21+=_0x1cd003;else{if(typeof _0x1cd003==_0x306ec3(0x234)){if(Array[_0x306ec3(0x65a)](_0x1cd003)){var _0x3a35d5=_0x1cd003['length'];for(_0x30b1c5=0x0;_0x30b1c5<_0x3a35d5;_0x30b1c5++)_0x1cd003[_0x30b1c5]&&(_0x3b6410=bn(_0x1cd003[_0x30b1c5]))&&(_0x5a7f21&&(_0x5a7f21+='\x20'),_0x5a7f21+=_0x3b6410);}else{for(_0x3b6410 in _0x1cd003)_0x1cd003[_0x3b6410]&&(_0x5a7f21&&(_0x5a7f21+='\x20'),_0x5a7f21+=_0x3b6410);}}}return _0x5a7f21;}function Ls(){const _0x4b4e89=_0x3c9859;for(var _0x5f12ec,_0x35267c,_0xa8f7b5=0x0,_0x19b4c6='',_0x1fc024=arguments[_0x4b4e89(0x3a7)];_0xa8f7b5<_0x1fc024;_0xa8f7b5++)(_0x5f12ec=arguments[_0xa8f7b5])&&(_0x35267c=bn(_0x5f12ec))&&(_0x19b4c6&&(_0x19b4c6+='\x20'),_0x19b4c6+=_0x35267c);return _0x19b4c6;}const xs='univer-online-status-icon',js=_0x3c9859(0x2bc),$s='univer-online-status',Hs=_0x3c9859(0x2b7),ks=_0x3c9859(0x5e7),Me={'onlineStatusIcon':xs,'onlineStatusTitle':js,'onlineStatus':$s,'online':Hs,'offline':ks};function Bs(_0x580224){const _0x335716=_0x3c9859;switch(_0x580224){case q['OFFLINE']:return _0x335716(0x537);case q[_0x335716(0x5fb)]:return _0x335716(0x311);case q['FETCH_MISS']:return _0x335716(0x351);case q[_0x335716(0x5be)]:return'collabStatus.notCollab';case q[_0x335716(0x4b7)]:case q[_0x335716(0x606)]:return _0x335716(0x348);case q[_0x335716(0x364)]:case q[_0x335716(0x387)]:return _0x335716(0x4d5);}}function Tn(_0x23d161){const _0x59c3a6=_0x3c9859,{status$:_0x3c23ab}=_0x23d161,_0x492fe7=te[_0x59c3a6(0x20a)](_0x3c23ab,q[_0x59c3a6(0x5be)]),_0x42e027=a[_0x59c3a6(0x5ab)](a['LocaleService']),_0x56c3ed=a[_0x59c3a6(0x5ab)](exports[_0x59c3a6(0x5bf)]),_0x1780f3=_0x492fe7!==q[_0x59c3a6(0x525)],_0x3715ce=_0x42e027['t'](Bs(_0x492fe7)),_0x30dcf3=Ls(Me['onlineStatus'],{[Me['online']]:_0x1780f3,[Me[_0x59c3a6(0x5a8)]]:!_0x1780f3}),_0x3eb50=_0x1780f3?ge['jsx'](En,{}):ge['jsx'](Cn,{}),_0x6dd4e0=ae[_0x59c3a6(0x3c6)](()=>{const _0x54a90f=_0x59c3a6;_0x1780f3||_0x56c3ed[_0x54a90f(0x52e)]();},[_0x1780f3,_0x56c3ed]);function _0xa2b946(){const _0x328c84=_0x59c3a6;return ge['jsxs']('div',{'className':_0x30dcf3,'onClick':_0x6dd4e0,'children':[ge[_0x328c84(0x49a)](_0x328c84(0x287),{'className':Me[_0x328c84(0x591)],'children':_0x3eb50}),ge['jsx'](_0x328c84(0x287),{'className':Me[_0x328c84(0x42a)],'children':_0x3715ce})]});}return _0x1780f3?_0xa2b946():ge[_0x59c3a6(0x49a)](Ie[_0x59c3a6(0x1fe)],{'title':_0x42e027['t'](_0x59c3a6(0x4d9)),'children':_0xa2b946()});}var Ws=Object['defineProperty'],Fs=Object['getOwnPropertyDescriptor'],Vs=(_0x1caf9e,_0x3a9e54,_0x293b98,_0x2fc72c)=>{const _0x29c035=_0x3c9859;for(var _0x3159ac=_0x2fc72c>0x1?void 0x0:_0x2fc72c?Fs(_0x3a9e54,_0x293b98):_0x3a9e54,_0x3e4996=_0x1caf9e[_0x29c035(0x3a7)]-0x1,_0x1d4e15;_0x3e4996>=0x0;_0x3e4996--)(_0x1d4e15=_0x1caf9e[_0x3e4996])&&(_0x3159ac=(_0x2fc72c?_0x1d4e15(_0x3a9e54,_0x293b98,_0x3159ac):_0x1d4e15(_0x3159ac))||_0x3159ac);return _0x2fc72c&&_0x3159ac&&Ws(_0x3a9e54,_0x293b98,_0x3159ac),_0x3159ac;},$e=(_0x2b90cc,_0x312b75)=>(_0x21799d,_0x3265c1)=>_0x312b75(_0x21799d,_0x3265c1,_0x2b90cc);exports[_0x3c9859(0x3c1)]=class extends a[_0x3c9859(0x32a)]{constructor(_0x36d21e,_0x274f10,_0x24939d,_0x2c7726){const _0x2e3b3c=_0x3c9859;super(),I(this,'_status$',new A['BehaviorSubject'](q['NOT_COLLAB'])),(this[_0x2e3b3c(0x4a5)]=_0x36d21e,this['_uiPartsService']=_0x274f10,this[_0x2e3b3c(0x2fc)]=_0x24939d,this['_collaborationController']=_0x2c7726,this[_0x2e3b3c(0x65d)](),this[_0x2e3b3c(0x2e8)]());}[_0x3c9859(0x2e8)](){const _0x55d8d9=_0x3c9859;this['disposeWithMe'](this[_0x55d8d9(0x4a5)][_0x55d8d9(0x304)]['pipe'](A['switchMap'](()=>{const _0x569785=_0x55d8d9,_0x123952=this[_0x569785(0x4a5)][_0x569785(0x47b)]();return _0x123952?this[_0x569785(0x3d3)][_0x569785(0x21e)](_0x123952[_0x569785(0x216)]()):A['of'](null);}),A['switchMap'](_0x4717e5=>_0x4717e5?_0x4717e5[_0x55d8d9(0x2bf)]:A['of'](q[_0x55d8d9(0x5be)])))['subscribe'](_0x1e6737=>{this['_status$']['next'](_0x1e6737);}));}['_initStatusComponent'](){const _0x295810=_0x3c9859;this[_0x295810(0x44a)](this['_uiPartsService'][_0x295810(0x5a9)](te['BuiltInUIPart']['HEADER_MENU'],()=>a[_0x295810(0x207)](Gs({'status$':this[_0x295810(0x5e4)][_0x295810(0x3eb)]()}),this[_0x295810(0x2fc)])));}},exports[_0x3c9859(0x3c1)]=Vs([$e(0x0,a[_0x3c9859(0x671)]),$e(0x1,te['IUIPartsService']),$e(0x2,a[_0x3c9859(0x288)](a[_0x3c9859(0x218)])),$e(0x3,a[_0x3c9859(0x288)](exports['CollaborationController']))],exports[_0x3c9859(0x3c1)]);function Gs(_0x17525){const {status$:_0x11839e}=_0x17525;return function(){const _0x2bc7f8=_0x1e8f;return ge[_0x2bc7f8(0x49a)](Tn,{'status$':_0x11839e});};}const wt=a[_0x3c9859(0x670)](_0x3c9859(0x369));var Ys=Object['defineProperty'],Ks=Object[_0x3c9859(0x353)],qs=(_0x12e226,_0x9fb311,_0x4682a9,_0x2808d4)=>{const _0x25d659=_0x3c9859;for(var _0x5c35dc=_0x2808d4>0x1?void 0x0:_0x2808d4?Ks(_0x9fb311,_0x4682a9):_0x9fb311,_0x34c153=_0x12e226[_0x25d659(0x3a7)]-0x1,_0x277beb;_0x34c153>=0x0;_0x34c153--)(_0x277beb=_0x12e226[_0x34c153])&&(_0x5c35dc=(_0x2808d4?_0x277beb(_0x9fb311,_0x4682a9,_0x5c35dc):_0x277beb(_0x5c35dc))||_0x5c35dc);return _0x2808d4&&_0x5c35dc&&Ys(_0x9fb311,_0x4682a9,_0x5c35dc),_0x5c35dc;},Te=(_0x3e5677,_0x4a61ef)=>(_0x371b7b,_0x39eab6)=>_0x4a61ef(_0x371b7b,_0x39eab6,_0x3e5677);exports['DataLoaderController']=class extends a[_0x3c9859(0x344)]{constructor(_0x407d1d,_0x492bcc,_0x7bdd17,_0x130a60,_0x2400fa,_0x1cef2a){const _0x5af238=_0x3c9859;super(),this['_urlService']=_0x407d1d,this[_0x5af238(0x56b)]=_0x492bcc,this['_commandService']=_0x7bdd17,this[_0x5af238(0x3e1)]=_0x130a60,this[_0x5af238(0x3a1)]=_0x2400fa,_0x1cef2a?_0x1cef2a==null||_0x1cef2a['whenReady']()[_0x5af238(0x588)](()=>this[_0x5af238(0x3b1)]()):(this['_logService'][_0x5af238(0x425)](_0x5af238(0x2e4),_0x5af238(0x3a4)),this['_init']());}async[_0x3c9859(0x3b1)](){const _0x3c6bf5=_0x3c9859,_0x35e1c5=this['_urlService'][_0x3c6bf5(0x24c)](_0x3c6bf5(0x5f4)),_0x51fa36=this[_0x3c6bf5(0x653)]['getParam'](_0x3c6bf5(0x52b));if(!_0x35e1c5||!_0x51fa36){this[_0x3c6bf5(0x56b)][_0x3c6bf5(0x425)]('[DataLoaderController]',_0x3c6bf5(0x661));return;}switch(Number(_0x51fa36)){case ie['UNIVER_SHEET']:{const _0x259b16=await this[_0x3c6bf5(0x2e9)](_0x35e1c5);this['_setupSubUnitSync'](_0x259b16);break;}case ie[_0x3c6bf5(0x254)]:{await this[_0x3c6bf5(0x534)](_0x35e1c5);break;}default:{this[_0x3c6bf5(0x56b)][_0x3c6bf5(0x581)](_0x3c6bf5(0x2e4),_0x3c6bf5(0x61a));break;}}}async[_0x3c9859(0x45f)](_0x42e38b){const _0x3239b3=_0x3c9859;await this[_0x3239b3(0x27a)](_0x42e38b),_0x42e38b[_0x3239b3(0x2c7)]['pipe'](A[_0x3239b3(0x2d1)](this['dispose$']))[_0x3239b3(0x4c3)](_0x44097e=>{_0x44097e&&this['_updateURLWithCurrentState'](_0x44097e);}),this[_0x3239b3(0x653)][_0x3239b3(0x465)][_0x3239b3(0x232)](A['takeUntil'](this[_0x3239b3(0x376)]))['subscribe'](()=>this[_0x3239b3(0x27a)](_0x42e38b));}['_updateURLWithCurrentState'](_0x326ba3,_0x2d827c=!0x1){const _0x4a0ad0=_0x3c9859,_0xe3926f=this[_0x4a0ad0(0x653)][_0x4a0ad0(0x24c)](_0x4a0ad0(0x5df));_0x326ba3['getSheetId']()!==_0xe3926f&&this['_urlService'][_0x4a0ad0(0x3e7)](_0x4a0ad0(0x5df),_0x326ba3[_0x4a0ad0(0x40c)](),_0x2d827c);}async['_updateSubUnitFromURLParams'](_0x536661){const _0x6608a6=_0x3c9859;var _0x16a8b9;const _0x2dcfe9=this[_0x6608a6(0x653)][_0x6608a6(0x24c)](_0x6608a6(0x5df));if(!_0x2dcfe9||!_0x536661['getSheetBySheetId'](_0x2dcfe9)){const _0x75523=_0x536661[_0x6608a6(0x1c1)]()[0x0],_0x38d172=_0x536661[_0x6608a6(0x486)](_0x75523);if(!_0x38d172)return;this[_0x6608a6(0x2b4)](_0x38d172,!0x0),await this['_commandService'][_0x6608a6(0x413)](B[_0x6608a6(0x2da)]['id'],{'unitId':_0x536661['getUnitId'](),'subUnitId':_0x75523});return;}((_0x16a8b9=_0x536661[_0x6608a6(0x472)]())==null?void 0x0:_0x16a8b9['getSheetId']())!==_0x2dcfe9&&await this[_0x6608a6(0x3cd)]['executeCommand'](B[_0x6608a6(0x2da)]['id'],{'unitId':_0x536661['getUnitId'](),'subUnitId':_0x2dcfe9});}async[_0x3c9859(0x2e9)](_0x59b725){const _0xf6ba38=_0x3c9859;let _0x28a781=0x0;const _0x72ed80=await this[_0xf6ba38(0x3e1)][_0xf6ba38(0x4c0)](_0x59b725);return _0x72ed80&&(_0x72ed80[_0xf6ba38(0x41b)]||_0x72ed80[_0xf6ba38(0x3ca)][_0xf6ba38(0x3a7)]!==0x0)&&(_0x28a781=_0x72ed80['rev']),_0x28a781===0x0&&this[_0xf6ba38(0x56b)][_0xf6ba38(0x425)](_0xf6ba38(0x2e4),_0xf6ba38(0x5aa)),this['_snapshotService']['loadSheet'](_0x59b725,_0x28a781);}async[_0x3c9859(0x534)](_0x222bde){const _0x4d03e7=_0x3c9859;let _0x2ba11e=0x0;const _0x808028=await this[_0x4d03e7(0x3e1)][_0x4d03e7(0x4c0)](_0x222bde);return _0x808028&&(_0x808028[_0x4d03e7(0x41b)]||_0x808028[_0x4d03e7(0x3ca)]['length']!==0x0)&&(_0x2ba11e=_0x808028[_0x4d03e7(0x34a)]),_0x2ba11e===0x0&&this[_0x4d03e7(0x56b)][_0x4d03e7(0x425)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x4d03e7(0x3a1)][_0x4d03e7(0x605)](_0x222bde,_0x2ba11e);}},exports[_0x3c9859(0x2ba)]=qs([Te(0x0,wt),Te(0x1,a[_0x3c9859(0x584)]),Te(0x2,a['ICommandService']),Te(0x3,a[_0x3c9859(0x288)](exports[_0x3c9859(0x544)])),Te(0x4,a['Inject'](p['SnapshotService'])),Te(0x5,a[_0x3c9859(0x563)]($n[_0x3c9859(0x248)]))],exports[_0x3c9859(0x2ba)]);var zs=Object[_0x3c9859(0x2aa)],Xs=Object[_0x3c9859(0x353)],Js=(_0xc4ff9d,_0x25d214,_0x13b0c0,_0x1e3367)=>{const _0x1d91a2=_0x3c9859;for(var _0xc263e9=_0x1e3367>0x1?void 0x0:_0x1e3367?Xs(_0x25d214,_0x13b0c0):_0x25d214,_0x2619ad=_0xc4ff9d[_0x1d91a2(0x3a7)]-0x1,_0x412738;_0x2619ad>=0x0;_0x2619ad--)(_0x412738=_0xc4ff9d[_0x2619ad])&&(_0xc263e9=(_0x1e3367?_0x412738(_0x25d214,_0x13b0c0,_0xc263e9):_0x412738(_0xc263e9))||_0xc263e9);return _0x1e3367&&_0xc263e9&&zs(_0x25d214,_0x13b0c0,_0xc263e9),_0xc263e9;},Bt=(_0x52ff49,_0x2b0344)=>(_0x21ab8b,_0x5c5eef)=>_0x2b0344(_0x21ab8b,_0x5c5eef,_0x52ff49);const Zs=_0x3c9859(0x34f),Qs=_0x3c9859(0x566);let Ve=class extends a[_0x3c9859(0x32a)]{constructor(_0xa281c0,_0xf58d4a){const _0x20a131=_0x3c9859;super(),this[_0x20a131(0x4a5)]=_0xa281c0,this[_0x20a131(0x329)]=_0xf58d4a,this[_0x20a131(0x3b1)]();}['_init'](){const _0x2e52fe=_0x3c9859;this[_0x2e52fe(0x44a)](this[_0x2e52fe(0x4a5)]['focused$'][_0x2e52fe(0x4c3)](()=>{const _0xb203d7=_0x2e52fe;var _0x58daeb;const _0x540c99=this[_0xb203d7(0x4a5)][_0xb203d7(0x47b)]();let _0x4c17a0=(_0x58daeb=this[_0xb203d7(0x329)][_0xb203d7(0x5ce)](Zs))!=null?_0x58daeb:Qs;_0x540c99 instanceof a[_0xb203d7(0x49b)]&&(_0x4c17a0=_0x540c99['name']),document['title']=_0x4c17a0;}));}};Ve=Js([Bt(0x0,a[_0x3c9859(0x671)]),Bt(0x1,a[_0x3c9859(0x5fd)])],Ve);var er=Object[_0x3c9859(0x2aa)],tr=Object[_0x3c9859(0x353)],nr=(_0x359211,_0x4789ba,_0x15c930,_0x313696)=>{const _0x2e9b73=_0x3c9859;for(var _0x50887a=_0x313696>0x1?void 0x0:_0x313696?tr(_0x4789ba,_0x15c930):_0x4789ba,_0x13da53=_0x359211[_0x2e9b73(0x3a7)]-0x1,_0x178ec1;_0x13da53>=0x0;_0x13da53--)(_0x178ec1=_0x359211[_0x13da53])&&(_0x50887a=(_0x313696?_0x178ec1(_0x4789ba,_0x15c930,_0x50887a):_0x178ec1(_0x50887a))||_0x50887a);return _0x313696&&_0x50887a&&er(_0x4789ba,_0x15c930,_0x50887a),_0x50887a;},at=(_0x7d346c,_0x47d4de)=>(_0x1a3a65,_0x3d2b21)=>_0x47d4de(_0x1a3a65,_0x3d2b21,_0x7d346c);let Ge=class{constructor(_0x2ca6d2,_0x34e8d5,_0x431942){const _0x138608=_0x3c9859;this[_0x138608(0x329)]=_0x2ca6d2,this['_httpService']=_0x34e8d5,this['localeService']=_0x431942,this[_0x138608(0x4c6)]();}[_0x3c9859(0x4c6)](){const _0x212db9=_0x3c9859;this[_0x212db9(0x53c)][_0x212db9(0x568)]({'priority':0x1,'interceptor':(_0x1031c2,_0x58829a)=>_0x58829a(_0x1031c2)[_0x212db9(0x232)](A[_0x212db9(0x34e)](async _0x4847cb=>{const _0x1aa49f=_0x212db9,_0x33f21f=_0x4847cb;if(_0x33f21f['status']===0x191&&window[_0x1aa49f(0x480)](this[_0x1aa49f(0x5fe)]['t']('auth.needGotoLoginAlert'))){const _0x26dbec=window[_0x1aa49f(0x25e)](window[_0x1aa49f(0x5dc)]['href']);window[_0x1aa49f(0x5dc)]['href']=this[_0x1aa49f(0x30b)]()+_0x1aa49f(0x492)+_0x26dbec;}return _0x33f21f;}))});}[_0x3c9859(0x30b)](){const _0x19406d=_0x3c9859;var _0x51e6fe,_0x213071;const _0x21ab34=this['_configService']['getConfig'](an),_0xb58678=this['_configService'][_0x19406d(0x5ce)](ee);return(_0x213071=(_0x51e6fe=_0xb58678==null?void 0x0:_0xb58678['loginUrlKey'])!=null?_0x51e6fe:_0x21ab34)!=null?_0x213071:zn;}};Ge=nr([at(0x0,a[_0x3c9859(0x5fd)]),at(0x1,a[_0x3c9859(0x288)](J['HTTPService'])),at(0x2,a[_0x3c9859(0x288)](a[_0x3c9859(0x295)]))],Ge);var ir=Object['defineProperty'],sr=Object[_0x3c9859(0x353)],rr=(_0x3f5f39,_0x571d5a,_0x8ac3ff,_0x428ddd)=>{const _0x5ce91d=_0x3c9859;for(var _0x11ebd9=_0x428ddd>0x1?void 0x0:_0x428ddd?sr(_0x571d5a,_0x8ac3ff):_0x571d5a,_0x22e59e=_0x3f5f39[_0x5ce91d(0x3a7)]-0x1,_0x161867;_0x22e59e>=0x0;_0x22e59e--)(_0x161867=_0x3f5f39[_0x22e59e])&&(_0x11ebd9=(_0x428ddd?_0x161867(_0x571d5a,_0x8ac3ff,_0x11ebd9):_0x161867(_0x11ebd9))||_0x11ebd9);return _0x428ddd&&_0x11ebd9&&ir(_0x571d5a,_0x8ac3ff,_0x11ebd9),_0x11ebd9;},Wt=(_0x56f0f2,_0x55b6cf)=>(_0x50b758,_0x6156e1)=>_0x55b6cf(_0x50b758,_0x6156e1,_0x56f0f2);const Rn='AUTHZ_URL_KEY',or=_0x3c9859(0x55e);exports['AuthzIoHttpService']=class extends a[_0x3c9859(0x32a)]{constructor(_0x216f0a,_0x33946d){const _0x183dad=_0x3c9859;super(),this['_HTTPService']=_0x216f0a,this['_configService']=_0x33946d,this[_0x183dad(0x26e)]();}[_0x3c9859(0x26e)](){const _0xe875d9=_0x3c9859,_0x2048e1=this;this[_0xe875d9(0x44a)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':J[_0xe875d9(0x1e4)]({'isMatch'(_0x1021d4){const _0x4889d1=_0xe875d9;var _0x182d08;if(_0x1021d4['method']==='POST'&&((_0x182d08=_0x1021d4[_0x4889d1(0x1d8)])!=null&&_0x182d08[_0x4889d1(0x1e0)])){const {objectID:_0x20291f,objectType:_0x4bf8a6}=_0x1021d4[_0x4889d1(0x1d8)][_0x4889d1(0x1e0)]||{};if(!_0x20291f||_0x4bf8a6===void 0x0)return!0x1;const _0x33ff28=_0x2048e1[_0x4889d1(0x4e6)]()+'/'+_0x4bf8a6+_0x4889d1(0x617)+_0x20291f+_0x4889d1(0x451);if(_0x1021d4[_0x4889d1(0x473)]===_0x33ff28)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x30a487){const _0x1cf16c=_0xe875d9;var _0x4baf94;return(_0x4baf94=_0x30a487[_0x1cf16c(0x1d8)])==null?void 0x0:_0x4baf94[_0x1cf16c(0x1e0)];},'mergeParamsToRequest'(_0x116495,_0x37ab65){const _0x3c1e2a=_0xe875d9,_0x43d2a1=_0x2048e1['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x232a3c=_0x116495[_0x3c1e2a(0x327)]((_0x4d707c,_0x3fbb4b)=>{const _0x48f23f=_0x3c1e2a,{unitID:_0x1d603f,objectID:_0xaa9f37,objectType:_0x3b6059,actions:_0x3f1406}=_0x3fbb4b;return _0x4d707c[_0x1d603f]||(_0x4d707c[_0x1d603f]={}),_0x4d707c[_0x1d603f][_0xaa9f37]||(_0x4d707c[_0x1d603f][_0xaa9f37]={'objectID':_0xaa9f37,'objectType':_0x3b6059,'actions':[]}),_0x4d707c[_0x1d603f][_0xaa9f37][_0x48f23f(0x28d)][_0x48f23f(0x331)](..._0x3f1406),_0x4d707c;},{}),_0x4dc18a=[];for(const _0x55f4cb in _0x232a3c)for(const _0x54f628 in _0x232a3c[_0x55f4cb]){const {actions:_0x51a4f8,objectType:_0x3bd29b}=_0x232a3c[_0x55f4cb][_0x54f628],_0x51bd59=[...new Set(_0x51a4f8)];_0x4dc18a[_0x3c1e2a(0x331)]({'unitID':_0x55f4cb,'objectID':_0x54f628,'objectType':_0x3bd29b,'actions':_0x51bd59});}return new J[(_0x3c1e2a(0x2cd))](_0x3c1e2a(0x378),_0x43d2a1,{'headers':_0x37ab65[_0x3c1e2a(0x57d)],'withCredentials':_0x37ab65[_0x3c1e2a(0x657)],'responseType':_0x37ab65['responseType'],'body':{'requests':_0x4dc18a}});}},{'distributeResult'(_0x31401d,_0x17e878){const _0x13b04a=_0xe875d9,{objectActions:_0x57b600}=_0x31401d;return _0x17e878[_0x13b04a(0x2c6)](_0x449d2b=>{const _0x2ce747=_0x13b04a,{unitID:_0x478340,objectID:_0x289a4a,actions:_0x59ac4a}=_0x449d2b,_0x51d3ed=_0x57b600['find'](_0x38f3cc=>_0x38f3cc['unitID']===_0x478340&&_0x38f3cc[_0x2ce747(0x5bc)]===_0x289a4a),_0x4fa29c=_0x59ac4a[_0x2ce747(0x2c6)](_0x551c85=>_0x51d3ed==null?void 0x0:_0x51d3ed['actions'][_0x2ce747(0x3e6)](_0x2b10e3=>_0x2b10e3['action']===_0x551c85))['filter'](_0x1c76e7=>!!_0x1c76e7);return{'config':_0x449d2b,'result':{'actions':_0x4fa29c,'error':_0x31401d[_0x2ce747(0x581)]}};});}})}));}[_0x3c9859(0x4e6)](){const _0xf548bb=_0x3c9859;var _0x552cbf,_0xf3c137;const _0x310247=this[_0xf548bb(0x329)][_0xf548bb(0x5ce)](Rn),_0x247789=this[_0xf548bb(0x329)]['getConfig'](ee);return(_0xf3c137=(_0x552cbf=_0x247789==null?void 0x0:_0x247789[_0xf548bb(0x548)])!=null?_0x552cbf:_0x310247)!=null?_0xf3c137:or;}async[_0x3c9859(0x305)](_0x330f52){const _0x50ebce=_0x3c9859,_0xb7bf21=this[_0x50ebce(0x4e6)]()+'/'+_0x330f52[_0x50ebce(0x3bd)]+_0x50ebce(0x5c9);return(await this['_HTTPService'][_0x50ebce(0x603)](_0xb7bf21,{'body':_0x330f52}))[_0x50ebce(0x1e0)][_0x50ebce(0x5bc)]||'';}async[_0x3c9859(0x217)](_0x1c0e76){const _0x36a054=_0x3c9859,_0x221e32=this[_0x36a054(0x4e6)]()+_0x36a054(0x4fd);return(await this[_0x36a054(0x1c9)]['post'](_0x221e32,{'body':_0x1c0e76}))[_0x36a054(0x1e0)][_0x36a054(0x3ab)];}async['update'](_0x31a874){const _0x5ed948=_0x3c9859,_0x317ad3=this[_0x5ed948(0x4e6)]()+'/'+_0x31a874[_0x5ed948(0x3bd)]+_0x5ed948(0x617)+_0x31a874['objectID'];await this[_0x5ed948(0x1c9)]['put'](_0x317ad3,{'body':_0x31a874});}async[_0x3c9859(0x556)](_0x104d64){const _0x7ce391=_0x3c9859,_0x511b10=this[_0x7ce391(0x4e6)]()+'/'+_0x104d64[_0x7ce391(0x3bd)]+_0x7ce391(0x617)+_0x104d64[_0x7ce391(0x5bc)]+_0x7ce391(0x451);return(await this[_0x7ce391(0x1c9)]['post'](_0x511b10,{'body':_0x104d64}))[_0x7ce391(0x1e0)][_0x7ce391(0x28d)];}async[_0x3c9859(0x57c)](_0x3c9af9){const _0x1fef26=_0x3c9859,_0x4c730c=this['_getAPIPrefixPath']()+_0x1fef26(0x2a3);return(await this[_0x1fef26(0x1c9)]['post'](_0x4c730c,{'body':{'requests':_0x3c9af9}}))[_0x1fef26(0x1e0)][_0x1fef26(0x289)];}async['listRoles'](_0x3350e1){const _0x23b7e6=_0x3c9859,_0x2b9b2b=this[_0x23b7e6(0x4e6)]()+'/'+_0x3350e1[_0x23b7e6(0x3bd)]+_0x23b7e6(0x3fb),_0x86e814=await this[_0x23b7e6(0x1c9)][_0x23b7e6(0x603)](_0x2b9b2b,{'body':_0x3350e1});return{'roles':_0x86e814['body'][_0x23b7e6(0x2c5)],'actions':_0x86e814['body']['actions']};}async[_0x3c9859(0x62d)](_0x482be4){const _0x105b70=_0x3c9859,_0x437548=this['_getAPIPrefixPath']()+_0x105b70(0x3ce);await this[_0x105b70(0x1c9)][_0x105b70(0x4c4)](_0x437548,{'params':{'collaboratorID':_0x482be4['collaboratorID'],'objectID':_0x482be4[_0x105b70(0x5bc)],'unitID':_0x482be4['unitID']}});}async[_0x3c9859(0x22c)](_0x2cdb2f){const _0x13f189=_0x3c9859,_0x3f7e2d=this['_getAPIPrefixPath']()+_0x13f189(0x3ce);await this[_0x13f189(0x1c9)]['patch'](_0x3f7e2d,{'body':_0x2cdb2f});}async[_0x3c9859(0x641)](_0x5bd3c4){const _0x369def=_0x3c9859,_0x26a26f=this[_0x369def(0x4e6)]()+_0x369def(0x3ce);await this['_HTTPService'][_0x369def(0x603)](_0x26a26f,{'body':_0x5bd3c4});}async[_0x3c9859(0x430)](_0x5819af){const _0xae089d=_0x3c9859,_0x7b1d9e=this[_0xae089d(0x4e6)]()+_0xae089d(0x3ce);return(await this[_0xae089d(0x1c9)][_0xae089d(0x58c)](_0x7b1d9e,{'params':{'objectID':_0x5819af[_0xae089d(0x5bc)],'unitID':_0x5819af['unitID']}}))['body']['collaborators'];}async['putCollaborators'](_0x5b199f){const _0x52aac4=_0x3c9859,_0x4255f8=this[_0x52aac4(0x4e6)]()+_0x52aac4(0x3ce);await this[_0x52aac4(0x1c9)]['put'](_0x4255f8,{'body':_0x5b199f});}},exports['AuthzIoHttpService']=rr([Wt(0x0,a[_0x3c9859(0x288)](J[_0x3c9859(0x362)])),Wt(0x1,a[_0x3c9859(0x288)](a[_0x3c9859(0x5fd)]))],exports[_0x3c9859(0x4e7)]);var yn={'exports':{}};function ar(_0x162261){const _0xdeedc=_0x3c9859;throw new Error(_0xdeedc(0x1c5)+_0x162261+_0xdeedc(0x573));}var ct={'exports':{}},Ft;function oe(){const _0x4dbfe3=_0x3c9859;return Ft||(Ft=0x1,function(_0x2aa39c,_0x585fef){(function(_0x40ac82,_0x18a7c3){const _0x5a810d=_0x1e8f;_0x2aa39c[_0x5a810d(0x62e)]=_0x18a7c3();}(X,function(){var _0x4ea8c5=_0x4ea8c5||function(_0x2bf07a,_0x13e20b){const _0x3e8dce=_0x1e8f;var _0x1c4148;if(typeof window<'u'&&window[_0x3e8dce(0x4e0)]&&(_0x1c4148=window[_0x3e8dce(0x4e0)]),typeof self<'u'&&self[_0x3e8dce(0x4e0)]&&(_0x1c4148=self[_0x3e8dce(0x4e0)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1c4148=globalThis[_0x3e8dce(0x4e0)]),!_0x1c4148&&typeof window<'u'&&window[_0x3e8dce(0x409)]&&(_0x1c4148=window[_0x3e8dce(0x409)]),!_0x1c4148&&typeof X<'u'&&X['crypto']&&(_0x1c4148=X[_0x3e8dce(0x4e0)]),!_0x1c4148&&typeof ar==_0x3e8dce(0x3b2))try{_0x1c4148=require(_0x3e8dce(0x4e0));}catch{}var _0x466692=function(){const _0x23151e=_0x3e8dce;if(_0x1c4148){if(typeof _0x1c4148['getRandomValues']==_0x23151e(0x3b2))try{return _0x1c4148[_0x23151e(0x401)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1c4148[_0x23151e(0x5c3)]==_0x23151e(0x3b2))try{return _0x1c4148[_0x23151e(0x5c3)](0x4)[_0x23151e(0x2c8)]();}catch{}}throw new Error(_0x23151e(0x306));},_0x54193a=Object[_0x3e8dce(0x305)]||(function(){function _0x19a1e9(){}return function(_0x345fac){const _0x8faaa8=_0x1e8f;var _0x2c340b;return _0x19a1e9[_0x8faaa8(0x2a0)]=_0x345fac,_0x2c340b=new _0x19a1e9(),_0x19a1e9['prototype']=null,_0x2c340b;};}()),_0x3e7457={},_0x5c103d=_0x3e7457['lib']={},_0x5224f6=_0x5c103d[_0x3e8dce(0x221)]=(function(){return{'extend':function(_0x4b619f){const _0x2c2e4e=_0x1e8f;var _0x3ee6fd=_0x54193a(this);return _0x4b619f&&_0x3ee6fd[_0x2c2e4e(0x1d3)](_0x4b619f),(!_0x3ee6fd[_0x2c2e4e(0x5de)](_0x2c2e4e(0x4c6))||this[_0x2c2e4e(0x4c6)]===_0x3ee6fd[_0x2c2e4e(0x4c6)])&&(_0x3ee6fd[_0x2c2e4e(0x4c6)]=function(){const _0x2dc9bb=_0x2c2e4e;_0x3ee6fd[_0x2dc9bb(0x593)]['init'][_0x2dc9bb(0x2af)](this,arguments);}),_0x3ee6fd['init'][_0x2c2e4e(0x2a0)]=_0x3ee6fd,_0x3ee6fd['$super']=this,_0x3ee6fd;},'create':function(){const _0x48c972=_0x1e8f;var _0x727128=this[_0x48c972(0x238)]();return _0x727128[_0x48c972(0x4c6)][_0x48c972(0x2af)](_0x727128,arguments),_0x727128;},'init':function(){},'mixIn':function(_0x3a532a){const _0x394589=_0x1e8f;for(var _0x4f2c17 in _0x3a532a)_0x3a532a[_0x394589(0x5de)](_0x4f2c17)&&(this[_0x4f2c17]=_0x3a532a[_0x4f2c17]);_0x3a532a[_0x394589(0x5de)](_0x394589(0x3ff))&&(this['toString']=_0x3a532a[_0x394589(0x3ff)]);},'clone':function(){const _0xd367c6=_0x1e8f;return this['init']['prototype'][_0xd367c6(0x238)](this);}};}()),_0x5ccbe9=_0x5c103d[_0x3e8dce(0x260)]=_0x5224f6['extend']({'init':function(_0xc00e76,_0x5c1064){const _0x4b72ce=_0x3e8dce;_0xc00e76=this[_0x4b72ce(0x579)]=_0xc00e76||[],_0x5c1064!=_0x13e20b?this[_0x4b72ce(0x571)]=_0x5c1064:this[_0x4b72ce(0x571)]=_0xc00e76[_0x4b72ce(0x3a7)]*0x4;},'toString':function(_0x1737c2){const _0x28a0b6=_0x3e8dce;return(_0x1737c2||_0x1110cb)[_0x28a0b6(0x45e)](this);},'concat':function(_0x4b3192){const _0x1e2f45=_0x3e8dce;var _0x1b8af6=this[_0x1e2f45(0x579)],_0x40c594=_0x4b3192['words'],_0x15aa93=this['sigBytes'],_0x2cd4a3=_0x4b3192['sigBytes'];if(this[_0x1e2f45(0x343)](),_0x15aa93%0x4)for(var _0x489831=0x0;_0x489831<_0x2cd4a3;_0x489831++){var _0x15bd63=_0x40c594[_0x489831>>>0x2]>>>0x18-_0x489831%0x4*0x8&0xff;_0x1b8af6[_0x15aa93+_0x489831>>>0x2]|=_0x15bd63<<0x18-(_0x15aa93+_0x489831)%0x4*0x8;}else{for(var _0xf5651d=0x0;_0xf5651d<_0x2cd4a3;_0xf5651d+=0x4)_0x1b8af6[_0x15aa93+_0xf5651d>>>0x2]=_0x40c594[_0xf5651d>>>0x2];}return this[_0x1e2f45(0x571)]+=_0x2cd4a3,this;},'clamp':function(){const _0x273082=_0x3e8dce;var _0xe6d089=this[_0x273082(0x579)],_0x2d5450=this[_0x273082(0x571)];_0xe6d089[_0x2d5450>>>0x2]&=0xffffffff<<0x20-_0x2d5450%0x4*0x8,_0xe6d089[_0x273082(0x3a7)]=_0x2bf07a['ceil'](_0x2d5450/0x4);},'clone':function(){const _0x1b9d67=_0x3e8dce;var _0x35e5ab=_0x5224f6[_0x1b9d67(0x50c)]['call'](this);return _0x35e5ab[_0x1b9d67(0x579)]=this['words']['slice'](0x0),_0x35e5ab;},'random':function(_0x31229e){const _0x43d986=_0x3e8dce;for(var _0x3e4370=[],_0x350b96=0x0;_0x350b96<_0x31229e;_0x350b96+=0x4)_0x3e4370[_0x43d986(0x331)](_0x466692());return new _0x5ccbe9['init'](_0x3e4370,_0x31229e);}}),_0x210664=_0x3e7457[_0x3e8dce(0x411)]={},_0x1110cb=_0x210664[_0x3e8dce(0x547)]={'stringify':function(_0xd9216e){const _0x41a559=_0x3e8dce;for(var _0x2d8785=_0xd9216e[_0x41a559(0x579)],_0x285417=_0xd9216e[_0x41a559(0x571)],_0x3f4499=[],_0x588838=0x0;_0x588838<_0x285417;_0x588838++){var _0x2268f7=_0x2d8785[_0x588838>>>0x2]>>>0x18-_0x588838%0x4*0x8&0xff;_0x3f4499[_0x41a559(0x331)]((_0x2268f7>>>0x4)[_0x41a559(0x3ff)](0x10)),_0x3f4499['push']((_0x2268f7&0xf)['toString'](0x10));}return _0x3f4499['join']('');},'parse':function(_0x5e0ddc){const _0x1174bd=_0x3e8dce;for(var _0x3365dd=_0x5e0ddc[_0x1174bd(0x3a7)],_0x76a268=[],_0x443319=0x0;_0x443319<_0x3365dd;_0x443319+=0x2)_0x76a268[_0x443319>>>0x3]|=parseInt(_0x5e0ddc['substr'](_0x443319,0x2),0x10)<<0x18-_0x443319%0x8*0x4;return new _0x5ccbe9['init'](_0x76a268,_0x3365dd/0x2);}},_0x400194=_0x210664[_0x3e8dce(0x63f)]={'stringify':function(_0x471ca3){const _0x5e1ea0=_0x3e8dce;for(var _0x5d2c9e=_0x471ca3[_0x5e1ea0(0x579)],_0x1b56ce=_0x471ca3[_0x5e1ea0(0x571)],_0x376f38=[],_0x27208c=0x0;_0x27208c<_0x1b56ce;_0x27208c++){var _0x204282=_0x5d2c9e[_0x27208c>>>0x2]>>>0x18-_0x27208c%0x4*0x8&0xff;_0x376f38[_0x5e1ea0(0x331)](String[_0x5e1ea0(0x1e7)](_0x204282));}return _0x376f38[_0x5e1ea0(0x2f9)]('');},'parse':function(_0x1ca49e){const _0xa93166=_0x3e8dce;for(var _0x396c73=_0x1ca49e[_0xa93166(0x3a7)],_0x3c9e71=[],_0x442fc5=0x0;_0x442fc5<_0x396c73;_0x442fc5++)_0x3c9e71[_0x442fc5>>>0x2]|=(_0x1ca49e[_0xa93166(0x521)](_0x442fc5)&0xff)<<0x18-_0x442fc5%0x4*0x8;return new _0x5ccbe9[(_0xa93166(0x4c6))](_0x3c9e71,_0x396c73);}},_0x48822d=_0x210664[_0x3e8dce(0x244)]={'stringify':function(_0x1a4252){const _0x18985a=_0x3e8dce;try{return decodeURIComponent(escape(_0x400194['stringify'](_0x1a4252)));}catch{throw new Error(_0x18985a(0x3b5));}},'parse':function(_0x27517f){const _0x4acf59=_0x3e8dce;return _0x400194[_0x4acf59(0x361)](unescape(encodeURIComponent(_0x27517f)));}},_0x2e9cea=_0x5c103d['BufferedBlockAlgorithm']=_0x5224f6[_0x3e8dce(0x238)]({'reset':function(){const _0x3c1a9b=_0x3e8dce;this['_data']=new _0x5ccbe9['init'](),this[_0x3c1a9b(0x1f7)]=0x0;},'_append':function(_0xb454d){const _0x554af9=_0x3e8dce;typeof _0xb454d==_0x554af9(0x407)&&(_0xb454d=_0x48822d[_0x554af9(0x361)](_0xb454d)),this['_data'][_0x554af9(0x290)](_0xb454d),this['_nDataBytes']+=_0xb454d[_0x554af9(0x571)];},'_process':function(_0x1378aa){const _0xfb131f=_0x3e8dce;var _0x243389,_0x2017ee=this[_0xfb131f(0x354)],_0x2e6bc7=_0x2017ee['words'],_0x50a34b=_0x2017ee['sigBytes'],_0x4c8967=this[_0xfb131f(0x28c)],_0x18c36c=_0x4c8967*0x4,_0x29107e=_0x50a34b/_0x18c36c;_0x1378aa?_0x29107e=_0x2bf07a[_0xfb131f(0x456)](_0x29107e):_0x29107e=_0x2bf07a['max']((_0x29107e|0x0)-this['_minBufferSize'],0x0);var _0x12a940=_0x29107e*_0x4c8967,_0x439b21=_0x2bf07a[_0xfb131f(0x602)](_0x12a940*0x4,_0x50a34b);if(_0x12a940){for(var _0x296171=0x0;_0x296171<_0x12a940;_0x296171+=_0x4c8967)this[_0xfb131f(0x41a)](_0x2e6bc7,_0x296171);_0x243389=_0x2e6bc7[_0xfb131f(0x620)](0x0,_0x12a940),_0x2017ee[_0xfb131f(0x571)]-=_0x439b21;}return new _0x5ccbe9[(_0xfb131f(0x4c6))](_0x243389,_0x439b21);},'clone':function(){const _0x69b9d9=_0x3e8dce;var _0x19e3bc=_0x5224f6[_0x69b9d9(0x50c)][_0x69b9d9(0x5dd)](this);return _0x19e3bc['_data']=this['_data']['clone'](),_0x19e3bc;},'_minBufferSize':0x0});_0x5c103d[_0x3e8dce(0x507)]=_0x2e9cea[_0x3e8dce(0x238)]({'cfg':_0x5224f6[_0x3e8dce(0x238)](),'init':function(_0x5561b9){const _0x4fa993=_0x3e8dce;this['cfg']=this['cfg'][_0x4fa993(0x238)](_0x5561b9),this[_0x4fa993(0x4c8)]();},'reset':function(){const _0x120af8=_0x3e8dce;_0x2e9cea[_0x120af8(0x4c8)]['call'](this),this['_doReset']();},'update':function(_0x2559ee){const _0x305d42=_0x3e8dce;return this[_0x305d42(0x31e)](_0x2559ee),this['_process'](),this;},'finalize':function(_0x3ff507){const _0x2251c4=_0x3e8dce;_0x3ff507&&this[_0x2251c4(0x31e)](_0x3ff507);var _0x586736=this['_doFinalize']();return _0x586736;},'blockSize':0x10,'_createHelper':function(_0x14dd1b){return function(_0x170e39,_0x4ea4a2){const _0x45d705=_0x1e8f;return new _0x14dd1b[(_0x45d705(0x4c6))](_0x4ea4a2)[_0x45d705(0x33e)](_0x170e39);};},'_createHmacHelper':function(_0x1018fe){return function(_0x5bd7be,_0x32511d){const _0x3e1449=_0x1e8f;return new _0x2ed722[(_0x3e1449(0x2b5))]['init'](_0x1018fe,_0x32511d)[_0x3e1449(0x33e)](_0x5bd7be);};}});var _0x2ed722=_0x3e7457[_0x3e8dce(0x35a)]={};return _0x3e7457;}(Math);return _0x4ea8c5;}));}(ct)),ct[_0x4dbfe3(0x62e)];}var lt={'exports':{}},Vt;function On(){return Vt||(Vt=0x1,function(_0x14b5cd,_0x26f1fa){(function(_0x395d44,_0x2505f8){_0x14b5cd['exports']=_0x2505f8(oe());}(X,function(_0x461a2b){const _0x55e879=_0x1e8f;return(function(){const _0x69378f=_0x1e8f;var _0x4e5fdc=_0x461a2b,_0x24078d=_0x4e5fdc[_0x69378f(0x2d4)],_0x1a1944=_0x24078d[_0x69378f(0x260)],_0x4967d2=_0x4e5fdc[_0x69378f(0x411)];_0x4967d2['Base64']={'stringify':function(_0x2c9ee5){const _0x4788b8=_0x69378f;var _0x4b00d9=_0x2c9ee5['words'],_0x4fa36d=_0x2c9ee5[_0x4788b8(0x571)],_0x38f74a=this['_map'];_0x2c9ee5[_0x4788b8(0x343)]();for(var _0x3ed90c=[],_0x3ad474=0x0;_0x3ad474<_0x4fa36d;_0x3ad474+=0x3)for(var _0x3fd322=_0x4b00d9[_0x3ad474>>>0x2]>>>0x18-_0x3ad474%0x4*0x8&0xff,_0x5d3e58=_0x4b00d9[_0x3ad474+0x1>>>0x2]>>>0x18-(_0x3ad474+0x1)%0x4*0x8&0xff,_0x46226c=_0x4b00d9[_0x3ad474+0x2>>>0x2]>>>0x18-(_0x3ad474+0x2)%0x4*0x8&0xff,_0x5b8689=_0x3fd322<<0x10|_0x5d3e58<<0x8|_0x46226c,_0x1b427d=0x0;_0x1b427d<0x4&&_0x3ad474+_0x1b427d*0.75<_0x4fa36d;_0x1b427d++)_0x3ed90c[_0x4788b8(0x331)](_0x38f74a[_0x4788b8(0x408)](_0x5b8689>>>0x6*(0x3-_0x1b427d)&0x3f));var _0x5673ac=_0x38f74a[_0x4788b8(0x408)](0x40);if(_0x5673ac){for(;_0x3ed90c[_0x4788b8(0x3a7)]%0x4;)_0x3ed90c[_0x4788b8(0x331)](_0x5673ac);}return _0x3ed90c[_0x4788b8(0x2f9)]('');},'parse':function(_0x4d5965){const _0x42eadb=_0x69378f;var _0x34067e=_0x4d5965[_0x42eadb(0x3a7)],_0x4c9ffa=this[_0x42eadb(0x4a2)],_0x333eba=this[_0x42eadb(0x1e3)];if(!_0x333eba){_0x333eba=this[_0x42eadb(0x1e3)]=[];for(var _0x252e74=0x0;_0x252e74<_0x4c9ffa['length'];_0x252e74++)_0x333eba[_0x4c9ffa[_0x42eadb(0x521)](_0x252e74)]=_0x252e74;}var _0x33271b=_0x4c9ffa[_0x42eadb(0x408)](0x40);if(_0x33271b){var _0x4b4886=_0x4d5965[_0x42eadb(0x1d0)](_0x33271b);_0x4b4886!==-0x1&&(_0x34067e=_0x4b4886);}return _0x5c21ec(_0x4d5965,_0x34067e,_0x333eba);},'_map':_0x69378f(0x470)};function _0x5c21ec(_0x15f83d,_0x2b74ca,_0x414fce){const _0x4bd776=_0x69378f;for(var _0x50758b=[],_0x36e782=0x0,_0x297fcb=0x0;_0x297fcb<_0x2b74ca;_0x297fcb++)if(_0x297fcb%0x4){var _0x1c5cea=_0x414fce[_0x15f83d[_0x4bd776(0x521)](_0x297fcb-0x1)]<<_0x297fcb%0x4*0x2,_0x4ee3ff=_0x414fce[_0x15f83d[_0x4bd776(0x521)](_0x297fcb)]>>>0x6-_0x297fcb%0x4*0x2,_0x3b9136=_0x1c5cea|_0x4ee3ff;_0x50758b[_0x36e782>>>0x2]|=_0x3b9136<<0x18-_0x36e782%0x4*0x8,_0x36e782++;}return _0x1a1944[_0x4bd776(0x305)](_0x50758b,_0x36e782);}}()),_0x461a2b[_0x55e879(0x411)]['Base64'];}));}(lt)),lt['exports'];}var ht={'exports':{}},Gt;function cr(){const _0x3267fe=_0x3c9859;return Gt||(Gt=0x1,function(_0xdea6c7,_0x415a14){(function(_0x507187,_0x637577){const _0x712c8d=_0x1e8f;_0xdea6c7[_0x712c8d(0x62e)]=_0x637577(oe());}(X,function(_0x3d9d6c){const _0x2569ae=_0x1e8f;return function(_0x583623){const _0x2d21c5=_0x1e8f;var _0x519bf5=_0x3d9d6c,_0x3e2b2f=_0x519bf5[_0x2d21c5(0x2d4)],_0x41c93e=_0x3e2b2f[_0x2d21c5(0x260)],_0x58ad11=_0x3e2b2f[_0x2d21c5(0x507)],_0x9456a1=_0x519bf5[_0x2d21c5(0x35a)],_0x2d1413=[];(function(){const _0x453c84=_0x2d21c5;for(var _0x46ade8=0x0;_0x46ade8<0x40;_0x46ade8++)_0x2d1413[_0x46ade8]=_0x583623[_0x453c84(0x51e)](_0x583623[_0x453c84(0x2fe)](_0x46ade8+0x1))*0x100000000|0x0;}());var _0x3aa1d9=_0x9456a1[_0x2d21c5(0x1c4)]=_0x58ad11[_0x2d21c5(0x238)]({'_doReset':function(){const _0x564d37=_0x2d21c5;this[_0x564d37(0x51a)]=new _0x41c93e[(_0x564d37(0x4c6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x36f77b,_0x2c1d49){const _0x3392df=_0x2d21c5;for(var _0xc90c2e=0x0;_0xc90c2e<0x10;_0xc90c2e++){var _0x36b0b2=_0x2c1d49+_0xc90c2e,_0x1fdc23=_0x36f77b[_0x36b0b2];_0x36f77b[_0x36b0b2]=(_0x1fdc23<<0x8|_0x1fdc23>>>0x18)&0xff00ff|(_0x1fdc23<<0x18|_0x1fdc23>>>0x8)&0xff00ff00;}var _0x4b380d=this[_0x3392df(0x51a)][_0x3392df(0x579)],_0x4cf35b=_0x36f77b[_0x2c1d49+0x0],_0x2b6865=_0x36f77b[_0x2c1d49+0x1],_0x5e5076=_0x36f77b[_0x2c1d49+0x2],_0x5e90af=_0x36f77b[_0x2c1d49+0x3],_0xde6d15=_0x36f77b[_0x2c1d49+0x4],_0x5e0c60=_0x36f77b[_0x2c1d49+0x5],_0x31e96e=_0x36f77b[_0x2c1d49+0x6],_0x24ead7=_0x36f77b[_0x2c1d49+0x7],_0xec05e4=_0x36f77b[_0x2c1d49+0x8],_0x58b4a6=_0x36f77b[_0x2c1d49+0x9],_0x2c1108=_0x36f77b[_0x2c1d49+0xa],_0x2d3b4f=_0x36f77b[_0x2c1d49+0xb],_0x58d39e=_0x36f77b[_0x2c1d49+0xc],_0x46dbd5=_0x36f77b[_0x2c1d49+0xd],_0x6abaeb=_0x36f77b[_0x2c1d49+0xe],_0x4f97b1=_0x36f77b[_0x2c1d49+0xf],_0x51b32e=_0x4b380d[0x0],_0xb2ba72=_0x4b380d[0x1],_0x5bd4c8=_0x4b380d[0x2],_0x14eb37=_0x4b380d[0x3];_0x51b32e=_0x2f28ea(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x4cf35b,0x7,_0x2d1413[0x0]),_0x14eb37=_0x2f28ea(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x2b6865,0xc,_0x2d1413[0x1]),_0x5bd4c8=_0x2f28ea(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x5e5076,0x11,_0x2d1413[0x2]),_0xb2ba72=_0x2f28ea(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x5e90af,0x16,_0x2d1413[0x3]),_0x51b32e=_0x2f28ea(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0xde6d15,0x7,_0x2d1413[0x4]),_0x14eb37=_0x2f28ea(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x5e0c60,0xc,_0x2d1413[0x5]),_0x5bd4c8=_0x2f28ea(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x31e96e,0x11,_0x2d1413[0x6]),_0xb2ba72=_0x2f28ea(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x24ead7,0x16,_0x2d1413[0x7]),_0x51b32e=_0x2f28ea(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0xec05e4,0x7,_0x2d1413[0x8]),_0x14eb37=_0x2f28ea(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x58b4a6,0xc,_0x2d1413[0x9]),_0x5bd4c8=_0x2f28ea(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x2c1108,0x11,_0x2d1413[0xa]),_0xb2ba72=_0x2f28ea(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x2d3b4f,0x16,_0x2d1413[0xb]),_0x51b32e=_0x2f28ea(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x58d39e,0x7,_0x2d1413[0xc]),_0x14eb37=_0x2f28ea(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x46dbd5,0xc,_0x2d1413[0xd]),_0x5bd4c8=_0x2f28ea(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x6abaeb,0x11,_0x2d1413[0xe]),_0xb2ba72=_0x2f28ea(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x4f97b1,0x16,_0x2d1413[0xf]),_0x51b32e=_0x23a3c0(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x2b6865,0x5,_0x2d1413[0x10]),_0x14eb37=_0x23a3c0(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x31e96e,0x9,_0x2d1413[0x11]),_0x5bd4c8=_0x23a3c0(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x2d3b4f,0xe,_0x2d1413[0x12]),_0xb2ba72=_0x23a3c0(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x4cf35b,0x14,_0x2d1413[0x13]),_0x51b32e=_0x23a3c0(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x5e0c60,0x5,_0x2d1413[0x14]),_0x14eb37=_0x23a3c0(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x2c1108,0x9,_0x2d1413[0x15]),_0x5bd4c8=_0x23a3c0(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x4f97b1,0xe,_0x2d1413[0x16]),_0xb2ba72=_0x23a3c0(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0xde6d15,0x14,_0x2d1413[0x17]),_0x51b32e=_0x23a3c0(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x58b4a6,0x5,_0x2d1413[0x18]),_0x14eb37=_0x23a3c0(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x6abaeb,0x9,_0x2d1413[0x19]),_0x5bd4c8=_0x23a3c0(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x5e90af,0xe,_0x2d1413[0x1a]),_0xb2ba72=_0x23a3c0(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0xec05e4,0x14,_0x2d1413[0x1b]),_0x51b32e=_0x23a3c0(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x46dbd5,0x5,_0x2d1413[0x1c]),_0x14eb37=_0x23a3c0(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x5e5076,0x9,_0x2d1413[0x1d]),_0x5bd4c8=_0x23a3c0(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x24ead7,0xe,_0x2d1413[0x1e]),_0xb2ba72=_0x23a3c0(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x58d39e,0x14,_0x2d1413[0x1f]),_0x51b32e=_0x485f54(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x5e0c60,0x4,_0x2d1413[0x20]),_0x14eb37=_0x485f54(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0xec05e4,0xb,_0x2d1413[0x21]),_0x5bd4c8=_0x485f54(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x2d3b4f,0x10,_0x2d1413[0x22]),_0xb2ba72=_0x485f54(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x6abaeb,0x17,_0x2d1413[0x23]),_0x51b32e=_0x485f54(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x2b6865,0x4,_0x2d1413[0x24]),_0x14eb37=_0x485f54(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0xde6d15,0xb,_0x2d1413[0x25]),_0x5bd4c8=_0x485f54(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x24ead7,0x10,_0x2d1413[0x26]),_0xb2ba72=_0x485f54(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x2c1108,0x17,_0x2d1413[0x27]),_0x51b32e=_0x485f54(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x46dbd5,0x4,_0x2d1413[0x28]),_0x14eb37=_0x485f54(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x4cf35b,0xb,_0x2d1413[0x29]),_0x5bd4c8=_0x485f54(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x5e90af,0x10,_0x2d1413[0x2a]),_0xb2ba72=_0x485f54(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x31e96e,0x17,_0x2d1413[0x2b]),_0x51b32e=_0x485f54(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x58b4a6,0x4,_0x2d1413[0x2c]),_0x14eb37=_0x485f54(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x58d39e,0xb,_0x2d1413[0x2d]),_0x5bd4c8=_0x485f54(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x4f97b1,0x10,_0x2d1413[0x2e]),_0xb2ba72=_0x485f54(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x5e5076,0x17,_0x2d1413[0x2f]),_0x51b32e=_0x47aa50(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x4cf35b,0x6,_0x2d1413[0x30]),_0x14eb37=_0x47aa50(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x24ead7,0xa,_0x2d1413[0x31]),_0x5bd4c8=_0x47aa50(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x6abaeb,0xf,_0x2d1413[0x32]),_0xb2ba72=_0x47aa50(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x5e0c60,0x15,_0x2d1413[0x33]),_0x51b32e=_0x47aa50(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x58d39e,0x6,_0x2d1413[0x34]),_0x14eb37=_0x47aa50(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x5e90af,0xa,_0x2d1413[0x35]),_0x5bd4c8=_0x47aa50(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x2c1108,0xf,_0x2d1413[0x36]),_0xb2ba72=_0x47aa50(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x2b6865,0x15,_0x2d1413[0x37]),_0x51b32e=_0x47aa50(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0xec05e4,0x6,_0x2d1413[0x38]),_0x14eb37=_0x47aa50(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x4f97b1,0xa,_0x2d1413[0x39]),_0x5bd4c8=_0x47aa50(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x31e96e,0xf,_0x2d1413[0x3a]),_0xb2ba72=_0x47aa50(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x46dbd5,0x15,_0x2d1413[0x3b]),_0x51b32e=_0x47aa50(_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x14eb37,_0xde6d15,0x6,_0x2d1413[0x3c]),_0x14eb37=_0x47aa50(_0x14eb37,_0x51b32e,_0xb2ba72,_0x5bd4c8,_0x2d3b4f,0xa,_0x2d1413[0x3d]),_0x5bd4c8=_0x47aa50(_0x5bd4c8,_0x14eb37,_0x51b32e,_0xb2ba72,_0x5e5076,0xf,_0x2d1413[0x3e]),_0xb2ba72=_0x47aa50(_0xb2ba72,_0x5bd4c8,_0x14eb37,_0x51b32e,_0x58b4a6,0x15,_0x2d1413[0x3f]),_0x4b380d[0x0]=_0x4b380d[0x0]+_0x51b32e|0x0,_0x4b380d[0x1]=_0x4b380d[0x1]+_0xb2ba72|0x0,_0x4b380d[0x2]=_0x4b380d[0x2]+_0x5bd4c8|0x0,_0x4b380d[0x3]=_0x4b380d[0x3]+_0x14eb37|0x0;},'_doFinalize':function(){const _0x1fdcba=_0x2d21c5;var _0x53ebfc=this[_0x1fdcba(0x354)],_0x45d7c4=_0x53ebfc[_0x1fdcba(0x579)],_0x57d615=this[_0x1fdcba(0x1f7)]*0x8,_0x27b4d8=_0x53ebfc['sigBytes']*0x8;_0x45d7c4[_0x27b4d8>>>0x5]|=0x80<<0x18-_0x27b4d8%0x20;var _0x4f918f=_0x583623['floor'](_0x57d615/0x100000000),_0x2ce3be=_0x57d615;_0x45d7c4[(_0x27b4d8+0x40>>>0x9<<0x4)+0xf]=(_0x4f918f<<0x8|_0x4f918f>>>0x18)&0xff00ff|(_0x4f918f<<0x18|_0x4f918f>>>0x8)&0xff00ff00,_0x45d7c4[(_0x27b4d8+0x40>>>0x9<<0x4)+0xe]=(_0x2ce3be<<0x8|_0x2ce3be>>>0x18)&0xff00ff|(_0x2ce3be<<0x18|_0x2ce3be>>>0x8)&0xff00ff00,_0x53ebfc[_0x1fdcba(0x571)]=(_0x45d7c4[_0x1fdcba(0x3a7)]+0x1)*0x4,this[_0x1fdcba(0x3d6)]();for(var _0x2147f4=this[_0x1fdcba(0x51a)],_0x388b3e=_0x2147f4['words'],_0x1689c4=0x0;_0x1689c4<0x4;_0x1689c4++){var _0x3749f7=_0x388b3e[_0x1689c4];_0x388b3e[_0x1689c4]=(_0x3749f7<<0x8|_0x3749f7>>>0x18)&0xff00ff|(_0x3749f7<<0x18|_0x3749f7>>>0x8)&0xff00ff00;}return _0x2147f4;},'clone':function(){const _0x14d6ba=_0x2d21c5;var _0x3ac4c3=_0x58ad11['clone'][_0x14d6ba(0x5dd)](this);return _0x3ac4c3[_0x14d6ba(0x51a)]=this['_hash'][_0x14d6ba(0x50c)](),_0x3ac4c3;}});function _0x2f28ea(_0x1a58de,_0x274e30,_0x4f5acf,_0x21f114,_0x18dde9,_0xed320,_0x16a66c){var _0x1103e8=_0x1a58de+(_0x274e30&_0x4f5acf|~_0x274e30&_0x21f114)+_0x18dde9+_0x16a66c;return(_0x1103e8<<_0xed320|_0x1103e8>>>0x20-_0xed320)+_0x274e30;}function _0x23a3c0(_0x162910,_0x479591,_0x2e05b4,_0x5e4170,_0x1d9387,_0x2ef4c7,_0x4c3996){var _0x1f74e3=_0x162910+(_0x479591&_0x5e4170|_0x2e05b4&~_0x5e4170)+_0x1d9387+_0x4c3996;return(_0x1f74e3<<_0x2ef4c7|_0x1f74e3>>>0x20-_0x2ef4c7)+_0x479591;}function _0x485f54(_0x185e1f,_0x46f3e2,_0x3c6e63,_0x2dc887,_0x60930d,_0x25ddca,_0x2e3865){var _0x46c991=_0x185e1f+(_0x46f3e2^_0x3c6e63^_0x2dc887)+_0x60930d+_0x2e3865;return(_0x46c991<<_0x25ddca|_0x46c991>>>0x20-_0x25ddca)+_0x46f3e2;}function _0x47aa50(_0x58e5bf,_0x560ec4,_0x51f226,_0x599175,_0x17f9ae,_0x5aa2d2,_0x287623){var _0x154bed=_0x58e5bf+(_0x51f226^(_0x560ec4|~_0x599175))+_0x17f9ae+_0x287623;return(_0x154bed<<_0x5aa2d2|_0x154bed>>>0x20-_0x5aa2d2)+_0x560ec4;}_0x519bf5[_0x2d21c5(0x1c4)]=_0x58ad11[_0x2d21c5(0x337)](_0x3aa1d9),_0x519bf5[_0x2d21c5(0x4ba)]=_0x58ad11[_0x2d21c5(0x531)](_0x3aa1d9);}(Math),_0x3d9d6c[_0x2569ae(0x1c4)];}));}(ht)),ht[_0x3267fe(0x62e)];}var _t={'exports':{}},ut={'exports':{}},Yt;function lr(){const _0x15f256=_0x3c9859;return Yt||(Yt=0x1,function(_0x1b4439,_0x5545b4){(function(_0x38bfba,_0x2bd9af){const _0xb61174=_0x1e8f;_0x1b4439[_0xb61174(0x62e)]=_0x2bd9af(oe());}(X,function(_0x1c4ab3){return(function(){const _0x4ae328=_0x1e8f;var _0x21694c=_0x1c4ab3,_0x56a661=_0x21694c[_0x4ae328(0x2d4)],_0x327ed4=_0x56a661[_0x4ae328(0x260)],_0x455a3c=_0x56a661[_0x4ae328(0x507)],_0x98e1a8=_0x21694c[_0x4ae328(0x35a)],_0x27086a=[],_0x58cd39=_0x98e1a8[_0x4ae328(0x4f4)]=_0x455a3c[_0x4ae328(0x238)]({'_doReset':function(){const _0x3b8685=_0x4ae328;this[_0x3b8685(0x51a)]=new _0x327ed4[(_0x3b8685(0x4c6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x53adbd,_0x50459e){const _0x2dfa50=_0x4ae328;for(var _0x4815b5=this[_0x2dfa50(0x51a)][_0x2dfa50(0x579)],_0xf94e23=_0x4815b5[0x0],_0x5eeeeb=_0x4815b5[0x1],_0x4048b2=_0x4815b5[0x2],_0x2c5764=_0x4815b5[0x3],_0x5aa09e=_0x4815b5[0x4],_0x1bd59d=0x0;_0x1bd59d<0x50;_0x1bd59d++){if(_0x1bd59d<0x10)_0x27086a[_0x1bd59d]=_0x53adbd[_0x50459e+_0x1bd59d]|0x0;else{var _0x1b9607=_0x27086a[_0x1bd59d-0x3]^_0x27086a[_0x1bd59d-0x8]^_0x27086a[_0x1bd59d-0xe]^_0x27086a[_0x1bd59d-0x10];_0x27086a[_0x1bd59d]=_0x1b9607<<0x1|_0x1b9607>>>0x1f;}var _0x566ebd=(_0xf94e23<<0x5|_0xf94e23>>>0x1b)+_0x5aa09e+_0x27086a[_0x1bd59d];_0x1bd59d<0x14?_0x566ebd+=(_0x5eeeeb&_0x4048b2|~_0x5eeeeb&_0x2c5764)+0x5a827999:_0x1bd59d<0x28?_0x566ebd+=(_0x5eeeeb^_0x4048b2^_0x2c5764)+0x6ed9eba1:_0x1bd59d<0x3c?_0x566ebd+=(_0x5eeeeb&_0x4048b2|_0x5eeeeb&_0x2c5764|_0x4048b2&_0x2c5764)-0x70e44324:_0x566ebd+=(_0x5eeeeb^_0x4048b2^_0x2c5764)-0x359d3e2a,_0x5aa09e=_0x2c5764,_0x2c5764=_0x4048b2,_0x4048b2=_0x5eeeeb<<0x1e|_0x5eeeeb>>>0x2,_0x5eeeeb=_0xf94e23,_0xf94e23=_0x566ebd;}_0x4815b5[0x0]=_0x4815b5[0x0]+_0xf94e23|0x0,_0x4815b5[0x1]=_0x4815b5[0x1]+_0x5eeeeb|0x0,_0x4815b5[0x2]=_0x4815b5[0x2]+_0x4048b2|0x0,_0x4815b5[0x3]=_0x4815b5[0x3]+_0x2c5764|0x0,_0x4815b5[0x4]=_0x4815b5[0x4]+_0x5aa09e|0x0;},'_doFinalize':function(){const _0x2414f5=_0x4ae328;var _0x2a25c3=this[_0x2414f5(0x354)],_0x164abd=_0x2a25c3['words'],_0x515437=this[_0x2414f5(0x1f7)]*0x8,_0x6648c9=_0x2a25c3[_0x2414f5(0x571)]*0x8;return _0x164abd[_0x6648c9>>>0x5]|=0x80<<0x18-_0x6648c9%0x20,_0x164abd[(_0x6648c9+0x40>>>0x9<<0x4)+0xe]=Math[_0x2414f5(0x5d9)](_0x515437/0x100000000),_0x164abd[(_0x6648c9+0x40>>>0x9<<0x4)+0xf]=_0x515437,_0x2a25c3['sigBytes']=_0x164abd[_0x2414f5(0x3a7)]*0x4,this[_0x2414f5(0x3d6)](),this['_hash'];},'clone':function(){const _0x329a1c=_0x4ae328;var _0x2c951c=_0x455a3c[_0x329a1c(0x50c)][_0x329a1c(0x5dd)](this);return _0x2c951c[_0x329a1c(0x51a)]=this['_hash']['clone'](),_0x2c951c;}});_0x21694c[_0x4ae328(0x4f4)]=_0x455a3c[_0x4ae328(0x337)](_0x58cd39),_0x21694c[_0x4ae328(0x567)]=_0x455a3c[_0x4ae328(0x531)](_0x58cd39);}()),_0x1c4ab3['SHA1'];}));}(ut)),ut[_0x15f256(0x62e)];}var dt={'exports':{}},Kt;function hr(){return Kt||(Kt=0x1,function(_0x3402d6,_0x147aac){(function(_0x2f8ce7,_0xd6eb4f){const _0x53669d=_0x1e8f;_0x3402d6[_0x53669d(0x62e)]=_0xd6eb4f(oe());}(X,function(_0x44446e){(function(){const _0xebca6f=_0x1e8f;var _0x26e45f=_0x44446e,_0x5d1507=_0x26e45f[_0xebca6f(0x2d4)],_0x4dc63d=_0x5d1507[_0xebca6f(0x221)],_0x2834f9=_0x26e45f[_0xebca6f(0x411)],_0x21f1a7=_0x2834f9[_0xebca6f(0x244)],_0x242b48=_0x26e45f[_0xebca6f(0x35a)];_0x242b48[_0xebca6f(0x2b5)]=_0x4dc63d[_0xebca6f(0x238)]({'init':function(_0x29c487,_0x463dc1){const _0x2ea202=_0xebca6f;_0x29c487=this[_0x2ea202(0x399)]=new _0x29c487[(_0x2ea202(0x4c6))](),typeof _0x463dc1=='string'&&(_0x463dc1=_0x21f1a7['parse'](_0x463dc1));var _0x2ae2c9=_0x29c487[_0x2ea202(0x28c)],_0xc5c391=_0x2ae2c9*0x4;_0x463dc1[_0x2ea202(0x571)]>_0xc5c391&&(_0x463dc1=_0x29c487[_0x2ea202(0x33e)](_0x463dc1)),_0x463dc1[_0x2ea202(0x343)]();for(var _0x437c5e=this[_0x2ea202(0x57b)]=_0x463dc1[_0x2ea202(0x50c)](),_0xfddcd5=this['_iKey']=_0x463dc1[_0x2ea202(0x50c)](),_0x110867=_0x437c5e['words'],_0x25d508=_0xfddcd5['words'],_0x578b2f=0x0;_0x578b2f<_0x2ae2c9;_0x578b2f++)_0x110867[_0x578b2f]^=0x5c5c5c5c,_0x25d508[_0x578b2f]^=0x36363636;_0x437c5e[_0x2ea202(0x571)]=_0xfddcd5[_0x2ea202(0x571)]=_0xc5c391,this[_0x2ea202(0x4c8)]();},'reset':function(){const _0x297da2=_0xebca6f;var _0x40a9c7=this['_hasher'];_0x40a9c7['reset'](),_0x40a9c7[_0x297da2(0x4bc)](this[_0x297da2(0x543)]);},'update':function(_0x5e39df){const _0x16efcd=_0xebca6f;return this[_0x16efcd(0x399)][_0x16efcd(0x4bc)](_0x5e39df),this;},'finalize':function(_0x2e508f){const _0x5bf63a=_0xebca6f;var _0x24f88b=this[_0x5bf63a(0x399)],_0x2c96f6=_0x24f88b[_0x5bf63a(0x33e)](_0x2e508f);_0x24f88b['reset']();var _0x42bae7=_0x24f88b['finalize'](this['_oKey'][_0x5bf63a(0x50c)]()[_0x5bf63a(0x290)](_0x2c96f6));return _0x42bae7;}});}());}));}(dt)),dt['exports'];}var qt;function Dn(){const _0x1811f6=_0x3c9859;return qt||(qt=0x1,function(_0x2ce559,_0x1ace59){(function(_0x4b8c49,_0x53e222,_0x24f859){const _0x4a34cf=_0x1e8f;_0x2ce559[_0x4a34cf(0x62e)]=_0x53e222(oe(),lr(),hr());}(X,function(_0x3c24f8){const _0x59733c=_0x1e8f;return(function(){const _0x7ee08d=_0x1e8f;var _0x1cbb1e=_0x3c24f8,_0x19c97d=_0x1cbb1e[_0x7ee08d(0x2d4)],_0x557f2e=_0x19c97d[_0x7ee08d(0x221)],_0x2a7f02=_0x19c97d[_0x7ee08d(0x260)],_0x3620b2=_0x1cbb1e[_0x7ee08d(0x35a)],_0x467a28=_0x3620b2[_0x7ee08d(0x1c4)],_0x5e5e19=_0x3620b2['EvpKDF']=_0x557f2e[_0x7ee08d(0x238)]({'cfg':_0x557f2e[_0x7ee08d(0x238)]({'keySize':0x80/0x20,'hasher':_0x467a28,'iterations':0x1}),'init':function(_0x1c0a8f){const _0x3513bf=_0x7ee08d;this[_0x3513bf(0x559)]=this[_0x3513bf(0x559)]['extend'](_0x1c0a8f);},'compute':function(_0x1e6673,_0x5ac0a2){const _0x1fe3b7=_0x7ee08d;for(var _0x5124ed,_0x59c4b5=this[_0x1fe3b7(0x559)],_0x379cc3=_0x59c4b5['hasher']['create'](),_0x181838=_0x2a7f02[_0x1fe3b7(0x305)](),_0x2e6d6e=_0x181838[_0x1fe3b7(0x579)],_0x10152e=_0x59c4b5[_0x1fe3b7(0x2b3)],_0x254fe1=_0x59c4b5[_0x1fe3b7(0x5f7)];_0x2e6d6e[_0x1fe3b7(0x3a7)]<_0x10152e;){_0x5124ed&&_0x379cc3[_0x1fe3b7(0x4bc)](_0x5124ed),_0x5124ed=_0x379cc3[_0x1fe3b7(0x4bc)](_0x1e6673)['finalize'](_0x5ac0a2),_0x379cc3['reset']();for(var _0x13e5a4=0x1;_0x13e5a4<_0x254fe1;_0x13e5a4++)_0x5124ed=_0x379cc3['finalize'](_0x5124ed),_0x379cc3[_0x1fe3b7(0x4c8)]();_0x181838['concat'](_0x5124ed);}return _0x181838[_0x1fe3b7(0x571)]=_0x10152e*0x4,_0x181838;}});_0x1cbb1e[_0x7ee08d(0x1c2)]=function(_0x302a72,_0x4e872b,_0x4ffac3){const _0xf7c7e8=_0x7ee08d;return _0x5e5e19[_0xf7c7e8(0x305)](_0x4ffac3)['compute'](_0x302a72,_0x4e872b);};}()),_0x3c24f8[_0x59733c(0x1c2)];}));}(_t)),_t[_0x1811f6(0x62e)];}var ft={'exports':{}},zt;function wn(){const _0x3fa6f3=_0x3c9859;return zt||(zt=0x1,function(_0xcc29ce,_0x298266){(function(_0x3d3037,_0x4e158f,_0x39dd78){const _0x5702c6=_0x1e8f;_0xcc29ce[_0x5702c6(0x62e)]=_0x4e158f(oe(),Dn());}(X,function(_0x749727){const _0x283281=_0x1e8f;_0x749727[_0x283281(0x2d4)][_0x283281(0x2ea)]||function(_0x2bf2c1){const _0x565230=_0x283281;var _0x2a5209=_0x749727,_0x3fe544=_0x2a5209[_0x565230(0x2d4)],_0x4e3533=_0x3fe544[_0x565230(0x221)],_0x49907c=_0x3fe544[_0x565230(0x260)],_0x1ef32b=_0x3fe544[_0x565230(0x29b)],_0x39ac8e=_0x2a5209[_0x565230(0x411)];_0x39ac8e['Utf8'];var _0x2997e2=_0x39ac8e[_0x565230(0x24f)],_0x2c34bb=_0x2a5209[_0x565230(0x35a)],_0xf8553b=_0x2c34bb[_0x565230(0x1c2)],_0x5534cf=_0x3fe544[_0x565230(0x2ea)]=_0x1ef32b['extend']({'cfg':_0x4e3533['extend'](),'createEncryptor':function(_0x52700e,_0x55fb55){const _0x32769a=_0x565230;return this[_0x32769a(0x305)](this[_0x32769a(0x58b)],_0x52700e,_0x55fb55);},'createDecryptor':function(_0xb1e1bd,_0x12cf5d){const _0x536ab6=_0x565230;return this['create'](this[_0x536ab6(0x25d)],_0xb1e1bd,_0x12cf5d);},'init':function(_0x165451,_0x337e18,_0x10f46c){const _0x2a056c=_0x565230;this[_0x2a056c(0x559)]=this[_0x2a056c(0x559)][_0x2a056c(0x238)](_0x10f46c),this['_xformMode']=_0x165451,this[_0x2a056c(0x493)]=_0x337e18,this['reset']();},'reset':function(){const _0x538257=_0x565230;_0x1ef32b[_0x538257(0x4c8)][_0x538257(0x5dd)](this),this['_doReset']();},'process':function(_0x2db368){const _0x1d98e1=_0x565230;return this[_0x1d98e1(0x31e)](_0x2db368),this[_0x1d98e1(0x3d6)]();},'finalize':function(_0x1a9b55){const _0x14b60a=_0x565230;_0x1a9b55&&this[_0x14b60a(0x31e)](_0x1a9b55);var _0x1e1bf6=this['_doFinalize']();return _0x1e1bf6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5c8bd2(_0x1c1c4a){const _0x5a0615=_0x1e8f;return typeof _0x1c1c4a==_0x5a0615(0x407)?_0x3b93d7:_0xf2738f;}return function(_0x17f74f){return{'encrypt':function(_0x2e4635,_0x3d8cd1,_0x4e4275){const _0x400fb7=_0x1e8f;return _0x5c8bd2(_0x3d8cd1)[_0x400fb7(0x379)](_0x17f74f,_0x2e4635,_0x3d8cd1,_0x4e4275);},'decrypt':function(_0x715315,_0x33b868,_0x688316){return _0x5c8bd2(_0x33b868)['decrypt'](_0x17f74f,_0x715315,_0x33b868,_0x688316);}};};}())});_0x3fe544[_0x565230(0x2de)]=_0x5534cf[_0x565230(0x238)]({'_doFinalize':function(){var _0x5e57fe=this['_process'](!0x0);return _0x5e57fe;},'blockSize':0x1});var _0x2eb16a=_0x2a5209[_0x565230(0x4de)]={},_0x5f291a=_0x3fe544['BlockCipherMode']=_0x4e3533[_0x565230(0x238)]({'createEncryptor':function(_0x739c10,_0x6d4de2){const _0x491d57=_0x565230;return this[_0x491d57(0x215)][_0x491d57(0x305)](_0x739c10,_0x6d4de2);},'createDecryptor':function(_0x444cb1,_0x294ade){const _0x257091=_0x565230;return this['Decryptor'][_0x257091(0x305)](_0x444cb1,_0x294ade);},'init':function(_0x26058a,_0x2e2f8f){const _0x887244=_0x565230;this[_0x887244(0x2a5)]=_0x26058a,this[_0x887244(0x60a)]=_0x2e2f8f;}}),_0x5f48aa=_0x2eb16a[_0x565230(0x35b)]=(function(){const _0x363e31=_0x565230;var _0x3e605a=_0x5f291a[_0x363e31(0x238)]();_0x3e605a['Encryptor']=_0x3e605a[_0x363e31(0x238)]({'processBlock':function(_0x561cf6,_0x17e9da){const _0x3df18b=_0x363e31;var _0x5bfd16=this[_0x3df18b(0x2a5)],_0x321ff9=_0x5bfd16['blockSize'];_0x32931e[_0x3df18b(0x5dd)](this,_0x561cf6,_0x17e9da,_0x321ff9),_0x5bfd16[_0x3df18b(0x63e)](_0x561cf6,_0x17e9da),this[_0x3df18b(0x509)]=_0x561cf6['slice'](_0x17e9da,_0x17e9da+_0x321ff9);}}),_0x3e605a['Decryptor']=_0x3e605a['extend']({'processBlock':function(_0x14f3e4,_0x13354d){const _0x52a989=_0x363e31;var _0x59bad9=this['_cipher'],_0x4f7403=_0x59bad9['blockSize'],_0x1e7aa7=_0x14f3e4['slice'](_0x13354d,_0x13354d+_0x4f7403);_0x59bad9[_0x52a989(0x1d6)](_0x14f3e4,_0x13354d),_0x32931e[_0x52a989(0x5dd)](this,_0x14f3e4,_0x13354d,_0x4f7403),this[_0x52a989(0x509)]=_0x1e7aa7;}});function _0x32931e(_0x3e4627,_0x5d0d68,_0x22cfdb){const _0x153f07=_0x363e31;var _0xb2fbcf,_0x224a98=this['_iv'];_0x224a98?(_0xb2fbcf=_0x224a98,this[_0x153f07(0x60a)]=_0x2bf2c1):_0xb2fbcf=this[_0x153f07(0x509)];for(var _0xe8e4aa=0x0;_0xe8e4aa<_0x22cfdb;_0xe8e4aa++)_0x3e4627[_0x5d0d68+_0xe8e4aa]^=_0xb2fbcf[_0xe8e4aa];}return _0x3e605a;}()),_0x38719=_0x2a5209[_0x565230(0x560)]={},_0x4243ba=_0x38719['Pkcs7']={'pad':function(_0x4dddb8,_0x218e2d){const _0x3d9c85=_0x565230;for(var _0x158a83=_0x218e2d*0x4,_0x475061=_0x158a83-_0x4dddb8['sigBytes']%_0x158a83,_0x47cc82=_0x475061<<0x18|_0x475061<<0x10|_0x475061<<0x8|_0x475061,_0x12e031=[],_0x181940=0x0;_0x181940<_0x475061;_0x181940+=0x4)_0x12e031[_0x3d9c85(0x331)](_0x47cc82);var _0x145246=_0x49907c[_0x3d9c85(0x305)](_0x12e031,_0x475061);_0x4dddb8[_0x3d9c85(0x290)](_0x145246);},'unpad':function(_0x143d16){const _0x43f090=_0x565230;var _0x4e523d=_0x143d16[_0x43f090(0x579)][_0x143d16[_0x43f090(0x571)]-0x1>>>0x2]&0xff;_0x143d16[_0x43f090(0x571)]-=_0x4e523d;}};_0x3fe544[_0x565230(0x43b)]=_0x5534cf[_0x565230(0x238)]({'cfg':_0x5534cf['cfg'][_0x565230(0x238)]({'mode':_0x5f48aa,'padding':_0x4243ba}),'reset':function(){const _0x1f4edc=_0x565230;var _0x16f424;_0x5534cf[_0x1f4edc(0x4c8)][_0x1f4edc(0x5dd)](this);var _0x301a45=this[_0x1f4edc(0x559)],_0x529dfe=_0x301a45['iv'],_0x16fb68=_0x301a45[_0x1f4edc(0x4de)];this[_0x1f4edc(0x610)]==this[_0x1f4edc(0x58b)]?_0x16f424=_0x16fb68[_0x1f4edc(0x600)]:(_0x16f424=_0x16fb68[_0x1f4edc(0x5e8)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x1f4edc(0x426)][_0x1f4edc(0x4b9)]==_0x16f424?this[_0x1f4edc(0x426)][_0x1f4edc(0x4c6)](this,_0x529dfe&&_0x529dfe[_0x1f4edc(0x579)]):(this['_mode']=_0x16f424[_0x1f4edc(0x5dd)](_0x16fb68,this,_0x529dfe&&_0x529dfe[_0x1f4edc(0x579)]),this[_0x1f4edc(0x426)][_0x1f4edc(0x4b9)]=_0x16f424);},'_doProcessBlock':function(_0x5a7bdd,_0xdc68cf){const _0x46b4ac=_0x565230;this['_mode'][_0x46b4ac(0x3ae)](_0x5a7bdd,_0xdc68cf);},'_doFinalize':function(){const _0x50efb8=_0x565230;var _0x1a8b1c,_0x159774=this[_0x50efb8(0x559)][_0x50efb8(0x390)];return this[_0x50efb8(0x610)]==this[_0x50efb8(0x58b)]?(_0x159774[_0x50efb8(0x560)](this[_0x50efb8(0x354)],this[_0x50efb8(0x28c)]),_0x1a8b1c=this['_process'](!0x0)):(_0x1a8b1c=this[_0x50efb8(0x3d6)](!0x0),_0x159774[_0x50efb8(0x231)](_0x1a8b1c)),_0x1a8b1c;},'blockSize':0x80/0x20});var _0x5117ae=_0x3fe544['CipherParams']=_0x4e3533[_0x565230(0x238)]({'init':function(_0xa987e7){this['mixIn'](_0xa987e7);},'toString':function(_0x332b68){const _0x339b6d=_0x565230;return(_0x332b68||this['formatter'])[_0x339b6d(0x45e)](this);}}),_0x2a8579=_0x2a5209[_0x565230(0x2db)]={},_0x3f3a6c=_0x2a8579[_0x565230(0x619)]={'stringify':function(_0x22c969){const _0x250eaa=_0x565230;var _0x4f0382,_0x1e5946=_0x22c969['ciphertext'],_0x12c0b6=_0x22c969['salt'];return _0x12c0b6?_0x4f0382=_0x49907c['create']([0x53616c74,0x65645f5f])[_0x250eaa(0x290)](_0x12c0b6)[_0x250eaa(0x290)](_0x1e5946):_0x4f0382=_0x1e5946,_0x4f0382[_0x250eaa(0x3ff)](_0x2997e2);},'parse':function(_0x48ee71){const _0x2b361e=_0x565230;var _0x2b1af9,_0x5399b6=_0x2997e2[_0x2b361e(0x361)](_0x48ee71),_0x508499=_0x5399b6[_0x2b361e(0x579)];return _0x508499[0x0]==0x53616c74&&_0x508499[0x1]==0x65645f5f&&(_0x2b1af9=_0x49907c[_0x2b361e(0x305)](_0x508499['slice'](0x2,0x4)),_0x508499['splice'](0x0,0x4),_0x5399b6[_0x2b361e(0x571)]-=0x10),_0x5117ae[_0x2b361e(0x305)]({'ciphertext':_0x5399b6,'salt':_0x2b1af9});}},_0xf2738f=_0x3fe544[_0x565230(0x583)]=_0x4e3533[_0x565230(0x238)]({'cfg':_0x4e3533[_0x565230(0x238)]({'format':_0x3f3a6c}),'encrypt':function(_0x19d861,_0x1d235f,_0x1be27d,_0x40d861){const _0x97de97=_0x565230;_0x40d861=this[_0x97de97(0x559)][_0x97de97(0x238)](_0x40d861);var _0x54cbb9=_0x19d861[_0x97de97(0x600)](_0x1be27d,_0x40d861),_0x42f31b=_0x54cbb9['finalize'](_0x1d235f),_0x47a09f=_0x54cbb9[_0x97de97(0x559)];return _0x5117ae[_0x97de97(0x305)]({'ciphertext':_0x42f31b,'key':_0x1be27d,'iv':_0x47a09f['iv'],'algorithm':_0x19d861,'mode':_0x47a09f[_0x97de97(0x4de)],'padding':_0x47a09f['padding'],'blockSize':_0x19d861[_0x97de97(0x28c)],'formatter':_0x40d861[_0x97de97(0x2db)]});},'decrypt':function(_0x3f1270,_0x52d576,_0x99cd18,_0x21825e){const _0xd4d6cd=_0x565230;_0x21825e=this[_0xd4d6cd(0x559)][_0xd4d6cd(0x238)](_0x21825e),_0x52d576=this['_parse'](_0x52d576,_0x21825e[_0xd4d6cd(0x2db)]);var _0x15c824=_0x3f1270[_0xd4d6cd(0x5e8)](_0x99cd18,_0x21825e)[_0xd4d6cd(0x33e)](_0x52d576['ciphertext']);return _0x15c824;},'_parse':function(_0x28a41d,_0x4d33df){const _0x1dc87e=_0x565230;return typeof _0x28a41d==_0x1dc87e(0x407)?_0x4d33df[_0x1dc87e(0x361)](_0x28a41d,this):_0x28a41d;}}),_0x121674=_0x2a5209['kdf']={},_0x1db4f6=_0x121674['OpenSSL']={'execute':function(_0xc7caea,_0x8b0e3f,_0x2aa5d0,_0x4f7e05,_0x2bfa2f){const _0x30c0fd=_0x565230;if(_0x4f7e05||(_0x4f7e05=_0x49907c[_0x30c0fd(0x498)](0x40/0x8)),_0x2bfa2f)var _0xcf2236=_0xf8553b[_0x30c0fd(0x305)]({'keySize':_0x8b0e3f+_0x2aa5d0,'hasher':_0x2bfa2f})['compute'](_0xc7caea,_0x4f7e05);else var _0xcf2236=_0xf8553b[_0x30c0fd(0x305)]({'keySize':_0x8b0e3f+_0x2aa5d0})[_0x30c0fd(0x4ed)](_0xc7caea,_0x4f7e05);var _0x402549=_0x49907c[_0x30c0fd(0x305)](_0xcf2236['words']['slice'](_0x8b0e3f),_0x2aa5d0*0x4);return _0xcf2236[_0x30c0fd(0x571)]=_0x8b0e3f*0x4,_0x5117ae[_0x30c0fd(0x305)]({'key':_0xcf2236,'iv':_0x402549,'salt':_0x4f7e05});}},_0x3b93d7=_0x3fe544[_0x565230(0x419)]=_0xf2738f[_0x565230(0x238)]({'cfg':_0xf2738f[_0x565230(0x559)][_0x565230(0x238)]({'kdf':_0x1db4f6}),'encrypt':function(_0xb17513,_0x37b017,_0x2f6943,_0x20ab5f){const _0x174874=_0x565230;_0x20ab5f=this[_0x174874(0x559)][_0x174874(0x238)](_0x20ab5f);var _0x49eba8=_0x20ab5f[_0x174874(0x665)][_0x174874(0x592)](_0x2f6943,_0xb17513['keySize'],_0xb17513[_0x174874(0x1cf)],_0x20ab5f[_0x174874(0x2d9)],_0x20ab5f[_0x174874(0x4af)]);_0x20ab5f['iv']=_0x49eba8['iv'];var _0xe0bf6a=_0xf2738f['encrypt'][_0x174874(0x5dd)](this,_0xb17513,_0x37b017,_0x49eba8['key'],_0x20ab5f);return _0xe0bf6a['mixIn'](_0x49eba8),_0xe0bf6a;},'decrypt':function(_0x48bd32,_0x373bad,_0x7b5a16,_0x388ec1){const _0x26c064=_0x565230;_0x388ec1=this[_0x26c064(0x559)][_0x26c064(0x238)](_0x388ec1),_0x373bad=this[_0x26c064(0x5b3)](_0x373bad,_0x388ec1[_0x26c064(0x2db)]);var _0x11fb6f=_0x388ec1[_0x26c064(0x665)][_0x26c064(0x592)](_0x7b5a16,_0x48bd32[_0x26c064(0x2b3)],_0x48bd32[_0x26c064(0x1cf)],_0x373bad['salt'],_0x388ec1[_0x26c064(0x4af)]);_0x388ec1['iv']=_0x11fb6f['iv'];var _0x470105=_0xf2738f['decrypt'][_0x26c064(0x5dd)](this,_0x48bd32,_0x373bad,_0x11fb6f[_0x26c064(0x656)],_0x388ec1);return _0x470105;}});}();}));}(ft)),ft[_0x3fa6f3(0x62e)];}(function(_0xab7edb,_0x45ad9b){(function(_0x3e7cf9,_0x544147,_0x5ad830){const _0x37400b=_0x1e8f;_0xab7edb[_0x37400b(0x62e)]=_0x544147(oe(),On(),cr(),Dn(),wn());}(X,function(_0x32201a){const _0xb89248=_0x1e8f;return(function(){const _0x26c8d3=_0x1e8f;var _0x4eb3e1=_0x32201a,_0x6333fc=_0x4eb3e1['lib'],_0x1f2cc6=_0x6333fc[_0x26c8d3(0x43b)],_0x2260c4=_0x4eb3e1[_0x26c8d3(0x35a)],_0x6e4971=[],_0x1d45ba=[],_0x13a5a4=[],_0x4fd18e=[],_0x1fe94d=[],_0x41cdef=[],_0x54d107=[],_0x36baae=[],_0x2df43c=[],_0xee6250=[];(function(){for(var _0x26a1ae=[],_0x587975=0x0;_0x587975<0x100;_0x587975++)_0x587975<0x80?_0x26a1ae[_0x587975]=_0x587975<<0x1:_0x26a1ae[_0x587975]=_0x587975<<0x1^0x11b;for(var _0x285158=0x0,_0xab8849=0x0,_0x587975=0x0;_0x587975<0x100;_0x587975++){var _0xd32cca=_0xab8849^_0xab8849<<0x1^_0xab8849<<0x2^_0xab8849<<0x3^_0xab8849<<0x4;_0xd32cca=_0xd32cca>>>0x8^_0xd32cca&0xff^0x63,_0x6e4971[_0x285158]=_0xd32cca,_0x1d45ba[_0xd32cca]=_0x285158;var _0x19bb04=_0x26a1ae[_0x285158],_0x1ffc49=_0x26a1ae[_0x19bb04],_0x3a6c74=_0x26a1ae[_0x1ffc49],_0x435d63=_0x26a1ae[_0xd32cca]*0x101^_0xd32cca*0x1010100;_0x13a5a4[_0x285158]=_0x435d63<<0x18|_0x435d63>>>0x8,_0x4fd18e[_0x285158]=_0x435d63<<0x10|_0x435d63>>>0x10,_0x1fe94d[_0x285158]=_0x435d63<<0x8|_0x435d63>>>0x18,_0x41cdef[_0x285158]=_0x435d63;var _0x435d63=_0x3a6c74*0x1010101^_0x1ffc49*0x10001^_0x19bb04*0x101^_0x285158*0x1010100;_0x54d107[_0xd32cca]=_0x435d63<<0x18|_0x435d63>>>0x8,_0x36baae[_0xd32cca]=_0x435d63<<0x10|_0x435d63>>>0x10,_0x2df43c[_0xd32cca]=_0x435d63<<0x8|_0x435d63>>>0x18,_0xee6250[_0xd32cca]=_0x435d63,_0x285158?(_0x285158=_0x19bb04^_0x26a1ae[_0x26a1ae[_0x26a1ae[_0x3a6c74^_0x19bb04]]],_0xab8849^=_0x26a1ae[_0x26a1ae[_0xab8849]]):_0x285158=_0xab8849=0x1;}}());var _0x374317=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x50f3b9=_0x2260c4[_0x26c8d3(0x5d7)]=_0x1f2cc6['extend']({'_doReset':function(){const _0x49c6d1=_0x26c8d3;var _0x527ed9;if(!(this[_0x49c6d1(0x5d8)]&&this[_0x49c6d1(0x666)]===this[_0x49c6d1(0x493)])){for(var _0x4a00ba=this[_0x49c6d1(0x666)]=this['_key'],_0x5a3851=_0x4a00ba[_0x49c6d1(0x579)],_0x363955=_0x4a00ba[_0x49c6d1(0x571)]/0x4,_0x251dd5=this[_0x49c6d1(0x5d8)]=_0x363955+0x6,_0x4c6c49=(_0x251dd5+0x1)*0x4,_0x60eb61=this['_keySchedule']=[],_0x333eb0=0x0;_0x333eb0<_0x4c6c49;_0x333eb0++)_0x333eb0<_0x363955?_0x60eb61[_0x333eb0]=_0x5a3851[_0x333eb0]:(_0x527ed9=_0x60eb61[_0x333eb0-0x1],_0x333eb0%_0x363955?_0x363955>0x6&&_0x333eb0%_0x363955==0x4&&(_0x527ed9=_0x6e4971[_0x527ed9>>>0x18]<<0x18|_0x6e4971[_0x527ed9>>>0x10&0xff]<<0x10|_0x6e4971[_0x527ed9>>>0x8&0xff]<<0x8|_0x6e4971[_0x527ed9&0xff]):(_0x527ed9=_0x527ed9<<0x8|_0x527ed9>>>0x18,_0x527ed9=_0x6e4971[_0x527ed9>>>0x18]<<0x18|_0x6e4971[_0x527ed9>>>0x10&0xff]<<0x10|_0x6e4971[_0x527ed9>>>0x8&0xff]<<0x8|_0x6e4971[_0x527ed9&0xff],_0x527ed9^=_0x374317[_0x333eb0/_0x363955|0x0]<<0x18),_0x60eb61[_0x333eb0]=_0x60eb61[_0x333eb0-_0x363955]^_0x527ed9);for(var _0x410f0f=this[_0x49c6d1(0x43a)]=[],_0x2f79a7=0x0;_0x2f79a7<_0x4c6c49;_0x2f79a7++){var _0x333eb0=_0x4c6c49-_0x2f79a7;if(_0x2f79a7%0x4)var _0x527ed9=_0x60eb61[_0x333eb0];else var _0x527ed9=_0x60eb61[_0x333eb0-0x4];_0x2f79a7<0x4||_0x333eb0<=0x4?_0x410f0f[_0x2f79a7]=_0x527ed9:_0x410f0f[_0x2f79a7]=_0x54d107[_0x6e4971[_0x527ed9>>>0x18]]^_0x36baae[_0x6e4971[_0x527ed9>>>0x10&0xff]]^_0x2df43c[_0x6e4971[_0x527ed9>>>0x8&0xff]]^_0xee6250[_0x6e4971[_0x527ed9&0xff]];}}},'encryptBlock':function(_0x3fbeca,_0x141edc){const _0x4b2e31=_0x26c8d3;this[_0x4b2e31(0x58d)](_0x3fbeca,_0x141edc,this[_0x4b2e31(0x4dd)],_0x13a5a4,_0x4fd18e,_0x1fe94d,_0x41cdef,_0x6e4971);},'decryptBlock':function(_0x36d9ab,_0x2789c3){const _0x1153dc=_0x26c8d3;var _0x312e1a=_0x36d9ab[_0x2789c3+0x1];_0x36d9ab[_0x2789c3+0x1]=_0x36d9ab[_0x2789c3+0x3],_0x36d9ab[_0x2789c3+0x3]=_0x312e1a,this['_doCryptBlock'](_0x36d9ab,_0x2789c3,this[_0x1153dc(0x43a)],_0x54d107,_0x36baae,_0x2df43c,_0xee6250,_0x1d45ba);var _0x312e1a=_0x36d9ab[_0x2789c3+0x1];_0x36d9ab[_0x2789c3+0x1]=_0x36d9ab[_0x2789c3+0x3],_0x36d9ab[_0x2789c3+0x3]=_0x312e1a;},'_doCryptBlock':function(_0x575567,_0x210ef6,_0x4f5df8,_0x21868d,_0x34f0cf,_0x26ba04,_0x421830,_0x2e753e){for(var _0x468b39=this['_nRounds'],_0x5d67f2=_0x575567[_0x210ef6]^_0x4f5df8[0x0],_0x31e8e4=_0x575567[_0x210ef6+0x1]^_0x4f5df8[0x1],_0x3001a4=_0x575567[_0x210ef6+0x2]^_0x4f5df8[0x2],_0x103aa9=_0x575567[_0x210ef6+0x3]^_0x4f5df8[0x3],_0x2deb62=0x4,_0x339834=0x1;_0x339834<_0x468b39;_0x339834++){var _0xff2413=_0x21868d[_0x5d67f2>>>0x18]^_0x34f0cf[_0x31e8e4>>>0x10&0xff]^_0x26ba04[_0x3001a4>>>0x8&0xff]^_0x421830[_0x103aa9&0xff]^_0x4f5df8[_0x2deb62++],_0x30117b=_0x21868d[_0x31e8e4>>>0x18]^_0x34f0cf[_0x3001a4>>>0x10&0xff]^_0x26ba04[_0x103aa9>>>0x8&0xff]^_0x421830[_0x5d67f2&0xff]^_0x4f5df8[_0x2deb62++],_0x2447a4=_0x21868d[_0x3001a4>>>0x18]^_0x34f0cf[_0x103aa9>>>0x10&0xff]^_0x26ba04[_0x5d67f2>>>0x8&0xff]^_0x421830[_0x31e8e4&0xff]^_0x4f5df8[_0x2deb62++],_0x43f6cb=_0x21868d[_0x103aa9>>>0x18]^_0x34f0cf[_0x5d67f2>>>0x10&0xff]^_0x26ba04[_0x31e8e4>>>0x8&0xff]^_0x421830[_0x3001a4&0xff]^_0x4f5df8[_0x2deb62++];_0x5d67f2=_0xff2413,_0x31e8e4=_0x30117b,_0x3001a4=_0x2447a4,_0x103aa9=_0x43f6cb;}var _0xff2413=(_0x2e753e[_0x5d67f2>>>0x18]<<0x18|_0x2e753e[_0x31e8e4>>>0x10&0xff]<<0x10|_0x2e753e[_0x3001a4>>>0x8&0xff]<<0x8|_0x2e753e[_0x103aa9&0xff])^_0x4f5df8[_0x2deb62++],_0x30117b=(_0x2e753e[_0x31e8e4>>>0x18]<<0x18|_0x2e753e[_0x3001a4>>>0x10&0xff]<<0x10|_0x2e753e[_0x103aa9>>>0x8&0xff]<<0x8|_0x2e753e[_0x5d67f2&0xff])^_0x4f5df8[_0x2deb62++],_0x2447a4=(_0x2e753e[_0x3001a4>>>0x18]<<0x18|_0x2e753e[_0x103aa9>>>0x10&0xff]<<0x10|_0x2e753e[_0x5d67f2>>>0x8&0xff]<<0x8|_0x2e753e[_0x31e8e4&0xff])^_0x4f5df8[_0x2deb62++],_0x43f6cb=(_0x2e753e[_0x103aa9>>>0x18]<<0x18|_0x2e753e[_0x5d67f2>>>0x10&0xff]<<0x10|_0x2e753e[_0x31e8e4>>>0x8&0xff]<<0x8|_0x2e753e[_0x3001a4&0xff])^_0x4f5df8[_0x2deb62++];_0x575567[_0x210ef6]=_0xff2413,_0x575567[_0x210ef6+0x1]=_0x30117b,_0x575567[_0x210ef6+0x2]=_0x2447a4,_0x575567[_0x210ef6+0x3]=_0x43f6cb;},'keySize':0x100/0x20});_0x4eb3e1['AES']=_0x1f2cc6['_createHelper'](_0x50f3b9);}()),_0x32201a[_0xb89248(0x5d7)];}));}(yn));var _r=yn['exports'];const ur=xe(_r);var dr=On();const Xt=xe(dr);var Pn={'exports':{}};(function(_0x2a55f1,_0x3ce459){(function(_0x149036,_0x4e3046){const _0x32a085=_0x1e8f;_0x2a55f1[_0x32a085(0x62e)]=_0x4e3046(oe());}(X,function(_0x387d89){const _0x1ab35e=_0x1e8f;return _0x387d89[_0x1ab35e(0x411)][_0x1ab35e(0x244)];}));}(Pn));var fr=Pn['exports'];const vr=xe(fr);var Un={'exports':{}};(function(_0x5dd9b2,_0x334d48){(function(_0x4c804b,_0x19bf24){_0x5dd9b2['exports']=_0x19bf24(oe());}(X,function(_0x357ca5){return(function(){const _0x5188f0=_0x1e8f;if(typeof ArrayBuffer==_0x5188f0(0x3b2)){var _0xe52778=_0x357ca5,_0x355580=_0xe52778[_0x5188f0(0x2d4)],_0x55e289=_0x355580['WordArray'],_0x4913cf=_0x55e289[_0x5188f0(0x4c6)],_0x2b0b29=_0x55e289[_0x5188f0(0x4c6)]=function(_0x2ded38){const _0x32ff83=_0x5188f0;if(_0x2ded38 instanceof ArrayBuffer&&(_0x2ded38=new Uint8Array(_0x2ded38)),(_0x2ded38 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2ded38 instanceof Uint8ClampedArray||_0x2ded38 instanceof Int16Array||_0x2ded38 instanceof Uint16Array||_0x2ded38 instanceof Int32Array||_0x2ded38 instanceof Uint32Array||_0x2ded38 instanceof Float32Array||_0x2ded38 instanceof Float64Array)&&(_0x2ded38=new Uint8Array(_0x2ded38[_0x32ff83(0x367)],_0x2ded38[_0x32ff83(0x2ab)],_0x2ded38['byteLength'])),_0x2ded38 instanceof Uint8Array){for(var _0x2453b7=_0x2ded38[_0x32ff83(0x644)],_0x1bc7d1=[],_0x52c484=0x0;_0x52c484<_0x2453b7;_0x52c484++)_0x1bc7d1[_0x52c484>>>0x2]|=_0x2ded38[_0x52c484]<<0x18-_0x52c484%0x4*0x8;_0x4913cf['call'](this,_0x1bc7d1,_0x2453b7);}else _0x4913cf[_0x32ff83(0x2af)](this,arguments);};_0x2b0b29[_0x5188f0(0x2a0)]=_0x55e289;}}()),_0x357ca5['lib']['WordArray'];}));}(Un));var Sr=Un[_0x3c9859(0x62e)];const pr=xe(Sr);var Mn={'exports':{}};(function(_0x905c65,_0x500ecd){(function(_0x4dd1fa,_0x2927ec,_0x3bf418){const _0x373568=_0x1e8f;_0x905c65[_0x373568(0x62e)]=_0x2927ec(oe(),wn());}(X,function(_0x51b4d3){const _0x1968c3=_0x1e8f;return _0x51b4d3[_0x1968c3(0x560)][_0x1968c3(0x2ac)]={'pad':function(){},'unpad':function(){}},_0x51b4d3[_0x1968c3(0x560)][_0x1968c3(0x2ac)];}));}(Mn));var mr=Mn[_0x3c9859(0x62e)];const gr=xe(mr);function Ir(_0x4827ac,_0x185d59){const _0x255895=_0x3c9859,_0x232e7b=_0x185d59-_0x4827ac[_0x255895(0x3a7)]%_0x185d59,_0x5390b9=String['fromCharCode'](_0x232e7b)[_0x255895(0x491)](_0x232e7b);return _0x4827ac+_0x5390b9;}function Cr(_0xe1e352,_0x4a3056){const _0xd8d4a8=_0x3c9859,_0x3361bf=pr[_0xd8d4a8(0x498)](0x10),_0x48fd7e=Ir(_0xe1e352,0x10),_0x59a06d=ur[_0xd8d4a8(0x379)](vr[_0xd8d4a8(0x361)](_0x48fd7e),Xt[_0xd8d4a8(0x361)](_0x4a3056),{'iv':_0x3361bf,'padding':gr});return _0x3361bf[_0xd8d4a8(0x290)](_0x59a06d[_0xd8d4a8(0x3d0)])[_0xd8d4a8(0x3ff)](Xt);}function Er(){const _0x2ef965=_0x3c9859,_0x294cf9=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2ef965(0x3dd)];if(_0x294cf9){const _0x147cae={'time':Math[_0x2ef965(0x5d9)](Date['now']()/0x3e8),'domain':location['hostname']};return Cr(JSON['stringify'](_0x147cae),_0x294cf9);}}var br=Object[_0x3c9859(0x2aa)],Tr=Object[_0x3c9859(0x353)],Rr=(_0x593d01,_0x33c24f,_0x5aff7e,_0x5d7736)=>{const _0x44da8b=_0x3c9859;for(var _0x47f987=_0x5d7736>0x1?void 0x0:_0x5d7736?Tr(_0x33c24f,_0x5aff7e):_0x33c24f,_0x2800d4=_0x593d01[_0x44da8b(0x3a7)]-0x1,_0x7e6354;_0x2800d4>=0x0;_0x2800d4--)(_0x7e6354=_0x593d01[_0x2800d4])&&(_0x47f987=(_0x5d7736?_0x7e6354(_0x33c24f,_0x5aff7e,_0x47f987):_0x7e6354(_0x47f987))||_0x47f987);return _0x5d7736&&_0x47f987&&br(_0x33c24f,_0x5aff7e,_0x47f987),_0x47f987;},yr=(_0x5f3b92,_0x5f2f2c)=>(_0x4e543a,_0x22c945)=>_0x5f2f2c(_0x4e543a,_0x22c945,_0x5f3b92);let Ye=class{constructor(_0x726fe){const _0x2c2bd4=_0x3c9859;this[_0x2c2bd4(0x53c)]=_0x726fe,this[_0x2c2bd4(0x429)]();}[_0x3c9859(0x429)](){const _0x5c0288=_0x3c9859;this[_0x5c0288(0x53c)][_0x5c0288(0x568)]({'interceptor':(_0x979511,_0x9b82f)=>{const _0x54211f=_0x5c0288,_0x138a54=_0x979511[_0x54211f(0x57d)],_0x19ac35=Er();return _0x19ac35&&_0x138a54[_0x54211f(0x61d)](_0x54211f(0x523),_0x19ac35),_0x9b82f(_0x979511);}});}};Ye=Rr([yr(0x0,a[_0x3c9859(0x288)](J['HTTPService']))],Ye);var Or=Object['defineProperty'],Dr=Object[_0x3c9859(0x353)],wr=(_0x3a4dbe,_0x16b04f,_0x49211a,_0x181be8)=>{for(var _0x513f92=_0x181be8>0x1?void 0x0:_0x181be8?Dr(_0x16b04f,_0x49211a):_0x16b04f,_0x2ff202=_0x3a4dbe['length']-0x1,_0x365b4e;_0x2ff202>=0x0;_0x2ff202--)(_0x365b4e=_0x3a4dbe[_0x2ff202])&&(_0x513f92=(_0x181be8?_0x365b4e(_0x16b04f,_0x49211a,_0x513f92):_0x365b4e(_0x513f92))||_0x513f92);return _0x181be8&&_0x513f92&&Or(_0x16b04f,_0x49211a,_0x513f92),_0x513f92;},vt=(_0x15de1a,_0x1939fb)=>(_0x1b47b9,_0x169c83)=>_0x1939fb(_0x1b47b9,_0x169c83,_0x15de1a);const Pr=[_0x3c9859(0x309),_0x3c9859(0x5c5),_0x3c9859(0x56f),_0x3c9859(0x2fb),'image/bmp'],Ur=0x5*0x400*0x400,Mr=_0x3c9859(0x673),Ar=_0x3c9859(0x52c),Nr='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Lr=_0x3c9859(0x494);exports[_0x3c9859(0x27e)]=class{constructor(_0xe9f984,_0x4aa2d4,_0x37ccfa){const _0x53de4a=_0x3c9859;I(this,_0x53de4a(0x56a),0x0),I(this,_0x53de4a(0x542),new A[(_0x53de4a(0x2d8))]()),I(this,'change$',this[_0x53de4a(0x542)]),I(this,_0x53de4a(0x4d6),new Map()),(this['_httpService']=_0xe9f984,this['_configService']=_0x4aa2d4,this[_0x53de4a(0x4a5)]=_0x37ccfa);}[_0x3c9859(0x405)](_0x522385){const _0x260643=_0x3c9859;this[_0x260643(0x56a)]=_0x522385,this['_change$']['next'](_0x522385);}[_0x3c9859(0x33b)](_0x30dbfd,_0x5f2999){const _0x31869f=_0x3c9859;if(_0x5f2999===ne[_0x31869f(0x432)][_0x31869f(0x2ae)]){const _0x335f9d=new Image();return _0x335f9d[_0x31869f(0x30c)]=_0x30dbfd,_0x335f9d;}return this[_0x31869f(0x4d6)]['get'](_0x30dbfd);}['addImageSourceCache'](_0x4bb5c3,_0x412bee,_0x4e7036){const _0x3736f8=_0x3c9859;_0x412bee===ne[_0x3736f8(0x432)][_0x3736f8(0x2ae)]||_0x4e7036==null||this['_imageSourceCache'][_0x3736f8(0x61d)](_0x4bb5c3,_0x4e7036);}async[_0x3c9859(0x502)](_0x3677d6){const _0x5a7b1c=_0x3c9859;try{const _0xc7532d=this[_0x5a7b1c(0x63a)](this[_0x5a7b1c(0x383)](),''+_0x3677d6),_0x35e254=(await this[_0x5a7b1c(0x53c)][_0x5a7b1c(0x58c)](_0xc7532d))[_0x5a7b1c(0x1e0)];if(_0x35e254[_0x5a7b1c(0x581)]&&_0x35e254[_0x5a7b1c(0x581)][_0x5a7b1c(0x608)]===cn['OK']){const _0x2bd736=new URL(_0x35e254[_0x5a7b1c(0x473)],this[_0x5a7b1c(0x5a2)]())[_0x5a7b1c(0x3ff)]();return Promise[_0x5a7b1c(0x50d)](_0x2bd736);}return Promise[_0x5a7b1c(0x29a)](_0x35e254[_0x5a7b1c(0x581)]);}catch(_0x9e6e1f){return Promise[_0x5a7b1c(0x29a)](_0x9e6e1f);}}async['saveImage'](_0x313d09){const _0x9c06f8=_0x3c9859;let _0x3f273f='';if(!Pr[_0x9c06f8(0x372)](_0x313d09['type']))return this['_decreaseWaiting'](),Promise[_0x9c06f8(0x29a)](new Error(ne['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x313d09[_0x9c06f8(0x4cd)]>Ur)return this['_decreaseWaiting'](),Promise[_0x9c06f8(0x29a)](new Error(ne['ImageUploadStatusType'][_0x9c06f8(0x572)]));try{const _0x14bdd3=new FormData();_0x14bdd3['append'](_0x9c06f8(0x518),_0x313d09);const _0x4d9c3e=this['_univerInstanceService']['getFocusedUnit'](),_0x36d280=_0x4d9c3e==null?void 0x0:_0x4d9c3e[_0x9c06f8(0x216)]();if(!_0x36d280)throw new Error(_0x9c06f8(0x4a6));const _0x1f1779=this[_0x9c06f8(0x1ed)]()+_0x9c06f8(0x3f2)+_0x313d09[_0x9c06f8(0x4cd)][_0x9c06f8(0x3ff)]()+_0x9c06f8(0x314)+ln['UnitEmbedded']+_0x9c06f8(0x623)+encodeURIComponent(_0x36d280),_0x485d11=await(await fetch(_0x1f1779,{'method':_0x9c06f8(0x378),'body':_0x14bdd3}))['json']();if(typeof _0x485d11['FileId']!=_0x9c06f8(0x407))return this[_0x9c06f8(0x3c2)](),Promise[_0x9c06f8(0x29a)](new Error(ne[_0x9c06f8(0x28f)][_0x9c06f8(0x471)]));_0x3f273f=_0x485d11['FileId'];}catch{return this[_0x9c06f8(0x3c2)](),Promise[_0x9c06f8(0x29a)](new Error(ne['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x44bad6,_0x57917a)=>{const _0x16fa69=_0x9c06f8,_0x156ca6=new FileReader();_0x156ca6[_0x16fa69(0x475)](_0x313d09),_0x156ca6[_0x16fa69(0x461)]=_0x567448=>{const _0x16cef1=_0x16fa69;var _0x3185b6;const _0x1b2add=(_0x3185b6=_0x567448[_0x16cef1(0x495)])==null?void 0x0:_0x3185b6[_0x16cef1(0x246)];if(_0x1b2add==null){this[_0x16cef1(0x3c2)](),_0x57917a(new Error(ne[_0x16cef1(0x28f)][_0x16cef1(0x471)]));return;}const _0xf28e44=a[_0x16cef1(0x357)][_0x16cef1(0x2a2)](0x6);_0x44bad6({'imageId':_0xf28e44,'imageSourceType':ne[_0x16cef1(0x432)]['UUID'],'source':_0x3f273f,'base64Cache':_0x1b2add,'status':ne['ImageUploadStatusType']['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x3c9859(0x1ed)](){const _0x20eded=_0x3c9859;var _0x59bfdb,_0x53acfa;const _0x205830=this[_0x20eded(0x329)]['getConfig'](Mr),_0x40556a=this[_0x20eded(0x329)]['getConfig'](ee);return(_0x53acfa=(_0x59bfdb=_0x40556a==null?void 0x0:_0x40556a['uploadFileServerUrl'])!=null?_0x59bfdb:_0x205830)!=null?_0x53acfa:Ar;}[_0x3c9859(0x383)](){const _0x31f6d9=_0x3c9859;var _0xa87686,_0x5f5135;const _0x23945c=this[_0x31f6d9(0x329)]['getConfig'](Nr),_0x353f82=this[_0x31f6d9(0x329)]['getConfig'](ee);return(_0x5f5135=(_0xa87686=_0x353f82==null?void 0x0:_0x353f82[_0x31f6d9(0x278)])!=null?_0xa87686:_0x23945c)!=null?_0x5f5135:Lr;}[_0x3c9859(0x5a2)](){const _0xd08f3f=_0x3c9859;var _0x5dd153;const _0x586fef=this[_0xd08f3f(0x329)]['getConfig'](ee);return(_0x5dd153=_0x586fef==null?void 0x0:_0x586fef[_0xd08f3f(0x2e1)])!=null?_0x5dd153:location[_0xd08f3f(0x5a5)];}[_0x3c9859(0x63a)](_0x5b7769,_0x20626b){return _0x5b7769['replace']('{fileID}',_0x20626b);}[_0x3c9859(0x3c2)](){const _0x1af215=_0x3c9859;this[_0x1af215(0x56a)]-=0x1,this[_0x1af215(0x542)][_0x1af215(0x4a4)](this[_0x1af215(0x56a)]);}},exports[_0x3c9859(0x27e)]=wr([vt(0x0,a[_0x3c9859(0x288)](J[_0x3c9859(0x362)])),vt(0x1,a[_0x3c9859(0x5fd)]),vt(0x2,a[_0x3c9859(0x288)](a[_0x3c9859(0x671)]))],exports[_0x3c9859(0x27e)]);var xr=Object[_0x3c9859(0x2aa)],jr=Object[_0x3c9859(0x353)],$r=(_0xcde7ad,_0x1c43ed,_0x3364f4,_0x228d1d)=>{const _0x42cac7=_0x3c9859;for(var _0x289fea=_0x228d1d>0x1?void 0x0:_0x228d1d?jr(_0x1c43ed,_0x3364f4):_0x1c43ed,_0x25b188=_0xcde7ad[_0x42cac7(0x3a7)]-0x1,_0xeb7850;_0x25b188>=0x0;_0x25b188--)(_0xeb7850=_0xcde7ad[_0x25b188])&&(_0x289fea=(_0x228d1d?_0xeb7850(_0x1c43ed,_0x3364f4,_0x289fea):_0xeb7850(_0x289fea))||_0x289fea);return _0x228d1d&&_0x289fea&&xr(_0x1c43ed,_0x3364f4,_0x289fea),_0x289fea;},Ae=(_0x2754ef,_0x77f91c)=>(_0x4b8225,_0x31a698)=>_0x77f91c(_0x4b8225,_0x31a698,_0x2754ef);let Ke=class extends a['RxDisposable']{constructor(_0x41a360,_0x5aac69,_0x12e631,_0x3dc194,_0x531646){const _0x1419e3=_0x3c9859;super(),this[_0x1419e3(0x2fc)]=_0x41a360,this[_0x1419e3(0x4a5)]=_0x5aac69,this[_0x1419e3(0x43c)]=_0x12e631,this[_0x1419e3(0x658)]=_0x3dc194,this[_0x1419e3(0x224)]=_0x531646,this['_initUnitPermissionChange'](),this[_0x1419e3(0x448)]();}[_0x3c9859(0x448)](){const _0x3a7a2b=_0x3c9859,_0x1d65a4=async _0x232c62=>{const _0x1fb976=_0x1e8f;(await this['_collaborationSessionService'][_0x1fb976(0x2c4)](_0x232c62))['event$']['pipe'](V[_0x1fb976(0x46b)](_0x3f866f=>_0x3f866f['eventID']===p[_0x1fb976(0x4dc)][_0x1fb976(0x47a)]),V[_0x1fb976(0x2d1)](this[_0x1fb976(0x376)]))[_0x1fb976(0x4c3)](_0x460d2e=>{const _0xbdec7a=_0x1fb976,_0x43f44a=_0x460d2e,{reason:_0xa15321}=_0x43f44a[_0xbdec7a(0x650)];this[_0xbdec7a(0x2fc)][_0xbdec7a(0x58c)](te[_0xbdec7a(0x436)])[_0xbdec7a(0x38c)]({'type':Ie['MessageType']['Error'],'content':this[_0xbdec7a(0x224)]['t'](_0xbdec7a(0x64e))+'('+_0xa15321+')'}),this[_0xbdec7a(0x43c)][_0xbdec7a(0x2a6)](new B[(_0xbdec7a(0x226))](_0x232c62)['id'],!0x1),this['_collaborationSessionService'][_0xbdec7a(0x618)](_0x232c62);});};A['merge'](this[_0x3a7a2b(0x4a5)]['getTypeOfUnitAdded$'](a[_0x3a7a2b(0x51d)][_0x3a7a2b(0x1e9)]),this[_0x3a7a2b(0x4a5)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x3a7a2b(0x254)]))['pipe'](V[_0x3a7a2b(0x2c6)](_0x313d3a=>_0x313d3a[_0x3a7a2b(0x216)]()),V[_0x3a7a2b(0x46b)](_0x3b4f51=>!a[_0x3a7a2b(0x24d)](_0x3b4f51)),V[_0x3a7a2b(0x2d1)](this[_0x3a7a2b(0x376)]))[_0x3a7a2b(0x4c3)](_0x1c1a83=>{_0x1d65a4(_0x1c1a83);});}[_0x3c9859(0x385)](){const _0x4373f2=_0x3c9859,_0x32a8cb=async _0x2b7fbd=>{const _0x2e7d66=_0x1e8f;(await this['_collaborationSessionService'][_0x2e7d66(0x2c4)](_0x2b7fbd))[_0x2e7d66(0x284)][_0x2e7d66(0x232)](V[_0x2e7d66(0x46b)](_0x13ce77=>_0x13ce77[_0x2e7d66(0x227)]===p['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x2e7d66(0x2d1)](this[_0x2e7d66(0x376)]))[_0x2e7d66(0x4c3)](_0x226569=>{const _0x4621c2=_0x2e7d66,_0x52ffa5=_0x226569,{objectId:_0x58108c}=_0x52ffa5[_0x4621c2(0x650)],_0xb3cbf0=this[_0x4621c2(0x2fc)][_0x4621c2(0x58c)](Re[_0x4621c2(0x459)]);_0x58108c===_0x2b7fbd?_0xb3cbf0['initWorkbookPermissionChange'](_0x2b7fbd):_0xb3cbf0[_0x4621c2(0x37c)](_0x2b7fbd,_0x58108c);});};A[_0x4373f2(0x3bf)](this[_0x4373f2(0x4a5)][_0x4373f2(0x21d)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x4373f2(0x4a5)][_0x4373f2(0x21d)](a['UniverInstanceType'][_0x4373f2(0x254)]))[_0x4373f2(0x232)](V[_0x4373f2(0x2c6)](_0x268c07=>_0x268c07[_0x4373f2(0x216)]()),V[_0x4373f2(0x46b)](_0x2fdd92=>!a['isInternalEditorID'](_0x2fdd92)),V[_0x4373f2(0x2d1)](this[_0x4373f2(0x376)]))['subscribe'](_0x36d5cf=>{_0x32a8cb(_0x36d5cf);});}};Ke=$r([Ae(0x0,a[_0x3c9859(0x288)](a[_0x3c9859(0x218)])),Ae(0x1,a[_0x3c9859(0x671)]),Ae(0x2,a[_0x3c9859(0x431)]),Ae(0x3,a[_0x3c9859(0x288)](exports[_0x3c9859(0x5bf)])),Ae(0x4,a[_0x3c9859(0x288)](a[_0x3c9859(0x295)]))],Ke);var Hr=Object[_0x3c9859(0x2aa)],kr=Object['getOwnPropertyDescriptor'],Br=(_0x1e75cc,_0x3fde70,_0x2fac4b,_0x2570c7)=>{const _0xc088ba=_0x3c9859;for(var _0x638b83=_0x2570c7>0x1?void 0x0:_0x2570c7?kr(_0x3fde70,_0x2fac4b):_0x3fde70,_0xc65298=_0x1e75cc[_0xc088ba(0x3a7)]-0x1,_0x39856b;_0xc65298>=0x0;_0xc65298--)(_0x39856b=_0x1e75cc[_0xc65298])&&(_0x638b83=(_0x2570c7?_0x39856b(_0x3fde70,_0x2fac4b,_0x638b83):_0x39856b(_0x638b83))||_0x638b83);return _0x2570c7&&_0x638b83&&Hr(_0x3fde70,_0x2fac4b,_0x638b83),_0x638b83;},Jt=(_0xb3f99c,_0x4b521c)=>(_0x441a25,_0x29cef8)=>_0x4b521c(_0x441a25,_0x29cef8,_0xb3f99c);exports[_0x3c9859(0x281)]=class{constructor(_0x3bfb04,_0x2a7b08){const _0x597164=_0x3c9859;this[_0x597164(0x329)]=_0x3bfb04,this[_0x597164(0x53c)]=_0x2a7b08;}async[_0x3c9859(0x496)](_0x1e5d7c,_0x310549){const _0x24481a=_0x3c9859;var _0x599b9f;const {unitID:_0xf61e14,type:_0x486f80,revision:_0x50d1c1=0x0}=_0x310549,_0x45ce30=this['_getSnapshotAPIPrefix']()+'/'+_0x486f80+_0x24481a(0x2f7)+_0xf61e14+_0x24481a(0x28a)+_0x50d1c1,_0x500436=(await this[_0x24481a(0x53c)][_0x24481a(0x58c)](_0x45ce30))['body'],_0x42b839=(_0x599b9f=_0x500436['snapshot'])==null?void 0x0:_0x599b9f[_0x24481a(0x39b)];if(_0x42b839){const _0x223d8a=_0x42b839==null?void 0x0:_0x42b839['originalMeta'],_0x1bf702=p[_0x24481a(0x4c2)][_0x24481a(0x541)](p[_0x24481a(0x252)](_0x223d8a));_0x42b839[_0x24481a(0x283)]=_0x1bf702,Object[_0x24481a(0x5a3)](_0x42b839[_0x24481a(0x4ca)])[_0x24481a(0x4d1)](([,_0x2648fd])=>{const _0xa62f82=_0x24481a,_0x881831=_0x2648fd[_0xa62f82(0x283)],_0x382198=p[_0xa62f82(0x4c2)][_0xa62f82(0x541)](p[_0xa62f82(0x252)](_0x881831));_0x2648fd[_0xa62f82(0x283)]=_0x382198;});}return _0x500436;}async['getSheetBlock'](_0x34b6c6,_0xd6d3ef){const _0x7854f=_0x3c9859,{unitID:_0x425558,type:_0xcb6655,blockID:_0x4d84c3}=_0xd6d3ef,_0x3bf3ee=this[_0x7854f(0x403)]()+'/'+_0xcb6655+'/unit/'+_0x425558+_0x7854f(0x63d)+_0x4d84c3;return(await this[_0x7854f(0x53c)][_0x7854f(0x58c)](_0x3bf3ee))[_0x7854f(0x1e0)];}async[_0x3c9859(0x356)](_0x1de052,_0x384d76){const _0x13452b=_0x3c9859,{unitID:_0x4adb29,type:_0x2fd37c,blockID:_0x1d013c}=_0x384d76,_0x14b211=this['_getAPIPrefix']()+_0x13452b(0x63d)+_0x2fd37c+_0x13452b(0x2f7)+_0x4adb29+_0x13452b(0x63d)+_0x1d013c;return(await this[_0x13452b(0x53c)][_0x13452b(0x58c)](_0x14b211))[_0x13452b(0x1e0)];}async[_0x3c9859(0x4ab)](_0x5497e5,_0x217a2c){const _0x3c6a65=_0x3c9859,{unitID:_0x50d7f6,type:_0x4115af,from:_0x4af179,to:_0x178725}=_0x217a2c,_0x468f0b=this[_0x3c6a65(0x403)]()+'/'+_0x4115af+_0x3c6a65(0x2f7)+_0x50d7f6+_0x3c6a65(0x453)+_0x4af179+_0x3c6a65(0x398)+_0x178725;return(await this[_0x3c6a65(0x53c)]['get'](_0x468f0b))['body'];}[_0x3c9859(0x414)](){const _0x53b179=_0x3c9859;var _0x167ec4;return(_0x167ec4=this['_configService'][_0x53b179(0x5ce)](Qt))!=null?_0x167ec4:this['_getAPIPrefix']();}[_0x3c9859(0x403)](){const _0x3cc738=_0x3c9859;var _0x9e7a02,_0x51e70e;const _0x36d3d0=this[_0x3cc738(0x329)][_0x3cc738(0x5ce)](Zt),_0x1c8569=this[_0x3cc738(0x329)][_0x3cc738(0x5ce)](ee);return(_0x51e70e=(_0x9e7a02=_0x1c8569==null?void 0x0:_0x1c8569[_0x3cc738(0x3d8)])!=null?_0x9e7a02:_0x36d3d0)!=null?_0x51e70e:Hn;}async[_0x3c9859(0x204)](_0xc7af53,_0x29b5c1){const _0x274570=_0x3c9859,_0x284ca1=_0x274570(0x2b2)+_0x29b5c1[_0x274570(0x52b)]+_0x274570(0x2f7)+_0x29b5c1['unitID']+_0x274570(0x277);return(await this[_0x274570(0x53c)][_0x274570(0x58c)](_0x284ca1,{'params':{'resourceId':JSON['stringify'](_0x29b5c1[_0x274570(0x317)])}}))[_0x274570(0x1e0)];}['saveSnapshot'](){const _0x2d8389=_0x3c9859;throw new Error(_0x2d8389(0x5a1));}['saveSheetBlock'](){const _0x26311a=_0x3c9859;throw new Error(_0x26311a(0x5a1));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3c9859(0x474)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3c9859(0x4ec)](){const _0x26121e=_0x3c9859;throw new Error(_0x26121e(0x5a1));}},exports[_0x3c9859(0x281)]=Br([Jt(0x0,a['IConfigService']),Jt(0x1,a[_0x3c9859(0x288)](J[_0x3c9859(0x362)]))],exports[_0x3c9859(0x281)]);var Wr=Object[_0x3c9859(0x2aa)],Fr=Object[_0x3c9859(0x353)],Vr=(_0x26bd46,_0x36863f,_0x6840ec,_0x22f84c)=>{const _0xd54046=_0x3c9859;for(var _0x182fda=_0x22f84c>0x1?void 0x0:_0x22f84c?Fr(_0x36863f,_0x6840ec):_0x36863f,_0x50253b=_0x26bd46[_0xd54046(0x3a7)]-0x1,_0x3c3327;_0x50253b>=0x0;_0x50253b--)(_0x3c3327=_0x26bd46[_0x50253b])&&(_0x182fda=(_0x22f84c?_0x3c3327(_0x36863f,_0x6840ec,_0x182fda):_0x3c3327(_0x182fda))||_0x182fda);return _0x22f84c&&_0x182fda&&Wr(_0x36863f,_0x6840ec,_0x182fda),_0x182fda;},Ne=(_0x4db5ea,_0xaf6e94)=>(_0x356b4a,_0x499cd5)=>_0xaf6e94(_0x356b4a,_0x499cd5,_0x4db5ea);let It=class extends a['LocalUndoRedoService']{constructor(_0x3989a5,_0x6f5f93,_0x5db999,_0x5454b1,_0x1cc972){const _0x1c917a=_0x3c9859;super(_0x3989a5,_0x6f5f93,_0x5db999),this[_0x1c917a(0x230)]=_0x5454b1,this['_logService']=_0x1cc972;}['transformUndoRedo'](_0x38831a,_0x4a7bbd){const _0x2e16e2=_0x3c9859,_0x3a3f10=this[_0x2e16e2(0x4da)](_0x38831a);if(_0x3a3f10)try{const _0x42eb38=this[_0x2e16e2(0x41f)](_0x3a3f10,_0x4a7bbd);this[_0x2e16e2(0x3fe)](_0x38831a,_0x42eb38);}catch(_0x1ff3b4){this[_0x2e16e2(0x56b)][_0x2e16e2(0x581)](_0x2e16e2(0x214),_0x1ff3b4),this['_clearUndo'](_0x38831a);}const _0x577e51=this[_0x2e16e2(0x630)](_0x38831a);if(_0x577e51)try{const _0x377205=this[_0x2e16e2(0x41f)](_0x577e51,_0x4a7bbd);this[_0x2e16e2(0x285)](_0x38831a,_0x377205);}catch(_0xb8331c){this['_logService'][_0x2e16e2(0x581)](_0xb8331c),this['_clearRedo'](_0x38831a);}}[_0x3c9859(0x481)](_0x184b6d){const _0x3f84ed=_0x3c9859,_0x5258a8=this[_0x3f84ed(0x4da)](_0x184b6d);_0x5258a8&&(_0x5258a8[_0x3f84ed(0x3a7)]=0x0,this[_0x3f84ed(0x296)]());}[_0x3c9859(0x32d)](_0x257f22){const _0x2b9768=_0x3c9859,_0x4dc34c=this[_0x2b9768(0x630)](_0x257f22);_0x4dc34c&&(_0x4dc34c[_0x2b9768(0x3a7)]=0x0,this[_0x2b9768(0x296)]());}[_0x3c9859(0x3fe)](_0x52493e,_0x18ed36){const _0x449904=_0x3c9859;this[_0x449904(0x546)]['set'](_0x52493e,_0x18ed36),this[_0x449904(0x296)]();}['_substituteRedoStack'](_0x27d3a4,_0xbe5190){const _0x5d2247=_0x3c9859;this[_0x5d2247(0x34b)]['set'](_0x27d3a4,_0xbe5190),this[_0x5d2247(0x296)]();}[_0x3c9859(0x41f)](_0x2a8bde,_0x4935a5){const _0x3f9a3a=_0x3c9859,_0x3b726d=[];let _0x2e7363=_0x4935a5,_0x16abf2=_0x4935a5;for(let _0x2ed488=_0x2a8bde[_0x3f9a3a(0x3a7)]-0x1;_0x2ed488>=0x0;_0x2ed488--){const {unitID:_0x512ba9,undoMutations:_0x50f1d0,redoMutations:_0x404bb8}=_0x2a8bde[_0x2ed488],_0x21687b=this[_0x3f9a3a(0x230)][_0x3f9a3a(0x489)](_0x2e7363,_0x50f1d0),_0x435e6f=this[_0x3f9a3a(0x230)][_0x3f9a3a(0x489)](_0x16abf2,_0x404bb8);if(p[_0x3f9a3a(0x33a)](_0x21687b)||p['isTransformMutationsWithChangesetFailure'](_0x435e6f)){this['_logService']['error'](_0x3f9a3a(0x214),_0x3f9a3a(0x36c),_0x21687b,_0x435e6f);break;}_0x2e7363=_0x21687b[_0x3f9a3a(0x2a4)],_0x16abf2=_0x435e6f['c1Prime'],_0x3b726d[_0x3f9a3a(0x331)]({'unitID':_0x512ba9,'undoMutations':_0x21687b['m2Prime'],'redoMutations':_0x435e6f[_0x3f9a3a(0x50b)]});}return _0x3b726d[_0x3f9a3a(0x275)]();}};It=Vr([Ne(0x0,a[_0x3c9859(0x671)]),Ne(0x1,a[_0x3c9859(0x569)]),Ne(0x2,a['IContextService']),Ne(0x3,p[_0x3c9859(0x5fc)]),Ne(0x4,a['ILogService'])],It);class An extends a[_0x3c9859(0x344)]{constructor(){const _0x446721=_0x3c9859;super(),I(this,_0x446721(0x465)),this[_0x446721(0x465)]=A[_0x446721(0x552)](window,_0x446721(0x570))[_0x446721(0x232)](A[_0x446721(0x2d1)](this[_0x446721(0x376)]),A[_0x446721(0x439)](0x1),A[_0x446721(0x349)](void 0x0));}['setParam'](_0x5ca3b0,_0x3b2f65,_0x3d4768=!0x1){const _0x3dfe0f=_0x3c9859,_0x4bf77b=new URL(window[_0x3dfe0f(0x5dc)][_0x3dfe0f(0x267)]);_0x4bf77b[_0x3dfe0f(0x589)]['set'](_0x5ca3b0,_0x3b2f65),_0x3d4768?window[_0x3dfe0f(0x210)][_0x3dfe0f(0x371)]('','',_0x4bf77b[_0x3dfe0f(0x3ff)]()):window[_0x3dfe0f(0x210)]['pushState']('','',_0x4bf77b['toString']());}[_0x3c9859(0x45a)](_0x35e049,_0x1caa70=!0x1){const _0x505883=_0x3c9859,_0x5feb37=new URL(window[_0x505883(0x5dc)]['href']);_0x5feb37[_0x505883(0x589)][_0x505883(0x4c4)](_0x35e049),_0x1caa70?window[_0x505883(0x210)][_0x505883(0x371)]('','',_0x5feb37[_0x505883(0x3ff)]()):window['history'][_0x505883(0x36d)]('','',_0x5feb37[_0x505883(0x3ff)]());}[_0x3c9859(0x24c)](_0x1ca483){const _0x1cf785=_0x3c9859;var _0x1da51e;return(_0x1da51e=new URL(window['location'][_0x1cf785(0x267)])['searchParams']['get'](_0x1ca483))!=null?_0x1da51e:void 0x0;}}var Nn=Object[_0x3c9859(0x2aa)],Gr=Object[_0x3c9859(0x353)],Yr=(_0x5ba535,_0x57f8a4,_0x4107fe)=>_0x57f8a4 in _0x5ba535?Nn(_0x5ba535,_0x57f8a4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4107fe}):_0x5ba535[_0x57f8a4]=_0x4107fe,Kr=(_0x481381,_0x3bd785,_0x4bef64,_0x58d88f)=>{const _0x3cfb87=_0x3c9859;for(var _0x510a78=_0x58d88f>0x1?void 0x0:_0x58d88f?Gr(_0x3bd785,_0x4bef64):_0x3bd785,_0x332ea1=_0x481381[_0x3cfb87(0x3a7)]-0x1,_0x2154c2;_0x332ea1>=0x0;_0x332ea1--)(_0x2154c2=_0x481381[_0x332ea1])&&(_0x510a78=(_0x58d88f?_0x2154c2(_0x3bd785,_0x4bef64,_0x510a78):_0x2154c2(_0x510a78))||_0x510a78);return _0x58d88f&&_0x510a78&&Nn(_0x3bd785,_0x4bef64,_0x510a78),_0x510a78;},He=(_0x10faa2,_0xf45dbf)=>(_0x51d1d7,_0x59d461)=>_0xf45dbf(_0x51d1d7,_0x59d461,_0x10faa2),qr=(_0xf1894f,_0x53a0ba,_0x66700f)=>Yr(_0xf1894f,_0x53a0ba+'',_0x66700f);const zr=_0x3c9859(0x56e);exports[_0x3c9859(0x2cb)]=class extends a[_0x3c9859(0x2e5)]{constructor(_0x82788e=Xn,_0xe4f998,_0x3033e0,_0x864c69,_0x3e4e9b){const _0x3e3da3=_0x3c9859;super(),this[_0x3e3da3(0x4a0)]=_0x82788e,this[_0x3e3da3(0x56b)]=_0xe4f998,this['_renderManagerService']=_0x3033e0,this[_0x3e3da3(0x2fc)]=_0x864c69,this['_configService']=_0x3e4e9b;const {..._0x4c977d}=this[_0x3e3da3(0x4a0)];this['_configService'][_0x3e3da3(0x1df)](ee,_0x4c977d);}[_0x3c9859(0x5af)](){const _0x1dfe8f=_0x3c9859;this[_0x1dfe8f(0x5e2)](),this['_initDependencies']();}[_0x3c9859(0x36e)](){const _0x29cc8e=_0x3c9859;a[_0x29cc8e(0x423)](this['_injector'],[[Ve]]);}[_0x3c9859(0x239)](){const _0x5c002b=_0x3c9859;this[_0x5c002b(0x435)]();}[_0x3c9859(0x5e2)](){const _0x167c65=_0x3c9859;var _0x353b79,_0x4436a9,_0x1da26b,_0x1ef653;this['_injector'][_0x167c65(0x636)](a[_0x167c65(0x575)])&&this[_0x167c65(0x56b)][_0x167c65(0x581)](_0x167c65(0x29f),_0x167c65(0x24b));const _0x9e751e=[[a['IUndoRedoService'],{'useClass':It}],[exports[_0x167c65(0x5bf)]],[Ot],[wt,{'useClass':An}],[exports['MemberService']],[exports['LocalCacheService']],[J['WebSocketService']],[Be],[Fe],[ke],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0x4436a9=(_0x353b79=this[_0x167c65(0x4a0)])==null?void 0x0:_0x353b79['socketService'])!=null?_0x4436a9:exports[_0x167c65(0x1ff)]}],[p[_0x167c65(0x452)],{'useClass':exports[_0x167c65(0x281)]}],[a['IAuthzIoService'],{'useClass':exports[_0x167c65(0x4e7)]}],[ne[_0x167c65(0x485)],{'useClass':exports[_0x167c65(0x27e)]}],[exports[_0x167c65(0x645)]],[exports[_0x167c65(0x2ba)]],[exports[_0x167c65(0x3c1)]],[Ve],[De]];(_0x1da26b=this[_0x167c65(0x4a0)])!=null&&_0x1da26b[_0x167c65(0x352)]&&_0x9e751e[_0x167c65(0x331)]([qe,{'useClass':Di}]),a[_0x167c65(0x5eb)](this[_0x167c65(0x2fc)],a[_0x167c65(0x42b)](_0x9e751e,(_0x1ef653=this[_0x167c65(0x4a0)])==null?void 0x0:_0x1ef653[_0x167c65(0x2f5)]));}['_registerRenderDependencies'](){const _0x31b007=_0x3c9859;this['disposeWithMe'](this[_0x31b007(0x42e)][_0x31b007(0x5a0)](a[_0x31b007(0x51d)]['UNIVER_DOC'],[mt])),this[_0x31b007(0x44a)](this['_renderManagerService'][_0x31b007(0x5a0)](a[_0x31b007(0x51d)][_0x31b007(0x1e9)],[gt]));}[_0x3c9859(0x5f5)](){const _0x2db01f=_0x3c9859;var _0x27b505,_0x593443;this[_0x2db01f(0x2fc)]['get'](J['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':J['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x27b505=this['_config'])!=null&&_0x27b505[_0x2db01f(0x5d4)]||this[_0x2db01f(0x2fc)][_0x2db01f(0x58c)](exports[_0x2db01f(0x544)])['disableLocalCache'](),(_0x593443=this[_0x2db01f(0x4a0)])!=null&&_0x593443[_0x2db01f(0x43d)]&&a[_0x2db01f(0x423)](this[_0x2db01f(0x2fc)],[[Ge]]),a['touchDependencies'](this[_0x2db01f(0x2fc)],[[Ye],[De],[exports[_0x2db01f(0x2ba)]],[exports['CollaborationController']],[exports['DesktopCollaborationStatusDisplayController']],[Ke]]);}},qr(exports[_0x3c9859(0x2cb)],_0x3c9859(0x5c6),zr),exports[_0x3c9859(0x2cb)]=Kr([a['DependentOn'](p[_0x3c9859(0x3c9)],J['UniverNetworkPlugin']),He(0x1,a[_0x3c9859(0x584)]),He(0x2,K['IRenderManagerService']),He(0x3,a[_0x3c9859(0x288)](a['Injector'])),He(0x4,a[_0x3c9859(0x5fd)])],exports['UniverCollaborationClientPlugin']),exports[_0x3c9859(0x391)]=Rn,exports[_0x3c9859(0x1ee)]=on,exports['COLLAB_WEB_SOCKET_URL_KEY']=en,exports['CollaborationStatus']=q,exports['CollaborationStatusDisplay']=Tn,exports['CommentService']=Tt,exports[_0x3c9859(0x634)]=tn,exports[_0x3c9859(0x58f)]=Ct,exports[_0x3c9859(0x4bd)]=bt,exports[_0x3c9859(0x286)]=wt,exports[_0x3c9859(0x4f1)]=rn,exports[_0x3c9859(0x21c)]=an,exports[_0x3c9859(0x550)]=sn,exports['SEND_CHANGESET_TIMEOUT_KEY']=kn,exports['SNAPSHOT_SERVER_URL_KEY']=Zt,exports['SNAPSHOT_URL_KEY']=Qt,exports[_0x3c9859(0x38a)]=se,exports['SheetCollabCursorShape']=pn,exports[_0x3c9859(0x601)]=An,exports[_0x3c9859(0x675)]=hn,exports[_0x3c9859(0x513)]=_n;
|
1
|
+
'use strict';const _0x56d4b2=_0xe699;(function(_0x38a4ce,_0x443cd3){const _0xccc2f7=_0xe699,_0x58f1ef=_0x38a4ce();while(!![]){try{const _0x2c9c4c=-parseInt(_0xccc2f7(0x4e2))/0x1+-parseInt(_0xccc2f7(0x639))/0x2*(parseInt(_0xccc2f7(0x31e))/0x3)+parseInt(_0xccc2f7(0x5ee))/0x4*(-parseInt(_0xccc2f7(0x2c4))/0x5)+-parseInt(_0xccc2f7(0x1cd))/0x6+-parseInt(_0xccc2f7(0x1ef))/0x7*(-parseInt(_0xccc2f7(0x3b5))/0x8)+-parseInt(_0xccc2f7(0x2cb))/0x9*(-parseInt(_0xccc2f7(0x4d3))/0xa)+parseInt(_0xccc2f7(0x576))/0xb;if(_0x2c9c4c===_0x443cd3)break;else _0x58f1ef['push'](_0x58f1ef['shift']());}catch(_0x7c1c61){_0x58f1ef['push'](_0x58f1ef['shift']());}}}(_0x4fa2,0x8a9b5));var xn=Object[_0x56d4b2(0x3a4)],jn=(_0x3c0c73,_0x401453,_0x4317fa)=>_0x401453 in _0x3c0c73?xn(_0x3c0c73,_0x401453,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4317fa}):_0x3c0c73[_0x401453]=_0x4317fa,I=(_0x136205,_0x3c6a94,_0x5f2e5d)=>jn(_0x136205,typeof _0x3c6a94!=_0x56d4b2(0x3fe)?_0x3c6a94+'':_0x3c6a94,_0x5f2e5d);Object[_0x56d4b2(0x3a4)](exports,Symbol[_0x56d4b2(0x205)],{'value':_0x56d4b2(0x1fb)});const a=require('@univerjs/core'),A=require(_0x56d4b2(0x5ff)),V=require(_0x56d4b2(0x497)),Ce=require(_0x56d4b2(0x20b)),z=require(_0x56d4b2(0x2ac)),te=require(_0x56d4b2(0x62c)),p=require(_0x56d4b2(0x413)),$n=require(_0x56d4b2(0x437)),Ie=require(_0x56d4b2(0x4d2)),Q=require(_0x56d4b2(0x59f)),B=require(_0x56d4b2(0x1e1)),K=require(_0x56d4b2(0x531)),ne=require(_0x56d4b2(0x3b9)),Ut=require(_0x56d4b2(0x3e0)),ye=require(_0x56d4b2(0x64b)),ae=require(_0x56d4b2(0x4d9)),Hn=require(_0x56d4b2(0x254)),en='SNAPSHOT_SERVER_URL_KEY',kn=_0x56d4b2(0x582),tn=_0x56d4b2(0x4ff),Bn=_0x56d4b2(0x2a9),Wn=0x7d0,nn='COLLAB_WEB_SOCKET_URL',Fn=_0x56d4b2(0x669),Vn=_0x56d4b2(0x384),sn=_0x56d4b2(0x532),Gn=0x7530,Ct=_0x56d4b2(0x632),rn=0x4e20,Yn=0x4e20,on=_0x56d4b2(0x3df),Kn=0x3,an=_0x56d4b2(0x3fc),qn=0x3e8,cn=_0x56d4b2(0x1dd),zn='/universer-api/comb',ln='LOGIN_URL_KEY',Xn=_0x56d4b2(0x268);var hn=(_0x41b165=>(_0x41b165[_0x41b165[_0x56d4b2(0x3bc)]=0x0]=_0x56d4b2(0x3bc),_0x41b165[_0x41b165['OK']=0x1]='OK',_0x41b165[_0x41b165[_0x56d4b2(0x25e)]=0x2]='INTERNAL_ERROR',_0x41b165[_0x41b165[_0x56d4b2(0x46c)]=0x3]='PERMISSION_DENIED',_0x41b165[_0x41b165[_0x56d4b2(0x1f3)]=0x4]=_0x56d4b2(0x1f3),_0x41b165[_0x41b165[_0x56d4b2(0x22b)]=0x5]=_0x56d4b2(0x22b),_0x41b165[_0x41b165[_0x56d4b2(0x4d6)]=0x6]=_0x56d4b2(0x4d6),_0x41b165[_0x41b165['INVALID_ARGUMENT']=0x7]=_0x56d4b2(0x265),_0x41b165[_0x41b165[_0x56d4b2(0x3ea)]=0x8]=_0x56d4b2(0x3ea),_0x41b165[_0x41b165[_0x56d4b2(0x3c8)]=0x9]=_0x56d4b2(0x3c8),_0x41b165[_0x41b165[_0x56d4b2(0x67a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x41b165[_0x41b165['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x56d4b2(0x4e7),_0x41b165[_0x41b165[_0x56d4b2(0x65c)]=0x1772]=_0x56d4b2(0x65c),_0x41b165[_0x41b165['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x41b165[_0x41b165['APPLY_REJECT']=0x1b59]=_0x56d4b2(0x49f),_0x41b165[_0x41b165['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x56d4b2(0x503),_0x41b165[_0x41b165['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x56d4b2(0x3aa),_0x41b165[_0x41b165[_0x56d4b2(0x31d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x41b165[_0x41b165['APPLY_DUPLICATED']=0x1b5d]=_0x56d4b2(0x2b8),_0x41b165[_0x41b165[_0x56d4b2(0x689)]=0x1f41]=_0x56d4b2(0x689),_0x41b165[_0x41b165[_0x56d4b2(0x2f4)]=0x2329]=_0x56d4b2(0x2f4),_0x41b165[_0x41b165[_0x56d4b2(0x424)]=0x232a]=_0x56d4b2(0x424),_0x41b165[_0x41b165['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x41b165[_0x41b165['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x56d4b2(0x4cb),_0x41b165[_0x41b165['LICENSE_DISTRO_REJECTED']=0x232d]=_0x56d4b2(0x5d8),_0x41b165[_0x41b165[_0x56d4b2(0x32e)]=0x2711]=_0x56d4b2(0x32e),_0x41b165[_0x41b165['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x41b165[_0x41b165['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x41b165[_0x41b165[_0x56d4b2(0x264)]=0x2714]=_0x56d4b2(0x264),_0x41b165[_0x41b165['UNRECOGNIZED']=-0x1]=_0x56d4b2(0x623),_0x41b165))(hn||{}),ie=(_0x467359=>(_0x467359[_0x467359[_0x56d4b2(0x389)]=0x0]=_0x56d4b2(0x389),_0x467359[_0x467359['UNIVER_DOC']=0x1]=_0x56d4b2(0x487),_0x467359[_0x467359[_0x56d4b2(0x58e)]=0x2]=_0x56d4b2(0x58e),_0x467359[_0x467359[_0x56d4b2(0x3b0)]=0x3]=_0x56d4b2(0x3b0),_0x467359[_0x467359['UNIVER_PROJECT']=0x4]=_0x56d4b2(0x382),_0x467359[_0x467359['UNRECOGNIZED']=-0x1]=_0x56d4b2(0x623),_0x467359))(ie||{}),G=(_0xc266b=>(_0xc266b[_0xc266b[_0x56d4b2(0x57b)]=0x0]='UNKNOWN_CMD',_0xc266b[_0xc266b[_0x56d4b2(0x3f7)]=0x1]='HELLO',_0xc266b[_0xc266b[_0x56d4b2(0x4e4)]=0x2]='JOIN',_0xc266b[_0xc266b['LEAVE']=0x3]=_0x56d4b2(0x670),_0xc266b[_0xc266b['INGEST']=0x4]=_0x56d4b2(0x481),_0xc266b[_0xc266b['HEARTBEAT']=0x5]='HEARTBEAT',_0xc266b[_0xc266b[_0x56d4b2(0x243)]=0x6]=_0x56d4b2(0x243),_0xc266b[_0xc266b['UNRECOGNIZED']=-0x1]=_0x56d4b2(0x623),_0xc266b))(G||{}),Et=(_0x33615a=>(_0x33615a[_0x33615a[_0x56d4b2(0x2cf)]=0x0]=_0x56d4b2(0x2cf),_0x33615a[_0x33615a['OK']=0x1]='OK',_0x33615a[_0x33615a[_0x56d4b2(0x1f0)]=0x2]=_0x56d4b2(0x1f0),_0x33615a[_0x33615a[_0x56d4b2(0x583)]=0x3e9]=_0x56d4b2(0x583),_0x33615a[_0x33615a['JOIN_ROOM_NOT_ALLOWED']=0x3ea]=_0x56d4b2(0x585),_0x33615a[_0x33615a[_0x56d4b2(0x623)]=-0x1]='UNRECOGNIZED',_0x33615a))(Et||{}),_n=(_0x10c85d=>(_0x10c85d[_0x10c85d[_0x56d4b2(0x40e)]=0x0]=_0x56d4b2(0x40e),_0x10c85d[_0x10c85d[_0x56d4b2(0x4e1)]=0x1]=_0x56d4b2(0x4e1),_0x10c85d[_0x10c85d[_0x56d4b2(0x50d)]=0x2]=_0x56d4b2(0x50d),_0x10c85d[_0x10c85d[_0x56d4b2(0x3ad)]=0x3]=_0x56d4b2(0x3ad),_0x10c85d[_0x10c85d[_0x56d4b2(0x5bf)]=0x4]=_0x56d4b2(0x5bf),_0x10c85d[_0x10c85d[_0x56d4b2(0x623)]=-0x1]=_0x56d4b2(0x623),_0x10c85d))(_n||{});const Z=_0x56d4b2(0x3db),Jn={};function un(_0x49b640){const _0x3b7f45=_0x56d4b2;var _0x455739,_0x5de159,_0x4477bb,_0x14f4bd,_0xe373c;const _0x5028d2=_0x49b640[_0x3b7f45(0x569)],_0x3b0781=JSON[_0x3b7f45(0x5db)](_0x5028d2);switch(_0x3b0781[_0x3b7f45(0x2d8)]){case G[_0x3b7f45(0x631)]:case G[_0x3b7f45(0x3f7)]:{const _0x1d21b0=_0x3b0781['infoRsp'];return{..._0x3b0781,'data':_0x1d21b0,'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};}case G['JOIN']:{const _0x138eb2=_0x3b0781[_0x3b7f45(0x277)];return{..._0x3b0781,'data':_0x138eb2,'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};}case G[_0x3b7f45(0x243)]:{const _0x5de2a8=_0x3b0781['collaMsg'];switch(_0x5de2a8[_0x3b7f45(0x1ff)]){case p[_0x3b7f45(0x467)][_0x3b7f45(0x4dc)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':(_0x455739=_0x5de2a8[_0x3b7f45(0x3eb)])==null?void 0x0:_0x455739['cs']},'cmd':_0x3b0781['cmd']};case p[_0x3b7f45(0x467)][_0x3b7f45(0x2ea)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':(_0x5de159=_0x5de2a8[_0x3b7f45(0x393)])==null?void 0x0:_0x5de159['cs']},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x52a)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':(_0x4477bb=_0x5de2a8['newCsEvent'])==null?void 0x0:_0x4477bb['cs']},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x385)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':(_0x14f4bd=_0x5de2a8[_0x3b7f45(0x4fd)])==null?void 0x0:_0x14f4bd['cs']},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)]['CHANGESET_SHOULD_RETRY']:return{..._0x3b0781,'data':{..._0x5de2a8,'data':(_0xe373c=_0x5de2a8['csShouldRetryEvent'])==null?void 0x0:_0xe373c['cs']},'cmd':_0x3b0781['cmd']};case p[_0x3b7f45(0x467)][_0x3b7f45(0x54b)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8[_0x3b7f45(0x482)]},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x3f2)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8[_0x3b7f45(0x338)]},'cmd':_0x3b0781['cmd']};case p['CollaborationEvent']['USERS_LEAVE']:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8[_0x3b7f45(0x335)]},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x3a7)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8['liveShareNewHost']},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x3ec)]:case p[_0x3b7f45(0x467)][_0x3b7f45(0x30e)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8['liveShareOperation']},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x48d)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8[_0x3b7f45(0x618)]},'cmd':_0x3b0781['cmd']};case p[_0x3b7f45(0x467)][_0x3b7f45(0x537)]:return{..._0x3b0781,'data':_0x5de2a8,'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p[_0x3b7f45(0x467)][_0x3b7f45(0x54f)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8['commentUpdateEvent']},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p['CollaborationEvent'][_0x3b7f45(0x3d4)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8[_0x3b7f45(0x21f)]},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};case p['CollaborationEvent'][_0x3b7f45(0x4a2)]:return{..._0x3b0781,'data':{..._0x5de2a8,'data':_0x5de2a8[_0x3b7f45(0x67d)]},'cmd':_0x3b0781[_0x3b7f45(0x2d8)]};default:return _0x3b0781;}}default:return _0x3b0781;}}function dn(_0x27b855){const _0x51174f=_0x56d4b2;switch(_0x27b855[_0x51174f(0x2d8)]){case G[_0x51174f(0x631)]:case G['HELLO']:return JSON[_0x51174f(0x637)]({'cmd':_0x27b855[_0x51174f(0x2d8)],'routeKey':_0x27b855[_0x51174f(0x495)]});case G['INGEST']:{let _0x469c35;switch(_0x27b855[_0x51174f(0x569)][_0x51174f(0x1ff)]){case p[_0x51174f(0x467)][_0x51174f(0x54b)]:{_0x469c35={'eventID':p[_0x51174f(0x467)][_0x51174f(0x54b)],'updateCursorEvent':_0x27b855[_0x51174f(0x569)][_0x51174f(0x569)]};break;}case p[_0x51174f(0x467)][_0x51174f(0x470)]:{_0x469c35={'eventID':p['CollaborationEvent'][_0x51174f(0x470)],'leaveEvent':_0x27b855[_0x51174f(0x569)]['data']};break;}case p[_0x51174f(0x467)][_0x51174f(0x3f2)]:{_0x469c35={'eventID':p[_0x51174f(0x467)][_0x51174f(0x3f2)],'joinEvent':_0x27b855[_0x51174f(0x569)][_0x51174f(0x569)]};break;}case p['CollaborationEvent'][_0x51174f(0x3a7)]:{_0x469c35={'eventID':p[_0x51174f(0x467)][_0x51174f(0x3a7)],'liveShareNewHost':_0x27b855['data'][_0x51174f(0x569)]};break;}case p[_0x51174f(0x467)][_0x51174f(0x30e)]:{_0x469c35={'eventID':p['CollaborationEvent'][_0x51174f(0x30e)],'liveShareOperation':_0x27b855[_0x51174f(0x569)][_0x51174f(0x569)]};break;}case p['CollaborationEvent'][_0x51174f(0x48d)]:{_0x469c35={'eventID':p[_0x51174f(0x467)][_0x51174f(0x48d)],'liveShareTerminate':_0x27b855[_0x51174f(0x569)][_0x51174f(0x569)]};break;}case p['CollaborationEvent'][_0x51174f(0x2e5)]:{_0x469c35={'eventID':p[_0x51174f(0x467)][_0x51174f(0x2e5)],'liveShareRequestHost':_0x27b855[_0x51174f(0x569)]['data']};break;}case p[_0x51174f(0x467)][_0x51174f(0x3ec)]:{_0x469c35={'eventID':p[_0x51174f(0x467)][_0x51174f(0x3ec)]};break;}default:_0x469c35={'eventID':_0x27b855[_0x51174f(0x569)][_0x51174f(0x1ff)]};}return JSON[_0x51174f(0x637)]({'cmd':_0x27b855['cmd'],'routeKey':_0x27b855[_0x51174f(0x495)],'collaMsg':_0x469c35});}case G[_0x51174f(0x4e4)]:return JSON['stringify']({'cmd':_0x27b855[_0x51174f(0x2d8)],'routeKey':_0x27b855[_0x51174f(0x495)],'joinReq':_0x27b855[_0x51174f(0x569)]});case G[_0x51174f(0x670)]:return JSON[_0x51174f(0x637)]({'cmd':_0x27b855['cmd'],'routeKey':_0x27b855['routeKey'],'leaveReq':_0x27b855[_0x51174f(0x569)]});default:throw new Error(_0x51174f(0x33e));}}var Zn=Object[_0x56d4b2(0x3a4)],Qn=Object[_0x56d4b2(0x47e)],ei=(_0x13eace,_0x508cd8,_0x5d66e0,_0x2a1d2f)=>{const _0x124030=_0x56d4b2;for(var _0x43d128=_0x2a1d2f>0x1?void 0x0:_0x2a1d2f?Qn(_0x508cd8,_0x5d66e0):_0x508cd8,_0x1f35fa=_0x13eace[_0x124030(0x543)]-0x1,_0x45c0da;_0x1f35fa>=0x0;_0x1f35fa--)(_0x45c0da=_0x13eace[_0x1f35fa])&&(_0x43d128=(_0x2a1d2f?_0x45c0da(_0x508cd8,_0x5d66e0,_0x43d128):_0x45c0da(_0x43d128))||_0x43d128);return _0x2a1d2f&&_0x43d128&&Zn(_0x508cd8,_0x5d66e0,_0x43d128),_0x43d128;},Pe=(_0x5523e8,_0x56854d)=>(_0x1cf0ec,_0x27ff2f)=>_0x56854d(_0x1cf0ec,_0x27ff2f,_0x5523e8);const bt=a[_0x56d4b2(0x286)](_0x56d4b2(0x3d5));function ti(_0x4eeebb,_0x58f11d,_0x301162){const _0x52aeb1=_0x56d4b2;return _0x4eeebb+'/'+_0x58f11d+_0x52aeb1(0x38b)+_0x301162+_0x52aeb1(0x659);}exports[_0x56d4b2(0x419)]=class extends a[_0x56d4b2(0x5e9)]{constructor(_0xbfd317,_0x52229e,_0x29a1ca,_0x4d620f,_0xd9eb44){const _0x14f137=_0x56d4b2;super(),this[_0x14f137(0x64c)]=_0xbfd317,this[_0x14f137(0x3f1)]=_0x52229e,this[_0x14f137(0x2b9)]=_0x29a1ca,this[_0x14f137(0x529)]=_0x4d620f,this[_0x14f137(0x5b5)]=_0xd9eb44;}['createSocket'](_0x1c8f4d){const _0x29d857=_0x56d4b2,_0x546109=this['_ws'][_0x29d857(0x478)](_0x1c8f4d);if(!_0x546109)throw new Error(_0x29d857(0x223));const _0x3cb9be=new a[(_0x29d857(0x20d))](),_0x27dde9=new A[(_0x29d857(0x372))]();_0x3cb9be[_0x29d857(0x247)](_0x546109[_0x29d857(0x373)][_0x29d857(0x563)](_0x3e30f4=>_0x27dde9[_0x29d857(0x336)](_0x3e30f4))),_0x3cb9be[_0x29d857(0x247)](a[_0x29d857(0x2a5)](()=>_0x27dde9['complete']()));const _0x5aba74=new A[(_0x29d857(0x372))]();_0x3cb9be[_0x29d857(0x247)](_0x546109[_0x29d857(0x571)][_0x29d857(0x563)](_0x356b36=>_0x5aba74[_0x29d857(0x336)](_0x356b36))),_0x3cb9be[_0x29d857(0x247)](a['toDisposable'](()=>_0x5aba74[_0x29d857(0x381)]()));const _0x31e00b=new A['Subject']();_0x3cb9be[_0x29d857(0x247)](_0x546109[_0x29d857(0x377)][_0x29d857(0x563)](_0x2b09db=>{const _0x2c81e6=_0x29d857,_0x192743=un(_0x2b09db);_0x31e00b[_0x2c81e6(0x336)](_0x192743);})),_0x3cb9be[_0x29d857(0x247)](a['toDisposable'](()=>_0x31e00b[_0x29d857(0x381)]()));let _0x34ecb5;const _0x2182a6=()=>{const _0x4ebe32=_0x29d857;_0x5aba74[_0x4ebe32(0x336)](new Event(_0x4ebe32(0x5af))),_0x27dde9[_0x4ebe32(0x336)](new CloseEvent(_0x4ebe32(0x5af))),_0x34ecb5[_0x4ebe32(0x649)]();};return _0x34ecb5={'memberID':'','close$':_0x27dde9[_0x29d857(0x59e)](),'error$':_0x5aba74[_0x29d857(0x59e)](),'open$':_0x546109[_0x29d857(0x5a8)],'message$':_0x31e00b[_0x29d857(0x59e)](),'send':_0x2c5aa1=>{const _0xa05712=_0x29d857;if(_0x2c5aa1[_0xa05712(0x2d8)]===G['INGEST']){if(_0x2c5aa1['data']['eventID']===p[_0xa05712(0x467)][_0xa05712(0x257)]){this[_0xa05712(0x2ce)](_0x34ecb5,_0x2c5aa1[_0xa05712(0x569)])['catch'](_0x3b3e93=>{const _0x1de5ea=_0xa05712;this[_0x1de5ea(0x529)]['error'](_0x3b3e93),_0x2182a6();});return;}if(_0x2c5aa1[_0xa05712(0x569)][_0xa05712(0x1ff)]===p['CollaborationEvent'][_0xa05712(0x4f1)]){const _0x44e082=_0x2c5aa1['data'];this['_fetchMissChangesets'](_0x44e082)[_0xa05712(0x4a8)](_0x428381=>{const _0x52e4f4=_0xa05712;_0x31e00b[_0x52e4f4(0x336)]({'cmd':G['RECV'],'code':Et['OK'],'routeKey':_0x44e082[_0x52e4f4(0x569)][_0x52e4f4(0x5ed)],'routeType':'','data':{'eventID':p[_0x52e4f4(0x467)][_0x52e4f4(0x4ef)],'data':{'changesets':_0x428381}}});})['catch'](_0x36afab=>{const _0x386f9c=_0xa05712;this[_0x386f9c(0x529)][_0x386f9c(0x38d)](_0x36afab),_0x2182a6();});return;}}_0x546109[_0xa05712(0x526)](dn(_0x2c5aa1));},'close':()=>{const _0x102ccb=_0x29d857;_0x546109[_0x102ccb(0x649)](),_0x3cb9be['dispose']();}},_0x34ecb5;}async[_0x56d4b2(0x2ce)](_0x58f623,_0x2439b8){const _0x4be03c=_0x56d4b2;var _0x2e3b69,_0x373f58;const {unitType:_0x81a33f,unitID:_0x360c5d,changeset:_0x5e87a2}=_0x2439b8[_0x4be03c(0x569)],_0x30b362={'unitID':_0x360c5d,'memberID':_0x58f623[_0x4be03c(0x408)],'type':_0x81a33f,'changeset':p['parseChangesetToProtocol'](_0x5e87a2)},_0x2257ec=this[_0x4be03c(0x2b9)][_0x4be03c(0x3e8)](cn),_0x5775ff=this[_0x4be03c(0x2b9)]['getConfig'](Z),_0x31e416=ti((_0x373f58=(_0x2e3b69=_0x5775ff==null?void 0x0:_0x5775ff[_0x4be03c(0x609)])!=null?_0x2e3b69:_0x2257ec)!=null?_0x373f58:zn,_0x81a33f,_0x360c5d);try{await this['_http'][_0x4be03c(0x2a3)](_0x31e416,{'body':_0x30b362});}catch(_0x3c62af){throw this[_0x4be03c(0x529)][_0x4be03c(0x38d)](_0x4be03c(0x37a),_0x4be03c(0x56b)),_0x3c62af;}}async[_0x56d4b2(0x359)](_0x256cda){const _0x3c7f90=_0x56d4b2,{unitID:_0x105394,from:_0x2ea01c,to:_0x200714,unitType:_0x26004b}=_0x256cda[_0x3c7f90(0x569)];return(await this[_0x3c7f90(0x5b5)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x105394,'type':_0x26004b,'from':_0x2ea01c,'to':_0x200714}))[_0x3c7f90(0x292)];}},exports[_0x56d4b2(0x419)]=ei([Pe(0x0,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)])),Pe(0x1,a[_0x56d4b2(0x226)](z['WebSocketService'])),Pe(0x2,a['IConfigService']),Pe(0x3,a['ILogService']),Pe(0x4,p[_0x56d4b2(0x508)])],exports[_0x56d4b2(0x419)]);const ni=_0x56d4b2(0x1e3);function ii(_0x433324){const _0x1f8cb1=_0x56d4b2;return JSON[_0x1f8cb1(0x637)](_0x433324)[_0x1f8cb1(0x543)];}class Tt{constructor(){const _0x2a8a49=_0x56d4b2;I(this,_0x2a8a49(0x5d4),new A[(_0x2a8a49(0x372))]()),I(this,_0x2a8a49(0x5e1),this[_0x2a8a49(0x5d4)][_0x2a8a49(0x59e)]());}[_0x56d4b2(0x51f)](_0x320df4){const _0x26b7a9=_0x56d4b2;this[_0x26b7a9(0x5d4)][_0x26b7a9(0x336)](_0x320df4);}}var si=Object['defineProperty'],ri=Object['getOwnPropertyDescriptor'],oi=(_0xe703dc,_0xabccd9,_0x377a5d,_0x90e5d1)=>{const _0x37879b=_0x56d4b2;for(var _0x10aa3f=_0x90e5d1>0x1?void 0x0:_0x90e5d1?ri(_0xabccd9,_0x377a5d):_0xabccd9,_0x24c3e3=_0xe703dc[_0x37879b(0x543)]-0x1,_0x54ce28;_0x24c3e3>=0x0;_0x24c3e3--)(_0x54ce28=_0xe703dc[_0x24c3e3])&&(_0x10aa3f=(_0x90e5d1?_0x54ce28(_0xabccd9,_0x377a5d,_0x10aa3f):_0x54ce28(_0x10aa3f))||_0x10aa3f);return _0x90e5d1&&_0x10aa3f&&si(_0xabccd9,_0x377a5d,_0x10aa3f),_0x10aa3f;},Mt=(_0x283236,_0xcdb62e)=>(_0x4a0218,_0x1be727)=>_0xcdb62e(_0x4a0218,_0x1be727,_0x283236);exports[_0x56d4b2(0x2cc)]=class extends a[_0x56d4b2(0x5e9)]{constructor(_0x163c02,_0x4389ab){const _0x5e1e7d=_0x56d4b2;super(),I(this,_0x5e1e7d(0x607),new Map()),(this[_0x5e1e7d(0x2c6)]=_0x163c02,this[_0x5e1e7d(0x3ee)]=_0x4389ab,this[_0x5e1e7d(0x211)](a[_0x5e1e7d(0x2a5)](A[_0x5e1e7d(0x593)](this['_univerInstanceService'][_0x5e1e7d(0x489)](a['UniverInstanceType'][_0x5e1e7d(0x58e)])[_0x5e1e7d(0x348)](V[_0x5e1e7d(0x26d)](_0x5749de=>_0x5749de['getUnitId']())),this[_0x5e1e7d(0x2c6)][_0x5e1e7d(0x489)](a[_0x5e1e7d(0x5c7)][_0x5e1e7d(0x487)])[_0x5e1e7d(0x348)](V[_0x5e1e7d(0x26d)](_0x339b1f=>_0x339b1f[_0x5e1e7d(0x25a)]())),this[_0x5e1e7d(0x2c6)][_0x5e1e7d(0x489)](a[_0x5e1e7d(0x5c7)][_0x5e1e7d(0x3b0)])[_0x5e1e7d(0x348)](V['map'](_0x18f5ec=>_0x18f5ec[_0x5e1e7d(0x25a)]())))[_0x5e1e7d(0x563)](_0xcd69ec=>this[_0x5e1e7d(0x448)](_0xcd69ec)))));}[_0x56d4b2(0x605)](_0x5e6195){const _0x29a59e=_0x56d4b2;this[_0x29a59e(0x3ee)]['setCurrentUser'](_0x5e6195);}[_0x56d4b2(0x3cd)](){const _0x29c036=_0x56d4b2;return this[_0x29c036(0x3ee)][_0x29c036(0x3cd)]();}[_0x56d4b2(0x206)](_0x3086fc,_0x43e5db){const _0x57331c=_0x56d4b2;let _0x857f7f=this[_0x57331c(0x607)][_0x57331c(0x313)](_0x3086fc);_0x857f7f||(_0x857f7f=new ai(),this[_0x57331c(0x607)][_0x57331c(0x24a)](_0x3086fc,_0x857f7f)),_0x857f7f['updateMember'](_0x43e5db);}['removeMember'](_0x2d3d2c,_0x36963d){const _0x4b45b5=_0x56d4b2,_0xc96c5=this['_roomMembers']['get'](_0x2d3d2c);_0xc96c5&&_0xc96c5[_0x4b45b5(0x321)](_0x36963d);}[_0x56d4b2(0x342)](_0x3dec95){const _0x574961=_0x56d4b2;return this[_0x574961(0x607)][_0x574961(0x313)](_0x3dec95);}[_0x56d4b2(0x511)](_0x230c2f,_0x2ff887){const _0x3fd3e1=_0x56d4b2,_0xf2e44f=this[_0x3fd3e1(0x607)][_0x3fd3e1(0x313)](_0x230c2f);if(_0xf2e44f)return _0xf2e44f[_0x3fd3e1(0x511)](_0x2ff887);}[_0x56d4b2(0x448)](_0x35ae6b){const _0x9471a7=_0x56d4b2,_0xe3d9e6=this[_0x9471a7(0x607)]['get'](_0x35ae6b);_0xe3d9e6&&(_0xe3d9e6['dispose'](),this[_0x9471a7(0x607)][_0x9471a7(0x30c)](_0x35ae6b));}[_0x56d4b2(0x51e)](){const _0x544ba3=_0x56d4b2;this['_roomMembers'][_0x544ba3(0x3dc)](_0x1f4131=>_0x1f4131[_0x544ba3(0x51e)]()),this[_0x544ba3(0x607)][_0x544ba3(0x34c)]();}},exports[_0x56d4b2(0x2cc)]=oi([Mt(0x0,a[_0x56d4b2(0x63e)]),Mt(0x1,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x5f4)]))],exports[_0x56d4b2(0x2cc)]);class ai extends a[_0x56d4b2(0x5e9)]{constructor(){const _0x243ae0=_0x56d4b2;super(...arguments),I(this,_0x243ae0(0x451),new Map());}[_0x56d4b2(0x51e)](){const _0x365e29=_0x56d4b2;this[_0x365e29(0x451)]['clear']();}[_0x56d4b2(0x206)](_0x4a151e){const _0xf4cd85=_0x56d4b2;this[_0xf4cd85(0x451)][_0xf4cd85(0x24a)](_0x4a151e[_0xf4cd85(0x408)],_0x4a151e);}[_0x56d4b2(0x321)](_0x585422){const _0x108ea0=_0x56d4b2;this['_members'][_0x108ea0(0x30c)](_0x585422);}[_0x56d4b2(0x511)](_0x31f9a8){const _0x472f20=_0x56d4b2;return this[_0x472f20(0x451)][_0x472f20(0x313)](_0x31f9a8);}['getAllMembers'](){const _0x8ce2a0=_0x56d4b2;return Array[_0x8ce2a0(0x3e5)](this['_members'][_0x8ce2a0(0x23d)]());}}var ci=Object['defineProperty'],li=Object[_0x56d4b2(0x47e)],hi=(_0x4a8b01,_0x3b09c,_0x89267,_0xe1e94e)=>{const _0xbe9b8e=_0x56d4b2;for(var _0x13104b=_0xe1e94e>0x1?void 0x0:_0xe1e94e?li(_0x3b09c,_0x89267):_0x3b09c,_0x12faff=_0x4a8b01[_0xbe9b8e(0x543)]-0x1,_0x4c687e;_0x12faff>=0x0;_0x12faff--)(_0x4c687e=_0x4a8b01[_0x12faff])&&(_0x13104b=(_0xe1e94e?_0x4c687e(_0x3b09c,_0x89267,_0x13104b):_0x4c687e(_0x13104b))||_0x13104b);return _0xe1e94e&&_0x13104b&&ci(_0x3b09c,_0x89267,_0x13104b),_0x13104b;},de=(_0x4a1443,_0x37a640)=>(_0x5bd6fb,_0x9c3ed7)=>_0x37a640(_0x5bd6fb,_0x9c3ed7,_0x4a1443),se=(_0x2e0cd4=>(_0x2e0cd4[_0x2e0cd4[_0x56d4b2(0x2ee)]=0x0]=_0x56d4b2(0x2ee),_0x2e0cd4[_0x2e0cd4[_0x56d4b2(0x3ae)]=0x1]='JOINING',_0x2e0cd4[_0x2e0cd4[_0x56d4b2(0x48b)]=0x2]=_0x56d4b2(0x48b),_0x2e0cd4[_0x2e0cd4[_0x56d4b2(0x53b)]=0x3]='ONLINE',_0x2e0cd4))(se||{});exports[_0x56d4b2(0x453)]=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x519f9f,_0x21889c,_0x1cd0f7,_0x50ad88,_0x14771c,_0x28a56c,_0x2eec4f,_0x38cd20,_0x56827b,_0x49aed9){const _0x1363e3=_0x56d4b2;super(),I(this,_0x1363e3(0x533),new A[(_0x1363e3(0x227))](0x0)),I(this,_0x1363e3(0x548),this[_0x1363e3(0x533)][_0x1363e3(0x59e)]()),I(this,_0x1363e3(0x58a),new A[(_0x1363e3(0x372))]()),I(this,_0x1363e3(0x418),this[_0x1363e3(0x58a)][_0x1363e3(0x59e)]()),I(this,_0x1363e3(0x2ed)),I(this,_0x1363e3(0x502)),I(this,_0x1363e3(0x203)),I(this,_0x1363e3(0x300),!0x1),I(this,_0x1363e3(0x521),null),(this[_0x1363e3(0x47f)]=_0x519f9f,this[_0x1363e3(0x529)]=_0x1cd0f7,this[_0x1363e3(0x365)]=_0x50ad88,this[_0x1363e3(0x24f)]=_0x14771c,this[_0x1363e3(0x2b9)]=_0x28a56c,this[_0x1363e3(0x1fc)]=_0x2eec4f,this['_memberService']=_0x38cd20,this['_commentService']=_0x56827b,this['_telemetryService']=_0x49aed9,this[_0x1363e3(0x300)]=!!this[_0x1363e3(0x38f)],_0x21889c[_0x1363e3(0x348)](A[_0x1363e3(0x5e8)](this[_0x1363e3(0x5ba)]))[_0x1363e3(0x563)](_0x286168=>{const _0x501c59=_0x1363e3;var _0x226901;typeof _0x286168>'u'||(this[_0x501c59(0x2ed)]=_0x286168,_0x286168?(this[_0x501c59(0x39d)](_0x286168),this['_socketMessageSubscription']=_0x286168[_0x501c59(0x377)][_0x501c59(0x563)](_0x32f129=>{const _0x4f4db6=_0x501c59;_0x32f129[_0x4f4db6(0x495)]===this[_0x4f4db6(0x47f)]&&this['_onCombEvent'](_0x32f129);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x501c59(0x533)][_0x501c59(0x336)](0x2),(_0x226901=this[_0x501c59(0x502)])==null||_0x226901['unsubscribe'](),this[_0x501c59(0x502)]=null));}),this[_0x1363e3(0x211)](this[_0x1363e3(0x365)][_0x1363e3(0x302)](()=>{const _0xa24f2f=_0x1363e3;var _0xc639b2;(_0xc639b2=this[_0xa24f2f(0x2ed)])==null||_0xc639b2['send']({'cmd':G['LEAVE'],'data':{'roomID':this[_0xa24f2f(0x47f)]}});})));}get[_0x56d4b2(0x494)](){const _0x54a7b3=_0x56d4b2;return this[_0x54a7b3(0x533)]['getValue']();}[_0x56d4b2(0x222)](){const _0x12fb0b=_0x56d4b2;var _0x2289fc,_0x195958;return(_0x195958=(_0x2289fc=this[_0x12fb0b(0x2ed)])==null?void 0x0:_0x2289fc['memberID'])!=null?_0x195958:null;}[_0x56d4b2(0x51e)](){const _0x25e4d5=_0x56d4b2;super[_0x25e4d5(0x51e)](),this[_0x25e4d5(0x5ba)]['next'](),this[_0x25e4d5(0x5ba)][_0x25e4d5(0x381)]();}['close'](){const _0x516b62=_0x56d4b2;var _0x5d1ef4,_0x15edd3;this[_0x516b62(0x1e4)](),(_0x5d1ef4=this[_0x516b62(0x2ed)])==null||_0x5d1ef4[_0x516b62(0x526)]({'cmd':G[_0x516b62(0x670)],'data':{'roomID':this[_0x516b62(0x47f)]}}),(_0x15edd3=this['_socket'])==null||_0x15edd3[_0x516b62(0x649)](),this['_event$'][_0x516b62(0x381)](),this[_0x516b62(0x533)][_0x516b62(0x381)](),this['dispose']();}['_onCombEvent'](_0x18783f){const _0x46dd58=_0x56d4b2;_0x18783f[_0x46dd58(0x2d8)]===G[_0x46dd58(0x4e4)]?this[_0x46dd58(0x589)](_0x18783f):_0x18783f[_0x46dd58(0x2d8)]===G[_0x46dd58(0x243)]&&this[_0x46dd58(0x5f2)](_0x18783f);}[_0x56d4b2(0x39d)](_0x45034a){const _0x46c3c3=_0x56d4b2;this[_0x46c3c3(0x533)][_0x46c3c3(0x336)](0x1),_0x45034a[_0x46c3c3(0x526)]({'cmd':G[_0x46c3c3(0x4e4)],'routeKey':this[_0x46c3c3(0x47f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x46c3c3(0x47f)]}]}});}['_onJoinRoomEvent'](_0x1e62af){const _0x11a4f4=_0x56d4b2;var _0x50ab73;if(_0x1e62af[_0x11a4f4(0x40a)]===Et['FAIL']){this[_0x11a4f4(0x24f)][_0x11a4f4(0x2a0)]({'type':Ce[_0x11a4f4(0x3b7)][_0x11a4f4(0x3a1)],'content':this[_0x11a4f4(0x1fc)]['t']('session.room-full')}),this[_0x11a4f4(0x533)][_0x11a4f4(0x336)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x2f8cc8=(_0x50ab73=_0x1e62af['data'][_0x11a4f4(0x2c8)][this[_0x11a4f4(0x47f)]])==null?void 0x0:_0x50ab73['members'];_0x2f8cc8&&_0x2f8cc8[_0x11a4f4(0x3dc)](_0xdbd905=>this['_memberService'][_0x11a4f4(0x206)](this['_unitID'],_0xdbd905));}[_0x56d4b2(0x5f2)](_0x15e9bc){const _0x2c316b=_0x56d4b2;try{const _0x388595=_0x15e9bc['data'];switch(_0x388595[_0x2c316b(0x1ff)]){case p[_0x2c316b(0x467)][_0x2c316b(0x3f2)]:this['_onUserJoin'](_0x388595),this[_0x2c316b(0x58a)][_0x2c316b(0x336)](_0x388595);break;case p['CollaborationEvent'][_0x2c316b(0x470)]:this[_0x2c316b(0x443)](_0x388595),this[_0x2c316b(0x58a)][_0x2c316b(0x336)](_0x388595);break;case p[_0x2c316b(0x467)][_0x2c316b(0x2ea)]:case p[_0x2c316b(0x467)]['CHANGESET_SHOULD_RETRY']:this[_0x2c316b(0x32f)](),this[_0x2c316b(0x65d)](),this[_0x2c316b(0x58a)][_0x2c316b(0x336)](_0x388595);break;case p['CollaborationEvent'][_0x2c316b(0x537)]:this[_0x2c316b(0x529)][_0x2c316b(0x38d)](_0x2c316b(0x587)+JSON[_0x2c316b(0x637)](_0x388595)),this[_0x2c316b(0x58a)][_0x2c316b(0x336)](_0x388595);break;case p[_0x2c316b(0x467)][_0x2c316b(0x54f)]:this[_0x2c316b(0x259)][_0x2c316b(0x51f)](_0x388595['data']),this['_event$'][_0x2c316b(0x336)](_0x388595);break;default:this['_event$'][_0x2c316b(0x336)](_0x388595);}}catch(_0x595bf7){this[_0x2c316b(0x529)]['error'](_0x595bf7,_0x15e9bc);}}[_0x56d4b2(0x274)](_0x13452a){const _0x381d02=_0x56d4b2;this['_memberService'][_0x381d02(0x206)](this['_unitID'],_0x13452a[_0x381d02(0x569)]);}[_0x56d4b2(0x443)](_0x56f881){const _0x2d72f5=_0x56d4b2;this['_memberService']['removeMember'](this[_0x2d72f5(0x47f)],_0x56f881[_0x2d72f5(0x569)][_0x2d72f5(0x408)]);}async[_0x56d4b2(0x526)](_0x27a20e,_0x522b96){const _0x3e9fad=_0x56d4b2;if(this[_0x3e9fad(0x494)]!==0x3||!this[_0x3e9fad(0x2ed)])throw new Error(_0x3e9fad(0x218));try{_0x27a20e[_0x3e9fad(0x1ff)]===p[_0x3e9fad(0x467)][_0x3e9fad(0x257)]&&(this[_0x3e9fad(0x3c4)](),this[_0x3e9fad(0x486)](_0x27a20e)),this[_0x3e9fad(0x2ed)][_0x3e9fad(0x526)]({'cmd':G[_0x3e9fad(0x481)],'routeKey':_0x522b96,'routeType':'','data':_0x27a20e});}catch(_0x4cf8aa){this[_0x3e9fad(0x529)]['error'](_0x4cf8aa);}}['_scheduleCollaborationTimeoutTimer'](){const _0x42128e=_0x56d4b2;var _0x59ff5e;this[_0x42128e(0x203)]=window[_0x42128e(0x4f7)](()=>{const _0x39ebe9=_0x42128e;this[_0x39ebe9(0x203)]=null,this[_0x39ebe9(0x24f)][_0x39ebe9(0x2a0)]({'type':Ce[_0x39ebe9(0x3b7)][_0x39ebe9(0x597)],'content':this[_0x39ebe9(0x1fc)]['t'](_0x39ebe9(0x45d))});},(_0x59ff5e=this[_0x42128e(0x2b9)][_0x42128e(0x3e8)](Ct))!=null?_0x59ff5e:rn);}['_clearCollaborationTimeoutTimer'](){const _0x23e63d=_0x56d4b2;this[_0x23e63d(0x203)]&&(clearTimeout(this[_0x23e63d(0x203)]),this[_0x23e63d(0x203)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x30ea8a){if(!this['_shouldReportTelemetry'])return;const {data:_0x4cd65b}=_0x30ea8a,{unitID:_0x49a850,changeset:_0x1be555}=_0x4cd65b,{mutations:_0x9ddc6b,type:_0xe1af30}=_0x1be555;this['_telemetryInfo']={'unitId':_0x49a850,'type':_0xe1af30,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ii(_0x9ddc6b)};}[_0x56d4b2(0x32f)](){const _0x45633b=_0x56d4b2;if(this[_0x45633b(0x300)]){if(!this[_0x45633b(0x521)]){this[_0x45633b(0x529)][_0x45633b(0x38d)](_0x45633b(0x37a),_0x45633b(0x4da));return;}this['_telemetryInfo'][_0x45633b(0x480)]=performance[_0x45633b(0x1d6)](),this[_0x45633b(0x521)]['duration']=this['_telemetryInfo'][_0x45633b(0x480)]-this[_0x45633b(0x521)][_0x45633b(0x35b)],this[_0x45633b(0x38f)][_0x45633b(0x3b3)](ni,this['_telemetryInfo']),this[_0x45633b(0x521)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x56d4b2(0x453)]=hi([de(0x2,a[_0x56d4b2(0x270)]),de(0x3,te[_0x56d4b2(0x660)]),de(0x4,te[_0x56d4b2(0x1cf)]),de(0x5,a[_0x56d4b2(0x229)]),de(0x6,a[_0x56d4b2(0x226)](a['LocaleService'])),de(0x7,a[_0x56d4b2(0x226)](exports['MemberService'])),de(0x8,a[_0x56d4b2(0x226)](Tt)),de(0x9,a[_0x56d4b2(0x317)]($n['ITelemetryService']))],exports['CollaborationSession']);var _i=Object[_0x56d4b2(0x3a4)],ui=Object['getOwnPropertyDescriptor'],di=(_0x29960d,_0x54640d,_0x4185a0,_0x255102)=>{for(var _0x14fdb2=_0x255102>0x1?void 0x0:_0x255102?ui(_0x54640d,_0x4185a0):_0x54640d,_0x4c64f0=_0x29960d['length']-0x1,_0x1bebcf;_0x4c64f0>=0x0;_0x4c64f0--)(_0x1bebcf=_0x29960d[_0x4c64f0])&&(_0x14fdb2=(_0x255102?_0x1bebcf(_0x54640d,_0x4185a0,_0x14fdb2):_0x1bebcf(_0x14fdb2))||_0x14fdb2);return _0x255102&&_0x14fdb2&&_i(_0x54640d,_0x4185a0,_0x14fdb2),_0x14fdb2;},pe=(_0x2cb7ac,_0x25bca9)=>(_0x23a5a6,_0x2223e0)=>_0x25bca9(_0x23a5a6,_0x2223e0,_0x2cb7ac);exports[_0x56d4b2(0x251)]=class extends a['Disposable']{constructor(_0xa990d0,_0x4a964b,_0x202365,_0x492f6a,_0x2897a6,_0xdeb886,_0x3c0af1){const _0x14cc0d=_0x56d4b2;super(),I(this,_0x14cc0d(0x43e),new A['BehaviorSubject'](void 0x0)),I(this,_0x14cc0d(0x493),this[_0x14cc0d(0x43e)][_0x14cc0d(0x59e)]()),I(this,_0x14cc0d(0x5a3),null),I(this,_0x14cc0d(0x2e0),new Map()),I(this,_0x14cc0d(0x5aa),new A[(_0x14cc0d(0x227))](se[_0x14cc0d(0x2ee)])),I(this,_0x14cc0d(0x434),this[_0x14cc0d(0x5aa)][_0x14cc0d(0x59e)]()),I(this,_0x14cc0d(0x26c),!0x1),I(this,'_retryConnectingTimer'),I(this,_0x14cc0d(0x594),0x0),I(this,_0x14cc0d(0x38a)),I(this,'_timeoutTimer'),(this['_injector']=_0xa990d0,this['_localeService']=_0x4a964b,this[_0x14cc0d(0x24f)]=_0x202365,this[_0x14cc0d(0x529)]=_0x492f6a,this[_0x14cc0d(0x2b9)]=_0x2897a6,this[_0x14cc0d(0x441)]=_0xdeb886,this[_0x14cc0d(0x675)]=_0x3c0af1,this['_initEventListeners']());}get[_0x56d4b2(0x2ed)](){const _0x2a4e75=_0x56d4b2;return this['_socket$'][_0x2a4e75(0x246)]();}['_initEventListeners'](){const _0x1ca70a=_0x56d4b2;this[_0x1ca70a(0x53a)](),this['_listenToOnlineEvent']();}[_0x56d4b2(0x51e)](){const _0x11ec09=_0x56d4b2;super[_0x11ec09(0x51e)](),this[_0x11ec09(0x2e0)]['forEach'](_0x73f1db=>_0x73f1db[_0x11ec09(0x51e)]()),this['_sessions']['clear'](),this[_0x11ec09(0x5aa)][_0x11ec09(0x381)]();}async[_0x56d4b2(0x527)](_0x567d4c){const _0x2d43e5=_0x56d4b2;if(this['_sessions'][_0x2d43e5(0x341)](_0x567d4c))return this['_sessions'][_0x2d43e5(0x313)](_0x567d4c);this['_tryEnsureSocket']();const _0x399a54=this[_0x2d43e5(0x473)][_0x2d43e5(0x390)](exports['CollaborationSession'],_0x567d4c,this['_socket$'][_0x2d43e5(0x59e)]());return this['_sessions'][_0x2d43e5(0x24a)](_0x567d4c,_0x399a54),_0x399a54;}[_0x56d4b2(0x596)](_0xf656f){const _0x581a7f=_0x56d4b2;var _0x16b08e;const _0x3cea77=this[_0x581a7f(0x2e0)]['get'](_0xf656f);_0x3cea77&&(this[_0x581a7f(0x2e0)][_0x581a7f(0x30c)](_0xf656f),_0x3cea77['close']()),this['_sessions'][_0x581a7f(0x2df)]||(_0x16b08e=this['_socket'])==null||_0x16b08e[_0x581a7f(0x649)]();}[_0x56d4b2(0x4a5)](){const _0x56ab3b=_0x56d4b2;this['_retryCount']=0x0,this[_0x56ab3b(0x410)]!=null&&(clearTimeout(this[_0x56ab3b(0x410)]),this['_retryConnectingTimer']=null),this[_0x56ab3b(0x3f3)]();}async[_0x56d4b2(0x26e)](){const _0x48e076=_0x56d4b2;var _0x36763d,_0x5cb5de,_0x1e82fc;const _0x5d9cab=this['_configService'][_0x48e076(0x3e8)](Z),_0x54bd82=(_0x36763d=_0x5d9cab==null?void 0x0:_0x5d9cab[_0x48e076(0x61b)])!=null?_0x36763d:Vn;return(_0x1e82fc=(_0x5cb5de=(await this[_0x48e076(0x675)][_0x48e076(0x313)](_0x54bd82,{'headers':{'Content-Type':_0x48e076(0x2d0)}}))[_0x48e076(0x1f8)])==null?void 0x0:_0x5cb5de[_0x48e076(0x44e)])!=null?_0x1e82fc:'';}[_0x56d4b2(0x662)](_0x5c68c9){const _0x11f07f=_0x56d4b2;var _0x1efbb6,_0x3b4e80;const _0x275a0d=this[_0x11f07f(0x2b9)][_0x11f07f(0x3e8)](nn),_0x2bc7cd=this[_0x11f07f(0x2b9)]['getConfig'](Z),_0x4d2e11=(_0x3b4e80=(_0x1efbb6=_0x2bc7cd==null?void 0x0:_0x2bc7cd[_0x11f07f(0x499)])!=null?_0x1efbb6:_0x275a0d)!=null?_0x3b4e80:Fn,_0x5b80c0=new URL(_0x4d2e11,window[_0x11f07f(0x263)][_0x11f07f(0x516)]);return _0x5b80c0['searchParams'][_0x11f07f(0x24a)](_0x11f07f(0x523),_0x5c68c9),_0x5b80c0[_0x11f07f(0x63c)]();}async['_createSocket'](){const _0x400701=_0x56d4b2,_0xf2dc9d=await this['_getSessionTicket'](),_0x39b371=this['_createSocketURL'](_0xf2dc9d),_0x555878=this[_0x400701(0x441)]['createSocket'](_0x39b371);return this['_candidateSocket']=_0x555878,_0x555878;}async[_0x56d4b2(0x4ed)](){const _0xc5b864=_0x56d4b2;var _0x2a1057,_0x16ea03;try{const _0x24aeed=(_0x16ea03=(_0x2a1057=this['_socket'])!=null?_0x2a1057:this[_0xc5b864(0x5a3)])!=null?_0x16ea03:await this[_0xc5b864(0x3bd)]();if(_0x24aeed){const _0x2adef9=_0x24aeed['send'];_0x24aeed[_0xc5b864(0x526)]=_0x4e1aa3=>(this['_rescheduleHeartbeat'](),_0x2adef9[_0xc5b864(0x326)](_0x24aeed,[_0x4e1aa3])),_0x24aeed['message$'][_0xc5b864(0x563)](_0x22d2cd=>this[_0xc5b864(0x1d2)](_0x24aeed,_0x22d2cd)),_0x24aeed[_0xc5b864(0x571)][_0xc5b864(0x348)](V['take'](0x1))[_0xc5b864(0x563)](_0x276320=>this[_0xc5b864(0x529)][_0xc5b864(0x38d)]('[CollaborationSessionService]:\x20socket\x20error',_0x276320)),_0x24aeed[_0xc5b864(0x5a8)][_0xc5b864(0x348)](V[_0xc5b864(0x358)](0x1))[_0xc5b864(0x563)](()=>{const _0x18d1d9=_0xc5b864;this[_0x18d1d9(0x406)](_0x24aeed);}),_0x24aeed[_0xc5b864(0x373)]['pipe'](V[_0xc5b864(0x358)](0x1))[_0xc5b864(0x563)](_0x1467bb=>{const _0x3b3c26=_0xc5b864;this[_0x3b3c26(0x529)][_0x3b3c26(0x50f)](_0x3b3c26(0x4b2),_0x3b3c26(0x5f9),_0x1467bb),this[_0x3b3c26(0x442)]();});}}catch(_0x3ff9b0){this[_0xc5b864(0x529)]['error'](_0x3ff9b0),this[_0xc5b864(0x442)]();}}[_0x56d4b2(0x406)](_0x2b665d){const _0x458150=_0x56d4b2;this[_0x458150(0x529)][_0x458150(0x50f)](_0x458150(0x4b2),'socket\x20open.'),_0x2b665d[_0x458150(0x526)]({'cmd':G[_0x458150(0x3f7)]}),this[_0x458150(0x635)]();}['_listenToOfflineEvent'](){const _0x5b309a=_0x56d4b2;window[_0x5b309a(0x224)](_0x5b309a(0x682),()=>this[_0x5b309a(0x290)]());}[_0x56d4b2(0x290)](){const _0x358f00=_0x56d4b2;this['_socketReady']=!0x1,this[_0x358f00(0x5a3)]=null,this[_0x358f00(0x5aa)][_0x358f00(0x336)](se[_0x358f00(0x48b)]),this['_socket$'][_0x358f00(0x336)](null),this[_0x358f00(0x5f1)](),this['_clearHeartbeatTimer']();}[_0x56d4b2(0x442)](){const _0x382533=_0x56d4b2;var _0x5136db;this[_0x382533(0x290)](),this[_0x382533(0x594)]<((_0x5136db=this['_configService']['getConfig'](on))!=null?_0x5136db:Kn)?(this['_messageService'][_0x382533(0x2a0)]({'key':_0x382533(0x4f6),'type':Ce['MessageType'][_0x382533(0x3a1)],'content':this[_0x382533(0x1fc)]['t'](_0x382533(0x41c))}),this[_0x382533(0x3f3)]()):this[_0x382533(0x24f)][_0x382533(0x2a0)]({'key':_0x382533(0x4f6),'type':Ce[_0x382533(0x3b7)][_0x382533(0x597)],'content':this[_0x382533(0x1fc)]['t'](_0x382533(0x40c))});}['_listenToOnlineEvent'](){const _0xfa87d4=_0x56d4b2,_0xa52389=()=>{const _0x4ffbb7=_0xe699;this[_0x4ffbb7(0x2ed)]||this[_0x4ffbb7(0x4a5)]();},_0x2e0b4d=()=>{const _0x2d1252=_0xe699;this[_0x2d1252(0x2ed)]||document['visibilityState']===_0x2d1252(0x647)||this['reconnect']();};window[_0xfa87d4(0x224)](_0xfa87d4(0x592),_0xa52389),document[_0xfa87d4(0x224)](_0xfa87d4(0x4f8),_0x2e0b4d);}[_0x56d4b2(0x3f3)](){const _0x422b8d=_0x56d4b2;var _0x340472;const _0xbfd025=this[_0x422b8d(0x594)],_0x324e00=this[_0x422b8d(0x2b9)][_0x422b8d(0x3e8)](Z),_0x17f191=_0xbfd025===0x0?0x0:((_0x340472=_0x324e00==null?void 0x0:_0x324e00[_0x422b8d(0x49c)])!=null?_0x340472:Yn)*0x2**_0xbfd025;this[_0x422b8d(0x410)]=window['setTimeout'](()=>{const _0x4f93dc=_0x422b8d;clearTimeout(this[_0x4f93dc(0x410)]),this[_0x4f93dc(0x410)]=null,this[_0x4f93dc(0x4ed)]();},_0x17f191),this[_0x422b8d(0x594)]+=0x1;}[_0x56d4b2(0x1d2)](_0x3a863d,_0x24fd54){const _0x10b471=_0x56d4b2,{cmd:_0x4362b7}=_0x24fd54;_0x4362b7===G[_0x10b471(0x3f7)]&&!this['_socketReady']&&(_0x3a863d['memberID']=_0x24fd54[_0x10b471(0x569)][_0x10b471(0x408)],this[_0x10b471(0x43e)][_0x10b471(0x336)](_0x3a863d),this[_0x10b471(0x5aa)][_0x10b471(0x336)](se[_0x10b471(0x53b)]),this['_socketReady']=!0x0,this[_0x10b471(0x5a3)]=null),_0x4362b7===G[_0x10b471(0x631)]&&this[_0x10b471(0x5f1)](),this[_0x10b471(0x635)]();}[_0x56d4b2(0x635)](){const _0x13fb7d=_0x56d4b2;var _0x8e5ff8;this[_0x13fb7d(0x56c)](),this[_0x13fb7d(0x38a)]=window['setTimeout'](()=>this[_0x13fb7d(0x4a3)](),(_0x8e5ff8=this[_0x13fb7d(0x2b9)][_0x13fb7d(0x3e8)](sn))!=null?_0x8e5ff8:Gn);}[_0x56d4b2(0x4a3)](){const _0x2cba67=_0x56d4b2;this[_0x2cba67(0x2ed)]['send']({'cmd':G[_0x2cba67(0x631)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){const _0x373299=_0x56d4b2;var _0x30b3cd;this[_0x373299(0x460)]=window['setTimeout'](()=>this[_0x373299(0x442)](),(_0x30b3cd=this['_configService'][_0x373299(0x3e8)](Ct))!=null?_0x30b3cd:rn);}['_clearHeartbeatTimer'](){const _0x14d62d=_0x56d4b2;this[_0x14d62d(0x38a)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x56d4b2(0x5f1)](){const _0xf7ffb6=_0x56d4b2;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xf7ffb6(0x460)]=null);}},exports[_0x56d4b2(0x251)]=di([pe(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),pe(0x1,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x34d)])),pe(0x2,te[_0x56d4b2(0x1cf)]),pe(0x3,a['ILogService']),pe(0x4,a[_0x56d4b2(0x229)]),pe(0x5,bt),pe(0x6,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)]))],exports[_0x56d4b2(0x251)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x56d4b2(0x322)]((s+0x100)[_0x56d4b2(0x63c)](0x10)[_0x56d4b2(0x2a4)](0x1));function fi(_0x32267e,_0x275af0=0x0){const _0x3ad921=_0x56d4b2;return(Y[_0x32267e[_0x275af0+0x0]]+Y[_0x32267e[_0x275af0+0x1]]+Y[_0x32267e[_0x275af0+0x2]]+Y[_0x32267e[_0x275af0+0x3]]+'-'+Y[_0x32267e[_0x275af0+0x4]]+Y[_0x32267e[_0x275af0+0x5]]+'-'+Y[_0x32267e[_0x275af0+0x6]]+Y[_0x32267e[_0x275af0+0x7]]+'-'+Y[_0x32267e[_0x275af0+0x8]]+Y[_0x32267e[_0x275af0+0x9]]+'-'+Y[_0x32267e[_0x275af0+0xa]]+Y[_0x32267e[_0x275af0+0xb]]+Y[_0x32267e[_0x275af0+0xc]]+Y[_0x32267e[_0x275af0+0xd]]+Y[_0x32267e[_0x275af0+0xe]]+Y[_0x32267e[_0x275af0+0xf]])[_0x3ad921(0x580)]();}let Je;const vi=new Uint8Array(0x10);function Si(){const _0x44d675=_0x56d4b2;if(!Je){if(typeof crypto>'u'||!crypto[_0x44d675(0x560)])throw new Error(_0x44d675(0x573));Je=crypto['getRandomValues'][_0x44d675(0x299)](crypto);}return Je(vi);}const pi=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x56d4b2(0x412)][_0x56d4b2(0x299)](crypto),At={'randomUUID':pi};function mi(_0x5c3692,_0x5ef229,_0x4e6690){const _0x4188ca=_0x56d4b2;if(At[_0x4188ca(0x412)]&&!_0x5ef229&&!_0x5c3692)return At[_0x4188ca(0x412)]();_0x5c3692=_0x5c3692||{};const _0x4eaf6b=_0x5c3692[_0x4188ca(0x27d)]||(_0x5c3692[_0x4188ca(0x28d)]||Si)();return _0x4eaf6b[0x6]=_0x4eaf6b[0x6]&0xf|0x40,_0x4eaf6b[0x8]=_0x4eaf6b[0x8]&0x3f|0x80,fi(_0x4eaf6b);}var gi=Object['defineProperty'],Ii=Object['getOwnPropertyDescriptor'],Ci=(_0x5d56ed,_0x2d7a1a,_0x344e08,_0x4e051c)=>{const _0x55246c=_0x56d4b2;for(var _0x5e0327=_0x4e051c>0x1?void 0x0:_0x4e051c?Ii(_0x2d7a1a,_0x344e08):_0x2d7a1a,_0x194a14=_0x5d56ed[_0x55246c(0x543)]-0x1,_0x5e1c5e;_0x194a14>=0x0;_0x194a14--)(_0x5e1c5e=_0x5d56ed[_0x194a14])&&(_0x5e0327=(_0x4e051c?_0x5e1c5e(_0x2d7a1a,_0x344e08,_0x5e0327):_0x5e1c5e(_0x5e0327))||_0x5e0327);return _0x4e051c&&_0x5e0327&&gi(_0x2d7a1a,_0x344e08,_0x5e0327),_0x5e0327;},Ze=(_0x42aaa5,_0x3bd648)=>(_0x45fa98,_0x559d8e)=>_0x3bd648(_0x45fa98,_0x559d8e,_0x42aaa5);let ke=class{constructor(_0x250f7c,_0x469b12,_0x5c9fcb){const _0x353660=_0x56d4b2;this['_injector']=_0x250f7c,this['_transformService']=_0x469b12,this[_0x353660(0x4e9)]=_0x5c9fcb;}[_0x56d4b2(0x64e)](_0x744d18){const _0x32eae1=_0x56d4b2;this['_transformUndoRedoStack'](_0x744d18),this[_0x32eae1(0x5be)](_0x744d18);}[_0x56d4b2(0x3a9)](_0x3eef85){const _0x39a148=_0x56d4b2,{unitID:_0x4531da}=_0x3eef85,_0x340e7c=this['_renderManagerService'][_0x39a148(0x600)](_0x4531da)[_0x39a148(0x61c)](Q[_0x39a148(0x3d0)]),{redoCache:_0x36126b}=_0x340e7c[_0x39a148(0x4b4)]();if(_0x36126b['length']===0x0)return _0x3eef85;let _0x1164f2=a[_0x39a148(0x4a6)]['deepClone'](_0x3eef85[_0x39a148(0x48c)][0x0]);for(let _0x474101=0x0;_0x474101<_0x36126b[_0x39a148(0x543)];_0x474101++){const _0x5402d7={'id':_0x39a148(0x457),'params':{..._0x36126b[_0x474101]}},_0x33aa5f=this['_transformService'][_0x39a148(0x4b6)](_0x1164f2,_0x5402d7,!0x1);if(p[_0x39a148(0x4bf)](_0x33aa5f))throw _0x33aa5f['error'];_0x1164f2=_0x33aa5f[_0x39a148(0x3c0)];}return{...a[_0x39a148(0x4a6)][_0x39a148(0x395)](_0x3eef85),'mutations':[_0x1164f2]};}[_0x56d4b2(0x1f6)](_0x189312){const _0x5044bf=_0x56d4b2,{unitID:_0x9bcca0}=_0x189312,_0x4d94e8=this['_renderManagerService'][_0x5044bf(0x600)](_0x9bcca0)[_0x5044bf(0x61c)](Q['DocIMEInputManagerService']),{undoCache:_0x410659,redoCache:_0x10d555}=_0x4d94e8[_0x5044bf(0x4b4)]();if(_0x410659[_0x5044bf(0x543)]===0x0||_0x10d555['length']===0x0)return;const _0x4b8034=[],_0xe9bf96=[];let _0x5702e0=a[_0x5044bf(0x4a6)][_0x5044bf(0x395)](_0x189312['mutations'][0x0]),_0x7af6=a['Tools'][_0x5044bf(0x395)](_0x189312[_0x5044bf(0x48c)][0x0]);for(let _0x564435=_0x410659[_0x5044bf(0x543)]-0x1;_0x564435>=0x0;_0x564435--){const _0x58ceed={'id':_0x5044bf(0x457),'params':{..._0x410659[_0x564435]}},_0x488e78={'id':_0x5044bf(0x457),'params':{..._0x10d555[_0x564435]}},_0xc6f0d6=this[_0x5044bf(0x4c7)]['transformMutation'](_0x5702e0,_0x58ceed,!0x1),_0x2131c1=this['_transformService'][_0x5044bf(0x4b6)](_0x7af6,_0x488e78,!0x1);if(p[_0x5044bf(0x4bf)](_0xc6f0d6))throw _0xc6f0d6[_0x5044bf(0x38d)];if(p['isTransformMutationFailure'](_0x2131c1))throw _0x2131c1[_0x5044bf(0x38d)];_0x4b8034['unshift'](_0xc6f0d6[_0x5044bf(0x417)][_0x5044bf(0x225)]),_0xe9bf96['unshift'](_0x2131c1['m2Prime'][_0x5044bf(0x225)]),_0x5702e0=_0xc6f0d6[_0x5044bf(0x3c0)],_0x7af6=_0x2131c1['m1Prime'];}_0x4d94e8['setUndoRedoMutationParamsCache']({'undoCache':_0x4b8034,'redoCache':_0xe9bf96});}[_0x56d4b2(0x5be)](_0x839060){const _0x8b24e5=_0x56d4b2,{unitID:_0xcf133e}=_0x839060,_0x42ba15=this[_0x8b24e5(0x4e9)][_0x8b24e5(0x600)](_0xcf133e)[_0x8b24e5(0x61c)](Q[_0x8b24e5(0x3d0)]),_0xd3f27b=_0x42ba15['getActiveRange']();if(_0xd3f27b==null)return;const _0x22ca3e=[{'id':_0x8b24e5(0x457),'params':{'unitId':_0x839060['unitID'],'actions':null,'textRanges':[_0xd3f27b]}}],_0x252fa6=this[_0x8b24e5(0x4c7)][_0x8b24e5(0x230)](_0x839060,_0x22ca3e);if(!p['isTransformMutationsWithChangesetSuccess'](_0x252fa6))throw _0x252fa6[_0x8b24e5(0x38d)];const _0x1249aa=_0x252fa6[_0x8b24e5(0x417)][0x0][_0x8b24e5(0x225)][_0x8b24e5(0x217)];Array['isArray'](_0x1249aa)&&_0x1249aa[_0x8b24e5(0x543)]&&_0x42ba15[_0x8b24e5(0x4aa)](_0x1249aa[0x0]);}};ke=Ci([Ze(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),Ze(0x1,p[_0x56d4b2(0x25d)]),Ze(0x2,K[_0x56d4b2(0x296)])],ke);var Ei=Object[_0x56d4b2(0x3a4)],bi=Object[_0x56d4b2(0x47e)],Ti=(_0x1c4ff2,_0x24cf18,_0x3bd02a,_0x48461c)=>{const _0x56e4df=_0x56d4b2;for(var _0x3943b7=_0x48461c>0x1?void 0x0:_0x48461c?bi(_0x24cf18,_0x3bd02a):_0x24cf18,_0x5a5ef4=_0x1c4ff2[_0x56e4df(0x543)]-0x1,_0x38be11;_0x5a5ef4>=0x0;_0x5a5ef4--)(_0x38be11=_0x1c4ff2[_0x5a5ef4])&&(_0x3943b7=(_0x48461c?_0x38be11(_0x24cf18,_0x3bd02a,_0x3943b7):_0x38be11(_0x3943b7))||_0x3943b7);return _0x48461c&&_0x3943b7&&Ei(_0x24cf18,_0x3bd02a,_0x3943b7),_0x3943b7;},we=(_0x5a0bcb,_0x547afe)=>(_0x5923b6,_0x3b920d)=>_0x547afe(_0x5923b6,_0x3b920d,_0x5a0bcb);exports['LocalCacheService']=class extends a['Disposable']{constructor(_0x5baeef,_0x181489,_0x566c71,_0x3fa08f,_0x19a42b){const _0x308eac=_0x56d4b2;super(),I(this,'_cachedData',new Map()),I(this,_0x308eac(0x3c5),new Map()),I(this,_0x308eac(0x273),!0x1),(this[_0x308eac(0x2b9)]=_0x5baeef,this['_localStorageService']=_0x181489,this[_0x308eac(0x365)]=_0x566c71,this[_0x308eac(0x1fc)]=_0x3fa08f,this[_0x308eac(0x244)]=_0x19a42b,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){const _0xdf877c=_0x56d4b2;this[_0xdf877c(0x273)]=!0x0;}['enableLocalCache'](){const _0x436d37=_0x56d4b2;this[_0x436d37(0x273)]=!0x1;}[_0x56d4b2(0x51e)](){const _0x2fd3d5=_0x56d4b2;this[_0x2fd3d5(0x416)]()['then'](()=>super[_0x2fd3d5(0x51e)]());}async['loadOfflineData'](_0x38d832){const _0x1e5f5b=_0x56d4b2;return this['_disabled']?null:this['_localStorageService'][_0x1e5f5b(0x5ab)](Nt(_0x38d832));}async[_0x56d4b2(0x68a)](_0x1baa7d,_0x28a81c){const _0x2918fa=_0x56d4b2;return!!this[_0x2918fa(0x255)][_0x2918fa(0x2c2)](_0x1baa7d,_0x28a81c);}[_0x56d4b2(0x3d1)](_0x3c86f5,_0x5da9d9,_0x2f5d6b,_0x49f07c){const _0x3cc9ef=_0x56d4b2,_0x2f4ffc=this[_0x3cc9ef(0x244)]['getCurrentRevOfUnit'](_0x3c86f5);this[_0x3cc9ef(0x633)][_0x3cc9ef(0x24a)](_0x3c86f5,{'unitID':_0x3c86f5,'type':_0x5da9d9,'awaitingChangeset':_0x2f5d6b,'mutations':_0x49f07c,'rev':_0x2f4ffc}),this['_saveTaskMap']['has'](_0x3c86f5)||this['_scheduleSaving'](_0x3c86f5);}['_scheduleSaving'](_0x5e5f5e){const _0x23ee59=_0x56d4b2,_0x4f6ba3=this[_0x23ee59(0x546)]();_0x4f6ba3===0x0?this[_0x23ee59(0x540)](_0x5e5f5e):this[_0x23ee59(0x3c5)][_0x23ee59(0x24a)](_0x5e5f5e,setTimeout(()=>this[_0x23ee59(0x540)](_0x5e5f5e),_0x4f6ba3));}[_0x56d4b2(0x546)](){const _0x2da07d=_0x56d4b2;var _0x2fb27b;return(_0x2fb27b=this[_0x2da07d(0x2b9)][_0x2da07d(0x3e8)](an))!=null?_0x2fb27b:qn;}[_0x56d4b2(0x540)](_0x2fbbf2){const _0x387ca5=_0x56d4b2,_0x434d9b=this[_0x387ca5(0x3c5)]['get'](_0x2fbbf2);return _0x434d9b!==void 0x0&&window[_0x387ca5(0x5d9)](_0x434d9b),this['_localStorageService'][_0x387ca5(0x2c2)](Nt(_0x2fbbf2),this[_0x387ca5(0x633)][_0x387ca5(0x313)](_0x2fbbf2))[_0x387ca5(0x4a8)](()=>this[_0x387ca5(0x3c5)]['delete'](_0x2fbbf2));}async['exhaustSavingTask'](){const _0xb361b2=_0x56d4b2,_0x3bc074=[];this[_0xb361b2(0x3c5)]['forEach']((_0x532739,_0x33d003)=>{const _0x3ae6e7=_0xb361b2;window[_0x3ae6e7(0x5d9)](_0x532739),_0x3bc074[_0x3ae6e7(0x322)](this[_0x3ae6e7(0x540)](_0x33d003)['then'](()=>{const _0x41d293=_0x3ae6e7;this['_saveTaskMap'][_0x41d293(0x30c)](_0x33d003);}));}),await Promise[_0xb361b2(0x638)](_0x3bc074);}[_0x56d4b2(0x50a)](){const _0x3b52b0=_0x56d4b2;this[_0x3b52b0(0x211)](this[_0x3b52b0(0x365)][_0x3b52b0(0x22e)](()=>{const _0x3bed1e=_0x3b52b0;if(this[_0x3bed1e(0x3c5)][_0x3bed1e(0x2df)])return this[_0x3bed1e(0x1fc)]['t'](_0x3bed1e(0x447));}));}},exports[_0x56d4b2(0x541)]=Ti([we(0x0,a[_0x56d4b2(0x229)]),we(0x1,a[_0x56d4b2(0x4bd)]),we(0x2,te['IBeforeCloseService']),we(0x3,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x34d)])),we(0x4,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)]))],exports[_0x56d4b2(0x541)]);function Nt(_0x1b6e39){return'unit-cache-'+_0x1b6e39;}var Ri=Object[_0x56d4b2(0x3a4)],yi=Object[_0x56d4b2(0x47e)],Oi=(_0x559c0c,_0xa45327,_0x3208c9,_0x2ec9f3)=>{const _0x2bbaf6=_0x56d4b2;for(var _0x5f0bbe=_0x2ec9f3>0x1?void 0x0:_0x2ec9f3?yi(_0xa45327,_0x3208c9):_0xa45327,_0x44ff7d=_0x559c0c[_0x2bbaf6(0x543)]-0x1,_0x1b8bbb;_0x44ff7d>=0x0;_0x44ff7d--)(_0x1b8bbb=_0x559c0c[_0x44ff7d])&&(_0x5f0bbe=(_0x2ec9f3?_0x1b8bbb(_0xa45327,_0x3208c9,_0x5f0bbe):_0x1b8bbb(_0x5f0bbe))||_0x5f0bbe);return _0x2ec9f3&&_0x5f0bbe&&Ri(_0xa45327,_0x3208c9,_0x5f0bbe),_0x5f0bbe;},Qe=(_0x53b354,_0x5001db)=>(_0x3f910c,_0x6a5a2e)=>_0x5001db(_0x3f910c,_0x6a5a2e,_0x53b354);function Di(_0x6670ff){const _0x3852d9=_0x56d4b2,{unitID:_0x2f2f3e,mutations:_0x575a04}=_0x6670ff;return{'unitId':_0x2f2f3e,'subUnitId':_0x575a04[0x0]['params'][_0x3852d9(0x5b2)]};}let Be=class{constructor(_0x55b259,_0x9cbba8,_0x47f0ba){const _0x31ee3c=_0x56d4b2;this[_0x31ee3c(0x473)]=_0x55b259,this[_0x31ee3c(0x4c7)]=_0x9cbba8,this[_0x31ee3c(0x5da)]=_0x47f0ba;}[_0x56d4b2(0x57a)](_0x19460e){const _0x5d00c3=_0x56d4b2;var _0x10d69d,_0x1d1605,_0x239f48,_0x52ba26;const _0x4a6dc5=this[_0x5d00c3(0x473)][_0x5d00c3(0x313)](B['SheetsSelectionsService']),{unitId:_0x4b99bd,subUnitId:_0x46c83b}=Di(_0x19460e),_0x351bad=_0x4a6dc5['getWorkbookSelections'](_0x4b99bd)[_0x5d00c3(0x602)](),_0x351ca0=(_0x1d1605=(_0x10d69d=this[_0x5d00c3(0x5da)][_0x5d00c3(0x2b6)](_0x4b99bd))==null?void 0x0:_0x10d69d[_0x5d00c3(0x472)]())==null?void 0x0:_0x1d1605[_0x5d00c3(0x581)]();if(_0x351bad['length']===0x0||!_0x4b99bd||!_0x46c83b)return;const _0x25ff4f=[{'id':B['SetSelectionsOperation']['id'],'params':{'unitId':_0x4b99bd,'subUnitId':_0x351ca0,'selections':a[_0x5d00c3(0x4a6)][_0x5d00c3(0x395)](_0x351bad)}}],_0x5d7fc8=this[_0x5d00c3(0x4c7)][_0x5d00c3(0x230)](_0x19460e,_0x25ff4f);if(!p[_0x5d00c3(0x455)](_0x5d7fc8))throw _0x5d7fc8[_0x5d00c3(0x38d)];const _0x1faf2e=(_0x52ba26=(_0x239f48=_0x5d7fc8[_0x5d00c3(0x417)][0x0])==null?void 0x0:_0x239f48[_0x5d00c3(0x225)])==null?void 0x0:_0x52ba26[_0x5d00c3(0x36c)];if(Array[_0x5d00c3(0x534)](_0x1faf2e)&&_0x1faf2e[_0x5d00c3(0x543)]){if(_0x1faf2e['length']===_0x25ff4f[0x0][_0x5d00c3(0x225)][_0x5d00c3(0x36c)][_0x5d00c3(0x543)]&&_0x1faf2e[_0x5d00c3(0x4bb)]((_0x3ac794,_0x469699)=>a[_0x5d00c3(0x24e)][_0x5d00c3(0x5c0)](_0x3ac794[_0x5d00c3(0x51c)],_0x25ff4f[0x0][_0x5d00c3(0x225)]['selections'][_0x469699]['range'])))return;this['_injector'][_0x5d00c3(0x313)](a[_0x5d00c3(0x2b1)])[_0x5d00c3(0x29a)](B[_0x5d00c3(0x1df)]['id'],{'unitId':_0x4b99bd,'subUnitId':_0x351ca0,'selections':_0x1faf2e});}}};Be=Oi([Qe(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),Qe(0x1,p[_0x56d4b2(0x25d)]),Qe(0x2,a['IUniverInstanceService'])],Be);const qe=a[_0x56d4b2(0x286)](_0x56d4b2(0x655));var fn=(_0x122d3c=>(_0x122d3c[_0x122d3c[_0x56d4b2(0x63a)]=0x0]=_0x56d4b2(0x63a),_0x122d3c[_0x122d3c['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x122d3c))(fn||{});const Lt=0x7530,xt=_0x56d4b2(0x498);class Pi extends a['Disposable']{constructor(){const _0x5146fd=_0x56d4b2;super(),I(this,_0x5146fd(0x31c),a[_0x5146fd(0x4a6)]['generateRandomId']()),I(this,_0x5146fd(0x5fb),new Set()),I(this,'_unitOnClients',new Map()),I(this,'_heartbeatTimer',null),I(this,'_clearOtherTimers',new Map()),I(this,_0x5146fd(0x44f),new Map()),this[_0x5146fd(0x507)]();}[_0x56d4b2(0x51e)](){const _0x331bc5=_0x56d4b2;super[_0x331bc5(0x51e)](),this[_0x331bc5(0x4fc)][_0x331bc5(0x3dc)]((_0x23265f,_0x58a0e6)=>this[_0x331bc5(0x5e5)](_0x58a0e6)),this[_0x331bc5(0x604)]&&window['clearInterval'](this[_0x331bc5(0x604)]);}[_0x56d4b2(0x272)](_0x4be13b){const _0x46d058=_0x56d4b2;return this[_0x46d058(0x58d)](_0x4be13b)[_0x46d058(0x348)](A[_0x46d058(0x500)]());}[_0x56d4b2(0x55e)](_0x52579d){const _0xcaf547=_0x56d4b2;this[_0xcaf547(0x5fb)][_0xcaf547(0x2df)]===0x0&&this[_0xcaf547(0x3b8)](),this[_0xcaf547(0x5fb)][_0xcaf547(0x247)](_0x52579d),this[_0xcaf547(0x634)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x52579d],'isForwarded':!0x1});}[_0x56d4b2(0x48a)](_0x18282e){const _0x25113b=_0x56d4b2;this[_0x25113b(0x5fb)]['delete'](_0x18282e),this[_0x25113b(0x5fb)][_0x25113b(0x2df)]===0x0&&this['_heartbeatTimer']&&window[_0x25113b(0x3af)](this[_0x25113b(0x604)]);}[_0x56d4b2(0x507)](){const _0x16c0e2=_0x56d4b2;this[_0x16c0e2(0x211)](a[_0x16c0e2(0x2a5)](A[_0x16c0e2(0x3dd)](window,_0x16c0e2(0x311))[_0x16c0e2(0x563)](_0x997e9=>{const _0x185cd9=_0x16c0e2;if(_0x997e9[_0x185cd9(0x615)]!==xt||!_0x997e9['newValue'])return;const _0x80f303=JSON['parse'](_0x997e9[_0x185cd9(0x628)]);this[_0x185cd9(0x60d)](_0x80f303);}))),window['addEventListener'](_0x16c0e2(0x568),()=>this[_0x16c0e2(0x634)]({'type':0x1,'memberID':this[_0x16c0e2(0x31c)],'unitIDs':Array['from'](this[_0x16c0e2(0x5fb)])}));}[_0x56d4b2(0x60d)](_0x1cf4d4){const _0x559401=_0x56d4b2;switch(_0x1cf4d4[_0x559401(0x2fc)]){case 0x0:this[_0x559401(0x30b)](_0x1cf4d4);break;case 0x1:this[_0x559401(0x295)](_0x1cf4d4);break;case 0x2:this[_0x559401(0x368)](_0x1cf4d4);break;}}[_0x56d4b2(0x30b)](_0x724136){const _0x40c709=_0x56d4b2,{unitIDs:_0x798e0e,memberID:_0x2ba645,isForwarded:_0x2a0511}=_0x724136;_0x798e0e['forEach'](_0x1b91fa=>{const _0x3391b2=_0xe699;if(!_0x2a0511&&this[_0x3391b2(0x31f)][_0x3391b2(0x341)](_0x1b91fa)&&this[_0x3391b2(0x58d)](_0x1b91fa)[_0x3391b2(0x336)](0x1),!this[_0x3391b2(0x31f)][_0x3391b2(0x341)](_0x1b91fa)||!this[_0x3391b2(0x31f)]['get'](_0x1b91fa)[_0x3391b2(0x341)](_0x2ba645)){const _0x1b7d26=this[_0x3391b2(0x31f)][_0x3391b2(0x313)](_0x1b91fa)||new Set();_0x1b7d26['add'](_0x2ba645),this['_unitOnClients'][_0x3391b2(0x24a)](_0x1b91fa,_0x1b7d26),this[_0x3391b2(0x213)](_0x2ba645);}}),_0x2a0511||this[_0x40c709(0x634)]({'type':0x0,'memberID':this[_0x40c709(0x31c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x15b86c){const _0x39f8b1=_0x56d4b2;this['_removeClearOtherTimer'](_0x15b86c);const _0x52890a=window[_0x39f8b1(0x4f7)](()=>{const _0x42a3f5=_0x39f8b1;this[_0x42a3f5(0x31f)][_0x42a3f5(0x3dc)](_0xe418b8=>{_0xe418b8['delete'](_0x15b86c);});},Lt*0x2);this[_0x39f8b1(0x4fc)][_0x39f8b1(0x24a)](_0x15b86c,_0x52890a);}[_0x56d4b2(0x5e5)](_0x90df15){const _0x3046e2=_0x56d4b2;if(this[_0x3046e2(0x4fc)][_0x3046e2(0x341)](_0x90df15)){const _0x1cda4a=this[_0x3046e2(0x4fc)]['get'](_0x90df15);_0x1cda4a&&window['clearTimeout'](_0x1cda4a),this['_clearOtherTimers'][_0x3046e2(0x24a)](_0x90df15,null);}}[_0x56d4b2(0x295)](_0x47094f){const _0x4d79d1=_0x56d4b2,{memberID:_0x283eba,unitIDs:_0x2e77db}=_0x47094f;_0x2e77db[_0x4d79d1(0x3dc)](_0xd529e9=>{const _0x21f4a9=_0x4d79d1;var _0x18a6cc;const _0x10aa40=this[_0x21f4a9(0x31f)][_0x21f4a9(0x313)](_0xd529e9);_0x10aa40&&(_0x10aa40['delete'](_0x283eba),(_0x18a6cc=this[_0x21f4a9(0x58d)](_0xd529e9))==null||_0x18a6cc[_0x21f4a9(0x336)](_0x10aa40[_0x21f4a9(0x2df)]===0x0?0x0:0x1));}),this[_0x4d79d1(0x5e5)](_0x283eba);}[_0x56d4b2(0x368)](_0x20f4f0){const _0xc4801d=_0x56d4b2;this[_0xc4801d(0x213)](_0x20f4f0[_0xc4801d(0x408)]);}[_0x56d4b2(0x634)](_0x14dffd){const _0x8aebdc=_0x56d4b2;localStorage[_0x8aebdc(0x2c2)](xt,JSON['stringify'](_0x14dffd));}[_0x56d4b2(0x3b8)](){const _0xc80a6d=_0x56d4b2;this[_0xc80a6d(0x604)]=window['setInterval'](()=>{const _0x181dc2=_0xc80a6d;this[_0x181dc2(0x634)]({'type':0x2,'memberID':this['_id']});},Lt);}[_0x56d4b2(0x58d)](_0x250b01){const _0x1362cc=_0x56d4b2;return this[_0x1362cc(0x44f)][_0x1362cc(0x341)](_0x250b01)||this[_0x1362cc(0x44f)]['set'](_0x250b01,new A['BehaviorSubject'](0x0)),this[_0x1362cc(0x44f)][_0x1362cc(0x313)](_0x250b01);}}var wi=Object[_0x56d4b2(0x3a4)],Ui=Object[_0x56d4b2(0x47e)],Mi=(_0x5114bf,_0x24216d,_0x236f74,_0x18a256)=>{for(var _0x3beb63=_0x18a256>0x1?void 0x0:_0x18a256?Ui(_0x24216d,_0x236f74):_0x24216d,_0x495916=_0x5114bf['length']-0x1,_0x5ed12a;_0x495916>=0x0;_0x495916--)(_0x5ed12a=_0x5114bf[_0x495916])&&(_0x3beb63=(_0x18a256?_0x5ed12a(_0x24216d,_0x236f74,_0x3beb63):_0x5ed12a(_0x3beb63))||_0x3beb63);return _0x18a256&&_0x3beb63&&wi(_0x24216d,_0x236f74,_0x3beb63),_0x3beb63;},et=(_0x2ef90e,_0x2fa9a8)=>(_0xeb31,_0x5944be)=>_0x2fa9a8(_0xeb31,_0x5944be,_0x2ef90e);let We=class{constructor(_0x336b76,_0xca85a7,_0x7e5169){const _0x35488f=_0x56d4b2;this[_0x35488f(0x473)]=_0x336b76,this[_0x35488f(0x4c7)]=_0xca85a7,this['_docStateChangeManagerService']=_0x7e5169;}['transformStateCache'](_0x1b9dd9){const _0x648b2=_0x56d4b2;this[_0x648b2(0x5e2)](_0x1b9dd9);}[_0x56d4b2(0x3a9)](_0xdf2265){const _0x41e9ed=_0x56d4b2,{unitID:_0x5a1376}=_0xdf2265,{collaboration:_0x22f39b}=this[_0x41e9ed(0x5e3)][_0x41e9ed(0x386)](_0x5a1376);if(_0x22f39b[_0x41e9ed(0x543)]===0x0)return _0xdf2265;let _0x31fedf=a[_0x41e9ed(0x4a6)][_0x41e9ed(0x395)](_0xdf2265[_0x41e9ed(0x48c)][0x0]);for(let _0x42b1b2=0x0;_0x42b1b2<_0x22f39b['length'];_0x42b1b2++){const _0x496c8f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22f39b[_0x42b1b2][_0x41e9ed(0x2fe)],..._0x22f39b[_0x42b1b2]['redoState']}},_0x5d411d=this[_0x41e9ed(0x4c7)][_0x41e9ed(0x4b6)](_0x31fedf,_0x496c8f,!0x1);if(p['isTransformMutationFailure'](_0x5d411d))throw _0x5d411d[_0x41e9ed(0x38d)];_0x31fedf=_0x5d411d['m1Prime'];}return{...a[_0x41e9ed(0x4a6)][_0x41e9ed(0x395)](_0xdf2265),'mutations':[_0x31fedf]};}[_0x56d4b2(0x5e2)](_0xb05890){const _0x430b68=_0x56d4b2,{unitID:_0x18cdf6}=_0xb05890,{history:_0x41946a,collaboration:_0x3b38e4}=this[_0x430b68(0x5e3)][_0x430b68(0x386)](_0x18cdf6);if(_0x41946a[_0x430b68(0x543)]===0x0&&_0x3b38e4[_0x430b68(0x543)]===0x0)return;const _0x1b1256=[],_0x3b99ea=[];let _0x3a808a=a[_0x430b68(0x4a6)]['deepClone'](_0xb05890[_0x430b68(0x48c)][0x0]),_0x27a388=a[_0x430b68(0x4a6)][_0x430b68(0x395)](_0xb05890['mutations'][0x0]);for(let _0x27d47c=_0x41946a[_0x430b68(0x543)]-0x1;_0x27d47c>=0x0;_0x27d47c--){const _0xf9a0e1={'id':_0x430b68(0x457),'params':{'unitId':_0x41946a[_0x27d47c]['unitId'],..._0x41946a[_0x27d47c][_0x430b68(0x4ad)]}},_0x149cca={'id':_0x430b68(0x457),'params':{'unitId':_0x41946a[_0x27d47c][_0x430b68(0x2fe)],..._0x41946a[_0x27d47c][_0x430b68(0x41f)]}},_0x1cd4d0=this[_0x430b68(0x4c7)]['transformMutation'](_0x3a808a,_0xf9a0e1,!0x1),_0x37d2d=this[_0x430b68(0x4c7)][_0x430b68(0x4b6)](_0x27a388,_0x149cca,!0x1);if(p[_0x430b68(0x4bf)](_0x1cd4d0))throw _0x1cd4d0['error'];if(p['isTransformMutationFailure'](_0x37d2d))throw _0x37d2d[_0x430b68(0x38d)];_0x1b1256[_0x430b68(0x4e8)]({..._0x41946a[_0x27d47c],'undoState':_0x1cd4d0[_0x430b68(0x417)][_0x430b68(0x225)],'redoState':_0x37d2d['m2Prime'][_0x430b68(0x225)]}),_0x3a808a=_0x1cd4d0[_0x430b68(0x3c0)],_0x27a388=_0x37d2d[_0x430b68(0x3c0)];}_0x3a808a=a[_0x430b68(0x4a6)][_0x430b68(0x395)](_0xb05890[_0x430b68(0x48c)][0x0]),_0x27a388=a[_0x430b68(0x4a6)][_0x430b68(0x395)](_0xb05890[_0x430b68(0x48c)][0x0]);for(let _0x54cbe1=_0x3b38e4['length']-0x1;_0x54cbe1>=0x0;_0x54cbe1--){const _0x403afc={'id':_0x430b68(0x457),'params':{'unitId':_0x3b38e4[_0x54cbe1][_0x430b68(0x2fe)],..._0x3b38e4[_0x54cbe1][_0x430b68(0x4ad)]}},_0x528afa={'id':_0x430b68(0x457),'params':{'unitId':_0x3b38e4[_0x54cbe1][_0x430b68(0x2fe)],..._0x3b38e4[_0x54cbe1]['redoState']}},_0x42dd4c=this['_transformService'][_0x430b68(0x4b6)](_0x3a808a,_0x403afc,!0x1),_0x8caa93=this[_0x430b68(0x4c7)][_0x430b68(0x4b6)](_0x27a388,_0x528afa,!0x1);if(p['isTransformMutationFailure'](_0x42dd4c))throw _0x42dd4c['error'];if(p[_0x430b68(0x4bf)](_0x8caa93))throw _0x8caa93[_0x430b68(0x38d)];_0x3b99ea[_0x430b68(0x4e8)]({..._0x3b38e4[_0x54cbe1],'undoState':_0x42dd4c['m2Prime'][_0x430b68(0x225)],'redoState':_0x8caa93[_0x430b68(0x417)][_0x430b68(0x225)]}),_0x3a808a=_0x42dd4c[_0x430b68(0x3c0)],_0x27a388=_0x8caa93[_0x430b68(0x3c0)];}this['_docStateChangeManagerService'][_0x430b68(0x310)](_0x18cdf6,{'history':_0x1b1256,'collaboration':_0x3b99ea});}};We=Mi([et(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),et(0x1,p['ITransformService']),et(0x2,a[_0x56d4b2(0x226)](Q[_0x56d4b2(0x5a7)]))],We);function vn(_0x2bbba8){const _0x149eab=_0x56d4b2;let _0x1661f5='';for(const _0x202146 of _0x2bbba8){const {startOffset:_0x3e7c51,endOffset:_0x338d15,isActive:_0x5ddf38,rangeType:_0x5c6a6c,segmentId:_0x260018,segmentPage:_0x16abba}=_0x202146;_0x1661f5[_0x149eab(0x543)]&&(_0x1661f5+=','),_0x1661f5+=_0x3e7c51+':'+_0x338d15+':'+(_0x5ddf38?'1':'0')+':'+_0x5c6a6c+':'+_0x260018+':'+_0x16abba;}return _0x1661f5;}function Ai(_0x2c430b){const _0x3762f2=_0x56d4b2,_0x32ea88=_0x2c430b[_0x3762f2(0x209)](','),_0x4f989c=[];for(const _0x5a3714 of _0x32ea88){const [_0x100f97,_0x89124f,_0x52cad7,_0x3fe3ba,_0x2eb384,_0x1e178e]=_0x5a3714['split'](':');_0x4f989c['push']({'startOffset':Number(_0x100f97),'endOffset':Number(_0x89124f),'collapsed':_0x100f97===_0x89124f,'isActive':_0x52cad7==='1','rangeType':_0x3fe3ba===a[_0x3762f2(0x52c)][_0x3762f2(0x369)]?a[_0x3762f2(0x52c)]['TEXT']:a['DOC_RANGE_TYPE'][_0x3762f2(0x2e4)],'segmentId':typeof _0x2eb384=='string'?String(_0x2eb384):'','segmentPage':Number(_0x1e178e!=null?_0x1e178e:-0x1)});}return _0x4f989c[_0x3762f2(0x561)](_0x9e78=>_0x9e78[_0x3762f2(0x261)])||(_0x4f989c[0x0][_0x3762f2(0x261)]=!0x0),_0x4f989c;}class Rt extends a[_0x56d4b2(0x5c6)]{constructor(){const _0x4a8f16=_0x56d4b2;super(...arguments),I(this,_0x4a8f16(0x4eb),new A[(_0x4a8f16(0x227))](null)),I(this,_0x4a8f16(0x2e7),this['_collabCursorState$'][_0x4a8f16(0x59e)]());}[_0x56d4b2(0x301)](_0x2b0766){const _0x555ef0=_0x56d4b2,{unitID:_0x2cd7ce,memberID:_0x516d3e,textRanges:_0x2ff2e5}=_0x2b0766,_0x5e2b4a=vn(_0x2ff2e5);if(_0x5e2b4a==='')return;const _0x1b6cd6={'unitID':_0x2cd7ce,'memberID':_0x516d3e,'selection':_0x5e2b4a};this[_0x555ef0(0x4eb)][_0x555ef0(0x336)](_0x1b6cd6);}}var Ni=Object[_0x56d4b2(0x3a4)],Li=Object['getOwnPropertyDescriptor'],xi=(_0x263f2c,_0x55d04b,_0xc0ae3e,_0x2cf01b)=>{const _0x909f62=_0x56d4b2;for(var _0x1b6ba7=_0x2cf01b>0x1?void 0x0:_0x2cf01b?Li(_0x55d04b,_0xc0ae3e):_0x55d04b,_0x3165c7=_0x263f2c[_0x909f62(0x543)]-0x1,_0xd2fffe;_0x3165c7>=0x0;_0x3165c7--)(_0xd2fffe=_0x263f2c[_0x3165c7])&&(_0x1b6ba7=(_0x2cf01b?_0xd2fffe(_0x55d04b,_0xc0ae3e,_0x1b6ba7):_0xd2fffe(_0x1b6ba7))||_0x1b6ba7);return _0x2cf01b&&_0x1b6ba7&&Ni(_0x55d04b,_0xc0ae3e,_0x1b6ba7),_0x1b6ba7;},jt=(_0x5d40aa,_0x7fcc0a)=>(_0x51f86d,_0x4788f4)=>_0x7fcc0a(_0x51f86d,_0x4788f4,_0x5d40aa);let Fe=class{constructor(_0x5ece4c,_0x75f6f8){const _0x5f0729=_0x56d4b2;this[_0x5f0729(0x473)]=_0x5ece4c,this[_0x5f0729(0x4c7)]=_0x75f6f8;}[_0x56d4b2(0x57a)](_0x71df95){const _0xc659ad=_0x56d4b2;var _0x4f105d;const _0x1ce63a=this[_0xc659ad(0x473)][_0xc659ad(0x313)](Ie['DocSelectionManagerService']),_0x4e4d5c=(_0x4f105d=_0x1ce63a[_0xc659ad(0x3ca)]())!=null?_0x4f105d:[];if(_0x4e4d5c['length']===0x0)return;const _0x5da573=_0x71df95['unitID'],_0x8e8853=[{'id':_0xc659ad(0x457),'params':{'unitId':_0x5da573,'actions':null,'textRanges':_0x4e4d5c}}],_0x4efd5a=this[_0xc659ad(0x4c7)][_0xc659ad(0x230)](_0x71df95,_0x8e8853);if(!p['isTransformMutationsWithChangesetSuccess'](_0x4efd5a))throw _0x4efd5a[_0xc659ad(0x38d)];const _0x46e5e2=_0x4efd5a[_0xc659ad(0x417)][0x0][_0xc659ad(0x225)][_0xc659ad(0x217)];Array[_0xc659ad(0x534)](_0x46e5e2)&&_0x46e5e2['length']&&_0x1ce63a['replaceDocRanges'](_0x46e5e2,{'unitId':_0x5da573,'subUnitId':_0x5da573},!0x1);}};Fe=xi([jt(0x0,a['Inject'](a[_0x56d4b2(0x1e7)])),jt(0x1,p[_0x56d4b2(0x25d)])],Fe);const ji=new Set([B[_0x56d4b2(0x39e)]['id']]);function $t(_0x42fbce,_0x3ec912,_0x31da10,_0x40498a,_0x4a5024){const _0x598e3c=_0x56d4b2;var _0x24b4bb,_0x33a8cb,_0x1f1f57,_0x42e331;const _0x3593d2=[];for(const _0x252ad6 of _0x42fbce)if(ji['has'](_0x252ad6['id'])){if(_0x3593d2['length']>0x0)break;_0x3593d2[_0x598e3c(0x322)](_0x252ad6);break;}else _0x3593d2[_0x598e3c(0x322)](_0x252ad6);const _0x26b2ec=(_0x33a8cb=(_0x24b4bb=_0x4a5024[_0x598e3c(0x3cd)]())==null?void 0x0:_0x24b4bb[_0x598e3c(0x388)])!=null?_0x33a8cb:'unknown',_0x59e73f=(_0x42e331=(_0x1f1f57=_0x4a5024['getCurrentUser']())==null?void 0x0:_0x1f1f57[_0x598e3c(0x408)])!=null?_0x42e331:_0x598e3c(0x5b0);return{'changeset':{'unitID':_0x3ec912,'type':p['mapDocumentTypeToUniverType'](_0x31da10[_0x598e3c(0x288)](_0x3ec912)),'baseRev':_0x40498a[_0x598e3c(0x468)](_0x3ec912),'revision':0x0,'userID':_0x26b2ec,'memberID':_0x59e73f,'mutations':_0x3593d2},'pendingMutations':_0x42fbce['slice'](_0x3593d2[_0x598e3c(0x543)])};}function $i(_0xf5fbfd,_0x542973,_0x4f6ce5,_0x37a6c9,_0x1c2867){const _0x2c7dd0=_0x56d4b2;var _0x49ebf2,_0x19090e,_0x5f2b72,_0x2a1a8f;const _0x3c589f=[_0xf5fbfd[_0x2c7dd0(0x29d)]((_0x1d8138,_0x1e8d42)=>{const _0x3967b5=_0x2c7dd0;var _0x178a4f;const {id:_0x10c9d2}=_0x1d8138,{id:_0x34bda4,type:_0x31a4c8}=_0x1e8d42,_0x2b8ebd=(_0x178a4f=_0x1d8138[_0x3967b5(0x225)])!=null?_0x178a4f:{'actions':null},_0x50eb9e=_0x1e8d42['params'];if(_0x10c9d2&&_0x10c9d2!==_0x34bda4)throw new Error(_0x3967b5(0x3e7)+_0x10c9d2+_0x3967b5(0x55c)+_0x34bda4+'.');return{..._0x1d8138,'id':_0x34bda4,'type':_0x31a4c8,'params':{'unitId':_0x50eb9e[_0x3967b5(0x2fe)],'textRanges':_0x50eb9e['textRanges'],'actions':a[_0x3967b5(0x27b)][_0x3967b5(0x44c)](_0x2b8ebd['actions'],_0x50eb9e['actions'])}};},{})],_0x466da2=(_0x19090e=(_0x49ebf2=_0x1c2867[_0x2c7dd0(0x3cd)]())==null?void 0x0:_0x49ebf2['userID'])!=null?_0x19090e:_0x2c7dd0(0x5b0),_0xf92557=(_0x2a1a8f=(_0x5f2b72=_0x1c2867[_0x2c7dd0(0x3cd)]())==null?void 0x0:_0x5f2b72[_0x2c7dd0(0x408)])!=null?_0x2a1a8f:_0x2c7dd0(0x5b0);return{'changeset':{'unitID':_0x542973,'type':p[_0x2c7dd0(0x4a4)](_0x4f6ce5[_0x2c7dd0(0x288)](_0x542973)),'baseRev':_0x37a6c9[_0x2c7dd0(0x468)](_0x542973),'revision':0x0,'userID':_0x466da2,'memberID':_0xf92557,'mutations':_0x3c589f},'pendingMutations':[]};}function Sn(_0x9eb530,_0x5d3690){const _0x30f481=_0x56d4b2,_0x1913c7=new A['ReplaySubject'](0x1);return setTimeout(()=>_0x1913c7[_0x30f481(0x336)](_0x5d3690),_0x9eb530),_0x1913c7['asObservable']()[_0x30f481(0x348)](A['take'](0x1));}const Hi={'id':B[_0x56d4b2(0x4ce)]['id'],'type':a[_0x56d4b2(0x31b)][_0x56d4b2(0x21d)],'params':{}};var ki=Object['defineProperty'],Bi=Object['getOwnPropertyDescriptor'],Ee=(_0x42cded,_0xe3de8d,_0x353d7b,_0x4e4555)=>{for(var _0xd16ac=_0x4e4555>0x1?void 0x0:_0x4e4555?Bi(_0xe3de8d,_0x353d7b):_0xe3de8d,_0x136fc8=_0x42cded['length']-0x1,_0x187197;_0x136fc8>=0x0;_0x136fc8--)(_0x187197=_0x42cded[_0x136fc8])&&(_0xd16ac=(_0x4e4555?_0x187197(_0xe3de8d,_0x353d7b,_0xd16ac):_0x187197(_0xd16ac))||_0xd16ac);return _0x4e4555&&_0xd16ac&&ki(_0xe3de8d,_0x353d7b,_0xd16ac),_0xd16ac;},N=(_0x3e51d7,_0xb5d1c0)=>(_0x26e90f,_0x3c61df)=>_0xb5d1c0(_0x26e90f,_0x3c61df,_0x3e51d7),q=(_0x41a6db=>(_0x41a6db['NOT_COLLAB']=_0x56d4b2(0x41d),_0x41a6db['SYNCED']=_0x56d4b2(0x66c),_0x41a6db[_0x56d4b2(0x240)]=_0x56d4b2(0x2d2),_0x41a6db['AWAITING']='awaiting',_0x41a6db[_0x56d4b2(0x522)]=_0x56d4b2(0x60b),_0x41a6db['FETCH_MISS']='fetch_missing',_0x41a6db['CONFLICT']=_0x56d4b2(0x64d),_0x41a6db['OFFLINE']=_0x56d4b2(0x682),_0x41a6db))(q||{});const pn=0xea60;class be{constructor(_0x4c72ac,_0x57243b,_0x456c89,_0x10c1c6,_0xf771a5,_0x3a33ef,_0x422b74,_0x131ad3,_0x573eba){const _0x5746a6=_0x56d4b2;I(this,_0x5746a6(0x4f3),null),I(this,_0x5746a6(0x5d0),[]),(this['unitID']=_0x4c72ac,this['type']=_0x57243b,this['_handler']=_0xf771a5,this[_0x5746a6(0x51b)]=_0x3a33ef,this['_undoRedoService']=_0x422b74,this[_0x5746a6(0x244)]=_0x131ad3,this[_0x5746a6(0x56a)]=_0x573eba,this[_0x5746a6(0x4f3)]=_0x456c89,this['_pendingMutations']=_0x10c1c6);}[_0x56d4b2(0x2f6)](_0x17fe60){const _0x5a8b2d=_0x56d4b2,_0x3c557d=this[_0x5a8b2d(0x244)][_0x5a8b2d(0x468)](this[_0x5a8b2d(0x5ed)]);return _0x17fe60[_0x5a8b2d(0x4ea)]>_0x3c557d+0x1?(this['_handler'][_0x5a8b2d(0x32a)]({'from':_0x3c557d,'to':_0x17fe60[_0x5a8b2d(0x4ea)]-0x1}),!0x0):!0x1;}[_0x56d4b2(0x2bd)](_0x1efdd7){const _0x152b76=_0x56d4b2;this[_0x152b76(0x3e6)][_0x152b76(0x24b)](this[_0x152b76(0x5ed)],_0x1efdd7);}['_transformSelections'](_0x174f4e){var _0x507056,_0x2ccd3d;(_0x2ccd3d=(_0x507056=this['_handler'])['onTransformSelections'])==null||_0x2ccd3d['call'](_0x507056,_0x174f4e);}['_transformIMECache'](_0xd2edf0){const _0x1cc48c=_0x56d4b2;var _0x5b9695,_0x4ac441;return(_0x4ac441=(_0x5b9695=this[_0x1cc48c(0x1f9)])[_0x1cc48c(0x306)])==null?void 0x0:_0x4ac441['call'](_0x5b9695,_0xd2edf0);}['_transformStateCache'](_0xb71002){const _0x4f842b=_0x56d4b2;var _0x358afc,_0x1529b4;return(_0x1529b4=(_0x358afc=this[_0x4f842b(0x1f9)])['onTransformState'])==null?void 0x0:_0x1529b4[_0x4f842b(0x356)](_0x358afc,_0xb71002);}[_0x56d4b2(0x640)](_0x4a4403){const _0x4595ad=_0x56d4b2;var _0x353253,_0x13f879,_0x2dfe49;return(_0x2dfe49=(_0x13f879=(_0x353253=this['_handler'])[_0x4595ad(0x617)])==null?void 0x0:_0x13f879[_0x4595ad(0x356)](_0x353253,_0x4a4403))!=null?_0x2dfe49:_0x4a4403;}[_0x56d4b2(0x4d0)](_0x2e50f3){const _0x2cc0a6=_0x56d4b2;var _0x370439,_0x201577,_0xae3d5f;return(_0xae3d5f=(_0x201577=(_0x370439=this[_0x2cc0a6(0x1f9)])[_0x2cc0a6(0x1d5)])==null?void 0x0:_0x201577[_0x2cc0a6(0x356)](_0x370439,_0x2e50f3))!=null?_0xae3d5f:_0x2e50f3;}['_syncEditingCollabCursor'](_0x3dcbe2){const _0x92cb81=_0x56d4b2;var _0x5f4906,_0xe79fc7;if(this['type']===ie[_0x92cb81(0x487)]){const {unitID:_0x540940,mutations:_0x581f13,memberID:_0x44d63d}=_0x3dcbe2,_0x1d477c=_0x581f13[0x0][_0x92cb81(0x225)][_0x92cb81(0x217)];Array[_0x92cb81(0x534)](_0x1d477c)&&_0x1d477c['length']>0x0&&((_0xe79fc7=(_0x5f4906=this[_0x92cb81(0x1f9)])[_0x92cb81(0x249)])==null||_0xe79fc7['call'](_0x5f4906,{'unitID':_0x540940,'memberID':_0x44d63d,'textRanges':_0x1d477c}));}}['_updateLocalCache'](){const _0x23febb=_0x56d4b2;this[_0x23febb(0x56a)][_0x23febb(0x3d1)](this[_0x23febb(0x5ed)],this[_0x23febb(0x2fc)],this[_0x23febb(0x4f3)],this[_0x23febb(0x5d0)]);}['_getCurrentRevision'](){const _0x1b44ee=_0x56d4b2;return this['_revisionService'][_0x1b44ee(0x468)](this[_0x1b44ee(0x5ed)]);}[_0x56d4b2(0x2ae)](){const _0x4546a3=_0x56d4b2;this[_0x4546a3(0x244)][_0x4546a3(0x5e6)](this[_0x4546a3(0x5ed)]);}[_0x56d4b2(0x5ad)](_0x23345f){const _0x43a8de=_0x56d4b2;var _0x48432a;let _0x50abd1=this['_transformRemoteChangesetByIMECache'](_0x23345f);_0x50abd1=this[_0x43a8de(0x4d0)](_0x50abd1);const _0x2bc986=a['sequenceExecute'](_0x50abd1[_0x43a8de(0x48c)],this[_0x43a8de(0x51b)],{'fromCollab':!0x0});if(!_0x2bc986[_0x43a8de(0x320)])throw _0x2bc986[_0x43a8de(0x38d)]instanceof Error?_0x2bc986[_0x43a8de(0x38d)]:new Error((_0x48432a=_0x2bc986[_0x43a8de(0x38d)])!=null?_0x48432a:'[CollaborationState]:\x20apply\x20error!');this[_0x43a8de(0x5c8)](_0x50abd1),this[_0x43a8de(0x5f5)](_0x50abd1),this['_transformUndoredo'](_0x23345f),this[_0x43a8de(0x62e)](_0x50abd1),this['_syncEditingCollabCursor'](_0x50abd1),this['_incrementRevisionNumber']();}}let Oe=class extends be{constructor(_0x3c5a0f,_0x58fdba,_0xf3419e,_0x367b13,_0x3e0cdd,_0x539406,_0x4aa53e,_0x4116eb,_0x49c429,_0x3992a1){const _0x1839ff=_0x56d4b2;super(_0x3c5a0f,_0x58fdba,null,[],_0xf3419e,_0x4116eb,_0x4aa53e,_0x367b13,_0x3e0cdd),I(this,_0x1839ff(0x496),'synced'),(this[_0x1839ff(0x473)]=_0x539406,this[_0x1839ff(0x529)]=_0x49c429,this[_0x1839ff(0x4c7)]=_0x3992a1);}[_0x56d4b2(0x520)](_0x2d5e7d){const _0x18972d=_0x56d4b2,_0x4f4adb=this[_0x18972d(0x473)][_0x18972d(0x390)](ce,this['unitID'],this[_0x18972d(0x2fc)],[_0x2d5e7d],this['_handler']);return _0x4f4adb['_schedule'](),_0x4f4adb[_0x18972d(0x41b)](),_0x4f4adb;}[_0x56d4b2(0x275)](_0x44f5cc){const _0x16d0d7=_0x56d4b2;if(this[_0x16d0d7(0x2f6)](_0x44f5cc))return this[_0x16d0d7(0x473)]['createInstance'](re,this[_0x16d0d7(0x5ed)],this[_0x16d0d7(0x2fc)],null,[],null,[_0x44f5cc],this[_0x16d0d7(0x1f9)]);try{const _0x25db0e=this[_0x16d0d7(0x4c7)][_0x16d0d7(0x230)](_0x44f5cc,[Hi]);if(p['isTransformMutationsWithChangesetSuccess'](_0x25db0e)){const {c1Prime:_0x3d63fc}=_0x25db0e;return this[_0x16d0d7(0x5ad)](_0x3d63fc),this;}throw _0x25db0e['error'];}catch(_0x4e0535){return this[_0x16d0d7(0x529)][_0x16d0d7(0x38d)](_0x4e0535),this[_0x16d0d7(0x477)](!0x1);}}['_onConflict'](_0xe42571){const _0x1e7e27=_0x56d4b2;return this[_0x1e7e27(0x473)]['createInstance'](ve,this[_0x1e7e27(0x5ed)],this[_0x1e7e27(0x2fc)],null,[],this[_0x1e7e27(0x1f9)],_0xe42571);}[_0x56d4b2(0x625)](){const _0x3f9a28=_0x56d4b2;throw new Error(_0x3f9a28(0x1f5));}['onRemoteRej'](){const _0x509f2c=_0x56d4b2;throw new Error(_0x509f2c(0x215));}[_0x56d4b2(0x616)](){return this;}[_0x56d4b2(0x668)](){const _0x4d3ce1=_0x56d4b2;return this[_0x4d3ce1(0x473)][_0x4d3ce1(0x390)](Se,this['unitID'],this[_0x4d3ce1(0x2fc)],null,[],this[_0x4d3ce1(0x1f9)]);}[_0x56d4b2(0x2ba)](){return this;}['resend'](){const _0x30aee0=_0x56d4b2;throw new Error(_0x30aee0(0x5ef));}[_0x56d4b2(0x4ba)](){const _0x5331a0=_0x56d4b2,_0x41ea75=this[_0x5331a0(0x244)]['getCurrentRevOfUnit'](this[_0x5331a0(0x5ed)]);return this[_0x5331a0(0x1f9)][_0x5331a0(0x32a)]({'from':_0x41ea75,'to':0x0}),this[_0x5331a0(0x473)]['createInstance'](re,this[_0x5331a0(0x5ed)],this[_0x5331a0(0x2fc)],null,[],null,[],this[_0x5331a0(0x1f9)]);}};Oe=Ee([N(0x3,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),N(0x4,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0x5,a['Inject'](a[_0x56d4b2(0x1e7)])),N(0x6,a[_0x56d4b2(0x2fd)]),N(0x7,a[_0x56d4b2(0x2b1)]),N(0x8,a[_0x56d4b2(0x270)]),N(0x9,p[_0x56d4b2(0x25d)])],Oe);let ce=class extends be{constructor(_0x2b285b,_0x805086,_0x607136,_0x3d877c,_0x25944c,_0x11ce5f,_0x48306c,_0x1c97d4,_0x28b25c,_0x35f3bb,_0x49be3a,_0x5bdaec,_0x554e5e,_0x59313e){const _0x387336=_0x56d4b2;super(_0x2b285b,_0x805086,null,_0x607136,_0x3d877c,_0x35f3bb,_0x59313e,_0x11ce5f,_0x48306c),I(this,_0x387336(0x496),_0x387336(0x2d2)),I(this,_0x387336(0x59d),null),I(this,_0x387336(0x547),null),(this[_0x387336(0x473)]=_0x25944c,this[_0x387336(0x23c)]=_0x1c97d4,this[_0x387336(0x529)]=_0x28b25c,this[_0x387336(0x2b9)]=_0x49be3a,this[_0x387336(0x4c7)]=_0x5bdaec,this[_0x387336(0x2c6)]=_0x554e5e);}[_0x56d4b2(0x520)](_0x21d1cb){const _0x209f85=_0x56d4b2;return this[_0x209f85(0x5d0)]['push'](_0x21d1cb),this['_updateLocalCache'](),this;}[_0x56d4b2(0x275)](_0x46b41e){const _0x3fd215=_0x56d4b2;if(this[_0x3fd215(0x2f6)](_0x46b41e))return this[_0x3fd215(0x345)](),this['_injector']['createInstance'](re,this[_0x3fd215(0x5ed)],this[_0x3fd215(0x2fc)],null,this[_0x3fd215(0x5d0)],null,[_0x46b41e],this['_handler']);try{const _0x5546be=this[_0x3fd215(0x4c7)]['transformMutationsWithChangeset'](_0x46b41e,this[_0x3fd215(0x5d0)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x5546be)){const {c1Prime:_0x73a0ba,m2Prime:_0x3e807f}=_0x5546be;this[_0x3fd215(0x5ad)](_0x73a0ba);const _0x1dcc5b=this[_0x3fd215(0x473)][_0x3fd215(0x390)](ce,this[_0x3fd215(0x5ed)],this['type'],_0x3e807f,this[_0x3fd215(0x1f9)]);return this[_0x3fd215(0x345)](),_0x1dcc5b[_0x3fd215(0x65b)](this[_0x3fd215(0x59d)]?Math[_0x3fd215(0x40d)](0x0,new Date()[_0x3fd215(0x271)]()-this[_0x3fd215(0x59d)]):this[_0x3fd215(0x3e9)]()),_0x1dcc5b;}throw _0x5546be[_0x3fd215(0x38d)];}catch(_0x172f68){return this['_logService'][_0x3fd215(0x38d)](_0x172f68),this[_0x3fd215(0x477)](!0x1);}}[_0x56d4b2(0x625)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x56d4b2(0x34a)](){const _0x440fc2=_0x56d4b2;throw new Error(_0x440fc2(0x421));}[_0x56d4b2(0x616)](){return this;}['toggleOffline'](){const _0x2fda8e=_0x56d4b2;return this[_0x2fda8e(0x345)](),this[_0x2fda8e(0x473)]['createInstance'](Se,this[_0x2fda8e(0x5ed)],this['type'],null,this[_0x2fda8e(0x5d0)],this[_0x2fda8e(0x1f9)]);}[_0x56d4b2(0x2ba)](){return this;}['_schedule'](_0x5d210f){const _0x3b007f=_0x56d4b2,_0x1d7573=_0x5d210f!=null?_0x5d210f:this[_0x3b007f(0x3e9)]();this[_0x3b007f(0x59d)]=new Date()['getTime'](),this[_0x3b007f(0x547)]=window['setTimeout'](()=>{const _0x22534c=_0x3b007f;this[_0x22534c(0x345)]();let _0xfc7d3f=null;switch(this['type']){case ie[_0x22534c(0x58e)]:{_0xfc7d3f=$t(this[_0x22534c(0x5d0)],this[_0x22534c(0x5ed)],this[_0x22534c(0x2c6)],this[_0x22534c(0x244)],this[_0x22534c(0x23c)]);break;}case ie[_0x22534c(0x487)]:{this[_0x22534c(0x5d0)][_0x22534c(0x4bb)](_0x363634=>_0x363634['id']===Ie[_0x22534c(0x37e)]['id'])?_0xfc7d3f=$i(this['_pendingMutations'],this['unitID'],this[_0x22534c(0x2c6)],this[_0x22534c(0x244)],this[_0x22534c(0x23c)]):_0xfc7d3f=$t(this[_0x22534c(0x5d0)],this[_0x22534c(0x5ed)],this['_univerInstanceService'],this[_0x22534c(0x244)],this[_0x22534c(0x23c)]);break;}default:throw new Error(_0x22534c(0x37b)+this[_0x22534c(0x2fc)]+'\x20in\x20_schedule.');}const {changeset:_0x343c03,pendingMutations:_0x2bfa42}=_0xfc7d3f;this[_0x22534c(0x1f9)][_0x22534c(0x47c)](_0x343c03);const _0x1e8fa0=_0x2bfa42[_0x22534c(0x543)]?this[_0x22534c(0x473)][_0x22534c(0x390)](le,this[_0x22534c(0x5ed)],this[_0x22534c(0x2fc)],_0x343c03,_0x2bfa42,this[_0x22534c(0x1f9)],void 0x0):this[_0x22534c(0x473)][_0x22534c(0x390)](fe,this[_0x22534c(0x5ed)],this['type'],_0x343c03,this[_0x22534c(0x1f9)]);_0x1e8fa0[_0x22534c(0x41b)](),this[_0x22534c(0x1f9)][_0x22534c(0x445)](this,_0x1e8fa0);},_0x1d7573);}[_0x56d4b2(0x3e9)](){const _0xf63d04=_0x56d4b2;var _0x41d001;const _0x392d5b=this[_0xf63d04(0x2b9)][_0xf63d04(0x3e8)](Z);return(_0x41d001=_0x392d5b==null?void 0x0:_0x392d5b[_0xf63d04(0x44a)])!=null?_0x41d001:Wn;}[_0x56d4b2(0x1ed)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x56d4b2(0x345)](){const _0x1bb5e9=_0x56d4b2;this[_0x1bb5e9(0x547)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x56d4b2(0x477)](_0x1d11d6){const _0x21445c=_0x56d4b2;return this['_clearScheduledTask'](),this[_0x21445c(0x473)][_0x21445c(0x390)](ve,this['unitID'],this[_0x21445c(0x2fc)],null,this[_0x21445c(0x5d0)],this[_0x21445c(0x1f9)],_0x1d11d6);}};ce=Ee([N(0x4,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),N(0x5,a['Inject'](p[_0x56d4b2(0x54e)])),N(0x6,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0x7,a['Inject'](exports[_0x56d4b2(0x2cc)])),N(0x8,a['ILogService']),N(0x9,a[_0x56d4b2(0x2b1)]),N(0xa,a['IConfigService']),N(0xb,p[_0x56d4b2(0x25d)]),N(0xc,a[_0x56d4b2(0x63e)]),N(0xd,a[_0x56d4b2(0x2fd)])],ce);let fe=class extends be{constructor(_0x33ad40,_0x559be4,_0x5bc0f1,_0x5bc2af,_0x2c3b4c,_0x1bb787,_0x1201e9,_0x5d030c,_0x1e2912,_0x362808,_0x48b409){const _0x2b6e99=_0x56d4b2;super(_0x33ad40,_0x559be4,_0x5bc0f1,[],_0x5bc2af,_0x5d030c,_0x48b409,_0x1bb787,_0x1201e9),I(this,_0x2b6e99(0x496),'awaiting'),I(this,_0x2b6e99(0x29c),0x0),I(this,_0x2b6e99(0x4de)),I(this,_0x2b6e99(0x397)),(this['_injector']=_0x2c3b4c,this[_0x2b6e99(0x529)]=_0x1e2912,this[_0x2b6e99(0x4c7)]=_0x362808);}[_0x56d4b2(0x520)](_0x2302c1){const _0x3b4c51=_0x56d4b2;this[_0x3b4c51(0x345)]();const _0x5bf62a=this[_0x3b4c51(0x473)]['createInstance'](le,this[_0x3b4c51(0x5ed)],this[_0x3b4c51(0x2fc)],this[_0x3b4c51(0x4f3)],[_0x2302c1],this[_0x3b4c51(0x1f9)],this['_resendTimer']);return _0x5bf62a[_0x3b4c51(0x41b)](),_0x5bf62a;}[_0x56d4b2(0x275)](_0x4244ac){const _0x1dbea1=_0x56d4b2;if(this['_checkMissing'](_0x4244ac))return this[_0x1dbea1(0x345)](),this[_0x1dbea1(0x473)]['createInstance'](re,this['unitID'],this[_0x1dbea1(0x2fc)],this[_0x1dbea1(0x4f3)],[],null,[_0x4244ac],this['_handler']);try{const _0x26902a=this[_0x1dbea1(0x4c7)][_0x1dbea1(0x483)]([_0x4244ac],[this[_0x1dbea1(0x4f3)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x26902a)){const {c1Prime:_0x28ebb8,c2Prime:_0x2882cb}=_0x26902a;this[_0x1dbea1(0x5ad)](_0x28ebb8[0x0]),_0x2882cb[0x0][_0x1dbea1(0x67f)]=this['_getCurrentRevision'](),this[_0x1dbea1(0x345)]();const _0x34018a=this[_0x1dbea1(0x473)][_0x1dbea1(0x390)](fe,this[_0x1dbea1(0x5ed)],this['type'],_0x2882cb[0x0],this['_handler']);return _0x34018a[_0x1dbea1(0x41b)](),_0x34018a;}return this[_0x1dbea1(0x477)](!0x1);}catch(_0x9dcd2b){return this['_logService'][_0x1dbea1(0x38d)](_0x9dcd2b),this[_0x1dbea1(0x477)](!0x1);}}['onRemoteAck'](_0x2c1fc3){const _0x34efbb=_0x56d4b2;this[_0x34efbb(0x345)]();const _0x5c5454=this[_0x34efbb(0x244)]['getCurrentRevOfUnit'](this[_0x34efbb(0x5ed)]);if(_0x2c1fc3[_0x34efbb(0x4ea)]<_0x5c5454-0x1)return this;if(this[_0x34efbb(0x2f6)](_0x2c1fc3))return this[_0x34efbb(0x473)][_0x34efbb(0x390)](re,this[_0x34efbb(0x5ed)],this[_0x34efbb(0x2fc)],null,[],this['_awaitingChangeset'],[],this[_0x34efbb(0x1f9)]);this[_0x34efbb(0x2ae)]();const _0x2819f2=this['_injector'][_0x34efbb(0x390)](Oe,this[_0x34efbb(0x5ed)],this[_0x34efbb(0x2fc)],this[_0x34efbb(0x1f9)]);return _0x2819f2[_0x34efbb(0x41b)](),_0x2819f2;}[_0x56d4b2(0x34a)](_0x2964d5){const _0x299241=_0x56d4b2;return this[_0x299241(0x477)](!!(_0x2964d5!=null&&_0x2964d5[_0x299241(0x620)]));}['onRemoteRetry'](_0x1929e2){const _0x3e1f24=_0x56d4b2;return this['_resendTimeout']>pn?this[_0x3e1f24(0x668)]():(this[_0x3e1f24(0x4de)]=Sn(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x1929e2[_0x3e1f24(0x4b3)]}),this[_0x3e1f24(0x397)]=this[_0x3e1f24(0x4de)]['subscribe'](({reqId:_0x150526,timeout:_0x2fac6c})=>{const _0x4c111d=_0x3e1f24;this[_0x4c111d(0x43d)](_0x150526,_0x2fac6c);}),this);}[_0x56d4b2(0x668)](){const _0x34fda4=_0x56d4b2;return this[_0x34fda4(0x345)](),this['_injector'][_0x34fda4(0x390)](Se,this[_0x34fda4(0x5ed)],this[_0x34fda4(0x2fc)],this[_0x34fda4(0x4f3)],[],this[_0x34fda4(0x1f9)]);}[_0x56d4b2(0x2ba)](){return this;}[_0x56d4b2(0x1ed)](){const _0x540aa4=_0x56d4b2;this[_0x540aa4(0x1f9)][_0x540aa4(0x47c)](this[_0x540aa4(0x4f3)]);}[_0x56d4b2(0x477)](_0x55a1e9){const _0x39af4e=_0x56d4b2;return this['_clearScheduledTask'](),this['_injector'][_0x39af4e(0x390)](ve,this[_0x39af4e(0x5ed)],this['type'],this['_awaitingChangeset'],[],this[_0x39af4e(0x1f9)],_0x55a1e9);}[_0x56d4b2(0x43d)](_0x4f1d80,_0x5ac4d5){const _0x2878ac=_0x56d4b2;var _0x51816c;_0x4f1d80===((_0x51816c=this[_0x2878ac(0x4f3)])==null?void 0x0:_0x51816c['reqId'])&&(this[_0x2878ac(0x1ed)](),this[_0x2878ac(0x29c)]=_0x5ac4d5===0x0?0x3e8:_0x5ac4d5*0x2);}[_0x56d4b2(0x345)](){const _0x4749d7=_0x56d4b2;var _0x422f6c;(_0x422f6c=this[_0x4749d7(0x397)])==null||_0x422f6c[_0x4749d7(0x4c0)](),this[_0x4749d7(0x29c)]=0x0;}};fe=Ee([N(0x4,a['Inject'](a['Injector'])),N(0x5,a[_0x56d4b2(0x226)](p['RevisionService'])),N(0x6,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0x7,a[_0x56d4b2(0x2b1)]),N(0x8,a[_0x56d4b2(0x270)]),N(0x9,p[_0x56d4b2(0x25d)]),N(0xa,a[_0x56d4b2(0x2fd)])],fe);let le=class extends be{constructor(_0x1b5f33,_0x47b258,_0x518a88,_0x3c091f,_0x18d6fc,_0x294011,_0x229da1,_0x5c6413,_0x19fb83,_0x363a84,_0x367047,_0x46ae98,_0x5542f8){const _0x15b289=_0x56d4b2;super(_0x1b5f33,_0x47b258,_0x518a88,_0x3c091f,_0x18d6fc,_0x363a84,_0x5542f8,_0x5c6413,_0x19fb83),I(this,_0x15b289(0x496),_0x15b289(0x60b)),I(this,_0x15b289(0x29c),0x0),I(this,_0x15b289(0x4de)),I(this,_0x15b289(0x397)),(this[_0x15b289(0x473)]=_0x229da1,this[_0x15b289(0x529)]=_0x367047,this[_0x15b289(0x4c7)]=_0x46ae98,_0x294011&&(this[_0x15b289(0x4de)]=_0x294011,this[_0x15b289(0x397)]=this[_0x15b289(0x4de)][_0x15b289(0x563)](({reqId:_0x22ed33,timeout:_0x21b8b0})=>{const _0x1cff91=_0x15b289;this[_0x1cff91(0x43d)](_0x22ed33,_0x21b8b0);})));}[_0x56d4b2(0x520)](_0x3e9b13){const _0x2d9eee=_0x56d4b2;return this['_pendingMutations'][_0x2d9eee(0x322)](_0x3e9b13),this;}[_0x56d4b2(0x275)](_0x1c1f16){const _0xdc562e=_0x56d4b2;if(this[_0xdc562e(0x2f6)](_0x1c1f16))return this[_0xdc562e(0x345)](),this[_0xdc562e(0x473)][_0xdc562e(0x390)](re,this[_0xdc562e(0x5ed)],this[_0xdc562e(0x2fc)],this[_0xdc562e(0x4f3)],this['_pendingMutations'],null,[_0x1c1f16],this[_0xdc562e(0x1f9)]);try{const _0x3c18e2=this[_0xdc562e(0x4c7)]['transformChangesets']([_0x1c1f16],[this[_0xdc562e(0x4f3)]],!0x1);if(p[_0xdc562e(0x4ec)](_0x3c18e2)){const {c1Prime:_0x3c3489,c2Prime:_0x395f32}=_0x3c18e2,_0x14ba8a=this['_transformService'][_0xdc562e(0x230)](_0x3c3489[0x0],this[_0xdc562e(0x5d0)]);if(p[_0xdc562e(0x455)](_0x14ba8a)){const {c1Prime:_0x1fede5,m2Prime:_0x4ce711}=_0x14ba8a;return this['_executeRemoteChangeset'](_0x1fede5),_0x395f32[0x0][_0xdc562e(0x67f)]=this[_0xdc562e(0x61e)](),this[_0xdc562e(0x345)](),this[_0xdc562e(0x473)]['createInstance'](le,this['unitID'],this[_0xdc562e(0x2fc)],_0x395f32[0x0],_0x4ce711,this[_0xdc562e(0x1f9)],void 0x0);}throw _0x14ba8a[_0xdc562e(0x38d)];}throw _0x3c18e2['error'];}catch(_0x4527f3){return this['_logService']['error'](_0x4527f3),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x4f3dbb){const _0x388347=_0x56d4b2;if(this['_clearScheduledTask'](),this[_0x388347(0x2f6)](_0x4f3dbb))return this[_0x388347(0x473)][_0x388347(0x390)](re,this[_0x388347(0x5ed)],this[_0x388347(0x2fc)],null,this[_0x388347(0x5d0)],this[_0x388347(0x4f3)],[],this[_0x388347(0x1f9)]);this[_0x388347(0x2ae)]();const _0x499c15=this[_0x388347(0x473)][_0x388347(0x390)](ce,this[_0x388347(0x5ed)],this['type'],this[_0x388347(0x5d0)],this[_0x388347(0x1f9)]);return _0x499c15['_schedule'](),_0x499c15[_0x388347(0x41b)](),_0x499c15;}[_0x56d4b2(0x34a)](_0x54c2e7){const _0x5033b7=_0x56d4b2;return this[_0x5033b7(0x477)](!!(_0x54c2e7!=null&&_0x54c2e7[_0x5033b7(0x620)]));}[_0x56d4b2(0x616)](_0x3ef5cf){const _0x525005=_0x56d4b2;return this[_0x525005(0x29c)]>pn?this[_0x525005(0x668)]():(this['_resendTimer']=Sn(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x3ef5cf['reqId']}),this[_0x525005(0x397)]=this[_0x525005(0x4de)][_0x525005(0x563)](({reqId:_0x16902f,timeout:_0x1b9289})=>{const _0x54f3ad=_0x525005;this[_0x54f3ad(0x43d)](_0x16902f,_0x1b9289);}),this);}[_0x56d4b2(0x668)](){const _0x31c0e3=_0x56d4b2;return this[_0x31c0e3(0x345)](),this['_injector'][_0x31c0e3(0x390)](Se,this['unitID'],this[_0x31c0e3(0x2fc)],this[_0x31c0e3(0x4f3)],this[_0x31c0e3(0x5d0)],this['_handler']);}['toggleOnline'](){return this;}[_0x56d4b2(0x1ed)](){const _0xfd7139=_0x56d4b2;this[_0xfd7139(0x1f9)][_0xfd7139(0x47c)](this['_awaitingChangeset']);}[_0x56d4b2(0x477)](_0x37a99a){const _0x54af9d=_0x56d4b2;return this['_clearScheduledTask'](),this[_0x54af9d(0x473)][_0x54af9d(0x390)](ve,this[_0x54af9d(0x5ed)],this[_0x54af9d(0x2fc)],null,this[_0x54af9d(0x5d0)],this['_handler'],_0x37a99a);}[_0x56d4b2(0x43d)](_0x4cdc66,_0x14fe85){const _0x19cc1a=_0x56d4b2;var _0x257d68;_0x4cdc66===((_0x257d68=this['_awaitingChangeset'])==null?void 0x0:_0x257d68['reqId'])&&(this[_0x19cc1a(0x1ed)](),this[_0x19cc1a(0x29c)]=_0x14fe85===0x0?0x3e8:_0x14fe85*0x2);}[_0x56d4b2(0x345)](){const _0x22f4e6=_0x56d4b2;var _0x35ebd6;(_0x35ebd6=this['_sender'])==null||_0x35ebd6[_0x22f4e6(0x4c0)](),this[_0x22f4e6(0x29c)]=0x0;}};le=Ee([N(0x6,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),N(0x7,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),N(0x8,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0x9,a[_0x56d4b2(0x2b1)]),N(0xa,a[_0x56d4b2(0x270)]),N(0xb,p['ITransformService']),N(0xc,a[_0x56d4b2(0x2fd)])],le);let ve=class extends be{constructor(_0x1ab952,_0x5ce47a,_0x14948d,_0xc4fe1b,_0x4527d3,_0x92e80b=!0x1,_0x177e13,_0x3e1f21,_0x48e5a2,_0x16b98d,_0x32438e,_0xbd9658,_0x38f772){const _0x595525=_0x56d4b2;super(_0x1ab952,_0x5ce47a,_0x14948d,_0xc4fe1b,_0x4527d3,_0x3e1f21,_0x48e5a2,_0x32438e,_0x16b98d),I(this,_0x595525(0x496),_0x595525(0x64d)),(this[_0x595525(0x361)]=_0x92e80b,this[_0x595525(0x2b5)]=_0x177e13,this['_localeService']=_0xbd9658,this[_0x595525(0x1fd)]=_0x38f772,this['_showConflictNotification'](),this[_0x595525(0x201)](),this[_0x595525(0x279)]());}[_0x56d4b2(0x520)](){return this;}[_0x56d4b2(0x275)](){return this;}[_0x56d4b2(0x625)](){return this;}[_0x56d4b2(0x34a)](){return this;}[_0x56d4b2(0x616)](){return this;}[_0x56d4b2(0x668)](){return this;}['toggleOnline'](){return this;}[_0x56d4b2(0x1ed)](){const _0x212ebd=_0x56d4b2;throw new Error(_0x212ebd(0x3a5));}['_clearLocalCache'](){const _0x599bd7=_0x56d4b2;this[_0x599bd7(0x56a)]['updateOfflineData'](this[_0x599bd7(0x5ed)],this[_0x599bd7(0x2fc)],null,[]);}['_showConflictNotification'](){const _0x16f086=_0x56d4b2;this['_isPermissionRej']?this[_0x16f086(0x1fd)][_0x16f086(0x2a0)]({'title':this[_0x16f086(0x1fc)]['t']('permission.title'),'content':this[_0x16f086(0x1fc)]['t']('permission.content'),'type':'error','duration':0x0}):this['_notificationService'][_0x16f086(0x2a0)]({'title':this[_0x16f086(0x1fc)]['t'](_0x16f086(0x5cc)),'content':this[_0x16f086(0x1fc)]['t'](_0x16f086(0x4f9)),'type':_0x16f086(0x38d),'duration':0x0});}['_disableEditing'](){const _0x4b0938=_0x56d4b2;this[_0x4b0938(0x2b5)][_0x4b0938(0x315)](new B[(_0x4b0938(0x1e8))](this[_0x4b0938(0x5ed)])['id'],!0x1);}};ve=Ee([N(0x6,a['Inject'](a['IPermissionService'])),N(0x7,a['ICommandService']),N(0x8,a['IUndoRedoService']),N(0x9,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0xa,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),N(0xb,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x34d)])),N(0xc,te['INotificationService'])],ve);let Se=class extends be{constructor(_0x56b0da,_0x1e58b5,_0x10acf7,_0x539abb,_0x3a3428,_0x5236c1,_0x4d4a00,_0x2b3db3,_0xf1f935,_0x166aac){const _0x39f165=_0x56d4b2;super(_0x56b0da,_0x1e58b5,_0x10acf7,_0x539abb,_0x3a3428,_0xf1f935,_0x166aac,_0x4d4a00,_0x2b3db3),I(this,'status','offline'),this[_0x39f165(0x473)]=_0x5236c1;}['appendMutation'](_0x59efcf){const _0x2b4883=_0x56d4b2;return this[_0x2b4883(0x5d0)][_0x2b4883(0x322)](_0x59efcf),this[_0x2b4883(0x41b)](),this;}['onRemoteChangeset'](_0x4f8bb0){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x56d4b2(0x625)](){const _0x874b75=_0x56d4b2;throw new Error(_0x874b75(0x538));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x56d4b2(0x616)](){return this;}[_0x56d4b2(0x668)](){return this;}[_0x56d4b2(0x2ba)](){const _0x474814=_0x56d4b2,{_injector:_0x349b69,_pendingMutations:_0x409739,_awaitingChangeset:_0x348617,unitID:_0x2f405b,_handler:_0x610360,type:_0x2d568f}=this,_0x407496=mn(_0x349b69,_0x2f405b,_0x2d568f,_0x348617,_0x409739,_0x610360);return _0x407496 instanceof ce?_0x407496[_0x474814(0x65b)]():(_0x407496 instanceof le||_0x407496 instanceof fe)&&_0x407496['resend'](),_0x407496;}[_0x56d4b2(0x1ed)](){const _0x493196=_0x56d4b2;throw new Error(_0x493196(0x350));}};Se=Ee([N(0x5,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),N(0x6,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),N(0x7,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0x8,a[_0x56d4b2(0x2b1)]),N(0x9,a[_0x56d4b2(0x2fd)])],Se);let re=class extends be{constructor(_0x4f3b15,_0x5d7615,_0xec1dbe,_0x32d028,_0x2b1d5e,_0x36132d,_0x208b25,_0xed3248,_0x5d8417,_0x9b93ad,_0x42a11f,_0x133a0d,_0x233218,_0x13ed3f){const _0x1ed4f6=_0x56d4b2;super(_0x4f3b15,_0x5d7615,_0xec1dbe,_0x32d028,_0x208b25,_0x133a0d,_0x233218,_0x5d8417,_0x9b93ad),I(this,_0x1ed4f6(0x496),_0x1ed4f6(0x4c3)),(this[_0x1ed4f6(0x404)]=_0x2b1d5e,this[_0x1ed4f6(0x657)]=_0x36132d,this['_injector']=_0xed3248,this[_0x1ed4f6(0x529)]=_0x42a11f,this[_0x1ed4f6(0x4c7)]=_0x13ed3f);}['onMissedChangesetFetched'](_0x1862f0){const _0x433388=_0x56d4b2;try{const _0x1aeefd=[..._0x1862f0,...this[_0x433388(0x657)]],_0x375ebb=[this[_0x433388(0x4f3)]||this[_0x433388(0x404)]]['filter'](_0x267969=>!!_0x267969);let _0x36e755,_0x3e38cd;if(_0x375ebb[_0x433388(0x543)]){const _0x24ac70=this[_0x433388(0x4c7)][_0x433388(0x483)](_0x1aeefd,_0x375ebb,!0x1);if(!p['isTransformChangesetsSuccess'](_0x24ac70))throw _0x24ac70[_0x433388(0x38d)];_0x36e755=_0x24ac70[_0x433388(0x242)],_0x3e38cd=_0x24ac70[_0x433388(0x4fe)];}else _0x36e755=_0x1aeefd,_0x3e38cd=[];let _0x7ff83e=this[_0x433388(0x5d0)];_0x36e755[_0x433388(0x3dc)](_0x2dd358=>{const _0x774328=_0x433388;let _0x2cf2cc;if(_0x7ff83e['length']){const _0x2cf44b=this[_0x774328(0x4c7)][_0x774328(0x230)](_0x2dd358,_0x7ff83e);if(!p[_0x774328(0x455)](_0x2cf44b))throw _0x2cf44b['error'];_0x2cf2cc=_0x2cf44b[_0x774328(0x242)],_0x7ff83e=_0x2cf44b[_0x774328(0x417)];}else _0x2cf2cc=_0x2dd358;this[_0x774328(0x5ad)](_0x2cf2cc);}),this[_0x433388(0x404)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x3e38cd[_0x433388(0x543)]&&(_0x3e38cd[0x0]['baseRev']=this[_0x433388(0x61e)]());let _0x48b9c0;if(this[_0x433388(0x4f3)]&&_0x7ff83e[_0x433388(0x543)]!==0x0)_0x48b9c0=this[_0x433388(0x473)]['createInstance'](le,this[_0x433388(0x5ed)],this[_0x433388(0x2fc)],_0x3e38cd[0x0],_0x7ff83e,this[_0x433388(0x1f9)],void 0x0);else{if(this[_0x433388(0x4f3)]&&_0x7ff83e['length']===0x0)_0x3e38cd[0x0][_0x433388(0x67f)]=this[_0x433388(0x61e)](),_0x48b9c0=this[_0x433388(0x473)]['createInstance'](fe,this[_0x433388(0x5ed)],this[_0x433388(0x2fc)],_0x3e38cd[0x0],this[_0x433388(0x1f9)]);else{if(_0x7ff83e[_0x433388(0x543)]!==0x0){const _0x34546d=this['_injector'][_0x433388(0x390)](ce,this['unitID'],this[_0x433388(0x2fc)],_0x7ff83e,this[_0x433388(0x1f9)]);_0x34546d[_0x433388(0x65b)](),_0x48b9c0=_0x34546d;}else _0x48b9c0=this['_injector']['createInstance'](Oe,this[_0x433388(0x5ed)],this['type'],this['_handler']);}}return _0x48b9c0[_0x433388(0x41b)](),_0x48b9c0;}catch(_0x14c385){return this[_0x433388(0x529)]['error'](_0x433388(0x2d3),_0x433388(0x305),_0x14c385),this[_0x433388(0x473)][_0x433388(0x390)](ve,this[_0x433388(0x5ed)],this[_0x433388(0x2fc)],this[_0x433388(0x4f3)],this[_0x433388(0x5d0)],this['_handler'],!0x1);}}[_0x56d4b2(0x1ed)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x56d4b2(0x520)](_0x36348b){const _0x2ffccc=_0x56d4b2;return this[_0x2ffccc(0x5d0)][_0x2ffccc(0x322)](_0x36348b),this;}[_0x56d4b2(0x275)](_0x2f2303){const _0x5e608f=_0x56d4b2;return this[_0x5e608f(0x657)][_0x5e608f(0x322)](_0x2f2303),this;}[_0x56d4b2(0x625)](_0xa2f60e){const _0x44ad43=_0x56d4b2;if(this[_0x44ad43(0x4f3)])return this['_acknowledgedAwaitingChangeset']=this[_0x44ad43(0x4f3)],this[_0x44ad43(0x4f3)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x2626fb){const _0x29452b=_0x56d4b2;return this[_0x29452b(0x477)](!!(_0x2626fb!=null&&_0x2626fb[_0x29452b(0x620)]));}[_0x56d4b2(0x616)](){return this;}[_0x56d4b2(0x668)](){const _0x256c41=_0x56d4b2;return this[_0x256c41(0x473)][_0x256c41(0x390)](Se,this['unitID'],this[_0x256c41(0x2fc)],this[_0x256c41(0x4f3)],this['_pendingMutations'],this[_0x256c41(0x1f9)]);}[_0x56d4b2(0x2ba)](){return this;}['_onConflict'](_0x1f867d){const _0x1fc4d9=_0x56d4b2;return this[_0x1fc4d9(0x473)][_0x1fc4d9(0x390)](ve,this[_0x1fc4d9(0x5ed)],this['type'],this[_0x1fc4d9(0x4f3)],this[_0x1fc4d9(0x5d0)],this[_0x1fc4d9(0x1f9)],_0x1f867d);}};re=Ee([N(0x7,a[_0x56d4b2(0x226)](a['Injector'])),N(0x8,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),N(0x9,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),N(0xa,a[_0x56d4b2(0x270)]),N(0xb,a[_0x56d4b2(0x2b1)]),N(0xc,a[_0x56d4b2(0x2fd)]),N(0xd,p[_0x56d4b2(0x25d)])],re);function mn(_0x4ac323,_0x475296,_0x258f17,_0x2287ff,_0xa80cb3,_0x2167ef){const _0x1713b8=_0x56d4b2;return _0x2287ff&&_0xa80cb3[_0x1713b8(0x543)]?_0x4ac323[_0x1713b8(0x390)](le,_0x475296,_0x258f17,_0x2287ff,_0xa80cb3,_0x2167ef,void 0x0):_0x2287ff?_0x4ac323[_0x1713b8(0x390)](fe,_0x475296,_0x258f17,_0x2287ff,_0x2167ef):_0xa80cb3[_0x1713b8(0x543)]?_0x4ac323['createInstance'](ce,_0x475296,_0x258f17,_0xa80cb3,_0x2167ef):_0x4ac323[_0x1713b8(0x390)](Oe,_0x475296,_0x258f17,_0x2167ef);}var Wi=Object[_0x56d4b2(0x3a4)],Fi=Object[_0x56d4b2(0x47e)],yt=(_0xb3f3df,_0x598167,_0x58c3b9,_0x28abcc)=>{for(var _0x55b353=_0x28abcc>0x1?void 0x0:_0x28abcc?Fi(_0x598167,_0x58c3b9):_0x598167,_0x151ca9=_0xb3f3df['length']-0x1,_0x2cdc37;_0x151ca9>=0x0;_0x151ca9--)(_0x2cdc37=_0xb3f3df[_0x151ca9])&&(_0x55b353=(_0x28abcc?_0x2cdc37(_0x598167,_0x58c3b9,_0x55b353):_0x2cdc37(_0x55b353))||_0x55b353);return _0x28abcc&&_0x55b353&&Wi(_0x598167,_0x58c3b9,_0x55b353),_0x55b353;},H=(_0x149977,_0x2c4b10)=>(_0x4cf857,_0x2b482f)=>_0x2c4b10(_0x4cf857,_0x2b482f,_0x149977);exports[_0x56d4b2(0x30f)]=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x471378,_0x4c2381,_0x36e3d8,_0x2b0959,_0x58cb99,_0x5b902b,_0xcf4d3e,_0x206b67,_0x5a3f3b,_0x1f341e,_0x23ac2a,_0x13dd93,_0x2d7ce4){const _0x224bc3=_0x56d4b2;super(),I(this,_0x224bc3(0x2f5),new A[(_0x224bc3(0x227))](null)),I(this,'state$',this[_0x224bc3(0x2f5)][_0x224bc3(0x59e)]()),I(this,_0x224bc3(0x2c9)),I(this,_0x224bc3(0x545),!0x1),I(this,_0x224bc3(0x452),''),I(this,_0x224bc3(0x55b),0x0),I(this,_0x224bc3(0x434),this[_0x224bc3(0x2a6)][_0x224bc3(0x348)](A[_0x224bc3(0x26d)](_0x2444f8=>_0x2444f8?_0x2444f8[_0x224bc3(0x496)]:q[_0x224bc3(0x48b)]),A[_0x224bc3(0x2b4)](0x1))),I(this,_0x224bc3(0x325),!0x1),I(this,_0x224bc3(0x449),[]),(this[_0x224bc3(0x5ed)]=_0x471378,this[_0x224bc3(0x330)]=_0x4c2381,this[_0x224bc3(0x1f2)]=_0x36e3d8,this['_injector']=_0x2b0959,this[_0x224bc3(0x56a)]=_0x58cb99,this[_0x224bc3(0x4ae)]=_0x5b902b,this[_0x224bc3(0x1fc)]=_0xcf4d3e,this['_revisionService']=_0x206b67,this[_0x224bc3(0x529)]=_0x5a3f3b,this['_commandService']=_0x1f341e,this['_messageService']=_0x23ac2a,this['_permissionService']=_0x13dd93,this['_singleActiveUnitService']=_0x2d7ce4);}get[_0x56d4b2(0x46f)](){const _0x958053=_0x56d4b2;return this[_0x958053(0x2c9)];}async[_0x56d4b2(0x65f)](){const _0x7536a8=_0x56d4b2;if(this[_0x7536a8(0x46f)])throw new Error(_0x7536a8(0x5a2));await this['_init']();}[_0x56d4b2(0x463)](){const _0x1be2c9=_0x56d4b2;return this[_0x1be2c9(0x545)]=!0x0,a[_0x1be2c9(0x2a5)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}['_updateState'](_0x165e8b){const _0x64c75f=_0x56d4b2;this['_state']=_0x165e8b,this[_0x64c75f(0x2f5)]['next'](_0x165e8b);}async['_init'](){const _0x5e9366=_0x56d4b2;var _0x2871a1;this[_0x5e9366(0x309)](await this[_0x5e9366(0x2f8)]()),this['_singleActiveUnitService']&&((_0x2871a1=this[_0x5e9366(0x626)])==null||_0x2871a1[_0x5e9366(0x55e)](this['unitID']),this[_0x5e9366(0x211)](this[_0x5e9366(0x626)][_0x5e9366(0x272)](this[_0x5e9366(0x5ed)])[_0x5e9366(0x563)](_0x1afd50=>{const _0x3ad12e=_0x5e9366;this[_0x3ad12e(0x529)][_0x3ad12e(0x50f)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x1afd50),_0x1afd50===fn[_0x3ad12e(0x57c)]?(this[_0x3ad12e(0x24f)][_0x3ad12e(0x2a0)]({'content':this[_0x3ad12e(0x1fc)]['t'](_0x3ad12e(0x53c)),'type':Ce[_0x3ad12e(0x3b7)][_0x3ad12e(0x3a1)]}),this[_0x3ad12e(0x2b5)]['updatePermissionPoint'](new B[(_0x3ad12e(0x1e8))](this[_0x3ad12e(0x5ed)])['id'],!0x1),this[_0x3ad12e(0x2b5)][_0x3ad12e(0x4ee)](!0x1)):(this[_0x3ad12e(0x2b5)][_0x3ad12e(0x315)](new B[(_0x3ad12e(0x1e8))](this[_0x3ad12e(0x5ed)])['id'],!0x0),this['_permissionService'][_0x3ad12e(0x4ee)](!0x0));})));let _0x331290=!0x1;return this[_0x5e9366(0x211)](this['session'][_0x5e9366(0x548)][_0x5e9366(0x563)](_0x3f2894=>{const _0xb1c9d2=_0x5e9366;_0x3f2894===se[_0xb1c9d2(0x53b)]?this[_0xb1c9d2(0x58f)](_0x331290):_0x3f2894===se[_0xb1c9d2(0x48b)]&&(_0x331290=!0x0,this[_0xb1c9d2(0x5a6)]());})),this['disposeWithMe'](this[_0x5e9366(0x330)][_0x5e9366(0x418)][_0x5e9366(0x563)](_0x4f1c96=>{const _0x5894d3=_0x5e9366;try{switch(_0x4f1c96[_0x5894d3(0x1ff)]){case p[_0x5894d3(0x467)][_0x5894d3(0x52a)]:{this['_onRemoteChangeset'](p[_0x5894d3(0x558)](_0x4f1c96[_0x5894d3(0x569)]));break;}case p[_0x5894d3(0x467)]['CHANGESET_ACK']:{this[_0x5894d3(0x515)](_0x4f1c96[_0x5894d3(0x569)]);break;}case p['CollaborationEvent'][_0x5894d3(0x385)]:{this[_0x5894d3(0x351)]();break;}case p[_0x5894d3(0x467)][_0x5894d3(0x2c5)]:{this[_0x5894d3(0x59b)](_0x4f1c96[_0x5894d3(0x569)]);break;}case p[_0x5894d3(0x467)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5894d3(0x50e)](_0x4f1c96['data'][_0x5894d3(0x292)][_0x5894d3(0x26d)](_0x17075a=>p[_0x5894d3(0x558)](_0x17075a)));break;}case p[_0x5894d3(0x467)]['PERMISSION_REJ']:this[_0x5894d3(0x351)]({'isPermissionRej':!0x0});}}catch(_0x2ec306){throw console[_0x5894d3(0x38d)](_0x5894d3(0x380),_0x2ec306),_0x2ec306;}})),this[_0x5e9366(0x2c9)];}['_unlockTransition'](){const _0x30f442=_0x56d4b2;this[_0x30f442(0x325)]=!0x1;}[_0x56d4b2(0x60c)](){if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x56d4b2(0x46b)](_0x308af2){const _0x58061a=_0x56d4b2;this[_0x58061a(0x60c)](),this['_updateState'](this[_0x58061a(0x2c9)]['appendMutation'](_0x308af2)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x6d39b9){const _0x297681=_0x56d4b2;if(!(_0x6d39b9[_0x297681(0x4ea)]<=this[_0x297681(0x244)][_0x297681(0x468)](this[_0x297681(0x5ed)]))){if(this[_0x297681(0x545)]){this['_remoteChangesetQueue'][_0x297681(0x322)](_0x6d39b9);return;}this[_0x297681(0x35d)](_0x6d39b9);}}['_exhaustRemoteChangesetQueue'](){const _0x4350dd=_0x56d4b2;this[_0x4350dd(0x449)]['forEach'](_0x4af1b4=>this['_applyRemoteChangeset'](_0x4af1b4)),this[_0x4350dd(0x449)]=[];}[_0x56d4b2(0x35d)](_0x3ab1dd){const _0x34af2d=_0x56d4b2,_0x14f4cf=this[_0x34af2d(0x4ae)]['interceptor'][_0x34af2d(0x3c1)](this[_0x34af2d(0x4ae)][_0x34af2d(0x4d1)][_0x34af2d(0x553)]()[_0x34af2d(0x60e)])(_0x3ab1dd[_0x34af2d(0x48c)],null)||_0x3ab1dd[_0x34af2d(0x48c)],_0x57f47a={..._0x3ab1dd,'mutations':_0x14f4cf};this[_0x34af2d(0x60c)](),this['_updateState'](this[_0x34af2d(0x2c9)][_0x34af2d(0x275)](_0x57f47a)),this[_0x34af2d(0x3c3)]();}['_onRemoteACK'](_0x29d299){const _0x52e2ef=_0x56d4b2;this[_0x52e2ef(0x60c)](),this[_0x52e2ef(0x309)](this[_0x52e2ef(0x2c9)][_0x52e2ef(0x625)](_0x29d299)),this[_0x52e2ef(0x3c3)]();}[_0x56d4b2(0x351)](_0x322eb7){const _0x677a04=_0x56d4b2;this[_0x677a04(0x60c)](),this[_0x677a04(0x309)](this[_0x677a04(0x2c9)][_0x677a04(0x34a)](_0x322eb7)),this['_unlockTransition']();}['_onRemoteRetry'](_0x197b2d){const _0x44da29=_0x56d4b2;this[_0x44da29(0x60c)](),this[_0x44da29(0x309)](this['_state'][_0x44da29(0x616)](_0x197b2d)),this['_unlockTransition']();}[_0x56d4b2(0x50e)](_0x238de5){const _0x2527d5=_0x56d4b2;if(!(this['_state']instanceof re))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2382c8=_0x238de5[_0x2527d5(0x26d)](_0x4198a1=>{const _0x59754e=_0x2527d5,_0x4dd235=this['_compressMutationService'][_0x59754e(0x4d1)][_0x59754e(0x3c1)](this[_0x59754e(0x4ae)][_0x59754e(0x4d1)][_0x59754e(0x553)]()['COMPRESS_MUTATION_APPLY'])(_0x4198a1[_0x59754e(0x48c)],null)||_0x4198a1[_0x59754e(0x48c)];return{..._0x4198a1,'mutations':_0x4dd235};});this[_0x2527d5(0x60c)](),this[_0x2527d5(0x309)](this[_0x2527d5(0x2c9)][_0x2527d5(0x57e)](_0x2382c8)),this[_0x2527d5(0x3c3)]();}[_0x56d4b2(0x5a6)](){const _0xcad52d=_0x56d4b2;this[_0xcad52d(0x60c)](),this[_0xcad52d(0x309)](this[_0xcad52d(0x2c9)][_0xcad52d(0x668)]()),this[_0xcad52d(0x3c3)]();}['_toggleOnline'](_0x5dcc62=!0x1){const _0x16f2e2=_0x56d4b2;this[_0x16f2e2(0x60c)](),this[_0x16f2e2(0x309)](this[_0x16f2e2(0x2c9)][_0x16f2e2(0x2ba)]()),this['_unlockTransition']();const _0x4117bb=this[_0x16f2e2(0x2c9)];_0x5dcc62&&_0x4117bb instanceof Oe&&(this[_0x16f2e2(0x60c)](),this[_0x16f2e2(0x309)](_0x4117bb[_0x16f2e2(0x4ba)]()),this[_0x16f2e2(0x3c3)]());}async[_0x56d4b2(0x2f8)](){return new Promise(_0x153889=>{const _0x4d6603=_0xe699;this['session'][_0x4d6603(0x548)][_0x4d6603(0x348)](A[_0x4d6603(0x358)](0x1))[_0x4d6603(0x563)](async _0x2ce627=>{const _0x166766=_0x4d6603;_0x153889(await this['_createInitialStateImpl'](_0x2ce627===se[_0x166766(0x53b)]));});});}['_createHandler'](){const _0x5c241f=this['unitID'];return{'onStateChange':(_0x11042d,_0x391663)=>{const _0x48132f=_0xe699;if(_0x11042d!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x11042d['status']+_0x48132f(0x1de)+_0x391663[_0x48132f(0x496)]+'\x0aCurrent:\x20'+this[_0x48132f(0x2c9)]['status']);this[_0x48132f(0x309)](_0x391663);},'onSendChangeset':_0x37143f=>{const _0x43a580=_0xe699;_0x37143f[_0x43a580(0x678)]||(_0x37143f[_0x43a580(0x678)]=this[_0x43a580(0x452)],_0x37143f['reqId']=++this['_changesetReqId']);const _0x1059b7={'eventID':p['CollaborationEvent'][_0x43a580(0x257)],'data':{'unitID':_0x37143f[_0x43a580(0x5ed)],'unitType':this['_type'],'changeset':_0x37143f,'memberID':this[_0x43a580(0x330)][_0x43a580(0x222)]()}};this[_0x43a580(0x330)][_0x43a580(0x526)](_0x1059b7,this[_0x43a580(0x5ed)]);},'onMissingChangesets':({from:_0x4c0cc9,to:_0xb58480})=>{const _0x58ac94=_0xe699;this[_0x58ac94(0x529)]['debug'](_0x58ac94(0x4f2),_0x58ac94(0x3c2)+_0x4c0cc9+_0x58ac94(0x32c)+_0xb58480);const _0x51d9d3={'eventID':p[_0x58ac94(0x467)][_0x58ac94(0x4f1)],'data':{'unitID':_0x5c241f,'unitType':this[_0x58ac94(0x1f2)],'from':_0x4c0cc9,'to':_0xb58480}};this[_0x58ac94(0x330)][_0x58ac94(0x526)](_0x51d9d3,this[_0x58ac94(0x5ed)]);}};}async[_0x56d4b2(0x2a1)](_0x299aa3){const _0x1c9829=_0x56d4b2;var _0x229e20,_0x179933;const _0xba02f0=await this[_0x1c9829(0x56a)][_0x1c9829(0x3f6)](this[_0x1c9829(0x5ed)]),_0x79758a=(_0x229e20=_0xba02f0==null?void 0x0:_0xba02f0[_0x1c9829(0x48c)])!=null?_0x229e20:[],_0x43edd9=(_0x179933=_0xba02f0==null?void 0x0:_0xba02f0[_0x1c9829(0x556)])!=null?_0x179933:null,_0x113a82=!!(_0x43edd9!=null&&_0x43edd9[_0x1c9829(0x678)])&&!!(_0x43edd9!=null&&_0x43edd9[_0x1c9829(0x4b3)]);this[_0x1c9829(0x452)]=_0x113a82?_0x43edd9[_0x1c9829(0x678)]:mi(),this[_0x1c9829(0x55b)]=_0x113a82?_0x43edd9[_0x1c9829(0x4b3)]:0x0;const _0x233f04=this[_0x1c9829(0x5ed)];try{this[_0x1c9829(0x4a0)](_0x43edd9,_0x79758a);}catch(_0x4e80b8){this['_logService'][_0x1c9829(0x38d)](_0x4e80b8);}const _0x260e2c=this[_0x1c9829(0x370)]();if(_0x299aa3){const _0x3f71a1=mn(this[_0x1c9829(0x473)],_0x233f04,this[_0x1c9829(0x1f2)],_0x43edd9,_0x79758a,_0x260e2c);return _0x3f71a1 instanceof ce?_0x3f71a1[_0x1c9829(0x65b)]():(_0x3f71a1 instanceof le||_0x3f71a1 instanceof fe)&&_0x3f71a1[_0x1c9829(0x1ed)](),_0x3f71a1;}return this['_injector'][_0x1c9829(0x390)](Se,_0x233f04,this[_0x1c9829(0x1f2)],_0x43edd9,_0x79758a,_0x260e2c);}[_0x56d4b2(0x4a0)](_0x19f1f5,_0x2b6e5f){const _0x52d379=_0x56d4b2;var _0x15479c,_0xdfaac3;const _0x310f13=this[_0x52d379(0x4ae)][_0x52d379(0x4d1)][_0x52d379(0x3c1)](this['_compressMutationService'][_0x52d379(0x4d1)][_0x52d379(0x553)]()[_0x52d379(0x60e)]);(_0x15479c=_0x310f13((_0x19f1f5==null?void 0x0:_0x19f1f5[_0x52d379(0x48c)])||[],null))==null||_0x15479c[_0x52d379(0x3dc)](_0x299793=>this[_0x52d379(0x51b)][_0x52d379(0x29a)](_0x299793['id'],_0x299793[_0x52d379(0x225)])),(_0xdfaac3=_0x310f13(_0x2b6e5f||[],null))==null||_0xdfaac3[_0x52d379(0x3dc)](_0x560aa7=>this[_0x52d379(0x51b)]['executeCommand'](_0x560aa7['id'],_0x560aa7[_0x52d379(0x225)]));}},exports['CollaborationEntity']=yt([H(0x3,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),H(0x4,a['Inject'](exports['LocalCacheService'])),H(0x5,a['Inject'](p['CompressMutationService'])),H(0x6,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x34d)])),H(0x7,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),H(0x8,a[_0x56d4b2(0x270)]),H(0x9,a[_0x56d4b2(0x2b1)]),H(0xa,te[_0x56d4b2(0x1cf)]),H(0xb,a['IPermissionService']),H(0xc,a[_0x56d4b2(0x317)](qe))],exports[_0x56d4b2(0x30f)]),exports[_0x56d4b2(0x43c)]=class extends exports['CollaborationEntity']{constructor(_0x579d52,_0x340e39,_0x30dbb6,_0x5b347f,_0xebbadb,_0x4bc873,_0x1c9e3c,_0x2b438a,_0x2fb8bf,_0x49dd04,_0xf2b600,_0x1b4e9b,_0x231d1d,_0x1fe5a6,_0x1cdd0a,_0x2a7619,_0x20f668,_0x52f47a){const _0x21204a=_0x56d4b2;super(_0x579d52,_0x30dbb6,_0x340e39,_0x5b347f,_0xebbadb,_0x4bc873,_0x1c9e3c,_0x2b438a,_0x1fe5a6,_0x1cdd0a,_0x2a7619,_0x20f668,_0x52f47a),this['unitID']=_0x579d52,this['type']=_0x340e39,this[_0x21204a(0x5e3)]=_0x2fb8bf,this[_0x21204a(0x387)]=_0x49dd04,this[_0x21204a(0x3b2)]=_0xf2b600,this[_0x21204a(0x485)]=_0x1b4e9b,this[_0x21204a(0x542)]=_0x231d1d;}[_0x56d4b2(0x370)](){const _0x39fc9e=_0x56d4b2,_0x37dce6=super[_0x39fc9e(0x370)]();return _0x37dce6[_0x39fc9e(0x306)]=_0x195b15=>this[_0x39fc9e(0x387)][_0x39fc9e(0x64e)](_0x195b15),_0x37dce6['onTransformState']=_0x20a063=>this[_0x39fc9e(0x3b2)][_0x39fc9e(0x22f)](_0x20a063),_0x37dce6[_0x39fc9e(0x676)]=_0x4c441f=>this[_0x39fc9e(0x485)][_0x39fc9e(0x57a)](_0x4c441f),_0x37dce6['onSyncEditingCollabCursor']=_0x4b7930=>this[_0x39fc9e(0x542)][_0x39fc9e(0x301)](_0x4b7930),_0x37dce6[_0x39fc9e(0x617)]=_0xfbf54=>this[_0x39fc9e(0x387)][_0x39fc9e(0x3a9)](_0xfbf54),_0x37dce6[_0x39fc9e(0x1d5)]=_0x3c61e2=>this[_0x39fc9e(0x3b2)][_0x39fc9e(0x3a9)](_0x3c61e2),_0x37dce6;}async[_0x56d4b2(0x507)](){const _0x4bb311=_0x56d4b2,_0x1d75ab=await super['_init']();return this[_0x4bb311(0x211)](this[_0x4bb311(0x5e3)]['docStateChange$'][_0x4bb311(0x348)](A['takeUntil'](this[_0x4bb311(0x5ba)]))['subscribe'](_0x51f4a5=>{const _0x245528=_0x4bb311;if(_0x51f4a5==null)return;const {unitId:_0x1e1924,redoState:_0x3e17a7,commandId:_0x57d6c5}=_0x51f4a5;if(_0x1e1924!==this['unitID'])return;const _0x2726fb={'id':_0x57d6c5,'type':a['CommandType'][_0x245528(0x21d)],'params':{'unitId':_0x1e1924,'actions':_0x3e17a7[_0x245528(0x24d)],'textRanges':null}};this[_0x245528(0x46b)](_0x2726fb);})),this[_0x4bb311(0x211)](this[_0x4bb311(0x51b)][_0x4bb311(0x5bb)]((_0x29c315,_0xfaa70b)=>{const _0xbc4e70=_0x4bb311;if(_0x29c315[_0xbc4e70(0x2fc)]!==a[_0xbc4e70(0x31b)]['MUTATION']||_0xfaa70b!=null&&_0xfaa70b[_0xbc4e70(0x2e3)]||_0xfaa70b!=null&&_0xfaa70b[_0xbc4e70(0x665)]||_0x29c315['id']===Ie[_0xbc4e70(0x37e)]['id'])return;const _0x79d88=_0x29c315[_0xbc4e70(0x225)];if((_0x79d88==null?void 0x0:_0x79d88[_0xbc4e70(0x2fe)])!==this[_0xbc4e70(0x5ed)])return;const _0x20f6df=_0x29c315,_0x1bf441=this[_0xbc4e70(0x4ae)]['interceptor'][_0xbc4e70(0x3c1)](this[_0xbc4e70(0x4ae)][_0xbc4e70(0x4d1)][_0xbc4e70(0x553)]()['COMPRESS_MUTATION_SEND'])([_0x20f6df],null)||[_0x20f6df];this[_0xbc4e70(0x46b)](_0x1bf441[0x0]);})),_0x1d75ab;}},exports[_0x56d4b2(0x43c)]=yt([H(0x3,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),H(0x4,a['Inject'](exports[_0x56d4b2(0x541)])),H(0x5,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x66e)])),H(0x6,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x34d)])),H(0x7,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),H(0x8,a[_0x56d4b2(0x226)](Q[_0x56d4b2(0x5a7)])),H(0x9,a['Inject'](ke)),H(0xa,a[_0x56d4b2(0x226)](We)),H(0xb,a['Inject'](Fe)),H(0xc,a[_0x56d4b2(0x226)](Rt)),H(0xd,a[_0x56d4b2(0x270)]),H(0xe,a[_0x56d4b2(0x2b1)]),H(0xf,te[_0x56d4b2(0x1cf)]),H(0x10,a[_0x56d4b2(0x47b)]),H(0x11,a[_0x56d4b2(0x317)](qe))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x3913f4,_0x2fc6bd,_0xbe42d7,_0x3e90ab,_0x39f242,_0x27a6b3,_0x3ba5e9,_0xfb4b6c,_0x30487c,_0x34bb19,_0x5c1ef2,_0x5c0f23,_0x107489,_0x476413){const _0x35adef=_0x56d4b2;super(_0x3913f4,_0xbe42d7,_0x2fc6bd,_0x3e90ab,_0x39f242,_0x27a6b3,_0x3ba5e9,_0xfb4b6c,_0x34bb19,_0x5c1ef2,_0x5c0f23,_0x107489,_0x476413),this[_0x35adef(0x5ed)]=_0x3913f4,this[_0x35adef(0x2fc)]=_0x2fc6bd,this[_0x35adef(0x22d)]=_0x30487c;}['_createHandler'](){const _0x3a80a4=_0x56d4b2,_0x42f5b2=super[_0x3a80a4(0x370)]();return _0x42f5b2[_0x3a80a4(0x676)]=_0x11aedd=>this['_sheetTransformSelectionsService'][_0x3a80a4(0x57a)](_0x11aedd),_0x42f5b2;}async[_0x56d4b2(0x507)](){const _0x950db=_0x56d4b2,_0x13492b=await super['_init']();return this[_0x950db(0x211)](this[_0x950db(0x51b)][_0x950db(0x5bb)]((_0xba9505,_0x50c8cb)=>{const _0x594b11=_0x950db;if(_0xba9505[_0x594b11(0x2fc)]!==a[_0x594b11(0x31b)]['MUTATION']||_0x50c8cb!=null&&_0x50c8cb[_0x594b11(0x2e3)]||_0x50c8cb!=null&&_0x50c8cb[_0x594b11(0x665)])return;const _0x200a3a=_0xba9505[_0x594b11(0x225)];if((_0x200a3a==null?void 0x0:_0x200a3a[_0x594b11(0x2fe)])!==this[_0x594b11(0x5ed)])return;const _0x43746e=_0xba9505,_0x5edd32=this[_0x594b11(0x4ae)][_0x594b11(0x4d1)][_0x594b11(0x3c1)](this['_compressMutationService'][_0x594b11(0x4d1)][_0x594b11(0x553)]()['COMPRESS_MUTATION_SEND'])([_0x43746e],null)||[_0x43746e];this[_0x594b11(0x46b)](_0x5edd32[0x0]);})),_0x13492b;}},exports['SheetCollaborationEntity']=yt([H(0x3,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),H(0x4,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),H(0x5,a['Inject'](p[_0x56d4b2(0x66e)])),H(0x6,a[_0x56d4b2(0x226)](a['LocaleService'])),H(0x7,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x54e)])),H(0x8,a[_0x56d4b2(0x226)](Be)),H(0x9,a['ILogService']),H(0xa,a[_0x56d4b2(0x2b1)]),H(0xb,te[_0x56d4b2(0x1cf)]),H(0xc,a[_0x56d4b2(0x47b)]),H(0xd,a['Optional'](qe))],exports[_0x56d4b2(0x475)]);var Vi=Object[_0x56d4b2(0x3a4)],Gi=Object[_0x56d4b2(0x47e)],Yi=(_0x32964b,_0x1bc31a,_0x25f18b,_0x27a4f8)=>{const _0x15e46c=_0x56d4b2;for(var _0x4895f8=_0x27a4f8>0x1?void 0x0:_0x27a4f8?Gi(_0x1bc31a,_0x25f18b):_0x1bc31a,_0x1b4121=_0x32964b[_0x15e46c(0x543)]-0x1,_0x24e840;_0x1b4121>=0x0;_0x1b4121--)(_0x24e840=_0x32964b[_0x1b4121])&&(_0x4895f8=(_0x27a4f8?_0x24e840(_0x1bc31a,_0x25f18b,_0x4895f8):_0x24e840(_0x4895f8))||_0x4895f8);return _0x27a4f8&&_0x4895f8&&Vi(_0x1bc31a,_0x25f18b,_0x4895f8),_0x4895f8;},tt=(_0x31cf44,_0x56bee1)=>(_0x46ce5a,_0x18cfba)=>_0x56bee1(_0x46ce5a,_0x18cfba,_0x31cf44);exports[_0x56d4b2(0x399)]=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x52198d,_0x324a48,_0x4b9ece){const _0x375392=_0x56d4b2;super(),I(this,_0x375392(0x45a),new Map()),I(this,_0x375392(0x52d),new A[(_0x375392(0x372))]()),(this[_0x375392(0x473)]=_0x52198d,this[_0x375392(0x60f)]=_0x324a48,this[_0x375392(0x2c6)]=_0x4b9ece,this[_0x375392(0x507)]());}['dispose'](){const _0x3f9913=_0x56d4b2;super['dispose'](),this[_0x3f9913(0x45a)][_0x3f9913(0x3dc)](_0x513213=>_0x513213[_0x3f9913(0x51e)]()),this[_0x3f9913(0x45a)][_0x3f9913(0x34c)]();}[_0x56d4b2(0x613)](_0x47d623){const _0x2d99ba=_0x56d4b2;var _0x4e3791;return(_0x4e3791=this[_0x2d99ba(0x45a)][_0x2d99ba(0x313)](_0x47d623))!=null?_0x4e3791:null;}[_0x56d4b2(0x438)](_0x297d21){const _0x4bfdb8=_0x56d4b2,_0x4947c3=this[_0x4bfdb8(0x613)](_0x297d21);return _0x4947c3?A['of'](_0x4947c3):this[_0x4bfdb8(0x52d)][_0x4bfdb8(0x348)](V[_0x4bfdb8(0x4cf)](_0x2daf5=>_0x2daf5[_0x4bfdb8(0x5ed)]===_0x297d21));}[_0x56d4b2(0x507)](){const _0x3535a5=_0x56d4b2;this[_0x3535a5(0x2c6)][_0x3535a5(0x57f)](a[_0x3535a5(0x5c7)][_0x3535a5(0x58e)])[_0x3535a5(0x348)](A[_0x3535a5(0x5e8)](this[_0x3535a5(0x5ba)]),V[_0x3535a5(0x2dd)](0x10))[_0x3535a5(0x563)](async _0x32f537=>{const _0x44ed6b=_0x3535a5,_0xfc89f6=_0x32f537['getUnitId'](),_0xcb7e10=await this[_0x44ed6b(0x611)](_0xfc89f6,ie[_0x44ed6b(0x58e)]);this[_0x44ed6b(0x45a)][_0x44ed6b(0x24a)](_0xfc89f6,_0xcb7e10);}),this['_univerInstanceService'][_0x3535a5(0x57f)](a['UniverInstanceType'][_0x3535a5(0x487)])[_0x3535a5(0x348)](A[_0x3535a5(0x5e8)](this['dispose$']),V[_0x3535a5(0x2dd)](0x10))['pipe'](V[_0x3535a5(0x4cf)](_0x4e0128=>!_0x4e0128['getUnitId']()['startsWith']('__')))['subscribe'](async _0x4c97c2=>{const _0xdbd0cc=_0x3535a5,_0xd65aa3=_0x4c97c2[_0xdbd0cc(0x25a)](),_0x5ed1d7=await this[_0xdbd0cc(0x611)](_0xd65aa3,ie[_0xdbd0cc(0x487)]);this[_0xdbd0cc(0x45a)][_0xdbd0cc(0x24a)](_0xd65aa3,_0x5ed1d7);}),A[_0x3535a5(0x593)](this[_0x3535a5(0x2c6)][_0x3535a5(0x489)](a['UniverInstanceType'][_0x3535a5(0x58e)]),this[_0x3535a5(0x2c6)][_0x3535a5(0x489)](a[_0x3535a5(0x5c7)][_0x3535a5(0x487)]))[_0x3535a5(0x348)](A[_0x3535a5(0x5e8)](this['dispose$']))['subscribe'](_0x589b49=>{const _0x5c3965=_0x3535a5,_0x54d083=_0x589b49[_0x5c3965(0x25a)](),_0x856470=this[_0x5c3965(0x45a)][_0x5c3965(0x313)](_0x54d083);_0x856470&&(_0x856470[_0x5c3965(0x51e)](),this[_0x5c3965(0x45a)][_0x5c3965(0x30c)](_0x54d083));});}async[_0x56d4b2(0x611)](_0x347779,_0x115a3d){const _0x22d714=_0x56d4b2,_0x3a0a95=await this[_0x22d714(0x60f)]['requireSession'](_0x347779),_0x52e5b1=this[_0x22d714(0x473)][_0x22d714(0x390)](this[_0x22d714(0x3f8)](_0x115a3d),_0x347779,_0x115a3d,_0x3a0a95);return await _0x52e5b1[_0x22d714(0x65f)](),this['_entityInit$'][_0x22d714(0x336)](_0x52e5b1),_0x52e5b1;}[_0x56d4b2(0x3f8)](_0x265b0c){const _0x320177=_0x56d4b2;switch(_0x265b0c){case ie[_0x320177(0x487)]:return exports[_0x320177(0x43c)];case ie[_0x320177(0x58e)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x320177(0x549)+_0x265b0c);}}},exports[_0x56d4b2(0x399)]=Yi([tt(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),tt(0x1,a['Inject'](exports[_0x56d4b2(0x251)])),tt(0x2,a[_0x56d4b2(0x63e)])],exports[_0x56d4b2(0x399)]);const Ht=[_0x56d4b2(0x5fc),_0x56d4b2(0x308),_0x56d4b2(0x3fb),_0x56d4b2(0x5a1),_0x56d4b2(0x55a),'gold400'];class Ot extends a['Disposable']{constructor(){const _0x219de5=_0x56d4b2;super(...arguments),I(this,_0x219de5(0x1fe),new Map()),I(this,_0x219de5(0x595),0x0);}['assignAColorForMemberID'](_0x36db02){const _0x1e035f=_0x56d4b2;if(this[_0x1e035f(0x1fe)][_0x1e035f(0x341)](_0x36db02))return this[_0x1e035f(0x1fe)]['get'](_0x36db02);const _0x276ecd=Ht[this[_0x1e035f(0x595)]];return this[_0x1e035f(0x595)]=(this[_0x1e035f(0x595)]+0x1)%Ht['length'],this[_0x1e035f(0x1fe)][_0x1e035f(0x24a)](_0x36db02,_0x276ecd),_0x276ecd;}}var Ki=Object[_0x56d4b2(0x3a4)],qi=Object[_0x56d4b2(0x47e)],zi=(_0x598832,_0x391c1a,_0x51d0fd,_0x53e7ac)=>{for(var _0x4b3520=_0x53e7ac>0x1?void 0x0:_0x53e7ac?qi(_0x391c1a,_0x51d0fd):_0x391c1a,_0x1d1aa2=_0x598832['length']-0x1,_0x5d6bee;_0x1d1aa2>=0x0;_0x1d1aa2--)(_0x5d6bee=_0x598832[_0x1d1aa2])&&(_0x4b3520=(_0x53e7ac?_0x5d6bee(_0x391c1a,_0x51d0fd,_0x4b3520):_0x5d6bee(_0x4b3520))||_0x4b3520);return _0x53e7ac&&_0x4b3520&&Ki(_0x391c1a,_0x51d0fd,_0x4b3520),_0x4b3520;},me=(_0x2c1f28,_0x319db5)=>(_0x3862ce,_0x32e847)=>_0x319db5(_0x3862ce,_0x32e847,_0x2c1f28);const Xi=0x12c,Ji=0x64;let St=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x57fba6,_0x5e2326,_0x212e28,_0x204b14,_0x5aa366,_0x2360f7,_0x26d5d5,_0x25f6d6,_0x1753c3){const _0x94950=_0x56d4b2;super(),I(this,_0x94950(0x3ba),!0x1),I(this,_0x94950(0x507),!0x1),I(this,_0x94950(0x578),new A[(_0x94950(0x227))](new Map())),I(this,_0x94950(0x456),this[_0x94950(0x578)]['asObservable']()),I(this,_0x94950(0x214),new A[(_0x94950(0x227))]([])),I(this,_0x94950(0x684),this[_0x94950(0x214)][_0x94950(0x348)](A[_0x94950(0x281)](Xi))),I(this,_0x94950(0x1fa),a[_0x94950(0x530)](_0x2df23c=>{const _0x1a72d0=_0x94950,_0x44f2f5={'eventID':p[_0x1a72d0(0x467)][_0x1a72d0(0x54b)],'data':{'unitID':this[_0x1a72d0(0x5ed)],'memberID':this[_0x1a72d0(0x680)][_0x1a72d0(0x222)](),'selection':vn(_0x2df23c)}};this[_0x1a72d0(0x680)][_0x1a72d0(0x526)](_0x44f2f5,this[_0x1a72d0(0x5ed)]);},Ji)),(this[_0x94950(0x5ed)]=_0x57fba6,this[_0x94950(0x680)]=_0x5e2326,this[_0x94950(0x473)]=_0x212e28,this['_colorAssignService']=_0x204b14,this[_0x94950(0x23c)]=_0x5aa366,this[_0x94950(0x1d1)]=_0x2360f7,this[_0x94950(0x4c7)]=_0x26d5d5,this[_0x94950(0x2c6)]=_0x25f6d6,this[_0x94950(0x51b)]=_0x1753c3);}get[_0x56d4b2(0x2a7)](){const _0x4e7282=_0x56d4b2;return this[_0x4e7282(0x578)][_0x4e7282(0x246)]();}get[_0x56d4b2(0x666)](){const _0x122fb2=_0x56d4b2;return this['_roomMembers$'][_0x122fb2(0x246)]();}[_0x56d4b2(0x51e)](){const _0x53f094=_0x56d4b2;super[_0x53f094(0x51e)](),this[_0x53f094(0x578)][_0x53f094(0x336)](new Map()),this[_0x53f094(0x578)][_0x53f094(0x381)](),this[_0x53f094(0x214)]['next']([]),this[_0x53f094(0x214)][_0x53f094(0x381)]();}[_0x56d4b2(0x65f)](){const _0x59b74f=_0x56d4b2;this['_init']||(this[_0x59b74f(0x507)]=!0x0,this[_0x59b74f(0x680)][_0x59b74f(0x548)][_0x59b74f(0x348)](A['takeUntil'](this[_0x59b74f(0x5ba)]))[_0x59b74f(0x563)](_0x197e30=>{const _0x36a129=_0x59b74f;_0x197e30===se[_0x36a129(0x53b)]?this[_0x36a129(0x58f)]():this['_toggleOffline']();}),this[_0x59b74f(0x680)][_0x59b74f(0x418)][_0x59b74f(0x348)](A[_0x59b74f(0x5e8)](this[_0x59b74f(0x5ba)]))[_0x59b74f(0x563)](_0x5d1f7a=>{const _0x35242f=_0x59b74f,_0x5c490a=_0x5d1f7a[_0x35242f(0x1ff)];_0x5c490a===p[_0x35242f(0x467)][_0x35242f(0x54b)]&&this[_0x35242f(0x5b7)](_0x5d1f7a),_0x5c490a===p['CollaborationEvent'][_0x35242f(0x470)]&&this[_0x35242f(0x35a)](_0x5d1f7a);}),this[_0x59b74f(0x211)](this[_0x59b74f(0x51b)][_0x59b74f(0x5bb)](_0x337d83=>{const _0x20e950=_0x59b74f,_0x264294=_0x337d83['params'];_0x264294!=null&&this['_online']&&_0x337d83['id']===Ie[_0x20e950(0x492)]['id']&&_0x264294[_0x20e950(0x2fe)]===this['unitID']&&_0x264294[_0x20e950(0x425)]===!0x1&&_0x264294['ranges'][_0x20e950(0x543)]>0x0&&this[_0x20e950(0x1fa)](_0x264294[_0x20e950(0x2fa)]);})),this['_syncEditingCollabCursorService'][_0x59b74f(0x2e7)][_0x59b74f(0x348)](A[_0x59b74f(0x5e8)](this['dispose$']))['subscribe'](_0x3dd6a0=>{const _0x4aee01=_0x59b74f;if((_0x3dd6a0==null?void 0x0:_0x3dd6a0[_0x4aee01(0x5ed)])!==this['unitID'])return;const _0x2e9ee7={'eventID':p[_0x4aee01(0x467)]['UPDATE_CURSOR'],'data':_0x3dd6a0};this[_0x4aee01(0x5b7)](_0x2e9ee7);}),this[_0x59b74f(0x211)](this['_commandService'][_0x59b74f(0x5bb)](_0xe3856=>{const _0x2ef631=_0x59b74f;if(_0xe3856[_0x2ef631(0x225)]==null)return;const _0x19f25a=_0xe3856[_0x2ef631(0x225)];if(_0xe3856['id']!==Ie['RichTextEditingMutation']['id']||_0x19f25a[_0x2ef631(0x2fe)]!==this[_0x2ef631(0x5ed)])return;const _0x11b3f0={'id':_0x2ef631(0x457),'params':_0x19f25a},_0x3e56be=this[_0x2ef631(0x2a7)];for(const [_0x217091,_0x59a374]of _0x3e56be){const _0x4ef7e5={'id':_0x2ef631(0x457),'params':{'unitId':this[_0x2ef631(0x5ed)],'actions':null,'textRanges':_0x59a374[_0x2ef631(0x2fa)]}},_0x1ed80a=this[_0x2ef631(0x4c7)][_0x2ef631(0x4b6)](_0x11b3f0,_0x4ef7e5,!0x1);if(p[_0x2ef631(0x4bf)](_0x1ed80a))throw _0x1ed80a[_0x2ef631(0x38d)];_0x3e56be['set'](_0x217091,{..._0x59a374,'ranges':_0x1ed80a[_0x2ef631(0x417)]['params']['textRanges']});}queueMicrotask(()=>{const _0x56c62c=_0x2ef631;this[_0x56c62c(0x578)]['next'](_0x3e56be);});})));}[_0x56d4b2(0x5b7)](_0x5b2dd2){const _0x9405e4=_0x56d4b2;var _0x669d62,_0x1aa286;const {memberID:_0x4d3bb4,selection:_0x41ec24}=_0x5b2dd2[_0x9405e4(0x569)],_0x27938d=Ai(_0x41ec24),_0x94ccd9=(_0x1aa286=(_0x669d62=this['_memberService'][_0x9405e4(0x511)](this['unitID'],_0x4d3bb4))==null?void 0x0:_0x669d62[_0x9405e4(0x4e6)])!=null?_0x1aa286:'Unknown\x20user',_0x197d6d={'color':this[_0x9405e4(0x5b3)][_0x9405e4(0x1f7)](_0x4d3bb4),'name':_0x94ccd9,'ranges':_0x27938d},_0x2dc471=this[_0x9405e4(0x2a7)];_0x2dc471['set'](_0x4d3bb4,_0x197d6d),this[_0x9405e4(0x578)]['next'](_0x2dc471);}[_0x56d4b2(0x35a)](_0x3d346a){const _0x203714=_0x56d4b2,{memberID:_0x51ef3e}=_0x3d346a['data'],_0x20d2f2=this['cursorInfo'];_0x20d2f2[_0x203714(0x30c)](_0x51ef3e),this[_0x203714(0x578)][_0x203714(0x336)](_0x20d2f2);}[_0x56d4b2(0x58f)](){const _0x443d47=_0x56d4b2;var _0x134615;if(this[_0x443d47(0x3ba)]=!0x0,((_0x134615=this[_0x443d47(0x2c6)][_0x443d47(0x20c)]())==null?void 0x0:_0x134615[_0x443d47(0x25a)]())!==this['unitID'])return;const _0x4b28e8=this[_0x443d47(0x473)][_0x443d47(0x313)](Ie[_0x443d47(0x41a)])['getDocRanges']();Array['isArray'](_0x4b28e8)&&_0x4b28e8[_0x443d47(0x543)]>0x0&&this[_0x443d47(0x1fa)](_0x4b28e8);}[_0x56d4b2(0x5a6)](){const _0x2d99f2=_0x56d4b2;this[_0x2d99f2(0x3ba)]=!0x1;}};St=zi([me(0x2,a['Inject'](a['Injector'])),me(0x3,a[_0x56d4b2(0x226)](Ot)),me(0x4,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x2cc)])),me(0x5,a[_0x56d4b2(0x226)](Rt)),me(0x6,p[_0x56d4b2(0x25d)]),me(0x7,a[_0x56d4b2(0x63e)]),me(0x8,a[_0x56d4b2(0x2b1)])],St);var Zi=Object[_0x56d4b2(0x3a4)],Qi=Object[_0x56d4b2(0x47e)],es=(_0x357752,_0x395e25,_0x4fd6f7,_0x578e2e)=>{const _0x37eae5=_0x56d4b2;for(var _0x53cba9=_0x578e2e>0x1?void 0x0:_0x578e2e?Qi(_0x395e25,_0x4fd6f7):_0x395e25,_0x41a78b=_0x357752[_0x37eae5(0x543)]-0x1,_0x5ea4ea;_0x41a78b>=0x0;_0x41a78b--)(_0x5ea4ea=_0x357752[_0x41a78b])&&(_0x53cba9=(_0x578e2e?_0x5ea4ea(_0x395e25,_0x4fd6f7,_0x53cba9):_0x5ea4ea(_0x53cba9))||_0x53cba9);return _0x578e2e&&_0x53cba9&&Zi(_0x395e25,_0x4fd6f7,_0x53cba9),_0x53cba9;},Te=(_0x36e714,_0x44f837)=>(_0x5a4a28,_0x45bea8)=>_0x44f837(_0x5a4a28,_0x45bea8,_0x36e714);const ts=0x12c,ns=0x64,is=()=>{let _0x4c53b1=[],_0x3954b1=!0x1;return _0x3364b7=>{_0x4c53b1['push'](_0x3364b7),_0x3954b1||(_0x3954b1=!0x0,setTimeout(()=>{const _0x4f2616=_0xe699;_0x4c53b1[_0x4f2616(0x3dc)](_0x3d63c8=>_0x3d63c8()),_0x4c53b1=[],_0x3954b1=!0x1;}));};};let pt=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x44a150,_0x259cd7,_0xebe719,_0xdb8103,_0x5cb093,_0x2c1254,_0x2bcad4,_0x31f96a){const _0x171800=_0x56d4b2;super(),I(this,_0x171800(0x3ba),!0x1),I(this,'_init',!0x1),I(this,'_cursorInfo$',new A['BehaviorSubject'](new Map())),I(this,_0x171800(0x456),this[_0x171800(0x578)][_0x171800(0x59e)]()),I(this,_0x171800(0x214),new A[(_0x171800(0x227))]([])),I(this,'roomMembers$',this[_0x171800(0x214)][_0x171800(0x348)](A['debounceTime'](ts))),I(this,_0x171800(0x1fa),a['debounce']((_0x6cc9f4,_0x3fecf1)=>{const _0x4c1504=_0x171800,_0x216b1d={'eventID':p[_0x4c1504(0x467)][_0x4c1504(0x54b)],'data':{'unitID':this[_0x4c1504(0x5ed)],'memberID':this[_0x4c1504(0x680)][_0x4c1504(0x222)](),'selection':Ut[_0x4c1504(0x3a6)](_0x6cc9f4,_0x3fecf1[_0x4c1504(0x51c)])}};this[_0x4c1504(0x680)]['send'](_0x216b1d,this[_0x4c1504(0x5ed)]);},ns)),(this['unitID']=_0x44a150,this[_0x171800(0x680)]=_0x259cd7,this['_injector']=_0xebe719,this[_0x171800(0x5b3)]=_0xdb8103,this[_0x171800(0x23c)]=_0x5cb093,this['_univerInstanceService']=_0x2c1254,this[_0x171800(0x51b)]=_0x2bcad4,this['_refRangeService']=_0x31f96a);}get[_0x56d4b2(0x2a7)](){const _0x4d97ad=_0x56d4b2;return this[_0x4d97ad(0x578)][_0x4d97ad(0x246)]();}get[_0x56d4b2(0x666)](){const _0x5193f2=_0x56d4b2;return this['_roomMembers$'][_0x5193f2(0x246)]();}[_0x56d4b2(0x51e)](){const _0x44cdbb=_0x56d4b2;super['dispose'](),this[_0x44cdbb(0x578)]['next'](new Map()),this[_0x44cdbb(0x578)]['complete'](),this[_0x44cdbb(0x214)]['next']([]),this[_0x44cdbb(0x214)][_0x44cdbb(0x381)]();}[_0x56d4b2(0x65f)](){const _0x50e640=_0x56d4b2;this[_0x50e640(0x507)]||(this[_0x50e640(0x507)]=!0x0,this[_0x50e640(0x680)][_0x50e640(0x548)][_0x50e640(0x348)](A[_0x50e640(0x5e8)](this[_0x50e640(0x5ba)]))[_0x50e640(0x563)](_0x259f63=>{const _0x1311c1=_0x50e640;_0x259f63===se[_0x1311c1(0x53b)]?this[_0x1311c1(0x58f)]():this[_0x1311c1(0x5a6)]();}),this[_0x50e640(0x680)][_0x50e640(0x418)][_0x50e640(0x348)](A['takeUntil'](this[_0x50e640(0x5ba)]))['subscribe'](_0x46200c=>{const _0x43e6a5=_0x50e640,_0x32591b=_0x46200c[_0x43e6a5(0x1ff)];_0x32591b===p[_0x43e6a5(0x467)][_0x43e6a5(0x54b)]&&this['_onCursorUpdate'](_0x46200c),_0x32591b===p['CollaborationEvent'][_0x43e6a5(0x470)]&&this[_0x43e6a5(0x35a)](_0x46200c);}),this['_onRefRangeChange'](),this[_0x50e640(0x211)](this[_0x50e640(0x51b)][_0x50e640(0x5bb)](_0xd0c5a8=>{const _0x20eb06=_0x50e640;if(this[_0x20eb06(0x3ba)]&&_0xd0c5a8['id']===B['SetSelectionsOperation']['id']&&_0xd0c5a8[_0x20eb06(0x225)][_0x20eb06(0x2fe)]===this[_0x20eb06(0x5ed)]){const _0x131db2=_0xd0c5a8['params'];this[_0x20eb06(0x1fa)](_0x131db2['subUnitId'],_0x131db2[_0x20eb06(0x36c)][0x0]);}})));}[_0x56d4b2(0x5b7)](_0xeaebc4){const _0x250379=_0x56d4b2;var _0x516ed0,_0x435323;const {memberID:_0x528d12,selection:_0x10f087}=_0xeaebc4[_0x250379(0x569)],{sheetName:_0x5be9be,range:_0x144a98}=Ut[_0x250379(0x5c3)](_0x10f087),_0x489164={'name':(_0x435323=(_0x516ed0=this[_0x250379(0x23c)][_0x250379(0x511)](this['unitID'],_0x528d12))==null?void 0x0:_0x516ed0[_0x250379(0x4e6)])!=null?_0x435323:_0x250379(0x2bb),'range':this['_getMergeRange'](_0x5be9be,_0x144a98),'sheetID':_0x5be9be,'color':this['_colorAssignService'][_0x250379(0x1f7)](_0x528d12),'selection':_0x10f087},_0x2def05=this[_0x250379(0x2a7)];_0x2def05['set'](_0x528d12,_0x489164),this['_cursorInfo$'][_0x250379(0x336)](_0x2def05);}[_0x56d4b2(0x35a)](_0xef8ac){const _0x489e91=_0x56d4b2,{memberID:_0x5a720a}=_0xef8ac[_0x489e91(0x569)],_0x544d37=this[_0x489e91(0x2a7)];_0x544d37[_0x489e91(0x30c)](_0x5a720a),this['_cursorInfo$'][_0x489e91(0x336)](_0x544d37);}[_0x56d4b2(0x574)](_0x45d864,_0x5c939a){const _0x538ccc=_0x56d4b2;var _0x459218,_0x23eaf3;const _0x483843=(_0x23eaf3=(_0x459218=this[_0x538ccc(0x2c6)]['getUniverSheetInstance'](this[_0x538ccc(0x5ed)]))==null?void 0x0:_0x459218[_0x538ccc(0x23a)](_0x45d864))==null?void 0x0:_0x23eaf3[_0x538ccc(0x234)]();return(_0x483843==null?void 0x0:_0x483843[_0x538ccc(0x2ad)](_0x2e17cb=>a[_0x538ccc(0x24e)]['contains'](_0x2e17cb,_0x5c939a)))||_0x5c939a;}['_onRefRangeChange'](){const _0x4d1a6c=_0x56d4b2,_0x482f7f=new a[(_0x4d1a6c(0x20d))](),_0x348f1b=is(),_0x410ad1=()=>{const _0x306482=_0x4d1a6c;_0x482f7f[_0x306482(0x51e)]();const _0x1c3c5a=(_0x48824e,_0x429341,_0x331ed4,_0x16230b)=>{const _0x28e01b=_0x306482;let _0x1b60a1=[];switch(_0x48824e['id']){case B['EffectRefRangId'][_0x28e01b(0x25c)]:{_0x1b60a1=B['handleDeleteRangeMoveLeft'](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)]['DeleteRangeMoveUpCommandId']:{_0x1b60a1=B[_0x28e01b(0x4c1)](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)][_0x28e01b(0x1d7)]:{_0x1b60a1=B[_0x28e01b(0x5dd)](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)][_0x28e01b(0x2e1)]:{_0x1b60a1=B['handleInsertRangeMoveDown'](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)]['InsertRangeMoveRightCommandId']:{_0x1b60a1=B['handleInsertRangeMoveRight'](_0x48824e,_0x16230b);break;}case B['EffectRefRangId'][_0x28e01b(0x5b6)]:{_0x1b60a1=B['handleInsertRow'](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)][_0x28e01b(0x2f7)]:{_0x1b60a1=B[_0x28e01b(0x621)](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)][_0x28e01b(0x641)]:{_0x1b60a1=B['handleIRemoveCol'](_0x48824e,_0x16230b);break;}case B[_0x28e01b(0x435)]['RemoveRowCommandId']:{_0x1b60a1=B[_0x28e01b(0x4df)](_0x48824e,_0x16230b);break;}}const _0x2ed5e2=B['runRefRangeMutations'](_0x1b60a1,_0x16230b),_0x42f335=this[_0x28e01b(0x2a7)][_0x28e01b(0x313)](_0x429341);if(_0x42f335&&_0x2ed5e2){const _0x38fd70={..._0x42f335,'range':_0x2ed5e2};this[_0x28e01b(0x2a7)][_0x28e01b(0x24a)](_0x429341,_0x38fd70),_0x348f1b(()=>{const _0x4cde9e=_0x28e01b,_0x3ba5d6=this[_0x4cde9e(0x27c)][_0x4cde9e(0x40f)](_0x2ed5e2,_0x352d61=>(_0x3ba5d6[_0x4cde9e(0x51e)](),_0x1c3c5a(_0x352d61,_0x429341,_0x331ed4,_0x2ed5e2)));_0x482f7f[_0x4cde9e(0x247)](_0x3ba5d6);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x306482(0x3dc)]((_0x42a948,_0x1fd916)=>{const _0x45615e=_0x306482,{range:_0xf95703,sheetID:_0xb1424e}=_0x42a948,_0xbad2af=this[_0x45615e(0x27c)][_0x45615e(0x40f)](_0xf95703,_0x37fd5c=>(_0xbad2af[_0x45615e(0x51e)](),_0x1c3c5a(_0x37fd5c,_0x1fd916,_0xb1424e,_0xf95703)));_0x482f7f[_0x45615e(0x247)](_0xbad2af);});};this['disposeWithMe'](a[_0x4d1a6c(0x2a5)](this[_0x4d1a6c(0x578)][_0x4d1a6c(0x563)](()=>{_0x410ad1();})));}[_0x56d4b2(0x58f)](){const _0x44cf21=_0x56d4b2;var _0x1897d4,_0x1cb01a;if(this[_0x44cf21(0x3ba)]=!0x0,((_0x1897d4=this[_0x44cf21(0x2c6)][_0x44cf21(0x20c)]())==null?void 0x0:_0x1897d4[_0x44cf21(0x25a)]())!==this[_0x44cf21(0x5ed)])return;const _0x328a91=(_0x1cb01a=this['_injector'][_0x44cf21(0x313)](B[_0x44cf21(0x648)])[_0x44cf21(0x602)]())==null?void 0x0:_0x1cb01a[0x0],_0x5bacee=this[_0x44cf21(0x2c6)][_0x44cf21(0x2db)](a['UniverInstanceType'][_0x44cf21(0x58e)])['getActiveSheet']();_0x328a91&&_0x5bacee&&this['_updateLocalCursor'](_0x5bacee[_0x44cf21(0x581)](),_0x328a91);}[_0x56d4b2(0x5a6)](){const _0xcbbae3=_0x56d4b2;this[_0xcbbae3(0x3ba)]=!0x1;}};pt=es([Te(0x2,a['Inject'](a[_0x56d4b2(0x1e7)])),Te(0x3,a['Inject'](Ot)),Te(0x4,a['Inject'](exports[_0x56d4b2(0x2cc)])),Te(0x5,a[_0x56d4b2(0x63e)]),Te(0x6,a[_0x56d4b2(0x2b1)]),Te(0x7,a['Inject'](B[_0x56d4b2(0x3ef)]))],pt);var ss=Object[_0x56d4b2(0x3a4)],rs=Object['getOwnPropertyDescriptor'],os=(_0x930263,_0x50acd4,_0x442403,_0x364779)=>{const _0x534d77=_0x56d4b2;for(var _0x637073=_0x364779>0x1?void 0x0:_0x364779?rs(_0x50acd4,_0x442403):_0x50acd4,_0x5931b0=_0x930263[_0x534d77(0x543)]-0x1,_0x325e6c;_0x5931b0>=0x0;_0x5931b0--)(_0x325e6c=_0x930263[_0x5931b0])&&(_0x637073=(_0x364779?_0x325e6c(_0x50acd4,_0x442403,_0x637073):_0x325e6c(_0x637073))||_0x637073);return _0x364779&&_0x637073&&ss(_0x50acd4,_0x442403,_0x637073),_0x637073;},nt=(_0x21677f,_0x429c24)=>(_0x4df5c6,_0x4aa189)=>_0x429c24(_0x4df5c6,_0x4aa189,_0x21677f);let De=class extends a[_0x56d4b2(0x5c6)]{constructor(_0xbb5c84,_0x388ea,_0x1aef69){const _0xabb1d7=_0x56d4b2;super(),I(this,_0xabb1d7(0x45a),new Map()),I(this,_0xabb1d7(0x52d),new A['Subject']()),(this[_0xabb1d7(0x2c6)]=_0xbb5c84,this[_0xabb1d7(0x473)]=_0x388ea,this[_0xabb1d7(0x60f)]=_0x1aef69,this[_0xabb1d7(0x507)]());}[_0x56d4b2(0x51e)](){const _0x4e8f82=_0x56d4b2;super['dispose'](),this['_entityInit$'][_0x4e8f82(0x381)](),this[_0x4e8f82(0x45a)][_0x4e8f82(0x3dc)](_0x17f67c=>_0x17f67c['dispose']());}['getCollabCursors$'](_0x12d4b6){const _0x1570a5=_0x56d4b2;return this[_0x1570a5(0x45a)][_0x1570a5(0x341)](_0x12d4b6)?this['_entities'][_0x1570a5(0x313)](_0x12d4b6)[_0x1570a5(0x456)]:this[_0x1570a5(0x52d)][_0x1570a5(0x348)](A['filter'](_0x384310=>_0x384310['unitID']===_0x12d4b6),A[_0x1570a5(0x52f)](_0x38d3f0=>_0x38d3f0['cursorInfo$']));}['_init'](){const _0x14d634=_0x56d4b2;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x14d634(0x5c7)][_0x14d634(0x58e)])[_0x14d634(0x348)](A['takeUntil'](this[_0x14d634(0x5ba)]))[_0x14d634(0x563)](async _0x14dd1e=>{const _0x41c0d8=_0x14d634,_0x59e2d9=_0x14dd1e[_0x41c0d8(0x25a)](),_0x433fa7=await this['_startSheetCollabCursor'](_0x59e2d9);this['_entityInit$'][_0x41c0d8(0x336)](_0x433fa7),this[_0x41c0d8(0x45a)][_0x41c0d8(0x24a)](_0x59e2d9,_0x433fa7);}),this[_0x14d634(0x2c6)][_0x14d634(0x57f)](a[_0x14d634(0x5c7)]['UNIVER_DOC'])[_0x14d634(0x348)](A[_0x14d634(0x5e8)](this[_0x14d634(0x5ba)]))[_0x14d634(0x348)](A['filter'](_0x2bd0fd=>!_0x2bd0fd[_0x14d634(0x25a)]()[_0x14d634(0x2aa)]('__')))[_0x14d634(0x563)](async _0x4a41d6=>{const _0x121319=_0x14d634,_0x5e429b=_0x4a41d6['getUnitId'](),_0x9f81a8=await this[_0x121319(0x280)](_0x5e429b);this[_0x121319(0x52d)][_0x121319(0x336)](_0x9f81a8),this[_0x121319(0x45a)]['set'](_0x5e429b,_0x9f81a8);}),A['merge'](this['_univerInstanceService'][_0x14d634(0x489)](a['UniverInstanceType']['UNIVER_DOC']),this[_0x14d634(0x2c6)]['getTypeOfUnitDisposed$'](a[_0x14d634(0x5c7)][_0x14d634(0x58e)]))['pipe'](A[_0x14d634(0x5e8)](this[_0x14d634(0x5ba)]))[_0x14d634(0x563)](_0x3b3ca8=>{const _0x4edc79=_0x14d634,_0x4feb55=_0x3b3ca8[_0x4edc79(0x25a)](),_0x817a58=this[_0x4edc79(0x45a)][_0x4edc79(0x313)](_0x4feb55);_0x817a58&&(_0x817a58[_0x4edc79(0x51e)](),this[_0x4edc79(0x45a)][_0x4edc79(0x30c)](_0x4feb55));});}async[_0x56d4b2(0x318)](_0x17c19f){const _0x5a76e2=_0x56d4b2,_0xdbd00c=await this[_0x5a76e2(0x60f)]['requireSession'](_0x17c19f),_0x131253=this[_0x5a76e2(0x473)][_0x5a76e2(0x390)](pt,_0x17c19f,_0xdbd00c);return _0x131253[_0x5a76e2(0x65f)](),_0x131253;}async['_startDocCollabCursor'](_0x95c85d){const _0x3674d8=_0x56d4b2,_0x3838e4=await this['_collabSessionService'][_0x3674d8(0x527)](_0x95c85d),_0x5c9d6e=this[_0x3674d8(0x473)]['createInstance'](St,_0x95c85d,_0x3838e4);return _0x5c9d6e['init'](),_0x5c9d6e;}};De=os([nt(0x0,a[_0x56d4b2(0x63e)]),nt(0x1,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),nt(0x2,a[_0x56d4b2(0x226)](exports['CollaborationSessionService']))],De);const Le=0x14,kt=0xc8,it=0x4,as=0x5;function cs(_0x59a8cb,_0x18e118){const _0x169d3d=_0x56d4b2;let {radius:_0x5e54f8,width:_0x4fc852,height:_0x4017ef}=_0x18e118;_0x5e54f8=_0x5e54f8!=null?_0x5e54f8:0x0,_0x4fc852=_0x4fc852!=null?_0x4fc852:0x1e,_0x4017ef=_0x4017ef!=null?_0x4017ef:0x1e;let _0x4da08a=0x0,_0x1f371d=0x0,_0x39d2fb=0x0;_0x4da08a=_0x1f371d=_0x39d2fb=Math[_0x169d3d(0x3cc)](_0x5e54f8,_0x4fc852/0x2,_0x4017ef/0x2),_0x59a8cb['beginPath'](),_0x59a8cb[_0x169d3d(0x392)](_0x4da08a,0x0),_0x59a8cb[_0x169d3d(0x3f4)](_0x4fc852-_0x1f371d,0x0),_0x59a8cb['arc'](_0x4fc852-_0x1f371d,_0x1f371d,_0x1f371d,Math['PI']*0x3/0x2,0x0,!0x1),_0x59a8cb[_0x169d3d(0x3f4)](_0x4fc852,_0x4017ef-_0x39d2fb),_0x59a8cb['arc'](_0x4fc852-_0x39d2fb,_0x4017ef-_0x39d2fb,_0x39d2fb,0x0,Math['PI']/0x2,!0x1),_0x59a8cb[_0x169d3d(0x3f4)](0x0,_0x4017ef),_0x59a8cb['lineTo'](0x0,_0x4da08a),_0x59a8cb[_0x169d3d(0x43f)](_0x4da08a,_0x4da08a,_0x4da08a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x59a8cb[_0x169d3d(0x362)](),_0x18e118['fill']&&(_0x59a8cb[_0x169d3d(0x207)](),_0x59a8cb[_0x169d3d(0x2c0)]=_0x18e118['fill'],_0x18e118[_0x169d3d(0x491)]==='evenodd'?_0x59a8cb['fill'](_0x169d3d(0x333)):_0x59a8cb[_0x169d3d(0x2de)](),_0x59a8cb[_0x169d3d(0x4a7)]());}class ze extends K[_0x56d4b2(0x210)]{constructor(_0x4d80dc,_0x27e955){const _0x4846b5=_0x56d4b2;super(_0x4d80dc,_0x27e955),I(this,_0x4846b5(0x476)),I(this,_0x4846b5(0x256)),(this[_0x4846b5(0x476)]=_0x27e955==null?void 0x0:_0x27e955[_0x4846b5(0x476)],this['text']=_0x27e955==null?void 0x0:_0x27e955[_0x4846b5(0x256)]);}static[_0x56d4b2(0x3bf)](_0x15c2d4,_0x35aa5c){const _0x192e67=_0x56d4b2,{text:_0x36f041,color:_0x180b52}=_0x35aa5c;_0x15c2d4[_0x192e67(0x207)](),_0x15c2d4[_0x192e67(0x3e1)]=_0x192e67(0x2f0);const _0x1d1851=_0x15c2d4[_0x192e67(0x54d)](_0x36f041)['width'],_0x1cb054=Math[_0x192e67(0x3cc)](_0x1d1851+0x2*it,kt);cs(_0x15c2d4,{'height':Le,'radius':0x4,'width':_0x1cb054,'fill':_0x180b52,'evented':!0x1}),_0x15c2d4[_0x192e67(0x2c0)]=_0x192e67(0x2e6);const _0x131169=it,_0x4efd53=Le-as,_0xe4dd0b=kt-0x2*it;if(_0x1d1851>_0xe4dd0b){let _0xc9fb95='',_0x41d0f4=0x0;for(const _0x334908 of _0x36f041){const _0x4c2feb=_0x15c2d4[_0x192e67(0x54d)](_0x334908)[_0x192e67(0x331)];if(_0x41d0f4+_0x4c2feb<=_0xe4dd0b-_0x15c2d4[_0x192e67(0x54d)](_0x192e67(0x5f7))['width'])_0xc9fb95+=_0x334908,_0x41d0f4+=_0x4c2feb;else{_0xc9fb95+='...';break;}}_0x15c2d4[_0x192e67(0x4b8)](_0xc9fb95,_0x131169,_0x4efd53);}else _0x15c2d4['fillText'](_0x36f041,_0x131169,_0x4efd53);_0x15c2d4[_0x192e67(0x4a7)]();}[_0x56d4b2(0x20f)](_0x2f98fe){ze['drawWith'](_0x2f98fe,this);}}const st=_0x56d4b2(0x4dd),ls=_0x56d4b2(0x439),hs=_0x56d4b2(0x276),Ue=0x6,_s=1.5,rt=0x4,us=1.5,ds=_0x56d4b2(0x603);class Bt{constructor(_0x397811,_0x53abce,_0x38deb4,_0x2e9a30){const _0x51ae54=_0x56d4b2;I(this,'_shapes',[]),I(this,_0x51ae54(0x5c1),null),I(this,_0x51ae54(0x25f),null),I(this,_0x51ae54(0x57d),null),I(this,'_hideTimer',null),I(this,_0x51ae54(0x237),null),(this['_cursor']=_0x397811,this[_0x51ae54(0x5de)]=_0x53abce,this[_0x51ae54(0x239)]=_0x38deb4,this[_0x51ae54(0x5b1)]=_0x2e9a30,this['_render']());}set[_0x56d4b2(0x59c)](_0x556632){const _0x7f1f8c=_0x56d4b2;_0x556632?(this[_0x7f1f8c(0x57d)]&&this['_anchorDot'][_0x7f1f8c(0x241)](),this[_0x7f1f8c(0x25f)]&&this[_0x7f1f8c(0x25f)]['show']()):(this[_0x7f1f8c(0x57d)]&&this[_0x7f1f8c(0x57d)][_0x7f1f8c(0x2a0)](),this[_0x7f1f8c(0x25f)]&&this['_textBubble'][_0x7f1f8c(0x241)]());}['dispose'](){const _0x16ec41=_0x56d4b2;for(const _0x5c191b of this['_shapes'])_0x5c191b['dispose']();this['_textBubble']&&this[_0x16ec41(0x25f)]['dispose'](),this[_0x16ec41(0x57d)]&&this[_0x16ec41(0x57d)][_0x16ec41(0x51e)](),this[_0x16ec41(0x5c1)]&&this[_0x16ec41(0x5c1)][_0x16ec41(0x51e)](),this[_0x16ec41(0x237)]&&this['_eventUnsubscribe']();}['_render'](){const _0x4ec701=_0x56d4b2;var _0x13bd14;const {_docSkeleton:_0x353c85,_document:_0x30f67f}=this,{color:_0x383eda,name:_0x52c4d3,ranges:_0x42f085}=this[_0x4ec701(0x2d9)],_0x3762e=_0x30f67f[_0x4ec701(0x588)](),{docsLeft:_0x499616,docsTop:_0x14abb4}=_0x3762e,_0x4c92f8=new Q[(_0x4ec701(0x220))](_0x3762e,_0x353c85);for(const {startOffset:_0x3d3519,endOffset:_0x59ca42,rangeType:_0x2f1c0e,segmentId:_0x39d83e,segmentPage:_0x4a3375,collapsed:_0x37f054,isActive:_0x451916}of _0x42f085){const _0x42e19d=_0x353c85['findNodePositionByCharIndex'](_0x3d3519,!0x0,_0x39d83e,_0x4a3375);let _0x27ed83=_0x353c85[_0x4ec701(0x2e2)](_0x59ca42,!0x0,_0x39d83e,_0x4a3375);if(_0x27ed83==null&&(_0x27ed83=_0x353c85[_0x4ec701(0x2e2)](_0x59ca42-0x1,!0x1,_0x39d83e,_0x4a3375)),_0x451916){const {contentBoxPointGroup:_0x28961f}=_0x4c92f8[_0x4ec701(0x328)](_0x27ed83,_0x27ed83);if(_0x28961f['length']===0x0)continue;this[_0x4ec701(0x654)](_0x383eda,_0x28961f,_0x499616,_0x14abb4,_0x52c4d3),this[_0x4ec701(0x237)]=this['_handleHover']();}if(_0x42e19d&&_0x27ed83){if(_0x2f1c0e===a[_0x4ec701(0x52c)]['RECT']){const _0x26eebf=new Q['NodePositionConvertToRectRange'](_0x3762e,_0x353c85),{pointGroup:_0x5f33e6}=(_0x13bd14=_0x26eebf['getRangePointData'](_0x42e19d,_0x27ed83))!=null?_0x13bd14:{};if(_0x5f33e6==null||_0x5f33e6['length']===0x0)continue;this[_0x4ec701(0x360)](_0x383eda,_0x5f33e6,_0x499616,_0x14abb4);}else{if(!_0x37f054){const {borderBoxPointGroup:_0x1a069c}=_0x4c92f8[_0x4ec701(0x328)](_0x42e19d,_0x27ed83);if(_0x1a069c[_0x4ec701(0x543)]===0x0)continue;this[_0x4ec701(0x5b8)](_0x383eda,_0x1a069c,_0x499616,_0x14abb4);}}}}}[_0x56d4b2(0x654)](_0x3eba04,_0xe4de30,_0x43751f,_0x25b9f5,_0x2f0183){const _0x2a3401=_0x56d4b2,_0x4f6f09=this[_0x2a3401(0x488)](_0xe4de30),{left:_0x2ff47f,top:_0x522e53,height:_0x44bc2b}=_0x4f6f09,_0x535024=this[_0x2a3401(0x619)](),_0x2e8009=us/_0x535024,_0x30507d=new K[(_0x2a3401(0x606))](st+a['Tools'][_0x2a3401(0x598)](Ue),{'left':_0x2ff47f+_0x43751f-_0x2e8009,'top':_0x522e53+_0x25b9f5,'height':_0x44bc2b,'width':_s,'fill':_0x3eba04||K[_0x2a3401(0x426)](a[_0x2a3401(0x627)][_0x2a3401(0x686)],0x0),'strokeWidth':_0x2e8009,'stroke':ds,'evented':!0x0});this[_0x2a3401(0x5c1)]=_0x30507d,this[_0x2a3401(0x5de)][_0x2a3401(0x586)](_0x30507d,Q[_0x2a3401(0x26f)]);const _0x279db5=new K[(_0x2a3401(0x606))](st+a[_0x2a3401(0x4a6)][_0x2a3401(0x598)](Ue),{'left':_0x2ff47f+_0x43751f-_0x2e8009,'top':_0x522e53+_0x25b9f5-rt/0x2,'height':rt,'width':rt,'fill':_0x3eba04||K[_0x2a3401(0x426)](a[_0x2a3401(0x627)][_0x2a3401(0x686)],0x0),'strokeWidth':0x0,'stroke':_0x3eba04||K[_0x2a3401(0x426)](a['COLORS']['black'],0x0),'evented':!0x1});this[_0x2a3401(0x57d)]=_0x279db5,this[_0x2a3401(0x5de)]['addObject'](_0x279db5,Q[_0x2a3401(0x26f)]);const _0x24e512=new ze(st+a[_0x2a3401(0x4a6)][_0x2a3401(0x598)](Ue),{'left':_0x2ff47f+_0x43751f-_0x2e8009,'top':_0x522e53+_0x25b9f5-Le,'text':_0x2f0183,'color':_0x3eba04});this[_0x2a3401(0x25f)]=_0x24e512,this[_0x2a3401(0x5de)][_0x2a3401(0x586)](_0x24e512,Q[_0x2a3401(0x26f)]),this['_hover']=!0x1;}['_handleHover'](){const _0xf0790b=_0x56d4b2,_0x3972ab=this[_0xf0790b(0x5c1)]['onPointerEnter$'][_0xf0790b(0x4c5)](()=>{const _0x27a6b2=_0xf0790b;this[_0x27a6b2(0x59c)]=!0x0;}),_0x5d21ad=this[_0xf0790b(0x5c1)][_0xf0790b(0x440)][_0xf0790b(0x4c5)](()=>{const _0x25c77b=_0xf0790b;this[_0x25c77b(0x5a9)]&&clearTimeout(this[_0x25c77b(0x5a9)]),this[_0x25c77b(0x5a9)]=setTimeout(()=>{const _0x2a2384=_0x25c77b;this[_0x2a2384(0x59c)]=!0x1;},0x7d0);});return()=>{const _0x164db4=_0xf0790b;_0x3972ab[_0x164db4(0x4c0)](),_0x5d21ad[_0x164db4(0x4c0)]();};}[_0x56d4b2(0x5b8)](_0x301ff0,_0x383a61,_0x12fcf8,_0x5e1108){const _0x38bd7b=_0x56d4b2,_0x2132f3=new a[(_0x38bd7b(0x383))](_0x301ff0)[_0x38bd7b(0x5a0)](0.2)[_0x38bd7b(0x41e)](),_0x377b51=new K['RegularPolygon'](ls+a['Tools'][_0x38bd7b(0x598)](Ue),{'pointsGroup':_0x383a61,'fill':_0x2132f3||K[_0x38bd7b(0x426)](a['COLORS'][_0x38bd7b(0x686)],0.2),'left':_0x12fcf8,'top':_0x5e1108,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x38bd7b(0x394)]['push'](_0x377b51),this[_0x38bd7b(0x5de)][_0x38bd7b(0x586)](_0x377b51,Q['TEXT_RANGE_LAYER_INDEX']);}[_0x56d4b2(0x360)](_0x5b17c5,_0x1c2cb4,_0x3ca15a,_0x3d382d){const _0x2dc120=_0x56d4b2,_0x37016a=new a[(_0x2dc120(0x383))](_0x5b17c5)['setAlpha'](0.2)['toRgbString'](),_0xa1037c=new K['RegularPolygon'](hs+a['Tools'][_0x2dc120(0x598)](Ue),{'pointsGroup':_0x1c2cb4,'fill':_0x37016a||K[_0x2dc120(0x426)](a['COLORS'][_0x2dc120(0x686)],0.2),'left':_0x3ca15a,'top':_0x3d382d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2dc120(0x394)][_0x2dc120(0x322)](_0xa1037c),this[_0x2dc120(0x5de)][_0x2dc120(0x586)](_0xa1037c,Q[_0x2dc120(0x26f)]);}[_0x56d4b2(0x488)](_0x12ebd2){const _0x467af8=_0x12ebd2[0x0],_0x19aa42=_0x467af8[0x0],_0x45b288=_0x467af8[0x2],{x:_0xd394c8,y:_0x2aa101}=_0x19aa42,{x:_0x5ea350,y:_0x3ee3d3}=_0x45b288;return{'left':_0xd394c8,'top':_0x2aa101,'width':_0x5ea350-_0xd394c8,'height':_0x3ee3d3-_0x2aa101};}[_0x56d4b2(0x619)](){const _0x25daf9=_0x56d4b2,{scaleX:_0x2cf8d6,scaleY:_0x4fa2e5}=this[_0x25daf9(0x5de)]['getAncestorScale']();return Math[_0x25daf9(0x40d)](_0x2cf8d6,_0x4fa2e5);}}var fs=Object['defineProperty'],vs=Object[_0x56d4b2(0x47e)],Ss=(_0x2498b9,_0x4c21f5,_0x4cd783,_0x3763cb)=>{const _0x1b0fd5=_0x56d4b2;for(var _0x401a84=_0x3763cb>0x1?void 0x0:_0x3763cb?vs(_0x4c21f5,_0x4cd783):_0x4c21f5,_0x3ab3d0=_0x2498b9[_0x1b0fd5(0x543)]-0x1,_0x2106ac;_0x3ab3d0>=0x0;_0x3ab3d0--)(_0x2106ac=_0x2498b9[_0x3ab3d0])&&(_0x401a84=(_0x3763cb?_0x2106ac(_0x4c21f5,_0x4cd783,_0x401a84):_0x2106ac(_0x401a84))||_0x401a84);return _0x3763cb&&_0x401a84&&fs(_0x4c21f5,_0x4cd783,_0x401a84),_0x401a84;},je=(_0x311240,_0x2071f5)=>(_0x53b2f1,_0x26ac01)=>_0x2071f5(_0x53b2f1,_0x26ac01,_0x311240);let mt=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x57e9b5,_0x373ae2,_0x44e2f6,_0x47e675,_0x51b1a4){const _0x54150c=_0x56d4b2;super(),I(this,_0x54150c(0x3d2),[]),I(this,_0x54150c(0x37c),[]),(this['_context']=_0x57e9b5,this[_0x54150c(0x43b)]=_0x373ae2,this['_collabCursorController']=_0x44e2f6,this[_0x54150c(0x51b)]=_0x47e675,this[_0x54150c(0x427)]=_0x51b1a4,this[_0x54150c(0x507)]());}[_0x56d4b2(0x507)](){const _0x5c3834=_0x56d4b2,_0x1fae7c=this['_context'][_0x5c3834(0x2fe)],_0x882be4=this[_0x5c3834(0x43b)];this[_0x5c3834(0x211)](A[_0x5c3834(0x608)]([this[_0x5c3834(0x3ab)][_0x5c3834(0x490)](_0x1fae7c),this[_0x5c3834(0x427)][_0x5c3834(0x4db)]])[_0x5c3834(0x348)](V[_0x5c3834(0x26d)](([_0xf58dbd,_0xc64bf])=>({'skeleton':_0x882be4[_0x5c3834(0x38e)](),'cursors':[..._0xf58dbd[_0x5c3834(0x23d)]()][_0x5c3834(0x4af)](_0x5655c0=>({..._0x5655c0,'color':_0xc64bf[_0x5655c0['color']]}))})))[_0x5c3834(0x563)](_0x14929f=>{const _0x1328bb=_0x5c3834;if(this[_0x1328bb(0x298)](),_0x14929f){const {skeleton:_0x244ae7,cursors:_0x2ac373}=_0x14929f;this[_0x1328bb(0x4f0)](_0x244ae7,_0x2ac373);}})),this[_0x5c3834(0x590)](),this[_0x5c3834(0x46d)]();}[_0x56d4b2(0x4f0)](_0x5a3a6c,_0x5b61d0){const _0x51e9db=_0x56d4b2,{scene:_0x52ccbe,mainComponent:_0x28d78c}=this[_0x51e9db(0x528)],_0x2f0c94=_0x5b61d0[_0x51e9db(0x26d)](_0x4a9447=>new Bt(_0x4a9447,_0x52ccbe,_0x5a3a6c,_0x28d78c));this[_0x51e9db(0x3d2)]=_0x2f0c94,this[_0x51e9db(0x37c)]=_0x5b61d0;}[_0x56d4b2(0x5d2)](){const _0xf9124d=_0x56d4b2;this[_0xf9124d(0x298)]();const {scene:_0x3cad8b,mainComponent:_0x4ac091}=this[_0xf9124d(0x528)],_0x38e202=this[_0xf9124d(0x43b)][_0xf9124d(0x38e)](),_0x37a3a7=this[_0xf9124d(0x37c)][_0xf9124d(0x26d)](_0x51e145=>new Bt(_0x51e145,_0x3cad8b,_0x38e202,_0x4ac091));this[_0xf9124d(0x3d2)]=_0x37a3a7;}['_removeCollabCursors'](){const _0x2ec39e=_0x56d4b2;this[_0x2ec39e(0x3d2)][_0x2ec39e(0x3dc)](_0x4e8d58=>_0x4e8d58['dispose']()),this['_cursorShapes']=[];}[_0x56d4b2(0x46d)](){const _0x465bb8=_0x56d4b2,_0x55f339=[Q[_0x465bb8(0x3da)]['id']];this[_0x465bb8(0x211)](this[_0x465bb8(0x51b)][_0x465bb8(0x5bb)](_0x1a7b1c=>{const _0x2c112e=_0x465bb8;_0x55f339[_0x2c112e(0x37d)](_0x1a7b1c['id'])&&_0x1a7b1c[_0x2c112e(0x225)]['unitId']===this['_context'][_0x2c112e(0x2fe)]&&this[_0x2c112e(0x5d2)]();}));}[_0x56d4b2(0x590)](){const _0x33c10c=_0x56d4b2;this[_0x33c10c(0x211)](a[_0x33c10c(0x5eb)](this[_0x33c10c(0x528)][_0x33c10c(0x4f4)][_0x33c10c(0x565)])[_0x33c10c(0x348)](V['filter'](_0x30ff43=>_0x30ff43['type']===K[_0x33c10c(0x3d8)]['resize']),V[_0x33c10c(0x39c)](0x10))[_0x33c10c(0x563)](()=>{const _0x4e5b10=_0x33c10c;this[_0x4e5b10(0x5d2)]();}));}};mt=Ss([je(0x1,a[_0x56d4b2(0x226)](Ie[_0x56d4b2(0x50b)])),je(0x2,a[_0x56d4b2(0x226)](De)),je(0x3,a[_0x56d4b2(0x2b1)]),je(0x4,a['Inject'](a[_0x56d4b2(0x4be)]))],mt);const ps=0x1,ms=1.5;class gn extends K[_0x56d4b2(0x210)]{constructor(_0x4f634b,_0x564605){const _0x2b7ea7=_0x56d4b2;super(_0x4f634b,_0x564605),I(this,_0x2b7ea7(0x2cd)),I(this,'_hovered',!0x1),I(this,_0x2b7ea7(0x525)),I(this,_0x2b7ea7(0x484),''),I(this,'_labelPosition',_0x2b7ea7(0x34b)),I(this,'_backgroundColor'),(_0x564605&&this[_0x2b7ea7(0x248)](_0x564605),this[_0x2b7ea7(0x683)][_0x2b7ea7(0x4c5)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2b7ea7(0x440)][_0x2b7ea7(0x4c5)](()=>this[_0x2b7ea7(0x248)]({'hovered':!0x1})));}[_0x56d4b2(0x248)](_0x4d7964){const _0x3a99ad=_0x56d4b2;var _0x5a3fbf,_0x23e357,_0x390a0d,_0x30be6d,_0x533435,_0x59b1a9;this[_0x3a99ad(0x2cd)]=(_0x5a3fbf=_0x4d7964[_0x3a99ad(0x476)])!=null?_0x5a3fbf:this[_0x3a99ad(0x2cd)],this[_0x3a99ad(0x466)]=(_0x23e357=_0x4d7964[_0x3a99ad(0x559)])!=null?_0x23e357:this[_0x3a99ad(0x466)],this[_0x3a99ad(0x525)]=(_0x390a0d=_0x4d7964['range'])!=null?_0x390a0d:this[_0x3a99ad(0x525)],this[_0x3a99ad(0x484)]=(_0x30be6d=_0x4d7964[_0x3a99ad(0x4e6)])!=null?_0x30be6d:this[_0x3a99ad(0x484)],this['_labelPosition']=(_0x533435=_0x4d7964['labelPosition'])!=null?_0x533435:this[_0x3a99ad(0x407)],this['_backgroundColor']=(_0x59b1a9=_0x4d7964[_0x3a99ad(0x63d)])!=null?_0x59b1a9:this[_0x3a99ad(0x58b)],this['transformByState']({'width':_0x4d7964[_0x3a99ad(0x331)],'height':_0x4d7964[_0x3a99ad(0x266)]});}['onMouseMove'](_0x1bf763){const _0x26344f=_0x56d4b2,{row:_0x423f5b,column:_0x30f5e9}=_0x1bf763;if(_0x423f5b>=this[_0x26344f(0x525)][_0x26344f(0x2f9)]&&_0x423f5b<=this[_0x26344f(0x525)][_0x26344f(0x4b7)]&&_0x30f5e9>=this[_0x26344f(0x525)][_0x26344f(0x629)]&&_0x30f5e9<=this['_range']['endColumn']){this[_0x26344f(0x248)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x56d4b2(0x398)](_0x4e01c8){return!0x1;}[_0x56d4b2(0x20f)](_0x38e560){const _0x4a85b4=_0x56d4b2;K[_0x4a85b4(0x606)][_0x4a85b4(0x3bf)](_0x38e560,{'width':this[_0x4a85b4(0x331)],'height':this[_0x4a85b4(0x266)],'strokeWidth':ms,'stroke':this[_0x4a85b4(0x2cd)],'evented':!0x1,'fill':this[_0x4a85b4(0x58b)]}),this['_hovered']&&(_0x38e560[_0x4a85b4(0x207)](),_0x38e560[_0x4a85b4(0x3b4)](0x1,0x0,0x0,0x1,this[_0x4a85b4(0x331)],this[_0x4a85b4(0x407)]===_0x4a85b4(0x33c)?0x0:-Le),ze['drawWith'](_0x38e560,{'text':this[_0x4a85b4(0x484)],'color':this['_color']}),_0x38e560['restore']());}}var gs=Object[_0x56d4b2(0x3a4)],Is=Object[_0x56d4b2(0x47e)],Cs=(_0x2625f8,_0x16437a,_0x4cd881,_0x232186)=>{const _0x7726ec=_0x56d4b2;for(var _0x26ca37=_0x232186>0x1?void 0x0:_0x232186?Is(_0x16437a,_0x4cd881):_0x16437a,_0x3eef66=_0x2625f8[_0x7726ec(0x543)]-0x1,_0x1502a8;_0x3eef66>=0x0;_0x3eef66--)(_0x1502a8=_0x2625f8[_0x3eef66])&&(_0x26ca37=(_0x232186?_0x1502a8(_0x16437a,_0x4cd881,_0x26ca37):_0x1502a8(_0x26ca37))||_0x26ca37);return _0x232186&&_0x26ca37&&gs(_0x16437a,_0x4cd881,_0x26ca37),_0x26ca37;},ot=(_0x1e124a,_0x4a2207)=>(_0x368412,_0x60b918)=>_0x4a2207(_0x368412,_0x60b918,_0x1e124a);const Es=0x1389;let gt=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x198da1,_0xe85a2f,_0x363a05,_0x3d0e88){const _0xa6d54b=_0x56d4b2;super(),I(this,_0xa6d54b(0x37c),new Set()),I(this,'_lastPointer',null),(this[_0xa6d54b(0x528)]=_0x198da1,this['_sheetSkeletonManagerService']=_0xe85a2f,this[_0xa6d54b(0x3ab)]=_0x363a05,this['_themeService']=_0x3d0e88,this['_init']());}[_0x56d4b2(0x507)](){const _0x14d21e=_0x56d4b2;this[_0x14d21e(0x202)]['currentSkeleton$'][_0x14d21e(0x348)](V[_0x14d21e(0x5e8)](this[_0x14d21e(0x5ba)]),V[_0x14d21e(0x52f)](_0x11faee=>{const _0x132cbe=_0x14d21e;if(_0x11faee){const _0x3c7a87=_0x11faee['sheetId'];return A[_0x132cbe(0x608)](this[_0x132cbe(0x3ab)][_0x132cbe(0x490)](this[_0x132cbe(0x528)][_0x132cbe(0x2fe)]),this[_0x132cbe(0x427)]['currentTheme$'])[_0x132cbe(0x348)](V['map'](([_0x52969a,_0x2ab714])=>{const _0x74bdb1=new Map();return _0x52969a['forEach']((_0x46fa9e,_0x1fd0f2)=>{const _0xb9cdbc=_0xe699;if(_0x46fa9e['sheetID']===_0x3c7a87){const _0x3f7454={..._0x46fa9e};_0x3f7454[_0xb9cdbc(0x476)]=_0x2ab714[_0x46fa9e[_0xb9cdbc(0x476)]],_0x74bdb1[_0xb9cdbc(0x24a)](_0x1fd0f2,_0x3f7454);}}),{'skeleton':_0x11faee,'cursors':_0x74bdb1};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x14d21e(0x563)](({skeleton:_0x1cdd6e,cursors:_0x25c5c2})=>{const _0x508d7c=_0x14d21e;this[_0x508d7c(0x298)](),_0x1cdd6e&&this[_0x508d7c(0x4f0)](_0x1cdd6e,_0x25c5c2);}),this[_0x14d21e(0x202)][_0x14d21e(0x30d)][_0x14d21e(0x563)](_0x29c754=>{const _0x3eb2be=_0x14d21e;if(_0x29c754==null)return;const {skeleton:_0x1f1223}=_0x29c754,{scene:_0x29e2b1}=this[_0x3eb2be(0x528)];_0x29e2b1[_0x3eb2be(0x42a)][_0x3eb2be(0x4c5)](a[_0x3eb2be(0x530)](_0x47445c=>{const _0x35efa8=_0x3eb2be;var _0xe0c4a2,_0x55ade5;const {offsetX:_0x69e709,offsetY:_0x3c4658}=_0x47445c,{x:_0x23851b,y:_0x510cfc}=_0x29e2b1[_0x35efa8(0x245)](K[_0x35efa8(0x47d)][_0x35efa8(0x42e)]([_0x69e709,_0x3c4658])),{scaleX:_0x4ed1dc,scaleY:_0x481c0c}=_0x29e2b1[_0x35efa8(0x2d7)](),_0x3d918c=_0x29e2b1[_0x35efa8(0x2bf)](ye[_0x35efa8(0x3ac)][_0x35efa8(0x2f3)]),_0x4ab93c=_0x29e2b1[_0x35efa8(0x36a)](K[_0x35efa8(0x47d)][_0x35efa8(0x42e)]([_0x23851b,_0x510cfc]),_0x3d918c),_0x537704=_0x1f1223['getCellPositionByOffset'](_0x69e709,_0x3c4658,_0x4ed1dc,_0x481c0c,_0x4ab93c);((_0xe0c4a2=this['_lastPointer'])==null?void 0x0:_0xe0c4a2[_0x35efa8(0x55f)])===_0x537704['column']&&((_0x55ade5=this[_0x35efa8(0x3a0)])==null?void 0x0:_0x55ade5[_0x35efa8(0x518)])===_0x537704['row']||this['_cursors'][_0x35efa8(0x3dc)](_0x4f4b8d=>{const _0x630709=_0x35efa8;_0x4f4b8d[_0x630709(0x431)](_0x537704);});},0x64));});}[_0x56d4b2(0x4f0)](_0x23820f,_0x1da713){const _0x16e7fd=_0x56d4b2;var _0x4d4b90;const _0x4c79bf=(_0x4d4b90=this[_0x16e7fd(0x202)][_0x16e7fd(0x667)]())==null?void 0x0:_0x4d4b90[_0x16e7fd(0x4c9)];if(!_0x4c79bf)return;const _0x545a7c=this[_0x16e7fd(0x509)]();if(!_0x545a7c)return;this[_0x16e7fd(0x37c)][_0x16e7fd(0x3dc)](_0x2a1bf1=>{const _0x4dc67d=_0x16e7fd;_0x2a1bf1[_0x4dc67d(0x56d)]();});const {scene:_0x3767f8}=_0x545a7c,_0x2d985c=bs(Array[_0x16e7fd(0x3e5)](_0x1da713['values']()))['map'](_0xad6d4c=>{const _0xfd0ca1=_0x16e7fd,{color:_0x394ba3,range:_0x2ba94a,name:_0x457761,selection:_0x8ee177,sheetID:_0xb67fef}=_0xad6d4c,{startColumn:_0x1880eb,startRow:_0x4fc65a,endColumn:_0x311abc,endRow:_0x5bc482}=_0x2ba94a,_0x5d1d9d=ye['getCoordByCell'](_0x4fc65a,_0x1880eb,_0x3767f8,_0x4c79bf),_0x2c6ae2=ye[_0xfd0ca1(0x4c8)](_0x5bc482,_0x311abc,_0x3767f8,_0x4c79bf),{columnHeaderHeightAndMarginTop:_0x657ab0}=_0x4c79bf,{startX:_0x363bf5,startY:_0x21b359}=_0x5d1d9d,{endX:_0x5f4d44,endY:_0x4fbb6f}=_0x2c6ae2,_0x5d0dc0=_0x5f4d44-_0x363bf5,_0x23a609=_0x4fbb6f-_0x21b359,_0x167ede={'labelPosition':_0x21b359-_0x657ab0>=Le?_0xfd0ca1(0x34b):_0xfd0ca1(0x33c),'sheetID':_0xb67fef,'range':_0x2ba94a,'color':_0x394ba3,'name':_0x457761,'selection':_0x8ee177,'left':_0x363bf5,'top':_0x21b359,'width':_0x5d0dc0,'height':_0x23a609,'evented':!0x1,'zIndex':Es};return new gn(_0x457761,_0x167ede);});_0x3767f8['addObjects'](_0x2d985c,ps),this[_0x16e7fd(0x37c)]=new Set(_0x2d985c);}['_removeCollabCursors'](){const _0x17f4e6=_0x56d4b2;var _0x15948b;(_0x15948b=this[_0x17f4e6(0x37c)])==null||_0x15948b['forEach'](_0x1ce7f6=>_0x1ce7f6[_0x17f4e6(0x51e)]());}[_0x56d4b2(0x509)](){const _0x3bfe43=_0x56d4b2;return ye[_0x3bfe43(0x5fa)](this['_context'][_0x3bfe43(0x3f5)],this[_0x3bfe43(0x528)]);}};gt=Cs([ot(0x1,a[_0x56d4b2(0x226)](ye[_0x56d4b2(0x28c)])),ot(0x2,a['Inject'](De)),ot(0x3,a[_0x56d4b2(0x226)](a['ThemeService']))],gt);function bs(_0x9a9b07){const _0x20c06b=_0x56d4b2,_0x531778=new Map();return _0x9a9b07[_0x20c06b(0x3dc)](_0x4c4986=>{const _0x55e3b7=_0x20c06b;if(_0x531778[_0x55e3b7(0x341)](_0x4c4986[_0x55e3b7(0x4bc)])){const _0x2f5a9b=_0x531778[_0x55e3b7(0x313)](_0x4c4986[_0x55e3b7(0x4bc)]);_0x2f5a9b[_0x55e3b7(0x4e6)]+=',\x20'+_0x4c4986['name'];}else _0x531778[_0x55e3b7(0x24a)](_0x4c4986[_0x55e3b7(0x4bc)],_0x4c4986);}),Array['from'](_0x531778[_0x20c06b(0x23d)]());}var J=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x422d42){const _0x4a2ef3=_0x56d4b2;return _0x422d42&&_0x422d42[_0x4a2ef3(0x62a)]&&Object[_0x4a2ef3(0x535)][_0x4a2ef3(0x44b)][_0x4a2ef3(0x356)](_0x422d42,'default')?_0x422d42[_0x4a2ef3(0x644)]:_0x422d42;}var In={'exports':{}},Xe={},Ts=ae,Rs=Symbol[_0x56d4b2(0x630)](_0x56d4b2(0x29e)),ys=Symbol[_0x56d4b2(0x630)]('react.fragment'),Os=Object[_0x56d4b2(0x535)][_0x56d4b2(0x44b)],Ds=Ts[_0x56d4b2(0x357)]['ReactCurrentOwner'],Ps={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Cn(_0x3a6363,_0x19018b,_0x5cbeec){const _0x1a08fc=_0x56d4b2;var _0x5f24c4,_0x457c32={},_0x3cbf7d=null,_0x2a22ee=null;_0x5cbeec!==void 0x0&&(_0x3cbf7d=''+_0x5cbeec),_0x19018b[_0x1a08fc(0x615)]!==void 0x0&&(_0x3cbf7d=''+_0x19018b['key']),_0x19018b[_0x1a08fc(0x66d)]!==void 0x0&&(_0x2a22ee=_0x19018b[_0x1a08fc(0x66d)]);for(_0x5f24c4 in _0x19018b)Os[_0x1a08fc(0x356)](_0x19018b,_0x5f24c4)&&!Ps['hasOwnProperty'](_0x5f24c4)&&(_0x457c32[_0x5f24c4]=_0x19018b[_0x5f24c4]);if(_0x3a6363&&_0x3a6363[_0x1a08fc(0x2ca)]){for(_0x5f24c4 in(_0x19018b=_0x3a6363[_0x1a08fc(0x2ca)],_0x19018b))_0x457c32[_0x5f24c4]===void 0x0&&(_0x457c32[_0x5f24c4]=_0x19018b[_0x5f24c4]);}return{'$$typeof':Rs,'type':_0x3a6363,'key':_0x3cbf7d,'ref':_0x2a22ee,'props':_0x457c32,'_owner':Ds[_0x1a08fc(0x2a2)]};}Xe['Fragment']=ys,Xe[_0x56d4b2(0x3d9)]=Cn,Xe[_0x56d4b2(0x2d1)]=Cn,In['exports']=Xe;var ge=In[_0x56d4b2(0x514)],ee=function(){const _0x3207dc=_0x56d4b2;return ee=Object['assign']||function(_0x5c5539){const _0x1eba29=_0xe699;for(var _0x50e059,_0x56f0a8=0x1,_0x224a6d=arguments[_0x1eba29(0x543)];_0x56f0a8<_0x224a6d;_0x56f0a8++){_0x50e059=arguments[_0x56f0a8];for(var _0x22a97b in _0x50e059)Object['prototype'][_0x1eba29(0x44b)]['call'](_0x50e059,_0x22a97b)&&(_0x5c5539[_0x22a97b]=_0x50e059[_0x22a97b]);}return _0x5c5539;},ee[_0x3207dc(0x326)](this,arguments);},ws=function(_0x4cb0bc,_0x48faa9){const _0x4731e7=_0x56d4b2;var _0x2cf68b={};for(var _0x224f39 in _0x4cb0bc)Object['prototype']['hasOwnProperty'][_0x4731e7(0x356)](_0x4cb0bc,_0x224f39)&&_0x48faa9[_0x4731e7(0x2b3)](_0x224f39)<0x0&&(_0x2cf68b[_0x224f39]=_0x4cb0bc[_0x224f39]);if(_0x4cb0bc!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x3f071b=0x0,_0x224f39=Object[_0x4731e7(0x49d)](_0x4cb0bc);_0x3f071b<_0x224f39[_0x4731e7(0x543)];_0x3f071b++)_0x48faa9[_0x4731e7(0x2b3)](_0x224f39[_0x3f071b])<0x0&&Object[_0x4731e7(0x535)][_0x4731e7(0x2b2)][_0x4731e7(0x356)](_0x4cb0bc,_0x224f39[_0x3f071b])&&(_0x2cf68b[_0x224f39[_0x3f071b]]=_0x4cb0bc[_0x224f39[_0x3f071b]]);}return _0x2cf68b;},Dt=ae[_0x56d4b2(0x56e)](function(_0xcc9ab6,_0x5aeaa7){const _0x39993f=_0x56d4b2;var _0x2f6b4c=_0xcc9ab6[_0x39993f(0x323)],_0x67dfd5=_0xcc9ab6['id'],_0x5a74d4=_0xcc9ab6[_0x39993f(0x46e)],_0x4c05c5=_0xcc9ab6[_0x39993f(0x27a)],_0x4871de=ws(_0xcc9ab6,[_0x39993f(0x323),'id',_0x39993f(0x46e),_0x39993f(0x27a)]),_0x3c68bc=_0x39993f(0x420)[_0x39993f(0x505)](_0x67dfd5,'\x20')[_0x39993f(0x505)](_0x5a74d4||'')[_0x39993f(0x42c)](),_0x392a4c=ae[_0x39993f(0x32d)]('_'['concat'](As()));return En(_0x2f6b4c,''['concat'](_0x67dfd5),{'defIds':_0x2f6b4c[_0x39993f(0x2af)],'idSuffix':_0x392a4c['current']},ee({'ref':_0x5aeaa7,'className':_0x3c68bc},_0x4871de),_0x4c05c5);});function En(_0x102f2c,_0x4a42b5,_0x90656a,_0x38d839,_0x3f8778){const _0x52e89e=_0x56d4b2;return ae['createElement'](_0x102f2c['tag'],ee(ee({'key':_0x4a42b5},Us(_0x102f2c,_0x90656a,_0x3f8778)),_0x38d839),(Ms(_0x102f2c,_0x90656a)['children']||[])[_0x52e89e(0x26d)](function(_0x3d843f,_0x7778a1){const _0x5ed114=_0x52e89e;return En(_0x3d843f,''['concat'](_0x4a42b5,'-')[_0x5ed114(0x505)](_0x102f2c[_0x5ed114(0x219)],'-')['concat'](_0x7778a1),_0x90656a,void 0x0,_0x3f8778);}));}function Us(_0x106d69,_0x52f0f1,_0x22ae2a){const _0x7ea8a6=_0x56d4b2;var _0x916b79=ee({},_0x106d69[_0x7ea8a6(0x2ff)]);_0x22ae2a!=null&&_0x22ae2a[_0x7ea8a6(0x48f)]&&_0x916b79['fill']===_0x7ea8a6(0x48f)&&(_0x916b79[_0x7ea8a6(0x2de)]=_0x22ae2a[_0x7ea8a6(0x48f)]);var _0x4b2bb5=_0x52f0f1[_0x7ea8a6(0x2af)];return!_0x4b2bb5||_0x4b2bb5['length']===0x0||(_0x106d69['tag']===_0x7ea8a6(0x513)&&_0x916b79[_0x7ea8a6(0x250)]&&(_0x916b79[_0x7ea8a6(0x250)]=_0x916b79[_0x7ea8a6(0x250)]+_0x52f0f1['idSuffix']),Object['entries'](_0x916b79)[_0x7ea8a6(0x3dc)](function(_0x217cbb){const _0x938f5a=_0x7ea8a6;var _0xfea6a1=_0x217cbb[0x0],_0x3b8b4c=_0x217cbb[0x1];typeof _0x3b8b4c=='string'&&(_0x916b79[_0xfea6a1]=_0x3b8b4c[_0x938f5a(0x49e)](/url\(#(.*)\)/,'url(#$1'[_0x938f5a(0x505)](_0x52f0f1[_0x938f5a(0x601)],')')));})),_0x916b79;}function Ms(_0x274ded,_0x137c05){const _0x1258eb=_0x56d4b2;var _0x4bda16,_0x2dd750=_0x137c05[_0x1258eb(0x2af)];return!_0x2dd750||_0x2dd750[_0x1258eb(0x543)]===0x0?_0x274ded:_0x274ded['tag']===_0x1258eb(0x53d)&&(!((_0x4bda16=_0x274ded['children'])===null||_0x4bda16===void 0x0)&&_0x4bda16[_0x1258eb(0x543)])?ee(ee({},_0x274ded),{'children':_0x274ded[_0x1258eb(0x59a)][_0x1258eb(0x26d)](function(_0x1a53a8){const _0x5dbcb3=_0x1258eb;return typeof _0x1a53a8['attrs']['id']==_0x5dbcb3(0x5e7)&&_0x2dd750&&_0x2dd750[_0x5dbcb3(0x2b3)](_0x1a53a8[_0x5dbcb3(0x2ff)]['id'])>-0x1?ee(ee({},_0x1a53a8),{'attrs':ee(ee({},_0x1a53a8['attrs']),{'id':_0x1a53a8[_0x5dbcb3(0x2ff)]['id']+_0x137c05[_0x5dbcb3(0x601)]})}):_0x1a53a8;})}):_0x274ded;}function As(){const _0x3ba851=_0x56d4b2;return Math[_0x3ba851(0x27d)]()[_0x3ba851(0x63c)](0x24)[_0x3ba851(0x52b)](0x2,0x8);}Dt[_0x56d4b2(0x235)]=_0x56d4b2(0x4d7);var Ns={'tag':_0x56d4b2(0x414),'attrs':{'fill':_0x56d4b2(0x1e6),'viewBox':_0x56d4b2(0x61a),'width':_0x56d4b2(0x67e),'height':_0x56d4b2(0x67e)},'children':[{'tag':'g','attrs':{'clipPath':_0x56d4b2(0x45c)},'children':[{'tag':_0x56d4b2(0x20e),'attrs':{'stroke':_0x56d4b2(0x30a),'d':_0x56d4b2(0x5f6),'strokeLinecap':'round','strokeLinejoin':_0x56d4b2(0x2ef),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x56d4b2(0x316),'attrs':{'id':_0x56d4b2(0x5f0)},'children':[{'tag':_0x56d4b2(0x20e),'attrs':{'fill':_0x56d4b2(0x363),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x56d4b2(0x5f0)]},bn=ae[_0x56d4b2(0x56e)](function(_0x4584b0,_0x34ab19){const _0x37cded=_0x56d4b2;return ae[_0x37cded(0x291)](Dt,Object['assign']({},_0x4584b0,{'id':_0x37cded(0x36e),'ref':_0x34ab19,'icon':Ns}));});bn['displayName']=_0x56d4b2(0x1d4);var Ls={'tag':_0x56d4b2(0x414),'attrs':{'fill':_0x56d4b2(0x1e6),'viewBox':_0x56d4b2(0x575),'width':_0x56d4b2(0x67e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x56d4b2(0x339)},'children':[{'tag':_0x56d4b2(0x20e),'attrs':{'stroke':_0x56d4b2(0x30a),'d':_0x56d4b2(0x688),'strokeLinecap':_0x56d4b2(0x2ef),'strokeLinejoin':_0x56d4b2(0x2ef),'strokeWidth':1.2}}]},{'tag':_0x56d4b2(0x53d),'attrs':{},'children':[{'tag':_0x56d4b2(0x316),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x56d4b2(0x363),'d':'M0\x200H16V16H0z','transform':_0x56d4b2(0x624)}}]}]}],'defIds':[_0x56d4b2(0x260)]},Tn=ae['forwardRef'](function(_0x24a1df,_0x475a67){const _0x1bf02c=_0x56d4b2;return ae[_0x1bf02c(0x291)](Dt,Object[_0x1bf02c(0x21a)]({},_0x24a1df,{'id':_0x1bf02c(0x3e3),'ref':_0x475a67,'icon':Ls}));});Tn[_0x56d4b2(0x235)]=_0x56d4b2(0x567);function Rn(_0xcadf72){const _0x490839=_0x56d4b2;var _0x1b83e1,_0x58d982,_0x1485fd='';if(typeof _0xcadf72==_0x490839(0x5e7)||typeof _0xcadf72==_0x490839(0x53e))_0x1485fd+=_0xcadf72;else{if(typeof _0xcadf72==_0x490839(0x34f)){if(Array[_0x490839(0x534)](_0xcadf72)){var _0x15454d=_0xcadf72[_0x490839(0x543)];for(_0x1b83e1=0x0;_0x1b83e1<_0x15454d;_0x1b83e1++)_0xcadf72[_0x1b83e1]&&(_0x58d982=Rn(_0xcadf72[_0x1b83e1]))&&(_0x1485fd&&(_0x1485fd+='\x20'),_0x1485fd+=_0x58d982);}else{for(_0x58d982 in _0xcadf72)_0xcadf72[_0x58d982]&&(_0x1485fd&&(_0x1485fd+='\x20'),_0x1485fd+=_0x58d982);}}}return _0x1485fd;}function xs(){const _0x28c6ea=_0x56d4b2;for(var _0x9ce038,_0x34cb2c,_0x43959e=0x0,_0x4f4e13='',_0x5de2cb=arguments[_0x28c6ea(0x543)];_0x43959e<_0x5de2cb;_0x43959e++)(_0x9ce038=arguments[_0x43959e])&&(_0x34cb2c=Rn(_0x9ce038))&&(_0x4f4e13&&(_0x4f4e13+='\x20'),_0x4f4e13+=_0x34cb2c);return _0x4f4e13;}function _0xe699(_0x1db250,_0x420a13){const _0x4fa214=_0x4fa2();return _0xe699=function(_0xe699d4,_0x5e3860){_0xe699d4=_0xe699d4-0x1cb;let _0x39cca9=_0x4fa214[_0xe699d4];return _0x39cca9;},_0xe699(_0x1db250,_0x420a13);}const js=_0x56d4b2(0x200),$s='univer-online-status-title',Hs=_0x56d4b2(0x5d6),ks=_0x56d4b2(0x653),Bs=_0x56d4b2(0x2f1),Me={'onlineStatusIcon':js,'onlineStatusTitle':$s,'onlineStatus':Hs,'online':ks,'offline':Bs};function Ws(_0xdb72cf){const _0x4c9a2c=_0x56d4b2;switch(_0xdb72cf){case q[_0x4c9a2c(0x48b)]:return'collabStatus.offline';case q[_0x4c9a2c(0x2fb)]:return'collabStatus.conflict';case q['FETCH_MISS']:return _0x4c9a2c(0x591);case q['NOT_COLLAB']:return _0x4c9a2c(0x622);case q['AWAITING']:case q['AWAITING_WITH_PENDING']:return _0x4c9a2c(0x4e5);case q['SYNCED']:case q[_0x4c9a2c(0x240)]:return _0x4c9a2c(0x524);}}function yn(_0x3f85cf){const _0x2e334d=_0x56d4b2,{status$:_0x33feb1}=_0x3f85cf,_0xf9b1b=te[_0x2e334d(0x557)](_0x33feb1,q['NOT_COLLAB']),_0x51d2ff=a[_0x2e334d(0x3a3)](a[_0x2e334d(0x34d)]),_0x352d95=a[_0x2e334d(0x3a3)](exports['CollaborationSessionService']),_0x4599d8=_0xf9b1b!==q[_0x2e334d(0x48b)],_0x93e018=_0x51d2ff['t'](Ws(_0xf9b1b)),_0x38df87=xs(Me[_0x2e334d(0x4e0)],{[Me[_0x2e334d(0x592)]]:_0x4599d8,[Me[_0x2e334d(0x682)]]:!_0x4599d8}),_0xf46601=_0x4599d8?ge[_0x2e334d(0x3d9)](Tn,{}):ge[_0x2e334d(0x3d9)](bn,{}),_0x1e39c8=ae[_0x2e334d(0x334)](()=>{_0x4599d8||_0x352d95['reconnect']();},[_0x4599d8,_0x352d95]);function _0x2bf57b(){const _0x1371fd=_0x2e334d;return ge[_0x1371fd(0x2d1)](_0x1371fd(0x21e),{'className':_0x38df87,'onClick':_0x1e39c8,'children':[ge[_0x1371fd(0x3d9)]('div',{'className':Me[_0x1371fd(0x462)],'children':_0xf46601}),ge['jsx']('div',{'className':Me[_0x1371fd(0x31a)],'children':_0x93e018})]});}return _0x4599d8?_0x2bf57b():ge[_0x2e334d(0x3d9)](Ce[_0x2e334d(0x352)],{'title':_0x51d2ff['t']('collab-client.tooltip.reconnect'),'children':_0x2bf57b()});}var Fs=Object[_0x56d4b2(0x3a4)],Vs=Object[_0x56d4b2(0x47e)],Gs=(_0x4de7de,_0x55456b,_0x10f936,_0x32a6cc)=>{for(var _0x119345=_0x32a6cc>0x1?void 0x0:_0x32a6cc?Vs(_0x55456b,_0x10f936):_0x55456b,_0x27ef66=_0x4de7de['length']-0x1,_0x4edf48;_0x27ef66>=0x0;_0x27ef66--)(_0x4edf48=_0x4de7de[_0x27ef66])&&(_0x119345=(_0x32a6cc?_0x4edf48(_0x55456b,_0x10f936,_0x119345):_0x4edf48(_0x119345))||_0x119345);return _0x32a6cc&&_0x119345&&Fs(_0x55456b,_0x10f936,_0x119345),_0x119345;},$e=(_0x44c088,_0x11d3f8)=>(_0x2ffcbd,_0x415b6f)=>_0x11d3f8(_0x2ffcbd,_0x415b6f,_0x44c088);exports[_0x56d4b2(0x652)]=class extends a[_0x56d4b2(0x5e9)]{constructor(_0x288556,_0x3aa39c,_0x10a9bc,_0x16546d){const _0x44cda3=_0x56d4b2;super(),I(this,_0x44cda3(0x5aa),new A[(_0x44cda3(0x227))](q['NOT_COLLAB'])),(this[_0x44cda3(0x2c6)]=_0x288556,this[_0x44cda3(0x2bc)]=_0x3aa39c,this['_injector']=_0x10a9bc,this[_0x44cda3(0x433)]=_0x16546d,this[_0x44cda3(0x2be)](),this[_0x44cda3(0x307)]());}[_0x56d4b2(0x307)](){const _0x29b391=_0x56d4b2;this[_0x29b391(0x211)](this[_0x29b391(0x2c6)][_0x29b391(0x4ac)][_0x29b391(0x348)](A[_0x29b391(0x52f)](()=>{const _0x4cf871=_0x29b391,_0x17591d=this['_univerInstanceService']['getFocusedUnit']();return _0x17591d?this[_0x4cf871(0x433)][_0x4cf871(0x438)](_0x17591d[_0x4cf871(0x25a)]()):A['of'](null);}),A[_0x29b391(0x52f)](_0x3ce253=>_0x3ce253?_0x3ce253[_0x29b391(0x434)]:A['of'](q[_0x29b391(0x3d3)])))[_0x29b391(0x563)](_0x3fac69=>{const _0x132f07=_0x29b391;this[_0x132f07(0x5aa)]['next'](_0x3fac69);}));}[_0x56d4b2(0x2be)](){const _0x2f9e38=_0x56d4b2;this[_0x2f9e38(0x211)](this[_0x2f9e38(0x2bc)]['registerComponent'](te['BuiltInUIPart']['HEADER_MENU'],()=>a[_0x2f9e38(0x35e)](Ys({'status$':this[_0x2f9e38(0x5aa)][_0x2f9e38(0x59e)]()}),this[_0x2f9e38(0x473)])));}},exports['DesktopCollaborationStatusDisplayController']=Gs([$e(0x0,a['IUniverInstanceService']),$e(0x1,te[_0x56d4b2(0x3bb)]),$e(0x2,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),$e(0x3,a['Inject'](exports[_0x56d4b2(0x399)]))],exports[_0x56d4b2(0x652)]);function Ys(_0x476cc3){const {status$:_0x27976a}=_0x476cc3;return function(){const _0x3d8e06=_0xe699;return ge[_0x3d8e06(0x3d9)](yn,{'status$':_0x27976a});};}const Pt=a['createIdentifier']('uni.network.url-service');var Ks=Object[_0x56d4b2(0x3a4)],qs=Object[_0x56d4b2(0x47e)],zs=(_0x3e8050,_0x4ef1c9,_0x4ae122,_0x39ef05)=>{const _0x3596e8=_0x56d4b2;for(var _0x3c93da=_0x39ef05>0x1?void 0x0:_0x39ef05?qs(_0x4ef1c9,_0x4ae122):_0x4ef1c9,_0x4566ae=_0x3e8050[_0x3596e8(0x543)]-0x1,_0x82fe5b;_0x4566ae>=0x0;_0x4566ae--)(_0x82fe5b=_0x3e8050[_0x4566ae])&&(_0x3c93da=(_0x39ef05?_0x82fe5b(_0x4ef1c9,_0x4ae122,_0x3c93da):_0x82fe5b(_0x3c93da))||_0x3c93da);return _0x39ef05&&_0x3c93da&&Ks(_0x4ef1c9,_0x4ae122,_0x3c93da),_0x3c93da;},Re=(_0x24c0c3,_0x13dc99)=>(_0x2878ab,_0x5ecd4c)=>_0x13dc99(_0x2878ab,_0x5ecd4c,_0x24c0c3);exports['DataLoaderController']=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x375ff2,_0x42ab73,_0x48c03b,_0xd6072c,_0x325894,_0x58d8b9){const _0x2a6e14=_0x56d4b2;super(),this[_0x2a6e14(0x3de)]=_0x375ff2,this[_0x2a6e14(0x529)]=_0x42ab73,this[_0x2a6e14(0x51b)]=_0x48c03b,this[_0x2a6e14(0x56a)]=_0xd6072c,this['_snapshotService']=_0x325894,_0x58d8b9?_0x58d8b9==null||_0x58d8b9['whenReady']()[_0x2a6e14(0x4a8)](()=>this[_0x2a6e14(0x507)]()):(this[_0x2a6e14(0x529)][_0x2a6e14(0x50f)]('[DataLoaderController]',_0x2a6e14(0x48e)),this['_init']());}async['_init'](){const _0x1d1612=_0x56d4b2,_0x5d5813=this[_0x1d1612(0x3de)][_0x1d1612(0x5dc)](_0x1d1612(0x3f5)),_0xaecc17=this[_0x1d1612(0x3de)]['getParam'](_0x1d1612(0x2fc));if(!_0x5d5813||!_0xaecc17){this[_0x1d1612(0x529)][_0x1d1612(0x50f)](_0x1d1612(0x536),_0x1d1612(0x5ae));return;}switch(Number(_0xaecc17)){case ie[_0x1d1612(0x58e)]:{const _0x5ee191=await this['_loadSheet'](_0x5d5813);this[_0x1d1612(0x23b)](_0x5ee191);break;}case ie[_0x1d1612(0x487)]:{await this['_loadDoc'](_0x5d5813);break;}default:{this['_logService'][_0x1d1612(0x38d)](_0x1d1612(0x536),_0x1d1612(0x51d));break;}}}async[_0x56d4b2(0x23b)](_0x2379be){const _0x566100=_0x56d4b2;await this[_0x566100(0x287)](_0x2379be),_0x2379be[_0x566100(0x27f)][_0x566100(0x348)](A[_0x566100(0x5e8)](this[_0x566100(0x5ba)]))[_0x566100(0x563)](_0x1e6c55=>{_0x1e6c55&&this['_updateURLWithCurrentState'](_0x1e6c55);}),this[_0x566100(0x3de)][_0x566100(0x430)][_0x566100(0x348)](A[_0x566100(0x5e8)](this['dispose$']))[_0x566100(0x563)](()=>this[_0x566100(0x287)](_0x2379be));}[_0x56d4b2(0x446)](_0x48042e,_0x2f4c35=!0x1){const _0x5f1224=_0x56d4b2,_0x1e74b3=this[_0x5f1224(0x3de)][_0x5f1224(0x5dc)](_0x5f1224(0x40b));_0x48042e[_0x5f1224(0x581)]()!==_0x1e74b3&&this[_0x5f1224(0x3de)][_0x5f1224(0x54c)](_0x5f1224(0x40b),_0x48042e['getSheetId'](),_0x2f4c35);}async[_0x56d4b2(0x287)](_0x231311){const _0x2c579d=_0x56d4b2;var _0x3488d8;const _0x4360e0=this[_0x2c579d(0x3de)][_0x2c579d(0x5dc)](_0x2c579d(0x40b));if(!_0x4360e0||!_0x231311[_0x2c579d(0x23a)](_0x4360e0)){const _0x31e605=_0x231311[_0x2c579d(0x1d0)]()[0x0],_0x32eca7=_0x231311[_0x2c579d(0x23a)](_0x31e605);if(!_0x32eca7)return;this[_0x2c579d(0x446)](_0x32eca7,!0x0),await this[_0x2c579d(0x51b)][_0x2c579d(0x29a)](B[_0x2c579d(0x4d5)]['id'],{'unitId':_0x231311['getUnitId'](),'subUnitId':_0x31e605});return;}((_0x3488d8=_0x231311[_0x2c579d(0x472)]())==null?void 0x0:_0x3488d8[_0x2c579d(0x581)]())!==_0x4360e0&&await this[_0x2c579d(0x51b)][_0x2c579d(0x29a)](B[_0x2c579d(0x4d5)]['id'],{'unitId':_0x231311[_0x2c579d(0x25a)](),'subUnitId':_0x4360e0});}async['_loadSheet'](_0x515898){const _0x2a1ef0=_0x56d4b2;let _0x4bb778=0x0;const _0x1ef3c1=await this[_0x2a1ef0(0x56a)][_0x2a1ef0(0x3f6)](_0x515898);return _0x1ef3c1&&(_0x1ef3c1[_0x2a1ef0(0x556)]||_0x1ef3c1[_0x2a1ef0(0x48c)]['length']!==0x0)&&(_0x4bb778=_0x1ef3c1[_0x2a1ef0(0x554)]),_0x4bb778===0x0&&this[_0x2a1ef0(0x529)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2a1ef0(0x401)][_0x2a1ef0(0x1d9)](_0x515898,_0x4bb778);}async[_0x56d4b2(0x469)](_0x4a5aab){const _0x1db413=_0x56d4b2;let _0x4f0c48=0x0;const _0x12c961=await this[_0x1db413(0x56a)][_0x1db413(0x3f6)](_0x4a5aab);return _0x12c961&&(_0x12c961[_0x1db413(0x556)]||_0x12c961['mutations'][_0x1db413(0x543)]!==0x0)&&(_0x4f0c48=_0x12c961[_0x1db413(0x554)]),_0x4f0c48===0x0&&this[_0x1db413(0x529)][_0x1db413(0x50f)](_0x1db413(0x536),_0x1db413(0x55d)),this[_0x1db413(0x401)]['loadDoc'](_0x4a5aab,_0x4f0c48);}},exports[_0x56d4b2(0x49b)]=zs([Re(0x0,Pt),Re(0x1,a[_0x56d4b2(0x270)]),Re(0x2,a[_0x56d4b2(0x2b1)]),Re(0x3,a[_0x56d4b2(0x226)](exports[_0x56d4b2(0x541)])),Re(0x4,a[_0x56d4b2(0x226)](p[_0x56d4b2(0x23f)])),Re(0x5,a['Optional'](Hn['IRemoteInstanceService']))],exports[_0x56d4b2(0x49b)]);var Xs=Object[_0x56d4b2(0x3a4)],Js=Object[_0x56d4b2(0x47e)],Zs=(_0x1b83ab,_0x1e679a,_0x596c44,_0x297731)=>{const _0x191d5a=_0x56d4b2;for(var _0x4d65a5=_0x297731>0x1?void 0x0:_0x297731?Js(_0x1e679a,_0x596c44):_0x1e679a,_0x26e049=_0x1b83ab[_0x191d5a(0x543)]-0x1,_0x4042d6;_0x26e049>=0x0;_0x26e049--)(_0x4042d6=_0x1b83ab[_0x26e049])&&(_0x4d65a5=(_0x297731?_0x4042d6(_0x1e679a,_0x596c44,_0x4d65a5):_0x4042d6(_0x4d65a5))||_0x4d65a5);return _0x297731&&_0x4d65a5&&Xs(_0x1e679a,_0x596c44,_0x4d65a5),_0x4d65a5;},Wt=(_0x5dff8f,_0x3b3c69)=>(_0x1aa5b6,_0x24c310)=>_0x3b3c69(_0x1aa5b6,_0x24c310,_0x5dff8f);const Qs='DEFAULT_FILE_NAME',er='Univer';let Ve=class extends a[_0x56d4b2(0x5e9)]{constructor(_0x31efd3,_0x49c471){const _0x555361=_0x56d4b2;super(),this['_univerInstanceService']=_0x31efd3,this[_0x555361(0x2b9)]=_0x49c471,this[_0x555361(0x507)]();}[_0x56d4b2(0x507)](){const _0x5dd1db=_0x56d4b2;this[_0x5dd1db(0x211)](this['_univerInstanceService'][_0x5dd1db(0x4ac)]['subscribe'](()=>{const _0x2087d1=_0x5dd1db;var _0x26a4d;const _0x3cbba9=this[_0x2087d1(0x2c6)][_0x2087d1(0x20c)]();let _0x61852c=(_0x26a4d=this[_0x2087d1(0x2b9)][_0x2087d1(0x3e8)](Qs))!=null?_0x26a4d:er;_0x3cbba9 instanceof a['Workbook']&&(_0x61852c=_0x3cbba9['name']),document['title']=_0x61852c;}));}};Ve=Zs([Wt(0x0,a['IUniverInstanceService']),Wt(0x1,a[_0x56d4b2(0x229)])],Ve);var tr=Object[_0x56d4b2(0x3a4)],nr=Object['getOwnPropertyDescriptor'],ir=(_0x3d26e4,_0x4ff6b2,_0x144392,_0xc401f0)=>{const _0x4beb77=_0x56d4b2;for(var _0x39ad4e=_0xc401f0>0x1?void 0x0:_0xc401f0?nr(_0x4ff6b2,_0x144392):_0x4ff6b2,_0x412360=_0x3d26e4[_0x4beb77(0x543)]-0x1,_0x46677f;_0x412360>=0x0;_0x412360--)(_0x46677f=_0x3d26e4[_0x412360])&&(_0x39ad4e=(_0xc401f0?_0x46677f(_0x4ff6b2,_0x144392,_0x39ad4e):_0x46677f(_0x39ad4e))||_0x39ad4e);return _0xc401f0&&_0x39ad4e&&tr(_0x4ff6b2,_0x144392,_0x39ad4e),_0x39ad4e;},at=(_0x49d0b8,_0x58f81f)=>(_0x2c4ae5,_0x2b7226)=>_0x58f81f(_0x2c4ae5,_0x2b7226,_0x49d0b8);let Ge=class{constructor(_0x1d9eb,_0x5dfd68,_0x3e9096){const _0x359c22=_0x56d4b2;this[_0x359c22(0x2b9)]=_0x1d9eb,this['_httpService']=_0x5dfd68,this[_0x359c22(0x36f)]=_0x3e9096,this[_0x359c22(0x65f)]();}[_0x56d4b2(0x65f)](){const _0x1bb04c=_0x56d4b2;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5b9534,_0x482ae3)=>_0x482ae3(_0x5b9534)['pipe'](A[_0x1bb04c(0x42b)](async _0x11b3c1=>{const _0x4e94b1=_0x1bb04c,_0x558bda=_0x11b3c1;if(_0x558bda['status']===0x191&&window[_0x4e94b1(0x506)](this[_0x4e94b1(0x36f)]['t']('auth.needGotoLoginAlert'))){const _0xa1267=window[_0x4e94b1(0x269)](window[_0x4e94b1(0x263)][_0x4e94b1(0x38c)]);window[_0x4e94b1(0x263)][_0x4e94b1(0x38c)]=this[_0x4e94b1(0x2d4)]()+'?url='+_0xa1267;}return _0x558bda;}))});}['_getLoginPath'](){const _0x1ca954=_0x56d4b2;var _0x3b6785,_0x51ad21;const _0x462053=this[_0x1ca954(0x2b9)]['getConfig'](ln),_0x2fcc02=this[_0x1ca954(0x2b9)][_0x1ca954(0x3e8)](Z);return(_0x51ad21=(_0x3b6785=_0x2fcc02==null?void 0x0:_0x2fcc02[_0x1ca954(0x2e9)])!=null?_0x3b6785:_0x462053)!=null?_0x51ad21:Xn;}};Ge=ir([at(0x0,a['IConfigService']),at(0x1,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)])),at(0x2,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x34d)]))],Ge);var sr=Object[_0x56d4b2(0x3a4)],rr=Object[_0x56d4b2(0x47e)],or=(_0x3ee96e,_0x352bd7,_0x75d818,_0x2b0e61)=>{const _0x21e287=_0x56d4b2;for(var _0x299413=_0x2b0e61>0x1?void 0x0:_0x2b0e61?rr(_0x352bd7,_0x75d818):_0x352bd7,_0x19bfa7=_0x3ee96e[_0x21e287(0x543)]-0x1,_0x60cfbd;_0x19bfa7>=0x0;_0x19bfa7--)(_0x60cfbd=_0x3ee96e[_0x19bfa7])&&(_0x299413=(_0x2b0e61?_0x60cfbd(_0x352bd7,_0x75d818,_0x299413):_0x60cfbd(_0x299413))||_0x299413);return _0x2b0e61&&_0x299413&&sr(_0x352bd7,_0x75d818,_0x299413),_0x299413;},Ft=(_0x6a7966,_0x264c47)=>(_0x698914,_0x770897)=>_0x264c47(_0x698914,_0x770897,_0x6a7966);const wt=_0x56d4b2(0x303),ar=_0x56d4b2(0x429);exports[_0x56d4b2(0x572)]=class extends a[_0x56d4b2(0x5e9)]{constructor(_0x4bd55d,_0x210dea){const _0x3bd37c=_0x56d4b2;super(),this[_0x3bd37c(0x5d5)]=_0x4bd55d,this[_0x3bd37c(0x2b9)]=_0x210dea,this[_0x3bd37c(0x517)]();}[_0x56d4b2(0x517)](){const _0x512847=_0x56d4b2,_0x5d0560=this;this[_0x512847(0x211)](this[_0x512847(0x5d5)][_0x512847(0x63f)]({'priority':0x3e7,'interceptor':z[_0x512847(0x61d)]({'isMatch'(_0x154c9c){const _0x5f2be4=_0x512847;var _0x257187;if(_0x154c9c[_0x5f2be4(0x28f)]===_0x5f2be4(0x436)&&((_0x257187=_0x154c9c[_0x5f2be4(0x3c6)])!=null&&_0x257187[_0x5f2be4(0x1f8)])){const {objectID:_0x50db18,objectType:_0x4dcb57}=_0x154c9c[_0x5f2be4(0x3c6)][_0x5f2be4(0x1f8)]||{};if(!_0x50db18||_0x4dcb57===void 0x0)return!0x1;const _0x1c132d=_0x5d0560[_0x5f2be4(0x539)]()+'/'+_0x4dcb57+_0x5f2be4(0x27e)+_0x50db18+_0x5f2be4(0x3ed);if(_0x154c9c[_0x5f2be4(0x376)]===_0x1c132d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a0aa3){const _0x1c318f=_0x512847;var _0x31d4a9;return(_0x31d4a9=_0x4a0aa3[_0x1c318f(0x3c6)])==null?void 0x0:_0x31d4a9[_0x1c318f(0x1f8)];},'mergeParamsToRequest'(_0x36bb18,_0x7143a0){const _0x258f93=_0x512847,_0x51a091=_0x5d0560[_0x258f93(0x539)]()+_0x258f93(0x664),_0xe88ace=_0x36bb18[_0x258f93(0x29d)]((_0x5b16d5,_0x5b8800)=>{const _0x46b915=_0x258f93,{unitID:_0x3b15f0,objectID:_0x360f7c,objectType:_0x5f5b1d,actions:_0x410442}=_0x5b8800;return _0x5b16d5[_0x3b15f0]||(_0x5b16d5[_0x3b15f0]={}),_0x5b16d5[_0x3b15f0][_0x360f7c]||(_0x5b16d5[_0x3b15f0][_0x360f7c]={'objectID':_0x360f7c,'objectType':_0x5f5b1d,'actions':[]}),_0x5b16d5[_0x3b15f0][_0x360f7c][_0x46b915(0x24d)][_0x46b915(0x322)](..._0x410442),_0x5b16d5;},{}),_0x1f9e9b=[];for(const _0x58fafa in _0xe88ace)for(const _0x16e212 in _0xe88ace[_0x58fafa]){const {actions:_0x7895da,objectType:_0x21ecc7}=_0xe88ace[_0x58fafa][_0x16e212],_0x74fa1c=[...new Set(_0x7895da)];_0x1f9e9b[_0x258f93(0x322)]({'unitID':_0x58fafa,'objectID':_0x16e212,'objectType':_0x21ecc7,'actions':_0x74fa1c});}return new z[(_0x258f93(0x3fa))](_0x258f93(0x436),_0x51a091,{'headers':_0x7143a0['headers'],'withCredentials':_0x7143a0[_0x258f93(0x444)],'responseType':_0x7143a0[_0x258f93(0x566)],'body':{'requests':_0x1f9e9b}});}},{'distributeResult'(_0x58ffd2,_0x480122){const _0x436fe9=_0x512847,{objectActions:_0x40bba}=_0x58ffd2;return _0x480122[_0x436fe9(0x26d)](_0x3f5479=>{const _0xb3d3b4=_0x436fe9,{unitID:_0x6e5daa,objectID:_0x99c764,actions:_0x1a87b8}=_0x3f5479,_0x5e9c76=_0x40bba[_0xb3d3b4(0x2ad)](_0x701e80=>_0x701e80['unitID']===_0x6e5daa&&_0x701e80[_0xb3d3b4(0x4a1)]===_0x99c764),_0x419b8b=_0x1a87b8[_0xb3d3b4(0x26d)](_0x91e3b2=>_0x5e9c76==null?void 0x0:_0x5e9c76['actions'][_0xb3d3b4(0x2ad)](_0x1826d2=>_0x1826d2['action']===_0x91e3b2))['filter'](_0x591408=>!!_0x591408);return{'config':_0x3f5479,'result':{'actions':_0x419b8b,'error':_0x58ffd2[_0xb3d3b4(0x38d)]}};});}})}));}[_0x56d4b2(0x539)](){const _0x163fc2=_0x56d4b2;var _0x56af39,_0x22b8ac;const _0x560c39=this[_0x163fc2(0x2b9)]['getConfig'](wt),_0x4d536e=this[_0x163fc2(0x2b9)][_0x163fc2(0x3e8)](Z);return(_0x22b8ac=(_0x56af39=_0x4d536e==null?void 0x0:_0x4d536e['authzUrl'])!=null?_0x56af39:_0x560c39)!=null?_0x22b8ac:ar;}async[_0x56d4b2(0x228)](_0x3923ff){const _0x48257f=_0x56d4b2,_0x4db2b9=this['_getAPIPrefixPath']()+'/'+_0x3923ff[_0x48257f(0x45b)]+_0x48257f(0x43a);return(await this[_0x48257f(0x5d5)][_0x48257f(0x2a3)](_0x4db2b9,{'body':_0x3923ff}))[_0x48257f(0x1f8)][_0x48257f(0x4a1)]||'';}async[_0x56d4b2(0x60a)](_0x1036cd){const _0x42d98f=_0x56d4b2,_0x12f4f2=this[_0x42d98f(0x539)]()+_0x42d98f(0x461);return(await this['_HTTPService'][_0x42d98f(0x2a3)](_0x12f4f2,{'body':_0x1036cd}))['body'][_0x42d98f(0x293)];}async[_0x56d4b2(0x3c7)](_0x4ea9af){const _0x45b99c=_0x56d4b2,_0x208197=this['_getAPIPrefixPath']()+'/'+_0x4ea9af['objectType']+_0x45b99c(0x27e)+_0x4ea9af[_0x45b99c(0x4a1)];await this[_0x45b99c(0x5d5)][_0x45b99c(0x354)](_0x208197,{'body':_0x4ea9af});}async[_0x56d4b2(0x402)](_0x566930){const _0x40b740=_0x56d4b2,_0x44f595=this[_0x40b740(0x539)]()+'/'+_0x566930[_0x40b740(0x45b)]+_0x40b740(0x27e)+_0x566930['objectID']+_0x40b740(0x3ed);return(await this[_0x40b740(0x5d5)]['post'](_0x44f595,{'body':_0x566930}))['body']['actions'];}async[_0x56d4b2(0x56f)](_0x56520f){const _0x58a089=_0x56d4b2,_0x34f6dc=this[_0x58a089(0x539)]()+_0x58a089(0x664);return(await this[_0x58a089(0x5d5)][_0x58a089(0x2a3)](_0x34f6dc,{'body':{'requests':_0x56520f}}))[_0x58a089(0x1f8)][_0x58a089(0x464)];}async[_0x56d4b2(0x22c)](_0x5b1cd8){const _0x135c9e=_0x56d4b2,_0x14e93f=this[_0x135c9e(0x539)]()+'/'+_0x5b1cd8['objectType']+_0x135c9e(0x422),_0x1b087d=await this[_0x135c9e(0x5d5)][_0x135c9e(0x2a3)](_0x14e93f,{'body':_0x5b1cd8});return{'roles':_0x1b087d[_0x135c9e(0x1f8)][_0x135c9e(0x35c)],'actions':_0x1b087d[_0x135c9e(0x1f8)]['actions']};}async[_0x56d4b2(0x346)](_0x51b442){const _0x5c05e3=_0x56d4b2,_0x283971=this[_0x5c05e3(0x539)]()+_0x5c05e3(0x1e9);await this[_0x5c05e3(0x5d5)][_0x5c05e3(0x30c)](_0x283971,{'params':{'collaboratorID':_0x51b442[_0x5c05e3(0x4e3)],'objectID':_0x51b442[_0x5c05e3(0x4a1)],'unitID':_0x51b442[_0x5c05e3(0x5ed)]}});}async[_0x56d4b2(0x550)](_0x456328){const _0x1bdefb=_0x56d4b2,_0x21d188=this['_getAPIPrefixPath']()+_0x1bdefb(0x1e9);await this[_0x1bdefb(0x5d5)][_0x1bdefb(0x1eb)](_0x21d188,{'body':_0x456328});}async[_0x56d4b2(0x673)](_0x145380){const _0x9fb979=_0x56d4b2,_0x3a6ceb=this[_0x9fb979(0x539)]()+'/collaborator';await this[_0x9fb979(0x5d5)][_0x9fb979(0x2a3)](_0x3a6ceb,{'body':_0x145380});}async['listCollaborators'](_0x338b73){const _0x4d5a00=_0x56d4b2,_0x3a514f=this[_0x4d5a00(0x539)]()+_0x4d5a00(0x1e9);return(await this[_0x4d5a00(0x5d5)][_0x4d5a00(0x313)](_0x3a514f,{'params':{'objectID':_0x338b73[_0x4d5a00(0x4a1)],'unitID':_0x338b73['unitID']}}))['body']['collaborators'];}async[_0x56d4b2(0x347)](_0x5cfb5b){const _0xa47af2=_0x56d4b2,_0x53a1b3=this[_0xa47af2(0x539)]()+_0xa47af2(0x1e9);await this[_0xa47af2(0x5d5)][_0xa47af2(0x354)](_0x53a1b3,{'body':_0x5cfb5b});}},exports['AuthzIoHttpService']=or([Ft(0x0,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)])),Ft(0x1,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x229)]))],exports[_0x56d4b2(0x572)]);var On={'exports':{}};function cr(_0x2c341d){const _0x3678a4=_0x56d4b2;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2c341d+_0x3678a4(0x1e2));}var ct={'exports':{}},Vt;function oe(){const _0x117b56=_0x56d4b2;return Vt||(Vt=0x1,function(_0x377826,_0x2a3840){(function(_0x495851,_0x48e535){const _0x15f0e5=_0xe699;_0x377826[_0x15f0e5(0x514)]=_0x48e535();}(J,function(){var _0x335431=_0x335431||function(_0x249763,_0x2e67d6){const _0x1bdcb7=_0xe699;var _0x3fd7d1;if(typeof window<'u'&&window[_0x1bdcb7(0x1f1)]&&(_0x3fd7d1=window[_0x1bdcb7(0x1f1)]),typeof self<'u'&&self[_0x1bdcb7(0x1f1)]&&(_0x3fd7d1=self[_0x1bdcb7(0x1f1)]),typeof globalThis<'u'&&globalThis[_0x1bdcb7(0x1f1)]&&(_0x3fd7d1=globalThis[_0x1bdcb7(0x1f1)]),!_0x3fd7d1&&typeof window<'u'&&window[_0x1bdcb7(0x679)]&&(_0x3fd7d1=window[_0x1bdcb7(0x679)]),!_0x3fd7d1&&typeof J<'u'&&J['crypto']&&(_0x3fd7d1=J[_0x1bdcb7(0x1f1)]),!_0x3fd7d1&&typeof cr==_0x1bdcb7(0x231))try{_0x3fd7d1=require(_0x1bdcb7(0x1f1));}catch{}var _0xd9ff07=function(){const _0x2927a6=_0x1bdcb7;if(_0x3fd7d1){if(typeof _0x3fd7d1['getRandomValues']=='function')try{return _0x3fd7d1[_0x2927a6(0x560)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3fd7d1[_0x2927a6(0x29b)]=='function')try{return _0x3fd7d1[_0x2927a6(0x29b)](0x4)[_0x2927a6(0x44d)]();}catch{}}throw new Error(_0x2927a6(0x63b));},_0x2f1e56=Object[_0x1bdcb7(0x228)]||(function(){function _0x2a89b8(){}return function(_0x277cb3){const _0x48f1b9=_0xe699;var _0x491021;return _0x2a89b8[_0x48f1b9(0x535)]=_0x277cb3,_0x491021=new _0x2a89b8(),_0x2a89b8[_0x48f1b9(0x535)]=null,_0x491021;};}()),_0x5db68d={},_0x31fdf2=_0x5db68d[_0x1bdcb7(0x62b)]={},_0xa80152=_0x31fdf2['Base']=(function(){return{'extend':function(_0x2ba9cf){const _0xc5b203=_0xe699;var _0x28d50d=_0x2f1e56(this);return _0x2ba9cf&&_0x28d50d[_0xc5b203(0x3cf)](_0x2ba9cf),(!_0x28d50d['hasOwnProperty']('init')||this[_0xc5b203(0x65f)]===_0x28d50d[_0xc5b203(0x65f)])&&(_0x28d50d['init']=function(){const _0x56b4ca=_0xc5b203;_0x28d50d[_0x56b4ca(0x636)][_0x56b4ca(0x65f)][_0x56b4ca(0x326)](this,arguments);}),_0x28d50d[_0xc5b203(0x65f)][_0xc5b203(0x535)]=_0x28d50d,_0x28d50d['$super']=this,_0x28d50d;},'create':function(){const _0x3e4183=_0xe699;var _0x3bee41=this['extend']();return _0x3bee41[_0x3e4183(0x65f)]['apply'](_0x3bee41,arguments),_0x3bee41;},'init':function(){},'mixIn':function(_0x1c9149){const _0x4c6879=_0xe699;for(var _0x47c273 in _0x1c9149)_0x1c9149[_0x4c6879(0x44b)](_0x47c273)&&(this[_0x47c273]=_0x1c9149[_0x47c273]);_0x1c9149[_0x4c6879(0x44b)](_0x4c6879(0x63c))&&(this[_0x4c6879(0x63c)]=_0x1c9149['toString']);},'clone':function(){const _0x1af6b4=_0xe699;return this['init'][_0x1af6b4(0x535)][_0x1af6b4(0x27a)](this);}};}()),_0x5c66e5=_0x31fdf2[_0x1bdcb7(0x2c1)]=_0xa80152[_0x1bdcb7(0x27a)]({'init':function(_0x452d08,_0x2d3706){const _0x2f05ec=_0x1bdcb7;_0x452d08=this[_0x2f05ec(0x32b)]=_0x452d08||[],_0x2d3706!=_0x2e67d6?this[_0x2f05ec(0x415)]=_0x2d3706:this[_0x2f05ec(0x415)]=_0x452d08[_0x2f05ec(0x543)]*0x4;},'toString':function(_0x53db0a){const _0xa25c5f=_0x1bdcb7;return(_0x53db0a||_0x148caf)[_0xa25c5f(0x637)](this);},'concat':function(_0x17230b){const _0x2f0fea=_0x1bdcb7;var _0x816b98=this[_0x2f0fea(0x32b)],_0x5eeb05=_0x17230b[_0x2f0fea(0x32b)],_0x3e56c1=this[_0x2f0fea(0x415)],_0x2ad824=_0x17230b[_0x2f0fea(0x415)];if(this[_0x2f0fea(0x504)](),_0x3e56c1%0x4)for(var _0x34044d=0x0;_0x34044d<_0x2ad824;_0x34044d++){var _0x394317=_0x5eeb05[_0x34044d>>>0x2]>>>0x18-_0x34044d%0x4*0x8&0xff;_0x816b98[_0x3e56c1+_0x34044d>>>0x2]|=_0x394317<<0x18-(_0x3e56c1+_0x34044d)%0x4*0x8;}else{for(var _0x2cb140=0x0;_0x2cb140<_0x2ad824;_0x2cb140+=0x4)_0x816b98[_0x3e56c1+_0x2cb140>>>0x2]=_0x5eeb05[_0x2cb140>>>0x2];}return this['sigBytes']+=_0x2ad824,this;},'clamp':function(){const _0x43cc87=_0x1bdcb7;var _0x1a8c36=this[_0x43cc87(0x32b)],_0x141adc=this['sigBytes'];_0x1a8c36[_0x141adc>>>0x2]&=0xffffffff<<0x20-_0x141adc%0x4*0x8,_0x1a8c36[_0x43cc87(0x543)]=_0x249763['ceil'](_0x141adc/0x4);},'clone':function(){const _0x206488=_0x1bdcb7;var _0x34ac54=_0xa80152[_0x206488(0x340)][_0x206488(0x356)](this);return _0x34ac54[_0x206488(0x32b)]=this[_0x206488(0x32b)][_0x206488(0x2a4)](0x0),_0x34ac54;},'random':function(_0x3c5923){const _0x56ba72=_0x1bdcb7;for(var _0x58cdda=[],_0x2de57a=0x0;_0x2de57a<_0x3c5923;_0x2de57a+=0x4)_0x58cdda[_0x56ba72(0x322)](_0xd9ff07());return new _0x5c66e5[(_0x56ba72(0x65f))](_0x58cdda,_0x3c5923);}}),_0x96e7ef=_0x5db68d['enc']={},_0x148caf=_0x96e7ef[_0x1bdcb7(0x64f)]={'stringify':function(_0x209e48){const _0xf820ce=_0x1bdcb7;for(var _0x53f226=_0x209e48[_0xf820ce(0x32b)],_0x482164=_0x209e48[_0xf820ce(0x415)],_0x3c50a6=[],_0x1b77f0=0x0;_0x1b77f0<_0x482164;_0x1b77f0++){var _0x24819d=_0x53f226[_0x1b77f0>>>0x2]>>>0x18-_0x1b77f0%0x4*0x8&0xff;_0x3c50a6[_0xf820ce(0x322)]((_0x24819d>>>0x4)[_0xf820ce(0x63c)](0x10)),_0x3c50a6[_0xf820ce(0x322)]((_0x24819d&0xf)[_0xf820ce(0x63c)](0x10));}return _0x3c50a6[_0xf820ce(0x262)]('');},'parse':function(_0x261539){const _0x12e691=_0x1bdcb7;for(var _0x49caae=_0x261539[_0x12e691(0x543)],_0x146d1e=[],_0x340553=0x0;_0x340553<_0x49caae;_0x340553+=0x2)_0x146d1e[_0x340553>>>0x3]|=parseInt(_0x261539[_0x12e691(0x3cb)](_0x340553,0x2),0x10)<<0x18-_0x340553%0x8*0x4;return new _0x5c66e5['init'](_0x146d1e,_0x49caae/0x2);}},_0x4ae181=_0x96e7ef[_0x1bdcb7(0x5ca)]={'stringify':function(_0x2ec0a6){const _0x4f6174=_0x1bdcb7;for(var _0x1ebf4c=_0x2ec0a6['words'],_0x2fd134=_0x2ec0a6[_0x4f6174(0x415)],_0x32dc22=[],_0x17549a=0x0;_0x17549a<_0x2fd134;_0x17549a++){var _0x2e972c=_0x1ebf4c[_0x17549a>>>0x2]>>>0x18-_0x17549a%0x4*0x8&0xff;_0x32dc22['push'](String[_0x4f6174(0x577)](_0x2e972c));}return _0x32dc22[_0x4f6174(0x262)]('');},'parse':function(_0x23e1ae){const _0x566212=_0x1bdcb7;for(var _0x54a3bc=_0x23e1ae['length'],_0x564256=[],_0x1ebcde=0x0;_0x1ebcde<_0x54a3bc;_0x1ebcde++)_0x564256[_0x1ebcde>>>0x2]|=(_0x23e1ae['charCodeAt'](_0x1ebcde)&0xff)<<0x18-_0x1ebcde%0x4*0x8;return new _0x5c66e5[(_0x566212(0x65f))](_0x564256,_0x54a3bc);}},_0x3aa8c2=_0x96e7ef[_0x1bdcb7(0x650)]={'stringify':function(_0x298808){const _0x5832a1=_0x1bdcb7;try{return decodeURIComponent(escape(_0x4ae181[_0x5832a1(0x637)](_0x298808)));}catch{throw new Error(_0x5832a1(0x1ec));}},'parse':function(_0x2ce757){const _0xdee347=_0x1bdcb7;return _0x4ae181[_0xdee347(0x5db)](unescape(encodeURIComponent(_0x2ce757)));}},_0x43aa14=_0x31fdf2[_0x1bdcb7(0x471)]=_0xa80152[_0x1bdcb7(0x27a)]({'reset':function(){const _0x1e97cd=_0x1bdcb7;this[_0x1e97cd(0x687)]=new _0x5c66e5[(_0x1e97cd(0x65f))](),this['_nDataBytes']=0x0;},'_append':function(_0x5c026d){const _0x92fe66=_0x1bdcb7;typeof _0x5c026d=='string'&&(_0x5c026d=_0x3aa8c2[_0x92fe66(0x5db)](_0x5c026d)),this[_0x92fe66(0x687)][_0x92fe66(0x505)](_0x5c026d),this[_0x92fe66(0x5c4)]+=_0x5c026d[_0x92fe66(0x415)];},'_process':function(_0x258e2d){const _0x5c6074=_0x1bdcb7;var _0xe93d8,_0x3a6fed=this[_0x5c6074(0x687)],_0x585364=_0x3a6fed[_0x5c6074(0x32b)],_0x43442b=_0x3a6fed['sigBytes'],_0x57c0fb=this[_0x5c6074(0x66b)],_0x569b6a=_0x57c0fb*0x4,_0x2d032a=_0x43442b/_0x569b6a;_0x258e2d?_0x2d032a=_0x249763[_0x5c6074(0x67c)](_0x2d032a):_0x2d032a=_0x249763[_0x5c6074(0x40d)]((_0x2d032a|0x0)-this[_0x5c6074(0x2b0)],0x0);var _0xa3a3fe=_0x2d032a*_0x57c0fb,_0x642b08=_0x249763[_0x5c6074(0x3cc)](_0xa3a3fe*0x4,_0x43442b);if(_0xa3a3fe){for(var _0x119917=0x0;_0x119917<_0xa3a3fe;_0x119917+=_0x57c0fb)this[_0x5c6074(0x216)](_0x585364,_0x119917);_0xe93d8=_0x585364[_0x5c6074(0x324)](0x0,_0xa3a3fe),_0x3a6fed['sigBytes']-=_0x642b08;}return new _0x5c66e5[(_0x5c6074(0x65f))](_0xe93d8,_0x642b08);},'clone':function(){const _0x55ad0d=_0x1bdcb7;var _0x5833f0=_0xa80152[_0x55ad0d(0x340)][_0x55ad0d(0x356)](this);return _0x5833f0[_0x55ad0d(0x687)]=this[_0x55ad0d(0x687)][_0x55ad0d(0x340)](),_0x5833f0;},'_minBufferSize':0x0});_0x31fdf2[_0x1bdcb7(0x28e)]=_0x43aa14[_0x1bdcb7(0x27a)]({'cfg':_0xa80152['extend'](),'init':function(_0x136937){const _0x16115a=_0x1bdcb7;this[_0x16115a(0x29f)]=this['cfg'][_0x16115a(0x27a)](_0x136937),this[_0x16115a(0x371)]();},'reset':function(){const _0xc9e305=_0x1bdcb7;_0x43aa14[_0xc9e305(0x371)][_0xc9e305(0x356)](this),this[_0xc9e305(0x5b4)]();},'update':function(_0x331d20){const _0x56ddba=_0x1bdcb7;return this['_append'](_0x331d20),this[_0x56ddba(0x423)](),this;},'finalize':function(_0x49d4f2){const _0x1bc515=_0x1bdcb7;_0x49d4f2&&this[_0x1bc515(0x282)](_0x49d4f2);var _0x1fb795=this[_0x1bc515(0x66a)]();return _0x1fb795;},'blockSize':0x10,'_createHelper':function(_0x137fc1){return function(_0x2fdc6c,_0x131ff4){const _0x528e82=_0xe699;return new _0x137fc1['init'](_0x131ff4)[_0x528e82(0x5cf)](_0x2fdc6c);};},'_createHmacHelper':function(_0x45caa4){return function(_0x31ac50,_0x1772f3){const _0x2abac8=_0xe699;return new _0x3815e4[(_0x2abac8(0x34e))][(_0x2abac8(0x65f))](_0x45caa4,_0x1772f3)[_0x2abac8(0x5cf)](_0x31ac50);};}});var _0x3815e4=_0x5db68d[_0x1bdcb7(0x474)]={};return _0x5db68d;}(Math);return _0x335431;}));}(ct)),ct[_0x117b56(0x514)];}var lt={'exports':{}},Gt;function Dn(){const _0x4080c7=_0x56d4b2;return Gt||(Gt=0x1,function(_0x38a8b2,_0x10b5f9){(function(_0x2cd8c8,_0x270c2c){_0x38a8b2['exports']=_0x270c2c(oe());}(J,function(_0x469295){const _0x35d09e=_0xe699;return(function(){const _0x18cdee=_0xe699;var _0x42e0fc=_0x469295,_0x3a8fa6=_0x42e0fc[_0x18cdee(0x62b)],_0xd6eba6=_0x3a8fa6['WordArray'],_0x5d130c=_0x42e0fc['enc'];_0x5d130c[_0x18cdee(0x1ee)]={'stringify':function(_0xbb845d){const _0x3dfa16=_0x18cdee;var _0x244a2d=_0xbb845d['words'],_0x3c69a7=_0xbb845d[_0x3dfa16(0x415)],_0x563077=this['_map'];_0xbb845d['clamp']();for(var _0x24c6d4=[],_0xd276c3=0x0;_0xd276c3<_0x3c69a7;_0xd276c3+=0x3)for(var _0x484bc5=_0x244a2d[_0xd276c3>>>0x2]>>>0x18-_0xd276c3%0x4*0x8&0xff,_0x25b564=_0x244a2d[_0xd276c3+0x1>>>0x2]>>>0x18-(_0xd276c3+0x1)%0x4*0x8&0xff,_0x143fb5=_0x244a2d[_0xd276c3+0x2>>>0x2]>>>0x18-(_0xd276c3+0x2)%0x4*0x8&0xff,_0x29a14b=_0x484bc5<<0x10|_0x25b564<<0x8|_0x143fb5,_0x41e95e=0x0;_0x41e95e<0x4&&_0xd276c3+_0x41e95e*0.75<_0x3c69a7;_0x41e95e++)_0x24c6d4[_0x3dfa16(0x322)](_0x563077[_0x3dfa16(0x5fe)](_0x29a14b>>>0x6*(0x3-_0x41e95e)&0x3f));var _0x540abb=_0x563077[_0x3dfa16(0x5fe)](0x40);if(_0x540abb){for(;_0x24c6d4[_0x3dfa16(0x543)]%0x4;)_0x24c6d4['push'](_0x540abb);}return _0x24c6d4[_0x3dfa16(0x262)]('');},'parse':function(_0x5da1e7){const _0xd87e30=_0x18cdee;var _0x11611e=_0x5da1e7['length'],_0x410304=this['_map'],_0x33d381=this[_0xd87e30(0x35f)];if(!_0x33d381){_0x33d381=this[_0xd87e30(0x35f)]=[];for(var _0x1dd6eb=0x0;_0x1dd6eb<_0x410304[_0xd87e30(0x543)];_0x1dd6eb++)_0x33d381[_0x410304[_0xd87e30(0x33d)](_0x1dd6eb)]=_0x1dd6eb;}var _0x1cb694=_0x410304[_0xd87e30(0x5fe)](0x40);if(_0x1cb694){var _0x444907=_0x5da1e7[_0xd87e30(0x2b3)](_0x1cb694);_0x444907!==-0x1&&(_0x11611e=_0x444907);}return _0x41a791(_0x5da1e7,_0x11611e,_0x33d381);},'_map':_0x18cdee(0x671)};function _0x41a791(_0x96f79e,_0x5705f7,_0x4c2f35){const _0x161080=_0x18cdee;for(var _0x40cbb2=[],_0x13b857=0x0,_0x3a70ef=0x0;_0x3a70ef<_0x5705f7;_0x3a70ef++)if(_0x3a70ef%0x4){var _0x5b0485=_0x4c2f35[_0x96f79e[_0x161080(0x33d)](_0x3a70ef-0x1)]<<_0x3a70ef%0x4*0x2,_0x4cbe66=_0x4c2f35[_0x96f79e['charCodeAt'](_0x3a70ef)]>>>0x6-_0x3a70ef%0x4*0x2,_0x3f66de=_0x5b0485|_0x4cbe66;_0x40cbb2[_0x13b857>>>0x2]|=_0x3f66de<<0x18-_0x13b857%0x4*0x8,_0x13b857++;}return _0xd6eba6['create'](_0x40cbb2,_0x13b857);}}()),_0x469295[_0x35d09e(0x400)][_0x35d09e(0x1ee)];}));}(lt)),lt[_0x4080c7(0x514)];}var ht={'exports':{}},Yt;function lr(){const _0xd44ace=_0x56d4b2;return Yt||(Yt=0x1,function(_0x226d0b,_0xa985e4){(function(_0x26c5b7,_0x23074d){const _0x536389=_0xe699;_0x226d0b[_0x536389(0x514)]=_0x23074d(oe());}(J,function(_0xac3d2d){const _0x2b9d79=_0xe699;return function(_0x387ef4){const _0x1782bf=_0xe699;var _0x258518=_0xac3d2d,_0x33f1b4=_0x258518[_0x1782bf(0x62b)],_0x3c7eef=_0x33f1b4['WordArray'],_0xea9321=_0x33f1b4[_0x1782bf(0x28e)],_0x580c11=_0x258518[_0x1782bf(0x474)],_0x185569=[];(function(){const _0x549478=_0x1782bf;for(var _0xc25d4c=0x0;_0xc25d4c<0x40;_0xc25d4c++)_0x185569[_0xc25d4c]=_0x387ef4[_0x549478(0x651)](_0x387ef4[_0x549478(0x1d8)](_0xc25d4c+0x1))*0x100000000|0x0;}());var _0x425314=_0x580c11[_0x1782bf(0x233)]=_0xea9321[_0x1782bf(0x27a)]({'_doReset':function(){const _0x38122d=_0x1782bf;this[_0x38122d(0x2ec)]=new _0x3c7eef[(_0x38122d(0x65f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x240ca7,_0x4c0fdc){const _0x7cd48=_0x1782bf;for(var _0x2fee39=0x0;_0x2fee39<0x10;_0x2fee39++){var _0x21d07b=_0x4c0fdc+_0x2fee39,_0x57b88a=_0x240ca7[_0x21d07b];_0x240ca7[_0x21d07b]=(_0x57b88a<<0x8|_0x57b88a>>>0x18)&0xff00ff|(_0x57b88a<<0x18|_0x57b88a>>>0x8)&0xff00ff00;}var _0x4ef508=this[_0x7cd48(0x2ec)][_0x7cd48(0x32b)],_0x5af056=_0x240ca7[_0x4c0fdc+0x0],_0x93b24e=_0x240ca7[_0x4c0fdc+0x1],_0x46ab39=_0x240ca7[_0x4c0fdc+0x2],_0x1fe556=_0x240ca7[_0x4c0fdc+0x3],_0x1553f5=_0x240ca7[_0x4c0fdc+0x4],_0x34398b=_0x240ca7[_0x4c0fdc+0x5],_0x1832dc=_0x240ca7[_0x4c0fdc+0x6],_0x5c808a=_0x240ca7[_0x4c0fdc+0x7],_0x3c0468=_0x240ca7[_0x4c0fdc+0x8],_0xdddd43=_0x240ca7[_0x4c0fdc+0x9],_0xbda194=_0x240ca7[_0x4c0fdc+0xa],_0x1d0306=_0x240ca7[_0x4c0fdc+0xb],_0x3b7142=_0x240ca7[_0x4c0fdc+0xc],_0x122f10=_0x240ca7[_0x4c0fdc+0xd],_0x3866ed=_0x240ca7[_0x4c0fdc+0xe],_0x5b46ec=_0x240ca7[_0x4c0fdc+0xf],_0x30bbb5=_0x4ef508[0x0],_0x5f15ca=_0x4ef508[0x1],_0x17cb7f=_0x4ef508[0x2],_0x269ee7=_0x4ef508[0x3];_0x30bbb5=_0x40ed7b(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x5af056,0x7,_0x185569[0x0]),_0x269ee7=_0x40ed7b(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x93b24e,0xc,_0x185569[0x1]),_0x17cb7f=_0x40ed7b(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x46ab39,0x11,_0x185569[0x2]),_0x5f15ca=_0x40ed7b(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x1fe556,0x16,_0x185569[0x3]),_0x30bbb5=_0x40ed7b(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x1553f5,0x7,_0x185569[0x4]),_0x269ee7=_0x40ed7b(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x34398b,0xc,_0x185569[0x5]),_0x17cb7f=_0x40ed7b(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x1832dc,0x11,_0x185569[0x6]),_0x5f15ca=_0x40ed7b(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5c808a,0x16,_0x185569[0x7]),_0x30bbb5=_0x40ed7b(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x3c0468,0x7,_0x185569[0x8]),_0x269ee7=_0x40ed7b(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0xdddd43,0xc,_0x185569[0x9]),_0x17cb7f=_0x40ed7b(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0xbda194,0x11,_0x185569[0xa]),_0x5f15ca=_0x40ed7b(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x1d0306,0x16,_0x185569[0xb]),_0x30bbb5=_0x40ed7b(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x3b7142,0x7,_0x185569[0xc]),_0x269ee7=_0x40ed7b(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x122f10,0xc,_0x185569[0xd]),_0x17cb7f=_0x40ed7b(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x3866ed,0x11,_0x185569[0xe]),_0x5f15ca=_0x40ed7b(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5b46ec,0x16,_0x185569[0xf]),_0x30bbb5=_0x4e1648(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x93b24e,0x5,_0x185569[0x10]),_0x269ee7=_0x4e1648(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x1832dc,0x9,_0x185569[0x11]),_0x17cb7f=_0x4e1648(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x1d0306,0xe,_0x185569[0x12]),_0x5f15ca=_0x4e1648(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5af056,0x14,_0x185569[0x13]),_0x30bbb5=_0x4e1648(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x34398b,0x5,_0x185569[0x14]),_0x269ee7=_0x4e1648(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0xbda194,0x9,_0x185569[0x15]),_0x17cb7f=_0x4e1648(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x5b46ec,0xe,_0x185569[0x16]),_0x5f15ca=_0x4e1648(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x1553f5,0x14,_0x185569[0x17]),_0x30bbb5=_0x4e1648(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0xdddd43,0x5,_0x185569[0x18]),_0x269ee7=_0x4e1648(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x3866ed,0x9,_0x185569[0x19]),_0x17cb7f=_0x4e1648(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x1fe556,0xe,_0x185569[0x1a]),_0x5f15ca=_0x4e1648(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x3c0468,0x14,_0x185569[0x1b]),_0x30bbb5=_0x4e1648(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x122f10,0x5,_0x185569[0x1c]),_0x269ee7=_0x4e1648(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x46ab39,0x9,_0x185569[0x1d]),_0x17cb7f=_0x4e1648(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x5c808a,0xe,_0x185569[0x1e]),_0x5f15ca=_0x4e1648(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x3b7142,0x14,_0x185569[0x1f]),_0x30bbb5=_0x57f280(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x34398b,0x4,_0x185569[0x20]),_0x269ee7=_0x57f280(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x3c0468,0xb,_0x185569[0x21]),_0x17cb7f=_0x57f280(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x1d0306,0x10,_0x185569[0x22]),_0x5f15ca=_0x57f280(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x3866ed,0x17,_0x185569[0x23]),_0x30bbb5=_0x57f280(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x93b24e,0x4,_0x185569[0x24]),_0x269ee7=_0x57f280(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x1553f5,0xb,_0x185569[0x25]),_0x17cb7f=_0x57f280(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x5c808a,0x10,_0x185569[0x26]),_0x5f15ca=_0x57f280(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0xbda194,0x17,_0x185569[0x27]),_0x30bbb5=_0x57f280(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x122f10,0x4,_0x185569[0x28]),_0x269ee7=_0x57f280(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x5af056,0xb,_0x185569[0x29]),_0x17cb7f=_0x57f280(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x1fe556,0x10,_0x185569[0x2a]),_0x5f15ca=_0x57f280(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x1832dc,0x17,_0x185569[0x2b]),_0x30bbb5=_0x57f280(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0xdddd43,0x4,_0x185569[0x2c]),_0x269ee7=_0x57f280(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x3b7142,0xb,_0x185569[0x2d]),_0x17cb7f=_0x57f280(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x5b46ec,0x10,_0x185569[0x2e]),_0x5f15ca=_0x57f280(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x46ab39,0x17,_0x185569[0x2f]),_0x30bbb5=_0xd2a936(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x5af056,0x6,_0x185569[0x30]),_0x269ee7=_0xd2a936(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x5c808a,0xa,_0x185569[0x31]),_0x17cb7f=_0xd2a936(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x3866ed,0xf,_0x185569[0x32]),_0x5f15ca=_0xd2a936(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x34398b,0x15,_0x185569[0x33]),_0x30bbb5=_0xd2a936(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x3b7142,0x6,_0x185569[0x34]),_0x269ee7=_0xd2a936(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x1fe556,0xa,_0x185569[0x35]),_0x17cb7f=_0xd2a936(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0xbda194,0xf,_0x185569[0x36]),_0x5f15ca=_0xd2a936(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x93b24e,0x15,_0x185569[0x37]),_0x30bbb5=_0xd2a936(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x3c0468,0x6,_0x185569[0x38]),_0x269ee7=_0xd2a936(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x5b46ec,0xa,_0x185569[0x39]),_0x17cb7f=_0xd2a936(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x1832dc,0xf,_0x185569[0x3a]),_0x5f15ca=_0xd2a936(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0x122f10,0x15,_0x185569[0x3b]),_0x30bbb5=_0xd2a936(_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x269ee7,_0x1553f5,0x6,_0x185569[0x3c]),_0x269ee7=_0xd2a936(_0x269ee7,_0x30bbb5,_0x5f15ca,_0x17cb7f,_0x1d0306,0xa,_0x185569[0x3d]),_0x17cb7f=_0xd2a936(_0x17cb7f,_0x269ee7,_0x30bbb5,_0x5f15ca,_0x46ab39,0xf,_0x185569[0x3e]),_0x5f15ca=_0xd2a936(_0x5f15ca,_0x17cb7f,_0x269ee7,_0x30bbb5,_0xdddd43,0x15,_0x185569[0x3f]),_0x4ef508[0x0]=_0x4ef508[0x0]+_0x30bbb5|0x0,_0x4ef508[0x1]=_0x4ef508[0x1]+_0x5f15ca|0x0,_0x4ef508[0x2]=_0x4ef508[0x2]+_0x17cb7f|0x0,_0x4ef508[0x3]=_0x4ef508[0x3]+_0x269ee7|0x0;},'_doFinalize':function(){const _0x5ba751=_0x1782bf;var _0x19d03a=this['_data'],_0x1f931d=_0x19d03a['words'],_0x335abe=this[_0x5ba751(0x5c4)]*0x8,_0x407de=_0x19d03a[_0x5ba751(0x415)]*0x8;_0x1f931d[_0x407de>>>0x5]|=0x80<<0x18-_0x407de%0x20;var _0x46974a=_0x387ef4[_0x5ba751(0x5df)](_0x335abe/0x100000000),_0x1da072=_0x335abe;_0x1f931d[(_0x407de+0x40>>>0x9<<0x4)+0xf]=(_0x46974a<<0x8|_0x46974a>>>0x18)&0xff00ff|(_0x46974a<<0x18|_0x46974a>>>0x8)&0xff00ff00,_0x1f931d[(_0x407de+0x40>>>0x9<<0x4)+0xe]=(_0x1da072<<0x8|_0x1da072>>>0x18)&0xff00ff|(_0x1da072<<0x18|_0x1da072>>>0x8)&0xff00ff00,_0x19d03a[_0x5ba751(0x415)]=(_0x1f931d[_0x5ba751(0x543)]+0x1)*0x4,this['_process']();for(var _0x4ba4d3=this[_0x5ba751(0x2ec)],_0x4b93b2=_0x4ba4d3[_0x5ba751(0x32b)],_0xa57ef=0x0;_0xa57ef<0x4;_0xa57ef++){var _0x1189d2=_0x4b93b2[_0xa57ef];_0x4b93b2[_0xa57ef]=(_0x1189d2<<0x8|_0x1189d2>>>0x18)&0xff00ff|(_0x1189d2<<0x18|_0x1189d2>>>0x8)&0xff00ff00;}return _0x4ba4d3;},'clone':function(){const _0x1d8a5a=_0x1782bf;var _0x567484=_0xea9321[_0x1d8a5a(0x340)]['call'](this);return _0x567484[_0x1d8a5a(0x2ec)]=this[_0x1d8a5a(0x2ec)][_0x1d8a5a(0x340)](),_0x567484;}});function _0x40ed7b(_0x4a5ed5,_0x70864f,_0x3e092d,_0x540da5,_0x1326b2,_0x1d6971,_0xb54f00){var _0x55b7e5=_0x4a5ed5+(_0x70864f&_0x3e092d|~_0x70864f&_0x540da5)+_0x1326b2+_0xb54f00;return(_0x55b7e5<<_0x1d6971|_0x55b7e5>>>0x20-_0x1d6971)+_0x70864f;}function _0x4e1648(_0x28f9e2,_0x377666,_0x4503bb,_0x3998b7,_0x2caf79,_0x1b1b40,_0x388d25){var _0x4a44a4=_0x28f9e2+(_0x377666&_0x3998b7|_0x4503bb&~_0x3998b7)+_0x2caf79+_0x388d25;return(_0x4a44a4<<_0x1b1b40|_0x4a44a4>>>0x20-_0x1b1b40)+_0x377666;}function _0x57f280(_0x468b09,_0x14b47b,_0x21afb7,_0x3f53a7,_0x5d1e50,_0x28b8d4,_0xaf3552){var _0x2ee163=_0x468b09+(_0x14b47b^_0x21afb7^_0x3f53a7)+_0x5d1e50+_0xaf3552;return(_0x2ee163<<_0x28b8d4|_0x2ee163>>>0x20-_0x28b8d4)+_0x14b47b;}function _0xd2a936(_0x215352,_0x5b9c9d,_0x1128c1,_0x260305,_0xd6baea,_0x1df385,_0x4c6484){var _0xc542cd=_0x215352+(_0x1128c1^(_0x5b9c9d|~_0x260305))+_0xd6baea+_0x4c6484;return(_0xc542cd<<_0x1df385|_0xc542cd>>>0x20-_0x1df385)+_0x5b9c9d;}_0x258518['MD5']=_0xea9321['_createHelper'](_0x425314),_0x258518[_0x1782bf(0x672)]=_0xea9321['_createHmacHelper'](_0x425314);}(Math),_0xac3d2d[_0x2b9d79(0x233)];}));}(ht)),ht[_0xd44ace(0x514)];}var _t={'exports':{}},ut={'exports':{}},Kt;function hr(){const _0x30ade4=_0x56d4b2;return Kt||(Kt=0x1,function(_0x2792dd,_0x395906){(function(_0x206fc4,_0x1504e9){const _0x582342=_0xe699;_0x2792dd[_0x582342(0x514)]=_0x1504e9(oe());}(J,function(_0x52a6d8){const _0x4879de=_0xe699;return(function(){const _0x1088bc=_0xe699;var _0x795eff=_0x52a6d8,_0x559da6=_0x795eff[_0x1088bc(0x62b)],_0x3b1645=_0x559da6[_0x1088bc(0x2c1)],_0x3aa091=_0x559da6[_0x1088bc(0x28e)],_0x36bebb=_0x795eff['algo'],_0x94a8e=[],_0x533348=_0x36bebb[_0x1088bc(0x5bd)]=_0x3aa091[_0x1088bc(0x27a)]({'_doReset':function(){const _0x16217b=_0x1088bc;this[_0x16217b(0x2ec)]=new _0x3b1645[(_0x16217b(0x65f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3f7c2e,_0x2f7085){const _0xfed678=_0x1088bc;for(var _0x587d1d=this[_0xfed678(0x2ec)][_0xfed678(0x32b)],_0x3297d7=_0x587d1d[0x0],_0x196f7d=_0x587d1d[0x1],_0x4b6d1b=_0x587d1d[0x2],_0x3383b6=_0x587d1d[0x3],_0x220424=_0x587d1d[0x4],_0xa509ec=0x0;_0xa509ec<0x50;_0xa509ec++){if(_0xa509ec<0x10)_0x94a8e[_0xa509ec]=_0x3f7c2e[_0x2f7085+_0xa509ec]|0x0;else{var _0x7d6d44=_0x94a8e[_0xa509ec-0x3]^_0x94a8e[_0xa509ec-0x8]^_0x94a8e[_0xa509ec-0xe]^_0x94a8e[_0xa509ec-0x10];_0x94a8e[_0xa509ec]=_0x7d6d44<<0x1|_0x7d6d44>>>0x1f;}var _0x43ba84=(_0x3297d7<<0x5|_0x3297d7>>>0x1b)+_0x220424+_0x94a8e[_0xa509ec];_0xa509ec<0x14?_0x43ba84+=(_0x196f7d&_0x4b6d1b|~_0x196f7d&_0x3383b6)+0x5a827999:_0xa509ec<0x28?_0x43ba84+=(_0x196f7d^_0x4b6d1b^_0x3383b6)+0x6ed9eba1:_0xa509ec<0x3c?_0x43ba84+=(_0x196f7d&_0x4b6d1b|_0x196f7d&_0x3383b6|_0x4b6d1b&_0x3383b6)-0x70e44324:_0x43ba84+=(_0x196f7d^_0x4b6d1b^_0x3383b6)-0x359d3e2a,_0x220424=_0x3383b6,_0x3383b6=_0x4b6d1b,_0x4b6d1b=_0x196f7d<<0x1e|_0x196f7d>>>0x2,_0x196f7d=_0x3297d7,_0x3297d7=_0x43ba84;}_0x587d1d[0x0]=_0x587d1d[0x0]+_0x3297d7|0x0,_0x587d1d[0x1]=_0x587d1d[0x1]+_0x196f7d|0x0,_0x587d1d[0x2]=_0x587d1d[0x2]+_0x4b6d1b|0x0,_0x587d1d[0x3]=_0x587d1d[0x3]+_0x3383b6|0x0,_0x587d1d[0x4]=_0x587d1d[0x4]+_0x220424|0x0;},'_doFinalize':function(){const _0x4b7d1e=_0x1088bc;var _0x3e35c5=this[_0x4b7d1e(0x687)],_0x2d467c=_0x3e35c5[_0x4b7d1e(0x32b)],_0x1aa703=this[_0x4b7d1e(0x5c4)]*0x8,_0x38875f=_0x3e35c5[_0x4b7d1e(0x415)]*0x8;return _0x2d467c[_0x38875f>>>0x5]|=0x80<<0x18-_0x38875f%0x20,_0x2d467c[(_0x38875f+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x1aa703/0x100000000),_0x2d467c[(_0x38875f+0x40>>>0x9<<0x4)+0xf]=_0x1aa703,_0x3e35c5[_0x4b7d1e(0x415)]=_0x2d467c[_0x4b7d1e(0x543)]*0x4,this[_0x4b7d1e(0x423)](),this[_0x4b7d1e(0x2ec)];},'clone':function(){const _0x290a8e=_0x1088bc;var _0x123508=_0x3aa091[_0x290a8e(0x340)][_0x290a8e(0x356)](this);return _0x123508[_0x290a8e(0x2ec)]=this[_0x290a8e(0x2ec)][_0x290a8e(0x340)](),_0x123508;}});_0x795eff[_0x1088bc(0x5bd)]=_0x3aa091[_0x1088bc(0x252)](_0x533348),_0x795eff[_0x1088bc(0x4c4)]=_0x3aa091[_0x1088bc(0x4fa)](_0x533348);}()),_0x52a6d8[_0x4879de(0x5bd)];}));}(ut)),ut[_0x30ade4(0x514)];}var dt={'exports':{}},qt;function _r(){const _0x157cac=_0x56d4b2;return qt||(qt=0x1,function(_0x4e82ef,_0x412cc3){(function(_0x4834af,_0x237b8b){_0x4e82ef['exports']=_0x237b8b(oe());}(J,function(_0x598380){(function(){const _0x30e1f6=_0xe699;var _0x25b9ec=_0x598380,_0x405fa7=_0x25b9ec[_0x30e1f6(0x62b)],_0x1d3707=_0x405fa7['Base'],_0x5bac5c=_0x25b9ec[_0x30e1f6(0x400)],_0x23ee45=_0x5bac5c[_0x30e1f6(0x650)],_0x1f3dac=_0x25b9ec[_0x30e1f6(0x474)];_0x1f3dac[_0x30e1f6(0x34e)]=_0x1d3707[_0x30e1f6(0x27a)]({'init':function(_0xc97d92,_0x225646){const _0x303d68=_0x30e1f6;_0xc97d92=this['_hasher']=new _0xc97d92[(_0x303d68(0x65f))](),typeof _0x225646==_0x303d68(0x5e7)&&(_0x225646=_0x23ee45[_0x303d68(0x5db)](_0x225646));var _0x4b8f13=_0xc97d92[_0x303d68(0x66b)],_0x112385=_0x4b8f13*0x4;_0x225646[_0x303d68(0x415)]>_0x112385&&(_0x225646=_0xc97d92[_0x303d68(0x5cf)](_0x225646)),_0x225646[_0x303d68(0x504)]();for(var _0x1603e7=this['_oKey']=_0x225646[_0x303d68(0x340)](),_0x5174c5=this['_iKey']=_0x225646['clone'](),_0x1fe47a=_0x1603e7['words'],_0x10ee64=_0x5174c5[_0x303d68(0x32b)],_0x55025d=0x0;_0x55025d<_0x4b8f13;_0x55025d++)_0x1fe47a[_0x55025d]^=0x5c5c5c5c,_0x10ee64[_0x55025d]^=0x36363636;_0x1603e7['sigBytes']=_0x5174c5[_0x303d68(0x415)]=_0x112385,this['reset']();},'reset':function(){const _0x5b072b=_0x30e1f6;var _0x291c5f=this[_0x5b072b(0x42f)];_0x291c5f[_0x5b072b(0x371)](),_0x291c5f[_0x5b072b(0x3c7)](this[_0x5b072b(0x1ce)]);},'update':function(_0x5db26c){const _0x43dbba=_0x30e1f6;return this[_0x43dbba(0x42f)][_0x43dbba(0x3c7)](_0x5db26c),this;},'finalize':function(_0x5f5410){const _0x459c9f=_0x30e1f6;var _0x12e606=this['_hasher'],_0x29394a=_0x12e606[_0x459c9f(0x5cf)](_0x5f5410);_0x12e606[_0x459c9f(0x371)]();var _0x4ea89d=_0x12e606[_0x459c9f(0x5cf)](this[_0x459c9f(0x674)][_0x459c9f(0x340)]()[_0x459c9f(0x505)](_0x29394a));return _0x4ea89d;}});}());}));}(dt)),dt[_0x157cac(0x514)];}var zt;function Pn(){return zt||(zt=0x1,function(_0x482fef,_0x2ee4ac){(function(_0x8bb246,_0x59da14,_0x5ddae8){const _0x49e0bc=_0xe699;_0x482fef[_0x49e0bc(0x514)]=_0x59da14(oe(),hr(),_r());}(J,function(_0x17d3c3){const _0x3a2d94=_0xe699;return(function(){const _0x364a4c=_0xe699;var _0x4c8157=_0x17d3c3,_0x24db0a=_0x4c8157[_0x364a4c(0x62b)],_0x278007=_0x24db0a['Base'],_0x4d6590=_0x24db0a[_0x364a4c(0x2c1)],_0x2c634f=_0x4c8157['algo'],_0x344f78=_0x2c634f[_0x364a4c(0x233)],_0x1ba00a=_0x2c634f[_0x364a4c(0x643)]=_0x278007['extend']({'cfg':_0x278007[_0x364a4c(0x27a)]({'keySize':0x80/0x20,'hasher':_0x344f78,'iterations':0x1}),'init':function(_0x2eff6f){const _0x430d0d=_0x364a4c;this[_0x430d0d(0x29f)]=this['cfg'][_0x430d0d(0x27a)](_0x2eff6f);},'compute':function(_0x5bfbe0,_0x20c9f2){const _0x11bcd9=_0x364a4c;for(var _0x143e37,_0xfb2377=this[_0x11bcd9(0x29f)],_0x5ddf6a=_0xfb2377['hasher'][_0x11bcd9(0x228)](),_0x18d3d9=_0x4d6590['create'](),_0x4d2828=_0x18d3d9[_0x11bcd9(0x32b)],_0x5b06e8=_0xfb2377[_0x11bcd9(0x614)],_0x56c7cb=_0xfb2377[_0x11bcd9(0x2d5)];_0x4d2828['length']<_0x5b06e8;){_0x143e37&&_0x5ddf6a['update'](_0x143e37),_0x143e37=_0x5ddf6a[_0x11bcd9(0x3c7)](_0x5bfbe0)['finalize'](_0x20c9f2),_0x5ddf6a[_0x11bcd9(0x371)]();for(var _0x12a208=0x1;_0x12a208<_0x56c7cb;_0x12a208++)_0x143e37=_0x5ddf6a[_0x11bcd9(0x5cf)](_0x143e37),_0x5ddf6a['reset']();_0x18d3d9[_0x11bcd9(0x505)](_0x143e37);}return _0x18d3d9[_0x11bcd9(0x415)]=_0x5b06e8*0x4,_0x18d3d9;}});_0x4c8157[_0x364a4c(0x643)]=function(_0x2e85b8,_0x282f5c,_0x3132c7){const _0x4cea1d=_0x364a4c;return _0x1ba00a[_0x4cea1d(0x228)](_0x3132c7)[_0x4cea1d(0x47a)](_0x2e85b8,_0x282f5c);};}()),_0x17d3c3[_0x3a2d94(0x643)];}));}(_t)),_t['exports'];}var ft={'exports':{}},Xt;function wn(){const _0x43efb2=_0x56d4b2;return Xt||(Xt=0x1,function(_0x2525b8,_0x4c6252){(function(_0x563b6f,_0x1ff574,_0x27d16e){const _0x31fb88=_0xe699;_0x2525b8[_0x31fb88(0x514)]=_0x1ff574(oe(),Pn());}(J,function(_0x9c30f){const _0x21c90f=_0xe699;_0x9c30f[_0x21c90f(0x62b)][_0x21c90f(0x2da)]||function(_0x45e03d){const _0x1797b0=_0x21c90f;var _0x246600=_0x9c30f,_0x356653=_0x246600[_0x1797b0(0x62b)],_0x536719=_0x356653[_0x1797b0(0x432)],_0x367109=_0x356653['WordArray'],_0x29a040=_0x356653['BufferedBlockAlgorithm'],_0x5da891=_0x246600[_0x1797b0(0x400)];_0x5da891[_0x1797b0(0x650)];var _0x2d1121=_0x5da891['Base64'],_0x2e5660=_0x246600['algo'],_0xac688d=_0x2e5660['EvpKDF'],_0x246b2b=_0x356653[_0x1797b0(0x2da)]=_0x29a040[_0x1797b0(0x27a)]({'cfg':_0x536719[_0x1797b0(0x27a)](),'createEncryptor':function(_0x47a69e,_0x46c036){const _0x4518bb=_0x1797b0;return this[_0x4518bb(0x228)](this[_0x4518bb(0x39a)],_0x47a69e,_0x46c036);},'createDecryptor':function(_0x121607,_0x4bc420){const _0x1436d5=_0x1797b0;return this[_0x1436d5(0x228)](this['_DEC_XFORM_MODE'],_0x121607,_0x4bc420);},'init':function(_0x1ac1a2,_0x486528,_0x51d902){const _0x559646=_0x1797b0;this[_0x559646(0x29f)]=this[_0x559646(0x29f)]['extend'](_0x51d902),this[_0x559646(0x39f)]=_0x1ac1a2,this['_key']=_0x486528,this[_0x559646(0x371)]();},'reset':function(){const _0x393c46=_0x1797b0;_0x29a040[_0x393c46(0x371)][_0x393c46(0x356)](this),this[_0x393c46(0x5b4)]();},'process':function(_0x4bb0d5){const _0x1a1326=_0x1797b0;return this[_0x1a1326(0x282)](_0x4bb0d5),this['_process']();},'finalize':function(_0x11a8df){const _0x2f8521=_0x1797b0;_0x11a8df&&this[_0x2f8521(0x282)](_0x11a8df);var _0x44391f=this[_0x2f8521(0x66a)]();return _0x44391f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4a81db(_0x32d737){const _0x4d55b8=_0xe699;return typeof _0x32d737==_0x4d55b8(0x5e7)?_0x41ee2c:_0xe029d6;}return function(_0x527d46){return{'encrypt':function(_0x1c610c,_0x1c9663,_0x44ef6d){return _0x4a81db(_0x1c9663)['encrypt'](_0x527d46,_0x1c610c,_0x1c9663,_0x44ef6d);},'decrypt':function(_0x24aa52,_0x6e25b9,_0x4a6306){const _0x5c531d=_0xe699;return _0x4a81db(_0x6e25b9)[_0x5c531d(0x2f2)](_0x527d46,_0x24aa52,_0x6e25b9,_0x4a6306);}};};}())});_0x356653['StreamCipher']=_0x246b2b[_0x1797b0(0x27a)]({'_doFinalize':function(){var _0x2d8b20=this['_process'](!0x0);return _0x2d8b20;},'blockSize':0x1});var _0x3f1610=_0x246600[_0x1797b0(0x28b)]={},_0x27ab66=_0x356653['BlockCipherMode']=_0x536719['extend']({'createEncryptor':function(_0x5c046e,_0x429baf){const _0x9aa471=_0x1797b0;return this[_0x9aa471(0x2e8)][_0x9aa471(0x228)](_0x5c046e,_0x429baf);},'createDecryptor':function(_0x8e846b,_0x3063fe){const _0x316856=_0x1797b0;return this[_0x316856(0x5ea)]['create'](_0x8e846b,_0x3063fe);},'init':function(_0x3f0942,_0x570bb0){const _0x28c1ef=_0x1797b0;this[_0x28c1ef(0x677)]=_0x3f0942,this[_0x28c1ef(0x61f)]=_0x570bb0;}}),_0x56de7c=_0x3f1610['CBC']=(function(){const _0x472007=_0x1797b0;var _0x412ab9=_0x27ab66['extend']();_0x412ab9[_0x472007(0x2e8)]=_0x412ab9[_0x472007(0x27a)]({'processBlock':function(_0x25ee34,_0x51a004){const _0x13ba29=_0x472007;var _0x1b9f3e=this[_0x13ba29(0x677)],_0x3a75a9=_0x1b9f3e[_0x13ba29(0x66b)];_0x77ea72[_0x13ba29(0x356)](this,_0x25ee34,_0x51a004,_0x3a75a9),_0x1b9f3e['encryptBlock'](_0x25ee34,_0x51a004),this[_0x13ba29(0x67b)]=_0x25ee34[_0x13ba29(0x2a4)](_0x51a004,_0x51a004+_0x3a75a9);}}),_0x412ab9[_0x472007(0x5ea)]=_0x412ab9['extend']({'processBlock':function(_0x35d21f,_0x1bd487){const _0x2cd55a=_0x472007;var _0x485fa2=this[_0x2cd55a(0x677)],_0x389b4e=_0x485fa2[_0x2cd55a(0x66b)],_0x6c5250=_0x35d21f['slice'](_0x1bd487,_0x1bd487+_0x389b4e);_0x485fa2[_0x2cd55a(0x450)](_0x35d21f,_0x1bd487),_0x77ea72['call'](this,_0x35d21f,_0x1bd487,_0x389b4e),this[_0x2cd55a(0x67b)]=_0x6c5250;}});function _0x77ea72(_0x5ea761,_0x12a0b9,_0x1a1f84){const _0x5c883f=_0x472007;var _0x5d7667,_0x5a6d58=this[_0x5c883f(0x61f)];_0x5a6d58?(_0x5d7667=_0x5a6d58,this[_0x5c883f(0x61f)]=_0x45e03d):_0x5d7667=this['_prevBlock'];for(var _0x33cb48=0x0;_0x33cb48<_0x1a1f84;_0x33cb48++)_0x5ea761[_0x12a0b9+_0x33cb48]^=_0x5d7667[_0x33cb48];}return _0x412ab9;}()),_0x2f7ba0=_0x246600[_0x1797b0(0x4cc)]={},_0x8d760a=_0x2f7ba0[_0x1797b0(0x512)]={'pad':function(_0x273946,_0x365b2c){const _0x443a51=_0x1797b0;for(var _0x22768f=_0x365b2c*0x4,_0x57a5a4=_0x22768f-_0x273946[_0x443a51(0x415)]%_0x22768f,_0x58414a=_0x57a5a4<<0x18|_0x57a5a4<<0x10|_0x57a5a4<<0x8|_0x57a5a4,_0x36d943=[],_0x21f0b6=0x0;_0x21f0b6<_0x57a5a4;_0x21f0b6+=0x4)_0x36d943['push'](_0x58414a);var _0x3eaa7b=_0x367109[_0x443a51(0x228)](_0x36d943,_0x57a5a4);_0x273946[_0x443a51(0x505)](_0x3eaa7b);},'unpad':function(_0x1c28bd){const _0x548a9b=_0x1797b0;var _0x57ce64=_0x1c28bd[_0x548a9b(0x32b)][_0x1c28bd[_0x548a9b(0x415)]-0x1>>>0x2]&0xff;_0x1c28bd[_0x548a9b(0x415)]-=_0x57ce64;}};_0x356653[_0x1797b0(0x285)]=_0x246b2b[_0x1797b0(0x27a)]({'cfg':_0x246b2b[_0x1797b0(0x29f)][_0x1797b0(0x27a)]({'mode':_0x56de7c,'padding':_0x8d760a}),'reset':function(){const _0x4e4dfc=_0x1797b0;var _0x498bcc;_0x246b2b[_0x4e4dfc(0x371)]['call'](this);var _0x54aaf2=this[_0x4e4dfc(0x29f)],_0x2b66ab=_0x54aaf2['iv'],_0x507fab=_0x54aaf2[_0x4e4dfc(0x28b)];this[_0x4e4dfc(0x39f)]==this[_0x4e4dfc(0x39a)]?_0x498bcc=_0x507fab[_0x4e4dfc(0x62d)]:(_0x498bcc=_0x507fab['createDecryptor'],this[_0x4e4dfc(0x2b0)]=0x1),this[_0x4e4dfc(0x391)]&&this[_0x4e4dfc(0x391)]['__creator']==_0x498bcc?this[_0x4e4dfc(0x391)][_0x4e4dfc(0x65f)](this,_0x2b66ab&&_0x2b66ab[_0x4e4dfc(0x32b)]):(this[_0x4e4dfc(0x391)]=_0x498bcc[_0x4e4dfc(0x356)](_0x507fab,this,_0x2b66ab&&_0x2b66ab[_0x4e4dfc(0x32b)]),this[_0x4e4dfc(0x391)][_0x4e4dfc(0x278)]=_0x498bcc);},'_doProcessBlock':function(_0x39ae97,_0xa70d6){const _0x5b011d=_0x1797b0;this[_0x5b011d(0x391)]['processBlock'](_0x39ae97,_0xa70d6);},'_doFinalize':function(){const _0x2dfcea=_0x1797b0;var _0x4d9310,_0xcaab1c=this[_0x2dfcea(0x29f)][_0x2dfcea(0x46a)];return this[_0x2dfcea(0x39f)]==this[_0x2dfcea(0x39a)]?(_0xcaab1c[_0x2dfcea(0x4cc)](this[_0x2dfcea(0x687)],this[_0x2dfcea(0x66b)]),_0x4d9310=this[_0x2dfcea(0x423)](!0x0)):(_0x4d9310=this[_0x2dfcea(0x423)](!0x0),_0xcaab1c[_0x2dfcea(0x297)](_0x4d9310)),_0x4d9310;},'blockSize':0x80/0x20});var _0x480c85=_0x356653[_0x1797b0(0x375)]=_0x536719[_0x1797b0(0x27a)]({'init':function(_0x5127a4){const _0x78824f=_0x1797b0;this[_0x78824f(0x3cf)](_0x5127a4);},'toString':function(_0xb86ae4){const _0x273cc8=_0x1797b0;return(_0xb86ae4||this[_0x273cc8(0x403)])[_0x273cc8(0x637)](this);}}),_0x325955=_0x246600[_0x1797b0(0x428)]={},_0x226f85=_0x325955[_0x1797b0(0x3e2)]={'stringify':function(_0x3feac4){const _0x3dc2eb=_0x1797b0;var _0x5238d4,_0x172a7a=_0x3feac4[_0x3dc2eb(0x289)],_0x361da3=_0x3feac4[_0x3dc2eb(0x50c)];return _0x361da3?_0x5238d4=_0x367109['create']([0x53616c74,0x65645f5f])[_0x3dc2eb(0x505)](_0x361da3)['concat'](_0x172a7a):_0x5238d4=_0x172a7a,_0x5238d4[_0x3dc2eb(0x63c)](_0x2d1121);},'parse':function(_0x4ad74c){const _0xd3633f=_0x1797b0;var _0x1a7ece,_0x52f01e=_0x2d1121['parse'](_0x4ad74c),_0xe793e1=_0x52f01e[_0xd3633f(0x32b)];return _0xe793e1[0x0]==0x53616c74&&_0xe793e1[0x1]==0x65645f5f&&(_0x1a7ece=_0x367109['create'](_0xe793e1[_0xd3633f(0x2a4)](0x2,0x4)),_0xe793e1[_0xd3633f(0x324)](0x0,0x4),_0x52f01e[_0xd3633f(0x415)]-=0x10),_0x480c85[_0xd3633f(0x228)]({'ciphertext':_0x52f01e,'salt':_0x1a7ece});}},_0xe029d6=_0x356653[_0x1797b0(0x65a)]=_0x536719[_0x1797b0(0x27a)]({'cfg':_0x536719[_0x1797b0(0x27a)]({'format':_0x226f85}),'encrypt':function(_0x1db9bd,_0x25576a,_0x4faed3,_0x5873c1){const _0x148416=_0x1797b0;_0x5873c1=this[_0x148416(0x29f)][_0x148416(0x27a)](_0x5873c1);var _0x4a76b4=_0x1db9bd[_0x148416(0x62d)](_0x4faed3,_0x5873c1),_0x51d598=_0x4a76b4[_0x148416(0x5cf)](_0x25576a),_0x44e5f2=_0x4a76b4[_0x148416(0x29f)];return _0x480c85[_0x148416(0x228)]({'ciphertext':_0x51d598,'key':_0x4faed3,'iv':_0x44e5f2['iv'],'algorithm':_0x1db9bd,'mode':_0x44e5f2[_0x148416(0x28b)],'padding':_0x44e5f2[_0x148416(0x46a)],'blockSize':_0x1db9bd[_0x148416(0x66b)],'formatter':_0x5873c1[_0x148416(0x428)]});},'decrypt':function(_0x446830,_0x58a058,_0x17918a,_0x35c324){const _0x22da8a=_0x1797b0;_0x35c324=this[_0x22da8a(0x29f)][_0x22da8a(0x27a)](_0x35c324),_0x58a058=this[_0x22da8a(0x5e4)](_0x58a058,_0x35c324['format']);var _0x13c605=_0x446830['createDecryptor'](_0x17918a,_0x35c324)['finalize'](_0x58a058['ciphertext']);return _0x13c605;},'_parse':function(_0x527ec8,_0x4ca001){const _0xed53df=_0x1797b0;return typeof _0x527ec8==_0xed53df(0x5e7)?_0x4ca001[_0xed53df(0x5db)](_0x527ec8,this):_0x527ec8;}}),_0x43144a=_0x246600[_0x1797b0(0x39b)]={},_0x19a1a4=_0x43144a['OpenSSL']={'execute':function(_0x228a67,_0x821b76,_0x474d70,_0x3001bd,_0x45c43c){const _0x48321a=_0x1797b0;if(_0x3001bd||(_0x3001bd=_0x367109[_0x48321a(0x27d)](0x40/0x8)),_0x45c43c)var _0x407b02=_0xac688d[_0x48321a(0x228)]({'keySize':_0x821b76+_0x474d70,'hasher':_0x45c43c})['compute'](_0x228a67,_0x3001bd);else var _0x407b02=_0xac688d[_0x48321a(0x228)]({'keySize':_0x821b76+_0x474d70})[_0x48321a(0x47a)](_0x228a67,_0x3001bd);var _0xb99975=_0x367109[_0x48321a(0x228)](_0x407b02['words'][_0x48321a(0x2a4)](_0x821b76),_0x474d70*0x4);return _0x407b02[_0x48321a(0x415)]=_0x821b76*0x4,_0x480c85[_0x48321a(0x228)]({'key':_0x407b02,'iv':_0xb99975,'salt':_0x3001bd});}},_0x41ee2c=_0x356653[_0x1797b0(0x26b)]=_0xe029d6['extend']({'cfg':_0xe029d6[_0x1797b0(0x29f)][_0x1797b0(0x27a)]({'kdf':_0x19a1a4}),'encrypt':function(_0x55ac9c,_0x58c4d2,_0x5a0c52,_0x3a88ec){const _0x492a31=_0x1797b0;_0x3a88ec=this[_0x492a31(0x29f)][_0x492a31(0x27a)](_0x3a88ec);var _0x56fb57=_0x3a88ec[_0x492a31(0x39b)][_0x492a31(0x4b5)](_0x5a0c52,_0x55ac9c[_0x492a31(0x614)],_0x55ac9c['ivSize'],_0x3a88ec[_0x492a31(0x50c)],_0x3a88ec[_0x492a31(0x58c)]);_0x3a88ec['iv']=_0x56fb57['iv'];var _0x3107b8=_0xe029d6['encrypt']['call'](this,_0x55ac9c,_0x58c4d2,_0x56fb57['key'],_0x3a88ec);return _0x3107b8[_0x492a31(0x3cf)](_0x56fb57),_0x3107b8;},'decrypt':function(_0x1b3d6e,_0x4ff4e5,_0x2b1a51,_0x32bf41){const _0x43e884=_0x1797b0;_0x32bf41=this['cfg'][_0x43e884(0x27a)](_0x32bf41),_0x4ff4e5=this[_0x43e884(0x5e4)](_0x4ff4e5,_0x32bf41['format']);var _0x28f794=_0x32bf41[_0x43e884(0x39b)][_0x43e884(0x4b5)](_0x2b1a51,_0x1b3d6e['keySize'],_0x1b3d6e['ivSize'],_0x4ff4e5['salt'],_0x32bf41['hasher']);_0x32bf41['iv']=_0x28f794['iv'];var _0x1da994=_0xe029d6[_0x43e884(0x2f2)][_0x43e884(0x356)](this,_0x1b3d6e,_0x4ff4e5,_0x28f794[_0x43e884(0x615)],_0x32bf41);return _0x1da994;}});}();}));}(ft)),ft[_0x43efb2(0x514)];}(function(_0x5c87db,_0x17b3f8){(function(_0x20e279,_0x2c5415,_0x539e07){const _0x4fef56=_0xe699;_0x5c87db[_0x4fef56(0x514)]=_0x2c5415(oe(),Dn(),lr(),Pn(),wn());}(J,function(_0x2c23c4){const _0x3108f3=_0xe699;return(function(){const _0xf71511=_0xe699;var _0x59f8d2=_0x2c23c4,_0x348c00=_0x59f8d2['lib'],_0x4f9af8=_0x348c00[_0xf71511(0x285)],_0x593e1c=_0x59f8d2['algo'],_0x5be2d5=[],_0x24ab4b=[],_0x3f9811=[],_0x519405=[],_0x1c497e=[],_0x45a2fe=[],_0x9a8616=[],_0x5ab41c=[],_0x2b4b9e=[],_0x7bd363=[];(function(){for(var _0x255600=[],_0x47d66d=0x0;_0x47d66d<0x100;_0x47d66d++)_0x47d66d<0x80?_0x255600[_0x47d66d]=_0x47d66d<<0x1:_0x255600[_0x47d66d]=_0x47d66d<<0x1^0x11b;for(var _0x473826=0x0,_0x57b78f=0x0,_0x47d66d=0x0;_0x47d66d<0x100;_0x47d66d++){var _0x3e911c=_0x57b78f^_0x57b78f<<0x1^_0x57b78f<<0x2^_0x57b78f<<0x3^_0x57b78f<<0x4;_0x3e911c=_0x3e911c>>>0x8^_0x3e911c&0xff^0x63,_0x5be2d5[_0x473826]=_0x3e911c,_0x24ab4b[_0x3e911c]=_0x473826;var _0x1d2a5e=_0x255600[_0x473826],_0x23c041=_0x255600[_0x1d2a5e],_0x3c3a21=_0x255600[_0x23c041],_0x420b0d=_0x255600[_0x3e911c]*0x101^_0x3e911c*0x1010100;_0x3f9811[_0x473826]=_0x420b0d<<0x18|_0x420b0d>>>0x8,_0x519405[_0x473826]=_0x420b0d<<0x10|_0x420b0d>>>0x10,_0x1c497e[_0x473826]=_0x420b0d<<0x8|_0x420b0d>>>0x18,_0x45a2fe[_0x473826]=_0x420b0d;var _0x420b0d=_0x3c3a21*0x1010101^_0x23c041*0x10001^_0x1d2a5e*0x101^_0x473826*0x1010100;_0x9a8616[_0x3e911c]=_0x420b0d<<0x18|_0x420b0d>>>0x8,_0x5ab41c[_0x3e911c]=_0x420b0d<<0x10|_0x420b0d>>>0x10,_0x2b4b9e[_0x3e911c]=_0x420b0d<<0x8|_0x420b0d>>>0x18,_0x7bd363[_0x3e911c]=_0x420b0d,_0x473826?(_0x473826=_0x1d2a5e^_0x255600[_0x255600[_0x255600[_0x3c3a21^_0x1d2a5e]]],_0x57b78f^=_0x255600[_0x255600[_0x57b78f]]):_0x473826=_0x57b78f=0x1;}}());var _0x4893ff=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xc8db80=_0x593e1c[_0xf71511(0x552)]=_0x4f9af8[_0xf71511(0x27a)]({'_doReset':function(){const _0x2728f3=_0xf71511;var _0x4b8646;if(!(this['_nRounds']&&this[_0x2728f3(0x3f9)]===this[_0x2728f3(0x661)])){for(var _0x2fb83c=this[_0x2728f3(0x3f9)]=this['_key'],_0x54bca2=_0x2fb83c[_0x2728f3(0x32b)],_0x11cf8a=_0x2fb83c[_0x2728f3(0x415)]/0x4,_0xdc4852=this[_0x2728f3(0x314)]=_0x11cf8a+0x6,_0x5eb42a=(_0xdc4852+0x1)*0x4,_0x5b2f36=this[_0x2728f3(0x642)]=[],_0xa31f17=0x0;_0xa31f17<_0x5eb42a;_0xa31f17++)_0xa31f17<_0x11cf8a?_0x5b2f36[_0xa31f17]=_0x54bca2[_0xa31f17]:(_0x4b8646=_0x5b2f36[_0xa31f17-0x1],_0xa31f17%_0x11cf8a?_0x11cf8a>0x6&&_0xa31f17%_0x11cf8a==0x4&&(_0x4b8646=_0x5be2d5[_0x4b8646>>>0x18]<<0x18|_0x5be2d5[_0x4b8646>>>0x10&0xff]<<0x10|_0x5be2d5[_0x4b8646>>>0x8&0xff]<<0x8|_0x5be2d5[_0x4b8646&0xff]):(_0x4b8646=_0x4b8646<<0x8|_0x4b8646>>>0x18,_0x4b8646=_0x5be2d5[_0x4b8646>>>0x18]<<0x18|_0x5be2d5[_0x4b8646>>>0x10&0xff]<<0x10|_0x5be2d5[_0x4b8646>>>0x8&0xff]<<0x8|_0x5be2d5[_0x4b8646&0xff],_0x4b8646^=_0x4893ff[_0xa31f17/_0x11cf8a|0x0]<<0x18),_0x5b2f36[_0xa31f17]=_0x5b2f36[_0xa31f17-_0x11cf8a]^_0x4b8646);for(var _0x202016=this[_0x2728f3(0x3b1)]=[],_0x299751=0x0;_0x299751<_0x5eb42a;_0x299751++){var _0xa31f17=_0x5eb42a-_0x299751;if(_0x299751%0x4)var _0x4b8646=_0x5b2f36[_0xa31f17];else var _0x4b8646=_0x5b2f36[_0xa31f17-0x4];_0x299751<0x4||_0xa31f17<=0x4?_0x202016[_0x299751]=_0x4b8646:_0x202016[_0x299751]=_0x9a8616[_0x5be2d5[_0x4b8646>>>0x18]]^_0x5ab41c[_0x5be2d5[_0x4b8646>>>0x10&0xff]]^_0x2b4b9e[_0x5be2d5[_0x4b8646>>>0x8&0xff]]^_0x7bd363[_0x5be2d5[_0x4b8646&0xff]];}}},'encryptBlock':function(_0x10d6ca,_0x56d376){const _0x1cded3=_0xf71511;this[_0x1cded3(0x24c)](_0x10d6ca,_0x56d376,this[_0x1cded3(0x642)],_0x3f9811,_0x519405,_0x1c497e,_0x45a2fe,_0x5be2d5);},'decryptBlock':function(_0x38bb4b,_0x10d2be){const _0x3f34b2=_0xf71511;var _0x1c9e08=_0x38bb4b[_0x10d2be+0x1];_0x38bb4b[_0x10d2be+0x1]=_0x38bb4b[_0x10d2be+0x3],_0x38bb4b[_0x10d2be+0x3]=_0x1c9e08,this[_0x3f34b2(0x24c)](_0x38bb4b,_0x10d2be,this[_0x3f34b2(0x3b1)],_0x9a8616,_0x5ab41c,_0x2b4b9e,_0x7bd363,_0x24ab4b);var _0x1c9e08=_0x38bb4b[_0x10d2be+0x1];_0x38bb4b[_0x10d2be+0x1]=_0x38bb4b[_0x10d2be+0x3],_0x38bb4b[_0x10d2be+0x3]=_0x1c9e08;},'_doCryptBlock':function(_0x100bad,_0x249024,_0x5c7d2e,_0x117252,_0x587f37,_0x293273,_0x3cdc59,_0x432471){const _0x132b4d=_0xf71511;for(var _0x366918=this[_0x132b4d(0x314)],_0x35d9e7=_0x100bad[_0x249024]^_0x5c7d2e[0x0],_0x231441=_0x100bad[_0x249024+0x1]^_0x5c7d2e[0x1],_0x5bf3ed=_0x100bad[_0x249024+0x2]^_0x5c7d2e[0x2],_0x3f046e=_0x100bad[_0x249024+0x3]^_0x5c7d2e[0x3],_0x2c891c=0x4,_0x2395bc=0x1;_0x2395bc<_0x366918;_0x2395bc++){var _0x35dbf2=_0x117252[_0x35d9e7>>>0x18]^_0x587f37[_0x231441>>>0x10&0xff]^_0x293273[_0x5bf3ed>>>0x8&0xff]^_0x3cdc59[_0x3f046e&0xff]^_0x5c7d2e[_0x2c891c++],_0x37736b=_0x117252[_0x231441>>>0x18]^_0x587f37[_0x5bf3ed>>>0x10&0xff]^_0x293273[_0x3f046e>>>0x8&0xff]^_0x3cdc59[_0x35d9e7&0xff]^_0x5c7d2e[_0x2c891c++],_0x38ee39=_0x117252[_0x5bf3ed>>>0x18]^_0x587f37[_0x3f046e>>>0x10&0xff]^_0x293273[_0x35d9e7>>>0x8&0xff]^_0x3cdc59[_0x231441&0xff]^_0x5c7d2e[_0x2c891c++],_0x1f237f=_0x117252[_0x3f046e>>>0x18]^_0x587f37[_0x35d9e7>>>0x10&0xff]^_0x293273[_0x231441>>>0x8&0xff]^_0x3cdc59[_0x5bf3ed&0xff]^_0x5c7d2e[_0x2c891c++];_0x35d9e7=_0x35dbf2,_0x231441=_0x37736b,_0x5bf3ed=_0x38ee39,_0x3f046e=_0x1f237f;}var _0x35dbf2=(_0x432471[_0x35d9e7>>>0x18]<<0x18|_0x432471[_0x231441>>>0x10&0xff]<<0x10|_0x432471[_0x5bf3ed>>>0x8&0xff]<<0x8|_0x432471[_0x3f046e&0xff])^_0x5c7d2e[_0x2c891c++],_0x37736b=(_0x432471[_0x231441>>>0x18]<<0x18|_0x432471[_0x5bf3ed>>>0x10&0xff]<<0x10|_0x432471[_0x3f046e>>>0x8&0xff]<<0x8|_0x432471[_0x35d9e7&0xff])^_0x5c7d2e[_0x2c891c++],_0x38ee39=(_0x432471[_0x5bf3ed>>>0x18]<<0x18|_0x432471[_0x3f046e>>>0x10&0xff]<<0x10|_0x432471[_0x35d9e7>>>0x8&0xff]<<0x8|_0x432471[_0x231441&0xff])^_0x5c7d2e[_0x2c891c++],_0x1f237f=(_0x432471[_0x3f046e>>>0x18]<<0x18|_0x432471[_0x35d9e7>>>0x10&0xff]<<0x10|_0x432471[_0x231441>>>0x8&0xff]<<0x8|_0x432471[_0x5bf3ed&0xff])^_0x5c7d2e[_0x2c891c++];_0x100bad[_0x249024]=_0x35dbf2,_0x100bad[_0x249024+0x1]=_0x37736b,_0x100bad[_0x249024+0x2]=_0x38ee39,_0x100bad[_0x249024+0x3]=_0x1f237f;},'keySize':0x100/0x20});_0x59f8d2[_0xf71511(0x552)]=_0x4f9af8[_0xf71511(0x252)](_0xc8db80);}()),_0x2c23c4[_0x3108f3(0x552)];}));}(On));var ur=On[_0x56d4b2(0x514)];const dr=xe(ur);var fr=Dn();const Jt=xe(fr);var Un={'exports':{}};(function(_0x314d97,_0x1a0d1b){(function(_0x44a8e9,_0x504784){const _0x226a57=_0xe699;_0x314d97[_0x226a57(0x514)]=_0x504784(oe());}(J,function(_0x4edf7b){const _0xcee2c3=_0xe699;return _0x4edf7b[_0xcee2c3(0x400)][_0xcee2c3(0x650)];}));}(Un));var vr=Un[_0x56d4b2(0x514)];const Sr=xe(vr);var Mn={'exports':{}};(function(_0x18a77d,_0x33f815){(function(_0x1c6caa,_0x333340){const _0x35ab2e=_0xe699;_0x18a77d[_0x35ab2e(0x514)]=_0x333340(oe());}(J,function(_0x5146a5){const _0xb49afa=_0xe699;return(function(){const _0x33c142=_0xe699;if(typeof ArrayBuffer==_0x33c142(0x231)){var _0x21b925=_0x5146a5,_0x20b2ab=_0x21b925[_0x33c142(0x62b)],_0x321d16=_0x20b2ab['WordArray'],_0x53a08c=_0x321d16['init'],_0x5da0ca=_0x321d16['init']=function(_0x217e61){const _0x32eb7f=_0x33c142;if(_0x217e61 instanceof ArrayBuffer&&(_0x217e61=new Uint8Array(_0x217e61)),(_0x217e61 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x217e61 instanceof Uint8ClampedArray||_0x217e61 instanceof Int16Array||_0x217e61 instanceof Uint16Array||_0x217e61 instanceof Int32Array||_0x217e61 instanceof Uint32Array||_0x217e61 instanceof Float32Array||_0x217e61 instanceof Float64Array)&&(_0x217e61=new Uint8Array(_0x217e61['buffer'],_0x217e61[_0x32eb7f(0x409)],_0x217e61[_0x32eb7f(0x49a)])),_0x217e61 instanceof Uint8Array){for(var _0x5b9f95=_0x217e61['byteLength'],_0x44836a=[],_0x3371dd=0x0;_0x3371dd<_0x5b9f95;_0x3371dd++)_0x44836a[_0x3371dd>>>0x2]|=_0x217e61[_0x3371dd]<<0x18-_0x3371dd%0x4*0x8;_0x53a08c[_0x32eb7f(0x356)](this,_0x44836a,_0x5b9f95);}else _0x53a08c[_0x32eb7f(0x326)](this,arguments);};_0x5da0ca['prototype']=_0x321d16;}}()),_0x5146a5[_0xb49afa(0x62b)][_0xb49afa(0x2c1)];}));}(Mn));var pr=Mn['exports'];const mr=xe(pr);var An={'exports':{}};(function(_0x526f6e,_0x3a9d35){(function(_0x3ccc07,_0x51a991,_0x5612d9){_0x526f6e['exports']=_0x51a991(oe(),wn());}(J,function(_0x9201ca){const _0x4bd77a=_0xe699;return _0x9201ca[_0x4bd77a(0x4cc)][_0x4bd77a(0x663)]={'pad':function(){},'unpad':function(){}},_0x9201ca[_0x4bd77a(0x4cc)][_0x4bd77a(0x663)];}));}(An));var gr=An[_0x56d4b2(0x514)];const Ir=xe(gr);function Cr(_0x5cbd64,_0x247ebb){const _0x59ea05=_0x56d4b2,_0x4e69a2=_0x247ebb-_0x5cbd64[_0x59ea05(0x543)]%_0x247ebb,_0x5716f3=String[_0x59ea05(0x577)](_0x4e69a2)[_0x59ea05(0x329)](_0x4e69a2);return _0x5cbd64+_0x5716f3;}function Er(_0x4f1baa,_0x401242){const _0x2d0306=_0x56d4b2,_0x134f55=mr[_0x2d0306(0x27d)](0x10),_0x4be4ef=Cr(_0x4f1baa,0x10),_0x54387b=dr['encrypt'](Sr[_0x2d0306(0x5db)](_0x4be4ef),Jt[_0x2d0306(0x5db)](_0x401242),{'iv':_0x134f55,'padding':Ir});return _0x134f55[_0x2d0306(0x505)](_0x54387b[_0x2d0306(0x289)])[_0x2d0306(0x63c)](Jt);}function br(){const _0x135211=_0x56d4b2,_0x4e94e3=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x4e94e3){const _0x4cf1be={'time':Math[_0x135211(0x5df)](Date['now']()/0x3e8),'domain':location[_0x135211(0x367)]};return Er(JSON[_0x135211(0x637)](_0x4cf1be),_0x4e94e3);}}var Tr=Object[_0x56d4b2(0x3a4)],Rr=Object[_0x56d4b2(0x47e)],yr=(_0x36b60d,_0x43b00c,_0x35170d,_0x3cb79f)=>{const _0xcba5be=_0x56d4b2;for(var _0x544753=_0x3cb79f>0x1?void 0x0:_0x3cb79f?Rr(_0x43b00c,_0x35170d):_0x43b00c,_0x1dd4b3=_0x36b60d[_0xcba5be(0x543)]-0x1,_0x2b8869;_0x1dd4b3>=0x0;_0x1dd4b3--)(_0x2b8869=_0x36b60d[_0x1dd4b3])&&(_0x544753=(_0x3cb79f?_0x2b8869(_0x43b00c,_0x35170d,_0x544753):_0x2b8869(_0x544753))||_0x544753);return _0x3cb79f&&_0x544753&&Tr(_0x43b00c,_0x35170d,_0x544753),_0x544753;},Or=(_0x3c8f04,_0x477eff)=>(_0x330f79,_0x57f415)=>_0x477eff(_0x330f79,_0x57f415,_0x3c8f04);let Ye=class{constructor(_0x545d27){const _0x339804=_0x56d4b2;this[_0x339804(0x675)]=_0x545d27,this[_0x339804(0x5cb)]();}[_0x56d4b2(0x5cb)](){const _0x4a527b=_0x56d4b2;this[_0x4a527b(0x675)][_0x4a527b(0x63f)]({'interceptor':(_0x40c520,_0x5b52a3)=>{const _0x52a1ae=_0x4a527b,_0x35ca65=_0x40c520[_0x52a1ae(0x584)],_0x253053=br();return _0x253053&&_0x35ca65[_0x52a1ae(0x24a)](_0x52a1ae(0x5f3),_0x253053),_0x5b52a3(_0x40c520);}});}};function _0x4fa2(){const _0x1105fb=['prototype','[DataLoaderController]','MSG_FOR_ERROR','[OfflineState]:\x20received\x20acknowledgement.','_getAPIPrefixPath','_listenToOfflineEvent','ONLINE','collaboration.single-unit.warning','defs','number','mergeOverrideWithDependencies','_saveCache','LocalCacheService','_docSyncEditingCollabCursorService','length','_getUploadFileURL','_collaborationPaused','_getSaveTimeout','_sendingTimer','sessionStatus$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','image/gif','UPDATE_CURSOR','setParam','measureText','RevisionService','COMMENT_UPDATE','updateCollaborator','?size=','AES','getInterceptPoints','rev','encode','awaitingChangeset','useObservable','parseProtocolChangeset','hovered','blue400','_changesetReqId','\x20-\x20','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','editingUnit','column','getRandomValues','some','_getDownloadEndpointURL','subscribe','_redoStacks','onTransformChange$','responseType','OnLineSingle','unload','data','_localCacheService','submit\x20changeset\x20error!','_clearHeartbeatTimer','makeDirty','forwardRef','batchAllowed','unitId\x20is\x20not\x20found','error$','AuthzIoHttpService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_getMergeRange','0\x200\x2017\x2016','20037039dtsgkH','fromCharCode','_cursorInfo$','setWaitCount','transformSelections','UNKNOWN_CMD','OTHER_CLIENTS_EDITING','_anchorDot','onMissedChangesetFetched','getTypeOfUnitAdded$','toLowerCase','getSheetId','/universer-api/snapshot','JOIN_ROOM_FULL','headers','JOIN_ROOM_NOT_ALLOWED','addObject','save\x20fail\x20reason\x20is\x20','getOffsetConfig','_onJoinRoomEvent','_event$','_backgroundColor','hasher','_ensureSubject','UNIVER_SHEET','_toggleOnline','_initResize','collabStatus.fetchMiss','online','merge','_retryCount','_colorIndex','closeSession','Error','generateRandomId','addImageSourceCache','children','_onRemoteRetry','_hover','_scheduleTimestamp','asObservable','@univerjs/docs-ui','setAlpha','red300','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_candidateSocket','ERROR_IMAGE_TYPE','[UniverCollaborationClientPlugin]','_toggleOffline','DocStateChangeManagerService','open$','_hideTimer','_status$','getItem','HTTPService','_executeRemoteChangeset','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','connection\x20error','unknown','_document','subUnitId','_colorAssignService','_doReset','_snapshotServerService','InsertRowCommandId','_onCursorUpdate','_drawTextRange','SUCCUSS','dispose$','onCommandExecuted','SheetCollabCursorShape','SHA1','_transformPreviousActiveRange','UnitSnapshot','equals','_anchor','refreshPermission','deserializeRangeWithSheet','_nDataBytes','SheetPermissionInitController','RxDisposable','UniverInstanceType','_transformIMECache','_change$','Latin1','_initRequestHeader','conflict.title','originalMeta','PERSON','finalize','_pendingMutations','SessionStatus','_refreshCollabCursors','_substituteRedoStack','_commentUpdate$','_HTTPService','univer-online-status','IImageIoService','LICENSE_DISTRO_REJECTED','clearTimeout','_instanceService','parse','getParam','handleInsertCol','_scene','floor','json','commentUpdate$','_transformHistoryAndStateStack','_docStateChangeManagerService','_parse','_removeClearOtherTimer','incrementRevOfUnit','string','takeUntil','Disposable','Decryptor','fromEventSubject','snapshotServerUrl','unitID','4oExxMc','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','off-line-single_clip0_910_343','_clearTimeoutTimer','_onRecvEvent','x-univer-host','UserManagerService','_transformStateCache','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','...','image/jpg','socket\x20close','getSheetObject','_selfUnitIDs','purple300','replaceState','charAt','rxjs','getRenderById','idSuffix','getCurrentSelections','rgba(255,\x20255,\x20255,\x200.01)','_heartbeatTimer','setCurrentUser','Rect','_roomMembers','combineLatest','collabSubmitChangesetUrl','list','awaiting_with_pending','_lockTransition','_handleEvent','COMPRESS_MUTATION_APPLY','_collabSessionService','deserializeToCombResponse','_startCollaboration','workbook','getCollabEntity','keySize','key','onRemoteRetry','onTransformRemoteChangesetByIMECache','liveShareNewHost','_getScale','0\x200\x2016\x2016','wsSessionTicketUrl','with','MergeInterceptorFactory','_getCurrentRevision','_iv','isPermissionRej','handleMoveRange','collabStatus.notCollab','UNRECOGNIZED','translate(.97)','onRemoteAck','_singleActiveUnitService','COLORS','newValue','startColumn','__esModule','lib','@univerjs/ui','createEncryptor','_transformSelections','_initDependencies','for','HEARTBEAT','HEARTBEAT_TIMEOUT','_cachedData','_send','_rescheduleHeartbeat','$super','stringify','all','2CyWMLs','NO_OTHER_CLIENTS_EDITING','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','toString','backgroundColor','IUniverInstanceService','registerHTTPInterceptor','_transformRemoteChangesetByIMECache','RemoveColCommandId','_keySchedule','EvpKDF','default','HEARTBEAT_INTERVAL_KEY','registerRenderModule','hidden','SheetsSelectionsService','close','history','@univerjs/sheets-ui','_http','conflict','transformIMECache','Hex','Utf8','abs','DesktopCollaborationStatusDisplayController','univer-online','_drawAnchor','univer-pro.collaboration-client.single-active-unit-service','_replaceFileID','_queuedRemoteChangesets','disableLocalCache','/new_changes','SerializableCipher','_schedule','SNAPSHOT_HAS_BEEN_REMOVED','_clearCollaborationTimeoutTimer','/block/','init','IBeforeCloseService','_key','_createSocketURL','NoPadding','/-/object/-/batch_allowed','onlyLocal','roomMembers','getCurrent','toggleOffline','ws://127.0.0.1:8000/universer-api/comb/connect','_doFinalize','blockSize','synced','ref','CompressMutationService','FileId','LEAVE','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','HmacMD5','createCollaborator','_oKey','_httpService','onTransformSelections','_cipher','sid','msCrypto','CHANGESET_REVISION_CONFILICT','_prevBlock','ceil','shouldCloseConn','1em','baseRev','_session','BASE64','offline','onPointerEnter$','roomMembers$','_collaborationSessionService','black','_data','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','CONNECTOR_DATA_TOO_LARGE','saveOfflineData','_getSnapshotAPIPrefix','_initCloseConn','4787904jMvAzm','_iKey','IMessageService','getUnhiddenWorksheets','_syncEditingCollabCursorService','_onMessage','enableSingleActiveInstanceLock','OffLineSingle','onTransformRemoteChangesetByStateCache','now','InsertColCommandId','sin','loadSheet','getResourcesRequest','readAsDataURL','_initUnitPermissionChange','COLLAB_SUBMIT_CHANGESET_URL','\x0aAfter:\x20','SetSelectionsOperation','_getUndoStack','@univerjs/sheets','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','collaboration_new_changeset','_throwTelemetryCollaborationNewChangeset','WebSocketService','none','Injector','WorkbookEditablePermission','/collaborator','getDeserializedSheetBlock','patch','Malformed\x20UTF-8\x20data','resend','Base64','3374FuCTUQ','FAIL','crypto','_type','NOT_FOUND','saveImage','[SyncedState]:\x20received\x20acknowledgement.','_transformUndoRedoStack','assignAColorForMemberID','body','_handler','_updateLocalCursor','Module','_localeService','_notificationService','_assignedColors','eventID','univer-online-status-icon','_clearLocalCache','_sheetSkeletonManagerService','_collaborationTimeoutTimer','_transformStack','toStringTag','updateMember','save','_waitCount','split','{fileID}','@univerjs/design','getFocusedUnit','DisposableCollection','path','_draw','Shape','disposeWithMe','COLLAB_CLIENT_CONFIG_KEY','_scheduleClearOtherTimer','_roomMembers$','[SyncedState]:\x20received\x20rejection.','_doProcessBlock','textRanges','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','tag','assign','ERROR_EXCEED_SIZE','LocalUndoRedoService','MUTATION','div','updatePermissionObjEvent','NodePositionConvertToCursor','onReady','getMemberID','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','addEventListener','params','Inject','BehaviorSubject','create','IConfigService','COLLAB_WEB_SOCKET_URL_KEY','UNAUTHENTICATED','listRoles','_sheetTransformSelectionsService','registerBeforeClose','transformStateCache','transformMutationsWithChangeset','function','_decreaseWaiting','MD5','getMergeData','displayName','&source=','_eventUnsubscribe','COLLAB_SUBMIT_CHANGESET_URL_KEY','_docSkeleton','getSheetBySheetId','_setupSubUnitSync','_memberService','values','onRendered','SnapshotService','PENDING','hide','c1Prime','RECV','_revisionService','getRelativeToViewportCoord','getValue','add','setShapeProps','onSyncEditingCollabCursor','set','transformUndoRedo','_doCryptBlock','actions','Rectangle','_messageService','xlink:href','CollaborationSessionService','_createHelper','subject','@univerjs/rpc','_localStorageService','text','SUBMIT_CHANGESET','b64DecodeUnicode','_commentService','getUnitId','isTransformMutationsWithChangesetFailure','DeleteRangeMoveLeftCommandId','ITransformService','INTERNAL_ERROR','_textBubble','on-line-single_clip0_910_349','isActive','join','location','YUUMI_SUBSCRIPTION_NOT_FOUND','INVALID_ARGUMENT','height','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/universer-api/oidc/authpage','encodeURIComponent','ICollaborationSocketService','PasswordBasedCipher','_socketReady','map','_getSessionTicket','TEXT_RANGE_LAYER_INDEX','ILogService','getTime','getUnitStatus$','_disabled','_onUserJoin','onRemoteChangeset','collab-rect-range-','joinRsp','__creator','_disableEditing','extend','JSONX','_refRangeService','random','/object/','activeSheet$','_startDocCollabCursor','debounceTime','_append','sheets','MentionIoHttpService','BlockCipher','createIdentifier','_updateSubUnitFromURLParams','getUnitType','ciphertext','_registerRenderDependencies','mode','SheetSkeletonManagerService','rng','Hasher','method','_onOffline','createElement','changesets','objects','DependentOn','_handleLeaveEvent','IRenderManagerService','unpad','_removeCollabCursors','bind','executeCommand','randomBytes','_resendTimeout','reduce','react.element','cfg','show','_createInitialStateImpl','current','post','slice','toDisposable','state$','cursorInfo','ThresholdInterceptorFactory','SEND_CHANGESET_TIMEOUT','startsWith','onStarting','@univerjs/network','find','_incrementRevisionNumber','defIds','_minBufferSize','ICommandService','propertyIsEnumerable','indexOf','shareReplay','_permissionService','getUnit','reverse','APPLY_DUPLICATED','_configService','toggleOnline','Unknown\x20user','_uiPartsService','_transformUndoredo','_initStatusComponent','getViewport','fillStyle','WordArray','setItem','saveSheetBlock','3747640JIBBkF','CHANGESET_SHOULD_RETRY','_univerInstanceService','downloadEndpointUrl','roomInfos','_state','defaultProps','1773OcpXiL','MemberService','_color','_submitChangeset','UNKNOWN_CODE','application/json','jsxs','pending','[FetchMissState]','_getLoginPath','iterations','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getAncestorScale','cmd','_cursor','Cipher','getCurrentUnitForType','_getAPIPrefix','delay','fill','size','_sessions','InsertRangeMoveDownCommandId','findNodePositionByCharIndex','fromCollab','RECT','LIVESHARE_REQUEST_HOST','#FFF','collabCursorState$','Encryptor','loginUrlKey','CHANGESET_ACK','UUID','_hash','_socket','IDLE','round','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','univer-offline','decrypt','VIEW_MAIN','LICENSE_MAX_UNITS_EXCEEDED','_state$','_checkMissing','MoveRangeCommandId','_createInitialState','startRow','ranges','CONFLICT','type','IUndoRedoService','unitId','attrs','_shouldReportTelemetry','syncEditingCollabCursor','registerOnClose','AUTHZ_URL_KEY','ImageIoService','failed\x20to\x20apply\x20missed\x20changesets!','onTransformIME','_initStatusListener','jiqing500','_updateState','currentColor','_handleJoinEvent','delete','currentSkeleton$','LIVESHARE_OPERATION','CollaborationEntity','setStateCache','storage','saveSnapshot','get','_nRounds','updatePermissionPoint','clipPath','Optional','_startSheetCollabCursor','popstate','onlineStatusTitle','CommandType','_id','APPLY_PERMISSION_DENIED','2630082fQaAtw','_unitOnClients','result','removeMember','push','icon','splice','_transitionLocked','apply','/universer-api/stream/file/upload','getRangePointData','repeat','onMissingChangesets','words','\x20to\x20','useRef','YUUMI_UNABLE_LOAD_URL','_stopTelemetryCollaborationNewChangeset','session','width','signUrlServerUrl','evenodd','useCallback','leaveEvent','next','avatar','joinEvent','url(#on-line-single_clip0_910_349)','CollaborationStatusDisplay','RETRY_CONNECTING_MAX_COUNT_KEY','bottom','charCodeAt','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_getSignURL','clone','has','getRoom','IAuthzIoService','textEncoder','_clearScheduledTask','deleteCollaborator','putCollaborators','pipe','setConfig','onRemoteRej','top','clear','LocaleService','HMAC','object','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRemoteRejected','Tooltip','/fetchmissing?from=','put','UniverCollaborationClientPlugin','call','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','take','_fetchMissChangesets','_onCursorDelete','startTime','roles','_applyRemoteChangeset','connectInjector','_reverseMap','_drawRectRange','_isPermissionRej','closePath','#fff','_imageSourceCache','_beforeCloseService','file','hostname','_handleHeartbeatEvent','TEXT','getVpScrollXYInfoByPosToVp','_undoStacks','selections','UniverCollaborationPlugin','off-line-single','localeService','_createHandler','reset','Subject','close$','_config','CipherParams','url','message$','reject','override','[CollaborationSession]','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_cursors','includes','RichTextEditingMutation','_clearRedo','Error\x20on\x20receiving\x20event','complete','UNIVER_PROJECT','ColorKit','/universer-api/user/session-ticket','CHANGESET_REJ','getStateCache','_docTransformIMECacheService','userID','UNIVER_UNKNOWN','_sendHeartbeatTimer','/unit/','href','error','getSkeleton','_telemetryService','createInstance','_mode','moveTo','csAckEvent','_shapes','deepClone','pluginName','_sender','triggerDblclick','CollaborationController','_ENC_XFORM_MODE','kdf','throttleTime','_joinRoom','InsertSheetMutation','_xformMode','_lastPointer','Warning','authzUrl','useDependency','defineProperty','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','serializeRangeWithSheet','LIVESHARE_NEW_HOST','_getRedoStack','transformRemoteChangeset','APPLY_REVISION_CONFILICT','_collabCursorController','VIEWPORT_KEY','UnitEmbedded','JOINING','clearInterval','UNIVER_SLIDE','_invKeySchedule','_docTransformStateCacheService','capture','transform','13032GejZEL','mapTo','MessageType','_scheduleHeartbeat','@univerjs/drawing','_online','IUIPartsService','UNDEFINED','_createSocket','_clearUndo','drawWith','m1Prime','fetchThroughInterceptors','fetching\x20missing\x20changesets\x20from\x20','_unlockTransition','_scheduleCollaborationTimeoutTimer','_saveTaskMap','requestParams','update','COMPLETION_FINISHED','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getDocRanges','substr','min','getCurrentUser','UNIVER_COLLABORATION_CLIENT_PLUGIN','mixIn','DocIMEInputManagerService','updateOfflineData','_cursorShapes','NOT_COLLAB','UPDATE_PERMISSION_OBJ','univer-pro.collaboration-client-socket-service','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getUnitOnRev','TRANSFORM_CHANGE_OBSERVABLE_TYPE','jsx','SetDocZoomRatioOperation','collaboration-client.config','forEach','fromEvent','_urlService','RETRY_CONNECTING_MAX_COUNT','@univerjs/engine-formula','font','OpenSSL','on-line-single','entries','from','_undoRedoService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getConfig','_getSendChangesetTimeout','TOO_MANY_REQUESTS','permissionRejEvent','LIVESHARE_FETCH_OPERATIONS','/allowed','_userManagerService','RefRangeService','SNAPSHOT_SERVER_URL_KEY','_ws','USERS_ENTER','_tryReconnect','lineTo','unit','loadOfflineData','HELLO','_getCtorByUniverType','_keyPriorReset','HTTPRequest','verdancy600','LOCAL_CACHE_INTERVAL','getSheetBlock','symbol','/rev/','enc','_snapshotService','allowed','formatter','_acknowledgedAwaitingChangeset','getImage','_onConnectionOpen','_labelPosition','memberID','byteOffset','code','subunit','session.connection-failed','max','Undefined','registerRefRange','_retryConnectingTimer','SnapshotServerOverHTTPService','randomUUID','@univerjs-pro/collaboration','svg','sigBytes','exhaustSavingTask','m2Prime','event$','CollaborationSocketService','DocSelectionManagerService','_updateLocalCache','session.will-retry','not_collab','toRgbString','redoState','univerjs-icon\x20univerjs-icon-','[PendingState]:\x20received\x20rejection.','/role','_process','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','isEditing','getColor','_themeService','format','/universer-api/authz','onPointerMove$','concatMap','trim','&assign=','FromArray','_hasher','urlChange$','onMouseMove','Base','_collaborationController','status$','EffectRefRangId','POST','@univerjs/telemetry','getCollabEntity$','collab-text-range-','/object','_docSkeletonManagerService','DocCollaborationEntity','_resendWithTimeout','_socket$','arc','onPointerLeave$','_socketService','_onConnectionFailed','_onUserLeave','withCredentials','onStateChange','_updateURLWithCurrentState','collaboration-client.offline-data-not-saved','_removeRoom','_remoteChangesetQueue','sendChangesetTimeout','hasOwnProperty','compose','readInt32LE','ticket','_unitStatus','decryptBlock','_members','_changesetSessionId','CollaborationSession','enableOfflineEditing','isTransformMutationsWithChangesetSuccess','cursorInfo$','doc.mutation.rich-text-editing','/universer-api/snapshot/','getImageSourceCache','_entities','objectType','url(#off-line-single_clip0_910_343)','session.collaboration-timeout','transformStack\x20failed!','isInternalEditorID','_timeoutTimer','/-/object/list','onlineStatusIcon','pauseCollaboration','objectActions','onload','_hovered','CollaborationEvent','getCurrentRevOfUnit','_loadDoc','padding','_onLocalMutation','PERMISSION_DENIED','_initCommandExecutedListener','className','state','USERS_LEAVE','BufferedBlockAlgorithm','getActiveSheet','_injector','algo','SheetCollaborationEntity','color','_onConflict','createSocket','Plugin','compute','IPermissionService','onSendChangeset','Vector2','getOwnPropertyDescriptor','_unitID','stopTime','INGEST','updateCursorEvent','transformChangesets','_name','_docTransformSelectionsService','_startTelemetryCollaborationNewChangeset','UNIVER_DOC','_getAnchorBounding','getTypeOfUnitDisposed$','disposeUnit','OFFLINE','mutations','LIVESHARE_TERMINATE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','colorChannel1','getCollabCursors$','fillRule','SetTextSelectionsOperation','socket$','sessionStatus','routeKey','status','rxjs/operators','ACTIVE_UNIT_EVENT_CHANNEL','collabWebSocketUrl','byteLength','DataLoaderController','retryConnectingInterval','getOwnPropertySymbols','replace','APPLY_REJECT','_replayCachedMutations','objectID','SHOULD_CLOSE_CONN','_sendHeartbeat','mapDocumentTypeToUniverType','reconnect','Tools','restore','then','ImageSourceType','setActiveRange','_updateStatus','focused$','undoState','_compressMutationService','flatMap','MentionType','WebURLService','[CollaborationSessionService]','reqId','getUndoRedoMutationParamsCache','execute','transformMutation','endRow','fillText','pushState','fetchMiss','every','selection','ILocalStorageService','ThemeService','isTransformMutationFailure','unsubscribe','handleDeleteRangeMoveUp','copyFileMeta','fetch_missing','HmacSHA1','subscribeEvent','append','_transformService','getCoordByCell','skeleton','searchParams','LICENSE_EXPORT_SIZE_EXCEEDED','pad','CollaborationStatus','EmptyMutation','filter','_transformRemoteChangesetByStateCache','interceptor','@univerjs/docs','55310nTnZpU','ERROR_IMAGE','SetWorksheetActivateCommand','ALREADY_EXISTS','UniverIcon','_registerDependencies','react','telemetry\x20info\x20is\x20not\x20initialized','currentTheme$','PERMISSION_REJ','collab-text-anchor-','_resendTimer','handleIRemoveRow','onlineStatus','HttpImport','704395qfMbLX','collaboratorID','JOIN','collabStatus.syncing','name','SNAPSHOT_INVALID_SNAPSHOT','unshift','_renderManagerService','revision','_collabCursorState$','isTransformChangesetsSuccess','_tryEnsureSocket','setShowComponents','PSEUDO_FETCH_MISSING_RESULT','_updateCollabCursors','FETCH_MISSING','[CollaborationEntity]','_awaitingChangeset','engine','UniverNetworkPlugin','collaboration-session-retry','setTimeout','visibilitychange','conflict.content','_createHmacHelper','image/bmp','_clearOtherTimers','csRejEvent','c2Prime','SNAPSHOT_URL_KEY','distinctUntilChanged','ImageUploadStatusType','_socketMessageSubscription','APPLY_NON_SEQUENTIAL_REVISION','clamp','concat','confirm','_init','ISnapshotServerService','_getSheetObject','_setupBeforeClosingHandler','DocSkeletonManagerService','salt','HttpExport','_onFetchMissResult','debug','LOCAL_CACHE_INTERVAL_KEY','getMember','Pkcs7','use','exports','_onRemoteACK','origin','_initMergeInterceptor','row','fetchMissingChangesets','[CollaborationUndoRedoService]','_commandService','range','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose','onCommentUpdate','appendMutation','_telemetryInfo','AWAITING_WITH_PENDING','sessionTicket','collabStatus.synced','_range','send','requireSession','_context','_logService','NEW_CHANGESETS','substring','DOC_RANGE_TYPE','_entityInit$','touchDependencies','switchMap','debounce','@univerjs/engine-render','HEARTBEAT_INTERVAL','_sessionStatus$','isArray'];_0x4fa2=function(){return _0x1105fb;};return _0x4fa2();}Ye=yr([Or(0x0,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)]))],Ye);var Dr=Object[_0x56d4b2(0x3a4)],Pr=Object[_0x56d4b2(0x47e)],wr=(_0x33a717,_0x104f06,_0xa78147,_0xf7dc2b)=>{const _0x56c580=_0x56d4b2;for(var _0x4e49cf=_0xf7dc2b>0x1?void 0x0:_0xf7dc2b?Pr(_0x104f06,_0xa78147):_0x104f06,_0x357998=_0x33a717[_0x56c580(0x543)]-0x1,_0x1c8daa;_0x357998>=0x0;_0x357998--)(_0x1c8daa=_0x33a717[_0x357998])&&(_0x4e49cf=(_0xf7dc2b?_0x1c8daa(_0x104f06,_0xa78147,_0x4e49cf):_0x1c8daa(_0x4e49cf))||_0x4e49cf);return _0xf7dc2b&&_0x4e49cf&&Dr(_0x104f06,_0xa78147,_0x4e49cf),_0x4e49cf;},vt=(_0x10ce13,_0x14be38)=>(_0x5cc3c3,_0x2252b1)=>_0x14be38(_0x5cc3c3,_0x2252b1,_0x10ce13);const Ur=['image/png','image/jpeg',_0x56d4b2(0x5f8),_0x56d4b2(0x54a),_0x56d4b2(0x4fb)],Mr=0x5*0x400*0x400,Ar=_0x56d4b2(0x3d6),Nr=_0x56d4b2(0x327),Lr=_0x56d4b2(0x3c9),xr='/universer-api/file/{fileID}/sign-url';exports[_0x56d4b2(0x304)]=class{constructor(_0x53b0ba,_0x2bf2e4,_0x1990cf){const _0x49c7b8=_0x56d4b2;I(this,_0x49c7b8(0x208),0x0),I(this,_0x49c7b8(0x5c9),new A[(_0x49c7b8(0x372))]()),I(this,'change$',this['_change$']),I(this,_0x49c7b8(0x364),new Map()),(this['_httpService']=_0x53b0ba,this[_0x49c7b8(0x2b9)]=_0x2bf2e4,this['_univerInstanceService']=_0x1990cf);}[_0x56d4b2(0x579)](_0x22c019){const _0x3a80ab=_0x56d4b2;this['_waitCount']=_0x22c019,this[_0x3a80ab(0x5c9)][_0x3a80ab(0x336)](_0x22c019);}[_0x56d4b2(0x459)](_0x199a32,_0x20901e){const _0x42d8ad=_0x56d4b2;if(_0x20901e===ne[_0x42d8ad(0x4a9)][_0x42d8ad(0x681)]){const _0x360693=new Image();return _0x360693['src']=_0x199a32,_0x360693;}return this[_0x42d8ad(0x364)][_0x42d8ad(0x313)](_0x199a32);}[_0x56d4b2(0x599)](_0xeea128,_0x110888,_0x10879d){const _0xeefcd7=_0x56d4b2;_0x110888===ne[_0xeefcd7(0x4a9)][_0xeefcd7(0x681)]||_0x10879d==null||this[_0xeefcd7(0x364)][_0xeefcd7(0x24a)](_0xeea128,_0x10879d);}async[_0x56d4b2(0x405)](_0x2f010d){const _0x22a96c=_0x56d4b2;try{const _0x22ab80=this[_0x22a96c(0x656)](this['_getSignURL'](),''+_0x2f010d),_0x1ed4b3=(await this['_httpService'][_0x22a96c(0x313)](_0x22ab80))['body'];if(_0x1ed4b3[_0x22a96c(0x38d)]&&_0x1ed4b3[_0x22a96c(0x38d)][_0x22a96c(0x40a)]===hn['OK']){const _0x1821ec=new URL(_0x1ed4b3['url'],this[_0x22a96c(0x562)]())['toString']();return Promise['resolve'](_0x1821ec);}return Promise[_0x22a96c(0x378)](_0x1ed4b3[_0x22a96c(0x38d)]);}catch(_0x864ff6){return Promise[_0x22a96c(0x378)](_0x864ff6);}}async[_0x56d4b2(0x1f4)](_0x2ba20b){const _0x35cac5=_0x56d4b2;let _0x601623='';if(!Ur[_0x35cac5(0x37d)](_0x2ba20b['type']))return this[_0x35cac5(0x232)](),Promise[_0x35cac5(0x378)](new Error(ne[_0x35cac5(0x501)][_0x35cac5(0x5a4)]));if(_0x2ba20b[_0x35cac5(0x2df)]>Mr)return this[_0x35cac5(0x232)](),Promise[_0x35cac5(0x378)](new Error(ne[_0x35cac5(0x501)][_0x35cac5(0x21b)]));try{const _0x4c52e1=new FormData();_0x4c52e1[_0x35cac5(0x4c6)](_0x35cac5(0x366),_0x2ba20b);const _0x274915=this[_0x35cac5(0x2c6)]['getFocusedUnit'](),_0x4805ea=_0x274915==null?void 0x0:_0x274915[_0x35cac5(0x25a)]();if(!_0x4805ea)throw new Error(_0x35cac5(0x570));const _0x33cb49=this[_0x35cac5(0x544)]()+_0x35cac5(0x551)+_0x2ba20b[_0x35cac5(0x2df)][_0x35cac5(0x63c)]()+_0x35cac5(0x236)+_n[_0x35cac5(0x3ad)]+_0x35cac5(0x42d)+encodeURIComponent(_0x4805ea),_0xb7f25d=await(await fetch(_0x33cb49,{'method':_0x35cac5(0x436),'body':_0x4c52e1}))[_0x35cac5(0x5e0)]();if(typeof _0xb7f25d[_0x35cac5(0x66f)]!=_0x35cac5(0x5e7))return this[_0x35cac5(0x232)](),Promise[_0x35cac5(0x378)](new Error(ne[_0x35cac5(0x501)][_0x35cac5(0x4d4)]));_0x601623=_0xb7f25d[_0x35cac5(0x66f)];}catch{return this[_0x35cac5(0x232)](),Promise[_0x35cac5(0x378)](new Error(ne['ImageUploadStatusType'][_0x35cac5(0x4d4)]));}return new Promise((_0x4d17bb,_0x5ca1f8)=>{const _0x3a8841=_0x35cac5,_0xb40b34=new FileReader();_0xb40b34[_0x3a8841(0x1db)](_0x2ba20b),_0xb40b34[_0x3a8841(0x465)]=_0x37d21e=>{const _0x14a279=_0x3a8841;var _0x15283b;const _0x606bb5=(_0x15283b=_0x37d21e['target'])==null?void 0x0:_0x15283b['result'];if(_0x606bb5==null){this[_0x14a279(0x232)](),_0x5ca1f8(new Error(ne[_0x14a279(0x501)][_0x14a279(0x4d4)]));return;}const _0x260ff8=a[_0x14a279(0x4a6)][_0x14a279(0x598)](0x6);_0x4d17bb({'imageId':_0x260ff8,'imageSourceType':ne[_0x14a279(0x4a9)][_0x14a279(0x2eb)],'source':_0x601623,'base64Cache':_0x606bb5,'status':ne['ImageUploadStatusType'][_0x14a279(0x5b9)]}),this[_0x14a279(0x232)]();};});}[_0x56d4b2(0x544)](){const _0x1eba2c=_0x56d4b2;var _0x2f7f80,_0xe45f05;const _0x4164d3=this['_configService']['getConfig'](Ar),_0xdd6d70=this[_0x1eba2c(0x2b9)][_0x1eba2c(0x3e8)](Z);return(_0xe45f05=(_0x2f7f80=_0xdd6d70==null?void 0x0:_0xdd6d70['uploadFileServerUrl'])!=null?_0x2f7f80:_0x4164d3)!=null?_0xe45f05:Nr;}[_0x56d4b2(0x33f)](){const _0xe1d7e7=_0x56d4b2;var _0x57e090,_0x499020;const _0x418da0=this[_0xe1d7e7(0x2b9)][_0xe1d7e7(0x3e8)](Lr),_0x745a4b=this[_0xe1d7e7(0x2b9)][_0xe1d7e7(0x3e8)](Z);return(_0x499020=(_0x57e090=_0x745a4b==null?void 0x0:_0x745a4b[_0xe1d7e7(0x332)])!=null?_0x57e090:_0x418da0)!=null?_0x499020:xr;}['_getDownloadEndpointURL'](){const _0x296764=_0x56d4b2;var _0x3bda75;const _0x49f97b=this[_0x296764(0x2b9)][_0x296764(0x3e8)](Z);return(_0x3bda75=_0x49f97b==null?void 0x0:_0x49f97b[_0x296764(0x2c7)])!=null?_0x3bda75:location['origin'];}['_replaceFileID'](_0x1d600d,_0x2739a1){const _0x269b77=_0x56d4b2;return _0x1d600d[_0x269b77(0x49e)](_0x269b77(0x20a),_0x2739a1);}[_0x56d4b2(0x232)](){const _0x50a179=_0x56d4b2;this['_waitCount']-=0x1,this[_0x50a179(0x5c9)][_0x50a179(0x336)](this['_waitCount']);}},exports[_0x56d4b2(0x304)]=wr([vt(0x0,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)])),vt(0x1,a[_0x56d4b2(0x229)]),vt(0x2,a['Inject'](a['IUniverInstanceService']))],exports[_0x56d4b2(0x304)]);var jr=Object[_0x56d4b2(0x3a4)],$r=Object[_0x56d4b2(0x47e)],Hr=(_0x1fcdab,_0x3ecdff,_0x52fd81,_0x582ecf)=>{for(var _0x57e937=_0x582ecf>0x1?void 0x0:_0x582ecf?$r(_0x3ecdff,_0x52fd81):_0x3ecdff,_0x18f9eb=_0x1fcdab['length']-0x1,_0x3dd2f1;_0x18f9eb>=0x0;_0x18f9eb--)(_0x3dd2f1=_0x1fcdab[_0x18f9eb])&&(_0x57e937=(_0x582ecf?_0x3dd2f1(_0x3ecdff,_0x52fd81,_0x57e937):_0x3dd2f1(_0x57e937))||_0x57e937);return _0x582ecf&&_0x57e937&&jr(_0x3ecdff,_0x52fd81,_0x57e937),_0x57e937;},Zt=(_0x5d3cb6,_0x1b55b9)=>(_0xf62cf8,_0x2f0bb2)=>_0x1b55b9(_0xf62cf8,_0x2f0bb2,_0x5d3cb6);const kr=_0x56d4b2(0x429);exports['MentionIoHttpService']=class{constructor(_0x476c6c,_0x2244ff){const _0x4b0673=_0x56d4b2;this[_0x4b0673(0x2b9)]=_0x476c6c,this[_0x4b0673(0x5d5)]=_0x2244ff;}['_getAPIPrefixPath'](){const _0x3d3e84=_0x56d4b2;var _0x28de27,_0x4997b0;const _0x4364ec=this['_configService'][_0x3d3e84(0x3e8)](wt),_0x391889=this['_configService'][_0x3d3e84(0x3e8)](Z);return(_0x4997b0=(_0x28de27=_0x391889==null?void 0x0:_0x391889[_0x3d3e84(0x3a2)])!=null?_0x28de27:_0x4364ec)!=null?_0x4997b0:kr;}async[_0x56d4b2(0x60a)](_0x4a38c7){const _0x2a9875=_0x56d4b2,_0x1fd008=this[_0x2a9875(0x539)]()+_0x2a9875(0x1e9);return{'list':[{'title':'People','mentions':(await this[_0x2a9875(0x5d5)][_0x2a9875(0x313)](_0x1fd008,{'params':{'objectID':_0x4a38c7[_0x2a9875(0x2fe)],'unitID':_0x4a38c7[_0x2a9875(0x2fe)]}}))[_0x2a9875(0x1f8)]['collaborators']['map'](_0x578b97=>({'objectId':_0x578b97['id'],'name':_0x578b97[_0x2a9875(0x253)][_0x2a9875(0x4e6)],'metadata':{'icon':_0x578b97[_0x2a9875(0x253)][_0x2a9875(0x337)]},'label':_0x578b97[_0x2a9875(0x253)][_0x2a9875(0x4e6)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a[_0x2a9875(0x4b0)][_0x2a9875(0x5ce)]}]};}},exports[_0x56d4b2(0x284)]=Hr([Zt(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x229)])),Zt(0x1,a['Inject'](z[_0x56d4b2(0x5ac)]))],exports[_0x56d4b2(0x284)]);var Br=Object['defineProperty'],Wr=Object[_0x56d4b2(0x47e)],Fr=(_0xc1ad7,_0x2a6129,_0x23e959,_0x543884)=>{const _0x1961eb=_0x56d4b2;for(var _0xc23cd5=_0x543884>0x1?void 0x0:_0x543884?Wr(_0x2a6129,_0x23e959):_0x2a6129,_0x1f7239=_0xc1ad7[_0x1961eb(0x543)]-0x1,_0xbd54a1;_0x1f7239>=0x0;_0x1f7239--)(_0xbd54a1=_0xc1ad7[_0x1f7239])&&(_0xc23cd5=(_0x543884?_0xbd54a1(_0x2a6129,_0x23e959,_0xc23cd5):_0xbd54a1(_0xc23cd5))||_0xc23cd5);return _0x543884&&_0xc23cd5&&Br(_0x2a6129,_0x23e959,_0xc23cd5),_0xc23cd5;},Ae=(_0xf306a0,_0x49a86e)=>(_0x1e3b13,_0x576cd5)=>_0x49a86e(_0x1e3b13,_0x576cd5,_0xf306a0);let Ke=class extends a[_0x56d4b2(0x5c6)]{constructor(_0x3ca4d9,_0x540acb,_0x4595ac,_0x282f6f,_0x5a1218){const _0x5f020e=_0x56d4b2;super(),this[_0x5f020e(0x473)]=_0x3ca4d9,this['_univerInstanceService']=_0x540acb,this[_0x5f020e(0x2b5)]=_0x4595ac,this[_0x5f020e(0x685)]=_0x282f6f,this[_0x5f020e(0x1fc)]=_0x5a1218,this[_0x5f020e(0x1dc)](),this[_0x5f020e(0x1cc)]();}[_0x56d4b2(0x1cc)](){const _0x259079=_0x56d4b2,_0x28c9ce=async _0x49885e=>{const _0x571cd4=_0xe699;(await this[_0x571cd4(0x685)]['requireSession'](_0x49885e))[_0x571cd4(0x418)][_0x571cd4(0x348)](V[_0x571cd4(0x4cf)](_0x26362a=>_0x26362a[_0x571cd4(0x1ff)]===p['CollaborationEvent'][_0x571cd4(0x4a2)]),V['takeUntil'](this['dispose$']))[_0x571cd4(0x563)](_0x17f3c5=>{const _0x1ebc95=_0x571cd4,_0x2ebd17=_0x17f3c5,{reason:_0x270041}=_0x2ebd17[_0x1ebc95(0x569)];this[_0x1ebc95(0x473)][_0x1ebc95(0x313)](te[_0x1ebc95(0x1cf)])[_0x1ebc95(0x2a0)]({'type':Ce['MessageType'][_0x1ebc95(0x597)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x270041+')'}),this[_0x1ebc95(0x2b5)][_0x1ebc95(0x315)](new B[(_0x1ebc95(0x1e8))](_0x49885e)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x49885e);});};A[_0x259079(0x593)](this[_0x259079(0x2c6)][_0x259079(0x57f)](a['UniverInstanceType'][_0x259079(0x58e)]),this[_0x259079(0x2c6)][_0x259079(0x57f)](a[_0x259079(0x5c7)][_0x259079(0x487)]))[_0x259079(0x348)](V[_0x259079(0x26d)](_0x4e2ad9=>_0x4e2ad9['getUnitId']()),V[_0x259079(0x4cf)](_0x358d56=>!a[_0x259079(0x45f)](_0x358d56)),V[_0x259079(0x5e8)](this[_0x259079(0x5ba)]))[_0x259079(0x563)](_0xe51dd2=>{_0x28c9ce(_0xe51dd2);});}[_0x56d4b2(0x1dc)](){const _0x5eb349=_0x56d4b2,_0x42a673=async _0x5d640c=>{const _0xa7921d=_0xe699;(await this[_0xa7921d(0x685)][_0xa7921d(0x527)](_0x5d640c))[_0xa7921d(0x418)][_0xa7921d(0x348)](V[_0xa7921d(0x4cf)](_0xcbb978=>_0xcbb978['eventID']===p[_0xa7921d(0x467)][_0xa7921d(0x3d4)]),V[_0xa7921d(0x5e8)](this[_0xa7921d(0x5ba)]))[_0xa7921d(0x563)](_0xb59ce3=>{const _0x2eca61=_0xa7921d,_0x446b3e=_0xb59ce3,{objectId:_0x538df4}=_0x446b3e[_0x2eca61(0x569)],_0x2b6d76=this[_0x2eca61(0x473)][_0x2eca61(0x313)](ye[_0x2eca61(0x5c5)]);_0x538df4===_0x5d640c?_0x2b6d76['initWorkbookPermissionChange'](_0x5d640c):_0x2b6d76[_0x2eca61(0x5c2)](_0x5d640c,_0x538df4);});};A[_0x5eb349(0x593)](this[_0x5eb349(0x2c6)]['getTypeOfUnitAdded$'](a[_0x5eb349(0x5c7)]['UNIVER_SHEET']),this[_0x5eb349(0x2c6)]['getTypeOfUnitAdded$'](a[_0x5eb349(0x5c7)][_0x5eb349(0x487)]))[_0x5eb349(0x348)](V[_0x5eb349(0x26d)](_0x2bc217=>_0x2bc217['getUnitId']()),V['filter'](_0x3e4ebf=>!a['isInternalEditorID'](_0x3e4ebf)),V[_0x5eb349(0x5e8)](this[_0x5eb349(0x5ba)]))[_0x5eb349(0x563)](_0x47dc03=>{_0x42a673(_0x47dc03);});}};Ke=Fr([Ae(0x0,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),Ae(0x1,a[_0x56d4b2(0x63e)]),Ae(0x2,a['IPermissionService']),Ae(0x3,a[_0x56d4b2(0x226)](exports['CollaborationSessionService'])),Ae(0x4,a['Inject'](a[_0x56d4b2(0x34d)]))],Ke);var Vr=Object[_0x56d4b2(0x3a4)],Gr=Object['getOwnPropertyDescriptor'],Yr=(_0x4b213d,_0x1f5828,_0x10d939,_0xca85ba)=>{const _0x550c3c=_0x56d4b2;for(var _0x420582=_0xca85ba>0x1?void 0x0:_0xca85ba?Gr(_0x1f5828,_0x10d939):_0x1f5828,_0x562a65=_0x4b213d[_0x550c3c(0x543)]-0x1,_0x2cd966;_0x562a65>=0x0;_0x562a65--)(_0x2cd966=_0x4b213d[_0x562a65])&&(_0x420582=(_0xca85ba?_0x2cd966(_0x1f5828,_0x10d939,_0x420582):_0x2cd966(_0x420582))||_0x420582);return _0xca85ba&&_0x420582&&Vr(_0x1f5828,_0x10d939,_0x420582),_0x420582;},Qt=(_0x187455,_0x21b81c)=>(_0x16c039,_0x25721b)=>_0x21b81c(_0x16c039,_0x25721b,_0x187455);exports[_0x56d4b2(0x411)]=class{constructor(_0x521d7d,_0x18a9c7){const _0x5c6376=_0x56d4b2;this[_0x5c6376(0x2b9)]=_0x521d7d,this[_0x5c6376(0x675)]=_0x18a9c7;}async[_0x56d4b2(0x3d7)](_0x1b8c22,_0x2a10bd){const _0x210a0c=_0x56d4b2;var _0x3526bc;const {unitID:_0x4f9ec1,type:_0x25df21,revision:_0x443d04=0x0}=_0x2a10bd,_0x7e692c=this[_0x210a0c(0x1cb)]()+'/'+_0x25df21+_0x210a0c(0x38b)+_0x4f9ec1+_0x210a0c(0x3ff)+_0x443d04,_0x5351b8=(await this[_0x210a0c(0x675)][_0x210a0c(0x313)](_0x7e692c))[_0x210a0c(0x1f8)],_0xc7a523=(_0x3526bc=_0x5351b8['snapshot'])==null?void 0x0:_0x3526bc[_0x210a0c(0x612)];if(_0xc7a523){const _0x1d9bf1=_0xc7a523==null?void 0x0:_0xc7a523[_0x210a0c(0x5cd)],_0x4f04c9=p[_0x210a0c(0x344)]['encode'](p[_0x210a0c(0x258)](_0x1d9bf1));_0xc7a523[_0x210a0c(0x5cd)]=_0x4f04c9,Object[_0x210a0c(0x3e4)](_0xc7a523[_0x210a0c(0x283)])[_0x210a0c(0x3dc)](([,_0x5b762e])=>{const _0x36d617=_0x210a0c,_0x1fb3cc=_0x5b762e[_0x36d617(0x5cd)],_0x3d7796=p[_0x36d617(0x344)][_0x36d617(0x555)](p[_0x36d617(0x258)](_0x1fb3cc));_0x5b762e[_0x36d617(0x5cd)]=_0x3d7796;});}return _0x5351b8;}async[_0x56d4b2(0x3fd)](_0x53f41d,_0x514333){const _0x481482=_0x56d4b2,{unitID:_0x3161f0,type:_0xdeb2a7,blockID:_0x5e0b70}=_0x514333,_0x158ffb=this[_0x481482(0x2dc)]()+'/'+_0xdeb2a7+_0x481482(0x38b)+_0x3161f0+_0x481482(0x65e)+_0x5e0b70;return(await this[_0x481482(0x675)][_0x481482(0x313)](_0x158ffb))[_0x481482(0x1f8)];}async[_0x56d4b2(0x1ea)](_0x4f1947,_0x3a063e){const _0x55a0f8=_0x56d4b2,{unitID:_0x39b0d4,type:_0x45707e,blockID:_0x19c9db}=_0x3a063e,_0x11e163=this[_0x55a0f8(0x2dc)]()+_0x55a0f8(0x65e)+_0x45707e+_0x55a0f8(0x38b)+_0x39b0d4+_0x55a0f8(0x65e)+_0x19c9db;return(await this[_0x55a0f8(0x675)]['get'](_0x11e163))['body'];}async[_0x56d4b2(0x519)](_0xed3561,_0x2ca10d){const _0x458a02=_0x56d4b2,{unitID:_0x563c79,type:_0x2c46cf,from:_0x465f09,to:_0x4cd72e}=_0x2ca10d,_0x25755f=this['_getAPIPrefix']()+'/'+_0x2c46cf+_0x458a02(0x38b)+_0x563c79+_0x458a02(0x353)+_0x465f09+'&to='+_0x4cd72e;return(await this['_httpService'][_0x458a02(0x313)](_0x25755f))[_0x458a02(0x1f8)];}[_0x56d4b2(0x1cb)](){const _0x5e1dd3=_0x56d4b2;var _0x48d146;return(_0x48d146=this[_0x5e1dd3(0x2b9)][_0x5e1dd3(0x3e8)](tn))!=null?_0x48d146:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0xd3073a=_0x56d4b2;var _0x27604a,_0x443ccb;const _0x38bffa=this[_0xd3073a(0x2b9)][_0xd3073a(0x3e8)](en),_0x38e391=this[_0xd3073a(0x2b9)][_0xd3073a(0x3e8)](Z);return(_0x443ccb=(_0x27604a=_0x38e391==null?void 0x0:_0x38e391[_0xd3073a(0x5ec)])!=null?_0x27604a:_0x38bffa)!=null?_0x443ccb:kn;}async[_0x56d4b2(0x1da)](_0x4aad33,_0x3d6dc7){const _0x2cec33=_0x56d4b2,_0x12156d=_0x2cec33(0x458)+_0x3d6dc7[_0x2cec33(0x2fc)]+_0x2cec33(0x38b)+_0x3d6dc7[_0x2cec33(0x5ed)]+'/resources';return(await this[_0x2cec33(0x675)][_0x2cec33(0x313)](_0x12156d,{'params':{'resourceId':JSON[_0x2cec33(0x637)](_0x3d6dc7['resourceIDs'])}}))['body'];}[_0x56d4b2(0x312)](){const _0x50d666=_0x56d4b2;throw new Error(_0x50d666(0x2d6));}[_0x56d4b2(0x2c3)](){const _0x5d8edd=_0x56d4b2;throw new Error(_0x5d8edd(0x2d6));}['saveChangeset'](){const _0x45b5cb=_0x56d4b2;throw new Error(_0x45b5cb(0x2d6));}[_0x56d4b2(0x4c2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x2ab35e=_0x56d4b2;throw new Error(_0x2ab35e(0x2d6));}},exports[_0x56d4b2(0x411)]=Yr([Qt(0x0,a[_0x56d4b2(0x229)]),Qt(0x1,a[_0x56d4b2(0x226)](z[_0x56d4b2(0x5ac)]))],exports[_0x56d4b2(0x411)]);var Kr=Object[_0x56d4b2(0x3a4)],qr=Object[_0x56d4b2(0x47e)],zr=(_0x22eafa,_0x4cbf7c,_0x2f635b,_0x448ea0)=>{const _0x402158=_0x56d4b2;for(var _0x48ca41=_0x448ea0>0x1?void 0x0:_0x448ea0?qr(_0x4cbf7c,_0x2f635b):_0x4cbf7c,_0x3bfd49=_0x22eafa[_0x402158(0x543)]-0x1,_0x37d1a1;_0x3bfd49>=0x0;_0x3bfd49--)(_0x37d1a1=_0x22eafa[_0x3bfd49])&&(_0x48ca41=(_0x448ea0?_0x37d1a1(_0x4cbf7c,_0x2f635b,_0x48ca41):_0x37d1a1(_0x48ca41))||_0x48ca41);return _0x448ea0&&_0x48ca41&&Kr(_0x4cbf7c,_0x2f635b,_0x48ca41),_0x48ca41;},Ne=(_0xd942fe,_0x4c068f)=>(_0x25a7d9,_0x2f8a6d)=>_0x4c068f(_0x25a7d9,_0x2f8a6d,_0xd942fe);let It=class extends a[_0x56d4b2(0x21c)]{constructor(_0x2a1a67,_0x109d7e,_0x259c22,_0xa52bb6,_0xbd065a){const _0xad78c2=_0x56d4b2;super(_0x2a1a67,_0x109d7e,_0x259c22),this[_0xad78c2(0x4c7)]=_0xa52bb6,this[_0xad78c2(0x529)]=_0xbd065a;}[_0x56d4b2(0x24b)](_0x3af3a4,_0x454161){const _0x4a8745=_0x56d4b2,_0x130a2d=this[_0x4a8745(0x1e0)](_0x3af3a4);if(_0x130a2d)try{const _0x323224=this[_0x4a8745(0x204)](_0x130a2d,_0x454161);this['_substituteUndoStack'](_0x3af3a4,_0x323224);}catch(_0x3f27a7){this[_0x4a8745(0x529)][_0x4a8745(0x38d)]('[CollaborationUndoRedoService]',_0x3f27a7),this[_0x4a8745(0x3be)](_0x3af3a4);}const _0x200bb3=this['_getRedoStack'](_0x3af3a4);if(_0x200bb3)try{const _0xd95317=this['_transformStack'](_0x200bb3,_0x454161);this[_0x4a8745(0x5d3)](_0x3af3a4,_0xd95317);}catch(_0xda112c){this[_0x4a8745(0x529)][_0x4a8745(0x38d)](_0xda112c),this[_0x4a8745(0x37f)](_0x3af3a4);}}['_clearUndo'](_0x5ad118){const _0x3de05c=_0x56d4b2,_0x54ca08=this[_0x3de05c(0x1e0)](_0x5ad118);_0x54ca08&&(_0x54ca08['length']=0x0,this[_0x3de05c(0x4ab)]());}[_0x56d4b2(0x37f)](_0x4d5d58){const _0x25b6d5=_0x56d4b2,_0x58c9c7=this[_0x25b6d5(0x3a8)](_0x4d5d58);_0x58c9c7&&(_0x58c9c7[_0x25b6d5(0x543)]=0x0,this[_0x25b6d5(0x4ab)]());}['_substituteUndoStack'](_0x366b7a,_0x111f24){const _0x3220a4=_0x56d4b2;this[_0x3220a4(0x36b)]['set'](_0x366b7a,_0x111f24),this[_0x3220a4(0x4ab)]();}['_substituteRedoStack'](_0x178d95,_0xeb051d){const _0x11cda0=_0x56d4b2;this[_0x11cda0(0x564)][_0x11cda0(0x24a)](_0x178d95,_0xeb051d),this[_0x11cda0(0x4ab)]();}['_transformStack'](_0x5017b0,_0x3d893b){const _0x2711a9=_0x56d4b2,_0x33a287=[];let _0x510e09=_0x3d893b,_0x5728b7=_0x3d893b;for(let _0x221bf0=_0x5017b0[_0x2711a9(0x543)]-0x1;_0x221bf0>=0x0;_0x221bf0--){const {unitID:_0x215aa5,undoMutations:_0x171442,redoMutations:_0x2866df}=_0x5017b0[_0x221bf0],_0x1171d1=this[_0x2711a9(0x4c7)][_0x2711a9(0x230)](_0x510e09,_0x171442),_0x47ad28=this[_0x2711a9(0x4c7)]['transformMutationsWithChangeset'](_0x5728b7,_0x2866df);if(p[_0x2711a9(0x25b)](_0x1171d1)||p[_0x2711a9(0x25b)](_0x47ad28)){this[_0x2711a9(0x529)][_0x2711a9(0x38d)](_0x2711a9(0x51a),_0x2711a9(0x45e),_0x1171d1,_0x47ad28);break;}_0x510e09=_0x1171d1[_0x2711a9(0x242)],_0x5728b7=_0x47ad28[_0x2711a9(0x242)],_0x33a287['push']({'unitID':_0x215aa5,'undoMutations':_0x1171d1[_0x2711a9(0x417)],'redoMutations':_0x47ad28[_0x2711a9(0x417)]});}return _0x33a287[_0x2711a9(0x2b7)]();}};It=zr([Ne(0x0,a[_0x56d4b2(0x63e)]),Ne(0x1,a[_0x56d4b2(0x2b1)]),Ne(0x2,a['IContextService']),Ne(0x3,p[_0x56d4b2(0x25d)]),Ne(0x4,a['ILogService'])],It);class Nn extends a[_0x56d4b2(0x5c6)]{constructor(){const _0x2359c5=_0x56d4b2;super(),I(this,_0x2359c5(0x430)),this[_0x2359c5(0x430)]=A['fromEvent'](window,_0x2359c5(0x319))[_0x2359c5(0x348)](A['takeUntil'](this[_0x2359c5(0x5ba)]),A[_0x2359c5(0x2b4)](0x1),A[_0x2359c5(0x3b6)](void 0x0));}[_0x56d4b2(0x54c)](_0x1867c4,_0x15e14b,_0x478f55=!0x1){const _0x267293=_0x56d4b2,_0x3dcedb=new URL(window[_0x267293(0x263)][_0x267293(0x38c)]);_0x3dcedb[_0x267293(0x4ca)][_0x267293(0x24a)](_0x1867c4,_0x15e14b),_0x478f55?window['history'][_0x267293(0x5fd)]('','',_0x3dcedb['toString']()):window['history']['pushState']('','',_0x3dcedb['toString']());}['removeParam'](_0x116de2,_0x3292c0=!0x1){const _0xd163be=_0x56d4b2,_0x126762=new URL(window[_0xd163be(0x263)][_0xd163be(0x38c)]);_0x126762['searchParams'][_0xd163be(0x30c)](_0x116de2),_0x3292c0?window[_0xd163be(0x64a)][_0xd163be(0x5fd)]('','',_0x126762[_0xd163be(0x63c)]()):window['history'][_0xd163be(0x4b9)]('','',_0x126762['toString']());}['getParam'](_0x325f38){const _0x2e890f=_0x56d4b2;var _0x5d41ce;return(_0x5d41ce=new URL(window['location'][_0x2e890f(0x38c)])['searchParams']['get'](_0x325f38))!=null?_0x5d41ce:void 0x0;}}var Ln=Object[_0x56d4b2(0x3a4)],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x56d0c4,_0x24d0f4,_0x295f11)=>_0x24d0f4 in _0x56d0c4?Ln(_0x56d0c4,_0x24d0f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x295f11}):_0x56d0c4[_0x24d0f4]=_0x295f11,Zr=(_0x1806e3,_0x158e25,_0x18720f,_0x34682)=>{const _0x442e01=_0x56d4b2;for(var _0x523c50=_0x34682>0x1?void 0x0:_0x34682?Xr(_0x158e25,_0x18720f):_0x158e25,_0x4a1dce=_0x1806e3[_0x442e01(0x543)]-0x1,_0x59b2e7;_0x4a1dce>=0x0;_0x4a1dce--)(_0x59b2e7=_0x1806e3[_0x4a1dce])&&(_0x523c50=(_0x34682?_0x59b2e7(_0x158e25,_0x18720f,_0x523c50):_0x59b2e7(_0x523c50))||_0x523c50);return _0x34682&&_0x523c50&&Ln(_0x158e25,_0x18720f,_0x523c50),_0x523c50;},He=(_0x4ad082,_0x1d9174)=>(_0x1b4f1c,_0x5c6c14)=>_0x1d9174(_0x1b4f1c,_0x5c6c14,_0x4ad082),Qr=(_0x10329e,_0x46143a,_0x533ded)=>Jr(_0x10329e,_0x46143a+'',_0x533ded);const eo=_0x56d4b2(0x3ce);exports['UniverCollaborationClientPlugin']=class extends a[_0x56d4b2(0x479)]{constructor(_0x3e953c=Jn,_0x4c14e6,_0x2bdb28,_0x337eda,_0x384790){const _0x450c0a=_0x56d4b2;super(),this['_config']=_0x3e953c,this['_logService']=_0x4c14e6,this[_0x450c0a(0x4e9)]=_0x2bdb28,this[_0x450c0a(0x473)]=_0x337eda,this[_0x450c0a(0x2b9)]=_0x384790;const {..._0x331c68}=this[_0x450c0a(0x374)];this['_configService'][_0x450c0a(0x349)](Z,_0x331c68);}[_0x56d4b2(0x2ab)](){const _0x252d2a=_0x56d4b2;this[_0x252d2a(0x4d8)](),this[_0x252d2a(0x62f)]();}[_0x56d4b2(0x221)](){const _0x375c4d=_0x56d4b2;a[_0x375c4d(0x52e)](this['_injector'],[[Ve]]);}[_0x56d4b2(0x23e)](){const _0x260d3b=_0x56d4b2;this[_0x260d3b(0x28a)]();}[_0x56d4b2(0x4d8)](){const _0x2ab3bb=_0x56d4b2;var _0x26d2b3,_0x24b36c,_0x508d76,_0x364ee0;this[_0x2ab3bb(0x473)][_0x2ab3bb(0x341)](a[_0x2ab3bb(0x2fd)])&&this['_logService'][_0x2ab3bb(0x38d)](_0x2ab3bb(0x5a5),_0x2ab3bb(0x267));const _0x4d696f=[[a['IUndoRedoService'],{'useClass':It}],[exports[_0x2ab3bb(0x251)]],[Ot],[Pt,{'useClass':Nn}],[exports[_0x2ab3bb(0x2cc)]],[exports['LocalCacheService']],[z[_0x2ab3bb(0x1e5)]],[Be],[Fe],[ke],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0x24b36c=(_0x26d2b3=this[_0x2ab3bb(0x374)])==null?void 0x0:_0x26d2b3['socketService'])!=null?_0x24b36c:exports[_0x2ab3bb(0x419)]}],[p[_0x2ab3bb(0x508)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x2ab3bb(0x343)],{'useClass':exports[_0x2ab3bb(0x572)]}],[ne[_0x2ab3bb(0x5d7)],{'useClass':exports['ImageIoService']}],[a['IMentionIOService'],{'useClass':exports[_0x2ab3bb(0x284)]}],[exports[_0x2ab3bb(0x399)]],[exports[_0x2ab3bb(0x49b)]],[exports['DesktopCollaborationStatusDisplayController']],[Ve],[De]];(_0x508d76=this[_0x2ab3bb(0x374)])!=null&&_0x508d76[_0x2ab3bb(0x1d3)]&&_0x4d696f[_0x2ab3bb(0x322)]([qe,{'useClass':Pi}]),a['registerDependencies'](this[_0x2ab3bb(0x473)],a[_0x2ab3bb(0x53f)](_0x4d696f,(_0x364ee0=this[_0x2ab3bb(0x374)])==null?void 0x0:_0x364ee0[_0x2ab3bb(0x379)]));}[_0x56d4b2(0x28a)](){const _0x1fde76=_0x56d4b2;this[_0x1fde76(0x211)](this[_0x1fde76(0x4e9)][_0x1fde76(0x646)](a[_0x1fde76(0x5c7)]['UNIVER_DOC'],[mt])),this[_0x1fde76(0x211)](this['_renderManagerService'][_0x1fde76(0x646)](a[_0x1fde76(0x5c7)]['UNIVER_SHEET'],[gt]));}[_0x56d4b2(0x62f)](){const _0x57d5c1=_0x56d4b2;var _0x5d3941,_0x3938d7;this[_0x57d5c1(0x473)]['get'](z[_0x57d5c1(0x5ac)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':z[_0x57d5c1(0x2a8)]({'maxParallel':0x6})}),(_0x5d3941=this[_0x57d5c1(0x374)])!=null&&_0x5d3941[_0x57d5c1(0x454)]||this[_0x57d5c1(0x473)][_0x57d5c1(0x313)](exports[_0x57d5c1(0x541)])[_0x57d5c1(0x658)](),(_0x3938d7=this[_0x57d5c1(0x374)])!=null&&_0x3938d7['enableAuthServer']&&a[_0x57d5c1(0x52e)](this[_0x57d5c1(0x473)],[[Ge]]),a[_0x57d5c1(0x52e)](this[_0x57d5c1(0x473)],[[Ye],[De],[exports[_0x57d5c1(0x49b)]],[exports[_0x57d5c1(0x399)]],[exports[_0x57d5c1(0x652)]],[Ke]]);}},Qr(exports['UniverCollaborationClientPlugin'],_0x56d4b2(0x396),eo),exports['UniverCollaborationClientPlugin']=Zr([a[_0x56d4b2(0x294)](p[_0x56d4b2(0x36d)],z[_0x56d4b2(0x4f5)]),He(0x1,a[_0x56d4b2(0x270)]),He(0x2,K[_0x56d4b2(0x296)]),He(0x3,a[_0x56d4b2(0x226)](a[_0x56d4b2(0x1e7)])),He(0x4,a[_0x56d4b2(0x229)])],exports[_0x56d4b2(0x355)]),exports[_0x56d4b2(0x303)]=wt,exports[_0x56d4b2(0x212)]=Z,exports[_0x56d4b2(0x238)]=cn,exports[_0x56d4b2(0x22a)]=nn,exports[_0x56d4b2(0x4cd)]=q,exports[_0x56d4b2(0x33a)]=yn,exports['CommentService']=Tt,exports[_0x56d4b2(0x645)]=sn,exports['HEARTBEAT_TIMEOUT_KEY']=Ct,exports[_0x56d4b2(0x26a)]=bt,exports['IURLService']=Pt,exports[_0x56d4b2(0x510)]=an,exports['LOGIN_URL_KEY']=ln,exports[_0x56d4b2(0x33b)]=on,exports['SEND_CHANGESET_TIMEOUT_KEY']=Bn,exports[_0x56d4b2(0x3f0)]=en,exports[_0x56d4b2(0x4ff)]=tn,exports[_0x56d4b2(0x5d1)]=se,exports[_0x56d4b2(0x5bc)]=gn,exports[_0x56d4b2(0x4b1)]=Nn,exports[_0x56d4b2(0x610)]=un,exports['serializeCombRequest']=dn;
|