@univerjs-pro/collaboration-client 0.6.0-nightly.202501271606 → 0.6.0-nightly.202501291606
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/facade.js +1 -1
- 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/fr-FR.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/facade.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/fr-FR.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/umd/facade.js +1 -1
- 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/fr-FR.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 +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x5c0715=_0x5fe0;(function(_0x45b732,_0x3324d5){var _0x4d7fbc=_0x5fe0,_0x4685c0=_0x45b732();while(!![]){try{var _0x1aebb2=parseInt(_0x4d7fbc(0x458))/0x1*(parseInt(_0x4d7fbc(0x2a7))/0x2)+parseInt(_0x4d7fbc(0x20b))/0x3*(parseInt(_0x4d7fbc(0x49d))/0x4)+parseInt(_0x4d7fbc(0x2ff))/0x5*(-parseInt(_0x4d7fbc(0x30f))/0x6)+-parseInt(_0x4d7fbc(0x2c4))/0x7+-parseInt(_0x4d7fbc(0x21a))/0x8*(parseInt(_0x4d7fbc(0x22a))/0x9)+-parseInt(_0x4d7fbc(0x3e8))/0xa+parseInt(_0x4d7fbc(0x2fa))/0xb;if(_0x1aebb2===_0x3324d5)break;else _0x4685c0['push'](_0x4685c0['shift']());}catch(_0x28e13d){_0x4685c0['push'](_0x4685c0['shift']());}}}(_0x1ab3,0x30313));var Mt=Object[_0x5c0715(0x2d9)],xt=(_0x5e9436,_0x3deb70,_0x2c4ce4)=>_0x3deb70 in _0x5e9436?Mt(_0x5e9436,_0x3deb70,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c4ce4}):_0x5e9436[_0x3deb70]=_0x2c4ce4,D=(_0x3fcfdd,_0x548c29,_0x547bdc)=>xt(_0x3fcfdd,typeof _0x548c29!=_0x5c0715(0x29f)?_0x548c29+'':_0x548c29,_0x547bdc);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x5c0715(0x3bf)});const a=require('@univerjs/core'),H=require(_0x5c0715(0x276)),W=require(_0x5c0715(0x1fa)),q=require('@univerjs/network'),m=require('@univerjs-pro/collaboration'),jt=require('@univerjs/telemetry'),dt=require(_0x5c0715(0x46a)),J=require(_0x5c0715(0x1c0)),X=require(_0x5c0715(0x1d0)),$t=require(_0x5c0715(0x22b)),vt=_0x5c0715(0x1d4),Ht='/universer-api/snapshot',ft=_0x5c0715(0x398),kt='SEND_CHANGESET_TIMEOUT',Bt=0x7d0,St=_0x5c0715(0x2e8),pt=_0x5c0715(0x4b6),Ft=_0x5c0715(0x473),mt='HEARTBEAT_INTERVAL',Wt=0x7530,He=_0x5c0715(0x483),gt=0x4e20,Gt=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Kt=_0x5c0715(0x405),Yt=0x3e8,Et='COLLAB_SUBMIT_CHANGESET_URL',qt=_0x5c0715(0x1b8),Ct=_0x5c0715(0x47c),zt=_0x5c0715(0x317),Jt=_0x5c0715(0x2aa),Xt=_0x5c0715(0x477);var Tt=(_0x3b2c4d=>(_0x3b2c4d[_0x3b2c4d['UNDEFINED']=0x0]=_0x5c0715(0x2be),_0x3b2c4d[_0x3b2c4d['OK']=0x1]='OK',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x1bd)]=0x2]=_0x5c0715(0x1bd),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x2de)]=0x3]='PERMISSION_DENIED',_0x3b2c4d[_0x3b2c4d['NOT_FOUND']=0x4]='NOT_FOUND',_0x3b2c4d[_0x3b2c4d['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x491)]=0x6]=_0x5c0715(0x491),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x239)]=0x7]=_0x5c0715(0x239),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x301)]=0x8]=_0x5c0715(0x301),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x4c4)]=0x9]=_0x5c0715(0x4c4),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x3db)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x389)]=0x1771]=_0x5c0715(0x389),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x44a)]=0x1772]=_0x5c0715(0x44a),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x2b9)]=0x1773]=_0x5c0715(0x2b9),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x1bf)]=0x1b59]='APPLY_REJECT',_0x3b2c4d[_0x3b2c4d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5c0715(0x207),_0x3b2c4d[_0x3b2c4d['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5c0715(0x3ac),_0x3b2c4d[_0x3b2c4d['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5c0715(0x42b),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x4dc)]=0x1b5d]='APPLY_DUPLICATED',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x256)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x450)]=0x2329]=_0x5c0715(0x450),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x19e)]=0x232a]=_0x5c0715(0x19e),_0x3b2c4d[_0x3b2c4d['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x387)]=0x232c]=_0x5c0715(0x387),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x29e)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x343)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x251)]=0x2712]=_0x5c0715(0x251),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x361)]=0x2713]=_0x5c0715(0x361),_0x3b2c4d[_0x3b2c4d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5c0715(0x3a2),_0x3b2c4d[_0x3b2c4d[_0x5c0715(0x374)]=0x2af9]=_0x5c0715(0x374),_0x3b2c4d[_0x3b2c4d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3b2c4d))(Tt||{}),Z=(_0x482250=>(_0x482250[_0x482250['UNIVER_UNKNOWN']=0x0]=_0x5c0715(0x1a1),_0x482250[_0x482250[_0x5c0715(0x3d8)]=0x1]=_0x5c0715(0x3d8),_0x482250[_0x482250['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x482250[_0x482250['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x482250[_0x482250['UNIVER_PROJECT']=0x4]=_0x5c0715(0x4a4),_0x482250[_0x482250[_0x5c0715(0x2e2)]=-0x1]=_0x5c0715(0x2e2),_0x482250))(Z||{}),G=(_0x5ed2db=>(_0x5ed2db[_0x5ed2db[_0x5c0715(0x4b4)]=0x0]=_0x5c0715(0x4b4),_0x5ed2db[_0x5ed2db[_0x5c0715(0x32a)]=0x1]=_0x5c0715(0x32a),_0x5ed2db[_0x5ed2db[_0x5c0715(0x4bd)]=0x2]=_0x5c0715(0x4bd),_0x5ed2db[_0x5ed2db['LEAVE']=0x3]=_0x5c0715(0x360),_0x5ed2db[_0x5ed2db[_0x5c0715(0x1e6)]=0x4]='INGEST',_0x5ed2db[_0x5ed2db['HEARTBEAT']=0x5]=_0x5c0715(0x369),_0x5ed2db[_0x5ed2db[_0x5c0715(0x265)]=0x6]=_0x5c0715(0x265),_0x5ed2db[_0x5ed2db[_0x5c0715(0x2e2)]=-0x1]=_0x5c0715(0x2e2),_0x5ed2db))(G||{}),he=(_0x45fef0=>(_0x45fef0[_0x45fef0[_0x5c0715(0x3a1)]=0x0]=_0x5c0715(0x3a1),_0x45fef0[_0x45fef0['OK']=0x1]='OK',_0x45fef0[_0x45fef0[_0x5c0715(0x37a)]=0x2]=_0x5c0715(0x37a),_0x45fef0[_0x45fef0[_0x5c0715(0x46c)]=0x3e9]=_0x5c0715(0x46c),_0x45fef0[_0x45fef0[_0x5c0715(0x307)]=0x3ea]=_0x5c0715(0x307),_0x45fef0[_0x45fef0[_0x5c0715(0x3d4)]=0x3eb]=_0x5c0715(0x3d4),_0x45fef0[_0x45fef0[_0x5c0715(0x33b)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x45fef0[_0x45fef0[_0x5c0715(0x2e2)]=-0x1]=_0x5c0715(0x2e2),_0x45fef0))(he||{}),bt=(_0x85f7e4=>(_0x85f7e4[_0x85f7e4[_0x5c0715(0x208)]=0x0]=_0x5c0715(0x208),_0x85f7e4[_0x85f7e4[_0x5c0715(0x243)]=0x1]='HttpImport',_0x85f7e4[_0x85f7e4['HttpExport']=0x2]=_0x5c0715(0x37b),_0x85f7e4[_0x85f7e4[_0x5c0715(0x4ea)]=0x3]=_0x5c0715(0x4ea),_0x85f7e4[_0x85f7e4[_0x5c0715(0x2bd)]=0x4]=_0x5c0715(0x2bd),_0x85f7e4[_0x85f7e4[_0x5c0715(0x2e2)]=-0x1]=_0x5c0715(0x2e2),_0x85f7e4))(bt||{});const Y=_0x5c0715(0x2c0),Ke={};var Q=(_0x162bd8=>(_0x162bd8[_0x5c0715(0x351)]=_0x5c0715(0x351),_0x162bd8['PERMISSION_DENIED']=_0x5c0715(0x2de),_0x162bd8[_0x5c0715(0x4cc)]='CONFLICT',_0x162bd8[_0x5c0715(0x33c)]=_0x5c0715(0x33c),_0x162bd8[_0x5c0715(0x4b9)]=_0x5c0715(0x4b9),_0x162bd8['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x162bd8[_0x5c0715(0x4f8)]=_0x5c0715(0x4f8),_0x162bd8['SUBMIT_CHANGESET_TIMEOUT']=_0x5c0715(0x456),_0x162bd8))(Q||{});class te{constructor(){var _0x588512=_0x5c0715;D(this,'_event$',new H[(_0x588512(0x2bb))]()),D(this,_0x588512(0x2ac),this[_0x588512(0x3ef)][_0x588512(0x2ae)]());}['emitEvent'](_0x37b66b){var _0x37a2b7=_0x5c0715;this['_event$'][_0x37a2b7(0x195)](_0x37b66b);}}const Rt=a[_0x5c0715(0x47f)]('univer-pro.collaboration-client.network-condition.service');function _0x1ab3(){var _0x8b824=['members','_state','INetworkConditionService','eventID','IDLE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','/universer-api/oidc/authpage','charAt','forEach','newCsEvent','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','unit-cache-','AES','LocalUndoRedoService','ISocketService','UniverInstanceType','OpenSSL','/universer-api/authz','_reverseMap','reconnect','_rescheduleHeartbeat','list','get','getInterceptPoints','Decryptor','HELLO','complete','merge','[CollaborationSessionService]','_roomCreated$','OfflineState','StreamCipher','conflict','_authzIoService','createInstance','_updateStatus','append','send','_toggleOnline','getCurrentUser','ICommandService','OTHER_CLIENTS_EDITING','GLOBAL_ROOMS_CNT_EXCEEDS','CLOSE_ROOM','session.room-cnt-exceeds','crypto','change$','file','kdf','apply','YUUMI_UNABLE_LOAD_URL','initWorkbookPermissionChange','/block/','random','DataLoaderService','WordArray','code','max','slice','patch','wsSessionTicketUrl','_loadDoc','duration','MentionType','OTHER_CLIENT_EDITING','resend','_networkConditionService','_startCollaboration','fetch_missing','CollaborationImageIoService','_onCombEvent','workbook','USERS_ENTER','univer-pro.collaboration-client-socket-service','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_startTelemetryCollaborationNewChangeset','_clearScheduledTask','Disposable','pauseCollaboration','LEAVE','YUUMI_RATE_OVER_LIMIT','IAuthzIoService','_getRedoStack','_candidateSocket','_telemetryInfo','objects','getUnitId','SHA1','HEARTBEAT','call','online$','_hash','addImageSourceCache','DocCollaborationEntity','_getSessionTicket','MUTATION','transformSelections','_clearLocalCache','loadSheet','PY_RUNTIME_SCRIPT_ERROR','COMPRESS_MUTATION_SEND','format','editing\x20status\x20changed\x20to','pending','socket$','FAIL','HttpExport','sendChangesetTimeout','DEFAULT_COLLAB_WEB_SOCKET_URL','_exhaustRemoteChangesetQueue','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/-/object/list','userID','_initUnitPermissionChange','LIVESHARE_FETCH_OPERATIONS','sessionTicket','_getUndoStack','_changesetReqId','LICENSE_EXPORT_SIZE_EXCEEDED','_substituteUndoStack','SNAPSHOT_INVALID_SNAPSHOT','clone','size','/universer-api/snapshot/','_socketMessageSubscription','UniverCollaborationClientPlugin','processBlock','snapshotServerUrl','msCrypto','CollaborationStatus','DependentOn','_localCacheService','liveShareNewHost','_remoteChangesetQueue','getImageSourceCache','SNAPSHOT_URL_KEY','shouldCloseConn','image/bmp','Malformed\x20UTF-8\x20data','getConfig','_snapshotService','_transformUndoredo','onStarting','repeat','UNKNOWN_CODE','YUUMI_SUBSCRIPTION_NOT_FOUND','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','rev','getOwnPropertyDescriptor','_nDataBytes','CHANGESET_SHOULD_RETRY','toDisposable','putCollaborators','push','byteLength','APPLY_REVISION_CONFILICT','/object/','PendingState','onRemoteChangeset','/universer-api/stream/file/upload','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','LocaleService','function','isTransformChangesetsSuccess','collaMsg','sid','_collaborationSessionService','DisposableCollection','unknown','_imageSourceCache','randomBytes','_transformIMECache','unitId','_collaborationTimeoutTimer','Module','onTransformRemoteChangesetByIMECache','blockSize','awaitingChangeset','_isPermissionRej','SessionStatus','_httpService','clamp','IContextService','AWAITING_WITH_PENDING','collaborators','[CollaborationSession]','JSONX','MD5','CollaborationSessionService','_instanceService','Latin1','pipe','LIVESHARE_TERMINATE','_revisionService','socket\x20close','JOIN_ROOM_PERMISSION_DENIED','focused$','getTypeOfUnitDisposed$','HTTPService','UNIVER_DOC','_initRequestHeader','_commentUpdate$','CHANGESET_REVISION_CONFILICT','BlockCipherMode','BehaviorSubject','ISingleActiveUnitService','loginUrlKey','HEARTBEAT_TIMEOUT_KEY','retryConnectingInterval','_initDependencies','touchDependencies','_createHelper','getSnapshotAPIPath','/unit/','transformUndoRedo','2795110ocxRMB','toggleOffline','setShowComponents','extend','ONLINE','_replayCachedMutations','type','_event$','emitEvent','/collaborator','textRanges','_tryEnsureSocket','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_xformMode','updatePermissionPoint','_data','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','values','every','take','toString','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','commentUpdate$','LIVESHARE_REQUEST_HOST','_removeRoom','src','getFocusedUnit','/universer-api/file/{fileID}/sign-url','getTime','LOCAL_CACHE_INTERVAL','_handler','entityInit$','BufferedBlockAlgorithm','awaiting_with_pending','updateOfflineData','ITelemetryService','onTransformRemoteChangesetByStateCache','IPermissionService','words','roomInfos','set','state','_tryReconnect','ConflictState','InsertSheetMutation','_scheduleCollaborationTimeoutTimer','_socket$','LIVESHARE_OPERATION','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','localCacheService','_doFinalize','Rectangle','FETCH_MISS','NOT_COLLAB','RETRY_CONNECTING_MAX_COUNT_KEY','confirm','_transformRemoteChangesetByIMECache','SHOULD_CLOSE_CONN','_socket','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onRemoteRejected','CommentService','[UniverCollaborationClientPlugin]','NEW_CHANGESETS','[FetchMissState]','onlyLocal','UUID','APPLY_PERMISSION_DENIED','members$','getUnitType','_checkMissing','_updateState','getUnit','RxDisposable','sequenceExecute','Injector','session.room-not-exists','getCollabEntity','_iv','_handlerCallback','addHandlerCallback','_onOffline','_queuedRemoteChangesets','_hasher','localeService','_updateLocalCache','_lockTransition','init','onTransformIME','_createHandler','_syncEditingCollabCursor','target','_configService','_univerInstanceService','_key','ticket','CollaborationSocketService','createDecryptor','SNAPSHOT_HAS_BEEN_REMOVED','_clearHeartbeatTimer','_socketReady','IImageIoService','HmacSHA1','\x0aCurrent:\x20','LICENSE_MAX_UNITS_EXCEEDED','_status$','HMAC','delay','getUnitStatus$','_createHmacHelper','SUBMIT_CHANGESET_TIMEOUT','incrementRevOfUnit','1fshkUD','sigBytes','&assign=','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','cmd','shareReplay','objectActions','has','_http','PERMISSION_REJ','b64DecodeUnicode','signUrlServerUrl','takeUntil','AwaitingWithPendingState','c1Prime','getSheetBlock','IConfigService','COMPRESS_MUTATION_APPLY','@univerjs/docs','_state$','JOIN_ROOM_FULL','originalMeta','PERSON','_transformSelections','_telemetryService','actions','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/universer-api/user/session-ticket','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','post','USERS_LEAVE','/universer-api/uniscript','charCodeAt','closeSession','/resources','startTime','LOGIN_URL_KEY','csRejEvent','OFFLINE','createIdentifier','_transformStack','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','padding','HEARTBEAT_TIMEOUT','serializeCombRequest','session.join-failed','_getAPIPrefixPath','AUTHZ_URL_KEY','getSheetId','_incrementRevisionNumber','_disableEditing','IUniverInstanceService','JOINING','reset','onRemoteAck','application/json','collabWebSocketUrl','ALREADY_EXISTS','reverse','snapshot','allowed','NO_OTHER_CLIENTS_EDITING','IUndoRedoService','UNISCRIPT_RUN','floor','searchParams','onMissingChangesets','Inject','debug','4268MGvfQY','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ILogService','/object','collaboration_new_changeset','_registerDependencies','onRemoteRetry','UNIVER_PROJECT','_getAPIPrefix','_getCtorByUniverType','reduce','_transformService','_append','OPTIONAL','EmptyMutation','_cipher','reject','fetchMiss','add','commentUpdateEvent','leaveEvent','onSyncEditingCollabCursor','_createInitialStateImpl','UNKNOWN_CMD','COLLAB_SUBMIT_CHANGESET_URL_KEY','ws://127.0.0.1:8000/universer-api/comb/connect','fetchThroughInterceptors','_getLoginPath','JOIN_ROOM_FAILED','UPDATE_PERMISSION_OBJ','BASE64','FetchingMissState','JOIN','_permissionService','editingUnit','location','_logService','string','error$','COMPLETION_FINISHED','status','_clearUndo','getMember','_memberService','connection\x20error','_transformStateCache','Univer','CONFLICT','map','decrypt','getTypeOfUnitAdded$','UNIVER_SHEET','_commandService','_onConflict','saveChangeset','_onJoinRoomEvent','Optional','_changesetSessionId','mutations','title','exports','encode','_unitID','APPLY_DUPLICATED','unpad','setWaitCount','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','abs','_init','_loadSheet','\x20in\x20_schedule.','UserManagerService','_roomMembers','filter','isPermissionRej','__esModule','resourceIDs','UnitEmbedded','splice','_sessionStatus$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_undoRedoService','Base','encryptBlock','toggleOnline','algo','_showConflictNotification','NoPadding','onTransformState','buffer','finalize','SOCKET_FAILED','[CollaborationUndoRedoService]','SetSelectionsOperation','_fetchMissChangesets','dispose','_throwTelemetryCollaborationNewChangeset','compute','encrypt','fromCharCode','_resendTimer','m2Prime','_ENC_XFORM_MODE','now','fetching\x20missing\x20changesets\x20from\x20','encodeURIComponent','range','_mode','AWAITING','saveSnapshot','&to=','next','onRemoteRej','_prevBlock','objectID','?url=','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[CollaborationEntity]','_onRemoteACK','keySize','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_clearRedo','_scheduleCompleteTimestamp','UNIVER_UNKNOWN','_submitChangeset','_shouldReportTelemetry','url','permissionRejEvent','from','salt','BlockCipher','Workbook','compose','transformChangesets','_createInitialState','_onLocalMutation','put','_compressMutationService','MemberService','_collabSessionService','length','IMentionIOService','joinEvent','ImageUploadStatusType','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','LOCAL_CACHE_INTERVAL_KEY','/universer-api/comb','CompressMutationService','UPDATE_CURSOR','enableOfflineEditing','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','INTERNAL_ERROR','uploadFileServerUrl','APPLY_REJECT','@univerjs/sheets','reqId','HEARTBEAT_INTERVAL_KEY','{fileID}','SheetTransformSelectionsService','isArray','_initCloseConn','removeMember','FileId','_sendingTimer','_createSocketURL','subject','_nRounds','dispose$','joinRsp','People','@univerjs/drawing','_timeoutTimer','includes','_transitionLocked','SNAPSHOT_SERVER_URL_KEY','UNIVER_COLLABORATION_CLIENT_PLUGIN','parseChangesetToProtocol','image/jpg','loadOfflineData','generateRandomId','SUBMIT_CHANGESET','_singleActiveUnitService','unitInfo$','onMissedChangesetFetched','_transformRemoteChangesetByStateCache','getMemberID','onSendChangeset','_doProcessBlock','update','status$','__creator','_onUserLeave','INGEST','?size=','key','session','_parse','hasOwnProperty','listCollaborators','_onRemoteRetry','csAckEvent','/allowed','_awaitingChangeset','SheetPermissionInitController','EvpKDF','ivSize','close','_substituteRedoStack','body','_unlockTransition','/rev/','ceil','rxjs/operators','mixIn','getCurrentRevOfUnit','open$','onTransformSelections','updateCollaborator','saveSheetBlock','_emitMembers','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CommandType','uniscriptRunEvent','WorkbookEditablePermission','_onConnectionFailed','APPLY_NON_SEQUENTIAL_REVISION','Undefined','_replaceFileID','_waitForHeartbeatResponse','1011YyJCyK','x-univer-host','equals','_toggleOffline','infoRsp','CBC','synced','PSEUDO_FETCH_MISSING_RESULT','onStateChange','_invKeySchedule','COMMENT_UPDATE','entries','default','auth.needGotoLoginAlert','_unitInfo$','120zqTvnv','requireSession','Could\x20not\x20dynamically\x20require\x20\x22','join','isTransformMutationsWithChangesetSuccess','RichTextEditingMutation','_sendHeartbeat','toLowerCase','min','_getSendChangesetTimeout','_getCurrentRevision','avatar','_oKey','SheetsSelectionsService','readAsDataURL','AuthzIoHttpService','189666TauWwR','@univerjs-pro/license','_DEC_XFORM_MODE','session.room-permission-denied','FETCH_MISSING','_entityInit$','responseType','createSocket','_members$','_executeRemoteChangeset','_listenToNetworkCondition','Tools','revision','message$','_undoStacks','INVALID_ARGUMENT','transformMutationsWithChangeset','_snapshotServerService','[OfflineState]:\x20received\x20changeset.','Base64','Encryptor','executeCommand','UniverCollaborationPlugin','copyFileMeta','PasswordBasedCipher','HttpImport','hostname','unsubscribe','Utf8','updatePermissionObjEvent','fetchMissingChangesets','state$','_clearCollaborationTimeoutTimer','enableAuthServer','_sheetTransformSelectionsService','parse','sessionStatus','subscribe','waitForRoom$','YUUMI_URL_COL_OUT_OF_RANGE','_schedule','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getResourcesRequest','\x0aAfter:\x20','CONNECTOR_DATA_TOO_LARGE','_stopTelemetryCollaborationNewChangeset','UnitStatus','SerializableCipher','registerHTTPInterceptor','_commentService','hasher','[DataLoaderService]','appendMutation','_sender','_doCryptBlock','_createSocket','Error\x20on\x20receiving\x20event','iterations','_change$','RECV','_iKey','byteOffset','_process','create','stringify','liveShareOperation','name','stopTime','_applyRemoteChangeset','_resendTimeout','refreshPermission','awaiting','runId','ISnapshotServerService','CHANGESET_REJ','save\x20fail\x20reason\x20is\x20','rxjs','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','SYNCED','mode','AwaitingState','_getSignURL','getRandomValues','SnapshotService','mapDocumentTypeToUniverType','ImageSourceType','DEFAULT_FILE_NAME','image/jpeg','delete','POST','changesets','CollaborationUIEventId','_pendingMutations','prototype','_clearTimeoutTimer','telemetry\x20info\x20is\x20not\x20initialized','_minBufferSize','textEncoder','_entities','cfg','href','_redoStacks','_retryCount','randomUUID','onCommentUpdate','updateMember','objectType','memberID','bind','authzUrl','formatter','_map','_sessions','collaboratorID','_collaborationPaused','enc','LICENSE_DISTRO_REJECTED','symbol','disableLocalCache','parseProtocolChangeset','createEncryptor','\x20-\x20','HmacMD5','data','baseRev','114438aEFsgi','[CollaborationSessionService]:\x20socket\x20error','concat','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_type','event$','_retryConnectingTimer','asObservable','decryptBlock','/-/object/-/batch_allowed','RevisionService','_onRemoteChangeset','getLatestCsReqIdBySid','routeKey','pluginName','_keyPriorReset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','CollaborationController','ENSURE_SNAPSHOT_EXECUTION','_eventService','Subject','MergeInterceptorFactory','UnitSnapshot','UNDEFINED','params','collaboration-client.config','_onMessage','ILocalCacheService','Cipher','1879780iUggGw','getDeserializedSheetBlock','_HTTPService','_onRecvEvent','downloadEndpointUrl','search','c2Prime','CHANGESET_ACK','_sendHeartbeatTimer','CollaborationSession','SnapshotServerOverHTTPService','find','_onConnectionOpen','MentionIoHttpService','[SyncedState]:\x20received\x20acknowledgement.','SyncedState','ciphertext','_userManagerService','_resendWithTimeout','_collaborationUIEventService','[OfflineState]:\x20received\x20acknowledgement.','defineProperty','getUnitOnRev','CollaborationEntity','unitID','CollaborationEvent','PERMISSION_DENIED','_onUserJoin','_acknowledgedAwaitingChangeset','clear','UNRECOGNIZED','onCommandExecuted','Plugin','sin','error','pad','COLLAB_WEB_SOCKET_URL','Pkcs7','interceptor','selections','[PendingState]:\x20received\x20acknowledgement.','CipherParams','SheetCollaborationEntity','CollaborativeUndoRedoService','ReplaySubject','isInternalEditorID','result','_joinRoom','requestParams','findIndex','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','disposeWithMe','_onFetchMissResult','_socketService','11179674HVeUZb','/new_changes','headers','execute','ITransformService','10TNwOgf','$super','TOO_MANY_REQUESTS','lib','collaboration-client.local-cache-service','_members','_injector','_decreaseWaiting','JOIN_ROOM_NOT_EXISTS','close$','_waitCount','replace','_config','sessionStatus$','offline','ERROR_IMAGE','1114728AVJKEf','_localeService'];_0x1ab3=function(){return _0x8b824;};return _0x1ab3();}function Ot(_0x1df7b7){var _0x24c74e=_0x5c0715,_0x5ec3b0,_0x13f924,_0x4cafb6,_0x1db353,_0x95e6e3;const _0x42e249=_0x1df7b7[_0x24c74e(0x2a5)],_0x3221fc=JSON[_0x24c74e(0x24d)](_0x42e249);switch(_0x3221fc['cmd']){case G[_0x24c74e(0x369)]:case G[_0x24c74e(0x32a)]:{const _0x57afcf=_0x3221fc[_0x24c74e(0x20f)];return{..._0x3221fc,'data':_0x57afcf,'cmd':_0x3221fc['cmd']};}case G[_0x24c74e(0x4bd)]:{const _0x5e2d3f=_0x3221fc[_0x24c74e(0x1ce)];return{..._0x3221fc,'data':_0x5e2d3f,'cmd':_0x3221fc[_0x24c74e(0x45c)]};}case G[_0x24c74e(0x265)]:{const _0x4d995b=_0x3221fc[_0x24c74e(0x3b5)];switch(_0x4d995b[_0x24c74e(0x314)]){case m[_0x24c74e(0x2dd)][_0x24c74e(0x461)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':(_0x5ec3b0=_0x4d995b[_0x24c74e(0x1a5)])==null?void 0x0:_0x5ec3b0['cs']},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)][_0x24c74e(0x2cb)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':(_0x13f924=_0x4d995b[_0x24c74e(0x1ee)])==null?void 0x0:_0x13f924['cs']},'cmd':_0x3221fc['cmd']};case m[_0x24c74e(0x2dd)]['NEW_CHANGESETS']:return{..._0x3221fc,'data':{..._0x4d995b,'data':(_0x4cafb6=_0x4d995b[_0x24c74e(0x31a)])==null?void 0x0:_0x4cafb6['cs']},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)][_0x24c74e(0x274)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':(_0x1db353=_0x4d995b[_0x24c74e(0x47d)])==null?void 0x0:_0x1db353['cs']},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)]['CHANGESET_SHOULD_RETRY']:return{..._0x3221fc,'data':{..._0x4d995b,'data':(_0x95e6e3=_0x4d995b['csShouldRetryEvent'])==null?void 0x0:_0x95e6e3['cs']},'cmd':_0x3221fc['cmd']};case m[_0x24c74e(0x2dd)][_0x24c74e(0x1ba)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b['updateCursorEvent']},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)][_0x24c74e(0x359)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x1b4)]},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m['CollaborationEvent'][_0x24c74e(0x476)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x4b1)]},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)]['LIVESHARE_NEW_HOST']:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x395)]},'cmd':_0x3221fc['cmd']};case m[_0x24c74e(0x2dd)][_0x24c74e(0x383)]:case m['CollaborationEvent'][_0x24c74e(0x417)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x26b)]},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m['CollaborationEvent'][_0x24c74e(0x3d1)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b['liveShareNewHost']},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)]['MSG_FOR_ERROR']:return{..._0x3221fc,'data':_0x4d995b,'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)][_0x24c74e(0x215)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x4b0)]},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)][_0x24c74e(0x4ba)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x247)]},'cmd':_0x3221fc[_0x24c74e(0x45c)]};case m[_0x24c74e(0x2dd)][_0x24c74e(0x421)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x399)]},'cmd':_0x3221fc['cmd']};case m[_0x24c74e(0x2dd)][_0x24c74e(0x497)]:return{..._0x3221fc,'data':{..._0x4d995b,'data':_0x4d995b[_0x24c74e(0x204)]},'cmd':_0x3221fc[_0x24c74e(0x45c)]};default:return _0x3221fc;}}default:return _0x3221fc;}}function yt(_0x136a6c){var _0x5e2eb1=_0x5c0715;switch(_0x136a6c[_0x5e2eb1(0x45c)]){case G[_0x5e2eb1(0x369)]:case G[_0x5e2eb1(0x32a)]:return JSON[_0x5e2eb1(0x26a)]({'cmd':_0x136a6c[_0x5e2eb1(0x45c)],'routeKey':_0x136a6c['routeKey']});case G[_0x5e2eb1(0x1e6)]:{let _0x43fe00;switch(_0x136a6c['data']['eventID']){case m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x1ba)]:{_0x43fe00={'eventID':m['CollaborationEvent'][_0x5e2eb1(0x1ba)],'updateCursorEvent':_0x136a6c[_0x5e2eb1(0x2a5)][_0x5e2eb1(0x2a5)]};break;}case m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x476)]:{_0x43fe00={'eventID':m['CollaborationEvent'][_0x5e2eb1(0x476)],'leaveEvent':_0x136a6c[_0x5e2eb1(0x2a5)][_0x5e2eb1(0x2a5)]};break;}case m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x359)]:{_0x43fe00={'eventID':m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x359)],'joinEvent':_0x136a6c[_0x5e2eb1(0x2a5)][_0x5e2eb1(0x2a5)]};break;}case m[_0x5e2eb1(0x2dd)]['LIVESHARE_NEW_HOST']:{_0x43fe00={'eventID':m['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x136a6c[_0x5e2eb1(0x2a5)][_0x5e2eb1(0x2a5)]};break;}case m[_0x5e2eb1(0x2dd)]['LIVESHARE_OPERATION']:{_0x43fe00={'eventID':m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x417)],'liveShareOperation':_0x136a6c[_0x5e2eb1(0x2a5)]['data']};break;}case m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x3d1)]:{_0x43fe00={'eventID':m['CollaborationEvent'][_0x5e2eb1(0x3d1)],'liveShareTerminate':_0x136a6c[_0x5e2eb1(0x2a5)][_0x5e2eb1(0x2a5)]};break;}case m['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x43fe00={'eventID':m[_0x5e2eb1(0x2dd)][_0x5e2eb1(0x3ff)],'liveShareRequestHost':_0x136a6c['data'][_0x5e2eb1(0x2a5)]};break;}case m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x43fe00={'eventID':m['CollaborationEvent'][_0x5e2eb1(0x383)]};break;}default:_0x43fe00={'eventID':_0x136a6c[_0x5e2eb1(0x2a5)][_0x5e2eb1(0x314)]};}return JSON[_0x5e2eb1(0x26a)]({'cmd':_0x136a6c[_0x5e2eb1(0x45c)],'routeKey':_0x136a6c[_0x5e2eb1(0x2b4)],'collaMsg':_0x43fe00});}case G[_0x5e2eb1(0x4bd)]:return JSON[_0x5e2eb1(0x26a)]({'cmd':_0x136a6c[_0x5e2eb1(0x45c)],'routeKey':_0x136a6c[_0x5e2eb1(0x2b4)],'joinReq':_0x136a6c[_0x5e2eb1(0x2a5)]});case G['LEAVE']:return JSON[_0x5e2eb1(0x26a)]({'cmd':_0x136a6c[_0x5e2eb1(0x45c)],'routeKey':_0x136a6c['routeKey'],'leaveReq':_0x136a6c[_0x5e2eb1(0x2a5)]});default:throw new Error(_0x5e2eb1(0x3a3));}}var Zt=Object[_0x5c0715(0x2d9)],Qt=Object['getOwnPropertyDescriptor'],en=(_0x4bcd6,_0x5e1189,_0x5ba20a,_0x50c15d)=>{for(var _0x3410d5=_0x50c15d>0x1?void 0x0:_0x50c15d?Qt(_0x5e1189,_0x5ba20a):_0x5e1189,_0x1b97ea=_0x4bcd6['length']-0x1,_0x1c875b;_0x1b97ea>=0x0;_0x1b97ea--)(_0x1c875b=_0x4bcd6[_0x1b97ea])&&(_0x3410d5=(_0x50c15d?_0x1c875b(_0x5e1189,_0x5ba20a,_0x3410d5):_0x1c875b(_0x3410d5))||_0x3410d5);return _0x50c15d&&_0x3410d5&&Zt(_0x5e1189,_0x5ba20a,_0x3410d5),_0x3410d5;},ue=(_0x2b6f4e,_0x3c7753)=>(_0x118198,_0x57b401)=>_0x3c7753(_0x118198,_0x57b401,_0x2b6f4e);function _0x5fe0(_0x3572c2,_0x410b7b){var _0x1ab3c2=_0x1ab3();return _0x5fe0=function(_0x5fe049,_0x4a335a){_0x5fe049=_0x5fe049-0x185;var _0x1834a8=_0x1ab3c2[_0x5fe049];return _0x1834a8;},_0x5fe0(_0x3572c2,_0x410b7b);}const ke=a[_0x5c0715(0x47f)](_0x5c0715(0x35a));function tn(_0x706ea3,_0x340d70,_0x3ce390){var _0x119dae=_0x5c0715;return _0x706ea3+'/'+_0x340d70+_0x119dae(0x3e6)+_0x3ce390+_0x119dae(0x2fb);}exports[_0x5c0715(0x448)]=class extends a['Disposable']{constructor(_0x1a0f6f,_0x2cfbc3,_0x664c9,_0x1cc9e3,_0x578239){var _0x489865=_0x5c0715;super(),this[_0x489865(0x305)]=_0x1a0f6f,this[_0x489865(0x460)]=_0x2cfbc3,this[_0x489865(0x444)]=_0x664c9,this[_0x489865(0x4c1)]=_0x1cc9e3,this[_0x489865(0x23b)]=_0x578239;}[_0x5c0715(0x231)](_0x517a7c){var _0x544e17=_0x5c0715;const _0x116f4c=this[_0x544e17(0x305)][_0x544e17(0x327)](q[_0x544e17(0x31f)]);if(!_0x116f4c)throw new Error(_0x544e17(0x277));const _0x5b9922=_0x116f4c[_0x544e17(0x231)](_0x517a7c);if(!_0x5b9922)throw new Error(_0x544e17(0x253));const _0xe54cf5=new a[(_0x544e17(0x3b8))](),_0x4603d5=new H['Subject']();_0xe54cf5[_0x544e17(0x4af)](_0x5b9922[_0x544e17(0x308)][_0x544e17(0x24f)](_0x4719f7=>_0x4603d5[_0x544e17(0x195)](_0x4719f7))),_0xe54cf5[_0x544e17(0x4af)](a[_0x544e17(0x3a8)](()=>_0x4603d5['complete']()));const _0x2d883c=new H[(_0x544e17(0x2bb))]();_0xe54cf5[_0x544e17(0x4af)](_0x5b9922[_0x544e17(0x4c3)]['subscribe'](_0x51b68d=>_0x2d883c[_0x544e17(0x195)](_0x51b68d))),_0xe54cf5[_0x544e17(0x4af)](a[_0x544e17(0x3a8)](()=>_0x2d883c['complete']()));const _0x5b7b0c=new H[(_0x544e17(0x2bb))]();_0xe54cf5[_0x544e17(0x4af)](_0x5b9922[_0x544e17(0x237)][_0x544e17(0x24f)](_0x9671a2=>{const _0x544411=Ot(_0x9671a2);_0x5b7b0c['next'](_0x544411);})),_0xe54cf5[_0x544e17(0x4af)](a[_0x544e17(0x3a8)](()=>_0x5b7b0c[_0x544e17(0x32b)]()));let _0x58f1ff;const _0xbd4ff7=()=>{var _0x434be5=_0x544e17;_0x2d883c[_0x434be5(0x195)](new Event(_0x434be5(0x4c9))),_0x4603d5[_0x434be5(0x195)](new CloseEvent('connection\x20error')),_0x58f1ff['close']();};return _0x58f1ff={'memberID':'','close$':_0x4603d5[_0x544e17(0x2ae)](),'error$':_0x2d883c['asObservable'](),'open$':_0x5b9922['open$'],'message$':_0x5b7b0c[_0x544e17(0x2ae)](),'send':_0x4558b3=>{var _0x47ba6f=_0x544e17;if(_0x4558b3[_0x47ba6f(0x45c)]===G[_0x47ba6f(0x1e6)]){if(_0x4558b3['data']['eventID']===m[_0x47ba6f(0x2dd)][_0x47ba6f(0x1da)]){this[_0x47ba6f(0x1a2)](_0x58f1ff,_0x4558b3[_0x47ba6f(0x2a5)])['catch'](_0x107279=>{var _0x193189=_0x47ba6f;this[_0x193189(0x4c1)][_0x193189(0x2e6)](_0x107279),_0xbd4ff7();});return;}if(_0x4558b3[_0x47ba6f(0x2a5)][_0x47ba6f(0x314)]===m['CollaborationEvent'][_0x47ba6f(0x22e)]){const _0x1fe165=_0x4558b3[_0x47ba6f(0x2a5)];this[_0x47ba6f(0x4fb)](_0x1fe165)['then'](_0x210d63=>{var _0x3d85fb=_0x47ba6f;_0x5b7b0c[_0x3d85fb(0x195)]({'cmd':G['RECV'],'code':he['OK'],'routeKey':_0x1fe165[_0x3d85fb(0x2a5)][_0x3d85fb(0x2dc)],'routeType':'','data':{'eventID':m[_0x3d85fb(0x2dd)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x210d63}}});})['catch'](_0x3ceb4e=>{var _0xe6e348=_0x47ba6f;this[_0xe6e348(0x4c1)][_0xe6e348(0x2e6)](_0x3ceb4e),_0xbd4ff7();});return;}}_0x5b9922['send'](yt(_0x4558b3));},'close':()=>{var _0x3ac766=_0x544e17;_0x5b9922[_0x3ac766(0x1f4)](),_0xe54cf5[_0x3ac766(0x185)]();}},_0x58f1ff;}async[_0x5c0715(0x1a2)](_0x2e9a19,_0x417e91){var _0x565de7=_0x5c0715,_0xedf0aa,_0x5a9cba;const {unitType:_0x392d78,unitID:_0x25fe7,changeset:_0x1a697d}=_0x417e91[_0x565de7(0x2a5)],_0x324ac6={'unitID':_0x25fe7,'memberID':_0x2e9a19[_0x565de7(0x295)],'type':_0x392d78,'changeset':m[_0x565de7(0x1d6)](_0x1a697d)},_0x8105f9=this['_configService'][_0x565de7(0x39c)](Et),_0x2c5ce2=this['_configService'][_0x565de7(0x39c)](Y),_0x4faaa2=tn((_0x5a9cba=(_0xedf0aa=_0x2c5ce2==null?void 0x0:_0x2c5ce2['collabSubmitChangesetUrl'])!=null?_0xedf0aa:_0x8105f9)!=null?_0x5a9cba:qt,_0x392d78,_0x25fe7);try{await this[_0x565de7(0x460)][_0x565de7(0x475)](_0x4faaa2,{'body':_0x324ac6});}catch(_0x2b6527){throw this[_0x565de7(0x4c1)][_0x565de7(0x2e6)](_0x565de7(0x3ca),'submit\x20changeset\x20error!'),_0x2b6527;}}async[_0x5c0715(0x4fb)](_0x34ae72){var _0x4522ab=_0x5c0715;const {unitID:_0x81c4ca,from:_0x1d4367,to:_0x3c8449,unitType:_0x94f663}=_0x34ae72[_0x4522ab(0x2a5)];return(await this[_0x4522ab(0x23b)][_0x4522ab(0x248)]({'metadata':void 0x0},{'unitID':_0x81c4ca,'type':_0x94f663,'from':_0x1d4367,'to':_0x3c8449}))[_0x4522ab(0x284)];}},exports[_0x5c0715(0x448)]=en([ue(0x0,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),ue(0x1,a[_0x5c0715(0x49b)](q[_0x5c0715(0x3d7)])),ue(0x2,a['IConfigService']),ue(0x3,a[_0x5c0715(0x49f)]),ue(0x4,m[_0x5c0715(0x273)])],exports[_0x5c0715(0x448)]);const nn=_0x5c0715(0x4a1);function rn(_0x45f14a){var _0xc2183a=_0x5c0715;return JSON[_0xc2183a(0x26a)](_0x45f14a)[_0xc2183a(0x1b2)];}class Be{constructor(){var _0x362a48=_0x5c0715;D(this,'_commentUpdate$',new H['Subject']()),D(this,_0x362a48(0x3fe),this[_0x362a48(0x3da)][_0x362a48(0x2ae)]());}[_0x5c0715(0x292)](_0x1f04bd){var _0x5736f4=_0x5c0715;this[_0x5736f4(0x3da)]['next'](_0x1f04bd);}}var sn=Object['defineProperty'],on=Object[_0x5c0715(0x3a5)],an=(_0x338498,_0x5e7f7e,_0x2e46d9,_0x1d93b7)=>{for(var _0x506376=_0x1d93b7>0x1?void 0x0:_0x1d93b7?on(_0x5e7f7e,_0x2e46d9):_0x5e7f7e,_0x77b3cf=_0x338498['length']-0x1,_0x2583e9;_0x77b3cf>=0x0;_0x77b3cf--)(_0x2583e9=_0x338498[_0x77b3cf])&&(_0x506376=(_0x1d93b7?_0x2583e9(_0x5e7f7e,_0x2e46d9,_0x506376):_0x2583e9(_0x506376))||_0x506376);return _0x1d93b7&&_0x506376&&sn(_0x5e7f7e,_0x2e46d9,_0x506376),_0x506376;},Ye=(_0x3b60a7,_0x4030c5)=>(_0x306f18,_0x5bbf6d)=>_0x4030c5(_0x306f18,_0x5bbf6d,_0x3b60a7);exports[_0x5c0715(0x1b0)]=class extends a['Disposable']{constructor(_0x2c3d16,_0x2547b7){var _0xd44f7c=_0x5c0715;super(),D(this,_0xd44f7c(0x4e5),new Map()),D(this,'_roomCreated$',new H[(_0xd44f7c(0x2bb))]()),(this['_univerInstanceService']=_0x2c3d16,this[_0xd44f7c(0x2d5)]=_0x2547b7,this[_0xd44f7c(0x2f7)](H[_0xd44f7c(0x32c)](this[_0xd44f7c(0x445)][_0xd44f7c(0x3d6)](a[_0xd44f7c(0x320)]['UNIVER_SHEET'])[_0xd44f7c(0x3d0)](W[_0xd44f7c(0x4cd)](_0x544003=>_0x544003[_0xd44f7c(0x367)]())),this[_0xd44f7c(0x445)][_0xd44f7c(0x3d6)](a[_0xd44f7c(0x320)][_0xd44f7c(0x3d8)])['pipe'](W['map'](_0x38abf1=>_0x38abf1[_0xd44f7c(0x367)]())),this[_0xd44f7c(0x445)][_0xd44f7c(0x3d6)](a[_0xd44f7c(0x320)]['UNIVER_SLIDE'])['pipe'](W[_0xd44f7c(0x4cd)](_0x30bc06=>_0x30bc06[_0xd44f7c(0x367)]())))[_0xd44f7c(0x24f)](_0x383f51=>this['_removeRoom'](_0x383f51))));}[_0x5c0715(0x250)](_0x8c1f61){var _0x1330ac=_0x5c0715;return this[_0x1330ac(0x4e5)]['has'](_0x8c1f61)?H['of'](this[_0x1330ac(0x4e5)][_0x1330ac(0x327)](_0x8c1f61)):this[_0x1330ac(0x32e)][_0x1330ac(0x3d0)](W[_0x1330ac(0x4cd)](_0x230d67=>{var _0x27b7bc=_0x1330ac;if(_0x230d67===_0x8c1f61)return this[_0x27b7bc(0x4e5)][_0x27b7bc(0x327)](_0x230d67);}));}['setCurrentUser'](_0x238ef5){var _0x5d18c9=_0x5c0715;this[_0x5d18c9(0x2d5)]['setCurrentUser'](_0x238ef5);}[_0x5c0715(0x338)](){var _0x63b0e6=_0x5c0715;return this[_0x63b0e6(0x2d5)]['getCurrentUser']();}[_0x5c0715(0x293)](_0x36996c,_0x4396fb){var _0x5985e1=_0x5c0715;let _0x532011=this[_0x5985e1(0x4e5)][_0x5985e1(0x327)](_0x36996c);_0x532011||(_0x532011=new cn(),this[_0x5985e1(0x4e5)]['set'](_0x36996c,_0x532011),this[_0x5985e1(0x32e)][_0x5985e1(0x195)](_0x36996c)),_0x532011[_0x5985e1(0x293)](_0x4396fb);}[_0x5c0715(0x1c7)](_0x3b93de,_0x244d85){var _0x8cab10=_0x5c0715;const _0x5509fe=this['_roomMembers'][_0x8cab10(0x327)](_0x3b93de);_0x5509fe&&_0x5509fe['removeMember'](_0x244d85);}['getRoom'](_0x21515b){var _0x21dbf2=_0x5c0715;return this[_0x21dbf2(0x4e5)][_0x21dbf2(0x327)](_0x21515b);}[_0x5c0715(0x4c7)](_0x32c654,_0x3ace20){var _0x50bfdc=_0x5c0715;const _0x52ba5d=this[_0x50bfdc(0x4e5)]['get'](_0x32c654);if(_0x52ba5d)return _0x52ba5d[_0x50bfdc(0x4c7)](_0x3ace20);}[_0x5c0715(0x400)](_0x10c540){var _0x40a4ec=_0x5c0715;const _0x47f103=this[_0x40a4ec(0x4e5)]['get'](_0x10c540);_0x47f103&&(_0x47f103[_0x40a4ec(0x185)](),this[_0x40a4ec(0x4e5)][_0x40a4ec(0x282)](_0x10c540));}[_0x5c0715(0x185)](){var _0x284687=_0x5c0715;this[_0x284687(0x4e5)][_0x284687(0x319)](_0x111051=>_0x111051[_0x284687(0x185)]()),this[_0x284687(0x4e5)][_0x284687(0x2e1)](),this['_roomCreated$'][_0x284687(0x32b)]();}},exports[_0x5c0715(0x1b0)]=an([Ye(0x0,a[_0x5c0715(0x48b)]),Ye(0x1,a[_0x5c0715(0x49b)](a[_0x5c0715(0x4e4)]))],exports['MemberService']);class cn extends a[_0x5c0715(0x35e)]{constructor(){var _0x5dedc7=_0x5c0715;super(...arguments),D(this,_0x5dedc7(0x304),new Map()),D(this,_0x5dedc7(0x232),new H[(_0x5dedc7(0x3dd))](this['_members'])),D(this,_0x5dedc7(0x42c),this[_0x5dedc7(0x232)][_0x5dedc7(0x2ae)]());}[_0x5c0715(0x185)](){var _0x39a9bb=_0x5c0715;this['_members'][_0x39a9bb(0x2e1)]();}[_0x5c0715(0x293)](_0x1e4556){var _0x47d3c8=_0x5c0715;this['_members'][_0x47d3c8(0x410)](_0x1e4556[_0x47d3c8(0x295)],_0x1e4556),this[_0x47d3c8(0x201)]();}[_0x5c0715(0x1c7)](_0x54af5c){var _0x4035ea=_0x5c0715;this[_0x4035ea(0x304)]['delete'](_0x54af5c);}[_0x5c0715(0x4c7)](_0x7ca225){var _0x4c4335=_0x5c0715;return this[_0x4c4335(0x304)][_0x4c4335(0x327)](_0x7ca225);}['getAllMembers'](){var _0x5d07cc=_0x5c0715;return Array[_0x5d07cc(0x1a6)](this[_0x5d07cc(0x304)][_0x5d07cc(0x3f9)]());}['_emitMembers'](){var _0x56624b=_0x5c0715;this[_0x56624b(0x232)]['next'](this['_members']);}}var hn=Object[_0x5c0715(0x2d9)],ln=Object[_0x5c0715(0x3a5)],_n=(_0x2f5445,_0x12f6e6,_0x2cd7d5,_0x3506a9)=>{var _0x4ab1fe=_0x5c0715;for(var _0x4050f6=_0x3506a9>0x1?void 0x0:_0x3506a9?ln(_0x12f6e6,_0x2cd7d5):_0x12f6e6,_0x24db15=_0x2f5445[_0x4ab1fe(0x1b2)]-0x1,_0x585d95;_0x24db15>=0x0;_0x24db15--)(_0x585d95=_0x2f5445[_0x24db15])&&(_0x4050f6=(_0x3506a9?_0x585d95(_0x12f6e6,_0x2cd7d5,_0x4050f6):_0x585d95(_0x4050f6))||_0x4050f6);return _0x3506a9&&_0x4050f6&&hn(_0x12f6e6,_0x2cd7d5,_0x4050f6),_0x4050f6;},oe=(_0x510338,_0xa3a479)=>(_0x15593b,_0x125b19)=>_0xa3a479(_0x15593b,_0x125b19,_0x510338),se=(_0x572689=>(_0x572689[_0x572689[_0x5c0715(0x315)]=0x0]=_0x5c0715(0x315),_0x572689[_0x572689[_0x5c0715(0x48c)]=0x1]=_0x5c0715(0x48c),_0x572689[_0x572689['OFFLINE']=0x2]=_0x5c0715(0x47e),_0x572689[_0x572689['ONLINE']=0x3]=_0x5c0715(0x3ec),_0x572689))(se||{});const qe={[he[_0x5c0715(0x37a)]]:_0x5c0715(0x485),[he['JOIN_ROOM_FULL']]:'session.room-full',[he[_0x5c0715(0x307)]]:_0x5c0715(0x434),[he['JOIN_ROOM_PERMISSION_DENIED']]:_0x5c0715(0x22d),[he[_0x5c0715(0x33b)]]:_0x5c0715(0x33d)};exports[_0x5c0715(0x2cd)]=class extends a['RxDisposable']{constructor(_0x3d04b6,_0x15e63d,_0x587a6f,_0x16629e,_0x5b7d75,_0x2f9751,_0x51d599,_0xcc1b2f,_0x4e2003){var _0xfd5c6a=_0x5c0715;super(),D(this,_0xfd5c6a(0x4ec),new H[(_0xfd5c6a(0x3dd))](0x0)),D(this,'sessionStatus$',this[_0xfd5c6a(0x4ec)][_0xfd5c6a(0x2ae)]()),D(this,_0xfd5c6a(0x3ef),new H['Subject']()),D(this,'event$',this[_0xfd5c6a(0x3ef)][_0xfd5c6a(0x2ae)]()),D(this,_0xfd5c6a(0x422)),D(this,_0xfd5c6a(0x38d)),D(this,_0xfd5c6a(0x3be)),D(this,_0xfd5c6a(0x1a3),!0x1),D(this,_0xfd5c6a(0x365),null),(this[_0xfd5c6a(0x4db)]=_0x3d04b6,this[_0xfd5c6a(0x4c1)]=_0x587a6f,this[_0xfd5c6a(0x444)]=_0x16629e,this[_0xfd5c6a(0x310)]=_0x5b7d75,this[_0xfd5c6a(0x4c8)]=_0x2f9751,this[_0xfd5c6a(0x25b)]=_0x51d599,this['_collaborationUIEventService']=_0xcc1b2f,this[_0xfd5c6a(0x470)]=_0x4e2003,this[_0xfd5c6a(0x1a3)]=!!this[_0xfd5c6a(0x470)],_0x15e63d['pipe'](H['takeUntil'](this['dispose$']))['subscribe'](_0x48bbc5=>{var _0x52d809=_0xfd5c6a,_0x4e5633;typeof _0x48bbc5>'u'||(this[_0x52d809(0x422)]=_0x48bbc5,_0x48bbc5?(this[_0x52d809(0x2f3)](_0x48bbc5),this[_0x52d809(0x38d)]=_0x48bbc5[_0x52d809(0x237)]['subscribe'](_0x3bdc20=>{var _0x3ea825=_0x52d809;_0x3bdc20[_0x3ea825(0x2b4)]===this[_0x3ea825(0x4db)]&&this[_0x3ea825(0x357)](_0x3bdc20);})):(this[_0x52d809(0x186)](),this['_sessionStatus$']['next'](0x2),(_0x4e5633=this[_0x52d809(0x38d)])==null||_0x4e5633[_0x52d809(0x245)](),this['_socketMessageSubscription']=null));}));}get[_0x5c0715(0x24e)](){var _0xe72c24=_0x5c0715;return this[_0xe72c24(0x4ec)]['getValue']();}[_0x5c0715(0x1df)](){var _0x470266=_0x5c0715,_0x302125,_0x1f02a6;return(_0x1f02a6=(_0x302125=this[_0x470266(0x422)])==null?void 0x0:_0x302125[_0x470266(0x295)])!=null?_0x1f02a6:null;}['dispose'](){var _0x45c6df=_0x5c0715;super[_0x45c6df(0x185)](),this[_0x45c6df(0x1cd)][_0x45c6df(0x195)](),this[_0x45c6df(0x1cd)][_0x45c6df(0x32b)]();}[_0x5c0715(0x1f4)](){var _0x2091b5=_0x5c0715,_0x58f95c,_0x132f2a;this[_0x2091b5(0x186)](),(_0x58f95c=this[_0x2091b5(0x422)])==null||_0x58f95c['send']({'cmd':G[_0x2091b5(0x360)],'data':{'roomID':this[_0x2091b5(0x4db)]}}),(_0x132f2a=this[_0x2091b5(0x422)])==null||_0x132f2a[_0x2091b5(0x1f4)](),this[_0x2091b5(0x3ef)][_0x2091b5(0x32b)](),this['_sessionStatus$'][_0x2091b5(0x32b)](),this[_0x2091b5(0x185)]();}[_0x5c0715(0x357)](_0x525eee){var _0xd97777=_0x5c0715;_0x525eee[_0xd97777(0x45c)]===G[_0xd97777(0x4bd)]?this[_0xd97777(0x4d4)](_0x525eee):_0x525eee[_0xd97777(0x45c)]===G[_0xd97777(0x265)]&&this[_0xd97777(0x2c7)](_0x525eee);}['_joinRoom'](_0x2d355b){var _0xabb083=_0x5c0715;this['_sessionStatus$'][_0xabb083(0x195)](0x1),_0x2d355b[_0xabb083(0x336)]({'cmd':G[_0xabb083(0x4bd)],'routeKey':this[_0xabb083(0x4db)],'routeType':'','data':{'rooms':[{'roomID':this[_0xabb083(0x4db)]}]}});}[_0x5c0715(0x4d4)](_0x2758f0){var _0x35deb6=_0x5c0715,_0x379cf2;if(_0x2758f0[_0x35deb6(0x349)]in qe){this[_0x35deb6(0x2d7)][_0x35deb6(0x3f0)]({'id':Q[_0x35deb6(0x4b9)],'data':qe[_0x2758f0[_0x35deb6(0x349)]]}),this[_0x35deb6(0x4ec)]['next'](0x2);return;}this[_0x35deb6(0x4ec)][_0x35deb6(0x195)](0x3);const _0x571b06=(_0x379cf2=_0x2758f0[_0x35deb6(0x2a5)][_0x35deb6(0x40f)][this[_0x35deb6(0x4db)]])==null?void 0x0:_0x379cf2[_0x35deb6(0x311)];_0x571b06&&_0x571b06[_0x35deb6(0x319)](_0x255871=>this[_0x35deb6(0x4c8)][_0x35deb6(0x293)](this[_0x35deb6(0x4db)],_0x255871));}[_0x5c0715(0x2c7)](_0x2d4817){var _0x1c0d22=_0x5c0715;try{const _0xbbbaee=_0x2d4817['data'];switch(_0xbbbaee[_0x1c0d22(0x314)]){case m[_0x1c0d22(0x2dd)]['USERS_ENTER']:this[_0x1c0d22(0x2df)](_0xbbbaee),this['_event$'][_0x1c0d22(0x195)](_0xbbbaee);break;case m['CollaborationEvent'][_0x1c0d22(0x476)]:this[_0x1c0d22(0x1e5)](_0xbbbaee),this[_0x1c0d22(0x3ef)][_0x1c0d22(0x195)](_0xbbbaee);break;case m[_0x1c0d22(0x2dd)]['CHANGESET_ACK']:case m[_0x1c0d22(0x2dd)][_0x1c0d22(0x3a7)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x1c0d22(0x24a)](),this[_0x1c0d22(0x3ef)]['next'](_0xbbbaee);break;case m[_0x1c0d22(0x2dd)]['MSG_FOR_ERROR']:this[_0x1c0d22(0x4c1)][_0x1c0d22(0x2e6)](_0x1c0d22(0x275)+JSON['stringify'](_0xbbbaee)),this[_0x1c0d22(0x3ef)]['next'](_0xbbbaee);break;case m[_0x1c0d22(0x2dd)][_0x1c0d22(0x215)]:this[_0x1c0d22(0x25b)][_0x1c0d22(0x292)](_0xbbbaee[_0x1c0d22(0x2a5)]),this['_event$'][_0x1c0d22(0x195)](_0xbbbaee);break;default:this[_0x1c0d22(0x3ef)]['next'](_0xbbbaee);}}catch(_0x2ab5ca){this[_0x1c0d22(0x4c1)][_0x1c0d22(0x2e6)](_0x2ab5ca,_0x2d4817);}}[_0x5c0715(0x2df)](_0x53434f){var _0x20b09e=_0x5c0715;this['_memberService'][_0x20b09e(0x293)](this[_0x20b09e(0x4db)],_0x53434f['data']);}[_0x5c0715(0x1e5)](_0x2c29c8){var _0x259a51=_0x5c0715;this[_0x259a51(0x4c8)]['removeMember'](this[_0x259a51(0x4db)],_0x2c29c8['data']['memberID']);}async[_0x5c0715(0x336)](_0x3a2765,_0x2abb64){var _0x15750b=_0x5c0715;if(this[_0x15750b(0x24e)]!==0x3||!this[_0x15750b(0x422)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3a2765['eventID']===m['CollaborationEvent'][_0x15750b(0x1da)]&&(this[_0x15750b(0x415)](),this[_0x15750b(0x35c)](_0x3a2765)),this[_0x15750b(0x422)][_0x15750b(0x336)]({'cmd':G[_0x15750b(0x1e6)],'routeKey':_0x2abb64,'routeType':'','data':_0x3a2765});}catch(_0xf57f5f){this['_logService'][_0x15750b(0x2e6)](_0xf57f5f);}}['_scheduleCollaborationTimeoutTimer'](){var _0x216043=_0x5c0715,_0x562f0c;this[_0x216043(0x3be)]=setTimeout(()=>{var _0x1fd91c=_0x216043;this['_collaborationTimeoutTimer']=null,this[_0x1fd91c(0x2d7)][_0x1fd91c(0x3f0)]({'id':Q[_0x1fd91c(0x456)]});},(_0x562f0c=this[_0x216043(0x444)][_0x216043(0x39c)](He))!=null?_0x562f0c:gt);}[_0x5c0715(0x24a)](){var _0x208077=_0x5c0715;this[_0x208077(0x3be)]&&(clearTimeout(this[_0x208077(0x3be)]),this[_0x208077(0x3be)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4756fc){var _0x3db1db=_0x5c0715;if(!this['_shouldReportTelemetry'])return;const {data:_0x1e17e4}=_0x4756fc,{unitID:_0x3e7df9,changeset:_0x136716}=_0x1e17e4,{mutations:_0x445a54,type:_0x36e438}=_0x136716;this[_0x3db1db(0x365)]={'unitId':_0x3e7df9,'type':_0x36e438,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':rn(_0x445a54)};}[_0x5c0715(0x257)](){var _0x21c6cf=_0x5c0715;if(this[_0x21c6cf(0x1a3)]){if(!this[_0x21c6cf(0x365)]){this[_0x21c6cf(0x4c1)][_0x21c6cf(0x2e6)](_0x21c6cf(0x3ca),_0x21c6cf(0x289));return;}this['_telemetryInfo'][_0x21c6cf(0x26d)]=performance[_0x21c6cf(0x18d)](),this[_0x21c6cf(0x365)][_0x21c6cf(0x34f)]=this[_0x21c6cf(0x365)][_0x21c6cf(0x26d)]-this[_0x21c6cf(0x365)][_0x21c6cf(0x47b)],this[_0x21c6cf(0x470)]['capture'](nn,this['_telemetryInfo']),this[_0x21c6cf(0x365)]=null;}}[_0x5c0715(0x186)](){var _0xb4265b=_0x5c0715;this[_0xb4265b(0x365)]=null;}},exports['CollaborationSession']=_n([oe(0x2,a[_0x5c0715(0x49f)]),oe(0x3,a[_0x5c0715(0x468)]),oe(0x4,a[_0x5c0715(0x49b)](a['LocaleService'])),oe(0x5,a['Inject'](exports[_0x5c0715(0x1b0)])),oe(0x6,a[_0x5c0715(0x49b)](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x5c0715(0x4d5)](jt[_0x5c0715(0x40b)]))],exports[_0x5c0715(0x2cd)]);var un=Object[_0x5c0715(0x2d9)],dn=Object[_0x5c0715(0x3a5)],vn=(_0x515343,_0x8f077c,_0x4bd278,_0x46497a)=>{var _0x218b89=_0x5c0715;for(var _0x10e5cc=_0x46497a>0x1?void 0x0:_0x46497a?dn(_0x8f077c,_0x4bd278):_0x8f077c,_0x3d613a=_0x515343[_0x218b89(0x1b2)]-0x1,_0x888cee;_0x3d613a>=0x0;_0x3d613a--)(_0x888cee=_0x515343[_0x3d613a])&&(_0x10e5cc=(_0x46497a?_0x888cee(_0x8f077c,_0x4bd278,_0x10e5cc):_0x888cee(_0x10e5cc))||_0x10e5cc);return _0x46497a&&_0x10e5cc&&un(_0x8f077c,_0x4bd278,_0x10e5cc),_0x10e5cc;},ae=(_0x19e985,_0x53f703)=>(_0x26a79f,_0x2b3e70)=>_0x53f703(_0x26a79f,_0x2b3e70,_0x19e985);exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x3c5735,_0x305b9a,_0x253e42,_0x3323b2,_0x171370,_0x231682,_0x14c96a){var _0x1ff09c=_0x5c0715;super(),D(this,_0x1ff09c(0x416),new H['BehaviorSubject'](void 0x0)),D(this,_0x1ff09c(0x379),this[_0x1ff09c(0x416)][_0x1ff09c(0x2ae)]()),D(this,_0x1ff09c(0x364),null),D(this,_0x1ff09c(0x29a),new Map()),D(this,_0x1ff09c(0x451),new H[(_0x1ff09c(0x3dd))](se[_0x1ff09c(0x315)])),D(this,'status$',this[_0x1ff09c(0x451)][_0x1ff09c(0x2ae)]()),D(this,'_socketReady',!0x1),D(this,'_retryConnectingTimer'),D(this,'_retryCount',0x0),D(this,_0x1ff09c(0x2cc)),D(this,_0x1ff09c(0x1d1)),(this['_injector']=_0x3c5735,this[_0x1ff09c(0x4c1)]=_0x305b9a,this[_0x1ff09c(0x444)]=_0x253e42,this['_socketService']=_0x3323b2,this['_httpService']=_0x171370,this[_0x1ff09c(0x2d7)]=_0x231682,this[_0x1ff09c(0x353)]=_0x14c96a,this[_0x1ff09c(0x234)]());}get[_0x5c0715(0x422)](){var _0x65eec8=_0x5c0715;return this[_0x65eec8(0x416)]['getValue']();}['_listenToNetworkCondition'](){var _0x283f90=_0x5c0715;this[_0x283f90(0x353)]&&this[_0x283f90(0x2f7)](this[_0x283f90(0x353)][_0x283f90(0x36b)][_0x283f90(0x24f)](_0x3631ba=>{var _0x3232a9=_0x283f90;_0x3631ba&&!this[_0x3232a9(0x422)]&&this[_0x3232a9(0x324)](),_0x3631ba||this[_0x3232a9(0x439)]();}));}['dispose'](){var _0x47312b=_0x5c0715;super[_0x47312b(0x185)](),this[_0x47312b(0x29a)][_0x47312b(0x319)](_0x5a9ec0=>_0x5a9ec0[_0x47312b(0x185)]()),this['_sessions']['clear'](),this[_0x47312b(0x451)][_0x47312b(0x32b)]();}async[_0x5c0715(0x21b)](_0x5ee0b9){var _0x14e128=_0x5c0715;if(this[_0x14e128(0x29a)]['has'](_0x5ee0b9))return this[_0x14e128(0x29a)][_0x14e128(0x327)](_0x5ee0b9);this[_0x14e128(0x3f3)]();const _0x57a040=this[_0x14e128(0x305)]['createInstance'](exports[_0x14e128(0x2cd)],_0x5ee0b9,this[_0x14e128(0x416)]['asObservable']());return this[_0x14e128(0x29a)][_0x14e128(0x410)](_0x5ee0b9,_0x57a040),_0x57a040;}[_0x5c0715(0x479)](_0x40e6b8){var _0x2e626c=_0x5c0715,_0x4a7cc6;const _0x49ddcc=this[_0x2e626c(0x29a)]['get'](_0x40e6b8);_0x49ddcc&&(this['_sessions'][_0x2e626c(0x282)](_0x40e6b8),_0x49ddcc[_0x2e626c(0x1f4)]()),this[_0x2e626c(0x29a)][_0x2e626c(0x38b)]||(_0x4a7cc6=this[_0x2e626c(0x422)])==null||_0x4a7cc6[_0x2e626c(0x1f4)]();}[_0x5c0715(0x324)](){var _0x549ae8=_0x5c0715;this[_0x549ae8(0x290)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x549ae8(0x2ad)]),this[_0x549ae8(0x2ad)]=null),this[_0x549ae8(0x412)]();}async['_getSessionTicket'](){var _0x19e784=_0x5c0715,_0x3cd7fd,_0x46f105,_0x370cd2;const _0x2b6d97=this[_0x19e784(0x444)]['getConfig'](Y),_0x575509=(_0x3cd7fd=_0x2b6d97==null?void 0x0:_0x2b6d97[_0x19e784(0x34d)])!=null?_0x3cd7fd:Ft;return(_0x370cd2=(_0x46f105=(await this[_0x19e784(0x3c5)]['get'](_0x575509,{'headers':{'Content-Type':_0x19e784(0x48f)}}))['body'])==null?void 0x0:_0x46f105[_0x19e784(0x447)])!=null?_0x370cd2:'';}[_0x5c0715(0x1ca)](_0x31c72e){var _0x3773e1=_0x5c0715,_0x4cc32,_0x30c883;const _0x310811=this['_configService'][_0x3773e1(0x39c)](St),_0xc2d11e=this[_0x3773e1(0x444)][_0x3773e1(0x39c)](Y),_0x83593=(_0x30c883=(_0x4cc32=_0xc2d11e==null?void 0x0:_0xc2d11e[_0x3773e1(0x490)])!=null?_0x4cc32:_0x310811)!=null?_0x30c883:pt,_0x3760dc=typeof window>'u'?new URL(_0x83593):new URL(_0x83593,window[_0x3773e1(0x4c0)]['origin']);_0x3760dc[_0x3773e1(0x499)][_0x3773e1(0x410)](_0x3773e1(0x384),_0x31c72e);const _0xe049b8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3773e1(0x2c9)]);return _0xe049b8[_0x3773e1(0x327)](_0x3773e1(0x272))&&_0x3760dc['searchParams']['set']('runId',_0xe049b8[_0x3773e1(0x327)](_0x3773e1(0x272))),_0x3760dc[_0x3773e1(0x3fc)]();}async['_createSocket'](){var _0x292187=_0x5c0715;const _0x1e2c6b=await this[_0x292187(0x36f)](),_0x2b4d76=this[_0x292187(0x1ca)](_0x1e2c6b),_0x3e7868=this[_0x292187(0x2f9)]['createSocket'](_0x2b4d76);return this[_0x292187(0x364)]=_0x3e7868,_0x3e7868;}async[_0x5c0715(0x3f3)](){var _0x1f2bdb=_0x5c0715,_0x26a9f0,_0x439231;try{const _0x54201a=(_0x439231=(_0x26a9f0=this[_0x1f2bdb(0x422)])!=null?_0x26a9f0:this[_0x1f2bdb(0x364)])!=null?_0x439231:await this[_0x1f2bdb(0x261)]();if(_0x54201a){const _0xfbae0c=_0x54201a[_0x1f2bdb(0x336)];_0x54201a[_0x1f2bdb(0x336)]=_0x339e32=>(this[_0x1f2bdb(0x325)](),_0xfbae0c[_0x1f2bdb(0x342)](_0x54201a,[_0x339e32])),_0x54201a[_0x1f2bdb(0x237)][_0x1f2bdb(0x24f)](_0x174142=>this[_0x1f2bdb(0x2c1)](_0x54201a,_0x174142)),_0x54201a[_0x1f2bdb(0x4c3)]['pipe'](W[_0x1f2bdb(0x3fb)](0x1))[_0x1f2bdb(0x24f)](_0x390dc4=>this[_0x1f2bdb(0x4c1)][_0x1f2bdb(0x2e6)](_0x1f2bdb(0x2a8),_0x390dc4)),_0x54201a[_0x1f2bdb(0x1fd)]['pipe'](W[_0x1f2bdb(0x3fb)](0x1))[_0x1f2bdb(0x24f)](()=>{this['_onConnectionOpen'](_0x54201a);}),_0x54201a[_0x1f2bdb(0x308)]['pipe'](W[_0x1f2bdb(0x3fb)](0x1))[_0x1f2bdb(0x24f)](_0x30fbc9=>{var _0x5a9139=_0x1f2bdb;this[_0x5a9139(0x4c1)][_0x5a9139(0x49c)](_0x5a9139(0x32d),_0x5a9139(0x3d3),_0x30fbc9),this[_0x5a9139(0x206)]();});}}catch(_0x423a6c){this[_0x1f2bdb(0x4c1)]['error'](_0x423a6c),this[_0x1f2bdb(0x206)]();}}[_0x5c0715(0x2d0)](_0x26f140){var _0x3381f1=_0x5c0715;this['_logService'][_0x3381f1(0x49c)](_0x3381f1(0x32d),'socket\x20open.'),_0x26f140['send']({'cmd':G['HELLO']}),this[_0x3381f1(0x325)]();}[_0x5c0715(0x439)](){var _0x216c62=_0x5c0715;this[_0x216c62(0x44c)]=!0x1,this[_0x216c62(0x364)]=null,this[_0x216c62(0x451)][_0x216c62(0x195)](se[_0x216c62(0x47e)]),this[_0x216c62(0x416)]['next'](null),this['_clearTimeoutTimer'](),this[_0x216c62(0x44b)]();}[_0x5c0715(0x206)](){var _0x512e1f=_0x5c0715,_0x41af21;this[_0x512e1f(0x439)](),this['_retryCount']<((_0x41af21=this[_0x512e1f(0x444)][_0x512e1f(0x39c)](It))!=null?_0x41af21:Vt)?(this[_0x512e1f(0x2d7)][_0x512e1f(0x3f0)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x512e1f(0x412)]()):this[_0x512e1f(0x2d7)][_0x512e1f(0x3f0)]({'id':Q[_0x512e1f(0x4f8)]});}[_0x5c0715(0x412)](){var _0x23f026=_0x5c0715,_0x158365;const _0x3c2359=this[_0x23f026(0x290)],_0x990594=this[_0x23f026(0x444)]['getConfig'](Y),_0x4f31a5=_0x3c2359===0x0?0x0:((_0x158365=_0x990594==null?void 0x0:_0x990594[_0x23f026(0x3e1)])!=null?_0x158365:Gt)*0x2**_0x3c2359;this[_0x23f026(0x2ad)]=setTimeout(()=>{var _0x49729c=_0x23f026;clearTimeout(this[_0x49729c(0x2ad)]),this[_0x49729c(0x2ad)]=null,this[_0x49729c(0x3f3)]();},_0x4f31a5),this['_retryCount']+=0x1;}[_0x5c0715(0x2c1)](_0xcd50b4,_0x52622a){var _0x6a0566=_0x5c0715;const {cmd:_0x3a74d0}=_0x52622a;_0x3a74d0===G['HELLO']&&!this[_0x6a0566(0x44c)]&&(_0xcd50b4['memberID']=_0x52622a[_0x6a0566(0x2a5)][_0x6a0566(0x295)],this[_0x6a0566(0x416)]['next'](_0xcd50b4),this[_0x6a0566(0x451)][_0x6a0566(0x195)](se[_0x6a0566(0x3ec)]),this['_socketReady']=!0x0,this[_0x6a0566(0x364)]=null),_0x3a74d0===G['HEARTBEAT']&&this[_0x6a0566(0x288)](),this[_0x6a0566(0x325)]();}[_0x5c0715(0x325)](){var _0x3cb875=_0x5c0715,_0x23b82c;this['_clearHeartbeatTimer'](),this[_0x3cb875(0x2cc)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x23b82c=this[_0x3cb875(0x444)]['getConfig'](mt))!=null?_0x23b82c:Wt);}[_0x5c0715(0x220)](){var _0x196f6c=_0x5c0715;this[_0x196f6c(0x422)][_0x196f6c(0x336)]({'cmd':G['HEARTBEAT']}),this[_0x196f6c(0x20a)]();}[_0x5c0715(0x20a)](){var _0x168a5e=_0x5c0715,_0x1b2f7c;this[_0x168a5e(0x1d1)]=setTimeout(()=>this[_0x168a5e(0x206)](),(_0x1b2f7c=this[_0x168a5e(0x444)][_0x168a5e(0x39c)](He))!=null?_0x1b2f7c:gt);}[_0x5c0715(0x44b)](){var _0x15af07=_0x5c0715;this[_0x15af07(0x2cc)]!=null&&(clearTimeout(this[_0x15af07(0x2cc)]),this[_0x15af07(0x2cc)]=null);}[_0x5c0715(0x288)](){var _0x581963=_0x5c0715;this[_0x581963(0x1d1)]!=null&&(clearTimeout(this[_0x581963(0x1d1)]),this[_0x581963(0x1d1)]=null);}},exports['CollaborationSessionService']=vn([ae(0x0,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),ae(0x1,a[_0x5c0715(0x49f)]),ae(0x2,a[_0x5c0715(0x468)]),ae(0x3,ke),ae(0x4,a['Inject'](q['HTTPService'])),ae(0x5,a[_0x5c0715(0x49b)](te)),ae(0x6,a[_0x5c0715(0x4d5)](Rt))],exports[_0x5c0715(0x3cd)]);const V=[];for(let r=0x0;r<0x100;++r)V['push']((r+0x100)[_0x5c0715(0x3fc)](0x10)[_0x5c0715(0x34b)](0x1));function fn(_0x269cc4,_0x5149a0=0x0){var _0x241637=_0x5c0715;return(V[_0x269cc4[_0x5149a0+0x0]]+V[_0x269cc4[_0x5149a0+0x1]]+V[_0x269cc4[_0x5149a0+0x2]]+V[_0x269cc4[_0x5149a0+0x3]]+'-'+V[_0x269cc4[_0x5149a0+0x4]]+V[_0x269cc4[_0x5149a0+0x5]]+'-'+V[_0x269cc4[_0x5149a0+0x6]]+V[_0x269cc4[_0x5149a0+0x7]]+'-'+V[_0x269cc4[_0x5149a0+0x8]]+V[_0x269cc4[_0x5149a0+0x9]]+'-'+V[_0x269cc4[_0x5149a0+0xa]]+V[_0x269cc4[_0x5149a0+0xb]]+V[_0x269cc4[_0x5149a0+0xc]]+V[_0x269cc4[_0x5149a0+0xd]]+V[_0x269cc4[_0x5149a0+0xe]]+V[_0x269cc4[_0x5149a0+0xf]])[_0x241637(0x221)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x1a0179=_0x5c0715;if(!Pe){if(typeof crypto>'u'||!crypto[_0x1a0179(0x27c)])throw new Error(_0x1a0179(0x3f8));Pe=crypto[_0x1a0179(0x27c)][_0x1a0179(0x296)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x5c0715(0x291)]&&crypto['randomUUID'][_0x5c0715(0x296)](crypto),ze={'randomUUID':mn};function gn(_0x493769,_0x296baf,_0x1375f7){var _0x114061=_0x5c0715,_0x26cfe4,_0x62b36e,_0x2b39ea;if(ze[_0x114061(0x291)]&&!_0x493769)return ze[_0x114061(0x291)]();_0x493769=_0x493769||{};const _0xc05ea9=(_0x2b39ea=(_0x62b36e=_0x493769[_0x114061(0x346)])!=null?_0x62b36e:(_0x26cfe4=_0x493769['rng'])==null?void 0x0:_0x26cfe4[_0x114061(0x36a)](_0x493769))!=null?_0x2b39ea:pn();if(_0xc05ea9[_0x114061(0x1b2)]<0x10)throw new Error(_0x114061(0x31b));return _0xc05ea9[0x6]=_0xc05ea9[0x6]&0xf|0x40,_0xc05ea9[0x8]=_0xc05ea9[0x8]&0x3f|0x80,fn(_0xc05ea9);}const z=a['createIdentifier'](_0x5c0715(0x303));function In(_0x2dfc0a){var _0x1d17ab=_0x5c0715;return _0x1d17ab(0x31c)+_0x2dfc0a;}var En=Object[_0x5c0715(0x2d9)],Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x365314,_0x8de90b,_0x3074c5,_0x484394)=>{var _0x405ce5=_0x5c0715;for(var _0x3b4534=_0x484394>0x1?void 0x0:_0x484394?Cn(_0x8de90b,_0x3074c5):_0x8de90b,_0x304d5b=_0x365314[_0x405ce5(0x1b2)]-0x1,_0x194032;_0x304d5b>=0x0;_0x304d5b--)(_0x194032=_0x365314[_0x304d5b])&&(_0x3b4534=(_0x484394?_0x194032(_0x8de90b,_0x3074c5,_0x3b4534):_0x194032(_0x3b4534))||_0x3b4534);return _0x484394&&_0x3b4534&&En(_0x8de90b,_0x3074c5,_0x3b4534),_0x3b4534;},De=(_0x3cfad0,_0x50f0c8)=>(_0x25b95d,_0x471656)=>_0x50f0c8(_0x25b95d,_0x471656,_0x3cfad0);function bn(_0x5e79eb){var _0x1bcf80=_0x5c0715;const {unitID:_0x2682b1,mutations:_0x2700d2}=_0x5e79eb;return{'unitId':_0x2682b1,'subUnitId':_0x2700d2[0x0][_0x1bcf80(0x2bf)]['subUnitId']};}exports['SheetTransformSelectionsService']=class{constructor(_0x23447a,_0x486340,_0x549b85){var _0x5e3db6=_0x5c0715;this[_0x5e3db6(0x305)]=_0x23447a,this['_transformService']=_0x486340,this['_instanceService']=_0x549b85;}[_0x5c0715(0x371)](_0x51a841){var _0x2a5ed4=_0x5c0715,_0x240a63,_0x1f95f3,_0x3eb6fd,_0xe7134c;const _0x554263=this['_injector'][_0x2a5ed4(0x327)](J[_0x2a5ed4(0x227)]),{unitId:_0x57caa9,subUnitId:_0xefbfa4}=bn(_0x51a841),_0x258bd0=_0x554263==null?void 0x0:_0x554263['getWorkbookSelections'](_0x57caa9)['getCurrentSelections'](),_0x3465d3=(_0x1f95f3=(_0x240a63=this[_0x2a5ed4(0x3ce)][_0x2a5ed4(0x430)](_0x57caa9))==null?void 0x0:_0x240a63['getActiveSheet']())==null?void 0x0:_0x1f95f3[_0x2a5ed4(0x488)]();if(_0x258bd0[_0x2a5ed4(0x1b2)]===0x0||!_0x57caa9||!_0xefbfa4)return;const _0x5cbfab=[{'id':J[_0x2a5ed4(0x4fa)]['id'],'params':{'unitId':_0x57caa9,'subUnitId':_0x3465d3,'selections':a[_0x2a5ed4(0x235)]['deepClone'](_0x258bd0)}}],_0x3ea35a=this[_0x2a5ed4(0x4a8)]['transformMutationsWithChangeset'](_0x51a841,_0x5cbfab);if(!m[_0x2a5ed4(0x21e)](_0x3ea35a))throw _0x3ea35a[_0x2a5ed4(0x2e6)];const _0x414e60=(_0xe7134c=(_0x3eb6fd=_0x3ea35a[_0x2a5ed4(0x18b)][0x0])==null?void 0x0:_0x3eb6fd['params'])==null?void 0x0:_0xe7134c['selections'];if(Array[_0x2a5ed4(0x1c5)](_0x414e60)&&_0x414e60[_0x2a5ed4(0x1b2)]){if(_0x414e60['length']===_0x5cbfab[0x0][_0x2a5ed4(0x2bf)][_0x2a5ed4(0x2eb)]['length']&&_0x414e60['every']((_0x5987a6,_0x13076d)=>a[_0x2a5ed4(0x41b)][_0x2a5ed4(0x20d)](_0x5987a6['range'],_0x5cbfab[0x0][_0x2a5ed4(0x2bf)]['selections'][_0x13076d][_0x2a5ed4(0x190)])))return;this[_0x2a5ed4(0x305)][_0x2a5ed4(0x327)](a['ICommandService'])[_0x2a5ed4(0x23f)](J['SetSelectionsOperation']['id'],{'unitId':_0x57caa9,'subUnitId':_0x3465d3,'selections':_0x414e60});}}},exports[_0x5c0715(0x1c4)]=Tn([De(0x0,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),De(0x1,m[_0x5c0715(0x2fe)]),De(0x2,a[_0x5c0715(0x48b)])],exports['SheetTransformSelectionsService']);const ve=a[_0x5c0715(0x47f)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x55542f=>(_0x55542f[_0x55542f[_0x5c0715(0x495)]=0x0]=_0x5c0715(0x495),_0x55542f[_0x55542f[_0x5c0715(0x33a)]=0x1]='OTHER_CLIENTS_EDITING',_0x55542f))(Fe||{});const Rn=new Set([J[_0x5c0715(0x414)]['id']]);function Je(_0x4cda6b,_0x313a90,_0xe3e942,_0x2ec5e3,_0x490235){var _0x27a1e6=_0x5c0715,_0x488c82,_0x41c30d,_0x281064,_0x5f5590;const _0x250ddc=[];for(const _0x192f1e of _0x4cda6b)if(Rn[_0x27a1e6(0x45f)](_0x192f1e['id'])){if(_0x250ddc['length']>0x0)break;_0x250ddc[_0x27a1e6(0x3aa)](_0x192f1e);break;}else _0x250ddc[_0x27a1e6(0x3aa)](_0x192f1e);const _0x26427d=(_0x41c30d=(_0x488c82=_0x490235[_0x27a1e6(0x338)]())==null?void 0x0:_0x488c82[_0x27a1e6(0x381)])!=null?_0x41c30d:'unknown',_0x50e311=(_0x5f5590=(_0x281064=_0x490235[_0x27a1e6(0x338)]())==null?void 0x0:_0x281064[_0x27a1e6(0x295)])!=null?_0x5f5590:_0x27a1e6(0x3b9);return{'changeset':{'unitID':_0x313a90,'type':m[_0x27a1e6(0x27e)](_0xe3e942[_0x27a1e6(0x42d)](_0x313a90)),'baseRev':_0x2ec5e3['getCurrentRevOfUnit'](_0x313a90),'revision':0x0,'userID':_0x26427d,'memberID':_0x50e311,'mutations':_0x250ddc},'pendingMutations':_0x4cda6b['slice'](_0x250ddc[_0x27a1e6(0x1b2)])};}function On(_0x568f58,_0xfcec8c,_0x5ac790,_0x2c31ab,_0xb8eff5){var _0x2fe22f=_0x5c0715,_0x1ec3e6,_0x55a9be,_0x5cd42c,_0x7e4c5f;const _0x4ff84f=[_0x568f58[_0x2fe22f(0x4a7)]((_0x1ff1cd,_0x54ff58)=>{var _0x266687=_0x2fe22f,_0x12cefd;const {id:_0x2587da}=_0x1ff1cd,{id:_0x57a5d9,type:_0x3c6a71}=_0x54ff58,_0x2fb6fd=(_0x12cefd=_0x1ff1cd[_0x266687(0x2bf)])!=null?_0x12cefd:{'actions':null},_0x17cf8f=_0x54ff58[_0x266687(0x2bf)];if(_0x2587da&&_0x2587da!==_0x57a5d9)throw new Error(_0x266687(0x1b6)+_0x2587da+_0x266687(0x2a3)+_0x57a5d9+'.');return{..._0x1ff1cd,'id':_0x57a5d9,'type':_0x3c6a71,'params':{'unitId':_0x17cf8f[_0x266687(0x3bd)],'textRanges':_0x17cf8f[_0x266687(0x3f2)],'actions':a[_0x266687(0x3cb)][_0x266687(0x1aa)](_0x2fb6fd[_0x266687(0x471)],_0x17cf8f[_0x266687(0x471)])}};},{})],_0x4202df=(_0x55a9be=(_0x1ec3e6=_0xb8eff5[_0x2fe22f(0x338)]())==null?void 0x0:_0x1ec3e6['userID'])!=null?_0x55a9be:_0x2fe22f(0x3b9),_0x28fd10=(_0x7e4c5f=(_0x5cd42c=_0xb8eff5[_0x2fe22f(0x338)]())==null?void 0x0:_0x5cd42c['memberID'])!=null?_0x7e4c5f:_0x2fe22f(0x3b9);return{'changeset':{'unitID':_0xfcec8c,'type':m[_0x2fe22f(0x27e)](_0x5ac790[_0x2fe22f(0x42d)](_0xfcec8c)),'baseRev':_0x2c31ab[_0x2fe22f(0x1fc)](_0xfcec8c),'revision':0x0,'userID':_0x4202df,'memberID':_0x28fd10,'mutations':_0x4ff84f},'pendingMutations':[]};}function Nt(_0x3b1ac5,_0x336a22){var _0x4fa34f=_0x5c0715;const _0x473d2e=new H[(_0x4fa34f(0x2f0))](0x1);return setTimeout(()=>_0x473d2e['next'](_0x336a22),_0x3b1ac5),_0x473d2e[_0x4fa34f(0x2ae)]()[_0x4fa34f(0x3d0)](H[_0x4fa34f(0x3fb)](0x1));}const yn={'id':J[_0x5c0715(0x4ab)]['id'],'type':a['CommandType'][_0x5c0715(0x370)],'params':{}};var Nn=Object[_0x5c0715(0x2d9)],Un=Object[_0x5c0715(0x3a5)],le=(_0x2ad65d,_0x4ece91,_0x5a576a,_0x3f5a3d)=>{for(var _0x1f93e3=_0x3f5a3d>0x1?void 0x0:_0x3f5a3d?Un(_0x4ece91,_0x5a576a):_0x4ece91,_0x425419=_0x2ad65d['length']-0x1,_0x3ac4bd;_0x425419>=0x0;_0x425419--)(_0x3ac4bd=_0x2ad65d[_0x425419])&&(_0x1f93e3=(_0x3f5a3d?_0x3ac4bd(_0x4ece91,_0x5a576a,_0x1f93e3):_0x3ac4bd(_0x1f93e3))||_0x1f93e3);return _0x3f5a3d&&_0x1f93e3&&Nn(_0x4ece91,_0x5a576a,_0x1f93e3),_0x1f93e3;},A=(_0x4f056d,_0x43798e)=>(_0x11ab91,_0xa93905)=>_0x43798e(_0x11ab91,_0xa93905,_0x4f056d),We=(_0x412355=>(_0x412355[_0x5c0715(0x41d)]='not_collab',_0x412355[_0x5c0715(0x278)]=_0x5c0715(0x211),_0x412355['PENDING']=_0x5c0715(0x378),_0x412355[_0x5c0715(0x192)]=_0x5c0715(0x271),_0x412355[_0x5c0715(0x3c8)]=_0x5c0715(0x409),_0x412355[_0x5c0715(0x41c)]=_0x5c0715(0x355),_0x412355[_0x5c0715(0x4cc)]='conflict',_0x412355[_0x5c0715(0x47e)]=_0x5c0715(0x30d),_0x412355))(We||{});const Ut=0xea60;class _e{constructor(_0x51ab2a,_0x2b638a,_0x3b1276,_0x926d5a,_0x266159,_0xb45e91,_0x40921d,_0x331cdf,_0x1adae3){var _0x27696a=_0x5c0715;D(this,_0x27696a(0x1f0),null),D(this,_0x27696a(0x286),[]),(this['unitID']=_0x51ab2a,this[_0x27696a(0x3ee)]=_0x2b638a,this[_0x27696a(0x406)]=_0x266159,this[_0x27696a(0x4d1)]=_0xb45e91,this[_0x27696a(0x4ee)]=_0x40921d,this[_0x27696a(0x3d2)]=_0x331cdf,this[_0x27696a(0x394)]=_0x1adae3,this[_0x27696a(0x1f0)]=_0x3b1276,this[_0x27696a(0x286)]=_0x926d5a);}[_0x5c0715(0x42e)](_0x248969){var _0x113466=_0x5c0715;const _0x4bb79a=this[_0x113466(0x3d2)][_0x113466(0x1fc)](this[_0x113466(0x2dc)]);return _0x248969[_0x113466(0x236)]>_0x4bb79a+0x1?(this[_0x113466(0x406)][_0x113466(0x49a)]({'from':_0x4bb79a,'to':_0x248969[_0x113466(0x236)]-0x1}),!0x0):!0x1;}[_0x5c0715(0x39e)](_0x4f59e6){var _0x45b175=_0x5c0715;this[_0x45b175(0x4ee)][_0x45b175(0x3e7)](this[_0x45b175(0x2dc)],_0x4f59e6);}[_0x5c0715(0x46f)](_0x1c5ed6){var _0x532a25=_0x5c0715,_0xdcbc17,_0x59780a;(_0x59780a=(_0xdcbc17=this[_0x532a25(0x406)])[_0x532a25(0x1fe)])==null||_0x59780a[_0x532a25(0x36a)](_0xdcbc17,_0x1c5ed6);}[_0x5c0715(0x3bc)](_0xee9281){var _0x30997d=_0x5c0715,_0x2bdc39,_0x1e96f4;return(_0x1e96f4=(_0x2bdc39=this[_0x30997d(0x406)])['onTransformIME'])==null?void 0x0:_0x1e96f4[_0x30997d(0x36a)](_0x2bdc39,_0xee9281);}['_transformStateCache'](_0x4ad587){var _0x2ba21e=_0x5c0715,_0x155744,_0x526dc9;return(_0x526dc9=(_0x155744=this[_0x2ba21e(0x406)])[_0x2ba21e(0x4f5)])==null?void 0x0:_0x526dc9['call'](_0x155744,_0x4ad587);}[_0x5c0715(0x420)](_0x2f489d){var _0x29689a=_0x5c0715,_0xafa110,_0x5aee90,_0x2ee120;return(_0x2ee120=(_0x5aee90=(_0xafa110=this['_handler'])[_0x29689a(0x3c0)])==null?void 0x0:_0x5aee90[_0x29689a(0x36a)](_0xafa110,_0x2f489d))!=null?_0x2ee120:_0x2f489d;}['_transformRemoteChangesetByStateCache'](_0x2750af){var _0x4101db=_0x5c0715,_0xafc152,_0x1b5b6a,_0x5530c0;return(_0x5530c0=(_0x1b5b6a=(_0xafc152=this[_0x4101db(0x406)])[_0x4101db(0x40c)])==null?void 0x0:_0x1b5b6a[_0x4101db(0x36a)](_0xafc152,_0x2750af))!=null?_0x5530c0:_0x2750af;}[_0x5c0715(0x442)](_0xb83c1b){var _0xe7c11b=_0x5c0715,_0x403e3b,_0x21b2a2;if(this[_0xe7c11b(0x3ee)]===Z['UNIVER_DOC']){const {unitID:_0x118789,mutations:_0x477852,memberID:_0x1f1914}=_0xb83c1b,_0x317c5d=_0x477852[0x0][_0xe7c11b(0x2bf)][_0xe7c11b(0x3f2)];Array[_0xe7c11b(0x1c5)](_0x317c5d)&&_0x317c5d[_0xe7c11b(0x1b2)]>0x0&&((_0x21b2a2=(_0x403e3b=this['_handler'])[_0xe7c11b(0x4b2)])==null||_0x21b2a2['call'](_0x403e3b,{'unitID':_0x118789,'memberID':_0x1f1914,'textRanges':_0x317c5d}));}}[_0x5c0715(0x43d)](){var _0x2e2b2e=_0x5c0715,_0x1a0210;(_0x1a0210=this[_0x2e2b2e(0x394)])==null||_0x1a0210[_0x2e2b2e(0x40a)](this[_0x2e2b2e(0x2dc)],this[_0x2e2b2e(0x3ee)],this['_awaitingChangeset'],this[_0x2e2b2e(0x286)]);}['_getCurrentRevision'](){var _0x5aa4ad=_0x5c0715;return this['_revisionService'][_0x5aa4ad(0x1fc)](this['unitID']);}[_0x5c0715(0x489)](){var _0x527ede=_0x5c0715;this['_revisionService'][_0x527ede(0x457)](this[_0x527ede(0x2dc)]);}['_executeRemoteChangeset'](_0x3f0de3){var _0x554fb6=_0x5c0715,_0x314e8c;let _0x255c20=this[_0x554fb6(0x420)](_0x3f0de3);_0x255c20=this[_0x554fb6(0x1de)](_0x255c20);const _0x1e5477=a[_0x554fb6(0x432)](_0x255c20['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x1e5477[_0x554fb6(0x2f2)])throw _0x1e5477['error']instanceof Error?_0x1e5477['error']:new Error((_0x314e8c=_0x1e5477['error'])!=null?_0x314e8c:'[CollaborationState]:\x20apply\x20error!');this[_0x554fb6(0x3bc)](_0x255c20),this[_0x554fb6(0x4ca)](_0x255c20),this[_0x554fb6(0x39e)](_0x3f0de3),this['_transformSelections'](_0x255c20),this[_0x554fb6(0x442)](_0x255c20),this[_0x554fb6(0x489)]();}}exports[_0x5c0715(0x2d3)]=class extends _e{constructor(_0x27beb8,_0x49dac6,_0x37bf0,_0x1bbe91,_0x3bff4e,_0x48a86e,_0x21a045,_0x5a48dc,_0x3b09d8,_0x1463f9){var _0x4d6045=_0x5c0715;super(_0x27beb8,_0x49dac6,null,[],_0x37bf0,_0x21a045,_0x48a86e,_0x1bbe91,_0x1463f9),D(this,_0x4d6045(0x4c5),_0x4d6045(0x211)),(this['_injector']=_0x3bff4e,this[_0x4d6045(0x4c1)]=_0x5a48dc,this[_0x4d6045(0x4a8)]=_0x3b09d8,this[_0x4d6045(0x419)]=_0x1463f9);}[_0x5c0715(0x25e)](_0x4f1343){var _0x52b6da=_0x5c0715;const _0x3302bd=this['_injector'][_0x52b6da(0x333)](exports[_0x52b6da(0x3ae)],this[_0x52b6da(0x2dc)],this[_0x52b6da(0x3ee)],[_0x4f1343],this[_0x52b6da(0x406)]);return _0x3302bd[_0x52b6da(0x252)](),_0x3302bd['_updateLocalCache'](),_0x3302bd;}[_0x5c0715(0x3af)](_0x536d24){var _0x453968=_0x5c0715;if(this[_0x453968(0x42e)](_0x536d24))return this[_0x453968(0x305)][_0x453968(0x333)](exports[_0x453968(0x4bc)],this[_0x453968(0x2dc)],this[_0x453968(0x3ee)],null,[],null,[_0x536d24],this[_0x453968(0x406)]);try{const _0x2d09eb=this['_transformService'][_0x453968(0x23a)](_0x536d24,[yn]);if(m['isTransformMutationsWithChangesetSuccess'](_0x2d09eb)){const {c1Prime:_0x583714}=_0x2d09eb;return this[_0x453968(0x233)](_0x583714),this;}throw _0x2d09eb['error'];}catch(_0x529b1a){return this['_logService'][_0x453968(0x2e6)](_0x529b1a),this[_0x453968(0x4d2)](!0x1);}}['_onConflict'](_0x564194){var _0x42b4c2=_0x5c0715;return this['_injector'][_0x42b4c2(0x333)](exports[_0x42b4c2(0x413)],this[_0x42b4c2(0x2dc)],this[_0x42b4c2(0x3ee)],null,[],this[_0x42b4c2(0x406)],_0x564194);}[_0x5c0715(0x48e)](){var _0x2ef99e=_0x5c0715;throw new Error(_0x2ef99e(0x2d2));}[_0x5c0715(0x196)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x5c0715(0x3e9)](){var _0x5a872c=_0x5c0715;return this['_injector'][_0x5a872c(0x333)](exports['OfflineState'],this[_0x5a872c(0x2dc)],this[_0x5a872c(0x3ee)],null,[],this[_0x5a872c(0x406)]);}[_0x5c0715(0x4f1)](){return this;}[_0x5c0715(0x352)](){var _0x75a08b=_0x5c0715;throw new Error(_0x75a08b(0x4df));}[_0x5c0715(0x4ae)](){var _0x22adf6=_0x5c0715;const _0x36532e=this['_revisionService'][_0x22adf6(0x1fc)](this[_0x22adf6(0x2dc)]);return this[_0x22adf6(0x406)]['onMissingChangesets']({'from':_0x36532e,'to':0x0}),this[_0x22adf6(0x305)]['createInstance'](exports[_0x22adf6(0x4bc)],this[_0x22adf6(0x2dc)],this[_0x22adf6(0x3ee)],null,[],null,[],this[_0x22adf6(0x406)]);}},exports[_0x5c0715(0x2d3)]=le([A(0x3,a[_0x5c0715(0x49b)](m[_0x5c0715(0x2b1)])),A(0x4,a['Inject'](a['Injector'])),A(0x5,a[_0x5c0715(0x496)]),A(0x6,a[_0x5c0715(0x339)]),A(0x7,a[_0x5c0715(0x49f)]),A(0x8,m[_0x5c0715(0x2fe)]),A(0x9,a['Optional'](z))],exports[_0x5c0715(0x2d3)]),exports[_0x5c0715(0x3ae)]=class extends _e{constructor(_0x9e2fce,_0x3cd7bc,_0x48fbb1,_0x53865d,_0x4577cb,_0x26c702,_0x32143b,_0x235da8,_0x2cc6a5,_0x3aeec5,_0x395995,_0x2f54aa,_0x55d010,_0x5d17fe){var _0x3cc85f=_0x5c0715;super(_0x9e2fce,_0x3cd7bc,null,_0x48fbb1,_0x53865d,_0x2cc6a5,_0x55d010,_0x26c702,_0x5d17fe),D(this,_0x3cc85f(0x4c5),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x3cc85f(0x1c9),null),(this[_0x3cc85f(0x305)]=_0x4577cb,this[_0x3cc85f(0x4c8)]=_0x32143b,this[_0x3cc85f(0x4c1)]=_0x235da8,this[_0x3cc85f(0x444)]=_0x3aeec5,this['_transformService']=_0x395995,this[_0x3cc85f(0x445)]=_0x2f54aa);}[_0x5c0715(0x25e)](_0x5960e1){var _0x15cfc7=_0x5c0715;return this[_0x15cfc7(0x286)]['push'](_0x5960e1),this[_0x15cfc7(0x43d)](),this;}[_0x5c0715(0x3af)](_0x703651){var _0xacc1fd=_0x5c0715;if(this[_0xacc1fd(0x42e)](_0x703651))return this[_0xacc1fd(0x35d)](),this[_0xacc1fd(0x305)]['createInstance'](exports[_0xacc1fd(0x4bc)],this[_0xacc1fd(0x2dc)],this[_0xacc1fd(0x3ee)],null,this[_0xacc1fd(0x286)],null,[_0x703651],this[_0xacc1fd(0x406)]);try{const _0x12cef5=this[_0xacc1fd(0x4a8)][_0xacc1fd(0x23a)](_0x703651,this[_0xacc1fd(0x286)]);if(m[_0xacc1fd(0x21e)](_0x12cef5)){const {c1Prime:_0x1c7a20,m2Prime:_0x3a311f}=_0x12cef5;this[_0xacc1fd(0x233)](_0x1c7a20);const _0x35d458=this[_0xacc1fd(0x305)][_0xacc1fd(0x333)](exports[_0xacc1fd(0x3ae)],this[_0xacc1fd(0x2dc)],this[_0xacc1fd(0x3ee)],_0x3a311f,this[_0xacc1fd(0x406)]);this['_clearScheduledTask']();const _0x2768d8=new Date()[_0xacc1fd(0x404)](),_0x49e6a3=this[_0xacc1fd(0x1a0)]?Math[_0xacc1fd(0x34a)](this[_0xacc1fd(0x1a0)]-_0x2768d8,0x0):this[_0xacc1fd(0x223)]();return _0x35d458['_schedule'](_0x49e6a3),_0x35d458;}throw _0x12cef5[_0xacc1fd(0x2e6)];}catch(_0x20f8d6){return this['_logService']['error'](_0x20f8d6),this[_0xacc1fd(0x4d2)](!0x1);}}['onRemoteAck'](){var _0x64fef2=_0x5c0715;throw new Error(_0x64fef2(0x2ec));}[_0x5c0715(0x196)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x5c0715(0x4a3)](){return this;}['toggleOffline'](){var _0x2ce179=_0x5c0715;return this['_clearScheduledTask'](),this['_injector'][_0x2ce179(0x333)](exports[_0x2ce179(0x32f)],this['unitID'],this[_0x2ce179(0x3ee)],null,this[_0x2ce179(0x286)],this[_0x2ce179(0x406)]);}[_0x5c0715(0x4f1)](){return this;}[_0x5c0715(0x252)](_0x3df1e3){var _0x368713=_0x5c0715;const _0x48b4b=_0x3df1e3!=null?_0x3df1e3:this[_0x368713(0x223)]();this[_0x368713(0x1a0)]=new Date()['getTime']()+_0x48b4b,this[_0x368713(0x1c9)]=setTimeout(()=>{var _0x38ee90=_0x368713;this['_clearScheduledTask']();let _0x26b4ca=null;switch(this[_0x38ee90(0x3ee)]){case Z[_0x38ee90(0x4d0)]:{_0x26b4ca=Je(this[_0x38ee90(0x286)],this['unitID'],this[_0x38ee90(0x445)],this[_0x38ee90(0x3d2)],this[_0x38ee90(0x4c8)]);break;}case Z[_0x38ee90(0x3d8)]:{this[_0x38ee90(0x286)][_0x38ee90(0x3fa)](_0x40f827=>_0x40f827['id']===dt['RichTextEditingMutation']['id'])?_0x26b4ca=On(this[_0x38ee90(0x286)],this['unitID'],this[_0x38ee90(0x445)],this[_0x38ee90(0x3d2)],this[_0x38ee90(0x4c8)]):_0x26b4ca=Je(this['_pendingMutations'],this[_0x38ee90(0x2dc)],this[_0x38ee90(0x445)],this[_0x38ee90(0x3d2)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x38ee90(0x4e3));}const {changeset:_0x5669af,pendingMutations:_0x18629d}=_0x26b4ca;this['_handler'][_0x38ee90(0x1e0)](_0x5669af);const _0x27e619=_0x18629d['length']?this['_injector'][_0x38ee90(0x333)](exports[_0x38ee90(0x465)],this[_0x38ee90(0x2dc)],this[_0x38ee90(0x3ee)],_0x5669af,_0x18629d,this[_0x38ee90(0x406)],void 0x0):this[_0x38ee90(0x305)][_0x38ee90(0x333)](exports[_0x38ee90(0x27a)],this[_0x38ee90(0x2dc)],this['type'],_0x5669af,this[_0x38ee90(0x406)]);_0x27e619[_0x38ee90(0x43d)](),this['_handler'][_0x38ee90(0x213)](this,_0x27e619);},_0x48b4b);}[_0x5c0715(0x223)](){var _0x41f6be=_0x5c0715,_0x23aa0d;const _0xb253e0=this[_0x41f6be(0x444)][_0x41f6be(0x39c)](Y);return(_0x23aa0d=_0xb253e0==null?void 0x0:_0xb253e0[_0x41f6be(0x37c)])!=null?_0x23aa0d:Bt;}[_0x5c0715(0x352)](){var _0x4a7333=_0x5c0715;throw new Error(_0x4a7333(0x2f6));}['_clearScheduledTask'](){var _0x5a2f05=_0x5c0715;this[_0x5a2f05(0x1c9)]!=null&&(clearTimeout(this[_0x5a2f05(0x1c9)]),this[_0x5a2f05(0x1c9)]=null);}[_0x5c0715(0x4d2)](_0x39716d){var _0x326761=_0x5c0715;return this[_0x326761(0x35d)](),this[_0x326761(0x305)][_0x326761(0x333)](exports[_0x326761(0x413)],this[_0x326761(0x2dc)],this[_0x326761(0x3ee)],null,this['_pendingMutations'],this[_0x326761(0x406)],_0x39716d);}},exports[_0x5c0715(0x3ae)]=le([A(0x4,a['Inject'](a[_0x5c0715(0x433)])),A(0x5,a[_0x5c0715(0x49b)](m[_0x5c0715(0x2b1)])),A(0x6,a[_0x5c0715(0x49b)](exports['MemberService'])),A(0x7,a[_0x5c0715(0x49f)]),A(0x8,a['ICommandService']),A(0x9,a[_0x5c0715(0x468)]),A(0xa,m[_0x5c0715(0x2fe)]),A(0xb,a[_0x5c0715(0x48b)]),A(0xc,a['IUndoRedoService']),A(0xd,a[_0x5c0715(0x4d5)](z))],exports['PendingState']),exports[_0x5c0715(0x27a)]=class extends _e{constructor(_0x2b2d06,_0x28b11b,_0x596949,_0x1813fb,_0x3ae0a2,_0x509bd7,_0xb27b51,_0x1e2cf8,_0x377f65,_0x432748,_0x33ec4a){var _0x11d0d1=_0x5c0715;super(_0x2b2d06,_0x28b11b,_0x596949,[],_0x1813fb,_0xb27b51,_0x432748,_0x509bd7,_0x33ec4a),D(this,'status',_0x11d0d1(0x271)),D(this,_0x11d0d1(0x26f),0x0),D(this,_0x11d0d1(0x18a)),D(this,_0x11d0d1(0x25f)),(this[_0x11d0d1(0x305)]=_0x3ae0a2,this[_0x11d0d1(0x4c1)]=_0x1e2cf8,this['_transformService']=_0x377f65);}['appendMutation'](_0x33fdf1){var _0x1c71f2=_0x5c0715;this[_0x1c71f2(0x35d)]();const _0x541940=this[_0x1c71f2(0x305)][_0x1c71f2(0x333)](exports[_0x1c71f2(0x465)],this[_0x1c71f2(0x2dc)],this[_0x1c71f2(0x3ee)],this[_0x1c71f2(0x1f0)],[_0x33fdf1],this[_0x1c71f2(0x406)],this[_0x1c71f2(0x18a)]);return _0x541940[_0x1c71f2(0x43d)](),_0x541940;}['onRemoteChangeset'](_0xab52b0){var _0x58bfdb=_0x5c0715;if(this[_0x58bfdb(0x42e)](_0xab52b0))return this['_clearScheduledTask'](),this[_0x58bfdb(0x305)]['createInstance'](exports[_0x58bfdb(0x4bc)],this['unitID'],this[_0x58bfdb(0x3ee)],this[_0x58bfdb(0x1f0)],[],null,[_0xab52b0],this['_handler']);try{const _0x43009c=this[_0x58bfdb(0x4a8)][_0x58bfdb(0x1ab)]([_0xab52b0],[this[_0x58bfdb(0x1f0)]],!0x1);if(m[_0x58bfdb(0x3b4)](_0x43009c)){const {c1Prime:_0x179525,c2Prime:_0x47a415}=_0x43009c;this[_0x58bfdb(0x233)](_0x179525[0x0]),_0x47a415[0x0][_0x58bfdb(0x2a6)]=this[_0x58bfdb(0x224)](),this['_clearScheduledTask']();const _0x2481c2=this['_injector'][_0x58bfdb(0x333)](exports['AwaitingState'],this[_0x58bfdb(0x2dc)],this[_0x58bfdb(0x3ee)],_0x47a415[0x0],this[_0x58bfdb(0x406)]);return _0x2481c2['_updateLocalCache'](),_0x2481c2;}return this[_0x58bfdb(0x4d2)](!0x1);}catch(_0x574b2f){return this[_0x58bfdb(0x4c1)][_0x58bfdb(0x2e6)](_0x574b2f),this['_onConflict'](!0x1);}}[_0x5c0715(0x48e)](_0xe732b6){var _0xa7ca1a=_0x5c0715;this[_0xa7ca1a(0x35d)]();const _0x3ba2d5=this[_0xa7ca1a(0x3d2)][_0xa7ca1a(0x1fc)](this['unitID']);if(_0xe732b6[_0xa7ca1a(0x236)]<_0x3ba2d5-0x1)return this;if(this[_0xa7ca1a(0x42e)](_0xe732b6))return this[_0xa7ca1a(0x305)]['createInstance'](exports[_0xa7ca1a(0x4bc)],this[_0xa7ca1a(0x2dc)],this[_0xa7ca1a(0x3ee)],null,[],this[_0xa7ca1a(0x1f0)],[],this[_0xa7ca1a(0x406)]);this[_0xa7ca1a(0x489)]();const _0x4d40a4=this[_0xa7ca1a(0x305)][_0xa7ca1a(0x333)](exports['SyncedState'],this['unitID'],this[_0xa7ca1a(0x3ee)],this[_0xa7ca1a(0x406)]);return _0x4d40a4['_updateLocalCache'](),_0x4d40a4;}['onRemoteRej'](_0x5d60db){var _0x8fd9c3=_0x5c0715;return this[_0x8fd9c3(0x4d2)](!!(_0x5d60db!=null&&_0x5d60db[_0x8fd9c3(0x4e7)]));}['onRemoteRetry'](_0x3ff108){var _0x2abd20=_0x5c0715;return this[_0x2abd20(0x26f)]>Ut?this[_0x2abd20(0x3e9)]():(this['_resendTimer']=Nt(this[_0x2abd20(0x26f)],{'timeout':this[_0x2abd20(0x26f)],'reqId':_0x3ff108[_0x2abd20(0x1c1)]}),this[_0x2abd20(0x25f)]=this[_0x2abd20(0x18a)][_0x2abd20(0x24f)](({reqId:_0x53ea67,timeout:_0x24ca2a})=>{this['_resendWithTimeout'](_0x53ea67,_0x24ca2a);}),this);}[_0x5c0715(0x3e9)](){var _0x1dd454=_0x5c0715;return this[_0x1dd454(0x35d)](),this[_0x1dd454(0x305)][_0x1dd454(0x333)](exports['OfflineState'],this[_0x1dd454(0x2dc)],this[_0x1dd454(0x3ee)],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x5c0715(0x352)](){var _0x34fe5a=_0x5c0715;this[_0x34fe5a(0x406)][_0x34fe5a(0x1e0)](this[_0x34fe5a(0x1f0)]);}[_0x5c0715(0x4d2)](_0x32e986){var _0xc77c24=_0x5c0715;return this[_0xc77c24(0x35d)](),this['_injector'][_0xc77c24(0x333)](exports[_0xc77c24(0x413)],this[_0xc77c24(0x2dc)],this['type'],this[_0xc77c24(0x1f0)],[],this[_0xc77c24(0x406)],_0x32e986);}[_0x5c0715(0x2d6)](_0x233093,_0x568943){var _0x3d5770=_0x5c0715,_0x43a70f;_0x233093===((_0x43a70f=this[_0x3d5770(0x1f0)])==null?void 0x0:_0x43a70f['reqId'])&&(this[_0x3d5770(0x352)](),this['_resendTimeout']=_0x568943===0x0?0x3e8:_0x568943*0x2);}[_0x5c0715(0x35d)](){var _0x2f6f6e=_0x5c0715,_0x322390;(_0x322390=this['_sender'])==null||_0x322390[_0x2f6f6e(0x245)](),this[_0x2f6f6e(0x26f)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),A(0x5,a[_0x5c0715(0x49b)](m['RevisionService'])),A(0x6,a[_0x5c0715(0x339)]),A(0x7,a[_0x5c0715(0x49f)]),A(0x8,m['ITransformService']),A(0x9,a[_0x5c0715(0x496)]),A(0xa,a[_0x5c0715(0x4d5)](z))],exports[_0x5c0715(0x27a)]),exports['AwaitingWithPendingState']=class extends _e{constructor(_0x3468dd,_0x4da7a9,_0x30f209,_0x5b7a04,_0x407e6d,_0x1065e0,_0x4f855c,_0x446467,_0x24d0ee,_0x400ed4,_0x54a17e,_0x3cbf36,_0x57944f){var _0x304b42=_0x5c0715;super(_0x3468dd,_0x4da7a9,_0x30f209,_0x5b7a04,_0x407e6d,_0x24d0ee,_0x3cbf36,_0x446467,_0x57944f),D(this,'status','awaiting_with_pending'),D(this,'_resendTimeout',0x0),D(this,_0x304b42(0x18a)),D(this,_0x304b42(0x25f)),(this['_injector']=_0x4f855c,this[_0x304b42(0x4c1)]=_0x400ed4,this['_transformService']=_0x54a17e,this[_0x304b42(0x419)]=_0x57944f,_0x1065e0&&(this[_0x304b42(0x18a)]=_0x1065e0,this['_sender']=this[_0x304b42(0x18a)]['subscribe'](({reqId:_0x1f2e71,timeout:_0x2c3275})=>{var _0x25c013=_0x304b42;this[_0x25c013(0x2d6)](_0x1f2e71,_0x2c3275);})));}[_0x5c0715(0x25e)](_0x135d5e){var _0x3f7651=_0x5c0715;return this[_0x3f7651(0x286)][_0x3f7651(0x3aa)](_0x135d5e),this;}['onRemoteChangeset'](_0x24dde1){var _0x2f8373=_0x5c0715;if(this[_0x2f8373(0x42e)](_0x24dde1))return this[_0x2f8373(0x35d)](),this[_0x2f8373(0x305)]['createInstance'](exports['FetchingMissState'],this[_0x2f8373(0x2dc)],this[_0x2f8373(0x3ee)],this[_0x2f8373(0x1f0)],this[_0x2f8373(0x286)],null,[_0x24dde1],this[_0x2f8373(0x406)]);try{const _0x3caacd=this[_0x2f8373(0x4a8)][_0x2f8373(0x1ab)]([_0x24dde1],[this[_0x2f8373(0x1f0)]],!0x1);if(m[_0x2f8373(0x3b4)](_0x3caacd)){const {c1Prime:_0x2f7858,c2Prime:_0x2246fa}=_0x3caacd,_0x105efc=this[_0x2f8373(0x4a8)]['transformMutationsWithChangeset'](_0x2f7858[0x0],this[_0x2f8373(0x286)]);if(m[_0x2f8373(0x21e)](_0x105efc)){const {c1Prime:_0x22a8bd,m2Prime:_0x5052f2}=_0x105efc;return this[_0x2f8373(0x233)](_0x22a8bd),_0x2246fa[0x0][_0x2f8373(0x2a6)]=this[_0x2f8373(0x224)](),this[_0x2f8373(0x35d)](),this[_0x2f8373(0x305)]['createInstance'](exports[_0x2f8373(0x465)],this[_0x2f8373(0x2dc)],this[_0x2f8373(0x3ee)],_0x2246fa[0x0],_0x5052f2,this[_0x2f8373(0x406)],void 0x0);}throw _0x105efc[_0x2f8373(0x2e6)];}throw _0x3caacd[_0x2f8373(0x2e6)];}catch(_0x574c4f){return this['_logService'][_0x2f8373(0x2e6)](_0x574c4f),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x22c3a5){var _0x3c37ab=_0x5c0715;if(this[_0x3c37ab(0x35d)](),this['_checkMissing'](_0x22c3a5))return this[_0x3c37ab(0x305)]['createInstance'](exports[_0x3c37ab(0x4bc)],this['unitID'],this[_0x3c37ab(0x3ee)],null,this[_0x3c37ab(0x286)],this[_0x3c37ab(0x1f0)],[],this['_handler']);this[_0x3c37ab(0x489)]();const _0x101073=this['_injector'][_0x3c37ab(0x333)](exports[_0x3c37ab(0x3ae)],this[_0x3c37ab(0x2dc)],this[_0x3c37ab(0x3ee)],this['_pendingMutations'],this[_0x3c37ab(0x406)]);return _0x101073['_schedule'](),_0x101073['_updateLocalCache'](),_0x101073;}[_0x5c0715(0x196)](_0x45e5e5){var _0x4ca650=_0x5c0715;return this[_0x4ca650(0x4d2)](!!(_0x45e5e5!=null&&_0x45e5e5[_0x4ca650(0x4e7)]));}[_0x5c0715(0x4a3)](_0x4d82a8){var _0x9393cd=_0x5c0715;return this[_0x9393cd(0x26f)]>Ut?this['toggleOffline']():(this[_0x9393cd(0x18a)]=Nt(this[_0x9393cd(0x26f)],{'timeout':this[_0x9393cd(0x26f)],'reqId':_0x4d82a8[_0x9393cd(0x1c1)]}),this[_0x9393cd(0x25f)]=this[_0x9393cd(0x18a)][_0x9393cd(0x24f)](({reqId:_0x29eed3,timeout:_0x3d65f0})=>{this['_resendWithTimeout'](_0x29eed3,_0x3d65f0);}),this);}[_0x5c0715(0x3e9)](){var _0xec4d2e=_0x5c0715;return this[_0xec4d2e(0x35d)](),this[_0xec4d2e(0x305)][_0xec4d2e(0x333)](exports[_0xec4d2e(0x32f)],this['unitID'],this['type'],this[_0xec4d2e(0x1f0)],this[_0xec4d2e(0x286)],this[_0xec4d2e(0x406)]);}['toggleOnline'](){return this;}[_0x5c0715(0x352)](){var _0x1c04d6=_0x5c0715;this[_0x1c04d6(0x406)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x5c0715(0x4d2)](_0x2b6d1e){var _0x32bb3b=_0x5c0715;return this['_clearScheduledTask'](),this[_0x32bb3b(0x305)]['createInstance'](exports[_0x32bb3b(0x413)],this[_0x32bb3b(0x2dc)],this[_0x32bb3b(0x3ee)],null,this[_0x32bb3b(0x286)],this['_handler'],_0x2b6d1e);}['_resendWithTimeout'](_0x5484b,_0x25b222){var _0x5069ae=_0x5c0715,_0x47c915;_0x5484b===((_0x47c915=this[_0x5069ae(0x1f0)])==null?void 0x0:_0x47c915[_0x5069ae(0x1c1)])&&(this[_0x5069ae(0x352)](),this[_0x5069ae(0x26f)]=_0x25b222===0x0?0x3e8:_0x25b222*0x2);}[_0x5c0715(0x35d)](){var _0x53b31c=_0x5c0715,_0xfa54e6;(_0xfa54e6=this[_0x53b31c(0x25f)])==null||_0xfa54e6[_0x53b31c(0x245)](),this[_0x53b31c(0x26f)]=0x0;}},exports[_0x5c0715(0x465)]=le([A(0x6,a[_0x5c0715(0x49b)](a['Injector'])),A(0x7,a[_0x5c0715(0x49b)](m['RevisionService'])),A(0x8,a[_0x5c0715(0x339)]),A(0x9,a[_0x5c0715(0x49f)]),A(0xa,m[_0x5c0715(0x2fe)]),A(0xb,a[_0x5c0715(0x496)]),A(0xc,a['Optional'](z))],exports[_0x5c0715(0x465)]),exports['ConflictState']=class extends _e{constructor(_0x2d2193,_0x2bbcb1,_0x5a3e94,_0x2da887,_0x10b0cc,_0x149869=!0x1,_0x34102d,_0x496c70,_0x5dc1e2,_0x127781,_0x4ed44b,_0x5a8e0e,_0x337fce){var _0x352445=_0x5c0715;super(_0x2d2193,_0x2bbcb1,_0x5a3e94,_0x2da887,_0x10b0cc,_0x496c70,_0x5dc1e2,_0x127781,_0x337fce),D(this,_0x352445(0x4c5),_0x352445(0x331)),(this['_isPermissionRej']=_0x149869,this['_permissionService']=_0x34102d,this[_0x352445(0x310)]=_0x4ed44b,this[_0x352445(0x2d7)]=_0x5a8e0e,this['localCacheService']=_0x337fce,this['_showConflictNotification'](),this[_0x352445(0x372)](),this[_0x352445(0x48a)]());}[_0x5c0715(0x25e)](){return this;}[_0x5c0715(0x3af)](){return this;}['onRemoteAck'](){return this;}[_0x5c0715(0x196)](){return this;}[_0x5c0715(0x4a3)](){return this;}[_0x5c0715(0x3e9)](){return this;}['toggleOnline'](){return this;}[_0x5c0715(0x352)](){var _0x43556d=_0x5c0715;throw new Error(_0x43556d(0x418));}[_0x5c0715(0x372)](){var _0x2335ab=_0x5c0715,_0x3ab14a;(_0x3ab14a=this['_localCacheService'])==null||_0x3ab14a[_0x2335ab(0x40a)](this['unitID'],this[_0x2335ab(0x3ee)],null,[]);}[_0x5c0715(0x4f3)](){var _0x4e6cba=_0x5c0715;this[_0x4e6cba(0x3c3)]?this[_0x4e6cba(0x2d7)][_0x4e6cba(0x3f0)]({'id':Q['PERMISSION_DENIED']}):this[_0x4e6cba(0x2d7)][_0x4e6cba(0x3f0)]({'id':Q[_0x4e6cba(0x4cc)]});}[_0x5c0715(0x48a)](){var _0x480533=_0x5c0715;this[_0x480533(0x4be)][_0x480533(0x3f6)](new J[(_0x480533(0x205))](this['unitID'])['id'],!0x1);}},exports['ConflictState']=le([A(0x6,a[_0x5c0715(0x49b)](a[_0x5c0715(0x40d)])),A(0x7,a['ICommandService']),A(0x8,a[_0x5c0715(0x496)]),A(0x9,a[_0x5c0715(0x49b)](m[_0x5c0715(0x2b1)])),A(0xa,a[_0x5c0715(0x49b)](a[_0x5c0715(0x3b2)])),A(0xb,a[_0x5c0715(0x49b)](te)),A(0xc,a[_0x5c0715(0x4d5)](z))],exports['ConflictState']),exports[_0x5c0715(0x32f)]=class extends _e{constructor(_0x514df5,_0x3d7e60,_0x423cb7,_0x546888,_0x46037c,_0x35dc5f,_0x39637b,_0x39296b,_0x5c2435,_0xa6046d){var _0x13dbee=_0x5c0715;super(_0x514df5,_0x3d7e60,_0x423cb7,_0x546888,_0x46037c,_0x39296b,_0x5c2435,_0x39637b,_0xa6046d),D(this,_0x13dbee(0x4c5),'offline'),this[_0x13dbee(0x305)]=_0x35dc5f;}[_0x5c0715(0x25e)](_0x5a8299){var _0x3458a8=_0x5c0715;return this[_0x3458a8(0x286)][_0x3458a8(0x3aa)](_0x5a8299),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x243482){var _0x2fa3a7=_0x5c0715;throw new Error(_0x2fa3a7(0x23c));}[_0x5c0715(0x48e)](){var _0xaed479=_0x5c0715;throw new Error(_0xaed479(0x2d8));}[_0x5c0715(0x196)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5c0715(0x4a3)](){return this;}[_0x5c0715(0x3e9)](){return this;}[_0x5c0715(0x4f1)](){var _0x59ddc8=_0x5c0715;const {_injector:_0x4f63db,_pendingMutations:_0x22c999,_awaitingChangeset:_0x47592a,unitID:_0x23b9c9,_handler:_0x2636d2,type:_0x2805c0}=this,_0x2988fa=Pt(_0x4f63db,_0x23b9c9,_0x2805c0,_0x47592a,_0x22c999,_0x2636d2);return _0x2988fa instanceof exports[_0x59ddc8(0x3ae)]?_0x2988fa['_schedule']():(_0x2988fa instanceof exports[_0x59ddc8(0x465)]||_0x2988fa instanceof exports['AwaitingState'])&&_0x2988fa[_0x59ddc8(0x352)](),_0x2988fa;}[_0x5c0715(0x352)](){var _0x116dbf=_0x5c0715;throw new Error(_0x116dbf(0x3fd));}},exports[_0x5c0715(0x32f)]=le([A(0x5,a['Inject'](a['Injector'])),A(0x6,a[_0x5c0715(0x49b)](m[_0x5c0715(0x2b1)])),A(0x7,a[_0x5c0715(0x339)]),A(0x8,a[_0x5c0715(0x496)]),A(0x9,a[_0x5c0715(0x4d5)](z))],exports['OfflineState']),exports['FetchingMissState']=class extends _e{constructor(_0x569ead,_0x1c3e86,_0x28eb61,_0x479481,_0x38cdca,_0x154e7d,_0x5b0282,_0x26a2a7,_0x4e686f,_0xadeef8,_0x418274,_0x16eb49,_0x13868e,_0x2ee229){var _0x278559=_0x5c0715;super(_0x569ead,_0x1c3e86,_0x28eb61,_0x479481,_0x5b0282,_0x418274,_0x16eb49,_0x4e686f,_0x2ee229),D(this,'status',_0x278559(0x355)),(this[_0x278559(0x2e0)]=_0x38cdca,this[_0x278559(0x43a)]=_0x154e7d,this[_0x278559(0x305)]=_0x26a2a7,this[_0x278559(0x4c1)]=_0xadeef8,this['_transformService']=_0x13868e,this['localCacheService']=_0x2ee229);}[_0x5c0715(0x1dd)](_0x531c49){var _0x40bd16=_0x5c0715;try{const _0x5e8e88=[..._0x531c49,...this[_0x40bd16(0x43a)]],_0x322152=[this[_0x40bd16(0x1f0)]||this['_acknowledgedAwaitingChangeset']][_0x40bd16(0x4e6)](_0x1807b7=>!!_0x1807b7);let _0x5089e8,_0x3c8c76;if(_0x322152[_0x40bd16(0x1b2)]){const _0x5a5766=this[_0x40bd16(0x4a8)][_0x40bd16(0x1ab)](_0x5e8e88,_0x322152,!0x1);if(!m[_0x40bd16(0x3b4)](_0x5a5766))throw _0x5a5766['error'];_0x5089e8=_0x5a5766['c1Prime'],_0x3c8c76=_0x5a5766[_0x40bd16(0x2ca)];}else _0x5089e8=_0x5e8e88,_0x3c8c76=[];let _0x4b40d3=this[_0x40bd16(0x286)];_0x5089e8[_0x40bd16(0x319)](_0x471c2a=>{var _0x8a063c=_0x40bd16;let _0x21741d;if(_0x4b40d3[_0x8a063c(0x1b2)]){const _0x4a3c9a=this[_0x8a063c(0x4a8)]['transformMutationsWithChangeset'](_0x471c2a,_0x4b40d3);if(!m[_0x8a063c(0x21e)](_0x4a3c9a))throw _0x4a3c9a[_0x8a063c(0x2e6)];_0x21741d=_0x4a3c9a[_0x8a063c(0x466)],_0x4b40d3=_0x4a3c9a[_0x8a063c(0x18b)];}else _0x21741d=_0x471c2a;this[_0x8a063c(0x233)](_0x21741d);}),this[_0x40bd16(0x2e0)]&&this[_0x40bd16(0x489)](),this[_0x40bd16(0x1f0)]&&_0x3c8c76['length']&&(_0x3c8c76[0x0][_0x40bd16(0x2a6)]=this['_getCurrentRevision']());let _0xbaaf3c;if(this[_0x40bd16(0x1f0)]&&_0x4b40d3[_0x40bd16(0x1b2)]!==0x0)_0xbaaf3c=this[_0x40bd16(0x305)][_0x40bd16(0x333)](exports[_0x40bd16(0x465)],this[_0x40bd16(0x2dc)],this[_0x40bd16(0x3ee)],_0x3c8c76[0x0],_0x4b40d3,this[_0x40bd16(0x406)],void 0x0);else{if(this[_0x40bd16(0x1f0)]&&_0x4b40d3[_0x40bd16(0x1b2)]===0x0)_0x3c8c76[0x0][_0x40bd16(0x2a6)]=this[_0x40bd16(0x224)](),_0xbaaf3c=this['_injector'][_0x40bd16(0x333)](exports[_0x40bd16(0x27a)],this[_0x40bd16(0x2dc)],this[_0x40bd16(0x3ee)],_0x3c8c76[0x0],this[_0x40bd16(0x406)]);else{if(_0x4b40d3[_0x40bd16(0x1b2)]!==0x0){const _0x427dec=this[_0x40bd16(0x305)][_0x40bd16(0x333)](exports[_0x40bd16(0x3ae)],this[_0x40bd16(0x2dc)],this['type'],_0x4b40d3,this['_handler']);_0x427dec[_0x40bd16(0x252)](),_0xbaaf3c=_0x427dec;}else _0xbaaf3c=this[_0x40bd16(0x305)][_0x40bd16(0x333)](exports[_0x40bd16(0x2d3)],this['unitID'],this[_0x40bd16(0x3ee)],this[_0x40bd16(0x406)]);}}return _0xbaaf3c['_updateLocalCache'](),_0xbaaf3c;}catch(_0x576197){return this[_0x40bd16(0x4c1)][_0x40bd16(0x2e6)](_0x40bd16(0x428),'failed\x20to\x20apply\x20missed\x20changesets!',_0x576197),this[_0x40bd16(0x305)][_0x40bd16(0x333)](exports[_0x40bd16(0x413)],this[_0x40bd16(0x2dc)],this['type'],this['_awaitingChangeset'],this[_0x40bd16(0x286)],this[_0x40bd16(0x406)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5c0715(0x25e)](_0x590406){var _0x5657a5=_0x5c0715;return this[_0x5657a5(0x286)]['push'](_0x590406),this;}[_0x5c0715(0x3af)](_0x48353f){return this['_queuedRemoteChangesets']['push'](_0x48353f),this;}[_0x5c0715(0x48e)](_0x2a29b8){var _0x1a63b8=_0x5c0715;if(this[_0x1a63b8(0x1f0)])return this[_0x1a63b8(0x2e0)]=this[_0x1a63b8(0x1f0)],this['_awaitingChangeset']=null,this;throw new Error(_0x1a63b8(0x316));}[_0x5c0715(0x196)](_0x5aa720){var _0x3483eb=_0x5c0715;return this[_0x3483eb(0x4d2)](!!(_0x5aa720!=null&&_0x5aa720['isPermissionRej']));}[_0x5c0715(0x4a3)](){return this;}[_0x5c0715(0x3e9)](){var _0x5afb26=_0x5c0715;return this['_injector'][_0x5afb26(0x333)](exports[_0x5afb26(0x32f)],this['unitID'],this['type'],this[_0x5afb26(0x1f0)],this[_0x5afb26(0x286)],this[_0x5afb26(0x406)]);}[_0x5c0715(0x4f1)](){return this;}[_0x5c0715(0x4d2)](_0x50ab9f){var _0x109d1c=_0x5c0715;return this['_injector'][_0x109d1c(0x333)](exports['ConflictState'],this[_0x109d1c(0x2dc)],this[_0x109d1c(0x3ee)],this[_0x109d1c(0x1f0)],this[_0x109d1c(0x286)],this[_0x109d1c(0x406)],_0x50ab9f);}},exports[_0x5c0715(0x4bc)]=le([A(0x7,a['Inject'](a[_0x5c0715(0x433)])),A(0x8,a[_0x5c0715(0x49b)](m[_0x5c0715(0x2b1)])),A(0x9,a[_0x5c0715(0x49f)]),A(0xa,a['ICommandService']),A(0xb,a['IUndoRedoService']),A(0xc,m['ITransformService']),A(0xd,a[_0x5c0715(0x4d5)](z))],exports[_0x5c0715(0x4bc)]);function Pt(_0x67b4ec,_0x32deff,_0x459dc7,_0x206fd2,_0x45f693,_0x56567a){var _0x325c50=_0x5c0715;return _0x206fd2&&_0x45f693[_0x325c50(0x1b2)]?_0x67b4ec[_0x325c50(0x333)](exports[_0x325c50(0x465)],_0x32deff,_0x459dc7,_0x206fd2,_0x45f693,_0x56567a,void 0x0):_0x206fd2?_0x67b4ec['createInstance'](exports['AwaitingState'],_0x32deff,_0x459dc7,_0x206fd2,_0x56567a):_0x45f693[_0x325c50(0x1b2)]?_0x67b4ec[_0x325c50(0x333)](exports[_0x325c50(0x3ae)],_0x32deff,_0x459dc7,_0x45f693,_0x56567a):_0x67b4ec[_0x325c50(0x333)](exports[_0x325c50(0x2d3)],_0x32deff,_0x459dc7,_0x56567a);}var Pn=Object['defineProperty'],Dn=Object['getOwnPropertyDescriptor'],Ge=(_0xdae540,_0x3fe0b9,_0x1afd8d,_0xc2fb52)=>{var _0x47d4f5=_0x5c0715;for(var _0x488102=_0xc2fb52>0x1?void 0x0:_0xc2fb52?Dn(_0x3fe0b9,_0x1afd8d):_0x3fe0b9,_0x4bb1c4=_0xdae540[_0x47d4f5(0x1b2)]-0x1,_0x101db8;_0x4bb1c4>=0x0;_0x4bb1c4--)(_0x101db8=_0xdae540[_0x4bb1c4])&&(_0x488102=(_0xc2fb52?_0x101db8(_0x3fe0b9,_0x1afd8d,_0x488102):_0x101db8(_0x488102))||_0x488102);return _0xc2fb52&&_0x488102&&Pn(_0x3fe0b9,_0x1afd8d,_0x488102),_0x488102;},k=(_0x41fbff,_0x310239)=>(_0x370ece,_0x4a1f7a)=>_0x310239(_0x370ece,_0x4a1f7a,_0x41fbff);exports[_0x5c0715(0x2db)]=class extends a[_0x5c0715(0x431)]{constructor(_0x4f32c0,_0x3d39aa,_0xad2489,_0x5ac2c3,_0x4f7c08,_0x9d349,_0x5a4578,_0x415761,_0x318590,_0x22daf9,_0x538c7e,_0x265fe1,_0x3353ee){var _0x550485=_0x5c0715;super(),D(this,'_state$',new H['BehaviorSubject'](null)),D(this,'state$',this[_0x550485(0x46b)]['asObservable']()),D(this,_0x550485(0x312)),D(this,_0x550485(0x29c),!0x1),D(this,'_changesetSessionId',''),D(this,_0x550485(0x386),0x0),D(this,_0x550485(0x1e3),this[_0x550485(0x249)][_0x550485(0x3d0)](H['map'](_0x53dec5=>_0x53dec5?_0x53dec5[_0x550485(0x4c5)]:We[_0x550485(0x47e)]),H[_0x550485(0x45d)](0x1))),D(this,_0x550485(0x1d3),!0x1),D(this,_0x550485(0x396),[]),(this['unitID']=_0x4f32c0,this['session']=_0x3d39aa,this['_type']=_0xad2489,this[_0x550485(0x305)]=_0x5ac2c3,this[_0x550485(0x1af)]=_0x4f7c08,this[_0x550485(0x310)]=_0x9d349,this[_0x550485(0x3d2)]=_0x5a4578,this[_0x550485(0x2ba)]=_0x415761,this['_logService']=_0x318590,this['_commandService']=_0x22daf9,this[_0x550485(0x4be)]=_0x538c7e,this[_0x550485(0x1db)]=_0x265fe1,this['_localCacheService']=_0x3353ee);}get[_0x5c0715(0x411)](){return this['_state'];}async[_0x5c0715(0x43f)](){var _0x84d479=_0x5c0715;if(this['state'])throw new Error(_0x84d479(0x481));await this[_0x84d479(0x4e1)]();}[_0x5c0715(0x35f)](){var _0x413bc4=_0x5c0715;return this['_collaborationPaused']=!0x0,a[_0x413bc4(0x3a8)](()=>{var _0x4fb956=_0x413bc4;this[_0x4fb956(0x29c)]=!0x1,this[_0x4fb956(0x37e)]();});}['onLocalMutation'](_0x5e250f){var _0x47a22a=_0x5c0715;this[_0x47a22a(0x1ad)](_0x5e250f);}[_0x5c0715(0x42f)](_0x58ee1a){var _0x481aca=_0x5c0715;this['_state']=_0x58ee1a,this[_0x481aca(0x46b)][_0x481aca(0x195)](_0x58ee1a);}async[_0x5c0715(0x4e1)](){var _0xa4f56a=_0x5c0715,_0x23b3c6;this[_0xa4f56a(0x42f)](await this[_0xa4f56a(0x1ac)]()),this[_0xa4f56a(0x1db)]&&((_0x23b3c6=this[_0xa4f56a(0x1db)])==null||_0x23b3c6[_0xa4f56a(0x4bf)](this[_0xa4f56a(0x2dc)]),this[_0xa4f56a(0x2f7)](this[_0xa4f56a(0x1db)][_0xa4f56a(0x454)](this['unitID'])[_0xa4f56a(0x24f)](_0x5dfe96=>{var _0x225a91=_0xa4f56a;this[_0x225a91(0x4c1)][_0x225a91(0x49c)](_0x225a91(0x19b),_0x225a91(0x377),_0x5dfe96),_0x5dfe96===Fe[_0x225a91(0x33a)]?(this[_0x225a91(0x2ba)][_0x225a91(0x3f0)]({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x225a91(0x4be)]['updatePermissionPoint'](new J[(_0x225a91(0x205))](this['unitID'])['id'],!0x1),this[_0x225a91(0x4be)][_0x225a91(0x3ea)](!0x1)):(this[_0x225a91(0x4be)][_0x225a91(0x3f6)](new J['WorkbookEditablePermission'](this[_0x225a91(0x2dc)])['id'],!0x0),this[_0x225a91(0x4be)][_0x225a91(0x3ea)](!0x0));})));let _0x32cf44=!0x1;return this[_0xa4f56a(0x2f7)](this['session'][_0xa4f56a(0x30c)][_0xa4f56a(0x24f)](_0x5ca190=>{var _0x418e0d=_0xa4f56a;_0x5ca190===se[_0x418e0d(0x3ec)]?this[_0x418e0d(0x337)](_0x32cf44):_0x5ca190===se[_0x418e0d(0x47e)]&&(_0x32cf44=!0x0,this[_0x418e0d(0x20e)]());})),this['disposeWithMe'](this[_0xa4f56a(0x1e9)][_0xa4f56a(0x2ac)][_0xa4f56a(0x24f)](_0x1b15d4=>{var _0x433d84=_0xa4f56a;try{switch(_0x1b15d4[_0x433d84(0x314)]){case m[_0x433d84(0x2dd)][_0x433d84(0x427)]:{this[_0x433d84(0x2b2)](m[_0x433d84(0x2a1)](_0x1b15d4[_0x433d84(0x2a5)]));break;}case m[_0x433d84(0x2dd)][_0x433d84(0x2cb)]:{this['_onRemoteACK'](_0x1b15d4[_0x433d84(0x2a5)]);break;}case m['CollaborationEvent']['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case m[_0x433d84(0x2dd)][_0x433d84(0x3a7)]:{this[_0x433d84(0x1ed)](_0x1b15d4[_0x433d84(0x2a5)]);break;}case m[_0x433d84(0x2dd)][_0x433d84(0x212)]:{this[_0x433d84(0x2f8)](_0x1b15d4[_0x433d84(0x2a5)][_0x433d84(0x284)][_0x433d84(0x4cd)](_0x1d2508=>m[_0x433d84(0x2a1)](_0x1d2508)));break;}case m[_0x433d84(0x2dd)][_0x433d84(0x461)]:{this[_0x433d84(0x424)]({'isPermissionRej':!0x0});break;}case m[_0x433d84(0x2dd)][_0x433d84(0x497)]:break;}}catch(_0x30a78e){throw console[_0x433d84(0x2e6)](_0x433d84(0x262),_0x30a78e),_0x30a78e;}})),this[_0xa4f56a(0x312)];}['_unlockTransition'](){var _0x39e7d6=_0x5c0715;this[_0x39e7d6(0x1d3)]=!0x1;}['_lockTransition'](){var _0x3e446e=_0x5c0715;if(this[_0x3e446e(0x1d3)])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[_0x3e446e(0x1d3)]=!0x0;}[_0x5c0715(0x1ad)](_0x2cf267){var _0x5317fb=_0x5c0715;this[_0x5317fb(0x43e)](),this[_0x5317fb(0x42f)](this[_0x5317fb(0x312)][_0x5317fb(0x25e)](_0x2cf267)),this[_0x5317fb(0x1f7)]();}[_0x5c0715(0x2b2)](_0x5d8051){var _0x11583f=_0x5c0715;if(!(_0x5d8051[_0x11583f(0x236)]<=this[_0x11583f(0x3d2)][_0x11583f(0x1fc)](this[_0x11583f(0x2dc)]))){if(this[_0x11583f(0x29c)]){this[_0x11583f(0x396)][_0x11583f(0x3aa)](_0x5d8051);return;}this[_0x11583f(0x26e)](_0x5d8051);}}[_0x5c0715(0x37e)](){var _0x25a3cd=_0x5c0715;this['_remoteChangesetQueue'][_0x25a3cd(0x319)](_0x35010c=>this['_applyRemoteChangeset'](_0x35010c)),this[_0x25a3cd(0x396)]=[];}[_0x5c0715(0x26e)](_0x26c67e){var _0x28641b=_0x5c0715;const _0x2b92b3=this[_0x28641b(0x1af)][_0x28641b(0x2ea)][_0x28641b(0x4b7)](this[_0x28641b(0x1af)][_0x28641b(0x2ea)][_0x28641b(0x328)]()[_0x28641b(0x469)])(_0x26c67e[_0x28641b(0x4d7)],null)||_0x26c67e[_0x28641b(0x4d7)],_0x39cf81={..._0x26c67e,'mutations':_0x2b92b3};this['_lockTransition'](),this[_0x28641b(0x42f)](this[_0x28641b(0x312)]['onRemoteChangeset'](_0x39cf81)),this[_0x28641b(0x1f7)]();}[_0x5c0715(0x19c)](_0x49ae02){var _0x563f41=_0x5c0715;this[_0x563f41(0x43e)](),this['_updateState'](this[_0x563f41(0x312)]['onRemoteAck'](_0x49ae02)),this[_0x563f41(0x1f7)]();}[_0x5c0715(0x424)](_0x2fe8bd){var _0x1f3be4=_0x5c0715;this[_0x1f3be4(0x43e)](),this['_updateState'](this['_state'][_0x1f3be4(0x196)](_0x2fe8bd)),this[_0x1f3be4(0x1f7)]();}[_0x5c0715(0x1ed)](_0x75b7b2){var _0x14e98f=_0x5c0715;this['_lockTransition'](),this[_0x14e98f(0x42f)](this[_0x14e98f(0x312)][_0x14e98f(0x4a3)](_0x75b7b2)),this['_unlockTransition']();}['_onFetchMissResult'](_0x435d7b){var _0x40cc07=_0x5c0715;if(!(this[_0x40cc07(0x312)]instanceof exports[_0x40cc07(0x4bc)]))throw new TypeError(_0x40cc07(0x49e));const _0x30d5ba=_0x435d7b['map'](_0x9de357=>{var _0x8753b7=_0x40cc07;const _0x96276e=this[_0x8753b7(0x1af)][_0x8753b7(0x2ea)][_0x8753b7(0x4b7)](this[_0x8753b7(0x1af)][_0x8753b7(0x2ea)][_0x8753b7(0x328)]()['COMPRESS_MUTATION_APPLY'])(_0x9de357['mutations'],null)||_0x9de357[_0x8753b7(0x4d7)];return{..._0x9de357,'mutations':_0x96276e};});this['_lockTransition'](),this[_0x40cc07(0x42f)](this[_0x40cc07(0x312)][_0x40cc07(0x1dd)](_0x30d5ba)),this['_unlockTransition']();}[_0x5c0715(0x20e)](){var _0x592f5c=_0x5c0715;this[_0x592f5c(0x43e)](),this[_0x592f5c(0x42f)](this[_0x592f5c(0x312)]['toggleOffline']()),this['_unlockTransition']();}['_toggleOnline'](_0x358bcd=!0x1){var _0x594a3c=_0x5c0715;this['_lockTransition'](),this[_0x594a3c(0x42f)](this[_0x594a3c(0x312)][_0x594a3c(0x4f1)]()),this[_0x594a3c(0x1f7)]();const _0x3a7910=this['_state'];_0x358bcd&&_0x3a7910 instanceof exports[_0x594a3c(0x2d3)]&&(this[_0x594a3c(0x43e)](),this[_0x594a3c(0x42f)](_0x3a7910[_0x594a3c(0x4ae)]()),this[_0x594a3c(0x1f7)]());}async[_0x5c0715(0x1ac)](){return new Promise(_0x4aa8f5=>{var _0x51d946=_0x5fe0;this[_0x51d946(0x1e9)][_0x51d946(0x30c)][_0x51d946(0x3d0)](H[_0x51d946(0x3fb)](0x1))[_0x51d946(0x24f)](async _0x4dd93d=>{var _0x28f06f=_0x51d946;_0x4aa8f5(await this[_0x28f06f(0x4b3)](_0x4dd93d===se[_0x28f06f(0x3ec)]));});});}['_createHandler'](){var _0x581943=_0x5c0715;const _0x105c43=this[_0x581943(0x2dc)];return{'onStateChange':(_0x5694e1,_0x5e4123)=>{var _0x3469b0=_0x581943;if(_0x5694e1!==this['_state'])throw new Error(_0x3469b0(0x35b)+_0x5694e1[_0x3469b0(0x4c5)]+_0x3469b0(0x255)+_0x5e4123['status']+_0x3469b0(0x44f)+this[_0x3469b0(0x312)]['status']);this[_0x3469b0(0x42f)](_0x5e4123);},'onSendChangeset':_0x7a4ad4=>{var _0x3e803b=_0x581943;_0x7a4ad4[_0x3e803b(0x3b6)]||(_0x7a4ad4[_0x3e803b(0x3b6)]=this[_0x3e803b(0x4d6)],_0x7a4ad4[_0x3e803b(0x1c1)]=++this[_0x3e803b(0x386)]);const _0x1e9918={'eventID':m[_0x3e803b(0x2dd)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x7a4ad4[_0x3e803b(0x2dc)],'unitType':this[_0x3e803b(0x2ab)],'changeset':_0x7a4ad4,'memberID':this[_0x3e803b(0x1e9)][_0x3e803b(0x1df)]()}};this[_0x3e803b(0x1e9)][_0x3e803b(0x336)](_0x1e9918,this[_0x3e803b(0x2dc)]);},'onMissingChangesets':({from:_0x12c648,to:_0x149a25})=>{var _0x1a6cbe=_0x581943;this[_0x1a6cbe(0x4c1)]['debug'](_0x1a6cbe(0x19b),_0x1a6cbe(0x18e)+_0x12c648+'\x20to\x20'+_0x149a25);const _0x132c69={'eventID':m['CollaborationEvent'][_0x1a6cbe(0x22e)],'data':{'unitID':_0x105c43,'unitType':this[_0x1a6cbe(0x2ab)],'from':_0x12c648,'to':_0x149a25}};this[_0x1a6cbe(0x1e9)][_0x1a6cbe(0x336)](_0x132c69,this[_0x1a6cbe(0x2dc)]);}};}async[_0x5c0715(0x4b3)](_0x49fd02){var _0x227b29=_0x5c0715,_0x37a94a,_0x14f2ba,_0x347f83;const _0x143b84=await((_0x37a94a=this[_0x227b29(0x394)])==null?void 0x0:_0x37a94a[_0x227b29(0x1d8)](this[_0x227b29(0x2dc)])),_0x529afb=(_0x14f2ba=_0x143b84==null?void 0x0:_0x143b84[_0x227b29(0x4d7)])!=null?_0x14f2ba:[],_0x418c65=(_0x347f83=_0x143b84==null?void 0x0:_0x143b84[_0x227b29(0x3c2)])!=null?_0x347f83:null,_0x5b5679=!!(_0x418c65!=null&&_0x418c65[_0x227b29(0x3b6)])&&!!(_0x418c65!=null&&_0x418c65[_0x227b29(0x1c1)]);this[_0x227b29(0x4d6)]=_0x5b5679?_0x418c65[_0x227b29(0x3b6)]:gn(),this[_0x227b29(0x386)]=_0x5b5679?_0x418c65['reqId']:0x0;const _0x40a3c4=this[_0x227b29(0x2dc)];try{this['_replayCachedMutations'](_0x418c65,_0x529afb);}catch(_0x5a43be){this['_logService']['error'](_0x5a43be);}const _0x19e752=this[_0x227b29(0x441)]();if(_0x49fd02){const _0x9a2c40=Pt(this['_injector'],_0x40a3c4,this['_type'],_0x418c65,_0x529afb,_0x19e752);return _0x9a2c40 instanceof exports[_0x227b29(0x3ae)]?_0x9a2c40[_0x227b29(0x252)]():(_0x9a2c40 instanceof exports[_0x227b29(0x465)]||_0x9a2c40 instanceof exports[_0x227b29(0x27a)])&&_0x9a2c40[_0x227b29(0x352)](),_0x9a2c40;}return this['_injector'][_0x227b29(0x333)](exports[_0x227b29(0x32f)],_0x40a3c4,this['_type'],_0x418c65,_0x529afb,_0x19e752);}[_0x5c0715(0x3ed)](_0x4ab773,_0x272d75){var _0x48e200=_0x5c0715,_0x11e660,_0x30836f;const _0x79f50f=this[_0x48e200(0x1af)][_0x48e200(0x2ea)][_0x48e200(0x4b7)](this[_0x48e200(0x1af)][_0x48e200(0x2ea)][_0x48e200(0x328)]()['COMPRESS_MUTATION_APPLY']);(_0x11e660=_0x79f50f((_0x4ab773==null?void 0x0:_0x4ab773[_0x48e200(0x4d7)])||[],null))==null||_0x11e660[_0x48e200(0x319)](_0x59dbc2=>this[_0x48e200(0x4d1)][_0x48e200(0x23f)](_0x59dbc2['id'],_0x59dbc2['params'])),(_0x30836f=_0x79f50f(_0x272d75||[],null))==null||_0x30836f['forEach'](_0x2c858e=>this[_0x48e200(0x4d1)][_0x48e200(0x23f)](_0x2c858e['id'],_0x2c858e['params']));}},exports['CollaborationEntity']=Ge([k(0x3,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),k(0x4,a[_0x5c0715(0x49b)](m[_0x5c0715(0x1b9)])),k(0x5,a[_0x5c0715(0x49b)](a[_0x5c0715(0x3b2)])),k(0x6,a['Inject'](m[_0x5c0715(0x2b1)])),k(0x7,a[_0x5c0715(0x49b)](te)),k(0x8,a[_0x5c0715(0x49f)]),k(0x9,a['ICommandService']),k(0xa,a[_0x5c0715(0x40d)]),k(0xb,a[_0x5c0715(0x4d5)](ve)),k(0xc,a['Optional'](z))],exports['CollaborationEntity']),exports[_0x5c0715(0x36e)]=class extends exports[_0x5c0715(0x2db)]{constructor(_0x3f5649,_0xa7a236,_0x111e05,_0x1d09ab,_0x4c92b5,_0x387b78,_0x48f372,_0x34088b,_0x4dc550,_0x4eb982,_0x1d069f,_0x4b27e5,_0x28dddc){var _0x3da6dc=_0x5c0715;super(_0x3f5649,_0x111e05,_0xa7a236,_0x1d09ab,_0x4c92b5,_0x387b78,_0x48f372,_0x34088b,_0x4dc550,_0x4eb982,_0x1d069f,_0x4b27e5,_0x28dddc),D(this,_0x3da6dc(0x437),null),(this[_0x3da6dc(0x2dc)]=_0x3f5649,this[_0x3da6dc(0x3ee)]=_0xa7a236);}[_0x5c0715(0x438)](_0x47d51d){var _0x184f1f=_0x5c0715;this[_0x184f1f(0x437)]=_0x47d51d;}[_0x5c0715(0x185)](){this['_handlerCallback']=null,super['dispose']();}[_0x5c0715(0x441)](){var _0x330c4b=_0x5c0715;const _0xf3ebdb=super[_0x330c4b(0x441)]();return _0xf3ebdb[_0x330c4b(0x440)]=_0x183d4e=>{var _0x44c8dd=_0x330c4b,_0x2108e8,_0x299e81;return(_0x299e81=(_0x2108e8=this[_0x44c8dd(0x437)])==null?void 0x0:_0x2108e8[_0x44c8dd(0x440)])==null?void 0x0:_0x299e81[_0x44c8dd(0x36a)](_0x2108e8,_0x183d4e);},_0xf3ebdb[_0x330c4b(0x4f5)]=_0x2afc92=>{var _0x5ec507=_0x330c4b,_0x162ba7,_0x3a6b57;return(_0x3a6b57=(_0x162ba7=this[_0x5ec507(0x437)])==null?void 0x0:_0x162ba7[_0x5ec507(0x4f5)])==null?void 0x0:_0x3a6b57[_0x5ec507(0x36a)](_0x162ba7,_0x2afc92);},_0xf3ebdb['onTransformSelections']=_0x42bf81=>{var _0x3996df=_0x330c4b,_0x5aa02e,_0x3846ff;return(_0x3846ff=(_0x5aa02e=this[_0x3996df(0x437)])==null?void 0x0:_0x5aa02e[_0x3996df(0x1fe)])==null?void 0x0:_0x3846ff[_0x3996df(0x36a)](_0x5aa02e,_0x42bf81);},_0xf3ebdb['onSyncEditingCollabCursor']=_0x30776f=>{var _0x4c83ad=_0x330c4b,_0x2fe59e,_0xad094f;return(_0xad094f=(_0x2fe59e=this['_handlerCallback'])==null?void 0x0:_0x2fe59e[_0x4c83ad(0x4b2)])==null?void 0x0:_0xad094f[_0x4c83ad(0x36a)](_0x2fe59e,_0x30776f);},_0xf3ebdb[_0x330c4b(0x3c0)]=_0x286c1b=>{var _0x4f8e95=_0x330c4b,_0x21c3a3,_0x347256,_0x51dce8;if(!((_0x21c3a3=this[_0x4f8e95(0x437)])!=null&&_0x21c3a3['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4f8e95(0x3f4));return(_0x51dce8=(_0x347256=this['_handlerCallback'])==null?void 0x0:_0x347256[_0x4f8e95(0x3c0)])==null?void 0x0:_0x51dce8[_0x4f8e95(0x36a)](_0x347256,_0x286c1b);},_0xf3ebdb[_0x330c4b(0x40c)]=_0x22d405=>{var _0x51523e=_0x330c4b,_0x61213c,_0x334e70,_0x27bc7c;if(!((_0x61213c=this['_handlerCallback'])!=null&&_0x61213c[_0x51523e(0x40c)]))throw new Error(_0x51523e(0x4ed));return(_0x27bc7c=(_0x334e70=this['_handlerCallback'])==null?void 0x0:_0x334e70[_0x51523e(0x40c)])==null?void 0x0:_0x27bc7c[_0x51523e(0x36a)](_0x334e70,_0x22d405);},_0xf3ebdb;}async[_0x5c0715(0x4e1)](){var _0x154a0b=_0x5c0715;const _0x2799fe=await super['_init']();return this[_0x154a0b(0x2f7)](this[_0x154a0b(0x4d1)][_0x154a0b(0x2e3)]((_0x4b8cdd,_0x58ce98)=>{var _0xd2aa38=_0x154a0b;if(_0x4b8cdd['type']!==a[_0xd2aa38(0x203)][_0xd2aa38(0x370)]||_0x58ce98!=null&&_0x58ce98['fromCollab']||_0x58ce98!=null&&_0x58ce98['onlyLocal']||_0x4b8cdd['id']===dt[_0xd2aa38(0x21f)]['id'])return;const _0x172683=_0x4b8cdd[_0xd2aa38(0x2bf)];if((_0x172683==null?void 0x0:_0x172683['unitId'])!==this[_0xd2aa38(0x2dc)])return;const _0xe7aad7=_0x4b8cdd,_0x3e77bb=this[_0xd2aa38(0x1af)][_0xd2aa38(0x2ea)]['fetchThroughInterceptors'](this['_compressMutationService'][_0xd2aa38(0x2ea)][_0xd2aa38(0x328)]()['COMPRESS_MUTATION_SEND'])([_0xe7aad7],null)||[_0xe7aad7];this[_0xd2aa38(0x1ad)](_0x3e77bb[0x0]);})),_0x2799fe;}},exports[_0x5c0715(0x36e)]=Ge([k(0x3,a['Inject'](a[_0x5c0715(0x433)])),k(0x4,a['Inject'](m[_0x5c0715(0x1b9)])),k(0x5,a['Inject'](a['LocaleService'])),k(0x6,a[_0x5c0715(0x49b)](m['RevisionService'])),k(0x7,a[_0x5c0715(0x49b)](te)),k(0x8,a[_0x5c0715(0x49f)]),k(0x9,a[_0x5c0715(0x339)]),k(0xa,a[_0x5c0715(0x40d)]),k(0xb,a[_0x5c0715(0x4d5)](ve)),k(0xc,a[_0x5c0715(0x4d5)](z))],exports['DocCollaborationEntity']),exports[_0x5c0715(0x2ee)]=class extends exports['CollaborationEntity']{constructor(_0x4609a9,_0x477c2f,_0x41d729,_0x1c3855,_0x54538f,_0x20b367,_0x18b606,_0x59aa5f,_0x443481,_0x499892,_0x5b14c5,_0x1043ac,_0x4ae027,_0x180a85){var _0x399113=_0x5c0715;super(_0x4609a9,_0x41d729,_0x477c2f,_0x1c3855,_0x54538f,_0x20b367,_0x18b606,_0x443481,_0x499892,_0x5b14c5,_0x1043ac,_0x4ae027,_0x180a85),this['unitID']=_0x4609a9,this[_0x399113(0x3ee)]=_0x477c2f,this[_0x399113(0x24c)]=_0x59aa5f;}['_createHandler'](){var _0x1ab901=_0x5c0715;const _0x5a0762=super[_0x1ab901(0x441)]();return _0x5a0762[_0x1ab901(0x1fe)]=_0x21d3ff=>this[_0x1ab901(0x24c)][_0x1ab901(0x371)](_0x21d3ff),_0x5a0762;}async['_init'](){var _0x3c4a3f=_0x5c0715;const _0x3e6c12=await super['_init']();return this[_0x3c4a3f(0x2f7)](this[_0x3c4a3f(0x4d1)]['onCommandExecuted']((_0x1b9003,_0x34e619)=>{var _0x2c2337=_0x3c4a3f;if(_0x1b9003['type']!==a[_0x2c2337(0x203)][_0x2c2337(0x370)]||_0x34e619!=null&&_0x34e619['fromCollab']||_0x34e619!=null&&_0x34e619[_0x2c2337(0x429)])return;const _0x42a947=_0x1b9003[_0x2c2337(0x2bf)];if((_0x42a947==null?void 0x0:_0x42a947[_0x2c2337(0x3bd)])!==this[_0x2c2337(0x2dc)])return;const _0xac6b33=_0x1b9003,_0x3cd4c7=this[_0x2c2337(0x1af)][_0x2c2337(0x2ea)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2c2337(0x2ea)][_0x2c2337(0x328)]()[_0x2c2337(0x375)])([_0xac6b33],null)||[_0xac6b33];this[_0x2c2337(0x1ad)](_0x3cd4c7[0x0]);})),_0x3e6c12;}},exports[_0x5c0715(0x2ee)]=Ge([k(0x3,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),k(0x4,a['Inject'](m[_0x5c0715(0x1b9)])),k(0x5,a[_0x5c0715(0x49b)](a[_0x5c0715(0x3b2)])),k(0x6,a[_0x5c0715(0x49b)](m['RevisionService'])),k(0x7,a[_0x5c0715(0x49b)](exports[_0x5c0715(0x1c4)])),k(0x8,a[_0x5c0715(0x49b)](te)),k(0x9,a[_0x5c0715(0x49f)]),k(0xa,a[_0x5c0715(0x339)]),k(0xb,a[_0x5c0715(0x40d)]),k(0xc,a[_0x5c0715(0x4d5)](ve)),k(0xd,a[_0x5c0715(0x4d5)](z))],exports['SheetCollaborationEntity']);var wn=Object[_0x5c0715(0x2d9)],An=Object[_0x5c0715(0x3a5)],Ln=(_0x3d8c68,_0x3cfec8,_0x410c3d,_0x32a024)=>{var _0x8264aa=_0x5c0715;for(var _0x52d776=_0x32a024>0x1?void 0x0:_0x32a024?An(_0x3cfec8,_0x410c3d):_0x3cfec8,_0x56ca14=_0x3d8c68[_0x8264aa(0x1b2)]-0x1,_0x398167;_0x56ca14>=0x0;_0x56ca14--)(_0x398167=_0x3d8c68[_0x56ca14])&&(_0x52d776=(_0x32a024?_0x398167(_0x3cfec8,_0x410c3d,_0x52d776):_0x398167(_0x52d776))||_0x52d776);return _0x32a024&&_0x52d776&&wn(_0x3cfec8,_0x410c3d,_0x52d776),_0x52d776;},we=(_0x3e9876,_0x5c8a04)=>(_0x14a272,_0x454e24)=>_0x5c8a04(_0x14a272,_0x454e24,_0x3e9876);exports['CollaborationController']=class extends a[_0x5c0715(0x431)]{constructor(_0x70a95f,_0x11ae22,_0x50a052){var _0x2ffd5c=_0x5c0715;super(),D(this,'_entities',new Map()),D(this,_0x2ffd5c(0x22f),new H['Subject']()),D(this,_0x2ffd5c(0x407),this[_0x2ffd5c(0x22f)][_0x2ffd5c(0x2ae)]()),(this[_0x2ffd5c(0x305)]=_0x70a95f,this[_0x2ffd5c(0x1b1)]=_0x11ae22,this['_univerInstanceService']=_0x50a052,this['_init']());}[_0x5c0715(0x185)](){var _0x2f4211=_0x5c0715;super[_0x2f4211(0x185)](),this['_entities']['forEach'](_0x50e175=>_0x50e175[_0x2f4211(0x185)]()),this[_0x2f4211(0x28c)][_0x2f4211(0x2e1)]();}[_0x5c0715(0x435)](_0x47330e){var _0x1c2b3c=_0x5c0715,_0x3c0538;return(_0x3c0538=this['_entities'][_0x1c2b3c(0x327)](_0x47330e))!=null?_0x3c0538:null;}['getCollabEntity$'](_0x3b5f04){var _0x49076c=_0x5c0715;const _0x137c09=this[_0x49076c(0x435)](_0x3b5f04);return _0x137c09?H['of'](_0x137c09):this[_0x49076c(0x22f)][_0x49076c(0x3d0)](W[_0x49076c(0x4e6)](_0x3c460f=>_0x3c460f['unitID']===_0x3b5f04));}['readyForCollab'](_0x321804){var _0x58bfc4=_0x5c0715;return H['firstValueFrom'](this['getCollabEntity$'](_0x321804)[_0x58bfc4(0x3d0)](W['map'](()=>{})));}[_0x5c0715(0x4e1)](){var _0x1d5e87=_0x5c0715;this[_0x1d5e87(0x445)][_0x1d5e87(0x4cf)](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](H[_0x1d5e87(0x464)](this[_0x1d5e87(0x1cd)]),W['delay'](0x10))[_0x1d5e87(0x24f)](async _0xaf54f3=>{var _0x28494b=_0x1d5e87;const _0x4a0cc3=_0xaf54f3['getUnitId'](),_0x31dbee=await this[_0x28494b(0x354)](_0x4a0cc3,Z[_0x28494b(0x4d0)]);this[_0x28494b(0x28c)][_0x28494b(0x410)](_0x4a0cc3,_0x31dbee);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x1d5e87(0x320)][_0x1d5e87(0x3d8)])['pipe'](H[_0x1d5e87(0x464)](this[_0x1d5e87(0x1cd)]),W[_0x1d5e87(0x453)](0x10))[_0x1d5e87(0x3d0)](W[_0x1d5e87(0x4e6)](_0x149ee0=>!_0x149ee0[_0x1d5e87(0x367)]()['startsWith']('__')))[_0x1d5e87(0x24f)](async _0xaac219=>{var _0x1f2c17=_0x1d5e87;const _0xe8ce29=_0xaac219[_0x1f2c17(0x367)](),_0x4be85b=await this[_0x1f2c17(0x354)](_0xe8ce29,Z[_0x1f2c17(0x3d8)]);this[_0x1f2c17(0x28c)][_0x1f2c17(0x410)](_0xe8ce29,_0x4be85b);}),H[_0x1d5e87(0x32c)](this[_0x1d5e87(0x445)][_0x1d5e87(0x3d6)](a['UniverInstanceType'][_0x1d5e87(0x4d0)]),this[_0x1d5e87(0x445)][_0x1d5e87(0x3d6)](a[_0x1d5e87(0x320)][_0x1d5e87(0x3d8)]))[_0x1d5e87(0x3d0)](H[_0x1d5e87(0x464)](this[_0x1d5e87(0x1cd)]))[_0x1d5e87(0x24f)](_0x2c21a7=>{var _0x4acd0d=_0x1d5e87;const _0x100a9e=_0x2c21a7[_0x4acd0d(0x367)](),_0x49343a=this[_0x4acd0d(0x28c)][_0x4acd0d(0x327)](_0x100a9e);_0x49343a&&(_0x49343a[_0x4acd0d(0x185)](),this[_0x4acd0d(0x28c)][_0x4acd0d(0x282)](_0x100a9e));});}async['_startCollaboration'](_0x4bbe07,_0x14de5e){var _0x3ce97a=_0x5c0715;const _0x16aafc=await this[_0x3ce97a(0x1b1)]['requireSession'](_0x4bbe07),_0x3173ae=this[_0x3ce97a(0x305)][_0x3ce97a(0x333)](this['_getCtorByUniverType'](_0x14de5e),_0x4bbe07,_0x14de5e,_0x16aafc);return await _0x3173ae[_0x3ce97a(0x43f)](),this[_0x3ce97a(0x22f)][_0x3ce97a(0x195)](_0x3173ae),_0x3173ae;}[_0x5c0715(0x4a6)](_0x19a78a){var _0x1ccff4=_0x5c0715;switch(_0x19a78a){case Z['UNIVER_DOC']:return exports[_0x1ccff4(0x36e)];case Z[_0x1ccff4(0x4d0)]:return exports[_0x1ccff4(0x2ee)];default:throw new Error(_0x1ccff4(0x472)+_0x19a78a);}}},exports[_0x5c0715(0x2b8)]=Ln([we(0x0,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),we(0x1,a[_0x5c0715(0x49b)](exports[_0x5c0715(0x3cd)])),we(0x2,a[_0x5c0715(0x48b)])],exports[_0x5c0715(0x2b8)]);var Mn=Object[_0x5c0715(0x2d9)],xn=Object[_0x5c0715(0x3a5)],jn=(_0x156e07,_0x59abe6,_0x325893,_0x5768c1)=>{for(var _0x387fca=_0x5768c1>0x1?void 0x0:_0x5768c1?xn(_0x59abe6,_0x325893):_0x59abe6,_0x11f3be=_0x156e07['length']-0x1,_0x122532;_0x11f3be>=0x0;_0x11f3be--)(_0x122532=_0x156e07[_0x11f3be])&&(_0x387fca=(_0x5768c1?_0x122532(_0x59abe6,_0x325893,_0x387fca):_0x122532(_0x387fca))||_0x387fca);return _0x5768c1&&_0x387fca&&Mn(_0x59abe6,_0x325893,_0x387fca),_0x387fca;},Xe=(_0x19f4a8,_0x3f5b9c)=>(_0x5bc705,_0x375b38)=>_0x3f5b9c(_0x5bc705,_0x375b38,_0x19f4a8);const $n=_0x5c0715(0x280),Hn=_0x5c0715(0x4cb);let $e=class extends a['Disposable']{constructor(_0x500776,_0x5dc5b3){var _0x22accc=_0x5c0715;super(),this[_0x22accc(0x445)]=_0x500776,this[_0x22accc(0x444)]=_0x5dc5b3,this[_0x22accc(0x4e1)]();}[_0x5c0715(0x4e1)](){var _0x530b43=_0x5c0715;this[_0x530b43(0x2f7)](this[_0x530b43(0x445)][_0x530b43(0x3d5)][_0x530b43(0x24f)](()=>{var _0x95c248=_0x530b43,_0x5c85e8;const _0x1f289f=this[_0x95c248(0x445)][_0x95c248(0x402)]();let _0x435500=(_0x5c85e8=this[_0x95c248(0x444)][_0x95c248(0x39c)]($n))!=null?_0x5c85e8:Hn;_0x1f289f instanceof a[_0x95c248(0x1a9)]&&(_0x435500=_0x1f289f[_0x95c248(0x26c)]),document[_0x95c248(0x4d8)]=_0x435500;}));}};$e=jn([Xe(0x0,a[_0x5c0715(0x48b)]),Xe(0x1,a['IConfigService'])],$e);var kn=Object[_0x5c0715(0x2d9)],Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x573269,_0x28ffbb,_0x2b9338,_0x438b6e)=>{for(var _0x24ed94=_0x438b6e>0x1?void 0x0:_0x438b6e?Bn(_0x28ffbb,_0x2b9338):_0x28ffbb,_0x260c13=_0x573269['length']-0x1,_0x19c2fb;_0x260c13>=0x0;_0x260c13--)(_0x19c2fb=_0x573269[_0x260c13])&&(_0x24ed94=(_0x438b6e?_0x19c2fb(_0x28ffbb,_0x2b9338,_0x24ed94):_0x19c2fb(_0x24ed94))||_0x24ed94);return _0x438b6e&&_0x24ed94&&kn(_0x28ffbb,_0x2b9338,_0x24ed94),_0x24ed94;},Ae=(_0x33414c,_0xf46dd)=>(_0x57c0fc,_0x514a18)=>_0xf46dd(_0x57c0fc,_0x514a18,_0x33414c);let ye=class{constructor(_0x48726e,_0x507489,_0x348ca9){var _0x3f8e01=_0x5c0715;this[_0x3f8e01(0x444)]=_0x48726e,this['_httpService']=_0x507489,this[_0x3f8e01(0x43c)]=_0x348ca9,this[_0x3f8e01(0x43f)]();}['init'](){var _0x5a83de=_0x5c0715;this[_0x5a83de(0x3c5)][_0x5a83de(0x25a)]({'priority':0x1,'interceptor':(_0x4d8328,_0x7e3503)=>_0x7e3503(_0x4d8328)[_0x5a83de(0x3d0)](H['concatMap'](async _0x83f931=>{var _0xdbcef9=_0x5a83de;const _0x533aa6=_0x83f931;if(_0x533aa6[_0xdbcef9(0x4c5)]===0x191){if(typeof window>'u')throw new Error(_0xdbcef9(0x474));if(window[_0xdbcef9(0x41f)](this[_0xdbcef9(0x43c)]['t'](_0xdbcef9(0x218)))){const _0x47495f=window[_0xdbcef9(0x18f)](window['location'][_0xdbcef9(0x28e)]);window[_0xdbcef9(0x4c0)][_0xdbcef9(0x28e)]=this[_0xdbcef9(0x4b8)]()+_0xdbcef9(0x199)+_0x47495f;}}return _0x533aa6;}))});}[_0x5c0715(0x4b8)](){var _0x1630e1=_0x5c0715,_0x5e282d,_0x352e46;const _0x2eeefd=this[_0x1630e1(0x444)][_0x1630e1(0x39c)](Ct),_0x3ed942=this[_0x1630e1(0x444)]['getConfig'](Y);return(_0x352e46=(_0x5e282d=_0x3ed942==null?void 0x0:_0x3ed942[_0x1630e1(0x3df)])!=null?_0x5e282d:_0x2eeefd)!=null?_0x352e46:zt;}};ye=Fn([Ae(0x0,a[_0x5c0715(0x468)]),Ae(0x1,a[_0x5c0715(0x49b)](q[_0x5c0715(0x3d7)])),Ae(0x2,a['Inject'](a[_0x5c0715(0x3b2)]))],ye);var Wn=Object[_0x5c0715(0x2d9)],Gn=Object['getOwnPropertyDescriptor'],Vn=(_0x3c0183,_0x3c102a,_0x1ec33e,_0x21f5b1)=>{for(var _0x4ef1f7=_0x21f5b1>0x1?void 0x0:_0x21f5b1?Gn(_0x3c102a,_0x1ec33e):_0x3c102a,_0x380ead=_0x3c0183['length']-0x1,_0x583afb;_0x380ead>=0x0;_0x380ead--)(_0x583afb=_0x3c0183[_0x380ead])&&(_0x4ef1f7=(_0x21f5b1?_0x583afb(_0x3c102a,_0x1ec33e,_0x4ef1f7):_0x583afb(_0x4ef1f7))||_0x4ef1f7);return _0x21f5b1&&_0x4ef1f7&&Wn(_0x3c102a,_0x1ec33e,_0x4ef1f7),_0x4ef1f7;},Ze=(_0x450892,_0x56367a)=>(_0x5dbe91,_0x11f217)=>_0x56367a(_0x5dbe91,_0x11f217,_0x450892);const Ve='AUTHZ_URL_KEY',Kn=_0x5c0715(0x322);exports[_0x5c0715(0x229)]=class extends a['Disposable']{constructor(_0x33b783,_0x40cbc4){var _0x1df684=_0x5c0715;super(),this[_0x1df684(0x2c6)]=_0x33b783,this['_configService']=_0x40cbc4,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x2036c3=_0x5c0715;const _0x7e588d=this;this[_0x2036c3(0x2f7)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x2036c3(0x2bc)]({'isMatch'(_0x2fbddf){var _0x50281b=_0x2036c3,_0xb0aa84;if(_0x2fbddf['method']===_0x50281b(0x283)&&((_0xb0aa84=_0x2fbddf['requestParams'])!=null&&_0xb0aa84[_0x50281b(0x1f6)])){const {objectID:_0xd9777d,objectType:_0x137ad0}=_0x2fbddf[_0x50281b(0x2f4)][_0x50281b(0x1f6)]||{};if(!_0xd9777d||_0x137ad0===void 0x0)return!0x1;const _0x12cdda=_0x7e588d[_0x50281b(0x486)]()+'/'+_0x137ad0+'/object/'+_0xd9777d+_0x50281b(0x1ef);if(_0x2fbddf['url']===_0x12cdda)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x16bfbd){var _0x1a8b17=_0x2036c3,_0x5218f7;return(_0x5218f7=_0x16bfbd[_0x1a8b17(0x2f4)])==null?void 0x0:_0x5218f7[_0x1a8b17(0x1f6)];},'mergeParamsToRequest'(_0x4a40ac,_0x125d33){var _0x26cc5c=_0x2036c3;const _0x38685d=_0x7e588d[_0x26cc5c(0x486)]()+_0x26cc5c(0x2b0),_0x51f017=_0x4a40ac[_0x26cc5c(0x4a7)]((_0x231395,_0x26ac33)=>{const {unitID:_0x5ba9eb,objectID:_0xc3681d,objectType:_0x8495ff,actions:_0xefbf6}=_0x26ac33;return _0x231395[_0x5ba9eb]||(_0x231395[_0x5ba9eb]={}),_0x231395[_0x5ba9eb][_0xc3681d]||(_0x231395[_0x5ba9eb][_0xc3681d]={'objectID':_0xc3681d,'objectType':_0x8495ff,'actions':[]}),_0x231395[_0x5ba9eb][_0xc3681d]['actions']['push'](..._0xefbf6),_0x231395;},{}),_0x58c6d3=[];for(const _0x16dced in _0x51f017)for(const _0x319473 in _0x51f017[_0x16dced]){const {actions:_0x5a0915,objectType:_0x51f87c}=_0x51f017[_0x16dced][_0x319473],_0xc25d83=[...new Set(_0x5a0915)];_0x58c6d3['push']({'unitID':_0x16dced,'objectID':_0x319473,'objectType':_0x51f87c,'actions':_0xc25d83});}return new q['HTTPRequest']('POST',_0x38685d,{'headers':_0x125d33[_0x26cc5c(0x2fc)],'withCredentials':_0x125d33['withCredentials'],'responseType':_0x125d33[_0x26cc5c(0x230)],'body':{'requests':_0x58c6d3}});}},{'distributeResult'(_0x580bc7,_0x3aa2a6){var _0x3f9c4d=_0x2036c3;const {objectActions:_0x4cbf97}=_0x580bc7;return _0x3aa2a6[_0x3f9c4d(0x4cd)](_0x16c9ad=>{var _0x1e78d4=_0x3f9c4d;const {unitID:_0x34d0a3,objectID:_0x5c9697,actions:_0x134280}=_0x16c9ad,_0x361b65=_0x4cbf97[_0x1e78d4(0x2cf)](_0x429acc=>_0x429acc[_0x1e78d4(0x2dc)]===_0x34d0a3&&_0x429acc[_0x1e78d4(0x198)]===_0x5c9697),_0x101752=_0x134280[_0x1e78d4(0x4cd)](_0x1d3d39=>_0x361b65==null?void 0x0:_0x361b65[_0x1e78d4(0x471)][_0x1e78d4(0x2cf)](_0x41d6aa=>_0x41d6aa['action']===_0x1d3d39))[_0x1e78d4(0x4e6)](_0x142ed3=>!!_0x142ed3);return{'config':_0x16c9ad,'result':{'actions':_0x101752,'error':_0x580bc7[_0x1e78d4(0x2e6)]}};});}})}));}[_0x5c0715(0x486)](){var _0x6f278=_0x5c0715,_0x11a587,_0x52dc25;const _0x1b2995=this[_0x6f278(0x444)][_0x6f278(0x39c)](Ve),_0x101500=this[_0x6f278(0x444)][_0x6f278(0x39c)](Y);return(_0x52dc25=(_0x11a587=_0x101500==null?void 0x0:_0x101500[_0x6f278(0x297)])!=null?_0x11a587:_0x1b2995)!=null?_0x52dc25:Kn;}async[_0x5c0715(0x269)](_0x334de2){var _0x3fecb8=_0x5c0715;const _0x1dc0e6=this['_getAPIPrefixPath']()+'/'+_0x334de2['objectType']+_0x3fecb8(0x4a0);return(await this[_0x3fecb8(0x2c6)][_0x3fecb8(0x475)](_0x1dc0e6,{'body':_0x334de2}))[_0x3fecb8(0x1f6)][_0x3fecb8(0x198)]||'';}async[_0x5c0715(0x326)](_0x11f1e2){var _0x11cd44=_0x5c0715;const _0xf77939=this[_0x11cd44(0x486)]()+_0x11cd44(0x380);return(await this[_0x11cd44(0x2c6)]['post'](_0xf77939,{'body':_0x11f1e2}))[_0x11cd44(0x1f6)][_0x11cd44(0x366)];}async[_0x5c0715(0x1e2)](_0x164a27){var _0x6b42f0=_0x5c0715;const _0x4685ff=this[_0x6b42f0(0x486)]()+'/'+_0x164a27[_0x6b42f0(0x294)]+_0x6b42f0(0x3ad)+_0x164a27[_0x6b42f0(0x198)];await this[_0x6b42f0(0x2c6)][_0x6b42f0(0x1ae)](_0x4685ff,{'body':_0x164a27});}async[_0x5c0715(0x494)](_0x4bf14d){var _0x21e4c4=_0x5c0715;const _0x1aa8d5=this['_getAPIPrefixPath']()+'/'+_0x4bf14d['objectType']+_0x21e4c4(0x3ad)+_0x4bf14d['objectID']+'/allowed';return(await this['_HTTPService']['post'](_0x1aa8d5,{'body':_0x4bf14d}))['body'][_0x21e4c4(0x471)];}async['batchAllowed'](_0x4289b5){var _0x16d69d=_0x5c0715;const _0x9ad250=this[_0x16d69d(0x486)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x16d69d(0x475)](_0x9ad250,{'body':{'requests':_0x4289b5}}))[_0x16d69d(0x1f6)][_0x16d69d(0x45e)];}async['listRoles'](_0x18ae69){var _0x581d43=_0x5c0715;const _0x1bfeeb=this['_getAPIPrefixPath']()+'/'+_0x18ae69[_0x581d43(0x294)]+'/role',_0x3ff255=await this[_0x581d43(0x2c6)][_0x581d43(0x475)](_0x1bfeeb,{'body':_0x18ae69});return{'roles':_0x3ff255[_0x581d43(0x1f6)]['roles'],'actions':_0x3ff255[_0x581d43(0x1f6)]['actions']};}async['deleteCollaborator'](_0x416d43){var _0x111c5e=_0x5c0715;const _0x1f4a71=this['_getAPIPrefixPath']()+_0x111c5e(0x3f1);await this[_0x111c5e(0x2c6)][_0x111c5e(0x282)](_0x1f4a71,{'params':{'collaboratorID':_0x416d43[_0x111c5e(0x29b)],'objectID':_0x416d43['objectID'],'unitID':_0x416d43[_0x111c5e(0x2dc)]}});}async[_0x5c0715(0x1ff)](_0x4939a7){var _0x359ca2=_0x5c0715;const _0x167387=this['_getAPIPrefixPath']()+_0x359ca2(0x3f1);await this[_0x359ca2(0x2c6)][_0x359ca2(0x34c)](_0x167387,{'body':_0x4939a7});}async['createCollaborator'](_0x4125bc){var _0x1d6fd3=_0x5c0715;const _0x4c9e99=this[_0x1d6fd3(0x486)]()+'/collaborator';await this[_0x1d6fd3(0x2c6)]['post'](_0x4c9e99,{'body':_0x4125bc});}async[_0x5c0715(0x1ec)](_0xacfa05){var _0x3b307e=_0x5c0715;const _0x2631a9=this[_0x3b307e(0x486)]()+_0x3b307e(0x3f1);return(await this['_HTTPService'][_0x3b307e(0x327)](_0x2631a9,{'params':{'objectID':_0xacfa05[_0x3b307e(0x198)],'unitID':_0xacfa05[_0x3b307e(0x2dc)]}}))[_0x3b307e(0x1f6)][_0x3b307e(0x3c9)];}async[_0x5c0715(0x3a9)](_0x596188){var _0x1a28a0=_0x5c0715;const _0x3b9527=this[_0x1a28a0(0x486)]()+_0x1a28a0(0x3f1);await this[_0x1a28a0(0x2c6)][_0x1a28a0(0x1ae)](_0x3b9527,{'body':_0x596188});}},exports['AuthzIoHttpService']=Vn([Ze(0x0,a[_0x5c0715(0x49b)](q[_0x5c0715(0x3d7)])),Ze(0x1,a[_0x5c0715(0x49b)](a[_0x5c0715(0x468)]))],exports[_0x5c0715(0x229)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x3a3176){var _0x4df964=_0x5c0715;return _0x3a3176&&_0x3a3176[_0x4df964(0x4e8)]&&Object[_0x4df964(0x287)][_0x4df964(0x1eb)]['call'](_0x3a3176,_0x4df964(0x217))?_0x3a3176[_0x4df964(0x217)]:_0x3a3176;}var Se={'exports':{}};function Yn(_0x124c93){var _0x222928=_0x5c0715;throw new Error(_0x222928(0x21c)+_0x124c93+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},qn=pe['exports'],Qe;function ee(){var _0x3b3764=_0x5c0715;return Qe||(Qe=0x1,function(_0x33c167,_0x42b79b){(function(_0x5793eb,_0x48b7aa){_0x33c167['exports']=_0x48b7aa();}(qn,function(){var _0x5e6acf=_0x5e6acf||function(_0x3f40ab,_0x25eccc){var _0x13707f=_0x5fe0,_0xc4b238;if(typeof window<'u'&&window['crypto']&&(_0xc4b238=window['crypto']),typeof self<'u'&&self[_0x13707f(0x33e)]&&(_0xc4b238=self[_0x13707f(0x33e)]),typeof globalThis<'u'&&globalThis[_0x13707f(0x33e)]&&(_0xc4b238=globalThis[_0x13707f(0x33e)]),!_0xc4b238&&typeof window<'u'&&window[_0x13707f(0x391)]&&(_0xc4b238=window[_0x13707f(0x391)]),!_0xc4b238&&typeof Le<'u'&&Le[_0x13707f(0x33e)]&&(_0xc4b238=Le[_0x13707f(0x33e)]),!_0xc4b238&&typeof Yn=='function')try{_0xc4b238=require('crypto');}catch{}var _0x4e2b5c=function(){var _0x290d9e=_0x13707f;if(_0xc4b238){if(typeof _0xc4b238[_0x290d9e(0x27c)]==_0x290d9e(0x3b3))try{return _0xc4b238[_0x290d9e(0x27c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xc4b238[_0x290d9e(0x3bb)]==_0x290d9e(0x3b3))try{return _0xc4b238[_0x290d9e(0x3bb)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x290d9e(0x423));},_0x23d3ae=Object[_0x13707f(0x269)]||(function(){function _0x2060ce(){}return function(_0x4aea04){var _0x3b7a6e=_0x5fe0,_0x42f0ad;return _0x2060ce[_0x3b7a6e(0x287)]=_0x4aea04,_0x42f0ad=new _0x2060ce(),_0x2060ce[_0x3b7a6e(0x287)]=null,_0x42f0ad;};}()),_0x30f63c={},_0x30760b=_0x30f63c[_0x13707f(0x302)]={},_0x426a42=_0x30760b[_0x13707f(0x4ef)]=(function(){return{'extend':function(_0x41df37){var _0x69a930=_0x5fe0,_0x150967=_0x23d3ae(this);return _0x41df37&&_0x150967[_0x69a930(0x1fb)](_0x41df37),(!_0x150967['hasOwnProperty'](_0x69a930(0x43f))||this[_0x69a930(0x43f)]===_0x150967[_0x69a930(0x43f)])&&(_0x150967[_0x69a930(0x43f)]=function(){var _0x3be9ba=_0x69a930;_0x150967[_0x3be9ba(0x300)]['init'][_0x3be9ba(0x342)](this,arguments);}),_0x150967[_0x69a930(0x43f)][_0x69a930(0x287)]=_0x150967,_0x150967['$super']=this,_0x150967;},'create':function(){var _0x3c18eb=_0x5fe0,_0x2e2c88=this[_0x3c18eb(0x3eb)]();return _0x2e2c88['init'][_0x3c18eb(0x342)](_0x2e2c88,arguments),_0x2e2c88;},'init':function(){},'mixIn':function(_0x3ece49){var _0x343ab5=_0x5fe0;for(var _0x6bcb3c in _0x3ece49)_0x3ece49[_0x343ab5(0x1eb)](_0x6bcb3c)&&(this[_0x6bcb3c]=_0x3ece49[_0x6bcb3c]);_0x3ece49[_0x343ab5(0x1eb)](_0x343ab5(0x3fc))&&(this[_0x343ab5(0x3fc)]=_0x3ece49[_0x343ab5(0x3fc)]);},'clone':function(){var _0x3759a7=_0x5fe0;return this[_0x3759a7(0x43f)][_0x3759a7(0x287)]['extend'](this);}};}()),_0x7abdf1=_0x30760b[_0x13707f(0x348)]=_0x426a42[_0x13707f(0x3eb)]({'init':function(_0x37515b,_0x1f2e74){var _0x100e61=_0x13707f;_0x37515b=this[_0x100e61(0x40e)]=_0x37515b||[],_0x1f2e74!=_0x25eccc?this['sigBytes']=_0x1f2e74:this[_0x100e61(0x459)]=_0x37515b[_0x100e61(0x1b2)]*0x4;},'toString':function(_0x29775a){var _0x41c1db=_0x13707f;return(_0x29775a||_0x2fbab2)[_0x41c1db(0x26a)](this);},'concat':function(_0x505115){var _0x3e7ead=_0x13707f,_0x31c29f=this['words'],_0x55d6fa=_0x505115[_0x3e7ead(0x40e)],_0x4474e5=this[_0x3e7ead(0x459)],_0x16029b=_0x505115[_0x3e7ead(0x459)];if(this['clamp'](),_0x4474e5%0x4)for(var _0x94995=0x0;_0x94995<_0x16029b;_0x94995++){var _0xa66500=_0x55d6fa[_0x94995>>>0x2]>>>0x18-_0x94995%0x4*0x8&0xff;_0x31c29f[_0x4474e5+_0x94995>>>0x2]|=_0xa66500<<0x18-(_0x4474e5+_0x94995)%0x4*0x8;}else{for(var _0x3b6d3f=0x0;_0x3b6d3f<_0x16029b;_0x3b6d3f+=0x4)_0x31c29f[_0x4474e5+_0x3b6d3f>>>0x2]=_0x55d6fa[_0x3b6d3f>>>0x2];}return this[_0x3e7ead(0x459)]+=_0x16029b,this;},'clamp':function(){var _0x5ccfc3=_0x13707f,_0x13f170=this['words'],_0x3b705d=this[_0x5ccfc3(0x459)];_0x13f170[_0x3b705d>>>0x2]&=0xffffffff<<0x20-_0x3b705d%0x4*0x8,_0x13f170['length']=_0x3f40ab[_0x5ccfc3(0x1f9)](_0x3b705d/0x4);},'clone':function(){var _0x536b01=_0x13707f,_0x47387d=_0x426a42[_0x536b01(0x38a)]['call'](this);return _0x47387d[_0x536b01(0x40e)]=this[_0x536b01(0x40e)][_0x536b01(0x34b)](0x0),_0x47387d;},'random':function(_0x55e997){var _0x2ba669=_0x13707f;for(var _0x22a815=[],_0x5872f7=0x0;_0x5872f7<_0x55e997;_0x5872f7+=0x4)_0x22a815[_0x2ba669(0x3aa)](_0x4e2b5c());return new _0x7abdf1[(_0x2ba669(0x43f))](_0x22a815,_0x55e997);}}),_0x27b27f=_0x30f63c[_0x13707f(0x29d)]={},_0x2fbab2=_0x27b27f['Hex']={'stringify':function(_0x3ef604){var _0x32ca3b=_0x13707f;for(var _0x332617=_0x3ef604[_0x32ca3b(0x40e)],_0x215ca0=_0x3ef604[_0x32ca3b(0x459)],_0x9ac02e=[],_0x13c5c0=0x0;_0x13c5c0<_0x215ca0;_0x13c5c0++){var _0x236476=_0x332617[_0x13c5c0>>>0x2]>>>0x18-_0x13c5c0%0x4*0x8&0xff;_0x9ac02e[_0x32ca3b(0x3aa)]((_0x236476>>>0x4)['toString'](0x10)),_0x9ac02e['push']((_0x236476&0xf)['toString'](0x10));}return _0x9ac02e[_0x32ca3b(0x21d)]('');},'parse':function(_0x6bb53f){var _0x2409bd=_0x13707f;for(var _0x31b217=_0x6bb53f[_0x2409bd(0x1b2)],_0x554986=[],_0x1f1504=0x0;_0x1f1504<_0x31b217;_0x1f1504+=0x2)_0x554986[_0x1f1504>>>0x3]|=parseInt(_0x6bb53f['substr'](_0x1f1504,0x2),0x10)<<0x18-_0x1f1504%0x8*0x4;return new _0x7abdf1[(_0x2409bd(0x43f))](_0x554986,_0x31b217/0x2);}},_0x3a6297=_0x27b27f[_0x13707f(0x3cf)]={'stringify':function(_0x5a880c){var _0x44f95a=_0x13707f;for(var _0xc1cc1d=_0x5a880c['words'],_0x368276=_0x5a880c[_0x44f95a(0x459)],_0x196e3b=[],_0x2fd4b3=0x0;_0x2fd4b3<_0x368276;_0x2fd4b3++){var _0x412160=_0xc1cc1d[_0x2fd4b3>>>0x2]>>>0x18-_0x2fd4b3%0x4*0x8&0xff;_0x196e3b[_0x44f95a(0x3aa)](String[_0x44f95a(0x189)](_0x412160));}return _0x196e3b[_0x44f95a(0x21d)]('');},'parse':function(_0x39bd76){var _0x1283da=_0x13707f;for(var _0x25a243=_0x39bd76[_0x1283da(0x1b2)],_0x19f696=[],_0x4aa9ae=0x0;_0x4aa9ae<_0x25a243;_0x4aa9ae++)_0x19f696[_0x4aa9ae>>>0x2]|=(_0x39bd76[_0x1283da(0x478)](_0x4aa9ae)&0xff)<<0x18-_0x4aa9ae%0x4*0x8;return new _0x7abdf1['init'](_0x19f696,_0x25a243);}},_0x2d2c42=_0x27b27f[_0x13707f(0x246)]={'stringify':function(_0x55c689){var _0x237f83=_0x13707f;try{return decodeURIComponent(escape(_0x3a6297['stringify'](_0x55c689)));}catch{throw new Error(_0x237f83(0x39b));}},'parse':function(_0x190595){return _0x3a6297['parse'](unescape(encodeURIComponent(_0x190595)));}},_0xef7d9d=_0x30760b[_0x13707f(0x408)]=_0x426a42[_0x13707f(0x3eb)]({'reset':function(){var _0x4be7c8=_0x13707f;this[_0x4be7c8(0x3f7)]=new _0x7abdf1[(_0x4be7c8(0x43f))](),this[_0x4be7c8(0x3a6)]=0x0;},'_append':function(_0x46f779){var _0xc20f15=_0x13707f;typeof _0x46f779==_0xc20f15(0x4c2)&&(_0x46f779=_0x2d2c42[_0xc20f15(0x24d)](_0x46f779)),this['_data']['concat'](_0x46f779),this['_nDataBytes']+=_0x46f779[_0xc20f15(0x459)];},'_process':function(_0x3102d6){var _0x33c439=_0x13707f,_0x47cbfc,_0x4efb27=this['_data'],_0x529cfd=_0x4efb27[_0x33c439(0x40e)],_0x2135d3=_0x4efb27[_0x33c439(0x459)],_0x3ef8c0=this[_0x33c439(0x3c1)],_0x54c184=_0x3ef8c0*0x4,_0x4d6c52=_0x2135d3/_0x54c184;_0x3102d6?_0x4d6c52=_0x3f40ab[_0x33c439(0x1f9)](_0x4d6c52):_0x4d6c52=_0x3f40ab[_0x33c439(0x34a)]((_0x4d6c52|0x0)-this['_minBufferSize'],0x0);var _0x2bd470=_0x4d6c52*_0x3ef8c0,_0x206a1a=_0x3f40ab[_0x33c439(0x222)](_0x2bd470*0x4,_0x2135d3);if(_0x2bd470){for(var _0x5187c9=0x0;_0x5187c9<_0x2bd470;_0x5187c9+=_0x3ef8c0)this[_0x33c439(0x1e1)](_0x529cfd,_0x5187c9);_0x47cbfc=_0x529cfd[_0x33c439(0x4eb)](0x0,_0x2bd470),_0x4efb27['sigBytes']-=_0x206a1a;}return new _0x7abdf1[(_0x33c439(0x43f))](_0x47cbfc,_0x206a1a);},'clone':function(){var _0xaa7304=_0x13707f,_0x29bf94=_0x426a42[_0xaa7304(0x38a)][_0xaa7304(0x36a)](this);return _0x29bf94[_0xaa7304(0x3f7)]=this[_0xaa7304(0x3f7)][_0xaa7304(0x38a)](),_0x29bf94;},'_minBufferSize':0x0});_0x30760b['Hasher']=_0xef7d9d[_0x13707f(0x3eb)]({'cfg':_0x426a42['extend'](),'init':function(_0x4dc9fa){var _0x4440d0=_0x13707f;this[_0x4440d0(0x28d)]=this['cfg'][_0x4440d0(0x3eb)](_0x4dc9fa),this[_0x4440d0(0x48d)]();},'reset':function(){var _0x1cce51=_0x13707f;_0xef7d9d[_0x1cce51(0x48d)][_0x1cce51(0x36a)](this),this['_doReset']();},'update':function(_0x44491a){var _0x3450ac=_0x13707f;return this[_0x3450ac(0x4a9)](_0x44491a),this[_0x3450ac(0x268)](),this;},'finalize':function(_0x1cacb0){var _0x1482f6=_0x13707f;_0x1cacb0&&this[_0x1482f6(0x4a9)](_0x1cacb0);var _0x759147=this[_0x1482f6(0x41a)]();return _0x759147;},'blockSize':0x10,'_createHelper':function(_0xcf526e){return function(_0x1c0d7d,_0x3dde63){return new _0xcf526e['init'](_0x3dde63)['finalize'](_0x1c0d7d);};},'_createHmacHelper':function(_0x362af1){return function(_0x3d9b69,_0x806ec0){var _0x4ca874=_0x5fe0;return new _0x5bfff0[(_0x4ca874(0x452))]['init'](_0x362af1,_0x806ec0)[_0x4ca874(0x4f7)](_0x3d9b69);};}});var _0x5bfff0=_0x30f63c[_0x13707f(0x4f2)]={};return _0x30f63c;}(Math);return _0x5e6acf;}));}(pe)),pe[_0x3b3764(0x4d9)];}var me={'exports':{}},zn=me[_0x5c0715(0x4d9)],et;function Dt(){var _0x5ff9cf=_0x5c0715;return et||(et=0x1,function(_0x149894,_0x4e23e5){(function(_0x1076d7,_0x5019c8){var _0x1d85ed=_0x5fe0;_0x149894[_0x1d85ed(0x4d9)]=_0x5019c8(ee());}(zn,function(_0x2c1286){var _0x56b217=_0x5fe0;return(function(){var _0x96fd2b=_0x5fe0,_0x233bde=_0x2c1286,_0x2ca6de=_0x233bde[_0x96fd2b(0x302)],_0x31e018=_0x2ca6de[_0x96fd2b(0x348)],_0x660770=_0x233bde[_0x96fd2b(0x29d)];_0x660770[_0x96fd2b(0x23d)]={'stringify':function(_0x5a2477){var _0x5da425=_0x96fd2b,_0x230f09=_0x5a2477[_0x5da425(0x40e)],_0x1e518e=_0x5a2477['sigBytes'],_0x532fb6=this[_0x5da425(0x299)];_0x5a2477[_0x5da425(0x3c6)]();for(var _0x74c781=[],_0x15afe7=0x0;_0x15afe7<_0x1e518e;_0x15afe7+=0x3)for(var _0x52c749=_0x230f09[_0x15afe7>>>0x2]>>>0x18-_0x15afe7%0x4*0x8&0xff,_0x540a5b=_0x230f09[_0x15afe7+0x1>>>0x2]>>>0x18-(_0x15afe7+0x1)%0x4*0x8&0xff,_0x3b1bb=_0x230f09[_0x15afe7+0x2>>>0x2]>>>0x18-(_0x15afe7+0x2)%0x4*0x8&0xff,_0x242059=_0x52c749<<0x10|_0x540a5b<<0x8|_0x3b1bb,_0x46665d=0x0;_0x46665d<0x4&&_0x15afe7+_0x46665d*0.75<_0x1e518e;_0x46665d++)_0x74c781['push'](_0x532fb6['charAt'](_0x242059>>>0x6*(0x3-_0x46665d)&0x3f));var _0xa1bf2=_0x532fb6['charAt'](0x40);if(_0xa1bf2){for(;_0x74c781['length']%0x4;)_0x74c781[_0x5da425(0x3aa)](_0xa1bf2);}return _0x74c781['join']('');},'parse':function(_0x25e345){var _0x4c6882=_0x96fd2b,_0x2a8d70=_0x25e345[_0x4c6882(0x1b2)],_0x521a3b=this['_map'],_0x519d2e=this[_0x4c6882(0x323)];if(!_0x519d2e){_0x519d2e=this[_0x4c6882(0x323)]=[];for(var _0x24c096=0x0;_0x24c096<_0x521a3b[_0x4c6882(0x1b2)];_0x24c096++)_0x519d2e[_0x521a3b[_0x4c6882(0x478)](_0x24c096)]=_0x24c096;}var _0x12240d=_0x521a3b[_0x4c6882(0x318)](0x40);if(_0x12240d){var _0x5cbc36=_0x25e345['indexOf'](_0x12240d);_0x5cbc36!==-0x1&&(_0x2a8d70=_0x5cbc36);}return _0x138207(_0x25e345,_0x2a8d70,_0x519d2e);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x138207(_0x1ca4d1,_0x33c90a,_0x42c1cf){var _0xc6a2e=_0x96fd2b;for(var _0x295127=[],_0x1cc548=0x0,_0x1ea768=0x0;_0x1ea768<_0x33c90a;_0x1ea768++)if(_0x1ea768%0x4){var _0x22770b=_0x42c1cf[_0x1ca4d1[_0xc6a2e(0x478)](_0x1ea768-0x1)]<<_0x1ea768%0x4*0x2,_0x43d1f5=_0x42c1cf[_0x1ca4d1['charCodeAt'](_0x1ea768)]>>>0x6-_0x1ea768%0x4*0x2,_0x3eb443=_0x22770b|_0x43d1f5;_0x295127[_0x1cc548>>>0x2]|=_0x3eb443<<0x18-_0x1cc548%0x4*0x8,_0x1cc548++;}return _0x31e018[_0xc6a2e(0x269)](_0x295127,_0x1cc548);}}()),_0x2c1286[_0x56b217(0x29d)][_0x56b217(0x23d)];}));}(me)),me[_0x5ff9cf(0x4d9)];}var ge={'exports':{}},Jn=ge[_0x5c0715(0x4d9)],tt;function Xn(){var _0xbc9bd0=_0x5c0715;return tt||(tt=0x1,function(_0x42464a,_0x17985b){(function(_0x21163d,_0x25f32e){var _0x340c60=_0x5fe0;_0x42464a[_0x340c60(0x4d9)]=_0x25f32e(ee());}(Jn,function(_0x50e3a4){var _0x3eae23=_0x5fe0;return function(_0x2f610f){var _0x871b48=_0x5fe0,_0x36e02a=_0x50e3a4,_0x3b6156=_0x36e02a['lib'],_0x13cb89=_0x3b6156[_0x871b48(0x348)],_0x455277=_0x3b6156['Hasher'],_0x57f5a1=_0x36e02a['algo'],_0x90bfc6=[];(function(){var _0x29dc1f=_0x871b48;for(var _0x381393=0x0;_0x381393<0x40;_0x381393++)_0x90bfc6[_0x381393]=_0x2f610f[_0x29dc1f(0x4e0)](_0x2f610f[_0x29dc1f(0x2e5)](_0x381393+0x1))*0x100000000|0x0;}());var _0x5b4238=_0x57f5a1[_0x871b48(0x3cc)]=_0x455277[_0x871b48(0x3eb)]({'_doReset':function(){var _0x3e1d43=_0x871b48;this['_hash']=new _0x13cb89[(_0x3e1d43(0x43f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2f49b8,_0x3ae401){var _0x3d0bcd=_0x871b48;for(var _0x1fdcec=0x0;_0x1fdcec<0x10;_0x1fdcec++){var _0x1ec185=_0x3ae401+_0x1fdcec,_0x34c05b=_0x2f49b8[_0x1ec185];_0x2f49b8[_0x1ec185]=(_0x34c05b<<0x8|_0x34c05b>>>0x18)&0xff00ff|(_0x34c05b<<0x18|_0x34c05b>>>0x8)&0xff00ff00;}var _0x25c05c=this[_0x3d0bcd(0x36c)][_0x3d0bcd(0x40e)],_0x3ed1f4=_0x2f49b8[_0x3ae401+0x0],_0x2bc1a7=_0x2f49b8[_0x3ae401+0x1],_0x4606a4=_0x2f49b8[_0x3ae401+0x2],_0x4bf44f=_0x2f49b8[_0x3ae401+0x3],_0x5bb86e=_0x2f49b8[_0x3ae401+0x4],_0x56f0ad=_0x2f49b8[_0x3ae401+0x5],_0x16c57a=_0x2f49b8[_0x3ae401+0x6],_0x126c96=_0x2f49b8[_0x3ae401+0x7],_0x34b22d=_0x2f49b8[_0x3ae401+0x8],_0x4044f0=_0x2f49b8[_0x3ae401+0x9],_0x388d84=_0x2f49b8[_0x3ae401+0xa],_0x14e89a=_0x2f49b8[_0x3ae401+0xb],_0x3013f0=_0x2f49b8[_0x3ae401+0xc],_0x320e2f=_0x2f49b8[_0x3ae401+0xd],_0x59655b=_0x2f49b8[_0x3ae401+0xe],_0x3e7beb=_0x2f49b8[_0x3ae401+0xf],_0x25c9e8=_0x25c05c[0x0],_0x544f88=_0x25c05c[0x1],_0x3b53f6=_0x25c05c[0x2],_0x14c655=_0x25c05c[0x3];_0x25c9e8=_0x9e25d6(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x3ed1f4,0x7,_0x90bfc6[0x0]),_0x14c655=_0x9e25d6(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x2bc1a7,0xc,_0x90bfc6[0x1]),_0x3b53f6=_0x9e25d6(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x4606a4,0x11,_0x90bfc6[0x2]),_0x544f88=_0x9e25d6(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x4bf44f,0x16,_0x90bfc6[0x3]),_0x25c9e8=_0x9e25d6(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x5bb86e,0x7,_0x90bfc6[0x4]),_0x14c655=_0x9e25d6(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x56f0ad,0xc,_0x90bfc6[0x5]),_0x3b53f6=_0x9e25d6(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x16c57a,0x11,_0x90bfc6[0x6]),_0x544f88=_0x9e25d6(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x126c96,0x16,_0x90bfc6[0x7]),_0x25c9e8=_0x9e25d6(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x34b22d,0x7,_0x90bfc6[0x8]),_0x14c655=_0x9e25d6(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x4044f0,0xc,_0x90bfc6[0x9]),_0x3b53f6=_0x9e25d6(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x388d84,0x11,_0x90bfc6[0xa]),_0x544f88=_0x9e25d6(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x14e89a,0x16,_0x90bfc6[0xb]),_0x25c9e8=_0x9e25d6(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x3013f0,0x7,_0x90bfc6[0xc]),_0x14c655=_0x9e25d6(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x320e2f,0xc,_0x90bfc6[0xd]),_0x3b53f6=_0x9e25d6(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x59655b,0x11,_0x90bfc6[0xe]),_0x544f88=_0x9e25d6(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x3e7beb,0x16,_0x90bfc6[0xf]),_0x25c9e8=_0x54191b(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x2bc1a7,0x5,_0x90bfc6[0x10]),_0x14c655=_0x54191b(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x16c57a,0x9,_0x90bfc6[0x11]),_0x3b53f6=_0x54191b(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x14e89a,0xe,_0x90bfc6[0x12]),_0x544f88=_0x54191b(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x3ed1f4,0x14,_0x90bfc6[0x13]),_0x25c9e8=_0x54191b(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x56f0ad,0x5,_0x90bfc6[0x14]),_0x14c655=_0x54191b(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x388d84,0x9,_0x90bfc6[0x15]),_0x3b53f6=_0x54191b(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x3e7beb,0xe,_0x90bfc6[0x16]),_0x544f88=_0x54191b(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x5bb86e,0x14,_0x90bfc6[0x17]),_0x25c9e8=_0x54191b(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x4044f0,0x5,_0x90bfc6[0x18]),_0x14c655=_0x54191b(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x59655b,0x9,_0x90bfc6[0x19]),_0x3b53f6=_0x54191b(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x4bf44f,0xe,_0x90bfc6[0x1a]),_0x544f88=_0x54191b(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x34b22d,0x14,_0x90bfc6[0x1b]),_0x25c9e8=_0x54191b(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x320e2f,0x5,_0x90bfc6[0x1c]),_0x14c655=_0x54191b(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x4606a4,0x9,_0x90bfc6[0x1d]),_0x3b53f6=_0x54191b(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x126c96,0xe,_0x90bfc6[0x1e]),_0x544f88=_0x54191b(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x3013f0,0x14,_0x90bfc6[0x1f]),_0x25c9e8=_0x2c7586(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x56f0ad,0x4,_0x90bfc6[0x20]),_0x14c655=_0x2c7586(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x34b22d,0xb,_0x90bfc6[0x21]),_0x3b53f6=_0x2c7586(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x14e89a,0x10,_0x90bfc6[0x22]),_0x544f88=_0x2c7586(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x59655b,0x17,_0x90bfc6[0x23]),_0x25c9e8=_0x2c7586(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x2bc1a7,0x4,_0x90bfc6[0x24]),_0x14c655=_0x2c7586(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x5bb86e,0xb,_0x90bfc6[0x25]),_0x3b53f6=_0x2c7586(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x126c96,0x10,_0x90bfc6[0x26]),_0x544f88=_0x2c7586(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x388d84,0x17,_0x90bfc6[0x27]),_0x25c9e8=_0x2c7586(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x320e2f,0x4,_0x90bfc6[0x28]),_0x14c655=_0x2c7586(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x3ed1f4,0xb,_0x90bfc6[0x29]),_0x3b53f6=_0x2c7586(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x4bf44f,0x10,_0x90bfc6[0x2a]),_0x544f88=_0x2c7586(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x16c57a,0x17,_0x90bfc6[0x2b]),_0x25c9e8=_0x2c7586(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x4044f0,0x4,_0x90bfc6[0x2c]),_0x14c655=_0x2c7586(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x3013f0,0xb,_0x90bfc6[0x2d]),_0x3b53f6=_0x2c7586(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x3e7beb,0x10,_0x90bfc6[0x2e]),_0x544f88=_0x2c7586(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x4606a4,0x17,_0x90bfc6[0x2f]),_0x25c9e8=_0x5b5eba(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x3ed1f4,0x6,_0x90bfc6[0x30]),_0x14c655=_0x5b5eba(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x126c96,0xa,_0x90bfc6[0x31]),_0x3b53f6=_0x5b5eba(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x59655b,0xf,_0x90bfc6[0x32]),_0x544f88=_0x5b5eba(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x56f0ad,0x15,_0x90bfc6[0x33]),_0x25c9e8=_0x5b5eba(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x3013f0,0x6,_0x90bfc6[0x34]),_0x14c655=_0x5b5eba(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x4bf44f,0xa,_0x90bfc6[0x35]),_0x3b53f6=_0x5b5eba(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x388d84,0xf,_0x90bfc6[0x36]),_0x544f88=_0x5b5eba(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x2bc1a7,0x15,_0x90bfc6[0x37]),_0x25c9e8=_0x5b5eba(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x34b22d,0x6,_0x90bfc6[0x38]),_0x14c655=_0x5b5eba(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x3e7beb,0xa,_0x90bfc6[0x39]),_0x3b53f6=_0x5b5eba(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x16c57a,0xf,_0x90bfc6[0x3a]),_0x544f88=_0x5b5eba(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x320e2f,0x15,_0x90bfc6[0x3b]),_0x25c9e8=_0x5b5eba(_0x25c9e8,_0x544f88,_0x3b53f6,_0x14c655,_0x5bb86e,0x6,_0x90bfc6[0x3c]),_0x14c655=_0x5b5eba(_0x14c655,_0x25c9e8,_0x544f88,_0x3b53f6,_0x14e89a,0xa,_0x90bfc6[0x3d]),_0x3b53f6=_0x5b5eba(_0x3b53f6,_0x14c655,_0x25c9e8,_0x544f88,_0x4606a4,0xf,_0x90bfc6[0x3e]),_0x544f88=_0x5b5eba(_0x544f88,_0x3b53f6,_0x14c655,_0x25c9e8,_0x4044f0,0x15,_0x90bfc6[0x3f]),_0x25c05c[0x0]=_0x25c05c[0x0]+_0x25c9e8|0x0,_0x25c05c[0x1]=_0x25c05c[0x1]+_0x544f88|0x0,_0x25c05c[0x2]=_0x25c05c[0x2]+_0x3b53f6|0x0,_0x25c05c[0x3]=_0x25c05c[0x3]+_0x14c655|0x0;},'_doFinalize':function(){var _0xb0fd30=_0x871b48,_0x357534=this[_0xb0fd30(0x3f7)],_0x5cfbd0=_0x357534['words'],_0x46a55a=this['_nDataBytes']*0x8,_0x5b228f=_0x357534[_0xb0fd30(0x459)]*0x8;_0x5cfbd0[_0x5b228f>>>0x5]|=0x80<<0x18-_0x5b228f%0x20;var _0x4848d0=_0x2f610f[_0xb0fd30(0x498)](_0x46a55a/0x100000000),_0x59762e=_0x46a55a;_0x5cfbd0[(_0x5b228f+0x40>>>0x9<<0x4)+0xf]=(_0x4848d0<<0x8|_0x4848d0>>>0x18)&0xff00ff|(_0x4848d0<<0x18|_0x4848d0>>>0x8)&0xff00ff00,_0x5cfbd0[(_0x5b228f+0x40>>>0x9<<0x4)+0xe]=(_0x59762e<<0x8|_0x59762e>>>0x18)&0xff00ff|(_0x59762e<<0x18|_0x59762e>>>0x8)&0xff00ff00,_0x357534[_0xb0fd30(0x459)]=(_0x5cfbd0[_0xb0fd30(0x1b2)]+0x1)*0x4,this[_0xb0fd30(0x268)]();for(var _0xc145df=this[_0xb0fd30(0x36c)],_0x55daa7=_0xc145df[_0xb0fd30(0x40e)],_0x3984bf=0x0;_0x3984bf<0x4;_0x3984bf++){var _0x5ef401=_0x55daa7[_0x3984bf];_0x55daa7[_0x3984bf]=(_0x5ef401<<0x8|_0x5ef401>>>0x18)&0xff00ff|(_0x5ef401<<0x18|_0x5ef401>>>0x8)&0xff00ff00;}return _0xc145df;},'clone':function(){var _0x13e489=_0x871b48,_0x4a796d=_0x455277[_0x13e489(0x38a)][_0x13e489(0x36a)](this);return _0x4a796d[_0x13e489(0x36c)]=this[_0x13e489(0x36c)][_0x13e489(0x38a)](),_0x4a796d;}});function _0x9e25d6(_0x4302f7,_0x4bcf32,_0x461c00,_0x168829,_0x491b65,_0x2c4795,_0x25e4c1){var _0x3181b0=_0x4302f7+(_0x4bcf32&_0x461c00|~_0x4bcf32&_0x168829)+_0x491b65+_0x25e4c1;return(_0x3181b0<<_0x2c4795|_0x3181b0>>>0x20-_0x2c4795)+_0x4bcf32;}function _0x54191b(_0xc3cf22,_0x192462,_0x8ff0d0,_0x175652,_0x1efc37,_0x4f741a,_0x3c9b12){var _0x4aea3b=_0xc3cf22+(_0x192462&_0x175652|_0x8ff0d0&~_0x175652)+_0x1efc37+_0x3c9b12;return(_0x4aea3b<<_0x4f741a|_0x4aea3b>>>0x20-_0x4f741a)+_0x192462;}function _0x2c7586(_0x39f9e5,_0x281afd,_0x7751c7,_0x51bc01,_0x38cd4d,_0xacb533,_0x4412df){var _0x214965=_0x39f9e5+(_0x281afd^_0x7751c7^_0x51bc01)+_0x38cd4d+_0x4412df;return(_0x214965<<_0xacb533|_0x214965>>>0x20-_0xacb533)+_0x281afd;}function _0x5b5eba(_0x386128,_0x330310,_0x386436,_0x130e8f,_0x446c29,_0x8e1b47,_0x302d62){var _0xda4ef4=_0x386128+(_0x386436^(_0x330310|~_0x130e8f))+_0x446c29+_0x302d62;return(_0xda4ef4<<_0x8e1b47|_0xda4ef4>>>0x20-_0x8e1b47)+_0x330310;}_0x36e02a[_0x871b48(0x3cc)]=_0x455277[_0x871b48(0x3e4)](_0x5b4238),_0x36e02a[_0x871b48(0x2a4)]=_0x455277['_createHmacHelper'](_0x5b4238);}(Math),_0x50e3a4[_0x3eae23(0x3cc)];}));}(ge)),ge[_0xbc9bd0(0x4d9)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x5c0715(0x4d9)],nt;function Qn(){var _0x30155b=_0x5c0715;return nt||(nt=0x1,function(_0x3ea7fe,_0x119735){(function(_0xf857e2,_0x5b14e6){var _0x39d70d=_0x5fe0;_0x3ea7fe[_0x39d70d(0x4d9)]=_0x5b14e6(ee());}(Zn,function(_0x15d765){return(function(){var _0x2e4099=_0x5fe0,_0x25a837=_0x15d765,_0x34e699=_0x25a837['lib'],_0x5ecefc=_0x34e699[_0x2e4099(0x348)],_0x4c4169=_0x34e699['Hasher'],_0x3e0e4a=_0x25a837[_0x2e4099(0x4f2)],_0x2b9fb5=[],_0x1d9794=_0x3e0e4a[_0x2e4099(0x368)]=_0x4c4169[_0x2e4099(0x3eb)]({'_doReset':function(){var _0x3a833c=_0x2e4099;this[_0x3a833c(0x36c)]=new _0x5ecefc['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4b80ef,_0x125c6b){var _0x30c5ec=_0x2e4099;for(var _0x418b05=this[_0x30c5ec(0x36c)]['words'],_0x16e514=_0x418b05[0x0],_0x54ee31=_0x418b05[0x1],_0x215b9a=_0x418b05[0x2],_0x4d0bbc=_0x418b05[0x3],_0x19a137=_0x418b05[0x4],_0x4ba7e1=0x0;_0x4ba7e1<0x50;_0x4ba7e1++){if(_0x4ba7e1<0x10)_0x2b9fb5[_0x4ba7e1]=_0x4b80ef[_0x125c6b+_0x4ba7e1]|0x0;else{var _0x52e4bc=_0x2b9fb5[_0x4ba7e1-0x3]^_0x2b9fb5[_0x4ba7e1-0x8]^_0x2b9fb5[_0x4ba7e1-0xe]^_0x2b9fb5[_0x4ba7e1-0x10];_0x2b9fb5[_0x4ba7e1]=_0x52e4bc<<0x1|_0x52e4bc>>>0x1f;}var _0x445ef3=(_0x16e514<<0x5|_0x16e514>>>0x1b)+_0x19a137+_0x2b9fb5[_0x4ba7e1];_0x4ba7e1<0x14?_0x445ef3+=(_0x54ee31&_0x215b9a|~_0x54ee31&_0x4d0bbc)+0x5a827999:_0x4ba7e1<0x28?_0x445ef3+=(_0x54ee31^_0x215b9a^_0x4d0bbc)+0x6ed9eba1:_0x4ba7e1<0x3c?_0x445ef3+=(_0x54ee31&_0x215b9a|_0x54ee31&_0x4d0bbc|_0x215b9a&_0x4d0bbc)-0x70e44324:_0x445ef3+=(_0x54ee31^_0x215b9a^_0x4d0bbc)-0x359d3e2a,_0x19a137=_0x4d0bbc,_0x4d0bbc=_0x215b9a,_0x215b9a=_0x54ee31<<0x1e|_0x54ee31>>>0x2,_0x54ee31=_0x16e514,_0x16e514=_0x445ef3;}_0x418b05[0x0]=_0x418b05[0x0]+_0x16e514|0x0,_0x418b05[0x1]=_0x418b05[0x1]+_0x54ee31|0x0,_0x418b05[0x2]=_0x418b05[0x2]+_0x215b9a|0x0,_0x418b05[0x3]=_0x418b05[0x3]+_0x4d0bbc|0x0,_0x418b05[0x4]=_0x418b05[0x4]+_0x19a137|0x0;},'_doFinalize':function(){var _0x329a46=_0x2e4099,_0x5242bb=this['_data'],_0x2009b8=_0x5242bb[_0x329a46(0x40e)],_0xa44c8c=this[_0x329a46(0x3a6)]*0x8,_0x181758=_0x5242bb['sigBytes']*0x8;return _0x2009b8[_0x181758>>>0x5]|=0x80<<0x18-_0x181758%0x20,_0x2009b8[(_0x181758+0x40>>>0x9<<0x4)+0xe]=Math[_0x329a46(0x498)](_0xa44c8c/0x100000000),_0x2009b8[(_0x181758+0x40>>>0x9<<0x4)+0xf]=_0xa44c8c,_0x5242bb['sigBytes']=_0x2009b8[_0x329a46(0x1b2)]*0x4,this[_0x329a46(0x268)](),this[_0x329a46(0x36c)];},'clone':function(){var _0xc39b32=_0x2e4099,_0x5ceef7=_0x4c4169[_0xc39b32(0x38a)][_0xc39b32(0x36a)](this);return _0x5ceef7['_hash']=this[_0xc39b32(0x36c)][_0xc39b32(0x38a)](),_0x5ceef7;}});_0x25a837['SHA1']=_0x4c4169[_0x2e4099(0x3e4)](_0x1d9794),_0x25a837[_0x2e4099(0x44e)]=_0x4c4169[_0x2e4099(0x455)](_0x1d9794);}()),_0x15d765['SHA1'];}));}(Ee)),Ee[_0x30155b(0x4d9)];}var Ce={'exports':{}},ei=Ce[_0x5c0715(0x4d9)],it;function ti(){return it||(it=0x1,function(_0x1e8bf4,_0x2e57ff){(function(_0x9ae92a,_0x464b9d){var _0xfc036b=_0x5fe0;_0x1e8bf4[_0xfc036b(0x4d9)]=_0x464b9d(ee());}(ei,function(_0x33019b){(function(){var _0x2ec67a=_0x5fe0,_0x57298a=_0x33019b,_0x51d80a=_0x57298a['lib'],_0x447e4f=_0x51d80a[_0x2ec67a(0x4ef)],_0x56f24d=_0x57298a[_0x2ec67a(0x29d)],_0x42868d=_0x56f24d[_0x2ec67a(0x246)],_0x369f32=_0x57298a['algo'];_0x369f32[_0x2ec67a(0x452)]=_0x447e4f[_0x2ec67a(0x3eb)]({'init':function(_0x352100,_0x371409){var _0x2d3ada=_0x2ec67a;_0x352100=this['_hasher']=new _0x352100[(_0x2d3ada(0x43f))](),typeof _0x371409=='string'&&(_0x371409=_0x42868d[_0x2d3ada(0x24d)](_0x371409));var _0x5504cf=_0x352100[_0x2d3ada(0x3c1)],_0x525f4b=_0x5504cf*0x4;_0x371409['sigBytes']>_0x525f4b&&(_0x371409=_0x352100[_0x2d3ada(0x4f7)](_0x371409)),_0x371409[_0x2d3ada(0x3c6)]();for(var _0x48c2a0=this[_0x2d3ada(0x226)]=_0x371409['clone'](),_0x234339=this[_0x2d3ada(0x266)]=_0x371409[_0x2d3ada(0x38a)](),_0x494f1d=_0x48c2a0[_0x2d3ada(0x40e)],_0x876e31=_0x234339[_0x2d3ada(0x40e)],_0x336afa=0x0;_0x336afa<_0x5504cf;_0x336afa++)_0x494f1d[_0x336afa]^=0x5c5c5c5c,_0x876e31[_0x336afa]^=0x36363636;_0x48c2a0['sigBytes']=_0x234339[_0x2d3ada(0x459)]=_0x525f4b,this['reset']();},'reset':function(){var _0x4b0d53=_0x2ec67a,_0x5915e4=this[_0x4b0d53(0x43b)];_0x5915e4['reset'](),_0x5915e4['update'](this[_0x4b0d53(0x266)]);},'update':function(_0x522d40){var _0x21cb65=_0x2ec67a;return this[_0x21cb65(0x43b)][_0x21cb65(0x1e2)](_0x522d40),this;},'finalize':function(_0x5b1bd1){var _0x9c8e41=_0x2ec67a,_0x153f66=this[_0x9c8e41(0x43b)],_0x1931f1=_0x153f66[_0x9c8e41(0x4f7)](_0x5b1bd1);_0x153f66['reset']();var _0x2989c4=_0x153f66['finalize'](this['_oKey'][_0x9c8e41(0x38a)]()[_0x9c8e41(0x2a9)](_0x1931f1));return _0x2989c4;}});}());}));}(Ce)),Ce['exports'];}var ni=Ie[_0x5c0715(0x4d9)],rt;function wt(){return rt||(rt=0x1,function(_0x11e133,_0x384f9b){(function(_0x2e22db,_0x10416b,_0x3e9fe2){_0x11e133['exports']=_0x10416b(ee(),Qn(),ti());}(ni,function(_0x5fcee9){return(function(){var _0x1d6657=_0x5fe0,_0x477274=_0x5fcee9,_0x585efc=_0x477274['lib'],_0x178704=_0x585efc[_0x1d6657(0x4ef)],_0x435e3f=_0x585efc[_0x1d6657(0x348)],_0x14fb84=_0x477274['algo'],_0x218787=_0x14fb84[_0x1d6657(0x3cc)],_0x14e4bc=_0x14fb84[_0x1d6657(0x1f2)]=_0x178704[_0x1d6657(0x3eb)]({'cfg':_0x178704[_0x1d6657(0x3eb)]({'keySize':0x80/0x20,'hasher':_0x218787,'iterations':0x1}),'init':function(_0x518170){var _0x20dd3e=_0x1d6657;this[_0x20dd3e(0x28d)]=this['cfg'][_0x20dd3e(0x3eb)](_0x518170);},'compute':function(_0x2a8226,_0x398dcc){var _0x7b1e1d=_0x1d6657;for(var _0xb3ba91,_0x5236da=this['cfg'],_0x1d5a57=_0x5236da[_0x7b1e1d(0x25c)][_0x7b1e1d(0x269)](),_0x1727f9=_0x435e3f[_0x7b1e1d(0x269)](),_0x29833a=_0x1727f9['words'],_0x4bb983=_0x5236da['keySize'],_0x363438=_0x5236da[_0x7b1e1d(0x263)];_0x29833a[_0x7b1e1d(0x1b2)]<_0x4bb983;){_0xb3ba91&&_0x1d5a57['update'](_0xb3ba91),_0xb3ba91=_0x1d5a57[_0x7b1e1d(0x1e2)](_0x2a8226)[_0x7b1e1d(0x4f7)](_0x398dcc),_0x1d5a57['reset']();for(var _0x39f561=0x1;_0x39f561<_0x363438;_0x39f561++)_0xb3ba91=_0x1d5a57[_0x7b1e1d(0x4f7)](_0xb3ba91),_0x1d5a57[_0x7b1e1d(0x48d)]();_0x1727f9['concat'](_0xb3ba91);}return _0x1727f9[_0x7b1e1d(0x459)]=_0x4bb983*0x4,_0x1727f9;}});_0x477274[_0x1d6657(0x1f2)]=function(_0x238521,_0x13dff2,_0x2e4678){var _0x4062ce=_0x1d6657;return _0x14e4bc[_0x4062ce(0x269)](_0x2e4678)[_0x4062ce(0x187)](_0x238521,_0x13dff2);};}()),_0x5fcee9['EvpKDF'];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},ii=Te[_0x5c0715(0x4d9)],st;function At(){var _0x13dcff=_0x5c0715;return st||(st=0x1,function(_0x1ee820,_0x5db554){(function(_0x2c2638,_0x44cb82,_0x1c6eb9){var _0x4e5150=_0x5fe0;_0x1ee820[_0x4e5150(0x4d9)]=_0x44cb82(ee(),wt());}(ii,function(_0x1e2580){var _0xe46aa2=_0x5fe0;_0x1e2580[_0xe46aa2(0x302)][_0xe46aa2(0x2c3)]||function(_0x26f005){var _0x33352f=_0xe46aa2,_0x59e775=_0x1e2580,_0x3659af=_0x59e775[_0x33352f(0x302)],_0x452e34=_0x3659af[_0x33352f(0x4ef)],_0x3ca79e=_0x3659af[_0x33352f(0x348)],_0x28c966=_0x3659af[_0x33352f(0x408)],_0x115e6d=_0x59e775[_0x33352f(0x29d)];_0x115e6d[_0x33352f(0x246)];var _0x73d1bc=_0x115e6d[_0x33352f(0x23d)],_0x3f9820=_0x59e775['algo'],_0x45d5cb=_0x3f9820['EvpKDF'],_0x4f5172=_0x3659af[_0x33352f(0x2c3)]=_0x28c966[_0x33352f(0x3eb)]({'cfg':_0x452e34['extend'](),'createEncryptor':function(_0x389ea9,_0x365494){var _0x33c4ed=_0x33352f;return this[_0x33c4ed(0x269)](this[_0x33c4ed(0x18c)],_0x389ea9,_0x365494);},'createDecryptor':function(_0x438b39,_0x5dbfb6){var _0x49f5b9=_0x33352f;return this[_0x49f5b9(0x269)](this[_0x49f5b9(0x22c)],_0x438b39,_0x5dbfb6);},'init':function(_0x2d097d,_0x46b3fd,_0x50fc1e){var _0x52407e=_0x33352f;this[_0x52407e(0x28d)]=this[_0x52407e(0x28d)][_0x52407e(0x3eb)](_0x50fc1e),this['_xformMode']=_0x2d097d,this['_key']=_0x46b3fd,this[_0x52407e(0x48d)]();},'reset':function(){var _0x112596=_0x33352f;_0x28c966[_0x112596(0x48d)][_0x112596(0x36a)](this),this['_doReset']();},'process':function(_0x4fea50){var _0x4a46c7=_0x33352f;return this[_0x4a46c7(0x4a9)](_0x4fea50),this[_0x4a46c7(0x268)]();},'finalize':function(_0x472531){var _0x5a2972=_0x33352f;_0x472531&&this[_0x5a2972(0x4a9)](_0x472531);var _0x54db13=this[_0x5a2972(0x41a)]();return _0x54db13;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1f5de2(_0x4c8511){var _0x540669=_0x5fe0;return typeof _0x4c8511==_0x540669(0x4c2)?_0x14da10:_0x552cc7;}return function(_0x4004aa){return{'encrypt':function(_0x57ae34,_0x597cc9,_0x235aeb){var _0xcbac57=_0x5fe0;return _0x1f5de2(_0x597cc9)[_0xcbac57(0x188)](_0x4004aa,_0x57ae34,_0x597cc9,_0x235aeb);},'decrypt':function(_0xe9c2b2,_0x30d907,_0x54c1e6){var _0x21808a=_0x5fe0;return _0x1f5de2(_0x30d907)[_0x21808a(0x4ce)](_0x4004aa,_0xe9c2b2,_0x30d907,_0x54c1e6);}};};}())});_0x3659af[_0x33352f(0x330)]=_0x4f5172[_0x33352f(0x3eb)]({'_doFinalize':function(){var _0x20b3a6=this['_process'](!0x0);return _0x20b3a6;},'blockSize':0x1});var _0x2d772b=_0x59e775[_0x33352f(0x279)]={},_0xe11875=_0x3659af[_0x33352f(0x3dc)]=_0x452e34['extend']({'createEncryptor':function(_0x4bb4ea,_0x4d6c72){var _0x4dc5e6=_0x33352f;return this[_0x4dc5e6(0x23e)][_0x4dc5e6(0x269)](_0x4bb4ea,_0x4d6c72);},'createDecryptor':function(_0x41837e,_0x1165dd){var _0x265070=_0x33352f;return this[_0x265070(0x329)]['create'](_0x41837e,_0x1165dd);},'init':function(_0x1067d3,_0x569419){var _0x610d4b=_0x33352f;this[_0x610d4b(0x4ac)]=_0x1067d3,this[_0x610d4b(0x436)]=_0x569419;}}),_0x4e171a=_0x2d772b[_0x33352f(0x210)]=(function(){var _0x2c5f0f=_0x33352f,_0x403595=_0xe11875[_0x2c5f0f(0x3eb)]();_0x403595[_0x2c5f0f(0x23e)]=_0x403595[_0x2c5f0f(0x3eb)]({'processBlock':function(_0xb54ac0,_0x4c6b91){var _0x1e89ee=_0x2c5f0f,_0x155456=this[_0x1e89ee(0x4ac)],_0x16bf03=_0x155456['blockSize'];_0x4b7d29[_0x1e89ee(0x36a)](this,_0xb54ac0,_0x4c6b91,_0x16bf03),_0x155456[_0x1e89ee(0x4f0)](_0xb54ac0,_0x4c6b91),this[_0x1e89ee(0x197)]=_0xb54ac0[_0x1e89ee(0x34b)](_0x4c6b91,_0x4c6b91+_0x16bf03);}}),_0x403595['Decryptor']=_0x403595[_0x2c5f0f(0x3eb)]({'processBlock':function(_0x304bd4,_0x459967){var _0x299b78=_0x2c5f0f,_0x4fde38=this[_0x299b78(0x4ac)],_0x543b8f=_0x4fde38[_0x299b78(0x3c1)],_0x440156=_0x304bd4[_0x299b78(0x34b)](_0x459967,_0x459967+_0x543b8f);_0x4fde38[_0x299b78(0x2af)](_0x304bd4,_0x459967),_0x4b7d29[_0x299b78(0x36a)](this,_0x304bd4,_0x459967,_0x543b8f),this[_0x299b78(0x197)]=_0x440156;}});function _0x4b7d29(_0x3b4bc1,_0x1a81dc,_0x2be954){var _0x426c5c=_0x2c5f0f,_0x4c9a52,_0x190f99=this[_0x426c5c(0x436)];_0x190f99?(_0x4c9a52=_0x190f99,this[_0x426c5c(0x436)]=_0x26f005):_0x4c9a52=this['_prevBlock'];for(var _0x48b4f3=0x0;_0x48b4f3<_0x2be954;_0x48b4f3++)_0x3b4bc1[_0x1a81dc+_0x48b4f3]^=_0x4c9a52[_0x48b4f3];}return _0x403595;}()),_0x25b6aa=_0x59e775[_0x33352f(0x2e7)]={},_0x116d43=_0x25b6aa[_0x33352f(0x2e9)]={'pad':function(_0x46d9af,_0x5cd7d7){var _0x4c1afa=_0x33352f;for(var _0x2ff52b=_0x5cd7d7*0x4,_0x2b1441=_0x2ff52b-_0x46d9af[_0x4c1afa(0x459)]%_0x2ff52b,_0x2b60de=_0x2b1441<<0x18|_0x2b1441<<0x10|_0x2b1441<<0x8|_0x2b1441,_0x5a8373=[],_0x3a8598=0x0;_0x3a8598<_0x2b1441;_0x3a8598+=0x4)_0x5a8373[_0x4c1afa(0x3aa)](_0x2b60de);var _0x3c5adb=_0x3ca79e[_0x4c1afa(0x269)](_0x5a8373,_0x2b1441);_0x46d9af['concat'](_0x3c5adb);},'unpad':function(_0x568bc0){var _0x233175=_0x33352f,_0x1e01f8=_0x568bc0[_0x233175(0x40e)][_0x568bc0[_0x233175(0x459)]-0x1>>>0x2]&0xff;_0x568bc0[_0x233175(0x459)]-=_0x1e01f8;}};_0x3659af[_0x33352f(0x1a8)]=_0x4f5172[_0x33352f(0x3eb)]({'cfg':_0x4f5172[_0x33352f(0x28d)]['extend']({'mode':_0x4e171a,'padding':_0x116d43}),'reset':function(){var _0x583fc2=_0x33352f,_0x303768;_0x4f5172[_0x583fc2(0x48d)]['call'](this);var _0x3f1294=this[_0x583fc2(0x28d)],_0x5d9c20=_0x3f1294['iv'],_0x21b058=_0x3f1294['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x303768=_0x21b058[_0x583fc2(0x2a2)]:(_0x303768=_0x21b058['createDecryptor'],this[_0x583fc2(0x28a)]=0x1),this[_0x583fc2(0x191)]&&this['_mode']['__creator']==_0x303768?this[_0x583fc2(0x191)]['init'](this,_0x5d9c20&&_0x5d9c20['words']):(this[_0x583fc2(0x191)]=_0x303768[_0x583fc2(0x36a)](_0x21b058,this,_0x5d9c20&&_0x5d9c20['words']),this['_mode'][_0x583fc2(0x1e4)]=_0x303768);},'_doProcessBlock':function(_0x172cae,_0xf8a0b3){var _0x9b4bad=_0x33352f;this[_0x9b4bad(0x191)][_0x9b4bad(0x38f)](_0x172cae,_0xf8a0b3);},'_doFinalize':function(){var _0x55bb7d=_0x33352f,_0x328314,_0x496123=this['cfg'][_0x55bb7d(0x482)];return this[_0x55bb7d(0x3f5)]==this[_0x55bb7d(0x18c)]?(_0x496123['pad'](this['_data'],this['blockSize']),_0x328314=this[_0x55bb7d(0x268)](!0x0)):(_0x328314=this[_0x55bb7d(0x268)](!0x0),_0x496123[_0x55bb7d(0x4dd)](_0x328314)),_0x328314;},'blockSize':0x80/0x20});var _0x11d2ce=_0x3659af[_0x33352f(0x2ed)]=_0x452e34[_0x33352f(0x3eb)]({'init':function(_0x2f8239){var _0x33eedc=_0x33352f;this[_0x33eedc(0x1fb)](_0x2f8239);},'toString':function(_0x2c31f2){var _0x1e642e=_0x33352f;return(_0x2c31f2||this[_0x1e642e(0x298)])[_0x1e642e(0x26a)](this);}}),_0x438a0e=_0x59e775[_0x33352f(0x376)]={},_0x38cb4f=_0x438a0e[_0x33352f(0x321)]={'stringify':function(_0x111d72){var _0x576a34=_0x33352f,_0x2bee15,_0x51c089=_0x111d72[_0x576a34(0x2d4)],_0x2db2a6=_0x111d72['salt'];return _0x2db2a6?_0x2bee15=_0x3ca79e['create']([0x53616c74,0x65645f5f])['concat'](_0x2db2a6)[_0x576a34(0x2a9)](_0x51c089):_0x2bee15=_0x51c089,_0x2bee15[_0x576a34(0x3fc)](_0x73d1bc);},'parse':function(_0x459053){var _0x4e9600=_0x33352f,_0x295c7c,_0x243612=_0x73d1bc[_0x4e9600(0x24d)](_0x459053),_0x21e864=_0x243612[_0x4e9600(0x40e)];return _0x21e864[0x0]==0x53616c74&&_0x21e864[0x1]==0x65645f5f&&(_0x295c7c=_0x3ca79e[_0x4e9600(0x269)](_0x21e864[_0x4e9600(0x34b)](0x2,0x4)),_0x21e864[_0x4e9600(0x4eb)](0x0,0x4),_0x243612[_0x4e9600(0x459)]-=0x10),_0x11d2ce[_0x4e9600(0x269)]({'ciphertext':_0x243612,'salt':_0x295c7c});}},_0x552cc7=_0x3659af[_0x33352f(0x259)]=_0x452e34['extend']({'cfg':_0x452e34[_0x33352f(0x3eb)]({'format':_0x38cb4f}),'encrypt':function(_0x33b5e9,_0x3b98c3,_0x13b887,_0x2b19a3){var _0x2478a8=_0x33352f;_0x2b19a3=this[_0x2478a8(0x28d)][_0x2478a8(0x3eb)](_0x2b19a3);var _0x3ebfec=_0x33b5e9[_0x2478a8(0x2a2)](_0x13b887,_0x2b19a3),_0x4bbb4f=_0x3ebfec[_0x2478a8(0x4f7)](_0x3b98c3),_0x15736d=_0x3ebfec[_0x2478a8(0x28d)];return _0x11d2ce[_0x2478a8(0x269)]({'ciphertext':_0x4bbb4f,'key':_0x13b887,'iv':_0x15736d['iv'],'algorithm':_0x33b5e9,'mode':_0x15736d[_0x2478a8(0x279)],'padding':_0x15736d[_0x2478a8(0x482)],'blockSize':_0x33b5e9[_0x2478a8(0x3c1)],'formatter':_0x2b19a3[_0x2478a8(0x376)]});},'decrypt':function(_0x4308a0,_0x5d87e6,_0x5ae9f1,_0x5028e5){var _0x3d203f=_0x33352f;_0x5028e5=this[_0x3d203f(0x28d)][_0x3d203f(0x3eb)](_0x5028e5),_0x5d87e6=this['_parse'](_0x5d87e6,_0x5028e5[_0x3d203f(0x376)]);var _0x400926=_0x4308a0[_0x3d203f(0x449)](_0x5ae9f1,_0x5028e5)['finalize'](_0x5d87e6[_0x3d203f(0x2d4)]);return _0x400926;},'_parse':function(_0x3df698,_0x5e2ff7){var _0x3a6a3d=_0x33352f;return typeof _0x3df698=='string'?_0x5e2ff7[_0x3a6a3d(0x24d)](_0x3df698,this):_0x3df698;}}),_0x5e5bf3=_0x59e775[_0x33352f(0x341)]={},_0x34e2e8=_0x5e5bf3[_0x33352f(0x321)]={'execute':function(_0x45ea45,_0x31ee18,_0x18cc25,_0x4a3891,_0x2a1749){var _0x5045ce=_0x33352f;if(_0x4a3891||(_0x4a3891=_0x3ca79e[_0x5045ce(0x346)](0x40/0x8)),_0x2a1749)var _0xbb6458=_0x45d5cb['create']({'keySize':_0x31ee18+_0x18cc25,'hasher':_0x2a1749})['compute'](_0x45ea45,_0x4a3891);else var _0xbb6458=_0x45d5cb[_0x5045ce(0x269)]({'keySize':_0x31ee18+_0x18cc25})['compute'](_0x45ea45,_0x4a3891);var _0x577a90=_0x3ca79e[_0x5045ce(0x269)](_0xbb6458['words']['slice'](_0x31ee18),_0x18cc25*0x4);return _0xbb6458[_0x5045ce(0x459)]=_0x31ee18*0x4,_0x11d2ce[_0x5045ce(0x269)]({'key':_0xbb6458,'iv':_0x577a90,'salt':_0x4a3891});}},_0x14da10=_0x3659af[_0x33352f(0x242)]=_0x552cc7[_0x33352f(0x3eb)]({'cfg':_0x552cc7[_0x33352f(0x28d)][_0x33352f(0x3eb)]({'kdf':_0x34e2e8}),'encrypt':function(_0x16f3bc,_0x565872,_0x1b1026,_0x121dc8){var _0x251ee2=_0x33352f;_0x121dc8=this[_0x251ee2(0x28d)][_0x251ee2(0x3eb)](_0x121dc8);var _0x21b237=_0x121dc8[_0x251ee2(0x341)][_0x251ee2(0x2fd)](_0x1b1026,_0x16f3bc[_0x251ee2(0x19d)],_0x16f3bc[_0x251ee2(0x1f3)],_0x121dc8[_0x251ee2(0x1a7)],_0x121dc8[_0x251ee2(0x25c)]);_0x121dc8['iv']=_0x21b237['iv'];var _0x49d214=_0x552cc7[_0x251ee2(0x188)][_0x251ee2(0x36a)](this,_0x16f3bc,_0x565872,_0x21b237['key'],_0x121dc8);return _0x49d214[_0x251ee2(0x1fb)](_0x21b237),_0x49d214;},'decrypt':function(_0x91cff,_0x5e3bf3,_0x35bfad,_0x3559fd){var _0x33c145=_0x33352f;_0x3559fd=this[_0x33c145(0x28d)]['extend'](_0x3559fd),_0x5e3bf3=this[_0x33c145(0x1ea)](_0x5e3bf3,_0x3559fd[_0x33c145(0x376)]);var _0x16bafd=_0x3559fd[_0x33c145(0x341)][_0x33c145(0x2fd)](_0x35bfad,_0x91cff['keySize'],_0x91cff[_0x33c145(0x1f3)],_0x5e3bf3[_0x33c145(0x1a7)],_0x3559fd['hasher']);_0x3559fd['iv']=_0x16bafd['iv'];var _0x54a830=_0x552cc7[_0x33c145(0x4ce)][_0x33c145(0x36a)](this,_0x91cff,_0x5e3bf3,_0x16bafd[_0x33c145(0x1e8)],_0x3559fd);return _0x54a830;}});}();}));}(Te)),Te[_0x13dcff(0x4d9)];}var ri=Se[_0x5c0715(0x4d9)],ot;function si(){var _0x3be79d=_0x5c0715;return ot||(ot=0x1,function(_0x117b57,_0x20d677){(function(_0x2a57f8,_0x184a2a,_0x137ba){_0x117b57['exports']=_0x184a2a(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x2a5e7a){return(function(){var _0x2d9458=_0x5fe0,_0x345db5=_0x2a5e7a,_0x576042=_0x345db5[_0x2d9458(0x302)],_0x49411a=_0x576042['BlockCipher'],_0x5c9660=_0x345db5[_0x2d9458(0x4f2)],_0x370b5d=[],_0x539e98=[],_0x5ae502=[],_0x3b7510=[],_0x40922b=[],_0x43db08=[],_0x27d94e=[],_0x1d7426=[],_0x8b4fc7=[],_0x2fd048=[];(function(){for(var _0x51fe15=[],_0x5324da=0x0;_0x5324da<0x100;_0x5324da++)_0x5324da<0x80?_0x51fe15[_0x5324da]=_0x5324da<<0x1:_0x51fe15[_0x5324da]=_0x5324da<<0x1^0x11b;for(var _0x4bb5ca=0x0,_0x5187db=0x0,_0x5324da=0x0;_0x5324da<0x100;_0x5324da++){var _0x5e8c83=_0x5187db^_0x5187db<<0x1^_0x5187db<<0x2^_0x5187db<<0x3^_0x5187db<<0x4;_0x5e8c83=_0x5e8c83>>>0x8^_0x5e8c83&0xff^0x63,_0x370b5d[_0x4bb5ca]=_0x5e8c83,_0x539e98[_0x5e8c83]=_0x4bb5ca;var _0x27def1=_0x51fe15[_0x4bb5ca],_0x4f2910=_0x51fe15[_0x27def1],_0x4b46d0=_0x51fe15[_0x4f2910],_0x545987=_0x51fe15[_0x5e8c83]*0x101^_0x5e8c83*0x1010100;_0x5ae502[_0x4bb5ca]=_0x545987<<0x18|_0x545987>>>0x8,_0x3b7510[_0x4bb5ca]=_0x545987<<0x10|_0x545987>>>0x10,_0x40922b[_0x4bb5ca]=_0x545987<<0x8|_0x545987>>>0x18,_0x43db08[_0x4bb5ca]=_0x545987;var _0x545987=_0x4b46d0*0x1010101^_0x4f2910*0x10001^_0x27def1*0x101^_0x4bb5ca*0x1010100;_0x27d94e[_0x5e8c83]=_0x545987<<0x18|_0x545987>>>0x8,_0x1d7426[_0x5e8c83]=_0x545987<<0x10|_0x545987>>>0x10,_0x8b4fc7[_0x5e8c83]=_0x545987<<0x8|_0x545987>>>0x18,_0x2fd048[_0x5e8c83]=_0x545987,_0x4bb5ca?(_0x4bb5ca=_0x27def1^_0x51fe15[_0x51fe15[_0x51fe15[_0x4b46d0^_0x27def1]]],_0x5187db^=_0x51fe15[_0x51fe15[_0x5187db]]):_0x4bb5ca=_0x5187db=0x1;}}());var _0x2b0fde=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xfd2016=_0x5c9660[_0x2d9458(0x31d)]=_0x49411a['extend']({'_doReset':function(){var _0x2652a8=_0x2d9458,_0x4470d1;if(!(this['_nRounds']&&this[_0x2652a8(0x2b6)]===this[_0x2652a8(0x446)])){for(var _0x3cd18a=this[_0x2652a8(0x2b6)]=this[_0x2652a8(0x446)],_0x1840f5=_0x3cd18a[_0x2652a8(0x40e)],_0x16ad8a=_0x3cd18a[_0x2652a8(0x459)]/0x4,_0xd225d9=this[_0x2652a8(0x1cc)]=_0x16ad8a+0x6,_0x3cc981=(_0xd225d9+0x1)*0x4,_0x4ae47d=this['_keySchedule']=[],_0x2428a6=0x0;_0x2428a6<_0x3cc981;_0x2428a6++)_0x2428a6<_0x16ad8a?_0x4ae47d[_0x2428a6]=_0x1840f5[_0x2428a6]:(_0x4470d1=_0x4ae47d[_0x2428a6-0x1],_0x2428a6%_0x16ad8a?_0x16ad8a>0x6&&_0x2428a6%_0x16ad8a==0x4&&(_0x4470d1=_0x370b5d[_0x4470d1>>>0x18]<<0x18|_0x370b5d[_0x4470d1>>>0x10&0xff]<<0x10|_0x370b5d[_0x4470d1>>>0x8&0xff]<<0x8|_0x370b5d[_0x4470d1&0xff]):(_0x4470d1=_0x4470d1<<0x8|_0x4470d1>>>0x18,_0x4470d1=_0x370b5d[_0x4470d1>>>0x18]<<0x18|_0x370b5d[_0x4470d1>>>0x10&0xff]<<0x10|_0x370b5d[_0x4470d1>>>0x8&0xff]<<0x8|_0x370b5d[_0x4470d1&0xff],_0x4470d1^=_0x2b0fde[_0x2428a6/_0x16ad8a|0x0]<<0x18),_0x4ae47d[_0x2428a6]=_0x4ae47d[_0x2428a6-_0x16ad8a]^_0x4470d1);for(var _0xb28083=this[_0x2652a8(0x214)]=[],_0x595182=0x0;_0x595182<_0x3cc981;_0x595182++){var _0x2428a6=_0x3cc981-_0x595182;if(_0x595182%0x4)var _0x4470d1=_0x4ae47d[_0x2428a6];else var _0x4470d1=_0x4ae47d[_0x2428a6-0x4];_0x595182<0x4||_0x2428a6<=0x4?_0xb28083[_0x595182]=_0x4470d1:_0xb28083[_0x595182]=_0x27d94e[_0x370b5d[_0x4470d1>>>0x18]]^_0x1d7426[_0x370b5d[_0x4470d1>>>0x10&0xff]]^_0x8b4fc7[_0x370b5d[_0x4470d1>>>0x8&0xff]]^_0x2fd048[_0x370b5d[_0x4470d1&0xff]];}}},'encryptBlock':function(_0x2c379c,_0x154744){var _0x3510da=_0x2d9458;this[_0x3510da(0x260)](_0x2c379c,_0x154744,this['_keySchedule'],_0x5ae502,_0x3b7510,_0x40922b,_0x43db08,_0x370b5d);},'decryptBlock':function(_0x527ca4,_0x50f4e2){var _0x56dba4=_0x2d9458,_0x27973f=_0x527ca4[_0x50f4e2+0x1];_0x527ca4[_0x50f4e2+0x1]=_0x527ca4[_0x50f4e2+0x3],_0x527ca4[_0x50f4e2+0x3]=_0x27973f,this[_0x56dba4(0x260)](_0x527ca4,_0x50f4e2,this[_0x56dba4(0x214)],_0x27d94e,_0x1d7426,_0x8b4fc7,_0x2fd048,_0x539e98);var _0x27973f=_0x527ca4[_0x50f4e2+0x1];_0x527ca4[_0x50f4e2+0x1]=_0x527ca4[_0x50f4e2+0x3],_0x527ca4[_0x50f4e2+0x3]=_0x27973f;},'_doCryptBlock':function(_0x5b234a,_0xfa06e3,_0x1d1f38,_0x461d74,_0x10bc43,_0x4a3593,_0x608436,_0x32bf5b){for(var _0x4abb9f=this['_nRounds'],_0x1d9d8=_0x5b234a[_0xfa06e3]^_0x1d1f38[0x0],_0x3d35e6=_0x5b234a[_0xfa06e3+0x1]^_0x1d1f38[0x1],_0xf6b6bf=_0x5b234a[_0xfa06e3+0x2]^_0x1d1f38[0x2],_0x2d1b0e=_0x5b234a[_0xfa06e3+0x3]^_0x1d1f38[0x3],_0x187728=0x4,_0x221319=0x1;_0x221319<_0x4abb9f;_0x221319++){var _0x1c81f4=_0x461d74[_0x1d9d8>>>0x18]^_0x10bc43[_0x3d35e6>>>0x10&0xff]^_0x4a3593[_0xf6b6bf>>>0x8&0xff]^_0x608436[_0x2d1b0e&0xff]^_0x1d1f38[_0x187728++],_0x4b80f7=_0x461d74[_0x3d35e6>>>0x18]^_0x10bc43[_0xf6b6bf>>>0x10&0xff]^_0x4a3593[_0x2d1b0e>>>0x8&0xff]^_0x608436[_0x1d9d8&0xff]^_0x1d1f38[_0x187728++],_0x478a8c=_0x461d74[_0xf6b6bf>>>0x18]^_0x10bc43[_0x2d1b0e>>>0x10&0xff]^_0x4a3593[_0x1d9d8>>>0x8&0xff]^_0x608436[_0x3d35e6&0xff]^_0x1d1f38[_0x187728++],_0x58bb82=_0x461d74[_0x2d1b0e>>>0x18]^_0x10bc43[_0x1d9d8>>>0x10&0xff]^_0x4a3593[_0x3d35e6>>>0x8&0xff]^_0x608436[_0xf6b6bf&0xff]^_0x1d1f38[_0x187728++];_0x1d9d8=_0x1c81f4,_0x3d35e6=_0x4b80f7,_0xf6b6bf=_0x478a8c,_0x2d1b0e=_0x58bb82;}var _0x1c81f4=(_0x32bf5b[_0x1d9d8>>>0x18]<<0x18|_0x32bf5b[_0x3d35e6>>>0x10&0xff]<<0x10|_0x32bf5b[_0xf6b6bf>>>0x8&0xff]<<0x8|_0x32bf5b[_0x2d1b0e&0xff])^_0x1d1f38[_0x187728++],_0x4b80f7=(_0x32bf5b[_0x3d35e6>>>0x18]<<0x18|_0x32bf5b[_0xf6b6bf>>>0x10&0xff]<<0x10|_0x32bf5b[_0x2d1b0e>>>0x8&0xff]<<0x8|_0x32bf5b[_0x1d9d8&0xff])^_0x1d1f38[_0x187728++],_0x478a8c=(_0x32bf5b[_0xf6b6bf>>>0x18]<<0x18|_0x32bf5b[_0x2d1b0e>>>0x10&0xff]<<0x10|_0x32bf5b[_0x1d9d8>>>0x8&0xff]<<0x8|_0x32bf5b[_0x3d35e6&0xff])^_0x1d1f38[_0x187728++],_0x58bb82=(_0x32bf5b[_0x2d1b0e>>>0x18]<<0x18|_0x32bf5b[_0x1d9d8>>>0x10&0xff]<<0x10|_0x32bf5b[_0x3d35e6>>>0x8&0xff]<<0x8|_0x32bf5b[_0xf6b6bf&0xff])^_0x1d1f38[_0x187728++];_0x5b234a[_0xfa06e3]=_0x1c81f4,_0x5b234a[_0xfa06e3+0x1]=_0x4b80f7,_0x5b234a[_0xfa06e3+0x2]=_0x478a8c,_0x5b234a[_0xfa06e3+0x3]=_0x58bb82;},'keySize':0x100/0x20});_0x345db5['AES']=_0x49411a[_0x2d9458(0x3e4)](_0xfd2016);}()),_0x2a5e7a['AES'];}));}(Se)),Se[_0x3be79d(0x4d9)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be['exports'],ct;function li(){var _0xb86272=_0x5c0715;return ct||(ct=0x1,function(_0x3d495e,_0x54e7ad){(function(_0x18d6e4,_0x4ff6e0){var _0x2302b5=_0x5fe0;_0x3d495e[_0x2302b5(0x4d9)]=_0x4ff6e0(ee());}(hi,function(_0x378ea5){var _0xde180b=_0x5fe0;return _0x378ea5[_0xde180b(0x29d)][_0xde180b(0x246)];}));}(be)),be[_0xb86272(0x4d9)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0x5c0715(0x4d9)],ht;function vi(){var _0x3f6ee3=_0x5c0715;return ht||(ht=0x1,function(_0xaff90c,_0x411be0){(function(_0x1260e6,_0xa62044){_0xaff90c['exports']=_0xa62044(ee());}(di,function(_0x5b7852){var _0xf7e734=_0x5fe0;return(function(){var _0x2ec6f5=_0x5fe0;if(typeof ArrayBuffer==_0x2ec6f5(0x3b3)){var _0x5b0c71=_0x5b7852,_0x3a003c=_0x5b0c71[_0x2ec6f5(0x302)],_0x5f5c76=_0x3a003c[_0x2ec6f5(0x348)],_0x1dc621=_0x5f5c76['init'],_0x295468=_0x5f5c76['init']=function(_0x177d66){var _0x2c76a6=_0x2ec6f5;if(_0x177d66 instanceof ArrayBuffer&&(_0x177d66=new Uint8Array(_0x177d66)),(_0x177d66 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x177d66 instanceof Uint8ClampedArray||_0x177d66 instanceof Int16Array||_0x177d66 instanceof Uint16Array||_0x177d66 instanceof Int32Array||_0x177d66 instanceof Uint32Array||_0x177d66 instanceof Float32Array||_0x177d66 instanceof Float64Array)&&(_0x177d66=new Uint8Array(_0x177d66[_0x2c76a6(0x4f6)],_0x177d66[_0x2c76a6(0x267)],_0x177d66[_0x2c76a6(0x3ab)])),_0x177d66 instanceof Uint8Array){for(var _0x248e4e=_0x177d66[_0x2c76a6(0x3ab)],_0x57dc72=[],_0x301726=0x0;_0x301726<_0x248e4e;_0x301726++)_0x57dc72[_0x301726>>>0x2]|=_0x177d66[_0x301726]<<0x18-_0x301726%0x4*0x8;_0x1dc621['call'](this,_0x57dc72,_0x248e4e);}else _0x1dc621[_0x2c76a6(0x342)](this,arguments);};_0x295468[_0x2ec6f5(0x287)]=_0x5f5c76;}}()),_0x5b7852[_0xf7e734(0x302)][_0xf7e734(0x348)];}));}(Re)),Re[_0x3f6ee3(0x4d9)];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x5c0715(0x4d9)],lt;function mi(){var _0x3e201f=_0x5c0715;return lt||(lt=0x1,function(_0x2bc0fe,_0x4efd53){(function(_0x1748df,_0x3a38d5,_0x13966e){_0x2bc0fe['exports']=_0x3a38d5(ee(),At());}(pi,function(_0x36c53c){var _0x4e696b=_0x5fe0;return _0x36c53c['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x36c53c[_0x4e696b(0x2e7)][_0x4e696b(0x4f4)];}));}(Oe)),Oe[_0x3e201f(0x4d9)];}var gi=mi();const Ii=fe(gi);function Ei(_0x5de5a6,_0x1b616f){var _0x17281c=_0x5c0715;const _0x5f5582=_0x1b616f-_0x5de5a6[_0x17281c(0x1b2)]%_0x1b616f,_0x5b362b=String['fromCharCode'](_0x5f5582)[_0x17281c(0x3a0)](_0x5f5582);return _0x5de5a6+_0x5b362b;}function Ci(_0x15c197,_0x396dc5){var _0x5c48ef=_0x5c0715;const _0x3f4397=Si[_0x5c48ef(0x346)](0x10),_0x5603c6=Ei(_0x15c197,0x10),_0x542064=ai[_0x5c48ef(0x188)](ui[_0x5c48ef(0x24d)](_0x5603c6),at[_0x5c48ef(0x24d)](_0x396dc5),{'iv':_0x3f4397,'padding':Ii});return _0x3f4397[_0x5c48ef(0x2a9)](_0x542064[_0x5c48ef(0x2d4)])[_0x5c48ef(0x3fc)](at);}function Ti(){var _0x88fb69=_0x5c0715;const _0x5ab15a=$t['getGlobalObject']()['__Key__'];if(_0x5ab15a){const _0x22f335={'time':Math[_0x88fb69(0x498)](Date['now']()/0x3e8),'domain':location[_0x88fb69(0x244)]};return Ci(JSON[_0x88fb69(0x26a)](_0x22f335),_0x5ab15a);}}var bi=Object['defineProperty'],Ri=Object[_0x5c0715(0x3a5)],Oi=(_0x1f55c5,_0x436f1f,_0x1fccc8,_0x484505)=>{var _0x305801=_0x5c0715;for(var _0xa421ca=_0x484505>0x1?void 0x0:_0x484505?Ri(_0x436f1f,_0x1fccc8):_0x436f1f,_0xe59a34=_0x1f55c5[_0x305801(0x1b2)]-0x1,_0x5d815f;_0xe59a34>=0x0;_0xe59a34--)(_0x5d815f=_0x1f55c5[_0xe59a34])&&(_0xa421ca=(_0x484505?_0x5d815f(_0x436f1f,_0x1fccc8,_0xa421ca):_0x5d815f(_0xa421ca))||_0xa421ca);return _0x484505&&_0xa421ca&&bi(_0x436f1f,_0x1fccc8,_0xa421ca),_0xa421ca;},yi=(_0x385d74,_0x2cdce3)=>(_0x19ad73,_0x48e769)=>_0x2cdce3(_0x19ad73,_0x48e769,_0x385d74);let Ne=class{constructor(_0xcc61ca){var _0x2f9fa4=_0x5c0715;this[_0x2f9fa4(0x3c5)]=_0xcc61ca,this[_0x2f9fa4(0x3d9)]();}[_0x5c0715(0x3d9)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x685420,_0xb10043)=>{var _0x3ffe0b=_0x5fe0;const _0x54f536=_0x685420['headers'],_0x38897a=Ti();return _0x38897a&&_0x54f536[_0x3ffe0b(0x410)](_0x3ffe0b(0x20c),_0x38897a),_0xb10043(_0x685420);}});}};Ne=Oi([yi(0x0,a[_0x5c0715(0x49b)](q['HTTPService']))],Ne);var Ni=Object[_0x5c0715(0x2d9)],Ui=Object[_0x5c0715(0x3a5)],Pi=(_0x852144,_0xc34c4c,_0x5db56f,_0x1fb1da)=>{var _0x14dba9=_0x5c0715;for(var _0xa62398=_0x1fb1da>0x1?void 0x0:_0x1fb1da?Ui(_0xc34c4c,_0x5db56f):_0xc34c4c,_0x4f4d0e=_0x852144[_0x14dba9(0x1b2)]-0x1,_0x13d4b8;_0x4f4d0e>=0x0;_0x4f4d0e--)(_0x13d4b8=_0x852144[_0x4f4d0e])&&(_0xa62398=(_0x1fb1da?_0x13d4b8(_0xc34c4c,_0x5db56f,_0xa62398):_0x13d4b8(_0xa62398))||_0xa62398);return _0x1fb1da&&_0xa62398&&Ni(_0xc34c4c,_0x5db56f,_0xa62398),_0xa62398;},Me=(_0x4cfea,_0x45aa67)=>(_0x2aadb3,_0x1f9e5f)=>_0x45aa67(_0x2aadb3,_0x1f9e5f,_0x4cfea);exports[_0x5c0715(0x347)]=class extends a[_0x5c0715(0x431)]{constructor(_0x30b3c3,_0x58e3b8,_0x16e6d7){var _0x4fbfbf=_0x5c0715;super(),D(this,'_unitInfo$',new H['BehaviorSubject'](null)),D(this,_0x4fbfbf(0x1dc),this[_0x4fbfbf(0x219)][_0x4fbfbf(0x2ae)]()),(this[_0x4fbfbf(0x4c1)]=_0x30b3c3,this['_snapshotService']=_0x58e3b8,this[_0x4fbfbf(0x394)]=_0x16e6d7);}async['loadUnit'](_0x35626e,_0x43beb8,_0x36bb98){var _0x2128af=_0x5c0715;this[_0x2128af(0x219)]['next']({'unitId':_0x35626e,'type':_0x43beb8,'subUnitId':_0x36bb98});let _0x4cc4fb=null;switch(_0x43beb8){case Z[_0x2128af(0x4d0)]:{_0x4cc4fb=await this['_loadSheet'](_0x35626e);break;}case Z['UNIVER_DOC']:{_0x4cc4fb=await this[_0x2128af(0x34e)](_0x35626e);break;}default:{this[_0x2128af(0x4c1)]['error'](_0x2128af(0x25d),_0x2128af(0x45b));break;}}return _0x4cc4fb;}async[_0x5c0715(0x4e2)](_0x5baad2){var _0x539b57=_0x5c0715,_0x11655f;let _0x1e187e=0x0;const _0x1cc44d=await((_0x11655f=this['_localCacheService'])==null?void 0x0:_0x11655f[_0x539b57(0x1d8)](_0x5baad2));return _0x1cc44d&&(_0x1cc44d['awaitingChangeset']||_0x1cc44d['mutations'][_0x539b57(0x1b2)]!==0x0)&&(_0x1e187e=_0x1cc44d['rev']),_0x1e187e===0x0&&this[_0x539b57(0x4c1)][_0x539b57(0x49c)]('[DataLoaderService]',_0x539b57(0x202)),this['_snapshotService'][_0x539b57(0x373)](_0x5baad2,_0x1e187e);}async[_0x5c0715(0x34e)](_0x16e221){var _0x32a09a=_0x5c0715,_0x51a0bf;let _0x5bf9ea=0x0;const _0x3f1fc0=await((_0x51a0bf=this['_localCacheService'])==null?void 0x0:_0x51a0bf[_0x32a09a(0x1d8)](_0x16e221));return _0x3f1fc0&&(_0x3f1fc0[_0x32a09a(0x3c2)]||_0x3f1fc0[_0x32a09a(0x4d7)][_0x32a09a(0x1b2)]!==0x0)&&(_0x5bf9ea=_0x3f1fc0[_0x32a09a(0x3a4)]),_0x5bf9ea===0x0&&this['_logService'][_0x32a09a(0x49c)](_0x32a09a(0x25d),_0x32a09a(0x202)),this[_0x32a09a(0x39d)]['loadDoc'](_0x16e221,_0x5bf9ea);}},exports['DataLoaderService']=Pi([Me(0x0,a['ILogService']),Me(0x1,a[_0x5c0715(0x49b)](m[_0x5c0715(0x27d)])),Me(0x2,a[_0x5c0715(0x4d5)](z))],exports[_0x5c0715(0x347)]);var Di=Object[_0x5c0715(0x2d9)],wi=Object['getOwnPropertyDescriptor'],Ai=(_0xb7cf09,_0x230651,_0x25e3ce,_0x58039b)=>{var _0x6edc7b=_0x5c0715;for(var _0x5863b3=_0x58039b>0x1?void 0x0:_0x58039b?wi(_0x230651,_0x25e3ce):_0x230651,_0x142882=_0xb7cf09[_0x6edc7b(0x1b2)]-0x1,_0x34ffd7;_0x142882>=0x0;_0x142882--)(_0x34ffd7=_0xb7cf09[_0x142882])&&(_0x5863b3=(_0x58039b?_0x34ffd7(_0x230651,_0x25e3ce,_0x5863b3):_0x34ffd7(_0x5863b3))||_0x5863b3);return _0x58039b&&_0x5863b3&&Di(_0x230651,_0x25e3ce,_0x5863b3),_0x5863b3;},xe=(_0x365868,_0x254974)=>(_0x447285,_0x45aebf)=>_0x254974(_0x447285,_0x45aebf,_0x365868);const Li=['image/png',_0x5c0715(0x281),_0x5c0715(0x1d7),'image/gif',_0x5c0715(0x39a)],Mi=0x5*0x400*0x400,xi=_0x5c0715(0x3b1),ji=_0x5c0715(0x3b0),$i='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Hi=_0x5c0715(0x403);exports['CollaborationImageIoService']=class{constructor(_0x1b7997,_0x16cf10,_0x182c41){var _0x2f7afc=_0x5c0715;D(this,_0x2f7afc(0x309),0x0),D(this,_0x2f7afc(0x264),new H['Subject']()),D(this,_0x2f7afc(0x33f),this['_change$']),D(this,'_imageSourceCache',new Map()),(this[_0x2f7afc(0x3c5)]=_0x1b7997,this[_0x2f7afc(0x444)]=_0x16cf10,this[_0x2f7afc(0x445)]=_0x182c41);}[_0x5c0715(0x4de)](_0x38a92f){var _0x58e48b=_0x5c0715;this[_0x58e48b(0x309)]=_0x38a92f,this['_change$'][_0x58e48b(0x195)](_0x38a92f);}[_0x5c0715(0x397)](_0xee312f,_0xee9d17){var _0x3ba560=_0x5c0715;if(_0xee9d17===X[_0x3ba560(0x27f)][_0x3ba560(0x4bb)]){const _0xcbb9a6=new Image();return _0xcbb9a6[_0x3ba560(0x401)]=_0xee312f,_0xcbb9a6;}return this[_0x3ba560(0x3ba)][_0x3ba560(0x327)](_0xee312f);}[_0x5c0715(0x36d)](_0x24f2c7,_0x4c0fba,_0x57d162){var _0x1df41d=_0x5c0715;_0x4c0fba===X['ImageSourceType'][_0x1df41d(0x4bb)]||_0x57d162==null||this[_0x1df41d(0x3ba)][_0x1df41d(0x410)](_0x24f2c7,_0x57d162);}async['getImage'](_0x2d4597){var _0x58e10f=_0x5c0715;try{const _0xd6548f=this[_0x58e10f(0x209)](this['_getSignURL'](),''+_0x2d4597),_0x7a9b7e=(await this[_0x58e10f(0x3c5)][_0x58e10f(0x327)](_0xd6548f))[_0x58e10f(0x1f6)];if(_0x7a9b7e[_0x58e10f(0x2e6)]&&_0x7a9b7e[_0x58e10f(0x2e6)][_0x58e10f(0x349)]===Tt['OK']){const _0x195258=new URL(_0x7a9b7e[_0x58e10f(0x1a4)],this['_getDownloadEndpointURL']())[_0x58e10f(0x3fc)]();return Promise['resolve'](_0x195258);}return Promise[_0x58e10f(0x4ad)](_0x7a9b7e[_0x58e10f(0x2e6)]);}catch(_0x26f12a){return Promise[_0x58e10f(0x4ad)](_0x26f12a);}}async['saveImage'](_0x3b4cbd){var _0x1c403d=_0x5c0715;let _0xc12ba4='';if(!Li[_0x1c403d(0x1d2)](_0x3b4cbd[_0x1c403d(0x3ee)]))return this[_0x1c403d(0x306)](),Promise['reject'](new Error(X[_0x1c403d(0x1b5)]['ERROR_IMAGE_TYPE']));if(_0x3b4cbd[_0x1c403d(0x38b)]>Mi)return this[_0x1c403d(0x306)](),Promise['reject'](new Error(X[_0x1c403d(0x1b5)]['ERROR_EXCEED_SIZE']));try{const _0x567235=new FormData();_0x567235[_0x1c403d(0x335)](_0x1c403d(0x340),_0x3b4cbd);const _0xeb92bd=this[_0x1c403d(0x445)]['getFocusedUnit'](),_0x9f5b3f=_0xeb92bd==null?void 0x0:_0xeb92bd['getUnitId']();if(!_0x9f5b3f)throw new Error('unitId\x20is\x20not\x20found');const _0x2db227=this['_getUploadFileURL']()+_0x1c403d(0x1e7)+_0x3b4cbd[_0x1c403d(0x38b)][_0x1c403d(0x3fc)]()+'&source='+bt[_0x1c403d(0x4ea)]+_0x1c403d(0x45a)+encodeURIComponent(_0x9f5b3f),_0x49c680=await(await fetch(_0x2db227,{'method':_0x1c403d(0x283),'body':_0x567235}))['json']();if(typeof _0x49c680[_0x1c403d(0x1c8)]!=_0x1c403d(0x4c2))return this[_0x1c403d(0x306)](),Promise[_0x1c403d(0x4ad)](new Error(X[_0x1c403d(0x1b5)]['ERROR_IMAGE']));_0xc12ba4=_0x49c680['FileId'];}catch{return this[_0x1c403d(0x306)](),Promise[_0x1c403d(0x4ad)](new Error(X[_0x1c403d(0x1b5)]['ERROR_IMAGE']));}return new Promise((_0xe26f57,_0xad594e)=>{var _0x31ff14=_0x1c403d;const _0x4b5d4a=new FileReader();_0x4b5d4a[_0x31ff14(0x228)](_0x3b4cbd),_0x4b5d4a['onload']=_0x679518=>{var _0x5ec537=_0x31ff14,_0x147742;const _0x2bd49f=(_0x147742=_0x679518[_0x5ec537(0x443)])==null?void 0x0:_0x147742[_0x5ec537(0x2f2)];if(_0x2bd49f==null){this[_0x5ec537(0x306)](),_0xad594e(new Error(X[_0x5ec537(0x1b5)][_0x5ec537(0x30e)]));return;}const _0x358cf8=a[_0x5ec537(0x235)][_0x5ec537(0x1d9)](0x6);_0xe26f57({'imageId':_0x358cf8,'imageSourceType':X[_0x5ec537(0x27f)][_0x5ec537(0x42a)],'source':_0xc12ba4,'base64Cache':_0x2bd49f,'status':X[_0x5ec537(0x1b5)]['SUCCUSS']}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x33902e=_0x5c0715,_0x3a836b,_0x41e09a;const _0x5a0647=this[_0x33902e(0x444)][_0x33902e(0x39c)](xi),_0x2ee135=this[_0x33902e(0x444)][_0x33902e(0x39c)](Y);return(_0x41e09a=(_0x3a836b=_0x2ee135==null?void 0x0:_0x2ee135[_0x33902e(0x1be)])!=null?_0x3a836b:_0x5a0647)!=null?_0x41e09a:ji;}[_0x5c0715(0x27b)](){var _0x32f17c=_0x5c0715,_0x23eaae,_0x36ee68;const _0x1c444b=this['_configService'][_0x32f17c(0x39c)]($i),_0x24a363=this[_0x32f17c(0x444)][_0x32f17c(0x39c)](Y);return(_0x36ee68=(_0x23eaae=_0x24a363==null?void 0x0:_0x24a363[_0x32f17c(0x463)])!=null?_0x23eaae:_0x1c444b)!=null?_0x36ee68:Hi;}['_getDownloadEndpointURL'](){var _0x57a95b=_0x5c0715,_0x224068;const _0x471c35=this['_configService'][_0x57a95b(0x39c)](Y);return(_0x224068=_0x471c35==null?void 0x0:_0x471c35[_0x57a95b(0x2c8)])!=null?_0x224068:location['origin'];}[_0x5c0715(0x209)](_0x1c5dbc,_0x54ef0b){var _0x26fb4e=_0x5c0715;return _0x1c5dbc[_0x26fb4e(0x30a)](_0x26fb4e(0x1c3),_0x54ef0b);}[_0x5c0715(0x306)](){this['_waitCount']-=0x1,this['_change$']['next'](this['_waitCount']);}},exports[_0x5c0715(0x356)]=Ai([xe(0x0,a[_0x5c0715(0x49b)](q['HTTPService'])),xe(0x1,a[_0x5c0715(0x468)]),xe(0x2,a[_0x5c0715(0x49b)](a[_0x5c0715(0x48b)]))],exports['CollaborationImageIoService']);var ki=Object[_0x5c0715(0x2d9)],Bi=Object['getOwnPropertyDescriptor'],Fi=(_0x945178,_0x38c109,_0x2133be,_0x781a0d)=>{var _0x200ea6=_0x5c0715;for(var _0x5ca10a=_0x781a0d>0x1?void 0x0:_0x781a0d?Bi(_0x38c109,_0x2133be):_0x38c109,_0x386787=_0x945178[_0x200ea6(0x1b2)]-0x1,_0x52c1bc;_0x386787>=0x0;_0x386787--)(_0x52c1bc=_0x945178[_0x386787])&&(_0x5ca10a=(_0x781a0d?_0x52c1bc(_0x38c109,_0x2133be,_0x5ca10a):_0x52c1bc(_0x5ca10a))||_0x5ca10a);return _0x781a0d&&_0x5ca10a&&ki(_0x38c109,_0x2133be,_0x5ca10a),_0x5ca10a;},_t=(_0x441663,_0x41e5cc)=>(_0x3d71cb,_0x139f55)=>_0x41e5cc(_0x3d71cb,_0x139f55,_0x441663);const Wi=_0x5c0715(0x322);exports[_0x5c0715(0x2d1)]=class{constructor(_0x3db754,_0x45ef5a){this['_configService']=_0x3db754,this['_HTTPService']=_0x45ef5a;}['_getAPIPrefixPath'](){var _0x39712d=_0x5c0715,_0x113eca,_0x43e2c8;const _0x2a97c9=this[_0x39712d(0x444)]['getConfig'](Ve),_0x49de21=this[_0x39712d(0x444)][_0x39712d(0x39c)](Y);return(_0x43e2c8=(_0x113eca=_0x49de21==null?void 0x0:_0x49de21[_0x39712d(0x297)])!=null?_0x113eca:_0x2a97c9)!=null?_0x43e2c8:Wi;}async[_0x5c0715(0x326)](_0x43ef15){var _0x13757c=_0x5c0715;const _0x6f010a=this['_getAPIPrefixPath']()+_0x13757c(0x3f1);return{'list':[{'title':_0x13757c(0x1cf),'mentions':(await this['_HTTPService'][_0x13757c(0x327)](_0x6f010a,{'params':{'objectID':_0x43ef15[_0x13757c(0x3bd)],'unitID':_0x43ef15[_0x13757c(0x3bd)]}}))[_0x13757c(0x1f6)][_0x13757c(0x3c9)][_0x13757c(0x4cd)](_0x5d3d9a=>({'objectId':_0x5d3d9a['id'],'name':_0x5d3d9a['subject'][_0x13757c(0x26c)],'metadata':{'icon':_0x5d3d9a[_0x13757c(0x1cb)][_0x13757c(0x225)]},'label':_0x5d3d9a[_0x13757c(0x1cb)][_0x13757c(0x26c)],'objectType':a['MentionType'][_0x13757c(0x46e)]})),'metadata':{},'type':a[_0x13757c(0x350)][_0x13757c(0x46e)]}]};}},exports['MentionIoHttpService']=Fi([_t(0x0,a['Inject'](a['IConfigService'])),_t(0x1,a['Inject'](q[_0x5c0715(0x3d7)]))],exports['MentionIoHttpService']);var Gi=Object[_0x5c0715(0x2d9)],Vi=Object[_0x5c0715(0x3a5)],Ki=(_0x476216,_0x55ce3a,_0x54bc5b,_0x428587)=>{for(var _0x303853=_0x428587>0x1?void 0x0:_0x428587?Vi(_0x55ce3a,_0x54bc5b):_0x55ce3a,_0x517b5c=_0x476216['length']-0x1,_0x192281;_0x517b5c>=0x0;_0x517b5c--)(_0x192281=_0x476216[_0x517b5c])&&(_0x303853=(_0x428587?_0x192281(_0x55ce3a,_0x54bc5b,_0x303853):_0x192281(_0x303853))||_0x303853);return _0x428587&&_0x303853&&Gi(_0x55ce3a,_0x54bc5b,_0x303853),_0x303853;},ce=(_0x4410b5,_0x4fed6f)=>(_0x9f900c,_0xcf174d)=>_0x4fed6f(_0x9f900c,_0xcf174d,_0x4410b5);let Ue=class extends a[_0x5c0715(0x431)]{constructor(_0x594993,_0x217b0a,_0x3f151f,_0x58ddd0,_0x4437c3,_0xc70129,_0x2e6c6f){var _0x8d8ebc=_0x5c0715;super(),this['_injector']=_0x594993,this[_0x8d8ebc(0x445)]=_0x217b0a,this['_permissionService']=_0x3f151f,this[_0x8d8ebc(0x3b7)]=_0x58ddd0,this[_0x8d8ebc(0x2d7)]=_0x4437c3,this[_0x8d8ebc(0x332)]=_0xc70129,this[_0x8d8ebc(0x4ee)]=_0x2e6c6f,this[_0x8d8ebc(0x382)](),this[_0x8d8ebc(0x1c6)]();}['_initCloseConn'](){var _0x31b216=_0x5c0715;const _0x22e872=async _0x1fd046=>{var _0x1d0be7=_0x5fe0;(await this[_0x1d0be7(0x3b7)]['requireSession'](_0x1fd046))[_0x1d0be7(0x2ac)][_0x1d0be7(0x3d0)](W[_0x1d0be7(0x4e6)](_0xb52fec=>_0xb52fec[_0x1d0be7(0x314)]===m['CollaborationEvent'][_0x1d0be7(0x421)]),W[_0x1d0be7(0x464)](this[_0x1d0be7(0x1cd)]))[_0x1d0be7(0x24f)](_0x26d150=>{var _0x3a42d4=_0x1d0be7;const _0x221d4a=_0x26d150,{reason:_0x2044cd}=_0x221d4a['data'];this[_0x3a42d4(0x2d7)][_0x3a42d4(0x3f0)]({'id':Q[_0x3a42d4(0x33c)],'data':_0x2044cd}),this[_0x3a42d4(0x4be)][_0x3a42d4(0x3f6)](new J[(_0x3a42d4(0x205))](_0x1fd046)['id'],!0x1),this[_0x3a42d4(0x3b7)]['closeSession'](_0x1fd046);});};H[_0x31b216(0x32c)](this[_0x31b216(0x445)][_0x31b216(0x4cf)](a[_0x31b216(0x320)][_0x31b216(0x4d0)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType']['UNIVER_DOC']))[_0x31b216(0x3d0)](W[_0x31b216(0x4cd)](_0x245d23=>_0x245d23[_0x31b216(0x367)]()),W[_0x31b216(0x4e6)](_0x2be1d3=>!a[_0x31b216(0x2f1)](_0x2be1d3)),W[_0x31b216(0x464)](this['dispose$']))['subscribe'](_0x272e26=>{_0x22e872(_0x272e26);});}['_initUnitPermissionChange'](){var _0x328b2a=_0x5c0715;const _0x40b929=async _0x2e0a9a=>{var _0xa831a3=_0x5fe0;const _0x313dc7=await this['_collaborationSessionService'][_0xa831a3(0x21b)](_0x2e0a9a),_0x2234d9=this['_injector']['get'](J[_0xa831a3(0x1f1)]);_0x313dc7[_0xa831a3(0x2ac)][_0xa831a3(0x3d0)](W[_0xa831a3(0x4e6)](_0x34349e=>_0x34349e[_0xa831a3(0x314)]===m[_0xa831a3(0x2dd)]['UPDATE_PERMISSION_OBJ']),W[_0xa831a3(0x464)](this['dispose$']))[_0xa831a3(0x24f)](_0x262e9f=>{var _0xc3a3f3=_0xa831a3;const _0x547e99=_0x262e9f,{objectId:_0x12cf93}=_0x547e99[_0xc3a3f3(0x2a5)];_0x12cf93===_0x2e0a9a?_0x2234d9[_0xc3a3f3(0x344)](_0x2e0a9a):_0x2234d9[_0xc3a3f3(0x270)](_0x2e0a9a,_0x12cf93);});};H[_0x328b2a(0x32c)](this[_0x328b2a(0x445)]['getTypeOfUnitAdded$'](a[_0x328b2a(0x320)][_0x328b2a(0x4d0)]),this[_0x328b2a(0x445)][_0x328b2a(0x4cf)](a[_0x328b2a(0x320)]['UNIVER_DOC']))[_0x328b2a(0x3d0)](W['map'](_0xb71e4e=>_0xb71e4e[_0x328b2a(0x367)]()),W['filter'](_0x2b9357=>!a['isInternalEditorID'](_0x2b9357)),W[_0x328b2a(0x464)](this[_0x328b2a(0x1cd)]))['subscribe'](_0x25f7b7=>{_0x40b929(_0x25f7b7);});}};Ue=Ki([ce(0x0,a[_0x5c0715(0x49b)](a['Injector'])),ce(0x1,a[_0x5c0715(0x48b)]),ce(0x2,a[_0x5c0715(0x40d)]),ce(0x3,a[_0x5c0715(0x49b)](exports[_0x5c0715(0x3cd)])),ce(0x4,a['Inject'](te)),ce(0x5,a[_0x5c0715(0x362)]),ce(0x6,a[_0x5c0715(0x496)])],Ue);var Yi=Object['defineProperty'],qi=Object[_0x5c0715(0x3a5)],zi=(_0x38c99a,_0x4184f7,_0x437acd,_0x53daf9)=>{for(var _0x150b0b=_0x53daf9>0x1?void 0x0:_0x53daf9?qi(_0x4184f7,_0x437acd):_0x4184f7,_0x3bc590=_0x38c99a['length']-0x1,_0x52aa97;_0x3bc590>=0x0;_0x3bc590--)(_0x52aa97=_0x38c99a[_0x3bc590])&&(_0x150b0b=(_0x53daf9?_0x52aa97(_0x4184f7,_0x437acd,_0x150b0b):_0x52aa97(_0x150b0b))||_0x150b0b);return _0x53daf9&&_0x150b0b&&Yi(_0x4184f7,_0x437acd,_0x150b0b),_0x150b0b;},ut=(_0x20fc2b,_0x817382)=>(_0x33f53b,_0x5d2788)=>_0x817382(_0x33f53b,_0x5d2788,_0x20fc2b);exports[_0x5c0715(0x2ce)]=class{constructor(_0x4b01fe,_0x43d865){var _0x27ec28=_0x5c0715;this[_0x27ec28(0x444)]=_0x4b01fe,this[_0x27ec28(0x3c5)]=_0x43d865;}async[_0x5c0715(0x2da)](_0x27ab1c,_0x2b1f87){var _0x5d8b0e=_0x5c0715,_0x1ebee3;const {unitID:_0x265bf9,type:_0x1a1f16,revision:_0x4a143d=0x0}=_0x2b1f87,_0xe43d5c=this[_0x5d8b0e(0x3e5)]()+'/'+_0x1a1f16+_0x5d8b0e(0x3e6)+_0x265bf9+_0x5d8b0e(0x1f8)+_0x4a143d,_0x377e94=(await this['_httpService'][_0x5d8b0e(0x327)](_0xe43d5c))['body'],_0x26cf45=(_0x1ebee3=_0x377e94[_0x5d8b0e(0x493)])==null?void 0x0:_0x1ebee3[_0x5d8b0e(0x358)];if(_0x26cf45){const _0x384d1e=_0x26cf45==null?void 0x0:_0x26cf45[_0x5d8b0e(0x46d)],_0x56a447=m[_0x5d8b0e(0x28b)]['encode'](m[_0x5d8b0e(0x462)](_0x384d1e));_0x26cf45[_0x5d8b0e(0x46d)]=_0x56a447,Object[_0x5d8b0e(0x216)](_0x26cf45['sheets'])[_0x5d8b0e(0x319)](([,_0x4e3ad4])=>{var _0xdc67e6=_0x5d8b0e;const _0x1161ec=_0x4e3ad4[_0xdc67e6(0x46d)],_0x4b711b=m[_0xdc67e6(0x28b)][_0xdc67e6(0x4da)](m[_0xdc67e6(0x462)](_0x1161ec));_0x4e3ad4[_0xdc67e6(0x46d)]=_0x4b711b;});}return _0x377e94;}async[_0x5c0715(0x467)](_0x52f6fd,_0x172b98){var _0x2712a3=_0x5c0715;const {unitID:_0x54bf27,type:_0x4078a5,blockID:_0x40f825}=_0x172b98,_0x5f54fc=this['_getAPIPrefix']()+'/'+_0x4078a5+_0x2712a3(0x3e6)+_0x54bf27+_0x2712a3(0x345)+_0x40f825;return(await this[_0x2712a3(0x3c5)][_0x2712a3(0x327)](_0x5f54fc))[_0x2712a3(0x1f6)];}async[_0x5c0715(0x2c5)](_0x469e9a,_0x2e9546){var _0xdfad92=_0x5c0715;const {unitID:_0x4b3d5e,type:_0x47fcba,blockID:_0x1d51e6}=_0x2e9546,_0x5da4c0=this['_getAPIPrefix']()+_0xdfad92(0x345)+_0x47fcba+_0xdfad92(0x3e6)+_0x4b3d5e+_0xdfad92(0x345)+_0x1d51e6;return(await this[_0xdfad92(0x3c5)][_0xdfad92(0x327)](_0x5da4c0))['body'];}async[_0x5c0715(0x248)](_0x4d5262,_0x2ff20c){var _0x235311=_0x5c0715;const {unitID:_0x749fc5,type:_0x347aa9,from:_0x475c17,to:_0x1aca75}=_0x2ff20c,_0x29821a=this[_0x235311(0x4a5)]()+'/'+_0x347aa9+_0x235311(0x3e6)+_0x749fc5+'/fetchmissing?from='+_0x475c17+_0x235311(0x194)+_0x1aca75;return(await this['_httpService'][_0x235311(0x327)](_0x29821a))[_0x235311(0x1f6)];}[_0x5c0715(0x3e5)](){var _0x488ad4=_0x5c0715,_0x464444;return(_0x464444=this[_0x488ad4(0x444)][_0x488ad4(0x39c)](ft))!=null?_0x464444:this[_0x488ad4(0x4a5)]();}['_getAPIPrefix'](){var _0x3212df=_0x5c0715,_0x29afd0,_0x41a811;const _0x3987a2=this['_configService'][_0x3212df(0x39c)](vt),_0x37380b=this['_configService'][_0x3212df(0x39c)](Y);return(_0x41a811=(_0x29afd0=_0x37380b==null?void 0x0:_0x37380b[_0x3212df(0x390)])!=null?_0x29afd0:_0x3987a2)!=null?_0x41a811:Ht;}async[_0x5c0715(0x254)](_0x4e98a6,_0x50cba6){var _0x27de5c=_0x5c0715;const _0x2436f8=_0x27de5c(0x38c)+_0x50cba6[_0x27de5c(0x3ee)]+_0x27de5c(0x3e6)+_0x50cba6[_0x27de5c(0x2dc)]+_0x27de5c(0x47a);return(await this[_0x27de5c(0x3c5)]['get'](_0x2436f8,{'params':{'resourceId':JSON['stringify'](_0x50cba6[_0x27de5c(0x4e9)])}}))['body'];}[_0x5c0715(0x193)](){var _0x24f17a=_0x5c0715;throw new Error(_0x24f17a(0x2b7));}[_0x5c0715(0x200)](){var _0x396051=_0x5c0715;throw new Error(_0x396051(0x2b7));}[_0x5c0715(0x4d3)](){var _0x362ef9=_0x5c0715;throw new Error(_0x362ef9(0x2b7));}[_0x5c0715(0x241)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5c0715(0x2b3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x5c0715(0x2ce)]=zi([ut(0x0,a[_0x5c0715(0x468)]),ut(0x1,a[_0x5c0715(0x49b)](q[_0x5c0715(0x3d7)]))],exports['SnapshotServerOverHTTPService']);var Ji=Object['defineProperty'],Xi=Object[_0x5c0715(0x3a5)],Zi=(_0x3f8bce,_0x32c935,_0x3bcbf4,_0x469cd3)=>{var _0x2d9f1c=_0x5c0715;for(var _0x223dd2=_0x469cd3>0x1?void 0x0:_0x469cd3?Xi(_0x32c935,_0x3bcbf4):_0x32c935,_0x3f9385=_0x3f8bce[_0x2d9f1c(0x1b2)]-0x1,_0xcade5e;_0x3f9385>=0x0;_0x3f9385--)(_0xcade5e=_0x3f8bce[_0x3f9385])&&(_0x223dd2=(_0x469cd3?_0xcade5e(_0x32c935,_0x3bcbf4,_0x223dd2):_0xcade5e(_0x223dd2))||_0x223dd2);return _0x469cd3&&_0x223dd2&&Ji(_0x32c935,_0x3bcbf4,_0x223dd2),_0x223dd2;},de=(_0x444c68,_0x54ac2b)=>(_0x4fee79,_0x34c6cf)=>_0x54ac2b(_0x4fee79,_0x34c6cf,_0x444c68);exports['CollaborativeUndoRedoService']=class extends a[_0x5c0715(0x31e)]{constructor(_0x1ba95c,_0x4afb72,_0xa985e9,_0x5c5fa6,_0x409b49){var _0x5aef31=_0x5c0715;super(_0x1ba95c,_0x4afb72,_0xa985e9),this[_0x5aef31(0x4a8)]=_0x5c5fa6,this[_0x5aef31(0x4c1)]=_0x409b49;}[_0x5c0715(0x3e7)](_0x43a78c,_0x21c174){var _0x4ddf42=_0x5c0715;const _0x5befe2=this[_0x4ddf42(0x385)](_0x43a78c);if(_0x5befe2)try{const _0x1939f4=this[_0x4ddf42(0x480)](_0x5befe2,_0x21c174);this['_substituteUndoStack'](_0x43a78c,_0x1939f4);}catch(_0x5da632){this[_0x4ddf42(0x4c1)][_0x4ddf42(0x2e6)](_0x4ddf42(0x4f9),_0x5da632),this[_0x4ddf42(0x4c6)](_0x43a78c);}const _0xab486b=this[_0x4ddf42(0x363)](_0x43a78c);if(_0xab486b)try{const _0x267cf0=this['_transformStack'](_0xab486b,_0x21c174);this[_0x4ddf42(0x1f5)](_0x43a78c,_0x267cf0);}catch(_0x30ff5a){this[_0x4ddf42(0x4c1)][_0x4ddf42(0x2e6)](_0x30ff5a),this[_0x4ddf42(0x19f)](_0x43a78c);}}[_0x5c0715(0x4c6)](_0x2e1442){var _0x5db488=_0x5c0715;const _0x17008d=this['_getUndoStack'](_0x2e1442);_0x17008d&&(_0x17008d['length']=0x0,this[_0x5db488(0x334)]());}[_0x5c0715(0x19f)](_0x35de45){var _0x23edd4=_0x5c0715;const _0x51862b=this[_0x23edd4(0x363)](_0x35de45);_0x51862b&&(_0x51862b[_0x23edd4(0x1b2)]=0x0,this[_0x23edd4(0x334)]());}[_0x5c0715(0x388)](_0x4910df,_0x2fb56a){var _0x1bbe4a=_0x5c0715;this[_0x1bbe4a(0x238)][_0x1bbe4a(0x410)](_0x4910df,_0x2fb56a),this[_0x1bbe4a(0x334)]();}[_0x5c0715(0x1f5)](_0x55e6ae,_0x2751c6){var _0x41aa8b=_0x5c0715;this[_0x41aa8b(0x28f)]['set'](_0x55e6ae,_0x2751c6),this['_updateStatus']();}[_0x5c0715(0x480)](_0x48881e,_0x3f519e){var _0x1ca478=_0x5c0715;const _0x76985c=[];let _0x5573b4=_0x3f519e,_0x3fa416=_0x3f519e;for(let _0x568c88=_0x48881e[_0x1ca478(0x1b2)]-0x1;_0x568c88>=0x0;_0x568c88--){const {unitID:_0x494275,undoMutations:_0x1fb2de,redoMutations:_0x289737}=_0x48881e[_0x568c88],_0xbe0306=this[_0x1ca478(0x4a8)][_0x1ca478(0x23a)](_0x5573b4,_0x1fb2de),_0x229a99=this[_0x1ca478(0x4a8)][_0x1ca478(0x23a)](_0x3fa416,_0x289737);if(m['isTransformMutationsWithChangesetFailure'](_0xbe0306)||m['isTransformMutationsWithChangesetFailure'](_0x229a99)){this[_0x1ca478(0x4c1)]['error'](_0x1ca478(0x4f9),'transformStack\x20failed!',_0xbe0306,_0x229a99);break;}_0x5573b4=_0xbe0306['c1Prime'],_0x3fa416=_0x229a99[_0x1ca478(0x466)],_0x76985c[_0x1ca478(0x3aa)]({'unitID':_0x494275,'undoMutations':_0xbe0306['m2Prime'],'redoMutations':_0x229a99[_0x1ca478(0x18b)]});}return _0x76985c[_0x1ca478(0x492)]();}},exports[_0x5c0715(0x2ef)]=Zi([de(0x0,a[_0x5c0715(0x48b)]),de(0x1,a[_0x5c0715(0x339)]),de(0x2,a[_0x5c0715(0x3c7)]),de(0x3,m[_0x5c0715(0x2fe)]),de(0x4,a[_0x5c0715(0x49f)])],exports[_0x5c0715(0x2ef)]);var Lt=Object[_0x5c0715(0x2d9)],Qi=Object[_0x5c0715(0x3a5)],er=(_0x5ad5c2,_0x326092,_0x3cb50b)=>_0x326092 in _0x5ad5c2?Lt(_0x5ad5c2,_0x326092,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3cb50b}):_0x5ad5c2[_0x326092]=_0x3cb50b,tr=(_0x446602,_0x5bbb38,_0xb161a1,_0x2f807e)=>{var _0x5dbd65=_0x5c0715;for(var _0x1a7855=_0x2f807e>0x1?void 0x0:_0x2f807e?Qi(_0x5bbb38,_0xb161a1):_0x5bbb38,_0xbd09e3=_0x446602[_0x5dbd65(0x1b2)]-0x1,_0xf01a3c;_0xbd09e3>=0x0;_0xbd09e3--)(_0xf01a3c=_0x446602[_0xbd09e3])&&(_0x1a7855=(_0x2f807e?_0xf01a3c(_0x5bbb38,_0xb161a1,_0x1a7855):_0xf01a3c(_0x1a7855))||_0x1a7855);return _0x2f807e&&_0x1a7855&&Lt(_0x5bbb38,_0xb161a1,_0x1a7855),_0x1a7855;},je=(_0x416c88,_0x519af2)=>(_0x372998,_0x4d2c6d)=>_0x519af2(_0x372998,_0x4d2c6d,_0x416c88),nr=(_0x3c6b59,_0x32a1b9,_0x16fccf)=>er(_0x3c6b59,_0x32a1b9+'',_0x16fccf);const ir=_0x5c0715(0x1d5);exports['UniverCollaborationClientPlugin']=class extends a[_0x5c0715(0x2e4)]{constructor(_0x2958cb=Ke,_0x547e70,_0x4c4e65,_0x2866b5){var _0x456053=_0x5c0715;super(),this['_config']=_0x2958cb,this[_0x456053(0x4c1)]=_0x547e70,this['_injector']=_0x4c4e65,this['_configService']=_0x2866b5;const {..._0x500736}=a[_0x456053(0x32c)]({},Ke,this['_config']);this[_0x456053(0x444)]['setConfig'](Y,_0x500736);}[_0x5c0715(0x39f)](){var _0x34c92a=_0x5c0715;this[_0x34c92a(0x4a2)](),this[_0x34c92a(0x3e2)]();}[_0x5c0715(0x4a2)](){var _0x83303b=_0x5c0715,_0x37243c,_0x193248,_0x39df7b,_0x6869d3;this[_0x83303b(0x305)][_0x83303b(0x45f)](a[_0x83303b(0x496)])&&this[_0x83303b(0x4c1)][_0x83303b(0x2e6)](_0x83303b(0x426),_0x83303b(0x37f));const _0x44e58d=a['mergeOverrideWithDependencies']([[a[_0x83303b(0x496)],{'useClass':exports[_0x83303b(0x2ef)]}],[exports['CollaborationSessionService']],[exports[_0x83303b(0x1b0)]],[exports[_0x83303b(0x1c4)]],[ye],[Ne],[Be],[Ue],[te],[exports[_0x83303b(0x347)]],[ke,{'useClass':(_0x193248=(_0x37243c=this[_0x83303b(0x30b)])==null?void 0x0:_0x37243c['socketService'])!=null?_0x193248:exports['CollaborationSocketService']}],[m[_0x83303b(0x273)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x83303b(0x362)],{'useClass':exports[_0x83303b(0x229)]}],[X[_0x83303b(0x44d)],{'useClass':exports[_0x83303b(0x356)]}],[a[_0x83303b(0x1b3)],{'useClass':exports[_0x83303b(0x2d1)]}],[exports['CollaborationController']],[$e]],(_0x39df7b=this[_0x83303b(0x30b)])==null?void 0x0:_0x39df7b['override']);if(!((_0x6869d3=this[_0x83303b(0x30b)])!=null&&_0x6869d3['enableSingleActiveInstanceLock'])){const _0x4785f1=_0x44e58d[_0x83303b(0x2f5)](([_0x169bcd])=>_0x169bcd===ve);_0x4785f1!==-0x1&&_0x44e58d[_0x83303b(0x4eb)](_0x4785f1,0x1);}a['registerDependencies'](this[_0x83303b(0x305)],_0x44e58d);}[_0x5c0715(0x3e2)](){var _0x16e764=_0x5c0715,_0x3efec7,_0x58cf9a,_0x435d43;this['_injector'][_0x16e764(0x327)](q[_0x16e764(0x3d7)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x3efec7=this['_config'])!=null&&_0x3efec7[_0x16e764(0x1bb)]||(_0x58cf9a=this['_injector'][_0x16e764(0x327)](z,a['Quantity'][_0x16e764(0x4aa)]))==null||_0x58cf9a[_0x16e764(0x2a0)](),(_0x435d43=this['_config'])!=null&&_0x435d43[_0x16e764(0x24b)]&&a[_0x16e764(0x3e3)](this[_0x16e764(0x305)],[[ye]]),a[_0x16e764(0x3e3)](this[_0x16e764(0x305)],[[Ne],[exports[_0x16e764(0x2b8)]],[Ue]]);}},nr(exports[_0x5c0715(0x38e)],_0x5c0715(0x2b5),ir),exports[_0x5c0715(0x38e)]=tr([a[_0x5c0715(0x393)](m[_0x5c0715(0x240)],J['UniverSheetsPlugin'],q['UniverNetworkPlugin']),je(0x1,a['ILogService']),je(0x2,a[_0x5c0715(0x49b)](a[_0x5c0715(0x433)])),je(0x3,a['IConfigService'])],exports[_0x5c0715(0x38e)]),exports[_0x5c0715(0x487)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x5c0715(0x4b5)]=Et,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0x5c0715(0x392)]=We,exports[_0x5c0715(0x285)]=Q,exports['CollaborationUIEventService']=te,exports[_0x5c0715(0x425)]=Be,exports[_0x5c0715(0x37d)]=pt,exports[_0x5c0715(0x19a)]=Xt,exports[_0x5c0715(0x1c2)]=mt,exports[_0x5c0715(0x3e0)]=He,exports['ICollaborationSocketService']=ke,exports[_0x5c0715(0x2c2)]=z,exports[_0x5c0715(0x313)]=Rt,exports[_0x5c0715(0x3de)]=ve,exports[_0x5c0715(0x405)]=Yt,exports[_0x5c0715(0x1b7)]=Kt,exports[_0x5c0715(0x47c)]=Ct,exports[_0x5c0715(0x1bc)]=Jt,exports[_0x5c0715(0x41e)]=It,exports['SEND_CHANGESET_TIMEOUT_KEY']=kt,exports['SNAPSHOT_SERVER_URL_KEY']=vt,exports[_0x5c0715(0x398)]=ft,exports[_0x5c0715(0x3c4)]=se,exports[_0x5c0715(0x258)]=Fe,exports['deserializeToCombResponse']=Ot,exports['getLocalCacheKey']=In,exports[_0x5c0715(0x484)]=yt;
|
1
|
+
'use strict';var _0x5a0058=_0x572c;(function(_0x3b21dd,_0x589ba5){var _0x4ad220=_0x572c,_0xf0cac0=_0x3b21dd();while(!![]){try{var _0x306631=-parseInt(_0x4ad220(0x3d2))/0x1+parseInt(_0x4ad220(0x20a))/0x2+parseInt(_0x4ad220(0x462))/0x3+parseInt(_0x4ad220(0x29e))/0x4*(-parseInt(_0x4ad220(0x325))/0x5)+-parseInt(_0x4ad220(0x2ad))/0x6+-parseInt(_0x4ad220(0x287))/0x7+-parseInt(_0x4ad220(0x27d))/0x8*(-parseInt(_0x4ad220(0x2d9))/0x9);if(_0x306631===_0x589ba5)break;else _0xf0cac0['push'](_0xf0cac0['shift']());}catch(_0x3fe2cc){_0xf0cac0['push'](_0xf0cac0['shift']());}}}(_0x3a31,0x2abcb));var Mt=Object[_0x5a0058(0x141)],xt=(_0x3057a2,_0x13664c,_0x1d5076)=>_0x13664c in _0x3057a2?Mt(_0x3057a2,_0x13664c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d5076}):_0x3057a2[_0x13664c]=_0x1d5076,D=(_0x50891f,_0x4ccbb4,_0x33bbd7)=>xt(_0x50891f,typeof _0x4ccbb4!=_0x5a0058(0x193)?_0x4ccbb4+'':_0x4ccbb4,_0x33bbd7);Object[_0x5a0058(0x141)](exports,Symbol[_0x5a0058(0x204)],{'value':'Module'});const a=require('@univerjs/core'),H=require(_0x5a0058(0x396)),W=require(_0x5a0058(0x305)),q=require(_0x5a0058(0x450)),m=require(_0x5a0058(0x3b1)),jt=require(_0x5a0058(0x123)),dt=require(_0x5a0058(0x476)),J=require(_0x5a0058(0x19d)),X=require(_0x5a0058(0x24c)),$t=require(_0x5a0058(0x34b)),vt=_0x5a0058(0x48c),Ht=_0x5a0058(0x468),ft=_0x5a0058(0x14b),kt=_0x5a0058(0x2e4),Bt=0x7d0,St='COLLAB_WEB_SOCKET_URL',pt=_0x5a0058(0x3cd),Ft=_0x5a0058(0x2a8),mt=_0x5a0058(0x229),Wt=0x7530,He=_0x5a0058(0x3d5),gt=0x4e20,Gt=0x4e20,It=_0x5a0058(0x1ca),Vt=0x3,Kt='LOCAL_CACHE_INTERVAL',Yt=0x3e8,Et=_0x5a0058(0x205),qt=_0x5a0058(0x2a0),Ct=_0x5a0058(0x18e),zt=_0x5a0058(0x29d),Jt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Xt=_0x5a0058(0x1b7);var Tt=(_0x358a66=>(_0x358a66[_0x358a66[_0x5a0058(0x174)]=0x0]=_0x5a0058(0x174),_0x358a66[_0x358a66['OK']=0x1]='OK',_0x358a66[_0x358a66['INTERNAL_ERROR']=0x2]=_0x5a0058(0x433),_0x358a66[_0x358a66[_0x5a0058(0x40d)]=0x3]=_0x5a0058(0x40d),_0x358a66[_0x358a66['NOT_FOUND']=0x4]=_0x5a0058(0x44c),_0x358a66[_0x358a66[_0x5a0058(0x2b2)]=0x5]=_0x5a0058(0x2b2),_0x358a66[_0x358a66[_0x5a0058(0x37d)]=0x6]='ALREADY_EXISTS',_0x358a66[_0x358a66[_0x5a0058(0x2a9)]=0x7]=_0x5a0058(0x2a9),_0x358a66[_0x358a66['TOO_MANY_REQUESTS']=0x8]=_0x5a0058(0x1fe),_0x358a66[_0x358a66[_0x5a0058(0x17e)]=0x9]=_0x5a0058(0x17e),_0x358a66[_0x358a66[_0x5a0058(0x237)]=0x1389]=_0x5a0058(0x237),_0x358a66[_0x358a66[_0x5a0058(0x481)]=0x1771]=_0x5a0058(0x481),_0x358a66[_0x358a66[_0x5a0058(0x199)]=0x1772]=_0x5a0058(0x199),_0x358a66[_0x358a66[_0x5a0058(0x2aa)]=0x1773]=_0x5a0058(0x2aa),_0x358a66[_0x358a66[_0x5a0058(0x1ec)]=0x1b59]=_0x5a0058(0x1ec),_0x358a66[_0x358a66[_0x5a0058(0x1f1)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x358a66[_0x358a66['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5a0058(0x465),_0x358a66[_0x358a66['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5a0058(0x3cb),_0x358a66[_0x358a66[_0x5a0058(0x176)]=0x1b5d]=_0x5a0058(0x176),_0x358a66[_0x358a66[_0x5a0058(0x14f)]=0x1f41]=_0x5a0058(0x14f),_0x358a66[_0x358a66[_0x5a0058(0x2b4)]=0x2329]=_0x5a0058(0x2b4),_0x358a66[_0x358a66[_0x5a0058(0x3f2)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x358a66[_0x358a66['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x358a66[_0x358a66[_0x5a0058(0x1ea)]=0x232c]=_0x5a0058(0x1ea),_0x358a66[_0x358a66[_0x5a0058(0x425)]=0x232d]=_0x5a0058(0x425),_0x358a66[_0x358a66[_0x5a0058(0x482)]=0x2711]=_0x5a0058(0x482),_0x358a66[_0x358a66[_0x5a0058(0x326)]=0x2712]=_0x5a0058(0x326),_0x358a66[_0x358a66['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x358a66[_0x358a66[_0x5a0058(0x2fd)]=0x2714]=_0x5a0058(0x2fd),_0x358a66[_0x358a66[_0x5a0058(0x360)]=0x2af9]=_0x5a0058(0x360),_0x358a66[_0x358a66[_0x5a0058(0x214)]=-0x1]=_0x5a0058(0x214),_0x358a66))(Tt||{}),Z=(_0x31c332=>(_0x31c332[_0x31c332[_0x5a0058(0x40e)]=0x0]=_0x5a0058(0x40e),_0x31c332[_0x31c332['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x31c332[_0x31c332[_0x5a0058(0x137)]=0x2]=_0x5a0058(0x137),_0x31c332[_0x31c332[_0x5a0058(0x16f)]=0x3]=_0x5a0058(0x16f),_0x31c332[_0x31c332['UNIVER_PROJECT']=0x4]=_0x5a0058(0x29a),_0x31c332[_0x31c332['UNRECOGNIZED']=-0x1]=_0x5a0058(0x214),_0x31c332))(Z||{}),G=(_0x425fe7=>(_0x425fe7[_0x425fe7[_0x5a0058(0x291)]=0x0]=_0x5a0058(0x291),_0x425fe7[_0x425fe7[_0x5a0058(0x48f)]=0x1]=_0x5a0058(0x48f),_0x425fe7[_0x425fe7[_0x5a0058(0x46d)]=0x2]=_0x5a0058(0x46d),_0x425fe7[_0x425fe7[_0x5a0058(0x313)]=0x3]=_0x5a0058(0x313),_0x425fe7[_0x425fe7['INGEST']=0x4]='INGEST',_0x425fe7[_0x425fe7[_0x5a0058(0x225)]=0x5]='HEARTBEAT',_0x425fe7[_0x425fe7[_0x5a0058(0x3be)]=0x6]='RECV',_0x425fe7[_0x425fe7[_0x5a0058(0x214)]=-0x1]=_0x5a0058(0x214),_0x425fe7))(G||{}),he=(_0xad9276=>(_0xad9276[_0xad9276[_0x5a0058(0x31d)]=0x0]=_0x5a0058(0x31d),_0xad9276[_0xad9276['OK']=0x1]='OK',_0xad9276[_0xad9276[_0x5a0058(0x182)]=0x2]='FAIL',_0xad9276[_0xad9276[_0x5a0058(0x2f2)]=0x3e9]=_0x5a0058(0x2f2),_0xad9276[_0xad9276[_0x5a0058(0x294)]=0x3ea]=_0x5a0058(0x294),_0xad9276[_0xad9276[_0x5a0058(0x173)]=0x3eb]=_0x5a0058(0x173),_0xad9276[_0xad9276[_0x5a0058(0x250)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xad9276[_0xad9276['UNRECOGNIZED']=-0x1]=_0x5a0058(0x214),_0xad9276))(he||{}),bt=(_0x656d6f=>(_0x656d6f[_0x656d6f['Undefined']=0x0]=_0x5a0058(0x38e),_0x656d6f[_0x656d6f[_0x5a0058(0x2f5)]=0x1]=_0x5a0058(0x2f5),_0x656d6f[_0x656d6f[_0x5a0058(0x424)]=0x2]='HttpExport',_0x656d6f[_0x656d6f[_0x5a0058(0x257)]=0x3]='UnitEmbedded',_0x656d6f[_0x656d6f['UnitSnapshot']=0x4]=_0x5a0058(0x39d),_0x656d6f[_0x656d6f[_0x5a0058(0x214)]=-0x1]='UNRECOGNIZED',_0x656d6f))(bt||{});const Y=_0x5a0058(0x253),Ke={};var Q=(_0x10c24b=>(_0x10c24b['OTHER_CLIENT_EDITING']=_0x5a0058(0x405),_0x10c24b[_0x5a0058(0x40d)]='PERMISSION_DENIED',_0x10c24b['CONFLICT']=_0x5a0058(0x1c8),_0x10c24b['CLOSE_ROOM']=_0x5a0058(0x146),_0x10c24b[_0x5a0058(0x1a4)]=_0x5a0058(0x1a4),_0x10c24b[_0x5a0058(0x25e)]=_0x5a0058(0x25e),_0x10c24b[_0x5a0058(0x232)]=_0x5a0058(0x232),_0x10c24b[_0x5a0058(0x3bd)]=_0x5a0058(0x3bd),_0x10c24b))(Q||{});class te{constructor(){var _0x5ab682=_0x5a0058;D(this,_0x5ab682(0x3ad),new H[(_0x5ab682(0x337))]()),D(this,_0x5ab682(0x1d9),this[_0x5ab682(0x3ad)]['asObservable']());}[_0x5a0058(0x492)](_0x57733c){var _0x176dda=_0x5a0058;this[_0x176dda(0x3ad)][_0x176dda(0x39b)](_0x57733c);}}const Rt=a[_0x5a0058(0x142)](_0x5a0058(0x331));function Ot(_0xf479ff){var _0x283ccf=_0x5a0058,_0x226c54,_0x258000,_0x27fed5,_0x441dae,_0x521a9e;const _0x223207=_0xf479ff[_0x283ccf(0x18f)],_0x4729d9=JSON['parse'](_0x223207);switch(_0x4729d9[_0x283ccf(0x1cf)]){case G[_0x283ccf(0x225)]:case G['HELLO']:{const _0x148258=_0x4729d9['infoRsp'];return{..._0x4729d9,'data':_0x148258,'cmd':_0x4729d9[_0x283ccf(0x1cf)]};}case G[_0x283ccf(0x46d)]:{const _0x59a8e7=_0x4729d9['joinRsp'];return{..._0x4729d9,'data':_0x59a8e7,'cmd':_0x4729d9[_0x283ccf(0x1cf)]};}case G[_0x283ccf(0x3be)]:{const _0x59d056=_0x4729d9[_0x283ccf(0x328)];switch(_0x59d056[_0x283ccf(0x361)]){case m[_0x283ccf(0x1eb)][_0x283ccf(0x457)]:return{..._0x4729d9,'data':{..._0x59d056,'data':(_0x226c54=_0x59d056[_0x283ccf(0x1af)])==null?void 0x0:_0x226c54['cs']},'cmd':_0x4729d9['cmd']};case m['CollaborationEvent'][_0x283ccf(0x42f)]:return{..._0x4729d9,'data':{..._0x59d056,'data':(_0x258000=_0x59d056[_0x283ccf(0x1c2)])==null?void 0x0:_0x258000['cs']},'cmd':_0x4729d9[_0x283ccf(0x1cf)]};case m[_0x283ccf(0x1eb)][_0x283ccf(0x16a)]:return{..._0x4729d9,'data':{..._0x59d056,'data':(_0x27fed5=_0x59d056[_0x283ccf(0x168)])==null?void 0x0:_0x27fed5['cs']},'cmd':_0x4729d9[_0x283ccf(0x1cf)]};case m[_0x283ccf(0x1eb)][_0x283ccf(0x1da)]:return{..._0x4729d9,'data':{..._0x59d056,'data':(_0x441dae=_0x59d056[_0x283ccf(0x376)])==null?void 0x0:_0x441dae['cs']},'cmd':_0x4729d9['cmd']};case m[_0x283ccf(0x1eb)][_0x283ccf(0x2d8)]:return{..._0x4729d9,'data':{..._0x59d056,'data':(_0x521a9e=_0x59d056[_0x283ccf(0x27c)])==null?void 0x0:_0x521a9e['cs']},'cmd':_0x4729d9[_0x283ccf(0x1cf)]};case m[_0x283ccf(0x1eb)]['UPDATE_CURSOR']:return{..._0x4729d9,'data':{..._0x59d056,'data':_0x59d056[_0x283ccf(0x116)]},'cmd':_0x4729d9[_0x283ccf(0x1cf)]};case m[_0x283ccf(0x1eb)][_0x283ccf(0x474)]:return{..._0x4729d9,'data':{..._0x59d056,'data':_0x59d056[_0x283ccf(0x3a2)]},'cmd':_0x4729d9[_0x283ccf(0x1cf)]};case m[_0x283ccf(0x1eb)][_0x283ccf(0x27e)]:return{..._0x4729d9,'data':{..._0x59d056,'data':_0x59d056[_0x283ccf(0x284)]},'cmd':_0x4729d9[_0x283ccf(0x1cf)]};case m[_0x283ccf(0x1eb)]['LIVESHARE_NEW_HOST']:return{..._0x4729d9,'data':{..._0x59d056,'data':_0x59d056['liveShareNewHost']},'cmd':_0x4729d9[_0x283ccf(0x1cf)]};case m['CollaborationEvent'][_0x283ccf(0x278)]:case m[_0x283ccf(0x1eb)][_0x283ccf(0x2ba)]:return{..._0x4729d9,'data':{..._0x59d056,'data':_0x59d056[_0x283ccf(0x44f)]},'cmd':_0x4729d9[_0x283ccf(0x1cf)]};case m[_0x283ccf(0x1eb)][_0x283ccf(0x15a)]:return{..._0x4729d9,'data':{..._0x59d056,'data':_0x59d056['liveShareNewHost']},'cmd':_0x4729d9[_0x283ccf(0x1cf)]};case m[_0x283ccf(0x1eb)][_0x283ccf(0x2ae)]:return{..._0x4729d9,'data':_0x59d056,'cmd':_0x4729d9[_0x283ccf(0x1cf)]};case m[_0x283ccf(0x1eb)][_0x283ccf(0x395)]:return{..._0x4729d9,'data':{..._0x59d056,'data':_0x59d056[_0x283ccf(0x22c)]},'cmd':_0x4729d9[_0x283ccf(0x1cf)]};case m[_0x283ccf(0x1eb)][_0x283ccf(0x3b0)]:return{..._0x4729d9,'data':{..._0x59d056,'data':_0x59d056[_0x283ccf(0x22f)]},'cmd':_0x4729d9[_0x283ccf(0x1cf)]};case m[_0x283ccf(0x1eb)][_0x283ccf(0x46f)]:return{..._0x4729d9,'data':{..._0x59d056,'data':_0x59d056['shouldCloseConn']},'cmd':_0x4729d9['cmd']};case m[_0x283ccf(0x1eb)]['UNISCRIPT_RUN']:return{..._0x4729d9,'data':{..._0x59d056,'data':_0x59d056[_0x283ccf(0x243)]},'cmd':_0x4729d9[_0x283ccf(0x1cf)]};default:return _0x4729d9;}}default:return _0x4729d9;}}function yt(_0x42d9fd){var _0xcfd012=_0x5a0058;switch(_0x42d9fd['cmd']){case G[_0xcfd012(0x225)]:case G[_0xcfd012(0x48f)]:return JSON['stringify']({'cmd':_0x42d9fd['cmd'],'routeKey':_0x42d9fd['routeKey']});case G[_0xcfd012(0x38a)]:{let _0x561099;switch(_0x42d9fd[_0xcfd012(0x18f)][_0xcfd012(0x361)]){case m[_0xcfd012(0x1eb)][_0xcfd012(0x41b)]:{_0x561099={'eventID':m[_0xcfd012(0x1eb)][_0xcfd012(0x41b)],'updateCursorEvent':_0x42d9fd[_0xcfd012(0x18f)][_0xcfd012(0x18f)]};break;}case m[_0xcfd012(0x1eb)]['USERS_LEAVE']:{_0x561099={'eventID':m[_0xcfd012(0x1eb)]['USERS_LEAVE'],'leaveEvent':_0x42d9fd['data'][_0xcfd012(0x18f)]};break;}case m[_0xcfd012(0x1eb)]['USERS_ENTER']:{_0x561099={'eventID':m['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x42d9fd[_0xcfd012(0x18f)][_0xcfd012(0x18f)]};break;}case m[_0xcfd012(0x1eb)]['LIVESHARE_NEW_HOST']:{_0x561099={'eventID':m[_0xcfd012(0x1eb)][_0xcfd012(0x346)],'liveShareNewHost':_0x42d9fd[_0xcfd012(0x18f)][_0xcfd012(0x18f)]};break;}case m[_0xcfd012(0x1eb)]['LIVESHARE_OPERATION']:{_0x561099={'eventID':m[_0xcfd012(0x1eb)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x42d9fd[_0xcfd012(0x18f)][_0xcfd012(0x18f)]};break;}case m[_0xcfd012(0x1eb)][_0xcfd012(0x15a)]:{_0x561099={'eventID':m[_0xcfd012(0x1eb)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x42d9fd['data']['data']};break;}case m[_0xcfd012(0x1eb)]['LIVESHARE_REQUEST_HOST']:{_0x561099={'eventID':m[_0xcfd012(0x1eb)][_0xcfd012(0x47d)],'liveShareRequestHost':_0x42d9fd['data'][_0xcfd012(0x18f)]};break;}case m[_0xcfd012(0x1eb)][_0xcfd012(0x278)]:{_0x561099={'eventID':m[_0xcfd012(0x1eb)][_0xcfd012(0x278)]};break;}default:_0x561099={'eventID':_0x42d9fd[_0xcfd012(0x18f)][_0xcfd012(0x361)]};}return JSON[_0xcfd012(0x44b)]({'cmd':_0x42d9fd[_0xcfd012(0x1cf)],'routeKey':_0x42d9fd[_0xcfd012(0x12c)],'collaMsg':_0x561099});}case G[_0xcfd012(0x46d)]:return JSON[_0xcfd012(0x44b)]({'cmd':_0x42d9fd[_0xcfd012(0x1cf)],'routeKey':_0x42d9fd[_0xcfd012(0x12c)],'joinReq':_0x42d9fd[_0xcfd012(0x18f)]});case G[_0xcfd012(0x313)]:return JSON[_0xcfd012(0x44b)]({'cmd':_0x42d9fd[_0xcfd012(0x1cf)],'routeKey':_0x42d9fd[_0xcfd012(0x12c)],'leaveReq':_0x42d9fd['data']});default:throw new Error(_0xcfd012(0x133));}}var Zt=Object['defineProperty'],Qt=Object[_0x5a0058(0x2ca)],en=(_0x1645ef,_0x4e1638,_0x3c42e1,_0x16af7b)=>{var _0x59a35a=_0x5a0058;for(var _0x2dd9da=_0x16af7b>0x1?void 0x0:_0x16af7b?Qt(_0x4e1638,_0x3c42e1):_0x4e1638,_0x5bf928=_0x1645ef[_0x59a35a(0x455)]-0x1,_0x2e10ce;_0x5bf928>=0x0;_0x5bf928--)(_0x2e10ce=_0x1645ef[_0x5bf928])&&(_0x2dd9da=(_0x16af7b?_0x2e10ce(_0x4e1638,_0x3c42e1,_0x2dd9da):_0x2e10ce(_0x2dd9da))||_0x2dd9da);return _0x16af7b&&_0x2dd9da&&Zt(_0x4e1638,_0x3c42e1,_0x2dd9da),_0x2dd9da;},ue=(_0x4b704c,_0xbbf821)=>(_0x1177ec,_0x294b73)=>_0xbbf821(_0x1177ec,_0x294b73,_0x4b704c);const ke=a[_0x5a0058(0x142)](_0x5a0058(0x2ab));function tn(_0x60c0a1,_0x5dca46,_0x482492){var _0x1889cb=_0x5a0058;return _0x60c0a1+'/'+_0x5dca46+'/unit/'+_0x482492+_0x1889cb(0x412);}exports[_0x5a0058(0x281)]=class extends a[_0x5a0058(0x36b)]{constructor(_0x6b6766,_0x1dc12d,_0xce582d,_0x312069,_0x5f0271){var _0x16b9a4=_0x5a0058;super(),this[_0x16b9a4(0x1d1)]=_0x6b6766,this[_0x16b9a4(0x430)]=_0x1dc12d,this[_0x16b9a4(0x135)]=_0xce582d,this[_0x16b9a4(0x18c)]=_0x312069,this[_0x16b9a4(0x41f)]=_0x5f0271;}[_0x5a0058(0x355)](_0x5ecafc){var _0x21e367=_0x5a0058;const _0xf1797b=this[_0x21e367(0x1d1)]['get'](q[_0x21e367(0x385)]);if(!_0xf1797b)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0xe2654a=_0xf1797b['createSocket'](_0x5ecafc);if(!_0xe2654a)throw new Error(_0x21e367(0x270));const _0xa42ce5=new a[(_0x21e367(0x197))](),_0x573776=new H[(_0x21e367(0x337))]();_0xa42ce5[_0x21e367(0x2f9)](_0xe2654a[_0x21e367(0x15e)][_0x21e367(0x426)](_0x84c67f=>_0x573776[_0x21e367(0x39b)](_0x84c67f))),_0xa42ce5[_0x21e367(0x2f9)](a[_0x21e367(0x375)](()=>_0x573776[_0x21e367(0x36d)]()));const _0x40cd02=new H['Subject']();_0xa42ce5[_0x21e367(0x2f9)](_0xe2654a[_0x21e367(0x222)][_0x21e367(0x426)](_0x3ac143=>_0x40cd02[_0x21e367(0x39b)](_0x3ac143))),_0xa42ce5[_0x21e367(0x2f9)](a[_0x21e367(0x375)](()=>_0x40cd02[_0x21e367(0x36d)]()));const _0x32b6b7=new H['Subject']();_0xa42ce5[_0x21e367(0x2f9)](_0xe2654a['message$'][_0x21e367(0x426)](_0x49b13b=>{var _0x47a1e8=_0x21e367;const _0x476cb4=Ot(_0x49b13b);_0x32b6b7[_0x47a1e8(0x39b)](_0x476cb4);})),_0xa42ce5[_0x21e367(0x2f9)](a['toDisposable'](()=>_0x32b6b7[_0x21e367(0x36d)]()));let _0x5041b3;const _0x1fba9e=()=>{var _0x447d68=_0x21e367;_0x40cd02[_0x447d68(0x39b)](new Event(_0x447d68(0x3bf))),_0x573776['next'](new CloseEvent(_0x447d68(0x3bf))),_0x5041b3[_0x447d68(0x2e5)]();};return _0x5041b3={'memberID':'','close$':_0x573776[_0x21e367(0x273)](),'error$':_0x40cd02[_0x21e367(0x273)](),'open$':_0xe2654a[_0x21e367(0x2fe)],'message$':_0x32b6b7['asObservable'](),'send':_0x1ace23=>{var _0x540995=_0x21e367;if(_0x1ace23[_0x540995(0x1cf)]===G[_0x540995(0x38a)]){if(_0x1ace23[_0x540995(0x18f)][_0x540995(0x361)]===m[_0x540995(0x1eb)]['SUBMIT_CHANGESET']){this[_0x540995(0x2c9)](_0x5041b3,_0x1ace23[_0x540995(0x18f)])[_0x540995(0x34c)](_0x6f9758=>{var _0x1f6000=_0x540995;this['_logService'][_0x1f6000(0x3b6)](_0x6f9758),_0x1fba9e();});return;}if(_0x1ace23[_0x540995(0x18f)][_0x540995(0x361)]===m[_0x540995(0x1eb)][_0x540995(0x434)]){const _0x52568d=_0x1ace23[_0x540995(0x18f)];this[_0x540995(0x3eb)](_0x52568d)[_0x540995(0x2fa)](_0x53cb02=>{var _0x11f762=_0x540995;_0x32b6b7[_0x11f762(0x39b)]({'cmd':G[_0x11f762(0x3be)],'code':he['OK'],'routeKey':_0x52568d[_0x11f762(0x18f)][_0x11f762(0x1e0)],'routeType':'','data':{'eventID':m['CollaborationEvent'][_0x11f762(0x20d)],'data':{'changesets':_0x53cb02}}});})[_0x540995(0x34c)](_0x349c29=>{var _0x381a33=_0x540995;this[_0x381a33(0x18c)]['error'](_0x349c29),_0x1fba9e();});return;}}_0xe2654a[_0x540995(0x351)](yt(_0x1ace23));},'close':()=>{var _0x4c5b1e=_0x21e367;_0xe2654a[_0x4c5b1e(0x2e5)](),_0xa42ce5[_0x4c5b1e(0x441)]();}},_0x5041b3;}async['_submitChangeset'](_0x52669a,_0x4c8fed){var _0x16a407=_0x5a0058,_0x1e2cff,_0x4d3cce;const {unitType:_0x5e0740,unitID:_0x54b91c,changeset:_0x416715}=_0x4c8fed[_0x16a407(0x18f)],_0x332ce8={'unitID':_0x54b91c,'memberID':_0x52669a[_0x16a407(0x37f)],'type':_0x5e0740,'changeset':m[_0x16a407(0x112)](_0x416715)},_0x28d5a6=this['_configService'][_0x16a407(0x32f)](Et),_0x1d26de=this['_configService']['getConfig'](Y),_0xa787bd=tn((_0x4d3cce=(_0x1e2cff=_0x1d26de==null?void 0x0:_0x1d26de[_0x16a407(0x408)])!=null?_0x1e2cff:_0x28d5a6)!=null?_0x4d3cce:qt,_0x5e0740,_0x54b91c);try{await this[_0x16a407(0x430)]['post'](_0xa787bd,{'body':_0x332ce8});}catch(_0x249e67){throw this[_0x16a407(0x18c)][_0x16a407(0x3b6)](_0x16a407(0x447),_0x16a407(0x26d)),_0x249e67;}}async['_fetchMissChangesets'](_0x1bc200){var _0x37a7b5=_0x5a0058;const {unitID:_0x5b8b9a,from:_0xd3bc1b,to:_0x3acbca,unitType:_0x190614}=_0x1bc200[_0x37a7b5(0x18f)];return(await this[_0x37a7b5(0x41f)][_0x37a7b5(0x44e)]({'metadata':void 0x0},{'unitID':_0x5b8b9a,'type':_0x190614,'from':_0xd3bc1b,'to':_0x3acbca}))[_0x37a7b5(0x41c)];}},exports[_0x5a0058(0x281)]=en([ue(0x0,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x303)])),ue(0x1,a[_0x5a0058(0x3ca)](q[_0x5a0058(0x3c2)])),ue(0x2,a[_0x5a0058(0x43f)]),ue(0x3,a[_0x5a0058(0x3f4)]),ue(0x4,m[_0x5a0058(0x140)])],exports[_0x5a0058(0x281)]);const nn=_0x5a0058(0x14e);function rn(_0x45791e){return JSON['stringify'](_0x45791e)['length'];}class Be{constructor(){var _0x515c59=_0x5a0058;D(this,'_commentUpdate$',new H[(_0x515c59(0x337))]()),D(this,_0x515c59(0x47f),this[_0x515c59(0x1a0)]['asObservable']());}[_0x5a0058(0x40b)](_0x10bba){this['_commentUpdate$']['next'](_0x10bba);}}var sn=Object[_0x5a0058(0x141)],on=Object[_0x5a0058(0x2ca)],an=(_0x2eaa41,_0x4030be,_0x269c09,_0x444906)=>{for(var _0x477f73=_0x444906>0x1?void 0x0:_0x444906?on(_0x4030be,_0x269c09):_0x4030be,_0x2e5ced=_0x2eaa41['length']-0x1,_0x48e825;_0x2e5ced>=0x0;_0x2e5ced--)(_0x48e825=_0x2eaa41[_0x2e5ced])&&(_0x477f73=(_0x444906?_0x48e825(_0x4030be,_0x269c09,_0x477f73):_0x48e825(_0x477f73))||_0x477f73);return _0x444906&&_0x477f73&&sn(_0x4030be,_0x269c09,_0x477f73),_0x477f73;},Ye=(_0x597f26,_0x3d41d9)=>(_0x57fab6,_0x82285c)=>_0x3d41d9(_0x57fab6,_0x82285c,_0x597f26);exports[_0x5a0058(0x2b3)]=class extends a['Disposable']{constructor(_0x4d3e0f,_0x32780e){var _0x4d9b8a=_0x5a0058;super(),D(this,_0x4d9b8a(0x382),new Map()),D(this,_0x4d9b8a(0x329),new H['Subject']()),(this[_0x4d9b8a(0x34e)]=_0x4d3e0f,this[_0x4d9b8a(0x2a5)]=_0x32780e,this[_0x4d9b8a(0x343)](H[_0x4d9b8a(0x2d5)](this[_0x4d9b8a(0x34e)]['getTypeOfUnitDisposed$'](a[_0x4d9b8a(0x1c0)]['UNIVER_SHEET'])['pipe'](W[_0x4d9b8a(0x460)](_0x18530d=>_0x18530d[_0x4d9b8a(0x2b6)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x4d9b8a(0x286)])[_0x4d9b8a(0x48a)](W[_0x4d9b8a(0x460)](_0x165d2f=>_0x165d2f[_0x4d9b8a(0x2b6)]())),this[_0x4d9b8a(0x34e)][_0x4d9b8a(0x125)](a[_0x4d9b8a(0x1c0)][_0x4d9b8a(0x16f)])[_0x4d9b8a(0x48a)](W[_0x4d9b8a(0x460)](_0x57db62=>_0x57db62[_0x4d9b8a(0x2b6)]())))['subscribe'](_0x17b2fd=>this[_0x4d9b8a(0x2b7)](_0x17b2fd))));}[_0x5a0058(0x211)](_0x49c5b3){var _0x244022=_0x5a0058;return this['_roomMembers']['has'](_0x49c5b3)?H['of'](this[_0x244022(0x382)][_0x244022(0x1c4)](_0x49c5b3)):this[_0x244022(0x329)][_0x244022(0x48a)](W['map'](_0x46e4e7=>{var _0xfc0817=_0x244022;if(_0x46e4e7===_0x49c5b3)return this['_roomMembers'][_0xfc0817(0x1c4)](_0x46e4e7);}));}[_0x5a0058(0x2d3)](_0x109d9a){var _0x2058eb=_0x5a0058;this[_0x2058eb(0x2a5)][_0x2058eb(0x2d3)](_0x109d9a);}['getCurrentUser'](){var _0xef410c=_0x5a0058;return this[_0xef410c(0x2a5)][_0xef410c(0x341)]();}[_0x5a0058(0x218)](_0x489ad5,_0x4d31ef){var _0x43c5d0=_0x5a0058;let _0x39eca9=this[_0x43c5d0(0x382)][_0x43c5d0(0x1c4)](_0x489ad5);_0x39eca9||(_0x39eca9=new cn(),this[_0x43c5d0(0x382)][_0x43c5d0(0x3e0)](_0x489ad5,_0x39eca9),this[_0x43c5d0(0x329)]['next'](_0x489ad5)),_0x39eca9[_0x43c5d0(0x218)](_0x4d31ef);}[_0x5a0058(0x1d7)](_0xe77b13,_0x1bc364){var _0x57cbb0=_0x5a0058;const _0x45b502=this[_0x57cbb0(0x382)]['get'](_0xe77b13);_0x45b502&&_0x45b502[_0x57cbb0(0x1d7)](_0x1bc364);}['getRoom'](_0xda40c5){var _0x3fb0d9=_0x5a0058;return this[_0x3fb0d9(0x382)][_0x3fb0d9(0x1c4)](_0xda40c5);}[_0x5a0058(0x463)](_0x3a534c,_0x5ab8b2){var _0x18a42d=_0x5a0058;const _0x10b559=this[_0x18a42d(0x382)]['get'](_0x3a534c);if(_0x10b559)return _0x10b559[_0x18a42d(0x463)](_0x5ab8b2);}['_removeRoom'](_0x200d3d){var _0x5a9591=_0x5a0058;const _0x2ae30a=this[_0x5a9591(0x382)][_0x5a9591(0x1c4)](_0x200d3d);_0x2ae30a&&(_0x2ae30a[_0x5a9591(0x441)](),this[_0x5a9591(0x382)]['delete'](_0x200d3d));}[_0x5a0058(0x441)](){var _0x278ee9=_0x5a0058;this['_roomMembers']['forEach'](_0x41a370=>_0x41a370[_0x278ee9(0x441)]()),this[_0x278ee9(0x382)]['clear'](),this['_roomCreated$'][_0x278ee9(0x36d)]();}},exports[_0x5a0058(0x2b3)]=an([Ye(0x0,a[_0x5a0058(0x185)]),Ye(0x1,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x475)]))],exports[_0x5a0058(0x2b3)]);class cn extends a['Disposable']{constructor(){var _0x14273f=_0x5a0058;super(...arguments),D(this,_0x14273f(0x26b),new Map()),D(this,_0x14273f(0x157),new H['BehaviorSubject'](this[_0x14273f(0x26b)])),D(this,_0x14273f(0x42d),this[_0x14273f(0x157)][_0x14273f(0x273)]());}[_0x5a0058(0x441)](){var _0x505fd6=_0x5a0058;this[_0x505fd6(0x26b)][_0x505fd6(0x32c)]();}[_0x5a0058(0x218)](_0x118f9f){var _0x2e80d5=_0x5a0058;this['_members'][_0x2e80d5(0x3e0)](_0x118f9f[_0x2e80d5(0x37f)],_0x118f9f),this[_0x2e80d5(0x21d)]();}[_0x5a0058(0x1d7)](_0x942833){var _0x425733=_0x5a0058;this[_0x425733(0x26b)][_0x425733(0x438)](_0x942833);}[_0x5a0058(0x463)](_0x3daad6){var _0x4bc22e=_0x5a0058;return this[_0x4bc22e(0x26b)][_0x4bc22e(0x1c4)](_0x3daad6);}['getAllMembers'](){var _0x520581=_0x5a0058;return Array['from'](this[_0x520581(0x26b)][_0x520581(0x1b1)]());}['_emitMembers'](){var _0x551fc8=_0x5a0058;this['_members$'][_0x551fc8(0x39b)](this[_0x551fc8(0x26b)]);}}var hn=Object[_0x5a0058(0x141)],ln=Object[_0x5a0058(0x2ca)],_n=(_0x3bc489,_0x113489,_0x4fe0ae,_0x3dcde0)=>{for(var _0x148af3=_0x3dcde0>0x1?void 0x0:_0x3dcde0?ln(_0x113489,_0x4fe0ae):_0x113489,_0x10395c=_0x3bc489['length']-0x1,_0x3cf986;_0x10395c>=0x0;_0x10395c--)(_0x3cf986=_0x3bc489[_0x10395c])&&(_0x148af3=(_0x3dcde0?_0x3cf986(_0x113489,_0x4fe0ae,_0x148af3):_0x3cf986(_0x148af3))||_0x148af3);return _0x3dcde0&&_0x148af3&&hn(_0x113489,_0x4fe0ae,_0x148af3),_0x148af3;},oe=(_0x4f0d14,_0x22aefe)=>(_0x13376e,_0x3a682d)=>_0x22aefe(_0x13376e,_0x3a682d,_0x4f0d14),se=(_0x4ec885=>(_0x4ec885[_0x4ec885[_0x5a0058(0x31f)]=0x0]=_0x5a0058(0x31f),_0x4ec885[_0x4ec885[_0x5a0058(0x231)]=0x1]=_0x5a0058(0x231),_0x4ec885[_0x4ec885[_0x5a0058(0x2ce)]=0x2]=_0x5a0058(0x2ce),_0x4ec885[_0x4ec885[_0x5a0058(0x151)]=0x3]=_0x5a0058(0x151),_0x4ec885))(se||{});const qe={[he[_0x5a0058(0x182)]]:_0x5a0058(0x347),[he[_0x5a0058(0x2f2)]]:_0x5a0058(0x283),[he[_0x5a0058(0x294)]]:'session.room-not-exists',[he[_0x5a0058(0x173)]]:_0x5a0058(0x302),[he[_0x5a0058(0x250)]]:_0x5a0058(0x2e7)};exports[_0x5a0058(0x1d5)]=class extends a[_0x5a0058(0x38b)]{constructor(_0x3ed1f0,_0x4ff5cc,_0x51cf9b,_0x2794bf,_0x2b2e2d,_0x3407e1,_0x59d2f6,_0x369eb6,_0x263ec9){var _0x17c3bf=_0x5a0058;super(),D(this,'_sessionStatus$',new H[(_0x17c3bf(0x24d))](0x0)),D(this,_0x17c3bf(0x2d4),this[_0x17c3bf(0x129)][_0x17c3bf(0x273)]()),D(this,_0x17c3bf(0x3ad),new H[(_0x17c3bf(0x337))]()),D(this,_0x17c3bf(0x1d9),this[_0x17c3bf(0x3ad)][_0x17c3bf(0x273)]()),D(this,_0x17c3bf(0x2e3)),D(this,_0x17c3bf(0x379)),D(this,_0x17c3bf(0x48d)),D(this,_0x17c3bf(0x427),!0x1),D(this,'_telemetryInfo',null),(this[_0x17c3bf(0x483)]=_0x3ed1f0,this['_logService']=_0x51cf9b,this[_0x17c3bf(0x135)]=_0x2794bf,this[_0x17c3bf(0x327)]=_0x2b2e2d,this['_memberService']=_0x3407e1,this[_0x17c3bf(0x1d3)]=_0x59d2f6,this['_collaborationUIEventService']=_0x369eb6,this[_0x17c3bf(0x301)]=_0x263ec9,this[_0x17c3bf(0x427)]=!!this[_0x17c3bf(0x301)],_0x4ff5cc[_0x17c3bf(0x48a)](H[_0x17c3bf(0x490)](this[_0x17c3bf(0x493)]))[_0x17c3bf(0x426)](_0x5662c6=>{var _0x50056f=_0x17c3bf,_0x2c3546;typeof _0x5662c6>'u'||(this['_socket']=_0x5662c6,_0x5662c6?(this[_0x50056f(0x3d7)](_0x5662c6),this[_0x50056f(0x379)]=_0x5662c6[_0x50056f(0x12a)][_0x50056f(0x426)](_0x254251=>{var _0x641a0d=_0x50056f;_0x254251['routeKey']===this[_0x641a0d(0x483)]&&this[_0x641a0d(0x40c)](_0x254251);})):(this[_0x50056f(0x15b)](),this[_0x50056f(0x129)]['next'](0x2),(_0x2c3546=this[_0x50056f(0x379)])==null||_0x2c3546[_0x50056f(0x439)](),this[_0x50056f(0x379)]=null));}));}get[_0x5a0058(0x3f3)](){var _0x59efbf=_0x5a0058;return this[_0x59efbf(0x129)][_0x59efbf(0x409)]();}[_0x5a0058(0x2b1)](){var _0x5a36b7=_0x5a0058,_0x31a47b,_0x2032b5;return(_0x2032b5=(_0x31a47b=this[_0x5a36b7(0x2e3)])==null?void 0x0:_0x31a47b['memberID'])!=null?_0x2032b5:null;}[_0x5a0058(0x441)](){var _0x500ec5=_0x5a0058;super[_0x500ec5(0x441)](),this[_0x500ec5(0x493)]['next'](),this['dispose$']['complete']();}[_0x5a0058(0x2e5)](){var _0x528bf8=_0x5a0058,_0x5b320c,_0x51e647;this[_0x528bf8(0x15b)](),(_0x5b320c=this[_0x528bf8(0x2e3)])==null||_0x5b320c[_0x528bf8(0x351)]({'cmd':G[_0x528bf8(0x313)],'data':{'roomID':this[_0x528bf8(0x483)]}}),(_0x51e647=this[_0x528bf8(0x2e3)])==null||_0x51e647[_0x528bf8(0x2e5)](),this['_event$'][_0x528bf8(0x36d)](),this[_0x528bf8(0x129)]['complete'](),this[_0x528bf8(0x441)]();}[_0x5a0058(0x40c)](_0x3c7072){var _0x4a7e96=_0x5a0058;_0x3c7072[_0x4a7e96(0x1cf)]===G[_0x4a7e96(0x46d)]?this['_onJoinRoomEvent'](_0x3c7072):_0x3c7072[_0x4a7e96(0x1cf)]===G[_0x4a7e96(0x3be)]&&this[_0x4a7e96(0x33b)](_0x3c7072);}[_0x5a0058(0x3d7)](_0x2420dc){var _0x17bcae=_0x5a0058;this[_0x17bcae(0x129)]['next'](0x1),_0x2420dc[_0x17bcae(0x351)]({'cmd':G[_0x17bcae(0x46d)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x17bcae(0x483)]}]}});}['_onJoinRoomEvent'](_0x194da8){var _0x4e9f68=_0x5a0058,_0x5a4a36;if(_0x194da8[_0x4e9f68(0x15d)]in qe){this[_0x4e9f68(0x1a8)]['emitEvent']({'id':Q[_0x4e9f68(0x1a4)],'data':qe[_0x194da8[_0x4e9f68(0x15d)]]}),this[_0x4e9f68(0x129)][_0x4e9f68(0x39b)](0x2);return;}this[_0x4e9f68(0x129)][_0x4e9f68(0x39b)](0x3);const _0x643f0e=(_0x5a4a36=_0x194da8[_0x4e9f68(0x18f)][_0x4e9f68(0x1d0)][this[_0x4e9f68(0x483)]])==null?void 0x0:_0x5a4a36['members'];_0x643f0e&&_0x643f0e[_0x4e9f68(0x20c)](_0x1f0e6e=>this['_memberService'][_0x4e9f68(0x218)](this[_0x4e9f68(0x483)],_0x1f0e6e));}[_0x5a0058(0x33b)](_0x22594c){var _0x18012e=_0x5a0058;try{const _0x58a8cc=_0x22594c[_0x18012e(0x18f)];switch(_0x58a8cc[_0x18012e(0x361)]){case m['CollaborationEvent'][_0x18012e(0x474)]:this[_0x18012e(0x3bc)](_0x58a8cc),this[_0x18012e(0x3ad)][_0x18012e(0x39b)](_0x58a8cc);break;case m[_0x18012e(0x1eb)][_0x18012e(0x27e)]:this['_onUserLeave'](_0x58a8cc),this[_0x18012e(0x3ad)][_0x18012e(0x39b)](_0x58a8cc);break;case m[_0x18012e(0x1eb)][_0x18012e(0x42f)]:case m[_0x18012e(0x1eb)][_0x18012e(0x2d8)]:this[_0x18012e(0x267)](),this[_0x18012e(0x33a)](),this[_0x18012e(0x3ad)][_0x18012e(0x39b)](_0x58a8cc);break;case m[_0x18012e(0x1eb)][_0x18012e(0x2ae)]:this[_0x18012e(0x18c)][_0x18012e(0x3b6)](_0x18012e(0x2d6)+JSON[_0x18012e(0x44b)](_0x58a8cc)),this[_0x18012e(0x3ad)]['next'](_0x58a8cc);break;case m[_0x18012e(0x1eb)][_0x18012e(0x395)]:this[_0x18012e(0x1d3)][_0x18012e(0x40b)](_0x58a8cc[_0x18012e(0x18f)]),this[_0x18012e(0x3ad)]['next'](_0x58a8cc);break;default:this[_0x18012e(0x3ad)][_0x18012e(0x39b)](_0x58a8cc);}}catch(_0x1217a3){this[_0x18012e(0x18c)]['error'](_0x1217a3,_0x22594c);}}['_onUserJoin'](_0xca552e){var _0x30868a=_0x5a0058;this[_0x30868a(0x330)][_0x30868a(0x218)](this['_unitID'],_0xca552e[_0x30868a(0x18f)]);}[_0x5a0058(0x464)](_0xf5c3f0){var _0x242733=_0x5a0058;this[_0x242733(0x330)]['removeMember'](this['_unitID'],_0xf5c3f0['data']['memberID']);}async[_0x5a0058(0x351)](_0x5b8bcc,_0x17b270){var _0x5a78ee=_0x5a0058;if(this[_0x5a78ee(0x3f3)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x5b8bcc[_0x5a78ee(0x361)]===m['CollaborationEvent'][_0x5a78ee(0x446)]&&(this[_0x5a78ee(0x1ff)](),this[_0x5a78ee(0x45c)](_0x5b8bcc)),this[_0x5a78ee(0x2e3)][_0x5a78ee(0x351)]({'cmd':G[_0x5a78ee(0x38a)],'routeKey':_0x17b270,'routeType':'','data':_0x5b8bcc});}catch(_0x625083){this['_logService']['error'](_0x625083);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3bf905=_0x5a0058,_0x3ff22d;this[_0x3bf905(0x48d)]=setTimeout(()=>{var _0x4c7efc=_0x3bf905;this[_0x4c7efc(0x48d)]=null,this['_collaborationUIEventService'][_0x4c7efc(0x492)]({'id':Q[_0x4c7efc(0x3bd)]});},(_0x3ff22d=this['_configService'][_0x3bf905(0x32f)](He))!=null?_0x3ff22d:gt);}[_0x5a0058(0x33a)](){var _0x33a2cd=_0x5a0058;this[_0x33a2cd(0x48d)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x33a2cd(0x48d)]=null);}[_0x5a0058(0x45c)](_0x238ffe){var _0x1a7701=_0x5a0058;if(!this[_0x1a7701(0x427)])return;const {data:_0x9ad0e9}=_0x238ffe,{unitID:_0x439a08,changeset:_0x4d6364}=_0x9ad0e9,{mutations:_0x16b791,type:_0xa8926a}=_0x4d6364;this['_telemetryInfo']={'unitId':_0x439a08,'type':_0xa8926a,'startTime':performance[_0x1a7701(0x37c)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x16b791)};}[_0x5a0058(0x267)](){var _0x50e06f=_0x5a0058;if(this[_0x50e06f(0x427)]){if(!this[_0x50e06f(0x1e3)]){this[_0x50e06f(0x18c)][_0x50e06f(0x3b6)]('[CollaborationSession]',_0x50e06f(0x431));return;}this[_0x50e06f(0x1e3)][_0x50e06f(0x271)]=performance[_0x50e06f(0x37c)](),this[_0x50e06f(0x1e3)]['duration']=this[_0x50e06f(0x1e3)][_0x50e06f(0x271)]-this[_0x50e06f(0x1e3)]['startTime'],this[_0x50e06f(0x301)]['capture'](nn,this[_0x50e06f(0x1e3)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x5a0058(0x1d5)]=_n([oe(0x2,a['ILogService']),oe(0x3,a[_0x5a0058(0x43f)]),oe(0x4,a[_0x5a0058(0x3ca)](a['LocaleService'])),oe(0x5,a['Inject'](exports[_0x5a0058(0x2b3)])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x5a0058(0x3ca)](te)),oe(0x8,a['Optional'](jt[_0x5a0058(0x223)]))],exports[_0x5a0058(0x1d5)]);var un=Object[_0x5a0058(0x141)],dn=Object[_0x5a0058(0x2ca)],vn=(_0x3bbefc,_0x4c38f3,_0xb73951,_0x4152fe)=>{var _0x3d1422=_0x5a0058;for(var _0x11e8f3=_0x4152fe>0x1?void 0x0:_0x4152fe?dn(_0x4c38f3,_0xb73951):_0x4c38f3,_0x29b4ef=_0x3bbefc[_0x3d1422(0x455)]-0x1,_0x215bb7;_0x29b4ef>=0x0;_0x29b4ef--)(_0x215bb7=_0x3bbefc[_0x29b4ef])&&(_0x11e8f3=(_0x4152fe?_0x215bb7(_0x4c38f3,_0xb73951,_0x11e8f3):_0x215bb7(_0x11e8f3))||_0x11e8f3);return _0x4152fe&&_0x11e8f3&&un(_0x4c38f3,_0xb73951,_0x11e8f3),_0x11e8f3;},ae=(_0x2d5668,_0x1f9dc4)=>(_0x34a568,_0x14eea4)=>_0x1f9dc4(_0x34a568,_0x14eea4,_0x2d5668);exports[_0x5a0058(0x147)]=class extends a[_0x5a0058(0x36b)]{constructor(_0x11653b,_0x4695d9,_0x41edca,_0x271190,_0x28cc70,_0x2ddaac,_0x3fa753){var _0x2f45a4=_0x5a0058;super(),D(this,'_socket$',new H[(_0x2f45a4(0x24d))](void 0x0)),D(this,'socket$',this[_0x2f45a4(0x380)][_0x2f45a4(0x273)]()),D(this,_0x2f45a4(0x418),null),D(this,'_sessions',new Map()),D(this,_0x2f45a4(0x143),new H[(_0x2f45a4(0x24d))](se[_0x2f45a4(0x31f)])),D(this,_0x2f45a4(0x117),this[_0x2f45a4(0x143)][_0x2f45a4(0x273)]()),D(this,_0x2f45a4(0x23c),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x2f45a4(0x234),0x0),D(this,_0x2f45a4(0x160)),D(this,_0x2f45a4(0x46c)),(this[_0x2f45a4(0x1d1)]=_0x11653b,this[_0x2f45a4(0x18c)]=_0x4695d9,this[_0x2f45a4(0x135)]=_0x41edca,this[_0x2f45a4(0x235)]=_0x271190,this[_0x2f45a4(0x36f)]=_0x28cc70,this['_collaborationUIEventService']=_0x2ddaac,this['_networkConditionService']=_0x3fa753,this[_0x2f45a4(0x179)]());}get[_0x5a0058(0x2e3)](){var _0x188b7c=_0x5a0058;return this[_0x188b7c(0x380)]['getValue']();}[_0x5a0058(0x179)](){var _0x52f3e0=_0x5a0058;this[_0x52f3e0(0x208)]&&this[_0x52f3e0(0x343)](this[_0x52f3e0(0x208)]['online$'][_0x52f3e0(0x426)](_0x3004e6=>{var _0x512bf1=_0x52f3e0;_0x3004e6&&!this['_socket']&&this[_0x512bf1(0x15c)](),_0x3004e6||this[_0x512bf1(0x1be)]();}));}[_0x5a0058(0x441)](){var _0x581dff=_0x5a0058;super[_0x581dff(0x441)](),this['_sessions']['forEach'](_0x3b3e78=>_0x3b3e78['dispose']()),this[_0x581dff(0x419)]['clear'](),this[_0x581dff(0x143)][_0x581dff(0x36d)]();}async[_0x5a0058(0x266)](_0x582012){var _0x1829ce=_0x5a0058;if(this['_sessions']['has'](_0x582012))return this[_0x1829ce(0x419)]['get'](_0x582012);this['_tryEnsureSocket']();const _0x33b075=this[_0x1829ce(0x1d1)][_0x1829ce(0x224)](exports['CollaborationSession'],_0x582012,this[_0x1829ce(0x380)][_0x1829ce(0x273)]());return this['_sessions'][_0x1829ce(0x3e0)](_0x582012,_0x33b075),_0x33b075;}['closeSession'](_0xbea0e4){var _0x19fb70=_0x5a0058,_0x14a50f;const _0x3b091e=this['_sessions'][_0x19fb70(0x1c4)](_0xbea0e4);_0x3b091e&&(this[_0x19fb70(0x419)][_0x19fb70(0x438)](_0xbea0e4),_0x3b091e['close']()),this[_0x19fb70(0x419)][_0x19fb70(0x22b)]||(_0x14a50f=this['_socket'])==null||_0x14a50f[_0x19fb70(0x2e5)]();}[_0x5a0058(0x15c)](){var _0x5ec065=_0x5a0058;this[_0x5ec065(0x234)]=0x0,this[_0x5ec065(0x192)]!=null&&(clearTimeout(this[_0x5ec065(0x192)]),this['_retryConnectingTimer']=null),this[_0x5ec065(0x1e4)]();}async['_getSessionTicket'](){var _0x2818db=_0x5a0058,_0xc3ac97,_0x5f2a99,_0x20e6b5;const _0x2dde4c=this[_0x2818db(0x135)][_0x2818db(0x32f)](Y),_0x205587=(_0xc3ac97=_0x2dde4c==null?void 0x0:_0x2dde4c[_0x2818db(0x209)])!=null?_0xc3ac97:Ft;return(_0x20e6b5=(_0x5f2a99=(await this[_0x2818db(0x36f)][_0x2818db(0x1c4)](_0x205587,{'headers':{'Content-Type':'application/json'}}))[_0x2818db(0x24f)])==null?void 0x0:_0x5f2a99[_0x2818db(0x169)])!=null?_0x20e6b5:'';}['_createSocketURL'](_0x18813d){var _0x4e0530=_0x5a0058,_0x111eaa,_0x454bc3;const _0x15e361=this[_0x4e0530(0x135)][_0x4e0530(0x32f)](St),_0x53d053=this[_0x4e0530(0x135)][_0x4e0530(0x32f)](Y),_0x2bc0db=(_0x454bc3=(_0x111eaa=_0x53d053==null?void 0x0:_0x53d053[_0x4e0530(0x2a6)])!=null?_0x111eaa:_0x15e361)!=null?_0x454bc3:pt,_0x56f188=typeof window>'u'?new URL(_0x2bc0db):new URL(_0x2bc0db,window[_0x4e0530(0x126)][_0x4e0530(0x131)]);_0x56f188['searchParams'][_0x4e0530(0x3e0)](_0x4e0530(0x416),_0x18813d);const _0x1799f9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4e0530(0x11c)]);return _0x1799f9['get'](_0x4e0530(0x2e9))&&_0x56f188[_0x4e0530(0x3ed)][_0x4e0530(0x3e0)](_0x4e0530(0x2e9),_0x1799f9['get'](_0x4e0530(0x2e9))),_0x56f188['toString']();}async['_createSocket'](){var _0x422780=_0x5a0058;const _0x57fd6b=await this[_0x422780(0x471)](),_0x2d99ec=this[_0x422780(0x196)](_0x57fd6b),_0x4eb0cf=this[_0x422780(0x235)][_0x422780(0x355)](_0x2d99ec);return this[_0x422780(0x418)]=_0x4eb0cf,_0x4eb0cf;}async['_tryEnsureSocket'](){var _0x2428d0=_0x5a0058,_0x1eec10,_0x33f1af;try{const _0x44be2b=(_0x33f1af=(_0x1eec10=this['_socket'])!=null?_0x1eec10:this['_candidateSocket'])!=null?_0x33f1af:await this[_0x2428d0(0x30d)]();if(_0x44be2b){const _0x3d3117=_0x44be2b[_0x2428d0(0x351)];_0x44be2b[_0x2428d0(0x351)]=_0x2b3e25=>(this['_rescheduleHeartbeat'](),_0x3d3117[_0x2428d0(0x435)](_0x44be2b,[_0x2b3e25])),_0x44be2b['message$'][_0x2428d0(0x426)](_0x12a84a=>this[_0x2428d0(0x422)](_0x44be2b,_0x12a84a)),_0x44be2b[_0x2428d0(0x222)]['pipe'](W['take'](0x1))[_0x2428d0(0x426)](_0x7b45a4=>this[_0x2428d0(0x18c)]['error'](_0x2428d0(0x2e8),_0x7b45a4)),_0x44be2b[_0x2428d0(0x2fe)][_0x2428d0(0x48a)](W[_0x2428d0(0x2c0)](0x1))[_0x2428d0(0x426)](()=>{var _0x4a4968=_0x2428d0;this[_0x4a4968(0x365)](_0x44be2b);}),_0x44be2b[_0x2428d0(0x15e)][_0x2428d0(0x48a)](W[_0x2428d0(0x2c0)](0x1))[_0x2428d0(0x426)](_0x577db4=>{var _0x39b9c9=_0x2428d0;this[_0x39b9c9(0x18c)]['debug']('[CollaborationSessionService]',_0x39b9c9(0x3fc),_0x577db4),this['_onConnectionFailed']();});}}catch(_0xfc7317){this[_0x2428d0(0x18c)][_0x2428d0(0x3b6)](_0xfc7317),this[_0x2428d0(0x1b5)]();}}['_onConnectionOpen'](_0x36a5ff){var _0x53657d=_0x5a0058;this[_0x53657d(0x18c)][_0x53657d(0x299)](_0x53657d(0x28d),_0x53657d(0x30e)),_0x36a5ff[_0x53657d(0x351)]({'cmd':G['HELLO']}),this[_0x53657d(0x21a)]();}[_0x5a0058(0x1be)](){var _0x468e4b=_0x5a0058;this['_socketReady']=!0x1,this[_0x468e4b(0x418)]=null,this['_status$'][_0x468e4b(0x39b)](se[_0x468e4b(0x2ce)]),this[_0x468e4b(0x380)]['next'](null),this[_0x468e4b(0x1de)](),this['_clearHeartbeatTimer']();}[_0x5a0058(0x1b5)](){var _0x5ba3aa=_0x5a0058,_0x187d73;this[_0x5ba3aa(0x1be)](),this[_0x5ba3aa(0x234)]<((_0x187d73=this[_0x5ba3aa(0x135)][_0x5ba3aa(0x32f)](It))!=null?_0x187d73:Vt)?(this[_0x5ba3aa(0x1a8)][_0x5ba3aa(0x492)]({'id':Q[_0x5ba3aa(0x25e)]}),this['_tryReconnect']()):this[_0x5ba3aa(0x1a8)][_0x5ba3aa(0x492)]({'id':Q[_0x5ba3aa(0x232)]});}['_tryReconnect'](){var _0x37ce66=_0x5a0058,_0x476447;const _0x45ad1e=this[_0x37ce66(0x234)],_0x4a6460=this['_configService'][_0x37ce66(0x32f)](Y),_0x36fadd=_0x45ad1e===0x0?0x0:((_0x476447=_0x4a6460==null?void 0x0:_0x4a6460[_0x37ce66(0x461)])!=null?_0x476447:Gt)*0x2**_0x45ad1e;this[_0x37ce66(0x192)]=setTimeout(()=>{var _0x5ab9bb=_0x37ce66;clearTimeout(this[_0x5ab9bb(0x192)]),this[_0x5ab9bb(0x192)]=null,this[_0x5ab9bb(0x3a7)]();},_0x36fadd),this['_retryCount']+=0x1;}[_0x5a0058(0x422)](_0x1488b4,_0x4dc6e3){var _0x19b018=_0x5a0058;const {cmd:_0x313ddb}=_0x4dc6e3;_0x313ddb===G[_0x19b018(0x48f)]&&!this['_socketReady']&&(_0x1488b4[_0x19b018(0x37f)]=_0x4dc6e3[_0x19b018(0x18f)]['memberID'],this['_socket$'][_0x19b018(0x39b)](_0x1488b4),this[_0x19b018(0x143)]['next'](se[_0x19b018(0x151)]),this[_0x19b018(0x23c)]=!0x0,this[_0x19b018(0x418)]=null),_0x313ddb===G[_0x19b018(0x225)]&&this['_clearTimeoutTimer'](),this[_0x19b018(0x21a)]();}['_rescheduleHeartbeat'](){var _0x4e48d0=_0x5a0058,_0x31cf95;this['_clearHeartbeatTimer'](),this[_0x4e48d0(0x160)]=setTimeout(()=>this[_0x4e48d0(0x336)](),(_0x31cf95=this[_0x4e48d0(0x135)]['getConfig'](mt))!=null?_0x31cf95:Wt);}[_0x5a0058(0x336)](){var _0x5c52a6=_0x5a0058;this[_0x5c52a6(0x2e3)][_0x5c52a6(0x351)]({'cmd':G[_0x5c52a6(0x225)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x2ff689=_0x5a0058,_0x52996d;this[_0x2ff689(0x46c)]=setTimeout(()=>this[_0x2ff689(0x1b5)](),(_0x52996d=this['_configService'][_0x2ff689(0x32f)](He))!=null?_0x52996d:gt);}[_0x5a0058(0x3fe)](){var _0x5452ff=_0x5a0058;this[_0x5452ff(0x160)]!=null&&(clearTimeout(this[_0x5452ff(0x160)]),this[_0x5452ff(0x160)]=null);}[_0x5a0058(0x1de)](){var _0x33734e=_0x5a0058;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x33734e(0x46c)]),this[_0x33734e(0x46c)]=null);}},exports[_0x5a0058(0x147)]=vn([ae(0x0,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x303)])),ae(0x1,a[_0x5a0058(0x3f4)]),ae(0x2,a['IConfigService']),ae(0x3,ke),ae(0x4,a[_0x5a0058(0x3ca)](q[_0x5a0058(0x3c2)])),ae(0x5,a['Inject'](te)),ae(0x6,a['Optional'](Rt))],exports[_0x5a0058(0x147)]);const V=[];for(let r=0x0;r<0x100;++r)V[_0x5a0058(0x28f)]((r+0x100)[_0x5a0058(0x32e)](0x10)['slice'](0x1));function fn(_0x475168,_0x368676=0x0){var _0x4c8ef1=_0x5a0058;return(V[_0x475168[_0x368676+0x0]]+V[_0x475168[_0x368676+0x1]]+V[_0x475168[_0x368676+0x2]]+V[_0x475168[_0x368676+0x3]]+'-'+V[_0x475168[_0x368676+0x4]]+V[_0x475168[_0x368676+0x5]]+'-'+V[_0x475168[_0x368676+0x6]]+V[_0x475168[_0x368676+0x7]]+'-'+V[_0x475168[_0x368676+0x8]]+V[_0x475168[_0x368676+0x9]]+'-'+V[_0x475168[_0x368676+0xa]]+V[_0x475168[_0x368676+0xb]]+V[_0x475168[_0x368676+0xc]]+V[_0x475168[_0x368676+0xd]]+V[_0x475168[_0x368676+0xe]]+V[_0x475168[_0x368676+0xf]])[_0x4c8ef1(0x34d)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0xd064ae=_0x5a0058;if(!Pe){if(typeof crypto>'u'||!crypto[_0xd064ae(0x35a)])throw new Error(_0xd064ae(0x264));Pe=crypto[_0xd064ae(0x35a)][_0xd064ae(0x1bf)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x5a0058(0x37b)]&&crypto['randomUUID'][_0x5a0058(0x1bf)](crypto),ze={'randomUUID':mn};function gn(_0x146aea,_0xc3461a,_0x2f7d28){var _0x2df08c=_0x5a0058,_0x2b3d70,_0x4880a7,_0x40eaa2;if(ze[_0x2df08c(0x37b)]&&!_0x146aea)return ze[_0x2df08c(0x37b)]();_0x146aea=_0x146aea||{};const _0x1d35b3=(_0x40eaa2=(_0x4880a7=_0x146aea[_0x2df08c(0x26e)])!=null?_0x4880a7:(_0x2b3d70=_0x146aea['rng'])==null?void 0x0:_0x2b3d70[_0x2df08c(0x3cf)](_0x146aea))!=null?_0x40eaa2:pn();if(_0x1d35b3[_0x2df08c(0x455)]<0x10)throw new Error(_0x2df08c(0x414));return _0x1d35b3[0x6]=_0x1d35b3[0x6]&0xf|0x40,_0x1d35b3[0x8]=_0x1d35b3[0x8]&0x3f|0x80,fn(_0x1d35b3);}const z=a[_0x5a0058(0x142)](_0x5a0058(0x113));function In(_0x26ca37){return'unit-cache-'+_0x26ca37;}var En=Object[_0x5a0058(0x141)],Cn=Object[_0x5a0058(0x2ca)],Tn=(_0x48f8eb,_0xff4ce0,_0x4b81be,_0x3ce88e)=>{var _0x4d0ac1=_0x5a0058;for(var _0x56765e=_0x3ce88e>0x1?void 0x0:_0x3ce88e?Cn(_0xff4ce0,_0x4b81be):_0xff4ce0,_0x81a270=_0x48f8eb[_0x4d0ac1(0x455)]-0x1,_0xff1734;_0x81a270>=0x0;_0x81a270--)(_0xff1734=_0x48f8eb[_0x81a270])&&(_0x56765e=(_0x3ce88e?_0xff1734(_0xff4ce0,_0x4b81be,_0x56765e):_0xff1734(_0x56765e))||_0x56765e);return _0x3ce88e&&_0x56765e&&En(_0xff4ce0,_0x4b81be,_0x56765e),_0x56765e;},De=(_0x5b7a17,_0x5cbfd4)=>(_0x3772fb,_0x2237fa)=>_0x5cbfd4(_0x3772fb,_0x2237fa,_0x5b7a17);function bn(_0x2ba20f){var _0x2ebd4d=_0x5a0058;const {unitID:_0x24f0a3,mutations:_0x192eb0}=_0x2ba20f;return{'unitId':_0x24f0a3,'subUnitId':_0x192eb0[0x0][_0x2ebd4d(0x17c)]['subUnitId']};}exports['SheetTransformSelectionsService']=class{constructor(_0x476fb2,_0x508c00,_0x227c22){var _0x7a7596=_0x5a0058;this[_0x7a7596(0x1d1)]=_0x476fb2,this[_0x7a7596(0x289)]=_0x508c00,this[_0x7a7596(0x3fa)]=_0x227c22;}['transformSelections'](_0x1e23fe){var _0x33b761=_0x5a0058,_0x4329b9,_0x505d7b,_0x3f8bfd,_0x1e81e7;const _0x2b0012=this[_0x33b761(0x1d1)][_0x33b761(0x1c4)](J[_0x33b761(0x3a3)]),{unitId:_0x57f0d6,subUnitId:_0x5807e5}=bn(_0x1e23fe),_0x107dc1=_0x2b0012==null?void 0x0:_0x2b0012['getWorkbookSelections'](_0x57f0d6)[_0x33b761(0x2ea)](),_0x551bef=(_0x505d7b=(_0x4329b9=this[_0x33b761(0x3fa)][_0x33b761(0x190)](_0x57f0d6))==null?void 0x0:_0x4329b9['getActiveSheet']())==null?void 0x0:_0x505d7b['getSheetId']();if(_0x107dc1['length']===0x0||!_0x57f0d6||!_0x5807e5)return;const _0x4176fd=[{'id':J[_0x33b761(0x466)]['id'],'params':{'unitId':_0x57f0d6,'subUnitId':_0x551bef,'selections':a[_0x33b761(0x156)][_0x33b761(0x285)](_0x107dc1)}}],_0x35f4e2=this[_0x33b761(0x289)]['transformMutationsWithChangeset'](_0x1e23fe,_0x4176fd);if(!m[_0x33b761(0x2ff)](_0x35f4e2))throw _0x35f4e2[_0x33b761(0x3b6)];const _0xcccf99=(_0x1e81e7=(_0x3f8bfd=_0x35f4e2[_0x33b761(0x14d)][0x0])==null?void 0x0:_0x3f8bfd['params'])==null?void 0x0:_0x1e81e7[_0x33b761(0x268)];if(Array[_0x33b761(0x23b)](_0xcccf99)&&_0xcccf99[_0x33b761(0x455)]){if(_0xcccf99[_0x33b761(0x455)]===_0x4176fd[0x0]['params'][_0x33b761(0x268)]['length']&&_0xcccf99[_0x33b761(0x263)]((_0x1ce190,_0x2e7d00)=>a['Rectangle']['equals'](_0x1ce190['range'],_0x4176fd[0x0]['params'][_0x33b761(0x268)][_0x2e7d00][_0x33b761(0x167)])))return;this[_0x33b761(0x1d1)][_0x33b761(0x1c4)](a[_0x33b761(0x488)])['executeCommand'](J[_0x33b761(0x466)]['id'],{'unitId':_0x57f0d6,'subUnitId':_0x551bef,'selections':_0xcccf99});}}},exports[_0x5a0058(0x2c7)]=Tn([De(0x0,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x303)])),De(0x1,m[_0x5a0058(0x386)]),De(0x2,a['IUniverInstanceService'])],exports[_0x5a0058(0x2c7)]);const ve=a[_0x5a0058(0x142)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x514763=>(_0x514763[_0x514763[_0x5a0058(0x444)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x514763[_0x514763[_0x5a0058(0x440)]=0x1]=_0x5a0058(0x440),_0x514763))(Fe||{});const Rn=new Set([J[_0x5a0058(0x46a)]['id']]);function Je(_0x18f019,_0x53272f,_0x4ed07f,_0x4deae1,_0x4d0338){var _0x431658=_0x5a0058,_0xd97f33,_0x4e7152,_0x37f422,_0x37ae05;const _0x273e4b=[];for(const _0xc62eda of _0x18f019)if(Rn['has'](_0xc62eda['id'])){if(_0x273e4b[_0x431658(0x455)]>0x0)break;_0x273e4b['push'](_0xc62eda);break;}else _0x273e4b[_0x431658(0x28f)](_0xc62eda);const _0xaafb51=(_0x4e7152=(_0xd97f33=_0x4d0338[_0x431658(0x341)]())==null?void 0x0:_0xd97f33[_0x431658(0x2d2)])!=null?_0x4e7152:_0x431658(0x1a2),_0x233f4a=(_0x37ae05=(_0x37f422=_0x4d0338['getCurrentUser']())==null?void 0x0:_0x37f422[_0x431658(0x37f)])!=null?_0x37ae05:_0x431658(0x1a2);return{'changeset':{'unitID':_0x53272f,'type':m['mapDocumentTypeToUniverType'](_0x4ed07f[_0x431658(0x3e2)](_0x53272f)),'baseRev':_0x4deae1[_0x431658(0x155)](_0x53272f),'revision':0x0,'userID':_0xaafb51,'memberID':_0x233f4a,'mutations':_0x273e4b},'pendingMutations':_0x18f019[_0x431658(0x132)](_0x273e4b['length'])};}function On(_0x2432b8,_0x12e1dc,_0x6f6dad,_0x3f8a8e,_0x2c71b7){var _0x4a30fb=_0x5a0058,_0x117390,_0x1b5dc0,_0xc078ac,_0x431c17;const _0x3f28c1=[_0x2432b8[_0x4a30fb(0x452)]((_0x6623be,_0x17e2e3)=>{var _0x31fcb0=_0x4a30fb,_0xa576cc;const {id:_0x6bdc07}=_0x6623be,{id:_0x1c2651,type:_0x43d39f}=_0x17e2e3,_0x13d497=(_0xa576cc=_0x6623be[_0x31fcb0(0x17c)])!=null?_0xa576cc:{'actions':null},_0x3c1999=_0x17e2e3['params'];if(_0x6bdc07&&_0x6bdc07!==_0x1c2651)throw new Error(_0x31fcb0(0x44d)+_0x6bdc07+_0x31fcb0(0x2d7)+_0x1c2651+'.');return{..._0x6623be,'id':_0x1c2651,'type':_0x43d39f,'params':{'unitId':_0x3c1999[_0x31fcb0(0x2cc)],'textRanges':_0x3c1999[_0x31fcb0(0x170)],'actions':a[_0x31fcb0(0x13d)][_0x31fcb0(0x3da)](_0x13d497['actions'],_0x3c1999['actions'])}};},{})],_0x5ac689=(_0x1b5dc0=(_0x117390=_0x2c71b7[_0x4a30fb(0x341)]())==null?void 0x0:_0x117390[_0x4a30fb(0x2d2)])!=null?_0x1b5dc0:_0x4a30fb(0x1a2),_0x135761=(_0x431c17=(_0xc078ac=_0x2c71b7[_0x4a30fb(0x341)]())==null?void 0x0:_0xc078ac['memberID'])!=null?_0x431c17:'unknown';return{'changeset':{'unitID':_0x12e1dc,'type':m['mapDocumentTypeToUniverType'](_0x6f6dad[_0x4a30fb(0x3e2)](_0x12e1dc)),'baseRev':_0x3f8a8e['getCurrentRevOfUnit'](_0x12e1dc),'revision':0x0,'userID':_0x5ac689,'memberID':_0x135761,'mutations':_0x3f28c1},'pendingMutations':[]};}function Nt(_0x599605,_0x2a0559){var _0x5c05f2=_0x5a0058;const _0x282453=new H[(_0x5c05f2(0x25d))](0x1);return setTimeout(()=>_0x282453[_0x5c05f2(0x39b)](_0x2a0559),_0x599605),_0x282453[_0x5c05f2(0x273)]()[_0x5c05f2(0x48a)](H[_0x5c05f2(0x2c0)](0x1));}const yn={'id':J[_0x5a0058(0x296)]['id'],'type':a['CommandType'][_0x5a0058(0x40f)],'params':{}};var Nn=Object[_0x5a0058(0x141)],Un=Object[_0x5a0058(0x2ca)],le=(_0x2db98c,_0x5e553d,_0x69f394,_0x2f02e3)=>{var _0x5e518b=_0x5a0058;for(var _0x24ea44=_0x2f02e3>0x1?void 0x0:_0x2f02e3?Un(_0x5e553d,_0x69f394):_0x5e553d,_0x1b66ae=_0x2db98c[_0x5e518b(0x455)]-0x1,_0x268f22;_0x1b66ae>=0x0;_0x1b66ae--)(_0x268f22=_0x2db98c[_0x1b66ae])&&(_0x24ea44=(_0x2f02e3?_0x268f22(_0x5e553d,_0x69f394,_0x24ea44):_0x268f22(_0x24ea44))||_0x24ea44);return _0x2f02e3&&_0x24ea44&&Nn(_0x5e553d,_0x69f394,_0x24ea44),_0x24ea44;},A=(_0x5d42b0,_0x583e52)=>(_0x365aba,_0x3c9d72)=>_0x583e52(_0x365aba,_0x3c9d72,_0x5d42b0),We=(_0x5b0806=>(_0x5b0806['NOT_COLLAB']=_0x5a0058(0x1c6),_0x5b0806[_0x5a0058(0x443)]=_0x5a0058(0x144),_0x5b0806[_0x5a0058(0x2bc)]=_0x5a0058(0x46b),_0x5b0806[_0x5a0058(0x1e6)]=_0x5a0058(0x3ee),_0x5b0806['AWAITING_WITH_PENDING']=_0x5a0058(0x397),_0x5b0806['FETCH_MISS']=_0x5a0058(0x1ac),_0x5b0806[_0x5a0058(0x1c8)]=_0x5a0058(0x3dd),_0x5b0806[_0x5a0058(0x2ce)]=_0x5a0058(0x230),_0x5b0806))(We||{});const Ut=0xea60;class _e{constructor(_0x7f747a,_0x3b2edc,_0x5cce67,_0x5a4358,_0x3fdeaf,_0x2dc8ec,_0x1be7ef,_0x3ca3f7,_0x332027){var _0x3bcf9b=_0x5a0058;D(this,_0x3bcf9b(0x436),null),D(this,'_pendingMutations',[]),(this[_0x3bcf9b(0x1e0)]=_0x7f747a,this[_0x3bcf9b(0x2b0)]=_0x3b2edc,this[_0x3bcf9b(0x15f)]=_0x3fdeaf,this['_commandService']=_0x2dc8ec,this[_0x3bcf9b(0x2cd)]=_0x1be7ef,this[_0x3bcf9b(0x1f8)]=_0x3ca3f7,this[_0x3bcf9b(0x315)]=_0x332027,this[_0x3bcf9b(0x436)]=_0x5cce67,this[_0x3bcf9b(0x41e)]=_0x5a4358);}[_0x5a0058(0x26c)](_0x44022f){var _0x5097a4=_0x5a0058;const _0x3509cd=this[_0x5097a4(0x1f8)][_0x5097a4(0x155)](this['unitID']);return _0x44022f[_0x5097a4(0x3a4)]>_0x3509cd+0x1?(this[_0x5097a4(0x15f)]['onMissingChangesets']({'from':_0x3509cd,'to':_0x44022f['revision']-0x1}),!0x0):!0x1;}[_0x5a0058(0x2b5)](_0x2447b7){var _0x2b123f=_0x5a0058;this[_0x2b123f(0x2cd)][_0x2b123f(0x358)](this['unitID'],_0x2447b7);}[_0x5a0058(0x401)](_0xe76469){var _0x3749fc=_0x5a0058,_0x432ba6,_0x40b611;(_0x40b611=(_0x432ba6=this['_handler'])[_0x3749fc(0x400)])==null||_0x40b611[_0x3749fc(0x3cf)](_0x432ba6,_0xe76469);}[_0x5a0058(0x148)](_0x5f4167){var _0x2eb010=_0x5a0058,_0x5dd7ed,_0x10cc07;return(_0x10cc07=(_0x5dd7ed=this['_handler'])[_0x2eb010(0x175)])==null?void 0x0:_0x10cc07['call'](_0x5dd7ed,_0x5f4167);}[_0x5a0058(0x159)](_0x50a707){var _0x1fe840=_0x5a0058,_0x20d262,_0x1f4e7d;return(_0x1f4e7d=(_0x20d262=this[_0x1fe840(0x15f)])['onTransformState'])==null?void 0x0:_0x1f4e7d[_0x1fe840(0x3cf)](_0x20d262,_0x50a707);}['_transformRemoteChangesetByIMECache'](_0x862e4c){var _0x17f2b8=_0x5a0058,_0x233c45,_0x27a50c,_0x1eefb1;return(_0x1eefb1=(_0x27a50c=(_0x233c45=this[_0x17f2b8(0x15f)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x27a50c[_0x17f2b8(0x3cf)](_0x233c45,_0x862e4c))!=null?_0x1eefb1:_0x862e4c;}[_0x5a0058(0x3f7)](_0x105042){var _0xa30eae=_0x5a0058,_0x328123,_0x28f1be,_0x171e27;return(_0x171e27=(_0x28f1be=(_0x328123=this[_0xa30eae(0x15f)])[_0xa30eae(0x1b0)])==null?void 0x0:_0x28f1be[_0xa30eae(0x3cf)](_0x328123,_0x105042))!=null?_0x171e27:_0x105042;}[_0x5a0058(0x2dd)](_0x1fa06f){var _0xf51cba=_0x5a0058,_0x29be7d,_0x1880ee;if(this[_0xf51cba(0x2b0)]===Z[_0xf51cba(0x286)]){const {unitID:_0x201501,mutations:_0x4c019b,memberID:_0xfbc4b6}=_0x1fa06f,_0x59445e=_0x4c019b[0x0][_0xf51cba(0x17c)][_0xf51cba(0x170)];Array[_0xf51cba(0x23b)](_0x59445e)&&_0x59445e[_0xf51cba(0x455)]>0x0&&((_0x1880ee=(_0x29be7d=this[_0xf51cba(0x15f)])['onSyncEditingCollabCursor'])==null||_0x1880ee[_0xf51cba(0x3cf)](_0x29be7d,{'unitID':_0x201501,'memberID':_0xfbc4b6,'textRanges':_0x59445e}));}}[_0x5a0058(0x3df)](){var _0x175fb0=_0x5a0058,_0x48212d;(_0x48212d=this[_0x175fb0(0x315)])==null||_0x48212d[_0x175fb0(0x38f)](this['unitID'],this[_0x175fb0(0x2b0)],this[_0x175fb0(0x436)],this['_pendingMutations']);}[_0x5a0058(0x3ec)](){var _0x49d5d3=_0x5a0058;return this[_0x49d5d3(0x1f8)][_0x49d5d3(0x155)](this['unitID']);}['_incrementRevisionNumber'](){var _0x4fd588=_0x5a0058;this[_0x4fd588(0x1f8)][_0x4fd588(0x2bd)](this[_0x4fd588(0x1e0)]);}['_executeRemoteChangeset'](_0x1a2660){var _0x47898b=_0x5a0058,_0x55a724;let _0x55e73b=this[_0x47898b(0x1f3)](_0x1a2660);_0x55e73b=this[_0x47898b(0x3f7)](_0x55e73b);const _0x53ce85=a['sequenceExecute'](_0x55e73b[_0x47898b(0x28b)],this[_0x47898b(0x119)],{'fromCollab':!0x0});if(!_0x53ce85[_0x47898b(0x2bf)])throw _0x53ce85['error']instanceof Error?_0x53ce85[_0x47898b(0x3b6)]:new Error((_0x55a724=_0x53ce85[_0x47898b(0x3b6)])!=null?_0x55a724:_0x47898b(0x47e));this[_0x47898b(0x148)](_0x55e73b),this[_0x47898b(0x159)](_0x55e73b),this[_0x47898b(0x2b5)](_0x1a2660),this[_0x47898b(0x401)](_0x55e73b),this[_0x47898b(0x2dd)](_0x55e73b),this[_0x47898b(0x13a)]();}}exports[_0x5a0058(0x2cf)]=class extends _e{constructor(_0x450c49,_0x383988,_0x39abb1,_0x44fa42,_0x55133c,_0x2dda81,_0x295c96,_0x11abb4,_0xf08444,_0x4b6d94){var _0x1d555f=_0x5a0058;super(_0x450c49,_0x383988,null,[],_0x39abb1,_0x295c96,_0x2dda81,_0x44fa42,_0x4b6d94),D(this,'status',_0x1d555f(0x144)),(this[_0x1d555f(0x1d1)]=_0x55133c,this[_0x1d555f(0x18c)]=_0x11abb4,this[_0x1d555f(0x289)]=_0xf08444,this[_0x1d555f(0x3af)]=_0x4b6d94);}[_0x5a0058(0x215)](_0x57e9dc){var _0x326ff0=_0x5a0058;const _0x11b2b4=this[_0x326ff0(0x1d1)][_0x326ff0(0x224)](exports[_0x326ff0(0x1a5)],this[_0x326ff0(0x1e0)],this[_0x326ff0(0x2b0)],[_0x57e9dc],this[_0x326ff0(0x15f)]);return _0x11b2b4[_0x326ff0(0x316)](),_0x11b2b4[_0x326ff0(0x3df)](),_0x11b2b4;}[_0x5a0058(0x33f)](_0x5a1609){var _0x156c35=_0x5a0058;if(this['_checkMissing'](_0x5a1609))return this['_injector'][_0x156c35(0x224)](exports[_0x156c35(0x423)],this['unitID'],this['type'],null,[],null,[_0x5a1609],this[_0x156c35(0x15f)]);try{const _0x33e39f=this['_transformService'][_0x156c35(0x186)](_0x5a1609,[yn]);if(m[_0x156c35(0x2ff)](_0x33e39f)){const {c1Prime:_0x262c60}=_0x33e39f;return this[_0x156c35(0x201)](_0x262c60),this;}throw _0x33e39f[_0x156c35(0x3b6)];}catch(_0x3827c7){return this['_logService'][_0x156c35(0x3b6)](_0x3827c7),this[_0x156c35(0x19e)](!0x1);}}[_0x5a0058(0x19e)](_0x5ccb27){var _0x3f5fc7=_0x5a0058;return this['_injector'][_0x3f5fc7(0x224)](exports[_0x3f5fc7(0x42b)],this[_0x3f5fc7(0x1e0)],this['type'],null,[],this[_0x3f5fc7(0x15f)],_0x5ccb27);}[_0x5a0058(0x2f7)](){var _0x5e858a=_0x5a0058;throw new Error(_0x5e858a(0x1aa));}[_0x5a0058(0x37a)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5a0058(0x410)](){return this;}[_0x5a0058(0x177)](){var _0x8eeb42=_0x5a0058;return this[_0x8eeb42(0x1d1)]['createInstance'](exports[_0x8eeb42(0x279)],this[_0x8eeb42(0x1e0)],this[_0x8eeb42(0x2b0)],null,[],this[_0x8eeb42(0x15f)]);}[_0x5a0058(0x3d9)](){return this;}[_0x5a0058(0x35c)](){var _0x24e0a1=_0x5a0058;throw new Error(_0x24e0a1(0x32b));}[_0x5a0058(0x1ab)](){var _0x2cfcbb=_0x5a0058;const _0x38aadd=this[_0x2cfcbb(0x1f8)]['getCurrentRevOfUnit'](this[_0x2cfcbb(0x1e0)]);return this[_0x2cfcbb(0x15f)]['onMissingChangesets']({'from':_0x38aadd,'to':0x0}),this[_0x2cfcbb(0x1d1)]['createInstance'](exports[_0x2cfcbb(0x423)],this[_0x2cfcbb(0x1e0)],this['type'],null,[],null,[],this[_0x2cfcbb(0x15f)]);}},exports['SyncedState']=le([A(0x3,a[_0x5a0058(0x3ca)](m[_0x5a0058(0x236)])),A(0x4,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x303)])),A(0x5,a[_0x5a0058(0x29b)]),A(0x6,a[_0x5a0058(0x488)]),A(0x7,a[_0x5a0058(0x3f4)]),A(0x8,m['ITransformService']),A(0x9,a[_0x5a0058(0x368)](z))],exports[_0x5a0058(0x2cf)]),exports['PendingState']=class extends _e{constructor(_0x282c52,_0x399d49,_0x5d9efc,_0x79342c,_0x5cf920,_0x373cee,_0x37e26d,_0x487e41,_0x57a238,_0x3c275f,_0x8025de,_0x428b0b,_0x57b24e,_0x35695a){var _0x99626e=_0x5a0058;super(_0x282c52,_0x399d49,null,_0x5d9efc,_0x79342c,_0x57a238,_0x57b24e,_0x373cee,_0x35695a),D(this,'status',_0x99626e(0x46b)),D(this,_0x99626e(0x383),null),D(this,_0x99626e(0x2e1),null),(this[_0x99626e(0x1d1)]=_0x5cf920,this[_0x99626e(0x330)]=_0x37e26d,this['_logService']=_0x487e41,this[_0x99626e(0x135)]=_0x3c275f,this[_0x99626e(0x289)]=_0x8025de,this[_0x99626e(0x34e)]=_0x428b0b);}[_0x5a0058(0x215)](_0x5c4215){var _0x504c0b=_0x5a0058;return this[_0x504c0b(0x41e)]['push'](_0x5c4215),this[_0x504c0b(0x3df)](),this;}[_0x5a0058(0x33f)](_0x28e74e){var _0x14bcc3=_0x5a0058;if(this['_checkMissing'](_0x28e74e))return this[_0x14bcc3(0x164)](),this[_0x14bcc3(0x1d1)]['createInstance'](exports[_0x14bcc3(0x423)],this[_0x14bcc3(0x1e0)],this['type'],null,this[_0x14bcc3(0x41e)],null,[_0x28e74e],this['_handler']);try{const _0x2b3252=this['_transformService'][_0x14bcc3(0x186)](_0x28e74e,this[_0x14bcc3(0x41e)]);if(m['isTransformMutationsWithChangesetSuccess'](_0x2b3252)){const {c1Prime:_0x21df0d,m2Prime:_0x8e6c8e}=_0x2b3252;this['_executeRemoteChangeset'](_0x21df0d);const _0xb91694=this[_0x14bcc3(0x1d1)][_0x14bcc3(0x224)](exports[_0x14bcc3(0x1a5)],this['unitID'],this[_0x14bcc3(0x2b0)],_0x8e6c8e,this[_0x14bcc3(0x15f)]);this[_0x14bcc3(0x164)]();const _0x3ad61e=new Date()[_0x14bcc3(0x1db)](),_0xfe7c87=this['_scheduleCompleteTimestamp']?Math[_0x14bcc3(0x33e)](this[_0x14bcc3(0x383)]-_0x3ad61e,0x0):this[_0x14bcc3(0x43c)]();return _0xb91694[_0x14bcc3(0x316)](_0xfe7c87),_0xb91694;}throw _0x2b3252[_0x14bcc3(0x3b6)];}catch(_0x2e46ea){return this[_0x14bcc3(0x18c)][_0x14bcc3(0x3b6)](_0x2e46ea),this[_0x14bcc3(0x19e)](!0x1);}}[_0x5a0058(0x2f7)](){var _0x57c3b4=_0x5a0058;throw new Error(_0x57c3b4(0x2eb));}[_0x5a0058(0x37a)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x5a0058(0x410)](){return this;}[_0x5a0058(0x177)](){var _0x47a3d0=_0x5a0058;return this[_0x47a3d0(0x164)](),this[_0x47a3d0(0x1d1)][_0x47a3d0(0x224)](exports[_0x47a3d0(0x279)],this[_0x47a3d0(0x1e0)],this[_0x47a3d0(0x2b0)],null,this[_0x47a3d0(0x41e)],this['_handler']);}[_0x5a0058(0x3d9)](){return this;}[_0x5a0058(0x316)](_0x4883b0){var _0x39e665=_0x5a0058;const _0xaa67b7=_0x4883b0!=null?_0x4883b0:this['_getSendChangesetTimeout']();this[_0x39e665(0x383)]=new Date()['getTime']()+_0xaa67b7,this['_sendingTimer']=setTimeout(()=>{var _0xcfe25c=_0x39e665;this[_0xcfe25c(0x164)]();let _0x41832e=null;switch(this['type']){case Z[_0xcfe25c(0x137)]:{_0x41832e=Je(this['_pendingMutations'],this[_0xcfe25c(0x1e0)],this[_0xcfe25c(0x34e)],this['_revisionService'],this['_memberService']);break;}case Z['UNIVER_DOC']:{this[_0xcfe25c(0x41e)][_0xcfe25c(0x263)](_0x2e2901=>_0x2e2901['id']===dt[_0xcfe25c(0x33c)]['id'])?_0x41832e=On(this[_0xcfe25c(0x41e)],this[_0xcfe25c(0x1e0)],this['_univerInstanceService'],this[_0xcfe25c(0x1f8)],this[_0xcfe25c(0x330)]):_0x41832e=Je(this['_pendingMutations'],this[_0xcfe25c(0x1e0)],this[_0xcfe25c(0x34e)],this[_0xcfe25c(0x1f8)],this[_0xcfe25c(0x330)]);break;}default:throw new Error(_0xcfe25c(0x207)+this[_0xcfe25c(0x2b0)]+_0xcfe25c(0x477));}const {changeset:_0x5c2fe2,pendingMutations:_0x1b4c4b}=_0x41832e;this[_0xcfe25c(0x15f)][_0xcfe25c(0x2dc)](_0x5c2fe2);const _0x3182aa=_0x1b4c4b[_0xcfe25c(0x455)]?this[_0xcfe25c(0x1d1)][_0xcfe25c(0x224)](exports[_0xcfe25c(0x35e)],this[_0xcfe25c(0x1e0)],this[_0xcfe25c(0x2b0)],_0x5c2fe2,_0x1b4c4b,this[_0xcfe25c(0x15f)],void 0x0):this[_0xcfe25c(0x1d1)][_0xcfe25c(0x224)](exports[_0xcfe25c(0x1b9)],this[_0xcfe25c(0x1e0)],this[_0xcfe25c(0x2b0)],_0x5c2fe2,this[_0xcfe25c(0x15f)]);_0x3182aa['_updateLocalCache'](),this[_0xcfe25c(0x15f)]['onStateChange'](this,_0x3182aa);},_0xaa67b7);}[_0x5a0058(0x43c)](){var _0x299eaa=_0x5a0058,_0x1e84ed;const _0x4e65c2=this[_0x299eaa(0x135)][_0x299eaa(0x32f)](Y);return(_0x1e84ed=_0x4e65c2==null?void 0x0:_0x4e65c2[_0x299eaa(0x3b2)])!=null?_0x1e84ed:Bt;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5a0058(0x164)](){var _0x43475c=_0x5a0058;this[_0x43475c(0x2e1)]!=null&&(clearTimeout(this[_0x43475c(0x2e1)]),this[_0x43475c(0x2e1)]=null);}['_onConflict'](_0x40499a){var _0x2089a0=_0x5a0058;return this['_clearScheduledTask'](),this['_injector'][_0x2089a0(0x224)](exports[_0x2089a0(0x42b)],this['unitID'],this['type'],null,this[_0x2089a0(0x41e)],this[_0x2089a0(0x15f)],_0x40499a);}},exports[_0x5a0058(0x1a5)]=le([A(0x4,a['Inject'](a['Injector'])),A(0x5,a[_0x5a0058(0x3ca)](m['RevisionService'])),A(0x6,a[_0x5a0058(0x3ca)](exports['MemberService'])),A(0x7,a[_0x5a0058(0x3f4)]),A(0x8,a[_0x5a0058(0x488)]),A(0x9,a[_0x5a0058(0x43f)]),A(0xa,m[_0x5a0058(0x386)]),A(0xb,a[_0x5a0058(0x185)]),A(0xc,a['IUndoRedoService']),A(0xd,a['Optional'](z))],exports[_0x5a0058(0x1a5)]),exports[_0x5a0058(0x1b9)]=class extends _e{constructor(_0xf4a6b9,_0x4dfe20,_0x16f009,_0x566651,_0x233c75,_0x1ceeef,_0x51b7f7,_0x284308,_0x209888,_0x402d5c,_0x5732ed){var _0x23bcba=_0x5a0058;super(_0xf4a6b9,_0x4dfe20,_0x16f009,[],_0x566651,_0x51b7f7,_0x402d5c,_0x1ceeef,_0x5732ed),D(this,_0x23bcba(0x429),'awaiting'),D(this,_0x23bcba(0x295),0x0),D(this,_0x23bcba(0x47c)),D(this,_0x23bcba(0x3c3)),(this[_0x23bcba(0x1d1)]=_0x233c75,this[_0x23bcba(0x18c)]=_0x284308,this[_0x23bcba(0x289)]=_0x209888);}['appendMutation'](_0x164820){var _0x1941b7=_0x5a0058;this[_0x1941b7(0x164)]();const _0x4fb2d1=this[_0x1941b7(0x1d1)]['createInstance'](exports[_0x1941b7(0x35e)],this[_0x1941b7(0x1e0)],this[_0x1941b7(0x2b0)],this['_awaitingChangeset'],[_0x164820],this[_0x1941b7(0x15f)],this[_0x1941b7(0x47c)]);return _0x4fb2d1[_0x1941b7(0x3df)](),_0x4fb2d1;}[_0x5a0058(0x33f)](_0x4793e3){var _0x319f25=_0x5a0058;if(this[_0x319f25(0x26c)](_0x4793e3))return this[_0x319f25(0x164)](),this['_injector'][_0x319f25(0x224)](exports[_0x319f25(0x423)],this[_0x319f25(0x1e0)],this[_0x319f25(0x2b0)],this[_0x319f25(0x436)],[],null,[_0x4793e3],this[_0x319f25(0x15f)]);try{const _0x3ecb76=this[_0x319f25(0x289)]['transformChangesets']([_0x4793e3],[this[_0x319f25(0x436)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x3ecb76)){const {c1Prime:_0x1cd6bd,c2Prime:_0x53cf79}=_0x3ecb76;this[_0x319f25(0x201)](_0x1cd6bd[0x0]),_0x53cf79[0x0][_0x319f25(0x1cc)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x5ee3b2=this[_0x319f25(0x1d1)][_0x319f25(0x224)](exports['AwaitingState'],this[_0x319f25(0x1e0)],this[_0x319f25(0x2b0)],_0x53cf79[0x0],this['_handler']);return _0x5ee3b2[_0x319f25(0x3df)](),_0x5ee3b2;}return this[_0x319f25(0x19e)](!0x1);}catch(_0x294843){return this[_0x319f25(0x18c)][_0x319f25(0x3b6)](_0x294843),this[_0x319f25(0x19e)](!0x1);}}['onRemoteAck'](_0x10dad4){var _0x30953b=_0x5a0058;this[_0x30953b(0x164)]();const _0x4f750e=this['_revisionService'][_0x30953b(0x155)](this[_0x30953b(0x1e0)]);if(_0x10dad4[_0x30953b(0x3a4)]<_0x4f750e-0x1)return this;if(this[_0x30953b(0x26c)](_0x10dad4))return this[_0x30953b(0x1d1)]['createInstance'](exports[_0x30953b(0x423)],this[_0x30953b(0x1e0)],this[_0x30953b(0x2b0)],null,[],this[_0x30953b(0x436)],[],this[_0x30953b(0x15f)]);this['_incrementRevisionNumber']();const _0x547353=this[_0x30953b(0x1d1)][_0x30953b(0x224)](exports[_0x30953b(0x2cf)],this[_0x30953b(0x1e0)],this[_0x30953b(0x2b0)],this[_0x30953b(0x15f)]);return _0x547353['_updateLocalCache'](),_0x547353;}[_0x5a0058(0x37a)](_0x25a1f6){var _0x49b2ee=_0x5a0058;return this[_0x49b2ee(0x19e)](!!(_0x25a1f6!=null&&_0x25a1f6[_0x49b2ee(0x356)]));}[_0x5a0058(0x410)](_0x28cd66){var _0x378c4a=_0x5a0058;return this[_0x378c4a(0x295)]>Ut?this[_0x378c4a(0x177)]():(this[_0x378c4a(0x47c)]=Nt(this[_0x378c4a(0x295)],{'timeout':this[_0x378c4a(0x295)],'reqId':_0x28cd66[_0x378c4a(0x448)]}),this[_0x378c4a(0x3c3)]=this[_0x378c4a(0x47c)]['subscribe'](({reqId:_0x107d13,timeout:_0xc53a3b})=>{var _0x4341a6=_0x378c4a;this[_0x4341a6(0x2cb)](_0x107d13,_0xc53a3b);}),this);}[_0x5a0058(0x177)](){var _0xa3da9a=_0x5a0058;return this[_0xa3da9a(0x164)](),this[_0xa3da9a(0x1d1)][_0xa3da9a(0x224)](exports['OfflineState'],this[_0xa3da9a(0x1e0)],this['type'],this['_awaitingChangeset'],[],this[_0xa3da9a(0x15f)]);}[_0x5a0058(0x3d9)](){return this;}[_0x5a0058(0x35c)](){var _0x4a929a=_0x5a0058;this[_0x4a929a(0x15f)]['onSendChangeset'](this[_0x4a929a(0x436)]);}[_0x5a0058(0x19e)](_0x918783){var _0x174a99=_0x5a0058;return this[_0x174a99(0x164)](),this['_injector'][_0x174a99(0x224)](exports[_0x174a99(0x42b)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x174a99(0x15f)],_0x918783);}[_0x5a0058(0x2cb)](_0x3c9f9d,_0x2bfdb2){var _0x1b4cbb=_0x5a0058,_0x4e5220;_0x3c9f9d===((_0x4e5220=this['_awaitingChangeset'])==null?void 0x0:_0x4e5220['reqId'])&&(this['resend'](),this[_0x1b4cbb(0x295)]=_0x2bfdb2===0x0?0x3e8:_0x2bfdb2*0x2);}[_0x5a0058(0x164)](){var _0x301f4e=_0x5a0058,_0x659377;(_0x659377=this['_sender'])==null||_0x659377[_0x301f4e(0x439)](),this[_0x301f4e(0x295)]=0x0;}},exports[_0x5a0058(0x1b9)]=le([A(0x4,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x303)])),A(0x5,a[_0x5a0058(0x3ca)](m[_0x5a0058(0x236)])),A(0x6,a[_0x5a0058(0x488)]),A(0x7,a[_0x5a0058(0x3f4)]),A(0x8,m[_0x5a0058(0x386)]),A(0x9,a[_0x5a0058(0x29b)]),A(0xa,a[_0x5a0058(0x368)](z))],exports[_0x5a0058(0x1b9)]),exports[_0x5a0058(0x35e)]=class extends _e{constructor(_0x306534,_0x51c1f6,_0x3d6346,_0x5b0f29,_0x2833b0,_0x32f0bc,_0x15610a,_0x2dd5fb,_0x1716de,_0x4fc536,_0x4d1365,_0x1a744d,_0x68e7d8){var _0x2ed2c8=_0x5a0058;super(_0x306534,_0x51c1f6,_0x3d6346,_0x5b0f29,_0x2833b0,_0x1716de,_0x1a744d,_0x2dd5fb,_0x68e7d8),D(this,_0x2ed2c8(0x429),_0x2ed2c8(0x397)),D(this,'_resendTimeout',0x0),D(this,_0x2ed2c8(0x47c)),D(this,_0x2ed2c8(0x3c3)),(this[_0x2ed2c8(0x1d1)]=_0x15610a,this[_0x2ed2c8(0x18c)]=_0x4fc536,this[_0x2ed2c8(0x289)]=_0x4d1365,this['localCacheService']=_0x68e7d8,_0x32f0bc&&(this[_0x2ed2c8(0x47c)]=_0x32f0bc,this[_0x2ed2c8(0x3c3)]=this[_0x2ed2c8(0x47c)][_0x2ed2c8(0x426)](({reqId:_0x473ec7,timeout:_0xf04e})=>{var _0x55f4cb=_0x2ed2c8;this[_0x55f4cb(0x2cb)](_0x473ec7,_0xf04e);})));}[_0x5a0058(0x215)](_0x4be995){var _0x17d721=_0x5a0058;return this[_0x17d721(0x41e)][_0x17d721(0x28f)](_0x4be995),this;}[_0x5a0058(0x33f)](_0x363bd8){var _0x77c98a=_0x5a0058;if(this['_checkMissing'](_0x363bd8))return this[_0x77c98a(0x164)](),this[_0x77c98a(0x1d1)][_0x77c98a(0x224)](exports[_0x77c98a(0x423)],this[_0x77c98a(0x1e0)],this['type'],this[_0x77c98a(0x436)],this[_0x77c98a(0x41e)],null,[_0x363bd8],this['_handler']);try{const _0x9a7c67=this[_0x77c98a(0x289)][_0x77c98a(0x228)]([_0x363bd8],[this[_0x77c98a(0x436)]],!0x1);if(m[_0x77c98a(0x1f7)](_0x9a7c67)){const {c1Prime:_0x313d98,c2Prime:_0x16777e}=_0x9a7c67,_0x242571=this['_transformService'][_0x77c98a(0x186)](_0x313d98[0x0],this[_0x77c98a(0x41e)]);if(m[_0x77c98a(0x2ff)](_0x242571)){const {c1Prime:_0x487848,m2Prime:_0x234c4a}=_0x242571;return this['_executeRemoteChangeset'](_0x487848),_0x16777e[0x0][_0x77c98a(0x1cc)]=this[_0x77c98a(0x3ec)](),this['_clearScheduledTask'](),this[_0x77c98a(0x1d1)][_0x77c98a(0x224)](exports[_0x77c98a(0x35e)],this[_0x77c98a(0x1e0)],this[_0x77c98a(0x2b0)],_0x16777e[0x0],_0x234c4a,this[_0x77c98a(0x15f)],void 0x0);}throw _0x242571[_0x77c98a(0x3b6)];}throw _0x9a7c67[_0x77c98a(0x3b6)];}catch(_0x2f7211){return this['_logService'][_0x77c98a(0x3b6)](_0x2f7211),this[_0x77c98a(0x19e)](!0x1);}}[_0x5a0058(0x2f7)](_0x2ff2a0){var _0x78fc6b=_0x5a0058;if(this[_0x78fc6b(0x164)](),this[_0x78fc6b(0x26c)](_0x2ff2a0))return this[_0x78fc6b(0x1d1)][_0x78fc6b(0x224)](exports['FetchingMissState'],this[_0x78fc6b(0x1e0)],this['type'],null,this[_0x78fc6b(0x41e)],this['_awaitingChangeset'],[],this[_0x78fc6b(0x15f)]);this[_0x78fc6b(0x13a)]();const _0x4d5f09=this[_0x78fc6b(0x1d1)][_0x78fc6b(0x224)](exports[_0x78fc6b(0x1a5)],this[_0x78fc6b(0x1e0)],this[_0x78fc6b(0x2b0)],this['_pendingMutations'],this['_handler']);return _0x4d5f09['_schedule'](),_0x4d5f09[_0x78fc6b(0x3df)](),_0x4d5f09;}[_0x5a0058(0x37a)](_0x2d0fec){var _0x6e5519=_0x5a0058;return this[_0x6e5519(0x19e)](!!(_0x2d0fec!=null&&_0x2d0fec['isPermissionRej']));}['onRemoteRetry'](_0x1860f2){var _0xdc16dd=_0x5a0058;return this['_resendTimeout']>Ut?this[_0xdc16dd(0x177)]():(this[_0xdc16dd(0x47c)]=Nt(this[_0xdc16dd(0x295)],{'timeout':this['_resendTimeout'],'reqId':_0x1860f2[_0xdc16dd(0x448)]}),this[_0xdc16dd(0x3c3)]=this[_0xdc16dd(0x47c)][_0xdc16dd(0x426)](({reqId:_0x28ce83,timeout:_0x274efb})=>{var _0x3e8bc6=_0xdc16dd;this[_0x3e8bc6(0x2cb)](_0x28ce83,_0x274efb);}),this);}[_0x5a0058(0x177)](){var _0x1bf535=_0x5a0058;return this['_clearScheduledTask'](),this[_0x1bf535(0x1d1)]['createInstance'](exports[_0x1bf535(0x279)],this[_0x1bf535(0x1e0)],this[_0x1bf535(0x2b0)],this[_0x1bf535(0x436)],this[_0x1bf535(0x41e)],this[_0x1bf535(0x15f)]);}[_0x5a0058(0x3d9)](){return this;}[_0x5a0058(0x35c)](){var _0x3af3d9=_0x5a0058;this[_0x3af3d9(0x15f)]['onSendChangeset'](this[_0x3af3d9(0x436)]);}[_0x5a0058(0x19e)](_0x5e87d8){var _0x30df86=_0x5a0058;return this['_clearScheduledTask'](),this['_injector'][_0x30df86(0x224)](exports[_0x30df86(0x42b)],this[_0x30df86(0x1e0)],this[_0x30df86(0x2b0)],null,this[_0x30df86(0x41e)],this[_0x30df86(0x15f)],_0x5e87d8);}['_resendWithTimeout'](_0xaa999a,_0x1c0850){var _0x5d001e=_0x5a0058,_0x187bd6;_0xaa999a===((_0x187bd6=this[_0x5d001e(0x436)])==null?void 0x0:_0x187bd6['reqId'])&&(this[_0x5d001e(0x35c)](),this[_0x5d001e(0x295)]=_0x1c0850===0x0?0x3e8:_0x1c0850*0x2);}[_0x5a0058(0x164)](){var _0x4f05f7=_0x5a0058,_0x383eca;(_0x383eca=this['_sender'])==null||_0x383eca['unsubscribe'](),this[_0x4f05f7(0x295)]=0x0;}},exports[_0x5a0058(0x35e)]=le([A(0x6,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x303)])),A(0x7,a['Inject'](m[_0x5a0058(0x236)])),A(0x8,a['ICommandService']),A(0x9,a[_0x5a0058(0x3f4)]),A(0xa,m['ITransformService']),A(0xb,a[_0x5a0058(0x29b)]),A(0xc,a['Optional'](z))],exports['AwaitingWithPendingState']),exports[_0x5a0058(0x42b)]=class extends _e{constructor(_0x3540d5,_0x5d8673,_0x5bf734,_0x29f890,_0x3609d4,_0x44436c=!0x1,_0x218893,_0x9f742c,_0x3941c4,_0x59f2f5,_0x3e8002,_0x454bea,_0x4ed0a9){var _0x595202=_0x5a0058;super(_0x3540d5,_0x5d8673,_0x5bf734,_0x29f890,_0x3609d4,_0x9f742c,_0x3941c4,_0x59f2f5,_0x4ed0a9),D(this,'status','conflict'),(this['_isPermissionRej']=_0x44436c,this[_0x595202(0x2af)]=_0x218893,this[_0x595202(0x327)]=_0x3e8002,this[_0x595202(0x1a8)]=_0x454bea,this['localCacheService']=_0x4ed0a9,this[_0x595202(0x345)](),this[_0x595202(0x2d1)](),this[_0x595202(0x319)]());}[_0x5a0058(0x215)](){return this;}[_0x5a0058(0x33f)](){return this;}[_0x5a0058(0x2f7)](){return this;}['onRemoteRej'](){return this;}[_0x5a0058(0x410)](){return this;}['toggleOffline'](){return this;}[_0x5a0058(0x3d9)](){return this;}[_0x5a0058(0x35c)](){var _0x5be4bf=_0x5a0058;throw new Error(_0x5be4bf(0x233));}[_0x5a0058(0x2d1)](){var _0x343b48=_0x5a0058,_0x2b7965;(_0x2b7965=this[_0x343b48(0x315)])==null||_0x2b7965[_0x343b48(0x38f)](this[_0x343b48(0x1e0)],this[_0x343b48(0x2b0)],null,[]);}[_0x5a0058(0x345)](){var _0x20af14=_0x5a0058;this[_0x20af14(0x469)]?this[_0x20af14(0x1a8)]['emitEvent']({'id':Q[_0x20af14(0x40d)]}):this[_0x20af14(0x1a8)][_0x20af14(0x492)]({'id':Q['CONFLICT']});}[_0x5a0058(0x319)](){var _0x2fda4d=_0x5a0058;this[_0x2fda4d(0x2af)]['updatePermissionPoint'](new J[(_0x2fda4d(0x2c2))](this[_0x2fda4d(0x1e0)])['id'],!0x1);}},exports[_0x5a0058(0x42b)]=le([A(0x6,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x114)])),A(0x7,a['ICommandService']),A(0x8,a[_0x5a0058(0x29b)]),A(0x9,a[_0x5a0058(0x3ca)](m[_0x5a0058(0x236)])),A(0xa,a[_0x5a0058(0x3ca)](a['LocaleService'])),A(0xb,a[_0x5a0058(0x3ca)](te)),A(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0x5a0058(0x279)]=class extends _e{constructor(_0x35679b,_0x10b88e,_0x59fd12,_0x4e43a6,_0x5b0bd8,_0x3071c2,_0x448b37,_0x14b51c,_0x3a0812,_0x3e499f){var _0xef5fdb=_0x5a0058;super(_0x35679b,_0x10b88e,_0x59fd12,_0x4e43a6,_0x5b0bd8,_0x14b51c,_0x3a0812,_0x448b37,_0x3e499f),D(this,_0xef5fdb(0x429),'offline'),this[_0xef5fdb(0x1d1)]=_0x3071c2;}[_0x5a0058(0x215)](_0x4676dc){var _0x22db88=_0x5a0058;return this['_pendingMutations']['push'](_0x4676dc),this[_0x22db88(0x3df)](),this;}['onRemoteChangeset'](_0x2c21c6){var _0x30645a=_0x5a0058;throw new Error(_0x30645a(0x293));}[_0x5a0058(0x2f7)](){var _0x941529=_0x5a0058;throw new Error(_0x941529(0x25b));}[_0x5a0058(0x37a)](){var _0x850bdd=_0x5a0058;throw new Error(_0x850bdd(0x46e));}[_0x5a0058(0x410)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x39cbea=_0x5a0058;const {_injector:_0x1c1d21,_pendingMutations:_0x550a26,_awaitingChangeset:_0x416d7a,unitID:_0x3a2a64,_handler:_0x959ae0,type:_0x20a5d5}=this,_0x5e0b38=Pt(_0x1c1d21,_0x3a2a64,_0x20a5d5,_0x416d7a,_0x550a26,_0x959ae0);return _0x5e0b38 instanceof exports[_0x39cbea(0x1a5)]?_0x5e0b38['_schedule']():(_0x5e0b38 instanceof exports[_0x39cbea(0x35e)]||_0x5e0b38 instanceof exports[_0x39cbea(0x1b9)])&&_0x5e0b38[_0x39cbea(0x35c)](),_0x5e0b38;}[_0x5a0058(0x35c)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x5a0058(0x279)]=le([A(0x5,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x303)])),A(0x6,a[_0x5a0058(0x3ca)](m[_0x5a0058(0x236)])),A(0x7,a[_0x5a0058(0x488)]),A(0x8,a['IUndoRedoService']),A(0x9,a['Optional'](z))],exports['OfflineState']),exports[_0x5a0058(0x423)]=class extends _e{constructor(_0x4d2615,_0x4dbe6c,_0x45005a,_0x2e0ecd,_0xf535a1,_0x3df164,_0x57612e,_0x32813d,_0x5a0811,_0x5e1283,_0x3d0a90,_0x5e4cbd,_0x303034,_0x332e22){var _0x1ccd46=_0x5a0058;super(_0x4d2615,_0x4dbe6c,_0x45005a,_0x2e0ecd,_0x57612e,_0x3d0a90,_0x5e4cbd,_0x5a0811,_0x332e22),D(this,_0x1ccd46(0x429),_0x1ccd46(0x1ac)),(this[_0x1ccd46(0x335)]=_0xf535a1,this[_0x1ccd46(0x317)]=_0x3df164,this[_0x1ccd46(0x1d1)]=_0x32813d,this[_0x1ccd46(0x18c)]=_0x5e1283,this[_0x1ccd46(0x289)]=_0x303034,this[_0x1ccd46(0x3af)]=_0x332e22);}[_0x5a0058(0x1a7)](_0x2a15be){var _0x448da3=_0x5a0058;try{const _0x377869=[..._0x2a15be,...this[_0x448da3(0x317)]],_0x476169=[this[_0x448da3(0x436)]||this['_acknowledgedAwaitingChangeset']][_0x448da3(0x219)](_0x253eeb=>!!_0x253eeb);let _0x5cca58,_0x5d32e7;if(_0x476169[_0x448da3(0x455)]){const _0x4bb2f4=this[_0x448da3(0x289)]['transformChangesets'](_0x377869,_0x476169,!0x1);if(!m[_0x448da3(0x1f7)](_0x4bb2f4))throw _0x4bb2f4[_0x448da3(0x3b6)];_0x5cca58=_0x4bb2f4['c1Prime'],_0x5d32e7=_0x4bb2f4[_0x448da3(0x258)];}else _0x5cca58=_0x377869,_0x5d32e7=[];let _0x3080ed=this[_0x448da3(0x41e)];_0x5cca58[_0x448da3(0x20c)](_0x13d3a6=>{var _0x5d196f=_0x448da3;let _0x130fe5;if(_0x3080ed[_0x5d196f(0x455)]){const _0x31efd0=this[_0x5d196f(0x289)][_0x5d196f(0x186)](_0x13d3a6,_0x3080ed);if(!m[_0x5d196f(0x2ff)](_0x31efd0))throw _0x31efd0[_0x5d196f(0x3b6)];_0x130fe5=_0x31efd0[_0x5d196f(0x491)],_0x3080ed=_0x31efd0[_0x5d196f(0x14d)];}else _0x130fe5=_0x13d3a6;this['_executeRemoteChangeset'](_0x130fe5);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x448da3(0x436)]&&_0x5d32e7[_0x448da3(0x455)]&&(_0x5d32e7[0x0][_0x448da3(0x1cc)]=this['_getCurrentRevision']());let _0x1a2aed;if(this[_0x448da3(0x436)]&&_0x3080ed[_0x448da3(0x455)]!==0x0)_0x1a2aed=this[_0x448da3(0x1d1)][_0x448da3(0x224)](exports[_0x448da3(0x35e)],this[_0x448da3(0x1e0)],this['type'],_0x5d32e7[0x0],_0x3080ed,this[_0x448da3(0x15f)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3080ed[_0x448da3(0x455)]===0x0)_0x5d32e7[0x0][_0x448da3(0x1cc)]=this[_0x448da3(0x3ec)](),_0x1a2aed=this[_0x448da3(0x1d1)][_0x448da3(0x224)](exports[_0x448da3(0x1b9)],this[_0x448da3(0x1e0)],this[_0x448da3(0x2b0)],_0x5d32e7[0x0],this[_0x448da3(0x15f)]);else{if(_0x3080ed[_0x448da3(0x455)]!==0x0){const _0x587c29=this[_0x448da3(0x1d1)][_0x448da3(0x224)](exports['PendingState'],this['unitID'],this[_0x448da3(0x2b0)],_0x3080ed,this[_0x448da3(0x15f)]);_0x587c29[_0x448da3(0x316)](),_0x1a2aed=_0x587c29;}else _0x1a2aed=this[_0x448da3(0x1d1)][_0x448da3(0x224)](exports['SyncedState'],this[_0x448da3(0x1e0)],this['type'],this[_0x448da3(0x15f)]);}}return _0x1a2aed['_updateLocalCache'](),_0x1a2aed;}catch(_0x29d181){return this[_0x448da3(0x18c)][_0x448da3(0x3b6)](_0x448da3(0x187),_0x448da3(0x22a),_0x29d181),this[_0x448da3(0x1d1)][_0x448da3(0x224)](exports[_0x448da3(0x42b)],this[_0x448da3(0x1e0)],this[_0x448da3(0x2b0)],this['_awaitingChangeset'],this[_0x448da3(0x41e)],this[_0x448da3(0x15f)],!0x1);}}[_0x5a0058(0x35c)](){var _0x302c=_0x5a0058;throw new Error(_0x302c(0x181));}['appendMutation'](_0x329fe1){var _0xbcef6b=_0x5a0058;return this[_0xbcef6b(0x41e)][_0xbcef6b(0x28f)](_0x329fe1),this;}[_0x5a0058(0x33f)](_0x2b461a){var _0x540266=_0x5a0058;return this[_0x540266(0x317)]['push'](_0x2b461a),this;}[_0x5a0058(0x2f7)](_0x2a7166){var _0x44f671=_0x5a0058;if(this[_0x44f671(0x436)])return this[_0x44f671(0x335)]=this[_0x44f671(0x436)],this[_0x44f671(0x436)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x5a0058(0x37a)](_0x38c460){var _0x4a5e5f=_0x5a0058;return this[_0x4a5e5f(0x19e)](!!(_0x38c460!=null&&_0x38c460[_0x4a5e5f(0x356)]));}[_0x5a0058(0x410)](){return this;}[_0x5a0058(0x177)](){var _0x54995e=_0x5a0058;return this[_0x54995e(0x1d1)][_0x54995e(0x224)](exports[_0x54995e(0x279)],this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x54995e(0x41e)],this['_handler']);}[_0x5a0058(0x3d9)](){return this;}['_onConflict'](_0x35c6c4){var _0x2af4bf=_0x5a0058;return this['_injector'][_0x2af4bf(0x224)](exports[_0x2af4bf(0x42b)],this[_0x2af4bf(0x1e0)],this[_0x2af4bf(0x2b0)],this[_0x2af4bf(0x436)],this[_0x2af4bf(0x41e)],this[_0x2af4bf(0x15f)],_0x35c6c4);}},exports[_0x5a0058(0x423)]=le([A(0x7,a['Inject'](a['Injector'])),A(0x8,a[_0x5a0058(0x3ca)](m['RevisionService'])),A(0x9,a[_0x5a0058(0x3f4)]),A(0xa,a[_0x5a0058(0x488)]),A(0xb,a[_0x5a0058(0x29b)]),A(0xc,m[_0x5a0058(0x386)]),A(0xd,a['Optional'](z))],exports[_0x5a0058(0x423)]);function _0x572c(_0x499750,_0x2e109c){var _0x3a31f7=_0x3a31();return _0x572c=function(_0x572c1f,_0x565cf1){_0x572c1f=_0x572c1f-0x10f;var _0x136e7=_0x3a31f7[_0x572c1f];return _0x136e7;},_0x572c(_0x499750,_0x2e109c);}function Pt(_0x168673,_0x2ebb30,_0x49d2a3,_0x118259,_0x434114,_0x356f11){var _0x441a71=_0x5a0058;return _0x118259&&_0x434114[_0x441a71(0x455)]?_0x168673[_0x441a71(0x224)](exports[_0x441a71(0x35e)],_0x2ebb30,_0x49d2a3,_0x118259,_0x434114,_0x356f11,void 0x0):_0x118259?_0x168673[_0x441a71(0x224)](exports['AwaitingState'],_0x2ebb30,_0x49d2a3,_0x118259,_0x356f11):_0x434114[_0x441a71(0x455)]?_0x168673[_0x441a71(0x224)](exports[_0x441a71(0x1a5)],_0x2ebb30,_0x49d2a3,_0x434114,_0x356f11):_0x168673[_0x441a71(0x224)](exports[_0x441a71(0x2cf)],_0x2ebb30,_0x49d2a3,_0x356f11);}var Pn=Object[_0x5a0058(0x141)],Dn=Object[_0x5a0058(0x2ca)],Ge=(_0x16df0e,_0x4d5f7b,_0x42dd21,_0x1f3d73)=>{var _0x4e1c26=_0x5a0058;for(var _0x562cab=_0x1f3d73>0x1?void 0x0:_0x1f3d73?Dn(_0x4d5f7b,_0x42dd21):_0x4d5f7b,_0x2c7307=_0x16df0e[_0x4e1c26(0x455)]-0x1,_0x467f67;_0x2c7307>=0x0;_0x2c7307--)(_0x467f67=_0x16df0e[_0x2c7307])&&(_0x562cab=(_0x1f3d73?_0x467f67(_0x4d5f7b,_0x42dd21,_0x562cab):_0x467f67(_0x562cab))||_0x562cab);return _0x1f3d73&&_0x562cab&&Pn(_0x4d5f7b,_0x42dd21,_0x562cab),_0x562cab;},k=(_0x45aa11,_0x2d9fce)=>(_0x4f64ac,_0x162276)=>_0x2d9fce(_0x4f64ac,_0x162276,_0x45aa11);exports[_0x5a0058(0x1e8)]=class extends a['RxDisposable']{constructor(_0x4323d5,_0x46a143,_0x4b1b3c,_0x55cfa7,_0x3b69bc,_0x54a930,_0x2f318d,_0x46b189,_0x674648,_0x58767a,_0x47bd87,_0x34f378,_0x22fe73){var _0xd93932=_0x5a0058;super(),D(this,_0xd93932(0x1f4),new H[(_0xd93932(0x24d))](null)),D(this,_0xd93932(0x1a6),this['_state$'][_0xd93932(0x273)]()),D(this,_0xd93932(0x3c4)),D(this,_0xd93932(0x3ff),!0x1),D(this,_0xd93932(0x41d),''),D(this,_0xd93932(0x1fa),0x0),D(this,'status$',this[_0xd93932(0x1a6)][_0xd93932(0x48a)](H[_0xd93932(0x460)](_0x26d47e=>_0x26d47e?_0x26d47e[_0xd93932(0x429)]:We[_0xd93932(0x2ce)]),H[_0xd93932(0x180)](0x1))),D(this,_0xd93932(0x27f),!0x1),D(this,_0xd93932(0x13b),[]),(this[_0xd93932(0x1e0)]=_0x4323d5,this[_0xd93932(0x38c)]=_0x46a143,this[_0xd93932(0x20e)]=_0x4b1b3c,this[_0xd93932(0x1d1)]=_0x55cfa7,this[_0xd93932(0x22e)]=_0x3b69bc,this['_localeService']=_0x54a930,this['_revisionService']=_0x2f318d,this[_0xd93932(0x120)]=_0x46b189,this['_logService']=_0x674648,this['_commandService']=_0x58767a,this[_0xd93932(0x2af)]=_0x47bd87,this[_0xd93932(0x413)]=_0x34f378,this[_0xd93932(0x315)]=_0x22fe73);}get[_0x5a0058(0x19a)](){var _0x17de4d=_0x5a0058;return this[_0x17de4d(0x3c4)];}async['init'](){var _0x59c8cc=_0x5a0058;if(this[_0x59c8cc(0x19a)])throw new Error(_0x59c8cc(0x153));await this[_0x59c8cc(0x202)]();}[_0x5a0058(0x451)](){return this['_collaborationPaused']=!0x0,a['toDisposable'](()=>{var _0x1299fc=_0x572c;this[_0x1299fc(0x3ff)]=!0x1,this[_0x1299fc(0x3db)]();});}[_0x5a0058(0x21b)](_0xef68ad){var _0x4f8e66=_0x5a0058;this[_0x4f8e66(0x240)](_0xef68ad);}['_updateState'](_0x1dd04b){var _0x308940=_0x5a0058;this[_0x308940(0x3c4)]=_0x1dd04b,this[_0x308940(0x1f4)][_0x308940(0x39b)](_0x1dd04b);}async[_0x5a0058(0x202)](){var _0xbbb160=_0x5a0058,_0x35b430;this[_0xbbb160(0x458)](await this[_0xbbb160(0x2a3)]()),this[_0xbbb160(0x413)]&&((_0x35b430=this[_0xbbb160(0x413)])==null||_0x35b430[_0xbbb160(0x1e9)](this['unitID']),this[_0xbbb160(0x343)](this[_0xbbb160(0x413)][_0xbbb160(0x261)](this[_0xbbb160(0x1e0)])[_0xbbb160(0x426)](_0x3c3973=>{var _0x33d787=_0xbbb160;this[_0x33d787(0x18c)][_0x33d787(0x299)]('[CollaborationEntity]',_0x33d787(0x332),_0x3c3973),_0x3c3973===Fe[_0x33d787(0x440)]?(this[_0x33d787(0x120)][_0x33d787(0x492)]({'id':Q[_0x33d787(0x405)]}),this[_0x33d787(0x2af)][_0x33d787(0x11e)](new J[(_0x33d787(0x2c2))](this['unitID'])['id'],!0x1),this[_0x33d787(0x2af)][_0x33d787(0x390)](!0x1)):(this[_0x33d787(0x2af)]['updatePermissionPoint'](new J[(_0x33d787(0x2c2))](this['unitID'])['id'],!0x0),this[_0x33d787(0x2af)][_0x33d787(0x390)](!0x0));})));let _0x4be2f9=!0x1;return this[_0xbbb160(0x343)](this[_0xbbb160(0x38c)][_0xbbb160(0x2d4)][_0xbbb160(0x426)](_0x10cce8=>{var _0x28e897=_0xbbb160;_0x10cce8===se[_0x28e897(0x151)]?this[_0x28e897(0x48b)](_0x4be2f9):_0x10cce8===se[_0x28e897(0x2ce)]&&(_0x4be2f9=!0x0,this[_0x28e897(0x359)]());})),this[_0xbbb160(0x343)](this[_0xbbb160(0x38c)]['event$']['subscribe'](_0x403992=>{var _0x5d4c84=_0xbbb160;try{switch(_0x403992['eventID']){case m[_0x5d4c84(0x1eb)][_0x5d4c84(0x16a)]:{this[_0x5d4c84(0x43b)](m['parseProtocolChangeset'](_0x403992[_0x5d4c84(0x18f)]));break;}case m['CollaborationEvent'][_0x5d4c84(0x42f)]:{this[_0x5d4c84(0x11b)](_0x403992['data']);break;}case m[_0x5d4c84(0x1eb)][_0x5d4c84(0x1da)]:{this[_0x5d4c84(0x454)]();break;}case m[_0x5d4c84(0x1eb)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x403992['data']);break;}case m['CollaborationEvent'][_0x5d4c84(0x20d)]:{this['_onFetchMissResult'](_0x403992[_0x5d4c84(0x18f)]['changesets'][_0x5d4c84(0x460)](_0x184883=>m[_0x5d4c84(0x364)](_0x184883)));break;}case m[_0x5d4c84(0x1eb)][_0x5d4c84(0x457)]:{this[_0x5d4c84(0x454)]({'isPermissionRej':!0x0});break;}case m[_0x5d4c84(0x1eb)][_0x5d4c84(0x1f0)]:break;}}catch(_0x516dfb){throw console[_0x5d4c84(0x3b6)]('Error\x20on\x20receiving\x20event',_0x516dfb),_0x516dfb;}})),this['_state'];}[_0x5a0058(0x1f6)](){var _0x1798d6=_0x5a0058;this[_0x1798d6(0x27f)]=!0x1;}[_0x5a0058(0x280)](){var _0xb7708=_0x5a0058;if(this[_0xb7708(0x27f)])throw new Error(_0xb7708(0x22d));this[_0xb7708(0x27f)]=!0x0;}['_onLocalMutation'](_0x195059){var _0x40dab4=_0x5a0058;this[_0x40dab4(0x280)](),this[_0x40dab4(0x458)](this[_0x40dab4(0x3c4)][_0x40dab4(0x215)](_0x195059)),this['_unlockTransition']();}[_0x5a0058(0x43b)](_0x14c920){var _0x30b55f=_0x5a0058;if(!(_0x14c920[_0x30b55f(0x3a4)]<=this[_0x30b55f(0x1f8)][_0x30b55f(0x155)](this[_0x30b55f(0x1e0)]))){if(this['_collaborationPaused']){this[_0x30b55f(0x13b)][_0x30b55f(0x28f)](_0x14c920);return;}this[_0x30b55f(0x23e)](_0x14c920);}}[_0x5a0058(0x3db)](){var _0xc781d=_0x5a0058;this['_remoteChangesetQueue'][_0xc781d(0x20c)](_0x27a16f=>this[_0xc781d(0x23e)](_0x27a16f)),this[_0xc781d(0x13b)]=[];}[_0x5a0058(0x23e)](_0x56510b){var _0x54fa91=_0x5a0058;const _0x2c6eb1=this[_0x54fa91(0x22e)]['interceptor'][_0x54fa91(0x3e1)](this[_0x54fa91(0x22e)][_0x54fa91(0x485)][_0x54fa91(0x115)]()[_0x54fa91(0x322)])(_0x56510b[_0x54fa91(0x28b)],null)||_0x56510b['mutations'],_0x2b2d83={..._0x56510b,'mutations':_0x2c6eb1};this[_0x54fa91(0x280)](),this[_0x54fa91(0x458)](this['_state'][_0x54fa91(0x33f)](_0x2b2d83)),this['_unlockTransition']();}['_onRemoteACK'](_0x770844){var _0x5240ce=_0x5a0058;this[_0x5240ce(0x280)](),this[_0x5240ce(0x458)](this[_0x5240ce(0x3c4)][_0x5240ce(0x2f7)](_0x770844)),this[_0x5240ce(0x1f6)]();}['_onRemoteRejected'](_0x4c7c11){var _0x55aca4=_0x5a0058;this[_0x55aca4(0x280)](),this['_updateState'](this[_0x55aca4(0x3c4)][_0x55aca4(0x37a)](_0x4c7c11)),this['_unlockTransition']();}[_0x5a0058(0x442)](_0xc3cebb){var _0x406d2d=_0x5a0058;this[_0x406d2d(0x280)](),this[_0x406d2d(0x458)](this[_0x406d2d(0x3c4)][_0x406d2d(0x410)](_0xc3cebb)),this[_0x406d2d(0x1f6)]();}[_0x5a0058(0x340)](_0x53b8ed){var _0xda4f1b=_0x5a0058;if(!(this[_0xda4f1b(0x3c4)]instanceof exports[_0xda4f1b(0x423)]))throw new TypeError(_0xda4f1b(0x48e));const _0x3c5fc0=_0x53b8ed[_0xda4f1b(0x460)](_0xf06b30=>{var _0x22eee6=_0xda4f1b;const _0x1c09ec=this[_0x22eee6(0x22e)][_0x22eee6(0x485)][_0x22eee6(0x3e1)](this[_0x22eee6(0x22e)]['interceptor'][_0x22eee6(0x115)]()['COMPRESS_MUTATION_APPLY'])(_0xf06b30[_0x22eee6(0x28b)],null)||_0xf06b30[_0x22eee6(0x28b)];return{..._0xf06b30,'mutations':_0x1c09ec};});this[_0xda4f1b(0x280)](),this[_0xda4f1b(0x458)](this['_state'][_0xda4f1b(0x1a7)](_0x3c5fc0)),this[_0xda4f1b(0x1f6)]();}[_0x5a0058(0x359)](){var _0x36dcdd=_0x5a0058;this[_0x36dcdd(0x280)](),this['_updateState'](this[_0x36dcdd(0x3c4)][_0x36dcdd(0x177)]()),this['_unlockTransition']();}[_0x5a0058(0x48b)](_0x35bebd=!0x1){var _0x1dba9f=_0x5a0058;this['_lockTransition'](),this[_0x1dba9f(0x458)](this[_0x1dba9f(0x3c4)][_0x1dba9f(0x3d9)]()),this[_0x1dba9f(0x1f6)]();const _0x17315e=this[_0x1dba9f(0x3c4)];_0x35bebd&&_0x17315e instanceof exports[_0x1dba9f(0x2cf)]&&(this[_0x1dba9f(0x280)](),this['_updateState'](_0x17315e[_0x1dba9f(0x1ab)]()),this[_0x1dba9f(0x1f6)]());}async[_0x5a0058(0x2a3)](){return new Promise(_0x2853d6=>{var _0x22421d=_0x572c;this[_0x22421d(0x38c)][_0x22421d(0x2d4)][_0x22421d(0x48a)](H[_0x22421d(0x2c0)](0x1))['subscribe'](async _0x1ddac0=>{var _0x3b6a2b=_0x22421d;_0x2853d6(await this[_0x3b6a2b(0x118)](_0x1ddac0===se[_0x3b6a2b(0x151)]));});});}[_0x5a0058(0x11f)](){var _0x15ad4f=_0x5a0058;const _0xd229cf=this[_0x15ad4f(0x1e0)];return{'onStateChange':(_0x2014f0,_0x441aff)=>{var _0x22d1f6=_0x15ad4f;if(_0x2014f0!==this[_0x22d1f6(0x3c4)])throw new Error(_0x22d1f6(0x19c)+_0x2014f0[_0x22d1f6(0x429)]+_0x22d1f6(0x220)+_0x441aff['status']+_0x22d1f6(0x45d)+this[_0x22d1f6(0x3c4)][_0x22d1f6(0x429)]);this[_0x22d1f6(0x458)](_0x441aff);},'onSendChangeset':_0xcdf55f=>{var _0x5da3fc=_0x15ad4f;_0xcdf55f[_0x5da3fc(0x1f9)]||(_0xcdf55f[_0x5da3fc(0x1f9)]=this['_changesetSessionId'],_0xcdf55f['reqId']=++this[_0x5da3fc(0x1fa)]);const _0x485a63={'eventID':m[_0x5da3fc(0x1eb)][_0x5da3fc(0x446)],'data':{'unitID':_0xcdf55f[_0x5da3fc(0x1e0)],'unitType':this[_0x5da3fc(0x20e)],'changeset':_0xcdf55f,'memberID':this[_0x5da3fc(0x38c)][_0x5da3fc(0x2b1)]()}};this['session'][_0x5da3fc(0x351)](_0x485a63,this['unitID']);},'onMissingChangesets':({from:_0x39557d,to:_0x46e43b})=>{var _0xddd2e9=_0x15ad4f;this[_0xddd2e9(0x18c)][_0xddd2e9(0x299)](_0xddd2e9(0x2ec),_0xddd2e9(0x42e)+_0x39557d+_0xddd2e9(0x392)+_0x46e43b);const _0x1b17bb={'eventID':m[_0xddd2e9(0x1eb)][_0xddd2e9(0x434)],'data':{'unitID':_0xd229cf,'unitType':this[_0xddd2e9(0x20e)],'from':_0x39557d,'to':_0x46e43b}};this[_0xddd2e9(0x38c)][_0xddd2e9(0x351)](_0x1b17bb,this[_0xddd2e9(0x1e0)]);}};}async['_createInitialStateImpl'](_0x821177){var _0x12ece5=_0x5a0058,_0x66ba78,_0x2bd9c5,_0x2b6c41;const _0x41afba=await((_0x66ba78=this[_0x12ece5(0x315)])==null?void 0x0:_0x66ba78[_0x12ece5(0x25a)](this['unitID'])),_0x18a017=(_0x2bd9c5=_0x41afba==null?void 0x0:_0x41afba[_0x12ece5(0x28b)])!=null?_0x2bd9c5:[],_0x426d37=(_0x2b6c41=_0x41afba==null?void 0x0:_0x41afba[_0x12ece5(0x24a)])!=null?_0x2b6c41:null,_0x2a8a57=!!(_0x426d37!=null&&_0x426d37[_0x12ece5(0x1f9)])&&!!(_0x426d37!=null&&_0x426d37['reqId']);this[_0x12ece5(0x41d)]=_0x2a8a57?_0x426d37['sid']:gn(),this[_0x12ece5(0x1fa)]=_0x2a8a57?_0x426d37['reqId']:0x0;const _0xb14498=this['unitID'];try{this[_0x12ece5(0x26f)](_0x426d37,_0x18a017);}catch(_0x404bf6){this[_0x12ece5(0x18c)][_0x12ece5(0x3b6)](_0x404bf6);}const _0x321972=this[_0x12ece5(0x11f)]();if(_0x821177){const _0x42fe3e=Pt(this[_0x12ece5(0x1d1)],_0xb14498,this[_0x12ece5(0x20e)],_0x426d37,_0x18a017,_0x321972);return _0x42fe3e instanceof exports[_0x12ece5(0x1a5)]?_0x42fe3e[_0x12ece5(0x316)]():(_0x42fe3e instanceof exports[_0x12ece5(0x35e)]||_0x42fe3e instanceof exports[_0x12ece5(0x1b9)])&&_0x42fe3e['resend'](),_0x42fe3e;}return this[_0x12ece5(0x1d1)][_0x12ece5(0x224)](exports[_0x12ece5(0x279)],_0xb14498,this[_0x12ece5(0x20e)],_0x426d37,_0x18a017,_0x321972);}['_replayCachedMutations'](_0x4a2208,_0x256f68){var _0x5f0c55=_0x5a0058,_0x585a56,_0x16f046;const _0x507369=this['_compressMutationService'][_0x5f0c55(0x485)][_0x5f0c55(0x3e1)](this[_0x5f0c55(0x22e)][_0x5f0c55(0x485)][_0x5f0c55(0x115)]()['COMPRESS_MUTATION_APPLY']);(_0x585a56=_0x507369((_0x4a2208==null?void 0x0:_0x4a2208[_0x5f0c55(0x28b)])||[],null))==null||_0x585a56[_0x5f0c55(0x20c)](_0x21ec46=>this[_0x5f0c55(0x119)][_0x5f0c55(0x403)](_0x21ec46['id'],_0x21ec46[_0x5f0c55(0x17c)])),(_0x16f046=_0x507369(_0x256f68||[],null))==null||_0x16f046[_0x5f0c55(0x20c)](_0x1edce5=>this[_0x5f0c55(0x119)]['executeCommand'](_0x1edce5['id'],_0x1edce5[_0x5f0c55(0x17c)]));}},exports[_0x5a0058(0x1e8)]=Ge([k(0x3,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x303)])),k(0x4,a[_0x5a0058(0x3ca)](m[_0x5a0058(0x200)])),k(0x5,a['Inject'](a[_0x5a0058(0x3c1)])),k(0x6,a['Inject'](m['RevisionService'])),k(0x7,a[_0x5a0058(0x3ca)](te)),k(0x8,a[_0x5a0058(0x3f4)]),k(0x9,a[_0x5a0058(0x488)]),k(0xa,a[_0x5a0058(0x114)]),k(0xb,a['Optional'](ve)),k(0xc,a['Optional'](z))],exports[_0x5a0058(0x1e8)]),exports[_0x5a0058(0x10f)]=class extends exports[_0x5a0058(0x1e8)]{constructor(_0x5678ce,_0x3e8ae1,_0x224ed1,_0x13f9ea,_0x4eb979,_0x48bb4d,_0x31a25c,_0xca1af2,_0x434653,_0x2fab7b,_0x597a4d,_0x11bd4a,_0x4977d0){var _0x4f80dd=_0x5a0058;super(_0x5678ce,_0x224ed1,_0x3e8ae1,_0x13f9ea,_0x4eb979,_0x48bb4d,_0x31a25c,_0xca1af2,_0x434653,_0x2fab7b,_0x597a4d,_0x11bd4a,_0x4977d0),D(this,_0x4f80dd(0x274),null),(this[_0x4f80dd(0x1e0)]=_0x5678ce,this[_0x4f80dd(0x2b0)]=_0x3e8ae1);}[_0x5a0058(0x121)](_0x386c76){var _0x42ab4d=_0x5a0058;this[_0x42ab4d(0x274)]=_0x386c76;}[_0x5a0058(0x441)](){var _0x1f140f=_0x5a0058;this[_0x1f140f(0x274)]=null,super[_0x1f140f(0x441)]();}['_createHandler'](){var _0x3daf2b=_0x5a0058;const _0x4552b4=super[_0x3daf2b(0x11f)]();return _0x4552b4[_0x3daf2b(0x175)]=_0x1e926e=>{var _0x423266=_0x3daf2b,_0x442783,_0xbb504a;return(_0xbb504a=(_0x442783=this[_0x423266(0x274)])==null?void 0x0:_0x442783[_0x423266(0x175)])==null?void 0x0:_0xbb504a[_0x423266(0x3cf)](_0x442783,_0x1e926e);},_0x4552b4[_0x3daf2b(0x145)]=_0x32aba7=>{var _0x49ee5d=_0x3daf2b,_0x501d20,_0x28a318;return(_0x28a318=(_0x501d20=this['_handlerCallback'])==null?void 0x0:_0x501d20[_0x49ee5d(0x145)])==null?void 0x0:_0x28a318[_0x49ee5d(0x3cf)](_0x501d20,_0x32aba7);},_0x4552b4['onTransformSelections']=_0x1dc2f5=>{var _0x33611c=_0x3daf2b,_0x1268d7,_0x3b2769;return(_0x3b2769=(_0x1268d7=this['_handlerCallback'])==null?void 0x0:_0x1268d7[_0x33611c(0x400)])==null?void 0x0:_0x3b2769[_0x33611c(0x3cf)](_0x1268d7,_0x1dc2f5);},_0x4552b4[_0x3daf2b(0x300)]=_0x113587=>{var _0x4b6c8b=_0x3daf2b,_0x3ec94b,_0x22488c;return(_0x22488c=(_0x3ec94b=this[_0x4b6c8b(0x274)])==null?void 0x0:_0x3ec94b[_0x4b6c8b(0x300)])==null?void 0x0:_0x22488c[_0x4b6c8b(0x3cf)](_0x3ec94b,_0x113587);},_0x4552b4[_0x3daf2b(0x272)]=_0x4d581f=>{var _0x47fc3c=_0x3daf2b,_0x3a4923,_0x4e9760,_0x411754;if(!((_0x3a4923=this['_handlerCallback'])!=null&&_0x3a4923[_0x47fc3c(0x272)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x411754=(_0x4e9760=this['_handlerCallback'])==null?void 0x0:_0x4e9760[_0x47fc3c(0x272)])==null?void 0x0:_0x411754[_0x47fc3c(0x3cf)](_0x4e9760,_0x4d581f);},_0x4552b4[_0x3daf2b(0x1b0)]=_0x3ee449=>{var _0x369e22=_0x3daf2b,_0x335ae6,_0xec44de,_0x3f0fc8;if(!((_0x335ae6=this[_0x369e22(0x274)])!=null&&_0x335ae6[_0x369e22(0x1b0)]))throw new Error(_0x369e22(0x394));return(_0x3f0fc8=(_0xec44de=this[_0x369e22(0x274)])==null?void 0x0:_0xec44de[_0x369e22(0x1b0)])==null?void 0x0:_0x3f0fc8[_0x369e22(0x3cf)](_0xec44de,_0x3ee449);},_0x4552b4;}async[_0x5a0058(0x202)](){var _0x436454=_0x5a0058;const _0x133d42=await super[_0x436454(0x202)]();return this['disposeWithMe'](this['_commandService'][_0x436454(0x354)]((_0x42c30b,_0x1640d6)=>{var _0x39aa84=_0x436454;if(_0x42c30b[_0x39aa84(0x2b0)]!==a[_0x39aa84(0x2f6)][_0x39aa84(0x40f)]||_0x1640d6!=null&&_0x1640d6[_0x39aa84(0x43e)]||_0x1640d6!=null&&_0x1640d6[_0x39aa84(0x1e5)]||_0x42c30b['id']===dt[_0x39aa84(0x33c)]['id'])return;const _0x2bf21b=_0x42c30b[_0x39aa84(0x17c)];if((_0x2bf21b==null?void 0x0:_0x2bf21b[_0x39aa84(0x2cc)])!==this[_0x39aa84(0x1e0)])return;const _0x3f16a3=_0x42c30b,_0x38c1ab=this[_0x39aa84(0x22e)][_0x39aa84(0x485)][_0x39aa84(0x3e1)](this[_0x39aa84(0x22e)]['interceptor'][_0x39aa84(0x115)]()['COMPRESS_MUTATION_SEND'])([_0x3f16a3],null)||[_0x3f16a3];this[_0x39aa84(0x240)](_0x38c1ab[0x0]);})),_0x133d42;}},exports[_0x5a0058(0x10f)]=Ge([k(0x3,a['Inject'](a[_0x5a0058(0x303)])),k(0x4,a['Inject'](m[_0x5a0058(0x200)])),k(0x5,a[_0x5a0058(0x3ca)](a['LocaleService'])),k(0x6,a['Inject'](m[_0x5a0058(0x236)])),k(0x7,a[_0x5a0058(0x3ca)](te)),k(0x8,a['ILogService']),k(0x9,a['ICommandService']),k(0xa,a[_0x5a0058(0x114)]),k(0xb,a[_0x5a0058(0x368)](ve)),k(0xc,a[_0x5a0058(0x368)](z))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports[_0x5a0058(0x1e8)]{constructor(_0x3889bb,_0x11a311,_0x141b13,_0x4fad41,_0x530b84,_0x3ad28f,_0x35af77,_0x404077,_0x99a19e,_0x4960e8,_0x2d9233,_0x4c2e98,_0x25fb64,_0x243a74){var _0x3138dd=_0x5a0058;super(_0x3889bb,_0x141b13,_0x11a311,_0x4fad41,_0x530b84,_0x3ad28f,_0x35af77,_0x99a19e,_0x4960e8,_0x2d9233,_0x4c2e98,_0x25fb64,_0x243a74),this[_0x3138dd(0x1e0)]=_0x3889bb,this['type']=_0x11a311,this['_sheetTransformSelectionsService']=_0x404077;}['_createHandler'](){var _0x422e5d=_0x5a0058;const _0x31f945=super[_0x422e5d(0x11f)]();return _0x31f945[_0x422e5d(0x400)]=_0x365ab5=>this[_0x422e5d(0x486)]['transformSelections'](_0x365ab5),_0x31f945;}async[_0x5a0058(0x202)](){var _0x1d43fa=_0x5a0058;const _0x4ff6c4=await super[_0x1d43fa(0x202)]();return this[_0x1d43fa(0x343)](this[_0x1d43fa(0x119)][_0x1d43fa(0x354)]((_0x2a76e1,_0x14c339)=>{var _0x2e8709=_0x1d43fa;if(_0x2a76e1[_0x2e8709(0x2b0)]!==a[_0x2e8709(0x2f6)][_0x2e8709(0x40f)]||_0x14c339!=null&&_0x14c339['fromCollab']||_0x14c339!=null&&_0x14c339['onlyLocal'])return;const _0x420aaa=_0x2a76e1[_0x2e8709(0x17c)];if((_0x420aaa==null?void 0x0:_0x420aaa[_0x2e8709(0x2cc)])!==this['unitID'])return;const _0x3ecc30=_0x2a76e1,_0x27e3fa=this[_0x2e8709(0x22e)][_0x2e8709(0x485)][_0x2e8709(0x3e1)](this[_0x2e8709(0x22e)][_0x2e8709(0x485)][_0x2e8709(0x115)]()[_0x2e8709(0x28a)])([_0x3ecc30],null)||[_0x3ecc30];this[_0x2e8709(0x240)](_0x27e3fa[0x0]);})),_0x4ff6c4;}},exports['SheetCollaborationEntity']=Ge([k(0x3,a[_0x5a0058(0x3ca)](a['Injector'])),k(0x4,a[_0x5a0058(0x3ca)](m['CompressMutationService'])),k(0x5,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x3c1)])),k(0x6,a[_0x5a0058(0x3ca)](m['RevisionService'])),k(0x7,a[_0x5a0058(0x3ca)](exports['SheetTransformSelectionsService'])),k(0x8,a[_0x5a0058(0x3ca)](te)),k(0x9,a[_0x5a0058(0x3f4)]),k(0xa,a['ICommandService']),k(0xb,a[_0x5a0058(0x114)]),k(0xc,a[_0x5a0058(0x368)](ve)),k(0xd,a[_0x5a0058(0x368)](z))],exports[_0x5a0058(0x242)]);var wn=Object['defineProperty'],An=Object[_0x5a0058(0x2ca)],Ln=(_0x1b87ef,_0x191262,_0x20c02c,_0x585067)=>{var _0x603823=_0x5a0058;for(var _0x4edb5c=_0x585067>0x1?void 0x0:_0x585067?An(_0x191262,_0x20c02c):_0x191262,_0x465228=_0x1b87ef[_0x603823(0x455)]-0x1,_0x2cc960;_0x465228>=0x0;_0x465228--)(_0x2cc960=_0x1b87ef[_0x465228])&&(_0x4edb5c=(_0x585067?_0x2cc960(_0x191262,_0x20c02c,_0x4edb5c):_0x2cc960(_0x4edb5c))||_0x4edb5c);return _0x585067&&_0x4edb5c&&wn(_0x191262,_0x20c02c,_0x4edb5c),_0x4edb5c;},we=(_0x4bb5cf,_0x2e26f5)=>(_0x183ab6,_0x4371aa)=>_0x2e26f5(_0x183ab6,_0x4371aa,_0x4bb5cf);exports[_0x5a0058(0x307)]=class extends a[_0x5a0058(0x38b)]{constructor(_0x579490,_0x230bc4,_0xed28){var _0x8e7622=_0x5a0058;super(),D(this,_0x8e7622(0x333),new Map()),D(this,_0x8e7622(0x171),new H['Subject']()),D(this,_0x8e7622(0x158),this[_0x8e7622(0x171)][_0x8e7622(0x273)]()),(this[_0x8e7622(0x1d1)]=_0x579490,this[_0x8e7622(0x32a)]=_0x230bc4,this[_0x8e7622(0x34e)]=_0xed28,this[_0x8e7622(0x202)]());}[_0x5a0058(0x441)](){var _0x4f9d0f=_0x5a0058;super[_0x4f9d0f(0x441)](),this['_entities'][_0x4f9d0f(0x20c)](_0x258057=>_0x258057['dispose']()),this[_0x4f9d0f(0x333)]['clear']();}[_0x5a0058(0x2da)](_0x1f5a47){var _0x1760f3=_0x5a0058,_0x543e64;return(_0x543e64=this[_0x1760f3(0x333)][_0x1760f3(0x1c4)](_0x1f5a47))!=null?_0x543e64:null;}[_0x5a0058(0x1df)](_0xb9bd1d){var _0xc970dd=_0x5a0058;const _0x275461=this[_0xc970dd(0x2da)](_0xb9bd1d);return _0x275461?H['of'](_0x275461):this[_0xc970dd(0x171)][_0xc970dd(0x48a)](W['filter'](_0x43c026=>_0x43c026[_0xc970dd(0x1e0)]===_0xb9bd1d));}['readyForCollab'](_0xa9a620){var _0x25fdf6=_0x5a0058;return H[_0x25fdf6(0x387)](this[_0x25fdf6(0x1df)](_0xa9a620)[_0x25fdf6(0x48a)](W[_0x25fdf6(0x460)](()=>{})));}['_init'](){var _0x28ced1=_0x5a0058;this[_0x28ced1(0x34e)][_0x28ced1(0x16c)](a[_0x28ced1(0x1c0)][_0x28ced1(0x137)])[_0x28ced1(0x48a)](H['takeUntil'](this[_0x28ced1(0x493)]),W[_0x28ced1(0x203)](0x10))[_0x28ced1(0x426)](async _0x394d63=>{var _0x12ca0c=_0x28ced1;const _0x468fe8=_0x394d63[_0x12ca0c(0x2b6)](),_0x1dfee9=await this[_0x12ca0c(0x239)](_0x468fe8,Z[_0x12ca0c(0x137)]);this['_entities'][_0x12ca0c(0x3e0)](_0x468fe8,_0x1dfee9);}),this[_0x28ced1(0x34e)][_0x28ced1(0x16c)](a[_0x28ced1(0x1c0)][_0x28ced1(0x286)])['pipe'](H[_0x28ced1(0x490)](this[_0x28ced1(0x493)]),W[_0x28ced1(0x203)](0x10))[_0x28ced1(0x48a)](W[_0x28ced1(0x219)](_0x36b399=>!_0x36b399['getUnitId']()[_0x28ced1(0x388)]('__')))[_0x28ced1(0x426)](async _0x308b1d=>{var _0x47a35a=_0x28ced1;const _0x2cf7a3=_0x308b1d[_0x47a35a(0x2b6)](),_0x1d5ab3=await this[_0x47a35a(0x239)](_0x2cf7a3,Z['UNIVER_DOC']);this[_0x47a35a(0x333)]['set'](_0x2cf7a3,_0x1d5ab3);}),H[_0x28ced1(0x2d5)](this['_univerInstanceService'][_0x28ced1(0x125)](a[_0x28ced1(0x1c0)][_0x28ced1(0x137)]),this[_0x28ced1(0x34e)][_0x28ced1(0x125)](a['UniverInstanceType']['UNIVER_DOC']))['pipe'](H[_0x28ced1(0x490)](this['dispose$']))['subscribe'](_0xea01ec=>{var _0xcf5475=_0x28ced1;const _0x414f03=_0xea01ec[_0xcf5475(0x2b6)](),_0x20a28f=this['_entities'][_0xcf5475(0x1c4)](_0x414f03);_0x20a28f&&(_0x20a28f[_0xcf5475(0x441)](),this[_0xcf5475(0x333)][_0xcf5475(0x438)](_0x414f03));});}async['_startCollaboration'](_0x2c34fe,_0x54e688){var _0x57ea14=_0x5a0058;const _0x289188=await this[_0x57ea14(0x32a)][_0x57ea14(0x266)](_0x2c34fe),_0xf2d704=this[_0x57ea14(0x1d1)][_0x57ea14(0x224)](this[_0x57ea14(0x246)](_0x54e688),_0x2c34fe,_0x54e688,_0x289188);return await _0xf2d704[_0x57ea14(0x389)](),this['_entityInit$']['next'](_0xf2d704),_0xf2d704;}['_getCtorByUniverType'](_0x4963ee){var _0x3e8053=_0x5a0058;switch(_0x4963ee){case Z[_0x3e8053(0x286)]:return exports[_0x3e8053(0x10f)];case Z['UNIVER_SHEET']:return exports['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4963ee);}}},exports[_0x5a0058(0x307)]=Ln([we(0x0,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x303)])),we(0x1,a['Inject'](exports['CollaborationSessionService'])),we(0x2,a['IUniverInstanceService'])],exports['CollaborationController']);var Mn=Object[_0x5a0058(0x141)],xn=Object['getOwnPropertyDescriptor'],jn=(_0x35d597,_0x33e064,_0x480544,_0x5d25bb)=>{var _0x453126=_0x5a0058;for(var _0x4e83f9=_0x5d25bb>0x1?void 0x0:_0x5d25bb?xn(_0x33e064,_0x480544):_0x33e064,_0x87fd81=_0x35d597[_0x453126(0x455)]-0x1,_0x67af21;_0x87fd81>=0x0;_0x87fd81--)(_0x67af21=_0x35d597[_0x87fd81])&&(_0x4e83f9=(_0x5d25bb?_0x67af21(_0x33e064,_0x480544,_0x4e83f9):_0x67af21(_0x4e83f9))||_0x4e83f9);return _0x5d25bb&&_0x4e83f9&&Mn(_0x33e064,_0x480544,_0x4e83f9),_0x4e83f9;},Xe=(_0x47b540,_0x2874a9)=>(_0x16040e,_0xb7eb34)=>_0x2874a9(_0x16040e,_0xb7eb34,_0x47b540);const $n=_0x5a0058(0x44a),Hn=_0x5a0058(0x11d);let $e=class extends a[_0x5a0058(0x36b)]{constructor(_0x504388,_0x4ef50b){var _0xf938f2=_0x5a0058;super(),this[_0xf938f2(0x34e)]=_0x504388,this[_0xf938f2(0x135)]=_0x4ef50b,this[_0xf938f2(0x202)]();}[_0x5a0058(0x202)](){var _0x11ac5b=_0x5a0058;this[_0x11ac5b(0x343)](this['_univerInstanceService'][_0x11ac5b(0x353)][_0x11ac5b(0x426)](()=>{var _0x2536a1=_0x11ac5b,_0x3c85aa;const _0x5adcc2=this[_0x2536a1(0x34e)][_0x2536a1(0x3c7)]();let _0x4fe777=(_0x3c85aa=this[_0x2536a1(0x135)][_0x2536a1(0x32f)]($n))!=null?_0x3c85aa:Hn;_0x5adcc2 instanceof a[_0x2536a1(0x256)]&&(_0x4fe777=_0x5adcc2[_0x2536a1(0x1b6)]),document[_0x2536a1(0x1c9)]=_0x4fe777;}));}};$e=jn([Xe(0x0,a[_0x5a0058(0x185)]),Xe(0x1,a[_0x5a0058(0x43f)])],$e);var kn=Object[_0x5a0058(0x141)],Bn=Object[_0x5a0058(0x2ca)],Fn=(_0x49b329,_0x394398,_0x1585b,_0x6f02d0)=>{var _0x73691=_0x5a0058;for(var _0x3dfa00=_0x6f02d0>0x1?void 0x0:_0x6f02d0?Bn(_0x394398,_0x1585b):_0x394398,_0x1cf5ee=_0x49b329[_0x73691(0x455)]-0x1,_0x1695aa;_0x1cf5ee>=0x0;_0x1cf5ee--)(_0x1695aa=_0x49b329[_0x1cf5ee])&&(_0x3dfa00=(_0x6f02d0?_0x1695aa(_0x394398,_0x1585b,_0x3dfa00):_0x1695aa(_0x3dfa00))||_0x3dfa00);return _0x6f02d0&&_0x3dfa00&&kn(_0x394398,_0x1585b,_0x3dfa00),_0x3dfa00;},Ae=(_0x410a8e,_0x1652c6)=>(_0x7c6897,_0x51920b)=>_0x1652c6(_0x7c6897,_0x51920b,_0x410a8e);let ye=class{constructor(_0x205633,_0x49a0ee,_0x166bf0){var _0x1fe39e=_0x5a0058;this['_configService']=_0x205633,this[_0x1fe39e(0x36f)]=_0x49a0ee,this['localeService']=_0x166bf0,this['init']();}[_0x5a0058(0x389)](){var _0x3e4663=_0x5a0058;this[_0x3e4663(0x36f)][_0x3e4663(0x122)]({'priority':0x1,'interceptor':(_0x37d45a,_0x2d5f1b)=>_0x2d5f1b(_0x37d45a)[_0x3e4663(0x48a)](H['concatMap'](async _0x23b2d4=>{var _0x5795cc=_0x3e4663;const _0x3810ca=_0x23b2d4;if(_0x3810ca[_0x5795cc(0x429)]===0x191){if(typeof window>'u')throw new Error(_0x5795cc(0x489));if(window[_0x5795cc(0x1ae)](this[_0x5795cc(0x3a0)]['t'](_0x5795cc(0x40a)))){const _0xc2a5a0=window[_0x5795cc(0x16e)](window[_0x5795cc(0x126)][_0x5795cc(0x111)]);window[_0x5795cc(0x126)][_0x5795cc(0x111)]=this[_0x5795cc(0x3d3)]()+_0x5795cc(0x3d0)+_0xc2a5a0;}}return _0x3810ca;}))});}[_0x5a0058(0x3d3)](){var _0x1e2321=_0x5a0058,_0x3480fe,_0x805baa;const _0xd4c85=this[_0x1e2321(0x135)][_0x1e2321(0x32f)](Ct),_0x9078a2=this[_0x1e2321(0x135)]['getConfig'](Y);return(_0x805baa=(_0x3480fe=_0x9078a2==null?void 0x0:_0x9078a2[_0x1e2321(0x14a)])!=null?_0x3480fe:_0xd4c85)!=null?_0x805baa:zt;}};ye=Fn([Ae(0x0,a[_0x5a0058(0x43f)]),Ae(0x1,a[_0x5a0058(0x3ca)](q[_0x5a0058(0x3c2)])),Ae(0x2,a['Inject'](a['LocaleService']))],ye);var Wn=Object[_0x5a0058(0x141)],Gn=Object[_0x5a0058(0x2ca)],Vn=(_0x837188,_0x38b08a,_0x558f36,_0x531c95)=>{var _0x2ec4cf=_0x5a0058;for(var _0x181acb=_0x531c95>0x1?void 0x0:_0x531c95?Gn(_0x38b08a,_0x558f36):_0x38b08a,_0x229f99=_0x837188[_0x2ec4cf(0x455)]-0x1,_0x3d3b47;_0x229f99>=0x0;_0x229f99--)(_0x3d3b47=_0x837188[_0x229f99])&&(_0x181acb=(_0x531c95?_0x3d3b47(_0x38b08a,_0x558f36,_0x181acb):_0x3d3b47(_0x181acb))||_0x181acb);return _0x531c95&&_0x181acb&&Wn(_0x38b08a,_0x558f36,_0x181acb),_0x181acb;},Ze=(_0xbee101,_0x380f5b)=>(_0x514195,_0x4da890)=>_0x380f5b(_0x514195,_0x4da890,_0xbee101);const Ve=_0x5a0058(0x13f),Kn='/universer-api/authz';exports[_0x5a0058(0x2a1)]=class extends a[_0x5a0058(0x36b)]{constructor(_0x339cfa,_0x445a95){var _0xe15152=_0x5a0058;super(),this[_0xe15152(0x3ea)]=_0x339cfa,this[_0xe15152(0x135)]=_0x445a95,this[_0xe15152(0x198)]();}[_0x5a0058(0x198)](){var _0x134168=_0x5a0058;const _0x3d4aa2=this;this[_0x134168(0x343)](this['_HTTPService'][_0x134168(0x122)]({'priority':0x3e7,'interceptor':q[_0x134168(0x304)]({'isMatch'(_0x498d17){var _0x4e56f5=_0x134168,_0x392ed8;if(_0x498d17[_0x4e56f5(0x1ed)]===_0x4e56f5(0x30b)&&((_0x392ed8=_0x498d17['requestParams'])!=null&&_0x392ed8[_0x4e56f5(0x24f)])){const {objectID:_0x13ff85,objectType:_0x26fa93}=_0x498d17[_0x4e56f5(0x3b7)]['body']||{};if(!_0x13ff85||_0x26fa93===void 0x0)return!0x1;const _0x2d47a7=_0x3d4aa2[_0x4e56f5(0x17d)]()+'/'+_0x26fa93+_0x4e56f5(0x2fb)+_0x13ff85+_0x4e56f5(0x339);if(_0x498d17[_0x4e56f5(0x472)]===_0x2d47a7)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x193e14){var _0x42f7cf=_0x134168,_0x2fa581;return(_0x2fa581=_0x193e14[_0x42f7cf(0x3b7)])==null?void 0x0:_0x2fa581[_0x42f7cf(0x24f)];},'mergeParamsToRequest'(_0x2bfb7f,_0x53ccda){var _0x4491c2=_0x134168;const _0x35c67a=_0x3d4aa2[_0x4491c2(0x17d)]()+_0x4491c2(0x227),_0x2e1514=_0x2bfb7f['reduce']((_0x51c1ba,_0x508a36)=>{var _0x1747da=_0x4491c2;const {unitID:_0x56bbb2,objectID:_0x42f295,objectType:_0x348523,actions:_0x400b87}=_0x508a36;return _0x51c1ba[_0x56bbb2]||(_0x51c1ba[_0x56bbb2]={}),_0x51c1ba[_0x56bbb2][_0x42f295]||(_0x51c1ba[_0x56bbb2][_0x42f295]={'objectID':_0x42f295,'objectType':_0x348523,'actions':[]}),_0x51c1ba[_0x56bbb2][_0x42f295][_0x1747da(0x1b3)]['push'](..._0x400b87),_0x51c1ba;},{}),_0x151892=[];for(const _0x117118 in _0x2e1514)for(const _0x43b4bb in _0x2e1514[_0x117118]){const {actions:_0x1763c8,objectType:_0x38f5a4}=_0x2e1514[_0x117118][_0x43b4bb],_0xd7acc2=[...new Set(_0x1763c8)];_0x151892[_0x4491c2(0x28f)]({'unitID':_0x117118,'objectID':_0x43b4bb,'objectType':_0x38f5a4,'actions':_0xd7acc2});}return new q['HTTPRequest']('POST',_0x35c67a,{'headers':_0x53ccda['headers'],'withCredentials':_0x53ccda[_0x4491c2(0x1dd)],'responseType':_0x53ccda[_0x4491c2(0x312)],'body':{'requests':_0x151892}});}},{'distributeResult'(_0x25f601,_0x202149){const {objectActions:_0x1a187e}=_0x25f601;return _0x202149['map'](_0x1d2c11=>{var _0x361699=_0x572c;const {unitID:_0x2e0b1c,objectID:_0x5cfcdc,actions:_0x5e6b0c}=_0x1d2c11,_0x4e9111=_0x1a187e[_0x361699(0x3d4)](_0x17a792=>_0x17a792['unitID']===_0x2e0b1c&&_0x17a792[_0x361699(0x216)]===_0x5cfcdc),_0x3c6999=_0x5e6b0c['map'](_0x534230=>_0x4e9111==null?void 0x0:_0x4e9111[_0x361699(0x1b3)][_0x361699(0x3d4)](_0x487009=>_0x487009[_0x361699(0x1ad)]===_0x534230))['filter'](_0x3aa37b=>!!_0x3aa37b);return{'config':_0x1d2c11,'result':{'actions':_0x3c6999,'error':_0x25f601[_0x361699(0x3b6)]}};});}})}));}[_0x5a0058(0x17d)](){var _0x46b1e7=_0x5a0058,_0x52bddd,_0x530f4f;const _0x4e9fad=this['_configService'][_0x46b1e7(0x32f)](Ve),_0x20a789=this['_configService'][_0x46b1e7(0x32f)](Y);return(_0x530f4f=(_0x52bddd=_0x20a789==null?void 0x0:_0x20a789[_0x46b1e7(0x45a)])!=null?_0x52bddd:_0x4e9fad)!=null?_0x530f4f:Kn;}async[_0x5a0058(0x370)](_0x405cf6){var _0x377c8a=_0x5a0058;const _0x1aac67=this[_0x377c8a(0x17d)]()+'/'+_0x405cf6[_0x377c8a(0x3f8)]+_0x377c8a(0x3ef);return(await this[_0x377c8a(0x3ea)][_0x377c8a(0x43a)](_0x1aac67,{'body':_0x405cf6}))['body'][_0x377c8a(0x216)]||'';}async['list'](_0xb30477){var _0x3092ea=_0x5a0058;const _0x40246e=this[_0x3092ea(0x17d)]()+_0x3092ea(0x3e8);return(await this[_0x3092ea(0x3ea)][_0x3092ea(0x43a)](_0x40246e,{'body':_0xb30477}))[_0x3092ea(0x24f)]['objects'];}async[_0x5a0058(0x12b)](_0x218d4b){var _0x331679=_0x5a0058;const _0x157aa0=this[_0x331679(0x17d)]()+'/'+_0x218d4b[_0x331679(0x3f8)]+_0x331679(0x2fb)+_0x218d4b[_0x331679(0x216)];await this['_HTTPService']['put'](_0x157aa0,{'body':_0x218d4b});}async[_0x5a0058(0x406)](_0x2cd759){var _0xe7db0a=_0x5a0058;const _0x382793=this[_0xe7db0a(0x17d)]()+'/'+_0x2cd759[_0xe7db0a(0x3f8)]+_0xe7db0a(0x2fb)+_0x2cd759['objectID']+_0xe7db0a(0x339);return(await this[_0xe7db0a(0x3ea)]['post'](_0x382793,{'body':_0x2cd759}))[_0xe7db0a(0x24f)][_0xe7db0a(0x1b3)];}async[_0x5a0058(0x3ae)](_0x52726){var _0x40af63=_0x5a0058;const _0xc4d0a3=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this['_HTTPService']['post'](_0xc4d0a3,{'body':{'requests':_0x52726}}))[_0x40af63(0x24f)]['objectActions'];}async[_0x5a0058(0x398)](_0x3d3190){var _0x29d017=_0x5a0058;const _0x387da3=this['_getAPIPrefixPath']()+'/'+_0x3d3190[_0x29d017(0x3f8)]+'/role',_0x2532c4=await this[_0x29d017(0x3ea)][_0x29d017(0x43a)](_0x387da3,{'body':_0x3d3190});return{'roles':_0x2532c4[_0x29d017(0x24f)][_0x29d017(0x252)],'actions':_0x2532c4['body'][_0x29d017(0x1b3)]};}async[_0x5a0058(0x1dc)](_0x4f087b){var _0x48a002=_0x5a0058;const _0x213760=this[_0x48a002(0x17d)]()+_0x48a002(0x459);await this[_0x48a002(0x3ea)][_0x48a002(0x438)](_0x213760,{'params':{'collaboratorID':_0x4f087b[_0x48a002(0x417)],'objectID':_0x4f087b[_0x48a002(0x216)],'unitID':_0x4f087b['unitID']}});}async['updateCollaborator'](_0x10163c){var _0xb4a77f=_0x5a0058;const _0x139100=this[_0xb4a77f(0x17d)]()+'/collaborator';await this[_0xb4a77f(0x3ea)][_0xb4a77f(0x3fd)](_0x139100,{'body':_0x10163c});}async[_0x5a0058(0x150)](_0x166dbf){var _0x5dd89d=_0x5a0058;const _0x5b7317=this[_0x5dd89d(0x17d)]()+_0x5dd89d(0x459);await this['_HTTPService'][_0x5dd89d(0x43a)](_0x5b7317,{'body':_0x166dbf});}async['listCollaborators'](_0x27f702){var _0x55b55d=_0x5a0058;const _0x4c6979=this[_0x55b55d(0x17d)]()+'/collaborator';return(await this[_0x55b55d(0x3ea)][_0x55b55d(0x1c4)](_0x4c6979,{'params':{'objectID':_0x27f702[_0x55b55d(0x216)],'unitID':_0x27f702['unitID']}}))['body'][_0x55b55d(0x238)];}async['putCollaborators'](_0x25d05d){var _0x184653=_0x5a0058;const _0xde74a8=this[_0x184653(0x17d)]()+_0x184653(0x459);await this['_HTTPService'][_0x184653(0x28c)](_0xde74a8,{'body':_0x25d05d});}},exports['AuthzIoHttpService']=Vn([Ze(0x0,a[_0x5a0058(0x3ca)](q[_0x5a0058(0x3c2)])),Ze(0x1,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x43f)]))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x21cfe4){var _0x3c1ba9=_0x5a0058;return _0x21cfe4&&_0x21cfe4[_0x3c1ba9(0x1e2)]&&Object[_0x3c1ba9(0x19f)][_0x3c1ba9(0x124)]['call'](_0x21cfe4,'default')?_0x21cfe4[_0x3c1ba9(0x31a)]:_0x21cfe4;}var Se={'exports':{}};function Yn(_0x5c40ee){var _0x411f16=_0x5a0058;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5c40ee+_0x411f16(0x23a));}var pe={'exports':{}},qn=pe[_0x5a0058(0x371)],Qe;function ee(){var _0x4125a1=_0x5a0058;return Qe||(Qe=0x1,function(_0x5ce53c,_0x89c2ee){(function(_0xfaea3e,_0x2629b2){_0x5ce53c['exports']=_0x2629b2();}(qn,function(){var _0xd0b2f0=_0xd0b2f0||function(_0x1a3eea,_0x2d2f4b){var _0x1e7c4b=_0x572c,_0x5a23df;if(typeof window<'u'&&window[_0x1e7c4b(0x290)]&&(_0x5a23df=window[_0x1e7c4b(0x290)]),typeof self<'u'&&self[_0x1e7c4b(0x290)]&&(_0x5a23df=self[_0x1e7c4b(0x290)]),typeof globalThis<'u'&&globalThis[_0x1e7c4b(0x290)]&&(_0x5a23df=globalThis[_0x1e7c4b(0x290)]),!_0x5a23df&&typeof window<'u'&&window[_0x1e7c4b(0x3c6)]&&(_0x5a23df=window[_0x1e7c4b(0x3c6)]),!_0x5a23df&&typeof Le<'u'&&Le[_0x1e7c4b(0x290)]&&(_0x5a23df=Le[_0x1e7c4b(0x290)]),!_0x5a23df&&typeof Yn==_0x1e7c4b(0x402))try{_0x5a23df=require(_0x1e7c4b(0x290));}catch{}var _0x278298=function(){var _0xfcae30=_0x1e7c4b;if(_0x5a23df){if(typeof _0x5a23df[_0xfcae30(0x35a)]==_0xfcae30(0x402))try{return _0x5a23df[_0xfcae30(0x35a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5a23df[_0xfcae30(0x39e)]==_0xfcae30(0x402))try{return _0x5a23df[_0xfcae30(0x39e)](0x4)[_0xfcae30(0x241)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5d8ec2=Object[_0x1e7c4b(0x370)]||(function(){function _0x3b9997(){}return function(_0x22f7c4){var _0x3d44bb=_0x572c,_0x12a9a;return _0x3b9997[_0x3d44bb(0x19f)]=_0x22f7c4,_0x12a9a=new _0x3b9997(),_0x3b9997[_0x3d44bb(0x19f)]=null,_0x12a9a;};}()),_0x77973c={},_0x2f6385=_0x77973c[_0x1e7c4b(0x334)]={},_0x23b568=_0x2f6385['Base']=(function(){return{'extend':function(_0x15106e){var _0x3e1229=_0x572c,_0x3900b7=_0x5d8ec2(this);return _0x15106e&&_0x3900b7[_0x3e1229(0x172)](_0x15106e),(!_0x3900b7[_0x3e1229(0x124)](_0x3e1229(0x389))||this[_0x3e1229(0x389)]===_0x3900b7['init'])&&(_0x3900b7['init']=function(){var _0x1405b8=_0x3e1229;_0x3900b7[_0x1405b8(0x391)][_0x1405b8(0x389)][_0x1405b8(0x435)](this,arguments);}),_0x3900b7[_0x3e1229(0x389)][_0x3e1229(0x19f)]=_0x3900b7,_0x3900b7['$super']=this,_0x3900b7;},'create':function(){var _0x52508b=_0x572c,_0x2d9cb7=this[_0x52508b(0x38d)]();return _0x2d9cb7[_0x52508b(0x389)][_0x52508b(0x435)](_0x2d9cb7,arguments),_0x2d9cb7;},'init':function(){},'mixIn':function(_0x526da7){var _0x1ccb7f=_0x572c;for(var _0x559335 in _0x526da7)_0x526da7[_0x1ccb7f(0x124)](_0x559335)&&(this[_0x559335]=_0x526da7[_0x559335]);_0x526da7[_0x1ccb7f(0x124)]('toString')&&(this[_0x1ccb7f(0x32e)]=_0x526da7['toString']);},'clone':function(){var _0x5bd8e9=_0x572c;return this['init'][_0x5bd8e9(0x19f)][_0x5bd8e9(0x38d)](this);}};}()),_0x24a14e=_0x2f6385['WordArray']=_0x23b568[_0x1e7c4b(0x38d)]({'init':function(_0x28686c,_0x5afbaa){var _0x5f9968=_0x1e7c4b;_0x28686c=this[_0x5f9968(0x34a)]=_0x28686c||[],_0x5afbaa!=_0x2d2f4b?this[_0x5f9968(0x1ce)]=_0x5afbaa:this[_0x5f9968(0x1ce)]=_0x28686c[_0x5f9968(0x455)]*0x4;},'toString':function(_0x30cb42){return(_0x30cb42||_0x420eaa)['stringify'](this);},'concat':function(_0x2fcb79){var _0x254345=_0x1e7c4b,_0x3ed005=this[_0x254345(0x34a)],_0x1bc534=_0x2fcb79[_0x254345(0x34a)],_0x160fbe=this[_0x254345(0x1ce)],_0x4bd66d=_0x2fcb79[_0x254345(0x1ce)];if(this[_0x254345(0x275)](),_0x160fbe%0x4)for(var _0x5a426d=0x0;_0x5a426d<_0x4bd66d;_0x5a426d++){var _0x136058=_0x1bc534[_0x5a426d>>>0x2]>>>0x18-_0x5a426d%0x4*0x8&0xff;_0x3ed005[_0x160fbe+_0x5a426d>>>0x2]|=_0x136058<<0x18-(_0x160fbe+_0x5a426d)%0x4*0x8;}else{for(var _0x400649=0x0;_0x400649<_0x4bd66d;_0x400649+=0x4)_0x3ed005[_0x160fbe+_0x400649>>>0x2]=_0x1bc534[_0x400649>>>0x2];}return this['sigBytes']+=_0x4bd66d,this;},'clamp':function(){var _0x2c15d3=_0x1e7c4b,_0x44b163=this[_0x2c15d3(0x34a)],_0x354815=this[_0x2c15d3(0x1ce)];_0x44b163[_0x354815>>>0x2]&=0xffffffff<<0x20-_0x354815%0x4*0x8,_0x44b163[_0x2c15d3(0x455)]=_0x1a3eea[_0x2c15d3(0x1ba)](_0x354815/0x4);},'clone':function(){var _0x1075af=_0x1e7c4b,_0x4b369c=_0x23b568[_0x1075af(0x420)][_0x1075af(0x3cf)](this);return _0x4b369c[_0x1075af(0x34a)]=this[_0x1075af(0x34a)][_0x1075af(0x132)](0x0),_0x4b369c;},'random':function(_0x5b7bc8){var _0x1e7ff4=_0x1e7c4b;for(var _0x3bdbb9=[],_0x50966a=0x0;_0x50966a<_0x5b7bc8;_0x50966a+=0x4)_0x3bdbb9[_0x1e7ff4(0x28f)](_0x278298());return new _0x24a14e['init'](_0x3bdbb9,_0x5b7bc8);}}),_0x5e507f=_0x77973c[_0x1e7c4b(0x3f5)]={},_0x420eaa=_0x5e507f['Hex']={'stringify':function(_0x209a67){var _0x12435d=_0x1e7c4b;for(var _0x16255a=_0x209a67[_0x12435d(0x34a)],_0x23157f=_0x209a67[_0x12435d(0x1ce)],_0x39e95b=[],_0xae16f3=0x0;_0xae16f3<_0x23157f;_0xae16f3++){var _0x3b1352=_0x16255a[_0xae16f3>>>0x2]>>>0x18-_0xae16f3%0x4*0x8&0xff;_0x39e95b['push']((_0x3b1352>>>0x4)[_0x12435d(0x32e)](0x10)),_0x39e95b['push']((_0x3b1352&0xf)[_0x12435d(0x32e)](0x10));}return _0x39e95b[_0x12435d(0x39c)]('');},'parse':function(_0x3922e6){var _0x3c16a5=_0x1e7c4b;for(var _0x42bb28=_0x3922e6['length'],_0x122cb7=[],_0x4c984d=0x0;_0x4c984d<_0x42bb28;_0x4c984d+=0x2)_0x122cb7[_0x4c984d>>>0x3]|=parseInt(_0x3922e6['substr'](_0x4c984d,0x2),0x10)<<0x18-_0x4c984d%0x8*0x4;return new _0x24a14e[(_0x3c16a5(0x389))](_0x122cb7,_0x42bb28/0x2);}},_0xdd0e50=_0x5e507f['Latin1']={'stringify':function(_0x4552ae){var _0x5013b5=_0x1e7c4b;for(var _0xaa8575=_0x4552ae[_0x5013b5(0x34a)],_0x977e4f=_0x4552ae['sigBytes'],_0x1a3fca=[],_0x44fba4=0x0;_0x44fba4<_0x977e4f;_0x44fba4++){var _0x3431ea=_0xaa8575[_0x44fba4>>>0x2]>>>0x18-_0x44fba4%0x4*0x8&0xff;_0x1a3fca[_0x5013b5(0x28f)](String['fromCharCode'](_0x3431ea));}return _0x1a3fca[_0x5013b5(0x39c)]('');},'parse':function(_0x3418fc){var _0x1cd1b2=_0x1e7c4b;for(var _0x2121ab=_0x3418fc[_0x1cd1b2(0x455)],_0x302792=[],_0x19bc9a=0x0;_0x19bc9a<_0x2121ab;_0x19bc9a++)_0x302792[_0x19bc9a>>>0x2]|=(_0x3418fc['charCodeAt'](_0x19bc9a)&0xff)<<0x18-_0x19bc9a%0x4*0x8;return new _0x24a14e[(_0x1cd1b2(0x389))](_0x302792,_0x2121ab);}},_0x139cdb=_0x5e507f['Utf8']={'stringify':function(_0x25342e){try{return decodeURIComponent(escape(_0xdd0e50['stringify'](_0x25342e)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x15cfc2){var _0x46bc0c=_0x1e7c4b;return _0xdd0e50[_0x46bc0c(0x245)](unescape(encodeURIComponent(_0x15cfc2)));}},_0x17ff20=_0x2f6385[_0x1e7c4b(0x480)]=_0x23b568[_0x1e7c4b(0x38d)]({'reset':function(){var _0x9dff7d=_0x1e7c4b;this[_0x9dff7d(0x3a5)]=new _0x24a14e[(_0x9dff7d(0x389))](),this['_nDataBytes']=0x0;},'_append':function(_0x3761ed){var _0x394274=_0x1e7c4b;typeof _0x3761ed==_0x394274(0x152)&&(_0x3761ed=_0x139cdb[_0x394274(0x245)](_0x3761ed)),this[_0x394274(0x3a5)][_0x394274(0x3e9)](_0x3761ed),this[_0x394274(0x381)]+=_0x3761ed['sigBytes'];},'_process':function(_0x17fdf5){var _0x3c9f6c=_0x1e7c4b,_0x45978f,_0x5eab4e=this[_0x3c9f6c(0x3a5)],_0x34b327=_0x5eab4e[_0x3c9f6c(0x34a)],_0x3c97ca=_0x5eab4e[_0x3c9f6c(0x1ce)],_0x2f51a9=this[_0x3c9f6c(0x2db)],_0x4bf2da=_0x2f51a9*0x4,_0x2dafd3=_0x3c97ca/_0x4bf2da;_0x17fdf5?_0x2dafd3=_0x1a3eea[_0x3c9f6c(0x1ba)](_0x2dafd3):_0x2dafd3=_0x1a3eea[_0x3c9f6c(0x33e)]((_0x2dafd3|0x0)-this['_minBufferSize'],0x0);var _0x3030a1=_0x2dafd3*_0x2f51a9,_0x420389=_0x1a3eea[_0x3c9f6c(0x33d)](_0x3030a1*0x4,_0x3c97ca);if(_0x3030a1){for(var _0x1b6a40=0x0;_0x1b6a40<_0x3030a1;_0x1b6a40+=_0x2f51a9)this['_doProcessBlock'](_0x34b327,_0x1b6a40);_0x45978f=_0x34b327['splice'](0x0,_0x3030a1),_0x5eab4e[_0x3c9f6c(0x1ce)]-=_0x420389;}return new _0x24a14e['init'](_0x45978f,_0x420389);},'clone':function(){var _0x4858fb=_0x1e7c4b,_0x896993=_0x23b568[_0x4858fb(0x420)][_0x4858fb(0x3cf)](this);return _0x896993['_data']=this['_data'][_0x4858fb(0x420)](),_0x896993;},'_minBufferSize':0x0});_0x2f6385['Hasher']=_0x17ff20[_0x1e7c4b(0x38d)]({'cfg':_0x23b568[_0x1e7c4b(0x38d)](),'init':function(_0x40172e){var _0x5961a3=_0x1e7c4b;this[_0x5961a3(0x2be)]=this[_0x5961a3(0x2be)][_0x5961a3(0x38d)](_0x40172e),this[_0x5961a3(0x259)]();},'reset':function(){var _0x801ab6=_0x1e7c4b;_0x17ff20[_0x801ab6(0x259)]['call'](this),this[_0x801ab6(0x1cb)]();},'update':function(_0x316983){var _0x55b0cb=_0x1e7c4b;return this[_0x55b0cb(0x31e)](_0x316983),this[_0x55b0cb(0x3b3)](),this;},'finalize':function(_0x19b28c){var _0x5386ed=_0x1e7c4b;_0x19b28c&&this[_0x5386ed(0x31e)](_0x19b28c);var _0xbabc3a=this[_0x5386ed(0x189)]();return _0xbabc3a;},'blockSize':0x10,'_createHelper':function(_0x254540){return function(_0x5f3346,_0x2b2957){var _0x5d051a=_0x572c;return new _0x254540[(_0x5d051a(0x389))](_0x2b2957)[_0x5d051a(0x20f)](_0x5f3346);};},'_createHmacHelper':function(_0x504531){return function(_0x405066,_0x416009){var _0x2eeff3=_0x572c;return new _0x276a2f[(_0x2eeff3(0x277))][(_0x2eeff3(0x389))](_0x504531,_0x416009)[_0x2eeff3(0x20f)](_0x405066);};}});var _0x276a2f=_0x77973c[_0x1e7c4b(0x321)]={};return _0x77973c;}(Math);return _0xd0b2f0;}));}(pe)),pe[_0x4125a1(0x371)];}var me={'exports':{}},zn=me['exports'],et;function Dt(){var _0x11dad1=_0x5a0058;return et||(et=0x1,function(_0x2845c3,_0xa90b8b){(function(_0x1ee0e5,_0x819f9f){var _0x2a5485=_0x572c;_0x2845c3[_0x2a5485(0x371)]=_0x819f9f(ee());}(zn,function(_0x1f4bab){var _0x56ec4c=_0x572c;return(function(){var _0x329193=_0x572c,_0x187993=_0x1f4bab,_0xbbf549=_0x187993['lib'],_0x397fff=_0xbbf549[_0x329193(0x445)],_0x16acbc=_0x187993['enc'];_0x16acbc['Base64']={'stringify':function(_0x4481a3){var _0x4c5769=_0x329193,_0x5d4cdb=_0x4481a3['words'],_0x236913=_0x4481a3[_0x4c5769(0x1ce)],_0x2fe1d1=this[_0x4c5769(0x163)];_0x4481a3[_0x4c5769(0x275)]();for(var _0x5e8ee3=[],_0xc902ce=0x0;_0xc902ce<_0x236913;_0xc902ce+=0x3)for(var _0x11ee85=_0x5d4cdb[_0xc902ce>>>0x2]>>>0x18-_0xc902ce%0x4*0x8&0xff,_0x10f2cc=_0x5d4cdb[_0xc902ce+0x1>>>0x2]>>>0x18-(_0xc902ce+0x1)%0x4*0x8&0xff,_0x4a0212=_0x5d4cdb[_0xc902ce+0x2>>>0x2]>>>0x18-(_0xc902ce+0x2)%0x4*0x8&0xff,_0x1050ee=_0x11ee85<<0x10|_0x10f2cc<<0x8|_0x4a0212,_0x2de700=0x0;_0x2de700<0x4&&_0xc902ce+_0x2de700*0.75<_0x236913;_0x2de700++)_0x5e8ee3[_0x4c5769(0x28f)](_0x2fe1d1[_0x4c5769(0x367)](_0x1050ee>>>0x6*(0x3-_0x2de700)&0x3f));var _0x4e24eb=_0x2fe1d1[_0x4c5769(0x367)](0x40);if(_0x4e24eb){for(;_0x5e8ee3[_0x4c5769(0x455)]%0x4;)_0x5e8ee3[_0x4c5769(0x28f)](_0x4e24eb);}return _0x5e8ee3[_0x4c5769(0x39c)]('');},'parse':function(_0x33172e){var _0x284c84=_0x329193,_0x230f55=_0x33172e[_0x284c84(0x455)],_0x291c07=this['_map'],_0x39e4ec=this[_0x284c84(0x432)];if(!_0x39e4ec){_0x39e4ec=this[_0x284c84(0x432)]=[];for(var _0x305b2c=0x0;_0x305b2c<_0x291c07['length'];_0x305b2c++)_0x39e4ec[_0x291c07['charCodeAt'](_0x305b2c)]=_0x305b2c;}var _0x3013f1=_0x291c07['charAt'](0x40);if(_0x3013f1){var _0x193830=_0x33172e[_0x284c84(0x1a9)](_0x3013f1);_0x193830!==-0x1&&(_0x230f55=_0x193830);}return _0x35d0ad(_0x33172e,_0x230f55,_0x39e4ec);},'_map':_0x329193(0x309)};function _0x35d0ad(_0x5b8c99,_0x1bc01b,_0xf6caa0){var _0x1c54ed=_0x329193;for(var _0x3f7ce8=[],_0xf5ef06=0x0,_0x366a30=0x0;_0x366a30<_0x1bc01b;_0x366a30++)if(_0x366a30%0x4){var _0x593347=_0xf6caa0[_0x5b8c99[_0x1c54ed(0x29c)](_0x366a30-0x1)]<<_0x366a30%0x4*0x2,_0x334b18=_0xf6caa0[_0x5b8c99[_0x1c54ed(0x29c)](_0x366a30)]>>>0x6-_0x366a30%0x4*0x2,_0x2e4f08=_0x593347|_0x334b18;_0x3f7ce8[_0xf5ef06>>>0x2]|=_0x2e4f08<<0x18-_0xf5ef06%0x4*0x8,_0xf5ef06++;}return _0x397fff[_0x1c54ed(0x370)](_0x3f7ce8,_0xf5ef06);}}()),_0x1f4bab[_0x56ec4c(0x3f5)][_0x56ec4c(0x374)];}));}(me)),me[_0x11dad1(0x371)];}var ge={'exports':{}},Jn=ge[_0x5a0058(0x371)],tt;function Xn(){return tt||(tt=0x1,function(_0x1ac68d,_0x195802){(function(_0x42fed0,_0x52da25){var _0x30197c=_0x572c;_0x1ac68d[_0x30197c(0x371)]=_0x52da25(ee());}(Jn,function(_0x4f1926){var _0x92fa50=_0x572c;return function(_0x46013d){var _0x496203=_0x572c,_0x119ac0=_0x4f1926,_0x5877ee=_0x119ac0['lib'],_0x3bc078=_0x5877ee[_0x496203(0x445)],_0x54d91e=_0x5877ee[_0x496203(0x2b9)],_0x4072cc=_0x119ac0[_0x496203(0x321)],_0x2ca421=[];(function(){var _0x5a642d=_0x496203;for(var _0x556ac4=0x0;_0x556ac4<0x40;_0x556ac4++)_0x2ca421[_0x556ac4]=_0x46013d[_0x5a642d(0x1a3)](_0x46013d[_0x5a642d(0x2de)](_0x556ac4+0x1))*0x100000000|0x0;}());var _0x33fc84=_0x4072cc[_0x496203(0x3e7)]=_0x54d91e[_0x496203(0x38d)]({'_doReset':function(){var _0x2dcbfb=_0x496203;this['_hash']=new _0x3bc078[(_0x2dcbfb(0x389))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x414729,_0x36069f){var _0xcd4f8a=_0x496203;for(var _0x50363f=0x0;_0x50363f<0x10;_0x50363f++){var _0x296ce2=_0x36069f+_0x50363f,_0x36d6fb=_0x414729[_0x296ce2];_0x414729[_0x296ce2]=(_0x36d6fb<<0x8|_0x36d6fb>>>0x18)&0xff00ff|(_0x36d6fb<<0x18|_0x36d6fb>>>0x8)&0xff00ff00;}var _0x8fce3d=this[_0xcd4f8a(0x348)][_0xcd4f8a(0x34a)],_0x3e3a0=_0x414729[_0x36069f+0x0],_0x3d9a5b=_0x414729[_0x36069f+0x1],_0x507bdf=_0x414729[_0x36069f+0x2],_0x5afdde=_0x414729[_0x36069f+0x3],_0x519eec=_0x414729[_0x36069f+0x4],_0x28ba5a=_0x414729[_0x36069f+0x5],_0x472c89=_0x414729[_0x36069f+0x6],_0xf9799c=_0x414729[_0x36069f+0x7],_0x5ac5d2=_0x414729[_0x36069f+0x8],_0x45fa46=_0x414729[_0x36069f+0x9],_0x205fa6=_0x414729[_0x36069f+0xa],_0x536c8e=_0x414729[_0x36069f+0xb],_0xc82198=_0x414729[_0x36069f+0xc],_0x12f284=_0x414729[_0x36069f+0xd],_0x3e6a31=_0x414729[_0x36069f+0xe],_0x1b7821=_0x414729[_0x36069f+0xf],_0x235e9a=_0x8fce3d[0x0],_0x26548f=_0x8fce3d[0x1],_0x4a571f=_0x8fce3d[0x2],_0x472a41=_0x8fce3d[0x3];_0x235e9a=_0x2df060(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x3e3a0,0x7,_0x2ca421[0x0]),_0x472a41=_0x2df060(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x3d9a5b,0xc,_0x2ca421[0x1]),_0x4a571f=_0x2df060(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x507bdf,0x11,_0x2ca421[0x2]),_0x26548f=_0x2df060(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x5afdde,0x16,_0x2ca421[0x3]),_0x235e9a=_0x2df060(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x519eec,0x7,_0x2ca421[0x4]),_0x472a41=_0x2df060(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x28ba5a,0xc,_0x2ca421[0x5]),_0x4a571f=_0x2df060(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x472c89,0x11,_0x2ca421[0x6]),_0x26548f=_0x2df060(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0xf9799c,0x16,_0x2ca421[0x7]),_0x235e9a=_0x2df060(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x5ac5d2,0x7,_0x2ca421[0x8]),_0x472a41=_0x2df060(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x45fa46,0xc,_0x2ca421[0x9]),_0x4a571f=_0x2df060(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x205fa6,0x11,_0x2ca421[0xa]),_0x26548f=_0x2df060(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x536c8e,0x16,_0x2ca421[0xb]),_0x235e9a=_0x2df060(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0xc82198,0x7,_0x2ca421[0xc]),_0x472a41=_0x2df060(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x12f284,0xc,_0x2ca421[0xd]),_0x4a571f=_0x2df060(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x3e6a31,0x11,_0x2ca421[0xe]),_0x26548f=_0x2df060(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x1b7821,0x16,_0x2ca421[0xf]),_0x235e9a=_0x236bf2(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x3d9a5b,0x5,_0x2ca421[0x10]),_0x472a41=_0x236bf2(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x472c89,0x9,_0x2ca421[0x11]),_0x4a571f=_0x236bf2(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x536c8e,0xe,_0x2ca421[0x12]),_0x26548f=_0x236bf2(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x3e3a0,0x14,_0x2ca421[0x13]),_0x235e9a=_0x236bf2(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x28ba5a,0x5,_0x2ca421[0x14]),_0x472a41=_0x236bf2(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x205fa6,0x9,_0x2ca421[0x15]),_0x4a571f=_0x236bf2(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x1b7821,0xe,_0x2ca421[0x16]),_0x26548f=_0x236bf2(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x519eec,0x14,_0x2ca421[0x17]),_0x235e9a=_0x236bf2(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x45fa46,0x5,_0x2ca421[0x18]),_0x472a41=_0x236bf2(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x3e6a31,0x9,_0x2ca421[0x19]),_0x4a571f=_0x236bf2(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x5afdde,0xe,_0x2ca421[0x1a]),_0x26548f=_0x236bf2(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x5ac5d2,0x14,_0x2ca421[0x1b]),_0x235e9a=_0x236bf2(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x12f284,0x5,_0x2ca421[0x1c]),_0x472a41=_0x236bf2(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x507bdf,0x9,_0x2ca421[0x1d]),_0x4a571f=_0x236bf2(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0xf9799c,0xe,_0x2ca421[0x1e]),_0x26548f=_0x236bf2(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0xc82198,0x14,_0x2ca421[0x1f]),_0x235e9a=_0x4607f6(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x28ba5a,0x4,_0x2ca421[0x20]),_0x472a41=_0x4607f6(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x5ac5d2,0xb,_0x2ca421[0x21]),_0x4a571f=_0x4607f6(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x536c8e,0x10,_0x2ca421[0x22]),_0x26548f=_0x4607f6(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x3e6a31,0x17,_0x2ca421[0x23]),_0x235e9a=_0x4607f6(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x3d9a5b,0x4,_0x2ca421[0x24]),_0x472a41=_0x4607f6(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x519eec,0xb,_0x2ca421[0x25]),_0x4a571f=_0x4607f6(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0xf9799c,0x10,_0x2ca421[0x26]),_0x26548f=_0x4607f6(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x205fa6,0x17,_0x2ca421[0x27]),_0x235e9a=_0x4607f6(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x12f284,0x4,_0x2ca421[0x28]),_0x472a41=_0x4607f6(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x3e3a0,0xb,_0x2ca421[0x29]),_0x4a571f=_0x4607f6(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x5afdde,0x10,_0x2ca421[0x2a]),_0x26548f=_0x4607f6(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x472c89,0x17,_0x2ca421[0x2b]),_0x235e9a=_0x4607f6(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x45fa46,0x4,_0x2ca421[0x2c]),_0x472a41=_0x4607f6(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0xc82198,0xb,_0x2ca421[0x2d]),_0x4a571f=_0x4607f6(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x1b7821,0x10,_0x2ca421[0x2e]),_0x26548f=_0x4607f6(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x507bdf,0x17,_0x2ca421[0x2f]),_0x235e9a=_0x214970(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x3e3a0,0x6,_0x2ca421[0x30]),_0x472a41=_0x214970(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0xf9799c,0xa,_0x2ca421[0x31]),_0x4a571f=_0x214970(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x3e6a31,0xf,_0x2ca421[0x32]),_0x26548f=_0x214970(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x28ba5a,0x15,_0x2ca421[0x33]),_0x235e9a=_0x214970(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0xc82198,0x6,_0x2ca421[0x34]),_0x472a41=_0x214970(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x5afdde,0xa,_0x2ca421[0x35]),_0x4a571f=_0x214970(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x205fa6,0xf,_0x2ca421[0x36]),_0x26548f=_0x214970(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x3d9a5b,0x15,_0x2ca421[0x37]),_0x235e9a=_0x214970(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x5ac5d2,0x6,_0x2ca421[0x38]),_0x472a41=_0x214970(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x1b7821,0xa,_0x2ca421[0x39]),_0x4a571f=_0x214970(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x472c89,0xf,_0x2ca421[0x3a]),_0x26548f=_0x214970(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x12f284,0x15,_0x2ca421[0x3b]),_0x235e9a=_0x214970(_0x235e9a,_0x26548f,_0x4a571f,_0x472a41,_0x519eec,0x6,_0x2ca421[0x3c]),_0x472a41=_0x214970(_0x472a41,_0x235e9a,_0x26548f,_0x4a571f,_0x536c8e,0xa,_0x2ca421[0x3d]),_0x4a571f=_0x214970(_0x4a571f,_0x472a41,_0x235e9a,_0x26548f,_0x507bdf,0xf,_0x2ca421[0x3e]),_0x26548f=_0x214970(_0x26548f,_0x4a571f,_0x472a41,_0x235e9a,_0x45fa46,0x15,_0x2ca421[0x3f]),_0x8fce3d[0x0]=_0x8fce3d[0x0]+_0x235e9a|0x0,_0x8fce3d[0x1]=_0x8fce3d[0x1]+_0x26548f|0x0,_0x8fce3d[0x2]=_0x8fce3d[0x2]+_0x4a571f|0x0,_0x8fce3d[0x3]=_0x8fce3d[0x3]+_0x472a41|0x0;},'_doFinalize':function(){var _0x4c49e2=_0x496203,_0x46afad=this[_0x4c49e2(0x3a5)],_0x466daa=_0x46afad[_0x4c49e2(0x34a)],_0x59b6c1=this[_0x4c49e2(0x381)]*0x8,_0x557696=_0x46afad[_0x4c49e2(0x1ce)]*0x8;_0x466daa[_0x557696>>>0x5]|=0x80<<0x18-_0x557696%0x20;var _0x111085=_0x46013d[_0x4c49e2(0x36e)](_0x59b6c1/0x100000000),_0x47481e=_0x59b6c1;_0x466daa[(_0x557696+0x40>>>0x9<<0x4)+0xf]=(_0x111085<<0x8|_0x111085>>>0x18)&0xff00ff|(_0x111085<<0x18|_0x111085>>>0x8)&0xff00ff00,_0x466daa[(_0x557696+0x40>>>0x9<<0x4)+0xe]=(_0x47481e<<0x8|_0x47481e>>>0x18)&0xff00ff|(_0x47481e<<0x18|_0x47481e>>>0x8)&0xff00ff00,_0x46afad[_0x4c49e2(0x1ce)]=(_0x466daa[_0x4c49e2(0x455)]+0x1)*0x4,this['_process']();for(var _0x34f60b=this[_0x4c49e2(0x348)],_0x2ae4aa=_0x34f60b[_0x4c49e2(0x34a)],_0x40efb9=0x0;_0x40efb9<0x4;_0x40efb9++){var _0xb03643=_0x2ae4aa[_0x40efb9];_0x2ae4aa[_0x40efb9]=(_0xb03643<<0x8|_0xb03643>>>0x18)&0xff00ff|(_0xb03643<<0x18|_0xb03643>>>0x8)&0xff00ff00;}return _0x34f60b;},'clone':function(){var _0x409611=_0x496203,_0x55208c=_0x54d91e[_0x409611(0x420)][_0x409611(0x3cf)](this);return _0x55208c[_0x409611(0x348)]=this[_0x409611(0x348)]['clone'](),_0x55208c;}});function _0x2df060(_0x15d249,_0x4e1cd9,_0x2c3bce,_0x2eee37,_0x21c1cd,_0x49bdfa,_0x53bbcd){var _0x11db9f=_0x15d249+(_0x4e1cd9&_0x2c3bce|~_0x4e1cd9&_0x2eee37)+_0x21c1cd+_0x53bbcd;return(_0x11db9f<<_0x49bdfa|_0x11db9f>>>0x20-_0x49bdfa)+_0x4e1cd9;}function _0x236bf2(_0x2e637e,_0xefec3a,_0x378509,_0x517d90,_0x4ffb66,_0x4025be,_0x353091){var _0x23404b=_0x2e637e+(_0xefec3a&_0x517d90|_0x378509&~_0x517d90)+_0x4ffb66+_0x353091;return(_0x23404b<<_0x4025be|_0x23404b>>>0x20-_0x4025be)+_0xefec3a;}function _0x4607f6(_0x1157e2,_0x413bfc,_0x4b021f,_0x2ba559,_0x350e11,_0x442bed,_0x2c14d5){var _0x552fb8=_0x1157e2+(_0x413bfc^_0x4b021f^_0x2ba559)+_0x350e11+_0x2c14d5;return(_0x552fb8<<_0x442bed|_0x552fb8>>>0x20-_0x442bed)+_0x413bfc;}function _0x214970(_0x137732,_0x1a407f,_0x15b907,_0xf4cef9,_0x2e5a21,_0x1854b1,_0x325ee0){var _0x3e35bf=_0x137732+(_0x15b907^(_0x1a407f|~_0xf4cef9))+_0x2e5a21+_0x325ee0;return(_0x3e35bf<<_0x1854b1|_0x3e35bf>>>0x20-_0x1854b1)+_0x1a407f;}_0x119ac0[_0x496203(0x3e7)]=_0x54d91e['_createHelper'](_0x33fc84),_0x119ac0[_0x496203(0x18d)]=_0x54d91e[_0x496203(0x479)](_0x33fc84);}(Math),_0x4f1926[_0x92fa50(0x3e7)];}));}(ge)),ge['exports'];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x5a0058(0x371)],nt;function Qn(){var _0x2ad312=_0x5a0058;return nt||(nt=0x1,function(_0x307b68,_0x340269){(function(_0x336cf6,_0x7f7fd8){_0x307b68['exports']=_0x7f7fd8(ee());}(Zn,function(_0x8884){var _0x40692d=_0x572c;return(function(){var _0x1590d6=_0x572c,_0x323e4a=_0x8884,_0x337a73=_0x323e4a[_0x1590d6(0x334)],_0x3ab3b9=_0x337a73[_0x1590d6(0x445)],_0x3e8242=_0x337a73[_0x1590d6(0x2b9)],_0x1a511e=_0x323e4a[_0x1590d6(0x321)],_0x277ed8=[],_0x266274=_0x1a511e[_0x1590d6(0x43d)]=_0x3e8242[_0x1590d6(0x38d)]({'_doReset':function(){var _0x1bc7fd=_0x1590d6;this['_hash']=new _0x3ab3b9[(_0x1bc7fd(0x389))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x25899a,_0x9f4227){var _0x4f5dc4=_0x1590d6;for(var _0xe126f2=this[_0x4f5dc4(0x348)][_0x4f5dc4(0x34a)],_0x2c21fd=_0xe126f2[0x0],_0x12dcfa=_0xe126f2[0x1],_0x21d8e7=_0xe126f2[0x2],_0x4cdbd0=_0xe126f2[0x3],_0x53ac30=_0xe126f2[0x4],_0x285dea=0x0;_0x285dea<0x50;_0x285dea++){if(_0x285dea<0x10)_0x277ed8[_0x285dea]=_0x25899a[_0x9f4227+_0x285dea]|0x0;else{var _0x12ad32=_0x277ed8[_0x285dea-0x3]^_0x277ed8[_0x285dea-0x8]^_0x277ed8[_0x285dea-0xe]^_0x277ed8[_0x285dea-0x10];_0x277ed8[_0x285dea]=_0x12ad32<<0x1|_0x12ad32>>>0x1f;}var _0x669f03=(_0x2c21fd<<0x5|_0x2c21fd>>>0x1b)+_0x53ac30+_0x277ed8[_0x285dea];_0x285dea<0x14?_0x669f03+=(_0x12dcfa&_0x21d8e7|~_0x12dcfa&_0x4cdbd0)+0x5a827999:_0x285dea<0x28?_0x669f03+=(_0x12dcfa^_0x21d8e7^_0x4cdbd0)+0x6ed9eba1:_0x285dea<0x3c?_0x669f03+=(_0x12dcfa&_0x21d8e7|_0x12dcfa&_0x4cdbd0|_0x21d8e7&_0x4cdbd0)-0x70e44324:_0x669f03+=(_0x12dcfa^_0x21d8e7^_0x4cdbd0)-0x359d3e2a,_0x53ac30=_0x4cdbd0,_0x4cdbd0=_0x21d8e7,_0x21d8e7=_0x12dcfa<<0x1e|_0x12dcfa>>>0x2,_0x12dcfa=_0x2c21fd,_0x2c21fd=_0x669f03;}_0xe126f2[0x0]=_0xe126f2[0x0]+_0x2c21fd|0x0,_0xe126f2[0x1]=_0xe126f2[0x1]+_0x12dcfa|0x0,_0xe126f2[0x2]=_0xe126f2[0x2]+_0x21d8e7|0x0,_0xe126f2[0x3]=_0xe126f2[0x3]+_0x4cdbd0|0x0,_0xe126f2[0x4]=_0xe126f2[0x4]+_0x53ac30|0x0;},'_doFinalize':function(){var _0x48ea72=_0x1590d6,_0x1807db=this[_0x48ea72(0x3a5)],_0xeca058=_0x1807db['words'],_0x1ffdb0=this[_0x48ea72(0x381)]*0x8,_0x502dbb=_0x1807db[_0x48ea72(0x1ce)]*0x8;return _0xeca058[_0x502dbb>>>0x5]|=0x80<<0x18-_0x502dbb%0x20,_0xeca058[(_0x502dbb+0x40>>>0x9<<0x4)+0xe]=Math[_0x48ea72(0x36e)](_0x1ffdb0/0x100000000),_0xeca058[(_0x502dbb+0x40>>>0x9<<0x4)+0xf]=_0x1ffdb0,_0x1807db[_0x48ea72(0x1ce)]=_0xeca058['length']*0x4,this[_0x48ea72(0x3b3)](),this['_hash'];},'clone':function(){var _0x48b9ce=_0x1590d6,_0x1217be=_0x3e8242['clone'][_0x48b9ce(0x3cf)](this);return _0x1217be['_hash']=this['_hash'][_0x48b9ce(0x420)](),_0x1217be;}});_0x323e4a[_0x1590d6(0x43d)]=_0x3e8242['_createHelper'](_0x266274),_0x323e4a['HmacSHA1']=_0x3e8242[_0x1590d6(0x479)](_0x266274);}()),_0x8884[_0x40692d(0x43d)];}));}(Ee)),Ee[_0x2ad312(0x371)];}var Ce={'exports':{}},ei=Ce[_0x5a0058(0x371)],it;function ti(){var _0x7b7f32=_0x5a0058;return it||(it=0x1,function(_0x2b2876,_0x5c1956){(function(_0x383f6b,_0x4a3327){var _0x3c6cf4=_0x572c;_0x2b2876[_0x3c6cf4(0x371)]=_0x4a3327(ee());}(ei,function(_0x23b080){(function(){var _0x2b5536=_0x572c,_0x4c44ba=_0x23b080,_0x488da6=_0x4c44ba[_0x2b5536(0x334)],_0x5dc903=_0x488da6[_0x2b5536(0x29f)],_0x336826=_0x4c44ba[_0x2b5536(0x3f5)],_0x190274=_0x336826[_0x2b5536(0x2e0)],_0x568605=_0x4c44ba[_0x2b5536(0x321)];_0x568605['HMAC']=_0x5dc903[_0x2b5536(0x38d)]({'init':function(_0x5ceb7c,_0x6ec0c4){var _0x4624c4=_0x2b5536;_0x5ceb7c=this[_0x4624c4(0x128)]=new _0x5ceb7c[(_0x4624c4(0x389))](),typeof _0x6ec0c4==_0x4624c4(0x152)&&(_0x6ec0c4=_0x190274[_0x4624c4(0x245)](_0x6ec0c4));var _0x5ad30c=_0x5ceb7c[_0x4624c4(0x2db)],_0x2f0600=_0x5ad30c*0x4;_0x6ec0c4[_0x4624c4(0x1ce)]>_0x2f0600&&(_0x6ec0c4=_0x5ceb7c[_0x4624c4(0x20f)](_0x6ec0c4)),_0x6ec0c4[_0x4624c4(0x275)]();for(var _0x31b75f=this[_0x4624c4(0x3fb)]=_0x6ec0c4[_0x4624c4(0x420)](),_0x5963b4=this[_0x4624c4(0x3e6)]=_0x6ec0c4['clone'](),_0x403c3b=_0x31b75f[_0x4624c4(0x34a)],_0x60fcbf=_0x5963b4[_0x4624c4(0x34a)],_0xd5d54=0x0;_0xd5d54<_0x5ad30c;_0xd5d54++)_0x403c3b[_0xd5d54]^=0x5c5c5c5c,_0x60fcbf[_0xd5d54]^=0x36363636;_0x31b75f[_0x4624c4(0x1ce)]=_0x5963b4[_0x4624c4(0x1ce)]=_0x2f0600,this[_0x4624c4(0x259)]();},'reset':function(){var _0x28c006=_0x2b5536,_0x4dcdc8=this['_hasher'];_0x4dcdc8[_0x28c006(0x259)](),_0x4dcdc8[_0x28c006(0x12b)](this[_0x28c006(0x3e6)]);},'update':function(_0x47426d){var _0x47daa6=_0x2b5536;return this[_0x47daa6(0x128)][_0x47daa6(0x12b)](_0x47426d),this;},'finalize':function(_0x2d50f3){var _0x28c88d=_0x2b5536,_0xaecf98=this[_0x28c88d(0x128)],_0x24f5fd=_0xaecf98[_0x28c88d(0x20f)](_0x2d50f3);_0xaecf98[_0x28c88d(0x259)]();var _0x31c302=_0xaecf98['finalize'](this[_0x28c88d(0x3fb)][_0x28c88d(0x420)]()[_0x28c88d(0x3e9)](_0x24f5fd));return _0x31c302;}});}());}));}(Ce)),Ce[_0x7b7f32(0x371)];}var ni=Ie[_0x5a0058(0x371)],rt;function wt(){var _0x4afe61=_0x5a0058;return rt||(rt=0x1,function(_0x1cbbff,_0x3b330d){(function(_0x553ce4,_0x513d43,_0xd61fbd){_0x1cbbff['exports']=_0x513d43(ee(),Qn(),ti());}(ni,function(_0x582833){var _0x520d39=_0x572c;return(function(){var _0x81578a=_0x572c,_0x254acc=_0x582833,_0x5cd6a3=_0x254acc[_0x81578a(0x334)],_0x5b14e4=_0x5cd6a3[_0x81578a(0x29f)],_0x10e8ad=_0x5cd6a3[_0x81578a(0x445)],_0x46705b=_0x254acc[_0x81578a(0x321)],_0x5941ee=_0x46705b[_0x81578a(0x3e7)],_0x839927=_0x46705b[_0x81578a(0x1a1)]=_0x5b14e4[_0x81578a(0x38d)]({'cfg':_0x5b14e4[_0x81578a(0x38d)]({'keySize':0x80/0x20,'hasher':_0x5941ee,'iterations':0x1}),'init':function(_0x8f1c72){var _0x132749=_0x81578a;this['cfg']=this['cfg'][_0x132749(0x38d)](_0x8f1c72);},'compute':function(_0x5a5885,_0x218d11){var _0x4052f7=_0x81578a;for(var _0x215616,_0x4a1ca5=this[_0x4052f7(0x2be)],_0x44cf01=_0x4a1ca5['hasher'][_0x4052f7(0x370)](),_0x4c439f=_0x10e8ad[_0x4052f7(0x370)](),_0x401477=_0x4c439f['words'],_0x25fac8=_0x4a1ca5['keySize'],_0x6dea12=_0x4a1ca5[_0x4052f7(0x25c)];_0x401477[_0x4052f7(0x455)]<_0x25fac8;){_0x215616&&_0x44cf01['update'](_0x215616),_0x215616=_0x44cf01[_0x4052f7(0x12b)](_0x5a5885)['finalize'](_0x218d11),_0x44cf01[_0x4052f7(0x259)]();for(var _0x392b3d=0x1;_0x392b3d<_0x6dea12;_0x392b3d++)_0x215616=_0x44cf01[_0x4052f7(0x20f)](_0x215616),_0x44cf01['reset']();_0x4c439f[_0x4052f7(0x3e9)](_0x215616);}return _0x4c439f[_0x4052f7(0x1ce)]=_0x25fac8*0x4,_0x4c439f;}});_0x254acc[_0x81578a(0x1a1)]=function(_0x1dc5a3,_0x47db08,_0x4afaf9){var _0x4e91cb=_0x81578a;return _0x839927[_0x4e91cb(0x370)](_0x4afaf9)['compute'](_0x1dc5a3,_0x47db08);};}()),_0x582833[_0x520d39(0x1a1)];}));}(Ie)),Ie[_0x4afe61(0x371)];}var Te={'exports':{}},ii=Te[_0x5a0058(0x371)],st;function At(){return st||(st=0x1,function(_0x32b2d0,_0x47fb5d){(function(_0x379cc4,_0x1b6182,_0x5498d0){var _0x3ab1c3=_0x572c;_0x32b2d0[_0x3ab1c3(0x371)]=_0x1b6182(ee(),wt());}(ii,function(_0x534a57){var _0xa53ad4=_0x572c;_0x534a57[_0xa53ad4(0x334)][_0xa53ad4(0x21f)]||function(_0x1d6b6b){var _0x3266f9=_0xa53ad4,_0x426cc7=_0x534a57,_0x528c02=_0x426cc7[_0x3266f9(0x334)],_0x3ebd7f=_0x528c02[_0x3266f9(0x29f)],_0x14ab53=_0x528c02[_0x3266f9(0x445)],_0x11614e=_0x528c02[_0x3266f9(0x480)],_0x2a1348=_0x426cc7[_0x3266f9(0x3f5)];_0x2a1348['Utf8'];var _0x21f035=_0x2a1348[_0x3266f9(0x374)],_0x3e7d7c=_0x426cc7[_0x3266f9(0x321)],_0x35f219=_0x3e7d7c[_0x3266f9(0x1a1)],_0x5aa298=_0x528c02[_0x3266f9(0x21f)]=_0x11614e['extend']({'cfg':_0x3ebd7f['extend'](),'createEncryptor':function(_0xdc75f9,_0x15b4b1){var _0x2ffd9f=_0x3266f9;return this[_0x2ffd9f(0x370)](this[_0x2ffd9f(0x161)],_0xdc75f9,_0x15b4b1);},'createDecryptor':function(_0x9304f3,_0x3bac25){var _0x59cb4e=_0x3266f9;return this[_0x59cb4e(0x370)](this[_0x59cb4e(0x1bd)],_0x9304f3,_0x3bac25);},'init':function(_0x3dca18,_0x201f0d,_0x4dd875){var _0x37558e=_0x3266f9;this['cfg']=this[_0x37558e(0x2be)][_0x37558e(0x38d)](_0x4dd875),this[_0x37558e(0x2ef)]=_0x3dca18,this[_0x37558e(0x399)]=_0x201f0d,this[_0x37558e(0x259)]();},'reset':function(){var _0x683da4=_0x3266f9;_0x11614e[_0x683da4(0x259)][_0x683da4(0x3cf)](this),this[_0x683da4(0x1cb)]();},'process':function(_0x8255a0){var _0x1bd571=_0x3266f9;return this[_0x1bd571(0x31e)](_0x8255a0),this[_0x1bd571(0x3b3)]();},'finalize':function(_0x267fd5){var _0x427fdb=_0x3266f9;_0x267fd5&&this['_append'](_0x267fd5);var _0x27c69e=this[_0x427fdb(0x189)]();return _0x27c69e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x434314(_0x3800ba){return typeof _0x3800ba=='string'?_0x385d02:_0x2f302c;}return function(_0x14f130){return{'encrypt':function(_0x5e4f94,_0x319033,_0x1158fa){var _0x1b75b1=_0x572c;return _0x434314(_0x319033)[_0x1b75b1(0x3b4)](_0x14f130,_0x5e4f94,_0x319033,_0x1158fa);},'decrypt':function(_0x6ffe09,_0x3c6a12,_0x1ce3fb){return _0x434314(_0x3c6a12)['decrypt'](_0x14f130,_0x6ffe09,_0x3c6a12,_0x1ce3fb);}};};}())});_0x528c02['StreamCipher']=_0x5aa298[_0x3266f9(0x38d)]({'_doFinalize':function(){var _0x4f9877=_0x3266f9,_0x38c9ae=this[_0x4f9877(0x3b3)](!0x0);return _0x38c9ae;},'blockSize':0x1});var _0xee11e9=_0x426cc7[_0x3266f9(0x3e5)]={},_0x5d95d5=_0x528c02[_0x3266f9(0x47b)]=_0x3ebd7f[_0x3266f9(0x38d)]({'createEncryptor':function(_0x1ff5e0,_0x84e6fc){var _0x5142cf=_0x3266f9;return this[_0x5142cf(0x136)][_0x5142cf(0x370)](_0x1ff5e0,_0x84e6fc);},'createDecryptor':function(_0x18bbf2,_0x8765b2){var _0x1c2f66=_0x3266f9;return this['Decryptor'][_0x1c2f66(0x370)](_0x18bbf2,_0x8765b2);},'init':function(_0x38f912,_0x1fd5da){var _0x3447ff=_0x3266f9;this[_0x3447ff(0x276)]=_0x38f912,this[_0x3447ff(0x36c)]=_0x1fd5da;}}),_0x38162f=_0xee11e9[_0x3266f9(0x2a2)]=(function(){var _0x10074c=_0x3266f9,_0x2864e3=_0x5d95d5[_0x10074c(0x38d)]();_0x2864e3[_0x10074c(0x136)]=_0x2864e3['extend']({'processBlock':function(_0x3ff1d6,_0x478f89){var _0x2dfe25=_0x10074c,_0x59f6b6=this['_cipher'],_0xf60317=_0x59f6b6[_0x2dfe25(0x2db)];_0x16f4e7[_0x2dfe25(0x3cf)](this,_0x3ff1d6,_0x478f89,_0xf60317),_0x59f6b6[_0x2dfe25(0x255)](_0x3ff1d6,_0x478f89),this[_0x2dfe25(0x19b)]=_0x3ff1d6[_0x2dfe25(0x132)](_0x478f89,_0x478f89+_0xf60317);}}),_0x2864e3[_0x10074c(0x31b)]=_0x2864e3['extend']({'processBlock':function(_0x45b208,_0x3ae526){var _0x1be293=_0x10074c,_0x40b97f=this[_0x1be293(0x276)],_0x319fc0=_0x40b97f[_0x1be293(0x2db)],_0x255a33=_0x45b208[_0x1be293(0x132)](_0x3ae526,_0x3ae526+_0x319fc0);_0x40b97f[_0x1be293(0x2d0)](_0x45b208,_0x3ae526),_0x16f4e7[_0x1be293(0x3cf)](this,_0x45b208,_0x3ae526,_0x319fc0),this[_0x1be293(0x19b)]=_0x255a33;}});function _0x16f4e7(_0x10ecf6,_0x513571,_0x39473c){var _0x227219=_0x10074c,_0x190d5e,_0x4197f5=this['_iv'];_0x4197f5?(_0x190d5e=_0x4197f5,this[_0x227219(0x36c)]=_0x1d6b6b):_0x190d5e=this[_0x227219(0x19b)];for(var _0x29786f=0x0;_0x29786f<_0x39473c;_0x29786f++)_0x10ecf6[_0x513571+_0x29786f]^=_0x190d5e[_0x29786f];}return _0x2864e3;}()),_0x2b8363=_0x426cc7[_0x3266f9(0x1d4)]={},_0x4f63e2=_0x2b8363[_0x3266f9(0x12e)]={'pad':function(_0x30e6e5,_0x12ad99){var _0x23ebfa=_0x3266f9;for(var _0x362dd7=_0x12ad99*0x4,_0x3892d7=_0x362dd7-_0x30e6e5[_0x23ebfa(0x1ce)]%_0x362dd7,_0x16ea61=_0x3892d7<<0x18|_0x3892d7<<0x10|_0x3892d7<<0x8|_0x3892d7,_0x355edd=[],_0x184c04=0x0;_0x184c04<_0x3892d7;_0x184c04+=0x4)_0x355edd['push'](_0x16ea61);var _0x4d1678=_0x14ab53[_0x23ebfa(0x370)](_0x355edd,_0x3892d7);_0x30e6e5[_0x23ebfa(0x3e9)](_0x4d1678);},'unpad':function(_0x1e2084){var _0x21634c=_0x3266f9,_0x3c4250=_0x1e2084[_0x21634c(0x34a)][_0x1e2084['sigBytes']-0x1>>>0x2]&0xff;_0x1e2084[_0x21634c(0x1ce)]-=_0x3c4250;}};_0x528c02[_0x3266f9(0x3ce)]=_0x5aa298['extend']({'cfg':_0x5aa298[_0x3266f9(0x2be)]['extend']({'mode':_0x38162f,'padding':_0x4f63e2}),'reset':function(){var _0x2e3d3d=_0x3266f9,_0x276cfc;_0x5aa298[_0x2e3d3d(0x259)][_0x2e3d3d(0x3cf)](this);var _0x561ebd=this[_0x2e3d3d(0x2be)],_0x4e618e=_0x561ebd['iv'],_0x38070c=_0x561ebd[_0x2e3d3d(0x3e5)];this['_xformMode']==this[_0x2e3d3d(0x161)]?_0x276cfc=_0x38070c[_0x2e3d3d(0x373)]:(_0x276cfc=_0x38070c['createDecryptor'],this[_0x2e3d3d(0x1f2)]=0x1),this[_0x2e3d3d(0x221)]&&this['_mode'][_0x2e3d3d(0x369)]==_0x276cfc?this[_0x2e3d3d(0x221)][_0x2e3d3d(0x389)](this,_0x4e618e&&_0x4e618e[_0x2e3d3d(0x34a)]):(this[_0x2e3d3d(0x221)]=_0x276cfc[_0x2e3d3d(0x3cf)](_0x38070c,this,_0x4e618e&&_0x4e618e[_0x2e3d3d(0x34a)]),this['_mode'][_0x2e3d3d(0x369)]=_0x276cfc);},'_doProcessBlock':function(_0xcb6441,_0x3c1d54){var _0x36b1b3=_0x3266f9;this['_mode'][_0x36b1b3(0x3de)](_0xcb6441,_0x3c1d54);},'_doFinalize':function(){var _0x1b77b7=_0x3266f9,_0x4d6827,_0x423d7f=this[_0x1b77b7(0x2be)][_0x1b77b7(0x324)];return this[_0x1b77b7(0x2ef)]==this[_0x1b77b7(0x161)]?(_0x423d7f['pad'](this[_0x1b77b7(0x3a5)],this[_0x1b77b7(0x2db)]),_0x4d6827=this[_0x1b77b7(0x3b3)](!0x0)):(_0x4d6827=this[_0x1b77b7(0x3b3)](!0x0),_0x423d7f['unpad'](_0x4d6827)),_0x4d6827;},'blockSize':0x80/0x20});var _0x27c426=_0x528c02[_0x3266f9(0x249)]=_0x3ebd7f[_0x3266f9(0x38d)]({'init':function(_0x1baa76){var _0x89f32e=_0x3266f9;this[_0x89f32e(0x172)](_0x1baa76);},'toString':function(_0x463c9a){var _0x3226f4=_0x3266f9;return(_0x463c9a||this['formatter'])[_0x3226f4(0x44b)](this);}}),_0xfca677=_0x426cc7[_0x3266f9(0x2fc)]={},_0x1a9887=_0xfca677[_0x3266f9(0x292)]={'stringify':function(_0x694ee){var _0x1cfa7c=_0x3266f9,_0x34d0dd,_0x599a9f=_0x694ee[_0x1cfa7c(0x288)],_0x3ff958=_0x694ee[_0x1cfa7c(0x21e)];return _0x3ff958?_0x34d0dd=_0x14ab53[_0x1cfa7c(0x370)]([0x53616c74,0x65645f5f])[_0x1cfa7c(0x3e9)](_0x3ff958)[_0x1cfa7c(0x3e9)](_0x599a9f):_0x34d0dd=_0x599a9f,_0x34d0dd[_0x1cfa7c(0x32e)](_0x21f035);},'parse':function(_0x554b28){var _0x38ba88=_0x3266f9,_0x57cc82,_0x53aed8=_0x21f035[_0x38ba88(0x245)](_0x554b28),_0x440a2a=_0x53aed8[_0x38ba88(0x34a)];return _0x440a2a[0x0]==0x53616c74&&_0x440a2a[0x1]==0x65645f5f&&(_0x57cc82=_0x14ab53[_0x38ba88(0x370)](_0x440a2a['slice'](0x2,0x4)),_0x440a2a['splice'](0x0,0x4),_0x53aed8[_0x38ba88(0x1ce)]-=0x10),_0x27c426[_0x38ba88(0x370)]({'ciphertext':_0x53aed8,'salt':_0x57cc82});}},_0x2f302c=_0x528c02[_0x3266f9(0x17a)]=_0x3ebd7f['extend']({'cfg':_0x3ebd7f['extend']({'format':_0x1a9887}),'encrypt':function(_0x2a6396,_0x55dd26,_0x5f5637,_0x137e6c){var _0x306945=_0x3266f9;_0x137e6c=this[_0x306945(0x2be)]['extend'](_0x137e6c);var _0x2ab002=_0x2a6396[_0x306945(0x373)](_0x5f5637,_0x137e6c),_0x4e247b=_0x2ab002[_0x306945(0x20f)](_0x55dd26),_0x39d17b=_0x2ab002[_0x306945(0x2be)];return _0x27c426['create']({'ciphertext':_0x4e247b,'key':_0x5f5637,'iv':_0x39d17b['iv'],'algorithm':_0x2a6396,'mode':_0x39d17b['mode'],'padding':_0x39d17b[_0x306945(0x324)],'blockSize':_0x2a6396[_0x306945(0x2db)],'formatter':_0x137e6c[_0x306945(0x2fc)]});},'decrypt':function(_0x217779,_0x172786,_0x2f1ede,_0x37c82e){var _0x2b23d9=_0x3266f9;_0x37c82e=this['cfg'][_0x2b23d9(0x38d)](_0x37c82e),_0x172786=this['_parse'](_0x172786,_0x37c82e[_0x2b23d9(0x2fc)]);var _0x1feb37=_0x217779['createDecryptor'](_0x2f1ede,_0x37c82e)['finalize'](_0x172786[_0x2b23d9(0x288)]);return _0x1feb37;},'_parse':function(_0x51006f,_0x9c3f80){var _0x7f0e16=_0x3266f9;return typeof _0x51006f==_0x7f0e16(0x152)?_0x9c3f80[_0x7f0e16(0x245)](_0x51006f,this):_0x51006f;}}),_0x53827b=_0x426cc7['kdf']={},_0x285661=_0x53827b[_0x3266f9(0x292)]={'execute':function(_0x23217e,_0x12ecd8,_0x4edfb4,_0x399900,_0x4b167b){var _0x925a33=_0x3266f9;if(_0x399900||(_0x399900=_0x14ab53['random'](0x40/0x8)),_0x4b167b)var _0x5137b6=_0x35f219[_0x925a33(0x370)]({'keySize':_0x12ecd8+_0x4edfb4,'hasher':_0x4b167b})[_0x925a33(0x42c)](_0x23217e,_0x399900);else var _0x5137b6=_0x35f219['create']({'keySize':_0x12ecd8+_0x4edfb4})[_0x925a33(0x42c)](_0x23217e,_0x399900);var _0x443d12=_0x14ab53[_0x925a33(0x370)](_0x5137b6['words'][_0x925a33(0x132)](_0x12ecd8),_0x4edfb4*0x4);return _0x5137b6[_0x925a33(0x1ce)]=_0x12ecd8*0x4,_0x27c426[_0x925a33(0x370)]({'key':_0x5137b6,'iv':_0x443d12,'salt':_0x399900});}},_0x385d02=_0x528c02[_0x3266f9(0x1c5)]=_0x2f302c[_0x3266f9(0x38d)]({'cfg':_0x2f302c[_0x3266f9(0x2be)]['extend']({'kdf':_0x285661}),'encrypt':function(_0x1043d8,_0x557223,_0x3454db,_0x16cd2e){var _0x3a5e2b=_0x3266f9;_0x16cd2e=this[_0x3a5e2b(0x2be)][_0x3a5e2b(0x38d)](_0x16cd2e);var _0x5c5d41=_0x16cd2e[_0x3a5e2b(0x2b8)][_0x3a5e2b(0x411)](_0x3454db,_0x1043d8[_0x3a5e2b(0x363)],_0x1043d8[_0x3a5e2b(0x3e4)],_0x16cd2e[_0x3a5e2b(0x21e)],_0x16cd2e[_0x3a5e2b(0x2ac)]);_0x16cd2e['iv']=_0x5c5d41['iv'];var _0x12b452=_0x2f302c[_0x3a5e2b(0x3b4)][_0x3a5e2b(0x3cf)](this,_0x1043d8,_0x557223,_0x5c5d41[_0x3a5e2b(0x134)],_0x16cd2e);return _0x12b452['mixIn'](_0x5c5d41),_0x12b452;},'decrypt':function(_0x3af194,_0x4ebfda,_0x102be4,_0x548fca){var _0x4f626b=_0x3266f9;_0x548fca=this['cfg'][_0x4f626b(0x38d)](_0x548fca),_0x4ebfda=this[_0x4f626b(0x3f9)](_0x4ebfda,_0x548fca['format']);var _0x2e7134=_0x548fca[_0x4f626b(0x2b8)]['execute'](_0x102be4,_0x3af194['keySize'],_0x3af194[_0x4f626b(0x3e4)],_0x4ebfda[_0x4f626b(0x21e)],_0x548fca[_0x4f626b(0x2ac)]);_0x548fca['iv']=_0x2e7134['iv'];var _0x598202=_0x2f302c['decrypt'][_0x4f626b(0x3cf)](this,_0x3af194,_0x4ebfda,_0x2e7134['key'],_0x548fca);return _0x598202;}});}();}));}(Te)),Te['exports'];}var ri=Se[_0x5a0058(0x371)],ot;function si(){var _0x1b54d5=_0x5a0058;return ot||(ot=0x1,function(_0x504933,_0xae2dd3){(function(_0x4e2559,_0x50bcc0,_0x5add28){_0x504933['exports']=_0x50bcc0(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x26dbcb){var _0x46182c=_0x572c;return(function(){var _0x2cad81=_0x572c,_0x53633f=_0x26dbcb,_0x32105d=_0x53633f[_0x2cad81(0x334)],_0x152e74=_0x32105d[_0x2cad81(0x3ce)],_0x2c5dbe=_0x53633f[_0x2cad81(0x321)],_0x3f05b9=[],_0x4a78be=[],_0x18924b=[],_0x55de80=[],_0x3ae8be=[],_0x292aba=[],_0x34b0e5=[],_0x3b36a9=[],_0x5d73b3=[],_0x36227b=[];(function(){for(var _0x5d22c9=[],_0x5c1ea0=0x0;_0x5c1ea0<0x100;_0x5c1ea0++)_0x5c1ea0<0x80?_0x5d22c9[_0x5c1ea0]=_0x5c1ea0<<0x1:_0x5d22c9[_0x5c1ea0]=_0x5c1ea0<<0x1^0x11b;for(var _0x3cbec2=0x0,_0x558b25=0x0,_0x5c1ea0=0x0;_0x5c1ea0<0x100;_0x5c1ea0++){var _0x5d311b=_0x558b25^_0x558b25<<0x1^_0x558b25<<0x2^_0x558b25<<0x3^_0x558b25<<0x4;_0x5d311b=_0x5d311b>>>0x8^_0x5d311b&0xff^0x63,_0x3f05b9[_0x3cbec2]=_0x5d311b,_0x4a78be[_0x5d311b]=_0x3cbec2;var _0x380838=_0x5d22c9[_0x3cbec2],_0x51fdf7=_0x5d22c9[_0x380838],_0xd62663=_0x5d22c9[_0x51fdf7],_0x2cfae6=_0x5d22c9[_0x5d311b]*0x101^_0x5d311b*0x1010100;_0x18924b[_0x3cbec2]=_0x2cfae6<<0x18|_0x2cfae6>>>0x8,_0x55de80[_0x3cbec2]=_0x2cfae6<<0x10|_0x2cfae6>>>0x10,_0x3ae8be[_0x3cbec2]=_0x2cfae6<<0x8|_0x2cfae6>>>0x18,_0x292aba[_0x3cbec2]=_0x2cfae6;var _0x2cfae6=_0xd62663*0x1010101^_0x51fdf7*0x10001^_0x380838*0x101^_0x3cbec2*0x1010100;_0x34b0e5[_0x5d311b]=_0x2cfae6<<0x18|_0x2cfae6>>>0x8,_0x3b36a9[_0x5d311b]=_0x2cfae6<<0x10|_0x2cfae6>>>0x10,_0x5d73b3[_0x5d311b]=_0x2cfae6<<0x8|_0x2cfae6>>>0x18,_0x36227b[_0x5d311b]=_0x2cfae6,_0x3cbec2?(_0x3cbec2=_0x380838^_0x5d22c9[_0x5d22c9[_0x5d22c9[_0xd62663^_0x380838]]],_0x558b25^=_0x5d22c9[_0x5d22c9[_0x558b25]]):_0x3cbec2=_0x558b25=0x1;}}());var _0x1e9a2f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4693d2=_0x2c5dbe['AES']=_0x152e74['extend']({'_doReset':function(){var _0x45744d=_0x2cad81,_0x23b6ba;if(!(this['_nRounds']&&this[_0x45744d(0x166)]===this[_0x45744d(0x399)])){for(var _0x131698=this[_0x45744d(0x166)]=this[_0x45744d(0x399)],_0x5f4113=_0x131698['words'],_0x645f7c=_0x131698[_0x45744d(0x1ce)]/0x4,_0x42af9f=this[_0x45744d(0x17b)]=_0x645f7c+0x6,_0x134133=(_0x42af9f+0x1)*0x4,_0x24e616=this[_0x45744d(0x206)]=[],_0x25a7e1=0x0;_0x25a7e1<_0x134133;_0x25a7e1++)_0x25a7e1<_0x645f7c?_0x24e616[_0x25a7e1]=_0x5f4113[_0x25a7e1]:(_0x23b6ba=_0x24e616[_0x25a7e1-0x1],_0x25a7e1%_0x645f7c?_0x645f7c>0x6&&_0x25a7e1%_0x645f7c==0x4&&(_0x23b6ba=_0x3f05b9[_0x23b6ba>>>0x18]<<0x18|_0x3f05b9[_0x23b6ba>>>0x10&0xff]<<0x10|_0x3f05b9[_0x23b6ba>>>0x8&0xff]<<0x8|_0x3f05b9[_0x23b6ba&0xff]):(_0x23b6ba=_0x23b6ba<<0x8|_0x23b6ba>>>0x18,_0x23b6ba=_0x3f05b9[_0x23b6ba>>>0x18]<<0x18|_0x3f05b9[_0x23b6ba>>>0x10&0xff]<<0x10|_0x3f05b9[_0x23b6ba>>>0x8&0xff]<<0x8|_0x3f05b9[_0x23b6ba&0xff],_0x23b6ba^=_0x1e9a2f[_0x25a7e1/_0x645f7c|0x0]<<0x18),_0x24e616[_0x25a7e1]=_0x24e616[_0x25a7e1-_0x645f7c]^_0x23b6ba);for(var _0x1cdbde=this['_invKeySchedule']=[],_0x443bac=0x0;_0x443bac<_0x134133;_0x443bac++){var _0x25a7e1=_0x134133-_0x443bac;if(_0x443bac%0x4)var _0x23b6ba=_0x24e616[_0x25a7e1];else var _0x23b6ba=_0x24e616[_0x25a7e1-0x4];_0x443bac<0x4||_0x25a7e1<=0x4?_0x1cdbde[_0x443bac]=_0x23b6ba:_0x1cdbde[_0x443bac]=_0x34b0e5[_0x3f05b9[_0x23b6ba>>>0x18]]^_0x3b36a9[_0x3f05b9[_0x23b6ba>>>0x10&0xff]]^_0x5d73b3[_0x3f05b9[_0x23b6ba>>>0x8&0xff]]^_0x36227b[_0x3f05b9[_0x23b6ba&0xff]];}}},'encryptBlock':function(_0x5838dd,_0x4448a8){var _0x4b3944=_0x2cad81;this[_0x4b3944(0x2f4)](_0x5838dd,_0x4448a8,this[_0x4b3944(0x206)],_0x18924b,_0x55de80,_0x3ae8be,_0x292aba,_0x3f05b9);},'decryptBlock':function(_0x6482b0,_0x541754){var _0x5d65c6=_0x2cad81,_0x10ad11=_0x6482b0[_0x541754+0x1];_0x6482b0[_0x541754+0x1]=_0x6482b0[_0x541754+0x3],_0x6482b0[_0x541754+0x3]=_0x10ad11,this[_0x5d65c6(0x2f4)](_0x6482b0,_0x541754,this[_0x5d65c6(0x18a)],_0x34b0e5,_0x3b36a9,_0x5d73b3,_0x36227b,_0x4a78be);var _0x10ad11=_0x6482b0[_0x541754+0x1];_0x6482b0[_0x541754+0x1]=_0x6482b0[_0x541754+0x3],_0x6482b0[_0x541754+0x3]=_0x10ad11;},'_doCryptBlock':function(_0x331efc,_0x2f9405,_0xf5245b,_0x1d900f,_0x45f750,_0x244228,_0x1e18ae,_0x1d0299){for(var _0x1e3148=this['_nRounds'],_0x57974e=_0x331efc[_0x2f9405]^_0xf5245b[0x0],_0x1ebb62=_0x331efc[_0x2f9405+0x1]^_0xf5245b[0x1],_0x19616a=_0x331efc[_0x2f9405+0x2]^_0xf5245b[0x2],_0x2277d2=_0x331efc[_0x2f9405+0x3]^_0xf5245b[0x3],_0x9ab3b3=0x4,_0x4c1405=0x1;_0x4c1405<_0x1e3148;_0x4c1405++){var _0xd66c4e=_0x1d900f[_0x57974e>>>0x18]^_0x45f750[_0x1ebb62>>>0x10&0xff]^_0x244228[_0x19616a>>>0x8&0xff]^_0x1e18ae[_0x2277d2&0xff]^_0xf5245b[_0x9ab3b3++],_0x2aa17c=_0x1d900f[_0x1ebb62>>>0x18]^_0x45f750[_0x19616a>>>0x10&0xff]^_0x244228[_0x2277d2>>>0x8&0xff]^_0x1e18ae[_0x57974e&0xff]^_0xf5245b[_0x9ab3b3++],_0xa5c894=_0x1d900f[_0x19616a>>>0x18]^_0x45f750[_0x2277d2>>>0x10&0xff]^_0x244228[_0x57974e>>>0x8&0xff]^_0x1e18ae[_0x1ebb62&0xff]^_0xf5245b[_0x9ab3b3++],_0x1e8c2e=_0x1d900f[_0x2277d2>>>0x18]^_0x45f750[_0x57974e>>>0x10&0xff]^_0x244228[_0x1ebb62>>>0x8&0xff]^_0x1e18ae[_0x19616a&0xff]^_0xf5245b[_0x9ab3b3++];_0x57974e=_0xd66c4e,_0x1ebb62=_0x2aa17c,_0x19616a=_0xa5c894,_0x2277d2=_0x1e8c2e;}var _0xd66c4e=(_0x1d0299[_0x57974e>>>0x18]<<0x18|_0x1d0299[_0x1ebb62>>>0x10&0xff]<<0x10|_0x1d0299[_0x19616a>>>0x8&0xff]<<0x8|_0x1d0299[_0x2277d2&0xff])^_0xf5245b[_0x9ab3b3++],_0x2aa17c=(_0x1d0299[_0x1ebb62>>>0x18]<<0x18|_0x1d0299[_0x19616a>>>0x10&0xff]<<0x10|_0x1d0299[_0x2277d2>>>0x8&0xff]<<0x8|_0x1d0299[_0x57974e&0xff])^_0xf5245b[_0x9ab3b3++],_0xa5c894=(_0x1d0299[_0x19616a>>>0x18]<<0x18|_0x1d0299[_0x2277d2>>>0x10&0xff]<<0x10|_0x1d0299[_0x57974e>>>0x8&0xff]<<0x8|_0x1d0299[_0x1ebb62&0xff])^_0xf5245b[_0x9ab3b3++],_0x1e8c2e=(_0x1d0299[_0x2277d2>>>0x18]<<0x18|_0x1d0299[_0x57974e>>>0x10&0xff]<<0x10|_0x1d0299[_0x1ebb62>>>0x8&0xff]<<0x8|_0x1d0299[_0x19616a&0xff])^_0xf5245b[_0x9ab3b3++];_0x331efc[_0x2f9405]=_0xd66c4e,_0x331efc[_0x2f9405+0x1]=_0x2aa17c,_0x331efc[_0x2f9405+0x2]=_0xa5c894,_0x331efc[_0x2f9405+0x3]=_0x1e8c2e;},'keySize':0x100/0x20});_0x53633f[_0x2cad81(0x378)]=_0x152e74[_0x2cad81(0x27a)](_0x4693d2);}()),_0x26dbcb[_0x46182c(0x378)];}));}(Se)),Se[_0x1b54d5(0x371)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be[_0x5a0058(0x371)],ct;function li(){return ct||(ct=0x1,function(_0x36588c,_0x27b19c){(function(_0x4dccea,_0x3fb88f){_0x36588c['exports']=_0x3fb88f(ee());}(hi,function(_0x5781e4){var _0x51a92a=_0x572c;return _0x5781e4[_0x51a92a(0x3f5)][_0x51a92a(0x2e0)];}));}(be)),be['exports'];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0x5a0058(0x371)],ht;function vi(){return ht||(ht=0x1,function(_0x4ec74a,_0x4927c8){(function(_0x1ac045,_0x10e23b){var _0x531b4a=_0x572c;_0x4ec74a[_0x531b4a(0x371)]=_0x10e23b(ee());}(di,function(_0x353116){var _0x338802=_0x572c;return(function(){var _0x2f8ea6=_0x572c;if(typeof ArrayBuffer=='function'){var _0x3d8a54=_0x353116,_0x37dae2=_0x3d8a54[_0x2f8ea6(0x334)],_0x13f325=_0x37dae2[_0x2f8ea6(0x445)],_0x4b0048=_0x13f325[_0x2f8ea6(0x389)],_0x4d856d=_0x13f325['init']=function(_0xc5558d){var _0x49d106=_0x2f8ea6;if(_0xc5558d instanceof ArrayBuffer&&(_0xc5558d=new Uint8Array(_0xc5558d)),(_0xc5558d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xc5558d instanceof Uint8ClampedArray||_0xc5558d instanceof Int16Array||_0xc5558d instanceof Uint16Array||_0xc5558d instanceof Int32Array||_0xc5558d instanceof Uint32Array||_0xc5558d instanceof Float32Array||_0xc5558d instanceof Float64Array)&&(_0xc5558d=new Uint8Array(_0xc5558d[_0x49d106(0x1fc)],_0xc5558d[_0x49d106(0x3b9)],_0xc5558d[_0x49d106(0x2e6)])),_0xc5558d instanceof Uint8Array){for(var _0x5d5b6d=_0xc5558d[_0x49d106(0x2e6)],_0x52ae78=[],_0x38fbc3=0x0;_0x38fbc3<_0x5d5b6d;_0x38fbc3++)_0x52ae78[_0x38fbc3>>>0x2]|=_0xc5558d[_0x38fbc3]<<0x18-_0x38fbc3%0x4*0x8;_0x4b0048['call'](this,_0x52ae78,_0x5d5b6d);}else _0x4b0048['apply'](this,arguments);};_0x4d856d['prototype']=_0x13f325;}}()),_0x353116[_0x338802(0x334)][_0x338802(0x445)];}));}(Re)),Re['exports'];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe['exports'],lt;function mi(){return lt||(lt=0x1,function(_0x48651e,_0x3b0f3c){(function(_0x57e4e3,_0x5b86ae,_0x4ddf14){var _0x5e4eca=_0x572c;_0x48651e[_0x5e4eca(0x371)]=_0x5b86ae(ee(),At());}(pi,function(_0x4f135b){var _0x29130d=_0x572c;return _0x4f135b[_0x29130d(0x1d4)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4f135b[_0x29130d(0x1d4)][_0x29130d(0x213)];}));}(Oe)),Oe['exports'];}var gi=mi();const Ii=fe(gi);function Ei(_0x6127f4,_0x5a5bbf){var _0x205d70=_0x5a0058;const _0x2e755e=_0x5a5bbf-_0x6127f4[_0x205d70(0x455)]%_0x5a5bbf,_0x4b4ced=String[_0x205d70(0x25f)](_0x2e755e)[_0x205d70(0x178)](_0x2e755e);return _0x6127f4+_0x4b4ced;}function Ci(_0x215858,_0x4ec254){var _0x4dd30a=_0x5a0058;const _0x17591c=Si[_0x4dd30a(0x26e)](0x10),_0x57e5a3=Ei(_0x215858,0x10),_0xc6c7df=ai[_0x4dd30a(0x3b4)](ui[_0x4dd30a(0x245)](_0x57e5a3),at['parse'](_0x4ec254),{'iv':_0x17591c,'padding':Ii});return _0x17591c[_0x4dd30a(0x3e9)](_0xc6c7df[_0x4dd30a(0x288)])[_0x4dd30a(0x32e)](at);}function _0x3a31(){var _0x2390fa=['_httpService','create','exports','RETRY_CONNECTING_MAX_COUNT_KEY','createEncryptor','Base64','toDisposable','csRejEvent','getImage','AES','_socketMessageSubscription','onRemoteRej','randomUUID','now','ALREADY_EXISTS','has','memberID','_socket$','_nDataBytes','_roomMembers','_scheduleCompleteTimestamp','mergeOverrideWithDependencies','ISocketService','ITransformService','firstValueFrom','startsWith','init','INGEST','RxDisposable','session','extend','Undefined','updateOfflineData','setShowComponents','$super','\x20to\x20','DEFAULT_COLLAB_WEB_SOCKET_URL','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','COMMENT_UPDATE','rxjs','awaiting_with_pending','listRoles','_key','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','next','join','UnitSnapshot','randomBytes','ImageUploadStatusType','localeService','OPTIONAL','joinEvent','SheetsSelectionsService','revision','_data','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_tryEnsureSocket','avatar','image/png','b64DecodeUnicode','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/rev/','_event$','batchAllowed','localCacheService','UPDATE_PERMISSION_OBJ','@univerjs-pro/collaboration','sendChangesetTimeout','_process','encrypt','_getUndoStack','error','requestParams','HEARTBEAT_INTERVAL_KEY','byteOffset','saveSnapshot','touchDependencies','_onUserJoin','SUBMIT_CHANGESET_TIMEOUT','RECV','connection\x20error','subject','LocaleService','HTTPService','_sender','_state','snapshotServerUrl','msCrypto','getFocusedUnit','_config','SnapshotService','Inject','APPLY_PERMISSION_DENIED','image/bmp','ws://127.0.0.1:8000/universer-api/comb/connect','BlockCipher','call','?url=','setWaitCount','42159IREtgC','_getLoginPath','find','HEARTBEAT_TIMEOUT','initWorkbookPermissionChange','_joinRoom','UniverCollaborationClientPlugin','toggleOnline','compose','_exhaustRemoteChangesetQueue','reverse','conflict','processBlock','_updateLocalCache','set','fetchThroughInterceptors','getUnitType','_authzIoService','ivSize','mode','_iKey','MD5','/-/object/list','concat','_HTTPService','_fetchMissChangesets','_getCurrentRevision','searchParams','awaiting','/object','getGlobalObject','encode','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','sessionStatus','ILogService','enc','/unit/','_transformRemoteChangesetByStateCache','objectType','_parse','_instanceService','_oKey','socket\x20close','patch','_clearHeartbeatTimer','_collaborationPaused','onTransformSelections','_transformSelections','function','executeCommand','_unitInfo$','OTHER_CLIENT_EDITING','allowed','PERSON','collabSubmitChangesetUrl','getValue','auth.needGotoLoginAlert','onCommentUpdate','_onCombEvent','PERMISSION_DENIED','UNIVER_UNKNOWN','MUTATION','onRemoteRetry','execute','/new_changes','_singleActiveUnitService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','UUID','sessionTicket','collaboratorID','_candidateSocket','_sessions','_substituteUndoStack','UPDATE_CURSOR','changesets','_changesetSessionId','_pendingMutations','_snapshotServerService','clone','_getDownloadEndpointURL','_onMessage','FetchingMissState','HttpExport','LICENSE_DISTRO_REJECTED','subscribe','_shouldReportTelemetry','_substituteRedoStack','status','/fetchmissing?from=','ConflictState','compute','members$','fetching\x20missing\x20changesets\x20from\x20','CHANGESET_ACK','_http','telemetry\x20info\x20is\x20not\x20initialized','_reverseMap','INTERNAL_ERROR','FETCH_MISSING','apply','_awaitingChangeset','UniverNetworkPlugin','delete','unsubscribe','post','_onRemoteChangeset','_getSendChangesetTimeout','SHA1','fromCollab','IConfigService','OTHER_CLIENTS_EDITING','dispose','_onRemoteRetry','SYNCED','NO_OTHER_CLIENTS_EDITING','WordArray','SUBMIT_CHANGESET','[CollaborationSession]','reqId','_transformStack','DEFAULT_FILE_NAME','stringify','NOT_FOUND','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','fetchMissingChangesets','liveShareOperation','@univerjs/network','pauseCollaboration','reduce','unitInfo$','_onRemoteRejected','length','list','PERMISSION_REJ','_updateState','/collaborator','authzUrl','setConfig','_startTelemetryCollaborationNewChangeset','\x0aCurrent:\x20','/universer-api/snapshot/','FileId','map','retryConnectingInterval','275055JKvDzk','getMember','_onUserLeave','APPLY_REVISION_CONFILICT','SetSelectionsOperation','rev','/universer-api/snapshot','_isPermissionRej','InsertSheetMutation','pending','_timeoutTimer','JOIN','[OfflineState]:\x20received\x20rejection.','SHOULD_CLOSE_CONN','registerDependencies','_getSessionTicket','url','reject','USERS_ENTER','UserManagerService','@univerjs/docs','\x20in\x20_schedule.','_collaborationSessionService','_createHmacHelper','_change$','BlockCipherMode','_resendTimer','LIVESHARE_REQUEST_HOST','[CollaborationState]:\x20apply\x20error!','commentUpdate$','BufferedBlockAlgorithm','SNAPSHOT_INVALID_SNAPSHOT','YUUMI_UNABLE_LOAD_URL','_unitID','loadUnit','interceptor','_sheetTransformSelectionsService','target','ICommandService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','pipe','_toggleOnline','SNAPSHOT_SERVER_URL_KEY','_collaborationTimeoutTimer','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','HELLO','takeUntil','c1Prime','emitEvent','dispose$','DocCollaborationEntity','generateRandomId','href','parseChangesetToProtocol','collaboration-client.local-cache-service','IPermissionService','getInterceptPoints','updateCursorEvent','status$','_createInitialStateImpl','_commandService','_undoStacks','_onRemoteACK','search','Univer','updatePermissionPoint','_createHandler','_eventService','addHandlerCallback','registerHTTPInterceptor','@univerjs/telemetry','hasOwnProperty','getTypeOfUnitDisposed$','location','&source=','_hasher','_sessionStatus$','message$','update','routeKey','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Pkcs7','SheetPermissionInitController','ThresholdInterceptorFactory','origin','slice','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','key','_configService','Encryptor','UNIVER_SHEET','CollaborativeUndoRedoService','DataLoaderService','_incrementRevisionNumber','_remoteChangesetQueue','SEND_CHANGESET_TIMEOUT_KEY','JSONX','textEncoder','AUTHZ_URL_KEY','ISnapshotServerService','defineProperty','createIdentifier','_status$','synced','onTransformState','CLOSE_ROOM','CollaborationSessionService','_transformIMECache','readAsDataURL','loginUrlKey','SNAPSHOT_URL_KEY','loadSheet','m2Prime','collaboration_new_changeset','CONNECTOR_DATA_TOO_LARGE','createCollaborator','ONLINE','string','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','Plugin','getCurrentRevOfUnit','Tools','_members$','entityInit$','_transformStateCache','LIVESHARE_TERMINATE','_throwTelemetryCollaborationNewChangeset','reconnect','code','close$','_handler','_sendHeartbeatTimer','_ENC_XFORM_MODE','{fileID}','_map','_clearScheduledTask','&to=','_keyPriorReset','range','newCsEvent','ticket','NEW_CHANGESETS','serializeCombRequest','getTypeOfUnitAdded$','getLatestCsReqIdBySid','encodeURIComponent','UNIVER_SLIDE','textRanges','_entityInit$','mixIn','JOIN_ROOM_PERMISSION_DENIED','UNDEFINED','onTransformIME','APPLY_DUPLICATED','toggleOffline','repeat','_listenToNetworkCondition','SerializableCipher','_nRounds','params','_getAPIPrefixPath','COMPLETION_FINISHED','_waitCount','shareReplay','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','FAIL','_getUploadFileURL','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IUniverInstanceService','transformMutationsWithChangeset','[FetchMissState]','_getAPIPrefix','_doFinalize','_invKeySchedule','override','_logService','HmacMD5','LOGIN_URL_KEY','data','getUnit','disableLocalCache','_retryConnectingTimer','symbol','_initUnitPermissionChange','change$','_createSocketURL','DisposableCollection','_initMergeInterceptor','SNAPSHOT_HAS_BEEN_REMOVED','state','_prevBlock','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','@univerjs/sheets','_onConflict','prototype','_commentUpdate$','EvpKDF','unknown','abs','JOIN_ROOM_FAILED','PendingState','state$','onMissedChangesetFetched','_collaborationUIEventService','indexOf','[SyncedState]:\x20received\x20acknowledgement.','fetchMiss','fetch_missing','action','confirm','permissionRejEvent','onTransformRemoteChangesetByStateCache','values','sheets','actions','src','_onConnectionFailed','name','/universer-api/uniscript','CollaborationImageIoService','AwaitingState','ceil','BASE64','file','_DEC_XFORM_MODE','_onOffline','bind','UniverInstanceType','splice','csAckEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','get','PasswordBasedCipher','not_collab','LOCAL_CACHE_INTERVAL','CONFLICT','title','RETRY_CONNECTING_MAX_COUNT','_doReset','baseRev','json','sigBytes','cmd','roomInfos','_injector','resourceIDs','_commentService','pad','CollaborationSession','ISingleActiveUnitService','removeMember','image/jpg','event$','CHANGESET_REJ','getTime','deleteCollaborator','withCredentials','_clearTimeoutTimer','getCollabEntity$','unitID','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','__esModule','_telemetryInfo','_tryReconnect','onlyLocal','AWAITING','getResourcesRequest','CollaborationEntity','editingUnit','LICENSE_EXPORT_SIZE_EXCEEDED','CollaborationEvent','APPLY_REJECT','method','HEARTBEAT_TIMEOUT_KEY','_loadSheet','UNISCRIPT_RUN','APPLY_NON_SEQUENTIAL_REVISION','_minBufferSize','_transformRemoteChangesetByIMECache','_state$','SessionStatus','_unlockTransition','isTransformChangesetsSuccess','_revisionService','sid','_changesetReqId','workbook','buffer','enableOfflineEditing','TOO_MANY_REQUESTS','_scheduleCollaborationTimeoutTimer','CompressMutationService','_executeRemoteChangeset','_init','delay','toStringTag','COLLAB_SUBMIT_CHANGESET_URL','_keySchedule','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_networkConditionService','wsSessionTicketUrl','324764HnvnkD','refreshPermission','forEach','PSEUDO_FETCH_MISSING_RESULT','_type','finalize','resolve','waitForRoom$','__Key__','NoPadding','UNRECOGNIZED','appendMutation','objectID','_clearRedo','updateMember','filter','_rescheduleHeartbeat','onLocalMutation','signUrlServerUrl','_emitMembers','salt','Cipher','\x0aAfter:\x20','_mode','error$','ITelemetryService','createInstance','HEARTBEAT','IAuthzIoService','/-/object/-/batch_allowed','transformChangesets','HEARTBEAT_INTERVAL','failed\x20to\x20apply\x20missed\x20changesets!','size','commentUpdateEvent','[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.','_compressMutationService','updatePermissionObjEvent','offline','JOINING','SOCKET_FAILED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_retryCount','_socketService','RevisionService','CHANGESET_REVISION_CONFILICT','collaborators','_startCollaboration','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','isArray','_socketReady','saveImage','_applyRemoteChangeset','hostname','_onLocalMutation','readInt32LE','SheetCollaborationEntity','uniscriptRunEvent','UnitStatus','parse','_getCtorByUniverType','getLocalCacheKey','enableAuthServer','CipherParams','awaitingChangeset','image/jpeg','@univerjs/drawing','BehaviorSubject','_imageSourceCache','body','GLOBAL_ROOMS_CNT_EXCEEDS','pluginName','roles','collaboration-client.config','ILocalCacheService','encryptBlock','Workbook','UnitEmbedded','c2Prime','reset','loadOfflineData','[OfflineState]:\x20received\x20acknowledgement.','iterations','ReplaySubject','SOCKET_FAILED_RETRY','fromCharCode','ERROR_IMAGE','getUnitStatus$','_snapshotService','every','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','[CollaborationUndoRedoService]','requireSession','_stopTelemetryCollaborationNewChangeset','selections','getSnapshotAPIPath','headers','_members','_checkMissing','submit\x20changeset\x20error!','random','_replayCachedMutations','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','stopTime','onTransformRemoteChangesetByIMECache','asObservable','_handlerCallback','clamp','_cipher','HMAC','LIVESHARE_FETCH_OPERATIONS','OfflineState','_createHelper','getSheetBlock','csShouldRetryEvent','8hcHquq','USERS_LEAVE','_transitionLocked','_lockTransition','CollaborationSocketService','_updateStatus','session.room-full','leaveEvent','deepClone','UNIVER_DOC','576751HwvUlL','ciphertext','_transformService','COMPRESS_MUTATION_SEND','mutations','put','[CollaborationSessionService]','ERROR_EXCEED_SIZE','push','crypto','UNKNOWN_CMD','OpenSSL','[OfflineState]:\x20received\x20changeset.','JOIN_ROOM_NOT_EXISTS','_resendTimeout','EmptyMutation','UNIVER_COLLABORATION_CLIENT_PLUGIN','transformStack\x20failed!','debug','UNIVER_PROJECT','IUndoRedoService','charCodeAt','/universer-api/oidc/authpage','76YcFktm','Base','/universer-api/comb','AuthzIoHttpService','CBC','_createInitialState','originalMeta','_userManagerService','collabWebSocketUrl','&assign=','/universer-api/user/session-ticket','INVALID_ARGUMENT','ENSURE_SNAPSHOT_EXECUTION','univer-pro.collaboration-client-socket-service','hasher','459624iHTzMh','MSG_FOR_ERROR','_permissionService','type','getMemberID','UNAUTHENTICATED','MemberService','LICENSE_MAX_UNITS_EXCEEDED','_transformUndoredo','getUnitId','_removeRoom','kdf','Hasher','LIVESHARE_OPERATION','_registerDependencies','PENDING','incrementRevOfUnit','cfg','result','take','snapshot','WorkbookEditablePermission','unitId\x20is\x20not\x20found','CollaborationStatus','ICollaborationSocketService','isTransformMutationsWithChangesetFailure','SheetTransformSelectionsService','findIndex','_submitChangeset','getOwnPropertyDescriptor','_resendWithTimeout','unitId','_undoRedoService','OFFLINE','SyncedState','decryptBlock','_clearLocalCache','userID','setCurrentUser','sessionStatus$','merge','save\x20fail\x20reason\x20is\x20','\x20-\x20','CHANGESET_SHOULD_RETRY','1450323QAajYw','getCollabEntity','blockSize','onSendChangeset','_syncEditingCollabCursor','sin','Quantity','Utf8','_sendingTimer','_loadDoc','_socket','SEND_CHANGESET_TIMEOUT','close','byteLength','session.room-cnt-exceeds','[CollaborationSessionService]:\x20socket\x20error','runId','getCurrentSelections','[PendingState]:\x20received\x20acknowledgement.','[CollaborationEntity]','LOCAL_CACHE_INTERVAL_KEY','copyFileMeta','_xformMode','DependentOn','image/gif','JOIN_ROOM_FULL','/resources','_doCryptBlock','HttpImport','CommandType','onRemoteAck','ImageSourceType','add','then','/object/','format','YUUMI_SUBSCRIPTION_NOT_FOUND','open$','isTransformMutationsWithChangesetSuccess','onSyncEditingCollabCursor','_telemetryService','session.room-permission-denied','Injector','MergeInterceptorFactory','rxjs/operators','/universer-api/stream/file/upload','CollaborationController','COLLAB_WEB_SOCKET_URL_KEY','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_redoStacks','POST','_initCloseConn','_createSocket','socket\x20open.','_decreaseWaiting','append','_getRedoStack','responseType','LEAVE','/universer-api/authz','_localCacheService','_schedule','_queuedRemoteChangesets','UniverCollaborationPlugin','_disableEditing','default','Decryptor','_clearUndo','UNKNOWN_CODE','_append','IDLE','onload','algo','COMPRESS_MUTATION_APPLY','downloadEndpointUrl','padding','10265cDqgAl','YUUMI_URL_COL_OUT_OF_RANGE','_localeService','collaMsg','_roomCreated$','_collabSessionService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','clear','MentionIoHttpService','toString','getConfig','_memberService','univer-pro.collaboration-client.network-condition.service','editing\x20status\x20changed\x20to','_entities','lib','_acknowledgedAwaitingChangeset','_sendHeartbeat','Subject','[DataLoaderService]','/allowed','_clearCollaborationTimeoutTimer','_onRecvEvent','RichTextEditingMutation','min','max','onRemoteChangeset','_onFetchMissResult','getCurrentUser','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','disposeWithMe','SUCCUSS','_showConflictNotification','LIVESHARE_NEW_HOST','session.join-failed','_hash','CollaborationUIEventId','words','@univerjs-pro/license','catch','toLowerCase','_univerInstanceService','_replaceFileID','isInternalEditorID','send','INetworkConditionService','focused$','onCommandExecuted','createSocket','isPermissionRej','getUnitOnRev','transformUndoRedo','_toggleOffline','getRandomValues','COLLAB_SUBMIT_CHANGESET_URL_KEY','resend','enableSingleActiveInstanceLock','AwaitingWithPendingState','_initDependencies','PY_RUNTIME_SCRIPT_ERROR','eventID','SnapshotServerOverHTTPService','keySize','parseProtocolChangeset','_onConnectionOpen','socketService','charAt','Optional','__creator','/block/','Disposable','_iv','complete','floor'];_0x3a31=function(){return _0x2390fa;};return _0x3a31();}function Ti(){var _0x155d01=_0x5a0058;const _0x2366c3=$t[_0x155d01(0x3f0)]()[_0x155d01(0x212)];if(_0x2366c3){const _0x170315={'time':Math[_0x155d01(0x36e)](Date['now']()/0x3e8),'domain':location[_0x155d01(0x23f)]};return Ci(JSON[_0x155d01(0x44b)](_0x170315),_0x2366c3);}}var bi=Object['defineProperty'],Ri=Object[_0x5a0058(0x2ca)],Oi=(_0x5bff76,_0x3b8bc8,_0x273f26,_0xd257f8)=>{var _0x289752=_0x5a0058;for(var _0x27763e=_0xd257f8>0x1?void 0x0:_0xd257f8?Ri(_0x3b8bc8,_0x273f26):_0x3b8bc8,_0x5a4863=_0x5bff76[_0x289752(0x455)]-0x1,_0x7e0bc1;_0x5a4863>=0x0;_0x5a4863--)(_0x7e0bc1=_0x5bff76[_0x5a4863])&&(_0x27763e=(_0xd257f8?_0x7e0bc1(_0x3b8bc8,_0x273f26,_0x27763e):_0x7e0bc1(_0x27763e))||_0x27763e);return _0xd257f8&&_0x27763e&&bi(_0x3b8bc8,_0x273f26,_0x27763e),_0x27763e;},yi=(_0x24de0b,_0x3ff637)=>(_0x1257c9,_0x3712b2)=>_0x3ff637(_0x1257c9,_0x3712b2,_0x24de0b);let Ne=class{constructor(_0x52edd4){var _0x18a49f=_0x5a0058;this[_0x18a49f(0x36f)]=_0x52edd4,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x35ce99=_0x5a0058;this['_httpService'][_0x35ce99(0x122)]({'interceptor':(_0x2a6fdf,_0x3d27ae)=>{var _0x52cb93=_0x35ce99;const _0x290d55=_0x2a6fdf[_0x52cb93(0x26a)],_0x50cfdb=Ti();return _0x50cfdb&&_0x290d55['set']('x-univer-host',_0x50cfdb),_0x3d27ae(_0x2a6fdf);}});}};Ne=Oi([yi(0x0,a['Inject'](q['HTTPService']))],Ne);var Ni=Object[_0x5a0058(0x141)],Ui=Object[_0x5a0058(0x2ca)],Pi=(_0xb3dcd5,_0x291c24,_0x210ef6,_0x54c1da)=>{var _0xc2a2e1=_0x5a0058;for(var _0x5de9c5=_0x54c1da>0x1?void 0x0:_0x54c1da?Ui(_0x291c24,_0x210ef6):_0x291c24,_0x26acbc=_0xb3dcd5[_0xc2a2e1(0x455)]-0x1,_0x16b891;_0x26acbc>=0x0;_0x26acbc--)(_0x16b891=_0xb3dcd5[_0x26acbc])&&(_0x5de9c5=(_0x54c1da?_0x16b891(_0x291c24,_0x210ef6,_0x5de9c5):_0x16b891(_0x5de9c5))||_0x5de9c5);return _0x54c1da&&_0x5de9c5&&Ni(_0x291c24,_0x210ef6,_0x5de9c5),_0x5de9c5;},Me=(_0x3e42a6,_0x5a55d3)=>(_0x32aae4,_0x8fec40)=>_0x5a55d3(_0x32aae4,_0x8fec40,_0x3e42a6);exports[_0x5a0058(0x139)]=class extends a['RxDisposable']{constructor(_0x18abf9,_0x47f9fa,_0x1db790){var _0x58ac9a=_0x5a0058;super(),D(this,_0x58ac9a(0x404),new H[(_0x58ac9a(0x24d))](null)),D(this,_0x58ac9a(0x453),this[_0x58ac9a(0x404)][_0x58ac9a(0x273)]()),(this[_0x58ac9a(0x18c)]=_0x18abf9,this['_snapshotService']=_0x47f9fa,this[_0x58ac9a(0x315)]=_0x1db790);}async[_0x5a0058(0x484)](_0xd419da,_0x4373a7,_0x180b97){var _0x19e890=_0x5a0058;this[_0x19e890(0x404)][_0x19e890(0x39b)]({'unitId':_0xd419da,'type':_0x4373a7,'subUnitId':_0x180b97});let _0x954b39=null;switch(_0x4373a7){case Z['UNIVER_SHEET']:{_0x954b39=await this['_loadSheet'](_0xd419da);break;}case Z[_0x19e890(0x286)]:{_0x954b39=await this[_0x19e890(0x2e2)](_0xd419da);break;}default:{this[_0x19e890(0x18c)][_0x19e890(0x3b6)](_0x19e890(0x338),_0x19e890(0x3ab));break;}}return _0x954b39;}async[_0x5a0058(0x1ef)](_0x40bbc8){var _0x1c132a=_0x5a0058,_0x5b26c3;let _0x5a8c4b=0x0;const _0x543181=await((_0x5b26c3=this['_localCacheService'])==null?void 0x0:_0x5b26c3['loadOfflineData'](_0x40bbc8));return _0x543181&&(_0x543181['awaitingChangeset']||_0x543181[_0x1c132a(0x28b)]['length']!==0x0)&&(_0x5a8c4b=_0x543181[_0x1c132a(0x467)]),_0x5a8c4b===0x0&&this['_logService'][_0x1c132a(0x299)](_0x1c132a(0x338),_0x1c132a(0x1c3)),this[_0x1c132a(0x262)][_0x1c132a(0x14c)](_0x40bbc8,_0x5a8c4b);}async['_loadDoc'](_0x4336ff){var _0x344ca1=_0x5a0058,_0x2766e7;let _0x533fbc=0x0;const _0xd362ba=await((_0x2766e7=this[_0x344ca1(0x315)])==null?void 0x0:_0x2766e7['loadOfflineData'](_0x4336ff));return _0xd362ba&&(_0xd362ba[_0x344ca1(0x24a)]||_0xd362ba[_0x344ca1(0x28b)]['length']!==0x0)&&(_0x533fbc=_0xd362ba[_0x344ca1(0x467)]),_0x533fbc===0x0&&this['_logService'][_0x344ca1(0x299)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x344ca1(0x262)]['loadDoc'](_0x4336ff,_0x533fbc);}},exports[_0x5a0058(0x139)]=Pi([Me(0x0,a['ILogService']),Me(0x1,a[_0x5a0058(0x3ca)](m[_0x5a0058(0x3c9)])),Me(0x2,a[_0x5a0058(0x368)](z))],exports['DataLoaderService']);var Di=Object[_0x5a0058(0x141)],wi=Object[_0x5a0058(0x2ca)],Ai=(_0x5eb04d,_0x6bbfd1,_0x310f61,_0x216088)=>{var _0x57b286=_0x5a0058;for(var _0x22fbb7=_0x216088>0x1?void 0x0:_0x216088?wi(_0x6bbfd1,_0x310f61):_0x6bbfd1,_0xa0f434=_0x5eb04d[_0x57b286(0x455)]-0x1,_0x1e87dd;_0xa0f434>=0x0;_0xa0f434--)(_0x1e87dd=_0x5eb04d[_0xa0f434])&&(_0x22fbb7=(_0x216088?_0x1e87dd(_0x6bbfd1,_0x310f61,_0x22fbb7):_0x1e87dd(_0x22fbb7))||_0x22fbb7);return _0x216088&&_0x22fbb7&&Di(_0x6bbfd1,_0x310f61,_0x22fbb7),_0x22fbb7;},xe=(_0x1b2d72,_0x4b0490)=>(_0x2a4287,_0x38fdc9)=>_0x4b0490(_0x2a4287,_0x38fdc9,_0x1b2d72);const Li=[_0x5a0058(0x3a9),_0x5a0058(0x24b),_0x5a0058(0x1d8),_0x5a0058(0x2f1),_0x5a0058(0x3cc)],Mi=0x5*0x400*0x400,xi=_0x5a0058(0x342),ji=_0x5a0058(0x306),$i=_0x5a0058(0x3a6),Hi='/universer-api/file/{fileID}/sign-url';exports[_0x5a0058(0x1b8)]=class{constructor(_0x53b620,_0x29873c,_0xbc6152){var _0x314285=_0x5a0058;D(this,_0x314285(0x17f),0x0),D(this,_0x314285(0x47a),new H[(_0x314285(0x337))]()),D(this,_0x314285(0x195),this['_change$']),D(this,_0x314285(0x24e),new Map()),(this[_0x314285(0x36f)]=_0x53b620,this[_0x314285(0x135)]=_0x29873c,this[_0x314285(0x34e)]=_0xbc6152);}[_0x5a0058(0x3d1)](_0x39549c){var _0x9175c5=_0x5a0058;this[_0x9175c5(0x17f)]=_0x39549c,this[_0x9175c5(0x47a)]['next'](_0x39549c);}['getImageSourceCache'](_0x190ec6,_0x40ca20){var _0x8034a9=_0x5a0058;if(_0x40ca20===X[_0x8034a9(0x2f8)][_0x8034a9(0x1bb)]){const _0x4698a8=new Image();return _0x4698a8[_0x8034a9(0x1b4)]=_0x190ec6,_0x4698a8;}return this['_imageSourceCache'][_0x8034a9(0x1c4)](_0x190ec6);}['addImageSourceCache'](_0x4f37ff,_0x2530f5,_0xaa799){var _0x1ca09a=_0x5a0058;_0x2530f5===X['ImageSourceType'][_0x1ca09a(0x1bb)]||_0xaa799==null||this['_imageSourceCache']['set'](_0x4f37ff,_0xaa799);}async[_0x5a0058(0x377)](_0x1884c1){var _0x26efd8=_0x5a0058;try{const _0x4c4e96=this['_replaceFileID'](this['_getSignURL'](),''+_0x1884c1),_0x3a95e0=(await this[_0x26efd8(0x36f)][_0x26efd8(0x1c4)](_0x4c4e96))['body'];if(_0x3a95e0['error']&&_0x3a95e0[_0x26efd8(0x3b6)][_0x26efd8(0x15d)]===Tt['OK']){const _0x5de0d5=new URL(_0x3a95e0['url'],this[_0x26efd8(0x421)]())[_0x26efd8(0x32e)]();return Promise[_0x26efd8(0x210)](_0x5de0d5);}return Promise['reject'](_0x3a95e0['error']);}catch(_0x1c423e){return Promise[_0x26efd8(0x473)](_0x1c423e);}}async[_0x5a0058(0x23d)](_0x198559){var _0x1f81cf=_0x5a0058;let _0x3bcab2='';if(!Li['includes'](_0x198559[_0x1f81cf(0x2b0)]))return this[_0x1f81cf(0x30f)](),Promise[_0x1f81cf(0x473)](new Error(X[_0x1f81cf(0x39f)]['ERROR_IMAGE_TYPE']));if(_0x198559['size']>Mi)return this[_0x1f81cf(0x30f)](),Promise[_0x1f81cf(0x473)](new Error(X[_0x1f81cf(0x39f)][_0x1f81cf(0x28e)]));try{const _0x49ef89=new FormData();_0x49ef89[_0x1f81cf(0x310)](_0x1f81cf(0x1bc),_0x198559);const _0x33cb6b=this[_0x1f81cf(0x34e)][_0x1f81cf(0x3c7)](),_0x8fcaf4=_0x33cb6b==null?void 0x0:_0x33cb6b['getUnitId']();if(!_0x8fcaf4)throw new Error(_0x1f81cf(0x2c3));const _0x2a11de=this[_0x1f81cf(0x183)]()+'?size='+_0x198559[_0x1f81cf(0x22b)]['toString']()+_0x1f81cf(0x127)+bt[_0x1f81cf(0x257)]+_0x1f81cf(0x2a7)+encodeURIComponent(_0x8fcaf4),_0x1df3e0=await(await fetch(_0x2a11de,{'method':'POST','body':_0x49ef89}))[_0x1f81cf(0x1cd)]();if(typeof _0x1df3e0[_0x1f81cf(0x45f)]!=_0x1f81cf(0x152))return this['_decreaseWaiting'](),Promise['reject'](new Error(X[_0x1f81cf(0x39f)][_0x1f81cf(0x260)]));_0x3bcab2=_0x1df3e0[_0x1f81cf(0x45f)];}catch{return this[_0x1f81cf(0x30f)](),Promise[_0x1f81cf(0x473)](new Error(X['ImageUploadStatusType'][_0x1f81cf(0x260)]));}return new Promise((_0x24d563,_0x46a37c)=>{var _0xb2731c=_0x1f81cf;const _0x2f724f=new FileReader();_0x2f724f[_0xb2731c(0x149)](_0x198559),_0x2f724f[_0xb2731c(0x320)]=_0x4b1de8=>{var _0x288a7d=_0xb2731c,_0x380800;const _0x4d8026=(_0x380800=_0x4b1de8[_0x288a7d(0x487)])==null?void 0x0:_0x380800[_0x288a7d(0x2bf)];if(_0x4d8026==null){this[_0x288a7d(0x30f)](),_0x46a37c(new Error(X[_0x288a7d(0x39f)][_0x288a7d(0x260)]));return;}const _0x43fc9c=a[_0x288a7d(0x156)][_0x288a7d(0x110)](0x6);_0x24d563({'imageId':_0x43fc9c,'imageSourceType':X[_0x288a7d(0x2f8)][_0x288a7d(0x415)],'source':_0x3bcab2,'base64Cache':_0x4d8026,'status':X[_0x288a7d(0x39f)][_0x288a7d(0x344)]}),this[_0x288a7d(0x30f)]();};});}[_0x5a0058(0x183)](){var _0xee6b3=_0x5a0058,_0x51fe94,_0x1ebc05;const _0x5dc0b2=this[_0xee6b3(0x135)][_0xee6b3(0x32f)](xi),_0x2d8a87=this[_0xee6b3(0x135)][_0xee6b3(0x32f)](Y);return(_0x1ebc05=(_0x51fe94=_0x2d8a87==null?void 0x0:_0x2d8a87['uploadFileServerUrl'])!=null?_0x51fe94:_0x5dc0b2)!=null?_0x1ebc05:ji;}['_getSignURL'](){var _0x2adad1=_0x5a0058,_0xc0371c,_0x2f6c1e;const _0xb7ecb0=this[_0x2adad1(0x135)][_0x2adad1(0x32f)]($i),_0xe18e7d=this[_0x2adad1(0x135)][_0x2adad1(0x32f)](Y);return(_0x2f6c1e=(_0xc0371c=_0xe18e7d==null?void 0x0:_0xe18e7d[_0x2adad1(0x21c)])!=null?_0xc0371c:_0xb7ecb0)!=null?_0x2f6c1e:Hi;}[_0x5a0058(0x421)](){var _0x5cae4f=_0x5a0058,_0x4cfe29;const _0x45385a=this[_0x5cae4f(0x135)][_0x5cae4f(0x32f)](Y);return(_0x4cfe29=_0x45385a==null?void 0x0:_0x45385a[_0x5cae4f(0x323)])!=null?_0x4cfe29:location[_0x5cae4f(0x131)];}[_0x5a0058(0x34f)](_0x3ac65d,_0x2f1c16){var _0x4cc295=_0x5a0058;return _0x3ac65d['replace'](_0x4cc295(0x162),_0x2f1c16);}[_0x5a0058(0x30f)](){var _0x170222=_0x5a0058;this[_0x170222(0x17f)]-=0x1,this[_0x170222(0x47a)][_0x170222(0x39b)](this[_0x170222(0x17f)]);}},exports[_0x5a0058(0x1b8)]=Ai([xe(0x0,a[_0x5a0058(0x3ca)](q['HTTPService'])),xe(0x1,a[_0x5a0058(0x43f)]),xe(0x2,a['Inject'](a[_0x5a0058(0x185)]))],exports[_0x5a0058(0x1b8)]);var ki=Object[_0x5a0058(0x141)],Bi=Object[_0x5a0058(0x2ca)],Fi=(_0x23fbac,_0x4b6549,_0x4e3e4c,_0x54bd85)=>{for(var _0x471db8=_0x54bd85>0x1?void 0x0:_0x54bd85?Bi(_0x4b6549,_0x4e3e4c):_0x4b6549,_0x33b208=_0x23fbac['length']-0x1,_0x29b104;_0x33b208>=0x0;_0x33b208--)(_0x29b104=_0x23fbac[_0x33b208])&&(_0x471db8=(_0x54bd85?_0x29b104(_0x4b6549,_0x4e3e4c,_0x471db8):_0x29b104(_0x471db8))||_0x471db8);return _0x54bd85&&_0x471db8&&ki(_0x4b6549,_0x4e3e4c,_0x471db8),_0x471db8;},_t=(_0x5edc93,_0x51860a)=>(_0x655931,_0x4281b7)=>_0x51860a(_0x655931,_0x4281b7,_0x5edc93);const Wi=_0x5a0058(0x314);exports['MentionIoHttpService']=class{constructor(_0x154049,_0x1def7c){var _0xa32900=_0x5a0058;this[_0xa32900(0x135)]=_0x154049,this[_0xa32900(0x3ea)]=_0x1def7c;}[_0x5a0058(0x17d)](){var _0x2b9166=_0x5a0058,_0x882172,_0x2f1a8d;const _0x2c2229=this[_0x2b9166(0x135)][_0x2b9166(0x32f)](Ve),_0x450f9e=this[_0x2b9166(0x135)]['getConfig'](Y);return(_0x2f1a8d=(_0x882172=_0x450f9e==null?void 0x0:_0x450f9e[_0x2b9166(0x45a)])!=null?_0x882172:_0x2c2229)!=null?_0x2f1a8d:Wi;}async[_0x5a0058(0x456)](_0x3bdcfa){var _0x2bf5cf=_0x5a0058;const _0x19a3db=this[_0x2bf5cf(0x17d)]()+_0x2bf5cf(0x459);return{'list':[{'title':'People','mentions':(await this[_0x2bf5cf(0x3ea)][_0x2bf5cf(0x1c4)](_0x19a3db,{'params':{'objectID':_0x3bdcfa[_0x2bf5cf(0x2cc)],'unitID':_0x3bdcfa[_0x2bf5cf(0x2cc)]}}))[_0x2bf5cf(0x24f)][_0x2bf5cf(0x238)][_0x2bf5cf(0x460)](_0x2644e2=>({'objectId':_0x2644e2['id'],'name':_0x2644e2[_0x2bf5cf(0x3c0)][_0x2bf5cf(0x1b6)],'metadata':{'icon':_0x2644e2['subject'][_0x2bf5cf(0x3a8)]},'label':_0x2644e2[_0x2bf5cf(0x3c0)][_0x2bf5cf(0x1b6)],'objectType':a['MentionType'][_0x2bf5cf(0x407)]})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0x5a0058(0x32d)]=Fi([_t(0x0,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x43f)])),_t(0x1,a[_0x5a0058(0x3ca)](q[_0x5a0058(0x3c2)]))],exports[_0x5a0058(0x32d)]);var Gi=Object[_0x5a0058(0x141)],Vi=Object[_0x5a0058(0x2ca)],Ki=(_0x426639,_0x800b82,_0x236770,_0x5b477c)=>{var _0x755eaf=_0x5a0058;for(var _0x552f4d=_0x5b477c>0x1?void 0x0:_0x5b477c?Vi(_0x800b82,_0x236770):_0x800b82,_0x28c435=_0x426639[_0x755eaf(0x455)]-0x1,_0x24f367;_0x28c435>=0x0;_0x28c435--)(_0x24f367=_0x426639[_0x28c435])&&(_0x552f4d=(_0x5b477c?_0x24f367(_0x800b82,_0x236770,_0x552f4d):_0x24f367(_0x552f4d))||_0x552f4d);return _0x5b477c&&_0x552f4d&&Gi(_0x800b82,_0x236770,_0x552f4d),_0x552f4d;},ce=(_0x4967d4,_0xa18510)=>(_0x229ec1,_0x38aa2b)=>_0xa18510(_0x229ec1,_0x38aa2b,_0x4967d4);let Ue=class extends a['RxDisposable']{constructor(_0x4fbd20,_0x4c4561,_0x5eb473,_0x454ef0,_0xaf03d5,_0xc4f379,_0x425210){var _0x2a53a1=_0x5a0058;super(),this[_0x2a53a1(0x1d1)]=_0x4fbd20,this['_univerInstanceService']=_0x4c4561,this[_0x2a53a1(0x2af)]=_0x5eb473,this[_0x2a53a1(0x478)]=_0x454ef0,this[_0x2a53a1(0x1a8)]=_0xaf03d5,this[_0x2a53a1(0x3e3)]=_0xc4f379,this['_undoRedoService']=_0x425210,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x5a0058(0x30c)](){var _0x5e4bd0=_0x5a0058;const _0x29fa83=async _0x6f79e2=>{var _0x450270=_0x572c;(await this[_0x450270(0x478)][_0x450270(0x266)](_0x6f79e2))[_0x450270(0x1d9)]['pipe'](W[_0x450270(0x219)](_0x192002=>_0x192002[_0x450270(0x361)]===m[_0x450270(0x1eb)][_0x450270(0x46f)]),W['takeUntil'](this[_0x450270(0x493)]))[_0x450270(0x426)](_0x40fffa=>{var _0x345719=_0x450270;const _0x3eccb1=_0x40fffa,{reason:_0x2e7a8d}=_0x3eccb1[_0x345719(0x18f)];this['_collaborationUIEventService'][_0x345719(0x492)]({'id':Q[_0x345719(0x146)],'data':_0x2e7a8d}),this[_0x345719(0x2af)][_0x345719(0x11e)](new J[(_0x345719(0x2c2))](_0x6f79e2)['id'],!0x1),this[_0x345719(0x478)]['closeSession'](_0x6f79e2);});};H[_0x5e4bd0(0x2d5)](this[_0x5e4bd0(0x34e)]['getTypeOfUnitAdded$'](a[_0x5e4bd0(0x1c0)][_0x5e4bd0(0x137)]),this[_0x5e4bd0(0x34e)][_0x5e4bd0(0x16c)](a['UniverInstanceType'][_0x5e4bd0(0x286)]))[_0x5e4bd0(0x48a)](W[_0x5e4bd0(0x460)](_0x3d9502=>_0x3d9502['getUnitId']()),W[_0x5e4bd0(0x219)](_0x5dabb4=>!a[_0x5e4bd0(0x350)](_0x5dabb4)),W[_0x5e4bd0(0x490)](this[_0x5e4bd0(0x493)]))[_0x5e4bd0(0x426)](_0x2f40c0=>{_0x29fa83(_0x2f40c0);});}[_0x5a0058(0x194)](){var _0x2639e7=_0x5a0058;const _0x45dc7a=async _0x42e725=>{var _0x4106e1=_0x572c;const _0x2c788a=await this['_collaborationSessionService'][_0x4106e1(0x266)](_0x42e725),_0x5c472a=this[_0x4106e1(0x1d1)][_0x4106e1(0x1c4)](J[_0x4106e1(0x12f)]);_0x2c788a[_0x4106e1(0x1d9)]['pipe'](W[_0x4106e1(0x219)](_0x498f62=>_0x498f62[_0x4106e1(0x361)]===m['CollaborationEvent'][_0x4106e1(0x3b0)]),W[_0x4106e1(0x490)](this[_0x4106e1(0x493)]))[_0x4106e1(0x426)](_0x577338=>{var _0x472456=_0x4106e1;const _0x4fffd8=_0x577338,{objectId:_0x3a2a00}=_0x4fffd8[_0x472456(0x18f)];_0x3a2a00===_0x42e725?_0x5c472a[_0x472456(0x3d6)](_0x42e725):_0x5c472a[_0x472456(0x20b)](_0x42e725,_0x3a2a00);});};H['merge'](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x2639e7(0x1c0)]['UNIVER_SHEET']),this[_0x2639e7(0x34e)][_0x2639e7(0x16c)](a[_0x2639e7(0x1c0)][_0x2639e7(0x286)]))['pipe'](W[_0x2639e7(0x460)](_0x342dca=>_0x342dca[_0x2639e7(0x2b6)]()),W[_0x2639e7(0x219)](_0x497c17=>!a[_0x2639e7(0x350)](_0x497c17)),W['takeUntil'](this[_0x2639e7(0x493)]))[_0x2639e7(0x426)](_0x284f86=>{_0x45dc7a(_0x284f86);});}};Ue=Ki([ce(0x0,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x303)])),ce(0x1,a[_0x5a0058(0x185)]),ce(0x2,a[_0x5a0058(0x114)]),ce(0x3,a['Inject'](exports[_0x5a0058(0x147)])),ce(0x4,a[_0x5a0058(0x3ca)](te)),ce(0x5,a[_0x5a0058(0x226)]),ce(0x6,a[_0x5a0058(0x29b)])],Ue);var Yi=Object[_0x5a0058(0x141)],qi=Object['getOwnPropertyDescriptor'],zi=(_0x420a64,_0x18fb7f,_0x29d9e9,_0x4d1aa9)=>{var _0x2d5395=_0x5a0058;for(var _0x384be7=_0x4d1aa9>0x1?void 0x0:_0x4d1aa9?qi(_0x18fb7f,_0x29d9e9):_0x18fb7f,_0x5a607c=_0x420a64[_0x2d5395(0x455)]-0x1,_0x4d581e;_0x5a607c>=0x0;_0x5a607c--)(_0x4d581e=_0x420a64[_0x5a607c])&&(_0x384be7=(_0x4d1aa9?_0x4d581e(_0x18fb7f,_0x29d9e9,_0x384be7):_0x4d581e(_0x384be7))||_0x384be7);return _0x4d1aa9&&_0x384be7&&Yi(_0x18fb7f,_0x29d9e9,_0x384be7),_0x384be7;},ut=(_0xf30105,_0x113aac)=>(_0x15b5a7,_0x2188c1)=>_0x113aac(_0x15b5a7,_0x2188c1,_0xf30105);exports[_0x5a0058(0x362)]=class{constructor(_0x1a0760,_0x4a5701){var _0x84530f=_0x5a0058;this[_0x84530f(0x135)]=_0x1a0760,this[_0x84530f(0x36f)]=_0x4a5701;}async[_0x5a0058(0x357)](_0x5a12c6,_0x509504){var _0x1be974=_0x5a0058,_0x41b213;const {unitID:_0x63cb15,type:_0x3e9c1a,revision:_0x7281d5=0x0}=_0x509504,_0x1a96fb=this[_0x1be974(0x269)]()+'/'+_0x3e9c1a+'/unit/'+_0x63cb15+_0x1be974(0x3ac)+_0x7281d5,_0x4763c3=(await this[_0x1be974(0x36f)][_0x1be974(0x1c4)](_0x1a96fb))[_0x1be974(0x24f)],_0x48b8c2=(_0x41b213=_0x4763c3[_0x1be974(0x2c1)])==null?void 0x0:_0x41b213[_0x1be974(0x1fb)];if(_0x48b8c2){const _0x2f4d65=_0x48b8c2==null?void 0x0:_0x48b8c2[_0x1be974(0x2a4)],_0x4a66a7=m['textEncoder'][_0x1be974(0x3f1)](m[_0x1be974(0x3aa)](_0x2f4d65));_0x48b8c2['originalMeta']=_0x4a66a7,Object['entries'](_0x48b8c2[_0x1be974(0x1b2)])[_0x1be974(0x20c)](([,_0x5ac70e])=>{var _0x5c28ea=_0x1be974;const _0x3ee9bd=_0x5ac70e[_0x5c28ea(0x2a4)],_0x170e8b=m[_0x5c28ea(0x13e)]['encode'](m[_0x5c28ea(0x3aa)](_0x3ee9bd));_0x5ac70e[_0x5c28ea(0x2a4)]=_0x170e8b;});}return _0x4763c3;}async[_0x5a0058(0x27b)](_0x22c07d,_0x791ad3){var _0x1d13b7=_0x5a0058;const {unitID:_0x429de3,type:_0x5cf95b,blockID:_0x59d445}=_0x791ad3,_0x598fe3=this[_0x1d13b7(0x188)]()+'/'+_0x5cf95b+_0x1d13b7(0x3f6)+_0x429de3+_0x1d13b7(0x36a)+_0x59d445;return(await this[_0x1d13b7(0x36f)]['get'](_0x598fe3))[_0x1d13b7(0x24f)];}async['getDeserializedSheetBlock'](_0x2c7c6c,_0x4ccc56){var _0x554d47=_0x5a0058;const {unitID:_0x4158f4,type:_0x21d9c1,blockID:_0x3dcf29}=_0x4ccc56,_0x4b4128=this[_0x554d47(0x188)]()+'/block/'+_0x21d9c1+_0x554d47(0x3f6)+_0x4158f4+_0x554d47(0x36a)+_0x3dcf29;return(await this[_0x554d47(0x36f)][_0x554d47(0x1c4)](_0x4b4128))[_0x554d47(0x24f)];}async[_0x5a0058(0x44e)](_0x29c5a8,_0x206dcd){var _0x75cb0f=_0x5a0058;const {unitID:_0x30ed8b,type:_0x1cc7ec,from:_0x190f30,to:_0x401d9d}=_0x206dcd,_0x1ecfdd=this[_0x75cb0f(0x188)]()+'/'+_0x1cc7ec+_0x75cb0f(0x3f6)+_0x30ed8b+_0x75cb0f(0x42a)+_0x190f30+_0x75cb0f(0x165)+_0x401d9d;return(await this['_httpService'][_0x75cb0f(0x1c4)](_0x1ecfdd))[_0x75cb0f(0x24f)];}[_0x5a0058(0x269)](){var _0xd0396f=_0x5a0058,_0x1f342d;return(_0x1f342d=this[_0xd0396f(0x135)][_0xd0396f(0x32f)](ft))!=null?_0x1f342d:this[_0xd0396f(0x188)]();}['_getAPIPrefix'](){var _0x5e0b9c=_0x5a0058,_0x7a4c9,_0x21c332;const _0x295738=this[_0x5e0b9c(0x135)][_0x5e0b9c(0x32f)](vt),_0xa5a12e=this[_0x5e0b9c(0x135)][_0x5e0b9c(0x32f)](Y);return(_0x21c332=(_0x7a4c9=_0xa5a12e==null?void 0x0:_0xa5a12e[_0x5e0b9c(0x3c5)])!=null?_0x7a4c9:_0x295738)!=null?_0x21c332:Ht;}async[_0x5a0058(0x1e7)](_0x37eb11,_0x42622c){var _0x3df697=_0x5a0058;const _0x5ae57a=_0x3df697(0x45e)+_0x42622c[_0x3df697(0x2b0)]+_0x3df697(0x3f6)+_0x42622c[_0x3df697(0x1e0)]+_0x3df697(0x2f3);return(await this[_0x3df697(0x36f)][_0x3df697(0x1c4)](_0x5ae57a,{'params':{'resourceId':JSON[_0x3df697(0x44b)](_0x42622c[_0x3df697(0x1d2)])}}))[_0x3df697(0x24f)];}[_0x5a0058(0x3ba)](){var _0x57b5d0=_0x5a0058;throw new Error(_0x57b5d0(0x12d));}['saveSheetBlock'](){var _0x46012c=_0x5a0058;throw new Error(_0x46012c(0x12d));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5a0058(0x2ee)](){var _0x37236b=_0x5a0058;throw new Error(_0x37236b(0x12d));}[_0x5a0058(0x16d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports['SnapshotServerOverHTTPService']=zi([ut(0x0,a[_0x5a0058(0x43f)]),ut(0x1,a['Inject'](q[_0x5a0058(0x3c2)]))],exports['SnapshotServerOverHTTPService']);var Ji=Object[_0x5a0058(0x141)],Xi=Object[_0x5a0058(0x2ca)],Zi=(_0x4f09f2,_0x18714f,_0x108df2,_0x19648a)=>{var _0x1e256a=_0x5a0058;for(var _0x33331e=_0x19648a>0x1?void 0x0:_0x19648a?Xi(_0x18714f,_0x108df2):_0x18714f,_0x43d0f6=_0x4f09f2[_0x1e256a(0x455)]-0x1,_0x2e7725;_0x43d0f6>=0x0;_0x43d0f6--)(_0x2e7725=_0x4f09f2[_0x43d0f6])&&(_0x33331e=(_0x19648a?_0x2e7725(_0x18714f,_0x108df2,_0x33331e):_0x2e7725(_0x33331e))||_0x33331e);return _0x19648a&&_0x33331e&&Ji(_0x18714f,_0x108df2,_0x33331e),_0x33331e;},de=(_0x312ec7,_0x31f060)=>(_0x36f2d0,_0x22f55f)=>_0x31f060(_0x36f2d0,_0x22f55f,_0x312ec7);exports[_0x5a0058(0x138)]=class extends a['LocalUndoRedoService']{constructor(_0x27058b,_0x1fc01c,_0x5073b2,_0x1ce640,_0x22fb3c){var _0x3613c0=_0x5a0058;super(_0x27058b,_0x1fc01c,_0x5073b2),this[_0x3613c0(0x289)]=_0x1ce640,this[_0x3613c0(0x18c)]=_0x22fb3c;}[_0x5a0058(0x358)](_0x1eed39,_0x57944d){var _0x24f2ee=_0x5a0058;const _0x40f46c=this[_0x24f2ee(0x3b5)](_0x1eed39);if(_0x40f46c)try{const _0x189825=this[_0x24f2ee(0x449)](_0x40f46c,_0x57944d);this['_substituteUndoStack'](_0x1eed39,_0x189825);}catch(_0x2962cc){this[_0x24f2ee(0x18c)][_0x24f2ee(0x3b6)](_0x24f2ee(0x265),_0x2962cc),this[_0x24f2ee(0x31c)](_0x1eed39);}const _0x31f50c=this[_0x24f2ee(0x311)](_0x1eed39);if(_0x31f50c)try{const _0x3077da=this[_0x24f2ee(0x449)](_0x31f50c,_0x57944d);this[_0x24f2ee(0x428)](_0x1eed39,_0x3077da);}catch(_0x3701a8){this['_logService'][_0x24f2ee(0x3b6)](_0x3701a8),this[_0x24f2ee(0x217)](_0x1eed39);}}[_0x5a0058(0x31c)](_0x272a88){var _0xa3b728=_0x5a0058;const _0x4556d8=this[_0xa3b728(0x3b5)](_0x272a88);_0x4556d8&&(_0x4556d8['length']=0x0,this[_0xa3b728(0x282)]());}[_0x5a0058(0x217)](_0x560756){var _0x283cfd=_0x5a0058;const _0x98b7a1=this['_getRedoStack'](_0x560756);_0x98b7a1&&(_0x98b7a1['length']=0x0,this[_0x283cfd(0x282)]());}[_0x5a0058(0x41a)](_0x2cabbc,_0x32a3b0){var _0x5b5c17=_0x5a0058;this[_0x5b5c17(0x11a)]['set'](_0x2cabbc,_0x32a3b0),this['_updateStatus']();}[_0x5a0058(0x428)](_0x5e67a9,_0x4c57b3){var _0x530b13=_0x5a0058;this[_0x530b13(0x30a)][_0x530b13(0x3e0)](_0x5e67a9,_0x4c57b3),this[_0x530b13(0x282)]();}[_0x5a0058(0x449)](_0x3e4a38,_0x8ab0e7){var _0x1f96b4=_0x5a0058;const _0x2e5d81=[];let _0x193364=_0x8ab0e7,_0x21ed79=_0x8ab0e7;for(let _0x1be6ef=_0x3e4a38[_0x1f96b4(0x455)]-0x1;_0x1be6ef>=0x0;_0x1be6ef--){const {unitID:_0x19ab34,undoMutations:_0x4e8331,redoMutations:_0x3f38c2}=_0x3e4a38[_0x1be6ef],_0xfeaadd=this['_transformService'][_0x1f96b4(0x186)](_0x193364,_0x4e8331),_0x4951cf=this[_0x1f96b4(0x289)][_0x1f96b4(0x186)](_0x21ed79,_0x3f38c2);if(m[_0x1f96b4(0x2c6)](_0xfeaadd)||m['isTransformMutationsWithChangesetFailure'](_0x4951cf)){this[_0x1f96b4(0x18c)][_0x1f96b4(0x3b6)](_0x1f96b4(0x265),_0x1f96b4(0x298),_0xfeaadd,_0x4951cf);break;}_0x193364=_0xfeaadd['c1Prime'],_0x21ed79=_0x4951cf['c1Prime'],_0x2e5d81[_0x1f96b4(0x28f)]({'unitID':_0x19ab34,'undoMutations':_0xfeaadd[_0x1f96b4(0x14d)],'redoMutations':_0x4951cf[_0x1f96b4(0x14d)]});}return _0x2e5d81[_0x1f96b4(0x3dc)]();}},exports[_0x5a0058(0x138)]=Zi([de(0x0,a['IUniverInstanceService']),de(0x1,a[_0x5a0058(0x488)]),de(0x2,a['IContextService']),de(0x3,m[_0x5a0058(0x386)]),de(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var Lt=Object[_0x5a0058(0x141)],Qi=Object[_0x5a0058(0x2ca)],er=(_0x1095d5,_0x55990f,_0x5a8741)=>_0x55990f in _0x1095d5?Lt(_0x1095d5,_0x55990f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a8741}):_0x1095d5[_0x55990f]=_0x5a8741,tr=(_0x561e59,_0x54e489,_0x5b8b1f,_0x29922e)=>{var _0x303754=_0x5a0058;for(var _0x3231be=_0x29922e>0x1?void 0x0:_0x29922e?Qi(_0x54e489,_0x5b8b1f):_0x54e489,_0x27f2e1=_0x561e59[_0x303754(0x455)]-0x1,_0x22978f;_0x27f2e1>=0x0;_0x27f2e1--)(_0x22978f=_0x561e59[_0x27f2e1])&&(_0x3231be=(_0x29922e?_0x22978f(_0x54e489,_0x5b8b1f,_0x3231be):_0x22978f(_0x3231be))||_0x3231be);return _0x29922e&&_0x3231be&&Lt(_0x54e489,_0x5b8b1f,_0x3231be),_0x3231be;},je=(_0x3b3842,_0x909aef)=>(_0x4ce727,_0x1d59e2)=>_0x909aef(_0x4ce727,_0x1d59e2,_0x3b3842),nr=(_0xeef9a5,_0x15e6d5,_0x2dedc4)=>er(_0xeef9a5,_0x15e6d5+'',_0x2dedc4);const ir=_0x5a0058(0x297);exports[_0x5a0058(0x3d8)]=class extends a[_0x5a0058(0x154)]{constructor(_0x10e8e0=Ke,_0x429526,_0x3f035c,_0x59e3e8){var _0xe80c4c=_0x5a0058;super(),this[_0xe80c4c(0x3c8)]=_0x10e8e0,this[_0xe80c4c(0x18c)]=_0x429526,this['_injector']=_0x3f035c,this[_0xe80c4c(0x135)]=_0x59e3e8;const {..._0x36ee79}=a[_0xe80c4c(0x2d5)]({},Ke,this[_0xe80c4c(0x3c8)]);this[_0xe80c4c(0x135)][_0xe80c4c(0x45b)](Y,_0x36ee79);}['onStarting'](){var _0x522ced=_0x5a0058;this[_0x522ced(0x2bb)](),this['_initDependencies']();}[_0x5a0058(0x2bb)](){var _0x46896d=_0x5a0058,_0x38af1e,_0x405a44,_0x6a82c,_0x3207d5;this[_0x46896d(0x1d1)][_0x46896d(0x37e)](a[_0x46896d(0x29b)])&&this[_0x46896d(0x18c)]['error']('[UniverCollaborationClientPlugin]',_0x46896d(0x1e1));const _0x20d2fc=a[_0x46896d(0x384)]([[a[_0x46896d(0x29b)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports[_0x46896d(0x2b3)]],[exports[_0x46896d(0x2c7)]],[ye],[Ne],[Be],[Ue],[te],[exports['DataLoaderService']],[ke,{'useClass':(_0x405a44=(_0x38af1e=this[_0x46896d(0x3c8)])==null?void 0x0:_0x38af1e[_0x46896d(0x366)])!=null?_0x405a44:exports[_0x46896d(0x281)]}],[m['ISnapshotServerService'],{'useClass':exports[_0x46896d(0x362)]}],[a[_0x46896d(0x226)],{'useClass':exports[_0x46896d(0x2a1)]}],[X['IImageIoService'],{'useClass':exports[_0x46896d(0x1b8)]}],[a['IMentionIOService'],{'useClass':exports[_0x46896d(0x32d)]}],[exports['CollaborationController']],[$e]],(_0x6a82c=this['_config'])==null?void 0x0:_0x6a82c[_0x46896d(0x18b)]);if(!((_0x3207d5=this[_0x46896d(0x3c8)])!=null&&_0x3207d5[_0x46896d(0x35d)])){const _0x3a2a21=_0x20d2fc[_0x46896d(0x2c8)](([_0x55949f])=>_0x55949f===ve);_0x3a2a21!==-0x1&&_0x20d2fc[_0x46896d(0x1c1)](_0x3a2a21,0x1);}a[_0x46896d(0x470)](this[_0x46896d(0x1d1)],_0x20d2fc);}[_0x5a0058(0x35f)](){var _0x1cbc0a=_0x5a0058,_0x32ef06,_0x27e323,_0x9bde7;this[_0x1cbc0a(0x1d1)]['get'](q['HTTPService'])[_0x1cbc0a(0x122)]({'priority':0x14,'interceptor':q[_0x1cbc0a(0x130)]({'maxParallel':0x6})}),(_0x32ef06=this['_config'])!=null&&_0x32ef06[_0x1cbc0a(0x1fd)]||(_0x27e323=this[_0x1cbc0a(0x1d1)]['get'](z,a[_0x1cbc0a(0x2df)][_0x1cbc0a(0x3a1)]))==null||_0x27e323[_0x1cbc0a(0x191)](),(_0x9bde7=this[_0x1cbc0a(0x3c8)])!=null&&_0x9bde7[_0x1cbc0a(0x248)]&&a[_0x1cbc0a(0x3bb)](this[_0x1cbc0a(0x1d1)],[[ye]]),a[_0x1cbc0a(0x3bb)](this[_0x1cbc0a(0x1d1)],[[Ne],[exports[_0x1cbc0a(0x307)]],[Ue]]);}},nr(exports[_0x5a0058(0x3d8)],_0x5a0058(0x251),ir),exports['UniverCollaborationClientPlugin']=tr([a[_0x5a0058(0x2f0)](m[_0x5a0058(0x318)],J['UniverSheetsPlugin'],q[_0x5a0058(0x437)]),je(0x1,a[_0x5a0058(0x3f4)]),je(0x2,a[_0x5a0058(0x3ca)](a[_0x5a0058(0x303)])),je(0x3,a[_0x5a0058(0x43f)])],exports[_0x5a0058(0x3d8)]),exports[_0x5a0058(0x13f)]=Ve,exports[_0x5a0058(0x39a)]=Y,exports[_0x5a0058(0x35b)]=Et,exports[_0x5a0058(0x308)]=St,exports[_0x5a0058(0x2c4)]=We,exports[_0x5a0058(0x349)]=Q,exports['CollaborationUIEventService']=te,exports['CommentService']=Be,exports[_0x5a0058(0x393)]=pt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Xt,exports[_0x5a0058(0x3b8)]=mt,exports[_0x5a0058(0x1ee)]=He,exports[_0x5a0058(0x2c5)]=ke,exports[_0x5a0058(0x254)]=z,exports[_0x5a0058(0x352)]=Rt,exports[_0x5a0058(0x1d6)]=ve,exports[_0x5a0058(0x1c7)]=Yt,exports[_0x5a0058(0x2ed)]=Kt,exports[_0x5a0058(0x18e)]=Ct,exports[_0x5a0058(0x184)]=Jt,exports[_0x5a0058(0x372)]=It,exports[_0x5a0058(0x13c)]=kt,exports[_0x5a0058(0x48c)]=vt,exports['SNAPSHOT_URL_KEY']=ft,exports[_0x5a0058(0x1f5)]=se,exports[_0x5a0058(0x244)]=Fe,exports['deserializeToCombResponse']=Ot,exports[_0x5a0058(0x247)]=In,exports[_0x5a0058(0x16b)]=yt;
|