@univerjs-pro/collaboration-client 0.5.2-nightly.202501031606 → 0.5.3-experimental.20250106-e3b7a39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x18e851=_0x35f3;(function(_0xe127fb,_0x4df16a){var _0x33a650=_0x35f3,_0x2d196e=_0xe127fb();while(!![]){try{var _0x4e3a70=parseInt(_0x33a650(0x20d))/0x1+parseInt(_0x33a650(0x378))/0x2+parseInt(_0x33a650(0x365))/0x3+-parseInt(_0x33a650(0x2b2))/0x4*(-parseInt(_0x33a650(0x398))/0x5)+-parseInt(_0x33a650(0x15c))/0x6+parseInt(_0x33a650(0x17c))/0x7+-parseInt(_0x33a650(0x2dd))/0x8;if(_0x4e3a70===_0x4df16a)break;else _0x2d196e['push'](_0x2d196e['shift']());}catch(_0xfae92e){_0x2d196e['push'](_0x2d196e['shift']());}}}(_0x100c,0x8b8ed));var $i=Object[_0x18e851(0x20a)],Hi=(_0x5a6324,_0x1aff93,_0x113988)=>_0x1aff93 in _0x5a6324?$i(_0x5a6324,_0x1aff93,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x113988}):_0x5a6324[_0x1aff93]=_0x113988,P=(_0x1a9122,_0x578ad8,_0x4a475f)=>Hi(_0x1a9122,typeof _0x578ad8!=_0x18e851(0x2c6)?_0x578ad8+'':_0x578ad8,_0x4a475f);import{createIdentifier as _0x14eee6,Inject as _0x9a3a81,Injector as _0x91639e,Disposable as _0x164561,DisposableCollection as _0x3e35d3,toDisposable as _0x43dced,IConfigService as _0x8d16e3,ILogService as _0x23fe8a,UserManagerService as _0x2ea20d,UniverInstanceType as _0x2575b5,IUniverInstanceService as _0xb7833d,LocaleService as _0x428633,Optional as _0x5638e9,RxDisposable as _0x3e0bc6,Tools as _0x53aed1,Rectangle as _0x59b52d,ICommandService as _0x55ba2b,JSONX as _0x4485f5,CommandType as _0x51faea,IPermissionService as _0x211a51,IUndoRedoService as _0x14bbd2,sequenceExecute as _0x1d4666,Workbook as _0x3dc9c0,MentionType as _0x1a8ee2,IAuthzIoService as _0x3e3668,isInternalEditorID as _0x4b9097,LocalUndoRedoService as _0xbbeae2,IContextService as _0x7f597a,DependentOn as _0x4d22b3,Plugin as _0x2890d2,merge as _0xe355ad,mergeOverrideWithDependencies as _0x14b270,IMentionIOService as _0x43ff44,registerDependencies as _0x200cfa,Quantity as _0x48aacf,touchDependencies as _0x50d1aa}from'@univerjs/core';import{Subject as _0x1a1e17,merge as _0x1b9259,of as _0x51f2fd,BehaviorSubject as _0x575003,takeUntil as _0x3f1506,ReplaySubject as _0x29181d,take as _0x2e8922,map as _0x3786f1,shareReplay as _0x3934fe,firstValueFrom as _0x6624f4,concatMap as _0x30a3d7}from'rxjs';import{map as _0x4fec2b,take as _0x18d420,filter as _0x2d009d,delay as _0x44ceba,takeUntil as _0x47301e}from'rxjs/operators';import{HTTPService as _0x43eb8b,ISocketService as _0x665808,MergeInterceptorFactory as _0x4caae0,HTTPRequest as _0x260a02,UniverNetworkPlugin as _0x4aafc1,ThresholdInterceptorFactory as _0x4ca851}from'@univerjs/network';import{CollaborationEvent as _0x666958,parseChangesetToProtocol as _0x59c79,ISnapshotServerService as _0x4608e5,isTransformMutationsWithChangesetSuccess as _0x4c2c2a,ITransformService as _0x55bfa1,mapDocumentTypeToUniverType as _0x392155,RevisionService as _0x204934,isTransformChangesetsSuccess as _0x3dfa24,CompressMutationService as _0x25a4f5,parseProtocolChangeset as _0x2e0bfd,SnapshotService as _0x2e38da,textEncoder as _0x5b1005,b64DecodeUnicode as _0xc673ff,isTransformMutationsWithChangesetFailure as _0x5147d9,UniverCollaborationPlugin as _0xaae99}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1ac15e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x236a0d}from'@univerjs/docs';import{SheetsSelectionsService as _0x3e6164,SetSelectionsOperation as _0x535f15,InsertSheetMutation as _0x4abc72,EmptyMutation as _0x360c83,WorkbookEditablePermission as _0xce2cad,UnitObject as _0x2e31b3,defaultWorkbookPermissionPoints as _0x162b4f,getAllWorkbookPermissionPoint as _0x15f5e1,WorksheetProtectionRuleModel as _0xa53642,baseProtectionActions as _0x59158f,getAllWorksheetPermissionPoint as _0x1f3bb8,WorksheetProtectionPointModel as _0x280b51,defaultWorksheetPermissionPoint as _0x3b68cb,getAllWorksheetPermissionPointByPointPanel as _0x62403a,RangeProtectionRuleModel as _0x2c5596,getAllRangePermissionPoint as _0x19e040,UniverSheetsPlugin as _0x125e53}from'@univerjs/sheets';import{ImageSourceType as _0x26ce8d,ImageUploadStatusType as _0x1cd4c6,IImageIoService as _0x5609bc}from'@univerjs/drawing';import{getGlobalObject as _0x117322}from'@univerjs-pro/license';const Dn=_0x18e851(0x363),wn=_0x18e851(0x11b),Un=_0x18e851(0x341),_o=_0x18e851(0x3bd),An=0x7d0,xn=_0x18e851(0x37d),Ln=_0x18e851(0x283),Mn='/universer-api/user/session-ticket',$n=_0x18e851(0x1d6),Hn=0x7530,Ii=_0x18e851(0x2d8),Ti=0x4e20,kn=0x4e20,jn=_0x18e851(0x3a9),Bn=0x3,lo=_0x18e851(0x224),uo=0x3e8,Fn=_0x18e851(0x379),Vn=_0x18e851(0x329),Wn=_0x18e851(0x236),Gn=_0x18e851(0x3f9),fo='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',vo='/universer-api/uniscript';var Ci=(_0x3c00dd=>(_0x3c00dd[_0x3c00dd['UNDEFINED']=0x0]=_0x18e851(0x208),_0x3c00dd[_0x3c00dd['OK']=0x1]='OK',_0x3c00dd[_0x3c00dd[_0x18e851(0x243)]=0x2]='INTERNAL_ERROR',_0x3c00dd[_0x3c00dd[_0x18e851(0x26a)]=0x3]=_0x18e851(0x26a),_0x3c00dd[_0x3c00dd['NOT_FOUND']=0x4]=_0x18e851(0x15b),_0x3c00dd[_0x3c00dd['UNAUTHENTICATED']=0x5]=_0x18e851(0x285),_0x3c00dd[_0x3c00dd[_0x18e851(0x284)]=0x6]=_0x18e851(0x284),_0x3c00dd[_0x3c00dd[_0x18e851(0x3a8)]=0x7]=_0x18e851(0x3a8),_0x3c00dd[_0x3c00dd['TOO_MANY_REQUESTS']=0x8]=_0x18e851(0x151),_0x3c00dd[_0x3c00dd['COMPLETION_FINISHED']=0x9]=_0x18e851(0x26c),_0x3c00dd[_0x3c00dd[_0x18e851(0x1da)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3c00dd[_0x3c00dd['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3c00dd[_0x3c00dd['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x18e851(0x2ee),_0x3c00dd[_0x3c00dd[_0x18e851(0x17b)]=0x1773]=_0x18e851(0x17b),_0x3c00dd[_0x3c00dd[_0x18e851(0x1c8)]=0x1b59]=_0x18e851(0x1c8),_0x3c00dd[_0x3c00dd[_0x18e851(0xf2)]=0x1b5a]=_0x18e851(0xf2),_0x3c00dd[_0x3c00dd['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3c00dd[_0x3c00dd[_0x18e851(0x176)]=0x1b5c]=_0x18e851(0x176),_0x3c00dd[_0x3c00dd['APPLY_DUPLICATED']=0x1b5d]=_0x18e851(0x15a),_0x3c00dd[_0x3c00dd['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x18e851(0x279),_0x3c00dd[_0x3c00dd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x18e851(0x209),_0x3c00dd[_0x3c00dd[_0x18e851(0x3e9)]=0x232a]=_0x18e851(0x3e9),_0x3c00dd[_0x3c00dd[_0x18e851(0x14d)]=0x232b]=_0x18e851(0x14d),_0x3c00dd[_0x3c00dd['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x18e851(0x2e3),_0x3c00dd[_0x3c00dd[_0x18e851(0x1d5)]=0x232d]=_0x18e851(0x1d5),_0x3c00dd[_0x3c00dd[_0x18e851(0x2c0)]=0x2711]=_0x18e851(0x2c0),_0x3c00dd[_0x3c00dd[_0x18e851(0x19b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3c00dd[_0x3c00dd[_0x18e851(0x11d)]=0x2713]=_0x18e851(0x11d),_0x3c00dd[_0x3c00dd[_0x18e851(0x34e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3c00dd[_0x3c00dd[_0x18e851(0x3c2)]=-0x1]='UNRECOGNIZED',_0x3c00dd))(Ci||{}),Q=(_0x5da1d5=>(_0x5da1d5[_0x5da1d5[_0x18e851(0x3ea)]=0x0]=_0x18e851(0x3ea),_0x5da1d5[_0x5da1d5[_0x18e851(0x28f)]=0x1]=_0x18e851(0x28f),_0x5da1d5[_0x5da1d5['UNIVER_SHEET']=0x2]=_0x18e851(0x3c9),_0x5da1d5[_0x5da1d5['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5da1d5[_0x5da1d5['UNIVER_PROJECT']=0x4]=_0x18e851(0x253),_0x5da1d5[_0x5da1d5[_0x18e851(0x3c2)]=-0x1]=_0x18e851(0x3c2),_0x5da1d5))(Q||{}),F=(_0x4a6748=>(_0x4a6748[_0x4a6748[_0x18e851(0x314)]=0x0]=_0x18e851(0x314),_0x4a6748[_0x4a6748['HELLO']=0x1]=_0x18e851(0x2a0),_0x4a6748[_0x4a6748[_0x18e851(0x148)]=0x2]=_0x18e851(0x148),_0x4a6748[_0x4a6748[_0x18e851(0x3ae)]=0x3]='LEAVE',_0x4a6748[_0x4a6748[_0x18e851(0x19e)]=0x4]=_0x18e851(0x19e),_0x4a6748[_0x4a6748[_0x18e851(0x1ea)]=0x5]=_0x18e851(0x1ea),_0x4a6748[_0x4a6748[_0x18e851(0x373)]=0x6]=_0x18e851(0x373),_0x4a6748[_0x4a6748[_0x18e851(0x3c2)]=-0x1]=_0x18e851(0x3c2),_0x4a6748))(F||{}),Ee=(_0x28dc33=>(_0x28dc33[_0x28dc33['UNKNOWN_CODE']=0x0]=_0x18e851(0x3f3),_0x28dc33[_0x28dc33['OK']=0x1]='OK',_0x28dc33[_0x28dc33[_0x18e851(0x203)]=0x2]=_0x18e851(0x203),_0x28dc33[_0x28dc33['JOIN_ROOM_FULL']=0x3e9]=_0x18e851(0x338),_0x28dc33[_0x28dc33[_0x18e851(0x1b7)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x28dc33[_0x28dc33[_0x18e851(0x287)]=0x3eb]=_0x18e851(0x287),_0x28dc33[_0x28dc33['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x28dc33[_0x28dc33['UNRECOGNIZED']=-0x1]=_0x18e851(0x3c2),_0x28dc33))(Ee||{}),bi=(_0xd60e86=>(_0xd60e86[_0xd60e86[_0x18e851(0x3d7)]=0x0]=_0x18e851(0x3d7),_0xd60e86[_0xd60e86['HttpImport']=0x1]=_0x18e851(0x1a7),_0xd60e86[_0xd60e86[_0x18e851(0x12b)]=0x2]=_0x18e851(0x12b),_0xd60e86[_0xd60e86[_0x18e851(0x3c0)]=0x3]=_0x18e851(0x3c0),_0xd60e86[_0xd60e86[_0x18e851(0x113)]=0x4]=_0x18e851(0x113),_0xd60e86[_0xd60e86[_0x18e851(0x3c2)]=-0x1]=_0x18e851(0x3c2),_0xd60e86))(bi||{});function _0x100c(){var _0x5e706d=['indexOf','_remoteChangesetQueue','cfg','_memberService','getUnitType','PERMISSION_DENIED','entries','COMPLETION_FINISHED','IDLE','_HTTPService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','isPermissionRej','connection\x20error','reqId','/unit/','NoPadding','default','_acknowledgedAwaitingChangeset','_onUserJoin','_scheduleCollaborationTimeoutTimer','CONNECTOR_DATA_TOO_LARGE','[OfflineState]:\x20received\x20acknowledgement.','startsWith','SOCKET_FAILED','Pkcs7','UNIVER_COLLABORATION_CLIENT_PLUGIN','fetchMissingChangesets','allowed','image/jpg','People','ws://127.0.0.1:8000/universer-api/comb/connect','ALREADY_EXISTS','UNAUTHENTICATED','pluginName','JOIN_ROOM_PERMISSION_DENIED','_http','signUrlServerUrl','_scheduleCompleteTimestamp','FileId','_entityInit$','_event$','_oKey','UNIVER_DOC','decryptBlock','_executeRemoteChangeset','/universer-api/authz','_changesetSessionId','OpenSSL','MSG_FOR_ERROR','LIVESHARE_REQUEST_HOST','[CollaborationSessionService]:\x20socket\x20error','Utf8','_collaborationTimeoutTimer','collaboration-client.config','_getAPIPrefixPath','location','awaiting_with_pending','getDeserializedSheetBlock','getActiveSheet','HELLO','readAsDataURL','getCurrentUser','getCurrentUnitForType','list','updatePermissionObjEvent','getCollabEntity$','prototype','Malformed\x20UTF-8\x20data','not_collab','clamp','_sheetTransformSelectionsService','_getDownloadEndpointURL','_map','BASE64','_hash','_prevBlock','changesets','2611844YApSei','set','ticket','loadOfflineData','headers','_pendingMutations','_onFetchMissResult','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','saveSheetBlock','appendMutation','removeMember','_clearUndo','pipe','readInt32LE','YUUMI_UNABLE_LOAD_URL','_imageSourceCache','__Key__','getAllMembers','liveShareOperation','ONLINE','symbol','localCacheService','UPDATE_PERMISSION_OBJ','value','catch','_createHandler','_onLocalMutation','_redoStacks','reset','joinRsp','bind','localeService','/object','addImageSourceCache','objects','image/jpeg','closeSession','onload','HEARTBEAT_TIMEOUT','saveChangeset','_unlockTransition','getTime','onSyncEditingCollabCursor','10887056ZkhcNw','equals','repeat','actions','WordArray','_invKeySchedule','LICENSE_EXPORT_SIZE_EXCEEDED','sessionStatus$','getSheetBlock','PasswordBasedCipher','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getUnitId','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','failed\x20to\x20apply\x20missed\x20changesets!','getUnit','{fileID}','randomBytes','SNAPSHOT_HAS_BEEN_REMOVED','_stopTelemetryCollaborationNewChangeset','_members$','HmacMD5','clear','_getSignURL','_httpService','clearUndoRedo','cmd','focused$','\x20-\x20','members$','subType','createEncryptor','override','getCollabEntity','href','_loadDoc','LIVESHARE_TERMINATE','_resendTimeout','wsSessionTicketUrl','_commandService','_clearLocalCache','ivSize','onRemoteAck','Worksheet','_decreaseWaiting','getTargetByPermissionId','FETCH_MISS','state','_snapshotService','_univerInstanceService','buffer','AWAITING','fromCharCode','_showConflictNotification','fetching\x20missing\x20changesets\x20from\x20','mutations','UNKNOWN_CMD','_incrementRevisionNumber','reconnect','_retryCount','createInstance','_collabSessionService','capture','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendingTimer','random','_substituteRedoStack','roomInfos','_candidateSocket','requireSession','c1Prime','/universer-api/snapshot/','fetch_missing','updateOfflineData','SOCKET_FAILED_RETRY','liveShareNewHost','_startCollaboration','/universer-api/comb','_getCurrentRevision','_startTelemetryCollaborationNewChangeset','_hasher','onLocalMutation','_sessions','_transformIMECache','fromCollab','getPermissionPoint','PERSON','_cipher','decrypt','runId','_nDataBytes','getRandomValues','JOIN_ROOM_FULL','_state','splice','_append','OPTIONAL','_logService','_handlerCallback','_queuedRemoteChangesets','_revisionService','SNAPSHOT_URL_KEY','_initRequestHeader','BufferedBlockAlgorithm','[CollaborationSession]','textRanges','_getAPIPrefix','_replayCachedMutations','_socketReady','[SyncedState]:\x20received\x20acknowledgement.','OTHER_CLIENTS_EDITING','range','revision','_replaceFileID','YUUMI_SUBSCRIPTION_NOT_FOUND','\x20to\x20','userID','_awaitingChangeset','getMemberID','toggleOnline','_transformSelections','[DataLoaderService]','_transformStack','/rev/','_createInitialStateImpl','authzUrl','enableOfflineEditing','data','_onUserLeave','error','function','includes','saveImage','awaiting','socket\x20open.','SNAPSHOT_SERVER_URL_KEY','getTypeOfUnitAdded$','121887PwlYRB','/block/','byteLength','entityInit$','_clearTimeoutTimer','_roomCreated$','onTransformState','parse','_onConflict','_undoRedoService','push','_doProcessBlock','_compressMutationService','fetchThroughInterceptors','RECV','univer-pro.collaboration-client.single-active-unit-service','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','sid','every','7890fggPam','COLLAB_SUBMIT_CHANGESET_URL','next','copyFileMeta','session.room-full','COLLAB_WEB_SOCKET_URL','getUnitOnRev','execute','_sender','_substituteUndoStack','error$','call','session','_retryConnectingTimer','_type','DEFAULT_FILE_NAME','_parse','image/gif','resourceIDs','filter','mixIn','pending','values','_rescheduleHeartbeat','createCollaborator','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_transformStateCache','onTransformSelections','getConfig','getResourcesRequest','originalMeta','baseRev','5YxDWai','open$','_createInitialState','_toggleOnline','_doCryptBlock','find','sin','_tryReconnect','_handler','_transformRemoteChangesetByIMECache','_resendWithTimeout','csShouldRetryEvent','getFocusedUnit','_onRemoteACK','_localCacheService','subject','INVALID_ARGUMENT','RETRY_CONNECTING_MAX_COUNT','SUBMIT_CHANGESET','csAckEvent','CHANGESET_ACK','_onCombEvent','LEAVE','onRemoteChangeset','size','forEach','createDecryptor','_onJoinRoomEvent','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','subscribe','_loadSheet','waitForRoom$','_getSessionTicket','_onOffline','Hasher','_socket$','JOIN_ROOM_FAILED','SEND_CHANGESET_TIMEOUT','submit\x20changeset\x20error!','_syncEditingCollabCursor','UnitEmbedded','[CollaborationUndoRedoService]','UNRECOGNIZED','processBlock','image/png','asObservable','target','_mode','getWorkbookSelections','UNIVER_SHEET','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','then','MUTATION','_onMessage','_transitionLocked','extend','url','collabWebSocketUrl','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SerializableCipher','_getCtorByUniverType','[PendingState]:\x20received\x20acknowledgement.','_checkMissing','Undefined','has','_clearRedo','_onConnectionFailed','sendChangesetTimeout','onMissedChangesetFetched','PSEUDO_FETCH_MISSING_RESULT','[PendingState]:\x20received\x20rejection.','[CollaborationState]:\x20apply\x20error!','key','_isPermissionRej','_getLoginPath','post','clone','updatePermissionPoint','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_updateState','result','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_UNKNOWN','SYNCED','encrypt','UUID','getUnitStatus$','enableSingleActiveInstanceLock','OFFLINE','MD5','string','UNKNOWN_CODE','onTransformRemoteChangesetByIMECache','_socketService','title','selections','NOT_COLLAB','/universer-api/oidc/authpage','&assign=','salt','sessionStatus','_submitChangeset','_lockTransition','_iKey','formatter','APPLY_NON_SEQUENTIAL_REVISION','mode','EvpKDF','algo','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[CollaborationEntity]','LIVESHARE_FETCH_OPERATIONS','disposeWithMe','_getUploadFileURL','UNISCRIPT_RUN','/role','_waitCount','_telemetryInfo','\x0aCurrent:\x20','_commentUpdate$','_collaborationSessionService','application/json','msCrypto','initWorkbookPermissionChange','_process','transformUndoRedo','_exhaustRemoteChangesetQueue','ceil','unpad','_iv','_unitID','GLOBAL_ROOMS_CNT_EXCEEDS','getMember','blockSize','readyForCollab','unitId','listRoles','updateMember','UnitSnapshot','executeCommand','fetchMiss','_getSendChangesetTimeout','memberID','_singleActiveUnitService','_onConnectionOpen','delete','/universer-api/snapshot','append','YUUMI_RATE_OVER_LIMIT','univer-pro.collaboration-client.network-condition.service','getCurrentRevOfUnit','USERS_ENTER','[UniverCollaborationClientPlugin]','_injector','ruleRefresh','transformChangesets','SUBMIT_CHANGESET_TIMEOUT','SHOULD_CLOSE_CONN','onStateChange','Decryptor','message$','_onRemoteRetry','HttpExport','onRemoteRej','charAt','OTHER_CLIENT_EDITING','setCurrentUser','COMMENT_UPDATE','CLOSE_ROOM','$super','getSheetId','origin','permissionRejEvent','_clearScheduledTask','now','_permissionService','_initCloseConn','lib','map','generateRandomId','_configService','getValue','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','Encryptor','_throwTelemetryCollaborationNewChangeset','words','isArray','PERMISSION_REJ','getCurrentSelections','json','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','JOIN','_createSocket','slice','_commentService','enableAuthServer','LICENSE_IMPORT_SIZE_EXCEEDED','addHandlerCallback','_change$','SelectRange','TOO_MANY_REQUESTS','from','ERROR_IMAGE_TYPE','floor','sessionTicket','startTime','searchParams','getOwnPropertyDescriptor','/fetchmissing?from=','APPLY_DUPLICATED','NOT_FOUND','4392870MdOCLb','/allowed','[CollaborationSessionService]','getTypeOfUnitDisposed$','_registerDependencies','BlockCipherMode','hasher','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_updateStatus','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','NO_OTHER_CLIENTS_EDITING','_initUnitPermissionChange','reject','_updateLocalCache','unknown','offline','update','_createHelper','_DEC_XFORM_MODE','synced','getLatestCsReqIdBySid','_sendHeartbeat','init','withCredentials','HMAC','_initDependencies','APPLY_PERMISSION_DENIED','uniscriptRunEvent','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/new_changes','enc','ENSURE_SNAPSHOT_EXECUTION','6634047gPopVx','_telemetryService','_timeoutTimer','x-univer-host','_doFinalize','/collaborator','_tryEnsureSocket','toggleOffline','send','unitID','hostname','objectType','\x20in\x20_schedule.','_onRemoteChangeset','_xformMode','event$','_collaborationPaused','UNIVER_SLIDE','_transformUndoredo','resolve','rng','_undoStacks','_clearHeartbeatTimer','csRejEvent','compute','awaitingChangeset','__creator','COMPRESS_MUTATION_SEND','AES','_userManagerService','leaveEvent','YUUMI_URL_COL_OUT_OF_RANGE','encode','_nRounds','INGEST','session.room-permission-denied','charCodeAt','listCollaborators','objectID','_socketMessageSubscription','body','hasOwnProperty','debug','HttpImport','CONFLICT','&source=','workbook','getSnapshotAPIPath','editing\x20status\x20changed\x20to','telemetry\x20info\x20is\x20not\x20initialized','length','ciphertext','FETCH_MISSING','CipherParams','uploadFileServerUrl','dispose$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','objectActions','_localeService','JOIN_ROOM_NOT_EXISTS','_data','deleteCollaborator','/object/','_status$','socket$','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','m2Prime','_transformService','_changesetReqId','params','onTransformRemoteChangesetByStateCache','conflict','_transformRemoteChangesetByStateCache','_onRemoteRejected','UPDATE_CURSOR','_doReset','APPLY_REJECT','sigBytes','_sessionStatus$','collaboration-client.local-cache-service','getImage','_minBufferSize','_toggleOffline','max','_reverseMap','format','type','registerHTTPInterceptor','requestParams','LICENSE_DISTRO_REJECTED','HEARTBEAT_INTERVAL','concat','_members','_shouldReportTelemetry','CHANGESET_REVISION_CONFILICT','ERROR_EXCEED_SIZE','emitEvent','_applyRemoteChangeset','_sendHeartbeatTimer','kdf','_unitInfo$','_init','createSocket','_getRedoStack','complete','onMissingChangesets','status$','CHANGESET_REJ','rev','stringify','HEARTBEAT','putCollaborators','_instanceService','_onRecvEvent','_keyPriorReset','put','onCommentUpdate','_getUndoStack','NEW_CHANGESETS','roles','join','onTransformIME','encryptBlock','_networkConditionService','updateCollaborator','_waitForHeartbeatResponse','/-/object/list','Base64','toString','add','unit-cache-','pad','HmacSHA1','finalize','_socket','FAIL','_joinRoom','onStarting','avatar','LIVESHARE_OPERATION','UNDEFINED','LICENSE_MAX_UNITS_EXCEEDED','defineProperty','get','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','1019400XkFimo','patch','image/bmp','Cipher','src','substr','loginUrlKey','session.room-not-exists','_roomMembers','setConfig','_createSocketURL','updateCursorEvent','exports','CHANGESET_SHOULD_RETRY','onRemoteRetry','_resendTimer','_keySchedule','eventID','saveSnapshot','_collaborationUIEventService','_schedule','shouldCloseConn','Latin1','LOCAL_CACHE_INTERVAL','action','_fetchMissChangesets','status','transformMutationsWithChangeset','method','resend','search','create','crypto','Error\x20on\x20receiving\x20event','collaboration_new_changeset','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','getInterceptPoints','_snapshotServerService','code','newCsEvent','/universer-api/stream/file/upload','LOGIN_URL_KEY','onCommandExecuted','CBC','_config','unsubscribe','name','&to=','close$','session.join-failed','compose','onlyLocal','deepClone','randomUUID','INTERNAL_ERROR','SHA1','_initMergeInterceptor','stopTime','Univer','_ENC_XFORM_MODE','apply','_removeRoom','online$','univer-pro.collaboration-client-socket-service','collaboratorID','onSendChangeset','setWaitCount','retryConnectingInterval','_authzIoService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UNIVER_PROJECT','interceptor','reverse','POST','ERROR_IMAGE','JOINING','close','LIVESHARE_NEW_HOST','routeKey','members','collaborators','dispose','USERS_LEAVE','_state$','_listenToNetworkCondition','disableLocalCache','_entities','COMPRESS_MUTATION_APPLY'];_0x100c=function(){return _0x5e706d;};return _0x100c();}const Y=_0x18e851(0x29a),zt={};var re=(_0x16e16f=>(_0x16e16f[_0x18e851(0x12e)]=_0x18e851(0x12e),_0x16e16f[_0x18e851(0x26a)]='PERMISSION_DENIED',_0x16e16f['CONFLICT']=_0x18e851(0x1a8),_0x16e16f[_0x18e851(0x131)]='CLOSE_ROOM',_0x16e16f['JOIN_ROOM_FAILED']=_0x18e851(0x3bc),_0x16e16f['SOCKET_FAILED_RETRY']=_0x18e851(0x326),_0x16e16f['SOCKET_FAILED']=_0x18e851(0x27c),_0x16e16f[_0x18e851(0x125)]='SUBMIT_CHANGESET_TIMEOUT',_0x16e16f))(re||{});class pe{constructor(){var _0x23b95d=_0x18e851;P(this,_0x23b95d(0x28d),new _0x1a1e17()),P(this,'event$',this[_0x23b95d(0x28d)][_0x23b95d(0x3c5)]());}[_0x18e851(0x1dc)](_0x4e91f8){var _0x5a65d0=_0x18e851;this[_0x5a65d0(0x28d)]['next'](_0x4e91f8);}}const Kn=_0x14eee6(_0x18e851(0x11e));function zn(_0xbd49d){var _0x1fe218=_0x18e851,_0xc0244a,_0x56ed8a,_0x38b05d,_0x3a83d6,_0x5cc0b4;const _0x4b3565=_0xbd49d[_0x1fe218(0x35b)],_0x358c4b=JSON[_0x1fe218(0x36c)](_0x4b3565);switch(_0x358c4b['cmd']){case F[_0x1fe218(0x1ea)]:case F[_0x1fe218(0x2a0)]:{const _0x3d4563=_0x358c4b['infoRsp'];return{..._0x358c4b,'data':_0x3d4563,'cmd':_0x358c4b[_0x1fe218(0x2f6)]};}case F[_0x1fe218(0x148)]:{const _0x16c53d=_0x358c4b[_0x1fe218(0x2cf)];return{..._0x358c4b,'data':_0x16c53d,'cmd':_0x358c4b[_0x1fe218(0x2f6)]};}case F['RECV']:{const _0x23f0d3=_0x358c4b['collaMsg'];switch(_0x23f0d3[_0x1fe218(0x21e)]){case _0x666958[_0x1fe218(0x144)]:return{..._0x358c4b,'data':{..._0x23f0d3,'data':(_0xc0244a=_0x23f0d3[_0x1fe218(0x135)])==null?void 0x0:_0xc0244a['cs']},'cmd':_0x358c4b[_0x1fe218(0x2f6)]};case _0x666958[_0x1fe218(0x3ac)]:return{..._0x358c4b,'data':{..._0x23f0d3,'data':(_0x56ed8a=_0x23f0d3[_0x1fe218(0x3ab)])==null?void 0x0:_0x56ed8a['cs']},'cmd':_0x358c4b[_0x1fe218(0x2f6)]};case _0x666958[_0x1fe218(0x1f2)]:return{..._0x358c4b,'data':{..._0x23f0d3,'data':(_0x38b05d=_0x23f0d3[_0x1fe218(0x234)])==null?void 0x0:_0x38b05d['cs']},'cmd':_0x358c4b['cmd']};case _0x666958[_0x1fe218(0x1e7)]:return{..._0x358c4b,'data':{..._0x23f0d3,'data':(_0x3a83d6=_0x23f0d3[_0x1fe218(0x193)])==null?void 0x0:_0x3a83d6['cs']},'cmd':_0x358c4b[_0x1fe218(0x2f6)]};case _0x666958['CHANGESET_SHOULD_RETRY']:return{..._0x358c4b,'data':{..._0x23f0d3,'data':(_0x5cc0b4=_0x23f0d3[_0x1fe218(0x3a3)])==null?void 0x0:_0x5cc0b4['cs']},'cmd':_0x358c4b[_0x1fe218(0x2f6)]};case _0x666958[_0x1fe218(0x1c6)]:return{..._0x358c4b,'data':{..._0x23f0d3,'data':_0x23f0d3[_0x1fe218(0x218)]},'cmd':_0x358c4b['cmd']};case _0x666958['USERS_ENTER']:return{..._0x358c4b,'data':{..._0x23f0d3,'data':_0x23f0d3['joinEvent']},'cmd':_0x358c4b['cmd']};case _0x666958[_0x1fe218(0x25f)]:return{..._0x358c4b,'data':{..._0x23f0d3,'data':_0x23f0d3[_0x1fe218(0x19a)]},'cmd':_0x358c4b[_0x1fe218(0x2f6)]};case _0x666958[_0x1fe218(0x25a)]:return{..._0x358c4b,'data':{..._0x23f0d3,'data':_0x23f0d3[_0x1fe218(0x327)]},'cmd':_0x358c4b['cmd']};case _0x666958['LIVESHARE_FETCH_OPERATIONS']:case _0x666958['LIVESHARE_OPERATION']:return{..._0x358c4b,'data':{..._0x23f0d3,'data':_0x23f0d3[_0x1fe218(0x2c4)]},'cmd':_0x358c4b[_0x1fe218(0x2f6)]};case _0x666958[_0x1fe218(0x300)]:return{..._0x358c4b,'data':{..._0x23f0d3,'data':_0x23f0d3[_0x1fe218(0x327)]},'cmd':_0x358c4b['cmd']};case _0x666958[_0x1fe218(0x295)]:return{..._0x358c4b,'data':_0x23f0d3,'cmd':_0x358c4b[_0x1fe218(0x2f6)]};case _0x666958[_0x1fe218(0x130)]:return{..._0x358c4b,'data':{..._0x23f0d3,'data':_0x23f0d3['commentUpdateEvent']},'cmd':_0x358c4b[_0x1fe218(0x2f6)]};case _0x666958[_0x1fe218(0x2c8)]:return{..._0x358c4b,'data':{..._0x23f0d3,'data':_0x23f0d3[_0x1fe218(0x2a5)]},'cmd':_0x358c4b['cmd']};case _0x666958['SHOULD_CLOSE_CONN']:return{..._0x358c4b,'data':{..._0x23f0d3,'data':_0x23f0d3[_0x1fe218(0x222)]},'cmd':_0x358c4b[_0x1fe218(0x2f6)]};case _0x666958[_0x1fe218(0xfb)]:return{..._0x358c4b,'data':{..._0x23f0d3,'data':_0x23f0d3[_0x1fe218(0x177)]},'cmd':_0x358c4b[_0x1fe218(0x2f6)]};default:return _0x358c4b;}}default:return _0x358c4b;}}function Yn(_0x4aa507){var _0x54e87b=_0x18e851;switch(_0x4aa507['cmd']){case F[_0x54e87b(0x1ea)]:case F['HELLO']:return JSON[_0x54e87b(0x1e9)]({'cmd':_0x4aa507[_0x54e87b(0x2f6)],'routeKey':_0x4aa507[_0x54e87b(0x25b)]});case F[_0x54e87b(0x19e)]:{let _0x5eaf02;switch(_0x4aa507[_0x54e87b(0x35b)]['eventID']){case _0x666958[_0x54e87b(0x1c6)]:{_0x5eaf02={'eventID':_0x666958[_0x54e87b(0x1c6)],'updateCursorEvent':_0x4aa507['data'][_0x54e87b(0x35b)]};break;}case _0x666958[_0x54e87b(0x25f)]:{_0x5eaf02={'eventID':_0x666958[_0x54e87b(0x25f)],'leaveEvent':_0x4aa507[_0x54e87b(0x35b)][_0x54e87b(0x35b)]};break;}case _0x666958[_0x54e87b(0x120)]:{_0x5eaf02={'eventID':_0x666958[_0x54e87b(0x120)],'joinEvent':_0x4aa507[_0x54e87b(0x35b)][_0x54e87b(0x35b)]};break;}case _0x666958[_0x54e87b(0x25a)]:{_0x5eaf02={'eventID':_0x666958[_0x54e87b(0x25a)],'liveShareNewHost':_0x4aa507[_0x54e87b(0x35b)][_0x54e87b(0x35b)]};break;}case _0x666958['LIVESHARE_OPERATION']:{_0x5eaf02={'eventID':_0x666958[_0x54e87b(0x207)],'liveShareOperation':_0x4aa507[_0x54e87b(0x35b)][_0x54e87b(0x35b)]};break;}case _0x666958[_0x54e87b(0x300)]:{_0x5eaf02={'eventID':_0x666958[_0x54e87b(0x300)],'liveShareTerminate':_0x4aa507[_0x54e87b(0x35b)][_0x54e87b(0x35b)]};break;}case _0x666958[_0x54e87b(0x296)]:{_0x5eaf02={'eventID':_0x666958[_0x54e87b(0x296)],'liveShareRequestHost':_0x4aa507['data'][_0x54e87b(0x35b)]};break;}case _0x666958[_0x54e87b(0xf8)]:{_0x5eaf02={'eventID':_0x666958[_0x54e87b(0xf8)]};break;}default:_0x5eaf02={'eventID':_0x4aa507[_0x54e87b(0x35b)]['eventID']};}return JSON[_0x54e87b(0x1e9)]({'cmd':_0x4aa507[_0x54e87b(0x2f6)],'routeKey':_0x4aa507[_0x54e87b(0x25b)],'collaMsg':_0x5eaf02});}case F[_0x54e87b(0x148)]:return JSON['stringify']({'cmd':_0x4aa507['cmd'],'routeKey':_0x4aa507[_0x54e87b(0x25b)],'joinReq':_0x4aa507[_0x54e87b(0x35b)]});case F[_0x54e87b(0x3ae)]:return JSON[_0x54e87b(0x1e9)]({'cmd':_0x4aa507['cmd'],'routeKey':_0x4aa507[_0x54e87b(0x25b)],'leaveReq':_0x4aa507[_0x54e87b(0x35b)]});default:throw new Error(_0x54e87b(0x147));}}var qn=Object[_0x18e851(0x20a)],Jn=Object[_0x18e851(0x158)],Xn=(_0x46d817,_0x147144,_0xa318fd,_0x383353)=>{for(var _0x1a3f69=_0x383353>0x1?void 0x0:_0x383353?Jn(_0x147144,_0xa318fd):_0x147144,_0x223ad6=_0x46d817['length']-0x1,_0x1cb04d;_0x223ad6>=0x0;_0x223ad6--)(_0x1cb04d=_0x46d817[_0x223ad6])&&(_0x1a3f69=(_0x383353?_0x1cb04d(_0x147144,_0xa318fd,_0x1a3f69):_0x1cb04d(_0x1a3f69))||_0x1a3f69);return _0x383353&&_0x1a3f69&&qn(_0x147144,_0xa318fd,_0x1a3f69),_0x1a3f69;},Ue=(_0x1cc480,_0x35287c)=>(_0x21a585,_0xaaeaa0)=>_0x35287c(_0x21a585,_0xaaeaa0,_0x1cc480);const Ri=_0x14eee6(_0x18e851(0x24c));function Zn(_0x3c447a,_0xe8ee5,_0x54bfb6){var _0x3a8502=_0x18e851;return _0x3c447a+'/'+_0xe8ee5+'/unit/'+_0x54bfb6+_0x3a8502(0x179);}let It=class extends _0x164561{constructor(_0x4b4286,_0x1ccc08,_0x4d562a,_0x256636,_0x3107e8){var _0x2b9f07=_0x18e851;super(),this['_injector']=_0x4b4286,this[_0x2b9f07(0x288)]=_0x1ccc08,this[_0x2b9f07(0x13d)]=_0x4d562a,this[_0x2b9f07(0x33d)]=_0x256636,this['_snapshotServerService']=_0x3107e8;}[_0x18e851(0x1e2)](_0x3a4514){var _0x3d9113=_0x18e851;const _0x39477e=this[_0x3d9113(0x122)][_0x3d9113(0x20b)](_0x665808);if(!_0x39477e)throw new Error(_0x3d9113(0x1bd));const _0x33ba7c=_0x39477e[_0x3d9113(0x1e2)](_0x3a4514);if(!_0x33ba7c)throw new Error(_0x3d9113(0x2b9));const _0x4439ad=new _0x3e35d3(),_0x551e94=new _0x1a1e17();_0x4439ad['add'](_0x33ba7c[_0x3d9113(0x23d)]['subscribe'](_0x5f10a6=>_0x551e94[_0x3d9113(0x37a)](_0x5f10a6))),_0x4439ad[_0x3d9113(0x1fd)](_0x43dced(()=>_0x551e94[_0x3d9113(0x1e4)]()));const _0x2dd400=new _0x1a1e17();_0x4439ad[_0x3d9113(0x1fd)](_0x33ba7c[_0x3d9113(0x382)][_0x3d9113(0x3b5)](_0x75e61f=>_0x2dd400['next'](_0x75e61f))),_0x4439ad[_0x3d9113(0x1fd)](_0x43dced(()=>_0x2dd400['complete']()));const _0x39e61c=new _0x1a1e17();_0x4439ad[_0x3d9113(0x1fd)](_0x33ba7c[_0x3d9113(0x129)][_0x3d9113(0x3b5)](_0x292336=>{var _0xa43421=_0x3d9113;const _0x437ffc=zn(_0x292336);_0x39e61c[_0xa43421(0x37a)](_0x437ffc);})),_0x4439ad[_0x3d9113(0x1fd)](_0x43dced(()=>_0x39e61c[_0x3d9113(0x1e4)]()));let _0x5f2a63;const _0x54d9ab=()=>{var _0x291474=_0x3d9113;_0x2dd400['next'](new Event('connection\x20error')),_0x551e94[_0x291474(0x37a)](new CloseEvent(_0x291474(0x271))),_0x5f2a63[_0x291474(0x259)]();};return _0x5f2a63={'memberID':'','close$':_0x551e94['asObservable'](),'error$':_0x2dd400[_0x3d9113(0x3c5)](),'open$':_0x33ba7c[_0x3d9113(0x399)],'message$':_0x39e61c[_0x3d9113(0x3c5)](),'send':_0x17834e=>{var _0x501485=_0x3d9113;if(_0x17834e[_0x501485(0x2f6)]===F[_0x501485(0x19e)]){if(_0x17834e[_0x501485(0x35b)][_0x501485(0x21e)]===_0x666958['SUBMIT_CHANGESET']){this[_0x501485(0xee)](_0x5f2a63,_0x17834e[_0x501485(0x35b)])[_0x501485(0x2ca)](_0x4afbc5=>{var _0x35cf8f=_0x501485;this[_0x35cf8f(0x33d)][_0x35cf8f(0x35d)](_0x4afbc5),_0x54d9ab();});return;}if(_0x17834e[_0x501485(0x35b)][_0x501485(0x21e)]===_0x666958[_0x501485(0x1b0)]){const _0x17fe39=_0x17834e[_0x501485(0x35b)];this[_0x501485(0x226)](_0x17fe39)[_0x501485(0x3cb)](_0xf81d85=>{var _0x1637e2=_0x501485;_0x39e61c['next']({'cmd':F[_0x1637e2(0x373)],'code':Ee['OK'],'routeKey':_0x17fe39[_0x1637e2(0x35b)][_0x1637e2(0x185)],'routeType':'','data':{'eventID':_0x666958[_0x1637e2(0x3dd)],'data':{'changesets':_0xf81d85}}});})[_0x501485(0x2ca)](_0x5a1782=>{var _0x5b7e57=_0x501485;this[_0x5b7e57(0x33d)][_0x5b7e57(0x35d)](_0x5a1782),_0x54d9ab();});return;}}_0x33ba7c[_0x501485(0x184)](Yn(_0x17834e));},'close':()=>{var _0xb8b690=_0x3d9113;_0x33ba7c[_0xb8b690(0x259)](),_0x4439ad['dispose']();}},_0x5f2a63;}async[_0x18e851(0xee)](_0x23b0c4,_0x1e7618){var _0x377b74=_0x18e851,_0x146449,_0x296669;const {unitType:_0x47695c,unitID:_0x45947b,changeset:_0x3ee9d0}=_0x1e7618['data'],_0x3580e0={'unitID':_0x45947b,'memberID':_0x23b0c4[_0x377b74(0x117)],'type':_0x47695c,'changeset':_0x59c79(_0x3ee9d0)},_0x2e5a4d=this[_0x377b74(0x13d)][_0x377b74(0x394)](Fn),_0xca8890=this[_0x377b74(0x13d)][_0x377b74(0x394)](Y),_0x27ac80=Zn((_0x296669=(_0x146449=_0xca8890==null?void 0x0:_0xca8890['collabSubmitChangesetUrl'])!=null?_0x146449:_0x2e5a4d)!=null?_0x296669:Vn,_0x47695c,_0x45947b);try{await this[_0x377b74(0x288)][_0x377b74(0x3e3)](_0x27ac80,{'body':_0x3580e0});}catch(_0x3c238f){throw this['_logService']['error'](_0x377b74(0x344),_0x377b74(0x3be)),_0x3c238f;}}async[_0x18e851(0x226)](_0x259482){var _0x3862df=_0x18e851;const {unitID:_0x1df49c,from:_0x1370a9,to:_0x1bc91e,unitType:_0x5162cd}=_0x259482[_0x3862df(0x35b)];return(await this[_0x3862df(0x232)][_0x3862df(0x27f)]({'metadata':void 0x0},{'unitID':_0x1df49c,'type':_0x5162cd,'from':_0x1370a9,'to':_0x1bc91e}))[_0x3862df(0x2b1)];}};It=Xn([Ue(0x0,_0x9a3a81(_0x91639e)),Ue(0x1,_0x9a3a81(_0x43eb8b)),Ue(0x2,_0x8d16e3),Ue(0x3,_0x23fe8a),Ue(0x4,_0x4608e5)],It);const Qn=_0x18e851(0x22f);function es(_0x128bbb){var _0x14164b=_0x18e851;return JSON[_0x14164b(0x1e9)](_0x128bbb)[_0x14164b(0x1ae)];}class yi{constructor(){var _0x16a016=_0x18e851;P(this,_0x16a016(0x100),new _0x1a1e17()),P(this,'commentUpdate$',this[_0x16a016(0x100)][_0x16a016(0x3c5)]());}[_0x18e851(0x1f0)](_0x314289){var _0x553ddd=_0x18e851;this[_0x553ddd(0x100)][_0x553ddd(0x37a)](_0x314289);}}var ts=Object[_0x18e851(0x20a)],is=Object[_0x18e851(0x158)],ns=(_0x414319,_0x365e2d,_0x5a065f,_0x390ebf)=>{var _0x51015e=_0x18e851;for(var _0x13f629=_0x390ebf>0x1?void 0x0:_0x390ebf?is(_0x365e2d,_0x5a065f):_0x365e2d,_0x47e550=_0x414319[_0x51015e(0x1ae)]-0x1,_0x4e77f7;_0x47e550>=0x0;_0x47e550--)(_0x4e77f7=_0x414319[_0x47e550])&&(_0x13f629=(_0x390ebf?_0x4e77f7(_0x365e2d,_0x5a065f,_0x13f629):_0x4e77f7(_0x13f629))||_0x13f629);return _0x390ebf&&_0x13f629&&ts(_0x365e2d,_0x5a065f,_0x13f629),_0x13f629;},Yt=(_0x297941,_0x52b0ae)=>(_0x116ffe,_0x49aa54)=>_0x52b0ae(_0x116ffe,_0x49aa54,_0x297941);let xe=class extends _0x164561{constructor(_0x3cc9a9,_0x461898){var _0x138a59=_0x18e851;super(),P(this,_0x138a59(0x215),new Map()),P(this,_0x138a59(0x36a),new _0x1a1e17()),(this[_0x138a59(0x30d)]=_0x3cc9a9,this[_0x138a59(0x199)]=_0x461898,this[_0x138a59(0xf9)](_0x1b9259(this[_0x138a59(0x30d)][_0x138a59(0x15f)](_0x2575b5['UNIVER_SHEET'])['pipe'](_0x4fec2b(_0x48cd2c=>_0x48cd2c[_0x138a59(0x2e8)]())),this[_0x138a59(0x30d)]['getTypeOfUnitDisposed$'](_0x2575b5[_0x138a59(0x28f)])[_0x138a59(0x2be)](_0x4fec2b(_0x1e12c7=>_0x1e12c7['getUnitId']())),this['_univerInstanceService'][_0x138a59(0x15f)](_0x2575b5[_0x138a59(0x18d)])[_0x138a59(0x2be)](_0x4fec2b(_0x3bdd5d=>_0x3bdd5d[_0x138a59(0x2e8)]())))[_0x138a59(0x3b5)](_0x4dc55b=>this[_0x138a59(0x24a)](_0x4dc55b))));}[_0x18e851(0x3b7)](_0x2e2471){var _0x658e11=_0x18e851;return this[_0x658e11(0x215)][_0x658e11(0x3d8)](_0x2e2471)?_0x51f2fd(this['_roomMembers'][_0x658e11(0x20b)](_0x2e2471)):this[_0x658e11(0x36a)][_0x658e11(0x2be)](_0x4fec2b(_0x56ca89=>{if(_0x56ca89===_0x2e2471)return this['_roomMembers']['get'](_0x56ca89);}));}[_0x18e851(0x12f)](_0x2cdba5){var _0x5ac1c3=_0x18e851;this['_userManagerService'][_0x5ac1c3(0x12f)](_0x2cdba5);}[_0x18e851(0x2a2)](){var _0x1517a9=_0x18e851;return this[_0x1517a9(0x199)][_0x1517a9(0x2a2)]();}[_0x18e851(0x112)](_0x354a71,_0x39da4c){var _0x2598c3=_0x18e851;let _0xa94a8e=this['_roomMembers'][_0x2598c3(0x20b)](_0x354a71);_0xa94a8e||(_0xa94a8e=new ss(),this[_0x2598c3(0x215)][_0x2598c3(0x2b3)](_0x354a71,_0xa94a8e),this[_0x2598c3(0x36a)][_0x2598c3(0x37a)](_0x354a71)),_0xa94a8e['updateMember'](_0x39da4c);}[_0x18e851(0x2bc)](_0xc54fee,_0x155457){var _0x29f737=_0x18e851;const _0x5bce1d=this[_0x29f737(0x215)][_0x29f737(0x20b)](_0xc54fee);_0x5bce1d&&_0x5bce1d[_0x29f737(0x2bc)](_0x155457);}['getRoom'](_0x4cbe92){var _0x107c6f=_0x18e851;return this[_0x107c6f(0x215)]['get'](_0x4cbe92);}['getMember'](_0x105544,_0xe630fe){var _0x43e0b2=_0x18e851;const _0x212bbc=this[_0x43e0b2(0x215)]['get'](_0x105544);if(_0x212bbc)return _0x212bbc[_0x43e0b2(0x10d)](_0xe630fe);}[_0x18e851(0x24a)](_0xa445a8){var _0x443958=_0x18e851;const _0x48ddec=this[_0x443958(0x215)]['get'](_0xa445a8);_0x48ddec&&(_0x48ddec[_0x443958(0x25e)](),this[_0x443958(0x215)][_0x443958(0x11a)](_0xa445a8));}[_0x18e851(0x25e)](){var _0x5c4ae5=_0x18e851;this[_0x5c4ae5(0x215)]['forEach'](_0x1c64cd=>_0x1c64cd['dispose']()),this[_0x5c4ae5(0x215)][_0x5c4ae5(0x2f2)](),this[_0x5c4ae5(0x36a)][_0x5c4ae5(0x1e4)]();}};xe=ns([Yt(0x0,_0xb7833d),Yt(0x1,_0x9a3a81(_0x2ea20d))],xe);class ss extends _0x164561{constructor(){var _0x17ad07=_0x18e851;super(...arguments),P(this,_0x17ad07(0x1d8),new Map()),P(this,_0x17ad07(0x2f0),new _0x575003(this[_0x17ad07(0x1d8)])),P(this,_0x17ad07(0x2f9),this[_0x17ad07(0x2f0)][_0x17ad07(0x3c5)]());}['dispose'](){var _0x1729bd=_0x18e851;this[_0x1729bd(0x1d8)]['clear']();}[_0x18e851(0x112)](_0x56464b){var _0x1b901b=_0x18e851;this[_0x1b901b(0x1d8)][_0x1b901b(0x2b3)](_0x56464b[_0x1b901b(0x117)],_0x56464b),this['_emitMembers']();}[_0x18e851(0x2bc)](_0x3f0082){var _0x49db51=_0x18e851;this[_0x49db51(0x1d8)][_0x49db51(0x11a)](_0x3f0082);}[_0x18e851(0x10d)](_0x50289a){var _0x342a17=_0x18e851;return this[_0x342a17(0x1d8)][_0x342a17(0x20b)](_0x50289a);}[_0x18e851(0x2c3)](){var _0x5550de=_0x18e851;return Array[_0x5550de(0x152)](this[_0x5550de(0x1d8)][_0x5550de(0x38e)]());}['_emitMembers'](){var _0x402ed4=_0x18e851;this['_members$'][_0x402ed4(0x37a)](this[_0x402ed4(0x1d8)]);}}var rs=Object[_0x18e851(0x20a)],os=Object['getOwnPropertyDescriptor'],as=(_0x482174,_0x52fc45,_0x4ec6ad,_0x4df77c)=>{var _0x552a49=_0x18e851;for(var _0x5d4d97=_0x4df77c>0x1?void 0x0:_0x4df77c?os(_0x52fc45,_0x4ec6ad):_0x52fc45,_0x57edea=_0x482174[_0x552a49(0x1ae)]-0x1,_0x93d6f2;_0x57edea>=0x0;_0x57edea--)(_0x93d6f2=_0x482174[_0x57edea])&&(_0x5d4d97=(_0x4df77c?_0x93d6f2(_0x52fc45,_0x4ec6ad,_0x5d4d97):_0x93d6f2(_0x5d4d97))||_0x5d4d97);return _0x4df77c&&_0x5d4d97&&rs(_0x52fc45,_0x4ec6ad,_0x5d4d97),_0x5d4d97;},me=(_0x5b0f2a,_0x471a09)=>(_0x14ca95,_0x2d9c2e)=>_0x471a09(_0x14ca95,_0x2d9c2e,_0x5b0f2a),Te=(_0x23a833=>(_0x23a833[_0x23a833[_0x18e851(0x26d)]=0x0]=_0x18e851(0x26d),_0x23a833[_0x23a833['JOINING']=0x1]=_0x18e851(0x258),_0x23a833[_0x23a833[_0x18e851(0x3f0)]=0x2]='OFFLINE',_0x23a833[_0x23a833[_0x18e851(0x2c5)]=0x3]=_0x18e851(0x2c5),_0x23a833))(Te||{});const qt={[Ee[_0x18e851(0x203)]]:_0x18e851(0x23e),[Ee[_0x18e851(0x338)]]:_0x18e851(0x37c),[Ee[_0x18e851(0x1b7)]]:_0x18e851(0x214),[Ee[_0x18e851(0x287)]]:_0x18e851(0x19f),[Ee[_0x18e851(0x10c)]]:'session.room-cnt-exceeds'};let Tt=class extends _0x3e0bc6{constructor(_0x30b5a8,_0x337a2c,_0x530286,_0x1f6f69,_0x1cebdb,_0x25553f,_0x1f8dbd,_0x1a3b32,_0x567a41){var _0x452137=_0x18e851;super(),P(this,_0x452137(0x1ca),new _0x575003(0x0)),P(this,'sessionStatus$',this[_0x452137(0x1ca)][_0x452137(0x3c5)]()),P(this,_0x452137(0x28d),new _0x1a1e17()),P(this,_0x452137(0x18b),this[_0x452137(0x28d)]['asObservable']()),P(this,_0x452137(0x202)),P(this,'_socketMessageSubscription'),P(this,'_collaborationTimeoutTimer'),P(this,'_shouldReportTelemetry',!0x1),P(this,_0x452137(0xfe),null),(this['_unitID']=_0x30b5a8,this[_0x452137(0x33d)]=_0x530286,this[_0x452137(0x13d)]=_0x1f6f69,this[_0x452137(0x1b6)]=_0x1cebdb,this['_memberService']=_0x25553f,this[_0x452137(0x14b)]=_0x1f8dbd,this['_collaborationUIEventService']=_0x1a3b32,this['_telemetryService']=_0x567a41,this[_0x452137(0x1d9)]=!!this[_0x452137(0x17d)],_0x337a2c[_0x452137(0x2be)](_0x3f1506(this[_0x452137(0x1b3)]))['subscribe'](_0x1443a6=>{var _0x18709f=_0x452137,_0x57d2eb;typeof _0x1443a6>'u'||(this['_socket']=_0x1443a6,_0x1443a6?(this[_0x18709f(0x204)](_0x1443a6),this[_0x18709f(0x1a3)]=_0x1443a6[_0x18709f(0x129)][_0x18709f(0x3b5)](_0x4a2bf3=>{var _0x3ceafb=_0x18709f;_0x4a2bf3['routeKey']===this['_unitID']&&this[_0x3ceafb(0x3ad)](_0x4a2bf3);})):(this[_0x18709f(0x141)](),this[_0x18709f(0x1ca)][_0x18709f(0x37a)](0x2),(_0x57d2eb=this[_0x18709f(0x1a3)])==null||_0x57d2eb[_0x18709f(0x23a)](),this['_socketMessageSubscription']=null));}));}get[_0x18e851(0xed)](){var _0x37978a=_0x18e851;return this[_0x37978a(0x1ca)][_0x37978a(0x13e)]();}[_0x18e851(0x352)](){var _0x555f9e=_0x18e851,_0x117ea1,_0x34c003;return(_0x34c003=(_0x117ea1=this[_0x555f9e(0x202)])==null?void 0x0:_0x117ea1[_0x555f9e(0x117)])!=null?_0x34c003:null;}[_0x18e851(0x25e)](){var _0x46fd6a=_0x18e851;super[_0x46fd6a(0x25e)](),this[_0x46fd6a(0x1b3)][_0x46fd6a(0x37a)](),this['dispose$'][_0x46fd6a(0x1e4)]();}[_0x18e851(0x259)](){var _0x151f86=_0x18e851,_0x41c473,_0x1959ec;this[_0x151f86(0x141)](),(_0x41c473=this[_0x151f86(0x202)])==null||_0x41c473[_0x151f86(0x184)]({'cmd':F[_0x151f86(0x3ae)],'data':{'roomID':this[_0x151f86(0x10b)]}}),(_0x1959ec=this[_0x151f86(0x202)])==null||_0x1959ec[_0x151f86(0x259)](),this[_0x151f86(0x28d)]['complete'](),this[_0x151f86(0x1ca)][_0x151f86(0x1e4)](),this[_0x151f86(0x25e)]();}[_0x18e851(0x3ad)](_0x237cda){var _0x15213b=_0x18e851;_0x237cda['cmd']===F['JOIN']?this[_0x15213b(0x3b3)](_0x237cda):_0x237cda[_0x15213b(0x2f6)]===F[_0x15213b(0x373)]&&this[_0x15213b(0x1ed)](_0x237cda);}['_joinRoom'](_0x5b1c4f){var _0x32ee48=_0x18e851;this[_0x32ee48(0x1ca)][_0x32ee48(0x37a)](0x1),_0x5b1c4f[_0x32ee48(0x184)]({'cmd':F[_0x32ee48(0x148)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x18e851(0x3b3)](_0x2f9a9e){var _0x5d0895=_0x18e851,_0x3195db;if(_0x2f9a9e[_0x5d0895(0x233)]in qt){this[_0x5d0895(0x220)][_0x5d0895(0x1dc)]({'id':re['JOIN_ROOM_FAILED'],'data':qt[_0x2f9a9e[_0x5d0895(0x233)]]}),this[_0x5d0895(0x1ca)]['next'](0x2);return;}this['_sessionStatus$'][_0x5d0895(0x37a)](0x3);const _0x31beac=(_0x3195db=_0x2f9a9e[_0x5d0895(0x35b)][_0x5d0895(0x31f)][this['_unitID']])==null?void 0x0:_0x3195db[_0x5d0895(0x25c)];_0x31beac&&_0x31beac[_0x5d0895(0x3b1)](_0x392416=>this['_memberService']['updateMember'](this['_unitID'],_0x392416));}[_0x18e851(0x1ed)](_0x4ff882){var _0x24a788=_0x18e851;try{const _0x9cea72=_0x4ff882['data'];switch(_0x9cea72[_0x24a788(0x21e)]){case _0x666958['USERS_ENTER']:this[_0x24a788(0x277)](_0x9cea72),this[_0x24a788(0x28d)][_0x24a788(0x37a)](_0x9cea72);break;case _0x666958[_0x24a788(0x25f)]:this['_onUserLeave'](_0x9cea72),this['_event$'][_0x24a788(0x37a)](_0x9cea72);break;case _0x666958['CHANGESET_ACK']:case _0x666958[_0x24a788(0x21a)]:this[_0x24a788(0x2ef)](),this['_clearCollaborationTimeoutTimer'](),this['_event$']['next'](_0x9cea72);break;case _0x666958[_0x24a788(0x295)]:this['_logService']['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x24a788(0x1e9)](_0x9cea72)),this[_0x24a788(0x28d)][_0x24a788(0x37a)](_0x9cea72);break;case _0x666958[_0x24a788(0x130)]:this[_0x24a788(0x14b)]['onCommentUpdate'](_0x9cea72[_0x24a788(0x35b)]),this[_0x24a788(0x28d)][_0x24a788(0x37a)](_0x9cea72);break;default:this[_0x24a788(0x28d)][_0x24a788(0x37a)](_0x9cea72);}}catch(_0x3d8193){this['_logService']['error'](_0x3d8193,_0x4ff882);}}['_onUserJoin'](_0x41cf0d){var _0x17869f=_0x18e851;this[_0x17869f(0x268)][_0x17869f(0x112)](this[_0x17869f(0x10b)],_0x41cf0d[_0x17869f(0x35b)]);}[_0x18e851(0x35c)](_0x77084b){var _0x55930e=_0x18e851;this['_memberService'][_0x55930e(0x2bc)](this[_0x55930e(0x10b)],_0x77084b[_0x55930e(0x35b)][_0x55930e(0x117)]);}async[_0x18e851(0x184)](_0x2e447f,_0x56514c){var _0x5245ef=_0x18e851;if(this[_0x5245ef(0xed)]!==0x3||!this['_socket'])throw new Error(_0x5245ef(0x3e6));try{_0x2e447f[_0x5245ef(0x21e)]===_0x666958[_0x5245ef(0x3aa)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5245ef(0x32b)](_0x2e447f)),this[_0x5245ef(0x202)][_0x5245ef(0x184)]({'cmd':F['INGEST'],'routeKey':_0x56514c,'routeType':'','data':_0x2e447f});}catch(_0x2f3258){this[_0x5245ef(0x33d)]['error'](_0x2f3258);}}[_0x18e851(0x278)](){var _0x21bcf6=_0x18e851,_0x427a79;this[_0x21bcf6(0x299)]=setTimeout(()=>{var _0xf5e030=_0x21bcf6;this[_0xf5e030(0x299)]=null,this[_0xf5e030(0x220)]['emitEvent']({'id':re[_0xf5e030(0x125)]});},(_0x427a79=this[_0x21bcf6(0x13d)]['getConfig'](Ii))!=null?_0x427a79:Ti);}['_clearCollaborationTimeoutTimer'](){var _0x382463=_0x18e851;this[_0x382463(0x299)]&&(clearTimeout(this[_0x382463(0x299)]),this[_0x382463(0x299)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2abfc2){var _0x1a8048=_0x18e851;if(!this[_0x1a8048(0x1d9)])return;const {data:_0x4d25d6}=_0x2abfc2,{unitID:_0x1838be,changeset:_0x346d13}=_0x4d25d6,{mutations:_0x12d5ca,type:_0xe3dcc6}=_0x346d13;this[_0x1a8048(0xfe)]={'unitId':_0x1838be,'type':_0xe3dcc6,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':es(_0x12d5ca)};}[_0x18e851(0x2ef)](){var _0x46a432=_0x18e851;if(this[_0x46a432(0x1d9)]){if(!this[_0x46a432(0xfe)]){this[_0x46a432(0x33d)]['error']('[CollaborationSession]',_0x46a432(0x1ad));return;}this['_telemetryInfo'][_0x46a432(0x246)]=performance[_0x46a432(0x137)](),this[_0x46a432(0xfe)]['duration']=this[_0x46a432(0xfe)][_0x46a432(0x246)]-this[_0x46a432(0xfe)][_0x46a432(0x156)],this[_0x46a432(0x17d)][_0x46a432(0x31a)](Qn,this[_0x46a432(0xfe)]),this[_0x46a432(0xfe)]=null;}}[_0x18e851(0x141)](){var _0x1f4d83=_0x18e851;this[_0x1f4d83(0xfe)]=null;}};Tt=as([me(0x2,_0x23fe8a),me(0x3,_0x8d16e3),me(0x4,_0x9a3a81(_0x428633)),me(0x5,_0x9a3a81(xe)),me(0x6,_0x9a3a81(yi)),me(0x7,_0x9a3a81(pe)),me(0x8,_0x5638e9(_0x1ac15e))],Tt);var cs=Object[_0x18e851(0x20a)],hs=Object[_0x18e851(0x158)],_s=(_0x66557b,_0x575753,_0x54f971,_0x190583)=>{var _0x150bc6=_0x18e851;for(var _0x315945=_0x190583>0x1?void 0x0:_0x190583?hs(_0x575753,_0x54f971):_0x575753,_0x5e96d9=_0x66557b[_0x150bc6(0x1ae)]-0x1,_0x2a8f52;_0x5e96d9>=0x0;_0x5e96d9--)(_0x2a8f52=_0x66557b[_0x5e96d9])&&(_0x315945=(_0x190583?_0x2a8f52(_0x575753,_0x54f971,_0x315945):_0x2a8f52(_0x315945))||_0x315945);return _0x190583&&_0x315945&&cs(_0x575753,_0x54f971,_0x315945),_0x315945;},ge=(_0x27badb,_0x15c4e2)=>(_0x442636,_0x309308)=>_0x15c4e2(_0x442636,_0x309308,_0x27badb);let Le=class extends _0x164561{constructor(_0x24d2cb,_0x3aa7dd,_0x8c2dc0,_0x247cce,_0x1b2f49,_0x32bbcb,_0x2e52c3){var _0x266cb9=_0x18e851;super(),P(this,_0x266cb9(0x3bb),new _0x575003(void 0x0)),P(this,_0x266cb9(0x1bc),this[_0x266cb9(0x3bb)][_0x266cb9(0x3c5)]()),P(this,_0x266cb9(0x320),null),P(this,_0x266cb9(0x32e),new Map()),P(this,_0x266cb9(0x1bb),new _0x575003(Te[_0x266cb9(0x26d)])),P(this,_0x266cb9(0x1e6),this['_status$'][_0x266cb9(0x3c5)]()),P(this,_0x266cb9(0x348),!0x1),P(this,_0x266cb9(0x385)),P(this,_0x266cb9(0x317),0x0),P(this,'_sendHeartbeatTimer'),P(this,'_timeoutTimer'),(this[_0x266cb9(0x122)]=_0x24d2cb,this[_0x266cb9(0x33d)]=_0x3aa7dd,this[_0x266cb9(0x13d)]=_0x8c2dc0,this[_0x266cb9(0x3f5)]=_0x247cce,this[_0x266cb9(0x2f4)]=_0x1b2f49,this[_0x266cb9(0x220)]=_0x32bbcb,this[_0x266cb9(0x1f7)]=_0x2e52c3,this[_0x266cb9(0x261)]());}get[_0x18e851(0x202)](){var _0x13636b=_0x18e851;return this[_0x13636b(0x3bb)][_0x13636b(0x13e)]();}['_listenToNetworkCondition'](){var _0x1b5713=_0x18e851;this[_0x1b5713(0x1f7)]&&this['disposeWithMe'](this['_networkConditionService'][_0x1b5713(0x24b)][_0x1b5713(0x3b5)](_0x3fd03b=>{var _0x441d54=_0x1b5713;_0x3fd03b&&!this[_0x441d54(0x202)]&&this['reconnect'](),_0x3fd03b||this[_0x441d54(0x3b9)]();}));}[_0x18e851(0x25e)](){var _0xf0ca7c=_0x18e851;super['dispose'](),this[_0xf0ca7c(0x32e)][_0xf0ca7c(0x3b1)](_0x44495f=>_0x44495f[_0xf0ca7c(0x25e)]()),this['_sessions']['clear'](),this['_status$'][_0xf0ca7c(0x1e4)]();}async[_0x18e851(0x321)](_0x6a0203){var _0x292d9b=_0x18e851;if(this[_0x292d9b(0x32e)][_0x292d9b(0x3d8)](_0x6a0203))return this['_sessions'][_0x292d9b(0x20b)](_0x6a0203);this[_0x292d9b(0x182)]();const _0xd3558d=this[_0x292d9b(0x122)][_0x292d9b(0x318)](Tt,_0x6a0203,this['_socket$'][_0x292d9b(0x3c5)]());return this['_sessions'][_0x292d9b(0x2b3)](_0x6a0203,_0xd3558d),_0xd3558d;}[_0x18e851(0x2d6)](_0xb724c9){var _0x3ca7a3=_0x18e851,_0x1498a5;const _0x464c2c=this[_0x3ca7a3(0x32e)][_0x3ca7a3(0x20b)](_0xb724c9);_0x464c2c&&(this[_0x3ca7a3(0x32e)][_0x3ca7a3(0x11a)](_0xb724c9),_0x464c2c[_0x3ca7a3(0x259)]()),this['_sessions'][_0x3ca7a3(0x3b0)]||(_0x1498a5=this['_socket'])==null||_0x1498a5[_0x3ca7a3(0x259)]();}[_0x18e851(0x316)](){var _0x213ecd=_0x18e851;this[_0x213ecd(0x317)]=0x0,this[_0x213ecd(0x385)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x213ecd(0x385)]=null),this['_tryReconnect']();}async[_0x18e851(0x3b8)](){var _0x4a2b5c=_0x18e851,_0x2a9ea8,_0x51c71d,_0x234cfe;const _0x149ed8=this[_0x4a2b5c(0x13d)][_0x4a2b5c(0x394)](Y),_0x26041c=(_0x2a9ea8=_0x149ed8==null?void 0x0:_0x149ed8[_0x4a2b5c(0x302)])!=null?_0x2a9ea8:Mn;return(_0x234cfe=(_0x51c71d=(await this[_0x4a2b5c(0x2f4)][_0x4a2b5c(0x20b)](_0x26041c,{'headers':{'Content-Type':_0x4a2b5c(0x102)}}))['body'])==null?void 0x0:_0x51c71d[_0x4a2b5c(0x2b4)])!=null?_0x234cfe:'';}['_createSocketURL'](_0x987d25){var _0x1c0ca8=_0x18e851,_0x4ff921,_0x39ad87;const _0x21a842=this[_0x1c0ca8(0x13d)][_0x1c0ca8(0x394)](xn),_0x4fc27d=this[_0x1c0ca8(0x13d)][_0x1c0ca8(0x394)](Y),_0x311722=(_0x39ad87=(_0x4ff921=_0x4fc27d==null?void 0x0:_0x4fc27d[_0x1c0ca8(0x3d1)])!=null?_0x4ff921:_0x21a842)!=null?_0x39ad87:Ln,_0x5093b5=typeof window>'u'?new URL(_0x311722):new URL(_0x311722,window[_0x1c0ca8(0x29c)]['origin']);_0x5093b5[_0x1c0ca8(0x157)][_0x1c0ca8(0x2b3)](_0x1c0ca8(0x155),_0x987d25);const _0x5f1023=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1c0ca8(0x29c)][_0x1c0ca8(0x22b)]);return _0x5f1023[_0x1c0ca8(0x20b)](_0x1c0ca8(0x335))&&_0x5093b5['searchParams'][_0x1c0ca8(0x2b3)](_0x1c0ca8(0x335),_0x5f1023[_0x1c0ca8(0x20b)]('runId')),_0x5093b5[_0x1c0ca8(0x1fc)]();}async[_0x18e851(0x149)](){var _0x2a024a=_0x18e851;const _0x57c663=await this[_0x2a024a(0x3b8)](),_0x5997c5=this[_0x2a024a(0x217)](_0x57c663),_0x125d32=this[_0x2a024a(0x3f5)][_0x2a024a(0x1e2)](_0x5997c5);return this[_0x2a024a(0x320)]=_0x125d32,_0x125d32;}async['_tryEnsureSocket'](){var _0x4b7851=_0x18e851,_0x415c4e,_0x5901c4;try{const _0x3b48bc=(_0x5901c4=(_0x415c4e=this[_0x4b7851(0x202)])!=null?_0x415c4e:this[_0x4b7851(0x320)])!=null?_0x5901c4:await this[_0x4b7851(0x149)]();if(_0x3b48bc){const _0x3a01a8=_0x3b48bc[_0x4b7851(0x184)];_0x3b48bc['send']=_0x2bf4c0=>(this[_0x4b7851(0x38f)](),_0x3a01a8['apply'](_0x3b48bc,[_0x2bf4c0])),_0x3b48bc['message$'][_0x4b7851(0x3b5)](_0x46fcfc=>this[_0x4b7851(0x3cd)](_0x3b48bc,_0x46fcfc)),_0x3b48bc[_0x4b7851(0x382)][_0x4b7851(0x2be)](_0x18d420(0x1))[_0x4b7851(0x3b5)](_0x16254e=>this['_logService']['error'](_0x4b7851(0x297),_0x16254e)),_0x3b48bc[_0x4b7851(0x399)][_0x4b7851(0x2be)](_0x18d420(0x1))[_0x4b7851(0x3b5)](()=>{var _0x1c8749=_0x4b7851;this[_0x1c8749(0x119)](_0x3b48bc);}),_0x3b48bc[_0x4b7851(0x23d)][_0x4b7851(0x2be)](_0x18d420(0x1))[_0x4b7851(0x3b5)](_0x1a27b0=>{var _0x5f1d0a=_0x4b7851;this[_0x5f1d0a(0x33d)][_0x5f1d0a(0x1a6)](_0x5f1d0a(0x15e),'socket\x20close',_0x1a27b0),this[_0x5f1d0a(0x3da)]();});}}catch(_0x67339f){this[_0x4b7851(0x33d)][_0x4b7851(0x35d)](_0x67339f),this[_0x4b7851(0x3da)]();}}['_onConnectionOpen'](_0x1fdce2){var _0xc8cce=_0x18e851;this[_0xc8cce(0x33d)]['debug']('[CollaborationSessionService]',_0xc8cce(0x362)),_0x1fdce2[_0xc8cce(0x184)]({'cmd':F[_0xc8cce(0x2a0)]}),this[_0xc8cce(0x38f)]();}[_0x18e851(0x3b9)](){var _0x4ad848=_0x18e851;this[_0x4ad848(0x348)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x4ad848(0x37a)](Te[_0x4ad848(0x3f0)]),this[_0x4ad848(0x3bb)]['next'](null),this[_0x4ad848(0x369)](),this[_0x4ad848(0x192)]();}[_0x18e851(0x3da)](){var _0x2243c5=_0x18e851,_0x375c06;this[_0x2243c5(0x3b9)](),this[_0x2243c5(0x317)]<((_0x375c06=this['_configService']['getConfig'](jn))!=null?_0x375c06:Bn)?(this[_0x2243c5(0x220)][_0x2243c5(0x1dc)]({'id':re['SOCKET_FAILED_RETRY']}),this[_0x2243c5(0x39f)]()):this['_collaborationUIEventService'][_0x2243c5(0x1dc)]({'id':re['SOCKET_FAILED']});}[_0x18e851(0x39f)](){var _0x529b1f=_0x18e851,_0xfe3d70;const _0x90b7ed=this['_retryCount'],_0x5ca2ea=this[_0x529b1f(0x13d)][_0x529b1f(0x394)](Y),_0x226018=_0x90b7ed===0x0?0x0:((_0xfe3d70=_0x5ca2ea==null?void 0x0:_0x5ca2ea[_0x529b1f(0x250)])!=null?_0xfe3d70:kn)*0x2**_0x90b7ed;this['_retryConnectingTimer']=setTimeout(()=>{var _0x53cfab=_0x529b1f;clearTimeout(this[_0x53cfab(0x385)]),this[_0x53cfab(0x385)]=null,this[_0x53cfab(0x182)]();},_0x226018),this[_0x529b1f(0x317)]+=0x1;}[_0x18e851(0x3cd)](_0xc88b17,_0x250e9b){var _0x152ae3=_0x18e851;const {cmd:_0x2f000e}=_0x250e9b;_0x2f000e===F[_0x152ae3(0x2a0)]&&!this[_0x152ae3(0x348)]&&(_0xc88b17[_0x152ae3(0x117)]=_0x250e9b[_0x152ae3(0x35b)][_0x152ae3(0x117)],this[_0x152ae3(0x3bb)]['next'](_0xc88b17),this['_status$'][_0x152ae3(0x37a)](Te['ONLINE']),this['_socketReady']=!0x0,this[_0x152ae3(0x320)]=null),_0x2f000e===F['HEARTBEAT']&&this[_0x152ae3(0x369)](),this[_0x152ae3(0x38f)]();}[_0x18e851(0x38f)](){var _0x5e450b=_0x18e851,_0x5ec515;this[_0x5e450b(0x192)](),this[_0x5e450b(0x1de)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x5ec515=this[_0x5e450b(0x13d)]['getConfig']($n))!=null?_0x5ec515:Hn);}[_0x18e851(0x171)](){var _0xcfbd5e=_0x18e851;this[_0xcfbd5e(0x202)][_0xcfbd5e(0x184)]({'cmd':F[_0xcfbd5e(0x1ea)]}),this[_0xcfbd5e(0x1f9)]();}[_0x18e851(0x1f9)](){var _0x1a1711=_0x18e851,_0x45e9a1;this[_0x1a1711(0x17e)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x45e9a1=this[_0x1a1711(0x13d)][_0x1a1711(0x394)](Ii))!=null?_0x45e9a1:Ti);}[_0x18e851(0x192)](){var _0x4e94fd=_0x18e851;this[_0x4e94fd(0x1de)]!=null&&(clearTimeout(this[_0x4e94fd(0x1de)]),this[_0x4e94fd(0x1de)]=null);}[_0x18e851(0x369)](){var _0x493ce5=_0x18e851;this[_0x493ce5(0x17e)]!=null&&(clearTimeout(this[_0x493ce5(0x17e)]),this['_timeoutTimer']=null);}};Le=_s([ge(0x0,_0x9a3a81(_0x91639e)),ge(0x1,_0x23fe8a),ge(0x2,_0x8d16e3),ge(0x3,Ri),ge(0x4,_0x9a3a81(_0x43eb8b)),ge(0x5,_0x9a3a81(pe)),ge(0x6,_0x5638e9(Kn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x18e851(0x36f)]((n+0x100)[_0x18e851(0x1fc)](0x10)['slice'](0x1));function ls(_0x5bae8b,_0x4e7575=0x0){return(V[_0x5bae8b[_0x4e7575+0x0]]+V[_0x5bae8b[_0x4e7575+0x1]]+V[_0x5bae8b[_0x4e7575+0x2]]+V[_0x5bae8b[_0x4e7575+0x3]]+'-'+V[_0x5bae8b[_0x4e7575+0x4]]+V[_0x5bae8b[_0x4e7575+0x5]]+'-'+V[_0x5bae8b[_0x4e7575+0x6]]+V[_0x5bae8b[_0x4e7575+0x7]]+'-'+V[_0x5bae8b[_0x4e7575+0x8]]+V[_0x5bae8b[_0x4e7575+0x9]]+'-'+V[_0x5bae8b[_0x4e7575+0xa]]+V[_0x5bae8b[_0x4e7575+0xb]]+V[_0x5bae8b[_0x4e7575+0xc]]+V[_0x5bae8b[_0x4e7575+0xd]]+V[_0x5bae8b[_0x4e7575+0xe]]+V[_0x5bae8b[_0x4e7575+0xf]])['toLowerCase']();}let dt;const us=new Uint8Array(0x10);function ds(){var _0x4c7e6c=_0x18e851;if(!dt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x4c7e6c(0x3ca));dt=crypto[_0x4c7e6c(0x337)][_0x4c7e6c(0x2d0)](crypto);}return dt(us);}const fs=typeof crypto<'u'&&crypto[_0x18e851(0x242)]&&crypto[_0x18e851(0x242)]['bind'](crypto),Jt={'randomUUID':fs};function vs(_0x868ac5,_0x3eca78,_0x4c4e81){var _0xb5f8cc=_0x18e851;if(Jt['randomUUID']&&!_0x3eca78&&!_0x868ac5)return Jt['randomUUID']();_0x868ac5=_0x868ac5||{};const _0x5db355=_0x868ac5[_0xb5f8cc(0x31d)]||(_0x868ac5[_0xb5f8cc(0x190)]||ds)();return _0x5db355[0x6]=_0x5db355[0x6]&0xf|0x40,_0x5db355[0x8]=_0x5db355[0x8]&0x3f|0x80,ls(_0x5db355);}const X=_0x14eee6(_0x18e851(0x1cb));function po(_0x353312){var _0x436965=_0x18e851;return _0x436965(0x1fe)+_0x353312;}var ps=Object[_0x18e851(0x20a)],ms=Object[_0x18e851(0x158)],gs=(_0x17b840,_0x456eb3,_0x4ab517,_0x59ed74)=>{var _0x178886=_0x18e851;for(var _0x583880=_0x59ed74>0x1?void 0x0:_0x59ed74?ms(_0x456eb3,_0x4ab517):_0x456eb3,_0x44701a=_0x17b840[_0x178886(0x1ae)]-0x1,_0x38ed40;_0x44701a>=0x0;_0x44701a--)(_0x38ed40=_0x17b840[_0x44701a])&&(_0x583880=(_0x59ed74?_0x38ed40(_0x456eb3,_0x4ab517,_0x583880):_0x38ed40(_0x583880))||_0x583880);return _0x59ed74&&_0x583880&&ps(_0x456eb3,_0x4ab517,_0x583880),_0x583880;},ft=(_0x543bb8,_0x17ffcd)=>(_0x514894,_0x5230f1)=>_0x17ffcd(_0x514894,_0x5230f1,_0x543bb8);function Ss(_0x43c5d7){var _0x4c785f=_0x18e851;const {unitID:_0x17cb93,mutations:_0xa98c53}=_0x43c5d7;return{'unitId':_0x17cb93,'subUnitId':_0xa98c53[0x0][_0x4c785f(0x1c1)]['subUnitId']};}let nt=class{constructor(_0x521b81,_0x52fdf4,_0x4444dc){var _0x4d930d=_0x18e851;this[_0x4d930d(0x122)]=_0x521b81,this['_transformService']=_0x52fdf4,this[_0x4d930d(0x1ec)]=_0x4444dc;}['transformSelections'](_0xefba23){var _0x3d2430=_0x18e851,_0x2ee4db,_0x48ef4e,_0x305415,_0x1bae75;const _0x53a283=this[_0x3d2430(0x122)][_0x3d2430(0x20b)](_0x3e6164),{unitId:_0x1063ed,subUnitId:_0x2f2bca}=Ss(_0xefba23),_0x4dcc20=_0x53a283==null?void 0x0:_0x53a283[_0x3d2430(0x3c8)](_0x1063ed)[_0x3d2430(0x145)](),_0x2b11d7=(_0x48ef4e=(_0x2ee4db=this[_0x3d2430(0x1ec)][_0x3d2430(0x2eb)](_0x1063ed))==null?void 0x0:_0x2ee4db[_0x3d2430(0x29f)]())==null?void 0x0:_0x48ef4e[_0x3d2430(0x133)]();if(_0x4dcc20[_0x3d2430(0x1ae)]===0x0||!_0x1063ed||!_0x2f2bca)return;const _0x4ba17c=[{'id':_0x535f15['id'],'params':{'unitId':_0x1063ed,'subUnitId':_0x2b11d7,'selections':_0x53aed1[_0x3d2430(0x241)](_0x4dcc20)}}],_0x50b409=this[_0x3d2430(0x1bf)]['transformMutationsWithChangeset'](_0xefba23,_0x4ba17c);if(!_0x4c2c2a(_0x50b409))throw _0x50b409[_0x3d2430(0x35d)];const _0x189b06=(_0x1bae75=(_0x305415=_0x50b409[_0x3d2430(0x1be)][0x0])==null?void 0x0:_0x305415[_0x3d2430(0x1c1)])==null?void 0x0:_0x1bae75[_0x3d2430(0x3f7)];if(Array[_0x3d2430(0x143)](_0x189b06)&&_0x189b06[_0x3d2430(0x1ae)]){if(_0x189b06['length']===_0x4ba17c[0x0][_0x3d2430(0x1c1)][_0x3d2430(0x3f7)]['length']&&_0x189b06['every']((_0x1f5d87,_0x7c55b4)=>_0x59b52d[_0x3d2430(0x2de)](_0x1f5d87[_0x3d2430(0x34b)],_0x4ba17c[0x0]['params']['selections'][_0x7c55b4][_0x3d2430(0x34b)])))return;this['_injector'][_0x3d2430(0x20b)](_0x55ba2b)[_0x3d2430(0x114)](_0x535f15['id'],{'unitId':_0x1063ed,'subUnitId':_0x2b11d7,'selections':_0x189b06});}}};nt=gs([ft(0x0,_0x9a3a81(_0x91639e)),ft(0x1,_0x55bfa1),ft(0x2,_0xb7833d)],nt);const _t=_0x14eee6(_0x18e851(0x374));var Oi=(_0x4b80d9=>(_0x4b80d9[_0x4b80d9[_0x18e851(0x166)]=0x0]=_0x18e851(0x166),_0x4b80d9[_0x4b80d9['OTHER_CLIENTS_EDITING']=0x1]=_0x18e851(0x34a),_0x4b80d9))(Oi||{});const Es=new Set([_0x4abc72['id']]);function Xt(_0x47c206,_0x29ab77,_0xbe9f48,_0x34c56e,_0x126e3b){var _0x25cbcc=_0x18e851,_0x405748,_0x3a8e94,_0xa4e387,_0x49175d;const _0x3d4348=[];for(const _0x49d76b of _0x47c206)if(Es['has'](_0x49d76b['id'])){if(_0x3d4348[_0x25cbcc(0x1ae)]>0x0)break;_0x3d4348[_0x25cbcc(0x36f)](_0x49d76b);break;}else _0x3d4348[_0x25cbcc(0x36f)](_0x49d76b);const _0x30c93c=(_0x3a8e94=(_0x405748=_0x126e3b[_0x25cbcc(0x2a2)]())==null?void 0x0:_0x405748[_0x25cbcc(0x350)])!=null?_0x3a8e94:_0x25cbcc(0x16a),_0x5121e4=(_0x49175d=(_0xa4e387=_0x126e3b[_0x25cbcc(0x2a2)]())==null?void 0x0:_0xa4e387['memberID'])!=null?_0x49175d:'unknown';return{'changeset':{'unitID':_0x29ab77,'type':_0x392155(_0xbe9f48[_0x25cbcc(0x269)](_0x29ab77)),'baseRev':_0x34c56e[_0x25cbcc(0x11f)](_0x29ab77),'revision':0x0,'userID':_0x30c93c,'memberID':_0x5121e4,'mutations':_0x3d4348},'pendingMutations':_0x47c206[_0x25cbcc(0x14a)](_0x3d4348[_0x25cbcc(0x1ae)])};}function Is(_0xc1078e,_0x30c547,_0x4e8760,_0xe34814,_0x3e0d3d){var _0x59fae4=_0x18e851,_0x49b61c,_0x1732df,_0x2d51c1,_0x32a706;const _0x4a0f8c=[_0xc1078e['reduce']((_0x4ed3d1,_0x382f30)=>{var _0x4dc96e=_0x35f3,_0x336f73;const {id:_0x18871c}=_0x4ed3d1,{id:_0x5c3c7b,type:_0x1cc68c}=_0x382f30,_0x30ef14=(_0x336f73=_0x4ed3d1['params'])!=null?_0x336f73:{'actions':null},_0x2806ba=_0x382f30[_0x4dc96e(0x1c1)];if(_0x18871c&&_0x18871c!==_0x5c3c7b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x18871c+_0x4dc96e(0x2f8)+_0x5c3c7b+'.');return{..._0x4ed3d1,'id':_0x5c3c7b,'type':_0x1cc68c,'params':{'unitId':_0x2806ba[_0x4dc96e(0x110)],'textRanges':_0x2806ba[_0x4dc96e(0x345)],'actions':_0x4485f5[_0x4dc96e(0x23f)](_0x30ef14[_0x4dc96e(0x2e0)],_0x2806ba[_0x4dc96e(0x2e0)])}};},{})],_0xff9d6b=(_0x1732df=(_0x49b61c=_0x3e0d3d[_0x59fae4(0x2a2)]())==null?void 0x0:_0x49b61c[_0x59fae4(0x350)])!=null?_0x1732df:_0x59fae4(0x16a),_0x30152d=(_0x32a706=(_0x2d51c1=_0x3e0d3d[_0x59fae4(0x2a2)]())==null?void 0x0:_0x2d51c1[_0x59fae4(0x117)])!=null?_0x32a706:'unknown';return{'changeset':{'unitID':_0x30c547,'type':_0x392155(_0x4e8760[_0x59fae4(0x269)](_0x30c547)),'baseRev':_0xe34814[_0x59fae4(0x11f)](_0x30c547),'revision':0x0,'userID':_0xff9d6b,'memberID':_0x30152d,'mutations':_0x4a0f8c},'pendingMutations':[]};}function Ni(_0xc0c82b,_0x25dc46){var _0x118791=_0x18e851;const _0x298420=new _0x29181d(0x1);return setTimeout(()=>_0x298420[_0x118791(0x37a)](_0x25dc46),_0xc0c82b),_0x298420[_0x118791(0x3c5)]()[_0x118791(0x2be)](_0x2e8922(0x1));}const Ts={'id':_0x360c83['id'],'type':_0x51faea[_0x18e851(0x3cc)],'params':{}};var Cs=Object[_0x18e851(0x20a)],bs=Object['getOwnPropertyDescriptor'],be=(_0x3efabc,_0x408c0f,_0x222dab,_0x2a4111)=>{var _0x49edf7=_0x18e851;for(var _0x5f3a2e=_0x2a4111>0x1?void 0x0:_0x2a4111?bs(_0x408c0f,_0x222dab):_0x408c0f,_0x433213=_0x3efabc[_0x49edf7(0x1ae)]-0x1,_0x38a358;_0x433213>=0x0;_0x433213--)(_0x38a358=_0x3efabc[_0x433213])&&(_0x5f3a2e=(_0x2a4111?_0x38a358(_0x408c0f,_0x222dab,_0x5f3a2e):_0x38a358(_0x5f3a2e))||_0x5f3a2e);return _0x2a4111&&_0x5f3a2e&&Cs(_0x408c0f,_0x222dab,_0x5f3a2e),_0x5f3a2e;},A=(_0x2744e9,_0x39ad4e)=>(_0x1652ec,_0x43ec93)=>_0x39ad4e(_0x1652ec,_0x43ec93,_0x2744e9),Pi=(_0x53a290=>(_0x53a290[_0x18e851(0x3f8)]=_0x18e851(0x2a9),_0x53a290[_0x18e851(0x3eb)]=_0x18e851(0x16f),_0x53a290['PENDING']=_0x18e851(0x38d),_0x53a290[_0x18e851(0x30f)]=_0x18e851(0x361),_0x53a290['AWAITING_WITH_PENDING']=_0x18e851(0x29d),_0x53a290[_0x18e851(0x30a)]=_0x18e851(0x324),_0x53a290[_0x18e851(0x1a8)]=_0x18e851(0x1c3),_0x53a290['OFFLINE']=_0x18e851(0x16b),_0x53a290))(Pi||{});const Di=0xea60;class Re{constructor(_0x3628c8,_0x48fbe1,_0x36670d,_0x210207,_0x5ee255,_0x10f048,_0x2cc334,_0x5394ef,_0x16e7a5){var _0x4f468c=_0x18e851;P(this,'_awaitingChangeset',null),P(this,_0x4f468c(0x2b7),[]),(this[_0x4f468c(0x185)]=_0x3628c8,this[_0x4f468c(0x1d2)]=_0x48fbe1,this['_handler']=_0x5ee255,this[_0x4f468c(0x303)]=_0x10f048,this[_0x4f468c(0x36e)]=_0x2cc334,this[_0x4f468c(0x340)]=_0x5394ef,this['_localCacheService']=_0x16e7a5,this[_0x4f468c(0x351)]=_0x36670d,this['_pendingMutations']=_0x210207);}['_checkMissing'](_0x2ed54c){var _0x429125=_0x18e851;const _0x104de0=this[_0x429125(0x340)][_0x429125(0x11f)](this[_0x429125(0x185)]);return _0x2ed54c['revision']>_0x104de0+0x1?(this['_handler'][_0x429125(0x1e5)]({'from':_0x104de0,'to':_0x2ed54c['revision']-0x1}),!0x0):!0x1;}[_0x18e851(0x18e)](_0x1c4ff0){var _0x166f99=_0x18e851;this[_0x166f99(0x36e)][_0x166f99(0x106)](this[_0x166f99(0x185)],_0x1c4ff0);}[_0x18e851(0x354)](_0x39a92e){var _0x563305=_0x18e851,_0x119a20,_0x43a2e0;(_0x43a2e0=(_0x119a20=this['_handler'])[_0x563305(0x393)])==null||_0x43a2e0[_0x563305(0x383)](_0x119a20,_0x39a92e);}[_0x18e851(0x32f)](_0x264441){var _0x1e71c8=_0x18e851,_0x21493d,_0x524717;return(_0x524717=(_0x21493d=this[_0x1e71c8(0x3a0)])[_0x1e71c8(0x1f5)])==null?void 0x0:_0x524717['call'](_0x21493d,_0x264441);}[_0x18e851(0x392)](_0x1afa7b){var _0x251f6d=_0x18e851,_0x2fd8bf,_0x2ec91e;return(_0x2ec91e=(_0x2fd8bf=this[_0x251f6d(0x3a0)])['onTransformState'])==null?void 0x0:_0x2ec91e[_0x251f6d(0x383)](_0x2fd8bf,_0x1afa7b);}['_transformRemoteChangesetByIMECache'](_0x74855b){var _0x733f70=_0x18e851,_0x58e7c3,_0x45c1cd,_0x4d36e2;return(_0x4d36e2=(_0x45c1cd=(_0x58e7c3=this[_0x733f70(0x3a0)])[_0x733f70(0x3f4)])==null?void 0x0:_0x45c1cd[_0x733f70(0x383)](_0x58e7c3,_0x74855b))!=null?_0x4d36e2:_0x74855b;}[_0x18e851(0x1c4)](_0x2bc259){var _0x17a5e7=_0x18e851,_0x31c41d,_0x1e1d1a,_0x861a85;return(_0x861a85=(_0x1e1d1a=(_0x31c41d=this[_0x17a5e7(0x3a0)])[_0x17a5e7(0x1c2)])==null?void 0x0:_0x1e1d1a[_0x17a5e7(0x383)](_0x31c41d,_0x2bc259))!=null?_0x861a85:_0x2bc259;}['_syncEditingCollabCursor'](_0x8661c8){var _0x318de6=_0x18e851,_0x1dc2d1,_0xf6e487;if(this[_0x318de6(0x1d2)]===Q[_0x318de6(0x28f)]){const {unitID:_0xd1c59d,mutations:_0xd073eb,memberID:_0x2d8220}=_0x8661c8,_0x10a263=_0xd073eb[0x0]['params']['textRanges'];Array[_0x318de6(0x143)](_0x10a263)&&_0x10a263[_0x318de6(0x1ae)]>0x0&&((_0xf6e487=(_0x1dc2d1=this['_handler'])[_0x318de6(0x2dc)])==null||_0xf6e487[_0x318de6(0x383)](_0x1dc2d1,{'unitID':_0xd1c59d,'memberID':_0x2d8220,'textRanges':_0x10a263}));}}[_0x18e851(0x169)](){var _0x75d166=_0x18e851,_0x21f6e4;(_0x21f6e4=this[_0x75d166(0x3a6)])==null||_0x21f6e4[_0x75d166(0x325)](this[_0x75d166(0x185)],this['type'],this[_0x75d166(0x351)],this[_0x75d166(0x2b7)]);}[_0x18e851(0x32a)](){var _0x1a86cc=_0x18e851;return this[_0x1a86cc(0x340)]['getCurrentRevOfUnit'](this[_0x1a86cc(0x185)]);}[_0x18e851(0x315)](){var _0x30cc61=_0x18e851;this[_0x30cc61(0x340)]['incrementRevOfUnit'](this[_0x30cc61(0x185)]);}[_0x18e851(0x291)](_0x3c4ff6){var _0x29a4ce=_0x18e851,_0x3378fa;let _0x4a26c2=this[_0x29a4ce(0x3a1)](_0x3c4ff6);_0x4a26c2=this[_0x29a4ce(0x1c4)](_0x4a26c2);const _0x3b8fd1=_0x1d4666(_0x4a26c2[_0x29a4ce(0x313)],this['_commandService'],{'fromCollab':!0x0});if(!_0x3b8fd1[_0x29a4ce(0x3e8)])throw _0x3b8fd1['error']instanceof Error?_0x3b8fd1[_0x29a4ce(0x35d)]:new Error((_0x3378fa=_0x3b8fd1[_0x29a4ce(0x35d)])!=null?_0x3378fa:_0x29a4ce(0x3df));this[_0x29a4ce(0x32f)](_0x4a26c2),this[_0x29a4ce(0x392)](_0x4a26c2),this[_0x29a4ce(0x18e)](_0x3c4ff6),this[_0x29a4ce(0x354)](_0x4a26c2),this[_0x29a4ce(0x3bf)](_0x4a26c2),this[_0x29a4ce(0x315)]();}}function _0x35f3(_0x1c004e,_0x362f4f){var _0x100cf5=_0x100c();return _0x35f3=function(_0x35f349,_0x161f6c){_0x35f349=_0x35f349-0xec;var _0x9cf161=_0x100cf5[_0x35f349];return _0x9cf161;},_0x35f3(_0x1c004e,_0x362f4f);}let Pe=class extends Re{constructor(_0x3d3045,_0x3ca37b,_0x250ab5,_0x61ba4a,_0x28449f,_0x29a02d,_0x4c36e6,_0x4b1f14,_0xa7a32b,_0x54d324){var _0x560d63=_0x18e851;super(_0x3d3045,_0x3ca37b,null,[],_0x250ab5,_0x4c36e6,_0x29a02d,_0x61ba4a,_0x54d324),P(this,'status',_0x560d63(0x16f)),(this[_0x560d63(0x122)]=_0x28449f,this[_0x560d63(0x33d)]=_0x4b1f14,this[_0x560d63(0x1bf)]=_0xa7a32b,this['localCacheService']=_0x54d324);}[_0x18e851(0x2bb)](_0x78c6cb){var _0x5b7685=_0x18e851;const _0x38040c=this['_injector']['createInstance'](oe,this[_0x5b7685(0x185)],this[_0x5b7685(0x1d2)],[_0x78c6cb],this[_0x5b7685(0x3a0)]);return _0x38040c['_schedule'](),_0x38040c[_0x5b7685(0x169)](),_0x38040c;}[_0x18e851(0x3af)](_0x138bbe){var _0x5813b4=_0x18e851;if(this[_0x5813b4(0x3d6)](_0x138bbe))return this['_injector'][_0x5813b4(0x318)](te,this['unitID'],this[_0x5813b4(0x1d2)],null,[],null,[_0x138bbe],this[_0x5813b4(0x3a0)]);try{const _0x53af4f=this[_0x5813b4(0x1bf)][_0x5813b4(0x228)](_0x138bbe,[Ts]);if(_0x4c2c2a(_0x53af4f)){const {c1Prime:_0x3132dc}=_0x53af4f;return this['_executeRemoteChangeset'](_0x3132dc),this;}throw _0x53af4f[_0x5813b4(0x35d)];}catch(_0x75fafb){return this[_0x5813b4(0x33d)][_0x5813b4(0x35d)](_0x75fafb),this['_onConflict'](!0x1);}}[_0x18e851(0x36d)](_0xb81a83){var _0x36ebea=_0x18e851;return this[_0x36ebea(0x122)]['createInstance'](de,this[_0x36ebea(0x185)],this['type'],null,[],this[_0x36ebea(0x3a0)],_0xb81a83);}[_0x18e851(0x306)](){var _0x1ebf22=_0x18e851;throw new Error(_0x1ebf22(0x349));}[_0x18e851(0x12c)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x18e851(0x21b)](){return this;}['toggleOffline'](){var _0xbb2947=_0x18e851;return this[_0xbb2947(0x122)][_0xbb2947(0x318)](fe,this[_0xbb2947(0x185)],this[_0xbb2947(0x1d2)],null,[],this[_0xbb2947(0x3a0)]);}[_0x18e851(0x353)](){return this;}['resend'](){var _0x360f65=_0x18e851;throw new Error(_0x360f65(0x2e9));}[_0x18e851(0x115)](){var _0x1d5c84=_0x18e851;const _0x1d7368=this['_revisionService'][_0x1d5c84(0x11f)](this['unitID']);return this['_handler'][_0x1d5c84(0x1e5)]({'from':_0x1d7368,'to':0x0}),this[_0x1d5c84(0x122)][_0x1d5c84(0x318)](te,this['unitID'],this[_0x1d5c84(0x1d2)],null,[],null,[],this['_handler']);}};Pe=be([A(0x3,_0x9a3a81(_0x204934)),A(0x4,_0x9a3a81(_0x91639e)),A(0x5,_0x14bbd2),A(0x6,_0x55ba2b),A(0x7,_0x23fe8a),A(0x8,_0x55bfa1),A(0x9,_0x5638e9(X))],Pe);let oe=class extends Re{constructor(_0x3a76a7,_0x103a34,_0x401705,_0x6b6668,_0x4e607f,_0x1f61a4,_0x1a5462,_0x1f6d51,_0x569848,_0x33386e,_0x24e338,_0x19e16a,_0x2b058c,_0x501c37){var _0x583e33=_0x18e851;super(_0x3a76a7,_0x103a34,null,_0x401705,_0x6b6668,_0x569848,_0x2b058c,_0x1f61a4,_0x501c37),P(this,_0x583e33(0x227),_0x583e33(0x38d)),P(this,'_scheduleCompleteTimestamp',null),P(this,_0x583e33(0x31c),null),(this['_injector']=_0x4e607f,this['_memberService']=_0x1a5462,this['_logService']=_0x1f6d51,this[_0x583e33(0x13d)]=_0x33386e,this[_0x583e33(0x1bf)]=_0x24e338,this['_univerInstanceService']=_0x19e16a);}[_0x18e851(0x2bb)](_0x2b63c7){var _0x1168ed=_0x18e851;return this['_pendingMutations'][_0x1168ed(0x36f)](_0x2b63c7),this[_0x1168ed(0x169)](),this;}['onRemoteChangeset'](_0xc30ca6){var _0x1d8862=_0x18e851;if(this[_0x1d8862(0x3d6)](_0xc30ca6))return this[_0x1d8862(0x136)](),this[_0x1d8862(0x122)][_0x1d8862(0x318)](te,this[_0x1d8862(0x185)],this['type'],null,this[_0x1d8862(0x2b7)],null,[_0xc30ca6],this[_0x1d8862(0x3a0)]);try{const _0x52d4dd=this[_0x1d8862(0x1bf)][_0x1d8862(0x228)](_0xc30ca6,this[_0x1d8862(0x2b7)]);if(_0x4c2c2a(_0x52d4dd)){const {c1Prime:_0x36d376,m2Prime:_0x59ee8a}=_0x52d4dd;this['_executeRemoteChangeset'](_0x36d376);const _0x3d441c=this[_0x1d8862(0x122)][_0x1d8862(0x318)](oe,this[_0x1d8862(0x185)],this[_0x1d8862(0x1d2)],_0x59ee8a,this[_0x1d8862(0x3a0)]);this[_0x1d8862(0x136)]();const _0xbb4c8d=new Date()[_0x1d8862(0x2db)](),_0x5d3cc9=this[_0x1d8862(0x28a)]?Math[_0x1d8862(0x1cf)](this[_0x1d8862(0x28a)]-_0xbb4c8d,0x0):this['_getSendChangesetTimeout']();return _0x3d441c['_schedule'](_0x5d3cc9),_0x3d441c;}throw _0x52d4dd[_0x1d8862(0x35d)];}catch(_0x3868b0){return this['_logService'][_0x1d8862(0x35d)](_0x3868b0),this[_0x1d8862(0x36d)](!0x1);}}['onRemoteAck'](){var _0x59b60c=_0x18e851;throw new Error(_0x59b60c(0x3d5));}['onRemoteRej'](){var _0x5f36bd=_0x18e851;throw new Error(_0x5f36bd(0x3de));}[_0x18e851(0x21b)](){return this;}[_0x18e851(0x183)](){var _0x455885=_0x18e851;return this['_clearScheduledTask'](),this['_injector'][_0x455885(0x318)](fe,this[_0x455885(0x185)],this['type'],null,this[_0x455885(0x2b7)],this[_0x455885(0x3a0)]);}[_0x18e851(0x353)](){return this;}[_0x18e851(0x221)](_0x2fe099){var _0x21b2c1=_0x18e851;const _0x1265b7=_0x2fe099!=null?_0x2fe099:this[_0x21b2c1(0x116)]();this[_0x21b2c1(0x28a)]=new Date()[_0x21b2c1(0x2db)]()+_0x1265b7,this[_0x21b2c1(0x31c)]=setTimeout(()=>{var _0x12310e=_0x21b2c1;this[_0x12310e(0x136)]();let _0x2a6506=null;switch(this['type']){case Q[_0x12310e(0x3c9)]:{_0x2a6506=Xt(this[_0x12310e(0x2b7)],this[_0x12310e(0x185)],this['_univerInstanceService'],this[_0x12310e(0x340)],this[_0x12310e(0x268)]);break;}case Q[_0x12310e(0x28f)]:{this[_0x12310e(0x2b7)][_0x12310e(0x377)](_0x44c0b1=>_0x44c0b1['id']===_0x236a0d['id'])?_0x2a6506=Is(this[_0x12310e(0x2b7)],this[_0x12310e(0x185)],this[_0x12310e(0x30d)],this[_0x12310e(0x340)],this['_memberService']):_0x2a6506=Xt(this[_0x12310e(0x2b7)],this['unitID'],this[_0x12310e(0x30d)],this['_revisionService'],this[_0x12310e(0x268)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x12310e(0x1d2)]+_0x12310e(0x188));}const {changeset:_0x59b8e8,pendingMutations:_0x2ae874}=_0x2a6506;this['_handler']['onSendChangeset'](_0x59b8e8);const _0x51e805=_0x2ae874[_0x12310e(0x1ae)]?this[_0x12310e(0x122)][_0x12310e(0x318)](ae,this[_0x12310e(0x185)],this[_0x12310e(0x1d2)],_0x59b8e8,_0x2ae874,this[_0x12310e(0x3a0)],void 0x0):this[_0x12310e(0x122)]['createInstance'](ue,this[_0x12310e(0x185)],this[_0x12310e(0x1d2)],_0x59b8e8,this['_handler']);_0x51e805[_0x12310e(0x169)](),this[_0x12310e(0x3a0)][_0x12310e(0x127)](this,_0x51e805);},_0x1265b7);}['_getSendChangesetTimeout'](){var _0x3084ae=_0x18e851,_0xcb7980;const _0x444da8=this[_0x3084ae(0x13d)][_0x3084ae(0x394)](Y);return(_0xcb7980=_0x444da8==null?void 0x0:_0x444da8[_0x3084ae(0x3db)])!=null?_0xcb7980:An;}[_0x18e851(0x22a)](){var _0x226b41=_0x18e851;throw new Error(_0x226b41(0x375));}['_clearScheduledTask'](){var _0x2271cc=_0x18e851;this[_0x2271cc(0x31c)]!=null&&(clearTimeout(this[_0x2271cc(0x31c)]),this[_0x2271cc(0x31c)]=null);}[_0x18e851(0x36d)](_0x2d5434){var _0x3bf057=_0x18e851;return this[_0x3bf057(0x136)](),this['_injector'][_0x3bf057(0x318)](de,this[_0x3bf057(0x185)],this[_0x3bf057(0x1d2)],null,this[_0x3bf057(0x2b7)],this['_handler'],_0x2d5434);}};oe=be([A(0x4,_0x9a3a81(_0x91639e)),A(0x5,_0x9a3a81(_0x204934)),A(0x6,_0x9a3a81(xe)),A(0x7,_0x23fe8a),A(0x8,_0x55ba2b),A(0x9,_0x8d16e3),A(0xa,_0x55bfa1),A(0xb,_0xb7833d),A(0xc,_0x14bbd2),A(0xd,_0x5638e9(X))],oe);let ue=class extends Re{constructor(_0x274048,_0x3d6ad0,_0x1820a1,_0x4f620f,_0x218767,_0x8eccf,_0x582537,_0x4de7b9,_0x42be62,_0x2a0803,_0x28cb74){var _0x49daea=_0x18e851;super(_0x274048,_0x3d6ad0,_0x1820a1,[],_0x4f620f,_0x582537,_0x2a0803,_0x8eccf,_0x28cb74),P(this,_0x49daea(0x227),_0x49daea(0x361)),P(this,_0x49daea(0x301),0x0),P(this,_0x49daea(0x21c)),P(this,_0x49daea(0x380)),(this[_0x49daea(0x122)]=_0x218767,this['_logService']=_0x4de7b9,this[_0x49daea(0x1bf)]=_0x42be62);}['appendMutation'](_0x34eed4){var _0x21ea07=_0x18e851;this[_0x21ea07(0x136)]();const _0x447c17=this[_0x21ea07(0x122)][_0x21ea07(0x318)](ae,this[_0x21ea07(0x185)],this[_0x21ea07(0x1d2)],this[_0x21ea07(0x351)],[_0x34eed4],this[_0x21ea07(0x3a0)],this[_0x21ea07(0x21c)]);return _0x447c17[_0x21ea07(0x169)](),_0x447c17;}[_0x18e851(0x3af)](_0x364a48){var _0x46c67e=_0x18e851;if(this[_0x46c67e(0x3d6)](_0x364a48))return this['_clearScheduledTask'](),this['_injector'][_0x46c67e(0x318)](te,this[_0x46c67e(0x185)],this[_0x46c67e(0x1d2)],this[_0x46c67e(0x351)],[],null,[_0x364a48],this['_handler']);try{const _0x1f9237=this['_transformService'][_0x46c67e(0x124)]([_0x364a48],[this[_0x46c67e(0x351)]],!0x1);if(_0x3dfa24(_0x1f9237)){const {c1Prime:_0x236685,c2Prime:_0x8ddc85}=_0x1f9237;this[_0x46c67e(0x291)](_0x236685[0x0]),_0x8ddc85[0x0][_0x46c67e(0x397)]=this[_0x46c67e(0x32a)](),this['_clearScheduledTask']();const _0xc7d47d=this[_0x46c67e(0x122)][_0x46c67e(0x318)](ue,this['unitID'],this[_0x46c67e(0x1d2)],_0x8ddc85[0x0],this[_0x46c67e(0x3a0)]);return _0xc7d47d[_0x46c67e(0x169)](),_0xc7d47d;}return this[_0x46c67e(0x36d)](!0x1);}catch(_0x5b5065){return this['_logService'][_0x46c67e(0x35d)](_0x5b5065),this[_0x46c67e(0x36d)](!0x1);}}[_0x18e851(0x306)](_0xccdd56){var _0x5bb87e=_0x18e851;this[_0x5bb87e(0x136)]();const _0x3944c0=this[_0x5bb87e(0x340)][_0x5bb87e(0x11f)](this[_0x5bb87e(0x185)]);if(_0xccdd56[_0x5bb87e(0x34c)]<_0x3944c0-0x1)return this;if(this[_0x5bb87e(0x3d6)](_0xccdd56))return this['_injector'][_0x5bb87e(0x318)](te,this['unitID'],this[_0x5bb87e(0x1d2)],null,[],this['_awaitingChangeset'],[],this[_0x5bb87e(0x3a0)]);this[_0x5bb87e(0x315)]();const _0x5e42b2=this[_0x5bb87e(0x122)]['createInstance'](Pe,this[_0x5bb87e(0x185)],this[_0x5bb87e(0x1d2)],this['_handler']);return _0x5e42b2[_0x5bb87e(0x169)](),_0x5e42b2;}[_0x18e851(0x12c)](_0x2614e3){var _0x1249a8=_0x18e851;return this['_onConflict'](!!(_0x2614e3!=null&&_0x2614e3[_0x1249a8(0x270)]));}[_0x18e851(0x21b)](_0x228eef){var _0x1ead7f=_0x18e851;return this[_0x1ead7f(0x301)]>Di?this[_0x1ead7f(0x183)]():(this[_0x1ead7f(0x21c)]=Ni(this[_0x1ead7f(0x301)],{'timeout':this['_resendTimeout'],'reqId':_0x228eef[_0x1ead7f(0x272)]}),this['_sender']=this[_0x1ead7f(0x21c)]['subscribe'](({reqId:_0x539344,timeout:_0x59afde})=>{var _0x302128=_0x1ead7f;this[_0x302128(0x3a2)](_0x539344,_0x59afde);}),this);}[_0x18e851(0x183)](){var _0x5a5050=_0x18e851;return this['_clearScheduledTask'](),this['_injector'][_0x5a5050(0x318)](fe,this[_0x5a5050(0x185)],this[_0x5a5050(0x1d2)],this[_0x5a5050(0x351)],[],this['_handler']);}[_0x18e851(0x353)](){return this;}[_0x18e851(0x22a)](){var _0x542a9a=_0x18e851;this[_0x542a9a(0x3a0)]['onSendChangeset'](this[_0x542a9a(0x351)]);}[_0x18e851(0x36d)](_0x473ef3){var _0xe319b0=_0x18e851;return this[_0xe319b0(0x136)](),this[_0xe319b0(0x122)][_0xe319b0(0x318)](de,this['unitID'],this[_0xe319b0(0x1d2)],this[_0xe319b0(0x351)],[],this[_0xe319b0(0x3a0)],_0x473ef3);}[_0x18e851(0x3a2)](_0x327865,_0x3be055){var _0x14b92a=_0x18e851,_0x3add76;_0x327865===((_0x3add76=this[_0x14b92a(0x351)])==null?void 0x0:_0x3add76[_0x14b92a(0x272)])&&(this[_0x14b92a(0x22a)](),this[_0x14b92a(0x301)]=_0x3be055===0x0?0x3e8:_0x3be055*0x2);}[_0x18e851(0x136)](){var _0x15ba47=_0x18e851,_0x4854ff;(_0x4854ff=this[_0x15ba47(0x380)])==null||_0x4854ff[_0x15ba47(0x23a)](),this['_resendTimeout']=0x0;}};ue=be([A(0x4,_0x9a3a81(_0x91639e)),A(0x5,_0x9a3a81(_0x204934)),A(0x6,_0x55ba2b),A(0x7,_0x23fe8a),A(0x8,_0x55bfa1),A(0x9,_0x14bbd2),A(0xa,_0x5638e9(X))],ue);let ae=class extends Re{constructor(_0x3b1a44,_0x37852b,_0x5949a0,_0x3246c2,_0x34caf2,_0x5d8d9e,_0x47b746,_0x126d82,_0x5c1e1a,_0x39af48,_0x4e0870,_0x5b93b6,_0x187d69){var _0x33c89d=_0x18e851;super(_0x3b1a44,_0x37852b,_0x5949a0,_0x3246c2,_0x34caf2,_0x5c1e1a,_0x5b93b6,_0x126d82,_0x187d69),P(this,_0x33c89d(0x227),_0x33c89d(0x29d)),P(this,'_resendTimeout',0x0),P(this,'_resendTimer'),P(this,_0x33c89d(0x380)),(this['_injector']=_0x47b746,this[_0x33c89d(0x33d)]=_0x39af48,this[_0x33c89d(0x1bf)]=_0x4e0870,this[_0x33c89d(0x2c7)]=_0x187d69,_0x5d8d9e&&(this['_resendTimer']=_0x5d8d9e,this[_0x33c89d(0x380)]=this[_0x33c89d(0x21c)][_0x33c89d(0x3b5)](({reqId:_0x18f5d5,timeout:_0x120784})=>{var _0x1be1a2=_0x33c89d;this[_0x1be1a2(0x3a2)](_0x18f5d5,_0x120784);})));}[_0x18e851(0x2bb)](_0x550bbf){var _0x1bebdf=_0x18e851;return this['_pendingMutations'][_0x1bebdf(0x36f)](_0x550bbf),this;}[_0x18e851(0x3af)](_0x3e66f5){var _0x4e2a2f=_0x18e851;if(this[_0x4e2a2f(0x3d6)](_0x3e66f5))return this[_0x4e2a2f(0x136)](),this['_injector']['createInstance'](te,this[_0x4e2a2f(0x185)],this[_0x4e2a2f(0x1d2)],this[_0x4e2a2f(0x351)],this[_0x4e2a2f(0x2b7)],null,[_0x3e66f5],this['_handler']);try{const _0x4a11a7=this[_0x4e2a2f(0x1bf)][_0x4e2a2f(0x124)]([_0x3e66f5],[this[_0x4e2a2f(0x351)]],!0x1);if(_0x3dfa24(_0x4a11a7)){const {c1Prime:_0x38ded5,c2Prime:_0x2f0b1d}=_0x4a11a7,_0x48cc4b=this[_0x4e2a2f(0x1bf)]['transformMutationsWithChangeset'](_0x38ded5[0x0],this['_pendingMutations']);if(_0x4c2c2a(_0x48cc4b)){const {c1Prime:_0xf30ce7,m2Prime:_0x205f7f}=_0x48cc4b;return this[_0x4e2a2f(0x291)](_0xf30ce7),_0x2f0b1d[0x0][_0x4e2a2f(0x397)]=this[_0x4e2a2f(0x32a)](),this[_0x4e2a2f(0x136)](),this[_0x4e2a2f(0x122)][_0x4e2a2f(0x318)](ae,this[_0x4e2a2f(0x185)],this['type'],_0x2f0b1d[0x0],_0x205f7f,this['_handler'],void 0x0);}throw _0x48cc4b[_0x4e2a2f(0x35d)];}throw _0x4a11a7[_0x4e2a2f(0x35d)];}catch(_0x4cf755){return this['_logService'][_0x4e2a2f(0x35d)](_0x4cf755),this[_0x4e2a2f(0x36d)](!0x1);}}[_0x18e851(0x306)](_0x5b3741){var _0x1d7a92=_0x18e851;if(this[_0x1d7a92(0x136)](),this[_0x1d7a92(0x3d6)](_0x5b3741))return this[_0x1d7a92(0x122)][_0x1d7a92(0x318)](te,this[_0x1d7a92(0x185)],this['type'],null,this[_0x1d7a92(0x2b7)],this['_awaitingChangeset'],[],this[_0x1d7a92(0x3a0)]);this[_0x1d7a92(0x315)]();const _0x3ee31e=this['_injector'][_0x1d7a92(0x318)](oe,this[_0x1d7a92(0x185)],this[_0x1d7a92(0x1d2)],this[_0x1d7a92(0x2b7)],this['_handler']);return _0x3ee31e['_schedule'](),_0x3ee31e[_0x1d7a92(0x169)](),_0x3ee31e;}[_0x18e851(0x12c)](_0x1b3e7e){var _0x19f65c=_0x18e851;return this['_onConflict'](!!(_0x1b3e7e!=null&&_0x1b3e7e[_0x19f65c(0x270)]));}[_0x18e851(0x21b)](_0x5798c4){var _0x5d4fc1=_0x18e851;return this[_0x5d4fc1(0x301)]>Di?this[_0x5d4fc1(0x183)]():(this[_0x5d4fc1(0x21c)]=Ni(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x5798c4['reqId']}),this['_sender']=this[_0x5d4fc1(0x21c)]['subscribe'](({reqId:_0x4ec584,timeout:_0x5ca138})=>{var _0xc02c2b=_0x5d4fc1;this[_0xc02c2b(0x3a2)](_0x4ec584,_0x5ca138);}),this);}[_0x18e851(0x183)](){var _0x497c5b=_0x18e851;return this[_0x497c5b(0x136)](),this[_0x497c5b(0x122)][_0x497c5b(0x318)](fe,this[_0x497c5b(0x185)],this[_0x497c5b(0x1d2)],this[_0x497c5b(0x351)],this[_0x497c5b(0x2b7)],this[_0x497c5b(0x3a0)]);}['toggleOnline'](){return this;}['resend'](){var _0x30cafa=_0x18e851;this[_0x30cafa(0x3a0)][_0x30cafa(0x24e)](this[_0x30cafa(0x351)]);}[_0x18e851(0x36d)](_0x397e72){var _0x137bb9=_0x18e851;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x137bb9(0x185)],this[_0x137bb9(0x1d2)],null,this[_0x137bb9(0x2b7)],this[_0x137bb9(0x3a0)],_0x397e72);}['_resendWithTimeout'](_0x1e0d7f,_0x224975){var _0x14b13b=_0x18e851,_0x43e64b;_0x1e0d7f===((_0x43e64b=this[_0x14b13b(0x351)])==null?void 0x0:_0x43e64b[_0x14b13b(0x272)])&&(this['resend'](),this[_0x14b13b(0x301)]=_0x224975===0x0?0x3e8:_0x224975*0x2);}['_clearScheduledTask'](){var _0xd77113=_0x18e851,_0x273a91;(_0x273a91=this[_0xd77113(0x380)])==null||_0x273a91['unsubscribe'](),this[_0xd77113(0x301)]=0x0;}};ae=be([A(0x6,_0x9a3a81(_0x91639e)),A(0x7,_0x9a3a81(_0x204934)),A(0x8,_0x55ba2b),A(0x9,_0x23fe8a),A(0xa,_0x55bfa1),A(0xb,_0x14bbd2),A(0xc,_0x5638e9(X))],ae);let de=class extends Re{constructor(_0x169351,_0x4e4eed,_0x3e2ede,_0xf0a657,_0x2a159e,_0x2ee286=!0x1,_0x35dbdf,_0x4de30f,_0x159a42,_0x443257,_0x9764e3,_0x3146b7,_0x24ebb4){var _0x39d520=_0x18e851;super(_0x169351,_0x4e4eed,_0x3e2ede,_0xf0a657,_0x2a159e,_0x4de30f,_0x159a42,_0x443257,_0x24ebb4),P(this,_0x39d520(0x227),_0x39d520(0x1c3)),(this[_0x39d520(0x3e1)]=_0x2ee286,this[_0x39d520(0x138)]=_0x35dbdf,this[_0x39d520(0x1b6)]=_0x9764e3,this[_0x39d520(0x220)]=_0x3146b7,this[_0x39d520(0x2c7)]=_0x24ebb4,this[_0x39d520(0x311)](),this[_0x39d520(0x304)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x18e851(0x3af)](){return this;}[_0x18e851(0x306)](){return this;}[_0x18e851(0x12c)](){return this;}[_0x18e851(0x21b)](){return this;}['toggleOffline'](){return this;}[_0x18e851(0x353)](){return this;}[_0x18e851(0x22a)](){var _0x1c42d8=_0x18e851;throw new Error(_0x1c42d8(0x178));}[_0x18e851(0x304)](){var _0x490568=_0x18e851,_0x3db81f;(_0x3db81f=this[_0x490568(0x3a6)])==null||_0x3db81f['updateOfflineData'](this[_0x490568(0x185)],this[_0x490568(0x1d2)],null,[]);}['_showConflictNotification'](){var _0x40635a=_0x18e851;this[_0x40635a(0x3e1)]?this[_0x40635a(0x220)][_0x40635a(0x1dc)]({'id':re[_0x40635a(0x26a)]}):this[_0x40635a(0x220)][_0x40635a(0x1dc)]({'id':re[_0x40635a(0x1a8)]});}['_disableEditing'](){var _0x7c46e4=_0x18e851;this[_0x7c46e4(0x138)][_0x7c46e4(0x3e5)](new _0xce2cad(this['unitID'])['id'],!0x1);}};de=be([A(0x6,_0x9a3a81(_0x211a51)),A(0x7,_0x55ba2b),A(0x8,_0x14bbd2),A(0x9,_0x9a3a81(_0x204934)),A(0xa,_0x9a3a81(_0x428633)),A(0xb,_0x9a3a81(pe)),A(0xc,_0x5638e9(X))],de);let fe=class extends Re{constructor(_0x56807f,_0x495f66,_0x2f2330,_0x471794,_0x210e3d,_0x2a993c,_0x455b86,_0x404c35,_0x386053,_0xd19d69){var _0x4327f5=_0x18e851;super(_0x56807f,_0x495f66,_0x2f2330,_0x471794,_0x210e3d,_0x404c35,_0x386053,_0x455b86,_0xd19d69),P(this,'status','offline'),this[_0x4327f5(0x122)]=_0x2a993c;}[_0x18e851(0x2bb)](_0x4f17c9){var _0x1278e5=_0x18e851;return this[_0x1278e5(0x2b7)][_0x1278e5(0x36f)](_0x4f17c9),this[_0x1278e5(0x169)](),this;}[_0x18e851(0x3af)](_0x35cd7f){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x4e136a=_0x18e851;throw new Error(_0x4e136a(0x27a));}[_0x18e851(0x12c)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x18e851(0x21b)](){return this;}[_0x18e851(0x183)](){return this;}['toggleOnline'](){var _0x5332da=_0x18e851;const {_injector:_0x19a570,_pendingMutations:_0x2b0498,_awaitingChangeset:_0xaafb8e,unitID:_0x39169a,_handler:_0x2d2539,type:_0x2d451a}=this,_0x49af91=wi(_0x19a570,_0x39169a,_0x2d451a,_0xaafb8e,_0x2b0498,_0x2d2539);return _0x49af91 instanceof oe?_0x49af91['_schedule']():(_0x49af91 instanceof ae||_0x49af91 instanceof ue)&&_0x49af91[_0x5332da(0x22a)](),_0x49af91;}[_0x18e851(0x22a)](){var _0x26ce1d=_0x18e851;throw new Error(_0x26ce1d(0x3b4));}};fe=be([A(0x5,_0x9a3a81(_0x91639e)),A(0x6,_0x9a3a81(_0x204934)),A(0x7,_0x55ba2b),A(0x8,_0x14bbd2),A(0x9,_0x5638e9(X))],fe);let te=class extends Re{constructor(_0x5c8076,_0x4d51c9,_0x2c987c,_0x2d76a9,_0x146b1b,_0x369a41,_0x30080d,_0x3c00a4,_0x35b15f,_0x4e7834,_0xc02847,_0x5bfb2e,_0xae8904,_0x57142e){var _0x47ec24=_0x18e851;super(_0x5c8076,_0x4d51c9,_0x2c987c,_0x2d76a9,_0x30080d,_0xc02847,_0x5bfb2e,_0x35b15f,_0x57142e),P(this,'status','fetch_missing'),(this[_0x47ec24(0x276)]=_0x146b1b,this[_0x47ec24(0x33f)]=_0x369a41,this[_0x47ec24(0x122)]=_0x3c00a4,this[_0x47ec24(0x33d)]=_0x4e7834,this['_transformService']=_0xae8904,this['localCacheService']=_0x57142e);}[_0x18e851(0x3dc)](_0x52393f){var _0x308da6=_0x18e851;try{const _0x3fc606=[..._0x52393f,...this[_0x308da6(0x33f)]],_0x556eea=[this['_awaitingChangeset']||this[_0x308da6(0x276)]][_0x308da6(0x38b)](_0x1cf693=>!!_0x1cf693);let _0x40e6c1,_0xccab4d;if(_0x556eea['length']){const _0x1306c5=this[_0x308da6(0x1bf)][_0x308da6(0x124)](_0x3fc606,_0x556eea,!0x1);if(!_0x3dfa24(_0x1306c5))throw _0x1306c5[_0x308da6(0x35d)];_0x40e6c1=_0x1306c5['c1Prime'],_0xccab4d=_0x1306c5['c2Prime'];}else _0x40e6c1=_0x3fc606,_0xccab4d=[];let _0x2a2041=this[_0x308da6(0x2b7)];_0x40e6c1[_0x308da6(0x3b1)](_0x405b85=>{var _0x13a1ac=_0x308da6;let _0x420722;if(_0x2a2041['length']){const _0x50dab8=this[_0x13a1ac(0x1bf)]['transformMutationsWithChangeset'](_0x405b85,_0x2a2041);if(!_0x4c2c2a(_0x50dab8))throw _0x50dab8[_0x13a1ac(0x35d)];_0x420722=_0x50dab8[_0x13a1ac(0x322)],_0x2a2041=_0x50dab8[_0x13a1ac(0x1be)];}else _0x420722=_0x405b85;this['_executeRemoteChangeset'](_0x420722);}),this[_0x308da6(0x276)]&&this[_0x308da6(0x315)](),this[_0x308da6(0x351)]&&_0xccab4d[_0x308da6(0x1ae)]&&(_0xccab4d[0x0][_0x308da6(0x397)]=this[_0x308da6(0x32a)]());let _0x478afc;if(this[_0x308da6(0x351)]&&_0x2a2041[_0x308da6(0x1ae)]!==0x0)_0x478afc=this[_0x308da6(0x122)][_0x308da6(0x318)](ae,this[_0x308da6(0x185)],this['type'],_0xccab4d[0x0],_0x2a2041,this['_handler'],void 0x0);else{if(this[_0x308da6(0x351)]&&_0x2a2041['length']===0x0)_0xccab4d[0x0][_0x308da6(0x397)]=this[_0x308da6(0x32a)](),_0x478afc=this[_0x308da6(0x122)][_0x308da6(0x318)](ue,this[_0x308da6(0x185)],this[_0x308da6(0x1d2)],_0xccab4d[0x0],this[_0x308da6(0x3a0)]);else{if(_0x2a2041[_0x308da6(0x1ae)]!==0x0){const _0x1bf82e=this[_0x308da6(0x122)][_0x308da6(0x318)](oe,this[_0x308da6(0x185)],this['type'],_0x2a2041,this[_0x308da6(0x3a0)]);_0x1bf82e[_0x308da6(0x221)](),_0x478afc=_0x1bf82e;}else _0x478afc=this[_0x308da6(0x122)][_0x308da6(0x318)](Pe,this[_0x308da6(0x185)],this[_0x308da6(0x1d2)],this[_0x308da6(0x3a0)]);}}return _0x478afc[_0x308da6(0x169)](),_0x478afc;}catch(_0x2fd286){return this['_logService'][_0x308da6(0x35d)]('[FetchMissState]',_0x308da6(0x2ea),_0x2fd286),this[_0x308da6(0x122)][_0x308da6(0x318)](de,this[_0x308da6(0x185)],this[_0x308da6(0x1d2)],this[_0x308da6(0x351)],this[_0x308da6(0x2b7)],this['_handler'],!0x1);}}[_0x18e851(0x22a)](){var _0x359514=_0x18e851;throw new Error(_0x359514(0x31b));}[_0x18e851(0x2bb)](_0x5a150c){var _0x4a0578=_0x18e851;return this['_pendingMutations'][_0x4a0578(0x36f)](_0x5a150c),this;}[_0x18e851(0x3af)](_0x3e22ae){var _0x20b72e=_0x18e851;return this[_0x20b72e(0x33f)][_0x20b72e(0x36f)](_0x3e22ae),this;}[_0x18e851(0x306)](_0x35e19d){var _0x96c81e=_0x18e851;if(this[_0x96c81e(0x351)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x96c81e(0x351)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x18e851(0x12c)](_0x359e83){var _0x17b45e=_0x18e851;return this[_0x17b45e(0x36d)](!!(_0x359e83!=null&&_0x359e83['isPermissionRej']));}[_0x18e851(0x21b)](){return this;}[_0x18e851(0x183)](){var _0x22225d=_0x18e851;return this[_0x22225d(0x122)]['createInstance'](fe,this[_0x22225d(0x185)],this[_0x22225d(0x1d2)],this[_0x22225d(0x351)],this[_0x22225d(0x2b7)],this[_0x22225d(0x3a0)]);}['toggleOnline'](){return this;}['_onConflict'](_0x123e78){var _0x23cbca=_0x18e851;return this[_0x23cbca(0x122)][_0x23cbca(0x318)](de,this[_0x23cbca(0x185)],this[_0x23cbca(0x1d2)],this[_0x23cbca(0x351)],this[_0x23cbca(0x2b7)],this['_handler'],_0x123e78);}};te=be([A(0x7,_0x9a3a81(_0x91639e)),A(0x8,_0x9a3a81(_0x204934)),A(0x9,_0x23fe8a),A(0xa,_0x55ba2b),A(0xb,_0x14bbd2),A(0xc,_0x55bfa1),A(0xd,_0x5638e9(X))],te);function wi(_0x12560f,_0x2a396b,_0xca2598,_0x46e64f,_0x5e75c8,_0x3d288d){var _0x1743fb=_0x18e851;return _0x46e64f&&_0x5e75c8[_0x1743fb(0x1ae)]?_0x12560f[_0x1743fb(0x318)](ae,_0x2a396b,_0xca2598,_0x46e64f,_0x5e75c8,_0x3d288d,void 0x0):_0x46e64f?_0x12560f[_0x1743fb(0x318)](ue,_0x2a396b,_0xca2598,_0x46e64f,_0x3d288d):_0x5e75c8[_0x1743fb(0x1ae)]?_0x12560f[_0x1743fb(0x318)](oe,_0x2a396b,_0xca2598,_0x5e75c8,_0x3d288d):_0x12560f[_0x1743fb(0x318)](Pe,_0x2a396b,_0xca2598,_0x3d288d);}var Rs=Object[_0x18e851(0x20a)],ys=Object['getOwnPropertyDescriptor'],Mt=(_0x480f84,_0x47e7d0,_0x38fdde,_0x597b07)=>{var _0x427e41=_0x18e851;for(var _0x4978ea=_0x597b07>0x1?void 0x0:_0x597b07?ys(_0x47e7d0,_0x38fdde):_0x47e7d0,_0x443217=_0x480f84[_0x427e41(0x1ae)]-0x1,_0x38e2a3;_0x443217>=0x0;_0x443217--)(_0x38e2a3=_0x480f84[_0x443217])&&(_0x4978ea=(_0x597b07?_0x38e2a3(_0x47e7d0,_0x38fdde,_0x4978ea):_0x38e2a3(_0x4978ea))||_0x4978ea);return _0x597b07&&_0x4978ea&&Rs(_0x47e7d0,_0x38fdde,_0x4978ea),_0x4978ea;},k=(_0x506cdc,_0xeb39fc)=>(_0xe562b2,_0x43c0ef)=>_0xeb39fc(_0xe562b2,_0x43c0ef,_0x506cdc);let st=class extends _0x3e0bc6{constructor(_0x37c964,_0x4d01da,_0x52ac42,_0x40e20d,_0x5be03a,_0x13ec90,_0x10568e,_0x4291d6,_0x5840d3,_0x359916,_0x220d85,_0x6aab64,_0x28bd9e){var _0x5926bc=_0x18e851;super(),P(this,_0x5926bc(0x260),new _0x575003(null)),P(this,'state$',this[_0x5926bc(0x260)][_0x5926bc(0x3c5)]()),P(this,'_state'),P(this,_0x5926bc(0x18c),!0x1),P(this,_0x5926bc(0x293),''),P(this,_0x5926bc(0x1c0),0x0),P(this,_0x5926bc(0x1e6),this['state$']['pipe'](_0x3786f1(_0x5c1980=>_0x5c1980?_0x5c1980[_0x5926bc(0x227)]:Pi[_0x5926bc(0x3f0)]),_0x3934fe(0x1))),P(this,_0x5926bc(0x3ce),!0x1),P(this,_0x5926bc(0x266),[]),(this[_0x5926bc(0x185)]=_0x37c964,this['session']=_0x4d01da,this[_0x5926bc(0x386)]=_0x52ac42,this[_0x5926bc(0x122)]=_0x40e20d,this[_0x5926bc(0x371)]=_0x5be03a,this[_0x5926bc(0x1b6)]=_0x13ec90,this['_revisionService']=_0x10568e,this['_eventService']=_0x4291d6,this['_logService']=_0x5840d3,this[_0x5926bc(0x303)]=_0x359916,this['_permissionService']=_0x220d85,this[_0x5926bc(0x118)]=_0x6aab64,this[_0x5926bc(0x3a6)]=_0x28bd9e);}get[_0x18e851(0x30b)](){var _0x501a6d=_0x18e851;return this[_0x501a6d(0x339)];}async[_0x18e851(0x172)](){var _0x430ad4=_0x18e851;if(this[_0x430ad4(0x30b)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x430ad4(0x1e1)]();}['pauseCollaboration'](){var _0x157832=_0x18e851;return this[_0x157832(0x18c)]=!0x0,_0x43dced(()=>{var _0x14df1d=_0x157832;this['_collaborationPaused']=!0x1,this[_0x14df1d(0x107)]();});}[_0x18e851(0x32d)](_0x4b6d50){this['_onLocalMutation'](_0x4b6d50);}['_updateState'](_0x18109f){var _0x1e8554=_0x18e851;this[_0x1e8554(0x339)]=_0x18109f,this[_0x1e8554(0x260)][_0x1e8554(0x37a)](_0x18109f);}async[_0x18e851(0x1e1)](){var _0x5d1d1b=_0x18e851,_0x466234;this[_0x5d1d1b(0x3e7)](await this[_0x5d1d1b(0x39a)]()),this['_singleActiveUnitService']&&((_0x466234=this[_0x5d1d1b(0x118)])==null||_0x466234['editingUnit'](this['unitID']),this[_0x5d1d1b(0xf9)](this['_singleActiveUnitService'][_0x5d1d1b(0x3ee)](this[_0x5d1d1b(0x185)])[_0x5d1d1b(0x3b5)](_0x4f1f5a=>{var _0x5f2e71=_0x5d1d1b;this['_logService']['debug'](_0x5f2e71(0xf7),_0x5f2e71(0x1ac),_0x4f1f5a),_0x4f1f5a===Oi[_0x5f2e71(0x34a)]?(this['_eventService'][_0x5f2e71(0x1dc)]({'id':re[_0x5f2e71(0x12e)]}),this[_0x5f2e71(0x138)][_0x5f2e71(0x3e5)](new _0xce2cad(this['unitID'])['id'],!0x1),this[_0x5f2e71(0x138)]['setShowComponents'](!0x1)):(this[_0x5f2e71(0x138)]['updatePermissionPoint'](new _0xce2cad(this['unitID'])['id'],!0x0),this[_0x5f2e71(0x138)]['setShowComponents'](!0x0));})));let _0x2d2568=!0x1;return this['disposeWithMe'](this[_0x5d1d1b(0x384)][_0x5d1d1b(0x2e4)][_0x5d1d1b(0x3b5)](_0x2ef73a=>{var _0x4233fb=_0x5d1d1b;_0x2ef73a===Te[_0x4233fb(0x2c5)]?this['_toggleOnline'](_0x2d2568):_0x2ef73a===Te[_0x4233fb(0x3f0)]&&(_0x2d2568=!0x0,this[_0x4233fb(0x1ce)]());})),this[_0x5d1d1b(0xf9)](this[_0x5d1d1b(0x384)][_0x5d1d1b(0x18b)][_0x5d1d1b(0x3b5)](_0x351c20=>{var _0x32b1cd=_0x5d1d1b;try{switch(_0x351c20[_0x32b1cd(0x21e)]){case _0x666958[_0x32b1cd(0x1f2)]:{this[_0x32b1cd(0x189)](_0x2e0bfd(_0x351c20[_0x32b1cd(0x35b)]));break;}case _0x666958[_0x32b1cd(0x3ac)]:{this[_0x32b1cd(0x3a5)](_0x351c20[_0x32b1cd(0x35b)]);break;}case _0x666958[_0x32b1cd(0x1e7)]:{this[_0x32b1cd(0x1c5)]();break;}case _0x666958[_0x32b1cd(0x21a)]:{this[_0x32b1cd(0x12a)](_0x351c20['data']);break;}case _0x666958[_0x32b1cd(0x3dd)]:{this[_0x32b1cd(0x2b8)](_0x351c20[_0x32b1cd(0x35b)][_0x32b1cd(0x2b1)]['map'](_0x1f1645=>_0x2e0bfd(_0x1f1645)));break;}case _0x666958['PERMISSION_REJ']:{this[_0x32b1cd(0x1c5)]({'isPermissionRej':!0x0});break;}case _0x666958[_0x32b1cd(0xfb)]:break;}}catch(_0x38cde7){throw console[_0x32b1cd(0x35d)](_0x32b1cd(0x22e),_0x38cde7),_0x38cde7;}})),this[_0x5d1d1b(0x339)];}[_0x18e851(0x2da)](){var _0x4bca1f=_0x18e851;this[_0x4bca1f(0x3ce)]=!0x1;}['_lockTransition'](){var _0x33bd93=_0x18e851;if(this[_0x33bd93(0x3ce)])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[_0x33bd93(0x3ce)]=!0x0;}['_onLocalMutation'](_0x741935){var _0x348fe6=_0x18e851;this[_0x348fe6(0xef)](),this['_updateState'](this[_0x348fe6(0x339)][_0x348fe6(0x2bb)](_0x741935)),this[_0x348fe6(0x2da)]();}[_0x18e851(0x189)](_0x1cada0){var _0x37be82=_0x18e851;if(!(_0x1cada0['revision']<=this[_0x37be82(0x340)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x37be82(0x18c)]){this[_0x37be82(0x266)][_0x37be82(0x36f)](_0x1cada0);return;}this[_0x37be82(0x1dd)](_0x1cada0);}}[_0x18e851(0x107)](){var _0x283672=_0x18e851;this[_0x283672(0x266)][_0x283672(0x3b1)](_0x279ac6=>this[_0x283672(0x1dd)](_0x279ac6)),this[_0x283672(0x266)]=[];}[_0x18e851(0x1dd)](_0x5df06c){var _0x495968=_0x18e851;const _0x4a115c=this[_0x495968(0x371)][_0x495968(0x254)][_0x495968(0x372)](this['_compressMutationService'][_0x495968(0x254)]['getInterceptPoints']()[_0x495968(0x264)])(_0x5df06c[_0x495968(0x313)],null)||_0x5df06c[_0x495968(0x313)],_0x540c47={..._0x5df06c,'mutations':_0x4a115c};this[_0x495968(0xef)](),this['_updateState'](this[_0x495968(0x339)][_0x495968(0x3af)](_0x540c47)),this[_0x495968(0x2da)]();}[_0x18e851(0x3a5)](_0x39c012){var _0x1e69f5=_0x18e851;this[_0x1e69f5(0xef)](),this[_0x1e69f5(0x3e7)](this['_state'][_0x1e69f5(0x306)](_0x39c012)),this[_0x1e69f5(0x2da)]();}[_0x18e851(0x1c5)](_0x35ac67){var _0x36bd41=_0x18e851;this[_0x36bd41(0xef)](),this[_0x36bd41(0x3e7)](this[_0x36bd41(0x339)]['onRemoteRej'](_0x35ac67)),this[_0x36bd41(0x2da)]();}[_0x18e851(0x12a)](_0x3b04db){var _0x1d927e=_0x18e851;this[_0x1d927e(0xef)](),this[_0x1d927e(0x3e7)](this[_0x1d927e(0x339)][_0x1d927e(0x21b)](_0x3b04db)),this['_unlockTransition']();}[_0x18e851(0x2b8)](_0x407156){var _0x4bf48c=_0x18e851;if(!(this[_0x4bf48c(0x339)]instanceof te))throw new TypeError(_0x4bf48c(0xf6));const _0x5f353b=_0x407156['map'](_0x3229a9=>{var _0x50b518=_0x4bf48c;const _0x53761b=this[_0x50b518(0x371)][_0x50b518(0x254)][_0x50b518(0x372)](this[_0x50b518(0x371)][_0x50b518(0x254)][_0x50b518(0x231)]()[_0x50b518(0x264)])(_0x3229a9[_0x50b518(0x313)],null)||_0x3229a9[_0x50b518(0x313)];return{..._0x3229a9,'mutations':_0x53761b};});this[_0x4bf48c(0xef)](),this[_0x4bf48c(0x3e7)](this[_0x4bf48c(0x339)][_0x4bf48c(0x3dc)](_0x5f353b)),this[_0x4bf48c(0x2da)]();}[_0x18e851(0x1ce)](){var _0x4f3079=_0x18e851;this[_0x4f3079(0xef)](),this[_0x4f3079(0x3e7)](this['_state'][_0x4f3079(0x183)]()),this['_unlockTransition']();}[_0x18e851(0x39b)](_0x3ef7e3=!0x1){var _0x3c183a=_0x18e851;this[_0x3c183a(0xef)](),this[_0x3c183a(0x3e7)](this['_state'][_0x3c183a(0x353)]()),this[_0x3c183a(0x2da)]();const _0x54bc21=this[_0x3c183a(0x339)];_0x3ef7e3&&_0x54bc21 instanceof Pe&&(this[_0x3c183a(0xef)](),this[_0x3c183a(0x3e7)](_0x54bc21[_0x3c183a(0x115)]()),this[_0x3c183a(0x2da)]());}async['_createInitialState'](){return new Promise(_0x18eff5=>{var _0x57988e=_0x35f3;this[_0x57988e(0x384)][_0x57988e(0x2e4)]['pipe'](_0x2e8922(0x1))['subscribe'](async _0x185153=>{var _0x3dc97a=_0x57988e;_0x18eff5(await this[_0x3dc97a(0x358)](_0x185153===Te[_0x3dc97a(0x2c5)]));});});}[_0x18e851(0x2cb)](){var _0x37ee30=_0x18e851;const _0x4f07e5=this[_0x37ee30(0x185)];return{'onStateChange':(_0x293b07,_0x3a666e)=>{var _0xbaef5a=_0x37ee30;if(_0x293b07!==this[_0xbaef5a(0x339)])throw new Error(_0xbaef5a(0x391)+_0x293b07[_0xbaef5a(0x227)]+'\x0aAfter:\x20'+_0x3a666e[_0xbaef5a(0x227)]+_0xbaef5a(0xff)+this[_0xbaef5a(0x339)][_0xbaef5a(0x227)]);this['_updateState'](_0x3a666e);},'onSendChangeset':_0x16846e=>{var _0x7bb484=_0x37ee30;_0x16846e[_0x7bb484(0x376)]||(_0x16846e[_0x7bb484(0x376)]=this['_changesetSessionId'],_0x16846e[_0x7bb484(0x272)]=++this[_0x7bb484(0x1c0)]);const _0x3c18fc={'eventID':_0x666958['SUBMIT_CHANGESET'],'data':{'unitID':_0x16846e[_0x7bb484(0x185)],'unitType':this[_0x7bb484(0x386)],'changeset':_0x16846e,'memberID':this['session'][_0x7bb484(0x352)]()}};this[_0x7bb484(0x384)][_0x7bb484(0x184)](_0x3c18fc,this['unitID']);},'onMissingChangesets':({from:_0x3e815f,to:_0x59a002})=>{var _0x487401=_0x37ee30;this['_logService'][_0x487401(0x1a6)](_0x487401(0xf7),_0x487401(0x312)+_0x3e815f+_0x487401(0x34f)+_0x59a002);const _0x4c3f1b={'eventID':_0x666958[_0x487401(0x1b0)],'data':{'unitID':_0x4f07e5,'unitType':this[_0x487401(0x386)],'from':_0x3e815f,'to':_0x59a002}};this['session'][_0x487401(0x184)](_0x4c3f1b,this['unitID']);}};}async[_0x18e851(0x358)](_0x1e175f){var _0x5b612b=_0x18e851,_0x233718,_0x2ba536,_0x34fc2d;const _0x448563=await((_0x233718=this[_0x5b612b(0x3a6)])==null?void 0x0:_0x233718[_0x5b612b(0x2b5)](this[_0x5b612b(0x185)])),_0x57e912=(_0x2ba536=_0x448563==null?void 0x0:_0x448563[_0x5b612b(0x313)])!=null?_0x2ba536:[],_0x24b367=(_0x34fc2d=_0x448563==null?void 0x0:_0x448563[_0x5b612b(0x195)])!=null?_0x34fc2d:null,_0x2447de=!!(_0x24b367!=null&&_0x24b367['sid'])&&!!(_0x24b367!=null&&_0x24b367[_0x5b612b(0x272)]);this['_changesetSessionId']=_0x2447de?_0x24b367[_0x5b612b(0x376)]:vs(),this[_0x5b612b(0x1c0)]=_0x2447de?_0x24b367[_0x5b612b(0x272)]:0x0;const _0x4dd4be=this[_0x5b612b(0x185)];try{this[_0x5b612b(0x347)](_0x24b367,_0x57e912);}catch(_0x5d6a4a){this['_logService'][_0x5b612b(0x35d)](_0x5d6a4a);}const _0x151f6a=this[_0x5b612b(0x2cb)]();if(_0x1e175f){const _0x521af1=wi(this['_injector'],_0x4dd4be,this['_type'],_0x24b367,_0x57e912,_0x151f6a);return _0x521af1 instanceof oe?_0x521af1[_0x5b612b(0x221)]():(_0x521af1 instanceof ae||_0x521af1 instanceof ue)&&_0x521af1[_0x5b612b(0x22a)](),_0x521af1;}return this[_0x5b612b(0x122)][_0x5b612b(0x318)](fe,_0x4dd4be,this[_0x5b612b(0x386)],_0x24b367,_0x57e912,_0x151f6a);}[_0x18e851(0x347)](_0x5cc963,_0x14ad43){var _0x3e76d7=_0x18e851,_0x2b6a0f,_0x3e664d;const _0x5a5133=this[_0x3e76d7(0x371)][_0x3e76d7(0x254)]['fetchThroughInterceptors'](this[_0x3e76d7(0x371)][_0x3e76d7(0x254)][_0x3e76d7(0x231)]()['COMPRESS_MUTATION_APPLY']);(_0x2b6a0f=_0x5a5133((_0x5cc963==null?void 0x0:_0x5cc963[_0x3e76d7(0x313)])||[],null))==null||_0x2b6a0f['forEach'](_0x4b41ef=>this[_0x3e76d7(0x303)]['executeCommand'](_0x4b41ef['id'],_0x4b41ef['params'])),(_0x3e664d=_0x5a5133(_0x14ad43||[],null))==null||_0x3e664d[_0x3e76d7(0x3b1)](_0x1dd7d8=>this[_0x3e76d7(0x303)][_0x3e76d7(0x114)](_0x1dd7d8['id'],_0x1dd7d8[_0x3e76d7(0x1c1)]));}};st=Mt([k(0x3,_0x9a3a81(_0x91639e)),k(0x4,_0x9a3a81(_0x25a4f5)),k(0x5,_0x9a3a81(_0x428633)),k(0x6,_0x9a3a81(_0x204934)),k(0x7,_0x9a3a81(pe)),k(0x8,_0x23fe8a),k(0x9,_0x55ba2b),k(0xa,_0x211a51),k(0xb,_0x5638e9(_t)),k(0xc,_0x5638e9(X))],st);let Ct=class extends st{constructor(_0x45fdb7,_0x10422b,_0x18bd32,_0x42f71f,_0x5b4573,_0x499f8a,_0x1062d6,_0x2829da,_0x1fef0d,_0x3a3e52,_0x20ca82,_0xef8310,_0x1af3d9){var _0x4ee3a6=_0x18e851;super(_0x45fdb7,_0x18bd32,_0x10422b,_0x42f71f,_0x5b4573,_0x499f8a,_0x1062d6,_0x2829da,_0x1fef0d,_0x3a3e52,_0x20ca82,_0xef8310,_0x1af3d9),P(this,_0x4ee3a6(0x33e),null),(this[_0x4ee3a6(0x185)]=_0x45fdb7,this[_0x4ee3a6(0x1d2)]=_0x10422b);}[_0x18e851(0x14e)](_0x567eca){var _0x223275=_0x18e851;this[_0x223275(0x33e)]=_0x567eca;}[_0x18e851(0x25e)](){var _0x20d1d6=_0x18e851;this['_handlerCallback']=null,super[_0x20d1d6(0x25e)]();}[_0x18e851(0x2cb)](){var _0x31dbe0=_0x18e851;const _0x3dd35e=super[_0x31dbe0(0x2cb)]();return _0x3dd35e[_0x31dbe0(0x1f5)]=_0x3a92c8=>{var _0x1bae9b=_0x31dbe0,_0x1fa447,_0x2ed16f;return(_0x2ed16f=(_0x1fa447=this[_0x1bae9b(0x33e)])==null?void 0x0:_0x1fa447[_0x1bae9b(0x1f5)])==null?void 0x0:_0x2ed16f['call'](_0x1fa447,_0x3a92c8);},_0x3dd35e[_0x31dbe0(0x36b)]=_0x452926=>{var _0x1a4415=_0x31dbe0,_0x57f825,_0x35cc0d;return(_0x35cc0d=(_0x57f825=this['_handlerCallback'])==null?void 0x0:_0x57f825[_0x1a4415(0x36b)])==null?void 0x0:_0x35cc0d[_0x1a4415(0x383)](_0x57f825,_0x452926);},_0x3dd35e[_0x31dbe0(0x393)]=_0x421f19=>{var _0x10b997=_0x31dbe0,_0x400cae,_0x2c1b74;return(_0x2c1b74=(_0x400cae=this[_0x10b997(0x33e)])==null?void 0x0:_0x400cae[_0x10b997(0x393)])==null?void 0x0:_0x2c1b74[_0x10b997(0x383)](_0x400cae,_0x421f19);},_0x3dd35e[_0x31dbe0(0x2dc)]=_0x252eb3=>{var _0x527772=_0x31dbe0,_0x5d65fd,_0x4f16b0;return(_0x4f16b0=(_0x5d65fd=this['_handlerCallback'])==null?void 0x0:_0x5d65fd[_0x527772(0x2dc)])==null?void 0x0:_0x4f16b0[_0x527772(0x383)](_0x5d65fd,_0x252eb3);},_0x3dd35e[_0x31dbe0(0x3f4)]=_0x35295f=>{var _0x3d09ad=_0x31dbe0,_0x510f8b,_0x56130e,_0x254fc3;if(!((_0x510f8b=this[_0x3d09ad(0x33e)])!=null&&_0x510f8b[_0x3d09ad(0x3f4)]))throw new Error(_0x3d09ad(0x26f));return(_0x254fc3=(_0x56130e=this['_handlerCallback'])==null?void 0x0:_0x56130e[_0x3d09ad(0x3f4)])==null?void 0x0:_0x254fc3[_0x3d09ad(0x383)](_0x56130e,_0x35295f);},_0x3dd35e[_0x31dbe0(0x1c2)]=_0x407210=>{var _0x4be082=_0x31dbe0,_0x28e763,_0x1b3a99,_0x374498;if(!((_0x28e763=this[_0x4be082(0x33e)])!=null&&_0x28e763[_0x4be082(0x1c2)]))throw new Error(_0x4be082(0x230));return(_0x374498=(_0x1b3a99=this[_0x4be082(0x33e)])==null?void 0x0:_0x1b3a99[_0x4be082(0x1c2)])==null?void 0x0:_0x374498['call'](_0x1b3a99,_0x407210);},_0x3dd35e;}async[_0x18e851(0x1e1)](){var _0x3a99e9=_0x18e851;const _0x1c9e94=await super[_0x3a99e9(0x1e1)]();return this['disposeWithMe'](this[_0x3a99e9(0x303)][_0x3a99e9(0x237)]((_0x401c6e,_0x4c924b)=>{var _0xee82fe=_0x3a99e9;if(_0x401c6e[_0xee82fe(0x1d2)]!==_0x51faea[_0xee82fe(0x3cc)]||_0x4c924b!=null&&_0x4c924b[_0xee82fe(0x330)]||_0x4c924b!=null&&_0x4c924b[_0xee82fe(0x240)]||_0x401c6e['id']===_0x236a0d['id'])return;const _0x5b0621=_0x401c6e[_0xee82fe(0x1c1)];if((_0x5b0621==null?void 0x0:_0x5b0621[_0xee82fe(0x110)])!==this[_0xee82fe(0x185)])return;const _0x1a1182=_0x401c6e,_0x2ad59e=this[_0xee82fe(0x371)][_0xee82fe(0x254)][_0xee82fe(0x372)](this[_0xee82fe(0x371)]['interceptor'][_0xee82fe(0x231)]()[_0xee82fe(0x197)])([_0x1a1182],null)||[_0x1a1182];this[_0xee82fe(0x2cc)](_0x2ad59e[0x0]);})),_0x1c9e94;}};Ct=Mt([k(0x3,_0x9a3a81(_0x91639e)),k(0x4,_0x9a3a81(_0x25a4f5)),k(0x5,_0x9a3a81(_0x428633)),k(0x6,_0x9a3a81(_0x204934)),k(0x7,_0x9a3a81(pe)),k(0x8,_0x23fe8a),k(0x9,_0x55ba2b),k(0xa,_0x211a51),k(0xb,_0x5638e9(_t)),k(0xc,_0x5638e9(X))],Ct);let bt=class extends st{constructor(_0x2d6508,_0x24eadf,_0x42c0cf,_0x121a44,_0x167b2f,_0x535028,_0x58f5de,_0x592554,_0x5238d4,_0x449f2e,_0x3b46c4,_0x2fdac9,_0x4fe137,_0x5b37db){var _0x3bb4ce=_0x18e851;super(_0x2d6508,_0x42c0cf,_0x24eadf,_0x121a44,_0x167b2f,_0x535028,_0x58f5de,_0x5238d4,_0x449f2e,_0x3b46c4,_0x2fdac9,_0x4fe137,_0x5b37db),this[_0x3bb4ce(0x185)]=_0x2d6508,this[_0x3bb4ce(0x1d2)]=_0x24eadf,this[_0x3bb4ce(0x2ab)]=_0x592554;}[_0x18e851(0x2cb)](){var _0x1c7251=_0x18e851;const _0x4a6cd5=super['_createHandler']();return _0x4a6cd5[_0x1c7251(0x393)]=_0x242946=>this[_0x1c7251(0x2ab)]['transformSelections'](_0x242946),_0x4a6cd5;}async[_0x18e851(0x1e1)](){var _0x50d3ec=_0x18e851;const _0x4e2cea=await super[_0x50d3ec(0x1e1)]();return this[_0x50d3ec(0xf9)](this[_0x50d3ec(0x303)][_0x50d3ec(0x237)]((_0x577601,_0x110924)=>{var _0x1ebf84=_0x50d3ec;if(_0x577601[_0x1ebf84(0x1d2)]!==_0x51faea[_0x1ebf84(0x3cc)]||_0x110924!=null&&_0x110924[_0x1ebf84(0x330)]||_0x110924!=null&&_0x110924[_0x1ebf84(0x240)])return;const _0xafb999=_0x577601[_0x1ebf84(0x1c1)];if((_0xafb999==null?void 0x0:_0xafb999['unitId'])!==this['unitID'])return;const _0x49995d=_0x577601,_0x5c5be5=this[_0x1ebf84(0x371)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x1ebf84(0x254)][_0x1ebf84(0x231)]()['COMPRESS_MUTATION_SEND'])([_0x49995d],null)||[_0x49995d];this[_0x1ebf84(0x2cc)](_0x5c5be5[0x0]);})),_0x4e2cea;}};bt=Mt([k(0x3,_0x9a3a81(_0x91639e)),k(0x4,_0x9a3a81(_0x25a4f5)),k(0x5,_0x9a3a81(_0x428633)),k(0x6,_0x9a3a81(_0x204934)),k(0x7,_0x9a3a81(nt)),k(0x8,_0x9a3a81(pe)),k(0x9,_0x23fe8a),k(0xa,_0x55ba2b),k(0xb,_0x211a51),k(0xc,_0x5638e9(_t)),k(0xd,_0x5638e9(X))],bt);var Os=Object['defineProperty'],Ns=Object[_0x18e851(0x158)],Ps=(_0x4e1ad0,_0x1cdab4,_0x48239d,_0x5a6a7a)=>{var _0x3546ac=_0x18e851;for(var _0x33c723=_0x5a6a7a>0x1?void 0x0:_0x5a6a7a?Ns(_0x1cdab4,_0x48239d):_0x1cdab4,_0x2165e9=_0x4e1ad0[_0x3546ac(0x1ae)]-0x1,_0x5e8388;_0x2165e9>=0x0;_0x2165e9--)(_0x5e8388=_0x4e1ad0[_0x2165e9])&&(_0x33c723=(_0x5a6a7a?_0x5e8388(_0x1cdab4,_0x48239d,_0x33c723):_0x5e8388(_0x33c723))||_0x33c723);return _0x5a6a7a&&_0x33c723&&Os(_0x1cdab4,_0x48239d,_0x33c723),_0x33c723;},vt=(_0x4c6ebc,_0x492a64)=>(_0x19910c,_0x2786c2)=>_0x492a64(_0x19910c,_0x2786c2,_0x4c6ebc);let rt=class extends _0x3e0bc6{constructor(_0x4c1f54,_0x83c34a,_0x46cbdd){var _0x4d3ea1=_0x18e851;super(),P(this,_0x4d3ea1(0x263),new Map()),P(this,_0x4d3ea1(0x28c),new _0x1a1e17()),P(this,_0x4d3ea1(0x368),this[_0x4d3ea1(0x28c)][_0x4d3ea1(0x3c5)]()),(this[_0x4d3ea1(0x122)]=_0x4c1f54,this['_collabSessionService']=_0x83c34a,this[_0x4d3ea1(0x30d)]=_0x46cbdd,this['_init']());}['dispose'](){var _0x2d05bb=_0x18e851;super[_0x2d05bb(0x25e)](),this[_0x2d05bb(0x263)][_0x2d05bb(0x3b1)](_0x4ab0d3=>_0x4ab0d3[_0x2d05bb(0x25e)]()),this['_entities'][_0x2d05bb(0x2f2)]();}[_0x18e851(0x2fd)](_0x1ba097){var _0x4828ba=_0x18e851,_0x1a5cc7;return(_0x1a5cc7=this['_entities'][_0x4828ba(0x20b)](_0x1ba097))!=null?_0x1a5cc7:null;}[_0x18e851(0x2a6)](_0x322b44){var _0x30929d=_0x18e851;const _0x2be5d5=this[_0x30929d(0x2fd)](_0x322b44);return _0x2be5d5?_0x51f2fd(_0x2be5d5):this['_entityInit$'][_0x30929d(0x2be)](_0x2d009d(_0x19ebfe=>_0x19ebfe[_0x30929d(0x185)]===_0x322b44));}[_0x18e851(0x10f)](_0x64da08){var _0x505f71=_0x18e851;return _0x6624f4(this[_0x505f71(0x2a6)](_0x64da08)[_0x505f71(0x2be)](_0x4fec2b(()=>{})));}['_init'](){var _0x38ac5e=_0x18e851;this[_0x38ac5e(0x30d)]['getTypeOfUnitAdded$'](_0x2575b5['UNIVER_SHEET'])['pipe'](_0x3f1506(this[_0x38ac5e(0x1b3)]),_0x44ceba(0x10))[_0x38ac5e(0x3b5)](async _0x3ae40c=>{var _0x1dc3df=_0x38ac5e;const _0x295cbb=_0x3ae40c[_0x1dc3df(0x2e8)](),_0x4d59be=await this[_0x1dc3df(0x328)](_0x295cbb,Q[_0x1dc3df(0x3c9)]);this[_0x1dc3df(0x263)]['set'](_0x295cbb,_0x4d59be);}),this[_0x38ac5e(0x30d)][_0x38ac5e(0x364)](_0x2575b5[_0x38ac5e(0x28f)])[_0x38ac5e(0x2be)](_0x3f1506(this[_0x38ac5e(0x1b3)]),_0x44ceba(0x10))[_0x38ac5e(0x2be)](_0x2d009d(_0x4ee6d4=>!_0x4ee6d4['getUnitId']()[_0x38ac5e(0x27b)]('__')))[_0x38ac5e(0x3b5)](async _0x395406=>{var _0x1257e5=_0x38ac5e;const _0x48ee1d=_0x395406[_0x1257e5(0x2e8)](),_0x4b5caa=await this[_0x1257e5(0x328)](_0x48ee1d,Q['UNIVER_DOC']);this[_0x1257e5(0x263)][_0x1257e5(0x2b3)](_0x48ee1d,_0x4b5caa);}),_0x1b9259(this[_0x38ac5e(0x30d)][_0x38ac5e(0x15f)](_0x2575b5[_0x38ac5e(0x3c9)]),this[_0x38ac5e(0x30d)][_0x38ac5e(0x15f)](_0x2575b5[_0x38ac5e(0x28f)]))[_0x38ac5e(0x2be)](_0x3f1506(this[_0x38ac5e(0x1b3)]))[_0x38ac5e(0x3b5)](_0x152c59=>{var _0x1cc528=_0x38ac5e;const _0x31c4a8=_0x152c59[_0x1cc528(0x2e8)](),_0x2c85b8=this['_entities'][_0x1cc528(0x20b)](_0x31c4a8);_0x2c85b8&&(_0x2c85b8['dispose'](),this[_0x1cc528(0x263)][_0x1cc528(0x11a)](_0x31c4a8));});}async[_0x18e851(0x328)](_0x172b19,_0x4c872f){var _0x306d3d=_0x18e851;const _0x3b3da8=await this[_0x306d3d(0x319)][_0x306d3d(0x321)](_0x172b19),_0x285635=this[_0x306d3d(0x122)]['createInstance'](this[_0x306d3d(0x3d4)](_0x4c872f),_0x172b19,_0x4c872f,_0x3b3da8);return await _0x285635[_0x306d3d(0x172)](),this[_0x306d3d(0x28c)][_0x306d3d(0x37a)](_0x285635),_0x285635;}[_0x18e851(0x3d4)](_0x926bf6){var _0x1420a6=_0x18e851;switch(_0x926bf6){case Q[_0x1420a6(0x28f)]:return Ct;case Q['UNIVER_SHEET']:return bt;default:throw new Error(_0x1420a6(0x165)+_0x926bf6);}}};rt=Ps([vt(0x0,_0x9a3a81(_0x91639e)),vt(0x1,_0x9a3a81(Le)),vt(0x2,_0xb7833d)],rt);var Ds=Object['defineProperty'],ws=Object[_0x18e851(0x158)],Us=(_0x3065c9,_0x45fb39,_0x34e1e6,_0x46dab7)=>{var _0x2d8a54=_0x18e851;for(var _0x28c170=_0x46dab7>0x1?void 0x0:_0x46dab7?ws(_0x45fb39,_0x34e1e6):_0x45fb39,_0x19728e=_0x3065c9[_0x2d8a54(0x1ae)]-0x1,_0x1e9f41;_0x19728e>=0x0;_0x19728e--)(_0x1e9f41=_0x3065c9[_0x19728e])&&(_0x28c170=(_0x46dab7?_0x1e9f41(_0x45fb39,_0x34e1e6,_0x28c170):_0x1e9f41(_0x28c170))||_0x28c170);return _0x46dab7&&_0x28c170&&Ds(_0x45fb39,_0x34e1e6,_0x28c170),_0x28c170;},Zt=(_0x3d72d5,_0x32ec5d)=>(_0x1f91a9,_0x1f1aa4)=>_0x32ec5d(_0x1f91a9,_0x1f1aa4,_0x3d72d5);const As=_0x18e851(0x387),xs=_0x18e851(0x247);let Rt=class extends _0x164561{constructor(_0x473f2a,_0x2804d8){var _0x4e358c=_0x18e851;super(),this[_0x4e358c(0x30d)]=_0x473f2a,this[_0x4e358c(0x13d)]=_0x2804d8,this[_0x4e358c(0x1e1)]();}[_0x18e851(0x1e1)](){var _0x3cb763=_0x18e851;this[_0x3cb763(0xf9)](this[_0x3cb763(0x30d)][_0x3cb763(0x2f7)][_0x3cb763(0x3b5)](()=>{var _0x10c6a8=_0x3cb763,_0x2a6c08;const _0x3ae0aa=this[_0x10c6a8(0x30d)][_0x10c6a8(0x3a4)]();let _0x2dd42e=(_0x2a6c08=this[_0x10c6a8(0x13d)][_0x10c6a8(0x394)](As))!=null?_0x2a6c08:xs;_0x3ae0aa instanceof _0x3dc9c0&&(_0x2dd42e=_0x3ae0aa[_0x10c6a8(0x23b)]),document[_0x10c6a8(0x3f6)]=_0x2dd42e;}));}};Rt=Us([Zt(0x0,_0xb7833d),Zt(0x1,_0x8d16e3)],Rt);var Ls=Object[_0x18e851(0x20a)],Ms=Object[_0x18e851(0x158)],$s=(_0x50d3b,_0x1738ea,_0x5cd6e6,_0x792cf3)=>{for(var _0x15b5d8=_0x792cf3>0x1?void 0x0:_0x792cf3?Ms(_0x1738ea,_0x5cd6e6):_0x1738ea,_0x31324b=_0x50d3b['length']-0x1,_0x114e86;_0x31324b>=0x0;_0x31324b--)(_0x114e86=_0x50d3b[_0x31324b])&&(_0x15b5d8=(_0x792cf3?_0x114e86(_0x1738ea,_0x5cd6e6,_0x15b5d8):_0x114e86(_0x15b5d8))||_0x15b5d8);return _0x792cf3&&_0x15b5d8&&Ls(_0x1738ea,_0x5cd6e6,_0x15b5d8),_0x15b5d8;},pt=(_0x550f79,_0x1fe4af)=>(_0x1c6044,_0x56df51)=>_0x1fe4af(_0x1c6044,_0x56df51,_0x550f79);let ot=class{constructor(_0x2b65bd,_0x1c56b0,_0x2de62a){var _0x1b648a=_0x18e851;this[_0x1b648a(0x13d)]=_0x2b65bd,this[_0x1b648a(0x2f4)]=_0x1c56b0,this[_0x1b648a(0x2d1)]=_0x2de62a,this[_0x1b648a(0x172)]();}['init'](){var _0x2a0fae=_0x18e851;this[_0x2a0fae(0x2f4)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xcc2ec9,_0x565edd)=>_0x565edd(_0xcc2ec9)[_0x2a0fae(0x2be)](_0x30a3d7(async _0x794eea=>{var _0xe4c276=_0x2a0fae;const _0x2fd371=_0x794eea;if(_0x2fd371[_0xe4c276(0x227)]===0x191){if(typeof window>'u')throw new Error(_0xe4c276(0x1b4));if(window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x11e540=window['encodeURIComponent'](window[_0xe4c276(0x29c)][_0xe4c276(0x2fe)]);window['location'][_0xe4c276(0x2fe)]=this[_0xe4c276(0x3e2)]()+'?url='+_0x11e540;}}return _0x2fd371;}))});}[_0x18e851(0x3e2)](){var _0x494a0a=_0x18e851,_0x1c5024,_0x510da4;const _0x1cd409=this[_0x494a0a(0x13d)]['getConfig'](Wn),_0x175be3=this[_0x494a0a(0x13d)]['getConfig'](Y);return(_0x510da4=(_0x1c5024=_0x175be3==null?void 0x0:_0x175be3[_0x494a0a(0x213)])!=null?_0x1c5024:_0x1cd409)!=null?_0x510da4:Gn;}};ot=$s([pt(0x0,_0x8d16e3),pt(0x1,_0x9a3a81(_0x43eb8b)),pt(0x2,_0x9a3a81(_0x428633))],ot);var Hs=Object[_0x18e851(0x20a)],ks=Object[_0x18e851(0x158)],js=(_0x12d422,_0x251ae0,_0x4fcfcd,_0x3445ac)=>{var _0x23b423=_0x18e851;for(var _0x2f63e7=_0x3445ac>0x1?void 0x0:_0x3445ac?ks(_0x251ae0,_0x4fcfcd):_0x251ae0,_0x3f0e32=_0x12d422[_0x23b423(0x1ae)]-0x1,_0x289471;_0x3f0e32>=0x0;_0x3f0e32--)(_0x289471=_0x12d422[_0x3f0e32])&&(_0x2f63e7=(_0x3445ac?_0x289471(_0x251ae0,_0x4fcfcd,_0x2f63e7):_0x289471(_0x2f63e7))||_0x2f63e7);return _0x3445ac&&_0x2f63e7&&Hs(_0x251ae0,_0x4fcfcd,_0x2f63e7),_0x2f63e7;},Qt=(_0x4f92b5,_0x2d5e45)=>(_0x383b17,_0x3d8203)=>_0x2d5e45(_0x383b17,_0x3d8203,_0x4f92b5);const Ui='AUTHZ_URL_KEY',Bs=_0x18e851(0x292);let yt=class extends _0x164561{constructor(_0xc09d8,_0xdd663){var _0xe79033=_0x18e851;super(),this['_HTTPService']=_0xc09d8,this[_0xe79033(0x13d)]=_0xdd663,this[_0xe79033(0x245)]();}[_0x18e851(0x245)](){var _0x2df828=_0x18e851;const _0x38a546=this;this[_0x2df828(0xf9)](this[_0x2df828(0x26e)][_0x2df828(0x1d3)]({'priority':0x3e7,'interceptor':_0x4caae0({'isMatch'(_0x18d29f){var _0x334d87=_0x2df828,_0x3834f0;if(_0x18d29f[_0x334d87(0x229)]===_0x334d87(0x256)&&((_0x3834f0=_0x18d29f[_0x334d87(0x1d4)])!=null&&_0x3834f0[_0x334d87(0x1a4)])){const {objectID:_0x31d997,objectType:_0x352e9e}=_0x18d29f[_0x334d87(0x1d4)][_0x334d87(0x1a4)]||{};if(!_0x31d997||_0x352e9e===void 0x0)return!0x1;const _0x40967f=_0x38a546[_0x334d87(0x29b)]()+'/'+_0x352e9e+'/object/'+_0x31d997+_0x334d87(0x15d);if(_0x18d29f[_0x334d87(0x3d0)]===_0x40967f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x27e742){var _0x21cdf3=_0x2df828,_0x13d5ef;return(_0x13d5ef=_0x27e742[_0x21cdf3(0x1d4)])==null?void 0x0:_0x13d5ef['body'];},'mergeParamsToRequest'(_0x1d2ad9,_0x37d82c){var _0x1d7629=_0x2df828;const _0x2cd21b=_0x38a546[_0x1d7629(0x29b)]()+'/-/object/-/batch_allowed',_0x2c08c5=_0x1d2ad9['reduce']((_0x137fc1,_0x36a240)=>{var _0x4e77f9=_0x1d7629;const {unitID:_0x28dbd3,objectID:_0x2806b0,objectType:_0x4a6fd9,actions:_0x409574}=_0x36a240;return _0x137fc1[_0x28dbd3]||(_0x137fc1[_0x28dbd3]={}),_0x137fc1[_0x28dbd3][_0x2806b0]||(_0x137fc1[_0x28dbd3][_0x2806b0]={'objectID':_0x2806b0,'objectType':_0x4a6fd9,'actions':[]}),_0x137fc1[_0x28dbd3][_0x2806b0][_0x4e77f9(0x2e0)][_0x4e77f9(0x36f)](..._0x409574),_0x137fc1;},{}),_0x3ff6e6=[];for(const _0x865b2d in _0x2c08c5)for(const _0x3b89e8 in _0x2c08c5[_0x865b2d]){const {actions:_0x576050,objectType:_0x4834bd}=_0x2c08c5[_0x865b2d][_0x3b89e8],_0x351aea=[...new Set(_0x576050)];_0x3ff6e6['push']({'unitID':_0x865b2d,'objectID':_0x3b89e8,'objectType':_0x4834bd,'actions':_0x351aea});}return new _0x260a02(_0x1d7629(0x256),_0x2cd21b,{'headers':_0x37d82c[_0x1d7629(0x2b6)],'withCredentials':_0x37d82c[_0x1d7629(0x173)],'responseType':_0x37d82c['responseType'],'body':{'requests':_0x3ff6e6}});}},{'distributeResult'(_0x1a937b,_0x572adb){var _0xafb95=_0x2df828;const {objectActions:_0x76faf}=_0x1a937b;return _0x572adb[_0xafb95(0x13b)](_0x375d1b=>{var _0x3498d1=_0xafb95;const {unitID:_0x53da9a,objectID:_0x4331f6,actions:_0x94121}=_0x375d1b,_0x1d0be5=_0x76faf[_0x3498d1(0x39d)](_0x5bff91=>_0x5bff91[_0x3498d1(0x185)]===_0x53da9a&&_0x5bff91['objectID']===_0x4331f6),_0x5139ba=_0x94121[_0x3498d1(0x13b)](_0x103fdb=>_0x1d0be5==null?void 0x0:_0x1d0be5[_0x3498d1(0x2e0)][_0x3498d1(0x39d)](_0x3e1823=>_0x3e1823[_0x3498d1(0x225)]===_0x103fdb))[_0x3498d1(0x38b)](_0x1b12dd=>!!_0x1b12dd);return{'config':_0x375d1b,'result':{'actions':_0x5139ba,'error':_0x1a937b[_0x3498d1(0x35d)]}};});}})}));}[_0x18e851(0x29b)](){var _0x4927a8=_0x18e851,_0x276ae4,_0x2f765d;const _0x13f149=this[_0x4927a8(0x13d)][_0x4927a8(0x394)](Ui),_0x189a6e=this[_0x4927a8(0x13d)][_0x4927a8(0x394)](Y);return(_0x2f765d=(_0x276ae4=_0x189a6e==null?void 0x0:_0x189a6e[_0x4927a8(0x359)])!=null?_0x276ae4:_0x13f149)!=null?_0x2f765d:Bs;}async[_0x18e851(0x22c)](_0x469e76){var _0x35b445=_0x18e851;const _0x52f595=this[_0x35b445(0x29b)]()+'/'+_0x469e76[_0x35b445(0x187)]+_0x35b445(0x2d2);return(await this['_HTTPService'][_0x35b445(0x3e3)](_0x52f595,{'body':_0x469e76}))[_0x35b445(0x1a4)][_0x35b445(0x1a2)]||'';}async[_0x18e851(0x2a4)](_0x46dfc0){var _0x23f5ce=_0x18e851;const _0x5cefab=this[_0x23f5ce(0x29b)]()+_0x23f5ce(0x1fa);return(await this[_0x23f5ce(0x26e)][_0x23f5ce(0x3e3)](_0x5cefab,{'body':_0x46dfc0}))[_0x23f5ce(0x1a4)][_0x23f5ce(0x2d4)];}async['update'](_0x3c705b){var _0x3e9a37=_0x18e851;const _0x44a59e=this[_0x3e9a37(0x29b)]()+'/'+_0x3c705b['objectType']+_0x3e9a37(0x1ba)+_0x3c705b[_0x3e9a37(0x1a2)];await this[_0x3e9a37(0x26e)][_0x3e9a37(0x1ef)](_0x44a59e,{'body':_0x3c705b});}async['allowed'](_0xf7d6f8){var _0x310de2=_0x18e851;const _0x465c63=this['_getAPIPrefixPath']()+'/'+_0xf7d6f8[_0x310de2(0x187)]+_0x310de2(0x1ba)+_0xf7d6f8[_0x310de2(0x1a2)]+_0x310de2(0x15d);return(await this[_0x310de2(0x26e)][_0x310de2(0x3e3)](_0x465c63,{'body':_0xf7d6f8}))[_0x310de2(0x1a4)][_0x310de2(0x2e0)];}async['batchAllowed'](_0x1f48c7){var _0x1c5fcc=_0x18e851;const _0x196936=this[_0x1c5fcc(0x29b)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x1c5fcc(0x3e3)](_0x196936,{'body':{'requests':_0x1f48c7}}))[_0x1c5fcc(0x1a4)][_0x1c5fcc(0x1b5)];}async[_0x18e851(0x111)](_0x3a3c30){var _0x52333a=_0x18e851;const _0x325b97=this[_0x52333a(0x29b)]()+'/'+_0x3a3c30['objectType']+_0x52333a(0xfc),_0x16ed7b=await this['_HTTPService']['post'](_0x325b97,{'body':_0x3a3c30});return{'roles':_0x16ed7b[_0x52333a(0x1a4)][_0x52333a(0x1f3)],'actions':_0x16ed7b[_0x52333a(0x1a4)][_0x52333a(0x2e0)]};}async[_0x18e851(0x1b9)](_0x45830f){var _0x306422=_0x18e851;const _0x901c23=this['_getAPIPrefixPath']()+_0x306422(0x181);await this['_HTTPService']['delete'](_0x901c23,{'params':{'collaboratorID':_0x45830f[_0x306422(0x24d)],'objectID':_0x45830f[_0x306422(0x1a2)],'unitID':_0x45830f[_0x306422(0x185)]}});}async[_0x18e851(0x1f8)](_0x27ee2d){var _0xafe3cd=_0x18e851;const _0x3b074d=this[_0xafe3cd(0x29b)]()+_0xafe3cd(0x181);await this['_HTTPService'][_0xafe3cd(0x20e)](_0x3b074d,{'body':_0x27ee2d});}async[_0x18e851(0x390)](_0x3813bc){var _0x3030fb=_0x18e851;const _0x5bb64c=this[_0x3030fb(0x29b)]()+_0x3030fb(0x181);await this['_HTTPService'][_0x3030fb(0x3e3)](_0x5bb64c,{'body':_0x3813bc});}async[_0x18e851(0x1a1)](_0x196ea4){var _0x19f6f4=_0x18e851;const _0x1518f3=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService']['get'](_0x1518f3,{'params':{'objectID':_0x196ea4[_0x19f6f4(0x1a2)],'unitID':_0x196ea4[_0x19f6f4(0x185)]}}))['body'][_0x19f6f4(0x25d)];}async[_0x18e851(0x1eb)](_0x1092ba){var _0x3e80db=_0x18e851;const _0x3c80de=this[_0x3e80db(0x29b)]()+_0x3e80db(0x181);await this[_0x3e80db(0x26e)][_0x3e80db(0x1ef)](_0x3c80de,{'body':_0x1092ba});}};yt=js([Qt(0x0,_0x9a3a81(_0x43eb8b)),Qt(0x1,_0x9a3a81(_0x8d16e3))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x28875a){var _0x14ed9f=_0x18e851;return _0x28875a&&_0x28875a['__esModule']&&Object['prototype'][_0x14ed9f(0x1a5)][_0x14ed9f(0x383)](_0x28875a,_0x14ed9f(0x275))?_0x28875a[_0x14ed9f(0x275)]:_0x28875a;}var We={'exports':{}};function Fs(_0x5e9bd9){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5e9bd9+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Vs=Ge[_0x18e851(0x219)],ei;function ne(){var _0x512df1=_0x18e851;return ei||(ei=0x1,function(_0x266363,_0x471945){(function(_0x226d68,_0x508fbc){var _0x413e34=_0x35f3;_0x266363[_0x413e34(0x219)]=_0x508fbc();}(Vs,function(){var _0x3d99a9=_0x3d99a9||function(_0x7ad8f0,_0x297659){var _0x4284f8=_0x35f3,_0x2c8c7d;if(typeof window<'u'&&window[_0x4284f8(0x22d)]&&(_0x2c8c7d=window[_0x4284f8(0x22d)]),typeof self<'u'&&self[_0x4284f8(0x22d)]&&(_0x2c8c7d=self[_0x4284f8(0x22d)]),typeof globalThis<'u'&&globalThis[_0x4284f8(0x22d)]&&(_0x2c8c7d=globalThis['crypto']),!_0x2c8c7d&&typeof window<'u'&&window[_0x4284f8(0x103)]&&(_0x2c8c7d=window[_0x4284f8(0x103)]),!_0x2c8c7d&&typeof mt<'u'&&mt['crypto']&&(_0x2c8c7d=mt['crypto']),!_0x2c8c7d&&typeof Fs==_0x4284f8(0x35e))try{_0x2c8c7d=require(_0x4284f8(0x22d));}catch{}var _0x639c36=function(){var _0x31d168=_0x4284f8;if(_0x2c8c7d){if(typeof _0x2c8c7d['getRandomValues']==_0x31d168(0x35e))try{return _0x2c8c7d['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2c8c7d[_0x31d168(0x2ed)]==_0x31d168(0x35e))try{return _0x2c8c7d[_0x31d168(0x2ed)](0x4)[_0x31d168(0x2bf)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x45e7eb=Object[_0x4284f8(0x22c)]||(function(){function _0x139c52(){}return function(_0x4edfc8){var _0x464a22=_0x35f3,_0x56415b;return _0x139c52['prototype']=_0x4edfc8,_0x56415b=new _0x139c52(),_0x139c52[_0x464a22(0x2a7)]=null,_0x56415b;};}()),_0x342d92={},_0x15049e=_0x342d92['lib']={},_0x2da9d2=_0x15049e['Base']=(function(){return{'extend':function(_0x52bbec){var _0x320fb1=_0x35f3,_0x40ca1a=_0x45e7eb(this);return _0x52bbec&&_0x40ca1a['mixIn'](_0x52bbec),(!_0x40ca1a['hasOwnProperty'](_0x320fb1(0x172))||this[_0x320fb1(0x172)]===_0x40ca1a['init'])&&(_0x40ca1a['init']=function(){var _0x1c9c72=_0x320fb1;_0x40ca1a[_0x1c9c72(0x132)][_0x1c9c72(0x172)][_0x1c9c72(0x249)](this,arguments);}),_0x40ca1a['init'][_0x320fb1(0x2a7)]=_0x40ca1a,_0x40ca1a[_0x320fb1(0x132)]=this,_0x40ca1a;},'create':function(){var _0x1704c3=_0x35f3,_0x3a211d=this[_0x1704c3(0x3cf)]();return _0x3a211d[_0x1704c3(0x172)][_0x1704c3(0x249)](_0x3a211d,arguments),_0x3a211d;},'init':function(){},'mixIn':function(_0x8002dc){var _0x46dbcb=_0x35f3;for(var _0x4737e2 in _0x8002dc)_0x8002dc[_0x46dbcb(0x1a5)](_0x4737e2)&&(this[_0x4737e2]=_0x8002dc[_0x4737e2]);_0x8002dc['hasOwnProperty']('toString')&&(this[_0x46dbcb(0x1fc)]=_0x8002dc[_0x46dbcb(0x1fc)]);},'clone':function(){var _0x369284=_0x35f3;return this[_0x369284(0x172)]['prototype'][_0x369284(0x3cf)](this);}};}()),_0x42cbbb=_0x15049e[_0x4284f8(0x2e1)]=_0x2da9d2[_0x4284f8(0x3cf)]({'init':function(_0x5b31ff,_0xb055fa){var _0x2102be=_0x4284f8;_0x5b31ff=this[_0x2102be(0x142)]=_0x5b31ff||[],_0xb055fa!=_0x297659?this['sigBytes']=_0xb055fa:this[_0x2102be(0x1c9)]=_0x5b31ff[_0x2102be(0x1ae)]*0x4;},'toString':function(_0x39355d){return(_0x39355d||_0x1e34cf)['stringify'](this);},'concat':function(_0x12bc52){var _0x43030e=_0x4284f8,_0x4312b5=this['words'],_0x2e499d=_0x12bc52[_0x43030e(0x142)],_0x213f17=this[_0x43030e(0x1c9)],_0x59bd8b=_0x12bc52[_0x43030e(0x1c9)];if(this[_0x43030e(0x2aa)](),_0x213f17%0x4)for(var _0x22e0aa=0x0;_0x22e0aa<_0x59bd8b;_0x22e0aa++){var _0x29f441=_0x2e499d[_0x22e0aa>>>0x2]>>>0x18-_0x22e0aa%0x4*0x8&0xff;_0x4312b5[_0x213f17+_0x22e0aa>>>0x2]|=_0x29f441<<0x18-(_0x213f17+_0x22e0aa)%0x4*0x8;}else{for(var _0x9ef306=0x0;_0x9ef306<_0x59bd8b;_0x9ef306+=0x4)_0x4312b5[_0x213f17+_0x9ef306>>>0x2]=_0x2e499d[_0x9ef306>>>0x2];}return this[_0x43030e(0x1c9)]+=_0x59bd8b,this;},'clamp':function(){var _0x427399=_0x4284f8,_0x3cf9d8=this[_0x427399(0x142)],_0x4f250b=this[_0x427399(0x1c9)];_0x3cf9d8[_0x4f250b>>>0x2]&=0xffffffff<<0x20-_0x4f250b%0x4*0x8,_0x3cf9d8['length']=_0x7ad8f0[_0x427399(0x108)](_0x4f250b/0x4);},'clone':function(){var _0x1aac62=_0x4284f8,_0x3af30b=_0x2da9d2['clone'][_0x1aac62(0x383)](this);return _0x3af30b[_0x1aac62(0x142)]=this[_0x1aac62(0x142)][_0x1aac62(0x14a)](0x0),_0x3af30b;},'random':function(_0x5b1f81){var _0x26b969=_0x4284f8;for(var _0x3da3e8=[],_0x281b00=0x0;_0x281b00<_0x5b1f81;_0x281b00+=0x4)_0x3da3e8['push'](_0x639c36());return new _0x42cbbb[(_0x26b969(0x172))](_0x3da3e8,_0x5b1f81);}}),_0x3726bf=_0x342d92[_0x4284f8(0x17a)]={},_0x1e34cf=_0x3726bf['Hex']={'stringify':function(_0x1e4d36){var _0x5378d4=_0x4284f8;for(var _0x246f18=_0x1e4d36[_0x5378d4(0x142)],_0x1db562=_0x1e4d36[_0x5378d4(0x1c9)],_0x1db590=[],_0xd17d73=0x0;_0xd17d73<_0x1db562;_0xd17d73++){var _0x2eff21=_0x246f18[_0xd17d73>>>0x2]>>>0x18-_0xd17d73%0x4*0x8&0xff;_0x1db590[_0x5378d4(0x36f)]((_0x2eff21>>>0x4)[_0x5378d4(0x1fc)](0x10)),_0x1db590[_0x5378d4(0x36f)]((_0x2eff21&0xf)[_0x5378d4(0x1fc)](0x10));}return _0x1db590[_0x5378d4(0x1f4)]('');},'parse':function(_0x484133){var _0x10cadc=_0x4284f8;for(var _0x552135=_0x484133[_0x10cadc(0x1ae)],_0x4c33bb=[],_0x118ee9=0x0;_0x118ee9<_0x552135;_0x118ee9+=0x2)_0x4c33bb[_0x118ee9>>>0x3]|=parseInt(_0x484133[_0x10cadc(0x212)](_0x118ee9,0x2),0x10)<<0x18-_0x118ee9%0x8*0x4;return new _0x42cbbb['init'](_0x4c33bb,_0x552135/0x2);}},_0x5731ba=_0x3726bf[_0x4284f8(0x223)]={'stringify':function(_0x16c58d){var _0x36838b=_0x4284f8;for(var _0x397d78=_0x16c58d[_0x36838b(0x142)],_0xd14b9c=_0x16c58d['sigBytes'],_0x5e1b9e=[],_0x2e1f42=0x0;_0x2e1f42<_0xd14b9c;_0x2e1f42++){var _0x3c1764=_0x397d78[_0x2e1f42>>>0x2]>>>0x18-_0x2e1f42%0x4*0x8&0xff;_0x5e1b9e[_0x36838b(0x36f)](String[_0x36838b(0x310)](_0x3c1764));}return _0x5e1b9e['join']('');},'parse':function(_0x4c04cd){var _0x5e5c84=_0x4284f8;for(var _0x5f334c=_0x4c04cd[_0x5e5c84(0x1ae)],_0x4d3358=[],_0x348215=0x0;_0x348215<_0x5f334c;_0x348215++)_0x4d3358[_0x348215>>>0x2]|=(_0x4c04cd[_0x5e5c84(0x1a0)](_0x348215)&0xff)<<0x18-_0x348215%0x4*0x8;return new _0x42cbbb[(_0x5e5c84(0x172))](_0x4d3358,_0x5f334c);}},_0x2e4eb7=_0x3726bf[_0x4284f8(0x298)]={'stringify':function(_0x1d48c8){var _0x552160=_0x4284f8;try{return decodeURIComponent(escape(_0x5731ba[_0x552160(0x1e9)](_0x1d48c8)));}catch{throw new Error(_0x552160(0x2a8));}},'parse':function(_0x3a63ae){return _0x5731ba['parse'](unescape(encodeURIComponent(_0x3a63ae)));}},_0xc9729e=_0x15049e[_0x4284f8(0x343)]=_0x2da9d2['extend']({'reset':function(){var _0x19ff7d=_0x4284f8;this[_0x19ff7d(0x1b8)]=new _0x42cbbb[(_0x19ff7d(0x172))](),this[_0x19ff7d(0x336)]=0x0;},'_append':function(_0x28b05a){var _0x54aa8c=_0x4284f8;typeof _0x28b05a==_0x54aa8c(0x3f2)&&(_0x28b05a=_0x2e4eb7[_0x54aa8c(0x36c)](_0x28b05a)),this[_0x54aa8c(0x1b8)]['concat'](_0x28b05a),this[_0x54aa8c(0x336)]+=_0x28b05a[_0x54aa8c(0x1c9)];},'_process':function(_0x2b7c5b){var _0x5033cd=_0x4284f8,_0x4998f5,_0x63da4c=this[_0x5033cd(0x1b8)],_0x9e6c0a=_0x63da4c[_0x5033cd(0x142)],_0x105db8=_0x63da4c[_0x5033cd(0x1c9)],_0xccfd4f=this['blockSize'],_0xa3272a=_0xccfd4f*0x4,_0x252285=_0x105db8/_0xa3272a;_0x2b7c5b?_0x252285=_0x7ad8f0[_0x5033cd(0x108)](_0x252285):_0x252285=_0x7ad8f0[_0x5033cd(0x1cf)]((_0x252285|0x0)-this[_0x5033cd(0x1cd)],0x0);var _0x5533cf=_0x252285*_0xccfd4f,_0x137f6e=_0x7ad8f0['min'](_0x5533cf*0x4,_0x105db8);if(_0x5533cf){for(var _0x40cffa=0x0;_0x40cffa<_0x5533cf;_0x40cffa+=_0xccfd4f)this[_0x5033cd(0x370)](_0x9e6c0a,_0x40cffa);_0x4998f5=_0x9e6c0a[_0x5033cd(0x33a)](0x0,_0x5533cf),_0x63da4c[_0x5033cd(0x1c9)]-=_0x137f6e;}return new _0x42cbbb[(_0x5033cd(0x172))](_0x4998f5,_0x137f6e);},'clone':function(){var _0x50db2a=_0x4284f8,_0x429728=_0x2da9d2[_0x50db2a(0x3e4)][_0x50db2a(0x383)](this);return _0x429728[_0x50db2a(0x1b8)]=this[_0x50db2a(0x1b8)][_0x50db2a(0x3e4)](),_0x429728;},'_minBufferSize':0x0});_0x15049e['Hasher']=_0xc9729e[_0x4284f8(0x3cf)]({'cfg':_0x2da9d2[_0x4284f8(0x3cf)](),'init':function(_0x354dad){var _0x36e45b=_0x4284f8;this[_0x36e45b(0x267)]=this[_0x36e45b(0x267)][_0x36e45b(0x3cf)](_0x354dad),this[_0x36e45b(0x2ce)]();},'reset':function(){var _0x7b150b=_0x4284f8;_0xc9729e[_0x7b150b(0x2ce)][_0x7b150b(0x383)](this),this[_0x7b150b(0x1c7)]();},'update':function(_0x46c6c1){var _0x109d5f=_0x4284f8;return this[_0x109d5f(0x33b)](_0x46c6c1),this['_process'](),this;},'finalize':function(_0x3892c6){var _0x35535a=_0x4284f8;_0x3892c6&&this[_0x35535a(0x33b)](_0x3892c6);var _0x273d9c=this[_0x35535a(0x180)]();return _0x273d9c;},'blockSize':0x10,'_createHelper':function(_0x3c6e29){return function(_0x148953,_0x38e38c){var _0xc93a2e=_0x35f3;return new _0x3c6e29[(_0xc93a2e(0x172))](_0x38e38c)[_0xc93a2e(0x201)](_0x148953);};},'_createHmacHelper':function(_0x559bec){return function(_0x59afbc,_0x5a7145){var _0x2b03c5=_0x35f3;return new _0x3c681a[(_0x2b03c5(0x174))]['init'](_0x559bec,_0x5a7145)[_0x2b03c5(0x201)](_0x59afbc);};}});var _0x3c681a=_0x342d92[_0x4284f8(0xf5)]={};return _0x342d92;}(Math);return _0x3d99a9;}));}(Ge)),Ge[_0x512df1(0x219)];}var Ke={'exports':{}},Ws=Ke[_0x18e851(0x219)],ti;function Ai(){var _0x41a65f=_0x18e851;return ti||(ti=0x1,function(_0x19db5e,_0x36df28){(function(_0x4c102a,_0xea40b7){var _0x4ed0bd=_0x35f3;_0x19db5e[_0x4ed0bd(0x219)]=_0xea40b7(ne());}(Ws,function(_0x4384ef){var _0x1fdc1d=_0x35f3;return(function(){var _0x278f52=_0x35f3,_0x2b24fa=_0x4384ef,_0x37b15a=_0x2b24fa[_0x278f52(0x13a)],_0x4f405f=_0x37b15a[_0x278f52(0x2e1)],_0xfef9e7=_0x2b24fa['enc'];_0xfef9e7[_0x278f52(0x1fb)]={'stringify':function(_0x4525f9){var _0x47936e=_0x278f52,_0x211b18=_0x4525f9[_0x47936e(0x142)],_0x1007b2=_0x4525f9['sigBytes'],_0x3fb913=this[_0x47936e(0x2ad)];_0x4525f9['clamp']();for(var _0x131e4e=[],_0x9bdb09=0x0;_0x9bdb09<_0x1007b2;_0x9bdb09+=0x3)for(var _0x433c69=_0x211b18[_0x9bdb09>>>0x2]>>>0x18-_0x9bdb09%0x4*0x8&0xff,_0x3f58d6=_0x211b18[_0x9bdb09+0x1>>>0x2]>>>0x18-(_0x9bdb09+0x1)%0x4*0x8&0xff,_0x433aea=_0x211b18[_0x9bdb09+0x2>>>0x2]>>>0x18-(_0x9bdb09+0x2)%0x4*0x8&0xff,_0x1c0527=_0x433c69<<0x10|_0x3f58d6<<0x8|_0x433aea,_0x5ba494=0x0;_0x5ba494<0x4&&_0x9bdb09+_0x5ba494*0.75<_0x1007b2;_0x5ba494++)_0x131e4e[_0x47936e(0x36f)](_0x3fb913['charAt'](_0x1c0527>>>0x6*(0x3-_0x5ba494)&0x3f));var _0x1d1854=_0x3fb913[_0x47936e(0x12d)](0x40);if(_0x1d1854){for(;_0x131e4e[_0x47936e(0x1ae)]%0x4;)_0x131e4e[_0x47936e(0x36f)](_0x1d1854);}return _0x131e4e[_0x47936e(0x1f4)]('');},'parse':function(_0x20c207){var _0x36eee7=_0x278f52,_0x250967=_0x20c207[_0x36eee7(0x1ae)],_0x2ceafe=this[_0x36eee7(0x2ad)],_0xba6b07=this[_0x36eee7(0x1d0)];if(!_0xba6b07){_0xba6b07=this[_0x36eee7(0x1d0)]=[];for(var _0x40c992=0x0;_0x40c992<_0x2ceafe[_0x36eee7(0x1ae)];_0x40c992++)_0xba6b07[_0x2ceafe[_0x36eee7(0x1a0)](_0x40c992)]=_0x40c992;}var _0x53e358=_0x2ceafe[_0x36eee7(0x12d)](0x40);if(_0x53e358){var _0x206d8a=_0x20c207[_0x36eee7(0x265)](_0x53e358);_0x206d8a!==-0x1&&(_0x250967=_0x206d8a);}return _0x2c53f2(_0x20c207,_0x250967,_0xba6b07);},'_map':_0x278f52(0x2e7)};function _0x2c53f2(_0x432f5f,_0x5b1aee,_0xede628){var _0x121860=_0x278f52;for(var _0x224d39=[],_0x379c35=0x0,_0x596c19=0x0;_0x596c19<_0x5b1aee;_0x596c19++)if(_0x596c19%0x4){var _0x37abc4=_0xede628[_0x432f5f[_0x121860(0x1a0)](_0x596c19-0x1)]<<_0x596c19%0x4*0x2,_0x588a56=_0xede628[_0x432f5f[_0x121860(0x1a0)](_0x596c19)]>>>0x6-_0x596c19%0x4*0x2,_0x402136=_0x37abc4|_0x588a56;_0x224d39[_0x379c35>>>0x2]|=_0x402136<<0x18-_0x379c35%0x4*0x8,_0x379c35++;}return _0x4f405f[_0x121860(0x22c)](_0x224d39,_0x379c35);}}()),_0x4384ef['enc'][_0x1fdc1d(0x1fb)];}));}(Ke)),Ke[_0x41a65f(0x219)];}var ze={'exports':{}},Gs=ze['exports'],ii;function Ks(){var _0x237365=_0x18e851;return ii||(ii=0x1,function(_0x3c1fd9,_0x45e62b){(function(_0x23d40c,_0x4d8bbc){var _0x442bee=_0x35f3;_0x3c1fd9[_0x442bee(0x219)]=_0x4d8bbc(ne());}(Gs,function(_0x139a85){var _0xc82cea=_0x35f3;return function(_0x36124e){var _0x4ec934=_0x35f3,_0x564196=_0x139a85,_0x1129de=_0x564196['lib'],_0x3f0b09=_0x1129de[_0x4ec934(0x2e1)],_0x5d4796=_0x1129de['Hasher'],_0x19235f=_0x564196[_0x4ec934(0xf5)],_0x2c58c1=[];(function(){var _0x5e606e=_0x4ec934;for(var _0x2c8182=0x0;_0x2c8182<0x40;_0x2c8182++)_0x2c58c1[_0x2c8182]=_0x36124e['abs'](_0x36124e[_0x5e606e(0x39e)](_0x2c8182+0x1))*0x100000000|0x0;}());var _0x2ea7ea=_0x19235f[_0x4ec934(0x3f1)]=_0x5d4796['extend']({'_doReset':function(){var _0x1446ba=_0x4ec934;this[_0x1446ba(0x2af)]=new _0x3f0b09['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1dc6b9,_0x3fd8d){var _0x2a0689=_0x4ec934;for(var _0x2d230c=0x0;_0x2d230c<0x10;_0x2d230c++){var _0x18db5d=_0x3fd8d+_0x2d230c,_0x53f9fe=_0x1dc6b9[_0x18db5d];_0x1dc6b9[_0x18db5d]=(_0x53f9fe<<0x8|_0x53f9fe>>>0x18)&0xff00ff|(_0x53f9fe<<0x18|_0x53f9fe>>>0x8)&0xff00ff00;}var _0x424502=this['_hash'][_0x2a0689(0x142)],_0x2f986a=_0x1dc6b9[_0x3fd8d+0x0],_0x22452c=_0x1dc6b9[_0x3fd8d+0x1],_0xeb1952=_0x1dc6b9[_0x3fd8d+0x2],_0x2d0985=_0x1dc6b9[_0x3fd8d+0x3],_0x3de6aa=_0x1dc6b9[_0x3fd8d+0x4],_0x2dfffa=_0x1dc6b9[_0x3fd8d+0x5],_0x53edd9=_0x1dc6b9[_0x3fd8d+0x6],_0x21ee66=_0x1dc6b9[_0x3fd8d+0x7],_0x8f5289=_0x1dc6b9[_0x3fd8d+0x8],_0x1e462c=_0x1dc6b9[_0x3fd8d+0x9],_0x48ea90=_0x1dc6b9[_0x3fd8d+0xa],_0x381a2e=_0x1dc6b9[_0x3fd8d+0xb],_0xd19c93=_0x1dc6b9[_0x3fd8d+0xc],_0x93af2c=_0x1dc6b9[_0x3fd8d+0xd],_0x125f40=_0x1dc6b9[_0x3fd8d+0xe],_0x47c786=_0x1dc6b9[_0x3fd8d+0xf],_0x1c3d10=_0x424502[0x0],_0x358ee9=_0x424502[0x1],_0xf675e5=_0x424502[0x2],_0x1b854a=_0x424502[0x3];_0x1c3d10=_0x2b4f93(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x2f986a,0x7,_0x2c58c1[0x0]),_0x1b854a=_0x2b4f93(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x22452c,0xc,_0x2c58c1[0x1]),_0xf675e5=_0x2b4f93(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0xeb1952,0x11,_0x2c58c1[0x2]),_0x358ee9=_0x2b4f93(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x2d0985,0x16,_0x2c58c1[0x3]),_0x1c3d10=_0x2b4f93(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x3de6aa,0x7,_0x2c58c1[0x4]),_0x1b854a=_0x2b4f93(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x2dfffa,0xc,_0x2c58c1[0x5]),_0xf675e5=_0x2b4f93(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x53edd9,0x11,_0x2c58c1[0x6]),_0x358ee9=_0x2b4f93(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x21ee66,0x16,_0x2c58c1[0x7]),_0x1c3d10=_0x2b4f93(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x8f5289,0x7,_0x2c58c1[0x8]),_0x1b854a=_0x2b4f93(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x1e462c,0xc,_0x2c58c1[0x9]),_0xf675e5=_0x2b4f93(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x48ea90,0x11,_0x2c58c1[0xa]),_0x358ee9=_0x2b4f93(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x381a2e,0x16,_0x2c58c1[0xb]),_0x1c3d10=_0x2b4f93(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0xd19c93,0x7,_0x2c58c1[0xc]),_0x1b854a=_0x2b4f93(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x93af2c,0xc,_0x2c58c1[0xd]),_0xf675e5=_0x2b4f93(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x125f40,0x11,_0x2c58c1[0xe]),_0x358ee9=_0x2b4f93(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x47c786,0x16,_0x2c58c1[0xf]),_0x1c3d10=_0x1d2738(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x22452c,0x5,_0x2c58c1[0x10]),_0x1b854a=_0x1d2738(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x53edd9,0x9,_0x2c58c1[0x11]),_0xf675e5=_0x1d2738(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x381a2e,0xe,_0x2c58c1[0x12]),_0x358ee9=_0x1d2738(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x2f986a,0x14,_0x2c58c1[0x13]),_0x1c3d10=_0x1d2738(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x2dfffa,0x5,_0x2c58c1[0x14]),_0x1b854a=_0x1d2738(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x48ea90,0x9,_0x2c58c1[0x15]),_0xf675e5=_0x1d2738(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x47c786,0xe,_0x2c58c1[0x16]),_0x358ee9=_0x1d2738(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x3de6aa,0x14,_0x2c58c1[0x17]),_0x1c3d10=_0x1d2738(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x1e462c,0x5,_0x2c58c1[0x18]),_0x1b854a=_0x1d2738(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x125f40,0x9,_0x2c58c1[0x19]),_0xf675e5=_0x1d2738(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x2d0985,0xe,_0x2c58c1[0x1a]),_0x358ee9=_0x1d2738(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x8f5289,0x14,_0x2c58c1[0x1b]),_0x1c3d10=_0x1d2738(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x93af2c,0x5,_0x2c58c1[0x1c]),_0x1b854a=_0x1d2738(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0xeb1952,0x9,_0x2c58c1[0x1d]),_0xf675e5=_0x1d2738(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x21ee66,0xe,_0x2c58c1[0x1e]),_0x358ee9=_0x1d2738(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0xd19c93,0x14,_0x2c58c1[0x1f]),_0x1c3d10=_0x58b2a1(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x2dfffa,0x4,_0x2c58c1[0x20]),_0x1b854a=_0x58b2a1(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x8f5289,0xb,_0x2c58c1[0x21]),_0xf675e5=_0x58b2a1(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x381a2e,0x10,_0x2c58c1[0x22]),_0x358ee9=_0x58b2a1(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x125f40,0x17,_0x2c58c1[0x23]),_0x1c3d10=_0x58b2a1(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x22452c,0x4,_0x2c58c1[0x24]),_0x1b854a=_0x58b2a1(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x3de6aa,0xb,_0x2c58c1[0x25]),_0xf675e5=_0x58b2a1(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x21ee66,0x10,_0x2c58c1[0x26]),_0x358ee9=_0x58b2a1(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x48ea90,0x17,_0x2c58c1[0x27]),_0x1c3d10=_0x58b2a1(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x93af2c,0x4,_0x2c58c1[0x28]),_0x1b854a=_0x58b2a1(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x2f986a,0xb,_0x2c58c1[0x29]),_0xf675e5=_0x58b2a1(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x2d0985,0x10,_0x2c58c1[0x2a]),_0x358ee9=_0x58b2a1(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x53edd9,0x17,_0x2c58c1[0x2b]),_0x1c3d10=_0x58b2a1(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x1e462c,0x4,_0x2c58c1[0x2c]),_0x1b854a=_0x58b2a1(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0xd19c93,0xb,_0x2c58c1[0x2d]),_0xf675e5=_0x58b2a1(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x47c786,0x10,_0x2c58c1[0x2e]),_0x358ee9=_0x58b2a1(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0xeb1952,0x17,_0x2c58c1[0x2f]),_0x1c3d10=_0x37c386(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x2f986a,0x6,_0x2c58c1[0x30]),_0x1b854a=_0x37c386(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x21ee66,0xa,_0x2c58c1[0x31]),_0xf675e5=_0x37c386(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x125f40,0xf,_0x2c58c1[0x32]),_0x358ee9=_0x37c386(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x2dfffa,0x15,_0x2c58c1[0x33]),_0x1c3d10=_0x37c386(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0xd19c93,0x6,_0x2c58c1[0x34]),_0x1b854a=_0x37c386(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x2d0985,0xa,_0x2c58c1[0x35]),_0xf675e5=_0x37c386(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x48ea90,0xf,_0x2c58c1[0x36]),_0x358ee9=_0x37c386(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x22452c,0x15,_0x2c58c1[0x37]),_0x1c3d10=_0x37c386(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x8f5289,0x6,_0x2c58c1[0x38]),_0x1b854a=_0x37c386(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x47c786,0xa,_0x2c58c1[0x39]),_0xf675e5=_0x37c386(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0x53edd9,0xf,_0x2c58c1[0x3a]),_0x358ee9=_0x37c386(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x93af2c,0x15,_0x2c58c1[0x3b]),_0x1c3d10=_0x37c386(_0x1c3d10,_0x358ee9,_0xf675e5,_0x1b854a,_0x3de6aa,0x6,_0x2c58c1[0x3c]),_0x1b854a=_0x37c386(_0x1b854a,_0x1c3d10,_0x358ee9,_0xf675e5,_0x381a2e,0xa,_0x2c58c1[0x3d]),_0xf675e5=_0x37c386(_0xf675e5,_0x1b854a,_0x1c3d10,_0x358ee9,_0xeb1952,0xf,_0x2c58c1[0x3e]),_0x358ee9=_0x37c386(_0x358ee9,_0xf675e5,_0x1b854a,_0x1c3d10,_0x1e462c,0x15,_0x2c58c1[0x3f]),_0x424502[0x0]=_0x424502[0x0]+_0x1c3d10|0x0,_0x424502[0x1]=_0x424502[0x1]+_0x358ee9|0x0,_0x424502[0x2]=_0x424502[0x2]+_0xf675e5|0x0,_0x424502[0x3]=_0x424502[0x3]+_0x1b854a|0x0;},'_doFinalize':function(){var _0x2ae621=_0x4ec934,_0x37dfe4=this[_0x2ae621(0x1b8)],_0x228792=_0x37dfe4[_0x2ae621(0x142)],_0x40df86=this[_0x2ae621(0x336)]*0x8,_0x5ec92f=_0x37dfe4['sigBytes']*0x8;_0x228792[_0x5ec92f>>>0x5]|=0x80<<0x18-_0x5ec92f%0x20;var _0x59acf7=_0x36124e[_0x2ae621(0x154)](_0x40df86/0x100000000),_0x1df927=_0x40df86;_0x228792[(_0x5ec92f+0x40>>>0x9<<0x4)+0xf]=(_0x59acf7<<0x8|_0x59acf7>>>0x18)&0xff00ff|(_0x59acf7<<0x18|_0x59acf7>>>0x8)&0xff00ff00,_0x228792[(_0x5ec92f+0x40>>>0x9<<0x4)+0xe]=(_0x1df927<<0x8|_0x1df927>>>0x18)&0xff00ff|(_0x1df927<<0x18|_0x1df927>>>0x8)&0xff00ff00,_0x37dfe4[_0x2ae621(0x1c9)]=(_0x228792[_0x2ae621(0x1ae)]+0x1)*0x4,this[_0x2ae621(0x105)]();for(var _0x299ba6=this[_0x2ae621(0x2af)],_0x1337eb=_0x299ba6['words'],_0x23de5d=0x0;_0x23de5d<0x4;_0x23de5d++){var _0x2024c9=_0x1337eb[_0x23de5d];_0x1337eb[_0x23de5d]=(_0x2024c9<<0x8|_0x2024c9>>>0x18)&0xff00ff|(_0x2024c9<<0x18|_0x2024c9>>>0x8)&0xff00ff00;}return _0x299ba6;},'clone':function(){var _0xc75129=_0x4ec934,_0x26e036=_0x5d4796['clone'][_0xc75129(0x383)](this);return _0x26e036[_0xc75129(0x2af)]=this[_0xc75129(0x2af)]['clone'](),_0x26e036;}});function _0x2b4f93(_0x10fc65,_0x5baf28,_0x201dae,_0x69f022,_0x169c2e,_0x5a8215,_0xd73ace){var _0x5d93a8=_0x10fc65+(_0x5baf28&_0x201dae|~_0x5baf28&_0x69f022)+_0x169c2e+_0xd73ace;return(_0x5d93a8<<_0x5a8215|_0x5d93a8>>>0x20-_0x5a8215)+_0x5baf28;}function _0x1d2738(_0x10ebb1,_0x9020ea,_0x33c595,_0x48d489,_0x3dbc42,_0x91bbfa,_0x3ef43d){var _0x2127ea=_0x10ebb1+(_0x9020ea&_0x48d489|_0x33c595&~_0x48d489)+_0x3dbc42+_0x3ef43d;return(_0x2127ea<<_0x91bbfa|_0x2127ea>>>0x20-_0x91bbfa)+_0x9020ea;}function _0x58b2a1(_0x3788ee,_0x36a3ba,_0x89ba4e,_0x446c20,_0x5dd7e5,_0xd7c643,_0x348008){var _0x44e6d0=_0x3788ee+(_0x36a3ba^_0x89ba4e^_0x446c20)+_0x5dd7e5+_0x348008;return(_0x44e6d0<<_0xd7c643|_0x44e6d0>>>0x20-_0xd7c643)+_0x36a3ba;}function _0x37c386(_0x2c4a54,_0x49eaac,_0xefe52b,_0x4703a8,_0x27b805,_0xa09c08,_0x3381a2){var _0x3c0d6e=_0x2c4a54+(_0xefe52b^(_0x49eaac|~_0x4703a8))+_0x27b805+_0x3381a2;return(_0x3c0d6e<<_0xa09c08|_0x3c0d6e>>>0x20-_0xa09c08)+_0x49eaac;}_0x564196[_0x4ec934(0x3f1)]=_0x5d4796[_0x4ec934(0x16d)](_0x2ea7ea),_0x564196[_0x4ec934(0x2f1)]=_0x5d4796['_createHmacHelper'](_0x2ea7ea);}(Math),_0x139a85[_0xc82cea(0x3f1)];}));}(ze)),ze[_0x237365(0x219)];}var Ye={'exports':{}},qe={'exports':{}},zs=qe[_0x18e851(0x219)],ni;function Ys(){var _0x273ead=_0x18e851;return ni||(ni=0x1,function(_0x51f5e8,_0x284d10){(function(_0xdbbe3f,_0x5811f0){_0x51f5e8['exports']=_0x5811f0(ne());}(zs,function(_0xc2446a){return(function(){var _0x453094=_0x35f3,_0x407b53=_0xc2446a,_0x4a6caa=_0x407b53[_0x453094(0x13a)],_0x103ae7=_0x4a6caa[_0x453094(0x2e1)],_0x5487d3=_0x4a6caa[_0x453094(0x3ba)],_0x2a3383=_0x407b53[_0x453094(0xf5)],_0x10565f=[],_0x10420a=_0x2a3383[_0x453094(0x244)]=_0x5487d3[_0x453094(0x3cf)]({'_doReset':function(){this['_hash']=new _0x103ae7['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x31362f,_0x5ee2b3){var _0x82b64d=_0x453094;for(var _0x30ffe0=this['_hash'][_0x82b64d(0x142)],_0x185678=_0x30ffe0[0x0],_0x2947a5=_0x30ffe0[0x1],_0x29968b=_0x30ffe0[0x2],_0x17035a=_0x30ffe0[0x3],_0x13a2bc=_0x30ffe0[0x4],_0x3bcd66=0x0;_0x3bcd66<0x50;_0x3bcd66++){if(_0x3bcd66<0x10)_0x10565f[_0x3bcd66]=_0x31362f[_0x5ee2b3+_0x3bcd66]|0x0;else{var _0x338a46=_0x10565f[_0x3bcd66-0x3]^_0x10565f[_0x3bcd66-0x8]^_0x10565f[_0x3bcd66-0xe]^_0x10565f[_0x3bcd66-0x10];_0x10565f[_0x3bcd66]=_0x338a46<<0x1|_0x338a46>>>0x1f;}var _0x55c806=(_0x185678<<0x5|_0x185678>>>0x1b)+_0x13a2bc+_0x10565f[_0x3bcd66];_0x3bcd66<0x14?_0x55c806+=(_0x2947a5&_0x29968b|~_0x2947a5&_0x17035a)+0x5a827999:_0x3bcd66<0x28?_0x55c806+=(_0x2947a5^_0x29968b^_0x17035a)+0x6ed9eba1:_0x3bcd66<0x3c?_0x55c806+=(_0x2947a5&_0x29968b|_0x2947a5&_0x17035a|_0x29968b&_0x17035a)-0x70e44324:_0x55c806+=(_0x2947a5^_0x29968b^_0x17035a)-0x359d3e2a,_0x13a2bc=_0x17035a,_0x17035a=_0x29968b,_0x29968b=_0x2947a5<<0x1e|_0x2947a5>>>0x2,_0x2947a5=_0x185678,_0x185678=_0x55c806;}_0x30ffe0[0x0]=_0x30ffe0[0x0]+_0x185678|0x0,_0x30ffe0[0x1]=_0x30ffe0[0x1]+_0x2947a5|0x0,_0x30ffe0[0x2]=_0x30ffe0[0x2]+_0x29968b|0x0,_0x30ffe0[0x3]=_0x30ffe0[0x3]+_0x17035a|0x0,_0x30ffe0[0x4]=_0x30ffe0[0x4]+_0x13a2bc|0x0;},'_doFinalize':function(){var _0x192eff=_0x453094,_0x21995c=this[_0x192eff(0x1b8)],_0x251f6f=_0x21995c[_0x192eff(0x142)],_0x395ac0=this[_0x192eff(0x336)]*0x8,_0x4b7c75=_0x21995c[_0x192eff(0x1c9)]*0x8;return _0x251f6f[_0x4b7c75>>>0x5]|=0x80<<0x18-_0x4b7c75%0x20,_0x251f6f[(_0x4b7c75+0x40>>>0x9<<0x4)+0xe]=Math[_0x192eff(0x154)](_0x395ac0/0x100000000),_0x251f6f[(_0x4b7c75+0x40>>>0x9<<0x4)+0xf]=_0x395ac0,_0x21995c[_0x192eff(0x1c9)]=_0x251f6f[_0x192eff(0x1ae)]*0x4,this[_0x192eff(0x105)](),this[_0x192eff(0x2af)];},'clone':function(){var _0x3405de=_0x453094,_0x288fe7=_0x5487d3['clone'][_0x3405de(0x383)](this);return _0x288fe7[_0x3405de(0x2af)]=this['_hash'][_0x3405de(0x3e4)](),_0x288fe7;}});_0x407b53[_0x453094(0x244)]=_0x5487d3['_createHelper'](_0x10420a),_0x407b53[_0x453094(0x200)]=_0x5487d3['_createHmacHelper'](_0x10420a);}()),_0xc2446a['SHA1'];}));}(qe)),qe[_0x273ead(0x219)];}var Je={'exports':{}},qs=Je[_0x18e851(0x219)],si;function Js(){return si||(si=0x1,function(_0x361760,_0x519fcd){(function(_0x5e263c,_0x25ea90){var _0x3ec4e6=_0x35f3;_0x361760[_0x3ec4e6(0x219)]=_0x25ea90(ne());}(qs,function(_0x42e1f5){(function(){var _0x1e3c2a=_0x35f3,_0x3661ce=_0x42e1f5,_0xc6d699=_0x3661ce['lib'],_0x12e3e9=_0xc6d699['Base'],_0x249680=_0x3661ce[_0x1e3c2a(0x17a)],_0x5116e3=_0x249680[_0x1e3c2a(0x298)],_0x557833=_0x3661ce[_0x1e3c2a(0xf5)];_0x557833[_0x1e3c2a(0x174)]=_0x12e3e9[_0x1e3c2a(0x3cf)]({'init':function(_0x334c5d,_0x421861){var _0xa01708=_0x1e3c2a;_0x334c5d=this[_0xa01708(0x32c)]=new _0x334c5d[(_0xa01708(0x172))](),typeof _0x421861==_0xa01708(0x3f2)&&(_0x421861=_0x5116e3[_0xa01708(0x36c)](_0x421861));var _0x9b5e97=_0x334c5d[_0xa01708(0x10e)],_0x4306e6=_0x9b5e97*0x4;_0x421861[_0xa01708(0x1c9)]>_0x4306e6&&(_0x421861=_0x334c5d[_0xa01708(0x201)](_0x421861)),_0x421861[_0xa01708(0x2aa)]();for(var _0x318543=this[_0xa01708(0x28e)]=_0x421861['clone'](),_0x1ffb91=this[_0xa01708(0xf0)]=_0x421861['clone'](),_0x52673f=_0x318543[_0xa01708(0x142)],_0x2c281d=_0x1ffb91[_0xa01708(0x142)],_0x23b80c=0x0;_0x23b80c<_0x9b5e97;_0x23b80c++)_0x52673f[_0x23b80c]^=0x5c5c5c5c,_0x2c281d[_0x23b80c]^=0x36363636;_0x318543['sigBytes']=_0x1ffb91[_0xa01708(0x1c9)]=_0x4306e6,this[_0xa01708(0x2ce)]();},'reset':function(){var _0x3e7aa0=_0x1e3c2a,_0x51642f=this[_0x3e7aa0(0x32c)];_0x51642f[_0x3e7aa0(0x2ce)](),_0x51642f[_0x3e7aa0(0x16c)](this[_0x3e7aa0(0xf0)]);},'update':function(_0x2b7d27){var _0x35b9f9=_0x1e3c2a;return this[_0x35b9f9(0x32c)][_0x35b9f9(0x16c)](_0x2b7d27),this;},'finalize':function(_0x382c50){var _0x5c3c7a=_0x1e3c2a,_0x274d4f=this[_0x5c3c7a(0x32c)],_0x3aa731=_0x274d4f[_0x5c3c7a(0x201)](_0x382c50);_0x274d4f[_0x5c3c7a(0x2ce)]();var _0x1ae591=_0x274d4f[_0x5c3c7a(0x201)](this[_0x5c3c7a(0x28e)][_0x5c3c7a(0x3e4)]()[_0x5c3c7a(0x1d7)](_0x3aa731));return _0x1ae591;}});}());}));}(Je)),Je['exports'];}var Xs=Ye[_0x18e851(0x219)],ri;function xi(){var _0x57695e=_0x18e851;return ri||(ri=0x1,function(_0x4473b6,_0x211f4e){(function(_0x558306,_0x52c2ac,_0x538fcc){var _0x13edd4=_0x35f3;_0x4473b6[_0x13edd4(0x219)]=_0x52c2ac(ne(),Ys(),Js());}(Xs,function(_0x1fe9bf){var _0x86fd54=_0x35f3;return(function(){var _0x45926b=_0x35f3,_0x263e38=_0x1fe9bf,_0x52fb89=_0x263e38[_0x45926b(0x13a)],_0x5e4ffd=_0x52fb89['Base'],_0x4b302b=_0x52fb89[_0x45926b(0x2e1)],_0x390ed8=_0x263e38[_0x45926b(0xf5)],_0x46ab06=_0x390ed8[_0x45926b(0x3f1)],_0x3019dd=_0x390ed8['EvpKDF']=_0x5e4ffd[_0x45926b(0x3cf)]({'cfg':_0x5e4ffd[_0x45926b(0x3cf)]({'keySize':0x80/0x20,'hasher':_0x46ab06,'iterations':0x1}),'init':function(_0x12b68e){var _0x477267=_0x45926b;this[_0x477267(0x267)]=this[_0x477267(0x267)][_0x477267(0x3cf)](_0x12b68e);},'compute':function(_0x554cc2,_0x3a7434){var _0x488777=_0x45926b;for(var _0x4d935b,_0xdac694=this[_0x488777(0x267)],_0x578ee5=_0xdac694[_0x488777(0x162)][_0x488777(0x22c)](),_0x41e74d=_0x4b302b[_0x488777(0x22c)](),_0x1a4f93=_0x41e74d[_0x488777(0x142)],_0x344a57=_0xdac694['keySize'],_0x260ce7=_0xdac694['iterations'];_0x1a4f93[_0x488777(0x1ae)]<_0x344a57;){_0x4d935b&&_0x578ee5['update'](_0x4d935b),_0x4d935b=_0x578ee5[_0x488777(0x16c)](_0x554cc2)[_0x488777(0x201)](_0x3a7434),_0x578ee5['reset']();for(var _0x379352=0x1;_0x379352<_0x260ce7;_0x379352++)_0x4d935b=_0x578ee5[_0x488777(0x201)](_0x4d935b),_0x578ee5[_0x488777(0x2ce)]();_0x41e74d['concat'](_0x4d935b);}return _0x41e74d[_0x488777(0x1c9)]=_0x344a57*0x4,_0x41e74d;}});_0x263e38[_0x45926b(0xf4)]=function(_0x29e9d8,_0x2e24f7,_0x3ab657){var _0xc86006=_0x45926b;return _0x3019dd[_0xc86006(0x22c)](_0x3ab657)[_0xc86006(0x194)](_0x29e9d8,_0x2e24f7);};}()),_0x1fe9bf[_0x86fd54(0xf4)];}));}(Ye)),Ye[_0x57695e(0x219)];}var Xe={'exports':{}},Zs=Xe[_0x18e851(0x219)],oi;function Li(){var _0x5d5a8b=_0x18e851;return oi||(oi=0x1,function(_0x1c6554,_0x1c360b){(function(_0x361e81,_0x4a990e,_0x782e05){_0x1c6554['exports']=_0x4a990e(ne(),xi());}(Zs,function(_0x3a0f74){var _0x18c572=_0x35f3;_0x3a0f74[_0x18c572(0x13a)][_0x18c572(0x210)]||function(_0x3a108b){var _0x2dc093=_0x18c572,_0x1aa618=_0x3a0f74,_0x25146d=_0x1aa618[_0x2dc093(0x13a)],_0x5280bd=_0x25146d['Base'],_0x133b34=_0x25146d[_0x2dc093(0x2e1)],_0x3a4201=_0x25146d['BufferedBlockAlgorithm'],_0x37f247=_0x1aa618['enc'];_0x37f247['Utf8'];var _0x1f35bc=_0x37f247['Base64'],_0x506305=_0x1aa618[_0x2dc093(0xf5)],_0x49ea07=_0x506305[_0x2dc093(0xf4)],_0x537809=_0x25146d[_0x2dc093(0x210)]=_0x3a4201[_0x2dc093(0x3cf)]({'cfg':_0x5280bd['extend'](),'createEncryptor':function(_0x2bda0c,_0x51a50e){var _0x277603=_0x2dc093;return this[_0x277603(0x22c)](this[_0x277603(0x248)],_0x2bda0c,_0x51a50e);},'createDecryptor':function(_0x20f6b1,_0x236916){var _0x18f942=_0x2dc093;return this[_0x18f942(0x22c)](this[_0x18f942(0x16e)],_0x20f6b1,_0x236916);},'init':function(_0xa92deb,_0x59e6a3,_0x24ea98){var _0x75a3f5=_0x2dc093;this[_0x75a3f5(0x267)]=this[_0x75a3f5(0x267)][_0x75a3f5(0x3cf)](_0x24ea98),this[_0x75a3f5(0x18a)]=_0xa92deb,this['_key']=_0x59e6a3,this[_0x75a3f5(0x2ce)]();},'reset':function(){var _0x47109f=_0x2dc093;_0x3a4201[_0x47109f(0x2ce)][_0x47109f(0x383)](this),this[_0x47109f(0x1c7)]();},'process':function(_0x3fbc83){var _0x2dda88=_0x2dc093;return this['_append'](_0x3fbc83),this[_0x2dda88(0x105)]();},'finalize':function(_0x3ce5a5){var _0x58f50b=_0x2dc093;_0x3ce5a5&&this[_0x58f50b(0x33b)](_0x3ce5a5);var _0x294f92=this[_0x58f50b(0x180)]();return _0x294f92;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1f375a(_0x194cbd){var _0x111f5c=_0x35f3;return typeof _0x194cbd==_0x111f5c(0x3f2)?_0x57fc9a:_0x124f39;}return function(_0x274867){return{'encrypt':function(_0x2cb9a5,_0x1cd3e3,_0x1bdcb5){var _0x3ac79f=_0x35f3;return _0x1f375a(_0x1cd3e3)[_0x3ac79f(0x3ec)](_0x274867,_0x2cb9a5,_0x1cd3e3,_0x1bdcb5);},'decrypt':function(_0x3a9307,_0xe70787,_0x4d6951){var _0x21bd3f=_0x35f3;return _0x1f375a(_0xe70787)[_0x21bd3f(0x334)](_0x274867,_0x3a9307,_0xe70787,_0x4d6951);}};};}())});_0x25146d['StreamCipher']=_0x537809[_0x2dc093(0x3cf)]({'_doFinalize':function(){var _0x2dd193=_0x2dc093,_0x5c8ae3=this[_0x2dd193(0x105)](!0x0);return _0x5c8ae3;},'blockSize':0x1});var _0x573a57=_0x1aa618[_0x2dc093(0xf3)]={},_0x58d33b=_0x25146d[_0x2dc093(0x161)]=_0x5280bd[_0x2dc093(0x3cf)]({'createEncryptor':function(_0x25da89,_0x4f4eab){var _0x304f11=_0x2dc093;return this[_0x304f11(0x140)]['create'](_0x25da89,_0x4f4eab);},'createDecryptor':function(_0x5c1116,_0x13fc4f){var _0x411037=_0x2dc093;return this[_0x411037(0x128)][_0x411037(0x22c)](_0x5c1116,_0x13fc4f);},'init':function(_0x12545f,_0x1b0e26){var _0x5b93d0=_0x2dc093;this[_0x5b93d0(0x333)]=_0x12545f,this['_iv']=_0x1b0e26;}}),_0x27dae5=_0x573a57[_0x2dc093(0x238)]=(function(){var _0x373daf=_0x2dc093,_0x1c9a3c=_0x58d33b[_0x373daf(0x3cf)]();_0x1c9a3c[_0x373daf(0x140)]=_0x1c9a3c[_0x373daf(0x3cf)]({'processBlock':function(_0x582d74,_0x244968){var _0x4dcfab=_0x373daf,_0x2b62ad=this['_cipher'],_0xd9bcac=_0x2b62ad[_0x4dcfab(0x10e)];_0x4f5f60[_0x4dcfab(0x383)](this,_0x582d74,_0x244968,_0xd9bcac),_0x2b62ad[_0x4dcfab(0x1f6)](_0x582d74,_0x244968),this[_0x4dcfab(0x2b0)]=_0x582d74[_0x4dcfab(0x14a)](_0x244968,_0x244968+_0xd9bcac);}}),_0x1c9a3c[_0x373daf(0x128)]=_0x1c9a3c[_0x373daf(0x3cf)]({'processBlock':function(_0x4b91a3,_0x2f4055){var _0x15e9d7=_0x373daf,_0x54a0b0=this['_cipher'],_0x55d6fb=_0x54a0b0[_0x15e9d7(0x10e)],_0x2d8acd=_0x4b91a3[_0x15e9d7(0x14a)](_0x2f4055,_0x2f4055+_0x55d6fb);_0x54a0b0[_0x15e9d7(0x290)](_0x4b91a3,_0x2f4055),_0x4f5f60[_0x15e9d7(0x383)](this,_0x4b91a3,_0x2f4055,_0x55d6fb),this[_0x15e9d7(0x2b0)]=_0x2d8acd;}});function _0x4f5f60(_0x154eaa,_0x1b843a,_0x201bfc){var _0x3bce05=_0x373daf,_0x287cf3,_0x20122c=this[_0x3bce05(0x10a)];_0x20122c?(_0x287cf3=_0x20122c,this[_0x3bce05(0x10a)]=_0x3a108b):_0x287cf3=this[_0x3bce05(0x2b0)];for(var _0x407593=0x0;_0x407593<_0x201bfc;_0x407593++)_0x154eaa[_0x1b843a+_0x407593]^=_0x287cf3[_0x407593];}return _0x1c9a3c;}()),_0x219038=_0x1aa618[_0x2dc093(0x1ff)]={},_0x26dffc=_0x219038[_0x2dc093(0x27d)]={'pad':function(_0x2b6ce8,_0xf95d7c){var _0x1f72b2=_0x2dc093;for(var _0x1b2f81=_0xf95d7c*0x4,_0x39e9f1=_0x1b2f81-_0x2b6ce8[_0x1f72b2(0x1c9)]%_0x1b2f81,_0x43d23b=_0x39e9f1<<0x18|_0x39e9f1<<0x10|_0x39e9f1<<0x8|_0x39e9f1,_0x197f9d=[],_0xac2d2=0x0;_0xac2d2<_0x39e9f1;_0xac2d2+=0x4)_0x197f9d['push'](_0x43d23b);var _0x147f7c=_0x133b34['create'](_0x197f9d,_0x39e9f1);_0x2b6ce8[_0x1f72b2(0x1d7)](_0x147f7c);},'unpad':function(_0x4a2676){var _0x2a0e0e=_0x2dc093,_0x3c22e8=_0x4a2676['words'][_0x4a2676[_0x2a0e0e(0x1c9)]-0x1>>>0x2]&0xff;_0x4a2676['sigBytes']-=_0x3c22e8;}};_0x25146d['BlockCipher']=_0x537809[_0x2dc093(0x3cf)]({'cfg':_0x537809['cfg']['extend']({'mode':_0x27dae5,'padding':_0x26dffc}),'reset':function(){var _0x249205=_0x2dc093,_0x5309fb;_0x537809['reset']['call'](this);var _0x345938=this['cfg'],_0x1cb429=_0x345938['iv'],_0x5285fc=_0x345938[_0x249205(0xf3)];this[_0x249205(0x18a)]==this[_0x249205(0x248)]?_0x5309fb=_0x5285fc['createEncryptor']:(_0x5309fb=_0x5285fc[_0x249205(0x3b2)],this[_0x249205(0x1cd)]=0x1),this[_0x249205(0x3c7)]&&this[_0x249205(0x3c7)][_0x249205(0x196)]==_0x5309fb?this[_0x249205(0x3c7)]['init'](this,_0x1cb429&&_0x1cb429[_0x249205(0x142)]):(this[_0x249205(0x3c7)]=_0x5309fb['call'](_0x5285fc,this,_0x1cb429&&_0x1cb429['words']),this['_mode'][_0x249205(0x196)]=_0x5309fb);},'_doProcessBlock':function(_0x556e11,_0x11933b){var _0x47cacd=_0x2dc093;this[_0x47cacd(0x3c7)][_0x47cacd(0x3c3)](_0x556e11,_0x11933b);},'_doFinalize':function(){var _0x19c4e2=_0x2dc093,_0x1be70f,_0x3d3cce=this[_0x19c4e2(0x267)]['padding'];return this['_xformMode']==this[_0x19c4e2(0x248)]?(_0x3d3cce[_0x19c4e2(0x1ff)](this['_data'],this[_0x19c4e2(0x10e)]),_0x1be70f=this[_0x19c4e2(0x105)](!0x0)):(_0x1be70f=this[_0x19c4e2(0x105)](!0x0),_0x3d3cce[_0x19c4e2(0x109)](_0x1be70f)),_0x1be70f;},'blockSize':0x80/0x20});var _0x1bff3f=_0x25146d[_0x2dc093(0x1b1)]=_0x5280bd[_0x2dc093(0x3cf)]({'init':function(_0x42bd5c){var _0x1abda2=_0x2dc093;this[_0x1abda2(0x38c)](_0x42bd5c);},'toString':function(_0x3eba50){var _0x4372a0=_0x2dc093;return(_0x3eba50||this[_0x4372a0(0xf1)])['stringify'](this);}}),_0x424189=_0x1aa618[_0x2dc093(0x1d1)]={},_0x68fec2=_0x424189[_0x2dc093(0x294)]={'stringify':function(_0x15242f){var _0x73e0d4=_0x2dc093,_0x1ab624,_0xb01596=_0x15242f[_0x73e0d4(0x1af)],_0x44d059=_0x15242f[_0x73e0d4(0xec)];return _0x44d059?_0x1ab624=_0x133b34[_0x73e0d4(0x22c)]([0x53616c74,0x65645f5f])[_0x73e0d4(0x1d7)](_0x44d059)[_0x73e0d4(0x1d7)](_0xb01596):_0x1ab624=_0xb01596,_0x1ab624[_0x73e0d4(0x1fc)](_0x1f35bc);},'parse':function(_0xac44be){var _0x38896a=_0x2dc093,_0x3603d,_0x58504c=_0x1f35bc[_0x38896a(0x36c)](_0xac44be),_0x3076f1=_0x58504c[_0x38896a(0x142)];return _0x3076f1[0x0]==0x53616c74&&_0x3076f1[0x1]==0x65645f5f&&(_0x3603d=_0x133b34['create'](_0x3076f1[_0x38896a(0x14a)](0x2,0x4)),_0x3076f1[_0x38896a(0x33a)](0x0,0x4),_0x58504c[_0x38896a(0x1c9)]-=0x10),_0x1bff3f[_0x38896a(0x22c)]({'ciphertext':_0x58504c,'salt':_0x3603d});}},_0x124f39=_0x25146d[_0x2dc093(0x3d3)]=_0x5280bd[_0x2dc093(0x3cf)]({'cfg':_0x5280bd[_0x2dc093(0x3cf)]({'format':_0x68fec2}),'encrypt':function(_0x57b72d,_0x19ad72,_0x5d00d7,_0x3737e3){var _0x49e2e8=_0x2dc093;_0x3737e3=this['cfg'][_0x49e2e8(0x3cf)](_0x3737e3);var _0x3b505d=_0x57b72d[_0x49e2e8(0x2fb)](_0x5d00d7,_0x3737e3),_0x4ded4d=_0x3b505d['finalize'](_0x19ad72),_0x4c45b6=_0x3b505d['cfg'];return _0x1bff3f['create']({'ciphertext':_0x4ded4d,'key':_0x5d00d7,'iv':_0x4c45b6['iv'],'algorithm':_0x57b72d,'mode':_0x4c45b6['mode'],'padding':_0x4c45b6['padding'],'blockSize':_0x57b72d[_0x49e2e8(0x10e)],'formatter':_0x3737e3[_0x49e2e8(0x1d1)]});},'decrypt':function(_0x1faf79,_0x7b0f0f,_0x47b6dd,_0x2673f8){var _0x574b71=_0x2dc093;_0x2673f8=this[_0x574b71(0x267)][_0x574b71(0x3cf)](_0x2673f8),_0x7b0f0f=this[_0x574b71(0x388)](_0x7b0f0f,_0x2673f8[_0x574b71(0x1d1)]);var _0xbfe47c=_0x1faf79['createDecryptor'](_0x47b6dd,_0x2673f8)[_0x574b71(0x201)](_0x7b0f0f[_0x574b71(0x1af)]);return _0xbfe47c;},'_parse':function(_0x3293bb,_0x204dd0){var _0x3bd481=_0x2dc093;return typeof _0x3293bb=='string'?_0x204dd0[_0x3bd481(0x36c)](_0x3293bb,this):_0x3293bb;}}),_0x1dea8b=_0x1aa618['kdf']={},_0x4ead48=_0x1dea8b['OpenSSL']={'execute':function(_0x2d58ce,_0x5c5ba9,_0x108456,_0x3702b2,_0x3ea189){var _0x58b850=_0x2dc093;if(_0x3702b2||(_0x3702b2=_0x133b34['random'](0x40/0x8)),_0x3ea189)var _0x260d88=_0x49ea07[_0x58b850(0x22c)]({'keySize':_0x5c5ba9+_0x108456,'hasher':_0x3ea189})[_0x58b850(0x194)](_0x2d58ce,_0x3702b2);else var _0x260d88=_0x49ea07['create']({'keySize':_0x5c5ba9+_0x108456})[_0x58b850(0x194)](_0x2d58ce,_0x3702b2);var _0x259fde=_0x133b34[_0x58b850(0x22c)](_0x260d88[_0x58b850(0x142)]['slice'](_0x5c5ba9),_0x108456*0x4);return _0x260d88[_0x58b850(0x1c9)]=_0x5c5ba9*0x4,_0x1bff3f[_0x58b850(0x22c)]({'key':_0x260d88,'iv':_0x259fde,'salt':_0x3702b2});}},_0x57fc9a=_0x25146d[_0x2dc093(0x2e6)]=_0x124f39[_0x2dc093(0x3cf)]({'cfg':_0x124f39[_0x2dc093(0x267)][_0x2dc093(0x3cf)]({'kdf':_0x4ead48}),'encrypt':function(_0x2454de,_0x3f267b,_0x549d22,_0x3a6668){var _0x35e8f2=_0x2dc093;_0x3a6668=this[_0x35e8f2(0x267)][_0x35e8f2(0x3cf)](_0x3a6668);var _0x57f15f=_0x3a6668[_0x35e8f2(0x1df)][_0x35e8f2(0x37f)](_0x549d22,_0x2454de['keySize'],_0x2454de[_0x35e8f2(0x305)],_0x3a6668[_0x35e8f2(0xec)],_0x3a6668[_0x35e8f2(0x162)]);_0x3a6668['iv']=_0x57f15f['iv'];var _0x26204f=_0x124f39[_0x35e8f2(0x3ec)]['call'](this,_0x2454de,_0x3f267b,_0x57f15f['key'],_0x3a6668);return _0x26204f[_0x35e8f2(0x38c)](_0x57f15f),_0x26204f;},'decrypt':function(_0x5145a4,_0x10bad2,_0x5ba03c,_0x5f474b){var _0x56c1a1=_0x2dc093;_0x5f474b=this[_0x56c1a1(0x267)][_0x56c1a1(0x3cf)](_0x5f474b),_0x10bad2=this['_parse'](_0x10bad2,_0x5f474b[_0x56c1a1(0x1d1)]);var _0x3f5a08=_0x5f474b['kdf'][_0x56c1a1(0x37f)](_0x5ba03c,_0x5145a4['keySize'],_0x5145a4[_0x56c1a1(0x305)],_0x10bad2['salt'],_0x5f474b['hasher']);_0x5f474b['iv']=_0x3f5a08['iv'];var _0x16ef0f=_0x124f39[_0x56c1a1(0x334)]['call'](this,_0x5145a4,_0x10bad2,_0x3f5a08[_0x56c1a1(0x3e0)],_0x5f474b);return _0x16ef0f;}});}();}));}(Xe)),Xe[_0x5d5a8b(0x219)];}var Qs=We[_0x18e851(0x219)],ai;function er(){var _0x2ad869=_0x18e851;return ai||(ai=0x1,function(_0x37d8e9,_0x4213e6){(function(_0x3381bd,_0x118684,_0x264296){var _0x2e5e42=_0x35f3;_0x37d8e9[_0x2e5e42(0x219)]=_0x118684(ne(),Ai(),Ks(),xi(),Li());}(Qs,function(_0x10bb86){var _0x410717=_0x35f3;return(function(){var _0x50d11a=_0x35f3,_0x24100e=_0x10bb86,_0x38ee4d=_0x24100e[_0x50d11a(0x13a)],_0x296b28=_0x38ee4d['BlockCipher'],_0x24f263=_0x24100e[_0x50d11a(0xf5)],_0x4e9144=[],_0x30bc7c=[],_0x2be045=[],_0x49fd2c=[],_0x248ff8=[],_0x5a053e=[],_0x1f7f28=[],_0x39c8fb=[],_0x51457d=[],_0x57da7c=[];(function(){for(var _0x2dfd0d=[],_0x5075be=0x0;_0x5075be<0x100;_0x5075be++)_0x5075be<0x80?_0x2dfd0d[_0x5075be]=_0x5075be<<0x1:_0x2dfd0d[_0x5075be]=_0x5075be<<0x1^0x11b;for(var _0x30e86e=0x0,_0x3c5617=0x0,_0x5075be=0x0;_0x5075be<0x100;_0x5075be++){var _0x25e06c=_0x3c5617^_0x3c5617<<0x1^_0x3c5617<<0x2^_0x3c5617<<0x3^_0x3c5617<<0x4;_0x25e06c=_0x25e06c>>>0x8^_0x25e06c&0xff^0x63,_0x4e9144[_0x30e86e]=_0x25e06c,_0x30bc7c[_0x25e06c]=_0x30e86e;var _0x5b2e62=_0x2dfd0d[_0x30e86e],_0x1bef2b=_0x2dfd0d[_0x5b2e62],_0x47ebee=_0x2dfd0d[_0x1bef2b],_0x60dc67=_0x2dfd0d[_0x25e06c]*0x101^_0x25e06c*0x1010100;_0x2be045[_0x30e86e]=_0x60dc67<<0x18|_0x60dc67>>>0x8,_0x49fd2c[_0x30e86e]=_0x60dc67<<0x10|_0x60dc67>>>0x10,_0x248ff8[_0x30e86e]=_0x60dc67<<0x8|_0x60dc67>>>0x18,_0x5a053e[_0x30e86e]=_0x60dc67;var _0x60dc67=_0x47ebee*0x1010101^_0x1bef2b*0x10001^_0x5b2e62*0x101^_0x30e86e*0x1010100;_0x1f7f28[_0x25e06c]=_0x60dc67<<0x18|_0x60dc67>>>0x8,_0x39c8fb[_0x25e06c]=_0x60dc67<<0x10|_0x60dc67>>>0x10,_0x51457d[_0x25e06c]=_0x60dc67<<0x8|_0x60dc67>>>0x18,_0x57da7c[_0x25e06c]=_0x60dc67,_0x30e86e?(_0x30e86e=_0x5b2e62^_0x2dfd0d[_0x2dfd0d[_0x2dfd0d[_0x47ebee^_0x5b2e62]]],_0x3c5617^=_0x2dfd0d[_0x2dfd0d[_0x3c5617]]):_0x30e86e=_0x3c5617=0x1;}}());var _0xb14eeb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2f71de=_0x24f263[_0x50d11a(0x198)]=_0x296b28[_0x50d11a(0x3cf)]({'_doReset':function(){var _0x4bb816=_0x50d11a,_0x5bd71f;if(!(this[_0x4bb816(0x19d)]&&this[_0x4bb816(0x1ee)]===this['_key'])){for(var _0x42e3bf=this[_0x4bb816(0x1ee)]=this['_key'],_0x3e8bf0=_0x42e3bf[_0x4bb816(0x142)],_0x3d840c=_0x42e3bf[_0x4bb816(0x1c9)]/0x4,_0x57bde0=this[_0x4bb816(0x19d)]=_0x3d840c+0x6,_0x7eafa8=(_0x57bde0+0x1)*0x4,_0x2b2896=this[_0x4bb816(0x21d)]=[],_0xeb12e0=0x0;_0xeb12e0<_0x7eafa8;_0xeb12e0++)_0xeb12e0<_0x3d840c?_0x2b2896[_0xeb12e0]=_0x3e8bf0[_0xeb12e0]:(_0x5bd71f=_0x2b2896[_0xeb12e0-0x1],_0xeb12e0%_0x3d840c?_0x3d840c>0x6&&_0xeb12e0%_0x3d840c==0x4&&(_0x5bd71f=_0x4e9144[_0x5bd71f>>>0x18]<<0x18|_0x4e9144[_0x5bd71f>>>0x10&0xff]<<0x10|_0x4e9144[_0x5bd71f>>>0x8&0xff]<<0x8|_0x4e9144[_0x5bd71f&0xff]):(_0x5bd71f=_0x5bd71f<<0x8|_0x5bd71f>>>0x18,_0x5bd71f=_0x4e9144[_0x5bd71f>>>0x18]<<0x18|_0x4e9144[_0x5bd71f>>>0x10&0xff]<<0x10|_0x4e9144[_0x5bd71f>>>0x8&0xff]<<0x8|_0x4e9144[_0x5bd71f&0xff],_0x5bd71f^=_0xb14eeb[_0xeb12e0/_0x3d840c|0x0]<<0x18),_0x2b2896[_0xeb12e0]=_0x2b2896[_0xeb12e0-_0x3d840c]^_0x5bd71f);for(var _0x344faf=this[_0x4bb816(0x2e2)]=[],_0x299b4c=0x0;_0x299b4c<_0x7eafa8;_0x299b4c++){var _0xeb12e0=_0x7eafa8-_0x299b4c;if(_0x299b4c%0x4)var _0x5bd71f=_0x2b2896[_0xeb12e0];else var _0x5bd71f=_0x2b2896[_0xeb12e0-0x4];_0x299b4c<0x4||_0xeb12e0<=0x4?_0x344faf[_0x299b4c]=_0x5bd71f:_0x344faf[_0x299b4c]=_0x1f7f28[_0x4e9144[_0x5bd71f>>>0x18]]^_0x39c8fb[_0x4e9144[_0x5bd71f>>>0x10&0xff]]^_0x51457d[_0x4e9144[_0x5bd71f>>>0x8&0xff]]^_0x57da7c[_0x4e9144[_0x5bd71f&0xff]];}}},'encryptBlock':function(_0x2488dc,_0x11826f){var _0x358ef1=_0x50d11a;this[_0x358ef1(0x39c)](_0x2488dc,_0x11826f,this[_0x358ef1(0x21d)],_0x2be045,_0x49fd2c,_0x248ff8,_0x5a053e,_0x4e9144);},'decryptBlock':function(_0x5f1b60,_0x3356db){var _0x144a5c=_0x50d11a,_0xabbdf6=_0x5f1b60[_0x3356db+0x1];_0x5f1b60[_0x3356db+0x1]=_0x5f1b60[_0x3356db+0x3],_0x5f1b60[_0x3356db+0x3]=_0xabbdf6,this[_0x144a5c(0x39c)](_0x5f1b60,_0x3356db,this['_invKeySchedule'],_0x1f7f28,_0x39c8fb,_0x51457d,_0x57da7c,_0x30bc7c);var _0xabbdf6=_0x5f1b60[_0x3356db+0x1];_0x5f1b60[_0x3356db+0x1]=_0x5f1b60[_0x3356db+0x3],_0x5f1b60[_0x3356db+0x3]=_0xabbdf6;},'_doCryptBlock':function(_0x5b7cf9,_0x3769f3,_0xafc6cf,_0x1fbcb3,_0x58a45b,_0x2ad405,_0x459f3a,_0xbab0f6){for(var _0x3445a8=this['_nRounds'],_0x31a2b6=_0x5b7cf9[_0x3769f3]^_0xafc6cf[0x0],_0x508034=_0x5b7cf9[_0x3769f3+0x1]^_0xafc6cf[0x1],_0x132342=_0x5b7cf9[_0x3769f3+0x2]^_0xafc6cf[0x2],_0x45bfe1=_0x5b7cf9[_0x3769f3+0x3]^_0xafc6cf[0x3],_0x29238e=0x4,_0x16f816=0x1;_0x16f816<_0x3445a8;_0x16f816++){var _0x1a6cfd=_0x1fbcb3[_0x31a2b6>>>0x18]^_0x58a45b[_0x508034>>>0x10&0xff]^_0x2ad405[_0x132342>>>0x8&0xff]^_0x459f3a[_0x45bfe1&0xff]^_0xafc6cf[_0x29238e++],_0x135ce7=_0x1fbcb3[_0x508034>>>0x18]^_0x58a45b[_0x132342>>>0x10&0xff]^_0x2ad405[_0x45bfe1>>>0x8&0xff]^_0x459f3a[_0x31a2b6&0xff]^_0xafc6cf[_0x29238e++],_0x44d0ec=_0x1fbcb3[_0x132342>>>0x18]^_0x58a45b[_0x45bfe1>>>0x10&0xff]^_0x2ad405[_0x31a2b6>>>0x8&0xff]^_0x459f3a[_0x508034&0xff]^_0xafc6cf[_0x29238e++],_0x538d8a=_0x1fbcb3[_0x45bfe1>>>0x18]^_0x58a45b[_0x31a2b6>>>0x10&0xff]^_0x2ad405[_0x508034>>>0x8&0xff]^_0x459f3a[_0x132342&0xff]^_0xafc6cf[_0x29238e++];_0x31a2b6=_0x1a6cfd,_0x508034=_0x135ce7,_0x132342=_0x44d0ec,_0x45bfe1=_0x538d8a;}var _0x1a6cfd=(_0xbab0f6[_0x31a2b6>>>0x18]<<0x18|_0xbab0f6[_0x508034>>>0x10&0xff]<<0x10|_0xbab0f6[_0x132342>>>0x8&0xff]<<0x8|_0xbab0f6[_0x45bfe1&0xff])^_0xafc6cf[_0x29238e++],_0x135ce7=(_0xbab0f6[_0x508034>>>0x18]<<0x18|_0xbab0f6[_0x132342>>>0x10&0xff]<<0x10|_0xbab0f6[_0x45bfe1>>>0x8&0xff]<<0x8|_0xbab0f6[_0x31a2b6&0xff])^_0xafc6cf[_0x29238e++],_0x44d0ec=(_0xbab0f6[_0x132342>>>0x18]<<0x18|_0xbab0f6[_0x45bfe1>>>0x10&0xff]<<0x10|_0xbab0f6[_0x31a2b6>>>0x8&0xff]<<0x8|_0xbab0f6[_0x508034&0xff])^_0xafc6cf[_0x29238e++],_0x538d8a=(_0xbab0f6[_0x45bfe1>>>0x18]<<0x18|_0xbab0f6[_0x31a2b6>>>0x10&0xff]<<0x10|_0xbab0f6[_0x508034>>>0x8&0xff]<<0x8|_0xbab0f6[_0x132342&0xff])^_0xafc6cf[_0x29238e++];_0x5b7cf9[_0x3769f3]=_0x1a6cfd,_0x5b7cf9[_0x3769f3+0x1]=_0x135ce7,_0x5b7cf9[_0x3769f3+0x2]=_0x44d0ec,_0x5b7cf9[_0x3769f3+0x3]=_0x538d8a;},'keySize':0x100/0x20});_0x24100e[_0x50d11a(0x198)]=_0x296b28['_createHelper'](_0x2f71de);}()),_0x10bb86[_0x410717(0x198)];}));}(We)),We[_0x2ad869(0x219)];}var tr=er();const ir=ke(tr);var nr=Ai();const ci=ke(nr);var Ze={'exports':{}},sr=Ze[_0x18e851(0x219)],hi;function rr(){var _0xa2a034=_0x18e851;return hi||(hi=0x1,function(_0x2b8cd3,_0x455f49){(function(_0x467706,_0x18effb){_0x2b8cd3['exports']=_0x18effb(ne());}(sr,function(_0x4ed69d){var _0x5bfc78=_0x35f3;return _0x4ed69d[_0x5bfc78(0x17a)][_0x5bfc78(0x298)];}));}(Ze)),Ze[_0xa2a034(0x219)];}var or=rr();const ar=ke(or);var Qe={'exports':{}},cr=Qe['exports'],_i;function hr(){var _0x4aa39d=_0x18e851;return _i||(_i=0x1,function(_0x169671,_0x38195a){(function(_0x219809,_0x1b68ef){var _0x24dd9b=_0x35f3;_0x169671[_0x24dd9b(0x219)]=_0x1b68ef(ne());}(cr,function(_0x94f4ca){var _0x3e025d=_0x35f3;return(function(){var _0x1fb8e4=_0x35f3;if(typeof ArrayBuffer==_0x1fb8e4(0x35e)){var _0x2f124d=_0x94f4ca,_0xc63c48=_0x2f124d['lib'],_0x42e74e=_0xc63c48[_0x1fb8e4(0x2e1)],_0x4cc4ca=_0x42e74e[_0x1fb8e4(0x172)],_0x4e7078=_0x42e74e[_0x1fb8e4(0x172)]=function(_0xa20967){var _0x1ab357=_0x1fb8e4;if(_0xa20967 instanceof ArrayBuffer&&(_0xa20967=new Uint8Array(_0xa20967)),(_0xa20967 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xa20967 instanceof Uint8ClampedArray||_0xa20967 instanceof Int16Array||_0xa20967 instanceof Uint16Array||_0xa20967 instanceof Int32Array||_0xa20967 instanceof Uint32Array||_0xa20967 instanceof Float32Array||_0xa20967 instanceof Float64Array)&&(_0xa20967=new Uint8Array(_0xa20967[_0x1ab357(0x30e)],_0xa20967['byteOffset'],_0xa20967[_0x1ab357(0x367)])),_0xa20967 instanceof Uint8Array){for(var _0x357e31=_0xa20967[_0x1ab357(0x367)],_0x311157=[],_0x18ae36=0x0;_0x18ae36<_0x357e31;_0x18ae36++)_0x311157[_0x18ae36>>>0x2]|=_0xa20967[_0x18ae36]<<0x18-_0x18ae36%0x4*0x8;_0x4cc4ca[_0x1ab357(0x383)](this,_0x311157,_0x357e31);}else _0x4cc4ca[_0x1ab357(0x249)](this,arguments);};_0x4e7078['prototype']=_0x42e74e;}}()),_0x94f4ca[_0x3e025d(0x13a)][_0x3e025d(0x2e1)];}));}(Qe)),Qe[_0x4aa39d(0x219)];}var _r=hr();const lr=ke(_r);var et={'exports':{}},ur=et[_0x18e851(0x219)],li;function dr(){var _0x2c424f=_0x18e851;return li||(li=0x1,function(_0x3c2439,_0x3fab08){(function(_0x4ef4ed,_0x3297eb,_0x24cc85){_0x3c2439['exports']=_0x3297eb(ne(),Li());}(ur,function(_0x1d3a5a){var _0x5bda83=_0x35f3;return _0x1d3a5a['pad'][_0x5bda83(0x274)]={'pad':function(){},'unpad':function(){}},_0x1d3a5a[_0x5bda83(0x1ff)]['NoPadding'];}));}(et)),et[_0x2c424f(0x219)];}var fr=dr();const vr=ke(fr);function pr(_0x2a2e09,_0x35872b){var _0x14348f=_0x18e851;const _0xe30b9b=_0x35872b-_0x2a2e09[_0x14348f(0x1ae)]%_0x35872b,_0x1f634=String[_0x14348f(0x310)](_0xe30b9b)[_0x14348f(0x2df)](_0xe30b9b);return _0x2a2e09+_0x1f634;}function mr(_0x1cc299,_0x4571ff){var _0x4512c8=_0x18e851;const _0x1a3676=lr['random'](0x10),_0xbc9660=pr(_0x1cc299,0x10),_0x17f837=ir[_0x4512c8(0x3ec)](ar[_0x4512c8(0x36c)](_0xbc9660),ci[_0x4512c8(0x36c)](_0x4571ff),{'iv':_0x1a3676,'padding':vr});return _0x1a3676[_0x4512c8(0x1d7)](_0x17f837[_0x4512c8(0x1af)])[_0x4512c8(0x1fc)](ci);}function gr(){var _0x23fc47=_0x18e851;const _0x3bb7c6=_0x117322()[_0x23fc47(0x2c2)];if(_0x3bb7c6){const _0x5846fd={'time':Math[_0x23fc47(0x154)](Date[_0x23fc47(0x137)]()/0x3e8),'domain':location[_0x23fc47(0x186)]};return mr(JSON[_0x23fc47(0x1e9)](_0x5846fd),_0x3bb7c6);}}var Sr=Object['defineProperty'],Er=Object[_0x18e851(0x158)],Ir=(_0xd0e80b,_0x198d86,_0x4e9c19,_0x406e92)=>{var _0x2e7991=_0x18e851;for(var _0x197d04=_0x406e92>0x1?void 0x0:_0x406e92?Er(_0x198d86,_0x4e9c19):_0x198d86,_0x47aad5=_0xd0e80b[_0x2e7991(0x1ae)]-0x1,_0x7fd5c2;_0x47aad5>=0x0;_0x47aad5--)(_0x7fd5c2=_0xd0e80b[_0x47aad5])&&(_0x197d04=(_0x406e92?_0x7fd5c2(_0x198d86,_0x4e9c19,_0x197d04):_0x7fd5c2(_0x197d04))||_0x197d04);return _0x406e92&&_0x197d04&&Sr(_0x198d86,_0x4e9c19,_0x197d04),_0x197d04;},Tr=(_0x3830a5,_0x157cda)=>(_0x2f34c1,_0x1e3ec1)=>_0x157cda(_0x2f34c1,_0x1e3ec1,_0x3830a5);let at=class{constructor(_0x830a24){var _0x5008c4=_0x18e851;this[_0x5008c4(0x2f4)]=_0x830a24,this[_0x5008c4(0x342)]();}['_initRequestHeader'](){var _0x22b738=_0x18e851;this['_httpService'][_0x22b738(0x1d3)]({'interceptor':(_0x313731,_0x383fff)=>{var _0x1a1c5e=_0x22b738;const _0x275d3c=_0x313731[_0x1a1c5e(0x2b6)],_0x384c5e=gr();return _0x384c5e&&_0x275d3c['set'](_0x1a1c5e(0x17f),_0x384c5e),_0x383fff(_0x313731);}});}};at=Ir([Tr(0x0,_0x9a3a81(_0x43eb8b))],at);var Cr=Object[_0x18e851(0x20a)],br=Object[_0x18e851(0x158)],Rr=(_0x4edb0e,_0x380116,_0x2c2a4d,_0x12f18e)=>{var _0x495059=_0x18e851;for(var _0x10173c=_0x12f18e>0x1?void 0x0:_0x12f18e?br(_0x380116,_0x2c2a4d):_0x380116,_0x4efa53=_0x4edb0e[_0x495059(0x1ae)]-0x1,_0x1ad443;_0x4efa53>=0x0;_0x4efa53--)(_0x1ad443=_0x4edb0e[_0x4efa53])&&(_0x10173c=(_0x12f18e?_0x1ad443(_0x380116,_0x2c2a4d,_0x10173c):_0x1ad443(_0x10173c))||_0x10173c);return _0x12f18e&&_0x10173c&&Cr(_0x380116,_0x2c2a4d,_0x10173c),_0x10173c;},gt=(_0x1fa475,_0x1483a7)=>(_0x1589f2,_0x348d8f)=>_0x1483a7(_0x1589f2,_0x348d8f,_0x1fa475);let Ot=class extends _0x3e0bc6{constructor(_0x45b3fe,_0x5e6ea3,_0x2c3f45){var _0x4a9432=_0x18e851;super(),P(this,'_unitInfo$',new _0x575003(null)),P(this,'unitInfo$',this[_0x4a9432(0x1e0)]['asObservable']()),(this[_0x4a9432(0x33d)]=_0x45b3fe,this[_0x4a9432(0x30c)]=_0x5e6ea3,this[_0x4a9432(0x3a6)]=_0x2c3f45);}async['loadUnit'](_0x452b03,_0x2d65f0,_0x36c3b1){var _0x205e4e=_0x18e851;this[_0x205e4e(0x1e0)]['next']({'unitId':_0x452b03,'type':_0x2d65f0,'subUnitId':_0x36c3b1});let _0x359cd4=null;switch(_0x2d65f0){case Q[_0x205e4e(0x3c9)]:{_0x359cd4=await this[_0x205e4e(0x3b6)](_0x452b03);break;}case Q[_0x205e4e(0x28f)]:{_0x359cd4=await this['_loadDoc'](_0x452b03);break;}default:{this[_0x205e4e(0x33d)][_0x205e4e(0x35d)](_0x205e4e(0x355),_0x205e4e(0x3d2));break;}}return _0x359cd4;}async[_0x18e851(0x3b6)](_0x44d95a){var _0x42122b=_0x18e851,_0x3475e3;let _0x6359f7=0x0;const _0x581c30=await((_0x3475e3=this['_localCacheService'])==null?void 0x0:_0x3475e3['loadOfflineData'](_0x44d95a));return _0x581c30&&(_0x581c30[_0x42122b(0x195)]||_0x581c30[_0x42122b(0x313)][_0x42122b(0x1ae)]!==0x0)&&(_0x6359f7=_0x581c30['rev']),_0x6359f7===0x0&&this[_0x42122b(0x33d)]['debug']('[DataLoaderService]',_0x42122b(0x252)),this[_0x42122b(0x30c)]['loadSheet'](_0x44d95a,_0x6359f7);}async[_0x18e851(0x2ff)](_0x568865){var _0x177eca=_0x18e851,_0x46279b;let _0x10c654=0x0;const _0x2a0f41=await((_0x46279b=this[_0x177eca(0x3a6)])==null?void 0x0:_0x46279b[_0x177eca(0x2b5)](_0x568865));return _0x2a0f41&&(_0x2a0f41[_0x177eca(0x195)]||_0x2a0f41['mutations'][_0x177eca(0x1ae)]!==0x0)&&(_0x10c654=_0x2a0f41[_0x177eca(0x1e8)]),_0x10c654===0x0&&this[_0x177eca(0x33d)]['debug'](_0x177eca(0x355),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x177eca(0x30c)]['loadDoc'](_0x568865,_0x10c654);}};Ot=Rr([gt(0x0,_0x23fe8a),gt(0x1,_0x9a3a81(_0x2e38da)),gt(0x2,_0x5638e9(X))],Ot);var yr=Object['defineProperty'],Or=Object['getOwnPropertyDescriptor'],Nr=(_0x5d88e3,_0x26c69f,_0x34f2e6,_0xa7f866)=>{var _0x58254e=_0x18e851;for(var _0x471c7a=_0xa7f866>0x1?void 0x0:_0xa7f866?Or(_0x26c69f,_0x34f2e6):_0x26c69f,_0x499f63=_0x5d88e3[_0x58254e(0x1ae)]-0x1,_0x386125;_0x499f63>=0x0;_0x499f63--)(_0x386125=_0x5d88e3[_0x499f63])&&(_0x471c7a=(_0xa7f866?_0x386125(_0x26c69f,_0x34f2e6,_0x471c7a):_0x386125(_0x471c7a))||_0x471c7a);return _0xa7f866&&_0x471c7a&&yr(_0x26c69f,_0x34f2e6,_0x471c7a),_0x471c7a;},St=(_0x22a126,_0x22b969)=>(_0x23decc,_0x5ba568)=>_0x22b969(_0x23decc,_0x5ba568,_0x22a126);const Pr=[_0x18e851(0x3c4),_0x18e851(0x2d5),_0x18e851(0x281),_0x18e851(0x389),_0x18e851(0x20f)],Dr=0x5*0x400*0x400,wr=_0x18e851(0x13f),Ur=_0x18e851(0x235),Ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',xr='/universer-api/file/{fileID}/sign-url';let Nt=class{constructor(_0x10cc6b,_0x27dc18,_0x2425e3){var _0x428ae2=_0x18e851;P(this,_0x428ae2(0xfd),0x0),P(this,_0x428ae2(0x14f),new _0x1a1e17()),P(this,'change$',this[_0x428ae2(0x14f)]),P(this,'_imageSourceCache',new Map()),(this[_0x428ae2(0x2f4)]=_0x10cc6b,this[_0x428ae2(0x13d)]=_0x27dc18,this[_0x428ae2(0x30d)]=_0x2425e3);}[_0x18e851(0x24f)](_0x2f962e){var _0x321ff8=_0x18e851;this[_0x321ff8(0xfd)]=_0x2f962e,this[_0x321ff8(0x14f)][_0x321ff8(0x37a)](_0x2f962e);}['getImageSourceCache'](_0x2b0d66,_0x5bd685){var _0x40a4e4=_0x18e851;if(_0x5bd685===_0x26ce8d[_0x40a4e4(0x2ae)]){const _0x441f65=new Image();return _0x441f65[_0x40a4e4(0x211)]=_0x2b0d66,_0x441f65;}return this[_0x40a4e4(0x2c1)][_0x40a4e4(0x20b)](_0x2b0d66);}[_0x18e851(0x2d3)](_0x5875a0,_0x5d5416,_0x1e9ffe){var _0x111295=_0x18e851;_0x5d5416===_0x26ce8d[_0x111295(0x2ae)]||_0x1e9ffe==null||this['_imageSourceCache'][_0x111295(0x2b3)](_0x5875a0,_0x1e9ffe);}async[_0x18e851(0x1cc)](_0x4eb39b){var _0x4e21a5=_0x18e851;try{const _0x337f92=this[_0x4e21a5(0x34d)](this[_0x4e21a5(0x2f3)](),''+_0x4eb39b),_0xe9f111=(await this[_0x4e21a5(0x2f4)][_0x4e21a5(0x20b)](_0x337f92))[_0x4e21a5(0x1a4)];if(_0xe9f111['error']&&_0xe9f111[_0x4e21a5(0x35d)]['code']===Ci['OK']){const _0x4e37f0=new URL(_0xe9f111[_0x4e21a5(0x3d0)],this[_0x4e21a5(0x2ac)]())['toString']();return Promise[_0x4e21a5(0x18f)](_0x4e37f0);}return Promise['reject'](_0xe9f111[_0x4e21a5(0x35d)]);}catch(_0x43dfe){return Promise[_0x4e21a5(0x168)](_0x43dfe);}}async[_0x18e851(0x360)](_0x116caa){var _0x5df550=_0x18e851;let _0x35b2fb='';if(!Pr[_0x5df550(0x35f)](_0x116caa[_0x5df550(0x1d2)]))return this[_0x5df550(0x308)](),Promise[_0x5df550(0x168)](new Error(_0x1cd4c6[_0x5df550(0x153)]));if(_0x116caa['size']>Dr)return this[_0x5df550(0x308)](),Promise['reject'](new Error(_0x1cd4c6[_0x5df550(0x1db)]));try{const _0x21ba4a=new FormData();_0x21ba4a[_0x5df550(0x11c)]('file',_0x116caa);const _0xd1ff6f=this[_0x5df550(0x30d)][_0x5df550(0x3a4)](),_0x3a1573=_0xd1ff6f==null?void 0x0:_0xd1ff6f['getUnitId']();if(!_0x3a1573)throw new Error('unitId\x20is\x20not\x20found');const _0x4ad463=this[_0x5df550(0xfa)]()+'?size='+_0x116caa['size'][_0x5df550(0x1fc)]()+_0x5df550(0x1a9)+bi['UnitEmbedded']+_0x5df550(0x3fa)+encodeURIComponent(_0x3a1573),_0x367243=await(await fetch(_0x4ad463,{'method':_0x5df550(0x256),'body':_0x21ba4a}))[_0x5df550(0x146)]();if(typeof _0x367243[_0x5df550(0x28b)]!=_0x5df550(0x3f2))return this[_0x5df550(0x308)](),Promise[_0x5df550(0x168)](new Error(_0x1cd4c6[_0x5df550(0x257)]));_0x35b2fb=_0x367243['FileId'];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1cd4c6['ERROR_IMAGE']));}return new Promise((_0x40bfcd,_0x6113dc)=>{var _0x288b29=_0x5df550;const _0x2f34d4=new FileReader();_0x2f34d4[_0x288b29(0x2a1)](_0x116caa),_0x2f34d4[_0x288b29(0x2d7)]=_0x5dc677=>{var _0x29a09a=_0x288b29,_0x5c7cfb;const _0x3be2ed=(_0x5c7cfb=_0x5dc677[_0x29a09a(0x3c6)])==null?void 0x0:_0x5c7cfb[_0x29a09a(0x3e8)];if(_0x3be2ed==null){this[_0x29a09a(0x308)](),_0x6113dc(new Error(_0x1cd4c6['ERROR_IMAGE']));return;}const _0x2de106=_0x53aed1[_0x29a09a(0x13c)](0x6);_0x40bfcd({'imageId':_0x2de106,'imageSourceType':_0x26ce8d[_0x29a09a(0x3ed)],'source':_0x35b2fb,'base64Cache':_0x3be2ed,'status':_0x1cd4c6['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x18e851(0xfa)](){var _0x4bc5ad=_0x18e851,_0x3e56e2,_0xa93b4f;const _0x590cd2=this['_configService']['getConfig'](wr),_0x1cdaa7=this['_configService'][_0x4bc5ad(0x394)](Y);return(_0xa93b4f=(_0x3e56e2=_0x1cdaa7==null?void 0x0:_0x1cdaa7[_0x4bc5ad(0x1b2)])!=null?_0x3e56e2:_0x590cd2)!=null?_0xa93b4f:Ur;}[_0x18e851(0x2f3)](){var _0x570f58=_0x18e851,_0x38f210,_0x5bed1f;const _0x12b3f0=this[_0x570f58(0x13d)][_0x570f58(0x394)](Ar),_0x4ed703=this['_configService']['getConfig'](Y);return(_0x5bed1f=(_0x38f210=_0x4ed703==null?void 0x0:_0x4ed703[_0x570f58(0x289)])!=null?_0x38f210:_0x12b3f0)!=null?_0x5bed1f:xr;}[_0x18e851(0x2ac)](){var _0x566826=_0x18e851,_0x42165c;const _0x3d14ea=this[_0x566826(0x13d)][_0x566826(0x394)](Y);return(_0x42165c=_0x3d14ea==null?void 0x0:_0x3d14ea['downloadEndpointUrl'])!=null?_0x42165c:location[_0x566826(0x134)];}[_0x18e851(0x34d)](_0x2981d5,_0xd6b526){var _0x8f51dc=_0x18e851;return _0x2981d5['replace'](_0x8f51dc(0x2ec),_0xd6b526);}[_0x18e851(0x308)](){var _0x46a5e5=_0x18e851;this[_0x46a5e5(0xfd)]-=0x1,this[_0x46a5e5(0x14f)][_0x46a5e5(0x37a)](this['_waitCount']);}};Nt=Nr([St(0x0,_0x9a3a81(_0x43eb8b)),St(0x1,_0x8d16e3),St(0x2,_0x9a3a81(_0xb7833d))],Nt);var Lr=Object['defineProperty'],Mr=Object[_0x18e851(0x158)],$r=(_0x35e1a8,_0x374ab6,_0x3d71d3,_0xed49f1)=>{for(var _0x152998=_0xed49f1>0x1?void 0x0:_0xed49f1?Mr(_0x374ab6,_0x3d71d3):_0x374ab6,_0x672dfe=_0x35e1a8['length']-0x1,_0x359181;_0x672dfe>=0x0;_0x672dfe--)(_0x359181=_0x35e1a8[_0x672dfe])&&(_0x152998=(_0xed49f1?_0x359181(_0x374ab6,_0x3d71d3,_0x152998):_0x359181(_0x152998))||_0x152998);return _0xed49f1&&_0x152998&&Lr(_0x374ab6,_0x3d71d3,_0x152998),_0x152998;},ui=(_0x4f448e,_0x207745)=>(_0x522b01,_0x57f2f8)=>_0x207745(_0x522b01,_0x57f2f8,_0x4f448e);const Hr='/universer-api/authz';let Pt=class{constructor(_0x2b1418,_0x5a6594){var _0x1e35d5=_0x18e851;this[_0x1e35d5(0x13d)]=_0x2b1418,this[_0x1e35d5(0x26e)]=_0x5a6594;}[_0x18e851(0x29b)](){var _0x26a633=_0x18e851,_0x5d135b,_0x4f57d1;const _0x1ca1e2=this[_0x26a633(0x13d)][_0x26a633(0x394)](Ui),_0xdd9ecd=this[_0x26a633(0x13d)][_0x26a633(0x394)](Y);return(_0x4f57d1=(_0x5d135b=_0xdd9ecd==null?void 0x0:_0xdd9ecd[_0x26a633(0x359)])!=null?_0x5d135b:_0x1ca1e2)!=null?_0x4f57d1:Hr;}async[_0x18e851(0x2a4)](_0x15655c){var _0x5c5454=_0x18e851;const _0x191ece=this[_0x5c5454(0x29b)]()+_0x5c5454(0x181);return{'list':[{'title':_0x5c5454(0x282),'mentions':(await this[_0x5c5454(0x26e)][_0x5c5454(0x20b)](_0x191ece,{'params':{'objectID':_0x15655c[_0x5c5454(0x110)],'unitID':_0x15655c['unitId']}}))[_0x5c5454(0x1a4)][_0x5c5454(0x25d)][_0x5c5454(0x13b)](_0x323a72=>({'objectId':_0x323a72['id'],'name':_0x323a72[_0x5c5454(0x3a7)][_0x5c5454(0x23b)],'metadata':{'icon':_0x323a72[_0x5c5454(0x3a7)][_0x5c5454(0x206)]},'label':_0x323a72[_0x5c5454(0x3a7)][_0x5c5454(0x23b)],'objectType':_0x1a8ee2[_0x5c5454(0x332)]})),'metadata':{},'type':_0x1a8ee2[_0x5c5454(0x332)]}]};}};Pt=$r([ui(0x0,_0x9a3a81(_0x8d16e3)),ui(0x1,_0x9a3a81(_0x43eb8b))],Pt);var kr=Object[_0x18e851(0x20a)],jr=Object[_0x18e851(0x158)],Br=(_0x2ebdee,_0x20bbf9,_0x141924,_0x5d3318)=>{var _0x438959=_0x18e851;for(var _0x34701a=_0x5d3318>0x1?void 0x0:_0x5d3318?jr(_0x20bbf9,_0x141924):_0x20bbf9,_0x31bb36=_0x2ebdee[_0x438959(0x1ae)]-0x1,_0x44b4e3;_0x31bb36>=0x0;_0x31bb36--)(_0x44b4e3=_0x2ebdee[_0x31bb36])&&(_0x34701a=(_0x5d3318?_0x44b4e3(_0x20bbf9,_0x141924,_0x34701a):_0x44b4e3(_0x34701a))||_0x34701a);return _0x5d3318&&_0x34701a&&kr(_0x20bbf9,_0x141924,_0x34701a),_0x34701a;},Se=(_0x42e9fa,_0x1c2489)=>(_0x4d7058,_0x357bdc)=>_0x1c2489(_0x4d7058,_0x357bdc,_0x42e9fa);let ct=class extends _0x3e0bc6{constructor(_0x4bb0e9,_0x407ce8,_0x7c7d27,_0x141af3,_0xfc75c2,_0x5eb1eb,_0x51edec){var _0x335c2b=_0x18e851;super(),this[_0x335c2b(0x122)]=_0x4bb0e9,this[_0x335c2b(0x30d)]=_0x407ce8,this[_0x335c2b(0x138)]=_0x7c7d27,this['_collaborationSessionService']=_0x141af3,this[_0x335c2b(0x220)]=_0xfc75c2,this[_0x335c2b(0x251)]=_0x5eb1eb,this[_0x335c2b(0x36e)]=_0x51edec,this[_0x335c2b(0x167)](),this[_0x335c2b(0x139)]();}[_0x18e851(0x139)](){var _0x2d0b06=_0x18e851;const _0x372917=async _0x563d1b=>{var _0x42ab56=_0x35f3;(await this['_collaborationSessionService'][_0x42ab56(0x321)](_0x563d1b))[_0x42ab56(0x18b)]['pipe'](_0x2d009d(_0x11af56=>_0x11af56[_0x42ab56(0x21e)]===_0x666958[_0x42ab56(0x126)]),_0x47301e(this['dispose$']))['subscribe'](_0x11f431=>{var _0x25ba8f=_0x42ab56;const _0x24e5d5=_0x11f431,{reason:_0x52e403}=_0x24e5d5[_0x25ba8f(0x35b)];this[_0x25ba8f(0x220)][_0x25ba8f(0x1dc)]({'id':re[_0x25ba8f(0x131)],'data':_0x52e403}),this[_0x25ba8f(0x138)][_0x25ba8f(0x3e5)](new _0xce2cad(_0x563d1b)['id'],!0x1),this[_0x25ba8f(0x101)][_0x25ba8f(0x2d6)](_0x563d1b);});};_0x1b9259(this['_univerInstanceService'][_0x2d0b06(0x364)](_0x2575b5[_0x2d0b06(0x3c9)]),this[_0x2d0b06(0x30d)]['getTypeOfUnitAdded$'](_0x2575b5['UNIVER_DOC']))['pipe'](_0x4fec2b(_0x3a0bf0=>_0x3a0bf0[_0x2d0b06(0x2e8)]()),_0x2d009d(_0x468ee2=>!_0x4b9097(_0x468ee2)),_0x47301e(this[_0x2d0b06(0x1b3)]))['subscribe'](_0x434868=>{_0x372917(_0x434868);});}['_initUnitPermissionChange'](){var _0x56b224=_0x18e851;const _0x1f3ba2=async _0x106a10=>{var _0x379e74=_0x35f3;(await this['_collaborationSessionService'][_0x379e74(0x321)](_0x106a10))[_0x379e74(0x18b)][_0x379e74(0x2be)](_0x2d009d(_0x4282e5=>_0x4282e5['eventID']===_0x666958[_0x379e74(0x2c8)]),_0x47301e(this[_0x379e74(0x1b3)]))['subscribe'](_0x2e0dca=>{var _0x13fc8a=_0x379e74;const _0x5f5411=_0x2e0dca,{objectId:_0x1cedd6}=_0x5f5411[_0x13fc8a(0x35b)];_0x1cedd6===_0x106a10?this['initWorkbookPermissionChange'](_0x106a10):this['refreshPermission'](_0x106a10,_0x1cedd6);});};_0x1b9259(this[_0x56b224(0x30d)][_0x56b224(0x364)](_0x2575b5[_0x56b224(0x3c9)]),this[_0x56b224(0x30d)]['getTypeOfUnitAdded$'](_0x2575b5[_0x56b224(0x28f)]))[_0x56b224(0x2be)](_0x4fec2b(_0x1e2e4c=>_0x1e2e4c[_0x56b224(0x2e8)]()),_0x2d009d(_0x218699=>!_0x4b9097(_0x218699)),_0x47301e(this[_0x56b224(0x1b3)]))[_0x56b224(0x3b5)](_0x30daeb=>{_0x1f3ba2(_0x30daeb);});}async[_0x18e851(0x104)](_0xe9fa12){var _0x1f12fa=_0x18e851,_0x12b804;const _0x40588d=_0xe9fa12||((_0x12b804=this[_0x1f12fa(0x30d)][_0x1f12fa(0x2a3)](_0x2575b5[_0x1f12fa(0x3c9)]))==null?void 0x0:_0x12b804[_0x1f12fa(0x2e8)]());_0x40588d&&this[_0x1f12fa(0x251)][_0x1f12fa(0x280)]({'objectID':_0x40588d,'objectType':_0x2e31b3['Workbook'],'unitID':_0x40588d,'actions':_0x162b4f})[_0x1f12fa(0x3cb)](_0x55f7db=>{_0x15f5e1()['forEach'](_0x6306cf=>{var _0xf6ebbf=_0x35f3;const _0x24d5ef=new _0x6306cf(_0x40588d),_0x3a76c5=_0x24d5ef[_0xf6ebbf(0x2fa)],_0x489cfc=_0x55f7db['find'](_0x2d3d79=>_0x2d3d79[_0xf6ebbf(0x225)]===_0x3a76c5);_0x489cfc&&this['_permissionService'][_0xf6ebbf(0x3e5)](_0x24d5ef['id'],_0x489cfc[_0xf6ebbf(0x280)]);});});}['refreshPermission'](_0x33d9dd,_0x11fc3b){var _0x551f84=_0x18e851;const _0x3e4015=this[_0x551f84(0x122)][_0x551f84(0x20b)](_0xa53642),_0x11258d=_0x3e4015[_0x551f84(0x309)](_0x33d9dd,_0x11fc3b);let _0x398a51=!0x1;if(_0x11258d){const [_0x20027f,_0x3d49cb]=_0x11258d;this[_0x551f84(0x251)]['allowed']({'objectID':_0x11fc3b,'unitID':_0x33d9dd,'objectType':_0x2e31b3[_0x551f84(0x307)],'actions':_0x59158f})[_0x551f84(0x3cb)](_0x5ea9c7=>{var _0x5400f3=_0x551f84;let _0x57e6ae='';_0x1f3bb8()[_0x5400f3(0x3b1)](_0x31b619=>{var _0x1e33c5=_0x5400f3,_0x45dbbd;const _0x33ef5e=new _0x31b619(_0x33d9dd,_0x3d49cb),_0x5e3086=_0x33ef5e[_0x1e33c5(0x2fa)],_0xd19104=_0x5ea9c7[_0x1e33c5(0x39d)](_0x3f0832=>_0x3f0832[_0x1e33c5(0x225)]===_0x5e3086);_0xd19104&&(((_0x45dbbd=this['_permissionService'][_0x1e33c5(0x331)](_0x33ef5e['id']))==null?void 0x0:_0x45dbbd[_0x1e33c5(0x2c9)])!==_0xd19104[_0x1e33c5(0x280)]&&(_0x398a51=!0x0),this[_0x1e33c5(0x138)][_0x1e33c5(0x3e5)](_0x33ef5e['id'],_0xd19104[_0x1e33c5(0x280)]),_0x57e6ae+=_0xd19104[_0x1e33c5(0x225)]+'_'+_0xd19104[_0x1e33c5(0x280)]);}),_0x3e4015['ruleRefresh'](_0x11fc3b+'_'+_0x57e6ae),_0x398a51&&this[_0x5400f3(0x36e)][_0x5400f3(0x2f5)](_0x33d9dd);});}const _0x533b5a=this[_0x551f84(0x122)]['get'](_0x280b51)[_0x551f84(0x309)](_0x33d9dd,_0x11fc3b);if(_0x533b5a){const [_0x37ec2b,_0x55d07d]=_0x533b5a;this[_0x551f84(0x251)][_0x551f84(0x280)]({'objectID':_0x11fc3b,'unitID':_0x33d9dd,'objectType':_0x2e31b3[_0x551f84(0x307)],'actions':_0x3b68cb})[_0x551f84(0x3cb)](_0x145873=>{var _0x336fff=_0x551f84;_0x62403a()['forEach'](_0x5b4ef2=>{var _0x5e64ed=_0x35f3,_0x3e9999;const _0x2dec2a=new _0x5b4ef2(_0x33d9dd,_0x55d07d),_0x33662e=_0x2dec2a[_0x5e64ed(0x2fa)],_0x372f8d=_0x145873['find'](_0x321aac=>_0x321aac[_0x5e64ed(0x225)]===_0x33662e);_0x372f8d&&(((_0x3e9999=this[_0x5e64ed(0x138)]['getPermissionPoint'](_0x2dec2a['id']))==null?void 0x0:_0x3e9999[_0x5e64ed(0x2c9)])!==_0x372f8d['allowed']&&(_0x398a51=!0x0),this[_0x5e64ed(0x138)]['updatePermissionPoint'](_0x2dec2a['id'],_0x372f8d[_0x5e64ed(0x280)]));}),_0x398a51&&this[_0x336fff(0x36e)]['clearUndoRedo'](_0x33d9dd);});}const _0x193e50=this[_0x551f84(0x122)]['get'](_0x2c5596),_0x260059=_0x193e50[_0x551f84(0x309)](_0x33d9dd,_0x11fc3b);if(_0x260059){const [_0x79091d,_0x454b1c]=_0x260059;this[_0x551f84(0x251)]['allowed']({'objectID':_0x11fc3b,'unitID':_0x33d9dd,'objectType':_0x2e31b3[_0x551f84(0x150)],'actions':_0x59158f})[_0x551f84(0x3cb)](_0x5d5c5a=>{var _0x4bd063=_0x551f84;let _0x2ccf16='';_0x19e040()[_0x4bd063(0x3b1)](_0x1167a2=>{var _0x1b117d=_0x4bd063,_0x211253;const _0x16bb7e=new _0x1167a2(_0x33d9dd,_0x454b1c,_0x11fc3b),_0x3e4f63=_0x16bb7e[_0x1b117d(0x2fa)],_0xd48cff=_0x5d5c5a[_0x1b117d(0x39d)](_0x457ea6=>_0x457ea6['action']===_0x3e4f63);_0xd48cff&&(((_0x211253=this[_0x1b117d(0x138)][_0x1b117d(0x331)](_0x16bb7e['id']))==null?void 0x0:_0x211253[_0x1b117d(0x2c9)])!==_0xd48cff[_0x1b117d(0x280)]&&(_0x398a51=!0x0),this['_permissionService']['updatePermissionPoint'](_0x16bb7e['id'],_0xd48cff[_0x1b117d(0x280)]),_0x2ccf16+=_0xd48cff[_0x1b117d(0x225)]+'_'+_0xd48cff[_0x1b117d(0x280)]);}),_0x193e50[_0x4bd063(0x123)](_0x11fc3b+'_'+_0x2ccf16),_0x398a51&&this[_0x4bd063(0x36e)][_0x4bd063(0x2f5)](_0x33d9dd);});}}};ct=Br([Se(0x0,_0x9a3a81(_0x91639e)),Se(0x1,_0xb7833d),Se(0x2,_0x211a51),Se(0x3,_0x9a3a81(Le)),Se(0x4,_0x9a3a81(pe)),Se(0x5,_0x3e3668),Se(0x6,_0x14bbd2)],ct);var Fr=Object['defineProperty'],Vr=Object[_0x18e851(0x158)],Wr=(_0x1d8c67,_0x1beb61,_0x3d2f54,_0x593034)=>{var _0x1c79dc=_0x18e851;for(var _0x1adb7f=_0x593034>0x1?void 0x0:_0x593034?Vr(_0x1beb61,_0x3d2f54):_0x1beb61,_0x1a25bd=_0x1d8c67[_0x1c79dc(0x1ae)]-0x1,_0x570314;_0x1a25bd>=0x0;_0x1a25bd--)(_0x570314=_0x1d8c67[_0x1a25bd])&&(_0x1adb7f=(_0x593034?_0x570314(_0x1beb61,_0x3d2f54,_0x1adb7f):_0x570314(_0x1adb7f))||_0x1adb7f);return _0x593034&&_0x1adb7f&&Fr(_0x1beb61,_0x3d2f54,_0x1adb7f),_0x1adb7f;},di=(_0x1e24de,_0x5ceb03)=>(_0x324e39,_0x4a293a)=>_0x5ceb03(_0x324e39,_0x4a293a,_0x1e24de);let Dt=class{constructor(_0x43bca8,_0x3877f7){var _0x53fd15=_0x18e851;this[_0x53fd15(0x13d)]=_0x43bca8,this['_httpService']=_0x3877f7;}async[_0x18e851(0x37e)](_0x36e798,_0x182963){var _0x578467=_0x18e851,_0x38a30b;const {unitID:_0x248107,type:_0x3a3db6,revision:_0x474745=0x0}=_0x182963,_0x1d200d=this[_0x578467(0x1ab)]()+'/'+_0x3a3db6+_0x578467(0x273)+_0x248107+_0x578467(0x357)+_0x474745,_0x219fa6=(await this['_httpService']['get'](_0x1d200d))[_0x578467(0x1a4)],_0x223536=(_0x38a30b=_0x219fa6['snapshot'])==null?void 0x0:_0x38a30b[_0x578467(0x1aa)];if(_0x223536){const _0x520cc3=_0x223536==null?void 0x0:_0x223536[_0x578467(0x396)],_0x4209b1=_0x5b1005[_0x578467(0x19c)](_0xc673ff(_0x520cc3));_0x223536[_0x578467(0x396)]=_0x4209b1,Object[_0x578467(0x26b)](_0x223536['sheets'])[_0x578467(0x3b1)](([,_0x49b867])=>{var _0x48c74f=_0x578467;const _0x14f81f=_0x49b867[_0x48c74f(0x396)],_0x2d15cd=_0x5b1005['encode'](_0xc673ff(_0x14f81f));_0x49b867[_0x48c74f(0x396)]=_0x2d15cd;});}return _0x219fa6;}async[_0x18e851(0x2e5)](_0x4abfe8,_0x407f56){var _0x1aeb22=_0x18e851;const {unitID:_0x39aa61,type:_0x4a928d,blockID:_0x3382dc}=_0x407f56,_0x3ddbe0=this[_0x1aeb22(0x346)]()+'/'+_0x4a928d+'/unit/'+_0x39aa61+_0x1aeb22(0x366)+_0x3382dc;return(await this[_0x1aeb22(0x2f4)][_0x1aeb22(0x20b)](_0x3ddbe0))[_0x1aeb22(0x1a4)];}async[_0x18e851(0x29e)](_0x3b7222,_0x5a0e27){var _0x28b295=_0x18e851;const {unitID:_0x595593,type:_0x5a5eb0,blockID:_0xdb926e}=_0x5a0e27,_0x402a49=this[_0x28b295(0x346)]()+_0x28b295(0x366)+_0x5a5eb0+_0x28b295(0x273)+_0x595593+_0x28b295(0x366)+_0xdb926e;return(await this[_0x28b295(0x2f4)][_0x28b295(0x20b)](_0x402a49))['body'];}async[_0x18e851(0x27f)](_0x11429e,_0x5d5263){var _0x3977de=_0x18e851;const {unitID:_0x339cc7,type:_0x8b6f59,from:_0x1f8008,to:_0x224a4b}=_0x5d5263,_0x6cf63f=this[_0x3977de(0x346)]()+'/'+_0x8b6f59+'/unit/'+_0x339cc7+_0x3977de(0x159)+_0x1f8008+_0x3977de(0x23c)+_0x224a4b;return(await this[_0x3977de(0x2f4)][_0x3977de(0x20b)](_0x6cf63f))[_0x3977de(0x1a4)];}[_0x18e851(0x1ab)](){var _0x227443=_0x18e851,_0x4410b3;return(_0x4410b3=this['_configService'][_0x227443(0x394)](Un))!=null?_0x4410b3:this[_0x227443(0x346)]();}[_0x18e851(0x346)](){var _0x5143de=_0x18e851,_0xe22b56,_0x50fad3;const _0x1769e3=this[_0x5143de(0x13d)][_0x5143de(0x394)](Dn),_0x5ec06c=this[_0x5143de(0x13d)][_0x5143de(0x394)](Y);return(_0x50fad3=(_0xe22b56=_0x5ec06c==null?void 0x0:_0x5ec06c['snapshotServerUrl'])!=null?_0xe22b56:_0x1769e3)!=null?_0x50fad3:wn;}async[_0x18e851(0x395)](_0x1e6f96,_0x38fd83){var _0x49d9c7=_0x18e851;const _0x326d22=_0x49d9c7(0x323)+_0x38fd83[_0x49d9c7(0x1d2)]+_0x49d9c7(0x273)+_0x38fd83[_0x49d9c7(0x185)]+'/resources';return(await this[_0x49d9c7(0x2f4)]['get'](_0x326d22,{'params':{'resourceId':JSON[_0x49d9c7(0x1e9)](_0x38fd83[_0x49d9c7(0x38a)])}}))['body'];}[_0x18e851(0x21f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x18e851(0x2ba)](){var _0x558828=_0x18e851;throw new Error(_0x558828(0x163));}[_0x18e851(0x2d9)](){var _0x2bd4e8=_0x18e851;throw new Error(_0x2bd4e8(0x163));}[_0x18e851(0x37b)](){var _0x5763b4=_0x18e851;throw new Error(_0x5763b4(0x163));}[_0x18e851(0x170)](){var _0x38c649=_0x18e851;throw new Error(_0x38c649(0x163));}};Dt=Wr([di(0x0,_0x8d16e3),di(0x1,_0x9a3a81(_0x43eb8b))],Dt);var Gr=Object['defineProperty'],Kr=Object['getOwnPropertyDescriptor'],zr=(_0x43dc66,_0x281b91,_0x1d981d,_0x3dc205)=>{for(var _0x9315b2=_0x3dc205>0x1?void 0x0:_0x3dc205?Kr(_0x281b91,_0x1d981d):_0x281b91,_0x43a6e6=_0x43dc66['length']-0x1,_0x222078;_0x43a6e6>=0x0;_0x43a6e6--)(_0x222078=_0x43dc66[_0x43a6e6])&&(_0x9315b2=(_0x3dc205?_0x222078(_0x281b91,_0x1d981d,_0x9315b2):_0x222078(_0x9315b2))||_0x9315b2);return _0x3dc205&&_0x9315b2&&Gr(_0x281b91,_0x1d981d,_0x9315b2),_0x9315b2;},Ae=(_0x294bbf,_0x3742a9)=>(_0xb479b2,_0x486f05)=>_0x3742a9(_0xb479b2,_0x486f05,_0x294bbf);let wt=class extends _0xbbeae2{constructor(_0xa61707,_0x2a6c43,_0xa3929a,_0x18be4b,_0x5e0d86){var _0x5c9e6a=_0x18e851;super(_0xa61707,_0x2a6c43,_0xa3929a),this['_transformService']=_0x18be4b,this[_0x5c9e6a(0x33d)]=_0x5e0d86;}['transformUndoRedo'](_0x3b86a6,_0x5ad25d){var _0x366527=_0x18e851;const _0x9a29f0=this['_getUndoStack'](_0x3b86a6);if(_0x9a29f0)try{const _0x3ad16d=this[_0x366527(0x356)](_0x9a29f0,_0x5ad25d);this[_0x366527(0x381)](_0x3b86a6,_0x3ad16d);}catch(_0x5add66){this['_logService'][_0x366527(0x35d)]('[CollaborationUndoRedoService]',_0x5add66),this['_clearUndo'](_0x3b86a6);}const _0x579a99=this[_0x366527(0x1e3)](_0x3b86a6);if(_0x579a99)try{const _0x1a74ff=this[_0x366527(0x356)](_0x579a99,_0x5ad25d);this[_0x366527(0x31e)](_0x3b86a6,_0x1a74ff);}catch(_0x31ac76){this[_0x366527(0x33d)][_0x366527(0x35d)](_0x31ac76),this[_0x366527(0x3d9)](_0x3b86a6);}}[_0x18e851(0x2bd)](_0x56c5f4){var _0x5934bf=_0x18e851;const _0x213bcc=this[_0x5934bf(0x1f1)](_0x56c5f4);_0x213bcc&&(_0x213bcc[_0x5934bf(0x1ae)]=0x0,this['_updateStatus']());}[_0x18e851(0x3d9)](_0x30941a){var _0x5bdeae=_0x18e851;const _0x9969e2=this['_getRedoStack'](_0x30941a);_0x9969e2&&(_0x9969e2[_0x5bdeae(0x1ae)]=0x0,this[_0x5bdeae(0x164)]());}[_0x18e851(0x381)](_0x438fbe,_0x5d7ca6){var _0x125323=_0x18e851;this[_0x125323(0x191)][_0x125323(0x2b3)](_0x438fbe,_0x5d7ca6),this[_0x125323(0x164)]();}[_0x18e851(0x31e)](_0x7c66c3,_0x2827e7){var _0x64028e=_0x18e851;this[_0x64028e(0x2cd)][_0x64028e(0x2b3)](_0x7c66c3,_0x2827e7),this[_0x64028e(0x164)]();}['_transformStack'](_0x352f3d,_0x319a60){var _0x10a545=_0x18e851;const _0x41ae83=[];let _0x3cec07=_0x319a60,_0x256487=_0x319a60;for(let _0x57c3fd=_0x352f3d[_0x10a545(0x1ae)]-0x1;_0x57c3fd>=0x0;_0x57c3fd--){const {unitID:_0x3479a9,undoMutations:_0x16f864,redoMutations:_0x166c06}=_0x352f3d[_0x57c3fd],_0x1223b0=this[_0x10a545(0x1bf)][_0x10a545(0x228)](_0x3cec07,_0x16f864),_0x47d758=this[_0x10a545(0x1bf)][_0x10a545(0x228)](_0x256487,_0x166c06);if(_0x5147d9(_0x1223b0)||_0x5147d9(_0x47d758)){this['_logService'][_0x10a545(0x35d)](_0x10a545(0x3c1),'transformStack\x20failed!',_0x1223b0,_0x47d758);break;}_0x3cec07=_0x1223b0[_0x10a545(0x322)],_0x256487=_0x47d758[_0x10a545(0x322)],_0x41ae83[_0x10a545(0x36f)]({'unitID':_0x3479a9,'undoMutations':_0x1223b0['m2Prime'],'redoMutations':_0x47d758[_0x10a545(0x1be)]});}return _0x41ae83[_0x10a545(0x255)]();}};wt=zr([Ae(0x0,_0xb7833d),Ae(0x1,_0x55ba2b),Ae(0x2,_0x7f597a),Ae(0x3,_0x55bfa1),Ae(0x4,_0x23fe8a)],wt);var Mi=Object[_0x18e851(0x20a)],Yr=Object[_0x18e851(0x158)],qr=(_0x42524b,_0x10985a,_0x36f66f)=>_0x10985a in _0x42524b?Mi(_0x42524b,_0x10985a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36f66f}):_0x42524b[_0x10985a]=_0x36f66f,Jr=(_0x58d8b5,_0x1a0257,_0x24aa72,_0x47fd95)=>{var _0x40b93a=_0x18e851;for(var _0x5511be=_0x47fd95>0x1?void 0x0:_0x47fd95?Yr(_0x1a0257,_0x24aa72):_0x1a0257,_0x2af776=_0x58d8b5[_0x40b93a(0x1ae)]-0x1,_0x3ccce5;_0x2af776>=0x0;_0x2af776--)(_0x3ccce5=_0x58d8b5[_0x2af776])&&(_0x5511be=(_0x47fd95?_0x3ccce5(_0x1a0257,_0x24aa72,_0x5511be):_0x3ccce5(_0x5511be))||_0x5511be);return _0x47fd95&&_0x5511be&&Mi(_0x1a0257,_0x24aa72,_0x5511be),_0x5511be;},Et=(_0x13b8fd,_0x1251aa)=>(_0x8273e7,_0xb65dd2)=>_0x1251aa(_0x8273e7,_0xb65dd2,_0x13b8fd),Xr=(_0x5bf1cd,_0x34a658,_0x105401)=>qr(_0x5bf1cd,_0x34a658+'',_0x105401);const Zr=_0x18e851(0x27e);let Ut=class extends _0x2890d2{constructor(_0x3a436d=zt,_0x15beeb,_0x40582d,_0x665bc){var _0x5bb395=_0x18e851;super(),this[_0x5bb395(0x239)]=_0x3a436d,this[_0x5bb395(0x33d)]=_0x15beeb,this[_0x5bb395(0x122)]=_0x40582d,this[_0x5bb395(0x13d)]=_0x665bc;const {..._0x2a5015}=_0xe355ad({},zt,this[_0x5bb395(0x239)]);this[_0x5bb395(0x13d)][_0x5bb395(0x216)](Y,_0x2a5015);}[_0x18e851(0x205)](){var _0x287b83=_0x18e851;this[_0x287b83(0x160)](),this[_0x287b83(0x175)]();}['_registerDependencies'](){var _0x4a7f26=_0x18e851,_0x5f02d0,_0x1c26b0,_0x4cb20a,_0xe1bcfe;this['_injector'][_0x4a7f26(0x3d8)](_0x14bbd2)&&this['_logService'][_0x4a7f26(0x35d)](_0x4a7f26(0x121),_0x4a7f26(0x20c));const _0x4a2e05=_0x14b270([[_0x14bbd2,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[yi],[ct],[pe],[Ot],[Ri,{'useClass':(_0x1c26b0=(_0x5f02d0=this[_0x4a7f26(0x239)])==null?void 0x0:_0x5f02d0['socketService'])!=null?_0x1c26b0:It}],[_0x4608e5,{'useClass':Dt}],[_0x3e3668,{'useClass':yt}],[_0x5609bc,{'useClass':Nt}],[_0x43ff44,{'useClass':Pt}],[rt],[Rt]],(_0x4cb20a=this['_config'])==null?void 0x0:_0x4cb20a[_0x4a7f26(0x2fc)]);if(!((_0xe1bcfe=this[_0x4a7f26(0x239)])!=null&&_0xe1bcfe[_0x4a7f26(0x3ef)])){const _0x1ae4f9=_0x4a2e05['findIndex'](([_0x57499d])=>_0x57499d===_t);_0x1ae4f9!==-0x1&&_0x4a2e05[_0x4a7f26(0x33a)](_0x1ae4f9,0x1);}_0x200cfa(this[_0x4a7f26(0x122)],_0x4a2e05);}[_0x18e851(0x175)](){var _0x24d5c2=_0x18e851,_0x55cd19,_0x52cd88,_0x4046a9;this['_injector'][_0x24d5c2(0x20b)](_0x43eb8b)[_0x24d5c2(0x1d3)]({'priority':0x14,'interceptor':_0x4ca851({'maxParallel':0x6})}),(_0x55cd19=this[_0x24d5c2(0x239)])!=null&&_0x55cd19[_0x24d5c2(0x35a)]||(_0x52cd88=this[_0x24d5c2(0x122)]['get'](X,_0x48aacf[_0x24d5c2(0x33c)]))==null||_0x52cd88[_0x24d5c2(0x262)](),(_0x4046a9=this[_0x24d5c2(0x239)])!=null&&_0x4046a9[_0x24d5c2(0x14c)]&&_0x50d1aa(this[_0x24d5c2(0x122)],[[ot]]),_0x50d1aa(this['_injector'],[[at],[rt],[ct]]);}};Xr(Ut,_0x18e851(0x286),Zr),Ut=Jr([_0x4d22b3(_0xaae99,_0x125e53,_0x4aafc1),Et(0x1,_0x23fe8a),Et(0x2,_0x9a3a81(_0x91639e)),Et(0x3,_0x8d16e3)],Ut);export{Ui as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Fn as COLLAB_SUBMIT_CHANGESET_URL_KEY,xn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Pi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,yi as CommentService,de as ConflictState,Ln as DEFAULT_COLLAB_WEB_SOCKET_URL,vo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,$n as HEARTBEAT_INTERVAL_KEY,Ii as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Kn as INetworkConditionService,_t as ISingleActiveUnitService,uo as LOCAL_CACHE_INTERVAL,lo as LOCAL_CACHE_INTERVAL_KEY,Wn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,fo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,jn as RETRY_CONNECTING_MAX_COUNT_KEY,_o as SEND_CHANGESET_TIMEOUT_KEY,Dn as SNAPSHOT_SERVER_URL_KEY,Un as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Oi as UnitStatus,Ut as UniverCollaborationClientPlugin,zn as deserializeToCombResponse,po as getLocalCacheKey,Yn as serializeCombRequest};
1
+ var _0x3817ac=_0x7017;(function(_0x300fca,_0x58f32a){var _0x247371=_0x7017,_0x3945d9=_0x300fca();while(!![]){try{var _0x329b61=-parseInt(_0x247371(0x1d7))/0x1+parseInt(_0x247371(0x2dc))/0x2+parseInt(_0x247371(0x42c))/0x3+-parseInt(_0x247371(0x413))/0x4+-parseInt(_0x247371(0x396))/0x5*(-parseInt(_0x247371(0x2ea))/0x6)+parseInt(_0x247371(0x3a0))/0x7+-parseInt(_0x247371(0x371))/0x8*(parseInt(_0x247371(0x321))/0x9);if(_0x329b61===_0x58f32a)break;else _0x3945d9['push'](_0x3945d9['shift']());}catch(_0x2dcfa0){_0x3945d9['push'](_0x3945d9['shift']());}}}(_0x484f,0xdd107));var $i=Object[_0x3817ac(0x3b8)],Hi=(_0x2b060d,_0x1c0900,_0x5c705b)=>_0x1c0900 in _0x2b060d?$i(_0x2b060d,_0x1c0900,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c705b}):_0x2b060d[_0x1c0900]=_0x5c705b,P=(_0x35b100,_0x4ac9ea,_0x227ab6)=>Hi(_0x35b100,typeof _0x4ac9ea!=_0x3817ac(0x19e)?_0x4ac9ea+'':_0x4ac9ea,_0x227ab6);import{createIdentifier as _0x526b95,Inject as _0x880ce4,Injector as _0x28aed1,Disposable as _0x4c5e0f,DisposableCollection as _0x345077,toDisposable as _0x3282bc,IConfigService as _0x268506,ILogService as _0x3b11ba,UserManagerService as _0x41099,UniverInstanceType as _0x1f11e9,IUniverInstanceService as _0x369bbf,LocaleService as _0x42e13a,Optional as _0x1d2db0,RxDisposable as _0x9c8dcc,Tools as _0x19a3c3,Rectangle as _0x5381ba,ICommandService as _0x5ee12b,JSONX as _0x4f4e18,CommandType as _0x2cbde1,IPermissionService as _0x3310d6,IUndoRedoService as _0x43dc49,sequenceExecute as _0x6e8ef5,Workbook as _0x7013a8,MentionType as _0x54eafb,IAuthzIoService as _0x400bc0,isInternalEditorID as _0x4417ac,LocalUndoRedoService as _0x864ba1,IContextService as _0x24222f,DependentOn as _0x269592,Plugin as _0x2968e0,merge as _0x2d506e,mergeOverrideWithDependencies as _0x189fb3,IMentionIOService as _0x2d119d,registerDependencies as _0x16ef9f,Quantity as _0x12cdfd,touchDependencies as _0x338f1b}from'@univerjs/core';import{Subject as _0x560c85,merge as _0x30e992,of as _0x41a794,BehaviorSubject as _0x576e29,takeUntil as _0x44ee9f,ReplaySubject as _0xd22070,take as _0x551224,map as _0x155080,shareReplay as _0x55005f,firstValueFrom as _0x54a0bb,concatMap as _0xe3238b}from'rxjs';import{map as _0x24684d,take as _0x512f7a,filter as _0x1b785d,delay as _0x54d682,takeUntil as _0x22e3d2}from'rxjs/operators';import{HTTPService as _0x157352,ISocketService as _0x222759,MergeInterceptorFactory as _0x3b4411,HTTPRequest as _0x57bb69,UniverNetworkPlugin as _0x3afd6f,ThresholdInterceptorFactory as _0x3812a}from'@univerjs/network';import{CollaborationEvent as _0x48cdf6,parseChangesetToProtocol as _0x830f4a,ISnapshotServerService as _0x2e5790,isTransformMutationsWithChangesetSuccess as _0x490500,ITransformService as _0x5e4ebe,mapDocumentTypeToUniverType as _0x177af8,RevisionService as _0x46b1c6,isTransformChangesetsSuccess as _0x1a2959,CompressMutationService as _0x261980,parseProtocolChangeset as _0x42c60c,SnapshotService as _0x1b376d,textEncoder as _0x5cb200,b64DecodeUnicode as _0x4b2c2e,isTransformMutationsWithChangesetFailure as _0x389b7d,UniverCollaborationPlugin as _0x6570e7}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x2e5b5e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4aee6a}from'@univerjs/docs';import{SheetsSelectionsService as _0x40f603,SetSelectionsOperation as _0x3529cb,InsertSheetMutation as _0x2e554f,EmptyMutation as _0x57917a,WorkbookEditablePermission as _0x1fa601,UnitObject as _0x4dfcaf,defaultWorkbookPermissionPoints as _0x541e5e,getAllWorkbookPermissionPoint as _0x4d802e,WorksheetProtectionRuleModel as _0x36a6e8,baseProtectionActions as _0x400bf2,getAllWorksheetPermissionPoint as _0x11f5cd,WorksheetProtectionPointModel as _0x2bf8b1,defaultWorksheetPermissionPoint as _0x425cad,getAllWorksheetPermissionPointByPointPanel as _0x425436,RangeProtectionRuleModel as _0x25606f,getAllRangePermissionPoint as _0x3831c2,UniverSheetsPlugin as _0x36a5db}from'@univerjs/sheets';import{ImageSourceType as _0xbb2960,ImageUploadStatusType as _0xff6d54,IImageIoService as _0x5695e0}from'@univerjs/drawing';import{getGlobalObject as _0x13e641}from'@univerjs-pro/license';const Dn=_0x3817ac(0x3e9),wn=_0x3817ac(0x32b),Un=_0x3817ac(0x2df),_o=_0x3817ac(0x40f),An=0x7d0,xn=_0x3817ac(0x498),Ln=_0x3817ac(0x3df),Mn=_0x3817ac(0x35b),$n=_0x3817ac(0x322),Hn=0x7530,Ii=_0x3817ac(0x31c),Ti=0x4e20,kn=0x4e20,jn=_0x3817ac(0x412),Bn=0x3,lo=_0x3817ac(0x3b4),uo=0x3e8,Fn='COLLAB_SUBMIT_CHANGESET_URL',Vn=_0x3817ac(0x299),Wn='LOGIN_URL_KEY',Gn=_0x3817ac(0x2aa),fo='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',vo=_0x3817ac(0x351);var Ci=(_0x43243c=>(_0x43243c[_0x43243c[_0x3817ac(0x329)]=0x0]=_0x3817ac(0x329),_0x43243c[_0x43243c['OK']=0x1]='OK',_0x43243c[_0x43243c[_0x3817ac(0x298)]=0x2]=_0x3817ac(0x298),_0x43243c[_0x43243c['PERMISSION_DENIED']=0x3]=_0x3817ac(0x218),_0x43243c[_0x43243c[_0x3817ac(0x2ac)]=0x4]=_0x3817ac(0x2ac),_0x43243c[_0x43243c[_0x3817ac(0x19d)]=0x5]=_0x3817ac(0x19d),_0x43243c[_0x43243c[_0x3817ac(0x1c4)]=0x6]=_0x3817ac(0x1c4),_0x43243c[_0x43243c[_0x3817ac(0x423)]=0x7]=_0x3817ac(0x423),_0x43243c[_0x43243c[_0x3817ac(0x485)]=0x8]='TOO_MANY_REQUESTS',_0x43243c[_0x43243c['COMPLETION_FINISHED']=0x9]=_0x3817ac(0x3d4),_0x43243c[_0x43243c[_0x3817ac(0x444)]=0x1389]=_0x3817ac(0x444),_0x43243c[_0x43243c[_0x3817ac(0x3d5)]=0x1771]=_0x3817ac(0x3d5),_0x43243c[_0x43243c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3817ac(0x461),_0x43243c[_0x43243c[_0x3817ac(0x1f8)]=0x1773]=_0x3817ac(0x1f8),_0x43243c[_0x43243c[_0x3817ac(0x1da)]=0x1b59]='APPLY_REJECT',_0x43243c[_0x43243c[_0x3817ac(0x359)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x43243c[_0x43243c[_0x3817ac(0x2cd)]=0x1b5b]=_0x3817ac(0x2cd),_0x43243c[_0x43243c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3817ac(0x2d0),_0x43243c[_0x43243c[_0x3817ac(0x2b9)]=0x1b5d]=_0x3817ac(0x2b9),_0x43243c[_0x43243c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3817ac(0x34b),_0x43243c[_0x43243c[_0x3817ac(0x267)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x43243c[_0x43243c[_0x3817ac(0x2a9)]=0x232a]=_0x3817ac(0x2a9),_0x43243c[_0x43243c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3817ac(0x365),_0x43243c[_0x43243c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3817ac(0x3ba),_0x43243c[_0x43243c[_0x3817ac(0x3af)]=0x232d]=_0x3817ac(0x3af),_0x43243c[_0x43243c[_0x3817ac(0x226)]=0x2711]=_0x3817ac(0x226),_0x43243c[_0x43243c[_0x3817ac(0x3e6)]=0x2712]=_0x3817ac(0x3e6),_0x43243c[_0x43243c[_0x3817ac(0x24b)]=0x2713]=_0x3817ac(0x24b),_0x43243c[_0x43243c[_0x3817ac(0x269)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x43243c[_0x43243c[_0x3817ac(0x360)]=-0x1]='UNRECOGNIZED',_0x43243c))(Ci||{}),Q=(_0xde918b=>(_0xde918b[_0xde918b['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0xde918b[_0xde918b[_0x3817ac(0x1f6)]=0x1]=_0x3817ac(0x1f6),_0xde918b[_0xde918b[_0x3817ac(0x2e1)]=0x2]=_0x3817ac(0x2e1),_0xde918b[_0xde918b[_0x3817ac(0x343)]=0x3]=_0x3817ac(0x343),_0xde918b[_0xde918b[_0x3817ac(0x286)]=0x4]='UNIVER_PROJECT',_0xde918b[_0xde918b['UNRECOGNIZED']=-0x1]=_0x3817ac(0x360),_0xde918b))(Q||{}),F=(_0x149d33=>(_0x149d33[_0x149d33[_0x3817ac(0x219)]=0x0]=_0x3817ac(0x219),_0x149d33[_0x149d33[_0x3817ac(0x262)]=0x1]=_0x3817ac(0x262),_0x149d33[_0x149d33[_0x3817ac(0x1a5)]=0x2]=_0x3817ac(0x1a5),_0x149d33[_0x149d33[_0x3817ac(0x3c0)]=0x3]='LEAVE',_0x149d33[_0x149d33[_0x3817ac(0x1b7)]=0x4]=_0x3817ac(0x1b7),_0x149d33[_0x149d33[_0x3817ac(0x1f1)]=0x5]=_0x3817ac(0x1f1),_0x149d33[_0x149d33[_0x3817ac(0x344)]=0x6]=_0x3817ac(0x344),_0x149d33[_0x149d33['UNRECOGNIZED']=-0x1]=_0x3817ac(0x360),_0x149d33))(F||{}),Ee=(_0x145f0f=>(_0x145f0f[_0x145f0f['UNKNOWN_CODE']=0x0]=_0x3817ac(0x200),_0x145f0f[_0x145f0f['OK']=0x1]='OK',_0x145f0f[_0x145f0f[_0x3817ac(0x341)]=0x2]=_0x3817ac(0x341),_0x145f0f[_0x145f0f[_0x3817ac(0x2be)]=0x3e9]=_0x3817ac(0x2be),_0x145f0f[_0x145f0f['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x145f0f[_0x145f0f[_0x3817ac(0x35a)]=0x3eb]=_0x3817ac(0x35a),_0x145f0f[_0x145f0f[_0x3817ac(0x20f)]=0x3ec]=_0x3817ac(0x20f),_0x145f0f[_0x145f0f[_0x3817ac(0x360)]=-0x1]=_0x3817ac(0x360),_0x145f0f))(Ee||{}),bi=(_0x48d03a=>(_0x48d03a[_0x48d03a[_0x3817ac(0x1e6)]=0x0]=_0x3817ac(0x1e6),_0x48d03a[_0x48d03a[_0x3817ac(0x256)]=0x1]=_0x3817ac(0x256),_0x48d03a[_0x48d03a['HttpExport']=0x2]=_0x3817ac(0x2e2),_0x48d03a[_0x48d03a[_0x3817ac(0x47f)]=0x3]='UnitEmbedded',_0x48d03a[_0x48d03a['UnitSnapshot']=0x4]='UnitSnapshot',_0x48d03a[_0x48d03a[_0x3817ac(0x360)]=-0x1]=_0x3817ac(0x360),_0x48d03a))(bi||{});const Y=_0x3817ac(0x2ce),zt={};var re=(_0x594e86=>(_0x594e86[_0x3817ac(0x456)]=_0x3817ac(0x456),_0x594e86[_0x3817ac(0x218)]=_0x3817ac(0x218),_0x594e86[_0x3817ac(0x42d)]=_0x3817ac(0x42d),_0x594e86[_0x3817ac(0x402)]=_0x3817ac(0x402),_0x594e86[_0x3817ac(0x3a3)]=_0x3817ac(0x3a3),_0x594e86['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x594e86[_0x3817ac(0x257)]=_0x3817ac(0x257),_0x594e86[_0x3817ac(0x23d)]=_0x3817ac(0x23d),_0x594e86))(re||{});class pe{constructor(){var _0x2fea7d=_0x3817ac;P(this,_0x2fea7d(0x1e0),new _0x560c85()),P(this,_0x2fea7d(0x1a7),this[_0x2fea7d(0x1e0)]['asObservable']());}[_0x3817ac(0x426)](_0x3bac2c){var _0x53a636=_0x3817ac;this[_0x53a636(0x1e0)][_0x53a636(0x394)](_0x3bac2c);}}const Kn=_0x526b95(_0x3817ac(0x3ca));function zn(_0x2c94a6){var _0x1967ed=_0x3817ac,_0x4a541f,_0x273d9b,_0x40b320,_0x1ccbf7,_0x1cf759;const _0x59a56d=_0x2c94a6[_0x1967ed(0x289)],_0x14f249=JSON[_0x1967ed(0x414)](_0x59a56d);switch(_0x14f249['cmd']){case F['HEARTBEAT']:case F['HELLO']:{const _0xc86d3=_0x14f249[_0x1967ed(0x2ee)];return{..._0x14f249,'data':_0xc86d3,'cmd':_0x14f249[_0x1967ed(0x427)]};}case F['JOIN']:{const _0xc04b20=_0x14f249[_0x1967ed(0x3ff)];return{..._0x14f249,'data':_0xc04b20,'cmd':_0x14f249[_0x1967ed(0x427)]};}case F[_0x1967ed(0x344)]:{const _0x401c16=_0x14f249[_0x1967ed(0x271)];switch(_0x401c16[_0x1967ed(0x40b)]){case _0x48cdf6['PERMISSION_REJ']:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x4a541f=_0x401c16[_0x1967ed(0x312)])==null?void 0x0:_0x4a541f['cs']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x1e2)]:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x273d9b=_0x401c16[_0x1967ed(0x30f)])==null?void 0x0:_0x273d9b['cs']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6['NEW_CHANGESETS']:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x40b320=_0x401c16[_0x1967ed(0x1ad)])==null?void 0x0:_0x40b320['cs']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x436)]:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x1ccbf7=_0x401c16[_0x1967ed(0x446)])==null?void 0x0:_0x1ccbf7['cs']},'cmd':_0x14f249['cmd']};case _0x48cdf6[_0x1967ed(0x20d)]:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x1cf759=_0x401c16[_0x1967ed(0x215)])==null?void 0x0:_0x1cf759['cs']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x353)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16['updateCursorEvent']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x208)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x448)]},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x27e)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x372)]},'cmd':_0x14f249['cmd']};case _0x48cdf6[_0x1967ed(0x25e)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x3ea)]},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x31f)]:case _0x48cdf6[_0x1967ed(0x1d3)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x338)]},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x2fc)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16['liveShareNewHost']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x1e3)]:return{..._0x14f249,'data':_0x401c16,'cmd':_0x14f249['cmd']};case _0x48cdf6[_0x1967ed(0x209)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16['commentUpdateEvent']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x266)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x21f)]},'cmd':_0x14f249['cmd']};case _0x48cdf6[_0x1967ed(0x3f2)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x4a8)]},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x1f7)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x325)]},'cmd':_0x14f249['cmd']};default:return _0x14f249;}}default:return _0x14f249;}}function Yn(_0x3f81f0){var _0x11640b=_0x3817ac;switch(_0x3f81f0['cmd']){case F['HEARTBEAT']:case F[_0x11640b(0x262)]:return JSON[_0x11640b(0x274)]({'cmd':_0x3f81f0[_0x11640b(0x427)],'routeKey':_0x3f81f0[_0x11640b(0x233)]});case F[_0x11640b(0x1b7)]:{let _0x4effa4;switch(_0x3f81f0[_0x11640b(0x289)]['eventID']){case _0x48cdf6[_0x11640b(0x353)]:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x353)],'updateCursorEvent':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x27e)]:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x27e)],'leaveEvent':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x208)]:{_0x4effa4={'eventID':_0x48cdf6['USERS_ENTER'],'joinEvent':_0x3f81f0['data'][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x25e)]:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x25e)],'liveShareNewHost':_0x3f81f0[_0x11640b(0x289)]['data']};break;}case _0x48cdf6[_0x11640b(0x1d3)]:{_0x4effa4={'eventID':_0x48cdf6['LIVESHARE_OPERATION'],'liveShareOperation':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6['LIVESHARE_TERMINATE']:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x2fc)],'liveShareTerminate':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x1b1)]:{_0x4effa4={'eventID':_0x48cdf6['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x31f)]:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x31f)]};break;}default:_0x4effa4={'eventID':_0x3f81f0[_0x11640b(0x289)]['eventID']};}return JSON['stringify']({'cmd':_0x3f81f0[_0x11640b(0x427)],'routeKey':_0x3f81f0[_0x11640b(0x233)],'collaMsg':_0x4effa4});}case F[_0x11640b(0x1a5)]:return JSON['stringify']({'cmd':_0x3f81f0[_0x11640b(0x427)],'routeKey':_0x3f81f0['routeKey'],'joinReq':_0x3f81f0[_0x11640b(0x289)]});case F[_0x11640b(0x3c0)]:return JSON['stringify']({'cmd':_0x3f81f0[_0x11640b(0x427)],'routeKey':_0x3f81f0[_0x11640b(0x233)],'leaveReq':_0x3f81f0[_0x11640b(0x289)]});default:throw new Error(_0x11640b(0x250));}}var qn=Object['defineProperty'],Jn=Object[_0x3817ac(0x1df)],Xn=(_0x5a8ad5,_0x2af060,_0xdd3387,_0x376dd3)=>{for(var _0x1787fc=_0x376dd3>0x1?void 0x0:_0x376dd3?Jn(_0x2af060,_0xdd3387):_0x2af060,_0x23f783=_0x5a8ad5['length']-0x1,_0x2ef56c;_0x23f783>=0x0;_0x23f783--)(_0x2ef56c=_0x5a8ad5[_0x23f783])&&(_0x1787fc=(_0x376dd3?_0x2ef56c(_0x2af060,_0xdd3387,_0x1787fc):_0x2ef56c(_0x1787fc))||_0x1787fc);return _0x376dd3&&_0x1787fc&&qn(_0x2af060,_0xdd3387,_0x1787fc),_0x1787fc;},Ue=(_0x1cb80b,_0x52b9a1)=>(_0x102a5c,_0x47cb64)=>_0x52b9a1(_0x102a5c,_0x47cb64,_0x1cb80b);const Ri=_0x526b95(_0x3817ac(0x331));function Zn(_0x206726,_0x372b5b,_0x33a6da){return _0x206726+'/'+_0x372b5b+'/unit/'+_0x33a6da+'/new_changes';}let It=class extends _0x4c5e0f{constructor(_0x58f5ec,_0x3f3c00,_0x9003a8,_0x283ac8,_0x2a1280){var _0x20bc3c=_0x3817ac;super(),this['_injector']=_0x58f5ec,this[_0x20bc3c(0x437)]=_0x3f3c00,this[_0x20bc3c(0x2e5)]=_0x9003a8,this['_logService']=_0x283ac8,this[_0x20bc3c(0x42f)]=_0x2a1280;}[_0x3817ac(0x39f)](_0x4e0b70){var _0xaa364e=_0x3817ac;const _0x45d7b6=this['_injector'][_0xaa364e(0x1b5)](_0x222759);if(!_0x45d7b6)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x32ab42=_0x45d7b6[_0xaa364e(0x39f)](_0x4e0b70);if(!_0x32ab42)throw new Error(_0xaa364e(0x239));const _0x5883e8=new _0x345077(),_0x3e0d00=new _0x560c85();_0x5883e8[_0xaa364e(0x281)](_0x32ab42['close$']['subscribe'](_0x330c24=>_0x3e0d00[_0xaa364e(0x394)](_0x330c24))),_0x5883e8[_0xaa364e(0x281)](_0x3282bc(()=>_0x3e0d00[_0xaa364e(0x44a)]()));const _0x15977e=new _0x560c85();_0x5883e8[_0xaa364e(0x281)](_0x32ab42[_0xaa364e(0x475)][_0xaa364e(0x3da)](_0x22a5bc=>_0x15977e['next'](_0x22a5bc))),_0x5883e8['add'](_0x3282bc(()=>_0x15977e[_0xaa364e(0x44a)]()));const _0x133e2f=new _0x560c85();_0x5883e8[_0xaa364e(0x281)](_0x32ab42[_0xaa364e(0x345)]['subscribe'](_0x4abbf7=>{var _0x52ad32=_0xaa364e;const _0x10138f=zn(_0x4abbf7);_0x133e2f[_0x52ad32(0x394)](_0x10138f);})),_0x5883e8[_0xaa364e(0x281)](_0x3282bc(()=>_0x133e2f[_0xaa364e(0x44a)]()));let _0x40280e;const _0x3bbeb2=()=>{var _0x3f5a22=_0xaa364e;_0x15977e[_0x3f5a22(0x394)](new Event(_0x3f5a22(0x36c))),_0x3e0d00[_0x3f5a22(0x394)](new CloseEvent('connection\x20error')),_0x40280e['close']();};return _0x40280e={'memberID':'','close$':_0x3e0d00[_0xaa364e(0x34a)](),'error$':_0x15977e[_0xaa364e(0x34a)](),'open$':_0x32ab42[_0xaa364e(0x452)],'message$':_0x133e2f['asObservable'](),'send':_0x22ee28=>{var _0x5ece08=_0xaa364e;if(_0x22ee28[_0x5ece08(0x427)]===F[_0x5ece08(0x1b7)]){if(_0x22ee28[_0x5ece08(0x289)]['eventID']===_0x48cdf6['SUBMIT_CHANGESET']){this[_0x5ece08(0x1cd)](_0x40280e,_0x22ee28['data'])[_0x5ece08(0x43a)](_0x56962c=>{var _0x4822a9=_0x5ece08;this[_0x4822a9(0x334)]['error'](_0x56962c),_0x3bbeb2();});return;}if(_0x22ee28[_0x5ece08(0x289)][_0x5ece08(0x40b)]===_0x48cdf6[_0x5ece08(0x216)]){const _0x50637=_0x22ee28[_0x5ece08(0x289)];this['_fetchMissChangesets'](_0x50637)['then'](_0x3bc77f=>{var _0x1e35f9=_0x5ece08;_0x133e2f[_0x1e35f9(0x394)]({'cmd':F[_0x1e35f9(0x344)],'code':Ee['OK'],'routeKey':_0x50637[_0x1e35f9(0x289)][_0x1e35f9(0x22f)],'routeType':'','data':{'eventID':_0x48cdf6[_0x1e35f9(0x2b8)],'data':{'changesets':_0x3bc77f}}});})[_0x5ece08(0x43a)](_0x1ccd39=>{var _0x34a977=_0x5ece08;this[_0x34a977(0x334)][_0x34a977(0x2d3)](_0x1ccd39),_0x3bbeb2();});return;}}_0x32ab42[_0x5ece08(0x3bb)](Yn(_0x22ee28));},'close':()=>{_0x32ab42['close'](),_0x5883e8['dispose']();}},_0x40280e;}async[_0x3817ac(0x1cd)](_0xd44e85,_0x1e0f47){var _0x3ed176=_0x3817ac,_0x577673,_0x1b7511;const {unitType:_0x351c69,unitID:_0x1064cd,changeset:_0x3a403}=_0x1e0f47[_0x3ed176(0x289)],_0x11b379={'unitID':_0x1064cd,'memberID':_0xd44e85[_0x3ed176(0x311)],'type':_0x351c69,'changeset':_0x830f4a(_0x3a403)},_0xed22db=this[_0x3ed176(0x2e5)][_0x3ed176(0x3a7)](Fn),_0x59fb74=this[_0x3ed176(0x2e5)]['getConfig'](Y),_0x1ad8c0=Zn((_0x1b7511=(_0x577673=_0x59fb74==null?void 0x0:_0x59fb74[_0x3ed176(0x1ca)])!=null?_0x577673:_0xed22db)!=null?_0x1b7511:Vn,_0x351c69,_0x1064cd);try{await this[_0x3ed176(0x437)][_0x3ed176(0x3e7)](_0x1ad8c0,{'body':_0x11b379});}catch(_0x2ed57e){throw this[_0x3ed176(0x334)][_0x3ed176(0x2d3)](_0x3ed176(0x391),_0x3ed176(0x44c)),_0x2ed57e;}}async[_0x3817ac(0x307)](_0x527e0d){var _0x3aa373=_0x3817ac;const {unitID:_0x5f400f,from:_0x2930a3,to:_0xb64092,unitType:_0x510c91}=_0x527e0d[_0x3aa373(0x289)];return(await this[_0x3aa373(0x42f)][_0x3aa373(0x488)]({'metadata':void 0x0},{'unitID':_0x5f400f,'type':_0x510c91,'from':_0x2930a3,'to':_0xb64092}))[_0x3aa373(0x2a1)];}};It=Xn([Ue(0x0,_0x880ce4(_0x28aed1)),Ue(0x1,_0x880ce4(_0x157352)),Ue(0x2,_0x268506),Ue(0x3,_0x3b11ba),Ue(0x4,_0x2e5790)],It);const Qn='collaboration_new_changeset';function es(_0x3a6dc0){var _0x15334c=_0x3817ac;return JSON['stringify'](_0x3a6dc0)[_0x15334c(0x450)];}class yi{constructor(){var _0x54757b=_0x3817ac;P(this,_0x54757b(0x1dc),new _0x560c85()),P(this,_0x54757b(0x22e),this['_commentUpdate$']['asObservable']());}[_0x3817ac(0x26f)](_0x23059a){var _0x107c7f=_0x3817ac;this['_commentUpdate$'][_0x107c7f(0x394)](_0x23059a);}}var ts=Object[_0x3817ac(0x3b8)],is=Object['getOwnPropertyDescriptor'],ns=(_0x44abf8,_0x2ef582,_0x76d3ac,_0x4c15b2)=>{var _0x4a0e61=_0x3817ac;for(var _0x5e1ca3=_0x4c15b2>0x1?void 0x0:_0x4c15b2?is(_0x2ef582,_0x76d3ac):_0x2ef582,_0x1b11e2=_0x44abf8[_0x4a0e61(0x450)]-0x1,_0x2381dc;_0x1b11e2>=0x0;_0x1b11e2--)(_0x2381dc=_0x44abf8[_0x1b11e2])&&(_0x5e1ca3=(_0x4c15b2?_0x2381dc(_0x2ef582,_0x76d3ac,_0x5e1ca3):_0x2381dc(_0x5e1ca3))||_0x5e1ca3);return _0x4c15b2&&_0x5e1ca3&&ts(_0x2ef582,_0x76d3ac,_0x5e1ca3),_0x5e1ca3;},Yt=(_0x46378a,_0x2a866a)=>(_0x39630b,_0x34b321)=>_0x2a866a(_0x39630b,_0x34b321,_0x46378a);let xe=class extends _0x4c5e0f{constructor(_0x453a24,_0x184c4f){var _0x4b19a6=_0x3817ac;super(),P(this,_0x4b19a6(0x45b),new Map()),P(this,_0x4b19a6(0x3a9),new _0x560c85()),(this['_univerInstanceService']=_0x453a24,this[_0x4b19a6(0x49b)]=_0x184c4f,this[_0x4b19a6(0x38f)](_0x30e992(this[_0x4b19a6(0x3cf)][_0x4b19a6(0x313)](_0x1f11e9[_0x4b19a6(0x2e1)])[_0x4b19a6(0x37a)](_0x24684d(_0x26b6e7=>_0x26b6e7[_0x4b19a6(0x370)]())),this[_0x4b19a6(0x3cf)][_0x4b19a6(0x313)](_0x1f11e9[_0x4b19a6(0x1f6)])[_0x4b19a6(0x37a)](_0x24684d(_0x278eaa=>_0x278eaa[_0x4b19a6(0x370)]())),this[_0x4b19a6(0x3cf)]['getTypeOfUnitDisposed$'](_0x1f11e9['UNIVER_SLIDE'])[_0x4b19a6(0x37a)](_0x24684d(_0x4d4e3f=>_0x4d4e3f[_0x4b19a6(0x370)]())))[_0x4b19a6(0x3da)](_0x52ad29=>this[_0x4b19a6(0x471)](_0x52ad29))));}[_0x3817ac(0x47d)](_0x260322){var _0x2f732f=_0x3817ac;return this[_0x2f732f(0x45b)]['has'](_0x260322)?_0x41a794(this['_roomMembers'][_0x2f732f(0x1b5)](_0x260322)):this[_0x2f732f(0x3a9)][_0x2f732f(0x37a)](_0x24684d(_0x731cb0=>{if(_0x731cb0===_0x260322)return this['_roomMembers']['get'](_0x731cb0);}));}['setCurrentUser'](_0xdbac4b){var _0x540372=_0x3817ac;this[_0x540372(0x49b)][_0x540372(0x2b2)](_0xdbac4b);}[_0x3817ac(0x459)](){var _0x2cb5cc=_0x3817ac;return this['_userManagerService'][_0x2cb5cc(0x459)]();}[_0x3817ac(0x20c)](_0x5895e9,_0x5d8d5f){var _0x3b92c7=_0x3817ac;let _0x107a2f=this[_0x3b92c7(0x45b)]['get'](_0x5895e9);_0x107a2f||(_0x107a2f=new ss(),this[_0x3b92c7(0x45b)][_0x3b92c7(0x3dd)](_0x5895e9,_0x107a2f),this[_0x3b92c7(0x3a9)][_0x3b92c7(0x394)](_0x5895e9)),_0x107a2f['updateMember'](_0x5d8d5f);}[_0x3817ac(0x3e8)](_0x43694d,_0x25b8a1){var _0x306ffc=_0x3817ac;const _0x32f0fc=this[_0x306ffc(0x45b)][_0x306ffc(0x1b5)](_0x43694d);_0x32f0fc&&_0x32f0fc[_0x306ffc(0x3e8)](_0x25b8a1);}[_0x3817ac(0x411)](_0x634497){var _0x173baf=_0x3817ac;return this[_0x173baf(0x45b)][_0x173baf(0x1b5)](_0x634497);}[_0x3817ac(0x1f5)](_0x3e842d,_0xa2df13){var _0x314053=_0x3817ac;const _0x218ff9=this[_0x314053(0x45b)][_0x314053(0x1b5)](_0x3e842d);if(_0x218ff9)return _0x218ff9[_0x314053(0x1f5)](_0xa2df13);}[_0x3817ac(0x471)](_0x48e4dc){var _0xc5217=_0x3817ac;const _0x2e5d68=this[_0xc5217(0x45b)][_0xc5217(0x1b5)](_0x48e4dc);_0x2e5d68&&(_0x2e5d68['dispose'](),this[_0xc5217(0x45b)][_0xc5217(0x220)](_0x48e4dc));}[_0x3817ac(0x42b)](){var _0xbb222c=_0x3817ac;this[_0xbb222c(0x45b)][_0xbb222c(0x28f)](_0x41438c=>_0x41438c[_0xbb222c(0x42b)]()),this['_roomMembers'][_0xbb222c(0x24e)](),this[_0xbb222c(0x3a9)][_0xbb222c(0x44a)]();}};xe=ns([Yt(0x0,_0x369bbf),Yt(0x1,_0x880ce4(_0x41099))],xe);class ss extends _0x4c5e0f{constructor(){var _0x4d6e3a=_0x3817ac;super(...arguments),P(this,'_members',new Map()),P(this,_0x4d6e3a(0x2f8),new _0x576e29(this['_members'])),P(this,_0x4d6e3a(0x1c3),this['_members$']['asObservable']());}['dispose'](){this['_members']['clear']();}[_0x3817ac(0x20c)](_0x1f1f75){var _0x2bf9f5=_0x3817ac;this[_0x2bf9f5(0x3b1)][_0x2bf9f5(0x3dd)](_0x1f1f75[_0x2bf9f5(0x311)],_0x1f1f75),this[_0x2bf9f5(0x4a1)]();}[_0x3817ac(0x3e8)](_0x27a079){var _0x568dcd=_0x3817ac;this[_0x568dcd(0x3b1)][_0x568dcd(0x220)](_0x27a079);}[_0x3817ac(0x1f5)](_0x56e272){var _0xa2b989=_0x3817ac;return this['_members'][_0xa2b989(0x1b5)](_0x56e272);}[_0x3817ac(0x464)](){var _0x358286=_0x3817ac;return Array[_0x358286(0x3a2)](this[_0x358286(0x3b1)][_0x358286(0x21d)]());}[_0x3817ac(0x4a1)](){var _0x5a0bc5=_0x3817ac;this[_0x5a0bc5(0x2f8)][_0x5a0bc5(0x394)](this[_0x5a0bc5(0x3b1)]);}}var rs=Object[_0x3817ac(0x3b8)],os=Object[_0x3817ac(0x1df)],as=(_0x2e14d5,_0xb680c5,_0x21e49c,_0x1e44a4)=>{for(var _0x59da63=_0x1e44a4>0x1?void 0x0:_0x1e44a4?os(_0xb680c5,_0x21e49c):_0xb680c5,_0x3ebef9=_0x2e14d5['length']-0x1,_0x37213f;_0x3ebef9>=0x0;_0x3ebef9--)(_0x37213f=_0x2e14d5[_0x3ebef9])&&(_0x59da63=(_0x1e44a4?_0x37213f(_0xb680c5,_0x21e49c,_0x59da63):_0x37213f(_0x59da63))||_0x59da63);return _0x1e44a4&&_0x59da63&&rs(_0xb680c5,_0x21e49c,_0x59da63),_0x59da63;},me=(_0x576fd4,_0x45ba32)=>(_0x356f33,_0x583350)=>_0x45ba32(_0x356f33,_0x583350,_0x576fd4),Te=(_0x88dac8=>(_0x88dac8[_0x88dac8[_0x3817ac(0x3e4)]=0x0]=_0x3817ac(0x3e4),_0x88dac8[_0x88dac8['JOINING']=0x1]=_0x3817ac(0x1c6),_0x88dac8[_0x88dac8[_0x3817ac(0x41a)]=0x2]=_0x3817ac(0x41a),_0x88dac8[_0x88dac8['ONLINE']=0x3]=_0x3817ac(0x348),_0x88dac8))(Te||{});const qt={[Ee[_0x3817ac(0x341)]]:_0x3817ac(0x3be),[Ee['JOIN_ROOM_FULL']]:_0x3817ac(0x3cc),[Ee[_0x3817ac(0x445)]]:'session.room-not-exists',[Ee[_0x3817ac(0x35a)]]:'session.room-permission-denied',[Ee[_0x3817ac(0x20f)]]:_0x3817ac(0x435)};let Tt=class extends _0x9c8dcc{constructor(_0x463b79,_0x372898,_0x1d5774,_0x48a6e6,_0x5b3aad,_0x378971,_0x50192d,_0x10e249,_0x1633b6){var _0x2492d2=_0x3817ac;super(),P(this,_0x2492d2(0x1ac),new _0x576e29(0x0)),P(this,_0x2492d2(0x32d),this[_0x2492d2(0x1ac)][_0x2492d2(0x34a)]()),P(this,'_event$',new _0x560c85()),P(this,_0x2492d2(0x1a7),this[_0x2492d2(0x1e0)][_0x2492d2(0x34a)]()),P(this,'_socket'),P(this,'_socketMessageSubscription'),P(this,_0x2492d2(0x1bd)),P(this,_0x2492d2(0x2fa),!0x1),P(this,_0x2492d2(0x25b),null),(this[_0x2492d2(0x1af)]=_0x463b79,this['_logService']=_0x1d5774,this['_configService']=_0x48a6e6,this['_localeService']=_0x5b3aad,this[_0x2492d2(0x3ac)]=_0x378971,this[_0x2492d2(0x380)]=_0x50192d,this[_0x2492d2(0x46b)]=_0x10e249,this[_0x2492d2(0x407)]=_0x1633b6,this[_0x2492d2(0x2fa)]=!!this[_0x2492d2(0x407)],_0x372898[_0x2492d2(0x37a)](_0x44ee9f(this['dispose$']))[_0x2492d2(0x3da)](_0x2370e6=>{var _0x3b7557=_0x2492d2,_0x3e9596;typeof _0x2370e6>'u'||(this[_0x3b7557(0x367)]=_0x2370e6,_0x2370e6?(this['_joinRoom'](_0x2370e6),this['_socketMessageSubscription']=_0x2370e6['message$'][_0x3b7557(0x3da)](_0x177646=>{var _0x1c64e3=_0x3b7557;_0x177646['routeKey']===this['_unitID']&&this[_0x1c64e3(0x49e)](_0x177646);})):(this[_0x3b7557(0x3a1)](),this['_sessionStatus$'][_0x3b7557(0x394)](0x2),(_0x3e9596=this[_0x3b7557(0x3c5)])==null||_0x3e9596['unsubscribe'](),this[_0x3b7557(0x3c5)]=null));}));}get['sessionStatus'](){var _0x241abd=_0x3817ac;return this[_0x241abd(0x1ac)]['getValue']();}[_0x3817ac(0x319)](){var _0x4ebb82=_0x3817ac,_0x28fa25,_0x560c49;return(_0x560c49=(_0x28fa25=this['_socket'])==null?void 0x0:_0x28fa25[_0x4ebb82(0x311)])!=null?_0x560c49:null;}['dispose'](){var _0x192780=_0x3817ac;super[_0x192780(0x42b)](),this[_0x192780(0x2e8)][_0x192780(0x394)](),this[_0x192780(0x2e8)][_0x192780(0x44a)]();}[_0x3817ac(0x32f)](){var _0x438882=_0x3817ac,_0x5a7ad8,_0x17e940;this[_0x438882(0x3a1)](),(_0x5a7ad8=this[_0x438882(0x367)])==null||_0x5a7ad8['send']({'cmd':F['LEAVE'],'data':{'roomID':this[_0x438882(0x1af)]}}),(_0x17e940=this[_0x438882(0x367)])==null||_0x17e940['close'](),this[_0x438882(0x1e0)][_0x438882(0x44a)](),this[_0x438882(0x1ac)]['complete'](),this[_0x438882(0x42b)]();}[_0x3817ac(0x49e)](_0x5bf78a){var _0x57cb31=_0x3817ac;_0x5bf78a[_0x57cb31(0x427)]===F[_0x57cb31(0x1a5)]?this['_onJoinRoomEvent'](_0x5bf78a):_0x5bf78a['cmd']===F[_0x57cb31(0x344)]&&this[_0x57cb31(0x31e)](_0x5bf78a);}['_joinRoom'](_0x109f8d){var _0x480953=_0x3817ac;this[_0x480953(0x1ac)][_0x480953(0x394)](0x1),_0x109f8d['send']({'cmd':F[_0x480953(0x1a5)],'routeKey':this[_0x480953(0x1af)],'routeType':'','data':{'rooms':[{'roomID':this[_0x480953(0x1af)]}]}});}[_0x3817ac(0x497)](_0x1db3d3){var _0xc15102=_0x3817ac,_0x4870e1;if(_0x1db3d3[_0xc15102(0x41c)]in qt){this[_0xc15102(0x46b)]['emitEvent']({'id':re[_0xc15102(0x3a3)],'data':qt[_0x1db3d3[_0xc15102(0x41c)]]}),this['_sessionStatus$'][_0xc15102(0x394)](0x2);return;}this['_sessionStatus$'][_0xc15102(0x394)](0x3);const _0x30902d=(_0x4870e1=_0x1db3d3[_0xc15102(0x289)][_0xc15102(0x315)][this[_0xc15102(0x1af)]])==null?void 0x0:_0x4870e1[_0xc15102(0x2ef)];_0x30902d&&_0x30902d['forEach'](_0xc731c7=>this[_0xc15102(0x3ac)][_0xc15102(0x20c)](this[_0xc15102(0x1af)],_0xc731c7));}[_0x3817ac(0x31e)](_0x3d0eb0){var _0x200fc3=_0x3817ac;try{const _0x2eb22d=_0x3d0eb0[_0x200fc3(0x289)];switch(_0x2eb22d[_0x200fc3(0x40b)]){case _0x48cdf6[_0x200fc3(0x208)]:this[_0x200fc3(0x2bf)](_0x2eb22d),this[_0x200fc3(0x1e0)]['next'](_0x2eb22d);break;case _0x48cdf6[_0x200fc3(0x27e)]:this[_0x200fc3(0x463)](_0x2eb22d),this[_0x200fc3(0x1e0)][_0x200fc3(0x394)](_0x2eb22d);break;case _0x48cdf6[_0x200fc3(0x1e2)]:case _0x48cdf6[_0x200fc3(0x20d)]:this[_0x200fc3(0x305)](),this[_0x200fc3(0x451)](),this['_event$']['next'](_0x2eb22d);break;case _0x48cdf6['MSG_FOR_ERROR']:this[_0x200fc3(0x334)][_0x200fc3(0x2d3)](_0x200fc3(0x28b)+JSON[_0x200fc3(0x274)](_0x2eb22d)),this[_0x200fc3(0x1e0)][_0x200fc3(0x394)](_0x2eb22d);break;case _0x48cdf6[_0x200fc3(0x209)]:this[_0x200fc3(0x380)][_0x200fc3(0x26f)](_0x2eb22d[_0x200fc3(0x289)]),this[_0x200fc3(0x1e0)]['next'](_0x2eb22d);break;default:this[_0x200fc3(0x1e0)]['next'](_0x2eb22d);}}catch(_0x278252){this['_logService'][_0x200fc3(0x2d3)](_0x278252,_0x3d0eb0);}}[_0x3817ac(0x2bf)](_0x53d6ef){var _0x569c20=_0x3817ac;this[_0x569c20(0x3ac)]['updateMember'](this['_unitID'],_0x53d6ef[_0x569c20(0x289)]);}[_0x3817ac(0x463)](_0x20b9e0){var _0x5fbd68=_0x3817ac;this[_0x5fbd68(0x3ac)][_0x5fbd68(0x3e8)](this[_0x5fbd68(0x1af)],_0x20b9e0[_0x5fbd68(0x289)][_0x5fbd68(0x311)]);}async[_0x3817ac(0x3bb)](_0xee6010,_0x5cbd8d){var _0x3f2389=_0x3817ac;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xee6010[_0x3f2389(0x40b)]===_0x48cdf6[_0x3f2389(0x374)]&&(this[_0x3f2389(0x474)](),this[_0x3f2389(0x405)](_0xee6010)),this[_0x3f2389(0x367)]['send']({'cmd':F[_0x3f2389(0x1b7)],'routeKey':_0x5cbd8d,'routeType':'','data':_0xee6010});}catch(_0x296dea){this[_0x3f2389(0x334)][_0x3f2389(0x2d3)](_0x296dea);}}[_0x3817ac(0x474)](){var _0x34ce67=_0x3817ac,_0x106ad8;this[_0x34ce67(0x1bd)]=setTimeout(()=>{var _0xbc8f2b=_0x34ce67;this[_0xbc8f2b(0x1bd)]=null,this[_0xbc8f2b(0x46b)][_0xbc8f2b(0x426)]({'id':re[_0xbc8f2b(0x23d)]});},(_0x106ad8=this['_configService']['getConfig'](Ii))!=null?_0x106ad8:Ti);}[_0x3817ac(0x451)](){var _0x3bb8cd=_0x3817ac;this[_0x3bb8cd(0x1bd)]&&(clearTimeout(this[_0x3bb8cd(0x1bd)]),this['_collaborationTimeoutTimer']=null);}[_0x3817ac(0x405)](_0x119c34){var _0x47cd6c=_0x3817ac;if(!this[_0x47cd6c(0x2fa)])return;const {data:_0x54cbf6}=_0x119c34,{unitID:_0x2f3704,changeset:_0x2188ed}=_0x54cbf6,{mutations:_0x5825a2,type:_0x559ef1}=_0x2188ed;this['_telemetryInfo']={'unitId':_0x2f3704,'type':_0x559ef1,'startTime':performance[_0x47cd6c(0x4ac)](),'stopTime':0x0,'duration':0x0,'size':es(_0x5825a2)};}[_0x3817ac(0x305)](){var _0x575303=_0x3817ac;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x575303(0x334)][_0x575303(0x2d3)]('[CollaborationSession]',_0x575303(0x291));return;}this[_0x575303(0x25b)]['stopTime']=performance['now'](),this[_0x575303(0x25b)][_0x575303(0x33c)]=this[_0x575303(0x25b)][_0x575303(0x1b8)]-this[_0x575303(0x25b)][_0x575303(0x3de)],this[_0x575303(0x407)]['capture'](Qn,this[_0x575303(0x25b)]),this['_telemetryInfo']=null;}}[_0x3817ac(0x3a1)](){this['_telemetryInfo']=null;}};Tt=as([me(0x2,_0x3b11ba),me(0x3,_0x268506),me(0x4,_0x880ce4(_0x42e13a)),me(0x5,_0x880ce4(xe)),me(0x6,_0x880ce4(yi)),me(0x7,_0x880ce4(pe)),me(0x8,_0x1d2db0(_0x2e5b5e))],Tt);var cs=Object[_0x3817ac(0x3b8)],hs=Object[_0x3817ac(0x1df)],_s=(_0x8246ee,_0x464adc,_0x41def7,_0x15f911)=>{var _0x5bd23e=_0x3817ac;for(var _0x29199e=_0x15f911>0x1?void 0x0:_0x15f911?hs(_0x464adc,_0x41def7):_0x464adc,_0x4b7598=_0x8246ee[_0x5bd23e(0x450)]-0x1,_0x1a8ffc;_0x4b7598>=0x0;_0x4b7598--)(_0x1a8ffc=_0x8246ee[_0x4b7598])&&(_0x29199e=(_0x15f911?_0x1a8ffc(_0x464adc,_0x41def7,_0x29199e):_0x1a8ffc(_0x29199e))||_0x29199e);return _0x15f911&&_0x29199e&&cs(_0x464adc,_0x41def7,_0x29199e),_0x29199e;},ge=(_0x1c2771,_0x450f80)=>(_0x132e0c,_0x4f1f2b)=>_0x450f80(_0x132e0c,_0x4f1f2b,_0x1c2771);let Le=class extends _0x4c5e0f{constructor(_0x1e49e6,_0x565fd8,_0x253bd7,_0x414a55,_0x8a1a5f,_0x4a6cb7,_0x16be53){var _0x10cf4b=_0x3817ac;super(),P(this,_0x10cf4b(0x434),new _0x576e29(void 0x0)),P(this,_0x10cf4b(0x480),this['_socket$'][_0x10cf4b(0x34a)]()),P(this,_0x10cf4b(0x3db),null),P(this,_0x10cf4b(0x324),new Map()),P(this,'_status$',new _0x576e29(Te[_0x10cf4b(0x3e4)])),P(this,_0x10cf4b(0x340),this[_0x10cf4b(0x2b5)][_0x10cf4b(0x34a)]()),P(this,'_socketReady',!0x1),P(this,_0x10cf4b(0x410)),P(this,_0x10cf4b(0x1fb),0x0),P(this,_0x10cf4b(0x263)),P(this,_0x10cf4b(0x19a)),(this['_injector']=_0x1e49e6,this['_logService']=_0x565fd8,this[_0x10cf4b(0x2e5)]=_0x253bd7,this[_0x10cf4b(0x229)]=_0x414a55,this[_0x10cf4b(0x3d2)]=_0x8a1a5f,this['_collaborationUIEventService']=_0x4a6cb7,this[_0x10cf4b(0x1c9)]=_0x16be53,this[_0x10cf4b(0x368)]());}get[_0x3817ac(0x367)](){var _0x4c8733=_0x3817ac;return this[_0x4c8733(0x434)][_0x4c8733(0x45a)]();}[_0x3817ac(0x368)](){var _0x2bc458=_0x3817ac;this[_0x2bc458(0x1c9)]&&this[_0x2bc458(0x38f)](this['_networkConditionService'][_0x2bc458(0x1b4)][_0x2bc458(0x3da)](_0x369c4f=>{var _0x1372c3=_0x2bc458;_0x369c4f&&!this[_0x1372c3(0x367)]&&this[_0x1372c3(0x34c)](),_0x369c4f||this[_0x1372c3(0x428)]();}));}[_0x3817ac(0x42b)](){var _0x34d23b=_0x3817ac;super[_0x34d23b(0x42b)](),this['_sessions']['forEach'](_0x24dda7=>_0x24dda7[_0x34d23b(0x42b)]()),this[_0x34d23b(0x324)][_0x34d23b(0x24e)](),this[_0x34d23b(0x2b5)][_0x34d23b(0x44a)]();}async[_0x3817ac(0x310)](_0x5bf086){var _0x43e225=_0x3817ac;if(this['_sessions'][_0x43e225(0x303)](_0x5bf086))return this['_sessions'][_0x43e225(0x1b5)](_0x5bf086);this['_tryEnsureSocket']();const _0x3142dd=this['_injector'][_0x43e225(0x440)](Tt,_0x5bf086,this[_0x43e225(0x434)][_0x43e225(0x34a)]());return this[_0x43e225(0x324)][_0x43e225(0x3dd)](_0x5bf086,_0x3142dd),_0x3142dd;}['closeSession'](_0x462f15){var _0x51e41e=_0x3817ac,_0x35d7f9;const _0x34ca9f=this[_0x51e41e(0x324)][_0x51e41e(0x1b5)](_0x462f15);_0x34ca9f&&(this[_0x51e41e(0x324)][_0x51e41e(0x220)](_0x462f15),_0x34ca9f[_0x51e41e(0x32f)]()),this[_0x51e41e(0x324)]['size']||(_0x35d7f9=this[_0x51e41e(0x367)])==null||_0x35d7f9[_0x51e41e(0x32f)]();}[_0x3817ac(0x34c)](){var _0x2be57b=_0x3817ac;this[_0x2be57b(0x1fb)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x2be57b(0x3c6)]();}async['_getSessionTicket'](){var _0x4ef4ef=_0x3817ac,_0x20975f,_0x5930bf,_0x1e5676;const _0xc18b96=this[_0x4ef4ef(0x2e5)][_0x4ef4ef(0x3a7)](Y),_0x44188c=(_0x20975f=_0xc18b96==null?void 0x0:_0xc18b96[_0x4ef4ef(0x1ef)])!=null?_0x20975f:Mn;return(_0x1e5676=(_0x5930bf=(await this[_0x4ef4ef(0x3d2)][_0x4ef4ef(0x1b5)](_0x44188c,{'headers':{'Content-Type':_0x4ef4ef(0x458)}}))[_0x4ef4ef(0x400)])==null?void 0x0:_0x5930bf['ticket'])!=null?_0x1e5676:'';}[_0x3817ac(0x33e)](_0x3a59c7){var _0x32fd8d=_0x3817ac,_0xb0e24,_0x1f29d5;const _0x8f6d9c=this[_0x32fd8d(0x2e5)][_0x32fd8d(0x3a7)](xn),_0x4011ea=this[_0x32fd8d(0x2e5)]['getConfig'](Y),_0x13f4ec=(_0x1f29d5=(_0xb0e24=_0x4011ea==null?void 0x0:_0x4011ea[_0x32fd8d(0x254)])!=null?_0xb0e24:_0x8f6d9c)!=null?_0x1f29d5:Ln,_0x19d9dc=typeof window>'u'?new URL(_0x13f4ec):new URL(_0x13f4ec,window[_0x32fd8d(0x238)][_0x32fd8d(0x482)]);_0x19d9dc['searchParams']['set']('sessionTicket',_0x3a59c7);const _0x331a28=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x32fd8d(0x238)][_0x32fd8d(0x1be)]);return _0x331a28[_0x32fd8d(0x1b5)](_0x32fd8d(0x3f1))&&_0x19d9dc['searchParams']['set'](_0x32fd8d(0x3f1),_0x331a28['get'](_0x32fd8d(0x3f1))),_0x19d9dc[_0x32fd8d(0x22a)]();}async[_0x3817ac(0x439)](){var _0x3c44f3=_0x3817ac;const _0x4eb5ad=await this['_getSessionTicket'](),_0x5c6bd4=this[_0x3c44f3(0x33e)](_0x4eb5ad),_0x4bb92f=this['_socketService']['createSocket'](_0x5c6bd4);return this[_0x3c44f3(0x3db)]=_0x4bb92f,_0x4bb92f;}async[_0x3817ac(0x24a)](){var _0x3bc60e=_0x3817ac,_0x146b1b,_0x462b6b;try{const _0x38482b=(_0x462b6b=(_0x146b1b=this[_0x3bc60e(0x367)])!=null?_0x146b1b:this['_candidateSocket'])!=null?_0x462b6b:await this[_0x3bc60e(0x439)]();if(_0x38482b){const _0x6e09e6=_0x38482b['send'];_0x38482b[_0x3bc60e(0x3bb)]=_0x519950=>(this['_rescheduleHeartbeat'](),_0x6e09e6['apply'](_0x38482b,[_0x519950])),_0x38482b['message$'][_0x3bc60e(0x3da)](_0x1e1334=>this[_0x3bc60e(0x44b)](_0x38482b,_0x1e1334)),_0x38482b[_0x3bc60e(0x475)][_0x3bc60e(0x37a)](_0x512f7a(0x1))[_0x3bc60e(0x3da)](_0x96b9d3=>this[_0x3bc60e(0x334)][_0x3bc60e(0x2d3)](_0x3bc60e(0x1b6),_0x96b9d3)),_0x38482b[_0x3bc60e(0x452)][_0x3bc60e(0x37a)](_0x512f7a(0x1))[_0x3bc60e(0x3da)](()=>{var _0x437c51=_0x3bc60e;this[_0x437c51(0x35e)](_0x38482b);}),_0x38482b[_0x3bc60e(0x4ab)][_0x3bc60e(0x37a)](_0x512f7a(0x1))['subscribe'](_0x284406=>{var _0x4d03a0=_0x3bc60e;this[_0x4d03a0(0x334)][_0x4d03a0(0x406)]('[CollaborationSessionService]',_0x4d03a0(0x352),_0x284406),this['_onConnectionFailed']();});}}catch(_0x1d8810){this[_0x3bc60e(0x334)]['error'](_0x1d8810),this[_0x3bc60e(0x294)]();}}[_0x3817ac(0x35e)](_0x103888){var _0x47934b=_0x3817ac;this[_0x47934b(0x334)]['debug'](_0x47934b(0x47e),_0x47934b(0x3ab)),_0x103888['send']({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x3817ac(0x428)](){var _0x18a6dc=_0x3817ac;this[_0x18a6dc(0x1e5)]=!0x1,this[_0x18a6dc(0x3db)]=null,this[_0x18a6dc(0x2b5)][_0x18a6dc(0x394)](Te[_0x18a6dc(0x41a)]),this[_0x18a6dc(0x434)]['next'](null),this[_0x18a6dc(0x2d5)](),this[_0x18a6dc(0x3a4)]();}[_0x3817ac(0x294)](){var _0xe80281=_0x3817ac,_0x4f537c;this['_onOffline'](),this[_0xe80281(0x1fb)]<((_0x4f537c=this[_0xe80281(0x2e5)][_0xe80281(0x3a7)](jn))!=null?_0x4f537c:Bn)?(this['_collaborationUIEventService']['emitEvent']({'id':re['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this['_collaborationUIEventService']['emitEvent']({'id':re[_0xe80281(0x257)]});}[_0x3817ac(0x3c6)](){var _0x1f43d1=_0x3817ac,_0x415a81;const _0x1a6a39=this[_0x1f43d1(0x1fb)],_0x8fad87=this[_0x1f43d1(0x2e5)]['getConfig'](Y),_0x1f894e=_0x1a6a39===0x0?0x0:((_0x415a81=_0x8fad87==null?void 0x0:_0x8fad87[_0x1f43d1(0x28d)])!=null?_0x415a81:kn)*0x2**_0x1a6a39;this['_retryConnectingTimer']=setTimeout(()=>{var _0x485282=_0x1f43d1;clearTimeout(this[_0x485282(0x410)]),this[_0x485282(0x410)]=null,this[_0x485282(0x24a)]();},_0x1f894e),this[_0x1f43d1(0x1fb)]+=0x1;}[_0x3817ac(0x44b)](_0x5010bd,_0x491814){var _0x40ac5c=_0x3817ac;const {cmd:_0x2ef282}=_0x491814;_0x2ef282===F[_0x40ac5c(0x262)]&&!this['_socketReady']&&(_0x5010bd[_0x40ac5c(0x311)]=_0x491814[_0x40ac5c(0x289)][_0x40ac5c(0x311)],this[_0x40ac5c(0x434)]['next'](_0x5010bd),this[_0x40ac5c(0x2b5)][_0x40ac5c(0x394)](Te['ONLINE']),this[_0x40ac5c(0x1e5)]=!0x0,this['_candidateSocket']=null),_0x2ef282===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x40ac5c(0x2cc)]();}[_0x3817ac(0x2cc)](){var _0x15b35b=_0x3817ac,_0x17ebba;this[_0x15b35b(0x3a4)](),this[_0x15b35b(0x263)]=setTimeout(()=>this[_0x15b35b(0x241)](),(_0x17ebba=this[_0x15b35b(0x2e5)]['getConfig']($n))!=null?_0x17ebba:Hn);}[_0x3817ac(0x241)](){var _0x49fc08=_0x3817ac;this[_0x49fc08(0x367)][_0x49fc08(0x3bb)]({'cmd':F[_0x49fc08(0x1f1)]}),this[_0x49fc08(0x2e4)]();}[_0x3817ac(0x2e4)](){var _0x282f2c=_0x3817ac,_0xfd3f8a;this[_0x282f2c(0x19a)]=setTimeout(()=>this[_0x282f2c(0x294)](),(_0xfd3f8a=this[_0x282f2c(0x2e5)]['getConfig'](Ii))!=null?_0xfd3f8a:Ti);}[_0x3817ac(0x3a4)](){var _0x10818c=_0x3817ac;this[_0x10818c(0x263)]!=null&&(clearTimeout(this[_0x10818c(0x263)]),this[_0x10818c(0x263)]=null);}[_0x3817ac(0x2d5)](){var _0x52f467=_0x3817ac;this[_0x52f467(0x19a)]!=null&&(clearTimeout(this[_0x52f467(0x19a)]),this[_0x52f467(0x19a)]=null);}};Le=_s([ge(0x0,_0x880ce4(_0x28aed1)),ge(0x1,_0x3b11ba),ge(0x2,_0x268506),ge(0x3,Ri),ge(0x4,_0x880ce4(_0x157352)),ge(0x5,_0x880ce4(pe)),ge(0x6,_0x1d2db0(Kn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x3817ac(0x399)]((n+0x100)['toString'](0x10)[_0x3817ac(0x2ba)](0x1));function ls(_0x305aaa,_0x50477a=0x0){var _0x152327=_0x3817ac;return(V[_0x305aaa[_0x50477a+0x0]]+V[_0x305aaa[_0x50477a+0x1]]+V[_0x305aaa[_0x50477a+0x2]]+V[_0x305aaa[_0x50477a+0x3]]+'-'+V[_0x305aaa[_0x50477a+0x4]]+V[_0x305aaa[_0x50477a+0x5]]+'-'+V[_0x305aaa[_0x50477a+0x6]]+V[_0x305aaa[_0x50477a+0x7]]+'-'+V[_0x305aaa[_0x50477a+0x8]]+V[_0x305aaa[_0x50477a+0x9]]+'-'+V[_0x305aaa[_0x50477a+0xa]]+V[_0x305aaa[_0x50477a+0xb]]+V[_0x305aaa[_0x50477a+0xc]]+V[_0x305aaa[_0x50477a+0xd]]+V[_0x305aaa[_0x50477a+0xe]]+V[_0x305aaa[_0x50477a+0xf]])[_0x152327(0x247)]();}let dt;const us=new Uint8Array(0x10);function ds(){var _0x171fa3=_0x3817ac;if(!dt){if(typeof crypto>'u'||!crypto[_0x171fa3(0x19b)])throw new Error(_0x171fa3(0x276));dt=crypto[_0x171fa3(0x19b)][_0x171fa3(0x397)](crypto);}return dt(us);}const fs=typeof crypto<'u'&&crypto[_0x3817ac(0x433)]&&crypto[_0x3817ac(0x433)][_0x3817ac(0x397)](crypto),Jt={'randomUUID':fs};function vs(_0x57196f,_0x3d63d9,_0x55ded9){var _0x1bb90b=_0x3817ac;if(Jt['randomUUID']&&!_0x3d63d9&&!_0x57196f)return Jt[_0x1bb90b(0x433)]();_0x57196f=_0x57196f||{};const _0x27ebae=_0x57196f['random']||(_0x57196f[_0x1bb90b(0x48e)]||ds)();return _0x27ebae[0x6]=_0x27ebae[0x6]&0xf|0x40,_0x27ebae[0x8]=_0x27ebae[0x8]&0x3f|0x80,ls(_0x27ebae);}const X=_0x526b95(_0x3817ac(0x3f4));function po(_0x206113){var _0x53c970=_0x3817ac;return _0x53c970(0x366)+_0x206113;}var ps=Object['defineProperty'],ms=Object[_0x3817ac(0x1df)],gs=(_0x41469c,_0x9fb70b,_0x28f1fc,_0x5cd1c8)=>{var _0x1330b3=_0x3817ac;for(var _0x3cac46=_0x5cd1c8>0x1?void 0x0:_0x5cd1c8?ms(_0x9fb70b,_0x28f1fc):_0x9fb70b,_0x1871c0=_0x41469c[_0x1330b3(0x450)]-0x1,_0x32236e;_0x1871c0>=0x0;_0x1871c0--)(_0x32236e=_0x41469c[_0x1871c0])&&(_0x3cac46=(_0x5cd1c8?_0x32236e(_0x9fb70b,_0x28f1fc,_0x3cac46):_0x32236e(_0x3cac46))||_0x3cac46);return _0x5cd1c8&&_0x3cac46&&ps(_0x9fb70b,_0x28f1fc,_0x3cac46),_0x3cac46;},ft=(_0x7df817,_0x386f74)=>(_0x58b0bb,_0x2d8337)=>_0x386f74(_0x58b0bb,_0x2d8337,_0x7df817);function Ss(_0x46c4aa){var _0x4f450f=_0x3817ac;const {unitID:_0x346d9a,mutations:_0x2dd00f}=_0x46c4aa;return{'unitId':_0x346d9a,'subUnitId':_0x2dd00f[0x0][_0x4f450f(0x3f3)][_0x4f450f(0x3ee)]};}let nt=class{constructor(_0x552acd,_0x1acb73,_0x1463c9){var _0x423781=_0x3817ac;this['_injector']=_0x552acd,this[_0x423781(0x2af)]=_0x1acb73,this[_0x423781(0x2a4)]=_0x1463c9;}[_0x3817ac(0x225)](_0x1b9b95){var _0xe710d=_0x3817ac,_0x176b82,_0x2fe2e3,_0x52b7fc,_0x3be10f;const _0x148cb4=this[_0xe710d(0x393)][_0xe710d(0x1b5)](_0x40f603),{unitId:_0x2446d3,subUnitId:_0x1000d9}=Ss(_0x1b9b95),_0x15bf95=_0x148cb4==null?void 0x0:_0x148cb4['getWorkbookSelections'](_0x2446d3)[_0xe710d(0x403)](),_0x2b0a00=(_0x2fe2e3=(_0x176b82=this['_instanceService'][_0xe710d(0x304)](_0x2446d3))==null?void 0x0:_0x176b82['getActiveSheet']())==null?void 0x0:_0x2fe2e3['getSheetId']();if(_0x15bf95[_0xe710d(0x450)]===0x0||!_0x2446d3||!_0x1000d9)return;const _0x2d2d0e=[{'id':_0x3529cb['id'],'params':{'unitId':_0x2446d3,'subUnitId':_0x2b0a00,'selections':_0x19a3c3[_0xe710d(0x45e)](_0x15bf95)}}],_0x3d4836=this[_0xe710d(0x2af)][_0xe710d(0x401)](_0x1b9b95,_0x2d2d0e);if(!_0x490500(_0x3d4836))throw _0x3d4836[_0xe710d(0x2d3)];const _0x398858=(_0x3be10f=(_0x52b7fc=_0x3d4836[_0xe710d(0x2ec)][0x0])==null?void 0x0:_0x52b7fc[_0xe710d(0x3f3)])==null?void 0x0:_0x3be10f[_0xe710d(0x44f)];if(Array[_0xe710d(0x431)](_0x398858)&&_0x398858[_0xe710d(0x450)]){if(_0x398858[_0xe710d(0x450)]===_0x2d2d0e[0x0][_0xe710d(0x3f3)]['selections'][_0xe710d(0x450)]&&_0x398858['every']((_0x15884c,_0x2c6d14)=>_0x5381ba['equals'](_0x15884c['range'],_0x2d2d0e[0x0][_0xe710d(0x3f3)][_0xe710d(0x44f)][_0x2c6d14]['range'])))return;this[_0xe710d(0x393)][_0xe710d(0x1b5)](_0x5ee12b)['executeCommand'](_0x3529cb['id'],{'unitId':_0x2446d3,'subUnitId':_0x2b0a00,'selections':_0x398858});}}};nt=gs([ft(0x0,_0x880ce4(_0x28aed1)),ft(0x1,_0x5e4ebe),ft(0x2,_0x369bbf)],nt);const _t=_0x526b95(_0x3817ac(0x2c7));var Oi=(_0x399a9f=>(_0x399a9f[_0x399a9f[_0x3817ac(0x326)]=0x0]=_0x3817ac(0x326),_0x399a9f[_0x399a9f['OTHER_CLIENTS_EDITING']=0x1]=_0x3817ac(0x222),_0x399a9f))(Oi||{});const Es=new Set([_0x2e554f['id']]);function Xt(_0x2143fb,_0x59acbe,_0xb7dcd3,_0x1ae7a6,_0x160932){var _0x589145=_0x3817ac,_0x45686d,_0x62bc19,_0xef02b7,_0x43ba86;const _0x13961a=[];for(const _0x39ad57 of _0x2143fb)if(Es['has'](_0x39ad57['id'])){if(_0x13961a['length']>0x0)break;_0x13961a[_0x589145(0x399)](_0x39ad57);break;}else _0x13961a[_0x589145(0x399)](_0x39ad57);const _0x107e23=(_0x62bc19=(_0x45686d=_0x160932[_0x589145(0x459)]())==null?void 0x0:_0x45686d[_0x589145(0x357)])!=null?_0x62bc19:_0x589145(0x259),_0x2956da=(_0x43ba86=(_0xef02b7=_0x160932['getCurrentUser']())==null?void 0x0:_0xef02b7['memberID'])!=null?_0x43ba86:_0x589145(0x259);return{'changeset':{'unitID':_0x59acbe,'type':_0x177af8(_0xb7dcd3[_0x589145(0x323)](_0x59acbe)),'baseRev':_0x1ae7a6[_0x589145(0x484)](_0x59acbe),'revision':0x0,'userID':_0x107e23,'memberID':_0x2956da,'mutations':_0x13961a},'pendingMutations':_0x2143fb[_0x589145(0x2ba)](_0x13961a['length'])};}function Is(_0x22f47b,_0x443381,_0x1ac17f,_0xffd603,_0x26c54e){var _0x3a4854=_0x3817ac,_0x26abba,_0x7a89b8,_0x12653f,_0x2271cc;const _0x479c65=[_0x22f47b['reduce']((_0x57b825,_0x47ff0a)=>{var _0xa818a1=_0x7017,_0xc738a0;const {id:_0x256951}=_0x57b825,{id:_0x5a31a7,type:_0x121bb5}=_0x47ff0a,_0x414915=(_0xc738a0=_0x57b825[_0xa818a1(0x3f3)])!=null?_0xc738a0:{'actions':null},_0x2b8edc=_0x47ff0a[_0xa818a1(0x3f3)];if(_0x256951&&_0x256951!==_0x5a31a7)throw new Error(_0xa818a1(0x382)+_0x256951+_0xa818a1(0x202)+_0x5a31a7+'.');return{..._0x57b825,'id':_0x5a31a7,'type':_0x121bb5,'params':{'unitId':_0x2b8edc[_0xa818a1(0x49d)],'textRanges':_0x2b8edc[_0xa818a1(0x1eb)],'actions':_0x4f4e18[_0xa818a1(0x1d8)](_0x414915[_0xa818a1(0x2ae)],_0x2b8edc[_0xa818a1(0x2ae)])}};},{})],_0x22271f=(_0x7a89b8=(_0x26abba=_0x26c54e[_0x3a4854(0x459)]())==null?void 0x0:_0x26abba[_0x3a4854(0x357)])!=null?_0x7a89b8:_0x3a4854(0x259),_0x412724=(_0x2271cc=(_0x12653f=_0x26c54e['getCurrentUser']())==null?void 0x0:_0x12653f[_0x3a4854(0x311)])!=null?_0x2271cc:'unknown';return{'changeset':{'unitID':_0x443381,'type':_0x177af8(_0x1ac17f[_0x3a4854(0x323)](_0x443381)),'baseRev':_0xffd603['getCurrentRevOfUnit'](_0x443381),'revision':0x0,'userID':_0x22271f,'memberID':_0x412724,'mutations':_0x479c65},'pendingMutations':[]};}function Ni(_0x384337,_0x444e76){var _0x430755=_0x3817ac;const _0x16e934=new _0xd22070(0x1);return setTimeout(()=>_0x16e934[_0x430755(0x394)](_0x444e76),_0x384337),_0x16e934['asObservable']()[_0x430755(0x37a)](_0x551224(0x1));}const Ts={'id':_0x57917a['id'],'type':_0x2cbde1[_0x3817ac(0x384)],'params':{}};var Cs=Object['defineProperty'],bs=Object[_0x3817ac(0x1df)],be=(_0x51669f,_0xb45e0,_0x471f50,_0x4f746e)=>{var _0x100544=_0x3817ac;for(var _0x564ad1=_0x4f746e>0x1?void 0x0:_0x4f746e?bs(_0xb45e0,_0x471f50):_0xb45e0,_0x14f035=_0x51669f[_0x100544(0x450)]-0x1,_0x288fab;_0x14f035>=0x0;_0x14f035--)(_0x288fab=_0x51669f[_0x14f035])&&(_0x564ad1=(_0x4f746e?_0x288fab(_0xb45e0,_0x471f50,_0x564ad1):_0x288fab(_0x564ad1))||_0x564ad1);return _0x4f746e&&_0x564ad1&&Cs(_0xb45e0,_0x471f50,_0x564ad1),_0x564ad1;},A=(_0x389813,_0x58d407)=>(_0x2e2c79,_0xe7d1eb)=>_0x58d407(_0x2e2c79,_0xe7d1eb,_0x389813),Pi=(_0x1d9e50=>(_0x1d9e50['NOT_COLLAB']=_0x3817ac(0x358),_0x1d9e50[_0x3817ac(0x278)]=_0x3817ac(0x37e),_0x1d9e50[_0x3817ac(0x3fc)]='pending',_0x1d9e50[_0x3817ac(0x39c)]=_0x3817ac(0x362),_0x1d9e50[_0x3817ac(0x2fe)]='awaiting_with_pending',_0x1d9e50[_0x3817ac(0x282)]=_0x3817ac(0x466),_0x1d9e50[_0x3817ac(0x42d)]='conflict',_0x1d9e50['OFFLINE']=_0x3817ac(0x317),_0x1d9e50))(Pi||{});const Di=0xea60;class Re{constructor(_0x23fd57,_0x24f705,_0x5c1a80,_0xa09004,_0x2e2c46,_0x51f192,_0x38d913,_0x57c1d4,_0x4e37b0){var _0x169815=_0x3817ac;P(this,_0x169815(0x2a6),null),P(this,_0x169815(0x490),[]),(this[_0x169815(0x22f)]=_0x23fd57,this[_0x169815(0x408)]=_0x24f705,this['_handler']=_0x2e2c46,this['_commandService']=_0x51f192,this['_undoRedoService']=_0x38d913,this[_0x169815(0x3d9)]=_0x57c1d4,this[_0x169815(0x38e)]=_0x4e37b0,this[_0x169815(0x2a6)]=_0x5c1a80,this[_0x169815(0x490)]=_0xa09004);}[_0x3817ac(0x48a)](_0x41bd8c){var _0x2235b0=_0x3817ac;const _0x4fbe36=this[_0x2235b0(0x3d9)][_0x2235b0(0x484)](this[_0x2235b0(0x22f)]);return _0x41bd8c[_0x2235b0(0x236)]>_0x4fbe36+0x1?(this[_0x2235b0(0x3c9)][_0x2235b0(0x2c3)]({'from':_0x4fbe36,'to':_0x41bd8c['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x34de1c){var _0x18a0fd=_0x3817ac;this[_0x18a0fd(0x280)][_0x18a0fd(0x19c)](this['unitID'],_0x34de1c);}[_0x3817ac(0x47c)](_0x199cf0){var _0x111c83=_0x3817ac,_0x455e5a,_0xef6f7f;(_0xef6f7f=(_0x455e5a=this[_0x111c83(0x3c9)])[_0x111c83(0x3e5)])==null||_0xef6f7f[_0x111c83(0x26b)](_0x455e5a,_0x199cf0);}[_0x3817ac(0x285)](_0x18a528){var _0x52042d=_0x3817ac,_0x545fb4,_0x55ddb3;return(_0x55ddb3=(_0x545fb4=this['_handler'])[_0x52042d(0x470)])==null?void 0x0:_0x55ddb3['call'](_0x545fb4,_0x18a528);}[_0x3817ac(0x3c4)](_0x2b5d20){var _0x2bdcfe=_0x3817ac,_0x750afb,_0x4439ca;return(_0x4439ca=(_0x750afb=this[_0x2bdcfe(0x3c9)])['onTransformState'])==null?void 0x0:_0x4439ca[_0x2bdcfe(0x26b)](_0x750afb,_0x2b5d20);}[_0x3817ac(0x3dc)](_0x4d2677){var _0x2b19fc=_0x3817ac,_0xf585fc,_0x4af537,_0x38a713;return(_0x38a713=(_0x4af537=(_0xf585fc=this[_0x2b19fc(0x3c9)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4af537[_0x2b19fc(0x26b)](_0xf585fc,_0x4d2677))!=null?_0x38a713:_0x4d2677;}[_0x3817ac(0x207)](_0x5dbc8a){var _0x5e65b6=_0x3817ac,_0xedb08a,_0x3c1ce6,_0x548063;return(_0x548063=(_0x3c1ce6=(_0xedb08a=this['_handler'])[_0x5e65b6(0x214)])==null?void 0x0:_0x3c1ce6[_0x5e65b6(0x26b)](_0xedb08a,_0x5dbc8a))!=null?_0x548063:_0x5dbc8a;}[_0x3817ac(0x4a9)](_0x4e14dd){var _0x58bd48=_0x3817ac,_0x1c4757,_0x332eff;if(this[_0x58bd48(0x408)]===Q['UNIVER_DOC']){const {unitID:_0x150359,mutations:_0x13bd93,memberID:_0x2baf29}=_0x4e14dd,_0x5b43e0=_0x13bd93[0x0]['params']['textRanges'];Array['isArray'](_0x5b43e0)&&_0x5b43e0['length']>0x0&&((_0x332eff=(_0x1c4757=this[_0x58bd48(0x3c9)])['onSyncEditingCollabCursor'])==null||_0x332eff[_0x58bd48(0x26b)](_0x1c4757,{'unitID':_0x150359,'memberID':_0x2baf29,'textRanges':_0x5b43e0}));}}[_0x3817ac(0x378)](){var _0x338f65=_0x3817ac,_0x1984b9;(_0x1984b9=this[_0x338f65(0x38e)])==null||_0x1984b9[_0x338f65(0x1f9)](this[_0x338f65(0x22f)],this[_0x338f65(0x408)],this[_0x338f65(0x2a6)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x5a1967=_0x3817ac;return this['_revisionService'][_0x5a1967(0x484)](this[_0x5a1967(0x22f)]);}[_0x3817ac(0x416)](){var _0x9297fb=_0x3817ac;this['_revisionService'][_0x9297fb(0x1d6)](this[_0x9297fb(0x22f)]);}[_0x3817ac(0x346)](_0x39ad0c){var _0x16c219=_0x3817ac,_0x15a333;let _0x49b912=this[_0x16c219(0x3dc)](_0x39ad0c);_0x49b912=this[_0x16c219(0x207)](_0x49b912);const _0x1f7ad7=_0x6e8ef5(_0x49b912[_0x16c219(0x2da)],this[_0x16c219(0x3b3)],{'fromCollab':!0x0});if(!_0x1f7ad7[_0x16c219(0x449)])throw _0x1f7ad7[_0x16c219(0x2d3)]instanceof Error?_0x1f7ad7[_0x16c219(0x2d3)]:new Error((_0x15a333=_0x1f7ad7['error'])!=null?_0x15a333:_0x16c219(0x2d1));this[_0x16c219(0x285)](_0x49b912),this[_0x16c219(0x3c4)](_0x49b912),this['_transformUndoredo'](_0x39ad0c),this[_0x16c219(0x47c)](_0x49b912),this['_syncEditingCollabCursor'](_0x49b912),this[_0x16c219(0x416)]();}}let Pe=class extends Re{constructor(_0x32aed1,_0xa27c18,_0x596379,_0x4dced9,_0x223ac4,_0x3deeaa,_0x5302ed,_0x43fd5e,_0x5a408d,_0x32b5f3){var _0x37cef3=_0x3817ac;super(_0x32aed1,_0xa27c18,null,[],_0x596379,_0x5302ed,_0x3deeaa,_0x4dced9,_0x32b5f3),P(this,_0x37cef3(0x1f4),_0x37cef3(0x37e)),(this[_0x37cef3(0x393)]=_0x223ac4,this['_logService']=_0x43fd5e,this[_0x37cef3(0x2af)]=_0x5a408d,this[_0x37cef3(0x3a6)]=_0x32b5f3);}[_0x3817ac(0x3b9)](_0x3a4ed9){var _0x2f8aa7=_0x3817ac;const _0x587b82=this[_0x2f8aa7(0x393)]['createInstance'](oe,this[_0x2f8aa7(0x22f)],this[_0x2f8aa7(0x408)],[_0x3a4ed9],this[_0x2f8aa7(0x3c9)]);return _0x587b82[_0x2f8aa7(0x23b)](),_0x587b82['_updateLocalCache'](),_0x587b82;}['onRemoteChangeset'](_0x151cd5){var _0x1f290f=_0x3817ac;if(this['_checkMissing'](_0x151cd5))return this[_0x1f290f(0x393)][_0x1f290f(0x440)](te,this['unitID'],this['type'],null,[],null,[_0x151cd5],this['_handler']);try{const _0x125b3b=this[_0x1f290f(0x2af)][_0x1f290f(0x401)](_0x151cd5,[Ts]);if(_0x490500(_0x125b3b)){const {c1Prime:_0x8418d}=_0x125b3b;return this['_executeRemoteChangeset'](_0x8418d),this;}throw _0x125b3b[_0x1f290f(0x2d3)];}catch(_0x5103d3){return this[_0x1f290f(0x334)]['error'](_0x5103d3),this[_0x1f290f(0x363)](!0x1);}}[_0x3817ac(0x363)](_0x508ccd){var _0x269ab5=_0x3817ac;return this[_0x269ab5(0x393)][_0x269ab5(0x440)](de,this['unitID'],this['type'],null,[],this[_0x269ab5(0x3c9)],_0x508ccd);}[_0x3817ac(0x415)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3817ac(0x253)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x3817ac(0x25c)](){return this;}[_0x3817ac(0x29f)](){var _0x2b5328=_0x3817ac;return this[_0x2b5328(0x393)][_0x2b5328(0x440)](fe,this[_0x2b5328(0x22f)],this[_0x2b5328(0x408)],null,[],this['_handler']);}[_0x3817ac(0x44e)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3817ac(0x260)](){var _0x11c551=_0x3817ac;const _0x1e738e=this[_0x11c551(0x3d9)][_0x11c551(0x484)](this[_0x11c551(0x22f)]);return this[_0x11c551(0x3c9)][_0x11c551(0x2c3)]({'from':_0x1e738e,'to':0x0}),this[_0x11c551(0x393)][_0x11c551(0x440)](te,this[_0x11c551(0x22f)],this['type'],null,[],null,[],this[_0x11c551(0x3c9)]);}};Pe=be([A(0x3,_0x880ce4(_0x46b1c6)),A(0x4,_0x880ce4(_0x28aed1)),A(0x5,_0x43dc49),A(0x6,_0x5ee12b),A(0x7,_0x3b11ba),A(0x8,_0x5e4ebe),A(0x9,_0x1d2db0(X))],Pe);let oe=class extends Re{constructor(_0x2100d3,_0x16eef1,_0x421156,_0x4a8865,_0x1dddb6,_0x28b2c8,_0x4ebcb7,_0x4d8933,_0x31deab,_0x2d023e,_0x104e19,_0xb32bbf,_0x5d6307,_0x3a6428){var _0x18aa2d=_0x3817ac;super(_0x2100d3,_0x16eef1,null,_0x421156,_0x4a8865,_0x31deab,_0x5d6307,_0x28b2c8,_0x3a6428),P(this,_0x18aa2d(0x1f4),_0x18aa2d(0x468)),P(this,'_scheduleCompleteTimestamp',null),P(this,'_sendingTimer',null),(this[_0x18aa2d(0x393)]=_0x1dddb6,this[_0x18aa2d(0x3ac)]=_0x4ebcb7,this['_logService']=_0x4d8933,this[_0x18aa2d(0x2e5)]=_0x2d023e,this['_transformService']=_0x104e19,this['_univerInstanceService']=_0xb32bbf);}[_0x3817ac(0x3b9)](_0x3aaf68){var _0x15cdb8=_0x3817ac;return this[_0x15cdb8(0x490)][_0x15cdb8(0x399)](_0x3aaf68),this[_0x15cdb8(0x378)](),this;}[_0x3817ac(0x1c5)](_0x35a8ae){var _0x40bfb7=_0x3817ac;if(this['_checkMissing'](_0x35a8ae))return this[_0x40bfb7(0x1aa)](),this['_injector'][_0x40bfb7(0x440)](te,this[_0x40bfb7(0x22f)],this[_0x40bfb7(0x408)],null,this[_0x40bfb7(0x490)],null,[_0x35a8ae],this[_0x40bfb7(0x3c9)]);try{const _0x38748a=this[_0x40bfb7(0x2af)]['transformMutationsWithChangeset'](_0x35a8ae,this[_0x40bfb7(0x490)]);if(_0x490500(_0x38748a)){const {c1Prime:_0x38b9ca,m2Prime:_0x44cb12}=_0x38748a;this[_0x40bfb7(0x346)](_0x38b9ca);const _0x408939=this[_0x40bfb7(0x393)]['createInstance'](oe,this[_0x40bfb7(0x22f)],this['type'],_0x44cb12,this[_0x40bfb7(0x3c9)]);this[_0x40bfb7(0x1aa)]();const _0x242f32=new Date()[_0x40bfb7(0x235)](),_0xc4ee55=this['_scheduleCompleteTimestamp']?Math[_0x40bfb7(0x491)](this['_scheduleCompleteTimestamp']-_0x242f32,0x0):this[_0x40bfb7(0x2c6)]();return _0x408939[_0x40bfb7(0x23b)](_0xc4ee55),_0x408939;}throw _0x38748a[_0x40bfb7(0x2d3)];}catch(_0x29ef70){return this[_0x40bfb7(0x334)]['error'](_0x29ef70),this[_0x40bfb7(0x363)](!0x1);}}[_0x3817ac(0x415)](){var _0x3e8f37=_0x3817ac;throw new Error(_0x3e8f37(0x1fc));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x3817ac(0x29f)](){var _0x16054c=_0x3817ac;return this[_0x16054c(0x1aa)](),this[_0x16054c(0x393)][_0x16054c(0x440)](fe,this[_0x16054c(0x22f)],this[_0x16054c(0x408)],null,this[_0x16054c(0x490)],this[_0x16054c(0x3c9)]);}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x23b)](_0x25637c){var _0x449583=_0x3817ac;const _0x56c26d=_0x25637c!=null?_0x25637c:this[_0x449583(0x2c6)]();this['_scheduleCompleteTimestamp']=new Date()[_0x449583(0x235)]()+_0x56c26d,this[_0x449583(0x472)]=setTimeout(()=>{var _0x3f9c7a=_0x449583;this[_0x3f9c7a(0x1aa)]();let _0xba02c9=null;switch(this['type']){case Q[_0x3f9c7a(0x2e1)]:{_0xba02c9=Xt(this[_0x3f9c7a(0x490)],this[_0x3f9c7a(0x22f)],this[_0x3f9c7a(0x3cf)],this['_revisionService'],this[_0x3f9c7a(0x3ac)]);break;}case Q[_0x3f9c7a(0x1f6)]:{this[_0x3f9c7a(0x490)][_0x3f9c7a(0x1a8)](_0x4978f7=>_0x4978f7['id']===_0x4aee6a['id'])?_0xba02c9=Is(this['_pendingMutations'],this[_0x3f9c7a(0x22f)],this['_univerInstanceService'],this[_0x3f9c7a(0x3d9)],this[_0x3f9c7a(0x3ac)]):_0xba02c9=Xt(this[_0x3f9c7a(0x490)],this[_0x3f9c7a(0x22f)],this[_0x3f9c7a(0x3cf)],this['_revisionService'],this[_0x3f9c7a(0x3ac)]);break;}default:throw new Error(_0x3f9c7a(0x1b9)+this[_0x3f9c7a(0x408)]+_0x3f9c7a(0x495));}const {changeset:_0x36d47b,pendingMutations:_0xf1bab8}=_0xba02c9;this[_0x3f9c7a(0x3c9)][_0x3f9c7a(0x2ab)](_0x36d47b);const _0x2352e6=_0xf1bab8[_0x3f9c7a(0x450)]?this['_injector']['createInstance'](ae,this[_0x3f9c7a(0x22f)],this['type'],_0x36d47b,_0xf1bab8,this[_0x3f9c7a(0x3c9)],void 0x0):this['_injector'][_0x3f9c7a(0x440)](ue,this['unitID'],this[_0x3f9c7a(0x408)],_0x36d47b,this[_0x3f9c7a(0x3c9)]);_0x2352e6[_0x3f9c7a(0x378)](),this[_0x3f9c7a(0x3c9)][_0x3f9c7a(0x38a)](this,_0x2352e6);},_0x56c26d);}['_getSendChangesetTimeout'](){var _0x442a51=_0x3817ac,_0x3011a3;const _0xedf570=this['_configService'][_0x442a51(0x3a7)](Y);return(_0x3011a3=_0xedf570==null?void 0x0:_0xedf570['sendChangesetTimeout'])!=null?_0x3011a3:An;}[_0x3817ac(0x230)](){var _0xbd687a=_0x3817ac;throw new Error(_0xbd687a(0x2d8));}[_0x3817ac(0x1aa)](){var _0x19d07c=_0x3817ac;this[_0x19d07c(0x472)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x19d07c(0x472)]=null);}[_0x3817ac(0x363)](_0x2649fa){var _0x18e9f9=_0x3817ac;return this['_clearScheduledTask'](),this[_0x18e9f9(0x393)][_0x18e9f9(0x440)](de,this[_0x18e9f9(0x22f)],this[_0x18e9f9(0x408)],null,this[_0x18e9f9(0x490)],this[_0x18e9f9(0x3c9)],_0x2649fa);}};oe=be([A(0x4,_0x880ce4(_0x28aed1)),A(0x5,_0x880ce4(_0x46b1c6)),A(0x6,_0x880ce4(xe)),A(0x7,_0x3b11ba),A(0x8,_0x5ee12b),A(0x9,_0x268506),A(0xa,_0x5e4ebe),A(0xb,_0x369bbf),A(0xc,_0x43dc49),A(0xd,_0x1d2db0(X))],oe);let ue=class extends Re{constructor(_0x41ae21,_0x55b042,_0x41a9b3,_0x557054,_0x422aba,_0x5f449a,_0x238c3e,_0x375628,_0x3748cf,_0x2e6a5a,_0x2d39ec){var _0x5ab07c=_0x3817ac;super(_0x41ae21,_0x55b042,_0x41a9b3,[],_0x557054,_0x238c3e,_0x2e6a5a,_0x5f449a,_0x2d39ec),P(this,_0x5ab07c(0x1f4),_0x5ab07c(0x362)),P(this,_0x5ab07c(0x37b),0x0),P(this,_0x5ab07c(0x479)),P(this,_0x5ab07c(0x3c7)),(this[_0x5ab07c(0x393)]=_0x422aba,this[_0x5ab07c(0x334)]=_0x375628,this[_0x5ab07c(0x2af)]=_0x3748cf);}[_0x3817ac(0x3b9)](_0x1a4f7e){var _0x4e18ce=_0x3817ac;this[_0x4e18ce(0x1aa)]();const _0x6ff4b0=this[_0x4e18ce(0x393)]['createInstance'](ae,this[_0x4e18ce(0x22f)],this[_0x4e18ce(0x408)],this[_0x4e18ce(0x2a6)],[_0x1a4f7e],this[_0x4e18ce(0x3c9)],this[_0x4e18ce(0x479)]);return _0x6ff4b0[_0x4e18ce(0x378)](),_0x6ff4b0;}[_0x3817ac(0x1c5)](_0x4bec62){var _0x240ed6=_0x3817ac;if(this[_0x240ed6(0x48a)](_0x4bec62))return this[_0x240ed6(0x1aa)](),this[_0x240ed6(0x393)][_0x240ed6(0x440)](te,this[_0x240ed6(0x22f)],this['type'],this[_0x240ed6(0x2a6)],[],null,[_0x4bec62],this['_handler']);try{const _0x452b5d=this[_0x240ed6(0x2af)][_0x240ed6(0x342)]([_0x4bec62],[this[_0x240ed6(0x2a6)]],!0x1);if(_0x1a2959(_0x452b5d)){const {c1Prime:_0x2f10be,c2Prime:_0x288409}=_0x452b5d;this[_0x240ed6(0x346)](_0x2f10be[0x0]),_0x288409[0x0][_0x240ed6(0x314)]=this[_0x240ed6(0x1a3)](),this[_0x240ed6(0x1aa)]();const _0x368196=this[_0x240ed6(0x393)][_0x240ed6(0x440)](ue,this[_0x240ed6(0x22f)],this[_0x240ed6(0x408)],_0x288409[0x0],this[_0x240ed6(0x3c9)]);return _0x368196['_updateLocalCache'](),_0x368196;}return this[_0x240ed6(0x363)](!0x1);}catch(_0x43ac2a){return this[_0x240ed6(0x334)]['error'](_0x43ac2a),this[_0x240ed6(0x363)](!0x1);}}['onRemoteAck'](_0x2ea120){var _0xf4f78c=_0x3817ac;this[_0xf4f78c(0x1aa)]();const _0x5485e2=this[_0xf4f78c(0x3d9)][_0xf4f78c(0x484)](this[_0xf4f78c(0x22f)]);if(_0x2ea120[_0xf4f78c(0x236)]<_0x5485e2-0x1)return this;if(this[_0xf4f78c(0x48a)](_0x2ea120))return this[_0xf4f78c(0x393)][_0xf4f78c(0x440)](te,this[_0xf4f78c(0x22f)],this[_0xf4f78c(0x408)],null,[],this[_0xf4f78c(0x2a6)],[],this['_handler']);this[_0xf4f78c(0x416)]();const _0x27e059=this['_injector'][_0xf4f78c(0x440)](Pe,this[_0xf4f78c(0x22f)],this[_0xf4f78c(0x408)],this[_0xf4f78c(0x3c9)]);return _0x27e059[_0xf4f78c(0x378)](),_0x27e059;}[_0x3817ac(0x253)](_0x52b5fc){var _0x562e5f=_0x3817ac;return this['_onConflict'](!!(_0x52b5fc!=null&&_0x52b5fc[_0x562e5f(0x492)]));}['onRemoteRetry'](_0x22aafd){var _0x45c24e=_0x3817ac;return this[_0x45c24e(0x37b)]>Di?this[_0x45c24e(0x29f)]():(this[_0x45c24e(0x479)]=Ni(this[_0x45c24e(0x37b)],{'timeout':this[_0x45c24e(0x37b)],'reqId':_0x22aafd[_0x45c24e(0x49a)]}),this[_0x45c24e(0x3c7)]=this[_0x45c24e(0x479)][_0x45c24e(0x3da)](({reqId:_0x11fc09,timeout:_0xa254cc})=>{var _0x461e34=_0x45c24e;this[_0x461e34(0x3f9)](_0x11fc09,_0xa254cc);}),this);}[_0x3817ac(0x29f)](){var _0x8177a0=_0x3817ac;return this['_clearScheduledTask'](),this[_0x8177a0(0x393)]['createInstance'](fe,this[_0x8177a0(0x22f)],this[_0x8177a0(0x408)],this[_0x8177a0(0x2a6)],[],this[_0x8177a0(0x3c9)]);}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x230)](){var _0x290945=_0x3817ac;this['_handler']['onSendChangeset'](this[_0x290945(0x2a6)]);}[_0x3817ac(0x363)](_0x4b8a65){var _0x28cbc4=_0x3817ac;return this[_0x28cbc4(0x1aa)](),this[_0x28cbc4(0x393)][_0x28cbc4(0x440)](de,this[_0x28cbc4(0x22f)],this[_0x28cbc4(0x408)],this[_0x28cbc4(0x2a6)],[],this[_0x28cbc4(0x3c9)],_0x4b8a65);}[_0x3817ac(0x3f9)](_0x52439c,_0x3898ef){var _0x59dfb4=_0x3817ac,_0x380587;_0x52439c===((_0x380587=this[_0x59dfb4(0x2a6)])==null?void 0x0:_0x380587[_0x59dfb4(0x49a)])&&(this[_0x59dfb4(0x230)](),this[_0x59dfb4(0x37b)]=_0x3898ef===0x0?0x3e8:_0x3898ef*0x2);}[_0x3817ac(0x1aa)](){var _0x233dc8=_0x3817ac,_0x1a5651;(_0x1a5651=this[_0x233dc8(0x3c7)])==null||_0x1a5651['unsubscribe'](),this[_0x233dc8(0x37b)]=0x0;}};ue=be([A(0x4,_0x880ce4(_0x28aed1)),A(0x5,_0x880ce4(_0x46b1c6)),A(0x6,_0x5ee12b),A(0x7,_0x3b11ba),A(0x8,_0x5e4ebe),A(0x9,_0x43dc49),A(0xa,_0x1d2db0(X))],ue);let ae=class extends Re{constructor(_0x4cd753,_0x47e5e2,_0x39709b,_0x1f2efa,_0x4ac8f8,_0x2d86e5,_0x1a2894,_0x29a288,_0x13e337,_0x4ddc90,_0x42544b,_0x14ba90,_0x6b2ebc){var _0x38d344=_0x3817ac;super(_0x4cd753,_0x47e5e2,_0x39709b,_0x1f2efa,_0x4ac8f8,_0x13e337,_0x14ba90,_0x29a288,_0x6b2ebc),P(this,'status',_0x38d344(0x22c)),P(this,'_resendTimeout',0x0),P(this,_0x38d344(0x479)),P(this,_0x38d344(0x3c7)),(this[_0x38d344(0x393)]=_0x1a2894,this[_0x38d344(0x334)]=_0x4ddc90,this[_0x38d344(0x2af)]=_0x42544b,this[_0x38d344(0x3a6)]=_0x6b2ebc,_0x2d86e5&&(this[_0x38d344(0x479)]=_0x2d86e5,this['_sender']=this['_resendTimer'][_0x38d344(0x3da)](({reqId:_0x4e6cdb,timeout:_0xc6de41})=>{var _0x3620cd=_0x38d344;this[_0x3620cd(0x3f9)](_0x4e6cdb,_0xc6de41);})));}[_0x3817ac(0x3b9)](_0x5f14e3){var _0x1ee5b7=_0x3817ac;return this[_0x1ee5b7(0x490)]['push'](_0x5f14e3),this;}['onRemoteChangeset'](_0x4c6b3c){var _0x1d7361=_0x3817ac;if(this['_checkMissing'](_0x4c6b3c))return this[_0x1d7361(0x1aa)](),this[_0x1d7361(0x393)][_0x1d7361(0x440)](te,this[_0x1d7361(0x22f)],this[_0x1d7361(0x408)],this[_0x1d7361(0x2a6)],this[_0x1d7361(0x490)],null,[_0x4c6b3c],this[_0x1d7361(0x3c9)]);try{const _0x22f20f=this['_transformService'][_0x1d7361(0x342)]([_0x4c6b3c],[this[_0x1d7361(0x2a6)]],!0x1);if(_0x1a2959(_0x22f20f)){const {c1Prime:_0x430af3,c2Prime:_0x3f19c5}=_0x22f20f,_0x14f491=this[_0x1d7361(0x2af)][_0x1d7361(0x401)](_0x430af3[0x0],this[_0x1d7361(0x490)]);if(_0x490500(_0x14f491)){const {c1Prime:_0x58c298,m2Prime:_0x3e90f9}=_0x14f491;return this[_0x1d7361(0x346)](_0x58c298),_0x3f19c5[0x0]['baseRev']=this[_0x1d7361(0x1a3)](),this[_0x1d7361(0x1aa)](),this['_injector']['createInstance'](ae,this[_0x1d7361(0x22f)],this[_0x1d7361(0x408)],_0x3f19c5[0x0],_0x3e90f9,this[_0x1d7361(0x3c9)],void 0x0);}throw _0x14f491['error'];}throw _0x22f20f[_0x1d7361(0x2d3)];}catch(_0x3c95cf){return this[_0x1d7361(0x334)][_0x1d7361(0x2d3)](_0x3c95cf),this[_0x1d7361(0x363)](!0x1);}}[_0x3817ac(0x415)](_0x599b7d){var _0x5e7347=_0x3817ac;if(this[_0x5e7347(0x1aa)](),this[_0x5e7347(0x48a)](_0x599b7d))return this[_0x5e7347(0x393)][_0x5e7347(0x440)](te,this['unitID'],this[_0x5e7347(0x408)],null,this[_0x5e7347(0x490)],this['_awaitingChangeset'],[],this[_0x5e7347(0x3c9)]);this[_0x5e7347(0x416)]();const _0x2ba35a=this[_0x5e7347(0x393)]['createInstance'](oe,this[_0x5e7347(0x22f)],this[_0x5e7347(0x408)],this[_0x5e7347(0x490)],this[_0x5e7347(0x3c9)]);return _0x2ba35a['_schedule'](),_0x2ba35a[_0x5e7347(0x378)](),_0x2ba35a;}['onRemoteRej'](_0x1af121){var _0x3ccc27=_0x3817ac;return this[_0x3ccc27(0x363)](!!(_0x1af121!=null&&_0x1af121['isPermissionRej']));}[_0x3817ac(0x25c)](_0x3dcba7){var _0x3d84ff=_0x3817ac;return this[_0x3d84ff(0x37b)]>Di?this[_0x3d84ff(0x29f)]():(this['_resendTimer']=Ni(this[_0x3d84ff(0x37b)],{'timeout':this[_0x3d84ff(0x37b)],'reqId':_0x3dcba7['reqId']}),this[_0x3d84ff(0x3c7)]=this[_0x3d84ff(0x479)][_0x3d84ff(0x3da)](({reqId:_0x4a1ecf,timeout:_0x1c1387})=>{var _0x5706da=_0x3d84ff;this[_0x5706da(0x3f9)](_0x4a1ecf,_0x1c1387);}),this);}[_0x3817ac(0x29f)](){var _0x48206f=_0x3817ac;return this[_0x48206f(0x1aa)](),this['_injector'][_0x48206f(0x440)](fe,this[_0x48206f(0x22f)],this[_0x48206f(0x408)],this['_awaitingChangeset'],this[_0x48206f(0x490)],this[_0x48206f(0x3c9)]);}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x230)](){var _0x302dd3=_0x3817ac;this[_0x302dd3(0x3c9)][_0x302dd3(0x2ab)](this[_0x302dd3(0x2a6)]);}[_0x3817ac(0x363)](_0x66fe09){var _0x38b688=_0x3817ac;return this[_0x38b688(0x1aa)](),this[_0x38b688(0x393)]['createInstance'](de,this[_0x38b688(0x22f)],this[_0x38b688(0x408)],null,this[_0x38b688(0x490)],this[_0x38b688(0x3c9)],_0x66fe09);}[_0x3817ac(0x3f9)](_0xd7089,_0x18470e){var _0x1d3649=_0x3817ac,_0xf5e382;_0xd7089===((_0xf5e382=this['_awaitingChangeset'])==null?void 0x0:_0xf5e382[_0x1d3649(0x49a)])&&(this[_0x1d3649(0x230)](),this['_resendTimeout']=_0x18470e===0x0?0x3e8:_0x18470e*0x2);}['_clearScheduledTask'](){var _0x1a3ede=_0x3817ac,_0x12e265;(_0x12e265=this[_0x1a3ede(0x3c7)])==null||_0x12e265[_0x1a3ede(0x198)](),this[_0x1a3ede(0x37b)]=0x0;}};ae=be([A(0x6,_0x880ce4(_0x28aed1)),A(0x7,_0x880ce4(_0x46b1c6)),A(0x8,_0x5ee12b),A(0x9,_0x3b11ba),A(0xa,_0x5e4ebe),A(0xb,_0x43dc49),A(0xc,_0x1d2db0(X))],ae);let de=class extends Re{constructor(_0x6a1222,_0x3a2f10,_0x34e6b4,_0x452270,_0x4754cc,_0x3cd520=!0x1,_0x4f1af2,_0x32d36c,_0x36daa4,_0x2231ed,_0x5e8d95,_0x24ca8d,_0x3582c7){var _0x323cac=_0x3817ac;super(_0x6a1222,_0x3a2f10,_0x34e6b4,_0x452270,_0x4754cc,_0x32d36c,_0x36daa4,_0x2231ed,_0x3582c7),P(this,_0x323cac(0x1f4),_0x323cac(0x252)),(this[_0x323cac(0x404)]=_0x3cd520,this[_0x323cac(0x46c)]=_0x4f1af2,this[_0x323cac(0x1c8)]=_0x5e8d95,this[_0x323cac(0x46b)]=_0x24ca8d,this[_0x323cac(0x3a6)]=_0x3582c7,this[_0x323cac(0x489)](),this[_0x323cac(0x332)](),this[_0x323cac(0x31d)]());}[_0x3817ac(0x3b9)](){return this;}[_0x3817ac(0x1c5)](){return this;}[_0x3817ac(0x415)](){return this;}[_0x3817ac(0x253)](){return this;}[_0x3817ac(0x25c)](){return this;}[_0x3817ac(0x29f)](){return this;}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x230)](){var _0x15b9ad=_0x3817ac;throw new Error(_0x15b9ad(0x1d4));}[_0x3817ac(0x332)](){var _0x10b656=_0x3817ac,_0x3b3a64;(_0x3b3a64=this[_0x10b656(0x38e)])==null||_0x3b3a64[_0x10b656(0x1f9)](this[_0x10b656(0x22f)],this['type'],null,[]);}[_0x3817ac(0x489)](){var _0x3ad4cc=_0x3817ac;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x3ad4cc(0x426)]({'id':re['PERMISSION_DENIED']}):this['_collaborationUIEventService']['emitEvent']({'id':re[_0x3ad4cc(0x42d)]});}[_0x3817ac(0x31d)](){var _0x30d53e=_0x3817ac;this[_0x30d53e(0x46c)][_0x30d53e(0x478)](new _0x1fa601(this['unitID'])['id'],!0x1);}};de=be([A(0x6,_0x880ce4(_0x3310d6)),A(0x7,_0x5ee12b),A(0x8,_0x43dc49),A(0x9,_0x880ce4(_0x46b1c6)),A(0xa,_0x880ce4(_0x42e13a)),A(0xb,_0x880ce4(pe)),A(0xc,_0x1d2db0(X))],de);let fe=class extends Re{constructor(_0x4dba3e,_0x4519d,_0x347a93,_0x16d83f,_0xd729f4,_0x1d07c1,_0x2fda16,_0x438ba1,_0x59b3c6,_0x5f28e1){var _0x15ce56=_0x3817ac;super(_0x4dba3e,_0x4519d,_0x347a93,_0x16d83f,_0xd729f4,_0x438ba1,_0x59b3c6,_0x2fda16,_0x5f28e1),P(this,_0x15ce56(0x1f4),_0x15ce56(0x317)),this[_0x15ce56(0x393)]=_0x1d07c1;}[_0x3817ac(0x3b9)](_0x222729){var _0x4f43ef=_0x3817ac;return this[_0x4f43ef(0x490)][_0x4f43ef(0x399)](_0x222729),this[_0x4f43ef(0x378)](),this;}[_0x3817ac(0x1c5)](_0x3d9ffa){var _0x20bf96=_0x3817ac;throw new Error(_0x20bf96(0x49c));}['onRemoteAck'](){var _0x249aaa=_0x3817ac;throw new Error(_0x249aaa(0x41d));}[_0x3817ac(0x253)](){var _0x9d7844=_0x3817ac;throw new Error(_0x9d7844(0x2d9));}[_0x3817ac(0x25c)](){return this;}[_0x3817ac(0x29f)](){return this;}[_0x3817ac(0x44e)](){var _0x3dc98b=_0x3817ac;const {_injector:_0xdaa4e2,_pendingMutations:_0x4799a7,_awaitingChangeset:_0xcd3ae1,unitID:_0x47819e,_handler:_0x5910bf,type:_0x293308}=this,_0x391b12=wi(_0xdaa4e2,_0x47819e,_0x293308,_0xcd3ae1,_0x4799a7,_0x5910bf);return _0x391b12 instanceof oe?_0x391b12[_0x3dc98b(0x23b)]():(_0x391b12 instanceof ae||_0x391b12 instanceof ue)&&_0x391b12[_0x3dc98b(0x230)](),_0x391b12;}[_0x3817ac(0x230)](){var _0x360639=_0x3817ac;throw new Error(_0x360639(0x29e));}};fe=be([A(0x5,_0x880ce4(_0x28aed1)),A(0x6,_0x880ce4(_0x46b1c6)),A(0x7,_0x5ee12b),A(0x8,_0x43dc49),A(0x9,_0x1d2db0(X))],fe);let te=class extends Re{constructor(_0x41ce0e,_0x4687df,_0x75ca73,_0x21b138,_0x262d28,_0xe3723d,_0x187dfb,_0x125cc4,_0x215a4e,_0x5e1ed1,_0x4cd348,_0x146786,_0x46ecdd,_0x6ea198){var _0xb59e38=_0x3817ac;super(_0x41ce0e,_0x4687df,_0x75ca73,_0x21b138,_0x187dfb,_0x4cd348,_0x146786,_0x215a4e,_0x6ea198),P(this,_0xb59e38(0x1f4),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x262d28,this[_0xb59e38(0x361)]=_0xe3723d,this[_0xb59e38(0x393)]=_0x125cc4,this[_0xb59e38(0x334)]=_0x5e1ed1,this['_transformService']=_0x46ecdd,this[_0xb59e38(0x3a6)]=_0x6ea198);}['onMissedChangesetFetched'](_0x3704c1){var _0x56e6a8=_0x3817ac;try{const _0x571240=[..._0x3704c1,...this[_0x56e6a8(0x361)]],_0x3f41d6=[this[_0x56e6a8(0x2a6)]||this[_0x56e6a8(0x2c0)]][_0x56e6a8(0x2c5)](_0x2ac99f=>!!_0x2ac99f);let _0x3d190f,_0x585a48;if(_0x3f41d6[_0x56e6a8(0x450)]){const _0x248b21=this['_transformService'][_0x56e6a8(0x342)](_0x571240,_0x3f41d6,!0x1);if(!_0x1a2959(_0x248b21))throw _0x248b21[_0x56e6a8(0x2d3)];_0x3d190f=_0x248b21['c1Prime'],_0x585a48=_0x248b21[_0x56e6a8(0x199)];}else _0x3d190f=_0x571240,_0x585a48=[];let _0x4fb278=this[_0x56e6a8(0x490)];_0x3d190f[_0x56e6a8(0x28f)](_0x2ec968=>{var _0x208429=_0x56e6a8;let _0x1404f3;if(_0x4fb278[_0x208429(0x450)]){const _0x443d=this['_transformService']['transformMutationsWithChangeset'](_0x2ec968,_0x4fb278);if(!_0x490500(_0x443d))throw _0x443d[_0x208429(0x2d3)];_0x1404f3=_0x443d[_0x208429(0x1ed)],_0x4fb278=_0x443d[_0x208429(0x2ec)];}else _0x1404f3=_0x2ec968;this['_executeRemoteChangeset'](_0x1404f3);}),this['_acknowledgedAwaitingChangeset']&&this[_0x56e6a8(0x416)](),this[_0x56e6a8(0x2a6)]&&_0x585a48[_0x56e6a8(0x450)]&&(_0x585a48[0x0][_0x56e6a8(0x314)]=this['_getCurrentRevision']());let _0x3dbe96;if(this['_awaitingChangeset']&&_0x4fb278[_0x56e6a8(0x450)]!==0x0)_0x3dbe96=this[_0x56e6a8(0x393)][_0x56e6a8(0x440)](ae,this[_0x56e6a8(0x22f)],this['type'],_0x585a48[0x0],_0x4fb278,this[_0x56e6a8(0x3c9)],void 0x0);else{if(this['_awaitingChangeset']&&_0x4fb278[_0x56e6a8(0x450)]===0x0)_0x585a48[0x0][_0x56e6a8(0x314)]=this[_0x56e6a8(0x1a3)](),_0x3dbe96=this[_0x56e6a8(0x393)][_0x56e6a8(0x440)](ue,this[_0x56e6a8(0x22f)],this[_0x56e6a8(0x408)],_0x585a48[0x0],this[_0x56e6a8(0x3c9)]);else{if(_0x4fb278[_0x56e6a8(0x450)]!==0x0){const _0xe5759d=this['_injector'][_0x56e6a8(0x440)](oe,this['unitID'],this[_0x56e6a8(0x408)],_0x4fb278,this['_handler']);_0xe5759d[_0x56e6a8(0x23b)](),_0x3dbe96=_0xe5759d;}else _0x3dbe96=this[_0x56e6a8(0x393)][_0x56e6a8(0x440)](Pe,this['unitID'],this['type'],this[_0x56e6a8(0x3c9)]);}}return _0x3dbe96[_0x56e6a8(0x378)](),_0x3dbe96;}catch(_0x2ca290){return this[_0x56e6a8(0x334)][_0x56e6a8(0x2d3)](_0x56e6a8(0x2a5),_0x56e6a8(0x36e),_0x2ca290),this[_0x56e6a8(0x393)][_0x56e6a8(0x440)](de,this[_0x56e6a8(0x22f)],this['type'],this['_awaitingChangeset'],this[_0x56e6a8(0x490)],this[_0x56e6a8(0x3c9)],!0x1);}}[_0x3817ac(0x230)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3817ac(0x3b9)](_0x3b8416){var _0x6e58b3=_0x3817ac;return this['_pendingMutations'][_0x6e58b3(0x399)](_0x3b8416),this;}[_0x3817ac(0x1c5)](_0x4b07b0){var _0x40338c=_0x3817ac;return this[_0x40338c(0x361)][_0x40338c(0x399)](_0x4b07b0),this;}[_0x3817ac(0x415)](_0x539324){var _0x584950=_0x3817ac;if(this[_0x584950(0x2a6)])return this['_acknowledgedAwaitingChangeset']=this[_0x584950(0x2a6)],this[_0x584950(0x2a6)]=null,this;throw new Error(_0x584950(0x39b));}[_0x3817ac(0x253)](_0xe10b68){var _0x2a6a86=_0x3817ac;return this[_0x2a6a86(0x363)](!!(_0xe10b68!=null&&_0xe10b68['isPermissionRej']));}[_0x3817ac(0x25c)](){return this;}[_0x3817ac(0x29f)](){var _0xafcfee=_0x3817ac;return this['_injector'][_0xafcfee(0x440)](fe,this['unitID'],this[_0xafcfee(0x408)],this['_awaitingChangeset'],this[_0xafcfee(0x490)],this[_0xafcfee(0x3c9)]);}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x363)](_0x3cce73){var _0x6daaf4=_0x3817ac;return this[_0x6daaf4(0x393)][_0x6daaf4(0x440)](de,this[_0x6daaf4(0x22f)],this[_0x6daaf4(0x408)],this[_0x6daaf4(0x2a6)],this[_0x6daaf4(0x490)],this[_0x6daaf4(0x3c9)],_0x3cce73);}};te=be([A(0x7,_0x880ce4(_0x28aed1)),A(0x8,_0x880ce4(_0x46b1c6)),A(0x9,_0x3b11ba),A(0xa,_0x5ee12b),A(0xb,_0x43dc49),A(0xc,_0x5e4ebe),A(0xd,_0x1d2db0(X))],te);function wi(_0x43f567,_0x1b85d7,_0xd8560,_0x54e059,_0x5c005a,_0x43577a){var _0x28f91a=_0x3817ac;return _0x54e059&&_0x5c005a[_0x28f91a(0x450)]?_0x43f567['createInstance'](ae,_0x1b85d7,_0xd8560,_0x54e059,_0x5c005a,_0x43577a,void 0x0):_0x54e059?_0x43f567[_0x28f91a(0x440)](ue,_0x1b85d7,_0xd8560,_0x54e059,_0x43577a):_0x5c005a[_0x28f91a(0x450)]?_0x43f567[_0x28f91a(0x440)](oe,_0x1b85d7,_0xd8560,_0x5c005a,_0x43577a):_0x43f567[_0x28f91a(0x440)](Pe,_0x1b85d7,_0xd8560,_0x43577a);}var Rs=Object[_0x3817ac(0x3b8)],ys=Object[_0x3817ac(0x1df)],Mt=(_0x156789,_0x4113a0,_0x2e8f65,_0x497f28)=>{var _0x5a01f3=_0x3817ac;for(var _0x38f601=_0x497f28>0x1?void 0x0:_0x497f28?ys(_0x4113a0,_0x2e8f65):_0x4113a0,_0x1b674b=_0x156789[_0x5a01f3(0x450)]-0x1,_0x98c9e9;_0x1b674b>=0x0;_0x1b674b--)(_0x98c9e9=_0x156789[_0x1b674b])&&(_0x38f601=(_0x497f28?_0x98c9e9(_0x4113a0,_0x2e8f65,_0x38f601):_0x98c9e9(_0x38f601))||_0x38f601);return _0x497f28&&_0x38f601&&Rs(_0x4113a0,_0x2e8f65,_0x38f601),_0x38f601;},k=(_0x1598ae,_0x31097e)=>(_0x19de09,_0x4c7dcc)=>_0x31097e(_0x19de09,_0x4c7dcc,_0x1598ae);function _0x7017(_0xa01964,_0x3374c9){var _0x484f2f=_0x484f();return _0x7017=function(_0x70178,_0x381ecd){_0x70178=_0x70178-0x197;var _0x3b5a87=_0x484f2f[_0x70178];return _0x3b5a87;},_0x7017(_0xa01964,_0x3374c9);}let st=class extends _0x9c8dcc{constructor(_0x395bde,_0xdcf52a,_0x5acdf9,_0xdae846,_0x303a1f,_0x5d3ec,_0xf154f1,_0x1cfd8c,_0x45d7b4,_0x2eb93f,_0x17c4b1,_0x2574c2,_0x278aa2){var _0x357af4=_0x3817ac;super(),P(this,_0x357af4(0x375),new _0x576e29(null)),P(this,_0x357af4(0x224),this[_0x357af4(0x375)][_0x357af4(0x34a)]()),P(this,_0x357af4(0x462)),P(this,'_collaborationPaused',!0x1),P(this,_0x357af4(0x36f),''),P(this,_0x357af4(0x41b),0x0),P(this,_0x357af4(0x340),this['state$'][_0x357af4(0x37a)](_0x155080(_0x9b4423=>_0x9b4423?_0x9b4423[_0x357af4(0x1f4)]:Pi[_0x357af4(0x41a)]),_0x55005f(0x1))),P(this,'_transitionLocked',!0x1),P(this,_0x357af4(0x3b0),[]),(this[_0x357af4(0x22f)]=_0x395bde,this[_0x357af4(0x275)]=_0xdcf52a,this[_0x357af4(0x3fb)]=_0x5acdf9,this[_0x357af4(0x393)]=_0xdae846,this['_compressMutationService']=_0x303a1f,this['_localeService']=_0x5d3ec,this[_0x357af4(0x3d9)]=_0xf154f1,this[_0x357af4(0x455)]=_0x1cfd8c,this[_0x357af4(0x334)]=_0x45d7b4,this[_0x357af4(0x3b3)]=_0x2eb93f,this[_0x357af4(0x46c)]=_0x17c4b1,this['_singleActiveUnitService']=_0x2574c2,this['_localCacheService']=_0x278aa2);}get[_0x3817ac(0x48c)](){var _0x3abc27=_0x3817ac;return this[_0x3abc27(0x462)];}async[_0x3817ac(0x494)](){var _0x40476c=_0x3817ac;if(this['state'])throw new Error(_0x40476c(0x47a));await this['_init']();}['pauseCollaboration'](){var _0x21ed4d=_0x3817ac;return this[_0x21ed4d(0x223)]=!0x0,_0x3282bc(()=>{var _0x1f0e4a=_0x21ed4d;this['_collaborationPaused']=!0x1,this[_0x1f0e4a(0x206)]();});}[_0x3817ac(0x2f0)](_0x49a900){var _0x5751e6=_0x3817ac;this[_0x5751e6(0x3d0)](_0x49a900);}[_0x3817ac(0x2d2)](_0x1f6ad3){var _0x312eab=_0x3817ac;this['_state']=_0x1f6ad3,this['_state$'][_0x312eab(0x394)](_0x1f6ad3);}async[_0x3817ac(0x265)](){var _0x865d47=_0x3817ac,_0x3576eb;this[_0x865d47(0x2d2)](await this['_createInitialState']()),this[_0x865d47(0x347)]&&((_0x3576eb=this[_0x865d47(0x347)])==null||_0x3576eb['editingUnit'](this[_0x865d47(0x22f)]),this[_0x865d47(0x38f)](this[_0x865d47(0x347)][_0x865d47(0x3cb)](this[_0x865d47(0x22f)])[_0x865d47(0x3da)](_0x690b27=>{var _0x574d40=_0x865d47;this['_logService'][_0x574d40(0x406)](_0x574d40(0x1fa),'editing\x20status\x20changed\x20to',_0x690b27),_0x690b27===Oi[_0x574d40(0x222)]?(this[_0x574d40(0x455)][_0x574d40(0x426)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x574d40(0x46c)][_0x574d40(0x478)](new _0x1fa601(this['unitID'])['id'],!0x1),this[_0x574d40(0x46c)][_0x574d40(0x2c2)](!0x1)):(this[_0x574d40(0x46c)][_0x574d40(0x478)](new _0x1fa601(this[_0x574d40(0x22f)])['id'],!0x0),this[_0x574d40(0x46c)][_0x574d40(0x2c2)](!0x0));})));let _0xfb1aea=!0x1;return this['disposeWithMe'](this[_0x865d47(0x275)][_0x865d47(0x32d)][_0x865d47(0x3da)](_0x14c039=>{var _0x4459b9=_0x865d47;_0x14c039===Te[_0x4459b9(0x348)]?this['_toggleOnline'](_0xfb1aea):_0x14c039===Te[_0x4459b9(0x41a)]&&(_0xfb1aea=!0x0,this[_0x4459b9(0x37c)]());})),this[_0x865d47(0x38f)](this['session'][_0x865d47(0x1a7)][_0x865d47(0x3da)](_0x243b8c=>{var _0x42a87c=_0x865d47;try{switch(_0x243b8c['eventID']){case _0x48cdf6[_0x42a87c(0x1c0)]:{this[_0x42a87c(0x386)](_0x42c60c(_0x243b8c[_0x42a87c(0x289)]));break;}case _0x48cdf6[_0x42a87c(0x1e2)]:{this[_0x42a87c(0x376)](_0x243b8c[_0x42a87c(0x289)]);break;}case _0x48cdf6[_0x42a87c(0x436)]:{this[_0x42a87c(0x4a5)]();break;}case _0x48cdf6[_0x42a87c(0x20d)]:{this[_0x42a87c(0x27c)](_0x243b8c[_0x42a87c(0x289)]);break;}case _0x48cdf6[_0x42a87c(0x2b8)]:{this[_0x42a87c(0x306)](_0x243b8c[_0x42a87c(0x289)][_0x42a87c(0x2a1)][_0x42a87c(0x418)](_0x14a44c=>_0x42c60c(_0x14a44c)));break;}case _0x48cdf6[_0x42a87c(0x47b)]:{this[_0x42a87c(0x4a5)]({'isPermissionRej':!0x0});break;}case _0x48cdf6[_0x42a87c(0x1f7)]:break;}}catch(_0x2049cf){throw console['error'](_0x42a87c(0x203),_0x2049cf),_0x2049cf;}})),this[_0x865d47(0x462)];}[_0x3817ac(0x473)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x4370a1=_0x3817ac;if(this[_0x4370a1(0x292)])throw new Error(_0x4370a1(0x45d));this[_0x4370a1(0x292)]=!0x0;}['_onLocalMutation'](_0x5af95a){var _0x173f36=_0x3817ac;this[_0x173f36(0x460)](),this[_0x173f36(0x2d2)](this['_state'][_0x173f36(0x3b9)](_0x5af95a)),this[_0x173f36(0x473)]();}[_0x3817ac(0x386)](_0x82cf41){var _0x472dc5=_0x3817ac;if(!(_0x82cf41['revision']<=this[_0x472dc5(0x3d9)]['getCurrentRevOfUnit'](this[_0x472dc5(0x22f)]))){if(this[_0x472dc5(0x223)]){this[_0x472dc5(0x3b0)][_0x472dc5(0x399)](_0x82cf41);return;}this[_0x472dc5(0x447)](_0x82cf41);}}['_exhaustRemoteChangesetQueue'](){var _0x497361=_0x3817ac;this[_0x497361(0x3b0)][_0x497361(0x28f)](_0x2e9935=>this[_0x497361(0x447)](_0x2e9935)),this[_0x497361(0x3b0)]=[];}[_0x3817ac(0x447)](_0x29fc5b){var _0x300737=_0x3817ac;const _0x1dba3a=this[_0x300737(0x30a)][_0x300737(0x3bc)][_0x300737(0x2f1)](this[_0x300737(0x30a)]['interceptor'][_0x300737(0x2b4)]()[_0x300737(0x33a)])(_0x29fc5b[_0x300737(0x2da)],null)||_0x29fc5b[_0x300737(0x2da)],_0x1f1ca8={..._0x29fc5b,'mutations':_0x1dba3a};this['_lockTransition'](),this['_updateState'](this[_0x300737(0x462)][_0x300737(0x1c5)](_0x1f1ca8)),this[_0x300737(0x473)]();}[_0x3817ac(0x376)](_0x25864b){var _0x3ae355=_0x3817ac;this[_0x3ae355(0x460)](),this['_updateState'](this[_0x3ae355(0x462)]['onRemoteAck'](_0x25864b)),this['_unlockTransition']();}[_0x3817ac(0x4a5)](_0x56de73){var _0x342c76=_0x3817ac;this[_0x342c76(0x460)](),this[_0x342c76(0x2d2)](this[_0x342c76(0x462)][_0x342c76(0x253)](_0x56de73)),this['_unlockTransition']();}[_0x3817ac(0x27c)](_0x263e44){var _0x378244=_0x3817ac;this[_0x378244(0x460)](),this['_updateState'](this[_0x378244(0x462)][_0x378244(0x25c)](_0x263e44)),this['_unlockTransition']();}[_0x3817ac(0x306)](_0xbfc41a){var _0x550292=_0x3817ac;if(!(this[_0x550292(0x462)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3567dc=_0xbfc41a[_0x550292(0x418)](_0x248fe8=>{var _0x4352ad=_0x550292;const _0x2c7128=this['_compressMutationService'][_0x4352ad(0x3bc)][_0x4352ad(0x2f1)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x248fe8[_0x4352ad(0x2da)],null)||_0x248fe8[_0x4352ad(0x2da)];return{..._0x248fe8,'mutations':_0x2c7128};});this[_0x550292(0x460)](),this[_0x550292(0x2d2)](this[_0x550292(0x462)][_0x550292(0x3ed)](_0x3567dc)),this['_unlockTransition']();}[_0x3817ac(0x37c)](){var _0x54db1a=_0x3817ac;this[_0x54db1a(0x460)](),this[_0x54db1a(0x2d2)](this[_0x54db1a(0x462)][_0x54db1a(0x29f)]()),this[_0x54db1a(0x473)]();}[_0x3817ac(0x1a2)](_0x47fbf6=!0x1){var _0x58588e=_0x3817ac;this['_lockTransition'](),this[_0x58588e(0x2d2)](this[_0x58588e(0x462)][_0x58588e(0x44e)]()),this[_0x58588e(0x473)]();const _0x43c3d9=this[_0x58588e(0x462)];_0x47fbf6&&_0x43c3d9 instanceof Pe&&(this['_lockTransition'](),this[_0x58588e(0x2d2)](_0x43c3d9[_0x58588e(0x260)]()),this[_0x58588e(0x473)]());}async[_0x3817ac(0x3e0)](){return new Promise(_0x1529d7=>{var _0x4eebcb=_0x7017;this[_0x4eebcb(0x275)][_0x4eebcb(0x32d)][_0x4eebcb(0x37a)](_0x551224(0x1))['subscribe'](async _0x12db79=>{var _0x159f32=_0x4eebcb;_0x1529d7(await this[_0x159f32(0x328)](_0x12db79===Te[_0x159f32(0x348)]));});});}[_0x3817ac(0x43c)](){var _0x443d13=_0x3817ac;const _0x430fd1=this[_0x443d13(0x22f)];return{'onStateChange':(_0x37d3e1,_0x2f3984)=>{var _0x38a467=_0x443d13;if(_0x37d3e1!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x37d3e1[_0x38a467(0x1f4)]+_0x38a467(0x438)+_0x2f3984[_0x38a467(0x1f4)]+_0x38a467(0x4aa)+this[_0x38a467(0x462)][_0x38a467(0x1f4)]);this[_0x38a467(0x2d2)](_0x2f3984);},'onSendChangeset':_0x4a52c5=>{var _0x1d3331=_0x443d13;_0x4a52c5[_0x1d3331(0x2c9)]||(_0x4a52c5[_0x1d3331(0x2c9)]=this[_0x1d3331(0x36f)],_0x4a52c5[_0x1d3331(0x49a)]=++this[_0x1d3331(0x41b)]);const _0x98e7a4={'eventID':_0x48cdf6['SUBMIT_CHANGESET'],'data':{'unitID':_0x4a52c5[_0x1d3331(0x22f)],'unitType':this[_0x1d3331(0x3fb)],'changeset':_0x4a52c5,'memberID':this[_0x1d3331(0x275)][_0x1d3331(0x319)]()}};this[_0x1d3331(0x275)]['send'](_0x98e7a4,this[_0x1d3331(0x22f)]);},'onMissingChangesets':({from:_0x25a456,to:_0x5488fd})=>{var _0x2e9b37=_0x443d13;this[_0x2e9b37(0x334)]['debug'](_0x2e9b37(0x1fa),_0x2e9b37(0x364)+_0x25a456+_0x2e9b37(0x1e8)+_0x5488fd);const _0x51d7f7={'eventID':_0x48cdf6[_0x2e9b37(0x216)],'data':{'unitID':_0x430fd1,'unitType':this[_0x2e9b37(0x3fb)],'from':_0x25a456,'to':_0x5488fd}};this[_0x2e9b37(0x275)]['send'](_0x51d7f7,this['unitID']);}};}async[_0x3817ac(0x328)](_0x1759be){var _0x36d5d7=_0x3817ac,_0x54a4f6,_0x52c5ac,_0xddae9a;const _0x42fa5a=await((_0x54a4f6=this['_localCacheService'])==null?void 0x0:_0x54a4f6['loadOfflineData'](this[_0x36d5d7(0x22f)])),_0x327782=(_0x52c5ac=_0x42fa5a==null?void 0x0:_0x42fa5a[_0x36d5d7(0x2da)])!=null?_0x52c5ac:[],_0x2b4844=(_0xddae9a=_0x42fa5a==null?void 0x0:_0x42fa5a['awaitingChangeset'])!=null?_0xddae9a:null,_0x1ca1e5=!!(_0x2b4844!=null&&_0x2b4844[_0x36d5d7(0x2c9)])&&!!(_0x2b4844!=null&&_0x2b4844[_0x36d5d7(0x49a)]);this[_0x36d5d7(0x36f)]=_0x1ca1e5?_0x2b4844['sid']:vs(),this[_0x36d5d7(0x41b)]=_0x1ca1e5?_0x2b4844[_0x36d5d7(0x49a)]:0x0;const _0x53c3b3=this[_0x36d5d7(0x22f)];try{this[_0x36d5d7(0x40d)](_0x2b4844,_0x327782);}catch(_0x327ee9){this[_0x36d5d7(0x334)][_0x36d5d7(0x2d3)](_0x327ee9);}const _0x1a227f=this[_0x36d5d7(0x43c)]();if(_0x1759be){const _0x4c6f84=wi(this[_0x36d5d7(0x393)],_0x53c3b3,this[_0x36d5d7(0x3fb)],_0x2b4844,_0x327782,_0x1a227f);return _0x4c6f84 instanceof oe?_0x4c6f84[_0x36d5d7(0x23b)]():(_0x4c6f84 instanceof ae||_0x4c6f84 instanceof ue)&&_0x4c6f84[_0x36d5d7(0x230)](),_0x4c6f84;}return this[_0x36d5d7(0x393)][_0x36d5d7(0x440)](fe,_0x53c3b3,this[_0x36d5d7(0x3fb)],_0x2b4844,_0x327782,_0x1a227f);}['_replayCachedMutations'](_0x5be804,_0x8ea6c8){var _0x165fbc=_0x3817ac,_0x1070c4,_0x1a5b42;const _0x10b07f=this[_0x165fbc(0x30a)][_0x165fbc(0x3bc)][_0x165fbc(0x2f1)](this[_0x165fbc(0x30a)][_0x165fbc(0x3bc)][_0x165fbc(0x2b4)]()['COMPRESS_MUTATION_APPLY']);(_0x1070c4=_0x10b07f((_0x5be804==null?void 0x0:_0x5be804[_0x165fbc(0x2da)])||[],null))==null||_0x1070c4['forEach'](_0x20d31f=>this['_commandService'][_0x165fbc(0x287)](_0x20d31f['id'],_0x20d31f['params'])),(_0x1a5b42=_0x10b07f(_0x8ea6c8||[],null))==null||_0x1a5b42[_0x165fbc(0x28f)](_0x1d46ae=>this[_0x165fbc(0x3b3)][_0x165fbc(0x287)](_0x1d46ae['id'],_0x1d46ae[_0x165fbc(0x3f3)]));}};st=Mt([k(0x3,_0x880ce4(_0x28aed1)),k(0x4,_0x880ce4(_0x261980)),k(0x5,_0x880ce4(_0x42e13a)),k(0x6,_0x880ce4(_0x46b1c6)),k(0x7,_0x880ce4(pe)),k(0x8,_0x3b11ba),k(0x9,_0x5ee12b),k(0xa,_0x3310d6),k(0xb,_0x1d2db0(_t)),k(0xc,_0x1d2db0(X))],st);let Ct=class extends st{constructor(_0x24d2b7,_0x51fa1e,_0x50fe57,_0x50c9be,_0x223759,_0x2df351,_0x452c85,_0x2032ed,_0x3d3d8f,_0x4cefcb,_0x56d943,_0x4332ac,_0xa60871){var _0x56470a=_0x3817ac;super(_0x24d2b7,_0x50fe57,_0x51fa1e,_0x50c9be,_0x223759,_0x2df351,_0x452c85,_0x2032ed,_0x3d3d8f,_0x4cefcb,_0x56d943,_0x4332ac,_0xa60871),P(this,_0x56470a(0x24d),null),(this[_0x56470a(0x22f)]=_0x24d2b7,this[_0x56470a(0x408)]=_0x51fa1e);}[_0x3817ac(0x23c)](_0x275c7b){var _0x2740b6=_0x3817ac;this[_0x2740b6(0x24d)]=_0x275c7b;}[_0x3817ac(0x42b)](){var _0xa0eb29=_0x3817ac;this[_0xa0eb29(0x24d)]=null,super[_0xa0eb29(0x42b)]();}['_createHandler'](){var _0x245b7a=_0x3817ac;const _0x440d8b=super[_0x245b7a(0x43c)]();return _0x440d8b['onTransformIME']=_0x2cd725=>{var _0x71be1c=_0x245b7a,_0x52b0ed,_0x14289f;return(_0x14289f=(_0x52b0ed=this['_handlerCallback'])==null?void 0x0:_0x52b0ed['onTransformIME'])==null?void 0x0:_0x14289f[_0x71be1c(0x26b)](_0x52b0ed,_0x2cd725);},_0x440d8b['onTransformState']=_0x345bb6=>{var _0x3b0e5e=_0x245b7a,_0x59aa44,_0x417953;return(_0x417953=(_0x59aa44=this['_handlerCallback'])==null?void 0x0:_0x59aa44[_0x3b0e5e(0x24c)])==null?void 0x0:_0x417953[_0x3b0e5e(0x26b)](_0x59aa44,_0x345bb6);},_0x440d8b[_0x245b7a(0x3e5)]=_0x32db6d=>{var _0x30b744=_0x245b7a,_0x1c3aa7,_0x5106cc;return(_0x5106cc=(_0x1c3aa7=this[_0x30b744(0x24d)])==null?void 0x0:_0x1c3aa7[_0x30b744(0x3e5)])==null?void 0x0:_0x5106cc[_0x30b744(0x26b)](_0x1c3aa7,_0x32db6d);},_0x440d8b[_0x245b7a(0x385)]=_0x363d6=>{var _0x46a3ea=_0x245b7a,_0x104432,_0x1ff69a;return(_0x1ff69a=(_0x104432=this[_0x46a3ea(0x24d)])==null?void 0x0:_0x104432[_0x46a3ea(0x385)])==null?void 0x0:_0x1ff69a[_0x46a3ea(0x26b)](_0x104432,_0x363d6);},_0x440d8b['onTransformRemoteChangesetByIMECache']=_0x37294e=>{var _0x41994a=_0x245b7a,_0x3cd3b9,_0x52da9c,_0x538568;if(!((_0x3cd3b9=this[_0x41994a(0x24d)])!=null&&_0x3cd3b9[_0x41994a(0x1d0)]))throw new Error(_0x41994a(0x2f5));return(_0x538568=(_0x52da9c=this[_0x41994a(0x24d)])==null?void 0x0:_0x52da9c[_0x41994a(0x1d0)])==null?void 0x0:_0x538568[_0x41994a(0x26b)](_0x52da9c,_0x37294e);},_0x440d8b[_0x245b7a(0x214)]=_0x5f1708=>{var _0x5ec6a8=_0x245b7a,_0xddefa,_0x50dac4,_0x3eab4a;if(!((_0xddefa=this['_handlerCallback'])!=null&&_0xddefa[_0x5ec6a8(0x214)]))throw new Error(_0x5ec6a8(0x20b));return(_0x3eab4a=(_0x50dac4=this[_0x5ec6a8(0x24d)])==null?void 0x0:_0x50dac4['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3eab4a[_0x5ec6a8(0x26b)](_0x50dac4,_0x5f1708);},_0x440d8b;}async[_0x3817ac(0x265)](){var _0x279fea=_0x3817ac;const _0x2a48cb=await super[_0x279fea(0x265)]();return this[_0x279fea(0x38f)](this[_0x279fea(0x3b3)][_0x279fea(0x1a1)]((_0x483648,_0x210bb6)=>{var _0x16d7a5=_0x279fea;if(_0x483648[_0x16d7a5(0x408)]!==_0x2cbde1['MUTATION']||_0x210bb6!=null&&_0x210bb6['fromCollab']||_0x210bb6!=null&&_0x210bb6[_0x16d7a5(0x29d)]||_0x483648['id']===_0x4aee6a['id'])return;const _0x3c6ef5=_0x483648[_0x16d7a5(0x3f3)];if((_0x3c6ef5==null?void 0x0:_0x3c6ef5[_0x16d7a5(0x49d)])!==this['unitID'])return;const _0x1fdede=_0x483648,_0x53e608=this[_0x16d7a5(0x30a)][_0x16d7a5(0x3bc)]['fetchThroughInterceptors'](this[_0x16d7a5(0x30a)][_0x16d7a5(0x3bc)][_0x16d7a5(0x2b4)]()['COMPRESS_MUTATION_SEND'])([_0x1fdede],null)||[_0x1fdede];this['_onLocalMutation'](_0x53e608[0x0]);})),_0x2a48cb;}};Ct=Mt([k(0x3,_0x880ce4(_0x28aed1)),k(0x4,_0x880ce4(_0x261980)),k(0x5,_0x880ce4(_0x42e13a)),k(0x6,_0x880ce4(_0x46b1c6)),k(0x7,_0x880ce4(pe)),k(0x8,_0x3b11ba),k(0x9,_0x5ee12b),k(0xa,_0x3310d6),k(0xb,_0x1d2db0(_t)),k(0xc,_0x1d2db0(X))],Ct);let bt=class extends st{constructor(_0x24c5fe,_0x29cd17,_0x19c961,_0x2625a9,_0x2c24e0,_0x1c01e1,_0x2afe74,_0x59df0f,_0x452d62,_0x4b4f44,_0x517d4d,_0x548b45,_0x3d5ab9,_0x5e19e7){var _0x21127d=_0x3817ac;super(_0x24c5fe,_0x19c961,_0x29cd17,_0x2625a9,_0x2c24e0,_0x1c01e1,_0x2afe74,_0x452d62,_0x4b4f44,_0x517d4d,_0x548b45,_0x3d5ab9,_0x5e19e7),this['unitID']=_0x24c5fe,this[_0x21127d(0x408)]=_0x29cd17,this[_0x21127d(0x26c)]=_0x59df0f;}[_0x3817ac(0x43c)](){var _0xe30a58=_0x3817ac;const _0xde32d2=super[_0xe30a58(0x43c)]();return _0xde32d2[_0xe30a58(0x3e5)]=_0x5a1ffd=>this['_sheetTransformSelectionsService']['transformSelections'](_0x5a1ffd),_0xde32d2;}async[_0x3817ac(0x265)](){var _0xc7b994=_0x3817ac;const _0x2bd5ad=await super[_0xc7b994(0x265)]();return this[_0xc7b994(0x38f)](this['_commandService'][_0xc7b994(0x1a1)]((_0x3962c5,_0x592d49)=>{var _0x14a3dc=_0xc7b994;if(_0x3962c5['type']!==_0x2cbde1[_0x14a3dc(0x384)]||_0x592d49!=null&&_0x592d49['fromCollab']||_0x592d49!=null&&_0x592d49[_0x14a3dc(0x29d)])return;const _0x54acfd=_0x3962c5[_0x14a3dc(0x3f3)];if((_0x54acfd==null?void 0x0:_0x54acfd['unitId'])!==this[_0x14a3dc(0x22f)])return;const _0x2d68fa=_0x3962c5,_0x1b7d47=this[_0x14a3dc(0x30a)][_0x14a3dc(0x3bc)][_0x14a3dc(0x2f1)](this[_0x14a3dc(0x30a)][_0x14a3dc(0x3bc)]['getInterceptPoints']()[_0x14a3dc(0x3bf)])([_0x2d68fa],null)||[_0x2d68fa];this['_onLocalMutation'](_0x1b7d47[0x0]);})),_0x2bd5ad;}};bt=Mt([k(0x3,_0x880ce4(_0x28aed1)),k(0x4,_0x880ce4(_0x261980)),k(0x5,_0x880ce4(_0x42e13a)),k(0x6,_0x880ce4(_0x46b1c6)),k(0x7,_0x880ce4(nt)),k(0x8,_0x880ce4(pe)),k(0x9,_0x3b11ba),k(0xa,_0x5ee12b),k(0xb,_0x3310d6),k(0xc,_0x1d2db0(_t)),k(0xd,_0x1d2db0(X))],bt);var Os=Object['defineProperty'],Ns=Object[_0x3817ac(0x1df)],Ps=(_0x56a6d1,_0x371dc1,_0x57f74d,_0x2e6104)=>{var _0x54fab7=_0x3817ac;for(var _0x5778a5=_0x2e6104>0x1?void 0x0:_0x2e6104?Ns(_0x371dc1,_0x57f74d):_0x371dc1,_0x51265c=_0x56a6d1[_0x54fab7(0x450)]-0x1,_0x515a24;_0x51265c>=0x0;_0x51265c--)(_0x515a24=_0x56a6d1[_0x51265c])&&(_0x5778a5=(_0x2e6104?_0x515a24(_0x371dc1,_0x57f74d,_0x5778a5):_0x515a24(_0x5778a5))||_0x5778a5);return _0x2e6104&&_0x5778a5&&Os(_0x371dc1,_0x57f74d,_0x5778a5),_0x5778a5;},vt=(_0xb2dc21,_0xddf372)=>(_0x1bdb04,_0x391578)=>_0xddf372(_0x1bdb04,_0x391578,_0xb2dc21);let rt=class extends _0x9c8dcc{constructor(_0x346e24,_0x2dd46b,_0x2e5b5c){var _0x4a4417=_0x3817ac;super(),P(this,_0x4a4417(0x40e),new Map()),P(this,_0x4a4417(0x246),new _0x560c85()),P(this,_0x4a4417(0x1e1),this['_entityInit$'][_0x4a4417(0x34a)]()),(this[_0x4a4417(0x393)]=_0x346e24,this['_collabSessionService']=_0x2dd46b,this[_0x4a4417(0x3cf)]=_0x2e5b5c,this[_0x4a4417(0x265)]());}[_0x3817ac(0x42b)](){var _0x39e35b=_0x3817ac;super['dispose'](),this[_0x39e35b(0x40e)][_0x39e35b(0x28f)](_0x574a9c=>_0x574a9c[_0x39e35b(0x42b)]()),this[_0x39e35b(0x40e)][_0x39e35b(0x24e)]();}['getCollabEntity'](_0x129985){var _0x2e6643=_0x3817ac,_0x4d8003;return(_0x4d8003=this['_entities'][_0x2e6643(0x1b5)](_0x129985))!=null?_0x4d8003:null;}[_0x3817ac(0x2c1)](_0x457750){var _0x116bc1=_0x3817ac;const _0xd1bb8f=this[_0x116bc1(0x3b6)](_0x457750);return _0xd1bb8f?_0x41a794(_0xd1bb8f):this[_0x116bc1(0x246)]['pipe'](_0x1b785d(_0x246bc9=>_0x246bc9[_0x116bc1(0x22f)]===_0x457750));}[_0x3817ac(0x389)](_0x282ddc){var _0x4c8469=_0x3817ac;return _0x54a0bb(this[_0x4c8469(0x2c1)](_0x282ddc)[_0x4c8469(0x37a)](_0x24684d(()=>{})));}[_0x3817ac(0x265)](){var _0x52d107=_0x3817ac;this['_univerInstanceService'][_0x52d107(0x422)](_0x1f11e9[_0x52d107(0x2e1)])[_0x52d107(0x37a)](_0x44ee9f(this[_0x52d107(0x2e8)]),_0x54d682(0x10))[_0x52d107(0x3da)](async _0x49d3c5=>{var _0x34e443=_0x52d107;const _0x359bea=_0x49d3c5[_0x34e443(0x370)](),_0x56fc36=await this[_0x34e443(0x41f)](_0x359bea,Q[_0x34e443(0x2e1)]);this[_0x34e443(0x40e)]['set'](_0x359bea,_0x56fc36);}),this[_0x52d107(0x3cf)][_0x52d107(0x422)](_0x1f11e9[_0x52d107(0x1f6)])['pipe'](_0x44ee9f(this[_0x52d107(0x2e8)]),_0x54d682(0x10))[_0x52d107(0x37a)](_0x1b785d(_0x462f0e=>!_0x462f0e[_0x52d107(0x370)]()[_0x52d107(0x1b2)]('__')))[_0x52d107(0x3da)](async _0xcadb5d=>{var _0x47ce54=_0x52d107;const _0x51d6ed=_0xcadb5d[_0x47ce54(0x370)](),_0x57cef8=await this[_0x47ce54(0x41f)](_0x51d6ed,Q['UNIVER_DOC']);this[_0x47ce54(0x40e)][_0x47ce54(0x3dd)](_0x51d6ed,_0x57cef8);}),_0x30e992(this[_0x52d107(0x3cf)][_0x52d107(0x313)](_0x1f11e9[_0x52d107(0x2e1)]),this['_univerInstanceService'][_0x52d107(0x313)](_0x1f11e9[_0x52d107(0x1f6)]))['pipe'](_0x44ee9f(this[_0x52d107(0x2e8)]))[_0x52d107(0x3da)](_0xf2b9b3=>{var _0x4b7edb=_0x52d107;const _0x508f46=_0xf2b9b3['getUnitId'](),_0x5b8581=this[_0x4b7edb(0x40e)]['get'](_0x508f46);_0x5b8581&&(_0x5b8581[_0x4b7edb(0x42b)](),this[_0x4b7edb(0x40e)][_0x4b7edb(0x220)](_0x508f46));});}async[_0x3817ac(0x41f)](_0x36b289,_0x5351a2){var _0x34746=_0x3817ac;const _0x176890=await this[_0x34746(0x1c7)]['requireSession'](_0x36b289),_0x443343=this['_injector']['createInstance'](this['_getCtorByUniverType'](_0x5351a2),_0x36b289,_0x5351a2,_0x176890);return await _0x443343[_0x34746(0x494)](),this[_0x34746(0x246)]['next'](_0x443343),_0x443343;}[_0x3817ac(0x28a)](_0x499b0a){var _0x2e88f4=_0x3817ac;switch(_0x499b0a){case Q['UNIVER_DOC']:return Ct;case Q[_0x2e88f4(0x2e1)]:return bt;default:throw new Error(_0x2e88f4(0x29b)+_0x499b0a);}}};rt=Ps([vt(0x0,_0x880ce4(_0x28aed1)),vt(0x1,_0x880ce4(Le)),vt(0x2,_0x369bbf)],rt);var Ds=Object['defineProperty'],ws=Object[_0x3817ac(0x1df)],Us=(_0x3093da,_0x33e2ce,_0x5acf21,_0x7a7c3)=>{for(var _0x1745fe=_0x7a7c3>0x1?void 0x0:_0x7a7c3?ws(_0x33e2ce,_0x5acf21):_0x33e2ce,_0x1cbf50=_0x3093da['length']-0x1,_0x5031f2;_0x1cbf50>=0x0;_0x1cbf50--)(_0x5031f2=_0x3093da[_0x1cbf50])&&(_0x1745fe=(_0x7a7c3?_0x5031f2(_0x33e2ce,_0x5acf21,_0x1745fe):_0x5031f2(_0x1745fe))||_0x1745fe);return _0x7a7c3&&_0x1745fe&&Ds(_0x33e2ce,_0x5acf21,_0x1745fe),_0x1745fe;},Zt=(_0x547a0f,_0x4c8b8e)=>(_0x14c13d,_0xe61e33)=>_0x4c8b8e(_0x14c13d,_0xe61e33,_0x547a0f);const As=_0x3817ac(0x441),xs=_0x3817ac(0x268);let Rt=class extends _0x4c5e0f{constructor(_0x41b3df,_0x4d6d09){var _0x33a830=_0x3817ac;super(),this[_0x33a830(0x3cf)]=_0x41b3df,this[_0x33a830(0x2e5)]=_0x4d6d09,this[_0x33a830(0x265)]();}['_init'](){var _0x1fb968=_0x3817ac;this[_0x1fb968(0x38f)](this[_0x1fb968(0x3cf)][_0x1fb968(0x29a)]['subscribe'](()=>{var _0xe83a40=_0x1fb968,_0x41c8d4;const _0x36094c=this['_univerInstanceService']['getFocusedUnit']();let _0x1c639c=(_0x41c8d4=this[_0xe83a40(0x2e5)][_0xe83a40(0x3a7)](As))!=null?_0x41c8d4:xs;_0x36094c instanceof _0x7013a8&&(_0x1c639c=_0x36094c[_0xe83a40(0x36a)]),document[_0xe83a40(0x43e)]=_0x1c639c;}));}};Rt=Us([Zt(0x0,_0x369bbf),Zt(0x1,_0x268506)],Rt);var Ls=Object[_0x3817ac(0x3b8)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x569020,_0x244926,_0xe762cf,_0xf032b)=>{var _0x45c148=_0x3817ac;for(var _0x32c92b=_0xf032b>0x1?void 0x0:_0xf032b?Ms(_0x244926,_0xe762cf):_0x244926,_0xaa599f=_0x569020[_0x45c148(0x450)]-0x1,_0x1da3b8;_0xaa599f>=0x0;_0xaa599f--)(_0x1da3b8=_0x569020[_0xaa599f])&&(_0x32c92b=(_0xf032b?_0x1da3b8(_0x244926,_0xe762cf,_0x32c92b):_0x1da3b8(_0x32c92b))||_0x32c92b);return _0xf032b&&_0x32c92b&&Ls(_0x244926,_0xe762cf,_0x32c92b),_0x32c92b;},pt=(_0x2318f8,_0x5f4645)=>(_0xcf7472,_0x4115d8)=>_0x5f4645(_0xcf7472,_0x4115d8,_0x2318f8);let ot=class{constructor(_0x2bacca,_0x315e36,_0x195ddc){var _0x120127=_0x3817ac;this[_0x120127(0x2e5)]=_0x2bacca,this[_0x120127(0x3d2)]=_0x315e36,this[_0x120127(0x40c)]=_0x195ddc,this[_0x120127(0x494)]();}[_0x3817ac(0x494)](){var _0x19e28e=_0x3817ac;this['_httpService'][_0x19e28e(0x381)]({'priority':0x1,'interceptor':(_0x249534,_0x144cdf)=>_0x144cdf(_0x249534)['pipe'](_0xe3238b(async _0x693963=>{var _0x4de02a=_0x19e28e;const _0x377279=_0x693963;if(_0x377279[_0x4de02a(0x1f4)]===0x191){if(typeof window>'u')throw new Error(_0x4de02a(0x354));if(window[_0x4de02a(0x1e4)](this[_0x4de02a(0x40c)]['t'](_0x4de02a(0x45f)))){const _0x4e0862=window[_0x4de02a(0x2a2)](window[_0x4de02a(0x238)][_0x4de02a(0x290)]);window[_0x4de02a(0x238)][_0x4de02a(0x290)]=this['_getLoginPath']()+'?url='+_0x4e0862;}}return _0x377279;}))});}['_getLoginPath'](){var _0x222e3a=_0x3817ac,_0x4a6cd2,_0x58b22e;const _0x42e4f6=this[_0x222e3a(0x2e5)][_0x222e3a(0x3a7)](Wn),_0x335171=this[_0x222e3a(0x2e5)][_0x222e3a(0x3a7)](Y);return(_0x58b22e=(_0x4a6cd2=_0x335171==null?void 0x0:_0x335171[_0x222e3a(0x2d4)])!=null?_0x4a6cd2:_0x42e4f6)!=null?_0x58b22e:Gn;}};ot=$s([pt(0x0,_0x268506),pt(0x1,_0x880ce4(_0x157352)),pt(0x2,_0x880ce4(_0x42e13a))],ot);var Hs=Object['defineProperty'],ks=Object[_0x3817ac(0x1df)],js=(_0x42c1e5,_0x2c693b,_0x2470ea,_0x261db3)=>{var _0xcd4b38=_0x3817ac;for(var _0x45c4d1=_0x261db3>0x1?void 0x0:_0x261db3?ks(_0x2c693b,_0x2470ea):_0x2c693b,_0x1480f8=_0x42c1e5[_0xcd4b38(0x450)]-0x1,_0x5d0910;_0x1480f8>=0x0;_0x1480f8--)(_0x5d0910=_0x42c1e5[_0x1480f8])&&(_0x45c4d1=(_0x261db3?_0x5d0910(_0x2c693b,_0x2470ea,_0x45c4d1):_0x5d0910(_0x45c4d1))||_0x45c4d1);return _0x261db3&&_0x45c4d1&&Hs(_0x2c693b,_0x2470ea,_0x45c4d1),_0x45c4d1;},Qt=(_0x18c43c,_0x1ad5ad)=>(_0x5e386f,_0x23dd25)=>_0x1ad5ad(_0x5e386f,_0x23dd25,_0x18c43c);const Ui=_0x3817ac(0x27b),Bs=_0x3817ac(0x2ff);let yt=class extends _0x4c5e0f{constructor(_0x5ec513,_0x1b00e5){var _0x113e55=_0x3817ac;super(),this[_0x113e55(0x419)]=_0x5ec513,this[_0x113e55(0x2e5)]=_0x1b00e5,this[_0x113e55(0x2cb)]();}[_0x3817ac(0x2cb)](){var _0x4535b3=_0x3817ac;const _0x53f080=this;this[_0x4535b3(0x38f)](this[_0x4535b3(0x419)][_0x4535b3(0x381)]({'priority':0x3e7,'interceptor':_0x3b4411({'isMatch'(_0x10a47d){var _0x3c2ae3=_0x4535b3,_0x48c579;if(_0x10a47d[_0x3c2ae3(0x3b2)]===_0x3c2ae3(0x3eb)&&((_0x48c579=_0x10a47d[_0x3c2ae3(0x465)])!=null&&_0x48c579[_0x3c2ae3(0x400)])){const {objectID:_0x5e0848,objectType:_0x4abb51}=_0x10a47d[_0x3c2ae3(0x465)]['body']||{};if(!_0x5e0848||_0x4abb51===void 0x0)return!0x1;const _0x15c7ef=_0x53f080[_0x3c2ae3(0x3ae)]()+'/'+_0x4abb51+'/object/'+_0x5e0848+_0x3c2ae3(0x336);if(_0x10a47d['url']===_0x15c7ef)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5d4937){var _0x4cb875=_0x4535b3,_0x444c48;return(_0x444c48=_0x5d4937[_0x4cb875(0x465)])==null?void 0x0:_0x444c48[_0x4cb875(0x400)];},'mergeParamsToRequest'(_0x1b1020,_0x434112){var _0x1b29ab=_0x4535b3;const _0x1138da=_0x53f080[_0x1b29ab(0x3ae)]()+'/-/object/-/batch_allowed',_0x5775cc=_0x1b1020[_0x1b29ab(0x3fa)]((_0x1c1e11,_0x483221)=>{var _0x52b750=_0x1b29ab;const {unitID:_0x4083fd,objectID:_0xb878e0,objectType:_0x55e99e,actions:_0x129e23}=_0x483221;return _0x1c1e11[_0x4083fd]||(_0x1c1e11[_0x4083fd]={}),_0x1c1e11[_0x4083fd][_0xb878e0]||(_0x1c1e11[_0x4083fd][_0xb878e0]={'objectID':_0xb878e0,'objectType':_0x55e99e,'actions':[]}),_0x1c1e11[_0x4083fd][_0xb878e0][_0x52b750(0x2ae)]['push'](..._0x129e23),_0x1c1e11;},{}),_0x323936=[];for(const _0x1c7875 in _0x5775cc)for(const _0x2fde01 in _0x5775cc[_0x1c7875]){const {actions:_0x31aadb,objectType:_0x1f27b7}=_0x5775cc[_0x1c7875][_0x2fde01],_0x3d5c10=[...new Set(_0x31aadb)];_0x323936[_0x1b29ab(0x399)]({'unitID':_0x1c7875,'objectID':_0x2fde01,'objectType':_0x1f27b7,'actions':_0x3d5c10});}return new _0x57bb69(_0x1b29ab(0x3eb),_0x1138da,{'headers':_0x434112[_0x1b29ab(0x1d5)],'withCredentials':_0x434112[_0x1b29ab(0x1fd)],'responseType':_0x434112[_0x1b29ab(0x1bb)],'body':{'requests':_0x323936}});}},{'distributeResult'(_0x429bd0,_0x272724){const {objectActions:_0x1dfe68}=_0x429bd0;return _0x272724['map'](_0x19e724=>{var _0x289581=_0x7017;const {unitID:_0x36b564,objectID:_0x19e5b0,actions:_0x1fe615}=_0x19e724,_0x47224f=_0x1dfe68[_0x289581(0x240)](_0xd71726=>_0xd71726[_0x289581(0x22f)]===_0x36b564&&_0xd71726['objectID']===_0x19e5b0),_0x29dfd8=_0x1fe615['map'](_0x5aafe9=>_0x47224f==null?void 0x0:_0x47224f['actions'][_0x289581(0x240)](_0x1a6f7f=>_0x1a6f7f[_0x289581(0x2f2)]===_0x5aafe9))[_0x289581(0x2c5)](_0x42f7ce=>!!_0x42f7ce);return{'config':_0x19e724,'result':{'actions':_0x29dfd8,'error':_0x429bd0[_0x289581(0x2d3)]}};});}})}));}['_getAPIPrefixPath'](){var _0x744cf3=_0x3817ac,_0x380af8,_0x2a7a91;const _0x547cb1=this['_configService']['getConfig'](Ui),_0x690f8b=this['_configService'][_0x744cf3(0x3a7)](Y);return(_0x2a7a91=(_0x380af8=_0x690f8b==null?void 0x0:_0x690f8b[_0x744cf3(0x432)])!=null?_0x380af8:_0x547cb1)!=null?_0x2a7a91:Bs;}async[_0x3817ac(0x443)](_0x5c34b6){var _0x41f174=_0x3817ac;const _0x48cba1=this[_0x41f174(0x3ae)]()+'/'+_0x5c34b6[_0x41f174(0x27a)]+'/object';return(await this[_0x41f174(0x419)][_0x41f174(0x3e7)](_0x48cba1,{'body':_0x5c34b6}))[_0x41f174(0x400)][_0x41f174(0x264)]||'';}async[_0x3817ac(0x2c8)](_0x5a2df1){var _0x2e898e=_0x3817ac;const _0x939411=this[_0x2e898e(0x3ae)]()+'/-/object/list';return(await this[_0x2e898e(0x419)][_0x2e898e(0x3e7)](_0x939411,{'body':_0x5a2df1}))['body'][_0x2e898e(0x30c)];}async[_0x3817ac(0x45c)](_0x58bb58){var _0x376f82=_0x3817ac;const _0x46c4e3=this['_getAPIPrefixPath']()+'/'+_0x58bb58['objectType']+'/object/'+_0x58bb58[_0x376f82(0x264)];await this['_HTTPService'][_0x376f82(0x424)](_0x46c4e3,{'body':_0x58bb58});}async[_0x3817ac(0x2bc)](_0x2f808c){var _0x5df56a=_0x3817ac;const _0x492154=this['_getAPIPrefixPath']()+'/'+_0x2f808c[_0x5df56a(0x27a)]+_0x5df56a(0x30e)+_0x2f808c[_0x5df56a(0x264)]+_0x5df56a(0x336);return(await this[_0x5df56a(0x419)]['post'](_0x492154,{'body':_0x2f808c}))[_0x5df56a(0x400)][_0x5df56a(0x2ae)];}async[_0x3817ac(0x21a)](_0x317eb0){var _0x143cac=_0x3817ac;const _0x4d2181=this[_0x143cac(0x3ae)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x143cac(0x3e7)](_0x4d2181,{'body':{'requests':_0x317eb0}}))[_0x143cac(0x400)][_0x143cac(0x1bf)];}async[_0x3817ac(0x2fb)](_0x21b81f){var _0x4a7432=_0x3817ac;const _0x2ae775=this[_0x4a7432(0x3ae)]()+'/'+_0x21b81f[_0x4a7432(0x27a)]+_0x4a7432(0x373),_0xc510fc=await this[_0x4a7432(0x419)][_0x4a7432(0x3e7)](_0x2ae775,{'body':_0x21b81f});return{'roles':_0xc510fc['body'][_0x4a7432(0x228)],'actions':_0xc510fc[_0x4a7432(0x400)][_0x4a7432(0x2ae)]};}async[_0x3817ac(0x3a5)](_0x4fa17f){var _0x12f492=_0x3817ac;const _0x177918=this[_0x12f492(0x3ae)]()+_0x12f492(0x3c8);await this[_0x12f492(0x419)]['delete'](_0x177918,{'params':{'collaboratorID':_0x4fa17f[_0x12f492(0x210)],'objectID':_0x4fa17f[_0x12f492(0x264)],'unitID':_0x4fa17f[_0x12f492(0x22f)]}});}async['updateCollaborator'](_0x40b59f){var _0x596a4c=_0x3817ac;const _0x2c3183=this[_0x596a4c(0x3ae)]()+_0x596a4c(0x3c8);await this['_HTTPService']['patch'](_0x2c3183,{'body':_0x40b59f});}async['createCollaborator'](_0x37327a){var _0x4b93ce=_0x3817ac;const _0x390229=this[_0x4b93ce(0x3ae)]()+'/collaborator';await this[_0x4b93ce(0x419)][_0x4b93ce(0x3e7)](_0x390229,{'body':_0x37327a});}async['listCollaborators'](_0x470f56){var _0x2b19ab=_0x3817ac;const _0xb2d05f=this[_0x2b19ab(0x3ae)]()+'/collaborator';return(await this['_HTTPService'][_0x2b19ab(0x1b5)](_0xb2d05f,{'params':{'objectID':_0x470f56[_0x2b19ab(0x264)],'unitID':_0x470f56[_0x2b19ab(0x22f)]}}))[_0x2b19ab(0x400)][_0x2b19ab(0x487)];}async['putCollaborators'](_0x8ab561){var _0x5dc0de=_0x3817ac;const _0x5811c4=this[_0x5dc0de(0x3ae)]()+_0x5dc0de(0x3c8);await this[_0x5dc0de(0x419)][_0x5dc0de(0x424)](_0x5811c4,{'body':_0x8ab561});}};yt=js([Qt(0x0,_0x880ce4(_0x157352)),Qt(0x1,_0x880ce4(_0x268506))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x4682bd){var _0x3d33aa=_0x3817ac;return _0x4682bd&&_0x4682bd[_0x3d33aa(0x483)]&&Object[_0x3d33aa(0x3fd)][_0x3d33aa(0x23a)][_0x3d33aa(0x26b)](_0x4682bd,_0x3d33aa(0x3c3))?_0x4682bd[_0x3d33aa(0x3c3)]:_0x4682bd;}var We={'exports':{}};function Fs(_0x468dfc){var _0x3079b6=_0x3817ac;throw new Error(_0x3079b6(0x25a)+_0x468dfc+_0x3079b6(0x316));}var Ge={'exports':{}},Vs=Ge['exports'],ei;function ne(){var _0x44ba43=_0x3817ac;return ei||(ei=0x1,function(_0x1716b7,_0x145469){(function(_0x330b90,_0x1c1ee5){var _0xde9ae7=_0x7017;_0x1716b7[_0xde9ae7(0x1a6)]=_0x1c1ee5();}(Vs,function(){var _0x1a6e03=_0x1a6e03||function(_0x2b7189,_0x3c293d){var _0x521c48=_0x7017,_0xf4d7a0;if(typeof window<'u'&&window[_0x521c48(0x2e0)]&&(_0xf4d7a0=window[_0x521c48(0x2e0)]),typeof self<'u'&&self[_0x521c48(0x2e0)]&&(_0xf4d7a0=self['crypto']),typeof globalThis<'u'&&globalThis[_0x521c48(0x2e0)]&&(_0xf4d7a0=globalThis[_0x521c48(0x2e0)]),!_0xf4d7a0&&typeof window<'u'&&window[_0x521c48(0x3e2)]&&(_0xf4d7a0=window[_0x521c48(0x3e2)]),!_0xf4d7a0&&typeof mt<'u'&&mt[_0x521c48(0x2e0)]&&(_0xf4d7a0=mt[_0x521c48(0x2e0)]),!_0xf4d7a0&&typeof Fs=='function')try{_0xf4d7a0=require(_0x521c48(0x2e0));}catch{}var _0x358473=function(){var _0x19b8bf=_0x521c48;if(_0xf4d7a0){if(typeof _0xf4d7a0['getRandomValues']==_0x19b8bf(0x42e))try{return _0xf4d7a0['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xf4d7a0[_0x19b8bf(0x3f7)]==_0x19b8bf(0x42e))try{return _0xf4d7a0[_0x19b8bf(0x3f7)](0x4)[_0x19b8bf(0x2b6)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x49257a=Object[_0x521c48(0x443)]||(function(){function _0x518d52(){}return function(_0x2c9b4f){var _0x365719=_0x7017,_0x4b0ec0;return _0x518d52[_0x365719(0x3fd)]=_0x2c9b4f,_0x4b0ec0=new _0x518d52(),_0x518d52['prototype']=null,_0x4b0ec0;};}()),_0xef8c80={},_0x4680b7=_0xef8c80[_0x521c48(0x3f0)]={},_0x19cb25=_0x4680b7[_0x521c48(0x21c)]=(function(){return{'extend':function(_0x477870){var _0x1e35db=_0x7017,_0x5bc6fa=_0x49257a(this);return _0x477870&&_0x5bc6fa[_0x1e35db(0x477)](_0x477870),(!_0x5bc6fa[_0x1e35db(0x23a)](_0x1e35db(0x494))||this[_0x1e35db(0x494)]===_0x5bc6fa[_0x1e35db(0x494)])&&(_0x5bc6fa[_0x1e35db(0x494)]=function(){var _0x4b81a7=_0x1e35db;_0x5bc6fa['$super']['init'][_0x4b81a7(0x302)](this,arguments);}),_0x5bc6fa[_0x1e35db(0x494)][_0x1e35db(0x3fd)]=_0x5bc6fa,_0x5bc6fa[_0x1e35db(0x23f)]=this,_0x5bc6fa;},'create':function(){var _0x13218d=_0x7017,_0x97db6a=this[_0x13218d(0x469)]();return _0x97db6a[_0x13218d(0x494)][_0x13218d(0x302)](_0x97db6a,arguments),_0x97db6a;},'init':function(){},'mixIn':function(_0x41437c){var _0x4fee6c=_0x7017;for(var _0x49fb3c in _0x41437c)_0x41437c[_0x4fee6c(0x23a)](_0x49fb3c)&&(this[_0x49fb3c]=_0x41437c[_0x49fb3c]);_0x41437c['hasOwnProperty'](_0x4fee6c(0x22a))&&(this[_0x4fee6c(0x22a)]=_0x41437c['toString']);},'clone':function(){var _0x32084a=_0x7017;return this[_0x32084a(0x494)]['prototype'][_0x32084a(0x469)](this);}};}()),_0x5591c8=_0x4680b7[_0x521c48(0x2de)]=_0x19cb25[_0x521c48(0x469)]({'init':function(_0xf87190,_0x56eb69){var _0x61574=_0x521c48;_0xf87190=this[_0x61574(0x3ad)]=_0xf87190||[],_0x56eb69!=_0x3c293d?this[_0x61574(0x387)]=_0x56eb69:this['sigBytes']=_0xf87190[_0x61574(0x450)]*0x4;},'toString':function(_0x411264){var _0x36b95d=_0x521c48;return(_0x411264||_0x542a6f)[_0x36b95d(0x274)](this);},'concat':function(_0x5719b7){var _0x2cd5f3=_0x521c48,_0x2cb707=this['words'],_0x4cf48d=_0x5719b7[_0x2cd5f3(0x3ad)],_0x254b12=this[_0x2cd5f3(0x387)],_0x2f0b13=_0x5719b7[_0x2cd5f3(0x387)];if(this['clamp'](),_0x254b12%0x4)for(var _0x591f07=0x0;_0x591f07<_0x2f0b13;_0x591f07++){var _0x22eef2=_0x4cf48d[_0x591f07>>>0x2]>>>0x18-_0x591f07%0x4*0x8&0xff;_0x2cb707[_0x254b12+_0x591f07>>>0x2]|=_0x22eef2<<0x18-(_0x254b12+_0x591f07)%0x4*0x8;}else{for(var _0x27fc00=0x0;_0x27fc00<_0x2f0b13;_0x27fc00+=0x4)_0x2cb707[_0x254b12+_0x27fc00>>>0x2]=_0x4cf48d[_0x27fc00>>>0x2];}return this['sigBytes']+=_0x2f0b13,this;},'clamp':function(){var _0x4375ad=_0x521c48,_0x2fabe=this[_0x4375ad(0x3ad)],_0x5baef2=this[_0x4375ad(0x387)];_0x2fabe[_0x5baef2>>>0x2]&=0xffffffff<<0x20-_0x5baef2%0x4*0x8,_0x2fabe[_0x4375ad(0x450)]=_0x2b7189['ceil'](_0x5baef2/0x4);},'clone':function(){var _0x5f5328=_0x521c48,_0x28c2e2=_0x19cb25[_0x5f5328(0x1ee)][_0x5f5328(0x26b)](this);return _0x28c2e2['words']=this[_0x5f5328(0x3ad)][_0x5f5328(0x2ba)](0x0),_0x28c2e2;},'random':function(_0x2d98a3){var _0x2ca4c5=_0x521c48;for(var _0x597fd5=[],_0x1f1cea=0x0;_0x1f1cea<_0x2d98a3;_0x1f1cea+=0x4)_0x597fd5[_0x2ca4c5(0x399)](_0x358473());return new _0x5591c8[(_0x2ca4c5(0x494))](_0x597fd5,_0x2d98a3);}}),_0x56b0c6=_0xef8c80[_0x521c48(0x33b)]={},_0x542a6f=_0x56b0c6[_0x521c48(0x3d7)]={'stringify':function(_0x18e7a1){var _0x2bcbf7=_0x521c48;for(var _0x135441=_0x18e7a1['words'],_0x47e91d=_0x18e7a1[_0x2bcbf7(0x387)],_0x2c1719=[],_0x3a6ab1=0x0;_0x3a6ab1<_0x47e91d;_0x3a6ab1++){var _0x2f9a40=_0x135441[_0x3a6ab1>>>0x2]>>>0x18-_0x3a6ab1%0x4*0x8&0xff;_0x2c1719[_0x2bcbf7(0x399)]((_0x2f9a40>>>0x4)[_0x2bcbf7(0x22a)](0x10)),_0x2c1719[_0x2bcbf7(0x399)]((_0x2f9a40&0xf)[_0x2bcbf7(0x22a)](0x10));}return _0x2c1719['join']('');},'parse':function(_0x147956){var _0x394870=_0x521c48;for(var _0x1a8510=_0x147956['length'],_0x111492=[],_0x244b90=0x0;_0x244b90<_0x1a8510;_0x244b90+=0x2)_0x111492[_0x244b90>>>0x3]|=parseInt(_0x147956[_0x394870(0x37f)](_0x244b90,0x2),0x10)<<0x18-_0x244b90%0x8*0x4;return new _0x5591c8[(_0x394870(0x494))](_0x111492,_0x1a8510/0x2);}},_0x59e540=_0x56b0c6[_0x521c48(0x430)]={'stringify':function(_0x5bdfe4){var _0x557bec=_0x521c48;for(var _0x4a6b4b=_0x5bdfe4[_0x557bec(0x3ad)],_0x488107=_0x5bdfe4[_0x557bec(0x387)],_0x2ebe4e=[],_0x213ae4=0x0;_0x213ae4<_0x488107;_0x213ae4++){var _0x2b902f=_0x4a6b4b[_0x213ae4>>>0x2]>>>0x18-_0x213ae4%0x4*0x8&0xff;_0x2ebe4e['push'](String['fromCharCode'](_0x2b902f));}return _0x2ebe4e[_0x557bec(0x2d7)]('');},'parse':function(_0x4c6846){var _0x3ef081=_0x521c48;for(var _0x22d30d=_0x4c6846[_0x3ef081(0x450)],_0x12da09=[],_0x1e477e=0x0;_0x1e477e<_0x22d30d;_0x1e477e++)_0x12da09[_0x1e477e>>>0x2]|=(_0x4c6846[_0x3ef081(0x1ae)](_0x1e477e)&0xff)<<0x18-_0x1e477e%0x4*0x8;return new _0x5591c8['init'](_0x12da09,_0x22d30d);}},_0x48d58a=_0x56b0c6['Utf8']={'stringify':function(_0x4482c5){var _0x3cc065=_0x521c48;try{return decodeURIComponent(escape(_0x59e540['stringify'](_0x4482c5)));}catch{throw new Error(_0x3cc065(0x34f));}},'parse':function(_0x24dbc1){var _0x2b0a9a=_0x521c48;return _0x59e540[_0x2b0a9a(0x414)](unescape(encodeURIComponent(_0x24dbc1)));}},_0x52b640=_0x4680b7[_0x521c48(0x309)]=_0x19cb25[_0x521c48(0x469)]({'reset':function(){var _0x4fba1f=_0x521c48;this[_0x4fba1f(0x273)]=new _0x5591c8[(_0x4fba1f(0x494))](),this[_0x4fba1f(0x30b)]=0x0;},'_append':function(_0x21b207){var _0x873c41=_0x521c48;typeof _0x21b207==_0x873c41(0x255)&&(_0x21b207=_0x48d58a[_0x873c41(0x414)](_0x21b207)),this['_data']['concat'](_0x21b207),this[_0x873c41(0x30b)]+=_0x21b207[_0x873c41(0x387)];},'_process':function(_0x5cdaac){var _0x324864=_0x521c48,_0x53c11c,_0x2ae548=this[_0x324864(0x273)],_0xbac1b1=_0x2ae548[_0x324864(0x3ad)],_0x46c479=_0x2ae548[_0x324864(0x387)],_0x5b396c=this['blockSize'],_0x193cc5=_0x5b396c*0x4,_0x25cb3f=_0x46c479/_0x193cc5;_0x5cdaac?_0x25cb3f=_0x2b7189[_0x324864(0x3ec)](_0x25cb3f):_0x25cb3f=_0x2b7189[_0x324864(0x491)]((_0x25cb3f|0x0)-this['_minBufferSize'],0x0);var _0x5d1bc5=_0x25cb3f*_0x5b396c,_0xe8f912=_0x2b7189[_0x324864(0x1de)](_0x5d1bc5*0x4,_0x46c479);if(_0x5d1bc5){for(var _0x22a0f8=0x0;_0x22a0f8<_0x5d1bc5;_0x22a0f8+=_0x5b396c)this[_0x324864(0x46e)](_0xbac1b1,_0x22a0f8);_0x53c11c=_0xbac1b1[_0x324864(0x4a3)](0x0,_0x5d1bc5),_0x2ae548[_0x324864(0x387)]-=_0xe8f912;}return new _0x5591c8[(_0x324864(0x494))](_0x53c11c,_0xe8f912);},'clone':function(){var _0x4a7a59=_0x521c48,_0x2b1f18=_0x19cb25[_0x4a7a59(0x1ee)][_0x4a7a59(0x26b)](this);return _0x2b1f18[_0x4a7a59(0x273)]=this[_0x4a7a59(0x273)][_0x4a7a59(0x1ee)](),_0x2b1f18;},'_minBufferSize':0x0});_0x4680b7[_0x521c48(0x232)]=_0x52b640[_0x521c48(0x469)]({'cfg':_0x19cb25['extend'](),'init':function(_0x3b03de){var _0x15bf9f=_0x521c48;this['cfg']=this[_0x15bf9f(0x2f7)][_0x15bf9f(0x469)](_0x3b03de),this[_0x15bf9f(0x383)]();},'reset':function(){var _0x2fe4a4=_0x521c48;_0x52b640[_0x2fe4a4(0x383)][_0x2fe4a4(0x26b)](this),this['_doReset']();},'update':function(_0x458aab){var _0x55a039=_0x521c48;return this[_0x55a039(0x26a)](_0x458aab),this['_process'](),this;},'finalize':function(_0x5563b6){var _0x19e4ec=_0x521c48;_0x5563b6&&this['_append'](_0x5563b6);var _0x176228=this[_0x19e4ec(0x3e3)]();return _0x176228;},'blockSize':0x10,'_createHelper':function(_0x45cbf3){return function(_0x1b417d,_0x8352ce){var _0x1fd761=_0x7017;return new _0x45cbf3['init'](_0x8352ce)[_0x1fd761(0x476)](_0x1b417d);};},'_createHmacHelper':function(_0x5daf62){return function(_0x18f835,_0x419567){var _0x3e628d=_0x7017;return new _0x4b95bc[(_0x3e628d(0x217))][(_0x3e628d(0x494))](_0x5daf62,_0x419567)['finalize'](_0x18f835);};}});var _0x4b95bc=_0xef8c80[_0x521c48(0x258)]={};return _0xef8c80;}(Math);return _0x1a6e03;}));}(Ge)),Ge[_0x44ba43(0x1a6)];}var Ke={'exports':{}},Ws=Ke[_0x3817ac(0x1a6)],ti;function Ai(){var _0x3d6035=_0x3817ac;return ti||(ti=0x1,function(_0x3b1dd5,_0x607345){(function(_0x103848,_0xd4761d){var _0x309f61=_0x7017;_0x3b1dd5[_0x309f61(0x1a6)]=_0xd4761d(ne());}(Ws,function(_0xe119da){var _0x37c3ae=_0x7017;return(function(){var _0x3faa8c=_0x7017,_0x3f1ada=_0xe119da,_0x5dfdc5=_0x3f1ada[_0x3faa8c(0x3f0)],_0x5a313c=_0x5dfdc5['WordArray'],_0x3f9bd7=_0x3f1ada['enc'];_0x3f9bd7[_0x3faa8c(0x4a4)]={'stringify':function(_0x229349){var _0x57ea0e=_0x3faa8c,_0x4194e6=_0x229349[_0x57ea0e(0x3ad)],_0x5b0996=_0x229349[_0x57ea0e(0x387)],_0x32cc0b=this['_map'];_0x229349[_0x57ea0e(0x2a7)]();for(var _0x211f42=[],_0x50e59c=0x0;_0x50e59c<_0x5b0996;_0x50e59c+=0x3)for(var _0x20efad=_0x4194e6[_0x50e59c>>>0x2]>>>0x18-_0x50e59c%0x4*0x8&0xff,_0xe25e9f=_0x4194e6[_0x50e59c+0x1>>>0x2]>>>0x18-(_0x50e59c+0x1)%0x4*0x8&0xff,_0x14e931=_0x4194e6[_0x50e59c+0x2>>>0x2]>>>0x18-(_0x50e59c+0x2)%0x4*0x8&0xff,_0x399243=_0x20efad<<0x10|_0xe25e9f<<0x8|_0x14e931,_0x30bd43=0x0;_0x30bd43<0x4&&_0x50e59c+_0x30bd43*0.75<_0x5b0996;_0x30bd43++)_0x211f42['push'](_0x32cc0b[_0x57ea0e(0x1ea)](_0x399243>>>0x6*(0x3-_0x30bd43)&0x3f));var _0xadd1af=_0x32cc0b['charAt'](0x40);if(_0xadd1af){for(;_0x211f42['length']%0x4;)_0x211f42[_0x57ea0e(0x399)](_0xadd1af);}return _0x211f42[_0x57ea0e(0x2d7)]('');},'parse':function(_0x49a1eb){var _0x301a8a=_0x3faa8c,_0x13e025=_0x49a1eb[_0x301a8a(0x450)],_0xfd2629=this[_0x301a8a(0x212)],_0x43c7d2=this['_reverseMap'];if(!_0x43c7d2){_0x43c7d2=this[_0x301a8a(0x1f2)]=[];for(var _0x31c5b8=0x0;_0x31c5b8<_0xfd2629[_0x301a8a(0x450)];_0x31c5b8++)_0x43c7d2[_0xfd2629['charCodeAt'](_0x31c5b8)]=_0x31c5b8;}var _0x55eb7b=_0xfd2629[_0x301a8a(0x1ea)](0x40);if(_0x55eb7b){var _0x1e8d8d=_0x49a1eb[_0x301a8a(0x21e)](_0x55eb7b);_0x1e8d8d!==-0x1&&(_0x13e025=_0x1e8d8d);}return _0x1750a3(_0x49a1eb,_0x13e025,_0x43c7d2);},'_map':_0x3faa8c(0x20e)};function _0x1750a3(_0x25aaca,_0x244edb,_0x2a7365){var _0x1adf90=_0x3faa8c;for(var _0x3a5927=[],_0xb530cf=0x0,_0x4d74b9=0x0;_0x4d74b9<_0x244edb;_0x4d74b9++)if(_0x4d74b9%0x4){var _0x4e345d=_0x2a7365[_0x25aaca[_0x1adf90(0x1ae)](_0x4d74b9-0x1)]<<_0x4d74b9%0x4*0x2,_0x44f443=_0x2a7365[_0x25aaca[_0x1adf90(0x1ae)](_0x4d74b9)]>>>0x6-_0x4d74b9%0x4*0x2,_0x46541b=_0x4e345d|_0x44f443;_0x3a5927[_0xb530cf>>>0x2]|=_0x46541b<<0x18-_0xb530cf%0x4*0x8,_0xb530cf++;}return _0x5a313c['create'](_0x3a5927,_0xb530cf);}}()),_0xe119da[_0x37c3ae(0x33b)][_0x37c3ae(0x4a4)];}));}(Ke)),Ke[_0x3d6035(0x1a6)];}var ze={'exports':{}},Gs=ze[_0x3817ac(0x1a6)],ii;function Ks(){var _0x436d38=_0x3817ac;return ii||(ii=0x1,function(_0x3bd6ab,_0xc06c68){(function(_0x33b502,_0x591745){var _0x22ed48=_0x7017;_0x3bd6ab[_0x22ed48(0x1a6)]=_0x591745(ne());}(Gs,function(_0x4e74e8){var _0x116195=_0x7017;return function(_0x12dcd9){var _0x22655b=_0x7017,_0x563fa8=_0x4e74e8,_0x5e31ed=_0x563fa8['lib'],_0x527775=_0x5e31ed[_0x22655b(0x2de)],_0x4c8adf=_0x5e31ed[_0x22655b(0x232)],_0x4fbab2=_0x563fa8[_0x22655b(0x258)],_0x49fd88=[];(function(){var _0xb594b6=_0x22655b;for(var _0x25acfd=0x0;_0x25acfd<0x40;_0x25acfd++)_0x49fd88[_0x25acfd]=_0x12dcd9[_0xb594b6(0x2b0)](_0x12dcd9[_0xb594b6(0x3a8)](_0x25acfd+0x1))*0x100000000|0x0;}());var _0xb234a1=_0x4fbab2[_0x22655b(0x2b1)]=_0x4c8adf['extend']({'_doReset':function(){var _0x1b583f=_0x22655b;this[_0x1b583f(0x4a0)]=new _0x527775[(_0x1b583f(0x494))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x208f26,_0x429c02){var _0x49dd1d=_0x22655b;for(var _0x1bb21c=0x0;_0x1bb21c<0x10;_0x1bb21c++){var _0x5b17e4=_0x429c02+_0x1bb21c,_0x48bea8=_0x208f26[_0x5b17e4];_0x208f26[_0x5b17e4]=(_0x48bea8<<0x8|_0x48bea8>>>0x18)&0xff00ff|(_0x48bea8<<0x18|_0x48bea8>>>0x8)&0xff00ff00;}var _0x492f94=this[_0x49dd1d(0x4a0)][_0x49dd1d(0x3ad)],_0x49fbeb=_0x208f26[_0x429c02+0x0],_0x545297=_0x208f26[_0x429c02+0x1],_0x26d852=_0x208f26[_0x429c02+0x2],_0xade2e3=_0x208f26[_0x429c02+0x3],_0x3aef93=_0x208f26[_0x429c02+0x4],_0x1e2563=_0x208f26[_0x429c02+0x5],_0x51b81b=_0x208f26[_0x429c02+0x6],_0x5e6d0d=_0x208f26[_0x429c02+0x7],_0x2a31d2=_0x208f26[_0x429c02+0x8],_0x2f3c0f=_0x208f26[_0x429c02+0x9],_0x2ed58c=_0x208f26[_0x429c02+0xa],_0x5de4af=_0x208f26[_0x429c02+0xb],_0x2b2924=_0x208f26[_0x429c02+0xc],_0x6d2ccd=_0x208f26[_0x429c02+0xd],_0x2ccee7=_0x208f26[_0x429c02+0xe],_0x5650ae=_0x208f26[_0x429c02+0xf],_0x5a504f=_0x492f94[0x0],_0x47dac6=_0x492f94[0x1],_0x26d964=_0x492f94[0x2],_0x525436=_0x492f94[0x3];_0x5a504f=_0x4ae672(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x49fbeb,0x7,_0x49fd88[0x0]),_0x525436=_0x4ae672(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x545297,0xc,_0x49fd88[0x1]),_0x26d964=_0x4ae672(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x26d852,0x11,_0x49fd88[0x2]),_0x47dac6=_0x4ae672(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0xade2e3,0x16,_0x49fd88[0x3]),_0x5a504f=_0x4ae672(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x3aef93,0x7,_0x49fd88[0x4]),_0x525436=_0x4ae672(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x1e2563,0xc,_0x49fd88[0x5]),_0x26d964=_0x4ae672(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x51b81b,0x11,_0x49fd88[0x6]),_0x47dac6=_0x4ae672(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x5e6d0d,0x16,_0x49fd88[0x7]),_0x5a504f=_0x4ae672(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2a31d2,0x7,_0x49fd88[0x8]),_0x525436=_0x4ae672(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2f3c0f,0xc,_0x49fd88[0x9]),_0x26d964=_0x4ae672(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x2ed58c,0x11,_0x49fd88[0xa]),_0x47dac6=_0x4ae672(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x5de4af,0x16,_0x49fd88[0xb]),_0x5a504f=_0x4ae672(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2b2924,0x7,_0x49fd88[0xc]),_0x525436=_0x4ae672(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x6d2ccd,0xc,_0x49fd88[0xd]),_0x26d964=_0x4ae672(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x2ccee7,0x11,_0x49fd88[0xe]),_0x47dac6=_0x4ae672(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x5650ae,0x16,_0x49fd88[0xf]),_0x5a504f=_0x5a9ada(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x545297,0x5,_0x49fd88[0x10]),_0x525436=_0x5a9ada(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x51b81b,0x9,_0x49fd88[0x11]),_0x26d964=_0x5a9ada(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5de4af,0xe,_0x49fd88[0x12]),_0x47dac6=_0x5a9ada(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x49fbeb,0x14,_0x49fd88[0x13]),_0x5a504f=_0x5a9ada(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x1e2563,0x5,_0x49fd88[0x14]),_0x525436=_0x5a9ada(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2ed58c,0x9,_0x49fd88[0x15]),_0x26d964=_0x5a9ada(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5650ae,0xe,_0x49fd88[0x16]),_0x47dac6=_0x5a9ada(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x3aef93,0x14,_0x49fd88[0x17]),_0x5a504f=_0x5a9ada(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2f3c0f,0x5,_0x49fd88[0x18]),_0x525436=_0x5a9ada(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2ccee7,0x9,_0x49fd88[0x19]),_0x26d964=_0x5a9ada(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0xade2e3,0xe,_0x49fd88[0x1a]),_0x47dac6=_0x5a9ada(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2a31d2,0x14,_0x49fd88[0x1b]),_0x5a504f=_0x5a9ada(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x6d2ccd,0x5,_0x49fd88[0x1c]),_0x525436=_0x5a9ada(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x26d852,0x9,_0x49fd88[0x1d]),_0x26d964=_0x5a9ada(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5e6d0d,0xe,_0x49fd88[0x1e]),_0x47dac6=_0x5a9ada(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2b2924,0x14,_0x49fd88[0x1f]),_0x5a504f=_0x3e19d8(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x1e2563,0x4,_0x49fd88[0x20]),_0x525436=_0x3e19d8(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2a31d2,0xb,_0x49fd88[0x21]),_0x26d964=_0x3e19d8(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5de4af,0x10,_0x49fd88[0x22]),_0x47dac6=_0x3e19d8(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2ccee7,0x17,_0x49fd88[0x23]),_0x5a504f=_0x3e19d8(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x545297,0x4,_0x49fd88[0x24]),_0x525436=_0x3e19d8(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x3aef93,0xb,_0x49fd88[0x25]),_0x26d964=_0x3e19d8(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5e6d0d,0x10,_0x49fd88[0x26]),_0x47dac6=_0x3e19d8(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2ed58c,0x17,_0x49fd88[0x27]),_0x5a504f=_0x3e19d8(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x6d2ccd,0x4,_0x49fd88[0x28]),_0x525436=_0x3e19d8(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x49fbeb,0xb,_0x49fd88[0x29]),_0x26d964=_0x3e19d8(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0xade2e3,0x10,_0x49fd88[0x2a]),_0x47dac6=_0x3e19d8(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x51b81b,0x17,_0x49fd88[0x2b]),_0x5a504f=_0x3e19d8(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2f3c0f,0x4,_0x49fd88[0x2c]),_0x525436=_0x3e19d8(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2b2924,0xb,_0x49fd88[0x2d]),_0x26d964=_0x3e19d8(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5650ae,0x10,_0x49fd88[0x2e]),_0x47dac6=_0x3e19d8(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x26d852,0x17,_0x49fd88[0x2f]),_0x5a504f=_0x16f442(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x49fbeb,0x6,_0x49fd88[0x30]),_0x525436=_0x16f442(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x5e6d0d,0xa,_0x49fd88[0x31]),_0x26d964=_0x16f442(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x2ccee7,0xf,_0x49fd88[0x32]),_0x47dac6=_0x16f442(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x1e2563,0x15,_0x49fd88[0x33]),_0x5a504f=_0x16f442(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2b2924,0x6,_0x49fd88[0x34]),_0x525436=_0x16f442(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0xade2e3,0xa,_0x49fd88[0x35]),_0x26d964=_0x16f442(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x2ed58c,0xf,_0x49fd88[0x36]),_0x47dac6=_0x16f442(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x545297,0x15,_0x49fd88[0x37]),_0x5a504f=_0x16f442(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2a31d2,0x6,_0x49fd88[0x38]),_0x525436=_0x16f442(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x5650ae,0xa,_0x49fd88[0x39]),_0x26d964=_0x16f442(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x51b81b,0xf,_0x49fd88[0x3a]),_0x47dac6=_0x16f442(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x6d2ccd,0x15,_0x49fd88[0x3b]),_0x5a504f=_0x16f442(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x3aef93,0x6,_0x49fd88[0x3c]),_0x525436=_0x16f442(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x5de4af,0xa,_0x49fd88[0x3d]),_0x26d964=_0x16f442(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x26d852,0xf,_0x49fd88[0x3e]),_0x47dac6=_0x16f442(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2f3c0f,0x15,_0x49fd88[0x3f]),_0x492f94[0x0]=_0x492f94[0x0]+_0x5a504f|0x0,_0x492f94[0x1]=_0x492f94[0x1]+_0x47dac6|0x0,_0x492f94[0x2]=_0x492f94[0x2]+_0x26d964|0x0,_0x492f94[0x3]=_0x492f94[0x3]+_0x525436|0x0;},'_doFinalize':function(){var _0x3c75fb=_0x22655b,_0x53fdff=this[_0x3c75fb(0x273)],_0x5a3414=_0x53fdff[_0x3c75fb(0x3ad)],_0x48857a=this[_0x3c75fb(0x30b)]*0x8,_0x3daf99=_0x53fdff[_0x3c75fb(0x387)]*0x8;_0x5a3414[_0x3daf99>>>0x5]|=0x80<<0x18-_0x3daf99%0x20;var _0x339b70=_0x12dcd9[_0x3c75fb(0x39a)](_0x48857a/0x100000000),_0x4fd156=_0x48857a;_0x5a3414[(_0x3daf99+0x40>>>0x9<<0x4)+0xf]=(_0x339b70<<0x8|_0x339b70>>>0x18)&0xff00ff|(_0x339b70<<0x18|_0x339b70>>>0x8)&0xff00ff00,_0x5a3414[(_0x3daf99+0x40>>>0x9<<0x4)+0xe]=(_0x4fd156<<0x8|_0x4fd156>>>0x18)&0xff00ff|(_0x4fd156<<0x18|_0x4fd156>>>0x8)&0xff00ff00,_0x53fdff[_0x3c75fb(0x387)]=(_0x5a3414[_0x3c75fb(0x450)]+0x1)*0x4,this[_0x3c75fb(0x48d)]();for(var _0x552f8d=this[_0x3c75fb(0x4a0)],_0x5c60c4=_0x552f8d[_0x3c75fb(0x3ad)],_0xd450c5=0x0;_0xd450c5<0x4;_0xd450c5++){var _0x436ffd=_0x5c60c4[_0xd450c5];_0x5c60c4[_0xd450c5]=(_0x436ffd<<0x8|_0x436ffd>>>0x18)&0xff00ff|(_0x436ffd<<0x18|_0x436ffd>>>0x8)&0xff00ff00;}return _0x552f8d;},'clone':function(){var _0xebe1bb=_0x22655b,_0x3e0066=_0x4c8adf[_0xebe1bb(0x1ee)]['call'](this);return _0x3e0066['_hash']=this['_hash'][_0xebe1bb(0x1ee)](),_0x3e0066;}});function _0x4ae672(_0x1fce83,_0x386b39,_0x3bc23f,_0x4feea6,_0x5e4fc7,_0x4370ba,_0x32148a){var _0x2c7ec3=_0x1fce83+(_0x386b39&_0x3bc23f|~_0x386b39&_0x4feea6)+_0x5e4fc7+_0x32148a;return(_0x2c7ec3<<_0x4370ba|_0x2c7ec3>>>0x20-_0x4370ba)+_0x386b39;}function _0x5a9ada(_0x39dce7,_0x5908e8,_0x58d525,_0x170b5c,_0x1023de,_0x309540,_0x3258c9){var _0x5d7d4c=_0x39dce7+(_0x5908e8&_0x170b5c|_0x58d525&~_0x170b5c)+_0x1023de+_0x3258c9;return(_0x5d7d4c<<_0x309540|_0x5d7d4c>>>0x20-_0x309540)+_0x5908e8;}function _0x3e19d8(_0x520b76,_0x30ec36,_0x4406bd,_0x28b9e9,_0x1f369b,_0x1bb080,_0x3c68b0){var _0x3305d1=_0x520b76+(_0x30ec36^_0x4406bd^_0x28b9e9)+_0x1f369b+_0x3c68b0;return(_0x3305d1<<_0x1bb080|_0x3305d1>>>0x20-_0x1bb080)+_0x30ec36;}function _0x16f442(_0x5d534f,_0x2ac7fd,_0x3a0bc9,_0xf91a6f,_0x10362f,_0x46e622,_0x3a0425){var _0x31ac31=_0x5d534f+(_0x3a0bc9^(_0x2ac7fd|~_0xf91a6f))+_0x10362f+_0x3a0425;return(_0x31ac31<<_0x46e622|_0x31ac31>>>0x20-_0x46e622)+_0x2ac7fd;}_0x563fa8[_0x22655b(0x2b1)]=_0x4c8adf['_createHelper'](_0xb234a1),_0x563fa8[_0x22655b(0x32e)]=_0x4c8adf[_0x22655b(0x425)](_0xb234a1);}(Math),_0x4e74e8[_0x116195(0x2b1)];}));}(ze)),ze[_0x436d38(0x1a6)];}var Ye={'exports':{}},qe={'exports':{}},zs=qe[_0x3817ac(0x1a6)],ni;function Ys(){var _0x3292c8=_0x3817ac;return ni||(ni=0x1,function(_0x3a33a5,_0x59d978){(function(_0x2645a6,_0x3e3058){var _0x198cb3=_0x7017;_0x3a33a5[_0x198cb3(0x1a6)]=_0x3e3058(ne());}(zs,function(_0x5d17bd){var _0x571b2c=_0x7017;return(function(){var _0x535890=_0x7017,_0x3551aa=_0x5d17bd,_0x3c9152=_0x3551aa[_0x535890(0x3f0)],_0x426b57=_0x3c9152[_0x535890(0x2de)],_0x3cb9af=_0x3c9152[_0x535890(0x232)],_0x4e9fa6=_0x3551aa['algo'],_0x4a74f2=[],_0x25915b=_0x4e9fa6[_0x535890(0x38d)]=_0x3cb9af[_0x535890(0x469)]({'_doReset':function(){var _0x42ab7d=_0x535890;this[_0x42ab7d(0x4a0)]=new _0x426b57['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x127e25,_0x5c2cfa){var _0x256cfb=_0x535890;for(var _0x3bf541=this['_hash'][_0x256cfb(0x3ad)],_0x1857c5=_0x3bf541[0x0],_0x174596=_0x3bf541[0x1],_0x27bf5f=_0x3bf541[0x2],_0x5aae68=_0x3bf541[0x3],_0x107049=_0x3bf541[0x4],_0x3dd625=0x0;_0x3dd625<0x50;_0x3dd625++){if(_0x3dd625<0x10)_0x4a74f2[_0x3dd625]=_0x127e25[_0x5c2cfa+_0x3dd625]|0x0;else{var _0x552e52=_0x4a74f2[_0x3dd625-0x3]^_0x4a74f2[_0x3dd625-0x8]^_0x4a74f2[_0x3dd625-0xe]^_0x4a74f2[_0x3dd625-0x10];_0x4a74f2[_0x3dd625]=_0x552e52<<0x1|_0x552e52>>>0x1f;}var _0x2988c7=(_0x1857c5<<0x5|_0x1857c5>>>0x1b)+_0x107049+_0x4a74f2[_0x3dd625];_0x3dd625<0x14?_0x2988c7+=(_0x174596&_0x27bf5f|~_0x174596&_0x5aae68)+0x5a827999:_0x3dd625<0x28?_0x2988c7+=(_0x174596^_0x27bf5f^_0x5aae68)+0x6ed9eba1:_0x3dd625<0x3c?_0x2988c7+=(_0x174596&_0x27bf5f|_0x174596&_0x5aae68|_0x27bf5f&_0x5aae68)-0x70e44324:_0x2988c7+=(_0x174596^_0x27bf5f^_0x5aae68)-0x359d3e2a,_0x107049=_0x5aae68,_0x5aae68=_0x27bf5f,_0x27bf5f=_0x174596<<0x1e|_0x174596>>>0x2,_0x174596=_0x1857c5,_0x1857c5=_0x2988c7;}_0x3bf541[0x0]=_0x3bf541[0x0]+_0x1857c5|0x0,_0x3bf541[0x1]=_0x3bf541[0x1]+_0x174596|0x0,_0x3bf541[0x2]=_0x3bf541[0x2]+_0x27bf5f|0x0,_0x3bf541[0x3]=_0x3bf541[0x3]+_0x5aae68|0x0,_0x3bf541[0x4]=_0x3bf541[0x4]+_0x107049|0x0;},'_doFinalize':function(){var _0x2d437a=_0x535890,_0x4dcd3f=this[_0x2d437a(0x273)],_0x168d6f=_0x4dcd3f[_0x2d437a(0x3ad)],_0xcb3bc2=this[_0x2d437a(0x30b)]*0x8,_0x11dc28=_0x4dcd3f[_0x2d437a(0x387)]*0x8;return _0x168d6f[_0x11dc28>>>0x5]|=0x80<<0x18-_0x11dc28%0x20,_0x168d6f[(_0x11dc28+0x40>>>0x9<<0x4)+0xe]=Math[_0x2d437a(0x39a)](_0xcb3bc2/0x100000000),_0x168d6f[(_0x11dc28+0x40>>>0x9<<0x4)+0xf]=_0xcb3bc2,_0x4dcd3f[_0x2d437a(0x387)]=_0x168d6f['length']*0x4,this[_0x2d437a(0x48d)](),this['_hash'];},'clone':function(){var _0x36c4ce=_0x535890,_0x42a2e7=_0x3cb9af['clone'][_0x36c4ce(0x26b)](this);return _0x42a2e7[_0x36c4ce(0x4a0)]=this['_hash'][_0x36c4ce(0x1ee)](),_0x42a2e7;}});_0x3551aa[_0x535890(0x38d)]=_0x3cb9af['_createHelper'](_0x25915b),_0x3551aa[_0x535890(0x24f)]=_0x3cb9af[_0x535890(0x425)](_0x25915b);}()),_0x5d17bd[_0x571b2c(0x38d)];}));}(qe)),qe[_0x3292c8(0x1a6)];}var Je={'exports':{}},qs=Je[_0x3817ac(0x1a6)],si;function Js(){var _0x116714=_0x3817ac;return si||(si=0x1,function(_0x455496,_0xa6348c){(function(_0x45a435,_0x3fcc30){var _0x57232c=_0x7017;_0x455496[_0x57232c(0x1a6)]=_0x3fcc30(ne());}(qs,function(_0x5e51c){(function(){var _0x2c0366=_0x7017,_0xb0d520=_0x5e51c,_0x3d0b2c=_0xb0d520[_0x2c0366(0x3f0)],_0x16925f=_0x3d0b2c['Base'],_0x1714bd=_0xb0d520[_0x2c0366(0x33b)],_0x24edf7=_0x1714bd['Utf8'],_0x7c6f40=_0xb0d520[_0x2c0366(0x258)];_0x7c6f40[_0x2c0366(0x217)]=_0x16925f['extend']({'init':function(_0x5642f7,_0x8b9909){var _0x41e47c=_0x2c0366;_0x5642f7=this[_0x41e47c(0x234)]=new _0x5642f7[(_0x41e47c(0x494))](),typeof _0x8b9909=='string'&&(_0x8b9909=_0x24edf7[_0x41e47c(0x414)](_0x8b9909));var _0x156c28=_0x5642f7[_0x41e47c(0x3f6)],_0x3fd4f6=_0x156c28*0x4;_0x8b9909[_0x41e47c(0x387)]>_0x3fd4f6&&(_0x8b9909=_0x5642f7[_0x41e47c(0x476)](_0x8b9909)),_0x8b9909['clamp']();for(var _0x2e0589=this['_oKey']=_0x8b9909['clone'](),_0x3fe44d=this['_iKey']=_0x8b9909[_0x41e47c(0x1ee)](),_0x434b4e=_0x2e0589['words'],_0x1b5f0f=_0x3fe44d[_0x41e47c(0x3ad)],_0x5de194=0x0;_0x5de194<_0x156c28;_0x5de194++)_0x434b4e[_0x5de194]^=0x5c5c5c5c,_0x1b5f0f[_0x5de194]^=0x36363636;_0x2e0589['sigBytes']=_0x3fe44d[_0x41e47c(0x387)]=_0x3fd4f6,this[_0x41e47c(0x383)]();},'reset':function(){var _0x4aff4c=_0x2c0366,_0x52bf52=this['_hasher'];_0x52bf52[_0x4aff4c(0x383)](),_0x52bf52[_0x4aff4c(0x45c)](this[_0x4aff4c(0x43d)]);},'update':function(_0x118161){var _0x582469=_0x2c0366;return this[_0x582469(0x234)][_0x582469(0x45c)](_0x118161),this;},'finalize':function(_0x1e322c){var _0x583f45=_0x2c0366,_0x3865d8=this[_0x583f45(0x234)],_0x31940b=_0x3865d8[_0x583f45(0x476)](_0x1e322c);_0x3865d8[_0x583f45(0x383)]();var _0xf17125=_0x3865d8['finalize'](this[_0x583f45(0x197)][_0x583f45(0x1ee)]()[_0x583f45(0x2e9)](_0x31940b));return _0xf17125;}});}());}));}(Je)),Je[_0x116714(0x1a6)];}var Xs=Ye['exports'],ri;function xi(){var _0x570e5b=_0x3817ac;return ri||(ri=0x1,function(_0x34e8de,_0x55ddc2){(function(_0x3e82a4,_0x273527,_0x1bd7b0){_0x34e8de['exports']=_0x273527(ne(),Ys(),Js());}(Xs,function(_0x3a9cd3){return(function(){var _0x245076=_0x7017,_0x3ba0c7=_0x3a9cd3,_0x3105e8=_0x3ba0c7[_0x245076(0x3f0)],_0x3e3186=_0x3105e8[_0x245076(0x21c)],_0x5c3347=_0x3105e8[_0x245076(0x2de)],_0x25ed4b=_0x3ba0c7[_0x245076(0x258)],_0x19e3e7=_0x25ed4b[_0x245076(0x2b1)],_0x355e61=_0x25ed4b['EvpKDF']=_0x3e3186[_0x245076(0x469)]({'cfg':_0x3e3186['extend']({'keySize':0x80/0x20,'hasher':_0x19e3e7,'iterations':0x1}),'init':function(_0x338161){var _0x260342=_0x245076;this[_0x260342(0x2f7)]=this[_0x260342(0x2f7)][_0x260342(0x469)](_0x338161);},'compute':function(_0x118719,_0x55f107){var _0x2ccab2=_0x245076;for(var _0x43b666,_0x2ea586=this[_0x2ccab2(0x2f7)],_0x1a6cfb=_0x2ea586[_0x2ccab2(0x377)][_0x2ccab2(0x443)](),_0x96b43d=_0x5c3347['create'](),_0x28b6ff=_0x96b43d[_0x2ccab2(0x3ad)],_0x5f2837=_0x2ea586[_0x2ccab2(0x2ed)],_0x4f6fc5=_0x2ea586['iterations'];_0x28b6ff[_0x2ccab2(0x450)]<_0x5f2837;){_0x43b666&&_0x1a6cfb[_0x2ccab2(0x45c)](_0x43b666),_0x43b666=_0x1a6cfb[_0x2ccab2(0x45c)](_0x118719)[_0x2ccab2(0x476)](_0x55f107),_0x1a6cfb['reset']();for(var _0x243238=0x1;_0x243238<_0x4f6fc5;_0x243238++)_0x43b666=_0x1a6cfb[_0x2ccab2(0x476)](_0x43b666),_0x1a6cfb['reset']();_0x96b43d['concat'](_0x43b666);}return _0x96b43d[_0x2ccab2(0x387)]=_0x5f2837*0x4,_0x96b43d;}});_0x3ba0c7['EvpKDF']=function(_0x43d3d7,_0x4345f8,_0x10c1d4){var _0xc33dd1=_0x245076;return _0x355e61[_0xc33dd1(0x443)](_0x10c1d4)[_0xc33dd1(0x398)](_0x43d3d7,_0x4345f8);};}()),_0x3a9cd3['EvpKDF'];}));}(Ye)),Ye[_0x570e5b(0x1a6)];}var Xe={'exports':{}},Zs=Xe[_0x3817ac(0x1a6)],oi;function Li(){var _0xfd210a=_0x3817ac;return oi||(oi=0x1,function(_0x4e8076,_0x2550fd){(function(_0x29919d,_0x2aead5,_0x4f7370){var _0x42e5e7=_0x7017;_0x4e8076[_0x42e5e7(0x1a6)]=_0x2aead5(ne(),xi());}(Zs,function(_0x399c94){var _0x488239=_0x7017;_0x399c94[_0x488239(0x3f0)]['Cipher']||function(_0x2f9983){var _0x198cd8=_0x488239,_0x3a40ee=_0x399c94,_0x13781c=_0x3a40ee['lib'],_0x982840=_0x13781c[_0x198cd8(0x21c)],_0xc4d553=_0x13781c[_0x198cd8(0x2de)],_0x874c95=_0x13781c['BufferedBlockAlgorithm'],_0x4f4a03=_0x3a40ee[_0x198cd8(0x33b)];_0x4f4a03[_0x198cd8(0x22b)];var _0x3799e3=_0x4f4a03[_0x198cd8(0x4a4)],_0x42fbe2=_0x3a40ee[_0x198cd8(0x258)],_0x2a173d=_0x42fbe2[_0x198cd8(0x248)],_0x1d65bc=_0x13781c['Cipher']=_0x874c95[_0x198cd8(0x469)]({'cfg':_0x982840['extend'](),'createEncryptor':function(_0xe93655,_0x38dd9a){var _0x2d149c=_0x198cd8;return this[_0x2d149c(0x443)](this['_ENC_XFORM_MODE'],_0xe93655,_0x38dd9a);},'createDecryptor':function(_0x6f1c05,_0x15d61d){var _0x15d8d1=_0x198cd8;return this['create'](this[_0x15d8d1(0x3b7)],_0x6f1c05,_0x15d61d);},'init':function(_0x19ed5b,_0x219aad,_0xa456f2){var _0x136a6a=_0x198cd8;this[_0x136a6a(0x2f7)]=this[_0x136a6a(0x2f7)][_0x136a6a(0x469)](_0xa456f2),this['_xformMode']=_0x19ed5b,this[_0x136a6a(0x349)]=_0x219aad,this[_0x136a6a(0x383)]();},'reset':function(){var _0x1a5707=_0x198cd8;_0x874c95[_0x1a5707(0x383)][_0x1a5707(0x26b)](this),this[_0x1a5707(0x1cc)]();},'process':function(_0x24b888){var _0x54154f=_0x198cd8;return this[_0x54154f(0x26a)](_0x24b888),this[_0x54154f(0x48d)]();},'finalize':function(_0x22ce58){var _0x10bf3f=_0x198cd8;_0x22ce58&&this[_0x10bf3f(0x26a)](_0x22ce58);var _0x121851=this['_doFinalize']();return _0x121851;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x45b6c5(_0x26a482){var _0x33dd6c=_0x7017;return typeof _0x26a482==_0x33dd6c(0x255)?_0x10cdbb:_0x349080;}return function(_0x321463){return{'encrypt':function(_0x2aaf7c,_0x125690,_0x2ea685){return _0x45b6c5(_0x125690)['encrypt'](_0x321463,_0x2aaf7c,_0x125690,_0x2ea685);},'decrypt':function(_0x53a805,_0x1192d2,_0x49fbf2){var _0x37dbf3=_0x7017;return _0x45b6c5(_0x1192d2)[_0x37dbf3(0x242)](_0x321463,_0x53a805,_0x1192d2,_0x49fbf2);}};};}())});_0x13781c[_0x198cd8(0x293)]=_0x1d65bc[_0x198cd8(0x469)]({'_doFinalize':function(){var _0x55cf72=_0x198cd8,_0x228ad5=this[_0x55cf72(0x48d)](!0x0);return _0x228ad5;},'blockSize':0x1});var _0x1077e7=_0x3a40ee[_0x198cd8(0x335)]={},_0x5a1478=_0x13781c[_0x198cd8(0x39d)]=_0x982840[_0x198cd8(0x469)]({'createEncryptor':function(_0x15eee4,_0x5204bd){var _0xc7da5c=_0x198cd8;return this[_0xc7da5c(0x283)]['create'](_0x15eee4,_0x5204bd);},'createDecryptor':function(_0x11d280,_0x30a953){var _0x25c2e5=_0x198cd8;return this[_0x25c2e5(0x1bc)][_0x25c2e5(0x443)](_0x11d280,_0x30a953);},'init':function(_0x50c737,_0x1add30){var _0x4d90ab=_0x198cd8;this[_0x4d90ab(0x33d)]=_0x50c737,this[_0x4d90ab(0x3cd)]=_0x1add30;}}),_0x5b20a9=_0x1077e7[_0x198cd8(0x1d1)]=(function(){var _0xbb5538=_0x198cd8,_0x462d13=_0x5a1478[_0xbb5538(0x469)]();_0x462d13['Encryptor']=_0x462d13[_0xbb5538(0x469)]({'processBlock':function(_0x52bcda,_0x51ae3c){var _0x358094=_0xbb5538,_0x2632f1=this[_0x358094(0x33d)],_0x2c5456=_0x2632f1[_0x358094(0x3f6)];_0x2bdb2a[_0x358094(0x26b)](this,_0x52bcda,_0x51ae3c,_0x2c5456),_0x2632f1[_0x358094(0x429)](_0x52bcda,_0x51ae3c),this['_prevBlock']=_0x52bcda[_0x358094(0x2ba)](_0x51ae3c,_0x51ae3c+_0x2c5456);}}),_0x462d13[_0xbb5538(0x1bc)]=_0x462d13[_0xbb5538(0x469)]({'processBlock':function(_0x3ef622,_0x5ad473){var _0x1d5b66=_0xbb5538,_0x4fd870=this['_cipher'],_0xf94c7c=_0x4fd870['blockSize'],_0x2bb988=_0x3ef622[_0x1d5b66(0x2ba)](_0x5ad473,_0x5ad473+_0xf94c7c);_0x4fd870[_0x1d5b66(0x3d3)](_0x3ef622,_0x5ad473),_0x2bdb2a[_0x1d5b66(0x26b)](this,_0x3ef622,_0x5ad473,_0xf94c7c),this['_prevBlock']=_0x2bb988;}});function _0x2bdb2a(_0x3dc008,_0x1c0aff,_0x162172){var _0x5d6385=_0xbb5538,_0x5aebc8,_0x11e26f=this[_0x5d6385(0x3cd)];_0x11e26f?(_0x5aebc8=_0x11e26f,this[_0x5d6385(0x3cd)]=_0x2f9983):_0x5aebc8=this[_0x5d6385(0x337)];for(var _0x195164=0x0;_0x195164<_0x162172;_0x195164++)_0x3dc008[_0x1c0aff+_0x195164]^=_0x5aebc8[_0x195164];}return _0x462d13;}()),_0x39b2a5=_0x3a40ee[_0x198cd8(0x201)]={},_0x5c59c0=_0x39b2a5[_0x198cd8(0x25f)]={'pad':function(_0x238344,_0x534ed9){var _0x4971e2=_0x198cd8;for(var _0x5804cd=_0x534ed9*0x4,_0x4b8ce0=_0x5804cd-_0x238344['sigBytes']%_0x5804cd,_0x13f739=_0x4b8ce0<<0x18|_0x4b8ce0<<0x10|_0x4b8ce0<<0x8|_0x4b8ce0,_0x36a745=[],_0x5732bd=0x0;_0x5732bd<_0x4b8ce0;_0x5732bd+=0x4)_0x36a745[_0x4971e2(0x399)](_0x13f739);var _0x59d3f2=_0xc4d553[_0x4971e2(0x443)](_0x36a745,_0x4b8ce0);_0x238344['concat'](_0x59d3f2);},'unpad':function(_0x4ece2d){var _0x129930=_0x198cd8,_0x3b338a=_0x4ece2d[_0x129930(0x3ad)][_0x4ece2d[_0x129930(0x387)]-0x1>>>0x2]&0xff;_0x4ece2d[_0x129930(0x387)]-=_0x3b338a;}};_0x13781c[_0x198cd8(0x23e)]=_0x1d65bc['extend']({'cfg':_0x1d65bc[_0x198cd8(0x2f7)]['extend']({'mode':_0x5b20a9,'padding':_0x5c59c0}),'reset':function(){var _0x33a33b=_0x198cd8,_0xc7a828;_0x1d65bc[_0x33a33b(0x383)]['call'](this);var _0x9c143d=this[_0x33a33b(0x2f7)],_0xad8856=_0x9c143d['iv'],_0x3f801a=_0x9c143d[_0x33a33b(0x335)];this[_0x33a33b(0x3aa)]==this[_0x33a33b(0x32c)]?_0xc7a828=_0x3f801a['createEncryptor']:(_0xc7a828=_0x3f801a['createDecryptor'],this['_minBufferSize']=0x1),this[_0x33a33b(0x270)]&&this[_0x33a33b(0x270)][_0x33a33b(0x213)]==_0xc7a828?this[_0x33a33b(0x270)][_0x33a33b(0x494)](this,_0xad8856&&_0xad8856[_0x33a33b(0x3ad)]):(this['_mode']=_0xc7a828['call'](_0x3f801a,this,_0xad8856&&_0xad8856[_0x33a33b(0x3ad)]),this[_0x33a33b(0x270)][_0x33a33b(0x213)]=_0xc7a828);},'_doProcessBlock':function(_0x4e40bd,_0x4f4966){var _0x56fbd2=_0x198cd8;this[_0x56fbd2(0x270)]['processBlock'](_0x4e40bd,_0x4f4966);},'_doFinalize':function(){var _0x51d9c4=_0x198cd8,_0x329898,_0x11576a=this[_0x51d9c4(0x2f7)][_0x51d9c4(0x33f)];return this[_0x51d9c4(0x3aa)]==this[_0x51d9c4(0x32c)]?(_0x11576a['pad'](this[_0x51d9c4(0x273)],this[_0x51d9c4(0x3f6)]),_0x329898=this[_0x51d9c4(0x48d)](!0x0)):(_0x329898=this[_0x51d9c4(0x48d)](!0x0),_0x11576a[_0x51d9c4(0x249)](_0x329898)),_0x329898;},'blockSize':0x80/0x20});var _0x378f31=_0x13781c[_0x198cd8(0x35f)]=_0x982840[_0x198cd8(0x469)]({'init':function(_0x2f4627){var _0x9c44e5=_0x198cd8;this[_0x9c44e5(0x477)](_0x2f4627);},'toString':function(_0x5701de){var _0x5461ef=_0x198cd8;return(_0x5701de||this['formatter'])[_0x5461ef(0x274)](this);}}),_0x1c1220=_0x3a40ee[_0x198cd8(0x3d8)]={},_0x2c38a0=_0x1c1220[_0x198cd8(0x48f)]={'stringify':function(_0x4888f9){var _0xd215f6=_0x198cd8,_0x4a29b4,_0x2a9481=_0x4888f9[_0xd215f6(0x1ce)],_0x1b6f71=_0x4888f9[_0xd215f6(0x3ef)];return _0x1b6f71?_0x4a29b4=_0xc4d553[_0xd215f6(0x443)]([0x53616c74,0x65645f5f])['concat'](_0x1b6f71)[_0xd215f6(0x2e9)](_0x2a9481):_0x4a29b4=_0x2a9481,_0x4a29b4[_0xd215f6(0x22a)](_0x3799e3);},'parse':function(_0x3b483a){var _0x5b6313=_0x198cd8,_0x3a3862,_0x1d3303=_0x3799e3[_0x5b6313(0x414)](_0x3b483a),_0x53c900=_0x1d3303[_0x5b6313(0x3ad)];return _0x53c900[0x0]==0x53616c74&&_0x53c900[0x1]==0x65645f5f&&(_0x3a3862=_0xc4d553['create'](_0x53c900[_0x5b6313(0x2ba)](0x2,0x4)),_0x53c900[_0x5b6313(0x4a3)](0x0,0x4),_0x1d3303[_0x5b6313(0x387)]-=0x10),_0x378f31[_0x5b6313(0x443)]({'ciphertext':_0x1d3303,'salt':_0x3a3862});}},_0x349080=_0x13781c[_0x198cd8(0x1a4)]=_0x982840[_0x198cd8(0x469)]({'cfg':_0x982840[_0x198cd8(0x469)]({'format':_0x2c38a0}),'encrypt':function(_0x9944ee,_0x30d9af,_0x1566ee,_0x2b35d5){var _0x5d2615=_0x198cd8;_0x2b35d5=this[_0x5d2615(0x2f7)][_0x5d2615(0x469)](_0x2b35d5);var _0x56e396=_0x9944ee[_0x5d2615(0x44d)](_0x1566ee,_0x2b35d5),_0x363671=_0x56e396[_0x5d2615(0x476)](_0x30d9af),_0x58581e=_0x56e396[_0x5d2615(0x2f7)];return _0x378f31[_0x5d2615(0x443)]({'ciphertext':_0x363671,'key':_0x1566ee,'iv':_0x58581e['iv'],'algorithm':_0x9944ee,'mode':_0x58581e[_0x5d2615(0x335)],'padding':_0x58581e[_0x5d2615(0x33f)],'blockSize':_0x9944ee[_0x5d2615(0x3f6)],'formatter':_0x2b35d5['format']});},'decrypt':function(_0x7af75,_0x1e2729,_0x1c5b4d,_0x2749a8){var _0x11d7e7=_0x198cd8;_0x2749a8=this[_0x11d7e7(0x2f7)]['extend'](_0x2749a8),_0x1e2729=this[_0x11d7e7(0x243)](_0x1e2729,_0x2749a8[_0x11d7e7(0x3d8)]);var _0x3cd693=_0x7af75['createDecryptor'](_0x1c5b4d,_0x2749a8)[_0x11d7e7(0x476)](_0x1e2729['ciphertext']);return _0x3cd693;},'_parse':function(_0x3e6d00,_0x5a0e1e){var _0x1ca17a=_0x198cd8;return typeof _0x3e6d00==_0x1ca17a(0x255)?_0x5a0e1e[_0x1ca17a(0x414)](_0x3e6d00,this):_0x3e6d00;}}),_0x424cf1=_0x3a40ee[_0x198cd8(0x2cf)]={},_0xdcf0a4=_0x424cf1['OpenSSL']={'execute':function(_0x8efb4e,_0x3b5b53,_0x4ae284,_0x59bb6b,_0x1117f1){var _0x50dab9=_0x198cd8;if(_0x59bb6b||(_0x59bb6b=_0xc4d553[_0x50dab9(0x356)](0x40/0x8)),_0x1117f1)var _0xc4ac62=_0x2a173d['create']({'keySize':_0x3b5b53+_0x4ae284,'hasher':_0x1117f1})[_0x50dab9(0x398)](_0x8efb4e,_0x59bb6b);else var _0xc4ac62=_0x2a173d[_0x50dab9(0x443)]({'keySize':_0x3b5b53+_0x4ae284})[_0x50dab9(0x398)](_0x8efb4e,_0x59bb6b);var _0x48fa47=_0xc4d553[_0x50dab9(0x443)](_0xc4ac62[_0x50dab9(0x3ad)][_0x50dab9(0x2ba)](_0x3b5b53),_0x4ae284*0x4);return _0xc4ac62[_0x50dab9(0x387)]=_0x3b5b53*0x4,_0x378f31[_0x50dab9(0x443)]({'key':_0xc4ac62,'iv':_0x48fa47,'salt':_0x59bb6b});}},_0x10cdbb=_0x13781c[_0x198cd8(0x2ca)]=_0x349080[_0x198cd8(0x469)]({'cfg':_0x349080[_0x198cd8(0x2f7)][_0x198cd8(0x469)]({'kdf':_0xdcf0a4}),'encrypt':function(_0x2e16dd,_0x44fea2,_0x397437,_0x2f3af7){var _0x5a5e76=_0x198cd8;_0x2f3af7=this[_0x5a5e76(0x2f7)][_0x5a5e76(0x469)](_0x2f3af7);var _0x3f2c49=_0x2f3af7[_0x5a5e76(0x2cf)][_0x5a5e76(0x1f0)](_0x397437,_0x2e16dd[_0x5a5e76(0x2ed)],_0x2e16dd['ivSize'],_0x2f3af7['salt'],_0x2f3af7[_0x5a5e76(0x377)]);_0x2f3af7['iv']=_0x3f2c49['iv'];var _0x357259=_0x349080[_0x5a5e76(0x350)]['call'](this,_0x2e16dd,_0x44fea2,_0x3f2c49['key'],_0x2f3af7);return _0x357259['mixIn'](_0x3f2c49),_0x357259;},'decrypt':function(_0xae7dc2,_0x2774f8,_0xc919fc,_0x57736f){var _0x56f350=_0x198cd8;_0x57736f=this['cfg'][_0x56f350(0x469)](_0x57736f),_0x2774f8=this[_0x56f350(0x243)](_0x2774f8,_0x57736f[_0x56f350(0x3d8)]);var _0x3c4dc7=_0x57736f['kdf'][_0x56f350(0x1f0)](_0xc919fc,_0xae7dc2[_0x56f350(0x2ed)],_0xae7dc2[_0x56f350(0x3fe)],_0x2774f8[_0x56f350(0x3ef)],_0x57736f['hasher']);_0x57736f['iv']=_0x3c4dc7['iv'];var _0xd91298=_0x349080['decrypt'][_0x56f350(0x26b)](this,_0xae7dc2,_0x2774f8,_0x3c4dc7['key'],_0x57736f);return _0xd91298;}});}();}));}(Xe)),Xe[_0xfd210a(0x1a6)];}var Qs=We[_0x3817ac(0x1a6)],ai;function er(){return ai||(ai=0x1,function(_0x20b0af,_0x336010){(function(_0x3a29b7,_0x41f70d,_0x2b9757){var _0x2c38e2=_0x7017;_0x20b0af[_0x2c38e2(0x1a6)]=_0x41f70d(ne(),Ai(),Ks(),xi(),Li());}(Qs,function(_0x5984bf){var _0x2e1c6d=_0x7017;return(function(){var _0x2b908b=_0x7017,_0x229ee7=_0x5984bf,_0x3e8920=_0x229ee7[_0x2b908b(0x3f0)],_0x324590=_0x3e8920[_0x2b908b(0x23e)],_0x545429=_0x229ee7[_0x2b908b(0x258)],_0x407e6a=[],_0x4a7ee1=[],_0x3f97af=[],_0x87de99=[],_0x3a4084=[],_0x21db66=[],_0x5c6ddd=[],_0x5dd6d0=[],_0x2ef31d=[],_0x5ab4c0=[];(function(){for(var _0x841aba=[],_0x4cc093=0x0;_0x4cc093<0x100;_0x4cc093++)_0x4cc093<0x80?_0x841aba[_0x4cc093]=_0x4cc093<<0x1:_0x841aba[_0x4cc093]=_0x4cc093<<0x1^0x11b;for(var _0x42e523=0x0,_0x225519=0x0,_0x4cc093=0x0;_0x4cc093<0x100;_0x4cc093++){var _0x3ccfaa=_0x225519^_0x225519<<0x1^_0x225519<<0x2^_0x225519<<0x3^_0x225519<<0x4;_0x3ccfaa=_0x3ccfaa>>>0x8^_0x3ccfaa&0xff^0x63,_0x407e6a[_0x42e523]=_0x3ccfaa,_0x4a7ee1[_0x3ccfaa]=_0x42e523;var _0x426dd1=_0x841aba[_0x42e523],_0xe92839=_0x841aba[_0x426dd1],_0x20b94f=_0x841aba[_0xe92839],_0x4bcfda=_0x841aba[_0x3ccfaa]*0x101^_0x3ccfaa*0x1010100;_0x3f97af[_0x42e523]=_0x4bcfda<<0x18|_0x4bcfda>>>0x8,_0x87de99[_0x42e523]=_0x4bcfda<<0x10|_0x4bcfda>>>0x10,_0x3a4084[_0x42e523]=_0x4bcfda<<0x8|_0x4bcfda>>>0x18,_0x21db66[_0x42e523]=_0x4bcfda;var _0x4bcfda=_0x20b94f*0x1010101^_0xe92839*0x10001^_0x426dd1*0x101^_0x42e523*0x1010100;_0x5c6ddd[_0x3ccfaa]=_0x4bcfda<<0x18|_0x4bcfda>>>0x8,_0x5dd6d0[_0x3ccfaa]=_0x4bcfda<<0x10|_0x4bcfda>>>0x10,_0x2ef31d[_0x3ccfaa]=_0x4bcfda<<0x8|_0x4bcfda>>>0x18,_0x5ab4c0[_0x3ccfaa]=_0x4bcfda,_0x42e523?(_0x42e523=_0x426dd1^_0x841aba[_0x841aba[_0x841aba[_0x20b94f^_0x426dd1]]],_0x225519^=_0x841aba[_0x841aba[_0x225519]]):_0x42e523=_0x225519=0x1;}}());var _0x5947f2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x16fc86=_0x545429[_0x2b908b(0x467)]=_0x324590[_0x2b908b(0x469)]({'_doReset':function(){var _0x488e78=_0x2b908b,_0x8622cb;if(!(this[_0x488e78(0x481)]&&this[_0x488e78(0x272)]===this[_0x488e78(0x349)])){for(var _0x33e4d2=this[_0x488e78(0x272)]=this[_0x488e78(0x349)],_0x392d9c=_0x33e4d2[_0x488e78(0x3ad)],_0x102389=_0x33e4d2[_0x488e78(0x387)]/0x4,_0x1dcae2=this[_0x488e78(0x481)]=_0x102389+0x6,_0x565a72=(_0x1dcae2+0x1)*0x4,_0x503f7c=this[_0x488e78(0x288)]=[],_0x3fdbda=0x0;_0x3fdbda<_0x565a72;_0x3fdbda++)_0x3fdbda<_0x102389?_0x503f7c[_0x3fdbda]=_0x392d9c[_0x3fdbda]:(_0x8622cb=_0x503f7c[_0x3fdbda-0x1],_0x3fdbda%_0x102389?_0x102389>0x6&&_0x3fdbda%_0x102389==0x4&&(_0x8622cb=_0x407e6a[_0x8622cb>>>0x18]<<0x18|_0x407e6a[_0x8622cb>>>0x10&0xff]<<0x10|_0x407e6a[_0x8622cb>>>0x8&0xff]<<0x8|_0x407e6a[_0x8622cb&0xff]):(_0x8622cb=_0x8622cb<<0x8|_0x8622cb>>>0x18,_0x8622cb=_0x407e6a[_0x8622cb>>>0x18]<<0x18|_0x407e6a[_0x8622cb>>>0x10&0xff]<<0x10|_0x407e6a[_0x8622cb>>>0x8&0xff]<<0x8|_0x407e6a[_0x8622cb&0xff],_0x8622cb^=_0x5947f2[_0x3fdbda/_0x102389|0x0]<<0x18),_0x503f7c[_0x3fdbda]=_0x503f7c[_0x3fdbda-_0x102389]^_0x8622cb);for(var _0x5cdef8=this[_0x488e78(0x42a)]=[],_0x15f72f=0x0;_0x15f72f<_0x565a72;_0x15f72f++){var _0x3fdbda=_0x565a72-_0x15f72f;if(_0x15f72f%0x4)var _0x8622cb=_0x503f7c[_0x3fdbda];else var _0x8622cb=_0x503f7c[_0x3fdbda-0x4];_0x15f72f<0x4||_0x3fdbda<=0x4?_0x5cdef8[_0x15f72f]=_0x8622cb:_0x5cdef8[_0x15f72f]=_0x5c6ddd[_0x407e6a[_0x8622cb>>>0x18]]^_0x5dd6d0[_0x407e6a[_0x8622cb>>>0x10&0xff]]^_0x2ef31d[_0x407e6a[_0x8622cb>>>0x8&0xff]]^_0x5ab4c0[_0x407e6a[_0x8622cb&0xff]];}}},'encryptBlock':function(_0x33e3a4,_0x4bf9fb){var _0x34e779=_0x2b908b;this[_0x34e779(0x231)](_0x33e3a4,_0x4bf9fb,this[_0x34e779(0x288)],_0x3f97af,_0x87de99,_0x3a4084,_0x21db66,_0x407e6a);},'decryptBlock':function(_0xee68fb,_0x19a32b){var _0x4966a7=_0x2b908b,_0x2fc5b3=_0xee68fb[_0x19a32b+0x1];_0xee68fb[_0x19a32b+0x1]=_0xee68fb[_0x19a32b+0x3],_0xee68fb[_0x19a32b+0x3]=_0x2fc5b3,this[_0x4966a7(0x231)](_0xee68fb,_0x19a32b,this[_0x4966a7(0x42a)],_0x5c6ddd,_0x5dd6d0,_0x2ef31d,_0x5ab4c0,_0x4a7ee1);var _0x2fc5b3=_0xee68fb[_0x19a32b+0x1];_0xee68fb[_0x19a32b+0x1]=_0xee68fb[_0x19a32b+0x3],_0xee68fb[_0x19a32b+0x3]=_0x2fc5b3;},'_doCryptBlock':function(_0x217ae6,_0x247e5a,_0x98eb63,_0x4843ec,_0x4e9627,_0xf079e,_0xfbaf7f,_0x3178ed){for(var _0x32457a=this['_nRounds'],_0x3bae6d=_0x217ae6[_0x247e5a]^_0x98eb63[0x0],_0x2dee23=_0x217ae6[_0x247e5a+0x1]^_0x98eb63[0x1],_0x30e0be=_0x217ae6[_0x247e5a+0x2]^_0x98eb63[0x2],_0x228830=_0x217ae6[_0x247e5a+0x3]^_0x98eb63[0x3],_0x2719b8=0x4,_0x193cfa=0x1;_0x193cfa<_0x32457a;_0x193cfa++){var _0x4a2f54=_0x4843ec[_0x3bae6d>>>0x18]^_0x4e9627[_0x2dee23>>>0x10&0xff]^_0xf079e[_0x30e0be>>>0x8&0xff]^_0xfbaf7f[_0x228830&0xff]^_0x98eb63[_0x2719b8++],_0x32267e=_0x4843ec[_0x2dee23>>>0x18]^_0x4e9627[_0x30e0be>>>0x10&0xff]^_0xf079e[_0x228830>>>0x8&0xff]^_0xfbaf7f[_0x3bae6d&0xff]^_0x98eb63[_0x2719b8++],_0x52e1b2=_0x4843ec[_0x30e0be>>>0x18]^_0x4e9627[_0x228830>>>0x10&0xff]^_0xf079e[_0x3bae6d>>>0x8&0xff]^_0xfbaf7f[_0x2dee23&0xff]^_0x98eb63[_0x2719b8++],_0x7db2a3=_0x4843ec[_0x228830>>>0x18]^_0x4e9627[_0x3bae6d>>>0x10&0xff]^_0xf079e[_0x2dee23>>>0x8&0xff]^_0xfbaf7f[_0x30e0be&0xff]^_0x98eb63[_0x2719b8++];_0x3bae6d=_0x4a2f54,_0x2dee23=_0x32267e,_0x30e0be=_0x52e1b2,_0x228830=_0x7db2a3;}var _0x4a2f54=(_0x3178ed[_0x3bae6d>>>0x18]<<0x18|_0x3178ed[_0x2dee23>>>0x10&0xff]<<0x10|_0x3178ed[_0x30e0be>>>0x8&0xff]<<0x8|_0x3178ed[_0x228830&0xff])^_0x98eb63[_0x2719b8++],_0x32267e=(_0x3178ed[_0x2dee23>>>0x18]<<0x18|_0x3178ed[_0x30e0be>>>0x10&0xff]<<0x10|_0x3178ed[_0x228830>>>0x8&0xff]<<0x8|_0x3178ed[_0x3bae6d&0xff])^_0x98eb63[_0x2719b8++],_0x52e1b2=(_0x3178ed[_0x30e0be>>>0x18]<<0x18|_0x3178ed[_0x228830>>>0x10&0xff]<<0x10|_0x3178ed[_0x3bae6d>>>0x8&0xff]<<0x8|_0x3178ed[_0x2dee23&0xff])^_0x98eb63[_0x2719b8++],_0x7db2a3=(_0x3178ed[_0x228830>>>0x18]<<0x18|_0x3178ed[_0x3bae6d>>>0x10&0xff]<<0x10|_0x3178ed[_0x2dee23>>>0x8&0xff]<<0x8|_0x3178ed[_0x30e0be&0xff])^_0x98eb63[_0x2719b8++];_0x217ae6[_0x247e5a]=_0x4a2f54,_0x217ae6[_0x247e5a+0x1]=_0x32267e,_0x217ae6[_0x247e5a+0x2]=_0x52e1b2,_0x217ae6[_0x247e5a+0x3]=_0x7db2a3;},'keySize':0x100/0x20});_0x229ee7[_0x2b908b(0x467)]=_0x324590[_0x2b908b(0x46d)](_0x16fc86);}()),_0x5984bf[_0x2e1c6d(0x467)];}));}(We)),We['exports'];}var tr=er();const ir=ke(tr);var nr=Ai();function _0x484f(){var _0x36e06f=['_createHmacHelper','emitEvent','cmd','_onOffline','encryptBlock','_invKeySchedule','dispose','2002287ciGUTQ','CONFLICT','function','_snapshotServerService','Latin1','isArray','authzUrl','randomUUID','_socket$','session.room-cnt-exceeds','CHANGESET_REJ','_http','\x0aAfter:\x20','_createSocket','catch','pluginName','_createHandler','_iKey','title','/unit/','createInstance','DEFAULT_FILE_NAME','ERROR_IMAGE_TYPE','create','CHANGESET_REVISION_CONFILICT','JOIN_ROOM_NOT_EXISTS','csRejEvent','_applyRemoteChangeset','joinEvent','result','complete','_onMessage','submit\x20changeset\x20error!','createEncryptor','toggleOnline','selections','length','_clearCollaborationTimeoutTimer','open$','x-univer-host','getTargetByPermissionId','_eventService','OTHER_CLIENT_EDITING','saveSnapshot','application/json','getCurrentUser','getValue','_roomMembers','update','[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.','deepClone','auth.needGotoLoginAlert','_lockTransition','SNAPSHOT_HAS_BEEN_REMOVED','_state','_onUserLeave','getAllMembers','requestParams','fetch_missing','AES','pending','extend','?size=','_collaborationUIEventService','_permissionService','_createHelper','_doProcessBlock','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onTransformIME','_removeRoom','_sendingTimer','_unlockTransition','_scheduleCollaborationTimeoutTimer','error$','finalize','mixIn','updatePermissionPoint','_resendTimer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PERMISSION_REJ','_transformSelections','waitForRoom$','[CollaborationSessionService]','UnitEmbedded','socket$','_nRounds','origin','__esModule','getCurrentRevOfUnit','TOO_MANY_REQUESTS','{fileID}','collaborators','fetchMissingChangesets','_showConflictNotification','_checkMissing','_authzIoService','state','_process','rng','OpenSSL','_pendingMutations','max','isPermissionRej','_getDownloadEndpointURL','init','\x20in\x20_schedule.','NoPadding','_onJoinRoomEvent','COLLAB_WEB_SOCKET_URL','rev','reqId','_userManagerService','[OfflineState]:\x20received\x20changeset.','unitId','_onCombEvent','getCurrentUnitForType','_hash','_emitMembers','_initRequestHeader','splice','Base64','_onRemoteRejected','_waitCount','reverse','shouldCloseConn','_syncEditingCollabCursor','\x0aCurrent:\x20','close$','now','_oKey','unsubscribe','c2Prime','_timeoutTimer','getRandomValues','transformUndoRedo','UNAUTHENTICATED','symbol','avatar','closeSession','onCommandExecuted','_toggleOnline','_getCurrentRevision','SerializableCipher','JOIN','exports','event$','every','downloadEndpointUrl','_clearScheduledTask','ruleRefresh','_sessionStatus$','newCsEvent','charCodeAt','_unitID','_transformStack','LIVESHARE_REQUEST_HOST','startsWith','reject','online$','get','[CollaborationSessionService]:\x20socket\x20error','INGEST','stopTime','[PendingState]:\x20unhandled\x20univer\x20type:\x20','PERSON','responseType','Decryptor','_collaborationTimeoutTimer','search','objectActions','NEW_CHANGESETS','_initUnitPermissionChange','append','members$','ALREADY_EXISTS','onRemoteChangeset','JOINING','_collabSessionService','_localeService','_networkConditionService','collabSubmitChangesetUrl','FileId','_doReset','_submitChangeset','ciphertext','transformStack\x20failed!','onTransformRemoteChangesetByIMECache','CBC','_replaceFileID','LIVESHARE_OPERATION','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','headers','incrementRevOfUnit','1123926IDDhhz','compose','getSheetBlock','APPLY_REJECT','_config','_commentUpdate$','_substituteUndoStack','min','getOwnPropertyDescriptor','_event$','entityInit$','CHANGESET_ACK','MSG_FOR_ERROR','confirm','_socketReady','Undefined','saveChangeset','\x20to\x20','size','charAt','textRanges','entries','c1Prime','clone','wsSessionTicketUrl','execute','HEARTBEAT','_reverseMap','_getUploadFileURL','status','getMember','UNIVER_DOC','UNISCRIPT_RUN','ENSURE_SNAPSHOT_EXECUTION','updateOfflineData','[CollaborationEntity]','_retryCount','[PendingState]:\x20received\x20acknowledgement.','withCredentials','then','BASE64','UNKNOWN_CODE','pad','\x20-\x20','Error\x20on\x20receiving\x20event','_loadDoc','url','_exhaustRemoteChangesetQueue','_transformRemoteChangesetByStateCache','USERS_ENTER','COMMENT_UPDATE','_imageSourceCache','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','updateMember','CHANGESET_SHOULD_RETRY','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','GLOBAL_ROOMS_CNT_EXCEEDS','collaboratorID','snapshotServerUrl','_map','__creator','onTransformRemoteChangesetByStateCache','csShouldRetryEvent','FETCH_MISSING','HMAC','PERMISSION_DENIED','UNKNOWN_CMD','batchAllowed','getResourcesRequest','Base','values','indexOf','updatePermissionObjEvent','delete','/resources','OTHER_CLIENTS_EDITING','_collaborationPaused','state$','transformSelections','YUUMI_UNABLE_LOAD_URL','getSnapshotAPIPath','roles','_socketService','toString','Utf8','awaiting_with_pending','workbook','commentUpdate$','unitID','resend','_doCryptBlock','Hasher','routeKey','_hasher','getTime','revision','_change$','location','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','hasOwnProperty','_schedule','addHandlerCallback','SUBMIT_CHANGESET_TIMEOUT','BlockCipher','$super','find','_sendHeartbeat','decrypt','_parse','_snapshotService','_getSignURL','_entityInit$','toLowerCase','EvpKDF','unpad','_tryEnsureSocket','YUUMI_RATE_OVER_LIMIT','onTransformState','_handlerCallback','clear','HmacSHA1','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','snapshot','conflict','onRemoteRej','collabWebSocketUrl','string','HttpImport','SOCKET_FAILED','algo','unknown','Could\x20not\x20dynamically\x20require\x20\x22','_telemetryInfo','onRemoteRetry','findIndex','LIVESHARE_NEW_HOST','Pkcs7','fetchMiss','&assign=','HELLO','_sendHeartbeatTimer','objectID','_init','UPDATE_PERMISSION_OBJ','LICENSE_MAX_UNITS_EXCEEDED','Univer','YUUMI_SUBSCRIPTION_NOT_FOUND','_append','call','_sheetTransformSelectionsService','_clearUndo','change$','onCommentUpdate','_mode','collaMsg','_keyPriorReset','_data','stringify','session','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','setWaitCount','SYNCED','loadSheet','objectType','AUTHZ_URL_KEY','_onRemoteRetry','_unitInfo$','USERS_LEAVE','enableOfflineEditing','_undoRedoService','add','FETCH_MISS','Encryptor','signUrlServerUrl','_transformIMECache','UNIVER_PROJECT','executeCommand','_keySchedule','data','_getCtorByUniverType','save\x20fail\x20reason\x20is\x20','Workbook','retryConnectingInterval','_getUndoStack','forEach','href','telemetry\x20info\x20is\x20not\x20initialized','_transitionLocked','StreamCipher','_onConnectionFailed','target','_substituteRedoStack','UNIVER_COLLABORATION_CLIENT_PLUGIN','INTERNAL_ERROR','/universer-api/comb','focused$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_updateStatus','onlyLocal','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','toggleOffline','_getRedoStack','changesets','encodeURIComponent','includes','_instanceService','[FetchMissState]','_awaitingChangeset','clamp','onStarting','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/universer-api/oidc/authpage','onSendChangeset','NOT_FOUND','originalMeta','actions','_transformService','abs','MD5','setCurrentUser','getUnitOnRev','getInterceptPoints','_status$','readInt32LE','UUID','PSEUDO_FETCH_MISSING_RESULT','APPLY_DUPLICATED','slice','_decreaseWaiting','allowed','_initDependencies','JOIN_ROOM_FULL','_onUserJoin','_acknowledgedAwaitingChangeset','getCollabEntity$','setShowComponents','onMissingChangesets','getImageSourceCache','filter','_getSendChangesetTimeout','univer-pro.collaboration-client.single-active-unit-service','list','sid','PasswordBasedCipher','_initMergeInterceptor','_rescheduleHeartbeat','APPLY_REVISION_CONFILICT','collaboration-client.config','kdf','APPLY_PERMISSION_DENIED','[CollaborationState]:\x20apply\x20error!','_updateState','error','loginUrlKey','_clearTimeoutTimer','refreshPermission','join','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[OfflineState]:\x20received\x20rejection.','mutations','[CollaborationUndoRedoService]','2575886spvIzX','subType','WordArray','SNAPSHOT_URL_KEY','crypto','UNIVER_SHEET','HttpExport','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_waitForHeartbeatResponse','_configService','_registerDependencies','_collaborationSessionService','dispose$','concat','762276lbQNqM','byteLength','m2Prime','keySize','infoRsp','members','onLocalMutation','fetchThroughInterceptors','action','clearUndoRedo','_loadSheet','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','saveImage','cfg','_members$','&source=','_shouldReportTelemetry','listRoles','LIVESHARE_TERMINATE','_getAPIPrefix','AWAITING_WITH_PENDING','/universer-api/authz','image/jpg','override','apply','has','getUnit','_stopTelemetryCollaborationNewChangeset','_onFetchMissResult','_fetchMissChangesets','sheets','BufferedBlockAlgorithm','_compressMutationService','_nDataBytes','objects','/rev/','/object/','csAckEvent','requireSession','memberID','permissionRejEvent','getTypeOfUnitDisposed$','baseRev','roomInfos','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','offline','/block/','getMemberID','copyFileMeta','value','HEARTBEAT_TIMEOUT','_disableEditing','_onRecvEvent','LIVESHARE_FETCH_OPERATIONS','image/png','17061327UhpvnA','HEARTBEAT_INTERVAL','getUnitType','_sessions','uniscriptRunEvent','NO_OTHER_CLIENTS_EDITING','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_createInitialStateImpl','UNDEFINED','src','/universer-api/snapshot','_ENC_XFORM_MODE','sessionStatus$','HmacMD5','close','_initCloseConn','univer-pro.collaboration-client-socket-service','_clearLocalCache','getImage','_logService','mode','/allowed','_prevBlock','liveShareOperation','loadOfflineData','COMPRESS_MUTATION_APPLY','enc','duration','_cipher','_createSocketURL','padding','status$','FAIL','transformChangesets','UNIVER_SLIDE','RECV','message$','_executeRemoteChangeset','_singleActiveUnitService','ONLINE','_key','asObservable','CONNECTOR_DATA_TOO_LARGE','reconnect','resourceIDs','loadDoc','Malformed\x20UTF-8\x20data','encrypt','/universer-api/uniscript','socket\x20close','UPDATE_CURSOR','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','awaitingChangeset','random','userID','not_collab','APPLY_NON_SEQUENTIAL_REVISION','JOIN_ROOM_PERMISSION_DENIED','/universer-api/user/session-ticket','/fetchmissing?from=','getLatestCsReqIdBySid','_onConnectionOpen','CipherParams','UNRECOGNIZED','_queuedRemoteChangesets','awaiting','_onConflict','fetching\x20missing\x20changesets\x20from\x20','LICENSE_IMPORT_SIZE_EXCEEDED','unit-cache-','_socket','_listenToNetworkCondition','_clearRedo','name','ERROR_EXCEED_SIZE','connection\x20error','repeat','failed\x20to\x20apply\x20missed\x20changesets!','_changesetSessionId','getUnitId','8aSntvo','leaveEvent','/role','SUBMIT_CHANGESET','_state$','_onRemoteACK','hasher','_updateLocalCache','SelectRange','pipe','_resendTimeout','_toggleOffline','initWorkbookPermissionChange','synced','substr','_commentService','registerHTTPInterceptor','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','reset','MUTATION','onSyncEditingCollabCursor','_onRemoteChangeset','sigBytes','unitInfo$','readyForCollab','onStateChange','[DataLoaderService]','/universer-api/file/{fileID}/sign-url','SHA1','_localCacheService','disposeWithMe','saveSheetBlock','[CollaborationSession]','/universer-api/stream/file/upload','_injector','next','Worksheet','70jUGLEm','bind','compute','push','floor','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','AWAITING','BlockCipherMode','loadUnit','createSocket','8758610IeAJBH','_throwTelemetryCollaborationNewChangeset','from','JOIN_ROOM_FAILED','_clearHeartbeatTimer','deleteCollaborator','localCacheService','getConfig','sin','_roomCreated$','_xformMode','socket\x20open.','_memberService','words','_getAPIPrefixPath','LICENSE_DISTRO_REJECTED','_remoteChangesetQueue','_members','method','_commandService','LOCAL_CACHE_INTERVAL','hostname','getCollabEntity','_DEC_XFORM_MODE','defineProperty','appendMutation','LICENSE_EXPORT_SIZE_EXCEEDED','send','interceptor','encode','session.join-failed','COMPRESS_MUTATION_SEND','LEAVE','addImageSourceCache','subject','default','_transformStateCache','_socketMessageSubscription','_tryReconnect','_sender','/collaborator','_handler','univer-pro.collaboration-client.network-condition.service','getUnitStatus$','session.room-full','_iv','image/bmp','_univerInstanceService','_onLocalMutation','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_httpService','decryptBlock','COMPLETION_FINISHED','SNAPSHOT_INVALID_SNAPSHOT','byteOffset','Hex','format','_revisionService','subscribe','_candidateSocket','_transformRemoteChangesetByIMECache','set','startTime','ws://127.0.0.1:8000/universer-api/comb/connect','_createInitialState','json','msCrypto','_doFinalize','IDLE','onTransformSelections','YUUMI_URL_COL_OUT_OF_RANGE','post','removeMember','SNAPSHOT_SERVER_URL_KEY','liveShareNewHost','POST','ceil','onMissedChangesetFetched','subUnitId','salt','lib','runId','SHOULD_CLOSE_CONN','params','collaboration-client.local-cache-service','getFocusedUnit','blockSize','randomBytes','getDeserializedSheetBlock','_resendWithTimeout','reduce','_type','PENDING','prototype','ivSize','joinRsp','body','transformMutationsWithChangeset','CLOSE_ROOM','getCurrentSelections','_isPermissionRej','_startTelemetryCollaborationNewChangeset','debug','_telemetryService','type','_undoStacks','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','eventID','localeService','_replayCachedMutations','_entities','SEND_CHANGESET_TIMEOUT','_retryConnectingTimer','getRoom','RETRY_CONNECTING_MAX_COUNT','4240552uUVmoi','parse','onRemoteAck','_incrementRevisionNumber','socketService','map','_HTTPService','OFFLINE','_changesetReqId','code','[OfflineState]:\x20received\x20acknowledgement.','ERROR_IMAGE','_startCollaboration','fromCharCode','image/jpeg','getTypeOfUnitAdded$','INVALID_ARGUMENT','put'];_0x484f=function(){return _0x36e06f;};return _0x484f();}const ci=ke(nr);var Ze={'exports':{}},sr=Ze[_0x3817ac(0x1a6)],hi;function rr(){var _0x217e37=_0x3817ac;return hi||(hi=0x1,function(_0x5793e3,_0x41d2ec){(function(_0x12e744,_0x4b41fe){var _0x5ec13d=_0x7017;_0x5793e3[_0x5ec13d(0x1a6)]=_0x4b41fe(ne());}(sr,function(_0xa801dd){var _0x101cf9=_0x7017;return _0xa801dd[_0x101cf9(0x33b)][_0x101cf9(0x22b)];}));}(Ze)),Ze[_0x217e37(0x1a6)];}var or=rr();const ar=ke(or);var Qe={'exports':{}},cr=Qe[_0x3817ac(0x1a6)],_i;function hr(){var _0x29534e=_0x3817ac;return _i||(_i=0x1,function(_0x4cf020,_0x2599ac){(function(_0x1db022,_0x20fa72){var _0x5cccb0=_0x7017;_0x4cf020[_0x5cccb0(0x1a6)]=_0x20fa72(ne());}(cr,function(_0x14e1e9){var _0xeb05df=_0x7017;return(function(){var _0xbf41b4=_0x7017;if(typeof ArrayBuffer==_0xbf41b4(0x42e)){var _0x3d7cdc=_0x14e1e9,_0x372345=_0x3d7cdc['lib'],_0x51e2cb=_0x372345[_0xbf41b4(0x2de)],_0x41dac9=_0x51e2cb[_0xbf41b4(0x494)],_0x2f9561=_0x51e2cb[_0xbf41b4(0x494)]=function(_0x20641c){var _0x531621=_0xbf41b4;if(_0x20641c instanceof ArrayBuffer&&(_0x20641c=new Uint8Array(_0x20641c)),(_0x20641c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x20641c instanceof Uint8ClampedArray||_0x20641c instanceof Int16Array||_0x20641c instanceof Uint16Array||_0x20641c instanceof Int32Array||_0x20641c instanceof Uint32Array||_0x20641c instanceof Float32Array||_0x20641c instanceof Float64Array)&&(_0x20641c=new Uint8Array(_0x20641c['buffer'],_0x20641c[_0x531621(0x3d6)],_0x20641c['byteLength'])),_0x20641c instanceof Uint8Array){for(var _0x1e7013=_0x20641c[_0x531621(0x2eb)],_0x469624=[],_0x403e8a=0x0;_0x403e8a<_0x1e7013;_0x403e8a++)_0x469624[_0x403e8a>>>0x2]|=_0x20641c[_0x403e8a]<<0x18-_0x403e8a%0x4*0x8;_0x41dac9[_0x531621(0x26b)](this,_0x469624,_0x1e7013);}else _0x41dac9[_0x531621(0x302)](this,arguments);};_0x2f9561[_0xbf41b4(0x3fd)]=_0x51e2cb;}}()),_0x14e1e9[_0xeb05df(0x3f0)][_0xeb05df(0x2de)];}));}(Qe)),Qe[_0x29534e(0x1a6)];}var _r=hr();const lr=ke(_r);var et={'exports':{}},ur=et[_0x3817ac(0x1a6)],li;function dr(){return li||(li=0x1,function(_0x77f156,_0x3a9ac9){(function(_0x47635f,_0x12c7b8,_0x5eb0e4){var _0x252809=_0x7017;_0x77f156[_0x252809(0x1a6)]=_0x12c7b8(ne(),Li());}(ur,function(_0x29f30f){var _0xd6752a=_0x7017;return _0x29f30f[_0xd6752a(0x201)][_0xd6752a(0x496)]={'pad':function(){},'unpad':function(){}},_0x29f30f[_0xd6752a(0x201)][_0xd6752a(0x496)];}));}(et)),et['exports'];}var fr=dr();const vr=ke(fr);function pr(_0x1b10b1,_0x997162){var _0x5db4a6=_0x3817ac;const _0x5a7f56=_0x997162-_0x1b10b1[_0x5db4a6(0x450)]%_0x997162,_0x1d1894=String[_0x5db4a6(0x420)](_0x5a7f56)[_0x5db4a6(0x36d)](_0x5a7f56);return _0x1b10b1+_0x1d1894;}function mr(_0x29854d,_0x4a0f3a){var _0x5485f9=_0x3817ac;const _0x27d720=lr[_0x5485f9(0x356)](0x10),_0x18796f=pr(_0x29854d,0x10),_0x120e6f=ir[_0x5485f9(0x350)](ar['parse'](_0x18796f),ci[_0x5485f9(0x414)](_0x4a0f3a),{'iv':_0x27d720,'padding':vr});return _0x27d720[_0x5485f9(0x2e9)](_0x120e6f[_0x5485f9(0x1ce)])['toString'](ci);}function gr(){var _0x3f3856=_0x3817ac;const _0x44ac86=_0x13e641()['__Key__'];if(_0x44ac86){const _0x30c52a={'time':Math[_0x3f3856(0x39a)](Date[_0x3f3856(0x4ac)]()/0x3e8),'domain':location[_0x3f3856(0x3b5)]};return mr(JSON[_0x3f3856(0x274)](_0x30c52a),_0x44ac86);}}var Sr=Object['defineProperty'],Er=Object['getOwnPropertyDescriptor'],Ir=(_0x313acb,_0x7f241e,_0x89500a,_0x302b28)=>{var _0x1abee4=_0x3817ac;for(var _0x5d6d91=_0x302b28>0x1?void 0x0:_0x302b28?Er(_0x7f241e,_0x89500a):_0x7f241e,_0x16d9fd=_0x313acb[_0x1abee4(0x450)]-0x1,_0x5177b2;_0x16d9fd>=0x0;_0x16d9fd--)(_0x5177b2=_0x313acb[_0x16d9fd])&&(_0x5d6d91=(_0x302b28?_0x5177b2(_0x7f241e,_0x89500a,_0x5d6d91):_0x5177b2(_0x5d6d91))||_0x5d6d91);return _0x302b28&&_0x5d6d91&&Sr(_0x7f241e,_0x89500a,_0x5d6d91),_0x5d6d91;},Tr=(_0x478019,_0x29631b)=>(_0x4f3a16,_0x1e0ae7)=>_0x29631b(_0x4f3a16,_0x1e0ae7,_0x478019);let at=class{constructor(_0x27c3e7){var _0x8753c7=_0x3817ac;this[_0x8753c7(0x3d2)]=_0x27c3e7,this[_0x8753c7(0x4a2)]();}[_0x3817ac(0x4a2)](){var _0x37ef49=_0x3817ac;this['_httpService'][_0x37ef49(0x381)]({'interceptor':(_0x4ed34a,_0x230901)=>{var _0x58b8f2=_0x37ef49;const _0x116235=_0x4ed34a[_0x58b8f2(0x1d5)],_0x2bd293=gr();return _0x2bd293&&_0x116235['set'](_0x58b8f2(0x453),_0x2bd293),_0x230901(_0x4ed34a);}});}};at=Ir([Tr(0x0,_0x880ce4(_0x157352))],at);var Cr=Object[_0x3817ac(0x3b8)],br=Object[_0x3817ac(0x1df)],Rr=(_0x429956,_0x3b525a,_0x390bf1,_0xb8a676)=>{var _0x4685c6=_0x3817ac;for(var _0x17946c=_0xb8a676>0x1?void 0x0:_0xb8a676?br(_0x3b525a,_0x390bf1):_0x3b525a,_0x52ec05=_0x429956[_0x4685c6(0x450)]-0x1,_0x3789b0;_0x52ec05>=0x0;_0x52ec05--)(_0x3789b0=_0x429956[_0x52ec05])&&(_0x17946c=(_0xb8a676?_0x3789b0(_0x3b525a,_0x390bf1,_0x17946c):_0x3789b0(_0x17946c))||_0x17946c);return _0xb8a676&&_0x17946c&&Cr(_0x3b525a,_0x390bf1,_0x17946c),_0x17946c;},gt=(_0x12d27f,_0x56dad9)=>(_0x3f3942,_0x295429)=>_0x56dad9(_0x3f3942,_0x295429,_0x12d27f);let Ot=class extends _0x9c8dcc{constructor(_0x4dcb0e,_0x9cc4c,_0xe2d5e6){var _0x2e6158=_0x3817ac;super(),P(this,_0x2e6158(0x27d),new _0x576e29(null)),P(this,_0x2e6158(0x388),this[_0x2e6158(0x27d)]['asObservable']()),(this['_logService']=_0x4dcb0e,this[_0x2e6158(0x244)]=_0x9cc4c,this[_0x2e6158(0x38e)]=_0xe2d5e6);}async[_0x3817ac(0x39e)](_0x717901,_0x3c5650,_0x17593e){var _0x5c60a8=_0x3817ac;this[_0x5c60a8(0x27d)][_0x5c60a8(0x394)]({'unitId':_0x717901,'type':_0x3c5650,'subUnitId':_0x17593e});let _0x194d00=null;switch(_0x3c5650){case Q['UNIVER_SHEET']:{_0x194d00=await this['_loadSheet'](_0x717901);break;}case Q['UNIVER_DOC']:{_0x194d00=await this[_0x5c60a8(0x204)](_0x717901);break;}default:{this[_0x5c60a8(0x334)][_0x5c60a8(0x2d3)](_0x5c60a8(0x38b),_0x5c60a8(0x46f));break;}}return _0x194d00;}async[_0x3817ac(0x2f4)](_0x10b82e){var _0x45f098=_0x3817ac,_0x20904b;let _0x229457=0x0;const _0x30c6bb=await((_0x20904b=this['_localCacheService'])==null?void 0x0:_0x20904b[_0x45f098(0x339)](_0x10b82e));return _0x30c6bb&&(_0x30c6bb[_0x45f098(0x355)]||_0x30c6bb[_0x45f098(0x2da)][_0x45f098(0x450)]!==0x0)&&(_0x229457=_0x30c6bb[_0x45f098(0x499)]),_0x229457===0x0&&this[_0x45f098(0x334)][_0x45f098(0x406)](_0x45f098(0x38b),_0x45f098(0x40a)),this[_0x45f098(0x244)][_0x45f098(0x279)](_0x10b82e,_0x229457);}async[_0x3817ac(0x204)](_0x3025a9){var _0x1b808d=_0x3817ac,_0x2b06a0;let _0x197dca=0x0;const _0x390250=await((_0x2b06a0=this['_localCacheService'])==null?void 0x0:_0x2b06a0[_0x1b808d(0x339)](_0x3025a9));return _0x390250&&(_0x390250['awaitingChangeset']||_0x390250[_0x1b808d(0x2da)][_0x1b808d(0x450)]!==0x0)&&(_0x197dca=_0x390250[_0x1b808d(0x499)]),_0x197dca===0x0&&this[_0x1b808d(0x334)][_0x1b808d(0x406)](_0x1b808d(0x38b),_0x1b808d(0x40a)),this['_snapshotService'][_0x1b808d(0x34e)](_0x3025a9,_0x197dca);}};Ot=Rr([gt(0x0,_0x3b11ba),gt(0x1,_0x880ce4(_0x1b376d)),gt(0x2,_0x1d2db0(X))],Ot);var yr=Object[_0x3817ac(0x3b8)],Or=Object['getOwnPropertyDescriptor'],Nr=(_0x5a8117,_0xa576e6,_0x4855e8,_0x55ccf6)=>{for(var _0x3eb6e5=_0x55ccf6>0x1?void 0x0:_0x55ccf6?Or(_0xa576e6,_0x4855e8):_0xa576e6,_0x903a7f=_0x5a8117['length']-0x1,_0x19f961;_0x903a7f>=0x0;_0x903a7f--)(_0x19f961=_0x5a8117[_0x903a7f])&&(_0x3eb6e5=(_0x55ccf6?_0x19f961(_0xa576e6,_0x4855e8,_0x3eb6e5):_0x19f961(_0x3eb6e5))||_0x3eb6e5);return _0x55ccf6&&_0x3eb6e5&&yr(_0xa576e6,_0x4855e8,_0x3eb6e5),_0x3eb6e5;},St=(_0x433531,_0x11193e)=>(_0x5ba52f,_0x83f688)=>_0x11193e(_0x5ba52f,_0x83f688,_0x433531);const Pr=[_0x3817ac(0x320),_0x3817ac(0x421),_0x3817ac(0x300),'image/gif',_0x3817ac(0x3ce)],Dr=0x5*0x400*0x400,wr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ur=_0x3817ac(0x392),Ar=_0x3817ac(0x2e3),xr=_0x3817ac(0x38c);let Nt=class{constructor(_0x1d5451,_0x50830c,_0x42c831){var _0x11d5f3=_0x3817ac;P(this,_0x11d5f3(0x4a6),0x0),P(this,_0x11d5f3(0x237),new _0x560c85()),P(this,_0x11d5f3(0x26e),this[_0x11d5f3(0x237)]),P(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x1d5451,this['_configService']=_0x50830c,this[_0x11d5f3(0x3cf)]=_0x42c831);}[_0x3817ac(0x277)](_0x561151){var _0x2b2fca=_0x3817ac;this['_waitCount']=_0x561151,this[_0x2b2fca(0x237)]['next'](_0x561151);}[_0x3817ac(0x2c4)](_0x1c8599,_0x39a217){var _0x302425=_0x3817ac;if(_0x39a217===_0xbb2960[_0x302425(0x1ff)]){const _0x263a0d=new Image();return _0x263a0d[_0x302425(0x32a)]=_0x1c8599,_0x263a0d;}return this[_0x302425(0x20a)][_0x302425(0x1b5)](_0x1c8599);}[_0x3817ac(0x3c1)](_0x2e5f3b,_0x260799,_0x19b285){var _0x529956=_0x3817ac;_0x260799===_0xbb2960[_0x529956(0x1ff)]||_0x19b285==null||this['_imageSourceCache'][_0x529956(0x3dd)](_0x2e5f3b,_0x19b285);}async[_0x3817ac(0x333)](_0x2f68c1){var _0x321b24=_0x3817ac;try{const _0x109020=this['_replaceFileID'](this[_0x321b24(0x245)](),''+_0x2f68c1),_0x7a379b=(await this[_0x321b24(0x3d2)][_0x321b24(0x1b5)](_0x109020))[_0x321b24(0x400)];if(_0x7a379b[_0x321b24(0x2d3)]&&_0x7a379b[_0x321b24(0x2d3)][_0x321b24(0x41c)]===Ci['OK']){const _0xbcf5e7=new URL(_0x7a379b[_0x321b24(0x205)],this[_0x321b24(0x493)]())['toString']();return Promise['resolve'](_0xbcf5e7);}return Promise['reject'](_0x7a379b['error']);}catch(_0x132cc0){return Promise[_0x321b24(0x1b3)](_0x132cc0);}}async[_0x3817ac(0x2f6)](_0x43e2fc){var _0x10e952=_0x3817ac;let _0x41e3b7='';if(!Pr[_0x10e952(0x2a3)](_0x43e2fc[_0x10e952(0x408)]))return this[_0x10e952(0x2bb)](),Promise['reject'](new Error(_0xff6d54[_0x10e952(0x442)]));if(_0x43e2fc[_0x10e952(0x1e9)]>Dr)return this[_0x10e952(0x2bb)](),Promise[_0x10e952(0x1b3)](new Error(_0xff6d54[_0x10e952(0x36b)]));try{const _0x417190=new FormData();_0x417190[_0x10e952(0x1c2)]('file',_0x43e2fc);const _0x395416=this[_0x10e952(0x3cf)][_0x10e952(0x3f5)](),_0xd34214=_0x395416==null?void 0x0:_0x395416['getUnitId']();if(!_0xd34214)throw new Error('unitId\x20is\x20not\x20found');const _0x5a38b0=this[_0x10e952(0x1f3)]()+_0x10e952(0x46a)+_0x43e2fc['size'][_0x10e952(0x22a)]()+_0x10e952(0x2f9)+bi['UnitEmbedded']+_0x10e952(0x261)+encodeURIComponent(_0xd34214),_0x31caff=await(await fetch(_0x5a38b0,{'method':'POST','body':_0x417190}))[_0x10e952(0x3e1)]();if(typeof _0x31caff[_0x10e952(0x1cb)]!='string')return this[_0x10e952(0x2bb)](),Promise[_0x10e952(0x1b3)](new Error(_0xff6d54[_0x10e952(0x41e)]));_0x41e3b7=_0x31caff[_0x10e952(0x1cb)];}catch{return this[_0x10e952(0x2bb)](),Promise['reject'](new Error(_0xff6d54[_0x10e952(0x41e)]));}return new Promise((_0x144104,_0x178426)=>{const _0x91da0d=new FileReader();_0x91da0d['readAsDataURL'](_0x43e2fc),_0x91da0d['onload']=_0x23a18a=>{var _0x2ca5a9=_0x7017,_0x26a7aa;const _0x5741c6=(_0x26a7aa=_0x23a18a[_0x2ca5a9(0x295)])==null?void 0x0:_0x26a7aa[_0x2ca5a9(0x449)];if(_0x5741c6==null){this[_0x2ca5a9(0x2bb)](),_0x178426(new Error(_0xff6d54['ERROR_IMAGE']));return;}const _0x56d271=_0x19a3c3['generateRandomId'](0x6);_0x144104({'imageId':_0x56d271,'imageSourceType':_0xbb2960[_0x2ca5a9(0x2b7)],'source':_0x41e3b7,'base64Cache':_0x5741c6,'status':_0xff6d54['SUCCUSS']}),this[_0x2ca5a9(0x2bb)]();};});}['_getUploadFileURL'](){var _0x3a241a=_0x3817ac,_0x33918d,_0x1b3af0;const _0x19772f=this[_0x3a241a(0x2e5)][_0x3a241a(0x3a7)](wr),_0x3d50bf=this['_configService']['getConfig'](Y);return(_0x1b3af0=(_0x33918d=_0x3d50bf==null?void 0x0:_0x3d50bf['uploadFileServerUrl'])!=null?_0x33918d:_0x19772f)!=null?_0x1b3af0:Ur;}[_0x3817ac(0x245)](){var _0x2614bc=_0x3817ac,_0x67e2f4,_0x2fb7b2;const _0x11d983=this['_configService'][_0x2614bc(0x3a7)](Ar),_0x12b036=this[_0x2614bc(0x2e5)][_0x2614bc(0x3a7)](Y);return(_0x2fb7b2=(_0x67e2f4=_0x12b036==null?void 0x0:_0x12b036[_0x2614bc(0x284)])!=null?_0x67e2f4:_0x11d983)!=null?_0x2fb7b2:xr;}['_getDownloadEndpointURL'](){var _0xe732b3=_0x3817ac,_0x1a8265;const _0x40d70b=this[_0xe732b3(0x2e5)]['getConfig'](Y);return(_0x1a8265=_0x40d70b==null?void 0x0:_0x40d70b[_0xe732b3(0x1a9)])!=null?_0x1a8265:location[_0xe732b3(0x482)];}[_0x3817ac(0x1d2)](_0x491a69,_0x31cc5a){var _0x228e10=_0x3817ac;return _0x491a69['replace'](_0x228e10(0x486),_0x31cc5a);}[_0x3817ac(0x2bb)](){var _0x119a4a=_0x3817ac;this['_waitCount']-=0x1,this[_0x119a4a(0x237)]['next'](this[_0x119a4a(0x4a6)]);}};Nt=Nr([St(0x0,_0x880ce4(_0x157352)),St(0x1,_0x268506),St(0x2,_0x880ce4(_0x369bbf))],Nt);var Lr=Object[_0x3817ac(0x3b8)],Mr=Object[_0x3817ac(0x1df)],$r=(_0x5b9600,_0x17397c,_0x2d2d80,_0x31dfe6)=>{var _0x5e5c73=_0x3817ac;for(var _0x28d75f=_0x31dfe6>0x1?void 0x0:_0x31dfe6?Mr(_0x17397c,_0x2d2d80):_0x17397c,_0x5e14f2=_0x5b9600[_0x5e5c73(0x450)]-0x1,_0x26b6dd;_0x5e14f2>=0x0;_0x5e14f2--)(_0x26b6dd=_0x5b9600[_0x5e14f2])&&(_0x28d75f=(_0x31dfe6?_0x26b6dd(_0x17397c,_0x2d2d80,_0x28d75f):_0x26b6dd(_0x28d75f))||_0x28d75f);return _0x31dfe6&&_0x28d75f&&Lr(_0x17397c,_0x2d2d80,_0x28d75f),_0x28d75f;},ui=(_0xef092d,_0x2889a3)=>(_0x2a77e1,_0x12f289)=>_0x2889a3(_0x2a77e1,_0x12f289,_0xef092d);const Hr=_0x3817ac(0x2ff);let Pt=class{constructor(_0x3c6fa9,_0x5339de){var _0x49623e=_0x3817ac;this['_configService']=_0x3c6fa9,this[_0x49623e(0x419)]=_0x5339de;}[_0x3817ac(0x3ae)](){var _0x9efcfb=_0x3817ac,_0x454c6a,_0x125315;const _0x2df453=this[_0x9efcfb(0x2e5)]['getConfig'](Ui),_0x3e7a56=this['_configService'][_0x9efcfb(0x3a7)](Y);return(_0x125315=(_0x454c6a=_0x3e7a56==null?void 0x0:_0x3e7a56[_0x9efcfb(0x432)])!=null?_0x454c6a:_0x2df453)!=null?_0x125315:Hr;}async[_0x3817ac(0x2c8)](_0x29458c){var _0x524260=_0x3817ac;const _0x593bff=this['_getAPIPrefixPath']()+_0x524260(0x3c8);return{'list':[{'title':'People','mentions':(await this[_0x524260(0x419)]['get'](_0x593bff,{'params':{'objectID':_0x29458c['unitId'],'unitID':_0x29458c[_0x524260(0x49d)]}}))[_0x524260(0x400)][_0x524260(0x487)][_0x524260(0x418)](_0x4d606e=>({'objectId':_0x4d606e['id'],'name':_0x4d606e[_0x524260(0x3c2)][_0x524260(0x36a)],'metadata':{'icon':_0x4d606e[_0x524260(0x3c2)][_0x524260(0x19f)]},'label':_0x4d606e[_0x524260(0x3c2)]['name'],'objectType':_0x54eafb[_0x524260(0x1ba)]})),'metadata':{},'type':_0x54eafb['PERSON']}]};}};Pt=$r([ui(0x0,_0x880ce4(_0x268506)),ui(0x1,_0x880ce4(_0x157352))],Pt);var kr=Object[_0x3817ac(0x3b8)],jr=Object['getOwnPropertyDescriptor'],Br=(_0x13a70d,_0x5dc4ca,_0x16a194,_0xa40009)=>{for(var _0x2e3e36=_0xa40009>0x1?void 0x0:_0xa40009?jr(_0x5dc4ca,_0x16a194):_0x5dc4ca,_0x14d5e8=_0x13a70d['length']-0x1,_0x4f70ec;_0x14d5e8>=0x0;_0x14d5e8--)(_0x4f70ec=_0x13a70d[_0x14d5e8])&&(_0x2e3e36=(_0xa40009?_0x4f70ec(_0x5dc4ca,_0x16a194,_0x2e3e36):_0x4f70ec(_0x2e3e36))||_0x2e3e36);return _0xa40009&&_0x2e3e36&&kr(_0x5dc4ca,_0x16a194,_0x2e3e36),_0x2e3e36;},Se=(_0x2fcb40,_0x2c33c1)=>(_0xa97604,_0x4b7964)=>_0x2c33c1(_0xa97604,_0x4b7964,_0x2fcb40);let ct=class extends _0x9c8dcc{constructor(_0x430aec,_0x15dfdf,_0x2e60f6,_0x4b913a,_0x4aa417,_0x14c8bc,_0x15903b){var _0x594551=_0x3817ac;super(),this[_0x594551(0x393)]=_0x430aec,this[_0x594551(0x3cf)]=_0x15dfdf,this[_0x594551(0x46c)]=_0x2e60f6,this[_0x594551(0x2e7)]=_0x4b913a,this[_0x594551(0x46b)]=_0x4aa417,this['_authzIoService']=_0x14c8bc,this[_0x594551(0x280)]=_0x15903b,this[_0x594551(0x1c1)](),this[_0x594551(0x330)]();}['_initCloseConn'](){var _0x40b978=_0x3817ac;const _0x13940c=async _0x36f645=>{var _0x599107=_0x7017;(await this[_0x599107(0x2e7)][_0x599107(0x310)](_0x36f645))[_0x599107(0x1a7)][_0x599107(0x37a)](_0x1b785d(_0x2af1b0=>_0x2af1b0[_0x599107(0x40b)]===_0x48cdf6[_0x599107(0x3f2)]),_0x22e3d2(this[_0x599107(0x2e8)]))[_0x599107(0x3da)](_0x45dc97=>{var _0x3f2cce=_0x599107;const _0x4b264e=_0x45dc97,{reason:_0x3ec87c}=_0x4b264e[_0x3f2cce(0x289)];this[_0x3f2cce(0x46b)][_0x3f2cce(0x426)]({'id':re[_0x3f2cce(0x402)],'data':_0x3ec87c}),this['_permissionService']['updatePermissionPoint'](new _0x1fa601(_0x36f645)['id'],!0x1),this[_0x3f2cce(0x2e7)][_0x3f2cce(0x1a0)](_0x36f645);});};_0x30e992(this[_0x40b978(0x3cf)][_0x40b978(0x422)](_0x1f11e9['UNIVER_SHEET']),this[_0x40b978(0x3cf)]['getTypeOfUnitAdded$'](_0x1f11e9[_0x40b978(0x1f6)]))[_0x40b978(0x37a)](_0x24684d(_0x274c3a=>_0x274c3a['getUnitId']()),_0x1b785d(_0x2caa78=>!_0x4417ac(_0x2caa78)),_0x22e3d2(this['dispose$']))[_0x40b978(0x3da)](_0x13bf02=>{_0x13940c(_0x13bf02);});}[_0x3817ac(0x1c1)](){var _0x28939e=_0x3817ac;const _0x1eb52f=async _0x15a4a7=>{var _0x3b0d38=_0x7017;(await this[_0x3b0d38(0x2e7)]['requireSession'](_0x15a4a7))['event$'][_0x3b0d38(0x37a)](_0x1b785d(_0xc7a389=>_0xc7a389[_0x3b0d38(0x40b)]===_0x48cdf6[_0x3b0d38(0x266)]),_0x22e3d2(this[_0x3b0d38(0x2e8)]))[_0x3b0d38(0x3da)](_0x5e7ec2=>{var _0x344b6a=_0x3b0d38;const _0x10d69a=_0x5e7ec2,{objectId:_0x163570}=_0x10d69a[_0x344b6a(0x289)];_0x163570===_0x15a4a7?this[_0x344b6a(0x37d)](_0x15a4a7):this[_0x344b6a(0x2d6)](_0x15a4a7,_0x163570);});};_0x30e992(this[_0x28939e(0x3cf)][_0x28939e(0x422)](_0x1f11e9[_0x28939e(0x2e1)]),this[_0x28939e(0x3cf)][_0x28939e(0x422)](_0x1f11e9[_0x28939e(0x1f6)]))[_0x28939e(0x37a)](_0x24684d(_0x2d9646=>_0x2d9646['getUnitId']()),_0x1b785d(_0x144016=>!_0x4417ac(_0x144016)),_0x22e3d2(this[_0x28939e(0x2e8)]))[_0x28939e(0x3da)](_0x181f4d=>{_0x1eb52f(_0x181f4d);});}async[_0x3817ac(0x37d)](_0x2c2acb){var _0x4ecb1b=_0x3817ac,_0x73bbd0;const _0xd7fd8c=_0x2c2acb||((_0x73bbd0=this[_0x4ecb1b(0x3cf)][_0x4ecb1b(0x49f)](_0x1f11e9[_0x4ecb1b(0x2e1)]))==null?void 0x0:_0x73bbd0[_0x4ecb1b(0x370)]());_0xd7fd8c&&this[_0x4ecb1b(0x48b)][_0x4ecb1b(0x2bc)]({'objectID':_0xd7fd8c,'objectType':_0x4dfcaf[_0x4ecb1b(0x28c)],'unitID':_0xd7fd8c,'actions':_0x541e5e})[_0x4ecb1b(0x1fe)](_0x4ba848=>{var _0x4f1340=_0x4ecb1b;_0x4d802e()[_0x4f1340(0x28f)](_0x23b582=>{var _0x26b0c6=_0x4f1340;const _0x28e22f=new _0x23b582(_0xd7fd8c),_0x234314=_0x28e22f[_0x26b0c6(0x2dd)],_0x1300a2=_0x4ba848[_0x26b0c6(0x240)](_0x1cf68a=>_0x1cf68a[_0x26b0c6(0x2f2)]===_0x234314);_0x1300a2&&this[_0x26b0c6(0x46c)][_0x26b0c6(0x478)](_0x28e22f['id'],_0x1300a2[_0x26b0c6(0x2bc)]);});});}['refreshPermission'](_0x320076,_0xf6ef2a){var _0x21908b=_0x3817ac;const _0x50d7c7=this[_0x21908b(0x393)]['get'](_0x36a6e8),_0x3bde8e=_0x50d7c7[_0x21908b(0x454)](_0x320076,_0xf6ef2a);let _0x5157e1=!0x1;if(_0x3bde8e){const [_0x4c9ecf,_0x60261c]=_0x3bde8e;this[_0x21908b(0x48b)][_0x21908b(0x2bc)]({'objectID':_0xf6ef2a,'unitID':_0x320076,'objectType':_0x4dfcaf['Worksheet'],'actions':_0x400bf2})[_0x21908b(0x1fe)](_0x1505ad=>{var _0x5a717c=_0x21908b;let _0x1bd177='';_0x11f5cd()[_0x5a717c(0x28f)](_0x41510d=>{var _0x2b20ae=_0x5a717c,_0x254f7d;const _0x53987f=new _0x41510d(_0x320076,_0x60261c),_0x447385=_0x53987f[_0x2b20ae(0x2dd)],_0x56ac45=_0x1505ad['find'](_0x18da0b=>_0x18da0b['action']===_0x447385);_0x56ac45&&(((_0x254f7d=this['_permissionService']['getPermissionPoint'](_0x53987f['id']))==null?void 0x0:_0x254f7d[_0x2b20ae(0x31b)])!==_0x56ac45[_0x2b20ae(0x2bc)]&&(_0x5157e1=!0x0),this['_permissionService'][_0x2b20ae(0x478)](_0x53987f['id'],_0x56ac45['allowed']),_0x1bd177+=_0x56ac45['action']+'_'+_0x56ac45['allowed']);}),_0x50d7c7[_0x5a717c(0x1ab)](_0xf6ef2a+'_'+_0x1bd177),_0x5157e1&&this[_0x5a717c(0x280)][_0x5a717c(0x2f3)](_0x320076);});}const _0x406af4=this['_injector'][_0x21908b(0x1b5)](_0x2bf8b1)[_0x21908b(0x454)](_0x320076,_0xf6ef2a);if(_0x406af4){const [_0x142ff8,_0x4fc402]=_0x406af4;this[_0x21908b(0x48b)][_0x21908b(0x2bc)]({'objectID':_0xf6ef2a,'unitID':_0x320076,'objectType':_0x4dfcaf[_0x21908b(0x395)],'actions':_0x425cad})[_0x21908b(0x1fe)](_0x486a02=>{var _0x52afce=_0x21908b;_0x425436()[_0x52afce(0x28f)](_0x1139e8=>{var _0x1031e3=_0x52afce,_0x5d1870;const _0x4adb4d=new _0x1139e8(_0x320076,_0x4fc402),_0xfa99aa=_0x4adb4d['subType'],_0x1ab66b=_0x486a02[_0x1031e3(0x240)](_0x5bf793=>_0x5bf793[_0x1031e3(0x2f2)]===_0xfa99aa);_0x1ab66b&&(((_0x5d1870=this[_0x1031e3(0x46c)]['getPermissionPoint'](_0x4adb4d['id']))==null?void 0x0:_0x5d1870[_0x1031e3(0x31b)])!==_0x1ab66b[_0x1031e3(0x2bc)]&&(_0x5157e1=!0x0),this[_0x1031e3(0x46c)][_0x1031e3(0x478)](_0x4adb4d['id'],_0x1ab66b[_0x1031e3(0x2bc)]));}),_0x5157e1&&this['_undoRedoService'][_0x52afce(0x2f3)](_0x320076);});}const _0x4f4d94=this[_0x21908b(0x393)]['get'](_0x25606f),_0x512d22=_0x4f4d94[_0x21908b(0x454)](_0x320076,_0xf6ef2a);if(_0x512d22){const [_0x50a046,_0x2e8a58]=_0x512d22;this[_0x21908b(0x48b)][_0x21908b(0x2bc)]({'objectID':_0xf6ef2a,'unitID':_0x320076,'objectType':_0x4dfcaf[_0x21908b(0x379)],'actions':_0x400bf2})[_0x21908b(0x1fe)](_0x319354=>{var _0x57ad32=_0x21908b;let _0x3f0eb1='';_0x3831c2()[_0x57ad32(0x28f)](_0x1f72d3=>{var _0x5d37ee=_0x57ad32,_0x100633;const _0x19f921=new _0x1f72d3(_0x320076,_0x2e8a58,_0xf6ef2a),_0x42e649=_0x19f921[_0x5d37ee(0x2dd)],_0x99fa15=_0x319354[_0x5d37ee(0x240)](_0x1e18e2=>_0x1e18e2[_0x5d37ee(0x2f2)]===_0x42e649);_0x99fa15&&(((_0x100633=this['_permissionService']['getPermissionPoint'](_0x19f921['id']))==null?void 0x0:_0x100633[_0x5d37ee(0x31b)])!==_0x99fa15[_0x5d37ee(0x2bc)]&&(_0x5157e1=!0x0),this[_0x5d37ee(0x46c)][_0x5d37ee(0x478)](_0x19f921['id'],_0x99fa15[_0x5d37ee(0x2bc)]),_0x3f0eb1+=_0x99fa15[_0x5d37ee(0x2f2)]+'_'+_0x99fa15[_0x5d37ee(0x2bc)]);}),_0x4f4d94[_0x57ad32(0x1ab)](_0xf6ef2a+'_'+_0x3f0eb1),_0x5157e1&&this[_0x57ad32(0x280)]['clearUndoRedo'](_0x320076);});}}};ct=Br([Se(0x0,_0x880ce4(_0x28aed1)),Se(0x1,_0x369bbf),Se(0x2,_0x3310d6),Se(0x3,_0x880ce4(Le)),Se(0x4,_0x880ce4(pe)),Se(0x5,_0x400bc0),Se(0x6,_0x43dc49)],ct);var Fr=Object['defineProperty'],Vr=Object['getOwnPropertyDescriptor'],Wr=(_0x5dd17d,_0x4513ea,_0x574059,_0x514120)=>{for(var _0x5db22a=_0x514120>0x1?void 0x0:_0x514120?Vr(_0x4513ea,_0x574059):_0x4513ea,_0x5cbb6a=_0x5dd17d['length']-0x1,_0x2e562b;_0x5cbb6a>=0x0;_0x5cbb6a--)(_0x2e562b=_0x5dd17d[_0x5cbb6a])&&(_0x5db22a=(_0x514120?_0x2e562b(_0x4513ea,_0x574059,_0x5db22a):_0x2e562b(_0x5db22a))||_0x5db22a);return _0x514120&&_0x5db22a&&Fr(_0x4513ea,_0x574059,_0x5db22a),_0x5db22a;},di=(_0x4ef241,_0x32b857)=>(_0x20605e,_0x5aa0ca)=>_0x32b857(_0x20605e,_0x5aa0ca,_0x4ef241);let Dt=class{constructor(_0x355e3e,_0x3aee7b){var _0x6abff6=_0x3817ac;this[_0x6abff6(0x2e5)]=_0x355e3e,this['_httpService']=_0x3aee7b;}async[_0x3817ac(0x2b3)](_0x3a654a,_0x38d20a){var _0x176642=_0x3817ac,_0x5e367c;const {unitID:_0x34cd01,type:_0x12c06c,revision:_0x3ca9da=0x0}=_0x38d20a,_0x352eed=this[_0x176642(0x227)]()+'/'+_0x12c06c+_0x176642(0x43f)+_0x34cd01+_0x176642(0x30d)+_0x3ca9da,_0x55f71d=(await this[_0x176642(0x3d2)]['get'](_0x352eed))[_0x176642(0x400)],_0x2a58b8=(_0x5e367c=_0x55f71d[_0x176642(0x251)])==null?void 0x0:_0x5e367c[_0x176642(0x22d)];if(_0x2a58b8){const _0xc7a402=_0x2a58b8==null?void 0x0:_0x2a58b8[_0x176642(0x2ad)],_0x58e640=_0x5cb200[_0x176642(0x3bd)](_0x4b2c2e(_0xc7a402));_0x2a58b8['originalMeta']=_0x58e640,Object[_0x176642(0x1ec)](_0x2a58b8[_0x176642(0x308)])[_0x176642(0x28f)](([,_0x3387fd])=>{var _0x230f6c=_0x176642;const _0x2f6914=_0x3387fd[_0x230f6c(0x2ad)],_0x213ed7=_0x5cb200[_0x230f6c(0x3bd)](_0x4b2c2e(_0x2f6914));_0x3387fd[_0x230f6c(0x2ad)]=_0x213ed7;});}return _0x55f71d;}async[_0x3817ac(0x1d9)](_0xaa21bd,_0xa1c140){var _0x460557=_0x3817ac;const {unitID:_0x8fc73d,type:_0x299231,blockID:_0x384970}=_0xa1c140,_0x4e4a57=this[_0x460557(0x2fd)]()+'/'+_0x299231+_0x460557(0x43f)+_0x8fc73d+_0x460557(0x318)+_0x384970;return(await this[_0x460557(0x3d2)][_0x460557(0x1b5)](_0x4e4a57))[_0x460557(0x400)];}async[_0x3817ac(0x3f8)](_0x31da38,_0x4f73a5){var _0x21cc54=_0x3817ac;const {unitID:_0x215bed,type:_0x16905b,blockID:_0x2b9ef6}=_0x4f73a5,_0x358f16=this[_0x21cc54(0x2fd)]()+'/block/'+_0x16905b+_0x21cc54(0x43f)+_0x215bed+_0x21cc54(0x318)+_0x2b9ef6;return(await this[_0x21cc54(0x3d2)]['get'](_0x358f16))[_0x21cc54(0x400)];}async[_0x3817ac(0x488)](_0xd8e205,_0x587914){var _0x4e5ece=_0x3817ac;const {unitID:_0x15ee4e,type:_0x4da158,from:_0x363eb6,to:_0x4b9b94}=_0x587914,_0x438735=this['_getAPIPrefix']()+'/'+_0x4da158+_0x4e5ece(0x43f)+_0x15ee4e+_0x4e5ece(0x35c)+_0x363eb6+'&to='+_0x4b9b94;return(await this[_0x4e5ece(0x3d2)][_0x4e5ece(0x1b5)](_0x438735))[_0x4e5ece(0x400)];}[_0x3817ac(0x227)](){var _0x1639c0=_0x3817ac,_0x174c0d;return(_0x174c0d=this[_0x1639c0(0x2e5)][_0x1639c0(0x3a7)](Un))!=null?_0x174c0d:this[_0x1639c0(0x2fd)]();}[_0x3817ac(0x2fd)](){var _0x3c64aa=_0x3817ac,_0x5f34f5,_0x2be8ae;const _0x48d04e=this['_configService'][_0x3c64aa(0x3a7)](Dn),_0x5c4305=this[_0x3c64aa(0x2e5)][_0x3c64aa(0x3a7)](Y);return(_0x2be8ae=(_0x5f34f5=_0x5c4305==null?void 0x0:_0x5c4305[_0x3c64aa(0x211)])!=null?_0x5f34f5:_0x48d04e)!=null?_0x2be8ae:wn;}async[_0x3817ac(0x21b)](_0x2793a2,_0x41ece3){var _0x5d684f=_0x3817ac;const _0x38587b='/universer-api/snapshot/'+_0x41ece3[_0x5d684f(0x408)]+'/unit/'+_0x41ece3[_0x5d684f(0x22f)]+_0x5d684f(0x221);return(await this[_0x5d684f(0x3d2)][_0x5d684f(0x1b5)](_0x38587b,{'params':{'resourceId':JSON[_0x5d684f(0x274)](_0x41ece3[_0x5d684f(0x34d)])}}))[_0x5d684f(0x400)];}[_0x3817ac(0x457)](){var _0x2f9a8f=_0x3817ac;throw new Error(_0x2f9a8f(0x327));}[_0x3817ac(0x390)](){var _0x7746a9=_0x3817ac;throw new Error(_0x7746a9(0x327));}[_0x3817ac(0x1e7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3817ac(0x31a)](){var _0x58ce3c=_0x3817ac;throw new Error(_0x58ce3c(0x327));}[_0x3817ac(0x35d)](){var _0x3236bf=_0x3817ac;throw new Error(_0x3236bf(0x327));}};Dt=Wr([di(0x0,_0x268506),di(0x1,_0x880ce4(_0x157352))],Dt);var Gr=Object[_0x3817ac(0x3b8)],Kr=Object[_0x3817ac(0x1df)],zr=(_0x2b5d63,_0x283eed,_0x1a417d,_0x3b3c2a)=>{var _0xce2b0c=_0x3817ac;for(var _0x4d54a1=_0x3b3c2a>0x1?void 0x0:_0x3b3c2a?Kr(_0x283eed,_0x1a417d):_0x283eed,_0x12ee4d=_0x2b5d63[_0xce2b0c(0x450)]-0x1,_0x498f50;_0x12ee4d>=0x0;_0x12ee4d--)(_0x498f50=_0x2b5d63[_0x12ee4d])&&(_0x4d54a1=(_0x3b3c2a?_0x498f50(_0x283eed,_0x1a417d,_0x4d54a1):_0x498f50(_0x4d54a1))||_0x4d54a1);return _0x3b3c2a&&_0x4d54a1&&Gr(_0x283eed,_0x1a417d,_0x4d54a1),_0x4d54a1;},Ae=(_0x1b0b1e,_0x3e4847)=>(_0x782078,_0x40c085)=>_0x3e4847(_0x782078,_0x40c085,_0x1b0b1e);let wt=class extends _0x864ba1{constructor(_0x481b48,_0x171107,_0x488e71,_0x2c200a,_0x3df73a){var _0x5339b4=_0x3817ac;super(_0x481b48,_0x171107,_0x488e71),this[_0x5339b4(0x2af)]=_0x2c200a,this[_0x5339b4(0x334)]=_0x3df73a;}[_0x3817ac(0x19c)](_0x158a85,_0x418910){var _0x3adbbc=_0x3817ac;const _0x16b0ed=this[_0x3adbbc(0x28e)](_0x158a85);if(_0x16b0ed)try{const _0x457b38=this[_0x3adbbc(0x1b0)](_0x16b0ed,_0x418910);this[_0x3adbbc(0x1dd)](_0x158a85,_0x457b38);}catch(_0x2b501c){this[_0x3adbbc(0x334)][_0x3adbbc(0x2d3)]('[CollaborationUndoRedoService]',_0x2b501c),this['_clearUndo'](_0x158a85);}const _0x3e8bbf=this[_0x3adbbc(0x2a0)](_0x158a85);if(_0x3e8bbf)try{const _0x2ff70e=this['_transformStack'](_0x3e8bbf,_0x418910);this[_0x3adbbc(0x296)](_0x158a85,_0x2ff70e);}catch(_0x57afba){this[_0x3adbbc(0x334)][_0x3adbbc(0x2d3)](_0x57afba),this[_0x3adbbc(0x369)](_0x158a85);}}[_0x3817ac(0x26d)](_0x30ff1e){var _0x1858b5=_0x3817ac;const _0x1faae7=this['_getUndoStack'](_0x30ff1e);_0x1faae7&&(_0x1faae7[_0x1858b5(0x450)]=0x0,this[_0x1858b5(0x29c)]());}['_clearRedo'](_0x1ac5cb){var _0x5785c9=_0x3817ac;const _0xd8c79c=this['_getRedoStack'](_0x1ac5cb);_0xd8c79c&&(_0xd8c79c[_0x5785c9(0x450)]=0x0,this[_0x5785c9(0x29c)]());}[_0x3817ac(0x1dd)](_0x2b851f,_0x1b8b85){var _0x1354f2=_0x3817ac;this[_0x1354f2(0x409)][_0x1354f2(0x3dd)](_0x2b851f,_0x1b8b85),this[_0x1354f2(0x29c)]();}['_substituteRedoStack'](_0x56c720,_0x2dbed8){var _0x50eb07=_0x3817ac;this['_redoStacks'][_0x50eb07(0x3dd)](_0x56c720,_0x2dbed8),this[_0x50eb07(0x29c)]();}['_transformStack'](_0x4d6bca,_0x57ba9f){var _0x2ee34f=_0x3817ac;const _0x486b2d=[];let _0x4cfc73=_0x57ba9f,_0x2eb56e=_0x57ba9f;for(let _0x5ab621=_0x4d6bca[_0x2ee34f(0x450)]-0x1;_0x5ab621>=0x0;_0x5ab621--){const {unitID:_0x1b427e,undoMutations:_0x514035,redoMutations:_0x4a14be}=_0x4d6bca[_0x5ab621],_0x2a6d2a=this[_0x2ee34f(0x2af)]['transformMutationsWithChangeset'](_0x4cfc73,_0x514035),_0x40ccae=this[_0x2ee34f(0x2af)][_0x2ee34f(0x401)](_0x2eb56e,_0x4a14be);if(_0x389b7d(_0x2a6d2a)||_0x389b7d(_0x40ccae)){this[_0x2ee34f(0x334)]['error'](_0x2ee34f(0x2db),_0x2ee34f(0x1cf),_0x2a6d2a,_0x40ccae);break;}_0x4cfc73=_0x2a6d2a[_0x2ee34f(0x1ed)],_0x2eb56e=_0x40ccae['c1Prime'],_0x486b2d['push']({'unitID':_0x1b427e,'undoMutations':_0x2a6d2a['m2Prime'],'redoMutations':_0x40ccae[_0x2ee34f(0x2ec)]});}return _0x486b2d[_0x2ee34f(0x4a7)]();}};wt=zr([Ae(0x0,_0x369bbf),Ae(0x1,_0x5ee12b),Ae(0x2,_0x24222f),Ae(0x3,_0x5e4ebe),Ae(0x4,_0x3b11ba)],wt);var Mi=Object[_0x3817ac(0x3b8)],Yr=Object[_0x3817ac(0x1df)],qr=(_0x1a2010,_0x481211,_0x583490)=>_0x481211 in _0x1a2010?Mi(_0x1a2010,_0x481211,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x583490}):_0x1a2010[_0x481211]=_0x583490,Jr=(_0x243b72,_0x1dab84,_0x5de3e2,_0x4885d0)=>{var _0x304ce3=_0x3817ac;for(var _0x1722ff=_0x4885d0>0x1?void 0x0:_0x4885d0?Yr(_0x1dab84,_0x5de3e2):_0x1dab84,_0x4e2818=_0x243b72[_0x304ce3(0x450)]-0x1,_0x2d27e8;_0x4e2818>=0x0;_0x4e2818--)(_0x2d27e8=_0x243b72[_0x4e2818])&&(_0x1722ff=(_0x4885d0?_0x2d27e8(_0x1dab84,_0x5de3e2,_0x1722ff):_0x2d27e8(_0x1722ff))||_0x1722ff);return _0x4885d0&&_0x1722ff&&Mi(_0x1dab84,_0x5de3e2,_0x1722ff),_0x1722ff;},Et=(_0x337b54,_0x20b2ea)=>(_0x1e85d8,_0x5b18ca)=>_0x20b2ea(_0x1e85d8,_0x5b18ca,_0x337b54),Xr=(_0x30573c,_0x30e221,_0x2ff176)=>qr(_0x30573c,_0x30e221+'',_0x2ff176);const Zr=_0x3817ac(0x297);let Ut=class extends _0x2968e0{constructor(_0x40ca2b=zt,_0x2a2c9b,_0x15727f,_0x351e8d){var _0x3f9072=_0x3817ac;super(),this[_0x3f9072(0x1db)]=_0x40ca2b,this['_logService']=_0x2a2c9b,this[_0x3f9072(0x393)]=_0x15727f,this[_0x3f9072(0x2e5)]=_0x351e8d;const {..._0x167419}=_0x2d506e({},zt,this[_0x3f9072(0x1db)]);this[_0x3f9072(0x2e5)]['setConfig'](Y,_0x167419);}[_0x3817ac(0x2a8)](){var _0x1d00eb=_0x3817ac;this[_0x1d00eb(0x2e6)](),this[_0x1d00eb(0x2bd)]();}[_0x3817ac(0x2e6)](){var _0x72f145=_0x3817ac,_0x315fe1,_0x1f22c3,_0x2bedeb,_0x304981;this['_injector'][_0x72f145(0x303)](_0x43dc49)&&this['_logService'][_0x72f145(0x2d3)]('[UniverCollaborationClientPlugin]',_0x72f145(0x3d1));const _0xe8e97d=_0x189fb3([[_0x43dc49,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[yi],[ct],[pe],[Ot],[Ri,{'useClass':(_0x1f22c3=(_0x315fe1=this['_config'])==null?void 0x0:_0x315fe1[_0x72f145(0x417)])!=null?_0x1f22c3:It}],[_0x2e5790,{'useClass':Dt}],[_0x400bc0,{'useClass':yt}],[_0x5695e0,{'useClass':Nt}],[_0x2d119d,{'useClass':Pt}],[rt],[Rt]],(_0x2bedeb=this[_0x72f145(0x1db)])==null?void 0x0:_0x2bedeb[_0x72f145(0x301)]);if(!((_0x304981=this[_0x72f145(0x1db)])!=null&&_0x304981['enableSingleActiveInstanceLock'])){const _0x31cae7=_0xe8e97d[_0x72f145(0x25d)](([_0x70296])=>_0x70296===_t);_0x31cae7!==-0x1&&_0xe8e97d[_0x72f145(0x4a3)](_0x31cae7,0x1);}_0x16ef9f(this[_0x72f145(0x393)],_0xe8e97d);}[_0x3817ac(0x2bd)](){var _0x5afea1=_0x3817ac,_0x566ff0,_0x36487e,_0x47a6e3;this[_0x5afea1(0x393)]['get'](_0x157352)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3812a({'maxParallel':0x6})}),(_0x566ff0=this[_0x5afea1(0x1db)])!=null&&_0x566ff0[_0x5afea1(0x27f)]||(_0x36487e=this[_0x5afea1(0x393)][_0x5afea1(0x1b5)](X,_0x12cdfd['OPTIONAL']))==null||_0x36487e['disableLocalCache'](),(_0x47a6e3=this[_0x5afea1(0x1db)])!=null&&_0x47a6e3['enableAuthServer']&&_0x338f1b(this[_0x5afea1(0x393)],[[ot]]),_0x338f1b(this[_0x5afea1(0x393)],[[at],[rt],[ct]]);}};Xr(Ut,_0x3817ac(0x43b),Zr),Ut=Jr([_0x269592(_0x6570e7,_0x36a5db,_0x3afd6f),Et(0x1,_0x3b11ba),Et(0x2,_0x880ce4(_0x28aed1)),Et(0x3,_0x268506)],Ut);export{Ui as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Fn as COLLAB_SUBMIT_CHANGESET_URL_KEY,xn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Pi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,yi as CommentService,de as ConflictState,Ln as DEFAULT_COLLAB_WEB_SOCKET_URL,vo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,$n as HEARTBEAT_INTERVAL_KEY,Ii as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Kn as INetworkConditionService,_t as ISingleActiveUnitService,uo as LOCAL_CACHE_INTERVAL,lo as LOCAL_CACHE_INTERVAL_KEY,Wn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,fo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,jn as RETRY_CONNECTING_MAX_COUNT_KEY,_o as SEND_CHANGESET_TIMEOUT_KEY,Dn as SNAPSHOT_SERVER_URL_KEY,Un as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Oi as UnitStatus,Ut as UniverCollaborationClientPlugin,zn as deserializeToCombResponse,po as getLocalCacheKey,Yn as serializeCombRequest};