@univerjs-pro/collaboration-client 0.8.0-nightly.202505311606 → 0.8.0-nightly.202506011606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x1c66a7=_0x1aa6;(function(_0x25c4be,_0x2a3494){var _0x33e715=_0x1aa6,_0x538fff=_0x25c4be();while(!![]){try{var _0x16dc43=parseInt(_0x33e715(0x268))/0x1+-parseInt(_0x33e715(0x482))/0x2*(-parseInt(_0x33e715(0x3f6))/0x3)+-parseInt(_0x33e715(0x1f4))/0x4*(parseInt(_0x33e715(0x2ae))/0x5)+-parseInt(_0x33e715(0x295))/0x6+-parseInt(_0x33e715(0x1e9))/0x7*(-parseInt(_0x33e715(0x33f))/0x8)+parseInt(_0x33e715(0x39e))/0x9+-parseInt(_0x33e715(0x45b))/0xa;if(_0x16dc43===_0x2a3494)break;else _0x538fff['push'](_0x538fff['shift']());}catch(_0x512f31){_0x538fff['push'](_0x538fff['shift']());}}}(_0x4ec6,0x1e71b));var Dt=Object[_0x1c66a7(0x223)],At=(_0x2cf3af,_0x404882,_0x23b120)=>_0x404882 in _0x2cf3af?Dt(_0x2cf3af,_0x404882,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23b120}):_0x2cf3af[_0x404882]=_0x23b120,A=(_0x1c0107,_0x525b52,_0x47c946)=>At(_0x1c0107,typeof _0x525b52!=_0x1c66a7(0x1fb)?_0x525b52+'':_0x525b52,_0x47c946);Object[_0x1c66a7(0x223)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0x1c66a7(0x3dd)),$=require(_0x1c66a7(0x1f8)),V=require(_0x1c66a7(0x1ca)),I=require(_0x1c66a7(0x49e)),Y=require('@univerjs/network'),Pt=require(_0x1c66a7(0x2ea)),ht=require(_0x1c66a7(0x1cd)),X=require('@univerjs/sheets'),z=require(_0x1c66a7(0x22e)),wt=require(_0x1c66a7(0x40e)),_t=_0x1c66a7(0x29b),Lt=_0x1c66a7(0x37b),lt=_0x1c66a7(0x388),Mt=_0x1c66a7(0x2df),xt=0x7d0,ut=_0x1c66a7(0x3ac),dt=_0x1c66a7(0x442),kt=_0x1c66a7(0x144),vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x1c66a7(0x410),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x1c66a7(0x364),Ft=0x3e8,pt=_0x1c66a7(0x49f),Vt='/universer-api/comb',It='LOGIN_URL_KEY',Wt=_0x1c66a7(0x380),Gt=_0x1c66a7(0x461),Kt=_0x1c66a7(0x3ef);var gt=(_0x448eb=>(_0x448eb[_0x448eb[_0x1c66a7(0x1fc)]=0x0]=_0x1c66a7(0x1fc),_0x448eb[_0x448eb['OK']=0x1]='OK',_0x448eb[_0x448eb[_0x1c66a7(0x2b3)]=0x2]=_0x1c66a7(0x2b3),_0x448eb[_0x448eb[_0x1c66a7(0x2bd)]=0x3]=_0x1c66a7(0x2bd),_0x448eb[_0x448eb[_0x1c66a7(0x366)]=0x4]=_0x1c66a7(0x366),_0x448eb[_0x448eb[_0x1c66a7(0x46b)]=0x5]=_0x1c66a7(0x46b),_0x448eb[_0x448eb[_0x1c66a7(0x1f2)]=0x6]=_0x1c66a7(0x1f2),_0x448eb[_0x448eb['INVALID_ARGUMENT']=0x7]=_0x1c66a7(0x2a3),_0x448eb[_0x448eb[_0x1c66a7(0x46e)]=0x8]='TOO_MANY_REQUESTS',_0x448eb[_0x448eb[_0x1c66a7(0x2e6)]=0x9]=_0x1c66a7(0x2e6),_0x448eb[_0x448eb['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x448eb[_0x448eb['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x448eb[_0x448eb[_0x1c66a7(0x1fe)]=0x1771]=_0x1c66a7(0x1fe),_0x448eb[_0x448eb[_0x1c66a7(0x1db)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x448eb[_0x448eb['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1c66a7(0x1c8),_0x448eb[_0x448eb[_0x1c66a7(0x2ca)]=0x1b59]=_0x1c66a7(0x2ca),_0x448eb[_0x448eb['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1c66a7(0x41b),_0x448eb[_0x448eb[_0x1c66a7(0x1e1)]=0x1b5b]=_0x1c66a7(0x1e1),_0x448eb[_0x448eb['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1c66a7(0x142),_0x448eb[_0x448eb['APPLY_DUPLICATED']=0x1b5d]=_0x1c66a7(0x1ac),_0x448eb[_0x448eb['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1c66a7(0x3c2),_0x448eb[_0x448eb[_0x1c66a7(0x174)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x448eb[_0x448eb[_0x1c66a7(0x302)]=0x232a]=_0x1c66a7(0x302),_0x448eb[_0x448eb[_0x1c66a7(0x413)]=0x232b]=_0x1c66a7(0x413),_0x448eb[_0x448eb[_0x1c66a7(0x3c3)]=0x232c]=_0x1c66a7(0x3c3),_0x448eb[_0x448eb['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1c66a7(0x2aa),_0x448eb[_0x448eb[_0x1c66a7(0x238)]=0x2711]=_0x1c66a7(0x238),_0x448eb[_0x448eb[_0x1c66a7(0x27a)]=0x2712]=_0x1c66a7(0x27a),_0x448eb[_0x448eb[_0x1c66a7(0x498)]=0x2713]=_0x1c66a7(0x498),_0x448eb[_0x448eb[_0x1c66a7(0x1d1)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x448eb[_0x448eb['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x448eb[_0x448eb['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x448eb[_0x448eb[_0x1c66a7(0x191)]=0x271c]=_0x1c66a7(0x191),_0x448eb[_0x448eb[_0x1c66a7(0x1ab)]=0x271d]=_0x1c66a7(0x1ab),_0x448eb[_0x448eb['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x448eb[_0x448eb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1c66a7(0x3c7),_0x448eb[_0x448eb[_0x1c66a7(0x1f0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x448eb[_0x448eb[_0x1c66a7(0x3f3)]=0x2ee1]=_0x1c66a7(0x3f3),_0x448eb[_0x448eb[_0x1c66a7(0x377)]=0x2ee2]='INVALID_INVITE_CODE',_0x448eb[_0x448eb[_0x1c66a7(0x473)]=0x2ee3]=_0x1c66a7(0x473),_0x448eb[_0x448eb[_0x1c66a7(0x370)]=0x2ee4]=_0x1c66a7(0x370),_0x448eb[_0x448eb['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x448eb[_0x448eb[_0x1c66a7(0x157)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x448eb[_0x448eb[_0x1c66a7(0x15a)]=0x32ca]=_0x1c66a7(0x15a),_0x448eb[_0x448eb['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1c66a7(0x1b3),_0x448eb[_0x448eb[_0x1c66a7(0x253)]=-0x1]=_0x1c66a7(0x253),_0x448eb))(gt||{}),J=(_0x3c3d0f=>(_0x3c3d0f[_0x3c3d0f['UNIVER_UNKNOWN']=0x0]=_0x1c66a7(0x254),_0x3c3d0f[_0x3c3d0f[_0x1c66a7(0x455)]=0x1]=_0x1c66a7(0x455),_0x3c3d0f[_0x3c3d0f[_0x1c66a7(0x1dc)]=0x2]='UNIVER_SHEET',_0x3c3d0f[_0x3c3d0f[_0x1c66a7(0x3d9)]=0x3]=_0x1c66a7(0x3d9),_0x3c3d0f[_0x3c3d0f[_0x1c66a7(0x306)]=0x4]=_0x1c66a7(0x306),_0x3c3d0f[_0x3c3d0f[_0x1c66a7(0x253)]=-0x1]=_0x1c66a7(0x253),_0x3c3d0f))(J||{}),W=(_0x52e18b=>(_0x52e18b[_0x52e18b['UNKNOWN_CMD']=0x0]=_0x1c66a7(0x1ae),_0x52e18b[_0x52e18b[_0x1c66a7(0x2fa)]=0x1]=_0x1c66a7(0x2fa),_0x52e18b[_0x52e18b['JOIN']=0x2]=_0x1c66a7(0x24d),_0x52e18b[_0x52e18b[_0x1c66a7(0x43f)]=0x3]=_0x1c66a7(0x43f),_0x52e18b[_0x52e18b[_0x1c66a7(0x4b8)]=0x4]=_0x1c66a7(0x4b8),_0x52e18b[_0x52e18b[_0x1c66a7(0x464)]=0x5]=_0x1c66a7(0x464),_0x52e18b[_0x52e18b[_0x1c66a7(0x335)]=0x6]=_0x1c66a7(0x335),_0x52e18b[_0x52e18b['UNRECOGNIZED']=-0x1]=_0x1c66a7(0x253),_0x52e18b))(W||{}),oe=(_0x4701b7=>(_0x4701b7[_0x4701b7[_0x1c66a7(0x2c1)]=0x0]='UNKNOWN_CODE',_0x4701b7[_0x4701b7['OK']=0x1]='OK',_0x4701b7[_0x4701b7[_0x1c66a7(0x177)]=0x2]=_0x1c66a7(0x177),_0x4701b7[_0x4701b7[_0x1c66a7(0x336)]=0x3e9]=_0x1c66a7(0x336),_0x4701b7[_0x4701b7['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x1c66a7(0x4ae),_0x4701b7[_0x4701b7[_0x1c66a7(0x1b7)]=0x3eb]=_0x1c66a7(0x1b7),_0x4701b7[_0x4701b7[_0x1c66a7(0x1ef)]=0x3ec]=_0x1c66a7(0x1ef),_0x4701b7[_0x4701b7['UNRECOGNIZED']=-0x1]=_0x1c66a7(0x253),_0x4701b7))(oe||{}),Et=(_0x35f098=>(_0x35f098[_0x35f098['Undefined']=0x0]=_0x1c66a7(0x33e),_0x35f098[_0x35f098[_0x1c66a7(0x449)]=0x1]='HttpImport',_0x35f098[_0x35f098[_0x1c66a7(0x3e5)]=0x2]='HttpExport',_0x35f098[_0x35f098[_0x1c66a7(0x16a)]=0x3]=_0x1c66a7(0x16a),_0x35f098[_0x35f098['UnitSnapshot']=0x4]='UnitSnapshot',_0x35f098[_0x35f098[_0x1c66a7(0x402)]=0x5]=_0x1c66a7(0x402),_0x35f098[_0x35f098[_0x1c66a7(0x253)]=-0x1]=_0x1c66a7(0x253),_0x35f098))(Et||{});const K=_0x1c66a7(0x29e),Yt={};var Z=(_0x525703=>(_0x525703[_0x1c66a7(0x3f7)]=_0x1c66a7(0x3f7),_0x525703[_0x1c66a7(0x2bd)]=_0x1c66a7(0x2bd),_0x525703[_0x1c66a7(0x1e2)]=_0x1c66a7(0x1e2),_0x525703['CLOSE_ROOM']='CLOSE_ROOM',_0x525703['JOIN_ROOM_FAILED']=_0x1c66a7(0x232),_0x525703[_0x1c66a7(0x3a7)]=_0x1c66a7(0x3a7),_0x525703[_0x1c66a7(0x489)]='SOCKET_FAILED',_0x525703['SUBMIT_CHANGESET_TIMEOUT']=_0x1c66a7(0x384),_0x525703))(Z||{});class ee{constructor(){var _0xfa6e64=_0x1c66a7;A(this,_0xfa6e64(0x184),new $[(_0xfa6e64(0x2bf))]()),A(this,_0xfa6e64(0x1e5),this['_event$']['asObservable']());}[_0x1c66a7(0x2c0)](_0x49d482){var _0x38be69=_0x1c66a7;this['_event$'][_0x38be69(0x18f)](_0x49d482);}}const mt=a[_0x1c66a7(0x4a4)]('univer-pro.collaboration-client.network-condition.service');function _0x4ec6(){var _0x1f4ab4=['joinEvent','[CollaborationSessionService]:\x20socket\x20error','SUBMIT_CHANGESET_TIMEOUT','delete','ERROR_IMAGE','downloadEndpointUrl','SNAPSHOT_URL_KEY','location','_snapshotServerService','confirm','updatePermissionObjEvent','/role','max','PasswordBasedCipher','CollaborativeUndoRedoService','ImageSourceType','_replayCachedMutations','snapshot','abs','collaborators','onRemoteRej','clear','/object/','[OfflineState]:\x20received\x20changeset.','registerHTTPInterceptor','isTransformMutationsWithChangesetSuccess','SheetCollaborationEntity','LocaleService','1778940foxVaf','SnapshotServerOverHTTPService','message$','map','toggleOnline','setShowComponents','dispose$','data','values','SOCKET_FAILED_RETRY','onload','UNISCRIPT_RUN','_keySchedule','?url=','COLLAB_WEB_SOCKET_URL','csAckEvent','UnitStatus','COLLAB_WEB_SOCKET_URL_KEY','_onJoinRoomEvent','baseRev','complete','/object','/-/object/list','csShouldRetryEvent','error','getConfig','_sender','loadOfflineData','Encryptor','_sendingTimer','_reverseMap','withCredentials','LIVESHARE_NEW_HOST','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_state$','_sessions','CONNECTOR_DATA_TOO_LARGE','LICENSE_EXPORT_SIZE_EXCEEDED','FileId','getCurrentRevOfUnit','ivSize','YUUMI_AI_RUN_FAILED','then','Optional','_transformIMECache','awaiting_with_pending','_changesetSessionId','PSEUDO_FETCH_MISSING_RESULT','_startTelemetryCollaborationNewChangeset','_tryReconnect','batchAllowed','CommentService','encryptBlock','compose','authzUrl','isPermissionRej','Tools','msCrypto','_onConnectionFailed','UNIVER_SLIDE','WordArray','/universer-api/authz','_waitCount','@univerjs/core','_DEC_XFORM_MODE','image/png','_undoRedoService','_entities','?size=','ERROR_EXCEED_SIZE','algo','HttpExport','WorkbookEditablePermission','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Base64','UPDATE_CURSOR','status','concatMap','_onUserLeave','mode','random','/universer-api/uniscript','disposeWithMe','onTransformRemoteChangesetByIMECache','hasher','INVITE_CODE_HAS_BEEN_UES','/collaborator','socket\x20open.','740322YUDDMv','OTHER_CLIENT_EDITING','open$','_invKeySchedule','params','encodeURIComponent','&to=','sin','ISnapshotServerService','result','subscribe','toDisposable','UserProfileImg','Disposable','selections','INetworkConditionService','UniverCollaborationClientPlugin','getLocalCacheKey','getTypeOfUnitAdded$','_iv','SUCCUSS','Pkcs7','univer-pro.collaboration-client-socket-service','keySize','@univerjs-pro/license','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','HEARTBEAT_TIMEOUT','filter','blockSize','LICENSE_IMPORT_SIZE_EXCEEDED','updateOfflineData','_unitInfo$','enc','onStateChange','_config','_doProcessBlock','__Key__','APPLY_NON_SEQUENTIAL_REVISION','mapDocumentTypeToUniverType','_socketService','error$','getRoom','copyFileMeta','push','onRemoteAck','_pendingMutations','LIVESHARE_TERMINATE','_minBufferSize','_onConnectionOpen','updateCursorEvent','m2Prime','allowed','_compressMutationService','createSocket','exports','_getCtorByUniverType','forEach','submit\x20changeset\x20error!','_incrementRevisionNumber','_clearHeartbeatTimer','pluginName','_state','liveShareOperation','_retryConnectingTimer','_changesetReqId','iterations','_hash','hasOwnProperty','SheetTransformSelectionsService','_nRounds','MentionType','mixIn','localeService','LEAVE','_members','_applyRemoteChangeset','ws://127.0.0.1:8000/universer-api/comb/connect','_clearRedo','JSONX','getUnitOnRev','AWAITING','_doFinalize','onTransformRemoteChangesetByStateCache','HttpImport','BlockCipherMode','_initRequestHeader','[PendingState]:\x20unhandled\x20univer\x20type:\x20','addHandlerCallback','CommandType','send','_HTTPService','entityInit$','MergeInterceptorFactory','createEncryptor','_transitionLocked','UNIVER_DOC','_stopTelemetryCollaborationNewChangeset','ConflictState','_doCreateSocket','_collaborationUIEventService','loginUrlKey','4771650fmVfuW','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_hasher','FetchingMissState','_collaborationTimeoutTimer','session.room-not-exists','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','\x20-\x20','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','HEARTBEAT','onMissingChangesets','fetchMissingChangesets','MemberService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','AwaitingWithPendingState','getRandomValues','UNAUTHENTICATED','[CollaborationSessionService]','_tryEnsureSocket','TOO_MANY_REQUESTS','execute','COLLAB_SUBMIT_CHANGESET_URL_KEY','buffer','AWAITING_WITH_PENDING','INVITE_CODE_REQUIRED','socketService','put','permissionRejEvent','_disableEditing','RETRY_CONNECTING_MAX_COUNT_KEY','memberID','_createSocket','_onLocalMutation','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','csRejEvent','replace','_telemetryService','JOINING','EvpKDF','2uJbrQf','transformChangesets','ReplaySubject','_socket','status$','b64DecodeUnicode','action','SOCKET_FAILED','_keyPriorReset','_listenToNetworkCondition','_instanceService','_lockTransition','UPDATE_PERMISSION_OBJ','People','onMissedChangesetFetched','offline','UniverNetworkPlugin','IImageIoService','_unitID','getUnitId','_socketMessageSubscription','words','YUUMI_RATE_OVER_LIMIT','LIVESHARE_REQUEST_HOST','transformStack\x20failed!','getImage','{fileID}','_transformStateCache','@univerjs-pro/collaboration','COLLAB_SUBMIT_CHANGESET_URL','_transformStack','setConfig','ILocalCacheService','Hasher','createIdentifier','_scheduleCollaborationTimeoutTimer','getTime','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_updateLocalCache','loadUnit','RichTextEditingMutation','file','isTransformChangesetsSuccess','\x0aCurrent:\x20','JOIN_ROOM_NOT_EXISTS','fetchThroughInterceptors','_resendTimer','_getDownloadEndpointURL','updateCollaborator','DEFAULT_WS_SESSION_TICKET_URL','_networkConditionService','_revisionService','ERROR_IMAGE_TYPE','/block/','INGEST','Workbook','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createCollaborator','splice','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_clearUndo','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','APPLY_PERMISSION_DENIED','socket\x20close','/universer-api/user/session-ticket','init','NO_OTHER_CLIENTS_EDITING','POST','catch','c2Prime','Base','_collaborationPaused','_append','fetching\x20missing\x20changesets\x20from\x20','SyncedState','incrementRevOfUnit','_onRemoteRetry','fetch_missing','CollaborationEvent','_process','onLocalMutation','charAt','_shouldReportTelemetry','WECHAT_HAS_BEEN_BOUND','_getUploadFileURL','synced','MOBILE_HAS_BEEN_BOUND','SheetsSelectionsService','cmd','registerDependencies','SUBMIT_CHANGESET','ITransformService','routeKey','readyForCollab','getUnitType','_throwTelemetryCollaborationNewChangeset','resolve','_onConflict','Utf8','/unit/','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','session.join-failed','UnitEmbedded','CollaborationEntity','debug','ceil','BufferedBlockAlgorithm','image/gif','_awaitingChangeset','_clearScheduledTask','sid','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','LICENSE_MAX_UNITS_EXCEEDED','_createInitialState','OpenSSL','FAIL','LIVESHARE_FETCH_OPERATIONS','string','changesets','mutations','HmacMD5','_prevBlock','COMPRESS_MUTATION_SEND','_sessionStatus$','objectType','onlyLocal','editingUnit','SHA1','_event$','&source=','delay','OTHER_CLIENTS_EDITING','awaitingChangeset','__creator','subject','getOwnPropertyDescriptor','apply','getDeserializedSheetBlock','collabWebSocketUrl','next','_createHandler','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Could\x20not\x20dynamically\x20require\x20\x22','lib','_substituteUndoStack','not_collab','_clearTimeoutTimer','requestParams','commentUpdate$','_change$','touchDependencies','RxDisposable','setCurrentUser','/resources','_undoStacks','_clearCollaborationTimeoutTimer','ImageUploadStatusType','mergeOverrideWithDependencies','onStarting','pipe','roles','_getLoginPath','Inject','DEFAULT_COLLAB_WEB_SOCKET_URL','failed\x20to\x20apply\x20missed\x20changesets!','startTime','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','YUUMI_ALL_TABLES_IS_INVALID','APPLY_DUPLICATED','updateSnapshot','UNKNOWN_CMD','getFocusedUnit','method','textRanges','loadUnitOfRevision','EMAIL_HAS_BEEN_BOUND','appendMutation','concat','_type','JOIN_ROOM_PERMISSION_DENIED','name','PendingState','Malformed\x20UTF-8\x20data','MUTATION','unitInfo$','Plugin','CollaborationImageIoService','BehaviorSubject','length','create','key','_permissionService','default','/universer-api/stream/file/upload','salt','CHANGESET_SHOULD_RETRY','ENSURE_SNAPSHOT_EXECUTION','SessionStatus','rxjs/operators','[DataLoaderService]','format','@univerjs/docs','duration','_getRedoStack','_onMessage','YUUMI_SUBSCRIPTION_NOT_FOUND','fetchMiss','NOT_COLLAB','_nDataBytes','_onRemoteACK','_entityInit$','onTransformState','_memberService','SHOULD_CLOSE_CONN','_onRemoteRejected','SNAPSHOT_HAS_BEEN_REMOVED','UNIVER_SHEET','crypto','byteLength','unsubscribe','interceptor','APPLY_REVISION_CONFILICT','CONFLICT','getTypeOfUnitDisposed$','change$','event$','enableCollaboration','textEncoder','onSendChangeset','896IBnveW','padding','_socket$','sequenceExecute','patch','retryConnectingInterval','GLOBAL_ROOMS_CNT_EXCEEDS','PY_RUNTIME_SCRIPT_ERROR','refreshPermission','ALREADY_EXISTS','RevisionService','569608wTcYTU','workbook','connection\x20error','executeCommand','rxjs','_fetchMissChangesets','CBC','symbol','UNDEFINED','update','SNAPSHOT_INVALID_SNAPSHOT','MSG_FOR_ERROR','call','session.room-full','createDecryptor','_onRecvEvent','_univerInstanceService','_createHmacHelper','[CollaborationUndoRedoService]','merge','_retryCount','_data','rev','/universer-api/snapshot/','userID','EmptyMutation','AuthzIoHttpService','_candidateSocket','_updateState','sigBytes','getWorkbookSelections','unitId\x20is\x20not\x20found','_updateStatus','Decryptor','slice','randomBytes','reset','_transformSelections','eventID','_substituteRedoStack','newCsEvent','toString','add','_resendTimeout','_key','onTransformIME','objects','defineProperty','[CollaborationEntity]','_transformService','isInternalEditorID','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_onFetchMissResult','IPermissionService','_initMergeInterceptor','responseType','collabSubmitChangesetUrl','close','@univerjs/drawing','takeUntil','SheetPermissionInitController','type','JOIN_ROOM_FAILED','asObservable','_unlockTransition','resend','$super','joinRsp','YUUMI_UNABLE_LOAD_URL','transformMutationsWithChangeset','AUTHZ_URL_KEY','_acknowledgedAwaitingChangeset','univer-pro.collaboration-client.single-active-unit-service','UniverInstanceType','deserializeToCombResponse','_transformUndoredo','HTTPRequest','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','CipherParams','getAllMembers','[CollaborationSession]','getCurrentUser','UserManagerService','_commandService','shareReplay','getInterceptPoints','_sendHeartbeat','_localCacheService','stopTime','JOIN','session.room-cnt-exceeds','ciphertext','unitId','image/jpg','includes','UNRECOGNIZED','UNIVER_UNKNOWN','onSyncEditingCollabCursor','/allowed','origin','charCodeAt','indexOf','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','updateMember','IUndoRedoService','_isPermissionRej','close$','InsertSheetMutation','_mode','_handler','_onOffline','CollaborationSessionService','_registerDependencies','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','HMAC','OfflineState','190124QpBCNn','updatePermissionPoint','_roomCreated$','saveImage','_emitMembers','_configService','liveShareNewHost','readAsDataURL','_replaceFileID','_joinRoom','onRemoteRetry','UniverCollaborationPlugin','find','NoPadding','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','IMentionIOService','take','ONLINE','YUUMI_URL_COL_OUT_OF_RANGE','_xformMode','_remoteChangesetQueue','actions','originalMeta','MD5','dispose','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','FETCH_MISS','_socketReady','getUnitStatus$','enableOfflineEditing','OFFLINE','_waitForHeartbeatResponse','onRemoteChangeset','_ENC_XFORM_MODE','_parse','transformSelections','_redoStacks','_onRemoteChangeset','image/jpeg','_showConflictNotification','_singleActiveUnitService','unit-cache-','size','\x20in\x20_schedule.','476856kvXMsY','/new_changes','_executeRemoteChangeset','CollaborationUIEventService','ISocketService','CollaborationController','SNAPSHOT_SERVER_URL_KEY','_toggleOffline','_getSendChangesetTimeout','collaboration-client.config','/rev/','sessionStatus$','objectID','leaveEvent','INVALID_ARGUMENT','BlockCipher','_commentService','join','_snapshotService','DependentOn','from','LICENSE_DISTRO_REJECTED','append','transformUndoRedo','pending','5DJTLnb','_resendWithTimeout','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_initDependencies','listCollaborators','INTERNAL_ERROR','CHANGESET_ACK','_doCryptBlock','members$','CompressMutationService','_onCombEvent','_map','get','session','_collabSessionService','PERMISSION_DENIED','_onUserJoin','Subject','emitEvent','UNKNOWN_CODE','CollaborationSocketService','socket$','_getSignURL','target','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','IUniverInstanceService','ILogService','_sendHeartbeatTimer','APPLY_REJECT','clamp','_startCollaboration','reconnect','_submitChangeset','_injector','[PendingState]:\x20received\x20rejection.','[OfflineState]:\x20received\x20acknowledgement.','list','_scheduleCompleteTimestamp','_handlerCallback','PERSON','_sheetTransformSelectionsService','CLOSE_ROOM','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getMemberID','floor','getResourcesRequest','[FetchMissState]','reqId','_localeService','SEND_CHANGESET_TIMEOUT','_createInitialStateImpl','DisposableCollection','_initCloseConn','\x20to\x20','PERMISSION_REJ','getImageSourceCache','COMPLETION_FINISHED','isArray','disableLocalCache','generateRandomId','@univerjs/telemetry','startsWith','onCommandExecuted','LIVESHARE_OPERATION','conflict','c1Prime','reject','title','Cipher','getSheetId','getSnapshotAPIPath','_syncEditingCollabCursor','focused$','addImageSourceCache','finalize','_removeRoom','HELLO','/universer-api/file/{fileID}/sign-url','findIndex','CollaborationStatus','removeMember','_createHelper','clone','post','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','decryptBlock','enableAuthServer','DataLoaderService','UNIVER_PROJECT','fromCharCode','putCollaborators','_logService','_timeoutTimer','_schedule','_imageSourceCache','_collaborationSessionService','extend','getMember','_eventService','_members$','_getAPIPrefixPath','SnapshotService','parse','src','Quantity','_initUnitPermissionChange','getCurrentSelections','_doReset','_getCurrentRevision','&assign=','ICommandService','Failed\x20to\x20update\x20permission\x20point','USERS_LEAVE','localCacheService','AES','_httpService','HTTPService','encode','USERS_ENTER','awaiting','_checkMissing','encrypt','revision','unitID','compute','_exhaustRemoteChangesetQueue','stringify','serializeCombRequest','LOGIN_URL_KEY','decrypt','state','now','CollaborationSession','_roomMembers','MentionIoHttpService','RECV','JOIN_ROOM_FULL','repeat','initWorkbookPermissionChange','_init','IConfigService','[CollaborationState]:\x20apply\x20error!','ISingleActiveUnitService','every','Undefined','11824LMdwDU','_getAPIPrefix','sheets','IDLE','body','reduce','requireSession','uploadFileServerUrl','Injector','SetSelectionsOperation','SerializableCipher','_status$','cfg','_telemetryInfo','NEW_CHANGESETS','BASE64','closeSession','_transformRemoteChangesetByIMECache','_userManagerService','set','Latin1','onTransformSelections','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_clearLocalCache','CHANGESET_REJ','AwaitingState','readInt32LE','_iKey','PENDING','unknown','toggleOffline','telemetry\x20info\x20is\x20not\x20initialized','unpad','prototype','createInstance','members','FETCH_MISSING','LOCAL_CACHE_INTERVAL','equals','NOT_FOUND','url','_commentUpdate$','loadDoc','function','kdf','pad','code','_getUndoStack','__esModule','USER_NOT_INVITED_CODE','_rescheduleHeartbeat','_clearRetryConnectingTimer','snapshotServerUrl','LOCAL_CACHE_INTERVAL_KEY','_decreaseWaiting','signUrlServerUrl','INVALID_INVITE_CODE','has','getCollabEntity','_queuedRemoteChangesets','/universer-api/snapshot','[OfflineState]:\x20received\x20rejection.','shouldCloseConn','DocCollaborationEntity','range','/universer-api/oidc/authpage','COMMENT_UPDATE'];_0x4ec6=function(){return _0x1f4ab4;};return _0x4ec6();}function Ct(_0x2d4a71){var _0x1b8108=_0x1c66a7,_0x4cbe5c,_0x5506c8,_0x33ab91,_0x22ae3a,_0x4636e4;const _0x1efe85=_0x2d4a71[_0x1b8108(0x3a5)],_0x4763bd=JSON[_0x1b8108(0x314)](_0x1efe85);switch(_0x4763bd[_0x1b8108(0x15c)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x9db698=_0x4763bd['infoRsp'];return{..._0x4763bd,'data':_0x9db698,'cmd':_0x4763bd[_0x1b8108(0x15c)]};}case W[_0x1b8108(0x24d)]:{const _0x4a41fb=_0x4763bd[_0x1b8108(0x237)];return{..._0x4763bd,'data':_0x4a41fb,'cmd':_0x4763bd['cmd']};}case W[_0x1b8108(0x335)]:{const _0x5a9f5e=_0x4763bd['collaMsg'];switch(_0x5a9f5e[_0x1b8108(0x21a)]){case I[_0x1b8108(0x152)]['PERMISSION_REJ']:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':(_0x4cbe5c=_0x5a9f5e[_0x1b8108(0x476)])==null?void 0x0:_0x4cbe5c['cs']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x2b4)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':(_0x5506c8=_0x5a9f5e[_0x1b8108(0x3ad)])==null?void 0x0:_0x5506c8['cs']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x34d)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':(_0x33ab91=_0x5a9f5e[_0x1b8108(0x21c)])==null?void 0x0:_0x33ab91['cs']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x357)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':(_0x22ae3a=_0x5a9f5e[_0x1b8108(0x47d)])==null?void 0x0:_0x22ae3a['cs']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x1c7)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':(_0x4636e4=_0x5a9f5e[_0x1b8108(0x3b5)])==null?void 0x0:_0x4636e4['cs']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I['CollaborationEvent'][_0x1b8108(0x3e9)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x427)]},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I['CollaborationEvent'][_0x1b8108(0x324)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x382)]},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x31e)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x2a2)]},'cmd':_0x4763bd['cmd']};case I[_0x1b8108(0x152)][_0x1b8108(0x3be)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x26e)]},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x178)]:case I[_0x1b8108(0x152)][_0x1b8108(0x2ed)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x434)]},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x424)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x26e)]},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x1ff)]:return{..._0x4763bd,'data':_0x5a9f5e,'cmd':_0x4763bd['cmd']};case I[_0x1b8108(0x152)][_0x1b8108(0x381)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e['commentUpdateEvent']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)][_0x1b8108(0x48e)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x38c)]},'cmd':_0x4763bd[_0x1b8108(0x15c)]};case I[_0x1b8108(0x152)]['SHOULD_CLOSE_CONN']:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e[_0x1b8108(0x37d)]},'cmd':_0x4763bd['cmd']};case I[_0x1b8108(0x152)][_0x1b8108(0x3a9)]:return{..._0x4763bd,'data':{..._0x5a9f5e,'data':_0x5a9f5e['uniscriptRunEvent']},'cmd':_0x4763bd[_0x1b8108(0x15c)]};default:return _0x4763bd;}}default:return _0x4763bd;}}function Tt(_0x5d237b){var _0x47c0b5=_0x1c66a7;switch(_0x5d237b['cmd']){case W[_0x47c0b5(0x464)]:case W['HELLO']:return JSON[_0x47c0b5(0x32c)]({'cmd':_0x5d237b[_0x47c0b5(0x15c)],'routeKey':_0x5d237b[_0x47c0b5(0x160)]});case W[_0x47c0b5(0x4b8)]:{let _0x5c708a;switch(_0x5d237b['data']['eventID']){case I[_0x47c0b5(0x152)][_0x47c0b5(0x3e9)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)][_0x47c0b5(0x3e9)],'updateCursorEvent':_0x5d237b[_0x47c0b5(0x3a5)][_0x47c0b5(0x3a5)]};break;}case I[_0x47c0b5(0x152)][_0x47c0b5(0x31e)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)][_0x47c0b5(0x31e)],'leaveEvent':_0x5d237b['data'][_0x47c0b5(0x3a5)]};break;}case I[_0x47c0b5(0x152)][_0x47c0b5(0x324)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)][_0x47c0b5(0x324)],'joinEvent':_0x5d237b[_0x47c0b5(0x3a5)][_0x47c0b5(0x3a5)]};break;}case I[_0x47c0b5(0x152)][_0x47c0b5(0x3be)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)][_0x47c0b5(0x3be)],'liveShareNewHost':_0x5d237b[_0x47c0b5(0x3a5)][_0x47c0b5(0x3a5)]};break;}case I[_0x47c0b5(0x152)]['LIVESHARE_OPERATION']:{_0x5c708a={'eventID':I['CollaborationEvent'][_0x47c0b5(0x2ed)],'liveShareOperation':_0x5d237b[_0x47c0b5(0x3a5)][_0x47c0b5(0x3a5)]};break;}case I['CollaborationEvent'][_0x47c0b5(0x424)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)][_0x47c0b5(0x424)],'liveShareTerminate':_0x5d237b['data'][_0x47c0b5(0x3a5)]};break;}case I[_0x47c0b5(0x152)][_0x47c0b5(0x499)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x5d237b[_0x47c0b5(0x3a5)][_0x47c0b5(0x3a5)]};break;}case I[_0x47c0b5(0x152)][_0x47c0b5(0x178)]:{_0x5c708a={'eventID':I[_0x47c0b5(0x152)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5c708a={'eventID':_0x5d237b['data'][_0x47c0b5(0x21a)]};}return JSON['stringify']({'cmd':_0x5d237b['cmd'],'routeKey':_0x5d237b[_0x47c0b5(0x160)],'collaMsg':_0x5c708a});}case W['JOIN']:return JSON[_0x47c0b5(0x32c)]({'cmd':_0x5d237b['cmd'],'routeKey':_0x5d237b[_0x47c0b5(0x160)],'joinReq':_0x5d237b[_0x47c0b5(0x3a5)]});case W['LEAVE']:return JSON['stringify']({'cmd':_0x5d237b[_0x47c0b5(0x15c)],'routeKey':_0x5d237b[_0x47c0b5(0x160)],'leaveReq':_0x5d237b[_0x47c0b5(0x3a5)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object[_0x1c66a7(0x18b)],zt=(_0x5f581f,_0x485b65,_0x496a0d,_0x51eaf4)=>{var _0x132258=_0x1c66a7;for(var _0x13dd7f=_0x51eaf4>0x1?void 0x0:_0x51eaf4?qt(_0x485b65,_0x496a0d):_0x485b65,_0x342fd3=_0x5f581f[_0x132258(0x1c0)]-0x1,_0x5a1e31;_0x342fd3>=0x0;_0x342fd3--)(_0x5a1e31=_0x5f581f[_0x342fd3])&&(_0x13dd7f=_0x5a1e31(_0x13dd7f)||_0x13dd7f);return _0x13dd7f;},_e=(_0x2bcdcd,_0x301ae5)=>(_0x58659c,_0x1d8d7b)=>_0x301ae5(_0x58659c,_0x1d8d7b,_0x2bcdcd);const He=a[_0x1c66a7(0x4a4)](_0x1c66a7(0x40c));function Jt(_0x3f9b20,_0x5abe0f,_0x3c1426){var _0x18eebc=_0x1c66a7;return _0x3f9b20+'/'+_0x5abe0f+_0x18eebc(0x167)+_0x3c1426+_0x18eebc(0x296);}exports['CollaborationSocketService']=class extends a[_0x1c66a7(0x403)]{constructor(_0xa7c889,_0x2c7587,_0x2e05f6,_0x40fade,_0x440214){var _0x59f4ec=_0x1c66a7;super(),this['_injector']=_0xa7c889,this[_0x59f4ec(0x321)]=_0x2c7587,this[_0x59f4ec(0x26d)]=_0x2e05f6,this[_0x59f4ec(0x309)]=_0x40fade,this[_0x59f4ec(0x38a)]=_0x440214;}[_0x1c66a7(0x458)](_0x5953c4){var _0x1379db=_0x1c66a7;const _0x789139=this[_0x1379db(0x2cf)]['get'](Y[_0x1379db(0x299)]);if(!_0x789139)throw new Error(_0x1379db(0x40f));const _0x210188=_0x789139[_0x1379db(0x42b)](_0x5953c4);if(!_0x210188)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3e3df4=new a[(_0x1379db(0x2e1))](),_0xd63545=new $[(_0x1379db(0x2bf))]();_0x3e3df4[_0x1379db(0x21e)](_0x210188[_0x1379db(0x25e)][_0x1379db(0x400)](_0x5dcdde=>_0xd63545[_0x1379db(0x18f)](_0x5dcdde))),_0x3e3df4['add'](a['toDisposable'](()=>_0xd63545['complete']()));const _0x3e2fd6=new $[(_0x1379db(0x2bf))]();_0x3e3df4[_0x1379db(0x21e)](_0x210188[_0x1379db(0x41e)][_0x1379db(0x400)](_0x19ca6b=>_0x3e2fd6[_0x1379db(0x18f)](_0x19ca6b))),_0x3e3df4[_0x1379db(0x21e)](a[_0x1379db(0x401)](()=>_0x3e2fd6[_0x1379db(0x3b2)]()));const _0x1f6f2a=new $[(_0x1379db(0x2bf))]();_0x3e3df4[_0x1379db(0x21e)](_0x210188[_0x1379db(0x3a0)][_0x1379db(0x400)](_0x4d7c81=>{var _0x4e735c=_0x1379db;const _0x23c561=Ct(_0x4d7c81);_0x1f6f2a[_0x4e735c(0x18f)](_0x23c561);})),_0x3e3df4['add'](a[_0x1379db(0x401)](()=>_0x1f6f2a['complete']()));let _0xfaa37e;const _0x4457b1=()=>{var _0x5d1bd0=_0x1379db;_0x3e2fd6[_0x5d1bd0(0x18f)](new Event(_0x5d1bd0(0x1f6))),_0xd63545[_0x5d1bd0(0x18f)](new Event('connection\x20error')),_0xfaa37e[_0x5d1bd0(0x22d)]();};return _0xfaa37e={'memberID':'','close$':_0xd63545[_0x1379db(0x233)](),'error$':_0x3e2fd6[_0x1379db(0x233)](),'open$':_0x210188[_0x1379db(0x3f8)],'message$':_0x1f6f2a['asObservable'](),'send':_0x3c565f=>{var _0x26ecc4=_0x1379db;if(_0x3c565f[_0x26ecc4(0x15c)]===W[_0x26ecc4(0x4b8)]){if(_0x3c565f[_0x26ecc4(0x3a5)][_0x26ecc4(0x21a)]===I[_0x26ecc4(0x152)]['SUBMIT_CHANGESET']){this[_0x26ecc4(0x2ce)](_0xfaa37e,_0x3c565f[_0x26ecc4(0x3a5)])[_0x26ecc4(0x148)](_0x53563d=>{var _0x4f9b16=_0x26ecc4;this[_0x4f9b16(0x309)][_0x4f9b16(0x3b6)](_0x53563d),_0x4457b1();});return;}if(_0x3c565f[_0x26ecc4(0x3a5)]['eventID']===I['CollaborationEvent']['FETCH_MISSING']){const _0x3ed62a=_0x3c565f['data'];this['_fetchMissChangesets'](_0x3ed62a)[_0x26ecc4(0x3c8)](_0xc2ada1=>{var _0x28d8ba=_0x26ecc4;_0x1f6f2a['next']({'cmd':W[_0x28d8ba(0x335)],'code':oe['OK'],'routeKey':_0x3ed62a[_0x28d8ba(0x3a5)]['unitID'],'routeType':'','data':{'eventID':I[_0x28d8ba(0x152)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0xc2ada1}}});})[_0x26ecc4(0x148)](_0x582434=>{var _0x1154d0=_0x26ecc4;this['_logService'][_0x1154d0(0x3b6)](_0x582434),_0x4457b1();});return;}}_0x210188[_0x26ecc4(0x44f)](Tt(_0x3c565f));},'close':()=>{var _0x3b620d=_0x1379db;_0x210188[_0x3b620d(0x22d)](),_0x3e3df4[_0x3b620d(0x280)]();}},_0xfaa37e;}async[_0x1c66a7(0x2ce)](_0x3732ad,_0x5054a4){var _0x123829=_0x1c66a7,_0x125307,_0x32b0ad;const {unitType:_0x1ffd2e,unitID:_0x452e4,changeset:_0x2e107a}=_0x5054a4[_0x123829(0x3a5)],_0x35c9c5={'unitID':_0x452e4,'memberID':_0x3732ad[_0x123829(0x479)],'type':_0x1ffd2e,'changeset':I['parseChangesetToProtocol'](_0x2e107a)},_0x7e575f=this[_0x123829(0x26d)][_0x123829(0x3b7)](pt),_0x53f0cf=this[_0x123829(0x26d)][_0x123829(0x3b7)](K),_0x2e7495=Jt((_0x32b0ad=(_0x125307=_0x53f0cf==null?void 0x0:_0x53f0cf[_0x123829(0x22c)])!=null?_0x125307:_0x7e575f)!=null?_0x32b0ad:Vt,_0x1ffd2e,_0x452e4);try{await this[_0x123829(0x321)]['post'](_0x2e7495,{'body':_0x35c9c5});}catch(_0x529b7f){throw this[_0x123829(0x309)][_0x123829(0x3b6)](_0x123829(0x244),_0x123829(0x42f)),_0x529b7f;}}async[_0x1c66a7(0x1f9)](_0x3f0bdc){var _0x225f50=_0x1c66a7;const {unitID:_0x1c2fe1,from:_0x368f3f,to:_0x4e0d4c,unitType:_0x37a0d7}=_0x3f0bdc[_0x225f50(0x3a5)];return(await this[_0x225f50(0x38a)][_0x225f50(0x466)]({'metadata':void 0x0},{'unitID':_0x1c2fe1,'type':_0x37a0d7,'from':_0x368f3f,'to':_0x4e0d4c}))['changesets'];}},exports[_0x1c66a7(0x2c2)]=zt([_e(0x0,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),_e(0x1,a[_0x1c66a7(0x1a6)](Y[_0x1c66a7(0x322)])),_e(0x2,a[_0x1c66a7(0x33a)]),_e(0x3,a[_0x1c66a7(0x2c8)]),_e(0x4,I[_0x1c66a7(0x3fe)])],exports['CollaborationSocketService']);const Xt='collaboration_new_changeset';function Zt(_0x298902){var _0x2a2ea2=_0x1c66a7;return JSON[_0x2a2ea2(0x32c)](_0x298902)[_0x2a2ea2(0x1c0)];}class $e{constructor(){var _0x2fb577=_0x1c66a7;A(this,_0x2fb577(0x368),new $['Subject']()),A(this,_0x2fb577(0x198),this[_0x2fb577(0x368)][_0x2fb577(0x233)]());}['onCommentUpdate'](_0x23c412){var _0x3f3af9=_0x1c66a7;this[_0x3f3af9(0x368)][_0x3f3af9(0x18f)](_0x23c412);}}var Qt=Object[_0x1c66a7(0x18b)],ei=(_0x4a6087,_0x3d279d,_0x1edc70,_0x159428)=>{var _0x2fcc64=_0x1c66a7;for(var _0x18312c=_0x159428>0x1?void 0x0:_0x159428?Qt(_0x3d279d,_0x1edc70):_0x3d279d,_0x8f38b4=_0x4a6087[_0x2fcc64(0x1c0)]-0x1,_0x241424;_0x8f38b4>=0x0;_0x8f38b4--)(_0x241424=_0x4a6087[_0x8f38b4])&&(_0x18312c=_0x241424(_0x18312c)||_0x18312c);return _0x18312c;},We=(_0x329a3c,_0x1eea0e)=>(_0x296ef2,_0x72ba78)=>_0x1eea0e(_0x296ef2,_0x72ba78,_0x329a3c);exports[_0x1c66a7(0x467)]=class extends a[_0x1c66a7(0x403)]{constructor(_0x4c16ae,_0x10e7e0){var _0x24d2ed=_0x1c66a7;super(),A(this,_0x24d2ed(0x333),new Map()),A(this,_0x24d2ed(0x26a),new $[(_0x24d2ed(0x2bf))]()),(this[_0x24d2ed(0x204)]=_0x4c16ae,this[_0x24d2ed(0x351)]=_0x10e7e0,this[_0x24d2ed(0x3f0)]($[_0x24d2ed(0x207)](this[_0x24d2ed(0x204)][_0x24d2ed(0x1e3)](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](V[_0x24d2ed(0x3a1)](_0x5e33e4=>_0x5e33e4['getUnitId']())),this[_0x24d2ed(0x204)][_0x24d2ed(0x1e3)](a[_0x24d2ed(0x23d)][_0x24d2ed(0x455)])[_0x24d2ed(0x1a3)](V[_0x24d2ed(0x3a1)](_0x42b6cd=>_0x42b6cd[_0x24d2ed(0x495)]())),this[_0x24d2ed(0x204)][_0x24d2ed(0x1e3)](a[_0x24d2ed(0x23d)][_0x24d2ed(0x3d9)])[_0x24d2ed(0x1a3)](V[_0x24d2ed(0x3a1)](_0x16ae63=>_0x16ae63[_0x24d2ed(0x495)]())))['subscribe'](_0x11f2ac=>this[_0x24d2ed(0x2f9)](_0x11f2ac))));}['waitForRoom$'](_0x1ec964){var _0x2188dc=_0x1c66a7;return this['_roomMembers'][_0x2188dc(0x378)](_0x1ec964)?$['of'](this[_0x2188dc(0x333)][_0x2188dc(0x2ba)](_0x1ec964)):this[_0x2188dc(0x26a)][_0x2188dc(0x1a3)](V['map'](_0x375caa=>{var _0xcc6759=_0x2188dc;if(_0x375caa===_0x1ec964)return this['_roomMembers'][_0xcc6759(0x2ba)](_0x375caa);}));}[_0x1c66a7(0x19c)](_0x59c2f1){var _0xac85be=_0x1c66a7;this[_0xac85be(0x351)]['setCurrentUser'](_0x59c2f1);}['getCurrentUser'](){var _0x39c234=_0x1c66a7;return this['_userManagerService'][_0x39c234(0x245)]();}['updateMember'](_0x1ef757,_0x288415){var _0x272052=_0x1c66a7;let _0x22e0b1=this[_0x272052(0x333)]['get'](_0x1ef757);_0x22e0b1||(_0x22e0b1=new ti(),this[_0x272052(0x333)]['set'](_0x1ef757,_0x22e0b1),this[_0x272052(0x26a)][_0x272052(0x18f)](_0x1ef757)),_0x22e0b1[_0x272052(0x25b)](_0x288415);}[_0x1c66a7(0x2fe)](_0x304f80,_0x97b1a4){var _0x35ab7f=_0x1c66a7;const _0xb77a41=this['_roomMembers'][_0x35ab7f(0x2ba)](_0x304f80);_0xb77a41&&_0xb77a41[_0x35ab7f(0x2fe)](_0x97b1a4);}[_0x1c66a7(0x41f)](_0x4765df){var _0x2cb883=_0x1c66a7;return this[_0x2cb883(0x333)][_0x2cb883(0x2ba)](_0x4765df);}[_0x1c66a7(0x30f)](_0x183b29,_0x46c61d){var _0x426778=_0x1c66a7;const _0x26d47e=this['_roomMembers'][_0x426778(0x2ba)](_0x183b29);if(_0x26d47e)return _0x26d47e[_0x426778(0x30f)](_0x46c61d);}[_0x1c66a7(0x2f9)](_0x4c7b8e){var _0x1ffe9d=_0x1c66a7;const _0x5cf612=this[_0x1ffe9d(0x333)][_0x1ffe9d(0x2ba)](_0x4c7b8e);_0x5cf612&&(_0x5cf612[_0x1ffe9d(0x280)](),this[_0x1ffe9d(0x333)]['delete'](_0x4c7b8e));}['dispose'](){var _0x3e2d76=_0x1c66a7;this['_roomMembers'][_0x3e2d76(0x42e)](_0x279e96=>_0x279e96[_0x3e2d76(0x280)]()),this[_0x3e2d76(0x333)]['clear'](),this[_0x3e2d76(0x26a)][_0x3e2d76(0x3b2)]();}},exports['MemberService']=ei([We(0x0,a[_0x1c66a7(0x2c7)]),We(0x1,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x246)]))],exports[_0x1c66a7(0x467)]);class ti extends a[_0x1c66a7(0x403)]{constructor(){var _0x104ac7=_0x1c66a7;super(...arguments),A(this,_0x104ac7(0x440),new Map()),A(this,_0x104ac7(0x311),new $['BehaviorSubject'](this[_0x104ac7(0x440)])),A(this,_0x104ac7(0x2b6),this[_0x104ac7(0x311)][_0x104ac7(0x233)]());}['dispose'](){var _0x2c8d9b=_0x1c66a7;this[_0x2c8d9b(0x440)][_0x2c8d9b(0x397)]();}[_0x1c66a7(0x25b)](_0x24bdae){var _0x506649=_0x1c66a7;this[_0x506649(0x440)][_0x506649(0x352)](_0x24bdae[_0x506649(0x479)],_0x24bdae),this[_0x506649(0x26c)]();}['removeMember'](_0x534780){this['_members']['delete'](_0x534780);}[_0x1c66a7(0x30f)](_0x242381){var _0x2f77f5=_0x1c66a7;return this['_members'][_0x2f77f5(0x2ba)](_0x242381);}[_0x1c66a7(0x243)](){var _0x565796=_0x1c66a7;return Array[_0x565796(0x2a9)](this[_0x565796(0x440)][_0x565796(0x3a6)]());}[_0x1c66a7(0x26c)](){var _0x184b3a=_0x1c66a7;this[_0x184b3a(0x311)][_0x184b3a(0x18f)](this[_0x184b3a(0x440)]);}}function _0x1aa6(_0xea0b0f,_0x26d4a2){var _0x4ec67f=_0x4ec6();return _0x1aa6=function(_0x1aa69c,_0x4df3c2){_0x1aa69c=_0x1aa69c-0x13f;var _0x2ebb2b=_0x4ec67f[_0x1aa69c];return _0x2ebb2b;},_0x1aa6(_0xea0b0f,_0x26d4a2);}var ii=Object[_0x1c66a7(0x18b)],ni=(_0x3f78bd,_0x4bafb3,_0x4a837d,_0x56fea6)=>{var _0x4bf312=_0x1c66a7;for(var _0x1c01b1=_0x56fea6>0x1?void 0x0:_0x56fea6?ii(_0x4bafb3,_0x4a837d):_0x4bafb3,_0x4b59c7=_0x3f78bd[_0x4bf312(0x1c0)]-0x1,_0x4dd429;_0x4b59c7>=0x0;_0x4b59c7--)(_0x4dd429=_0x3f78bd[_0x4b59c7])&&(_0x1c01b1=_0x4dd429(_0x1c01b1)||_0x1c01b1);return _0x1c01b1;},se=(_0x202b43,_0x4b9108)=>(_0x3184ee,_0x361160)=>_0x4b9108(_0x3184ee,_0x361160,_0x202b43),re=(_0x4f60f0=>(_0x4f60f0[_0x4f60f0[_0x1c66a7(0x342)]=0x0]=_0x1c66a7(0x342),_0x4f60f0[_0x4f60f0[_0x1c66a7(0x480)]=0x1]='JOINING',_0x4f60f0[_0x4f60f0[_0x1c66a7(0x287)]=0x2]='OFFLINE',_0x4f60f0[_0x4f60f0[_0x1c66a7(0x279)]=0x3]='ONLINE',_0x4f60f0))(re||{});const Ge={[oe[_0x1c66a7(0x177)]]:_0x1c66a7(0x169),[oe['JOIN_ROOM_FULL']]:_0x1c66a7(0x201),[oe[_0x1c66a7(0x4ae)]]:_0x1c66a7(0x460),[oe[_0x1c66a7(0x1b7)]]:'session.room-permission-denied',[oe[_0x1c66a7(0x1ef)]]:_0x1c66a7(0x24e)};exports['CollaborationSession']=class extends a[_0x1c66a7(0x19b)]{constructor(_0x2d034f,_0x285922,_0x5288b7,_0xc4422f,_0x311555,_0x26e62a,_0x72ff9d,_0x809484,_0x263fa4){var _0x49a5dc=_0x1c66a7;super(),A(this,_0x49a5dc(0x17f),new $['BehaviorSubject'](0x0)),A(this,_0x49a5dc(0x2a0),this['_sessionStatus$'][_0x49a5dc(0x233)]()),A(this,_0x49a5dc(0x184),new $[(_0x49a5dc(0x2bf))]()),A(this,'event$',this['_event$'][_0x49a5dc(0x233)]()),A(this,_0x49a5dc(0x485)),A(this,_0x49a5dc(0x496)),A(this,_0x49a5dc(0x45f)),A(this,_0x49a5dc(0x156),!0x1),A(this,_0x49a5dc(0x34c),null),(this['_unitID']=_0x2d034f,this['_logService']=_0x5288b7,this['_configService']=_0xc4422f,this[_0x49a5dc(0x2de)]=_0x311555,this[_0x49a5dc(0x1d8)]=_0x26e62a,this[_0x49a5dc(0x2a5)]=_0x72ff9d,this[_0x49a5dc(0x459)]=_0x809484,this[_0x49a5dc(0x47f)]=_0x263fa4,this[_0x49a5dc(0x156)]=!!this[_0x49a5dc(0x47f)],_0x285922[_0x49a5dc(0x1a3)]($[_0x49a5dc(0x22f)](this[_0x49a5dc(0x3a4)]))['subscribe'](_0x59f428=>{var _0x4fef6f=_0x49a5dc,_0x3369d3;typeof _0x59f428>'u'||(this[_0x4fef6f(0x485)]=_0x59f428,_0x59f428?(this['_joinRoom'](_0x59f428),this[_0x4fef6f(0x496)]=_0x59f428['message$'][_0x4fef6f(0x400)](_0x586401=>{var _0x58ba09=_0x4fef6f;_0x586401[_0x58ba09(0x160)]===this[_0x58ba09(0x494)]&&this['_onCombEvent'](_0x586401);})):(this[_0x4fef6f(0x163)](),this[_0x4fef6f(0x17f)][_0x4fef6f(0x18f)](0x2),(_0x3369d3=this['_socketMessageSubscription'])==null||_0x3369d3[_0x4fef6f(0x1df)](),this[_0x4fef6f(0x496)]=null));}));}get['sessionStatus'](){var _0x3c60d6=_0x1c66a7;return this[_0x3c60d6(0x17f)]['getValue']();}[_0x1c66a7(0x2d9)](){var _0x3aa97e=_0x1c66a7,_0xfe8b75,_0x1c7c35;return(_0x1c7c35=(_0xfe8b75=this[_0x3aa97e(0x485)])==null?void 0x0:_0xfe8b75['memberID'])!=null?_0x1c7c35:null;}[_0x1c66a7(0x280)](){var _0x3c9b8f=_0x1c66a7;super[_0x3c9b8f(0x280)](),this[_0x3c9b8f(0x3a4)][_0x3c9b8f(0x18f)](),this[_0x3c9b8f(0x3a4)][_0x3c9b8f(0x3b2)]();}[_0x1c66a7(0x22d)](){var _0x135798=_0x1c66a7,_0x354cb1,_0x2dac51;this[_0x135798(0x163)](),(_0x354cb1=this[_0x135798(0x485)])==null||_0x354cb1[_0x135798(0x44f)]({'cmd':W[_0x135798(0x43f)],'data':{'roomID':this[_0x135798(0x494)]}}),(_0x2dac51=this[_0x135798(0x485)])==null||_0x2dac51[_0x135798(0x22d)](),this[_0x135798(0x184)]['complete'](),this[_0x135798(0x17f)][_0x135798(0x3b2)](),this[_0x135798(0x280)]();}[_0x1c66a7(0x2b8)](_0x3cea5b){var _0x4d1375=_0x1c66a7;_0x3cea5b['cmd']===W[_0x4d1375(0x24d)]?this['_onJoinRoomEvent'](_0x3cea5b):_0x3cea5b['cmd']===W[_0x4d1375(0x335)]&&this['_onRecvEvent'](_0x3cea5b);}[_0x1c66a7(0x271)](_0x5e89c1){var _0xe1948=_0x1c66a7;this[_0xe1948(0x17f)]['next'](0x1),_0x5e89c1[_0xe1948(0x44f)]({'cmd':W[_0xe1948(0x24d)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xe1948(0x494)]}]}});}[_0x1c66a7(0x3b0)](_0x4188e0){var _0x19c504=_0x1c66a7,_0x30e08c;if(_0x4188e0[_0x19c504(0x36d)]in Ge){this['_collaborationUIEventService'][_0x19c504(0x2c0)]({'id':Z[_0x19c504(0x232)],'data':Ge[_0x4188e0[_0x19c504(0x36d)]]}),this[_0x19c504(0x17f)][_0x19c504(0x18f)](0x2);return;}this[_0x19c504(0x17f)][_0x19c504(0x18f)](0x3);const _0x2930c6=(_0x30e08c=_0x4188e0[_0x19c504(0x3a5)]['roomInfos'][this[_0x19c504(0x494)]])==null?void 0x0:_0x30e08c[_0x19c504(0x362)];_0x2930c6&&_0x2930c6[_0x19c504(0x42e)](_0x58f86e=>this['_memberService'][_0x19c504(0x25b)](this[_0x19c504(0x494)],_0x58f86e));}[_0x1c66a7(0x203)](_0x137a40){var _0x38bf8a=_0x1c66a7;try{const _0x26793d=_0x137a40[_0x38bf8a(0x3a5)];switch(_0x26793d[_0x38bf8a(0x21a)]){case I[_0x38bf8a(0x152)][_0x38bf8a(0x324)]:this['_onUserJoin'](_0x26793d),this['_event$'][_0x38bf8a(0x18f)](_0x26793d);break;case I[_0x38bf8a(0x152)][_0x38bf8a(0x31e)]:this[_0x38bf8a(0x3ec)](_0x26793d),this[_0x38bf8a(0x184)]['next'](_0x26793d);break;case I[_0x38bf8a(0x152)][_0x38bf8a(0x2b4)]:case I[_0x38bf8a(0x152)][_0x38bf8a(0x1c7)]:this[_0x38bf8a(0x456)](),this['_clearCollaborationTimeoutTimer'](),this[_0x38bf8a(0x184)][_0x38bf8a(0x18f)](_0x26793d);break;case I['CollaborationEvent'][_0x38bf8a(0x1ff)]:this[_0x38bf8a(0x309)][_0x38bf8a(0x3b6)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x26793d)),this['_event$'][_0x38bf8a(0x18f)](_0x26793d);break;case I[_0x38bf8a(0x152)][_0x38bf8a(0x381)]:this['_commentService']['onCommentUpdate'](_0x26793d['data']),this[_0x38bf8a(0x184)][_0x38bf8a(0x18f)](_0x26793d);break;default:this[_0x38bf8a(0x184)][_0x38bf8a(0x18f)](_0x26793d);}}catch(_0x18a33a){this['_logService'][_0x38bf8a(0x3b6)](_0x18a33a,_0x137a40);}}[_0x1c66a7(0x2be)](_0x51db83){var _0x86a723=_0x1c66a7;this[_0x86a723(0x1d8)]['updateMember'](this['_unitID'],_0x51db83[_0x86a723(0x3a5)]);}[_0x1c66a7(0x3ec)](_0x3aff1b){var _0x3a07de=_0x1c66a7;this[_0x3a07de(0x1d8)][_0x3a07de(0x2fe)](this[_0x3a07de(0x494)],_0x3aff1b[_0x3a07de(0x3a5)]['memberID']);}async[_0x1c66a7(0x44f)](_0x3ebf47,_0x191bd4){var _0x3f7f3d=_0x1c66a7;if(this['sessionStatus']!==0x3||!this[_0x3f7f3d(0x485)])throw new Error(_0x3f7f3d(0x2b0));try{_0x3ebf47['eventID']===I[_0x3f7f3d(0x152)][_0x3f7f3d(0x15e)]&&(this[_0x3f7f3d(0x4a5)](),this['_startTelemetryCollaborationNewChangeset'](_0x3ebf47)),this['_socket'][_0x3f7f3d(0x44f)]({'cmd':W[_0x3f7f3d(0x4b8)],'routeKey':_0x191bd4,'routeType':'','data':_0x3ebf47});}catch(_0x42e7c9){this[_0x3f7f3d(0x309)][_0x3f7f3d(0x3b6)](_0x42e7c9);}}[_0x1c66a7(0x4a5)](){var _0x3ffb75=_0x1c66a7,_0x2b6b0c;this[_0x3ffb75(0x45f)]=setTimeout(()=>{var _0x5b299a=_0x3ffb75;this[_0x5b299a(0x45f)]=null,this[_0x5b299a(0x459)][_0x5b299a(0x2c0)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x2b6b0c=this[_0x3ffb75(0x26d)][_0x3ffb75(0x3b7)](ke))!=null?_0x2b6b0c:St);}[_0x1c66a7(0x19f)](){var _0x56e24a=_0x1c66a7;this[_0x56e24a(0x45f)]&&(clearTimeout(this[_0x56e24a(0x45f)]),this[_0x56e24a(0x45f)]=null);}[_0x1c66a7(0x3ce)](_0x1369d0){var _0x172836=_0x1c66a7;if(!this[_0x172836(0x156)])return;const {data:_0x5db2db}=_0x1369d0,{unitID:_0x585acf,changeset:_0x4883d5}=_0x5db2db,{mutations:_0x26f54b,type:_0x2bae65}=_0x4883d5;this[_0x172836(0x34c)]={'unitId':_0x585acf,'type':_0x2bae65,'startTime':performance[_0x172836(0x331)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x26f54b)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x14a6c0=_0x1c66a7;if(this[_0x14a6c0(0x156)]){if(!this[_0x14a6c0(0x34c)]){this[_0x14a6c0(0x309)]['error'](_0x14a6c0(0x244),_0x14a6c0(0x35e));return;}this['_telemetryInfo']['stopTime']=performance[_0x14a6c0(0x331)](),this[_0x14a6c0(0x34c)][_0x14a6c0(0x1ce)]=this[_0x14a6c0(0x34c)][_0x14a6c0(0x24c)]-this[_0x14a6c0(0x34c)][_0x14a6c0(0x1a9)],this['_telemetryService']['capture'](Xt,this[_0x14a6c0(0x34c)]),this[_0x14a6c0(0x34c)]=null;}}[_0x1c66a7(0x163)](){this['_telemetryInfo']=null;}},exports[_0x1c66a7(0x332)]=ni([se(0x2,a[_0x1c66a7(0x2c8)]),se(0x3,a[_0x1c66a7(0x33a)]),se(0x4,a[_0x1c66a7(0x1a6)](a['LocaleService'])),se(0x5,a[_0x1c66a7(0x1a6)](exports[_0x1c66a7(0x467)])),se(0x6,a[_0x1c66a7(0x1a6)]($e)),se(0x7,a[_0x1c66a7(0x1a6)](ee)),se(0x8,a[_0x1c66a7(0x3c9)](Pt['ITelemetryService']))],exports[_0x1c66a7(0x332)]);var ri=Object['getOwnPropertyDescriptor'],si=(_0x1b29e1,_0x4bf7ba,_0x4cb436,_0x54ff23)=>{for(var _0x15d682=_0x54ff23>0x1?void 0x0:_0x54ff23?ri(_0x4bf7ba,_0x4cb436):_0x4bf7ba,_0x2d37ad=_0x1b29e1['length']-0x1,_0x582c89;_0x2d37ad>=0x0;_0x2d37ad--)(_0x582c89=_0x1b29e1[_0x2d37ad])&&(_0x15d682=_0x582c89(_0x15d682)||_0x15d682);return _0x15d682;},he=(_0x134afb,_0x51ad43)=>(_0x295dc7,_0x28aaba)=>_0x51ad43(_0x295dc7,_0x28aaba,_0x134afb);exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x378c9f,_0x44664e,_0x1b88f7,_0x9340d0,_0x5da508,_0x4129ad){var _0x34386c=_0x1c66a7;super(),A(this,_0x34386c(0x1eb),new $['BehaviorSubject'](void 0x0)),A(this,_0x34386c(0x2c3),this[_0x34386c(0x1eb)][_0x34386c(0x233)]()),A(this,_0x34386c(0x20f),null),A(this,_0x34386c(0x3c1),new Map()),A(this,_0x34386c(0x34a),new $[(_0x34386c(0x1bf))](re[_0x34386c(0x342)])),A(this,_0x34386c(0x486),this['_status$'][_0x34386c(0x233)]()),A(this,_0x34386c(0x284),!0x1),A(this,_0x34386c(0x435)),A(this,_0x34386c(0x208),0x0),A(this,_0x34386c(0x2c9)),A(this,_0x34386c(0x30a)),(this[_0x34386c(0x2cf)]=_0x378c9f,this[_0x34386c(0x309)]=_0x44664e,this[_0x34386c(0x26d)]=_0x1b88f7,this[_0x34386c(0x41d)]=_0x9340d0,this['_collaborationUIEventService']=_0x5da508,this[_0x34386c(0x4b4)]=_0x4129ad,this[_0x34386c(0x48b)]());}get[_0x1c66a7(0x485)](){var _0x902d51=_0x1c66a7;return this[_0x902d51(0x1eb)]['getValue']();}['_listenToNetworkCondition'](){var _0x33c5e9=_0x1c66a7;this['_networkConditionService']&&this[_0x33c5e9(0x3f0)](this[_0x33c5e9(0x4b4)]['online$']['subscribe'](_0x1c73f0=>{var _0xb386d3=_0x33c5e9;_0x1c73f0&&!this[_0xb386d3(0x485)]&&this['reconnect'](),_0x1c73f0||this[_0xb386d3(0x262)]();}));}[_0x1c66a7(0x280)](){var _0x2b8854=_0x1c66a7;super[_0x2b8854(0x280)](),this[_0x2b8854(0x372)](),this['_clearTimeoutTimer'](),this[_0x2b8854(0x431)](),this[_0x2b8854(0x3c1)][_0x2b8854(0x42e)](_0x3a612b=>_0x3a612b[_0x2b8854(0x280)]()),this['_sessions'][_0x2b8854(0x397)](),this['_status$']['complete']();}async[_0x1c66a7(0x345)](_0x209756){var _0x192b66=_0x1c66a7;if(this[_0x192b66(0x3c1)][_0x192b66(0x378)](_0x209756))return this[_0x192b66(0x3c1)][_0x192b66(0x2ba)](_0x209756);this[_0x192b66(0x46d)]();const _0x2e3b92=this['_injector']['createInstance'](exports[_0x192b66(0x332)],_0x209756,this['_socket$'][_0x192b66(0x233)]());return this[_0x192b66(0x3c1)][_0x192b66(0x352)](_0x209756,_0x2e3b92),_0x2e3b92;}[_0x1c66a7(0x34f)](_0x4c9f4f){var _0x10ca53=_0x1c66a7,_0x388bb3;const _0x113b65=this[_0x10ca53(0x3c1)]['get'](_0x4c9f4f);_0x113b65&&(this['_sessions'][_0x10ca53(0x385)](_0x4c9f4f),_0x113b65[_0x10ca53(0x22d)]()),this['_sessions'][_0x10ca53(0x293)]||(_0x388bb3=this[_0x10ca53(0x485)])==null||_0x388bb3[_0x10ca53(0x22d)]();}[_0x1c66a7(0x2cd)](){var _0x2b5f81=_0x1c66a7;this[_0x2b5f81(0x208)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x2b5f81(0x3cf)]();}['_clearRetryConnectingTimer'](){var _0x5eb1aa=_0x1c66a7;this[_0x5eb1aa(0x435)]!=null&&(clearTimeout(this[_0x5eb1aa(0x435)]),this['_retryConnectingTimer']=null);}async[_0x1c66a7(0x47a)](){var _0x5aad4d=_0x1c66a7,_0x36cbaa,_0x3ee044;const _0x161057=this['_configService'][_0x5aad4d(0x3b7)](ut),_0x2af077=this[_0x5aad4d(0x26d)]['getConfig'](K),_0x4774c5=(_0x3ee044=(_0x36cbaa=_0x2af077==null?void 0x0:_0x2af077[_0x5aad4d(0x18e)])!=null?_0x36cbaa:_0x161057)!=null?_0x3ee044:dt,_0x4e262a=await this[_0x5aad4d(0x41d)]['createSocket'](_0x4774c5);return this[_0x5aad4d(0x20f)]=_0x4e262a,_0x4e262a;}async[_0x1c66a7(0x46d)](){var _0x169924=_0x1c66a7,_0x2c2c24,_0x140fc5;try{const _0x323735=(_0x140fc5=(_0x2c2c24=this[_0x169924(0x485)])!=null?_0x2c2c24:this[_0x169924(0x20f)])!=null?_0x140fc5:await this[_0x169924(0x47a)]();if(_0x323735){const _0x5b2c92=_0x323735[_0x169924(0x44f)];_0x323735[_0x169924(0x44f)]=_0x166ca9=>(this[_0x169924(0x371)](),_0x5b2c92[_0x169924(0x18c)](_0x323735,[_0x166ca9])),_0x323735[_0x169924(0x3a0)]['subscribe'](_0x41dae2=>this[_0x169924(0x1d0)](_0x323735,_0x41dae2)),_0x323735[_0x169924(0x41e)][_0x169924(0x1a3)](V[_0x169924(0x278)](0x1))[_0x169924(0x400)](_0x4fe22b=>this[_0x169924(0x309)][_0x169924(0x3b6)](_0x169924(0x383),_0x4fe22b)),_0x323735[_0x169924(0x3f8)][_0x169924(0x1a3)](V[_0x169924(0x278)](0x1))[_0x169924(0x400)](()=>{var _0x3223bc=_0x169924;this[_0x3223bc(0x426)](_0x323735);}),_0x323735['close$']['pipe'](V[_0x169924(0x278)](0x1))[_0x169924(0x400)](_0x38fd2f=>{var _0x3af3b0=_0x169924;this['_logService']['debug'](_0x3af3b0(0x46c),_0x3af3b0(0x143),_0x38fd2f),this['_onConnectionFailed']();});}}catch(_0x351c2d){this[_0x169924(0x309)][_0x169924(0x3b6)](_0x351c2d),this[_0x169924(0x3d8)]();}}['_onConnectionOpen'](_0x9ed5c1){var _0x4ee098=_0x1c66a7;this[_0x4ee098(0x309)][_0x4ee098(0x16c)]('[CollaborationSessionService]',_0x4ee098(0x3f5)),_0x9ed5c1[_0x4ee098(0x44f)]({'cmd':W['HELLO']}),this[_0x4ee098(0x371)]();}[_0x1c66a7(0x262)](){var _0xce7a94=_0x1c66a7;this['_socketReady']=!0x1,this[_0xce7a94(0x20f)]=null,this[_0xce7a94(0x34a)]['next'](re[_0xce7a94(0x287)]),this['_socket$'][_0xce7a94(0x18f)](null),this[_0xce7a94(0x196)](),this[_0xce7a94(0x431)]();}[_0x1c66a7(0x3d8)](){var _0x38fea9=_0x1c66a7,_0x3a5399;this[_0x38fea9(0x262)](),this[_0x38fea9(0x208)]<((_0x3a5399=this[_0x38fea9(0x26d)][_0x38fea9(0x3b7)](ft))!=null?_0x3a5399:jt)?(this[_0x38fea9(0x459)][_0x38fea9(0x2c0)]({'id':Z[_0x38fea9(0x3a7)]}),this[_0x38fea9(0x3cf)]()):this[_0x38fea9(0x459)][_0x38fea9(0x2c0)]({'id':Z['SOCKET_FAILED']});}['_tryReconnect'](){var _0x24b144=_0x1c66a7,_0x3e7aa7;const _0x38842e=this[_0x24b144(0x208)],_0x2d26d4=this[_0x24b144(0x26d)]['getConfig'](K),_0x687d5=_0x38842e===0x0?0x0:((_0x3e7aa7=_0x2d26d4==null?void 0x0:_0x2d26d4[_0x24b144(0x1ee)])!=null?_0x3e7aa7:$t)*0x2**_0x38842e;this[_0x24b144(0x435)]=setTimeout(()=>{var _0x1a52fa=_0x24b144;clearTimeout(this[_0x1a52fa(0x435)]),this[_0x1a52fa(0x435)]=null,this['_tryEnsureSocket']();},_0x687d5),this[_0x24b144(0x208)]+=0x1;}[_0x1c66a7(0x1d0)](_0x498f51,_0x3eea95){var _0x224660=_0x1c66a7;const {cmd:_0x3de616}=_0x3eea95;_0x3de616===W[_0x224660(0x2fa)]&&!this[_0x224660(0x284)]&&(_0x498f51['memberID']=_0x3eea95['data'][_0x224660(0x479)],this[_0x224660(0x1eb)][_0x224660(0x18f)](_0x498f51),this[_0x224660(0x34a)][_0x224660(0x18f)](re[_0x224660(0x279)]),this[_0x224660(0x284)]=!0x0,this[_0x224660(0x20f)]=null),_0x3de616===W['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x224660(0x371)]();}['_rescheduleHeartbeat'](){var _0x259d34=_0x1c66a7,_0xdb10c0;this[_0x259d34(0x431)](),this[_0x259d34(0x2c9)]=setTimeout(()=>this[_0x259d34(0x24a)](),(_0xdb10c0=this[_0x259d34(0x26d)][_0x259d34(0x3b7)](vt))!=null?_0xdb10c0:Ht);}[_0x1c66a7(0x24a)](){var _0x600f97=_0x1c66a7;this[_0x600f97(0x485)][_0x600f97(0x44f)]({'cmd':W[_0x600f97(0x464)]}),this[_0x600f97(0x288)]();}[_0x1c66a7(0x288)](){var _0x4ae4a0=_0x1c66a7,_0x453b76;this['_timeoutTimer']=setTimeout(()=>this[_0x4ae4a0(0x3d8)](),(_0x453b76=this[_0x4ae4a0(0x26d)][_0x4ae4a0(0x3b7)](ke))!=null?_0x453b76:St);}[_0x1c66a7(0x431)](){var _0x208b61=_0x1c66a7;this[_0x208b61(0x2c9)]!=null&&(clearTimeout(this[_0x208b61(0x2c9)]),this[_0x208b61(0x2c9)]=null);}[_0x1c66a7(0x196)](){var _0x46465f=_0x1c66a7;this[_0x46465f(0x30a)]!=null&&(clearTimeout(this[_0x46465f(0x30a)]),this[_0x46465f(0x30a)]=null);}},exports[_0x1c66a7(0x263)]=si([he(0x0,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),he(0x1,a[_0x1c66a7(0x2c8)]),he(0x2,a[_0x1c66a7(0x33a)]),he(0x3,He),he(0x4,a[_0x1c66a7(0x1a6)](ee)),he(0x5,a[_0x1c66a7(0x3c9)](mt))],exports[_0x1c66a7(0x263)]);const q=a[_0x1c66a7(0x4a4)]('collaboration-client.local-cache-service');function oi(_0x57505a){var _0x4afa2c=_0x1c66a7;return _0x4afa2c(0x292)+_0x57505a;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0xa62f0a,_0x5c42de,_0x41933b,_0x3bb406)=>{for(var _0x8f16f3=_0x3bb406>0x1?void 0x0:_0x3bb406?ai(_0x5c42de,_0x41933b):_0x5c42de,_0x6af490=_0xa62f0a['length']-0x1,_0xceb2b4;_0x6af490>=0x0;_0x6af490--)(_0xceb2b4=_0xa62f0a[_0x6af490])&&(_0x8f16f3=_0xceb2b4(_0x8f16f3)||_0x8f16f3);return _0x8f16f3;},De=(_0x59c8de,_0x1bfa15)=>(_0x2f911c,_0x287a5e)=>_0x1bfa15(_0x2f911c,_0x287a5e,_0x59c8de);function hi(_0x262717){var _0x14246e=_0x1c66a7;const {unitID:_0x23358f,mutations:_0x176664}=_0x262717;return{'unitId':_0x23358f,'subUnitId':_0x176664[0x0][_0x14246e(0x3fa)]['subUnitId']};}exports[_0x1c66a7(0x43a)]=class{constructor(_0x31579e,_0x4e332f,_0xf4c291){var _0x2fd45f=_0x1c66a7;this[_0x2fd45f(0x2cf)]=_0x31579e,this[_0x2fd45f(0x225)]=_0x4e332f,this['_instanceService']=_0xf4c291;}['transformSelections'](_0x3724a3){var _0x31bb71=_0x1c66a7,_0x31fd40,_0x2423da,_0x54be63,_0x544e16;const _0x467656=this[_0x31bb71(0x2cf)][_0x31bb71(0x2ba)](X[_0x31bb71(0x15b)]),{unitId:_0x5c20c5,subUnitId:_0x10a829}=hi(_0x3724a3),_0x3e78c2=_0x467656==null?void 0x0:_0x467656[_0x31bb71(0x212)](_0x5c20c5)[_0x31bb71(0x318)](),_0x226c98=(_0x2423da=(_0x31fd40=this[_0x31bb71(0x48c)]['getUnit'](_0x5c20c5))==null?void 0x0:_0x31fd40['getActiveSheet']())==null?void 0x0:_0x2423da[_0x31bb71(0x2f3)]();if(_0x3e78c2[_0x31bb71(0x1c0)]===0x0||!_0x5c20c5||!_0x10a829)return;const _0x2a8611=[{'id':X[_0x31bb71(0x348)]['id'],'params':{'unitId':_0x5c20c5,'subUnitId':_0x226c98,'selections':a[_0x31bb71(0x3d6)]['deepClone'](_0x3e78c2)}}],_0x432cca=this['_transformService'][_0x31bb71(0x239)](_0x3724a3,_0x2a8611);if(!I[_0x31bb71(0x39b)](_0x432cca))throw _0x432cca[_0x31bb71(0x3b6)];const _0x55b686=(_0x544e16=(_0x54be63=_0x432cca[_0x31bb71(0x428)][0x0])==null?void 0x0:_0x54be63[_0x31bb71(0x3fa)])==null?void 0x0:_0x544e16['selections'];if(Array[_0x31bb71(0x2e7)](_0x55b686)&&_0x55b686['length']){if(_0x55b686[_0x31bb71(0x1c0)]===_0x2a8611[0x0]['params'][_0x31bb71(0x404)][_0x31bb71(0x1c0)]&&_0x55b686[_0x31bb71(0x33d)]((_0x44d40f,_0x281132)=>a['Rectangle'][_0x31bb71(0x365)](_0x44d40f[_0x31bb71(0x37f)],_0x2a8611[0x0]['params']['selections'][_0x281132]['range'])))return;this[_0x31bb71(0x2cf)][_0x31bb71(0x2ba)](a['ICommandService'])[_0x31bb71(0x1f7)](X[_0x31bb71(0x348)]['id'],{'unitId':_0x5c20c5,'subUnitId':_0x226c98,'selections':_0x55b686});}}},exports[_0x1c66a7(0x43a)]=ci([De(0x0,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),De(0x1,I[_0x1c66a7(0x15f)]),De(0x2,a[_0x1c66a7(0x2c7)])],exports[_0x1c66a7(0x43a)]);const de=a[_0x1c66a7(0x4a4)](_0x1c66a7(0x23c));var je=(_0xc0cc=>(_0xc0cc[_0xc0cc[_0x1c66a7(0x146)]=0x0]=_0x1c66a7(0x146),_0xc0cc[_0xc0cc[_0x1c66a7(0x187)]=0x1]=_0x1c66a7(0x187),_0xc0cc))(je||{});const _i=new Set([X[_0x1c66a7(0x25f)]['id']]);function Ke(_0x5a7482,_0x5ad04f,_0x57dc11,_0x278559,_0xb5237e){var _0x501fd3=_0x1c66a7,_0x1133ad,_0x5eba99,_0x58df4e,_0x115d2b;const _0x4873f7=[];for(const _0x4655f0 of _0x5a7482)if(_i[_0x501fd3(0x378)](_0x4655f0['id'])){if(_0x4873f7['length']>0x0)break;_0x4873f7[_0x501fd3(0x421)](_0x4655f0);break;}else _0x4873f7[_0x501fd3(0x421)](_0x4655f0);const _0x568443=(_0x5eba99=(_0x1133ad=_0xb5237e[_0x501fd3(0x245)]())==null?void 0x0:_0x1133ad[_0x501fd3(0x20c)])!=null?_0x5eba99:'unknown',_0x32954f=(_0x115d2b=(_0x58df4e=_0xb5237e[_0x501fd3(0x245)]())==null?void 0x0:_0x58df4e[_0x501fd3(0x479)])!=null?_0x115d2b:_0x501fd3(0x35c);return{'changeset':{'unitID':_0x5ad04f,'type':I[_0x501fd3(0x41c)](_0x57dc11[_0x501fd3(0x162)](_0x5ad04f)),'baseRev':_0x278559['getCurrentRevOfUnit'](_0x5ad04f),'revision':0x0,'userID':_0x568443,'memberID':_0x32954f,'mutations':_0x4873f7},'pendingMutations':_0x5a7482['slice'](_0x4873f7[_0x501fd3(0x1c0)])};}function li(_0x45daf7,_0x57fa9e,_0x182ad4,_0x4f091d,_0x4eb4c3){var _0x1fa958=_0x1c66a7,_0x47625e,_0x478892,_0xcb0714,_0x1fe49e;const _0xf75cfa=[_0x45daf7[_0x1fa958(0x344)]((_0xc0783c,_0x4494f1)=>{var _0x436bc5=_0x1fa958,_0x3d554d;const {id:_0x46bf35}=_0xc0783c,{id:_0x2e30aa,type:_0xe23bdd}=_0x4494f1,_0x37e335=(_0x3d554d=_0xc0783c[_0x436bc5(0x3fa)])!=null?_0x3d554d:{'actions':null},_0xe06b57=_0x4494f1[_0x436bc5(0x3fa)];if(_0x46bf35&&_0x46bf35!==_0x2e30aa)throw new Error(_0x436bc5(0x227)+_0x46bf35+_0x436bc5(0x462)+_0x2e30aa+'.');return{..._0xc0783c,'id':_0x2e30aa,'type':_0xe23bdd,'params':{'unitId':_0xe06b57[_0x436bc5(0x250)],'textRanges':_0xe06b57[_0x436bc5(0x1b1)],'actions':a[_0x436bc5(0x444)][_0x436bc5(0x3d3)](_0x37e335[_0x436bc5(0x27d)],_0xe06b57['actions'])}};},{})],_0x409a2c=(_0x478892=(_0x47625e=_0x4eb4c3['getCurrentUser']())==null?void 0x0:_0x47625e[_0x1fa958(0x20c)])!=null?_0x478892:'unknown',_0x16a664=(_0x1fe49e=(_0xcb0714=_0x4eb4c3[_0x1fa958(0x245)]())==null?void 0x0:_0xcb0714[_0x1fa958(0x479)])!=null?_0x1fe49e:_0x1fa958(0x35c);return{'changeset':{'unitID':_0x57fa9e,'type':I[_0x1fa958(0x41c)](_0x182ad4['getUnitType'](_0x57fa9e)),'baseRev':_0x4f091d[_0x1fa958(0x3c5)](_0x57fa9e),'revision':0x0,'userID':_0x409a2c,'memberID':_0x16a664,'mutations':_0xf75cfa},'pendingMutations':[]};}function bt(_0x2ee865,_0x50f86d){var _0x2f4048=_0x1c66a7;const _0xa58e22=new $[(_0x2f4048(0x484))](0x1);return setTimeout(()=>_0xa58e22['next'](_0x50f86d),_0x2ee865),_0xa58e22[_0x2f4048(0x233)]()['pipe']($[_0x2f4048(0x278)](0x1));}const ui={'id':X[_0x1c66a7(0x20d)]['id'],'type':a[_0x1c66a7(0x44e)][_0x1c66a7(0x1bb)],'params':{}};var di=Object[_0x1c66a7(0x18b)],ae=(_0x4a9774,_0x45ef67,_0x4f721a,_0x10125b)=>{for(var _0x58534f=_0x10125b>0x1?void 0x0:_0x10125b?di(_0x45ef67,_0x4f721a):_0x45ef67,_0x48033c=_0x4a9774['length']-0x1,_0x398847;_0x48033c>=0x0;_0x48033c--)(_0x398847=_0x4a9774[_0x48033c])&&(_0x58534f=_0x398847(_0x58534f)||_0x58534f);return _0x58534f;},w=(_0x26c8dc,_0x572469)=>(_0x4801ab,_0x590304)=>_0x572469(_0x4801ab,_0x590304,_0x26c8dc),Be=(_0x3e3511=>(_0x3e3511[_0x1c66a7(0x1d3)]=_0x1c66a7(0x195),_0x3e3511['SYNCED']=_0x1c66a7(0x159),_0x3e3511[_0x1c66a7(0x35b)]=_0x1c66a7(0x2ad),_0x3e3511[_0x1c66a7(0x446)]=_0x1c66a7(0x325),_0x3e3511[_0x1c66a7(0x472)]='awaiting_with_pending',_0x3e3511[_0x1c66a7(0x283)]=_0x1c66a7(0x151),_0x3e3511[_0x1c66a7(0x1e2)]=_0x1c66a7(0x2ee),_0x3e3511[_0x1c66a7(0x287)]=_0x1c66a7(0x491),_0x3e3511))(Be||{});const Rt=0xea60;class ce{constructor(_0x3f54b7,_0x256151,_0x26f47f,_0x22c1a5,_0x1fe350,_0x1d5d37,_0x5d67c1,_0x15a6a2,_0x59f512){var _0x3cc569=_0x1c66a7;A(this,_0x3cc569(0x170),null),A(this,_0x3cc569(0x423),[]),(this[_0x3cc569(0x329)]=_0x3f54b7,this[_0x3cc569(0x231)]=_0x256151,this['_handler']=_0x1fe350,this[_0x3cc569(0x247)]=_0x1d5d37,this['_undoRedoService']=_0x5d67c1,this[_0x3cc569(0x4b5)]=_0x15a6a2,this[_0x3cc569(0x24b)]=_0x59f512,this[_0x3cc569(0x170)]=_0x26f47f,this[_0x3cc569(0x423)]=_0x22c1a5);}['_checkMissing'](_0x223d93){var _0x24941d=_0x1c66a7;const _0x269bb4=this[_0x24941d(0x4b5)][_0x24941d(0x3c5)](this['unitID']);return _0x223d93[_0x24941d(0x328)]>_0x269bb4+0x1?(this[_0x24941d(0x261)]['onMissingChangesets']({'from':_0x269bb4,'to':_0x223d93[_0x24941d(0x328)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x40a9be){var _0x49c17d=_0x1c66a7;this[_0x49c17d(0x3e0)][_0x49c17d(0x2ac)](this[_0x49c17d(0x329)],_0x40a9be);}[_0x1c66a7(0x219)](_0x745740){var _0x3b8abf=_0x1c66a7,_0x4bb81a,_0x172a09;(_0x172a09=(_0x4bb81a=this[_0x3b8abf(0x261)])['onTransformSelections'])==null||_0x172a09[_0x3b8abf(0x200)](_0x4bb81a,_0x745740);}[_0x1c66a7(0x3ca)](_0x5af64b){var _0x10cb68=_0x1c66a7,_0x17adf3,_0x4002a3;return(_0x4002a3=(_0x17adf3=this[_0x10cb68(0x261)])[_0x10cb68(0x221)])==null?void 0x0:_0x4002a3[_0x10cb68(0x200)](_0x17adf3,_0x5af64b);}[_0x1c66a7(0x49d)](_0x1f4c5d){var _0x202097=_0x1c66a7,_0x7dfed0,_0x186b35;return(_0x186b35=(_0x7dfed0=this['_handler'])['onTransformState'])==null?void 0x0:_0x186b35[_0x202097(0x200)](_0x7dfed0,_0x1f4c5d);}['_transformRemoteChangesetByIMECache'](_0x43ba2b){var _0x2a7cf6=_0x1c66a7,_0x3db93b,_0x31da60,_0x2b7a1f;return(_0x2b7a1f=(_0x31da60=(_0x3db93b=this[_0x2a7cf6(0x261)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x31da60['call'](_0x3db93b,_0x43ba2b))!=null?_0x2b7a1f:_0x43ba2b;}['_transformRemoteChangesetByStateCache'](_0x39b77e){var _0x5282b4=_0x1c66a7,_0x13a9f4,_0x1de8c8,_0x1f5044;return(_0x1f5044=(_0x1de8c8=(_0x13a9f4=this['_handler'])[_0x5282b4(0x448)])==null?void 0x0:_0x1de8c8['call'](_0x13a9f4,_0x39b77e))!=null?_0x1f5044:_0x39b77e;}[_0x1c66a7(0x2f5)](_0x4d7f11){var _0x696653=_0x1c66a7,_0x502b28,_0x2da9f7;if(this[_0x696653(0x231)]===J[_0x696653(0x455)]){const {unitID:_0xb17e81,mutations:_0x1b07b4,memberID:_0x157ca9}=_0x4d7f11,_0x1786da=_0x1b07b4[0x0]['params']['textRanges'];Array[_0x696653(0x2e7)](_0x1786da)&&_0x1786da[_0x696653(0x1c0)]>0x0&&((_0x2da9f7=(_0x502b28=this[_0x696653(0x261)])['onSyncEditingCollabCursor'])==null||_0x2da9f7['call'](_0x502b28,{'unitID':_0xb17e81,'memberID':_0x157ca9,'textRanges':_0x1786da}));}}[_0x1c66a7(0x4a8)](){var _0x384f35=_0x1c66a7,_0x35a9c2;(_0x35a9c2=this[_0x384f35(0x24b)])==null||_0x35a9c2[_0x384f35(0x414)](this['unitID'],this['type'],this[_0x384f35(0x170)],this[_0x384f35(0x423)]);}['_getCurrentRevision'](){var _0x5bfad2=_0x1c66a7;return this['_revisionService'][_0x5bfad2(0x3c5)](this['unitID']);}['_incrementRevisionNumber'](){var _0x4d4045=_0x1c66a7;this[_0x4d4045(0x4b5)][_0x4d4045(0x14f)](this[_0x4d4045(0x329)]);}[_0x1c66a7(0x297)](_0x1d942b){var _0xd5689=_0x1c66a7,_0x11d9c9;let _0x363e4a=this[_0xd5689(0x350)](_0x1d942b);_0x363e4a=this['_transformRemoteChangesetByStateCache'](_0x363e4a);const _0xd5b5b8=a[_0xd5689(0x1ec)](_0x363e4a[_0xd5689(0x17b)],this[_0xd5689(0x247)],{'fromCollab':!0x0});if(!_0xd5b5b8[_0xd5689(0x3ff)])throw _0xd5b5b8[_0xd5689(0x3b6)]instanceof Error?_0xd5b5b8[_0xd5689(0x3b6)]:new Error((_0x11d9c9=_0xd5b5b8['error'])!=null?_0x11d9c9:_0xd5689(0x33b));this[_0xd5689(0x3ca)](_0x363e4a),this['_transformStateCache'](_0x363e4a),this[_0xd5689(0x23f)](_0x1d942b),this[_0xd5689(0x219)](_0x363e4a),this['_syncEditingCollabCursor'](_0x363e4a),this[_0xd5689(0x430)]();}}exports[_0x1c66a7(0x14e)]=class extends ce{constructor(_0x2e9e3f,_0x4e6a62,_0xa2ea95,_0x29a392,_0x2eec06,_0x15febd,_0x540845,_0x446bb8,_0x340f3f,_0x3a3a2e){var _0x179d28=_0x1c66a7;super(_0x2e9e3f,_0x4e6a62,null,[],_0xa2ea95,_0x540845,_0x15febd,_0x29a392,_0x3a3a2e),A(this,_0x179d28(0x3ea),_0x179d28(0x159)),(this['_injector']=_0x2eec06,this[_0x179d28(0x309)]=_0x446bb8,this[_0x179d28(0x225)]=_0x340f3f,this[_0x179d28(0x31f)]=_0x3a3a2e);}[_0x1c66a7(0x1b4)](_0x1524a2){var _0x1cd84b=_0x1c66a7;const _0x2c068e=this[_0x1cd84b(0x2cf)][_0x1cd84b(0x361)](exports[_0x1cd84b(0x1b9)],this[_0x1cd84b(0x329)],this[_0x1cd84b(0x231)],[_0x1524a2],this[_0x1cd84b(0x261)]);return _0x2c068e['_schedule'](),_0x2c068e[_0x1cd84b(0x4a8)](),_0x2c068e;}[_0x1c66a7(0x289)](_0x281983){var _0x10a303=_0x1c66a7;if(this[_0x10a303(0x326)](_0x281983))return this['_injector'][_0x10a303(0x361)](exports[_0x10a303(0x45e)],this[_0x10a303(0x329)],this['type'],null,[],null,[_0x281983],this[_0x10a303(0x261)]);try{const _0x5d8b2e=this[_0x10a303(0x225)][_0x10a303(0x239)](_0x281983,[ui]);if(I[_0x10a303(0x39b)](_0x5d8b2e)){const {c1Prime:_0x5c624f}=_0x5d8b2e;return this[_0x10a303(0x297)](_0x5c624f),this;}throw _0x5d8b2e[_0x10a303(0x3b6)];}catch(_0x4a6bb4){return this[_0x10a303(0x309)]['error'](_0x4a6bb4),this[_0x10a303(0x165)](!0x1);}}['_onConflict'](_0x103566){var _0x25f818=_0x1c66a7;return this[_0x25f818(0x2cf)]['createInstance'](exports[_0x25f818(0x457)],this[_0x25f818(0x329)],this[_0x25f818(0x231)],null,[],this[_0x25f818(0x261)],_0x103566);}[_0x1c66a7(0x422)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x1c66a7(0x272)](){return this;}[_0x1c66a7(0x35d)](){var _0x241204=_0x1c66a7;return this[_0x241204(0x2cf)]['createInstance'](exports[_0x241204(0x267)],this['unitID'],this['type'],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x1c66a7(0x235)](){var _0x3e4cf6=_0x1c66a7;throw new Error(_0x3e4cf6(0x25a));}['fetchMiss'](){var _0x55b767=_0x1c66a7;const _0x5321cc=this[_0x55b767(0x4b5)][_0x55b767(0x3c5)](this['unitID']);return this[_0x55b767(0x261)][_0x55b767(0x465)]({'from':_0x5321cc,'to':0x0}),this[_0x55b767(0x2cf)][_0x55b767(0x361)](exports[_0x55b767(0x45e)],this['unitID'],this[_0x55b767(0x231)],null,[],null,[],this[_0x55b767(0x261)]);}},exports[_0x1c66a7(0x14e)]=ae([w(0x3,a[_0x1c66a7(0x1a6)](I[_0x1c66a7(0x1f3)])),w(0x4,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x1c66a7(0x31c)]),w(0x7,a[_0x1c66a7(0x2c8)]),w(0x8,I[_0x1c66a7(0x15f)]),w(0x9,a[_0x1c66a7(0x3c9)](q))],exports['SyncedState']),exports[_0x1c66a7(0x1b9)]=class extends ce{constructor(_0x1705d0,_0x155aaa,_0x4d3c90,_0x9e4f15,_0x46659a,_0x3c129c,_0x152e5d,_0x51e47e,_0x3d3abf,_0x4de212,_0x48446e,_0x531235,_0x581b59,_0x107599){var _0x290098=_0x1c66a7;super(_0x1705d0,_0x155aaa,null,_0x4d3c90,_0x9e4f15,_0x3d3abf,_0x581b59,_0x3c129c,_0x107599),A(this,_0x290098(0x3ea),_0x290098(0x2ad)),A(this,_0x290098(0x2d3),null),A(this,_0x290098(0x3bb),null),(this[_0x290098(0x2cf)]=_0x46659a,this['_memberService']=_0x152e5d,this[_0x290098(0x309)]=_0x51e47e,this[_0x290098(0x26d)]=_0x4de212,this['_transformService']=_0x48446e,this[_0x290098(0x204)]=_0x531235);}['appendMutation'](_0x1a9236){var _0x352dd5=_0x1c66a7;return this[_0x352dd5(0x423)][_0x352dd5(0x421)](_0x1a9236),this[_0x352dd5(0x4a8)](),this;}[_0x1c66a7(0x289)](_0x5cc752){var _0x9db640=_0x1c66a7;if(this['_checkMissing'](_0x5cc752))return this['_clearScheduledTask'](),this[_0x9db640(0x2cf)]['createInstance'](exports[_0x9db640(0x45e)],this[_0x9db640(0x329)],this['type'],null,this[_0x9db640(0x423)],null,[_0x5cc752],this[_0x9db640(0x261)]);try{const _0x4855d5=this[_0x9db640(0x225)][_0x9db640(0x239)](_0x5cc752,this[_0x9db640(0x423)]);if(I[_0x9db640(0x39b)](_0x4855d5)){const {c1Prime:_0x4c04ff,m2Prime:_0x2b2d2d}=_0x4855d5;this[_0x9db640(0x297)](_0x4c04ff);const _0xfccb3e=this[_0x9db640(0x2cf)][_0x9db640(0x361)](exports[_0x9db640(0x1b9)],this[_0x9db640(0x329)],this[_0x9db640(0x231)],_0x2b2d2d,this[_0x9db640(0x261)]);this[_0x9db640(0x171)]();const _0x476078=new Date()[_0x9db640(0x4a6)](),_0x507de3=this[_0x9db640(0x2d3)]?Math['max'](this[_0x9db640(0x2d3)]-_0x476078,0x0):this[_0x9db640(0x29d)]();return _0xfccb3e[_0x9db640(0x30b)](_0x507de3),_0xfccb3e;}throw _0x4855d5['error'];}catch(_0x610ebe){return this[_0x9db640(0x309)][_0x9db640(0x3b6)](_0x610ebe),this[_0x9db640(0x165)](!0x1);}}[_0x1c66a7(0x422)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1c66a7(0x396)](){var _0x1ab64b=_0x1c66a7;throw new Error(_0x1ab64b(0x2d0));}[_0x1c66a7(0x272)](){return this;}[_0x1c66a7(0x35d)](){var _0x479b38=_0x1c66a7;return this[_0x479b38(0x171)](),this[_0x479b38(0x2cf)][_0x479b38(0x361)](exports[_0x479b38(0x267)],this[_0x479b38(0x329)],this['type'],null,this[_0x479b38(0x423)],this[_0x479b38(0x261)]);}[_0x1c66a7(0x3a2)](){return this;}[_0x1c66a7(0x30b)](_0x5cd347){var _0x4fc56b=_0x1c66a7;const _0x54baee=_0x5cd347!=null?_0x5cd347:this[_0x4fc56b(0x29d)]();this['_scheduleCompleteTimestamp']=new Date()[_0x4fc56b(0x4a6)]()+_0x54baee,this['_sendingTimer']=setTimeout(()=>{var _0x2a973a=_0x4fc56b;this['_clearScheduledTask']();let _0x2c457f=null;switch(this['type']){case J[_0x2a973a(0x1dc)]:{_0x2c457f=Ke(this[_0x2a973a(0x423)],this[_0x2a973a(0x329)],this[_0x2a973a(0x204)],this['_revisionService'],this['_memberService']);break;}case J['UNIVER_DOC']:{this['_pendingMutations'][_0x2a973a(0x33d)](_0x4be725=>_0x4be725['id']===ht[_0x2a973a(0x4aa)]['id'])?_0x2c457f=li(this[_0x2a973a(0x423)],this[_0x2a973a(0x329)],this[_0x2a973a(0x204)],this[_0x2a973a(0x4b5)],this['_memberService']):_0x2c457f=Ke(this[_0x2a973a(0x423)],this[_0x2a973a(0x329)],this['_univerInstanceService'],this[_0x2a973a(0x4b5)],this['_memberService']);break;}default:throw new Error(_0x2a973a(0x44c)+this[_0x2a973a(0x231)]+_0x2a973a(0x294));}const {changeset:_0x2f023,pendingMutations:_0x5d9d32}=_0x2c457f;this[_0x2a973a(0x261)][_0x2a973a(0x1e8)](_0x2f023);const _0x116097=_0x5d9d32[_0x2a973a(0x1c0)]?this['_injector'][_0x2a973a(0x361)](exports[_0x2a973a(0x469)],this[_0x2a973a(0x329)],this['type'],_0x2f023,_0x5d9d32,this[_0x2a973a(0x261)],void 0x0):this[_0x2a973a(0x2cf)][_0x2a973a(0x361)](exports[_0x2a973a(0x358)],this[_0x2a973a(0x329)],this[_0x2a973a(0x231)],_0x2f023,this[_0x2a973a(0x261)]);_0x116097[_0x2a973a(0x4a8)](),this[_0x2a973a(0x261)][_0x2a973a(0x417)](this,_0x116097);},_0x54baee);}[_0x1c66a7(0x29d)](){var _0x2b4b9f=_0x1c66a7,_0x5b1259;const _0x29d2ed=this[_0x2b4b9f(0x26d)][_0x2b4b9f(0x3b7)](K);return(_0x5b1259=_0x29d2ed==null?void 0x0:_0x29d2ed['sendChangesetTimeout'])!=null?_0x5b1259:xt;}[_0x1c66a7(0x235)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1c66a7(0x171)](){var _0x2fdf44=_0x1c66a7;this[_0x2fdf44(0x3bb)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x1c66a7(0x165)](_0x2219b1){var _0x74bf21=_0x1c66a7;return this[_0x74bf21(0x171)](),this[_0x74bf21(0x2cf)][_0x74bf21(0x361)](exports['ConflictState'],this[_0x74bf21(0x329)],this[_0x74bf21(0x231)],null,this[_0x74bf21(0x423)],this[_0x74bf21(0x261)],_0x2219b1);}},exports[_0x1c66a7(0x1b9)]=ae([w(0x4,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),w(0x5,a[_0x1c66a7(0x1a6)](I[_0x1c66a7(0x1f3)])),w(0x6,a[_0x1c66a7(0x1a6)](exports[_0x1c66a7(0x467)])),w(0x7,a[_0x1c66a7(0x2c8)]),w(0x8,a[_0x1c66a7(0x31c)]),w(0x9,a[_0x1c66a7(0x33a)]),w(0xa,I['ITransformService']),w(0xb,a[_0x1c66a7(0x2c7)]),w(0xc,a[_0x1c66a7(0x25c)]),w(0xd,a['Optional'](q))],exports[_0x1c66a7(0x1b9)]),exports['AwaitingState']=class extends ce{constructor(_0x482bf9,_0x2b2605,_0x57fb8a,_0x2a5f0a,_0x116128,_0x4cbcaa,_0x3be444,_0x247b39,_0x14c65d,_0x421f00,_0x4ea927){var _0x43401c=_0x1c66a7;super(_0x482bf9,_0x2b2605,_0x57fb8a,[],_0x2a5f0a,_0x3be444,_0x421f00,_0x4cbcaa,_0x4ea927),A(this,_0x43401c(0x3ea),_0x43401c(0x325)),A(this,_0x43401c(0x21f),0x0),A(this,_0x43401c(0x4b0)),A(this,_0x43401c(0x3b8)),(this[_0x43401c(0x2cf)]=_0x116128,this['_logService']=_0x247b39,this[_0x43401c(0x225)]=_0x14c65d);}[_0x1c66a7(0x1b4)](_0x4a1f2a){var _0x5acbc2=_0x1c66a7;this[_0x5acbc2(0x171)]();const _0x4b1d8a=this[_0x5acbc2(0x2cf)][_0x5acbc2(0x361)](exports[_0x5acbc2(0x469)],this['unitID'],this[_0x5acbc2(0x231)],this[_0x5acbc2(0x170)],[_0x4a1f2a],this['_handler'],this[_0x5acbc2(0x4b0)]);return _0x4b1d8a[_0x5acbc2(0x4a8)](),_0x4b1d8a;}[_0x1c66a7(0x289)](_0x4ad7a1){var _0x79b5c0=_0x1c66a7;if(this[_0x79b5c0(0x326)](_0x4ad7a1))return this[_0x79b5c0(0x171)](),this['_injector'][_0x79b5c0(0x361)](exports[_0x79b5c0(0x45e)],this['unitID'],this[_0x79b5c0(0x231)],this['_awaitingChangeset'],[],null,[_0x4ad7a1],this[_0x79b5c0(0x261)]);try{const _0x227c15=this[_0x79b5c0(0x225)][_0x79b5c0(0x483)]([_0x4ad7a1],[this[_0x79b5c0(0x170)]],!0x1);if(I[_0x79b5c0(0x4ac)](_0x227c15)){const {c1Prime:_0x40c3a1,c2Prime:_0x3c6c7b}=_0x227c15;this[_0x79b5c0(0x297)](_0x40c3a1[0x0]),_0x3c6c7b[0x0][_0x79b5c0(0x3b1)]=this[_0x79b5c0(0x31a)](),this[_0x79b5c0(0x171)]();const _0x76066d=this['_injector'][_0x79b5c0(0x361)](exports[_0x79b5c0(0x358)],this['unitID'],this[_0x79b5c0(0x231)],_0x3c6c7b[0x0],this[_0x79b5c0(0x261)]);return _0x76066d['_updateLocalCache'](),_0x76066d;}return this['_onConflict'](!0x1);}catch(_0xf9a72c){return this['_logService']['error'](_0xf9a72c),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1cde7a){var _0xf297d5=_0x1c66a7;this[_0xf297d5(0x171)]();const _0x4ca30a=this[_0xf297d5(0x4b5)][_0xf297d5(0x3c5)](this[_0xf297d5(0x329)]);if(_0x1cde7a[_0xf297d5(0x328)]<_0x4ca30a-0x1)return this;if(this[_0xf297d5(0x326)](_0x1cde7a))return this[_0xf297d5(0x2cf)][_0xf297d5(0x361)](exports['FetchingMissState'],this[_0xf297d5(0x329)],this[_0xf297d5(0x231)],null,[],this[_0xf297d5(0x170)],[],this['_handler']);this[_0xf297d5(0x430)]();const _0x5e5b8e=this['_injector'][_0xf297d5(0x361)](exports[_0xf297d5(0x14e)],this['unitID'],this['type'],this[_0xf297d5(0x261)]);return _0x5e5b8e[_0xf297d5(0x4a8)](),_0x5e5b8e;}[_0x1c66a7(0x396)](_0xbfddb0){return this['_onConflict'](!!(_0xbfddb0!=null&&_0xbfddb0['isPermissionRej']));}[_0x1c66a7(0x272)](_0x3158ce){var _0x11776e=_0x1c66a7;return this[_0x11776e(0x21f)]>Rt?this[_0x11776e(0x35d)]():(this[_0x11776e(0x4b0)]=bt(this[_0x11776e(0x21f)],{'timeout':this[_0x11776e(0x21f)],'reqId':_0x3158ce[_0x11776e(0x2dd)]}),this[_0x11776e(0x3b8)]=this[_0x11776e(0x4b0)][_0x11776e(0x400)](({reqId:_0x226631,timeout:_0x55a2e6})=>{var _0x416eb9=_0x11776e;this[_0x416eb9(0x2af)](_0x226631,_0x55a2e6);}),this);}['toggleOffline'](){var _0xfbf3c0=_0x1c66a7;return this[_0xfbf3c0(0x171)](),this['_injector']['createInstance'](exports[_0xfbf3c0(0x267)],this[_0xfbf3c0(0x329)],this['type'],this[_0xfbf3c0(0x170)],[],this[_0xfbf3c0(0x261)]);}[_0x1c66a7(0x3a2)](){return this;}['resend'](){var _0x2f4d66=_0x1c66a7;this[_0x2f4d66(0x261)][_0x2f4d66(0x1e8)](this['_awaitingChangeset']);}['_onConflict'](_0x357177){var _0x408baa=_0x1c66a7;return this[_0x408baa(0x171)](),this['_injector'][_0x408baa(0x361)](exports[_0x408baa(0x457)],this[_0x408baa(0x329)],this[_0x408baa(0x231)],this[_0x408baa(0x170)],[],this[_0x408baa(0x261)],_0x357177);}[_0x1c66a7(0x2af)](_0xf991d5,_0x36ef2c){var _0x59f28d=_0x1c66a7,_0x52ccb4;_0xf991d5===((_0x52ccb4=this[_0x59f28d(0x170)])==null?void 0x0:_0x52ccb4['reqId'])&&(this['resend'](),this[_0x59f28d(0x21f)]=_0x36ef2c===0x0?0x3e8:_0x36ef2c*0x2);}[_0x1c66a7(0x171)](){var _0x14c392=_0x1c66a7,_0x1577b3;(_0x1577b3=this[_0x14c392(0x3b8)])==null||_0x1577b3[_0x14c392(0x1df)](),this[_0x14c392(0x21f)]=0x0;}},exports[_0x1c66a7(0x358)]=ae([w(0x4,a['Inject'](a['Injector'])),w(0x5,a['Inject'](I[_0x1c66a7(0x1f3)])),w(0x6,a[_0x1c66a7(0x31c)]),w(0x7,a[_0x1c66a7(0x2c8)]),w(0x8,I[_0x1c66a7(0x15f)]),w(0x9,a[_0x1c66a7(0x25c)]),w(0xa,a[_0x1c66a7(0x3c9)](q))],exports[_0x1c66a7(0x358)]),exports[_0x1c66a7(0x469)]=class extends ce{constructor(_0x17f69d,_0x22a256,_0x1c5bdd,_0x32a13c,_0xbf2249,_0x17700c,_0x1ebda1,_0x49bafb,_0x194f02,_0x147744,_0xfe230b,_0x4c0cca,_0x50b124){var _0x46f11d=_0x1c66a7;super(_0x17f69d,_0x22a256,_0x1c5bdd,_0x32a13c,_0xbf2249,_0x194f02,_0x4c0cca,_0x49bafb,_0x50b124),A(this,_0x46f11d(0x3ea),_0x46f11d(0x3cb)),A(this,_0x46f11d(0x21f),0x0),A(this,'_resendTimer'),A(this,_0x46f11d(0x3b8)),(this[_0x46f11d(0x2cf)]=_0x1ebda1,this['_logService']=_0x147744,this[_0x46f11d(0x225)]=_0xfe230b,this[_0x46f11d(0x31f)]=_0x50b124,_0x17700c&&(this['_resendTimer']=_0x17700c,this[_0x46f11d(0x3b8)]=this[_0x46f11d(0x4b0)]['subscribe'](({reqId:_0x6f00a5,timeout:_0xaf390c})=>{var _0x5e228f=_0x46f11d;this[_0x5e228f(0x2af)](_0x6f00a5,_0xaf390c);})));}[_0x1c66a7(0x1b4)](_0x174670){var _0xa6f53d=_0x1c66a7;return this[_0xa6f53d(0x423)]['push'](_0x174670),this;}[_0x1c66a7(0x289)](_0x2e59eb){var _0x384528=_0x1c66a7;if(this[_0x384528(0x326)](_0x2e59eb))return this[_0x384528(0x171)](),this[_0x384528(0x2cf)]['createInstance'](exports[_0x384528(0x45e)],this[_0x384528(0x329)],this['type'],this[_0x384528(0x170)],this[_0x384528(0x423)],null,[_0x2e59eb],this[_0x384528(0x261)]);try{const _0x4340af=this[_0x384528(0x225)][_0x384528(0x483)]([_0x2e59eb],[this[_0x384528(0x170)]],!0x1);if(I['isTransformChangesetsSuccess'](_0x4340af)){const {c1Prime:_0x555093,c2Prime:_0x2ca72a}=_0x4340af,_0x51eba1=this[_0x384528(0x225)][_0x384528(0x239)](_0x555093[0x0],this[_0x384528(0x423)]);if(I[_0x384528(0x39b)](_0x51eba1)){const {c1Prime:_0x1bf414,m2Prime:_0x10204d}=_0x51eba1;return this[_0x384528(0x297)](_0x1bf414),_0x2ca72a[0x0][_0x384528(0x3b1)]=this['_getCurrentRevision'](),this[_0x384528(0x171)](),this[_0x384528(0x2cf)]['createInstance'](exports[_0x384528(0x469)],this[_0x384528(0x329)],this[_0x384528(0x231)],_0x2ca72a[0x0],_0x10204d,this[_0x384528(0x261)],void 0x0);}throw _0x51eba1['error'];}throw _0x4340af[_0x384528(0x3b6)];}catch(_0x37238e){return this['_logService'][_0x384528(0x3b6)](_0x37238e),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x210951){var _0x4d9024=_0x1c66a7;if(this[_0x4d9024(0x171)](),this[_0x4d9024(0x326)](_0x210951))return this[_0x4d9024(0x2cf)][_0x4d9024(0x361)](exports[_0x4d9024(0x45e)],this[_0x4d9024(0x329)],this[_0x4d9024(0x231)],null,this[_0x4d9024(0x423)],this[_0x4d9024(0x170)],[],this[_0x4d9024(0x261)]);this['_incrementRevisionNumber']();const _0x41d217=this[_0x4d9024(0x2cf)][_0x4d9024(0x361)](exports[_0x4d9024(0x1b9)],this[_0x4d9024(0x329)],this['type'],this[_0x4d9024(0x423)],this['_handler']);return _0x41d217['_schedule'](),_0x41d217[_0x4d9024(0x4a8)](),_0x41d217;}[_0x1c66a7(0x396)](_0x52ffca){var _0x5ad255=_0x1c66a7;return this[_0x5ad255(0x165)](!!(_0x52ffca!=null&&_0x52ffca[_0x5ad255(0x3d5)]));}[_0x1c66a7(0x272)](_0xfc64dc){var _0x1e42c2=_0x1c66a7;return this[_0x1e42c2(0x21f)]>Rt?this[_0x1e42c2(0x35d)]():(this[_0x1e42c2(0x4b0)]=bt(this[_0x1e42c2(0x21f)],{'timeout':this['_resendTimeout'],'reqId':_0xfc64dc['reqId']}),this[_0x1e42c2(0x3b8)]=this[_0x1e42c2(0x4b0)]['subscribe'](({reqId:_0xf724,timeout:_0x4a4f5c})=>{this['_resendWithTimeout'](_0xf724,_0x4a4f5c);}),this);}[_0x1c66a7(0x35d)](){var _0x1ef5e7=_0x1c66a7;return this[_0x1ef5e7(0x171)](),this['_injector']['createInstance'](exports[_0x1ef5e7(0x267)],this[_0x1ef5e7(0x329)],this[_0x1ef5e7(0x231)],this[_0x1ef5e7(0x170)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x1c66a7(0x235)](){var _0x5e91e9=_0x1c66a7;this[_0x5e91e9(0x261)][_0x5e91e9(0x1e8)](this[_0x5e91e9(0x170)]);}[_0x1c66a7(0x165)](_0x37e55f){var _0x528895=_0x1c66a7;return this[_0x528895(0x171)](),this[_0x528895(0x2cf)][_0x528895(0x361)](exports[_0x528895(0x457)],this[_0x528895(0x329)],this[_0x528895(0x231)],null,this[_0x528895(0x423)],this['_handler'],_0x37e55f);}[_0x1c66a7(0x2af)](_0x29c9dd,_0x14a7e6){var _0x3e4add=_0x1c66a7,_0x652b46;_0x29c9dd===((_0x652b46=this['_awaitingChangeset'])==null?void 0x0:_0x652b46['reqId'])&&(this[_0x3e4add(0x235)](),this[_0x3e4add(0x21f)]=_0x14a7e6===0x0?0x3e8:_0x14a7e6*0x2);}[_0x1c66a7(0x171)](){var _0x482fbe=_0x1c66a7,_0x8bdaec;(_0x8bdaec=this[_0x482fbe(0x3b8)])==null||_0x8bdaec['unsubscribe'](),this[_0x482fbe(0x21f)]=0x0;}},exports[_0x1c66a7(0x469)]=ae([w(0x6,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),w(0x7,a[_0x1c66a7(0x1a6)](I[_0x1c66a7(0x1f3)])),w(0x8,a['ICommandService']),w(0x9,a[_0x1c66a7(0x2c8)]),w(0xa,I[_0x1c66a7(0x15f)]),w(0xb,a['IUndoRedoService']),w(0xc,a[_0x1c66a7(0x3c9)](q))],exports['AwaitingWithPendingState']),exports[_0x1c66a7(0x457)]=class extends ce{constructor(_0x20ed92,_0xd2414d,_0xe3e3b1,_0x1e72bf,_0x2681a3,_0x4f6d94=!0x1,_0x47fff8,_0x1174c1,_0x5760a7,_0x539a5a,_0x63cb38,_0x3e4416,_0x40c401){var _0x4d9264=_0x1c66a7;super(_0x20ed92,_0xd2414d,_0xe3e3b1,_0x1e72bf,_0x2681a3,_0x1174c1,_0x5760a7,_0x539a5a,_0x40c401),A(this,_0x4d9264(0x3ea),_0x4d9264(0x2ee)),(this['_isPermissionRej']=_0x4f6d94,this[_0x4d9264(0x1c3)]=_0x47fff8,this[_0x4d9264(0x2de)]=_0x63cb38,this[_0x4d9264(0x459)]=_0x3e4416,this[_0x4d9264(0x31f)]=_0x40c401,this[_0x4d9264(0x290)](),this[_0x4d9264(0x356)](),this[_0x4d9264(0x477)]());}[_0x1c66a7(0x1b4)](){return this;}['onRemoteChangeset'](){return this;}[_0x1c66a7(0x422)](){return this;}[_0x1c66a7(0x396)](){return this;}[_0x1c66a7(0x272)](){return this;}['toggleOffline'](){return this;}[_0x1c66a7(0x3a2)](){return this;}[_0x1c66a7(0x235)](){var _0x214e1c=_0x1c66a7;throw new Error(_0x214e1c(0x281));}[_0x1c66a7(0x356)](){var _0x19aad9=_0x1c66a7,_0x4cb42b;(_0x4cb42b=this['_localCacheService'])==null||_0x4cb42b['updateOfflineData'](this[_0x19aad9(0x329)],this[_0x19aad9(0x231)],null,[]);}[_0x1c66a7(0x290)](){var _0x46d30b=_0x1c66a7;this[_0x46d30b(0x25d)]?this[_0x46d30b(0x459)][_0x46d30b(0x2c0)]({'id':Z[_0x46d30b(0x2bd)]}):this[_0x46d30b(0x459)][_0x46d30b(0x2c0)]({'id':Z['CONFLICT']});}['_disableEditing'](){var _0x493967=_0x1c66a7;this[_0x493967(0x1c3)][_0x493967(0x269)](new X[(_0x493967(0x3e6))](this[_0x493967(0x329)])['id'],!0x1);}},exports['ConflictState']=ae([w(0x6,a[_0x1c66a7(0x1a6)](a['IPermissionService'])),w(0x7,a[_0x1c66a7(0x31c)]),w(0x8,a[_0x1c66a7(0x25c)]),w(0x9,a[_0x1c66a7(0x1a6)](I[_0x1c66a7(0x1f3)])),w(0xa,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x39d)])),w(0xb,a[_0x1c66a7(0x1a6)](ee)),w(0xc,a[_0x1c66a7(0x3c9)](q))],exports[_0x1c66a7(0x457)]),exports[_0x1c66a7(0x267)]=class extends ce{constructor(_0x3eed59,_0x1ed4c3,_0x5f407c,_0x573f5d,_0x125826,_0x300abf,_0x2fc6bd,_0x4eca8e,_0x263c58,_0x271fce){var _0xb66fe9=_0x1c66a7;super(_0x3eed59,_0x1ed4c3,_0x5f407c,_0x573f5d,_0x125826,_0x4eca8e,_0x263c58,_0x2fc6bd,_0x271fce),A(this,_0xb66fe9(0x3ea),_0xb66fe9(0x491)),this[_0xb66fe9(0x2cf)]=_0x300abf;}[_0x1c66a7(0x1b4)](_0x38ffb9){var _0x11b712=_0x1c66a7;return this[_0x11b712(0x423)]['push'](_0x38ffb9),this[_0x11b712(0x4a8)](),this;}[_0x1c66a7(0x289)](_0x16e1c7){var _0xcb0a1d=_0x1c66a7;throw new Error(_0xcb0a1d(0x399));}['onRemoteAck'](){var _0x91d353=_0x1c66a7;throw new Error(_0x91d353(0x2d1));}[_0x1c66a7(0x396)](){var _0x28da0a=_0x1c66a7;throw new Error(_0x28da0a(0x37c));}[_0x1c66a7(0x272)](){return this;}[_0x1c66a7(0x35d)](){return this;}[_0x1c66a7(0x3a2)](){var _0x250999=_0x1c66a7;const {_injector:_0x51a81f,_pendingMutations:_0x539087,_awaitingChangeset:_0x563458,unitID:_0xb065e2,_handler:_0x549189,type:_0x3b213a}=this,_0x49ed01=Ot(_0x51a81f,_0xb065e2,_0x3b213a,_0x563458,_0x539087,_0x549189);return _0x49ed01 instanceof exports['PendingState']?_0x49ed01[_0x250999(0x30b)]():(_0x49ed01 instanceof exports[_0x250999(0x469)]||_0x49ed01 instanceof exports[_0x250999(0x358)])&&_0x49ed01['resend'](),_0x49ed01;}[_0x1c66a7(0x235)](){var _0x28a980=_0x1c66a7;throw new Error(_0x28a980(0x3e7));}},exports[_0x1c66a7(0x267)]=ae([w(0x5,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),w(0x6,a[_0x1c66a7(0x1a6)](I[_0x1c66a7(0x1f3)])),w(0x7,a['ICommandService']),w(0x8,a[_0x1c66a7(0x25c)]),w(0x9,a['Optional'](q))],exports[_0x1c66a7(0x267)]),exports[_0x1c66a7(0x45e)]=class extends ce{constructor(_0x339ce0,_0x546464,_0x383a04,_0x4e57df,_0x2e9d3d,_0x1bb13f,_0x3f7ffd,_0x58741d,_0x3ffb65,_0x35cf37,_0x38b713,_0x3a7546,_0x3487d2,_0x2a1cb5){var _0x46b066=_0x1c66a7;super(_0x339ce0,_0x546464,_0x383a04,_0x4e57df,_0x3f7ffd,_0x38b713,_0x3a7546,_0x3ffb65,_0x2a1cb5),A(this,'status',_0x46b066(0x151)),(this[_0x46b066(0x23b)]=_0x2e9d3d,this['_queuedRemoteChangesets']=_0x1bb13f,this[_0x46b066(0x2cf)]=_0x58741d,this[_0x46b066(0x309)]=_0x35cf37,this['_transformService']=_0x3487d2,this[_0x46b066(0x31f)]=_0x2a1cb5);}[_0x1c66a7(0x490)](_0x4f97b9){var _0x5742b9=_0x1c66a7;try{const _0x17b389=[..._0x4f97b9,...this[_0x5742b9(0x37a)]],_0x24a9a6=[this[_0x5742b9(0x170)]||this[_0x5742b9(0x23b)]][_0x5742b9(0x411)](_0x434eb0=>!!_0x434eb0);let _0xe1bd6d,_0x31844a;if(_0x24a9a6[_0x5742b9(0x1c0)]){const _0x3a27bb=this[_0x5742b9(0x225)][_0x5742b9(0x483)](_0x17b389,_0x24a9a6,!0x1);if(!I[_0x5742b9(0x4ac)](_0x3a27bb))throw _0x3a27bb[_0x5742b9(0x3b6)];_0xe1bd6d=_0x3a27bb[_0x5742b9(0x2ef)],_0x31844a=_0x3a27bb[_0x5742b9(0x149)];}else _0xe1bd6d=_0x17b389,_0x31844a=[];let _0x392be5=this[_0x5742b9(0x423)];_0xe1bd6d['forEach'](_0x37e3bc=>{var _0x4004ca=_0x5742b9;let _0x566af1;if(_0x392be5[_0x4004ca(0x1c0)]){const _0x4312c5=this[_0x4004ca(0x225)][_0x4004ca(0x239)](_0x37e3bc,_0x392be5);if(!I[_0x4004ca(0x39b)](_0x4312c5))throw _0x4312c5['error'];_0x566af1=_0x4312c5[_0x4004ca(0x2ef)],_0x392be5=_0x4312c5[_0x4004ca(0x428)];}else _0x566af1=_0x37e3bc;this[_0x4004ca(0x297)](_0x566af1);}),this[_0x5742b9(0x23b)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x31844a[_0x5742b9(0x1c0)]&&(_0x31844a[0x0][_0x5742b9(0x3b1)]=this[_0x5742b9(0x31a)]());let _0x46d3d7;if(this[_0x5742b9(0x170)]&&_0x392be5['length']!==0x0)_0x46d3d7=this['_injector']['createInstance'](exports[_0x5742b9(0x469)],this['unitID'],this[_0x5742b9(0x231)],_0x31844a[0x0],_0x392be5,this[_0x5742b9(0x261)],void 0x0);else{if(this[_0x5742b9(0x170)]&&_0x392be5[_0x5742b9(0x1c0)]===0x0)_0x31844a[0x0][_0x5742b9(0x3b1)]=this[_0x5742b9(0x31a)](),_0x46d3d7=this['_injector'][_0x5742b9(0x361)](exports[_0x5742b9(0x358)],this[_0x5742b9(0x329)],this[_0x5742b9(0x231)],_0x31844a[0x0],this['_handler']);else{if(_0x392be5[_0x5742b9(0x1c0)]!==0x0){const _0x502c0a=this['_injector'][_0x5742b9(0x361)](exports[_0x5742b9(0x1b9)],this[_0x5742b9(0x329)],this[_0x5742b9(0x231)],_0x392be5,this[_0x5742b9(0x261)]);_0x502c0a[_0x5742b9(0x30b)](),_0x46d3d7=_0x502c0a;}else _0x46d3d7=this[_0x5742b9(0x2cf)][_0x5742b9(0x361)](exports[_0x5742b9(0x14e)],this['unitID'],this[_0x5742b9(0x231)],this[_0x5742b9(0x261)]);}}return _0x46d3d7[_0x5742b9(0x4a8)](),_0x46d3d7;}catch(_0x3f4f4b){return this['_logService'][_0x5742b9(0x3b6)](_0x5742b9(0x2dc),_0x5742b9(0x1a8),_0x3f4f4b),this[_0x5742b9(0x2cf)][_0x5742b9(0x361)](exports[_0x5742b9(0x457)],this[_0x5742b9(0x329)],this[_0x5742b9(0x231)],this[_0x5742b9(0x170)],this['_pendingMutations'],this[_0x5742b9(0x261)],!0x1);}}[_0x1c66a7(0x235)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1c66a7(0x1b4)](_0x136a13){var _0x3abb13=_0x1c66a7;return this[_0x3abb13(0x423)][_0x3abb13(0x421)](_0x136a13),this;}[_0x1c66a7(0x289)](_0x513249){var _0x10985b=_0x1c66a7;return this[_0x10985b(0x37a)][_0x10985b(0x421)](_0x513249),this;}[_0x1c66a7(0x422)](_0x5d0ed3){var _0x4d362c=_0x1c66a7;if(this[_0x4d362c(0x170)])return this[_0x4d362c(0x23b)]=this[_0x4d362c(0x170)],this[_0x4d362c(0x170)]=null,this;throw new Error(_0x4d362c(0x47c));}['onRemoteRej'](_0x15a863){var _0x2a04bf=_0x1c66a7;return this[_0x2a04bf(0x165)](!!(_0x15a863!=null&&_0x15a863[_0x2a04bf(0x3d5)]));}[_0x1c66a7(0x272)](){return this;}[_0x1c66a7(0x35d)](){var _0x49afac=_0x1c66a7;return this[_0x49afac(0x2cf)][_0x49afac(0x361)](exports[_0x49afac(0x267)],this['unitID'],this[_0x49afac(0x231)],this[_0x49afac(0x170)],this['_pendingMutations'],this[_0x49afac(0x261)]);}[_0x1c66a7(0x3a2)](){return this;}[_0x1c66a7(0x165)](_0xfe062b){var _0x56723e=_0x1c66a7;return this[_0x56723e(0x2cf)][_0x56723e(0x361)](exports[_0x56723e(0x457)],this['unitID'],this['type'],this[_0x56723e(0x170)],this[_0x56723e(0x423)],this['_handler'],_0xfe062b);}},exports[_0x1c66a7(0x45e)]=ae([w(0x7,a['Inject'](a['Injector'])),w(0x8,a['Inject'](I[_0x1c66a7(0x1f3)])),w(0x9,a[_0x1c66a7(0x2c8)]),w(0xa,a[_0x1c66a7(0x31c)]),w(0xb,a[_0x1c66a7(0x25c)]),w(0xc,I[_0x1c66a7(0x15f)]),w(0xd,a[_0x1c66a7(0x3c9)](q))],exports['FetchingMissState']);function Ot(_0x1c1760,_0x416100,_0x12f991,_0x38d5ca,_0x459922,_0x505f11){var _0x10378d=_0x1c66a7;return _0x38d5ca&&_0x459922[_0x10378d(0x1c0)]?_0x1c1760[_0x10378d(0x361)](exports['AwaitingWithPendingState'],_0x416100,_0x12f991,_0x38d5ca,_0x459922,_0x505f11,void 0x0):_0x38d5ca?_0x1c1760[_0x10378d(0x361)](exports[_0x10378d(0x358)],_0x416100,_0x12f991,_0x38d5ca,_0x505f11):_0x459922[_0x10378d(0x1c0)]?_0x1c1760['createInstance'](exports[_0x10378d(0x1b9)],_0x416100,_0x12f991,_0x459922,_0x505f11):_0x1c1760[_0x10378d(0x361)](exports['SyncedState'],_0x416100,_0x12f991,_0x505f11);}var vi=Object[_0x1c66a7(0x18b)],Fe=(_0x371ac0,_0x263026,_0x3d57f5,_0x1c9eee)=>{var _0x1d5627=_0x1c66a7;for(var _0x193556=_0x1c9eee>0x1?void 0x0:_0x1c9eee?vi(_0x263026,_0x3d57f5):_0x263026,_0x329654=_0x371ac0[_0x1d5627(0x1c0)]-0x1,_0x1e0f7e;_0x329654>=0x0;_0x329654--)(_0x1e0f7e=_0x371ac0[_0x329654])&&(_0x193556=_0x1e0f7e(_0x193556)||_0x193556);return _0x193556;},j=(_0x1f0e7c,_0x2ded9d)=>(_0x12f9c7,_0x35f4bf)=>_0x2ded9d(_0x12f9c7,_0x35f4bf,_0x1f0e7c);exports[_0x1c66a7(0x16b)]=class extends a[_0x1c66a7(0x19b)]{constructor(_0x460356,_0x14b2de,_0x512ff3,_0x4d0435,_0x4f5ddb,_0x5a6438,_0x1e8a70,_0x1d494e,_0x13b6d2,_0x281259,_0x4c6496,_0x4a27a1,_0x367a6e){var _0x5a0df8=_0x1c66a7;super(),A(this,'_state$',new $[(_0x5a0df8(0x1bf))](null)),A(this,'state$',this[_0x5a0df8(0x3c0)]['asObservable']()),A(this,'_state'),A(this,_0x5a0df8(0x14b),!0x1),A(this,_0x5a0df8(0x3cc),''),A(this,'_changesetReqId',0x0),A(this,_0x5a0df8(0x486),this['state$'][_0x5a0df8(0x1a3)]($['map'](_0x190da3=>_0x190da3?_0x190da3[_0x5a0df8(0x3ea)]:Be['OFFLINE']),$[_0x5a0df8(0x248)](0x1))),A(this,_0x5a0df8(0x454),!0x1),A(this,_0x5a0df8(0x27c),[]),(this['unitID']=_0x460356,this[_0x5a0df8(0x2bb)]=_0x14b2de,this[_0x5a0df8(0x1b6)]=_0x512ff3,this[_0x5a0df8(0x2cf)]=_0x4d0435,this[_0x5a0df8(0x42a)]=_0x4f5ddb,this[_0x5a0df8(0x2de)]=_0x5a6438,this[_0x5a0df8(0x4b5)]=_0x1e8a70,this[_0x5a0df8(0x310)]=_0x1d494e,this['_logService']=_0x13b6d2,this[_0x5a0df8(0x247)]=_0x281259,this[_0x5a0df8(0x1c3)]=_0x4c6496,this[_0x5a0df8(0x291)]=_0x4a27a1,this['_localCacheService']=_0x367a6e);}get['state'](){return this['_state'];}async[_0x1c66a7(0x145)](){var _0x2cdc7b=_0x1c66a7;if(this[_0x2cdc7b(0x330)])throw new Error(_0x2cdc7b(0x265));await this[_0x2cdc7b(0x339)]();}['pauseCollaboration'](){var _0x2667ee=_0x1c66a7;return this['_collaborationPaused']=!0x0,a[_0x2667ee(0x401)](()=>{var _0x5e6d60=_0x2667ee;this[_0x5e6d60(0x14b)]=!0x1,this[_0x5e6d60(0x32b)]();});}[_0x1c66a7(0x154)](_0x5548dd){var _0x2a8659=_0x1c66a7;this[_0x2a8659(0x47b)](_0x5548dd);}[_0x1c66a7(0x210)](_0xeb1942){var _0x25d007=_0x1c66a7;this[_0x25d007(0x433)]=_0xeb1942,this[_0x25d007(0x3c0)]['next'](_0xeb1942);}async[_0x1c66a7(0x339)](){var _0x54e383=_0x1c66a7,_0x4669fd;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x4669fd=this[_0x54e383(0x291)])==null||_0x4669fd[_0x54e383(0x182)](this[_0x54e383(0x329)]),this[_0x54e383(0x3f0)](this[_0x54e383(0x291)][_0x54e383(0x285)](this[_0x54e383(0x329)])[_0x54e383(0x400)](_0x14961a=>{var _0x60fca6=_0x54e383;this['_logService'][_0x60fca6(0x16c)](_0x60fca6(0x224),'editing\x20status\x20changed\x20to',_0x14961a),_0x14961a===je[_0x60fca6(0x187)]?(this[_0x60fca6(0x310)]['emitEvent']({'id':Z[_0x60fca6(0x3f7)]}),this['_permissionService'][_0x60fca6(0x269)](new X[(_0x60fca6(0x3e6))](this[_0x60fca6(0x329)])['id'],!0x1),this[_0x60fca6(0x1c3)][_0x60fca6(0x3a3)](!0x1)):(this['_permissionService'][_0x60fca6(0x269)](new X[(_0x60fca6(0x3e6))](this[_0x60fca6(0x329)])['id'],!0x0),this[_0x60fca6(0x1c3)][_0x60fca6(0x3a3)](!0x0));})));let _0x573d17=!0x1;return this[_0x54e383(0x3f0)](this['session'][_0x54e383(0x2a0)]['subscribe'](_0x297be7=>{var _0x3fb68d=_0x54e383;_0x297be7===re[_0x3fb68d(0x279)]?this['_toggleOnline'](_0x573d17):_0x297be7===re[_0x3fb68d(0x287)]&&(_0x573d17=!0x0,this[_0x3fb68d(0x29c)]());})),this[_0x54e383(0x3f0)](this[_0x54e383(0x2bb)][_0x54e383(0x1e5)]['subscribe'](_0x43a13a=>{var _0x33ba10=_0x54e383;try{switch(_0x43a13a[_0x33ba10(0x21a)]){case I['CollaborationEvent']['NEW_CHANGESETS']:{this['_onRemoteChangeset'](I['parseProtocolChangeset'](_0x43a13a[_0x33ba10(0x3a5)]));break;}case I['CollaborationEvent'][_0x33ba10(0x2b4)]:{this[_0x33ba10(0x1d5)](_0x43a13a['data']);break;}case I[_0x33ba10(0x152)][_0x33ba10(0x357)]:{this[_0x33ba10(0x1da)]();break;}case I[_0x33ba10(0x152)][_0x33ba10(0x1c7)]:{this['_onRemoteRetry'](_0x43a13a[_0x33ba10(0x3a5)]);break;}case I['CollaborationEvent'][_0x33ba10(0x3cd)]:{this[_0x33ba10(0x228)](_0x43a13a[_0x33ba10(0x3a5)][_0x33ba10(0x17a)][_0x33ba10(0x3a1)](_0x33202d=>I['parseProtocolChangeset'](_0x33202d)));break;}case I[_0x33ba10(0x152)][_0x33ba10(0x2e4)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0x33ba10(0x152)][_0x33ba10(0x3a9)]:break;}}catch(_0x514918){throw console['error']('Error\x20on\x20receiving\x20event',_0x514918),_0x514918;}})),this['_state'];}[_0x1c66a7(0x234)](){var _0x2b8155=_0x1c66a7;this[_0x2b8155(0x454)]=!0x1;}[_0x1c66a7(0x48d)](){var _0x1aacc5=_0x1c66a7;if(this[_0x1aacc5(0x454)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x1aacc5(0x454)]=!0x0;}[_0x1c66a7(0x47b)](_0x18fdd7){var _0x121935=_0x1c66a7;this[_0x121935(0x48d)](),this[_0x121935(0x210)](this[_0x121935(0x433)][_0x121935(0x1b4)](_0x18fdd7)),this[_0x121935(0x234)]();}[_0x1c66a7(0x28e)](_0x7f1b3b){var _0x331b99=_0x1c66a7;if(!(_0x7f1b3b[_0x331b99(0x328)]<=this[_0x331b99(0x4b5)][_0x331b99(0x3c5)](this[_0x331b99(0x329)]))){if(this['_collaborationPaused']){this[_0x331b99(0x27c)]['push'](_0x7f1b3b);return;}this[_0x331b99(0x441)](_0x7f1b3b);}}[_0x1c66a7(0x32b)](){var _0x14e675=_0x1c66a7;this[_0x14e675(0x27c)][_0x14e675(0x42e)](_0x1453e3=>this[_0x14e675(0x441)](_0x1453e3)),this[_0x14e675(0x27c)]=[];}[_0x1c66a7(0x441)](_0x7dae3c){var _0x49db14=_0x1c66a7;const _0x26479f=this['_compressMutationService'][_0x49db14(0x1e0)][_0x49db14(0x4af)](this[_0x49db14(0x42a)][_0x49db14(0x1e0)][_0x49db14(0x249)]()[_0x49db14(0x282)])(_0x7dae3c[_0x49db14(0x17b)],null)||_0x7dae3c[_0x49db14(0x17b)],_0x178edc={..._0x7dae3c,'mutations':_0x26479f};this[_0x49db14(0x48d)](),this[_0x49db14(0x210)](this['_state']['onRemoteChangeset'](_0x178edc)),this[_0x49db14(0x234)]();}['_onRemoteACK'](_0x13edde){var _0x351cc4=_0x1c66a7;this[_0x351cc4(0x48d)](),this['_updateState'](this['_state'][_0x351cc4(0x422)](_0x13edde)),this[_0x351cc4(0x234)]();}[_0x1c66a7(0x1da)](_0x1f3a3a){var _0x1c6940=_0x1c66a7;this[_0x1c6940(0x48d)](),this[_0x1c6940(0x210)](this['_state'][_0x1c6940(0x396)](_0x1f3a3a)),this[_0x1c6940(0x234)]();}[_0x1c66a7(0x150)](_0x3284bd){var _0x45573d=_0x1c66a7;this['_lockTransition'](),this[_0x45573d(0x210)](this[_0x45573d(0x433)]['onRemoteRetry'](_0x3284bd)),this[_0x45573d(0x234)]();}[_0x1c66a7(0x228)](_0x4e915b){var _0x19cad1=_0x1c66a7;if(!(this['_state']instanceof exports[_0x19cad1(0x45e)]))throw new TypeError(_0x19cad1(0x2c6));const _0x884c68=_0x4e915b[_0x19cad1(0x3a1)](_0x311269=>{var _0x596e02=_0x19cad1;const _0x2aadbc=this[_0x596e02(0x42a)][_0x596e02(0x1e0)][_0x596e02(0x4af)](this[_0x596e02(0x42a)][_0x596e02(0x1e0)]['getInterceptPoints']()[_0x596e02(0x282)])(_0x311269['mutations'],null)||_0x311269[_0x596e02(0x17b)];return{..._0x311269,'mutations':_0x2aadbc};});this[_0x19cad1(0x48d)](),this['_updateState'](this[_0x19cad1(0x433)][_0x19cad1(0x490)](_0x884c68)),this[_0x19cad1(0x234)]();}['_toggleOffline'](){var _0x140e96=_0x1c66a7;this[_0x140e96(0x48d)](),this['_updateState'](this['_state'][_0x140e96(0x35d)]()),this[_0x140e96(0x234)]();}['_toggleOnline'](_0x4ec172=!0x1){var _0x22bad3=_0x1c66a7;this[_0x22bad3(0x48d)](),this['_updateState'](this[_0x22bad3(0x433)][_0x22bad3(0x3a2)]()),this[_0x22bad3(0x234)]();const _0x24dd11=this[_0x22bad3(0x433)];_0x4ec172&&_0x24dd11 instanceof exports['SyncedState']&&(this[_0x22bad3(0x48d)](),this[_0x22bad3(0x210)](_0x24dd11[_0x22bad3(0x1d2)]()),this[_0x22bad3(0x234)]());}async[_0x1c66a7(0x175)](){return new Promise(_0x27cc15=>{var _0xb52058=_0x1aa6;this[_0xb52058(0x2bb)][_0xb52058(0x2a0)][_0xb52058(0x1a3)]($['take'](0x1))[_0xb52058(0x400)](async _0x48bb4a=>{var _0xa185d8=_0xb52058;_0x27cc15(await this[_0xa185d8(0x2e0)](_0x48bb4a===re[_0xa185d8(0x279)]));});});}['_createHandler'](){const _0xe740df=this['unitID'];return{'onStateChange':(_0x3df2fd,_0x3ca633)=>{var _0x346a18=_0x1aa6;if(_0x3df2fd!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3df2fd[_0x346a18(0x3ea)]+'\x0aAfter:\x20'+_0x3ca633['status']+_0x346a18(0x4ad)+this['_state'][_0x346a18(0x3ea)]);this[_0x346a18(0x210)](_0x3ca633);},'onSendChangeset':_0x592369=>{var _0x4317ed=_0x1aa6;_0x592369['sid']||(_0x592369['sid']=this[_0x4317ed(0x3cc)],_0x592369['reqId']=++this[_0x4317ed(0x436)]);const _0x1374c2={'eventID':I[_0x4317ed(0x152)][_0x4317ed(0x15e)],'data':{'unitID':_0x592369[_0x4317ed(0x329)],'unitType':this[_0x4317ed(0x1b6)],'changeset':_0x592369,'memberID':this['session']['getMemberID']()}};this[_0x4317ed(0x2bb)][_0x4317ed(0x44f)](_0x1374c2,this[_0x4317ed(0x329)]);},'onMissingChangesets':({from:_0x5e1092,to:_0x4f0000})=>{var _0x34ecb9=_0x1aa6;this[_0x34ecb9(0x309)]['debug']('[CollaborationEntity]',_0x34ecb9(0x14d)+_0x5e1092+_0x34ecb9(0x2e3)+_0x4f0000);const _0x1f3137={'eventID':I[_0x34ecb9(0x152)][_0x34ecb9(0x363)],'data':{'unitID':_0xe740df,'unitType':this['_type'],'from':_0x5e1092,'to':_0x4f0000}};this[_0x34ecb9(0x2bb)][_0x34ecb9(0x44f)](_0x1f3137,this[_0x34ecb9(0x329)]);}};}async['_createInitialStateImpl'](_0x406f57){var _0x55d0bc=_0x1c66a7,_0x3e67c9,_0x58d4ac,_0x49ba8c;const _0xff4b73=await((_0x3e67c9=this[_0x55d0bc(0x24b)])==null?void 0x0:_0x3e67c9[_0x55d0bc(0x3b9)](this[_0x55d0bc(0x329)])),_0x3e516b=(_0x58d4ac=_0xff4b73==null?void 0x0:_0xff4b73[_0x55d0bc(0x17b)])!=null?_0x58d4ac:[],_0x5ea3c8=(_0x49ba8c=_0xff4b73==null?void 0x0:_0xff4b73[_0x55d0bc(0x188)])!=null?_0x49ba8c:null,_0x2480fa=!!(_0x5ea3c8!=null&&_0x5ea3c8[_0x55d0bc(0x172)])&&!!(_0x5ea3c8!=null&&_0x5ea3c8[_0x55d0bc(0x2dd)]);this[_0x55d0bc(0x3cc)]=_0x2480fa?_0x5ea3c8[_0x55d0bc(0x172)]:I['uuidv4'](),this[_0x55d0bc(0x436)]=_0x2480fa?_0x5ea3c8[_0x55d0bc(0x2dd)]:0x0;const _0x294ada=this['unitID'];try{this[_0x55d0bc(0x392)](_0x5ea3c8,_0x3e516b);}catch(_0x3ff2ac){this[_0x55d0bc(0x309)][_0x55d0bc(0x3b6)](_0x3ff2ac);}const _0x341392=this['_createHandler']();if(_0x406f57){const _0x217158=Ot(this[_0x55d0bc(0x2cf)],_0x294ada,this['_type'],_0x5ea3c8,_0x3e516b,_0x341392);return _0x217158 instanceof exports['PendingState']?_0x217158[_0x55d0bc(0x30b)]():(_0x217158 instanceof exports[_0x55d0bc(0x469)]||_0x217158 instanceof exports['AwaitingState'])&&_0x217158[_0x55d0bc(0x235)](),_0x217158;}return this[_0x55d0bc(0x2cf)][_0x55d0bc(0x361)](exports[_0x55d0bc(0x267)],_0x294ada,this[_0x55d0bc(0x1b6)],_0x5ea3c8,_0x3e516b,_0x341392);}['_replayCachedMutations'](_0x4c3631,_0xece4b6){var _0x499354=_0x1c66a7,_0x452530,_0x58c4b9;const _0x3c34fd=this[_0x499354(0x42a)]['interceptor'][_0x499354(0x4af)](this[_0x499354(0x42a)][_0x499354(0x1e0)][_0x499354(0x249)]()['COMPRESS_MUTATION_APPLY']);(_0x452530=_0x3c34fd((_0x4c3631==null?void 0x0:_0x4c3631[_0x499354(0x17b)])||[],null))==null||_0x452530[_0x499354(0x42e)](_0x8f863b=>this[_0x499354(0x247)][_0x499354(0x1f7)](_0x8f863b['id'],_0x8f863b[_0x499354(0x3fa)])),(_0x58c4b9=_0x3c34fd(_0xece4b6||[],null))==null||_0x58c4b9[_0x499354(0x42e)](_0x2919dd=>this[_0x499354(0x247)]['executeCommand'](_0x2919dd['id'],_0x2919dd[_0x499354(0x3fa)]));}},exports[_0x1c66a7(0x16b)]=Fe([j(0x3,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),j(0x4,a['Inject'](I[_0x1c66a7(0x2b7)])),j(0x5,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x39d)])),j(0x6,a[_0x1c66a7(0x1a6)](I['RevisionService'])),j(0x7,a['Inject'](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x1c66a7(0x31c)]),j(0xa,a[_0x1c66a7(0x229)]),j(0xb,a[_0x1c66a7(0x3c9)](de)),j(0xc,a['Optional'](q))],exports[_0x1c66a7(0x16b)]),exports[_0x1c66a7(0x37e)]=class extends exports[_0x1c66a7(0x16b)]{constructor(_0x58332b,_0x3144d0,_0x2479db,_0x103f97,_0xbb9b73,_0x4aa427,_0x478b78,_0x8a7172,_0x4d4d89,_0x5a6371,_0x4cbb09,_0x3afda2,_0xf29e37){var _0x56bc38=_0x1c66a7;super(_0x58332b,_0x2479db,_0x3144d0,_0x103f97,_0xbb9b73,_0x4aa427,_0x478b78,_0x8a7172,_0x4d4d89,_0x5a6371,_0x4cbb09,_0x3afda2,_0xf29e37),A(this,_0x56bc38(0x2d4),null),(this[_0x56bc38(0x329)]=_0x58332b,this[_0x56bc38(0x231)]=_0x3144d0);}[_0x1c66a7(0x44d)](_0x1c8db4){var _0x349c62=_0x1c66a7;this[_0x349c62(0x2d4)]=_0x1c8db4;}[_0x1c66a7(0x280)](){this['_handlerCallback']=null,super['dispose']();}[_0x1c66a7(0x190)](){var _0x8565d8=_0x1c66a7;const _0x212b03=super[_0x8565d8(0x190)]();return _0x212b03['onTransformIME']=_0x534a11=>{var _0x308716=_0x8565d8,_0x390c94,_0x1b52a4;return(_0x1b52a4=(_0x390c94=this[_0x308716(0x2d4)])==null?void 0x0:_0x390c94[_0x308716(0x221)])==null?void 0x0:_0x1b52a4[_0x308716(0x200)](_0x390c94,_0x534a11);},_0x212b03['onTransformState']=_0x237a33=>{var _0x390df3=_0x8565d8,_0x1267e4,_0x440451;return(_0x440451=(_0x1267e4=this[_0x390df3(0x2d4)])==null?void 0x0:_0x1267e4[_0x390df3(0x1d7)])==null?void 0x0:_0x440451[_0x390df3(0x200)](_0x1267e4,_0x237a33);},_0x212b03[_0x8565d8(0x354)]=_0x5b091b=>{var _0x1756c7=_0x8565d8,_0x5a9e1f,_0xbf5db3;return(_0xbf5db3=(_0x5a9e1f=this[_0x1756c7(0x2d4)])==null?void 0x0:_0x5a9e1f[_0x1756c7(0x354)])==null?void 0x0:_0xbf5db3[_0x1756c7(0x200)](_0x5a9e1f,_0x5b091b);},_0x212b03[_0x8565d8(0x255)]=_0x5170b6=>{var _0x5c8362=_0x8565d8,_0x34b879,_0x7c118;return(_0x7c118=(_0x34b879=this[_0x5c8362(0x2d4)])==null?void 0x0:_0x34b879[_0x5c8362(0x255)])==null?void 0x0:_0x7c118[_0x5c8362(0x200)](_0x34b879,_0x5170b6);},_0x212b03['onTransformRemoteChangesetByIMECache']=_0x50aeb8=>{var _0x5624bd=_0x8565d8,_0x27a565,_0x231089,_0x281faa;if(!((_0x27a565=this[_0x5624bd(0x2d4)])!=null&&_0x27a565['onTransformRemoteChangesetByIMECache']))throw new Error(_0x5624bd(0x355));return(_0x281faa=(_0x231089=this[_0x5624bd(0x2d4)])==null?void 0x0:_0x231089[_0x5624bd(0x3f1)])==null?void 0x0:_0x281faa[_0x5624bd(0x200)](_0x231089,_0x50aeb8);},_0x212b03['onTransformRemoteChangesetByStateCache']=_0x30f76a=>{var _0x464d57=_0x8565d8,_0x453efc,_0x4ac26c,_0x27725a;if(!((_0x453efc=this[_0x464d57(0x2d4)])!=null&&_0x453efc[_0x464d57(0x448)]))throw new Error(_0x464d57(0x1aa));return(_0x27725a=(_0x4ac26c=this[_0x464d57(0x2d4)])==null?void 0x0:_0x4ac26c[_0x464d57(0x448)])==null?void 0x0:_0x27725a[_0x464d57(0x200)](_0x4ac26c,_0x30f76a);},_0x212b03;}async[_0x1c66a7(0x339)](){var _0xd692ae=_0x1c66a7;const _0x4a247d=await super[_0xd692ae(0x339)]();return this['disposeWithMe'](this[_0xd692ae(0x247)]['onCommandExecuted']((_0x1c918a,_0x320c2b)=>{var _0x430456=_0xd692ae;if(_0x1c918a[_0x430456(0x231)]!==a['CommandType']['MUTATION']||_0x320c2b!=null&&_0x320c2b['fromCollab']||_0x320c2b!=null&&_0x320c2b[_0x430456(0x181)]||_0x1c918a['id']===ht[_0x430456(0x4aa)]['id'])return;const _0x2f82b0=_0x1c918a[_0x430456(0x3fa)];if((_0x2f82b0==null?void 0x0:_0x2f82b0['unitId'])!==this[_0x430456(0x329)])return;const _0x4b9293=_0x1c918a,_0x33d0a1=this['_compressMutationService'][_0x430456(0x1e0)][_0x430456(0x4af)](this[_0x430456(0x42a)][_0x430456(0x1e0)][_0x430456(0x249)]()[_0x430456(0x17e)])([_0x4b9293],null)||[_0x4b9293];this[_0x430456(0x47b)](_0x33d0a1[0x0]);})),_0x4a247d;}},exports['DocCollaborationEntity']=Fe([j(0x3,a['Inject'](a[_0x1c66a7(0x347)])),j(0x4,a['Inject'](I[_0x1c66a7(0x2b7)])),j(0x5,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x39d)])),j(0x6,a[_0x1c66a7(0x1a6)](I[_0x1c66a7(0x1f3)])),j(0x7,a[_0x1c66a7(0x1a6)](ee)),j(0x8,a[_0x1c66a7(0x2c8)]),j(0x9,a['ICommandService']),j(0xa,a[_0x1c66a7(0x229)]),j(0xb,a[_0x1c66a7(0x3c9)](de)),j(0xc,a[_0x1c66a7(0x3c9)](q))],exports['DocCollaborationEntity']),exports[_0x1c66a7(0x39c)]=class extends exports[_0x1c66a7(0x16b)]{constructor(_0x36c8f6,_0x5f0ab1,_0x2d8def,_0x1c3323,_0x2d2702,_0x431bd6,_0xc4041f,_0x2527b7,_0x2ac630,_0x4e40b1,_0x8a4f7b,_0x10adba,_0x57c9ce,_0x3025df){var _0x180607=_0x1c66a7;super(_0x36c8f6,_0x2d8def,_0x5f0ab1,_0x1c3323,_0x2d2702,_0x431bd6,_0xc4041f,_0x2ac630,_0x4e40b1,_0x8a4f7b,_0x10adba,_0x57c9ce,_0x3025df),this['unitID']=_0x36c8f6,this['type']=_0x5f0ab1,this[_0x180607(0x2d6)]=_0x2527b7;}[_0x1c66a7(0x190)](){var _0xb224bb=_0x1c66a7;const _0x371357=super[_0xb224bb(0x190)]();return _0x371357[_0xb224bb(0x354)]=_0x57461e=>this['_sheetTransformSelectionsService'][_0xb224bb(0x28c)](_0x57461e),_0x371357;}async['_init'](){var _0x102e81=_0x1c66a7;const _0x368657=await super[_0x102e81(0x339)]();return this[_0x102e81(0x3f0)](this[_0x102e81(0x247)][_0x102e81(0x2ec)]((_0x5cefc4,_0x5e1921)=>{var _0x2694dc=_0x102e81;if(_0x5cefc4[_0x2694dc(0x231)]!==a['CommandType'][_0x2694dc(0x1bb)]||_0x5e1921!=null&&_0x5e1921['fromCollab']||_0x5e1921!=null&&_0x5e1921[_0x2694dc(0x181)])return;const _0x70c0f5=_0x5cefc4[_0x2694dc(0x3fa)];if((_0x70c0f5==null?void 0x0:_0x70c0f5[_0x2694dc(0x250)])!==this[_0x2694dc(0x329)])return;const _0x363513=_0x5cefc4,_0x25e576=this[_0x2694dc(0x42a)]['interceptor'][_0x2694dc(0x4af)](this[_0x2694dc(0x42a)][_0x2694dc(0x1e0)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x363513],null)||[_0x363513];this[_0x2694dc(0x47b)](_0x25e576[0x0]);})),_0x368657;}},exports[_0x1c66a7(0x39c)]=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a['Inject'](I['CompressMutationService'])),j(0x5,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x39d)])),j(0x6,a['Inject'](I[_0x1c66a7(0x1f3)])),j(0x7,a[_0x1c66a7(0x1a6)](exports[_0x1c66a7(0x43a)])),j(0x8,a['Inject'](ee)),j(0x9,a[_0x1c66a7(0x2c8)]),j(0xa,a[_0x1c66a7(0x31c)]),j(0xb,a[_0x1c66a7(0x229)]),j(0xc,a[_0x1c66a7(0x3c9)](de)),j(0xd,a[_0x1c66a7(0x3c9)](q))],exports['SheetCollaborationEntity']);var Si=Object[_0x1c66a7(0x18b)],fi=(_0x214b3d,_0x2fe3eb,_0x38a2bf,_0x4facc7)=>{var _0x2c948e=_0x1c66a7;for(var _0x23ba6b=_0x4facc7>0x1?void 0x0:_0x4facc7?Si(_0x2fe3eb,_0x38a2bf):_0x2fe3eb,_0x2815d8=_0x214b3d[_0x2c948e(0x1c0)]-0x1,_0x4705ef;_0x2815d8>=0x0;_0x2815d8--)(_0x4705ef=_0x214b3d[_0x2815d8])&&(_0x23ba6b=_0x4705ef(_0x23ba6b)||_0x23ba6b);return _0x23ba6b;},Se=(_0x4fdefe,_0x308f8c)=>(_0x3bc49f,_0x170aab)=>_0x308f8c(_0x3bc49f,_0x170aab,_0x4fdefe);exports[_0x1c66a7(0x29a)]=class extends a[_0x1c66a7(0x19b)]{constructor(_0xa9e4c1,_0x1ba94e,_0x2ffc79,_0x461e6d){var _0x16b799=_0x1c66a7,_0x512f61;super(),A(this,_0x16b799(0x3e1),new Map()),A(this,_0x16b799(0x1d6),new $['Subject']()),A(this,_0x16b799(0x451),this[_0x16b799(0x1d6)]['asObservable']()),(this[_0x16b799(0x2cf)]=_0xa9e4c1,this[_0x16b799(0x2bc)]=_0x1ba94e,this[_0x16b799(0x26d)]=_0x2ffc79,this[_0x16b799(0x204)]=_0x461e6d,((_0x512f61=this[_0x16b799(0x26d)][_0x16b799(0x3b7)](K))==null?void 0x0:_0x512f61[_0x16b799(0x1e6)])!==!0x1&&this['_init']());}[_0x1c66a7(0x280)](){var _0x2edc5d=_0x1c66a7;super['dispose'](),this[_0x2edc5d(0x3e1)][_0x2edc5d(0x42e)](_0x3837a8=>_0x3837a8[_0x2edc5d(0x280)]()),this[_0x2edc5d(0x3e1)][_0x2edc5d(0x397)]();}[_0x1c66a7(0x379)](_0x41a71a){var _0x42fe73=_0x1c66a7,_0x4c62d4;return(_0x4c62d4=this[_0x42fe73(0x3e1)]['get'](_0x41a71a))!=null?_0x4c62d4:null;}['getCollabEntity$'](_0x4c8c74){var _0x493227=_0x1c66a7;const _0x9b0d4=this[_0x493227(0x379)](_0x4c8c74);return _0x9b0d4?$['of'](_0x9b0d4):this[_0x493227(0x1d6)][_0x493227(0x1a3)](V['filter'](_0x4fce7c=>_0x4fce7c['unitID']===_0x4c8c74));}[_0x1c66a7(0x161)](_0x194ae7){var _0x50cb77=_0x1c66a7;return $['firstValueFrom'](this['getCollabEntity$'](_0x194ae7)[_0x50cb77(0x1a3)](V[_0x50cb77(0x3a1)](()=>{})));}[_0x1c66a7(0x339)](){var _0x1aee6f=_0x1c66a7;this[_0x1aee6f(0x204)][_0x1aee6f(0x408)](a[_0x1aee6f(0x23d)]['UNIVER_SHEET'])[_0x1aee6f(0x1a3)]($['takeUntil'](this[_0x1aee6f(0x3a4)]),V[_0x1aee6f(0x186)](0x10))[_0x1aee6f(0x400)](async _0xab466c=>{var _0x3ed2c0=_0x1aee6f;const _0x409b0f=_0xab466c['getUnitId'](),_0x26c3a8=await this[_0x3ed2c0(0x2cc)](_0x409b0f,J[_0x3ed2c0(0x1dc)]);this[_0x3ed2c0(0x3e1)][_0x3ed2c0(0x352)](_0x409b0f,_0x26c3a8);}),this['_univerInstanceService'][_0x1aee6f(0x408)](a['UniverInstanceType'][_0x1aee6f(0x455)])[_0x1aee6f(0x1a3)]($[_0x1aee6f(0x22f)](this[_0x1aee6f(0x3a4)]),V[_0x1aee6f(0x186)](0x10))[_0x1aee6f(0x1a3)](V['filter'](_0x563431=>!_0x563431[_0x1aee6f(0x495)]()[_0x1aee6f(0x2eb)]('__')))['subscribe'](async _0x457b8f=>{var _0x168e12=_0x1aee6f;const _0x269868=_0x457b8f[_0x168e12(0x495)](),_0x272bb7=await this[_0x168e12(0x2cc)](_0x269868,J['UNIVER_DOC']);this['_entities']['set'](_0x269868,_0x272bb7);}),$[_0x1aee6f(0x207)](this[_0x1aee6f(0x204)][_0x1aee6f(0x1e3)](a[_0x1aee6f(0x23d)][_0x1aee6f(0x1dc)]),this[_0x1aee6f(0x204)][_0x1aee6f(0x1e3)](a[_0x1aee6f(0x23d)][_0x1aee6f(0x455)]))[_0x1aee6f(0x1a3)]($[_0x1aee6f(0x22f)](this[_0x1aee6f(0x3a4)]))['subscribe'](_0x590ec2=>{var _0x33f8c5=_0x1aee6f;const _0x3eb711=_0x590ec2['getUnitId'](),_0x5963bc=this[_0x33f8c5(0x3e1)][_0x33f8c5(0x2ba)](_0x3eb711);_0x5963bc&&(_0x5963bc[_0x33f8c5(0x280)](),this[_0x33f8c5(0x3e1)][_0x33f8c5(0x385)](_0x3eb711));});}async[_0x1c66a7(0x2cc)](_0x3be544,_0x29fa2f){var _0x1c93f0=_0x1c66a7;const _0x248ed=await this['_collabSessionService'][_0x1c93f0(0x345)](_0x3be544),_0x9950cf=this[_0x1c93f0(0x2cf)][_0x1c93f0(0x361)](this[_0x1c93f0(0x42d)](_0x29fa2f),_0x3be544,_0x29fa2f,_0x248ed);return await _0x9950cf[_0x1c93f0(0x145)](),this[_0x1c93f0(0x1d6)]['next'](_0x9950cf),_0x9950cf;}[_0x1c66a7(0x42d)](_0x4d9ac2){var _0x3338aa=_0x1c66a7;switch(_0x4d9ac2){case J[_0x3338aa(0x455)]:return exports[_0x3338aa(0x37e)];case J[_0x3338aa(0x1dc)]:return exports[_0x3338aa(0x39c)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4d9ac2);}}},exports[_0x1c66a7(0x29a)]=fi([Se(0x0,a['Inject'](a[_0x1c66a7(0x347)])),Se(0x1,a[_0x1c66a7(0x1a6)](exports[_0x1c66a7(0x263)])),Se(0x2,a[_0x1c66a7(0x33a)]),Se(0x3,a['IUniverInstanceService'])],exports[_0x1c66a7(0x29a)]);var pi=Object[_0x1c66a7(0x18b)],Ii=(_0x19a465,_0x16be04,_0x9ceae7,_0x36f482)=>{var _0x47db9c=_0x1c66a7;for(var _0x373411=_0x36f482>0x1?void 0x0:_0x36f482?pi(_0x16be04,_0x9ceae7):_0x16be04,_0x20a17d=_0x19a465[_0x47db9c(0x1c0)]-0x1,_0x1551f4;_0x20a17d>=0x0;_0x20a17d--)(_0x1551f4=_0x19a465[_0x20a17d])&&(_0x373411=_0x1551f4(_0x373411)||_0x373411);return _0x373411;},Ye=(_0x3be594,_0x5ef9d5)=>(_0x5215a9,_0x85b6c1)=>_0x5ef9d5(_0x5215a9,_0x85b6c1,_0x3be594);const gi='DEFAULT_FILE_NAME',Ei='Univer';let xe=class extends a[_0x1c66a7(0x403)]{constructor(_0x4ef116,_0x1401d6){var _0x518b79=_0x1c66a7;super(),this[_0x518b79(0x204)]=_0x4ef116,this['_configService']=_0x1401d6,this['_init']();}['_init'](){var _0x2c8b17=_0x1c66a7;this['disposeWithMe'](this[_0x2c8b17(0x204)][_0x2c8b17(0x2f6)][_0x2c8b17(0x400)](()=>{var _0x1a33a5=_0x2c8b17,_0x30848c;const _0x49db27=this[_0x1a33a5(0x204)]['getFocusedUnit']();let _0x318748=(_0x30848c=this[_0x1a33a5(0x26d)]['getConfig'](gi))!=null?_0x30848c:Ei;_0x49db27 instanceof a[_0x1a33a5(0x4b9)]&&(_0x318748=_0x49db27[_0x1a33a5(0x1b8)]),document[_0x1a33a5(0x2f1)]=_0x318748;}));}};xe=Ii([Ye(0x0,a[_0x1c66a7(0x2c7)]),Ye(0x1,a[_0x1c66a7(0x33a)])],xe);var mi=Object[_0x1c66a7(0x18b)],Ci=(_0x2dcf91,_0x2dd1a3,_0x11e837,_0x40a947)=>{var _0x3400fc=_0x1c66a7;for(var _0x1d8eed=_0x40a947>0x1?void 0x0:_0x40a947?mi(_0x2dd1a3,_0x11e837):_0x2dd1a3,_0x4ff0d9=_0x2dcf91[_0x3400fc(0x1c0)]-0x1,_0x46cdc0;_0x4ff0d9>=0x0;_0x4ff0d9--)(_0x46cdc0=_0x2dcf91[_0x4ff0d9])&&(_0x1d8eed=_0x46cdc0(_0x1d8eed)||_0x1d8eed);return _0x1d8eed;},Ae=(_0x47795a,_0x5931dd)=>(_0x5e5796,_0x3d8d19)=>_0x5931dd(_0x5e5796,_0x3d8d19,_0x47795a);let ye=class{constructor(_0x2c2723,_0x312f3d,_0x4f308a){var _0x466fa4=_0x1c66a7;this[_0x466fa4(0x26d)]=_0x2c2723,this['_httpService']=_0x312f3d,this[_0x466fa4(0x43e)]=_0x4f308a,this[_0x466fa4(0x145)]();}[_0x1c66a7(0x145)](){var _0x3d9487=_0x1c66a7;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1517dc,_0x5381de)=>_0x5381de(_0x1517dc)[_0x3d9487(0x1a3)]($[_0x3d9487(0x3eb)](async _0x4abf32=>{var _0x2d5afd=_0x3d9487;const _0x2e7bd4=_0x4abf32;if(_0x2e7bd4[_0x2d5afd(0x3ea)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x2d5afd(0x38b)](this[_0x2d5afd(0x43e)]['t']('auth.needGotoLoginAlert'))){const _0x156959=window[_0x2d5afd(0x3fb)](window[_0x2d5afd(0x389)]['href']);window[_0x2d5afd(0x389)]['href']=this[_0x2d5afd(0x1a5)]()+_0x2d5afd(0x3ab)+_0x156959;}}return _0x2e7bd4;}))});}[_0x1c66a7(0x1a5)](){var _0x45a8ee=_0x1c66a7,_0x3376ca,_0x517601;const _0x4b4e97=this[_0x45a8ee(0x26d)]['getConfig'](It),_0x4b3ce3=this[_0x45a8ee(0x26d)][_0x45a8ee(0x3b7)](K);return(_0x517601=(_0x3376ca=_0x4b3ce3==null?void 0x0:_0x4b3ce3[_0x45a8ee(0x45a)])!=null?_0x3376ca:_0x4b4e97)!=null?_0x517601:Wt;}};ye=Ci([Ae(0x0,a[_0x1c66a7(0x33a)]),Ae(0x1,a['Inject'](Y[_0x1c66a7(0x322)])),Ae(0x2,a[_0x1c66a7(0x1a6)](a['LocaleService']))],ye);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x4b015b,_0x10a3d5,_0x4d7f1f,_0x291ae5)=>{var _0xfd1496=_0x1c66a7;for(var _0x3eaf60=_0x291ae5>0x1?void 0x0:_0x291ae5?Ti(_0x10a3d5,_0x4d7f1f):_0x10a3d5,_0x3d906a=_0x4b015b[_0xfd1496(0x1c0)]-0x1,_0x56925a;_0x3d906a>=0x0;_0x3d906a--)(_0x56925a=_0x4b015b[_0x3d906a])&&(_0x3eaf60=_0x56925a(_0x3eaf60)||_0x3eaf60);return _0x3eaf60;},qe=(_0x46c158,_0x15c806)=>(_0x450280,_0x1d0710)=>_0x15c806(_0x450280,_0x1d0710,_0x46c158);const Ve=_0x1c66a7(0x23a),Ri=_0x1c66a7(0x3db);exports[_0x1c66a7(0x20e)]=class extends a[_0x1c66a7(0x403)]{constructor(_0x3fe421,_0x46b7b9){var _0x7422f8=_0x1c66a7;super(),this['_HTTPService']=_0x3fe421,this[_0x7422f8(0x26d)]=_0x46b7b9,this[_0x7422f8(0x22a)]();}[_0x1c66a7(0x22a)](){var _0x4e05d3=_0x1c66a7;const _0xe6652f=this;this[_0x4e05d3(0x3f0)](this[_0x4e05d3(0x450)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Y[_0x4e05d3(0x452)]({'isMatch'(_0x48979a){var _0x58c6d8=_0x4e05d3,_0x372a05;if(_0x48979a[_0x58c6d8(0x1b0)]==='POST'&&((_0x372a05=_0x48979a['requestParams'])!=null&&_0x372a05[_0x58c6d8(0x343)])){const {objectID:_0xd22c28,objectType:_0x4caced}=_0x48979a[_0x58c6d8(0x197)][_0x58c6d8(0x343)]||{};if(!_0xd22c28||_0x4caced===void 0x0)return!0x1;const _0x201084=_0xe6652f[_0x58c6d8(0x312)]()+'/'+_0x4caced+'/object/'+_0xd22c28+_0x58c6d8(0x256);if(_0x48979a[_0x58c6d8(0x367)]===_0x201084)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4e0acf){var _0x314773=_0x4e05d3,_0xcdefda;return(_0xcdefda=_0x4e0acf['requestParams'])==null?void 0x0:_0xcdefda[_0x314773(0x343)];},'mergeParamsToRequest'(_0x59a3ad,_0x2b9563){var _0x45bb04=_0x4e05d3;const _0x2e2aa7=_0xe6652f['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x40e348=_0x59a3ad['reduce']((_0xc7ea34,_0x222771)=>{var _0x174dc6=_0x1aa6;const {unitID:_0x5622eb,objectID:_0x1060fe,objectType:_0x4cd841,actions:_0x25e052}=_0x222771;return _0xc7ea34[_0x5622eb]||(_0xc7ea34[_0x5622eb]={}),_0xc7ea34[_0x5622eb][_0x1060fe]||(_0xc7ea34[_0x5622eb][_0x1060fe]={'objectID':_0x1060fe,'objectType':_0x4cd841,'actions':[]}),_0xc7ea34[_0x5622eb][_0x1060fe][_0x174dc6(0x27d)][_0x174dc6(0x421)](..._0x25e052),_0xc7ea34;},{}),_0x5995f4=[];for(const _0x16e7ba in _0x40e348)for(const _0x416630 in _0x40e348[_0x16e7ba]){const {actions:_0xa234f9,objectType:_0x19cfdd}=_0x40e348[_0x16e7ba][_0x416630],_0x1d4d99=[...new Set(_0xa234f9)];_0x5995f4[_0x45bb04(0x421)]({'unitID':_0x16e7ba,'objectID':_0x416630,'objectType':_0x19cfdd,'actions':_0x1d4d99});}return new Y[(_0x45bb04(0x240))](_0x45bb04(0x147),_0x2e2aa7,{'headers':_0x2b9563['headers'],'withCredentials':_0x2b9563[_0x45bb04(0x3bd)],'responseType':_0x2b9563[_0x45bb04(0x22b)],'body':{'requests':_0x5995f4}});}},{'distributeResult'(_0x1f6236,_0x484c76){var _0x31cc20=_0x4e05d3;const {objectActions:_0x591e95}=_0x1f6236;return _0x484c76[_0x31cc20(0x3a1)](_0x25fac3=>{var _0x4070e1=_0x31cc20;const {unitID:_0x436294,objectID:_0x781ec2,actions:_0x1c4656}=_0x25fac3,_0x1637d3=_0x591e95[_0x4070e1(0x274)](_0xff446f=>_0xff446f[_0x4070e1(0x329)]===_0x436294&&_0xff446f[_0x4070e1(0x2a1)]===_0x781ec2),_0x3c60c2=_0x1c4656[_0x4070e1(0x3a1)](_0x250994=>_0x1637d3==null?void 0x0:_0x1637d3[_0x4070e1(0x27d)][_0x4070e1(0x274)](_0x2a047d=>_0x2a047d[_0x4070e1(0x488)]===_0x250994))[_0x4070e1(0x411)](_0x577e1b=>!!_0x577e1b);return{'config':_0x25fac3,'result':{'actions':_0x3c60c2,'error':_0x1f6236[_0x4070e1(0x3b6)]}};});}})}));}[_0x1c66a7(0x312)](){var _0x378b9f=_0x1c66a7,_0x42c2d8,_0x17f032;const _0x4a6721=this[_0x378b9f(0x26d)][_0x378b9f(0x3b7)](Ve),_0x618136=this[_0x378b9f(0x26d)][_0x378b9f(0x3b7)](K);return(_0x17f032=(_0x42c2d8=_0x618136==null?void 0x0:_0x618136[_0x378b9f(0x3d4)])!=null?_0x42c2d8:_0x4a6721)!=null?_0x17f032:Ri;}async['create'](_0x201035){var _0x2d4b6f=_0x1c66a7;const _0x4dc3eb=this[_0x2d4b6f(0x312)]()+'/'+_0x201035[_0x2d4b6f(0x180)]+_0x2d4b6f(0x3b3);return(await this[_0x2d4b6f(0x450)][_0x2d4b6f(0x301)](_0x4dc3eb,{'body':_0x201035}))[_0x2d4b6f(0x343)]['objectID']||'';}async['list'](_0x4ce021){var _0x3917f6=_0x1c66a7;const _0x28e37a=this[_0x3917f6(0x312)]()+_0x3917f6(0x3b4);return(await this[_0x3917f6(0x450)][_0x3917f6(0x301)](_0x28e37a,{'body':_0x4ce021}))[_0x3917f6(0x343)][_0x3917f6(0x222)];}async[_0x1c66a7(0x1fd)](_0x399b8f){var _0x89c3ed=_0x1c66a7,_0x14044e,_0x26d3f2;const _0x12f1f8=this[_0x89c3ed(0x312)]()+'/'+_0x399b8f['objectType']+_0x89c3ed(0x398)+_0x399b8f[_0x89c3ed(0x2a1)],_0x801c58=await this['_HTTPService'][_0x89c3ed(0x475)](_0x12f1f8,{'body':_0x399b8f});if(((_0x26d3f2=(_0x14044e=_0x801c58==null?void 0x0:_0x801c58['body'])==null?void 0x0:_0x14044e[_0x89c3ed(0x3b6)])==null?void 0x0:_0x26d3f2[_0x89c3ed(0x36d)])!==0x1)throw new Error(_0x89c3ed(0x31d));}async[_0x1c66a7(0x429)](_0x71543a){var _0x30ff85=_0x1c66a7;const _0x2613d4=this['_getAPIPrefixPath']()+'/'+_0x71543a[_0x30ff85(0x180)]+_0x30ff85(0x398)+_0x71543a['objectID']+_0x30ff85(0x256);return(await this[_0x30ff85(0x450)][_0x30ff85(0x301)](_0x2613d4,{'body':_0x71543a}))[_0x30ff85(0x343)][_0x30ff85(0x27d)];}async[_0x1c66a7(0x3d0)](_0x150343){var _0x312c27=_0x1c66a7;const _0x2d2a4a=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x312c27(0x450)]['post'](_0x2d2a4a,{'body':{'requests':_0x150343}}))[_0x312c27(0x343)]['objectActions'];}async['listRoles'](_0x4097d7){var _0x4b9edc=_0x1c66a7;const _0x3039b3=this[_0x4b9edc(0x312)]()+'/'+_0x4097d7[_0x4b9edc(0x180)]+_0x4b9edc(0x38d),_0x55ea15=await this[_0x4b9edc(0x450)]['post'](_0x3039b3,{'body':_0x4097d7});return{'roles':_0x55ea15['body'][_0x4b9edc(0x1a4)],'actions':_0x55ea15[_0x4b9edc(0x343)][_0x4b9edc(0x27d)]};}async['deleteCollaborator'](_0x2169bf){var _0x3e0bb0=_0x1c66a7;const _0xca547f=this[_0x3e0bb0(0x312)]()+'/collaborator';await this[_0x3e0bb0(0x450)]['delete'](_0xca547f,{'params':{'collaboratorID':_0x2169bf['collaboratorID'],'objectID':_0x2169bf['objectID'],'unitID':_0x2169bf[_0x3e0bb0(0x329)]}});}async[_0x1c66a7(0x4b2)](_0x21744a){var _0x2145ac=_0x1c66a7;const _0xf917d0=this['_getAPIPrefixPath']()+_0x2145ac(0x3f4);await this[_0x2145ac(0x450)][_0x2145ac(0x1ed)](_0xf917d0,{'body':_0x21744a});}async[_0x1c66a7(0x4bb)](_0x5073a8){var _0x3403f8=_0x1c66a7;const _0x3c4130=this['_getAPIPrefixPath']()+_0x3403f8(0x3f4);await this['_HTTPService'][_0x3403f8(0x301)](_0x3c4130,{'body':_0x5073a8});}async[_0x1c66a7(0x2b2)](_0x5a8fe3){var _0x369028=_0x1c66a7;const _0x162acc=this[_0x369028(0x312)]()+'/collaborator';return(await this[_0x369028(0x450)][_0x369028(0x2ba)](_0x162acc,{'params':{'objectID':_0x5a8fe3[_0x369028(0x2a1)],'unitID':_0x5a8fe3[_0x369028(0x329)]}}))[_0x369028(0x343)][_0x369028(0x395)];}async[_0x1c66a7(0x308)](_0x4d7d9c){var _0x2ffdb5=_0x1c66a7;const _0x4c4de9=this['_getAPIPrefixPath']()+_0x2ffdb5(0x3f4);await this['_HTTPService']['put'](_0x4c4de9,{'body':_0x4d7d9c});}},exports['AuthzIoHttpService']=bi([qe(0x0,a[_0x1c66a7(0x1a6)](Y['HTTPService'])),qe(0x1,a['Inject'](a[_0x1c66a7(0x33a)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x5da96f){var _0x9587d2=_0x1c66a7;return _0x5da96f&&_0x5da96f[_0x9587d2(0x36f)]&&Object[_0x9587d2(0x360)][_0x9587d2(0x439)][_0x9587d2(0x200)](_0x5da96f,'default')?_0x5da96f[_0x9587d2(0x1c4)]:_0x5da96f;}var fe={'exports':{}};function Oi(_0x5b3ee8){var _0x191ba4=_0x1c66a7;throw new Error(_0x191ba4(0x192)+_0x5b3ee8+_0x191ba4(0x141));}var pe={'exports':{}},yi=pe[_0x1c66a7(0x42c)],ze;function Q(){var _0x5a1b7e=_0x1c66a7;return ze||(ze=0x1,function(_0x3d380a,_0x345e9d){(function(_0xf5e217,_0x6d3da3){var _0x5ddf9a=_0x1aa6;_0x3d380a[_0x5ddf9a(0x42c)]=_0x6d3da3();}(yi,function(){var _0x2a7d5b=_0x2a7d5b||function(_0x2f63d1,_0x360d77){var _0x2f4788=_0x1aa6,_0x3aa2f8;if(typeof window<'u'&&window['crypto']&&(_0x3aa2f8=window[_0x2f4788(0x1dd)]),typeof self<'u'&&self[_0x2f4788(0x1dd)]&&(_0x3aa2f8=self[_0x2f4788(0x1dd)]),typeof globalThis<'u'&&globalThis[_0x2f4788(0x1dd)]&&(_0x3aa2f8=globalThis[_0x2f4788(0x1dd)]),!_0x3aa2f8&&typeof window<'u'&&window[_0x2f4788(0x3d7)]&&(_0x3aa2f8=window['msCrypto']),!_0x3aa2f8&&typeof Pe<'u'&&Pe[_0x2f4788(0x1dd)]&&(_0x3aa2f8=Pe['crypto']),!_0x3aa2f8&&typeof Oi=='function')try{_0x3aa2f8=require(_0x2f4788(0x1dd));}catch{}var _0x277d7e=function(){var _0x109875=_0x2f4788;if(_0x3aa2f8){if(typeof _0x3aa2f8[_0x109875(0x46a)]==_0x109875(0x36a))try{return _0x3aa2f8[_0x109875(0x46a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3aa2f8[_0x109875(0x217)]==_0x109875(0x36a))try{return _0x3aa2f8['randomBytes'](0x4)[_0x109875(0x359)]();}catch{}}throw new Error(_0x109875(0x173));},_0x5d494d=Object[_0x2f4788(0x1c1)]||(function(){function _0x587fe3(){}return function(_0x1fdcd4){var _0x17d476=_0x1aa6,_0x4a0aab;return _0x587fe3[_0x17d476(0x360)]=_0x1fdcd4,_0x4a0aab=new _0x587fe3(),_0x587fe3[_0x17d476(0x360)]=null,_0x4a0aab;};}()),_0x1f5c63={},_0x355bfd=_0x1f5c63[_0x2f4788(0x193)]={},_0x5b84d6=_0x355bfd[_0x2f4788(0x14a)]=(function(){return{'extend':function(_0xae27c){var _0x2f0c08=_0x1aa6,_0x17c7ca=_0x5d494d(this);return _0xae27c&&_0x17c7ca['mixIn'](_0xae27c),(!_0x17c7ca[_0x2f0c08(0x439)](_0x2f0c08(0x145))||this['init']===_0x17c7ca[_0x2f0c08(0x145)])&&(_0x17c7ca[_0x2f0c08(0x145)]=function(){var _0x55d1a4=_0x2f0c08;_0x17c7ca[_0x55d1a4(0x236)]['init'][_0x55d1a4(0x18c)](this,arguments);}),_0x17c7ca[_0x2f0c08(0x145)]['prototype']=_0x17c7ca,_0x17c7ca['$super']=this,_0x17c7ca;},'create':function(){var _0x46ba64=_0x1aa6,_0x101c71=this[_0x46ba64(0x30e)]();return _0x101c71['init'][_0x46ba64(0x18c)](_0x101c71,arguments),_0x101c71;},'init':function(){},'mixIn':function(_0x116b04){var _0x285ce5=_0x1aa6;for(var _0x5eb548 in _0x116b04)_0x116b04[_0x285ce5(0x439)](_0x5eb548)&&(this[_0x5eb548]=_0x116b04[_0x5eb548]);_0x116b04[_0x285ce5(0x439)](_0x285ce5(0x21d))&&(this[_0x285ce5(0x21d)]=_0x116b04[_0x285ce5(0x21d)]);},'clone':function(){var _0x3c5d86=_0x1aa6;return this['init'][_0x3c5d86(0x360)]['extend'](this);}};}()),_0x56ba2f=_0x355bfd[_0x2f4788(0x3da)]=_0x5b84d6[_0x2f4788(0x30e)]({'init':function(_0x3de5b4,_0x3d974e){var _0x48a207=_0x2f4788;_0x3de5b4=this[_0x48a207(0x497)]=_0x3de5b4||[],_0x3d974e!=_0x360d77?this[_0x48a207(0x211)]=_0x3d974e:this[_0x48a207(0x211)]=_0x3de5b4['length']*0x4;},'toString':function(_0x1135ab){var _0x38f1bf=_0x2f4788;return(_0x1135ab||_0x1fbf70)[_0x38f1bf(0x32c)](this);},'concat':function(_0x34c69e){var _0x1a1eb2=_0x2f4788,_0x2c4005=this[_0x1a1eb2(0x497)],_0x5d8f2e=_0x34c69e[_0x1a1eb2(0x497)],_0x1c8766=this[_0x1a1eb2(0x211)],_0x546330=_0x34c69e[_0x1a1eb2(0x211)];if(this[_0x1a1eb2(0x2cb)](),_0x1c8766%0x4)for(var _0x825842=0x0;_0x825842<_0x546330;_0x825842++){var _0x2dafaa=_0x5d8f2e[_0x825842>>>0x2]>>>0x18-_0x825842%0x4*0x8&0xff;_0x2c4005[_0x1c8766+_0x825842>>>0x2]|=_0x2dafaa<<0x18-(_0x1c8766+_0x825842)%0x4*0x8;}else{for(var _0x360ed1=0x0;_0x360ed1<_0x546330;_0x360ed1+=0x4)_0x2c4005[_0x1c8766+_0x360ed1>>>0x2]=_0x5d8f2e[_0x360ed1>>>0x2];}return this[_0x1a1eb2(0x211)]+=_0x546330,this;},'clamp':function(){var _0x3c23f2=_0x2f4788,_0x3688a5=this[_0x3c23f2(0x497)],_0x6daedc=this['sigBytes'];_0x3688a5[_0x6daedc>>>0x2]&=0xffffffff<<0x20-_0x6daedc%0x4*0x8,_0x3688a5[_0x3c23f2(0x1c0)]=_0x2f63d1[_0x3c23f2(0x16d)](_0x6daedc/0x4);},'clone':function(){var _0x28e70f=_0x2f4788,_0xed8b65=_0x5b84d6[_0x28e70f(0x300)][_0x28e70f(0x200)](this);return _0xed8b65[_0x28e70f(0x497)]=this['words'][_0x28e70f(0x216)](0x0),_0xed8b65;},'random':function(_0x18d97e){var _0x24fcbb=_0x2f4788;for(var _0x365fb7=[],_0x201241=0x0;_0x201241<_0x18d97e;_0x201241+=0x4)_0x365fb7[_0x24fcbb(0x421)](_0x277d7e());return new _0x56ba2f[(_0x24fcbb(0x145))](_0x365fb7,_0x18d97e);}}),_0x4de860=_0x1f5c63[_0x2f4788(0x416)]={},_0x1fbf70=_0x4de860['Hex']={'stringify':function(_0x31a71d){var _0x2a2fa3=_0x2f4788;for(var _0x179cad=_0x31a71d['words'],_0x548b31=_0x31a71d['sigBytes'],_0x55d15d=[],_0x3e136a=0x0;_0x3e136a<_0x548b31;_0x3e136a++){var _0x24a911=_0x179cad[_0x3e136a>>>0x2]>>>0x18-_0x3e136a%0x4*0x8&0xff;_0x55d15d[_0x2a2fa3(0x421)]((_0x24a911>>>0x4)[_0x2a2fa3(0x21d)](0x10)),_0x55d15d['push']((_0x24a911&0xf)[_0x2a2fa3(0x21d)](0x10));}return _0x55d15d[_0x2a2fa3(0x2a6)]('');},'parse':function(_0x4d897c){var _0x10259a=_0x2f4788;for(var _0x20b2e6=_0x4d897c[_0x10259a(0x1c0)],_0x4b01d7=[],_0x2b6333=0x0;_0x2b6333<_0x20b2e6;_0x2b6333+=0x2)_0x4b01d7[_0x2b6333>>>0x3]|=parseInt(_0x4d897c['substr'](_0x2b6333,0x2),0x10)<<0x18-_0x2b6333%0x8*0x4;return new _0x56ba2f[(_0x10259a(0x145))](_0x4b01d7,_0x20b2e6/0x2);}},_0x4e2a16=_0x4de860[_0x2f4788(0x353)]={'stringify':function(_0x29a37d){var _0x73110b=_0x2f4788;for(var _0x48a687=_0x29a37d['words'],_0x23d75b=_0x29a37d['sigBytes'],_0x434725=[],_0x13c0e2=0x0;_0x13c0e2<_0x23d75b;_0x13c0e2++){var _0x3b6776=_0x48a687[_0x13c0e2>>>0x2]>>>0x18-_0x13c0e2%0x4*0x8&0xff;_0x434725[_0x73110b(0x421)](String[_0x73110b(0x307)](_0x3b6776));}return _0x434725[_0x73110b(0x2a6)]('');},'parse':function(_0x352487){var _0x2ab064=_0x2f4788;for(var _0x2e8929=_0x352487[_0x2ab064(0x1c0)],_0x51cf51=[],_0x52f977=0x0;_0x52f977<_0x2e8929;_0x52f977++)_0x51cf51[_0x52f977>>>0x2]|=(_0x352487[_0x2ab064(0x258)](_0x52f977)&0xff)<<0x18-_0x52f977%0x4*0x8;return new _0x56ba2f['init'](_0x51cf51,_0x2e8929);}},_0x2df421=_0x4de860[_0x2f4788(0x166)]={'stringify':function(_0x2dc751){var _0x3cfd94=_0x2f4788;try{return decodeURIComponent(escape(_0x4e2a16[_0x3cfd94(0x32c)](_0x2dc751)));}catch{throw new Error(_0x3cfd94(0x1ba));}},'parse':function(_0x515ca0){var _0x39faf8=_0x2f4788;return _0x4e2a16[_0x39faf8(0x314)](unescape(encodeURIComponent(_0x515ca0)));}},_0x5ed631=_0x355bfd[_0x2f4788(0x16e)]=_0x5b84d6['extend']({'reset':function(){var _0x27a0b7=_0x2f4788;this['_data']=new _0x56ba2f[(_0x27a0b7(0x145))](),this[_0x27a0b7(0x1d4)]=0x0;},'_append':function(_0x4b3d13){var _0x3cef1d=_0x2f4788;typeof _0x4b3d13=='string'&&(_0x4b3d13=_0x2df421['parse'](_0x4b3d13)),this[_0x3cef1d(0x209)][_0x3cef1d(0x1b5)](_0x4b3d13),this['_nDataBytes']+=_0x4b3d13[_0x3cef1d(0x211)];},'_process':function(_0x50b3bb){var _0x2d2ce4=_0x2f4788,_0x3eac92,_0x3429ca=this[_0x2d2ce4(0x209)],_0xc0b422=_0x3429ca[_0x2d2ce4(0x497)],_0x448c51=_0x3429ca[_0x2d2ce4(0x211)],_0x267854=this['blockSize'],_0x18588d=_0x267854*0x4,_0x4ad50a=_0x448c51/_0x18588d;_0x50b3bb?_0x4ad50a=_0x2f63d1[_0x2d2ce4(0x16d)](_0x4ad50a):_0x4ad50a=_0x2f63d1[_0x2d2ce4(0x38e)]((_0x4ad50a|0x0)-this[_0x2d2ce4(0x425)],0x0);var _0x4e1a1a=_0x4ad50a*_0x267854,_0x14c071=_0x2f63d1['min'](_0x4e1a1a*0x4,_0x448c51);if(_0x4e1a1a){for(var _0x4e75fa=0x0;_0x4e75fa<_0x4e1a1a;_0x4e75fa+=_0x267854)this[_0x2d2ce4(0x419)](_0xc0b422,_0x4e75fa);_0x3eac92=_0xc0b422[_0x2d2ce4(0x4bc)](0x0,_0x4e1a1a),_0x3429ca[_0x2d2ce4(0x211)]-=_0x14c071;}return new _0x56ba2f[(_0x2d2ce4(0x145))](_0x3eac92,_0x14c071);},'clone':function(){var _0x44819b=_0x2f4788,_0x37c7d4=_0x5b84d6[_0x44819b(0x300)]['call'](this);return _0x37c7d4['_data']=this[_0x44819b(0x209)][_0x44819b(0x300)](),_0x37c7d4;},'_minBufferSize':0x0});_0x355bfd[_0x2f4788(0x4a3)]=_0x5ed631[_0x2f4788(0x30e)]({'cfg':_0x5b84d6['extend'](),'init':function(_0xb498f1){var _0x41b7c6=_0x2f4788;this[_0x41b7c6(0x34b)]=this[_0x41b7c6(0x34b)][_0x41b7c6(0x30e)](_0xb498f1),this[_0x41b7c6(0x218)]();},'reset':function(){var _0x26cd6d=_0x2f4788;_0x5ed631['reset'][_0x26cd6d(0x200)](this),this[_0x26cd6d(0x319)]();},'update':function(_0x4f2dc1){var _0x4fce64=_0x2f4788;return this['_append'](_0x4f2dc1),this[_0x4fce64(0x153)](),this;},'finalize':function(_0x482e20){var _0x608f9b=_0x2f4788;_0x482e20&&this[_0x608f9b(0x14c)](_0x482e20);var _0x155c15=this['_doFinalize']();return _0x155c15;},'blockSize':0x10,'_createHelper':function(_0x2ca35d){return function(_0x165de7,_0x356aa4){var _0x3772df=_0x1aa6;return new _0x2ca35d[(_0x3772df(0x145))](_0x356aa4)[_0x3772df(0x2f8)](_0x165de7);};},'_createHmacHelper':function(_0x35684d){return function(_0x3f26b0,_0x4fd9fe){var _0x37cd47=_0x1aa6;return new _0x254c00[(_0x37cd47(0x266))]['init'](_0x35684d,_0x4fd9fe)[_0x37cd47(0x2f8)](_0x3f26b0);};}});var _0x254c00=_0x1f5c63[_0x2f4788(0x3e4)]={};return _0x1f5c63;}(Math);return _0x2a7d5b;}));}(pe)),pe[_0x5a1b7e(0x42c)];}var Ie={'exports':{}},Ni=Ie[_0x1c66a7(0x42c)],Je;function yt(){var _0x46d5a1=_0x1c66a7;return Je||(Je=0x1,function(_0x1a9d7c,_0x52f3c6){(function(_0x382d55,_0x317087){var _0x11f222=_0x1aa6;_0x1a9d7c[_0x11f222(0x42c)]=_0x317087(Q());}(Ni,function(_0x104bbc){var _0x1d7056=_0x1aa6;return(function(){var _0x4fd266=_0x1aa6,_0x55c300=_0x104bbc,_0x18ea12=_0x55c300[_0x4fd266(0x193)],_0x148e43=_0x18ea12['WordArray'],_0x443ba0=_0x55c300[_0x4fd266(0x416)];_0x443ba0[_0x4fd266(0x3e8)]={'stringify':function(_0x3d98be){var _0x424db2=_0x4fd266,_0x486f13=_0x3d98be[_0x424db2(0x497)],_0x2b3cec=_0x3d98be[_0x424db2(0x211)],_0x2254f0=this[_0x424db2(0x2b9)];_0x3d98be[_0x424db2(0x2cb)]();for(var _0x30d404=[],_0x5ec689=0x0;_0x5ec689<_0x2b3cec;_0x5ec689+=0x3)for(var _0x753d7=_0x486f13[_0x5ec689>>>0x2]>>>0x18-_0x5ec689%0x4*0x8&0xff,_0x92ea3e=_0x486f13[_0x5ec689+0x1>>>0x2]>>>0x18-(_0x5ec689+0x1)%0x4*0x8&0xff,_0x192922=_0x486f13[_0x5ec689+0x2>>>0x2]>>>0x18-(_0x5ec689+0x2)%0x4*0x8&0xff,_0x57b1b8=_0x753d7<<0x10|_0x92ea3e<<0x8|_0x192922,_0x3cceff=0x0;_0x3cceff<0x4&&_0x5ec689+_0x3cceff*0.75<_0x2b3cec;_0x3cceff++)_0x30d404[_0x424db2(0x421)](_0x2254f0[_0x424db2(0x155)](_0x57b1b8>>>0x6*(0x3-_0x3cceff)&0x3f));var _0x16be4a=_0x2254f0[_0x424db2(0x155)](0x40);if(_0x16be4a){for(;_0x30d404[_0x424db2(0x1c0)]%0x4;)_0x30d404['push'](_0x16be4a);}return _0x30d404[_0x424db2(0x2a6)]('');},'parse':function(_0x3347de){var _0x179f5e=_0x4fd266,_0xa4108a=_0x3347de[_0x179f5e(0x1c0)],_0xcc8c2b=this[_0x179f5e(0x2b9)],_0x3e89c2=this['_reverseMap'];if(!_0x3e89c2){_0x3e89c2=this[_0x179f5e(0x3bc)]=[];for(var _0x477dcc=0x0;_0x477dcc<_0xcc8c2b[_0x179f5e(0x1c0)];_0x477dcc++)_0x3e89c2[_0xcc8c2b[_0x179f5e(0x258)](_0x477dcc)]=_0x477dcc;}var _0x56f2fe=_0xcc8c2b[_0x179f5e(0x155)](0x40);if(_0x56f2fe){var _0x487830=_0x3347de[_0x179f5e(0x259)](_0x56f2fe);_0x487830!==-0x1&&(_0xa4108a=_0x487830);}return _0x2efc65(_0x3347de,_0xa4108a,_0x3e89c2);},'_map':_0x4fd266(0x241)};function _0x2efc65(_0x45e5bc,_0xe05cd,_0x1e25a3){var _0x2b2e21=_0x4fd266;for(var _0x1b2528=[],_0x2ce43c=0x0,_0x28cd39=0x0;_0x28cd39<_0xe05cd;_0x28cd39++)if(_0x28cd39%0x4){var _0x1e92bf=_0x1e25a3[_0x45e5bc['charCodeAt'](_0x28cd39-0x1)]<<_0x28cd39%0x4*0x2,_0x25077f=_0x1e25a3[_0x45e5bc[_0x2b2e21(0x258)](_0x28cd39)]>>>0x6-_0x28cd39%0x4*0x2,_0x3045a8=_0x1e92bf|_0x25077f;_0x1b2528[_0x2ce43c>>>0x2]|=_0x3045a8<<0x18-_0x2ce43c%0x4*0x8,_0x2ce43c++;}return _0x148e43[_0x2b2e21(0x1c1)](_0x1b2528,_0x2ce43c);}}()),_0x104bbc[_0x1d7056(0x416)]['Base64'];}));}(Ie)),Ie[_0x46d5a1(0x42c)];}var ge={'exports':{}},Ui=ge[_0x1c66a7(0x42c)],Xe;function Di(){var _0x83729e=_0x1c66a7;return Xe||(Xe=0x1,function(_0x286af9,_0x4bb773){(function(_0x2b6b7f,_0x4c3ea7){_0x286af9['exports']=_0x4c3ea7(Q());}(Ui,function(_0x1dc57d){return function(_0x582afc){var _0x25550f=_0x1aa6,_0x5c5e0c=_0x1dc57d,_0x40489f=_0x5c5e0c[_0x25550f(0x193)],_0x315ec4=_0x40489f[_0x25550f(0x3da)],_0xe03513=_0x40489f[_0x25550f(0x4a3)],_0x35a49e=_0x5c5e0c[_0x25550f(0x3e4)],_0x29f341=[];(function(){var _0x25b046=_0x25550f;for(var _0x1c2c4f=0x0;_0x1c2c4f<0x40;_0x1c2c4f++)_0x29f341[_0x1c2c4f]=_0x582afc[_0x25b046(0x394)](_0x582afc[_0x25b046(0x3fd)](_0x1c2c4f+0x1))*0x100000000|0x0;}());var _0x3dcf69=_0x35a49e[_0x25550f(0x27f)]=_0xe03513[_0x25550f(0x30e)]({'_doReset':function(){var _0x342950=_0x25550f;this['_hash']=new _0x315ec4[(_0x342950(0x145))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x23f75c,_0xcd49fd){var _0x41fbee=_0x25550f;for(var _0x12fc09=0x0;_0x12fc09<0x10;_0x12fc09++){var _0x3b2cdc=_0xcd49fd+_0x12fc09,_0xa8519f=_0x23f75c[_0x3b2cdc];_0x23f75c[_0x3b2cdc]=(_0xa8519f<<0x8|_0xa8519f>>>0x18)&0xff00ff|(_0xa8519f<<0x18|_0xa8519f>>>0x8)&0xff00ff00;}var _0x35e494=this[_0x41fbee(0x438)][_0x41fbee(0x497)],_0x15dffb=_0x23f75c[_0xcd49fd+0x0],_0x493514=_0x23f75c[_0xcd49fd+0x1],_0x1dbf87=_0x23f75c[_0xcd49fd+0x2],_0xf3aad3=_0x23f75c[_0xcd49fd+0x3],_0xf251b7=_0x23f75c[_0xcd49fd+0x4],_0x25d5fe=_0x23f75c[_0xcd49fd+0x5],_0x4880ce=_0x23f75c[_0xcd49fd+0x6],_0x5ac60b=_0x23f75c[_0xcd49fd+0x7],_0x1b5b75=_0x23f75c[_0xcd49fd+0x8],_0x2a8f7e=_0x23f75c[_0xcd49fd+0x9],_0x1d901b=_0x23f75c[_0xcd49fd+0xa],_0xc95960=_0x23f75c[_0xcd49fd+0xb],_0x3f3305=_0x23f75c[_0xcd49fd+0xc],_0x2fe91c=_0x23f75c[_0xcd49fd+0xd],_0x83e218=_0x23f75c[_0xcd49fd+0xe],_0x40e069=_0x23f75c[_0xcd49fd+0xf],_0x1ffc4a=_0x35e494[0x0],_0x264548=_0x35e494[0x1],_0x16645a=_0x35e494[0x2],_0x15ff53=_0x35e494[0x3];_0x1ffc4a=_0x452438(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x15dffb,0x7,_0x29f341[0x0]),_0x15ff53=_0x452438(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x493514,0xc,_0x29f341[0x1]),_0x16645a=_0x452438(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x1dbf87,0x11,_0x29f341[0x2]),_0x264548=_0x452438(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0xf3aad3,0x16,_0x29f341[0x3]),_0x1ffc4a=_0x452438(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0xf251b7,0x7,_0x29f341[0x4]),_0x15ff53=_0x452438(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x25d5fe,0xc,_0x29f341[0x5]),_0x16645a=_0x452438(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x4880ce,0x11,_0x29f341[0x6]),_0x264548=_0x452438(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x5ac60b,0x16,_0x29f341[0x7]),_0x1ffc4a=_0x452438(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x1b5b75,0x7,_0x29f341[0x8]),_0x15ff53=_0x452438(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x2a8f7e,0xc,_0x29f341[0x9]),_0x16645a=_0x452438(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x1d901b,0x11,_0x29f341[0xa]),_0x264548=_0x452438(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0xc95960,0x16,_0x29f341[0xb]),_0x1ffc4a=_0x452438(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x3f3305,0x7,_0x29f341[0xc]),_0x15ff53=_0x452438(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x2fe91c,0xc,_0x29f341[0xd]),_0x16645a=_0x452438(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x83e218,0x11,_0x29f341[0xe]),_0x264548=_0x452438(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x40e069,0x16,_0x29f341[0xf]),_0x1ffc4a=_0x55a9b1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x493514,0x5,_0x29f341[0x10]),_0x15ff53=_0x55a9b1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x4880ce,0x9,_0x29f341[0x11]),_0x16645a=_0x55a9b1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0xc95960,0xe,_0x29f341[0x12]),_0x264548=_0x55a9b1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x15dffb,0x14,_0x29f341[0x13]),_0x1ffc4a=_0x55a9b1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x25d5fe,0x5,_0x29f341[0x14]),_0x15ff53=_0x55a9b1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x1d901b,0x9,_0x29f341[0x15]),_0x16645a=_0x55a9b1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x40e069,0xe,_0x29f341[0x16]),_0x264548=_0x55a9b1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0xf251b7,0x14,_0x29f341[0x17]),_0x1ffc4a=_0x55a9b1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x2a8f7e,0x5,_0x29f341[0x18]),_0x15ff53=_0x55a9b1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x83e218,0x9,_0x29f341[0x19]),_0x16645a=_0x55a9b1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0xf3aad3,0xe,_0x29f341[0x1a]),_0x264548=_0x55a9b1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x1b5b75,0x14,_0x29f341[0x1b]),_0x1ffc4a=_0x55a9b1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x2fe91c,0x5,_0x29f341[0x1c]),_0x15ff53=_0x55a9b1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x1dbf87,0x9,_0x29f341[0x1d]),_0x16645a=_0x55a9b1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x5ac60b,0xe,_0x29f341[0x1e]),_0x264548=_0x55a9b1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x3f3305,0x14,_0x29f341[0x1f]),_0x1ffc4a=_0x1d8d71(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x25d5fe,0x4,_0x29f341[0x20]),_0x15ff53=_0x1d8d71(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x1b5b75,0xb,_0x29f341[0x21]),_0x16645a=_0x1d8d71(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0xc95960,0x10,_0x29f341[0x22]),_0x264548=_0x1d8d71(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x83e218,0x17,_0x29f341[0x23]),_0x1ffc4a=_0x1d8d71(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x493514,0x4,_0x29f341[0x24]),_0x15ff53=_0x1d8d71(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0xf251b7,0xb,_0x29f341[0x25]),_0x16645a=_0x1d8d71(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x5ac60b,0x10,_0x29f341[0x26]),_0x264548=_0x1d8d71(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x1d901b,0x17,_0x29f341[0x27]),_0x1ffc4a=_0x1d8d71(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x2fe91c,0x4,_0x29f341[0x28]),_0x15ff53=_0x1d8d71(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x15dffb,0xb,_0x29f341[0x29]),_0x16645a=_0x1d8d71(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0xf3aad3,0x10,_0x29f341[0x2a]),_0x264548=_0x1d8d71(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x4880ce,0x17,_0x29f341[0x2b]),_0x1ffc4a=_0x1d8d71(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x2a8f7e,0x4,_0x29f341[0x2c]),_0x15ff53=_0x1d8d71(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x3f3305,0xb,_0x29f341[0x2d]),_0x16645a=_0x1d8d71(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x40e069,0x10,_0x29f341[0x2e]),_0x264548=_0x1d8d71(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x1dbf87,0x17,_0x29f341[0x2f]),_0x1ffc4a=_0x2464e1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x15dffb,0x6,_0x29f341[0x30]),_0x15ff53=_0x2464e1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x5ac60b,0xa,_0x29f341[0x31]),_0x16645a=_0x2464e1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x83e218,0xf,_0x29f341[0x32]),_0x264548=_0x2464e1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x25d5fe,0x15,_0x29f341[0x33]),_0x1ffc4a=_0x2464e1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x3f3305,0x6,_0x29f341[0x34]),_0x15ff53=_0x2464e1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0xf3aad3,0xa,_0x29f341[0x35]),_0x16645a=_0x2464e1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x1d901b,0xf,_0x29f341[0x36]),_0x264548=_0x2464e1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x493514,0x15,_0x29f341[0x37]),_0x1ffc4a=_0x2464e1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0x1b5b75,0x6,_0x29f341[0x38]),_0x15ff53=_0x2464e1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0x40e069,0xa,_0x29f341[0x39]),_0x16645a=_0x2464e1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x4880ce,0xf,_0x29f341[0x3a]),_0x264548=_0x2464e1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x2fe91c,0x15,_0x29f341[0x3b]),_0x1ffc4a=_0x2464e1(_0x1ffc4a,_0x264548,_0x16645a,_0x15ff53,_0xf251b7,0x6,_0x29f341[0x3c]),_0x15ff53=_0x2464e1(_0x15ff53,_0x1ffc4a,_0x264548,_0x16645a,_0xc95960,0xa,_0x29f341[0x3d]),_0x16645a=_0x2464e1(_0x16645a,_0x15ff53,_0x1ffc4a,_0x264548,_0x1dbf87,0xf,_0x29f341[0x3e]),_0x264548=_0x2464e1(_0x264548,_0x16645a,_0x15ff53,_0x1ffc4a,_0x2a8f7e,0x15,_0x29f341[0x3f]),_0x35e494[0x0]=_0x35e494[0x0]+_0x1ffc4a|0x0,_0x35e494[0x1]=_0x35e494[0x1]+_0x264548|0x0,_0x35e494[0x2]=_0x35e494[0x2]+_0x16645a|0x0,_0x35e494[0x3]=_0x35e494[0x3]+_0x15ff53|0x0;},'_doFinalize':function(){var _0x9a02bc=_0x25550f,_0x4a4fd6=this[_0x9a02bc(0x209)],_0x29b9d3=_0x4a4fd6['words'],_0x561842=this[_0x9a02bc(0x1d4)]*0x8,_0x3a2040=_0x4a4fd6['sigBytes']*0x8;_0x29b9d3[_0x3a2040>>>0x5]|=0x80<<0x18-_0x3a2040%0x20;var _0x54e3d1=_0x582afc[_0x9a02bc(0x2da)](_0x561842/0x100000000),_0x31c108=_0x561842;_0x29b9d3[(_0x3a2040+0x40>>>0x9<<0x4)+0xf]=(_0x54e3d1<<0x8|_0x54e3d1>>>0x18)&0xff00ff|(_0x54e3d1<<0x18|_0x54e3d1>>>0x8)&0xff00ff00,_0x29b9d3[(_0x3a2040+0x40>>>0x9<<0x4)+0xe]=(_0x31c108<<0x8|_0x31c108>>>0x18)&0xff00ff|(_0x31c108<<0x18|_0x31c108>>>0x8)&0xff00ff00,_0x4a4fd6[_0x9a02bc(0x211)]=(_0x29b9d3['length']+0x1)*0x4,this['_process']();for(var _0x565b16=this[_0x9a02bc(0x438)],_0x58182a=_0x565b16['words'],_0x51b708=0x0;_0x51b708<0x4;_0x51b708++){var _0x2c8857=_0x58182a[_0x51b708];_0x58182a[_0x51b708]=(_0x2c8857<<0x8|_0x2c8857>>>0x18)&0xff00ff|(_0x2c8857<<0x18|_0x2c8857>>>0x8)&0xff00ff00;}return _0x565b16;},'clone':function(){var _0x1bc4fc=_0x25550f,_0x2985a4=_0xe03513[_0x1bc4fc(0x300)]['call'](this);return _0x2985a4[_0x1bc4fc(0x438)]=this[_0x1bc4fc(0x438)]['clone'](),_0x2985a4;}});function _0x452438(_0x7a1f5e,_0x33fa99,_0x5b21d6,_0x40750f,_0x2ec88b,_0x19f12f,_0x1dec33){var _0xcce55e=_0x7a1f5e+(_0x33fa99&_0x5b21d6|~_0x33fa99&_0x40750f)+_0x2ec88b+_0x1dec33;return(_0xcce55e<<_0x19f12f|_0xcce55e>>>0x20-_0x19f12f)+_0x33fa99;}function _0x55a9b1(_0x3ee16d,_0x32e962,_0x5caa04,_0x10fc08,_0x1c5c12,_0x23391e,_0x1e00f0){var _0x46e480=_0x3ee16d+(_0x32e962&_0x10fc08|_0x5caa04&~_0x10fc08)+_0x1c5c12+_0x1e00f0;return(_0x46e480<<_0x23391e|_0x46e480>>>0x20-_0x23391e)+_0x32e962;}function _0x1d8d71(_0x2f1dc5,_0x6fb6ff,_0x195285,_0xc0a17a,_0x2eeeb3,_0x179cd7,_0x531c2f){var _0x329ab4=_0x2f1dc5+(_0x6fb6ff^_0x195285^_0xc0a17a)+_0x2eeeb3+_0x531c2f;return(_0x329ab4<<_0x179cd7|_0x329ab4>>>0x20-_0x179cd7)+_0x6fb6ff;}function _0x2464e1(_0x37977f,_0xa5ddf8,_0x59fe46,_0x3670fe,_0x989566,_0x140627,_0x471fa9){var _0x5a84e6=_0x37977f+(_0x59fe46^(_0xa5ddf8|~_0x3670fe))+_0x989566+_0x471fa9;return(_0x5a84e6<<_0x140627|_0x5a84e6>>>0x20-_0x140627)+_0xa5ddf8;}_0x5c5e0c[_0x25550f(0x27f)]=_0xe03513[_0x25550f(0x2ff)](_0x3dcf69),_0x5c5e0c[_0x25550f(0x17c)]=_0xe03513[_0x25550f(0x205)](_0x3dcf69);}(Math),_0x1dc57d['MD5'];}));}(ge)),ge[_0x83729e(0x42c)];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){var _0x2574df=_0x1c66a7;return Ze||(Ze=0x1,function(_0x2117ed,_0x116840){(function(_0x1d0ede,_0x4fc104){_0x2117ed['exports']=_0x4fc104(Q());}(Ai,function(_0x5e9d3c){var _0x5b6818=_0x1aa6;return(function(){var _0x76fcb7=_0x1aa6,_0x1017ea=_0x5e9d3c,_0x3de956=_0x1017ea[_0x76fcb7(0x193)],_0x4e7eeb=_0x3de956[_0x76fcb7(0x3da)],_0x1d20a9=_0x3de956[_0x76fcb7(0x4a3)],_0x1380e8=_0x1017ea[_0x76fcb7(0x3e4)],_0x44b6f3=[],_0x4ec814=_0x1380e8[_0x76fcb7(0x183)]=_0x1d20a9[_0x76fcb7(0x30e)]({'_doReset':function(){this['_hash']=new _0x4e7eeb['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xf0d982,_0x3410a6){var _0x1771fd=_0x76fcb7;for(var _0x40af05=this[_0x1771fd(0x438)]['words'],_0x1c3eec=_0x40af05[0x0],_0x46a5fa=_0x40af05[0x1],_0x33f7f2=_0x40af05[0x2],_0x24e151=_0x40af05[0x3],_0xeb2315=_0x40af05[0x4],_0x50a93a=0x0;_0x50a93a<0x50;_0x50a93a++){if(_0x50a93a<0x10)_0x44b6f3[_0x50a93a]=_0xf0d982[_0x3410a6+_0x50a93a]|0x0;else{var _0x4b4fd4=_0x44b6f3[_0x50a93a-0x3]^_0x44b6f3[_0x50a93a-0x8]^_0x44b6f3[_0x50a93a-0xe]^_0x44b6f3[_0x50a93a-0x10];_0x44b6f3[_0x50a93a]=_0x4b4fd4<<0x1|_0x4b4fd4>>>0x1f;}var _0x6b304b=(_0x1c3eec<<0x5|_0x1c3eec>>>0x1b)+_0xeb2315+_0x44b6f3[_0x50a93a];_0x50a93a<0x14?_0x6b304b+=(_0x46a5fa&_0x33f7f2|~_0x46a5fa&_0x24e151)+0x5a827999:_0x50a93a<0x28?_0x6b304b+=(_0x46a5fa^_0x33f7f2^_0x24e151)+0x6ed9eba1:_0x50a93a<0x3c?_0x6b304b+=(_0x46a5fa&_0x33f7f2|_0x46a5fa&_0x24e151|_0x33f7f2&_0x24e151)-0x70e44324:_0x6b304b+=(_0x46a5fa^_0x33f7f2^_0x24e151)-0x359d3e2a,_0xeb2315=_0x24e151,_0x24e151=_0x33f7f2,_0x33f7f2=_0x46a5fa<<0x1e|_0x46a5fa>>>0x2,_0x46a5fa=_0x1c3eec,_0x1c3eec=_0x6b304b;}_0x40af05[0x0]=_0x40af05[0x0]+_0x1c3eec|0x0,_0x40af05[0x1]=_0x40af05[0x1]+_0x46a5fa|0x0,_0x40af05[0x2]=_0x40af05[0x2]+_0x33f7f2|0x0,_0x40af05[0x3]=_0x40af05[0x3]+_0x24e151|0x0,_0x40af05[0x4]=_0x40af05[0x4]+_0xeb2315|0x0;},'_doFinalize':function(){var _0x2033e0=_0x76fcb7,_0x578dfd=this[_0x2033e0(0x209)],_0x401d87=_0x578dfd[_0x2033e0(0x497)],_0xfe4f97=this[_0x2033e0(0x1d4)]*0x8,_0x2fa017=_0x578dfd['sigBytes']*0x8;return _0x401d87[_0x2fa017>>>0x5]|=0x80<<0x18-_0x2fa017%0x20,_0x401d87[(_0x2fa017+0x40>>>0x9<<0x4)+0xe]=Math[_0x2033e0(0x2da)](_0xfe4f97/0x100000000),_0x401d87[(_0x2fa017+0x40>>>0x9<<0x4)+0xf]=_0xfe4f97,_0x578dfd['sigBytes']=_0x401d87[_0x2033e0(0x1c0)]*0x4,this['_process'](),this[_0x2033e0(0x438)];},'clone':function(){var _0x290f42=_0x76fcb7,_0x27593e=_0x1d20a9[_0x290f42(0x300)][_0x290f42(0x200)](this);return _0x27593e[_0x290f42(0x438)]=this[_0x290f42(0x438)][_0x290f42(0x300)](),_0x27593e;}});_0x1017ea[_0x76fcb7(0x183)]=_0x1d20a9[_0x76fcb7(0x2ff)](_0x4ec814),_0x1017ea['HmacSHA1']=_0x1d20a9[_0x76fcb7(0x205)](_0x4ec814);}()),_0x5e9d3c[_0x5b6818(0x183)];}));}(me)),me[_0x2574df(0x42c)];}var Ce={'exports':{}},wi=Ce[_0x1c66a7(0x42c)],Qe;function Li(){var _0x33d79d=_0x1c66a7;return Qe||(Qe=0x1,function(_0x344457,_0x924cea){(function(_0x3223c9,_0x3e81a5){var _0x3940fb=_0x1aa6;_0x344457[_0x3940fb(0x42c)]=_0x3e81a5(Q());}(wi,function(_0xba0c5e){(function(){var _0x534aea=_0x1aa6,_0x4645b4=_0xba0c5e,_0x307b4e=_0x4645b4[_0x534aea(0x193)],_0x3310a8=_0x307b4e[_0x534aea(0x14a)],_0xd0b940=_0x4645b4[_0x534aea(0x416)],_0x58eaf0=_0xd0b940[_0x534aea(0x166)],_0x414ff5=_0x4645b4[_0x534aea(0x3e4)];_0x414ff5[_0x534aea(0x266)]=_0x3310a8['extend']({'init':function(_0x184578,_0x1d079f){var _0x5ba096=_0x534aea;_0x184578=this['_hasher']=new _0x184578[(_0x5ba096(0x145))](),typeof _0x1d079f==_0x5ba096(0x179)&&(_0x1d079f=_0x58eaf0[_0x5ba096(0x314)](_0x1d079f));var _0x4c0844=_0x184578[_0x5ba096(0x412)],_0x267105=_0x4c0844*0x4;_0x1d079f[_0x5ba096(0x211)]>_0x267105&&(_0x1d079f=_0x184578[_0x5ba096(0x2f8)](_0x1d079f)),_0x1d079f[_0x5ba096(0x2cb)]();for(var _0x52b936=this['_oKey']=_0x1d079f[_0x5ba096(0x300)](),_0x222ae8=this[_0x5ba096(0x35a)]=_0x1d079f[_0x5ba096(0x300)](),_0x4f055c=_0x52b936[_0x5ba096(0x497)],_0x5b5557=_0x222ae8[_0x5ba096(0x497)],_0x237dcb=0x0;_0x237dcb<_0x4c0844;_0x237dcb++)_0x4f055c[_0x237dcb]^=0x5c5c5c5c,_0x5b5557[_0x237dcb]^=0x36363636;_0x52b936[_0x5ba096(0x211)]=_0x222ae8['sigBytes']=_0x267105,this[_0x5ba096(0x218)]();},'reset':function(){var _0x54e458=_0x534aea,_0x1d5ff3=this[_0x54e458(0x45d)];_0x1d5ff3[_0x54e458(0x218)](),_0x1d5ff3['update'](this['_iKey']);},'update':function(_0x1d7ae4){var _0x44ce86=_0x534aea;return this[_0x44ce86(0x45d)][_0x44ce86(0x1fd)](_0x1d7ae4),this;},'finalize':function(_0x44d539){var _0x5cb8d9=_0x534aea,_0x53246c=this['_hasher'],_0xbd1dda=_0x53246c[_0x5cb8d9(0x2f8)](_0x44d539);_0x53246c[_0x5cb8d9(0x218)]();var _0x461304=_0x53246c[_0x5cb8d9(0x2f8)](this['_oKey']['clone']()['concat'](_0xbd1dda));return _0x461304;}});}());}));}(Ce)),Ce[_0x33d79d(0x42c)];}var Mi=Ee[_0x1c66a7(0x42c)],et;function Nt(){return et||(et=0x1,function(_0x387802,_0x1beb58){(function(_0x191580,_0x500208,_0x1b9d05){var _0x3c04a4=_0x1aa6;_0x387802[_0x3c04a4(0x42c)]=_0x500208(Q(),Pi(),Li());}(Mi,function(_0x4c76a4){var _0x15f7d2=_0x1aa6;return(function(){var _0x26c8a1=_0x1aa6,_0x18d3fc=_0x4c76a4,_0x5c208a=_0x18d3fc[_0x26c8a1(0x193)],_0x34491c=_0x5c208a[_0x26c8a1(0x14a)],_0x4e2b9f=_0x5c208a[_0x26c8a1(0x3da)],_0x498674=_0x18d3fc['algo'],_0x2e3597=_0x498674[_0x26c8a1(0x27f)],_0x25a51b=_0x498674[_0x26c8a1(0x481)]=_0x34491c['extend']({'cfg':_0x34491c[_0x26c8a1(0x30e)]({'keySize':0x80/0x20,'hasher':_0x2e3597,'iterations':0x1}),'init':function(_0x70c77f){var _0x10e7d9=_0x26c8a1;this['cfg']=this[_0x10e7d9(0x34b)][_0x10e7d9(0x30e)](_0x70c77f);},'compute':function(_0x2301e4,_0x49ecb2){var _0x4b5d04=_0x26c8a1;for(var _0x2f144d,_0x2215a1=this[_0x4b5d04(0x34b)],_0x222f4f=_0x2215a1['hasher']['create'](),_0xb504be=_0x4e2b9f[_0x4b5d04(0x1c1)](),_0x422142=_0xb504be['words'],_0x524c76=_0x2215a1[_0x4b5d04(0x40d)],_0x41d97b=_0x2215a1[_0x4b5d04(0x437)];_0x422142[_0x4b5d04(0x1c0)]<_0x524c76;){_0x2f144d&&_0x222f4f['update'](_0x2f144d),_0x2f144d=_0x222f4f[_0x4b5d04(0x1fd)](_0x2301e4)['finalize'](_0x49ecb2),_0x222f4f['reset']();for(var _0x1eb5a0=0x1;_0x1eb5a0<_0x41d97b;_0x1eb5a0++)_0x2f144d=_0x222f4f[_0x4b5d04(0x2f8)](_0x2f144d),_0x222f4f['reset']();_0xb504be[_0x4b5d04(0x1b5)](_0x2f144d);}return _0xb504be[_0x4b5d04(0x211)]=_0x524c76*0x4,_0xb504be;}});_0x18d3fc['EvpKDF']=function(_0x2819d9,_0x25e1b6,_0x555029){var _0x5a5491=_0x26c8a1;return _0x25a51b['create'](_0x555029)[_0x5a5491(0x32a)](_0x2819d9,_0x25e1b6);};}()),_0x4c76a4[_0x15f7d2(0x481)];}));}(Ee)),Ee['exports'];}var Te={'exports':{}},xi=Te[_0x1c66a7(0x42c)],tt;function Ut(){var _0x2f8b73=_0x1c66a7;return tt||(tt=0x1,function(_0x40270,_0x117e5a){(function(_0x31e0c0,_0x588438,_0x1340fe){var _0x42a93e=_0x1aa6;_0x40270[_0x42a93e(0x42c)]=_0x588438(Q(),Nt());}(xi,function(_0x20b82c){var _0x416e76=_0x1aa6;_0x20b82c[_0x416e76(0x193)][_0x416e76(0x2f2)]||function(_0x5ad674){var _0x2ac89f=_0x416e76,_0x15b7ee=_0x20b82c,_0x194f4f=_0x15b7ee[_0x2ac89f(0x193)],_0x77e9d3=_0x194f4f[_0x2ac89f(0x14a)],_0x52361f=_0x194f4f[_0x2ac89f(0x3da)],_0x22ba72=_0x194f4f['BufferedBlockAlgorithm'],_0x1c3985=_0x15b7ee[_0x2ac89f(0x416)];_0x1c3985['Utf8'];var _0x1dc540=_0x1c3985[_0x2ac89f(0x3e8)],_0x401e9e=_0x15b7ee[_0x2ac89f(0x3e4)],_0x1df25a=_0x401e9e[_0x2ac89f(0x481)],_0x342bf5=_0x194f4f['Cipher']=_0x22ba72[_0x2ac89f(0x30e)]({'cfg':_0x77e9d3[_0x2ac89f(0x30e)](),'createEncryptor':function(_0x2dae72,_0xae9f82){var _0x123d88=_0x2ac89f;return this[_0x123d88(0x1c1)](this[_0x123d88(0x28a)],_0x2dae72,_0xae9f82);},'createDecryptor':function(_0x45e375,_0x36a029){var _0x39cf8a=_0x2ac89f;return this[_0x39cf8a(0x1c1)](this[_0x39cf8a(0x3de)],_0x45e375,_0x36a029);},'init':function(_0x2223d6,_0x42054b,_0x96e64f){var _0xeb2613=_0x2ac89f;this['cfg']=this[_0xeb2613(0x34b)][_0xeb2613(0x30e)](_0x96e64f),this[_0xeb2613(0x27b)]=_0x2223d6,this['_key']=_0x42054b,this[_0xeb2613(0x218)]();},'reset':function(){var _0x320f17=_0x2ac89f;_0x22ba72[_0x320f17(0x218)][_0x320f17(0x200)](this),this[_0x320f17(0x319)]();},'process':function(_0x24e4af){var _0x9f62e=_0x2ac89f;return this['_append'](_0x24e4af),this[_0x9f62e(0x153)]();},'finalize':function(_0x5194e9){var _0x5341e4=_0x2ac89f;_0x5194e9&&this['_append'](_0x5194e9);var _0x3fb459=this[_0x5341e4(0x447)]();return _0x3fb459;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4fdb7d(_0x640ff1){var _0x3c0be6=_0x1aa6;return typeof _0x640ff1==_0x3c0be6(0x179)?_0x4bd259:_0x439dfa;}return function(_0x29c23a){return{'encrypt':function(_0x939111,_0xab0b86,_0x43ff8d){var _0x14de9d=_0x1aa6;return _0x4fdb7d(_0xab0b86)[_0x14de9d(0x327)](_0x29c23a,_0x939111,_0xab0b86,_0x43ff8d);},'decrypt':function(_0x29b385,_0x2ccacf,_0x258c9a){var _0x51c8c4=_0x1aa6;return _0x4fdb7d(_0x2ccacf)[_0x51c8c4(0x32f)](_0x29c23a,_0x29b385,_0x2ccacf,_0x258c9a);}};};}())});_0x194f4f['StreamCipher']=_0x342bf5[_0x2ac89f(0x30e)]({'_doFinalize':function(){var _0x3850a5=this['_process'](!0x0);return _0x3850a5;},'blockSize':0x1});var _0x2b0b9a=_0x15b7ee[_0x2ac89f(0x3ed)]={},_0x2f2bbf=_0x194f4f[_0x2ac89f(0x44a)]=_0x77e9d3[_0x2ac89f(0x30e)]({'createEncryptor':function(_0x32757f,_0x2ae802){var _0x26503a=_0x2ac89f;return this[_0x26503a(0x3ba)][_0x26503a(0x1c1)](_0x32757f,_0x2ae802);},'createDecryptor':function(_0x5be34a,_0x71a8cc){var _0x22e420=_0x2ac89f;return this['Decryptor'][_0x22e420(0x1c1)](_0x5be34a,_0x71a8cc);},'init':function(_0x23dde6,_0x49b832){var _0x26b8e5=_0x2ac89f;this['_cipher']=_0x23dde6,this[_0x26b8e5(0x409)]=_0x49b832;}}),_0x411c99=_0x2b0b9a[_0x2ac89f(0x1fa)]=(function(){var _0x4e7150=_0x2ac89f,_0x1bc04c=_0x2f2bbf['extend']();_0x1bc04c[_0x4e7150(0x3ba)]=_0x1bc04c['extend']({'processBlock':function(_0x13af00,_0x31c77f){var _0x4b5ce3=_0x4e7150,_0x62e22b=this['_cipher'],_0x2076ae=_0x62e22b['blockSize'];_0x52e6c4[_0x4b5ce3(0x200)](this,_0x13af00,_0x31c77f,_0x2076ae),_0x62e22b[_0x4b5ce3(0x3d2)](_0x13af00,_0x31c77f),this[_0x4b5ce3(0x17d)]=_0x13af00[_0x4b5ce3(0x216)](_0x31c77f,_0x31c77f+_0x2076ae);}}),_0x1bc04c[_0x4e7150(0x215)]=_0x1bc04c['extend']({'processBlock':function(_0x5f4469,_0x24b4a4){var _0x391ce5=_0x4e7150,_0x4e1667=this['_cipher'],_0x1d1184=_0x4e1667[_0x391ce5(0x412)],_0x3edfd1=_0x5f4469[_0x391ce5(0x216)](_0x24b4a4,_0x24b4a4+_0x1d1184);_0x4e1667[_0x391ce5(0x303)](_0x5f4469,_0x24b4a4),_0x52e6c4[_0x391ce5(0x200)](this,_0x5f4469,_0x24b4a4,_0x1d1184),this[_0x391ce5(0x17d)]=_0x3edfd1;}});function _0x52e6c4(_0x4950cb,_0x12b030,_0x3ca379){var _0x4b6278=_0x4e7150,_0x166742,_0x46ca64=this[_0x4b6278(0x409)];_0x46ca64?(_0x166742=_0x46ca64,this[_0x4b6278(0x409)]=_0x5ad674):_0x166742=this[_0x4b6278(0x17d)];for(var _0x1a35ca=0x0;_0x1a35ca<_0x3ca379;_0x1a35ca++)_0x4950cb[_0x12b030+_0x1a35ca]^=_0x166742[_0x1a35ca];}return _0x1bc04c;}()),_0x5d8da9=_0x15b7ee[_0x2ac89f(0x36c)]={},_0x474ed8=_0x5d8da9[_0x2ac89f(0x40b)]={'pad':function(_0x10bf7e,_0x2a1f6a){var _0x1a1f64=_0x2ac89f;for(var _0x4a4ed3=_0x2a1f6a*0x4,_0x300d5c=_0x4a4ed3-_0x10bf7e['sigBytes']%_0x4a4ed3,_0x1d7f16=_0x300d5c<<0x18|_0x300d5c<<0x10|_0x300d5c<<0x8|_0x300d5c,_0x23854e=[],_0x4d5bd5=0x0;_0x4d5bd5<_0x300d5c;_0x4d5bd5+=0x4)_0x23854e[_0x1a1f64(0x421)](_0x1d7f16);var _0x2ef6b4=_0x52361f[_0x1a1f64(0x1c1)](_0x23854e,_0x300d5c);_0x10bf7e[_0x1a1f64(0x1b5)](_0x2ef6b4);},'unpad':function(_0x28629c){var _0x35edda=_0x2ac89f,_0x5b3964=_0x28629c[_0x35edda(0x497)][_0x28629c['sigBytes']-0x1>>>0x2]&0xff;_0x28629c[_0x35edda(0x211)]-=_0x5b3964;}};_0x194f4f['BlockCipher']=_0x342bf5[_0x2ac89f(0x30e)]({'cfg':_0x342bf5[_0x2ac89f(0x34b)][_0x2ac89f(0x30e)]({'mode':_0x411c99,'padding':_0x474ed8}),'reset':function(){var _0xfa92a1=_0x2ac89f,_0x5ce9db;_0x342bf5[_0xfa92a1(0x218)][_0xfa92a1(0x200)](this);var _0x26d115=this[_0xfa92a1(0x34b)],_0x1df214=_0x26d115['iv'],_0x5bd2ec=_0x26d115[_0xfa92a1(0x3ed)];this['_xformMode']==this[_0xfa92a1(0x28a)]?_0x5ce9db=_0x5bd2ec[_0xfa92a1(0x453)]:(_0x5ce9db=_0x5bd2ec[_0xfa92a1(0x202)],this[_0xfa92a1(0x425)]=0x1),this['_mode']&&this[_0xfa92a1(0x260)][_0xfa92a1(0x189)]==_0x5ce9db?this[_0xfa92a1(0x260)][_0xfa92a1(0x145)](this,_0x1df214&&_0x1df214[_0xfa92a1(0x497)]):(this[_0xfa92a1(0x260)]=_0x5ce9db[_0xfa92a1(0x200)](_0x5bd2ec,this,_0x1df214&&_0x1df214[_0xfa92a1(0x497)]),this[_0xfa92a1(0x260)][_0xfa92a1(0x189)]=_0x5ce9db);},'_doProcessBlock':function(_0x5e2964,_0x5bbb16){var _0x25d99f=_0x2ac89f;this[_0x25d99f(0x260)]['processBlock'](_0x5e2964,_0x5bbb16);},'_doFinalize':function(){var _0x399c57=_0x2ac89f,_0x17b03b,_0x1b5d71=this[_0x399c57(0x34b)][_0x399c57(0x1ea)];return this[_0x399c57(0x27b)]==this[_0x399c57(0x28a)]?(_0x1b5d71[_0x399c57(0x36c)](this[_0x399c57(0x209)],this[_0x399c57(0x412)]),_0x17b03b=this['_process'](!0x0)):(_0x17b03b=this[_0x399c57(0x153)](!0x0),_0x1b5d71[_0x399c57(0x35f)](_0x17b03b)),_0x17b03b;},'blockSize':0x80/0x20});var _0x1ed1a6=_0x194f4f[_0x2ac89f(0x242)]=_0x77e9d3[_0x2ac89f(0x30e)]({'init':function(_0x33be49){this['mixIn'](_0x33be49);},'toString':function(_0x26848d){var _0x5d1bcb=_0x2ac89f;return(_0x26848d||this['formatter'])[_0x5d1bcb(0x32c)](this);}}),_0x102242=_0x15b7ee[_0x2ac89f(0x1cc)]={},_0x2d1aba=_0x102242[_0x2ac89f(0x176)]={'stringify':function(_0x6426e7){var _0x3af10c=_0x2ac89f,_0x5e8804,_0x106b50=_0x6426e7[_0x3af10c(0x24f)],_0x5af363=_0x6426e7[_0x3af10c(0x1c6)];return _0x5af363?_0x5e8804=_0x52361f[_0x3af10c(0x1c1)]([0x53616c74,0x65645f5f])[_0x3af10c(0x1b5)](_0x5af363)[_0x3af10c(0x1b5)](_0x106b50):_0x5e8804=_0x106b50,_0x5e8804[_0x3af10c(0x21d)](_0x1dc540);},'parse':function(_0x56a181){var _0x47893d=_0x2ac89f,_0x229e06,_0x259ee7=_0x1dc540['parse'](_0x56a181),_0x2b66c8=_0x259ee7['words'];return _0x2b66c8[0x0]==0x53616c74&&_0x2b66c8[0x1]==0x65645f5f&&(_0x229e06=_0x52361f[_0x47893d(0x1c1)](_0x2b66c8[_0x47893d(0x216)](0x2,0x4)),_0x2b66c8[_0x47893d(0x4bc)](0x0,0x4),_0x259ee7[_0x47893d(0x211)]-=0x10),_0x1ed1a6['create']({'ciphertext':_0x259ee7,'salt':_0x229e06});}},_0x439dfa=_0x194f4f[_0x2ac89f(0x349)]=_0x77e9d3[_0x2ac89f(0x30e)]({'cfg':_0x77e9d3['extend']({'format':_0x2d1aba}),'encrypt':function(_0x51ba29,_0x1e60df,_0x3c256e,_0xad851){var _0x1a50cb=_0x2ac89f;_0xad851=this['cfg'][_0x1a50cb(0x30e)](_0xad851);var _0xc05f2b=_0x51ba29['createEncryptor'](_0x3c256e,_0xad851),_0x32f019=_0xc05f2b[_0x1a50cb(0x2f8)](_0x1e60df),_0x5899e8=_0xc05f2b['cfg'];return _0x1ed1a6[_0x1a50cb(0x1c1)]({'ciphertext':_0x32f019,'key':_0x3c256e,'iv':_0x5899e8['iv'],'algorithm':_0x51ba29,'mode':_0x5899e8[_0x1a50cb(0x3ed)],'padding':_0x5899e8[_0x1a50cb(0x1ea)],'blockSize':_0x51ba29['blockSize'],'formatter':_0xad851[_0x1a50cb(0x1cc)]});},'decrypt':function(_0x47e715,_0x7ce26c,_0x1f0acb,_0x3ca6d4){var _0x5080db=_0x2ac89f;_0x3ca6d4=this['cfg'][_0x5080db(0x30e)](_0x3ca6d4),_0x7ce26c=this[_0x5080db(0x28b)](_0x7ce26c,_0x3ca6d4[_0x5080db(0x1cc)]);var _0xdf6c9b=_0x47e715[_0x5080db(0x202)](_0x1f0acb,_0x3ca6d4)['finalize'](_0x7ce26c[_0x5080db(0x24f)]);return _0xdf6c9b;},'_parse':function(_0x5880df,_0x334a4a){var _0x2e3496=_0x2ac89f;return typeof _0x5880df==_0x2e3496(0x179)?_0x334a4a[_0x2e3496(0x314)](_0x5880df,this):_0x5880df;}}),_0x26bd59=_0x15b7ee[_0x2ac89f(0x36b)]={},_0x821f8d=_0x26bd59[_0x2ac89f(0x176)]={'execute':function(_0x3cfb59,_0xb5bc26,_0x5c3f74,_0x24c20b,_0x10295a){var _0x5b670d=_0x2ac89f;if(_0x24c20b||(_0x24c20b=_0x52361f[_0x5b670d(0x3ee)](0x40/0x8)),_0x10295a)var _0x9cc188=_0x1df25a[_0x5b670d(0x1c1)]({'keySize':_0xb5bc26+_0x5c3f74,'hasher':_0x10295a})[_0x5b670d(0x32a)](_0x3cfb59,_0x24c20b);else var _0x9cc188=_0x1df25a['create']({'keySize':_0xb5bc26+_0x5c3f74})[_0x5b670d(0x32a)](_0x3cfb59,_0x24c20b);var _0x5644ab=_0x52361f[_0x5b670d(0x1c1)](_0x9cc188[_0x5b670d(0x497)][_0x5b670d(0x216)](_0xb5bc26),_0x5c3f74*0x4);return _0x9cc188[_0x5b670d(0x211)]=_0xb5bc26*0x4,_0x1ed1a6['create']({'key':_0x9cc188,'iv':_0x5644ab,'salt':_0x24c20b});}},_0x4bd259=_0x194f4f[_0x2ac89f(0x38f)]=_0x439dfa[_0x2ac89f(0x30e)]({'cfg':_0x439dfa[_0x2ac89f(0x34b)][_0x2ac89f(0x30e)]({'kdf':_0x821f8d}),'encrypt':function(_0x5238b9,_0x4a8cc9,_0x435058,_0x26dd83){var _0x5944bd=_0x2ac89f;_0x26dd83=this['cfg'][_0x5944bd(0x30e)](_0x26dd83);var _0x285078=_0x26dd83[_0x5944bd(0x36b)]['execute'](_0x435058,_0x5238b9[_0x5944bd(0x40d)],_0x5238b9[_0x5944bd(0x3c6)],_0x26dd83[_0x5944bd(0x1c6)],_0x26dd83['hasher']);_0x26dd83['iv']=_0x285078['iv'];var _0x54153c=_0x439dfa[_0x5944bd(0x327)][_0x5944bd(0x200)](this,_0x5238b9,_0x4a8cc9,_0x285078[_0x5944bd(0x1c2)],_0x26dd83);return _0x54153c[_0x5944bd(0x43d)](_0x285078),_0x54153c;},'decrypt':function(_0x1a7ba7,_0x550bd4,_0x597f1c,_0x4eba3c){var _0x37c3b7=_0x2ac89f;_0x4eba3c=this[_0x37c3b7(0x34b)][_0x37c3b7(0x30e)](_0x4eba3c),_0x550bd4=this[_0x37c3b7(0x28b)](_0x550bd4,_0x4eba3c[_0x37c3b7(0x1cc)]);var _0x4a8556=_0x4eba3c[_0x37c3b7(0x36b)][_0x37c3b7(0x46f)](_0x597f1c,_0x1a7ba7[_0x37c3b7(0x40d)],_0x1a7ba7[_0x37c3b7(0x3c6)],_0x550bd4[_0x37c3b7(0x1c6)],_0x4eba3c[_0x37c3b7(0x3f2)]);_0x4eba3c['iv']=_0x4a8556['iv'];var _0x40f288=_0x439dfa[_0x37c3b7(0x32f)]['call'](this,_0x1a7ba7,_0x550bd4,_0x4a8556[_0x37c3b7(0x1c2)],_0x4eba3c);return _0x40f288;}});}();}));}(Te)),Te[_0x2f8b73(0x42c)];}var ki=fe['exports'],it;function Hi(){return it||(it=0x1,function(_0xcc5cbd,_0x43d183){(function(_0x2b7a26,_0x5a5392,_0x4aee4c){var _0x18b607=_0x1aa6;_0xcc5cbd[_0x18b607(0x42c)]=_0x5a5392(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x5415f1){var _0x4ef620=_0x1aa6;return(function(){var _0x4489bb=_0x1aa6,_0x28f7ad=_0x5415f1,_0x397937=_0x28f7ad[_0x4489bb(0x193)],_0xca630f=_0x397937[_0x4489bb(0x2a4)],_0x5584c6=_0x28f7ad[_0x4489bb(0x3e4)],_0xc883b9=[],_0x4332c6=[],_0x1c7e4f=[],_0x839193=[],_0x363b80=[],_0x78c1e5=[],_0x327a54=[],_0x6c1fcc=[],_0x5b1a98=[],_0x2021a1=[];(function(){for(var _0x2aab5c=[],_0x116f6d=0x0;_0x116f6d<0x100;_0x116f6d++)_0x116f6d<0x80?_0x2aab5c[_0x116f6d]=_0x116f6d<<0x1:_0x2aab5c[_0x116f6d]=_0x116f6d<<0x1^0x11b;for(var _0x4f826f=0x0,_0x5a4ef9=0x0,_0x116f6d=0x0;_0x116f6d<0x100;_0x116f6d++){var _0x31700c=_0x5a4ef9^_0x5a4ef9<<0x1^_0x5a4ef9<<0x2^_0x5a4ef9<<0x3^_0x5a4ef9<<0x4;_0x31700c=_0x31700c>>>0x8^_0x31700c&0xff^0x63,_0xc883b9[_0x4f826f]=_0x31700c,_0x4332c6[_0x31700c]=_0x4f826f;var _0x1991dc=_0x2aab5c[_0x4f826f],_0x2fad04=_0x2aab5c[_0x1991dc],_0x4af824=_0x2aab5c[_0x2fad04],_0x12ba77=_0x2aab5c[_0x31700c]*0x101^_0x31700c*0x1010100;_0x1c7e4f[_0x4f826f]=_0x12ba77<<0x18|_0x12ba77>>>0x8,_0x839193[_0x4f826f]=_0x12ba77<<0x10|_0x12ba77>>>0x10,_0x363b80[_0x4f826f]=_0x12ba77<<0x8|_0x12ba77>>>0x18,_0x78c1e5[_0x4f826f]=_0x12ba77;var _0x12ba77=_0x4af824*0x1010101^_0x2fad04*0x10001^_0x1991dc*0x101^_0x4f826f*0x1010100;_0x327a54[_0x31700c]=_0x12ba77<<0x18|_0x12ba77>>>0x8,_0x6c1fcc[_0x31700c]=_0x12ba77<<0x10|_0x12ba77>>>0x10,_0x5b1a98[_0x31700c]=_0x12ba77<<0x8|_0x12ba77>>>0x18,_0x2021a1[_0x31700c]=_0x12ba77,_0x4f826f?(_0x4f826f=_0x1991dc^_0x2aab5c[_0x2aab5c[_0x2aab5c[_0x4af824^_0x1991dc]]],_0x5a4ef9^=_0x2aab5c[_0x2aab5c[_0x5a4ef9]]):_0x4f826f=_0x5a4ef9=0x1;}}());var _0x1bc5a1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4bc350=_0x5584c6[_0x4489bb(0x320)]=_0xca630f['extend']({'_doReset':function(){var _0x45a4b5=_0x4489bb,_0x4af7cd;if(!(this[_0x45a4b5(0x43b)]&&this[_0x45a4b5(0x48a)]===this[_0x45a4b5(0x220)])){for(var _0x4b860b=this[_0x45a4b5(0x48a)]=this['_key'],_0x7f3cd7=_0x4b860b['words'],_0x332604=_0x4b860b[_0x45a4b5(0x211)]/0x4,_0xac701=this['_nRounds']=_0x332604+0x6,_0x5f4a99=(_0xac701+0x1)*0x4,_0x354a1c=this['_keySchedule']=[],_0x564b87=0x0;_0x564b87<_0x5f4a99;_0x564b87++)_0x564b87<_0x332604?_0x354a1c[_0x564b87]=_0x7f3cd7[_0x564b87]:(_0x4af7cd=_0x354a1c[_0x564b87-0x1],_0x564b87%_0x332604?_0x332604>0x6&&_0x564b87%_0x332604==0x4&&(_0x4af7cd=_0xc883b9[_0x4af7cd>>>0x18]<<0x18|_0xc883b9[_0x4af7cd>>>0x10&0xff]<<0x10|_0xc883b9[_0x4af7cd>>>0x8&0xff]<<0x8|_0xc883b9[_0x4af7cd&0xff]):(_0x4af7cd=_0x4af7cd<<0x8|_0x4af7cd>>>0x18,_0x4af7cd=_0xc883b9[_0x4af7cd>>>0x18]<<0x18|_0xc883b9[_0x4af7cd>>>0x10&0xff]<<0x10|_0xc883b9[_0x4af7cd>>>0x8&0xff]<<0x8|_0xc883b9[_0x4af7cd&0xff],_0x4af7cd^=_0x1bc5a1[_0x564b87/_0x332604|0x0]<<0x18),_0x354a1c[_0x564b87]=_0x354a1c[_0x564b87-_0x332604]^_0x4af7cd);for(var _0x2d3520=this['_invKeySchedule']=[],_0x5398f7=0x0;_0x5398f7<_0x5f4a99;_0x5398f7++){var _0x564b87=_0x5f4a99-_0x5398f7;if(_0x5398f7%0x4)var _0x4af7cd=_0x354a1c[_0x564b87];else var _0x4af7cd=_0x354a1c[_0x564b87-0x4];_0x5398f7<0x4||_0x564b87<=0x4?_0x2d3520[_0x5398f7]=_0x4af7cd:_0x2d3520[_0x5398f7]=_0x327a54[_0xc883b9[_0x4af7cd>>>0x18]]^_0x6c1fcc[_0xc883b9[_0x4af7cd>>>0x10&0xff]]^_0x5b1a98[_0xc883b9[_0x4af7cd>>>0x8&0xff]]^_0x2021a1[_0xc883b9[_0x4af7cd&0xff]];}}},'encryptBlock':function(_0x305938,_0x2775ec){var _0x5bdc8f=_0x4489bb;this[_0x5bdc8f(0x2b5)](_0x305938,_0x2775ec,this[_0x5bdc8f(0x3aa)],_0x1c7e4f,_0x839193,_0x363b80,_0x78c1e5,_0xc883b9);},'decryptBlock':function(_0xfba91d,_0x4382fb){var _0x41968a=_0x4489bb,_0x15d5dd=_0xfba91d[_0x4382fb+0x1];_0xfba91d[_0x4382fb+0x1]=_0xfba91d[_0x4382fb+0x3],_0xfba91d[_0x4382fb+0x3]=_0x15d5dd,this[_0x41968a(0x2b5)](_0xfba91d,_0x4382fb,this[_0x41968a(0x3f9)],_0x327a54,_0x6c1fcc,_0x5b1a98,_0x2021a1,_0x4332c6);var _0x15d5dd=_0xfba91d[_0x4382fb+0x1];_0xfba91d[_0x4382fb+0x1]=_0xfba91d[_0x4382fb+0x3],_0xfba91d[_0x4382fb+0x3]=_0x15d5dd;},'_doCryptBlock':function(_0x1f78d2,_0xda42a9,_0x2984b4,_0x774d13,_0xaadd46,_0x95ddfe,_0x562744,_0x5553fd){var _0x3232bc=_0x4489bb;for(var _0x33fcff=this[_0x3232bc(0x43b)],_0x10d3e8=_0x1f78d2[_0xda42a9]^_0x2984b4[0x0],_0x2d0295=_0x1f78d2[_0xda42a9+0x1]^_0x2984b4[0x1],_0x4ae4b5=_0x1f78d2[_0xda42a9+0x2]^_0x2984b4[0x2],_0x3d54a5=_0x1f78d2[_0xda42a9+0x3]^_0x2984b4[0x3],_0x22bb80=0x4,_0x5e0560=0x1;_0x5e0560<_0x33fcff;_0x5e0560++){var _0x332a44=_0x774d13[_0x10d3e8>>>0x18]^_0xaadd46[_0x2d0295>>>0x10&0xff]^_0x95ddfe[_0x4ae4b5>>>0x8&0xff]^_0x562744[_0x3d54a5&0xff]^_0x2984b4[_0x22bb80++],_0x50d434=_0x774d13[_0x2d0295>>>0x18]^_0xaadd46[_0x4ae4b5>>>0x10&0xff]^_0x95ddfe[_0x3d54a5>>>0x8&0xff]^_0x562744[_0x10d3e8&0xff]^_0x2984b4[_0x22bb80++],_0x506078=_0x774d13[_0x4ae4b5>>>0x18]^_0xaadd46[_0x3d54a5>>>0x10&0xff]^_0x95ddfe[_0x10d3e8>>>0x8&0xff]^_0x562744[_0x2d0295&0xff]^_0x2984b4[_0x22bb80++],_0x698b26=_0x774d13[_0x3d54a5>>>0x18]^_0xaadd46[_0x10d3e8>>>0x10&0xff]^_0x95ddfe[_0x2d0295>>>0x8&0xff]^_0x562744[_0x4ae4b5&0xff]^_0x2984b4[_0x22bb80++];_0x10d3e8=_0x332a44,_0x2d0295=_0x50d434,_0x4ae4b5=_0x506078,_0x3d54a5=_0x698b26;}var _0x332a44=(_0x5553fd[_0x10d3e8>>>0x18]<<0x18|_0x5553fd[_0x2d0295>>>0x10&0xff]<<0x10|_0x5553fd[_0x4ae4b5>>>0x8&0xff]<<0x8|_0x5553fd[_0x3d54a5&0xff])^_0x2984b4[_0x22bb80++],_0x50d434=(_0x5553fd[_0x2d0295>>>0x18]<<0x18|_0x5553fd[_0x4ae4b5>>>0x10&0xff]<<0x10|_0x5553fd[_0x3d54a5>>>0x8&0xff]<<0x8|_0x5553fd[_0x10d3e8&0xff])^_0x2984b4[_0x22bb80++],_0x506078=(_0x5553fd[_0x4ae4b5>>>0x18]<<0x18|_0x5553fd[_0x3d54a5>>>0x10&0xff]<<0x10|_0x5553fd[_0x10d3e8>>>0x8&0xff]<<0x8|_0x5553fd[_0x2d0295&0xff])^_0x2984b4[_0x22bb80++],_0x698b26=(_0x5553fd[_0x3d54a5>>>0x18]<<0x18|_0x5553fd[_0x10d3e8>>>0x10&0xff]<<0x10|_0x5553fd[_0x2d0295>>>0x8&0xff]<<0x8|_0x5553fd[_0x4ae4b5&0xff])^_0x2984b4[_0x22bb80++];_0x1f78d2[_0xda42a9]=_0x332a44,_0x1f78d2[_0xda42a9+0x1]=_0x50d434,_0x1f78d2[_0xda42a9+0x2]=_0x506078,_0x1f78d2[_0xda42a9+0x3]=_0x698b26;},'keySize':0x100/0x20});_0x28f7ad['AES']=_0xca630f[_0x4489bb(0x2ff)](_0x4bc350);}()),_0x5415f1[_0x4ef620(0x320)];}));}(fe)),fe['exports'];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x1c66a7(0x42c)],rt;function Vi(){var _0x74582a=_0x1c66a7;return rt||(rt=0x1,function(_0xd1bd5f,_0x1009c0){(function(_0x3e730c,_0x538de3){var _0x2ff28a=_0x1aa6;_0xd1bd5f[_0x2ff28a(0x42c)]=_0x538de3(Q());}(Fi,function(_0x54eec3){var _0x4152d9=_0x1aa6;return _0x54eec3[_0x4152d9(0x416)][_0x4152d9(0x166)];}));}(be)),be[_0x74582a(0x42c)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re['exports'],st;function Yi(){var _0x198c1a=_0x1c66a7;return st||(st=0x1,function(_0x22dcec,_0x252503){(function(_0x575453,_0x501e05){_0x22dcec['exports']=_0x501e05(Q());}(Ki,function(_0x8d638d){var _0x172f28=_0x1aa6;return(function(){var _0x42dd00=_0x1aa6;if(typeof ArrayBuffer==_0x42dd00(0x36a)){var _0x1b6c9b=_0x8d638d,_0x1c76d8=_0x1b6c9b[_0x42dd00(0x193)],_0x2874f9=_0x1c76d8[_0x42dd00(0x3da)],_0x131136=_0x2874f9[_0x42dd00(0x145)],_0xbf9f0f=_0x2874f9[_0x42dd00(0x145)]=function(_0x2094a8){var _0x4b66a1=_0x42dd00;if(_0x2094a8 instanceof ArrayBuffer&&(_0x2094a8=new Uint8Array(_0x2094a8)),(_0x2094a8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2094a8 instanceof Uint8ClampedArray||_0x2094a8 instanceof Int16Array||_0x2094a8 instanceof Uint16Array||_0x2094a8 instanceof Int32Array||_0x2094a8 instanceof Uint32Array||_0x2094a8 instanceof Float32Array||_0x2094a8 instanceof Float64Array)&&(_0x2094a8=new Uint8Array(_0x2094a8[_0x4b66a1(0x471)],_0x2094a8['byteOffset'],_0x2094a8[_0x4b66a1(0x1de)])),_0x2094a8 instanceof Uint8Array){for(var _0x2a9325=_0x2094a8[_0x4b66a1(0x1de)],_0x58a44d=[],_0x583a7b=0x0;_0x583a7b<_0x2a9325;_0x583a7b++)_0x58a44d[_0x583a7b>>>0x2]|=_0x2094a8[_0x583a7b]<<0x18-_0x583a7b%0x4*0x8;_0x131136[_0x4b66a1(0x200)](this,_0x58a44d,_0x2a9325);}else _0x131136[_0x4b66a1(0x18c)](this,arguments);};_0xbf9f0f[_0x42dd00(0x360)]=_0x2874f9;}}()),_0x8d638d[_0x172f28(0x193)][_0x172f28(0x3da)];}));}(Re)),Re[_0x198c1a(0x42c)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x1c66a7(0x42c)],ot;function Xi(){var _0x396054=_0x1c66a7;return ot||(ot=0x1,function(_0x20eeaf,_0x598640){(function(_0x1afc4c,_0x202229,_0x2ec85c){var _0x54beb3=_0x1aa6;_0x20eeaf[_0x54beb3(0x42c)]=_0x202229(Q(),Ut());}(Ji,function(_0x3a0bd5){var _0x5b9ec2=_0x1aa6;return _0x3a0bd5[_0x5b9ec2(0x36c)][_0x5b9ec2(0x275)]={'pad':function(){},'unpad':function(){}},_0x3a0bd5[_0x5b9ec2(0x36c)][_0x5b9ec2(0x275)];}));}(Oe)),Oe[_0x396054(0x42c)];}var Zi=Xi();const Qi=ve(Zi);function en(_0xcb16fb,_0x1ed8ba){var _0x256554=_0x1c66a7;const _0x36ed71=_0x1ed8ba-_0xcb16fb[_0x256554(0x1c0)]%_0x1ed8ba,_0x209616=String['fromCharCode'](_0x36ed71)[_0x256554(0x337)](_0x36ed71);return _0xcb16fb+_0x209616;}function tn(_0x5ad104,_0x8f294b){var _0x872c71=_0x1c66a7;const _0x546c68=zi[_0x872c71(0x3ee)](0x10),_0x48bafa=en(_0x5ad104,0x10),_0x51bad2=ji[_0x872c71(0x327)](Gi[_0x872c71(0x314)](_0x48bafa),nt[_0x872c71(0x314)](_0x8f294b),{'iv':_0x546c68,'padding':Qi});return _0x546c68[_0x872c71(0x1b5)](_0x51bad2['ciphertext'])['toString'](nt);}function nn(){var _0x4d6c36=_0x1c66a7;const _0xcc9bd4=wt['getGlobalObject']()[_0x4d6c36(0x41a)];if(_0xcc9bd4){const _0x58cbc2={'time':Math[_0x4d6c36(0x2da)](Date[_0x4d6c36(0x331)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x4d6c36(0x32c)](_0x58cbc2),_0xcc9bd4);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x49d97b,_0x575332,_0x5da4a1,_0x533a33)=>{var _0x19baad=_0x1c66a7;for(var _0x4b00ed=_0x533a33>0x1?void 0x0:_0x533a33?rn(_0x575332,_0x5da4a1):_0x575332,_0x315c75=_0x49d97b[_0x19baad(0x1c0)]-0x1,_0x482456;_0x315c75>=0x0;_0x315c75--)(_0x482456=_0x49d97b[_0x315c75])&&(_0x4b00ed=_0x482456(_0x4b00ed)||_0x4b00ed);return _0x4b00ed;},on=(_0x5bc151,_0x352fbb)=>(_0x12b590,_0x565596)=>_0x352fbb(_0x12b590,_0x565596,_0x5bc151);let Ne=class{constructor(_0x34bbc4){var _0x5dd281=_0x1c66a7;this[_0x5dd281(0x321)]=_0x34bbc4,this[_0x5dd281(0x44b)]();}['_initRequestHeader'](){var _0x214153=_0x1c66a7;this[_0x214153(0x321)][_0x214153(0x39a)]({'interceptor':(_0x1533bb,_0x282aed)=>{var _0x521804=_0x214153;const _0x23c18f=_0x1533bb['headers'],_0x188d91=nn();return _0x188d91&&_0x23c18f[_0x521804(0x352)]('x-univer-host',_0x188d91),_0x282aed(_0x1533bb);}});}};Ne=sn([on(0x0,a[_0x1c66a7(0x1a6)](Y[_0x1c66a7(0x322)]))],Ne);var an=Object[_0x1c66a7(0x18b)],cn=(_0x413a46,_0x129a6f,_0x168154,_0x3b715f)=>{var _0x1f2647=_0x1c66a7;for(var _0x42ed9b=_0x3b715f>0x1?void 0x0:_0x3b715f?an(_0x129a6f,_0x168154):_0x129a6f,_0x5237e8=_0x413a46[_0x1f2647(0x1c0)]-0x1,_0x918981;_0x5237e8>=0x0;_0x5237e8--)(_0x918981=_0x413a46[_0x5237e8])&&(_0x42ed9b=_0x918981(_0x42ed9b)||_0x42ed9b);return _0x42ed9b;},we=(_0x2e2418,_0x4d0b97)=>(_0x52c2e7,_0xe910a2)=>_0x4d0b97(_0x52c2e7,_0xe910a2,_0x2e2418);exports[_0x1c66a7(0x305)]=class extends a[_0x1c66a7(0x19b)]{constructor(_0x2c457d,_0x136f1d,_0x28789f){var _0x453d13=_0x1c66a7;super(),A(this,_0x453d13(0x415),new $[(_0x453d13(0x1bf))](null)),A(this,_0x453d13(0x1bc),this[_0x453d13(0x415)][_0x453d13(0x233)]()),(this['_logService']=_0x2c457d,this[_0x453d13(0x2a7)]=_0x136f1d,this['_localCacheService']=_0x28789f);}async[_0x1c66a7(0x1b2)](_0x20a387,_0x25b4cf,_0x349ca7){var _0x45c232=_0x1c66a7;this[_0x45c232(0x415)][_0x45c232(0x18f)]({'unitId':_0x20a387,'type':_0x25b4cf});let _0x27df04=null;switch(_0x25b4cf){case J[_0x45c232(0x1dc)]:{_0x27df04=await this[_0x45c232(0x2a7)]['loadSheet'](_0x20a387,_0x349ca7);break;}case J[_0x45c232(0x455)]:{_0x27df04=await this['_snapshotService'][_0x45c232(0x369)](_0x20a387,_0x349ca7);break;}default:{this[_0x45c232(0x309)][_0x45c232(0x3b6)](_0x45c232(0x1cb),_0x45c232(0x4ba));break;}}return _0x27df04;}async[_0x1c66a7(0x4a9)](_0x20b519,_0x1ba6e2,_0xf3dbb0){var _0x1590c6=_0x1c66a7,_0x1cdd03;this[_0x1590c6(0x415)][_0x1590c6(0x18f)]({'unitId':_0x20b519,'type':_0x1ba6e2,'subUnitId':_0xf3dbb0});let _0x3707dd=0x0;const _0x61b574=await((_0x1cdd03=this[_0x1590c6(0x24b)])==null?void 0x0:_0x1cdd03[_0x1590c6(0x3b9)](_0x20b519));return _0x61b574&&(_0x61b574['awaitingChangeset']||_0x61b574[_0x1590c6(0x17b)][_0x1590c6(0x1c0)]!==0x0)&&(_0x3707dd=_0x61b574[_0x1590c6(0x20a)]),_0x3707dd===0x0&&this['_logService']['debug'](_0x1590c6(0x1cb),_0x1590c6(0x168)),this[_0x1590c6(0x1b2)](_0x20b519,_0x1ba6e2,_0x3707dd);}},exports[_0x1c66a7(0x305)]=cn([we(0x0,a[_0x1c66a7(0x2c8)]),we(0x1,a['Inject'](I[_0x1c66a7(0x313)])),we(0x2,a['Optional'](q))],exports['DataLoaderService']);var hn=Object['getOwnPropertyDescriptor'],_n=(_0xea4af2,_0x567a8e,_0x4585d0,_0x5cb2a9)=>{var _0x5392cb=_0x1c66a7;for(var _0x477752=_0x5cb2a9>0x1?void 0x0:_0x5cb2a9?hn(_0x567a8e,_0x4585d0):_0x567a8e,_0x11f467=_0xea4af2[_0x5392cb(0x1c0)]-0x1,_0x2a5d7f;_0x11f467>=0x0;_0x11f467--)(_0x2a5d7f=_0xea4af2[_0x11f467])&&(_0x477752=_0x2a5d7f(_0x477752)||_0x477752);return _0x477752;},Le=(_0x14dc48,_0x2f7466)=>(_0x5d9a98,_0x4f18d6)=>_0x2f7466(_0x5d9a98,_0x4f18d6,_0x14dc48);const ln=[_0x1c66a7(0x3df),_0x1c66a7(0x28f),_0x1c66a7(0x251),_0x1c66a7(0x16f),'image/bmp'],un=0x5*0x400*0x400,dn=_0x1c66a7(0x4a7),vn=_0x1c66a7(0x1c5),Sn=_0x1c66a7(0x3bf),fn=_0x1c66a7(0x2fb);exports[_0x1c66a7(0x1be)]=class{constructor(_0x53e696,_0x3dd59a,_0x207cca){var _0x2ecfac=_0x1c66a7;A(this,_0x2ecfac(0x3dc),0x0),A(this,_0x2ecfac(0x199),new $[(_0x2ecfac(0x2bf))]()),A(this,_0x2ecfac(0x1e4),this[_0x2ecfac(0x199)]),A(this,_0x2ecfac(0x30c),new Map()),(this[_0x2ecfac(0x321)]=_0x53e696,this[_0x2ecfac(0x26d)]=_0x3dd59a,this[_0x2ecfac(0x204)]=_0x207cca);}['setWaitCount'](_0x3a605e){var _0x277f1c=_0x1c66a7;this[_0x277f1c(0x3dc)]=_0x3a605e,this[_0x277f1c(0x199)][_0x277f1c(0x18f)](_0x3a605e);}[_0x1c66a7(0x2e5)](_0x3b647a,_0xa707c4){var _0x498829=_0x1c66a7;if(_0xa707c4===z[_0x498829(0x391)]['BASE64']){const _0x4a1965=new Image();return _0x4a1965[_0x498829(0x315)]=_0x3b647a,_0x4a1965;}return this[_0x498829(0x30c)]['get'](_0x3b647a);}[_0x1c66a7(0x2f7)](_0x20f87d,_0x1003cd,_0x2f9a2b){var _0x273b3d=_0x1c66a7;_0x1003cd===z[_0x273b3d(0x391)][_0x273b3d(0x34e)]||_0x2f9a2b==null||this[_0x273b3d(0x30c)][_0x273b3d(0x352)](_0x20f87d,_0x2f9a2b);}async[_0x1c66a7(0x49b)](_0x189a60){var _0x2de455=_0x1c66a7;try{const _0x1407f1=this[_0x2de455(0x270)](this[_0x2de455(0x2c4)](),''+_0x189a60),_0x93706=(await this[_0x2de455(0x321)]['get'](_0x1407f1))[_0x2de455(0x343)];if(_0x93706['error']&&_0x93706['error'][_0x2de455(0x36d)]===gt['OK']){const _0x455634=new URL(_0x93706['url'],this[_0x2de455(0x4b1)]())[_0x2de455(0x21d)]();return Promise[_0x2de455(0x164)](_0x455634);}return Promise[_0x2de455(0x2f0)](_0x93706[_0x2de455(0x3b6)]);}catch(_0x5e4b79){return Promise[_0x2de455(0x2f0)](_0x5e4b79);}}async[_0x1c66a7(0x26b)](_0x2ed887){var _0x5efdfe=_0x1c66a7;let _0x354dae='';if(!ln[_0x5efdfe(0x252)](_0x2ed887[_0x5efdfe(0x231)]))return this[_0x5efdfe(0x375)](),Promise[_0x5efdfe(0x2f0)](new Error(z[_0x5efdfe(0x1a0)][_0x5efdfe(0x4b6)]));if(_0x2ed887['size']>un)return this[_0x5efdfe(0x375)](),Promise[_0x5efdfe(0x2f0)](new Error(z[_0x5efdfe(0x1a0)][_0x5efdfe(0x3e3)]));try{const _0x496884=new FormData();_0x496884[_0x5efdfe(0x2ab)](_0x5efdfe(0x4ab),_0x2ed887);const _0x71f7ce=this['_univerInstanceService'][_0x5efdfe(0x1af)](),_0x2fa59e=_0x71f7ce==null?void 0x0:_0x71f7ce['getUnitId']();if(!_0x2fa59e)throw new Error(_0x5efdfe(0x213));const _0x52d273=this['_getUploadFileURL']()+_0x5efdfe(0x3e2)+_0x2ed887['size']['toString']()+_0x5efdfe(0x185)+Et[_0x5efdfe(0x16a)]+_0x5efdfe(0x31b)+encodeURIComponent(_0x2fa59e),_0x3548f8={'body':_0x496884},_0x258db4=(await this[_0x5efdfe(0x321)][_0x5efdfe(0x301)](_0x52d273,_0x3548f8))['body'];if(typeof _0x258db4[_0x5efdfe(0x3c4)]!=_0x5efdfe(0x179))return this[_0x5efdfe(0x375)](),Promise[_0x5efdfe(0x2f0)](new Error(z[_0x5efdfe(0x1a0)][_0x5efdfe(0x386)]));_0x354dae=_0x258db4[_0x5efdfe(0x3c4)];}catch{return this['_decreaseWaiting'](),Promise[_0x5efdfe(0x2f0)](new Error(z[_0x5efdfe(0x1a0)][_0x5efdfe(0x386)]));}return new Promise((_0x13505b,_0x72e9db)=>{var _0x39a45b=_0x5efdfe;const _0x4ec23b=new FileReader();_0x4ec23b[_0x39a45b(0x26f)](_0x2ed887),_0x4ec23b[_0x39a45b(0x3a8)]=_0x38230f=>{var _0x42fd12=_0x39a45b,_0xf6b0ee;const _0x57b0c9=(_0xf6b0ee=_0x38230f[_0x42fd12(0x2c5)])==null?void 0x0:_0xf6b0ee['result'];if(_0x57b0c9==null){this[_0x42fd12(0x375)](),_0x72e9db(new Error(z['ImageUploadStatusType'][_0x42fd12(0x386)]));return;}const _0x593ecd=a['Tools'][_0x42fd12(0x2e9)](0x6);_0x13505b({'imageId':_0x593ecd,'imageSourceType':z[_0x42fd12(0x391)]['UUID'],'source':_0x354dae,'base64Cache':_0x57b0c9,'status':z[_0x42fd12(0x1a0)][_0x42fd12(0x40a)]}),this[_0x42fd12(0x375)]();};});}[_0x1c66a7(0x158)](){var _0x8937a0=_0x1c66a7,_0xfa8348,_0x43d415;const _0x205670=this[_0x8937a0(0x26d)]['getConfig'](dn),_0x731c96=this[_0x8937a0(0x26d)][_0x8937a0(0x3b7)](K);return(_0x43d415=(_0xfa8348=_0x731c96==null?void 0x0:_0x731c96[_0x8937a0(0x346)])!=null?_0xfa8348:_0x205670)!=null?_0x43d415:vn;}[_0x1c66a7(0x2c4)](){var _0x45e9d7=_0x1c66a7,_0x1f6914,_0x2e76eb;const _0x218dd4=this['_configService']['getConfig'](Sn),_0x2af4d9=this[_0x45e9d7(0x26d)]['getConfig'](K);return(_0x2e76eb=(_0x1f6914=_0x2af4d9==null?void 0x0:_0x2af4d9[_0x45e9d7(0x376)])!=null?_0x1f6914:_0x218dd4)!=null?_0x2e76eb:fn;}['_getDownloadEndpointURL'](){var _0xfdd9f6=_0x1c66a7,_0x4d47fc;const _0x4a5c6d=this[_0xfdd9f6(0x26d)]['getConfig'](K);return(_0x4d47fc=_0x4a5c6d==null?void 0x0:_0x4a5c6d[_0xfdd9f6(0x387)])!=null?_0x4d47fc:location[_0xfdd9f6(0x257)];}[_0x1c66a7(0x270)](_0xc315aa,_0x5be9cd){var _0x140562=_0x1c66a7;return _0xc315aa[_0x140562(0x47e)](_0x140562(0x49c),_0x5be9cd);}[_0x1c66a7(0x375)](){var _0x5629c7=_0x1c66a7;this[_0x5629c7(0x3dc)]-=0x1,this[_0x5629c7(0x199)][_0x5629c7(0x18f)](this[_0x5629c7(0x3dc)]);}},exports['CollaborationImageIoService']=_n([Le(0x0,a['Inject'](Y[_0x1c66a7(0x322)])),Le(0x1,a['IConfigService']),Le(0x2,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x2c7)]))],exports['CollaborationImageIoService']);var pn=Object[_0x1c66a7(0x18b)],In=(_0x5d53af,_0x3b0a87,_0x4e8784,_0x4b6724)=>{for(var _0x33e3dc=_0x4b6724>0x1?void 0x0:_0x4b6724?pn(_0x3b0a87,_0x4e8784):_0x3b0a87,_0x37dc35=_0x5d53af['length']-0x1,_0x4e6d14;_0x37dc35>=0x0;_0x37dc35--)(_0x4e6d14=_0x5d53af[_0x37dc35])&&(_0x33e3dc=_0x4e6d14(_0x33e3dc)||_0x33e3dc);return _0x33e3dc;},at=(_0x537032,_0x8a8ff7)=>(_0x171376,_0x3e27cc)=>_0x8a8ff7(_0x171376,_0x3e27cc,_0x537032);const gn=_0x1c66a7(0x3db);exports[_0x1c66a7(0x334)]=class{constructor(_0x526f08,_0x2460ac){var _0x1c7351=_0x1c66a7;this[_0x1c7351(0x26d)]=_0x526f08,this[_0x1c7351(0x450)]=_0x2460ac;}['_getAPIPrefixPath'](){var _0x4c8c39=_0x1c66a7,_0x5013ea,_0x17f62c;const _0x58a7ba=this[_0x4c8c39(0x26d)][_0x4c8c39(0x3b7)](Ve),_0x7e39e4=this[_0x4c8c39(0x26d)][_0x4c8c39(0x3b7)](K);return(_0x17f62c=(_0x5013ea=_0x7e39e4==null?void 0x0:_0x7e39e4[_0x4c8c39(0x3d4)])!=null?_0x5013ea:_0x58a7ba)!=null?_0x17f62c:gn;}async[_0x1c66a7(0x2d2)](_0xaa0e41){var _0x4651b7=_0x1c66a7;const _0x13d3b2=this['_getAPIPrefixPath']()+_0x4651b7(0x3f4);return{'list':[{'title':_0x4651b7(0x48f),'mentions':(await this[_0x4651b7(0x450)][_0x4651b7(0x2ba)](_0x13d3b2,{'params':{'objectID':_0xaa0e41[_0x4651b7(0x250)],'unitID':_0xaa0e41[_0x4651b7(0x250)]}}))['body'][_0x4651b7(0x395)]['map'](_0x24a8ce=>({'objectId':_0x24a8ce['id'],'name':_0x24a8ce[_0x4651b7(0x18a)][_0x4651b7(0x1b8)],'metadata':{'icon':_0x24a8ce[_0x4651b7(0x18a)]['avatar']},'label':_0x24a8ce['subject'][_0x4651b7(0x1b8)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a[_0x4651b7(0x43c)][_0x4651b7(0x2d5)]}]};}},exports['MentionIoHttpService']=In([at(0x0,a[_0x1c66a7(0x1a6)](a['IConfigService'])),at(0x1,a['Inject'](Y['HTTPService']))],exports[_0x1c66a7(0x334)]);var En=Object['getOwnPropertyDescriptor'],mn=(_0x49693d,_0x1789cc,_0x1e1956,_0x3f163a)=>{var _0x251c41=_0x1c66a7;for(var _0x590324=_0x3f163a>0x1?void 0x0:_0x3f163a?En(_0x1789cc,_0x1e1956):_0x1789cc,_0x3aab93=_0x49693d[_0x251c41(0x1c0)]-0x1,_0x4ddfc4;_0x3aab93>=0x0;_0x3aab93--)(_0x4ddfc4=_0x49693d[_0x3aab93])&&(_0x590324=_0x4ddfc4(_0x590324)||_0x590324);return _0x590324;},le=(_0x31a5e9,_0x59e880)=>(_0x1e21a1,_0x4d0489)=>_0x59e880(_0x1e21a1,_0x4d0489,_0x31a5e9);let Ue=class extends a[_0x1c66a7(0x19b)]{constructor(_0x470272,_0x2fad9c,_0x83efd9,_0x3c021f,_0x1aee3e){var _0x238361=_0x1c66a7;super(),this[_0x238361(0x2cf)]=_0x470272,this['_univerInstanceService']=_0x2fad9c,this[_0x238361(0x1c3)]=_0x83efd9,this[_0x238361(0x30d)]=_0x3c021f,this[_0x238361(0x459)]=_0x1aee3e,this[_0x238361(0x317)](),this[_0x238361(0x2e2)]();}['_initCloseConn'](){var _0x4aa0b9=_0x1c66a7;const _0x496a71=async _0x5d99cd=>{var _0x536157=_0x1aa6;(await this[_0x536157(0x30d)][_0x536157(0x345)](_0x5d99cd))[_0x536157(0x1e5)]['pipe'](V[_0x536157(0x411)](_0x156607=>_0x156607[_0x536157(0x21a)]===I['CollaborationEvent'][_0x536157(0x1d9)]),V['takeUntil'](this[_0x536157(0x3a4)]))[_0x536157(0x400)](_0x57621a=>{var _0x1a5fd5=_0x536157;const _0x10fc1c=_0x57621a,{reason:_0x5219a7}=_0x10fc1c[_0x1a5fd5(0x3a5)];this['_collaborationUIEventService'][_0x1a5fd5(0x2c0)]({'id':Z[_0x1a5fd5(0x2d7)],'data':_0x5219a7}),this[_0x1a5fd5(0x1c3)]['updatePermissionPoint'](new X[(_0x1a5fd5(0x3e6))](_0x5d99cd)['id'],!0x1),this[_0x1a5fd5(0x30d)][_0x1a5fd5(0x34f)](_0x5d99cd);});};$[_0x4aa0b9(0x207)](this[_0x4aa0b9(0x204)][_0x4aa0b9(0x408)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x4aa0b9(0x204)][_0x4aa0b9(0x408)](a[_0x4aa0b9(0x23d)]['UNIVER_DOC']))['pipe'](V['map'](_0x2d50e1=>_0x2d50e1[_0x4aa0b9(0x495)]()),V[_0x4aa0b9(0x411)](_0x239449=>!a[_0x4aa0b9(0x226)](_0x239449)),V[_0x4aa0b9(0x22f)](this[_0x4aa0b9(0x3a4)]))[_0x4aa0b9(0x400)](_0x33cc4b=>{_0x496a71(_0x33cc4b);});}[_0x1c66a7(0x317)](){var _0x34ac59=_0x1c66a7;const _0x3c72ee=async _0x4cce79=>{var _0xa44ac7=_0x1aa6;const _0x502a58=await this[_0xa44ac7(0x30d)][_0xa44ac7(0x345)](_0x4cce79),_0x2c61a3=this[_0xa44ac7(0x2cf)][_0xa44ac7(0x2ba)](X[_0xa44ac7(0x230)]);_0x502a58[_0xa44ac7(0x1e5)][_0xa44ac7(0x1a3)](V[_0xa44ac7(0x411)](_0x530ce4=>_0x530ce4[_0xa44ac7(0x21a)]===I['CollaborationEvent'][_0xa44ac7(0x48e)]),V['takeUntil'](this['dispose$']))[_0xa44ac7(0x400)](_0x63e4de=>{var _0x56584c=_0xa44ac7;const _0x3befb1=_0x63e4de,{objectId:_0x41e3fd}=_0x3befb1['data'];_0x41e3fd===_0x4cce79?_0x2c61a3[_0x56584c(0x338)](_0x4cce79):_0x2c61a3[_0x56584c(0x1f1)](_0x4cce79,_0x41e3fd);});};$[_0x34ac59(0x207)](this[_0x34ac59(0x204)]['getTypeOfUnitAdded$'](a[_0x34ac59(0x23d)][_0x34ac59(0x1dc)]))[_0x34ac59(0x1a3)](V[_0x34ac59(0x3a1)](_0x4c4e04=>_0x4c4e04[_0x34ac59(0x495)]()),V['filter'](_0x22e28e=>!a[_0x34ac59(0x226)](_0x22e28e)),V[_0x34ac59(0x22f)](this['dispose$']))[_0x34ac59(0x400)](_0x1fbc2a=>{_0x3c72ee(_0x1fbc2a);});}};Ue=mn([le(0x0,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),le(0x1,a[_0x1c66a7(0x2c7)]),le(0x2,a['IPermissionService']),le(0x3,a[_0x1c66a7(0x1a6)](exports[_0x1c66a7(0x263)])),le(0x4,a[_0x1c66a7(0x1a6)](ee))],Ue);var Cn=Object[_0x1c66a7(0x18b)],Tn=(_0x79c630,_0x73815f,_0xd70f84,_0x20aecc)=>{for(var _0x5c162f=_0x20aecc>0x1?void 0x0:_0x20aecc?Cn(_0x73815f,_0xd70f84):_0x73815f,_0x35240a=_0x79c630['length']-0x1,_0x552608;_0x35240a>=0x0;_0x35240a--)(_0x552608=_0x79c630[_0x35240a])&&(_0x5c162f=_0x552608(_0x5c162f)||_0x5c162f);return _0x5c162f;},ct=(_0x2d19be,_0x14b7e4)=>(_0x2249e2,_0x5e5d2b)=>_0x14b7e4(_0x2249e2,_0x5e5d2b,_0x2d19be);exports['SnapshotServerOverHTTPService']=class{constructor(_0x1d8db9,_0x42ef2e){var _0x4f08c9=_0x1c66a7;this[_0x4f08c9(0x26d)]=_0x1d8db9,this['_httpService']=_0x42ef2e;}async[_0x1c66a7(0x445)](_0x1208f9,_0x48af11){var _0x470aff=_0x1c66a7,_0x3ef2a2;const {unitID:_0x5332c8,type:_0x2ede73,revision:_0x511dbb=0x0}=_0x48af11,_0x166389=this[_0x470aff(0x2f4)]()+'/'+_0x2ede73+_0x470aff(0x167)+_0x5332c8+_0x470aff(0x29f)+_0x511dbb,_0x5718a7=(await this['_httpService'][_0x470aff(0x2ba)](_0x166389))[_0x470aff(0x343)],_0x490e05=(_0x3ef2a2=_0x5718a7[_0x470aff(0x393)])==null?void 0x0:_0x3ef2a2[_0x470aff(0x1f5)];if(_0x490e05){const _0xfb761f=_0x490e05==null?void 0x0:_0x490e05[_0x470aff(0x27e)],_0x3bf57d=I['textEncoder'][_0x470aff(0x323)](I[_0x470aff(0x487)](_0xfb761f));_0x490e05[_0x470aff(0x27e)]=_0x3bf57d,Object['entries'](_0x490e05[_0x470aff(0x341)])['forEach'](([,_0x3df431])=>{var _0xc66abc=_0x470aff;const _0x354f3c=_0x3df431[_0xc66abc(0x27e)],_0xa8ee49=I[_0xc66abc(0x1e7)][_0xc66abc(0x323)](I[_0xc66abc(0x487)](_0x354f3c));_0x3df431['originalMeta']=_0xa8ee49;});}return _0x5718a7;}async['getSheetBlock'](_0x115837,_0x4fe5df){var _0x3336c5=_0x1c66a7;const {unitID:_0x4d7626,type:_0x4112db,blockID:_0x3d3d80}=_0x4fe5df,_0x1a6ee5=this[_0x3336c5(0x340)]()+'/'+_0x4112db+_0x3336c5(0x167)+_0x4d7626+_0x3336c5(0x4b7)+_0x3d3d80;return(await this[_0x3336c5(0x321)][_0x3336c5(0x2ba)](_0x1a6ee5))[_0x3336c5(0x343)];}async[_0x1c66a7(0x18d)](_0x3710c0,_0xd3e6b5){var _0x39f4d5=_0x1c66a7;const {unitID:_0xeaf184,type:_0x2b0ca7,blockID:_0x4dca1f}=_0xd3e6b5,_0x1a2036=this[_0x39f4d5(0x340)]()+_0x39f4d5(0x4b7)+_0x2b0ca7+_0x39f4d5(0x167)+_0xeaf184+_0x39f4d5(0x4b7)+_0x4dca1f;return(await this[_0x39f4d5(0x321)]['get'](_0x1a2036))[_0x39f4d5(0x343)];}async[_0x1c66a7(0x466)](_0x4f6fc3,_0x2da8e3){var _0x454ae0=_0x1c66a7;const {unitID:_0x515bf4,type:_0x4e1d6a,from:_0x42c3c7,to:_0x3e8f72}=_0x2da8e3,_0xa61b11=this['_getAPIPrefix']()+'/'+_0x4e1d6a+_0x454ae0(0x167)+_0x515bf4+'/fetchmissing?from='+_0x42c3c7+_0x454ae0(0x3fc)+_0x3e8f72;return(await this[_0x454ae0(0x321)][_0x454ae0(0x2ba)](_0xa61b11))['body'];}[_0x1c66a7(0x2f4)](){var _0x4d8f5f=_0x1c66a7,_0x60c37;return(_0x60c37=this[_0x4d8f5f(0x26d)][_0x4d8f5f(0x3b7)](lt))!=null?_0x60c37:this['_getAPIPrefix']();}[_0x1c66a7(0x340)](){var _0x37ab30=_0x1c66a7,_0xc787f3,_0x59aece;const _0x573529=this[_0x37ab30(0x26d)]['getConfig'](_t),_0x340fa0=this[_0x37ab30(0x26d)][_0x37ab30(0x3b7)](K);return(_0x59aece=(_0xc787f3=_0x340fa0==null?void 0x0:_0x340fa0[_0x37ab30(0x373)])!=null?_0xc787f3:_0x573529)!=null?_0x59aece:Lt;}async[_0x1c66a7(0x2db)](_0x2aba66,_0x350c21){var _0x4b493d=_0x1c66a7;const _0x4668e0=_0x4b493d(0x20b)+_0x350c21[_0x4b493d(0x231)]+_0x4b493d(0x167)+_0x350c21[_0x4b493d(0x329)]+_0x4b493d(0x19d);return(await this['_httpService'][_0x4b493d(0x2ba)](_0x4668e0,{'params':{'resourceId':JSON['stringify'](_0x350c21['resourceIDs'])}}))['body'];}['saveSnapshot'](){var _0x36fe86=_0x1c66a7;throw new Error(_0x36fe86(0x468));}[_0x1c66a7(0x1ad)](){var _0xf22d8c=_0x1c66a7;throw new Error(_0xf22d8c(0x468));}['saveSheetBlock'](){var _0x4c8924=_0x1c66a7;throw new Error(_0x4c8924(0x468));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1c66a7(0x420)](){var _0x1d6090=_0x1c66a7;throw new Error(_0x1d6090(0x468));}['getLatestCsReqIdBySid'](){var _0x297171=_0x1c66a7;throw new Error(_0x297171(0x468));}},exports[_0x1c66a7(0x39f)]=Tn([ct(0x0,a[_0x1c66a7(0x33a)]),ct(0x1,a['Inject'](Y[_0x1c66a7(0x322)]))],exports[_0x1c66a7(0x39f)]);var bn=Object[_0x1c66a7(0x18b)],Rn=(_0xd011d,_0x35d808,_0x370cce,_0x2ba3c3)=>{for(var _0x2f7502=_0x2ba3c3>0x1?void 0x0:_0x2ba3c3?bn(_0x35d808,_0x370cce):_0x35d808,_0x56a25c=_0xd011d['length']-0x1,_0x110a69;_0x56a25c>=0x0;_0x56a25c--)(_0x110a69=_0xd011d[_0x56a25c])&&(_0x2f7502=_0x110a69(_0x2f7502)||_0x2f7502);return _0x2f7502;},ue=(_0x520708,_0x3a4b7e)=>(_0x16af7b,_0x4695df)=>_0x3a4b7e(_0x16af7b,_0x4695df,_0x520708);exports['CollaborativeUndoRedoService']=class extends a['LocalUndoRedoService']{constructor(_0x1b1f3d,_0x20050d,_0x198778,_0x15e1da,_0x5f06c3){var _0x4c201f=_0x1c66a7;super(_0x1b1f3d,_0x20050d,_0x198778),this[_0x4c201f(0x225)]=_0x15e1da,this[_0x4c201f(0x309)]=_0x5f06c3;}[_0x1c66a7(0x2ac)](_0x15c861,_0x202bd4){var _0x265e61=_0x1c66a7;const _0x436a75=this[_0x265e61(0x36e)](_0x15c861);if(_0x436a75)try{const _0x53d256=this[_0x265e61(0x4a0)](_0x436a75,_0x202bd4);this[_0x265e61(0x194)](_0x15c861,_0x53d256);}catch(_0x332e8e){this[_0x265e61(0x309)]['error'](_0x265e61(0x206),_0x332e8e),this[_0x265e61(0x140)](_0x15c861);}const _0x26794b=this[_0x265e61(0x1cf)](_0x15c861);if(_0x26794b)try{const _0x3685e2=this['_transformStack'](_0x26794b,_0x202bd4);this[_0x265e61(0x21b)](_0x15c861,_0x3685e2);}catch(_0x2b3844){this['_logService'][_0x265e61(0x3b6)](_0x2b3844),this[_0x265e61(0x443)](_0x15c861);}}[_0x1c66a7(0x140)](_0x28457e){var _0x5e69b4=_0x1c66a7;const _0x4446b7=this['_getUndoStack'](_0x28457e);_0x4446b7&&(_0x4446b7[_0x5e69b4(0x1c0)]=0x0,this[_0x5e69b4(0x214)]());}[_0x1c66a7(0x443)](_0xb04e0b){var _0x3a33dd=_0x1c66a7;const _0x5dafdd=this[_0x3a33dd(0x1cf)](_0xb04e0b);_0x5dafdd&&(_0x5dafdd['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x645e74,_0x32f3e3){var _0x355541=_0x1c66a7;this[_0x355541(0x19e)][_0x355541(0x352)](_0x645e74,_0x32f3e3),this[_0x355541(0x214)]();}[_0x1c66a7(0x21b)](_0x3e8074,_0x1fe19f){var _0x143a76=_0x1c66a7;this[_0x143a76(0x28d)]['set'](_0x3e8074,_0x1fe19f),this[_0x143a76(0x214)]();}[_0x1c66a7(0x4a0)](_0xa137e5,_0x364ad6){var _0x52e8d7=_0x1c66a7;const _0x15d033=[];let _0x12871e=_0x364ad6,_0x203e82=_0x364ad6;for(let _0x3a1aab=_0xa137e5['length']-0x1;_0x3a1aab>=0x0;_0x3a1aab--){const {unitID:_0x5b8f68,undoMutations:_0x1dc511,redoMutations:_0x37cbb0}=_0xa137e5[_0x3a1aab],_0x52f7f1=this[_0x52e8d7(0x225)][_0x52e8d7(0x239)](_0x12871e,_0x1dc511),_0x175afe=this[_0x52e8d7(0x225)]['transformMutationsWithChangeset'](_0x203e82,_0x37cbb0);if(I['isTransformMutationsWithChangesetFailure'](_0x52f7f1)||I['isTransformMutationsWithChangesetFailure'](_0x175afe)){this['_logService'][_0x52e8d7(0x3b6)](_0x52e8d7(0x206),_0x52e8d7(0x49a),_0x52f7f1,_0x175afe);break;}_0x12871e=_0x52f7f1['c1Prime'],_0x203e82=_0x175afe[_0x52e8d7(0x2ef)],_0x15d033['push']({'unitID':_0x5b8f68,'undoMutations':_0x52f7f1[_0x52e8d7(0x428)],'redoMutations':_0x175afe[_0x52e8d7(0x428)]});}return _0x15d033['reverse']();}},exports['CollaborativeUndoRedoService']=Rn([ue(0x0,a[_0x1c66a7(0x2c7)]),ue(0x1,a[_0x1c66a7(0x31c)]),ue(0x2,a['IContextService']),ue(0x3,I[_0x1c66a7(0x15f)]),ue(0x4,a[_0x1c66a7(0x2c8)])],exports[_0x1c66a7(0x390)]);var On=Object['defineProperty'],yn=Object['getOwnPropertyDescriptor'],Nn=(_0x1d2241,_0xe82a2f,_0x31a2fa)=>_0xe82a2f in _0x1d2241?On(_0x1d2241,_0xe82a2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31a2fa}):_0x1d2241[_0xe82a2f]=_0x31a2fa,Un=(_0x174047,_0x2cad89,_0x279b0b,_0x257813)=>{var _0x4073d9=_0x1c66a7;for(var _0x4b256a=_0x257813>0x1?void 0x0:_0x257813?yn(_0x2cad89,_0x279b0b):_0x2cad89,_0x1b5cab=_0x174047[_0x4073d9(0x1c0)]-0x1,_0x7f396c;_0x1b5cab>=0x0;_0x1b5cab--)(_0x7f396c=_0x174047[_0x1b5cab])&&(_0x4b256a=_0x7f396c(_0x4b256a)||_0x4b256a);return _0x4b256a;},Me=(_0x204009,_0x4139c2)=>(_0x420896,_0x254f48)=>_0x4139c2(_0x420896,_0x254f48,_0x204009),Dn=(_0x30818a,_0xd8cfaf,_0x3df0aa)=>Nn(_0x30818a,_0xd8cfaf+'',_0x3df0aa);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x1c66a7(0x406)]=class extends a[_0x1c66a7(0x1bd)]{constructor(_0x503283,_0x3b342a,_0x36dfeb,_0x49d094){var _0x1082f6=_0x1c66a7;super(),A(this,'_config'),(this['_logService']=_0x3b342a,this[_0x1082f6(0x2cf)]=_0x36dfeb,this[_0x1082f6(0x26d)]=_0x49d094);const {..._0x43d0de}=a[_0x1082f6(0x207)]({},Yt,_0x503283);if(!_0x43d0de[_0x1082f6(0x474)])throw new Error(_0x1082f6(0x463));this[_0x1082f6(0x418)]=_0x43d0de,this[_0x1082f6(0x26d)][_0x1082f6(0x4a1)](K,_0x43d0de);}[_0x1c66a7(0x1a2)](){var _0x1e69d0=_0x1c66a7;this[_0x1e69d0(0x264)](),this[_0x1e69d0(0x2b1)]();}[_0x1c66a7(0x264)](){var _0x2f1e0b=_0x1c66a7,_0xf9100c,_0x2e2c21;this[_0x2f1e0b(0x2cf)]['has'](a['IUndoRedoService'])&&this[_0x2f1e0b(0x309)][_0x2f1e0b(0x3b6)]('[UniverCollaborationClientPlugin]',_0x2f1e0b(0x276));const _0x5c45f8=a[_0x2f1e0b(0x1a1)]([[a['IUndoRedoService'],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x2f1e0b(0x263)]],[exports['MemberService']],[exports[_0x2f1e0b(0x43a)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x2f1e0b(0x305)]],[He,{'useClass':this[_0x2f1e0b(0x418)][_0x2f1e0b(0x474)]}],[I[_0x2f1e0b(0x3fe)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a['IAuthzIoService'],{'useClass':exports[_0x2f1e0b(0x20e)]}],[z[_0x2f1e0b(0x493)],{'useClass':exports[_0x2f1e0b(0x1be)]}],[a[_0x2f1e0b(0x277)],{'useClass':exports[_0x2f1e0b(0x334)]}],[exports[_0x2f1e0b(0x29a)]],[xe]],(_0xf9100c=this[_0x2f1e0b(0x418)])==null?void 0x0:_0xf9100c['override']);if(!((_0x2e2c21=this[_0x2f1e0b(0x418)])!=null&&_0x2e2c21['enableSingleActiveInstanceLock'])){const _0x394f9d=_0x5c45f8[_0x2f1e0b(0x2fc)](([_0x62e527])=>_0x62e527===de);_0x394f9d!==-0x1&&_0x5c45f8[_0x2f1e0b(0x4bc)](_0x394f9d,0x1);}a[_0x2f1e0b(0x15d)](this[_0x2f1e0b(0x2cf)],_0x5c45f8);}[_0x1c66a7(0x2b1)](){var _0x56fe47=_0x1c66a7,_0x5f6f0,_0x1230b2,_0xd2c178;this[_0x56fe47(0x2cf)][_0x56fe47(0x2ba)](Y[_0x56fe47(0x322)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x5f6f0=this['_config'])!=null&&_0x5f6f0[_0x56fe47(0x286)]||(_0x1230b2=this[_0x56fe47(0x2cf)][_0x56fe47(0x2ba)](q,a[_0x56fe47(0x316)]['OPTIONAL']))==null||_0x1230b2[_0x56fe47(0x2e8)](),(_0xd2c178=this[_0x56fe47(0x418)])!=null&&_0xd2c178[_0x56fe47(0x304)]&&a[_0x56fe47(0x19a)](this[_0x56fe47(0x2cf)],[[ye]]),a[_0x56fe47(0x19a)](this[_0x56fe47(0x2cf)],[[Ne],[exports['CollaborationController']],[Ue]]);}},Dn(exports[_0x1c66a7(0x406)],_0x1c66a7(0x432),An),exports['UniverCollaborationClientPlugin']=Un([a[_0x1c66a7(0x2a8)](I[_0x1c66a7(0x273)],Y[_0x1c66a7(0x492)]),Me(0x1,a[_0x1c66a7(0x2c8)]),Me(0x2,a[_0x1c66a7(0x1a6)](a[_0x1c66a7(0x347)])),Me(0x3,a[_0x1c66a7(0x33a)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=Ve,exports[_0x1c66a7(0x2d8)]=K,exports[_0x1c66a7(0x470)]=pt,exports[_0x1c66a7(0x3af)]=ut,exports[_0x1c66a7(0x2fd)]=Be,exports['CollaborationUIEventId']=Z,exports[_0x1c66a7(0x298)]=ee,exports[_0x1c66a7(0x3d1)]=$e,exports[_0x1c66a7(0x1a7)]=dt,exports[_0x1c66a7(0x45c)]=Kt,exports[_0x1c66a7(0x4b3)]=kt,exports['HEARTBEAT_INTERVAL_KEY']=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=He,exports[_0x1c66a7(0x4a2)]=q,exports[_0x1c66a7(0x405)]=mt,exports[_0x1c66a7(0x33c)]=de,exports[_0x1c66a7(0x364)]=Ft,exports[_0x1c66a7(0x374)]=Bt,exports[_0x1c66a7(0x32e)]=It,exports[_0x1c66a7(0x13f)]=Gt,exports[_0x1c66a7(0x478)]=ft,exports['SEND_CHANGESET_TIMEOUT_KEY']=Mt,exports[_0x1c66a7(0x29b)]=_t,exports[_0x1c66a7(0x388)]=lt,exports[_0x1c66a7(0x1c9)]=re,exports[_0x1c66a7(0x3ae)]=je,exports[_0x1c66a7(0x23e)]=Ct,exports[_0x1c66a7(0x407)]=oi,exports[_0x1c66a7(0x32d)]=Tt;
|
1
|
+
'use strict';var _0x190638=_0x2488;(function(_0x35eda4,_0x25d703){var _0x51563a=_0x2488,_0x9a0713=_0x35eda4();while(!![]){try{var _0x4ee8e8=parseInt(_0x51563a(0x255))/0x1+parseInt(_0x51563a(0x42f))/0x2+parseInt(_0x51563a(0x40d))/0x3+parseInt(_0x51563a(0x188))/0x4*(parseInt(_0x51563a(0x115))/0x5)+-parseInt(_0x51563a(0xde))/0x6+parseInt(_0x51563a(0x286))/0x7*(-parseInt(_0x51563a(0x278))/0x8)+-parseInt(_0x51563a(0x1a8))/0x9;if(_0x4ee8e8===_0x25d703)break;else _0x9a0713['push'](_0x9a0713['shift']());}catch(_0x5160cd){_0x9a0713['push'](_0x9a0713['shift']());}}}(_0x4c74,0xd9d0b));var Dt=Object[_0x190638(0x3e0)],At=(_0x27572a,_0x252f39,_0x1e2da1)=>_0x252f39 in _0x27572a?Dt(_0x27572a,_0x252f39,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e2da1}):_0x27572a[_0x252f39]=_0x1e2da1,A=(_0x5466bb,_0x37f82a,_0x4c420d)=>At(_0x5466bb,typeof _0x37f82a!=_0x190638(0x273)?_0x37f82a+'':_0x37f82a,_0x4c420d);Object[_0x190638(0x3e0)](exports,Symbol[_0x190638(0x182)],{'value':_0x190638(0x3f0)});const a=require('@univerjs/core'),$=require('rxjs'),V=require(_0x190638(0x3a6)),I=require('@univerjs-pro/collaboration'),Y=require(_0x190638(0x135)),Pt=require(_0x190638(0x406)),ht=require(_0x190638(0x1ca)),X=require(_0x190638(0x22d)),z=require('@univerjs/drawing'),wt=require(_0x190638(0x35b)),_t=_0x190638(0xcc),Lt='/universer-api/snapshot',lt='SNAPSHOT_URL_KEY',Mt=_0x190638(0x281),xt=0x7d0,ut=_0x190638(0x381),dt=_0x190638(0x21a),kt=_0x190638(0x1cf),vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x190638(0x261),St=0x4e20,$t=0x4e20,ft=_0x190638(0x1c1),jt=0x3,Bt=_0x190638(0x2ac),Ft=0x3e8,pt=_0x190638(0x429),Vt=_0x190638(0x179),It=_0x190638(0x37d),Wt='/universer-api/oidc/authpage',Gt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Kt=_0x190638(0x1dc);var gt=(_0x2e01d4=>(_0x2e01d4[_0x2e01d4['UNDEFINED']=0x0]='UNDEFINED',_0x2e01d4[_0x2e01d4['OK']=0x1]='OK',_0x2e01d4[_0x2e01d4[_0x190638(0x33a)]=0x2]=_0x190638(0x33a),_0x2e01d4[_0x2e01d4[_0x190638(0x2d1)]=0x3]=_0x190638(0x2d1),_0x2e01d4[_0x2e01d4[_0x190638(0x151)]=0x4]='NOT_FOUND',_0x2e01d4[_0x2e01d4[_0x190638(0x1f8)]=0x5]=_0x190638(0x1f8),_0x2e01d4[_0x2e01d4[_0x190638(0x2a3)]=0x6]=_0x190638(0x2a3),_0x2e01d4[_0x2e01d4[_0x190638(0x2d7)]=0x7]='INVALID_ARGUMENT',_0x2e01d4[_0x2e01d4[_0x190638(0x36b)]=0x8]=_0x190638(0x36b),_0x2e01d4[_0x2e01d4['COMPLETION_FINISHED']=0x9]=_0x190638(0x163),_0x2e01d4[_0x2e01d4[_0x190638(0x154)]=0xa]=_0x190638(0x154),_0x2e01d4[_0x2e01d4[_0x190638(0x2b6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2e01d4[_0x2e01d4[_0x190638(0x210)]=0x1771]=_0x190638(0x210),_0x2e01d4[_0x2e01d4[_0x190638(0x12d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2e01d4[_0x2e01d4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2e01d4[_0x2e01d4[_0x190638(0x35c)]=0x1b59]=_0x190638(0x35c),_0x2e01d4[_0x2e01d4[_0x190638(0x31b)]=0x1b5a]=_0x190638(0x31b),_0x2e01d4[_0x2e01d4['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x190638(0x2cc),_0x2e01d4[_0x2e01d4[_0x190638(0x3e5)]=0x1b5c]=_0x190638(0x3e5),_0x2e01d4[_0x2e01d4[_0x190638(0x164)]=0x1b5d]=_0x190638(0x164),_0x2e01d4[_0x2e01d4['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x190638(0xfa),_0x2e01d4[_0x2e01d4[_0x190638(0x3ce)]=0x2329]=_0x190638(0x3ce),_0x2e01d4[_0x2e01d4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2e01d4[_0x2e01d4[_0x190638(0x414)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2e01d4[_0x2e01d4[_0x190638(0x19a)]=0x232c]=_0x190638(0x19a),_0x2e01d4[_0x2e01d4[_0x190638(0x29f)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2e01d4[_0x2e01d4[_0x190638(0x264)]=0x2711]=_0x190638(0x264),_0x2e01d4[_0x2e01d4[_0x190638(0x1b4)]=0x2712]=_0x190638(0x1b4),_0x2e01d4[_0x2e01d4[_0x190638(0x3e4)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2e01d4[_0x2e01d4['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x190638(0x3b3),_0x2e01d4[_0x2e01d4['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x190638(0x147),_0x2e01d4[_0x2e01d4[_0x190638(0x18c)]=0x271b]=_0x190638(0x18c),_0x2e01d4[_0x2e01d4[_0x190638(0x16e)]=0x271c]=_0x190638(0x16e),_0x2e01d4[_0x2e01d4[_0x190638(0x2f5)]=0x271d]=_0x190638(0x2f5),_0x2e01d4[_0x2e01d4['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x190638(0x20d),_0x2e01d4[_0x2e01d4[_0x190638(0x1e9)]=0x271f]=_0x190638(0x1e9),_0x2e01d4[_0x2e01d4[_0x190638(0xf7)]=0x2af9]=_0x190638(0xf7),_0x2e01d4[_0x2e01d4['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x190638(0x29c),_0x2e01d4[_0x2e01d4[_0x190638(0x2de)]=0x2ee2]='INVALID_INVITE_CODE',_0x2e01d4[_0x2e01d4[_0x190638(0x23b)]=0x2ee3]=_0x190638(0x23b),_0x2e01d4[_0x2e01d4['USER_NOT_INVITED_CODE']=0x2ee4]=_0x190638(0x239),_0x2e01d4[_0x2e01d4['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x190638(0xdd),_0x2e01d4[_0x2e01d4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x190638(0x310),_0x2e01d4[_0x2e01d4[_0x190638(0x3c8)]=0x32ca]=_0x190638(0x3c8),_0x2e01d4[_0x2e01d4[_0x190638(0x1b0)]=0x32cb]=_0x190638(0x1b0),_0x2e01d4[_0x2e01d4[_0x190638(0x303)]=-0x1]='UNRECOGNIZED',_0x2e01d4))(gt||{}),J=(_0x1d0fb6=>(_0x1d0fb6[_0x1d0fb6[_0x190638(0x34f)]=0x0]=_0x190638(0x34f),_0x1d0fb6[_0x1d0fb6[_0x190638(0x145)]=0x1]=_0x190638(0x145),_0x1d0fb6[_0x1d0fb6['UNIVER_SHEET']=0x2]=_0x190638(0x395),_0x1d0fb6[_0x1d0fb6[_0x190638(0x355)]=0x3]='UNIVER_SLIDE',_0x1d0fb6[_0x1d0fb6['UNIVER_PROJECT']=0x4]=_0x190638(0x185),_0x1d0fb6[_0x1d0fb6['UNRECOGNIZED']=-0x1]=_0x190638(0x303),_0x1d0fb6))(J||{}),W=(_0x3a6a18=>(_0x3a6a18[_0x3a6a18[_0x190638(0x2c3)]=0x0]=_0x190638(0x2c3),_0x3a6a18[_0x3a6a18[_0x190638(0x267)]=0x1]=_0x190638(0x267),_0x3a6a18[_0x3a6a18[_0x190638(0x14b)]=0x2]='JOIN',_0x3a6a18[_0x3a6a18[_0x190638(0x2c5)]=0x3]=_0x190638(0x2c5),_0x3a6a18[_0x3a6a18[_0x190638(0x39c)]=0x4]='INGEST',_0x3a6a18[_0x3a6a18[_0x190638(0x132)]=0x5]=_0x190638(0x132),_0x3a6a18[_0x3a6a18['RECV']=0x6]=_0x190638(0x1d5),_0x3a6a18[_0x3a6a18[_0x190638(0x303)]=-0x1]=_0x190638(0x303),_0x3a6a18))(W||{}),oe=(_0xd6bf4d=>(_0xd6bf4d[_0xd6bf4d[_0x190638(0x24e)]=0x0]=_0x190638(0x24e),_0xd6bf4d[_0xd6bf4d['OK']=0x1]='OK',_0xd6bf4d[_0xd6bf4d[_0x190638(0x400)]=0x2]=_0x190638(0x400),_0xd6bf4d[_0xd6bf4d[_0x190638(0x36a)]=0x3e9]=_0x190638(0x36a),_0xd6bf4d[_0xd6bf4d[_0x190638(0x18b)]=0x3ea]=_0x190638(0x18b),_0xd6bf4d[_0xd6bf4d[_0x190638(0x3db)]=0x3eb]=_0x190638(0x3db),_0xd6bf4d[_0xd6bf4d[_0x190638(0x33f)]=0x3ec]=_0x190638(0x33f),_0xd6bf4d[_0xd6bf4d[_0x190638(0x303)]=-0x1]=_0x190638(0x303),_0xd6bf4d))(oe||{}),Et=(_0x12bea7=>(_0x12bea7[_0x12bea7['Undefined']=0x0]=_0x190638(0x42c),_0x12bea7[_0x12bea7[_0x190638(0x233)]=0x1]=_0x190638(0x233),_0x12bea7[_0x12bea7[_0x190638(0x2cb)]=0x2]=_0x190638(0x2cb),_0x12bea7[_0x12bea7['UnitEmbedded']=0x3]=_0x190638(0x149),_0x12bea7[_0x12bea7[_0x190638(0x116)]=0x4]=_0x190638(0x116),_0x12bea7[_0x12bea7[_0x190638(0x1dd)]=0x5]=_0x190638(0x1dd),_0x12bea7[_0x12bea7[_0x190638(0x303)]=-0x1]=_0x190638(0x303),_0x12bea7))(Et||{});const K=_0x190638(0x3be),Yt={};var Z=(_0x113935=>(_0x113935['OTHER_CLIENT_EDITING']=_0x190638(0x1e3),_0x113935[_0x190638(0x2d1)]=_0x190638(0x2d1),_0x113935[_0x190638(0x2a7)]=_0x190638(0x2a7),_0x113935[_0x190638(0x321)]='CLOSE_ROOM',_0x113935[_0x190638(0x1df)]='JOIN_ROOM_FAILED',_0x113935[_0x190638(0x3f4)]=_0x190638(0x3f4),_0x113935[_0x190638(0x3fd)]=_0x190638(0x3fd),_0x113935[_0x190638(0x250)]=_0x190638(0x250),_0x113935))(Z||{});class ee{constructor(){var _0x1188e6=_0x190638;A(this,'_event$',new $[(_0x1188e6(0x1c0))]()),A(this,_0x1188e6(0x1d3),this[_0x1188e6(0x35a)][_0x1188e6(0x213)]());}[_0x190638(0x191)](_0x65b6ca){var _0x23a379=_0x190638;this[_0x23a379(0x35a)][_0x23a379(0x423)](_0x65b6ca);}}const mt=a['createIdentifier'](_0x190638(0x354));function Ct(_0x358708){var _0x5a99ba=_0x190638,_0x2c73a2,_0x1d76e5,_0x3fcf28,_0x244251,_0x2dd61c;const _0x10afe2=_0x358708[_0x5a99ba(0x12f)],_0x3e5154=JSON[_0x5a99ba(0x3bd)](_0x10afe2);switch(_0x3e5154['cmd']){case W['HEARTBEAT']:case W[_0x5a99ba(0x267)]:{const _0x5746a6=_0x3e5154[_0x5a99ba(0x37e)];return{..._0x3e5154,'data':_0x5746a6,'cmd':_0x3e5154['cmd']};}case W[_0x5a99ba(0x14b)]:{const _0x5682eb=_0x3e5154['joinRsp'];return{..._0x3e5154,'data':_0x5682eb,'cmd':_0x3e5154[_0x5a99ba(0xfc)]};}case W[_0x5a99ba(0x1d5)]:{const _0x3cd4e8=_0x3e5154[_0x5a99ba(0x379)];switch(_0x3cd4e8[_0x5a99ba(0x12c)]){case I[_0x5a99ba(0x20a)][_0x5a99ba(0x386)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':(_0x2c73a2=_0x3cd4e8[_0x5a99ba(0x20c)])==null?void 0x0:_0x2c73a2['cs']},'cmd':_0x3e5154['cmd']};case I['CollaborationEvent'][_0x5a99ba(0x104)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':(_0x1d76e5=_0x3cd4e8[_0x5a99ba(0x2f0)])==null?void 0x0:_0x1d76e5['cs']},'cmd':_0x3e5154['cmd']};case I[_0x5a99ba(0x20a)][_0x5a99ba(0x284)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':(_0x3fcf28=_0x3cd4e8[_0x5a99ba(0x410)])==null?void 0x0:_0x3fcf28['cs']},'cmd':_0x3e5154['cmd']};case I['CollaborationEvent'][_0x5a99ba(0x109)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':(_0x244251=_0x3cd4e8['csRejEvent'])==null?void 0x0:_0x244251['cs']},'cmd':_0x3e5154['cmd']};case I['CollaborationEvent'][_0x5a99ba(0x18a)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':(_0x2dd61c=_0x3cd4e8[_0x5a99ba(0x37f)])==null?void 0x0:_0x2dd61c['cs']},'cmd':_0x3e5154[_0x5a99ba(0xfc)]};case I[_0x5a99ba(0x20a)][_0x5a99ba(0x265)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':_0x3cd4e8[_0x5a99ba(0x2be)]},'cmd':_0x3e5154['cmd']};case I[_0x5a99ba(0x20a)]['USERS_ENTER']:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':_0x3cd4e8[_0x5a99ba(0x14e)]},'cmd':_0x3e5154['cmd']};case I[_0x5a99ba(0x20a)][_0x5a99ba(0x222)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':_0x3cd4e8[_0x5a99ba(0x3e8)]},'cmd':_0x3e5154[_0x5a99ba(0xfc)]};case I[_0x5a99ba(0x20a)][_0x5a99ba(0x27b)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':_0x3cd4e8[_0x5a99ba(0x11b)]},'cmd':_0x3e5154[_0x5a99ba(0xfc)]};case I[_0x5a99ba(0x20a)][_0x5a99ba(0x297)]:case I['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':_0x3cd4e8[_0x5a99ba(0xe5)]},'cmd':_0x3e5154[_0x5a99ba(0xfc)]};case I[_0x5a99ba(0x20a)][_0x5a99ba(0x16a)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':_0x3cd4e8[_0x5a99ba(0x11b)]},'cmd':_0x3e5154[_0x5a99ba(0xfc)]};case I[_0x5a99ba(0x20a)][_0x5a99ba(0x2ec)]:return{..._0x3e5154,'data':_0x3cd4e8,'cmd':_0x3e5154[_0x5a99ba(0xfc)]};case I[_0x5a99ba(0x20a)][_0x5a99ba(0x2fb)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':_0x3cd4e8[_0x5a99ba(0x2db)]},'cmd':_0x3e5154[_0x5a99ba(0xfc)]};case I['CollaborationEvent'][_0x5a99ba(0x114)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':_0x3cd4e8[_0x5a99ba(0x36e)]},'cmd':_0x3e5154[_0x5a99ba(0xfc)]};case I[_0x5a99ba(0x20a)][_0x5a99ba(0x155)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':_0x3cd4e8[_0x5a99ba(0x33e)]},'cmd':_0x3e5154[_0x5a99ba(0xfc)]};case I['CollaborationEvent'][_0x5a99ba(0x2e7)]:return{..._0x3e5154,'data':{..._0x3cd4e8,'data':_0x3cd4e8[_0x5a99ba(0x15b)]},'cmd':_0x3e5154[_0x5a99ba(0xfc)]};default:return _0x3e5154;}}default:return _0x3e5154;}}function Tt(_0x3491a5){var _0xcf654f=_0x190638;switch(_0x3491a5['cmd']){case W[_0xcf654f(0x132)]:case W[_0xcf654f(0x267)]:return JSON['stringify']({'cmd':_0x3491a5[_0xcf654f(0xfc)],'routeKey':_0x3491a5[_0xcf654f(0x2c1)]});case W[_0xcf654f(0x39c)]:{let _0x57c481;switch(_0x3491a5['data'][_0xcf654f(0x12c)]){case I[_0xcf654f(0x20a)][_0xcf654f(0x265)]:{_0x57c481={'eventID':I[_0xcf654f(0x20a)]['UPDATE_CURSOR'],'updateCursorEvent':_0x3491a5[_0xcf654f(0x12f)][_0xcf654f(0x12f)]};break;}case I[_0xcf654f(0x20a)]['USERS_LEAVE']:{_0x57c481={'eventID':I[_0xcf654f(0x20a)][_0xcf654f(0x222)],'leaveEvent':_0x3491a5['data'][_0xcf654f(0x12f)]};break;}case I[_0xcf654f(0x20a)][_0xcf654f(0x2e9)]:{_0x57c481={'eventID':I[_0xcf654f(0x20a)][_0xcf654f(0x2e9)],'joinEvent':_0x3491a5[_0xcf654f(0x12f)][_0xcf654f(0x12f)]};break;}case I[_0xcf654f(0x20a)]['LIVESHARE_NEW_HOST']:{_0x57c481={'eventID':I[_0xcf654f(0x20a)][_0xcf654f(0x27b)],'liveShareNewHost':_0x3491a5['data'][_0xcf654f(0x12f)]};break;}case I['CollaborationEvent'][_0xcf654f(0x259)]:{_0x57c481={'eventID':I[_0xcf654f(0x20a)][_0xcf654f(0x259)],'liveShareOperation':_0x3491a5[_0xcf654f(0x12f)][_0xcf654f(0x12f)]};break;}case I['CollaborationEvent'][_0xcf654f(0x16a)]:{_0x57c481={'eventID':I[_0xcf654f(0x20a)][_0xcf654f(0x16a)],'liveShareTerminate':_0x3491a5[_0xcf654f(0x12f)][_0xcf654f(0x12f)]};break;}case I[_0xcf654f(0x20a)][_0xcf654f(0x403)]:{_0x57c481={'eventID':I[_0xcf654f(0x20a)][_0xcf654f(0x403)],'liveShareRequestHost':_0x3491a5[_0xcf654f(0x12f)][_0xcf654f(0x12f)]};break;}case I[_0xcf654f(0x20a)][_0xcf654f(0x297)]:{_0x57c481={'eventID':I[_0xcf654f(0x20a)][_0xcf654f(0x297)]};break;}default:_0x57c481={'eventID':_0x3491a5[_0xcf654f(0x12f)][_0xcf654f(0x12c)]};}return JSON[_0xcf654f(0x319)]({'cmd':_0x3491a5[_0xcf654f(0xfc)],'routeKey':_0x3491a5[_0xcf654f(0x2c1)],'collaMsg':_0x57c481});}case W[_0xcf654f(0x14b)]:return JSON[_0xcf654f(0x319)]({'cmd':_0x3491a5[_0xcf654f(0xfc)],'routeKey':_0x3491a5['routeKey'],'joinReq':_0x3491a5[_0xcf654f(0x12f)]});case W[_0xcf654f(0x2c5)]:return JSON[_0xcf654f(0x319)]({'cmd':_0x3491a5[_0xcf654f(0xfc)],'routeKey':_0x3491a5[_0xcf654f(0x2c1)],'leaveReq':_0x3491a5[_0xcf654f(0x12f)]});default:throw new Error(_0xcf654f(0x134));}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x2af049,_0x282f11,_0x1df522,_0x590489)=>{for(var _0x162869=_0x590489>0x1?void 0x0:_0x590489?qt(_0x282f11,_0x1df522):_0x282f11,_0x5cafa1=_0x2af049['length']-0x1,_0x4b8107;_0x5cafa1>=0x0;_0x5cafa1--)(_0x4b8107=_0x2af049[_0x5cafa1])&&(_0x162869=_0x4b8107(_0x162869)||_0x162869);return _0x162869;},_e=(_0x4a0c66,_0x4434e0)=>(_0x402760,_0x5177eb)=>_0x4434e0(_0x402760,_0x5177eb,_0x4a0c66);const He=a[_0x190638(0x387)]('univer-pro.collaboration-client-socket-service');function Jt(_0x4faaa4,_0x526c0e,_0x5cb5b0){var _0x1903ea=_0x190638;return _0x4faaa4+'/'+_0x526c0e+_0x1903ea(0x3ba)+_0x5cb5b0+_0x1903ea(0x2bf);}exports[_0x190638(0xe0)]=class extends a[_0x190638(0x39b)]{constructor(_0x1df1ca,_0x4b4a17,_0x19bebe,_0x1f5e83,_0x278b4b){var _0x43095e=_0x190638;super(),this[_0x43095e(0x307)]=_0x1df1ca,this[_0x43095e(0x17a)]=_0x4b4a17,this[_0x43095e(0x350)]=_0x19bebe,this[_0x43095e(0x2e2)]=_0x1f5e83,this[_0x43095e(0x256)]=_0x278b4b;}[_0x190638(0x294)](_0x3d3232){var _0x53a4af=_0x190638;const _0x11eeeb=this['_injector']['get'](Y['ISocketService']);if(!_0x11eeeb)throw new Error(_0x53a4af(0x438));const _0x15276a=_0x11eeeb['createSocket'](_0x3d3232);if(!_0x15276a)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x1d324d=new a[(_0x53a4af(0x22e))](),_0x519ce6=new $[(_0x53a4af(0x1c0))]();_0x1d324d[_0x53a4af(0x128)](_0x15276a[_0x53a4af(0x219)]['subscribe'](_0x25cf4f=>_0x519ce6[_0x53a4af(0x423)](_0x25cf4f))),_0x1d324d['add'](a[_0x53a4af(0x152)](()=>_0x519ce6['complete']()));const _0x37c4eb=new $[(_0x53a4af(0x1c0))]();_0x1d324d['add'](_0x15276a['error$']['subscribe'](_0x28f72c=>_0x37c4eb[_0x53a4af(0x423)](_0x28f72c))),_0x1d324d[_0x53a4af(0x128)](a[_0x53a4af(0x152)](()=>_0x37c4eb[_0x53a4af(0xb8)]()));const _0x5a8fa6=new $[(_0x53a4af(0x1c0))]();_0x1d324d['add'](_0x15276a['message$']['subscribe'](_0x3e68b4=>{var _0x4fd124=_0x53a4af;const _0x25619d=Ct(_0x3e68b4);_0x5a8fa6[_0x4fd124(0x423)](_0x25619d);})),_0x1d324d[_0x53a4af(0x128)](a[_0x53a4af(0x152)](()=>_0x5a8fa6[_0x53a4af(0xb8)]()));let _0x11dfd2;const _0x4f3c3c=()=>{var _0x4fb461=_0x53a4af;_0x37c4eb[_0x4fb461(0x423)](new Event(_0x4fb461(0x280))),_0x519ce6[_0x4fb461(0x423)](new Event(_0x4fb461(0x280))),_0x11dfd2['close']();};return _0x11dfd2={'memberID':'','close$':_0x519ce6[_0x53a4af(0x213)](),'error$':_0x37c4eb[_0x53a4af(0x213)](),'open$':_0x15276a[_0x53a4af(0x26f)],'message$':_0x5a8fa6['asObservable'](),'send':_0x3f0c55=>{var _0x33a58c=_0x53a4af;if(_0x3f0c55[_0x33a58c(0xfc)]===W['INGEST']){if(_0x3f0c55[_0x33a58c(0x12f)]['eventID']===I[_0x33a58c(0x20a)][_0x33a58c(0x15c)]){this[_0x33a58c(0x24f)](_0x11dfd2,_0x3f0c55[_0x33a58c(0x12f)])[_0x33a58c(0x1bf)](_0xc8220e=>{var _0x28e8cb=_0x33a58c;this[_0x28e8cb(0x2e2)][_0x28e8cb(0x1e1)](_0xc8220e),_0x4f3c3c();});return;}if(_0x3f0c55[_0x33a58c(0x12f)]['eventID']===I[_0x33a58c(0x20a)][_0x33a58c(0x276)]){const _0x169bfc=_0x3f0c55[_0x33a58c(0x12f)];this[_0x33a58c(0x252)](_0x169bfc)[_0x33a58c(0x14f)](_0x503211=>{var _0x531a0b=_0x33a58c;_0x5a8fa6[_0x531a0b(0x423)]({'cmd':W[_0x531a0b(0x1d5)],'code':oe['OK'],'routeKey':_0x169bfc['data']['unitID'],'routeType':'','data':{'eventID':I[_0x531a0b(0x20a)][_0x531a0b(0x432)],'data':{'changesets':_0x503211}}});})['catch'](_0x5148c4=>{var _0x7e1ebb=_0x33a58c;this['_logService'][_0x7e1ebb(0x1e1)](_0x5148c4),_0x4f3c3c();});return;}}_0x15276a[_0x33a58c(0xf6)](Tt(_0x3f0c55));},'close':()=>{var _0x380b1a=_0x53a4af;_0x15276a['close'](),_0x1d324d[_0x380b1a(0x26c)]();}},_0x11dfd2;}async[_0x190638(0x24f)](_0x1a2fa9,_0x51aafc){var _0x42433a=_0x190638,_0x9b7fff,_0x5c66ce;const {unitType:_0x144319,unitID:_0x58b887,changeset:_0x2a6345}=_0x51aafc[_0x42433a(0x12f)],_0x51b31b={'unitID':_0x58b887,'memberID':_0x1a2fa9['memberID'],'type':_0x144319,'changeset':I[_0x42433a(0x20b)](_0x2a6345)},_0x18702f=this[_0x42433a(0x350)][_0x42433a(0xfd)](pt),_0x3610e3=this['_configService'][_0x42433a(0xfd)](K),_0x3eba1a=Jt((_0x5c66ce=(_0x9b7fff=_0x3610e3==null?void 0x0:_0x3610e3[_0x42433a(0x22c)])!=null?_0x9b7fff:_0x18702f)!=null?_0x5c66ce:Vt,_0x144319,_0x58b887);try{await this[_0x42433a(0x17a)][_0x42433a(0x14d)](_0x3eba1a,{'body':_0x51b31b});}catch(_0x51dcfd){throw this['_logService'][_0x42433a(0x1e1)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x51dcfd;}}async[_0x190638(0x252)](_0x401048){var _0x4f6f6e=_0x190638;const {unitID:_0xbf9ee2,from:_0xe1b6e5,to:_0x24ae4f,unitType:_0x444988}=_0x401048[_0x4f6f6e(0x12f)];return(await this[_0x4f6f6e(0x256)][_0x4f6f6e(0x374)]({'metadata':void 0x0},{'unitID':_0xbf9ee2,'type':_0x444988,'from':_0xe1b6e5,'to':_0x24ae4f}))[_0x4f6f6e(0x271)];}},exports[_0x190638(0xe0)]=zt([_e(0x0,a[_0x190638(0x3fb)](a[_0x190638(0xbc)])),_e(0x1,a['Inject'](Y['HTTPService'])),_e(0x2,a[_0x190638(0x1d1)]),_e(0x3,a[_0x190638(0xf0)]),_e(0x4,I[_0x190638(0x3a5)])],exports[_0x190638(0xe0)]);const Xt='collaboration_new_changeset';function Zt(_0x22e4d3){var _0x5f258a=_0x190638;return JSON[_0x5f258a(0x319)](_0x22e4d3)['length'];}class $e{constructor(){var _0xe08b11=_0x190638;A(this,_0xe08b11(0x146),new $['Subject']()),A(this,_0xe08b11(0x207),this[_0xe08b11(0x146)][_0xe08b11(0x213)]());}[_0x190638(0x3f1)](_0x2a9463){var _0x43a1b8=_0x190638;this[_0x43a1b8(0x146)][_0x43a1b8(0x423)](_0x2a9463);}}var Qt=Object[_0x190638(0x2f8)],ei=(_0x2dc0b4,_0x155659,_0x95e0a,_0x400b57)=>{for(var _0x3639b0=_0x400b57>0x1?void 0x0:_0x400b57?Qt(_0x155659,_0x95e0a):_0x155659,_0x280dbd=_0x2dc0b4['length']-0x1,_0x566669;_0x280dbd>=0x0;_0x280dbd--)(_0x566669=_0x2dc0b4[_0x280dbd])&&(_0x3639b0=_0x566669(_0x3639b0)||_0x3639b0);return _0x3639b0;},We=(_0x44e42c,_0x221dee)=>(_0x155679,_0x4134a1)=>_0x221dee(_0x155679,_0x4134a1,_0x44e42c);exports[_0x190638(0x23c)]=class extends a['Disposable']{constructor(_0x9a9910,_0x142a96){var _0x129514=_0x190638;super(),A(this,_0x129514(0x3e1),new Map()),A(this,_0x129514(0x1a2),new $['Subject']()),(this[_0x129514(0x1a3)]=_0x9a9910,this[_0x129514(0x1b5)]=_0x142a96,this[_0x129514(0x3f6)]($[_0x129514(0x408)](this[_0x129514(0x1a3)]['getTypeOfUnitDisposed$'](a[_0x129514(0x2ee)][_0x129514(0x395)])[_0x129514(0x323)](V[_0x129514(0x35d)](_0x329e2b=>_0x329e2b['getUnitId']())),this[_0x129514(0x1a3)][_0x129514(0x2b9)](a[_0x129514(0x2ee)][_0x129514(0x145)])[_0x129514(0x323)](V[_0x129514(0x35d)](_0xe22480=>_0xe22480[_0x129514(0x3c0)]())),this[_0x129514(0x1a3)][_0x129514(0x2b9)](a[_0x129514(0x2ee)][_0x129514(0x355)])[_0x129514(0x323)](V[_0x129514(0x35d)](_0xbba06a=>_0xbba06a[_0x129514(0x3c0)]())))[_0x129514(0x3a9)](_0x131412=>this['_removeRoom'](_0x131412))));}[_0x190638(0x3a8)](_0x162021){var _0x209f7e=_0x190638;return this[_0x209f7e(0x3e1)][_0x209f7e(0x3e9)](_0x162021)?$['of'](this['_roomMembers'][_0x209f7e(0x33c)](_0x162021)):this[_0x209f7e(0x1a2)][_0x209f7e(0x323)](V[_0x209f7e(0x35d)](_0x388f41=>{var _0x4c5942=_0x209f7e;if(_0x388f41===_0x162021)return this[_0x4c5942(0x3e1)][_0x4c5942(0x33c)](_0x388f41);}));}[_0x190638(0x41f)](_0x391273){var _0x2b3cfe=_0x190638;this[_0x2b3cfe(0x1b5)]['setCurrentUser'](_0x391273);}['getCurrentUser'](){var _0x510c71=_0x190638;return this[_0x510c71(0x1b5)][_0x510c71(0xd1)]();}[_0x190638(0x156)](_0x710459,_0x4d779c){var _0x14ed18=_0x190638;let _0x169638=this['_roomMembers']['get'](_0x710459);_0x169638||(_0x169638=new ti(),this[_0x14ed18(0x3e1)][_0x14ed18(0x327)](_0x710459,_0x169638),this[_0x14ed18(0x1a2)][_0x14ed18(0x423)](_0x710459)),_0x169638[_0x14ed18(0x156)](_0x4d779c);}[_0x190638(0x422)](_0x4d6270,_0x4004b3){var _0x48b414=_0x190638;const _0x393da0=this[_0x48b414(0x3e1)][_0x48b414(0x33c)](_0x4d6270);_0x393da0&&_0x393da0[_0x48b414(0x422)](_0x4004b3);}[_0x190638(0x3dd)](_0x4bf72e){var _0x1bff95=_0x190638;return this[_0x1bff95(0x3e1)][_0x1bff95(0x33c)](_0x4bf72e);}[_0x190638(0x365)](_0x12f47d,_0x450422){var _0x30069a=_0x190638;const _0x4fd702=this[_0x30069a(0x3e1)][_0x30069a(0x33c)](_0x12f47d);if(_0x4fd702)return _0x4fd702[_0x30069a(0x365)](_0x450422);}['_removeRoom'](_0x386b0f){var _0x476315=_0x190638;const _0x3b3b24=this['_roomMembers'][_0x476315(0x33c)](_0x386b0f);_0x3b3b24&&(_0x3b3b24[_0x476315(0x26c)](),this[_0x476315(0x3e1)][_0x476315(0x3d3)](_0x386b0f));}['dispose'](){var _0x17e038=_0x190638;this[_0x17e038(0x3e1)][_0x17e038(0x397)](_0x149379=>_0x149379[_0x17e038(0x26c)]()),this['_roomMembers'][_0x17e038(0x148)](),this[_0x17e038(0x1a2)][_0x17e038(0xb8)]();}},exports[_0x190638(0x23c)]=ei([We(0x0,a[_0x190638(0x106)]),We(0x1,a[_0x190638(0x3fb)](a[_0x190638(0x2ad)]))],exports[_0x190638(0x23c)]);class ti extends a[_0x190638(0x39b)]{constructor(){var _0x40f073=_0x190638;super(...arguments),A(this,_0x40f073(0x206),new Map()),A(this,'_members$',new $[(_0x40f073(0x333))](this[_0x40f073(0x206)])),A(this,_0x40f073(0x229),this['_members$'][_0x40f073(0x213)]());}[_0x190638(0x26c)](){var _0x288246=_0x190638;this['_members'][_0x288246(0x148)]();}[_0x190638(0x156)](_0x20fe28){var _0xb323f1=_0x190638;this[_0xb323f1(0x206)][_0xb323f1(0x327)](_0x20fe28[_0xb323f1(0xc4)],_0x20fe28),this['_emitMembers']();}[_0x190638(0x422)](_0xbdc0d9){var _0x5efc97=_0x190638;this[_0x5efc97(0x206)]['delete'](_0xbdc0d9);}[_0x190638(0x365)](_0x144926){var _0x2cb66a=_0x190638;return this[_0x2cb66a(0x206)][_0x2cb66a(0x33c)](_0x144926);}[_0x190638(0x35e)](){var _0x1ef302=_0x190638;return Array[_0x1ef302(0x369)](this[_0x1ef302(0x206)][_0x1ef302(0x2c2)]());}[_0x190638(0x168)](){var _0x219b2c=_0x190638;this[_0x219b2c(0xcf)][_0x219b2c(0x423)](this[_0x219b2c(0x206)]);}}var ii=Object[_0x190638(0x2f8)],ni=(_0x546064,_0x583de9,_0x44973d,_0xb6f9ba)=>{var _0x371644=_0x190638;for(var _0xb13d03=_0xb6f9ba>0x1?void 0x0:_0xb6f9ba?ii(_0x583de9,_0x44973d):_0x583de9,_0x54df4c=_0x546064[_0x371644(0x232)]-0x1,_0x47546f;_0x54df4c>=0x0;_0x54df4c--)(_0x47546f=_0x546064[_0x54df4c])&&(_0xb13d03=_0x47546f(_0xb13d03)||_0xb13d03);return _0xb13d03;},se=(_0x4fedc0,_0x592549)=>(_0x1b980b,_0x63830d)=>_0x592549(_0x1b980b,_0x63830d,_0x4fedc0),re=(_0x387a7f=>(_0x387a7f[_0x387a7f[_0x190638(0x3de)]=0x0]=_0x190638(0x3de),_0x387a7f[_0x387a7f[_0x190638(0x377)]=0x1]='JOINING',_0x387a7f[_0x387a7f[_0x190638(0x40b)]=0x2]=_0x190638(0x40b),_0x387a7f[_0x387a7f['ONLINE']=0x3]='ONLINE',_0x387a7f))(re||{});const Ge={[oe[_0x190638(0x400)]]:_0x190638(0x2ae),[oe[_0x190638(0x36a)]]:_0x190638(0x1c2),[oe[_0x190638(0x18b)]]:_0x190638(0x141),[oe[_0x190638(0x3db)]]:_0x190638(0x40f),[oe[_0x190638(0x33f)]]:_0x190638(0xd0)};exports[_0x190638(0x3dc)]=class extends a[_0x190638(0xf5)]{constructor(_0xb0d530,_0x223dd1,_0x5c2b16,_0xf879d3,_0x20b0f4,_0x20a405,_0x42538c,_0x26c243,_0x52bdb6){var _0x44f91f=_0x190638;super(),A(this,_0x44f91f(0x27e),new $['BehaviorSubject'](0x0)),A(this,_0x44f91f(0x127),this[_0x44f91f(0x27e)][_0x44f91f(0x213)]()),A(this,_0x44f91f(0x35a),new $['Subject']()),A(this,_0x44f91f(0x1d3),this['_event$'][_0x44f91f(0x213)]()),A(this,_0x44f91f(0xf2)),A(this,_0x44f91f(0x328)),A(this,_0x44f91f(0x244)),A(this,_0x44f91f(0x341),!0x1),A(this,_0x44f91f(0x353),null),(this[_0x44f91f(0x409)]=_0xb0d530,this[_0x44f91f(0x2e2)]=_0x5c2b16,this[_0x44f91f(0x350)]=_0xf879d3,this['_localeService']=_0x20b0f4,this[_0x44f91f(0x120)]=_0x20a405,this[_0x44f91f(0x1fb)]=_0x42538c,this[_0x44f91f(0xdc)]=_0x26c243,this[_0x44f91f(0x2eb)]=_0x52bdb6,this[_0x44f91f(0x341)]=!!this[_0x44f91f(0x2eb)],_0x223dd1[_0x44f91f(0x323)]($[_0x44f91f(0x1a5)](this[_0x44f91f(0x2fe)]))['subscribe'](_0x958569=>{var _0xfc8029=_0x44f91f,_0xe17a23;typeof _0x958569>'u'||(this[_0xfc8029(0xf2)]=_0x958569,_0x958569?(this[_0xfc8029(0x3ec)](_0x958569),this[_0xfc8029(0x328)]=_0x958569[_0xfc8029(0x3c1)][_0xfc8029(0x3a9)](_0x35fed6=>{var _0x545f7c=_0xfc8029;_0x35fed6[_0x545f7c(0x2c1)]===this[_0x545f7c(0x409)]&&this[_0x545f7c(0x401)](_0x35fed6);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0xfc8029(0x27e)][_0xfc8029(0x423)](0x2),(_0xe17a23=this[_0xfc8029(0x328)])==null||_0xe17a23[_0xfc8029(0x23e)](),this['_socketMessageSubscription']=null));}));}get[_0x190638(0x1fc)](){return this['_sessionStatus$']['getValue']();}[_0x190638(0x142)](){var _0x4beef5=_0x190638,_0x1dd3e5,_0x166eb3;return(_0x166eb3=(_0x1dd3e5=this[_0x4beef5(0xf2)])==null?void 0x0:_0x1dd3e5[_0x4beef5(0xc4)])!=null?_0x166eb3:null;}[_0x190638(0x26c)](){var _0x7a78d6=_0x190638;super[_0x7a78d6(0x26c)](),this[_0x7a78d6(0x2fe)][_0x7a78d6(0x423)](),this[_0x7a78d6(0x2fe)][_0x7a78d6(0xb8)]();}['close'](){var _0x3bc9d5=_0x190638,_0x348208,_0x8f355b;this[_0x3bc9d5(0x3b1)](),(_0x348208=this['_socket'])==null||_0x348208[_0x3bc9d5(0xf6)]({'cmd':W[_0x3bc9d5(0x2c5)],'data':{'roomID':this[_0x3bc9d5(0x409)]}}),(_0x8f355b=this[_0x3bc9d5(0xf2)])==null||_0x8f355b['close'](),this[_0x3bc9d5(0x35a)][_0x3bc9d5(0xb8)](),this[_0x3bc9d5(0x27e)][_0x3bc9d5(0xb8)](),this[_0x3bc9d5(0x26c)]();}[_0x190638(0x401)](_0x52cdc8){var _0x3f6629=_0x190638;_0x52cdc8['cmd']===W[_0x3f6629(0x14b)]?this[_0x3f6629(0x39d)](_0x52cdc8):_0x52cdc8[_0x3f6629(0xfc)]===W[_0x3f6629(0x1d5)]&&this['_onRecvEvent'](_0x52cdc8);}[_0x190638(0x3ec)](_0x198bac){var _0x48d6ec=_0x190638;this[_0x48d6ec(0x27e)][_0x48d6ec(0x423)](0x1),_0x198bac['send']({'cmd':W[_0x48d6ec(0x14b)],'routeKey':this[_0x48d6ec(0x409)],'routeType':'','data':{'rooms':[{'roomID':this[_0x48d6ec(0x409)]}]}});}[_0x190638(0x39d)](_0x368be7){var _0x33cf74=_0x190638,_0x16dc6b;if(_0x368be7['code']in Ge){this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x33cf74(0x1df)],'data':Ge[_0x368be7['code']]}),this[_0x33cf74(0x27e)][_0x33cf74(0x423)](0x2);return;}this[_0x33cf74(0x27e)][_0x33cf74(0x423)](0x3);const _0x21f331=(_0x16dc6b=_0x368be7['data'][_0x33cf74(0x412)][this[_0x33cf74(0x409)]])==null?void 0x0:_0x16dc6b[_0x33cf74(0x1f5)];_0x21f331&&_0x21f331['forEach'](_0x311fa8=>this[_0x33cf74(0x120)][_0x33cf74(0x156)](this[_0x33cf74(0x409)],_0x311fa8));}[_0x190638(0x240)](_0x402f50){var _0x1f209e=_0x190638;try{const _0x16d967=_0x402f50[_0x1f209e(0x12f)];switch(_0x16d967['eventID']){case I[_0x1f209e(0x20a)][_0x1f209e(0x2e9)]:this[_0x1f209e(0x338)](_0x16d967),this[_0x1f209e(0x35a)][_0x1f209e(0x423)](_0x16d967);break;case I[_0x1f209e(0x20a)]['USERS_LEAVE']:this[_0x1f209e(0x13d)](_0x16d967),this[_0x1f209e(0x35a)][_0x1f209e(0x423)](_0x16d967);break;case I[_0x1f209e(0x20a)]['CHANGESET_ACK']:case I[_0x1f209e(0x20a)][_0x1f209e(0x18a)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x1f209e(0x3e7)](),this['_event$']['next'](_0x16d967);break;case I[_0x1f209e(0x20a)]['MSG_FOR_ERROR']:this[_0x1f209e(0x2e2)][_0x1f209e(0x1e1)](_0x1f209e(0x389)+JSON[_0x1f209e(0x319)](_0x16d967)),this[_0x1f209e(0x35a)][_0x1f209e(0x423)](_0x16d967);break;case I['CollaborationEvent'][_0x1f209e(0x2fb)]:this['_commentService'][_0x1f209e(0x3f1)](_0x16d967[_0x1f209e(0x12f)]),this[_0x1f209e(0x35a)][_0x1f209e(0x423)](_0x16d967);break;default:this[_0x1f209e(0x35a)][_0x1f209e(0x423)](_0x16d967);}}catch(_0xe57069){this[_0x1f209e(0x2e2)]['error'](_0xe57069,_0x402f50);}}[_0x190638(0x338)](_0x15ed49){var _0x4e43f9=_0x190638;this[_0x4e43f9(0x120)]['updateMember'](this['_unitID'],_0x15ed49[_0x4e43f9(0x12f)]);}[_0x190638(0x13d)](_0x243650){var _0x3b33f4=_0x190638;this[_0x3b33f4(0x120)][_0x3b33f4(0x422)](this[_0x3b33f4(0x409)],_0x243650['data']['memberID']);}async[_0x190638(0xf6)](_0x4fc177,_0x1f9ac8){var _0x51d889=_0x190638;if(this[_0x51d889(0x1fc)]!==0x3||!this[_0x51d889(0xf2)])throw new Error(_0x51d889(0x254));try{_0x4fc177[_0x51d889(0x12c)]===I[_0x51d889(0x20a)][_0x51d889(0x15c)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x4fc177)),this['_socket'][_0x51d889(0xf6)]({'cmd':W[_0x51d889(0x39c)],'routeKey':_0x1f9ac8,'routeType':'','data':_0x4fc177});}catch(_0x21a9ca){this[_0x51d889(0x2e2)][_0x51d889(0x1e1)](_0x21a9ca);}}[_0x190638(0x362)](){var _0x251861=_0x190638,_0x32b9ed;this[_0x251861(0x244)]=setTimeout(()=>{var _0x387905=_0x251861;this['_collaborationTimeoutTimer']=null,this[_0x387905(0xdc)]['emitEvent']({'id':Z[_0x387905(0x250)]});},(_0x32b9ed=this[_0x251861(0x350)][_0x251861(0xfd)](ke))!=null?_0x32b9ed:St);}[_0x190638(0x3e7)](){var _0x2e973e=_0x190638;this[_0x2e973e(0x244)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2e973e(0x244)]=null);}[_0x190638(0x435)](_0x34d715){var _0x4d4a41=_0x190638;if(!this[_0x4d4a41(0x341)])return;const {data:_0x2c9a79}=_0x34d715,{unitID:_0x175cf2,changeset:_0x133648}=_0x2c9a79,{mutations:_0x3134b2,type:_0x19cf77}=_0x133648;this[_0x4d4a41(0x353)]={'unitId':_0x175cf2,'type':_0x19cf77,'startTime':performance[_0x4d4a41(0x13f)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x3134b2)};}['_stopTelemetryCollaborationNewChangeset'](){var _0xf285f2=_0x190638;if(this['_shouldReportTelemetry']){if(!this[_0xf285f2(0x353)]){this[_0xf285f2(0x2e2)][_0xf285f2(0x1e1)]('[CollaborationSession]',_0xf285f2(0xd4));return;}this['_telemetryInfo'][_0xf285f2(0x2a9)]=performance[_0xf285f2(0x13f)](),this[_0xf285f2(0x353)]['duration']=this['_telemetryInfo'][_0xf285f2(0x2a9)]-this['_telemetryInfo'][_0xf285f2(0x32c)],this['_telemetryService'][_0xf285f2(0x1b7)](Xt,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x190638(0x3b1)](){this['_telemetryInfo']=null;}},exports[_0x190638(0x3dc)]=ni([se(0x2,a['ILogService']),se(0x3,a[_0x190638(0x1d1)]),se(0x4,a[_0x190638(0x3fb)](a['LocaleService'])),se(0x5,a['Inject'](exports[_0x190638(0x23c)])),se(0x6,a[_0x190638(0x3fb)]($e)),se(0x7,a[_0x190638(0x3fb)](ee)),se(0x8,a[_0x190638(0x378)](Pt[_0x190638(0x130)]))],exports['CollaborationSession']);var ri=Object[_0x190638(0x2f8)],si=(_0x282a45,_0x441f0a,_0x4809bc,_0x22850b)=>{var _0x3ff460=_0x190638;for(var _0x5be8bd=_0x22850b>0x1?void 0x0:_0x22850b?ri(_0x441f0a,_0x4809bc):_0x441f0a,_0x1825c8=_0x282a45[_0x3ff460(0x232)]-0x1,_0x1c1262;_0x1825c8>=0x0;_0x1825c8--)(_0x1c1262=_0x282a45[_0x1825c8])&&(_0x5be8bd=_0x1c1262(_0x5be8bd)||_0x5be8bd);return _0x5be8bd;},he=(_0x4723e1,_0xb1f35e)=>(_0x460cd3,_0x3b8d69)=>_0xb1f35e(_0x460cd3,_0x3b8d69,_0x4723e1);exports[_0x190638(0xe4)]=class extends a['Disposable']{constructor(_0x4be6e5,_0x36b6d9,_0x50da20,_0x5c9aef,_0x2bedd6,_0x4d3286){var _0x1c3709=_0x190638;super(),A(this,_0x1c3709(0x17b),new $[(_0x1c3709(0x333))](void 0x0)),A(this,_0x1c3709(0xe9),this[_0x1c3709(0x17b)][_0x1c3709(0x213)]()),A(this,_0x1c3709(0x2f3),null),A(this,_0x1c3709(0x393),new Map()),A(this,_0x1c3709(0x204),new $[(_0x1c3709(0x333))](re[_0x1c3709(0x3de)])),A(this,_0x1c3709(0x274),this['_status$']['asObservable']()),A(this,'_socketReady',!0x1),A(this,_0x1c3709(0x2fd)),A(this,_0x1c3709(0x3ff),0x0),A(this,_0x1c3709(0x178)),A(this,_0x1c3709(0x346)),(this['_injector']=_0x4be6e5,this[_0x1c3709(0x2e2)]=_0x36b6d9,this[_0x1c3709(0x350)]=_0x50da20,this[_0x1c3709(0xbd)]=_0x5c9aef,this[_0x1c3709(0xdc)]=_0x2bedd6,this['_networkConditionService']=_0x4d3286,this[_0x1c3709(0x30f)]());}get['_socket'](){var _0x26c68d=_0x190638;return this[_0x26c68d(0x17b)][_0x26c68d(0x1a9)]();}[_0x190638(0x30f)](){var _0x5b8864=_0x190638;this[_0x5b8864(0x137)]&&this[_0x5b8864(0x3f6)](this[_0x5b8864(0x137)][_0x5b8864(0x18e)][_0x5b8864(0x3a9)](_0x569a5c=>{var _0x2572af=_0x5b8864;_0x569a5c&&!this[_0x2572af(0xf2)]&&this[_0x2572af(0x212)](),_0x569a5c||this[_0x2572af(0x2fc)]();}));}[_0x190638(0x26c)](){var _0x5cfd59=_0x190638;super[_0x5cfd59(0x26c)](),this[_0x5cfd59(0x371)](),this[_0x5cfd59(0x416)](),this[_0x5cfd59(0x1c5)](),this[_0x5cfd59(0x393)][_0x5cfd59(0x397)](_0x5759b5=>_0x5759b5[_0x5cfd59(0x26c)]()),this['_sessions'][_0x5cfd59(0x148)](),this[_0x5cfd59(0x204)][_0x5cfd59(0xb8)]();}async[_0x190638(0x10c)](_0x12010a){var _0x20e891=_0x190638;if(this[_0x20e891(0x393)][_0x20e891(0x3e9)](_0x12010a))return this[_0x20e891(0x393)]['get'](_0x12010a);this[_0x20e891(0x367)]();const _0x4d912f=this[_0x20e891(0x307)][_0x20e891(0x33d)](exports[_0x20e891(0x3dc)],_0x12010a,this['_socket$'][_0x20e891(0x213)]());return this['_sessions'][_0x20e891(0x327)](_0x12010a,_0x4d912f),_0x4d912f;}[_0x190638(0x329)](_0x1c4e86){var _0x1d6af8=_0x190638,_0x36f826;const _0x3fa913=this[_0x1d6af8(0x393)][_0x1d6af8(0x33c)](_0x1c4e86);_0x3fa913&&(this[_0x1d6af8(0x393)][_0x1d6af8(0x3d3)](_0x1c4e86),_0x3fa913[_0x1d6af8(0x388)]()),this[_0x1d6af8(0x393)][_0x1d6af8(0x226)]||(_0x36f826=this[_0x1d6af8(0xf2)])==null||_0x36f826['close']();}['reconnect'](){var _0x5f11e1=_0x190638;this[_0x5f11e1(0x3ff)]=0x0,this[_0x5f11e1(0x371)](),this[_0x5f11e1(0x170)]();}[_0x190638(0x371)](){var _0x4dbd0c=_0x190638;this[_0x4dbd0c(0x2fd)]!=null&&(clearTimeout(this[_0x4dbd0c(0x2fd)]),this[_0x4dbd0c(0x2fd)]=null);}async[_0x190638(0x27d)](){var _0x495748=_0x190638,_0x22b120,_0xe21d7e;const _0x480f32=this['_configService'][_0x495748(0xfd)](ut),_0x3b5348=this[_0x495748(0x350)][_0x495748(0xfd)](K),_0x8604be=(_0xe21d7e=(_0x22b120=_0x3b5348==null?void 0x0:_0x3b5348['collabWebSocketUrl'])!=null?_0x22b120:_0x480f32)!=null?_0xe21d7e:dt,_0xf1b9f9=await this['_socketService']['createSocket'](_0x8604be);return this['_candidateSocket']=_0xf1b9f9,_0xf1b9f9;}async[_0x190638(0x367)](){var _0xa7c784=_0x190638,_0xd1b1fa,_0x144ecb;try{const _0x1e12c7=(_0x144ecb=(_0xd1b1fa=this[_0xa7c784(0xf2)])!=null?_0xd1b1fa:this[_0xa7c784(0x2f3)])!=null?_0x144ecb:await this[_0xa7c784(0x27d)]();if(_0x1e12c7){const _0x17f5a6=_0x1e12c7[_0xa7c784(0xf6)];_0x1e12c7[_0xa7c784(0xf6)]=_0xd6d687=>(this['_rescheduleHeartbeat'](),_0x17f5a6[_0xa7c784(0x26e)](_0x1e12c7,[_0xd6d687])),_0x1e12c7[_0xa7c784(0x3c1)][_0xa7c784(0x3a9)](_0x5cae0c=>this[_0xa7c784(0x275)](_0x1e12c7,_0x5cae0c)),_0x1e12c7[_0xa7c784(0x2da)]['pipe'](V[_0xa7c784(0xce)](0x1))[_0xa7c784(0x3a9)](_0x4c9496=>this[_0xa7c784(0x2e2)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x4c9496)),_0x1e12c7[_0xa7c784(0x26f)]['pipe'](V[_0xa7c784(0xce)](0x1))[_0xa7c784(0x3a9)](()=>{var _0x3ba6e=_0xa7c784;this[_0x3ba6e(0x1ac)](_0x1e12c7);}),_0x1e12c7['close$']['pipe'](V[_0xa7c784(0xce)](0x1))[_0xa7c784(0x3a9)](_0x4f0a89=>{var _0x4b24e5=_0xa7c784;this[_0x4b24e5(0x2e2)][_0x4b24e5(0x1fd)](_0x4b24e5(0x1ba),'socket\x20close',_0x4f0a89),this[_0x4b24e5(0x391)]();});}}catch(_0x3118f5){this[_0xa7c784(0x2e2)][_0xa7c784(0x1e1)](_0x3118f5),this[_0xa7c784(0x391)]();}}[_0x190638(0x1ac)](_0x75baa9){var _0x8692c2=_0x190638;this['_logService']['debug'](_0x8692c2(0x1ba),'socket\x20open.'),_0x75baa9['send']({'cmd':W[_0x8692c2(0x267)]}),this[_0x8692c2(0x2e3)]();}[_0x190638(0x2fc)](){var _0x56564a=_0x190638;this[_0x56564a(0x171)]=!0x1,this[_0x56564a(0x2f3)]=null,this[_0x56564a(0x204)][_0x56564a(0x423)](re[_0x56564a(0x40b)]),this['_socket$'][_0x56564a(0x423)](null),this['_clearTimeoutTimer'](),this[_0x56564a(0x1c5)]();}[_0x190638(0x391)](){var _0x4cf672=_0x190638,_0x2bc5df;this[_0x4cf672(0x2fc)](),this[_0x4cf672(0x3ff)]<((_0x2bc5df=this[_0x4cf672(0x350)]['getConfig'](ft))!=null?_0x2bc5df:jt)?(this[_0x4cf672(0xdc)][_0x4cf672(0x191)]({'id':Z[_0x4cf672(0x3f4)]}),this[_0x4cf672(0x170)]()):this[_0x4cf672(0xdc)]['emitEvent']({'id':Z[_0x4cf672(0x3fd)]});}[_0x190638(0x170)](){var _0x4977d1=_0x190638,_0x28d593;const _0xbc3619=this[_0x4977d1(0x3ff)],_0x44b846=this[_0x4977d1(0x350)]['getConfig'](K),_0x4f168a=_0xbc3619===0x0?0x0:((_0x28d593=_0x44b846==null?void 0x0:_0x44b846[_0x4977d1(0x419)])!=null?_0x28d593:$t)*0x2**_0xbc3619;this[_0x4977d1(0x2fd)]=setTimeout(()=>{var _0x1f8c85=_0x4977d1;clearTimeout(this[_0x1f8c85(0x2fd)]),this[_0x1f8c85(0x2fd)]=null,this[_0x1f8c85(0x367)]();},_0x4f168a),this['_retryCount']+=0x1;}[_0x190638(0x275)](_0x4e70ae,_0x376c6e){var _0x3891b0=_0x190638;const {cmd:_0xc8025d}=_0x376c6e;_0xc8025d===W[_0x3891b0(0x267)]&&!this[_0x3891b0(0x171)]&&(_0x4e70ae[_0x3891b0(0xc4)]=_0x376c6e[_0x3891b0(0x12f)][_0x3891b0(0xc4)],this['_socket$'][_0x3891b0(0x423)](_0x4e70ae),this['_status$'][_0x3891b0(0x423)](re['ONLINE']),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0xc8025d===W[_0x3891b0(0x132)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x190638(0x2e3)](){var _0x4076c3=_0x190638,_0x184275;this[_0x4076c3(0x1c5)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x184275=this[_0x4076c3(0x350)][_0x4076c3(0xfd)](vt))!=null?_0x184275:Ht);}[_0x190638(0x357)](){var _0x51bffa=_0x190638;this[_0x51bffa(0xf2)][_0x51bffa(0xf6)]({'cmd':W[_0x51bffa(0x132)]}),this[_0x51bffa(0xf3)]();}[_0x190638(0xf3)](){var _0x55a80e=_0x190638,_0x28eea4;this[_0x55a80e(0x346)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x28eea4=this[_0x55a80e(0x350)][_0x55a80e(0xfd)](ke))!=null?_0x28eea4:St);}[_0x190638(0x1c5)](){var _0x708ab9=_0x190638;this[_0x708ab9(0x178)]!=null&&(clearTimeout(this[_0x708ab9(0x178)]),this[_0x708ab9(0x178)]=null);}[_0x190638(0x416)](){var _0x50ebfe=_0x190638;this[_0x50ebfe(0x346)]!=null&&(clearTimeout(this[_0x50ebfe(0x346)]),this[_0x50ebfe(0x346)]=null);}},exports['CollaborationSessionService']=si([he(0x0,a['Inject'](a['Injector'])),he(0x1,a['ILogService']),he(0x2,a[_0x190638(0x1d1)]),he(0x3,He),he(0x4,a['Inject'](ee)),he(0x5,a[_0x190638(0x378)](mt))],exports['CollaborationSessionService']);const q=a[_0x190638(0x387)](_0x190638(0x320));function oi(_0x2ff49f){var _0x5ccf93=_0x190638;return _0x5ccf93(0x126)+_0x2ff49f;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x5cc3ac,_0x402f12,_0x390af0,_0x443af5)=>{var _0x512b69=_0x190638;for(var _0x15b8d1=_0x443af5>0x1?void 0x0:_0x443af5?ai(_0x402f12,_0x390af0):_0x402f12,_0x187d09=_0x5cc3ac[_0x512b69(0x232)]-0x1,_0x378f80;_0x187d09>=0x0;_0x187d09--)(_0x378f80=_0x5cc3ac[_0x187d09])&&(_0x15b8d1=_0x378f80(_0x15b8d1)||_0x15b8d1);return _0x15b8d1;},De=(_0x41fbfd,_0x308965)=>(_0x59663a,_0x11684d)=>_0x308965(_0x59663a,_0x11684d,_0x41fbfd);function hi(_0x1a2778){var _0x1104e1=_0x190638;const {unitID:_0x41e954,mutations:_0x1f34eb}=_0x1a2778;return{'unitId':_0x41e954,'subUnitId':_0x1f34eb[0x0]['params'][_0x1104e1(0x1de)]};}exports[_0x190638(0x2bc)]=class{constructor(_0x36015a,_0x1a70ef,_0x47cfd0){var _0x452597=_0x190638;this[_0x452597(0x307)]=_0x36015a,this[_0x452597(0x20e)]=_0x1a70ef,this['_instanceService']=_0x47cfd0;}[_0x190638(0x2e5)](_0x5be0f0){var _0x1ff552=_0x190638,_0x36b57f,_0x4d7ea3,_0x52b690,_0x4bddd4;const _0x1362dd=this['_injector'][_0x1ff552(0x33c)](X[_0x1ff552(0x426)]),{unitId:_0x451b34,subUnitId:_0xa97827}=hi(_0x5be0f0),_0x64a1c2=_0x1362dd==null?void 0x0:_0x1362dd[_0x1ff552(0x31f)](_0x451b34)[_0x1ff552(0x3c4)](),_0x1a2efa=(_0x4d7ea3=(_0x36b57f=this[_0x1ff552(0x237)][_0x1ff552(0x136)](_0x451b34))==null?void 0x0:_0x36b57f[_0x1ff552(0x25a)]())==null?void 0x0:_0x4d7ea3[_0x1ff552(0x1d6)]();if(_0x64a1c2[_0x1ff552(0x232)]===0x0||!_0x451b34||!_0xa97827)return;const _0x1dcec1=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x451b34,'subUnitId':_0x1a2efa,'selections':a[_0x1ff552(0x1b1)][_0x1ff552(0xe2)](_0x64a1c2)}}],_0x4bd45b=this['_transformService'][_0x1ff552(0x318)](_0x5be0f0,_0x1dcec1);if(!I['isTransformMutationsWithChangesetSuccess'](_0x4bd45b))throw _0x4bd45b['error'];const _0x56325e=(_0x4bddd4=(_0x52b690=_0x4bd45b[_0x1ff552(0x3d7)][0x0])==null?void 0x0:_0x52b690[_0x1ff552(0x34a)])==null?void 0x0:_0x4bddd4[_0x1ff552(0x40e)];if(Array[_0x1ff552(0x293)](_0x56325e)&&_0x56325e[_0x1ff552(0x232)]){if(_0x56325e[_0x1ff552(0x232)]===_0x1dcec1[0x0]['params'][_0x1ff552(0x40e)][_0x1ff552(0x232)]&&_0x56325e[_0x1ff552(0xc2)]((_0x2157d0,_0x484c68)=>a['Rectangle'][_0x1ff552(0x28c)](_0x2157d0[_0x1ff552(0x363)],_0x1dcec1[0x0][_0x1ff552(0x34a)][_0x1ff552(0x40e)][_0x484c68]['range'])))return;this[_0x1ff552(0x307)][_0x1ff552(0x33c)](a['ICommandService'])['executeCommand'](X[_0x1ff552(0x203)]['id'],{'unitId':_0x451b34,'subUnitId':_0x1a2efa,'selections':_0x56325e});}}},exports[_0x190638(0x2bc)]=ci([De(0x0,a[_0x190638(0x3fb)](a[_0x190638(0xbc)])),De(0x1,I[_0x190638(0x349)]),De(0x2,a[_0x190638(0x106)])],exports['SheetTransformSelectionsService']);const de=a['createIdentifier'](_0x190638(0x194));var je=(_0x12cef3=>(_0x12cef3[_0x12cef3['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x12cef3[_0x12cef3['OTHER_CLIENTS_EDITING']=0x1]=_0x190638(0x2e8),_0x12cef3))(je||{});const _i=new Set([X[_0x190638(0x1db)]['id']]);function Ke(_0x3159a6,_0xbf4272,_0xc38b86,_0x2c8eb3,_0x2cb61a){var _0x39fee0=_0x190638,_0x1e08f2,_0x191c2a,_0xef4691,_0x56388b;const _0x11fc24=[];for(const _0x540343 of _0x3159a6)if(_i['has'](_0x540343['id'])){if(_0x11fc24[_0x39fee0(0x232)]>0x0)break;_0x11fc24[_0x39fee0(0x2dc)](_0x540343);break;}else _0x11fc24[_0x39fee0(0x2dc)](_0x540343);const _0x51457c=(_0x191c2a=(_0x1e08f2=_0x2cb61a[_0x39fee0(0xd1)]())==null?void 0x0:_0x1e08f2['userID'])!=null?_0x191c2a:_0x39fee0(0x21d),_0x15dc44=(_0x56388b=(_0xef4691=_0x2cb61a[_0x39fee0(0xd1)]())==null?void 0x0:_0xef4691[_0x39fee0(0xc4)])!=null?_0x56388b:_0x39fee0(0x21d);return{'changeset':{'unitID':_0xbf4272,'type':I[_0x39fee0(0x342)](_0xc38b86[_0x39fee0(0x243)](_0xbf4272)),'baseRev':_0x2c8eb3['getCurrentRevOfUnit'](_0xbf4272),'revision':0x0,'userID':_0x51457c,'memberID':_0x15dc44,'mutations':_0x11fc24},'pendingMutations':_0x3159a6[_0x39fee0(0xee)](_0x11fc24[_0x39fee0(0x232)])};}function li(_0x5618f7,_0x4bda21,_0x1a235a,_0x5919dd,_0xbe2951){var _0x1deac9=_0x190638,_0x27141a,_0x379aaa,_0x477cd5,_0x42c7e1;const _0x10f2f1=[_0x5618f7[_0x1deac9(0x1e8)]((_0x4c597d,_0x426e9a)=>{var _0x5eeb6e=_0x1deac9,_0xc0ae33;const {id:_0x3db473}=_0x4c597d,{id:_0x2ab12b,type:_0x2eb5c0}=_0x426e9a,_0x1c2f0e=(_0xc0ae33=_0x4c597d[_0x5eeb6e(0x34a)])!=null?_0xc0ae33:{'actions':null},_0x24bbfd=_0x426e9a[_0x5eeb6e(0x34a)];if(_0x3db473&&_0x3db473!==_0x2ab12b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3db473+_0x5eeb6e(0x158)+_0x2ab12b+'.');return{..._0x4c597d,'id':_0x2ab12b,'type':_0x2eb5c0,'params':{'unitId':_0x24bbfd[_0x5eeb6e(0x3b2)],'textRanges':_0x24bbfd[_0x5eeb6e(0x3fc)],'actions':a[_0x5eeb6e(0x247)]['compose'](_0x1c2f0e[_0x5eeb6e(0x368)],_0x24bbfd[_0x5eeb6e(0x368)])}};},{})],_0x103db0=(_0x379aaa=(_0x27141a=_0xbe2951[_0x1deac9(0xd1)]())==null?void 0x0:_0x27141a[_0x1deac9(0xbb)])!=null?_0x379aaa:'unknown',_0x33eca7=(_0x42c7e1=(_0x477cd5=_0xbe2951[_0x1deac9(0xd1)]())==null?void 0x0:_0x477cd5[_0x1deac9(0xc4)])!=null?_0x42c7e1:'unknown';return{'changeset':{'unitID':_0x4bda21,'type':I[_0x1deac9(0x342)](_0x1a235a[_0x1deac9(0x243)](_0x4bda21)),'baseRev':_0x5919dd[_0x1deac9(0x27f)](_0x4bda21),'revision':0x0,'userID':_0x103db0,'memberID':_0x33eca7,'mutations':_0x10f2f1},'pendingMutations':[]};}function bt(_0x5e9315,_0x5f1aa0){var _0x52c15d=_0x190638;const _0x5f3684=new $[(_0x52c15d(0x41b))](0x1);return setTimeout(()=>_0x5f3684[_0x52c15d(0x423)](_0x5f1aa0),_0x5e9315),_0x5f3684[_0x52c15d(0x213)]()[_0x52c15d(0x323)]($[_0x52c15d(0xce)](0x1));}const ui={'id':X[_0x190638(0x2e0)]['id'],'type':a[_0x190638(0x192)]['MUTATION'],'params':{}};var di=Object[_0x190638(0x2f8)],ae=(_0x457efc,_0x56fb13,_0x56ea0c,_0x52746e)=>{for(var _0x45cde1=_0x52746e>0x1?void 0x0:_0x52746e?di(_0x56fb13,_0x56ea0c):_0x56fb13,_0x371f1b=_0x457efc['length']-0x1,_0x44e0db;_0x371f1b>=0x0;_0x371f1b--)(_0x44e0db=_0x457efc[_0x371f1b])&&(_0x45cde1=_0x44e0db(_0x45cde1)||_0x45cde1);return _0x45cde1;},w=(_0x6aa4b1,_0x1bd90a)=>(_0x2ef890,_0x1181a7)=>_0x1bd90a(_0x2ef890,_0x1181a7,_0x6aa4b1),Be=(_0x5e1b58=>(_0x5e1b58['NOT_COLLAB']=_0x190638(0x376),_0x5e1b58[_0x190638(0x257)]=_0x190638(0x40a),_0x5e1b58[_0x190638(0x347)]=_0x190638(0x3d4),_0x5e1b58[_0x190638(0xe8)]='awaiting',_0x5e1b58['AWAITING_WITH_PENDING']=_0x190638(0x370),_0x5e1b58['FETCH_MISS']='fetch_missing',_0x5e1b58[_0x190638(0x2a7)]=_0x190638(0x2c6),_0x5e1b58['OFFLINE']='offline',_0x5e1b58))(Be||{});const Rt=0xea60;class ce{constructor(_0x148b5e,_0x57294b,_0x25a7c6,_0x218f5f,_0x3faace,_0x45bcde,_0x1a6c05,_0x4bcbab,_0x40c90d){var _0x10ee34=_0x190638;A(this,_0x10ee34(0x13b),null),A(this,_0x10ee34(0xea),[]),(this['unitID']=_0x148b5e,this[_0x10ee34(0x123)]=_0x57294b,this['_handler']=_0x3faace,this['_commandService']=_0x45bcde,this[_0x10ee34(0x101)]=_0x1a6c05,this['_revisionService']=_0x4bcbab,this['_localCacheService']=_0x40c90d,this[_0x10ee34(0x13b)]=_0x25a7c6,this[_0x10ee34(0xea)]=_0x218f5f);}[_0x190638(0x3f5)](_0x34426d){var _0x189ca5=_0x190638;const _0x560520=this[_0x189ca5(0x407)][_0x189ca5(0x27f)](this[_0x189ca5(0x11f)]);return _0x34426d['revision']>_0x560520+0x1?(this[_0x189ca5(0x3cf)][_0x189ca5(0x3b0)]({'from':_0x560520,'to':_0x34426d[_0x189ca5(0x3b9)]-0x1}),!0x0):!0x1;}[_0x190638(0x174)](_0x3cfb87){var _0x40fe3d=_0x190638;this[_0x40fe3d(0x101)][_0x40fe3d(0x230)](this[_0x40fe3d(0x11f)],_0x3cfb87);}[_0x190638(0x201)](_0x4a6d0b){var _0xaacaeb=_0x190638,_0xc318a2,_0x4bb7b4;(_0x4bb7b4=(_0xc318a2=this['_handler'])[_0xaacaeb(0x2df)])==null||_0x4bb7b4['call'](_0xc318a2,_0x4a6d0b);}['_transformIMECache'](_0x5e5523){var _0x3479d2=_0x190638,_0x4faab4,_0x23d62c;return(_0x23d62c=(_0x4faab4=this['_handler'])[_0x3479d2(0xec)])==null?void 0x0:_0x23d62c[_0x3479d2(0x385)](_0x4faab4,_0x5e5523);}[_0x190638(0x234)](_0xe0a738){var _0x35d5bf=_0x190638,_0x44956a,_0xddc259;return(_0xddc259=(_0x44956a=this[_0x35d5bf(0x3cf)])[_0x35d5bf(0x118)])==null?void 0x0:_0xddc259[_0x35d5bf(0x385)](_0x44956a,_0xe0a738);}[_0x190638(0x23a)](_0x55efcd){var _0x9cda3a=_0x190638,_0xb44874,_0x4a6f27,_0x3455e0;return(_0x3455e0=(_0x4a6f27=(_0xb44874=this['_handler'])[_0x9cda3a(0x415)])==null?void 0x0:_0x4a6f27[_0x9cda3a(0x385)](_0xb44874,_0x55efcd))!=null?_0x3455e0:_0x55efcd;}[_0x190638(0xd5)](_0x5516df){var _0x3159e4=_0x190638,_0x2e60e8,_0x526584,_0x291ca0;return(_0x291ca0=(_0x526584=(_0x2e60e8=this[_0x3159e4(0x3cf)])[_0x3159e4(0x431)])==null?void 0x0:_0x526584[_0x3159e4(0x385)](_0x2e60e8,_0x5516df))!=null?_0x291ca0:_0x5516df;}[_0x190638(0x317)](_0x1e0c47){var _0x541b0e=_0x190638,_0x1da2bf,_0x28baed;if(this[_0x541b0e(0x123)]===J['UNIVER_DOC']){const {unitID:_0x3ebb46,mutations:_0x549107,memberID:_0x5a35ff}=_0x1e0c47,_0x2433bb=_0x549107[0x0][_0x541b0e(0x34a)][_0x541b0e(0x3fc)];Array[_0x541b0e(0x293)](_0x2433bb)&&_0x2433bb['length']>0x0&&((_0x28baed=(_0x1da2bf=this[_0x541b0e(0x3cf)])[_0x541b0e(0x2f4)])==null||_0x28baed[_0x541b0e(0x385)](_0x1da2bf,{'unitID':_0x3ebb46,'memberID':_0x5a35ff,'textRanges':_0x2433bb}));}}[_0x190638(0x1ec)](){var _0x4661c5=_0x190638,_0x5e9792;(_0x5e9792=this[_0x4661c5(0x1fa)])==null||_0x5e9792[_0x4661c5(0x153)](this[_0x4661c5(0x11f)],this[_0x4661c5(0x123)],this[_0x4661c5(0x13b)],this[_0x4661c5(0xea)]);}[_0x190638(0xb7)](){var _0x11814f=_0x190638;return this[_0x11814f(0x407)][_0x11814f(0x27f)](this['unitID']);}[_0x190638(0x3c7)](){var _0xbb4a69=_0x190638;this['_revisionService'][_0xbb4a69(0x3b7)](this[_0xbb4a69(0x11f)]);}[_0x190638(0x360)](_0x3b4ab5){var _0x1607b7=_0x190638,_0x13d1e9;let _0xf70476=this[_0x1607b7(0x23a)](_0x3b4ab5);_0xf70476=this['_transformRemoteChangesetByStateCache'](_0xf70476);const _0x5ac529=a[_0x1607b7(0x236)](_0xf70476[_0x1607b7(0x3da)],this[_0x1607b7(0x418)],{'fromCollab':!0x0});if(!_0x5ac529[_0x1607b7(0x3b8)])throw _0x5ac529[_0x1607b7(0x1e1)]instanceof Error?_0x5ac529['error']:new Error((_0x13d1e9=_0x5ac529[_0x1607b7(0x1e1)])!=null?_0x13d1e9:_0x1607b7(0xd7));this[_0x1607b7(0x196)](_0xf70476),this[_0x1607b7(0x234)](_0xf70476),this[_0x1607b7(0x174)](_0x3b4ab5),this[_0x1607b7(0x201)](_0xf70476),this[_0x1607b7(0x317)](_0xf70476),this['_incrementRevisionNumber']();}}exports[_0x190638(0x2ea)]=class extends ce{constructor(_0x233acd,_0x3355a0,_0x4689e7,_0x224722,_0x3bdb9e,_0x1aff51,_0x29601c,_0x5a9dcd,_0x1f3b82,_0xa63e61){var _0x13738c=_0x190638;super(_0x233acd,_0x3355a0,null,[],_0x4689e7,_0x29601c,_0x1aff51,_0x224722,_0xa63e61),A(this,_0x13738c(0x1bc),'synced'),(this[_0x13738c(0x307)]=_0x3bdb9e,this[_0x13738c(0x2e2)]=_0x5a9dcd,this['_transformService']=_0x1f3b82,this[_0x13738c(0x2e1)]=_0xa63e61);}['appendMutation'](_0x1496f5){var _0x864139=_0x190638;const _0x312fba=this[_0x864139(0x307)]['createInstance'](exports['PendingState'],this[_0x864139(0x11f)],this['type'],[_0x1496f5],this[_0x864139(0x3cf)]);return _0x312fba[_0x864139(0x3fa)](),_0x312fba[_0x864139(0x1ec)](),_0x312fba;}['onRemoteChangeset'](_0x2c7f4f){var _0x15de51=_0x190638;if(this[_0x15de51(0x3f5)](_0x2c7f4f))return this[_0x15de51(0x307)]['createInstance'](exports[_0x15de51(0x351)],this[_0x15de51(0x11f)],this[_0x15de51(0x123)],null,[],null,[_0x2c7f4f],this[_0x15de51(0x3cf)]);try{const _0x222446=this['_transformService'][_0x15de51(0x318)](_0x2c7f4f,[ui]);if(I[_0x15de51(0x3a3)](_0x222446)){const {c1Prime:_0x51d2e0}=_0x222446;return this[_0x15de51(0x360)](_0x51d2e0),this;}throw _0x222446[_0x15de51(0x1e1)];}catch(_0x22d87e){return this['_logService']['error'](_0x22d87e),this[_0x15de51(0x2fa)](!0x1);}}['_onConflict'](_0x3bbd4b){var _0xfc6573=_0x190638;return this[_0xfc6573(0x307)][_0xfc6573(0x33d)](exports[_0xfc6573(0x41d)],this[_0xfc6573(0x11f)],this[_0xfc6573(0x123)],null,[],this[_0xfc6573(0x3cf)],_0x3bbd4b);}[_0x190638(0x225)](){var _0x18dba1=_0x190638;throw new Error(_0x18dba1(0xeb));}[_0x190638(0xfb)](){var _0x296770=_0x190638;throw new Error(_0x296770(0x18d));}[_0x190638(0x1aa)](){return this;}[_0x190638(0x211)](){var _0x19a6b1=_0x190638;return this[_0x19a6b1(0x307)]['createInstance'](exports[_0x19a6b1(0x30a)],this[_0x19a6b1(0x11f)],this[_0x19a6b1(0x123)],null,[],this['_handler']);}[_0x190638(0x2c4)](){return this;}[_0x190638(0x30b)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x190638(0x269)](){var _0x5797b9=_0x190638;const _0x7c707e=this[_0x5797b9(0x407)][_0x5797b9(0x27f)](this[_0x5797b9(0x11f)]);return this[_0x5797b9(0x3cf)][_0x5797b9(0x3b0)]({'from':_0x7c707e,'to':0x0}),this[_0x5797b9(0x307)][_0x5797b9(0x33d)](exports[_0x5797b9(0x351)],this[_0x5797b9(0x11f)],this[_0x5797b9(0x123)],null,[],null,[],this[_0x5797b9(0x3cf)]);}},exports[_0x190638(0x2ea)]=ae([w(0x3,a[_0x190638(0x3fb)](I[_0x190638(0x417)])),w(0x4,a[_0x190638(0x3fb)](a[_0x190638(0xbc)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x190638(0x167)]),w(0x7,a[_0x190638(0xf0)]),w(0x8,I[_0x190638(0x349)]),w(0x9,a[_0x190638(0x378)](q))],exports[_0x190638(0x2ea)]),exports[_0x190638(0x301)]=class extends ce{constructor(_0xc9daab,_0x223e50,_0x40f163,_0xb3f368,_0x3acb27,_0x6f436d,_0x13ac91,_0x19de1e,_0x4796ab,_0x3e397d,_0x5b5831,_0x520254,_0x1fdd8a,_0x4f5070){var _0x4f7650=_0x190638;super(_0xc9daab,_0x223e50,null,_0x40f163,_0xb3f368,_0x4796ab,_0x1fdd8a,_0x6f436d,_0x4f5070),A(this,'status',_0x4f7650(0x3d4)),A(this,_0x4f7650(0x224),null),A(this,_0x4f7650(0xff),null),(this[_0x4f7650(0x307)]=_0x3acb27,this[_0x4f7650(0x120)]=_0x13ac91,this[_0x4f7650(0x2e2)]=_0x19de1e,this[_0x4f7650(0x350)]=_0x3e397d,this[_0x4f7650(0x20e)]=_0x5b5831,this[_0x4f7650(0x1a3)]=_0x520254);}[_0x190638(0x251)](_0x599f07){var _0x55f02f=_0x190638;return this[_0x55f02f(0xea)]['push'](_0x599f07),this[_0x55f02f(0x1ec)](),this;}[_0x190638(0x31e)](_0x1ec1f9){var _0xb43496=_0x190638;if(this[_0xb43496(0x3f5)](_0x1ec1f9))return this['_clearScheduledTask'](),this[_0xb43496(0x307)][_0xb43496(0x33d)](exports[_0xb43496(0x351)],this[_0xb43496(0x11f)],this[_0xb43496(0x123)],null,this[_0xb43496(0xea)],null,[_0x1ec1f9],this['_handler']);try{const _0x536099=this['_transformService'][_0xb43496(0x318)](_0x1ec1f9,this[_0xb43496(0xea)]);if(I[_0xb43496(0x3a3)](_0x536099)){const {c1Prime:_0x19fd55,m2Prime:_0x45de82}=_0x536099;this[_0xb43496(0x360)](_0x19fd55);const _0x25777c=this[_0xb43496(0x307)][_0xb43496(0x33d)](exports['PendingState'],this[_0xb43496(0x11f)],this[_0xb43496(0x123)],_0x45de82,this[_0xb43496(0x3cf)]);this[_0xb43496(0x10e)]();const _0x7a5191=new Date()['getTime'](),_0x4b406e=this[_0xb43496(0x224)]?Math['max'](this[_0xb43496(0x224)]-_0x7a5191,0x0):this[_0xb43496(0x3d1)]();return _0x25777c[_0xb43496(0x3fa)](_0x4b406e),_0x25777c;}throw _0x536099['error'];}catch(_0x21ccd6){return this[_0xb43496(0x2e2)][_0xb43496(0x1e1)](_0x21ccd6),this[_0xb43496(0x2fa)](!0x1);}}['onRemoteAck'](){var _0x29280c=_0x190638;throw new Error(_0x29280c(0x2b4));}[_0x190638(0xfb)](){var _0x3bdc92=_0x190638;throw new Error(_0x3bdc92(0x345));}[_0x190638(0x1aa)](){return this;}[_0x190638(0x211)](){var _0x3f97b0=_0x190638;return this[_0x3f97b0(0x10e)](),this[_0x3f97b0(0x307)][_0x3f97b0(0x33d)](exports[_0x3f97b0(0x30a)],this[_0x3f97b0(0x11f)],this[_0x3f97b0(0x123)],null,this[_0x3f97b0(0xea)],this[_0x3f97b0(0x3cf)]);}[_0x190638(0x2c4)](){return this;}[_0x190638(0x3fa)](_0x484d41){var _0x520c24=_0x190638;const _0x4aa407=_0x484d41!=null?_0x484d41:this[_0x520c24(0x3d1)]();this['_scheduleCompleteTimestamp']=new Date()[_0x520c24(0x324)]()+_0x4aa407,this['_sendingTimer']=setTimeout(()=>{var _0x18917e=_0x520c24;this[_0x18917e(0x10e)]();let _0x2a9000=null;switch(this[_0x18917e(0x123)]){case J[_0x18917e(0x395)]:{_0x2a9000=Ke(this[_0x18917e(0xea)],this[_0x18917e(0x11f)],this['_univerInstanceService'],this['_revisionService'],this[_0x18917e(0x120)]);break;}case J[_0x18917e(0x145)]:{this[_0x18917e(0xea)][_0x18917e(0xc2)](_0x58ef6b=>_0x58ef6b['id']===ht[_0x18917e(0x1a7)]['id'])?_0x2a9000=li(this[_0x18917e(0xea)],this[_0x18917e(0x11f)],this[_0x18917e(0x1a3)],this['_revisionService'],this[_0x18917e(0x120)]):_0x2a9000=Ke(this[_0x18917e(0xea)],this[_0x18917e(0x11f)],this[_0x18917e(0x1a3)],this[_0x18917e(0x407)],this[_0x18917e(0x120)]);break;}default:throw new Error(_0x18917e(0x1ed)+this['type']+_0x18917e(0x3e3));}const {changeset:_0x225570,pendingMutations:_0x5a5042}=_0x2a9000;this[_0x18917e(0x3cf)][_0x18917e(0x305)](_0x225570);const _0xf80091=_0x5a5042[_0x18917e(0x232)]?this[_0x18917e(0x307)][_0x18917e(0x33d)](exports[_0x18917e(0x42d)],this[_0x18917e(0x11f)],this[_0x18917e(0x123)],_0x225570,_0x5a5042,this[_0x18917e(0x3cf)],void 0x0):this[_0x18917e(0x307)][_0x18917e(0x33d)](exports[_0x18917e(0x27c)],this[_0x18917e(0x11f)],this[_0x18917e(0x123)],_0x225570,this[_0x18917e(0x3cf)]);_0xf80091[_0x18917e(0x1ec)](),this[_0x18917e(0x3cf)][_0x18917e(0x12a)](this,_0xf80091);},_0x4aa407);}[_0x190638(0x3d1)](){var _0x4e29b9=_0x190638,_0x548702;const _0x16df49=this[_0x4e29b9(0x350)]['getConfig'](K);return(_0x548702=_0x16df49==null?void 0x0:_0x16df49[_0x4e29b9(0x1b6)])!=null?_0x548702:xt;}[_0x190638(0x30b)](){var _0x1fe664=_0x190638;throw new Error(_0x1fe664(0x433));}[_0x190638(0x10e)](){var _0x383e26=_0x190638;this[_0x383e26(0xff)]!=null&&(clearTimeout(this[_0x383e26(0xff)]),this[_0x383e26(0xff)]=null);}[_0x190638(0x2fa)](_0x21d218){var _0x4464dc=_0x190638;return this[_0x4464dc(0x10e)](),this[_0x4464dc(0x307)]['createInstance'](exports[_0x4464dc(0x41d)],this['unitID'],this['type'],null,this[_0x4464dc(0xea)],this[_0x4464dc(0x3cf)],_0x21d218);}},exports[_0x190638(0x301)]=ae([w(0x4,a[_0x190638(0x3fb)](a[_0x190638(0xbc)])),w(0x5,a['Inject'](I[_0x190638(0x417)])),w(0x6,a['Inject'](exports[_0x190638(0x23c)])),w(0x7,a[_0x190638(0xf0)]),w(0x8,a[_0x190638(0x167)]),w(0x9,a[_0x190638(0x1d1)]),w(0xa,I['ITransformService']),w(0xb,a['IUniverInstanceService']),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x190638(0x378)](q))],exports[_0x190638(0x301)]),exports[_0x190638(0x27c)]=class extends ce{constructor(_0x1cc923,_0x240137,_0x30c5cd,_0x394116,_0x2ece43,_0x63355e,_0x43099f,_0x257a72,_0x4b35f9,_0x387ccf,_0x5d32f9){var _0x463a40=_0x190638;super(_0x1cc923,_0x240137,_0x30c5cd,[],_0x394116,_0x43099f,_0x387ccf,_0x63355e,_0x5d32f9),A(this,_0x463a40(0x1bc),'awaiting'),A(this,_0x463a40(0x336),0x0),A(this,_0x463a40(0x40c)),A(this,_0x463a40(0xfe)),(this[_0x463a40(0x307)]=_0x2ece43,this[_0x463a40(0x2e2)]=_0x257a72,this['_transformService']=_0x4b35f9);}[_0x190638(0x251)](_0x995a84){var _0x14df00=_0x190638;this[_0x14df00(0x10e)]();const _0x4311d3=this[_0x14df00(0x307)][_0x14df00(0x33d)](exports[_0x14df00(0x42d)],this[_0x14df00(0x11f)],this[_0x14df00(0x123)],this[_0x14df00(0x13b)],[_0x995a84],this[_0x14df00(0x3cf)],this[_0x14df00(0x40c)]);return _0x4311d3['_updateLocalCache'](),_0x4311d3;}[_0x190638(0x31e)](_0x550925){var _0x8c7664=_0x190638;if(this[_0x8c7664(0x3f5)](_0x550925))return this[_0x8c7664(0x10e)](),this[_0x8c7664(0x307)][_0x8c7664(0x33d)](exports[_0x8c7664(0x351)],this[_0x8c7664(0x11f)],this[_0x8c7664(0x123)],this[_0x8c7664(0x13b)],[],null,[_0x550925],this[_0x8c7664(0x3cf)]);try{const _0x62a1a0=this[_0x8c7664(0x20e)]['transformChangesets']([_0x550925],[this[_0x8c7664(0x13b)]],!0x1);if(I['isTransformChangesetsSuccess'](_0x62a1a0)){const {c1Prime:_0x17689c,c2Prime:_0x1e7fe7}=_0x62a1a0;this[_0x8c7664(0x360)](_0x17689c[0x0]),_0x1e7fe7[0x0][_0x8c7664(0x382)]=this['_getCurrentRevision'](),this[_0x8c7664(0x10e)]();const _0x2decff=this[_0x8c7664(0x307)][_0x8c7664(0x33d)](exports['AwaitingState'],this[_0x8c7664(0x11f)],this[_0x8c7664(0x123)],_0x1e7fe7[0x0],this['_handler']);return _0x2decff[_0x8c7664(0x1ec)](),_0x2decff;}return this['_onConflict'](!0x1);}catch(_0x35463b){return this[_0x8c7664(0x2e2)][_0x8c7664(0x1e1)](_0x35463b),this[_0x8c7664(0x2fa)](!0x1);}}[_0x190638(0x225)](_0x3e1152){var _0x49b73a=_0x190638;this[_0x49b73a(0x10e)]();const _0x454d6d=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x3e1152[_0x49b73a(0x3b9)]<_0x454d6d-0x1)return this;if(this['_checkMissing'](_0x3e1152))return this[_0x49b73a(0x307)][_0x49b73a(0x33d)](exports[_0x49b73a(0x351)],this['unitID'],this[_0x49b73a(0x123)],null,[],this[_0x49b73a(0x13b)],[],this['_handler']);this[_0x49b73a(0x3c7)]();const _0x59f44=this[_0x49b73a(0x307)][_0x49b73a(0x33d)](exports[_0x49b73a(0x2ea)],this[_0x49b73a(0x11f)],this[_0x49b73a(0x123)],this[_0x49b73a(0x3cf)]);return _0x59f44[_0x49b73a(0x1ec)](),_0x59f44;}[_0x190638(0xfb)](_0x57b597){var _0x492723=_0x190638;return this[_0x492723(0x2fa)](!!(_0x57b597!=null&&_0x57b597['isPermissionRej']));}[_0x190638(0x1aa)](_0x2660c2){var _0x5b851b=_0x190638;return this['_resendTimeout']>Rt?this[_0x5b851b(0x211)]():(this[_0x5b851b(0x40c)]=bt(this[_0x5b851b(0x336)],{'timeout':this[_0x5b851b(0x336)],'reqId':_0x2660c2[_0x5b851b(0x24b)]}),this['_sender']=this[_0x5b851b(0x40c)]['subscribe'](({reqId:_0x1f0895,timeout:_0x51c94b})=>{var _0x123d6f=_0x5b851b;this[_0x123d6f(0x396)](_0x1f0895,_0x51c94b);}),this);}[_0x190638(0x211)](){var _0x5c2f29=_0x190638;return this[_0x5c2f29(0x10e)](),this[_0x5c2f29(0x307)]['createInstance'](exports[_0x5c2f29(0x30a)],this[_0x5c2f29(0x11f)],this[_0x5c2f29(0x123)],this[_0x5c2f29(0x13b)],[],this['_handler']);}[_0x190638(0x2c4)](){return this;}[_0x190638(0x30b)](){var _0x274beb=_0x190638;this[_0x274beb(0x3cf)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x481875){var _0x2411c3=_0x190638;return this[_0x2411c3(0x10e)](),this[_0x2411c3(0x307)]['createInstance'](exports[_0x2411c3(0x41d)],this[_0x2411c3(0x11f)],this[_0x2411c3(0x123)],this['_awaitingChangeset'],[],this[_0x2411c3(0x3cf)],_0x481875);}[_0x190638(0x396)](_0x11e487,_0x1db928){var _0x574354=_0x190638,_0x4211f2;_0x11e487===((_0x4211f2=this[_0x574354(0x13b)])==null?void 0x0:_0x4211f2[_0x574354(0x24b)])&&(this['resend'](),this[_0x574354(0x336)]=_0x1db928===0x0?0x3e8:_0x1db928*0x2);}['_clearScheduledTask'](){var _0x5b7565=_0x190638,_0x2dc529;(_0x2dc529=this['_sender'])==null||_0x2dc529['unsubscribe'](),this[_0x5b7565(0x336)]=0x0;}},exports[_0x190638(0x27c)]=ae([w(0x4,a[_0x190638(0x3fb)](a[_0x190638(0xbc)])),w(0x5,a[_0x190638(0x3fb)](I['RevisionService'])),w(0x6,a['ICommandService']),w(0x7,a[_0x190638(0xf0)]),w(0x8,I[_0x190638(0x349)]),w(0x9,a[_0x190638(0x2bd)]),w(0xa,a[_0x190638(0x378)](q))],exports['AwaitingState']),exports[_0x190638(0x42d)]=class extends ce{constructor(_0x50cedd,_0x50dd91,_0x1995b8,_0x419f41,_0xaf4b1d,_0x154d92,_0x3ab44e,_0x5d2e93,_0x5b4f78,_0x509540,_0x364f0b,_0x7407ab,_0x37584e){var _0x434a92=_0x190638;super(_0x50cedd,_0x50dd91,_0x1995b8,_0x419f41,_0xaf4b1d,_0x5b4f78,_0x7407ab,_0x5d2e93,_0x37584e),A(this,_0x434a92(0x1bc),_0x434a92(0x370)),A(this,_0x434a92(0x336),0x0),A(this,_0x434a92(0x40c)),A(this,_0x434a92(0xfe)),(this['_injector']=_0x3ab44e,this['_logService']=_0x509540,this[_0x434a92(0x20e)]=_0x364f0b,this[_0x434a92(0x2e1)]=_0x37584e,_0x154d92&&(this['_resendTimer']=_0x154d92,this[_0x434a92(0xfe)]=this[_0x434a92(0x40c)][_0x434a92(0x3a9)](({reqId:_0x182794,timeout:_0x572f53})=>{this['_resendWithTimeout'](_0x182794,_0x572f53);})));}[_0x190638(0x251)](_0x43951f){var _0x168d16=_0x190638;return this['_pendingMutations'][_0x168d16(0x2dc)](_0x43951f),this;}['onRemoteChangeset'](_0x247721){var _0x107f99=_0x190638;if(this[_0x107f99(0x3f5)](_0x247721))return this['_clearScheduledTask'](),this[_0x107f99(0x307)]['createInstance'](exports[_0x107f99(0x351)],this[_0x107f99(0x11f)],this[_0x107f99(0x123)],this[_0x107f99(0x13b)],this[_0x107f99(0xea)],null,[_0x247721],this['_handler']);try{const _0x3837bb=this['_transformService'][_0x107f99(0x3aa)]([_0x247721],[this['_awaitingChangeset']],!0x1);if(I[_0x107f99(0x32d)](_0x3837bb)){const {c1Prime:_0x5b2d64,c2Prime:_0x4081dd}=_0x3837bb,_0x193171=this[_0x107f99(0x20e)][_0x107f99(0x318)](_0x5b2d64[0x0],this[_0x107f99(0xea)]);if(I[_0x107f99(0x3a3)](_0x193171)){const {c1Prime:_0x2e8e39,m2Prime:_0x4bf138}=_0x193171;return this[_0x107f99(0x360)](_0x2e8e39),_0x4081dd[0x0][_0x107f99(0x382)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this['_injector'][_0x107f99(0x33d)](exports[_0x107f99(0x42d)],this[_0x107f99(0x11f)],this[_0x107f99(0x123)],_0x4081dd[0x0],_0x4bf138,this[_0x107f99(0x3cf)],void 0x0);}throw _0x193171['error'];}throw _0x3837bb['error'];}catch(_0xb9ca3f){return this[_0x107f99(0x2e2)][_0x107f99(0x1e1)](_0xb9ca3f),this[_0x107f99(0x2fa)](!0x1);}}['onRemoteAck'](_0x125983){var _0x5360eb=_0x190638;if(this[_0x5360eb(0x10e)](),this[_0x5360eb(0x3f5)](_0x125983))return this[_0x5360eb(0x307)][_0x5360eb(0x33d)](exports['FetchingMissState'],this['unitID'],this[_0x5360eb(0x123)],null,this[_0x5360eb(0xea)],this[_0x5360eb(0x13b)],[],this[_0x5360eb(0x3cf)]);this[_0x5360eb(0x3c7)]();const _0x18a44b=this[_0x5360eb(0x307)][_0x5360eb(0x33d)](exports[_0x5360eb(0x301)],this['unitID'],this[_0x5360eb(0x123)],this[_0x5360eb(0xea)],this[_0x5360eb(0x3cf)]);return _0x18a44b[_0x5360eb(0x3fa)](),_0x18a44b[_0x5360eb(0x1ec)](),_0x18a44b;}[_0x190638(0xfb)](_0x528d25){var _0x48f124=_0x190638;return this[_0x48f124(0x2fa)](!!(_0x528d25!=null&&_0x528d25[_0x48f124(0x2d4)]));}[_0x190638(0x1aa)](_0x5c176a){var _0x4f7c04=_0x190638;return this['_resendTimeout']>Rt?this[_0x4f7c04(0x211)]():(this['_resendTimer']=bt(this[_0x4f7c04(0x336)],{'timeout':this[_0x4f7c04(0x336)],'reqId':_0x5c176a[_0x4f7c04(0x24b)]}),this[_0x4f7c04(0xfe)]=this[_0x4f7c04(0x40c)][_0x4f7c04(0x3a9)](({reqId:_0xba5f6b,timeout:_0x390a88})=>{var _0x5c1087=_0x4f7c04;this[_0x5c1087(0x396)](_0xba5f6b,_0x390a88);}),this);}[_0x190638(0x211)](){var _0x5716a7=_0x190638;return this[_0x5716a7(0x10e)](),this[_0x5716a7(0x307)][_0x5716a7(0x33d)](exports['OfflineState'],this[_0x5716a7(0x11f)],this[_0x5716a7(0x123)],this[_0x5716a7(0x13b)],this['_pendingMutations'],this['_handler']);}[_0x190638(0x2c4)](){return this;}[_0x190638(0x30b)](){var _0x1de85f=_0x190638;this[_0x1de85f(0x3cf)]['onSendChangeset'](this[_0x1de85f(0x13b)]);}['_onConflict'](_0x53536b){var _0x54da06=_0x190638;return this['_clearScheduledTask'](),this[_0x54da06(0x307)][_0x54da06(0x33d)](exports[_0x54da06(0x41d)],this[_0x54da06(0x11f)],this['type'],null,this[_0x54da06(0xea)],this['_handler'],_0x53536b);}['_resendWithTimeout'](_0x46cd00,_0x4ad0e7){var _0x4fee2b=_0x190638,_0xca10a3;_0x46cd00===((_0xca10a3=this['_awaitingChangeset'])==null?void 0x0:_0xca10a3[_0x4fee2b(0x24b)])&&(this['resend'](),this['_resendTimeout']=_0x4ad0e7===0x0?0x3e8:_0x4ad0e7*0x2);}[_0x190638(0x10e)](){var _0x4e23b4=_0x190638,_0x23890f;(_0x23890f=this['_sender'])==null||_0x23890f[_0x4e23b4(0x23e)](),this[_0x4e23b4(0x336)]=0x0;}},exports[_0x190638(0x42d)]=ae([w(0x6,a[_0x190638(0x3fb)](a[_0x190638(0xbc)])),w(0x7,a[_0x190638(0x3fb)](I[_0x190638(0x417)])),w(0x8,a[_0x190638(0x167)]),w(0x9,a['ILogService']),w(0xa,I[_0x190638(0x349)]),w(0xb,a[_0x190638(0x2bd)]),w(0xc,a[_0x190638(0x378)](q))],exports[_0x190638(0x42d)]),exports[_0x190638(0x41d)]=class extends ce{constructor(_0x45ffdc,_0x12ab62,_0x409818,_0x571db2,_0x11ad26,_0x4b70c7=!0x1,_0x1e5760,_0x38c0ee,_0x3db00c,_0x527a7f,_0x213a31,_0x14192b,_0x4d9b73){var _0x31ac70=_0x190638;super(_0x45ffdc,_0x12ab62,_0x409818,_0x571db2,_0x11ad26,_0x38c0ee,_0x3db00c,_0x527a7f,_0x4d9b73),A(this,_0x31ac70(0x1bc),_0x31ac70(0x2c6)),(this[_0x31ac70(0x125)]=_0x4b70c7,this[_0x31ac70(0xc1)]=_0x1e5760,this[_0x31ac70(0x22b)]=_0x213a31,this['_collaborationUIEventService']=_0x14192b,this[_0x31ac70(0x2e1)]=_0x4d9b73,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x31ac70(0x290)]());}[_0x190638(0x251)](){return this;}['onRemoteChangeset'](){return this;}[_0x190638(0x225)](){return this;}[_0x190638(0xfb)](){return this;}[_0x190638(0x1aa)](){return this;}[_0x190638(0x211)](){return this;}[_0x190638(0x2c4)](){return this;}[_0x190638(0x30b)](){var _0x13dbda=_0x190638;throw new Error(_0x13dbda(0x11d));}[_0x190638(0x314)](){var _0x1bfd4c=_0x190638,_0x42d8d7;(_0x42d8d7=this[_0x1bfd4c(0x1fa)])==null||_0x42d8d7['updateOfflineData'](this[_0x1bfd4c(0x11f)],this['type'],null,[]);}[_0x190638(0x375)](){var _0x456826=_0x190638;this[_0x456826(0x125)]?this[_0x456826(0xdc)][_0x456826(0x191)]({'id':Z[_0x456826(0x2d1)]}):this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x456826(0x2a7)]});}['_disableEditing'](){var _0x1cee70=_0x190638;this[_0x1cee70(0xc1)][_0x1cee70(0x16f)](new X['WorkbookEditablePermission'](this[_0x1cee70(0x11f)])['id'],!0x1);}},exports[_0x190638(0x41d)]=ae([w(0x6,a[_0x190638(0x3fb)](a[_0x190638(0x16b)])),w(0x7,a[_0x190638(0x167)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x190638(0x3fb)](I['RevisionService'])),w(0xa,a[_0x190638(0x3fb)](a[_0x190638(0x217)])),w(0xb,a[_0x190638(0x3fb)](ee)),w(0xc,a[_0x190638(0x378)](q))],exports[_0x190638(0x41d)]),exports[_0x190638(0x30a)]=class extends ce{constructor(_0x3f7fdf,_0xe0aec1,_0xc8745d,_0x40376e,_0xdfc09d,_0x2f847c,_0x4aeb82,_0x5a57bd,_0x19a9bd,_0x15e673){var _0x149c44=_0x190638;super(_0x3f7fdf,_0xe0aec1,_0xc8745d,_0x40376e,_0xdfc09d,_0x5a57bd,_0x19a9bd,_0x4aeb82,_0x15e673),A(this,_0x149c44(0x1bc),'offline'),this[_0x149c44(0x307)]=_0x2f847c;}[_0x190638(0x251)](_0x3a0dd5){var _0x47c942=_0x190638;return this[_0x47c942(0xea)]['push'](_0x3a0dd5),this['_updateLocalCache'](),this;}[_0x190638(0x31e)](_0x543940){var _0x20967d=_0x190638;throw new Error(_0x20967d(0x169));}[_0x190638(0x225)](){var _0x52930f=_0x190638;throw new Error(_0x52930f(0x1b9));}[_0x190638(0xfb)](){var _0x452392=_0x190638;throw new Error(_0x452392(0x38d));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x190638(0x2c4)](){var _0x2999b2=_0x190638;const {_injector:_0x3c29ae,_pendingMutations:_0x103c25,_awaitingChangeset:_0xf8459,unitID:_0x17d396,_handler:_0x36ee8c,type:_0x2ea31d}=this,_0x27dc65=Ot(_0x3c29ae,_0x17d396,_0x2ea31d,_0xf8459,_0x103c25,_0x36ee8c);return _0x27dc65 instanceof exports[_0x2999b2(0x301)]?_0x27dc65[_0x2999b2(0x3fa)]():(_0x27dc65 instanceof exports['AwaitingWithPendingState']||_0x27dc65 instanceof exports[_0x2999b2(0x27c)])&&_0x27dc65[_0x2999b2(0x30b)](),_0x27dc65;}[_0x190638(0x30b)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x190638(0x30a)]=ae([w(0x5,a[_0x190638(0x3fb)](a['Injector'])),w(0x6,a[_0x190638(0x3fb)](I[_0x190638(0x417)])),w(0x7,a[_0x190638(0x167)]),w(0x8,a[_0x190638(0x2bd)]),w(0x9,a[_0x190638(0x378)](q))],exports['OfflineState']),exports[_0x190638(0x351)]=class extends ce{constructor(_0x3c775b,_0x5a887a,_0x41c890,_0x3bda6d,_0x3f8d79,_0x2113ce,_0x1748d3,_0xdb58fa,_0x5c7137,_0x579958,_0x559ced,_0x3feadf,_0x23261c,_0xe614d){var _0xc09e09=_0x190638;super(_0x3c775b,_0x5a887a,_0x41c890,_0x3bda6d,_0x1748d3,_0x559ced,_0x3feadf,_0x5c7137,_0xe614d),A(this,'status','fetch_missing'),(this[_0xc09e09(0xc6)]=_0x3f8d79,this['_queuedRemoteChangesets']=_0x2113ce,this['_injector']=_0xdb58fa,this['_logService']=_0x579958,this['_transformService']=_0x23261c,this[_0xc09e09(0x2e1)]=_0xe614d);}['onMissedChangesetFetched'](_0x15faaa){var _0x23c359=_0x190638;try{const _0x38c284=[..._0x15faaa,...this['_queuedRemoteChangesets']],_0x2d7b25=[this[_0x23c359(0x13b)]||this['_acknowledgedAwaitingChangeset']][_0x23c359(0x2cf)](_0x17ec1b=>!!_0x17ec1b);let _0x526d1a,_0x395931;if(_0x2d7b25[_0x23c359(0x232)]){const _0x4fe531=this[_0x23c359(0x20e)]['transformChangesets'](_0x38c284,_0x2d7b25,!0x1);if(!I[_0x23c359(0x32d)](_0x4fe531))throw _0x4fe531[_0x23c359(0x1e1)];_0x526d1a=_0x4fe531['c1Prime'],_0x395931=_0x4fe531[_0x23c359(0x288)];}else _0x526d1a=_0x38c284,_0x395931=[];let _0x29268a=this[_0x23c359(0xea)];_0x526d1a[_0x23c359(0x397)](_0xe0ed67=>{var _0x8ed42b=_0x23c359;let _0xd7da44;if(_0x29268a[_0x8ed42b(0x232)]){const _0x12a102=this[_0x8ed42b(0x20e)]['transformMutationsWithChangeset'](_0xe0ed67,_0x29268a);if(!I[_0x8ed42b(0x3a3)](_0x12a102))throw _0x12a102[_0x8ed42b(0x1e1)];_0xd7da44=_0x12a102[_0x8ed42b(0x162)],_0x29268a=_0x12a102[_0x8ed42b(0x3d7)];}else _0xd7da44=_0xe0ed67;this[_0x8ed42b(0x360)](_0xd7da44);}),this[_0x23c359(0xc6)]&&this['_incrementRevisionNumber'](),this[_0x23c359(0x13b)]&&_0x395931['length']&&(_0x395931[0x0][_0x23c359(0x382)]=this[_0x23c359(0xb7)]());let _0x4cd310;if(this[_0x23c359(0x13b)]&&_0x29268a[_0x23c359(0x232)]!==0x0)_0x4cd310=this['_injector'][_0x23c359(0x33d)](exports[_0x23c359(0x42d)],this[_0x23c359(0x11f)],this[_0x23c359(0x123)],_0x395931[0x0],_0x29268a,this['_handler'],void 0x0);else{if(this[_0x23c359(0x13b)]&&_0x29268a[_0x23c359(0x232)]===0x0)_0x395931[0x0][_0x23c359(0x382)]=this[_0x23c359(0xb7)](),_0x4cd310=this[_0x23c359(0x307)]['createInstance'](exports[_0x23c359(0x27c)],this['unitID'],this[_0x23c359(0x123)],_0x395931[0x0],this['_handler']);else{if(_0x29268a[_0x23c359(0x232)]!==0x0){const _0x52f8de=this[_0x23c359(0x307)]['createInstance'](exports[_0x23c359(0x301)],this[_0x23c359(0x11f)],this[_0x23c359(0x123)],_0x29268a,this[_0x23c359(0x3cf)]);_0x52f8de['_schedule'](),_0x4cd310=_0x52f8de;}else _0x4cd310=this[_0x23c359(0x307)][_0x23c359(0x33d)](exports[_0x23c359(0x2ea)],this[_0x23c359(0x11f)],this[_0x23c359(0x123)],this[_0x23c359(0x3cf)]);}}return _0x4cd310[_0x23c359(0x1ec)](),_0x4cd310;}catch(_0x2c9eb){return this[_0x23c359(0x2e2)][_0x23c359(0x1e1)]('[FetchMissState]',_0x23c359(0x3c5),_0x2c9eb),this[_0x23c359(0x307)][_0x23c359(0x33d)](exports[_0x23c359(0x41d)],this[_0x23c359(0x11f)],this[_0x23c359(0x123)],this['_awaitingChangeset'],this[_0x23c359(0xea)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x95eb4d){var _0x48c18b=_0x190638;return this[_0x48c18b(0xea)]['push'](_0x95eb4d),this;}[_0x190638(0x31e)](_0x9a8f6d){var _0x3a622c=_0x190638;return this[_0x3a622c(0x1d7)]['push'](_0x9a8f6d),this;}['onRemoteAck'](_0x565535){var _0x2c04f0=_0x190638;if(this[_0x2c04f0(0x13b)])return this['_acknowledgedAwaitingChangeset']=this[_0x2c04f0(0x13b)],this[_0x2c04f0(0x13b)]=null,this;throw new Error(_0x2c04f0(0x1f9));}['onRemoteRej'](_0x1c857d){var _0x32276a=_0x190638;return this[_0x32276a(0x2fa)](!!(_0x1c857d!=null&&_0x1c857d['isPermissionRej']));}[_0x190638(0x1aa)](){return this;}[_0x190638(0x211)](){var _0x39ec4d=_0x190638;return this[_0x39ec4d(0x307)][_0x39ec4d(0x33d)](exports['OfflineState'],this[_0x39ec4d(0x11f)],this[_0x39ec4d(0x123)],this[_0x39ec4d(0x13b)],this[_0x39ec4d(0xea)],this[_0x39ec4d(0x3cf)]);}[_0x190638(0x2c4)](){return this;}['_onConflict'](_0x1680d6){var _0x47e011=_0x190638;return this[_0x47e011(0x307)][_0x47e011(0x33d)](exports[_0x47e011(0x41d)],this[_0x47e011(0x11f)],this[_0x47e011(0x123)],this[_0x47e011(0x13b)],this[_0x47e011(0xea)],this['_handler'],_0x1680d6);}},exports[_0x190638(0x351)]=ae([w(0x7,a[_0x190638(0x3fb)](a[_0x190638(0xbc)])),w(0x8,a[_0x190638(0x3fb)](I[_0x190638(0x417)])),w(0x9,a[_0x190638(0xf0)]),w(0xa,a[_0x190638(0x167)]),w(0xb,a[_0x190638(0x2bd)]),w(0xc,I[_0x190638(0x349)]),w(0xd,a[_0x190638(0x378)](q))],exports[_0x190638(0x351)]);function Ot(_0x334295,_0x44055d,_0x2ac7c7,_0x5306c6,_0x1c37af,_0x2489d6){var _0x474a0f=_0x190638;return _0x5306c6&&_0x1c37af[_0x474a0f(0x232)]?_0x334295[_0x474a0f(0x33d)](exports[_0x474a0f(0x42d)],_0x44055d,_0x2ac7c7,_0x5306c6,_0x1c37af,_0x2489d6,void 0x0):_0x5306c6?_0x334295[_0x474a0f(0x33d)](exports[_0x474a0f(0x27c)],_0x44055d,_0x2ac7c7,_0x5306c6,_0x2489d6):_0x1c37af['length']?_0x334295['createInstance'](exports[_0x474a0f(0x301)],_0x44055d,_0x2ac7c7,_0x1c37af,_0x2489d6):_0x334295[_0x474a0f(0x33d)](exports['SyncedState'],_0x44055d,_0x2ac7c7,_0x2489d6);}var vi=Object['getOwnPropertyDescriptor'],Fe=(_0x2972ba,_0x8c9414,_0x5c2ccd,_0x1eaa3d)=>{var _0x2bead1=_0x190638;for(var _0x2b101d=_0x1eaa3d>0x1?void 0x0:_0x1eaa3d?vi(_0x8c9414,_0x5c2ccd):_0x8c9414,_0x2bf566=_0x2972ba[_0x2bead1(0x232)]-0x1,_0xfdc995;_0x2bf566>=0x0;_0x2bf566--)(_0xfdc995=_0x2972ba[_0x2bf566])&&(_0x2b101d=_0xfdc995(_0x2b101d)||_0x2b101d);return _0x2b101d;},j=(_0x3e68f2,_0x13d9d3)=>(_0x1f0f70,_0x20471c)=>_0x13d9d3(_0x1f0f70,_0x20471c,_0x3e68f2);exports['CollaborationEntity']=class extends a[_0x190638(0xf5)]{constructor(_0x176a9d,_0x31bd36,_0x7f06d5,_0x33fe26,_0x50bd14,_0x3ab407,_0x461eb6,_0x2d70c8,_0xf79e99,_0x4a5d2d,_0x4b555d,_0x4fcfb5,_0xf6ade0){var _0x2b3e7c=_0x190638;super(),A(this,_0x2b3e7c(0x41c),new $[(_0x2b3e7c(0x333))](null)),A(this,'state$',this[_0x2b3e7c(0x41c)][_0x2b3e7c(0x213)]()),A(this,_0x2b3e7c(0x2c9)),A(this,_0x2b3e7c(0x394),!0x1),A(this,_0x2b3e7c(0xd6),''),A(this,_0x2b3e7c(0x1d9),0x0),A(this,'status$',this['state$'][_0x2b3e7c(0x323)]($[_0x2b3e7c(0x35d)](_0x31f51e=>_0x31f51e?_0x31f51e['status']:Be[_0x2b3e7c(0x40b)]),$['shareReplay'](0x1))),A(this,_0x2b3e7c(0x398),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x2b3e7c(0x11f)]=_0x176a9d,this[_0x2b3e7c(0x23d)]=_0x31bd36,this['_type']=_0x7f06d5,this['_injector']=_0x33fe26,this['_compressMutationService']=_0x50bd14,this[_0x2b3e7c(0x22b)]=_0x3ab407,this[_0x2b3e7c(0x407)]=_0x461eb6,this[_0x2b3e7c(0x2a6)]=_0x2d70c8,this['_logService']=_0xf79e99,this[_0x2b3e7c(0x418)]=_0x4a5d2d,this[_0x2b3e7c(0xc1)]=_0x4b555d,this[_0x2b3e7c(0x343)]=_0x4fcfb5,this[_0x2b3e7c(0x1fa)]=_0xf6ade0);}get[_0x190638(0x1bb)](){return this['_state'];}async[_0x190638(0x289)](){var _0x46fc4c=_0x190638;if(this[_0x46fc4c(0x1bb)])throw new Error(_0x46fc4c(0x124));await this['_init']();}['pauseCollaboration'](){var _0x40d299=_0x190638;return this[_0x40d299(0x394)]=!0x0,a[_0x40d299(0x152)](()=>{var _0x531668=_0x40d299;this[_0x531668(0x394)]=!0x1,this[_0x531668(0x1ad)]();});}[_0x190638(0x331)](_0x22a817){var _0x374d6f=_0x190638;this[_0x374d6f(0x15a)](_0x22a817);}[_0x190638(0x249)](_0x56c51e){var _0x4377fd=_0x190638;this[_0x4377fd(0x2c9)]=_0x56c51e,this[_0x4377fd(0x41c)][_0x4377fd(0x423)](_0x56c51e);}async[_0x190638(0x41a)](){var _0x2454a2=_0x190638,_0x44bab5;this[_0x2454a2(0x249)](await this['_createInitialState']()),this[_0x2454a2(0x343)]&&((_0x44bab5=this[_0x2454a2(0x343)])==null||_0x44bab5['editingUnit'](this[_0x2454a2(0x11f)]),this['disposeWithMe'](this[_0x2454a2(0x343)][_0x2454a2(0x112)](this[_0x2454a2(0x11f)])[_0x2454a2(0x3a9)](_0x3d9cdf=>{var _0x20c05c=_0x2454a2;this['_logService'][_0x20c05c(0x1fd)](_0x20c05c(0x2c8),_0x20c05c(0x41e),_0x3d9cdf),_0x3d9cdf===je[_0x20c05c(0x2e8)]?(this['_eventService'][_0x20c05c(0x191)]({'id':Z[_0x20c05c(0x1e3)]}),this[_0x20c05c(0xc1)][_0x20c05c(0x16f)](new X[(_0x20c05c(0x25e))](this[_0x20c05c(0x11f)])['id'],!0x1),this['_permissionService'][_0x20c05c(0x13a)](!0x1)):(this['_permissionService'][_0x20c05c(0x16f)](new X[(_0x20c05c(0x25e))](this['unitID'])['id'],!0x0),this[_0x20c05c(0xc1)][_0x20c05c(0x13a)](!0x0));})));let _0x94b03c=!0x1;return this[_0x2454a2(0x3f6)](this['session'][_0x2454a2(0x127)][_0x2454a2(0x3a9)](_0x2ffe14=>{var _0x15867b=_0x2454a2;_0x2ffe14===re[_0x15867b(0x21c)]?this[_0x15867b(0x1c8)](_0x94b03c):_0x2ffe14===re[_0x15867b(0x40b)]&&(_0x94b03c=!0x0,this[_0x15867b(0x13e)]());})),this[_0x2454a2(0x3f6)](this['session'][_0x2454a2(0x1d3)]['subscribe'](_0x59d07f=>{var _0x547837=_0x2454a2;try{switch(_0x59d07f[_0x547837(0x12c)]){case I['CollaborationEvent'][_0x547837(0x284)]:{this[_0x547837(0x107)](I[_0x547837(0x26b)](_0x59d07f[_0x547837(0x12f)]));break;}case I[_0x547837(0x20a)][_0x547837(0x104)]:{this[_0x547837(0x285)](_0x59d07f[_0x547837(0x12f)]);break;}case I[_0x547837(0x20a)][_0x547837(0x109)]:{this[_0x547837(0xc9)]();break;}case I[_0x547837(0x20a)][_0x547837(0x18a)]:{this[_0x547837(0x3d2)](_0x59d07f[_0x547837(0x12f)]);break;}case I['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x59d07f['data'][_0x547837(0x271)]['map'](_0x2f6f7e=>I[_0x547837(0x26b)](_0x2f6f7e)));break;}case I[_0x547837(0x20a)][_0x547837(0x386)]:{this[_0x547837(0xc9)]({'isPermissionRej':!0x0});break;}case I[_0x547837(0x20a)]['UNISCRIPT_RUN']:break;}}catch(_0x41c93f){throw console['error']('Error\x20on\x20receiving\x20event',_0x41c93f),_0x41c93f;}})),this[_0x2454a2(0x2c9)];}[_0x190638(0x37b)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x57e5ca=_0x190638;if(this[_0x57e5ca(0x398)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x57e5ca(0x398)]=!0x0;}['_onLocalMutation'](_0x5eb6c2){var _0x24ae11=_0x190638;this[_0x24ae11(0x1e0)](),this[_0x24ae11(0x249)](this['_state'][_0x24ae11(0x251)](_0x5eb6c2)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x34daf6){var _0x146590=_0x190638;if(!(_0x34daf6[_0x146590(0x3b9)]<=this[_0x146590(0x407)][_0x146590(0x27f)](this[_0x146590(0x11f)]))){if(this[_0x146590(0x394)]){this[_0x146590(0x340)][_0x146590(0x2dc)](_0x34daf6);return;}this['_applyRemoteChangeset'](_0x34daf6);}}['_exhaustRemoteChangesetQueue'](){var _0x1db6a8=_0x190638;this[_0x1db6a8(0x340)][_0x1db6a8(0x397)](_0x928c17=>this[_0x1db6a8(0x3c2)](_0x928c17)),this['_remoteChangesetQueue']=[];}[_0x190638(0x3c2)](_0x4eaf9b){var _0x4cdc10=_0x190638;const _0x152e2b=this[_0x4cdc10(0x1e5)][_0x4cdc10(0x205)]['fetchThroughInterceptors'](this[_0x4cdc10(0x1e5)][_0x4cdc10(0x205)][_0x4cdc10(0x404)]()[_0x4cdc10(0x361)])(_0x4eaf9b[_0x4cdc10(0x3da)],null)||_0x4eaf9b[_0x4cdc10(0x3da)],_0x34c71c={..._0x4eaf9b,'mutations':_0x152e2b};this[_0x4cdc10(0x1e0)](),this[_0x4cdc10(0x249)](this[_0x4cdc10(0x2c9)][_0x4cdc10(0x31e)](_0x34c71c)),this[_0x4cdc10(0x37b)]();}['_onRemoteACK'](_0x439ff4){var _0x2d0f47=_0x190638;this[_0x2d0f47(0x1e0)](),this[_0x2d0f47(0x249)](this[_0x2d0f47(0x2c9)][_0x2d0f47(0x225)](_0x439ff4)),this[_0x2d0f47(0x37b)]();}[_0x190638(0xc9)](_0x4176d6){var _0x2d6012=_0x190638;this[_0x2d6012(0x1e0)](),this[_0x2d6012(0x249)](this['_state'][_0x2d6012(0xfb)](_0x4176d6)),this[_0x2d6012(0x37b)]();}[_0x190638(0x3d2)](_0x16bf1e){var _0x1be183=_0x190638;this[_0x1be183(0x1e0)](),this['_updateState'](this[_0x1be183(0x2c9)]['onRemoteRetry'](_0x16bf1e)),this[_0x1be183(0x37b)]();}[_0x190638(0xd8)](_0x404f68){var _0x2df080=_0x190638;if(!(this[_0x2df080(0x2c9)]instanceof exports[_0x2df080(0x351)]))throw new TypeError(_0x2df080(0xf9));const _0x21469f=_0x404f68['map'](_0x3c1328=>{var _0x4029c1=_0x2df080;const _0x351355=this[_0x4029c1(0x1e5)][_0x4029c1(0x205)][_0x4029c1(0x1b8)](this[_0x4029c1(0x1e5)][_0x4029c1(0x205)][_0x4029c1(0x404)]()[_0x4029c1(0x361)])(_0x3c1328[_0x4029c1(0x3da)],null)||_0x3c1328[_0x4029c1(0x3da)];return{..._0x3c1328,'mutations':_0x351355};});this[_0x2df080(0x1e0)](),this[_0x2df080(0x249)](this[_0x2df080(0x2c9)][_0x2df080(0x34c)](_0x21469f)),this[_0x2df080(0x37b)]();}[_0x190638(0x13e)](){var _0x575d9b=_0x190638;this[_0x575d9b(0x1e0)](),this['_updateState'](this[_0x575d9b(0x2c9)]['toggleOffline']()),this['_unlockTransition']();}[_0x190638(0x1c8)](_0x5ece7e=!0x1){var _0x2ad7af=_0x190638;this[_0x2ad7af(0x1e0)](),this[_0x2ad7af(0x249)](this[_0x2ad7af(0x2c9)][_0x2ad7af(0x2c4)]()),this[_0x2ad7af(0x37b)]();const _0x2fc186=this[_0x2ad7af(0x2c9)];_0x5ece7e&&_0x2fc186 instanceof exports['SyncedState']&&(this[_0x2ad7af(0x1e0)](),this[_0x2ad7af(0x249)](_0x2fc186[_0x2ad7af(0x269)]()),this[_0x2ad7af(0x37b)]());}async['_createInitialState'](){return new Promise(_0x1a9ea0=>{var _0x5a3e16=_0x2488;this[_0x5a3e16(0x23d)][_0x5a3e16(0x127)]['pipe']($[_0x5a3e16(0xce)](0x1))[_0x5a3e16(0x3a9)](async _0x532b65=>{var _0x53c16f=_0x5a3e16;_0x1a9ea0(await this[_0x53c16f(0x1cc)](_0x532b65===re[_0x53c16f(0x21c)]));});});}['_createHandler'](){var _0x4d79c0=_0x190638;const _0x880235=this[_0x4d79c0(0x11f)];return{'onStateChange':(_0x9cd4d9,_0xf8be27)=>{var _0x326366=_0x4d79c0;if(_0x9cd4d9!==this[_0x326366(0x2c9)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x9cd4d9['status']+_0x326366(0x2d0)+_0xf8be27['status']+'\x0aCurrent:\x20'+this[_0x326366(0x2c9)]['status']);this[_0x326366(0x249)](_0xf8be27);},'onSendChangeset':_0x276cff=>{var _0x250d37=_0x4d79c0;_0x276cff[_0x250d37(0x3cd)]||(_0x276cff[_0x250d37(0x3cd)]=this['_changesetSessionId'],_0x276cff['reqId']=++this[_0x250d37(0x1d9)]);const _0xcf0d18={'eventID':I[_0x250d37(0x20a)][_0x250d37(0x15c)],'data':{'unitID':_0x276cff[_0x250d37(0x11f)],'unitType':this[_0x250d37(0x227)],'changeset':_0x276cff,'memberID':this[_0x250d37(0x23d)][_0x250d37(0x142)]()}};this['session'][_0x250d37(0xf6)](_0xcf0d18,this[_0x250d37(0x11f)]);},'onMissingChangesets':({from:_0x56044d,to:_0x5b474b})=>{var _0xbf3b1d=_0x4d79c0;this[_0xbf3b1d(0x2e2)][_0xbf3b1d(0x1fd)]('[CollaborationEntity]',_0xbf3b1d(0x3ea)+_0x56044d+_0xbf3b1d(0xcb)+_0x5b474b);const _0x1b345c={'eventID':I[_0xbf3b1d(0x20a)][_0xbf3b1d(0x276)],'data':{'unitID':_0x880235,'unitType':this[_0xbf3b1d(0x227)],'from':_0x56044d,'to':_0x5b474b}};this[_0xbf3b1d(0x23d)][_0xbf3b1d(0xf6)](_0x1b345c,this['unitID']);}};}async[_0x190638(0x1cc)](_0x23f699){var _0x20703b=_0x190638,_0x7c4c50,_0x1b73a4,_0x145027;const _0x26d485=await((_0x7c4c50=this[_0x20703b(0x1fa)])==null?void 0x0:_0x7c4c50[_0x20703b(0x437)](this[_0x20703b(0x11f)])),_0x309844=(_0x1b73a4=_0x26d485==null?void 0x0:_0x26d485[_0x20703b(0x3da)])!=null?_0x1b73a4:[],_0x105945=(_0x145027=_0x26d485==null?void 0x0:_0x26d485[_0x20703b(0x3a1)])!=null?_0x145027:null,_0x32ff7a=!!(_0x105945!=null&&_0x105945['sid'])&&!!(_0x105945!=null&&_0x105945[_0x20703b(0x24b)]);this[_0x20703b(0xd6)]=_0x32ff7a?_0x105945[_0x20703b(0x3cd)]:I['uuidv4'](),this[_0x20703b(0x1d9)]=_0x32ff7a?_0x105945[_0x20703b(0x24b)]:0x0;const _0x39884e=this[_0x20703b(0x11f)];try{this[_0x20703b(0x2c0)](_0x105945,_0x309844);}catch(_0x5011e6){this[_0x20703b(0x2e2)][_0x20703b(0x1e1)](_0x5011e6);}const _0x59eeea=this['_createHandler']();if(_0x23f699){const _0x683ad5=Ot(this[_0x20703b(0x307)],_0x39884e,this[_0x20703b(0x227)],_0x105945,_0x309844,_0x59eeea);return _0x683ad5 instanceof exports[_0x20703b(0x301)]?_0x683ad5[_0x20703b(0x3fa)]():(_0x683ad5 instanceof exports['AwaitingWithPendingState']||_0x683ad5 instanceof exports['AwaitingState'])&&_0x683ad5['resend'](),_0x683ad5;}return this['_injector'][_0x20703b(0x33d)](exports[_0x20703b(0x30a)],_0x39884e,this['_type'],_0x105945,_0x309844,_0x59eeea);}[_0x190638(0x2c0)](_0xf1140e,_0x320b4d){var _0x427182=_0x190638,_0x15eb1e,_0x234eb0;const _0x4aea98=this['_compressMutationService'][_0x427182(0x205)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x427182(0x205)][_0x427182(0x404)]()[_0x427182(0x361)]);(_0x15eb1e=_0x4aea98((_0xf1140e==null?void 0x0:_0xf1140e[_0x427182(0x3da)])||[],null))==null||_0x15eb1e[_0x427182(0x397)](_0x173a39=>this[_0x427182(0x418)][_0x427182(0x1eb)](_0x173a39['id'],_0x173a39[_0x427182(0x34a)])),(_0x234eb0=_0x4aea98(_0x320b4d||[],null))==null||_0x234eb0[_0x427182(0x397)](_0x124c3e=>this[_0x427182(0x418)][_0x427182(0x1eb)](_0x124c3e['id'],_0x124c3e[_0x427182(0x34a)]));}},exports[_0x190638(0x296)]=Fe([j(0x3,a[_0x190638(0x3fb)](a[_0x190638(0xbc)])),j(0x4,a[_0x190638(0x3fb)](I['CompressMutationService'])),j(0x5,a[_0x190638(0x3fb)](a[_0x190638(0x217)])),j(0x6,a[_0x190638(0x3fb)](I[_0x190638(0x417)])),j(0x7,a[_0x190638(0x3fb)](ee)),j(0x8,a[_0x190638(0xf0)]),j(0x9,a[_0x190638(0x167)]),j(0xa,a[_0x190638(0x16b)]),j(0xb,a[_0x190638(0x378)](de)),j(0xc,a[_0x190638(0x378)](q))],exports[_0x190638(0x296)]),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x53e93a,_0x881097,_0x8f8747,_0x4d6d5e,_0x2f0cbb,_0x1350e0,_0x55f2fc,_0x216835,_0x2f312a,_0x261f98,_0x2918fb,_0xcda336,_0x380f7f){var _0x5e7011=_0x190638;super(_0x53e93a,_0x8f8747,_0x881097,_0x4d6d5e,_0x2f0cbb,_0x1350e0,_0x55f2fc,_0x216835,_0x2f312a,_0x261f98,_0x2918fb,_0xcda336,_0x380f7f),A(this,'_handlerCallback',null),(this[_0x5e7011(0x11f)]=_0x53e93a,this[_0x5e7011(0x123)]=_0x881097);}[_0x190638(0x18f)](_0x24502d){var _0x17e151=_0x190638;this[_0x17e151(0x2d5)]=_0x24502d;}[_0x190638(0x26c)](){var _0x337f2f=_0x190638;this[_0x337f2f(0x2d5)]=null,super[_0x337f2f(0x26c)]();}[_0x190638(0x325)](){var _0x59cdf7=_0x190638;const _0x21ebb8=super[_0x59cdf7(0x325)]();return _0x21ebb8[_0x59cdf7(0xec)]=_0x7ee006=>{var _0x274215=_0x59cdf7,_0x2aa6bf,_0x2c3a44;return(_0x2c3a44=(_0x2aa6bf=this[_0x274215(0x2d5)])==null?void 0x0:_0x2aa6bf[_0x274215(0xec)])==null?void 0x0:_0x2c3a44['call'](_0x2aa6bf,_0x7ee006);},_0x21ebb8[_0x59cdf7(0x118)]=_0x12616a=>{var _0x305a84=_0x59cdf7,_0x2553fd,_0x27a9cc;return(_0x27a9cc=(_0x2553fd=this['_handlerCallback'])==null?void 0x0:_0x2553fd[_0x305a84(0x118)])==null?void 0x0:_0x27a9cc[_0x305a84(0x385)](_0x2553fd,_0x12616a);},_0x21ebb8[_0x59cdf7(0x2df)]=_0x2c5602=>{var _0x59f432=_0x59cdf7,_0x6753e,_0x3b8d07;return(_0x3b8d07=(_0x6753e=this[_0x59f432(0x2d5)])==null?void 0x0:_0x6753e['onTransformSelections'])==null?void 0x0:_0x3b8d07['call'](_0x6753e,_0x2c5602);},_0x21ebb8[_0x59cdf7(0x2f4)]=_0x26c374=>{var _0x4f7719=_0x59cdf7,_0x3cd8c1,_0x1bca17;return(_0x1bca17=(_0x3cd8c1=this['_handlerCallback'])==null?void 0x0:_0x3cd8c1['onSyncEditingCollabCursor'])==null?void 0x0:_0x1bca17[_0x4f7719(0x385)](_0x3cd8c1,_0x26c374);},_0x21ebb8['onTransformRemoteChangesetByIMECache']=_0xa33531=>{var _0x3d967a=_0x59cdf7,_0x13f6d6,_0x24f1b6,_0x2c3bd2;if(!((_0x13f6d6=this['_handlerCallback'])!=null&&_0x13f6d6[_0x3d967a(0x415)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2c3bd2=(_0x24f1b6=this[_0x3d967a(0x2d5)])==null?void 0x0:_0x24f1b6['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2c3bd2[_0x3d967a(0x385)](_0x24f1b6,_0xa33531);},_0x21ebb8[_0x59cdf7(0x431)]=_0x18da1e=>{var _0x51fad5=_0x59cdf7,_0x4b79e6,_0x34f9ec,_0x1f583b;if(!((_0x4b79e6=this[_0x51fad5(0x2d5)])!=null&&_0x4b79e6[_0x51fad5(0x431)]))throw new Error(_0x51fad5(0x295));return(_0x1f583b=(_0x34f9ec=this[_0x51fad5(0x2d5)])==null?void 0x0:_0x34f9ec[_0x51fad5(0x431)])==null?void 0x0:_0x1f583b[_0x51fad5(0x385)](_0x34f9ec,_0x18da1e);},_0x21ebb8;}async[_0x190638(0x41a)](){var _0x79be77=_0x190638;const _0x1b9900=await super['_init']();return this[_0x79be77(0x3f6)](this[_0x79be77(0x418)][_0x79be77(0x1af)]((_0x529a9c,_0x43cd38)=>{var _0x948676=_0x79be77;if(_0x529a9c[_0x948676(0x123)]!==a['CommandType'][_0x948676(0x216)]||_0x43cd38!=null&&_0x43cd38[_0x948676(0x439)]||_0x43cd38!=null&&_0x43cd38[_0x948676(0x14c)]||_0x529a9c['id']===ht['RichTextEditingMutation']['id'])return;const _0x4505b3=_0x529a9c[_0x948676(0x34a)];if((_0x4505b3==null?void 0x0:_0x4505b3[_0x948676(0x3b2)])!==this[_0x948676(0x11f)])return;const _0x43d753=_0x529a9c,_0x53312a=this[_0x948676(0x1e5)]['interceptor'][_0x948676(0x1b8)](this[_0x948676(0x1e5)][_0x948676(0x205)][_0x948676(0x404)]()[_0x948676(0x268)])([_0x43d753],null)||[_0x43d753];this[_0x948676(0x15a)](_0x53312a[0x0]);})),_0x1b9900;}},exports['DocCollaborationEntity']=Fe([j(0x3,a[_0x190638(0x3fb)](a[_0x190638(0xbc)])),j(0x4,a['Inject'](I[_0x190638(0x19c)])),j(0x5,a[_0x190638(0x3fb)](a[_0x190638(0x217)])),j(0x6,a[_0x190638(0x3fb)](I[_0x190638(0x417)])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x190638(0xf0)]),j(0x9,a[_0x190638(0x167)]),j(0xa,a[_0x190638(0x16b)]),j(0xb,a[_0x190638(0x378)](de)),j(0xc,a[_0x190638(0x378)](q))],exports[_0x190638(0x304)]),exports[_0x190638(0x1fe)]=class extends exports[_0x190638(0x296)]{constructor(_0x263d50,_0x3c097a,_0x558320,_0x20ec78,_0x5a496e,_0x4c4b85,_0x55e940,_0x46511f,_0x68b18e,_0x4f4beb,_0x4c067a,_0x3c398a,_0x52e90c,_0x5c1683){var _0x25cf6f=_0x190638;super(_0x263d50,_0x558320,_0x3c097a,_0x20ec78,_0x5a496e,_0x4c4b85,_0x55e940,_0x68b18e,_0x4f4beb,_0x4c067a,_0x3c398a,_0x52e90c,_0x5c1683),this[_0x25cf6f(0x11f)]=_0x263d50,this[_0x25cf6f(0x123)]=_0x3c097a,this[_0x25cf6f(0x23f)]=_0x46511f;}[_0x190638(0x325)](){var _0x5965e7=_0x190638;const _0x43731f=super[_0x5965e7(0x325)]();return _0x43731f['onTransformSelections']=_0x4db63b=>this[_0x5965e7(0x23f)]['transformSelections'](_0x4db63b),_0x43731f;}async[_0x190638(0x41a)](){var _0x5bf9db=_0x190638;const _0x132cc4=await super[_0x5bf9db(0x41a)]();return this[_0x5bf9db(0x3f6)](this[_0x5bf9db(0x418)][_0x5bf9db(0x1af)]((_0x33fb97,_0x4c0876)=>{var _0x44887f=_0x5bf9db;if(_0x33fb97[_0x44887f(0x123)]!==a[_0x44887f(0x192)][_0x44887f(0x216)]||_0x4c0876!=null&&_0x4c0876[_0x44887f(0x439)]||_0x4c0876!=null&&_0x4c0876[_0x44887f(0x14c)])return;const _0x430e77=_0x33fb97['params'];if((_0x430e77==null?void 0x0:_0x430e77['unitId'])!==this[_0x44887f(0x11f)])return;const _0x582fe9=_0x33fb97,_0x52c6d9=this[_0x44887f(0x1e5)][_0x44887f(0x205)][_0x44887f(0x1b8)](this['_compressMutationService']['interceptor'][_0x44887f(0x404)]()[_0x44887f(0x268)])([_0x582fe9],null)||[_0x582fe9];this[_0x44887f(0x15a)](_0x52c6d9[0x0]);})),_0x132cc4;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x190638(0x3fb)](a[_0x190638(0xbc)])),j(0x4,a['Inject'](I[_0x190638(0x19c)])),j(0x5,a['Inject'](a[_0x190638(0x217)])),j(0x6,a[_0x190638(0x3fb)](I['RevisionService'])),j(0x7,a['Inject'](exports[_0x190638(0x2bc)])),j(0x8,a[_0x190638(0x3fb)](ee)),j(0x9,a[_0x190638(0xf0)]),j(0xa,a[_0x190638(0x167)]),j(0xb,a[_0x190638(0x16b)]),j(0xc,a[_0x190638(0x378)](de)),j(0xd,a[_0x190638(0x378)](q))],exports[_0x190638(0x1fe)]);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x3ca735,_0x349fd5,_0xea3381,_0x56371)=>{var _0x5838fb=_0x190638;for(var _0x1f9041=_0x56371>0x1?void 0x0:_0x56371?Si(_0x349fd5,_0xea3381):_0x349fd5,_0x239a9a=_0x3ca735[_0x5838fb(0x232)]-0x1,_0x45f3d2;_0x239a9a>=0x0;_0x239a9a--)(_0x45f3d2=_0x3ca735[_0x239a9a])&&(_0x1f9041=_0x45f3d2(_0x1f9041)||_0x1f9041);return _0x1f9041;},Se=(_0x1cbcdc,_0x343faf)=>(_0x55d481,_0x1b84fb)=>_0x343faf(_0x55d481,_0x1b84fb,_0x1cbcdc);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x48712a,_0x393270,_0x2cecb2,_0x13e99f){var _0xf1e21e=_0x190638,_0x517647;super(),A(this,_0xf1e21e(0x3ee),new Map()),A(this,_0xf1e21e(0x2ba),new $['Subject']()),A(this,'entityInit$',this[_0xf1e21e(0x2ba)]['asObservable']()),(this[_0xf1e21e(0x307)]=_0x48712a,this[_0xf1e21e(0x270)]=_0x393270,this[_0xf1e21e(0x350)]=_0x2cecb2,this[_0xf1e21e(0x1a3)]=_0x13e99f,((_0x517647=this[_0xf1e21e(0x350)][_0xf1e21e(0xfd)](K))==null?void 0x0:_0x517647['enableCollaboration'])!==!0x1&&this['_init']());}[_0x190638(0x26c)](){var _0x10f8e3=_0x190638;super[_0x10f8e3(0x26c)](),this[_0x10f8e3(0x3ee)][_0x10f8e3(0x397)](_0x80a74a=>_0x80a74a['dispose']()),this[_0x10f8e3(0x3ee)][_0x10f8e3(0x148)]();}[_0x190638(0x10b)](_0x2f9e85){var _0x1f45d1=_0x190638,_0x4d9a4b;return(_0x4d9a4b=this[_0x1f45d1(0x3ee)][_0x1f45d1(0x33c)](_0x2f9e85))!=null?_0x4d9a4b:null;}[_0x190638(0x1c3)](_0x40baf7){var _0x5261e9=_0x190638;const _0x2f3d7f=this[_0x5261e9(0x10b)](_0x40baf7);return _0x2f3d7f?$['of'](_0x2f3d7f):this[_0x5261e9(0x2ba)][_0x5261e9(0x323)](V[_0x5261e9(0x2cf)](_0x2c8327=>_0x2c8327[_0x5261e9(0x11f)]===_0x40baf7));}[_0x190638(0x1f7)](_0x39e1cc){var _0x185345=_0x190638;return $[_0x185345(0x2d9)](this['getCollabEntity$'](_0x39e1cc)[_0x185345(0x323)](V[_0x185345(0x35d)](()=>{})));}['_init'](){var _0x35b173=_0x190638;this[_0x35b173(0x1a3)][_0x35b173(0x133)](a[_0x35b173(0x2ee)][_0x35b173(0x395)])[_0x35b173(0x323)]($[_0x35b173(0x1a5)](this[_0x35b173(0x2fe)]),V[_0x35b173(0x2f2)](0x10))['subscribe'](async _0x5140d6=>{var _0x389e7c=_0x35b173;const _0xf1f951=_0x5140d6[_0x389e7c(0x3c0)](),_0x4c9337=await this[_0x389e7c(0x372)](_0xf1f951,J['UNIVER_SHEET']);this[_0x389e7c(0x3ee)][_0x389e7c(0x327)](_0xf1f951,_0x4c9337);}),this[_0x35b173(0x1a3)]['getTypeOfUnitAdded$'](a[_0x35b173(0x2ee)][_0x35b173(0x145)])[_0x35b173(0x323)]($[_0x35b173(0x1a5)](this[_0x35b173(0x2fe)]),V[_0x35b173(0x2f2)](0x10))[_0x35b173(0x323)](V['filter'](_0x527d28=>!_0x527d28[_0x35b173(0x3c0)]()[_0x35b173(0x31d)]('__')))[_0x35b173(0x3a9)](async _0x116ad3=>{var _0x12e918=_0x35b173;const _0x20fd29=_0x116ad3[_0x12e918(0x3c0)](),_0xba398b=await this['_startCollaboration'](_0x20fd29,J[_0x12e918(0x145)]);this['_entities'][_0x12e918(0x327)](_0x20fd29,_0xba398b);}),$[_0x35b173(0x408)](this[_0x35b173(0x1a3)][_0x35b173(0x2b9)](a['UniverInstanceType'][_0x35b173(0x395)]),this[_0x35b173(0x1a3)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC']))[_0x35b173(0x323)]($[_0x35b173(0x1a5)](this['dispose$']))[_0x35b173(0x3a9)](_0x4c6fdf=>{var _0x32c2af=_0x35b173;const _0x4407bd=_0x4c6fdf[_0x32c2af(0x3c0)](),_0x2a40db=this[_0x32c2af(0x3ee)]['get'](_0x4407bd);_0x2a40db&&(_0x2a40db[_0x32c2af(0x26c)](),this[_0x32c2af(0x3ee)]['delete'](_0x4407bd));});}async[_0x190638(0x372)](_0x50d1e0,_0x538203){var _0x413f7b=_0x190638;const _0x119f51=await this['_collabSessionService']['requireSession'](_0x50d1e0),_0x47b1b9=this[_0x413f7b(0x307)][_0x413f7b(0x33d)](this[_0x413f7b(0x3f7)](_0x538203),_0x50d1e0,_0x538203,_0x119f51);return await _0x47b1b9[_0x413f7b(0x289)](),this[_0x413f7b(0x2ba)]['next'](_0x47b1b9),_0x47b1b9;}[_0x190638(0x3f7)](_0x439255){var _0x5e42c9=_0x190638;switch(_0x439255){case J[_0x5e42c9(0x145)]:return exports[_0x5e42c9(0x304)];case J[_0x5e42c9(0x395)]:return exports[_0x5e42c9(0x1fe)];default:throw new Error(_0x5e42c9(0x34b)+_0x439255);}}},exports[_0x190638(0x21e)]=fi([Se(0x0,a[_0x190638(0x3fb)](a[_0x190638(0xbc)])),Se(0x1,a[_0x190638(0x3fb)](exports[_0x190638(0xe4)])),Se(0x2,a[_0x190638(0x1d1)]),Se(0x3,a[_0x190638(0x106)])],exports[_0x190638(0x21e)]);var pi=Object[_0x190638(0x2f8)],Ii=(_0x2a5f60,_0x1c069d,_0x16e2cf,_0x45434c)=>{var _0x3ef7fb=_0x190638;for(var _0x23ea57=_0x45434c>0x1?void 0x0:_0x45434c?pi(_0x1c069d,_0x16e2cf):_0x1c069d,_0x3e30ed=_0x2a5f60[_0x3ef7fb(0x232)]-0x1,_0x54a786;_0x3e30ed>=0x0;_0x3e30ed--)(_0x54a786=_0x2a5f60[_0x3e30ed])&&(_0x23ea57=_0x54a786(_0x23ea57)||_0x23ea57);return _0x23ea57;},Ye=(_0x3ec294,_0x480016)=>(_0x1ba48f,_0x1cf13b)=>_0x480016(_0x1ba48f,_0x1cf13b,_0x3ec294);const gi=_0x190638(0x1e6),Ei=_0x190638(0x366);let xe=class extends a[_0x190638(0x39b)]{constructor(_0x30010e,_0x58a9f9){var _0x225d5d=_0x190638;super(),this[_0x225d5d(0x1a3)]=_0x30010e,this['_configService']=_0x58a9f9,this['_init']();}['_init'](){var _0x5065cc=_0x190638;this[_0x5065cc(0x3f6)](this[_0x5065cc(0x1a3)][_0x5065cc(0x28b)][_0x5065cc(0x3a9)](()=>{var _0x4198c9=_0x5065cc,_0xa5e06a;const _0x478790=this[_0x4198c9(0x1a3)][_0x4198c9(0x292)]();let _0x30dc59=(_0xa5e06a=this['_configService']['getConfig'](gi))!=null?_0xa5e06a:Ei;_0x478790 instanceof a['Workbook']&&(_0x30dc59=_0x478790[_0x4198c9(0x427)]),document[_0x4198c9(0x2d6)]=_0x30dc59;}));}};xe=Ii([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x190638(0x1d1)])],xe);var mi=Object[_0x190638(0x2f8)],Ci=(_0x2a909f,_0x472940,_0x255f00,_0x5918f4)=>{for(var _0x28d977=_0x5918f4>0x1?void 0x0:_0x5918f4?mi(_0x472940,_0x255f00):_0x472940,_0x1d5252=_0x2a909f['length']-0x1,_0x4f0ce8;_0x1d5252>=0x0;_0x1d5252--)(_0x4f0ce8=_0x2a909f[_0x1d5252])&&(_0x28d977=_0x4f0ce8(_0x28d977)||_0x28d977);return _0x28d977;},Ae=(_0x3653ca,_0x9cb284)=>(_0x24fe51,_0x46dd3d)=>_0x9cb284(_0x24fe51,_0x46dd3d,_0x3653ca);let ye=class{constructor(_0x5cb4eb,_0xfcd751,_0x5898ae){var _0x34b7bf=_0x190638;this[_0x34b7bf(0x350)]=_0x5cb4eb,this[_0x34b7bf(0x17a)]=_0xfcd751,this['localeService']=_0x5898ae,this['init']();}[_0x190638(0x289)](){var _0x3a5998=_0x190638;this[_0x3a5998(0x17a)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1807eb,_0x54213e)=>_0x54213e(_0x1807eb)[_0x3a5998(0x323)]($[_0x3a5998(0x19f)](async _0x24de06=>{var _0x567f1c=_0x3a5998;const _0x4c581e=_0x24de06;if(_0x4c581e[_0x567f1c(0x1bc)]===0x191){if(typeof window>'u')throw new Error(_0x567f1c(0x29b));if(window[_0x567f1c(0x2ed)](this[_0x567f1c(0x3a4)]['t'](_0x567f1c(0x3af)))){const _0x33ee81=window[_0x567f1c(0x1a1)](window[_0x567f1c(0x183)][_0x567f1c(0x3ab)]);window[_0x567f1c(0x183)][_0x567f1c(0x3ab)]=this['_getLoginPath']()+_0x567f1c(0x3ca)+_0x33ee81;}}return _0x4c581e;}))});}['_getLoginPath'](){var _0x75ccdf=_0x190638,_0x23c26c,_0x4ed7ab;const _0xc1e876=this['_configService'][_0x75ccdf(0xfd)](It),_0x392c87=this[_0x75ccdf(0x350)][_0x75ccdf(0xfd)](K);return(_0x4ed7ab=(_0x23c26c=_0x392c87==null?void 0x0:_0x392c87[_0x75ccdf(0x1f0)])!=null?_0x23c26c:_0xc1e876)!=null?_0x4ed7ab:Wt;}};ye=Ci([Ae(0x0,a[_0x190638(0x1d1)]),Ae(0x1,a[_0x190638(0x3fb)](Y[_0x190638(0x20f)])),Ae(0x2,a[_0x190638(0x3fb)](a[_0x190638(0x217)]))],ye);var Ti=Object[_0x190638(0x2f8)],bi=(_0x3b5acd,_0x3fb441,_0x91b771,_0x3a4eb5)=>{var _0x8ab707=_0x190638;for(var _0x44b369=_0x3a4eb5>0x1?void 0x0:_0x3a4eb5?Ti(_0x3fb441,_0x91b771):_0x3fb441,_0x4e947e=_0x3b5acd[_0x8ab707(0x232)]-0x1,_0x404b6b;_0x4e947e>=0x0;_0x4e947e--)(_0x404b6b=_0x3b5acd[_0x4e947e])&&(_0x44b369=_0x404b6b(_0x44b369)||_0x44b369);return _0x44b369;},qe=(_0x34b4e1,_0x37bedc)=>(_0xdfa267,_0x48762d)=>_0x37bedc(_0xdfa267,_0x48762d,_0x34b4e1);const Ve='AUTHZ_URL_KEY',Ri=_0x190638(0x1f1);exports[_0x190638(0x32e)]=class extends a[_0x190638(0x39b)]{constructor(_0xbeffa0,_0x5365ab){var _0x17fe7a=_0x190638;super(),this[_0x17fe7a(0x3e2)]=_0xbeffa0,this[_0x17fe7a(0x350)]=_0x5365ab,this[_0x17fe7a(0x17f)]();}[_0x190638(0x17f)](){var _0x4c43bc=_0x190638;const _0x156f92=this;this[_0x4c43bc(0x3f6)](this[_0x4c43bc(0x3e2)][_0x4c43bc(0x2f1)]({'priority':0x3e7,'interceptor':Y[_0x4c43bc(0x1c4)]({'isMatch'(_0x415e5b){var _0x3d1cef=_0x4c43bc,_0x288758;if(_0x415e5b[_0x3d1cef(0x335)]===_0x3d1cef(0x1f4)&&((_0x288758=_0x415e5b[_0x3d1cef(0x405)])!=null&&_0x288758['body'])){const {objectID:_0x3ffc77,objectType:_0x4c2c04}=_0x415e5b['requestParams'][_0x3d1cef(0xd2)]||{};if(!_0x3ffc77||_0x4c2c04===void 0x0)return!0x1;const _0x35534d=_0x156f92[_0x3d1cef(0x242)]()+'/'+_0x4c2c04+_0x3d1cef(0x245)+_0x3ffc77+_0x3d1cef(0x29a);if(_0x415e5b[_0x3d1cef(0x10f)]===_0x35534d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2f844e){var _0x17b160=_0x4c43bc,_0x447801;return(_0x447801=_0x2f844e[_0x17b160(0x405)])==null?void 0x0:_0x447801[_0x17b160(0xd2)];},'mergeParamsToRequest'(_0xb2a2b,_0x2f8a38){var _0x5072a8=_0x4c43bc;const _0x3c5ef9=_0x156f92['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x2663cc=_0xb2a2b[_0x5072a8(0x1e8)]((_0x1cb7e3,_0x1efe91)=>{const {unitID:_0xaef729,objectID:_0x191fa4,objectType:_0x2901ee,actions:_0x451951}=_0x1efe91;return _0x1cb7e3[_0xaef729]||(_0x1cb7e3[_0xaef729]={}),_0x1cb7e3[_0xaef729][_0x191fa4]||(_0x1cb7e3[_0xaef729][_0x191fa4]={'objectID':_0x191fa4,'objectType':_0x2901ee,'actions':[]}),_0x1cb7e3[_0xaef729][_0x191fa4]['actions']['push'](..._0x451951),_0x1cb7e3;},{}),_0x20dd15=[];for(const _0x4045b1 in _0x2663cc)for(const _0x314c89 in _0x2663cc[_0x4045b1]){const {actions:_0x5d1408,objectType:_0x521932}=_0x2663cc[_0x4045b1][_0x314c89],_0x2771d3=[...new Set(_0x5d1408)];_0x20dd15['push']({'unitID':_0x4045b1,'objectID':_0x314c89,'objectType':_0x521932,'actions':_0x2771d3});}return new Y[(_0x5072a8(0xe1))](_0x5072a8(0x1f4),_0x3c5ef9,{'headers':_0x2f8a38[_0x5072a8(0x209)],'withCredentials':_0x2f8a38[_0x5072a8(0x298)],'responseType':_0x2f8a38['responseType'],'body':{'requests':_0x20dd15}});}},{'distributeResult'(_0x364c09,_0x5b2786){var _0x4bd967=_0x4c43bc;const {objectActions:_0x76ded6}=_0x364c09;return _0x5b2786[_0x4bd967(0x35d)](_0x182752=>{var _0x4f3563=_0x4bd967;const {unitID:_0xb3e583,objectID:_0x5a363c,actions:_0x5cbbec}=_0x182752,_0x43dfd2=_0x76ded6[_0x4f3563(0x223)](_0x1e6c73=>_0x1e6c73[_0x4f3563(0x11f)]===_0xb3e583&&_0x1e6c73[_0x4f3563(0x228)]===_0x5a363c),_0xa531b1=_0x5cbbec[_0x4f3563(0x35d)](_0x533b37=>_0x43dfd2==null?void 0x0:_0x43dfd2['actions'][_0x4f3563(0x223)](_0x44bb1e=>_0x44bb1e[_0x4f3563(0x1e7)]===_0x533b37))[_0x4f3563(0x2cf)](_0x3a0e9f=>!!_0x3a0e9f);return{'config':_0x182752,'result':{'actions':_0xa531b1,'error':_0x364c09[_0x4f3563(0x1e1)]}};});}})}));}[_0x190638(0x242)](){var _0x17c350=_0x190638,_0x2d84de,_0x17b053;const _0x5389fd=this[_0x17c350(0x350)][_0x17c350(0xfd)](Ve),_0x18b7c5=this[_0x17c350(0x350)]['getConfig'](K);return(_0x17b053=(_0x2d84de=_0x18b7c5==null?void 0x0:_0x18b7c5[_0x17c350(0x3b5)])!=null?_0x2d84de:_0x5389fd)!=null?_0x17b053:Ri;}async[_0x190638(0x332)](_0xd12fe2){var _0x3ff358=_0x190638;const _0x3ba5e5=this[_0x3ff358(0x242)]()+'/'+_0xd12fe2['objectType']+_0x3ff358(0x3cb);return(await this['_HTTPService'][_0x3ff358(0x14d)](_0x3ba5e5,{'body':_0xd12fe2}))['body']['objectID']||'';}async[_0x190638(0x103)](_0x56950d){var _0x32bc44=_0x190638;const _0x502150=this[_0x32bc44(0x242)]()+'/-/object/list';return(await this[_0x32bc44(0x3e2)]['post'](_0x502150,{'body':_0x56950d}))[_0x32bc44(0xd2)]['objects'];}async[_0x190638(0x195)](_0x82e9c){var _0x1c26a4=_0x190638,_0x5c3194,_0xcb556d;const _0x7b9a55=this['_getAPIPrefixPath']()+'/'+_0x82e9c[_0x1c26a4(0x37c)]+'/object/'+_0x82e9c[_0x1c26a4(0x228)],_0x239b2c=await this['_HTTPService'][_0x1c26a4(0x1ab)](_0x7b9a55,{'body':_0x82e9c});if(((_0xcb556d=(_0x5c3194=_0x239b2c==null?void 0x0:_0x239b2c['body'])==null?void 0x0:_0x5c3194['error'])==null?void 0x0:_0xcb556d[_0x1c26a4(0x3ad)])!==0x1)throw new Error(_0x1c26a4(0x200));}async[_0x190638(0x180)](_0x4ace97){var _0xc68b05=_0x190638;const _0x288dd2=this[_0xc68b05(0x242)]()+'/'+_0x4ace97[_0xc68b05(0x37c)]+_0xc68b05(0x245)+_0x4ace97[_0xc68b05(0x228)]+_0xc68b05(0x29a);return(await this['_HTTPService']['post'](_0x288dd2,{'body':_0x4ace97}))[_0xc68b05(0xd2)][_0xc68b05(0x368)];}async['batchAllowed'](_0x2aaea1){var _0x296c21=_0x190638;const _0x4b7cd2=this['_getAPIPrefixPath']()+_0x296c21(0x111);return(await this[_0x296c21(0x3e2)][_0x296c21(0x14d)](_0x4b7cd2,{'body':{'requests':_0x2aaea1}}))[_0x296c21(0xd2)][_0x296c21(0x220)];}async[_0x190638(0x30d)](_0x3f32c8){var _0x3648c0=_0x190638;const _0x56df2e=this[_0x3648c0(0x242)]()+'/'+_0x3f32c8['objectType']+_0x3648c0(0x3bf),_0xf7fd4d=await this[_0x3648c0(0x3e2)][_0x3648c0(0x14d)](_0x56df2e,{'body':_0x3f32c8});return{'roles':_0xf7fd4d[_0x3648c0(0xd2)][_0x3648c0(0xc5)],'actions':_0xf7fd4d[_0x3648c0(0xd2)][_0x3648c0(0x368)]};}async[_0x190638(0x13c)](_0x210499){var _0x1f313d=_0x190638;const _0x2e1298=this[_0x1f313d(0x242)]()+'/collaborator';await this[_0x1f313d(0x3e2)]['delete'](_0x2e1298,{'params':{'collaboratorID':_0x210499[_0x1f313d(0x139)],'objectID':_0x210499[_0x1f313d(0x228)],'unitID':_0x210499[_0x1f313d(0x11f)]}});}async[_0x190638(0x177)](_0x877805){var _0x2517a4=_0x190638;const _0x30ab24=this[_0x2517a4(0x242)]()+_0x2517a4(0x425);await this[_0x2517a4(0x3e2)][_0x2517a4(0x313)](_0x30ab24,{'body':_0x877805});}async[_0x190638(0x3f8)](_0x2006f3){var _0x284050=_0x190638;const _0x111b17=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x284050(0x3e2)][_0x284050(0x14d)](_0x111b17,{'body':_0x2006f3});}async[_0x190638(0x302)](_0x12c029){var _0x138de6=_0x190638;const _0x3ddf90=this['_getAPIPrefixPath']()+_0x138de6(0x425);return(await this['_HTTPService'][_0x138de6(0x33c)](_0x3ddf90,{'params':{'objectID':_0x12c029[_0x138de6(0x228)],'unitID':_0x12c029[_0x138de6(0x11f)]}}))[_0x138de6(0xd2)][_0x138de6(0x1d2)];}async[_0x190638(0x3a7)](_0x411679){var _0x1bb8e9=_0x190638;const _0x1005f1=this['_getAPIPrefixPath']()+_0x1bb8e9(0x425);await this[_0x1bb8e9(0x3e2)]['put'](_0x1005f1,{'body':_0x411679});}},exports[_0x190638(0x32e)]=bi([qe(0x0,a[_0x190638(0x3fb)](Y[_0x190638(0x20f)])),qe(0x1,a[_0x190638(0x3fb)](a[_0x190638(0x1d1)]))],exports[_0x190638(0x32e)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x32a0ca){var _0x46790b=_0x190638;return _0x32a0ca&&_0x32a0ca['__esModule']&&Object[_0x46790b(0xe6)][_0x46790b(0x14a)][_0x46790b(0x385)](_0x32a0ca,'default')?_0x32a0ca[_0x46790b(0x172)]:_0x32a0ca;}var fe={'exports':{}};function Oi(_0x105bfe){var _0x505264=_0x190638;throw new Error(_0x505264(0x198)+_0x105bfe+_0x505264(0x12b));}var pe={'exports':{}},yi=pe[_0x190638(0x283)],ze;function Q(){var _0x5a82fb=_0x190638;return ze||(ze=0x1,function(_0x101d15,_0x3e36ea){(function(_0x2e705b,_0x340de1){var _0x2e6d43=_0x2488;_0x101d15[_0x2e6d43(0x283)]=_0x340de1();}(yi,function(){var _0x546fa3=_0x546fa3||function(_0xdc625e,_0x1937fe){var _0x579464=_0x2488,_0x9365a;if(typeof window<'u'&&window['crypto']&&(_0x9365a=window['crypto']),typeof self<'u'&&self[_0x579464(0x253)]&&(_0x9365a=self['crypto']),typeof globalThis<'u'&&globalThis[_0x579464(0x253)]&&(_0x9365a=globalThis[_0x579464(0x253)]),!_0x9365a&&typeof window<'u'&&window[_0x579464(0x3d6)]&&(_0x9365a=window[_0x579464(0x3d6)]),!_0x9365a&&typeof Pe<'u'&&Pe[_0x579464(0x253)]&&(_0x9365a=Pe['crypto']),!_0x9365a&&typeof Oi==_0x579464(0x129))try{_0x9365a=require(_0x579464(0x253));}catch{}var _0x5c96e8=function(){var _0xef4102=_0x579464;if(_0x9365a){if(typeof _0x9365a[_0xef4102(0xd9)]==_0xef4102(0x129))try{return _0x9365a[_0xef4102(0xd9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x9365a[_0xef4102(0x392)]==_0xef4102(0x129))try{return _0x9365a[_0xef4102(0x392)](0x4)[_0xef4102(0x26a)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x218463=Object[_0x579464(0x332)]||(function(){function _0x16a678(){}return function(_0x4bf3cd){var _0x4b58e2=_0x2488,_0xea527c;return _0x16a678['prototype']=_0x4bf3cd,_0xea527c=new _0x16a678(),_0x16a678[_0x4b58e2(0xe6)]=null,_0xea527c;};}()),_0x2b1e4e={},_0x3ef493=_0x2b1e4e[_0x579464(0x11c)]={},_0x5abe28=_0x3ef493[_0x579464(0x3ae)]=(function(){return{'extend':function(_0x591601){var _0x3f8af3=_0x2488,_0x56a8cd=_0x218463(this);return _0x591601&&_0x56a8cd['mixIn'](_0x591601),(!_0x56a8cd['hasOwnProperty'](_0x3f8af3(0x289))||this[_0x3f8af3(0x289)]===_0x56a8cd['init'])&&(_0x56a8cd[_0x3f8af3(0x289)]=function(){var _0x22d4f8=_0x3f8af3;_0x56a8cd[_0x22d4f8(0x42b)][_0x22d4f8(0x289)][_0x22d4f8(0x26e)](this,arguments);}),_0x56a8cd['init']['prototype']=_0x56a8cd,_0x56a8cd['$super']=this,_0x56a8cd;},'create':function(){var _0x411870=_0x2488,_0x5d45b9=this['extend']();return _0x5d45b9['init'][_0x411870(0x26e)](_0x5d45b9,arguments),_0x5d45b9;},'init':function(){},'mixIn':function(_0x56090f){var _0x42d622=_0x2488;for(var _0x3e679e in _0x56090f)_0x56090f[_0x42d622(0x14a)](_0x3e679e)&&(this[_0x3e679e]=_0x56090f[_0x3e679e]);_0x56090f[_0x42d622(0x14a)](_0x42d622(0xf8))&&(this[_0x42d622(0xf8)]=_0x56090f[_0x42d622(0xf8)]);},'clone':function(){var _0xcdf441=_0x2488;return this[_0xcdf441(0x289)][_0xcdf441(0xe6)][_0xcdf441(0x2ca)](this);}};}()),_0x31e00c=_0x3ef493[_0x579464(0x42a)]=_0x5abe28[_0x579464(0x2ca)]({'init':function(_0x39200e,_0x30976c){var _0x51c487=_0x579464;_0x39200e=this[_0x51c487(0x266)]=_0x39200e||[],_0x30976c!=_0x1937fe?this[_0x51c487(0x38e)]=_0x30976c:this[_0x51c487(0x38e)]=_0x39200e[_0x51c487(0x232)]*0x4;},'toString':function(_0x44788c){var _0x423b68=_0x579464;return(_0x44788c||_0x371889)[_0x423b68(0x319)](this);},'concat':function(_0x556de2){var _0x22c4ee=_0x579464,_0x5a4ca2=this['words'],_0x2ba497=_0x556de2[_0x22c4ee(0x266)],_0x543a74=this['sigBytes'],_0x25195f=_0x556de2[_0x22c4ee(0x38e)];if(this[_0x22c4ee(0xbe)](),_0x543a74%0x4)for(var _0x248913=0x0;_0x248913<_0x25195f;_0x248913++){var _0x4c55eb=_0x2ba497[_0x248913>>>0x2]>>>0x18-_0x248913%0x4*0x8&0xff;_0x5a4ca2[_0x543a74+_0x248913>>>0x2]|=_0x4c55eb<<0x18-(_0x543a74+_0x248913)%0x4*0x8;}else{for(var _0x132636=0x0;_0x132636<_0x25195f;_0x132636+=0x4)_0x5a4ca2[_0x543a74+_0x132636>>>0x2]=_0x2ba497[_0x132636>>>0x2];}return this[_0x22c4ee(0x38e)]+=_0x25195f,this;},'clamp':function(){var _0x353725=_0x579464,_0x4d8793=this['words'],_0x928b0f=this[_0x353725(0x38e)];_0x4d8793[_0x928b0f>>>0x2]&=0xffffffff<<0x20-_0x928b0f%0x4*0x8,_0x4d8793[_0x353725(0x232)]=_0xdc625e[_0x353725(0x100)](_0x928b0f/0x4);},'clone':function(){var _0x14984c=_0x579464,_0x1569ff=_0x5abe28[_0x14984c(0x241)][_0x14984c(0x385)](this);return _0x1569ff['words']=this[_0x14984c(0x266)][_0x14984c(0xee)](0x0),_0x1569ff;},'random':function(_0x3f7198){var _0x41b064=_0x579464;for(var _0x480573=[],_0x349a37=0x0;_0x349a37<_0x3f7198;_0x349a37+=0x4)_0x480573['push'](_0x5c96e8());return new _0x31e00c[(_0x41b064(0x289))](_0x480573,_0x3f7198);}}),_0x43064d=_0x2b1e4e['enc']={},_0x371889=_0x43064d[_0x579464(0x3ac)]={'stringify':function(_0x37a918){var _0x263c92=_0x579464;for(var _0x41444d=_0x37a918[_0x263c92(0x266)],_0x3f3b5e=_0x37a918['sigBytes'],_0x34b371=[],_0x9780ae=0x0;_0x9780ae<_0x3f3b5e;_0x9780ae++){var _0x30a258=_0x41444d[_0x9780ae>>>0x2]>>>0x18-_0x9780ae%0x4*0x8&0xff;_0x34b371['push']((_0x30a258>>>0x4)['toString'](0x10)),_0x34b371[_0x263c92(0x2dc)]((_0x30a258&0xf)[_0x263c92(0xf8)](0x10));}return _0x34b371[_0x263c92(0x29e)]('');},'parse':function(_0x5ed223){var _0x294399=_0x579464;for(var _0x5675f9=_0x5ed223[_0x294399(0x232)],_0x292531=[],_0x2d366d=0x0;_0x2d366d<_0x5675f9;_0x2d366d+=0x2)_0x292531[_0x2d366d>>>0x3]|=parseInt(_0x5ed223['substr'](_0x2d366d,0x2),0x10)<<0x18-_0x2d366d%0x8*0x4;return new _0x31e00c[(_0x294399(0x289))](_0x292531,_0x5675f9/0x2);}},_0x3277f7=_0x43064d[_0x579464(0x32a)]={'stringify':function(_0x506439){var _0x14c2b2=_0x579464;for(var _0x111d4d=_0x506439['words'],_0x142133=_0x506439['sigBytes'],_0x17bb9d=[],_0x2d9fe9=0x0;_0x2d9fe9<_0x142133;_0x2d9fe9++){var _0x3b5d03=_0x111d4d[_0x2d9fe9>>>0x2]>>>0x18-_0x2d9fe9%0x4*0x8&0xff;_0x17bb9d[_0x14c2b2(0x2dc)](String['fromCharCode'](_0x3b5d03));}return _0x17bb9d[_0x14c2b2(0x29e)]('');},'parse':function(_0x3fe5c1){var _0x35b64b=_0x579464;for(var _0xd0a3d0=_0x3fe5c1[_0x35b64b(0x232)],_0x5f54ca=[],_0x4bcbe4=0x0;_0x4bcbe4<_0xd0a3d0;_0x4bcbe4++)_0x5f54ca[_0x4bcbe4>>>0x2]|=(_0x3fe5c1[_0x35b64b(0x2d8)](_0x4bcbe4)&0xff)<<0x18-_0x4bcbe4%0x4*0x8;return new _0x31e00c[(_0x35b64b(0x289))](_0x5f54ca,_0xd0a3d0);}},_0x355cae=_0x43064d[_0x579464(0x38b)]={'stringify':function(_0x44b4df){var _0x4f6331=_0x579464;try{return decodeURIComponent(escape(_0x3277f7[_0x4f6331(0x319)](_0x44b4df)));}catch{throw new Error(_0x4f6331(0x3f9));}},'parse':function(_0x579e6c){var _0x2bdef9=_0x579464;return _0x3277f7[_0x2bdef9(0x3bd)](unescape(encodeURIComponent(_0x579e6c)));}},_0xefaada=_0x3ef493['BufferedBlockAlgorithm']=_0x5abe28[_0x579464(0x2ca)]({'reset':function(){var _0x12d453=_0x579464;this[_0x12d453(0x2ce)]=new _0x31e00c[(_0x12d453(0x289))](),this[_0x12d453(0x356)]=0x0;},'_append':function(_0x3976eb){var _0x555f95=_0x579464;typeof _0x3976eb==_0x555f95(0x42e)&&(_0x3976eb=_0x355cae['parse'](_0x3976eb)),this['_data'][_0x555f95(0x25c)](_0x3976eb),this[_0x555f95(0x356)]+=_0x3976eb[_0x555f95(0x38e)];},'_process':function(_0x32bc5d){var _0x226c6a=_0x579464,_0x1ec3d5,_0x1f6617=this[_0x226c6a(0x2ce)],_0x28cb00=_0x1f6617[_0x226c6a(0x266)],_0x295081=_0x1f6617[_0x226c6a(0x38e)],_0x5c5517=this['blockSize'],_0x4c64d0=_0x5c5517*0x4,_0x112304=_0x295081/_0x4c64d0;_0x32bc5d?_0x112304=_0xdc625e[_0x226c6a(0x100)](_0x112304):_0x112304=_0xdc625e['max']((_0x112304|0x0)-this['_minBufferSize'],0x0);var _0xe7dc8=_0x112304*_0x5c5517,_0x4cb68c=_0xdc625e[_0x226c6a(0x143)](_0xe7dc8*0x4,_0x295081);if(_0xe7dc8){for(var _0x43472f=0x0;_0x43472f<_0xe7dc8;_0x43472f+=_0x5c5517)this[_0x226c6a(0x383)](_0x28cb00,_0x43472f);_0x1ec3d5=_0x28cb00[_0x226c6a(0x384)](0x0,_0xe7dc8),_0x1f6617[_0x226c6a(0x38e)]-=_0x4cb68c;}return new _0x31e00c[(_0x226c6a(0x289))](_0x1ec3d5,_0x4cb68c);},'clone':function(){var _0x31ec89=_0x579464,_0x257e20=_0x5abe28[_0x31ec89(0x241)][_0x31ec89(0x385)](this);return _0x257e20[_0x31ec89(0x2ce)]=this[_0x31ec89(0x2ce)]['clone'](),_0x257e20;},'_minBufferSize':0x0});_0x3ef493[_0x579464(0x113)]=_0xefaada[_0x579464(0x2ca)]({'cfg':_0x5abe28[_0x579464(0x2ca)](),'init':function(_0x43979f){var _0x58cc3f=_0x579464;this[_0x58cc3f(0x1f6)]=this[_0x58cc3f(0x1f6)][_0x58cc3f(0x2ca)](_0x43979f),this['reset']();},'reset':function(){var _0x55b05b=_0x579464;_0xefaada[_0x55b05b(0x35f)][_0x55b05b(0x385)](this),this[_0x55b05b(0x21b)]();},'update':function(_0x55285f){var _0x9badf9=_0x579464;return this['_append'](_0x55285f),this[_0x9badf9(0x2ab)](),this;},'finalize':function(_0x42d95e){var _0xdb7037=_0x579464;_0x42d95e&&this[_0xdb7037(0x36d)](_0x42d95e);var _0x587629=this[_0xdb7037(0xc8)]();return _0x587629;},'blockSize':0x10,'_createHelper':function(_0x411a36){return function(_0x151246,_0x5e84c8){var _0x2e5bab=_0x2488;return new _0x411a36['init'](_0x5e84c8)[_0x2e5bab(0x3c3)](_0x151246);};},'_createHmacHelper':function(_0x2bf421){return function(_0x5d5158,_0x4e8edc){var _0x220fac=_0x2488;return new _0x1295a9[(_0x220fac(0x399))][(_0x220fac(0x289))](_0x2bf421,_0x4e8edc)[_0x220fac(0x3c3)](_0x5d5158);};}});var _0x1295a9=_0x2b1e4e[_0x579464(0x1b3)]={};return _0x2b1e4e;}(Math);return _0x546fa3;}));}(pe)),pe[_0x5a82fb(0x283)];}var Ie={'exports':{}},Ni=Ie[_0x190638(0x283)],Je;function yt(){var _0x16ead6=_0x190638;return Je||(Je=0x1,function(_0x3f6695,_0x54f5ee){(function(_0x3fc56d,_0x4ae40){var _0x1a47ca=_0x2488;_0x3f6695[_0x1a47ca(0x283)]=_0x4ae40(Q());}(Ni,function(_0x12c894){var _0x508863=_0x2488;return(function(){var _0x5a38f9=_0x2488,_0x30fd8d=_0x12c894,_0x3a9f70=_0x30fd8d[_0x5a38f9(0x11c)],_0x5853fe=_0x3a9f70[_0x5a38f9(0x42a)],_0x289b21=_0x30fd8d[_0x5a38f9(0x2d2)];_0x289b21[_0x5a38f9(0x248)]={'stringify':function(_0xac4334){var _0x2e72cb=_0x5a38f9,_0x1dabe9=_0xac4334['words'],_0x5a5df0=_0xac4334[_0x2e72cb(0x38e)],_0x43a97c=this[_0x2e72cb(0x373)];_0xac4334[_0x2e72cb(0xbe)]();for(var _0x2899f9=[],_0x25dbfb=0x0;_0x25dbfb<_0x5a5df0;_0x25dbfb+=0x3)for(var _0xcea528=_0x1dabe9[_0x25dbfb>>>0x2]>>>0x18-_0x25dbfb%0x4*0x8&0xff,_0x4c6f9f=_0x1dabe9[_0x25dbfb+0x1>>>0x2]>>>0x18-(_0x25dbfb+0x1)%0x4*0x8&0xff,_0x201e2b=_0x1dabe9[_0x25dbfb+0x2>>>0x2]>>>0x18-(_0x25dbfb+0x2)%0x4*0x8&0xff,_0x3da105=_0xcea528<<0x10|_0x4c6f9f<<0x8|_0x201e2b,_0x4f8137=0x0;_0x4f8137<0x4&&_0x25dbfb+_0x4f8137*0.75<_0x5a5df0;_0x4f8137++)_0x2899f9['push'](_0x43a97c[_0x2e72cb(0x1a0)](_0x3da105>>>0x6*(0x3-_0x4f8137)&0x3f));var _0x422ff0=_0x43a97c[_0x2e72cb(0x1a0)](0x40);if(_0x422ff0){for(;_0x2899f9[_0x2e72cb(0x232)]%0x4;)_0x2899f9[_0x2e72cb(0x2dc)](_0x422ff0);}return _0x2899f9[_0x2e72cb(0x29e)]('');},'parse':function(_0x2f0df6){var _0x4c2a52=_0x5a38f9,_0x347dac=_0x2f0df6['length'],_0x5dc86a=this['_map'],_0x5e29b1=this[_0x4c2a52(0x402)];if(!_0x5e29b1){_0x5e29b1=this['_reverseMap']=[];for(var _0x2c916b=0x0;_0x2c916b<_0x5dc86a[_0x4c2a52(0x232)];_0x2c916b++)_0x5e29b1[_0x5dc86a[_0x4c2a52(0x2d8)](_0x2c916b)]=_0x2c916b;}var _0x53426b=_0x5dc86a[_0x4c2a52(0x1a0)](0x40);if(_0x53426b){var _0x3f5f27=_0x2f0df6[_0x4c2a52(0x22f)](_0x53426b);_0x3f5f27!==-0x1&&(_0x347dac=_0x3f5f27);}return _0x5443ef(_0x2f0df6,_0x347dac,_0x5e29b1);},'_map':_0x5a38f9(0x187)};function _0x5443ef(_0x1481e1,_0x1f5fe4,_0x260a88){var _0x4134e3=_0x5a38f9;for(var _0xf1617b=[],_0x21aea5=0x0,_0x4cbc44=0x0;_0x4cbc44<_0x1f5fe4;_0x4cbc44++)if(_0x4cbc44%0x4){var _0x7069=_0x260a88[_0x1481e1[_0x4134e3(0x2d8)](_0x4cbc44-0x1)]<<_0x4cbc44%0x4*0x2,_0x5f4c9d=_0x260a88[_0x1481e1[_0x4134e3(0x2d8)](_0x4cbc44)]>>>0x6-_0x4cbc44%0x4*0x2,_0x52f2ff=_0x7069|_0x5f4c9d;_0xf1617b[_0x21aea5>>>0x2]|=_0x52f2ff<<0x18-_0x21aea5%0x4*0x8,_0x21aea5++;}return _0x5853fe[_0x4134e3(0x332)](_0xf1617b,_0x21aea5);}}()),_0x12c894[_0x508863(0x2d2)]['Base64'];}));}(Ie)),Ie[_0x16ead6(0x283)];}var ge={'exports':{}},Ui=ge['exports'],Xe;function Di(){var _0x4566ef=_0x190638;return Xe||(Xe=0x1,function(_0x17f188,_0xe9abd1){(function(_0x4c1778,_0x4a611){var _0x41f145=_0x2488;_0x17f188[_0x41f145(0x283)]=_0x4a611(Q());}(Ui,function(_0x46676f){return function(_0x114c07){var _0x4667c9=_0x2488,_0x118824=_0x46676f,_0x5c5623=_0x118824['lib'],_0x37e31e=_0x5c5623[_0x4667c9(0x42a)],_0x470208=_0x5c5623[_0x4667c9(0x113)],_0x57b9c8=_0x118824[_0x4667c9(0x1b3)],_0x340bf2=[];(function(){var _0x8d1696=_0x4667c9;for(var _0x233ea2=0x0;_0x233ea2<0x40;_0x233ea2++)_0x340bf2[_0x233ea2]=_0x114c07[_0x8d1696(0x30c)](_0x114c07['sin'](_0x233ea2+0x1))*0x100000000|0x0;}());var _0x4c3b67=_0x57b9c8[_0x4667c9(0x308)]=_0x470208[_0x4667c9(0x2ca)]({'_doReset':function(){var _0x1a2173=_0x4667c9;this[_0x1a2173(0x26d)]=new _0x37e31e[(_0x1a2173(0x289))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4bd82f,_0x3f6c54){var _0x4da6b8=_0x4667c9;for(var _0x10ce40=0x0;_0x10ce40<0x10;_0x10ce40++){var _0x5e763e=_0x3f6c54+_0x10ce40,_0x456d31=_0x4bd82f[_0x5e763e];_0x4bd82f[_0x5e763e]=(_0x456d31<<0x8|_0x456d31>>>0x18)&0xff00ff|(_0x456d31<<0x18|_0x456d31>>>0x8)&0xff00ff00;}var _0x2a18cc=this[_0x4da6b8(0x26d)][_0x4da6b8(0x266)],_0xe68718=_0x4bd82f[_0x3f6c54+0x0],_0x3d5a8e=_0x4bd82f[_0x3f6c54+0x1],_0x32b4af=_0x4bd82f[_0x3f6c54+0x2],_0x42fcb0=_0x4bd82f[_0x3f6c54+0x3],_0x31d8a2=_0x4bd82f[_0x3f6c54+0x4],_0x1c8952=_0x4bd82f[_0x3f6c54+0x5],_0x44295b=_0x4bd82f[_0x3f6c54+0x6],_0x208f32=_0x4bd82f[_0x3f6c54+0x7],_0x4b618e=_0x4bd82f[_0x3f6c54+0x8],_0x41a780=_0x4bd82f[_0x3f6c54+0x9],_0x1ad2a5=_0x4bd82f[_0x3f6c54+0xa],_0x355aea=_0x4bd82f[_0x3f6c54+0xb],_0x451ec6=_0x4bd82f[_0x3f6c54+0xc],_0x20c13e=_0x4bd82f[_0x3f6c54+0xd],_0x1fcee5=_0x4bd82f[_0x3f6c54+0xe],_0x27f845=_0x4bd82f[_0x3f6c54+0xf],_0x30a51f=_0x2a18cc[0x0],_0x1f644e=_0x2a18cc[0x1],_0x37461e=_0x2a18cc[0x2],_0x4d36cd=_0x2a18cc[0x3];_0x30a51f=_0x25e5bb(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0xe68718,0x7,_0x340bf2[0x0]),_0x4d36cd=_0x25e5bb(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x3d5a8e,0xc,_0x340bf2[0x1]),_0x37461e=_0x25e5bb(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x32b4af,0x11,_0x340bf2[0x2]),_0x1f644e=_0x25e5bb(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x42fcb0,0x16,_0x340bf2[0x3]),_0x30a51f=_0x25e5bb(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x31d8a2,0x7,_0x340bf2[0x4]),_0x4d36cd=_0x25e5bb(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x1c8952,0xc,_0x340bf2[0x5]),_0x37461e=_0x25e5bb(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x44295b,0x11,_0x340bf2[0x6]),_0x1f644e=_0x25e5bb(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x208f32,0x16,_0x340bf2[0x7]),_0x30a51f=_0x25e5bb(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x4b618e,0x7,_0x340bf2[0x8]),_0x4d36cd=_0x25e5bb(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x41a780,0xc,_0x340bf2[0x9]),_0x37461e=_0x25e5bb(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x1ad2a5,0x11,_0x340bf2[0xa]),_0x1f644e=_0x25e5bb(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x355aea,0x16,_0x340bf2[0xb]),_0x30a51f=_0x25e5bb(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x451ec6,0x7,_0x340bf2[0xc]),_0x4d36cd=_0x25e5bb(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x20c13e,0xc,_0x340bf2[0xd]),_0x37461e=_0x25e5bb(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x1fcee5,0x11,_0x340bf2[0xe]),_0x1f644e=_0x25e5bb(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x27f845,0x16,_0x340bf2[0xf]),_0x30a51f=_0x2313ef(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x3d5a8e,0x5,_0x340bf2[0x10]),_0x4d36cd=_0x2313ef(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x44295b,0x9,_0x340bf2[0x11]),_0x37461e=_0x2313ef(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x355aea,0xe,_0x340bf2[0x12]),_0x1f644e=_0x2313ef(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0xe68718,0x14,_0x340bf2[0x13]),_0x30a51f=_0x2313ef(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x1c8952,0x5,_0x340bf2[0x14]),_0x4d36cd=_0x2313ef(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x1ad2a5,0x9,_0x340bf2[0x15]),_0x37461e=_0x2313ef(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x27f845,0xe,_0x340bf2[0x16]),_0x1f644e=_0x2313ef(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x31d8a2,0x14,_0x340bf2[0x17]),_0x30a51f=_0x2313ef(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x41a780,0x5,_0x340bf2[0x18]),_0x4d36cd=_0x2313ef(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x1fcee5,0x9,_0x340bf2[0x19]),_0x37461e=_0x2313ef(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x42fcb0,0xe,_0x340bf2[0x1a]),_0x1f644e=_0x2313ef(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x4b618e,0x14,_0x340bf2[0x1b]),_0x30a51f=_0x2313ef(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x20c13e,0x5,_0x340bf2[0x1c]),_0x4d36cd=_0x2313ef(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x32b4af,0x9,_0x340bf2[0x1d]),_0x37461e=_0x2313ef(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x208f32,0xe,_0x340bf2[0x1e]),_0x1f644e=_0x2313ef(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x451ec6,0x14,_0x340bf2[0x1f]),_0x30a51f=_0xd6c7f0(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x1c8952,0x4,_0x340bf2[0x20]),_0x4d36cd=_0xd6c7f0(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x4b618e,0xb,_0x340bf2[0x21]),_0x37461e=_0xd6c7f0(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x355aea,0x10,_0x340bf2[0x22]),_0x1f644e=_0xd6c7f0(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x1fcee5,0x17,_0x340bf2[0x23]),_0x30a51f=_0xd6c7f0(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x3d5a8e,0x4,_0x340bf2[0x24]),_0x4d36cd=_0xd6c7f0(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x31d8a2,0xb,_0x340bf2[0x25]),_0x37461e=_0xd6c7f0(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x208f32,0x10,_0x340bf2[0x26]),_0x1f644e=_0xd6c7f0(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x1ad2a5,0x17,_0x340bf2[0x27]),_0x30a51f=_0xd6c7f0(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x20c13e,0x4,_0x340bf2[0x28]),_0x4d36cd=_0xd6c7f0(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0xe68718,0xb,_0x340bf2[0x29]),_0x37461e=_0xd6c7f0(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x42fcb0,0x10,_0x340bf2[0x2a]),_0x1f644e=_0xd6c7f0(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x44295b,0x17,_0x340bf2[0x2b]),_0x30a51f=_0xd6c7f0(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x41a780,0x4,_0x340bf2[0x2c]),_0x4d36cd=_0xd6c7f0(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x451ec6,0xb,_0x340bf2[0x2d]),_0x37461e=_0xd6c7f0(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x27f845,0x10,_0x340bf2[0x2e]),_0x1f644e=_0xd6c7f0(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x32b4af,0x17,_0x340bf2[0x2f]),_0x30a51f=_0x15a691(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0xe68718,0x6,_0x340bf2[0x30]),_0x4d36cd=_0x15a691(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x208f32,0xa,_0x340bf2[0x31]),_0x37461e=_0x15a691(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x1fcee5,0xf,_0x340bf2[0x32]),_0x1f644e=_0x15a691(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x1c8952,0x15,_0x340bf2[0x33]),_0x30a51f=_0x15a691(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x451ec6,0x6,_0x340bf2[0x34]),_0x4d36cd=_0x15a691(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x42fcb0,0xa,_0x340bf2[0x35]),_0x37461e=_0x15a691(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x1ad2a5,0xf,_0x340bf2[0x36]),_0x1f644e=_0x15a691(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x3d5a8e,0x15,_0x340bf2[0x37]),_0x30a51f=_0x15a691(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x4b618e,0x6,_0x340bf2[0x38]),_0x4d36cd=_0x15a691(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x27f845,0xa,_0x340bf2[0x39]),_0x37461e=_0x15a691(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x44295b,0xf,_0x340bf2[0x3a]),_0x1f644e=_0x15a691(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x20c13e,0x15,_0x340bf2[0x3b]),_0x30a51f=_0x15a691(_0x30a51f,_0x1f644e,_0x37461e,_0x4d36cd,_0x31d8a2,0x6,_0x340bf2[0x3c]),_0x4d36cd=_0x15a691(_0x4d36cd,_0x30a51f,_0x1f644e,_0x37461e,_0x355aea,0xa,_0x340bf2[0x3d]),_0x37461e=_0x15a691(_0x37461e,_0x4d36cd,_0x30a51f,_0x1f644e,_0x32b4af,0xf,_0x340bf2[0x3e]),_0x1f644e=_0x15a691(_0x1f644e,_0x37461e,_0x4d36cd,_0x30a51f,_0x41a780,0x15,_0x340bf2[0x3f]),_0x2a18cc[0x0]=_0x2a18cc[0x0]+_0x30a51f|0x0,_0x2a18cc[0x1]=_0x2a18cc[0x1]+_0x1f644e|0x0,_0x2a18cc[0x2]=_0x2a18cc[0x2]+_0x37461e|0x0,_0x2a18cc[0x3]=_0x2a18cc[0x3]+_0x4d36cd|0x0;},'_doFinalize':function(){var _0x18d3e9=_0x4667c9,_0x3fa939=this[_0x18d3e9(0x2ce)],_0x262832=_0x3fa939[_0x18d3e9(0x266)],_0x330138=this[_0x18d3e9(0x356)]*0x8,_0xa08c07=_0x3fa939[_0x18d3e9(0x38e)]*0x8;_0x262832[_0xa08c07>>>0x5]|=0x80<<0x18-_0xa08c07%0x20;var _0x1fbaaa=_0x114c07[_0x18d3e9(0x2b3)](_0x330138/0x100000000),_0x46dabd=_0x330138;_0x262832[(_0xa08c07+0x40>>>0x9<<0x4)+0xf]=(_0x1fbaaa<<0x8|_0x1fbaaa>>>0x18)&0xff00ff|(_0x1fbaaa<<0x18|_0x1fbaaa>>>0x8)&0xff00ff00,_0x262832[(_0xa08c07+0x40>>>0x9<<0x4)+0xe]=(_0x46dabd<<0x8|_0x46dabd>>>0x18)&0xff00ff|(_0x46dabd<<0x18|_0x46dabd>>>0x8)&0xff00ff00,_0x3fa939[_0x18d3e9(0x38e)]=(_0x262832[_0x18d3e9(0x232)]+0x1)*0x4,this['_process']();for(var _0x18f2ef=this[_0x18d3e9(0x26d)],_0x3c255a=_0x18f2ef[_0x18d3e9(0x266)],_0x2bde8e=0x0;_0x2bde8e<0x4;_0x2bde8e++){var _0x40751c=_0x3c255a[_0x2bde8e];_0x3c255a[_0x2bde8e]=(_0x40751c<<0x8|_0x40751c>>>0x18)&0xff00ff|(_0x40751c<<0x18|_0x40751c>>>0x8)&0xff00ff00;}return _0x18f2ef;},'clone':function(){var _0x5b5e2b=_0x4667c9,_0x36d54b=_0x470208[_0x5b5e2b(0x241)][_0x5b5e2b(0x385)](this);return _0x36d54b[_0x5b5e2b(0x26d)]=this[_0x5b5e2b(0x26d)]['clone'](),_0x36d54b;}});function _0x25e5bb(_0x35d46a,_0x236a53,_0x168eca,_0x552fff,_0x863b27,_0x28c2e2,_0x40fd71){var _0x457408=_0x35d46a+(_0x236a53&_0x168eca|~_0x236a53&_0x552fff)+_0x863b27+_0x40fd71;return(_0x457408<<_0x28c2e2|_0x457408>>>0x20-_0x28c2e2)+_0x236a53;}function _0x2313ef(_0x1a0878,_0x537ad9,_0x1a09d6,_0x18a7a1,_0x381838,_0x7239ee,_0x41b271){var _0x4194d1=_0x1a0878+(_0x537ad9&_0x18a7a1|_0x1a09d6&~_0x18a7a1)+_0x381838+_0x41b271;return(_0x4194d1<<_0x7239ee|_0x4194d1>>>0x20-_0x7239ee)+_0x537ad9;}function _0xd6c7f0(_0x36453c,_0x4be392,_0x100b72,_0x43b5f6,_0x5525a1,_0x3d258f,_0x1134e0){var _0x58433e=_0x36453c+(_0x4be392^_0x100b72^_0x43b5f6)+_0x5525a1+_0x1134e0;return(_0x58433e<<_0x3d258f|_0x58433e>>>0x20-_0x3d258f)+_0x4be392;}function _0x15a691(_0x86a9dc,_0x55bab6,_0x2912f8,_0x4adad6,_0x12510d,_0x2d7611,_0x1adce2){var _0x445f47=_0x86a9dc+(_0x2912f8^(_0x55bab6|~_0x4adad6))+_0x12510d+_0x1adce2;return(_0x445f47<<_0x2d7611|_0x445f47>>>0x20-_0x2d7611)+_0x55bab6;}_0x118824[_0x4667c9(0x308)]=_0x470208[_0x4667c9(0x38a)](_0x4c3b67),_0x118824[_0x4667c9(0x3a0)]=_0x470208[_0x4667c9(0x1d0)](_0x4c3b67);}(Math),_0x46676f['MD5'];}));}(ge)),ge[_0x4566ef(0x283)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x190638(0x283)],Ze;function Pi(){var _0x213a1a=_0x190638;return Ze||(Ze=0x1,function(_0x3501d4,_0x4f5749){(function(_0x5a679a,_0x461da6){_0x3501d4['exports']=_0x461da6(Q());}(Ai,function(_0x399084){var _0x2d5078=_0x2488;return(function(){var _0x35164d=_0x2488,_0x4bde2b=_0x399084,_0xcaf980=_0x4bde2b[_0x35164d(0x11c)],_0x19f946=_0xcaf980[_0x35164d(0x42a)],_0x45b16c=_0xcaf980[_0x35164d(0x113)],_0x45b201=_0x4bde2b[_0x35164d(0x1b3)],_0x56f691=[],_0x51724c=_0x45b201[_0x35164d(0x2f7)]=_0x45b16c[_0x35164d(0x2ca)]({'_doReset':function(){var _0x34dc5f=_0x35164d;this['_hash']=new _0x19f946[(_0x34dc5f(0x289))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3e7fe4,_0x25d89f){var _0xffdaea=_0x35164d;for(var _0x4a9aa3=this[_0xffdaea(0x26d)][_0xffdaea(0x266)],_0x1acccf=_0x4a9aa3[0x0],_0x487f1f=_0x4a9aa3[0x1],_0x310373=_0x4a9aa3[0x2],_0x3bde60=_0x4a9aa3[0x3],_0x503976=_0x4a9aa3[0x4],_0x517c12=0x0;_0x517c12<0x50;_0x517c12++){if(_0x517c12<0x10)_0x56f691[_0x517c12]=_0x3e7fe4[_0x25d89f+_0x517c12]|0x0;else{var _0x2e94b2=_0x56f691[_0x517c12-0x3]^_0x56f691[_0x517c12-0x8]^_0x56f691[_0x517c12-0xe]^_0x56f691[_0x517c12-0x10];_0x56f691[_0x517c12]=_0x2e94b2<<0x1|_0x2e94b2>>>0x1f;}var _0x412940=(_0x1acccf<<0x5|_0x1acccf>>>0x1b)+_0x503976+_0x56f691[_0x517c12];_0x517c12<0x14?_0x412940+=(_0x487f1f&_0x310373|~_0x487f1f&_0x3bde60)+0x5a827999:_0x517c12<0x28?_0x412940+=(_0x487f1f^_0x310373^_0x3bde60)+0x6ed9eba1:_0x517c12<0x3c?_0x412940+=(_0x487f1f&_0x310373|_0x487f1f&_0x3bde60|_0x310373&_0x3bde60)-0x70e44324:_0x412940+=(_0x487f1f^_0x310373^_0x3bde60)-0x359d3e2a,_0x503976=_0x3bde60,_0x3bde60=_0x310373,_0x310373=_0x487f1f<<0x1e|_0x487f1f>>>0x2,_0x487f1f=_0x1acccf,_0x1acccf=_0x412940;}_0x4a9aa3[0x0]=_0x4a9aa3[0x0]+_0x1acccf|0x0,_0x4a9aa3[0x1]=_0x4a9aa3[0x1]+_0x487f1f|0x0,_0x4a9aa3[0x2]=_0x4a9aa3[0x2]+_0x310373|0x0,_0x4a9aa3[0x3]=_0x4a9aa3[0x3]+_0x3bde60|0x0,_0x4a9aa3[0x4]=_0x4a9aa3[0x4]+_0x503976|0x0;},'_doFinalize':function(){var _0x541b4c=_0x35164d,_0x503603=this[_0x541b4c(0x2ce)],_0x18e275=_0x503603[_0x541b4c(0x266)],_0x21c409=this[_0x541b4c(0x356)]*0x8,_0x1e48dd=_0x503603[_0x541b4c(0x38e)]*0x8;return _0x18e275[_0x1e48dd>>>0x5]|=0x80<<0x18-_0x1e48dd%0x20,_0x18e275[(_0x1e48dd+0x40>>>0x9<<0x4)+0xe]=Math[_0x541b4c(0x2b3)](_0x21c409/0x100000000),_0x18e275[(_0x1e48dd+0x40>>>0x9<<0x4)+0xf]=_0x21c409,_0x503603['sigBytes']=_0x18e275[_0x541b4c(0x232)]*0x4,this[_0x541b4c(0x2ab)](),this['_hash'];},'clone':function(){var _0xf812e4=_0x35164d,_0x3a1513=_0x45b16c[_0xf812e4(0x241)][_0xf812e4(0x385)](this);return _0x3a1513['_hash']=this[_0xf812e4(0x26d)][_0xf812e4(0x241)](),_0x3a1513;}});_0x4bde2b[_0x35164d(0x2f7)]=_0x45b16c[_0x35164d(0x38a)](_0x51724c),_0x4bde2b[_0x35164d(0x277)]=_0x45b16c[_0x35164d(0x1d0)](_0x51724c);}()),_0x399084[_0x2d5078(0x2f7)];}));}(me)),me[_0x213a1a(0x283)];}var Ce={'exports':{}},wi=Ce['exports'],Qe;function Li(){return Qe||(Qe=0x1,function(_0x33bde8,_0x483989){(function(_0x2a41b5,_0x55a936){var _0x10ff11=_0x2488;_0x33bde8[_0x10ff11(0x283)]=_0x55a936(Q());}(wi,function(_0x56f54b){(function(){var _0x365353=_0x2488,_0x2cf2d7=_0x56f54b,_0x49c8f7=_0x2cf2d7[_0x365353(0x11c)],_0x5615b1=_0x49c8f7['Base'],_0x550a53=_0x2cf2d7[_0x365353(0x2d2)],_0x614f98=_0x550a53[_0x365353(0x38b)],_0x4d594d=_0x2cf2d7[_0x365353(0x1b3)];_0x4d594d['HMAC']=_0x5615b1[_0x365353(0x2ca)]({'init':function(_0x42ade7,_0x2749c2){var _0x42bd76=_0x365353;_0x42ade7=this[_0x42bd76(0x1ce)]=new _0x42ade7[(_0x42bd76(0x289))](),typeof _0x2749c2==_0x42bd76(0x42e)&&(_0x2749c2=_0x614f98[_0x42bd76(0x3bd)](_0x2749c2));var _0x479465=_0x42ade7['blockSize'],_0x20e5f0=_0x479465*0x4;_0x2749c2[_0x42bd76(0x38e)]>_0x20e5f0&&(_0x2749c2=_0x42ade7[_0x42bd76(0x3c3)](_0x2749c2)),_0x2749c2['clamp']();for(var _0xd3cb71=this[_0x42bd76(0x3fe)]=_0x2749c2[_0x42bd76(0x241)](),_0x1c1584=this[_0x42bd76(0xed)]=_0x2749c2[_0x42bd76(0x241)](),_0x5cdd22=_0xd3cb71[_0x42bd76(0x266)],_0x45ba5e=_0x1c1584[_0x42bd76(0x266)],_0x13ff7b=0x0;_0x13ff7b<_0x479465;_0x13ff7b++)_0x5cdd22[_0x13ff7b]^=0x5c5c5c5c,_0x45ba5e[_0x13ff7b]^=0x36363636;_0xd3cb71[_0x42bd76(0x38e)]=_0x1c1584['sigBytes']=_0x20e5f0,this['reset']();},'reset':function(){var _0x20c2e7=_0x365353,_0x3e060f=this[_0x20c2e7(0x1ce)];_0x3e060f['reset'](),_0x3e060f[_0x20c2e7(0x195)](this[_0x20c2e7(0xed)]);},'update':function(_0x1e8c05){var _0x365ab4=_0x365353;return this[_0x365ab4(0x1ce)]['update'](_0x1e8c05),this;},'finalize':function(_0x14d59c){var _0x51304f=_0x365353,_0x417161=this[_0x51304f(0x1ce)],_0x39c6d8=_0x417161['finalize'](_0x14d59c);_0x417161['reset']();var _0xf9bfde=_0x417161[_0x51304f(0x3c3)](this['_oKey']['clone']()[_0x51304f(0x25c)](_0x39c6d8));return _0xf9bfde;}});}());}));}(Ce)),Ce['exports'];}var Mi=Ee['exports'],et;function Nt(){return et||(et=0x1,function(_0x2b1de2,_0x30aedd){(function(_0x21703c,_0x14a0b0,_0x5741eb){var _0x27cdf0=_0x2488;_0x2b1de2[_0x27cdf0(0x283)]=_0x14a0b0(Q(),Pi(),Li());}(Mi,function(_0x51e492){var _0x28a69b=_0x2488;return(function(){var _0x315be0=_0x2488,_0x5952b2=_0x51e492,_0x1d5031=_0x5952b2['lib'],_0x28202e=_0x1d5031[_0x315be0(0x3ae)],_0x130b90=_0x1d5031[_0x315be0(0x42a)],_0x501ba9=_0x5952b2[_0x315be0(0x1b3)],_0x41c4ed=_0x501ba9['MD5'],_0x1c7e02=_0x501ba9['EvpKDF']=_0x28202e[_0x315be0(0x2ca)]({'cfg':_0x28202e[_0x315be0(0x2ca)]({'keySize':0x80/0x20,'hasher':_0x41c4ed,'iterations':0x1}),'init':function(_0x99736a){var _0x1e1294=_0x315be0;this[_0x1e1294(0x1f6)]=this[_0x1e1294(0x1f6)]['extend'](_0x99736a);},'compute':function(_0x1f70ad,_0x46eab7){var _0x1e8132=_0x315be0;for(var _0x129e7c,_0x48ee0b=this[_0x1e8132(0x1f6)],_0x332497=_0x48ee0b[_0x1e8132(0x1da)][_0x1e8132(0x332)](),_0x4f9d95=_0x130b90[_0x1e8132(0x332)](),_0x222039=_0x4f9d95[_0x1e8132(0x266)],_0x10050e=_0x48ee0b['keySize'],_0x3fd4a3=_0x48ee0b[_0x1e8132(0x2dd)];_0x222039['length']<_0x10050e;){_0x129e7c&&_0x332497['update'](_0x129e7c),_0x129e7c=_0x332497[_0x1e8132(0x195)](_0x1f70ad)[_0x1e8132(0x3c3)](_0x46eab7),_0x332497[_0x1e8132(0x35f)]();for(var _0x32c356=0x1;_0x32c356<_0x3fd4a3;_0x32c356++)_0x129e7c=_0x332497[_0x1e8132(0x3c3)](_0x129e7c),_0x332497['reset']();_0x4f9d95['concat'](_0x129e7c);}return _0x4f9d95[_0x1e8132(0x38e)]=_0x10050e*0x4,_0x4f9d95;}});_0x5952b2[_0x315be0(0x16d)]=function(_0xa06b7a,_0x202c41,_0x13e443){var _0x1f3f18=_0x315be0;return _0x1c7e02['create'](_0x13e443)[_0x1f3f18(0x358)](_0xa06b7a,_0x202c41);};}()),_0x51e492[_0x28a69b(0x16d)];}));}(Ee)),Ee['exports'];}var Te={'exports':{}},xi=Te['exports'],tt;function Ut(){return tt||(tt=0x1,function(_0x408df1,_0x1431a5){(function(_0x2d18db,_0x5ce9d0,_0x1178ee){var _0x5c1fd6=_0x2488;_0x408df1[_0x5c1fd6(0x283)]=_0x5ce9d0(Q(),Nt());}(xi,function(_0x472eab){var _0x466fdd=_0x2488;_0x472eab[_0x466fdd(0x11c)][_0x466fdd(0x208)]||function(_0x4be732){var _0xd762bc=_0x466fdd,_0x1c31e3=_0x472eab,_0x41cacf=_0x1c31e3['lib'],_0x62db5a=_0x41cacf['Base'],_0x320d69=_0x41cacf[_0xd762bc(0x42a)],_0x3f7fec=_0x41cacf[_0xd762bc(0xe7)],_0x554953=_0x1c31e3['enc'];_0x554953[_0xd762bc(0x38b)];var _0x53356c=_0x554953[_0xd762bc(0x248)],_0x587644=_0x1c31e3[_0xd762bc(0x1b3)],_0x4510d7=_0x587644[_0xd762bc(0x16d)],_0x571ab3=_0x41cacf['Cipher']=_0x3f7fec['extend']({'cfg':_0x62db5a[_0xd762bc(0x2ca)](),'createEncryptor':function(_0x884768,_0x300a24){var _0x3de4e4=_0xd762bc;return this[_0x3de4e4(0x332)](this['_ENC_XFORM_MODE'],_0x884768,_0x300a24);},'createDecryptor':function(_0x51d37b,_0x29fb02){var _0x5cdf62=_0xd762bc;return this[_0x5cdf62(0x332)](this['_DEC_XFORM_MODE'],_0x51d37b,_0x29fb02);},'init':function(_0x152102,_0x31d7f1,_0x3734ec){var _0xcce736=_0xd762bc;this[_0xcce736(0x1f6)]=this[_0xcce736(0x1f6)][_0xcce736(0x2ca)](_0x3734ec),this[_0xcce736(0x1ef)]=_0x152102,this[_0xcce736(0x2b8)]=_0x31d7f1,this[_0xcce736(0x35f)]();},'reset':function(){var _0x1258bf=_0xd762bc;_0x3f7fec['reset']['call'](this),this[_0x1258bf(0x21b)]();},'process':function(_0x16441b){var _0x15dc66=_0xd762bc;return this[_0x15dc66(0x36d)](_0x16441b),this[_0x15dc66(0x2ab)]();},'finalize':function(_0x53753c){var _0x2cb7b6=_0xd762bc;_0x53753c&&this[_0x2cb7b6(0x36d)](_0x53753c);var _0x1b2e85=this[_0x2cb7b6(0xc8)]();return _0x1b2e85;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1d67a9(_0x1596ea){var _0x897be6=_0x2488;return typeof _0x1596ea==_0x897be6(0x42e)?_0x1086f5:_0x555de8;}return function(_0x4cdfb9){return{'encrypt':function(_0x49c2a0,_0x372b9f,_0x59d9be){return _0x1d67a9(_0x372b9f)['encrypt'](_0x4cdfb9,_0x49c2a0,_0x372b9f,_0x59d9be);},'decrypt':function(_0x24e502,_0x58f495,_0x3a9bbb){var _0x419138=_0x2488;return _0x1d67a9(_0x58f495)[_0x419138(0x16c)](_0x4cdfb9,_0x24e502,_0x58f495,_0x3a9bbb);}};};}())});_0x41cacf[_0xd762bc(0x122)]=_0x571ab3[_0xd762bc(0x2ca)]({'_doFinalize':function(){var _0x2c2de3=this['_process'](!0x0);return _0x2c2de3;},'blockSize':0x1});var _0x335b1c=_0x1c31e3[_0xd762bc(0x246)]={},_0x330865=_0x41cacf[_0xd762bc(0x161)]=_0x62db5a[_0xd762bc(0x2ca)]({'createEncryptor':function(_0x83fdf0,_0x209ddf){var _0x107f91=_0xd762bc;return this[_0x107f91(0x2ff)][_0x107f91(0x332)](_0x83fdf0,_0x209ddf);},'createDecryptor':function(_0x17e376,_0x292bbf){var _0x40b749=_0xd762bc;return this[_0x40b749(0x189)][_0x40b749(0x332)](_0x17e376,_0x292bbf);},'init':function(_0x13e264,_0x2e7a7c){var _0x2c4674=_0xd762bc;this[_0x2c4674(0x173)]=_0x13e264,this[_0x2c4674(0x1cb)]=_0x2e7a7c;}}),_0x124bf6=_0x335b1c[_0xd762bc(0xef)]=(function(){var _0x4c3f90=_0xd762bc,_0x3a0cb1=_0x330865[_0x4c3f90(0x2ca)]();_0x3a0cb1['Encryptor']=_0x3a0cb1['extend']({'processBlock':function(_0x1e5c25,_0x5b9eb6){var _0x13725d=_0x4c3f90,_0x1e6a6f=this[_0x13725d(0x173)],_0x2cec77=_0x1e6a6f[_0x13725d(0x28a)];_0x190717[_0x13725d(0x385)](this,_0x1e5c25,_0x5b9eb6,_0x2cec77),_0x1e6a6f['encryptBlock'](_0x1e5c25,_0x5b9eb6),this[_0x13725d(0x21f)]=_0x1e5c25[_0x13725d(0xee)](_0x5b9eb6,_0x5b9eb6+_0x2cec77);}}),_0x3a0cb1[_0x4c3f90(0x189)]=_0x3a0cb1['extend']({'processBlock':function(_0xeedcf3,_0xfbabdf){var _0x23d4de=_0x4c3f90,_0x244a97=this[_0x23d4de(0x173)],_0x528cca=_0x244a97[_0x23d4de(0x28a)],_0x343822=_0xeedcf3[_0x23d4de(0xee)](_0xfbabdf,_0xfbabdf+_0x528cca);_0x244a97[_0x23d4de(0x3eb)](_0xeedcf3,_0xfbabdf),_0x190717['call'](this,_0xeedcf3,_0xfbabdf,_0x528cca),this['_prevBlock']=_0x343822;}});function _0x190717(_0x2138aa,_0x5e622d,_0x549c78){var _0xa3ab2f=_0x4c3f90,_0x15fb52,_0x4647be=this[_0xa3ab2f(0x1cb)];_0x4647be?(_0x15fb52=_0x4647be,this[_0xa3ab2f(0x1cb)]=_0x4be732):_0x15fb52=this['_prevBlock'];for(var _0x1e908f=0x0;_0x1e908f<_0x549c78;_0x1e908f++)_0x2138aa[_0x5e622d+_0x1e908f]^=_0x15fb52[_0x1e908f];}return _0x3a0cb1;}()),_0x22dc2e=_0x1c31e3[_0xd762bc(0x17d)]={},_0x2801d5=_0x22dc2e[_0xd762bc(0x315)]={'pad':function(_0x1ba525,_0x554da2){var _0x50dac5=_0xd762bc;for(var _0x5d07e0=_0x554da2*0x4,_0x2bd323=_0x5d07e0-_0x1ba525[_0x50dac5(0x38e)]%_0x5d07e0,_0x23861f=_0x2bd323<<0x18|_0x2bd323<<0x10|_0x2bd323<<0x8|_0x2bd323,_0x101263=[],_0x4caea5=0x0;_0x4caea5<_0x2bd323;_0x4caea5+=0x4)_0x101263[_0x50dac5(0x2dc)](_0x23861f);var _0x427423=_0x320d69[_0x50dac5(0x332)](_0x101263,_0x2bd323);_0x1ba525[_0x50dac5(0x25c)](_0x427423);},'unpad':function(_0x5b7d16){var _0x516414=_0xd762bc,_0x4a2264=_0x5b7d16['words'][_0x5b7d16['sigBytes']-0x1>>>0x2]&0xff;_0x5b7d16[_0x516414(0x38e)]-=_0x4a2264;}};_0x41cacf['BlockCipher']=_0x571ab3[_0xd762bc(0x2ca)]({'cfg':_0x571ab3[_0xd762bc(0x1f6)][_0xd762bc(0x2ca)]({'mode':_0x124bf6,'padding':_0x2801d5}),'reset':function(){var _0x5db10d=_0xd762bc,_0x3ca1f2;_0x571ab3[_0x5db10d(0x35f)][_0x5db10d(0x385)](this);var _0x2a48b5=this['cfg'],_0xbdb3c4=_0x2a48b5['iv'],_0x5cf15a=_0x2a48b5[_0x5db10d(0x246)];this['_xformMode']==this[_0x5db10d(0x3d9)]?_0x3ca1f2=_0x5cf15a[_0x5db10d(0x29d)]:(_0x3ca1f2=_0x5cf15a[_0x5db10d(0x2a2)],this[_0x5db10d(0x231)]=0x1),this[_0x5db10d(0x2b0)]&&this[_0x5db10d(0x2b0)][_0x5db10d(0x260)]==_0x3ca1f2?this['_mode'][_0x5db10d(0x289)](this,_0xbdb3c4&&_0xbdb3c4[_0x5db10d(0x266)]):(this[_0x5db10d(0x2b0)]=_0x3ca1f2['call'](_0x5cf15a,this,_0xbdb3c4&&_0xbdb3c4[_0x5db10d(0x266)]),this[_0x5db10d(0x2b0)]['__creator']=_0x3ca1f2);},'_doProcessBlock':function(_0x12b442,_0x514740){var _0x1a43b9=_0xd762bc;this[_0x1a43b9(0x2b0)]['processBlock'](_0x12b442,_0x514740);},'_doFinalize':function(){var _0x30cd2a=_0xd762bc,_0x74febd,_0x2edfe3=this['cfg'][_0x30cd2a(0x1c9)];return this[_0x30cd2a(0x1ef)]==this[_0x30cd2a(0x3d9)]?(_0x2edfe3[_0x30cd2a(0x17d)](this[_0x30cd2a(0x2ce)],this['blockSize']),_0x74febd=this['_process'](!0x0)):(_0x74febd=this['_process'](!0x0),_0x2edfe3[_0x30cd2a(0x221)](_0x74febd)),_0x74febd;},'blockSize':0x80/0x20});var _0x32ac4b=_0x41cacf[_0xd762bc(0x11e)]=_0x62db5a[_0xd762bc(0x2ca)]({'init':function(_0x577fd7){var _0x25ffe9=_0xd762bc;this[_0x25ffe9(0x2ef)](_0x577fd7);},'toString':function(_0x4856f8){var _0xcfe8d7=_0xd762bc;return(_0x4856f8||this[_0xcfe8d7(0x176)])['stringify'](this);}}),_0x296989=_0x1c31e3[_0xd762bc(0x166)]={},_0x1a688b=_0x296989[_0xd762bc(0xdf)]={'stringify':function(_0x2a1d66){var _0x44ab9e=_0xd762bc,_0x10ab7b,_0x87e408=_0x2a1d66['ciphertext'],_0x1ba522=_0x2a1d66[_0x44ab9e(0x140)];return _0x1ba522?_0x10ab7b=_0x320d69[_0x44ab9e(0x332)]([0x53616c74,0x65645f5f])[_0x44ab9e(0x25c)](_0x1ba522)[_0x44ab9e(0x25c)](_0x87e408):_0x10ab7b=_0x87e408,_0x10ab7b[_0x44ab9e(0xf8)](_0x53356c);},'parse':function(_0x25aeee){var _0x3ca673=_0xd762bc,_0x5b12df,_0x66d351=_0x53356c['parse'](_0x25aeee),_0x17ca10=_0x66d351[_0x3ca673(0x266)];return _0x17ca10[0x0]==0x53616c74&&_0x17ca10[0x1]==0x65645f5f&&(_0x5b12df=_0x320d69[_0x3ca673(0x332)](_0x17ca10[_0x3ca673(0xee)](0x2,0x4)),_0x17ca10['splice'](0x0,0x4),_0x66d351[_0x3ca673(0x38e)]-=0x10),_0x32ac4b['create']({'ciphertext':_0x66d351,'salt':_0x5b12df});}},_0x555de8=_0x41cacf[_0xd762bc(0x36f)]=_0x62db5a[_0xd762bc(0x2ca)]({'cfg':_0x62db5a[_0xd762bc(0x2ca)]({'format':_0x1a688b}),'encrypt':function(_0x4ef390,_0x52dcc3,_0xb7d539,_0x3d4f3d){var _0x2a653d=_0xd762bc;_0x3d4f3d=this[_0x2a653d(0x1f6)][_0x2a653d(0x2ca)](_0x3d4f3d);var _0x2926e3=_0x4ef390[_0x2a653d(0x29d)](_0xb7d539,_0x3d4f3d),_0x2f27f2=_0x2926e3[_0x2a653d(0x3c3)](_0x52dcc3),_0x58f8a0=_0x2926e3['cfg'];return _0x32ac4b[_0x2a653d(0x332)]({'ciphertext':_0x2f27f2,'key':_0xb7d539,'iv':_0x58f8a0['iv'],'algorithm':_0x4ef390,'mode':_0x58f8a0[_0x2a653d(0x246)],'padding':_0x58f8a0[_0x2a653d(0x1c9)],'blockSize':_0x4ef390[_0x2a653d(0x28a)],'formatter':_0x3d4f3d[_0x2a653d(0x166)]});},'decrypt':function(_0x7ea5b6,_0x35e57d,_0x452d50,_0x1c7511){var _0xa089b8=_0xd762bc;_0x1c7511=this['cfg'][_0xa089b8(0x2ca)](_0x1c7511),_0x35e57d=this['_parse'](_0x35e57d,_0x1c7511[_0xa089b8(0x166)]);var _0x518ac5=_0x7ea5b6['createDecryptor'](_0x452d50,_0x1c7511)[_0xa089b8(0x3c3)](_0x35e57d[_0xa089b8(0x157)]);return _0x518ac5;},'_parse':function(_0x35e364,_0x4ddc0f){var _0x3281d8=_0xd762bc;return typeof _0x35e364==_0x3281d8(0x42e)?_0x4ddc0f[_0x3281d8(0x3bd)](_0x35e364,this):_0x35e364;}}),_0x45cf83=_0x1c31e3[_0xd762bc(0x1ae)]={},_0x360af4=_0x45cf83[_0xd762bc(0xdf)]={'execute':function(_0x5b81ae,_0x3b1792,_0x573c68,_0x4137a0,_0x5a4546){var _0x48dfd1=_0xd762bc;if(_0x4137a0||(_0x4137a0=_0x320d69[_0x48dfd1(0xf4)](0x40/0x8)),_0x5a4546)var _0x4e6121=_0x4510d7[_0x48dfd1(0x332)]({'keySize':_0x3b1792+_0x573c68,'hasher':_0x5a4546})[_0x48dfd1(0x358)](_0x5b81ae,_0x4137a0);else var _0x4e6121=_0x4510d7['create']({'keySize':_0x3b1792+_0x573c68})[_0x48dfd1(0x358)](_0x5b81ae,_0x4137a0);var _0x294aad=_0x320d69[_0x48dfd1(0x332)](_0x4e6121['words']['slice'](_0x3b1792),_0x573c68*0x4);return _0x4e6121[_0x48dfd1(0x38e)]=_0x3b1792*0x4,_0x32ac4b[_0x48dfd1(0x332)]({'key':_0x4e6121,'iv':_0x294aad,'salt':_0x4137a0});}},_0x1086f5=_0x41cacf[_0xd762bc(0x12e)]=_0x555de8[_0xd762bc(0x2ca)]({'cfg':_0x555de8[_0xd762bc(0x1f6)]['extend']({'kdf':_0x360af4}),'encrypt':function(_0x26d9a8,_0x2fa8fd,_0x100bcb,_0x6551de){var _0x25d573=_0xd762bc;_0x6551de=this['cfg'][_0x25d573(0x2ca)](_0x6551de);var _0x1605af=_0x6551de[_0x25d573(0x1ae)][_0x25d573(0x238)](_0x100bcb,_0x26d9a8[_0x25d573(0x316)],_0x26d9a8[_0x25d573(0x3ef)],_0x6551de['salt'],_0x6551de[_0x25d573(0x1da)]);_0x6551de['iv']=_0x1605af['iv'];var _0x368f09=_0x555de8[_0x25d573(0x352)][_0x25d573(0x385)](this,_0x26d9a8,_0x2fa8fd,_0x1605af[_0x25d573(0x131)],_0x6551de);return _0x368f09[_0x25d573(0x2ef)](_0x1605af),_0x368f09;},'decrypt':function(_0x47e4ad,_0x211346,_0x51faa9,_0x28bf70){var _0x13cbac=_0xd762bc;_0x28bf70=this['cfg'][_0x13cbac(0x2ca)](_0x28bf70),_0x211346=this[_0x13cbac(0x2d3)](_0x211346,_0x28bf70[_0x13cbac(0x166)]);var _0x1a6978=_0x28bf70[_0x13cbac(0x1ae)][_0x13cbac(0x238)](_0x51faa9,_0x47e4ad[_0x13cbac(0x316)],_0x47e4ad[_0x13cbac(0x3ef)],_0x211346[_0x13cbac(0x140)],_0x28bf70['hasher']);_0x28bf70['iv']=_0x1a6978['iv'];var _0x15510e=_0x555de8['decrypt'][_0x13cbac(0x385)](this,_0x47e4ad,_0x211346,_0x1a6978[_0x13cbac(0x131)],_0x28bf70);return _0x15510e;}});}();}));}(Te)),Te['exports'];}var ki=fe[_0x190638(0x283)],it;function Hi(){return it||(it=0x1,function(_0x96cf6b,_0x48096a){(function(_0x3899c7,_0x4b7d07,_0x12a5d6){var _0x53299f=_0x2488;_0x96cf6b[_0x53299f(0x283)]=_0x4b7d07(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x38622e){var _0x4489e9=_0x2488;return(function(){var _0x3d3f60=_0x2488,_0x40a82a=_0x38622e,_0x59e6d7=_0x40a82a['lib'],_0x348657=_0x59e6d7[_0x3d3f60(0x2cd)],_0x2a9375=_0x40a82a[_0x3d3f60(0x1b3)],_0x268480=[],_0x4ed17d=[],_0x3e45b3=[],_0x301aa7=[],_0x2757d4=[],_0x2e25e8=[],_0x2b9cae=[],_0x2fef5f=[],_0x1b9e35=[],_0x2ec937=[];(function(){for(var _0x45704e=[],_0x2aa330=0x0;_0x2aa330<0x100;_0x2aa330++)_0x2aa330<0x80?_0x45704e[_0x2aa330]=_0x2aa330<<0x1:_0x45704e[_0x2aa330]=_0x2aa330<<0x1^0x11b;for(var _0x4e9943=0x0,_0x7773e2=0x0,_0x2aa330=0x0;_0x2aa330<0x100;_0x2aa330++){var _0x5b7c98=_0x7773e2^_0x7773e2<<0x1^_0x7773e2<<0x2^_0x7773e2<<0x3^_0x7773e2<<0x4;_0x5b7c98=_0x5b7c98>>>0x8^_0x5b7c98&0xff^0x63,_0x268480[_0x4e9943]=_0x5b7c98,_0x4ed17d[_0x5b7c98]=_0x4e9943;var _0x495d16=_0x45704e[_0x4e9943],_0x4d40eb=_0x45704e[_0x495d16],_0x3e5cab=_0x45704e[_0x4d40eb],_0x332290=_0x45704e[_0x5b7c98]*0x101^_0x5b7c98*0x1010100;_0x3e45b3[_0x4e9943]=_0x332290<<0x18|_0x332290>>>0x8,_0x301aa7[_0x4e9943]=_0x332290<<0x10|_0x332290>>>0x10,_0x2757d4[_0x4e9943]=_0x332290<<0x8|_0x332290>>>0x18,_0x2e25e8[_0x4e9943]=_0x332290;var _0x332290=_0x3e5cab*0x1010101^_0x4d40eb*0x10001^_0x495d16*0x101^_0x4e9943*0x1010100;_0x2b9cae[_0x5b7c98]=_0x332290<<0x18|_0x332290>>>0x8,_0x2fef5f[_0x5b7c98]=_0x332290<<0x10|_0x332290>>>0x10,_0x1b9e35[_0x5b7c98]=_0x332290<<0x8|_0x332290>>>0x18,_0x2ec937[_0x5b7c98]=_0x332290,_0x4e9943?(_0x4e9943=_0x495d16^_0x45704e[_0x45704e[_0x45704e[_0x3e5cab^_0x495d16]]],_0x7773e2^=_0x45704e[_0x45704e[_0x7773e2]]):_0x4e9943=_0x7773e2=0x1;}}());var _0x40fac7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2c9da6=_0x2a9375[_0x3d3f60(0x2a8)]=_0x348657[_0x3d3f60(0x2ca)]({'_doReset':function(){var _0x457c62=_0x3d3f60,_0x54a9b5;if(!(this[_0x457c62(0x105)]&&this['_keyPriorReset']===this[_0x457c62(0x2b8)])){for(var _0x7880a4=this[_0x457c62(0x32b)]=this['_key'],_0x2a0ffa=_0x7880a4[_0x457c62(0x266)],_0x46d65d=_0x7880a4['sigBytes']/0x4,_0x3770dd=this[_0x457c62(0x105)]=_0x46d65d+0x6,_0x4fc5bf=(_0x3770dd+0x1)*0x4,_0x439aaf=this[_0x457c62(0x258)]=[],_0x4735f1=0x0;_0x4735f1<_0x4fc5bf;_0x4735f1++)_0x4735f1<_0x46d65d?_0x439aaf[_0x4735f1]=_0x2a0ffa[_0x4735f1]:(_0x54a9b5=_0x439aaf[_0x4735f1-0x1],_0x4735f1%_0x46d65d?_0x46d65d>0x6&&_0x4735f1%_0x46d65d==0x4&&(_0x54a9b5=_0x268480[_0x54a9b5>>>0x18]<<0x18|_0x268480[_0x54a9b5>>>0x10&0xff]<<0x10|_0x268480[_0x54a9b5>>>0x8&0xff]<<0x8|_0x268480[_0x54a9b5&0xff]):(_0x54a9b5=_0x54a9b5<<0x8|_0x54a9b5>>>0x18,_0x54a9b5=_0x268480[_0x54a9b5>>>0x18]<<0x18|_0x268480[_0x54a9b5>>>0x10&0xff]<<0x10|_0x268480[_0x54a9b5>>>0x8&0xff]<<0x8|_0x268480[_0x54a9b5&0xff],_0x54a9b5^=_0x40fac7[_0x4735f1/_0x46d65d|0x0]<<0x18),_0x439aaf[_0x4735f1]=_0x439aaf[_0x4735f1-_0x46d65d]^_0x54a9b5);for(var _0xba9d47=this[_0x457c62(0x3d0)]=[],_0x24e22a=0x0;_0x24e22a<_0x4fc5bf;_0x24e22a++){var _0x4735f1=_0x4fc5bf-_0x24e22a;if(_0x24e22a%0x4)var _0x54a9b5=_0x439aaf[_0x4735f1];else var _0x54a9b5=_0x439aaf[_0x4735f1-0x4];_0x24e22a<0x4||_0x4735f1<=0x4?_0xba9d47[_0x24e22a]=_0x54a9b5:_0xba9d47[_0x24e22a]=_0x2b9cae[_0x268480[_0x54a9b5>>>0x18]]^_0x2fef5f[_0x268480[_0x54a9b5>>>0x10&0xff]]^_0x1b9e35[_0x268480[_0x54a9b5>>>0x8&0xff]]^_0x2ec937[_0x268480[_0x54a9b5&0xff]];}}},'encryptBlock':function(_0x27bc91,_0x2811fa){var _0x3a5d55=_0x3d3f60;this[_0x3a5d55(0x160)](_0x27bc91,_0x2811fa,this['_keySchedule'],_0x3e45b3,_0x301aa7,_0x2757d4,_0x2e25e8,_0x268480);},'decryptBlock':function(_0x46cb87,_0x176b69){var _0x534fe9=_0x3d3f60,_0x5c0783=_0x46cb87[_0x176b69+0x1];_0x46cb87[_0x176b69+0x1]=_0x46cb87[_0x176b69+0x3],_0x46cb87[_0x176b69+0x3]=_0x5c0783,this[_0x534fe9(0x160)](_0x46cb87,_0x176b69,this[_0x534fe9(0x3d0)],_0x2b9cae,_0x2fef5f,_0x1b9e35,_0x2ec937,_0x4ed17d);var _0x5c0783=_0x46cb87[_0x176b69+0x1];_0x46cb87[_0x176b69+0x1]=_0x46cb87[_0x176b69+0x3],_0x46cb87[_0x176b69+0x3]=_0x5c0783;},'_doCryptBlock':function(_0x58d5a5,_0x4f7022,_0x1fd1f8,_0x11c7d1,_0x191c52,_0x3bb173,_0x207039,_0x4501b7){var _0x12f574=_0x3d3f60;for(var _0xe1e0f6=this[_0x12f574(0x105)],_0x1535fd=_0x58d5a5[_0x4f7022]^_0x1fd1f8[0x0],_0x2876b6=_0x58d5a5[_0x4f7022+0x1]^_0x1fd1f8[0x1],_0x5eac3f=_0x58d5a5[_0x4f7022+0x2]^_0x1fd1f8[0x2],_0x54a922=_0x58d5a5[_0x4f7022+0x3]^_0x1fd1f8[0x3],_0x47410d=0x4,_0x509068=0x1;_0x509068<_0xe1e0f6;_0x509068++){var _0x1ca8b4=_0x11c7d1[_0x1535fd>>>0x18]^_0x191c52[_0x2876b6>>>0x10&0xff]^_0x3bb173[_0x5eac3f>>>0x8&0xff]^_0x207039[_0x54a922&0xff]^_0x1fd1f8[_0x47410d++],_0x383366=_0x11c7d1[_0x2876b6>>>0x18]^_0x191c52[_0x5eac3f>>>0x10&0xff]^_0x3bb173[_0x54a922>>>0x8&0xff]^_0x207039[_0x1535fd&0xff]^_0x1fd1f8[_0x47410d++],_0x527b13=_0x11c7d1[_0x5eac3f>>>0x18]^_0x191c52[_0x54a922>>>0x10&0xff]^_0x3bb173[_0x1535fd>>>0x8&0xff]^_0x207039[_0x2876b6&0xff]^_0x1fd1f8[_0x47410d++],_0x2522f1=_0x11c7d1[_0x54a922>>>0x18]^_0x191c52[_0x1535fd>>>0x10&0xff]^_0x3bb173[_0x2876b6>>>0x8&0xff]^_0x207039[_0x5eac3f&0xff]^_0x1fd1f8[_0x47410d++];_0x1535fd=_0x1ca8b4,_0x2876b6=_0x383366,_0x5eac3f=_0x527b13,_0x54a922=_0x2522f1;}var _0x1ca8b4=(_0x4501b7[_0x1535fd>>>0x18]<<0x18|_0x4501b7[_0x2876b6>>>0x10&0xff]<<0x10|_0x4501b7[_0x5eac3f>>>0x8&0xff]<<0x8|_0x4501b7[_0x54a922&0xff])^_0x1fd1f8[_0x47410d++],_0x383366=(_0x4501b7[_0x2876b6>>>0x18]<<0x18|_0x4501b7[_0x5eac3f>>>0x10&0xff]<<0x10|_0x4501b7[_0x54a922>>>0x8&0xff]<<0x8|_0x4501b7[_0x1535fd&0xff])^_0x1fd1f8[_0x47410d++],_0x527b13=(_0x4501b7[_0x5eac3f>>>0x18]<<0x18|_0x4501b7[_0x54a922>>>0x10&0xff]<<0x10|_0x4501b7[_0x1535fd>>>0x8&0xff]<<0x8|_0x4501b7[_0x2876b6&0xff])^_0x1fd1f8[_0x47410d++],_0x2522f1=(_0x4501b7[_0x54a922>>>0x18]<<0x18|_0x4501b7[_0x1535fd>>>0x10&0xff]<<0x10|_0x4501b7[_0x2876b6>>>0x8&0xff]<<0x8|_0x4501b7[_0x5eac3f&0xff])^_0x1fd1f8[_0x47410d++];_0x58d5a5[_0x4f7022]=_0x1ca8b4,_0x58d5a5[_0x4f7022+0x1]=_0x383366,_0x58d5a5[_0x4f7022+0x2]=_0x527b13,_0x58d5a5[_0x4f7022+0x3]=_0x2522f1;},'keySize':0x100/0x20});_0x40a82a[_0x3d3f60(0x2a8)]=_0x348657['_createHelper'](_0x2c9da6);}()),_0x38622e[_0x4489e9(0x2a8)];}));}(fe)),fe['exports'];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x190638(0x283)],rt;function Vi(){return rt||(rt=0x1,function(_0x158a6f,_0x124ce6){(function(_0x40158f,_0xf3cae0){var _0x4973a6=_0x2488;_0x158a6f[_0x4973a6(0x283)]=_0xf3cae0(Q());}(Fi,function(_0x3d2d04){var _0x10f65c=_0x2488;return _0x3d2d04[_0x10f65c(0x2d2)][_0x10f65c(0x38b)];}));}(be)),be['exports'];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x190638(0x283)],st;function Yi(){var _0x5d0220=_0x190638;return st||(st=0x1,function(_0x25f429,_0x33b707){(function(_0x451872,_0x593937){var _0x402199=_0x2488;_0x25f429[_0x402199(0x283)]=_0x593937(Q());}(Ki,function(_0x32b9c6){var _0x3710e0=_0x2488;return(function(){var _0x12c122=_0x2488;if(typeof ArrayBuffer==_0x12c122(0x129)){var _0x5b9a89=_0x32b9c6,_0x3d9f28=_0x5b9a89[_0x12c122(0x11c)],_0x233f34=_0x3d9f28['WordArray'],_0x743ee6=_0x233f34[_0x12c122(0x289)],_0x38c691=_0x233f34[_0x12c122(0x289)]=function(_0x3bee1b){var _0x58e72a=_0x12c122;if(_0x3bee1b instanceof ArrayBuffer&&(_0x3bee1b=new Uint8Array(_0x3bee1b)),(_0x3bee1b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3bee1b instanceof Uint8ClampedArray||_0x3bee1b instanceof Int16Array||_0x3bee1b instanceof Uint16Array||_0x3bee1b instanceof Int32Array||_0x3bee1b instanceof Uint32Array||_0x3bee1b instanceof Float32Array||_0x3bee1b instanceof Float64Array)&&(_0x3bee1b=new Uint8Array(_0x3bee1b['buffer'],_0x3bee1b[_0x58e72a(0x24d)],_0x3bee1b['byteLength'])),_0x3bee1b instanceof Uint8Array){for(var _0x36772e=_0x3bee1b['byteLength'],_0x454f44=[],_0x444bce=0x0;_0x444bce<_0x36772e;_0x444bce++)_0x454f44[_0x444bce>>>0x2]|=_0x3bee1b[_0x444bce]<<0x18-_0x444bce%0x4*0x8;_0x743ee6['call'](this,_0x454f44,_0x36772e);}else _0x743ee6[_0x58e72a(0x26e)](this,arguments);};_0x38c691['prototype']=_0x233f34;}}()),_0x32b9c6[_0x3710e0(0x11c)]['WordArray'];}));}(Re)),Re[_0x5d0220(0x283)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x190638(0x283)],ot;function Xi(){var _0x316818=_0x190638;return ot||(ot=0x1,function(_0x2c6066,_0x1bc264){(function(_0x47ff4e,_0x30899d,_0x117c94){var _0x8fd891=_0x2488;_0x2c6066[_0x8fd891(0x283)]=_0x30899d(Q(),Ut());}(Ji,function(_0x267aec){var _0x8a3faf=_0x2488;return _0x267aec['pad'][_0x8a3faf(0x2a4)]={'pad':function(){},'unpad':function(){}},_0x267aec['pad']['NoPadding'];}));}(Oe)),Oe[_0x316818(0x283)];}var Zi=Xi();const Qi=ve(Zi);function en(_0xf0de4d,_0xa022f8){var _0x30f903=_0x190638;const _0x165d7a=_0xa022f8-_0xf0de4d[_0x30f903(0x232)]%_0xa022f8,_0x1737af=String[_0x30f903(0xb6)](_0x165d7a)[_0x30f903(0x2c7)](_0x165d7a);return _0xf0de4d+_0x1737af;}function tn(_0x35a4f8,_0x352a32){var _0x1c9fa5=_0x190638;const _0x4d8d55=zi[_0x1c9fa5(0xf4)](0x10),_0x19773b=en(_0x35a4f8,0x10),_0x2989cc=ji[_0x1c9fa5(0x352)](Gi[_0x1c9fa5(0x3bd)](_0x19773b),nt['parse'](_0x352a32),{'iv':_0x4d8d55,'padding':Qi});return _0x4d8d55[_0x1c9fa5(0x25c)](_0x2989cc[_0x1c9fa5(0x157)])[_0x1c9fa5(0xf8)](nt);}function nn(){var _0x58555c=_0x190638;const _0x89851d=wt['getGlobalObject']()[_0x58555c(0x1ff)];if(_0x89851d){const _0x70baa0={'time':Math[_0x58555c(0x2b3)](Date['now']()/0x3e8),'domain':location['hostname']};return tn(JSON['stringify'](_0x70baa0),_0x89851d);}}var rn=Object[_0x190638(0x2f8)],sn=(_0x57c5cd,_0x2c28ce,_0x2291fd,_0x386669)=>{var _0x2645d9=_0x190638;for(var _0x32f4f2=_0x386669>0x1?void 0x0:_0x386669?rn(_0x2c28ce,_0x2291fd):_0x2c28ce,_0x232652=_0x57c5cd[_0x2645d9(0x232)]-0x1,_0x2b75b5;_0x232652>=0x0;_0x232652--)(_0x2b75b5=_0x57c5cd[_0x232652])&&(_0x32f4f2=_0x2b75b5(_0x32f4f2)||_0x32f4f2);return _0x32f4f2;},on=(_0x3af60a,_0xfc7776)=>(_0x3934f1,_0x2bfe21)=>_0xfc7776(_0x3934f1,_0x2bfe21,_0x3af60a);let Ne=class{constructor(_0x274d23){var _0x9530a=_0x190638;this[_0x9530a(0x17a)]=_0x274d23,this['_initRequestHeader']();}['_initRequestHeader'](){var _0xc39a32=_0x190638;this['_httpService'][_0xc39a32(0x2f1)]({'interceptor':(_0x296f9a,_0xaf29b0)=>{var _0x5d0aea=_0xc39a32;const _0x1e1186=_0x296f9a['headers'],_0x4c72cb=nn();return _0x4c72cb&&_0x1e1186['set'](_0x5d0aea(0x2b5),_0x4c72cb),_0xaf29b0(_0x296f9a);}});}};Ne=sn([on(0x0,a[_0x190638(0x3fb)](Y['HTTPService']))],Ne);var an=Object[_0x190638(0x2f8)],cn=(_0x3f9e83,_0x4ea806,_0x34fbe1,_0x4479b7)=>{var _0x3e727a=_0x190638;for(var _0x3c6c9b=_0x4479b7>0x1?void 0x0:_0x4479b7?an(_0x4ea806,_0x34fbe1):_0x4ea806,_0x291a5d=_0x3f9e83[_0x3e727a(0x232)]-0x1,_0x201a48;_0x291a5d>=0x0;_0x291a5d--)(_0x201a48=_0x3f9e83[_0x291a5d])&&(_0x3c6c9b=_0x201a48(_0x3c6c9b)||_0x3c6c9b);return _0x3c6c9b;},we=(_0xbdc0a7,_0x235984)=>(_0x3b27e7,_0xf85e11)=>_0x235984(_0x3b27e7,_0xf85e11,_0xbdc0a7);exports[_0x190638(0x1cd)]=class extends a[_0x190638(0xf5)]{constructor(_0x338113,_0x5a94b1,_0x4d5a57){var _0x36e7e6=_0x190638;super(),A(this,_0x36e7e6(0xd3),new $[(_0x36e7e6(0x333))](null)),A(this,'unitInfo$',this[_0x36e7e6(0xd3)]['asObservable']()),(this[_0x36e7e6(0x2e2)]=_0x338113,this[_0x36e7e6(0x3c9)]=_0x5a94b1,this[_0x36e7e6(0x1fa)]=_0x4d5a57);}async[_0x190638(0x309)](_0xd478a3,_0x2d3218,_0x3825a9){var _0x4d13d2=_0x190638;this[_0x4d13d2(0xd3)][_0x4d13d2(0x423)]({'unitId':_0xd478a3,'type':_0x2d3218});let _0x47d46e=null;switch(_0x2d3218){case J[_0x4d13d2(0x395)]:{_0x47d46e=await this[_0x4d13d2(0x3c9)][_0x4d13d2(0x282)](_0xd478a3,_0x3825a9);break;}case J[_0x4d13d2(0x145)]:{_0x47d46e=await this[_0x4d13d2(0x3c9)][_0x4d13d2(0x108)](_0xd478a3,_0x3825a9);break;}default:{this['_logService']['error'](_0x4d13d2(0x380),_0x4d13d2(0xdb));break;}}return _0x47d46e;}async[_0x190638(0x181)](_0x1dbfa8,_0x2d111b,_0x46278a){var _0x580f23=_0x190638,_0x69ae96;this[_0x580f23(0xd3)][_0x580f23(0x423)]({'unitId':_0x1dbfa8,'type':_0x2d111b,'subUnitId':_0x46278a});let _0x4e4d70=0x0;const _0x32b437=await((_0x69ae96=this[_0x580f23(0x1fa)])==null?void 0x0:_0x69ae96['loadOfflineData'](_0x1dbfa8));return _0x32b437&&(_0x32b437[_0x580f23(0x3a1)]||_0x32b437['mutations'][_0x580f23(0x232)]!==0x0)&&(_0x4e4d70=_0x32b437['rev']),_0x4e4d70===0x0&&this['_logService']['debug'](_0x580f23(0x380),_0x580f23(0x199)),this[_0x580f23(0x309)](_0x1dbfa8,_0x2d111b,_0x4e4d70);}},exports[_0x190638(0x1cd)]=cn([we(0x0,a[_0x190638(0xf0)]),we(0x1,a[_0x190638(0x3fb)](I['SnapshotService'])),we(0x2,a[_0x190638(0x378)](q))],exports['DataLoaderService']);var hn=Object[_0x190638(0x2f8)],_n=(_0x3276c1,_0x53d6f9,_0x8d888a,_0x55a9b7)=>{var _0x17c206=_0x190638;for(var _0x495348=_0x55a9b7>0x1?void 0x0:_0x55a9b7?hn(_0x53d6f9,_0x8d888a):_0x53d6f9,_0x24508e=_0x3276c1[_0x17c206(0x232)]-0x1,_0x4e1cbd;_0x24508e>=0x0;_0x24508e--)(_0x4e1cbd=_0x3276c1[_0x24508e])&&(_0x495348=_0x4e1cbd(_0x495348)||_0x495348);return _0x495348;},Le=(_0x3eb02b,_0x35c0ce)=>(_0x272f93,_0x52f140)=>_0x35c0ce(_0x272f93,_0x52f140,_0x3eb02b);const ln=[_0x190638(0x1d8),_0x190638(0x190),_0x190638(0x339),_0x190638(0x3d8),'image/bmp'],un=0x5*0x400*0x400,dn=_0x190638(0x3d5),vn=_0x190638(0x150),Sn=_0x190638(0x434),fn=_0x190638(0x1d4);exports[_0x190638(0x413)]=class{constructor(_0x285bf3,_0x336466,_0xe9815b){var _0x2d8787=_0x190638;A(this,'_waitCount',0x0),A(this,'_change$',new $[(_0x2d8787(0x1c0))]()),A(this,_0x2d8787(0x34e),this[_0x2d8787(0x312)]),A(this,_0x2d8787(0x1be),new Map()),(this['_httpService']=_0x285bf3,this['_configService']=_0x336466,this[_0x2d8787(0x1a3)]=_0xe9815b);}[_0x190638(0x11a)](_0x2763e2){var _0x3653c7=_0x190638;this[_0x3653c7(0x1c6)]=_0x2763e2,this[_0x3653c7(0x312)]['next'](_0x2763e2);}[_0x190638(0x2b1)](_0x53f0da,_0x4bc104){var _0x31c820=_0x190638;if(_0x4bc104===z[_0x31c820(0xe3)][_0x31c820(0x3b4)]){const _0x357904=new Image();return _0x357904[_0x31c820(0x25d)]=_0x53f0da,_0x357904;}return this['_imageSourceCache'][_0x31c820(0x33c)](_0x53f0da);}[_0x190638(0x33b)](_0x36f8c8,_0x48c643,_0x328b42){var _0x28edc1=_0x190638;_0x48c643===z[_0x28edc1(0xe3)][_0x28edc1(0x3b4)]||_0x328b42==null||this['_imageSourceCache']['set'](_0x36f8c8,_0x328b42);}async[_0x190638(0x17c)](_0x154e00){var _0x1df594=_0x190638;try{const _0x2f4b3b=this[_0x1df594(0x39a)](this[_0x1df594(0x3ed)](),''+_0x154e00),_0x3e63ae=(await this['_httpService'][_0x1df594(0x33c)](_0x2f4b3b))[_0x1df594(0xd2)];if(_0x3e63ae[_0x1df594(0x1e1)]&&_0x3e63ae[_0x1df594(0x1e1)][_0x1df594(0x3ad)]===gt['OK']){const _0xd33ca=new URL(_0x3e63ae[_0x1df594(0x10f)],this[_0x1df594(0x1ee)]())[_0x1df594(0xf8)]();return Promise[_0x1df594(0x299)](_0xd33ca);}return Promise[_0x1df594(0x272)](_0x3e63ae[_0x1df594(0x1e1)]);}catch(_0x117dbd){return Promise[_0x1df594(0x272)](_0x117dbd);}}async[_0x190638(0x28f)](_0x344d4e){var _0x38c1c3=_0x190638;let _0x271c04='';if(!ln['includes'](_0x344d4e[_0x38c1c3(0x123)]))return this['_decreaseWaiting'](),Promise[_0x38c1c3(0x272)](new Error(z[_0x38c1c3(0x10d)][_0x38c1c3(0x15f)]));if(_0x344d4e[_0x38c1c3(0x226)]>un)return this[_0x38c1c3(0x300)](),Promise['reject'](new Error(z[_0x38c1c3(0x10d)][_0x38c1c3(0x186)]));try{const _0x3fe015=new FormData();_0x3fe015[_0x38c1c3(0x36c)](_0x38c1c3(0x334),_0x344d4e);const _0x3d3a5d=this[_0x38c1c3(0x1a3)][_0x38c1c3(0x292)](),_0x3d4a7d=_0x3d3a5d==null?void 0x0:_0x3d3a5d['getUnitId']();if(!_0x3d4a7d)throw new Error(_0x38c1c3(0x19e));const _0x46d49c=this['_getUploadFileURL']()+_0x38c1c3(0x102)+_0x344d4e[_0x38c1c3(0x226)][_0x38c1c3(0xf8)]()+_0x38c1c3(0x2aa)+Et[_0x38c1c3(0x149)]+_0x38c1c3(0x159)+encodeURIComponent(_0x3d4a7d),_0x3f49bb={'body':_0x3fe015},_0x220c7d=(await this[_0x38c1c3(0x17a)]['post'](_0x46d49c,_0x3f49bb))['body'];if(typeof _0x220c7d[_0x38c1c3(0x15d)]!=_0x38c1c3(0x42e))return this[_0x38c1c3(0x300)](),Promise['reject'](new Error(z[_0x38c1c3(0x10d)][_0x38c1c3(0x24a)]));_0x271c04=_0x220c7d[_0x38c1c3(0x15d)];}catch{return this[_0x38c1c3(0x300)](),Promise['reject'](new Error(z[_0x38c1c3(0x10d)][_0x38c1c3(0x24a)]));}return new Promise((_0x45cb34,_0x4dff8f)=>{var _0x2211de=_0x38c1c3;const _0x2d6eb1=new FileReader();_0x2d6eb1[_0x2211de(0x2a5)](_0x344d4e),_0x2d6eb1[_0x2211de(0x263)]=_0x2a5e35=>{var _0x32a1e8=_0x2211de,_0x546f03;const _0x2d7742=(_0x546f03=_0x2a5e35['target'])==null?void 0x0:_0x546f03['result'];if(_0x2d7742==null){this[_0x32a1e8(0x300)](),_0x4dff8f(new Error(z[_0x32a1e8(0x10d)][_0x32a1e8(0x24a)]));return;}const _0x45a686=a['Tools'][_0x32a1e8(0x1bd)](0x6);_0x45cb34({'imageId':_0x45a686,'imageSourceType':z[_0x32a1e8(0xe3)][_0x32a1e8(0xca)],'source':_0x271c04,'base64Cache':_0x2d7742,'status':z[_0x32a1e8(0x10d)][_0x32a1e8(0x144)]}),this[_0x32a1e8(0x300)]();};});}['_getUploadFileURL'](){var _0x50049c=_0x190638,_0x5efb83,_0x430b7b;const _0x4dc398=this['_configService']['getConfig'](dn),_0x5d6ea5=this['_configService'][_0x50049c(0xfd)](K);return(_0x430b7b=(_0x5efb83=_0x5d6ea5==null?void 0x0:_0x5d6ea5['uploadFileServerUrl'])!=null?_0x5efb83:_0x4dc398)!=null?_0x430b7b:vn;}[_0x190638(0x3ed)](){var _0x406d81=_0x190638,_0x4c9c51,_0x3085ec;const _0x226e73=this['_configService'][_0x406d81(0xfd)](Sn),_0x31b28a=this['_configService'][_0x406d81(0xfd)](K);return(_0x3085ec=(_0x4c9c51=_0x31b28a==null?void 0x0:_0x31b28a[_0x406d81(0x322)])!=null?_0x4c9c51:_0x226e73)!=null?_0x3085ec:fn;}['_getDownloadEndpointURL'](){var _0x3ce461=_0x190638,_0x5ed35d;const _0x41bf98=this[_0x3ce461(0x350)][_0x3ce461(0xfd)](K);return(_0x5ed35d=_0x41bf98==null?void 0x0:_0x41bf98[_0x3ce461(0x202)])!=null?_0x5ed35d:location['origin'];}[_0x190638(0x39a)](_0x4bc20e,_0x27c941){var _0x2805e0=_0x190638;return _0x4bc20e[_0x2805e0(0x3f2)](_0x2805e0(0xba),_0x27c941);}['_decreaseWaiting'](){var _0x1a71c1=_0x190638;this['_waitCount']-=0x1,this['_change$'][_0x1a71c1(0x423)](this[_0x1a71c1(0x1c6)]);}},exports[_0x190638(0x413)]=_n([Le(0x0,a[_0x190638(0x3fb)](Y['HTTPService'])),Le(0x1,a['IConfigService']),Le(0x2,a[_0x190638(0x3fb)](a[_0x190638(0x106)]))],exports[_0x190638(0x413)]);var pn=Object[_0x190638(0x2f8)],In=(_0x305ef5,_0x43d26c,_0x27d078,_0x16bc67)=>{var _0x4ae7c5=_0x190638;for(var _0x392e3a=_0x16bc67>0x1?void 0x0:_0x16bc67?pn(_0x43d26c,_0x27d078):_0x43d26c,_0x1e4209=_0x305ef5[_0x4ae7c5(0x232)]-0x1,_0x102f66;_0x1e4209>=0x0;_0x1e4209--)(_0x102f66=_0x305ef5[_0x1e4209])&&(_0x392e3a=_0x102f66(_0x392e3a)||_0x392e3a);return _0x392e3a;},at=(_0x58b00f,_0x530cff)=>(_0x26e6ed,_0x44e97f)=>_0x530cff(_0x26e6ed,_0x44e97f,_0x58b00f);const gn=_0x190638(0x1f1);exports['MentionIoHttpService']=class{constructor(_0x4d4613,_0x3ddb95){var _0x4f8706=_0x190638;this['_configService']=_0x4d4613,this[_0x4f8706(0x3e2)]=_0x3ddb95;}[_0x190638(0x242)](){var _0x176812=_0x190638,_0x52008a,_0x54008a;const _0x34a76d=this[_0x176812(0x350)]['getConfig'](Ve),_0x843cbb=this['_configService']['getConfig'](K);return(_0x54008a=(_0x52008a=_0x843cbb==null?void 0x0:_0x843cbb['authzUrl'])!=null?_0x52008a:_0x34a76d)!=null?_0x54008a:gn;}async[_0x190638(0x103)](_0x146b53){var _0x2304a4=_0x190638;const _0x1c8eb7=this[_0x2304a4(0x242)]()+'/collaborator';return{'list':[{'title':_0x2304a4(0x1ea),'mentions':(await this[_0x2304a4(0x3e2)][_0x2304a4(0x33c)](_0x1c8eb7,{'params':{'objectID':_0x146b53['unitId'],'unitID':_0x146b53[_0x2304a4(0x3b2)]}}))[_0x2304a4(0xd2)][_0x2304a4(0x1d2)][_0x2304a4(0x35d)](_0x151091=>({'objectId':_0x151091['id'],'name':_0x151091[_0x2304a4(0xc0)]['name'],'metadata':{'icon':_0x151091[_0x2304a4(0xc0)][_0x2304a4(0xc3)]},'label':_0x151091[_0x2304a4(0xc0)][_0x2304a4(0x427)],'objectType':a['MentionType'][_0x2304a4(0x27a)]})),'metadata':{},'type':a[_0x2304a4(0x344)]['PERSON']}]};}},exports[_0x190638(0x110)]=In([at(0x0,a['Inject'](a['IConfigService'])),at(0x1,a[_0x190638(0x3fb)](Y[_0x190638(0x20f)]))],exports['MentionIoHttpService']);var En=Object[_0x190638(0x2f8)],mn=(_0x2e6d89,_0x210086,_0x12fd94,_0x46ca71)=>{var _0x569cb6=_0x190638;for(var _0x4ada43=_0x46ca71>0x1?void 0x0:_0x46ca71?En(_0x210086,_0x12fd94):_0x210086,_0x1c8cc1=_0x2e6d89[_0x569cb6(0x232)]-0x1,_0x3d5fd4;_0x1c8cc1>=0x0;_0x1c8cc1--)(_0x3d5fd4=_0x2e6d89[_0x1c8cc1])&&(_0x4ada43=_0x3d5fd4(_0x4ada43)||_0x4ada43);return _0x4ada43;},le=(_0xa3fa94,_0x43f897)=>(_0x2ff251,_0x3fa56e)=>_0x43f897(_0x2ff251,_0x3fa56e,_0xa3fa94);let Ue=class extends a['RxDisposable']{constructor(_0x4d7493,_0x303c3e,_0x485391,_0x523e3d,_0x50dbe8){var _0x2c3748=_0x190638;super(),this['_injector']=_0x4d7493,this['_univerInstanceService']=_0x303c3e,this[_0x2c3748(0xc1)]=_0x485391,this[_0x2c3748(0x306)]=_0x523e3d,this[_0x2c3748(0xdc)]=_0x50dbe8,this[_0x2c3748(0x430)](),this[_0x2c3748(0x2b7)]();}[_0x190638(0x2b7)](){var _0x228066=_0x190638;const _0xea9a8b=async _0x51d3f4=>{var _0x5adfb2=_0x2488;(await this[_0x5adfb2(0x306)]['requireSession'](_0x51d3f4))[_0x5adfb2(0x1d3)][_0x5adfb2(0x323)](V['filter'](_0x561869=>_0x561869[_0x5adfb2(0x12c)]===I['CollaborationEvent'][_0x5adfb2(0x155)]),V[_0x5adfb2(0x1a5)](this[_0x5adfb2(0x2fe)]))[_0x5adfb2(0x3a9)](_0x428435=>{var _0x5c11d5=_0x5adfb2;const _0x2157f1=_0x428435,{reason:_0x4f5bb2}=_0x2157f1['data'];this[_0x5c11d5(0xdc)]['emitEvent']({'id':Z[_0x5c11d5(0x321)],'data':_0x4f5bb2}),this['_permissionService']['updatePermissionPoint'](new X[(_0x5c11d5(0x25e))](_0x51d3f4)['id'],!0x1),this[_0x5c11d5(0x306)]['closeSession'](_0x51d3f4);});};$['merge'](this[_0x228066(0x1a3)][_0x228066(0x133)](a[_0x228066(0x2ee)][_0x228066(0x395)]),this['_univerInstanceService'][_0x228066(0x133)](a[_0x228066(0x2ee)][_0x228066(0x145)]))[_0x228066(0x323)](V['map'](_0x478c61=>_0x478c61[_0x228066(0x3c0)]()),V[_0x228066(0x2cf)](_0x101435=>!a['isInternalEditorID'](_0x101435)),V[_0x228066(0x1a5)](this['dispose$']))[_0x228066(0x3a9)](_0x43f014=>{_0xea9a8b(_0x43f014);});}[_0x190638(0x430)](){var _0x42323d=_0x190638;const _0x415c06=async _0x5690e9=>{var _0x4ff648=_0x2488;const _0x2d9484=await this[_0x4ff648(0x306)][_0x4ff648(0x10c)](_0x5690e9),_0x1c3a8b=this[_0x4ff648(0x307)][_0x4ff648(0x33c)](X['SheetPermissionInitController']);_0x2d9484[_0x4ff648(0x1d3)][_0x4ff648(0x323)](V[_0x4ff648(0x2cf)](_0x38c5c3=>_0x38c5c3[_0x4ff648(0x12c)]===I['CollaborationEvent'][_0x4ff648(0x114)]),V['takeUntil'](this[_0x4ff648(0x2fe)]))[_0x4ff648(0x3a9)](_0x28323a=>{var _0x46f858=_0x4ff648;const _0x38c9d4=_0x28323a,{objectId:_0x24a5bb}=_0x38c9d4[_0x46f858(0x12f)];_0x24a5bb===_0x5690e9?_0x1c3a8b[_0x46f858(0x420)](_0x5690e9):_0x1c3a8b[_0x46f858(0x411)](_0x5690e9,_0x24a5bb);});};$[_0x42323d(0x408)](this[_0x42323d(0x1a3)][_0x42323d(0x133)](a['UniverInstanceType']['UNIVER_SHEET']))[_0x42323d(0x323)](V['map'](_0x12f645=>_0x12f645[_0x42323d(0x3c0)]()),V[_0x42323d(0x2cf)](_0x4134e7=>!a['isInternalEditorID'](_0x4134e7)),V[_0x42323d(0x1a5)](this['dispose$']))[_0x42323d(0x3a9)](_0x51f3e8=>{_0x415c06(_0x51f3e8);});}};function _0x4c74(){var _0x551ba6=['reverse','IImageIoService','createDecryptor','ALREADY_EXISTS','NoPadding','readAsDataURL','_eventService','CONFLICT','AES','stopTime','&source=','_process','LOCAL_CACHE_INTERVAL','UserManagerService','session.join-failed','SessionStatus','_mode','getImageSourceCache','SNAPSHOT_URL_KEY','floor','[PendingState]:\x20received\x20acknowledgement.','x-univer-host','CHANGESET_REVISION_CONFILICT','_initCloseConn','_key','getTypeOfUnitDisposed$','_entityInit$','UniverNetworkPlugin','SheetTransformSelectionsService','IUndoRedoService','updateCursorEvent','/new_changes','_replayCachedMutations','routeKey','values','UNKNOWN_CMD','toggleOnline','LEAVE','conflict','repeat','[CollaborationEntity]','_state','extend','HttpExport','APPLY_REVISION_CONFILICT','BlockCipher','_data','filter','\x0aAfter:\x20','PERMISSION_DENIED','enc','_parse','isPermissionRej','_handlerCallback','title','INVALID_ARGUMENT','charCodeAt','firstValueFrom','error$','commentUpdateEvent','push','iterations','INVALID_INVITE_CODE','onTransformSelections','EmptyMutation','localCacheService','_logService','_rescheduleHeartbeat','getUnitOnRev','transformSelections','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','UNISCRIPT_RUN','OTHER_CLIENTS_EDITING','USERS_ENTER','SyncedState','_telemetryService','MSG_FOR_ERROR','confirm','UniverInstanceType','mixIn','csAckEvent','registerHTTPInterceptor','delay','_candidateSocket','onSyncEditingCollabCursor','YUUMI_ALL_TABLES_IS_INVALID','mergeOverrideWithDependencies','SHA1','getOwnPropertyDescriptor','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onConflict','COMMENT_UPDATE','_onOffline','_retryConnectingTimer','dispose$','Encryptor','_decreaseWaiting','PendingState','listCollaborators','UNRECOGNIZED','DocCollaborationEntity','onSendChangeset','_collaborationSessionService','_injector','MD5','loadUnitOfRevision','OfflineState','resend','abs','listRoles','DEFAULT_WS_SESSION_TICKET_URL','_listenToNetworkCondition','WECHAT_HAS_BEEN_BOUND','socketService','_change$','patch','_clearLocalCache','Pkcs7','keySize','_syncEditingCollabCursor','transformMutationsWithChangeset','stringify','ILocalCacheService','APPLY_NON_SEQUENTIAL_REVISION','getResourcesRequest','startsWith','onRemoteChangeset','getWorkbookSelections','collaboration-client.local-cache-service','CLOSE_ROOM','signUrlServerUrl','pipe','getTime','_createHandler','ICollaborationSocketService','set','_socketMessageSubscription','closeSession','Latin1','_keyPriorReset','startTime','isTransformChangesetsSuccess','AuthzIoHttpService','_config','UnitStatus','onLocalMutation','create','BehaviorSubject','file','method','_resendTimeout','updateSnapshot','_onUserJoin','image/jpg','INTERNAL_ERROR','addImageSourceCache','get','createInstance','shouldCloseConn','GLOBAL_ROOMS_CNT_EXCEEDS','_remoteChangesetQueue','_shouldReportTelemetry','mapDocumentTypeToUniverType','_singleActiveUnitService','MentionType','[PendingState]:\x20received\x20rejection.','_timeoutTimer','PENDING','getSnapshotAPIPath','ITransformService','params','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onMissedChangesetFetched','CommentService','change$','UNIVER_UNKNOWN','_configService','FetchingMissState','encrypt','_telemetryInfo','univer-pro.collaboration-client.network-condition.service','UNIVER_SLIDE','_nDataBytes','_sendHeartbeat','compute','[CollaborationUndoRedoService]','_event$','@univerjs-pro/license','APPLY_REJECT','map','getAllMembers','reset','_executeRemoteChangeset','COMPRESS_MUTATION_APPLY','_scheduleCollaborationTimeoutTimer','range','UniverCollaborationClientPlugin','getMember','Univer','_tryEnsureSocket','actions','from','JOIN_ROOM_FULL','TOO_MANY_REQUESTS','append','_append','updatePermissionObjEvent','SerializableCipher','awaiting_with_pending','_clearRetryConnectingTimer','_startCollaboration','_map','fetchMissingChangesets','_showConflictNotification','not_collab','JOINING','Optional','collaMsg','_redoStacks','_unlockTransition','objectType','LOGIN_URL_KEY','infoRsp','csShouldRetryEvent','[DataLoaderService]','COLLAB_WEB_SOCKET_URL','baseRev','_doProcessBlock','splice','call','PERMISSION_REJ','createIdentifier','close','save\x20fail\x20reason\x20is\x20','_createHelper','Utf8','getLatestCsReqIdBySid','[OfflineState]:\x20received\x20rejection.','sigBytes','enableSingleActiveInstanceLock','IAuthzIoService','_onConnectionFailed','randomBytes','_sessions','_collaborationPaused','UNIVER_SHEET','_resendWithTimeout','forEach','_transitionLocked','HMAC','_replaceFileID','Disposable','INGEST','_onJoinRoomEvent','LOCAL_CACHE_INTERVAL_KEY','ISingleActiveUnitService','HmacMD5','awaitingChangeset','HEARTBEAT_INTERVAL_KEY','isTransformMutationsWithChangesetSuccess','localeService','ISnapshotServerService','rxjs/operators','putCollaborators','waitForRoom$','subscribe','transformChangesets','href','Hex','code','Base','auth.needGotoLoginAlert','onMissingChangesets','_throwTelemetryCollaborationNewChangeset','unitId','YUUMI_SUBSCRIPTION_NOT_FOUND','BASE64','authzUrl','/block/','incrementRevOfUnit','result','revision','/unit/','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_updateStatus','parse','collaboration-client.config','/role','getUnitId','message$','_applyRemoteChangeset','finalize','getCurrentSelections','failed\x20to\x20apply\x20missed\x20changesets!','_registerDependencies','_incrementRevisionNumber','MOBILE_HAS_BEEN_BOUND','_snapshotService','?url=','/object','_transformStack','sid','LICENSE_MAX_UNITS_EXCEEDED','_handler','_invKeySchedule','_getSendChangesetTimeout','_onRemoteRetry','delete','pending','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','msCrypto','m2Prime','image/gif','_ENC_XFORM_MODE','mutations','JOIN_ROOM_PERMISSION_DENIED','CollaborationSession','getRoom','IDLE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','defineProperty','_roomMembers','_HTTPService','\x20in\x20_schedule.','YUUMI_RATE_OVER_LIMIT','APPLY_PERMISSION_DENIED','resourceIDs','_clearCollaborationTimeoutTimer','leaveEvent','has','fetching\x20missing\x20changesets\x20from\x20','decryptBlock','_joinRoom','_getSignURL','_entities','ivSize','Module','onCommentUpdate','replace','workbook','SOCKET_FAILED_RETRY','_checkMissing','disposeWithMe','_getCtorByUniverType','createCollaborator','Malformed\x20UTF-8\x20data','_schedule','Inject','textRanges','SOCKET_FAILED','_oKey','_retryCount','FAIL','_onCombEvent','_reverseMap','LIVESHARE_REQUEST_HOST','getInterceptPoints','requestParams','@univerjs/telemetry','_revisionService','merge','_unitID','synced','OFFLINE','_resendTimer','1665015cMJPYB','selections','session.room-permission-denied','newCsEvent','refreshPermission','roomInfos','CollaborationImageIoService','LICENSE_IMPORT_SIZE_EXCEEDED','onTransformRemoteChangesetByIMECache','_clearTimeoutTimer','RevisionService','_commandService','retryConnectingInterval','_init','ReplaySubject','_state$','ConflictState','editing\x20status\x20changed\x20to','setCurrentUser','initWorkbookPermissionChange','touchDependencies','removeMember','next','SnapshotServerOverHTTPService','/collaborator','SheetsSelectionsService','name','COLLAB_SUBMIT_CHANGESET_URL_KEY','COLLAB_SUBMIT_CHANGESET_URL','WordArray','$super','Undefined','AwaitingWithPendingState','string','2981364AFRykG','_initUnitPermissionChange','onTransformRemoteChangesetByStateCache','PSEUDO_FETCH_MISSING_RESULT','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_startTelemetryCollaborationNewChangeset','COLLAB_WEB_SOCKET_URL_KEY','loadOfflineData','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','fromCollab','originalMeta','fromCharCode','_getCurrentRevision','complete','IContextService','{fileID}','userID','Injector','_socketService','clamp','transformStack\x20failed!','subject','_permissionService','every','avatar','memberID','roles','_acknowledgedAwaitingChangeset','snapshotServerUrl','_doFinalize','_onRemoteRejected','UUID','\x20to\x20','SNAPSHOT_SERVER_URL_KEY','_substituteUndoStack','take','_members$','session.room-cnt-exceeds','getCurrentUser','body','_unitInfo$','telemetry\x20info\x20is\x20not\x20initialized','_transformRemoteChangesetByStateCache','_changesetSessionId','[CollaborationState]:\x20apply\x20error!','_onFetchMissResult','getRandomValues','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_collaborationUIEventService','INVITE_CODE_ALREADY_BOUND','3324696dWkgEA','OpenSSL','CollaborationSocketService','HTTPRequest','deepClone','ImageSourceType','CollaborationSessionService','liveShareOperation','prototype','BufferedBlockAlgorithm','AWAITING','socket$','_pendingMutations','[SyncedState]:\x20received\x20acknowledgement.','onTransformIME','_iKey','slice','CBC','ILogService','INetworkConditionService','_socket','_waitForHeartbeatResponse','random','RxDisposable','send','PY_RUNTIME_SCRIPT_ERROR','toString','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','CONNECTOR_DATA_TOO_LARGE','onRemoteRej','cmd','getConfig','_sender','_sendingTimer','ceil','_undoRedoService','?size=','list','CHANGESET_ACK','_nRounds','IUniverInstanceService','_onRemoteChangeset','loadDoc','CHANGESET_REJ','OPTIONAL','getCollabEntity','requireSession','ImageUploadStatusType','_clearScheduledTask','url','MentionIoHttpService','/-/object/-/batch_allowed','getUnitStatus$','Hasher','UPDATE_PERMISSION_OBJ','3215paTpUr','UnitSnapshot','DEFAULT_COLLAB_WEB_SOCKET_URL','onTransformState','LocalUndoRedoService','setWaitCount','liveShareNewHost','lib','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CipherParams','unitID','_memberService','sheets','StreamCipher','type','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_isPermissionRej','unit-cache-','sessionStatus$','add','function','onStateChange','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','eventID','SNAPSHOT_HAS_BEEN_REMOVED','PasswordBasedCipher','data','ITelemetryService','key','HEARTBEAT','getTypeOfUnitAdded$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','@univerjs/network','getUnit','_networkConditionService','onStarting','collaboratorID','setShowComponents','_awaitingChangeset','deleteCollaborator','_onUserLeave','_toggleOffline','now','salt','session.room-not-exists','getMemberID','min','SUCCUSS','UNIVER_DOC','_commentUpdate$','YUUMI_NO_CUBOID_FOR_QUESTION','clear','UnitEmbedded','hasOwnProperty','JOIN','onlyLocal','post','joinEvent','then','/universer-api/stream/file/upload','NOT_FOUND','toDisposable','updateOfflineData','LOGIN_FAILED','SHOULD_CLOSE_CONN','updateMember','ciphertext','\x20-\x20','&assign=','_onLocalMutation','uniscriptRunEvent','SUBMIT_CHANGESET','FileId','setConfig','ERROR_IMAGE_TYPE','_doCryptBlock','BlockCipherMode','c1Prime','COMPLETION_FINISHED','APPLY_DUPLICATED','_clearUndo','format','ICommandService','_emitMembers','[OfflineState]:\x20received\x20changeset.','LIVESHARE_TERMINATE','IPermissionService','decrypt','EvpKDF','YUUMI_TABLE_NOT_FOUND_IN_UNIT','updatePermissionPoint','_tryReconnect','_socketReady','default','_cipher','_transformUndoredo','/resources','formatter','updateCollaborator','_sendHeartbeatTimer','/universer-api/comb','_httpService','_socket$','getImage','pad','b64DecodeUnicode','_initMergeInterceptor','allowed','loadUnit','toStringTag','location','enableOfflineEditing','UNIVER_PROJECT','ERROR_EXCEED_SIZE','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','5804kDMouE','Decryptor','CHANGESET_SHOULD_RETRY','JOIN_ROOM_NOT_EXISTS','YUUMI_ASYNCIO_CANCELLED','[SyncedState]:\x20received\x20rejection.','online$','addHandlerCallback','image/jpeg','emitEvent','CommandType','override','univer-pro.collaboration-client.single-active-unit-service','update','_transformIMECache','SEND_CHANGESET_TIMEOUT_KEY','Could\x20not\x20dynamically\x20require\x20\x22','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','LICENSE_EXPORT_SIZE_EXCEEDED','_initDependencies','CompressMutationService','deserializeToCombResponse','unitId\x20is\x20not\x20found','concatMap','charAt','encodeURIComponent','_roomCreated$','_univerInstanceService','CollaborativeUndoRedoService','takeUntil','HEARTBEAT_TIMEOUT_KEY','RichTextEditingMutation','13750632FTAaJA','getValue','onRemoteRetry','put','_onConnectionOpen','_exhaustRemoteChangesetQueue','kdf','onCommandExecuted','EMAIL_HAS_BEEN_BOUND','Tools','getSheetBlock','algo','YUUMI_URL_COL_OUT_OF_RANGE','_userManagerService','sendChangesetTimeout','capture','fetchThroughInterceptors','[OfflineState]:\x20received\x20acknowledgement.','[CollaborationSessionService]','state','status','generateRandomId','_imageSourceCache','catch','Subject','RETRY_CONNECTING_MAX_COUNT','session.room-full','getCollabEntity$','MergeInterceptorFactory','_clearHeartbeatTimer','_waitCount','_substituteRedoStack','_toggleOnline','padding','@univerjs/docs','_iv','_createInitialStateImpl','DataLoaderService','_hasher','/universer-api/user/session-ticket','_createHmacHelper','IConfigService','collaborators','event$','/universer-api/file/{fileID}/sign-url','RECV','getSheetId','_queuedRemoteChangesets','image/png','_changesetReqId','hasher','InsertSheetMutation','/universer-api/uniscript','UserProfileImg','subUnitId','JOIN_ROOM_FAILED','_lockTransition','error','/universer-api/snapshot/','OTHER_CLIENT_EDITING','textEncoder','_compressMutationService','DEFAULT_FILE_NAME','action','reduce','YUUMI_AI_RUN_FAILED','People','executeCommand','_updateLocalCache','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_getDownloadEndpointURL','_xformMode','loginUrlKey','/universer-api/authz','[UniverCollaborationClientPlugin]','_clearRedo','POST','members','cfg','readyForCollab','UNAUTHENTICATED','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_localCacheService','_commentService','sessionStatus','debug','SheetCollaborationEntity','__Key__','Failed\x20to\x20update\x20permission\x20point','_transformSelections','downloadEndpointUrl','SetSelectionsOperation','_status$','interceptor','_members','commentUpdate$','Cipher','headers','CollaborationEvent','parseChangesetToProtocol','permissionRejEvent','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_transformService','HTTPService','SNAPSHOT_INVALID_SNAPSHOT','toggleOffline','reconnect','asObservable','IMentionIOService','findIndex','MUTATION','LocaleService','getLocalCacheKey','close$','ws://127.0.0.1:8000/universer-api/comb/connect','_doReset','ONLINE','unknown','CollaborationController','_prevBlock','objectActions','unpad','USERS_LEAVE','find','_scheduleCompleteTimestamp','onRemoteAck','size','_type','objectID','members$','CollaborationStatus','_localeService','collabSubmitChangesetUrl','@univerjs/sheets','DisposableCollection','indexOf','transformUndoRedo','_minBufferSize','length','HttpImport','_transformStateCache','/fetchmissing?from=','sequenceExecute','_instanceService','execute','USER_NOT_INVITED_CODE','_transformRemoteChangesetByIMECache','INVITE_CODE_REQUIRED','MemberService','session','unsubscribe','_sheetTransformSelectionsService','_onRecvEvent','clone','_getAPIPrefixPath','getUnitType','_collaborationTimeoutTimer','/object/','mode','JSONX','Base64','_updateState','ERROR_IMAGE','reqId','_getAPIPrefix','byteOffset','UNKNOWN_CODE','_submitChangeset','SUBMIT_CHANGESET_TIMEOUT','appendMutation','_fetchMissChangesets','crypto','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','60842nwmwhm','_snapshotServerService','SYNCED','_keySchedule','LIVESHARE_OPERATION','getActiveSheet','serializeCombRequest','concat','src','WorkbookEditablePermission','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','__creator','HEARTBEAT_TIMEOUT','_getRedoStack','onload','YUUMI_UNABLE_LOAD_URL','UPDATE_CURSOR','words','HELLO','COMPRESS_MUTATION_SEND','fetchMiss','readInt32LE','parseProtocolChangeset','dispose','_hash','apply','open$','_collabSessionService','changesets','reject','symbol','status$','_onMessage','FETCH_MISSING','HmacSHA1','56NvOwXi','enableAuthServer','PERSON','LIVESHARE_NEW_HOST','AwaitingState','_createSocket','_sessionStatus$','getCurrentRevOfUnit','connection\x20error','SEND_CHANGESET_TIMEOUT','loadSheet','exports','NEW_CHANGESETS','_onRemoteACK','65387aUHKqW','saveChangeset','c2Prime','init','blockSize','focused$','equals','getDeserializedSheetBlock','encode','saveImage','_disableEditing','isTransformMutationsWithChangesetFailure','getFocusedUnit','isArray','_doCreateSocket','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','CollaborationEntity','LIVESHARE_FETCH_OPERATIONS','withCredentials','resolve','/allowed','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','INVITE_CODE_HAS_BEEN_UES','createEncryptor','join','LICENSE_DISTRO_REJECTED'];_0x4c74=function(){return _0x551ba6;};return _0x4c74();}Ue=mn([le(0x0,a['Inject'](a[_0x190638(0xbc)])),le(0x1,a['IUniverInstanceService']),le(0x2,a[_0x190638(0x16b)]),le(0x3,a[_0x190638(0x3fb)](exports[_0x190638(0xe4)])),le(0x4,a[_0x190638(0x3fb)](ee))],Ue);function _0x2488(_0x1c3052,_0x13e4f){var _0x4c74e2=_0x4c74();return _0x2488=function(_0x248879,_0x38d3e6){_0x248879=_0x248879-0xb5;var _0x514080=_0x4c74e2[_0x248879];return _0x514080;},_0x2488(_0x1c3052,_0x13e4f);}var Cn=Object[_0x190638(0x2f8)],Tn=(_0x21b8f4,_0x2003c9,_0x4ba16a,_0x131853)=>{for(var _0xd38ec7=_0x131853>0x1?void 0x0:_0x131853?Cn(_0x2003c9,_0x4ba16a):_0x2003c9,_0x1b63c2=_0x21b8f4['length']-0x1,_0x1f3f3f;_0x1b63c2>=0x0;_0x1b63c2--)(_0x1f3f3f=_0x21b8f4[_0x1b63c2])&&(_0xd38ec7=_0x1f3f3f(_0xd38ec7)||_0xd38ec7);return _0xd38ec7;},ct=(_0x2b9c9b,_0x22542a)=>(_0xefdde0,_0x21ef4e)=>_0x22542a(_0xefdde0,_0x21ef4e,_0x2b9c9b);exports[_0x190638(0x424)]=class{constructor(_0x2ce2b2,_0x2fb0f1){var _0x2b4c8c=_0x190638;this[_0x2b4c8c(0x350)]=_0x2ce2b2,this[_0x2b4c8c(0x17a)]=_0x2fb0f1;}async[_0x190638(0x2e4)](_0x18ed2c,_0x236dae){var _0x3f4fe3=_0x190638,_0x4ae6a7;const {unitID:_0x39fef2,type:_0xa55a5d,revision:_0x21f1a4=0x0}=_0x236dae,_0x300cac=this[_0x3f4fe3(0x348)]()+'/'+_0xa55a5d+_0x3f4fe3(0x3ba)+_0x39fef2+'/rev/'+_0x21f1a4,_0x3acf20=(await this[_0x3f4fe3(0x17a)]['get'](_0x300cac))[_0x3f4fe3(0xd2)],_0x500f26=(_0x4ae6a7=_0x3acf20['snapshot'])==null?void 0x0:_0x4ae6a7[_0x3f4fe3(0x3f3)];if(_0x500f26){const _0x17c07f=_0x500f26==null?void 0x0:_0x500f26['originalMeta'],_0x1dc96f=I[_0x3f4fe3(0x1e4)][_0x3f4fe3(0x28e)](I[_0x3f4fe3(0x17e)](_0x17c07f));_0x500f26[_0x3f4fe3(0xb5)]=_0x1dc96f,Object['entries'](_0x500f26[_0x3f4fe3(0x121)])[_0x3f4fe3(0x397)](([,_0x5d82f5])=>{var _0x40756c=_0x3f4fe3;const _0x7bed39=_0x5d82f5[_0x40756c(0xb5)],_0x49d5f2=I[_0x40756c(0x1e4)][_0x40756c(0x28e)](I[_0x40756c(0x17e)](_0x7bed39));_0x5d82f5[_0x40756c(0xb5)]=_0x49d5f2;});}return _0x3acf20;}async[_0x190638(0x1b2)](_0x3bd32b,_0x173706){var _0x27e326=_0x190638;const {unitID:_0x3dfc24,type:_0x1524f2,blockID:_0x309e02}=_0x173706,_0x26fd5c=this[_0x27e326(0x24c)]()+'/'+_0x1524f2+_0x27e326(0x3ba)+_0x3dfc24+_0x27e326(0x3b6)+_0x309e02;return(await this[_0x27e326(0x17a)][_0x27e326(0x33c)](_0x26fd5c))[_0x27e326(0xd2)];}async[_0x190638(0x28d)](_0x31991f,_0x4e420f){var _0x57e4fa=_0x190638;const {unitID:_0x23417c,type:_0x31f1ce,blockID:_0x589b3a}=_0x4e420f,_0xa9d8b=this['_getAPIPrefix']()+'/block/'+_0x31f1ce+_0x57e4fa(0x3ba)+_0x23417c+_0x57e4fa(0x3b6)+_0x589b3a;return(await this[_0x57e4fa(0x17a)][_0x57e4fa(0x33c)](_0xa9d8b))[_0x57e4fa(0xd2)];}async[_0x190638(0x374)](_0x3f51f2,_0x5abae0){var _0xbd74dc=_0x190638;const {unitID:_0x41f1db,type:_0x5f3394,from:_0x172b18,to:_0x4750de}=_0x5abae0,_0x253129=this['_getAPIPrefix']()+'/'+_0x5f3394+_0xbd74dc(0x3ba)+_0x41f1db+_0xbd74dc(0x235)+_0x172b18+'&to='+_0x4750de;return(await this[_0xbd74dc(0x17a)][_0xbd74dc(0x33c)](_0x253129))[_0xbd74dc(0xd2)];}['getSnapshotAPIPath'](){var _0x4b7f54=_0x190638,_0x484b98;return(_0x484b98=this[_0x4b7f54(0x350)][_0x4b7f54(0xfd)](lt))!=null?_0x484b98:this[_0x4b7f54(0x24c)]();}['_getAPIPrefix'](){var _0x9efaac=_0x190638,_0x273407,_0x249581;const _0x1c35c7=this[_0x9efaac(0x350)]['getConfig'](_t),_0x2facae=this[_0x9efaac(0x350)][_0x9efaac(0xfd)](K);return(_0x249581=(_0x273407=_0x2facae==null?void 0x0:_0x2facae[_0x9efaac(0xc7)])!=null?_0x273407:_0x1c35c7)!=null?_0x249581:Lt;}async[_0x190638(0x31c)](_0x55ac73,_0x247fb9){var _0x27c29a=_0x190638;const _0x18ab30=_0x27c29a(0x1e2)+_0x247fb9[_0x27c29a(0x123)]+_0x27c29a(0x3ba)+_0x247fb9['unitID']+_0x27c29a(0x175);return(await this[_0x27c29a(0x17a)][_0x27c29a(0x33c)](_0x18ab30,{'params':{'resourceId':JSON[_0x27c29a(0x319)](_0x247fb9[_0x27c29a(0x3e6)])}}))[_0x27c29a(0xd2)];}['saveSnapshot'](){var _0x47bd81=_0x190638;throw new Error(_0x47bd81(0x3df));}[_0x190638(0x337)](){var _0x14c13d=_0x190638;throw new Error(_0x14c13d(0x3df));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x190638(0x287)](){var _0xd4b18a=_0x190638;throw new Error(_0xd4b18a(0x3df));}['copyFileMeta'](){var _0x37c074=_0x190638;throw new Error(_0x37c074(0x3df));}[_0x190638(0x38c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x190638(0x424)]=Tn([ct(0x0,a[_0x190638(0x1d1)]),ct(0x1,a['Inject'](Y[_0x190638(0x20f)]))],exports['SnapshotServerOverHTTPService']);var bn=Object[_0x190638(0x2f8)],Rn=(_0x3aae83,_0x1b7f59,_0x5c17bf,_0x408e18)=>{var _0x5755d3=_0x190638;for(var _0x2a9880=_0x408e18>0x1?void 0x0:_0x408e18?bn(_0x1b7f59,_0x5c17bf):_0x1b7f59,_0x5a5873=_0x3aae83[_0x5755d3(0x232)]-0x1,_0x33332d;_0x5a5873>=0x0;_0x5a5873--)(_0x33332d=_0x3aae83[_0x5a5873])&&(_0x2a9880=_0x33332d(_0x2a9880)||_0x2a9880);return _0x2a9880;},ue=(_0x5c8ebb,_0x470e69)=>(_0x821259,_0x1a1983)=>_0x470e69(_0x821259,_0x1a1983,_0x5c8ebb);exports[_0x190638(0x1a4)]=class extends a[_0x190638(0x119)]{constructor(_0x2f76aa,_0x5eda9f,_0x4c8f2f,_0x382f88,_0x495920){var _0x57f3dd=_0x190638;super(_0x2f76aa,_0x5eda9f,_0x4c8f2f),this[_0x57f3dd(0x20e)]=_0x382f88,this[_0x57f3dd(0x2e2)]=_0x495920;}[_0x190638(0x230)](_0x450be4,_0x2dd2a3){var _0x312c46=_0x190638;const _0x532178=this['_getUndoStack'](_0x450be4);if(_0x532178)try{const _0x216959=this['_transformStack'](_0x532178,_0x2dd2a3);this[_0x312c46(0xcd)](_0x450be4,_0x216959);}catch(_0x47bc2f){this[_0x312c46(0x2e2)][_0x312c46(0x1e1)](_0x312c46(0x359),_0x47bc2f),this[_0x312c46(0x165)](_0x450be4);}const _0x3f7858=this[_0x312c46(0x262)](_0x450be4);if(_0x3f7858)try{const _0x3e9324=this[_0x312c46(0x3cc)](_0x3f7858,_0x2dd2a3);this['_substituteRedoStack'](_0x450be4,_0x3e9324);}catch(_0x3986e8){this[_0x312c46(0x2e2)][_0x312c46(0x1e1)](_0x3986e8),this[_0x312c46(0x1f3)](_0x450be4);}}[_0x190638(0x165)](_0x10b0de){var _0x2f86a6=_0x190638;const _0x8240f6=this['_getUndoStack'](_0x10b0de);_0x8240f6&&(_0x8240f6['length']=0x0,this[_0x2f86a6(0x3bc)]());}[_0x190638(0x1f3)](_0xdd188b){var _0x35bf68=_0x190638;const _0x2d197a=this[_0x35bf68(0x262)](_0xdd188b);_0x2d197a&&(_0x2d197a[_0x35bf68(0x232)]=0x0,this[_0x35bf68(0x3bc)]());}[_0x190638(0xcd)](_0x7cf585,_0xf5a882){var _0x596bf4=_0x190638;this['_undoStacks'][_0x596bf4(0x327)](_0x7cf585,_0xf5a882),this[_0x596bf4(0x3bc)]();}[_0x190638(0x1c7)](_0x1d11e3,_0x1e5c05){var _0x36af04=_0x190638;this[_0x36af04(0x37a)]['set'](_0x1d11e3,_0x1e5c05),this[_0x36af04(0x3bc)]();}[_0x190638(0x3cc)](_0x5d466b,_0x1b3137){var _0x373ff0=_0x190638;const _0x264706=[];let _0xda55c=_0x1b3137,_0x217a93=_0x1b3137;for(let _0x13395e=_0x5d466b['length']-0x1;_0x13395e>=0x0;_0x13395e--){const {unitID:_0x1f2c62,undoMutations:_0x13f011,redoMutations:_0xaee62b}=_0x5d466b[_0x13395e],_0x41d66b=this[_0x373ff0(0x20e)][_0x373ff0(0x318)](_0xda55c,_0x13f011),_0x1a1e85=this[_0x373ff0(0x20e)][_0x373ff0(0x318)](_0x217a93,_0xaee62b);if(I[_0x373ff0(0x291)](_0x41d66b)||I[_0x373ff0(0x291)](_0x1a1e85)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x373ff0(0xbf),_0x41d66b,_0x1a1e85);break;}_0xda55c=_0x41d66b[_0x373ff0(0x162)],_0x217a93=_0x1a1e85[_0x373ff0(0x162)],_0x264706['push']({'unitID':_0x1f2c62,'undoMutations':_0x41d66b['m2Prime'],'redoMutations':_0x1a1e85[_0x373ff0(0x3d7)]});}return _0x264706[_0x373ff0(0x2a0)]();}},exports['CollaborativeUndoRedoService']=Rn([ue(0x0,a[_0x190638(0x106)]),ue(0x1,a[_0x190638(0x167)]),ue(0x2,a[_0x190638(0xb9)]),ue(0x3,I[_0x190638(0x349)]),ue(0x4,a[_0x190638(0xf0)])],exports['CollaborativeUndoRedoService']);var On=Object['defineProperty'],yn=Object['getOwnPropertyDescriptor'],Nn=(_0x399caa,_0x3797bf,_0x33580d)=>_0x3797bf in _0x399caa?On(_0x399caa,_0x3797bf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33580d}):_0x399caa[_0x3797bf]=_0x33580d,Un=(_0x5bf3c6,_0x3357aa,_0x2eb266,_0xe17d37)=>{var _0x1944ff=_0x190638;for(var _0x23e014=_0xe17d37>0x1?void 0x0:_0xe17d37?yn(_0x3357aa,_0x2eb266):_0x3357aa,_0x58c294=_0x5bf3c6[_0x1944ff(0x232)]-0x1,_0x2954fb;_0x58c294>=0x0;_0x58c294--)(_0x2954fb=_0x5bf3c6[_0x58c294])&&(_0x23e014=_0x2954fb(_0x23e014)||_0x23e014);return _0x23e014;},Me=(_0x131faf,_0x473d21)=>(_0x119707,_0x1b47e7)=>_0x473d21(_0x119707,_0x1b47e7,_0x131faf),Dn=(_0x253f9e,_0x497c09,_0x29cf9b)=>Nn(_0x253f9e,_0x497c09+'',_0x29cf9b);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x190638(0x364)]=class extends a['Plugin']{constructor(_0x8328ec,_0xdef0e3,_0x4aa0bc,_0x25d683){var _0x5962e7=_0x190638;super(),A(this,_0x5962e7(0x32f)),(this[_0x5962e7(0x2e2)]=_0xdef0e3,this[_0x5962e7(0x307)]=_0x4aa0bc,this[_0x5962e7(0x350)]=_0x25d683);const {..._0x4fe1be}=a['merge']({},Yt,_0x8328ec);if(!_0x4fe1be['socketService'])throw new Error(_0x5962e7(0x2e6));this[_0x5962e7(0x32f)]=_0x4fe1be,this[_0x5962e7(0x350)][_0x5962e7(0x15e)](K,_0x4fe1be);}[_0x190638(0x138)](){var _0x31875e=_0x190638;this[_0x31875e(0x3c6)](),this[_0x31875e(0x19b)]();}[_0x190638(0x3c6)](){var _0x359483=_0x190638,_0x2921d4,_0x2aa6e8;this[_0x359483(0x307)][_0x359483(0x3e9)](a[_0x359483(0x2bd)])&&this[_0x359483(0x2e2)][_0x359483(0x1e1)](_0x359483(0x1f2),_0x359483(0x2f9));const _0x21ec90=a[_0x359483(0x2f6)]([[a[_0x359483(0x2bd)],{'useClass':exports[_0x359483(0x1a4)]}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports['SheetTransformSelectionsService']],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x359483(0x1cd)]],[He,{'useClass':this[_0x359483(0x32f)][_0x359483(0x311)]}],[I[_0x359483(0x3a5)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x359483(0x390)],{'useClass':exports[_0x359483(0x32e)]}],[z[_0x359483(0x2a1)],{'useClass':exports[_0x359483(0x413)]}],[a[_0x359483(0x214)],{'useClass':exports[_0x359483(0x110)]}],[exports['CollaborationController']],[xe]],(_0x2921d4=this[_0x359483(0x32f)])==null?void 0x0:_0x2921d4[_0x359483(0x193)]);if(!((_0x2aa6e8=this[_0x359483(0x32f)])!=null&&_0x2aa6e8[_0x359483(0x38f)])){const _0x46b405=_0x21ec90[_0x359483(0x215)](([_0x34e250])=>_0x34e250===de);_0x46b405!==-0x1&&_0x21ec90[_0x359483(0x384)](_0x46b405,0x1);}a['registerDependencies'](this[_0x359483(0x307)],_0x21ec90);}[_0x190638(0x19b)](){var _0x5d43ba=_0x190638,_0x30010c,_0x235fbb,_0x956787;this[_0x5d43ba(0x307)][_0x5d43ba(0x33c)](Y[_0x5d43ba(0x20f)])[_0x5d43ba(0x2f1)]({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x30010c=this[_0x5d43ba(0x32f)])!=null&&_0x30010c[_0x5d43ba(0x184)]||(_0x235fbb=this['_injector'][_0x5d43ba(0x33c)](q,a['Quantity'][_0x5d43ba(0x10a)]))==null||_0x235fbb['disableLocalCache'](),(_0x956787=this[_0x5d43ba(0x32f)])!=null&&_0x956787[_0x5d43ba(0x279)]&&a[_0x5d43ba(0x421)](this[_0x5d43ba(0x307)],[[ye]]),a[_0x5d43ba(0x421)](this[_0x5d43ba(0x307)],[[Ne],[exports[_0x5d43ba(0x21e)]],[Ue]]);}},Dn(exports[_0x190638(0x364)],'pluginName',An),exports['UniverCollaborationClientPlugin']=Un([a['DependentOn'](I['UniverCollaborationPlugin'],Y[_0x190638(0x2bb)]),Me(0x1,a[_0x190638(0xf0)]),Me(0x2,a[_0x190638(0x3fb)](a[_0x190638(0xbc)])),Me(0x3,a[_0x190638(0x1d1)])],exports[_0x190638(0x364)]),exports['AUTHZ_URL_KEY']=Ve,exports[_0x190638(0xda)]=K,exports[_0x190638(0x428)]=pt,exports[_0x190638(0x436)]=ut,exports[_0x190638(0x22a)]=Be,exports['CollaborationUIEventId']=Z,exports['CollaborationUIEventService']=ee,exports[_0x190638(0x34d)]=$e,exports[_0x190638(0x117)]=dt,exports[_0x190638(0x25f)]=Kt,exports[_0x190638(0x30e)]=kt,exports[_0x190638(0x3a2)]=vt,exports[_0x190638(0x1a6)]=ke,exports[_0x190638(0x326)]=He,exports[_0x190638(0x31a)]=q,exports[_0x190638(0xf1)]=mt,exports[_0x190638(0x39f)]=de,exports[_0x190638(0x2ac)]=Ft,exports[_0x190638(0x39e)]=Bt,exports[_0x190638(0x37d)]=It,exports[_0x190638(0x3bb)]=Gt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ft,exports[_0x190638(0x197)]=Mt,exports[_0x190638(0xcc)]=_t,exports[_0x190638(0x2b2)]=lt,exports[_0x190638(0x2af)]=re,exports[_0x190638(0x330)]=je,exports[_0x190638(0x19d)]=Ct,exports[_0x190638(0x218)]=oi,exports[_0x190638(0x25b)]=Tt;
|