@univerjs-pro/collaboration-client 0.8.0-nightly.202505271607 → 0.8.0-nightly.202505281606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x5d9338=_0x4a4a;(function(_0x5d9b5f,_0x58f99d){var _0x38e5cb=_0x4a4a,_0x4bd4de=_0x5d9b5f();while(!![]){try{var _0x3e78ad=parseInt(_0x38e5cb(0x466))/0x1+-parseInt(_0x38e5cb(0x434))/0x2+parseInt(_0x38e5cb(0x38f))/0x3+-parseInt(_0x38e5cb(0x321))/0x4*(-parseInt(_0x38e5cb(0x14d))/0x5)+parseInt(_0x38e5cb(0x329))/0x6+-parseInt(_0x38e5cb(0x23a))/0x7+-parseInt(_0x38e5cb(0x183))/0x8;if(_0x3e78ad===_0x58f99d)break;else _0x4bd4de['push'](_0x4bd4de['shift']());}catch(_0x26ab1b){_0x4bd4de['push'](_0x4bd4de['shift']());}}}(_0x96fe,0xdf9ac));var Dt=Object['defineProperty'],At=(_0x2fd2af,_0x5d0292,_0x53ea83)=>_0x5d0292 in _0x2fd2af?Dt(_0x2fd2af,_0x5d0292,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53ea83}):_0x2fd2af[_0x5d0292]=_0x53ea83,A=(_0x37cc3d,_0x55ff1b,_0x1cf53a)=>At(_0x37cc3d,typeof _0x55ff1b!='symbol'?_0x55ff1b+'':_0x55ff1b,_0x1cf53a);Object['defineProperty'](exports,Symbol[_0x5d9338(0x16e)],{'value':'Module'});const a=require(_0x5d9338(0x426)),$=require(_0x5d9338(0x42d)),V=require('rxjs/operators'),I=require(_0x5d9338(0x14b)),Y=require(_0x5d9338(0x16a)),Pt=require(_0x5d9338(0x111)),ht=require('@univerjs/docs'),X=require(_0x5d9338(0x264)),z=require('@univerjs/drawing'),wt=require('@univerjs-pro/license'),_t=_0x5d9338(0x419),Lt=_0x5d9338(0x2ee),lt=_0x5d9338(0x428),Mt=_0x5d9338(0x233),xt=0x7d0,ut=_0x5d9338(0x13a),dt=_0x5d9338(0x166),kt='/universer-api/user/session-ticket',vt=_0x5d9338(0x409),Ht=0x7530,ke='HEARTBEAT_TIMEOUT',St=0x4e20,$t=0x4e20,ft=_0x5d9338(0x408),jt=0x3,Bt=_0x5d9338(0x37c),Ft=0x3e8,pt=_0x5d9338(0x3a9),Vt=_0x5d9338(0x24c),It=_0x5d9338(0x119),Wt=_0x5d9338(0x20a),Gt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Kt=_0x5d9338(0x2ef);var gt=(_0x34ec4e=>(_0x34ec4e[_0x34ec4e[_0x5d9338(0x180)]=0x0]='UNDEFINED',_0x34ec4e[_0x34ec4e['OK']=0x1]='OK',_0x34ec4e[_0x34ec4e[_0x5d9338(0x262)]=0x2]=_0x5d9338(0x262),_0x34ec4e[_0x34ec4e[_0x5d9338(0x1d4)]=0x3]=_0x5d9338(0x1d4),_0x34ec4e[_0x34ec4e['NOT_FOUND']=0x4]=_0x5d9338(0x2a6),_0x34ec4e[_0x34ec4e[_0x5d9338(0x393)]=0x5]=_0x5d9338(0x393),_0x34ec4e[_0x34ec4e['ALREADY_EXISTS']=0x6]=_0x5d9338(0x128),_0x34ec4e[_0x34ec4e[_0x5d9338(0x39a)]=0x7]=_0x5d9338(0x39a),_0x34ec4e[_0x34ec4e[_0x5d9338(0x3bd)]=0x8]=_0x5d9338(0x3bd),_0x34ec4e[_0x34ec4e[_0x5d9338(0x394)]=0x9]=_0x5d9338(0x394),_0x34ec4e[_0x34ec4e[_0x5d9338(0x23c)]=0xa]='LOGIN_FAILED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x184)]=0x1389]=_0x5d9338(0x184),_0x34ec4e[_0x34ec4e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5d9338(0x23e),_0x34ec4e[_0x34ec4e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5d9338(0x29c),_0x34ec4e[_0x34ec4e[_0x5d9338(0x1e7)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x34ec4e[_0x34ec4e['APPLY_REJECT']=0x1b59]=_0x5d9338(0x1f9),_0x34ec4e[_0x34ec4e[_0x5d9338(0x1b5)]=0x1b5a]=_0x5d9338(0x1b5),_0x34ec4e[_0x34ec4e[_0x5d9338(0x11d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x34ec4e[_0x34ec4e[_0x5d9338(0x3dd)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x3a0)]=0x1b5d]='APPLY_DUPLICATED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x453)]=0x1f41]=_0x5d9338(0x453),_0x34ec4e[_0x34ec4e[_0x5d9338(0x2e9)]=0x2329]=_0x5d9338(0x2e9),_0x34ec4e[_0x34ec4e[_0x5d9338(0x340)]=0x232a]=_0x5d9338(0x340),_0x34ec4e[_0x34ec4e[_0x5d9338(0x28e)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x235)]=0x232c]=_0x5d9338(0x235),_0x34ec4e[_0x34ec4e[_0x5d9338(0x432)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x464)]=0x2711]=_0x5d9338(0x464),_0x34ec4e[_0x34ec4e[_0x5d9338(0x332)]=0x2712]=_0x5d9338(0x332),_0x34ec4e[_0x34ec4e[_0x5d9338(0x24e)]=0x2713]=_0x5d9338(0x24e),_0x34ec4e[_0x34ec4e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x34ec4e[_0x34ec4e[_0x5d9338(0x27a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x34ec4e[_0x34ec4e[_0x5d9338(0x100)]=0x271b]=_0x5d9338(0x100),_0x34ec4e[_0x34ec4e[_0x5d9338(0x2cb)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x34ec4e[_0x34ec4e[_0x5d9338(0x3fc)]=0x271d]=_0x5d9338(0x3fc),_0x34ec4e[_0x34ec4e[_0x5d9338(0x212)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x1c3)]=0x271f]=_0x5d9338(0x1c3),_0x34ec4e[_0x34ec4e[_0x5d9338(0x43a)]=0x2af9]=_0x5d9338(0x43a),_0x34ec4e[_0x34ec4e[_0x5d9338(0x421)]=0x2ee1]=_0x5d9338(0x421),_0x34ec4e[_0x34ec4e['INVALID_INVITE_CODE']=0x2ee2]=_0x5d9338(0x15e),_0x34ec4e[_0x34ec4e[_0x5d9338(0x22e)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x1b8)]=0x2ee4]=_0x5d9338(0x1b8),_0x34ec4e[_0x34ec4e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x34ec4e[_0x34ec4e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5d9338(0x2f0),_0x34ec4e[_0x34ec4e[_0x5d9338(0x200)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x34ec4e[_0x34ec4e[_0x5d9338(0x390)]=0x32cb]=_0x5d9338(0x390),_0x34ec4e[_0x34ec4e[_0x5d9338(0x27d)]=-0x1]=_0x5d9338(0x27d),_0x34ec4e))(gt||{}),J=(_0xa02b0b=>(_0xa02b0b[_0xa02b0b['UNIVER_UNKNOWN']=0x0]=_0x5d9338(0x355),_0xa02b0b[_0xa02b0b['UNIVER_DOC']=0x1]=_0x5d9338(0x2e3),_0xa02b0b[_0xa02b0b[_0x5d9338(0x3f9)]=0x2]=_0x5d9338(0x3f9),_0xa02b0b[_0xa02b0b[_0x5d9338(0x113)]=0x3]=_0x5d9338(0x113),_0xa02b0b[_0xa02b0b[_0x5d9338(0x117)]=0x4]=_0x5d9338(0x117),_0xa02b0b[_0xa02b0b[_0x5d9338(0x27d)]=-0x1]=_0x5d9338(0x27d),_0xa02b0b))(J||{}),W=(_0x575343=>(_0x575343[_0x575343[_0x5d9338(0x2a9)]=0x0]=_0x5d9338(0x2a9),_0x575343[_0x575343[_0x5d9338(0x301)]=0x1]=_0x5d9338(0x301),_0x575343[_0x575343['JOIN']=0x2]=_0x5d9338(0x271),_0x575343[_0x575343['LEAVE']=0x3]=_0x5d9338(0x127),_0x575343[_0x575343[_0x5d9338(0x2b3)]=0x4]='INGEST',_0x575343[_0x575343[_0x5d9338(0x1c7)]=0x5]=_0x5d9338(0x1c7),_0x575343[_0x575343['RECV']=0x6]='RECV',_0x575343[_0x575343[_0x5d9338(0x27d)]=-0x1]='UNRECOGNIZED',_0x575343))(W||{}),oe=(_0x271860=>(_0x271860[_0x271860[_0x5d9338(0x2ce)]=0x0]=_0x5d9338(0x2ce),_0x271860[_0x271860['OK']=0x1]='OK',_0x271860[_0x271860[_0x5d9338(0x2d3)]=0x2]=_0x5d9338(0x2d3),_0x271860[_0x271860[_0x5d9338(0x35a)]=0x3e9]=_0x5d9338(0x35a),_0x271860[_0x271860[_0x5d9338(0x160)]=0x3ea]=_0x5d9338(0x160),_0x271860[_0x271860[_0x5d9338(0x330)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x271860[_0x271860[_0x5d9338(0x198)]=0x3ec]=_0x5d9338(0x198),_0x271860[_0x271860['UNRECOGNIZED']=-0x1]=_0x5d9338(0x27d),_0x271860))(oe||{}),Et=(_0x59fc7f=>(_0x59fc7f[_0x59fc7f[_0x5d9338(0x22a)]=0x0]=_0x5d9338(0x22a),_0x59fc7f[_0x59fc7f[_0x5d9338(0x15c)]=0x1]=_0x5d9338(0x15c),_0x59fc7f[_0x59fc7f[_0x5d9338(0x256)]=0x2]=_0x5d9338(0x256),_0x59fc7f[_0x59fc7f[_0x5d9338(0x152)]=0x3]=_0x5d9338(0x152),_0x59fc7f[_0x59fc7f[_0x5d9338(0x103)]=0x4]=_0x5d9338(0x103),_0x59fc7f[_0x59fc7f[_0x5d9338(0x2c3)]=0x5]=_0x5d9338(0x2c3),_0x59fc7f[_0x59fc7f[_0x5d9338(0x27d)]=-0x1]=_0x5d9338(0x27d),_0x59fc7f))(Et||{});const K='collaboration-client.config',Yt={};var Z=(_0x216220=>(_0x216220[_0x5d9338(0x179)]=_0x5d9338(0x179),_0x216220[_0x5d9338(0x1d4)]=_0x5d9338(0x1d4),_0x216220['CONFLICT']=_0x5d9338(0x194),_0x216220[_0x5d9338(0x143)]=_0x5d9338(0x143),_0x216220[_0x5d9338(0x367)]='JOIN_ROOM_FAILED',_0x216220[_0x5d9338(0x1af)]=_0x5d9338(0x1af),_0x216220[_0x5d9338(0x1a1)]=_0x5d9338(0x1a1),_0x216220[_0x5d9338(0x3db)]=_0x5d9338(0x3db),_0x216220))(Z||{});class ee{constructor(){var _0x183952=_0x5d9338;A(this,_0x183952(0x2cf),new $[(_0x183952(0x41d))]()),A(this,_0x183952(0x3e9),this[_0x183952(0x2cf)][_0x183952(0x203)]());}['emitEvent'](_0x1ea29c){var _0x24543b=_0x5d9338;this[_0x24543b(0x2cf)][_0x24543b(0x1c8)](_0x1ea29c);}}function _0x96fe(){var _0xc10c43=['executeCommand','closeSession','image/jpeg','TOO_MANY_REQUESTS','cmd','fetchMiss','_executeRemoteChangeset','[SyncedState]:\x20received\x20acknowledgement.','_clearScheduledTask','[OfflineState]:\x20received\x20changeset.','HEARTBEAT_INTERVAL_KEY','now','reduce','session.room-permission-denied','WorkbookEditablePermission','getCurrentSelections','_schedule','_applyRemoteChangeset','_getCurrentRevision','_unitID','reset','refreshPermission','_getUndoStack','ITransformService','EmptyMutation','infoRsp','_getCtorByUniverType','Could\x20not\x20dynamically\x20require\x20\x22','mutations','NO_OTHER_CLIENTS_EDITING','UPDATE_PERMISSION_OBJ','_createSocket','[DataLoaderService]','SUBMIT_CHANGESET_TIMEOUT','unitInfo$','APPLY_PERMISSION_DENIED','actions','_resendTimer','status','has','CHANGESET_REJ','rev','_registerDependencies','_initDependencies','snapshotServerUrl','SHA1','_telemetryInfo','event$','ICommandService','message$','_config','ciphertext','ceil','ISocketService','socket$','CommentService','roles','waitForRoom$','catch','_socketMessageSubscription','UniverCollaborationPlugin','reqId','isTransformMutationsWithChangesetFailure','UNIVER_SHEET','IMentionIOService','_transitionLocked','YUUMI_ALL_TABLES_IS_INVALID','decrypt','size','eventID','_getDownloadEndpointURL','OFFLINE','NEW_CHANGESETS','_stopTelemetryCollaborationNewChangeset','target','OpenSSL','encrypt','PERSON','RETRY_CONNECTING_MAX_COUNT','HEARTBEAT_INTERVAL','_scheduleCollaborationTimeoutTimer','exports','_getRedoStack','createInstance','_doFinalize','FileId','IConfigService','OfflineState','_createInitialState','_type','concat','_logService','_exhaustRemoteChangesetQueue','_transformStack','updateSnapshot','SNAPSHOT_SERVER_URL_KEY','_minBufferSize','onTransformRemoteChangesetByStateCache','_imageSourceCache','Subject','_memberService','joinEvent','open$','INVITE_CODE_HAS_BEEN_UES','updatePermissionPoint','Quantity','/collaborator','DEFAULT_FILE_NAME','@univerjs/core','join','SNAPSHOT_URL_KEY','RxDisposable','commentUpdateEvent','session.join-failed','update','rxjs','HmacMD5','COMMENT_UPDATE','max','awaiting','LICENSE_DISTRO_REJECTED','ImageSourceType','1432916tIIHOe','file','onCommandExecuted','SEND_CHANGESET_TIMEOUT_KEY','COMPRESS_MUTATION_SEND','onStateChange','PY_RUNTIME_SCRIPT_ERROR','_getSignURL','failed\x20to\x20apply\x20missed\x20changesets!','get','slice','_sendingTimer','override','enableAuthServer','pauseCollaboration','_snapshotServerService','Base','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_clearTimeoutTimer','parseChangesetToProtocol','SUBMIT_CHANGESET','ThresholdInterceptorFactory','HMAC','onRemoteRetry','msCrypto','Encryptor','localeService','_configService','_substituteRedoStack','listRoles','reverse','CONNECTOR_DATA_TOO_LARGE','sheets','readyForCollab','isArray','m2Prime','onSyncEditingCollabCursor','_collabSessionService','_initMergeInterceptor','socket\x20close','extend','error','filter','touchDependencies','pending','_tryEnsureSocket','/allowed','Tools','YUUMI_UNABLE_LOAD_URL','getFocusedUnit','1410835zGhULw','__creator','getTime','UPDATE_CURSOR','_collaborationPaused','changesets','COLLAB_WEB_SOCKET_URL_KEY','_state','YUUMI_ASYNCIO_CANCELLED','getRoom','saveSnapshot','UnitSnapshot','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','requestParams','charCodeAt','AwaitingState','floor','dispose','_onCombEvent','sin','isTransformMutationsWithChangesetSuccess','image/bmp','fetchThroughInterceptors','snapshot','_createHandler','@univerjs/telemetry','UniverCollaborationClientPlugin','UNIVER_SLIDE','updateOfflineData','Disposable','_collaborationUIEventService','UNIVER_PROJECT','loadSheet','LOGIN_URL_KEY','PasswordBasedCipher','collaboratorID','_iKey','APPLY_REVISION_CONFILICT','Utf8','body','_roomMembers','MemberService','_cipher','getTypeOfUnitDisposed$','interceptor','_disableEditing','debug','LEAVE','ALREADY_EXISTS','_parse','onMissingChangesets','fetch_missing','hasOwnProperty','crypto','SHOULD_CLOSE_CONN','ITelemetryService','CollaborationSession','getMember','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_incrementRevisionNumber','encode','_permissionService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getValue','createDecryptor','_updateLocalCache','COLLAB_WEB_SOCKET_URL','getTypeOfUnitAdded$','_redoStacks','function','onRemoteRej','_clearRedo','_nRounds','getSnapshotAPIPath','delete','CLOSE_ROOM','onTransformState','CollaborationUIEventService','_collaborationSessionService','Malformed\x20UTF-8\x20data','_status$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','readInt32LE','@univerjs-pro/collaboration','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','12665znKlaf','_pendingMutations','_handler','post','code','UnitEmbedded','_append','unknown','_unlockTransition','downloadEndpointUrl','[PendingState]:\x20received\x20rejection.','connection\x20error','loadUnitOfRevision','_updateStatus','DisposableCollection','HttpImport','Inject','INVALID_INVITE_CODE','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','JOIN_ROOM_NOT_EXISTS','\x20to\x20','LocaleService','getCurrentUser','getLatestCsReqIdBySid','data','ws://127.0.0.1:8000/universer-api/comb/connect','PENDING','isTransformChangesetsSuccess','toString','@univerjs/network','_throwTelemetryCollaborationNewChangeset','saveSheetBlock','addHandlerCallback','toStringTag','_collaborationTimeoutTimer','_process','sid','BufferedBlockAlgorithm','hostname','_socketService','onTransformSelections','put','getCurrentRevOfUnit','IPermissionService','OTHER_CLIENT_EDITING','fetching\x20missing\x20changesets\x20from\x20','compose','send','_initRequestHeader','getRandomValues','merge','UNDEFINED','liveShareNewHost','_isPermissionRej','1807008AyQpQp','CHANGESET_REVISION_CONFILICT','ImageUploadStatusType','UnitStatus','ONLINE','AUTHZ_URL_KEY','startsWith','[FetchMissState]','[CollaborationSession]','encodeURIComponent','getMemberID','/-/object/list','_instanceService','MUTATION','_members$','unpad','IUndoRedoService','CONFLICT','SheetsSelectionsService','_init','_state$','GLOBAL_ROOMS_CNT_EXCEEDS','_shouldReportTelemetry','getInterceptPoints','_onOffline','enableOfflineEditing','_toggleOnline','[PendingState]:\x20unhandled\x20univer\x20type:\x20','uploadFileServerUrl','onRemoteChangeset','SOCKET_FAILED','_undoRedoService','toggleOnline','onSendChangeset','encryptBlock','getUnitId','_sender','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','setShowComponents','ERROR_IMAGE_TYPE','LIVESHARE_REQUEST_HOST','sigBytes','_transformRemoteChangesetByStateCache','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','SOCKET_FAILED_RETRY','format','_transformStateCache','_roomCreated$','session','_syncEditingCollabCursor','APPLY_NON_SEQUENTIAL_REVISION','collabSubmitChangesetUrl','getUnitStatus$','USER_NOT_INVITED_CODE','subject','_singleActiveUnitService','collaboration-client.local-cache-service','_startCollaboration','FETCH_MISS','AuthzIoHttpService','stringify','unitID','defineProperty','_rescheduleHeartbeat','YUUMI_AI_RUN_FAILED','range','ReplaySubject','_clearHeartbeatTimer','HEARTBEAT','next','avatar','localCacheService','_changesetReqId','_socket$','_commentUpdate$','objectType','_networkConditionService','_sheetTransformSelectionsService','pipe','[OfflineState]:\x20received\x20rejection.','EvpKDF','PERMISSION_DENIED','[SyncedState]:\x20received\x20rejection.','DEFAULT_COLLAB_WEB_SOCKET_URL','createIdentifier','memberID','_acknowledgedAwaitingChangeset','DocCollaborationEntity','_getAPIPrefix','[OfflineState]:\x20received\x20acknowledgement.','_transformSelections','CHANGESET_SHOULD_RETRY','takeUntil','_onConflict','listCollaborators','BehaviorSubject','csShouldRetryEvent','CollaborationStatus','telemetry\x20info\x20is\x20not\x20initialized','getDeserializedSheetBlock','ENSURE_SNAPSHOT_EXECUTION','readAsDataURL','delay','_keyPriorReset','fromCharCode','/universer-api/authz','IDLE','_listenToNetworkCondition','close$','c1Prime','uuidv4','disableLocalCache','_initCloseConn','every','_joinRoom','buffer','_createHelper','_replaceFileID','APPLY_REJECT','UUID','_waitForHeartbeatResponse','firstValueFrom','_queuedRemoteChangesets','objectID','mapDocumentTypeToUniverType','MOBILE_HAS_BEEN_BOUND','[CollaborationSessionService]','keySize','asObservable','_revisionService','loadOfflineData','push','/block/','_handlerCallback','prototype','/universer-api/oidc/authpage','_socketReady','_injector','min','emitEvent','collaMsg','indexOf','_mode','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_nDataBytes','_replayCachedMutations','SyncedState','RETRY_CONNECTING_MAX_COUNT_KEY','createSocket','CollaborationUIEventId','_clearUndo','complete','from','createCollaborator','c2Prime','_onFetchMissResult','UniverInstanceType','getUnitOnRev','\x20in\x20_schedule.','USERS_ENTER','_emitMembers','list','Hex','CollaborationEvent','PendingState','href','capture','Undefined','Cipher','_onJoinRoomEvent','processBlock','INVITE_CODE_REQUIRED','updateCursorEvent','startTime','image/gif','apply','SEND_CHANGESET_TIMEOUT','_resendTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','splice','hasher','transformMutationsWithChangeset','_onConnectionOpen','3543239ToqlYz','collabWebSocketUrl','LOGIN_FAILED','/-/object/-/batch_allowed','SNAPSHOT_INVALID_SNAPSHOT','PERMISSION_REJ','disposeWithMe','_resendWithTimeout','includes','_getLoginPath','call','CollaborationController','_retryCount','resend','_keySchedule','url','_onUserLeave','incrementRevOfUnit','/universer-api/comb','liveShareOperation','YUUMI_RATE_OVER_LIMIT','blockSize','fromCollab','HTTPService','UniverNetworkPlugin','_getUploadFileURL','getOwnPropertyDescriptor','reject','HttpExport','formatter','offline','_entities','awaitingChangeset','originalMeta','onload','_awaitingChangeset','CipherParams','_onLocalMutation','loginUrlKey','IImageIoService','INTERNAL_ERROR','_ENC_XFORM_MODE','@univerjs/sheets','_decreaseWaiting','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_xformMode','error$','_key','string','[UniverCollaborationClientPlugin]','_clearRetryConnectingTimer','append','toDisposable','salt','_DEC_XFORM_MODE','JOIN','_commandService','CommandType','userID','_map','session.room-full','deepClone','setConfig','_onRemoteRetry','YUUMI_NO_CUBOID_FOR_QUESTION','key','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNRECOGNIZED','_userManagerService','socket\x20open.','retryConnectingInterval','getUnitType','editing\x20status\x20changed\x20to','_univerInstanceService','{fileID}','_reverseMap','updatePermissionObjEvent','sequenceExecute','_socket','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LIVESHARE_OPERATION','_localCacheService','RichTextEditingMutation','updateCollaborator','LICENSE_IMPORT_SIZE_EXCEEDED','RECV','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','decryptBlock','kdf','enc','compute','OTHER_CLIENTS_EDITING','onTransformIME','SessionStatus','confirm','_updateState','mode','_tryReconnect','SNAPSHOT_HAS_BEEN_REMOVED','getSheetId','ivSize','_sessionStatus$','MentionIoHttpService','session.room-not-exists','authzUrl','byteLength','transformUndoRedo','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','NOT_FOUND','_initUnitPermissionChange','location','UNKNOWN_CMD','&to=','CollaborationEntity','transformSelections','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_doReset','updateMember','_invKeySchedule','Hasher','take','INGEST','Error\x20on\x20receiving\x20event','resourceIDs','FETCH_MISSING','BASE64','\x20-\x20','AES','synced','CollaborativeUndoRedoService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CollaborationImageIoService','_localeService','clear','_HTTPService','isPermissionRej','signUrlServerUrl','UserProfileImg','withCredentials','/object/','onlyLocal','stopTime','_sessions','type','_httpService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','sessionStatus$','_sendHeartbeat','UNKNOWN_CODE','_event$','StreamCipher','randomBytes','_removeRoom','FAIL','members','clamp','_members','_scheduleCompleteTimestamp','add','transformChangesets','CHANGESET_ACK','_waitCount','_remoteChangesetQueue','routeKey','_clearCollaborationTimeoutTimer','onCommentUpdate','_getSendChangesetTimeout','ISnapshotServerService','UNISCRIPT_RUN','UNIVER_DOC','Optional','entries','clone','&source=','_onRemoteChangeset','LICENSE_MAX_UNITS_EXCEEDED','getConfig','CompressMutationService','?size=','lib','/universer-api/snapshot','/universer-api/uniscript','WECHAT_HAS_BEEN_BOUND','DependentOn','serializeCombRequest','RevisionService','reconnect','mergeOverrideWithDependencies','CBC','cfg','length','MergeInterceptorFactory','[CollaborationUndoRedoService]','then','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SnapshotServerOverHTTPService','IAuthzIoService','registerHTTPInterceptor','unitId','HELLO','MD5','_candidateSocket','HmacSHA1','UserManagerService','_showConflictNotification','_snapshotService','save\x20fail\x20reason\x20is\x20','finalize','params','image/png','AWAITING','SnapshotService','_onRecvEvent','saveImage','_lockTransition','joinRsp','_unitInfo$','charAt','values','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','DataLoaderService','words','dispose$','_getAPIPrefixPath','map','deleteCollaborator','subscribe','/unit/','\x0aAfter:\x20','initWorkbookPermissionChange','padding','316DWxcxD','SheetCollaborationEntity','LOCAL_CACHE_INTERVAL_KEY','POST','Decryptor','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','LIVESHARE_FETCH_OPERATIONS','_compressMutationService','2225448uvZYps','AwaitingWithPendingState','parse','UNIVER_COLLABORATION_CLIENT_PLUGIN','x-univer-host','BlockCipherMode','CollaborationSessionService','JOIN_ROOM_PERMISSION_DENIED','AWAITING_WITH_PENDING','YUUMI_URL_COL_OUT_OF_RANGE','fetchMissingChangesets','default','forEach','conflict','_transformService','unsubscribe','_onMessage','USERS_LEAVE','abs','responseType','headers','toggleOffline','[CollaborationState]:\x20apply\x20error!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[CollaborationEntity]','_data','Injector','_hash','DEFAULT_WS_SESSION_TICKET_URL','getCollabEntity$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','revision','_startTelemetryCollaborationNewChangeset','_onConnectionFailed','sendChangesetTimeout','FetchingMissState','_transformUndoredo','onMissedChangesetFetched','_changesetSessionId','_checkMissing','[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.','copyFileMeta','baseRev','UNIVER_UNKNOWN','state','_transformRemoteChangesetByIMECache','getActiveSheet','getLocalCacheKey','JOIN_ROOM_FULL','_onUserJoin','getAllMembers','SheetTransformSelectionsService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','init','objectActions','setWaitCount','ConflictState','$super','getCollabEntity','create','appendMutation','JOIN_ROOM_FAILED','find','CollaborationSocketService','onTransformRemoteChangesetByIMECache','JOINING','_createHmacHelper','_telemetryService','LIVESHARE_TERMINATE','close','&assign=','univer-pro.collaboration-client.single-active-unit-service','WordArray','LIVESHARE_NEW_HOST','ILogService','Pkcs7','pad','generateRandomId','getResourcesRequest','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','repeat','_doCryptBlock','LOCAL_CACHE_INTERVAL','submit\x20changeset\x20error!','onRemoteAck','result','COLLAB_SUBMIT_CHANGESET_URL_KEY','textRanges','enableSingleActiveInstanceLock','_fetchMissChangesets','removeMember','set','deserializeToCombResponse','_substituteUndoStack','shareReplay','_change$','_hasher','_sendHeartbeatTimer','\x0aCurrent:\x20','_eventService','_createInitialStateImpl','1147635ajYuim','EMAIL_HAS_BEEN_BOUND','Workbook','_retryConnectingTimer','UNAUTHENTICATED','COMPLETION_FINISHED','name','_oKey','IUniverInstanceService','onStarting','status$','INVALID_ARGUMENT','loadUnit','batchAllowed','requireSession','unit-cache-','auth.needGotoLoginAlert','APPLY_DUPLICATED','getSheetBlock','mixIn','getGlobalObject','roomInfos','_entityInit$','replace','ERROR_IMAGE','SetSelectionsOperation','COLLAB_SUBMIT_CHANGESET_URL','random','?url=','_timeoutTimer','collaboration_new_changeset','isInternalEditorID','_prevBlock','selections','_commentService','b64DecodeUnicode','algo','JSONX','socketService','execute','setCurrentUser','_clearLocalCache','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!'];_0x96fe=function(){return _0xc10c43;};return _0x96fe();}const mt=a[_0x5d9338(0x1d7)]('univer-pro.collaboration-client.network-condition.service');function Ct(_0x2fd6d1){var _0x574d9e=_0x5d9338,_0x27fc53,_0x52f3c5,_0xa2c0a,_0x4f80f1,_0x5779b5;const _0x3b0c37=_0x2fd6d1[_0x574d9e(0x165)],_0x41064b=JSON[_0x574d9e(0x32b)](_0x3b0c37);switch(_0x41064b[_0x574d9e(0x3be)]){case W[_0x574d9e(0x1c7)]:case W[_0x574d9e(0x301)]:{const _0x480e5d=_0x41064b[_0x574d9e(0x3d3)];return{..._0x41064b,'data':_0x480e5d,'cmd':_0x41064b[_0x574d9e(0x3be)]};}case W[_0x574d9e(0x271)]:{const _0x301a28=_0x41064b[_0x574d9e(0x311)];return{..._0x41064b,'data':_0x301a28,'cmd':_0x41064b[_0x574d9e(0x3be)]};}case W[_0x574d9e(0x28f)]:{const _0xad17a0=_0x41064b[_0x574d9e(0x20f)];switch(_0xad17a0[_0x574d9e(0x3ff)]){case I[_0x574d9e(0x226)]['PERMISSION_REJ']:return{..._0x41064b,'data':{..._0xad17a0,'data':(_0x27fc53=_0xad17a0['permissionRejEvent'])==null?void 0x0:_0x27fc53['cs']},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)][_0x574d9e(0x2da)]:return{..._0x41064b,'data':{..._0xad17a0,'data':(_0x52f3c5=_0xad17a0['csAckEvent'])==null?void 0x0:_0x52f3c5['cs']},'cmd':_0x41064b['cmd']};case I[_0x574d9e(0x226)][_0x574d9e(0x402)]:return{..._0x41064b,'data':{..._0xad17a0,'data':(_0xa2c0a=_0xad17a0['newCsEvent'])==null?void 0x0:_0xa2c0a['cs']},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I['CollaborationEvent']['CHANGESET_REJ']:return{..._0x41064b,'data':{..._0xad17a0,'data':(_0x4f80f1=_0xad17a0['csRejEvent'])==null?void 0x0:_0x4f80f1['cs']},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)][_0x574d9e(0x1de)]:return{..._0x41064b,'data':{..._0xad17a0,'data':(_0x5779b5=_0xad17a0[_0x574d9e(0x1e3)])==null?void 0x0:_0x5779b5['cs']},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)][_0x574d9e(0xfb)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x22f)]},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)][_0x574d9e(0x222)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x41f)]},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)]['USERS_LEAVE']:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0['leaveEvent']},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)]['LIVESHARE_NEW_HOST']:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x181)]},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)]['LIVESHARE_FETCH_OPERATIONS']:case I[_0x574d9e(0x226)]['LIVESHARE_OPERATION']:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x24d)]},'cmd':_0x41064b['cmd']};case I[_0x574d9e(0x226)][_0x574d9e(0x36e)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x181)]},'cmd':_0x41064b['cmd']};case I['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x41064b,'data':_0xad17a0,'cmd':_0x41064b['cmd']};case I[_0x574d9e(0x226)][_0x574d9e(0x42f)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x42a)]},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)][_0x574d9e(0x3d8)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x286)]},'cmd':_0x41064b['cmd']};case I[_0x574d9e(0x226)][_0x574d9e(0x12e)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0['shouldCloseConn']},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)][_0x574d9e(0x2e2)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0['uniscriptRunEvent']},'cmd':_0x41064b[_0x574d9e(0x3be)]};default:return _0x41064b;}}default:return _0x41064b;}}function Tt(_0x7921ba){var _0x3e10d5=_0x5d9338;switch(_0x7921ba['cmd']){case W[_0x3e10d5(0x1c7)]:case W[_0x3e10d5(0x301)]:return JSON['stringify']({'cmd':_0x7921ba[_0x3e10d5(0x3be)],'routeKey':_0x7921ba[_0x3e10d5(0x2dd)]});case W['INGEST']:{let _0x5ef231;switch(_0x7921ba['data'][_0x3e10d5(0x3ff)]){case I[_0x3e10d5(0x226)][_0x3e10d5(0xfb)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)][_0x3e10d5(0xfb)],'updateCursorEvent':_0x7921ba[_0x3e10d5(0x165)][_0x3e10d5(0x165)]};break;}case I[_0x3e10d5(0x226)][_0x3e10d5(0x33a)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)][_0x3e10d5(0x33a)],'leaveEvent':_0x7921ba[_0x3e10d5(0x165)]['data']};break;}case I[_0x3e10d5(0x226)][_0x3e10d5(0x222)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)]['USERS_ENTER'],'joinEvent':_0x7921ba[_0x3e10d5(0x165)][_0x3e10d5(0x165)]};break;}case I[_0x3e10d5(0x226)][_0x3e10d5(0x373)]:{_0x5ef231={'eventID':I['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x7921ba[_0x3e10d5(0x165)][_0x3e10d5(0x165)]};break;}case I[_0x3e10d5(0x226)][_0x3e10d5(0x28a)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x7921ba[_0x3e10d5(0x165)][_0x3e10d5(0x165)]};break;}case I[_0x3e10d5(0x226)][_0x3e10d5(0x36e)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)][_0x3e10d5(0x36e)],'liveShareTerminate':_0x7921ba[_0x3e10d5(0x165)][_0x3e10d5(0x165)]};break;}case I[_0x3e10d5(0x226)][_0x3e10d5(0x1ab)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x7921ba['data'][_0x3e10d5(0x165)]};break;}case I['CollaborationEvent'][_0x3e10d5(0x327)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)][_0x3e10d5(0x327)]};break;}default:_0x5ef231={'eventID':_0x7921ba[_0x3e10d5(0x165)][_0x3e10d5(0x3ff)]};}return JSON[_0x3e10d5(0x1bf)]({'cmd':_0x7921ba[_0x3e10d5(0x3be)],'routeKey':_0x7921ba[_0x3e10d5(0x2dd)],'collaMsg':_0x5ef231});}case W[_0x3e10d5(0x271)]:return JSON['stringify']({'cmd':_0x7921ba[_0x3e10d5(0x3be)],'routeKey':_0x7921ba[_0x3e10d5(0x2dd)],'joinReq':_0x7921ba[_0x3e10d5(0x165)]});case W[_0x3e10d5(0x127)]:return JSON[_0x3e10d5(0x1bf)]({'cmd':_0x7921ba[_0x3e10d5(0x3be)],'routeKey':_0x7921ba['routeKey'],'leaveReq':_0x7921ba[_0x3e10d5(0x165)]});default:throw new Error(_0x3e10d5(0x326));}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x511eb3,_0x10e0cc,_0x12ae4f,_0x37a738)=>{var _0x571a1f=_0x5d9338;for(var _0x396e21=_0x37a738>0x1?void 0x0:_0x37a738?qt(_0x10e0cc,_0x12ae4f):_0x10e0cc,_0x4ecfa5=_0x511eb3[_0x571a1f(0x2f8)]-0x1,_0x30c22b;_0x4ecfa5>=0x0;_0x4ecfa5--)(_0x30c22b=_0x511eb3[_0x4ecfa5])&&(_0x396e21=_0x30c22b(_0x396e21)||_0x396e21);return _0x396e21;},_e=(_0x327e44,_0x19f6c7)=>(_0x3089e7,_0x15ee98)=>_0x19f6c7(_0x3089e7,_0x15ee98,_0x327e44);const He=a[_0x5d9338(0x1d7)]('univer-pro.collaboration-client-socket-service');function Jt(_0x2f77df,_0x280480,_0x3b9a17){return _0x2f77df+'/'+_0x280480+'/unit/'+_0x3b9a17+'/new_changes';}exports[_0x5d9338(0x369)]=class extends a[_0x5d9338(0x115)]{constructor(_0x565022,_0x2f6406,_0x2447d3,_0x383c20,_0x427b5c){var _0x45c701=_0x5d9338;super(),this[_0x45c701(0x20c)]=_0x565022,this['_httpService']=_0x2f6406,this[_0x45c701(0x44f)]=_0x2447d3,this[_0x45c701(0x415)]=_0x383c20,this[_0x45c701(0x443)]=_0x427b5c;}['_doCreateSocket'](_0x821c2b){var _0x439c88=_0x5d9338;const _0x21660f=this[_0x439c88(0x20c)]['get'](Y[_0x439c88(0x3ef)]);if(!_0x21660f)throw new Error(_0x439c88(0x3b9));const _0x4cf132=_0x21660f[_0x439c88(0x217)](_0x821c2b);if(!_0x4cf132)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x681688=new a[(_0x439c88(0x15b))](),_0x2fb1bf=new $['Subject']();_0x681688[_0x439c88(0x2d8)](_0x4cf132[_0x439c88(0x1ef)]['subscribe'](_0x4fcd9d=>_0x2fb1bf[_0x439c88(0x1c8)](_0x4fcd9d))),_0x681688[_0x439c88(0x2d8)](a[_0x439c88(0x26e)](()=>_0x2fb1bf['complete']()));const _0x5c639f=new $[(_0x439c88(0x41d))]();_0x681688[_0x439c88(0x2d8)](_0x4cf132[_0x439c88(0x268)][_0x439c88(0x31c)](_0x188114=>_0x5c639f['next'](_0x188114))),_0x681688['add'](a[_0x439c88(0x26e)](()=>_0x5c639f[_0x439c88(0x21a)]()));const _0x33cf2d=new $[(_0x439c88(0x41d))]();_0x681688[_0x439c88(0x2d8)](_0x4cf132[_0x439c88(0x3eb)]['subscribe'](_0x28dad6=>{var _0x579a20=_0x439c88;const _0x45e597=Ct(_0x28dad6);_0x33cf2d[_0x579a20(0x1c8)](_0x45e597);})),_0x681688[_0x439c88(0x2d8)](a[_0x439c88(0x26e)](()=>_0x33cf2d['complete']()));let _0x3ed4fb;const _0xda431d=()=>{var _0x3749f3=_0x439c88;_0x5c639f['next'](new Event('connection\x20error')),_0x2fb1bf['next'](new Event(_0x3749f3(0x158))),_0x3ed4fb['close']();};return _0x3ed4fb={'memberID':'','close$':_0x2fb1bf[_0x439c88(0x203)](),'error$':_0x5c639f[_0x439c88(0x203)](),'open$':_0x4cf132[_0x439c88(0x420)],'message$':_0x33cf2d[_0x439c88(0x203)](),'send':_0x5bf86b=>{var _0xeb3ec0=_0x439c88;if(_0x5bf86b[_0xeb3ec0(0x3be)]===W[_0xeb3ec0(0x2b3)]){if(_0x5bf86b[_0xeb3ec0(0x165)][_0xeb3ec0(0x3ff)]===I['CollaborationEvent'][_0xeb3ec0(0x448)]){this['_submitChangeset'](_0x3ed4fb,_0x5bf86b['data'])['catch'](_0x44295=>{var _0x5d9b0e=_0xeb3ec0;this[_0x5d9b0e(0x415)][_0x5d9b0e(0x45d)](_0x44295),_0xda431d();});return;}if(_0x5bf86b[_0xeb3ec0(0x165)][_0xeb3ec0(0x3ff)]===I[_0xeb3ec0(0x226)]['FETCH_MISSING']){const _0x2d9530=_0x5bf86b[_0xeb3ec0(0x165)];this[_0xeb3ec0(0x383)](_0x2d9530)[_0xeb3ec0(0x2fb)](_0x4805aa=>{var _0x37c465=_0xeb3ec0;_0x33cf2d[_0x37c465(0x1c8)]({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x2d9530[_0x37c465(0x165)][_0x37c465(0x1c0)],'routeType':'','data':{'eventID':I[_0x37c465(0x226)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x4805aa}}});})[_0xeb3ec0(0x3f4)](_0x52fc90=>{var _0x3f5b8b=_0xeb3ec0;this[_0x3f5b8b(0x415)][_0x3f5b8b(0x45d)](_0x52fc90),_0xda431d();});return;}}_0x4cf132[_0xeb3ec0(0x17c)](Tt(_0x5bf86b));},'close':()=>{var _0x4cdb60=_0x439c88;_0x4cf132[_0x4cdb60(0x36f)](),_0x681688[_0x4cdb60(0x109)]();}},_0x3ed4fb;}async['_submitChangeset'](_0x18df31,_0x38d2cb){var _0x273f87=_0x5d9338,_0x40ebb5,_0x124587;const {unitType:_0x4b4c3e,unitID:_0x240c17,changeset:_0x2ce111}=_0x38d2cb[_0x273f87(0x165)],_0xc46410={'unitID':_0x240c17,'memberID':_0x18df31['memberID'],'type':_0x4b4c3e,'changeset':I[_0x273f87(0x447)](_0x2ce111)},_0x4c2688=this['_configService']['getConfig'](pt),_0x4dcf3c=this[_0x273f87(0x44f)]['getConfig'](K),_0x376703=Jt((_0x124587=(_0x40ebb5=_0x4dcf3c==null?void 0x0:_0x4dcf3c[_0x273f87(0x1b6)])!=null?_0x40ebb5:_0x4c2688)!=null?_0x124587:Vt,_0x4b4c3e,_0x240c17);try{await this[_0x273f87(0x2ca)]['post'](_0x376703,{'body':_0xc46410});}catch(_0xedba97){throw this[_0x273f87(0x415)][_0x273f87(0x45d)](_0x273f87(0x18b),_0x273f87(0x37d)),_0xedba97;}}async[_0x5d9338(0x383)](_0x1b346d){var _0x3df014=_0x5d9338;const {unitID:_0x1454c3,from:_0x44a7d9,to:_0x44a8dc,unitType:_0x3de936}=_0x1b346d[_0x3df014(0x165)];return(await this[_0x3df014(0x443)][_0x3df014(0x333)]({'metadata':void 0x0},{'unitID':_0x1454c3,'type':_0x3de936,'from':_0x44a7d9,'to':_0x44a8dc}))[_0x3df014(0xfd)];}},exports[_0x5d9338(0x369)]=zt([_e(0x0,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),_e(0x1,a['Inject'](Y[_0x5d9338(0x251)])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x5d9338(0x374)]),_e(0x4,I[_0x5d9338(0x2e1)])],exports['CollaborationSocketService']);const Xt=_0x5d9338(0x3ad);function Zt(_0x2aede7){var _0x5a8fe5=_0x5d9338;return JSON[_0x5a8fe5(0x1bf)](_0x2aede7)[_0x5a8fe5(0x2f8)];}class $e{constructor(){var _0x58bddf=_0x5d9338;A(this,_0x58bddf(0x1cd),new $[(_0x58bddf(0x41d))]()),A(this,'commentUpdate$',this[_0x58bddf(0x1cd)]['asObservable']());}[_0x5d9338(0x2df)](_0x18d44b){var _0x506706=_0x5d9338;this[_0x506706(0x1cd)][_0x506706(0x1c8)](_0x18d44b);}}var Qt=Object[_0x5d9338(0x254)],ei=(_0x41348c,_0x4c6939,_0xe10bbb,_0x773bc2)=>{for(var _0x318099=_0x773bc2>0x1?void 0x0:_0x773bc2?Qt(_0x4c6939,_0xe10bbb):_0x4c6939,_0x2fef16=_0x41348c['length']-0x1,_0x50697e;_0x2fef16>=0x0;_0x2fef16--)(_0x50697e=_0x41348c[_0x2fef16])&&(_0x318099=_0x50697e(_0x318099)||_0x318099);return _0x318099;},We=(_0x2c213f,_0x37297e)=>(_0x17e0ba,_0x1049d5)=>_0x37297e(_0x17e0ba,_0x1049d5,_0x2c213f);exports[_0x5d9338(0x121)]=class extends a[_0x5d9338(0x115)]{constructor(_0x20061a,_0x52f909){var _0x102022=_0x5d9338;super(),A(this,_0x102022(0x120),new Map()),A(this,'_roomCreated$',new $[(_0x102022(0x41d))]()),(this[_0x102022(0x283)]=_0x20061a,this[_0x102022(0x27e)]=_0x52f909,this[_0x102022(0x240)]($['merge'](this[_0x102022(0x283)][_0x102022(0x123)](a['UniverInstanceType'][_0x102022(0x3f9)])[_0x102022(0x1d1)](V[_0x102022(0x31a)](_0xa500a5=>_0xa500a5[_0x102022(0x1a6)]())),this[_0x102022(0x283)][_0x102022(0x123)](a['UniverInstanceType'][_0x102022(0x2e3)])[_0x102022(0x1d1)](V['map'](_0x10f2b2=>_0x10f2b2[_0x102022(0x1a6)]())),this[_0x102022(0x283)][_0x102022(0x123)](a['UniverInstanceType'][_0x102022(0x113)])[_0x102022(0x1d1)](V[_0x102022(0x31a)](_0x556ae8=>_0x556ae8[_0x102022(0x1a6)]())))[_0x102022(0x31c)](_0x32cb72=>this[_0x102022(0x2d2)](_0x32cb72))));}[_0x5d9338(0x3f3)](_0x343e4e){var _0x189684=_0x5d9338;return this[_0x189684(0x120)][_0x189684(0x3e1)](_0x343e4e)?$['of'](this['_roomMembers']['get'](_0x343e4e)):this[_0x189684(0x1b2)][_0x189684(0x1d1)](V['map'](_0x5bbdc7=>{var _0x3697ec=_0x189684;if(_0x5bbdc7===_0x343e4e)return this[_0x3697ec(0x120)][_0x3697ec(0x43d)](_0x5bbdc7);}));}[_0x5d9338(0x3b7)](_0x58058d){var _0xe96a11=_0x5d9338;this[_0xe96a11(0x27e)]['setCurrentUser'](_0x58058d);}[_0x5d9338(0x163)](){var _0x406417=_0x5d9338;return this[_0x406417(0x27e)][_0x406417(0x163)]();}[_0x5d9338(0x2af)](_0x47641c,_0x1a19f8){var _0x153e95=_0x5d9338;let _0x4c46ec=this[_0x153e95(0x120)]['get'](_0x47641c);_0x4c46ec||(_0x4c46ec=new ti(),this[_0x153e95(0x120)][_0x153e95(0x385)](_0x47641c,_0x4c46ec),this[_0x153e95(0x1b2)][_0x153e95(0x1c8)](_0x47641c)),_0x4c46ec['updateMember'](_0x1a19f8);}[_0x5d9338(0x384)](_0x3f2d69,_0x4afe2f){var _0x1e4f73=_0x5d9338;const _0x1a6836=this[_0x1e4f73(0x120)]['get'](_0x3f2d69);_0x1a6836&&_0x1a6836[_0x1e4f73(0x384)](_0x4afe2f);}[_0x5d9338(0x101)](_0x431710){var _0x5161e7=_0x5d9338;return this[_0x5161e7(0x120)][_0x5161e7(0x43d)](_0x431710);}[_0x5d9338(0x131)](_0x3cfb0f,_0xbdd008){var _0x373e6e=_0x5d9338;const _0x149bb9=this['_roomMembers'][_0x373e6e(0x43d)](_0x3cfb0f);if(_0x149bb9)return _0x149bb9['getMember'](_0xbdd008);}[_0x5d9338(0x2d2)](_0x544d8e){var _0x2ba8ef=_0x5d9338;const _0x428e61=this[_0x2ba8ef(0x120)][_0x2ba8ef(0x43d)](_0x544d8e);_0x428e61&&(_0x428e61[_0x2ba8ef(0x109)](),this[_0x2ba8ef(0x120)][_0x2ba8ef(0x142)](_0x544d8e));}[_0x5d9338(0x109)](){var _0x277cd4=_0x5d9338;this[_0x277cd4(0x120)][_0x277cd4(0x335)](_0x4e1f59=>_0x4e1f59[_0x277cd4(0x109)]()),this[_0x277cd4(0x120)]['clear'](),this[_0x277cd4(0x1b2)]['complete']();}},exports[_0x5d9338(0x121)]=ei([We(0x0,a['IUniverInstanceService']),We(0x1,a[_0x5d9338(0x15d)](a[_0x5d9338(0x305)]))],exports[_0x5d9338(0x121)]);class ti extends a['Disposable']{constructor(){var _0x8f54b3=_0x5d9338;super(...arguments),A(this,_0x8f54b3(0x2d6),new Map()),A(this,_0x8f54b3(0x191),new $[(_0x8f54b3(0x1e2))](this[_0x8f54b3(0x2d6)])),A(this,'members$',this[_0x8f54b3(0x191)]['asObservable']());}['dispose'](){var _0x6202de=_0x5d9338;this['_members'][_0x6202de(0x2bf)]();}['updateMember'](_0x4c5c35){var _0x25b4c2=_0x5d9338;this[_0x25b4c2(0x2d6)][_0x25b4c2(0x385)](_0x4c5c35[_0x25b4c2(0x1d8)],_0x4c5c35),this['_emitMembers']();}[_0x5d9338(0x384)](_0x50750d){var _0x24bab6=_0x5d9338;this[_0x24bab6(0x2d6)][_0x24bab6(0x142)](_0x50750d);}[_0x5d9338(0x131)](_0x1211c8){var _0x5d32f7=_0x5d9338;return this[_0x5d32f7(0x2d6)][_0x5d32f7(0x43d)](_0x1211c8);}[_0x5d9338(0x35c)](){var _0x43d326=_0x5d9338;return Array[_0x43d326(0x21b)](this[_0x43d326(0x2d6)][_0x43d326(0x314)]());}[_0x5d9338(0x223)](){var _0x3d0dc5=_0x5d9338;this['_members$'][_0x3d0dc5(0x1c8)](this[_0x3d0dc5(0x2d6)]);}}var ii=Object[_0x5d9338(0x254)],ni=(_0x419f16,_0x51c621,_0x121a2b,_0x5bc301)=>{for(var _0x2a58da=_0x5bc301>0x1?void 0x0:_0x5bc301?ii(_0x51c621,_0x121a2b):_0x51c621,_0x161801=_0x419f16['length']-0x1,_0x574ea5;_0x161801>=0x0;_0x161801--)(_0x574ea5=_0x419f16[_0x161801])&&(_0x2a58da=_0x574ea5(_0x2a58da)||_0x2a58da);return _0x2a58da;},se=(_0x14bcd0,_0x3dc24e)=>(_0x1d7ff3,_0x301f14)=>_0x3dc24e(_0x1d7ff3,_0x301f14,_0x14bcd0),re=(_0x2dc8d9=>(_0x2dc8d9[_0x2dc8d9[_0x5d9338(0x1ed)]=0x0]=_0x5d9338(0x1ed),_0x2dc8d9[_0x2dc8d9['JOINING']=0x1]=_0x5d9338(0x36b),_0x2dc8d9[_0x2dc8d9[_0x5d9338(0x401)]=0x2]='OFFLINE',_0x2dc8d9[_0x2dc8d9[_0x5d9338(0x187)]=0x3]=_0x5d9338(0x187),_0x2dc8d9))(re||{});const Ge={[oe[_0x5d9338(0x2d3)]]:_0x5d9338(0x42b),[oe[_0x5d9338(0x35a)]]:_0x5d9338(0x276),[oe['JOIN_ROOM_NOT_EXISTS']]:_0x5d9338(0x2a1),[oe[_0x5d9338(0x330)]]:_0x5d9338(0x3c7),[oe[_0x5d9338(0x198)]]:'session.room-cnt-exceeds'};exports[_0x5d9338(0x130)]=class extends a[_0x5d9338(0x429)]{constructor(_0x2468ba,_0x1a1ae4,_0x5a39fb,_0x5021dd,_0x983319,_0x1ad76e,_0x5726d3,_0x3b74f1,_0x3f54ad){var _0x400dd3=_0x5d9338;super(),A(this,_0x400dd3(0x29f),new $['BehaviorSubject'](0x0)),A(this,_0x400dd3(0x2cc),this['_sessionStatus$'][_0x400dd3(0x203)]()),A(this,_0x400dd3(0x2cf),new $[(_0x400dd3(0x41d))]()),A(this,_0x400dd3(0x3e9),this['_event$'][_0x400dd3(0x203)]()),A(this,_0x400dd3(0x288)),A(this,_0x400dd3(0x3f5)),A(this,_0x400dd3(0x16f)),A(this,_0x400dd3(0x199),!0x1),A(this,'_telemetryInfo',null),(this[_0x400dd3(0x3cd)]=_0x2468ba,this[_0x400dd3(0x415)]=_0x5a39fb,this[_0x400dd3(0x44f)]=_0x5021dd,this[_0x400dd3(0x2be)]=_0x983319,this[_0x400dd3(0x41e)]=_0x1ad76e,this[_0x400dd3(0x3b1)]=_0x5726d3,this[_0x400dd3(0x116)]=_0x3b74f1,this['_telemetryService']=_0x3f54ad,this['_shouldReportTelemetry']=!!this[_0x400dd3(0x36d)],_0x1a1ae4[_0x400dd3(0x1d1)]($[_0x400dd3(0x1df)](this[_0x400dd3(0x318)]))['subscribe'](_0x4409d0=>{var _0x361c96=_0x400dd3,_0x51d4f4;typeof _0x4409d0>'u'||(this['_socket']=_0x4409d0,_0x4409d0?(this[_0x361c96(0x1f5)](_0x4409d0),this[_0x361c96(0x3f5)]=_0x4409d0[_0x361c96(0x3eb)]['subscribe'](_0x4503c6=>{var _0x462dd7=_0x361c96;_0x4503c6['routeKey']===this[_0x462dd7(0x3cd)]&&this[_0x462dd7(0x10a)](_0x4503c6);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x361c96(0x29f)][_0x361c96(0x1c8)](0x2),(_0x51d4f4=this[_0x361c96(0x3f5)])==null||_0x51d4f4[_0x361c96(0x338)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x3b5707=_0x5d9338;return this[_0x3b5707(0x29f)][_0x3b5707(0x137)]();}[_0x5d9338(0x18d)](){var _0x3877f8=_0x5d9338,_0x599b72,_0x3392c4;return(_0x3392c4=(_0x599b72=this[_0x3877f8(0x288)])==null?void 0x0:_0x599b72[_0x3877f8(0x1d8)])!=null?_0x3392c4:null;}[_0x5d9338(0x109)](){var _0x40131b=_0x5d9338;super[_0x40131b(0x109)](),this[_0x40131b(0x318)][_0x40131b(0x1c8)](),this[_0x40131b(0x318)][_0x40131b(0x21a)]();}[_0x5d9338(0x36f)](){var _0xeb1cde=_0x5d9338,_0x2e2f04,_0x37c52d;this[_0xeb1cde(0x16b)](),(_0x2e2f04=this['_socket'])==null||_0x2e2f04['send']({'cmd':W[_0xeb1cde(0x127)],'data':{'roomID':this[_0xeb1cde(0x3cd)]}}),(_0x37c52d=this[_0xeb1cde(0x288)])==null||_0x37c52d[_0xeb1cde(0x36f)](),this[_0xeb1cde(0x2cf)][_0xeb1cde(0x21a)](),this[_0xeb1cde(0x29f)][_0xeb1cde(0x21a)](),this[_0xeb1cde(0x109)]();}[_0x5d9338(0x10a)](_0x23fc06){var _0x4471ee=_0x5d9338;_0x23fc06[_0x4471ee(0x3be)]===W['JOIN']?this['_onJoinRoomEvent'](_0x23fc06):_0x23fc06[_0x4471ee(0x3be)]===W[_0x4471ee(0x28f)]&&this['_onRecvEvent'](_0x23fc06);}['_joinRoom'](_0x59cd68){var _0x1dad62=_0x5d9338;this[_0x1dad62(0x29f)]['next'](0x1),_0x59cd68['send']({'cmd':W[_0x1dad62(0x271)],'routeKey':this[_0x1dad62(0x3cd)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1dad62(0x3cd)]}]}});}[_0x5d9338(0x22c)](_0x1e7ea6){var _0x1be327=_0x5d9338,_0x2e6f25;if(_0x1e7ea6['code']in Ge){this['_collaborationUIEventService'][_0x1be327(0x20e)]({'id':Z['JOIN_ROOM_FAILED'],'data':Ge[_0x1e7ea6[_0x1be327(0x151)]]}),this['_sessionStatus$'][_0x1be327(0x1c8)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x55ad1c=(_0x2e6f25=_0x1e7ea6['data'][_0x1be327(0x3a4)][this[_0x1be327(0x3cd)]])==null?void 0x0:_0x2e6f25[_0x1be327(0x2d4)];_0x55ad1c&&_0x55ad1c[_0x1be327(0x335)](_0x297edc=>this[_0x1be327(0x41e)]['updateMember'](this[_0x1be327(0x3cd)],_0x297edc));}[_0x5d9338(0x30e)](_0x47f911){var _0x284de0=_0x5d9338;try{const _0x2cc3d5=_0x47f911[_0x284de0(0x165)];switch(_0x2cc3d5['eventID']){case I[_0x284de0(0x226)][_0x284de0(0x222)]:this[_0x284de0(0x35b)](_0x2cc3d5),this[_0x284de0(0x2cf)][_0x284de0(0x1c8)](_0x2cc3d5);break;case I[_0x284de0(0x226)][_0x284de0(0x33a)]:this[_0x284de0(0x24a)](_0x2cc3d5),this[_0x284de0(0x2cf)][_0x284de0(0x1c8)](_0x2cc3d5);break;case I['CollaborationEvent'][_0x284de0(0x2da)]:case I[_0x284de0(0x226)][_0x284de0(0x1de)]:this[_0x284de0(0x403)](),this[_0x284de0(0x2de)](),this[_0x284de0(0x2cf)][_0x284de0(0x1c8)](_0x2cc3d5);break;case I['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x284de0(0x415)][_0x284de0(0x45d)](_0x284de0(0x308)+JSON[_0x284de0(0x1bf)](_0x2cc3d5)),this[_0x284de0(0x2cf)][_0x284de0(0x1c8)](_0x2cc3d5);break;case I['CollaborationEvent'][_0x284de0(0x42f)]:this[_0x284de0(0x3b1)][_0x284de0(0x2df)](_0x2cc3d5[_0x284de0(0x165)]),this[_0x284de0(0x2cf)][_0x284de0(0x1c8)](_0x2cc3d5);break;default:this['_event$'][_0x284de0(0x1c8)](_0x2cc3d5);}}catch(_0x29b42e){this[_0x284de0(0x415)][_0x284de0(0x45d)](_0x29b42e,_0x47f911);}}[_0x5d9338(0x35b)](_0x2ade72){var _0x3c2386=_0x5d9338;this[_0x3c2386(0x41e)]['updateMember'](this[_0x3c2386(0x3cd)],_0x2ade72[_0x3c2386(0x165)]);}['_onUserLeave'](_0x4964f9){var _0x2ce00c=_0x5d9338;this[_0x2ce00c(0x41e)][_0x2ce00c(0x384)](this[_0x2ce00c(0x3cd)],_0x4964f9[_0x2ce00c(0x165)]['memberID']);}async[_0x5d9338(0x17c)](_0x527ea2,_0x3f8f2a){var _0x3bbdec=_0x5d9338;if(this['sessionStatus']!==0x3||!this[_0x3bbdec(0x288)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x527ea2[_0x3bbdec(0x3ff)]===I['CollaborationEvent'][_0x3bbdec(0x448)]&&(this[_0x3bbdec(0x40a)](),this[_0x3bbdec(0x34a)](_0x527ea2)),this[_0x3bbdec(0x288)][_0x3bbdec(0x17c)]({'cmd':W[_0x3bbdec(0x2b3)],'routeKey':_0x3f8f2a,'routeType':'','data':_0x527ea2});}catch(_0x6fd869){this[_0x3bbdec(0x415)][_0x3bbdec(0x45d)](_0x6fd869);}}[_0x5d9338(0x40a)](){var _0x2ba4a3=_0x5d9338,_0x1955b0;this[_0x2ba4a3(0x16f)]=setTimeout(()=>{var _0x4f028e=_0x2ba4a3;this[_0x4f028e(0x16f)]=null,this[_0x4f028e(0x116)]['emitEvent']({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x1955b0=this['_configService'][_0x2ba4a3(0x2ea)](ke))!=null?_0x1955b0:St);}['_clearCollaborationTimeoutTimer'](){var _0x4924ee=_0x5d9338;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4924ee(0x16f)]),this[_0x4924ee(0x16f)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5dcdc6){var _0x5c4f5d=_0x5d9338;if(!this['_shouldReportTelemetry'])return;const {data:_0x5ea62d}=_0x5dcdc6,{unitID:_0x5de5c7,changeset:_0x53f42a}=_0x5ea62d,{mutations:_0x240b1a,type:_0x172910}=_0x53f42a;this[_0x5c4f5d(0x3e8)]={'unitId':_0x5de5c7,'type':_0x172910,'startTime':performance[_0x5c4f5d(0x3c5)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x240b1a)};}[_0x5d9338(0x403)](){var _0x1493b0=_0x5d9338;if(this[_0x1493b0(0x199)]){if(!this[_0x1493b0(0x3e8)]){this[_0x1493b0(0x415)][_0x1493b0(0x45d)]('[CollaborationSession]',_0x1493b0(0x1e5));return;}this['_telemetryInfo'][_0x1493b0(0x2c7)]=performance[_0x1493b0(0x3c5)](),this['_telemetryInfo']['duration']=this[_0x1493b0(0x3e8)][_0x1493b0(0x2c7)]-this[_0x1493b0(0x3e8)][_0x1493b0(0x230)],this['_telemetryService'][_0x1493b0(0x229)](Xt,this[_0x1493b0(0x3e8)]),this[_0x1493b0(0x3e8)]=null;}}[_0x5d9338(0x16b)](){var _0x524766=_0x5d9338;this[_0x524766(0x3e8)]=null;}},exports['CollaborationSession']=ni([se(0x2,a[_0x5d9338(0x374)]),se(0x3,a[_0x5d9338(0x410)]),se(0x4,a[_0x5d9338(0x15d)](a[_0x5d9338(0x162)])),se(0x5,a[_0x5d9338(0x15d)](exports['MemberService'])),se(0x6,a[_0x5d9338(0x15d)]($e)),se(0x7,a[_0x5d9338(0x15d)](ee)),se(0x8,a['Optional'](Pt[_0x5d9338(0x12f)]))],exports[_0x5d9338(0x130)]);function _0x4a4a(_0x459335,_0x4a4d51){var _0x96fe6c=_0x96fe();return _0x4a4a=function(_0x4a4ac3,_0x554925){_0x4a4ac3=_0x4a4ac3-0xfa;var _0x1a9b7d=_0x96fe6c[_0x4a4ac3];return _0x1a9b7d;},_0x4a4a(_0x459335,_0x4a4d51);}var ri=Object[_0x5d9338(0x254)],si=(_0x57fb68,_0x30d7a1,_0x3a1e33,_0x29172f)=>{var _0x469504=_0x5d9338;for(var _0x33ca81=_0x29172f>0x1?void 0x0:_0x29172f?ri(_0x30d7a1,_0x3a1e33):_0x30d7a1,_0x36d558=_0x57fb68[_0x469504(0x2f8)]-0x1,_0x4e52ea;_0x36d558>=0x0;_0x36d558--)(_0x4e52ea=_0x57fb68[_0x36d558])&&(_0x33ca81=_0x4e52ea(_0x33ca81)||_0x33ca81);return _0x33ca81;},he=(_0x2ffc15,_0x44cbad)=>(_0x14c36b,_0x112ad3)=>_0x44cbad(_0x14c36b,_0x112ad3,_0x2ffc15);exports['CollaborationSessionService']=class extends a[_0x5d9338(0x115)]{constructor(_0x57e2cd,_0x46f7c1,_0x538dde,_0x3679f2,_0x5c3967,_0x3923e9){var _0x5acd9c=_0x5d9338;super(),A(this,_0x5acd9c(0x1cc),new $[(_0x5acd9c(0x1e2))](void 0x0)),A(this,_0x5acd9c(0x3f0),this[_0x5acd9c(0x1cc)][_0x5acd9c(0x203)]()),A(this,'_candidateSocket',null),A(this,'_sessions',new Map()),A(this,'_status$',new $[(_0x5acd9c(0x1e2))](re['IDLE'])),A(this,_0x5acd9c(0x399),this[_0x5acd9c(0x148)][_0x5acd9c(0x203)]()),A(this,'_socketReady',!0x1),A(this,_0x5acd9c(0x392)),A(this,_0x5acd9c(0x246),0x0),A(this,_0x5acd9c(0x38b)),A(this,'_timeoutTimer'),(this[_0x5acd9c(0x20c)]=_0x57e2cd,this[_0x5acd9c(0x415)]=_0x46f7c1,this[_0x5acd9c(0x44f)]=_0x538dde,this[_0x5acd9c(0x174)]=_0x3679f2,this[_0x5acd9c(0x116)]=_0x5c3967,this[_0x5acd9c(0x1cf)]=_0x3923e9,this[_0x5acd9c(0x1ee)]());}get['_socket'](){var _0x5a4446=_0x5d9338;return this[_0x5a4446(0x1cc)]['getValue']();}[_0x5d9338(0x1ee)](){var _0x39d8a9=_0x5d9338;this['_networkConditionService']&&this[_0x39d8a9(0x240)](this[_0x39d8a9(0x1cf)]['online$'][_0x39d8a9(0x31c)](_0xc71ddd=>{var _0x14b10d=_0x39d8a9;_0xc71ddd&&!this['_socket']&&this[_0x14b10d(0x2f4)](),_0xc71ddd||this['_onOffline']();}));}[_0x5d9338(0x109)](){var _0xd07ea8=_0x5d9338;super[_0xd07ea8(0x109)](),this[_0xd07ea8(0x26c)](),this[_0xd07ea8(0x446)](),this[_0xd07ea8(0x1c6)](),this[_0xd07ea8(0x2c8)]['forEach'](_0x351a10=>_0x351a10[_0xd07ea8(0x109)]()),this[_0xd07ea8(0x2c8)]['clear'](),this['_status$'][_0xd07ea8(0x21a)]();}async[_0x5d9338(0x39d)](_0x4826a1){var _0xb03cb6=_0x5d9338;if(this[_0xb03cb6(0x2c8)][_0xb03cb6(0x3e1)](_0x4826a1))return this[_0xb03cb6(0x2c8)]['get'](_0x4826a1);this[_0xb03cb6(0x461)]();const _0x557256=this[_0xb03cb6(0x20c)][_0xb03cb6(0x40d)](exports[_0xb03cb6(0x130)],_0x4826a1,this['_socket$']['asObservable']());return this[_0xb03cb6(0x2c8)][_0xb03cb6(0x385)](_0x4826a1,_0x557256),_0x557256;}[_0x5d9338(0x3bb)](_0x4b84c9){var _0x59cf0a=_0x5d9338,_0x4fd18a;const _0x37d578=this[_0x59cf0a(0x2c8)][_0x59cf0a(0x43d)](_0x4b84c9);_0x37d578&&(this[_0x59cf0a(0x2c8)]['delete'](_0x4b84c9),_0x37d578[_0x59cf0a(0x36f)]()),this['_sessions'][_0x59cf0a(0x3fe)]||(_0x4fd18a=this[_0x59cf0a(0x288)])==null||_0x4fd18a[_0x59cf0a(0x36f)]();}['reconnect'](){var _0x4aaecb=_0x5d9338;this[_0x4aaecb(0x246)]=0x0,this[_0x4aaecb(0x26c)](),this[_0x4aaecb(0x29b)]();}[_0x5d9338(0x26c)](){var _0xd5d092=_0x5d9338;this[_0xd5d092(0x392)]!=null&&(clearTimeout(this[_0xd5d092(0x392)]),this[_0xd5d092(0x392)]=null);}async[_0x5d9338(0x3d9)](){var _0x4a18c5=_0x5d9338,_0x528315,_0x22e0f;const _0xc7dc91=this[_0x4a18c5(0x44f)][_0x4a18c5(0x2ea)](ut),_0x8adbc6=this['_configService']['getConfig'](K),_0x20e296=(_0x22e0f=(_0x528315=_0x8adbc6==null?void 0x0:_0x8adbc6[_0x4a18c5(0x23b)])!=null?_0x528315:_0xc7dc91)!=null?_0x22e0f:dt,_0x4eb9d7=await this[_0x4a18c5(0x174)][_0x4a18c5(0x217)](_0x20e296);return this[_0x4a18c5(0x303)]=_0x4eb9d7,_0x4eb9d7;}async['_tryEnsureSocket'](){var _0x212131=_0x5d9338,_0x1892a5,_0x4f8b3e;try{const _0x2e21e9=(_0x4f8b3e=(_0x1892a5=this['_socket'])!=null?_0x1892a5:this['_candidateSocket'])!=null?_0x4f8b3e:await this['_createSocket']();if(_0x2e21e9){const _0x391521=_0x2e21e9[_0x212131(0x17c)];_0x2e21e9[_0x212131(0x17c)]=_0x180c61=>(this['_rescheduleHeartbeat'](),_0x391521['apply'](_0x2e21e9,[_0x180c61])),_0x2e21e9[_0x212131(0x3eb)][_0x212131(0x31c)](_0x331930=>this[_0x212131(0x339)](_0x2e21e9,_0x331930)),_0x2e21e9['error$']['pipe'](V[_0x212131(0x2b2)](0x1))['subscribe'](_0x2cd101=>this['_logService'][_0x212131(0x45d)]('[CollaborationSessionService]:\x20socket\x20error',_0x2cd101)),_0x2e21e9[_0x212131(0x420)][_0x212131(0x1d1)](V['take'](0x1))[_0x212131(0x31c)](()=>{this['_onConnectionOpen'](_0x2e21e9);}),_0x2e21e9[_0x212131(0x1ef)]['pipe'](V[_0x212131(0x2b2)](0x1))[_0x212131(0x31c)](_0x240762=>{var _0x44ef03=_0x212131;this[_0x44ef03(0x415)][_0x44ef03(0x126)](_0x44ef03(0x201),_0x44ef03(0x45b),_0x240762),this[_0x44ef03(0x34b)]();});}}catch(_0x440fcd){this[_0x212131(0x415)]['error'](_0x440fcd),this[_0x212131(0x34b)]();}}[_0x5d9338(0x239)](_0x3d726c){var _0xd4b944=_0x5d9338;this[_0xd4b944(0x415)]['debug'](_0xd4b944(0x201),_0xd4b944(0x27f)),_0x3d726c[_0xd4b944(0x17c)]({'cmd':W['HELLO']}),this[_0xd4b944(0x1c2)]();}[_0x5d9338(0x19b)](){var _0x3d61e1=_0x5d9338;this[_0x3d61e1(0x20b)]=!0x1,this[_0x3d61e1(0x303)]=null,this['_status$'][_0x3d61e1(0x1c8)](re[_0x3d61e1(0x401)]),this['_socket$'][_0x3d61e1(0x1c8)](null),this[_0x3d61e1(0x446)](),this[_0x3d61e1(0x1c6)]();}[_0x5d9338(0x34b)](){var _0x300e28=_0x5d9338,_0x35db96;this[_0x300e28(0x19b)](),this['_retryCount']<((_0x35db96=this[_0x300e28(0x44f)][_0x300e28(0x2ea)](ft))!=null?_0x35db96:jt)?(this[_0x300e28(0x116)][_0x300e28(0x20e)]({'id':Z['SOCKET_FAILED_RETRY']}),this[_0x300e28(0x29b)]()):this[_0x300e28(0x116)][_0x300e28(0x20e)]({'id':Z['SOCKET_FAILED']});}[_0x5d9338(0x29b)](){var _0x16f99f=_0x5d9338,_0xad3b0a;const _0x36ec41=this['_retryCount'],_0xa97fa9=this['_configService'][_0x16f99f(0x2ea)](K),_0x177041=_0x36ec41===0x0?0x0:((_0xad3b0a=_0xa97fa9==null?void 0x0:_0xa97fa9[_0x16f99f(0x280)])!=null?_0xad3b0a:$t)*0x2**_0x36ec41;this[_0x16f99f(0x392)]=setTimeout(()=>{var _0x1ff379=_0x16f99f;clearTimeout(this[_0x1ff379(0x392)]),this[_0x1ff379(0x392)]=null,this['_tryEnsureSocket']();},_0x177041),this[_0x16f99f(0x246)]+=0x1;}['_onMessage'](_0x5f19c0,_0x105258){var _0x2c1fc1=_0x5d9338;const {cmd:_0x579c27}=_0x105258;_0x579c27===W[_0x2c1fc1(0x301)]&&!this[_0x2c1fc1(0x20b)]&&(_0x5f19c0[_0x2c1fc1(0x1d8)]=_0x105258[_0x2c1fc1(0x165)]['memberID'],this['_socket$'][_0x2c1fc1(0x1c8)](_0x5f19c0),this['_status$'][_0x2c1fc1(0x1c8)](re[_0x2c1fc1(0x187)]),this[_0x2c1fc1(0x20b)]=!0x0,this[_0x2c1fc1(0x303)]=null),_0x579c27===W[_0x2c1fc1(0x1c7)]&&this[_0x2c1fc1(0x446)](),this[_0x2c1fc1(0x1c2)]();}['_rescheduleHeartbeat'](){var _0x206b60=_0x5d9338,_0x1dcc43;this[_0x206b60(0x1c6)](),this[_0x206b60(0x38b)]=setTimeout(()=>this[_0x206b60(0x2cd)](),(_0x1dcc43=this['_configService'][_0x206b60(0x2ea)](vt))!=null?_0x1dcc43:Ht);}[_0x5d9338(0x2cd)](){var _0x1c6f9a=_0x5d9338;this['_socket'][_0x1c6f9a(0x17c)]({'cmd':W[_0x1c6f9a(0x1c7)]}),this['_waitForHeartbeatResponse']();}[_0x5d9338(0x1fb)](){var _0x423e44=_0x5d9338,_0x315454;this[_0x423e44(0x3ac)]=setTimeout(()=>this[_0x423e44(0x34b)](),(_0x315454=this[_0x423e44(0x44f)][_0x423e44(0x2ea)](ke))!=null?_0x315454:St);}[_0x5d9338(0x1c6)](){var _0x24633a=_0x5d9338;this[_0x24633a(0x38b)]!=null&&(clearTimeout(this[_0x24633a(0x38b)]),this[_0x24633a(0x38b)]=null);}[_0x5d9338(0x446)](){var _0x379e92=_0x5d9338;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x379e92(0x3ac)]),this[_0x379e92(0x3ac)]=null);}},exports[_0x5d9338(0x32f)]=si([he(0x0,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),he(0x1,a[_0x5d9338(0x374)]),he(0x2,a[_0x5d9338(0x410)]),he(0x3,He),he(0x4,a[_0x5d9338(0x15d)](ee)),he(0x5,a[_0x5d9338(0x2e4)](mt))],exports[_0x5d9338(0x32f)]);const q=a[_0x5d9338(0x1d7)](_0x5d9338(0x1bb));function oi(_0x3c13e0){var _0x28870e=_0x5d9338;return _0x28870e(0x39e)+_0x3c13e0;}var ai=Object[_0x5d9338(0x254)],ci=(_0x41504f,_0x595148,_0x3aea60,_0x2fc908)=>{for(var _0xae5e32=_0x2fc908>0x1?void 0x0:_0x2fc908?ai(_0x595148,_0x3aea60):_0x595148,_0x43f422=_0x41504f['length']-0x1,_0x1106f7;_0x43f422>=0x0;_0x43f422--)(_0x1106f7=_0x41504f[_0x43f422])&&(_0xae5e32=_0x1106f7(_0xae5e32)||_0xae5e32);return _0xae5e32;},De=(_0x263a75,_0xd72c8a)=>(_0x3bb4e1,_0x29861e)=>_0xd72c8a(_0x3bb4e1,_0x29861e,_0x263a75);function hi(_0x262e6e){const {unitID:_0x458ae3,mutations:_0x8c42ea}=_0x262e6e;return{'unitId':_0x458ae3,'subUnitId':_0x8c42ea[0x0]['params']['subUnitId']};}exports[_0x5d9338(0x35d)]=class{constructor(_0x310c98,_0x9345f2,_0x5a14a2){var _0x460b44=_0x5d9338;this[_0x460b44(0x20c)]=_0x310c98,this[_0x460b44(0x337)]=_0x9345f2,this[_0x460b44(0x18f)]=_0x5a14a2;}[_0x5d9338(0x2ac)](_0x340dbb){var _0x405cdf=_0x5d9338,_0x31f627,_0x5d32c9,_0x195ac8,_0x5c5a1a;const _0xdec04e=this[_0x405cdf(0x20c)][_0x405cdf(0x43d)](X[_0x405cdf(0x195)]),{unitId:_0x5baacc,subUnitId:_0x2dc7d9}=hi(_0x340dbb),_0x531fe9=_0xdec04e==null?void 0x0:_0xdec04e['getWorkbookSelections'](_0x5baacc)[_0x405cdf(0x3c9)](),_0x23fece=(_0x5d32c9=(_0x31f627=this[_0x405cdf(0x18f)]['getUnit'](_0x5baacc))==null?void 0x0:_0x31f627[_0x405cdf(0x358)]())==null?void 0x0:_0x5d32c9[_0x405cdf(0x29d)]();if(_0x531fe9[_0x405cdf(0x2f8)]===0x0||!_0x5baacc||!_0x2dc7d9)return;const _0x40bcc5=[{'id':X[_0x405cdf(0x3a8)]['id'],'params':{'unitId':_0x5baacc,'subUnitId':_0x23fece,'selections':a[_0x405cdf(0x463)][_0x405cdf(0x277)](_0x531fe9)}}],_0x1ae16d=this[_0x405cdf(0x337)][_0x405cdf(0x238)](_0x340dbb,_0x40bcc5);if(!I[_0x405cdf(0x10c)](_0x1ae16d))throw _0x1ae16d['error'];const _0x5696bf=(_0x5c5a1a=(_0x195ac8=_0x1ae16d[_0x405cdf(0x457)][0x0])==null?void 0x0:_0x195ac8[_0x405cdf(0x30a)])==null?void 0x0:_0x5c5a1a[_0x405cdf(0x3b0)];if(Array[_0x405cdf(0x456)](_0x5696bf)&&_0x5696bf[_0x405cdf(0x2f8)]){if(_0x5696bf[_0x405cdf(0x2f8)]===_0x40bcc5[0x0][_0x405cdf(0x30a)][_0x405cdf(0x3b0)]['length']&&_0x5696bf['every']((_0x1911f7,_0x2642ea)=>a['Rectangle']['equals'](_0x1911f7['range'],_0x40bcc5[0x0][_0x405cdf(0x30a)][_0x405cdf(0x3b0)][_0x2642ea][_0x405cdf(0x1c4)])))return;this['_injector'][_0x405cdf(0x43d)](a[_0x405cdf(0x3ea)])[_0x405cdf(0x3ba)](X[_0x405cdf(0x3a8)]['id'],{'unitId':_0x5baacc,'subUnitId':_0x23fece,'selections':_0x5696bf});}}},exports['SheetTransformSelectionsService']=ci([De(0x0,a[_0x5d9338(0x15d)](a['Injector'])),De(0x1,I['ITransformService']),De(0x2,a[_0x5d9338(0x397)])],exports[_0x5d9338(0x35d)]);const de=a[_0x5d9338(0x1d7)](_0x5d9338(0x371));var je=(_0x4d7f6a=>(_0x4d7f6a[_0x4d7f6a[_0x5d9338(0x3d7)]=0x0]=_0x5d9338(0x3d7),_0x4d7f6a[_0x4d7f6a['OTHER_CLIENTS_EDITING']=0x1]=_0x5d9338(0x295),_0x4d7f6a))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ke(_0x5a3be1,_0x2aad56,_0x1a8cfa,_0x210e7d,_0x42cf74){var _0x56dc30=_0x5d9338,_0x50d164,_0x39b609,_0x1db335,_0x15ffc6;const _0x5f02ef=[];for(const _0x4858ab of _0x5a3be1)if(_i['has'](_0x4858ab['id'])){if(_0x5f02ef['length']>0x0)break;_0x5f02ef[_0x56dc30(0x206)](_0x4858ab);break;}else _0x5f02ef['push'](_0x4858ab);const _0x33208=(_0x39b609=(_0x50d164=_0x42cf74['getCurrentUser']())==null?void 0x0:_0x50d164[_0x56dc30(0x274)])!=null?_0x39b609:_0x56dc30(0x154),_0x5f4a95=(_0x15ffc6=(_0x1db335=_0x42cf74[_0x56dc30(0x163)]())==null?void 0x0:_0x1db335['memberID'])!=null?_0x15ffc6:'unknown';return{'changeset':{'unitID':_0x2aad56,'type':I[_0x56dc30(0x1ff)](_0x1a8cfa[_0x56dc30(0x281)](_0x2aad56)),'baseRev':_0x210e7d['getCurrentRevOfUnit'](_0x2aad56),'revision':0x0,'userID':_0x33208,'memberID':_0x5f4a95,'mutations':_0x5f02ef},'pendingMutations':_0x5a3be1[_0x56dc30(0x43e)](_0x5f02ef[_0x56dc30(0x2f8)])};}function li(_0x5c7279,_0x4c0bbf,_0x4c31ea,_0xc85fe7,_0x40f02c){var _0x27c0bd=_0x5d9338,_0x29c61a,_0x46e13f,_0x5d1c9c,_0x524a85;const _0x406859=[_0x5c7279[_0x27c0bd(0x3c6)]((_0x43d6b5,_0x2f2757)=>{var _0x1e44c4=_0x27c0bd,_0x4c699f;const {id:_0x5d97bb}=_0x43d6b5,{id:_0xfde6bb,type:_0x44bbfd}=_0x2f2757,_0xa745c1=(_0x4c699f=_0x43d6b5['params'])!=null?_0x4c699f:{'actions':null},_0x1e9793=_0x2f2757[_0x1e44c4(0x30a)];if(_0x5d97bb&&_0x5d97bb!==_0xfde6bb)throw new Error(_0x1e44c4(0x266)+_0x5d97bb+_0x1e44c4(0x2b8)+_0xfde6bb+'.');return{..._0x43d6b5,'id':_0xfde6bb,'type':_0x44bbfd,'params':{'unitId':_0x1e9793[_0x1e44c4(0x300)],'textRanges':_0x1e9793[_0x1e44c4(0x381)],'actions':a[_0x1e44c4(0x3b4)][_0x1e44c4(0x17b)](_0xa745c1['actions'],_0x1e9793['actions'])}};},{})],_0x233e6b=(_0x46e13f=(_0x29c61a=_0x40f02c[_0x27c0bd(0x163)]())==null?void 0x0:_0x29c61a[_0x27c0bd(0x274)])!=null?_0x46e13f:'unknown',_0x34a719=(_0x524a85=(_0x5d1c9c=_0x40f02c[_0x27c0bd(0x163)]())==null?void 0x0:_0x5d1c9c[_0x27c0bd(0x1d8)])!=null?_0x524a85:_0x27c0bd(0x154);return{'changeset':{'unitID':_0x4c0bbf,'type':I[_0x27c0bd(0x1ff)](_0x4c31ea[_0x27c0bd(0x281)](_0x4c0bbf)),'baseRev':_0xc85fe7['getCurrentRevOfUnit'](_0x4c0bbf),'revision':0x0,'userID':_0x233e6b,'memberID':_0x34a719,'mutations':_0x406859},'pendingMutations':[]};}function bt(_0x1f787c,_0x908918){var _0x2f70f9=_0x5d9338;const _0x4bd2d4=new $[(_0x2f70f9(0x1c5))](0x1);return setTimeout(()=>_0x4bd2d4[_0x2f70f9(0x1c8)](_0x908918),_0x1f787c),_0x4bd2d4[_0x2f70f9(0x203)]()[_0x2f70f9(0x1d1)]($[_0x2f70f9(0x2b2)](0x1));}const ui={'id':X[_0x5d9338(0x3d2)]['id'],'type':a[_0x5d9338(0x273)][_0x5d9338(0x190)],'params':{}};var di=Object[_0x5d9338(0x254)],ae=(_0x20becd,_0x53049e,_0x1b8a2d,_0x12a844)=>{var _0x52aaed=_0x5d9338;for(var _0x126c7b=_0x12a844>0x1?void 0x0:_0x12a844?di(_0x53049e,_0x1b8a2d):_0x53049e,_0x2876f3=_0x20becd[_0x52aaed(0x2f8)]-0x1,_0x5aa2f3;_0x2876f3>=0x0;_0x2876f3--)(_0x5aa2f3=_0x20becd[_0x2876f3])&&(_0x126c7b=_0x5aa2f3(_0x126c7b)||_0x126c7b);return _0x126c7b;},w=(_0x25136c,_0x593c96)=>(_0x5f2ea3,_0x55829c)=>_0x593c96(_0x5f2ea3,_0x55829c,_0x25136c),Be=(_0xe9abb=>(_0xe9abb['NOT_COLLAB']='not_collab',_0xe9abb['SYNCED']=_0x5d9338(0x2ba),_0xe9abb[_0x5d9338(0x167)]='pending',_0xe9abb[_0x5d9338(0x30c)]=_0x5d9338(0x431),_0xe9abb[_0x5d9338(0x331)]='awaiting_with_pending',_0xe9abb[_0x5d9338(0x1bd)]=_0x5d9338(0x12b),_0xe9abb[_0x5d9338(0x194)]=_0x5d9338(0x336),_0xe9abb[_0x5d9338(0x401)]=_0x5d9338(0x258),_0xe9abb))(Be||{});const Rt=0xea60;class ce{constructor(_0x75ef26,_0x2c856a,_0x13b184,_0x5c64df,_0x44818e,_0x540701,_0x252f46,_0x2fcea3,_0x33c871){var _0x43dc50=_0x5d9338;A(this,_0x43dc50(0x25d),null),A(this,'_pendingMutations',[]),(this[_0x43dc50(0x1c0)]=_0x75ef26,this['type']=_0x2c856a,this[_0x43dc50(0x14f)]=_0x44818e,this[_0x43dc50(0x272)]=_0x540701,this[_0x43dc50(0x1a2)]=_0x252f46,this['_revisionService']=_0x2fcea3,this[_0x43dc50(0x28b)]=_0x33c871,this[_0x43dc50(0x25d)]=_0x13b184,this[_0x43dc50(0x14e)]=_0x5c64df);}[_0x5d9338(0x351)](_0x22612a){var _0x3d3526=_0x5d9338;const _0x55a8f8=this[_0x3d3526(0x204)][_0x3d3526(0x177)](this[_0x3d3526(0x1c0)]);return _0x22612a[_0x3d3526(0x349)]>_0x55a8f8+0x1?(this[_0x3d3526(0x14f)][_0x3d3526(0x12a)]({'from':_0x55a8f8,'to':_0x22612a['revision']-0x1}),!0x0):!0x1;}[_0x5d9338(0x34e)](_0x6df9cc){var _0x579e8e=_0x5d9338;this[_0x579e8e(0x1a2)][_0x579e8e(0x2a4)](this[_0x579e8e(0x1c0)],_0x6df9cc);}['_transformSelections'](_0x223d66){var _0x478ac5=_0x5d9338,_0x3ab65a,_0x5744e2;(_0x5744e2=(_0x3ab65a=this[_0x478ac5(0x14f)])[_0x478ac5(0x175)])==null||_0x5744e2[_0x478ac5(0x244)](_0x3ab65a,_0x223d66);}['_transformIMECache'](_0x292ace){var _0x38dd61=_0x5d9338,_0x463b9b,_0x2fed9b;return(_0x2fed9b=(_0x463b9b=this[_0x38dd61(0x14f)])['onTransformIME'])==null?void 0x0:_0x2fed9b[_0x38dd61(0x244)](_0x463b9b,_0x292ace);}[_0x5d9338(0x1b1)](_0xb70ea2){var _0x1e0449=_0x5d9338,_0xb54309,_0x514fc1;return(_0x514fc1=(_0xb54309=this[_0x1e0449(0x14f)])[_0x1e0449(0x144)])==null?void 0x0:_0x514fc1['call'](_0xb54309,_0xb70ea2);}['_transformRemoteChangesetByIMECache'](_0x36055a){var _0x2ffd45=_0x5d9338,_0x193020,_0x4bb3f9,_0x506c6b;return(_0x506c6b=(_0x4bb3f9=(_0x193020=this[_0x2ffd45(0x14f)])[_0x2ffd45(0x36a)])==null?void 0x0:_0x4bb3f9[_0x2ffd45(0x244)](_0x193020,_0x36055a))!=null?_0x506c6b:_0x36055a;}['_transformRemoteChangesetByStateCache'](_0x421eb8){var _0x1a4b55=_0x5d9338,_0x2111cc,_0x236552,_0x199a37;return(_0x199a37=(_0x236552=(_0x2111cc=this[_0x1a4b55(0x14f)])[_0x1a4b55(0x41b)])==null?void 0x0:_0x236552[_0x1a4b55(0x244)](_0x2111cc,_0x421eb8))!=null?_0x199a37:_0x421eb8;}[_0x5d9338(0x1b4)](_0x2c525a){var _0x1e1138=_0x5d9338,_0x1bf7b7,_0x43c341;if(this[_0x1e1138(0x2c9)]===J[_0x1e1138(0x2e3)]){const {unitID:_0x435257,mutations:_0x3b0129,memberID:_0x295322}=_0x2c525a,_0x1eb820=_0x3b0129[0x0][_0x1e1138(0x30a)][_0x1e1138(0x381)];Array[_0x1e1138(0x456)](_0x1eb820)&&_0x1eb820[_0x1e1138(0x2f8)]>0x0&&((_0x43c341=(_0x1bf7b7=this[_0x1e1138(0x14f)])['onSyncEditingCollabCursor'])==null||_0x43c341[_0x1e1138(0x244)](_0x1bf7b7,{'unitID':_0x435257,'memberID':_0x295322,'textRanges':_0x1eb820}));}}['_updateLocalCache'](){var _0x3bb16b=_0x5d9338,_0x50d316;(_0x50d316=this[_0x3bb16b(0x28b)])==null||_0x50d316[_0x3bb16b(0x114)](this['unitID'],this[_0x3bb16b(0x2c9)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x5d9338(0x3cc)](){var _0x10ab76=_0x5d9338;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x10ab76(0x1c0)]);}[_0x5d9338(0x133)](){var _0x5cc3cc=_0x5d9338;this[_0x5cc3cc(0x204)][_0x5cc3cc(0x24b)](this['unitID']);}[_0x5d9338(0x3c0)](_0xae46c7){var _0xf055bc=_0x5d9338,_0xc506f2;let _0x28b006=this[_0xf055bc(0x357)](_0xae46c7);_0x28b006=this[_0xf055bc(0x1ad)](_0x28b006);const _0x20e82f=a[_0xf055bc(0x287)](_0x28b006[_0xf055bc(0x3d6)],this['_commandService'],{'fromCollab':!0x0});if(!_0x20e82f[_0xf055bc(0x37f)])throw _0x20e82f[_0xf055bc(0x45d)]instanceof Error?_0x20e82f[_0xf055bc(0x45d)]:new Error((_0xc506f2=_0x20e82f['error'])!=null?_0xc506f2:_0xf055bc(0x33f));this['_transformIMECache'](_0x28b006),this[_0xf055bc(0x1b1)](_0x28b006),this[_0xf055bc(0x34e)](_0xae46c7),this[_0xf055bc(0x1dd)](_0x28b006),this['_syncEditingCollabCursor'](_0x28b006),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends ce{constructor(_0x53feec,_0x59b398,_0x213dae,_0x2dafce,_0x4d7893,_0x2b7a01,_0xaa20b6,_0x2c9c1c,_0x3887fa,_0x54438e){var _0x56b26a=_0x5d9338;super(_0x53feec,_0x59b398,null,[],_0x213dae,_0xaa20b6,_0x2b7a01,_0x2dafce,_0x54438e),A(this,_0x56b26a(0x3e0),_0x56b26a(0x2ba)),(this[_0x56b26a(0x20c)]=_0x4d7893,this[_0x56b26a(0x415)]=_0x2c9c1c,this[_0x56b26a(0x337)]=_0x3887fa,this[_0x56b26a(0x1ca)]=_0x54438e);}[_0x5d9338(0x366)](_0x1b5554){var _0x10d143=_0x5d9338;const _0x25c695=this[_0x10d143(0x20c)][_0x10d143(0x40d)](exports[_0x10d143(0x227)],this[_0x10d143(0x1c0)],this[_0x10d143(0x2c9)],[_0x1b5554],this['_handler']);return _0x25c695[_0x10d143(0x3ca)](),_0x25c695['_updateLocalCache'](),_0x25c695;}[_0x5d9338(0x1a0)](_0x6d537b){var _0x3e1652=_0x5d9338;if(this[_0x3e1652(0x351)](_0x6d537b))return this[_0x3e1652(0x20c)][_0x3e1652(0x40d)](exports[_0x3e1652(0x34d)],this['unitID'],this[_0x3e1652(0x2c9)],null,[],null,[_0x6d537b],this[_0x3e1652(0x14f)]);try{const _0x5f3fcb=this[_0x3e1652(0x337)][_0x3e1652(0x238)](_0x6d537b,[ui]);if(I[_0x3e1652(0x10c)](_0x5f3fcb)){const {c1Prime:_0x38bd9c}=_0x5f3fcb;return this[_0x3e1652(0x3c0)](_0x38bd9c),this;}throw _0x5f3fcb[_0x3e1652(0x45d)];}catch(_0x33054a){return this[_0x3e1652(0x415)][_0x3e1652(0x45d)](_0x33054a),this[_0x3e1652(0x1e0)](!0x1);}}[_0x5d9338(0x1e0)](_0x2b894a){var _0x235e1d=_0x5d9338;return this['_injector'][_0x235e1d(0x40d)](exports[_0x235e1d(0x362)],this[_0x235e1d(0x1c0)],this['type'],null,[],this['_handler'],_0x2b894a);}[_0x5d9338(0x37e)](){var _0x12fc25=_0x5d9338;throw new Error(_0x12fc25(0x3c1));}[_0x5d9338(0x13e)](){var _0x2ccfef=_0x5d9338;throw new Error(_0x2ccfef(0x1d5));}['onRemoteRetry'](){return this;}[_0x5d9338(0x33e)](){var _0x37354e=_0x5d9338;return this[_0x37354e(0x20c)][_0x37354e(0x40d)](exports[_0x37354e(0x411)],this[_0x37354e(0x1c0)],this[_0x37354e(0x2c9)],null,[],this[_0x37354e(0x14f)]);}[_0x5d9338(0x1a3)](){return this;}[_0x5d9338(0x247)](){var _0x22d762=_0x5d9338;throw new Error(_0x22d762(0x1ae));}[_0x5d9338(0x3bf)](){var _0x582181=_0x5d9338;const _0x14bbc1=this[_0x582181(0x204)]['getCurrentRevOfUnit'](this[_0x582181(0x1c0)]);return this['_handler'][_0x582181(0x12a)]({'from':_0x14bbc1,'to':0x0}),this[_0x582181(0x20c)][_0x582181(0x40d)](exports[_0x582181(0x34d)],this[_0x582181(0x1c0)],this[_0x582181(0x2c9)],null,[],null,[],this[_0x582181(0x14f)]);}},exports[_0x5d9338(0x215)]=ae([w(0x3,a['Inject'](I[_0x5d9338(0x2f3)])),w(0x4,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x5d9338(0x3ea)]),w(0x7,a[_0x5d9338(0x374)]),w(0x8,I[_0x5d9338(0x3d1)]),w(0x9,a[_0x5d9338(0x2e4)](q))],exports[_0x5d9338(0x215)]),exports[_0x5d9338(0x227)]=class extends ce{constructor(_0x3b69e2,_0x2c7e74,_0xcb6d70,_0x27f4ae,_0x4b88d8,_0x4d571b,_0x2cbc78,_0x5c98cc,_0x2d8666,_0x7e8ec8,_0x384ec0,_0x36f732,_0x2476fd,_0x4405b3){var _0x616171=_0x5d9338;super(_0x3b69e2,_0x2c7e74,null,_0xcb6d70,_0x27f4ae,_0x2d8666,_0x2476fd,_0x4d571b,_0x4405b3),A(this,_0x616171(0x3e0),_0x616171(0x460)),A(this,_0x616171(0x2d7),null),A(this,'_sendingTimer',null),(this['_injector']=_0x4b88d8,this[_0x616171(0x41e)]=_0x2cbc78,this[_0x616171(0x415)]=_0x5c98cc,this['_configService']=_0x7e8ec8,this[_0x616171(0x337)]=_0x384ec0,this['_univerInstanceService']=_0x36f732);}[_0x5d9338(0x366)](_0x5ddcd5){var _0x5b3e01=_0x5d9338;return this[_0x5b3e01(0x14e)][_0x5b3e01(0x206)](_0x5ddcd5),this[_0x5b3e01(0x139)](),this;}[_0x5d9338(0x1a0)](_0x22920f){var _0x1cbd16=_0x5d9338;if(this[_0x1cbd16(0x351)](_0x22920f))return this[_0x1cbd16(0x3c2)](),this[_0x1cbd16(0x20c)]['createInstance'](exports['FetchingMissState'],this[_0x1cbd16(0x1c0)],this['type'],null,this['_pendingMutations'],null,[_0x22920f],this[_0x1cbd16(0x14f)]);try{const _0x4a602f=this['_transformService']['transformMutationsWithChangeset'](_0x22920f,this[_0x1cbd16(0x14e)]);if(I[_0x1cbd16(0x10c)](_0x4a602f)){const {c1Prime:_0x42dbb7,m2Prime:_0x1cfea5}=_0x4a602f;this[_0x1cbd16(0x3c0)](_0x42dbb7);const _0x586e9d=this[_0x1cbd16(0x20c)][_0x1cbd16(0x40d)](exports['PendingState'],this[_0x1cbd16(0x1c0)],this[_0x1cbd16(0x2c9)],_0x1cfea5,this['_handler']);this['_clearScheduledTask']();const _0x2878bc=new Date()[_0x1cbd16(0xfa)](),_0x29e0f3=this[_0x1cbd16(0x2d7)]?Math[_0x1cbd16(0x430)](this[_0x1cbd16(0x2d7)]-_0x2878bc,0x0):this[_0x1cbd16(0x2e0)]();return _0x586e9d[_0x1cbd16(0x3ca)](_0x29e0f3),_0x586e9d;}throw _0x4a602f['error'];}catch(_0x1e7def){return this[_0x1cbd16(0x415)][_0x1cbd16(0x45d)](_0x1e7def),this[_0x1cbd16(0x1e0)](!0x1);}}[_0x5d9338(0x37e)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0xa885a=_0x5d9338;throw new Error(_0xa885a(0x157));}[_0x5d9338(0x44b)](){return this;}[_0x5d9338(0x33e)](){var _0x201a84=_0x5d9338;return this[_0x201a84(0x3c2)](),this[_0x201a84(0x20c)][_0x201a84(0x40d)](exports[_0x201a84(0x411)],this[_0x201a84(0x1c0)],this[_0x201a84(0x2c9)],null,this[_0x201a84(0x14e)],this[_0x201a84(0x14f)]);}['toggleOnline'](){return this;}[_0x5d9338(0x3ca)](_0x114a8d){var _0x31731c=_0x5d9338;const _0x33163=_0x114a8d!=null?_0x114a8d:this[_0x31731c(0x2e0)]();this[_0x31731c(0x2d7)]=new Date()[_0x31731c(0xfa)]()+_0x33163,this[_0x31731c(0x43f)]=setTimeout(()=>{var _0xea621=_0x31731c;this[_0xea621(0x3c2)]();let _0xff7abc=null;switch(this[_0xea621(0x2c9)]){case J[_0xea621(0x3f9)]:{_0xff7abc=Ke(this['_pendingMutations'],this['unitID'],this[_0xea621(0x283)],this[_0xea621(0x204)],this[_0xea621(0x41e)]);break;}case J[_0xea621(0x2e3)]:{this[_0xea621(0x14e)][_0xea621(0x1f4)](_0x5ce7cc=>_0x5ce7cc['id']===ht[_0xea621(0x28c)]['id'])?_0xff7abc=li(this['_pendingMutations'],this['unitID'],this[_0xea621(0x283)],this[_0xea621(0x204)],this[_0xea621(0x41e)]):_0xff7abc=Ke(this[_0xea621(0x14e)],this[_0xea621(0x1c0)],this[_0xea621(0x283)],this[_0xea621(0x204)],this[_0xea621(0x41e)]);break;}default:throw new Error(_0xea621(0x19e)+this[_0xea621(0x2c9)]+_0xea621(0x221));}const {changeset:_0x2af01f,pendingMutations:_0x151a93}=_0xff7abc;this[_0xea621(0x14f)]['onSendChangeset'](_0x2af01f);const _0xa1cf4f=_0x151a93[_0xea621(0x2f8)]?this[_0xea621(0x20c)][_0xea621(0x40d)](exports[_0xea621(0x32a)],this[_0xea621(0x1c0)],this[_0xea621(0x2c9)],_0x2af01f,_0x151a93,this[_0xea621(0x14f)],void 0x0):this['_injector'][_0xea621(0x40d)](exports[_0xea621(0x107)],this[_0xea621(0x1c0)],this[_0xea621(0x2c9)],_0x2af01f,this[_0xea621(0x14f)]);_0xa1cf4f[_0xea621(0x139)](),this['_handler'][_0xea621(0x439)](this,_0xa1cf4f);},_0x33163);}[_0x5d9338(0x2e0)](){var _0xf7de7b=_0x5d9338,_0x15cc4b;const _0x2cad1e=this[_0xf7de7b(0x44f)][_0xf7de7b(0x2ea)](K);return(_0x15cc4b=_0x2cad1e==null?void 0x0:_0x2cad1e[_0xf7de7b(0x34c)])!=null?_0x15cc4b:xt;}[_0x5d9338(0x247)](){var _0x47ca8b=_0x5d9338;throw new Error(_0x47ca8b(0x132));}[_0x5d9338(0x3c2)](){var _0x3c9b72=_0x5d9338;this[_0x3c9b72(0x43f)]!=null&&(clearTimeout(this[_0x3c9b72(0x43f)]),this['_sendingTimer']=null);}[_0x5d9338(0x1e0)](_0x4a6625){var _0x28953a=_0x5d9338;return this[_0x28953a(0x3c2)](),this[_0x28953a(0x20c)][_0x28953a(0x40d)](exports[_0x28953a(0x362)],this[_0x28953a(0x1c0)],this['type'],null,this[_0x28953a(0x14e)],this['_handler'],_0x4a6625);}},exports['PendingState']=ae([w(0x4,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),w(0x5,a[_0x5d9338(0x15d)](I[_0x5d9338(0x2f3)])),w(0x6,a[_0x5d9338(0x15d)](exports[_0x5d9338(0x121)])),w(0x7,a['ILogService']),w(0x8,a[_0x5d9338(0x3ea)]),w(0x9,a[_0x5d9338(0x410)]),w(0xa,I[_0x5d9338(0x3d1)]),w(0xb,a[_0x5d9338(0x397)]),w(0xc,a[_0x5d9338(0x193)]),w(0xd,a['Optional'](q))],exports[_0x5d9338(0x227)]),exports[_0x5d9338(0x107)]=class extends ce{constructor(_0x5995f6,_0x3e81d7,_0x3a7c17,_0xcbf0bc,_0x153bbd,_0x55f7e,_0x6f2698,_0x470ca8,_0x5e3c64,_0xcd665e,_0x3831ba){var _0x35d572=_0x5d9338;super(_0x5995f6,_0x3e81d7,_0x3a7c17,[],_0xcbf0bc,_0x6f2698,_0xcd665e,_0x55f7e,_0x3831ba),A(this,_0x35d572(0x3e0),_0x35d572(0x431)),A(this,_0x35d572(0x234),0x0),A(this,'_resendTimer'),A(this,_0x35d572(0x1a7)),(this['_injector']=_0x153bbd,this[_0x35d572(0x415)]=_0x470ca8,this[_0x35d572(0x337)]=_0x5e3c64);}['appendMutation'](_0x203697){var _0x38d154=_0x5d9338;this[_0x38d154(0x3c2)]();const _0x24e97f=this[_0x38d154(0x20c)][_0x38d154(0x40d)](exports[_0x38d154(0x32a)],this[_0x38d154(0x1c0)],this['type'],this['_awaitingChangeset'],[_0x203697],this[_0x38d154(0x14f)],this['_resendTimer']);return _0x24e97f['_updateLocalCache'](),_0x24e97f;}[_0x5d9338(0x1a0)](_0x6c997b){var _0x40c3e3=_0x5d9338;if(this['_checkMissing'](_0x6c997b))return this[_0x40c3e3(0x3c2)](),this[_0x40c3e3(0x20c)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x40c3e3(0x2c9)],this[_0x40c3e3(0x25d)],[],null,[_0x6c997b],this['_handler']);try{const _0x269197=this[_0x40c3e3(0x337)][_0x40c3e3(0x2d9)]([_0x6c997b],[this[_0x40c3e3(0x25d)]],!0x1);if(I[_0x40c3e3(0x168)](_0x269197)){const {c1Prime:_0xebaa63,c2Prime:_0x190b7e}=_0x269197;this[_0x40c3e3(0x3c0)](_0xebaa63[0x0]),_0x190b7e[0x0][_0x40c3e3(0x354)]=this[_0x40c3e3(0x3cc)](),this[_0x40c3e3(0x3c2)]();const _0x2faab3=this[_0x40c3e3(0x20c)][_0x40c3e3(0x40d)](exports[_0x40c3e3(0x107)],this['unitID'],this[_0x40c3e3(0x2c9)],_0x190b7e[0x0],this['_handler']);return _0x2faab3['_updateLocalCache'](),_0x2faab3;}return this[_0x40c3e3(0x1e0)](!0x1);}catch(_0x102e86){return this[_0x40c3e3(0x415)][_0x40c3e3(0x45d)](_0x102e86),this[_0x40c3e3(0x1e0)](!0x1);}}[_0x5d9338(0x37e)](_0x33932f){var _0x179ec6=_0x5d9338;this[_0x179ec6(0x3c2)]();const _0x43b945=this[_0x179ec6(0x204)]['getCurrentRevOfUnit'](this[_0x179ec6(0x1c0)]);if(_0x33932f['revision']<_0x43b945-0x1)return this;if(this[_0x179ec6(0x351)](_0x33932f))return this[_0x179ec6(0x20c)][_0x179ec6(0x40d)](exports[_0x179ec6(0x34d)],this['unitID'],this[_0x179ec6(0x2c9)],null,[],this[_0x179ec6(0x25d)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x11c51c=this[_0x179ec6(0x20c)][_0x179ec6(0x40d)](exports[_0x179ec6(0x215)],this[_0x179ec6(0x1c0)],this['type'],this[_0x179ec6(0x14f)]);return _0x11c51c['_updateLocalCache'](),_0x11c51c;}[_0x5d9338(0x13e)](_0x14d614){var _0x1f85e6=_0x5d9338;return this[_0x1f85e6(0x1e0)](!!(_0x14d614!=null&&_0x14d614[_0x1f85e6(0x2c1)]));}[_0x5d9338(0x44b)](_0x35d943){var _0x155e5b=_0x5d9338;return this[_0x155e5b(0x234)]>Rt?this[_0x155e5b(0x33e)]():(this[_0x155e5b(0x3df)]=bt(this[_0x155e5b(0x234)],{'timeout':this[_0x155e5b(0x234)],'reqId':_0x35d943['reqId']}),this[_0x155e5b(0x1a7)]=this['_resendTimer'][_0x155e5b(0x31c)](({reqId:_0x4c472a,timeout:_0xbac8cb})=>{var _0x151c38=_0x155e5b;this[_0x151c38(0x241)](_0x4c472a,_0xbac8cb);}),this);}[_0x5d9338(0x33e)](){var _0x5288b6=_0x5d9338;return this[_0x5288b6(0x3c2)](),this[_0x5288b6(0x20c)]['createInstance'](exports[_0x5288b6(0x411)],this['unitID'],this[_0x5288b6(0x2c9)],this['_awaitingChangeset'],[],this[_0x5288b6(0x14f)]);}[_0x5d9338(0x1a3)](){return this;}[_0x5d9338(0x247)](){var _0xdf1a31=_0x5d9338;this[_0xdf1a31(0x14f)][_0xdf1a31(0x1a4)](this['_awaitingChangeset']);}[_0x5d9338(0x1e0)](_0xaaf8a0){var _0x10007b=_0x5d9338;return this['_clearScheduledTask'](),this['_injector'][_0x10007b(0x40d)](exports['ConflictState'],this[_0x10007b(0x1c0)],this[_0x10007b(0x2c9)],this[_0x10007b(0x25d)],[],this[_0x10007b(0x14f)],_0xaaf8a0);}[_0x5d9338(0x241)](_0x993659,_0x5390c3){var _0x2063ea=_0x5d9338,_0x148adb;_0x993659===((_0x148adb=this[_0x2063ea(0x25d)])==null?void 0x0:_0x148adb['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x5390c3===0x0?0x3e8:_0x5390c3*0x2);}[_0x5d9338(0x3c2)](){var _0x274de3=_0x5d9338,_0x4be185;(_0x4be185=this[_0x274de3(0x1a7)])==null||_0x4be185['unsubscribe'](),this['_resendTimeout']=0x0;}},exports[_0x5d9338(0x107)]=ae([w(0x4,a['Inject'](a[_0x5d9338(0x343)])),w(0x5,a[_0x5d9338(0x15d)](I[_0x5d9338(0x2f3)])),w(0x6,a[_0x5d9338(0x3ea)]),w(0x7,a[_0x5d9338(0x374)]),w(0x8,I['ITransformService']),w(0x9,a[_0x5d9338(0x193)]),w(0xa,a[_0x5d9338(0x2e4)](q))],exports[_0x5d9338(0x107)]),exports['AwaitingWithPendingState']=class extends ce{constructor(_0x4082de,_0x5cfded,_0x14b81a,_0x1dca78,_0x358246,_0x30ca50,_0x5ec50a,_0x230f01,_0xe05ff8,_0xe16e8f,_0x23de11,_0x2e9c8e,_0x4ee8cd){var _0x481f85=_0x5d9338;super(_0x4082de,_0x5cfded,_0x14b81a,_0x1dca78,_0x358246,_0xe05ff8,_0x2e9c8e,_0x230f01,_0x4ee8cd),A(this,_0x481f85(0x3e0),'awaiting_with_pending'),A(this,_0x481f85(0x234),0x0),A(this,_0x481f85(0x3df)),A(this,_0x481f85(0x1a7)),(this[_0x481f85(0x20c)]=_0x5ec50a,this[_0x481f85(0x415)]=_0xe16e8f,this[_0x481f85(0x337)]=_0x23de11,this[_0x481f85(0x1ca)]=_0x4ee8cd,_0x30ca50&&(this[_0x481f85(0x3df)]=_0x30ca50,this[_0x481f85(0x1a7)]=this['_resendTimer']['subscribe'](({reqId:_0x3c4dbb,timeout:_0x5bf8})=>{var _0x1fa99f=_0x481f85;this[_0x1fa99f(0x241)](_0x3c4dbb,_0x5bf8);})));}[_0x5d9338(0x366)](_0x1279ff){var _0x21eb77=_0x5d9338;return this[_0x21eb77(0x14e)][_0x21eb77(0x206)](_0x1279ff),this;}[_0x5d9338(0x1a0)](_0xf7a78b){var _0x1577bc=_0x5d9338;if(this['_checkMissing'](_0xf7a78b))return this['_clearScheduledTask'](),this[_0x1577bc(0x20c)][_0x1577bc(0x40d)](exports[_0x1577bc(0x34d)],this['unitID'],this[_0x1577bc(0x2c9)],this[_0x1577bc(0x25d)],this['_pendingMutations'],null,[_0xf7a78b],this['_handler']);try{const _0x173abf=this[_0x1577bc(0x337)][_0x1577bc(0x2d9)]([_0xf7a78b],[this[_0x1577bc(0x25d)]],!0x1);if(I[_0x1577bc(0x168)](_0x173abf)){const {c1Prime:_0x4fc2b6,c2Prime:_0x5c0f59}=_0x173abf,_0x3b1b8a=this[_0x1577bc(0x337)][_0x1577bc(0x238)](_0x4fc2b6[0x0],this[_0x1577bc(0x14e)]);if(I[_0x1577bc(0x10c)](_0x3b1b8a)){const {c1Prime:_0x199cf6,m2Prime:_0x1d29bf}=_0x3b1b8a;return this[_0x1577bc(0x3c0)](_0x199cf6),_0x5c0f59[0x0][_0x1577bc(0x354)]=this[_0x1577bc(0x3cc)](),this[_0x1577bc(0x3c2)](),this[_0x1577bc(0x20c)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x1577bc(0x1c0)],this[_0x1577bc(0x2c9)],_0x5c0f59[0x0],_0x1d29bf,this[_0x1577bc(0x14f)],void 0x0);}throw _0x3b1b8a[_0x1577bc(0x45d)];}throw _0x173abf[_0x1577bc(0x45d)];}catch(_0x2aa05d){return this['_logService'][_0x1577bc(0x45d)](_0x2aa05d),this[_0x1577bc(0x1e0)](!0x1);}}[_0x5d9338(0x37e)](_0x26f7f1){var _0x3497c0=_0x5d9338;if(this[_0x3497c0(0x3c2)](),this[_0x3497c0(0x351)](_0x26f7f1))return this[_0x3497c0(0x20c)][_0x3497c0(0x40d)](exports[_0x3497c0(0x34d)],this['unitID'],this[_0x3497c0(0x2c9)],null,this[_0x3497c0(0x14e)],this['_awaitingChangeset'],[],this[_0x3497c0(0x14f)]);this['_incrementRevisionNumber']();const _0x4a9a3e=this[_0x3497c0(0x20c)][_0x3497c0(0x40d)](exports[_0x3497c0(0x227)],this[_0x3497c0(0x1c0)],this[_0x3497c0(0x2c9)],this['_pendingMutations'],this['_handler']);return _0x4a9a3e[_0x3497c0(0x3ca)](),_0x4a9a3e[_0x3497c0(0x139)](),_0x4a9a3e;}[_0x5d9338(0x13e)](_0x3548f1){var _0x2146f5=_0x5d9338;return this[_0x2146f5(0x1e0)](!!(_0x3548f1!=null&&_0x3548f1[_0x2146f5(0x2c1)]));}[_0x5d9338(0x44b)](_0x5a371d){var _0x2c5e20=_0x5d9338;return this[_0x2c5e20(0x234)]>Rt?this[_0x2c5e20(0x33e)]():(this[_0x2c5e20(0x3df)]=bt(this['_resendTimeout'],{'timeout':this[_0x2c5e20(0x234)],'reqId':_0x5a371d[_0x2c5e20(0x3f7)]}),this['_sender']=this['_resendTimer'][_0x2c5e20(0x31c)](({reqId:_0x3ec5c0,timeout:_0x5d7ff9})=>{var _0x374465=_0x2c5e20;this[_0x374465(0x241)](_0x3ec5c0,_0x5d7ff9);}),this);}[_0x5d9338(0x33e)](){var _0x5cdc1f=_0x5d9338;return this[_0x5cdc1f(0x3c2)](),this[_0x5cdc1f(0x20c)]['createInstance'](exports[_0x5cdc1f(0x411)],this['unitID'],this['type'],this[_0x5cdc1f(0x25d)],this[_0x5cdc1f(0x14e)],this['_handler']);}[_0x5d9338(0x1a3)](){return this;}[_0x5d9338(0x247)](){var _0x5687d6=_0x5d9338;this[_0x5687d6(0x14f)]['onSendChangeset'](this[_0x5687d6(0x25d)]);}[_0x5d9338(0x1e0)](_0x39d6ed){var _0x1d8920=_0x5d9338;return this[_0x1d8920(0x3c2)](),this[_0x1d8920(0x20c)]['createInstance'](exports[_0x1d8920(0x362)],this[_0x1d8920(0x1c0)],this[_0x1d8920(0x2c9)],null,this[_0x1d8920(0x14e)],this[_0x1d8920(0x14f)],_0x39d6ed);}[_0x5d9338(0x241)](_0x2b6a18,_0x39ab28){var _0x2ab2d0=_0x5d9338,_0xf231e6;_0x2b6a18===((_0xf231e6=this[_0x2ab2d0(0x25d)])==null?void 0x0:_0xf231e6[_0x2ab2d0(0x3f7)])&&(this[_0x2ab2d0(0x247)](),this[_0x2ab2d0(0x234)]=_0x39ab28===0x0?0x3e8:_0x39ab28*0x2);}['_clearScheduledTask'](){var _0x542371=_0x5d9338,_0x50134b;(_0x50134b=this[_0x542371(0x1a7)])==null||_0x50134b[_0x542371(0x338)](),this[_0x542371(0x234)]=0x0;}},exports[_0x5d9338(0x32a)]=ae([w(0x6,a['Inject'](a[_0x5d9338(0x343)])),w(0x7,a[_0x5d9338(0x15d)](I['RevisionService'])),w(0x8,a[_0x5d9338(0x3ea)]),w(0x9,a['ILogService']),w(0xa,I[_0x5d9338(0x3d1)]),w(0xb,a['IUndoRedoService']),w(0xc,a['Optional'](q))],exports[_0x5d9338(0x32a)]),exports[_0x5d9338(0x362)]=class extends ce{constructor(_0x413de6,_0x3448ae,_0x474916,_0xb8007f,_0x86f74d,_0x2b1a8a=!0x1,_0x36d1d3,_0x309582,_0x29a784,_0xa3a51f,_0x1efd5b,_0x4e7dca,_0x2a1add){var _0x4b112d=_0x5d9338;super(_0x413de6,_0x3448ae,_0x474916,_0xb8007f,_0x86f74d,_0x309582,_0x29a784,_0xa3a51f,_0x2a1add),A(this,_0x4b112d(0x3e0),_0x4b112d(0x336)),(this[_0x4b112d(0x182)]=_0x2b1a8a,this[_0x4b112d(0x135)]=_0x36d1d3,this[_0x4b112d(0x2be)]=_0x1efd5b,this[_0x4b112d(0x116)]=_0x4e7dca,this[_0x4b112d(0x1ca)]=_0x2a1add,this[_0x4b112d(0x306)](),this[_0x4b112d(0x3b8)](),this[_0x4b112d(0x125)]());}[_0x5d9338(0x366)](){return this;}[_0x5d9338(0x1a0)](){return this;}[_0x5d9338(0x37e)](){return this;}[_0x5d9338(0x13e)](){return this;}[_0x5d9338(0x44b)](){return this;}['toggleOffline'](){return this;}[_0x5d9338(0x1a3)](){return this;}['resend'](){var _0x48456c=_0x5d9338;throw new Error(_0x48456c(0x14c));}[_0x5d9338(0x3b8)](){var _0x2c5077=_0x5d9338,_0x2c9da0;(_0x2c9da0=this[_0x2c5077(0x28b)])==null||_0x2c9da0[_0x2c5077(0x114)](this[_0x2c5077(0x1c0)],this[_0x2c5077(0x2c9)],null,[]);}['_showConflictNotification'](){var _0x1e0292=_0x5d9338;this[_0x1e0292(0x182)]?this[_0x1e0292(0x116)][_0x1e0292(0x20e)]({'id':Z[_0x1e0292(0x1d4)]}):this[_0x1e0292(0x116)][_0x1e0292(0x20e)]({'id':Z[_0x1e0292(0x194)]});}[_0x5d9338(0x125)](){var _0x4acfea=_0x5d9338;this[_0x4acfea(0x135)][_0x4acfea(0x422)](new X['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}},exports[_0x5d9338(0x362)]=ae([w(0x6,a[_0x5d9338(0x15d)](a['IPermissionService'])),w(0x7,a[_0x5d9338(0x3ea)]),w(0x8,a[_0x5d9338(0x193)]),w(0x9,a['Inject'](I[_0x5d9338(0x2f3)])),w(0xa,a['Inject'](a[_0x5d9338(0x162)])),w(0xb,a['Inject'](ee)),w(0xc,a[_0x5d9338(0x2e4)](q))],exports['ConflictState']),exports[_0x5d9338(0x411)]=class extends ce{constructor(_0x4f76b6,_0x30fa68,_0x2854b7,_0x50885e,_0x439343,_0x166b49,_0xa8d64a,_0x41e197,_0x474b71,_0x7e4f17){var _0x24a4d3=_0x5d9338;super(_0x4f76b6,_0x30fa68,_0x2854b7,_0x50885e,_0x439343,_0x41e197,_0x474b71,_0xa8d64a,_0x7e4f17),A(this,'status',_0x24a4d3(0x258)),this[_0x24a4d3(0x20c)]=_0x166b49;}[_0x5d9338(0x366)](_0x25236f){var _0x201ce4=_0x5d9338;return this['_pendingMutations'][_0x201ce4(0x206)](_0x25236f),this[_0x201ce4(0x139)](),this;}[_0x5d9338(0x1a0)](_0x3e98ba){var _0x2e237a=_0x5d9338;throw new Error(_0x2e237a(0x3c3));}[_0x5d9338(0x37e)](){var _0x31d33c=_0x5d9338;throw new Error(_0x31d33c(0x1dc));}['onRemoteRej'](){var _0x25509f=_0x5d9338;throw new Error(_0x25509f(0x1d2));}[_0x5d9338(0x44b)](){return this;}[_0x5d9338(0x33e)](){return this;}['toggleOnline'](){var _0x59b9c5=_0x5d9338;const {_injector:_0x76f825,_pendingMutations:_0x5b158e,_awaitingChangeset:_0x3f4e2b,unitID:_0x3227a0,_handler:_0x1b6d68,type:_0x50ce36}=this,_0x2ed41f=Ot(_0x76f825,_0x3227a0,_0x50ce36,_0x3f4e2b,_0x5b158e,_0x1b6d68);return _0x2ed41f instanceof exports[_0x59b9c5(0x227)]?_0x2ed41f[_0x59b9c5(0x3ca)]():(_0x2ed41f instanceof exports[_0x59b9c5(0x32a)]||_0x2ed41f instanceof exports[_0x59b9c5(0x107)])&&_0x2ed41f['resend'](),_0x2ed41f;}['resend'](){var _0x28845f=_0x5d9338;throw new Error(_0x28845f(0x2fc));}},exports[_0x5d9338(0x411)]=ae([w(0x5,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),w(0x6,a[_0x5d9338(0x15d)](I[_0x5d9338(0x2f3)])),w(0x7,a[_0x5d9338(0x3ea)]),w(0x8,a[_0x5d9338(0x193)]),w(0x9,a[_0x5d9338(0x2e4)](q))],exports['OfflineState']),exports['FetchingMissState']=class extends ce{constructor(_0x117438,_0x350555,_0x240189,_0x351190,_0x3e2b8,_0x387d1f,_0x424d41,_0x40a201,_0xa8225e,_0x7b2714,_0x16810f,_0x28862a,_0x5a766d,_0x5734d3){var _0x2b8879=_0x5d9338;super(_0x117438,_0x350555,_0x240189,_0x351190,_0x424d41,_0x16810f,_0x28862a,_0xa8225e,_0x5734d3),A(this,_0x2b8879(0x3e0),_0x2b8879(0x12b)),(this[_0x2b8879(0x1d9)]=_0x3e2b8,this[_0x2b8879(0x1fd)]=_0x387d1f,this['_injector']=_0x40a201,this[_0x2b8879(0x415)]=_0x7b2714,this[_0x2b8879(0x337)]=_0x5a766d,this['localCacheService']=_0x5734d3);}[_0x5d9338(0x34f)](_0x58bc78){var _0x485ef0=_0x5d9338;try{const _0x3d373d=[..._0x58bc78,...this[_0x485ef0(0x1fd)]],_0x43c535=[this[_0x485ef0(0x25d)]||this[_0x485ef0(0x1d9)]][_0x485ef0(0x45e)](_0x598173=>!!_0x598173);let _0x18abf0,_0x3d17f2;if(_0x43c535['length']){const _0x3678e7=this[_0x485ef0(0x337)][_0x485ef0(0x2d9)](_0x3d373d,_0x43c535,!0x1);if(!I['isTransformChangesetsSuccess'](_0x3678e7))throw _0x3678e7[_0x485ef0(0x45d)];_0x18abf0=_0x3678e7[_0x485ef0(0x1f0)],_0x3d17f2=_0x3678e7[_0x485ef0(0x21d)];}else _0x18abf0=_0x3d373d,_0x3d17f2=[];let _0x98abb4=this[_0x485ef0(0x14e)];_0x18abf0['forEach'](_0x74dc69=>{var _0x1009c5=_0x485ef0;let _0x1be156;if(_0x98abb4['length']){const _0x383e28=this[_0x1009c5(0x337)][_0x1009c5(0x238)](_0x74dc69,_0x98abb4);if(!I[_0x1009c5(0x10c)](_0x383e28))throw _0x383e28[_0x1009c5(0x45d)];_0x1be156=_0x383e28['c1Prime'],_0x98abb4=_0x383e28[_0x1009c5(0x457)];}else _0x1be156=_0x74dc69;this[_0x1009c5(0x3c0)](_0x1be156);}),this[_0x485ef0(0x1d9)]&&this[_0x485ef0(0x133)](),this[_0x485ef0(0x25d)]&&_0x3d17f2[_0x485ef0(0x2f8)]&&(_0x3d17f2[0x0][_0x485ef0(0x354)]=this['_getCurrentRevision']());let _0x2dad21;if(this['_awaitingChangeset']&&_0x98abb4['length']!==0x0)_0x2dad21=this[_0x485ef0(0x20c)][_0x485ef0(0x40d)](exports['AwaitingWithPendingState'],this[_0x485ef0(0x1c0)],this[_0x485ef0(0x2c9)],_0x3d17f2[0x0],_0x98abb4,this[_0x485ef0(0x14f)],void 0x0);else{if(this[_0x485ef0(0x25d)]&&_0x98abb4[_0x485ef0(0x2f8)]===0x0)_0x3d17f2[0x0][_0x485ef0(0x354)]=this[_0x485ef0(0x3cc)](),_0x2dad21=this[_0x485ef0(0x20c)][_0x485ef0(0x40d)](exports[_0x485ef0(0x107)],this[_0x485ef0(0x1c0)],this[_0x485ef0(0x2c9)],_0x3d17f2[0x0],this[_0x485ef0(0x14f)]);else{if(_0x98abb4[_0x485ef0(0x2f8)]!==0x0){const _0xc67319=this[_0x485ef0(0x20c)][_0x485ef0(0x40d)](exports[_0x485ef0(0x227)],this['unitID'],this[_0x485ef0(0x2c9)],_0x98abb4,this['_handler']);_0xc67319['_schedule'](),_0x2dad21=_0xc67319;}else _0x2dad21=this[_0x485ef0(0x20c)][_0x485ef0(0x40d)](exports['SyncedState'],this[_0x485ef0(0x1c0)],this[_0x485ef0(0x2c9)],this['_handler']);}}return _0x2dad21[_0x485ef0(0x139)](),_0x2dad21;}catch(_0x88ac0f){return this[_0x485ef0(0x415)][_0x485ef0(0x45d)](_0x485ef0(0x18a),_0x485ef0(0x43c),_0x88ac0f),this[_0x485ef0(0x20c)]['createInstance'](exports[_0x485ef0(0x362)],this['unitID'],this[_0x485ef0(0x2c9)],this[_0x485ef0(0x25d)],this['_pendingMutations'],this[_0x485ef0(0x14f)],!0x1);}}['resend'](){var _0x1919a2=_0x5d9338;throw new Error(_0x1919a2(0x347));}[_0x5d9338(0x366)](_0x20f353){var _0x1d51ef=_0x5d9338;return this[_0x1d51ef(0x14e)]['push'](_0x20f353),this;}[_0x5d9338(0x1a0)](_0x58c46d){return this['_queuedRemoteChangesets']['push'](_0x58c46d),this;}[_0x5d9338(0x37e)](_0xdae74c){var _0x1e3c9e=_0x5d9338;if(this[_0x1e3c9e(0x25d)])return this[_0x1e3c9e(0x1d9)]=this[_0x1e3c9e(0x25d)],this[_0x1e3c9e(0x25d)]=null,this;throw new Error(_0x1e3c9e(0x1a8));}['onRemoteRej'](_0x1a5f95){var _0x53c0f6=_0x5d9338;return this['_onConflict'](!!(_0x1a5f95!=null&&_0x1a5f95[_0x53c0f6(0x2c1)]));}['onRemoteRetry'](){return this;}[_0x5d9338(0x33e)](){var _0x1b7151=_0x5d9338;return this['_injector']['createInstance'](exports[_0x1b7151(0x411)],this[_0x1b7151(0x1c0)],this['type'],this[_0x1b7151(0x25d)],this[_0x1b7151(0x14e)],this['_handler']);}[_0x5d9338(0x1a3)](){return this;}[_0x5d9338(0x1e0)](_0x54eb77){var _0x5744f9=_0x5d9338;return this[_0x5744f9(0x20c)][_0x5744f9(0x40d)](exports[_0x5744f9(0x362)],this['unitID'],this['type'],this[_0x5744f9(0x25d)],this['_pendingMutations'],this[_0x5744f9(0x14f)],_0x54eb77);}},exports[_0x5d9338(0x34d)]=ae([w(0x7,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),w(0x8,a['Inject'](I[_0x5d9338(0x2f3)])),w(0x9,a[_0x5d9338(0x374)]),w(0xa,a[_0x5d9338(0x3ea)]),w(0xb,a['IUndoRedoService']),w(0xc,I[_0x5d9338(0x3d1)]),w(0xd,a[_0x5d9338(0x2e4)](q))],exports[_0x5d9338(0x34d)]);function Ot(_0x1dcb35,_0x253456,_0x3cffc0,_0x2708fd,_0x371403,_0x5ceb3b){var _0xb90f16=_0x5d9338;return _0x2708fd&&_0x371403[_0xb90f16(0x2f8)]?_0x1dcb35['createInstance'](exports[_0xb90f16(0x32a)],_0x253456,_0x3cffc0,_0x2708fd,_0x371403,_0x5ceb3b,void 0x0):_0x2708fd?_0x1dcb35[_0xb90f16(0x40d)](exports[_0xb90f16(0x107)],_0x253456,_0x3cffc0,_0x2708fd,_0x5ceb3b):_0x371403[_0xb90f16(0x2f8)]?_0x1dcb35[_0xb90f16(0x40d)](exports[_0xb90f16(0x227)],_0x253456,_0x3cffc0,_0x371403,_0x5ceb3b):_0x1dcb35['createInstance'](exports[_0xb90f16(0x215)],_0x253456,_0x3cffc0,_0x5ceb3b);}var vi=Object[_0x5d9338(0x254)],Fe=(_0x286502,_0xf0fb65,_0x5e3361,_0x360d89)=>{var _0x25f9bb=_0x5d9338;for(var _0x52cb98=_0x360d89>0x1?void 0x0:_0x360d89?vi(_0xf0fb65,_0x5e3361):_0xf0fb65,_0xf49a48=_0x286502[_0x25f9bb(0x2f8)]-0x1,_0x38b7bb;_0xf49a48>=0x0;_0xf49a48--)(_0x38b7bb=_0x286502[_0xf49a48])&&(_0x52cb98=_0x38b7bb(_0x52cb98)||_0x52cb98);return _0x52cb98;},j=(_0x368199,_0x3ad360)=>(_0x1c61cc,_0x4b50da)=>_0x3ad360(_0x1c61cc,_0x4b50da,_0x368199);exports['CollaborationEntity']=class extends a[_0x5d9338(0x429)]{constructor(_0x3ad72d,_0x1d47e3,_0x16b389,_0x18a0fd,_0x59dc78,_0xdb6524,_0x45a47e,_0x5a9b5e,_0x2d844b,_0x3208a,_0x219e67,_0x32fca3,_0x4b0523){var _0x407d58=_0x5d9338;super(),A(this,_0x407d58(0x197),new $[(_0x407d58(0x1e2))](null)),A(this,'state$',this[_0x407d58(0x197)][_0x407d58(0x203)]()),A(this,_0x407d58(0xff)),A(this,_0x407d58(0xfc),!0x1),A(this,_0x407d58(0x350),''),A(this,_0x407d58(0x1cb),0x0),A(this,_0x407d58(0x399),this['state$']['pipe']($[_0x407d58(0x31a)](_0x2a9161=>_0x2a9161?_0x2a9161[_0x407d58(0x3e0)]:Be[_0x407d58(0x401)]),$[_0x407d58(0x388)](0x1))),A(this,_0x407d58(0x3fb),!0x1),A(this,_0x407d58(0x2dc),[]),(this[_0x407d58(0x1c0)]=_0x3ad72d,this[_0x407d58(0x1b3)]=_0x1d47e3,this['_type']=_0x16b389,this[_0x407d58(0x20c)]=_0x18a0fd,this['_compressMutationService']=_0x59dc78,this[_0x407d58(0x2be)]=_0xdb6524,this['_revisionService']=_0x45a47e,this[_0x407d58(0x38d)]=_0x5a9b5e,this[_0x407d58(0x415)]=_0x2d844b,this[_0x407d58(0x272)]=_0x3208a,this[_0x407d58(0x135)]=_0x219e67,this['_singleActiveUnitService']=_0x32fca3,this[_0x407d58(0x28b)]=_0x4b0523);}get[_0x5d9338(0x356)](){return this['_state'];}async[_0x5d9338(0x35f)](){var _0x38fa70=_0x5d9338;if(this[_0x38fa70(0x356)])throw new Error(_0x38fa70(0x2bc));await this['_init']();}[_0x5d9338(0x442)](){var _0x45bda4=_0x5d9338;return this[_0x45bda4(0xfc)]=!0x0,a['toDisposable'](()=>{var _0x334fd0=_0x45bda4;this['_collaborationPaused']=!0x1,this[_0x334fd0(0x416)]();});}['onLocalMutation'](_0x1f5496){var _0x177926=_0x5d9338;this[_0x177926(0x25f)](_0x1f5496);}[_0x5d9338(0x299)](_0x40e9a9){var _0x7ca499=_0x5d9338;this[_0x7ca499(0xff)]=_0x40e9a9,this[_0x7ca499(0x197)]['next'](_0x40e9a9);}async[_0x5d9338(0x196)](){var _0x5f0b11=_0x5d9338,_0x5f25b8;this['_updateState'](await this['_createInitialState']()),this[_0x5f0b11(0x1ba)]&&((_0x5f25b8=this[_0x5f0b11(0x1ba)])==null||_0x5f25b8['editingUnit'](this[_0x5f0b11(0x1c0)]),this['disposeWithMe'](this[_0x5f0b11(0x1ba)][_0x5f0b11(0x1b7)](this[_0x5f0b11(0x1c0)])[_0x5f0b11(0x31c)](_0x1186bd=>{var _0x2cb144=_0x5f0b11;this[_0x2cb144(0x415)][_0x2cb144(0x126)](_0x2cb144(0x341),_0x2cb144(0x282),_0x1186bd),_0x1186bd===je[_0x2cb144(0x295)]?(this[_0x2cb144(0x38d)]['emitEvent']({'id':Z['OTHER_CLIENT_EDITING']}),this[_0x2cb144(0x135)][_0x2cb144(0x422)](new X[(_0x2cb144(0x3c8))](this[_0x2cb144(0x1c0)])['id'],!0x1),this['_permissionService'][_0x2cb144(0x1a9)](!0x1)):(this[_0x2cb144(0x135)][_0x2cb144(0x422)](new X[(_0x2cb144(0x3c8))](this[_0x2cb144(0x1c0)])['id'],!0x0),this['_permissionService'][_0x2cb144(0x1a9)](!0x0));})));let _0x9e5db0=!0x1;return this[_0x5f0b11(0x240)](this['session'][_0x5f0b11(0x2cc)][_0x5f0b11(0x31c)](_0x5d8a72=>{var _0x1d5599=_0x5f0b11;_0x5d8a72===re['ONLINE']?this[_0x1d5599(0x19d)](_0x9e5db0):_0x5d8a72===re[_0x1d5599(0x401)]&&(_0x9e5db0=!0x0,this['_toggleOffline']());})),this[_0x5f0b11(0x240)](this[_0x5f0b11(0x1b3)][_0x5f0b11(0x3e9)]['subscribe'](_0x8c2088=>{var _0x257805=_0x5f0b11;try{switch(_0x8c2088[_0x257805(0x3ff)]){case I['CollaborationEvent'][_0x257805(0x402)]:{this[_0x257805(0x2e8)](I['parseProtocolChangeset'](_0x8c2088['data']));break;}case I[_0x257805(0x226)]['CHANGESET_ACK']:{this['_onRemoteACK'](_0x8c2088[_0x257805(0x165)]);break;}case I[_0x257805(0x226)][_0x257805(0x3e2)]:{this['_onRemoteRejected']();break;}case I[_0x257805(0x226)]['CHANGESET_SHOULD_RETRY']:{this[_0x257805(0x279)](_0x8c2088[_0x257805(0x165)]);break;}case I[_0x257805(0x226)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x257805(0x21e)](_0x8c2088['data'][_0x257805(0xfd)][_0x257805(0x31a)](_0x125ec6=>I['parseProtocolChangeset'](_0x125ec6)));break;}case I[_0x257805(0x226)][_0x257805(0x23f)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0x257805(0x226)][_0x257805(0x2e2)]:break;}}catch(_0x45ba78){throw console[_0x257805(0x45d)](_0x257805(0x2b4),_0x45ba78),_0x45ba78;}})),this[_0x5f0b11(0xff)];}[_0x5d9338(0x155)](){var _0x46560d=_0x5d9338;this[_0x46560d(0x3fb)]=!0x1;}['_lockTransition'](){var _0x16cd3d=_0x5d9338;if(this[_0x16cd3d(0x3fb)])throw new Error(_0x16cd3d(0x352));this[_0x16cd3d(0x3fb)]=!0x0;}['_onLocalMutation'](_0x5889d3){var _0x582b6d=_0x5d9338;this[_0x582b6d(0x310)](),this[_0x582b6d(0x299)](this[_0x582b6d(0xff)][_0x582b6d(0x366)](_0x5889d3)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x565125){var _0x1c9eee=_0x5d9338;if(!(_0x565125[_0x1c9eee(0x349)]<=this['_revisionService'][_0x1c9eee(0x177)](this[_0x1c9eee(0x1c0)]))){if(this['_collaborationPaused']){this[_0x1c9eee(0x2dc)][_0x1c9eee(0x206)](_0x565125);return;}this[_0x1c9eee(0x3cb)](_0x565125);}}[_0x5d9338(0x416)](){var _0xf802d4=_0x5d9338;this[_0xf802d4(0x2dc)][_0xf802d4(0x335)](_0x4958a2=>this['_applyRemoteChangeset'](_0x4958a2)),this['_remoteChangesetQueue']=[];}[_0x5d9338(0x3cb)](_0x73605d){var _0xa28168=_0x5d9338;const _0x41a6cb=this[_0xa28168(0x328)][_0xa28168(0x124)]['fetchThroughInterceptors'](this[_0xa28168(0x328)][_0xa28168(0x124)][_0xa28168(0x19a)]()['COMPRESS_MUTATION_APPLY'])(_0x73605d[_0xa28168(0x3d6)],null)||_0x73605d['mutations'],_0x50727d={..._0x73605d,'mutations':_0x41a6cb};this[_0xa28168(0x310)](),this[_0xa28168(0x299)](this[_0xa28168(0xff)][_0xa28168(0x1a0)](_0x50727d)),this[_0xa28168(0x155)]();}['_onRemoteACK'](_0x252fbd){var _0x442824=_0x5d9338;this['_lockTransition'](),this[_0x442824(0x299)](this['_state']['onRemoteAck'](_0x252fbd)),this[_0x442824(0x155)]();}['_onRemoteRejected'](_0x405e79){var _0x4bb400=_0x5d9338;this[_0x4bb400(0x310)](),this['_updateState'](this['_state'][_0x4bb400(0x13e)](_0x405e79)),this[_0x4bb400(0x155)]();}[_0x5d9338(0x279)](_0x3074fe){var _0x3d4288=_0x5d9338;this[_0x3d4288(0x310)](),this[_0x3d4288(0x299)](this[_0x3d4288(0xff)][_0x3d4288(0x44b)](_0x3074fe)),this['_unlockTransition']();}['_onFetchMissResult'](_0x3f7a5c){var _0x2c6234=_0x5d9338;if(!(this[_0x2c6234(0xff)]instanceof exports[_0x2c6234(0x34d)]))throw new TypeError(_0x2c6234(0x149));const _0x2402c0=_0x3f7a5c[_0x2c6234(0x31a)](_0x10c967=>{var _0x360a8d=_0x2c6234;const _0x5e3ad0=this[_0x360a8d(0x328)][_0x360a8d(0x124)][_0x360a8d(0x10e)](this['_compressMutationService'][_0x360a8d(0x124)][_0x360a8d(0x19a)]()[_0x360a8d(0x348)])(_0x10c967[_0x360a8d(0x3d6)],null)||_0x10c967['mutations'];return{..._0x10c967,'mutations':_0x5e3ad0};});this[_0x2c6234(0x310)](),this[_0x2c6234(0x299)](this[_0x2c6234(0xff)][_0x2c6234(0x34f)](_0x2402c0)),this['_unlockTransition']();}['_toggleOffline'](){var _0x1d230f=_0x5d9338;this[_0x1d230f(0x310)](),this[_0x1d230f(0x299)](this[_0x1d230f(0xff)][_0x1d230f(0x33e)]()),this[_0x1d230f(0x155)]();}[_0x5d9338(0x19d)](_0x1ad143=!0x1){var _0x484db2=_0x5d9338;this['_lockTransition'](),this['_updateState'](this[_0x484db2(0xff)][_0x484db2(0x1a3)]()),this[_0x484db2(0x155)]();const _0x18e516=this[_0x484db2(0xff)];_0x1ad143&&_0x18e516 instanceof exports[_0x484db2(0x215)]&&(this[_0x484db2(0x310)](),this[_0x484db2(0x299)](_0x18e516[_0x484db2(0x3bf)]()),this[_0x484db2(0x155)]());}async[_0x5d9338(0x412)](){return new Promise(_0x139722=>{var _0x1d2611=_0x4a4a;this[_0x1d2611(0x1b3)]['sessionStatus$']['pipe']($[_0x1d2611(0x2b2)](0x1))['subscribe'](async _0x1929b7=>{var _0x1e9e77=_0x1d2611;_0x139722(await this[_0x1e9e77(0x38e)](_0x1929b7===re[_0x1e9e77(0x187)]));});});}['_createHandler'](){const _0x8ab5c8=this['unitID'];return{'onStateChange':(_0x1a72df,_0x163bed)=>{var _0x1e5149=_0x4a4a;if(_0x1a72df!==this[_0x1e5149(0xff)])throw new Error(_0x1e5149(0x289)+_0x1a72df[_0x1e5149(0x3e0)]+_0x1e5149(0x31e)+_0x163bed[_0x1e5149(0x3e0)]+_0x1e5149(0x38c)+this[_0x1e5149(0xff)]['status']);this[_0x1e5149(0x299)](_0x163bed);},'onSendChangeset':_0x12949f=>{var _0x3c067c=_0x4a4a;_0x12949f['sid']||(_0x12949f['sid']=this['_changesetSessionId'],_0x12949f['reqId']=++this[_0x3c067c(0x1cb)]);const _0x5a980a={'eventID':I[_0x3c067c(0x226)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x12949f[_0x3c067c(0x1c0)],'unitType':this['_type'],'changeset':_0x12949f,'memberID':this[_0x3c067c(0x1b3)][_0x3c067c(0x18d)]()}};this['session'][_0x3c067c(0x17c)](_0x5a980a,this[_0x3c067c(0x1c0)]);},'onMissingChangesets':({from:_0x408682,to:_0x45ad2c})=>{var _0x5c64c=_0x4a4a;this[_0x5c64c(0x415)][_0x5c64c(0x126)](_0x5c64c(0x341),_0x5c64c(0x17a)+_0x408682+_0x5c64c(0x161)+_0x45ad2c);const _0x35a620={'eventID':I['CollaborationEvent'][_0x5c64c(0x2b6)],'data':{'unitID':_0x8ab5c8,'unitType':this['_type'],'from':_0x408682,'to':_0x45ad2c}};this['session'][_0x5c64c(0x17c)](_0x35a620,this[_0x5c64c(0x1c0)]);}};}async[_0x5d9338(0x38e)](_0x1756ba){var _0x483599=_0x5d9338,_0x423815,_0x50c52c,_0x5eb575;const _0x21669d=await((_0x423815=this[_0x483599(0x28b)])==null?void 0x0:_0x423815[_0x483599(0x205)](this[_0x483599(0x1c0)])),_0xc6daa5=(_0x50c52c=_0x21669d==null?void 0x0:_0x21669d[_0x483599(0x3d6)])!=null?_0x50c52c:[],_0x5e9633=(_0x5eb575=_0x21669d==null?void 0x0:_0x21669d[_0x483599(0x25a)])!=null?_0x5eb575:null,_0x28b4c2=!!(_0x5e9633!=null&&_0x5e9633[_0x483599(0x171)])&&!!(_0x5e9633!=null&&_0x5e9633[_0x483599(0x3f7)]);this[_0x483599(0x350)]=_0x28b4c2?_0x5e9633['sid']:I[_0x483599(0x1f1)](),this[_0x483599(0x1cb)]=_0x28b4c2?_0x5e9633['reqId']:0x0;const _0x18a0df=this[_0x483599(0x1c0)];try{this[_0x483599(0x214)](_0x5e9633,_0xc6daa5);}catch(_0x53aed5){this[_0x483599(0x415)]['error'](_0x53aed5);}const _0x5ee4af=this[_0x483599(0x110)]();if(_0x1756ba){const _0x1ad6c1=Ot(this[_0x483599(0x20c)],_0x18a0df,this['_type'],_0x5e9633,_0xc6daa5,_0x5ee4af);return _0x1ad6c1 instanceof exports[_0x483599(0x227)]?_0x1ad6c1['_schedule']():(_0x1ad6c1 instanceof exports[_0x483599(0x32a)]||_0x1ad6c1 instanceof exports[_0x483599(0x107)])&&_0x1ad6c1['resend'](),_0x1ad6c1;}return this[_0x483599(0x20c)]['createInstance'](exports['OfflineState'],_0x18a0df,this[_0x483599(0x413)],_0x5e9633,_0xc6daa5,_0x5ee4af);}[_0x5d9338(0x214)](_0x403783,_0x2b5a2a){var _0x5e9e0a=_0x5d9338,_0x7db6cf,_0x4e5cbe;const _0x1082cd=this[_0x5e9e0a(0x328)]['interceptor'][_0x5e9e0a(0x10e)](this['_compressMutationService'][_0x5e9e0a(0x124)][_0x5e9e0a(0x19a)]()[_0x5e9e0a(0x348)]);(_0x7db6cf=_0x1082cd((_0x403783==null?void 0x0:_0x403783[_0x5e9e0a(0x3d6)])||[],null))==null||_0x7db6cf[_0x5e9e0a(0x335)](_0x4a4e47=>this[_0x5e9e0a(0x272)][_0x5e9e0a(0x3ba)](_0x4a4e47['id'],_0x4a4e47[_0x5e9e0a(0x30a)])),(_0x4e5cbe=_0x1082cd(_0x2b5a2a||[],null))==null||_0x4e5cbe[_0x5e9e0a(0x335)](_0x13dcbc=>this['_commandService']['executeCommand'](_0x13dcbc['id'],_0x13dcbc[_0x5e9e0a(0x30a)]));}},exports[_0x5d9338(0x2ab)]=Fe([j(0x3,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),j(0x4,a[_0x5d9338(0x15d)](I['CompressMutationService'])),j(0x5,a[_0x5d9338(0x15d)](a[_0x5d9338(0x162)])),j(0x6,a[_0x5d9338(0x15d)](I['RevisionService'])),j(0x7,a[_0x5d9338(0x15d)](ee)),j(0x8,a[_0x5d9338(0x374)]),j(0x9,a[_0x5d9338(0x3ea)]),j(0xa,a[_0x5d9338(0x178)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x5d9338(0x2e4)](q))],exports[_0x5d9338(0x2ab)]),exports[_0x5d9338(0x1da)]=class extends exports[_0x5d9338(0x2ab)]{constructor(_0x160cb9,_0x33ea70,_0x50d01b,_0x550468,_0x5521c3,_0x411869,_0x140dd3,_0x56d10e,_0x4a066d,_0x126ca3,_0x62c1b7,_0x4832e6,_0x401852){var _0x3d740f=_0x5d9338;super(_0x160cb9,_0x50d01b,_0x33ea70,_0x550468,_0x5521c3,_0x411869,_0x140dd3,_0x56d10e,_0x4a066d,_0x126ca3,_0x62c1b7,_0x4832e6,_0x401852),A(this,_0x3d740f(0x208),null),(this[_0x3d740f(0x1c0)]=_0x160cb9,this[_0x3d740f(0x2c9)]=_0x33ea70);}[_0x5d9338(0x16d)](_0x9b72a9){this['_handlerCallback']=_0x9b72a9;}[_0x5d9338(0x109)](){var _0x55ddd3=_0x5d9338;this[_0x55ddd3(0x208)]=null,super['dispose']();}[_0x5d9338(0x110)](){var _0x1c5024=_0x5d9338;const _0x38ff38=super[_0x1c5024(0x110)]();return _0x38ff38[_0x1c5024(0x296)]=_0x25de08=>{var _0x1baeb3=_0x1c5024,_0xc39bbb,_0x30f0e;return(_0x30f0e=(_0xc39bbb=this['_handlerCallback'])==null?void 0x0:_0xc39bbb[_0x1baeb3(0x296)])==null?void 0x0:_0x30f0e[_0x1baeb3(0x244)](_0xc39bbb,_0x25de08);},_0x38ff38[_0x1c5024(0x144)]=_0x1944a2=>{var _0x48e40b=_0x1c5024,_0x5a23cf,_0x15c930;return(_0x15c930=(_0x5a23cf=this[_0x48e40b(0x208)])==null?void 0x0:_0x5a23cf['onTransformState'])==null?void 0x0:_0x15c930['call'](_0x5a23cf,_0x1944a2);},_0x38ff38['onTransformSelections']=_0xb0776a=>{var _0x3ba879=_0x1c5024,_0x18bde9,_0x2c4ee7;return(_0x2c4ee7=(_0x18bde9=this[_0x3ba879(0x208)])==null?void 0x0:_0x18bde9[_0x3ba879(0x175)])==null?void 0x0:_0x2c4ee7[_0x3ba879(0x244)](_0x18bde9,_0xb0776a);},_0x38ff38[_0x1c5024(0x458)]=_0x5ae42f=>{var _0x45cc1a=_0x1c5024,_0x5057b2,_0x5e37d9;return(_0x5e37d9=(_0x5057b2=this[_0x45cc1a(0x208)])==null?void 0x0:_0x5057b2['onSyncEditingCollabCursor'])==null?void 0x0:_0x5e37d9[_0x45cc1a(0x244)](_0x5057b2,_0x5ae42f);},_0x38ff38[_0x1c5024(0x36a)]=_0x29c440=>{var _0x42c963=_0x1c5024,_0x5677b9,_0x113b9e,_0x440848;if(!((_0x5677b9=this[_0x42c963(0x208)])!=null&&_0x5677b9['onTransformRemoteChangesetByIMECache']))throw new Error(_0x42c963(0x290));return(_0x440848=(_0x113b9e=this[_0x42c963(0x208)])==null?void 0x0:_0x113b9e['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x440848['call'](_0x113b9e,_0x29c440);},_0x38ff38[_0x1c5024(0x41b)]=_0x294f79=>{var _0x222297=_0x1c5024,_0x733c4,_0x159636,_0x1150fd;if(!((_0x733c4=this[_0x222297(0x208)])!=null&&_0x733c4[_0x222297(0x41b)]))throw new Error(_0x222297(0x35e));return(_0x1150fd=(_0x159636=this[_0x222297(0x208)])==null?void 0x0:_0x159636[_0x222297(0x41b)])==null?void 0x0:_0x1150fd['call'](_0x159636,_0x294f79);},_0x38ff38;}async[_0x5d9338(0x196)](){var _0x2f1e55=_0x5d9338;const _0x2d809e=await super['_init']();return this[_0x2f1e55(0x240)](this[_0x2f1e55(0x272)][_0x2f1e55(0x436)]((_0x3d6cde,_0x4f723e)=>{var _0x19ef37=_0x2f1e55;if(_0x3d6cde[_0x19ef37(0x2c9)]!==a['CommandType'][_0x19ef37(0x190)]||_0x4f723e!=null&&_0x4f723e[_0x19ef37(0x250)]||_0x4f723e!=null&&_0x4f723e['onlyLocal']||_0x3d6cde['id']===ht[_0x19ef37(0x28c)]['id'])return;const _0x2d9245=_0x3d6cde[_0x19ef37(0x30a)];if((_0x2d9245==null?void 0x0:_0x2d9245[_0x19ef37(0x300)])!==this[_0x19ef37(0x1c0)])return;const _0x1ed7c6=_0x3d6cde,_0x284854=this[_0x19ef37(0x328)][_0x19ef37(0x124)][_0x19ef37(0x10e)](this[_0x19ef37(0x328)][_0x19ef37(0x124)][_0x19ef37(0x19a)]()[_0x19ef37(0x438)])([_0x1ed7c6],null)||[_0x1ed7c6];this[_0x19ef37(0x25f)](_0x284854[0x0]);})),_0x2d809e;}},exports[_0x5d9338(0x1da)]=Fe([j(0x3,a[_0x5d9338(0x15d)](a['Injector'])),j(0x4,a['Inject'](I[_0x5d9338(0x2eb)])),j(0x5,a[_0x5d9338(0x15d)](a[_0x5d9338(0x162)])),j(0x6,a[_0x5d9338(0x15d)](I[_0x5d9338(0x2f3)])),j(0x7,a[_0x5d9338(0x15d)](ee)),j(0x8,a[_0x5d9338(0x374)]),j(0x9,a[_0x5d9338(0x3ea)]),j(0xa,a[_0x5d9338(0x178)]),j(0xb,a[_0x5d9338(0x2e4)](de)),j(0xc,a[_0x5d9338(0x2e4)](q))],exports['DocCollaborationEntity']),exports[_0x5d9338(0x322)]=class extends exports['CollaborationEntity']{constructor(_0xad01d2,_0x2be525,_0x56ae12,_0x3624a5,_0x27344a,_0x4ff5d3,_0x3409d0,_0x38101d,_0xf48f6a,_0x483893,_0x4277af,_0x4f9777,_0x45ddc4,_0x4bbc48){var _0x5b3a51=_0x5d9338;super(_0xad01d2,_0x56ae12,_0x2be525,_0x3624a5,_0x27344a,_0x4ff5d3,_0x3409d0,_0xf48f6a,_0x483893,_0x4277af,_0x4f9777,_0x45ddc4,_0x4bbc48),this[_0x5b3a51(0x1c0)]=_0xad01d2,this['type']=_0x2be525,this[_0x5b3a51(0x1d0)]=_0x38101d;}['_createHandler'](){var _0x4c6691=_0x5d9338;const _0x34dc3a=super['_createHandler']();return _0x34dc3a[_0x4c6691(0x175)]=_0x151629=>this[_0x4c6691(0x1d0)]['transformSelections'](_0x151629),_0x34dc3a;}async[_0x5d9338(0x196)](){var _0x22452f=_0x5d9338;const _0x43c16d=await super[_0x22452f(0x196)]();return this['disposeWithMe'](this[_0x22452f(0x272)]['onCommandExecuted']((_0xd4ed72,_0x3f4a41)=>{var _0x26bb8b=_0x22452f;if(_0xd4ed72[_0x26bb8b(0x2c9)]!==a['CommandType'][_0x26bb8b(0x190)]||_0x3f4a41!=null&&_0x3f4a41['fromCollab']||_0x3f4a41!=null&&_0x3f4a41[_0x26bb8b(0x2c6)])return;const _0x2e9e52=_0xd4ed72['params'];if((_0x2e9e52==null?void 0x0:_0x2e9e52[_0x26bb8b(0x300)])!==this['unitID'])return;const _0x3331cd=_0xd4ed72,_0x283a83=this['_compressMutationService'][_0x26bb8b(0x124)]['fetchThroughInterceptors'](this[_0x26bb8b(0x328)]['interceptor']['getInterceptPoints']()[_0x26bb8b(0x438)])([_0x3331cd],null)||[_0x3331cd];this[_0x26bb8b(0x25f)](_0x283a83[0x0]);})),_0x43c16d;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),j(0x4,a[_0x5d9338(0x15d)](I[_0x5d9338(0x2eb)])),j(0x5,a[_0x5d9338(0x15d)](a[_0x5d9338(0x162)])),j(0x6,a['Inject'](I[_0x5d9338(0x2f3)])),j(0x7,a[_0x5d9338(0x15d)](exports[_0x5d9338(0x35d)])),j(0x8,a['Inject'](ee)),j(0x9,a[_0x5d9338(0x374)]),j(0xa,a['ICommandService']),j(0xb,a[_0x5d9338(0x178)]),j(0xc,a[_0x5d9338(0x2e4)](de)),j(0xd,a[_0x5d9338(0x2e4)](q))],exports[_0x5d9338(0x322)]);var Si=Object[_0x5d9338(0x254)],fi=(_0x5b345f,_0x2c6acd,_0x5551df,_0x4eab0f)=>{var _0x137fca=_0x5d9338;for(var _0x4f8f98=_0x4eab0f>0x1?void 0x0:_0x4eab0f?Si(_0x2c6acd,_0x5551df):_0x2c6acd,_0x52aa7e=_0x5b345f[_0x137fca(0x2f8)]-0x1,_0x5c33de;_0x52aa7e>=0x0;_0x52aa7e--)(_0x5c33de=_0x5b345f[_0x52aa7e])&&(_0x4f8f98=_0x5c33de(_0x4f8f98)||_0x4f8f98);return _0x4f8f98;},Se=(_0x1cea0a,_0x38c67e)=>(_0x47b9e3,_0x20e8e4)=>_0x38c67e(_0x47b9e3,_0x20e8e4,_0x1cea0a);exports[_0x5d9338(0x245)]=class extends a[_0x5d9338(0x429)]{constructor(_0x40911d,_0xf03f5b,_0x508634,_0x1faacd){var _0x599b5b=_0x5d9338,_0x30dd9c;super(),A(this,_0x599b5b(0x259),new Map()),A(this,_0x599b5b(0x3a5),new $['Subject']()),A(this,'entityInit$',this[_0x599b5b(0x3a5)][_0x599b5b(0x203)]()),(this['_injector']=_0x40911d,this[_0x599b5b(0x459)]=_0xf03f5b,this[_0x599b5b(0x44f)]=_0x508634,this[_0x599b5b(0x283)]=_0x1faacd,((_0x30dd9c=this[_0x599b5b(0x44f)][_0x599b5b(0x2ea)](K))==null?void 0x0:_0x30dd9c['enableCollaboration'])!==!0x1&&this['_init']());}[_0x5d9338(0x109)](){var _0x138ab3=_0x5d9338;super[_0x138ab3(0x109)](),this[_0x138ab3(0x259)][_0x138ab3(0x335)](_0x48cca9=>_0x48cca9[_0x138ab3(0x109)]()),this[_0x138ab3(0x259)][_0x138ab3(0x2bf)]();}[_0x5d9338(0x364)](_0x27b3f0){var _0x2e4087=_0x5d9338,_0x495864;return(_0x495864=this[_0x2e4087(0x259)][_0x2e4087(0x43d)](_0x27b3f0))!=null?_0x495864:null;}[_0x5d9338(0x346)](_0x289cbd){var _0x3d7431=_0x5d9338;const _0x3470db=this['getCollabEntity'](_0x289cbd);return _0x3470db?$['of'](_0x3470db):this[_0x3d7431(0x3a5)][_0x3d7431(0x1d1)](V[_0x3d7431(0x45e)](_0x4fa824=>_0x4fa824[_0x3d7431(0x1c0)]===_0x289cbd));}[_0x5d9338(0x455)](_0x4459dc){var _0x1f9848=_0x5d9338;return $[_0x1f9848(0x1fc)](this[_0x1f9848(0x346)](_0x4459dc)[_0x1f9848(0x1d1)](V['map'](()=>{})));}[_0x5d9338(0x196)](){var _0x3b3e26=_0x5d9338;this[_0x3b3e26(0x283)][_0x3b3e26(0x13b)](a[_0x3b3e26(0x21f)]['UNIVER_SHEET'])[_0x3b3e26(0x1d1)]($[_0x3b3e26(0x1df)](this[_0x3b3e26(0x318)]),V[_0x3b3e26(0x1e9)](0x10))['subscribe'](async _0x470ed1=>{var _0x4c6c13=_0x3b3e26;const _0x4018c2=_0x470ed1[_0x4c6c13(0x1a6)](),_0x6b8b07=await this[_0x4c6c13(0x1bc)](_0x4018c2,J['UNIVER_SHEET']);this[_0x4c6c13(0x259)][_0x4c6c13(0x385)](_0x4018c2,_0x6b8b07);}),this[_0x3b3e26(0x283)][_0x3b3e26(0x13b)](a[_0x3b3e26(0x21f)][_0x3b3e26(0x2e3)])[_0x3b3e26(0x1d1)]($[_0x3b3e26(0x1df)](this['dispose$']),V[_0x3b3e26(0x1e9)](0x10))[_0x3b3e26(0x1d1)](V['filter'](_0x31894a=>!_0x31894a[_0x3b3e26(0x1a6)]()[_0x3b3e26(0x189)]('__')))[_0x3b3e26(0x31c)](async _0x3dcf3e=>{var _0x774b46=_0x3b3e26;const _0x2975e7=_0x3dcf3e[_0x774b46(0x1a6)](),_0x5bde3e=await this[_0x774b46(0x1bc)](_0x2975e7,J[_0x774b46(0x2e3)]);this[_0x774b46(0x259)]['set'](_0x2975e7,_0x5bde3e);}),$[_0x3b3e26(0x17f)](this[_0x3b3e26(0x283)][_0x3b3e26(0x123)](a[_0x3b3e26(0x21f)][_0x3b3e26(0x3f9)]),this[_0x3b3e26(0x283)][_0x3b3e26(0x123)](a[_0x3b3e26(0x21f)][_0x3b3e26(0x2e3)]))[_0x3b3e26(0x1d1)]($['takeUntil'](this[_0x3b3e26(0x318)]))[_0x3b3e26(0x31c)](_0x138bc7=>{var _0x2e329b=_0x3b3e26;const _0x374955=_0x138bc7[_0x2e329b(0x1a6)](),_0x460550=this['_entities'][_0x2e329b(0x43d)](_0x374955);_0x460550&&(_0x460550[_0x2e329b(0x109)](),this[_0x2e329b(0x259)]['delete'](_0x374955));});}async['_startCollaboration'](_0x457d23,_0x36a02d){var _0x41bbe4=_0x5d9338;const _0x17e07b=await this['_collabSessionService'][_0x41bbe4(0x39d)](_0x457d23),_0x16e026=this['_injector']['createInstance'](this[_0x41bbe4(0x3d4)](_0x36a02d),_0x457d23,_0x36a02d,_0x17e07b);return await _0x16e026[_0x41bbe4(0x35f)](),this[_0x41bbe4(0x3a5)]['next'](_0x16e026),_0x16e026;}[_0x5d9338(0x3d4)](_0x1975cf){var _0x53e7ef=_0x5d9338;switch(_0x1975cf){case J[_0x53e7ef(0x2e3)]:return exports[_0x53e7ef(0x1da)];case J[_0x53e7ef(0x3f9)]:return exports[_0x53e7ef(0x322)];default:throw new Error(_0x53e7ef(0x445)+_0x1975cf);}}},exports[_0x5d9338(0x245)]=fi([Se(0x0,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),Se(0x1,a['Inject'](exports[_0x5d9338(0x32f)])),Se(0x2,a[_0x5d9338(0x410)]),Se(0x3,a[_0x5d9338(0x397)])],exports['CollaborationController']);var pi=Object[_0x5d9338(0x254)],Ii=(_0x7e5a90,_0x560f47,_0x41318e,_0x5bd456)=>{var _0xacb433=_0x5d9338;for(var _0x323f93=_0x5bd456>0x1?void 0x0:_0x5bd456?pi(_0x560f47,_0x41318e):_0x560f47,_0x2030b8=_0x7e5a90[_0xacb433(0x2f8)]-0x1,_0x2bbf70;_0x2030b8>=0x0;_0x2030b8--)(_0x2bbf70=_0x7e5a90[_0x2030b8])&&(_0x323f93=_0x2bbf70(_0x323f93)||_0x323f93);return _0x323f93;},Ye=(_0x1c7411,_0x38085a)=>(_0x219e20,_0x4fdc8f)=>_0x38085a(_0x219e20,_0x4fdc8f,_0x1c7411);const gi=_0x5d9338(0x425),Ei='Univer';let xe=class extends a['Disposable']{constructor(_0x401a92,_0x3fdfd5){var _0x5632a8=_0x5d9338;super(),this[_0x5632a8(0x283)]=_0x401a92,this[_0x5632a8(0x44f)]=_0x3fdfd5,this[_0x5632a8(0x196)]();}[_0x5d9338(0x196)](){var _0x4c41dd=_0x5d9338;this[_0x4c41dd(0x240)](this[_0x4c41dd(0x283)]['focused$']['subscribe'](()=>{var _0x159b44=_0x4c41dd,_0x10b80d;const _0x560108=this[_0x159b44(0x283)][_0x159b44(0x465)]();let _0x75c0c2=(_0x10b80d=this[_0x159b44(0x44f)][_0x159b44(0x2ea)](gi))!=null?_0x10b80d:Ei;_0x560108 instanceof a[_0x159b44(0x391)]&&(_0x75c0c2=_0x560108['name']),document['title']=_0x75c0c2;}));}};xe=Ii([Ye(0x0,a[_0x5d9338(0x397)]),Ye(0x1,a[_0x5d9338(0x410)])],xe);var mi=Object[_0x5d9338(0x254)],Ci=(_0x139f2c,_0x4fa230,_0x30de30,_0x2e31bd)=>{var _0x430d26=_0x5d9338;for(var _0x1abdb3=_0x2e31bd>0x1?void 0x0:_0x2e31bd?mi(_0x4fa230,_0x30de30):_0x4fa230,_0x530469=_0x139f2c[_0x430d26(0x2f8)]-0x1,_0x4e17e0;_0x530469>=0x0;_0x530469--)(_0x4e17e0=_0x139f2c[_0x530469])&&(_0x1abdb3=_0x4e17e0(_0x1abdb3)||_0x1abdb3);return _0x1abdb3;},Ae=(_0x30ff18,_0x48e22e)=>(_0x2ce363,_0x5a7af6)=>_0x48e22e(_0x2ce363,_0x5a7af6,_0x30ff18);let ye=class{constructor(_0x1de401,_0x302fed,_0x2f5b7b){var _0x328695=_0x5d9338;this[_0x328695(0x44f)]=_0x1de401,this[_0x328695(0x2ca)]=_0x302fed,this[_0x328695(0x44e)]=_0x2f5b7b,this[_0x328695(0x35f)]();}['init'](){var _0xe3a0e=_0x5d9338;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4857ac,_0x513730)=>_0x513730(_0x4857ac)[_0xe3a0e(0x1d1)]($['concatMap'](async _0x55af04=>{var _0x4dba0a=_0xe3a0e;const _0x3a209a=_0x55af04;if(_0x3a209a[_0x4dba0a(0x3e0)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x4dba0a(0x298)](this['localeService']['t'](_0x4dba0a(0x39f)))){const _0x5143e7=window[_0x4dba0a(0x18c)](window['location'][_0x4dba0a(0x228)]);window[_0x4dba0a(0x2a8)][_0x4dba0a(0x228)]=this[_0x4dba0a(0x243)]()+_0x4dba0a(0x3ab)+_0x5143e7;}}return _0x3a209a;}))});}[_0x5d9338(0x243)](){var _0x2430c8=_0x5d9338,_0x24594a,_0x29af4a;const _0x41c98a=this[_0x2430c8(0x44f)][_0x2430c8(0x2ea)](It),_0xbfdc66=this[_0x2430c8(0x44f)]['getConfig'](K);return(_0x29af4a=(_0x24594a=_0xbfdc66==null?void 0x0:_0xbfdc66[_0x2430c8(0x260)])!=null?_0x24594a:_0x41c98a)!=null?_0x29af4a:Wt;}};ye=Ci([Ae(0x0,a[_0x5d9338(0x410)]),Ae(0x1,a[_0x5d9338(0x15d)](Y[_0x5d9338(0x251)])),Ae(0x2,a[_0x5d9338(0x15d)](a[_0x5d9338(0x162)]))],ye);var Ti=Object[_0x5d9338(0x254)],bi=(_0x506a72,_0x156b15,_0x19e4e0,_0x448377)=>{var _0x235955=_0x5d9338;for(var _0x184750=_0x448377>0x1?void 0x0:_0x448377?Ti(_0x156b15,_0x19e4e0):_0x156b15,_0x34f80f=_0x506a72[_0x235955(0x2f8)]-0x1,_0xdd97b9;_0x34f80f>=0x0;_0x34f80f--)(_0xdd97b9=_0x506a72[_0x34f80f])&&(_0x184750=_0xdd97b9(_0x184750)||_0x184750);return _0x184750;},qe=(_0x19b533,_0x3aac83)=>(_0x557766,_0x7312e6)=>_0x3aac83(_0x557766,_0x7312e6,_0x19b533);const Ve=_0x5d9338(0x188),Ri='/universer-api/authz';exports[_0x5d9338(0x1be)]=class extends a[_0x5d9338(0x115)]{constructor(_0x20eb0e,_0x1b1d0c){var _0xa07f66=_0x5d9338;super(),this[_0xa07f66(0x2c0)]=_0x20eb0e,this['_configService']=_0x1b1d0c,this[_0xa07f66(0x45a)]();}[_0x5d9338(0x45a)](){var _0x53c743=_0x5d9338;const _0x3ac69d=this;this['disposeWithMe'](this[_0x53c743(0x2c0)][_0x53c743(0x2ff)]({'priority':0x3e7,'interceptor':Y[_0x53c743(0x2f9)]({'isMatch'(_0x3b89d2){var _0x2e384a=_0x53c743,_0x398d33;if(_0x3b89d2['method']==='POST'&&((_0x398d33=_0x3b89d2['requestParams'])!=null&&_0x398d33[_0x2e384a(0x11f)])){const {objectID:_0x556189,objectType:_0x5c6135}=_0x3b89d2[_0x2e384a(0x105)][_0x2e384a(0x11f)]||{};if(!_0x556189||_0x5c6135===void 0x0)return!0x1;const _0x5e2eff=_0x3ac69d[_0x2e384a(0x319)]()+'/'+_0x5c6135+_0x2e384a(0x2c5)+_0x556189+_0x2e384a(0x462);if(_0x3b89d2['url']===_0x5e2eff)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4534bd){var _0x573255=_0x53c743,_0x7b5f59;return(_0x7b5f59=_0x4534bd[_0x573255(0x105)])==null?void 0x0:_0x7b5f59[_0x573255(0x11f)];},'mergeParamsToRequest'(_0x48c222,_0x58739d){var _0x5d1c15=_0x53c743;const _0x55b88d=_0x3ac69d['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x180270=_0x48c222[_0x5d1c15(0x3c6)]((_0x18e3a1,_0x15a3f8)=>{var _0x42b261=_0x5d1c15;const {unitID:_0xa5c3b1,objectID:_0x2206ad,objectType:_0x373fd5,actions:_0x1f8acf}=_0x15a3f8;return _0x18e3a1[_0xa5c3b1]||(_0x18e3a1[_0xa5c3b1]={}),_0x18e3a1[_0xa5c3b1][_0x2206ad]||(_0x18e3a1[_0xa5c3b1][_0x2206ad]={'objectID':_0x2206ad,'objectType':_0x373fd5,'actions':[]}),_0x18e3a1[_0xa5c3b1][_0x2206ad][_0x42b261(0x3de)]['push'](..._0x1f8acf),_0x18e3a1;},{}),_0x69d2a7=[];for(const _0xe03476 in _0x180270)for(const _0x5c33ed in _0x180270[_0xe03476]){const {actions:_0x20a5e2,objectType:_0x2cff13}=_0x180270[_0xe03476][_0x5c33ed],_0x5aea95=[...new Set(_0x20a5e2)];_0x69d2a7['push']({'unitID':_0xe03476,'objectID':_0x5c33ed,'objectType':_0x2cff13,'actions':_0x5aea95});}return new Y['HTTPRequest'](_0x5d1c15(0x324),_0x55b88d,{'headers':_0x58739d[_0x5d1c15(0x33d)],'withCredentials':_0x58739d[_0x5d1c15(0x2c4)],'responseType':_0x58739d[_0x5d1c15(0x33c)],'body':{'requests':_0x69d2a7}});}},{'distributeResult'(_0x4f3c1a,_0x509065){var _0x4e72ec=_0x53c743;const {objectActions:_0x4c06bc}=_0x4f3c1a;return _0x509065[_0x4e72ec(0x31a)](_0x450b20=>{var _0x617bc=_0x4e72ec;const {unitID:_0x2712bf,objectID:_0x3bb4b9,actions:_0x313356}=_0x450b20,_0x443321=_0x4c06bc[_0x617bc(0x368)](_0x2f1182=>_0x2f1182[_0x617bc(0x1c0)]===_0x2712bf&&_0x2f1182['objectID']===_0x3bb4b9),_0x220d30=_0x313356[_0x617bc(0x31a)](_0x56962c=>_0x443321==null?void 0x0:_0x443321[_0x617bc(0x3de)][_0x617bc(0x368)](_0x18d5d7=>_0x18d5d7['action']===_0x56962c))['filter'](_0x2b38da=>!!_0x2b38da);return{'config':_0x450b20,'result':{'actions':_0x220d30,'error':_0x4f3c1a['error']}};});}})}));}[_0x5d9338(0x319)](){var _0x1a4f59=_0x5d9338,_0x1c8c6c,_0x5c936e;const _0x4310c6=this[_0x1a4f59(0x44f)][_0x1a4f59(0x2ea)](Ve),_0x4cfd37=this[_0x1a4f59(0x44f)]['getConfig'](K);return(_0x5c936e=(_0x1c8c6c=_0x4cfd37==null?void 0x0:_0x4cfd37[_0x1a4f59(0x2a2)])!=null?_0x1c8c6c:_0x4310c6)!=null?_0x5c936e:Ri;}async[_0x5d9338(0x365)](_0xd99a16){var _0x4c6b78=_0x5d9338;const _0x16c0c4=this[_0x4c6b78(0x319)]()+'/'+_0xd99a16[_0x4c6b78(0x1ce)]+'/object';return(await this['_HTTPService'][_0x4c6b78(0x150)](_0x16c0c4,{'body':_0xd99a16}))['body']['objectID']||'';}async[_0x5d9338(0x224)](_0x4cf29e){var _0x225645=_0x5d9338;const _0x448d4c=this[_0x225645(0x319)]()+_0x225645(0x18e);return(await this[_0x225645(0x2c0)][_0x225645(0x150)](_0x448d4c,{'body':_0x4cf29e}))[_0x225645(0x11f)]['objects'];}async[_0x5d9338(0x42c)](_0x1b0967){var _0x4b97c5=_0x5d9338,_0x2ffcf4,_0x43da9c;const _0x3ee22e=this[_0x4b97c5(0x319)]()+'/'+_0x1b0967[_0x4b97c5(0x1ce)]+_0x4b97c5(0x2c5)+_0x1b0967[_0x4b97c5(0x1fe)],_0xd5198d=await this[_0x4b97c5(0x2c0)][_0x4b97c5(0x176)](_0x3ee22e,{'body':_0x1b0967});if(((_0x43da9c=(_0x2ffcf4=_0xd5198d==null?void 0x0:_0xd5198d[_0x4b97c5(0x11f)])==null?void 0x0:_0x2ffcf4[_0x4b97c5(0x45d)])==null?void 0x0:_0x43da9c[_0x4b97c5(0x151)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x28f9fc){var _0x4af829=_0x5d9338;const _0x4d38ea=this[_0x4af829(0x319)]()+'/'+_0x28f9fc['objectType']+_0x4af829(0x2c5)+_0x28f9fc[_0x4af829(0x1fe)]+_0x4af829(0x462);return(await this[_0x4af829(0x2c0)][_0x4af829(0x150)](_0x4d38ea,{'body':_0x28f9fc}))[_0x4af829(0x11f)][_0x4af829(0x3de)];}async[_0x5d9338(0x39c)](_0x145db4){var _0x4abf31=_0x5d9338;const _0x1a4281=this[_0x4abf31(0x319)]()+_0x4abf31(0x23d);return(await this[_0x4abf31(0x2c0)][_0x4abf31(0x150)](_0x1a4281,{'body':{'requests':_0x145db4}}))[_0x4abf31(0x11f)][_0x4abf31(0x360)];}async[_0x5d9338(0x451)](_0x2a30dc){var _0x5a62f2=_0x5d9338;const _0x3583be=this[_0x5a62f2(0x319)]()+'/'+_0x2a30dc['objectType']+'/role',_0x2063f3=await this['_HTTPService'][_0x5a62f2(0x150)](_0x3583be,{'body':_0x2a30dc});return{'roles':_0x2063f3[_0x5a62f2(0x11f)][_0x5a62f2(0x3f2)],'actions':_0x2063f3[_0x5a62f2(0x11f)][_0x5a62f2(0x3de)]};}async[_0x5d9338(0x31b)](_0x3b1f23){var _0x26bde1=_0x5d9338;const _0x4e4306=this[_0x26bde1(0x319)]()+_0x26bde1(0x424);await this[_0x26bde1(0x2c0)]['delete'](_0x4e4306,{'params':{'collaboratorID':_0x3b1f23[_0x26bde1(0x11b)],'objectID':_0x3b1f23[_0x26bde1(0x1fe)],'unitID':_0x3b1f23[_0x26bde1(0x1c0)]}});}async[_0x5d9338(0x28d)](_0x2323e7){var _0x550eb2=_0x5d9338;const _0x4dc747=this[_0x550eb2(0x319)]()+_0x550eb2(0x424);await this[_0x550eb2(0x2c0)]['patch'](_0x4dc747,{'body':_0x2323e7});}async[_0x5d9338(0x21c)](_0x15c42b){var _0x679dc6=_0x5d9338;const _0x13fa74=this[_0x679dc6(0x319)]()+_0x679dc6(0x424);await this[_0x679dc6(0x2c0)][_0x679dc6(0x150)](_0x13fa74,{'body':_0x15c42b});}async[_0x5d9338(0x1e1)](_0x1c276d){var _0x5ebb54=_0x5d9338;const _0x165a5a=this['_getAPIPrefixPath']()+_0x5ebb54(0x424);return(await this[_0x5ebb54(0x2c0)][_0x5ebb54(0x43d)](_0x165a5a,{'params':{'objectID':_0x1c276d[_0x5ebb54(0x1fe)],'unitID':_0x1c276d['unitID']}}))[_0x5ebb54(0x11f)]['collaborators'];}async['putCollaborators'](_0x59e923){var _0x6133a3=_0x5d9338;const _0xbb619d=this[_0x6133a3(0x319)]()+'/collaborator';await this[_0x6133a3(0x2c0)][_0x6133a3(0x176)](_0xbb619d,{'body':_0x59e923});}},exports[_0x5d9338(0x1be)]=bi([qe(0x0,a[_0x5d9338(0x15d)](Y[_0x5d9338(0x251)])),qe(0x1,a[_0x5d9338(0x15d)](a[_0x5d9338(0x410)]))],exports[_0x5d9338(0x1be)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0xb17696){var _0x439507=_0x5d9338;return _0xb17696&&_0xb17696['__esModule']&&Object[_0x439507(0x209)]['hasOwnProperty'][_0x439507(0x244)](_0xb17696,_0x439507(0x334))?_0xb17696[_0x439507(0x334)]:_0xb17696;}var fe={'exports':{}};function Oi(_0x5a0209){var _0x644649=_0x5d9338;throw new Error(_0x644649(0x3d5)+_0x5a0209+_0x644649(0x136));}var pe={'exports':{}},yi=pe[_0x5d9338(0x40b)],ze;function Q(){var _0x55a177=_0x5d9338;return ze||(ze=0x1,function(_0x457299,_0x5abe12){(function(_0x450e37,_0x25cc9e){var _0x1bbaab=_0x4a4a;_0x457299[_0x1bbaab(0x40b)]=_0x25cc9e();}(yi,function(){var _0x1b0ffa=_0x1b0ffa||function(_0x1538a9,_0x3e5be8){var _0x14794d=_0x4a4a,_0x15df33;if(typeof window<'u'&&window[_0x14794d(0x12d)]&&(_0x15df33=window[_0x14794d(0x12d)]),typeof self<'u'&&self['crypto']&&(_0x15df33=self[_0x14794d(0x12d)]),typeof globalThis<'u'&&globalThis[_0x14794d(0x12d)]&&(_0x15df33=globalThis[_0x14794d(0x12d)]),!_0x15df33&&typeof window<'u'&&window[_0x14794d(0x44c)]&&(_0x15df33=window[_0x14794d(0x44c)]),!_0x15df33&&typeof Pe<'u'&&Pe[_0x14794d(0x12d)]&&(_0x15df33=Pe[_0x14794d(0x12d)]),!_0x15df33&&typeof Oi=='function')try{_0x15df33=require(_0x14794d(0x12d));}catch{}var _0x8cf434=function(){var _0x2c7aa7=_0x14794d;if(_0x15df33){if(typeof _0x15df33['getRandomValues']==_0x2c7aa7(0x13d))try{return _0x15df33[_0x2c7aa7(0x17e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x15df33['randomBytes']==_0x2c7aa7(0x13d))try{return _0x15df33[_0x2c7aa7(0x2d1)](0x4)[_0x2c7aa7(0x14a)]();}catch{}}throw new Error(_0x2c7aa7(0x315));},_0x193933=Object[_0x14794d(0x365)]||(function(){function _0x5be1f2(){}return function(_0x3a89f8){var _0x349f09=_0x4a4a,_0xe7ef3;return _0x5be1f2[_0x349f09(0x209)]=_0x3a89f8,_0xe7ef3=new _0x5be1f2(),_0x5be1f2[_0x349f09(0x209)]=null,_0xe7ef3;};}()),_0x3669bb={},_0xbc83d1=_0x3669bb[_0x14794d(0x2ed)]={},_0x39e905=_0xbc83d1['Base']=(function(){return{'extend':function(_0x54a24e){var _0x3c3224=_0x4a4a,_0x2444e2=_0x193933(this);return _0x54a24e&&_0x2444e2['mixIn'](_0x54a24e),(!_0x2444e2[_0x3c3224(0x12c)](_0x3c3224(0x35f))||this[_0x3c3224(0x35f)]===_0x2444e2['init'])&&(_0x2444e2[_0x3c3224(0x35f)]=function(){var _0x5642ca=_0x3c3224;_0x2444e2[_0x5642ca(0x363)][_0x5642ca(0x35f)]['apply'](this,arguments);}),_0x2444e2[_0x3c3224(0x35f)][_0x3c3224(0x209)]=_0x2444e2,_0x2444e2[_0x3c3224(0x363)]=this,_0x2444e2;},'create':function(){var _0x3ec7f7=_0x4a4a,_0x40b1ce=this[_0x3ec7f7(0x45c)]();return _0x40b1ce['init'][_0x3ec7f7(0x232)](_0x40b1ce,arguments),_0x40b1ce;},'init':function(){},'mixIn':function(_0xd2af96){var _0x1af55a=_0x4a4a;for(var _0x23f119 in _0xd2af96)_0xd2af96[_0x1af55a(0x12c)](_0x23f119)&&(this[_0x23f119]=_0xd2af96[_0x23f119]);_0xd2af96[_0x1af55a(0x12c)](_0x1af55a(0x169))&&(this[_0x1af55a(0x169)]=_0xd2af96[_0x1af55a(0x169)]);},'clone':function(){var _0x2a39e6=_0x4a4a;return this[_0x2a39e6(0x35f)][_0x2a39e6(0x209)][_0x2a39e6(0x45c)](this);}};}()),_0x92f2e9=_0xbc83d1['WordArray']=_0x39e905[_0x14794d(0x45c)]({'init':function(_0x58d562,_0x488363){var _0x17c7a2=_0x14794d;_0x58d562=this[_0x17c7a2(0x317)]=_0x58d562||[],_0x488363!=_0x3e5be8?this[_0x17c7a2(0x1ac)]=_0x488363:this[_0x17c7a2(0x1ac)]=_0x58d562[_0x17c7a2(0x2f8)]*0x4;},'toString':function(_0x2bbea6){var _0x458294=_0x14794d;return(_0x2bbea6||_0x2a04ee)[_0x458294(0x1bf)](this);},'concat':function(_0x7f0ef3){var _0x1d5eef=_0x14794d,_0x5bd6cc=this['words'],_0x1eb2d3=_0x7f0ef3[_0x1d5eef(0x317)],_0x365749=this[_0x1d5eef(0x1ac)],_0x53728a=_0x7f0ef3[_0x1d5eef(0x1ac)];if(this[_0x1d5eef(0x2d5)](),_0x365749%0x4)for(var _0x42a664=0x0;_0x42a664<_0x53728a;_0x42a664++){var _0x2ebd45=_0x1eb2d3[_0x42a664>>>0x2]>>>0x18-_0x42a664%0x4*0x8&0xff;_0x5bd6cc[_0x365749+_0x42a664>>>0x2]|=_0x2ebd45<<0x18-(_0x365749+_0x42a664)%0x4*0x8;}else{for(var _0x39a7fe=0x0;_0x39a7fe<_0x53728a;_0x39a7fe+=0x4)_0x5bd6cc[_0x365749+_0x39a7fe>>>0x2]=_0x1eb2d3[_0x39a7fe>>>0x2];}return this[_0x1d5eef(0x1ac)]+=_0x53728a,this;},'clamp':function(){var _0xe92ef5=_0x14794d,_0x3dcb88=this[_0xe92ef5(0x317)],_0x126d0d=this[_0xe92ef5(0x1ac)];_0x3dcb88[_0x126d0d>>>0x2]&=0xffffffff<<0x20-_0x126d0d%0x4*0x8,_0x3dcb88[_0xe92ef5(0x2f8)]=_0x1538a9[_0xe92ef5(0x3ee)](_0x126d0d/0x4);},'clone':function(){var _0xf341b1=_0x14794d,_0x1e6714=_0x39e905[_0xf341b1(0x2e6)][_0xf341b1(0x244)](this);return _0x1e6714[_0xf341b1(0x317)]=this[_0xf341b1(0x317)][_0xf341b1(0x43e)](0x0),_0x1e6714;},'random':function(_0x3e3877){var _0x439238=_0x14794d;for(var _0x283402=[],_0xa2d4fd=0x0;_0xa2d4fd<_0x3e3877;_0xa2d4fd+=0x4)_0x283402[_0x439238(0x206)](_0x8cf434());return new _0x92f2e9[(_0x439238(0x35f))](_0x283402,_0x3e3877);}}),_0xd33490=_0x3669bb[_0x14794d(0x293)]={},_0x2a04ee=_0xd33490[_0x14794d(0x225)]={'stringify':function(_0xbb9246){var _0x4dbf51=_0x14794d;for(var _0x5aa836=_0xbb9246[_0x4dbf51(0x317)],_0x11260e=_0xbb9246[_0x4dbf51(0x1ac)],_0xdc470a=[],_0x583787=0x0;_0x583787<_0x11260e;_0x583787++){var _0x22ee92=_0x5aa836[_0x583787>>>0x2]>>>0x18-_0x583787%0x4*0x8&0xff;_0xdc470a[_0x4dbf51(0x206)]((_0x22ee92>>>0x4)[_0x4dbf51(0x169)](0x10)),_0xdc470a[_0x4dbf51(0x206)]((_0x22ee92&0xf)[_0x4dbf51(0x169)](0x10));}return _0xdc470a[_0x4dbf51(0x427)]('');},'parse':function(_0x3abfa0){var _0x32a710=_0x14794d;for(var _0x2b1dae=_0x3abfa0['length'],_0x14f7c0=[],_0xb5cfdb=0x0;_0xb5cfdb<_0x2b1dae;_0xb5cfdb+=0x2)_0x14f7c0[_0xb5cfdb>>>0x3]|=parseInt(_0x3abfa0['substr'](_0xb5cfdb,0x2),0x10)<<0x18-_0xb5cfdb%0x8*0x4;return new _0x92f2e9[(_0x32a710(0x35f))](_0x14f7c0,_0x2b1dae/0x2);}},_0x284aab=_0xd33490['Latin1']={'stringify':function(_0x1da82e){var _0x1af2b2=_0x14794d;for(var _0x20fd85=_0x1da82e[_0x1af2b2(0x317)],_0x31fa68=_0x1da82e['sigBytes'],_0x4387d1=[],_0x43e51a=0x0;_0x43e51a<_0x31fa68;_0x43e51a++){var _0x306ffa=_0x20fd85[_0x43e51a>>>0x2]>>>0x18-_0x43e51a%0x4*0x8&0xff;_0x4387d1[_0x1af2b2(0x206)](String[_0x1af2b2(0x1eb)](_0x306ffa));}return _0x4387d1[_0x1af2b2(0x427)]('');},'parse':function(_0x26153b){var _0xc587d1=_0x14794d;for(var _0x2ff233=_0x26153b[_0xc587d1(0x2f8)],_0x4ae6a1=[],_0x1889d8=0x0;_0x1889d8<_0x2ff233;_0x1889d8++)_0x4ae6a1[_0x1889d8>>>0x2]|=(_0x26153b[_0xc587d1(0x106)](_0x1889d8)&0xff)<<0x18-_0x1889d8%0x4*0x8;return new _0x92f2e9[(_0xc587d1(0x35f))](_0x4ae6a1,_0x2ff233);}},_0x3e2b09=_0xd33490[_0x14794d(0x11e)]={'stringify':function(_0x543316){var _0x41c154=_0x14794d;try{return decodeURIComponent(escape(_0x284aab[_0x41c154(0x1bf)](_0x543316)));}catch{throw new Error(_0x41c154(0x147));}},'parse':function(_0x4d87c7){var _0xcbe715=_0x14794d;return _0x284aab[_0xcbe715(0x32b)](unescape(encodeURIComponent(_0x4d87c7)));}},_0x4e79eb=_0xbc83d1['BufferedBlockAlgorithm']=_0x39e905[_0x14794d(0x45c)]({'reset':function(){var _0x3e4d73=_0x14794d;this[_0x3e4d73(0x342)]=new _0x92f2e9[(_0x3e4d73(0x35f))](),this[_0x3e4d73(0x213)]=0x0;},'_append':function(_0x197823){var _0x39e63b=_0x14794d;typeof _0x197823==_0x39e63b(0x26a)&&(_0x197823=_0x3e2b09[_0x39e63b(0x32b)](_0x197823)),this[_0x39e63b(0x342)][_0x39e63b(0x414)](_0x197823),this['_nDataBytes']+=_0x197823['sigBytes'];},'_process':function(_0x3640f0){var _0x40cf82=_0x14794d,_0x1a7f05,_0xccd898=this[_0x40cf82(0x342)],_0x12ef53=_0xccd898[_0x40cf82(0x317)],_0x13630a=_0xccd898[_0x40cf82(0x1ac)],_0x31904c=this['blockSize'],_0x5e22d0=_0x31904c*0x4,_0x342416=_0x13630a/_0x5e22d0;_0x3640f0?_0x342416=_0x1538a9[_0x40cf82(0x3ee)](_0x342416):_0x342416=_0x1538a9[_0x40cf82(0x430)]((_0x342416|0x0)-this[_0x40cf82(0x41a)],0x0);var _0x3af4a4=_0x342416*_0x31904c,_0x529912=_0x1538a9[_0x40cf82(0x20d)](_0x3af4a4*0x4,_0x13630a);if(_0x3af4a4){for(var _0x13f798=0x0;_0x13f798<_0x3af4a4;_0x13f798+=_0x31904c)this['_doProcessBlock'](_0x12ef53,_0x13f798);_0x1a7f05=_0x12ef53['splice'](0x0,_0x3af4a4),_0xccd898['sigBytes']-=_0x529912;}return new _0x92f2e9['init'](_0x1a7f05,_0x529912);},'clone':function(){var _0x1c0f90=_0x14794d,_0x1452fe=_0x39e905[_0x1c0f90(0x2e6)][_0x1c0f90(0x244)](this);return _0x1452fe[_0x1c0f90(0x342)]=this['_data'][_0x1c0f90(0x2e6)](),_0x1452fe;},'_minBufferSize':0x0});_0xbc83d1[_0x14794d(0x2b1)]=_0x4e79eb[_0x14794d(0x45c)]({'cfg':_0x39e905[_0x14794d(0x45c)](),'init':function(_0x2810e5){var _0xdb3d9c=_0x14794d;this['cfg']=this[_0xdb3d9c(0x2f7)]['extend'](_0x2810e5),this[_0xdb3d9c(0x3ce)]();},'reset':function(){var _0x449e3b=_0x14794d;_0x4e79eb[_0x449e3b(0x3ce)][_0x449e3b(0x244)](this),this[_0x449e3b(0x2ae)]();},'update':function(_0x14a92c){var _0x57d298=_0x14794d;return this['_append'](_0x14a92c),this[_0x57d298(0x170)](),this;},'finalize':function(_0x4da4f6){var _0x428981=_0x14794d;_0x4da4f6&&this[_0x428981(0x153)](_0x4da4f6);var _0x992803=this[_0x428981(0x40e)]();return _0x992803;},'blockSize':0x10,'_createHelper':function(_0x5f0974){return function(_0x5052ab,_0x42a43d){var _0x2f3d78=_0x4a4a;return new _0x5f0974[(_0x2f3d78(0x35f))](_0x42a43d)[_0x2f3d78(0x309)](_0x5052ab);};},'_createHmacHelper':function(_0x4d6a28){return function(_0xe53a88,_0x45bdd8){var _0xdd15de=_0x4a4a;return new _0x5b209e['HMAC'][(_0xdd15de(0x35f))](_0x4d6a28,_0x45bdd8)[_0xdd15de(0x309)](_0xe53a88);};}});var _0x5b209e=_0x3669bb['algo']={};return _0x3669bb;}(Math);return _0x1b0ffa;}));}(pe)),pe[_0x55a177(0x40b)];}var Ie={'exports':{}},Ni=Ie['exports'],Je;function yt(){var _0x9d87c1=_0x5d9338;return Je||(Je=0x1,function(_0xefe66d,_0x10e24c){(function(_0x1cbc8a,_0x3dff66){_0xefe66d['exports']=_0x3dff66(Q());}(Ni,function(_0xa64ebd){return(function(){var _0x4c65b6=_0x4a4a,_0x188188=_0xa64ebd,_0x594993=_0x188188[_0x4c65b6(0x2ed)],_0x43b3c3=_0x594993[_0x4c65b6(0x372)],_0x589079=_0x188188[_0x4c65b6(0x293)];_0x589079['Base64']={'stringify':function(_0x2cff1e){var _0x308573=_0x4c65b6,_0xfab2ff=_0x2cff1e['words'],_0x5d6684=_0x2cff1e[_0x308573(0x1ac)],_0x66011d=this['_map'];_0x2cff1e['clamp']();for(var _0x406b81=[],_0x1d3435=0x0;_0x1d3435<_0x5d6684;_0x1d3435+=0x3)for(var _0x5cb43c=_0xfab2ff[_0x1d3435>>>0x2]>>>0x18-_0x1d3435%0x4*0x8&0xff,_0x4d81ed=_0xfab2ff[_0x1d3435+0x1>>>0x2]>>>0x18-(_0x1d3435+0x1)%0x4*0x8&0xff,_0x3f9991=_0xfab2ff[_0x1d3435+0x2>>>0x2]>>>0x18-(_0x1d3435+0x2)%0x4*0x8&0xff,_0x3d5198=_0x5cb43c<<0x10|_0x4d81ed<<0x8|_0x3f9991,_0x17f242=0x0;_0x17f242<0x4&&_0x1d3435+_0x17f242*0.75<_0x5d6684;_0x17f242++)_0x406b81[_0x308573(0x206)](_0x66011d[_0x308573(0x313)](_0x3d5198>>>0x6*(0x3-_0x17f242)&0x3f));var _0x231336=_0x66011d[_0x308573(0x313)](0x40);if(_0x231336){for(;_0x406b81[_0x308573(0x2f8)]%0x4;)_0x406b81['push'](_0x231336);}return _0x406b81[_0x308573(0x427)]('');},'parse':function(_0x227ba6){var _0x3d15eb=_0x4c65b6,_0x2c958b=_0x227ba6['length'],_0x16c285=this[_0x3d15eb(0x275)],_0x5ef83b=this[_0x3d15eb(0x285)];if(!_0x5ef83b){_0x5ef83b=this[_0x3d15eb(0x285)]=[];for(var _0x34d0c8=0x0;_0x34d0c8<_0x16c285[_0x3d15eb(0x2f8)];_0x34d0c8++)_0x5ef83b[_0x16c285[_0x3d15eb(0x106)](_0x34d0c8)]=_0x34d0c8;}var _0x17e535=_0x16c285[_0x3d15eb(0x313)](0x40);if(_0x17e535){var _0x33933b=_0x227ba6[_0x3d15eb(0x210)](_0x17e535);_0x33933b!==-0x1&&(_0x2c958b=_0x33933b);}return _0x422c27(_0x227ba6,_0x2c958b,_0x5ef83b);},'_map':_0x4c65b6(0x104)};function _0x422c27(_0x15f5d4,_0x157a8b,_0x1f4852){var _0x400fd3=_0x4c65b6;for(var _0x1a7360=[],_0x3d89c2=0x0,_0x178e3c=0x0;_0x178e3c<_0x157a8b;_0x178e3c++)if(_0x178e3c%0x4){var _0x3eab8e=_0x1f4852[_0x15f5d4[_0x400fd3(0x106)](_0x178e3c-0x1)]<<_0x178e3c%0x4*0x2,_0x25b4ee=_0x1f4852[_0x15f5d4[_0x400fd3(0x106)](_0x178e3c)]>>>0x6-_0x178e3c%0x4*0x2,_0x30b368=_0x3eab8e|_0x25b4ee;_0x1a7360[_0x3d89c2>>>0x2]|=_0x30b368<<0x18-_0x3d89c2%0x4*0x8,_0x3d89c2++;}return _0x43b3c3[_0x400fd3(0x365)](_0x1a7360,_0x3d89c2);}}()),_0xa64ebd['enc']['Base64'];}));}(Ie)),Ie[_0x9d87c1(0x40b)];}var ge={'exports':{}},Ui=ge[_0x5d9338(0x40b)],Xe;function Di(){var _0x44e0a4=_0x5d9338;return Xe||(Xe=0x1,function(_0xca7f5,_0x55e184){(function(_0x4c850e,_0x5d29a4){var _0x5813ca=_0x4a4a;_0xca7f5[_0x5813ca(0x40b)]=_0x5d29a4(Q());}(Ui,function(_0x4702e0){var _0x4471f8=_0x4a4a;return function(_0x1f9965){var _0x4c52dd=_0x4a4a,_0x2ddc78=_0x4702e0,_0x23a5a0=_0x2ddc78['lib'],_0x735876=_0x23a5a0[_0x4c52dd(0x372)],_0x3982fd=_0x23a5a0[_0x4c52dd(0x2b1)],_0x2ba478=_0x2ddc78[_0x4c52dd(0x3b3)],_0x1e4c7d=[];(function(){var _0x2445ef=_0x4c52dd;for(var _0xd74d05=0x0;_0xd74d05<0x40;_0xd74d05++)_0x1e4c7d[_0xd74d05]=_0x1f9965[_0x2445ef(0x33b)](_0x1f9965[_0x2445ef(0x10b)](_0xd74d05+0x1))*0x100000000|0x0;}());var _0x5380eb=_0x2ba478[_0x4c52dd(0x302)]=_0x3982fd[_0x4c52dd(0x45c)]({'_doReset':function(){var _0x287dba=_0x4c52dd;this['_hash']=new _0x735876[(_0x287dba(0x35f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3a1fa3,_0x25c624){var _0x2d3ed9=_0x4c52dd;for(var _0x364485=0x0;_0x364485<0x10;_0x364485++){var _0x278035=_0x25c624+_0x364485,_0x32af2b=_0x3a1fa3[_0x278035];_0x3a1fa3[_0x278035]=(_0x32af2b<<0x8|_0x32af2b>>>0x18)&0xff00ff|(_0x32af2b<<0x18|_0x32af2b>>>0x8)&0xff00ff00;}var _0x5475ad=this['_hash'][_0x2d3ed9(0x317)],_0x113699=_0x3a1fa3[_0x25c624+0x0],_0x1a8678=_0x3a1fa3[_0x25c624+0x1],_0x5203bb=_0x3a1fa3[_0x25c624+0x2],_0xe108de=_0x3a1fa3[_0x25c624+0x3],_0x3a470b=_0x3a1fa3[_0x25c624+0x4],_0x58c48a=_0x3a1fa3[_0x25c624+0x5],_0x5499c2=_0x3a1fa3[_0x25c624+0x6],_0x451ede=_0x3a1fa3[_0x25c624+0x7],_0x141882=_0x3a1fa3[_0x25c624+0x8],_0x4bd79e=_0x3a1fa3[_0x25c624+0x9],_0x4a2b7e=_0x3a1fa3[_0x25c624+0xa],_0x1f82f2=_0x3a1fa3[_0x25c624+0xb],_0x34960b=_0x3a1fa3[_0x25c624+0xc],_0x16f3ef=_0x3a1fa3[_0x25c624+0xd],_0x2357bc=_0x3a1fa3[_0x25c624+0xe],_0x1ee015=_0x3a1fa3[_0x25c624+0xf],_0x209a77=_0x5475ad[0x0],_0x48116a=_0x5475ad[0x1],_0x338181=_0x5475ad[0x2],_0x3c77d9=_0x5475ad[0x3];_0x209a77=_0x56ab4f(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x113699,0x7,_0x1e4c7d[0x0]),_0x3c77d9=_0x56ab4f(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x1a8678,0xc,_0x1e4c7d[0x1]),_0x338181=_0x56ab4f(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x5203bb,0x11,_0x1e4c7d[0x2]),_0x48116a=_0x56ab4f(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0xe108de,0x16,_0x1e4c7d[0x3]),_0x209a77=_0x56ab4f(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x3a470b,0x7,_0x1e4c7d[0x4]),_0x3c77d9=_0x56ab4f(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x58c48a,0xc,_0x1e4c7d[0x5]),_0x338181=_0x56ab4f(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x5499c2,0x11,_0x1e4c7d[0x6]),_0x48116a=_0x56ab4f(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x451ede,0x16,_0x1e4c7d[0x7]),_0x209a77=_0x56ab4f(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x141882,0x7,_0x1e4c7d[0x8]),_0x3c77d9=_0x56ab4f(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x4bd79e,0xc,_0x1e4c7d[0x9]),_0x338181=_0x56ab4f(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x4a2b7e,0x11,_0x1e4c7d[0xa]),_0x48116a=_0x56ab4f(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x1f82f2,0x16,_0x1e4c7d[0xb]),_0x209a77=_0x56ab4f(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x34960b,0x7,_0x1e4c7d[0xc]),_0x3c77d9=_0x56ab4f(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x16f3ef,0xc,_0x1e4c7d[0xd]),_0x338181=_0x56ab4f(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x2357bc,0x11,_0x1e4c7d[0xe]),_0x48116a=_0x56ab4f(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x1ee015,0x16,_0x1e4c7d[0xf]),_0x209a77=_0x469a9c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x1a8678,0x5,_0x1e4c7d[0x10]),_0x3c77d9=_0x469a9c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x5499c2,0x9,_0x1e4c7d[0x11]),_0x338181=_0x469a9c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x1f82f2,0xe,_0x1e4c7d[0x12]),_0x48116a=_0x469a9c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x113699,0x14,_0x1e4c7d[0x13]),_0x209a77=_0x469a9c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x58c48a,0x5,_0x1e4c7d[0x14]),_0x3c77d9=_0x469a9c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x4a2b7e,0x9,_0x1e4c7d[0x15]),_0x338181=_0x469a9c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x1ee015,0xe,_0x1e4c7d[0x16]),_0x48116a=_0x469a9c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x3a470b,0x14,_0x1e4c7d[0x17]),_0x209a77=_0x469a9c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x4bd79e,0x5,_0x1e4c7d[0x18]),_0x3c77d9=_0x469a9c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x2357bc,0x9,_0x1e4c7d[0x19]),_0x338181=_0x469a9c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0xe108de,0xe,_0x1e4c7d[0x1a]),_0x48116a=_0x469a9c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x141882,0x14,_0x1e4c7d[0x1b]),_0x209a77=_0x469a9c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x16f3ef,0x5,_0x1e4c7d[0x1c]),_0x3c77d9=_0x469a9c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x5203bb,0x9,_0x1e4c7d[0x1d]),_0x338181=_0x469a9c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x451ede,0xe,_0x1e4c7d[0x1e]),_0x48116a=_0x469a9c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x34960b,0x14,_0x1e4c7d[0x1f]),_0x209a77=_0x27b13c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x58c48a,0x4,_0x1e4c7d[0x20]),_0x3c77d9=_0x27b13c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x141882,0xb,_0x1e4c7d[0x21]),_0x338181=_0x27b13c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x1f82f2,0x10,_0x1e4c7d[0x22]),_0x48116a=_0x27b13c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x2357bc,0x17,_0x1e4c7d[0x23]),_0x209a77=_0x27b13c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x1a8678,0x4,_0x1e4c7d[0x24]),_0x3c77d9=_0x27b13c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x3a470b,0xb,_0x1e4c7d[0x25]),_0x338181=_0x27b13c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x451ede,0x10,_0x1e4c7d[0x26]),_0x48116a=_0x27b13c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x4a2b7e,0x17,_0x1e4c7d[0x27]),_0x209a77=_0x27b13c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x16f3ef,0x4,_0x1e4c7d[0x28]),_0x3c77d9=_0x27b13c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x113699,0xb,_0x1e4c7d[0x29]),_0x338181=_0x27b13c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0xe108de,0x10,_0x1e4c7d[0x2a]),_0x48116a=_0x27b13c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x5499c2,0x17,_0x1e4c7d[0x2b]),_0x209a77=_0x27b13c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x4bd79e,0x4,_0x1e4c7d[0x2c]),_0x3c77d9=_0x27b13c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x34960b,0xb,_0x1e4c7d[0x2d]),_0x338181=_0x27b13c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x1ee015,0x10,_0x1e4c7d[0x2e]),_0x48116a=_0x27b13c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x5203bb,0x17,_0x1e4c7d[0x2f]),_0x209a77=_0x23e68b(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x113699,0x6,_0x1e4c7d[0x30]),_0x3c77d9=_0x23e68b(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x451ede,0xa,_0x1e4c7d[0x31]),_0x338181=_0x23e68b(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x2357bc,0xf,_0x1e4c7d[0x32]),_0x48116a=_0x23e68b(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x58c48a,0x15,_0x1e4c7d[0x33]),_0x209a77=_0x23e68b(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x34960b,0x6,_0x1e4c7d[0x34]),_0x3c77d9=_0x23e68b(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0xe108de,0xa,_0x1e4c7d[0x35]),_0x338181=_0x23e68b(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x4a2b7e,0xf,_0x1e4c7d[0x36]),_0x48116a=_0x23e68b(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x1a8678,0x15,_0x1e4c7d[0x37]),_0x209a77=_0x23e68b(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x141882,0x6,_0x1e4c7d[0x38]),_0x3c77d9=_0x23e68b(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x1ee015,0xa,_0x1e4c7d[0x39]),_0x338181=_0x23e68b(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x5499c2,0xf,_0x1e4c7d[0x3a]),_0x48116a=_0x23e68b(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x16f3ef,0x15,_0x1e4c7d[0x3b]),_0x209a77=_0x23e68b(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x3a470b,0x6,_0x1e4c7d[0x3c]),_0x3c77d9=_0x23e68b(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x1f82f2,0xa,_0x1e4c7d[0x3d]),_0x338181=_0x23e68b(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x5203bb,0xf,_0x1e4c7d[0x3e]),_0x48116a=_0x23e68b(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x4bd79e,0x15,_0x1e4c7d[0x3f]),_0x5475ad[0x0]=_0x5475ad[0x0]+_0x209a77|0x0,_0x5475ad[0x1]=_0x5475ad[0x1]+_0x48116a|0x0,_0x5475ad[0x2]=_0x5475ad[0x2]+_0x338181|0x0,_0x5475ad[0x3]=_0x5475ad[0x3]+_0x3c77d9|0x0;},'_doFinalize':function(){var _0x15a238=_0x4c52dd,_0x24e422=this[_0x15a238(0x342)],_0x1f1d32=_0x24e422[_0x15a238(0x317)],_0x5766a2=this[_0x15a238(0x213)]*0x8,_0x4d978e=_0x24e422['sigBytes']*0x8;_0x1f1d32[_0x4d978e>>>0x5]|=0x80<<0x18-_0x4d978e%0x20;var _0x4e5de3=_0x1f9965[_0x15a238(0x108)](_0x5766a2/0x100000000),_0x5d707c=_0x5766a2;_0x1f1d32[(_0x4d978e+0x40>>>0x9<<0x4)+0xf]=(_0x4e5de3<<0x8|_0x4e5de3>>>0x18)&0xff00ff|(_0x4e5de3<<0x18|_0x4e5de3>>>0x8)&0xff00ff00,_0x1f1d32[(_0x4d978e+0x40>>>0x9<<0x4)+0xe]=(_0x5d707c<<0x8|_0x5d707c>>>0x18)&0xff00ff|(_0x5d707c<<0x18|_0x5d707c>>>0x8)&0xff00ff00,_0x24e422[_0x15a238(0x1ac)]=(_0x1f1d32[_0x15a238(0x2f8)]+0x1)*0x4,this[_0x15a238(0x170)]();for(var _0x33f91d=this['_hash'],_0x59ef52=_0x33f91d[_0x15a238(0x317)],_0x2bae41=0x0;_0x2bae41<0x4;_0x2bae41++){var _0x1f879f=_0x59ef52[_0x2bae41];_0x59ef52[_0x2bae41]=(_0x1f879f<<0x8|_0x1f879f>>>0x18)&0xff00ff|(_0x1f879f<<0x18|_0x1f879f>>>0x8)&0xff00ff00;}return _0x33f91d;},'clone':function(){var _0x1200fc=_0x4c52dd,_0x68a389=_0x3982fd['clone'][_0x1200fc(0x244)](this);return _0x68a389[_0x1200fc(0x344)]=this['_hash'][_0x1200fc(0x2e6)](),_0x68a389;}});function _0x56ab4f(_0x4b793d,_0x2f9393,_0x2ae5c1,_0x588f02,_0x3b244f,_0x3f338e,_0x3071b3){var _0x22d0ba=_0x4b793d+(_0x2f9393&_0x2ae5c1|~_0x2f9393&_0x588f02)+_0x3b244f+_0x3071b3;return(_0x22d0ba<<_0x3f338e|_0x22d0ba>>>0x20-_0x3f338e)+_0x2f9393;}function _0x469a9c(_0x421eca,_0x4081fe,_0x384d4b,_0x5261a5,_0x359b2e,_0x39692e,_0x147423){var _0x3d4de2=_0x421eca+(_0x4081fe&_0x5261a5|_0x384d4b&~_0x5261a5)+_0x359b2e+_0x147423;return(_0x3d4de2<<_0x39692e|_0x3d4de2>>>0x20-_0x39692e)+_0x4081fe;}function _0x27b13c(_0x17b482,_0xce4b16,_0x3c7787,_0x37feb3,_0x3a9c35,_0x13abcb,_0x15f47b){var _0x4f8901=_0x17b482+(_0xce4b16^_0x3c7787^_0x37feb3)+_0x3a9c35+_0x15f47b;return(_0x4f8901<<_0x13abcb|_0x4f8901>>>0x20-_0x13abcb)+_0xce4b16;}function _0x23e68b(_0x55683,_0x2dd6a8,_0x1d9cfd,_0x32e5f0,_0x2b4ce2,_0x313f03,_0x5bfda6){var _0x3dec17=_0x55683+(_0x1d9cfd^(_0x2dd6a8|~_0x32e5f0))+_0x2b4ce2+_0x5bfda6;return(_0x3dec17<<_0x313f03|_0x3dec17>>>0x20-_0x313f03)+_0x2dd6a8;}_0x2ddc78[_0x4c52dd(0x302)]=_0x3982fd[_0x4c52dd(0x1f7)](_0x5380eb),_0x2ddc78[_0x4c52dd(0x42e)]=_0x3982fd[_0x4c52dd(0x36c)](_0x5380eb);}(Math),_0x4702e0[_0x4471f8(0x302)];}));}(ge)),ge[_0x44e0a4(0x40b)];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){var _0x343ba3=_0x5d9338;return Ze||(Ze=0x1,function(_0x19f40b,_0x471904){(function(_0x340189,_0x39dff1){var _0x10b378=_0x4a4a;_0x19f40b[_0x10b378(0x40b)]=_0x39dff1(Q());}(Ai,function(_0x1aaa0f){var _0x4f290d=_0x4a4a;return(function(){var _0x59766a=_0x4a4a,_0x399b2c=_0x1aaa0f,_0x5875cf=_0x399b2c[_0x59766a(0x2ed)],_0x1728a6=_0x5875cf[_0x59766a(0x372)],_0x4617d4=_0x5875cf[_0x59766a(0x2b1)],_0x2c10bf=_0x399b2c[_0x59766a(0x3b3)],_0x12e1db=[],_0x26dcc9=_0x2c10bf['SHA1']=_0x4617d4[_0x59766a(0x45c)]({'_doReset':function(){var _0x4f794f=_0x59766a;this[_0x4f794f(0x344)]=new _0x1728a6[(_0x4f794f(0x35f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2a5bfa,_0x4c909a){var _0x143fc4=_0x59766a;for(var _0x43d42f=this[_0x143fc4(0x344)][_0x143fc4(0x317)],_0x871cfd=_0x43d42f[0x0],_0x422e79=_0x43d42f[0x1],_0x4d8dd0=_0x43d42f[0x2],_0x3f6ae8=_0x43d42f[0x3],_0x40fce1=_0x43d42f[0x4],_0x3275a1=0x0;_0x3275a1<0x50;_0x3275a1++){if(_0x3275a1<0x10)_0x12e1db[_0x3275a1]=_0x2a5bfa[_0x4c909a+_0x3275a1]|0x0;else{var _0x2d7483=_0x12e1db[_0x3275a1-0x3]^_0x12e1db[_0x3275a1-0x8]^_0x12e1db[_0x3275a1-0xe]^_0x12e1db[_0x3275a1-0x10];_0x12e1db[_0x3275a1]=_0x2d7483<<0x1|_0x2d7483>>>0x1f;}var _0x3dbc58=(_0x871cfd<<0x5|_0x871cfd>>>0x1b)+_0x40fce1+_0x12e1db[_0x3275a1];_0x3275a1<0x14?_0x3dbc58+=(_0x422e79&_0x4d8dd0|~_0x422e79&_0x3f6ae8)+0x5a827999:_0x3275a1<0x28?_0x3dbc58+=(_0x422e79^_0x4d8dd0^_0x3f6ae8)+0x6ed9eba1:_0x3275a1<0x3c?_0x3dbc58+=(_0x422e79&_0x4d8dd0|_0x422e79&_0x3f6ae8|_0x4d8dd0&_0x3f6ae8)-0x70e44324:_0x3dbc58+=(_0x422e79^_0x4d8dd0^_0x3f6ae8)-0x359d3e2a,_0x40fce1=_0x3f6ae8,_0x3f6ae8=_0x4d8dd0,_0x4d8dd0=_0x422e79<<0x1e|_0x422e79>>>0x2,_0x422e79=_0x871cfd,_0x871cfd=_0x3dbc58;}_0x43d42f[0x0]=_0x43d42f[0x0]+_0x871cfd|0x0,_0x43d42f[0x1]=_0x43d42f[0x1]+_0x422e79|0x0,_0x43d42f[0x2]=_0x43d42f[0x2]+_0x4d8dd0|0x0,_0x43d42f[0x3]=_0x43d42f[0x3]+_0x3f6ae8|0x0,_0x43d42f[0x4]=_0x43d42f[0x4]+_0x40fce1|0x0;},'_doFinalize':function(){var _0x17edba=_0x59766a,_0x458624=this['_data'],_0x276eca=_0x458624[_0x17edba(0x317)],_0x577ae3=this[_0x17edba(0x213)]*0x8,_0x323663=_0x458624[_0x17edba(0x1ac)]*0x8;return _0x276eca[_0x323663>>>0x5]|=0x80<<0x18-_0x323663%0x20,_0x276eca[(_0x323663+0x40>>>0x9<<0x4)+0xe]=Math[_0x17edba(0x108)](_0x577ae3/0x100000000),_0x276eca[(_0x323663+0x40>>>0x9<<0x4)+0xf]=_0x577ae3,_0x458624[_0x17edba(0x1ac)]=_0x276eca[_0x17edba(0x2f8)]*0x4,this[_0x17edba(0x170)](),this[_0x17edba(0x344)];},'clone':function(){var _0x2b5d8f=_0x59766a,_0x1c1497=_0x4617d4[_0x2b5d8f(0x2e6)][_0x2b5d8f(0x244)](this);return _0x1c1497[_0x2b5d8f(0x344)]=this[_0x2b5d8f(0x344)][_0x2b5d8f(0x2e6)](),_0x1c1497;}});_0x399b2c[_0x59766a(0x3e7)]=_0x4617d4[_0x59766a(0x1f7)](_0x26dcc9),_0x399b2c[_0x59766a(0x304)]=_0x4617d4[_0x59766a(0x36c)](_0x26dcc9);}()),_0x1aaa0f[_0x4f290d(0x3e7)];}));}(me)),me[_0x343ba3(0x40b)];}var Ce={'exports':{}},wi=Ce[_0x5d9338(0x40b)],Qe;function Li(){var _0x59a271=_0x5d9338;return Qe||(Qe=0x1,function(_0x2556bf,_0x279f91){(function(_0x449e1f,_0x5a76de){_0x2556bf['exports']=_0x5a76de(Q());}(wi,function(_0x1d70fc){(function(){var _0x4896b8=_0x4a4a,_0x5c689a=_0x1d70fc,_0x5918b3=_0x5c689a[_0x4896b8(0x2ed)],_0x43b207=_0x5918b3[_0x4896b8(0x444)],_0x780e1a=_0x5c689a['enc'],_0x5bc87a=_0x780e1a[_0x4896b8(0x11e)],_0x2b3df5=_0x5c689a['algo'];_0x2b3df5[_0x4896b8(0x44a)]=_0x43b207['extend']({'init':function(_0x57ffde,_0x14c94e){var _0x4ecd8d=_0x4896b8;_0x57ffde=this[_0x4ecd8d(0x38a)]=new _0x57ffde[(_0x4ecd8d(0x35f))](),typeof _0x14c94e==_0x4ecd8d(0x26a)&&(_0x14c94e=_0x5bc87a[_0x4ecd8d(0x32b)](_0x14c94e));var _0xeeef15=_0x57ffde[_0x4ecd8d(0x24f)],_0x2d94af=_0xeeef15*0x4;_0x14c94e[_0x4ecd8d(0x1ac)]>_0x2d94af&&(_0x14c94e=_0x57ffde[_0x4ecd8d(0x309)](_0x14c94e)),_0x14c94e[_0x4ecd8d(0x2d5)]();for(var _0x3377ad=this['_oKey']=_0x14c94e[_0x4ecd8d(0x2e6)](),_0x35d4ee=this['_iKey']=_0x14c94e['clone'](),_0xb70410=_0x3377ad[_0x4ecd8d(0x317)],_0x506de4=_0x35d4ee[_0x4ecd8d(0x317)],_0xcafd25=0x0;_0xcafd25<_0xeeef15;_0xcafd25++)_0xb70410[_0xcafd25]^=0x5c5c5c5c,_0x506de4[_0xcafd25]^=0x36363636;_0x3377ad[_0x4ecd8d(0x1ac)]=_0x35d4ee['sigBytes']=_0x2d94af,this['reset']();},'reset':function(){var _0x1bbb00=_0x4896b8,_0x565ed3=this[_0x1bbb00(0x38a)];_0x565ed3[_0x1bbb00(0x3ce)](),_0x565ed3[_0x1bbb00(0x42c)](this[_0x1bbb00(0x11c)]);},'update':function(_0x579446){var _0x5b1366=_0x4896b8;return this[_0x5b1366(0x38a)][_0x5b1366(0x42c)](_0x579446),this;},'finalize':function(_0x5c0413){var _0x162046=_0x4896b8,_0x64b1af=this['_hasher'],_0x47d8e1=_0x64b1af[_0x162046(0x309)](_0x5c0413);_0x64b1af[_0x162046(0x3ce)]();var _0xa52b93=_0x64b1af['finalize'](this[_0x162046(0x396)]['clone']()[_0x162046(0x414)](_0x47d8e1));return _0xa52b93;}});}());}));}(Ce)),Ce[_0x59a271(0x40b)];}var Mi=Ee[_0x5d9338(0x40b)],et;function Nt(){var _0x126b58=_0x5d9338;return et||(et=0x1,function(_0x963647,_0xb07703){(function(_0x5af74a,_0x397ec3,_0x45ec37){var _0x3750ce=_0x4a4a;_0x963647[_0x3750ce(0x40b)]=_0x397ec3(Q(),Pi(),Li());}(Mi,function(_0x270795){return(function(){var _0x54b535=_0x4a4a,_0x4acff5=_0x270795,_0xfea4b2=_0x4acff5[_0x54b535(0x2ed)],_0xbcfb92=_0xfea4b2[_0x54b535(0x444)],_0x3e7eba=_0xfea4b2['WordArray'],_0x4839e7=_0x4acff5['algo'],_0x4fc64b=_0x4839e7['MD5'],_0x46d35f=_0x4839e7['EvpKDF']=_0xbcfb92['extend']({'cfg':_0xbcfb92[_0x54b535(0x45c)]({'keySize':0x80/0x20,'hasher':_0x4fc64b,'iterations':0x1}),'init':function(_0x28782e){var _0xd6ee79=_0x54b535;this[_0xd6ee79(0x2f7)]=this[_0xd6ee79(0x2f7)][_0xd6ee79(0x45c)](_0x28782e);},'compute':function(_0xa48a22,_0x5376e9){var _0x4d5b2b=_0x54b535;for(var _0x37aa82,_0x3384af=this[_0x4d5b2b(0x2f7)],_0x3ebffa=_0x3384af['hasher'][_0x4d5b2b(0x365)](),_0x3e1663=_0x3e7eba[_0x4d5b2b(0x365)](),_0xa34212=_0x3e1663[_0x4d5b2b(0x317)],_0x5c346f=_0x3384af[_0x4d5b2b(0x202)],_0x1f8fdc=_0x3384af['iterations'];_0xa34212[_0x4d5b2b(0x2f8)]<_0x5c346f;){_0x37aa82&&_0x3ebffa[_0x4d5b2b(0x42c)](_0x37aa82),_0x37aa82=_0x3ebffa[_0x4d5b2b(0x42c)](_0xa48a22)[_0x4d5b2b(0x309)](_0x5376e9),_0x3ebffa['reset']();for(var _0x163b3e=0x1;_0x163b3e<_0x1f8fdc;_0x163b3e++)_0x37aa82=_0x3ebffa[_0x4d5b2b(0x309)](_0x37aa82),_0x3ebffa[_0x4d5b2b(0x3ce)]();_0x3e1663[_0x4d5b2b(0x414)](_0x37aa82);}return _0x3e1663[_0x4d5b2b(0x1ac)]=_0x5c346f*0x4,_0x3e1663;}});_0x4acff5[_0x54b535(0x1d3)]=function(_0x11ebdc,_0x13282b,_0x358d91){var _0x107d1d=_0x54b535;return _0x46d35f['create'](_0x358d91)[_0x107d1d(0x294)](_0x11ebdc,_0x13282b);};}()),_0x270795['EvpKDF'];}));}(Ee)),Ee[_0x126b58(0x40b)];}var Te={'exports':{}},xi=Te[_0x5d9338(0x40b)],tt;function Ut(){var _0x57b133=_0x5d9338;return tt||(tt=0x1,function(_0x47d3f9,_0x2c8e2e){(function(_0x493d59,_0x2d6042,_0x42d1fb){_0x47d3f9['exports']=_0x2d6042(Q(),Nt());}(xi,function(_0x4b7fc0){var _0x3cdfe2=_0x4a4a;_0x4b7fc0[_0x3cdfe2(0x2ed)][_0x3cdfe2(0x22b)]||function(_0x5ec85c){var _0x17488d=_0x3cdfe2,_0x44ca6f=_0x4b7fc0,_0x5c71b0=_0x44ca6f[_0x17488d(0x2ed)],_0x432d5a=_0x5c71b0[_0x17488d(0x444)],_0x1f7630=_0x5c71b0[_0x17488d(0x372)],_0x24e6ea=_0x5c71b0[_0x17488d(0x172)],_0x416f85=_0x44ca6f[_0x17488d(0x293)];_0x416f85[_0x17488d(0x11e)];var _0x48181e=_0x416f85['Base64'],_0x459649=_0x44ca6f['algo'],_0x593da6=_0x459649['EvpKDF'],_0x5320fd=_0x5c71b0[_0x17488d(0x22b)]=_0x24e6ea[_0x17488d(0x45c)]({'cfg':_0x432d5a[_0x17488d(0x45c)](),'createEncryptor':function(_0xe8d2de,_0x2114ad){var _0x403e26=_0x17488d;return this[_0x403e26(0x365)](this[_0x403e26(0x263)],_0xe8d2de,_0x2114ad);},'createDecryptor':function(_0xbdc99d,_0x4d28a1){var _0x29e66c=_0x17488d;return this[_0x29e66c(0x365)](this[_0x29e66c(0x270)],_0xbdc99d,_0x4d28a1);},'init':function(_0x36ff99,_0xa23ce4,_0x16efca){var _0x3805a=_0x17488d;this['cfg']=this['cfg'][_0x3805a(0x45c)](_0x16efca),this[_0x3805a(0x267)]=_0x36ff99,this[_0x3805a(0x269)]=_0xa23ce4,this[_0x3805a(0x3ce)]();},'reset':function(){var _0x12dfd4=_0x17488d;_0x24e6ea[_0x12dfd4(0x3ce)][_0x12dfd4(0x244)](this),this[_0x12dfd4(0x2ae)]();},'process':function(_0x21f2f2){var _0x4fb520=_0x17488d;return this[_0x4fb520(0x153)](_0x21f2f2),this['_process']();},'finalize':function(_0x285dfd){var _0x78d5f2=_0x17488d;_0x285dfd&&this['_append'](_0x285dfd);var _0x25bc38=this[_0x78d5f2(0x40e)]();return _0x25bc38;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x11a750(_0x144267){var _0x233b83=_0x4a4a;return typeof _0x144267==_0x233b83(0x26a)?_0x4a490b:_0x43f542;}return function(_0x455689){return{'encrypt':function(_0x520723,_0x58b41f,_0x12c619){var _0x54a1b6=_0x4a4a;return _0x11a750(_0x58b41f)[_0x54a1b6(0x406)](_0x455689,_0x520723,_0x58b41f,_0x12c619);},'decrypt':function(_0xda9fad,_0x324427,_0x17cbce){var _0x61852d=_0x4a4a;return _0x11a750(_0x324427)[_0x61852d(0x3fd)](_0x455689,_0xda9fad,_0x324427,_0x17cbce);}};};}())});_0x5c71b0[_0x17488d(0x2d0)]=_0x5320fd[_0x17488d(0x45c)]({'_doFinalize':function(){var _0x1d5765=this['_process'](!0x0);return _0x1d5765;},'blockSize':0x1});var _0x5ae2b8=_0x44ca6f[_0x17488d(0x29a)]={},_0x4807ac=_0x5c71b0[_0x17488d(0x32e)]=_0x432d5a[_0x17488d(0x45c)]({'createEncryptor':function(_0x4bc25a,_0x149014){var _0x259338=_0x17488d;return this[_0x259338(0x44d)][_0x259338(0x365)](_0x4bc25a,_0x149014);},'createDecryptor':function(_0x1a0f69,_0x46a0bf){var _0x3d2b7b=_0x17488d;return this[_0x3d2b7b(0x325)]['create'](_0x1a0f69,_0x46a0bf);},'init':function(_0x348afb,_0x53e301){var _0x5576e3=_0x17488d;this[_0x5576e3(0x122)]=_0x348afb,this['_iv']=_0x53e301;}}),_0x431d1b=_0x5ae2b8[_0x17488d(0x2f6)]=(function(){var _0x1f9186=_0x17488d,_0x4fbda5=_0x4807ac[_0x1f9186(0x45c)]();_0x4fbda5[_0x1f9186(0x44d)]=_0x4fbda5[_0x1f9186(0x45c)]({'processBlock':function(_0x4afcf3,_0x160443){var _0x2809b6=_0x1f9186,_0x496b33=this['_cipher'],_0x594dcb=_0x496b33[_0x2809b6(0x24f)];_0x14c25d[_0x2809b6(0x244)](this,_0x4afcf3,_0x160443,_0x594dcb),_0x496b33[_0x2809b6(0x1a5)](_0x4afcf3,_0x160443),this[_0x2809b6(0x3af)]=_0x4afcf3[_0x2809b6(0x43e)](_0x160443,_0x160443+_0x594dcb);}}),_0x4fbda5['Decryptor']=_0x4fbda5[_0x1f9186(0x45c)]({'processBlock':function(_0x31b5d6,_0x19aaed){var _0x4f853c=_0x1f9186,_0x34182a=this[_0x4f853c(0x122)],_0x34a06c=_0x34182a['blockSize'],_0x1c32d5=_0x31b5d6[_0x4f853c(0x43e)](_0x19aaed,_0x19aaed+_0x34a06c);_0x34182a[_0x4f853c(0x291)](_0x31b5d6,_0x19aaed),_0x14c25d[_0x4f853c(0x244)](this,_0x31b5d6,_0x19aaed,_0x34a06c),this[_0x4f853c(0x3af)]=_0x1c32d5;}});function _0x14c25d(_0x138af7,_0x5a84b0,_0x1b2239){var _0x1ab9ce=_0x1f9186,_0x4c0867,_0x26c9f8=this['_iv'];_0x26c9f8?(_0x4c0867=_0x26c9f8,this['_iv']=_0x5ec85c):_0x4c0867=this[_0x1ab9ce(0x3af)];for(var _0xf072ac=0x0;_0xf072ac<_0x1b2239;_0xf072ac++)_0x138af7[_0x5a84b0+_0xf072ac]^=_0x4c0867[_0xf072ac];}return _0x4fbda5;}()),_0x26ba96=_0x44ca6f['pad']={},_0x462cd3=_0x26ba96[_0x17488d(0x375)]={'pad':function(_0x37c63f,_0xb3fe95){var _0x5dddd6=_0x17488d;for(var _0x43da2b=_0xb3fe95*0x4,_0x339c0f=_0x43da2b-_0x37c63f[_0x5dddd6(0x1ac)]%_0x43da2b,_0x32e8b2=_0x339c0f<<0x18|_0x339c0f<<0x10|_0x339c0f<<0x8|_0x339c0f,_0x3a8123=[],_0x62157a=0x0;_0x62157a<_0x339c0f;_0x62157a+=0x4)_0x3a8123['push'](_0x32e8b2);var _0x313b5d=_0x1f7630[_0x5dddd6(0x365)](_0x3a8123,_0x339c0f);_0x37c63f[_0x5dddd6(0x414)](_0x313b5d);},'unpad':function(_0x35112e){var _0x2c1969=_0x17488d,_0x5e7ce9=_0x35112e['words'][_0x35112e[_0x2c1969(0x1ac)]-0x1>>>0x2]&0xff;_0x35112e[_0x2c1969(0x1ac)]-=_0x5e7ce9;}};_0x5c71b0['BlockCipher']=_0x5320fd[_0x17488d(0x45c)]({'cfg':_0x5320fd[_0x17488d(0x2f7)]['extend']({'mode':_0x431d1b,'padding':_0x462cd3}),'reset':function(){var _0x3eb9d5=_0x17488d,_0x21f717;_0x5320fd[_0x3eb9d5(0x3ce)][_0x3eb9d5(0x244)](this);var _0x5c9288=this[_0x3eb9d5(0x2f7)],_0x288a5b=_0x5c9288['iv'],_0x2067dc=_0x5c9288[_0x3eb9d5(0x29a)];this[_0x3eb9d5(0x267)]==this[_0x3eb9d5(0x263)]?_0x21f717=_0x2067dc['createEncryptor']:(_0x21f717=_0x2067dc[_0x3eb9d5(0x138)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode']['__creator']==_0x21f717?this[_0x3eb9d5(0x211)][_0x3eb9d5(0x35f)](this,_0x288a5b&&_0x288a5b[_0x3eb9d5(0x317)]):(this[_0x3eb9d5(0x211)]=_0x21f717[_0x3eb9d5(0x244)](_0x2067dc,this,_0x288a5b&&_0x288a5b[_0x3eb9d5(0x317)]),this[_0x3eb9d5(0x211)][_0x3eb9d5(0x467)]=_0x21f717);},'_doProcessBlock':function(_0x5d69da,_0x2ecd1f){var _0x80d106=_0x17488d;this[_0x80d106(0x211)][_0x80d106(0x22d)](_0x5d69da,_0x2ecd1f);},'_doFinalize':function(){var _0x55afe4=_0x17488d,_0x285341,_0x5c6681=this['cfg'][_0x55afe4(0x320)];return this[_0x55afe4(0x267)]==this['_ENC_XFORM_MODE']?(_0x5c6681[_0x55afe4(0x376)](this[_0x55afe4(0x342)],this[_0x55afe4(0x24f)]),_0x285341=this[_0x55afe4(0x170)](!0x0)):(_0x285341=this[_0x55afe4(0x170)](!0x0),_0x5c6681[_0x55afe4(0x192)](_0x285341)),_0x285341;},'blockSize':0x80/0x20});var _0x5048c6=_0x5c71b0[_0x17488d(0x25e)]=_0x432d5a[_0x17488d(0x45c)]({'init':function(_0x484993){var _0x238c0f=_0x17488d;this[_0x238c0f(0x3a2)](_0x484993);},'toString':function(_0x4052a9){var _0x1b03af=_0x17488d;return(_0x4052a9||this[_0x1b03af(0x257)])[_0x1b03af(0x1bf)](this);}}),_0x5a903e=_0x44ca6f[_0x17488d(0x1b0)]={},_0x394bc2=_0x5a903e[_0x17488d(0x405)]={'stringify':function(_0x4369ff){var _0x27270e=_0x17488d,_0x434dd0,_0x629c7e=_0x4369ff['ciphertext'],_0x3d9c6d=_0x4369ff['salt'];return _0x3d9c6d?_0x434dd0=_0x1f7630[_0x27270e(0x365)]([0x53616c74,0x65645f5f])[_0x27270e(0x414)](_0x3d9c6d)[_0x27270e(0x414)](_0x629c7e):_0x434dd0=_0x629c7e,_0x434dd0[_0x27270e(0x169)](_0x48181e);},'parse':function(_0x19bf38){var _0x12cb47=_0x17488d,_0x56ddc5,_0x39d9e4=_0x48181e[_0x12cb47(0x32b)](_0x19bf38),_0x2c45f3=_0x39d9e4[_0x12cb47(0x317)];return _0x2c45f3[0x0]==0x53616c74&&_0x2c45f3[0x1]==0x65645f5f&&(_0x56ddc5=_0x1f7630[_0x12cb47(0x365)](_0x2c45f3[_0x12cb47(0x43e)](0x2,0x4)),_0x2c45f3[_0x12cb47(0x236)](0x0,0x4),_0x39d9e4[_0x12cb47(0x1ac)]-=0x10),_0x5048c6['create']({'ciphertext':_0x39d9e4,'salt':_0x56ddc5});}},_0x43f542=_0x5c71b0['SerializableCipher']=_0x432d5a['extend']({'cfg':_0x432d5a[_0x17488d(0x45c)]({'format':_0x394bc2}),'encrypt':function(_0x2304cc,_0x59e4be,_0x90bfa,_0x217758){var _0x265942=_0x17488d;_0x217758=this[_0x265942(0x2f7)]['extend'](_0x217758);var _0xf2c3df=_0x2304cc['createEncryptor'](_0x90bfa,_0x217758),_0xf91fb9=_0xf2c3df[_0x265942(0x309)](_0x59e4be),_0x318ba5=_0xf2c3df[_0x265942(0x2f7)];return _0x5048c6[_0x265942(0x365)]({'ciphertext':_0xf91fb9,'key':_0x90bfa,'iv':_0x318ba5['iv'],'algorithm':_0x2304cc,'mode':_0x318ba5['mode'],'padding':_0x318ba5['padding'],'blockSize':_0x2304cc['blockSize'],'formatter':_0x217758[_0x265942(0x1b0)]});},'decrypt':function(_0x1f9312,_0x545751,_0x47fbb7,_0x4aea58){var _0xaf8ada=_0x17488d;_0x4aea58=this[_0xaf8ada(0x2f7)][_0xaf8ada(0x45c)](_0x4aea58),_0x545751=this['_parse'](_0x545751,_0x4aea58[_0xaf8ada(0x1b0)]);var _0x31517c=_0x1f9312[_0xaf8ada(0x138)](_0x47fbb7,_0x4aea58)['finalize'](_0x545751['ciphertext']);return _0x31517c;},'_parse':function(_0x450305,_0x209502){var _0x25cd95=_0x17488d;return typeof _0x450305==_0x25cd95(0x26a)?_0x209502['parse'](_0x450305,this):_0x450305;}}),_0x49d7f5=_0x44ca6f[_0x17488d(0x292)]={},_0x5a4e64=_0x49d7f5['OpenSSL']={'execute':function(_0x13f6db,_0x3f032b,_0x3891fa,_0x19a599,_0x39c424){var _0x312685=_0x17488d;if(_0x19a599||(_0x19a599=_0x1f7630[_0x312685(0x3aa)](0x40/0x8)),_0x39c424)var _0x1b7e52=_0x593da6[_0x312685(0x365)]({'keySize':_0x3f032b+_0x3891fa,'hasher':_0x39c424})[_0x312685(0x294)](_0x13f6db,_0x19a599);else var _0x1b7e52=_0x593da6[_0x312685(0x365)]({'keySize':_0x3f032b+_0x3891fa})[_0x312685(0x294)](_0x13f6db,_0x19a599);var _0x3840a3=_0x1f7630[_0x312685(0x365)](_0x1b7e52['words'][_0x312685(0x43e)](_0x3f032b),_0x3891fa*0x4);return _0x1b7e52[_0x312685(0x1ac)]=_0x3f032b*0x4,_0x5048c6[_0x312685(0x365)]({'key':_0x1b7e52,'iv':_0x3840a3,'salt':_0x19a599});}},_0x4a490b=_0x5c71b0[_0x17488d(0x11a)]=_0x43f542['extend']({'cfg':_0x43f542[_0x17488d(0x2f7)]['extend']({'kdf':_0x5a4e64}),'encrypt':function(_0x111038,_0x2210db,_0x57332b,_0x18a892){var _0x13b0c0=_0x17488d;_0x18a892=this[_0x13b0c0(0x2f7)][_0x13b0c0(0x45c)](_0x18a892);var _0x449b2e=_0x18a892[_0x13b0c0(0x292)][_0x13b0c0(0x3b6)](_0x57332b,_0x111038[_0x13b0c0(0x202)],_0x111038[_0x13b0c0(0x29e)],_0x18a892[_0x13b0c0(0x26f)],_0x18a892[_0x13b0c0(0x237)]);_0x18a892['iv']=_0x449b2e['iv'];var _0x3aaa97=_0x43f542[_0x13b0c0(0x406)][_0x13b0c0(0x244)](this,_0x111038,_0x2210db,_0x449b2e[_0x13b0c0(0x27b)],_0x18a892);return _0x3aaa97['mixIn'](_0x449b2e),_0x3aaa97;},'decrypt':function(_0x509bfb,_0x5cb270,_0x3e904b,_0x26fa8e){var _0x4c5470=_0x17488d;_0x26fa8e=this[_0x4c5470(0x2f7)]['extend'](_0x26fa8e),_0x5cb270=this[_0x4c5470(0x129)](_0x5cb270,_0x26fa8e['format']);var _0x2449b5=_0x26fa8e['kdf'][_0x4c5470(0x3b6)](_0x3e904b,_0x509bfb[_0x4c5470(0x202)],_0x509bfb['ivSize'],_0x5cb270[_0x4c5470(0x26f)],_0x26fa8e['hasher']);_0x26fa8e['iv']=_0x2449b5['iv'];var _0x29384a=_0x43f542['decrypt']['call'](this,_0x509bfb,_0x5cb270,_0x2449b5['key'],_0x26fa8e);return _0x29384a;}});}();}));}(Te)),Te[_0x57b133(0x40b)];}var ki=fe[_0x5d9338(0x40b)],it;function Hi(){var _0x5b5489=_0x5d9338;return it||(it=0x1,function(_0x35dcc2,_0x25e427){(function(_0x9e22be,_0xc7dd29,_0x215e18){var _0x152b5b=_0x4a4a;_0x35dcc2[_0x152b5b(0x40b)]=_0xc7dd29(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x5a84db){return(function(){var _0x46fbe7=_0x4a4a,_0x5a7700=_0x5a84db,_0x35529b=_0x5a7700[_0x46fbe7(0x2ed)],_0x4b7e78=_0x35529b['BlockCipher'],_0x1aac5a=_0x5a7700[_0x46fbe7(0x3b3)],_0x435b3f=[],_0x9b934c=[],_0x3d3c4d=[],_0x4bc578=[],_0x4016c5=[],_0x146200=[],_0xb23f29=[],_0x2c9aec=[],_0x1ad09f=[],_0xfccb84=[];(function(){for(var _0x5c5dde=[],_0x1a0957=0x0;_0x1a0957<0x100;_0x1a0957++)_0x1a0957<0x80?_0x5c5dde[_0x1a0957]=_0x1a0957<<0x1:_0x5c5dde[_0x1a0957]=_0x1a0957<<0x1^0x11b;for(var _0x501b22=0x0,_0x200b81=0x0,_0x1a0957=0x0;_0x1a0957<0x100;_0x1a0957++){var _0x4a0491=_0x200b81^_0x200b81<<0x1^_0x200b81<<0x2^_0x200b81<<0x3^_0x200b81<<0x4;_0x4a0491=_0x4a0491>>>0x8^_0x4a0491&0xff^0x63,_0x435b3f[_0x501b22]=_0x4a0491,_0x9b934c[_0x4a0491]=_0x501b22;var _0x12c7d1=_0x5c5dde[_0x501b22],_0x11b293=_0x5c5dde[_0x12c7d1],_0x19afdb=_0x5c5dde[_0x11b293],_0x5dedf4=_0x5c5dde[_0x4a0491]*0x101^_0x4a0491*0x1010100;_0x3d3c4d[_0x501b22]=_0x5dedf4<<0x18|_0x5dedf4>>>0x8,_0x4bc578[_0x501b22]=_0x5dedf4<<0x10|_0x5dedf4>>>0x10,_0x4016c5[_0x501b22]=_0x5dedf4<<0x8|_0x5dedf4>>>0x18,_0x146200[_0x501b22]=_0x5dedf4;var _0x5dedf4=_0x19afdb*0x1010101^_0x11b293*0x10001^_0x12c7d1*0x101^_0x501b22*0x1010100;_0xb23f29[_0x4a0491]=_0x5dedf4<<0x18|_0x5dedf4>>>0x8,_0x2c9aec[_0x4a0491]=_0x5dedf4<<0x10|_0x5dedf4>>>0x10,_0x1ad09f[_0x4a0491]=_0x5dedf4<<0x8|_0x5dedf4>>>0x18,_0xfccb84[_0x4a0491]=_0x5dedf4,_0x501b22?(_0x501b22=_0x12c7d1^_0x5c5dde[_0x5c5dde[_0x5c5dde[_0x19afdb^_0x12c7d1]]],_0x200b81^=_0x5c5dde[_0x5c5dde[_0x200b81]]):_0x501b22=_0x200b81=0x1;}}());var _0x4b0220=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2772ed=_0x1aac5a[_0x46fbe7(0x2b9)]=_0x4b7e78[_0x46fbe7(0x45c)]({'_doReset':function(){var _0x16f6b1=_0x46fbe7,_0x280bf5;if(!(this[_0x16f6b1(0x140)]&&this['_keyPriorReset']===this[_0x16f6b1(0x269)])){for(var _0x107f61=this[_0x16f6b1(0x1ea)]=this['_key'],_0x3b4ce=_0x107f61[_0x16f6b1(0x317)],_0x2a75d1=_0x107f61[_0x16f6b1(0x1ac)]/0x4,_0x2dff5c=this[_0x16f6b1(0x140)]=_0x2a75d1+0x6,_0x2bd552=(_0x2dff5c+0x1)*0x4,_0x2e9d6a=this[_0x16f6b1(0x248)]=[],_0x3b4387=0x0;_0x3b4387<_0x2bd552;_0x3b4387++)_0x3b4387<_0x2a75d1?_0x2e9d6a[_0x3b4387]=_0x3b4ce[_0x3b4387]:(_0x280bf5=_0x2e9d6a[_0x3b4387-0x1],_0x3b4387%_0x2a75d1?_0x2a75d1>0x6&&_0x3b4387%_0x2a75d1==0x4&&(_0x280bf5=_0x435b3f[_0x280bf5>>>0x18]<<0x18|_0x435b3f[_0x280bf5>>>0x10&0xff]<<0x10|_0x435b3f[_0x280bf5>>>0x8&0xff]<<0x8|_0x435b3f[_0x280bf5&0xff]):(_0x280bf5=_0x280bf5<<0x8|_0x280bf5>>>0x18,_0x280bf5=_0x435b3f[_0x280bf5>>>0x18]<<0x18|_0x435b3f[_0x280bf5>>>0x10&0xff]<<0x10|_0x435b3f[_0x280bf5>>>0x8&0xff]<<0x8|_0x435b3f[_0x280bf5&0xff],_0x280bf5^=_0x4b0220[_0x3b4387/_0x2a75d1|0x0]<<0x18),_0x2e9d6a[_0x3b4387]=_0x2e9d6a[_0x3b4387-_0x2a75d1]^_0x280bf5);for(var _0x33c526=this[_0x16f6b1(0x2b0)]=[],_0x2352af=0x0;_0x2352af<_0x2bd552;_0x2352af++){var _0x3b4387=_0x2bd552-_0x2352af;if(_0x2352af%0x4)var _0x280bf5=_0x2e9d6a[_0x3b4387];else var _0x280bf5=_0x2e9d6a[_0x3b4387-0x4];_0x2352af<0x4||_0x3b4387<=0x4?_0x33c526[_0x2352af]=_0x280bf5:_0x33c526[_0x2352af]=_0xb23f29[_0x435b3f[_0x280bf5>>>0x18]]^_0x2c9aec[_0x435b3f[_0x280bf5>>>0x10&0xff]]^_0x1ad09f[_0x435b3f[_0x280bf5>>>0x8&0xff]]^_0xfccb84[_0x435b3f[_0x280bf5&0xff]];}}},'encryptBlock':function(_0x288af9,_0x49da66){this['_doCryptBlock'](_0x288af9,_0x49da66,this['_keySchedule'],_0x3d3c4d,_0x4bc578,_0x4016c5,_0x146200,_0x435b3f);},'decryptBlock':function(_0x51fdde,_0x17a743){var _0x32c7f2=_0x46fbe7,_0x30cf5e=_0x51fdde[_0x17a743+0x1];_0x51fdde[_0x17a743+0x1]=_0x51fdde[_0x17a743+0x3],_0x51fdde[_0x17a743+0x3]=_0x30cf5e,this[_0x32c7f2(0x37b)](_0x51fdde,_0x17a743,this['_invKeySchedule'],_0xb23f29,_0x2c9aec,_0x1ad09f,_0xfccb84,_0x9b934c);var _0x30cf5e=_0x51fdde[_0x17a743+0x1];_0x51fdde[_0x17a743+0x1]=_0x51fdde[_0x17a743+0x3],_0x51fdde[_0x17a743+0x3]=_0x30cf5e;},'_doCryptBlock':function(_0x2f7bd7,_0x3014d1,_0x30d654,_0x3b5826,_0x3918bd,_0x55ce82,_0x10e97c,_0x4654b0){var _0x1bf4fd=_0x46fbe7;for(var _0x137655=this[_0x1bf4fd(0x140)],_0x41b6ff=_0x2f7bd7[_0x3014d1]^_0x30d654[0x0],_0xadce27=_0x2f7bd7[_0x3014d1+0x1]^_0x30d654[0x1],_0x1f5f0d=_0x2f7bd7[_0x3014d1+0x2]^_0x30d654[0x2],_0x102154=_0x2f7bd7[_0x3014d1+0x3]^_0x30d654[0x3],_0x4a85ea=0x4,_0x13f3f5=0x1;_0x13f3f5<_0x137655;_0x13f3f5++){var _0x67ac33=_0x3b5826[_0x41b6ff>>>0x18]^_0x3918bd[_0xadce27>>>0x10&0xff]^_0x55ce82[_0x1f5f0d>>>0x8&0xff]^_0x10e97c[_0x102154&0xff]^_0x30d654[_0x4a85ea++],_0x12ada7=_0x3b5826[_0xadce27>>>0x18]^_0x3918bd[_0x1f5f0d>>>0x10&0xff]^_0x55ce82[_0x102154>>>0x8&0xff]^_0x10e97c[_0x41b6ff&0xff]^_0x30d654[_0x4a85ea++],_0x6f0eef=_0x3b5826[_0x1f5f0d>>>0x18]^_0x3918bd[_0x102154>>>0x10&0xff]^_0x55ce82[_0x41b6ff>>>0x8&0xff]^_0x10e97c[_0xadce27&0xff]^_0x30d654[_0x4a85ea++],_0x23c7cc=_0x3b5826[_0x102154>>>0x18]^_0x3918bd[_0x41b6ff>>>0x10&0xff]^_0x55ce82[_0xadce27>>>0x8&0xff]^_0x10e97c[_0x1f5f0d&0xff]^_0x30d654[_0x4a85ea++];_0x41b6ff=_0x67ac33,_0xadce27=_0x12ada7,_0x1f5f0d=_0x6f0eef,_0x102154=_0x23c7cc;}var _0x67ac33=(_0x4654b0[_0x41b6ff>>>0x18]<<0x18|_0x4654b0[_0xadce27>>>0x10&0xff]<<0x10|_0x4654b0[_0x1f5f0d>>>0x8&0xff]<<0x8|_0x4654b0[_0x102154&0xff])^_0x30d654[_0x4a85ea++],_0x12ada7=(_0x4654b0[_0xadce27>>>0x18]<<0x18|_0x4654b0[_0x1f5f0d>>>0x10&0xff]<<0x10|_0x4654b0[_0x102154>>>0x8&0xff]<<0x8|_0x4654b0[_0x41b6ff&0xff])^_0x30d654[_0x4a85ea++],_0x6f0eef=(_0x4654b0[_0x1f5f0d>>>0x18]<<0x18|_0x4654b0[_0x102154>>>0x10&0xff]<<0x10|_0x4654b0[_0x41b6ff>>>0x8&0xff]<<0x8|_0x4654b0[_0xadce27&0xff])^_0x30d654[_0x4a85ea++],_0x23c7cc=(_0x4654b0[_0x102154>>>0x18]<<0x18|_0x4654b0[_0x41b6ff>>>0x10&0xff]<<0x10|_0x4654b0[_0xadce27>>>0x8&0xff]<<0x8|_0x4654b0[_0x1f5f0d&0xff])^_0x30d654[_0x4a85ea++];_0x2f7bd7[_0x3014d1]=_0x67ac33,_0x2f7bd7[_0x3014d1+0x1]=_0x12ada7,_0x2f7bd7[_0x3014d1+0x2]=_0x6f0eef,_0x2f7bd7[_0x3014d1+0x3]=_0x23c7cc;},'keySize':0x100/0x20});_0x5a7700[_0x46fbe7(0x2b9)]=_0x4b7e78['_createHelper'](_0x2772ed);}()),_0x5a84db['AES'];}));}(fe)),fe[_0x5b5489(0x40b)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x5d9338(0x40b)],rt;function Vi(){var _0x418161=_0x5d9338;return rt||(rt=0x1,function(_0x2661eb,_0x5c8699){(function(_0x10830d,_0x20c3cf){var _0x19c189=_0x4a4a;_0x2661eb[_0x19c189(0x40b)]=_0x20c3cf(Q());}(Fi,function(_0x214dd1){var _0x93d76e=_0x4a4a;return _0x214dd1[_0x93d76e(0x293)]['Utf8'];}));}(be)),be[_0x418161(0x40b)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re['exports'],st;function Yi(){return st||(st=0x1,function(_0x8a9201,_0x4fd0b0){(function(_0x5396b7,_0x401327){var _0x4c7e32=_0x4a4a;_0x8a9201[_0x4c7e32(0x40b)]=_0x401327(Q());}(Ki,function(_0x1b5842){return(function(){var _0x2163f8=_0x4a4a;if(typeof ArrayBuffer==_0x2163f8(0x13d)){var _0x3b0dbe=_0x1b5842,_0x5274c8=_0x3b0dbe['lib'],_0x2a12b4=_0x5274c8[_0x2163f8(0x372)],_0x3e717d=_0x2a12b4[_0x2163f8(0x35f)],_0x3e2167=_0x2a12b4['init']=function(_0x403070){var _0x1b36d0=_0x2163f8;if(_0x403070 instanceof ArrayBuffer&&(_0x403070=new Uint8Array(_0x403070)),(_0x403070 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x403070 instanceof Uint8ClampedArray||_0x403070 instanceof Int16Array||_0x403070 instanceof Uint16Array||_0x403070 instanceof Int32Array||_0x403070 instanceof Uint32Array||_0x403070 instanceof Float32Array||_0x403070 instanceof Float64Array)&&(_0x403070=new Uint8Array(_0x403070[_0x1b36d0(0x1f6)],_0x403070['byteOffset'],_0x403070[_0x1b36d0(0x2a3)])),_0x403070 instanceof Uint8Array){for(var _0x27bdfb=_0x403070[_0x1b36d0(0x2a3)],_0x5e9b1d=[],_0x2bbdf3=0x0;_0x2bbdf3<_0x27bdfb;_0x2bbdf3++)_0x5e9b1d[_0x2bbdf3>>>0x2]|=_0x403070[_0x2bbdf3]<<0x18-_0x2bbdf3%0x4*0x8;_0x3e717d[_0x1b36d0(0x244)](this,_0x5e9b1d,_0x27bdfb);}else _0x3e717d['apply'](this,arguments);};_0x3e2167[_0x2163f8(0x209)]=_0x2a12b4;}}()),_0x1b5842['lib']['WordArray'];}));}(Re)),Re['exports'];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x5d9338(0x40b)],ot;function Xi(){var _0x3c35d9=_0x5d9338;return ot||(ot=0x1,function(_0xf0a811,_0x4ad69a){(function(_0x205d1c,_0x1cb3ae,_0x3dfda7){var _0x49fe77=_0x4a4a;_0xf0a811[_0x49fe77(0x40b)]=_0x1cb3ae(Q(),Ut());}(Ji,function(_0x21ca5c){var _0x325117=_0x4a4a;return _0x21ca5c['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x21ca5c[_0x325117(0x376)]['NoPadding'];}));}(Oe)),Oe[_0x3c35d9(0x40b)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x43d59c,_0x52dbc3){var _0x3f4cc2=_0x5d9338;const _0x27e05a=_0x52dbc3-_0x43d59c[_0x3f4cc2(0x2f8)]%_0x52dbc3,_0x4b502a=String[_0x3f4cc2(0x1eb)](_0x27e05a)[_0x3f4cc2(0x37a)](_0x27e05a);return _0x43d59c+_0x4b502a;}function tn(_0x163a07,_0x1f2fe3){var _0x2f145c=_0x5d9338;const _0xc7ab21=zi[_0x2f145c(0x3aa)](0x10),_0x3eccf9=en(_0x163a07,0x10),_0x3e2b68=ji[_0x2f145c(0x406)](Gi[_0x2f145c(0x32b)](_0x3eccf9),nt[_0x2f145c(0x32b)](_0x1f2fe3),{'iv':_0xc7ab21,'padding':Qi});return _0xc7ab21[_0x2f145c(0x414)](_0x3e2b68[_0x2f145c(0x3ed)])[_0x2f145c(0x169)](nt);}function nn(){var _0x3ff5ca=_0x5d9338;const _0x3ac929=wt[_0x3ff5ca(0x3a3)]()['__Key__'];if(_0x3ac929){const _0x4e2bd9={'time':Math[_0x3ff5ca(0x108)](Date[_0x3ff5ca(0x3c5)]()/0x3e8),'domain':location[_0x3ff5ca(0x173)]};return tn(JSON[_0x3ff5ca(0x1bf)](_0x4e2bd9),_0x3ac929);}}var rn=Object[_0x5d9338(0x254)],sn=(_0x948b25,_0xfbe940,_0x44bf0f,_0x39f4e0)=>{var _0x448cbf=_0x5d9338;for(var _0x4c8147=_0x39f4e0>0x1?void 0x0:_0x39f4e0?rn(_0xfbe940,_0x44bf0f):_0xfbe940,_0x289b18=_0x948b25[_0x448cbf(0x2f8)]-0x1,_0xac0be8;_0x289b18>=0x0;_0x289b18--)(_0xac0be8=_0x948b25[_0x289b18])&&(_0x4c8147=_0xac0be8(_0x4c8147)||_0x4c8147);return _0x4c8147;},on=(_0x2d635c,_0x262fd4)=>(_0x147e02,_0xe49867)=>_0x262fd4(_0x147e02,_0xe49867,_0x2d635c);let Ne=class{constructor(_0x257e0e){var _0x3d6293=_0x5d9338;this[_0x3d6293(0x2ca)]=_0x257e0e,this[_0x3d6293(0x17d)]();}[_0x5d9338(0x17d)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x2d8d13,_0x3d1511)=>{var _0x4dcfbf=_0x4a4a;const _0x3250e7=_0x2d8d13[_0x4dcfbf(0x33d)],_0x56e625=nn();return _0x56e625&&_0x3250e7['set'](_0x4dcfbf(0x32d),_0x56e625),_0x3d1511(_0x2d8d13);}});}};Ne=sn([on(0x0,a[_0x5d9338(0x15d)](Y['HTTPService']))],Ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x3163c7,_0x2bc277,_0x390163,_0x38904b)=>{var _0x5e19ee=_0x5d9338;for(var _0xaf5da4=_0x38904b>0x1?void 0x0:_0x38904b?an(_0x2bc277,_0x390163):_0x2bc277,_0x5f18bc=_0x3163c7[_0x5e19ee(0x2f8)]-0x1,_0x40b8d8;_0x5f18bc>=0x0;_0x5f18bc--)(_0x40b8d8=_0x3163c7[_0x5f18bc])&&(_0xaf5da4=_0x40b8d8(_0xaf5da4)||_0xaf5da4);return _0xaf5da4;},we=(_0x1e55fc,_0x4bffce)=>(_0x56d7d9,_0x515dc3)=>_0x4bffce(_0x56d7d9,_0x515dc3,_0x1e55fc);exports[_0x5d9338(0x316)]=class extends a[_0x5d9338(0x429)]{constructor(_0x662f44,_0x1e00d0,_0xc8cbac){var _0x51e6b3=_0x5d9338;super(),A(this,_0x51e6b3(0x312),new $[(_0x51e6b3(0x1e2))](null)),A(this,_0x51e6b3(0x3dc),this[_0x51e6b3(0x312)][_0x51e6b3(0x203)]()),(this[_0x51e6b3(0x415)]=_0x662f44,this['_snapshotService']=_0x1e00d0,this['_localCacheService']=_0xc8cbac);}async[_0x5d9338(0x159)](_0x2ff1b1,_0x2c83fa,_0x28bc2a){var _0x3ecfe5=_0x5d9338;this['_unitInfo$']['next']({'unitId':_0x2ff1b1,'type':_0x2c83fa});let _0x36eae9=null;switch(_0x2c83fa){case J['UNIVER_SHEET']:{_0x36eae9=await this[_0x3ecfe5(0x307)][_0x3ecfe5(0x118)](_0x2ff1b1,_0x28bc2a);break;}case J['UNIVER_DOC']:{_0x36eae9=await this[_0x3ecfe5(0x307)]['loadDoc'](_0x2ff1b1,_0x28bc2a);break;}default:{this[_0x3ecfe5(0x415)][_0x3ecfe5(0x45d)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x36eae9;}async[_0x5d9338(0x39b)](_0x18510a,_0x46b5df,_0x207fe2){var _0x3253a5=_0x5d9338,_0x389d96;this['_unitInfo$'][_0x3253a5(0x1c8)]({'unitId':_0x18510a,'type':_0x46b5df,'subUnitId':_0x207fe2});let _0x1f213c=0x0;const _0x33f039=await((_0x389d96=this['_localCacheService'])==null?void 0x0:_0x389d96[_0x3253a5(0x205)](_0x18510a));return _0x33f039&&(_0x33f039[_0x3253a5(0x25a)]||_0x33f039[_0x3253a5(0x3d6)][_0x3253a5(0x2f8)]!==0x0)&&(_0x1f213c=_0x33f039[_0x3253a5(0x3e3)]),_0x1f213c===0x0&&this['_logService'][_0x3253a5(0x126)](_0x3253a5(0x3da),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3253a5(0x159)](_0x18510a,_0x46b5df,_0x1f213c);}},exports[_0x5d9338(0x316)]=cn([we(0x0,a['ILogService']),we(0x1,a[_0x5d9338(0x15d)](I[_0x5d9338(0x30d)])),we(0x2,a[_0x5d9338(0x2e4)](q))],exports[_0x5d9338(0x316)]);var hn=Object[_0x5d9338(0x254)],_n=(_0x2cf982,_0x4f7660,_0x10c31b,_0x360476)=>{for(var _0x18dc39=_0x360476>0x1?void 0x0:_0x360476?hn(_0x4f7660,_0x10c31b):_0x4f7660,_0x24c3db=_0x2cf982['length']-0x1,_0x2bf307;_0x24c3db>=0x0;_0x24c3db--)(_0x2bf307=_0x2cf982[_0x24c3db])&&(_0x18dc39=_0x2bf307(_0x18dc39)||_0x18dc39);return _0x18dc39;},Le=(_0x57ddfd,_0x3a514b)=>(_0x553392,_0xd4f4d6)=>_0x3a514b(_0x553392,_0xd4f4d6,_0x57ddfd);const ln=[_0x5d9338(0x30b),_0x5d9338(0x3bc),'image/jpg',_0x5d9338(0x231),_0x5d9338(0x10d)],un=0x5*0x400*0x400,dn=_0x5d9338(0x2a5),vn='/universer-api/stream/file/upload',Sn=_0x5d9338(0x2ad),fn='/universer-api/file/{fileID}/sign-url';exports[_0x5d9338(0x2bd)]=class{constructor(_0x5d11ce,_0x1f9626,_0x15c4cf){var _0x59ea83=_0x5d9338;A(this,_0x59ea83(0x2db),0x0),A(this,_0x59ea83(0x389),new $[(_0x59ea83(0x41d))]()),A(this,'change$',this['_change$']),A(this,_0x59ea83(0x41c),new Map()),(this['_httpService']=_0x5d11ce,this[_0x59ea83(0x44f)]=_0x1f9626,this[_0x59ea83(0x283)]=_0x15c4cf);}[_0x5d9338(0x361)](_0x33ae74){var _0xdd09f5=_0x5d9338;this[_0xdd09f5(0x2db)]=_0x33ae74,this[_0xdd09f5(0x389)][_0xdd09f5(0x1c8)](_0x33ae74);}['getImageSourceCache'](_0x1cea0b,_0x2d342e){var _0x4aaf2b=_0x5d9338;if(_0x2d342e===z[_0x4aaf2b(0x433)][_0x4aaf2b(0x2b7)]){const _0x1e2b68=new Image();return _0x1e2b68['src']=_0x1cea0b,_0x1e2b68;}return this[_0x4aaf2b(0x41c)]['get'](_0x1cea0b);}['addImageSourceCache'](_0x25bec6,_0x474e9f,_0xfa09f0){var _0x13065b=_0x5d9338;_0x474e9f===z[_0x13065b(0x433)][_0x13065b(0x2b7)]||_0xfa09f0==null||this['_imageSourceCache'][_0x13065b(0x385)](_0x25bec6,_0xfa09f0);}async['getImage'](_0x389a42){var _0x5658e7=_0x5d9338;try{const _0x2f175e=this[_0x5658e7(0x1f8)](this[_0x5658e7(0x43b)](),''+_0x389a42),_0x564158=(await this['_httpService'][_0x5658e7(0x43d)](_0x2f175e))[_0x5658e7(0x11f)];if(_0x564158[_0x5658e7(0x45d)]&&_0x564158[_0x5658e7(0x45d)][_0x5658e7(0x151)]===gt['OK']){const _0x389d55=new URL(_0x564158[_0x5658e7(0x249)],this[_0x5658e7(0x400)]())[_0x5658e7(0x169)]();return Promise['resolve'](_0x389d55);}return Promise[_0x5658e7(0x255)](_0x564158[_0x5658e7(0x45d)]);}catch(_0xf5642b){return Promise[_0x5658e7(0x255)](_0xf5642b);}}async[_0x5d9338(0x30f)](_0x5471f3){var _0x5db16e=_0x5d9338;let _0x13960a='';if(!ln[_0x5db16e(0x242)](_0x5471f3[_0x5db16e(0x2c9)]))return this[_0x5db16e(0x265)](),Promise[_0x5db16e(0x255)](new Error(z[_0x5db16e(0x185)][_0x5db16e(0x1aa)]));if(_0x5471f3[_0x5db16e(0x3fe)]>un)return this['_decreaseWaiting'](),Promise[_0x5db16e(0x255)](new Error(z['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x24a317=new FormData();_0x24a317[_0x5db16e(0x26d)](_0x5db16e(0x435),_0x5471f3);const _0x363601=this[_0x5db16e(0x283)][_0x5db16e(0x465)](),_0xc77542=_0x363601==null?void 0x0:_0x363601[_0x5db16e(0x1a6)]();if(!_0xc77542)throw new Error('unitId\x20is\x20not\x20found');const _0xabc6d0=this[_0x5db16e(0x253)]()+_0x5db16e(0x2ec)+_0x5471f3[_0x5db16e(0x3fe)][_0x5db16e(0x169)]()+_0x5db16e(0x2e7)+Et['UnitEmbedded']+_0x5db16e(0x370)+encodeURIComponent(_0xc77542),_0x497590={'body':_0x24a317},_0x37d598=(await this['_httpService'][_0x5db16e(0x150)](_0xabc6d0,_0x497590))[_0x5db16e(0x11f)];if(typeof _0x37d598['FileId']!=_0x5db16e(0x26a))return this[_0x5db16e(0x265)](),Promise['reject'](new Error(z[_0x5db16e(0x185)]['ERROR_IMAGE']));_0x13960a=_0x37d598[_0x5db16e(0x40f)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x5db16e(0x185)][_0x5db16e(0x3a7)]));}return new Promise((_0x485e4e,_0x325474)=>{var _0x40ccd1=_0x5db16e;const _0xd084c6=new FileReader();_0xd084c6[_0x40ccd1(0x1e8)](_0x5471f3),_0xd084c6[_0x40ccd1(0x25c)]=_0x4a9422=>{var _0x2adf2c=_0x40ccd1,_0x3349ad;const _0x3cb55f=(_0x3349ad=_0x4a9422[_0x2adf2c(0x404)])==null?void 0x0:_0x3349ad[_0x2adf2c(0x37f)];if(_0x3cb55f==null){this[_0x2adf2c(0x265)](),_0x325474(new Error(z[_0x2adf2c(0x185)]['ERROR_IMAGE']));return;}const _0x292780=a['Tools'][_0x2adf2c(0x377)](0x6);_0x485e4e({'imageId':_0x292780,'imageSourceType':z[_0x2adf2c(0x433)][_0x2adf2c(0x1fa)],'source':_0x13960a,'base64Cache':_0x3cb55f,'status':z[_0x2adf2c(0x185)]['SUCCUSS']}),this[_0x2adf2c(0x265)]();};});}[_0x5d9338(0x253)](){var _0x1e8a3f=_0x5d9338,_0x1d5088,_0x348865;const _0x5d4846=this[_0x1e8a3f(0x44f)][_0x1e8a3f(0x2ea)](dn),_0x50297b=this[_0x1e8a3f(0x44f)]['getConfig'](K);return(_0x348865=(_0x1d5088=_0x50297b==null?void 0x0:_0x50297b[_0x1e8a3f(0x19f)])!=null?_0x1d5088:_0x5d4846)!=null?_0x348865:vn;}[_0x5d9338(0x43b)](){var _0x293f24=_0x5d9338,_0xa54681,_0x4ee3ca;const _0x1fb331=this['_configService'][_0x293f24(0x2ea)](Sn),_0x523cd7=this[_0x293f24(0x44f)][_0x293f24(0x2ea)](K);return(_0x4ee3ca=(_0xa54681=_0x523cd7==null?void 0x0:_0x523cd7[_0x293f24(0x2c2)])!=null?_0xa54681:_0x1fb331)!=null?_0x4ee3ca:fn;}[_0x5d9338(0x400)](){var _0x4e557c=_0x5d9338,_0x55a429;const _0xf0d104=this[_0x4e557c(0x44f)][_0x4e557c(0x2ea)](K);return(_0x55a429=_0xf0d104==null?void 0x0:_0xf0d104[_0x4e557c(0x156)])!=null?_0x55a429:location['origin'];}[_0x5d9338(0x1f8)](_0xa28855,_0x51b25a){var _0x2fa2d9=_0x5d9338;return _0xa28855[_0x2fa2d9(0x3a6)](_0x2fa2d9(0x284),_0x51b25a);}[_0x5d9338(0x265)](){var _0x437e57=_0x5d9338;this[_0x437e57(0x2db)]-=0x1,this[_0x437e57(0x389)][_0x437e57(0x1c8)](this[_0x437e57(0x2db)]);}},exports[_0x5d9338(0x2bd)]=_n([Le(0x0,a['Inject'](Y[_0x5d9338(0x251)])),Le(0x1,a[_0x5d9338(0x410)]),Le(0x2,a[_0x5d9338(0x15d)](a[_0x5d9338(0x397)]))],exports[_0x5d9338(0x2bd)]);var pn=Object[_0x5d9338(0x254)],In=(_0x28a3e5,_0x1c7020,_0x2efd5a,_0x12609d)=>{var _0x697432=_0x5d9338;for(var _0x4c15a8=_0x12609d>0x1?void 0x0:_0x12609d?pn(_0x1c7020,_0x2efd5a):_0x1c7020,_0x253176=_0x28a3e5[_0x697432(0x2f8)]-0x1,_0x2891ce;_0x253176>=0x0;_0x253176--)(_0x2891ce=_0x28a3e5[_0x253176])&&(_0x4c15a8=_0x2891ce(_0x4c15a8)||_0x4c15a8);return _0x4c15a8;},at=(_0x2fb308,_0x4bed86)=>(_0x49334b,_0x3fe130)=>_0x4bed86(_0x49334b,_0x3fe130,_0x2fb308);const gn=_0x5d9338(0x1ec);exports[_0x5d9338(0x2a0)]=class{constructor(_0x11e7c6,_0x4f7589){var _0x984a9a=_0x5d9338;this[_0x984a9a(0x44f)]=_0x11e7c6,this[_0x984a9a(0x2c0)]=_0x4f7589;}[_0x5d9338(0x319)](){var _0x29ca15=_0x5d9338,_0x33fb16,_0x15e1e9;const _0x20d513=this['_configService'][_0x29ca15(0x2ea)](Ve),_0x3c07e0=this[_0x29ca15(0x44f)][_0x29ca15(0x2ea)](K);return(_0x15e1e9=(_0x33fb16=_0x3c07e0==null?void 0x0:_0x3c07e0[_0x29ca15(0x2a2)])!=null?_0x33fb16:_0x20d513)!=null?_0x15e1e9:gn;}async[_0x5d9338(0x224)](_0x3934fd){var _0xaef024=_0x5d9338;const _0x4c52cc=this[_0xaef024(0x319)]()+_0xaef024(0x424);return{'list':[{'title':'People','mentions':(await this[_0xaef024(0x2c0)][_0xaef024(0x43d)](_0x4c52cc,{'params':{'objectID':_0x3934fd['unitId'],'unitID':_0x3934fd[_0xaef024(0x300)]}}))['body']['collaborators']['map'](_0x51d11c=>({'objectId':_0x51d11c['id'],'name':_0x51d11c[_0xaef024(0x1b9)]['name'],'metadata':{'icon':_0x51d11c[_0xaef024(0x1b9)][_0xaef024(0x1c9)]},'label':_0x51d11c[_0xaef024(0x1b9)][_0xaef024(0x395)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a['MentionType'][_0xaef024(0x407)]}]};}},exports[_0x5d9338(0x2a0)]=In([at(0x0,a[_0x5d9338(0x15d)](a[_0x5d9338(0x410)])),at(0x1,a[_0x5d9338(0x15d)](Y[_0x5d9338(0x251)]))],exports[_0x5d9338(0x2a0)]);var En=Object[_0x5d9338(0x254)],mn=(_0x258857,_0x8024d6,_0x96549a,_0x473cc5)=>{var _0x33a3aa=_0x5d9338;for(var _0x2fb154=_0x473cc5>0x1?void 0x0:_0x473cc5?En(_0x8024d6,_0x96549a):_0x8024d6,_0x484c60=_0x258857[_0x33a3aa(0x2f8)]-0x1,_0x2d74a0;_0x484c60>=0x0;_0x484c60--)(_0x2d74a0=_0x258857[_0x484c60])&&(_0x2fb154=_0x2d74a0(_0x2fb154)||_0x2fb154);return _0x2fb154;},le=(_0x34e6a3,_0x5e6885)=>(_0x3f7750,_0x4b2315)=>_0x5e6885(_0x3f7750,_0x4b2315,_0x34e6a3);let Ue=class extends a[_0x5d9338(0x429)]{constructor(_0x244c24,_0x178ce0,_0x4e143e,_0x10392b,_0x344076){var _0x2ce431=_0x5d9338;super(),this[_0x2ce431(0x20c)]=_0x244c24,this[_0x2ce431(0x283)]=_0x178ce0,this['_permissionService']=_0x4e143e,this[_0x2ce431(0x146)]=_0x10392b,this[_0x2ce431(0x116)]=_0x344076,this[_0x2ce431(0x2a7)](),this['_initCloseConn']();}[_0x5d9338(0x1f3)](){var _0x405ee3=_0x5d9338;const _0x547928=async _0x6aa5b0=>{var _0x30eadd=_0x4a4a;(await this['_collaborationSessionService'][_0x30eadd(0x39d)](_0x6aa5b0))[_0x30eadd(0x3e9)]['pipe'](V['filter'](_0x339f87=>_0x339f87[_0x30eadd(0x3ff)]===I[_0x30eadd(0x226)][_0x30eadd(0x12e)]),V[_0x30eadd(0x1df)](this[_0x30eadd(0x318)]))[_0x30eadd(0x31c)](_0x3ee4c3=>{var _0x577ebd=_0x30eadd;const _0x561a4a=_0x3ee4c3,{reason:_0x40a6c8}=_0x561a4a[_0x577ebd(0x165)];this[_0x577ebd(0x116)][_0x577ebd(0x20e)]({'id':Z[_0x577ebd(0x143)],'data':_0x40a6c8}),this[_0x577ebd(0x135)][_0x577ebd(0x422)](new X[(_0x577ebd(0x3c8))](_0x6aa5b0)['id'],!0x1),this['_collaborationSessionService'][_0x577ebd(0x3bb)](_0x6aa5b0);});};$[_0x405ee3(0x17f)](this['_univerInstanceService'][_0x405ee3(0x13b)](a[_0x405ee3(0x21f)]['UNIVER_SHEET']),this[_0x405ee3(0x283)][_0x405ee3(0x13b)](a[_0x405ee3(0x21f)][_0x405ee3(0x2e3)]))[_0x405ee3(0x1d1)](V[_0x405ee3(0x31a)](_0xc3c8eb=>_0xc3c8eb[_0x405ee3(0x1a6)]()),V[_0x405ee3(0x45e)](_0x93b8c2=>!a[_0x405ee3(0x3ae)](_0x93b8c2)),V[_0x405ee3(0x1df)](this[_0x405ee3(0x318)]))[_0x405ee3(0x31c)](_0x27e4a2=>{_0x547928(_0x27e4a2);});}[_0x5d9338(0x2a7)](){var _0x16f161=_0x5d9338;const _0x4a26be=async _0x19653f=>{var _0x5915bc=_0x4a4a;const _0x54c0e4=await this[_0x5915bc(0x146)]['requireSession'](_0x19653f),_0x5d2920=this[_0x5915bc(0x20c)][_0x5915bc(0x43d)](X['SheetPermissionInitController']);_0x54c0e4[_0x5915bc(0x3e9)][_0x5915bc(0x1d1)](V[_0x5915bc(0x45e)](_0x815235=>_0x815235[_0x5915bc(0x3ff)]===I[_0x5915bc(0x226)][_0x5915bc(0x3d8)]),V[_0x5915bc(0x1df)](this[_0x5915bc(0x318)]))[_0x5915bc(0x31c)](_0x527e7a=>{var _0x3c2f6a=_0x5915bc;const _0x384822=_0x527e7a,{objectId:_0x2140b3}=_0x384822[_0x3c2f6a(0x165)];_0x2140b3===_0x19653f?_0x5d2920[_0x3c2f6a(0x31f)](_0x19653f):_0x5d2920[_0x3c2f6a(0x3cf)](_0x19653f,_0x2140b3);});};$[_0x16f161(0x17f)](this[_0x16f161(0x283)]['getTypeOfUnitAdded$'](a[_0x16f161(0x21f)][_0x16f161(0x3f9)]))[_0x16f161(0x1d1)](V[_0x16f161(0x31a)](_0x480431=>_0x480431[_0x16f161(0x1a6)]()),V[_0x16f161(0x45e)](_0x137e2d=>!a[_0x16f161(0x3ae)](_0x137e2d)),V['takeUntil'](this[_0x16f161(0x318)]))[_0x16f161(0x31c)](_0x3fe723=>{_0x4a26be(_0x3fe723);});}};Ue=mn([le(0x0,a['Inject'](a[_0x5d9338(0x343)])),le(0x1,a[_0x5d9338(0x397)]),le(0x2,a[_0x5d9338(0x178)]),le(0x3,a[_0x5d9338(0x15d)](exports['CollaborationSessionService'])),le(0x4,a['Inject'](ee))],Ue);var Cn=Object[_0x5d9338(0x254)],Tn=(_0xe55c36,_0x353db7,_0x342688,_0x275c9e)=>{for(var _0x110172=_0x275c9e>0x1?void 0x0:_0x275c9e?Cn(_0x353db7,_0x342688):_0x353db7,_0x162c43=_0xe55c36['length']-0x1,_0x47d64a;_0x162c43>=0x0;_0x162c43--)(_0x47d64a=_0xe55c36[_0x162c43])&&(_0x110172=_0x47d64a(_0x110172)||_0x110172);return _0x110172;},ct=(_0x545083,_0x5a19e5)=>(_0x348833,_0x21720d)=>_0x5a19e5(_0x348833,_0x21720d,_0x545083);exports['SnapshotServerOverHTTPService']=class{constructor(_0x3522ba,_0x52493a){var _0x1ddd39=_0x5d9338;this[_0x1ddd39(0x44f)]=_0x3522ba,this[_0x1ddd39(0x2ca)]=_0x52493a;}async[_0x5d9338(0x220)](_0x314845,_0x4bc460){var _0x59ba27=_0x5d9338,_0x4948c9;const {unitID:_0x62b3eb,type:_0x7e95b9,revision:_0x18be98=0x0}=_0x4bc460,_0x3cfb82=this[_0x59ba27(0x141)]()+'/'+_0x7e95b9+_0x59ba27(0x31d)+_0x62b3eb+'/rev/'+_0x18be98,_0x1a9c5f=(await this[_0x59ba27(0x2ca)][_0x59ba27(0x43d)](_0x3cfb82))[_0x59ba27(0x11f)],_0x1b143d=(_0x4948c9=_0x1a9c5f[_0x59ba27(0x10f)])==null?void 0x0:_0x4948c9['workbook'];if(_0x1b143d){const _0x3d09f7=_0x1b143d==null?void 0x0:_0x1b143d[_0x59ba27(0x25b)],_0x3f938d=I['textEncoder']['encode'](I[_0x59ba27(0x3b2)](_0x3d09f7));_0x1b143d['originalMeta']=_0x3f938d,Object[_0x59ba27(0x2e5)](_0x1b143d[_0x59ba27(0x454)])['forEach'](([,_0x1a4088])=>{var _0x3337f6=_0x59ba27;const _0x129456=_0x1a4088[_0x3337f6(0x25b)],_0x5c0e38=I['textEncoder'][_0x3337f6(0x134)](I[_0x3337f6(0x3b2)](_0x129456));_0x1a4088[_0x3337f6(0x25b)]=_0x5c0e38;});}return _0x1a9c5f;}async[_0x5d9338(0x3a1)](_0x3e2bda,_0x4e8454){var _0x2736a5=_0x5d9338;const {unitID:_0xf417e7,type:_0x103c10,blockID:_0x2c310f}=_0x4e8454,_0x33ed9e=this[_0x2736a5(0x1db)]()+'/'+_0x103c10+_0x2736a5(0x31d)+_0xf417e7+'/block/'+_0x2c310f;return(await this['_httpService']['get'](_0x33ed9e))['body'];}async[_0x5d9338(0x1e6)](_0x188520,_0x48b26a){var _0x194367=_0x5d9338;const {unitID:_0x33727e,type:_0x3bb759,blockID:_0x1fd4e1}=_0x48b26a,_0x57f2b0=this[_0x194367(0x1db)]()+_0x194367(0x207)+_0x3bb759+'/unit/'+_0x33727e+_0x194367(0x207)+_0x1fd4e1;return(await this[_0x194367(0x2ca)][_0x194367(0x43d)](_0x57f2b0))[_0x194367(0x11f)];}async[_0x5d9338(0x333)](_0x40bd03,_0x1c43b7){var _0x3826e7=_0x5d9338;const {unitID:_0x3c183a,type:_0x43d0cb,from:_0xc1bf77,to:_0x3626c4}=_0x1c43b7,_0xa63f3b=this['_getAPIPrefix']()+'/'+_0x43d0cb+_0x3826e7(0x31d)+_0x3c183a+'/fetchmissing?from='+_0xc1bf77+_0x3826e7(0x2aa)+_0x3626c4;return(await this['_httpService'][_0x3826e7(0x43d)](_0xa63f3b))[_0x3826e7(0x11f)];}[_0x5d9338(0x141)](){var _0x50c569=_0x5d9338,_0x2949ef;return(_0x2949ef=this[_0x50c569(0x44f)][_0x50c569(0x2ea)](lt))!=null?_0x2949ef:this[_0x50c569(0x1db)]();}['_getAPIPrefix'](){var _0x376f70=_0x5d9338,_0x556e0d,_0x488401;const _0xcdc220=this[_0x376f70(0x44f)][_0x376f70(0x2ea)](_t),_0x19d1fb=this[_0x376f70(0x44f)][_0x376f70(0x2ea)](K);return(_0x488401=(_0x556e0d=_0x19d1fb==null?void 0x0:_0x19d1fb[_0x376f70(0x3e6)])!=null?_0x556e0d:_0xcdc220)!=null?_0x488401:Lt;}async[_0x5d9338(0x378)](_0x3dba10,_0x2d37cc){var _0x1459c3=_0x5d9338;const _0x2e0743='/universer-api/snapshot/'+_0x2d37cc[_0x1459c3(0x2c9)]+_0x1459c3(0x31d)+_0x2d37cc[_0x1459c3(0x1c0)]+'/resources';return(await this[_0x1459c3(0x2ca)]['get'](_0x2e0743,{'params':{'resourceId':JSON[_0x1459c3(0x1bf)](_0x2d37cc[_0x1459c3(0x2b5)])}}))[_0x1459c3(0x11f)];}[_0x5d9338(0x102)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5d9338(0x418)](){var _0x1b82e5=_0x5d9338;throw new Error(_0x1b82e5(0x27c));}[_0x5d9338(0x16c)](){var _0x1d2bec=_0x5d9338;throw new Error(_0x1d2bec(0x27c));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5d9338(0x353)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5d9338(0x164)](){var _0x57bc4f=_0x5d9338;throw new Error(_0x57bc4f(0x27c));}},exports['SnapshotServerOverHTTPService']=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x5d9338(0x15d)](Y[_0x5d9338(0x251)]))],exports[_0x5d9338(0x2fd)]);var bn=Object[_0x5d9338(0x254)],Rn=(_0x3c0dbb,_0x2f8a9e,_0x3149e7,_0x7e6823)=>{var _0x32ed0d=_0x5d9338;for(var _0x5a35d8=_0x7e6823>0x1?void 0x0:_0x7e6823?bn(_0x2f8a9e,_0x3149e7):_0x2f8a9e,_0x4883d2=_0x3c0dbb[_0x32ed0d(0x2f8)]-0x1,_0x4cd139;_0x4883d2>=0x0;_0x4883d2--)(_0x4cd139=_0x3c0dbb[_0x4883d2])&&(_0x5a35d8=_0x4cd139(_0x5a35d8)||_0x5a35d8);return _0x5a35d8;},ue=(_0xf9221,_0x4f12c3)=>(_0x5dc533,_0x2b8d29)=>_0x4f12c3(_0x5dc533,_0x2b8d29,_0xf9221);exports[_0x5d9338(0x2bb)]=class extends a['LocalUndoRedoService']{constructor(_0x58eb8b,_0x30db3c,_0x129ded,_0x36aeae,_0xca43c6){var _0x390564=_0x5d9338;super(_0x58eb8b,_0x30db3c,_0x129ded),this['_transformService']=_0x36aeae,this[_0x390564(0x415)]=_0xca43c6;}[_0x5d9338(0x2a4)](_0x316a2f,_0x4dea88){var _0x2d3459=_0x5d9338;const _0x37a3fd=this[_0x2d3459(0x3d0)](_0x316a2f);if(_0x37a3fd)try{const _0x34dc91=this[_0x2d3459(0x417)](_0x37a3fd,_0x4dea88);this[_0x2d3459(0x387)](_0x316a2f,_0x34dc91);}catch(_0x185243){this[_0x2d3459(0x415)][_0x2d3459(0x45d)]('[CollaborationUndoRedoService]',_0x185243),this[_0x2d3459(0x219)](_0x316a2f);}const _0xda5d7d=this[_0x2d3459(0x40c)](_0x316a2f);if(_0xda5d7d)try{const _0x55e27a=this[_0x2d3459(0x417)](_0xda5d7d,_0x4dea88);this[_0x2d3459(0x450)](_0x316a2f,_0x55e27a);}catch(_0x22cc54){this[_0x2d3459(0x415)]['error'](_0x22cc54),this['_clearRedo'](_0x316a2f);}}['_clearUndo'](_0x64c608){var _0x57bdec=_0x5d9338;const _0xad9b79=this[_0x57bdec(0x3d0)](_0x64c608);_0xad9b79&&(_0xad9b79[_0x57bdec(0x2f8)]=0x0,this[_0x57bdec(0x15a)]());}[_0x5d9338(0x13f)](_0x18fd8f){var _0x45ef78=_0x5d9338;const _0x1a259f=this[_0x45ef78(0x40c)](_0x18fd8f);_0x1a259f&&(_0x1a259f[_0x45ef78(0x2f8)]=0x0,this[_0x45ef78(0x15a)]());}['_substituteUndoStack'](_0x2b67d4,_0x1fde5e){var _0x8fcdfe=_0x5d9338;this['_undoStacks'][_0x8fcdfe(0x385)](_0x2b67d4,_0x1fde5e),this[_0x8fcdfe(0x15a)]();}['_substituteRedoStack'](_0x2f3440,_0x552fc4){var _0x38b6d2=_0x5d9338;this[_0x38b6d2(0x13c)][_0x38b6d2(0x385)](_0x2f3440,_0x552fc4),this[_0x38b6d2(0x15a)]();}[_0x5d9338(0x417)](_0x23fdfb,_0x200cc3){var _0x4ad681=_0x5d9338;const _0x2637ed=[];let _0x3b84b9=_0x200cc3,_0x1ba891=_0x200cc3;for(let _0x41ae78=_0x23fdfb['length']-0x1;_0x41ae78>=0x0;_0x41ae78--){const {unitID:_0x43a226,undoMutations:_0x46cf67,redoMutations:_0x59b2b6}=_0x23fdfb[_0x41ae78],_0x1aea79=this['_transformService'][_0x4ad681(0x238)](_0x3b84b9,_0x46cf67),_0x4e6f4f=this[_0x4ad681(0x337)]['transformMutationsWithChangeset'](_0x1ba891,_0x59b2b6);if(I[_0x4ad681(0x3f8)](_0x1aea79)||I['isTransformMutationsWithChangesetFailure'](_0x4e6f4f)){this[_0x4ad681(0x415)]['error'](_0x4ad681(0x2fa),'transformStack\x20failed!',_0x1aea79,_0x4e6f4f);break;}_0x3b84b9=_0x1aea79[_0x4ad681(0x1f0)],_0x1ba891=_0x4e6f4f[_0x4ad681(0x1f0)],_0x2637ed[_0x4ad681(0x206)]({'unitID':_0x43a226,'undoMutations':_0x1aea79['m2Prime'],'redoMutations':_0x4e6f4f['m2Prime']});}return _0x2637ed[_0x4ad681(0x452)]();}},exports[_0x5d9338(0x2bb)]=Rn([ue(0x0,a[_0x5d9338(0x397)]),ue(0x1,a[_0x5d9338(0x3ea)]),ue(0x2,a['IContextService']),ue(0x3,I[_0x5d9338(0x3d1)]),ue(0x4,a['ILogService'])],exports[_0x5d9338(0x2bb)]);var On=Object[_0x5d9338(0x1c1)],yn=Object[_0x5d9338(0x254)],Nn=(_0xe72c20,_0x1a4079,_0x1bdabd)=>_0x1a4079 in _0xe72c20?On(_0xe72c20,_0x1a4079,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bdabd}):_0xe72c20[_0x1a4079]=_0x1bdabd,Un=(_0x23ee60,_0x7a3e46,_0xea0ffb,_0x2b8fa0)=>{var _0x2fa591=_0x5d9338;for(var _0x2dba68=_0x2b8fa0>0x1?void 0x0:_0x2b8fa0?yn(_0x7a3e46,_0xea0ffb):_0x7a3e46,_0x39132c=_0x23ee60[_0x2fa591(0x2f8)]-0x1,_0x1ce2f2;_0x39132c>=0x0;_0x39132c--)(_0x1ce2f2=_0x23ee60[_0x39132c])&&(_0x2dba68=_0x1ce2f2(_0x2dba68)||_0x2dba68);return _0x2dba68;},Me=(_0x11507c,_0x29a401)=>(_0x51108c,_0x40e0f8)=>_0x29a401(_0x51108c,_0x40e0f8,_0x11507c),Dn=(_0x29cf69,_0x21feac,_0x66a996)=>Nn(_0x29cf69,_0x21feac+'',_0x66a996);const An=_0x5d9338(0x32c);exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x9eb0bf,_0x4f1c24,_0x5f255b,_0x5974b8){var _0x195e38=_0x5d9338;super(),A(this,_0x195e38(0x3ec)),(this[_0x195e38(0x415)]=_0x4f1c24,this[_0x195e38(0x20c)]=_0x5f255b,this[_0x195e38(0x44f)]=_0x5974b8);const {..._0x2cec1e}=a[_0x195e38(0x17f)]({},Yt,_0x9eb0bf);if(!_0x2cec1e[_0x195e38(0x3b5)])throw new Error(_0x195e38(0x379));this['_config']=_0x2cec1e,this[_0x195e38(0x44f)][_0x195e38(0x278)](K,_0x2cec1e);}[_0x5d9338(0x398)](){var _0x426a1e=_0x5d9338;this[_0x426a1e(0x3e4)](),this['_initDependencies']();}['_registerDependencies'](){var _0x194860=_0x5d9338,_0xd42dfd,_0x4d6115;this['_injector']['has'](a['IUndoRedoService'])&&this[_0x194860(0x415)][_0x194860(0x45d)](_0x194860(0x26b),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2fb9a=a[_0x194860(0x2f5)]([[a[_0x194860(0x193)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x194860(0x32f)]],[exports[_0x194860(0x121)]],[exports[_0x194860(0x35d)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x194860(0x316)]],[He,{'useClass':this['_config'][_0x194860(0x3b5)]}],[I[_0x194860(0x2e1)],{'useClass':exports[_0x194860(0x2fd)]}],[a[_0x194860(0x2fe)],{'useClass':exports[_0x194860(0x1be)]}],[z[_0x194860(0x261)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x194860(0x3fa)],{'useClass':exports[_0x194860(0x2a0)]}],[exports[_0x194860(0x245)]],[xe]],(_0xd42dfd=this[_0x194860(0x3ec)])==null?void 0x0:_0xd42dfd[_0x194860(0x440)]);if(!((_0x4d6115=this[_0x194860(0x3ec)])!=null&&_0x4d6115[_0x194860(0x382)])){const _0x5181b5=_0x2fb9a['findIndex'](([_0x5783b5])=>_0x5783b5===de);_0x5181b5!==-0x1&&_0x2fb9a[_0x194860(0x236)](_0x5181b5,0x1);}a['registerDependencies'](this['_injector'],_0x2fb9a);}[_0x5d9338(0x3e5)](){var _0x5c8f2d=_0x5d9338,_0x12ce82,_0x5e3f33,_0x31077c;this[_0x5c8f2d(0x20c)]['get'](Y[_0x5c8f2d(0x251)])[_0x5c8f2d(0x2ff)]({'priority':0x14,'interceptor':Y[_0x5c8f2d(0x449)]({'maxParallel':0x6})}),(_0x12ce82=this[_0x5c8f2d(0x3ec)])!=null&&_0x12ce82[_0x5c8f2d(0x19c)]||(_0x5e3f33=this[_0x5c8f2d(0x20c)]['get'](q,a[_0x5c8f2d(0x423)]['OPTIONAL']))==null||_0x5e3f33[_0x5c8f2d(0x1f2)](),(_0x31077c=this[_0x5c8f2d(0x3ec)])!=null&&_0x31077c[_0x5c8f2d(0x441)]&&a[_0x5c8f2d(0x45f)](this[_0x5c8f2d(0x20c)],[[ye]]),a[_0x5c8f2d(0x45f)](this[_0x5c8f2d(0x20c)],[[Ne],[exports[_0x5c8f2d(0x245)]],[Ue]]);}},Dn(exports[_0x5d9338(0x112)],'pluginName',An),exports['UniverCollaborationClientPlugin']=Un([a[_0x5d9338(0x2f1)](I[_0x5d9338(0x3f6)],Y[_0x5d9338(0x252)]),Me(0x1,a['ILogService']),Me(0x2,a['Inject'](a[_0x5d9338(0x343)])),Me(0x3,a[_0x5d9338(0x410)])],exports[_0x5d9338(0x112)]),exports[_0x5d9338(0x188)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=K,exports[_0x5d9338(0x380)]=pt,exports[_0x5d9338(0xfe)]=ut,exports[_0x5d9338(0x1e4)]=Be,exports[_0x5d9338(0x218)]=Z,exports[_0x5d9338(0x145)]=ee,exports[_0x5d9338(0x3f1)]=$e,exports[_0x5d9338(0x1d6)]=dt,exports[_0x5d9338(0x15f)]=Kt,exports[_0x5d9338(0x345)]=kt,exports[_0x5d9338(0x3c4)]=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=He,exports['ILocalCacheService']=q,exports['INetworkConditionService']=mt,exports['ISingleActiveUnitService']=de,exports[_0x5d9338(0x37c)]=Ft,exports[_0x5d9338(0x323)]=Bt,exports[_0x5d9338(0x119)]=It,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Gt,exports[_0x5d9338(0x216)]=ft,exports[_0x5d9338(0x437)]=Mt,exports[_0x5d9338(0x419)]=_t,exports[_0x5d9338(0x428)]=lt,exports[_0x5d9338(0x297)]=re,exports[_0x5d9338(0x186)]=je,exports[_0x5d9338(0x386)]=Ct,exports[_0x5d9338(0x359)]=oi,exports[_0x5d9338(0x2f2)]=Tt;
1
+ 'use strict';var _0x199ec4=_0x3c30;(function(_0x217036,_0x524124){var _0x10ba56=_0x3c30,_0x3ffad0=_0x217036();while(!![]){try{var _0x4854fb=-parseInt(_0x10ba56(0x339))/0x1*(-parseInt(_0x10ba56(0x4b2))/0x2)+parseInt(_0x10ba56(0x1fd))/0x3+-parseInt(_0x10ba56(0x1ca))/0x4+-parseInt(_0x10ba56(0x464))/0x5+-parseInt(_0x10ba56(0x427))/0x6+parseInt(_0x10ba56(0x387))/0x7*(parseInt(_0x10ba56(0x36a))/0x8)+parseInt(_0x10ba56(0x23b))/0x9;if(_0x4854fb===_0x524124)break;else _0x3ffad0['push'](_0x3ffad0['shift']());}catch(_0x599d7f){_0x3ffad0['push'](_0x3ffad0['shift']());}}}(_0x3d52,0x45efc));var Dt=Object[_0x199ec4(0x3ab)],At=(_0x86749e,_0xc20054,_0x214774)=>_0xc20054 in _0x86749e?Dt(_0x86749e,_0xc20054,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x214774}):_0x86749e[_0xc20054]=_0x214774,A=(_0x1b3684,_0x470121,_0x3f556e)=>At(_0x1b3684,typeof _0x470121!=_0x199ec4(0x47b)?_0x470121+'':_0x470121,_0x3f556e);Object[_0x199ec4(0x3ab)](exports,Symbol['toStringTag'],{'value':_0x199ec4(0x1db)});const a=require(_0x199ec4(0x283)),$=require(_0x199ec4(0x1cc)),V=require('rxjs/operators'),I=require('@univerjs-pro/collaboration'),Y=require(_0x199ec4(0x2c3)),Pt=require(_0x199ec4(0x2d4)),ht=require(_0x199ec4(0x447)),X=require(_0x199ec4(0x3f1)),z=require(_0x199ec4(0x47e)),wt=require(_0x199ec4(0x2d0)),_t=_0x199ec4(0x3a4),Lt='/universer-api/snapshot',lt=_0x199ec4(0x307),Mt=_0x199ec4(0x2c1),xt=0x7d0,ut=_0x199ec4(0x3de),dt=_0x199ec4(0x422),kt='/universer-api/user/session-ticket',vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x199ec4(0x1d4),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt='LOCAL_CACHE_INTERVAL',Ft=0x3e8,pt=_0x199ec4(0x28f),Vt=_0x199ec4(0x268),It=_0x199ec4(0x31b),Wt=_0x199ec4(0x1de),Gt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Kt='/universer-api/uniscript';var gt=(_0x25b070=>(_0x25b070[_0x25b070['UNDEFINED']=0x0]=_0x199ec4(0x3c3),_0x25b070[_0x25b070['OK']=0x1]='OK',_0x25b070[_0x25b070['INTERNAL_ERROR']=0x2]=_0x199ec4(0x4d6),_0x25b070[_0x25b070[_0x199ec4(0x256)]=0x3]=_0x199ec4(0x256),_0x25b070[_0x25b070[_0x199ec4(0x38e)]=0x4]=_0x199ec4(0x38e),_0x25b070[_0x25b070['UNAUTHENTICATED']=0x5]=_0x199ec4(0x267),_0x25b070[_0x25b070[_0x199ec4(0x459)]=0x6]=_0x199ec4(0x459),_0x25b070[_0x25b070[_0x199ec4(0x1fc)]=0x7]=_0x199ec4(0x1fc),_0x25b070[_0x25b070[_0x199ec4(0x1a2)]=0x8]=_0x199ec4(0x1a2),_0x25b070[_0x25b070[_0x199ec4(0x20e)]=0x9]='COMPLETION_FINISHED',_0x25b070[_0x25b070[_0x199ec4(0x3c1)]=0xa]=_0x199ec4(0x3c1),_0x25b070[_0x25b070[_0x199ec4(0x405)]=0x1389]=_0x199ec4(0x405),_0x25b070[_0x25b070[_0x199ec4(0x1e2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x25b070[_0x25b070[_0x199ec4(0x1f2)]=0x1772]=_0x199ec4(0x1f2),_0x25b070[_0x25b070['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x25b070[_0x25b070[_0x199ec4(0x2d3)]=0x1b59]='APPLY_REJECT',_0x25b070[_0x25b070[_0x199ec4(0x4e6)]=0x1b5a]=_0x199ec4(0x4e6),_0x25b070[_0x25b070[_0x199ec4(0x24f)]=0x1b5b]=_0x199ec4(0x24f),_0x25b070[_0x25b070[_0x199ec4(0x18c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x25b070[_0x25b070[_0x199ec4(0x352)]=0x1b5d]=_0x199ec4(0x352),_0x25b070[_0x25b070[_0x199ec4(0x2b4)]=0x1f41]=_0x199ec4(0x2b4),_0x25b070[_0x25b070[_0x199ec4(0x1f8)]=0x2329]=_0x199ec4(0x1f8),_0x25b070[_0x25b070[_0x199ec4(0x43c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x25b070[_0x25b070[_0x199ec4(0x2e4)]=0x232b]=_0x199ec4(0x2e4),_0x25b070[_0x25b070['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x25b070[_0x25b070[_0x199ec4(0x17d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x25b070[_0x25b070[_0x199ec4(0x358)]=0x2711]=_0x199ec4(0x358),_0x25b070[_0x25b070['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x199ec4(0x3ef),_0x25b070[_0x25b070[_0x199ec4(0x4e5)]=0x2713]=_0x199ec4(0x4e5),_0x25b070[_0x25b070[_0x199ec4(0x4a4)]=0x2714]=_0x199ec4(0x4a4),_0x25b070[_0x25b070['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x25b070[_0x25b070[_0x199ec4(0x49c)]=0x271b]=_0x199ec4(0x49c),_0x25b070[_0x25b070[_0x199ec4(0x2b3)]=0x271c]=_0x199ec4(0x2b3),_0x25b070[_0x25b070[_0x199ec4(0x1be)]=0x271d]=_0x199ec4(0x1be),_0x25b070[_0x25b070['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x25b070[_0x25b070[_0x199ec4(0x2f4)]=0x271f]=_0x199ec4(0x2f4),_0x25b070[_0x25b070[_0x199ec4(0x376)]=0x2af9]=_0x199ec4(0x376),_0x25b070[_0x25b070[_0x199ec4(0x178)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x25b070[_0x25b070[_0x199ec4(0x305)]=0x2ee2]=_0x199ec4(0x305),_0x25b070[_0x25b070[_0x199ec4(0x23e)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x25b070[_0x25b070[_0x199ec4(0x2a6)]=0x2ee4]=_0x199ec4(0x2a6),_0x25b070[_0x25b070[_0x199ec4(0x329)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x25b070[_0x25b070[_0x199ec4(0x413)]=0x32c9]=_0x199ec4(0x413),_0x25b070[_0x25b070[_0x199ec4(0x40b)]=0x32ca]=_0x199ec4(0x40b),_0x25b070[_0x25b070[_0x199ec4(0x372)]=0x32cb]=_0x199ec4(0x372),_0x25b070[_0x25b070[_0x199ec4(0x335)]=-0x1]='UNRECOGNIZED',_0x25b070))(gt||{}),J=(_0xdc2af6=>(_0xdc2af6[_0xdc2af6[_0x199ec4(0x183)]=0x0]=_0x199ec4(0x183),_0xdc2af6[_0xdc2af6['UNIVER_DOC']=0x1]=_0x199ec4(0x3fc),_0xdc2af6[_0xdc2af6[_0x199ec4(0x31a)]=0x2]=_0x199ec4(0x31a),_0xdc2af6[_0xdc2af6['UNIVER_SLIDE']=0x3]=_0x199ec4(0x1a8),_0xdc2af6[_0xdc2af6['UNIVER_PROJECT']=0x4]=_0x199ec4(0x43a),_0xdc2af6[_0xdc2af6[_0x199ec4(0x335)]=-0x1]=_0x199ec4(0x335),_0xdc2af6))(J||{}),W=(_0x5739d7=>(_0x5739d7[_0x5739d7[_0x199ec4(0x331)]=0x0]=_0x199ec4(0x331),_0x5739d7[_0x5739d7[_0x199ec4(0x42e)]=0x1]=_0x199ec4(0x42e),_0x5739d7[_0x5739d7[_0x199ec4(0x232)]=0x2]='JOIN',_0x5739d7[_0x5739d7[_0x199ec4(0x220)]=0x3]='LEAVE',_0x5739d7[_0x5739d7[_0x199ec4(0x426)]=0x4]=_0x199ec4(0x426),_0x5739d7[_0x5739d7['HEARTBEAT']=0x5]='HEARTBEAT',_0x5739d7[_0x5739d7['RECV']=0x6]=_0x199ec4(0x492),_0x5739d7[_0x5739d7['UNRECOGNIZED']=-0x1]=_0x199ec4(0x335),_0x5739d7))(W||{}),oe=(_0x333064=>(_0x333064[_0x333064[_0x199ec4(0x2ec)]=0x0]=_0x199ec4(0x2ec),_0x333064[_0x333064['OK']=0x1]='OK',_0x333064[_0x333064[_0x199ec4(0x469)]=0x2]=_0x199ec4(0x469),_0x333064[_0x333064[_0x199ec4(0x2e1)]=0x3e9]=_0x199ec4(0x2e1),_0x333064[_0x333064[_0x199ec4(0x48a)]=0x3ea]=_0x199ec4(0x48a),_0x333064[_0x333064[_0x199ec4(0x252)]=0x3eb]=_0x199ec4(0x252),_0x333064[_0x333064[_0x199ec4(0x378)]=0x3ec]=_0x199ec4(0x378),_0x333064[_0x333064[_0x199ec4(0x335)]=-0x1]=_0x199ec4(0x335),_0x333064))(oe||{}),Et=(_0x36f982=>(_0x36f982[_0x36f982[_0x199ec4(0x384)]=0x0]=_0x199ec4(0x384),_0x36f982[_0x36f982[_0x199ec4(0x48d)]=0x1]=_0x199ec4(0x48d),_0x36f982[_0x36f982[_0x199ec4(0x48c)]=0x2]=_0x199ec4(0x48c),_0x36f982[_0x36f982['UnitEmbedded']=0x3]=_0x199ec4(0x30a),_0x36f982[_0x36f982[_0x199ec4(0x1ef)]=0x4]=_0x199ec4(0x1ef),_0x36f982[_0x36f982[_0x199ec4(0x4eb)]=0x5]=_0x199ec4(0x4eb),_0x36f982[_0x36f982[_0x199ec4(0x335)]=-0x1]=_0x199ec4(0x335),_0x36f982))(Et||{});const K=_0x199ec4(0x46f),Yt={};var Z=(_0x56874f=>(_0x56874f['OTHER_CLIENT_EDITING']=_0x199ec4(0x1e7),_0x56874f[_0x199ec4(0x256)]='PERMISSION_DENIED',_0x56874f[_0x199ec4(0x365)]=_0x199ec4(0x365),_0x56874f[_0x199ec4(0x39f)]=_0x199ec4(0x39f),_0x56874f[_0x199ec4(0x24e)]=_0x199ec4(0x24e),_0x56874f['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x56874f[_0x199ec4(0x1a4)]='SOCKET_FAILED',_0x56874f[_0x199ec4(0x4ef)]='SUBMIT_CHANGESET_TIMEOUT',_0x56874f))(Z||{});class ee{constructor(){var _0x2e8b7=_0x199ec4;A(this,'_event$',new $['Subject']()),A(this,'event$',this[_0x2e8b7(0x3f9)][_0x2e8b7(0x206)]());}['emitEvent'](_0x266ece){this['_event$']['next'](_0x266ece);}}const mt=a[_0x199ec4(0x200)]('univer-pro.collaboration-client.network-condition.service');function Ct(_0x2f8005){var _0x272ca9=_0x199ec4,_0x524f44,_0x13fcbc,_0x4affe1,_0x287a2b,_0x3c8316;const _0x12e8c5=_0x2f8005[_0x272ca9(0x280)],_0x3a2d7a=JSON[_0x272ca9(0x494)](_0x12e8c5);switch(_0x3a2d7a['cmd']){case W[_0x272ca9(0x18b)]:case W[_0x272ca9(0x42e)]:{const _0x3d0425=_0x3a2d7a[_0x272ca9(0x3c9)];return{..._0x3a2d7a,'data':_0x3d0425,'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};}case W[_0x272ca9(0x232)]:{const _0x93749b=_0x3a2d7a['joinRsp'];return{..._0x3a2d7a,'data':_0x93749b,'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};}case W[_0x272ca9(0x492)]:{const _0x2c23da=_0x3a2d7a[_0x272ca9(0x1c7)];switch(_0x2c23da['eventID']){case I[_0x272ca9(0x4a0)][_0x272ca9(0x1d9)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':(_0x524f44=_0x2c23da[_0x272ca9(0x2bb)])==null?void 0x0:_0x524f44['cs']},'cmd':_0x3a2d7a['cmd']};case I[_0x272ca9(0x4a0)][_0x272ca9(0x2a2)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':(_0x13fcbc=_0x2c23da[_0x272ca9(0x3d8)])==null?void 0x0:_0x13fcbc['cs']},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I['CollaborationEvent'][_0x272ca9(0x4cb)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':(_0x4affe1=_0x2c23da[_0x272ca9(0x2ba)])==null?void 0x0:_0x4affe1['cs']},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I[_0x272ca9(0x4a0)][_0x272ca9(0x3bd)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':(_0x287a2b=_0x2c23da[_0x272ca9(0x2bd)])==null?void 0x0:_0x287a2b['cs']},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I[_0x272ca9(0x4a0)][_0x272ca9(0x1bb)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':(_0x3c8316=_0x2c23da[_0x272ca9(0x24d)])==null?void 0x0:_0x3c8316['cs']},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I[_0x272ca9(0x4a0)][_0x272ca9(0x4f1)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da[_0x272ca9(0x2bc)]},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I[_0x272ca9(0x4a0)][_0x272ca9(0x255)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da[_0x272ca9(0x3f3)]},'cmd':_0x3a2d7a['cmd']};case I[_0x272ca9(0x4a0)]['USERS_LEAVE']:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da['leaveEvent']},'cmd':_0x3a2d7a['cmd']};case I[_0x272ca9(0x4a0)][_0x272ca9(0x3d7)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da['liveShareNewHost']},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I[_0x272ca9(0x4a0)][_0x272ca9(0x417)]:case I[_0x272ca9(0x4a0)][_0x272ca9(0x4a1)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da[_0x272ca9(0x176)]},'cmd':_0x3a2d7a['cmd']};case I[_0x272ca9(0x4a0)][_0x272ca9(0x23c)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da['liveShareNewHost']},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I[_0x272ca9(0x4a0)][_0x272ca9(0x3c6)]:return{..._0x3a2d7a,'data':_0x2c23da,'cmd':_0x3a2d7a['cmd']};case I[_0x272ca9(0x4a0)]['COMMENT_UPDATE']:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da[_0x272ca9(0x430)]},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da['updatePermissionObjEvent']},'cmd':_0x3a2d7a['cmd']};case I[_0x272ca9(0x4a0)][_0x272ca9(0x401)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da[_0x272ca9(0x482)]},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da[_0x272ca9(0x28a)]},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};default:return _0x3a2d7a;}}default:return _0x3a2d7a;}}function Tt(_0x13ac9e){var _0x3e10f9=_0x199ec4;switch(_0x13ac9e['cmd']){case W[_0x3e10f9(0x18b)]:case W[_0x3e10f9(0x42e)]:return JSON['stringify']({'cmd':_0x13ac9e[_0x3e10f9(0x27b)],'routeKey':_0x13ac9e[_0x3e10f9(0x184)]});case W[_0x3e10f9(0x426)]:{let _0x498020;switch(_0x13ac9e[_0x3e10f9(0x280)][_0x3e10f9(0x4f2)]){case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x4f1)]:{_0x498020={'eventID':I['CollaborationEvent'][_0x3e10f9(0x4f1)],'updateCursorEvent':_0x13ac9e[_0x3e10f9(0x280)][_0x3e10f9(0x280)]};break;}case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x3a9)]:{_0x498020={'eventID':I[_0x3e10f9(0x4a0)][_0x3e10f9(0x3a9)],'leaveEvent':_0x13ac9e[_0x3e10f9(0x280)][_0x3e10f9(0x280)]};break;}case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x255)]:{_0x498020={'eventID':I[_0x3e10f9(0x4a0)][_0x3e10f9(0x255)],'joinEvent':_0x13ac9e['data'][_0x3e10f9(0x280)]};break;}case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x3d7)]:{_0x498020={'eventID':I[_0x3e10f9(0x4a0)][_0x3e10f9(0x3d7)],'liveShareNewHost':_0x13ac9e[_0x3e10f9(0x280)][_0x3e10f9(0x280)]};break;}case I['CollaborationEvent'][_0x3e10f9(0x4a1)]:{_0x498020={'eventID':I[_0x3e10f9(0x4a0)][_0x3e10f9(0x4a1)],'liveShareOperation':_0x13ac9e[_0x3e10f9(0x280)][_0x3e10f9(0x280)]};break;}case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x23c)]:{_0x498020={'eventID':I[_0x3e10f9(0x4a0)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x13ac9e[_0x3e10f9(0x280)][_0x3e10f9(0x280)]};break;}case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x310)]:{_0x498020={'eventID':I[_0x3e10f9(0x4a0)][_0x3e10f9(0x310)],'liveShareRequestHost':_0x13ac9e[_0x3e10f9(0x280)]['data']};break;}case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x417)]:{_0x498020={'eventID':I['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x498020={'eventID':_0x13ac9e[_0x3e10f9(0x280)]['eventID']};}return JSON[_0x3e10f9(0x3b7)]({'cmd':_0x13ac9e[_0x3e10f9(0x27b)],'routeKey':_0x13ac9e[_0x3e10f9(0x184)],'collaMsg':_0x498020});}case W[_0x3e10f9(0x232)]:return JSON[_0x3e10f9(0x3b7)]({'cmd':_0x13ac9e['cmd'],'routeKey':_0x13ac9e[_0x3e10f9(0x184)],'joinReq':_0x13ac9e[_0x3e10f9(0x280)]});case W['LEAVE']:return JSON['stringify']({'cmd':_0x13ac9e['cmd'],'routeKey':_0x13ac9e[_0x3e10f9(0x184)],'leaveReq':_0x13ac9e['data']});default:throw new Error(_0x3e10f9(0x1eb));}}var qt=Object[_0x199ec4(0x244)],zt=(_0x34d931,_0x3d48ac,_0x7a9897,_0x1a7ce6)=>{var _0x4dd8bf=_0x199ec4;for(var _0x503fbb=_0x1a7ce6>0x1?void 0x0:_0x1a7ce6?qt(_0x3d48ac,_0x7a9897):_0x3d48ac,_0x55383e=_0x34d931[_0x4dd8bf(0x418)]-0x1,_0x4e4e9b;_0x55383e>=0x0;_0x55383e--)(_0x4e4e9b=_0x34d931[_0x55383e])&&(_0x503fbb=_0x4e4e9b(_0x503fbb)||_0x503fbb);return _0x503fbb;},_e=(_0x3999e0,_0x316194)=>(_0x510fbc,_0x35b67c)=>_0x316194(_0x510fbc,_0x35b67c,_0x3999e0);const He=a['createIdentifier'](_0x199ec4(0x2a0));function Jt(_0x5d45b1,_0x2f2460,_0x8d8b39){var _0x40e732=_0x199ec4;return _0x5d45b1+'/'+_0x2f2460+_0x40e732(0x26e)+_0x8d8b39+'/new_changes';}exports[_0x199ec4(0x34e)]=class extends a[_0x199ec4(0x455)]{constructor(_0x3abb18,_0x588e60,_0x4f2180,_0x4ffa8d,_0x309856){var _0x441482=_0x199ec4;super(),this[_0x441482(0x2ed)]=_0x3abb18,this[_0x441482(0x44a)]=_0x588e60,this[_0x441482(0x44e)]=_0x4f2180,this[_0x441482(0x309)]=_0x4ffa8d,this[_0x441482(0x189)]=_0x309856;}['_doCreateSocket'](_0x3d47d5){var _0x8200b3=_0x199ec4;const _0x166220=this[_0x8200b3(0x2ed)][_0x8200b3(0x25b)](Y[_0x8200b3(0x337)]);if(!_0x166220)throw new Error(_0x8200b3(0x17e));const _0x1bcf70=_0x166220[_0x8200b3(0x273)](_0x3d47d5);if(!_0x1bcf70)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x31fc30=new a['DisposableCollection'](),_0xca5f8c=new $[(_0x8200b3(0x215))]();_0x31fc30[_0x8200b3(0x4ea)](_0x1bcf70[_0x8200b3(0x1d7)]['subscribe'](_0x2b900a=>_0xca5f8c[_0x8200b3(0x1b3)](_0x2b900a))),_0x31fc30['add'](a[_0x8200b3(0x468)](()=>_0xca5f8c[_0x8200b3(0x1cd)]()));const _0x39548e=new $[(_0x8200b3(0x215))]();_0x31fc30[_0x8200b3(0x4ea)](_0x1bcf70[_0x8200b3(0x22b)][_0x8200b3(0x483)](_0x608399=>_0x39548e['next'](_0x608399))),_0x31fc30[_0x8200b3(0x4ea)](a['toDisposable'](()=>_0x39548e[_0x8200b3(0x1cd)]()));const _0x2b6dfd=new $['Subject']();_0x31fc30['add'](_0x1bcf70['message$'][_0x8200b3(0x483)](_0x1fe64f=>{var _0x2897ca=_0x8200b3;const _0x2932a1=Ct(_0x1fe64f);_0x2b6dfd[_0x2897ca(0x1b3)](_0x2932a1);})),_0x31fc30[_0x8200b3(0x4ea)](a[_0x8200b3(0x468)](()=>_0x2b6dfd[_0x8200b3(0x1cd)]()));let _0x2b30d6;const _0x24468c=()=>{var _0x26a3e1=_0x8200b3;_0x39548e['next'](new Event(_0x26a3e1(0x226))),_0xca5f8c['next'](new Event(_0x26a3e1(0x226))),_0x2b30d6[_0x26a3e1(0x49b)]();};return _0x2b30d6={'memberID':'','close$':_0xca5f8c[_0x8200b3(0x206)](),'error$':_0x39548e[_0x8200b3(0x206)](),'open$':_0x1bcf70[_0x8200b3(0x33b)],'message$':_0x2b6dfd[_0x8200b3(0x206)](),'send':_0x37e7d4=>{var _0x64ad88=_0x8200b3;if(_0x37e7d4[_0x64ad88(0x27b)]===W['INGEST']){if(_0x37e7d4[_0x64ad88(0x280)][_0x64ad88(0x4f2)]===I['CollaborationEvent'][_0x64ad88(0x487)]){this[_0x64ad88(0x47f)](_0x2b30d6,_0x37e7d4[_0x64ad88(0x280)])[_0x64ad88(0x231)](_0x1f9fee=>{var _0x1ecb64=_0x64ad88;this[_0x1ecb64(0x309)][_0x1ecb64(0x4af)](_0x1f9fee),_0x24468c();});return;}if(_0x37e7d4['data'][_0x64ad88(0x4f2)]===I[_0x64ad88(0x4a0)][_0x64ad88(0x4c8)]){const _0x1c462b=_0x37e7d4['data'];this[_0x64ad88(0x1cf)](_0x1c462b)[_0x64ad88(0x272)](_0x8ec391=>{var _0x1ca9d0=_0x64ad88;_0x2b6dfd[_0x1ca9d0(0x1b3)]({'cmd':W[_0x1ca9d0(0x492)],'code':oe['OK'],'routeKey':_0x1c462b[_0x1ca9d0(0x280)][_0x1ca9d0(0x2df)],'routeType':'','data':{'eventID':I[_0x1ca9d0(0x4a0)][_0x1ca9d0(0x1c0)],'data':{'changesets':_0x8ec391}}});})[_0x64ad88(0x231)](_0x54f56f=>{this['_logService']['error'](_0x54f56f),_0x24468c();});return;}}_0x1bcf70['send'](Tt(_0x37e7d4));},'close':()=>{var _0x219c6a=_0x8200b3;_0x1bcf70[_0x219c6a(0x49b)](),_0x31fc30[_0x219c6a(0x2ff)]();}},_0x2b30d6;}async[_0x199ec4(0x47f)](_0x28ab90,_0x3a7a07){var _0x509ccf=_0x199ec4,_0x2268ed,_0x24b1b6;const {unitType:_0x3d43ba,unitID:_0x1fcda3,changeset:_0x2cd928}=_0x3a7a07[_0x509ccf(0x280)],_0x113d90={'unitID':_0x1fcda3,'memberID':_0x28ab90[_0x509ccf(0x1c8)],'type':_0x3d43ba,'changeset':I['parseChangesetToProtocol'](_0x2cd928)},_0x4a1ef0=this[_0x509ccf(0x44e)][_0x509ccf(0x2d8)](pt),_0x3f782c=this[_0x509ccf(0x44e)][_0x509ccf(0x2d8)](K),_0x4c346a=Jt((_0x24b1b6=(_0x2268ed=_0x3f782c==null?void 0x0:_0x3f782c[_0x509ccf(0x28b)])!=null?_0x2268ed:_0x4a1ef0)!=null?_0x24b1b6:Vt,_0x3d43ba,_0x1fcda3);try{await this[_0x509ccf(0x44a)][_0x509ccf(0x30e)](_0x4c346a,{'body':_0x113d90});}catch(_0x2dbe7f){throw this[_0x509ccf(0x309)][_0x509ccf(0x4af)](_0x509ccf(0x4de),_0x509ccf(0x191)),_0x2dbe7f;}}async['_fetchMissChangesets'](_0x23308a){var _0x584663=_0x199ec4;const {unitID:_0x1b60ce,from:_0x564bf9,to:_0x120d52,unitType:_0x345a47}=_0x23308a['data'];return(await this[_0x584663(0x189)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1b60ce,'type':_0x345a47,'from':_0x564bf9,'to':_0x120d52}))[_0x584663(0x17a)];}},exports[_0x199ec4(0x34e)]=zt([_e(0x0,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),_e(0x1,a['Inject'](Y['HTTPService'])),_e(0x2,a[_0x199ec4(0x3e7)]),_e(0x3,a[_0x199ec4(0x37e)]),_e(0x4,I[_0x199ec4(0x4a2)])],exports[_0x199ec4(0x34e)]);const Xt='collaboration_new_changeset';function Zt(_0x4a955c){var _0x19c9fa=_0x199ec4;return JSON[_0x19c9fa(0x3b7)](_0x4a955c)[_0x19c9fa(0x418)];}class $e{constructor(){var _0x1046ba=_0x199ec4;A(this,'_commentUpdate$',new $[(_0x1046ba(0x215))]()),A(this,_0x1046ba(0x1ce),this[_0x1046ba(0x32f)][_0x1046ba(0x206)]());}[_0x199ec4(0x3ea)](_0x589467){var _0xcef7ea=_0x199ec4;this[_0xcef7ea(0x32f)][_0xcef7ea(0x1b3)](_0x589467);}}var Qt=Object[_0x199ec4(0x244)],ei=(_0x20c4e6,_0x2ded48,_0xda2ab9,_0x6ffb3d)=>{for(var _0x4ec6e4=_0x6ffb3d>0x1?void 0x0:_0x6ffb3d?Qt(_0x2ded48,_0xda2ab9):_0x2ded48,_0x27964c=_0x20c4e6['length']-0x1,_0x317bed;_0x27964c>=0x0;_0x27964c--)(_0x317bed=_0x20c4e6[_0x27964c])&&(_0x4ec6e4=_0x317bed(_0x4ec6e4)||_0x4ec6e4);return _0x4ec6e4;},We=(_0xfbd5b4,_0x2528ad)=>(_0x55b21c,_0x4f3733)=>_0x2528ad(_0x55b21c,_0x4f3733,_0xfbd5b4);exports['MemberService']=class extends a[_0x199ec4(0x455)]{constructor(_0x5d43c3,_0x350170){var _0x5890e8=_0x199ec4;super(),A(this,_0x5890e8(0x2fa),new Map()),A(this,_0x5890e8(0x453),new $['Subject']()),(this[_0x5890e8(0x385)]=_0x5d43c3,this['_userManagerService']=_0x350170,this[_0x5890e8(0x3dd)]($[_0x5890e8(0x45e)](this[_0x5890e8(0x385)][_0x5890e8(0x21d)](a[_0x5890e8(0x223)][_0x5890e8(0x31a)])[_0x5890e8(0x4ae)](V[_0x5890e8(0x369)](_0x141dd3=>_0x141dd3[_0x5890e8(0x424)]())),this[_0x5890e8(0x385)][_0x5890e8(0x21d)](a['UniverInstanceType']['UNIVER_DOC'])[_0x5890e8(0x4ae)](V['map'](_0x337715=>_0x337715[_0x5890e8(0x424)]())),this[_0x5890e8(0x385)][_0x5890e8(0x21d)](a[_0x5890e8(0x223)][_0x5890e8(0x1a8)])[_0x5890e8(0x4ae)](V[_0x5890e8(0x369)](_0x3c5574=>_0x3c5574[_0x5890e8(0x424)]())))[_0x5890e8(0x483)](_0x258cba=>this[_0x5890e8(0x2c4)](_0x258cba))));}[_0x199ec4(0x446)](_0x668a40){var _0x48e0aa=_0x199ec4;return this[_0x48e0aa(0x2fa)][_0x48e0aa(0x1d5)](_0x668a40)?$['of'](this[_0x48e0aa(0x2fa)][_0x48e0aa(0x25b)](_0x668a40)):this[_0x48e0aa(0x453)][_0x48e0aa(0x4ae)](V[_0x48e0aa(0x369)](_0x295ac4=>{var _0x3a8da8=_0x48e0aa;if(_0x295ac4===_0x668a40)return this[_0x3a8da8(0x2fa)][_0x3a8da8(0x25b)](_0x295ac4);}));}['setCurrentUser'](_0x10e6a7){var _0x1b3a40=_0x199ec4;this[_0x1b3a40(0x203)][_0x1b3a40(0x1f6)](_0x10e6a7);}['getCurrentUser'](){var _0x350875=_0x199ec4;return this[_0x350875(0x203)][_0x350875(0x1ae)]();}[_0x199ec4(0x371)](_0x11e5ba,_0x481ee1){var _0x1c495f=_0x199ec4;let _0x4578e9=this[_0x1c495f(0x2fa)][_0x1c495f(0x25b)](_0x11e5ba);_0x4578e9||(_0x4578e9=new ti(),this[_0x1c495f(0x2fa)][_0x1c495f(0x3ac)](_0x11e5ba,_0x4578e9),this[_0x1c495f(0x453)][_0x1c495f(0x1b3)](_0x11e5ba)),_0x4578e9['updateMember'](_0x481ee1);}[_0x199ec4(0x470)](_0x43f0bf,_0x1070dc){var _0x94f49c=_0x199ec4;const _0x13d9cd=this[_0x94f49c(0x2fa)][_0x94f49c(0x25b)](_0x43f0bf);_0x13d9cd&&_0x13d9cd[_0x94f49c(0x470)](_0x1070dc);}[_0x199ec4(0x478)](_0x362903){var _0x371980=_0x199ec4;return this[_0x371980(0x2fa)][_0x371980(0x25b)](_0x362903);}[_0x199ec4(0x40a)](_0x576df5,_0x3b7eec){var _0x3bac5d=_0x199ec4;const _0x5344fc=this['_roomMembers'][_0x3bac5d(0x25b)](_0x576df5);if(_0x5344fc)return _0x5344fc['getMember'](_0x3b7eec);}[_0x199ec4(0x2c4)](_0x2e4bff){var _0x121d95=_0x199ec4;const _0x3df6b5=this[_0x121d95(0x2fa)]['get'](_0x2e4bff);_0x3df6b5&&(_0x3df6b5[_0x121d95(0x2ff)](),this[_0x121d95(0x2fa)][_0x121d95(0x239)](_0x2e4bff));}['dispose'](){var _0x5b168b=_0x199ec4;this[_0x5b168b(0x2fa)][_0x5b168b(0x4db)](_0x341dff=>_0x341dff[_0x5b168b(0x2ff)]()),this[_0x5b168b(0x2fa)][_0x5b168b(0x181)](),this['_roomCreated$'][_0x5b168b(0x1cd)]();}},exports[_0x199ec4(0x235)]=ei([We(0x0,a[_0x199ec4(0x1ec)]),We(0x1,a[_0x199ec4(0x2b7)](a['UserManagerService']))],exports[_0x199ec4(0x235)]);class ti extends a[_0x199ec4(0x455)]{constructor(){var _0x51e6ec=_0x199ec4;super(...arguments),A(this,'_members',new Map()),A(this,_0x51e6ec(0x3fb),new $[(_0x51e6ec(0x195))](this[_0x51e6ec(0x2ca)])),A(this,_0x51e6ec(0x353),this[_0x51e6ec(0x3fb)][_0x51e6ec(0x206)]());}[_0x199ec4(0x2ff)](){var _0x1e713d=_0x199ec4;this[_0x1e713d(0x2ca)]['clear']();}[_0x199ec4(0x371)](_0x4ef26b){var _0x67b7ce=_0x199ec4;this['_members'][_0x67b7ce(0x3ac)](_0x4ef26b[_0x67b7ce(0x1c8)],_0x4ef26b),this[_0x67b7ce(0x1f0)]();}[_0x199ec4(0x470)](_0x24f8bf){var _0x4f8d13=_0x199ec4;this[_0x4f8d13(0x2ca)][_0x4f8d13(0x239)](_0x24f8bf);}[_0x199ec4(0x40a)](_0xdfb671){var _0x52fc4b=_0x199ec4;return this['_members'][_0x52fc4b(0x25b)](_0xdfb671);}['getAllMembers'](){var _0x548a60=_0x199ec4;return Array[_0x548a60(0x214)](this[_0x548a60(0x2ca)][_0x548a60(0x208)]());}['_emitMembers'](){var _0x1dae0b=_0x199ec4;this[_0x1dae0b(0x3fb)][_0x1dae0b(0x1b3)](this[_0x1dae0b(0x2ca)]);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0xeea4ed,_0x3fbf58,_0x3d4db3,_0x4eb06d)=>{for(var _0x19972f=_0x4eb06d>0x1?void 0x0:_0x4eb06d?ii(_0x3fbf58,_0x3d4db3):_0x3fbf58,_0x5384d5=_0xeea4ed['length']-0x1,_0x3e09d6;_0x5384d5>=0x0;_0x5384d5--)(_0x3e09d6=_0xeea4ed[_0x5384d5])&&(_0x19972f=_0x3e09d6(_0x19972f)||_0x19972f);return _0x19972f;},se=(_0x4433b7,_0x5a3029)=>(_0x16e29d,_0x26ffcc)=>_0x5a3029(_0x16e29d,_0x26ffcc,_0x4433b7),re=(_0x391f3b=>(_0x391f3b[_0x391f3b[_0x199ec4(0x2f3)]=0x0]=_0x199ec4(0x2f3),_0x391f3b[_0x391f3b[_0x199ec4(0x1ac)]=0x1]=_0x199ec4(0x1ac),_0x391f3b[_0x391f3b['OFFLINE']=0x2]=_0x199ec4(0x3b8),_0x391f3b[_0x391f3b[_0x199ec4(0x18a)]=0x3]=_0x199ec4(0x18a),_0x391f3b))(re||{});const Ge={[oe[_0x199ec4(0x469)]]:'session.join-failed',[oe['JOIN_ROOM_FULL']]:_0x199ec4(0x35d),[oe[_0x199ec4(0x48a)]]:_0x199ec4(0x402),[oe[_0x199ec4(0x252)]]:_0x199ec4(0x182),[oe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x199ec4(0x392)};exports[_0x199ec4(0x325)]=class extends a[_0x199ec4(0x4c2)]{constructor(_0x4bea3a,_0x535ab9,_0x69546b,_0x587919,_0x17860a,_0xf7f27,_0x60b3e8,_0x5411f4,_0x16267d){var _0x5809ab=_0x199ec4;super(),A(this,_0x5809ab(0x4a3),new $['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this[_0x5809ab(0x4a3)][_0x5809ab(0x206)]()),A(this,_0x5809ab(0x3f9),new $['Subject']()),A(this,_0x5809ab(0x20f),this[_0x5809ab(0x3f9)][_0x5809ab(0x206)]()),A(this,'_socket'),A(this,'_socketMessageSubscription'),A(this,_0x5809ab(0x39a)),A(this,_0x5809ab(0x39c),!0x1),A(this,'_telemetryInfo',null),(this['_unitID']=_0x4bea3a,this['_logService']=_0x69546b,this['_configService']=_0x587919,this[_0x5809ab(0x2e0)]=_0x17860a,this[_0x5809ab(0x2f2)]=_0xf7f27,this[_0x5809ab(0x370)]=_0x60b3e8,this[_0x5809ab(0x4d2)]=_0x5411f4,this[_0x5809ab(0x1dc)]=_0x16267d,this['_shouldReportTelemetry']=!!this[_0x5809ab(0x1dc)],_0x535ab9[_0x5809ab(0x4ae)]($[_0x5809ab(0x38a)](this['dispose$']))['subscribe'](_0x29edbd=>{var _0x5e959c=_0x5809ab,_0x33ac5e;typeof _0x29edbd>'u'||(this[_0x5e959c(0x2d1)]=_0x29edbd,_0x29edbd?(this['_joinRoom'](_0x29edbd),this[_0x5e959c(0x3e9)]=_0x29edbd[_0x5e959c(0x19f)][_0x5e959c(0x483)](_0x3fbe43=>{var _0x3d0a31=_0x5e959c;_0x3fbe43[_0x3d0a31(0x184)]===this['_unitID']&&this['_onCombEvent'](_0x3fbe43);})):(this[_0x5e959c(0x3db)](),this[_0x5e959c(0x4a3)][_0x5e959c(0x1b3)](0x2),(_0x33ac5e=this[_0x5e959c(0x3e9)])==null||_0x33ac5e[_0x5e959c(0x177)](),this[_0x5e959c(0x3e9)]=null));}));}get[_0x199ec4(0x45f)](){var _0x582bb6=_0x199ec4;return this[_0x582bb6(0x4a3)]['getValue']();}[_0x199ec4(0x45d)](){var _0xf5276c=_0x199ec4,_0x2f5ffa,_0x1aa1ea;return(_0x1aa1ea=(_0x2f5ffa=this['_socket'])==null?void 0x0:_0x2f5ffa[_0xf5276c(0x1c8)])!=null?_0x1aa1ea:null;}[_0x199ec4(0x2ff)](){var _0x801124=_0x199ec4;super[_0x801124(0x2ff)](),this[_0x801124(0x194)][_0x801124(0x1b3)](),this[_0x801124(0x194)]['complete']();}[_0x199ec4(0x49b)](){var _0x16e56a=_0x199ec4,_0x50ed3b,_0x28cdcb;this[_0x16e56a(0x3db)](),(_0x50ed3b=this[_0x16e56a(0x2d1)])==null||_0x50ed3b[_0x16e56a(0x474)]({'cmd':W[_0x16e56a(0x220)],'data':{'roomID':this[_0x16e56a(0x303)]}}),(_0x28cdcb=this[_0x16e56a(0x2d1)])==null||_0x28cdcb[_0x16e56a(0x49b)](),this[_0x16e56a(0x3f9)][_0x16e56a(0x1cd)](),this[_0x16e56a(0x4a3)][_0x16e56a(0x1cd)](),this[_0x16e56a(0x2ff)]();}['_onCombEvent'](_0x17ac59){var _0x524472=_0x199ec4;_0x17ac59[_0x524472(0x27b)]===W[_0x524472(0x232)]?this['_onJoinRoomEvent'](_0x17ac59):_0x17ac59[_0x524472(0x27b)]===W['RECV']&&this[_0x524472(0x26d)](_0x17ac59);}[_0x199ec4(0x304)](_0x2e54d0){var _0x56faea=_0x199ec4;this[_0x56faea(0x4a3)][_0x56faea(0x1b3)](0x1),_0x2e54d0[_0x56faea(0x474)]({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x199ec4(0x221)](_0x40c406){var _0x4dc7c0=_0x199ec4,_0x1b7c9b;if(_0x40c406['code']in Ge){this[_0x4dc7c0(0x4d2)][_0x4dc7c0(0x35f)]({'id':Z[_0x4dc7c0(0x24e)],'data':Ge[_0x40c406[_0x4dc7c0(0x3e4)]]}),this[_0x4dc7c0(0x4a3)]['next'](0x2);return;}this[_0x4dc7c0(0x4a3)][_0x4dc7c0(0x1b3)](0x3);const _0x54506d=(_0x1b7c9b=_0x40c406[_0x4dc7c0(0x280)][_0x4dc7c0(0x322)][this[_0x4dc7c0(0x303)]])==null?void 0x0:_0x1b7c9b[_0x4dc7c0(0x188)];_0x54506d&&_0x54506d[_0x4dc7c0(0x4db)](_0x5074a9=>this[_0x4dc7c0(0x2f2)][_0x4dc7c0(0x371)](this['_unitID'],_0x5074a9));}[_0x199ec4(0x26d)](_0x211d29){var _0x59e8c5=_0x199ec4;try{const _0xd6deab=_0x211d29['data'];switch(_0xd6deab[_0x59e8c5(0x4f2)]){case I[_0x59e8c5(0x4a0)][_0x59e8c5(0x255)]:this[_0x59e8c5(0x423)](_0xd6deab),this[_0x59e8c5(0x3f9)][_0x59e8c5(0x1b3)](_0xd6deab);break;case I[_0x59e8c5(0x4a0)][_0x59e8c5(0x3a9)]:this['_onUserLeave'](_0xd6deab),this[_0x59e8c5(0x3f9)]['next'](_0xd6deab);break;case I['CollaborationEvent'][_0x59e8c5(0x2a2)]:case I['CollaborationEvent'][_0x59e8c5(0x1bb)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x59e8c5(0x1b3)](_0xd6deab);break;case I['CollaborationEvent'][_0x59e8c5(0x3c6)]:this['_logService'][_0x59e8c5(0x4af)](_0x59e8c5(0x465)+JSON[_0x59e8c5(0x3b7)](_0xd6deab)),this[_0x59e8c5(0x3f9)][_0x59e8c5(0x1b3)](_0xd6deab);break;case I['CollaborationEvent']['COMMENT_UPDATE']:this[_0x59e8c5(0x370)][_0x59e8c5(0x3ea)](_0xd6deab[_0x59e8c5(0x280)]),this['_event$']['next'](_0xd6deab);break;default:this['_event$'][_0x59e8c5(0x1b3)](_0xd6deab);}}catch(_0x54de0c){this[_0x59e8c5(0x309)][_0x59e8c5(0x4af)](_0x54de0c,_0x211d29);}}['_onUserJoin'](_0x2bd7bd){var _0x515238=_0x199ec4;this[_0x515238(0x2f2)]['updateMember'](this[_0x515238(0x303)],_0x2bd7bd[_0x515238(0x280)]);}[_0x199ec4(0x434)](_0x4077e5){var _0x13fffd=_0x199ec4;this[_0x13fffd(0x2f2)][_0x13fffd(0x470)](this['_unitID'],_0x4077e5[_0x13fffd(0x280)]['memberID']);}async[_0x199ec4(0x474)](_0x1483ff,_0xfc574){var _0x563435=_0x199ec4;if(this['sessionStatus']!==0x3||!this[_0x563435(0x2d1)])throw new Error(_0x563435(0x21e));try{_0x1483ff['eventID']===I[_0x563435(0x4a0)][_0x563435(0x487)]&&(this[_0x563435(0x3ec)](),this[_0x563435(0x1f9)](_0x1483ff)),this[_0x563435(0x2d1)][_0x563435(0x474)]({'cmd':W[_0x563435(0x426)],'routeKey':_0xfc574,'routeType':'','data':_0x1483ff});}catch(_0x33adaa){this[_0x563435(0x309)]['error'](_0x33adaa);}}['_scheduleCollaborationTimeoutTimer'](){var _0x13afc1=_0x199ec4,_0x35312b;this[_0x13afc1(0x39a)]=setTimeout(()=>{var _0x35effa=_0x13afc1;this[_0x35effa(0x39a)]=null,this[_0x35effa(0x4d2)][_0x35effa(0x35f)]({'id':Z[_0x35effa(0x4ef)]});},(_0x35312b=this[_0x13afc1(0x44e)][_0x13afc1(0x2d8)](ke))!=null?_0x35312b:St);}[_0x199ec4(0x1da)](){var _0x40db68=_0x199ec4;this[_0x40db68(0x39a)]&&(clearTimeout(this[_0x40db68(0x39a)]),this[_0x40db68(0x39a)]=null);}[_0x199ec4(0x1f9)](_0x325a24){var _0x39f6c0=_0x199ec4;if(!this[_0x39f6c0(0x39c)])return;const {data:_0x45089f}=_0x325a24,{unitID:_0x151f16,changeset:_0x508dcb}=_0x45089f,{mutations:_0x3025a8,type:_0x36a98a}=_0x508dcb;this['_telemetryInfo']={'unitId':_0x151f16,'type':_0x36a98a,'startTime':performance[_0x39f6c0(0x4c3)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x3025a8)};}[_0x199ec4(0x47c)](){var _0x12d9d8=_0x199ec4;if(this[_0x12d9d8(0x39c)]){if(!this[_0x12d9d8(0x2de)]){this[_0x12d9d8(0x309)]['error'](_0x12d9d8(0x4de),_0x12d9d8(0x373));return;}this['_telemetryInfo'][_0x12d9d8(0x46a)]=performance[_0x12d9d8(0x4c3)](),this[_0x12d9d8(0x2de)][_0x12d9d8(0x243)]=this[_0x12d9d8(0x2de)][_0x12d9d8(0x46a)]-this[_0x12d9d8(0x2de)]['startTime'],this[_0x12d9d8(0x1dc)][_0x12d9d8(0x260)](Xt,this[_0x12d9d8(0x2de)]),this['_telemetryInfo']=null;}}[_0x199ec4(0x3db)](){var _0x31d52d=_0x199ec4;this[_0x31d52d(0x2de)]=null;}},exports[_0x199ec4(0x325)]=ni([se(0x2,a['ILogService']),se(0x3,a['IConfigService']),se(0x4,a['Inject'](a['LocaleService'])),se(0x5,a[_0x199ec4(0x2b7)](exports[_0x199ec4(0x235)])),se(0x6,a[_0x199ec4(0x2b7)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a[_0x199ec4(0x341)](Pt[_0x199ec4(0x4c5)]))],exports[_0x199ec4(0x325)]);var ri=Object[_0x199ec4(0x244)],si=(_0x5685a9,_0x29eb92,_0x54092d,_0x74fb35)=>{var _0x5b5e3c=_0x199ec4;for(var _0x1d5ced=_0x74fb35>0x1?void 0x0:_0x74fb35?ri(_0x29eb92,_0x54092d):_0x29eb92,_0x2756d1=_0x5685a9[_0x5b5e3c(0x418)]-0x1,_0x4787bb;_0x2756d1>=0x0;_0x2756d1--)(_0x4787bb=_0x5685a9[_0x2756d1])&&(_0x1d5ced=_0x4787bb(_0x1d5ced)||_0x1d5ced);return _0x1d5ced;},he=(_0x1bdd54,_0x3551b9)=>(_0x5a9809,_0x3698f8)=>_0x3551b9(_0x5a9809,_0x3698f8,_0x1bdd54);exports[_0x199ec4(0x2f5)]=class extends a['Disposable']{constructor(_0xf630f6,_0x2af17e,_0x361bd6,_0x18dfd6,_0x1ab150,_0x4af709){var _0x4cfcb9=_0x199ec4;super(),A(this,_0x4cfcb9(0x3dc),new $['BehaviorSubject'](void 0x0)),A(this,_0x4cfcb9(0x32a),this[_0x4cfcb9(0x3dc)][_0x4cfcb9(0x206)]()),A(this,'_candidateSocket',null),A(this,'_sessions',new Map()),A(this,'_status$',new $['BehaviorSubject'](re[_0x4cfcb9(0x2f3)])),A(this,_0x4cfcb9(0x290),this['_status$']['asObservable']()),A(this,_0x4cfcb9(0x2e3),!0x1),A(this,_0x4cfcb9(0x28c)),A(this,_0x4cfcb9(0x227),0x0),A(this,_0x4cfcb9(0x264)),A(this,_0x4cfcb9(0x308)),(this[_0x4cfcb9(0x2ed)]=_0xf630f6,this[_0x4cfcb9(0x309)]=_0x2af17e,this[_0x4cfcb9(0x44e)]=_0x361bd6,this[_0x4cfcb9(0x4cd)]=_0x18dfd6,this[_0x4cfcb9(0x4d2)]=_0x1ab150,this['_networkConditionService']=_0x4af709,this[_0x4cfcb9(0x336)]());}get[_0x199ec4(0x2d1)](){var _0x174450=_0x199ec4;return this[_0x174450(0x3dc)][_0x174450(0x2cd)]();}[_0x199ec4(0x336)](){var _0xe0cec8=_0x199ec4;this[_0xe0cec8(0x3d0)]&&this[_0xe0cec8(0x3dd)](this[_0xe0cec8(0x3d0)]['online$'][_0xe0cec8(0x483)](_0x470cf0=>{var _0x46f209=_0xe0cec8;_0x470cf0&&!this['_socket']&&this[_0x46f209(0x4ed)](),_0x470cf0||this['_onOffline']();}));}[_0x199ec4(0x2ff)](){var _0x196414=_0x199ec4;super[_0x196414(0x2ff)](),this[_0x196414(0x1a1)](),this[_0x196414(0x298)](),this['_clearHeartbeatTimer'](),this[_0x196414(0x263)][_0x196414(0x4db)](_0x23d222=>_0x23d222[_0x196414(0x2ff)]()),this[_0x196414(0x263)]['clear'](),this[_0x196414(0x25c)][_0x196414(0x1cd)]();}async['requireSession'](_0x1ad8c8){var _0x22c376=_0x199ec4;if(this[_0x22c376(0x263)][_0x22c376(0x1d5)](_0x1ad8c8))return this[_0x22c376(0x263)][_0x22c376(0x25b)](_0x1ad8c8);this[_0x22c376(0x3be)]();const _0x5d807d=this[_0x22c376(0x2ed)]['createInstance'](exports[_0x22c376(0x325)],_0x1ad8c8,this[_0x22c376(0x3dc)][_0x22c376(0x206)]());return this['_sessions'][_0x22c376(0x3ac)](_0x1ad8c8,_0x5d807d),_0x5d807d;}['closeSession'](_0x3bf06e){var _0x575b78=_0x199ec4,_0x5d0202;const _0x3fbaa5=this['_sessions']['get'](_0x3bf06e);_0x3fbaa5&&(this['_sessions'][_0x575b78(0x239)](_0x3bf06e),_0x3fbaa5[_0x575b78(0x49b)]()),this['_sessions'][_0x575b78(0x1e8)]||(_0x5d0202=this[_0x575b78(0x2d1)])==null||_0x5d0202[_0x575b78(0x49b)]();}[_0x199ec4(0x4ed)](){var _0x4bf45f=_0x199ec4;this['_retryCount']=0x0,this[_0x4bf45f(0x1a1)](),this[_0x4bf45f(0x1fb)]();}[_0x199ec4(0x1a1)](){var _0x121e0f=_0x199ec4;this[_0x121e0f(0x28c)]!=null&&(clearTimeout(this[_0x121e0f(0x28c)]),this['_retryConnectingTimer']=null);}async[_0x199ec4(0x3ed)](){var _0x231cec=_0x199ec4,_0x220c4d,_0x54fe19;const _0x14535d=this[_0x231cec(0x44e)][_0x231cec(0x2d8)](ut),_0x54b29f=this[_0x231cec(0x44e)]['getConfig'](K),_0x4c6634=(_0x54fe19=(_0x220c4d=_0x54b29f==null?void 0x0:_0x54b29f['collabWebSocketUrl'])!=null?_0x220c4d:_0x14535d)!=null?_0x54fe19:dt,_0x511ab3=await this[_0x231cec(0x4cd)]['createSocket'](_0x4c6634);return this['_candidateSocket']=_0x511ab3,_0x511ab3;}async['_tryEnsureSocket'](){var _0x1b0a8a=_0x199ec4,_0x30beda,_0x2418b6;try{const _0x3f0433=(_0x2418b6=(_0x30beda=this['_socket'])!=null?_0x30beda:this['_candidateSocket'])!=null?_0x2418b6:await this[_0x1b0a8a(0x3ed)]();if(_0x3f0433){const _0xe63ab8=_0x3f0433[_0x1b0a8a(0x474)];_0x3f0433[_0x1b0a8a(0x474)]=_0x44349b=>(this[_0x1b0a8a(0x277)](),_0xe63ab8['apply'](_0x3f0433,[_0x44349b])),_0x3f0433[_0x1b0a8a(0x19f)][_0x1b0a8a(0x483)](_0x241096=>this['_onMessage'](_0x3f0433,_0x241096)),_0x3f0433[_0x1b0a8a(0x22b)]['pipe'](V[_0x1b0a8a(0x4b3)](0x1))[_0x1b0a8a(0x483)](_0x20e8e4=>this['_logService'][_0x1b0a8a(0x4af)](_0x1b0a8a(0x295),_0x20e8e4)),_0x3f0433[_0x1b0a8a(0x33b)]['pipe'](V[_0x1b0a8a(0x4b3)](0x1))[_0x1b0a8a(0x483)](()=>{var _0x2c2684=_0x1b0a8a;this[_0x2c2684(0x313)](_0x3f0433);}),_0x3f0433[_0x1b0a8a(0x1d7)][_0x1b0a8a(0x4ae)](V['take'](0x1))['subscribe'](_0x10bf89=>{var _0x16beb6=_0x1b0a8a;this[_0x16beb6(0x309)][_0x16beb6(0x1d1)](_0x16beb6(0x400),'socket\x20close',_0x10bf89),this[_0x16beb6(0x2c7)]();});}}catch(_0x3f2043){this[_0x1b0a8a(0x309)][_0x1b0a8a(0x4af)](_0x3f2043),this[_0x1b0a8a(0x2c7)]();}}[_0x199ec4(0x313)](_0x4343f6){var _0x71dbae=_0x199ec4;this['_logService'][_0x71dbae(0x1d1)](_0x71dbae(0x400),_0x71dbae(0x3da)),_0x4343f6['send']({'cmd':W[_0x71dbae(0x42e)]}),this[_0x71dbae(0x277)]();}[_0x199ec4(0x438)](){var _0x54e43c=_0x199ec4;this[_0x54e43c(0x2e3)]=!0x1,this[_0x54e43c(0x2cf)]=null,this[_0x54e43c(0x25c)][_0x54e43c(0x1b3)](re[_0x54e43c(0x3b8)]),this[_0x54e43c(0x3dc)][_0x54e43c(0x1b3)](null),this[_0x54e43c(0x298)](),this[_0x54e43c(0x1bf)]();}[_0x199ec4(0x2c7)](){var _0x21ffce=_0x199ec4,_0x4304df;this['_onOffline'](),this['_retryCount']<((_0x4304df=this['_configService'][_0x21ffce(0x2d8)](ft))!=null?_0x4304df:jt)?(this[_0x21ffce(0x4d2)][_0x21ffce(0x35f)]({'id':Z[_0x21ffce(0x1af)]}),this['_tryReconnect']()):this[_0x21ffce(0x4d2)][_0x21ffce(0x35f)]({'id':Z[_0x21ffce(0x1a4)]});}['_tryReconnect'](){var _0x358f1b=_0x199ec4,_0x3d9ac8;const _0x34196c=this[_0x358f1b(0x227)],_0x193ae0=this['_configService'][_0x358f1b(0x2d8)](K),_0xc7b3a5=_0x34196c===0x0?0x0:((_0x3d9ac8=_0x193ae0==null?void 0x0:_0x193ae0[_0x358f1b(0x2eb)])!=null?_0x3d9ac8:$t)*0x2**_0x34196c;this[_0x358f1b(0x28c)]=setTimeout(()=>{var _0x619fd9=_0x358f1b;clearTimeout(this[_0x619fd9(0x28c)]),this[_0x619fd9(0x28c)]=null,this[_0x619fd9(0x3be)]();},_0xc7b3a5),this['_retryCount']+=0x1;}[_0x199ec4(0x318)](_0xb8bbdf,_0x8cc63a){var _0x1664ef=_0x199ec4;const {cmd:_0x473cba}=_0x8cc63a;_0x473cba===W['HELLO']&&!this[_0x1664ef(0x2e3)]&&(_0xb8bbdf['memberID']=_0x8cc63a[_0x1664ef(0x280)][_0x1664ef(0x1c8)],this[_0x1664ef(0x3dc)][_0x1664ef(0x1b3)](_0xb8bbdf),this[_0x1664ef(0x25c)][_0x1664ef(0x1b3)](re[_0x1664ef(0x18a)]),this[_0x1664ef(0x2e3)]=!0x0,this['_candidateSocket']=null),_0x473cba===W[_0x1664ef(0x18b)]&&this['_clearTimeoutTimer'](),this[_0x1664ef(0x277)]();}['_rescheduleHeartbeat'](){var _0x224484=_0x199ec4,_0xd8232b;this[_0x224484(0x1bf)](),this[_0x224484(0x264)]=setTimeout(()=>this[_0x224484(0x2bf)](),(_0xd8232b=this[_0x224484(0x44e)]['getConfig'](vt))!=null?_0xd8232b:Ht);}[_0x199ec4(0x2bf)](){var _0x595b96=_0x199ec4;this[_0x595b96(0x2d1)]['send']({'cmd':W[_0x595b96(0x18b)]}),this[_0x595b96(0x2ad)]();}[_0x199ec4(0x2ad)](){var _0xd36950=_0x199ec4,_0x5eeb76;this[_0xd36950(0x308)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x5eeb76=this['_configService'][_0xd36950(0x2d8)](ke))!=null?_0x5eeb76:St);}['_clearHeartbeatTimer'](){var _0x1d1035=_0x199ec4;this[_0x1d1035(0x264)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x199ec4(0x298)](){var _0x390a34=_0x199ec4;this[_0x390a34(0x308)]!=null&&(clearTimeout(this[_0x390a34(0x308)]),this[_0x390a34(0x308)]=null);}},exports[_0x199ec4(0x2f5)]=si([he(0x0,a[_0x199ec4(0x2b7)](a['Injector'])),he(0x1,a['ILogService']),he(0x2,a[_0x199ec4(0x3e7)]),he(0x3,He),he(0x4,a['Inject'](ee)),he(0x5,a[_0x199ec4(0x341)](mt))],exports[_0x199ec4(0x2f5)]);const q=a[_0x199ec4(0x200)](_0x199ec4(0x3e5));function oi(_0x76c5a0){return'unit-cache-'+_0x76c5a0;}var ai=Object[_0x199ec4(0x244)],ci=(_0x4ba7d4,_0x42bd13,_0x5602ee,_0x35e7f9)=>{for(var _0x8441e9=_0x35e7f9>0x1?void 0x0:_0x35e7f9?ai(_0x42bd13,_0x5602ee):_0x42bd13,_0x294d32=_0x4ba7d4['length']-0x1,_0x15a4d2;_0x294d32>=0x0;_0x294d32--)(_0x15a4d2=_0x4ba7d4[_0x294d32])&&(_0x8441e9=_0x15a4d2(_0x8441e9)||_0x8441e9);return _0x8441e9;},De=(_0x374e65,_0x3e8d14)=>(_0x3fe886,_0x4228f3)=>_0x3e8d14(_0x3fe886,_0x4228f3,_0x374e65);function _0x3c30(_0x3f310d,_0x4202a3){var _0x3d520c=_0x3d52();return _0x3c30=function(_0x3c3064,_0x3fa183){_0x3c3064=_0x3c3064-0x174;var _0x23dbe4=_0x3d520c[_0x3c3064];return _0x23dbe4;},_0x3c30(_0x3f310d,_0x4202a3);}function hi(_0x4cde55){var _0x11f4c0=_0x199ec4;const {unitID:_0x4642e9,mutations:_0x48fcff}=_0x4cde55;return{'unitId':_0x4642e9,'subUnitId':_0x48fcff[0x0][_0x11f4c0(0x3b0)]['subUnitId']};}exports[_0x199ec4(0x3f0)]=class{constructor(_0x31bc49,_0x34a8f8,_0x247a51){var _0x350abc=_0x199ec4;this[_0x350abc(0x2ed)]=_0x31bc49,this[_0x350abc(0x324)]=_0x34a8f8,this[_0x350abc(0x448)]=_0x247a51;}[_0x199ec4(0x445)](_0x2ddc28){var _0x162c6d=_0x199ec4,_0x1d79ed,_0x23ada6,_0x1c1556,_0x36f3e0;const _0x1f1d1a=this['_injector'][_0x162c6d(0x25b)](X['SheetsSelectionsService']),{unitId:_0x23b2e0,subUnitId:_0x55747a}=hi(_0x2ddc28),_0x2811d8=_0x1f1d1a==null?void 0x0:_0x1f1d1a['getWorkbookSelections'](_0x23b2e0)[_0x162c6d(0x43e)](),_0x5a3fe9=(_0x23ada6=(_0x1d79ed=this[_0x162c6d(0x448)][_0x162c6d(0x488)](_0x23b2e0))==null?void 0x0:_0x1d79ed[_0x162c6d(0x42d)]())==null?void 0x0:_0x23ada6[_0x162c6d(0x4b7)]();if(_0x2811d8[_0x162c6d(0x418)]===0x0||!_0x23b2e0||!_0x55747a)return;const _0x3662ae=[{'id':X[_0x162c6d(0x394)]['id'],'params':{'unitId':_0x23b2e0,'subUnitId':_0x5a3fe9,'selections':a['Tools']['deepClone'](_0x2811d8)}}],_0x1091a4=this[_0x162c6d(0x324)]['transformMutationsWithChangeset'](_0x2ddc28,_0x3662ae);if(!I[_0x162c6d(0x22d)](_0x1091a4))throw _0x1091a4[_0x162c6d(0x4af)];const _0x5ba036=(_0x36f3e0=(_0x1c1556=_0x1091a4[_0x162c6d(0x361)][0x0])==null?void 0x0:_0x1c1556[_0x162c6d(0x3b0)])==null?void 0x0:_0x36f3e0[_0x162c6d(0x23d)];if(Array[_0x162c6d(0x490)](_0x5ba036)&&_0x5ba036[_0x162c6d(0x418)]){if(_0x5ba036[_0x162c6d(0x418)]===_0x3662ae[0x0][_0x162c6d(0x3b0)][_0x162c6d(0x23d)][_0x162c6d(0x418)]&&_0x5ba036[_0x162c6d(0x284)]((_0x449765,_0x1e135f)=>a['Rectangle'][_0x162c6d(0x4e4)](_0x449765['range'],_0x3662ae[0x0]['params'][_0x162c6d(0x23d)][_0x1e135f][_0x162c6d(0x3c5)])))return;this[_0x162c6d(0x2ed)][_0x162c6d(0x25b)](a[_0x162c6d(0x296)])[_0x162c6d(0x4e0)](X['SetSelectionsOperation']['id'],{'unitId':_0x23b2e0,'subUnitId':_0x5a3fe9,'selections':_0x5ba036});}}},exports['SheetTransformSelectionsService']=ci([De(0x0,a['Inject'](a[_0x199ec4(0x236)])),De(0x1,I['ITransformService']),De(0x2,a[_0x199ec4(0x1ec)])],exports[_0x199ec4(0x3f0)]);const de=a[_0x199ec4(0x200)](_0x199ec4(0x234));var je=(_0x402185=>(_0x402185[_0x402185[_0x199ec4(0x360)]=0x0]=_0x199ec4(0x360),_0x402185[_0x402185[_0x199ec4(0x240)]=0x1]=_0x199ec4(0x240),_0x402185))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ke(_0x154f8a,_0x5b89f6,_0x2f55de,_0x342fac,_0x481dec){var _0x21c695=_0x199ec4,_0x29aab6,_0x25edff,_0x66f556,_0x2e3336;const _0x17bacb=[];for(const _0xe67c00 of _0x154f8a)if(_i[_0x21c695(0x1d5)](_0xe67c00['id'])){if(_0x17bacb[_0x21c695(0x418)]>0x0)break;_0x17bacb['push'](_0xe67c00);break;}else _0x17bacb[_0x21c695(0x4cf)](_0xe67c00);const _0x576902=(_0x25edff=(_0x29aab6=_0x481dec[_0x21c695(0x1ae)]())==null?void 0x0:_0x29aab6[_0x21c695(0x416)])!=null?_0x25edff:_0x21c695(0x19c),_0x34d5ec=(_0x2e3336=(_0x66f556=_0x481dec[_0x21c695(0x1ae)]())==null?void 0x0:_0x66f556['memberID'])!=null?_0x2e3336:_0x21c695(0x19c);return{'changeset':{'unitID':_0x5b89f6,'type':I[_0x21c695(0x3b6)](_0x2f55de[_0x21c695(0x412)](_0x5b89f6)),'baseRev':_0x342fac['getCurrentRevOfUnit'](_0x5b89f6),'revision':0x0,'userID':_0x576902,'memberID':_0x34d5ec,'mutations':_0x17bacb},'pendingMutations':_0x154f8a['slice'](_0x17bacb[_0x21c695(0x418)])};}function li(_0x117a49,_0x340036,_0x37523e,_0x3bac4e,_0x267b7b){var _0x585aa2=_0x199ec4,_0x297714,_0x2ec625,_0x575cf4,_0x8bf30;const _0x3a7a99=[_0x117a49['reduce']((_0x58f035,_0x394858)=>{var _0x1025a0=_0x3c30,_0x17e8a8;const {id:_0x5db51e}=_0x58f035,{id:_0x2145bb,type:_0x4ec630}=_0x394858,_0x3ef53b=(_0x17e8a8=_0x58f035['params'])!=null?_0x17e8a8:{'actions':null},_0x4bc758=_0x394858['params'];if(_0x5db51e&&_0x5db51e!==_0x2145bb)throw new Error(_0x1025a0(0x40f)+_0x5db51e+_0x1025a0(0x317)+_0x2145bb+'.');return{..._0x58f035,'id':_0x2145bb,'type':_0x4ec630,'params':{'unitId':_0x4bc758[_0x1025a0(0x207)],'textRanges':_0x4bc758[_0x1025a0(0x421)],'actions':a[_0x1025a0(0x3ce)][_0x1025a0(0x300)](_0x3ef53b[_0x1025a0(0x349)],_0x4bc758[_0x1025a0(0x349)])}};},{})],_0x4b4f96=(_0x2ec625=(_0x297714=_0x267b7b[_0x585aa2(0x1ae)]())==null?void 0x0:_0x297714[_0x585aa2(0x416)])!=null?_0x2ec625:_0x585aa2(0x19c),_0x53631d=(_0x8bf30=(_0x575cf4=_0x267b7b[_0x585aa2(0x1ae)]())==null?void 0x0:_0x575cf4['memberID'])!=null?_0x8bf30:'unknown';return{'changeset':{'unitID':_0x340036,'type':I[_0x585aa2(0x3b6)](_0x37523e[_0x585aa2(0x412)](_0x340036)),'baseRev':_0x3bac4e[_0x585aa2(0x440)](_0x340036),'revision':0x0,'userID':_0x4b4f96,'memberID':_0x53631d,'mutations':_0x3a7a99},'pendingMutations':[]};}function bt(_0x2af3a5,_0x5cd184){var _0xfc9953=_0x199ec4;const _0x2e543f=new $['ReplaySubject'](0x1);return setTimeout(()=>_0x2e543f[_0xfc9953(0x1b3)](_0x5cd184),_0x2af3a5),_0x2e543f[_0xfc9953(0x206)]()[_0xfc9953(0x4ae)]($[_0xfc9953(0x4b3)](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a[_0x199ec4(0x4e3)][_0x199ec4(0x275)],'params':{}};var di=Object[_0x199ec4(0x244)],ae=(_0x9e8abd,_0x33ec28,_0x462fc5,_0x467be7)=>{var _0x56a2ba=_0x199ec4;for(var _0x206392=_0x467be7>0x1?void 0x0:_0x467be7?di(_0x33ec28,_0x462fc5):_0x33ec28,_0x10d064=_0x9e8abd[_0x56a2ba(0x418)]-0x1,_0x4ade1c;_0x10d064>=0x0;_0x10d064--)(_0x4ade1c=_0x9e8abd[_0x10d064])&&(_0x206392=_0x4ade1c(_0x206392)||_0x206392);return _0x206392;},w=(_0x129ced,_0x4cd146)=>(_0x753b45,_0x316d46)=>_0x4cd146(_0x753b45,_0x316d46,_0x129ced),Be=(_0x1a3f1a=>(_0x1a3f1a[_0x199ec4(0x30c)]=_0x199ec4(0x44d),_0x1a3f1a[_0x199ec4(0x2e7)]=_0x199ec4(0x26b),_0x1a3f1a[_0x199ec4(0x316)]=_0x199ec4(0x398),_0x1a3f1a['AWAITING']=_0x199ec4(0x1ab),_0x1a3f1a['AWAITING_WITH_PENDING']=_0x199ec4(0x25a),_0x1a3f1a[_0x199ec4(0x439)]=_0x199ec4(0x1c4),_0x1a3f1a['CONFLICT']=_0x199ec4(0x34f),_0x1a3f1a['OFFLINE']=_0x199ec4(0x4c1),_0x1a3f1a))(Be||{});const Rt=0xea60;class ce{constructor(_0x1d9e5e,_0x126e44,_0x375fd8,_0x28734f,_0x5f5939,_0x4b2b98,_0x1532d3,_0x33cdc2,_0x512a3f){var _0x565f32=_0x199ec4;A(this,_0x565f32(0x4b9),null),A(this,_0x565f32(0x31f),[]),(this[_0x565f32(0x2df)]=_0x1d9e5e,this[_0x565f32(0x4c6)]=_0x126e44,this['_handler']=_0x5f5939,this[_0x565f32(0x433)]=_0x4b2b98,this[_0x565f32(0x2c2)]=_0x1532d3,this['_revisionService']=_0x33cdc2,this[_0x565f32(0x33c)]=_0x512a3f,this[_0x565f32(0x4b9)]=_0x375fd8,this['_pendingMutations']=_0x28734f);}[_0x199ec4(0x4e9)](_0x3ccb90){var _0x7c7f2a=_0x199ec4;const _0x48a405=this[_0x7c7f2a(0x367)][_0x7c7f2a(0x440)](this[_0x7c7f2a(0x2df)]);return _0x3ccb90['revision']>_0x48a405+0x1?(this[_0x7c7f2a(0x36b)][_0x7c7f2a(0x380)]({'from':_0x48a405,'to':_0x3ccb90[_0x7c7f2a(0x3e8)]-0x1}),!0x0):!0x1;}[_0x199ec4(0x274)](_0x333d03){var _0x1fcbd8=_0x199ec4;this['_undoRedoService']['transformUndoRedo'](this[_0x1fcbd8(0x2df)],_0x333d03);}[_0x199ec4(0x1fe)](_0x33f1fb){var _0x1de46b=_0x199ec4,_0x3ba457,_0x5a55ad;(_0x5a55ad=(_0x3ba457=this[_0x1de46b(0x36b)])[_0x1de46b(0x41a)])==null||_0x5a55ad[_0x1de46b(0x1cb)](_0x3ba457,_0x33f1fb);}['_transformIMECache'](_0x416a07){var _0xeeb25c=_0x199ec4,_0x5e9c7e,_0x2f16ab;return(_0x2f16ab=(_0x5e9c7e=this['_handler'])[_0xeeb25c(0x33d)])==null?void 0x0:_0x2f16ab[_0xeeb25c(0x1cb)](_0x5e9c7e,_0x416a07);}['_transformStateCache'](_0x39922d){var _0x4e3880=_0x199ec4,_0x363150,_0x29eb83;return(_0x29eb83=(_0x363150=this['_handler'])[_0x4e3880(0x403)])==null?void 0x0:_0x29eb83[_0x4e3880(0x1cb)](_0x363150,_0x39922d);}[_0x199ec4(0x186)](_0x1126f3){var _0x3fb646=_0x199ec4,_0x486f59,_0x5dc162,_0x15f1bf;return(_0x15f1bf=(_0x5dc162=(_0x486f59=this['_handler'])[_0x3fb646(0x2fe)])==null?void 0x0:_0x5dc162[_0x3fb646(0x1cb)](_0x486f59,_0x1126f3))!=null?_0x15f1bf:_0x1126f3;}[_0x199ec4(0x2b1)](_0x4d2254){var _0x28dfa3=_0x199ec4,_0x277e4f,_0x504465,_0x30c87b;return(_0x30c87b=(_0x504465=(_0x277e4f=this[_0x28dfa3(0x36b)])[_0x28dfa3(0x3eb)])==null?void 0x0:_0x504465[_0x28dfa3(0x1cb)](_0x277e4f,_0x4d2254))!=null?_0x30c87b:_0x4d2254;}[_0x199ec4(0x36e)](_0x1d3b3f){var _0x12d3e4=_0x199ec4,_0xef5bb6,_0xa441aa;if(this[_0x12d3e4(0x4c6)]===J['UNIVER_DOC']){const {unitID:_0x34446a,mutations:_0x3cc57f,memberID:_0x1d6ce1}=_0x1d3b3f,_0x192253=_0x3cc57f[0x0]['params'][_0x12d3e4(0x421)];Array[_0x12d3e4(0x490)](_0x192253)&&_0x192253[_0x12d3e4(0x418)]>0x0&&((_0xa441aa=(_0xef5bb6=this[_0x12d3e4(0x36b)])[_0x12d3e4(0x1ad)])==null||_0xa441aa[_0x12d3e4(0x1cb)](_0xef5bb6,{'unitID':_0x34446a,'memberID':_0x1d6ce1,'textRanges':_0x192253}));}}[_0x199ec4(0x1d8)](){var _0x52cce4=_0x199ec4,_0x20c1f1;(_0x20c1f1=this['_localCacheService'])==null||_0x20c1f1['updateOfflineData'](this[_0x52cce4(0x2df)],this[_0x52cce4(0x4c6)],this['_awaitingChangeset'],this[_0x52cce4(0x31f)]);}[_0x199ec4(0x393)](){var _0x49a406=_0x199ec4;return this[_0x49a406(0x367)]['getCurrentRevOfUnit'](this[_0x49a406(0x2df)]);}['_incrementRevisionNumber'](){var _0x321128=_0x199ec4;this['_revisionService'][_0x321128(0x282)](this['unitID']);}['_executeRemoteChangeset'](_0x29ff30){var _0x278d89=_0x199ec4,_0x4b319e;let _0x470817=this[_0x278d89(0x186)](_0x29ff30);_0x470817=this[_0x278d89(0x2b1)](_0x470817);const _0x3dcb39=a[_0x278d89(0x2ce)](_0x470817[_0x278d89(0x36c)],this[_0x278d89(0x433)],{'fromCollab':!0x0});if(!_0x3dcb39[_0x278d89(0x20b)])throw _0x3dcb39['error']instanceof Error?_0x3dcb39[_0x278d89(0x4af)]:new Error((_0x4b319e=_0x3dcb39[_0x278d89(0x4af)])!=null?_0x4b319e:'[CollaborationState]:\x20apply\x20error!');this[_0x278d89(0x450)](_0x470817),this[_0x278d89(0x312)](_0x470817),this[_0x278d89(0x274)](_0x29ff30),this['_transformSelections'](_0x470817),this[_0x278d89(0x36e)](_0x470817),this[_0x278d89(0x301)]();}}exports[_0x199ec4(0x49d)]=class extends ce{constructor(_0x168ace,_0x3b613c,_0x3f1757,_0x138b78,_0x27c1a5,_0x201be1,_0x2ab37e,_0x3201f5,_0x4f063b,_0x194e28){var _0x20effb=_0x199ec4;super(_0x168ace,_0x3b613c,null,[],_0x3f1757,_0x2ab37e,_0x201be1,_0x138b78,_0x194e28),A(this,_0x20effb(0x386),_0x20effb(0x26b)),(this[_0x20effb(0x2ed)]=_0x27c1a5,this[_0x20effb(0x309)]=_0x3201f5,this[_0x20effb(0x324)]=_0x4f063b,this[_0x20effb(0x43f)]=_0x194e28);}[_0x199ec4(0x3ba)](_0x39ce95){var _0x1c7498=_0x199ec4;const _0x4b192a=this[_0x1c7498(0x2ed)][_0x1c7498(0x3a7)](exports['PendingState'],this[_0x1c7498(0x2df)],this[_0x1c7498(0x4c6)],[_0x39ce95],this[_0x1c7498(0x36b)]);return _0x4b192a[_0x1c7498(0x458)](),_0x4b192a[_0x1c7498(0x1d8)](),_0x4b192a;}[_0x199ec4(0x1ff)](_0xc407f3){var _0x3b4d06=_0x199ec4;if(this[_0x3b4d06(0x4e9)](_0xc407f3))return this[_0x3b4d06(0x2ed)][_0x3b4d06(0x3a7)](exports[_0x3b4d06(0x3fa)],this['unitID'],this[_0x3b4d06(0x4c6)],null,[],null,[_0xc407f3],this[_0x3b4d06(0x36b)]);try{const _0x51d402=this[_0x3b4d06(0x324)][_0x3b4d06(0x202)](_0xc407f3,[ui]);if(I[_0x3b4d06(0x22d)](_0x51d402)){const {c1Prime:_0x29a1fc}=_0x51d402;return this['_executeRemoteChangeset'](_0x29a1fc),this;}throw _0x51d402[_0x3b4d06(0x4af)];}catch(_0x226e95){return this[_0x3b4d06(0x309)][_0x3b4d06(0x4af)](_0x226e95),this['_onConflict'](!0x1);}}[_0x199ec4(0x1b1)](_0x42aa75){var _0x5a5d54=_0x199ec4;return this[_0x5a5d54(0x2ed)][_0x5a5d54(0x3a7)](exports[_0x5a5d54(0x33e)],this['unitID'],this['type'],null,[],this[_0x5a5d54(0x36b)],_0x42aa75);}['onRemoteAck'](){var _0x147741=_0x199ec4;throw new Error(_0x147741(0x2b5));}[_0x199ec4(0x320)](){var _0x5afb4c=_0x199ec4;throw new Error(_0x5afb4c(0x190));}['onRemoteRetry'](){return this;}[_0x199ec4(0x2d7)](){var _0xdc2bda=_0x199ec4;return this[_0xdc2bda(0x2ed)][_0xdc2bda(0x3a7)](exports[_0xdc2bda(0x2db)],this[_0xdc2bda(0x2df)],this[_0xdc2bda(0x4c6)],null,[],this[_0xdc2bda(0x36b)]);}[_0x199ec4(0x180)](){return this;}[_0x199ec4(0x2c5)](){var _0x9f2ff3=_0x199ec4;throw new Error(_0x9f2ff3(0x362));}[_0x199ec4(0x1c9)](){var _0x4e7908=_0x199ec4;const _0xedfb08=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x4e7908(0x36b)][_0x4e7908(0x380)]({'from':_0xedfb08,'to':0x0}),this[_0x4e7908(0x2ed)][_0x4e7908(0x3a7)](exports[_0x4e7908(0x3fa)],this[_0x4e7908(0x2df)],this[_0x4e7908(0x4c6)],null,[],null,[],this[_0x4e7908(0x36b)]);}},exports[_0x199ec4(0x49d)]=ae([w(0x3,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x396)])),w(0x4,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x199ec4(0x296)]),w(0x7,a[_0x199ec4(0x37e)]),w(0x8,I[_0x199ec4(0x4a9)]),w(0x9,a['Optional'](q))],exports[_0x199ec4(0x49d)]),exports[_0x199ec4(0x246)]=class extends ce{constructor(_0x1543e0,_0x4d34e6,_0x6c2a15,_0x4290a8,_0x1b9070,_0xb27efb,_0x4ce8c9,_0x3f6d5a,_0x5418f9,_0x56c4bc,_0x2f4579,_0x529735,_0x4cdd9e,_0x570208){var _0x3e031a=_0x199ec4;super(_0x1543e0,_0x4d34e6,null,_0x6c2a15,_0x4290a8,_0x5418f9,_0x4cdd9e,_0xb27efb,_0x570208),A(this,_0x3e031a(0x386),_0x3e031a(0x398)),A(this,_0x3e031a(0x237),null),A(this,_0x3e031a(0x21b),null),(this[_0x3e031a(0x2ed)]=_0x1b9070,this[_0x3e031a(0x2f2)]=_0x4ce8c9,this[_0x3e031a(0x309)]=_0x3f6d5a,this[_0x3e031a(0x44e)]=_0x56c4bc,this[_0x3e031a(0x324)]=_0x2f4579,this['_univerInstanceService']=_0x529735);}[_0x199ec4(0x3ba)](_0xadb14){var _0x5dd357=_0x199ec4;return this[_0x5dd357(0x31f)]['push'](_0xadb14),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0xb8d0e4){var _0x3fc866=_0x199ec4;if(this[_0x3fc866(0x4e9)](_0xb8d0e4))return this[_0x3fc866(0x4c4)](),this[_0x3fc866(0x2ed)][_0x3fc866(0x3a7)](exports['FetchingMissState'],this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0xb8d0e4],this[_0x3fc866(0x36b)]);try{const _0x5abce8=this[_0x3fc866(0x324)][_0x3fc866(0x202)](_0xb8d0e4,this['_pendingMutations']);if(I[_0x3fc866(0x22d)](_0x5abce8)){const {c1Prime:_0x55ad77,m2Prime:_0x22226b}=_0x5abce8;this[_0x3fc866(0x28d)](_0x55ad77);const _0x36e758=this[_0x3fc866(0x2ed)][_0x3fc866(0x3a7)](exports['PendingState'],this[_0x3fc866(0x2df)],this[_0x3fc866(0x4c6)],_0x22226b,this['_handler']);this[_0x3fc866(0x4c4)]();const _0x4a9d7c=new Date()['getTime'](),_0x2bdf56=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x3fc866(0x237)]-_0x4a9d7c,0x0):this[_0x3fc866(0x3d5)]();return _0x36e758['_schedule'](_0x2bdf56),_0x36e758;}throw _0x5abce8['error'];}catch(_0x581d6b){return this[_0x3fc866(0x309)][_0x3fc866(0x4af)](_0x581d6b),this['_onConflict'](!0x1);}}[_0x199ec4(0x484)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x199ec4(0x320)](){var _0x1f4896=_0x199ec4;throw new Error(_0x1f4896(0x2cb));}[_0x199ec4(0x2b8)](){return this;}[_0x199ec4(0x2d7)](){var _0x53843d=_0x199ec4;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x53843d(0x2db)],this[_0x53843d(0x2df)],this['type'],null,this['_pendingMutations'],this[_0x53843d(0x36b)]);}[_0x199ec4(0x180)](){return this;}[_0x199ec4(0x458)](_0xd960b6){var _0x190f7e=_0x199ec4;const _0x3a68dd=_0xd960b6!=null?_0xd960b6:this[_0x190f7e(0x3d5)]();this[_0x190f7e(0x237)]=new Date()[_0x190f7e(0x270)]()+_0x3a68dd,this[_0x190f7e(0x21b)]=setTimeout(()=>{var _0x8ce7e2=_0x190f7e;this[_0x8ce7e2(0x4c4)]();let _0x3153b5=null;switch(this['type']){case J[_0x8ce7e2(0x31a)]:{_0x3153b5=Ke(this['_pendingMutations'],this['unitID'],this[_0x8ce7e2(0x385)],this['_revisionService'],this[_0x8ce7e2(0x2f2)]);break;}case J[_0x8ce7e2(0x3fc)]:{this[_0x8ce7e2(0x31f)]['every'](_0x1565f2=>_0x1565f2['id']===ht[_0x8ce7e2(0x4b8)]['id'])?_0x3153b5=li(this['_pendingMutations'],this[_0x8ce7e2(0x2df)],this['_univerInstanceService'],this[_0x8ce7e2(0x367)],this[_0x8ce7e2(0x2f2)]):_0x3153b5=Ke(this['_pendingMutations'],this[_0x8ce7e2(0x2df)],this[_0x8ce7e2(0x385)],this[_0x8ce7e2(0x367)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x1e83d4,pendingMutations:_0x370d6c}=_0x3153b5;this[_0x8ce7e2(0x36b)][_0x8ce7e2(0x2f7)](_0x1e83d4);const _0x382b39=_0x370d6c[_0x8ce7e2(0x418)]?this[_0x8ce7e2(0x2ed)]['createInstance'](exports[_0x8ce7e2(0x351)],this[_0x8ce7e2(0x2df)],this[_0x8ce7e2(0x4c6)],_0x1e83d4,_0x370d6c,this[_0x8ce7e2(0x36b)],void 0x0):this['_injector'][_0x8ce7e2(0x3a7)](exports[_0x8ce7e2(0x40c)],this['unitID'],this[_0x8ce7e2(0x4c6)],_0x1e83d4,this['_handler']);_0x382b39[_0x8ce7e2(0x1d8)](),this[_0x8ce7e2(0x36b)][_0x8ce7e2(0x3cb)](this,_0x382b39);},_0x3a68dd);}[_0x199ec4(0x3d5)](){var _0x249a14=_0x199ec4,_0x906ca2;const _0x3460ef=this[_0x249a14(0x44e)]['getConfig'](K);return(_0x906ca2=_0x3460ef==null?void 0x0:_0x3460ef[_0x249a14(0x247)])!=null?_0x906ca2:xt;}[_0x199ec4(0x2c5)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x199ec4(0x4c4)](){var _0x1d7787=_0x199ec4;this[_0x1d7787(0x21b)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x199ec4(0x1b1)](_0x144143){var _0x3e20a3=_0x199ec4;return this['_clearScheduledTask'](),this['_injector'][_0x3e20a3(0x3a7)](exports[_0x3e20a3(0x33e)],this[_0x3e20a3(0x2df)],this[_0x3e20a3(0x4c6)],null,this[_0x3e20a3(0x31f)],this[_0x3e20a3(0x36b)],_0x144143);}},exports['PendingState']=ae([w(0x4,a['Inject'](a[_0x199ec4(0x236)])),w(0x5,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x396)])),w(0x6,a[_0x199ec4(0x2b7)](exports['MemberService'])),w(0x7,a[_0x199ec4(0x37e)]),w(0x8,a[_0x199ec4(0x296)]),w(0x9,a[_0x199ec4(0x3e7)]),w(0xa,I[_0x199ec4(0x4a9)]),w(0xb,a[_0x199ec4(0x1ec)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x199ec4(0x341)](q))],exports['PendingState']),exports['AwaitingState']=class extends ce{constructor(_0x28cca2,_0x31f868,_0x296de0,_0x49db41,_0x1270dc,_0x5b6d7a,_0x2acafd,_0x424655,_0x237893,_0x4601fb,_0x3bbc72){var _0x3620cf=_0x199ec4;super(_0x28cca2,_0x31f868,_0x296de0,[],_0x49db41,_0x2acafd,_0x4601fb,_0x5b6d7a,_0x3bbc72),A(this,_0x3620cf(0x386),_0x3620cf(0x1ab)),A(this,'_resendTimeout',0x0),A(this,_0x3620cf(0x2fb)),A(this,_0x3620cf(0x26c)),(this[_0x3620cf(0x2ed)]=_0x1270dc,this['_logService']=_0x424655,this[_0x3620cf(0x324)]=_0x237893);}[_0x199ec4(0x3ba)](_0x44b9eb){var _0x194e49=_0x199ec4;this['_clearScheduledTask']();const _0x1ca8f4=this['_injector'][_0x194e49(0x3a7)](exports[_0x194e49(0x351)],this[_0x194e49(0x2df)],this[_0x194e49(0x4c6)],this[_0x194e49(0x4b9)],[_0x44b9eb],this[_0x194e49(0x36b)],this[_0x194e49(0x2fb)]);return _0x1ca8f4[_0x194e49(0x1d8)](),_0x1ca8f4;}[_0x199ec4(0x1ff)](_0x48014b){var _0x3ee8d7=_0x199ec4;if(this[_0x3ee8d7(0x4e9)](_0x48014b))return this[_0x3ee8d7(0x4c4)](),this['_injector'][_0x3ee8d7(0x3a7)](exports[_0x3ee8d7(0x3fa)],this['unitID'],this[_0x3ee8d7(0x4c6)],this[_0x3ee8d7(0x4b9)],[],null,[_0x48014b],this['_handler']);try{const _0x107611=this['_transformService'][_0x3ee8d7(0x22e)]([_0x48014b],[this[_0x3ee8d7(0x4b9)]],!0x1);if(I[_0x3ee8d7(0x251)](_0x107611)){const {c1Prime:_0x548b4e,c2Prime:_0xc6f99e}=_0x107611;this['_executeRemoteChangeset'](_0x548b4e[0x0]),_0xc6f99e[0x0][_0x3ee8d7(0x238)]=this['_getCurrentRevision'](),this[_0x3ee8d7(0x4c4)]();const _0x1f0f49=this[_0x3ee8d7(0x2ed)][_0x3ee8d7(0x3a7)](exports['AwaitingState'],this[_0x3ee8d7(0x2df)],this[_0x3ee8d7(0x4c6)],_0xc6f99e[0x0],this['_handler']);return _0x1f0f49['_updateLocalCache'](),_0x1f0f49;}return this[_0x3ee8d7(0x1b1)](!0x1);}catch(_0x6e47d1){return this['_logService'][_0x3ee8d7(0x4af)](_0x6e47d1),this[_0x3ee8d7(0x1b1)](!0x1);}}[_0x199ec4(0x484)](_0x28f725){var _0x257a9c=_0x199ec4;this[_0x257a9c(0x4c4)]();const _0x5b2d07=this[_0x257a9c(0x367)][_0x257a9c(0x440)](this[_0x257a9c(0x2df)]);if(_0x28f725[_0x257a9c(0x3e8)]<_0x5b2d07-0x1)return this;if(this[_0x257a9c(0x4e9)](_0x28f725))return this[_0x257a9c(0x2ed)][_0x257a9c(0x3a7)](exports['FetchingMissState'],this[_0x257a9c(0x2df)],this['type'],null,[],this[_0x257a9c(0x4b9)],[],this[_0x257a9c(0x36b)]);this[_0x257a9c(0x301)]();const _0x46b422=this[_0x257a9c(0x2ed)]['createInstance'](exports[_0x257a9c(0x49d)],this[_0x257a9c(0x2df)],this['type'],this[_0x257a9c(0x36b)]);return _0x46b422[_0x257a9c(0x1d8)](),_0x46b422;}[_0x199ec4(0x320)](_0x2eaef1){var _0x4939c5=_0x199ec4;return this[_0x4939c5(0x1b1)](!!(_0x2eaef1!=null&&_0x2eaef1[_0x4939c5(0x198)]));}[_0x199ec4(0x2b8)](_0x2d74b0){var _0x20e699=_0x199ec4;return this[_0x20e699(0x2b6)]>Rt?this[_0x20e699(0x2d7)]():(this[_0x20e699(0x2fb)]=bt(this[_0x20e699(0x2b6)],{'timeout':this[_0x20e699(0x2b6)],'reqId':_0x2d74b0[_0x20e699(0x1ee)]}),this[_0x20e699(0x26c)]=this[_0x20e699(0x2fb)]['subscribe'](({reqId:_0x60273f,timeout:_0x5240ab})=>{var _0x1e4436=_0x20e699;this[_0x1e4436(0x3c7)](_0x60273f,_0x5240ab);}),this);}[_0x199ec4(0x2d7)](){var _0x279002=_0x199ec4;return this[_0x279002(0x4c4)](),this[_0x279002(0x2ed)]['createInstance'](exports[_0x279002(0x2db)],this[_0x279002(0x2df)],this[_0x279002(0x4c6)],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x199ec4(0x2c5)](){var _0x51ef3=_0x199ec4;this[_0x51ef3(0x36b)]['onSendChangeset'](this[_0x51ef3(0x4b9)]);}[_0x199ec4(0x1b1)](_0x4b83fd){var _0x19b050=_0x199ec4;return this[_0x19b050(0x4c4)](),this['_injector'][_0x19b050(0x3a7)](exports[_0x19b050(0x33e)],this[_0x19b050(0x2df)],this[_0x19b050(0x4c6)],this[_0x19b050(0x4b9)],[],this['_handler'],_0x4b83fd);}[_0x199ec4(0x3c7)](_0x531228,_0x13e959){var _0x1a0819=_0x199ec4,_0xced85b;_0x531228===((_0xced85b=this[_0x1a0819(0x4b9)])==null?void 0x0:_0xced85b[_0x1a0819(0x1ee)])&&(this['resend'](),this[_0x1a0819(0x2b6)]=_0x13e959===0x0?0x3e8:_0x13e959*0x2);}[_0x199ec4(0x4c4)](){var _0x4aa006=_0x199ec4,_0x1782b7;(_0x1782b7=this[_0x4aa006(0x26c)])==null||_0x1782b7[_0x4aa006(0x177)](),this[_0x4aa006(0x2b6)]=0x0;}},exports[_0x199ec4(0x40c)]=ae([w(0x4,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),w(0x5,a['Inject'](I['RevisionService'])),w(0x6,a[_0x199ec4(0x296)]),w(0x7,a['ILogService']),w(0x8,I[_0x199ec4(0x4a9)]),w(0x9,a[_0x199ec4(0x463)]),w(0xa,a[_0x199ec4(0x341)](q))],exports[_0x199ec4(0x40c)]),exports[_0x199ec4(0x351)]=class extends ce{constructor(_0x425803,_0x41ac4f,_0x5ad918,_0x223683,_0x465685,_0x4ba4de,_0x1e8057,_0x275715,_0x3fcf18,_0x466559,_0x26cdb8,_0xce7e17,_0x3b6eca){var _0x550859=_0x199ec4;super(_0x425803,_0x41ac4f,_0x5ad918,_0x223683,_0x465685,_0x3fcf18,_0xce7e17,_0x275715,_0x3b6eca),A(this,'status',_0x550859(0x25a)),A(this,_0x550859(0x2b6),0x0),A(this,_0x550859(0x2fb)),A(this,'_sender'),(this[_0x550859(0x2ed)]=_0x1e8057,this[_0x550859(0x309)]=_0x466559,this[_0x550859(0x324)]=_0x26cdb8,this[_0x550859(0x43f)]=_0x3b6eca,_0x4ba4de&&(this['_resendTimer']=_0x4ba4de,this[_0x550859(0x26c)]=this[_0x550859(0x2fb)][_0x550859(0x483)](({reqId:_0x1b6018,timeout:_0x466d0a})=>{this['_resendWithTimeout'](_0x1b6018,_0x466d0a);})));}['appendMutation'](_0x57ef44){var _0x5b6b40=_0x199ec4;return this['_pendingMutations'][_0x5b6b40(0x4cf)](_0x57ef44),this;}[_0x199ec4(0x1ff)](_0x431dbf){var _0x38f9e9=_0x199ec4;if(this[_0x38f9e9(0x4e9)](_0x431dbf))return this[_0x38f9e9(0x4c4)](),this['_injector'][_0x38f9e9(0x3a7)](exports[_0x38f9e9(0x3fa)],this[_0x38f9e9(0x2df)],this['type'],this[_0x38f9e9(0x4b9)],this[_0x38f9e9(0x31f)],null,[_0x431dbf],this[_0x38f9e9(0x36b)]);try{const _0x54eec2=this[_0x38f9e9(0x324)][_0x38f9e9(0x22e)]([_0x431dbf],[this[_0x38f9e9(0x4b9)]],!0x1);if(I[_0x38f9e9(0x251)](_0x54eec2)){const {c1Prime:_0x5103c9,c2Prime:_0x27e6bb}=_0x54eec2,_0xff29d0=this[_0x38f9e9(0x324)][_0x38f9e9(0x202)](_0x5103c9[0x0],this[_0x38f9e9(0x31f)]);if(I[_0x38f9e9(0x22d)](_0xff29d0)){const {c1Prime:_0x4b3f58,m2Prime:_0x34add5}=_0xff29d0;return this[_0x38f9e9(0x28d)](_0x4b3f58),_0x27e6bb[0x0][_0x38f9e9(0x238)]=this[_0x38f9e9(0x393)](),this['_clearScheduledTask'](),this[_0x38f9e9(0x2ed)]['createInstance'](exports[_0x38f9e9(0x351)],this[_0x38f9e9(0x2df)],this['type'],_0x27e6bb[0x0],_0x34add5,this[_0x38f9e9(0x36b)],void 0x0);}throw _0xff29d0[_0x38f9e9(0x4af)];}throw _0x54eec2[_0x38f9e9(0x4af)];}catch(_0x5c4515){return this[_0x38f9e9(0x309)][_0x38f9e9(0x4af)](_0x5c4515),this[_0x38f9e9(0x1b1)](!0x1);}}[_0x199ec4(0x484)](_0x574d90){var _0x39d61d=_0x199ec4;if(this[_0x39d61d(0x4c4)](),this['_checkMissing'](_0x574d90))return this['_injector']['createInstance'](exports[_0x39d61d(0x3fa)],this[_0x39d61d(0x2df)],this[_0x39d61d(0x4c6)],null,this[_0x39d61d(0x31f)],this[_0x39d61d(0x4b9)],[],this[_0x39d61d(0x36b)]);this['_incrementRevisionNumber']();const _0x25757e=this['_injector'][_0x39d61d(0x3a7)](exports[_0x39d61d(0x246)],this[_0x39d61d(0x2df)],this[_0x39d61d(0x4c6)],this[_0x39d61d(0x31f)],this[_0x39d61d(0x36b)]);return _0x25757e['_schedule'](),_0x25757e[_0x39d61d(0x1d8)](),_0x25757e;}[_0x199ec4(0x320)](_0xe33568){var _0x300c08=_0x199ec4;return this[_0x300c08(0x1b1)](!!(_0xe33568!=null&&_0xe33568[_0x300c08(0x198)]));}['onRemoteRetry'](_0x2f41a9){var _0x4975f7=_0x199ec4;return this[_0x4975f7(0x2b6)]>Rt?this[_0x4975f7(0x2d7)]():(this[_0x4975f7(0x2fb)]=bt(this[_0x4975f7(0x2b6)],{'timeout':this[_0x4975f7(0x2b6)],'reqId':_0x2f41a9['reqId']}),this['_sender']=this[_0x4975f7(0x2fb)]['subscribe'](({reqId:_0x559851,timeout:_0x321a46})=>{var _0x106aab=_0x4975f7;this[_0x106aab(0x3c7)](_0x559851,_0x321a46);}),this);}[_0x199ec4(0x2d7)](){var _0x37a485=_0x199ec4;return this[_0x37a485(0x4c4)](),this[_0x37a485(0x2ed)][_0x37a485(0x3a7)](exports['OfflineState'],this[_0x37a485(0x2df)],this[_0x37a485(0x4c6)],this[_0x37a485(0x4b9)],this[_0x37a485(0x31f)],this[_0x37a485(0x36b)]);}[_0x199ec4(0x180)](){return this;}['resend'](){var _0x1b8f80=_0x199ec4;this['_handler'][_0x1b8f80(0x2f7)](this[_0x1b8f80(0x4b9)]);}[_0x199ec4(0x1b1)](_0x3a5347){var _0x15275d=_0x199ec4;return this[_0x15275d(0x4c4)](),this[_0x15275d(0x2ed)][_0x15275d(0x3a7)](exports['ConflictState'],this[_0x15275d(0x2df)],this[_0x15275d(0x4c6)],null,this[_0x15275d(0x31f)],this[_0x15275d(0x36b)],_0x3a5347);}[_0x199ec4(0x3c7)](_0x217f8a,_0x60fe02){var _0x24f0cb=_0x199ec4,_0x153b59;_0x217f8a===((_0x153b59=this[_0x24f0cb(0x4b9)])==null?void 0x0:_0x153b59[_0x24f0cb(0x1ee)])&&(this[_0x24f0cb(0x2c5)](),this[_0x24f0cb(0x2b6)]=_0x60fe02===0x0?0x3e8:_0x60fe02*0x2);}['_clearScheduledTask'](){var _0x4377e6=_0x199ec4,_0x405c85;(_0x405c85=this['_sender'])==null||_0x405c85[_0x4377e6(0x177)](),this['_resendTimeout']=0x0;}},exports['AwaitingWithPendingState']=ae([w(0x6,a['Inject'](a[_0x199ec4(0x236)])),w(0x7,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x396)])),w(0x8,a[_0x199ec4(0x296)]),w(0x9,a[_0x199ec4(0x37e)]),w(0xa,I[_0x199ec4(0x4a9)]),w(0xb,a[_0x199ec4(0x463)]),w(0xc,a[_0x199ec4(0x341)](q))],exports['AwaitingWithPendingState']),exports[_0x199ec4(0x33e)]=class extends ce{constructor(_0x170bb1,_0x345562,_0x26d30d,_0x47fd61,_0x2db69a,_0x580d70=!0x1,_0x4c9ff8,_0x17b7c0,_0x56a773,_0x416463,_0x3440e5,_0x2ea923,_0x2af088){var _0x18c2fc=_0x199ec4;super(_0x170bb1,_0x345562,_0x26d30d,_0x47fd61,_0x2db69a,_0x17b7c0,_0x56a773,_0x416463,_0x2af088),A(this,'status',_0x18c2fc(0x34f)),(this['_isPermissionRej']=_0x580d70,this[_0x18c2fc(0x476)]=_0x4c9ff8,this['_localeService']=_0x3440e5,this['_collaborationUIEventService']=_0x2ea923,this[_0x18c2fc(0x43f)]=_0x2af088,this[_0x18c2fc(0x297)](),this[_0x18c2fc(0x3a2)](),this[_0x18c2fc(0x3ae)]());}[_0x199ec4(0x3ba)](){return this;}[_0x199ec4(0x1ff)](){return this;}[_0x199ec4(0x484)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x199ec4(0x2d7)](){return this;}['toggleOnline'](){return this;}[_0x199ec4(0x2c5)](){var _0x142193=_0x199ec4;throw new Error(_0x142193(0x4b0));}[_0x199ec4(0x3a2)](){var _0x11f823=_0x199ec4,_0x39647e;(_0x39647e=this[_0x11f823(0x33c)])==null||_0x39647e[_0x11f823(0x399)](this[_0x11f823(0x2df)],this[_0x11f823(0x4c6)],null,[]);}['_showConflictNotification'](){var _0x4c893e=_0x199ec4;this[_0x4c893e(0x1f3)]?this[_0x4c893e(0x4d2)][_0x4c893e(0x35f)]({'id':Z[_0x4c893e(0x256)]}):this[_0x4c893e(0x4d2)][_0x4c893e(0x35f)]({'id':Z[_0x4c893e(0x365)]});}[_0x199ec4(0x3ae)](){var _0x2a1b86=_0x199ec4;this[_0x2a1b86(0x476)][_0x2a1b86(0x185)](new X[(_0x2a1b86(0x332))](this[_0x2a1b86(0x2df)])['id'],!0x1);}},exports['ConflictState']=ae([w(0x6,a['Inject'](a[_0x199ec4(0x1d0)])),w(0x7,a[_0x199ec4(0x296)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x396)])),w(0xa,a[_0x199ec4(0x2b7)](a['LocaleService'])),w(0xb,a[_0x199ec4(0x2b7)](ee)),w(0xc,a[_0x199ec4(0x341)](q))],exports['ConflictState']),exports[_0x199ec4(0x2db)]=class extends ce{constructor(_0x16941b,_0x28fb5a,_0x1dbf7c,_0x3c6c81,_0x11769f,_0x36ee28,_0x4f7750,_0x55e7d2,_0x3f77ad,_0x11bd46){var _0x4ef256=_0x199ec4;super(_0x16941b,_0x28fb5a,_0x1dbf7c,_0x3c6c81,_0x11769f,_0x55e7d2,_0x3f77ad,_0x4f7750,_0x11bd46),A(this,_0x4ef256(0x386),_0x4ef256(0x4c1)),this[_0x4ef256(0x2ed)]=_0x36ee28;}[_0x199ec4(0x3ba)](_0x33f807){var _0x83bc7a=_0x199ec4;return this[_0x83bc7a(0x31f)]['push'](_0x33f807),this[_0x83bc7a(0x1d8)](),this;}[_0x199ec4(0x1ff)](_0x1c3229){var _0x531df5=_0x199ec4;throw new Error(_0x531df5(0x408));}['onRemoteAck'](){var _0x499729=_0x199ec4;throw new Error(_0x499729(0x2e8));}[_0x199ec4(0x320)](){var _0x53b67d=_0x199ec4;throw new Error(_0x53b67d(0x216));}['onRemoteRetry'](){return this;}[_0x199ec4(0x2d7)](){return this;}[_0x199ec4(0x180)](){var _0xea16dc=_0x199ec4;const {_injector:_0x3231a2,_pendingMutations:_0x294980,_awaitingChangeset:_0x5debf3,unitID:_0x483a02,_handler:_0x11e467,type:_0x590123}=this,_0x3633cf=Ot(_0x3231a2,_0x483a02,_0x590123,_0x5debf3,_0x294980,_0x11e467);return _0x3633cf instanceof exports['PendingState']?_0x3633cf[_0xea16dc(0x458)]():(_0x3633cf instanceof exports[_0xea16dc(0x351)]||_0x3633cf instanceof exports[_0xea16dc(0x40c)])&&_0x3633cf['resend'](),_0x3633cf;}[_0x199ec4(0x2c5)](){var _0x80a63a=_0x199ec4;throw new Error(_0x80a63a(0x344));}},exports[_0x199ec4(0x2db)]=ae([w(0x5,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),w(0x6,a[_0x199ec4(0x2b7)](I['RevisionService'])),w(0x7,a[_0x199ec4(0x296)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x199ec4(0x341)](q))],exports['OfflineState']),exports[_0x199ec4(0x3fa)]=class extends ce{constructor(_0x4e935c,_0x2de183,_0x13fef0,_0x4cb393,_0x4a6dc5,_0x1b86a3,_0x104845,_0x1bfe1b,_0x378a59,_0x3767f5,_0x2901b0,_0x34615c,_0x38a79a,_0x1f9776){var _0xce72c6=_0x199ec4;super(_0x4e935c,_0x2de183,_0x13fef0,_0x4cb393,_0x104845,_0x2901b0,_0x34615c,_0x378a59,_0x1f9776),A(this,_0xce72c6(0x386),_0xce72c6(0x1c4)),(this[_0xce72c6(0x253)]=_0x4a6dc5,this[_0xce72c6(0x456)]=_0x1b86a3,this[_0xce72c6(0x2ed)]=_0x1bfe1b,this[_0xce72c6(0x309)]=_0x3767f5,this[_0xce72c6(0x324)]=_0x38a79a,this[_0xce72c6(0x43f)]=_0x1f9776);}['onMissedChangesetFetched'](_0x1cc1ed){var _0x5622e5=_0x199ec4;try{const _0x380bf1=[..._0x1cc1ed,...this['_queuedRemoteChangesets']],_0xbd486c=[this[_0x5622e5(0x4b9)]||this[_0x5622e5(0x253)]]['filter'](_0xeab94b=>!!_0xeab94b);let _0xc5360b,_0x5cde20;if(_0xbd486c[_0x5622e5(0x418)]){const _0x31ee60=this[_0x5622e5(0x324)][_0x5622e5(0x22e)](_0x380bf1,_0xbd486c,!0x1);if(!I[_0x5622e5(0x251)](_0x31ee60))throw _0x31ee60['error'];_0xc5360b=_0x31ee60[_0x5622e5(0x419)],_0x5cde20=_0x31ee60[_0x5622e5(0x4ac)];}else _0xc5360b=_0x380bf1,_0x5cde20=[];let _0x41a266=this['_pendingMutations'];_0xc5360b[_0x5622e5(0x4db)](_0x222851=>{var _0x37724e=_0x5622e5;let _0x38c222;if(_0x41a266[_0x37724e(0x418)]){const _0x1497cb=this['_transformService']['transformMutationsWithChangeset'](_0x222851,_0x41a266);if(!I['isTransformMutationsWithChangesetSuccess'](_0x1497cb))throw _0x1497cb[_0x37724e(0x4af)];_0x38c222=_0x1497cb[_0x37724e(0x419)],_0x41a266=_0x1497cb[_0x37724e(0x361)];}else _0x38c222=_0x222851;this['_executeRemoteChangeset'](_0x38c222);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5622e5(0x301)](),this[_0x5622e5(0x4b9)]&&_0x5cde20[_0x5622e5(0x418)]&&(_0x5cde20[0x0][_0x5622e5(0x238)]=this['_getCurrentRevision']());let _0x50ca7f;if(this['_awaitingChangeset']&&_0x41a266[_0x5622e5(0x418)]!==0x0)_0x50ca7f=this[_0x5622e5(0x2ed)][_0x5622e5(0x3a7)](exports['AwaitingWithPendingState'],this[_0x5622e5(0x2df)],this[_0x5622e5(0x4c6)],_0x5cde20[0x0],_0x41a266,this[_0x5622e5(0x36b)],void 0x0);else{if(this[_0x5622e5(0x4b9)]&&_0x41a266[_0x5622e5(0x418)]===0x0)_0x5cde20[0x0][_0x5622e5(0x238)]=this['_getCurrentRevision'](),_0x50ca7f=this[_0x5622e5(0x2ed)][_0x5622e5(0x3a7)](exports['AwaitingState'],this[_0x5622e5(0x2df)],this[_0x5622e5(0x4c6)],_0x5cde20[0x0],this['_handler']);else{if(_0x41a266[_0x5622e5(0x418)]!==0x0){const _0x138f29=this[_0x5622e5(0x2ed)][_0x5622e5(0x3a7)](exports[_0x5622e5(0x246)],this[_0x5622e5(0x2df)],this['type'],_0x41a266,this[_0x5622e5(0x36b)]);_0x138f29['_schedule'](),_0x50ca7f=_0x138f29;}else _0x50ca7f=this['_injector']['createInstance'](exports['SyncedState'],this['unitID'],this['type'],this[_0x5622e5(0x36b)]);}}return _0x50ca7f[_0x5622e5(0x1d8)](),_0x50ca7f;}catch(_0x34d6e7){return this[_0x5622e5(0x309)][_0x5622e5(0x4af)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x34d6e7),this['_injector'][_0x5622e5(0x3a7)](exports[_0x5622e5(0x33e)],this[_0x5622e5(0x2df)],this[_0x5622e5(0x4c6)],this[_0x5622e5(0x4b9)],this[_0x5622e5(0x31f)],this[_0x5622e5(0x36b)],!0x1);}}['resend'](){var _0x45cd4c=_0x199ec4;throw new Error(_0x45cd4c(0x3b2));}[_0x199ec4(0x3ba)](_0x1441ae){var _0x8b2ff1=_0x199ec4;return this['_pendingMutations'][_0x8b2ff1(0x4cf)](_0x1441ae),this;}[_0x199ec4(0x1ff)](_0x3890f){var _0x2d2571=_0x199ec4;return this['_queuedRemoteChangesets'][_0x2d2571(0x4cf)](_0x3890f),this;}[_0x199ec4(0x484)](_0x3ccf87){var _0x47bc6a=_0x199ec4;if(this[_0x47bc6a(0x4b9)])return this['_acknowledgedAwaitingChangeset']=this[_0x47bc6a(0x4b9)],this[_0x47bc6a(0x4b9)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x199ec4(0x320)](_0x2c18aa){var _0x88ac5d=_0x199ec4;return this[_0x88ac5d(0x1b1)](!!(_0x2c18aa!=null&&_0x2c18aa[_0x88ac5d(0x198)]));}[_0x199ec4(0x2b8)](){return this;}['toggleOffline'](){var _0x37fc4f=_0x199ec4;return this[_0x37fc4f(0x2ed)][_0x37fc4f(0x3a7)](exports['OfflineState'],this[_0x37fc4f(0x2df)],this[_0x37fc4f(0x4c6)],this[_0x37fc4f(0x4b9)],this[_0x37fc4f(0x31f)],this[_0x37fc4f(0x36b)]);}[_0x199ec4(0x180)](){return this;}[_0x199ec4(0x1b1)](_0x257dbc){var _0x33d9b9=_0x199ec4;return this['_injector'][_0x33d9b9(0x3a7)](exports['ConflictState'],this[_0x33d9b9(0x2df)],this['type'],this[_0x33d9b9(0x4b9)],this[_0x33d9b9(0x31f)],this[_0x33d9b9(0x36b)],_0x257dbc);}},exports['FetchingMissState']=ae([w(0x7,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),w(0x8,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x396)])),w(0x9,a[_0x199ec4(0x37e)]),w(0xa,a[_0x199ec4(0x296)]),w(0xb,a[_0x199ec4(0x463)]),w(0xc,I[_0x199ec4(0x4a9)]),w(0xd,a[_0x199ec4(0x341)](q))],exports[_0x199ec4(0x3fa)]);function Ot(_0x468f80,_0x406b63,_0x28b746,_0x5b6f1c,_0x4887b1,_0x2602cc){var _0x29356d=_0x199ec4;return _0x5b6f1c&&_0x4887b1['length']?_0x468f80[_0x29356d(0x3a7)](exports[_0x29356d(0x351)],_0x406b63,_0x28b746,_0x5b6f1c,_0x4887b1,_0x2602cc,void 0x0):_0x5b6f1c?_0x468f80[_0x29356d(0x3a7)](exports[_0x29356d(0x40c)],_0x406b63,_0x28b746,_0x5b6f1c,_0x2602cc):_0x4887b1[_0x29356d(0x418)]?_0x468f80[_0x29356d(0x3a7)](exports['PendingState'],_0x406b63,_0x28b746,_0x4887b1,_0x2602cc):_0x468f80[_0x29356d(0x3a7)](exports[_0x29356d(0x49d)],_0x406b63,_0x28b746,_0x2602cc);}var vi=Object[_0x199ec4(0x244)],Fe=(_0x8fe47c,_0x46570a,_0x109009,_0x585d67)=>{for(var _0x196fe5=_0x585d67>0x1?void 0x0:_0x585d67?vi(_0x46570a,_0x109009):_0x46570a,_0xd94b43=_0x8fe47c['length']-0x1,_0x1d3feb;_0xd94b43>=0x0;_0xd94b43--)(_0x1d3feb=_0x8fe47c[_0xd94b43])&&(_0x196fe5=_0x1d3feb(_0x196fe5)||_0x196fe5);return _0x196fe5;},j=(_0x277230,_0x499544)=>(_0x55e266,_0x3b7e5d)=>_0x499544(_0x55e266,_0x3b7e5d,_0x277230);exports[_0x199ec4(0x395)]=class extends a[_0x199ec4(0x4c2)]{constructor(_0x3e529f,_0x3c4131,_0x802660,_0x4c2167,_0x5273ec,_0x291afe,_0x3aca13,_0x2f4cd6,_0x4c654a,_0x18782e,_0x2409f5,_0x28dfc2,_0x17fd3f){var _0x36241d=_0x199ec4;super(),A(this,'_state$',new $[(_0x36241d(0x195))](null)),A(this,_0x36241d(0x2a8),this[_0x36241d(0x306)][_0x36241d(0x206)]()),A(this,'_state'),A(this,'_collaborationPaused',!0x1),A(this,'_changesetSessionId',''),A(this,'_changesetReqId',0x0),A(this,'status$',this[_0x36241d(0x2a8)]['pipe']($[_0x36241d(0x369)](_0xb605c3=>_0xb605c3?_0xb605c3['status']:Be['OFFLINE']),$['shareReplay'](0x1))),A(this,_0x36241d(0x49f),!0x1),A(this,_0x36241d(0x21c),[]),(this['unitID']=_0x3e529f,this[_0x36241d(0x42f)]=_0x3c4131,this[_0x36241d(0x323)]=_0x802660,this['_injector']=_0x4c2167,this[_0x36241d(0x38f)]=_0x5273ec,this[_0x36241d(0x2e0)]=_0x291afe,this[_0x36241d(0x367)]=_0x3aca13,this[_0x36241d(0x2a3)]=_0x2f4cd6,this[_0x36241d(0x309)]=_0x4c654a,this[_0x36241d(0x433)]=_0x18782e,this[_0x36241d(0x476)]=_0x2409f5,this[_0x36241d(0x27f)]=_0x28dfc2,this[_0x36241d(0x33c)]=_0x17fd3f);}get['state'](){var _0x25b299=_0x199ec4;return this[_0x25b299(0x328)];}async[_0x199ec4(0x3a6)](){var _0x1b4a6b=_0x199ec4;if(this[_0x1b4a6b(0x20d)])throw new Error(_0x1b4a6b(0x2f1));await this[_0x1b4a6b(0x37a)]();}[_0x199ec4(0x47a)](){var _0x503831=_0x199ec4;return this[_0x503831(0x4be)]=!0x0,a['toDisposable'](()=>{var _0x1d9dd9=_0x503831;this[_0x1d9dd9(0x4be)]=!0x1,this[_0x1d9dd9(0x2f6)]();});}['onLocalMutation'](_0xa67ac9){var _0x17cd69=_0x199ec4;this[_0x17cd69(0x334)](_0xa67ac9);}[_0x199ec4(0x409)](_0xcab7d){var _0xfb7cf2=_0x199ec4;this['_state']=_0xcab7d,this[_0xfb7cf2(0x306)]['next'](_0xcab7d);}async['_init'](){var _0x78ee99=_0x199ec4,_0x30d085;this[_0x78ee99(0x409)](await this['_createInitialState']()),this[_0x78ee99(0x27f)]&&((_0x30d085=this[_0x78ee99(0x27f)])==null||_0x30d085['editingUnit'](this[_0x78ee99(0x2df)]),this[_0x78ee99(0x3dd)](this[_0x78ee99(0x27f)][_0x78ee99(0x271)](this[_0x78ee99(0x2df)])['subscribe'](_0x191e15=>{var _0x4cdd18=_0x78ee99;this[_0x4cdd18(0x309)]['debug'](_0x4cdd18(0x4e7),_0x4cdd18(0x414),_0x191e15),_0x191e15===je[_0x4cdd18(0x240)]?(this[_0x4cdd18(0x2a3)][_0x4cdd18(0x35f)]({'id':Z['OTHER_CLIENT_EDITING']}),this[_0x4cdd18(0x476)]['updatePermissionPoint'](new X[(_0x4cdd18(0x332))](this[_0x4cdd18(0x2df)])['id'],!0x1),this[_0x4cdd18(0x476)][_0x4cdd18(0x425)](!0x1)):(this[_0x4cdd18(0x476)][_0x4cdd18(0x185)](new X[(_0x4cdd18(0x332))](this['unitID'])['id'],!0x0),this[_0x4cdd18(0x476)][_0x4cdd18(0x425)](!0x0));})));let _0x29dc70=!0x1;return this['disposeWithMe'](this['session'][_0x78ee99(0x29a)][_0x78ee99(0x483)](_0x562654=>{var _0x1a0313=_0x78ee99;_0x562654===re[_0x1a0313(0x18a)]?this[_0x1a0313(0x2f0)](_0x29dc70):_0x562654===re[_0x1a0313(0x3b8)]&&(_0x29dc70=!0x0,this['_toggleOffline']());})),this[_0x78ee99(0x3dd)](this[_0x78ee99(0x42f)][_0x78ee99(0x20f)][_0x78ee99(0x483)](_0x238124=>{var _0x4250bd=_0x78ee99;try{switch(_0x238124['eventID']){case I['CollaborationEvent'][_0x4250bd(0x4cb)]:{this[_0x4250bd(0x35e)](I[_0x4250bd(0x3e1)](_0x238124[_0x4250bd(0x280)]));break;}case I[_0x4250bd(0x4a0)][_0x4250bd(0x2a2)]:{this['_onRemoteACK'](_0x238124[_0x4250bd(0x280)]);break;}case I[_0x4250bd(0x4a0)][_0x4250bd(0x3bd)]:{this[_0x4250bd(0x21a)]();break;}case I[_0x4250bd(0x4a0)][_0x4250bd(0x1bb)]:{this[_0x4250bd(0x36d)](_0x238124[_0x4250bd(0x280)]);break;}case I[_0x4250bd(0x4a0)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x238124[_0x4250bd(0x280)]['changesets']['map'](_0x34e816=>I[_0x4250bd(0x3e1)](_0x34e816)));break;}case I[_0x4250bd(0x4a0)][_0x4250bd(0x1d9)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0x4250bd(0x4a0)]['UNISCRIPT_RUN']:break;}}catch(_0x37a839){throw console[_0x4250bd(0x4af)](_0x4250bd(0x2ee),_0x37a839),_0x37a839;}})),this['_state'];}[_0x199ec4(0x38b)](){var _0x561916=_0x199ec4;this[_0x561916(0x49f)]=!0x1;}[_0x199ec4(0x278)](){var _0x1cdf10=_0x199ec4;if(this['_transitionLocked'])throw new Error(_0x1cdf10(0x3df));this[_0x1cdf10(0x49f)]=!0x0;}[_0x199ec4(0x334)](_0x33347f){var _0x596de2=_0x199ec4;this['_lockTransition'](),this[_0x596de2(0x409)](this[_0x596de2(0x328)][_0x596de2(0x3ba)](_0x33347f)),this[_0x596de2(0x38b)]();}[_0x199ec4(0x35e)](_0xbb9562){var _0x288676=_0x199ec4;if(!(_0xbb9562[_0x288676(0x3e8)]<=this[_0x288676(0x367)]['getCurrentRevOfUnit'](this[_0x288676(0x2df)]))){if(this['_collaborationPaused']){this[_0x288676(0x21c)][_0x288676(0x4cf)](_0xbb9562);return;}this[_0x288676(0x201)](_0xbb9562);}}[_0x199ec4(0x2f6)](){var _0x144b33=_0x199ec4;this[_0x144b33(0x21c)]['forEach'](_0x4ef036=>this[_0x144b33(0x201)](_0x4ef036)),this[_0x144b33(0x21c)]=[];}[_0x199ec4(0x201)](_0x568ecc){var _0x50ed5e=_0x199ec4;const _0x3216df=this[_0x50ed5e(0x38f)]['interceptor'][_0x50ed5e(0x388)](this[_0x50ed5e(0x38f)][_0x50ed5e(0x2dc)]['getInterceptPoints']()[_0x50ed5e(0x23f)])(_0x568ecc[_0x50ed5e(0x36c)],null)||_0x568ecc[_0x50ed5e(0x36c)],_0x5b1db5={..._0x568ecc,'mutations':_0x3216df};this['_lockTransition'](),this[_0x50ed5e(0x409)](this[_0x50ed5e(0x328)][_0x50ed5e(0x1ff)](_0x5b1db5)),this[_0x50ed5e(0x38b)]();}[_0x199ec4(0x485)](_0xe35cdb){var _0x4b5b79=_0x199ec4;this[_0x4b5b79(0x278)](),this['_updateState'](this[_0x4b5b79(0x328)][_0x4b5b79(0x484)](_0xe35cdb)),this[_0x4b5b79(0x38b)]();}[_0x199ec4(0x21a)](_0x5182b3){var _0x1f0bb=_0x199ec4;this[_0x1f0bb(0x278)](),this[_0x1f0bb(0x409)](this[_0x1f0bb(0x328)][_0x1f0bb(0x320)](_0x5182b3)),this['_unlockTransition']();}['_onRemoteRetry'](_0x21d513){var _0x2ccf81=_0x199ec4;this[_0x2ccf81(0x278)](),this['_updateState'](this[_0x2ccf81(0x328)][_0x2ccf81(0x2b8)](_0x21d513)),this[_0x2ccf81(0x38b)]();}[_0x199ec4(0x27e)](_0x3e98a2){var _0x5c81ef=_0x199ec4;if(!(this[_0x5c81ef(0x328)]instanceof exports[_0x5c81ef(0x3fa)]))throw new TypeError(_0x5c81ef(0x187));const _0x57c793=_0x3e98a2['map'](_0x1fb048=>{var _0x3a9df0=_0x5c81ef;const _0x1d7191=this[_0x3a9df0(0x38f)][_0x3a9df0(0x2dc)]['fetchThroughInterceptors'](this[_0x3a9df0(0x38f)]['interceptor'][_0x3a9df0(0x281)]()[_0x3a9df0(0x23f)])(_0x1fb048[_0x3a9df0(0x36c)],null)||_0x1fb048[_0x3a9df0(0x36c)];return{..._0x1fb048,'mutations':_0x1d7191};});this['_lockTransition'](),this[_0x5c81ef(0x409)](this[_0x5c81ef(0x328)][_0x5c81ef(0x217)](_0x57c793)),this[_0x5c81ef(0x38b)]();}[_0x199ec4(0x47d)](){var _0x4521c7=_0x199ec4;this[_0x4521c7(0x278)](),this[_0x4521c7(0x409)](this[_0x4521c7(0x328)][_0x4521c7(0x2d7)]()),this['_unlockTransition']();}[_0x199ec4(0x2f0)](_0xc9e5e=!0x1){var _0x3fc20c=_0x199ec4;this['_lockTransition'](),this[_0x3fc20c(0x409)](this[_0x3fc20c(0x328)][_0x3fc20c(0x180)]()),this[_0x3fc20c(0x38b)]();const _0x50c5ab=this[_0x3fc20c(0x328)];_0xc9e5e&&_0x50c5ab instanceof exports[_0x3fc20c(0x49d)]&&(this['_lockTransition'](),this['_updateState'](_0x50c5ab[_0x3fc20c(0x1c9)]()),this[_0x3fc20c(0x38b)]());}async[_0x199ec4(0x3d3)](){return new Promise(_0x5c2601=>{var _0x49a298=_0x3c30;this['session'][_0x49a298(0x29a)][_0x49a298(0x4ae)]($[_0x49a298(0x4b3)](0x1))[_0x49a298(0x483)](async _0x147e13=>{var _0x46ee89=_0x49a298;_0x5c2601(await this[_0x46ee89(0x4e8)](_0x147e13===re[_0x46ee89(0x18a)]));});});}[_0x199ec4(0x3f4)](){var _0x127417=_0x199ec4;const _0x8096e7=this[_0x127417(0x2df)];return{'onStateChange':(_0x20677a,_0x4c83f4)=>{var _0x1f34f2=_0x127417;if(_0x20677a!==this[_0x1f34f2(0x328)])throw new Error(_0x1f34f2(0x44f)+_0x20677a['status']+'\x0aAfter:\x20'+_0x4c83f4[_0x1f34f2(0x386)]+_0x1f34f2(0x218)+this[_0x1f34f2(0x328)]['status']);this[_0x1f34f2(0x409)](_0x4c83f4);},'onSendChangeset':_0x4e8a64=>{var _0x4280b8=_0x127417;_0x4e8a64[_0x4280b8(0x22c)]||(_0x4e8a64['sid']=this[_0x4280b8(0x41d)],_0x4e8a64[_0x4280b8(0x1ee)]=++this[_0x4280b8(0x45a)]);const _0x4daadc={'eventID':I['CollaborationEvent'][_0x4280b8(0x487)],'data':{'unitID':_0x4e8a64['unitID'],'unitType':this[_0x4280b8(0x323)],'changeset':_0x4e8a64,'memberID':this['session'][_0x4280b8(0x45d)]()}};this[_0x4280b8(0x42f)]['send'](_0x4daadc,this[_0x4280b8(0x2df)]);},'onMissingChangesets':({from:_0x2a411e,to:_0x30990e})=>{var _0x2115c7=_0x127417;this[_0x2115c7(0x309)][_0x2115c7(0x1d1)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x2a411e+'\x20to\x20'+_0x30990e);const _0x566a9e={'eventID':I[_0x2115c7(0x4a0)]['FETCH_MISSING'],'data':{'unitID':_0x8096e7,'unitType':this['_type'],'from':_0x2a411e,'to':_0x30990e}};this[_0x2115c7(0x42f)]['send'](_0x566a9e,this['unitID']);}};}async[_0x199ec4(0x4e8)](_0x18cd96){var _0x17b796=_0x199ec4,_0x17ea2e,_0x1763f3,_0x2b10f2;const _0x222260=await((_0x17ea2e=this[_0x17b796(0x33c)])==null?void 0x0:_0x17ea2e[_0x17b796(0x27a)](this[_0x17b796(0x2df)])),_0x3a210d=(_0x1763f3=_0x222260==null?void 0x0:_0x222260[_0x17b796(0x36c)])!=null?_0x1763f3:[],_0x1c90b3=(_0x2b10f2=_0x222260==null?void 0x0:_0x222260[_0x17b796(0x209)])!=null?_0x2b10f2:null,_0x42c697=!!(_0x1c90b3!=null&&_0x1c90b3['sid'])&&!!(_0x1c90b3!=null&&_0x1c90b3['reqId']);this[_0x17b796(0x41d)]=_0x42c697?_0x1c90b3['sid']:I[_0x17b796(0x2a1)](),this['_changesetReqId']=_0x42c697?_0x1c90b3[_0x17b796(0x1ee)]:0x0;const _0x308cc5=this[_0x17b796(0x2df)];try{this[_0x17b796(0x286)](_0x1c90b3,_0x3a210d);}catch(_0x1ae98f){this['_logService']['error'](_0x1ae98f);}const _0x4188a6=this[_0x17b796(0x3f4)]();if(_0x18cd96){const _0x23975f=Ot(this[_0x17b796(0x2ed)],_0x308cc5,this[_0x17b796(0x323)],_0x1c90b3,_0x3a210d,_0x4188a6);return _0x23975f instanceof exports[_0x17b796(0x246)]?_0x23975f[_0x17b796(0x458)]():(_0x23975f instanceof exports[_0x17b796(0x351)]||_0x23975f instanceof exports['AwaitingState'])&&_0x23975f[_0x17b796(0x2c5)](),_0x23975f;}return this[_0x17b796(0x2ed)][_0x17b796(0x3a7)](exports[_0x17b796(0x2db)],_0x308cc5,this[_0x17b796(0x323)],_0x1c90b3,_0x3a210d,_0x4188a6);}[_0x199ec4(0x286)](_0x514a80,_0x4be250){var _0x5f220f=_0x199ec4,_0x5075e5,_0xba8dc1;const _0xfeaf20=this[_0x5f220f(0x38f)]['interceptor'][_0x5f220f(0x388)](this[_0x5f220f(0x38f)][_0x5f220f(0x2dc)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x5075e5=_0xfeaf20((_0x514a80==null?void 0x0:_0x514a80[_0x5f220f(0x36c)])||[],null))==null||_0x5075e5['forEach'](_0x4554b4=>this[_0x5f220f(0x433)][_0x5f220f(0x4e0)](_0x4554b4['id'],_0x4554b4[_0x5f220f(0x3b0)])),(_0xba8dc1=_0xfeaf20(_0x4be250||[],null))==null||_0xba8dc1[_0x5f220f(0x4db)](_0xcb1262=>this[_0x5f220f(0x433)]['executeCommand'](_0xcb1262['id'],_0xcb1262[_0x5f220f(0x3b0)]));}},exports[_0x199ec4(0x395)]=Fe([j(0x3,a[_0x199ec4(0x2b7)](a['Injector'])),j(0x4,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x3b4)])),j(0x5,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x204)])),j(0x6,a[_0x199ec4(0x2b7)](I['RevisionService'])),j(0x7,a[_0x199ec4(0x2b7)](ee)),j(0x8,a[_0x199ec4(0x37e)]),j(0x9,a[_0x199ec4(0x296)]),j(0xa,a[_0x199ec4(0x1d0)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x199ec4(0x341)](q))],exports[_0x199ec4(0x395)]),exports[_0x199ec4(0x2ea)]=class extends exports['CollaborationEntity']{constructor(_0x42e3b8,_0x3e24e9,_0x43f167,_0xc60a31,_0x3a1963,_0x557aa9,_0x57824f,_0x5ba802,_0x57bc3f,_0x5244de,_0x5f5a62,_0x47343b,_0xd9d2fe){var _0x3f6f1b=_0x199ec4;super(_0x42e3b8,_0x43f167,_0x3e24e9,_0xc60a31,_0x3a1963,_0x557aa9,_0x57824f,_0x5ba802,_0x57bc3f,_0x5244de,_0x5f5a62,_0x47343b,_0xd9d2fe),A(this,_0x3f6f1b(0x4c7),null),(this[_0x3f6f1b(0x2df)]=_0x42e3b8,this['type']=_0x3e24e9);}[_0x199ec4(0x1ba)](_0x215269){this['_handlerCallback']=_0x215269;}[_0x199ec4(0x2ff)](){var _0x19cf4d=_0x199ec4;this[_0x19cf4d(0x4c7)]=null,super[_0x19cf4d(0x2ff)]();}['_createHandler'](){var _0x43b9b4=_0x199ec4;const _0x5a4ecc=super['_createHandler']();return _0x5a4ecc[_0x43b9b4(0x33d)]=_0x1864de=>{var _0x5af80b=_0x43b9b4,_0x59494d,_0x3e5d44;return(_0x3e5d44=(_0x59494d=this[_0x5af80b(0x4c7)])==null?void 0x0:_0x59494d[_0x5af80b(0x33d)])==null?void 0x0:_0x3e5d44[_0x5af80b(0x1cb)](_0x59494d,_0x1864de);},_0x5a4ecc['onTransformState']=_0x1a1479=>{var _0x3b8cfe=_0x43b9b4,_0x371384,_0x3a55de;return(_0x3a55de=(_0x371384=this['_handlerCallback'])==null?void 0x0:_0x371384[_0x3b8cfe(0x403)])==null?void 0x0:_0x3a55de['call'](_0x371384,_0x1a1479);},_0x5a4ecc[_0x43b9b4(0x41a)]=_0x20a287=>{var _0x2a67d7=_0x43b9b4,_0x5d2b86,_0x59cf43;return(_0x59cf43=(_0x5d2b86=this[_0x2a67d7(0x4c7)])==null?void 0x0:_0x5d2b86[_0x2a67d7(0x41a)])==null?void 0x0:_0x59cf43[_0x2a67d7(0x1cb)](_0x5d2b86,_0x20a287);},_0x5a4ecc[_0x43b9b4(0x1ad)]=_0x2170f2=>{var _0x78f970=_0x43b9b4,_0x2ebac6,_0x34624a;return(_0x34624a=(_0x2ebac6=this[_0x78f970(0x4c7)])==null?void 0x0:_0x2ebac6[_0x78f970(0x1ad)])==null?void 0x0:_0x34624a[_0x78f970(0x1cb)](_0x2ebac6,_0x2170f2);},_0x5a4ecc[_0x43b9b4(0x2fe)]=_0x14b83d=>{var _0x39b731=_0x43b9b4,_0x45d46c,_0x122d3a,_0x534c7a;if(!((_0x45d46c=this[_0x39b731(0x4c7)])!=null&&_0x45d46c[_0x39b731(0x2fe)]))throw new Error(_0x39b731(0x4ba));return(_0x534c7a=(_0x122d3a=this['_handlerCallback'])==null?void 0x0:_0x122d3a[_0x39b731(0x2fe)])==null?void 0x0:_0x534c7a['call'](_0x122d3a,_0x14b83d);},_0x5a4ecc[_0x43b9b4(0x3eb)]=_0x4d1860=>{var _0x532399=_0x43b9b4,_0x384394,_0x971caf,_0x254368;if(!((_0x384394=this[_0x532399(0x4c7)])!=null&&_0x384394[_0x532399(0x3eb)]))throw new Error(_0x532399(0x1f1));return(_0x254368=(_0x971caf=this[_0x532399(0x4c7)])==null?void 0x0:_0x971caf[_0x532399(0x3eb)])==null?void 0x0:_0x254368[_0x532399(0x1cb)](_0x971caf,_0x4d1860);},_0x5a4ecc;}async[_0x199ec4(0x37a)](){var _0x16e281=_0x199ec4;const _0x584683=await super[_0x16e281(0x37a)]();return this[_0x16e281(0x3dd)](this[_0x16e281(0x433)][_0x16e281(0x1e4)]((_0x5b517b,_0x27c35b)=>{var _0x4f3c6e=_0x16e281;if(_0x5b517b['type']!==a[_0x4f3c6e(0x4e3)][_0x4f3c6e(0x275)]||_0x27c35b!=null&&_0x27c35b['fromCollab']||_0x27c35b!=null&&_0x27c35b[_0x4f3c6e(0x1b5)]||_0x5b517b['id']===ht[_0x4f3c6e(0x4b8)]['id'])return;const _0x2c4691=_0x5b517b[_0x4f3c6e(0x3b0)];if((_0x2c4691==null?void 0x0:_0x2c4691[_0x4f3c6e(0x207)])!==this[_0x4f3c6e(0x2df)])return;const _0x626e9a=_0x5b517b,_0x39890e=this[_0x4f3c6e(0x38f)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x4f3c6e(0x2dc)][_0x4f3c6e(0x281)]()['COMPRESS_MUTATION_SEND'])([_0x626e9a],null)||[_0x626e9a];this[_0x4f3c6e(0x334)](_0x39890e[0x0]);})),_0x584683;}},exports[_0x199ec4(0x2ea)]=Fe([j(0x3,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),j(0x4,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x3b4)])),j(0x5,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x204)])),j(0x6,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x396)])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x199ec4(0x37e)]),j(0x9,a[_0x199ec4(0x296)]),j(0xa,a[_0x199ec4(0x1d0)]),j(0xb,a[_0x199ec4(0x341)](de)),j(0xc,a[_0x199ec4(0x341)](q))],exports[_0x199ec4(0x2ea)]),exports[_0x199ec4(0x1e1)]=class extends exports[_0x199ec4(0x395)]{constructor(_0x3639e2,_0x395d49,_0x497f39,_0x233213,_0xcebc05,_0x40dad0,_0x18c29f,_0x42466a,_0x1df376,_0x176a8c,_0x2c2838,_0x177148,_0x30524a,_0x4420c0){var _0x21f448=_0x199ec4;super(_0x3639e2,_0x497f39,_0x395d49,_0x233213,_0xcebc05,_0x40dad0,_0x18c29f,_0x1df376,_0x176a8c,_0x2c2838,_0x177148,_0x30524a,_0x4420c0),this[_0x21f448(0x2df)]=_0x3639e2,this[_0x21f448(0x4c6)]=_0x395d49,this[_0x21f448(0x4d5)]=_0x42466a;}[_0x199ec4(0x3f4)](){var _0x51cb6e=_0x199ec4;const _0x14c66f=super['_createHandler']();return _0x14c66f['onTransformSelections']=_0x51cbf4=>this['_sheetTransformSelectionsService'][_0x51cb6e(0x445)](_0x51cbf4),_0x14c66f;}async[_0x199ec4(0x37a)](){var _0x310081=_0x199ec4;const _0x32dd2e=await super['_init']();return this[_0x310081(0x3dd)](this[_0x310081(0x433)][_0x310081(0x1e4)]((_0x443cf8,_0x5e3c18)=>{var _0x2a9746=_0x310081;if(_0x443cf8[_0x2a9746(0x4c6)]!==a['CommandType'][_0x2a9746(0x275)]||_0x5e3c18!=null&&_0x5e3c18[_0x2a9746(0x1e0)]||_0x5e3c18!=null&&_0x5e3c18[_0x2a9746(0x1b5)])return;const _0x57022f=_0x443cf8['params'];if((_0x57022f==null?void 0x0:_0x57022f[_0x2a9746(0x207)])!==this[_0x2a9746(0x2df)])return;const _0x249fb9=_0x443cf8,_0x12a80e=this[_0x2a9746(0x38f)][_0x2a9746(0x2dc)][_0x2a9746(0x388)](this[_0x2a9746(0x38f)]['interceptor'][_0x2a9746(0x281)]()[_0x2a9746(0x1d6)])([_0x249fb9],null)||[_0x249fb9];this[_0x2a9746(0x334)](_0x12a80e[0x0]);})),_0x32dd2e;}},exports[_0x199ec4(0x1e1)]=Fe([j(0x3,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),j(0x4,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x3b4)])),j(0x5,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x204)])),j(0x6,a[_0x199ec4(0x2b7)](I['RevisionService'])),j(0x7,a['Inject'](exports[_0x199ec4(0x3f0)])),j(0x8,a[_0x199ec4(0x2b7)](ee)),j(0x9,a['ILogService']),j(0xa,a[_0x199ec4(0x296)]),j(0xb,a[_0x199ec4(0x1d0)]),j(0xc,a[_0x199ec4(0x341)](de)),j(0xd,a[_0x199ec4(0x341)](q))],exports[_0x199ec4(0x1e1)]);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x1ec4ce,_0x56b717,_0x3301a4,_0x5eaac3)=>{var _0x4cf7ee=_0x199ec4;for(var _0x28d624=_0x5eaac3>0x1?void 0x0:_0x5eaac3?Si(_0x56b717,_0x3301a4):_0x56b717,_0x210b0=_0x1ec4ce[_0x4cf7ee(0x418)]-0x1,_0x101524;_0x210b0>=0x0;_0x210b0--)(_0x101524=_0x1ec4ce[_0x210b0])&&(_0x28d624=_0x101524(_0x28d624)||_0x28d624);return _0x28d624;},Se=(_0x4271b7,_0x2fd1d9)=>(_0x40258c,_0x3cc9db)=>_0x2fd1d9(_0x40258c,_0x3cc9db,_0x4271b7);exports[_0x199ec4(0x4d0)]=class extends a[_0x199ec4(0x4c2)]{constructor(_0x25a488,_0x1e61e0,_0x85a5f7,_0x31e3cd){var _0x5dae52=_0x199ec4,_0x2c076d;super(),A(this,_0x5dae52(0x2a5),new Map()),A(this,'_entityInit$',new $[(_0x5dae52(0x215))]()),A(this,_0x5dae52(0x343),this['_entityInit$'][_0x5dae52(0x206)]()),(this['_injector']=_0x25a488,this['_collabSessionService']=_0x1e61e0,this[_0x5dae52(0x44e)]=_0x85a5f7,this['_univerInstanceService']=_0x31e3cd,((_0x2c076d=this[_0x5dae52(0x44e)][_0x5dae52(0x2d8)](K))==null?void 0x0:_0x2c076d[_0x5dae52(0x3d6)])!==!0x1&&this['_init']());}['dispose'](){var _0x2cc164=_0x199ec4;super[_0x2cc164(0x2ff)](),this[_0x2cc164(0x2a5)][_0x2cc164(0x4db)](_0x36403c=>_0x36403c[_0x2cc164(0x2ff)]()),this[_0x2cc164(0x2a5)][_0x2cc164(0x181)]();}['getCollabEntity'](_0x4c93db){var _0x203ea7=_0x199ec4,_0xf25f4d;return(_0xf25f4d=this[_0x203ea7(0x2a5)]['get'](_0x4c93db))!=null?_0xf25f4d:null;}['getCollabEntity$'](_0x1c3c7c){var _0x580607=_0x199ec4;const _0x530d64=this[_0x580607(0x1e3)](_0x1c3c7c);return _0x530d64?$['of'](_0x530d64):this[_0x580607(0x2d5)][_0x580607(0x4ae)](V['filter'](_0x26d80c=>_0x26d80c[_0x580607(0x2df)]===_0x1c3c7c));}[_0x199ec4(0x354)](_0x17494a){var _0x50b551=_0x199ec4;return $[_0x50b551(0x2e9)](this[_0x50b551(0x3b5)](_0x17494a)[_0x50b551(0x4ae)](V['map'](()=>{})));}[_0x199ec4(0x37a)](){var _0x377473=_0x199ec4;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x377473(0x223)][_0x377473(0x31a)])[_0x377473(0x4ae)]($['takeUntil'](this[_0x377473(0x194)]),V[_0x377473(0x461)](0x10))[_0x377473(0x483)](async _0x4518c7=>{var _0x26dd0c=_0x377473;const _0x1692bb=_0x4518c7[_0x26dd0c(0x424)](),_0x55a683=await this[_0x26dd0c(0x3c2)](_0x1692bb,J[_0x26dd0c(0x31a)]);this[_0x26dd0c(0x2a5)][_0x26dd0c(0x3ac)](_0x1692bb,_0x55a683);}),this[_0x377473(0x385)][_0x377473(0x2a7)](a[_0x377473(0x223)][_0x377473(0x3fc)])[_0x377473(0x4ae)]($[_0x377473(0x38a)](this[_0x377473(0x194)]),V[_0x377473(0x461)](0x10))['pipe'](V['filter'](_0x29bb24=>!_0x29bb24[_0x377473(0x424)]()[_0x377473(0x46b)]('__')))[_0x377473(0x483)](async _0x1d55ef=>{var _0x8db479=_0x377473;const _0x38db58=_0x1d55ef[_0x8db479(0x424)](),_0x59b36d=await this[_0x8db479(0x3c2)](_0x38db58,J[_0x8db479(0x3fc)]);this['_entities'][_0x8db479(0x3ac)](_0x38db58,_0x59b36d);}),$['merge'](this[_0x377473(0x385)][_0x377473(0x21d)](a[_0x377473(0x223)][_0x377473(0x31a)]),this[_0x377473(0x385)][_0x377473(0x21d)](a['UniverInstanceType']['UNIVER_DOC']))[_0x377473(0x4ae)]($[_0x377473(0x38a)](this['dispose$']))['subscribe'](_0x37388f=>{var _0x3e724e=_0x377473;const _0x4893c7=_0x37388f[_0x3e724e(0x424)](),_0x52036b=this[_0x3e724e(0x2a5)][_0x3e724e(0x25b)](_0x4893c7);_0x52036b&&(_0x52036b[_0x3e724e(0x2ff)](),this[_0x3e724e(0x2a5)][_0x3e724e(0x239)](_0x4893c7));});}async[_0x199ec4(0x3c2)](_0x5dfd75,_0x3ffa82){var _0x22f465=_0x199ec4;const _0x4262c2=await this[_0x22f465(0x4d7)][_0x22f465(0x3f6)](_0x5dfd75),_0x3a5d31=this[_0x22f465(0x2ed)][_0x22f465(0x3a7)](this[_0x22f465(0x489)](_0x3ffa82),_0x5dfd75,_0x3ffa82,_0x4262c2);return await _0x3a5d31[_0x22f465(0x3a6)](),this[_0x22f465(0x2d5)][_0x22f465(0x1b3)](_0x3a5d31),_0x3a5d31;}[_0x199ec4(0x489)](_0x402160){var _0x22ec7e=_0x199ec4;switch(_0x402160){case J[_0x22ec7e(0x3fc)]:return exports['DocCollaborationEntity'];case J['UNIVER_SHEET']:return exports[_0x22ec7e(0x1e1)];default:throw new Error(_0x22ec7e(0x4b1)+_0x402160);}}},exports[_0x199ec4(0x4d0)]=fi([Se(0x0,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),Se(0x1,a['Inject'](exports[_0x199ec4(0x2f5)])),Se(0x2,a[_0x199ec4(0x3e7)]),Se(0x3,a[_0x199ec4(0x1ec)])],exports['CollaborationController']);var pi=Object[_0x199ec4(0x244)],Ii=(_0xdb421c,_0x7cd51c,_0x1dbfb1,_0x21c1ce)=>{var _0x1053cb=_0x199ec4;for(var _0x1d6681=_0x21c1ce>0x1?void 0x0:_0x21c1ce?pi(_0x7cd51c,_0x1dbfb1):_0x7cd51c,_0x59f4d1=_0xdb421c[_0x1053cb(0x418)]-0x1,_0x127067;_0x59f4d1>=0x0;_0x59f4d1--)(_0x127067=_0xdb421c[_0x59f4d1])&&(_0x1d6681=_0x127067(_0x1d6681)||_0x1d6681);return _0x1d6681;},Ye=(_0x54aac9,_0x237cab)=>(_0x519adf,_0x366e31)=>_0x237cab(_0x519adf,_0x366e31,_0x54aac9);const gi=_0x199ec4(0x1ea),Ei=_0x199ec4(0x3a5);let xe=class extends a['Disposable']{constructor(_0xadb789,_0x477526){var _0x5db1a4=_0x199ec4;super(),this['_univerInstanceService']=_0xadb789,this[_0x5db1a4(0x44e)]=_0x477526,this['_init']();}[_0x199ec4(0x37a)](){var _0x3ac333=_0x199ec4;this[_0x3ac333(0x3dd)](this['_univerInstanceService'][_0x3ac333(0x20c)][_0x3ac333(0x483)](()=>{var _0x12003d=_0x3ac333,_0x590e8a;const _0x2a0c06=this[_0x12003d(0x385)][_0x12003d(0x3d9)]();let _0x45fd1d=(_0x590e8a=this[_0x12003d(0x44e)][_0x12003d(0x2d8)](gi))!=null?_0x590e8a:Ei;_0x2a0c06 instanceof a[_0x12003d(0x497)]&&(_0x45fd1d=_0x2a0c06['name']),document[_0x12003d(0x1fa)]=_0x45fd1d;}));}};xe=Ii([Ye(0x0,a[_0x199ec4(0x1ec)]),Ye(0x1,a['IConfigService'])],xe);var mi=Object[_0x199ec4(0x244)],Ci=(_0xe810bb,_0x4628f6,_0x47267e,_0x2a064d)=>{for(var _0x26b310=_0x2a064d>0x1?void 0x0:_0x2a064d?mi(_0x4628f6,_0x47267e):_0x4628f6,_0x2382ac=_0xe810bb['length']-0x1,_0x562cce;_0x2382ac>=0x0;_0x2382ac--)(_0x562cce=_0xe810bb[_0x2382ac])&&(_0x26b310=_0x562cce(_0x26b310)||_0x26b310);return _0x26b310;},Ae=(_0xf10f77,_0x2c48e1)=>(_0x332d86,_0x49a971)=>_0x2c48e1(_0x332d86,_0x49a971,_0xf10f77);let ye=class{constructor(_0x11be38,_0x3313cf,_0xe9287){var _0x18240f=_0x199ec4;this[_0x18240f(0x44e)]=_0x11be38,this[_0x18240f(0x44a)]=_0x3313cf,this[_0x18240f(0x1a7)]=_0xe9287,this[_0x18240f(0x3a6)]();}[_0x199ec4(0x3a6)](){var _0x9fe05=_0x199ec4;this[_0x9fe05(0x44a)][_0x9fe05(0x449)]({'priority':0x1,'interceptor':(_0x5a3e11,_0x2c8d03)=>_0x2c8d03(_0x5a3e11)[_0x9fe05(0x4ae)]($[_0x9fe05(0x406)](async _0x28227a=>{var _0x4b0e1a=_0x9fe05;const _0x1a12d9=_0x28227a;if(_0x1a12d9[_0x4b0e1a(0x386)]===0x191){if(typeof window>'u')throw new Error(_0x4b0e1a(0x26a));if(window[_0x4b0e1a(0x193)](this[_0x4b0e1a(0x1a7)]['t'](_0x4b0e1a(0x364)))){const _0x5bd61e=window[_0x4b0e1a(0x4f0)](window[_0x4b0e1a(0x420)][_0x4b0e1a(0x45c)]);window['location'][_0x4b0e1a(0x45c)]=this[_0x4b0e1a(0x39d)]()+_0x4b0e1a(0x2e6)+_0x5bd61e;}}return _0x1a12d9;}))});}['_getLoginPath'](){var _0xc9014b=_0x199ec4,_0x6fc691,_0xe3b27a;const _0x1a867a=this[_0xc9014b(0x44e)][_0xc9014b(0x2d8)](It),_0x51ed12=this[_0xc9014b(0x44e)][_0xc9014b(0x2d8)](K);return(_0xe3b27a=(_0x6fc691=_0x51ed12==null?void 0x0:_0x51ed12[_0xc9014b(0x30b)])!=null?_0x6fc691:_0x1a867a)!=null?_0xe3b27a:Wt;}};ye=Ci([Ae(0x0,a[_0x199ec4(0x3e7)]),Ae(0x1,a[_0x199ec4(0x2b7)](Y[_0x199ec4(0x375)])),Ae(0x2,a[_0x199ec4(0x2b7)](a['LocaleService']))],ye);var Ti=Object[_0x199ec4(0x244)],bi=(_0x1a9bcd,_0x266551,_0x50e142,_0x16bce6)=>{for(var _0x52d332=_0x16bce6>0x1?void 0x0:_0x16bce6?Ti(_0x266551,_0x50e142):_0x266551,_0x1d2652=_0x1a9bcd['length']-0x1,_0x3468e2;_0x1d2652>=0x0;_0x1d2652--)(_0x3468e2=_0x1a9bcd[_0x1d2652])&&(_0x52d332=_0x3468e2(_0x52d332)||_0x52d332);return _0x52d332;},qe=(_0x2c8fe8,_0x35be7e)=>(_0x484e18,_0x13a12d)=>_0x35be7e(_0x484e18,_0x13a12d,_0x2c8fe8);const Ve=_0x199ec4(0x457),Ri=_0x199ec4(0x321);exports[_0x199ec4(0x26f)]=class extends a[_0x199ec4(0x455)]{constructor(_0x24ecb9,_0x1e3c66){var _0x5a9971=_0x199ec4;super(),this['_HTTPService']=_0x24ecb9,this[_0x5a9971(0x44e)]=_0x1e3c66,this[_0x5a9971(0x382)]();}['_initMergeInterceptor'](){var _0x191199=_0x199ec4;const _0x1948b9=this;this[_0x191199(0x3dd)](this[_0x191199(0x25f)][_0x191199(0x449)]({'priority':0x3e7,'interceptor':Y['MergeInterceptorFactory']({'isMatch'(_0x41df6f){var _0x351045=_0x191199,_0x35566a;if(_0x41df6f[_0x351045(0x33f)]===_0x351045(0x17b)&&((_0x35566a=_0x41df6f[_0x351045(0x42a)])!=null&&_0x35566a['body'])){const {objectID:_0x18dff1,objectType:_0x464d28}=_0x41df6f[_0x351045(0x42a)][_0x351045(0x174)]||{};if(!_0x18dff1||_0x464d28===void 0x0)return!0x1;const _0xb1761e=_0x1948b9[_0x351045(0x3e3)]()+'/'+_0x464d28+_0x351045(0x472)+_0x18dff1+_0x351045(0x18e);if(_0x41df6f[_0x351045(0x41f)]===_0xb1761e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x143467){var _0x16e4e1=_0x191199,_0x57b2d2;return(_0x57b2d2=_0x143467[_0x16e4e1(0x42a)])==null?void 0x0:_0x57b2d2[_0x16e4e1(0x174)];},'mergeParamsToRequest'(_0x4606a2,_0x4a0f3e){var _0xffc824=_0x191199;const _0x284a29=_0x1948b9['_getAPIPrefixPath']()+_0xffc824(0x411),_0x4ed5d7=_0x4606a2[_0xffc824(0x377)]((_0x1c3eb1,_0xc53369)=>{var _0x2c0a58=_0xffc824;const {unitID:_0x5c74e1,objectID:_0x4837c6,objectType:_0x1d1760,actions:_0x21d57f}=_0xc53369;return _0x1c3eb1[_0x5c74e1]||(_0x1c3eb1[_0x5c74e1]={}),_0x1c3eb1[_0x5c74e1][_0x4837c6]||(_0x1c3eb1[_0x5c74e1][_0x4837c6]={'objectID':_0x4837c6,'objectType':_0x1d1760,'actions':[]}),_0x1c3eb1[_0x5c74e1][_0x4837c6][_0x2c0a58(0x349)][_0x2c0a58(0x4cf)](..._0x21d57f),_0x1c3eb1;},{}),_0xa64bd9=[];for(const _0x4811a4 in _0x4ed5d7)for(const _0x3799b0 in _0x4ed5d7[_0x4811a4]){const {actions:_0x5c3cbf,objectType:_0x597226}=_0x4ed5d7[_0x4811a4][_0x3799b0],_0x3be1f0=[...new Set(_0x5c3cbf)];_0xa64bd9[_0xffc824(0x4cf)]({'unitID':_0x4811a4,'objectID':_0x3799b0,'objectType':_0x597226,'actions':_0x3be1f0});}return new Y[(_0xffc824(0x23a))](_0xffc824(0x17b),_0x284a29,{'headers':_0x4a0f3e[_0xffc824(0x29d)],'withCredentials':_0x4a0f3e[_0xffc824(0x3cd)],'responseType':_0x4a0f3e[_0xffc824(0x241)],'body':{'requests':_0xa64bd9}});}},{'distributeResult'(_0x50679c,_0x26f690){var _0x4b2b4a=_0x191199;const {objectActions:_0xfca642}=_0x50679c;return _0x26f690[_0x4b2b4a(0x369)](_0xedcc77=>{var _0x3ba030=_0x4b2b4a;const {unitID:_0x2b3504,objectID:_0x178974,actions:_0x38d0a4}=_0xedcc77,_0x42abc8=_0xfca642['find'](_0x3a975b=>_0x3a975b[_0x3ba030(0x2df)]===_0x2b3504&&_0x3a975b[_0x3ba030(0x18d)]===_0x178974),_0x31d619=_0x38d0a4[_0x3ba030(0x369)](_0x384e07=>_0x42abc8==null?void 0x0:_0x42abc8['actions'][_0x3ba030(0x2ae)](_0x32a4f6=>_0x32a4f6[_0x3ba030(0x4df)]===_0x384e07))[_0x3ba030(0x389)](_0x2e8c11=>!!_0x2e8c11);return{'config':_0xedcc77,'result':{'actions':_0x31d619,'error':_0x50679c[_0x3ba030(0x4af)]}};});}})}));}[_0x199ec4(0x3e3)](){var _0x4dd323=_0x199ec4,_0x524c2d,_0x4bd638;const _0x5c9d45=this['_configService'][_0x4dd323(0x2d8)](Ve),_0x5969a5=this[_0x4dd323(0x44e)][_0x4dd323(0x2d8)](K);return(_0x4bd638=(_0x524c2d=_0x5969a5==null?void 0x0:_0x5969a5[_0x4dd323(0x3a0)])!=null?_0x524c2d:_0x5c9d45)!=null?_0x4bd638:Ri;}async[_0x199ec4(0x4dc)](_0x45628c){var _0x4f2193=_0x199ec4;const _0x2b3f40=this[_0x4f2193(0x3e3)]()+'/'+_0x45628c['objectType']+_0x4f2193(0x436);return(await this['_HTTPService'][_0x4f2193(0x30e)](_0x2b3f40,{'body':_0x45628c}))[_0x4f2193(0x174)][_0x4f2193(0x18d)]||'';}async[_0x199ec4(0x3ca)](_0x3c9ba0){var _0x2af82e=_0x199ec4;const _0x18cca2=this[_0x2af82e(0x3e3)]()+_0x2af82e(0x17c);return(await this[_0x2af82e(0x25f)][_0x2af82e(0x30e)](_0x18cca2,{'body':_0x3c9ba0}))[_0x2af82e(0x174)]['objects'];}async[_0x199ec4(0x299)](_0x38194f){var _0x114349=_0x199ec4,_0x2ab97d,_0x3a296b;const _0x28ca05=this[_0x114349(0x3e3)]()+'/'+_0x38194f[_0x114349(0x3e0)]+_0x114349(0x472)+_0x38194f['objectID'],_0x5d387c=await this[_0x114349(0x25f)][_0x114349(0x2f9)](_0x28ca05,{'body':_0x38194f});if(((_0x3a296b=(_0x2ab97d=_0x5d387c==null?void 0x0:_0x5d387c[_0x114349(0x174)])==null?void 0x0:_0x2ab97d[_0x114349(0x4af)])==null?void 0x0:_0x3a296b[_0x114349(0x3e4)])!==0x1)throw new Error(_0x114349(0x224));}async[_0x199ec4(0x466)](_0x293723){var _0x4e7bb5=_0x199ec4;const _0x25327e=this[_0x4e7bb5(0x3e3)]()+'/'+_0x293723[_0x4e7bb5(0x3e0)]+_0x4e7bb5(0x472)+_0x293723[_0x4e7bb5(0x18d)]+_0x4e7bb5(0x18e);return(await this[_0x4e7bb5(0x25f)][_0x4e7bb5(0x30e)](_0x25327e,{'body':_0x293723}))[_0x4e7bb5(0x174)][_0x4e7bb5(0x349)];}async['batchAllowed'](_0x4c0469){var _0x2e88e3=_0x199ec4;const _0xeb8cab=this[_0x2e88e3(0x3e3)]()+_0x2e88e3(0x411);return(await this[_0x2e88e3(0x25f)][_0x2e88e3(0x30e)](_0xeb8cab,{'body':{'requests':_0x4c0469}}))[_0x2e88e3(0x174)][_0x2e88e3(0x379)];}async[_0x199ec4(0x4d3)](_0x405811){var _0x34d030=_0x199ec4;const _0x5c83f4=this[_0x34d030(0x3e3)]()+'/'+_0x405811[_0x34d030(0x3e0)]+'/role',_0x11dfe9=await this[_0x34d030(0x25f)][_0x34d030(0x30e)](_0x5c83f4,{'body':_0x405811});return{'roles':_0x11dfe9[_0x34d030(0x174)][_0x34d030(0x442)],'actions':_0x11dfe9[_0x34d030(0x174)][_0x34d030(0x349)]};}async[_0x199ec4(0x2d9)](_0x10925f){var _0x366895=_0x199ec4;const _0x3b81c1=this[_0x366895(0x3e3)]()+_0x366895(0x287);await this['_HTTPService'][_0x366895(0x239)](_0x3b81c1,{'params':{'collaboratorID':_0x10925f['collaboratorID'],'objectID':_0x10925f[_0x366895(0x18d)],'unitID':_0x10925f[_0x366895(0x2df)]}});}async[_0x199ec4(0x1ed)](_0xb7c992){var _0x2e8521=_0x199ec4;const _0x45ad0e=this[_0x2e8521(0x3e3)]()+'/collaborator';await this[_0x2e8521(0x25f)]['patch'](_0x45ad0e,{'body':_0xb7c992});}async['createCollaborator'](_0xa1608){var _0x4cc18e=_0x199ec4;const _0x3c747c=this[_0x4cc18e(0x3e3)]()+_0x4cc18e(0x287);await this['_HTTPService'][_0x4cc18e(0x30e)](_0x3c747c,{'body':_0xa1608});}async[_0x199ec4(0x2c8)](_0x3f8a45){var _0x5b0c16=_0x199ec4;const _0x1d97b0=this['_getAPIPrefixPath']()+_0x5b0c16(0x287);return(await this['_HTTPService']['get'](_0x1d97b0,{'params':{'objectID':_0x3f8a45[_0x5b0c16(0x18d)],'unitID':_0x3f8a45[_0x5b0c16(0x2df)]}}))[_0x5b0c16(0x174)][_0x5b0c16(0x2a9)];}async[_0x199ec4(0x452)](_0x2edc49){var _0x4530de=_0x199ec4;const _0x2a0c6a=this[_0x4530de(0x3e3)]()+_0x4530de(0x287);await this[_0x4530de(0x25f)][_0x4530de(0x2f9)](_0x2a0c6a,{'body':_0x2edc49});}},exports[_0x199ec4(0x26f)]=bi([qe(0x0,a[_0x199ec4(0x2b7)](Y[_0x199ec4(0x375)])),qe(0x1,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x3e7)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x13e64f){var _0x3cf80d=_0x199ec4;return _0x13e64f&&_0x13e64f[_0x3cf80d(0x319)]&&Object[_0x3cf80d(0x3b3)][_0x3cf80d(0x4a5)][_0x3cf80d(0x1cb)](_0x13e64f,_0x3cf80d(0x366))?_0x13e64f[_0x3cf80d(0x366)]:_0x13e64f;}var fe={'exports':{}};function Oi(_0x1a8841){var _0x5c731d=_0x199ec4;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1a8841+_0x5c731d(0x2b9));}var pe={'exports':{}},yi=pe[_0x199ec4(0x4ce)],ze;function Q(){var _0x17db13=_0x199ec4;return ze||(ze=0x1,function(_0x5cefa4,_0x6acd39){(function(_0x226bff,_0x314d4c){var _0x231cd9=_0x3c30;_0x5cefa4[_0x231cd9(0x4ce)]=_0x314d4c();}(yi,function(){var _0x376239=_0x376239||function(_0x3f5f5e,_0x2196dd){var _0x197e26=_0x3c30,_0x5c5152;if(typeof window<'u'&&window['crypto']&&(_0x5c5152=window[_0x197e26(0x262)]),typeof self<'u'&&self[_0x197e26(0x262)]&&(_0x5c5152=self['crypto']),typeof globalThis<'u'&&globalThis[_0x197e26(0x262)]&&(_0x5c5152=globalThis[_0x197e26(0x262)]),!_0x5c5152&&typeof window<'u'&&window[_0x197e26(0x34d)]&&(_0x5c5152=window['msCrypto']),!_0x5c5152&&typeof Pe<'u'&&Pe[_0x197e26(0x262)]&&(_0x5c5152=Pe[_0x197e26(0x262)]),!_0x5c5152&&typeof Oi==_0x197e26(0x291))try{_0x5c5152=require('crypto');}catch{}var _0x1d3893=function(){var _0x5e7462=_0x197e26;if(_0x5c5152){if(typeof _0x5c5152['getRandomValues']=='function')try{return _0x5c5152['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5c5152[_0x5e7462(0x3f2)]==_0x5e7462(0x291))try{return _0x5c5152[_0x5e7462(0x3f2)](0x4)[_0x5e7462(0x21f)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xeb067b=Object[_0x197e26(0x4dc)]||(function(){function _0x5d27bf(){}return function(_0x32aa22){var _0x1a38e4=_0x3c30,_0x18b580;return _0x5d27bf[_0x1a38e4(0x3b3)]=_0x32aa22,_0x18b580=new _0x5d27bf(),_0x5d27bf['prototype']=null,_0x18b580;};}()),_0x2a6e60={},_0x412e9a=_0x2a6e60[_0x197e26(0x3d4)]={},_0x436205=_0x412e9a[_0x197e26(0x1b0)]=(function(){return{'extend':function(_0x22cf09){var _0x176373=_0x3c30,_0x35c92d=_0xeb067b(this);return _0x22cf09&&_0x35c92d['mixIn'](_0x22cf09),(!_0x35c92d[_0x176373(0x4a5)]('init')||this['init']===_0x35c92d[_0x176373(0x3a6)])&&(_0x35c92d[_0x176373(0x3a6)]=function(){var _0x5bd9a1=_0x176373;_0x35c92d[_0x5bd9a1(0x266)][_0x5bd9a1(0x3a6)][_0x5bd9a1(0x32d)](this,arguments);}),_0x35c92d[_0x176373(0x3a6)][_0x176373(0x3b3)]=_0x35c92d,_0x35c92d[_0x176373(0x266)]=this,_0x35c92d;},'create':function(){var _0x55379f=_0x3c30,_0x530bbe=this[_0x55379f(0x2fc)]();return _0x530bbe[_0x55379f(0x3a6)][_0x55379f(0x32d)](_0x530bbe,arguments),_0x530bbe;},'init':function(){},'mixIn':function(_0x555388){var _0xb4859=_0x3c30;for(var _0xd8a42a in _0x555388)_0x555388[_0xb4859(0x4a5)](_0xd8a42a)&&(this[_0xd8a42a]=_0x555388[_0xd8a42a]);_0x555388[_0xb4859(0x4a5)](_0xb4859(0x471))&&(this['toString']=_0x555388[_0xb4859(0x471)]);},'clone':function(){var _0x51f22a=_0x3c30;return this[_0x51f22a(0x3a6)][_0x51f22a(0x3b3)]['extend'](this);}};}()),_0x1e0417=_0x412e9a[_0x197e26(0x31e)]=_0x436205[_0x197e26(0x2fc)]({'init':function(_0x51a095,_0x4bb8ae){var _0x5404d5=_0x197e26;_0x51a095=this[_0x5404d5(0x1b8)]=_0x51a095||[],_0x4bb8ae!=_0x2196dd?this[_0x5404d5(0x432)]=_0x4bb8ae:this[_0x5404d5(0x432)]=_0x51a095['length']*0x4;},'toString':function(_0x5b5f35){var _0x254616=_0x197e26;return(_0x5b5f35||_0x43ef30)[_0x254616(0x3b7)](this);},'concat':function(_0x5d382a){var _0x553fd3=_0x197e26,_0x2c6d5f=this['words'],_0x5946bd=_0x5d382a[_0x553fd3(0x1b8)],_0x1e4cf8=this['sigBytes'],_0x4d6344=_0x5d382a[_0x553fd3(0x432)];if(this[_0x553fd3(0x48b)](),_0x1e4cf8%0x4)for(var _0x1c72d0=0x0;_0x1c72d0<_0x4d6344;_0x1c72d0++){var _0x47a02f=_0x5946bd[_0x1c72d0>>>0x2]>>>0x18-_0x1c72d0%0x4*0x8&0xff;_0x2c6d5f[_0x1e4cf8+_0x1c72d0>>>0x2]|=_0x47a02f<<0x18-(_0x1e4cf8+_0x1c72d0)%0x4*0x8;}else{for(var _0x27745f=0x0;_0x27745f<_0x4d6344;_0x27745f+=0x4)_0x2c6d5f[_0x1e4cf8+_0x27745f>>>0x2]=_0x5946bd[_0x27745f>>>0x2];}return this[_0x553fd3(0x432)]+=_0x4d6344,this;},'clamp':function(){var _0x2281d9=_0x197e26,_0x339168=this[_0x2281d9(0x1b8)],_0x4440bd=this[_0x2281d9(0x432)];_0x339168[_0x4440bd>>>0x2]&=0xffffffff<<0x20-_0x4440bd%0x4*0x8,_0x339168[_0x2281d9(0x418)]=_0x3f5f5e[_0x2281d9(0x30d)](_0x4440bd/0x4);},'clone':function(){var _0x4429a0=_0x197e26,_0x5d761e=_0x436205['clone'][_0x4429a0(0x1cb)](this);return _0x5d761e['words']=this[_0x4429a0(0x1b8)][_0x4429a0(0x4bc)](0x0),_0x5d761e;},'random':function(_0x2d77a4){var _0x3db35d=_0x197e26;for(var _0x1acbbf=[],_0x462021=0x0;_0x462021<_0x2d77a4;_0x462021+=0x4)_0x1acbbf[_0x3db35d(0x4cf)](_0x1d3893());return new _0x1e0417[(_0x3db35d(0x3a6))](_0x1acbbf,_0x2d77a4);}}),_0x4b6888=_0x2a6e60[_0x197e26(0x210)]={},_0x43ef30=_0x4b6888[_0x197e26(0x17f)]={'stringify':function(_0x3929c7){var _0x4516bd=_0x197e26;for(var _0xca3414=_0x3929c7[_0x4516bd(0x1b8)],_0x1d67a5=_0x3929c7[_0x4516bd(0x432)],_0x52b97b=[],_0x50db7a=0x0;_0x50db7a<_0x1d67a5;_0x50db7a++){var _0x2677d9=_0xca3414[_0x50db7a>>>0x2]>>>0x18-_0x50db7a%0x4*0x8&0xff;_0x52b97b[_0x4516bd(0x4cf)]((_0x2677d9>>>0x4)[_0x4516bd(0x471)](0x10)),_0x52b97b['push']((_0x2677d9&0xf)['toString'](0x10));}return _0x52b97b[_0x4516bd(0x451)]('');},'parse':function(_0x3e794b){var _0x4cf69d=_0x197e26;for(var _0x6d008a=_0x3e794b[_0x4cf69d(0x418)],_0x56d396=[],_0x2f76c6=0x0;_0x2f76c6<_0x6d008a;_0x2f76c6+=0x2)_0x56d396[_0x2f76c6>>>0x3]|=parseInt(_0x3e794b[_0x4cf69d(0x479)](_0x2f76c6,0x2),0x10)<<0x18-_0x2f76c6%0x8*0x4;return new _0x1e0417[(_0x4cf69d(0x3a6))](_0x56d396,_0x6d008a/0x2);}},_0x9e0956=_0x4b6888[_0x197e26(0x443)]={'stringify':function(_0x71ee37){var _0x25aeaf=_0x197e26;for(var _0x339b34=_0x71ee37[_0x25aeaf(0x1b8)],_0x380ee2=_0x71ee37[_0x25aeaf(0x432)],_0x581576=[],_0x2c4c33=0x0;_0x2c4c33<_0x380ee2;_0x2c4c33++){var _0xea6195=_0x339b34[_0x2c4c33>>>0x2]>>>0x18-_0x2c4c33%0x4*0x8&0xff;_0x581576[_0x25aeaf(0x4cf)](String[_0x25aeaf(0x20a)](_0xea6195));}return _0x581576[_0x25aeaf(0x451)]('');},'parse':function(_0x25629d){var _0x5e9757=_0x197e26;for(var _0x4dd75d=_0x25629d[_0x5e9757(0x418)],_0x1a84ae=[],_0x532bc7=0x0;_0x532bc7<_0x4dd75d;_0x532bc7++)_0x1a84ae[_0x532bc7>>>0x2]|=(_0x25629d[_0x5e9757(0x4bb)](_0x532bc7)&0xff)<<0x18-_0x532bc7%0x4*0x8;return new _0x1e0417[(_0x5e9757(0x3a6))](_0x1a84ae,_0x4dd75d);}},_0x22ccaa=_0x4b6888[_0x197e26(0x381)]={'stringify':function(_0x5aa7f2){var _0x2b2cad=_0x197e26;try{return decodeURIComponent(escape(_0x9e0956[_0x2b2cad(0x3b7)](_0x5aa7f2)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4664a8){return _0x9e0956['parse'](unescape(encodeURIComponent(_0x4664a8)));}},_0x13e856=_0x412e9a[_0x197e26(0x250)]=_0x436205['extend']({'reset':function(){var _0x344db9=_0x197e26;this[_0x344db9(0x46d)]=new _0x1e0417[(_0x344db9(0x3a6))](),this[_0x344db9(0x330)]=0x0;},'_append':function(_0xca6871){var _0x1406a2=_0x197e26;typeof _0xca6871=='string'&&(_0xca6871=_0x22ccaa['parse'](_0xca6871)),this[_0x1406a2(0x46d)][_0x1406a2(0x18f)](_0xca6871),this[_0x1406a2(0x330)]+=_0xca6871[_0x1406a2(0x432)];},'_process':function(_0x44215c){var _0x2c8ea3=_0x197e26,_0x3e9b26,_0x3012cc=this['_data'],_0x48b63d=_0x3012cc[_0x2c8ea3(0x1b8)],_0x26d3fd=_0x3012cc['sigBytes'],_0x38c506=this[_0x2c8ea3(0x38c)],_0x52d672=_0x38c506*0x4,_0x20e007=_0x26d3fd/_0x52d672;_0x44215c?_0x20e007=_0x3f5f5e['ceil'](_0x20e007):_0x20e007=_0x3f5f5e[_0x2c8ea3(0x3aa)]((_0x20e007|0x0)-this[_0x2c8ea3(0x1f4)],0x0);var _0x26dc54=_0x20e007*_0x38c506,_0x4b1c4a=_0x3f5f5e[_0x2c8ea3(0x36f)](_0x26dc54*0x4,_0x26d3fd);if(_0x26dc54){for(var _0x381d1d=0x0;_0x381d1d<_0x26dc54;_0x381d1d+=_0x38c506)this[_0x2c8ea3(0x4aa)](_0x48b63d,_0x381d1d);_0x3e9b26=_0x48b63d[_0x2c8ea3(0x3fe)](0x0,_0x26dc54),_0x3012cc[_0x2c8ea3(0x432)]-=_0x4b1c4a;}return new _0x1e0417['init'](_0x3e9b26,_0x4b1c4a);},'clone':function(){var _0x31b752=_0x197e26,_0x3d7ee4=_0x436205[_0x31b752(0x3ee)][_0x31b752(0x1cb)](this);return _0x3d7ee4[_0x31b752(0x46d)]=this[_0x31b752(0x46d)][_0x31b752(0x3ee)](),_0x3d7ee4;},'_minBufferSize':0x0});_0x412e9a[_0x197e26(0x39e)]=_0x13e856[_0x197e26(0x2fc)]({'cfg':_0x436205[_0x197e26(0x2fc)](),'init':function(_0x33c48d){var _0x39b9d8=_0x197e26;this[_0x39b9d8(0x258)]=this[_0x39b9d8(0x258)][_0x39b9d8(0x2fc)](_0x33c48d),this[_0x39b9d8(0x3bf)]();},'reset':function(){var _0x1fd803=_0x197e26;_0x13e856[_0x1fd803(0x3bf)][_0x1fd803(0x1cb)](this),this[_0x1fd803(0x2d2)]();},'update':function(_0x3be1b6){var _0x18c1e4=_0x197e26;return this[_0x18c1e4(0x4e2)](_0x3be1b6),this[_0x18c1e4(0x37c)](),this;},'finalize':function(_0x1e470e){var _0x16766c=_0x197e26;_0x1e470e&&this['_append'](_0x1e470e);var _0xdd183a=this[_0x16766c(0x3b1)]();return _0xdd183a;},'blockSize':0x10,'_createHelper':function(_0x2e0c79){return function(_0xb4824b,_0x1ca707){var _0x5c4c5d=_0x3c30;return new _0x2e0c79['init'](_0x1ca707)[_0x5c4c5d(0x25e)](_0xb4824b);};},'_createHmacHelper':function(_0x1c93b2){return function(_0xffea6e,_0x33c4a2){var _0x261f32=_0x3c30;return new _0x1e223b['HMAC'][(_0x261f32(0x3a6))](_0x1c93b2,_0x33c4a2)[_0x261f32(0x25e)](_0xffea6e);};}});var _0x1e223b=_0x2a6e60[_0x197e26(0x285)]={};return _0x2a6e60;}(Math);return _0x376239;}));}(pe)),pe[_0x17db13(0x4ce)];}var Ie={'exports':{}},Ni=Ie[_0x199ec4(0x4ce)],Je;function yt(){var _0x2a2ff0=_0x199ec4;return Je||(Je=0x1,function(_0x180ed3,_0x4345c1){(function(_0x8b1cd3,_0x43b59f){var _0x174b7e=_0x3c30;_0x180ed3[_0x174b7e(0x4ce)]=_0x43b59f(Q());}(Ni,function(_0x54a661){var _0x37021e=_0x3c30;return(function(){var _0x42c334=_0x3c30,_0x27e514=_0x54a661,_0x12b577=_0x27e514[_0x42c334(0x3d4)],_0x384126=_0x12b577[_0x42c334(0x31e)],_0x1109a5=_0x27e514[_0x42c334(0x210)];_0x1109a5['Base64']={'stringify':function(_0x2904b1){var _0x4afbbb=_0x42c334,_0x7399d0=_0x2904b1[_0x4afbbb(0x1b8)],_0x18f9de=_0x2904b1[_0x4afbbb(0x432)],_0x48251b=this[_0x4afbbb(0x348)];_0x2904b1['clamp']();for(var _0x30b0ec=[],_0xc17741=0x0;_0xc17741<_0x18f9de;_0xc17741+=0x3)for(var _0x2983bf=_0x7399d0[_0xc17741>>>0x2]>>>0x18-_0xc17741%0x4*0x8&0xff,_0x113f85=_0x7399d0[_0xc17741+0x1>>>0x2]>>>0x18-(_0xc17741+0x1)%0x4*0x8&0xff,_0x2174c2=_0x7399d0[_0xc17741+0x2>>>0x2]>>>0x18-(_0xc17741+0x2)%0x4*0x8&0xff,_0x5563ae=_0x2983bf<<0x10|_0x113f85<<0x8|_0x2174c2,_0x58d811=0x0;_0x58d811<0x4&&_0xc17741+_0x58d811*0.75<_0x18f9de;_0x58d811++)_0x30b0ec[_0x4afbbb(0x4cf)](_0x48251b[_0x4afbbb(0x42c)](_0x5563ae>>>0x6*(0x3-_0x58d811)&0x3f));var _0x3da9a3=_0x48251b['charAt'](0x40);if(_0x3da9a3){for(;_0x30b0ec[_0x4afbbb(0x418)]%0x4;)_0x30b0ec[_0x4afbbb(0x4cf)](_0x3da9a3);}return _0x30b0ec[_0x4afbbb(0x451)]('');},'parse':function(_0x2da1d7){var _0x4006ed=_0x42c334,_0x42be0b=_0x2da1d7['length'],_0x10ba62=this[_0x4006ed(0x348)],_0x2887f9=this[_0x4006ed(0x345)];if(!_0x2887f9){_0x2887f9=this[_0x4006ed(0x345)]=[];for(var _0x5d3e4c=0x0;_0x5d3e4c<_0x10ba62[_0x4006ed(0x418)];_0x5d3e4c++)_0x2887f9[_0x10ba62[_0x4006ed(0x4bb)](_0x5d3e4c)]=_0x5d3e4c;}var _0x2e1344=_0x10ba62[_0x4006ed(0x42c)](0x40);if(_0x2e1344){var _0x2dcfc5=_0x2da1d7[_0x4006ed(0x4d4)](_0x2e1344);_0x2dcfc5!==-0x1&&(_0x42be0b=_0x2dcfc5);}return _0x181a6b(_0x2da1d7,_0x42be0b,_0x2887f9);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x181a6b(_0x5de2c0,_0x74e14d,_0x14395c){var _0x1842ba=_0x42c334;for(var _0x33ec20=[],_0x94a2cf=0x0,_0x2aee94=0x0;_0x2aee94<_0x74e14d;_0x2aee94++)if(_0x2aee94%0x4){var _0x5cc64f=_0x14395c[_0x5de2c0[_0x1842ba(0x4bb)](_0x2aee94-0x1)]<<_0x2aee94%0x4*0x2,_0x11eb18=_0x14395c[_0x5de2c0['charCodeAt'](_0x2aee94)]>>>0x6-_0x2aee94%0x4*0x2,_0x4eeba9=_0x5cc64f|_0x11eb18;_0x33ec20[_0x94a2cf>>>0x2]|=_0x4eeba9<<0x18-_0x94a2cf%0x4*0x8,_0x94a2cf++;}return _0x384126[_0x1842ba(0x4dc)](_0x33ec20,_0x94a2cf);}}()),_0x54a661[_0x37021e(0x210)][_0x37021e(0x499)];}));}(Ie)),Ie[_0x2a2ff0(0x4ce)];}var ge={'exports':{}},Ui=ge[_0x199ec4(0x4ce)],Xe;function Di(){var _0x1bb926=_0x199ec4;return Xe||(Xe=0x1,function(_0x4172e8,_0x2a093c){(function(_0x5145cf,_0x3abad9){var _0x3af0cd=_0x3c30;_0x4172e8[_0x3af0cd(0x4ce)]=_0x3abad9(Q());}(Ui,function(_0x1027a3){return function(_0x866324){var _0x1a8143=_0x3c30,_0x47c21d=_0x1027a3,_0x21e4c8=_0x47c21d['lib'],_0x599948=_0x21e4c8['WordArray'],_0x570475=_0x21e4c8[_0x1a8143(0x39e)],_0x3b8a80=_0x47c21d[_0x1a8143(0x285)],_0x5ebfc3=[];(function(){var _0x36bab0=_0x1a8143;for(var _0x31eba9=0x0;_0x31eba9<0x40;_0x31eba9++)_0x5ebfc3[_0x31eba9]=_0x866324[_0x36bab0(0x4b4)](_0x866324[_0x36bab0(0x1b7)](_0x31eba9+0x1))*0x100000000|0x0;}());var _0x9fc69f=_0x3b8a80[_0x1a8143(0x311)]=_0x570475[_0x1a8143(0x2fc)]({'_doReset':function(){var _0x57afa4=_0x1a8143;this[_0x57afa4(0x491)]=new _0x599948[(_0x57afa4(0x3a6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2a151e,_0x75dbec){var _0x17a90b=_0x1a8143;for(var _0x2c310d=0x0;_0x2c310d<0x10;_0x2c310d++){var _0x29406b=_0x75dbec+_0x2c310d,_0x1f19a6=_0x2a151e[_0x29406b];_0x2a151e[_0x29406b]=(_0x1f19a6<<0x8|_0x1f19a6>>>0x18)&0xff00ff|(_0x1f19a6<<0x18|_0x1f19a6>>>0x8)&0xff00ff00;}var _0x1690e6=this[_0x17a90b(0x491)][_0x17a90b(0x1b8)],_0x1b368c=_0x2a151e[_0x75dbec+0x0],_0x350d9b=_0x2a151e[_0x75dbec+0x1],_0x1970a2=_0x2a151e[_0x75dbec+0x2],_0x515b78=_0x2a151e[_0x75dbec+0x3],_0x53d387=_0x2a151e[_0x75dbec+0x4],_0x2022a1=_0x2a151e[_0x75dbec+0x5],_0x173cc5=_0x2a151e[_0x75dbec+0x6],_0x517e75=_0x2a151e[_0x75dbec+0x7],_0x2417be=_0x2a151e[_0x75dbec+0x8],_0x3e150e=_0x2a151e[_0x75dbec+0x9],_0x514f77=_0x2a151e[_0x75dbec+0xa],_0x235458=_0x2a151e[_0x75dbec+0xb],_0x44901b=_0x2a151e[_0x75dbec+0xc],_0x20dab4=_0x2a151e[_0x75dbec+0xd],_0x191699=_0x2a151e[_0x75dbec+0xe],_0x309397=_0x2a151e[_0x75dbec+0xf],_0x35eb22=_0x1690e6[0x0],_0x56bbfa=_0x1690e6[0x1],_0x1566c2=_0x1690e6[0x2],_0x466c50=_0x1690e6[0x3];_0x35eb22=_0x313fda(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x1b368c,0x7,_0x5ebfc3[0x0]),_0x466c50=_0x313fda(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x350d9b,0xc,_0x5ebfc3[0x1]),_0x1566c2=_0x313fda(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x1970a2,0x11,_0x5ebfc3[0x2]),_0x56bbfa=_0x313fda(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x515b78,0x16,_0x5ebfc3[0x3]),_0x35eb22=_0x313fda(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x53d387,0x7,_0x5ebfc3[0x4]),_0x466c50=_0x313fda(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x2022a1,0xc,_0x5ebfc3[0x5]),_0x1566c2=_0x313fda(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x173cc5,0x11,_0x5ebfc3[0x6]),_0x56bbfa=_0x313fda(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x517e75,0x16,_0x5ebfc3[0x7]),_0x35eb22=_0x313fda(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x2417be,0x7,_0x5ebfc3[0x8]),_0x466c50=_0x313fda(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x3e150e,0xc,_0x5ebfc3[0x9]),_0x1566c2=_0x313fda(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x514f77,0x11,_0x5ebfc3[0xa]),_0x56bbfa=_0x313fda(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x235458,0x16,_0x5ebfc3[0xb]),_0x35eb22=_0x313fda(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x44901b,0x7,_0x5ebfc3[0xc]),_0x466c50=_0x313fda(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x20dab4,0xc,_0x5ebfc3[0xd]),_0x1566c2=_0x313fda(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x191699,0x11,_0x5ebfc3[0xe]),_0x56bbfa=_0x313fda(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x309397,0x16,_0x5ebfc3[0xf]),_0x35eb22=_0x51e055(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x350d9b,0x5,_0x5ebfc3[0x10]),_0x466c50=_0x51e055(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x173cc5,0x9,_0x5ebfc3[0x11]),_0x1566c2=_0x51e055(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x235458,0xe,_0x5ebfc3[0x12]),_0x56bbfa=_0x51e055(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x1b368c,0x14,_0x5ebfc3[0x13]),_0x35eb22=_0x51e055(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x2022a1,0x5,_0x5ebfc3[0x14]),_0x466c50=_0x51e055(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x514f77,0x9,_0x5ebfc3[0x15]),_0x1566c2=_0x51e055(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x309397,0xe,_0x5ebfc3[0x16]),_0x56bbfa=_0x51e055(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x53d387,0x14,_0x5ebfc3[0x17]),_0x35eb22=_0x51e055(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x3e150e,0x5,_0x5ebfc3[0x18]),_0x466c50=_0x51e055(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x191699,0x9,_0x5ebfc3[0x19]),_0x1566c2=_0x51e055(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x515b78,0xe,_0x5ebfc3[0x1a]),_0x56bbfa=_0x51e055(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x2417be,0x14,_0x5ebfc3[0x1b]),_0x35eb22=_0x51e055(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x20dab4,0x5,_0x5ebfc3[0x1c]),_0x466c50=_0x51e055(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x1970a2,0x9,_0x5ebfc3[0x1d]),_0x1566c2=_0x51e055(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x517e75,0xe,_0x5ebfc3[0x1e]),_0x56bbfa=_0x51e055(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x44901b,0x14,_0x5ebfc3[0x1f]),_0x35eb22=_0x139424(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x2022a1,0x4,_0x5ebfc3[0x20]),_0x466c50=_0x139424(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x2417be,0xb,_0x5ebfc3[0x21]),_0x1566c2=_0x139424(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x235458,0x10,_0x5ebfc3[0x22]),_0x56bbfa=_0x139424(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x191699,0x17,_0x5ebfc3[0x23]),_0x35eb22=_0x139424(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x350d9b,0x4,_0x5ebfc3[0x24]),_0x466c50=_0x139424(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x53d387,0xb,_0x5ebfc3[0x25]),_0x1566c2=_0x139424(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x517e75,0x10,_0x5ebfc3[0x26]),_0x56bbfa=_0x139424(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x514f77,0x17,_0x5ebfc3[0x27]),_0x35eb22=_0x139424(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x20dab4,0x4,_0x5ebfc3[0x28]),_0x466c50=_0x139424(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x1b368c,0xb,_0x5ebfc3[0x29]),_0x1566c2=_0x139424(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x515b78,0x10,_0x5ebfc3[0x2a]),_0x56bbfa=_0x139424(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x173cc5,0x17,_0x5ebfc3[0x2b]),_0x35eb22=_0x139424(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x3e150e,0x4,_0x5ebfc3[0x2c]),_0x466c50=_0x139424(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x44901b,0xb,_0x5ebfc3[0x2d]),_0x1566c2=_0x139424(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x309397,0x10,_0x5ebfc3[0x2e]),_0x56bbfa=_0x139424(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x1970a2,0x17,_0x5ebfc3[0x2f]),_0x35eb22=_0xea6ac5(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x1b368c,0x6,_0x5ebfc3[0x30]),_0x466c50=_0xea6ac5(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x517e75,0xa,_0x5ebfc3[0x31]),_0x1566c2=_0xea6ac5(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x191699,0xf,_0x5ebfc3[0x32]),_0x56bbfa=_0xea6ac5(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x2022a1,0x15,_0x5ebfc3[0x33]),_0x35eb22=_0xea6ac5(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x44901b,0x6,_0x5ebfc3[0x34]),_0x466c50=_0xea6ac5(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x515b78,0xa,_0x5ebfc3[0x35]),_0x1566c2=_0xea6ac5(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x514f77,0xf,_0x5ebfc3[0x36]),_0x56bbfa=_0xea6ac5(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x350d9b,0x15,_0x5ebfc3[0x37]),_0x35eb22=_0xea6ac5(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x2417be,0x6,_0x5ebfc3[0x38]),_0x466c50=_0xea6ac5(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x309397,0xa,_0x5ebfc3[0x39]),_0x1566c2=_0xea6ac5(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x173cc5,0xf,_0x5ebfc3[0x3a]),_0x56bbfa=_0xea6ac5(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x20dab4,0x15,_0x5ebfc3[0x3b]),_0x35eb22=_0xea6ac5(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x53d387,0x6,_0x5ebfc3[0x3c]),_0x466c50=_0xea6ac5(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x235458,0xa,_0x5ebfc3[0x3d]),_0x1566c2=_0xea6ac5(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x1970a2,0xf,_0x5ebfc3[0x3e]),_0x56bbfa=_0xea6ac5(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x3e150e,0x15,_0x5ebfc3[0x3f]),_0x1690e6[0x0]=_0x1690e6[0x0]+_0x35eb22|0x0,_0x1690e6[0x1]=_0x1690e6[0x1]+_0x56bbfa|0x0,_0x1690e6[0x2]=_0x1690e6[0x2]+_0x1566c2|0x0,_0x1690e6[0x3]=_0x1690e6[0x3]+_0x466c50|0x0;},'_doFinalize':function(){var _0x25b187=_0x1a8143,_0xb14e9a=this['_data'],_0x22e3bb=_0xb14e9a[_0x25b187(0x1b8)],_0x10d9b4=this[_0x25b187(0x330)]*0x8,_0x311cc2=_0xb14e9a[_0x25b187(0x432)]*0x8;_0x22e3bb[_0x311cc2>>>0x5]|=0x80<<0x18-_0x311cc2%0x20;var _0x545546=_0x866324[_0x25b187(0x2af)](_0x10d9b4/0x100000000),_0x49e1f5=_0x10d9b4;_0x22e3bb[(_0x311cc2+0x40>>>0x9<<0x4)+0xf]=(_0x545546<<0x8|_0x545546>>>0x18)&0xff00ff|(_0x545546<<0x18|_0x545546>>>0x8)&0xff00ff00,_0x22e3bb[(_0x311cc2+0x40>>>0x9<<0x4)+0xe]=(_0x49e1f5<<0x8|_0x49e1f5>>>0x18)&0xff00ff|(_0x49e1f5<<0x18|_0x49e1f5>>>0x8)&0xff00ff00,_0xb14e9a[_0x25b187(0x432)]=(_0x22e3bb['length']+0x1)*0x4,this[_0x25b187(0x37c)]();for(var _0x528810=this['_hash'],_0x2d1552=_0x528810[_0x25b187(0x1b8)],_0x180f2f=0x0;_0x180f2f<0x4;_0x180f2f++){var _0x1e1c90=_0x2d1552[_0x180f2f];_0x2d1552[_0x180f2f]=(_0x1e1c90<<0x8|_0x1e1c90>>>0x18)&0xff00ff|(_0x1e1c90<<0x18|_0x1e1c90>>>0x8)&0xff00ff00;}return _0x528810;},'clone':function(){var _0x413016=_0x1a8143,_0x1adf95=_0x570475[_0x413016(0x3ee)]['call'](this);return _0x1adf95['_hash']=this[_0x413016(0x491)][_0x413016(0x3ee)](),_0x1adf95;}});function _0x313fda(_0x1c8578,_0x4d47a6,_0x23b0a2,_0x31c566,_0x107cd6,_0x153c1a,_0x3efedf){var _0x12eb2f=_0x1c8578+(_0x4d47a6&_0x23b0a2|~_0x4d47a6&_0x31c566)+_0x107cd6+_0x3efedf;return(_0x12eb2f<<_0x153c1a|_0x12eb2f>>>0x20-_0x153c1a)+_0x4d47a6;}function _0x51e055(_0xd8e0ee,_0x41ea1b,_0x19fa1,_0x5a189a,_0x4b6f14,_0x1e9cd8,_0x55d01e){var _0x513696=_0xd8e0ee+(_0x41ea1b&_0x5a189a|_0x19fa1&~_0x5a189a)+_0x4b6f14+_0x55d01e;return(_0x513696<<_0x1e9cd8|_0x513696>>>0x20-_0x1e9cd8)+_0x41ea1b;}function _0x139424(_0x25337f,_0x5b25ad,_0x2cda54,_0x17e1a1,_0x3bde01,_0x29332d,_0x1c1bba){var _0x2901e9=_0x25337f+(_0x5b25ad^_0x2cda54^_0x17e1a1)+_0x3bde01+_0x1c1bba;return(_0x2901e9<<_0x29332d|_0x2901e9>>>0x20-_0x29332d)+_0x5b25ad;}function _0xea6ac5(_0x47c86a,_0x3e8085,_0x2f0f18,_0x503dfe,_0x5cfb68,_0x2a0887,_0x2dd656){var _0x304472=_0x47c86a+(_0x2f0f18^(_0x3e8085|~_0x503dfe))+_0x5cfb68+_0x2dd656;return(_0x304472<<_0x2a0887|_0x304472>>>0x20-_0x2a0887)+_0x3e8085;}_0x47c21d[_0x1a8143(0x311)]=_0x570475[_0x1a8143(0x4d1)](_0x9fc69f),_0x47c21d[_0x1a8143(0x43b)]=_0x570475[_0x1a8143(0x467)](_0x9fc69f);}(Math),_0x1027a3['MD5'];}));}(ge)),ge[_0x1bb926(0x4ce)];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){return Ze||(Ze=0x1,function(_0x3fe9c9,_0x528402){(function(_0x2065b5,_0x53a5e0){var _0x32e688=_0x3c30;_0x3fe9c9[_0x32e688(0x4ce)]=_0x53a5e0(Q());}(Ai,function(_0x50263c){return(function(){var _0x5adb29=_0x3c30,_0x14baae=_0x50263c,_0x477b24=_0x14baae[_0x5adb29(0x3d4)],_0x36066f=_0x477b24[_0x5adb29(0x31e)],_0x1fd723=_0x477b24[_0x5adb29(0x39e)],_0x202e1f=_0x14baae[_0x5adb29(0x285)],_0x3a26fb=[],_0x6722b7=_0x202e1f['SHA1']=_0x1fd723['extend']({'_doReset':function(){var _0x1bf2bb=_0x5adb29;this[_0x1bf2bb(0x491)]=new _0x36066f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x58ef77,_0x47396c){var _0x199073=_0x5adb29;for(var _0x1bc0b0=this['_hash'][_0x199073(0x1b8)],_0x260c1a=_0x1bc0b0[0x0],_0x108666=_0x1bc0b0[0x1],_0xae0381=_0x1bc0b0[0x2],_0x40e487=_0x1bc0b0[0x3],_0x2fb362=_0x1bc0b0[0x4],_0x42f16b=0x0;_0x42f16b<0x50;_0x42f16b++){if(_0x42f16b<0x10)_0x3a26fb[_0x42f16b]=_0x58ef77[_0x47396c+_0x42f16b]|0x0;else{var _0x519d57=_0x3a26fb[_0x42f16b-0x3]^_0x3a26fb[_0x42f16b-0x8]^_0x3a26fb[_0x42f16b-0xe]^_0x3a26fb[_0x42f16b-0x10];_0x3a26fb[_0x42f16b]=_0x519d57<<0x1|_0x519d57>>>0x1f;}var _0x2a991f=(_0x260c1a<<0x5|_0x260c1a>>>0x1b)+_0x2fb362+_0x3a26fb[_0x42f16b];_0x42f16b<0x14?_0x2a991f+=(_0x108666&_0xae0381|~_0x108666&_0x40e487)+0x5a827999:_0x42f16b<0x28?_0x2a991f+=(_0x108666^_0xae0381^_0x40e487)+0x6ed9eba1:_0x42f16b<0x3c?_0x2a991f+=(_0x108666&_0xae0381|_0x108666&_0x40e487|_0xae0381&_0x40e487)-0x70e44324:_0x2a991f+=(_0x108666^_0xae0381^_0x40e487)-0x359d3e2a,_0x2fb362=_0x40e487,_0x40e487=_0xae0381,_0xae0381=_0x108666<<0x1e|_0x108666>>>0x2,_0x108666=_0x260c1a,_0x260c1a=_0x2a991f;}_0x1bc0b0[0x0]=_0x1bc0b0[0x0]+_0x260c1a|0x0,_0x1bc0b0[0x1]=_0x1bc0b0[0x1]+_0x108666|0x0,_0x1bc0b0[0x2]=_0x1bc0b0[0x2]+_0xae0381|0x0,_0x1bc0b0[0x3]=_0x1bc0b0[0x3]+_0x40e487|0x0,_0x1bc0b0[0x4]=_0x1bc0b0[0x4]+_0x2fb362|0x0;},'_doFinalize':function(){var _0x432c98=_0x5adb29,_0x41d288=this['_data'],_0x495326=_0x41d288[_0x432c98(0x1b8)],_0x12718d=this[_0x432c98(0x330)]*0x8,_0x2073fe=_0x41d288[_0x432c98(0x432)]*0x8;return _0x495326[_0x2073fe>>>0x5]|=0x80<<0x18-_0x2073fe%0x20,_0x495326[(_0x2073fe+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x12718d/0x100000000),_0x495326[(_0x2073fe+0x40>>>0x9<<0x4)+0xf]=_0x12718d,_0x41d288['sigBytes']=_0x495326[_0x432c98(0x418)]*0x4,this[_0x432c98(0x37c)](),this['_hash'];},'clone':function(){var _0x2c0d50=_0x5adb29,_0x3d3b92=_0x1fd723[_0x2c0d50(0x3ee)][_0x2c0d50(0x1cb)](this);return _0x3d3b92[_0x2c0d50(0x491)]=this[_0x2c0d50(0x491)]['clone'](),_0x3d3b92;}});_0x14baae[_0x5adb29(0x2c6)]=_0x1fd723[_0x5adb29(0x4d1)](_0x6722b7),_0x14baae[_0x5adb29(0x4ab)]=_0x1fd723[_0x5adb29(0x467)](_0x6722b7);}()),_0x50263c['SHA1'];}));}(me)),me['exports'];}var Ce={'exports':{}},wi=Ce[_0x199ec4(0x4ce)],Qe;function Li(){var _0x145fd2=_0x199ec4;return Qe||(Qe=0x1,function(_0x57211b,_0x2591c7){(function(_0x8ed6eb,_0x55352d){var _0x557c01=_0x3c30;_0x57211b[_0x557c01(0x4ce)]=_0x55352d(Q());}(wi,function(_0x1b1af9){(function(){var _0x15c9a3=_0x3c30,_0x2b5fcb=_0x1b1af9,_0x2be6d4=_0x2b5fcb['lib'],_0x1b0944=_0x2be6d4[_0x15c9a3(0x1b0)],_0x50849d=_0x2b5fcb[_0x15c9a3(0x210)],_0x55b27c=_0x50849d[_0x15c9a3(0x381)],_0x2d8bcf=_0x2b5fcb[_0x15c9a3(0x285)];_0x2d8bcf[_0x15c9a3(0x3a3)]=_0x1b0944[_0x15c9a3(0x2fc)]({'init':function(_0x24ca48,_0x2bcf6b){var _0x57c24c=_0x15c9a3;_0x24ca48=this[_0x57c24c(0x29c)]=new _0x24ca48[(_0x57c24c(0x3a6))](),typeof _0x2bcf6b=='string'&&(_0x2bcf6b=_0x55b27c['parse'](_0x2bcf6b));var _0x47718a=_0x24ca48[_0x57c24c(0x38c)],_0x2592e1=_0x47718a*0x4;_0x2bcf6b[_0x57c24c(0x432)]>_0x2592e1&&(_0x2bcf6b=_0x24ca48[_0x57c24c(0x25e)](_0x2bcf6b)),_0x2bcf6b[_0x57c24c(0x48b)]();for(var _0x5c8c17=this[_0x57c24c(0x48f)]=_0x2bcf6b['clone'](),_0x99170a=this[_0x57c24c(0x288)]=_0x2bcf6b['clone'](),_0x178876=_0x5c8c17[_0x57c24c(0x1b8)],_0x16c975=_0x99170a[_0x57c24c(0x1b8)],_0x562585=0x0;_0x562585<_0x47718a;_0x562585++)_0x178876[_0x562585]^=0x5c5c5c5c,_0x16c975[_0x562585]^=0x36363636;_0x5c8c17[_0x57c24c(0x432)]=_0x99170a['sigBytes']=_0x2592e1,this[_0x57c24c(0x3bf)]();},'reset':function(){var _0x169b0d=_0x15c9a3,_0x36434a=this['_hasher'];_0x36434a[_0x169b0d(0x3bf)](),_0x36434a[_0x169b0d(0x299)](this[_0x169b0d(0x288)]);},'update':function(_0x40fd17){var _0x2a24f7=_0x15c9a3;return this[_0x2a24f7(0x29c)][_0x2a24f7(0x299)](_0x40fd17),this;},'finalize':function(_0x19faee){var _0x355578=_0x15c9a3,_0x16a839=this['_hasher'],_0x178c5f=_0x16a839['finalize'](_0x19faee);_0x16a839[_0x355578(0x3bf)]();var _0x142ad9=_0x16a839[_0x355578(0x25e)](this[_0x355578(0x48f)][_0x355578(0x3ee)]()[_0x355578(0x18f)](_0x178c5f));return _0x142ad9;}});}());}));}(Ce)),Ce[_0x145fd2(0x4ce)];}var Mi=Ee[_0x199ec4(0x4ce)],et;function Nt(){var _0x59bbf6=_0x199ec4;return et||(et=0x1,function(_0x10116c,_0x392d7f){(function(_0x2c705d,_0x2971e5,_0x120d7e){_0x10116c['exports']=_0x2971e5(Q(),Pi(),Li());}(Mi,function(_0x275bb2){var _0x3d3561=_0x3c30;return(function(){var _0x12cfdc=_0x3c30,_0x36cd85=_0x275bb2,_0x57cfee=_0x36cd85[_0x12cfdc(0x3d4)],_0xc125de=_0x57cfee[_0x12cfdc(0x1b0)],_0x3c7a00=_0x57cfee['WordArray'],_0x291418=_0x36cd85[_0x12cfdc(0x285)],_0x3d4ffd=_0x291418['MD5'],_0x24fb7f=_0x291418[_0x12cfdc(0x4cc)]=_0xc125de[_0x12cfdc(0x2fc)]({'cfg':_0xc125de['extend']({'keySize':0x80/0x20,'hasher':_0x3d4ffd,'iterations':0x1}),'init':function(_0x2f37b0){var _0x2464f1=_0x12cfdc;this[_0x2464f1(0x258)]=this[_0x2464f1(0x258)]['extend'](_0x2f37b0);},'compute':function(_0x572943,_0x209041){var _0x413034=_0x12cfdc;for(var _0x5b9168,_0x54d197=this[_0x413034(0x258)],_0xb277e5=_0x54d197[_0x413034(0x4c0)][_0x413034(0x4dc)](),_0xc6424=_0x3c7a00[_0x413034(0x4dc)](),_0x3491a4=_0xc6424[_0x413034(0x1b8)],_0x38c236=_0x54d197[_0x413034(0x1b2)],_0xecbf71=_0x54d197[_0x413034(0x1a9)];_0x3491a4[_0x413034(0x418)]<_0x38c236;){_0x5b9168&&_0xb277e5[_0x413034(0x299)](_0x5b9168),_0x5b9168=_0xb277e5[_0x413034(0x299)](_0x572943)[_0x413034(0x25e)](_0x209041),_0xb277e5['reset']();for(var _0x4a961b=0x1;_0x4a961b<_0xecbf71;_0x4a961b++)_0x5b9168=_0xb277e5['finalize'](_0x5b9168),_0xb277e5[_0x413034(0x3bf)]();_0xc6424[_0x413034(0x18f)](_0x5b9168);}return _0xc6424[_0x413034(0x432)]=_0x38c236*0x4,_0xc6424;}});_0x36cd85[_0x12cfdc(0x4cc)]=function(_0x520ed5,_0x19d40e,_0x24277a){var _0x33dc86=_0x12cfdc;return _0x24fb7f[_0x33dc86(0x4dc)](_0x24277a)[_0x33dc86(0x19d)](_0x520ed5,_0x19d40e);};}()),_0x275bb2[_0x3d3561(0x4cc)];}));}(Ee)),Ee[_0x59bbf6(0x4ce)];}var Te={'exports':{}},xi=Te[_0x199ec4(0x4ce)],tt;function Ut(){var _0x305ac7=_0x199ec4;return tt||(tt=0x1,function(_0x4970e2,_0x5d58cd){(function(_0x4856f8,_0x1b88a3,_0xad80bc){var _0x106e1d=_0x3c30;_0x4970e2[_0x106e1d(0x4ce)]=_0x1b88a3(Q(),Nt());}(xi,function(_0x3d7ffd){var _0x300976=_0x3c30;_0x3d7ffd[_0x300976(0x3d4)]['Cipher']||function(_0x23ab5c){var _0x23cca6=_0x300976,_0x215f37=_0x3d7ffd,_0x326870=_0x215f37[_0x23cca6(0x3d4)],_0x460f6a=_0x326870[_0x23cca6(0x1b0)],_0x1920c0=_0x326870[_0x23cca6(0x31e)],_0x2e635b=_0x326870['BufferedBlockAlgorithm'],_0x3d4fab=_0x215f37[_0x23cca6(0x210)];_0x3d4fab['Utf8'];var _0x5608db=_0x3d4fab[_0x23cca6(0x499)],_0x4a60da=_0x215f37[_0x23cca6(0x285)],_0x10ea22=_0x4a60da['EvpKDF'],_0x49b3e1=_0x326870[_0x23cca6(0x435)]=_0x2e635b[_0x23cca6(0x2fc)]({'cfg':_0x460f6a[_0x23cca6(0x2fc)](),'createEncryptor':function(_0xc07602,_0x46077b){var _0x1130e9=_0x23cca6;return this[_0x1130e9(0x4dc)](this[_0x1130e9(0x3af)],_0xc07602,_0x46077b);},'createDecryptor':function(_0x437fff,_0x347926){var _0x50278b=_0x23cca6;return this[_0x50278b(0x4dc)](this[_0x50278b(0x3cc)],_0x437fff,_0x347926);},'init':function(_0x18ff24,_0x22bdfc,_0x4fe636){var _0x3e6243=_0x23cca6;this[_0x3e6243(0x258)]=this['cfg'][_0x3e6243(0x2fc)](_0x4fe636),this[_0x3e6243(0x2c9)]=_0x18ff24,this[_0x3e6243(0x179)]=_0x22bdfc,this[_0x3e6243(0x3bf)]();},'reset':function(){var _0x39e7fb=_0x23cca6;_0x2e635b[_0x39e7fb(0x3bf)]['call'](this),this[_0x39e7fb(0x2d2)]();},'process':function(_0x496acf){var _0x5608e6=_0x23cca6;return this[_0x5608e6(0x4e2)](_0x496acf),this[_0x5608e6(0x37c)]();},'finalize':function(_0x4675b3){var _0x33f992=_0x23cca6;_0x4675b3&&this['_append'](_0x4675b3);var _0x1bc143=this[_0x33f992(0x3b1)]();return _0x1bc143;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x132564(_0x420677){var _0x417961=_0x3c30;return typeof _0x420677==_0x417961(0x25d)?_0x40b318:_0x986e49;}return function(_0x58ae11){return{'encrypt':function(_0x3103b9,_0x105123,_0xa4e273){var _0x3c9c61=_0x3c30;return _0x132564(_0x105123)[_0x3c9c61(0x3c8)](_0x58ae11,_0x3103b9,_0x105123,_0xa4e273);},'decrypt':function(_0x310012,_0x1e73be,_0xf62aab){var _0x4ad8c2=_0x3c30;return _0x132564(_0x1e73be)[_0x4ad8c2(0x276)](_0x58ae11,_0x310012,_0x1e73be,_0xf62aab);}};};}())});_0x326870['StreamCipher']=_0x49b3e1[_0x23cca6(0x2fc)]({'_doFinalize':function(){var _0x3c24e1=this['_process'](!0x0);return _0x3c24e1;},'blockSize':0x1});var _0x3cc938=_0x215f37['mode']={},_0x1973cc=_0x326870[_0x23cca6(0x27d)]=_0x460f6a['extend']({'createEncryptor':function(_0x5451c0,_0x5735da){var _0x27ca0f=_0x23cca6;return this[_0x27ca0f(0x35b)][_0x27ca0f(0x4dc)](_0x5451c0,_0x5735da);},'createDecryptor':function(_0x1b4e31,_0x411d19){var _0x57eed2=_0x23cca6;return this[_0x57eed2(0x410)]['create'](_0x1b4e31,_0x411d19);},'init':function(_0x5b9a5a,_0x74f1b5){var _0x3c9887=_0x23cca6;this[_0x3c9887(0x33a)]=_0x5b9a5a,this[_0x3c9887(0x294)]=_0x74f1b5;}}),_0x30f89e=_0x3cc938[_0x23cca6(0x4b5)]=(function(){var _0x2d7326=_0x23cca6,_0x160761=_0x1973cc[_0x2d7326(0x2fc)]();_0x160761['Encryptor']=_0x160761['extend']({'processBlock':function(_0x371f5b,_0x4d0b91){var _0x66408b=_0x2d7326,_0x4386d6=this[_0x66408b(0x33a)],_0xa9872a=_0x4386d6[_0x66408b(0x38c)];_0x537f83[_0x66408b(0x1cb)](this,_0x371f5b,_0x4d0b91,_0xa9872a),_0x4386d6[_0x66408b(0x39b)](_0x371f5b,_0x4d0b91),this['_prevBlock']=_0x371f5b[_0x66408b(0x4bc)](_0x4d0b91,_0x4d0b91+_0xa9872a);}}),_0x160761[_0x2d7326(0x410)]=_0x160761[_0x2d7326(0x2fc)]({'processBlock':function(_0x268c80,_0x5ce4d0){var _0x598f91=_0x2d7326,_0x19669b=this[_0x598f91(0x33a)],_0x3678a3=_0x19669b[_0x598f91(0x38c)],_0x53d0ac=_0x268c80[_0x598f91(0x4bc)](_0x5ce4d0,_0x5ce4d0+_0x3678a3);_0x19669b['decryptBlock'](_0x268c80,_0x5ce4d0),_0x537f83[_0x598f91(0x1cb)](this,_0x268c80,_0x5ce4d0,_0x3678a3),this[_0x598f91(0x462)]=_0x53d0ac;}});function _0x537f83(_0x3fc6b5,_0xeb77db,_0x5729af){var _0x5029b0=_0x2d7326,_0x59106d,_0x1722cf=this[_0x5029b0(0x294)];_0x1722cf?(_0x59106d=_0x1722cf,this[_0x5029b0(0x294)]=_0x23ab5c):_0x59106d=this[_0x5029b0(0x462)];for(var _0x1894be=0x0;_0x1894be<_0x5729af;_0x1894be++)_0x3fc6b5[_0xeb77db+_0x1894be]^=_0x59106d[_0x1894be];}return _0x160761;}()),_0x5dcf61=_0x215f37[_0x23cca6(0x2dd)]={},_0x5e5704=_0x5dcf61[_0x23cca6(0x43d)]={'pad':function(_0x394513,_0x28ceaa){var _0x31c156=_0x23cca6;for(var _0x7415f7=_0x28ceaa*0x4,_0x709679=_0x7415f7-_0x394513[_0x31c156(0x432)]%_0x7415f7,_0x41db8a=_0x709679<<0x18|_0x709679<<0x10|_0x709679<<0x8|_0x709679,_0x5eeef7=[],_0x11e29f=0x0;_0x11e29f<_0x709679;_0x11e29f+=0x4)_0x5eeef7['push'](_0x41db8a);var _0x521c0b=_0x1920c0[_0x31c156(0x4dc)](_0x5eeef7,_0x709679);_0x394513['concat'](_0x521c0b);},'unpad':function(_0x124e9b){var _0x40b30a=_0x23cca6,_0x10c71a=_0x124e9b[_0x40b30a(0x1b8)][_0x124e9b[_0x40b30a(0x432)]-0x1>>>0x2]&0xff;_0x124e9b[_0x40b30a(0x432)]-=_0x10c71a;}};_0x326870[_0x23cca6(0x1df)]=_0x49b3e1[_0x23cca6(0x2fc)]({'cfg':_0x49b3e1[_0x23cca6(0x258)]['extend']({'mode':_0x30f89e,'padding':_0x5e5704}),'reset':function(){var _0x537133=_0x23cca6,_0x271c88;_0x49b3e1[_0x537133(0x3bf)][_0x537133(0x1cb)](this);var _0xc39693=this[_0x537133(0x258)],_0x442ebd=_0xc39693['iv'],_0x296c47=_0xc39693['mode'];this[_0x537133(0x2c9)]==this['_ENC_XFORM_MODE']?_0x271c88=_0x296c47['createEncryptor']:(_0x271c88=_0x296c47[_0x537133(0x35a)],this[_0x537133(0x1f4)]=0x1),this[_0x537133(0x383)]&&this[_0x537133(0x383)][_0x537133(0x2fd)]==_0x271c88?this[_0x537133(0x383)][_0x537133(0x3a6)](this,_0x442ebd&&_0x442ebd[_0x537133(0x1b8)]):(this[_0x537133(0x383)]=_0x271c88[_0x537133(0x1cb)](_0x296c47,this,_0x442ebd&&_0x442ebd[_0x537133(0x1b8)]),this[_0x537133(0x383)][_0x537133(0x2fd)]=_0x271c88);},'_doProcessBlock':function(_0x5b16d,_0x19b09f){this['_mode']['processBlock'](_0x5b16d,_0x19b09f);},'_doFinalize':function(){var _0x5b29a7=_0x23cca6,_0xad5a42,_0x2db725=this[_0x5b29a7(0x258)]['padding'];return this[_0x5b29a7(0x2c9)]==this[_0x5b29a7(0x3af)]?(_0x2db725[_0x5b29a7(0x2dd)](this['_data'],this[_0x5b29a7(0x38c)]),_0xad5a42=this['_process'](!0x0)):(_0xad5a42=this[_0x5b29a7(0x37c)](!0x0),_0x2db725[_0x5b29a7(0x1b6)](_0xad5a42)),_0xad5a42;},'blockSize':0x80/0x20});var _0xadb77e=_0x326870[_0x23cca6(0x2d6)]=_0x460f6a[_0x23cca6(0x2fc)]({'init':function(_0x179e8c){this['mixIn'](_0x179e8c);},'toString':function(_0x1f051f){var _0x23c88f=_0x23cca6;return(_0x1f051f||this[_0x23c88f(0x31d)])[_0x23c88f(0x3b7)](this);}}),_0x5c26ab=_0x215f37[_0x23cca6(0x248)]={},_0x2ec1c0=_0x5c26ab[_0x23cca6(0x1aa)]={'stringify':function(_0x3a3c41){var _0x38ad37=_0x23cca6,_0x36bd4a,_0x5a5914=_0x3a3c41[_0x38ad37(0x19b)],_0x395015=_0x3a3c41[_0x38ad37(0x481)];return _0x395015?_0x36bd4a=_0x1920c0[_0x38ad37(0x4dc)]([0x53616c74,0x65645f5f])['concat'](_0x395015)[_0x38ad37(0x18f)](_0x5a5914):_0x36bd4a=_0x5a5914,_0x36bd4a[_0x38ad37(0x471)](_0x5608db);},'parse':function(_0x30432b){var _0x4ada40=_0x23cca6,_0x195ac8,_0x1da9ed=_0x5608db[_0x4ada40(0x494)](_0x30432b),_0x318b6f=_0x1da9ed[_0x4ada40(0x1b8)];return _0x318b6f[0x0]==0x53616c74&&_0x318b6f[0x1]==0x65645f5f&&(_0x195ac8=_0x1920c0[_0x4ada40(0x4dc)](_0x318b6f[_0x4ada40(0x4bc)](0x2,0x4)),_0x318b6f[_0x4ada40(0x3fe)](0x0,0x4),_0x1da9ed[_0x4ada40(0x432)]-=0x10),_0xadb77e[_0x4ada40(0x4dc)]({'ciphertext':_0x1da9ed,'salt':_0x195ac8});}},_0x986e49=_0x326870[_0x23cca6(0x429)]=_0x460f6a[_0x23cca6(0x2fc)]({'cfg':_0x460f6a[_0x23cca6(0x2fc)]({'format':_0x2ec1c0}),'encrypt':function(_0x54baf8,_0x13dd4f,_0x390e18,_0x131ec6){var _0x1b0ad4=_0x23cca6;_0x131ec6=this['cfg']['extend'](_0x131ec6);var _0x2597c2=_0x54baf8[_0x1b0ad4(0x265)](_0x390e18,_0x131ec6),_0x47d4cb=_0x2597c2['finalize'](_0x13dd4f),_0x1ef6cd=_0x2597c2[_0x1b0ad4(0x258)];return _0xadb77e[_0x1b0ad4(0x4dc)]({'ciphertext':_0x47d4cb,'key':_0x390e18,'iv':_0x1ef6cd['iv'],'algorithm':_0x54baf8,'mode':_0x1ef6cd[_0x1b0ad4(0x34a)],'padding':_0x1ef6cd[_0x1b0ad4(0x493)],'blockSize':_0x54baf8[_0x1b0ad4(0x38c)],'formatter':_0x131ec6['format']});},'decrypt':function(_0x41372d,_0x42bdee,_0x20df5d,_0x55fff4){var _0x1526bd=_0x23cca6;_0x55fff4=this['cfg']['extend'](_0x55fff4),_0x42bdee=this[_0x1526bd(0x46c)](_0x42bdee,_0x55fff4[_0x1526bd(0x248)]);var _0x36c497=_0x41372d[_0x1526bd(0x35a)](_0x20df5d,_0x55fff4)[_0x1526bd(0x25e)](_0x42bdee[_0x1526bd(0x19b)]);return _0x36c497;},'_parse':function(_0xb1eb90,_0x15144a){var _0x33f497=_0x23cca6;return typeof _0xb1eb90==_0x33f497(0x25d)?_0x15144a[_0x33f497(0x494)](_0xb1eb90,this):_0xb1eb90;}}),_0x1abd45=_0x215f37[_0x23cca6(0x279)]={},_0x250f2e=_0x1abd45['OpenSSL']={'execute':function(_0x282a14,_0x352752,_0x583b8f,_0xb55a07,_0x577fa5){var _0x3c2a63=_0x23cca6;if(_0xb55a07||(_0xb55a07=_0x1920c0[_0x3c2a63(0x350)](0x40/0x8)),_0x577fa5)var _0x2460d4=_0x10ea22[_0x3c2a63(0x4dc)]({'keySize':_0x352752+_0x583b8f,'hasher':_0x577fa5})[_0x3c2a63(0x19d)](_0x282a14,_0xb55a07);else var _0x2460d4=_0x10ea22[_0x3c2a63(0x4dc)]({'keySize':_0x352752+_0x583b8f})[_0x3c2a63(0x19d)](_0x282a14,_0xb55a07);var _0x334363=_0x1920c0[_0x3c2a63(0x4dc)](_0x2460d4[_0x3c2a63(0x1b8)][_0x3c2a63(0x4bc)](_0x352752),_0x583b8f*0x4);return _0x2460d4[_0x3c2a63(0x432)]=_0x352752*0x4,_0xadb77e['create']({'key':_0x2460d4,'iv':_0x334363,'salt':_0xb55a07});}},_0x40b318=_0x326870[_0x23cca6(0x4ca)]=_0x986e49[_0x23cca6(0x2fc)]({'cfg':_0x986e49[_0x23cca6(0x258)]['extend']({'kdf':_0x250f2e}),'encrypt':function(_0x3ce356,_0x58c12c,_0x357208,_0x39a1b1){var _0x54138b=_0x23cca6;_0x39a1b1=this[_0x54138b(0x258)][_0x54138b(0x2fc)](_0x39a1b1);var _0x54b5ff=_0x39a1b1[_0x54138b(0x279)][_0x54138b(0x37d)](_0x357208,_0x3ce356[_0x54138b(0x1b2)],_0x3ce356[_0x54138b(0x259)],_0x39a1b1[_0x54138b(0x481)],_0x39a1b1['hasher']);_0x39a1b1['iv']=_0x54b5ff['iv'];var _0x4abb3a=_0x986e49[_0x54138b(0x3c8)]['call'](this,_0x3ce356,_0x58c12c,_0x54b5ff[_0x54138b(0x34c)],_0x39a1b1);return _0x4abb3a[_0x54138b(0x431)](_0x54b5ff),_0x4abb3a;},'decrypt':function(_0x2011de,_0x540961,_0x372198,_0x4df831){var _0x561de9=_0x23cca6;_0x4df831=this[_0x561de9(0x258)][_0x561de9(0x2fc)](_0x4df831),_0x540961=this[_0x561de9(0x46c)](_0x540961,_0x4df831[_0x561de9(0x248)]);var _0x2f7a4d=_0x4df831[_0x561de9(0x279)][_0x561de9(0x37d)](_0x372198,_0x2011de[_0x561de9(0x1b2)],_0x2011de[_0x561de9(0x259)],_0x540961['salt'],_0x4df831[_0x561de9(0x4c0)]);_0x4df831['iv']=_0x2f7a4d['iv'];var _0x2eea5a=_0x986e49[_0x561de9(0x276)]['call'](this,_0x2011de,_0x540961,_0x2f7a4d[_0x561de9(0x34c)],_0x4df831);return _0x2eea5a;}});}();}));}(Te)),Te[_0x305ac7(0x4ce)];}var ki=fe[_0x199ec4(0x4ce)],it;function Hi(){return it||(it=0x1,function(_0x13faec,_0x13f5bb){(function(_0x511e9e,_0x4829a5,_0x399b14){_0x13faec['exports']=_0x4829a5(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x253c8f){var _0x1c964f=_0x3c30;return(function(){var _0x1dc617=_0x3c30,_0x2ed395=_0x253c8f,_0x47a0f9=_0x2ed395[_0x1dc617(0x3d4)],_0x318b9f=_0x47a0f9[_0x1dc617(0x1df)],_0x426a97=_0x2ed395[_0x1dc617(0x285)],_0x40ccab=[],_0x5e0533=[],_0xdddbe1=[],_0x434158=[],_0xaca828=[],_0x34335a=[],_0x8c20e4=[],_0x2aac48=[],_0x4715f3=[],_0x27d9af=[];(function(){for(var _0x46faf5=[],_0x4881ef=0x0;_0x4881ef<0x100;_0x4881ef++)_0x4881ef<0x80?_0x46faf5[_0x4881ef]=_0x4881ef<<0x1:_0x46faf5[_0x4881ef]=_0x4881ef<<0x1^0x11b;for(var _0x54e0c0=0x0,_0x353eed=0x0,_0x4881ef=0x0;_0x4881ef<0x100;_0x4881ef++){var _0x39d972=_0x353eed^_0x353eed<<0x1^_0x353eed<<0x2^_0x353eed<<0x3^_0x353eed<<0x4;_0x39d972=_0x39d972>>>0x8^_0x39d972&0xff^0x63,_0x40ccab[_0x54e0c0]=_0x39d972,_0x5e0533[_0x39d972]=_0x54e0c0;var _0x5d2612=_0x46faf5[_0x54e0c0],_0x451534=_0x46faf5[_0x5d2612],_0x4db527=_0x46faf5[_0x451534],_0x57c501=_0x46faf5[_0x39d972]*0x101^_0x39d972*0x1010100;_0xdddbe1[_0x54e0c0]=_0x57c501<<0x18|_0x57c501>>>0x8,_0x434158[_0x54e0c0]=_0x57c501<<0x10|_0x57c501>>>0x10,_0xaca828[_0x54e0c0]=_0x57c501<<0x8|_0x57c501>>>0x18,_0x34335a[_0x54e0c0]=_0x57c501;var _0x57c501=_0x4db527*0x1010101^_0x451534*0x10001^_0x5d2612*0x101^_0x54e0c0*0x1010100;_0x8c20e4[_0x39d972]=_0x57c501<<0x18|_0x57c501>>>0x8,_0x2aac48[_0x39d972]=_0x57c501<<0x10|_0x57c501>>>0x10,_0x4715f3[_0x39d972]=_0x57c501<<0x8|_0x57c501>>>0x18,_0x27d9af[_0x39d972]=_0x57c501,_0x54e0c0?(_0x54e0c0=_0x5d2612^_0x46faf5[_0x46faf5[_0x46faf5[_0x4db527^_0x5d2612]]],_0x353eed^=_0x46faf5[_0x46faf5[_0x353eed]]):_0x54e0c0=_0x353eed=0x1;}}());var _0x9c9cef=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xc19c23=_0x426a97[_0x1dc617(0x1e9)]=_0x318b9f[_0x1dc617(0x2fc)]({'_doReset':function(){var _0x1f87df=_0x1dc617,_0x20e4c8;if(!(this['_nRounds']&&this[_0x1f87df(0x48e)]===this[_0x1f87df(0x179)])){for(var _0x116e77=this[_0x1f87df(0x48e)]=this[_0x1f87df(0x179)],_0xbee133=_0x116e77[_0x1f87df(0x1b8)],_0x50ff67=_0x116e77[_0x1f87df(0x432)]/0x4,_0x517a10=this[_0x1f87df(0x3d2)]=_0x50ff67+0x6,_0x2a9164=(_0x517a10+0x1)*0x4,_0x50c705=this['_keySchedule']=[],_0xe97c88=0x0;_0xe97c88<_0x2a9164;_0xe97c88++)_0xe97c88<_0x50ff67?_0x50c705[_0xe97c88]=_0xbee133[_0xe97c88]:(_0x20e4c8=_0x50c705[_0xe97c88-0x1],_0xe97c88%_0x50ff67?_0x50ff67>0x6&&_0xe97c88%_0x50ff67==0x4&&(_0x20e4c8=_0x40ccab[_0x20e4c8>>>0x18]<<0x18|_0x40ccab[_0x20e4c8>>>0x10&0xff]<<0x10|_0x40ccab[_0x20e4c8>>>0x8&0xff]<<0x8|_0x40ccab[_0x20e4c8&0xff]):(_0x20e4c8=_0x20e4c8<<0x8|_0x20e4c8>>>0x18,_0x20e4c8=_0x40ccab[_0x20e4c8>>>0x18]<<0x18|_0x40ccab[_0x20e4c8>>>0x10&0xff]<<0x10|_0x40ccab[_0x20e4c8>>>0x8&0xff]<<0x8|_0x40ccab[_0x20e4c8&0xff],_0x20e4c8^=_0x9c9cef[_0xe97c88/_0x50ff67|0x0]<<0x18),_0x50c705[_0xe97c88]=_0x50c705[_0xe97c88-_0x50ff67]^_0x20e4c8);for(var _0x4b3945=this['_invKeySchedule']=[],_0x8d0d77=0x0;_0x8d0d77<_0x2a9164;_0x8d0d77++){var _0xe97c88=_0x2a9164-_0x8d0d77;if(_0x8d0d77%0x4)var _0x20e4c8=_0x50c705[_0xe97c88];else var _0x20e4c8=_0x50c705[_0xe97c88-0x4];_0x8d0d77<0x4||_0xe97c88<=0x4?_0x4b3945[_0x8d0d77]=_0x20e4c8:_0x4b3945[_0x8d0d77]=_0x8c20e4[_0x40ccab[_0x20e4c8>>>0x18]]^_0x2aac48[_0x40ccab[_0x20e4c8>>>0x10&0xff]]^_0x4715f3[_0x40ccab[_0x20e4c8>>>0x8&0xff]]^_0x27d9af[_0x40ccab[_0x20e4c8&0xff]];}}},'encryptBlock':function(_0x3ac6c0,_0x57a2e2){var _0xdfc7f2=_0x1dc617;this[_0xdfc7f2(0x29f)](_0x3ac6c0,_0x57a2e2,this[_0xdfc7f2(0x4da)],_0xdddbe1,_0x434158,_0xaca828,_0x34335a,_0x40ccab);},'decryptBlock':function(_0x5a5c54,_0x38c57a){var _0x5a8b5a=_0x1dc617,_0x2bfa97=_0x5a5c54[_0x38c57a+0x1];_0x5a5c54[_0x38c57a+0x1]=_0x5a5c54[_0x38c57a+0x3],_0x5a5c54[_0x38c57a+0x3]=_0x2bfa97,this[_0x5a8b5a(0x29f)](_0x5a5c54,_0x38c57a,this['_invKeySchedule'],_0x8c20e4,_0x2aac48,_0x4715f3,_0x27d9af,_0x5e0533);var _0x2bfa97=_0x5a5c54[_0x38c57a+0x1];_0x5a5c54[_0x38c57a+0x1]=_0x5a5c54[_0x38c57a+0x3],_0x5a5c54[_0x38c57a+0x3]=_0x2bfa97;},'_doCryptBlock':function(_0x356e25,_0x2542db,_0x37f9af,_0x356ba1,_0x371a06,_0x51a5d2,_0x30e594,_0x4d0371){for(var _0x15d3a9=this['_nRounds'],_0x355f40=_0x356e25[_0x2542db]^_0x37f9af[0x0],_0x1910ea=_0x356e25[_0x2542db+0x1]^_0x37f9af[0x1],_0x3d4c5b=_0x356e25[_0x2542db+0x2]^_0x37f9af[0x2],_0xfc954c=_0x356e25[_0x2542db+0x3]^_0x37f9af[0x3],_0x1529d1=0x4,_0x4d52cb=0x1;_0x4d52cb<_0x15d3a9;_0x4d52cb++){var _0x3f0894=_0x356ba1[_0x355f40>>>0x18]^_0x371a06[_0x1910ea>>>0x10&0xff]^_0x51a5d2[_0x3d4c5b>>>0x8&0xff]^_0x30e594[_0xfc954c&0xff]^_0x37f9af[_0x1529d1++],_0x4d5e8f=_0x356ba1[_0x1910ea>>>0x18]^_0x371a06[_0x3d4c5b>>>0x10&0xff]^_0x51a5d2[_0xfc954c>>>0x8&0xff]^_0x30e594[_0x355f40&0xff]^_0x37f9af[_0x1529d1++],_0x5ed287=_0x356ba1[_0x3d4c5b>>>0x18]^_0x371a06[_0xfc954c>>>0x10&0xff]^_0x51a5d2[_0x355f40>>>0x8&0xff]^_0x30e594[_0x1910ea&0xff]^_0x37f9af[_0x1529d1++],_0x5bd0c4=_0x356ba1[_0xfc954c>>>0x18]^_0x371a06[_0x355f40>>>0x10&0xff]^_0x51a5d2[_0x1910ea>>>0x8&0xff]^_0x30e594[_0x3d4c5b&0xff]^_0x37f9af[_0x1529d1++];_0x355f40=_0x3f0894,_0x1910ea=_0x4d5e8f,_0x3d4c5b=_0x5ed287,_0xfc954c=_0x5bd0c4;}var _0x3f0894=(_0x4d0371[_0x355f40>>>0x18]<<0x18|_0x4d0371[_0x1910ea>>>0x10&0xff]<<0x10|_0x4d0371[_0x3d4c5b>>>0x8&0xff]<<0x8|_0x4d0371[_0xfc954c&0xff])^_0x37f9af[_0x1529d1++],_0x4d5e8f=(_0x4d0371[_0x1910ea>>>0x18]<<0x18|_0x4d0371[_0x3d4c5b>>>0x10&0xff]<<0x10|_0x4d0371[_0xfc954c>>>0x8&0xff]<<0x8|_0x4d0371[_0x355f40&0xff])^_0x37f9af[_0x1529d1++],_0x5ed287=(_0x4d0371[_0x3d4c5b>>>0x18]<<0x18|_0x4d0371[_0xfc954c>>>0x10&0xff]<<0x10|_0x4d0371[_0x355f40>>>0x8&0xff]<<0x8|_0x4d0371[_0x1910ea&0xff])^_0x37f9af[_0x1529d1++],_0x5bd0c4=(_0x4d0371[_0xfc954c>>>0x18]<<0x18|_0x4d0371[_0x355f40>>>0x10&0xff]<<0x10|_0x4d0371[_0x1910ea>>>0x8&0xff]<<0x8|_0x4d0371[_0x3d4c5b&0xff])^_0x37f9af[_0x1529d1++];_0x356e25[_0x2542db]=_0x3f0894,_0x356e25[_0x2542db+0x1]=_0x4d5e8f,_0x356e25[_0x2542db+0x2]=_0x5ed287,_0x356e25[_0x2542db+0x3]=_0x5bd0c4;},'keySize':0x100/0x20});_0x2ed395[_0x1dc617(0x1e9)]=_0x318b9f[_0x1dc617(0x4d1)](_0xc19c23);}()),_0x253c8f[_0x1c964f(0x1e9)];}));}(fe)),fe['exports'];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x199ec4(0x4ce)],rt;function Vi(){var _0x158000=_0x199ec4;return rt||(rt=0x1,function(_0xfa2d59,_0x5c41ef){(function(_0x7f7321,_0x4fd1fd){var _0x21a3a7=_0x3c30;_0xfa2d59[_0x21a3a7(0x4ce)]=_0x4fd1fd(Q());}(Fi,function(_0x292188){var _0x5bff6c=_0x3c30;return _0x292188[_0x5bff6c(0x210)][_0x5bff6c(0x381)];}));}(be)),be[_0x158000(0x4ce)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x199ec4(0x4ce)],st;function Yi(){return st||(st=0x1,function(_0x2c0dbb,_0x4017bb){(function(_0xbd9653,_0x4c9b73){var _0x5681c1=_0x3c30;_0x2c0dbb[_0x5681c1(0x4ce)]=_0x4c9b73(Q());}(Ki,function(_0x6e0b69){var _0x5cfcfb=_0x3c30;return(function(){var _0x34455a=_0x3c30;if(typeof ArrayBuffer==_0x34455a(0x291)){var _0x39ad11=_0x6e0b69,_0x114a8b=_0x39ad11[_0x34455a(0x3d4)],_0x25e498=_0x114a8b['WordArray'],_0x4dc41e=_0x25e498[_0x34455a(0x3a6)],_0x3c3b73=_0x25e498[_0x34455a(0x3a6)]=function(_0x4df3fd){var _0x181357=_0x34455a;if(_0x4df3fd instanceof ArrayBuffer&&(_0x4df3fd=new Uint8Array(_0x4df3fd)),(_0x4df3fd instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4df3fd instanceof Uint8ClampedArray||_0x4df3fd instanceof Int16Array||_0x4df3fd instanceof Uint16Array||_0x4df3fd instanceof Int32Array||_0x4df3fd instanceof Uint32Array||_0x4df3fd instanceof Float32Array||_0x4df3fd instanceof Float64Array)&&(_0x4df3fd=new Uint8Array(_0x4df3fd[_0x181357(0x1e6)],_0x4df3fd[_0x181357(0x1f7)],_0x4df3fd[_0x181357(0x441)])),_0x4df3fd instanceof Uint8Array){for(var _0x2bd4e0=_0x4df3fd[_0x181357(0x441)],_0x30ca77=[],_0x3497ea=0x0;_0x3497ea<_0x2bd4e0;_0x3497ea++)_0x30ca77[_0x3497ea>>>0x2]|=_0x4df3fd[_0x3497ea]<<0x18-_0x3497ea%0x4*0x8;_0x4dc41e['call'](this,_0x30ca77,_0x2bd4e0);}else _0x4dc41e[_0x181357(0x32d)](this,arguments);};_0x3c3b73[_0x34455a(0x3b3)]=_0x25e498;}}()),_0x6e0b69['lib'][_0x5cfcfb(0x31e)];}));}(Re)),Re['exports'];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe['exports'],ot;function Xi(){var _0xab123=_0x199ec4;return ot||(ot=0x1,function(_0x5675a9,_0x5468bf){(function(_0x4310c5,_0x4fe5f3,_0xc0d39){var _0x3d6adf=_0x3c30;_0x5675a9[_0x3d6adf(0x4ce)]=_0x4fe5f3(Q(),Ut());}(Ji,function(_0x43dd95){var _0x534763=_0x3c30;return _0x43dd95[_0x534763(0x2dd)][_0x534763(0x404)]={'pad':function(){},'unpad':function(){}},_0x43dd95[_0x534763(0x2dd)][_0x534763(0x404)];}));}(Oe)),Oe[_0xab123(0x4ce)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x2875d4,_0x3a7822){var _0xbe404b=_0x199ec4;const _0x445076=_0x3a7822-_0x2875d4['length']%_0x3a7822,_0xb71bd0=String['fromCharCode'](_0x445076)[_0xbe404b(0x49a)](_0x445076);return _0x2875d4+_0xb71bd0;}function tn(_0xb0a698,_0x358b4c){var _0x3c8621=_0x199ec4;const _0x389a89=zi['random'](0x10),_0x39f20e=en(_0xb0a698,0x10),_0x3923a9=ji[_0x3c8621(0x3c8)](Gi['parse'](_0x39f20e),nt['parse'](_0x358b4c),{'iv':_0x389a89,'padding':Qi});return _0x389a89[_0x3c8621(0x18f)](_0x3923a9[_0x3c8621(0x19b)])[_0x3c8621(0x471)](nt);}function nn(){var _0x3985dc=_0x199ec4;const _0x5c0567=wt['getGlobalObject']()[_0x3985dc(0x37b)];if(_0x5c0567){const _0x493469={'time':Math['floor'](Date[_0x3985dc(0x4c3)]()/0x3e8),'domain':location[_0x3985dc(0x3fd)]};return tn(JSON[_0x3985dc(0x3b7)](_0x493469),_0x5c0567);}}var rn=Object[_0x199ec4(0x244)],sn=(_0x1c7cf7,_0x45e070,_0x402f8e,_0x4cb0b1)=>{var _0x573442=_0x199ec4;for(var _0x3bb2f1=_0x4cb0b1>0x1?void 0x0:_0x4cb0b1?rn(_0x45e070,_0x402f8e):_0x45e070,_0x4fe0fa=_0x1c7cf7[_0x573442(0x418)]-0x1,_0x25c360;_0x4fe0fa>=0x0;_0x4fe0fa--)(_0x25c360=_0x1c7cf7[_0x4fe0fa])&&(_0x3bb2f1=_0x25c360(_0x3bb2f1)||_0x3bb2f1);return _0x3bb2f1;},on=(_0x5cef3e,_0x2ccd32)=>(_0x4f87cf,_0x1b0dfd)=>_0x2ccd32(_0x4f87cf,_0x1b0dfd,_0x5cef3e);let Ne=class{constructor(_0x10441d){var _0x62f180=_0x199ec4;this[_0x62f180(0x44a)]=_0x10441d,this['_initRequestHeader']();}[_0x199ec4(0x315)](){var _0xd31ec7=_0x199ec4;this[_0xd31ec7(0x44a)][_0xd31ec7(0x449)]({'interceptor':(_0x3af058,_0x2dc810)=>{var _0x1ea148=_0xd31ec7;const _0x278eea=_0x3af058['headers'],_0x1ddaa7=nn();return _0x1ddaa7&&_0x278eea[_0x1ea148(0x3ac)](_0x1ea148(0x340),_0x1ddaa7),_0x2dc810(_0x3af058);}});}};Ne=sn([on(0x0,a[_0x199ec4(0x2b7)](Y[_0x199ec4(0x375)]))],Ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x80da48,_0x309cac,_0x40b32b,_0x31fb5b)=>{var _0x3b8251=_0x199ec4;for(var _0x35770a=_0x31fb5b>0x1?void 0x0:_0x31fb5b?an(_0x309cac,_0x40b32b):_0x309cac,_0x3da152=_0x80da48[_0x3b8251(0x418)]-0x1,_0x1936ae;_0x3da152>=0x0;_0x3da152--)(_0x1936ae=_0x80da48[_0x3da152])&&(_0x35770a=_0x1936ae(_0x35770a)||_0x35770a);return _0x35770a;},we=(_0x1d9dae,_0x534f3f)=>(_0x77a2bc,_0x19e192)=>_0x534f3f(_0x77a2bc,_0x19e192,_0x1d9dae);exports[_0x199ec4(0x486)]=class extends a['RxDisposable']{constructor(_0x5bc84e,_0x565cc0,_0x122a06){var _0x58cb56=_0x199ec4;super(),A(this,'_unitInfo$',new $['BehaviorSubject'](null)),A(this,_0x58cb56(0x41c),this[_0x58cb56(0x257)]['asObservable']()),(this[_0x58cb56(0x309)]=_0x5bc84e,this[_0x58cb56(0x24a)]=_0x565cc0,this['_localCacheService']=_0x122a06);}async[_0x199ec4(0x355)](_0x314509,_0x22db20,_0x43eb0d){var _0x2bcc0d=_0x199ec4;this['_unitInfo$'][_0x2bcc0d(0x1b3)]({'unitId':_0x314509,'type':_0x22db20});let _0xe9261=null;switch(_0x22db20){case J[_0x2bcc0d(0x31a)]:{_0xe9261=await this['_snapshotService']['loadSheet'](_0x314509,_0x43eb0d);break;}case J[_0x2bcc0d(0x3fc)]:{_0xe9261=await this[_0x2bcc0d(0x24a)][_0x2bcc0d(0x228)](_0x314509,_0x43eb0d);break;}default:{this[_0x2bcc0d(0x309)]['error'](_0x2bcc0d(0x3b9),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0xe9261;}async[_0x199ec4(0x390)](_0x552b23,_0x460264,_0x35c214){var _0x568c2d=_0x199ec4,_0x438226;this[_0x568c2d(0x257)]['next']({'unitId':_0x552b23,'type':_0x460264,'subUnitId':_0x35c214});let _0x1826e9=0x0;const _0x1d2943=await((_0x438226=this[_0x568c2d(0x33c)])==null?void 0x0:_0x438226[_0x568c2d(0x27a)](_0x552b23));return _0x1d2943&&(_0x1d2943[_0x568c2d(0x209)]||_0x1d2943[_0x568c2d(0x36c)]['length']!==0x0)&&(_0x1826e9=_0x1d2943[_0x568c2d(0x1dd)]),_0x1826e9===0x0&&this['_logService'][_0x568c2d(0x1d1)](_0x568c2d(0x3b9),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x568c2d(0x355)](_0x552b23,_0x460264,_0x1826e9);}},exports[_0x199ec4(0x486)]=cn([we(0x0,a[_0x199ec4(0x37e)]),we(0x1,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x480)])),we(0x2,a[_0x199ec4(0x341)](q))],exports[_0x199ec4(0x486)]);var hn=Object[_0x199ec4(0x244)],_n=(_0x1df529,_0x3412ea,_0x26c1dc,_0xaa944b)=>{var _0x3f9a58=_0x199ec4;for(var _0x36d4d5=_0xaa944b>0x1?void 0x0:_0xaa944b?hn(_0x3412ea,_0x26c1dc):_0x3412ea,_0x361f08=_0x1df529[_0x3f9a58(0x418)]-0x1,_0x39fa45;_0x361f08>=0x0;_0x361f08--)(_0x39fa45=_0x1df529[_0x361f08])&&(_0x36d4d5=_0x39fa45(_0x36d4d5)||_0x36d4d5);return _0x36d4d5;},Le=(_0x4b1e00,_0x59b4a5)=>(_0x8db971,_0x4effdb)=>_0x59b4a5(_0x8db971,_0x4effdb,_0x4b1e00);const ln=[_0x199ec4(0x4bf),_0x199ec4(0x225),_0x199ec4(0x460),_0x199ec4(0x28e),_0x199ec4(0x245)],un=0x5*0x400*0x400,dn=_0x199ec4(0x2b2),vn=_0x199ec4(0x1e5),Sn=_0x199ec4(0x192),fn=_0x199ec4(0x359);exports[_0x199ec4(0x333)]=class{constructor(_0x551002,_0x3a5dae,_0x292bd8){var _0x2d585b=_0x199ec4;A(this,_0x2d585b(0x347),0x0),A(this,_0x2d585b(0x29b),new $[(_0x2d585b(0x215))]()),A(this,'change$',this[_0x2d585b(0x29b)]),A(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x551002,this['_configService']=_0x3a5dae,this['_univerInstanceService']=_0x292bd8);}[_0x199ec4(0x205)](_0x29eda2){var _0x32ae9b=_0x199ec4;this['_waitCount']=_0x29eda2,this[_0x32ae9b(0x29b)][_0x32ae9b(0x1b3)](_0x29eda2);}[_0x199ec4(0x495)](_0x145f63,_0xc4a4a9){var _0x4472e9=_0x199ec4;if(_0xc4a4a9===z[_0x4472e9(0x38d)][_0x4472e9(0x4d9)]){const _0x1f696e=new Image();return _0x1f696e[_0x4472e9(0x428)]=_0x145f63,_0x1f696e;}return this[_0x4472e9(0x2ab)]['get'](_0x145f63);}['addImageSourceCache'](_0x5b1541,_0x427a84,_0x4cca00){var _0x3ca7fa=_0x199ec4;_0x427a84===z['ImageSourceType'][_0x3ca7fa(0x4d9)]||_0x4cca00==null||this[_0x3ca7fa(0x2ab)]['set'](_0x5b1541,_0x4cca00);}async['getImage'](_0xc16431){var _0x5c24b6=_0x199ec4;try{const _0x32f1a9=this[_0x5c24b6(0x4a7)](this[_0x5c24b6(0x4ee)](),''+_0xc16431),_0xf97c8=(await this[_0x5c24b6(0x44a)][_0x5c24b6(0x25b)](_0x32f1a9))[_0x5c24b6(0x174)];if(_0xf97c8['error']&&_0xf97c8['error'][_0x5c24b6(0x3e4)]===gt['OK']){const _0x3f1b77=new URL(_0xf97c8['url'],this[_0x5c24b6(0x3bb)]())[_0x5c24b6(0x471)]();return Promise[_0x5c24b6(0x1f5)](_0x3f1b77);}return Promise[_0x5c24b6(0x4bd)](_0xf97c8['error']);}catch(_0xa91cb5){return Promise[_0x5c24b6(0x4bd)](_0xa91cb5);}}async[_0x199ec4(0x2b0)](_0x21d71a){var _0x5de76d=_0x199ec4;let _0x4f7e7c='';if(!ln[_0x5de76d(0x2f8)](_0x21d71a[_0x5de76d(0x4c6)]))return this['_decreaseWaiting'](),Promise[_0x5de76d(0x4bd)](new Error(z[_0x5de76d(0x30f)]['ERROR_IMAGE_TYPE']));if(_0x21d71a[_0x5de76d(0x1e8)]>un)return this[_0x5de76d(0x34b)](),Promise['reject'](new Error(z[_0x5de76d(0x30f)]['ERROR_EXCEED_SIZE']));try{const _0x3f76aa=new FormData();_0x3f76aa[_0x5de76d(0x4ec)](_0x5de76d(0x4dd),_0x21d71a);const _0x43589d=this[_0x5de76d(0x385)][_0x5de76d(0x3d9)](),_0x5b9584=_0x43589d==null?void 0x0:_0x43589d[_0x5de76d(0x424)]();if(!_0x5b9584)throw new Error(_0x5de76d(0x1bd));const _0x2986c1=this[_0x5de76d(0x1c6)]()+_0x5de76d(0x32e)+_0x21d71a[_0x5de76d(0x1e8)][_0x5de76d(0x471)]()+'&source='+Et[_0x5de76d(0x30a)]+_0x5de76d(0x1d2)+encodeURIComponent(_0x5b9584),_0x5aafea={'body':_0x3f76aa},_0x545994=(await this[_0x5de76d(0x44a)][_0x5de76d(0x30e)](_0x2986c1,_0x5aafea))[_0x5de76d(0x174)];if(typeof _0x545994[_0x5de76d(0x41e)]!=_0x5de76d(0x25d))return this['_decreaseWaiting'](),Promise[_0x5de76d(0x4bd)](new Error(z[_0x5de76d(0x30f)][_0x5de76d(0x4a8)]));_0x4f7e7c=_0x545994[_0x5de76d(0x41e)];}catch{return this[_0x5de76d(0x34b)](),Promise['reject'](new Error(z[_0x5de76d(0x30f)][_0x5de76d(0x4a8)]));}return new Promise((_0x2687e2,_0x549da4)=>{var _0x197681=_0x5de76d;const _0x4bfb70=new FileReader();_0x4bfb70['readAsDataURL'](_0x21d71a),_0x4bfb70[_0x197681(0x3f8)]=_0x54a9c8=>{var _0x4b981b=_0x197681,_0x4e0284;const _0x140b7c=(_0x4e0284=_0x54a9c8[_0x4b981b(0x1c1)])==null?void 0x0:_0x4e0284[_0x4b981b(0x20b)];if(_0x140b7c==null){this['_decreaseWaiting'](),_0x549da4(new Error(z[_0x4b981b(0x30f)][_0x4b981b(0x4a8)]));return;}const _0x2a3b05=a[_0x4b981b(0x4b6)][_0x4b981b(0x289)](0x6);_0x2687e2({'imageId':_0x2a3b05,'imageSourceType':z[_0x4b981b(0x38d)][_0x4b981b(0x175)],'source':_0x4f7e7c,'base64Cache':_0x140b7c,'status':z[_0x4b981b(0x30f)]['SUCCUSS']}),this[_0x4b981b(0x34b)]();};});}[_0x199ec4(0x1c6)](){var _0x1a9a4e=_0x199ec4,_0x247ac6,_0x4051b0;const _0x2dc841=this[_0x1a9a4e(0x44e)]['getConfig'](dn),_0x320d80=this[_0x1a9a4e(0x44e)][_0x1a9a4e(0x2d8)](K);return(_0x4051b0=(_0x247ac6=_0x320d80==null?void 0x0:_0x320d80[_0x1a9a4e(0x1c2)])!=null?_0x247ac6:_0x2dc841)!=null?_0x4051b0:vn;}[_0x199ec4(0x4ee)](){var _0x55c2f8=_0x199ec4,_0x1976e3,_0xc63aa;const _0x1b4bda=this[_0x55c2f8(0x44e)][_0x55c2f8(0x2d8)](Sn),_0x2e18b3=this['_configService'][_0x55c2f8(0x2d8)](K);return(_0xc63aa=(_0x1976e3=_0x2e18b3==null?void 0x0:_0x2e18b3[_0x55c2f8(0x2a4)])!=null?_0x1976e3:_0x1b4bda)!=null?_0xc63aa:fn;}[_0x199ec4(0x3bb)](){var _0x3e61fe=_0x199ec4,_0x168a4d;const _0x2918bc=this[_0x3e61fe(0x44e)][_0x3e61fe(0x2d8)](K);return(_0x168a4d=_0x2918bc==null?void 0x0:_0x2918bc[_0x3e61fe(0x1a3)])!=null?_0x168a4d:location[_0x3e61fe(0x29e)];}[_0x199ec4(0x4a7)](_0x3bee91,_0x519fce){var _0x4cc84a=_0x199ec4;return _0x3bee91[_0x4cc84a(0x4e1)](_0x4cc84a(0x346),_0x519fce);}[_0x199ec4(0x34b)](){var _0x41059d=_0x199ec4;this[_0x41059d(0x347)]-=0x1,this[_0x41059d(0x29b)]['next'](this[_0x41059d(0x347)]);}},exports['CollaborationImageIoService']=_n([Le(0x0,a[_0x199ec4(0x2b7)](Y[_0x199ec4(0x375)])),Le(0x1,a[_0x199ec4(0x3e7)]),Le(0x2,a['Inject'](a[_0x199ec4(0x1ec)]))],exports[_0x199ec4(0x333)]);var pn=Object['getOwnPropertyDescriptor'],In=(_0xe797e5,_0x36ea02,_0x3a3484,_0x462cd8)=>{for(var _0x2067cd=_0x462cd8>0x1?void 0x0:_0x462cd8?pn(_0x36ea02,_0x3a3484):_0x36ea02,_0x34bc92=_0xe797e5['length']-0x1,_0x80c3e;_0x34bc92>=0x0;_0x34bc92--)(_0x80c3e=_0xe797e5[_0x34bc92])&&(_0x2067cd=_0x80c3e(_0x2067cd)||_0x2067cd);return _0x2067cd;},at=(_0x49c6ac,_0x2bef48)=>(_0x14828c,_0x1adeaa)=>_0x2bef48(_0x14828c,_0x1adeaa,_0x49c6ac);const gn=_0x199ec4(0x321);exports[_0x199ec4(0x368)]=class{constructor(_0x2b6e15,_0x4c6d74){this['_configService']=_0x2b6e15,this['_HTTPService']=_0x4c6d74;}[_0x199ec4(0x3e3)](){var _0x398a74=_0x199ec4,_0xa3735f,_0x1df723;const _0x21b4fa=this[_0x398a74(0x44e)]['getConfig'](Ve),_0x15c676=this[_0x398a74(0x44e)][_0x398a74(0x2d8)](K);return(_0x1df723=(_0xa3735f=_0x15c676==null?void 0x0:_0x15c676['authzUrl'])!=null?_0xa3735f:_0x21b4fa)!=null?_0x1df723:gn;}async[_0x199ec4(0x3ca)](_0x25b106){var _0x10add5=_0x199ec4;const _0x5b67d2=this[_0x10add5(0x3e3)]()+'/collaborator';return{'list':[{'title':_0x10add5(0x31c),'mentions':(await this[_0x10add5(0x25f)][_0x10add5(0x25b)](_0x5b67d2,{'params':{'objectID':_0x25b106[_0x10add5(0x207)],'unitID':_0x25b106[_0x10add5(0x207)]}}))[_0x10add5(0x174)][_0x10add5(0x2a9)][_0x10add5(0x369)](_0x1a5404=>({'objectId':_0x1a5404['id'],'name':_0x1a5404['subject'][_0x10add5(0x357)],'metadata':{'icon':_0x1a5404[_0x10add5(0x473)]['avatar']},'label':_0x1a5404[_0x10add5(0x473)][_0x10add5(0x357)],'objectType':a[_0x10add5(0x1b9)][_0x10add5(0x3e6)]})),'metadata':{},'type':a[_0x10add5(0x1b9)][_0x10add5(0x3e6)]}]};}},exports[_0x199ec4(0x368)]=In([at(0x0,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x3e7)])),at(0x1,a[_0x199ec4(0x2b7)](Y[_0x199ec4(0x375)]))],exports['MentionIoHttpService']);var En=Object[_0x199ec4(0x244)],mn=(_0x4f31cb,_0x2ee666,_0x2fcdc3,_0x5b7861)=>{var _0x27bfcc=_0x199ec4;for(var _0x44cd99=_0x5b7861>0x1?void 0x0:_0x5b7861?En(_0x2ee666,_0x2fcdc3):_0x2ee666,_0x66ec4a=_0x4f31cb[_0x27bfcc(0x418)]-0x1,_0x28e291;_0x66ec4a>=0x0;_0x66ec4a--)(_0x28e291=_0x4f31cb[_0x66ec4a])&&(_0x44cd99=_0x28e291(_0x44cd99)||_0x44cd99);return _0x44cd99;},le=(_0x197b9b,_0x2b6c45)=>(_0x55f889,_0x33cbeb)=>_0x2b6c45(_0x55f889,_0x33cbeb,_0x197b9b);let Ue=class extends a[_0x199ec4(0x4c2)]{constructor(_0x16d916,_0x3000a1,_0x1e44bf,_0x54e06b,_0x1c7e2e){var _0x2c7898=_0x199ec4;super(),this['_injector']=_0x16d916,this[_0x2c7898(0x385)]=_0x3000a1,this[_0x2c7898(0x476)]=_0x1e44bf,this[_0x2c7898(0x498)]=_0x54e06b,this[_0x2c7898(0x4d2)]=_0x1c7e2e,this[_0x2c7898(0x4c9)](),this['_initCloseConn']();}[_0x199ec4(0x254)](){var _0x1037ef=_0x199ec4;const _0x50a1f0=async _0x4a3b86=>{var _0xefe35a=_0x3c30;(await this[_0xefe35a(0x498)][_0xefe35a(0x3f6)](_0x4a3b86))[_0xefe35a(0x20f)][_0xefe35a(0x4ae)](V[_0xefe35a(0x389)](_0x4d3b88=>_0x4d3b88[_0xefe35a(0x4f2)]===I['CollaborationEvent'][_0xefe35a(0x401)]),V[_0xefe35a(0x38a)](this['dispose$']))[_0xefe35a(0x483)](_0x3def1b=>{var _0xfea380=_0xefe35a;const _0x1f74e7=_0x3def1b,{reason:_0x4da71a}=_0x1f74e7[_0xfea380(0x280)];this[_0xfea380(0x4d2)][_0xfea380(0x35f)]({'id':Z[_0xfea380(0x39f)],'data':_0x4da71a}),this[_0xfea380(0x476)][_0xfea380(0x185)](new X[(_0xfea380(0x332))](_0x4a3b86)['id'],!0x1),this[_0xfea380(0x498)]['closeSession'](_0x4a3b86);});};$['merge'](this[_0x1037ef(0x385)][_0x1037ef(0x2a7)](a[_0x1037ef(0x223)][_0x1037ef(0x31a)]),this[_0x1037ef(0x385)][_0x1037ef(0x2a7)](a[_0x1037ef(0x223)]['UNIVER_DOC']))[_0x1037ef(0x4ae)](V[_0x1037ef(0x369)](_0x4dc227=>_0x4dc227[_0x1037ef(0x424)]()),V['filter'](_0x437683=>!a[_0x1037ef(0x4ad)](_0x437683)),V[_0x1037ef(0x38a)](this[_0x1037ef(0x194)]))[_0x1037ef(0x483)](_0x52cc99=>{_0x50a1f0(_0x52cc99);});}[_0x199ec4(0x4c9)](){var _0x15e6b5=_0x199ec4;const _0x271516=async _0x47f2d4=>{var _0x2766fa=_0x3c30;const _0x5667c7=await this[_0x2766fa(0x498)][_0x2766fa(0x3f6)](_0x47f2d4),_0xcff8c3=this['_injector'][_0x2766fa(0x25b)](X[_0x2766fa(0x3f5)]);_0x5667c7[_0x2766fa(0x20f)]['pipe'](V[_0x2766fa(0x389)](_0x4e9c16=>_0x4e9c16[_0x2766fa(0x4f2)]===I['CollaborationEvent'][_0x2766fa(0x397)]),V['takeUntil'](this[_0x2766fa(0x194)]))['subscribe'](_0x58968e=>{var _0x45d288=_0x2766fa;const _0x525442=_0x58968e,{objectId:_0x5846ef}=_0x525442[_0x45d288(0x280)];_0x5846ef===_0x47f2d4?_0xcff8c3[_0x45d288(0x32b)](_0x47f2d4):_0xcff8c3[_0x45d288(0x3cf)](_0x47f2d4,_0x5846ef);});};$[_0x15e6b5(0x45e)](this[_0x15e6b5(0x385)]['getTypeOfUnitAdded$'](a[_0x15e6b5(0x223)][_0x15e6b5(0x31a)]))[_0x15e6b5(0x4ae)](V[_0x15e6b5(0x369)](_0x308d8f=>_0x308d8f[_0x15e6b5(0x424)]()),V[_0x15e6b5(0x389)](_0x203fc1=>!a[_0x15e6b5(0x4ad)](_0x203fc1)),V[_0x15e6b5(0x38a)](this[_0x15e6b5(0x194)]))[_0x15e6b5(0x483)](_0x30747b=>{_0x271516(_0x30747b);});}};function _0x3d52(){var _0x59499e=['/universer-api/snapshot/','not_collab','_configService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_transformIMECache','join','putCollaborators','_roomCreated$','_clearRedo','Disposable','_queuedRemoteChangesets','AUTHZ_URL_KEY','_schedule','ALREADY_EXISTS','_changesetReqId','snapshot','href','getMemberID','merge','sessionStatus','image/jpg','delay','_prevBlock','IUndoRedoService','1056765IxvAYh','save\x20fail\x20reason\x20is\x20','allowed','_createHmacHelper','toDisposable','FAIL','stopTime','startsWith','_parse','_data','SessionStatus','collaboration-client.config','removeMember','toString','/object/','subject','send','originalMeta','_permissionService','encode','getRoom','substr','pauseCollaboration','symbol','_stopTelemetryCollaborationNewChangeset','_toggleOffline','@univerjs/drawing','_submitChangeset','SnapshotService','salt','shouldCloseConn','subscribe','onRemoteAck','_onRemoteACK','DataLoaderService','SUBMIT_CHANGESET','getUnit','_getCtorByUniverType','JOIN_ROOM_NOT_EXISTS','clamp','HttpExport','HttpImport','_keyPriorReset','_oKey','isArray','_hash','RECV','padding','parse','getImageSourceCache','ILocalCacheService','Workbook','_collaborationSessionService','Base64','repeat','close','YUUMI_ASYNCIO_CANCELLED','SyncedState','CommentService','_transitionLocked','CollaborationEvent','LIVESHARE_OPERATION','ISnapshotServerService','_sessionStatus$','YUUMI_SUBSCRIPTION_NOT_FOUND','hasOwnProperty','UniverCollaborationPlugin','_replaceFileID','ERROR_IMAGE','ITransformService','_doProcessBlock','HmacSHA1','c2Prime','isInternalEditorID','pipe','error','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','2734eajSRR','take','abs','CBC','Tools','getSheetId','RichTextEditingMutation','_awaitingChangeset','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','charCodeAt','slice','reject','_collaborationPaused','image/png','hasher','offline','RxDisposable','now','_clearScheduledTask','ITelemetryService','type','_handlerCallback','FETCH_MISSING','_initUnitPermissionChange','PasswordBasedCipher','NEW_CHANGESETS','EvpKDF','_socketService','exports','push','CollaborationController','_createHelper','_collaborationUIEventService','listRoles','indexOf','_sheetTransformSelectionsService','INTERNAL_ERROR','_collabSessionService','LocalUndoRedoService','BASE64','_keySchedule','forEach','create','file','[CollaborationSession]','action','executeCommand','replace','_append','CommandType','equals','YUUMI_RATE_OVER_LIMIT','APPLY_NON_SEQUENTIAL_REVISION','[CollaborationEntity]','_createInitialStateImpl','_checkMissing','add','UserProfileImg','append','reconnect','_getSignURL','SUBMIT_CHANGESET_TIMEOUT','encodeURIComponent','UPDATE_CURSOR','eventID','body','UUID','liveShareOperation','unsubscribe','INVITE_CODE_HAS_BEEN_UES','_key','changesets','POST','/-/object/list','LICENSE_DISTRO_REJECTED','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','Hex','toggleOnline','clear','session.room-permission-denied','UNIVER_UNKNOWN','routeKey','updatePermissionPoint','_transformRemoteChangesetByIMECache','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','members','_snapshotServerService','ONLINE','HEARTBEAT','APPLY_PERMISSION_DENIED','objectID','/allowed','concat','[SyncedState]:\x20received\x20rejection.','submit\x20changeset\x20error!','EXCHANGE_SIGN_URL_SERVER_URL_KEY','confirm','dispose$','BehaviorSubject','updateSnapshot','deserializeToCombResponse','isPermissionRej','b64DecodeUnicode','getSheetBlock','ciphertext','unknown','compute','CollaborativeUndoRedoService','message$','touchDependencies','_clearRetryConnectingTimer','TOO_MANY_REQUESTS','downloadEndpointUrl','SOCKET_FAILED','CollaborationUIEventId','registerDependencies','localeService','UNIVER_SLIDE','iterations','OpenSSL','awaiting','JOINING','onSyncEditingCollabCursor','getCurrentUser','SOCKET_FAILED_RETRY','Base','_onConflict','keySize','next','mergeOverrideWithDependencies','onlyLocal','unpad','sin','words','MentionType','addHandlerCallback','CHANGESET_SHOULD_RETRY','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','unitId\x20is\x20not\x20found','YUUMI_ALL_TABLES_IS_INVALID','_clearHeartbeatTimer','PSEUDO_FETCH_MISSING_RESULT','target','uploadFileServerUrl','/block/','fetch_missing','CollaborationStatus','_getUploadFileURL','collaMsg','memberID','fetchMiss','731800NimVFn','call','rxjs','complete','commentUpdate$','_fetchMissChangesets','IPermissionService','debug','&assign=','[UniverCollaborationClientPlugin]','HEARTBEAT_TIMEOUT','has','COMPRESS_MUTATION_SEND','close$','_updateLocalCache','PERMISSION_REJ','_clearCollaborationTimeoutTimer','Module','_telemetryService','rev','/universer-api/oidc/authpage','BlockCipher','fromCollab','SheetCollaborationEntity','SNAPSHOT_INVALID_SNAPSHOT','getCollabEntity','onCommandExecuted','/universer-api/stream/file/upload','buffer','OTHER_CLIENT_EDITING','size','AES','DEFAULT_FILE_NAME','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','IUniverInstanceService','updateCollaborator','reqId','UnitSnapshot','_emitMembers','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','SNAPSHOT_HAS_BEEN_REMOVED','_isPermissionRej','_minBufferSize','resolve','setCurrentUser','byteOffset','LICENSE_MAX_UNITS_EXCEEDED','_startTelemetryCollaborationNewChangeset','title','_tryReconnect','INVALID_ARGUMENT','1558299bQZjEO','_transformSelections','onRemoteChangeset','createIdentifier','_applyRemoteChangeset','transformMutationsWithChangeset','_userManagerService','LocaleService','setWaitCount','asObservable','unitId','values','awaitingChangeset','fromCharCode','result','focused$','state','COMPLETION_FINISHED','event$','enc','ThresholdInterceptorFactory','COLLAB_WEB_SOCKET_URL_KEY','enableOfflineEditing','from','Subject','[OfflineState]:\x20received\x20rejection.','onMissedChangesetFetched','\x0aCurrent:\x20','_getUndoStack','_onRemoteRejected','_sendingTimer','_remoteChangesetQueue','getTypeOfUnitDisposed$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','readInt32LE','LEAVE','_onJoinRoomEvent','/resources','UniverInstanceType','Failed\x20to\x20update\x20permission\x20point','image/jpeg','connection\x20error','_retryCount','loadDoc','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getUnitOnRev','error$','sid','isTransformMutationsWithChangesetSuccess','transformChangesets','IImageIoService','workbook','catch','JOIN','isTransformMutationsWithChangesetFailure','univer-pro.collaboration-client.single-active-unit-service','MemberService','Injector','_scheduleCompleteTimestamp','baseRev','delete','HTTPRequest','2400453KxXNpX','LIVESHARE_TERMINATE','selections','INVITE_CODE_REQUIRED','COMPRESS_MUTATION_APPLY','OTHER_CLIENTS_EDITING','responseType','ISingleActiveUnitService','duration','getOwnPropertyDescriptor','image/bmp','PendingState','sendChangesetTimeout','format','HEARTBEAT_TIMEOUT_KEY','_snapshotService','CollaborationUIEventService','getSnapshotAPIPath','csShouldRetryEvent','JOIN_ROOM_FAILED','APPLY_REVISION_CONFILICT','BufferedBlockAlgorithm','isTransformChangesetsSuccess','JOIN_ROOM_PERMISSION_DENIED','_acknowledgedAwaitingChangeset','_initCloseConn','USERS_ENTER','PERMISSION_DENIED','_unitInfo$','cfg','ivSize','awaiting_with_pending','get','_status$','string','finalize','_HTTPService','capture','IContextService','crypto','_sessions','_sendHeartbeatTimer','createEncryptor','$super','UNAUTHENTICATED','/universer-api/comb','UNIVER_COLLABORATION_CLIENT_PLUGIN','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','synced','_sender','_onRecvEvent','/unit/','AuthzIoHttpService','getTime','getUnitStatus$','then','createSocket','_transformUndoredo','MUTATION','decrypt','_rescheduleHeartbeat','_lockTransition','kdf','loadOfflineData','cmd','_substituteRedoStack','BlockCipherMode','_onFetchMissResult','_singleActiveUnitService','data','getInterceptPoints','incrementRevOfUnit','@univerjs/core','every','algo','_replayCachedMutations','/collaborator','_iKey','generateRandomId','uniscriptRunEvent','collabSubmitChangesetUrl','_retryConnectingTimer','_executeRemoteChangeset','image/gif','COLLAB_SUBMIT_CHANGESET_URL','status$','function','DEFAULT_WS_SESSION_TICKET_URL','DEFAULT_COLLAB_WEB_SOCKET_URL','_iv','[CollaborationSessionService]:\x20socket\x20error','ICommandService','_showConflictNotification','_clearTimeoutTimer','update','sessionStatus$','_change$','_hasher','headers','origin','_doCryptBlock','univer-pro.collaboration-client-socket-service','uuidv4','CHANGESET_ACK','_eventService','signUrlServerUrl','_entities','USER_NOT_INVITED_CODE','getTypeOfUnitAdded$','state$','collaborators','setConfig','_imageSourceCache','_config','_waitForHeartbeatResponse','find','floor','saveImage','_transformRemoteChangesetByStateCache','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CONNECTOR_DATA_TOO_LARGE','[SyncedState]:\x20received\x20acknowledgement.','_resendTimeout','Inject','onRemoteRetry','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','newCsEvent','permissionRejEvent','updateCursorEvent','csRejEvent','enableSingleActiveInstanceLock','_sendHeartbeat','SnapshotServerOverHTTPService','SEND_CHANGESET_TIMEOUT','_undoRedoService','@univerjs/network','_removeRoom','resend','SHA1','_onConnectionFailed','listCollaborators','_xformMode','_members','[PendingState]:\x20received\x20rejection.','_clearUndo','getValue','sequenceExecute','_candidateSocket','@univerjs-pro/license','_socket','_doReset','APPLY_REJECT','@univerjs/telemetry','_entityInit$','CipherParams','toggleOffline','getConfig','deleteCollaborator','getLocalCacheKey','OfflineState','interceptor','pad','_telemetryInfo','unitID','_localeService','JOIN_ROOM_FULL','override','_socketReady','LICENSE_IMPORT_SIZE_EXCEEDED','[CollaborationUndoRedoService]','?url=','SYNCED','[OfflineState]:\x20received\x20acknowledgement.','firstValueFrom','DocCollaborationEntity','retryConnectingInterval','UNKNOWN_CODE','_injector','Error\x20on\x20receiving\x20event','_updateStatus','_toggleOnline','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_memberService','IDLE','YUUMI_AI_RUN_FAILED','CollaborationSessionService','_exhaustRemoteChangesetQueue','onSendChangeset','includes','put','_roomMembers','_resendTimer','extend','__creator','onTransformRemoteChangesetByIMECache','dispose','compose','_incrementRevisionNumber','serializeCombRequest','_unitID','_joinRoom','INVALID_INVITE_CODE','_state$','SNAPSHOT_URL_KEY','_timeoutTimer','_logService','UnitEmbedded','loginUrlKey','NOT_COLLAB','ceil','post','ImageUploadStatusType','LIVESHARE_REQUEST_HOST','MD5','_transformStateCache','_onConnectionOpen','COLLAB_SUBMIT_CHANGESET_URL_KEY','_initRequestHeader','PENDING','\x20-\x20','_onMessage','__esModule','UNIVER_SHEET','LOGIN_URL_KEY','People','formatter','WordArray','_pendingMutations','onRemoteRej','/universer-api/authz','roomInfos','_type','_transformService','CollaborationSession','UniverCollaborationClientPlugin','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_state','INVITE_CODE_ALREADY_BOUND','socket$','initWorkbookPermissionChange','entries','apply','?size=','_commentUpdate$','_nDataBytes','UNKNOWN_CMD','WorkbookEditablePermission','CollaborationImageIoService','_onLocalMutation','UNRECOGNIZED','_listenToNetworkCondition','ISocketService','copyFileMeta','79lcIytD','_cipher','open$','_localCacheService','onTransformIME','ConflictState','method','x-univer-host','Optional','_undoStacks','entityInit$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_reverseMap','{fileID}','_waitCount','_map','actions','mode','_decreaseWaiting','key','msCrypto','CollaborationSocketService','conflict','random','AwaitingWithPendingState','APPLY_DUPLICATED','members$','readyForCollab','loadUnitOfRevision','_getAPIPrefix','name','YUUMI_UNABLE_LOAD_URL','/universer-api/file/{fileID}/sign-url','createDecryptor','Encryptor','IAuthzIoService','session.room-full','_onRemoteChangeset','emitEvent','NO_OTHER_CLIENTS_EDITING','m2Prime','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','textEncoder','auth.needGotoLoginAlert','CONFLICT','default','_revisionService','MentionIoHttpService','map','73952mVzwas','_handler','mutations','_onRemoteRetry','_syncEditingCollabCursor','min','_commentService','updateMember','EMAIL_HAS_BEEN_BOUND','telemetry\x20info\x20is\x20not\x20initialized','LOCAL_CACHE_INTERVAL_KEY','HTTPService','PY_RUNTIME_SCRIPT_ERROR','reduce','GLOBAL_ROOMS_CNT_EXCEEDS','objectActions','_init','__Key__','_process','execute','ILogService','_substituteUndoStack','onMissingChangesets','Utf8','_initMergeInterceptor','_mode','Undefined','_univerInstanceService','status','182rlnueM','fetchThroughInterceptors','filter','takeUntil','_unlockTransition','blockSize','ImageSourceType','NOT_FOUND','_compressMutationService','loadUnit','fetchMissingChangesets','session.room-cnt-exceeds','_getCurrentRevision','SetSelectionsOperation','CollaborationEntity','RevisionService','UPDATE_PERMISSION_OBJ','pending','updateOfflineData','_collaborationTimeoutTimer','encryptBlock','_shouldReportTelemetry','_getLoginPath','Hasher','CLOSE_ROOM','authzUrl','saveChangeset','_clearLocalCache','HMAC','SNAPSHOT_SERVER_URL_KEY','Univer','init','createInstance','RETRY_CONNECTING_MAX_COUNT_KEY','USERS_LEAVE','max','defineProperty','set','socketService','_disableEditing','_ENC_XFORM_MODE','params','_doFinalize','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','prototype','CompressMutationService','getCollabEntity$','mapDocumentTypeToUniverType','stringify','OFFLINE','[DataLoaderService]','appendMutation','_getDownloadEndpointURL','reverse','CHANGESET_REJ','_tryEnsureSocket','reset','getDeserializedSheetBlock','LOGIN_FAILED','_startCollaboration','UNDEFINED','_registerDependencies','range','MSG_FOR_ERROR','_resendWithTimeout','encrypt','infoRsp','list','onStateChange','_DEC_XFORM_MODE','withCredentials','JSONX','refreshPermission','_networkConditionService','_transformStack','_nRounds','_createInitialState','lib','_getSendChangesetTimeout','enableCollaboration','LIVESHARE_NEW_HOST','csAckEvent','getFocusedUnit','socket\x20open.','_throwTelemetryCollaborationNewChangeset','_socket$','disposeWithMe','COLLAB_WEB_SOCKET_URL','[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.','objectType','parseProtocolChangeset','resourceIDs','_getAPIPrefixPath','code','collaboration-client.local-cache-service','PERSON','IConfigService','revision','_socketMessageSubscription','onCommentUpdate','onTransformRemoteChangesetByStateCache','_scheduleCollaborationTimeoutTimer','_createSocket','clone','YUUMI_URL_COL_OUT_OF_RANGE','SheetTransformSelectionsService','@univerjs/sheets','randomBytes','joinEvent','_createHandler','SheetPermissionInitController','requireSession','getLatestCsReqIdBySid','onload','_event$','FetchingMissState','_members$','UNIVER_DOC','hostname','splice','saveSheetBlock','[CollaborationSessionService]','SHOULD_CLOSE_CONN','session.room-not-exists','onTransformState','NoPadding','CHANGESET_REVISION_CONFILICT','concatMap','Plugin','[OfflineState]:\x20received\x20changeset.','_updateState','getMember','MOBILE_HAS_BEEN_BOUND','AwaitingState','IMentionIOService','_initDependencies','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Decryptor','/-/object/-/batch_allowed','getUnitType','WECHAT_HAS_BEEN_BOUND','editing\x20status\x20changed\x20to','_getRedoStack','userID','LIVESHARE_FETCH_OPERATIONS','length','c1Prime','onTransformSelections','enableAuthServer','unitInfo$','_changesetSessionId','FileId','url','location','textRanges','ws://127.0.0.1:8000/universer-api/comb/connect','_onUserJoin','getUnitId','setShowComponents','INGEST','2722344OqkfWr','src','SerializableCipher','requestParams','_redoStacks','charAt','getActiveSheet','HELLO','session','commentUpdateEvent','mixIn','sigBytes','_commandService','_onUserLeave','Cipher','/object','LOCAL_CACHE_INTERVAL','_onOffline','FETCH_MISS','UNIVER_PROJECT','HmacMD5','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Pkcs7','getCurrentSelections','localCacheService','getCurrentRevOfUnit','byteLength','roles','Latin1','/rev/','transformSelections','waitForRoom$','@univerjs/docs','_instanceService','registerHTTPInterceptor','_httpService','HEARTBEAT_INTERVAL_KEY'];_0x3d52=function(){return _0x59499e;};return _0x3d52();}Ue=mn([le(0x0,a['Inject'](a[_0x199ec4(0x236)])),le(0x1,a[_0x199ec4(0x1ec)]),le(0x2,a[_0x199ec4(0x1d0)]),le(0x3,a[_0x199ec4(0x2b7)](exports[_0x199ec4(0x2f5)])),le(0x4,a['Inject'](ee))],Ue);var Cn=Object[_0x199ec4(0x244)],Tn=(_0x3536ba,_0xb49ac0,_0x40020e,_0x51eb90)=>{for(var _0x4c4d95=_0x51eb90>0x1?void 0x0:_0x51eb90?Cn(_0xb49ac0,_0x40020e):_0xb49ac0,_0x2c1e87=_0x3536ba['length']-0x1,_0x5565e7;_0x2c1e87>=0x0;_0x2c1e87--)(_0x5565e7=_0x3536ba[_0x2c1e87])&&(_0x4c4d95=_0x5565e7(_0x4c4d95)||_0x4c4d95);return _0x4c4d95;},ct=(_0x48223e,_0x239225)=>(_0x2beb46,_0x2e3826)=>_0x239225(_0x2beb46,_0x2e3826,_0x48223e);exports[_0x199ec4(0x2c0)]=class{constructor(_0x3d1e8b,_0x2d8414){var _0x454b0a=_0x199ec4;this[_0x454b0a(0x44e)]=_0x3d1e8b,this[_0x454b0a(0x44a)]=_0x2d8414;}async[_0x199ec4(0x22a)](_0x296ffe,_0x18ee42){var _0x2912ce=_0x199ec4,_0x4ca8b3;const {unitID:_0x3fe7b9,type:_0x442146,revision:_0x8ffa58=0x0}=_0x18ee42,_0x571484=this[_0x2912ce(0x24c)]()+'/'+_0x442146+_0x2912ce(0x26e)+_0x3fe7b9+_0x2912ce(0x444)+_0x8ffa58,_0x280997=(await this['_httpService'][_0x2912ce(0x25b)](_0x571484))[_0x2912ce(0x174)],_0x551212=(_0x4ca8b3=_0x280997[_0x2912ce(0x45b)])==null?void 0x0:_0x4ca8b3[_0x2912ce(0x230)];if(_0x551212){const _0x51779e=_0x551212==null?void 0x0:_0x551212[_0x2912ce(0x475)],_0x575d47=I['textEncoder']['encode'](I[_0x2912ce(0x199)](_0x51779e));_0x551212['originalMeta']=_0x575d47,Object[_0x2912ce(0x32c)](_0x551212['sheets'])[_0x2912ce(0x4db)](([,_0x4aea93])=>{var _0x45445b=_0x2912ce;const _0x3362fb=_0x4aea93[_0x45445b(0x475)],_0x4b2bc6=I[_0x45445b(0x363)][_0x45445b(0x477)](I['b64DecodeUnicode'](_0x3362fb));_0x4aea93[_0x45445b(0x475)]=_0x4b2bc6;});}return _0x280997;}async[_0x199ec4(0x19a)](_0x41047c,_0x52e7b8){var _0x3ea6e6=_0x199ec4;const {unitID:_0x529d7b,type:_0x324fb3,blockID:_0x1eea04}=_0x52e7b8,_0x1997a2=this[_0x3ea6e6(0x356)]()+'/'+_0x324fb3+_0x3ea6e6(0x26e)+_0x529d7b+_0x3ea6e6(0x1c3)+_0x1eea04;return(await this[_0x3ea6e6(0x44a)][_0x3ea6e6(0x25b)](_0x1997a2))[_0x3ea6e6(0x174)];}async[_0x199ec4(0x3c0)](_0xc9e0f0,_0x4be851){var _0x4f9331=_0x199ec4;const {unitID:_0x3b3fe8,type:_0x3e38da,blockID:_0x8928b6}=_0x4be851,_0x2d236e=this['_getAPIPrefix']()+_0x4f9331(0x1c3)+_0x3e38da+_0x4f9331(0x26e)+_0x3b3fe8+_0x4f9331(0x1c3)+_0x8928b6;return(await this[_0x4f9331(0x44a)][_0x4f9331(0x25b)](_0x2d236e))[_0x4f9331(0x174)];}async[_0x199ec4(0x391)](_0xd487eb,_0x134125){var _0x28f698=_0x199ec4;const {unitID:_0x3e0b66,type:_0x4e9186,from:_0x2989ea,to:_0xf70e}=_0x134125,_0x2bfa1d=this['_getAPIPrefix']()+'/'+_0x4e9186+_0x28f698(0x26e)+_0x3e0b66+'/fetchmissing?from='+_0x2989ea+'&to='+_0xf70e;return(await this[_0x28f698(0x44a)][_0x28f698(0x25b)](_0x2bfa1d))[_0x28f698(0x174)];}['getSnapshotAPIPath'](){var _0x4736f3=_0x199ec4,_0x119ff4;return(_0x119ff4=this[_0x4736f3(0x44e)][_0x4736f3(0x2d8)](lt))!=null?_0x119ff4:this[_0x4736f3(0x356)]();}[_0x199ec4(0x356)](){var _0x38e6fd=_0x199ec4,_0x9d48bb,_0x47e58a;const _0x26b1d1=this['_configService'][_0x38e6fd(0x2d8)](_t),_0x79be4d=this[_0x38e6fd(0x44e)]['getConfig'](K);return(_0x47e58a=(_0x9d48bb=_0x79be4d==null?void 0x0:_0x79be4d['snapshotServerUrl'])!=null?_0x9d48bb:_0x26b1d1)!=null?_0x47e58a:Lt;}async['getResourcesRequest'](_0x1ce5da,_0x3c944a){var _0x44be0e=_0x199ec4;const _0x46c67d=_0x44be0e(0x44c)+_0x3c944a['type']+_0x44be0e(0x26e)+_0x3c944a['unitID']+_0x44be0e(0x222);return(await this['_httpService'][_0x44be0e(0x25b)](_0x46c67d,{'params':{'resourceId':JSON[_0x44be0e(0x3b7)](_0x3c944a[_0x44be0e(0x3e2)])}}))[_0x44be0e(0x174)];}['saveSnapshot'](){var _0x469350=_0x199ec4;throw new Error(_0x469350(0x327));}[_0x199ec4(0x196)](){var _0x39c7ae=_0x199ec4;throw new Error(_0x39c7ae(0x327));}[_0x199ec4(0x3ff)](){var _0x192d6f=_0x199ec4;throw new Error(_0x192d6f(0x327));}[_0x199ec4(0x3a1)](){var _0x356dab=_0x199ec4;throw new Error(_0x356dab(0x327));}[_0x199ec4(0x338)](){var _0x5e118b=_0x199ec4;throw new Error(_0x5e118b(0x327));}[_0x199ec4(0x3f7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x199ec4(0x2c0)]=Tn([ct(0x0,a[_0x199ec4(0x3e7)]),ct(0x1,a[_0x199ec4(0x2b7)](Y['HTTPService']))],exports[_0x199ec4(0x2c0)]);var bn=Object['getOwnPropertyDescriptor'],Rn=(_0x5a9753,_0x45587e,_0x5f518b,_0x446e5b)=>{var _0x3df219=_0x199ec4;for(var _0x39579c=_0x446e5b>0x1?void 0x0:_0x446e5b?bn(_0x45587e,_0x5f518b):_0x45587e,_0x50f532=_0x5a9753[_0x3df219(0x418)]-0x1,_0x359a11;_0x50f532>=0x0;_0x50f532--)(_0x359a11=_0x5a9753[_0x50f532])&&(_0x39579c=_0x359a11(_0x39579c)||_0x39579c);return _0x39579c;},ue=(_0x485d4b,_0x2f6d72)=>(_0x29c58a,_0x473338)=>_0x2f6d72(_0x29c58a,_0x473338,_0x485d4b);exports['CollaborativeUndoRedoService']=class extends a[_0x199ec4(0x4d8)]{constructor(_0xb59407,_0x31c567,_0x5c63f3,_0x85e185,_0x162d9d){super(_0xb59407,_0x31c567,_0x5c63f3),this['_transformService']=_0x85e185,this['_logService']=_0x162d9d;}['transformUndoRedo'](_0x16e407,_0x2d871c){var _0x4698a5=_0x199ec4;const _0x338df1=this[_0x4698a5(0x219)](_0x16e407);if(_0x338df1)try{const _0x2e09cf=this[_0x4698a5(0x3d1)](_0x338df1,_0x2d871c);this[_0x4698a5(0x37f)](_0x16e407,_0x2e09cf);}catch(_0x2a7300){this[_0x4698a5(0x309)][_0x4698a5(0x4af)](_0x4698a5(0x2e5),_0x2a7300),this[_0x4698a5(0x2cc)](_0x16e407);}const _0x427833=this['_getRedoStack'](_0x16e407);if(_0x427833)try{const _0x4aae12=this[_0x4698a5(0x3d1)](_0x427833,_0x2d871c);this['_substituteRedoStack'](_0x16e407,_0x4aae12);}catch(_0x27a4e3){this[_0x4698a5(0x309)][_0x4698a5(0x4af)](_0x27a4e3),this[_0x4698a5(0x454)](_0x16e407);}}['_clearUndo'](_0x38f807){var _0x3e236d=_0x199ec4;const _0x59d7b1=this[_0x3e236d(0x219)](_0x38f807);_0x59d7b1&&(_0x59d7b1['length']=0x0,this['_updateStatus']());}['_clearRedo'](_0x49fa89){var _0x3b588d=_0x199ec4;const _0x26c9e6=this[_0x3b588d(0x415)](_0x49fa89);_0x26c9e6&&(_0x26c9e6[_0x3b588d(0x418)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x516347,_0x33e59b){var _0x4a902c=_0x199ec4;this[_0x4a902c(0x342)][_0x4a902c(0x3ac)](_0x516347,_0x33e59b),this['_updateStatus']();}[_0x199ec4(0x27c)](_0x4abc4d,_0x585429){var _0x1ad71b=_0x199ec4;this[_0x1ad71b(0x42b)][_0x1ad71b(0x3ac)](_0x4abc4d,_0x585429),this[_0x1ad71b(0x2ef)]();}['_transformStack'](_0x597393,_0x5b8b65){var _0x396dd5=_0x199ec4;const _0xf98348=[];let _0x5a93e3=_0x5b8b65,_0x26b3da=_0x5b8b65;for(let _0x2bf83a=_0x597393[_0x396dd5(0x418)]-0x1;_0x2bf83a>=0x0;_0x2bf83a--){const {unitID:_0x4d46e6,undoMutations:_0x32f123,redoMutations:_0x2e7791}=_0x597393[_0x2bf83a],_0x316689=this[_0x396dd5(0x324)]['transformMutationsWithChangeset'](_0x5a93e3,_0x32f123),_0x243558=this[_0x396dd5(0x324)][_0x396dd5(0x202)](_0x26b3da,_0x2e7791);if(I[_0x396dd5(0x233)](_0x316689)||I['isTransformMutationsWithChangesetFailure'](_0x243558)){this[_0x396dd5(0x309)][_0x396dd5(0x4af)](_0x396dd5(0x2e5),'transformStack\x20failed!',_0x316689,_0x243558);break;}_0x5a93e3=_0x316689[_0x396dd5(0x419)],_0x26b3da=_0x243558[_0x396dd5(0x419)],_0xf98348[_0x396dd5(0x4cf)]({'unitID':_0x4d46e6,'undoMutations':_0x316689[_0x396dd5(0x361)],'redoMutations':_0x243558[_0x396dd5(0x361)]});}return _0xf98348[_0x396dd5(0x3bc)]();}},exports[_0x199ec4(0x19e)]=Rn([ue(0x0,a[_0x199ec4(0x1ec)]),ue(0x1,a[_0x199ec4(0x296)]),ue(0x2,a[_0x199ec4(0x261)]),ue(0x3,I['ITransformService']),ue(0x4,a[_0x199ec4(0x37e)])],exports[_0x199ec4(0x19e)]);var On=Object[_0x199ec4(0x3ab)],yn=Object[_0x199ec4(0x244)],Nn=(_0x12ca65,_0x4043dc,_0x4389b2)=>_0x4043dc in _0x12ca65?On(_0x12ca65,_0x4043dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4389b2}):_0x12ca65[_0x4043dc]=_0x4389b2,Un=(_0x455eaf,_0x5d137a,_0x2fa3cc,_0x1bf0d6)=>{var _0x5598c8=_0x199ec4;for(var _0x73d5e5=_0x1bf0d6>0x1?void 0x0:_0x1bf0d6?yn(_0x5d137a,_0x2fa3cc):_0x5d137a,_0x1189e9=_0x455eaf[_0x5598c8(0x418)]-0x1,_0x3185fe;_0x1189e9>=0x0;_0x1189e9--)(_0x3185fe=_0x455eaf[_0x1189e9])&&(_0x73d5e5=_0x3185fe(_0x73d5e5)||_0x73d5e5);return _0x73d5e5;},Me=(_0x5a764f,_0x4f78fc)=>(_0xcb5c32,_0x8ab1be)=>_0x4f78fc(_0xcb5c32,_0x8ab1be,_0x5a764f),Dn=(_0x4a75de,_0x41e650,_0x23f2be)=>Nn(_0x4a75de,_0x41e650+'',_0x23f2be);const An=_0x199ec4(0x269);exports['UniverCollaborationClientPlugin']=class extends a[_0x199ec4(0x407)]{constructor(_0x372228,_0x540810,_0x7cc0ab,_0x97e177){var _0x47181c=_0x199ec4;super(),A(this,_0x47181c(0x2ac)),(this[_0x47181c(0x309)]=_0x540810,this['_injector']=_0x7cc0ab,this[_0x47181c(0x44e)]=_0x97e177);const {..._0x449497}=a[_0x47181c(0x45e)]({},Yt,_0x372228);if(!_0x449497[_0x47181c(0x3ad)])throw new Error(_0x47181c(0x1bc));this[_0x47181c(0x2ac)]=_0x449497,this[_0x47181c(0x44e)][_0x47181c(0x2aa)](K,_0x449497);}['onStarting'](){var _0x2484cb=_0x199ec4;this['_registerDependencies'](),this[_0x2484cb(0x40e)]();}[_0x199ec4(0x3c4)](){var _0x3a291b=_0x199ec4,_0x1ee3f6,_0x3e57e8;this[_0x3a291b(0x2ed)][_0x3a291b(0x1d5)](a[_0x3a291b(0x463)])&&this['_logService'][_0x3a291b(0x4af)](_0x3a291b(0x1d3),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1f399d=a[_0x3a291b(0x1b4)]([[a[_0x3a291b(0x463)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports['SheetTransformSelectionsService']],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x3a291b(0x486)]],[He,{'useClass':this[_0x3a291b(0x2ac)][_0x3a291b(0x3ad)]}],[I[_0x3a291b(0x4a2)],{'useClass':exports[_0x3a291b(0x2c0)]}],[a[_0x3a291b(0x35c)],{'useClass':exports[_0x3a291b(0x26f)]}],[z[_0x3a291b(0x22f)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x3a291b(0x40d)],{'useClass':exports[_0x3a291b(0x368)]}],[exports[_0x3a291b(0x4d0)]],[xe]],(_0x1ee3f6=this[_0x3a291b(0x2ac)])==null?void 0x0:_0x1ee3f6[_0x3a291b(0x2e2)]);if(!((_0x3e57e8=this[_0x3a291b(0x2ac)])!=null&&_0x3e57e8[_0x3a291b(0x2be)])){const _0x59c487=_0x1f399d['findIndex'](([_0x46304f])=>_0x46304f===de);_0x59c487!==-0x1&&_0x1f399d['splice'](_0x59c487,0x1);}a[_0x3a291b(0x1a6)](this['_injector'],_0x1f399d);}[_0x199ec4(0x40e)](){var _0x155bdb=_0x199ec4,_0x23e991,_0x3cd761,_0x8c3fca;this[_0x155bdb(0x2ed)]['get'](Y[_0x155bdb(0x375)])[_0x155bdb(0x449)]({'priority':0x14,'interceptor':Y[_0x155bdb(0x211)]({'maxParallel':0x6})}),(_0x23e991=this[_0x155bdb(0x2ac)])!=null&&_0x23e991[_0x155bdb(0x213)]||(_0x3cd761=this[_0x155bdb(0x2ed)][_0x155bdb(0x25b)](q,a['Quantity']['OPTIONAL']))==null||_0x3cd761['disableLocalCache'](),(_0x8c3fca=this[_0x155bdb(0x2ac)])!=null&&_0x8c3fca[_0x155bdb(0x41b)]&&a['touchDependencies'](this['_injector'],[[ye]]),a[_0x155bdb(0x1a0)](this[_0x155bdb(0x2ed)],[[Ne],[exports[_0x155bdb(0x4d0)]],[Ue]]);}},Dn(exports['UniverCollaborationClientPlugin'],'pluginName',An),exports[_0x199ec4(0x326)]=Un([a['DependentOn'](I[_0x199ec4(0x4a6)],Y['UniverNetworkPlugin']),Me(0x1,a[_0x199ec4(0x37e)]),Me(0x2,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),Me(0x3,a[_0x199ec4(0x3e7)])],exports[_0x199ec4(0x326)]),exports[_0x199ec4(0x457)]=Ve,exports[_0x199ec4(0x229)]=K,exports[_0x199ec4(0x314)]=pt,exports[_0x199ec4(0x212)]=ut,exports[_0x199ec4(0x1c5)]=Be,exports[_0x199ec4(0x1a5)]=Z,exports[_0x199ec4(0x24b)]=ee,exports[_0x199ec4(0x49e)]=$e,exports[_0x199ec4(0x293)]=dt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Kt,exports[_0x199ec4(0x292)]=kt,exports[_0x199ec4(0x44b)]=vt,exports[_0x199ec4(0x249)]=ke,exports['ICollaborationSocketService']=He,exports[_0x199ec4(0x496)]=q,exports['INetworkConditionService']=mt,exports[_0x199ec4(0x242)]=de,exports[_0x199ec4(0x437)]=Ft,exports[_0x199ec4(0x374)]=Bt,exports['LOGIN_URL_KEY']=It,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Gt,exports[_0x199ec4(0x3a8)]=ft,exports['SEND_CHANGESET_TIMEOUT_KEY']=Mt,exports[_0x199ec4(0x3a4)]=_t,exports['SNAPSHOT_URL_KEY']=lt,exports[_0x199ec4(0x46e)]=re,exports['UnitStatus']=je,exports[_0x199ec4(0x197)]=Ct,exports[_0x199ec4(0x2da)]=oi,exports[_0x199ec4(0x302)]=Tt;