@univerjs-pro/collaboration-client 0.10.14-nightly.202511070640 → 0.10.14-nightly.202511080715
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.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/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x3f3e43=_0x29f2;(function(_0x160544,_0x52142e){var _0x26319b=_0x29f2,_0x10976a=_0x160544();while(!![]){try{var _0x211a10=-parseInt(_0x26319b(0x2e2))/0x1+parseInt(_0x26319b(0x389))/0x2+-parseInt(_0x26319b(0x221))/0x3+parseInt(_0x26319b(0x1b6))/0x4+parseInt(_0x26319b(0x2f9))/0x5*(parseInt(_0x26319b(0x303))/0x6)+-parseInt(_0x26319b(0x11c))/0x7*(parseInt(_0x26319b(0x171))/0x8)+parseInt(_0x26319b(0x1fa))/0x9;if(_0x211a10===_0x52142e)break;else _0x10976a['push'](_0x10976a['shift']());}catch(_0xa09f69){_0x10976a['push'](_0x10976a['shift']());}}}(_0x3173,0x5424c));var bi=Object['defineProperty'],Di=(_0x2c8ac7,_0x7f1005,_0x571a93)=>_0x7f1005 in _0x2c8ac7?bi(_0x2c8ac7,_0x7f1005,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x571a93}):_0x2c8ac7[_0x7f1005]=_0x571a93,D=(_0x385e2e,_0x544337,_0x4a4ba5)=>Di(_0x385e2e,typeof _0x544337!='symbol'?_0x544337+'':_0x544337,_0x4a4ba5);import{CollaborationEvent as _0x587846,ITransformService as _0x42c915,isTransformMutationsWithChangesetSuccess as _0x48e3ad,mapDocumentTypeToUniverType as _0x266dba,RevisionService as _0x27e825,isTransformChangesetsSuccess as _0x2a7bbb,CompressMutationService as _0x2a0dcf,parseProtocolChangeset as _0x9598f2,uuidv4 as _0x411ae0,ISnapshotServerService as _0x3cb6cf,parseChangesetToProtocol as _0x369651,SnapshotService as _0x488755,textEncoder as _0x1aeb51,b64DecodeUnicode as _0x358314,isTransformMutationsWithChangesetFailure as _0x4b5ec2,UniverCollaborationPlugin as _0x38f142}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x321c7f,Inject as _0x5e33bf,UserManagerService as _0x5126d4,Disposable as _0x5496cf,UniverInstanceType as _0x1b2ec3,ILogService as _0x3f8704,IConfigService as _0x31c610,Optional as _0x4e4cb4,RxDisposable as _0x3f64e4,createIdentifier as _0x9c0e2a,Injector as _0x951761,Tools as _0x25b047,Rectangle as _0x5f281a,ICommandService as _0x31319f,JSONX as _0x1c8cff,CommandType as _0x1d2361,IUndoRedoService as _0x227e9e,IPermissionService as _0x38e5a9,LocaleService as _0x20f53f,sequenceExecute as _0x353031,toDisposable as _0x449264,DisposableCollection as _0x407c70,Workbook as _0x4a0471,generateRandomId as _0x15f135,MentionType as _0x5e9fc6,isInternalEditorID as _0x501c35,LocalUndoRedoService as _0x524d13,IContextService as _0x3cdc31,DependentOn as _0xc33d01,Plugin as _0x4d63f8,merge as _0x1e8a7d,mergeOverrideWithDependencies as _0x4ceeec,IAuthzIoService as _0x5c60ef,IMentionIOService as _0x2029a6,registerDependencies as _0x5dff7e,Quantity as _0x3694f6,touchDependencies as _0x355a43}from'@univerjs/core';import{RichTextEditingMutation as _0x53e688}from'@univerjs/docs';import{SheetsSelectionsService as _0x10ce0d,SetSelectionsOperation as _0x386b04,InsertSheetMutation as _0x4ccd2a,EmptyMutation as _0x2f7167,WorkbookEditablePermission as _0x5b362d,SheetPermissionInitController as _0x26fd52}from'@univerjs/sheets';import{Subject as _0x2dc849,merge as _0x15efc9,of as _0x2b7dfb,BehaviorSubject as _0x3cc84f,takeUntil as _0x304d48,ReplaySubject as _0x12aa98,take as _0x434a8,map as _0x265f91,shareReplay as _0x3a640f,firstValueFrom as _0x2a374a,concatMap as _0x135605}from'rxjs';import{ITelemetryService as _0x5af96d}from'@univerjs/telemetry';import{map as _0x29b4d5,take as _0x489f49,filter as _0x25ba60,delay as _0x1f43c4,takeUntil as _0x5f3a68}from'rxjs/operators';import{HTTPService as _0xbb2f1c,ISocketService as _0x5c3e44,MergeInterceptorFactory as _0x588af6,HTTPRequest as _0x2c4f5d,UniverNetworkPlugin as _0x206dda,ThresholdInterceptorFactory as _0x3d93ee}from'@univerjs/network';import{ImageSourceType as _0x21689b,ImageUploadStatusType as _0x374586,IImageIoService as _0x4ee5d7}from'@univerjs/drawing';import{getGlobalObject as _0x542aba}from'@univerjs-pro/license';const fs=_0x3f3e43(0x2c5),vs=_0x3f3e43(0x248),ps=0x7d0,Es=_0x3f3e43(0x39a),gr=_0x3f3e43(0x163),ms=_0x3f3e43(0x229),Is=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Ss=0x4e20,gs=_0x3f3e43(0x2f8),Ts=0x3,Tr='LOCAL_CACHE_INTERVAL',Or=0x3e8,Os=_0x3f3e43(0xba),Rs=_0x3f3e43(0x105),Rr=_0x3f3e43(0x1fd),Cr=_0x3f3e43(0x339);var vi=(_0x370bb8=>(_0x370bb8[_0x370bb8[_0x3f3e43(0x2bb)]=0x0]=_0x3f3e43(0x2bb),_0x370bb8[_0x370bb8['OK']=0x1]='OK',_0x370bb8[_0x370bb8[_0x3f3e43(0xde)]=0x2]=_0x3f3e43(0xde),_0x370bb8[_0x370bb8[_0x3f3e43(0x368)]=0x3]='PERMISSION_DENIED',_0x370bb8[_0x370bb8[_0x3f3e43(0x345)]=0x4]=_0x3f3e43(0x345),_0x370bb8[_0x370bb8[_0x3f3e43(0x38c)]=0x5]=_0x3f3e43(0x38c),_0x370bb8[_0x370bb8[_0x3f3e43(0x159)]=0x6]=_0x3f3e43(0x159),_0x370bb8[_0x370bb8[_0x3f3e43(0x2c1)]=0x7]='INVALID_ARGUMENT',_0x370bb8[_0x370bb8[_0x3f3e43(0x150)]=0x8]=_0x3f3e43(0x150),_0x370bb8[_0x370bb8['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x370bb8[_0x370bb8[_0x3f3e43(0x205)]=0xa]=_0x3f3e43(0x205),_0x370bb8[_0x370bb8[_0x3f3e43(0x169)]=0xb]=_0x3f3e43(0x169),_0x370bb8[_0x370bb8[_0x3f3e43(0xd6)]=0xc]=_0x3f3e43(0xd6),_0x370bb8[_0x370bb8[_0x3f3e43(0xe7)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x370bb8[_0x370bb8['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x3f3e43(0x108),_0x370bb8[_0x370bb8[_0x3f3e43(0x19b)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x370bb8[_0x370bb8[_0x3f3e43(0x3a1)]=0x10]=_0x3f3e43(0x3a1),_0x370bb8[_0x370bb8[_0x3f3e43(0x197)]=0x64]=_0x3f3e43(0x197),_0x370bb8[_0x370bb8[_0x3f3e43(0x34a)]=0x65]=_0x3f3e43(0x34a),_0x370bb8[_0x370bb8[_0x3f3e43(0x98)]=0xc9]='USER_NOT_FOUND',_0x370bb8[_0x370bb8[_0x3f3e43(0x34f)]=0xca]=_0x3f3e43(0x34f),_0x370bb8[_0x370bb8[_0x3f3e43(0x289)]=0x1389]=_0x3f3e43(0x289),_0x370bb8[_0x370bb8[_0x3f3e43(0xc0)]=0x1771]=_0x3f3e43(0xc0),_0x370bb8[_0x370bb8['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3f3e43(0x2b7),_0x370bb8[_0x370bb8[_0x3f3e43(0x393)]=0x1773]=_0x3f3e43(0x393),_0x370bb8[_0x370bb8[_0x3f3e43(0x128)]=0x1b59]=_0x3f3e43(0x128),_0x370bb8[_0x370bb8[_0x3f3e43(0x22c)]=0x1b5a]=_0x3f3e43(0x22c),_0x370bb8[_0x370bb8[_0x3f3e43(0x306)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x370bb8[_0x370bb8[_0x3f3e43(0x355)]=0x1b5c]=_0x3f3e43(0x355),_0x370bb8[_0x370bb8[_0x3f3e43(0x24a)]=0x1b5d]=_0x3f3e43(0x24a),_0x370bb8[_0x370bb8[_0x3f3e43(0x34e)]=0x1f41]=_0x3f3e43(0x34e),_0x370bb8[_0x370bb8[_0x3f3e43(0x134)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x370bb8[_0x370bb8[_0x3f3e43(0x320)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x370bb8[_0x370bb8[_0x3f3e43(0xf5)]=0x232b]=_0x3f3e43(0xf5),_0x370bb8[_0x370bb8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x370bb8[_0x370bb8[_0x3f3e43(0x152)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x370bb8[_0x370bb8[_0x3f3e43(0x157)]=0x2711]=_0x3f3e43(0x157),_0x370bb8[_0x370bb8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3f3e43(0x2be),_0x370bb8[_0x370bb8[_0x3f3e43(0x1d9)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x370bb8[_0x370bb8['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x370bb8[_0x370bb8[_0x3f3e43(0x2b3)]=0x271a]=_0x3f3e43(0x2b3),_0x370bb8[_0x370bb8[_0x3f3e43(0x181)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x370bb8[_0x370bb8['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3f3e43(0x2cf),_0x370bb8[_0x370bb8['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3f3e43(0x174),_0x370bb8[_0x370bb8[_0x3f3e43(0x294)]=0x271e]=_0x3f3e43(0x294),_0x370bb8[_0x370bb8[_0x3f3e43(0x178)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x370bb8[_0x370bb8[_0x3f3e43(0x293)]=0x2720]=_0x3f3e43(0x293),_0x370bb8[_0x370bb8['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3f3e43(0x130),_0x370bb8[_0x370bb8[_0x3f3e43(0xc3)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x370bb8[_0x370bb8[_0x3f3e43(0x3b1)]=0x2ee2]=_0x3f3e43(0x3b1),_0x370bb8[_0x370bb8[_0x3f3e43(0x14f)]=0x2ee3]=_0x3f3e43(0x14f),_0x370bb8[_0x370bb8[_0x3f3e43(0x1b8)]=0x2ee4]=_0x3f3e43(0x1b8),_0x370bb8[_0x370bb8[_0x3f3e43(0x143)]=0x2ee5]=_0x3f3e43(0x143),_0x370bb8[_0x370bb8[_0x3f3e43(0x280)]=0x32c9]=_0x3f3e43(0x280),_0x370bb8[_0x370bb8[_0x3f3e43(0x356)]=0x32ca]=_0x3f3e43(0x356),_0x370bb8[_0x370bb8['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x370bb8[_0x370bb8[_0x3f3e43(0x370)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x370bb8[_0x370bb8[_0x3f3e43(0x220)]=0x36b2]=_0x3f3e43(0x220),_0x370bb8[_0x370bb8[_0x3f3e43(0x1b7)]=0x36b3]=_0x3f3e43(0x1b7),_0x370bb8[_0x370bb8[_0x3f3e43(0x2b1)]=0x36b4]=_0x3f3e43(0x2b1),_0x370bb8[_0x370bb8[_0x3f3e43(0x177)]=0x3715]=_0x3f3e43(0x177),_0x370bb8[_0x370bb8[_0x3f3e43(0x234)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x370bb8[_0x370bb8['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x3f3e43(0x3af),_0x370bb8[_0x370bb8[_0x3f3e43(0x2f5)]=0x37dd]=_0x3f3e43(0x2f5),_0x370bb8[_0x370bb8[_0x3f3e43(0x96)]=0x3a99]=_0x3f3e43(0x96),_0x370bb8[_0x370bb8[_0x3f3e43(0x352)]=0x3a9a]=_0x3f3e43(0x352),_0x370bb8[_0x370bb8[_0x3f3e43(0x33b)]=0x3a9b]=_0x3f3e43(0x33b),_0x370bb8[_0x370bb8['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x370bb8[_0x370bb8[_0x3f3e43(0xb3)]=0x3a9d]=_0x3f3e43(0xb3),_0x370bb8[_0x370bb8[_0x3f3e43(0x38d)]=0x3a9e]=_0x3f3e43(0x38d),_0x370bb8[_0x370bb8['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x3f3e43(0x2db),_0x370bb8[_0x370bb8[_0x3f3e43(0x32d)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x370bb8[_0x370bb8['UNRECOGNIZED']=-0x1]=_0x3f3e43(0x179),_0x370bb8))(vi||{}),Q=(_0x493485=>(_0x493485[_0x493485[_0x3f3e43(0x2ba)]=0x0]='UNIVER_UNKNOWN',_0x493485[_0x493485[_0x3f3e43(0x26a)]=0x1]=_0x3f3e43(0x26a),_0x493485[_0x493485[_0x3f3e43(0x207)]=0x2]=_0x3f3e43(0x207),_0x493485[_0x493485[_0x3f3e43(0x1a8)]=0x3]=_0x3f3e43(0x1a8),_0x493485[_0x493485['UNIVER_PROJECT']=0x4]=_0x3f3e43(0x2ad),_0x493485[_0x493485[_0x3f3e43(0x179)]=-0x1]=_0x3f3e43(0x179),_0x493485))(Q||{}),j=(_0x261cdb=>(_0x261cdb[_0x261cdb['UNKNOWN_CMD']=0x0]=_0x3f3e43(0x1d2),_0x261cdb[_0x261cdb[_0x3f3e43(0x1d7)]=0x1]=_0x3f3e43(0x1d7),_0x261cdb[_0x261cdb['JOIN']=0x2]=_0x3f3e43(0x1f2),_0x261cdb[_0x261cdb[_0x3f3e43(0x2b9)]=0x3]=_0x3f3e43(0x2b9),_0x261cdb[_0x261cdb[_0x3f3e43(0x1f5)]=0x4]=_0x3f3e43(0x1f5),_0x261cdb[_0x261cdb[_0x3f3e43(0x27b)]=0x5]=_0x3f3e43(0x27b),_0x261cdb[_0x261cdb[_0x3f3e43(0x1d4)]=0x6]=_0x3f3e43(0x1d4),_0x261cdb[_0x261cdb['UNRECOGNIZED']=-0x1]=_0x3f3e43(0x179),_0x261cdb))(j||{}),pe=(_0x368666=>(_0x368666[_0x368666[_0x3f3e43(0x19f)]=0x0]=_0x3f3e43(0x19f),_0x368666[_0x368666['OK']=0x1]='OK',_0x368666[_0x368666[_0x3f3e43(0x27f)]=0x2]=_0x3f3e43(0x27f),_0x368666[_0x368666['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x368666[_0x368666[_0x3f3e43(0x333)]=0x3ea]=_0x3f3e43(0x333),_0x368666[_0x368666[_0x3f3e43(0x301)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x368666[_0x368666[_0x3f3e43(0x15a)]=0x3ec]=_0x3f3e43(0x15a),_0x368666[_0x368666[_0x3f3e43(0x179)]=-0x1]=_0x3f3e43(0x179),_0x368666))(pe||{}),pi=(_0x5387f1=>(_0x5387f1[_0x5387f1[_0x3f3e43(0x247)]=0x0]=_0x3f3e43(0x247),_0x5387f1[_0x5387f1[_0x3f3e43(0x2c0)]=0x1]='HttpImport',_0x5387f1[_0x5387f1['HttpExport']=0x2]=_0x3f3e43(0x24b),_0x5387f1[_0x5387f1[_0x3f3e43(0x3b3)]=0x3]=_0x3f3e43(0x3b3),_0x5387f1[_0x5387f1[_0x3f3e43(0x24e)]=0x4]=_0x3f3e43(0x24e),_0x5387f1[_0x5387f1[_0x3f3e43(0x2b5)]=0x5]='UserProfileImg',_0x5387f1[_0x5387f1['ClipsheetFragments']=0x6]='ClipsheetFragments',_0x5387f1[_0x5387f1[_0x3f3e43(0x179)]=-0x1]=_0x3f3e43(0x179),_0x5387f1))(pi||{});const Cs=_0x3f3e43(0xd9);function Ns(_0x371c63){var _0x19bcb6=_0x3f3e43;return JSON[_0x19bcb6(0x2bf)](_0x371c63)[_0x19bcb6(0x371)];}var re=(_0x491aec=>(_0x491aec[_0x3f3e43(0x307)]=_0x3f3e43(0x307),_0x491aec[_0x3f3e43(0x368)]='PERMISSION_DENIED',_0x491aec[_0x3f3e43(0xbd)]=_0x3f3e43(0xbd),_0x491aec['CLOSE_ROOM']='CLOSE_ROOM',_0x491aec['JOIN_ROOM_FAILED']=_0x3f3e43(0x16c),_0x491aec[_0x3f3e43(0x1c9)]='SOCKET_FAILED_RETRY',_0x491aec[_0x3f3e43(0x203)]=_0x3f3e43(0x203),_0x491aec[_0x3f3e43(0x14c)]='SUBMIT_CHANGESET_TIMEOUT',_0x491aec))(re||{});class ve{constructor(){var _0xa18cc9=_0x3f3e43;D(this,_0xa18cc9(0x331),new _0x2dc849()),D(this,'event$',this['_event$'][_0xa18cc9(0x291)]());}['emitEvent'](_0x2270bd){var _0x4e3a75=_0x3f3e43;this[_0x4e3a75(0x331)][_0x4e3a75(0x318)](_0x2270bd);}}class Ei{constructor(){var _0x537192=_0x3f3e43;D(this,_0x537192(0x2cc),new _0x2dc849()),D(this,_0x537192(0x1c1),this[_0x537192(0x2cc)][_0x537192(0x291)]());}[_0x3f3e43(0x382)](_0x1b1658){var _0x5c31f4=_0x3f3e43;this[_0x5c31f4(0x2cc)][_0x5c31f4(0x318)](_0x1b1658);}}var bs=Object[_0x3f3e43(0x16a)],Ds=(_0x2b041f,_0x3d8d37,_0x523236,_0xde87bb)=>{var _0x50d7a0=_0x3f3e43;for(var _0x5e725a=_0xde87bb>0x1?void 0x0:_0xde87bb?bs(_0x3d8d37,_0x523236):_0x3d8d37,_0x309dda=_0x2b041f[_0x50d7a0(0x371)]-0x1,_0x30c74b;_0x309dda>=0x0;_0x309dda--)(_0x30c74b=_0x2b041f[_0x309dda])&&(_0x5e725a=_0x30c74b(_0x5e725a)||_0x5e725a);return _0x5e725a;},jt=(_0x2ca68f,_0x56cdfc)=>(_0x44686a,_0x44f781)=>_0x56cdfc(_0x44686a,_0x44f781,_0x2ca68f);let Pe=class extends _0x5496cf{constructor(_0x268a4e,_0x42ee7a){var _0x5c3db0=_0x3f3e43;super(),D(this,_0x5c3db0(0x1bd),new Map()),D(this,_0x5c3db0(0x191),new _0x2dc849()),(this[_0x5c3db0(0x373)]=_0x268a4e,this['_userManagerService']=_0x42ee7a,this[_0x5c3db0(0x2f6)](_0x15efc9(this[_0x5c3db0(0x373)]['getTypeOfUnitDisposed$'](_0x1b2ec3[_0x5c3db0(0x207)])['pipe'](_0x29b4d5(_0x3f3bea=>_0x3f3bea['getUnitId']())),this['_univerInstanceService'][_0x5c3db0(0x39f)](_0x1b2ec3[_0x5c3db0(0x26a)])['pipe'](_0x29b4d5(_0x87869=>_0x87869[_0x5c3db0(0xdd)]())),this['_univerInstanceService'][_0x5c3db0(0x39f)](_0x1b2ec3[_0x5c3db0(0x1a8)])['pipe'](_0x29b4d5(_0x15966b=>_0x15966b[_0x5c3db0(0xdd)]())))[_0x5c3db0(0x185)](_0x4529de=>this[_0x5c3db0(0x91)](_0x4529de))));}['waitForRoom$'](_0x5789f0){var _0x1a4cea=_0x3f3e43;return this[_0x1a4cea(0x1bd)][_0x1a4cea(0x32c)](_0x5789f0)?_0x2b7dfb(this[_0x1a4cea(0x1bd)][_0x1a4cea(0x13f)](_0x5789f0)):this[_0x1a4cea(0x191)][_0x1a4cea(0x107)](_0x29b4d5(_0x587d3e=>{if(_0x587d3e===_0x5789f0)return this['_roomMembers']['get'](_0x587d3e);}));}[_0x3f3e43(0xa5)](_0x55dd34){var _0x51eb43=_0x3f3e43;this['_userManagerService'][_0x51eb43(0xa5)](_0x55dd34);}['getCurrentUser'](){var _0x1ef774=_0x3f3e43;return this[_0x1ef774(0x17e)][_0x1ef774(0x3a5)]();}[_0x3f3e43(0x8f)](_0x418d87,_0x202b53){var _0x2763dc=_0x3f3e43;let _0x1906c9=this[_0x2763dc(0x1bd)]['get'](_0x418d87);_0x1906c9||(_0x1906c9=new ys(),this[_0x2763dc(0x1bd)]['set'](_0x418d87,_0x1906c9),this[_0x2763dc(0x191)][_0x2763dc(0x318)](_0x418d87)),_0x1906c9[_0x2763dc(0x8f)](_0x202b53);}[_0x3f3e43(0x158)](_0x45f910,_0x13d38d){var _0x168475=_0x3f3e43;const _0x544393=this['_roomMembers'][_0x168475(0x13f)](_0x45f910);_0x544393&&_0x544393['removeMember'](_0x13d38d);}[_0x3f3e43(0x380)](_0xafecd3){var _0x573d66=_0x3f3e43;return this[_0x573d66(0x1bd)][_0x573d66(0x13f)](_0xafecd3);}[_0x3f3e43(0x36d)](_0x327b37,_0x563868){var _0x35865e=_0x3f3e43;const _0x43e6b7=this[_0x35865e(0x1bd)]['get'](_0x327b37);if(_0x43e6b7)return _0x43e6b7['getMember'](_0x563868);}[_0x3f3e43(0x91)](_0x2f902a){var _0x525aae=_0x3f3e43;const _0x24ca9=this['_roomMembers']['get'](_0x2f902a);_0x24ca9&&(_0x24ca9['dispose'](),this['_roomMembers'][_0x525aae(0xd2)](_0x2f902a));}['dispose'](){var _0x4d091e=_0x3f3e43;this['_roomMembers'][_0x4d091e(0x93)](_0x5ce2bb=>_0x5ce2bb[_0x4d091e(0x2dd)]()),this['_roomMembers']['clear'](),this[_0x4d091e(0x191)][_0x4d091e(0x2b0)]();}};Pe=Ds([jt(0x0,_0x321c7f),jt(0x1,_0x5e33bf(_0x5126d4))],Pe);class ys extends _0x5496cf{constructor(){var _0x5ef7d0=_0x3f3e43;super(...arguments),D(this,_0x5ef7d0(0x22e),new Map()),D(this,'_members$',new _0x3cc84f(this[_0x5ef7d0(0x22e)])),D(this,'members$',this[_0x5ef7d0(0x188)][_0x5ef7d0(0x291)]());}['dispose'](){var _0x5a7d55=_0x3f3e43;this['_members'][_0x5a7d55(0x1b5)]();}[_0x3f3e43(0x8f)](_0x5a647e){var _0xd0bae3=_0x3f3e43;this[_0xd0bae3(0x22e)][_0xd0bae3(0x111)](_0x5a647e['memberID'],_0x5a647e),this[_0xd0bae3(0x330)]();}[_0x3f3e43(0x158)](_0xf9f994){var _0x58b350=_0x3f3e43;this['_members'][_0x58b350(0xd2)](_0xf9f994);}['getMember'](_0x2e884d){var _0x505396=_0x3f3e43;return this[_0x505396(0x22e)][_0x505396(0x13f)](_0x2e884d);}['getAllMembers'](){var _0x354c10=_0x3f3e43;return Array[_0x354c10(0x21c)](this['_members'][_0x354c10(0x313)]());}[_0x3f3e43(0x330)](){var _0x52ff93=_0x3f3e43;this[_0x52ff93(0x188)][_0x52ff93(0x318)](this[_0x52ff93(0x22e)]);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x4877ac,_0x345115,_0x281f42,_0x3cae57)=>{var _0x393e3f=_0x3f3e43;for(var _0xbbd14d=_0x3cae57>0x1?void 0x0:_0x3cae57?Us(_0x345115,_0x281f42):_0x345115,_0x416596=_0x4877ac[_0x393e3f(0x371)]-0x1,_0x454b7a;_0x416596>=0x0;_0x416596--)(_0x454b7a=_0x4877ac[_0x416596])&&(_0xbbd14d=_0x454b7a(_0xbbd14d)||_0xbbd14d);return _0xbbd14d;},Oe=(_0x21c86e,_0xb6ea7f)=>(_0x29382b,_0x2ad8a8)=>_0xb6ea7f(_0x29382b,_0x2ad8a8,_0x21c86e),me=(_0x29323d=>(_0x29323d[_0x29323d[_0x3f3e43(0x296)]=0x0]='IDLE',_0x29323d[_0x29323d[_0x3f3e43(0x1ec)]=0x1]=_0x3f3e43(0x1ec),_0x29323d[_0x29323d[_0x3f3e43(0x2e5)]=0x2]=_0x3f3e43(0x2e5),_0x29323d[_0x29323d['ONLINE']=0x3]=_0x3f3e43(0x19a),_0x29323d))(me||{});const Vt={[pe[_0x3f3e43(0x27f)]]:_0x3f3e43(0x1c8),[pe[_0x3f3e43(0x12a)]]:_0x3f3e43(0x35f),[pe[_0x3f3e43(0x333)]]:_0x3f3e43(0x310),[pe[_0x3f3e43(0x301)]]:'session.room-permission-denied',[pe[_0x3f3e43(0x15a)]]:'session.room-cnt-exceeds'};let mt=class extends _0x3f64e4{constructor(_0x263a8d,_0x3abc11,_0x20d85f,_0x4dc683,_0x445b3a,_0x5341b0,_0xd9ae2b,_0x53b4ff){var _0x26938b=_0x3f3e43;super(),D(this,_0x26938b(0x329),new _0x3cc84f(0x0)),D(this,_0x26938b(0xac),this[_0x26938b(0x329)][_0x26938b(0x291)]()),D(this,_0x26938b(0x331),new _0x2dc849()),D(this,'event$',this[_0x26938b(0x331)]['asObservable']()),D(this,_0x26938b(0x1cf)),D(this,_0x26938b(0x21d)),D(this,_0x26938b(0x35d)),D(this,_0x26938b(0x36a),!0x1),D(this,_0x26938b(0x37c),null),(this['_unitID']=_0x263a8d,this[_0x26938b(0x274)]=_0x20d85f,this[_0x26938b(0x281)]=_0x4dc683,this['_memberService']=_0x445b3a,this['_commentService']=_0x5341b0,this[_0x26938b(0x184)]=_0xd9ae2b,this[_0x26938b(0x2a7)]=_0x53b4ff,this[_0x26938b(0x36a)]=!!this[_0x26938b(0x2a7)],_0x3abc11[_0x26938b(0x107)](_0x304d48(this[_0x26938b(0x14e)]))['subscribe'](_0x4a0d35=>{var _0x588331=_0x26938b,_0x2d14cb;typeof _0x4a0d35>'u'||(this[_0x588331(0x1cf)]=_0x4a0d35,_0x4a0d35?(this[_0x588331(0xce)](_0x4a0d35),this[_0x588331(0x21d)]=_0x4a0d35[_0x588331(0x236)][_0x588331(0x185)](_0x1b5cf4=>{var _0x43bd45=_0x588331;_0x1b5cf4['routeKey']===this[_0x43bd45(0x309)]&&this[_0x43bd45(0x1af)](_0x1b5cf4);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x588331(0x318)](0x2),(_0x2d14cb=this['_socketMessageSubscription'])==null||_0x2d14cb['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x3f3e43(0xad)](){var _0x57fab9=_0x3f3e43;return this[_0x57fab9(0x329)]['getValue']();}[_0x3f3e43(0x246)](){var _0x57aa42=_0x3f3e43,_0x1c9018,_0x1ce21e;return(_0x1ce21e=(_0x1c9018=this[_0x57aa42(0x1cf)])==null?void 0x0:_0x1c9018[_0x57aa42(0x13c)])!=null?_0x1ce21e:null;}['dispose'](){var _0x24378d=_0x3f3e43;super[_0x24378d(0x2dd)](),this[_0x24378d(0x14e)][_0x24378d(0x318)](),this[_0x24378d(0x14e)][_0x24378d(0x2b0)]();}[_0x3f3e43(0x1f3)](){var _0x345e01=_0x3f3e43,_0xfd1e4a,_0x2d4ac1;this[_0x345e01(0x192)](),(_0xfd1e4a=this['_socket'])==null||_0xfd1e4a[_0x345e01(0x254)]({'cmd':j[_0x345e01(0x2b9)],'data':{'roomID':this[_0x345e01(0x309)]}}),(_0x2d4ac1=this[_0x345e01(0x1cf)])==null||_0x2d4ac1['close'](),this[_0x345e01(0x331)][_0x345e01(0x2b0)](),this[_0x345e01(0x329)][_0x345e01(0x2b0)](),this[_0x345e01(0x2dd)]();}['_onCombEvent'](_0x5733e8){var _0x2b4137=_0x3f3e43;_0x5733e8[_0x2b4137(0xbb)]===j['JOIN']?this[_0x2b4137(0xb2)](_0x5733e8):_0x5733e8['cmd']===j['RECV']&&this[_0x2b4137(0x154)](_0x5733e8);}[_0x3f3e43(0xce)](_0x59f4f2){var _0x58c54a=_0x3f3e43;this[_0x58c54a(0x329)][_0x58c54a(0x318)](0x1),_0x59f4f2[_0x58c54a(0x254)]({'cmd':j[_0x58c54a(0x1f2)],'routeKey':this[_0x58c54a(0x309)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x3f3e43(0xb2)](_0xd89ead){var _0xd45c94=_0x3f3e43,_0xcaed66;if(_0xd89ead[_0xd45c94(0x1a6)]in Vt){this[_0xd45c94(0x184)][_0xd45c94(0x39d)]({'id':re['JOIN_ROOM_FAILED'],'data':Vt[_0xd89ead[_0xd45c94(0x1a6)]]}),this[_0xd45c94(0x329)][_0xd45c94(0x318)](0x2);return;}this['_sessionStatus$'][_0xd45c94(0x318)](0x3);const _0x2cbc7f=(_0xcaed66=_0xd89ead[_0xd45c94(0x137)][_0xd45c94(0x2c6)][this['_unitID']])==null?void 0x0:_0xcaed66[_0xd45c94(0x17d)];_0x2cbc7f&&_0x2cbc7f[_0xd45c94(0x93)](_0xdc02fd=>this[_0xd45c94(0x1b2)][_0xd45c94(0x8f)](this[_0xd45c94(0x309)],_0xdc02fd));}[_0x3f3e43(0x154)](_0x4cfbf2){var _0x5a1085=_0x3f3e43;try{const _0x29d919=_0x4cfbf2[_0x5a1085(0x137)];switch(_0x29d919[_0x5a1085(0x27d)]){case _0x587846['USERS_ENTER']:this[_0x5a1085(0x30c)](_0x29d919),this[_0x5a1085(0x331)]['next'](_0x29d919);break;case _0x587846['USERS_LEAVE']:this[_0x5a1085(0x12b)](_0x29d919),this[_0x5a1085(0x331)][_0x5a1085(0x318)](_0x29d919);break;case _0x587846['CHANGESET_ACK']:case _0x587846[_0x5a1085(0x35e)]:this[_0x5a1085(0x28b)](),this[_0x5a1085(0xa3)](),this[_0x5a1085(0x331)]['next'](_0x29d919);break;case _0x587846[_0x5a1085(0x23d)]:this[_0x5a1085(0x274)][_0x5a1085(0x28d)](_0x5a1085(0x384)+JSON[_0x5a1085(0x2bf)](_0x29d919)),this['_event$'][_0x5a1085(0x318)](_0x29d919);break;case _0x587846['COMMENT_UPDATE']:this[_0x5a1085(0x2eb)]['onCommentUpdate'](_0x29d919[_0x5a1085(0x137)]),this['_event$'][_0x5a1085(0x318)](_0x29d919);break;default:this[_0x5a1085(0x331)]['next'](_0x29d919);}}catch(_0x41e24d){this[_0x5a1085(0x274)]['error'](_0x41e24d,_0x4cfbf2);}}[_0x3f3e43(0x30c)](_0x59c80e){var _0x223385=_0x3f3e43;this['_memberService'][_0x223385(0x8f)](this[_0x223385(0x309)],_0x59c80e['data']);}[_0x3f3e43(0x12b)](_0x32418d){var _0x173e3c=_0x3f3e43;this[_0x173e3c(0x1b2)][_0x173e3c(0x158)](this[_0x173e3c(0x309)],_0x32418d[_0x173e3c(0x137)][_0x173e3c(0x13c)]);}async[_0x3f3e43(0x254)](_0x3199e9,_0x57973e){var _0x13c372=_0x3f3e43;if(this[_0x13c372(0xad)]!==0x3||!this[_0x13c372(0x1cf)])throw new Error(_0x13c372(0x23c));try{_0x3199e9[_0x13c372(0x27d)]===_0x587846['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x13c372(0x295)](_0x3199e9)),this[_0x13c372(0x1cf)]['send']({'cmd':j[_0x13c372(0x1f5)],'routeKey':_0x57973e,'routeType':'','data':_0x3199e9});}catch(_0x538d0e){this[_0x13c372(0x274)][_0x13c372(0x28d)](_0x538d0e);}}['_scheduleCollaborationTimeoutTimer'](){var _0x545102=_0x3f3e43,_0x2276b8;this[_0x545102(0x35d)]=setTimeout(()=>{var _0x38f620=_0x545102;this[_0x38f620(0x35d)]=null,this[_0x38f620(0x184)][_0x38f620(0x39d)]({'id':re[_0x38f620(0x14c)]});},(_0x2276b8=this[_0x545102(0x281)][_0x545102(0x2ec)](di))!=null?_0x2276b8:fi);}[_0x3f3e43(0xa3)](){var _0x102bc7=_0x3f3e43;this[_0x102bc7(0x35d)]&&(clearTimeout(this[_0x102bc7(0x35d)]),this[_0x102bc7(0x35d)]=null);}[_0x3f3e43(0x295)](_0xb9b4e8){var _0xac898c=_0x3f3e43;if(!this[_0xac898c(0x36a)])return;const {data:_0x58966a}=_0xb9b4e8,{unitID:_0x7bf0c0,changeset:_0x5c6024}=_0x58966a,{mutations:_0x3ffc6f,type:_0x38402a}=_0x5c6024;this[_0xac898c(0x37c)]={'unitId':_0x7bf0c0,'type':_0x38402a,'startTime':performance[_0xac898c(0x13e)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x3ffc6f)};}[_0x3f3e43(0x28b)](){var _0xfcebea=_0x3f3e43;if(this[_0xfcebea(0x36a)]){if(!this[_0xfcebea(0x37c)]){this[_0xfcebea(0x274)][_0xfcebea(0x28d)](_0xfcebea(0x17f),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xfcebea(0x37c)][_0xfcebea(0x1b0)]=performance['now'](),this[_0xfcebea(0x37c)][_0xfcebea(0xc9)]=this[_0xfcebea(0x37c)][_0xfcebea(0x1b0)]-this[_0xfcebea(0x37c)][_0xfcebea(0x19c)],this[_0xfcebea(0x2a7)][_0xfcebea(0x222)](Cs,this[_0xfcebea(0x37c)]),this['_telemetryInfo']=null;}}[_0x3f3e43(0x192)](){var _0x5630eb=_0x3f3e43;this[_0x5630eb(0x37c)]=null;}};mt=As([Oe(0x2,_0x3f8704),Oe(0x3,_0x31c610),Oe(0x4,_0x5e33bf(Pe)),Oe(0x5,_0x5e33bf(Ei)),Oe(0x6,_0x5e33bf(ve)),Oe(0x7,_0x4e4cb4(_0x5af96d))],mt);const J=_0x9c0e2a(_0x3f3e43(0x367));function Nr(_0x821628){var _0x5778e2=_0x3f3e43;return _0x5778e2(0x29e)+_0x821628;}var Ps=Object[_0x3f3e43(0x16a)],ws=(_0x1ca545,_0x3cf066,_0x79687b,_0x5a7007)=>{for(var _0x241ed2=_0x5a7007>0x1?void 0x0:_0x5a7007?Ps(_0x3cf066,_0x79687b):_0x3cf066,_0x4ad419=_0x1ca545['length']-0x1,_0x1632a3;_0x4ad419>=0x0;_0x4ad419--)(_0x1632a3=_0x1ca545[_0x4ad419])&&(_0x241ed2=_0x1632a3(_0x241ed2)||_0x241ed2);return _0x241ed2;},ut=(_0x1106a4,_0x20c502)=>(_0x3f086c,_0xda8918)=>_0x20c502(_0x3f086c,_0xda8918,_0x1106a4);function Ms(_0x159f77){var _0x32c649=_0x3f3e43;const {unitID:_0x2e663b,mutations:_0x53eace}=_0x159f77;return{'unitId':_0x2e663b,'subUnitId':_0x53eace[_0x32c649(0x371)]>0x0?_0x53eace[0x0][_0x32c649(0x2a1)]['subUnitId']:null};}let it=class{constructor(_0x587257,_0x1847b2,_0x34df71){var _0x149acf=_0x3f3e43;this[_0x149acf(0x277)]=_0x587257,this['_transformService']=_0x1847b2,this['_instanceService']=_0x34df71;}[_0x3f3e43(0x349)](_0x17c357){var _0x13d4ff=_0x3f3e43,_0x36f4bd,_0xcce4dd,_0x3df571,_0x50eca4;const _0x4576b1=this[_0x13d4ff(0x277)]['get'](_0x10ce0d),{unitId:_0x16f23e,subUnitId:_0x535e61}=Ms(_0x17c357),_0x18aae2=_0x4576b1==null?void 0x0:_0x4576b1['getWorkbookSelections'](_0x16f23e)[_0x13d4ff(0x120)](),_0x4aa800=(_0xcce4dd=(_0x36f4bd=this[_0x13d4ff(0xe0)][_0x13d4ff(0xae)](_0x16f23e))==null?void 0x0:_0x36f4bd['getActiveSheet']())==null?void 0x0:_0xcce4dd[_0x13d4ff(0x186)]();if(_0x18aae2[_0x13d4ff(0x371)]===0x0||!_0x16f23e||!_0x535e61)return;const _0x3054f9=[{'id':_0x386b04['id'],'params':{'unitId':_0x16f23e,'subUnitId':_0x4aa800,'selections':_0x25b047[_0x13d4ff(0x1c3)](_0x18aae2)}}],_0x1d7917=this[_0x13d4ff(0x131)]['transformMutationsWithChangeset'](_0x17c357,_0x3054f9);if(!_0x48e3ad(_0x1d7917))throw _0x1d7917[_0x13d4ff(0x28d)];const _0x48bde0=(_0x50eca4=(_0x3df571=_0x1d7917[_0x13d4ff(0x213)][0x0])==null?void 0x0:_0x3df571['params'])==null?void 0x0:_0x50eca4[_0x13d4ff(0x343)];if(Array[_0x13d4ff(0x394)](_0x48bde0)&&_0x48bde0[_0x13d4ff(0x371)]){if(_0x48bde0['length']===_0x3054f9[0x0]['params']['selections'][_0x13d4ff(0x371)]&&_0x48bde0[_0x13d4ff(0x1ea)]((_0x4b3e90,_0x2fb9e3)=>_0x5f281a[_0x13d4ff(0x99)](_0x4b3e90['range'],_0x3054f9[0x0][_0x13d4ff(0x2a1)][_0x13d4ff(0x343)][_0x2fb9e3]['range'])))return;this[_0x13d4ff(0x277)][_0x13d4ff(0x13f)](_0x31319f)[_0x13d4ff(0x20b)](_0x386b04['id'],{'unitId':_0x16f23e,'subUnitId':_0x4aa800,'selections':_0x48bde0});}}};it=ws([ut(0x0,_0x5e33bf(_0x951761)),ut(0x1,_0x42c915),ut(0x2,_0x321c7f)],it);const _t=_0x9c0e2a(_0x3f3e43(0x1ee));var mi=(_0xb26cdc=>(_0xb26cdc[_0xb26cdc[_0x3f3e43(0x112)]=0x0]=_0x3f3e43(0x112),_0xb26cdc[_0xb26cdc['OTHER_CLIENTS_EDITING']=0x1]=_0x3f3e43(0x25c),_0xb26cdc))(mi||{});const K=_0x3f3e43(0x11a),Ls={},xs=new Set([_0x4ccd2a['id']]);function Gt(_0x2c1719,_0x42b905,_0x2e7c34,_0x145208,_0x2f9ad5){var _0x483922=_0x3f3e43,_0x2e106f,_0xd40dd1,_0x2593a9,_0x29e318;const _0x38760d=[];for(const _0x3af86d of _0x2c1719)if(xs[_0x483922(0x32c)](_0x3af86d['id'])){if(_0x38760d['length']>0x0)break;_0x38760d[_0x483922(0x1bc)](_0x3af86d);break;}else _0x38760d[_0x483922(0x1bc)](_0x3af86d);const _0x474c14=(_0xd40dd1=(_0x2e106f=_0x2f9ad5[_0x483922(0x3a5)]())==null?void 0x0:_0x2e106f[_0x483922(0xe9)])!=null?_0xd40dd1:_0x483922(0x383),_0x564b49=(_0x29e318=(_0x2593a9=_0x2f9ad5['getCurrentUser']())==null?void 0x0:_0x2593a9['memberID'])!=null?_0x29e318:_0x483922(0x383);return{'changeset':{'unitID':_0x42b905,'type':_0x266dba(_0x2e7c34['getUnitType'](_0x42b905)),'baseRev':_0x145208[_0x483922(0x37b)](_0x42b905),'revision':0x0,'userID':_0x474c14,'memberID':_0x564b49,'mutations':_0x38760d},'pendingMutations':_0x2c1719[_0x483922(0x126)](_0x38760d[_0x483922(0x371)])};}function ks(_0x4d390a,_0x5b8976,_0x1d60d8,_0x3e9efc,_0xa84357){var _0x2bf9aa=_0x3f3e43,_0x5a8d62,_0x16ab93,_0x2c9d25,_0x43084e;const _0x3b4c17=[_0x4d390a[_0x2bf9aa(0x123)]((_0x317f91,_0x28f15f)=>{var _0x4ccbe7=_0x2bf9aa,_0x21daa3;const {id:_0x25fc67}=_0x317f91,{id:_0x317546,type:_0x522a88}=_0x28f15f,_0x2fb593=(_0x21daa3=_0x317f91[_0x4ccbe7(0x2a1)])!=null?_0x21daa3:{'actions':null},_0x1ba6d6=_0x28f15f[_0x4ccbe7(0x2a1)];if(_0x25fc67&&_0x25fc67!==_0x317546)throw new Error(_0x4ccbe7(0x2ab)+_0x25fc67+_0x4ccbe7(0x206)+_0x317546+'.');return{..._0x317f91,'id':_0x317546,'type':_0x522a88,'params':{'unitId':_0x1ba6d6[_0x4ccbe7(0x18d)],'textRanges':_0x1ba6d6[_0x4ccbe7(0x235)],'actions':_0x1c8cff['compose'](_0x2fb593[_0x4ccbe7(0x147)],_0x1ba6d6[_0x4ccbe7(0x147)])}};},{})],_0x3d1e7e=(_0x16ab93=(_0x5a8d62=_0xa84357[_0x2bf9aa(0x3a5)]())==null?void 0x0:_0x5a8d62[_0x2bf9aa(0xe9)])!=null?_0x16ab93:_0x2bf9aa(0x383),_0xecc1ec=(_0x43084e=(_0x2c9d25=_0xa84357[_0x2bf9aa(0x3a5)]())==null?void 0x0:_0x2c9d25['memberID'])!=null?_0x43084e:_0x2bf9aa(0x383);return{'changeset':{'unitID':_0x5b8976,'type':_0x266dba(_0x1d60d8[_0x2bf9aa(0x233)](_0x5b8976)),'baseRev':_0x3e9efc[_0x2bf9aa(0x37b)](_0x5b8976),'revision':0x0,'userID':_0x3d1e7e,'memberID':_0xecc1ec,'mutations':_0x3b4c17},'pendingMutations':[]};}function Ii(_0x48fcb4,_0x402eef){var _0xb33663=_0x3f3e43;const _0x239d28=new _0x12aa98(0x1);return setTimeout(()=>_0x239d28[_0xb33663(0x318)](_0x402eef),_0x48fcb4),_0x239d28[_0xb33663(0x291)]()['pipe'](_0x434a8(0x1));}const $s={'id':_0x2f7167['id'],'type':_0x1d2361[_0x3f3e43(0x2da)],'params':{}};var Hs=Object['getOwnPropertyDescriptor'],Se=(_0xf6bba3,_0xeb7d88,_0x366f50,_0x7bea40)=>{for(var _0x5a7858=_0x7bea40>0x1?void 0x0:_0x7bea40?Hs(_0xeb7d88,_0x366f50):_0xeb7d88,_0x592d59=_0xf6bba3['length']-0x1,_0x21abef;_0x592d59>=0x0;_0x592d59--)(_0x21abef=_0xf6bba3[_0x592d59])&&(_0x5a7858=_0x21abef(_0x5a7858)||_0x5a7858);return _0x5a7858;},w=(_0x27c9f3,_0x3e26a1)=>(_0xdfdb8c,_0x5e2f50)=>_0x3e26a1(_0xdfdb8c,_0x5e2f50,_0x27c9f3),Si=(_0x5de592=>(_0x5de592[_0x3f3e43(0x3aa)]=_0x3f3e43(0xfe),_0x5de592[_0x3f3e43(0x226)]=_0x3f3e43(0x1da),_0x5de592[_0x3f3e43(0xf3)]=_0x3f3e43(0x149),_0x5de592[_0x3f3e43(0x189)]=_0x3f3e43(0x249),_0x5de592[_0x3f3e43(0x38f)]=_0x3f3e43(0x263),_0x5de592[_0x3f3e43(0xc7)]=_0x3f3e43(0x25b),_0x5de592[_0x3f3e43(0xbd)]=_0x3f3e43(0x12e),_0x5de592[_0x3f3e43(0x2e5)]=_0x3f3e43(0x94),_0x5de592))(Si||{});const gi=0xea60;class ge{constructor(_0x15670b,_0x146930,_0x147113,_0x105ba0,_0x168fae,_0x30d804,_0x5a6e98,_0xb4353a,_0x8385f9){var _0x537870=_0x3f3e43;D(this,_0x537870(0x2de),null),D(this,'_pendingMutations',[]),(this[_0x537870(0x196)]=_0x15670b,this[_0x537870(0x317)]=_0x146930,this['_handler']=_0x168fae,this[_0x537870(0x2e4)]=_0x30d804,this[_0x537870(0x302)]=_0x5a6e98,this['_revisionService']=_0xb4353a,this[_0x537870(0x2aa)]=_0x8385f9,this[_0x537870(0x2de)]=_0x147113,this['_pendingMutations']=_0x105ba0);}[_0x3f3e43(0x342)](_0x59e36e){var _0x330059=_0x3f3e43;const _0x3093d6=this[_0x330059(0x1e1)][_0x330059(0x37b)](this[_0x330059(0x196)]);return _0x59e36e[_0x330059(0x324)]>_0x3093d6+0x1?(this[_0x330059(0x1db)][_0x330059(0x255)]({'from':_0x3093d6,'to':_0x59e36e[_0x330059(0x324)]-0x1}),!0x0):!0x1;}[_0x3f3e43(0x378)](_0x349234){var _0x3bdc01=_0x3f3e43;this[_0x3bdc01(0x302)][_0x3bdc01(0xc8)](this['unitID'],_0x349234);}[_0x3f3e43(0x341)](_0x2702af){var _0x581980=_0x3f3e43,_0x42e9ff,_0x504cd0;(_0x504cd0=(_0x42e9ff=this[_0x581980(0x1db)])[_0x581980(0x1e2)])==null||_0x504cd0[_0x581980(0x1df)](_0x42e9ff,_0x2702af);}['_transformIMECache'](_0x51bb74){var _0x2d53ef=_0x3f3e43,_0x15d7f0,_0x42014b;return(_0x42014b=(_0x15d7f0=this[_0x2d53ef(0x1db)])[_0x2d53ef(0x2f7)])==null?void 0x0:_0x42014b[_0x2d53ef(0x1df)](_0x15d7f0,_0x51bb74);}[_0x3f3e43(0xd3)](_0x59d95b){var _0x40cdbd=_0x3f3e43,_0x363cfa,_0x8fbc49;return(_0x8fbc49=(_0x363cfa=this['_handler'])[_0x40cdbd(0x315)])==null?void 0x0:_0x8fbc49[_0x40cdbd(0x1df)](_0x363cfa,_0x59d95b);}['_transformRemoteChangesetByIMECache'](_0x58d8b5){var _0x1d3f66=_0x3f3e43,_0x122a5c,_0x4305c2,_0x6cb6b5;return(_0x6cb6b5=(_0x4305c2=(_0x122a5c=this[_0x1d3f66(0x1db)])[_0x1d3f66(0x15d)])==null?void 0x0:_0x4305c2[_0x1d3f66(0x1df)](_0x122a5c,_0x58d8b5))!=null?_0x6cb6b5:_0x58d8b5;}[_0x3f3e43(0x16b)](_0x2e8ed4){var _0x1e8844=_0x3f3e43,_0x344d01,_0x21790e,_0x4e9d10;return(_0x4e9d10=(_0x21790e=(_0x344d01=this[_0x1e8844(0x1db)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x21790e[_0x1e8844(0x1df)](_0x344d01,_0x2e8ed4))!=null?_0x4e9d10:_0x2e8ed4;}[_0x3f3e43(0x360)](_0x488657){var _0x13cbe1=_0x3f3e43,_0x9eea39,_0x5749c7;if(this[_0x13cbe1(0x317)]===Q['UNIVER_DOC']){const {unitID:_0x570728,mutations:_0x102311,memberID:_0x2c06ec}=_0x488657,_0x56abf4=_0x102311[_0x13cbe1(0x371)]>0x0?_0x102311[0x0][_0x13cbe1(0x2a1)][_0x13cbe1(0x235)]:[];Array[_0x13cbe1(0x394)](_0x56abf4)&&_0x56abf4[_0x13cbe1(0x371)]>0x0&&((_0x5749c7=(_0x9eea39=this[_0x13cbe1(0x1db)])[_0x13cbe1(0x272)])==null||_0x5749c7[_0x13cbe1(0x1df)](_0x9eea39,{'unitID':_0x570728,'memberID':_0x2c06ec,'textRanges':_0x56abf4}));}}[_0x3f3e43(0x201)](){var _0x5b075b=_0x3f3e43,_0x3b65fc;(_0x3b65fc=this['_localCacheService'])==null||_0x3b65fc[_0x5b075b(0x151)](this[_0x5b075b(0x196)],this[_0x5b075b(0x317)],this['_awaitingChangeset'],this[_0x5b075b(0x267)]);}[_0x3f3e43(0x1c0)](){var _0x3642b7=_0x3f3e43;return this[_0x3642b7(0x1e1)][_0x3642b7(0x37b)](this[_0x3642b7(0x196)]);}[_0x3f3e43(0x39b)](){var _0x3bf4f=_0x3f3e43;this['_revisionService']['incrementRevOfUnit'](this[_0x3bf4f(0x196)]);}[_0x3f3e43(0x39e)](_0xd80c7a){var _0x31b401=_0x3f3e43,_0x26379d;let _0x4cd509=this[_0x31b401(0x18b)](_0xd80c7a);_0x4cd509=this[_0x31b401(0x16b)](_0x4cd509);const _0x48701e=_0x353031(_0x4cd509[_0x31b401(0x1bf)],this['_commandService'],{'fromCollab':!0x0});if(!_0x48701e[_0x31b401(0x381)])throw _0x48701e[_0x31b401(0x28d)]instanceof Error?_0x48701e['error']:new Error((_0x26379d=_0x48701e['error'])!=null?_0x26379d:_0x31b401(0x202));this[_0x31b401(0x10f)](_0x4cd509),this[_0x31b401(0xd3)](_0x4cd509),this[_0x31b401(0x378)](_0xd80c7a),this[_0x31b401(0x341)](_0x4cd509),this[_0x31b401(0x360)](_0x4cd509),this[_0x31b401(0x39b)]();}}let be=class extends ge{constructor(_0x77e2d3,_0x15e1f7,_0xaf3a10,_0x4700b9,_0x287c0d,_0x2c34bc,_0x47ecd3,_0x401b99,_0x2e34bb,_0x2d3f0f){var _0x464c2e=_0x3f3e43;super(_0x77e2d3,_0x15e1f7,null,[],_0xaf3a10,_0x47ecd3,_0x2c34bc,_0x4700b9,_0x2d3f0f),D(this,_0x464c2e(0x1f6),_0x464c2e(0x1da)),(this[_0x464c2e(0x277)]=_0x287c0d,this['_logService']=_0x401b99,this['_transformService']=_0x2e34bb,this[_0x464c2e(0x33c)]=_0x2d3f0f);}[_0x3f3e43(0x2c4)](_0x572aef){var _0x19eb8a=_0x3f3e43;const _0x180225=this['_injector'][_0x19eb8a(0x2a0)](ae,this['unitID'],this['type'],[_0x572aef],this[_0x19eb8a(0x1db)]);return _0x180225[_0x19eb8a(0x2d8)](),_0x180225[_0x19eb8a(0x201)](),_0x180225;}[_0x3f3e43(0x19d)](_0x129ec7){var _0x13796b=_0x3f3e43;if(this[_0x13796b(0x342)](_0x129ec7))return this[_0x13796b(0x277)][_0x13796b(0x2a0)](ee,this['unitID'],this[_0x13796b(0x317)],null,[],null,[_0x129ec7],this[_0x13796b(0x1db)]);try{const _0x2c52a1=this['_transformService'][_0x13796b(0x182)](_0x129ec7,[$s]);if(_0x48e3ad(_0x2c52a1)){const {c1Prime:_0xfb7242}=_0x2c52a1;return this[_0x13796b(0x39e)](_0xfb7242),this;}throw _0x2c52a1[_0x13796b(0x28d)];}catch(_0x55735a){return this[_0x13796b(0x274)]['error'](_0x55735a),this[_0x13796b(0x2d5)](!0x1);}}[_0x3f3e43(0x2d5)](_0x557bca){var _0x5e0208=_0x3f3e43;return this['_injector'][_0x5e0208(0x2a0)](ue,this['unitID'],this[_0x5e0208(0x317)],null,[],this['_handler'],_0x557bca);}['onRemoteAck'](){var _0x20f0f8=_0x3f3e43;throw new Error(_0x20f0f8(0x34b));}[_0x3f3e43(0x357)](){var _0x5543b2=_0x3f3e43;throw new Error(_0x5543b2(0x2f0));}[_0x3f3e43(0x1c2)](){return this;}['toggleOffline'](){var _0x2715ad=_0x3f3e43;return this[_0x2715ad(0x277)]['createInstance'](de,this[_0x2715ad(0x196)],this['type'],null,[],this[_0x2715ad(0x1db)]);}['toggleOnline'](){return this;}[_0x3f3e43(0x1dc)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3f3e43(0x22f)](){var _0x48473a=_0x3f3e43;const _0x464514=this['_revisionService']['getCurrentRevOfUnit'](this[_0x48473a(0x196)]);return this[_0x48473a(0x1db)][_0x48473a(0x255)]({'from':_0x464514,'to':0x0}),this[_0x48473a(0x277)][_0x48473a(0x2a0)](ee,this['unitID'],this['type'],null,[],null,[],this[_0x48473a(0x1db)]);}};be=Se([w(0x3,_0x5e33bf(_0x27e825)),w(0x4,_0x5e33bf(_0x951761)),w(0x5,_0x227e9e),w(0x6,_0x31319f),w(0x7,_0x3f8704),w(0x8,_0x42c915),w(0x9,_0x4e4cb4(J))],be);function _0x3173(){var _0x33bc9c=['/block/','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Hasher','SYNCED','fromCollab','_sendHeartbeatTimer','HEARTBEAT_INTERVAL','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','saveSnapshot','APPLY_NON_SEQUENTIAL_REVISION','_rescheduleHeartbeat','_members','fetchMiss','_applyRemoteChangeset','prototype','close$','getUnitType','ENTITLE_REPORT_LIMIT_EXCEED','textRanges','message$','__Key__','image/jpg','_substituteRedoStack','_handlerCallback','getDeserializedSheetBlock','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','MSG_FOR_ERROR','AES','substr','_transformStack','Failed\x20to\x20update\x20permission\x20point','Utf8','changesets','submit\x20changeset\x20error!','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getMemberID','Undefined','SNAPSHOT_URL_KEY','awaiting','APPLY_DUPLICATED','HttpExport','loadOfflineData','encodeURIComponent','UnitSnapshot','_redoStacks','getSheetBlock','objectType','getInterceptPoints','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','send','onMissingChangesets','socket\x20open.','_remoteChangesetQueue','updateCursorEvent','_singleActiveUnitService','_onConnectionOpen','fetch_missing','OTHER_CLIENTS_EDITING','getCollabEntity$','univer-pro.collaboration-client.network-condition.service','_exhaustRemoteChangesetQueue','_createSocket','x-univer-host','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','awaiting_with_pending','headers','href','readyForCollab','_pendingMutations','BlockCipherMode','post','UNIVER_DOC','key','add','infoRsp','LIVESHARE_REQUEST_HOST','reqId','Univer','FileId','onSyncEditingCollabCursor','string','_logService','HMAC','[CollaborationSessionService]:\x20socket\x20error','_injector','awaitingChangeset','updatePermissionObjEvent','_hash','HEARTBEAT','compute','eventID','_getUndoStack','FAIL','WECHAT_HAS_BEEN_BOUND','_configService','PasswordBasedCipher','focused$','_onLocalMutation','getCollabEntity','/new_changes','image/png','mode','CHANGESET_REVISION_CONFILICT','_prevBlock','_stopTelemetryCollaborationNewChangeset','_init','error','onlyLocal','_onOffline','CHANGESET_REJ','asObservable','authzUrl','YUUMI_CONNECTOR_URL_NOT_FOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_startTelemetryCollaborationNewChangeset','IDLE','url','_getRedoStack','leaveEvent','subject','src','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UNISCRIPT_RUN','unit-cache-','crypto','createInstance','params','isPermissionRej','_getAPIPrefixPath','_getUploadFileURL','append','confirm','_telemetryService','location','onLocalMutation','_localCacheService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','{fileID}','UNIVER_PROJECT','_onRemoteACK','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','complete','PAYMENT_CHANNEL_NOT_SUPPORT','hasher','YUUMI_NO_CUBOID_FOR_QUESTION','getTypeOfUnitAdded$','UserProfileImg','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','SNAPSHOT_HAS_BEEN_REMOVED','_parse','LEAVE','UNIVER_UNKNOWN','UNDEFINED','_doReset','[PendingState]:\x20received\x20rejection.','YUUMI_URL_COL_OUT_OF_RANGE','stringify','HttpImport','INVALID_ARGUMENT','_state','_initRequestHeader','appendMutation','/universer-api/snapshot','roomInfos','fetchMissingChangesets','_toggleOnline','mixIn','processBlock','kdf','_commentUpdate$','_entityInit$','c2Prime','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_collabSessionService','sigBytes','_showConflictNotification','_type','COMPRESS_MUTATION_SEND','_onConflict','error$','toggleOffline','_schedule','Base64','MUTATION','REDEMPTION_CODE_HAS_BEEN_CREATED','onTransformRemoteChangesetByStateCache','dispose','_awaitingChangeset','ciphertext','_compressMutationService','Error\x20on\x20receiving\x20event','363070YUuYKp','default','_commandService','OFFLINE','onStarting','Base','listCollaborators','image/gif','catch','_commentService','getConfig','_retryCount','unsubscribe','joinEvent','[SyncedState]:\x20received\x20rejection.','_createHmacHelper','_onFetchMissResult','LIVESHARE_TERMINATE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ENTITLE_NEED_BILLING_ADDRESS','disposeWithMe','onTransformIME','RETRY_CONNECTING_MAX_COUNT','410iLtqao','create','/allowed','_getAPIPrefix','collaMsg','UPDATE_CURSOR','_doCryptBlock','[FetchMissState]','JOIN_ROOM_PERMISSION_DENIED','_undoRedoService','46836gNMkYd','onload','CLOSE_ROOM','APPLY_REVISION_CONFILICT','OTHER_CLIENT_EDITING','failed\x20to\x20apply\x20missed\x20changesets!','_unitID','_toggleOffline','updatePermissionPoint','_onUserJoin','_HTTPService','downloadEndpointUrl','setConfig','session.room-not-exists','LIVESHARE_NEW_HOST','reset','values','csShouldRetryEvent','onTransformState','avatar','type','next','_invKeySchedule','initWorkbookPermissionChange','encrypt','/collaborator','socket\x20close','getTime','_updateStatus','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_isPermissionRej','_doCreateSocket','SUBMIT_CHANGESET','revision','connection\x20error','_socketService','_changesetSessionId','_resendWithTimeout','_sessionStatus$','requireSession','_status$','has','DATA_SOURCE_TOO_LARGE','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','univer-pro.collaboration-client-socket-service','_emitMembers','_event$','&source=','JOIN_ROOM_NOT_EXISTS','withCredentials','responseType','disableLocalCache','_change$','update','/universer-api/uniscript','&assign=','REDEMPTION_CODE_FULLY_REDEEMED','localCacheService','_undoStacks','byteLength','UNIVER_COLLABORATION_CLIENT_PLUGIN','formatter','_transformSelections','_checkMissing','selections','&to=','NOT_FOUND','finalize','localeService','_queuedRemoteChangesets','transformSelections','ERROR_AGAIN','[SyncedState]:\x20received\x20acknowledgement.','/universer-api/file/{fileID}/sign-url','msCrypto','CONNECTOR_DATA_TOO_LARGE','USER_IS_ANONYMOUS','enc','_startCollaboration','REDEMPTION_CODE_INACTIVE','random','[DataLoaderService]','APPLY_PERMISSION_DENIED','MOBILE_HAS_BEEN_BOUND','onRemoteRej','loadSheet','_keySchedule','then','_timeoutTimer','_acknowledgedAwaitingChangeset','_collaborationTimeoutTimer','CHANGESET_SHOULD_RETRY','session.room-full','_syncEditingCollabCursor','_state$','__esModule','keySize','originalMeta','enableSingleActiveInstanceLock','USERS_ENTER','collaboration-client.local-cache-service','PERMISSION_DENIED','[OfflineState]:\x20received\x20acknowledgement.','_shouldReportTelemetry','_localeService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getMember','_waitForHeartbeatResponse','signUrlServerUrl','ENTITLE_CAN_NOT_BUY_LOWER_OTP','length','algo','_univerInstanceService','_replaceFileID','max','lib','routeKey','_transformUndoredo','[OfflineState]:\x20received\x20rejection.','SerializableCipher','getCurrentRevOfUnit','_telemetryInfo','_waitCount','DEFAULT_FILE_NAME','addHandlerCallback','getRoom','result','onCommentUpdate','unknown','save\x20fail\x20reason\x20is\x20','_getDownloadEndpointURL','origin','_doFinalize','_nDataBytes','210566xRIwsc','createEncryptor','MD5','UNAUTHENTICATED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_replayCachedMutations','AWAITING_WITH_PENDING','_entities','_changesetReqId','LIVESHARE_OPERATION','ENSURE_SNAPSHOT_EXECUTION','isArray','/-/object/list','HmacMD5','_httpService','getImageSourceCache','_cipher','ws://127.0.0.1:8000/universer-api/comb/connect','_incrementRevisionNumber','enableOfflineEditing','emitEvent','_executeRemoteChangeset','getTypeOfUnitDisposed$','file','LOGIN_TOKEN_PROCESSING_FAILED','_append','_reverseMap','_config','getCurrentUser','iterations','charAt','sin','_clearTimeoutTimer','NOT_COLLAB','_data','_hasher','_initDependencies','liveShareNewHost','ENTITLE_INSUFFICIENT_QUOTA','_candidateSocket','INVALID_INVITE_CODE','WordArray','UnitEmbedded','CipherParams','_updateState','execute','interceptor','updateMember','[CollaborationUndoRedoService]','_removeRoom','/rev/','forEach','offline','/universer-api/stream/file/upload','REDEMPTION_INVALID_CODE','randomBytes','USER_NOT_FOUND','equals','enableAuthServer','init','OpenSSL','sid','_clearHeartbeatTimer','EvpKDF','collaboratorID','retryConnectingInterval','updateCollaborator','_clearCollaborationTimeoutTimer','_tryReconnect','setCurrentUser','_oKey','createSocket','requestParams','encode','onSendChangeset','_decreaseWaiting','sessionStatus$','sessionStatus','getUnit','_initUnitPermissionChange','_onRemoteRetry','_sender','_onJoinRoomEvent','REDEMPTION_USER_NOT_ELIGIBLE','getValue','setShowComponents','_minBufferSize','map','toggleOnline','USERS_LEAVE','/universer-api/comb','cmd','status$','CONFLICT','toString','_resendTimeout','SNAPSHOT_INVALID_SNAPSHOT','_snapshotService','_registerDependencies','INVITE_CODE_HAS_BEEN_UES','_clearUndo','BlockCipher','fetchThroughInterceptors','FETCH_MISS','transformUndoRedo','duration','_map','fromCharCode','NoPadding','replace','_joinRoom','_socketReady','batchAllowed','loginUrlKey','delete','_transformStateCache','saveSheetBlock','image/jpeg','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_DEC_XFORM_MODE','COMPRESS_MUTATION_APPLY','collaboration_new_changeset','charCodeAt','words','_xformMode','getUnitId','INTERNAL_ERROR','floor','_instanceService','onCommandExecuted','POST','_onConnectionFailed','workbook','objects','ivSize','EMAIL_VERIFY_CODE_MISMATCH','splice','userID','pad','BufferedBlockAlgorithm','PERSON','Malformed\x20UTF-8\x20data','_substituteUndoStack','online$','objectID','LIVESHARE_FETCH_OPERATIONS','target','PENDING','$super','LICENSE_IMPORT_SIZE_EXCEEDED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','title','extend','buffer','_mode','_getCtorByUniverType','/universer-api/snapshot/','shouldCloseConn','not_collab','/fetchmissing?from=','Cipher','_createInitialState','_keyPriorReset','_createHandler','_process','/universer-api/oidc/authpage','encryptBlock','pipe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getFocusedUnit','_iKey','hostname','readInt32LE','/object/','[CollaborationSessionService]','_transformIMECache','sendChangesetTimeout','set','NO_OTHER_CLIENTS_EDITING','_unitInfo$','onRemoteAck','getRandomValues','_onRemoteRejected','onStateChange','padding','/-/object/-/batch_allowed','collaboration-client.config','enableCollaboration','7YUXYBh','_sessions','_lockTransition','\x20in\x20_schedule.','getCurrentSelections','_collaborationPaused','abs','reduce','Encryptor','newCsEvent','slice','body','APPLY_REJECT','getUnitOnRev','JOIN_ROOM_FULL','_onUserLeave','_clearScheduledTask','apply','conflict','reconnect','PY_RUNTIME_SCRIPT_ERROR','_transformService','function','state','LICENSE_MAX_UNITS_EXCEEDED','saveImage','_transitionLocked','data','resolve','_tryEnsureSocket','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','__creator','memberID','COMMENT_UPDATE','now','get','UUID','_fetchMissChangesets','objectActions','INVITE_CODE_ALREADY_BOUND','updateSnapshot','CHANGESET_ACK','onMissedChangesetFetched','actions','/unit/','pending','snapshotServerUrl','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SUBMIT_CHANGESET_TIMEOUT','socket$','dispose$','INVITE_CODE_REQUIRED','TOO_MANY_REQUESTS','updateOfflineData','LICENSE_DISTRO_REJECTED','indexOf','_onRecvEvent','uniscriptRunEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','YUUMI_UNABLE_LOAD_URL','removeMember','ALREADY_EXISTS','GLOBAL_ROOMS_CNT_EXCEEDS','event$','session','onTransformRemoteChangesetByIMECache','list','_sendingTimer','permissionRejEvent','[UniverCollaborationClientPlugin]','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/universer-api/user/session-ticket','_imageSourceCache','ERROR_IMAGE_TYPE','saveChangeset','collabWebSocketUrl','format','MOBILE_VERIFY_CODE_MISMATCH','getOwnPropertyDescriptor','_transformRemoteChangesetByStateCache','JOIN_ROOM_FAILED','/resources','unitId\x20is\x20not\x20found','_socket$','pauseCollaboration','2621896tbuxLc','salt','findIndex','YUUMI_ALL_TABLES_IS_INVALID','ceil','[OfflineState]:\x20received\x20changeset.','ENTITLE_CHAT_LIMIT_EXCEED','YUUMI_AI_RUN_FAILED','UNRECOGNIZED','exports','Hex','/role','members','_userManagerService','[CollaborationSession]','put','YUUMI_ASYNCIO_CANCELLED','transformMutationsWithChangeset','HmacSHA1','_collaborationUIEventService','subscribe','getSheetId','_sheetTransformSelectionsService','_members$','AWAITING','createDecryptor','_transformRemoteChangesetByIMECache','_resendTimer','unitId','_getLoginPath','registerHTTPInterceptor','[CollaborationEntity]','_roomCreated$','_throwTelemetryCollaborationNewChangeset','baseRev','_ENC_XFORM_MODE','concat','unitID','CURRENT_STATUS_CANNOT_OPERATE','_getSendChangesetTimeout','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ONLINE','AUTHORIZE_CODE_ILLEGAL','startTime','onRemoteChangeset','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','UNKNOWN_CODE','_permissionService','closeSession','SHOULD_CLOSE_CONN','createCollaborator','open$','parse','code','?url=','UNIVER_SLIDE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','pluginName','reject','_sendHeartbeat','action','listRoles','_onCombEvent','stopTime','size','_memberService','_onMessage','transformChangesets','clear','76756BaoOgO','ENTITLE_DUP_SUBSCRIPTION','USER_NOT_INVITED_CODE','blockSize','name','refreshPermission','push','_roomMembers','_clearRetryConnectingTimer','mutations','_getCurrentRevision','commentUpdate$','onRemoteRetry','deepClone','clamp','_createInitialStateImpl','clone','_getSignURL','session.join-failed','SOCKET_FAILED_RETRY','startsWith','putCollaborators','ERROR_IMAGE','setWaitCount','\x0aCurrent:\x20','_socket','_iv','_nRounds','UNKNOWN_CMD','cfg','RECV','getLatestCsReqIdBySid','entries','HELLO','loadDoc','YUUMI_RATE_OVER_LIMIT','synced','_handler','resend','_disableEditing','collaborators','call','sheets','_revisionService','onTransformSelections','allowed','_eventService','socketService','deleteCollaborator','PERMISSION_REJ','loadUnit','loadUnitOfRevision','every','debug','JOINING','entityInit$','univer-pro.collaboration-client.single-active-unit-service','StreamCipher','Could\x20not\x20dynamically\x20require\x20\x22','_key','JOIN','close','snapshot','INGEST','status','auth.needGotoLoginAlert','BASE64','csRejEvent','5380794sjEEZC','_submitChangeset','_scheduleCompleteTimestamp','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/universer-api/authz','find','c1Prime','_updateLocalCache','[CollaborationState]:\x20apply\x20error!','SOCKET_FAILED','_networkConditionService','LOGIN_FAILED','\x20-\x20','UNIVER_SHEET','_collaborationSessionService','_initMergeInterceptor','SHA1','executeCommand','rev','_retryConnectingTimer','getSnapshotAPIPath','Decryptor','transformStack\x20failed!','_createHelper','hasOwnProperty','m2Prime','_initCloseConn','decrypt','state$','commentUpdateEvent','_unlockTransition','_onRemoteChangeset','join','UPDATE_PERMISSION_OBJ','from','_socketMessageSubscription','_snapshotServerService','NEW_CHANGESETS','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','980913WZbXIw','capture'];_0x3173=function(){return _0x33bc9c;};return _0x3173();}let ae=class extends ge{constructor(_0x180359,_0x395c94,_0x31e10d,_0x4e6ce7,_0x5ede7c,_0x524298,_0x487e24,_0x3a605b,_0x58800c,_0x521490,_0x2f5bc8,_0x3cb786,_0x49fe99,_0x4fec6a){var _0x39818b=_0x3f3e43;super(_0x180359,_0x395c94,null,_0x31e10d,_0x4e6ce7,_0x58800c,_0x49fe99,_0x524298,_0x4fec6a),D(this,_0x39818b(0x1f6),_0x39818b(0x149)),D(this,_0x39818b(0x1fc),null),D(this,_0x39818b(0x15f),null),(this[_0x39818b(0x277)]=_0x5ede7c,this['_memberService']=_0x487e24,this[_0x39818b(0x274)]=_0x3a605b,this['_configService']=_0x521490,this['_transformService']=_0x2f5bc8,this[_0x39818b(0x373)]=_0x3cb786);}[_0x3f3e43(0x2c4)](_0x2430dd){var _0x145ac4=_0x3f3e43;return this['_pendingMutations'][_0x145ac4(0x1bc)](_0x2430dd),this[_0x145ac4(0x201)](),this;}[_0x3f3e43(0x19d)](_0x238101){var _0x22a3b9=_0x3f3e43;if(this[_0x22a3b9(0x342)](_0x238101))return this['_clearScheduledTask'](),this[_0x22a3b9(0x277)][_0x22a3b9(0x2a0)](ee,this[_0x22a3b9(0x196)],this[_0x22a3b9(0x317)],null,this[_0x22a3b9(0x267)],null,[_0x238101],this[_0x22a3b9(0x1db)]);try{const _0xe54b69=this['_transformService'][_0x22a3b9(0x182)](_0x238101,this[_0x22a3b9(0x267)]);if(_0x48e3ad(_0xe54b69)){const {c1Prime:_0x5f020f,m2Prime:_0x2fdfc3}=_0xe54b69;this[_0x22a3b9(0x39e)](_0x5f020f);const _0x369957=this[_0x22a3b9(0x277)][_0x22a3b9(0x2a0)](ae,this['unitID'],this['type'],_0x2fdfc3,this[_0x22a3b9(0x1db)]);this[_0x22a3b9(0x12c)]();const _0x5e8510=new Date()[_0x22a3b9(0x31e)](),_0x13aebe=this['_scheduleCompleteTimestamp']?Math[_0x22a3b9(0x375)](this[_0x22a3b9(0x1fc)]-_0x5e8510,0x0):this[_0x22a3b9(0x198)]();return _0x369957['_schedule'](_0x13aebe),_0x369957;}throw _0xe54b69[_0x22a3b9(0x28d)];}catch(_0x5c33b0){return this[_0x22a3b9(0x274)][_0x22a3b9(0x28d)](_0x5c33b0),this[_0x22a3b9(0x2d5)](!0x1);}}[_0x3f3e43(0x114)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3f3e43(0x357)](){var _0x29881a=_0x3f3e43;throw new Error(_0x29881a(0x2bd));}[_0x3f3e43(0x1c2)](){return this;}[_0x3f3e43(0x2d7)](){var _0x1b0ea0=_0x3f3e43;return this[_0x1b0ea0(0x12c)](),this[_0x1b0ea0(0x277)]['createInstance'](de,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x1b0ea0(0x1db)]);}[_0x3f3e43(0xb8)](){return this;}['_schedule'](_0x7ee0f7){var _0xdee361=_0x3f3e43;const _0x261e43=_0x7ee0f7!=null?_0x7ee0f7:this[_0xdee361(0x198)]();this[_0xdee361(0x1fc)]=new Date()[_0xdee361(0x31e)]()+_0x261e43,this['_sendingTimer']=setTimeout(()=>{var _0x31a690=_0xdee361;this[_0x31a690(0x12c)]();let _0x2be656=null;switch(this[_0x31a690(0x317)]){case Q[_0x31a690(0x207)]:{_0x2be656=Gt(this[_0x31a690(0x267)],this[_0x31a690(0x196)],this[_0x31a690(0x373)],this[_0x31a690(0x1e1)],this[_0x31a690(0x1b2)]);break;}case Q[_0x31a690(0x26a)]:{this['_pendingMutations'][_0x31a690(0x1ea)](_0x467df3=>_0x467df3['id']===_0x53e688['id'])?_0x2be656=ks(this[_0x31a690(0x267)],this[_0x31a690(0x196)],this['_univerInstanceService'],this[_0x31a690(0x1e1)],this[_0x31a690(0x1b2)]):_0x2be656=Gt(this[_0x31a690(0x267)],this['unitID'],this[_0x31a690(0x373)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x31a690(0xf6)+this[_0x31a690(0x317)]+_0x31a690(0x11f));}const {changeset:_0x95b15a,pendingMutations:_0x2e6503}=_0x2be656;this[_0x31a690(0x1db)][_0x31a690(0xaa)](_0x95b15a);const _0x3cca18=_0x2e6503[_0x31a690(0x371)]?this[_0x31a690(0x277)][_0x31a690(0x2a0)](oe,this[_0x31a690(0x196)],this[_0x31a690(0x317)],_0x95b15a,_0x2e6503,this['_handler'],void 0x0):this[_0x31a690(0x277)][_0x31a690(0x2a0)](le,this[_0x31a690(0x196)],this[_0x31a690(0x317)],_0x95b15a,this['_handler']);_0x3cca18[_0x31a690(0x201)](),this[_0x31a690(0x1db)][_0x31a690(0x117)](this,_0x3cca18);},_0x261e43);}['_getSendChangesetTimeout'](){var _0x4da8b2=_0x3f3e43,_0x20987d;const _0x2d5083=this['_configService'][_0x4da8b2(0x2ec)](K);return(_0x20987d=_0x2d5083==null?void 0x0:_0x2d5083[_0x4da8b2(0x110)])!=null?_0x20987d:ps;}[_0x3f3e43(0x1dc)](){var _0x31b977=_0x3f3e43;throw new Error(_0x31b977(0x245));}['_clearScheduledTask'](){var _0x46f663=_0x3f3e43;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x46f663(0x15f)]=null);}[_0x3f3e43(0x2d5)](_0x55c40f){var _0x12db5c=_0x3f3e43;return this[_0x12db5c(0x12c)](),this[_0x12db5c(0x277)]['createInstance'](ue,this[_0x12db5c(0x196)],this[_0x12db5c(0x317)],null,this['_pendingMutations'],this[_0x12db5c(0x1db)],_0x55c40f);}};ae=Se([w(0x4,_0x5e33bf(_0x951761)),w(0x5,_0x5e33bf(_0x27e825)),w(0x6,_0x5e33bf(Pe)),w(0x7,_0x3f8704),w(0x8,_0x31319f),w(0x9,_0x31c610),w(0xa,_0x42c915),w(0xb,_0x321c7f),w(0xc,_0x227e9e),w(0xd,_0x4e4cb4(J))],ae);let le=class extends ge{constructor(_0x385fd4,_0x1e0f03,_0x33655b,_0x40a305,_0x28e75c,_0x170472,_0x339497,_0xc5e71f,_0x1b48b7,_0x1e81ac,_0x33c0a5){var _0x2b0a2a=_0x3f3e43;super(_0x385fd4,_0x1e0f03,_0x33655b,[],_0x40a305,_0x339497,_0x1e81ac,_0x170472,_0x33c0a5),D(this,'status',_0x2b0a2a(0x249)),D(this,'_resendTimeout',0x0),D(this,_0x2b0a2a(0x18c)),D(this,_0x2b0a2a(0xb1)),(this[_0x2b0a2a(0x277)]=_0x28e75c,this[_0x2b0a2a(0x274)]=_0xc5e71f,this[_0x2b0a2a(0x131)]=_0x1b48b7);}[_0x3f3e43(0x2c4)](_0x2fae3b){var _0x235159=_0x3f3e43;this['_clearScheduledTask']();const _0xa8674f=this['_injector'][_0x235159(0x2a0)](oe,this[_0x235159(0x196)],this['type'],this[_0x235159(0x2de)],[_0x2fae3b],this[_0x235159(0x1db)],this[_0x235159(0x18c)]);return _0xa8674f[_0x235159(0x201)](),_0xa8674f;}['onRemoteChangeset'](_0x74384f){var _0x48734c=_0x3f3e43;if(this[_0x48734c(0x342)](_0x74384f))return this[_0x48734c(0x12c)](),this[_0x48734c(0x277)][_0x48734c(0x2a0)](ee,this[_0x48734c(0x196)],this[_0x48734c(0x317)],this[_0x48734c(0x2de)],[],null,[_0x74384f],this[_0x48734c(0x1db)]);try{const _0x4414f0=this[_0x48734c(0x131)][_0x48734c(0x1b4)]([_0x74384f],[this[_0x48734c(0x2de)]],!0x1);if(_0x2a7bbb(_0x4414f0)){const {c1Prime:_0x1aaf58,c2Prime:_0x4dc3d7}=_0x4414f0;this[_0x48734c(0x39e)](_0x1aaf58[0x0]),_0x4dc3d7[0x0][_0x48734c(0x193)]=this['_getCurrentRevision'](),this[_0x48734c(0x12c)]();const _0x20e564=this[_0x48734c(0x277)][_0x48734c(0x2a0)](le,this[_0x48734c(0x196)],this[_0x48734c(0x317)],_0x4dc3d7[0x0],this['_handler']);return _0x20e564[_0x48734c(0x201)](),_0x20e564;}return this['_onConflict'](!0x1);}catch(_0x2327ee){return this['_logService'][_0x48734c(0x28d)](_0x2327ee),this['_onConflict'](!0x1);}}[_0x3f3e43(0x114)](_0x389c87){var _0xa5c03f=_0x3f3e43;this[_0xa5c03f(0x12c)]();const _0x51e7f1=this[_0xa5c03f(0x1e1)][_0xa5c03f(0x37b)](this[_0xa5c03f(0x196)]);if(_0x389c87['revision']<_0x51e7f1-0x1)return this;if(this[_0xa5c03f(0x342)](_0x389c87))return this['_injector'][_0xa5c03f(0x2a0)](ee,this['unitID'],this[_0xa5c03f(0x317)],null,[],this[_0xa5c03f(0x2de)],[],this[_0xa5c03f(0x1db)]);this[_0xa5c03f(0x39b)]();const _0x2be491=this['_injector'][_0xa5c03f(0x2a0)](be,this['unitID'],this['type'],this[_0xa5c03f(0x1db)]);return _0x2be491['_updateLocalCache'](),_0x2be491;}[_0x3f3e43(0x357)](_0x5dbd3){var _0x4effd4=_0x3f3e43;return this[_0x4effd4(0x2d5)](!!(_0x5dbd3!=null&&_0x5dbd3[_0x4effd4(0x2a2)]));}[_0x3f3e43(0x1c2)](_0x235adf){var _0x2566e2=_0x3f3e43;return this[_0x2566e2(0xbf)]>gi?this[_0x2566e2(0x2d7)]():(this[_0x2566e2(0x18c)]=Ii(this[_0x2566e2(0xbf)],{'timeout':this[_0x2566e2(0xbf)],'reqId':_0x235adf[_0x2566e2(0x26f)]}),this[_0x2566e2(0xb1)]=this[_0x2566e2(0x18c)][_0x2566e2(0x185)](({reqId:_0x3edd4c,timeout:_0x423ee6})=>{this['_resendWithTimeout'](_0x3edd4c,_0x423ee6);}),this);}[_0x3f3e43(0x2d7)](){var _0x30f775=_0x3f3e43;return this[_0x30f775(0x12c)](),this[_0x30f775(0x277)][_0x30f775(0x2a0)](de,this[_0x30f775(0x196)],this[_0x30f775(0x317)],this[_0x30f775(0x2de)],[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x62c21d=_0x3f3e43;this[_0x62c21d(0x1db)]['onSendChangeset'](this[_0x62c21d(0x2de)]);}['_onConflict'](_0x103690){var _0x45637b=_0x3f3e43;return this['_clearScheduledTask'](),this['_injector'][_0x45637b(0x2a0)](ue,this[_0x45637b(0x196)],this[_0x45637b(0x317)],this[_0x45637b(0x2de)],[],this['_handler'],_0x103690);}[_0x3f3e43(0x328)](_0x26a3e3,_0x568074){var _0x3d6011=_0x3f3e43,_0x4072cd;_0x26a3e3===((_0x4072cd=this[_0x3d6011(0x2de)])==null?void 0x0:_0x4072cd[_0x3d6011(0x26f)])&&(this['resend'](),this[_0x3d6011(0xbf)]=_0x568074===0x0?0x3e8:_0x568074*0x2);}[_0x3f3e43(0x12c)](){var _0x17c3d3=_0x3f3e43,_0x3ca322;(_0x3ca322=this[_0x17c3d3(0xb1)])==null||_0x3ca322['unsubscribe'](),this[_0x17c3d3(0xbf)]=0x0;}};le=Se([w(0x4,_0x5e33bf(_0x951761)),w(0x5,_0x5e33bf(_0x27e825)),w(0x6,_0x31319f),w(0x7,_0x3f8704),w(0x8,_0x42c915),w(0x9,_0x227e9e),w(0xa,_0x4e4cb4(J))],le);let oe=class extends ge{constructor(_0x23aa77,_0xc0fd5c,_0x2cbd1a,_0x5591f7,_0x5d555a,_0x472d1c,_0x1928b3,_0x4175a8,_0x5ab2c9,_0x2f06fe,_0x8e6e06,_0x18c795,_0x6974ce){var _0x53d518=_0x3f3e43;super(_0x23aa77,_0xc0fd5c,_0x2cbd1a,_0x5591f7,_0x5d555a,_0x5ab2c9,_0x18c795,_0x4175a8,_0x6974ce),D(this,_0x53d518(0x1f6),_0x53d518(0x263)),D(this,_0x53d518(0xbf),0x0),D(this,'_resendTimer'),D(this,_0x53d518(0xb1)),(this[_0x53d518(0x277)]=_0x1928b3,this['_logService']=_0x2f06fe,this[_0x53d518(0x131)]=_0x8e6e06,this[_0x53d518(0x33c)]=_0x6974ce,_0x472d1c&&(this[_0x53d518(0x18c)]=_0x472d1c,this[_0x53d518(0xb1)]=this[_0x53d518(0x18c)]['subscribe'](({reqId:_0x179b03,timeout:_0x507030})=>{this['_resendWithTimeout'](_0x179b03,_0x507030);})));}[_0x3f3e43(0x2c4)](_0x4f2775){var _0x49440c=_0x3f3e43;return this['_pendingMutations'][_0x49440c(0x1bc)](_0x4f2775),this;}[_0x3f3e43(0x19d)](_0x49774f){var _0x1ff217=_0x3f3e43;if(this['_checkMissing'](_0x49774f))return this[_0x1ff217(0x12c)](),this[_0x1ff217(0x277)]['createInstance'](ee,this['unitID'],this[_0x1ff217(0x317)],this['_awaitingChangeset'],this[_0x1ff217(0x267)],null,[_0x49774f],this['_handler']);try{const _0x3007c3=this[_0x1ff217(0x131)][_0x1ff217(0x1b4)]([_0x49774f],[this[_0x1ff217(0x2de)]],!0x1);if(_0x2a7bbb(_0x3007c3)){const {c1Prime:_0x1e8ce8,c2Prime:_0x553f54}=_0x3007c3,_0x146c5d=this[_0x1ff217(0x131)]['transformMutationsWithChangeset'](_0x1e8ce8[0x0],this[_0x1ff217(0x267)]);if(_0x48e3ad(_0x146c5d)){const {c1Prime:_0x5d8e09,m2Prime:_0x5e0a0d}=_0x146c5d;return this[_0x1ff217(0x39e)](_0x5d8e09),_0x553f54[0x0][_0x1ff217(0x193)]=this[_0x1ff217(0x1c0)](),this['_clearScheduledTask'](),this[_0x1ff217(0x277)][_0x1ff217(0x2a0)](oe,this[_0x1ff217(0x196)],this[_0x1ff217(0x317)],_0x553f54[0x0],_0x5e0a0d,this[_0x1ff217(0x1db)],void 0x0);}throw _0x146c5d[_0x1ff217(0x28d)];}throw _0x3007c3[_0x1ff217(0x28d)];}catch(_0x45bc1b){return this[_0x1ff217(0x274)][_0x1ff217(0x28d)](_0x45bc1b),this[_0x1ff217(0x2d5)](!0x1);}}[_0x3f3e43(0x114)](_0x3641dc){var _0x3daca8=_0x3f3e43;if(this[_0x3daca8(0x12c)](),this[_0x3daca8(0x342)](_0x3641dc))return this[_0x3daca8(0x277)][_0x3daca8(0x2a0)](ee,this[_0x3daca8(0x196)],this[_0x3daca8(0x317)],null,this[_0x3daca8(0x267)],this[_0x3daca8(0x2de)],[],this[_0x3daca8(0x1db)]);this[_0x3daca8(0x39b)]();const _0x651e73=this[_0x3daca8(0x277)][_0x3daca8(0x2a0)](ae,this[_0x3daca8(0x196)],this[_0x3daca8(0x317)],this[_0x3daca8(0x267)],this['_handler']);return _0x651e73[_0x3daca8(0x2d8)](),_0x651e73[_0x3daca8(0x201)](),_0x651e73;}[_0x3f3e43(0x357)](_0x4cdf50){var _0x3cb455=_0x3f3e43;return this[_0x3cb455(0x2d5)](!!(_0x4cdf50!=null&&_0x4cdf50[_0x3cb455(0x2a2)]));}[_0x3f3e43(0x1c2)](_0xf9e817){var _0x35e8a1=_0x3f3e43;return this[_0x35e8a1(0xbf)]>gi?this['toggleOffline']():(this[_0x35e8a1(0x18c)]=Ii(this[_0x35e8a1(0xbf)],{'timeout':this[_0x35e8a1(0xbf)],'reqId':_0xf9e817[_0x35e8a1(0x26f)]}),this[_0x35e8a1(0xb1)]=this[_0x35e8a1(0x18c)][_0x35e8a1(0x185)](({reqId:_0x30a0c7,timeout:_0x2e447b})=>{var _0x26fe19=_0x35e8a1;this[_0x26fe19(0x328)](_0x30a0c7,_0x2e447b);}),this);}[_0x3f3e43(0x2d7)](){var _0x5d1d9b=_0x3f3e43;return this[_0x5d1d9b(0x12c)](),this[_0x5d1d9b(0x277)][_0x5d1d9b(0x2a0)](de,this['unitID'],this[_0x5d1d9b(0x317)],this[_0x5d1d9b(0x2de)],this['_pendingMutations'],this[_0x5d1d9b(0x1db)]);}[_0x3f3e43(0xb8)](){return this;}[_0x3f3e43(0x1dc)](){var _0x27fefc=_0x3f3e43;this[_0x27fefc(0x1db)][_0x27fefc(0xaa)](this['_awaitingChangeset']);}[_0x3f3e43(0x2d5)](_0x13568e){var _0x1b6d06=_0x3f3e43;return this['_clearScheduledTask'](),this[_0x1b6d06(0x277)][_0x1b6d06(0x2a0)](ue,this[_0x1b6d06(0x196)],this[_0x1b6d06(0x317)],null,this[_0x1b6d06(0x267)],this[_0x1b6d06(0x1db)],_0x13568e);}[_0x3f3e43(0x328)](_0x16bd53,_0x25fe51){var _0x143cfe=_0x3f3e43,_0x35f8ec;_0x16bd53===((_0x35f8ec=this[_0x143cfe(0x2de)])==null?void 0x0:_0x35f8ec['reqId'])&&(this['resend'](),this[_0x143cfe(0xbf)]=_0x25fe51===0x0?0x3e8:_0x25fe51*0x2);}[_0x3f3e43(0x12c)](){var _0x425fc3=_0x3f3e43,_0x94562a;(_0x94562a=this[_0x425fc3(0xb1)])==null||_0x94562a[_0x425fc3(0x2ee)](),this[_0x425fc3(0xbf)]=0x0;}};oe=Se([w(0x6,_0x5e33bf(_0x951761)),w(0x7,_0x5e33bf(_0x27e825)),w(0x8,_0x31319f),w(0x9,_0x3f8704),w(0xa,_0x42c915),w(0xb,_0x227e9e),w(0xc,_0x4e4cb4(J))],oe);let ue=class extends ge{constructor(_0x2511b5,_0x47863e,_0x665c17,_0x58d616,_0x4cc9ff,_0x2b4a07=!0x1,_0xcc3e72,_0x2f77e4,_0x5c0426,_0x2d5349,_0x4f4c73,_0x5f2c62,_0x25e0ba){var _0xa92f27=_0x3f3e43;super(_0x2511b5,_0x47863e,_0x665c17,_0x58d616,_0x4cc9ff,_0x2f77e4,_0x5c0426,_0x2d5349,_0x25e0ba),D(this,_0xa92f27(0x1f6),_0xa92f27(0x12e)),(this[_0xa92f27(0x321)]=_0x2b4a07,this[_0xa92f27(0x1a0)]=_0xcc3e72,this[_0xa92f27(0x36b)]=_0x4f4c73,this[_0xa92f27(0x184)]=_0x5f2c62,this[_0xa92f27(0x33c)]=_0x25e0ba,this[_0xa92f27(0x2d2)](),this['_clearLocalCache'](),this[_0xa92f27(0x1dd)]());}[_0x3f3e43(0x2c4)](){return this;}[_0x3f3e43(0x19d)](){return this;}[_0x3f3e43(0x114)](){return this;}[_0x3f3e43(0x357)](){return this;}['onRemoteRetry'](){return this;}[_0x3f3e43(0x2d7)](){return this;}[_0x3f3e43(0xb8)](){return this;}[_0x3f3e43(0x1dc)](){var _0x417562=_0x3f3e43;throw new Error(_0x417562(0x2af));}['_clearLocalCache'](){var _0x5a0016=_0x3f3e43,_0x49f599;(_0x49f599=this[_0x5a0016(0x2aa)])==null||_0x49f599[_0x5a0016(0x151)](this['unitID'],this['type'],null,[]);}[_0x3f3e43(0x2d2)](){var _0x28380e=_0x3f3e43;this[_0x28380e(0x321)]?this['_collaborationUIEventService']['emitEvent']({'id':re['PERMISSION_DENIED']}):this[_0x28380e(0x184)][_0x28380e(0x39d)]({'id':re[_0x28380e(0xbd)]});}[_0x3f3e43(0x1dd)](){var _0x173d81=_0x3f3e43;this[_0x173d81(0x1a0)][_0x173d81(0x30b)](new _0x5b362d(this[_0x173d81(0x196)])['id'],!0x1);}};ue=Se([w(0x6,_0x5e33bf(_0x38e5a9)),w(0x7,_0x31319f),w(0x8,_0x227e9e),w(0x9,_0x5e33bf(_0x27e825)),w(0xa,_0x5e33bf(_0x20f53f)),w(0xb,_0x5e33bf(ve)),w(0xc,_0x4e4cb4(J))],ue);let de=class extends ge{constructor(_0x20573e,_0x148ffa,_0x47d6a7,_0x53395d,_0x28baf0,_0xc5e5e4,_0x373ae8,_0x4eed5c,_0x199bc4,_0x283ea8){var _0x2e4bd7=_0x3f3e43;super(_0x20573e,_0x148ffa,_0x47d6a7,_0x53395d,_0x28baf0,_0x4eed5c,_0x199bc4,_0x373ae8,_0x283ea8),D(this,_0x2e4bd7(0x1f6),_0x2e4bd7(0x94)),this[_0x2e4bd7(0x277)]=_0xc5e5e4;}[_0x3f3e43(0x2c4)](_0x23538c){var _0x461b85=_0x3f3e43;return this[_0x461b85(0x267)][_0x461b85(0x1bc)](_0x23538c),this['_updateLocalCache'](),this;}[_0x3f3e43(0x19d)](_0xe71c1d){var _0x2b3180=_0x3f3e43;throw new Error(_0x2b3180(0x176));}[_0x3f3e43(0x114)](){var _0x4283aa=_0x3f3e43;throw new Error(_0x4283aa(0x369));}[_0x3f3e43(0x357)](){var _0x387a77=_0x3f3e43;throw new Error(_0x387a77(0x379));}['onRemoteRetry'](){return this;}[_0x3f3e43(0x2d7)](){return this;}[_0x3f3e43(0xb8)](){var _0x2e053c=_0x3f3e43;const {_injector:_0x2558e0,_pendingMutations:_0x5ab3dd,_awaitingChangeset:_0x186af5,unitID:_0x478866,_handler:_0xf4272b,type:_0x207722}=this,_0x8837fd=Ti(_0x2558e0,_0x478866,_0x207722,_0x186af5,_0x5ab3dd,_0xf4272b);return _0x8837fd instanceof ae?_0x8837fd[_0x2e053c(0x2d8)]():(_0x8837fd instanceof oe||_0x8837fd instanceof le)&&_0x8837fd[_0x2e053c(0x1dc)](),_0x8837fd;}['resend'](){var _0x11c339=_0x3f3e43;throw new Error(_0x11c339(0x14b));}};de=Se([w(0x5,_0x5e33bf(_0x951761)),w(0x6,_0x5e33bf(_0x27e825)),w(0x7,_0x31319f),w(0x8,_0x227e9e),w(0x9,_0x4e4cb4(J))],de);let ee=class extends ge{constructor(_0x1c7cc5,_0x191645,_0x120dd0,_0x3c8907,_0x168245,_0x5c237f,_0xfd3088,_0x188d82,_0x3f64ed,_0x11944f,_0x57f54a,_0x23c830,_0x4ce6f9,_0x4fd577){var _0x53a651=_0x3f3e43;super(_0x1c7cc5,_0x191645,_0x120dd0,_0x3c8907,_0xfd3088,_0x57f54a,_0x23c830,_0x3f64ed,_0x4fd577),D(this,_0x53a651(0x1f6),_0x53a651(0x25b)),(this['_acknowledgedAwaitingChangeset']=_0x168245,this[_0x53a651(0x348)]=_0x5c237f,this[_0x53a651(0x277)]=_0x188d82,this[_0x53a651(0x274)]=_0x11944f,this[_0x53a651(0x131)]=_0x4ce6f9,this[_0x53a651(0x33c)]=_0x4fd577);}['onMissedChangesetFetched'](_0x4c42c7){var _0x51a821=_0x3f3e43;try{const _0xd7ef44=[..._0x4c42c7,...this[_0x51a821(0x348)]],_0x4bd7cf=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x37091e=>!!_0x37091e);let _0x6b51b9,_0x44cd66;if(_0x4bd7cf[_0x51a821(0x371)]){const _0x2c450c=this[_0x51a821(0x131)][_0x51a821(0x1b4)](_0xd7ef44,_0x4bd7cf,!0x1);if(!_0x2a7bbb(_0x2c450c))throw _0x2c450c[_0x51a821(0x28d)];_0x6b51b9=_0x2c450c[_0x51a821(0x200)],_0x44cd66=_0x2c450c[_0x51a821(0x2ce)];}else _0x6b51b9=_0xd7ef44,_0x44cd66=[];let _0x5af28b=this[_0x51a821(0x267)];_0x6b51b9['forEach'](_0x1dace8=>{var _0x11a35c=_0x51a821;let _0x5b6f1b;if(_0x5af28b[_0x11a35c(0x371)]){const _0x264221=this[_0x11a35c(0x131)]['transformMutationsWithChangeset'](_0x1dace8,_0x5af28b);if(!_0x48e3ad(_0x264221))throw _0x264221[_0x11a35c(0x28d)];_0x5b6f1b=_0x264221[_0x11a35c(0x200)],_0x5af28b=_0x264221[_0x11a35c(0x213)];}else _0x5b6f1b=_0x1dace8;this[_0x11a35c(0x39e)](_0x5b6f1b);}),this[_0x51a821(0x35c)]&&this[_0x51a821(0x39b)](),this['_awaitingChangeset']&&_0x44cd66[_0x51a821(0x371)]&&(_0x44cd66[0x0]['baseRev']=this[_0x51a821(0x1c0)]());let _0x27085b;if(this[_0x51a821(0x2de)]&&_0x5af28b['length']!==0x0)_0x27085b=this[_0x51a821(0x277)][_0x51a821(0x2a0)](oe,this[_0x51a821(0x196)],this[_0x51a821(0x317)],_0x44cd66[0x0],_0x5af28b,this[_0x51a821(0x1db)],void 0x0);else{if(this[_0x51a821(0x2de)]&&_0x5af28b[_0x51a821(0x371)]===0x0)_0x44cd66[0x0][_0x51a821(0x193)]=this[_0x51a821(0x1c0)](),_0x27085b=this[_0x51a821(0x277)][_0x51a821(0x2a0)](le,this[_0x51a821(0x196)],this[_0x51a821(0x317)],_0x44cd66[0x0],this['_handler']);else{if(_0x5af28b[_0x51a821(0x371)]!==0x0){const _0x4b2544=this[_0x51a821(0x277)][_0x51a821(0x2a0)](ae,this[_0x51a821(0x196)],this[_0x51a821(0x317)],_0x5af28b,this[_0x51a821(0x1db)]);_0x4b2544[_0x51a821(0x2d8)](),_0x27085b=_0x4b2544;}else _0x27085b=this['_injector'][_0x51a821(0x2a0)](be,this[_0x51a821(0x196)],this[_0x51a821(0x317)],this[_0x51a821(0x1db)]);}}return _0x27085b[_0x51a821(0x201)](),_0x27085b;}catch(_0x243b64){return this[_0x51a821(0x274)][_0x51a821(0x28d)](_0x51a821(0x300),_0x51a821(0x308),_0x243b64),this[_0x51a821(0x277)][_0x51a821(0x2a0)](ue,this['unitID'],this['type'],this[_0x51a821(0x2de)],this[_0x51a821(0x267)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3f3e43(0x2c4)](_0x2fe4a5){var _0xe5abd8=_0x3f3e43;return this[_0xe5abd8(0x267)]['push'](_0x2fe4a5),this;}[_0x3f3e43(0x19d)](_0x1512e2){var _0x129133=_0x3f3e43;return this['_queuedRemoteChangesets'][_0x129133(0x1bc)](_0x1512e2),this;}[_0x3f3e43(0x114)](_0x32eadf){var _0x27aa4b=_0x3f3e43;if(this[_0x27aa4b(0x2de)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x27aa4b(0x2de)]=null,this;throw new Error(_0x27aa4b(0x1a9));}[_0x3f3e43(0x357)](_0x1866a8){var _0x472b89=_0x3f3e43;return this[_0x472b89(0x2d5)](!!(_0x1866a8!=null&&_0x1866a8[_0x472b89(0x2a2)]));}[_0x3f3e43(0x1c2)](){return this;}[_0x3f3e43(0x2d7)](){var _0x59a472=_0x3f3e43;return this[_0x59a472(0x277)][_0x59a472(0x2a0)](de,this['unitID'],this[_0x59a472(0x317)],this[_0x59a472(0x2de)],this[_0x59a472(0x267)],this[_0x59a472(0x1db)]);}['toggleOnline'](){return this;}[_0x3f3e43(0x2d5)](_0x3b8ea2){var _0xd38019=_0x3f3e43;return this[_0xd38019(0x277)][_0xd38019(0x2a0)](ue,this[_0xd38019(0x196)],this['type'],this['_awaitingChangeset'],this[_0xd38019(0x267)],this['_handler'],_0x3b8ea2);}};ee=Se([w(0x7,_0x5e33bf(_0x951761)),w(0x8,_0x5e33bf(_0x27e825)),w(0x9,_0x3f8704),w(0xa,_0x31319f),w(0xb,_0x227e9e),w(0xc,_0x42c915),w(0xd,_0x4e4cb4(J))],ee);function Ti(_0xdc93f4,_0xcd25c1,_0x168095,_0x566818,_0x4f6b08,_0x5ad1e9){var _0x4bd944=_0x3f3e43;return _0x566818&&_0x4f6b08[_0x4bd944(0x371)]?_0xdc93f4[_0x4bd944(0x2a0)](oe,_0xcd25c1,_0x168095,_0x566818,_0x4f6b08,_0x5ad1e9,void 0x0):_0x566818?_0xdc93f4['createInstance'](le,_0xcd25c1,_0x168095,_0x566818,_0x5ad1e9):_0x4f6b08[_0x4bd944(0x371)]?_0xdc93f4[_0x4bd944(0x2a0)](ae,_0xcd25c1,_0x168095,_0x4f6b08,_0x5ad1e9):_0xdc93f4[_0x4bd944(0x2a0)](be,_0xcd25c1,_0x168095,_0x5ad1e9);}var Bs=Object['getOwnPropertyDescriptor'],Pt=(_0x5e28a1,_0x3e7dea,_0x1520fe,_0x4c98f2)=>{var _0x26b261=_0x3f3e43;for(var _0x4004bf=_0x4c98f2>0x1?void 0x0:_0x4c98f2?Bs(_0x3e7dea,_0x1520fe):_0x3e7dea,_0x403a55=_0x5e28a1[_0x26b261(0x371)]-0x1,_0x5047af;_0x403a55>=0x0;_0x403a55--)(_0x5047af=_0x5e28a1[_0x403a55])&&(_0x4004bf=_0x5047af(_0x4004bf)||_0x4004bf);return _0x4004bf;},$=(_0x131761,_0x5abdbf)=>(_0x5b465a,_0x557ab8)=>_0x5abdbf(_0x5b465a,_0x557ab8,_0x131761);let st=class extends _0x3f64e4{constructor(_0x35ad35,_0x3159a,_0x30b866,_0x2dfaeb,_0x4b6973,_0x4847fe,_0x94df7d,_0x1392e8,_0x2e3319,_0x16c1b3,_0x43c6b0,_0x1dd651,_0x4c6171,_0x55ae12){var _0x23af11=_0x3f3e43;super(),D(this,_0x23af11(0x361),new _0x3cc84f(null)),D(this,'state$',this[_0x23af11(0x361)]['asObservable']()),D(this,'_state'),D(this,_0x23af11(0x121),!0x1),D(this,_0x23af11(0x327),''),D(this,_0x23af11(0x391),0x0),D(this,_0x23af11(0xbc),this[_0x23af11(0x216)][_0x23af11(0x107)](_0x265f91(_0x28d68e=>_0x28d68e?_0x28d68e[_0x23af11(0x1f6)]:Si[_0x23af11(0x2e5)]),_0x3a640f(0x1))),D(this,'_transitionLocked',!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x23af11(0x196)]=_0x35ad35,this[_0x23af11(0x15c)]=_0x3159a,this[_0x23af11(0x2d3)]=_0x30b866,this['_injector']=_0x2dfaeb,this[_0x23af11(0x2e0)]=_0x4b6973,this[_0x23af11(0x36b)]=_0x4847fe,this[_0x23af11(0x1e1)]=_0x94df7d,this[_0x23af11(0x1e4)]=_0x1392e8,this[_0x23af11(0x373)]=_0x2e3319,this[_0x23af11(0x274)]=_0x16c1b3,this[_0x23af11(0x2e4)]=_0x43c6b0,this[_0x23af11(0x1a0)]=_0x1dd651,this['_singleActiveUnitService']=_0x4c6171,this[_0x23af11(0x2aa)]=_0x55ae12);}get[_0x3f3e43(0x133)](){var _0x45998f=_0x3f3e43;return this[_0x45998f(0x2c2)];}async[_0x3f3e43(0x9b)](){var _0x95732f=_0x3f3e43;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x95732f(0x28c)]();}[_0x3f3e43(0x170)](){var _0x4e6478=_0x3f3e43;return this[_0x4e6478(0x121)]=!0x0,_0x449264(()=>{var _0x4f7dc5=_0x4e6478;this[_0x4f7dc5(0x121)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3f3e43(0x2a9)](_0x485ea8){this['_onLocalMutation'](_0x485ea8);}['_updateState'](_0x9c898b){var _0x162cfa=_0x3f3e43;this['_state']=_0x9c898b,this[_0x162cfa(0x361)][_0x162cfa(0x318)](_0x9c898b);}async[_0x3f3e43(0x28c)](){var _0x4d98ef=_0x3f3e43,_0x226cc2;this['_updateState'](await this['_createInitialState']()),this[_0x4d98ef(0x259)]&&((_0x226cc2=this[_0x4d98ef(0x259)])==null||_0x226cc2['editingUnit'](this[_0x4d98ef(0x196)]),this[_0x4d98ef(0x2f6)](this[_0x4d98ef(0x259)]['getUnitStatus$'](this[_0x4d98ef(0x196)])[_0x4d98ef(0x185)](_0x369b90=>{var _0x211abb=_0x4d98ef;this[_0x211abb(0x274)][_0x211abb(0x1eb)](_0x211abb(0x190),'editing\x20status\x20changed\x20to',_0x369b90),_0x369b90===mi[_0x211abb(0x25c)]?(this[_0x211abb(0x1e4)][_0x211abb(0x39d)]({'id':re[_0x211abb(0x307)]}),this[_0x211abb(0x1a0)][_0x211abb(0x30b)](new _0x5b362d(this[_0x211abb(0x196)])['id'],!0x1),this[_0x211abb(0x1a0)]['setShowComponents'](!0x1)):(this[_0x211abb(0x1a0)][_0x211abb(0x30b)](new _0x5b362d(this[_0x211abb(0x196)])['id'],!0x0),this[_0x211abb(0x1a0)][_0x211abb(0xb5)](!0x0));})));let _0x45ec78=!0x1;return this[_0x4d98ef(0x2f6)](this['session'][_0x4d98ef(0xac)][_0x4d98ef(0x185)](_0x342da0=>{var _0x326545=_0x4d98ef;_0x342da0===me[_0x326545(0x19a)]?this['_toggleOnline'](_0x45ec78):_0x342da0===me[_0x326545(0x2e5)]&&(_0x45ec78=!0x0,this[_0x326545(0x30a)]());})),this[_0x4d98ef(0x2f6)](this[_0x4d98ef(0x15c)][_0x4d98ef(0x15b)][_0x4d98ef(0x185)](_0x1442f3=>{var _0x413675=_0x4d98ef;try{switch(_0x1442f3[_0x413675(0x27d)]){case _0x587846[_0x413675(0x21f)]:{this[_0x413675(0x219)](_0x9598f2(_0x1442f3[_0x413675(0x137)]));break;}case _0x587846['CHANGESET_ACK']:{this[_0x413675(0x2ae)](_0x1442f3[_0x413675(0x137)]);break;}case _0x587846[_0x413675(0x290)]:{this[_0x413675(0x116)]();break;}case _0x587846[_0x413675(0x35e)]:{this[_0x413675(0xb0)](_0x1442f3[_0x413675(0x137)]);break;}case _0x587846['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x413675(0x2f2)](_0x1442f3['data'][_0x413675(0x243)][_0x413675(0xb7)](_0x5f8bd1=>_0x9598f2(_0x5f8bd1)));break;}case _0x587846['PERMISSION_REJ']:{this[_0x413675(0x116)]({'isPermissionRej':!0x0});break;}case _0x587846[_0x413675(0x29d)]:break;}}catch(_0x9e7f47){throw console[_0x413675(0x28d)](_0x413675(0x2e1),_0x9e7f47),_0x9e7f47;}})),this[_0x4d98ef(0x2c2)];}[_0x3f3e43(0x218)](){var _0x1dda91=_0x3f3e43;this[_0x1dda91(0x136)]=!0x1;}[_0x3f3e43(0x11e)](){var _0x132b96=_0x3f3e43;if(this[_0x132b96(0x136)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x3f3e43(0x284)](_0x3f16c1){var _0x13955b=_0x3f3e43;this['_lockTransition'](),this[_0x13955b(0x3b5)](this['_state']['appendMutation'](_0x3f16c1)),this[_0x13955b(0x218)]();}[_0x3f3e43(0x219)](_0x2e64f5){var _0x2ddd1e=_0x3f3e43;if(!(_0x2e64f5['revision']<=this['_revisionService'][_0x2ddd1e(0x37b)](this[_0x2ddd1e(0x196)]))){if(this['_collaborationPaused']){this[_0x2ddd1e(0x257)][_0x2ddd1e(0x1bc)](_0x2e64f5);return;}this[_0x2ddd1e(0x230)](_0x2e64f5);}}[_0x3f3e43(0x25f)](){var _0x2edbcc=_0x3f3e43;this['_remoteChangesetQueue'][_0x2edbcc(0x93)](_0x561d80=>this[_0x2edbcc(0x230)](_0x561d80)),this[_0x2edbcc(0x257)]=[];}[_0x3f3e43(0x230)](_0x368b51){var _0x25622c=_0x3f3e43;const _0x2e20c5=this[_0x25622c(0x2e0)][_0x25622c(0x8e)]['fetchThroughInterceptors'](this[_0x25622c(0x2e0)]['interceptor'][_0x25622c(0x252)]()[_0x25622c(0xd8)])(_0x368b51['mutations'],null)||_0x368b51[_0x25622c(0x1bf)],_0x17da0d={..._0x368b51,'mutations':_0x2e20c5};this[_0x25622c(0x11e)](),this[_0x25622c(0x3b5)](this[_0x25622c(0x2c2)][_0x25622c(0x19d)](_0x17da0d)),this[_0x25622c(0x218)]();}[_0x3f3e43(0x2ae)](_0x2597ca){var _0x23da4a=_0x3f3e43;this[_0x23da4a(0x11e)](),this[_0x23da4a(0x3b5)](this[_0x23da4a(0x2c2)][_0x23da4a(0x114)](_0x2597ca)),this['_unlockTransition']();}[_0x3f3e43(0x116)](_0x255654){var _0x38e6fc=_0x3f3e43;this['_lockTransition'](),this[_0x38e6fc(0x3b5)](this[_0x38e6fc(0x2c2)]['onRemoteRej'](_0x255654)),this[_0x38e6fc(0x218)]();}['_onRemoteRetry'](_0x474a63){var _0x13bb30=_0x3f3e43;this[_0x13bb30(0x11e)](),this[_0x13bb30(0x3b5)](this[_0x13bb30(0x2c2)][_0x13bb30(0x1c2)](_0x474a63)),this[_0x13bb30(0x218)]();}[_0x3f3e43(0x2f2)](_0x3e9ad0){var _0xb1ec97=_0x3f3e43;if(!(this[_0xb1ec97(0x2c2)]instanceof ee))throw new TypeError(_0xb1ec97(0x22a));const _0x5692b2=_0x3e9ad0[_0xb1ec97(0xb7)](_0x62ad3=>{var _0x502dfe=_0xb1ec97;const _0x99d2be=this[_0x502dfe(0x2e0)][_0x502dfe(0x8e)][_0x502dfe(0xc6)](this[_0x502dfe(0x2e0)][_0x502dfe(0x8e)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x62ad3[_0x502dfe(0x1bf)],null)||_0x62ad3['mutations'];return{..._0x62ad3,'mutations':_0x99d2be};});this[_0xb1ec97(0x11e)](),this[_0xb1ec97(0x3b5)](this[_0xb1ec97(0x2c2)][_0xb1ec97(0x146)](_0x5692b2)),this[_0xb1ec97(0x218)]();}[_0x3f3e43(0x30a)](){var _0x455af0=_0x3f3e43;this[_0x455af0(0x11e)](),this[_0x455af0(0x3b5)](this[_0x455af0(0x2c2)]['toggleOffline']()),this[_0x455af0(0x218)]();}[_0x3f3e43(0x2c8)](_0x62bea3=!0x1){var _0x147769=_0x3f3e43;this[_0x147769(0x11e)](),this[_0x147769(0x3b5)](this[_0x147769(0x2c2)][_0x147769(0xb8)]()),this[_0x147769(0x218)]();const _0xc72fa7=this[_0x147769(0x2c2)];_0x62bea3&&_0xc72fa7 instanceof be&&(this[_0x147769(0x11e)](),this[_0x147769(0x3b5)](_0xc72fa7[_0x147769(0x22f)]()),this[_0x147769(0x218)]());}async[_0x3f3e43(0x101)](){return new Promise(_0x274229=>{var _0x2b2b29=_0x29f2;this['session']['sessionStatus$'][_0x2b2b29(0x107)](_0x434a8(0x1))[_0x2b2b29(0x185)](async _0x3b1fdf=>{var _0x25168b=_0x2b2b29;_0x274229(await this[_0x25168b(0x1c5)](_0x3b1fdf===me[_0x25168b(0x19a)]));});});}[_0x3f3e43(0x103)](){var _0x15b97c=_0x3f3e43;const _0x5c2da4=this[_0x15b97c(0x196)];return{'onStateChange':(_0x477cb0,_0x1eb9a5)=>{var _0x126922=_0x15b97c;if(_0x477cb0!==this[_0x126922(0x2c2)])throw new Error(_0x126922(0x2f4)+_0x477cb0[_0x126922(0x1f6)]+'\x0aAfter:\x20'+_0x1eb9a5[_0x126922(0x1f6)]+_0x126922(0x1ce)+this[_0x126922(0x2c2)]['status']);this[_0x126922(0x3b5)](_0x1eb9a5);},'onSendChangeset':_0x295515=>{var _0x5079c5=_0x15b97c;_0x295515[_0x5079c5(0x9d)]||(_0x295515[_0x5079c5(0x9d)]=this[_0x5079c5(0x327)],_0x295515[_0x5079c5(0x26f)]=++this[_0x5079c5(0x391)]);const _0x2175c8={'eventID':_0x587846[_0x5079c5(0x323)],'data':{'unitID':_0x295515[_0x5079c5(0x196)],'unitType':this[_0x5079c5(0x2d3)],'changeset':_0x295515,'memberID':this[_0x5079c5(0x15c)]['getMemberID']()}};this[_0x5079c5(0x15c)][_0x5079c5(0x254)](_0x2175c8,this[_0x5079c5(0x196)]);},'onMissingChangesets':({from:_0x44bf2f,to:_0x430e58})=>{var _0x300b34=_0x15b97c;this[_0x300b34(0x274)][_0x300b34(0x1eb)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x44bf2f+'\x20to\x20'+_0x430e58);const _0x1baf27={'eventID':_0x587846['FETCH_MISSING'],'data':{'unitID':_0x5c2da4,'unitType':this['_type'],'from':_0x44bf2f,'to':_0x430e58}};this['session']['send'](_0x1baf27,this[_0x300b34(0x196)]);}};}async['_createInitialStateImpl'](_0xdea92c){var _0x130b22=_0x3f3e43,_0x42a9e2,_0x37f0ef,_0x1f8c9b;const _0x4f9d4a=await((_0x42a9e2=this[_0x130b22(0x2aa)])==null?void 0x0:_0x42a9e2[_0x130b22(0x24c)](this['unitID'])),_0x123b36=(_0x37f0ef=_0x4f9d4a==null?void 0x0:_0x4f9d4a[_0x130b22(0x1bf)])!=null?_0x37f0ef:[],_0x418b3c=(_0x1f8c9b=_0x4f9d4a==null?void 0x0:_0x4f9d4a[_0x130b22(0x278)])!=null?_0x1f8c9b:null,_0x5c3325=!!(_0x418b3c!=null&&_0x418b3c[_0x130b22(0x9d)])&&!!(_0x418b3c!=null&&_0x418b3c['reqId']);this[_0x130b22(0x327)]=_0x5c3325?_0x418b3c[_0x130b22(0x9d)]:_0x411ae0(),this[_0x130b22(0x391)]=_0x5c3325?_0x418b3c[_0x130b22(0x26f)]:0x0;const _0x586b05=this[_0x130b22(0x196)];try{this[_0x130b22(0x38e)](_0x418b3c,_0x123b36);}catch(_0x226ad1){this['_logService']['error'](_0x226ad1);}const _0x47c677=this[_0x130b22(0x103)]();if(_0xdea92c){const _0x26171c=Ti(this['_injector'],_0x586b05,this['_type'],_0x418b3c,_0x123b36,_0x47c677);return _0x26171c instanceof ae?_0x26171c[_0x130b22(0x2d8)]():(_0x26171c instanceof oe||_0x26171c instanceof le)&&_0x26171c[_0x130b22(0x1dc)](),_0x26171c;}return this['_injector'][_0x130b22(0x2a0)](de,_0x586b05,this[_0x130b22(0x2d3)],_0x418b3c,_0x123b36,_0x47c677);}['_replayCachedMutations'](_0x53651f,_0x2bd784){var _0x3b6b6c=_0x3f3e43,_0x2a6c7e,_0x3490a5;const _0x3b42f6=this[_0x3b6b6c(0x2e0)][_0x3b6b6c(0x8e)][_0x3b6b6c(0xc6)](this[_0x3b6b6c(0x2e0)][_0x3b6b6c(0x8e)][_0x3b6b6c(0x252)]()[_0x3b6b6c(0xd8)]);(_0x2a6c7e=_0x3b42f6((_0x53651f==null?void 0x0:_0x53651f[_0x3b6b6c(0x1bf)])||[],null))==null||_0x2a6c7e['forEach'](_0x4e1c71=>this[_0x3b6b6c(0x2e4)]['executeCommand'](_0x4e1c71['id'],_0x4e1c71[_0x3b6b6c(0x2a1)])),(_0x3490a5=_0x3b42f6(_0x2bd784||[],null))==null||_0x3490a5[_0x3b6b6c(0x93)](_0x52107a=>this[_0x3b6b6c(0x2e4)][_0x3b6b6c(0x20b)](_0x52107a['id'],_0x52107a[_0x3b6b6c(0x2a1)]));}};st=Pt([$(0x3,_0x5e33bf(_0x951761)),$(0x4,_0x5e33bf(_0x2a0dcf)),$(0x5,_0x5e33bf(_0x20f53f)),$(0x6,_0x5e33bf(_0x27e825)),$(0x7,_0x5e33bf(ve)),$(0x8,_0x321c7f),$(0x9,_0x3f8704),$(0xa,_0x31319f),$(0xb,_0x38e5a9),$(0xc,_0x4e4cb4(_t)),$(0xd,_0x4e4cb4(J))],st);let It=class extends st{constructor(_0x5ecec1,_0x53448d,_0x27bbb8,_0x55d181,_0x1aa4b9,_0x2f007f,_0x296d65,_0x497f1d,_0x390dd9,_0x3d7006,_0x10a1df,_0x4027c3,_0x1e4588,_0x4a763e){var _0x4c4b7d=_0x3f3e43;super(_0x5ecec1,_0x27bbb8,_0x53448d,_0x55d181,_0x1aa4b9,_0x2f007f,_0x296d65,_0x497f1d,_0x390dd9,_0x3d7006,_0x10a1df,_0x4027c3,_0x1e4588,_0x4a763e),D(this,_0x4c4b7d(0x23a),null),(this[_0x4c4b7d(0x196)]=_0x5ecec1,this[_0x4c4b7d(0x317)]=_0x53448d);}[_0x3f3e43(0x37f)](_0x5e72cc){var _0x30cc78=_0x3f3e43;this[_0x30cc78(0x23a)]=_0x5e72cc;}['dispose'](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x296762=_0x3f3e43;const _0x2ee602=super[_0x296762(0x103)]();return _0x2ee602[_0x296762(0x2f7)]=_0x108c2b=>{var _0x22d9d8=_0x296762,_0x4c8167,_0x3da9b6;return(_0x3da9b6=(_0x4c8167=this[_0x22d9d8(0x23a)])==null?void 0x0:_0x4c8167['onTransformIME'])==null?void 0x0:_0x3da9b6['call'](_0x4c8167,_0x108c2b);},_0x2ee602[_0x296762(0x315)]=_0xbe7da6=>{var _0x16d1da=_0x296762,_0x3c20cd,_0x457983;return(_0x457983=(_0x3c20cd=this[_0x16d1da(0x23a)])==null?void 0x0:_0x3c20cd[_0x16d1da(0x315)])==null?void 0x0:_0x457983[_0x16d1da(0x1df)](_0x3c20cd,_0xbe7da6);},_0x2ee602[_0x296762(0x1e2)]=_0x22b4a2=>{var _0x2f05b0=_0x296762,_0x416410,_0x3fd2f3;return(_0x3fd2f3=(_0x416410=this[_0x2f05b0(0x23a)])==null?void 0x0:_0x416410['onTransformSelections'])==null?void 0x0:_0x3fd2f3[_0x2f05b0(0x1df)](_0x416410,_0x22b4a2);},_0x2ee602[_0x296762(0x272)]=_0x3a51bd=>{var _0x13d342=_0x296762,_0x122efd,_0x3d3a0c;return(_0x3d3a0c=(_0x122efd=this['_handlerCallback'])==null?void 0x0:_0x122efd[_0x13d342(0x272)])==null?void 0x0:_0x3d3a0c['call'](_0x122efd,_0x3a51bd);},_0x2ee602['onTransformRemoteChangesetByIMECache']=_0x3e5102=>{var _0x498277=_0x296762,_0x1014bf,_0x4704fb,_0xd15c3b;if(!((_0x1014bf=this[_0x498277(0x23a)])!=null&&_0x1014bf[_0x498277(0x15d)]))throw new Error(_0x498277(0x19e));return(_0xd15c3b=(_0x4704fb=this[_0x498277(0x23a)])==null?void 0x0:_0x4704fb['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xd15c3b[_0x498277(0x1df)](_0x4704fb,_0x3e5102);},_0x2ee602[_0x296762(0x2dc)]=_0x2dbf4c=>{var _0x23627b=_0x296762,_0x41f256,_0x560385,_0x5f29bf;if(!((_0x41f256=this[_0x23627b(0x23a)])!=null&&_0x41f256['onTransformRemoteChangesetByStateCache']))throw new Error(_0x23627b(0x2b6));return(_0x5f29bf=(_0x560385=this[_0x23627b(0x23a)])==null?void 0x0:_0x560385['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5f29bf['call'](_0x560385,_0x2dbf4c);},_0x2ee602;}async[_0x3f3e43(0x28c)](){var _0x589aa7=_0x3f3e43;const _0x2c9b08=await super[_0x589aa7(0x28c)]();return this[_0x589aa7(0x2f6)](this[_0x589aa7(0x2e4)]['onCommandExecuted']((_0x24a40c,_0x3fe9fa)=>{var _0x1c61a6=_0x589aa7;if(_0x24a40c[_0x1c61a6(0x317)]!==_0x1d2361[_0x1c61a6(0x2da)]||_0x3fe9fa!=null&&_0x3fe9fa[_0x1c61a6(0x227)]||_0x3fe9fa!=null&&_0x3fe9fa[_0x1c61a6(0x28e)]||_0x24a40c['id']===_0x53e688['id'])return;const _0x364463=_0x24a40c['params'];if((_0x364463==null?void 0x0:_0x364463[_0x1c61a6(0x18d)])!==this[_0x1c61a6(0x196)])return;const _0x5ab4eb=_0x24a40c,_0x404175=this[_0x1c61a6(0x2e0)]['interceptor']['fetchThroughInterceptors'](this[_0x1c61a6(0x2e0)][_0x1c61a6(0x8e)][_0x1c61a6(0x252)]()[_0x1c61a6(0x2d4)])([_0x5ab4eb],this['_univerInstanceService'])||[_0x5ab4eb];this[_0x1c61a6(0x284)](_0x404175[0x0]);})),_0x2c9b08;}};It=Pt([$(0x3,_0x5e33bf(_0x951761)),$(0x4,_0x5e33bf(_0x2a0dcf)),$(0x5,_0x5e33bf(_0x20f53f)),$(0x6,_0x5e33bf(_0x27e825)),$(0x7,_0x5e33bf(ve)),$(0x8,_0x321c7f),$(0x9,_0x3f8704),$(0xa,_0x31319f),$(0xb,_0x38e5a9),$(0xc,_0x4e4cb4(_t)),$(0xd,_0x4e4cb4(J))],It);let St=class extends st{constructor(_0xc20cde,_0x1c0b86,_0x23353f,_0xcbe3d9,_0x5cbde5,_0x464491,_0x32dc30,_0x203355,_0x58807e,_0x3e11cb,_0x5ecae0,_0x247550,_0x5811cf,_0x3bb3b0,_0x21b123){var _0x31e8b3=_0x3f3e43;super(_0xc20cde,_0x23353f,_0x1c0b86,_0xcbe3d9,_0x5cbde5,_0x464491,_0x32dc30,_0x58807e,_0x3e11cb,_0x5ecae0,_0x247550,_0x5811cf,_0x3bb3b0,_0x21b123),this['unitID']=_0xc20cde,this['type']=_0x1c0b86,this[_0x31e8b3(0x187)]=_0x203355;}[_0x3f3e43(0x103)](){var _0x532e0c=_0x3f3e43;const _0x269840=super['_createHandler']();return _0x269840[_0x532e0c(0x1e2)]=_0x584571=>this[_0x532e0c(0x187)]['transformSelections'](_0x584571),_0x269840;}async[_0x3f3e43(0x28c)](){var _0x31ec7c=_0x3f3e43;const _0x42d4ef=await super[_0x31ec7c(0x28c)]();return this[_0x31ec7c(0x2f6)](this[_0x31ec7c(0x2e4)][_0x31ec7c(0xe1)]((_0x58a511,_0xfefa7d)=>{var _0x3e7e2d=_0x31ec7c;if(_0x58a511['type']!==_0x1d2361['MUTATION']||_0xfefa7d!=null&&_0xfefa7d['fromCollab']||_0xfefa7d!=null&&_0xfefa7d[_0x3e7e2d(0x28e)])return;const _0x4c463a=_0x58a511[_0x3e7e2d(0x2a1)];if((_0x4c463a==null?void 0x0:_0x4c463a[_0x3e7e2d(0x18d)])!==this['unitID'])return;const _0xe68876=_0x58a511,_0x4a05ff=this[_0x3e7e2d(0x2e0)][_0x3e7e2d(0x8e)][_0x3e7e2d(0xc6)](this[_0x3e7e2d(0x2e0)]['interceptor'][_0x3e7e2d(0x252)]()[_0x3e7e2d(0x2d4)])([_0xe68876],this[_0x3e7e2d(0x373)])||[_0xe68876];this[_0x3e7e2d(0x284)](_0x4a05ff[0x0]);})),_0x42d4ef;}};St=Pt([$(0x3,_0x5e33bf(_0x951761)),$(0x4,_0x5e33bf(_0x2a0dcf)),$(0x5,_0x5e33bf(_0x20f53f)),$(0x6,_0x5e33bf(_0x27e825)),$(0x7,_0x5e33bf(it)),$(0x8,_0x5e33bf(ve)),$(0x9,_0x321c7f),$(0xa,_0x3f8704),$(0xb,_0x31319f),$(0xc,_0x38e5a9),$(0xd,_0x4e4cb4(_t)),$(0xe,_0x4e4cb4(J))],St);const Fs=_0x9c0e2a(_0x3f3e43(0x25e));function js(_0x2dfbd1){var _0x5bc606=_0x3f3e43,_0x5c3739,_0x43b9d4,_0x2849f1,_0x287335,_0x448ccb;const _0xc33617=_0x2dfbd1[_0x5bc606(0x137)],_0x5aacea=JSON['parse'](_0xc33617);switch(_0x5aacea[_0x5bc606(0xbb)]){case j['HEARTBEAT']:case j[_0x5bc606(0x1d7)]:{const _0x49422e=_0x5aacea[_0x5bc606(0x26d)];return{..._0x5aacea,'data':_0x49422e,'cmd':_0x5aacea[_0x5bc606(0xbb)]};}case j[_0x5bc606(0x1f2)]:{const _0x114fdc=_0x5aacea['joinRsp'];return{..._0x5aacea,'data':_0x114fdc,'cmd':_0x5aacea[_0x5bc606(0xbb)]};}case j[_0x5bc606(0x1d4)]:{const _0x2e0f62=_0x5aacea[_0x5bc606(0x2fd)];switch(_0x2e0f62[_0x5bc606(0x27d)]){case _0x587846[_0x5bc606(0x1e7)]:return{..._0x5aacea,'data':{..._0x2e0f62,'data':(_0x5c3739=_0x2e0f62[_0x5bc606(0x160)])==null?void 0x0:_0x5c3739['cs']},'cmd':_0x5aacea['cmd']};case _0x587846[_0x5bc606(0x145)]:return{..._0x5aacea,'data':{..._0x2e0f62,'data':(_0x43b9d4=_0x2e0f62['csAckEvent'])==null?void 0x0:_0x43b9d4['cs']},'cmd':_0x5aacea[_0x5bc606(0xbb)]};case _0x587846[_0x5bc606(0x21f)]:return{..._0x5aacea,'data':{..._0x2e0f62,'data':(_0x2849f1=_0x2e0f62[_0x5bc606(0x125)])==null?void 0x0:_0x2849f1['cs']},'cmd':_0x5aacea[_0x5bc606(0xbb)]};case _0x587846['CHANGESET_REJ']:return{..._0x5aacea,'data':{..._0x2e0f62,'data':(_0x287335=_0x2e0f62[_0x5bc606(0x1f9)])==null?void 0x0:_0x287335['cs']},'cmd':_0x5aacea['cmd']};case _0x587846[_0x5bc606(0x35e)]:return{..._0x5aacea,'data':{..._0x2e0f62,'data':(_0x448ccb=_0x2e0f62[_0x5bc606(0x314)])==null?void 0x0:_0x448ccb['cs']},'cmd':_0x5aacea[_0x5bc606(0xbb)]};case _0x587846[_0x5bc606(0x2fe)]:return{..._0x5aacea,'data':{..._0x2e0f62,'data':_0x2e0f62[_0x5bc606(0x258)]},'cmd':_0x5aacea['cmd']};case _0x587846['USERS_ENTER']:return{..._0x5aacea,'data':{..._0x2e0f62,'data':_0x2e0f62[_0x5bc606(0x2ef)]},'cmd':_0x5aacea[_0x5bc606(0xbb)]};case _0x587846['USERS_LEAVE']:return{..._0x5aacea,'data':{..._0x2e0f62,'data':_0x2e0f62[_0x5bc606(0x299)]},'cmd':_0x5aacea['cmd']};case _0x587846[_0x5bc606(0x311)]:return{..._0x5aacea,'data':{..._0x2e0f62,'data':_0x2e0f62[_0x5bc606(0x3ae)]},'cmd':_0x5aacea[_0x5bc606(0xbb)]};case _0x587846[_0x5bc606(0xf1)]:case _0x587846[_0x5bc606(0x392)]:return{..._0x5aacea,'data':{..._0x2e0f62,'data':_0x2e0f62['liveShareOperation']},'cmd':_0x5aacea[_0x5bc606(0xbb)]};case _0x587846[_0x5bc606(0x2f3)]:return{..._0x5aacea,'data':{..._0x2e0f62,'data':_0x2e0f62[_0x5bc606(0x3ae)]},'cmd':_0x5aacea['cmd']};case _0x587846[_0x5bc606(0x23d)]:return{..._0x5aacea,'data':_0x2e0f62,'cmd':_0x5aacea[_0x5bc606(0xbb)]};case _0x587846[_0x5bc606(0x13d)]:return{..._0x5aacea,'data':{..._0x2e0f62,'data':_0x2e0f62[_0x5bc606(0x217)]},'cmd':_0x5aacea[_0x5bc606(0xbb)]};case _0x587846[_0x5bc606(0x21b)]:return{..._0x5aacea,'data':{..._0x2e0f62,'data':_0x2e0f62[_0x5bc606(0x279)]},'cmd':_0x5aacea[_0x5bc606(0xbb)]};case _0x587846[_0x5bc606(0x1a2)]:return{..._0x5aacea,'data':{..._0x2e0f62,'data':_0x2e0f62[_0x5bc606(0xfd)]},'cmd':_0x5aacea[_0x5bc606(0xbb)]};case _0x587846[_0x5bc606(0x29d)]:return{..._0x5aacea,'data':{..._0x2e0f62,'data':_0x2e0f62[_0x5bc606(0x155)]},'cmd':_0x5aacea['cmd']};default:return _0x5aacea;}}default:return _0x5aacea;}}function Vs(_0x4d6b03){var _0x178e9b=_0x3f3e43;switch(_0x4d6b03['cmd']){case j[_0x178e9b(0x27b)]:case j[_0x178e9b(0x1d7)]:return JSON[_0x178e9b(0x2bf)]({'cmd':_0x4d6b03[_0x178e9b(0xbb)],'routeKey':_0x4d6b03[_0x178e9b(0x377)]});case j['INGEST']:{let _0x599916;switch(_0x4d6b03['data']['eventID']){case _0x587846[_0x178e9b(0x2fe)]:{_0x599916={'eventID':_0x587846[_0x178e9b(0x2fe)],'updateCursorEvent':_0x4d6b03[_0x178e9b(0x137)][_0x178e9b(0x137)]};break;}case _0x587846[_0x178e9b(0xb9)]:{_0x599916={'eventID':_0x587846[_0x178e9b(0xb9)],'leaveEvent':_0x4d6b03[_0x178e9b(0x137)][_0x178e9b(0x137)]};break;}case _0x587846[_0x178e9b(0x366)]:{_0x599916={'eventID':_0x587846[_0x178e9b(0x366)],'joinEvent':_0x4d6b03[_0x178e9b(0x137)][_0x178e9b(0x137)]};break;}case _0x587846[_0x178e9b(0x311)]:{_0x599916={'eventID':_0x587846[_0x178e9b(0x311)],'liveShareNewHost':_0x4d6b03[_0x178e9b(0x137)]['data']};break;}case _0x587846[_0x178e9b(0x392)]:{_0x599916={'eventID':_0x587846[_0x178e9b(0x392)],'liveShareOperation':_0x4d6b03[_0x178e9b(0x137)][_0x178e9b(0x137)]};break;}case _0x587846[_0x178e9b(0x2f3)]:{_0x599916={'eventID':_0x587846[_0x178e9b(0x2f3)],'liveShareTerminate':_0x4d6b03['data']['data']};break;}case _0x587846['LIVESHARE_REQUEST_HOST']:{_0x599916={'eventID':_0x587846[_0x178e9b(0x26e)],'liveShareRequestHost':_0x4d6b03[_0x178e9b(0x137)][_0x178e9b(0x137)]};break;}case _0x587846['LIVESHARE_FETCH_OPERATIONS']:{_0x599916={'eventID':_0x587846[_0x178e9b(0xf1)]};break;}default:_0x599916={'eventID':_0x4d6b03[_0x178e9b(0x137)][_0x178e9b(0x27d)]};}return JSON['stringify']({'cmd':_0x4d6b03['cmd'],'routeKey':_0x4d6b03['routeKey'],'collaMsg':_0x599916});}case j[_0x178e9b(0x1f2)]:return JSON[_0x178e9b(0x2bf)]({'cmd':_0x4d6b03['cmd'],'routeKey':_0x4d6b03[_0x178e9b(0x377)],'joinReq':_0x4d6b03[_0x178e9b(0x137)]});case j['LEAVE']:return JSON[_0x178e9b(0x2bf)]({'cmd':_0x4d6b03[_0x178e9b(0xbb)],'routeKey':_0x4d6b03[_0x178e9b(0x377)],'leaveReq':_0x4d6b03[_0x178e9b(0x137)]});default:throw new Error(_0x178e9b(0x253));}}var Gs=Object[_0x3f3e43(0x16a)],Ws=(_0x23f305,_0x55e79f,_0x567b90,_0x46a705)=>{var _0x45ff06=_0x3f3e43;for(var _0x376286=_0x46a705>0x1?void 0x0:_0x46a705?Gs(_0x55e79f,_0x567b90):_0x55e79f,_0x503240=_0x23f305[_0x45ff06(0x371)]-0x1,_0x242cda;_0x503240>=0x0;_0x503240--)(_0x242cda=_0x23f305[_0x503240])&&(_0x376286=_0x242cda(_0x376286)||_0x376286);return _0x376286;},ye=(_0x5a8ab7,_0x5e5cde)=>(_0x4e55e0,_0x3d8887)=>_0x5e5cde(_0x4e55e0,_0x3d8887,_0x5a8ab7);const Oi=_0x9c0e2a(_0x3f3e43(0x32f));function Ys(_0x5eccb1,_0x2573cc,_0x464f5a){var _0x413cbb=_0x3f3e43;return _0x5eccb1+'/'+_0x2573cc+_0x413cbb(0x148)+_0x464f5a+_0x413cbb(0x286);}let Wt=class extends _0x5496cf{constructor(_0x23d84a,_0x148735,_0xd4aa91,_0x4f87f0,_0x11bbcb){var _0x35ed62=_0x3f3e43;super(),this[_0x35ed62(0x277)]=_0x23d84a,this['_httpService']=_0x148735,this['_configService']=_0xd4aa91,this[_0x35ed62(0x274)]=_0x4f87f0,this[_0x35ed62(0x21e)]=_0x11bbcb;}[_0x3f3e43(0x322)](_0x4554b7){var _0x24e8be=_0x3f3e43;const _0x3ef446=this[_0x24e8be(0x277)][_0x24e8be(0x13f)](_0x5c3e44);if(!_0x3ef446)throw new Error(_0x24e8be(0x262));const _0x134190=_0x3ef446[_0x24e8be(0xa7)](_0x4554b7);if(!_0x134190)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x34d3b7=new _0x407c70(),_0x4274a5=new _0x2dc849();_0x34d3b7[_0x24e8be(0x26c)](_0x134190[_0x24e8be(0x232)][_0x24e8be(0x185)](_0x1a4fcb=>_0x4274a5[_0x24e8be(0x318)](_0x1a4fcb))),_0x34d3b7['add'](_0x449264(()=>_0x4274a5['complete']()));const _0x5e7970=new _0x2dc849();_0x34d3b7['add'](_0x134190[_0x24e8be(0x2d6)][_0x24e8be(0x185)](_0x3770de=>_0x5e7970[_0x24e8be(0x318)](_0x3770de))),_0x34d3b7[_0x24e8be(0x26c)](_0x449264(()=>_0x5e7970['complete']()));const _0x354c79=new _0x2dc849();_0x34d3b7[_0x24e8be(0x26c)](_0x134190[_0x24e8be(0x236)][_0x24e8be(0x185)](_0x1b3e0d=>{var _0x36d161=_0x24e8be;const _0x5268bf=js(_0x1b3e0d);_0x354c79[_0x36d161(0x318)](_0x5268bf);})),_0x34d3b7[_0x24e8be(0x26c)](_0x449264(()=>_0x354c79[_0x24e8be(0x2b0)]()));let _0x2ada2a;const _0x122e8e=()=>{var _0x4a033c=_0x24e8be;_0x5e7970[_0x4a033c(0x318)](new Event(_0x4a033c(0x325))),_0x4274a5['next'](new Event(_0x4a033c(0x325))),_0x2ada2a[_0x4a033c(0x1f3)]();};return _0x2ada2a={'memberID':'','close$':_0x4274a5[_0x24e8be(0x291)](),'error$':_0x5e7970[_0x24e8be(0x291)](),'open$':_0x134190['open$'],'message$':_0x354c79['asObservable'](),'send':_0x47137e=>{var _0x3ce4bf=_0x24e8be;if(_0x47137e['cmd']===j['INGEST']){if(_0x47137e[_0x3ce4bf(0x137)][_0x3ce4bf(0x27d)]===_0x587846['SUBMIT_CHANGESET']){this[_0x3ce4bf(0x1fb)](_0x2ada2a,_0x47137e[_0x3ce4bf(0x137)])['catch'](_0x47768d=>{var _0x26f606=_0x3ce4bf;this[_0x26f606(0x274)][_0x26f606(0x28d)](_0x47768d),_0x122e8e();});return;}if(_0x47137e[_0x3ce4bf(0x137)]['eventID']===_0x587846['FETCH_MISSING']){const _0x17afa2=_0x47137e[_0x3ce4bf(0x137)];this[_0x3ce4bf(0x141)](_0x17afa2)[_0x3ce4bf(0x35a)](_0x475672=>{var _0xcc4b67=_0x3ce4bf;_0x354c79['next']({'cmd':j[_0xcc4b67(0x1d4)],'code':pe['OK'],'routeKey':_0x17afa2[_0xcc4b67(0x137)][_0xcc4b67(0x196)],'routeType':'','data':{'eventID':_0x587846['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x475672}}});})[_0x3ce4bf(0x2ea)](_0x35a98e=>{var _0x447c4c=_0x3ce4bf;this[_0x447c4c(0x274)][_0x447c4c(0x28d)](_0x35a98e),_0x122e8e();});return;}}_0x134190[_0x3ce4bf(0x254)](Vs(_0x47137e));},'close':()=>{var _0x4e7c51=_0x24e8be;_0x134190[_0x4e7c51(0x1f3)](),_0x34d3b7['dispose']();}},_0x2ada2a;}async[_0x3f3e43(0x1fb)](_0x24db35,_0x3eb3c1){var _0x2b4072=_0x3f3e43,_0x3ddd62;const {unitType:_0xf9ddf2,unitID:_0x1f984b,changeset:_0x16e511}=_0x3eb3c1[_0x2b4072(0x137)],_0x3e4314={'unitID':_0x1f984b,'memberID':_0x24db35['memberID'],'type':_0xf9ddf2,'changeset':_0x369651(_0x16e511)},_0x18bea8=this['_configService'][_0x2b4072(0x2ec)](K),_0x9e6446=Ys((_0x3ddd62=_0x18bea8==null?void 0x0:_0x18bea8['collabSubmitChangesetUrl'])!=null?_0x3ddd62:Os,_0xf9ddf2,_0x1f984b);try{await this[_0x2b4072(0x397)][_0x2b4072(0x269)](_0x9e6446,{'body':_0x3e4314});}catch(_0x3f6319){throw this[_0x2b4072(0x274)]['error'](_0x2b4072(0x17f),_0x2b4072(0x244)),_0x3f6319;}}async[_0x3f3e43(0x141)](_0x5df607){var _0x1923a4=_0x3f3e43;const {unitID:_0x23ab71,from:_0x49b833,to:_0x58f81d,unitType:_0x55b438}=_0x5df607[_0x1923a4(0x137)];return(await this['_snapshotServerService'][_0x1923a4(0x2c7)]({'metadata':void 0x0},{'unitID':_0x23ab71,'type':_0x55b438,'from':_0x49b833,'to':_0x58f81d}))[_0x1923a4(0x243)][_0x1923a4(0xb7)](_0x1b07a8=>((_0x1b07a8[_0x1923a4(0x1bf)]===null||_0x1b07a8['mutations']===void 0x0)&&(_0x1b07a8[_0x1923a4(0x1bf)]=[]),_0x1b07a8));}};Wt=Ws([ye(0x0,_0x5e33bf(_0x951761)),ye(0x1,_0x5e33bf(_0xbb2f1c)),ye(0x2,_0x31c610),ye(0x3,_0x3f8704),ye(0x4,_0x3cb6cf)],Wt);var Ks=Object['getOwnPropertyDescriptor'],qs=(_0x1fcb82,_0x1f9f3d,_0x30c059,_0x2a5ee5)=>{var _0x2c04e4=_0x3f3e43;for(var _0x1c9cdb=_0x2a5ee5>0x1?void 0x0:_0x2a5ee5?Ks(_0x1f9f3d,_0x30c059):_0x1f9f3d,_0x217c3a=_0x1fcb82[_0x2c04e4(0x371)]-0x1,_0x13921a;_0x217c3a>=0x0;_0x217c3a--)(_0x13921a=_0x1fcb82[_0x217c3a])&&(_0x1c9cdb=_0x13921a(_0x1c9cdb)||_0x1c9cdb);return _0x1c9cdb;},Re=(_0x5caf2f,_0x3d1a05)=>(_0x56080f,_0x3b8aae)=>_0x3d1a05(_0x56080f,_0x3b8aae,_0x5caf2f);let we=class extends _0x5496cf{constructor(_0x3bdbfd,_0x1fcf2d,_0x4f5be9,_0x472447,_0x509e35,_0x397bdd){var _0x106ec4=_0x3f3e43;super(),D(this,_0x106ec4(0x16f),new _0x3cc84f(void 0x0)),D(this,_0x106ec4(0x14d),this[_0x106ec4(0x16f)]['asObservable']()),D(this,'_candidateSocket',null),D(this,_0x106ec4(0x11d),new Map()),D(this,_0x106ec4(0x32b),new _0x3cc84f(me['IDLE'])),D(this,_0x106ec4(0xbc),this[_0x106ec4(0x32b)][_0x106ec4(0x291)]()),D(this,_0x106ec4(0xcf),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x106ec4(0x2ed),0x0),D(this,_0x106ec4(0x228)),D(this,'_timeoutTimer'),(this[_0x106ec4(0x277)]=_0x3bdbfd,this[_0x106ec4(0x274)]=_0x1fcf2d,this[_0x106ec4(0x281)]=_0x4f5be9,this[_0x106ec4(0x326)]=_0x472447,this[_0x106ec4(0x184)]=_0x509e35,this['_networkConditionService']=_0x397bdd,this['_listenToNetworkCondition']());}get['_socket'](){var _0x61d854=_0x3f3e43;return this[_0x61d854(0x16f)][_0x61d854(0xb4)]();}['_listenToNetworkCondition'](){var _0x1cefb1=_0x3f3e43;this[_0x1cefb1(0x204)]&&this['disposeWithMe'](this[_0x1cefb1(0x204)][_0x1cefb1(0xef)][_0x1cefb1(0x185)](_0x3b6ff5=>{var _0x163ed2=_0x1cefb1;_0x3b6ff5&&!this[_0x163ed2(0x1cf)]&&this[_0x163ed2(0x12f)](),_0x3b6ff5||this[_0x163ed2(0x28f)]();}));}['dispose'](){var _0x476a4f=_0x3f3e43;super[_0x476a4f(0x2dd)](),this[_0x476a4f(0x1be)](),this[_0x476a4f(0x3a9)](),this[_0x476a4f(0x9e)](),this['_sessions']['forEach'](_0x193c10=>_0x193c10[_0x476a4f(0x2dd)]()),this[_0x476a4f(0x11d)]['clear'](),this[_0x476a4f(0x32b)][_0x476a4f(0x2b0)]();}async[_0x3f3e43(0x32a)](_0x57095e){var _0x283070=_0x3f3e43;if(this[_0x283070(0x11d)][_0x283070(0x32c)](_0x57095e))return this[_0x283070(0x11d)][_0x283070(0x13f)](_0x57095e);this[_0x283070(0x139)]();const _0x7d290f=this[_0x283070(0x277)][_0x283070(0x2a0)](mt,_0x57095e,this['_socket$'][_0x283070(0x291)]());return this[_0x283070(0x11d)][_0x283070(0x111)](_0x57095e,_0x7d290f),_0x7d290f;}['closeSession'](_0x4239c0){var _0x17ee68=_0x3f3e43,_0x4ef1b4;const _0x36d7e7=this[_0x17ee68(0x11d)][_0x17ee68(0x13f)](_0x4239c0);_0x36d7e7&&(this['_sessions'][_0x17ee68(0xd2)](_0x4239c0),_0x36d7e7[_0x17ee68(0x1f3)]()),this[_0x17ee68(0x11d)]['size']||(_0x4ef1b4=this[_0x17ee68(0x1cf)])==null||_0x4ef1b4['close']();}['reconnect'](){var _0x1f1686=_0x3f3e43;this[_0x1f1686(0x2ed)]=0x0,this[_0x1f1686(0x1be)](),this[_0x1f1686(0xa4)]();}[_0x3f3e43(0x1be)](){var _0x2f8e95=_0x3f3e43;this[_0x2f8e95(0x20d)]!=null&&(clearTimeout(this[_0x2f8e95(0x20d)]),this[_0x2f8e95(0x20d)]=null);}async[_0x3f3e43(0x260)](){var _0x3b014c=_0x3f3e43,_0x3bbf6c;const _0x3a4189=this['_configService'][_0x3b014c(0x2ec)](K),_0x4bb0c7=(_0x3bbf6c=_0x3a4189==null?void 0x0:_0x3a4189[_0x3b014c(0x167)])!=null?_0x3bbf6c:Es,_0x4672a4=await this[_0x3b014c(0x326)][_0x3b014c(0xa7)](_0x4bb0c7);return this[_0x3b014c(0x3b0)]=_0x4672a4,_0x4672a4;}async[_0x3f3e43(0x139)](){var _0xaf04e8=_0x3f3e43,_0x395d1e,_0x5dd51b;try{const _0x3c64dc=(_0x5dd51b=(_0x395d1e=this[_0xaf04e8(0x1cf)])!=null?_0x395d1e:this[_0xaf04e8(0x3b0)])!=null?_0x5dd51b:await this[_0xaf04e8(0x260)]();if(_0x3c64dc){const _0x2c2230=_0x3c64dc[_0xaf04e8(0x254)];_0x3c64dc[_0xaf04e8(0x254)]=_0x5caaaa=>(this[_0xaf04e8(0x22d)](),_0x2c2230[_0xaf04e8(0x12d)](_0x3c64dc,[_0x5caaaa])),_0x3c64dc[_0xaf04e8(0x236)][_0xaf04e8(0x185)](_0x390422=>this['_onMessage'](_0x3c64dc,_0x390422)),_0x3c64dc[_0xaf04e8(0x2d6)][_0xaf04e8(0x107)](_0x489f49(0x1))['subscribe'](_0x4dc478=>this[_0xaf04e8(0x274)][_0xaf04e8(0x28d)](_0xaf04e8(0x276),_0x4dc478)),_0x3c64dc[_0xaf04e8(0x1a4)][_0xaf04e8(0x107)](_0x489f49(0x1))[_0xaf04e8(0x185)](()=>{var _0x4d53df=_0xaf04e8;this[_0x4d53df(0x25a)](_0x3c64dc);}),_0x3c64dc[_0xaf04e8(0x232)][_0xaf04e8(0x107)](_0x489f49(0x1))['subscribe'](_0x37522f=>{var _0x25ef8a=_0xaf04e8;this[_0x25ef8a(0x274)][_0x25ef8a(0x1eb)](_0x25ef8a(0x10e),_0x25ef8a(0x31d),_0x37522f),this['_onConnectionFailed']();});}}catch(_0x268c34){this[_0xaf04e8(0x274)][_0xaf04e8(0x28d)](_0x268c34),this[_0xaf04e8(0xe3)]();}}['_onConnectionOpen'](_0x566e41){var _0x3f5e73=_0x3f3e43;this['_logService'][_0x3f5e73(0x1eb)](_0x3f5e73(0x10e),_0x3f5e73(0x256)),_0x566e41[_0x3f5e73(0x254)]({'cmd':j['HELLO']}),this[_0x3f5e73(0x22d)]();}[_0x3f3e43(0x28f)](){var _0x361ec4=_0x3f3e43;this[_0x361ec4(0xcf)]=!0x1,this[_0x361ec4(0x3b0)]=null,this[_0x361ec4(0x32b)][_0x361ec4(0x318)](me['OFFLINE']),this['_socket$'][_0x361ec4(0x318)](null),this[_0x361ec4(0x3a9)](),this[_0x361ec4(0x9e)]();}[_0x3f3e43(0xe3)](){var _0x40f269=_0x3f3e43,_0x26e2ff;this[_0x40f269(0x28f)](),this[_0x40f269(0x2ed)]<((_0x26e2ff=this[_0x40f269(0x281)][_0x40f269(0x2ec)](gs))!=null?_0x26e2ff:Ts)?(this[_0x40f269(0x184)][_0x40f269(0x39d)]({'id':re[_0x40f269(0x1c9)]}),this[_0x40f269(0xa4)]()):this[_0x40f269(0x184)][_0x40f269(0x39d)]({'id':re['SOCKET_FAILED']});}['_tryReconnect'](){var _0x1228b3=_0x3f3e43,_0x448295;const _0x205e5e=this[_0x1228b3(0x2ed)],_0x56c187=this['_configService'][_0x1228b3(0x2ec)](K),_0x1ad10d=_0x205e5e===0x0?0x0:((_0x448295=_0x56c187==null?void 0x0:_0x56c187[_0x1228b3(0xa1)])!=null?_0x448295:Ss)*0x2**_0x205e5e;this[_0x1228b3(0x20d)]=setTimeout(()=>{var _0x26e1ac=_0x1228b3;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x26e1ac(0x139)]();},_0x1ad10d),this[_0x1228b3(0x2ed)]+=0x1;}[_0x3f3e43(0x1b3)](_0x35d6ca,_0x35d7e9){var _0x101b5a=_0x3f3e43;const {cmd:_0x5983f1}=_0x35d7e9;_0x5983f1===j[_0x101b5a(0x1d7)]&&!this['_socketReady']&&(_0x35d6ca[_0x101b5a(0x13c)]=_0x35d7e9[_0x101b5a(0x137)][_0x101b5a(0x13c)],this[_0x101b5a(0x16f)][_0x101b5a(0x318)](_0x35d6ca),this[_0x101b5a(0x32b)][_0x101b5a(0x318)](me['ONLINE']),this[_0x101b5a(0xcf)]=!0x0,this[_0x101b5a(0x3b0)]=null),_0x5983f1===j[_0x101b5a(0x27b)]&&this[_0x101b5a(0x3a9)](),this[_0x101b5a(0x22d)]();}[_0x3f3e43(0x22d)](){var _0x8b3d2c=_0x3f3e43,_0x24c7d3;this[_0x8b3d2c(0x9e)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x8b3d2c(0x1ac)](),(_0x24c7d3=this[_0x8b3d2c(0x281)][_0x8b3d2c(0x2ec)](ms))!=null?_0x24c7d3:Is);}[_0x3f3e43(0x1ac)](){var _0x39dfdb=_0x3f3e43;this[_0x39dfdb(0x1cf)][_0x39dfdb(0x254)]({'cmd':j[_0x39dfdb(0x27b)]}),this[_0x39dfdb(0x36e)]();}['_waitForHeartbeatResponse'](){var _0x5b3752=_0x3f3e43,_0x12cd06;this[_0x5b3752(0x35b)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x12cd06=this[_0x5b3752(0x281)][_0x5b3752(0x2ec)](di))!=null?_0x12cd06:fi);}[_0x3f3e43(0x9e)](){var _0x4893c9=_0x3f3e43;this[_0x4893c9(0x228)]!=null&&(clearTimeout(this[_0x4893c9(0x228)]),this[_0x4893c9(0x228)]=null);}[_0x3f3e43(0x3a9)](){var _0x5514a6=_0x3f3e43;this[_0x5514a6(0x35b)]!=null&&(clearTimeout(this[_0x5514a6(0x35b)]),this[_0x5514a6(0x35b)]=null);}};we=qs([Re(0x0,_0x5e33bf(_0x951761)),Re(0x1,_0x3f8704),Re(0x2,_0x31c610),Re(0x3,Oi),Re(0x4,_0x5e33bf(ve)),Re(0x5,_0x4e4cb4(Fs))],we);var zs=Object[_0x3f3e43(0x16a)],Js=(_0xb1db10,_0x14e123,_0x4b3d0a,_0x59cd4d)=>{var _0x3881b3=_0x3f3e43;for(var _0x4a5fc8=_0x59cd4d>0x1?void 0x0:_0x59cd4d?zs(_0x14e123,_0x4b3d0a):_0x14e123,_0x25d49f=_0xb1db10[_0x3881b3(0x371)]-0x1,_0x4d3343;_0x25d49f>=0x0;_0x25d49f--)(_0x4d3343=_0xb1db10[_0x25d49f])&&(_0x4a5fc8=_0x4d3343(_0x4a5fc8)||_0x4a5fc8);return _0x4a5fc8;},Be=(_0x2cf750,_0x3a57ce)=>(_0xed9724,_0x31e6c7)=>_0x3a57ce(_0xed9724,_0x31e6c7,_0x2cf750);let nt=class extends _0x3f64e4{constructor(_0x2594d6,_0x5a5efc,_0x64ecd8,_0x515a0c){var _0x47da6f=_0x3f3e43,_0x3f9528;super(),D(this,'_entities',new Map()),D(this,_0x47da6f(0x2cd),new _0x2dc849()),D(this,_0x47da6f(0x1ed),this[_0x47da6f(0x2cd)][_0x47da6f(0x291)]()),(this[_0x47da6f(0x277)]=_0x2594d6,this[_0x47da6f(0x2d0)]=_0x5a5efc,this[_0x47da6f(0x281)]=_0x64ecd8,this[_0x47da6f(0x373)]=_0x515a0c,((_0x3f9528=this[_0x47da6f(0x281)][_0x47da6f(0x2ec)](K))==null?void 0x0:_0x3f9528[_0x47da6f(0x11b)])!==!0x1&&this[_0x47da6f(0x28c)]());}[_0x3f3e43(0x2dd)](){var _0x313faf=_0x3f3e43;super[_0x313faf(0x2dd)](),this[_0x313faf(0x390)][_0x313faf(0x93)](_0x18d8f0=>_0x18d8f0[_0x313faf(0x2dd)]()),this[_0x313faf(0x390)][_0x313faf(0x1b5)]();}['getCollabEntity'](_0x1c08ea){var _0x2be499;return(_0x2be499=this['_entities']['get'](_0x1c08ea))!=null?_0x2be499:null;}[_0x3f3e43(0x25d)](_0x4b5812){var _0x8c5506=_0x3f3e43;const _0x15ebf5=this[_0x8c5506(0x285)](_0x4b5812);return _0x15ebf5?_0x2b7dfb(_0x15ebf5):this[_0x8c5506(0x2cd)]['pipe'](_0x25ba60(_0x279433=>_0x279433[_0x8c5506(0x196)]===_0x4b5812));}[_0x3f3e43(0x266)](_0x332233){var _0x17873a=_0x3f3e43;return _0x2a374a(this['getCollabEntity$'](_0x332233)[_0x17873a(0x107)](_0x29b4d5(()=>{})));}[_0x3f3e43(0x28c)](){var _0x1cbc0e=_0x3f3e43;this[_0x1cbc0e(0x373)]['getTypeOfUnitAdded$'](_0x1b2ec3[_0x1cbc0e(0x207)])[_0x1cbc0e(0x107)](_0x304d48(this[_0x1cbc0e(0x14e)]),_0x1f43c4(0x10))['subscribe'](async _0x14072f=>{var _0x3d28fb=_0x1cbc0e;const _0x58efcd=_0x14072f[_0x3d28fb(0xdd)](),_0x4fc5c2=await this[_0x3d28fb(0x351)](_0x58efcd,Q[_0x3d28fb(0x207)]);this[_0x3d28fb(0x390)][_0x3d28fb(0x111)](_0x58efcd,_0x4fc5c2);}),this[_0x1cbc0e(0x373)][_0x1cbc0e(0x2b4)](_0x1b2ec3[_0x1cbc0e(0x26a)])[_0x1cbc0e(0x107)](_0x304d48(this[_0x1cbc0e(0x14e)]),_0x1f43c4(0x10))[_0x1cbc0e(0x107)](_0x25ba60(_0x490d67=>!_0x490d67[_0x1cbc0e(0xdd)]()[_0x1cbc0e(0x1ca)]('__')))[_0x1cbc0e(0x185)](async _0x5863b8=>{var _0x186198=_0x1cbc0e;const _0x4cb615=_0x5863b8['getUnitId'](),_0x9a32c8=await this['_startCollaboration'](_0x4cb615,Q[_0x186198(0x26a)]);this['_entities'][_0x186198(0x111)](_0x4cb615,_0x9a32c8);}),_0x15efc9(this['_univerInstanceService'][_0x1cbc0e(0x39f)](_0x1b2ec3[_0x1cbc0e(0x207)]),this[_0x1cbc0e(0x373)][_0x1cbc0e(0x39f)](_0x1b2ec3[_0x1cbc0e(0x26a)]))[_0x1cbc0e(0x107)](_0x304d48(this[_0x1cbc0e(0x14e)]))[_0x1cbc0e(0x185)](_0x32a65e=>{var _0x2b5418=_0x1cbc0e;const _0x2acaa4=_0x32a65e[_0x2b5418(0xdd)](),_0x6b9004=this[_0x2b5418(0x390)]['get'](_0x2acaa4);_0x6b9004&&(_0x6b9004[_0x2b5418(0x2dd)](),this['_entities'][_0x2b5418(0xd2)](_0x2acaa4));});}async[_0x3f3e43(0x351)](_0x320637,_0x13a26e){var _0xfb345a=_0x3f3e43;const _0x37ddfe=await this['_collabSessionService'][_0xfb345a(0x32a)](_0x320637),_0x55a5d5=this['_injector']['createInstance'](this[_0xfb345a(0xfb)](_0x13a26e),_0x320637,_0x13a26e,_0x37ddfe);return await _0x55a5d5[_0xfb345a(0x9b)](),this['_entityInit$'][_0xfb345a(0x318)](_0x55a5d5),_0x55a5d5;}['_getCtorByUniverType'](_0x537ce7){var _0xd9dcf1=_0x3f3e43;switch(_0x537ce7){case Q[_0xd9dcf1(0x26a)]:return It;case Q[_0xd9dcf1(0x207)]:return St;default:throw new Error(_0xd9dcf1(0x224)+_0x537ce7);}}};nt=Js([Be(0x0,_0x5e33bf(_0x951761)),Be(0x1,_0x5e33bf(we)),Be(0x2,_0x31c610),Be(0x3,_0x321c7f)],nt);var Xs=Object[_0x3f3e43(0x16a)],Zs=(_0x4f90f8,_0x5208d6,_0xa981c3,_0x5bcaba)=>{for(var _0x254e09=_0x5bcaba>0x1?void 0x0:_0x5bcaba?Xs(_0x5208d6,_0xa981c3):_0x5208d6,_0xee96d6=_0x4f90f8['length']-0x1,_0x1bfda6;_0xee96d6>=0x0;_0xee96d6--)(_0x1bfda6=_0x4f90f8[_0xee96d6])&&(_0x254e09=_0x1bfda6(_0x254e09)||_0x254e09);return _0x254e09;},Yt=(_0x129dc0,_0x3c1705)=>(_0x6a84bb,_0x373be6)=>_0x3c1705(_0x6a84bb,_0x373be6,_0x129dc0);const Qs=_0x3f3e43(0x37e),en=_0x3f3e43(0x270);let gt=class extends _0x5496cf{constructor(_0x1e782d,_0x4cea1e){var _0x2368fd=_0x3f3e43;super(),this[_0x2368fd(0x373)]=_0x1e782d,this[_0x2368fd(0x281)]=_0x4cea1e,this['_init']();}['_init'](){var _0x138491=_0x3f3e43;this[_0x138491(0x2f6)](this[_0x138491(0x373)][_0x138491(0x283)]['subscribe'](()=>{var _0x166ad3=_0x138491,_0x5714cf;const _0xe75823=this['_univerInstanceService'][_0x166ad3(0x109)]();let _0x1627fe=(_0x5714cf=this[_0x166ad3(0x281)]['getConfig'](Qs))!=null?_0x5714cf:en;_0xe75823 instanceof _0x4a0471&&(_0x1627fe=_0xe75823[_0x166ad3(0x1ba)]),document[_0x166ad3(0xf7)]=_0x1627fe;}));}};gt=Zs([Yt(0x0,_0x321c7f),Yt(0x1,_0x31c610)],gt);var tn=Object[_0x3f3e43(0x16a)],sn=(_0x5594d1,_0x1de54d,_0x5e0153,_0x5107fc)=>{var _0x1e84d5=_0x3f3e43;for(var _0x4ac26f=_0x5107fc>0x1?void 0x0:_0x5107fc?tn(_0x1de54d,_0x5e0153):_0x1de54d,_0x26e97b=_0x5594d1[_0x1e84d5(0x371)]-0x1,_0x2cfd0f;_0x26e97b>=0x0;_0x26e97b--)(_0x2cfd0f=_0x5594d1[_0x26e97b])&&(_0x4ac26f=_0x2cfd0f(_0x4ac26f)||_0x4ac26f);return _0x4ac26f;},dt=(_0x54a397,_0x213c2f)=>(_0x2d9397,_0x5dfc88)=>_0x213c2f(_0x2d9397,_0x5dfc88,_0x54a397);let rt=class{constructor(_0xdc36b8,_0x377e90,_0xddf919){var _0x593db6=_0x3f3e43;this[_0x593db6(0x281)]=_0xdc36b8,this[_0x593db6(0x397)]=_0x377e90,this['localeService']=_0xddf919,this[_0x593db6(0x9b)]();}[_0x3f3e43(0x9b)](){var _0x174d45=_0x3f3e43;this[_0x174d45(0x397)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x35be77,_0x42ade2)=>_0x42ade2(_0x35be77)[_0x174d45(0x107)](_0x135605(async _0x33a21a=>{var _0x5a405a=_0x174d45;const _0x14245e=_0x33a21a;if(_0x14245e[_0x5a405a(0x1f6)]===0x191){if(typeof window>'u')throw new Error(_0x5a405a(0x32e));if(window[_0x5a405a(0x2a6)](this[_0x5a405a(0x347)]['t'](_0x5a405a(0x1f7)))){const _0x289066=window[_0x5a405a(0x24d)](window[_0x5a405a(0x2a8)][_0x5a405a(0x265)]);window[_0x5a405a(0x2a8)][_0x5a405a(0x265)]=this[_0x5a405a(0x18e)]()+_0x5a405a(0x1a7)+_0x289066;}}return _0x14245e;}))});}[_0x3f3e43(0x18e)](){var _0x15bbf3=_0x3f3e43,_0x1ae987;const _0x7e0c6f=this[_0x15bbf3(0x281)][_0x15bbf3(0x2ec)](K);return(_0x1ae987=_0x7e0c6f==null?void 0x0:_0x7e0c6f[_0x15bbf3(0xd1)])!=null?_0x1ae987:Rs;}};rt=sn([dt(0x0,_0x31c610),dt(0x1,_0x5e33bf(_0xbb2f1c)),dt(0x2,_0x5e33bf(_0x20f53f))],rt);var nn=Object[_0x3f3e43(0x16a)],rn=(_0x63ce4a,_0x3be168,_0x31ffb4,_0x3b7423)=>{var _0x18f153=_0x3f3e43;for(var _0x2194ce=_0x3b7423>0x1?void 0x0:_0x3b7423?nn(_0x3be168,_0x31ffb4):_0x3be168,_0x2826d5=_0x63ce4a[_0x18f153(0x371)]-0x1,_0x7b3575;_0x2826d5>=0x0;_0x2826d5--)(_0x7b3575=_0x63ce4a[_0x2826d5])&&(_0x2194ce=_0x7b3575(_0x2194ce)||_0x2194ce);return _0x2194ce;},Kt=(_0x28d624,_0x1ec614)=>(_0x56f64b,_0x2e0648)=>_0x1ec614(_0x56f64b,_0x2e0648,_0x28d624);const an=_0x3f3e43(0x1fe);let Tt=class extends _0x5496cf{constructor(_0x2b76a7,_0x124a5e){var _0x3b5580=_0x3f3e43;super(),this[_0x3b5580(0x30d)]=_0x2b76a7,this[_0x3b5580(0x281)]=_0x124a5e,this[_0x3b5580(0x209)]();}[_0x3f3e43(0x209)](){var _0x1ce3cd=_0x3f3e43;const _0x48f2d1=this;this['disposeWithMe'](this[_0x1ce3cd(0x30d)][_0x1ce3cd(0x18f)]({'priority':0x3e7,'interceptor':_0x588af6({'isMatch'(_0x20c73c){var _0x5f2e2e=_0x1ce3cd,_0x17e9fa;if(_0x20c73c['method']==='POST'&&((_0x17e9fa=_0x20c73c[_0x5f2e2e(0xa8)])!=null&&_0x17e9fa[_0x5f2e2e(0x127)])){const {objectID:_0x21f6d7,objectType:_0x5c384d}=_0x20c73c[_0x5f2e2e(0xa8)][_0x5f2e2e(0x127)]||{};if(!_0x21f6d7||_0x5c384d===void 0x0)return!0x1;const _0x47a911=_0x48f2d1[_0x5f2e2e(0x2a3)]()+'/'+_0x5c384d+_0x5f2e2e(0x10d)+_0x21f6d7+'/allowed';if(_0x20c73c[_0x5f2e2e(0x297)]===_0x47a911)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x30d214){var _0x2d3b5a;return(_0x2d3b5a=_0x30d214['requestParams'])==null?void 0x0:_0x2d3b5a['body'];},'mergeParamsToRequest'(_0x5b910b,_0x14186e){var _0x4543c9=_0x1ce3cd;const _0x2e9525=_0x48f2d1[_0x4543c9(0x2a3)]()+'/-/object/-/batch_allowed',_0x9c60f0=_0x5b910b['reduce']((_0x1a2759,_0x2db87f)=>{var _0xd69e7b=_0x4543c9;const {unitID:_0x38a423,objectID:_0x500844,objectType:_0x58f842,actions:_0x38eaf2}=_0x2db87f;return _0x1a2759[_0x38a423]||(_0x1a2759[_0x38a423]={}),_0x1a2759[_0x38a423][_0x500844]||(_0x1a2759[_0x38a423][_0x500844]={'objectID':_0x500844,'objectType':_0x58f842,'actions':[]}),_0x1a2759[_0x38a423][_0x500844][_0xd69e7b(0x147)]['push'](..._0x38eaf2),_0x1a2759;},{}),_0xdef2c4=[];for(const _0x4a4bae in _0x9c60f0)for(const _0x3cc2da in _0x9c60f0[_0x4a4bae]){const {actions:_0x1d4c34,objectType:_0x1f56a1}=_0x9c60f0[_0x4a4bae][_0x3cc2da],_0x3f2170=[...new Set(_0x1d4c34)];_0xdef2c4[_0x4543c9(0x1bc)]({'unitID':_0x4a4bae,'objectID':_0x3cc2da,'objectType':_0x1f56a1,'actions':_0x3f2170});}return new _0x2c4f5d(_0x4543c9(0xe2),_0x2e9525,{'headers':_0x14186e[_0x4543c9(0x264)],'withCredentials':_0x14186e[_0x4543c9(0x334)],'responseType':_0x14186e[_0x4543c9(0x335)],'body':{'requests':_0xdef2c4}});}},{'distributeResult'(_0x31089e,_0xf12c71){var _0x3ca20d=_0x1ce3cd;const {objectActions:_0x2575b1}=_0x31089e;return _0xf12c71[_0x3ca20d(0xb7)](_0x5821d5=>{var _0x45dbdd=_0x3ca20d;const {unitID:_0x35814d,objectID:_0x118d41,actions:_0x24b0fe}=_0x5821d5,_0x1cc8ac=_0x2575b1['find'](_0x578f84=>_0x578f84[_0x45dbdd(0x196)]===_0x35814d&&_0x578f84[_0x45dbdd(0xf0)]===_0x118d41),_0x78cc0f=_0x24b0fe[_0x45dbdd(0xb7)](_0x736862=>_0x1cc8ac==null?void 0x0:_0x1cc8ac[_0x45dbdd(0x147)][_0x45dbdd(0x1ff)](_0x37b6fb=>_0x37b6fb[_0x45dbdd(0x1ad)]===_0x736862))['filter'](_0x2174d1=>!!_0x2174d1);return{'config':_0x5821d5,'result':{'actions':_0x78cc0f,'error':_0x31089e['error']}};});}})}));}[_0x3f3e43(0x2a3)](){var _0x150bb6=_0x3f3e43,_0x409c60;const _0x5be3b0=this[_0x150bb6(0x281)][_0x150bb6(0x2ec)](K);return(_0x409c60=_0x5be3b0==null?void 0x0:_0x5be3b0[_0x150bb6(0x292)])!=null?_0x409c60:an;}async['create'](_0x5a1f65){var _0x326ea3=_0x3f3e43;const _0x40cf79=this['_getAPIPrefixPath']()+'/'+_0x5a1f65['objectType']+'/object';return(await this[_0x326ea3(0x30d)][_0x326ea3(0x269)](_0x40cf79,{'body':_0x5a1f65}))[_0x326ea3(0x127)][_0x326ea3(0xf0)]||'';}async[_0x3f3e43(0x15e)](_0x57d4e4){var _0x4a3481=_0x3f3e43;const _0x5d08d9=this['_getAPIPrefixPath']()+_0x4a3481(0x395);return(await this[_0x4a3481(0x30d)][_0x4a3481(0x269)](_0x5d08d9,{'body':_0x57d4e4}))[_0x4a3481(0x127)][_0x4a3481(0xe5)];}async['update'](_0x50609e){var _0x1e2964=_0x3f3e43,_0x5a981a,_0x2bf60a;const _0xcd08cf=this['_getAPIPrefixPath']()+'/'+_0x50609e[_0x1e2964(0x251)]+_0x1e2964(0x10d)+_0x50609e[_0x1e2964(0xf0)],_0x1fae09=await this[_0x1e2964(0x30d)][_0x1e2964(0x180)](_0xcd08cf,{'body':_0x50609e});if(((_0x2bf60a=(_0x5a981a=_0x1fae09==null?void 0x0:_0x1fae09[_0x1e2964(0x127)])==null?void 0x0:_0x5a981a[_0x1e2964(0x28d)])==null?void 0x0:_0x2bf60a[_0x1e2964(0x1a6)])!==0x1)throw new Error(_0x1e2964(0x241));}async[_0x3f3e43(0x1e3)](_0x52104a){var _0x462822=_0x3f3e43;const _0x2cf556=this[_0x462822(0x2a3)]()+'/'+_0x52104a['objectType']+_0x462822(0x10d)+_0x52104a[_0x462822(0xf0)]+_0x462822(0x2fb);return(await this[_0x462822(0x30d)][_0x462822(0x269)](_0x2cf556,{'body':_0x52104a}))[_0x462822(0x127)][_0x462822(0x147)];}async[_0x3f3e43(0xd0)](_0x4d0d03){var _0x3a4070=_0x3f3e43;const _0x5e27d3=this[_0x3a4070(0x2a3)]()+_0x3a4070(0x119);return(await this[_0x3a4070(0x30d)]['post'](_0x5e27d3,{'body':{'requests':_0x4d0d03}}))['body'][_0x3a4070(0x142)];}async[_0x3f3e43(0x1ae)](_0x180498){var _0x349ec4=_0x3f3e43;const _0x2aaf62=this['_getAPIPrefixPath']()+'/'+_0x180498['objectType']+_0x349ec4(0x17c),_0x2b40a0=await this[_0x349ec4(0x30d)][_0x349ec4(0x269)](_0x2aaf62,{'body':_0x180498});return{'roles':_0x2b40a0[_0x349ec4(0x127)]['roles'],'actions':_0x2b40a0['body'][_0x349ec4(0x147)]};}async[_0x3f3e43(0x1e6)](_0x56f671){var _0x448f46=_0x3f3e43;const _0x400822=this[_0x448f46(0x2a3)]()+_0x448f46(0x31c);await this[_0x448f46(0x30d)][_0x448f46(0xd2)](_0x400822,{'params':{'collaboratorID':_0x56f671[_0x448f46(0xa0)],'objectID':_0x56f671[_0x448f46(0xf0)],'unitID':_0x56f671[_0x448f46(0x196)]}});}async[_0x3f3e43(0xa2)](_0x20c9e8){var _0x1ac6a4=_0x3f3e43;const _0x31a3a2=this[_0x1ac6a4(0x2a3)]()+_0x1ac6a4(0x31c);await this[_0x1ac6a4(0x30d)]['patch'](_0x31a3a2,{'body':_0x20c9e8});}async[_0x3f3e43(0x1a3)](_0x5c4168){var _0x2015c6=_0x3f3e43;const _0x416632=this['_getAPIPrefixPath']()+_0x2015c6(0x31c);await this[_0x2015c6(0x30d)][_0x2015c6(0x269)](_0x416632,{'body':_0x5c4168});}async[_0x3f3e43(0x2e8)](_0x48511f){var _0x266b34=_0x3f3e43;const _0xac753b=this[_0x266b34(0x2a3)]()+_0x266b34(0x31c);return(await this[_0x266b34(0x30d)][_0x266b34(0x13f)](_0xac753b,{'params':{'objectID':_0x48511f['objectID'],'unitID':_0x48511f[_0x266b34(0x196)]}}))[_0x266b34(0x127)][_0x266b34(0x1de)];}async[_0x3f3e43(0x1cb)](_0x100113){var _0x4678e6=_0x3f3e43;const _0x256157=this[_0x4678e6(0x2a3)]()+_0x4678e6(0x31c);await this[_0x4678e6(0x30d)][_0x4678e6(0x180)](_0x256157,{'body':_0x100113});}};Tt=rn([Kt(0x0,_0x5e33bf(_0xbb2f1c)),Kt(0x1,_0x5e33bf(_0x31c610))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x5c98d2){var _0xbf5043=_0x3f3e43;return _0x5c98d2&&_0x5c98d2[_0xbf5043(0x362)]&&Object[_0xbf5043(0x231)][_0xbf5043(0x212)][_0xbf5043(0x1df)](_0x5c98d2,_0xbf5043(0x2e3))?_0x5c98d2[_0xbf5043(0x2e3)]:_0x5c98d2;}var Ve={'exports':{}};function on(_0xbcabca){var _0x16418f=_0x3f3e43;throw new Error(_0x16418f(0x1f0)+_0xbcabca+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},cn=Ge[_0x3f3e43(0x17a)],qt;function ie(){return qt||(qt=0x1,function(_0x502dbf,_0x301ed7){(function(_0x28c7fc,_0x5df11a){var _0x5b086e=_0x29f2;_0x502dbf[_0x5b086e(0x17a)]=_0x5df11a();}(cn,function(){var _0x230647=_0x230647||function(_0x3526fd,_0x41128a){var _0xb3256f=_0x29f2,_0x30240f;if(typeof window<'u'&&window[_0xb3256f(0x29f)]&&(_0x30240f=window[_0xb3256f(0x29f)]),typeof self<'u'&&self[_0xb3256f(0x29f)]&&(_0x30240f=self['crypto']),typeof globalThis<'u'&&globalThis[_0xb3256f(0x29f)]&&(_0x30240f=globalThis[_0xb3256f(0x29f)]),!_0x30240f&&typeof window<'u'&&window[_0xb3256f(0x34d)]&&(_0x30240f=window[_0xb3256f(0x34d)]),!_0x30240f&&typeof ft<'u'&&ft[_0xb3256f(0x29f)]&&(_0x30240f=ft[_0xb3256f(0x29f)]),!_0x30240f&&typeof on==_0xb3256f(0x132))try{_0x30240f=require('crypto');}catch{}var _0x2d42d9=function(){var _0x25d1e0=_0xb3256f;if(_0x30240f){if(typeof _0x30240f['getRandomValues']==_0x25d1e0(0x132))try{return _0x30240f[_0x25d1e0(0x115)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x30240f['randomBytes']==_0x25d1e0(0x132))try{return _0x30240f[_0x25d1e0(0x97)](0x4)[_0x25d1e0(0x10c)]();}catch{}}throw new Error(_0x25d1e0(0x162));},_0x6c9766=Object[_0xb3256f(0x2fa)]||(function(){function _0x43aedb(){}return function(_0x2589a4){var _0x2c3f1e=_0x29f2,_0xcefd22;return _0x43aedb[_0x2c3f1e(0x231)]=_0x2589a4,_0xcefd22=new _0x43aedb(),_0x43aedb['prototype']=null,_0xcefd22;};}()),_0x31eaed={},_0x268b77=_0x31eaed[_0xb3256f(0x376)]={},_0x53ffdd=_0x268b77[_0xb3256f(0x2e7)]=(function(){return{'extend':function(_0x33bd8b){var _0x292970=_0x29f2,_0x47f91a=_0x6c9766(this);return _0x33bd8b&&_0x47f91a[_0x292970(0x2c9)](_0x33bd8b),(!_0x47f91a[_0x292970(0x212)](_0x292970(0x9b))||this[_0x292970(0x9b)]===_0x47f91a['init'])&&(_0x47f91a[_0x292970(0x9b)]=function(){var _0x5b89e6=_0x292970;_0x47f91a[_0x5b89e6(0xf4)][_0x5b89e6(0x9b)][_0x5b89e6(0x12d)](this,arguments);}),_0x47f91a[_0x292970(0x9b)][_0x292970(0x231)]=_0x47f91a,_0x47f91a[_0x292970(0xf4)]=this,_0x47f91a;},'create':function(){var _0x530074=_0x29f2,_0x579e3c=this['extend']();return _0x579e3c['init'][_0x530074(0x12d)](_0x579e3c,arguments),_0x579e3c;},'init':function(){},'mixIn':function(_0x27963b){var _0x3cb2cc=_0x29f2;for(var _0x1a15ea in _0x27963b)_0x27963b[_0x3cb2cc(0x212)](_0x1a15ea)&&(this[_0x1a15ea]=_0x27963b[_0x1a15ea]);_0x27963b[_0x3cb2cc(0x212)](_0x3cb2cc(0xbe))&&(this[_0x3cb2cc(0xbe)]=_0x27963b[_0x3cb2cc(0xbe)]);},'clone':function(){var _0x24bc18=_0x29f2;return this[_0x24bc18(0x9b)][_0x24bc18(0x231)]['extend'](this);}};}()),_0x1f5437=_0x268b77['WordArray']=_0x53ffdd[_0xb3256f(0xf8)]({'init':function(_0x915da9,_0x3139e8){var _0x2a1ec4=_0xb3256f;_0x915da9=this['words']=_0x915da9||[],_0x3139e8!=_0x41128a?this[_0x2a1ec4(0x2d1)]=_0x3139e8:this['sigBytes']=_0x915da9[_0x2a1ec4(0x371)]*0x4;},'toString':function(_0x49366d){var _0x4ec47c=_0xb3256f;return(_0x49366d||_0x2161ee)[_0x4ec47c(0x2bf)](this);},'concat':function(_0x2cc0de){var _0x5d3081=_0xb3256f,_0x50822f=this['words'],_0xdcc91d=_0x2cc0de[_0x5d3081(0xdb)],_0x115a03=this[_0x5d3081(0x2d1)],_0x50a96b=_0x2cc0de[_0x5d3081(0x2d1)];if(this['clamp'](),_0x115a03%0x4)for(var _0x59d5dc=0x0;_0x59d5dc<_0x50a96b;_0x59d5dc++){var _0x7bf872=_0xdcc91d[_0x59d5dc>>>0x2]>>>0x18-_0x59d5dc%0x4*0x8&0xff;_0x50822f[_0x115a03+_0x59d5dc>>>0x2]|=_0x7bf872<<0x18-(_0x115a03+_0x59d5dc)%0x4*0x8;}else{for(var _0x1a1a18=0x0;_0x1a1a18<_0x50a96b;_0x1a1a18+=0x4)_0x50822f[_0x115a03+_0x1a1a18>>>0x2]=_0xdcc91d[_0x1a1a18>>>0x2];}return this['sigBytes']+=_0x50a96b,this;},'clamp':function(){var _0x1daf4b=_0xb3256f,_0x343ed3=this['words'],_0x3cd331=this[_0x1daf4b(0x2d1)];_0x343ed3[_0x3cd331>>>0x2]&=0xffffffff<<0x20-_0x3cd331%0x4*0x8,_0x343ed3[_0x1daf4b(0x371)]=_0x3526fd[_0x1daf4b(0x175)](_0x3cd331/0x4);},'clone':function(){var _0x4da50d=_0xb3256f,_0xac0d62=_0x53ffdd['clone'][_0x4da50d(0x1df)](this);return _0xac0d62[_0x4da50d(0xdb)]=this[_0x4da50d(0xdb)][_0x4da50d(0x126)](0x0),_0xac0d62;},'random':function(_0x2bd960){var _0x31bf7e=_0xb3256f;for(var _0x207970=[],_0x1a11a7=0x0;_0x1a11a7<_0x2bd960;_0x1a11a7+=0x4)_0x207970[_0x31bf7e(0x1bc)](_0x2d42d9());return new _0x1f5437[(_0x31bf7e(0x9b))](_0x207970,_0x2bd960);}}),_0x4dd297=_0x31eaed[_0xb3256f(0x350)]={},_0x2161ee=_0x4dd297[_0xb3256f(0x17b)]={'stringify':function(_0x2a585d){var _0x2824b7=_0xb3256f;for(var _0x38cfb7=_0x2a585d[_0x2824b7(0xdb)],_0x5e464b=_0x2a585d[_0x2824b7(0x2d1)],_0x42f354=[],_0x4c996f=0x0;_0x4c996f<_0x5e464b;_0x4c996f++){var _0x5d5ca3=_0x38cfb7[_0x4c996f>>>0x2]>>>0x18-_0x4c996f%0x4*0x8&0xff;_0x42f354[_0x2824b7(0x1bc)]((_0x5d5ca3>>>0x4)[_0x2824b7(0xbe)](0x10)),_0x42f354[_0x2824b7(0x1bc)]((_0x5d5ca3&0xf)['toString'](0x10));}return _0x42f354[_0x2824b7(0x21a)]('');},'parse':function(_0x47a823){var _0x34226a=_0xb3256f;for(var _0x228523=_0x47a823[_0x34226a(0x371)],_0x50a6f5=[],_0x15b990=0x0;_0x15b990<_0x228523;_0x15b990+=0x2)_0x50a6f5[_0x15b990>>>0x3]|=parseInt(_0x47a823[_0x34226a(0x23f)](_0x15b990,0x2),0x10)<<0x18-_0x15b990%0x8*0x4;return new _0x1f5437['init'](_0x50a6f5,_0x228523/0x2);}},_0x3c1788=_0x4dd297['Latin1']={'stringify':function(_0x54015a){var _0x30866d=_0xb3256f;for(var _0x3d666e=_0x54015a[_0x30866d(0xdb)],_0x3b36af=_0x54015a[_0x30866d(0x2d1)],_0x7daef1=[],_0x3139ef=0x0;_0x3139ef<_0x3b36af;_0x3139ef++){var _0x306091=_0x3d666e[_0x3139ef>>>0x2]>>>0x18-_0x3139ef%0x4*0x8&0xff;_0x7daef1[_0x30866d(0x1bc)](String[_0x30866d(0xcb)](_0x306091));}return _0x7daef1['join']('');},'parse':function(_0x3f02f2){var _0x569783=_0xb3256f;for(var _0x736476=_0x3f02f2['length'],_0x5e6b29=[],_0x424184=0x0;_0x424184<_0x736476;_0x424184++)_0x5e6b29[_0x424184>>>0x2]|=(_0x3f02f2[_0x569783(0xda)](_0x424184)&0xff)<<0x18-_0x424184%0x4*0x8;return new _0x1f5437[(_0x569783(0x9b))](_0x5e6b29,_0x736476);}},_0x2c9640=_0x4dd297[_0xb3256f(0x242)]={'stringify':function(_0x43ae5d){var _0x41ee9b=_0xb3256f;try{return decodeURIComponent(escape(_0x3c1788['stringify'](_0x43ae5d)));}catch{throw new Error(_0x41ee9b(0xed));}},'parse':function(_0x25c1f0){var _0x27bcad=_0xb3256f;return _0x3c1788[_0x27bcad(0x1a5)](unescape(encodeURIComponent(_0x25c1f0)));}},_0x2a0c36=_0x268b77['BufferedBlockAlgorithm']=_0x53ffdd[_0xb3256f(0xf8)]({'reset':function(){var _0x2b3a94=_0xb3256f;this[_0x2b3a94(0x3ab)]=new _0x1f5437[(_0x2b3a94(0x9b))](),this['_nDataBytes']=0x0;},'_append':function(_0x4bed8b){var _0xaf2eb4=_0xb3256f;typeof _0x4bed8b==_0xaf2eb4(0x273)&&(_0x4bed8b=_0x2c9640[_0xaf2eb4(0x1a5)](_0x4bed8b)),this[_0xaf2eb4(0x3ab)][_0xaf2eb4(0x195)](_0x4bed8b),this[_0xaf2eb4(0x388)]+=_0x4bed8b[_0xaf2eb4(0x2d1)];},'_process':function(_0x15c5e7){var _0x1d8d59=_0xb3256f,_0x4a8d68,_0x503058=this[_0x1d8d59(0x3ab)],_0x10f43f=_0x503058[_0x1d8d59(0xdb)],_0x35d050=_0x503058['sigBytes'],_0x57da0a=this[_0x1d8d59(0x1b9)],_0x3efe82=_0x57da0a*0x4,_0x36731c=_0x35d050/_0x3efe82;_0x15c5e7?_0x36731c=_0x3526fd[_0x1d8d59(0x175)](_0x36731c):_0x36731c=_0x3526fd[_0x1d8d59(0x375)]((_0x36731c|0x0)-this[_0x1d8d59(0xb6)],0x0);var _0xc6e989=_0x36731c*_0x57da0a,_0x2d64a7=_0x3526fd['min'](_0xc6e989*0x4,_0x35d050);if(_0xc6e989){for(var _0x163545=0x0;_0x163545<_0xc6e989;_0x163545+=_0x57da0a)this['_doProcessBlock'](_0x10f43f,_0x163545);_0x4a8d68=_0x10f43f['splice'](0x0,_0xc6e989),_0x503058[_0x1d8d59(0x2d1)]-=_0x2d64a7;}return new _0x1f5437['init'](_0x4a8d68,_0x2d64a7);},'clone':function(){var _0x34b4ca=_0xb3256f,_0x20d5e1=_0x53ffdd['clone'][_0x34b4ca(0x1df)](this);return _0x20d5e1[_0x34b4ca(0x3ab)]=this[_0x34b4ca(0x3ab)][_0x34b4ca(0x1c6)](),_0x20d5e1;},'_minBufferSize':0x0});_0x268b77['Hasher']=_0x2a0c36[_0xb3256f(0xf8)]({'cfg':_0x53ffdd[_0xb3256f(0xf8)](),'init':function(_0x5b42c9){var _0x3b8620=_0xb3256f;this['cfg']=this[_0x3b8620(0x1d3)]['extend'](_0x5b42c9),this[_0x3b8620(0x312)]();},'reset':function(){var _0x404c8c=_0xb3256f;_0x2a0c36[_0x404c8c(0x312)][_0x404c8c(0x1df)](this),this[_0x404c8c(0x2bc)]();},'update':function(_0x28a010){var _0x2431d8=_0xb3256f;return this[_0x2431d8(0x3a2)](_0x28a010),this[_0x2431d8(0x104)](),this;},'finalize':function(_0x5e3177){var _0x586fe6=_0xb3256f;_0x5e3177&&this[_0x586fe6(0x3a2)](_0x5e3177);var _0x8d8cc=this[_0x586fe6(0x387)]();return _0x8d8cc;},'blockSize':0x10,'_createHelper':function(_0x50ba95){return function(_0x11af20,_0xd17514){var _0x256023=_0x29f2;return new _0x50ba95['init'](_0xd17514)[_0x256023(0x346)](_0x11af20);};},'_createHmacHelper':function(_0x3a9c7c){return function(_0x1cab56,_0x5318a1){var _0x4249f7=_0x29f2;return new _0x1e7f4d['HMAC'][(_0x4249f7(0x9b))](_0x3a9c7c,_0x5318a1)['finalize'](_0x1cab56);};}});var _0x1e7f4d=_0x31eaed[_0xb3256f(0x372)]={};return _0x31eaed;}(Math);return _0x230647;}));}(Ge)),Ge['exports'];}var We={'exports':{}},_n=We[_0x3f3e43(0x17a)],zt;function Ri(){var _0x4a3c6b=_0x3f3e43;return zt||(zt=0x1,function(_0x5b45f1,_0x566cdc){(function(_0x33afd3,_0x44f373){var _0x181303=_0x29f2;_0x5b45f1[_0x181303(0x17a)]=_0x44f373(ie());}(_n,function(_0x4fb22c){var _0x392c61=_0x29f2;return(function(){var _0x1b1331=_0x29f2,_0x2674a9=_0x4fb22c,_0x254f5b=_0x2674a9[_0x1b1331(0x376)],_0xe763c1=_0x254f5b[_0x1b1331(0x3b2)],_0xa223e9=_0x2674a9['enc'];_0xa223e9[_0x1b1331(0x2d9)]={'stringify':function(_0x2644f4){var _0x4acd28=_0x1b1331,_0x4709c6=_0x2644f4[_0x4acd28(0xdb)],_0x348e8f=_0x2644f4[_0x4acd28(0x2d1)],_0x927155=this['_map'];_0x2644f4[_0x4acd28(0x1c4)]();for(var _0x52fa5b=[],_0x242229=0x0;_0x242229<_0x348e8f;_0x242229+=0x3)for(var _0x546199=_0x4709c6[_0x242229>>>0x2]>>>0x18-_0x242229%0x4*0x8&0xff,_0x694a69=_0x4709c6[_0x242229+0x1>>>0x2]>>>0x18-(_0x242229+0x1)%0x4*0x8&0xff,_0x106907=_0x4709c6[_0x242229+0x2>>>0x2]>>>0x18-(_0x242229+0x2)%0x4*0x8&0xff,_0x6c8d60=_0x546199<<0x10|_0x694a69<<0x8|_0x106907,_0x2f098f=0x0;_0x2f098f<0x4&&_0x242229+_0x2f098f*0.75<_0x348e8f;_0x2f098f++)_0x52fa5b['push'](_0x927155[_0x4acd28(0x3a7)](_0x6c8d60>>>0x6*(0x3-_0x2f098f)&0x3f));var _0x414290=_0x927155[_0x4acd28(0x3a7)](0x40);if(_0x414290){for(;_0x52fa5b[_0x4acd28(0x371)]%0x4;)_0x52fa5b[_0x4acd28(0x1bc)](_0x414290);}return _0x52fa5b[_0x4acd28(0x21a)]('');},'parse':function(_0x3c418d){var _0x514428=_0x1b1331,_0x4d9bed=_0x3c418d[_0x514428(0x371)],_0x225a53=this[_0x514428(0xca)],_0x3b8c45=this['_reverseMap'];if(!_0x3b8c45){_0x3b8c45=this[_0x514428(0x3a3)]=[];for(var _0x5da157=0x0;_0x5da157<_0x225a53[_0x514428(0x371)];_0x5da157++)_0x3b8c45[_0x225a53[_0x514428(0xda)](_0x5da157)]=_0x5da157;}var _0x4e76fd=_0x225a53[_0x514428(0x3a7)](0x40);if(_0x4e76fd){var _0x4a5ea0=_0x3c418d[_0x514428(0x153)](_0x4e76fd);_0x4a5ea0!==-0x1&&(_0x4d9bed=_0x4a5ea0);}return _0x3d5c46(_0x3c418d,_0x4d9bed,_0x3b8c45);},'_map':_0x1b1331(0x156)};function _0x3d5c46(_0x29dee4,_0xfc623b,_0x12150c){var _0x5ee9f3=_0x1b1331;for(var _0x25ffe3=[],_0x50d9b9=0x0,_0x19a7d6=0x0;_0x19a7d6<_0xfc623b;_0x19a7d6++)if(_0x19a7d6%0x4){var _0x12184c=_0x12150c[_0x29dee4[_0x5ee9f3(0xda)](_0x19a7d6-0x1)]<<_0x19a7d6%0x4*0x2,_0x51a823=_0x12150c[_0x29dee4[_0x5ee9f3(0xda)](_0x19a7d6)]>>>0x6-_0x19a7d6%0x4*0x2,_0x15fec7=_0x12184c|_0x51a823;_0x25ffe3[_0x50d9b9>>>0x2]|=_0x15fec7<<0x18-_0x50d9b9%0x4*0x8,_0x50d9b9++;}return _0xe763c1['create'](_0x25ffe3,_0x50d9b9);}}()),_0x4fb22c[_0x392c61(0x350)][_0x392c61(0x2d9)];}));}(We)),We[_0x4a3c6b(0x17a)];}var Ye={'exports':{}},hn=Ye[_0x3f3e43(0x17a)],Jt;function ln(){var _0x2d455c=_0x3f3e43;return Jt||(Jt=0x1,function(_0x485630,_0x4cc999){(function(_0x2dcfd7,_0x17db91){var _0x48045c=_0x29f2;_0x485630[_0x48045c(0x17a)]=_0x17db91(ie());}(hn,function(_0x218b94){var _0x461e05=_0x29f2;return function(_0x252a49){var _0x1e49e9=_0x29f2,_0x43cf44=_0x218b94,_0x3b8359=_0x43cf44[_0x1e49e9(0x376)],_0x533304=_0x3b8359[_0x1e49e9(0x3b2)],_0x3bbd1f=_0x3b8359[_0x1e49e9(0x225)],_0x582d2f=_0x43cf44[_0x1e49e9(0x372)],_0x1b3b67=[];(function(){var _0x514fd2=_0x1e49e9;for(var _0x2478e3=0x0;_0x2478e3<0x40;_0x2478e3++)_0x1b3b67[_0x2478e3]=_0x252a49[_0x514fd2(0x122)](_0x252a49[_0x514fd2(0x3a8)](_0x2478e3+0x1))*0x100000000|0x0;}());var _0xdf8c8b=_0x582d2f[_0x1e49e9(0x38b)]=_0x3bbd1f[_0x1e49e9(0xf8)]({'_doReset':function(){var _0x308d7e=_0x1e49e9;this[_0x308d7e(0x27a)]=new _0x533304[(_0x308d7e(0x9b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x519f8e,_0x46b29c){var _0x1b920c=_0x1e49e9;for(var _0x10b3ce=0x0;_0x10b3ce<0x10;_0x10b3ce++){var _0x4c0d89=_0x46b29c+_0x10b3ce,_0x14c0f4=_0x519f8e[_0x4c0d89];_0x519f8e[_0x4c0d89]=(_0x14c0f4<<0x8|_0x14c0f4>>>0x18)&0xff00ff|(_0x14c0f4<<0x18|_0x14c0f4>>>0x8)&0xff00ff00;}var _0x4fa70c=this['_hash'][_0x1b920c(0xdb)],_0x295426=_0x519f8e[_0x46b29c+0x0],_0x491c35=_0x519f8e[_0x46b29c+0x1],_0x1b4d39=_0x519f8e[_0x46b29c+0x2],_0x40e40d=_0x519f8e[_0x46b29c+0x3],_0x416628=_0x519f8e[_0x46b29c+0x4],_0x4276cb=_0x519f8e[_0x46b29c+0x5],_0x5c9ad2=_0x519f8e[_0x46b29c+0x6],_0xe878c7=_0x519f8e[_0x46b29c+0x7],_0x1439f7=_0x519f8e[_0x46b29c+0x8],_0x24845a=_0x519f8e[_0x46b29c+0x9],_0x510eab=_0x519f8e[_0x46b29c+0xa],_0x5545d3=_0x519f8e[_0x46b29c+0xb],_0x4d8163=_0x519f8e[_0x46b29c+0xc],_0x1d34a1=_0x519f8e[_0x46b29c+0xd],_0x5f0ff5=_0x519f8e[_0x46b29c+0xe],_0x4d3ee2=_0x519f8e[_0x46b29c+0xf],_0x138359=_0x4fa70c[0x0],_0x482162=_0x4fa70c[0x1],_0x175590=_0x4fa70c[0x2],_0x4cafad=_0x4fa70c[0x3];_0x138359=_0x520b58(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x295426,0x7,_0x1b3b67[0x0]),_0x4cafad=_0x520b58(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x491c35,0xc,_0x1b3b67[0x1]),_0x175590=_0x520b58(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x1b4d39,0x11,_0x1b3b67[0x2]),_0x482162=_0x520b58(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x40e40d,0x16,_0x1b3b67[0x3]),_0x138359=_0x520b58(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x416628,0x7,_0x1b3b67[0x4]),_0x4cafad=_0x520b58(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x4276cb,0xc,_0x1b3b67[0x5]),_0x175590=_0x520b58(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x5c9ad2,0x11,_0x1b3b67[0x6]),_0x482162=_0x520b58(_0x482162,_0x175590,_0x4cafad,_0x138359,_0xe878c7,0x16,_0x1b3b67[0x7]),_0x138359=_0x520b58(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x1439f7,0x7,_0x1b3b67[0x8]),_0x4cafad=_0x520b58(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x24845a,0xc,_0x1b3b67[0x9]),_0x175590=_0x520b58(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x510eab,0x11,_0x1b3b67[0xa]),_0x482162=_0x520b58(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x5545d3,0x16,_0x1b3b67[0xb]),_0x138359=_0x520b58(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x4d8163,0x7,_0x1b3b67[0xc]),_0x4cafad=_0x520b58(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x1d34a1,0xc,_0x1b3b67[0xd]),_0x175590=_0x520b58(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x5f0ff5,0x11,_0x1b3b67[0xe]),_0x482162=_0x520b58(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x4d3ee2,0x16,_0x1b3b67[0xf]),_0x138359=_0x7f31dc(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x491c35,0x5,_0x1b3b67[0x10]),_0x4cafad=_0x7f31dc(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x5c9ad2,0x9,_0x1b3b67[0x11]),_0x175590=_0x7f31dc(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x5545d3,0xe,_0x1b3b67[0x12]),_0x482162=_0x7f31dc(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x295426,0x14,_0x1b3b67[0x13]),_0x138359=_0x7f31dc(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x4276cb,0x5,_0x1b3b67[0x14]),_0x4cafad=_0x7f31dc(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x510eab,0x9,_0x1b3b67[0x15]),_0x175590=_0x7f31dc(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x4d3ee2,0xe,_0x1b3b67[0x16]),_0x482162=_0x7f31dc(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x416628,0x14,_0x1b3b67[0x17]),_0x138359=_0x7f31dc(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x24845a,0x5,_0x1b3b67[0x18]),_0x4cafad=_0x7f31dc(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x5f0ff5,0x9,_0x1b3b67[0x19]),_0x175590=_0x7f31dc(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x40e40d,0xe,_0x1b3b67[0x1a]),_0x482162=_0x7f31dc(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x1439f7,0x14,_0x1b3b67[0x1b]),_0x138359=_0x7f31dc(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x1d34a1,0x5,_0x1b3b67[0x1c]),_0x4cafad=_0x7f31dc(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x1b4d39,0x9,_0x1b3b67[0x1d]),_0x175590=_0x7f31dc(_0x175590,_0x4cafad,_0x138359,_0x482162,_0xe878c7,0xe,_0x1b3b67[0x1e]),_0x482162=_0x7f31dc(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x4d8163,0x14,_0x1b3b67[0x1f]),_0x138359=_0x15323a(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x4276cb,0x4,_0x1b3b67[0x20]),_0x4cafad=_0x15323a(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x1439f7,0xb,_0x1b3b67[0x21]),_0x175590=_0x15323a(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x5545d3,0x10,_0x1b3b67[0x22]),_0x482162=_0x15323a(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x5f0ff5,0x17,_0x1b3b67[0x23]),_0x138359=_0x15323a(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x491c35,0x4,_0x1b3b67[0x24]),_0x4cafad=_0x15323a(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x416628,0xb,_0x1b3b67[0x25]),_0x175590=_0x15323a(_0x175590,_0x4cafad,_0x138359,_0x482162,_0xe878c7,0x10,_0x1b3b67[0x26]),_0x482162=_0x15323a(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x510eab,0x17,_0x1b3b67[0x27]),_0x138359=_0x15323a(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x1d34a1,0x4,_0x1b3b67[0x28]),_0x4cafad=_0x15323a(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x295426,0xb,_0x1b3b67[0x29]),_0x175590=_0x15323a(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x40e40d,0x10,_0x1b3b67[0x2a]),_0x482162=_0x15323a(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x5c9ad2,0x17,_0x1b3b67[0x2b]),_0x138359=_0x15323a(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x24845a,0x4,_0x1b3b67[0x2c]),_0x4cafad=_0x15323a(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x4d8163,0xb,_0x1b3b67[0x2d]),_0x175590=_0x15323a(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x4d3ee2,0x10,_0x1b3b67[0x2e]),_0x482162=_0x15323a(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x1b4d39,0x17,_0x1b3b67[0x2f]),_0x138359=_0x45b9f1(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x295426,0x6,_0x1b3b67[0x30]),_0x4cafad=_0x45b9f1(_0x4cafad,_0x138359,_0x482162,_0x175590,_0xe878c7,0xa,_0x1b3b67[0x31]),_0x175590=_0x45b9f1(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x5f0ff5,0xf,_0x1b3b67[0x32]),_0x482162=_0x45b9f1(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x4276cb,0x15,_0x1b3b67[0x33]),_0x138359=_0x45b9f1(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x4d8163,0x6,_0x1b3b67[0x34]),_0x4cafad=_0x45b9f1(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x40e40d,0xa,_0x1b3b67[0x35]),_0x175590=_0x45b9f1(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x510eab,0xf,_0x1b3b67[0x36]),_0x482162=_0x45b9f1(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x491c35,0x15,_0x1b3b67[0x37]),_0x138359=_0x45b9f1(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x1439f7,0x6,_0x1b3b67[0x38]),_0x4cafad=_0x45b9f1(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x4d3ee2,0xa,_0x1b3b67[0x39]),_0x175590=_0x45b9f1(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x5c9ad2,0xf,_0x1b3b67[0x3a]),_0x482162=_0x45b9f1(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x1d34a1,0x15,_0x1b3b67[0x3b]),_0x138359=_0x45b9f1(_0x138359,_0x482162,_0x175590,_0x4cafad,_0x416628,0x6,_0x1b3b67[0x3c]),_0x4cafad=_0x45b9f1(_0x4cafad,_0x138359,_0x482162,_0x175590,_0x5545d3,0xa,_0x1b3b67[0x3d]),_0x175590=_0x45b9f1(_0x175590,_0x4cafad,_0x138359,_0x482162,_0x1b4d39,0xf,_0x1b3b67[0x3e]),_0x482162=_0x45b9f1(_0x482162,_0x175590,_0x4cafad,_0x138359,_0x24845a,0x15,_0x1b3b67[0x3f]),_0x4fa70c[0x0]=_0x4fa70c[0x0]+_0x138359|0x0,_0x4fa70c[0x1]=_0x4fa70c[0x1]+_0x482162|0x0,_0x4fa70c[0x2]=_0x4fa70c[0x2]+_0x175590|0x0,_0x4fa70c[0x3]=_0x4fa70c[0x3]+_0x4cafad|0x0;},'_doFinalize':function(){var _0xb0ad2a=_0x1e49e9,_0x4ca789=this['_data'],_0x5513e1=_0x4ca789[_0xb0ad2a(0xdb)],_0x1dcb25=this[_0xb0ad2a(0x388)]*0x8,_0x25d852=_0x4ca789[_0xb0ad2a(0x2d1)]*0x8;_0x5513e1[_0x25d852>>>0x5]|=0x80<<0x18-_0x25d852%0x20;var _0x403758=_0x252a49['floor'](_0x1dcb25/0x100000000),_0x2c0c3f=_0x1dcb25;_0x5513e1[(_0x25d852+0x40>>>0x9<<0x4)+0xf]=(_0x403758<<0x8|_0x403758>>>0x18)&0xff00ff|(_0x403758<<0x18|_0x403758>>>0x8)&0xff00ff00,_0x5513e1[(_0x25d852+0x40>>>0x9<<0x4)+0xe]=(_0x2c0c3f<<0x8|_0x2c0c3f>>>0x18)&0xff00ff|(_0x2c0c3f<<0x18|_0x2c0c3f>>>0x8)&0xff00ff00,_0x4ca789[_0xb0ad2a(0x2d1)]=(_0x5513e1[_0xb0ad2a(0x371)]+0x1)*0x4,this[_0xb0ad2a(0x104)]();for(var _0x4a70a2=this[_0xb0ad2a(0x27a)],_0x128c6c=_0x4a70a2[_0xb0ad2a(0xdb)],_0x4cd289=0x0;_0x4cd289<0x4;_0x4cd289++){var _0x5613d2=_0x128c6c[_0x4cd289];_0x128c6c[_0x4cd289]=(_0x5613d2<<0x8|_0x5613d2>>>0x18)&0xff00ff|(_0x5613d2<<0x18|_0x5613d2>>>0x8)&0xff00ff00;}return _0x4a70a2;},'clone':function(){var _0x1234ab=_0x1e49e9,_0x2aa752=_0x3bbd1f[_0x1234ab(0x1c6)][_0x1234ab(0x1df)](this);return _0x2aa752['_hash']=this['_hash']['clone'](),_0x2aa752;}});function _0x520b58(_0x37d414,_0x559242,_0x2620f2,_0x1816ad,_0x1fa714,_0x54dd89,_0x1e0136){var _0x5362fd=_0x37d414+(_0x559242&_0x2620f2|~_0x559242&_0x1816ad)+_0x1fa714+_0x1e0136;return(_0x5362fd<<_0x54dd89|_0x5362fd>>>0x20-_0x54dd89)+_0x559242;}function _0x7f31dc(_0x87131a,_0x3d1a0e,_0x287130,_0x4ebcfd,_0x819c60,_0x3e9049,_0x304c27){var _0x51194f=_0x87131a+(_0x3d1a0e&_0x4ebcfd|_0x287130&~_0x4ebcfd)+_0x819c60+_0x304c27;return(_0x51194f<<_0x3e9049|_0x51194f>>>0x20-_0x3e9049)+_0x3d1a0e;}function _0x15323a(_0xd4e575,_0xd090e2,_0x4b7f91,_0x1bf19c,_0x5ccaad,_0x14cdaf,_0x14bfe0){var _0x278096=_0xd4e575+(_0xd090e2^_0x4b7f91^_0x1bf19c)+_0x5ccaad+_0x14bfe0;return(_0x278096<<_0x14cdaf|_0x278096>>>0x20-_0x14cdaf)+_0xd090e2;}function _0x45b9f1(_0x35f96d,_0x5178ec,_0x24a9e6,_0x4b493f,_0x3ebe67,_0x102129,_0x2fc486){var _0x207899=_0x35f96d+(_0x24a9e6^(_0x5178ec|~_0x4b493f))+_0x3ebe67+_0x2fc486;return(_0x207899<<_0x102129|_0x207899>>>0x20-_0x102129)+_0x5178ec;}_0x43cf44[_0x1e49e9(0x38b)]=_0x3bbd1f['_createHelper'](_0xdf8c8b),_0x43cf44[_0x1e49e9(0x396)]=_0x3bbd1f['_createHmacHelper'](_0xdf8c8b);}(Math),_0x218b94[_0x461e05(0x38b)];}));}(Ye)),Ye[_0x2d455c(0x17a)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x3f3e43(0x17a)],Xt;function dn(){var _0x4322b3=_0x3f3e43;return Xt||(Xt=0x1,function(_0x4ebe5b,_0x354c32){(function(_0x24248e,_0x7adb3b){_0x4ebe5b['exports']=_0x7adb3b(ie());}(un,function(_0xb50e08){var _0x37abe4=_0x29f2;return(function(){var _0x4084ec=_0x29f2,_0x1cbf64=_0xb50e08,_0x36f364=_0x1cbf64[_0x4084ec(0x376)],_0x16790b=_0x36f364[_0x4084ec(0x3b2)],_0x52ff41=_0x36f364[_0x4084ec(0x225)],_0x4030e9=_0x1cbf64[_0x4084ec(0x372)],_0xba6aba=[],_0x1bdba5=_0x4030e9[_0x4084ec(0x20a)]=_0x52ff41['extend']({'_doReset':function(){var _0x446cd8=_0x4084ec;this[_0x446cd8(0x27a)]=new _0x16790b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x48a40a,_0x271492){var _0x1d6701=_0x4084ec;for(var _0x3996b7=this[_0x1d6701(0x27a)][_0x1d6701(0xdb)],_0x2a3349=_0x3996b7[0x0],_0xc93aff=_0x3996b7[0x1],_0x35e036=_0x3996b7[0x2],_0x144742=_0x3996b7[0x3],_0x36fef6=_0x3996b7[0x4],_0x19048c=0x0;_0x19048c<0x50;_0x19048c++){if(_0x19048c<0x10)_0xba6aba[_0x19048c]=_0x48a40a[_0x271492+_0x19048c]|0x0;else{var _0x2f62cb=_0xba6aba[_0x19048c-0x3]^_0xba6aba[_0x19048c-0x8]^_0xba6aba[_0x19048c-0xe]^_0xba6aba[_0x19048c-0x10];_0xba6aba[_0x19048c]=_0x2f62cb<<0x1|_0x2f62cb>>>0x1f;}var _0x42384a=(_0x2a3349<<0x5|_0x2a3349>>>0x1b)+_0x36fef6+_0xba6aba[_0x19048c];_0x19048c<0x14?_0x42384a+=(_0xc93aff&_0x35e036|~_0xc93aff&_0x144742)+0x5a827999:_0x19048c<0x28?_0x42384a+=(_0xc93aff^_0x35e036^_0x144742)+0x6ed9eba1:_0x19048c<0x3c?_0x42384a+=(_0xc93aff&_0x35e036|_0xc93aff&_0x144742|_0x35e036&_0x144742)-0x70e44324:_0x42384a+=(_0xc93aff^_0x35e036^_0x144742)-0x359d3e2a,_0x36fef6=_0x144742,_0x144742=_0x35e036,_0x35e036=_0xc93aff<<0x1e|_0xc93aff>>>0x2,_0xc93aff=_0x2a3349,_0x2a3349=_0x42384a;}_0x3996b7[0x0]=_0x3996b7[0x0]+_0x2a3349|0x0,_0x3996b7[0x1]=_0x3996b7[0x1]+_0xc93aff|0x0,_0x3996b7[0x2]=_0x3996b7[0x2]+_0x35e036|0x0,_0x3996b7[0x3]=_0x3996b7[0x3]+_0x144742|0x0,_0x3996b7[0x4]=_0x3996b7[0x4]+_0x36fef6|0x0;},'_doFinalize':function(){var _0x3871de=_0x4084ec,_0x295b62=this[_0x3871de(0x3ab)],_0x39e384=_0x295b62[_0x3871de(0xdb)],_0x89d336=this[_0x3871de(0x388)]*0x8,_0x4127de=_0x295b62[_0x3871de(0x2d1)]*0x8;return _0x39e384[_0x4127de>>>0x5]|=0x80<<0x18-_0x4127de%0x20,_0x39e384[(_0x4127de+0x40>>>0x9<<0x4)+0xe]=Math[_0x3871de(0xdf)](_0x89d336/0x100000000),_0x39e384[(_0x4127de+0x40>>>0x9<<0x4)+0xf]=_0x89d336,_0x295b62[_0x3871de(0x2d1)]=_0x39e384['length']*0x4,this[_0x3871de(0x104)](),this[_0x3871de(0x27a)];},'clone':function(){var _0x3c94cf=_0x4084ec,_0xf95239=_0x52ff41[_0x3c94cf(0x1c6)]['call'](this);return _0xf95239[_0x3c94cf(0x27a)]=this['_hash'][_0x3c94cf(0x1c6)](),_0xf95239;}});_0x1cbf64[_0x4084ec(0x20a)]=_0x52ff41[_0x4084ec(0x211)](_0x1bdba5),_0x1cbf64[_0x4084ec(0x183)]=_0x52ff41[_0x4084ec(0x2f1)](_0x1bdba5);}()),_0xb50e08[_0x37abe4(0x20a)];}));}(qe)),qe[_0x4322b3(0x17a)];}var ze={'exports':{}},fn=ze[_0x3f3e43(0x17a)],Zt;function vn(){var _0x3cd32c=_0x3f3e43;return Zt||(Zt=0x1,function(_0x4b0cc0,_0x42ddbc){(function(_0x10e84a,_0xacd138){var _0x9884d6=_0x29f2;_0x4b0cc0[_0x9884d6(0x17a)]=_0xacd138(ie());}(fn,function(_0x4b7596){(function(){var _0x5572be=_0x29f2,_0x488cd7=_0x4b7596,_0x25f78b=_0x488cd7[_0x5572be(0x376)],_0x36f09e=_0x25f78b[_0x5572be(0x2e7)],_0x3c8fe8=_0x488cd7[_0x5572be(0x350)],_0xaa4ca8=_0x3c8fe8[_0x5572be(0x242)],_0xb3e533=_0x488cd7[_0x5572be(0x372)];_0xb3e533[_0x5572be(0x275)]=_0x36f09e[_0x5572be(0xf8)]({'init':function(_0x1de08a,_0x57fc76){var _0x1e0b41=_0x5572be;_0x1de08a=this['_hasher']=new _0x1de08a[(_0x1e0b41(0x9b))](),typeof _0x57fc76==_0x1e0b41(0x273)&&(_0x57fc76=_0xaa4ca8[_0x1e0b41(0x1a5)](_0x57fc76));var _0x5d9121=_0x1de08a[_0x1e0b41(0x1b9)],_0x370f5b=_0x5d9121*0x4;_0x57fc76[_0x1e0b41(0x2d1)]>_0x370f5b&&(_0x57fc76=_0x1de08a[_0x1e0b41(0x346)](_0x57fc76)),_0x57fc76['clamp']();for(var _0x369aae=this[_0x1e0b41(0xa6)]=_0x57fc76['clone'](),_0x590b80=this[_0x1e0b41(0x10a)]=_0x57fc76['clone'](),_0x449ea6=_0x369aae[_0x1e0b41(0xdb)],_0x449b4f=_0x590b80['words'],_0x168fad=0x0;_0x168fad<_0x5d9121;_0x168fad++)_0x449ea6[_0x168fad]^=0x5c5c5c5c,_0x449b4f[_0x168fad]^=0x36363636;_0x369aae[_0x1e0b41(0x2d1)]=_0x590b80[_0x1e0b41(0x2d1)]=_0x370f5b,this['reset']();},'reset':function(){var _0x4d6c77=_0x5572be,_0x1b04b0=this[_0x4d6c77(0x3ac)];_0x1b04b0[_0x4d6c77(0x312)](),_0x1b04b0['update'](this[_0x4d6c77(0x10a)]);},'update':function(_0x4089c8){var _0x29747d=_0x5572be;return this[_0x29747d(0x3ac)]['update'](_0x4089c8),this;},'finalize':function(_0x270d01){var _0x1a0010=_0x5572be,_0x450aed=this['_hasher'],_0xc47415=_0x450aed['finalize'](_0x270d01);_0x450aed[_0x1a0010(0x312)]();var _0x3016bf=_0x450aed[_0x1a0010(0x346)](this[_0x1a0010(0xa6)][_0x1a0010(0x1c6)]()[_0x1a0010(0x195)](_0xc47415));return _0x3016bf;}});}());}));}(ze)),ze[_0x3cd32c(0x17a)];}var pn=Ke[_0x3f3e43(0x17a)],Qt;function Ci(){var _0x170278=_0x3f3e43;return Qt||(Qt=0x1,function(_0x37cc37,_0x53a8c5){(function(_0x1ee66a,_0x4339c3,_0x12d520){var _0x4510aa=_0x29f2;_0x37cc37[_0x4510aa(0x17a)]=_0x4339c3(ie(),dn(),vn());}(pn,function(_0x42c924){return(function(){var _0x6dc87b=_0x29f2,_0x137dfc=_0x42c924,_0x171ab4=_0x137dfc[_0x6dc87b(0x376)],_0x38f405=_0x171ab4['Base'],_0xebc0d2=_0x171ab4['WordArray'],_0x15fd82=_0x137dfc['algo'],_0x21e7c0=_0x15fd82[_0x6dc87b(0x38b)],_0x19ce7e=_0x15fd82['EvpKDF']=_0x38f405[_0x6dc87b(0xf8)]({'cfg':_0x38f405[_0x6dc87b(0xf8)]({'keySize':0x80/0x20,'hasher':_0x21e7c0,'iterations':0x1}),'init':function(_0x1710f5){var _0x4b0a50=_0x6dc87b;this[_0x4b0a50(0x1d3)]=this['cfg'][_0x4b0a50(0xf8)](_0x1710f5);},'compute':function(_0x42bd44,_0x5512a8){var _0x2de549=_0x6dc87b;for(var _0x6a5ce3,_0x272ae4=this[_0x2de549(0x1d3)],_0x5d7ae5=_0x272ae4['hasher']['create'](),_0x13d3db=_0xebc0d2[_0x2de549(0x2fa)](),_0x4e1466=_0x13d3db[_0x2de549(0xdb)],_0x342efa=_0x272ae4[_0x2de549(0x363)],_0x28f437=_0x272ae4[_0x2de549(0x3a6)];_0x4e1466['length']<_0x342efa;){_0x6a5ce3&&_0x5d7ae5[_0x2de549(0x338)](_0x6a5ce3),_0x6a5ce3=_0x5d7ae5[_0x2de549(0x338)](_0x42bd44)[_0x2de549(0x346)](_0x5512a8),_0x5d7ae5['reset']();for(var _0x541c70=0x1;_0x541c70<_0x28f437;_0x541c70++)_0x6a5ce3=_0x5d7ae5['finalize'](_0x6a5ce3),_0x5d7ae5['reset']();_0x13d3db['concat'](_0x6a5ce3);}return _0x13d3db[_0x2de549(0x2d1)]=_0x342efa*0x4,_0x13d3db;}});_0x137dfc['EvpKDF']=function(_0x64694a,_0x31ffb1,_0x13cdc4){var _0x2075bc=_0x6dc87b;return _0x19ce7e[_0x2075bc(0x2fa)](_0x13cdc4)[_0x2075bc(0x27c)](_0x64694a,_0x31ffb1);};}()),_0x42c924['EvpKDF'];}));}(Ke)),Ke[_0x170278(0x17a)];}var Je={'exports':{}},En=Je[_0x3f3e43(0x17a)],ei;function Ni(){var _0xb88161=_0x3f3e43;return ei||(ei=0x1,function(_0x1e6a37,_0x53894c){(function(_0x4eba1b,_0x3adda0,_0x15c77a){_0x1e6a37['exports']=_0x3adda0(ie(),Ci());}(En,function(_0xffd712){var _0x33dafa=_0x29f2;_0xffd712[_0x33dafa(0x376)][_0x33dafa(0x100)]||function(_0x3c9ed8){var _0x4f0213=_0x33dafa,_0x2d3494=_0xffd712,_0x3fdc60=_0x2d3494[_0x4f0213(0x376)],_0x29282a=_0x3fdc60[_0x4f0213(0x2e7)],_0x5aeccc=_0x3fdc60[_0x4f0213(0x3b2)],_0x5e9619=_0x3fdc60[_0x4f0213(0xeb)],_0x59471c=_0x2d3494[_0x4f0213(0x350)];_0x59471c[_0x4f0213(0x242)];var _0x2a9a3f=_0x59471c[_0x4f0213(0x2d9)],_0x3e3b0c=_0x2d3494['algo'],_0x422e00=_0x3e3b0c[_0x4f0213(0x9f)],_0x44d88e=_0x3fdc60[_0x4f0213(0x100)]=_0x5e9619[_0x4f0213(0xf8)]({'cfg':_0x29282a[_0x4f0213(0xf8)](),'createEncryptor':function(_0x1cb10a,_0x4c100e){var _0x17f72e=_0x4f0213;return this[_0x17f72e(0x2fa)](this[_0x17f72e(0x194)],_0x1cb10a,_0x4c100e);},'createDecryptor':function(_0x63e4c9,_0x23462a){var _0x5314a2=_0x4f0213;return this[_0x5314a2(0x2fa)](this[_0x5314a2(0xd7)],_0x63e4c9,_0x23462a);},'init':function(_0x29600b,_0xc41dd7,_0x222a09){var _0x5726ba=_0x4f0213;this['cfg']=this[_0x5726ba(0x1d3)][_0x5726ba(0xf8)](_0x222a09),this[_0x5726ba(0xdc)]=_0x29600b,this[_0x5726ba(0x1f1)]=_0xc41dd7,this[_0x5726ba(0x312)]();},'reset':function(){var _0x461a35=_0x4f0213;_0x5e9619['reset'][_0x461a35(0x1df)](this),this['_doReset']();},'process':function(_0x2b64d8){var _0xc31f3e=_0x4f0213;return this[_0xc31f3e(0x3a2)](_0x2b64d8),this[_0xc31f3e(0x104)]();},'finalize':function(_0x585dd9){var _0x3cabe3=_0x4f0213;_0x585dd9&&this[_0x3cabe3(0x3a2)](_0x585dd9);var _0x38b7cf=this[_0x3cabe3(0x387)]();return _0x38b7cf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2065be(_0x4db89b){return typeof _0x4db89b=='string'?_0x5696b9:_0x2e06ac;}return function(_0x3bea08){return{'encrypt':function(_0x4f5986,_0x2bd34d,_0x3d1910){var _0x515c60=_0x29f2;return _0x2065be(_0x2bd34d)[_0x515c60(0x31b)](_0x3bea08,_0x4f5986,_0x2bd34d,_0x3d1910);},'decrypt':function(_0x4a6b11,_0x5b3871,_0x53ac45){var _0x3531c0=_0x29f2;return _0x2065be(_0x5b3871)[_0x3531c0(0x215)](_0x3bea08,_0x4a6b11,_0x5b3871,_0x53ac45);}};};}())});_0x3fdc60[_0x4f0213(0x1ef)]=_0x44d88e[_0x4f0213(0xf8)]({'_doFinalize':function(){var _0x51dc41=_0x4f0213,_0x55ed5e=this[_0x51dc41(0x104)](!0x0);return _0x55ed5e;},'blockSize':0x1});var _0x379e5c=_0x2d3494[_0x4f0213(0x288)]={},_0x785cca=_0x3fdc60[_0x4f0213(0x268)]=_0x29282a[_0x4f0213(0xf8)]({'createEncryptor':function(_0x1614c6,_0x481d45){var _0x403f76=_0x4f0213;return this['Encryptor'][_0x403f76(0x2fa)](_0x1614c6,_0x481d45);},'createDecryptor':function(_0x4ca41b,_0x3a3e9f){var _0x3703ee=_0x4f0213;return this[_0x3703ee(0x20f)][_0x3703ee(0x2fa)](_0x4ca41b,_0x3a3e9f);},'init':function(_0x5f080e,_0x3d6d4d){var _0x14ec1d=_0x4f0213;this[_0x14ec1d(0x399)]=_0x5f080e,this[_0x14ec1d(0x1d0)]=_0x3d6d4d;}}),_0x115613=_0x379e5c['CBC']=(function(){var _0x47792c=_0x4f0213,_0x2031e4=_0x785cca[_0x47792c(0xf8)]();_0x2031e4[_0x47792c(0x124)]=_0x2031e4[_0x47792c(0xf8)]({'processBlock':function(_0x33b4e5,_0x59ec92){var _0xf54fb8=_0x47792c,_0x31624d=this[_0xf54fb8(0x399)],_0xa574f9=_0x31624d['blockSize'];_0x54b332['call'](this,_0x33b4e5,_0x59ec92,_0xa574f9),_0x31624d[_0xf54fb8(0x106)](_0x33b4e5,_0x59ec92),this[_0xf54fb8(0x28a)]=_0x33b4e5[_0xf54fb8(0x126)](_0x59ec92,_0x59ec92+_0xa574f9);}}),_0x2031e4['Decryptor']=_0x2031e4[_0x47792c(0xf8)]({'processBlock':function(_0x3dbbcb,_0x49220d){var _0x37e45a=_0x47792c,_0x21d9e2=this[_0x37e45a(0x399)],_0x44e2e5=_0x21d9e2[_0x37e45a(0x1b9)],_0x2e792b=_0x3dbbcb[_0x37e45a(0x126)](_0x49220d,_0x49220d+_0x44e2e5);_0x21d9e2['decryptBlock'](_0x3dbbcb,_0x49220d),_0x54b332[_0x37e45a(0x1df)](this,_0x3dbbcb,_0x49220d,_0x44e2e5),this[_0x37e45a(0x28a)]=_0x2e792b;}});function _0x54b332(_0xe08f27,_0x4be2be,_0x3c51ca){var _0x2ca899=_0x47792c,_0x157d2f,_0xd67bd6=this[_0x2ca899(0x1d0)];_0xd67bd6?(_0x157d2f=_0xd67bd6,this['_iv']=_0x3c9ed8):_0x157d2f=this['_prevBlock'];for(var _0x1e563c=0x0;_0x1e563c<_0x3c51ca;_0x1e563c++)_0xe08f27[_0x4be2be+_0x1e563c]^=_0x157d2f[_0x1e563c];}return _0x2031e4;}()),_0x272098=_0x2d3494[_0x4f0213(0xea)]={},_0x3076f0=_0x272098['Pkcs7']={'pad':function(_0x248a62,_0x116171){var _0x58672b=_0x4f0213;for(var _0x8fe44e=_0x116171*0x4,_0x2e1500=_0x8fe44e-_0x248a62[_0x58672b(0x2d1)]%_0x8fe44e,_0x42e58e=_0x2e1500<<0x18|_0x2e1500<<0x10|_0x2e1500<<0x8|_0x2e1500,_0x10b1d6=[],_0x189616=0x0;_0x189616<_0x2e1500;_0x189616+=0x4)_0x10b1d6['push'](_0x42e58e);var _0x534095=_0x5aeccc[_0x58672b(0x2fa)](_0x10b1d6,_0x2e1500);_0x248a62['concat'](_0x534095);},'unpad':function(_0x5dd846){var _0x28eb27=_0x4f0213,_0x3615b5=_0x5dd846[_0x28eb27(0xdb)][_0x5dd846['sigBytes']-0x1>>>0x2]&0xff;_0x5dd846['sigBytes']-=_0x3615b5;}};_0x3fdc60[_0x4f0213(0xc5)]=_0x44d88e[_0x4f0213(0xf8)]({'cfg':_0x44d88e[_0x4f0213(0x1d3)][_0x4f0213(0xf8)]({'mode':_0x115613,'padding':_0x3076f0}),'reset':function(){var _0x2380bf=_0x4f0213,_0x3635cc;_0x44d88e[_0x2380bf(0x312)]['call'](this);var _0x5da166=this['cfg'],_0x5e3c9d=_0x5da166['iv'],_0x1b39c6=_0x5da166[_0x2380bf(0x288)];this[_0x2380bf(0xdc)]==this[_0x2380bf(0x194)]?_0x3635cc=_0x1b39c6[_0x2380bf(0x38a)]:(_0x3635cc=_0x1b39c6[_0x2380bf(0x18a)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x2380bf(0xfa)]['__creator']==_0x3635cc?this[_0x2380bf(0xfa)][_0x2380bf(0x9b)](this,_0x5e3c9d&&_0x5e3c9d[_0x2380bf(0xdb)]):(this[_0x2380bf(0xfa)]=_0x3635cc['call'](_0x1b39c6,this,_0x5e3c9d&&_0x5e3c9d['words']),this[_0x2380bf(0xfa)][_0x2380bf(0x13b)]=_0x3635cc);},'_doProcessBlock':function(_0x1fdaaf,_0x25003e){var _0x33b442=_0x4f0213;this['_mode'][_0x33b442(0x2ca)](_0x1fdaaf,_0x25003e);},'_doFinalize':function(){var _0x533aac=_0x4f0213,_0x4c4932,_0x4550e5=this[_0x533aac(0x1d3)][_0x533aac(0x118)];return this[_0x533aac(0xdc)]==this['_ENC_XFORM_MODE']?(_0x4550e5[_0x533aac(0xea)](this['_data'],this[_0x533aac(0x1b9)]),_0x4c4932=this['_process'](!0x0)):(_0x4c4932=this[_0x533aac(0x104)](!0x0),_0x4550e5['unpad'](_0x4c4932)),_0x4c4932;},'blockSize':0x80/0x20});var _0x5dc887=_0x3fdc60[_0x4f0213(0x3b4)]=_0x29282a[_0x4f0213(0xf8)]({'init':function(_0x3247f9){var _0xe6681=_0x4f0213;this[_0xe6681(0x2c9)](_0x3247f9);},'toString':function(_0x47cae7){var _0x96b8f9=_0x4f0213;return(_0x47cae7||this[_0x96b8f9(0x340)])[_0x96b8f9(0x2bf)](this);}}),_0x4a573a=_0x2d3494[_0x4f0213(0x168)]={},_0x48cc28=_0x4a573a[_0x4f0213(0x9c)]={'stringify':function(_0xb5c7b2){var _0x12e5d8=_0x4f0213,_0x4b6563,_0x25dcb7=_0xb5c7b2['ciphertext'],_0x4e4c19=_0xb5c7b2[_0x12e5d8(0x172)];return _0x4e4c19?_0x4b6563=_0x5aeccc[_0x12e5d8(0x2fa)]([0x53616c74,0x65645f5f])[_0x12e5d8(0x195)](_0x4e4c19)['concat'](_0x25dcb7):_0x4b6563=_0x25dcb7,_0x4b6563[_0x12e5d8(0xbe)](_0x2a9a3f);},'parse':function(_0x3541d0){var _0x11b8b6=_0x4f0213,_0x631a39,_0x3d9fc8=_0x2a9a3f[_0x11b8b6(0x1a5)](_0x3541d0),_0x4ea512=_0x3d9fc8[_0x11b8b6(0xdb)];return _0x4ea512[0x0]==0x53616c74&&_0x4ea512[0x1]==0x65645f5f&&(_0x631a39=_0x5aeccc['create'](_0x4ea512['slice'](0x2,0x4)),_0x4ea512[_0x11b8b6(0xe8)](0x0,0x4),_0x3d9fc8[_0x11b8b6(0x2d1)]-=0x10),_0x5dc887[_0x11b8b6(0x2fa)]({'ciphertext':_0x3d9fc8,'salt':_0x631a39});}},_0x2e06ac=_0x3fdc60[_0x4f0213(0x37a)]=_0x29282a['extend']({'cfg':_0x29282a['extend']({'format':_0x48cc28}),'encrypt':function(_0x14a918,_0x45ed0a,_0x20a414,_0x2eb3eb){var _0x467dc6=_0x4f0213;_0x2eb3eb=this[_0x467dc6(0x1d3)][_0x467dc6(0xf8)](_0x2eb3eb);var _0x9f2b51=_0x14a918[_0x467dc6(0x38a)](_0x20a414,_0x2eb3eb),_0xcc8319=_0x9f2b51[_0x467dc6(0x346)](_0x45ed0a),_0x4cab77=_0x9f2b51[_0x467dc6(0x1d3)];return _0x5dc887[_0x467dc6(0x2fa)]({'ciphertext':_0xcc8319,'key':_0x20a414,'iv':_0x4cab77['iv'],'algorithm':_0x14a918,'mode':_0x4cab77[_0x467dc6(0x288)],'padding':_0x4cab77['padding'],'blockSize':_0x14a918[_0x467dc6(0x1b9)],'formatter':_0x2eb3eb[_0x467dc6(0x168)]});},'decrypt':function(_0xb0e579,_0x5753f2,_0x4faa0e,_0x32575c){var _0x17afd5=_0x4f0213;_0x32575c=this[_0x17afd5(0x1d3)]['extend'](_0x32575c),_0x5753f2=this[_0x17afd5(0x2b8)](_0x5753f2,_0x32575c[_0x17afd5(0x168)]);var _0x393823=_0xb0e579['createDecryptor'](_0x4faa0e,_0x32575c)[_0x17afd5(0x346)](_0x5753f2[_0x17afd5(0x2df)]);return _0x393823;},'_parse':function(_0x248d44,_0x8a0d41){var _0x13c41d=_0x4f0213;return typeof _0x248d44==_0x13c41d(0x273)?_0x8a0d41[_0x13c41d(0x1a5)](_0x248d44,this):_0x248d44;}}),_0x245381=_0x2d3494['kdf']={},_0xf43ec4=_0x245381[_0x4f0213(0x9c)]={'execute':function(_0x16b959,_0x168d40,_0x424ab6,_0x58f625,_0x5893d5){var _0x329cec=_0x4f0213;if(_0x58f625||(_0x58f625=_0x5aeccc[_0x329cec(0x353)](0x40/0x8)),_0x5893d5)var _0x3cf198=_0x422e00[_0x329cec(0x2fa)]({'keySize':_0x168d40+_0x424ab6,'hasher':_0x5893d5})[_0x329cec(0x27c)](_0x16b959,_0x58f625);else var _0x3cf198=_0x422e00[_0x329cec(0x2fa)]({'keySize':_0x168d40+_0x424ab6})[_0x329cec(0x27c)](_0x16b959,_0x58f625);var _0x3db6e8=_0x5aeccc[_0x329cec(0x2fa)](_0x3cf198[_0x329cec(0xdb)][_0x329cec(0x126)](_0x168d40),_0x424ab6*0x4);return _0x3cf198[_0x329cec(0x2d1)]=_0x168d40*0x4,_0x5dc887['create']({'key':_0x3cf198,'iv':_0x3db6e8,'salt':_0x58f625});}},_0x5696b9=_0x3fdc60[_0x4f0213(0x282)]=_0x2e06ac[_0x4f0213(0xf8)]({'cfg':_0x2e06ac[_0x4f0213(0x1d3)][_0x4f0213(0xf8)]({'kdf':_0xf43ec4}),'encrypt':function(_0x47b8e5,_0x3e379a,_0x202d0b,_0x356039){var _0x29661d=_0x4f0213;_0x356039=this['cfg']['extend'](_0x356039);var _0x2104dd=_0x356039[_0x29661d(0x2cb)][_0x29661d(0x8d)](_0x202d0b,_0x47b8e5[_0x29661d(0x363)],_0x47b8e5[_0x29661d(0xe6)],_0x356039[_0x29661d(0x172)],_0x356039[_0x29661d(0x2b2)]);_0x356039['iv']=_0x2104dd['iv'];var _0x3354fc=_0x2e06ac[_0x29661d(0x31b)][_0x29661d(0x1df)](this,_0x47b8e5,_0x3e379a,_0x2104dd[_0x29661d(0x26b)],_0x356039);return _0x3354fc[_0x29661d(0x2c9)](_0x2104dd),_0x3354fc;},'decrypt':function(_0x24b081,_0x33c6aa,_0x5b0a11,_0x4dbedd){var _0x3c8a04=_0x4f0213;_0x4dbedd=this[_0x3c8a04(0x1d3)][_0x3c8a04(0xf8)](_0x4dbedd),_0x33c6aa=this[_0x3c8a04(0x2b8)](_0x33c6aa,_0x4dbedd[_0x3c8a04(0x168)]);var _0x26e0b3=_0x4dbedd[_0x3c8a04(0x2cb)][_0x3c8a04(0x8d)](_0x5b0a11,_0x24b081['keySize'],_0x24b081[_0x3c8a04(0xe6)],_0x33c6aa[_0x3c8a04(0x172)],_0x4dbedd['hasher']);_0x4dbedd['iv']=_0x26e0b3['iv'];var _0x5cdcf8=_0x2e06ac[_0x3c8a04(0x215)]['call'](this,_0x24b081,_0x33c6aa,_0x26e0b3[_0x3c8a04(0x26b)],_0x4dbedd);return _0x5cdcf8;}});}();}));}(Je)),Je[_0xb88161(0x17a)];}var mn=Ve['exports'],ti;function In(){var _0x14c57d=_0x3f3e43;return ti||(ti=0x1,function(_0x416beb,_0x1b2c35){(function(_0x2f34c7,_0x38ac1b,_0x17dd68){_0x416beb['exports']=_0x38ac1b(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x31756e){var _0x1b2ca9=_0x29f2;return(function(){var _0x4c1695=_0x29f2,_0x44d3ac=_0x31756e,_0x35d25d=_0x44d3ac[_0x4c1695(0x376)],_0x2e7a7f=_0x35d25d[_0x4c1695(0xc5)],_0x195a1a=_0x44d3ac['algo'],_0x5dcc8a=[],_0x3999bb=[],_0x351541=[],_0x335f11=[],_0x181bc2=[],_0x1bf16a=[],_0x297b64=[],_0x4c0442=[],_0x1e1ad6=[],_0x2a3dce=[];(function(){for(var _0x5be56a=[],_0x2bf009=0x0;_0x2bf009<0x100;_0x2bf009++)_0x2bf009<0x80?_0x5be56a[_0x2bf009]=_0x2bf009<<0x1:_0x5be56a[_0x2bf009]=_0x2bf009<<0x1^0x11b;for(var _0x5b2708=0x0,_0x1011c1=0x0,_0x2bf009=0x0;_0x2bf009<0x100;_0x2bf009++){var _0x2200ee=_0x1011c1^_0x1011c1<<0x1^_0x1011c1<<0x2^_0x1011c1<<0x3^_0x1011c1<<0x4;_0x2200ee=_0x2200ee>>>0x8^_0x2200ee&0xff^0x63,_0x5dcc8a[_0x5b2708]=_0x2200ee,_0x3999bb[_0x2200ee]=_0x5b2708;var _0x4a87cb=_0x5be56a[_0x5b2708],_0x20a7be=_0x5be56a[_0x4a87cb],_0x2a48d3=_0x5be56a[_0x20a7be],_0x3f02f9=_0x5be56a[_0x2200ee]*0x101^_0x2200ee*0x1010100;_0x351541[_0x5b2708]=_0x3f02f9<<0x18|_0x3f02f9>>>0x8,_0x335f11[_0x5b2708]=_0x3f02f9<<0x10|_0x3f02f9>>>0x10,_0x181bc2[_0x5b2708]=_0x3f02f9<<0x8|_0x3f02f9>>>0x18,_0x1bf16a[_0x5b2708]=_0x3f02f9;var _0x3f02f9=_0x2a48d3*0x1010101^_0x20a7be*0x10001^_0x4a87cb*0x101^_0x5b2708*0x1010100;_0x297b64[_0x2200ee]=_0x3f02f9<<0x18|_0x3f02f9>>>0x8,_0x4c0442[_0x2200ee]=_0x3f02f9<<0x10|_0x3f02f9>>>0x10,_0x1e1ad6[_0x2200ee]=_0x3f02f9<<0x8|_0x3f02f9>>>0x18,_0x2a3dce[_0x2200ee]=_0x3f02f9,_0x5b2708?(_0x5b2708=_0x4a87cb^_0x5be56a[_0x5be56a[_0x5be56a[_0x2a48d3^_0x4a87cb]]],_0x1011c1^=_0x5be56a[_0x5be56a[_0x1011c1]]):_0x5b2708=_0x1011c1=0x1;}}());var _0x27b45e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4bec97=_0x195a1a[_0x4c1695(0x23e)]=_0x2e7a7f['extend']({'_doReset':function(){var _0x4d2ec4=_0x4c1695,_0x24a76d;if(!(this[_0x4d2ec4(0x1d1)]&&this[_0x4d2ec4(0x102)]===this[_0x4d2ec4(0x1f1)])){for(var _0x118ab8=this['_keyPriorReset']=this[_0x4d2ec4(0x1f1)],_0x10baea=_0x118ab8['words'],_0x169d5a=_0x118ab8[_0x4d2ec4(0x2d1)]/0x4,_0x2f8527=this[_0x4d2ec4(0x1d1)]=_0x169d5a+0x6,_0x3ab3dc=(_0x2f8527+0x1)*0x4,_0x450b1a=this[_0x4d2ec4(0x359)]=[],_0x2902e6=0x0;_0x2902e6<_0x3ab3dc;_0x2902e6++)_0x2902e6<_0x169d5a?_0x450b1a[_0x2902e6]=_0x10baea[_0x2902e6]:(_0x24a76d=_0x450b1a[_0x2902e6-0x1],_0x2902e6%_0x169d5a?_0x169d5a>0x6&&_0x2902e6%_0x169d5a==0x4&&(_0x24a76d=_0x5dcc8a[_0x24a76d>>>0x18]<<0x18|_0x5dcc8a[_0x24a76d>>>0x10&0xff]<<0x10|_0x5dcc8a[_0x24a76d>>>0x8&0xff]<<0x8|_0x5dcc8a[_0x24a76d&0xff]):(_0x24a76d=_0x24a76d<<0x8|_0x24a76d>>>0x18,_0x24a76d=_0x5dcc8a[_0x24a76d>>>0x18]<<0x18|_0x5dcc8a[_0x24a76d>>>0x10&0xff]<<0x10|_0x5dcc8a[_0x24a76d>>>0x8&0xff]<<0x8|_0x5dcc8a[_0x24a76d&0xff],_0x24a76d^=_0x27b45e[_0x2902e6/_0x169d5a|0x0]<<0x18),_0x450b1a[_0x2902e6]=_0x450b1a[_0x2902e6-_0x169d5a]^_0x24a76d);for(var _0x55d348=this[_0x4d2ec4(0x319)]=[],_0x3552ff=0x0;_0x3552ff<_0x3ab3dc;_0x3552ff++){var _0x2902e6=_0x3ab3dc-_0x3552ff;if(_0x3552ff%0x4)var _0x24a76d=_0x450b1a[_0x2902e6];else var _0x24a76d=_0x450b1a[_0x2902e6-0x4];_0x3552ff<0x4||_0x2902e6<=0x4?_0x55d348[_0x3552ff]=_0x24a76d:_0x55d348[_0x3552ff]=_0x297b64[_0x5dcc8a[_0x24a76d>>>0x18]]^_0x4c0442[_0x5dcc8a[_0x24a76d>>>0x10&0xff]]^_0x1e1ad6[_0x5dcc8a[_0x24a76d>>>0x8&0xff]]^_0x2a3dce[_0x5dcc8a[_0x24a76d&0xff]];}}},'encryptBlock':function(_0x3abdc0,_0xbd082e){var _0x46b5d7=_0x4c1695;this[_0x46b5d7(0x2ff)](_0x3abdc0,_0xbd082e,this[_0x46b5d7(0x359)],_0x351541,_0x335f11,_0x181bc2,_0x1bf16a,_0x5dcc8a);},'decryptBlock':function(_0x3e232e,_0x523177){var _0x499501=_0x4c1695,_0x2df3e1=_0x3e232e[_0x523177+0x1];_0x3e232e[_0x523177+0x1]=_0x3e232e[_0x523177+0x3],_0x3e232e[_0x523177+0x3]=_0x2df3e1,this[_0x499501(0x2ff)](_0x3e232e,_0x523177,this[_0x499501(0x319)],_0x297b64,_0x4c0442,_0x1e1ad6,_0x2a3dce,_0x3999bb);var _0x2df3e1=_0x3e232e[_0x523177+0x1];_0x3e232e[_0x523177+0x1]=_0x3e232e[_0x523177+0x3],_0x3e232e[_0x523177+0x3]=_0x2df3e1;},'_doCryptBlock':function(_0x5e24c1,_0x102739,_0x3a9b5c,_0x29c839,_0x3e6d77,_0xaf5353,_0x1f8b2c,_0x256c4c){var _0x1e86fc=_0x4c1695;for(var _0x33766a=this[_0x1e86fc(0x1d1)],_0x454da8=_0x5e24c1[_0x102739]^_0x3a9b5c[0x0],_0x71ec55=_0x5e24c1[_0x102739+0x1]^_0x3a9b5c[0x1],_0x1998be=_0x5e24c1[_0x102739+0x2]^_0x3a9b5c[0x2],_0x36f957=_0x5e24c1[_0x102739+0x3]^_0x3a9b5c[0x3],_0x4a7e29=0x4,_0x24d06b=0x1;_0x24d06b<_0x33766a;_0x24d06b++){var _0x15095d=_0x29c839[_0x454da8>>>0x18]^_0x3e6d77[_0x71ec55>>>0x10&0xff]^_0xaf5353[_0x1998be>>>0x8&0xff]^_0x1f8b2c[_0x36f957&0xff]^_0x3a9b5c[_0x4a7e29++],_0x4e75aa=_0x29c839[_0x71ec55>>>0x18]^_0x3e6d77[_0x1998be>>>0x10&0xff]^_0xaf5353[_0x36f957>>>0x8&0xff]^_0x1f8b2c[_0x454da8&0xff]^_0x3a9b5c[_0x4a7e29++],_0x405dbe=_0x29c839[_0x1998be>>>0x18]^_0x3e6d77[_0x36f957>>>0x10&0xff]^_0xaf5353[_0x454da8>>>0x8&0xff]^_0x1f8b2c[_0x71ec55&0xff]^_0x3a9b5c[_0x4a7e29++],_0x1d6a1f=_0x29c839[_0x36f957>>>0x18]^_0x3e6d77[_0x454da8>>>0x10&0xff]^_0xaf5353[_0x71ec55>>>0x8&0xff]^_0x1f8b2c[_0x1998be&0xff]^_0x3a9b5c[_0x4a7e29++];_0x454da8=_0x15095d,_0x71ec55=_0x4e75aa,_0x1998be=_0x405dbe,_0x36f957=_0x1d6a1f;}var _0x15095d=(_0x256c4c[_0x454da8>>>0x18]<<0x18|_0x256c4c[_0x71ec55>>>0x10&0xff]<<0x10|_0x256c4c[_0x1998be>>>0x8&0xff]<<0x8|_0x256c4c[_0x36f957&0xff])^_0x3a9b5c[_0x4a7e29++],_0x4e75aa=(_0x256c4c[_0x71ec55>>>0x18]<<0x18|_0x256c4c[_0x1998be>>>0x10&0xff]<<0x10|_0x256c4c[_0x36f957>>>0x8&0xff]<<0x8|_0x256c4c[_0x454da8&0xff])^_0x3a9b5c[_0x4a7e29++],_0x405dbe=(_0x256c4c[_0x1998be>>>0x18]<<0x18|_0x256c4c[_0x36f957>>>0x10&0xff]<<0x10|_0x256c4c[_0x454da8>>>0x8&0xff]<<0x8|_0x256c4c[_0x71ec55&0xff])^_0x3a9b5c[_0x4a7e29++],_0x1d6a1f=(_0x256c4c[_0x36f957>>>0x18]<<0x18|_0x256c4c[_0x454da8>>>0x10&0xff]<<0x10|_0x256c4c[_0x71ec55>>>0x8&0xff]<<0x8|_0x256c4c[_0x1998be&0xff])^_0x3a9b5c[_0x4a7e29++];_0x5e24c1[_0x102739]=_0x15095d,_0x5e24c1[_0x102739+0x1]=_0x4e75aa,_0x5e24c1[_0x102739+0x2]=_0x405dbe,_0x5e24c1[_0x102739+0x3]=_0x1d6a1f;},'keySize':0x100/0x20});_0x44d3ac[_0x4c1695(0x23e)]=_0x2e7a7f[_0x4c1695(0x211)](_0x4bec97);}()),_0x31756e[_0x1b2ca9(0x23e)];}));}(Ve)),Ve[_0x14c57d(0x17a)];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe[_0x3f3e43(0x17a)],si;function Rn(){return si||(si=0x1,function(_0xe4a8bf,_0x325d20){(function(_0x1c9d6a,_0x467b0b){var _0xe7e2d4=_0x29f2;_0xe4a8bf[_0xe7e2d4(0x17a)]=_0x467b0b(ie());}(On,function(_0x160f5e){var _0x2eaf3d=_0x29f2;return _0x160f5e[_0x2eaf3d(0x350)][_0x2eaf3d(0x242)];}));}(Xe)),Xe['exports'];}var Cn=Rn();function _0x29f2(_0x389813,_0x33e9a4){var _0x317388=_0x3173();return _0x29f2=function(_0x29f29c,_0x61a67e){_0x29f29c=_0x29f29c-0x8d;var _0x5a0b0a=_0x317388[_0x29f29c];return _0x5a0b0a;},_0x29f2(_0x389813,_0x33e9a4);}const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze[_0x3f3e43(0x17a)],ni;function Dn(){var _0x37555a=_0x3f3e43;return ni||(ni=0x1,function(_0x3ec904,_0x29c61c){(function(_0x539091,_0x5a935b){var _0x3f7643=_0x29f2;_0x3ec904[_0x3f7643(0x17a)]=_0x5a935b(ie());}(bn,function(_0x4c779d){var _0x4ba2db=_0x29f2;return(function(){var _0xa84dfd=_0x29f2;if(typeof ArrayBuffer=='function'){var _0x333d33=_0x4c779d,_0x1144ab=_0x333d33['lib'],_0x2fff6d=_0x1144ab[_0xa84dfd(0x3b2)],_0x351d04=_0x2fff6d['init'],_0x57cd7d=_0x2fff6d[_0xa84dfd(0x9b)]=function(_0x2aa06e){var _0x199e2b=_0xa84dfd;if(_0x2aa06e instanceof ArrayBuffer&&(_0x2aa06e=new Uint8Array(_0x2aa06e)),(_0x2aa06e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2aa06e instanceof Uint8ClampedArray||_0x2aa06e instanceof Int16Array||_0x2aa06e instanceof Uint16Array||_0x2aa06e instanceof Int32Array||_0x2aa06e instanceof Uint32Array||_0x2aa06e instanceof Float32Array||_0x2aa06e instanceof Float64Array)&&(_0x2aa06e=new Uint8Array(_0x2aa06e[_0x199e2b(0xf9)],_0x2aa06e['byteOffset'],_0x2aa06e[_0x199e2b(0x33e)])),_0x2aa06e instanceof Uint8Array){for(var _0x5ac013=_0x2aa06e['byteLength'],_0x143c26=[],_0x2e3bac=0x0;_0x2e3bac<_0x5ac013;_0x2e3bac++)_0x143c26[_0x2e3bac>>>0x2]|=_0x2aa06e[_0x2e3bac]<<0x18-_0x2e3bac%0x4*0x8;_0x351d04['call'](this,_0x143c26,_0x5ac013);}else _0x351d04['apply'](this,arguments);};_0x57cd7d[_0xa84dfd(0x231)]=_0x2fff6d;}}()),_0x4c779d[_0x4ba2db(0x376)][_0x4ba2db(0x3b2)];}));}(Ze)),Ze[_0x37555a(0x17a)];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe[_0x3f3e43(0x17a)],ri;function Pn(){var _0xca86a=_0x3f3e43;return ri||(ri=0x1,function(_0x4b8ebb,_0x50379e){(function(_0x183b8,_0x9c6d6a,_0x14600a){var _0x37145c=_0x29f2;_0x4b8ebb[_0x37145c(0x17a)]=_0x9c6d6a(ie(),Ni());}(An,function(_0x4e83f6){var _0x2506d1=_0x29f2;return _0x4e83f6[_0x2506d1(0xea)][_0x2506d1(0xcc)]={'pad':function(){},'unpad':function(){}},_0x4e83f6['pad'][_0x2506d1(0xcc)];}));}(Qe)),Qe[_0xca86a(0x17a)];}var wn=Pn();const Mn=$e(wn);function Ln(_0x4e5bbe,_0x513a79){var _0x2acd8b=_0x3f3e43;const _0x3e7aff=_0x513a79-_0x4e5bbe[_0x2acd8b(0x371)]%_0x513a79,_0x5f23d0=String[_0x2acd8b(0xcb)](_0x3e7aff)['repeat'](_0x3e7aff);return _0x4e5bbe+_0x5f23d0;}function xn(_0x44c8a1,_0x5ac221){var _0x4c3586=_0x3f3e43;const _0x2fa8a2=Un[_0x4c3586(0x353)](0x10),_0x3ad7d1=Ln(_0x44c8a1,0x10),_0x1bfabd=gn[_0x4c3586(0x31b)](Nn[_0x4c3586(0x1a5)](_0x3ad7d1),ii[_0x4c3586(0x1a5)](_0x5ac221),{'iv':_0x2fa8a2,'padding':Mn});return _0x2fa8a2[_0x4c3586(0x195)](_0x1bfabd[_0x4c3586(0x2df)])[_0x4c3586(0xbe)](ii);}function kn(){var _0x5c4a1b=_0x3f3e43;const _0x514577=_0x542aba()[_0x5c4a1b(0x237)];if(_0x514577){const _0x58d2a0={'time':Math['floor'](Date[_0x5c4a1b(0x13e)]()/0x3e8),'domain':location[_0x5c4a1b(0x10b)]};return xn(JSON[_0x5c4a1b(0x2bf)](_0x58d2a0),_0x514577);}}var $n=Object[_0x3f3e43(0x16a)],Hn=(_0x3a2d33,_0x1029d1,_0x592f39,_0x5f9969)=>{for(var _0x48620e=_0x5f9969>0x1?void 0x0:_0x5f9969?$n(_0x1029d1,_0x592f39):_0x1029d1,_0xe2ab4f=_0x3a2d33['length']-0x1,_0x1494db;_0xe2ab4f>=0x0;_0xe2ab4f--)(_0x1494db=_0x3a2d33[_0xe2ab4f])&&(_0x48620e=_0x1494db(_0x48620e)||_0x48620e);return _0x48620e;},Bn=(_0x49b514,_0x537017)=>(_0x4408a7,_0x46f12f)=>_0x537017(_0x4408a7,_0x46f12f,_0x49b514);let at=class{constructor(_0x17500a){var _0x19b32b=_0x3f3e43;this[_0x19b32b(0x397)]=_0x17500a,this[_0x19b32b(0x2c3)]();}[_0x3f3e43(0x2c3)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x3796f2,_0x2a813b)=>{var _0xd043a1=_0x29f2;const _0x1ce46a=_0x3796f2[_0xd043a1(0x264)],_0x407ecc=kn();return _0x407ecc&&_0x1ce46a[_0xd043a1(0x111)](_0xd043a1(0x261),_0x407ecc),_0x2a813b(_0x3796f2);}});}};at=Hn([Bn(0x0,_0x5e33bf(_0xbb2f1c))],at);var Fn=Object[_0x3f3e43(0x16a)],jn=(_0x14f1af,_0x426750,_0x1e92a3,_0x485cca)=>{for(var _0x2e785b=_0x485cca>0x1?void 0x0:_0x485cca?Fn(_0x426750,_0x1e92a3):_0x426750,_0x4ba829=_0x14f1af['length']-0x1,_0x26233;_0x4ba829>=0x0;_0x4ba829--)(_0x26233=_0x14f1af[_0x4ba829])&&(_0x2e785b=_0x26233(_0x2e785b)||_0x2e785b);return _0x2e785b;},vt=(_0x4068ab,_0x1014f4)=>(_0x42e20e,_0xea7858)=>_0x1014f4(_0x42e20e,_0xea7858,_0x4068ab);let Ot=class extends _0x3f64e4{constructor(_0x1f0fd8,_0x5dee9d,_0x58f041){var _0x362f15=_0x3f3e43;super(),D(this,_0x362f15(0x113),new _0x3cc84f(null)),D(this,'unitInfo$',this['_unitInfo$'][_0x362f15(0x291)]()),(this[_0x362f15(0x274)]=_0x1f0fd8,this[_0x362f15(0xc1)]=_0x5dee9d,this[_0x362f15(0x2aa)]=_0x58f041);}async[_0x3f3e43(0x1e9)](_0x43ef8a,_0x4fb8d0,_0xf14adb){var _0x49056e=_0x3f3e43;this[_0x49056e(0x113)][_0x49056e(0x318)]({'unitId':_0x43ef8a,'type':_0x4fb8d0});let _0x3e61c0=null;switch(_0x4fb8d0){case Q['UNIVER_SHEET']:{_0x3e61c0=await this['_snapshotService'][_0x49056e(0x358)](_0x43ef8a,_0xf14adb);break;}case Q[_0x49056e(0x26a)]:{_0x3e61c0=await this[_0x49056e(0xc1)][_0x49056e(0x1d8)](_0x43ef8a,_0xf14adb);break;}default:{this[_0x49056e(0x274)]['error'](_0x49056e(0x354),_0x49056e(0x29c));break;}}return _0x3e61c0;}async[_0x3f3e43(0x1e8)](_0x43226a,_0x13cfa9,_0x1ac8f8){var _0x2e732b=_0x3f3e43,_0x5cf311;this[_0x2e732b(0x113)][_0x2e732b(0x318)]({'unitId':_0x43226a,'type':_0x13cfa9,'subUnitId':_0x1ac8f8});let _0x5c452f=0x0;const _0x1ce1ad=await((_0x5cf311=this[_0x2e732b(0x2aa)])==null?void 0x0:_0x5cf311['loadOfflineData'](_0x43226a));return _0x1ce1ad&&(_0x1ce1ad[_0x2e732b(0x278)]||_0x1ce1ad[_0x2e732b(0x1bf)][_0x2e732b(0x371)]!==0x0)&&(_0x5c452f=_0x1ce1ad[_0x2e732b(0x20c)]),_0x5c452f===0x0&&this[_0x2e732b(0x274)][_0x2e732b(0x1eb)](_0x2e732b(0x354),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2e732b(0x1e9)](_0x43226a,_0x13cfa9,_0x5c452f);}};Ot=jn([vt(0x0,_0x3f8704),vt(0x1,_0x5e33bf(_0x488755)),vt(0x2,_0x4e4cb4(J))],Ot);var Vn=Object[_0x3f3e43(0x16a)],Gn=(_0x2fb39c,_0xcea9e9,_0x537430,_0xaebaf2)=>{var _0x1a768f=_0x3f3e43;for(var _0x35ac73=_0xaebaf2>0x1?void 0x0:_0xaebaf2?Vn(_0xcea9e9,_0x537430):_0xcea9e9,_0x5e38b2=_0x2fb39c[_0x1a768f(0x371)]-0x1,_0x3bb662;_0x5e38b2>=0x0;_0x5e38b2--)(_0x3bb662=_0x2fb39c[_0x5e38b2])&&(_0x35ac73=_0x3bb662(_0x35ac73)||_0x35ac73);return _0x35ac73;},pt=(_0x157c1e,_0x31c0e8)=>(_0x381af8,_0x177067)=>_0x31c0e8(_0x381af8,_0x177067,_0x157c1e);const Wn=[_0x3f3e43(0x287),_0x3f3e43(0xd5),_0x3f3e43(0x238),_0x3f3e43(0x2e9),'image/bmp'],Yn=0x5*0x400*0x400,Kn=_0x3f3e43(0x95),qn=_0x3f3e43(0x34c);let Rt=class{constructor(_0x5d1dd0,_0x571ddc,_0x444454){var _0x4acb98=_0x3f3e43;D(this,_0x4acb98(0x37d),0x0),D(this,_0x4acb98(0x337),new _0x2dc849()),D(this,'change$',this['_change$']),D(this,_0x4acb98(0x164),new Map()),(this[_0x4acb98(0x397)]=_0x5d1dd0,this[_0x4acb98(0x281)]=_0x571ddc,this[_0x4acb98(0x373)]=_0x444454);}[_0x3f3e43(0x1cd)](_0xce93c5){var _0x58625f=_0x3f3e43;this[_0x58625f(0x37d)]=_0xce93c5,this['_change$']['next'](_0xce93c5);}[_0x3f3e43(0x398)](_0x490a37,_0x31e9c8){var _0x52eeda=_0x3f3e43;if(_0x31e9c8===_0x21689b['BASE64']){const _0x3a6ad7=new Image();return _0x3a6ad7[_0x52eeda(0x29b)]=_0x490a37,_0x3a6ad7;}return this['_imageSourceCache'][_0x52eeda(0x13f)](_0x490a37);}['addImageSourceCache'](_0x358a7c,_0x2d022d,_0x103292){var _0x24fa4b=_0x3f3e43;_0x2d022d===_0x21689b[_0x24fa4b(0x1f8)]||_0x103292==null||this[_0x24fa4b(0x164)][_0x24fa4b(0x111)](_0x358a7c,_0x103292);}async['getImage'](_0x2d130a){var _0x3002fc=_0x3f3e43;try{const _0x27a5bb=this[_0x3002fc(0x374)](this[_0x3002fc(0x1c7)](),''+_0x2d130a),_0x3580bf=(await this[_0x3002fc(0x397)]['get'](_0x27a5bb))['body'];if(_0x3580bf['error']&&_0x3580bf[_0x3002fc(0x28d)]['code']===vi['OK']){const _0x3d7f49=new URL(_0x3580bf[_0x3002fc(0x297)],this['_getDownloadEndpointURL']())[_0x3002fc(0xbe)]();return Promise[_0x3002fc(0x138)](_0x3d7f49);}return Promise[_0x3002fc(0x1ab)](_0x3580bf[_0x3002fc(0x28d)]);}catch(_0x1dfaf3){return Promise[_0x3002fc(0x1ab)](_0x1dfaf3);}}async[_0x3f3e43(0x135)](_0x169370){var _0x3f5d8d=_0x3f3e43;let _0x26ae4b='';if(!Wn['includes'](_0x169370[_0x3f5d8d(0x317)]))return this[_0x3f5d8d(0xab)](),Promise[_0x3f5d8d(0x1ab)](new Error(_0x374586[_0x3f5d8d(0x165)]));if(_0x169370[_0x3f5d8d(0x1b1)]>Yn)return this[_0x3f5d8d(0xab)](),Promise['reject'](new Error(_0x374586['ERROR_EXCEED_SIZE']));try{const _0x1a8f87=new FormData();_0x1a8f87[_0x3f5d8d(0x2a5)](_0x3f5d8d(0x3a0),_0x169370);const _0xbe69cd=this[_0x3f5d8d(0x373)][_0x3f5d8d(0x109)](),_0x51b354=_0xbe69cd==null?void 0x0:_0xbe69cd['getUnitId']();if(!_0x51b354)throw new Error(_0x3f5d8d(0x16e));const _0x2ae9be=this[_0x3f5d8d(0x2a4)]()+'?size='+_0x169370[_0x3f5d8d(0x1b1)][_0x3f5d8d(0xbe)]()+_0x3f5d8d(0x332)+pi['UnitEmbedded']+_0x3f5d8d(0x33a)+encodeURIComponent(_0x51b354),_0x4d1fa8={'body':_0x1a8f87},_0xa2855a=(await this[_0x3f5d8d(0x397)]['post'](_0x2ae9be,_0x4d1fa8))[_0x3f5d8d(0x127)];if(typeof _0xa2855a[_0x3f5d8d(0x271)]!=_0x3f5d8d(0x273))return this[_0x3f5d8d(0xab)](),Promise['reject'](new Error(_0x374586[_0x3f5d8d(0x1cc)]));_0x26ae4b=_0xa2855a[_0x3f5d8d(0x271)];}catch{return this[_0x3f5d8d(0xab)](),Promise[_0x3f5d8d(0x1ab)](new Error(_0x374586[_0x3f5d8d(0x1cc)]));}return new Promise((_0x7ed88e,_0x2a73c7)=>{var _0x4b6fde=_0x3f5d8d;const _0x213182=new FileReader();_0x213182['readAsDataURL'](_0x169370),_0x213182[_0x4b6fde(0x304)]=_0x58c117=>{var _0x123d7e=_0x4b6fde,_0x15ae3a;const _0xec95d4=(_0x15ae3a=_0x58c117[_0x123d7e(0xf2)])==null?void 0x0:_0x15ae3a['result'];if(_0xec95d4==null){this[_0x123d7e(0xab)](),_0x2a73c7(new Error(_0x374586[_0x123d7e(0x1cc)]));return;}const _0x2d2fd4=_0x15f135(0x6);_0x7ed88e({'imageId':_0x2d2fd4,'imageSourceType':_0x21689b[_0x123d7e(0x140)],'source':_0x26ae4b,'base64Cache':_0xec95d4,'status':_0x374586['SUCCUSS']}),this[_0x123d7e(0xab)]();};});}[_0x3f3e43(0x2a4)](){var _0x233fe7=_0x3f3e43,_0x27b46b;const _0x187310=this[_0x233fe7(0x281)]['getConfig'](K);return(_0x27b46b=_0x187310==null?void 0x0:_0x187310['uploadFileServerUrl'])!=null?_0x27b46b:Kn;}[_0x3f3e43(0x1c7)](){var _0x19756c=_0x3f3e43,_0x36f9d7;const _0x102971=this[_0x19756c(0x281)][_0x19756c(0x2ec)](K);return(_0x36f9d7=_0x102971==null?void 0x0:_0x102971[_0x19756c(0x36f)])!=null?_0x36f9d7:qn;}[_0x3f3e43(0x385)](){var _0x18165e=_0x3f3e43,_0x1345ef;const _0x2cdde7=this[_0x18165e(0x281)][_0x18165e(0x2ec)](K);return(_0x1345ef=_0x2cdde7==null?void 0x0:_0x2cdde7[_0x18165e(0x30e)])!=null?_0x1345ef:location[_0x18165e(0x386)];}[_0x3f3e43(0x374)](_0x45fd99,_0x436af){var _0x47bd09=_0x3f3e43;return _0x45fd99[_0x47bd09(0xcd)](_0x47bd09(0x2ac),_0x436af);}['_decreaseWaiting'](){var _0x1617e5=_0x3f3e43;this[_0x1617e5(0x37d)]-=0x1,this['_change$'][_0x1617e5(0x318)](this['_waitCount']);}};Rt=Gn([pt(0x0,_0x5e33bf(_0xbb2f1c)),pt(0x1,_0x31c610),pt(0x2,_0x5e33bf(_0x321c7f))],Rt);var zn=Object[_0x3f3e43(0x16a)],Jn=(_0x3a582d,_0x17027d,_0x212e91,_0x3bb2d9)=>{var _0x4d0e5e=_0x3f3e43;for(var _0x4e4fe8=_0x3bb2d9>0x1?void 0x0:_0x3bb2d9?zn(_0x17027d,_0x212e91):_0x17027d,_0x59dc68=_0x3a582d[_0x4d0e5e(0x371)]-0x1,_0x9d8fb9;_0x59dc68>=0x0;_0x59dc68--)(_0x9d8fb9=_0x3a582d[_0x59dc68])&&(_0x4e4fe8=_0x9d8fb9(_0x4e4fe8)||_0x4e4fe8);return _0x4e4fe8;},ai=(_0x27a176,_0x4e47df)=>(_0x196d50,_0x2babed)=>_0x4e47df(_0x196d50,_0x2babed,_0x27a176);const Xn=_0x3f3e43(0x1fe);let Ct=class{constructor(_0x361e59,_0x27d61e){var _0x4f9994=_0x3f3e43;this['_configService']=_0x361e59,this[_0x4f9994(0x30d)]=_0x27d61e;}[_0x3f3e43(0x2a3)](){var _0x2d1221=_0x3f3e43,_0x3af448;const _0x498ae9=this['_configService'][_0x2d1221(0x2ec)](K);return(_0x3af448=_0x498ae9==null?void 0x0:_0x498ae9[_0x2d1221(0x292)])!=null?_0x3af448:Xn;}async['list'](_0x5d7676){var _0x4238eb=_0x3f3e43;const _0x2dcce4=this[_0x4238eb(0x2a3)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x4238eb(0x30d)]['get'](_0x2dcce4,{'params':{'objectID':_0x5d7676[_0x4238eb(0x18d)],'unitID':_0x5d7676['unitId']}}))['body'][_0x4238eb(0x1de)]['map'](_0x31fb74=>({'objectId':_0x31fb74['id'],'name':_0x31fb74[_0x4238eb(0x29a)][_0x4238eb(0x1ba)],'metadata':{'icon':_0x31fb74[_0x4238eb(0x29a)][_0x4238eb(0x316)]},'label':_0x31fb74[_0x4238eb(0x29a)][_0x4238eb(0x1ba)],'objectType':_0x5e9fc6[_0x4238eb(0xec)]})),'metadata':{},'type':_0x5e9fc6[_0x4238eb(0xec)]}]};}};Ct=Jn([ai(0x0,_0x5e33bf(_0x31c610)),ai(0x1,_0x5e33bf(_0xbb2f1c))],Ct);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0xec5656,_0x58bbc7,_0x367b1c,_0x38f49b)=>{var _0xa65496=_0x3f3e43;for(var _0x3c5177=_0x38f49b>0x1?void 0x0:_0x38f49b?Zn(_0x58bbc7,_0x367b1c):_0x58bbc7,_0x27fcb5=_0xec5656[_0xa65496(0x371)]-0x1,_0x3ce1cd;_0x27fcb5>=0x0;_0x27fcb5--)(_0x3ce1cd=_0xec5656[_0x27fcb5])&&(_0x3c5177=_0x3ce1cd(_0x3c5177)||_0x3c5177);return _0x3c5177;},Ue=(_0xc8bd0a,_0x4d1eca)=>(_0xde2d84,_0x84d18b)=>_0x4d1eca(_0xde2d84,_0x84d18b,_0xc8bd0a);let ot=class extends _0x3f64e4{constructor(_0x3d6649,_0x15d74f,_0x222e09,_0x393c5d,_0x3586af){var _0x3b988f=_0x3f3e43;super(),this[_0x3b988f(0x277)]=_0x3d6649,this[_0x3b988f(0x373)]=_0x15d74f,this[_0x3b988f(0x1a0)]=_0x222e09,this['_collaborationSessionService']=_0x393c5d,this[_0x3b988f(0x184)]=_0x3586af,this[_0x3b988f(0xaf)](),this[_0x3b988f(0x214)]();}['_initCloseConn'](){var _0x74eb83=_0x3f3e43;const _0x347645=async _0x2ce4b6=>{var _0x110776=_0x29f2;(await this[_0x110776(0x208)][_0x110776(0x32a)](_0x2ce4b6))['event$'][_0x110776(0x107)](_0x25ba60(_0x4fa9b4=>_0x4fa9b4[_0x110776(0x27d)]===_0x587846['SHOULD_CLOSE_CONN']),_0x5f3a68(this[_0x110776(0x14e)]))[_0x110776(0x185)](_0x26ef86=>{var _0x1fb514=_0x110776;const _0xce3355=_0x26ef86,{reason:_0x5d57bc}=_0xce3355[_0x1fb514(0x137)];this[_0x1fb514(0x184)]['emitEvent']({'id':re[_0x1fb514(0x305)],'data':_0x5d57bc}),this[_0x1fb514(0x1a0)][_0x1fb514(0x30b)](new _0x5b362d(_0x2ce4b6)['id'],!0x1),this[_0x1fb514(0x208)][_0x1fb514(0x1a1)](_0x2ce4b6);});};_0x15efc9(this[_0x74eb83(0x373)][_0x74eb83(0x2b4)](_0x1b2ec3[_0x74eb83(0x207)]),this[_0x74eb83(0x373)][_0x74eb83(0x2b4)](_0x1b2ec3[_0x74eb83(0x26a)]))[_0x74eb83(0x107)](_0x29b4d5(_0x29533c=>_0x29533c['getUnitId']()),_0x25ba60(_0x4bbe01=>!_0x501c35(_0x4bbe01)),_0x5f3a68(this['dispose$']))[_0x74eb83(0x185)](_0x727807=>{_0x347645(_0x727807);});}[_0x3f3e43(0xaf)](){var _0x4ce2a4=_0x3f3e43;const _0x261dce=async _0x2031cb=>{var _0x207ef3=_0x29f2;const _0x3727d4=await this['_collaborationSessionService'][_0x207ef3(0x32a)](_0x2031cb),_0x5a5f44=this[_0x207ef3(0x277)]['get'](_0x26fd52);_0x3727d4[_0x207ef3(0x15b)][_0x207ef3(0x107)](_0x25ba60(_0x38157c=>_0x38157c['eventID']===_0x587846['UPDATE_PERMISSION_OBJ']),_0x5f3a68(this[_0x207ef3(0x14e)]))[_0x207ef3(0x185)](_0xc59267=>{var _0x5ed0c8=_0x207ef3;const _0x24b879=_0xc59267,{objectId:_0x4077d8}=_0x24b879[_0x5ed0c8(0x137)];_0x4077d8===_0x2031cb?_0x5a5f44[_0x5ed0c8(0x31a)](_0x2031cb):_0x5a5f44[_0x5ed0c8(0x1bb)](_0x2031cb,_0x4077d8);});};_0x15efc9(this[_0x4ce2a4(0x373)][_0x4ce2a4(0x2b4)](_0x1b2ec3[_0x4ce2a4(0x207)]))[_0x4ce2a4(0x107)](_0x29b4d5(_0x19f20a=>_0x19f20a['getUnitId']()),_0x25ba60(_0x5e3dbb=>!_0x501c35(_0x5e3dbb)),_0x5f3a68(this['dispose$']))[_0x4ce2a4(0x185)](_0x1a1b4d=>{_0x261dce(_0x1a1b4d);});}};ot=Qn([Ue(0x0,_0x5e33bf(_0x951761)),Ue(0x1,_0x321c7f),Ue(0x2,_0x38e5a9),Ue(0x3,_0x5e33bf(we)),Ue(0x4,_0x5e33bf(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x59ee9e,_0x2e2a54,_0x108096,_0x1fc3f7)=>{for(var _0x28fd21=_0x1fc3f7>0x1?void 0x0:_0x1fc3f7?er(_0x2e2a54,_0x108096):_0x2e2a54,_0x33d232=_0x59ee9e['length']-0x1,_0x387610;_0x33d232>=0x0;_0x33d232--)(_0x387610=_0x59ee9e[_0x33d232])&&(_0x28fd21=_0x387610(_0x28fd21)||_0x28fd21);return _0x28fd21;},oi=(_0x563f63,_0x2d6a95)=>(_0x246d58,_0x4db5f5)=>_0x2d6a95(_0x246d58,_0x4db5f5,_0x563f63);let Nt=class{constructor(_0x121d6c,_0x33c03a){var _0xbe7545=_0x3f3e43;this[_0xbe7545(0x281)]=_0x121d6c,this[_0xbe7545(0x397)]=_0x33c03a;}async[_0x3f3e43(0x129)](_0x255d45,_0x2c460b){var _0x47216e=_0x3f3e43,_0x6ca182;const {unitID:_0x1676ac,type:_0x13e1d1,revision:_0x1839d2=0x0}=_0x2c460b,_0xe86851=this['getSnapshotAPIPath']()+'/'+_0x13e1d1+_0x47216e(0x148)+_0x1676ac+_0x47216e(0x92)+_0x1839d2,_0x20edaa=(await this[_0x47216e(0x397)][_0x47216e(0x13f)](_0xe86851))[_0x47216e(0x127)],_0x2e5103=(_0x6ca182=_0x20edaa[_0x47216e(0x1f4)])==null?void 0x0:_0x6ca182[_0x47216e(0xe4)];if(_0x2e5103){const _0x2f8119=_0x2e5103==null?void 0x0:_0x2e5103[_0x47216e(0x364)],_0x243695=_0x1aeb51[_0x47216e(0xa9)](_0x358314(_0x2f8119));_0x2e5103[_0x47216e(0x364)]=_0x243695,Object[_0x47216e(0x1d6)](_0x2e5103[_0x47216e(0x1e0)])[_0x47216e(0x93)](([,_0x332bd6])=>{var _0x59a932=_0x47216e;const _0x244ba7=_0x332bd6[_0x59a932(0x364)],_0x58c6a9=_0x1aeb51[_0x59a932(0xa9)](_0x358314(_0x244ba7));_0x332bd6[_0x59a932(0x364)]=_0x58c6a9;});}return _0x20edaa;}async[_0x3f3e43(0x250)](_0x349a75,_0x42875c){var _0x608c15=_0x3f3e43;const {unitID:_0x66f8a0,type:_0x354256,blockID:_0x1410e3}=_0x42875c,_0x5c5a7b=this[_0x608c15(0x2fc)]()+'/'+_0x354256+_0x608c15(0x148)+_0x66f8a0+_0x608c15(0x223)+_0x1410e3;return(await this[_0x608c15(0x397)][_0x608c15(0x13f)](_0x5c5a7b))['body'];}async[_0x3f3e43(0x23b)](_0x40f8c9,_0x4ec68a){var _0x433342=_0x3f3e43;const {unitID:_0x5d97c8,type:_0x1822cc,blockID:_0x591a07}=_0x4ec68a,_0x7eec14=this['_getAPIPrefix']()+_0x433342(0x223)+_0x1822cc+_0x433342(0x148)+_0x5d97c8+_0x433342(0x223)+_0x591a07;return(await this[_0x433342(0x397)][_0x433342(0x13f)](_0x7eec14))[_0x433342(0x127)];}async['fetchMissingChangesets'](_0x5de504,_0x43d7a0){var _0x47e8e2=_0x3f3e43;const {unitID:_0x4b3aea,type:_0x51e1ba,from:_0x3741c3,to:_0x375c58}=_0x43d7a0,_0x169588=this[_0x47e8e2(0x2fc)]()+'/'+_0x51e1ba+_0x47e8e2(0x148)+_0x4b3aea+_0x47e8e2(0xff)+_0x3741c3+_0x47e8e2(0x344)+_0x375c58;return(await this[_0x47e8e2(0x397)][_0x47e8e2(0x13f)](_0x169588))[_0x47e8e2(0x127)];}[_0x3f3e43(0x20e)](){var _0x27e668=_0x3f3e43,_0x38a6f7;return(_0x38a6f7=this[_0x27e668(0x281)][_0x27e668(0x2ec)](vs))!=null?_0x38a6f7:this[_0x27e668(0x2fc)]();}[_0x3f3e43(0x2fc)](){var _0x5f5c3f=_0x3f3e43,_0xa7f6de;const _0x152a6f=this[_0x5f5c3f(0x281)][_0x5f5c3f(0x2ec)](K);return(_0xa7f6de=_0x152a6f==null?void 0x0:_0x152a6f[_0x5f5c3f(0x14a)])!=null?_0xa7f6de:fs;}async['getResourcesRequest'](_0x10844c,_0x4711ac){var _0xb5a378=_0x3f3e43;const _0x8ac709=_0xb5a378(0xfc)+_0x4711ac['type']+_0xb5a378(0x148)+_0x4711ac['unitID']+_0xb5a378(0x16d);return(await this['_httpService']['get'](_0x8ac709,{'params':{'resourceId':JSON['stringify'](_0x4711ac['resourceIDs'])}}))[_0xb5a378(0x127)];}[_0x3f3e43(0x22b)](){var _0xd312d3=_0x3f3e43;throw new Error(_0xd312d3(0x36c));}[_0x3f3e43(0x144)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3f3e43(0xd4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3f3e43(0x166)](){var _0x41925e=_0x3f3e43;throw new Error(_0x41925e(0x36c));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3f3e43(0x1d5)](){var _0x3e09eb=_0x3f3e43;throw new Error(_0x3e09eb(0x36c));}};Nt=tr([oi(0x0,_0x31c610),oi(0x1,_0x5e33bf(_0xbb2f1c))],Nt);var ir=Object[_0x3f3e43(0x16a)],sr=(_0x321895,_0xc9e7fe,_0x4f9b48,_0x4b719f)=>{var _0x45d543=_0x3f3e43;for(var _0x516b3f=_0x4b719f>0x1?void 0x0:_0x4b719f?ir(_0xc9e7fe,_0x4f9b48):_0xc9e7fe,_0x7d5041=_0x321895[_0x45d543(0x371)]-0x1,_0x478d16;_0x7d5041>=0x0;_0x7d5041--)(_0x478d16=_0x321895[_0x7d5041])&&(_0x516b3f=_0x478d16(_0x516b3f)||_0x516b3f);return _0x516b3f;},Ae=(_0x49a4fb,_0xf73ce3)=>(_0x3991d1,_0x1d50e8)=>_0xf73ce3(_0x3991d1,_0x1d50e8,_0x49a4fb);let bt=class extends _0x524d13{constructor(_0x383574,_0x17cbee,_0x1dfc8c,_0x45c214,_0x44dfa7){super(_0x383574,_0x17cbee,_0x1dfc8c),this['_transformService']=_0x45c214,this['_logService']=_0x44dfa7;}[_0x3f3e43(0xc8)](_0x1622f7,_0x2e3352){var _0x292805=_0x3f3e43;const _0x226117=this[_0x292805(0x27e)](_0x1622f7);if(_0x226117)try{const _0x40f36b=this[_0x292805(0x240)](_0x226117,_0x2e3352);this[_0x292805(0xee)](_0x1622f7,_0x40f36b);}catch(_0x1aead6){this[_0x292805(0x274)][_0x292805(0x28d)](_0x292805(0x90),_0x1aead6),this[_0x292805(0xc4)](_0x1622f7);}const _0x525b50=this[_0x292805(0x298)](_0x1622f7);if(_0x525b50)try{const _0x2a047d=this[_0x292805(0x240)](_0x525b50,_0x2e3352);this[_0x292805(0x239)](_0x1622f7,_0x2a047d);}catch(_0x2f5c86){this[_0x292805(0x274)][_0x292805(0x28d)](_0x2f5c86),this['_clearRedo'](_0x1622f7);}}[_0x3f3e43(0xc4)](_0x5ae0d7){var _0x71587e=_0x3f3e43;const _0x3c82bd=this[_0x71587e(0x27e)](_0x5ae0d7);_0x3c82bd&&(_0x3c82bd['length']=0x0,this[_0x71587e(0x31f)]());}['_clearRedo'](_0x4eadcf){var _0x391ce7=_0x3f3e43;const _0x15d99d=this[_0x391ce7(0x298)](_0x4eadcf);_0x15d99d&&(_0x15d99d[_0x391ce7(0x371)]=0x0,this[_0x391ce7(0x31f)]());}[_0x3f3e43(0xee)](_0x42756c,_0x13f30c){var _0x245369=_0x3f3e43;this[_0x245369(0x33d)][_0x245369(0x111)](_0x42756c,_0x13f30c),this[_0x245369(0x31f)]();}[_0x3f3e43(0x239)](_0x59ccf5,_0xf5eb6b){var _0x4f5f79=_0x3f3e43;this[_0x4f5f79(0x24f)][_0x4f5f79(0x111)](_0x59ccf5,_0xf5eb6b),this[_0x4f5f79(0x31f)]();}['_transformStack'](_0x30d7cd,_0x41d59c){var _0x3b6176=_0x3f3e43;const _0x17d91f=[];let _0x55fe11=_0x41d59c,_0x4d6c57=_0x41d59c;for(let _0x1664b6=_0x30d7cd['length']-0x1;_0x1664b6>=0x0;_0x1664b6--){const {unitID:_0x1e15f5,undoMutations:_0x3553ab,redoMutations:_0x534079}=_0x30d7cd[_0x1664b6],_0x1b0038=this[_0x3b6176(0x131)][_0x3b6176(0x182)](_0x55fe11,_0x3553ab),_0x43c187=this['_transformService'][_0x3b6176(0x182)](_0x4d6c57,_0x534079);if(_0x4b5ec2(_0x1b0038)||_0x4b5ec2(_0x43c187)){this[_0x3b6176(0x274)]['error'](_0x3b6176(0x90),_0x3b6176(0x210),_0x1b0038,_0x43c187);break;}_0x55fe11=_0x1b0038['c1Prime'],_0x4d6c57=_0x43c187[_0x3b6176(0x200)],_0x17d91f[_0x3b6176(0x1bc)]({'unitID':_0x1e15f5,'undoMutations':_0x1b0038[_0x3b6176(0x213)],'redoMutations':_0x43c187['m2Prime']});}return _0x17d91f['reverse']();}};bt=sr([Ae(0x0,_0x321c7f),Ae(0x1,_0x31319f),Ae(0x2,_0x3cdc31),Ae(0x3,_0x42c915),Ae(0x4,_0x3f8704)],bt);var nr=Object['defineProperty'],rr=Object['getOwnPropertyDescriptor'],ar=(_0x1449e7,_0x4d000a,_0x5bd4dc)=>_0x4d000a in _0x1449e7?nr(_0x1449e7,_0x4d000a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bd4dc}):_0x1449e7[_0x4d000a]=_0x5bd4dc,or=(_0x56f25f,_0xfc492e,_0x410380,_0x4c7411)=>{var _0x2a8f5e=_0x3f3e43;for(var _0xbb65b8=_0x4c7411>0x1?void 0x0:_0x4c7411?rr(_0xfc492e,_0x410380):_0xfc492e,_0x442fcd=_0x56f25f[_0x2a8f5e(0x371)]-0x1,_0x39e954;_0x442fcd>=0x0;_0x442fcd--)(_0x39e954=_0x56f25f[_0x442fcd])&&(_0xbb65b8=_0x39e954(_0xbb65b8)||_0xbb65b8);return _0xbb65b8;},Et=(_0x15959b,_0x595adc)=>(_0x2c038e,_0x57d5ec)=>_0x595adc(_0x2c038e,_0x57d5ec,_0x15959b),cr=(_0x2e1b91,_0x2cb817,_0x54ee32)=>ar(_0x2e1b91,_0x2cb817+'',_0x54ee32);const _r=_0x3f3e43(0x33f);let Dt=class extends _0x4d63f8{constructor(_0x2eb46d,_0x43ad47,_0x39fac1,_0x535ec1){var _0x3a48ea=_0x3f3e43;super(),D(this,_0x3a48ea(0x3a4)),(this[_0x3a48ea(0x274)]=_0x43ad47,this['_injector']=_0x39fac1,this[_0x3a48ea(0x281)]=_0x535ec1);const {..._0x3a7f71}=_0x1e8a7d({},Ls,_0x2eb46d);if(!_0x3a7f71[_0x3a48ea(0x1e5)])throw new Error(_0x3a48ea(0x13a));this['_config']=_0x3a7f71,this[_0x3a48ea(0x281)][_0x3a48ea(0x30f)](K,_0x3a7f71);}[_0x3f3e43(0x2e6)](){var _0x3ed38f=_0x3f3e43;this[_0x3ed38f(0xc2)](),this['_initDependencies']();}[_0x3f3e43(0xc2)](){var _0x1d5428=_0x3f3e43,_0x22af76,_0x579df1;this['_injector'][_0x1d5428(0x32c)](_0x227e9e)&&this[_0x1d5428(0x274)][_0x1d5428(0x28d)](_0x1d5428(0x161),_0x1d5428(0x199));const _0x30194b=_0x4ceeec([[_0x227e9e,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x1d5428(0x3a4)][_0x1d5428(0x1e5)]}],[_0x3cb6cf,{'useClass':Nt}],[_0x5c60ef,{'useClass':Tt}],[_0x4ee5d7,{'useClass':Rt}],[_0x2029a6,{'useClass':Ct}],[nt],[gt]],(_0x22af76=this[_0x1d5428(0x3a4)])==null?void 0x0:_0x22af76['override']);if(!((_0x579df1=this['_config'])!=null&&_0x579df1[_0x1d5428(0x365)])){const _0x291cd8=_0x30194b[_0x1d5428(0x173)](([_0x27301a])=>_0x27301a===_t);_0x291cd8!==-0x1&&_0x30194b[_0x1d5428(0xe8)](_0x291cd8,0x1);}_0x5dff7e(this[_0x1d5428(0x277)],_0x30194b);}[_0x3f3e43(0x3ad)](){var _0x1b4510=_0x3f3e43,_0x5b45e1,_0x29653b,_0x239da8;this[_0x1b4510(0x277)][_0x1b4510(0x13f)](_0xbb2f1c)[_0x1b4510(0x18f)]({'priority':0x14,'interceptor':_0x3d93ee({'maxParallel':0x6})}),(_0x5b45e1=this[_0x1b4510(0x3a4)])!=null&&_0x5b45e1[_0x1b4510(0x39c)]||(_0x29653b=this[_0x1b4510(0x277)][_0x1b4510(0x13f)](J,_0x3694f6['OPTIONAL']))==null||_0x29653b[_0x1b4510(0x336)](),(_0x239da8=this[_0x1b4510(0x3a4)])!=null&&_0x239da8[_0x1b4510(0x9a)]&&_0x355a43(this['_injector'],[[rt]]),_0x355a43(this[_0x1b4510(0x277)],[[at],[nt],[ot]]);}};cr(Dt,_0x3f3e43(0x1aa),_r),Dt=or([_0xc33d01(_0x38f142,_0x206dda),Et(0x1,_0x3f8704),Et(0x2,_0x5e33bf(_0x951761)),Et(0x3,_0x31c610)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Wt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Fs as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,js as deserializeToCombResponse,Nr as getLocalCacheKey,Vs as serializeCombRequest};
|
|
1
|
+
var _0x485e82=_0x34dc;(function(_0x54dc36,_0x19971d){var _0x433d1f=_0x34dc,_0xd0cf00=_0x54dc36();while(!![]){try{var _0x4f4d6a=-parseInt(_0x433d1f(0x215))/0x1*(-parseInt(_0x433d1f(0x109))/0x2)+-parseInt(_0x433d1f(0x179))/0x3+parseInt(_0x433d1f(0x327))/0x4+-parseInt(_0x433d1f(0x132))/0x5*(parseInt(_0x433d1f(0x14a))/0x6)+parseInt(_0x433d1f(0x13e))/0x7+parseInt(_0x433d1f(0x294))/0x8*(parseInt(_0x433d1f(0x1eb))/0x9)+-parseInt(_0x433d1f(0x32b))/0xa*(parseInt(_0x433d1f(0x2ae))/0xb);if(_0x4f4d6a===_0x19971d)break;else _0xd0cf00['push'](_0xd0cf00['shift']());}catch(_0x4be042){_0xd0cf00['push'](_0xd0cf00['shift']());}}}(_0x3896,0xde778));var bi=Object[_0x485e82(0x301)],Di=(_0x26a2dc,_0x54f1ba,_0x9da410)=>_0x54f1ba in _0x26a2dc?bi(_0x26a2dc,_0x54f1ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9da410}):_0x26a2dc[_0x54f1ba]=_0x9da410,D=(_0x471b94,_0x3af579,_0x3843b5)=>Di(_0x471b94,typeof _0x3af579!=_0x485e82(0x3a7)?_0x3af579+'':_0x3af579,_0x3843b5);import{CollaborationEvent as _0x37ce0d,ITransformService as _0x53969a,isTransformMutationsWithChangesetSuccess as _0x4466da,mapDocumentTypeToUniverType as _0x530938,RevisionService as _0x137391,isTransformChangesetsSuccess as _0x48e9e1,CompressMutationService as _0x1b4acc,parseProtocolChangeset as _0x55afac,uuidv4 as _0x311320,ISnapshotServerService as _0x57fc0f,parseChangesetToProtocol as _0x4ed75f,SnapshotService as _0x556880,textEncoder as _0x5419dc,b64DecodeUnicode as _0x329d11,isTransformMutationsWithChangesetFailure as _0x514b84,UniverCollaborationPlugin as _0x1112e6}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x10b82e,Inject as _0x16f7e6,UserManagerService as _0x261800,Disposable as _0x327acd,UniverInstanceType as _0x4c9030,ILogService as _0x42253d,IConfigService as _0x4ba4ee,Optional as _0x2d2a8a,RxDisposable as _0x5c9f6a,createIdentifier as _0x31feb8,Injector as _0x505898,Tools as _0x244665,Rectangle as _0x58249d,ICommandService as _0x36e989,JSONX as _0x5b0d19,CommandType as _0x1b1bf3,IUndoRedoService as _0x158562,IPermissionService as _0x569f27,LocaleService as _0x1f34f9,sequenceExecute as _0x2fc42f,toDisposable as _0x3b0588,DisposableCollection as _0x5f5f1a,Workbook as _0x1cd267,generateRandomId as _0x158e75,MentionType as _0x1ac431,isInternalEditorID as _0x1a5597,LocalUndoRedoService as _0x5d2bb1,IContextService as _0x498db4,DependentOn as _0x5eb277,Plugin as _0x471ea9,merge as _0x45d74d,mergeOverrideWithDependencies as _0x335ed4,IAuthzIoService as _0x4b3bd6,IMentionIOService as _0x5d4257,registerDependencies as _0x3e9c8c,Quantity as _0x5490b8,touchDependencies as _0x99d822}from'@univerjs/core';import{RichTextEditingMutation as _0x5e9bfa}from'@univerjs/docs';import{SheetsSelectionsService as _0x28a2d1,SetSelectionsOperation as _0x2e1cb0,InsertSheetMutation as _0x304e5c,EmptyMutation as _0x1f28cf,WorkbookEditablePermission as _0xf84fa3,SheetPermissionInitController as _0xc33690}from'@univerjs/sheets';import{Subject as _0x55f9ec,merge as _0x5155cd,of as _0x2f57ee,BehaviorSubject as _0x44eac9,takeUntil as _0x4e0c29,ReplaySubject as _0x5f1991,take as _0x5c2988,map as _0x3fc4c3,shareReplay as _0x390a4b,firstValueFrom as _0x2a36ca,concatMap as _0x11e4ec}from'rxjs';import{ITelemetryService as _0x490198}from'@univerjs/telemetry';import{map as _0x48879e,take as _0x2ed5fb,filter as _0x47b11f,delay as _0x3b9b28,takeUntil as _0x596d72}from'rxjs/operators';import{HTTPService as _0x53558e,ISocketService as _0x60d2d2,MergeInterceptorFactory as _0x1ff0c5,HTTPRequest as _0x14aa09,UniverNetworkPlugin as _0x1010e5,ThresholdInterceptorFactory as _0x277a9f}from'@univerjs/network';import{ImageSourceType as _0x240103,ImageUploadStatusType as _0x4c6f67,IImageIoService as _0x3adc5f}from'@univerjs/drawing';import{getGlobalObject as _0x339083}from'@univerjs-pro/license';const fs=_0x485e82(0xd6),vs='SNAPSHOT_URL_KEY',ps=0x7d0,Es=_0x485e82(0xd9),gr=_0x485e82(0x186),ms=_0x485e82(0x1d5),Is=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Ss=0x4e20,gs=_0x485e82(0x1fa),Ts=0x3,Tr=_0x485e82(0x32d),Or=0x3e8,Os='/universer-api/comb',Rs=_0x485e82(0x162),Rr=_0x485e82(0x311),Cr=_0x485e82(0x2bb);var vi=(_0x1566c2=>(_0x1566c2[_0x1566c2['UNDEFINED']=0x0]=_0x485e82(0x3a3),_0x1566c2[_0x1566c2['OK']=0x1]='OK',_0x1566c2[_0x1566c2[_0x485e82(0x2d5)]=0x2]=_0x485e82(0x2d5),_0x1566c2[_0x1566c2[_0x485e82(0xe5)]=0x3]='PERMISSION_DENIED',_0x1566c2[_0x1566c2[_0x485e82(0x21e)]=0x4]='NOT_FOUND',_0x1566c2[_0x1566c2[_0x485e82(0x153)]=0x5]=_0x485e82(0x153),_0x1566c2[_0x1566c2[_0x485e82(0x216)]=0x6]=_0x485e82(0x216),_0x1566c2[_0x1566c2['INVALID_ARGUMENT']=0x7]=_0x485e82(0xec),_0x1566c2[_0x1566c2[_0x485e82(0x293)]=0x8]='TOO_MANY_REQUESTS',_0x1566c2[_0x1566c2['COMPLETION_FINISHED']=0x9]=_0x485e82(0x2c6),_0x1566c2[_0x1566c2[_0x485e82(0x168)]=0xa]=_0x485e82(0x168),_0x1566c2[_0x1566c2[_0x485e82(0x23a)]=0xb]=_0x485e82(0x23a),_0x1566c2[_0x1566c2[_0x485e82(0x198)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1566c2[_0x1566c2['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1566c2[_0x1566c2[_0x485e82(0x2ba)]=0xe]=_0x485e82(0x2ba),_0x1566c2[_0x1566c2[_0x485e82(0x2a4)]=0xf]=_0x485e82(0x2a4),_0x1566c2[_0x1566c2['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x485e82(0x2ca),_0x1566c2[_0x1566c2[_0x485e82(0x360)]=0x64]=_0x485e82(0x360),_0x1566c2[_0x1566c2[_0x485e82(0x378)]=0x65]=_0x485e82(0x378),_0x1566c2[_0x1566c2[_0x485e82(0x26e)]=0xc9]=_0x485e82(0x26e),_0x1566c2[_0x1566c2[_0x485e82(0x31d)]=0xca]=_0x485e82(0x31d),_0x1566c2[_0x1566c2[_0x485e82(0x185)]=0x1389]=_0x485e82(0x185),_0x1566c2[_0x1566c2[_0x485e82(0x358)]=0x1771]=_0x485e82(0x358),_0x1566c2[_0x1566c2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x485e82(0x3ce),_0x1566c2[_0x1566c2['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x485e82(0x212),_0x1566c2[_0x1566c2[_0x485e82(0x2fd)]=0x1b59]=_0x485e82(0x2fd),_0x1566c2[_0x1566c2[_0x485e82(0x2c4)]=0x1b5a]=_0x485e82(0x2c4),_0x1566c2[_0x1566c2[_0x485e82(0x122)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1566c2[_0x1566c2[_0x485e82(0x321)]=0x1b5c]=_0x485e82(0x321),_0x1566c2[_0x1566c2[_0x485e82(0x12c)]=0x1b5d]='APPLY_DUPLICATED',_0x1566c2[_0x1566c2[_0x485e82(0x253)]=0x1f41]=_0x485e82(0x253),_0x1566c2[_0x1566c2[_0x485e82(0x10e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1566c2[_0x1566c2[_0x485e82(0x100)]=0x232a]=_0x485e82(0x100),_0x1566c2[_0x1566c2[_0x485e82(0x329)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1566c2[_0x1566c2['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x485e82(0x357),_0x1566c2[_0x1566c2['LICENSE_DISTRO_REJECTED']=0x232d]=_0x485e82(0x376),_0x1566c2[_0x1566c2['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x485e82(0x1b2),_0x1566c2[_0x1566c2[_0x485e82(0x2c1)]=0x2712]=_0x485e82(0x2c1),_0x1566c2[_0x1566c2[_0x485e82(0x33f)]=0x2713]=_0x485e82(0x33f),_0x1566c2[_0x1566c2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x485e82(0x2b9),_0x1566c2[_0x1566c2[_0x485e82(0x35a)]=0x271a]=_0x485e82(0x35a),_0x1566c2[_0x1566c2[_0x485e82(0x28e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1566c2[_0x1566c2[_0x485e82(0x1ef)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1566c2[_0x1566c2[_0x485e82(0x252)]=0x271d]=_0x485e82(0x252),_0x1566c2[_0x1566c2[_0x485e82(0x2b3)]=0x271e]=_0x485e82(0x2b3),_0x1566c2[_0x1566c2[_0x485e82(0x1b8)]=0x271f]=_0x485e82(0x1b8),_0x1566c2[_0x1566c2['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x485e82(0x32e),_0x1566c2[_0x1566c2[_0x485e82(0x2d4)]=0x2af9]=_0x485e82(0x2d4),_0x1566c2[_0x1566c2[_0x485e82(0x2cf)]=0x2ee1]=_0x485e82(0x2cf),_0x1566c2[_0x1566c2['INVALID_INVITE_CODE']=0x2ee2]=_0x485e82(0x15a),_0x1566c2[_0x1566c2['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x1566c2[_0x1566c2['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1566c2[_0x1566c2[_0x485e82(0x124)]=0x2ee5]=_0x485e82(0x124),_0x1566c2[_0x1566c2[_0x485e82(0x126)]=0x32c9]=_0x485e82(0x126),_0x1566c2[_0x1566c2[_0x485e82(0x25f)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1566c2[_0x1566c2[_0x485e82(0x289)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1566c2[_0x1566c2[_0x485e82(0x144)]=0x36b1]=_0x485e82(0x144),_0x1566c2[_0x1566c2[_0x485e82(0x1c3)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x1566c2[_0x1566c2[_0x485e82(0x38e)]=0x36b3]=_0x485e82(0x38e),_0x1566c2[_0x1566c2[_0x485e82(0x117)]=0x36b4]=_0x485e82(0x117),_0x1566c2[_0x1566c2[_0x485e82(0x356)]=0x3715]=_0x485e82(0x356),_0x1566c2[_0x1566c2[_0x485e82(0x251)]=0x3716]=_0x485e82(0x251),_0x1566c2[_0x1566c2['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x1566c2[_0x1566c2[_0x485e82(0x395)]=0x37dd]=_0x485e82(0x395),_0x1566c2[_0x1566c2[_0x485e82(0x15b)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x1566c2[_0x1566c2[_0x485e82(0xe1)]=0x3a9a]=_0x485e82(0xe1),_0x1566c2[_0x1566c2[_0x485e82(0x34b)]=0x3a9b]=_0x485e82(0x34b),_0x1566c2[_0x1566c2[_0x485e82(0x24e)]=0x3a9c]=_0x485e82(0x24e),_0x1566c2[_0x1566c2[_0x485e82(0x354)]=0x3a9d]=_0x485e82(0x354),_0x1566c2[_0x1566c2[_0x485e82(0x2c5)]=0x3a9e]=_0x485e82(0x2c5),_0x1566c2[_0x1566c2[_0x485e82(0x2f7)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1566c2[_0x1566c2['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x485e82(0x1ad),_0x1566c2[_0x1566c2[_0x485e82(0x3b2)]=-0x1]='UNRECOGNIZED',_0x1566c2))(vi||{}),Q=(_0x350a0e=>(_0x350a0e[_0x350a0e[_0x485e82(0xc1)]=0x0]=_0x485e82(0xc1),_0x350a0e[_0x350a0e[_0x485e82(0x315)]=0x1]=_0x485e82(0x315),_0x350a0e[_0x350a0e['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x350a0e[_0x350a0e['UNIVER_SLIDE']=0x3]=_0x485e82(0x383),_0x350a0e[_0x350a0e[_0x485e82(0x1a8)]=0x4]=_0x485e82(0x1a8),_0x350a0e[_0x350a0e[_0x485e82(0x3b2)]=-0x1]='UNRECOGNIZED',_0x350a0e))(Q||{}),j=(_0x5bd4f9=>(_0x5bd4f9[_0x5bd4f9['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x5bd4f9[_0x5bd4f9[_0x485e82(0x1d6)]=0x1]=_0x485e82(0x1d6),_0x5bd4f9[_0x5bd4f9[_0x485e82(0x3b3)]=0x2]=_0x485e82(0x3b3),_0x5bd4f9[_0x5bd4f9[_0x485e82(0x177)]=0x3]=_0x485e82(0x177),_0x5bd4f9[_0x5bd4f9[_0x485e82(0x10c)]=0x4]=_0x485e82(0x10c),_0x5bd4f9[_0x5bd4f9[_0x485e82(0x2f5)]=0x5]='HEARTBEAT',_0x5bd4f9[_0x5bd4f9['RECV']=0x6]=_0x485e82(0x387),_0x5bd4f9[_0x5bd4f9[_0x485e82(0x3b2)]=-0x1]=_0x485e82(0x3b2),_0x5bd4f9))(j||{}),pe=(_0x493498=>(_0x493498[_0x493498[_0x485e82(0x229)]=0x0]=_0x485e82(0x229),_0x493498[_0x493498['OK']=0x1]='OK',_0x493498[_0x493498[_0x485e82(0xde)]=0x2]='FAIL',_0x493498[_0x493498[_0x485e82(0x2af)]=0x3e9]='JOIN_ROOM_FULL',_0x493498[_0x493498[_0x485e82(0x16e)]=0x3ea]=_0x485e82(0x16e),_0x493498[_0x493498[_0x485e82(0x32a)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x493498[_0x493498[_0x485e82(0x325)]=0x3ec]=_0x485e82(0x325),_0x493498[_0x493498[_0x485e82(0x3b2)]=-0x1]=_0x485e82(0x3b2),_0x493498))(pe||{}),pi=(_0x2077f7=>(_0x2077f7[_0x2077f7['Undefined']=0x0]=_0x485e82(0x344),_0x2077f7[_0x2077f7[_0x485e82(0x10d)]=0x1]=_0x485e82(0x10d),_0x2077f7[_0x2077f7[_0x485e82(0x165)]=0x2]=_0x485e82(0x165),_0x2077f7[_0x2077f7[_0x485e82(0x3cc)]=0x3]=_0x485e82(0x3cc),_0x2077f7[_0x2077f7[_0x485e82(0x19b)]=0x4]=_0x485e82(0x19b),_0x2077f7[_0x2077f7[_0x485e82(0x269)]=0x5]=_0x485e82(0x269),_0x2077f7[_0x2077f7[_0x485e82(0x31e)]=0x6]=_0x485e82(0x31e),_0x2077f7[_0x2077f7[_0x485e82(0x3b2)]=-0x1]=_0x485e82(0x3b2),_0x2077f7))(pi||{});const Cs=_0x485e82(0x35b);function Ns(_0x54f510){var _0x421a26=_0x485e82;return JSON[_0x421a26(0x333)](_0x54f510)[_0x421a26(0x398)];}var re=(_0x368535=>(_0x368535[_0x485e82(0x1bb)]=_0x485e82(0x1bb),_0x368535[_0x485e82(0xe5)]=_0x485e82(0xe5),_0x368535[_0x485e82(0x11a)]=_0x485e82(0x11a),_0x368535['CLOSE_ROOM']=_0x485e82(0x217),_0x368535[_0x485e82(0x10a)]=_0x485e82(0x10a),_0x368535[_0x485e82(0x399)]='SOCKET_FAILED_RETRY',_0x368535[_0x485e82(0x282)]='SOCKET_FAILED',_0x368535['SUBMIT_CHANGESET_TIMEOUT']=_0x485e82(0x2b8),_0x368535))(re||{});class ve{constructor(){var _0x4cb077=_0x485e82;D(this,_0x4cb077(0x1a9),new _0x55f9ec()),D(this,_0x4cb077(0x18a),this[_0x4cb077(0x1a9)][_0x4cb077(0x3a0)]());}[_0x485e82(0x2b7)](_0x36085d){var _0x21deca=_0x485e82;this[_0x21deca(0x1a9)][_0x21deca(0x28f)](_0x36085d);}}function _0x3896(){var _0x2913db=['385hKUmdM','JOIN_ROOM_FULL','call','isPermissionRej','result','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','AWAITING_WITH_PENDING','_keySchedule','\x20to\x20','emitEvent','SUBMIT_CHANGESET_TIMEOUT','YUUMI_SUBSCRIPTION_NOT_FOUND','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/universer-api/uniscript','getCurrentRevOfUnit','m2Prime','COMMENT_UPDATE','_logService','_transitionLocked','YUUMI_URL_COL_OUT_OF_RANGE','action','DEFAULT_FILE_NAME','APPLY_NON_SEQUENTIAL_REVISION','REDEMPTION_USER_REDEEM_TIMES_EXCEED','COMPLETION_FINISHED','_clearTimeoutTimer','/allowed','_cipher','LOGIN_TOKEN_PROCESSING_FAILED','PERSON','_syncEditingCollabCursor','CHANGESET_SHOULD_RETRY','confirm','INVITE_CODE_HAS_BEEN_UES','abs','getCollabEntity','min','POST','PY_RUNTIME_SCRIPT_ERROR','INTERNAL_ERROR','_revisionService','unit-cache-','_listenToNetworkCondition','_acknowledgedAwaitingChangeset','CHANGESET_REJ','_updateStatus','onCommandExecuted','name','Hasher','closeSession','_applyRemoteChangeset','createEncryptor','resend','_members','create','\x20in\x20_schedule.','_transformSelections','uploadFileServerUrl','appendMutation','from','&assign=','/universer-api/snapshot/','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_getCurrentRevision','_substituteRedoStack','values','getAllMembers','localeService','UUID','_key','_xformMode','HEARTBEAT','sigBytes','REDEMPTION_CODE_HAS_BEEN_CREATED','NO_OTHER_CLIENTS_EDITING','fetchMiss','open$','LIVESHARE_TERMINATE','socket$','APPLY_REJECT','_removeRoom','_prevBlock','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','defineProperty','saveSnapshot','_createHelper','_submitChangeset','collaboration-client.config','getTypeOfUnitAdded$','avatar','enc','prototype','[CollaborationSessionService]','setWaitCount','forEach','getSnapshotAPIPath','readyForCollab','getOwnPropertyDescriptor','_onUserJoin','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unsubscribe','_collaborationPaused','changesets','UNIVER_DOC','init','transformSelections','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/new_changes','onRemoteRetry','duration','USER_IS_ANONYMOUS','ClipsheetFragments','_nRounds','pending','APPLY_PERMISSION_DENIED','slice','_updateLocalCache','_transformUndoredo','GLOBAL_ROOMS_CNT_EXCEEDS','members','7199844pQcvhq','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LICENSE_IMPORT_SIZE_EXCEEDED','JOIN_ROOM_PERMISSION_DENIED','634000flIPYp','objectID','LOCAL_CACHE_INTERVAL','YUUMI_CONNECTOR_URL_NOT_FOUND','range','textRanges','Cipher','LIVESHARE_FETCH_OPERATIONS','stringify','baseRev','_replayCachedMutations','subscribe','_transformStack','_incrementRevisionNumber','_clearCollaborationTimeoutTimer','selections','leaveEvent','onRemoteAck','PasswordBasedCipher','getRoom','YUUMI_RATE_OVER_LIMIT','delete','_toggleOffline','[SyncedState]:\x20received\x20acknowledgement.','loadOfflineData','Undefined','/universer-api/authz','fetchThroughInterceptors','_candidateSocket','rev','_commentUpdate$','_rescheduleHeartbeat','REDEMPTION_CODE_FULLY_REDEEMED','_resendTimeout','error$','decrypt','deleteCollaborator','debug','cfg','_instanceService','_sessions','REDEMPTION_USER_NOT_ELIGIBLE','kdf','ENTITLE_CHAT_LIMIT_EXCEED','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','session.room-permission-denied','YUUMI_NO_CUBOID_FOR_QUESTION','collaboration_new_changeset','string','roles','MUTATION','synced','CURRENT_STATUS_CANNOT_OPERATE','getConfig','filter','reqId','sessionStatus','execute','map','_doReset','_resendTimer','updatePermissionPoint','_sender','close$','collabWebSocketUrl','join','[PendingState]:\x20received\x20acknowledgement.','ERROR_IMAGE_TYPE','_snapshotService','_compressMutationService','_state','$super','hostname','setCurrentUser','LICENSE_DISTRO_REJECTED','socketService','ERROR_AGAIN','_initDependencies','Hex','post','_unitID','_iKey','onlyLocal','mixIn','/rev/','LIVESHARE_OPERATION','SHA1','UNIVER_SLIDE','_tryEnsureSocket','_awaitingChangeset','_scheduleCompleteTimestamp','RECV','_unitInfo$','_executeRemoteChangeset','joinRsp','fromCollab','updatePermissionObjEvent','onStarting','ENTITLE_DUP_SUBSCRIPTION','_tryReconnect','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','univer-pro.collaboration-client.network-condition.service','BlockCipherMode','_queuedRemoteChangesets','_replaceFileID','ENTITLE_NEED_BILLING_ADDRESS','interceptor','members$','length','SOCKET_FAILED_RETRY','_type','ERROR_EXCEED_SIZE','session.room-not-exists','_transformRemoteChangesetByStateCache','?size=','readAsDataURL','asObservable','substr','onCommentUpdate','UNDEFINED','BASE64','Encryptor','downloadEndpointUrl','symbol','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','code','onMissedChangesetFetched','_eventService','createInstance','localCacheService','status$','[PendingState]:\x20received\x20rejection.','fromCharCode','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','UNRECOGNIZED','JOIN','_map','{fileID}','FETCH_MISSING','createCollaborator','words','format','onTransformState','keySize','_getSignURL','_keyPriorReset','enableAuthServer','SUBMIT_CHANGESET','awaiting_with_pending','origin','_onFetchMissResult','objectActions','apply','_httpService','_onJoinRoomEvent','body','_socketReady','complete','data','method','UnitEmbedded','subject','SNAPSHOT_HAS_BEEN_REMOVED','COMPRESS_MUTATION_APPLY','_change$','splice','_clearHeartbeatTimer','UNIVER_UNKNOWN','unitID','ivSize','cmd','_doCreateSocket','SHOULD_CLOSE_CONN','loginUrlKey','_onRemoteChangeset','USERS_LEAVE','status','compose','capture','every','infoRsp','_localeService','onTransformRemoteChangesetByStateCache','batchAllowed','\x20-\x20','error','_entities','conflict','/universer-api/snapshot','_collaborationSessionService','setShowComponents','ws://127.0.0.1:8000/universer-api/comb/connect','salt','charAt','_transformService','_hash','FAIL','params','connection\x20error','REDEMPTION_CODE_INACTIVE','_onConnectionOpen','_sendingTimer','[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.','PERMISSION_DENIED','[CollaborationSession]','close','BufferedBlockAlgorithm','_remoteChangesetQueue','buffer','stopTime','INVALID_ARGUMENT','joinEvent','save\x20fail\x20reason\x20is\x20','_decreaseWaiting','PENDING','dispose','Could\x20not\x20dynamically\x20require\x20\x22','exports','snapshotServerUrl','loadSheet','resourceIDs','csRejEvent','_telemetryService','_changesetReqId','ONLINE','/object/','x-univer-host','_append','_doFinalize','unitId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','find','ceil','getTime','_onRemoteRetry','crypto','_commentService','copyFileMeta','toString','772462kVMrqC','JOIN_ROOM_FAILED','onMissingChangesets','INGEST','HttpImport','LICENSE_MAX_UNITS_EXCEEDED','concat','floor','_onConflict','_startCollaboration','getInterceptPoints','liveShareNewHost','image/png','sessionStatus$','PAYMENT_CHANNEL_NOT_SUPPORT','getUnitId','/unit/','CONFLICT','change$','telemetry\x20info\x20is\x20not\x20initialized','awaitingChangeset','routeKey','_undoRedoService','objectType','reconnect','APPLY_REVISION_CONFILICT','_clearRedo','INVITE_CODE_ALREADY_BOUND','ERROR_IMAGE','WECHAT_HAS_BEEN_BOUND','file','_initCloseConn','_hasher','sendChangesetTimeout','OpenSSL','APPLY_DUPLICATED','updateOfflineData','getLatestCsReqIdBySid','_registerDependencies','AES','[CollaborationState]:\x20apply\x20error!','1742330HZDzWs','_data','USERS_ENTER','_config','UNISCRIPT_RUN','executeCommand','_emitMembers','disposeWithMe','_members$','_schedule','/object','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','12740504RDADfi','reset','list','revision','_HTTPService','_socketMessageSubscription','ENTITLE_CAN_NOT_BUY_LOWER_OTP','fetchMissingChangesets','isArray','collaborators','_nDataBytes','onRemoteChangeset','12ektZoS','max','_minBufferSize','_getRedoStack','loadDoc','subUnitId','_iv','lib','_stopTelemetryCollaborationNewChangeset','UNAUTHENTICATED','onTransformIME','getSheetId','_getCtorByUniverType','now','_lockTransition','_sendHeartbeatTimer','INVALID_INVITE_CODE','REDEMPTION_INVALID_CODE','_createHandler','/-/object/-/batch_allowed','loadUnitOfRevision','_univerInstanceService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','permissionRejEvent','/universer-api/oidc/authpage','UPDATE_PERMISSION_OBJ','_process','HttpExport','_checkMissing','session','LOGIN_FAILED','getValue','_ENC_XFORM_MODE','authzUrl','_DEC_XFORM_MODE','hasOwnProperty','JOIN_ROOM_NOT_EXISTS','updateCollaborator','onSyncEditingCollabCursor','formatter','iterations','originalMeta','_substituteUndoStack','updateMember','PSEUDO_FETCH_MISSING_RESULT','LEAVE','getUnitOnRev','1243170VwCnHm','_waitForHeartbeatResponse','pipe','SerializableCipher','add','csShouldRetryEvent','_init','getUnitStatus$','getCurrentUser','transformStack\x20failed!','get','transformUndoRedo','CHANGESET_REVISION_CONFILICT','/universer-api/user/session-ticket','retryConnectingInterval','[CollaborationSessionService]:\x20socket\x20error','univer-pro.collaboration-client.single-active-unit-service','event$','UPDATE_CURSOR','_waitCount','roomInfos','COMPRESS_MUTATION_SEND','Utf8','listRoles','_getDownloadEndpointURL','initWorkbookPermissionChange','auth.needGotoLoginAlert','mode','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','putCollaborators','_socketService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','compute','socket\x20open.','UnitSnapshot','_roomCreated$','charCodeAt','getTypeOfUnitDisposed$','userID','includes','function','_retryCount','algo','commentUpdate$','LIVESHARE_REQUEST_HOST','session.room-full','/collaborator','UNIVER_PROJECT','_event$','[UniverCollaborationClientPlugin]','updateSnapshot','fetching\x20missing\x20changesets\x20from\x20','DATA_SOURCE_TOO_LARGE','[DataLoaderService]','getResourcesRequest','sheets','state$','YUUMI_UNABLE_LOAD_URL','_getAPIPrefixPath','_roomMembers','&source=','href','_initUnitPermissionChange','YUUMI_AI_RUN_FAILED','_networkConditionService','_throwTelemetryCollaborationNewChangeset','OTHER_CLIENT_EDITING','Univer','collaMsg','session.room-cnt-exceeds','_transformIMECache','_status$','byteOffset','_initMergeInterceptor','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','SUCCUSS','collabSubmitChangesetUrl','byteLength','_injector','getImageSourceCache','unknown','_onMessage','encodeURIComponent','_getUploadFileURL','_transformRemoteChangesetByIMECache','_getLoginPath','_clearRetryConnectingTimer','_handler','transformMutationsWithChangeset','__creator','registerHTTPInterceptor','LIVESHARE_NEW_HOST','HEARTBEAT_INTERVAL','HELLO','onTransformRemoteChangesetByIMECache','_transformStateCache','_sheetTransformSelectionsService','getActiveSheet','loadUnit','_imageSourceCache','[OfflineState]:\x20received\x20acknowledgement.','enableCollaboration','csAckEvent','CipherParams','message$','encrypt','_collaborationTimeoutTimer','disableLocalCache','_onRemoteRejected','createSocket','_singleActiveUnitService','onLocalMutation','reject','transformChangesets','9HUWben','OTHER_CLIENTS_EDITING','_onLocalMutation','_socket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','padding','image/gif','_handlerCallback','_createHmacHelper','snapshot','_commandService','NOT_COLLAB','unpad','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','title','RETRY_CONNECTING_MAX_COUNT','NEW_CHANGESETS','_createInitialStateImpl','_pendingMutations','UNIVER_SHEET','_clearLocalCache','OPTIONAL','startsWith','allowed','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_reverseMap','size','extend','removeMember','CHANGESET_ACK','dispose$','_createInitialState','incrementRevOfUnit','sid','MSG_FOR_ERROR','_joinRoom','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onRemoteRej','encryptBlock','ENSURE_SNAPSHOT_EXECUTION','toggleOnline','clone','1SLOrCw','ALREADY_EXISTS','CLOSE_ROOM','getUnitType','_disableEditing','getRandomValues','[SyncedState]:\x20received\x20rejection.','IDLE','enableSingleActiveInstanceLock','NOT_FOUND','_shouldReportTelemetry','resolve','clear','key','push','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','state','_resendWithTimeout','_timeoutTimer','_doProcessBlock','UNKNOWN_CODE','eventID','reduce','getWorkbookSelections','url','random','_memberService','JOINING','_unlockTransition','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','send','entries','getSheetBlock','awaiting','onTransformSelections','hasher','getMemberID','MOBILE_VERIFY_CODE_MISMATCH','startTime','requestParams','newCsEvent','_telemetryInfo','_onConnectionFailed','_permissionService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','image/bmp','Base64','finalize','focused$','EvpKDF','_showConflictNotification','workbook','set','[CollaborationEntity]','toggleOffline','editingUnit','_getAPIPrefix','REDEMPTION_CODE_NOT_STARTED','_doCryptBlock','ciphertext','ENTITLE_REPORT_LIMIT_EXCEED','YUUMI_ALL_TABLES_IS_INVALID','CONNECTOR_DATA_TOO_LARGE','blockSize','[FetchMissState]','_oKey','put','_clearUndo','SYNCED','update','/block/','fetch_missing','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_initRequestHeader','MOBILE_HAS_BEEN_BOUND','_localCacheService','_fetchMissChangesets','_isPermissionRej','OFFLINE','parse','getMember','BlockCipher','collaboratorID','Base','UserProfileImg','[CollaborationUndoRedoService]','/resources','HmacSHA1','createDecryptor','USER_NOT_FOUND','session.join-failed','location','MD5','HMAC','_toggleOnline','_exhaustRemoteChangesetQueue','processBlock','_state$','default','clamp','shouldCloseConn','_socket$','failed\x20to\x20apply\x20missed\x20changesets!','responseType','getFocusedUnit','getDeserializedSheetBlock','msCrypto','_sessionStatus$','pad','SOCKET_FAILED','_updateState','_collaborationUIEventService','_getSendChangesetTimeout','_getUndoStack','_clearScheduledTask','WordArray','EMAIL_HAS_BEEN_BOUND','requireSession','target','c1Prime','_onCombEvent','YUUMI_ASYNCIO_CANCELLED','next','type','_onRemoteACK','getCurrentSelections','TOO_MANY_REQUESTS','1882256EJViSc','onStateChange','_retryConnectingTimer','_mode','_createSocket','objects','/universer-api/file/{fileID}/sign-url','memberID','headers','Malformed\x20UTF-8\x20data','_startTelemetryCollaborationNewChangeset','Failed\x20to\x20update\x20permission\x20point','has','_entityInit$','randomBytes','onload','AUTHORIZE_CODE_ILLEGAL','decryptBlock','actions','withCredentials','FileId','_configService','mutations','collaboration-client.local-cache-service','_changesetSessionId','_onOffline'];_0x3896=function(){return _0x2913db;};return _0x3896();}class Ei{constructor(){var _0x278ab1=_0x485e82;D(this,'_commentUpdate$',new _0x55f9ec()),D(this,_0x278ab1(0x1a4),this[_0x278ab1(0x349)][_0x278ab1(0x3a0)]());}['onCommentUpdate'](_0x147411){var _0x4fe73b=_0x485e82;this[_0x4fe73b(0x349)][_0x4fe73b(0x28f)](_0x147411);}}var bs=Object[_0x485e82(0x30f)],Ds=(_0x51258f,_0x3dd862,_0x1149dc,_0xe14356)=>{var _0x1e29e9=_0x485e82;for(var _0x4b3b52=_0xe14356>0x1?void 0x0:_0xe14356?bs(_0x3dd862,_0x1149dc):_0x3dd862,_0x137f60=_0x51258f[_0x1e29e9(0x398)]-0x1,_0x369c97;_0x137f60>=0x0;_0x137f60--)(_0x369c97=_0x51258f[_0x137f60])&&(_0x4b3b52=_0x369c97(_0x4b3b52)||_0x4b3b52);return _0x4b3b52;},jt=(_0x42e275,_0x569806)=>(_0x2e568d,_0x404400)=>_0x569806(_0x2e568d,_0x404400,_0x42e275);let Pe=class extends _0x327acd{constructor(_0x478286,_0x44310a){var _0x42d06d=_0x485e82;super(),D(this,_0x42d06d(0x1b4),new Map()),D(this,_0x42d06d(0x19c),new _0x55f9ec()),(this[_0x42d06d(0x15f)]=_0x478286,this['_userManagerService']=_0x44310a,this[_0x42d06d(0x139)](_0x5155cd(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4c9030[_0x42d06d(0x1fe)])[_0x42d06d(0x17b)](_0x48879e(_0xe1d6a3=>_0xe1d6a3[_0x42d06d(0x118)]())),this[_0x42d06d(0x15f)][_0x42d06d(0x19e)](_0x4c9030[_0x42d06d(0x315)])[_0x42d06d(0x17b)](_0x48879e(_0x454150=>_0x454150[_0x42d06d(0x118)]())),this[_0x42d06d(0x15f)][_0x42d06d(0x19e)](_0x4c9030['UNIVER_SLIDE'])[_0x42d06d(0x17b)](_0x48879e(_0x45e7a0=>_0x45e7a0[_0x42d06d(0x118)]())))[_0x42d06d(0x336)](_0x1c7531=>this[_0x42d06d(0x2fe)](_0x1c7531))));}['waitForRoom$'](_0x222f6c){var _0x5c6b7b=_0x485e82;return this[_0x5c6b7b(0x1b4)][_0x5c6b7b(0x2a0)](_0x222f6c)?_0x2f57ee(this[_0x5c6b7b(0x1b4)][_0x5c6b7b(0x183)](_0x222f6c)):this[_0x5c6b7b(0x19c)][_0x5c6b7b(0x17b)](_0x48879e(_0x3fe69f=>{var _0x5b0e5a=_0x5c6b7b;if(_0x3fe69f===_0x222f6c)return this[_0x5b0e5a(0x1b4)][_0x5b0e5a(0x183)](_0x3fe69f);}));}[_0x485e82(0x375)](_0x1c5c5f){var _0xcc7c9f=_0x485e82;this['_userManagerService'][_0xcc7c9f(0x375)](_0x1c5c5f);}['getCurrentUser'](){var _0x3c0737=_0x485e82;return this['_userManagerService'][_0x3c0737(0x181)]();}[_0x485e82(0x175)](_0x4ec1d7,_0x111c4d){var _0x143806=_0x485e82;let _0x510335=this[_0x143806(0x1b4)]['get'](_0x4ec1d7);_0x510335||(_0x510335=new ys(),this[_0x143806(0x1b4)]['set'](_0x4ec1d7,_0x510335),this[_0x143806(0x19c)]['next'](_0x4ec1d7)),_0x510335[_0x143806(0x175)](_0x111c4d);}[_0x485e82(0x207)](_0x3df11c,_0x4d7c9b){var _0x1eae3b=_0x485e82;const _0x2b904f=this[_0x1eae3b(0x1b4)][_0x1eae3b(0x183)](_0x3df11c);_0x2b904f&&_0x2b904f['removeMember'](_0x4d7c9b);}[_0x485e82(0x33e)](_0x59ac81){var _0xc8f536=_0x485e82;return this[_0xc8f536(0x1b4)][_0xc8f536(0x183)](_0x59ac81);}[_0x485e82(0x265)](_0x347e9c,_0xb45a7a){var _0x33a28a=_0x485e82;const _0x39b2e7=this[_0x33a28a(0x1b4)][_0x33a28a(0x183)](_0x347e9c);if(_0x39b2e7)return _0x39b2e7[_0x33a28a(0x265)](_0xb45a7a);}[_0x485e82(0x2fe)](_0x383775){var _0x308890=_0x485e82;const _0x3d560e=this[_0x308890(0x1b4)][_0x308890(0x183)](_0x383775);_0x3d560e&&(_0x3d560e[_0x308890(0xf1)](),this[_0x308890(0x1b4)]['delete'](_0x383775));}[_0x485e82(0xf1)](){var _0x4e5428=_0x485e82;this['_roomMembers'][_0x4e5428(0x30c)](_0x5e0921=>_0x5e0921[_0x4e5428(0xf1)]()),this[_0x4e5428(0x1b4)][_0x4e5428(0x221)](),this[_0x4e5428(0x19c)]['complete']();}};Pe=Ds([jt(0x0,_0x10b82e),jt(0x1,_0x16f7e6(_0x261800))],Pe);class ys extends _0x327acd{constructor(){var _0x5acfab=_0x485e82;super(...arguments),D(this,'_members',new Map()),D(this,_0x5acfab(0x13a),new _0x44eac9(this[_0x5acfab(0x2e3)])),D(this,_0x5acfab(0x397),this[_0x5acfab(0x13a)][_0x5acfab(0x3a0)]());}[_0x485e82(0xf1)](){var _0x3a397e=_0x485e82;this['_members'][_0x3a397e(0x221)]();}['updateMember'](_0x24f92f){var _0x37f513=_0x485e82;this['_members'][_0x37f513(0x249)](_0x24f92f[_0x37f513(0x29b)],_0x24f92f),this[_0x37f513(0x138)]();}[_0x485e82(0x207)](_0x4607ee){var _0x1179d6=_0x485e82;this[_0x1179d6(0x2e3)]['delete'](_0x4607ee);}['getMember'](_0x2bbfae){var _0x4c20cd=_0x485e82;return this['_members'][_0x4c20cd(0x183)](_0x2bbfae);}[_0x485e82(0x2f0)](){var _0xca8d51=_0x485e82;return Array[_0xca8d51(0x2e9)](this[_0xca8d51(0x2e3)][_0xca8d51(0x2ef)]());}[_0x485e82(0x138)](){var _0x4d9eae=_0x485e82;this[_0x4d9eae(0x13a)][_0x4d9eae(0x28f)](this['_members']);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x3282ca,_0x2ee8bb,_0x3e4aa7,_0x48e8fe)=>{var _0x540f22=_0x485e82;for(var _0x48f350=_0x48e8fe>0x1?void 0x0:_0x48e8fe?Us(_0x2ee8bb,_0x3e4aa7):_0x2ee8bb,_0x4edb6e=_0x3282ca[_0x540f22(0x398)]-0x1,_0x25ae7c;_0x4edb6e>=0x0;_0x4edb6e--)(_0x25ae7c=_0x3282ca[_0x4edb6e])&&(_0x48f350=_0x25ae7c(_0x48f350)||_0x48f350);return _0x48f350;},Oe=(_0x3da40,_0x4ddb5c)=>(_0x320db5,_0x1eb497)=>_0x4ddb5c(_0x320db5,_0x1eb497,_0x3da40),me=(_0x18058c=>(_0x18058c[_0x18058c['IDLE']=0x0]=_0x485e82(0x21c),_0x18058c[_0x18058c[_0x485e82(0x230)]=0x1]=_0x485e82(0x230),_0x18058c[_0x18058c['OFFLINE']=0x2]=_0x485e82(0x263),_0x18058c[_0x18058c[_0x485e82(0xfa)]=0x3]=_0x485e82(0xfa),_0x18058c))(me||{});const Vt={[pe[_0x485e82(0xde)]]:_0x485e82(0x26f),[pe[_0x485e82(0x2af)]]:_0x485e82(0x1a6),[pe[_0x485e82(0x16e)]]:_0x485e82(0x39c),[pe[_0x485e82(0x32a)]]:_0x485e82(0x359),[pe[_0x485e82(0x325)]]:_0x485e82(0x1be)};let mt=class extends _0x5c9f6a{constructor(_0x20f1ec,_0x142f38,_0x229fac,_0x330b61,_0x3dc312,_0xae89e5,_0x2892c2,_0xb3fa88){var _0x338ba5=_0x485e82;super(),D(this,_0x338ba5(0x280),new _0x44eac9(0x0)),D(this,_0x338ba5(0x116),this[_0x338ba5(0x280)]['asObservable']()),D(this,_0x338ba5(0x1a9),new _0x55f9ec()),D(this,_0x338ba5(0x18a),this[_0x338ba5(0x1a9)][_0x338ba5(0x3a0)]()),D(this,_0x338ba5(0x1ee)),D(this,'_socketMessageSubscription'),D(this,_0x338ba5(0x1e3)),D(this,_0x338ba5(0x21f),!0x1),D(this,'_telemetryInfo',null),(this[_0x338ba5(0x37c)]=_0x20f1ec,this[_0x338ba5(0x2bf)]=_0x229fac,this[_0x338ba5(0x2a9)]=_0x330b61,this['_memberService']=_0x3dc312,this['_commentService']=_0xae89e5,this[_0x338ba5(0x284)]=_0x2892c2,this[_0x338ba5(0xf8)]=_0xb3fa88,this[_0x338ba5(0x21f)]=!!this[_0x338ba5(0xf8)],_0x142f38[_0x338ba5(0x17b)](_0x4e0c29(this[_0x338ba5(0x209)]))['subscribe'](_0x1bc071=>{var _0xacf23e=_0x338ba5,_0x19a521;typeof _0x1bc071>'u'||(this[_0xacf23e(0x1ee)]=_0x1bc071,_0x1bc071?(this[_0xacf23e(0x20e)](_0x1bc071),this['_socketMessageSubscription']=_0x1bc071[_0xacf23e(0x1e1)][_0xacf23e(0x336)](_0x31160d=>{var _0x447b96=_0xacf23e;_0x31160d[_0x447b96(0x11e)]===this[_0x447b96(0x37c)]&&this[_0x447b96(0x28d)](_0x31160d);})):(this[_0xacf23e(0x1ba)](),this[_0xacf23e(0x280)]['next'](0x2),(_0x19a521=this[_0xacf23e(0x143)])==null||_0x19a521[_0xacf23e(0x312)](),this[_0xacf23e(0x143)]=null));}));}get[_0x485e82(0x364)](){var _0x2b870f=_0x485e82;return this[_0x2b870f(0x280)][_0x2b870f(0x169)]();}[_0x485e82(0x239)](){var _0x5abf8e=_0x485e82,_0x347d54,_0x240d0e;return(_0x240d0e=(_0x347d54=this['_socket'])==null?void 0x0:_0x347d54[_0x5abf8e(0x29b)])!=null?_0x240d0e:null;}[_0x485e82(0xf1)](){var _0x1e856f=_0x485e82;super['dispose'](),this[_0x1e856f(0x209)]['next'](),this[_0x1e856f(0x209)][_0x1e856f(0x3c9)]();}[_0x485e82(0xe7)](){var _0x1383f4=_0x485e82,_0x5191b2,_0x37fc66;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5191b2=this[_0x1383f4(0x1ee)])==null||_0x5191b2[_0x1383f4(0x233)]({'cmd':j[_0x1383f4(0x177)],'data':{'roomID':this[_0x1383f4(0x37c)]}}),(_0x37fc66=this[_0x1383f4(0x1ee)])==null||_0x37fc66[_0x1383f4(0xe7)](),this['_event$']['complete'](),this[_0x1383f4(0x280)][_0x1383f4(0x3c9)](),this[_0x1383f4(0xf1)]();}['_onCombEvent'](_0x1e68a8){var _0x5bd368=_0x485e82;_0x1e68a8['cmd']===j[_0x5bd368(0x3b3)]?this[_0x5bd368(0x3c6)](_0x1e68a8):_0x1e68a8['cmd']===j[_0x5bd368(0x387)]&&this['_onRecvEvent'](_0x1e68a8);}['_joinRoom'](_0x4c020b){var _0x44f82e=_0x485e82;this[_0x44f82e(0x280)][_0x44f82e(0x28f)](0x1),_0x4c020b[_0x44f82e(0x233)]({'cmd':j[_0x44f82e(0x3b3)],'routeKey':this[_0x44f82e(0x37c)],'routeType':'','data':{'rooms':[{'roomID':this[_0x44f82e(0x37c)]}]}});}[_0x485e82(0x3c6)](_0x4d019e){var _0x3e1555=_0x485e82,_0x32d440;if(_0x4d019e['code']in Vt){this[_0x3e1555(0x284)][_0x3e1555(0x2b7)]({'id':re[_0x3e1555(0x10a)],'data':Vt[_0x4d019e[_0x3e1555(0x3a9)]]}),this[_0x3e1555(0x280)][_0x3e1555(0x28f)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x49c1ab=(_0x32d440=_0x4d019e[_0x3e1555(0x3ca)][_0x3e1555(0x18d)][this[_0x3e1555(0x37c)]])==null?void 0x0:_0x32d440[_0x3e1555(0x326)];_0x49c1ab&&_0x49c1ab[_0x3e1555(0x30c)](_0x3b5086=>this[_0x3e1555(0x22f)][_0x3e1555(0x175)](this[_0x3e1555(0x37c)],_0x3b5086));}['_onRecvEvent'](_0x3c008e){var _0xa64453=_0x485e82;try{const _0x3b8d9e=_0x3c008e[_0xa64453(0x3ca)];switch(_0x3b8d9e[_0xa64453(0x22a)]){case _0x37ce0d[_0xa64453(0x134)]:this[_0xa64453(0x310)](_0x3b8d9e),this[_0xa64453(0x1a9)]['next'](_0x3b8d9e);break;case _0x37ce0d[_0xa64453(0xc9)]:this['_onUserLeave'](_0x3b8d9e),this[_0xa64453(0x1a9)][_0xa64453(0x28f)](_0x3b8d9e);break;case _0x37ce0d[_0xa64453(0x208)]:case _0x37ce0d[_0xa64453(0x2cd)]:this[_0xa64453(0x152)](),this[_0xa64453(0x339)](),this[_0xa64453(0x1a9)]['next'](_0x3b8d9e);break;case _0x37ce0d[_0xa64453(0x20d)]:this[_0xa64453(0x2bf)]['error'](_0xa64453(0xee)+JSON[_0xa64453(0x333)](_0x3b8d9e)),this[_0xa64453(0x1a9)][_0xa64453(0x28f)](_0x3b8d9e);break;case _0x37ce0d[_0xa64453(0x2be)]:this[_0xa64453(0x106)][_0xa64453(0x3a2)](_0x3b8d9e['data']),this['_event$'][_0xa64453(0x28f)](_0x3b8d9e);break;default:this['_event$'][_0xa64453(0x28f)](_0x3b8d9e);}}catch(_0x4fdcb9){this[_0xa64453(0x2bf)]['error'](_0x4fdcb9,_0x3c008e);}}[_0x485e82(0x310)](_0x113187){var _0x5ef326=_0x485e82;this['_memberService']['updateMember'](this[_0x5ef326(0x37c)],_0x113187['data']);}['_onUserLeave'](_0x396f40){var _0x24cc2f=_0x485e82;this['_memberService'][_0x24cc2f(0x207)](this['_unitID'],_0x396f40['data'][_0x24cc2f(0x29b)]);}async[_0x485e82(0x233)](_0x35da08,_0x1057e6){var _0x1b0893=_0x485e82;if(this[_0x1b0893(0x364)]!==0x3||!this[_0x1b0893(0x1ee)])throw new Error(_0x1b0893(0x1f8));try{_0x35da08[_0x1b0893(0x22a)]===_0x37ce0d[_0x1b0893(0x3bf)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x1b0893(0x29e)](_0x35da08)),this[_0x1b0893(0x1ee)][_0x1b0893(0x233)]({'cmd':j[_0x1b0893(0x10c)],'routeKey':_0x1057e6,'routeType':'','data':_0x35da08});}catch(_0x3383aa){this['_logService'][_0x1b0893(0xd3)](_0x3383aa);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3d9c30=_0x485e82,_0x3d5ad2;this[_0x3d9c30(0x1e3)]=setTimeout(()=>{var _0x40a5c2=_0x3d9c30;this[_0x40a5c2(0x1e3)]=null,this[_0x40a5c2(0x284)][_0x40a5c2(0x2b7)]({'id':re[_0x40a5c2(0x2b8)]});},(_0x3d5ad2=this['_configService'][_0x3d9c30(0x361)](di))!=null?_0x3d5ad2:fi);}['_clearCollaborationTimeoutTimer'](){var _0x3c2b8c=_0x485e82;this[_0x3c2b8c(0x1e3)]&&(clearTimeout(this[_0x3c2b8c(0x1e3)]),this[_0x3c2b8c(0x1e3)]=null);}[_0x485e82(0x29e)](_0x37fee2){var _0xdd9938=_0x485e82;if(!this[_0xdd9938(0x21f)])return;const {data:_0x3104fb}=_0x37fee2,{unitID:_0x18a107,changeset:_0x4c905f}=_0x3104fb,{mutations:_0x25dfd2,type:_0x234e22}=_0x4c905f;this['_telemetryInfo']={'unitId':_0x18a107,'type':_0x234e22,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x25dfd2)};}[_0x485e82(0x152)](){var _0x530f3c=_0x485e82;if(this[_0x530f3c(0x21f)]){if(!this[_0x530f3c(0x23e)]){this[_0x530f3c(0x2bf)]['error'](_0x530f3c(0xe6),_0x530f3c(0x11c));return;}this[_0x530f3c(0x23e)][_0x530f3c(0xeb)]=performance[_0x530f3c(0x157)](),this[_0x530f3c(0x23e)][_0x530f3c(0x31c)]=this[_0x530f3c(0x23e)][_0x530f3c(0xeb)]-this[_0x530f3c(0x23e)][_0x530f3c(0x23b)],this['_telemetryService'][_0x530f3c(0xcc)](Cs,this[_0x530f3c(0x23e)]),this[_0x530f3c(0x23e)]=null;}}[_0x485e82(0x1ba)](){var _0x10482d=_0x485e82;this[_0x10482d(0x23e)]=null;}};mt=As([Oe(0x2,_0x42253d),Oe(0x3,_0x4ba4ee),Oe(0x4,_0x16f7e6(Pe)),Oe(0x5,_0x16f7e6(Ei)),Oe(0x6,_0x16f7e6(ve)),Oe(0x7,_0x2d2a8a(_0x490198))],mt);const J=_0x31feb8(_0x485e82(0x2ab));function Nr(_0x188ce6){var _0x22b47a=_0x485e82;return _0x22b47a(0x2d7)+_0x188ce6;}var Ps=Object[_0x485e82(0x30f)],ws=(_0x344d89,_0xcf807,_0x4ded7c,_0x24a405)=>{var _0xbcc842=_0x485e82;for(var _0x1d335e=_0x24a405>0x1?void 0x0:_0x24a405?Ps(_0xcf807,_0x4ded7c):_0xcf807,_0x40547f=_0x344d89[_0xbcc842(0x398)]-0x1,_0x3af8b2;_0x40547f>=0x0;_0x40547f--)(_0x3af8b2=_0x344d89[_0x40547f])&&(_0x1d335e=_0x3af8b2(_0x1d335e)||_0x1d335e);return _0x1d335e;},ut=(_0x51904c,_0x10d67c)=>(_0x294867,_0x5a480f)=>_0x10d67c(_0x294867,_0x5a480f,_0x51904c);function Ms(_0xb18634){var _0x1efc0b=_0x485e82;const {unitID:_0x275615,mutations:_0x91f1f9}=_0xb18634;return{'unitId':_0x275615,'subUnitId':_0x91f1f9[_0x1efc0b(0x398)]>0x0?_0x91f1f9[0x0][_0x1efc0b(0xdf)][_0x1efc0b(0x14f)]:null};}let it=class{constructor(_0x307dd1,_0x48f15f,_0x40e457){var _0x55e310=_0x485e82;this[_0x55e310(0x1c7)]=_0x307dd1,this[_0x55e310(0xdc)]=_0x48f15f,this[_0x55e310(0x352)]=_0x40e457;}[_0x485e82(0x317)](_0x30378f){var _0x4c6adb=_0x485e82,_0x21ff47,_0x2ed7c1,_0x3a0486,_0xce1d61;const _0x4c386b=this[_0x4c6adb(0x1c7)][_0x4c6adb(0x183)](_0x28a2d1),{unitId:_0x27f90e,subUnitId:_0x558465}=Ms(_0x30378f),_0x1e4776=_0x4c386b==null?void 0x0:_0x4c386b[_0x4c6adb(0x22c)](_0x27f90e)[_0x4c6adb(0x292)](),_0x24df17=(_0x2ed7c1=(_0x21ff47=this[_0x4c6adb(0x352)]['getUnit'](_0x27f90e))==null?void 0x0:_0x21ff47[_0x4c6adb(0x1da)]())==null?void 0x0:_0x2ed7c1[_0x4c6adb(0x155)]();if(_0x1e4776[_0x4c6adb(0x398)]===0x0||!_0x27f90e||!_0x558465)return;const _0x2a3e8a=[{'id':_0x2e1cb0['id'],'params':{'unitId':_0x27f90e,'subUnitId':_0x24df17,'selections':_0x244665['deepClone'](_0x1e4776)}}],_0x506415=this['_transformService'][_0x4c6adb(0x1d1)](_0x30378f,_0x2a3e8a);if(!_0x4466da(_0x506415))throw _0x506415[_0x4c6adb(0xd3)];const _0x350cb7=(_0xce1d61=(_0x3a0486=_0x506415[_0x4c6adb(0x2bd)][0x0])==null?void 0x0:_0x3a0486['params'])==null?void 0x0:_0xce1d61['selections'];if(Array[_0x4c6adb(0x146)](_0x350cb7)&&_0x350cb7[_0x4c6adb(0x398)]){if(_0x350cb7[_0x4c6adb(0x398)]===_0x2a3e8a[0x0][_0x4c6adb(0xdf)][_0x4c6adb(0x33a)][_0x4c6adb(0x398)]&&_0x350cb7[_0x4c6adb(0xcd)]((_0x253808,_0x31ab3e)=>_0x58249d['equals'](_0x253808[_0x4c6adb(0x32f)],_0x2a3e8a[0x0][_0x4c6adb(0xdf)]['selections'][_0x31ab3e][_0x4c6adb(0x32f)])))return;this['_injector'][_0x4c6adb(0x183)](_0x36e989)[_0x4c6adb(0x137)](_0x2e1cb0['id'],{'unitId':_0x27f90e,'subUnitId':_0x24df17,'selections':_0x350cb7});}}};it=ws([ut(0x0,_0x16f7e6(_0x505898)),ut(0x1,_0x53969a),ut(0x2,_0x10b82e)],it);const _t=_0x31feb8(_0x485e82(0x189));var mi=(_0x5e9629=>(_0x5e9629[_0x5e9629[_0x485e82(0x2f8)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5e9629[_0x5e9629[_0x485e82(0x1ec)]=0x1]=_0x485e82(0x1ec),_0x5e9629))(mi||{});const K=_0x485e82(0x305),Ls={},xs=new Set([_0x304e5c['id']]);function Gt(_0x32b3d8,_0x34c409,_0xe3e84a,_0x3d7e50,_0x5daeee){var _0x2a9610=_0x485e82,_0x3483c1,_0xefc448,_0x4faf82,_0x4fea6b;const _0x3f1c8b=[];for(const _0x4e8730 of _0x32b3d8)if(xs[_0x2a9610(0x2a0)](_0x4e8730['id'])){if(_0x3f1c8b[_0x2a9610(0x398)]>0x0)break;_0x3f1c8b[_0x2a9610(0x223)](_0x4e8730);break;}else _0x3f1c8b[_0x2a9610(0x223)](_0x4e8730);const _0x408ca2=(_0xefc448=(_0x3483c1=_0x5daeee['getCurrentUser']())==null?void 0x0:_0x3483c1[_0x2a9610(0x19f)])!=null?_0xefc448:_0x2a9610(0x1c9),_0xb9eba5=(_0x4fea6b=(_0x4faf82=_0x5daeee[_0x2a9610(0x181)]())==null?void 0x0:_0x4faf82[_0x2a9610(0x29b)])!=null?_0x4fea6b:_0x2a9610(0x1c9);return{'changeset':{'unitID':_0x34c409,'type':_0x530938(_0xe3e84a[_0x2a9610(0x218)](_0x34c409)),'baseRev':_0x3d7e50[_0x2a9610(0x2bc)](_0x34c409),'revision':0x0,'userID':_0x408ca2,'memberID':_0xb9eba5,'mutations':_0x3f1c8b},'pendingMutations':_0x32b3d8[_0x2a9610(0x322)](_0x3f1c8b[_0x2a9610(0x398)])};}function ks(_0x4f3eb4,_0x24c37e,_0x1f69a7,_0x4b83a3,_0x107fae){var _0x3805a2=_0x485e82,_0x13d761,_0x312aa1,_0x1efcc9,_0x333e47;const _0x53990c=[_0x4f3eb4['reduce']((_0x44ad12,_0x684358)=>{var _0x547ea2=_0x34dc,_0x4cb30d;const {id:_0x347513}=_0x44ad12,{id:_0x44658c,type:_0x1001f4}=_0x684358,_0xff9763=(_0x4cb30d=_0x44ad12[_0x547ea2(0xdf)])!=null?_0x4cb30d:{'actions':null},_0x4ed29d=_0x684358[_0x547ea2(0xdf)];if(_0x347513&&_0x347513!==_0x44658c)throw new Error(_0x547ea2(0x224)+_0x347513+_0x547ea2(0xd2)+_0x44658c+'.');return{..._0x44ad12,'id':_0x44658c,'type':_0x1001f4,'params':{'unitId':_0x4ed29d[_0x547ea2(0xff)],'textRanges':_0x4ed29d['textRanges'],'actions':_0x5b0d19[_0x547ea2(0xcb)](_0xff9763[_0x547ea2(0x2a6)],_0x4ed29d[_0x547ea2(0x2a6)])}};},{})],_0x5c4c5e=(_0x312aa1=(_0x13d761=_0x107fae[_0x3805a2(0x181)]())==null?void 0x0:_0x13d761['userID'])!=null?_0x312aa1:_0x3805a2(0x1c9),_0x6a9e7f=(_0x333e47=(_0x1efcc9=_0x107fae[_0x3805a2(0x181)]())==null?void 0x0:_0x1efcc9[_0x3805a2(0x29b)])!=null?_0x333e47:_0x3805a2(0x1c9);return{'changeset':{'unitID':_0x24c37e,'type':_0x530938(_0x1f69a7[_0x3805a2(0x218)](_0x24c37e)),'baseRev':_0x4b83a3[_0x3805a2(0x2bc)](_0x24c37e),'revision':0x0,'userID':_0x5c4c5e,'memberID':_0x6a9e7f,'mutations':_0x53990c},'pendingMutations':[]};}function Ii(_0x2c9b66,_0x5615d6){var _0x40398e=_0x485e82;const _0x8dcd4b=new _0x5f1991(0x1);return setTimeout(()=>_0x8dcd4b[_0x40398e(0x28f)](_0x5615d6),_0x2c9b66),_0x8dcd4b[_0x40398e(0x3a0)]()['pipe'](_0x5c2988(0x1));}const $s={'id':_0x1f28cf['id'],'type':_0x1b1bf3[_0x485e82(0x35e)],'params':{}};var Hs=Object[_0x485e82(0x30f)],Se=(_0x3e5576,_0x198965,_0x374b7a,_0x271af1)=>{var _0x209402=_0x485e82;for(var _0x3e45bc=_0x271af1>0x1?void 0x0:_0x271af1?Hs(_0x198965,_0x374b7a):_0x198965,_0x2e18c9=_0x3e5576[_0x209402(0x398)]-0x1,_0x210b9a;_0x2e18c9>=0x0;_0x2e18c9--)(_0x210b9a=_0x3e5576[_0x2e18c9])&&(_0x3e45bc=_0x210b9a(_0x3e45bc)||_0x3e45bc);return _0x3e45bc;},w=(_0x1271c8,_0x46572a)=>(_0x5740d5,_0x5a8985)=>_0x46572a(_0x5740d5,_0x5a8985,_0x1271c8),Si=(_0x2621f1=>(_0x2621f1[_0x485e82(0x1f6)]='not_collab',_0x2621f1[_0x485e82(0x259)]='synced',_0x2621f1[_0x485e82(0xf0)]=_0x485e82(0x320),_0x2621f1['AWAITING']='awaiting',_0x2621f1[_0x485e82(0x2b4)]=_0x485e82(0x3c0),_0x2621f1['FETCH_MISS']='fetch_missing',_0x2621f1[_0x485e82(0x11a)]=_0x485e82(0xd5),_0x2621f1[_0x485e82(0x263)]='offline',_0x2621f1))(Si||{});const gi=0xea60;class ge{constructor(_0x6e62d8,_0x32e9c8,_0x3cffc2,_0x161281,_0x162a32,_0x2de4b6,_0x5559f0,_0x59c552,_0x18ec8b){var _0x5ad9d7=_0x485e82;D(this,_0x5ad9d7(0x385),null),D(this,'_pendingMutations',[]),(this[_0x5ad9d7(0xc2)]=_0x6e62d8,this[_0x5ad9d7(0x290)]=_0x32e9c8,this['_handler']=_0x162a32,this[_0x5ad9d7(0x1f5)]=_0x2de4b6,this[_0x5ad9d7(0x11f)]=_0x5559f0,this[_0x5ad9d7(0x2d6)]=_0x59c552,this[_0x5ad9d7(0x260)]=_0x18ec8b,this[_0x5ad9d7(0x385)]=_0x3cffc2,this[_0x5ad9d7(0x1fd)]=_0x161281);}[_0x485e82(0x166)](_0x243d8d){var _0x3a2428=_0x485e82;const _0x3ba962=this[_0x3a2428(0x2d6)][_0x3a2428(0x2bc)](this[_0x3a2428(0xc2)]);return _0x243d8d['revision']>_0x3ba962+0x1?(this[_0x3a2428(0x1d0)][_0x3a2428(0x10b)]({'from':_0x3ba962,'to':_0x243d8d[_0x3a2428(0x141)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x190aae){var _0x5b29fc=_0x485e82;this['_undoRedoService']['transformUndoRedo'](this[_0x5b29fc(0xc2)],_0x190aae);}[_0x485e82(0x2e6)](_0x105f39){var _0x194ea6=_0x485e82,_0x4af36d,_0x184e01;(_0x184e01=(_0x4af36d=this[_0x194ea6(0x1d0)])[_0x194ea6(0x237)])==null||_0x184e01[_0x194ea6(0x2b0)](_0x4af36d,_0x105f39);}[_0x485e82(0x1bf)](_0x57ce02){var _0x592987=_0x485e82,_0x65a5e5,_0x48d7dd;return(_0x48d7dd=(_0x65a5e5=this[_0x592987(0x1d0)])[_0x592987(0x154)])==null?void 0x0:_0x48d7dd['call'](_0x65a5e5,_0x57ce02);}[_0x485e82(0x1d8)](_0x5cc8ff){var _0x1298a0=_0x485e82,_0xd3a63,_0x37ce6d;return(_0x37ce6d=(_0xd3a63=this[_0x1298a0(0x1d0)])[_0x1298a0(0x3ba)])==null?void 0x0:_0x37ce6d[_0x1298a0(0x2b0)](_0xd3a63,_0x5cc8ff);}[_0x485e82(0x1cd)](_0x385566){var _0x10297e=_0x485e82,_0xe3d2ad,_0x1906ed,_0x264037;return(_0x264037=(_0x1906ed=(_0xe3d2ad=this[_0x10297e(0x1d0)])[_0x10297e(0x1d7)])==null?void 0x0:_0x1906ed['call'](_0xe3d2ad,_0x385566))!=null?_0x264037:_0x385566;}[_0x485e82(0x39d)](_0x4787a8){var _0x11992a=_0x485e82,_0x45a12a,_0x409b2c,_0xc04be3;return(_0xc04be3=(_0x409b2c=(_0x45a12a=this[_0x11992a(0x1d0)])[_0x11992a(0xd0)])==null?void 0x0:_0x409b2c[_0x11992a(0x2b0)](_0x45a12a,_0x4787a8))!=null?_0xc04be3:_0x4787a8;}[_0x485e82(0x2cc)](_0x2b2810){var _0x2e361e=_0x485e82,_0x362f41,_0x35a5d8;if(this[_0x2e361e(0x290)]===Q[_0x2e361e(0x315)]){const {unitID:_0xfe0e8b,mutations:_0x2f6753,memberID:_0x3368e6}=_0x2b2810,_0x41705e=_0x2f6753[_0x2e361e(0x398)]>0x0?_0x2f6753[0x0][_0x2e361e(0xdf)][_0x2e361e(0x330)]:[];Array[_0x2e361e(0x146)](_0x41705e)&&_0x41705e['length']>0x0&&((_0x35a5d8=(_0x362f41=this[_0x2e361e(0x1d0)])['onSyncEditingCollabCursor'])==null||_0x35a5d8[_0x2e361e(0x2b0)](_0x362f41,{'unitID':_0xfe0e8b,'memberID':_0x3368e6,'textRanges':_0x41705e}));}}[_0x485e82(0x323)](){var _0x14ab6c=_0x485e82,_0xe1a591;(_0xe1a591=this[_0x14ab6c(0x260)])==null||_0xe1a591[_0x14ab6c(0x12d)](this['unitID'],this[_0x14ab6c(0x290)],this[_0x14ab6c(0x385)],this[_0x14ab6c(0x1fd)]);}[_0x485e82(0x2ed)](){var _0x157e99=_0x485e82;return this[_0x157e99(0x2d6)][_0x157e99(0x2bc)](this[_0x157e99(0xc2)]);}[_0x485e82(0x338)](){var _0x21c03c=_0x485e82;this[_0x21c03c(0x2d6)][_0x21c03c(0x20b)](this[_0x21c03c(0xc2)]);}[_0x485e82(0x389)](_0x541a09){var _0x43d54f=_0x485e82,_0x3c865b;let _0xc1753b=this['_transformRemoteChangesetByIMECache'](_0x541a09);_0xc1753b=this[_0x43d54f(0x39d)](_0xc1753b);const _0x2e1fbf=_0x2fc42f(_0xc1753b['mutations'],this[_0x43d54f(0x1f5)],{'fromCollab':!0x0});if(!_0x2e1fbf['result'])throw _0x2e1fbf[_0x43d54f(0xd3)]instanceof Error?_0x2e1fbf[_0x43d54f(0xd3)]:new Error((_0x3c865b=_0x2e1fbf[_0x43d54f(0xd3)])!=null?_0x3c865b:_0x43d54f(0x131));this[_0x43d54f(0x1bf)](_0xc1753b),this[_0x43d54f(0x1d8)](_0xc1753b),this[_0x43d54f(0x324)](_0x541a09),this[_0x43d54f(0x2e6)](_0xc1753b),this[_0x43d54f(0x2cc)](_0xc1753b),this[_0x43d54f(0x338)]();}}let be=class extends ge{constructor(_0x595e65,_0x3b92c4,_0xfa2f8b,_0xa55817,_0x4480d0,_0x2795e,_0x1883ae,_0x220610,_0x4e5b4b,_0x129dc8){var _0x21a4db=_0x485e82;super(_0x595e65,_0x3b92c4,null,[],_0xfa2f8b,_0x1883ae,_0x2795e,_0xa55817,_0x129dc8),D(this,_0x21a4db(0xca),_0x21a4db(0x35f)),(this[_0x21a4db(0x1c7)]=_0x4480d0,this[_0x21a4db(0x2bf)]=_0x220610,this['_transformService']=_0x4e5b4b,this[_0x21a4db(0x3ad)]=_0x129dc8);}[_0x485e82(0x2e8)](_0x972123){var _0x2919d9=_0x485e82;const _0x1fe78b=this['_injector'][_0x2919d9(0x3ac)](ae,this[_0x2919d9(0xc2)],this['type'],[_0x972123],this[_0x2919d9(0x1d0)]);return _0x1fe78b[_0x2919d9(0x13b)](),_0x1fe78b[_0x2919d9(0x323)](),_0x1fe78b;}[_0x485e82(0x149)](_0x3f3f33){var _0x310cdf=_0x485e82;if(this[_0x310cdf(0x166)](_0x3f3f33))return this['_injector'][_0x310cdf(0x3ac)](ee,this[_0x310cdf(0xc2)],this[_0x310cdf(0x290)],null,[],null,[_0x3f3f33],this[_0x310cdf(0x1d0)]);try{const _0x46dbfc=this[_0x310cdf(0xdc)][_0x310cdf(0x1d1)](_0x3f3f33,[$s]);if(_0x4466da(_0x46dbfc)){const {c1Prime:_0x53b4ac}=_0x46dbfc;return this[_0x310cdf(0x389)](_0x53b4ac),this;}throw _0x46dbfc[_0x310cdf(0xd3)];}catch(_0x198c5c){return this[_0x310cdf(0x2bf)]['error'](_0x198c5c),this[_0x310cdf(0x111)](!0x1);}}[_0x485e82(0x111)](_0x22a6ae){var _0xffe80=_0x485e82;return this[_0xffe80(0x1c7)][_0xffe80(0x3ac)](ue,this[_0xffe80(0xc2)],this[_0xffe80(0x290)],null,[],this['_handler'],_0x22a6ae);}[_0x485e82(0x33c)](){var _0x2cf896=_0x485e82;throw new Error(_0x2cf896(0x342));}[_0x485e82(0x210)](){var _0x22b259=_0x485e82;throw new Error(_0x22b259(0x21b));}[_0x485e82(0x31b)](){return this;}[_0x485e82(0x24b)](){var _0x463828=_0x485e82;return this['_injector'][_0x463828(0x3ac)](de,this[_0x463828(0xc2)],this['type'],null,[],this[_0x463828(0x1d0)]);}[_0x485e82(0x213)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x5d947c=_0x485e82;const _0x52e494=this[_0x5d947c(0x2d6)]['getCurrentRevOfUnit'](this[_0x5d947c(0xc2)]);return this[_0x5d947c(0x1d0)]['onMissingChangesets']({'from':_0x52e494,'to':0x0}),this['_injector'][_0x5d947c(0x3ac)](ee,this[_0x5d947c(0xc2)],this[_0x5d947c(0x290)],null,[],null,[],this[_0x5d947c(0x1d0)]);}};be=Se([w(0x3,_0x16f7e6(_0x137391)),w(0x4,_0x16f7e6(_0x505898)),w(0x5,_0x158562),w(0x6,_0x36e989),w(0x7,_0x42253d),w(0x8,_0x53969a),w(0x9,_0x2d2a8a(J))],be);let ae=class extends ge{constructor(_0x457f47,_0x5a89c0,_0x15ab14,_0x8a1551,_0x2bc2ab,_0x3697cf,_0x2846a2,_0x332ebd,_0x361c50,_0x58ba68,_0x4ff99d,_0x2e9e75,_0x51ba98,_0x2034c2){var _0x2ebf37=_0x485e82;super(_0x457f47,_0x5a89c0,null,_0x15ab14,_0x8a1551,_0x361c50,_0x51ba98,_0x3697cf,_0x2034c2),D(this,_0x2ebf37(0xca),_0x2ebf37(0x320)),D(this,_0x2ebf37(0x386),null),D(this,'_sendingTimer',null),(this[_0x2ebf37(0x1c7)]=_0x2bc2ab,this['_memberService']=_0x2846a2,this[_0x2ebf37(0x2bf)]=_0x332ebd,this[_0x2ebf37(0x2a9)]=_0x58ba68,this[_0x2ebf37(0xdc)]=_0x4ff99d,this[_0x2ebf37(0x15f)]=_0x2e9e75);}['appendMutation'](_0x33f5b9){var _0x5c20cd=_0x485e82;return this[_0x5c20cd(0x1fd)][_0x5c20cd(0x223)](_0x33f5b9),this[_0x5c20cd(0x323)](),this;}[_0x485e82(0x149)](_0x13b921){var _0x35e590=_0x485e82;if(this[_0x35e590(0x166)](_0x13b921))return this['_clearScheduledTask'](),this[_0x35e590(0x1c7)][_0x35e590(0x3ac)](ee,this['unitID'],this[_0x35e590(0x290)],null,this[_0x35e590(0x1fd)],null,[_0x13b921],this[_0x35e590(0x1d0)]);try{const _0x22a3bb=this['_transformService']['transformMutationsWithChangeset'](_0x13b921,this[_0x35e590(0x1fd)]);if(_0x4466da(_0x22a3bb)){const {c1Prime:_0x5b4cab,m2Prime:_0x5c047e}=_0x22a3bb;this[_0x35e590(0x389)](_0x5b4cab);const _0x5e9b16=this[_0x35e590(0x1c7)][_0x35e590(0x3ac)](ae,this[_0x35e590(0xc2)],this['type'],_0x5c047e,this[_0x35e590(0x1d0)]);this[_0x35e590(0x287)]();const _0x440a53=new Date()[_0x35e590(0x103)](),_0x22e082=this[_0x35e590(0x386)]?Math[_0x35e590(0x14b)](this[_0x35e590(0x386)]-_0x440a53,0x0):this['_getSendChangesetTimeout']();return _0x5e9b16['_schedule'](_0x22e082),_0x5e9b16;}throw _0x22a3bb[_0x35e590(0xd3)];}catch(_0x607573){return this[_0x35e590(0x2bf)][_0x35e590(0xd3)](_0x607573),this[_0x35e590(0x111)](!0x1);}}[_0x485e82(0x33c)](){var _0x2fd4ae=_0x485e82;throw new Error(_0x2fd4ae(0x36e));}['onRemoteRej'](){var _0x4a968a=_0x485e82;throw new Error(_0x4a968a(0x3af));}[_0x485e82(0x31b)](){return this;}[_0x485e82(0x24b)](){var _0xa2b1bd=_0x485e82;return this[_0xa2b1bd(0x287)](),this[_0xa2b1bd(0x1c7)][_0xa2b1bd(0x3ac)](de,this[_0xa2b1bd(0xc2)],this[_0xa2b1bd(0x290)],null,this[_0xa2b1bd(0x1fd)],this[_0xa2b1bd(0x1d0)]);}[_0x485e82(0x213)](){return this;}[_0x485e82(0x13b)](_0x262fef){var _0x27b963=_0x485e82;const _0x4ae7a9=_0x262fef!=null?_0x262fef:this[_0x27b963(0x285)]();this[_0x27b963(0x386)]=new Date()[_0x27b963(0x103)]()+_0x4ae7a9,this['_sendingTimer']=setTimeout(()=>{var _0xe2702a=_0x27b963;this[_0xe2702a(0x287)]();let _0x38c53d=null;switch(this[_0xe2702a(0x290)]){case Q[_0xe2702a(0x1fe)]:{_0x38c53d=Gt(this['_pendingMutations'],this['unitID'],this[_0xe2702a(0x15f)],this['_revisionService'],this['_memberService']);break;}case Q[_0xe2702a(0x315)]:{this[_0xe2702a(0x1fd)][_0xe2702a(0xcd)](_0x16778e=>_0x16778e['id']===_0x5e9bfa['id'])?_0x38c53d=ks(this[_0xe2702a(0x1fd)],this[_0xe2702a(0xc2)],this['_univerInstanceService'],this[_0xe2702a(0x2d6)],this['_memberService']):_0x38c53d=Gt(this[_0xe2702a(0x1fd)],this['unitID'],this[_0xe2702a(0x15f)],this[_0xe2702a(0x2d6)],this[_0xe2702a(0x22f)]);break;}default:throw new Error(_0xe2702a(0x20f)+this[_0xe2702a(0x290)]+_0xe2702a(0x2e5));}const {changeset:_0x47582b,pendingMutations:_0x1e4375}=_0x38c53d;this['_handler']['onSendChangeset'](_0x47582b);const _0x4c8c58=_0x1e4375[_0xe2702a(0x398)]?this[_0xe2702a(0x1c7)][_0xe2702a(0x3ac)](oe,this['unitID'],this['type'],_0x47582b,_0x1e4375,this[_0xe2702a(0x1d0)],void 0x0):this[_0xe2702a(0x1c7)]['createInstance'](le,this[_0xe2702a(0xc2)],this[_0xe2702a(0x290)],_0x47582b,this['_handler']);_0x4c8c58['_updateLocalCache'](),this[_0xe2702a(0x1d0)][_0xe2702a(0x295)](this,_0x4c8c58);},_0x4ae7a9);}[_0x485e82(0x285)](){var _0x31d21e=_0x485e82,_0x440342;const _0x3a50fe=this['_configService']['getConfig'](K);return(_0x440342=_0x3a50fe==null?void 0x0:_0x3a50fe[_0x31d21e(0x12a)])!=null?_0x440342:ps;}[_0x485e82(0x2e2)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x485e82(0x287)](){var _0x542de1=_0x485e82;this[_0x542de1(0xe3)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x542de1(0xe3)]=null);}['_onConflict'](_0x1ceb51){var _0x8b6222=_0x485e82;return this[_0x8b6222(0x287)](),this[_0x8b6222(0x1c7)][_0x8b6222(0x3ac)](ue,this['unitID'],this['type'],null,this[_0x8b6222(0x1fd)],this['_handler'],_0x1ceb51);}};ae=Se([w(0x4,_0x16f7e6(_0x505898)),w(0x5,_0x16f7e6(_0x137391)),w(0x6,_0x16f7e6(Pe)),w(0x7,_0x42253d),w(0x8,_0x36e989),w(0x9,_0x4ba4ee),w(0xa,_0x53969a),w(0xb,_0x10b82e),w(0xc,_0x158562),w(0xd,_0x2d2a8a(J))],ae);let le=class extends ge{constructor(_0xf16cb2,_0x3d0f59,_0x216bcd,_0x58d3b9,_0x3cc274,_0x5f233b,_0x1aae04,_0x3a5b67,_0x4fcda6,_0x30cc6f,_0x370591){var _0x1f51b7=_0x485e82;super(_0xf16cb2,_0x3d0f59,_0x216bcd,[],_0x58d3b9,_0x1aae04,_0x30cc6f,_0x5f233b,_0x370591),D(this,_0x1f51b7(0xca),_0x1f51b7(0x236)),D(this,'_resendTimeout',0x0),D(this,_0x1f51b7(0x368)),D(this,'_sender'),(this['_injector']=_0x3cc274,this['_logService']=_0x3a5b67,this[_0x1f51b7(0xdc)]=_0x4fcda6);}[_0x485e82(0x2e8)](_0x2d0241){var _0x5b3dd4=_0x485e82;this[_0x5b3dd4(0x287)]();const _0x1ce8ea=this[_0x5b3dd4(0x1c7)][_0x5b3dd4(0x3ac)](oe,this[_0x5b3dd4(0xc2)],this[_0x5b3dd4(0x290)],this[_0x5b3dd4(0x385)],[_0x2d0241],this[_0x5b3dd4(0x1d0)],this['_resendTimer']);return _0x1ce8ea['_updateLocalCache'](),_0x1ce8ea;}[_0x485e82(0x149)](_0x11c90d){var _0xb8138d=_0x485e82;if(this[_0xb8138d(0x166)](_0x11c90d))return this[_0xb8138d(0x287)](),this[_0xb8138d(0x1c7)][_0xb8138d(0x3ac)](ee,this[_0xb8138d(0xc2)],this['type'],this[_0xb8138d(0x385)],[],null,[_0x11c90d],this[_0xb8138d(0x1d0)]);try{const _0x4b5b10=this[_0xb8138d(0xdc)][_0xb8138d(0x1ea)]([_0x11c90d],[this['_awaitingChangeset']],!0x1);if(_0x48e9e1(_0x4b5b10)){const {c1Prime:_0x18712d,c2Prime:_0x571b8a}=_0x4b5b10;this[_0xb8138d(0x389)](_0x18712d[0x0]),_0x571b8a[0x0][_0xb8138d(0x334)]=this[_0xb8138d(0x2ed)](),this[_0xb8138d(0x287)]();const _0x2e0869=this['_injector'][_0xb8138d(0x3ac)](le,this[_0xb8138d(0xc2)],this[_0xb8138d(0x290)],_0x571b8a[0x0],this[_0xb8138d(0x1d0)]);return _0x2e0869['_updateLocalCache'](),_0x2e0869;}return this[_0xb8138d(0x111)](!0x1);}catch(_0x226eb8){return this[_0xb8138d(0x2bf)][_0xb8138d(0xd3)](_0x226eb8),this[_0xb8138d(0x111)](!0x1);}}[_0x485e82(0x33c)](_0x355cdb){var _0x31c5dc=_0x485e82;this['_clearScheduledTask']();const _0x3663a9=this['_revisionService'][_0x31c5dc(0x2bc)](this[_0x31c5dc(0xc2)]);if(_0x355cdb[_0x31c5dc(0x141)]<_0x3663a9-0x1)return this;if(this[_0x31c5dc(0x166)](_0x355cdb))return this[_0x31c5dc(0x1c7)]['createInstance'](ee,this[_0x31c5dc(0xc2)],this['type'],null,[],this[_0x31c5dc(0x385)],[],this['_handler']);this[_0x31c5dc(0x338)]();const _0x1d9f21=this[_0x31c5dc(0x1c7)]['createInstance'](be,this[_0x31c5dc(0xc2)],this[_0x31c5dc(0x290)],this[_0x31c5dc(0x1d0)]);return _0x1d9f21[_0x31c5dc(0x323)](),_0x1d9f21;}[_0x485e82(0x210)](_0x1d65b1){var _0x1a369d=_0x485e82;return this[_0x1a369d(0x111)](!!(_0x1d65b1!=null&&_0x1d65b1[_0x1a369d(0x2b1)]));}[_0x485e82(0x31b)](_0x10f6fb){var _0x58867f=_0x485e82;return this[_0x58867f(0x34c)]>gi?this[_0x58867f(0x24b)]():(this[_0x58867f(0x368)]=Ii(this[_0x58867f(0x34c)],{'timeout':this[_0x58867f(0x34c)],'reqId':_0x10f6fb[_0x58867f(0x363)]}),this[_0x58867f(0x36a)]=this[_0x58867f(0x368)][_0x58867f(0x336)](({reqId:_0x1e81cb,timeout:_0x3fd9c5})=>{var _0x5764ec=_0x58867f;this[_0x5764ec(0x226)](_0x1e81cb,_0x3fd9c5);}),this);}[_0x485e82(0x24b)](){var _0x51ae0e=_0x485e82;return this[_0x51ae0e(0x287)](),this[_0x51ae0e(0x1c7)][_0x51ae0e(0x3ac)](de,this[_0x51ae0e(0xc2)],this[_0x51ae0e(0x290)],this[_0x51ae0e(0x385)],[],this[_0x51ae0e(0x1d0)]);}[_0x485e82(0x213)](){return this;}[_0x485e82(0x2e2)](){var _0x37ac2d=_0x485e82;this[_0x37ac2d(0x1d0)]['onSendChangeset'](this[_0x37ac2d(0x385)]);}[_0x485e82(0x111)](_0xaa7111){var _0x13e11c=_0x485e82;return this[_0x13e11c(0x287)](),this[_0x13e11c(0x1c7)][_0x13e11c(0x3ac)](ue,this['unitID'],this[_0x13e11c(0x290)],this[_0x13e11c(0x385)],[],this[_0x13e11c(0x1d0)],_0xaa7111);}[_0x485e82(0x226)](_0x272c0b,_0x1a1364){var _0x8bf213=_0x485e82,_0x37a4bf;_0x272c0b===((_0x37a4bf=this['_awaitingChangeset'])==null?void 0x0:_0x37a4bf[_0x8bf213(0x363)])&&(this[_0x8bf213(0x2e2)](),this[_0x8bf213(0x34c)]=_0x1a1364===0x0?0x3e8:_0x1a1364*0x2);}['_clearScheduledTask'](){var _0x1af7dc=_0x485e82,_0x3d123c;(_0x3d123c=this[_0x1af7dc(0x36a)])==null||_0x3d123c[_0x1af7dc(0x312)](),this[_0x1af7dc(0x34c)]=0x0;}};le=Se([w(0x4,_0x16f7e6(_0x505898)),w(0x5,_0x16f7e6(_0x137391)),w(0x6,_0x36e989),w(0x7,_0x42253d),w(0x8,_0x53969a),w(0x9,_0x158562),w(0xa,_0x2d2a8a(J))],le);let oe=class extends ge{constructor(_0x3c743f,_0x3d4882,_0x52f84e,_0x1306b1,_0x40d4c7,_0x132593,_0x2fb572,_0x28c27f,_0x38f82f,_0x557cf9,_0x240307,_0xbe645,_0x584eff){var _0x2ef9e8=_0x485e82;super(_0x3c743f,_0x3d4882,_0x52f84e,_0x1306b1,_0x40d4c7,_0x38f82f,_0xbe645,_0x28c27f,_0x584eff),D(this,'status','awaiting_with_pending'),D(this,_0x2ef9e8(0x34c),0x0),D(this,_0x2ef9e8(0x368)),D(this,_0x2ef9e8(0x36a)),(this['_injector']=_0x2fb572,this[_0x2ef9e8(0x2bf)]=_0x557cf9,this[_0x2ef9e8(0xdc)]=_0x240307,this[_0x2ef9e8(0x3ad)]=_0x584eff,_0x132593&&(this[_0x2ef9e8(0x368)]=_0x132593,this[_0x2ef9e8(0x36a)]=this[_0x2ef9e8(0x368)]['subscribe'](({reqId:_0x255493,timeout:_0x34bc2e})=>{var _0x32196b=_0x2ef9e8;this[_0x32196b(0x226)](_0x255493,_0x34bc2e);})));}[_0x485e82(0x2e8)](_0x3a31a3){var _0x18ccbd=_0x485e82;return this[_0x18ccbd(0x1fd)][_0x18ccbd(0x223)](_0x3a31a3),this;}[_0x485e82(0x149)](_0x5a187a){var _0x168f7a=_0x485e82;if(this[_0x168f7a(0x166)](_0x5a187a))return this[_0x168f7a(0x287)](),this[_0x168f7a(0x1c7)][_0x168f7a(0x3ac)](ee,this[_0x168f7a(0xc2)],this[_0x168f7a(0x290)],this[_0x168f7a(0x385)],this[_0x168f7a(0x1fd)],null,[_0x5a187a],this[_0x168f7a(0x1d0)]);try{const _0x5dc95f=this[_0x168f7a(0xdc)][_0x168f7a(0x1ea)]([_0x5a187a],[this[_0x168f7a(0x385)]],!0x1);if(_0x48e9e1(_0x5dc95f)){const {c1Prime:_0x2571b4,c2Prime:_0x430906}=_0x5dc95f,_0x26855d=this[_0x168f7a(0xdc)]['transformMutationsWithChangeset'](_0x2571b4[0x0],this['_pendingMutations']);if(_0x4466da(_0x26855d)){const {c1Prime:_0x1f44d6,m2Prime:_0x548e91}=_0x26855d;return this[_0x168f7a(0x389)](_0x1f44d6),_0x430906[0x0]['baseRev']=this[_0x168f7a(0x2ed)](),this[_0x168f7a(0x287)](),this[_0x168f7a(0x1c7)][_0x168f7a(0x3ac)](oe,this['unitID'],this['type'],_0x430906[0x0],_0x548e91,this[_0x168f7a(0x1d0)],void 0x0);}throw _0x26855d['error'];}throw _0x5dc95f[_0x168f7a(0xd3)];}catch(_0x2ccf3b){return this[_0x168f7a(0x2bf)]['error'](_0x2ccf3b),this[_0x168f7a(0x111)](!0x1);}}['onRemoteAck'](_0x45f9c3){var _0x2eb8c8=_0x485e82;if(this[_0x2eb8c8(0x287)](),this[_0x2eb8c8(0x166)](_0x45f9c3))return this['_injector'][_0x2eb8c8(0x3ac)](ee,this[_0x2eb8c8(0xc2)],this['type'],null,this[_0x2eb8c8(0x1fd)],this[_0x2eb8c8(0x385)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x1cf8ec=this[_0x2eb8c8(0x1c7)]['createInstance'](ae,this['unitID'],this[_0x2eb8c8(0x290)],this[_0x2eb8c8(0x1fd)],this['_handler']);return _0x1cf8ec[_0x2eb8c8(0x13b)](),_0x1cf8ec[_0x2eb8c8(0x323)](),_0x1cf8ec;}[_0x485e82(0x210)](_0x7dac59){var _0x4f6518=_0x485e82;return this[_0x4f6518(0x111)](!!(_0x7dac59!=null&&_0x7dac59[_0x4f6518(0x2b1)]));}['onRemoteRetry'](_0x1ec008){var _0xbd8ede=_0x485e82;return this['_resendTimeout']>gi?this[_0xbd8ede(0x24b)]():(this[_0xbd8ede(0x368)]=Ii(this[_0xbd8ede(0x34c)],{'timeout':this[_0xbd8ede(0x34c)],'reqId':_0x1ec008[_0xbd8ede(0x363)]}),this['_sender']=this[_0xbd8ede(0x368)][_0xbd8ede(0x336)](({reqId:_0x3c6ed1,timeout:_0x457399})=>{var _0x543c34=_0xbd8ede;this[_0x543c34(0x226)](_0x3c6ed1,_0x457399);}),this);}[_0x485e82(0x24b)](){var _0x4bde86=_0x485e82;return this['_clearScheduledTask'](),this[_0x4bde86(0x1c7)][_0x4bde86(0x3ac)](de,this[_0x4bde86(0xc2)],this[_0x4bde86(0x290)],this[_0x4bde86(0x385)],this[_0x4bde86(0x1fd)],this[_0x4bde86(0x1d0)]);}[_0x485e82(0x213)](){return this;}[_0x485e82(0x2e2)](){var _0x1dac37=_0x485e82;this[_0x1dac37(0x1d0)]['onSendChangeset'](this[_0x1dac37(0x385)]);}[_0x485e82(0x111)](_0x3ceb36){var _0x218aab=_0x485e82;return this[_0x218aab(0x287)](),this[_0x218aab(0x1c7)][_0x218aab(0x3ac)](ue,this[_0x218aab(0xc2)],this[_0x218aab(0x290)],null,this[_0x218aab(0x1fd)],this['_handler'],_0x3ceb36);}[_0x485e82(0x226)](_0x592cfb,_0x2a32dc){var _0x4ae23f=_0x485e82,_0x3a2122;_0x592cfb===((_0x3a2122=this['_awaitingChangeset'])==null?void 0x0:_0x3a2122[_0x4ae23f(0x363)])&&(this[_0x4ae23f(0x2e2)](),this['_resendTimeout']=_0x2a32dc===0x0?0x3e8:_0x2a32dc*0x2);}[_0x485e82(0x287)](){var _0x2cb8a1=_0x485e82,_0x3d87f8;(_0x3d87f8=this[_0x2cb8a1(0x36a)])==null||_0x3d87f8[_0x2cb8a1(0x312)](),this[_0x2cb8a1(0x34c)]=0x0;}};oe=Se([w(0x6,_0x16f7e6(_0x505898)),w(0x7,_0x16f7e6(_0x137391)),w(0x8,_0x36e989),w(0x9,_0x42253d),w(0xa,_0x53969a),w(0xb,_0x158562),w(0xc,_0x2d2a8a(J))],oe);let ue=class extends ge{constructor(_0x2d6178,_0x3cf8b6,_0xb40867,_0x55d5ef,_0x2935b7,_0x1a568e=!0x1,_0x3adcb0,_0x3c6968,_0x1d2259,_0x21766c,_0x23e7a2,_0x12c586,_0xdaf3ba){var _0x1b8e93=_0x485e82;super(_0x2d6178,_0x3cf8b6,_0xb40867,_0x55d5ef,_0x2935b7,_0x3c6968,_0x1d2259,_0x21766c,_0xdaf3ba),D(this,'status',_0x1b8e93(0xd5)),(this[_0x1b8e93(0x262)]=_0x1a568e,this[_0x1b8e93(0x240)]=_0x3adcb0,this[_0x1b8e93(0xcf)]=_0x23e7a2,this[_0x1b8e93(0x284)]=_0x12c586,this['localCacheService']=_0xdaf3ba,this[_0x1b8e93(0x247)](),this[_0x1b8e93(0x1ff)](),this[_0x1b8e93(0x219)]());}[_0x485e82(0x2e8)](){return this;}[_0x485e82(0x149)](){return this;}[_0x485e82(0x33c)](){return this;}['onRemoteRej'](){return this;}[_0x485e82(0x31b)](){return this;}['toggleOffline'](){return this;}[_0x485e82(0x213)](){return this;}[_0x485e82(0x2e2)](){var _0x2a9c09=_0x485e82;throw new Error(_0x2a9c09(0x2ec));}[_0x485e82(0x1ff)](){var _0x23d25a=_0x485e82,_0x50cfd5;(_0x50cfd5=this[_0x23d25a(0x260)])==null||_0x50cfd5['updateOfflineData'](this[_0x23d25a(0xc2)],this[_0x23d25a(0x290)],null,[]);}['_showConflictNotification'](){var _0x19be45=_0x485e82;this[_0x19be45(0x262)]?this['_collaborationUIEventService'][_0x19be45(0x2b7)]({'id':re[_0x19be45(0xe5)]}):this[_0x19be45(0x284)][_0x19be45(0x2b7)]({'id':re['CONFLICT']});}['_disableEditing'](){var _0x322f5b=_0x485e82;this[_0x322f5b(0x240)]['updatePermissionPoint'](new _0xf84fa3(this[_0x322f5b(0xc2)])['id'],!0x1);}};ue=Se([w(0x6,_0x16f7e6(_0x569f27)),w(0x7,_0x36e989),w(0x8,_0x158562),w(0x9,_0x16f7e6(_0x137391)),w(0xa,_0x16f7e6(_0x1f34f9)),w(0xb,_0x16f7e6(ve)),w(0xc,_0x2d2a8a(J))],ue);let de=class extends ge{constructor(_0x165821,_0x1bffcc,_0x2445ac,_0xaee21d,_0x46391e,_0x305f7b,_0x5e2e54,_0x372413,_0x4a3c86,_0x3b1b79){var _0x4c4d8e=_0x485e82;super(_0x165821,_0x1bffcc,_0x2445ac,_0xaee21d,_0x46391e,_0x372413,_0x4a3c86,_0x5e2e54,_0x3b1b79),D(this,_0x4c4d8e(0xca),'offline'),this[_0x4c4d8e(0x1c7)]=_0x305f7b;}['appendMutation'](_0x23fe8e){var _0x318aac=_0x485e82;return this[_0x318aac(0x1fd)][_0x318aac(0x223)](_0x23fe8e),this[_0x318aac(0x323)](),this;}[_0x485e82(0x149)](_0x442a62){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x485e82(0x33c)](){var _0x1f84bb=_0x485e82;throw new Error(_0x1f84bb(0x1dd));}[_0x485e82(0x210)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x485e82(0x31b)](){return this;}[_0x485e82(0x24b)](){return this;}[_0x485e82(0x213)](){var _0x4fc56a=_0x485e82;const {_injector:_0x164cea,_pendingMutations:_0x390e76,_awaitingChangeset:_0x2939b7,unitID:_0x1aff64,_handler:_0x5d988c,type:_0x2534f3}=this,_0x23c10e=Ti(_0x164cea,_0x1aff64,_0x2534f3,_0x2939b7,_0x390e76,_0x5d988c);return _0x23c10e instanceof ae?_0x23c10e['_schedule']():(_0x23c10e instanceof oe||_0x23c10e instanceof le)&&_0x23c10e[_0x4fc56a(0x2e2)](),_0x23c10e;}[_0x485e82(0x2e2)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x16f7e6(_0x505898)),w(0x6,_0x16f7e6(_0x137391)),w(0x7,_0x36e989),w(0x8,_0x158562),w(0x9,_0x2d2a8a(J))],de);let ee=class extends ge{constructor(_0x25db8b,_0x4dbaa0,_0x136ae2,_0x34a67b,_0x37af46,_0x27fda5,_0x2d227f,_0x1935a8,_0x589c3d,_0x182731,_0x112199,_0x3de5c4,_0x4e1143,_0x293c59){var _0x9a1837=_0x485e82;super(_0x25db8b,_0x4dbaa0,_0x136ae2,_0x34a67b,_0x2d227f,_0x112199,_0x3de5c4,_0x589c3d,_0x293c59),D(this,_0x9a1837(0xca),_0x9a1837(0x25c)),(this['_acknowledgedAwaitingChangeset']=_0x37af46,this[_0x9a1837(0x393)]=_0x27fda5,this[_0x9a1837(0x1c7)]=_0x1935a8,this[_0x9a1837(0x2bf)]=_0x182731,this[_0x9a1837(0xdc)]=_0x4e1143,this[_0x9a1837(0x3ad)]=_0x293c59);}[_0x485e82(0x3aa)](_0x151168){var _0x228b7f=_0x485e82;try{const _0x155065=[..._0x151168,...this[_0x228b7f(0x393)]],_0x3473af=[this['_awaitingChangeset']||this[_0x228b7f(0x2d9)]][_0x228b7f(0x362)](_0x40d0b5=>!!_0x40d0b5);let _0xaf5c2a,_0x116c8e;if(_0x3473af[_0x228b7f(0x398)]){const _0x1c61ca=this[_0x228b7f(0xdc)]['transformChangesets'](_0x155065,_0x3473af,!0x1);if(!_0x48e9e1(_0x1c61ca))throw _0x1c61ca[_0x228b7f(0xd3)];_0xaf5c2a=_0x1c61ca[_0x228b7f(0x28c)],_0x116c8e=_0x1c61ca['c2Prime'];}else _0xaf5c2a=_0x155065,_0x116c8e=[];let _0x573c8f=this[_0x228b7f(0x1fd)];_0xaf5c2a[_0x228b7f(0x30c)](_0x5ca2b1=>{var _0x475ff2=_0x228b7f;let _0x326119;if(_0x573c8f[_0x475ff2(0x398)]){const _0x27adb8=this['_transformService'][_0x475ff2(0x1d1)](_0x5ca2b1,_0x573c8f);if(!_0x4466da(_0x27adb8))throw _0x27adb8['error'];_0x326119=_0x27adb8['c1Prime'],_0x573c8f=_0x27adb8['m2Prime'];}else _0x326119=_0x5ca2b1;this[_0x475ff2(0x389)](_0x326119);}),this['_acknowledgedAwaitingChangeset']&&this[_0x228b7f(0x338)](),this['_awaitingChangeset']&&_0x116c8e[_0x228b7f(0x398)]&&(_0x116c8e[0x0]['baseRev']=this[_0x228b7f(0x2ed)]());let _0x38ca05;if(this['_awaitingChangeset']&&_0x573c8f[_0x228b7f(0x398)]!==0x0)_0x38ca05=this['_injector'][_0x228b7f(0x3ac)](oe,this[_0x228b7f(0xc2)],this[_0x228b7f(0x290)],_0x116c8e[0x0],_0x573c8f,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x573c8f[_0x228b7f(0x398)]===0x0)_0x116c8e[0x0]['baseRev']=this[_0x228b7f(0x2ed)](),_0x38ca05=this[_0x228b7f(0x1c7)][_0x228b7f(0x3ac)](le,this[_0x228b7f(0xc2)],this[_0x228b7f(0x290)],_0x116c8e[0x0],this['_handler']);else{if(_0x573c8f['length']!==0x0){const _0x5d6bb5=this[_0x228b7f(0x1c7)][_0x228b7f(0x3ac)](ae,this[_0x228b7f(0xc2)],this[_0x228b7f(0x290)],_0x573c8f,this['_handler']);_0x5d6bb5[_0x228b7f(0x13b)](),_0x38ca05=_0x5d6bb5;}else _0x38ca05=this['_injector'][_0x228b7f(0x3ac)](be,this['unitID'],this[_0x228b7f(0x290)],this[_0x228b7f(0x1d0)]);}}return _0x38ca05[_0x228b7f(0x323)](),_0x38ca05;}catch(_0x4824d3){return this[_0x228b7f(0x2bf)][_0x228b7f(0xd3)](_0x228b7f(0x255),_0x228b7f(0x27b),_0x4824d3),this[_0x228b7f(0x1c7)][_0x228b7f(0x3ac)](ue,this[_0x228b7f(0xc2)],this[_0x228b7f(0x290)],this[_0x228b7f(0x385)],this['_pendingMutations'],this[_0x228b7f(0x1d0)],!0x1);}}[_0x485e82(0x2e2)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x485e82(0x2e8)](_0x4184f3){var _0xaf5767=_0x485e82;return this[_0xaf5767(0x1fd)]['push'](_0x4184f3),this;}[_0x485e82(0x149)](_0x2e0f49){var _0x419a06=_0x485e82;return this[_0x419a06(0x393)][_0x419a06(0x223)](_0x2e0f49),this;}[_0x485e82(0x33c)](_0x44f0ce){var _0x2eaae5=_0x485e82;if(this[_0x2eaae5(0x385)])return this[_0x2eaae5(0x2d9)]=this[_0x2eaae5(0x385)],this[_0x2eaae5(0x385)]=null,this;throw new Error(_0x2eaae5(0x241));}[_0x485e82(0x210)](_0xfb36f5){var _0x2b4192=_0x485e82;return this[_0x2b4192(0x111)](!!(_0xfb36f5!=null&&_0xfb36f5[_0x2b4192(0x2b1)]));}[_0x485e82(0x31b)](){return this;}[_0x485e82(0x24b)](){var _0x52d10d=_0x485e82;return this[_0x52d10d(0x1c7)][_0x52d10d(0x3ac)](de,this['unitID'],this[_0x52d10d(0x290)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x52d10d(0x1d0)]);}[_0x485e82(0x213)](){return this;}['_onConflict'](_0xa3b175){var _0x49d7ec=_0x485e82;return this[_0x49d7ec(0x1c7)]['createInstance'](ue,this['unitID'],this[_0x49d7ec(0x290)],this[_0x49d7ec(0x385)],this[_0x49d7ec(0x1fd)],this[_0x49d7ec(0x1d0)],_0xa3b175);}};ee=Se([w(0x7,_0x16f7e6(_0x505898)),w(0x8,_0x16f7e6(_0x137391)),w(0x9,_0x42253d),w(0xa,_0x36e989),w(0xb,_0x158562),w(0xc,_0x53969a),w(0xd,_0x2d2a8a(J))],ee);function Ti(_0x3586ba,_0x17a0d7,_0x1e17ab,_0x380552,_0x1ec9a6,_0x43816d){var _0xfebc0b=_0x485e82;return _0x380552&&_0x1ec9a6['length']?_0x3586ba[_0xfebc0b(0x3ac)](oe,_0x17a0d7,_0x1e17ab,_0x380552,_0x1ec9a6,_0x43816d,void 0x0):_0x380552?_0x3586ba[_0xfebc0b(0x3ac)](le,_0x17a0d7,_0x1e17ab,_0x380552,_0x43816d):_0x1ec9a6[_0xfebc0b(0x398)]?_0x3586ba['createInstance'](ae,_0x17a0d7,_0x1e17ab,_0x1ec9a6,_0x43816d):_0x3586ba[_0xfebc0b(0x3ac)](be,_0x17a0d7,_0x1e17ab,_0x43816d);}var Bs=Object['getOwnPropertyDescriptor'],Pt=(_0x5d6cc0,_0x3b4498,_0x40debd,_0x586381)=>{var _0x597455=_0x485e82;for(var _0x1c5ce4=_0x586381>0x1?void 0x0:_0x586381?Bs(_0x3b4498,_0x40debd):_0x3b4498,_0x504274=_0x5d6cc0[_0x597455(0x398)]-0x1,_0x189ea5;_0x504274>=0x0;_0x504274--)(_0x189ea5=_0x5d6cc0[_0x504274])&&(_0x1c5ce4=_0x189ea5(_0x1c5ce4)||_0x1c5ce4);return _0x1c5ce4;},$=(_0x166854,_0x3931d8)=>(_0x233094,_0x36ee3a)=>_0x3931d8(_0x233094,_0x36ee3a,_0x166854);let st=class extends _0x5c9f6a{constructor(_0x47e1e6,_0x347543,_0x239ae3,_0x125a0a,_0x16e888,_0x4458a6,_0x2aa94a,_0x37520b,_0x425aa2,_0x543aa8,_0x3f5af0,_0x1d1d57,_0x10e7e1,_0x24eba3){var _0x3d6e5b=_0x485e82;super(),D(this,'_state$',new _0x44eac9(null)),D(this,'state$',this[_0x3d6e5b(0x276)][_0x3d6e5b(0x3a0)]()),D(this,_0x3d6e5b(0x372)),D(this,_0x3d6e5b(0x313),!0x1),D(this,_0x3d6e5b(0x2ac),''),D(this,_0x3d6e5b(0xf9),0x0),D(this,_0x3d6e5b(0x3ae),this[_0x3d6e5b(0x1b1)][_0x3d6e5b(0x17b)](_0x3fc4c3(_0x32bb18=>_0x32bb18?_0x32bb18[_0x3d6e5b(0xca)]:Si[_0x3d6e5b(0x263)]),_0x390a4b(0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x3d6e5b(0xe9),[]),(this[_0x3d6e5b(0xc2)]=_0x47e1e6,this[_0x3d6e5b(0x167)]=_0x347543,this['_type']=_0x239ae3,this[_0x3d6e5b(0x1c7)]=_0x125a0a,this[_0x3d6e5b(0x371)]=_0x16e888,this[_0x3d6e5b(0xcf)]=_0x4458a6,this[_0x3d6e5b(0x2d6)]=_0x2aa94a,this[_0x3d6e5b(0x3ab)]=_0x37520b,this['_univerInstanceService']=_0x425aa2,this[_0x3d6e5b(0x2bf)]=_0x543aa8,this['_commandService']=_0x3f5af0,this['_permissionService']=_0x1d1d57,this[_0x3d6e5b(0x1e7)]=_0x10e7e1,this['_localCacheService']=_0x24eba3);}get['state'](){return this['_state'];}async[_0x485e82(0x316)](){var _0x2b75c8=_0x485e82;if(this[_0x2b75c8(0x225)])throw new Error(_0x2b75c8(0x319));await this[_0x2b75c8(0x17f)]();}['pauseCollaboration'](){var _0x8ce113=_0x485e82;return this[_0x8ce113(0x313)]=!0x0,_0x3b0588(()=>{var _0x5258f0=_0x8ce113;this[_0x5258f0(0x313)]=!0x1,this[_0x5258f0(0x274)]();});}[_0x485e82(0x1e8)](_0x2df122){var _0x366cf9=_0x485e82;this[_0x366cf9(0x1ed)](_0x2df122);}['_updateState'](_0x465050){var _0xe7be08=_0x485e82;this[_0xe7be08(0x372)]=_0x465050,this[_0xe7be08(0x276)]['next'](_0x465050);}async[_0x485e82(0x17f)](){var _0x246498=_0x485e82,_0x86e189;this[_0x246498(0x283)](await this[_0x246498(0x20a)]()),this['_singleActiveUnitService']&&((_0x86e189=this['_singleActiveUnitService'])==null||_0x86e189[_0x246498(0x24c)](this[_0x246498(0xc2)]),this['disposeWithMe'](this[_0x246498(0x1e7)][_0x246498(0x180)](this[_0x246498(0xc2)])[_0x246498(0x336)](_0x470bc0=>{var _0x2e5e7b=_0x246498;this['_logService']['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x470bc0),_0x470bc0===mi[_0x2e5e7b(0x1ec)]?(this['_eventService'][_0x2e5e7b(0x2b7)]({'id':re[_0x2e5e7b(0x1bb)]}),this[_0x2e5e7b(0x240)][_0x2e5e7b(0x369)](new _0xf84fa3(this[_0x2e5e7b(0xc2)])['id'],!0x1),this[_0x2e5e7b(0x240)][_0x2e5e7b(0xd8)](!0x1)):(this[_0x2e5e7b(0x240)][_0x2e5e7b(0x369)](new _0xf84fa3(this[_0x2e5e7b(0xc2)])['id'],!0x0),this[_0x2e5e7b(0x240)][_0x2e5e7b(0xd8)](!0x0));})));let _0x3c1d5a=!0x1;return this[_0x246498(0x139)](this[_0x246498(0x167)][_0x246498(0x116)]['subscribe'](_0x5d3b76=>{var _0x41c1f1=_0x246498;_0x5d3b76===me[_0x41c1f1(0xfa)]?this['_toggleOnline'](_0x3c1d5a):_0x5d3b76===me[_0x41c1f1(0x263)]&&(_0x3c1d5a=!0x0,this[_0x41c1f1(0x341)]());})),this[_0x246498(0x139)](this[_0x246498(0x167)][_0x246498(0x18a)][_0x246498(0x336)](_0x5a6b08=>{var _0x2395f5=_0x246498;try{switch(_0x5a6b08['eventID']){case _0x37ce0d[_0x2395f5(0x1fb)]:{this[_0x2395f5(0xc8)](_0x55afac(_0x5a6b08[_0x2395f5(0x3ca)]));break;}case _0x37ce0d['CHANGESET_ACK']:{this[_0x2395f5(0x291)](_0x5a6b08[_0x2395f5(0x3ca)]);break;}case _0x37ce0d[_0x2395f5(0x2da)]:{this[_0x2395f5(0x1e5)]();break;}case _0x37ce0d[_0x2395f5(0x2cd)]:{this[_0x2395f5(0x104)](_0x5a6b08[_0x2395f5(0x3ca)]);break;}case _0x37ce0d[_0x2395f5(0x176)]:{this['_onFetchMissResult'](_0x5a6b08['data'][_0x2395f5(0x314)][_0x2395f5(0x366)](_0x56a1a1=>_0x55afac(_0x56a1a1)));break;}case _0x37ce0d['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x37ce0d[_0x2395f5(0x136)]:break;}}catch(_0x284ebe){throw console[_0x2395f5(0xd3)]('Error\x20on\x20receiving\x20event',_0x284ebe),_0x284ebe;}})),this[_0x246498(0x372)];}['_unlockTransition'](){var _0x3f326d=_0x485e82;this[_0x3f326d(0x2c0)]=!0x1;}[_0x485e82(0x158)](){var _0x18cb29=_0x485e82;if(this[_0x18cb29(0x2c0)])throw new Error(_0x18cb29(0xe4));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x750b6c){var _0x82d8ea=_0x485e82;this[_0x82d8ea(0x158)](),this[_0x82d8ea(0x283)](this[_0x82d8ea(0x372)]['appendMutation'](_0x750b6c)),this[_0x82d8ea(0x231)]();}[_0x485e82(0xc8)](_0x4f6299){var _0x275ba4=_0x485e82;if(!(_0x4f6299['revision']<=this[_0x275ba4(0x2d6)]['getCurrentRevOfUnit'](this[_0x275ba4(0xc2)]))){if(this[_0x275ba4(0x313)]){this[_0x275ba4(0xe9)][_0x275ba4(0x223)](_0x4f6299);return;}this[_0x275ba4(0x2e0)](_0x4f6299);}}[_0x485e82(0x274)](){var _0x5cf4ea=_0x485e82;this[_0x5cf4ea(0xe9)][_0x5cf4ea(0x30c)](_0x27cff1=>this['_applyRemoteChangeset'](_0x27cff1)),this['_remoteChangesetQueue']=[];}[_0x485e82(0x2e0)](_0xe0ec05){var _0x2fb325=_0x485e82;const _0x1485f8=this['_compressMutationService'][_0x2fb325(0x396)][_0x2fb325(0x346)](this[_0x2fb325(0x371)]['interceptor'][_0x2fb325(0x113)]()[_0x2fb325(0x3cf)])(_0xe0ec05[_0x2fb325(0x2aa)],null)||_0xe0ec05[_0x2fb325(0x2aa)],_0x581d0c={..._0xe0ec05,'mutations':_0x1485f8};this[_0x2fb325(0x158)](),this[_0x2fb325(0x283)](this['_state'][_0x2fb325(0x149)](_0x581d0c)),this[_0x2fb325(0x231)]();}[_0x485e82(0x291)](_0x2fc19b){var _0x5f0167=_0x485e82;this[_0x5f0167(0x158)](),this['_updateState'](this['_state'][_0x5f0167(0x33c)](_0x2fc19b)),this[_0x5f0167(0x231)]();}['_onRemoteRejected'](_0xa96596){var _0x4f9dae=_0x485e82;this[_0x4f9dae(0x158)](),this[_0x4f9dae(0x283)](this['_state']['onRemoteRej'](_0xa96596)),this[_0x4f9dae(0x231)]();}[_0x485e82(0x104)](_0x5d11dc){var _0x4d1811=_0x485e82;this[_0x4d1811(0x158)](),this[_0x4d1811(0x283)](this['_state'][_0x4d1811(0x31b)](_0x5d11dc)),this[_0x4d1811(0x231)]();}[_0x485e82(0x3c2)](_0x4e9add){var _0x26fa2c=_0x485e82;if(!(this[_0x26fa2c(0x372)]instanceof ee))throw new TypeError(_0x26fa2c(0x232));const _0x549b4e=_0x4e9add['map'](_0x2da5b9=>{var _0x2f76db=_0x26fa2c;const _0x31220f=this['_compressMutationService'][_0x2f76db(0x396)]['fetchThroughInterceptors'](this[_0x2f76db(0x371)][_0x2f76db(0x396)][_0x2f76db(0x113)]()['COMPRESS_MUTATION_APPLY'])(_0x2da5b9['mutations'],null)||_0x2da5b9[_0x2f76db(0x2aa)];return{..._0x2da5b9,'mutations':_0x31220f};});this[_0x26fa2c(0x158)](),this[_0x26fa2c(0x283)](this[_0x26fa2c(0x372)]['onMissedChangesetFetched'](_0x549b4e)),this[_0x26fa2c(0x231)]();}['_toggleOffline'](){var _0x371178=_0x485e82;this[_0x371178(0x158)](),this[_0x371178(0x283)](this[_0x371178(0x372)][_0x371178(0x24b)]()),this['_unlockTransition']();}[_0x485e82(0x273)](_0x1ab417=!0x1){var _0x55b7ab=_0x485e82;this[_0x55b7ab(0x158)](),this[_0x55b7ab(0x283)](this['_state'][_0x55b7ab(0x213)]()),this[_0x55b7ab(0x231)]();const _0x23a00e=this[_0x55b7ab(0x372)];_0x1ab417&&_0x23a00e instanceof be&&(this['_lockTransition'](),this['_updateState'](_0x23a00e[_0x55b7ab(0x2f9)]()),this[_0x55b7ab(0x231)]());}async[_0x485e82(0x20a)](){return new Promise(_0x168e88=>{var _0x393583=_0x34dc;this[_0x393583(0x167)][_0x393583(0x116)][_0x393583(0x17b)](_0x5c2988(0x1))[_0x393583(0x336)](async _0x23e426=>{var _0x1eaf4e=_0x393583;_0x168e88(await this[_0x1eaf4e(0x1fc)](_0x23e426===me[_0x1eaf4e(0xfa)]));});});}[_0x485e82(0x15c)](){var _0x2b532d=_0x485e82;const _0x54b1bf=this[_0x2b532d(0xc2)];return{'onStateChange':(_0x22360f,_0x44e203)=>{var _0x34e046=_0x2b532d;if(_0x22360f!==this[_0x34e046(0x372)])throw new Error(_0x34e046(0x328)+_0x22360f[_0x34e046(0xca)]+'\x0aAfter:\x20'+_0x44e203[_0x34e046(0xca)]+'\x0aCurrent:\x20'+this[_0x34e046(0x372)]['status']);this[_0x34e046(0x283)](_0x44e203);},'onSendChangeset':_0x24573a=>{var _0x3c4991=_0x2b532d;_0x24573a[_0x3c4991(0x20c)]||(_0x24573a[_0x3c4991(0x20c)]=this[_0x3c4991(0x2ac)],_0x24573a[_0x3c4991(0x363)]=++this[_0x3c4991(0xf9)]);const _0x1858b2={'eventID':_0x37ce0d[_0x3c4991(0x3bf)],'data':{'unitID':_0x24573a['unitID'],'unitType':this[_0x3c4991(0x39a)],'changeset':_0x24573a,'memberID':this['session'][_0x3c4991(0x239)]()}};this[_0x3c4991(0x167)][_0x3c4991(0x233)](_0x1858b2,this[_0x3c4991(0xc2)]);},'onMissingChangesets':({from:_0x9b6a54,to:_0x2cf1b7})=>{var _0x2e9d27=_0x2b532d;this[_0x2e9d27(0x2bf)][_0x2e9d27(0x350)](_0x2e9d27(0x24a),_0x2e9d27(0x1ac)+_0x9b6a54+_0x2e9d27(0x2b6)+_0x2cf1b7);const _0xbdbe77={'eventID':_0x37ce0d['FETCH_MISSING'],'data':{'unitID':_0x54b1bf,'unitType':this[_0x2e9d27(0x39a)],'from':_0x9b6a54,'to':_0x2cf1b7}};this['session']['send'](_0xbdbe77,this[_0x2e9d27(0xc2)]);}};}async[_0x485e82(0x1fc)](_0x36b0cf){var _0x184893=_0x485e82,_0x174c45,_0x101bf3,_0x5d37cf;const _0x324f82=await((_0x174c45=this[_0x184893(0x260)])==null?void 0x0:_0x174c45[_0x184893(0x343)](this[_0x184893(0xc2)])),_0x248587=(_0x101bf3=_0x324f82==null?void 0x0:_0x324f82['mutations'])!=null?_0x101bf3:[],_0xb4c9cf=(_0x5d37cf=_0x324f82==null?void 0x0:_0x324f82[_0x184893(0x11d)])!=null?_0x5d37cf:null,_0x44a9e9=!!(_0xb4c9cf!=null&&_0xb4c9cf[_0x184893(0x20c)])&&!!(_0xb4c9cf!=null&&_0xb4c9cf['reqId']);this[_0x184893(0x2ac)]=_0x44a9e9?_0xb4c9cf[_0x184893(0x20c)]:_0x311320(),this[_0x184893(0xf9)]=_0x44a9e9?_0xb4c9cf[_0x184893(0x363)]:0x0;const _0x5d2d1a=this[_0x184893(0xc2)];try{this['_replayCachedMutations'](_0xb4c9cf,_0x248587);}catch(_0x237df1){this[_0x184893(0x2bf)]['error'](_0x237df1);}const _0x3c6b3d=this[_0x184893(0x15c)]();if(_0x36b0cf){const _0x3dca4e=Ti(this[_0x184893(0x1c7)],_0x5d2d1a,this[_0x184893(0x39a)],_0xb4c9cf,_0x248587,_0x3c6b3d);return _0x3dca4e instanceof ae?_0x3dca4e[_0x184893(0x13b)]():(_0x3dca4e instanceof oe||_0x3dca4e instanceof le)&&_0x3dca4e[_0x184893(0x2e2)](),_0x3dca4e;}return this[_0x184893(0x1c7)]['createInstance'](de,_0x5d2d1a,this[_0x184893(0x39a)],_0xb4c9cf,_0x248587,_0x3c6b3d);}[_0x485e82(0x335)](_0x5bcee6,_0x563057){var _0x3d2d3b=_0x485e82,_0x4b4ab6,_0x5a534d;const _0x3d0959=this['_compressMutationService']['interceptor'][_0x3d2d3b(0x346)](this[_0x3d2d3b(0x371)][_0x3d2d3b(0x396)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x4b4ab6=_0x3d0959((_0x5bcee6==null?void 0x0:_0x5bcee6[_0x3d2d3b(0x2aa)])||[],null))==null||_0x4b4ab6[_0x3d2d3b(0x30c)](_0x20f6ec=>this[_0x3d2d3b(0x1f5)][_0x3d2d3b(0x137)](_0x20f6ec['id'],_0x20f6ec['params'])),(_0x5a534d=_0x3d0959(_0x563057||[],null))==null||_0x5a534d[_0x3d2d3b(0x30c)](_0x5ac439=>this[_0x3d2d3b(0x1f5)]['executeCommand'](_0x5ac439['id'],_0x5ac439['params']));}};st=Pt([$(0x3,_0x16f7e6(_0x505898)),$(0x4,_0x16f7e6(_0x1b4acc)),$(0x5,_0x16f7e6(_0x1f34f9)),$(0x6,_0x16f7e6(_0x137391)),$(0x7,_0x16f7e6(ve)),$(0x8,_0x10b82e),$(0x9,_0x42253d),$(0xa,_0x36e989),$(0xb,_0x569f27),$(0xc,_0x2d2a8a(_t)),$(0xd,_0x2d2a8a(J))],st);let It=class extends st{constructor(_0x470d4c,_0x165c83,_0x222579,_0x459eb1,_0x3353be,_0x2e759b,_0x39497d,_0x37f38f,_0x23378e,_0x2de62c,_0x59e4e2,_0x10b3e7,_0x475339,_0x3c0e5c){var _0x588ebc=_0x485e82;super(_0x470d4c,_0x222579,_0x165c83,_0x459eb1,_0x3353be,_0x2e759b,_0x39497d,_0x37f38f,_0x23378e,_0x2de62c,_0x59e4e2,_0x10b3e7,_0x475339,_0x3c0e5c),D(this,_0x588ebc(0x1f2),null),(this[_0x588ebc(0xc2)]=_0x470d4c,this[_0x588ebc(0x290)]=_0x165c83);}['addHandlerCallback'](_0x4c2d8d){var _0x31ffec=_0x485e82;this[_0x31ffec(0x1f2)]=_0x4c2d8d;}['dispose'](){var _0x4c310a=_0x485e82;this[_0x4c310a(0x1f2)]=null,super[_0x4c310a(0xf1)]();}[_0x485e82(0x15c)](){var _0x4e4a4e=_0x485e82;const _0xa8456e=super[_0x4e4a4e(0x15c)]();return _0xa8456e[_0x4e4a4e(0x154)]=_0xbb4131=>{var _0x27a347=_0x4e4a4e,_0x5c3a39,_0x521a98;return(_0x521a98=(_0x5c3a39=this[_0x27a347(0x1f2)])==null?void 0x0:_0x5c3a39[_0x27a347(0x154)])==null?void 0x0:_0x521a98['call'](_0x5c3a39,_0xbb4131);},_0xa8456e[_0x4e4a4e(0x3ba)]=_0x29ce6b=>{var _0x253b84=_0x4e4a4e,_0x54abda,_0x872adb;return(_0x872adb=(_0x54abda=this[_0x253b84(0x1f2)])==null?void 0x0:_0x54abda[_0x253b84(0x3ba)])==null?void 0x0:_0x872adb['call'](_0x54abda,_0x29ce6b);},_0xa8456e['onTransformSelections']=_0x1ac155=>{var _0x6eb296=_0x4e4a4e,_0x404088,_0x222e05;return(_0x222e05=(_0x404088=this[_0x6eb296(0x1f2)])==null?void 0x0:_0x404088['onTransformSelections'])==null?void 0x0:_0x222e05[_0x6eb296(0x2b0)](_0x404088,_0x1ac155);},_0xa8456e[_0x4e4a4e(0x170)]=_0x4e6160=>{var _0x49a5a8=_0x4e4a4e,_0x4248aa,_0x201d23;return(_0x201d23=(_0x4248aa=this[_0x49a5a8(0x1f2)])==null?void 0x0:_0x4248aa[_0x49a5a8(0x170)])==null?void 0x0:_0x201d23['call'](_0x4248aa,_0x4e6160);},_0xa8456e['onTransformRemoteChangesetByIMECache']=_0x3915b4=>{var _0x49fec2=_0x4e4a4e,_0xe3917c,_0x262f75,_0x402f6d;if(!((_0xe3917c=this[_0x49fec2(0x1f2)])!=null&&_0xe3917c['onTransformRemoteChangesetByIMECache']))throw new Error(_0x49fec2(0x390));return(_0x402f6d=(_0x262f75=this[_0x49fec2(0x1f2)])==null?void 0x0:_0x262f75['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x402f6d[_0x49fec2(0x2b0)](_0x262f75,_0x3915b4);},_0xa8456e[_0x4e4a4e(0xd0)]=_0x1ef4c6=>{var _0x3503d3=_0x4e4a4e,_0x472f30,_0x2338de,_0x1b7f54;if(!((_0x472f30=this[_0x3503d3(0x1f2)])!=null&&_0x472f30[_0x3503d3(0xd0)]))throw new Error(_0x3503d3(0x3b1));return(_0x1b7f54=(_0x2338de=this[_0x3503d3(0x1f2)])==null?void 0x0:_0x2338de[_0x3503d3(0xd0)])==null?void 0x0:_0x1b7f54[_0x3503d3(0x2b0)](_0x2338de,_0x1ef4c6);},_0xa8456e;}async['_init'](){var _0x524c40=_0x485e82;const _0x579fb8=await super[_0x524c40(0x17f)]();return this[_0x524c40(0x139)](this[_0x524c40(0x1f5)]['onCommandExecuted']((_0x436e55,_0x42a09)=>{var _0x120ce0=_0x524c40;if(_0x436e55['type']!==_0x1b1bf3[_0x120ce0(0x35e)]||_0x42a09!=null&&_0x42a09[_0x120ce0(0x38b)]||_0x42a09!=null&&_0x42a09[_0x120ce0(0x37e)]||_0x436e55['id']===_0x5e9bfa['id'])return;const _0x45168e=_0x436e55['params'];if((_0x45168e==null?void 0x0:_0x45168e['unitId'])!==this[_0x120ce0(0xc2)])return;const _0x130d92=_0x436e55,_0x22787f=this[_0x120ce0(0x371)][_0x120ce0(0x396)][_0x120ce0(0x346)](this[_0x120ce0(0x371)][_0x120ce0(0x396)][_0x120ce0(0x113)]()[_0x120ce0(0x18e)])([_0x130d92],this[_0x120ce0(0x15f)])||[_0x130d92];this[_0x120ce0(0x1ed)](_0x22787f[0x0]);})),_0x579fb8;}};It=Pt([$(0x3,_0x16f7e6(_0x505898)),$(0x4,_0x16f7e6(_0x1b4acc)),$(0x5,_0x16f7e6(_0x1f34f9)),$(0x6,_0x16f7e6(_0x137391)),$(0x7,_0x16f7e6(ve)),$(0x8,_0x10b82e),$(0x9,_0x42253d),$(0xa,_0x36e989),$(0xb,_0x569f27),$(0xc,_0x2d2a8a(_t)),$(0xd,_0x2d2a8a(J))],It);let St=class extends st{constructor(_0x23d5ea,_0x456812,_0x5a77b4,_0x535df3,_0x1c6bb7,_0x386e2c,_0x5d9bd0,_0x30802d,_0x122959,_0x314d0c,_0x5027fd,_0x3be453,_0x20a93f,_0xfd21b4,_0xf627dc){var _0x563d2e=_0x485e82;super(_0x23d5ea,_0x5a77b4,_0x456812,_0x535df3,_0x1c6bb7,_0x386e2c,_0x5d9bd0,_0x122959,_0x314d0c,_0x5027fd,_0x3be453,_0x20a93f,_0xfd21b4,_0xf627dc),this[_0x563d2e(0xc2)]=_0x23d5ea,this['type']=_0x456812,this[_0x563d2e(0x1d9)]=_0x30802d;}[_0x485e82(0x15c)](){var _0x343f41=_0x485e82;const _0x3fae53=super[_0x343f41(0x15c)]();return _0x3fae53['onTransformSelections']=_0x31e9a9=>this[_0x343f41(0x1d9)][_0x343f41(0x317)](_0x31e9a9),_0x3fae53;}async[_0x485e82(0x17f)](){var _0x3d75a8=_0x485e82;const _0x39a869=await super[_0x3d75a8(0x17f)]();return this[_0x3d75a8(0x139)](this[_0x3d75a8(0x1f5)][_0x3d75a8(0x2dc)]((_0x4e87fc,_0x3899ef)=>{var _0x557843=_0x3d75a8;if(_0x4e87fc[_0x557843(0x290)]!==_0x1b1bf3[_0x557843(0x35e)]||_0x3899ef!=null&&_0x3899ef[_0x557843(0x38b)]||_0x3899ef!=null&&_0x3899ef[_0x557843(0x37e)])return;const _0x43a418=_0x4e87fc[_0x557843(0xdf)];if((_0x43a418==null?void 0x0:_0x43a418[_0x557843(0xff)])!==this[_0x557843(0xc2)])return;const _0x46cb49=_0x4e87fc,_0x23796e=this[_0x557843(0x371)]['interceptor']['fetchThroughInterceptors'](this[_0x557843(0x371)][_0x557843(0x396)]['getInterceptPoints']()[_0x557843(0x18e)])([_0x46cb49],this[_0x557843(0x15f)])||[_0x46cb49];this[_0x557843(0x1ed)](_0x23796e[0x0]);})),_0x39a869;}};St=Pt([$(0x3,_0x16f7e6(_0x505898)),$(0x4,_0x16f7e6(_0x1b4acc)),$(0x5,_0x16f7e6(_0x1f34f9)),$(0x6,_0x16f7e6(_0x137391)),$(0x7,_0x16f7e6(it)),$(0x8,_0x16f7e6(ve)),$(0x9,_0x10b82e),$(0xa,_0x42253d),$(0xb,_0x36e989),$(0xc,_0x569f27),$(0xd,_0x2d2a8a(_t)),$(0xe,_0x2d2a8a(J))],St);const Fs=_0x31feb8(_0x485e82(0x391));function js(_0x136d01){var _0x2094f0=_0x485e82,_0x105385,_0x321f03,_0x13fd85,_0x5a224d,_0x264393;const _0x2a139b=_0x136d01[_0x2094f0(0x3ca)],_0x171c9f=JSON[_0x2094f0(0x264)](_0x2a139b);switch(_0x171c9f[_0x2094f0(0xc4)]){case j[_0x2094f0(0x2f5)]:case j[_0x2094f0(0x1d6)]:{const _0x437b28=_0x171c9f[_0x2094f0(0xce)];return{..._0x171c9f,'data':_0x437b28,'cmd':_0x171c9f[_0x2094f0(0xc4)]};}case j['JOIN']:{const _0x410964=_0x171c9f[_0x2094f0(0x38a)];return{..._0x171c9f,'data':_0x410964,'cmd':_0x171c9f[_0x2094f0(0xc4)]};}case j[_0x2094f0(0x387)]:{const _0x1942df=_0x171c9f[_0x2094f0(0x1bd)];switch(_0x1942df['eventID']){case _0x37ce0d['PERMISSION_REJ']:return{..._0x171c9f,'data':{..._0x1942df,'data':(_0x105385=_0x1942df[_0x2094f0(0x161)])==null?void 0x0:_0x105385['cs']},'cmd':_0x171c9f['cmd']};case _0x37ce0d[_0x2094f0(0x208)]:return{..._0x171c9f,'data':{..._0x1942df,'data':(_0x321f03=_0x1942df[_0x2094f0(0x1df)])==null?void 0x0:_0x321f03['cs']},'cmd':_0x171c9f[_0x2094f0(0xc4)]};case _0x37ce0d['NEW_CHANGESETS']:return{..._0x171c9f,'data':{..._0x1942df,'data':(_0x13fd85=_0x1942df[_0x2094f0(0x23d)])==null?void 0x0:_0x13fd85['cs']},'cmd':_0x171c9f[_0x2094f0(0xc4)]};case _0x37ce0d[_0x2094f0(0x2da)]:return{..._0x171c9f,'data':{..._0x1942df,'data':(_0x5a224d=_0x1942df[_0x2094f0(0xf7)])==null?void 0x0:_0x5a224d['cs']},'cmd':_0x171c9f[_0x2094f0(0xc4)]};case _0x37ce0d[_0x2094f0(0x2cd)]:return{..._0x171c9f,'data':{..._0x1942df,'data':(_0x264393=_0x1942df[_0x2094f0(0x17e)])==null?void 0x0:_0x264393['cs']},'cmd':_0x171c9f[_0x2094f0(0xc4)]};case _0x37ce0d['UPDATE_CURSOR']:return{..._0x171c9f,'data':{..._0x1942df,'data':_0x1942df['updateCursorEvent']},'cmd':_0x171c9f[_0x2094f0(0xc4)]};case _0x37ce0d[_0x2094f0(0x134)]:return{..._0x171c9f,'data':{..._0x1942df,'data':_0x1942df[_0x2094f0(0xed)]},'cmd':_0x171c9f[_0x2094f0(0xc4)]};case _0x37ce0d[_0x2094f0(0xc9)]:return{..._0x171c9f,'data':{..._0x1942df,'data':_0x1942df[_0x2094f0(0x33b)]},'cmd':_0x171c9f['cmd']};case _0x37ce0d[_0x2094f0(0x1d4)]:return{..._0x171c9f,'data':{..._0x1942df,'data':_0x1942df[_0x2094f0(0x114)]},'cmd':_0x171c9f['cmd']};case _0x37ce0d['LIVESHARE_FETCH_OPERATIONS']:case _0x37ce0d[_0x2094f0(0x381)]:return{..._0x171c9f,'data':{..._0x1942df,'data':_0x1942df['liveShareOperation']},'cmd':_0x171c9f[_0x2094f0(0xc4)]};case _0x37ce0d[_0x2094f0(0x2fb)]:return{..._0x171c9f,'data':{..._0x1942df,'data':_0x1942df['liveShareNewHost']},'cmd':_0x171c9f['cmd']};case _0x37ce0d['MSG_FOR_ERROR']:return{..._0x171c9f,'data':_0x1942df,'cmd':_0x171c9f[_0x2094f0(0xc4)]};case _0x37ce0d[_0x2094f0(0x2be)]:return{..._0x171c9f,'data':{..._0x1942df,'data':_0x1942df['commentUpdateEvent']},'cmd':_0x171c9f[_0x2094f0(0xc4)]};case _0x37ce0d['UPDATE_PERMISSION_OBJ']:return{..._0x171c9f,'data':{..._0x1942df,'data':_0x1942df[_0x2094f0(0x38c)]},'cmd':_0x171c9f[_0x2094f0(0xc4)]};case _0x37ce0d[_0x2094f0(0xc6)]:return{..._0x171c9f,'data':{..._0x1942df,'data':_0x1942df[_0x2094f0(0x279)]},'cmd':_0x171c9f[_0x2094f0(0xc4)]};case _0x37ce0d[_0x2094f0(0x136)]:return{..._0x171c9f,'data':{..._0x1942df,'data':_0x1942df['uniscriptRunEvent']},'cmd':_0x171c9f[_0x2094f0(0xc4)]};default:return _0x171c9f;}}default:return _0x171c9f;}}function Vs(_0x34ea15){var _0x286f9f=_0x485e82;switch(_0x34ea15['cmd']){case j[_0x286f9f(0x2f5)]:case j[_0x286f9f(0x1d6)]:return JSON[_0x286f9f(0x333)]({'cmd':_0x34ea15[_0x286f9f(0xc4)],'routeKey':_0x34ea15[_0x286f9f(0x11e)]});case j[_0x286f9f(0x10c)]:{let _0x3ea299;switch(_0x34ea15['data'][_0x286f9f(0x22a)]){case _0x37ce0d[_0x286f9f(0x18b)]:{_0x3ea299={'eventID':_0x37ce0d['UPDATE_CURSOR'],'updateCursorEvent':_0x34ea15[_0x286f9f(0x3ca)][_0x286f9f(0x3ca)]};break;}case _0x37ce0d[_0x286f9f(0xc9)]:{_0x3ea299={'eventID':_0x37ce0d[_0x286f9f(0xc9)],'leaveEvent':_0x34ea15[_0x286f9f(0x3ca)]['data']};break;}case _0x37ce0d[_0x286f9f(0x134)]:{_0x3ea299={'eventID':_0x37ce0d['USERS_ENTER'],'joinEvent':_0x34ea15['data'][_0x286f9f(0x3ca)]};break;}case _0x37ce0d['LIVESHARE_NEW_HOST']:{_0x3ea299={'eventID':_0x37ce0d[_0x286f9f(0x1d4)],'liveShareNewHost':_0x34ea15[_0x286f9f(0x3ca)][_0x286f9f(0x3ca)]};break;}case _0x37ce0d[_0x286f9f(0x381)]:{_0x3ea299={'eventID':_0x37ce0d[_0x286f9f(0x381)],'liveShareOperation':_0x34ea15['data']['data']};break;}case _0x37ce0d[_0x286f9f(0x2fb)]:{_0x3ea299={'eventID':_0x37ce0d['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x34ea15[_0x286f9f(0x3ca)]['data']};break;}case _0x37ce0d[_0x286f9f(0x1a5)]:{_0x3ea299={'eventID':_0x37ce0d['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x34ea15[_0x286f9f(0x3ca)][_0x286f9f(0x3ca)]};break;}case _0x37ce0d[_0x286f9f(0x332)]:{_0x3ea299={'eventID':_0x37ce0d[_0x286f9f(0x332)]};break;}default:_0x3ea299={'eventID':_0x34ea15[_0x286f9f(0x3ca)][_0x286f9f(0x22a)]};}return JSON[_0x286f9f(0x333)]({'cmd':_0x34ea15['cmd'],'routeKey':_0x34ea15[_0x286f9f(0x11e)],'collaMsg':_0x3ea299});}case j[_0x286f9f(0x3b3)]:return JSON['stringify']({'cmd':_0x34ea15[_0x286f9f(0xc4)],'routeKey':_0x34ea15[_0x286f9f(0x11e)],'joinReq':_0x34ea15[_0x286f9f(0x3ca)]});case j[_0x286f9f(0x177)]:return JSON[_0x286f9f(0x333)]({'cmd':_0x34ea15[_0x286f9f(0xc4)],'routeKey':_0x34ea15[_0x286f9f(0x11e)],'leaveReq':_0x34ea15[_0x286f9f(0x3ca)]});default:throw new Error(_0x286f9f(0x203));}}var Gs=Object['getOwnPropertyDescriptor'],Ws=(_0x12d433,_0x545a43,_0x3bbdb6,_0x48347a)=>{var _0x2e3462=_0x485e82;for(var _0x873658=_0x48347a>0x1?void 0x0:_0x48347a?Gs(_0x545a43,_0x3bbdb6):_0x545a43,_0x2dd862=_0x12d433[_0x2e3462(0x398)]-0x1,_0x28ef74;_0x2dd862>=0x0;_0x2dd862--)(_0x28ef74=_0x12d433[_0x2dd862])&&(_0x873658=_0x28ef74(_0x873658)||_0x873658);return _0x873658;},ye=(_0x31351e,_0x1ccaec)=>(_0x254fb1,_0x910f22)=>_0x1ccaec(_0x254fb1,_0x910f22,_0x31351e);const Oi=_0x31feb8('univer-pro.collaboration-client-socket-service');function Ys(_0x2bc6bc,_0x5b5535,_0x5a7a5e){var _0x3d38e8=_0x485e82;return _0x2bc6bc+'/'+_0x5b5535+'/unit/'+_0x5a7a5e+_0x3d38e8(0x31a);}let Wt=class extends _0x327acd{constructor(_0x5ac76b,_0x2c0425,_0x342e9e,_0x2a72a1,_0xd3aef8){var _0x344c08=_0x485e82;super(),this[_0x344c08(0x1c7)]=_0x5ac76b,this[_0x344c08(0x3c5)]=_0x2c0425,this[_0x344c08(0x2a9)]=_0x342e9e,this[_0x344c08(0x2bf)]=_0x2a72a1,this['_snapshotServerService']=_0xd3aef8;}[_0x485e82(0xc5)](_0x493779){var _0x50056b=_0x485e82;const _0x483df3=this[_0x50056b(0x1c7)][_0x50056b(0x183)](_0x60d2d2);if(!_0x483df3)throw new Error(_0x50056b(0x300));const _0x1734e9=_0x483df3[_0x50056b(0x1e6)](_0x493779);if(!_0x1734e9)throw new Error(_0x50056b(0x25d));const _0x46719f=new _0x5f5f1a(),_0x3ba635=new _0x55f9ec();_0x46719f[_0x50056b(0x17d)](_0x1734e9[_0x50056b(0x36b)]['subscribe'](_0xe5949f=>_0x3ba635[_0x50056b(0x28f)](_0xe5949f))),_0x46719f[_0x50056b(0x17d)](_0x3b0588(()=>_0x3ba635[_0x50056b(0x3c9)]()));const _0xd246c2=new _0x55f9ec();_0x46719f[_0x50056b(0x17d)](_0x1734e9[_0x50056b(0x34d)][_0x50056b(0x336)](_0x26100b=>_0xd246c2[_0x50056b(0x28f)](_0x26100b))),_0x46719f[_0x50056b(0x17d)](_0x3b0588(()=>_0xd246c2[_0x50056b(0x3c9)]()));const _0x25529e=new _0x55f9ec();_0x46719f[_0x50056b(0x17d)](_0x1734e9[_0x50056b(0x1e1)]['subscribe'](_0xde87cf=>{var _0x4c7bca=_0x50056b;const _0x2df2b3=js(_0xde87cf);_0x25529e[_0x4c7bca(0x28f)](_0x2df2b3);})),_0x46719f['add'](_0x3b0588(()=>_0x25529e[_0x50056b(0x3c9)]()));let _0x13158e;const _0x51a22a=()=>{var _0x5eb47c=_0x50056b;_0xd246c2[_0x5eb47c(0x28f)](new Event(_0x5eb47c(0xe0))),_0x3ba635[_0x5eb47c(0x28f)](new Event('connection\x20error')),_0x13158e[_0x5eb47c(0xe7)]();};return _0x13158e={'memberID':'','close$':_0x3ba635[_0x50056b(0x3a0)](),'error$':_0xd246c2['asObservable'](),'open$':_0x1734e9['open$'],'message$':_0x25529e[_0x50056b(0x3a0)](),'send':_0x14b075=>{var _0x92cfff=_0x50056b;if(_0x14b075[_0x92cfff(0xc4)]===j[_0x92cfff(0x10c)]){if(_0x14b075[_0x92cfff(0x3ca)][_0x92cfff(0x22a)]===_0x37ce0d['SUBMIT_CHANGESET']){this[_0x92cfff(0x304)](_0x13158e,_0x14b075['data'])['catch'](_0x339ede=>{var _0x420681=_0x92cfff;this[_0x420681(0x2bf)][_0x420681(0xd3)](_0x339ede),_0x51a22a();});return;}if(_0x14b075[_0x92cfff(0x3ca)][_0x92cfff(0x22a)]===_0x37ce0d[_0x92cfff(0x3b6)]){const _0x12c585=_0x14b075['data'];this[_0x92cfff(0x261)](_0x12c585)['then'](_0x19f71a=>{var _0x182a35=_0x92cfff;_0x25529e[_0x182a35(0x28f)]({'cmd':j['RECV'],'code':pe['OK'],'routeKey':_0x12c585['data'][_0x182a35(0xc2)],'routeType':'','data':{'eventID':_0x37ce0d[_0x182a35(0x176)],'data':{'changesets':_0x19f71a}}});})['catch'](_0x4054a0=>{var _0xc3c40c=_0x92cfff;this['_logService'][_0xc3c40c(0xd3)](_0x4054a0),_0x51a22a();});return;}}_0x1734e9[_0x92cfff(0x233)](Vs(_0x14b075));},'close':()=>{var _0x2f2a8=_0x50056b;_0x1734e9['close'](),_0x46719f[_0x2f2a8(0xf1)]();}},_0x13158e;}async[_0x485e82(0x304)](_0x274df2,_0x4472a9){var _0x222403=_0x485e82,_0x1d7d9f;const {unitType:_0x2b20c3,unitID:_0x10382a,changeset:_0x121e09}=_0x4472a9[_0x222403(0x3ca)],_0x3341af={'unitID':_0x10382a,'memberID':_0x274df2[_0x222403(0x29b)],'type':_0x2b20c3,'changeset':_0x4ed75f(_0x121e09)},_0x1acdb6=this[_0x222403(0x2a9)]['getConfig'](K),_0x11a468=Ys((_0x1d7d9f=_0x1acdb6==null?void 0x0:_0x1acdb6[_0x222403(0x1c5)])!=null?_0x1d7d9f:Os,_0x2b20c3,_0x10382a);try{await this[_0x222403(0x3c5)][_0x222403(0x37b)](_0x11a468,{'body':_0x3341af});}catch(_0x1a659a){throw this[_0x222403(0x2bf)][_0x222403(0xd3)](_0x222403(0xe6),'submit\x20changeset\x20error!'),_0x1a659a;}}async[_0x485e82(0x261)](_0x2a6bfd){var _0x134f93=_0x485e82;const {unitID:_0x22c8c0,from:_0x1af380,to:_0x5681e6,unitType:_0xd2e09f}=_0x2a6bfd['data'];return(await this['_snapshotServerService'][_0x134f93(0x145)]({'metadata':void 0x0},{'unitID':_0x22c8c0,'type':_0xd2e09f,'from':_0x1af380,'to':_0x5681e6}))[_0x134f93(0x314)]['map'](_0x2e2100=>((_0x2e2100[_0x134f93(0x2aa)]===null||_0x2e2100[_0x134f93(0x2aa)]===void 0x0)&&(_0x2e2100['mutations']=[]),_0x2e2100));}};Wt=Ws([ye(0x0,_0x16f7e6(_0x505898)),ye(0x1,_0x16f7e6(_0x53558e)),ye(0x2,_0x4ba4ee),ye(0x3,_0x42253d),ye(0x4,_0x57fc0f)],Wt);var Ks=Object[_0x485e82(0x30f)],qs=(_0xda89c2,_0x4e63bd,_0x575eb5,_0x419bf3)=>{var _0x159e2c=_0x485e82;for(var _0x218676=_0x419bf3>0x1?void 0x0:_0x419bf3?Ks(_0x4e63bd,_0x575eb5):_0x4e63bd,_0x548834=_0xda89c2[_0x159e2c(0x398)]-0x1,_0xcb6f26;_0x548834>=0x0;_0x548834--)(_0xcb6f26=_0xda89c2[_0x548834])&&(_0x218676=_0xcb6f26(_0x218676)||_0x218676);return _0x218676;},Re=(_0x120a76,_0x1c2128)=>(_0x3eb90c,_0x81bd8c)=>_0x1c2128(_0x3eb90c,_0x81bd8c,_0x120a76);let we=class extends _0x327acd{constructor(_0x2045bb,_0x47c86f,_0x599791,_0x9301db,_0x28424c,_0x52b322){var _0x580427=_0x485e82;super(),D(this,_0x580427(0x27a),new _0x44eac9(void 0x0)),D(this,_0x580427(0x2fc),this[_0x580427(0x27a)][_0x580427(0x3a0)]()),D(this,_0x580427(0x347),null),D(this,'_sessions',new Map()),D(this,'_status$',new _0x44eac9(me[_0x580427(0x21c)])),D(this,_0x580427(0x3ae),this[_0x580427(0x1c0)][_0x580427(0x3a0)]()),D(this,'_socketReady',!0x1),D(this,_0x580427(0x296)),D(this,_0x580427(0x1a2),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x580427(0x227)),(this['_injector']=_0x2045bb,this['_logService']=_0x47c86f,this[_0x580427(0x2a9)]=_0x599791,this['_socketService']=_0x9301db,this['_collaborationUIEventService']=_0x28424c,this[_0x580427(0x1b9)]=_0x52b322,this[_0x580427(0x2d8)]());}get[_0x485e82(0x1ee)](){var _0x4faab3=_0x485e82;return this[_0x4faab3(0x27a)][_0x4faab3(0x169)]();}[_0x485e82(0x2d8)](){var _0x525dcd=_0x485e82;this['_networkConditionService']&&this[_0x525dcd(0x139)](this[_0x525dcd(0x1b9)]['online$'][_0x525dcd(0x336)](_0x4e7db7=>{var _0xf8f74f=_0x525dcd;_0x4e7db7&&!this[_0xf8f74f(0x1ee)]&&this[_0xf8f74f(0x121)](),_0x4e7db7||this[_0xf8f74f(0x2ad)]();}));}['dispose'](){var _0x39ed20=_0x485e82;super[_0x39ed20(0xf1)](),this['_clearRetryConnectingTimer'](),this[_0x39ed20(0x2c7)](),this[_0x39ed20(0xc0)](),this['_sessions'][_0x39ed20(0x30c)](_0x12f646=>_0x12f646[_0x39ed20(0xf1)]()),this['_sessions']['clear'](),this[_0x39ed20(0x1c0)][_0x39ed20(0x3c9)]();}async[_0x485e82(0x28a)](_0x43314d){var _0x49f053=_0x485e82;if(this['_sessions'][_0x49f053(0x2a0)](_0x43314d))return this[_0x49f053(0x353)][_0x49f053(0x183)](_0x43314d);this[_0x49f053(0x384)]();const _0x46abf0=this[_0x49f053(0x1c7)][_0x49f053(0x3ac)](mt,_0x43314d,this[_0x49f053(0x27a)][_0x49f053(0x3a0)]());return this['_sessions'][_0x49f053(0x249)](_0x43314d,_0x46abf0),_0x46abf0;}[_0x485e82(0x2df)](_0x5ad364){var _0x1edf96=_0x485e82,_0x1d8f1e;const _0x4e597c=this[_0x1edf96(0x353)][_0x1edf96(0x183)](_0x5ad364);_0x4e597c&&(this[_0x1edf96(0x353)]['delete'](_0x5ad364),_0x4e597c['close']()),this['_sessions'][_0x1edf96(0x205)]||(_0x1d8f1e=this[_0x1edf96(0x1ee)])==null||_0x1d8f1e[_0x1edf96(0xe7)]();}[_0x485e82(0x121)](){var _0x5759b5=_0x485e82;this['_retryCount']=0x0,this[_0x5759b5(0x1cf)](),this[_0x5759b5(0x38f)]();}[_0x485e82(0x1cf)](){var _0x59d0e4=_0x485e82;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x59d0e4(0x296)]),this[_0x59d0e4(0x296)]=null);}async['_createSocket'](){var _0x13654e=_0x485e82,_0x8c0524;const _0x6df244=this[_0x13654e(0x2a9)][_0x13654e(0x361)](K),_0x543a06=(_0x8c0524=_0x6df244==null?void 0x0:_0x6df244[_0x13654e(0x36c)])!=null?_0x8c0524:Es,_0x3919a1=await this[_0x13654e(0x197)][_0x13654e(0x1e6)](_0x543a06);return this[_0x13654e(0x347)]=_0x3919a1,_0x3919a1;}async[_0x485e82(0x384)](){var _0x35fed9=_0x485e82,_0x5e2d04,_0x20ebe;try{const _0x32768a=(_0x20ebe=(_0x5e2d04=this[_0x35fed9(0x1ee)])!=null?_0x5e2d04:this[_0x35fed9(0x347)])!=null?_0x20ebe:await this[_0x35fed9(0x298)]();if(_0x32768a){const _0x3186ac=_0x32768a[_0x35fed9(0x233)];_0x32768a[_0x35fed9(0x233)]=_0x3e2473=>(this[_0x35fed9(0x34a)](),_0x3186ac[_0x35fed9(0x3c4)](_0x32768a,[_0x3e2473])),_0x32768a[_0x35fed9(0x1e1)][_0x35fed9(0x336)](_0x5c3dc7=>this['_onMessage'](_0x32768a,_0x5c3dc7)),_0x32768a['error$'][_0x35fed9(0x17b)](_0x2ed5fb(0x1))[_0x35fed9(0x336)](_0x366ae9=>this['_logService'][_0x35fed9(0xd3)](_0x35fed9(0x188),_0x366ae9)),_0x32768a[_0x35fed9(0x2fa)][_0x35fed9(0x17b)](_0x2ed5fb(0x1))[_0x35fed9(0x336)](()=>{var _0x4d9bba=_0x35fed9;this[_0x4d9bba(0xe2)](_0x32768a);}),_0x32768a[_0x35fed9(0x36b)][_0x35fed9(0x17b)](_0x2ed5fb(0x1))[_0x35fed9(0x336)](_0x4a9519=>{var _0x58412a=_0x35fed9;this[_0x58412a(0x2bf)][_0x58412a(0x350)](_0x58412a(0x30a),'socket\x20close',_0x4a9519),this[_0x58412a(0x23f)]();});}}catch(_0x251c82){this[_0x35fed9(0x2bf)]['error'](_0x251c82),this[_0x35fed9(0x23f)]();}}[_0x485e82(0xe2)](_0x2cc6d1){var _0x3d3b8f=_0x485e82;this[_0x3d3b8f(0x2bf)][_0x3d3b8f(0x350)](_0x3d3b8f(0x30a),_0x3d3b8f(0x19a)),_0x2cc6d1[_0x3d3b8f(0x233)]({'cmd':j[_0x3d3b8f(0x1d6)]}),this['_rescheduleHeartbeat']();}[_0x485e82(0x2ad)](){var _0xabeaca=_0x485e82;this[_0xabeaca(0x3c8)]=!0x1,this['_candidateSocket']=null,this[_0xabeaca(0x1c0)][_0xabeaca(0x28f)](me[_0xabeaca(0x263)]),this[_0xabeaca(0x27a)][_0xabeaca(0x28f)](null),this[_0xabeaca(0x2c7)](),this[_0xabeaca(0xc0)]();}[_0x485e82(0x23f)](){var _0x4076f1=_0x485e82,_0x5e91bb;this['_onOffline'](),this[_0x4076f1(0x1a2)]<((_0x5e91bb=this[_0x4076f1(0x2a9)][_0x4076f1(0x361)](gs))!=null?_0x5e91bb:Ts)?(this[_0x4076f1(0x284)][_0x4076f1(0x2b7)]({'id':re[_0x4076f1(0x399)]}),this[_0x4076f1(0x38f)]()):this['_collaborationUIEventService']['emitEvent']({'id':re[_0x4076f1(0x282)]});}[_0x485e82(0x38f)](){var _0x3a3757=_0x485e82,_0x4d2594;const _0x1d92c3=this[_0x3a3757(0x1a2)],_0x39bf58=this['_configService'][_0x3a3757(0x361)](K),_0x4fcd9b=_0x1d92c3===0x0?0x0:((_0x4d2594=_0x39bf58==null?void 0x0:_0x39bf58[_0x3a3757(0x187)])!=null?_0x4d2594:Ss)*0x2**_0x1d92c3;this[_0x3a3757(0x296)]=setTimeout(()=>{var _0x294e04=_0x3a3757;clearTimeout(this[_0x294e04(0x296)]),this[_0x294e04(0x296)]=null,this[_0x294e04(0x384)]();},_0x4fcd9b),this[_0x3a3757(0x1a2)]+=0x1;}[_0x485e82(0x1ca)](_0x47a2c1,_0x328bcf){var _0x436ea3=_0x485e82;const {cmd:_0x4040b0}=_0x328bcf;_0x4040b0===j[_0x436ea3(0x1d6)]&&!this['_socketReady']&&(_0x47a2c1[_0x436ea3(0x29b)]=_0x328bcf[_0x436ea3(0x3ca)][_0x436ea3(0x29b)],this['_socket$'][_0x436ea3(0x28f)](_0x47a2c1),this[_0x436ea3(0x1c0)]['next'](me['ONLINE']),this[_0x436ea3(0x3c8)]=!0x0,this[_0x436ea3(0x347)]=null),_0x4040b0===j[_0x436ea3(0x2f5)]&&this[_0x436ea3(0x2c7)](),this[_0x436ea3(0x34a)]();}['_rescheduleHeartbeat'](){var _0x16f752=_0x485e82,_0x4b0fa4;this['_clearHeartbeatTimer'](),this[_0x16f752(0x159)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x4b0fa4=this[_0x16f752(0x2a9)][_0x16f752(0x361)](ms))!=null?_0x4b0fa4:Is);}['_sendHeartbeat'](){var _0xde2ed2=_0x485e82;this[_0xde2ed2(0x1ee)][_0xde2ed2(0x233)]({'cmd':j[_0xde2ed2(0x2f5)]}),this[_0xde2ed2(0x17a)]();}[_0x485e82(0x17a)](){var _0x16bd32=_0x485e82,_0x2012f3;this[_0x16bd32(0x227)]=setTimeout(()=>this[_0x16bd32(0x23f)](),(_0x2012f3=this[_0x16bd32(0x2a9)][_0x16bd32(0x361)](di))!=null?_0x2012f3:fi);}[_0x485e82(0xc0)](){var _0xb760ab=_0x485e82;this[_0xb760ab(0x159)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0xb760ab(0x159)]=null);}[_0x485e82(0x2c7)](){var _0x1c2519=_0x485e82;this[_0x1c2519(0x227)]!=null&&(clearTimeout(this[_0x1c2519(0x227)]),this[_0x1c2519(0x227)]=null);}};we=qs([Re(0x0,_0x16f7e6(_0x505898)),Re(0x1,_0x42253d),Re(0x2,_0x4ba4ee),Re(0x3,Oi),Re(0x4,_0x16f7e6(ve)),Re(0x5,_0x2d2a8a(Fs))],we);var zs=Object[_0x485e82(0x30f)],Js=(_0x2ea51e,_0x5038eb,_0xf0b6e4,_0x4d0903)=>{for(var _0x2b1450=_0x4d0903>0x1?void 0x0:_0x4d0903?zs(_0x5038eb,_0xf0b6e4):_0x5038eb,_0x1b4e6f=_0x2ea51e['length']-0x1,_0x5dc936;_0x1b4e6f>=0x0;_0x1b4e6f--)(_0x5dc936=_0x2ea51e[_0x1b4e6f])&&(_0x2b1450=_0x5dc936(_0x2b1450)||_0x2b1450);return _0x2b1450;},Be=(_0x512930,_0x160d77)=>(_0x426982,_0xd8d0c5)=>_0x160d77(_0x426982,_0xd8d0c5,_0x512930);let nt=class extends _0x5c9f6a{constructor(_0x5b5c29,_0x208a2e,_0x5395f8,_0x2eaab0){var _0x352694=_0x485e82,_0x1b16f3;super(),D(this,_0x352694(0xd4),new Map()),D(this,'_entityInit$',new _0x55f9ec()),D(this,'entityInit$',this['_entityInit$'][_0x352694(0x3a0)]()),(this[_0x352694(0x1c7)]=_0x5b5c29,this['_collabSessionService']=_0x208a2e,this[_0x352694(0x2a9)]=_0x5395f8,this[_0x352694(0x15f)]=_0x2eaab0,((_0x1b16f3=this[_0x352694(0x2a9)]['getConfig'](K))==null?void 0x0:_0x1b16f3[_0x352694(0x1de)])!==!0x1&&this[_0x352694(0x17f)]());}[_0x485e82(0xf1)](){var _0x4edbc1=_0x485e82;super[_0x4edbc1(0xf1)](),this[_0x4edbc1(0xd4)]['forEach'](_0x127b3b=>_0x127b3b[_0x4edbc1(0xf1)]()),this[_0x4edbc1(0xd4)]['clear']();}[_0x485e82(0x2d1)](_0x156f55){var _0x15fc5b=_0x485e82,_0x225a20;return(_0x225a20=this['_entities'][_0x15fc5b(0x183)](_0x156f55))!=null?_0x225a20:null;}['getCollabEntity$'](_0x5174f0){var _0x5d0bf3=_0x485e82;const _0x4ffc6b=this[_0x5d0bf3(0x2d1)](_0x5174f0);return _0x4ffc6b?_0x2f57ee(_0x4ffc6b):this[_0x5d0bf3(0x2a1)][_0x5d0bf3(0x17b)](_0x47b11f(_0x201e9c=>_0x201e9c[_0x5d0bf3(0xc2)]===_0x5174f0));}[_0x485e82(0x30e)](_0x5b9c1a){return _0x2a36ca(this['getCollabEntity$'](_0x5b9c1a)['pipe'](_0x48879e(()=>{})));}['_init'](){var _0x33e179=_0x485e82;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4c9030[_0x33e179(0x1fe)])[_0x33e179(0x17b)](_0x4e0c29(this[_0x33e179(0x209)]),_0x3b9b28(0x10))[_0x33e179(0x336)](async _0x329210=>{var _0x2a4c89=_0x33e179;const _0x280571=_0x329210[_0x2a4c89(0x118)](),_0x445e42=await this[_0x2a4c89(0x112)](_0x280571,Q[_0x2a4c89(0x1fe)]);this[_0x2a4c89(0xd4)][_0x2a4c89(0x249)](_0x280571,_0x445e42);}),this[_0x33e179(0x15f)][_0x33e179(0x306)](_0x4c9030[_0x33e179(0x315)])['pipe'](_0x4e0c29(this[_0x33e179(0x209)]),_0x3b9b28(0x10))[_0x33e179(0x17b)](_0x47b11f(_0x1cde6f=>!_0x1cde6f[_0x33e179(0x118)]()[_0x33e179(0x201)]('__')))[_0x33e179(0x336)](async _0x442f62=>{var _0x764d5a=_0x33e179;const _0x3e7b3e=_0x442f62['getUnitId'](),_0x55fef3=await this[_0x764d5a(0x112)](_0x3e7b3e,Q[_0x764d5a(0x315)]);this[_0x764d5a(0xd4)]['set'](_0x3e7b3e,_0x55fef3);}),_0x5155cd(this[_0x33e179(0x15f)]['getTypeOfUnitDisposed$'](_0x4c9030[_0x33e179(0x1fe)]),this[_0x33e179(0x15f)][_0x33e179(0x19e)](_0x4c9030[_0x33e179(0x315)]))[_0x33e179(0x17b)](_0x4e0c29(this[_0x33e179(0x209)]))[_0x33e179(0x336)](_0xdc06a6=>{var _0x2d2387=_0x33e179;const _0x3e0458=_0xdc06a6[_0x2d2387(0x118)](),_0xd43a94=this[_0x2d2387(0xd4)]['get'](_0x3e0458);_0xd43a94&&(_0xd43a94[_0x2d2387(0xf1)](),this[_0x2d2387(0xd4)][_0x2d2387(0x340)](_0x3e0458));});}async[_0x485e82(0x112)](_0x2c022f,_0x484308){var _0x53805b=_0x485e82;const _0x2b2cec=await this['_collabSessionService']['requireSession'](_0x2c022f),_0x1b5365=this[_0x53805b(0x1c7)][_0x53805b(0x3ac)](this['_getCtorByUniverType'](_0x484308),_0x2c022f,_0x484308,_0x2b2cec);return await _0x1b5365[_0x53805b(0x316)](),this[_0x53805b(0x2a1)][_0x53805b(0x28f)](_0x1b5365),_0x1b5365;}[_0x485e82(0x156)](_0x1b84c5){var _0x559989=_0x485e82;switch(_0x1b84c5){case Q[_0x559989(0x315)]:return It;case Q[_0x559989(0x1fe)]:return St;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1b84c5);}}};nt=Js([Be(0x0,_0x16f7e6(_0x505898)),Be(0x1,_0x16f7e6(we)),Be(0x2,_0x4ba4ee),Be(0x3,_0x10b82e)],nt);var Xs=Object[_0x485e82(0x30f)],Zs=(_0x13b570,_0x5a6604,_0x1f9e09,_0x2bb4c1)=>{var _0x5ac4e9=_0x485e82;for(var _0x81477e=_0x2bb4c1>0x1?void 0x0:_0x2bb4c1?Xs(_0x5a6604,_0x1f9e09):_0x5a6604,_0x590033=_0x13b570[_0x5ac4e9(0x398)]-0x1,_0x4438c1;_0x590033>=0x0;_0x590033--)(_0x4438c1=_0x13b570[_0x590033])&&(_0x81477e=_0x4438c1(_0x81477e)||_0x81477e);return _0x81477e;},Yt=(_0x2a4c8e,_0x201a12)=>(_0x40ffc0,_0x146b97)=>_0x201a12(_0x40ffc0,_0x146b97,_0x2a4c8e);const Qs=_0x485e82(0x2c3),en=_0x485e82(0x1bc);let gt=class extends _0x327acd{constructor(_0x53971d,_0xc8c894){var _0x8f7f8=_0x485e82;super(),this[_0x8f7f8(0x15f)]=_0x53971d,this[_0x8f7f8(0x2a9)]=_0xc8c894,this['_init']();}['_init'](){var _0x58224e=_0x485e82;this['disposeWithMe'](this[_0x58224e(0x15f)][_0x58224e(0x245)][_0x58224e(0x336)](()=>{var _0x500f92=_0x58224e,_0x81fe97;const _0x506a12=this[_0x500f92(0x15f)][_0x500f92(0x27d)]();let _0x42b4ed=(_0x81fe97=this[_0x500f92(0x2a9)][_0x500f92(0x361)](Qs))!=null?_0x81fe97:en;_0x506a12 instanceof _0x1cd267&&(_0x42b4ed=_0x506a12[_0x500f92(0x2dd)]),document[_0x500f92(0x1f9)]=_0x42b4ed;}));}};gt=Zs([Yt(0x0,_0x10b82e),Yt(0x1,_0x4ba4ee)],gt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x269da4,_0x68d69b,_0x5274f4,_0x191e94)=>{var _0x568f7d=_0x485e82;for(var _0x23fc77=_0x191e94>0x1?void 0x0:_0x191e94?tn(_0x68d69b,_0x5274f4):_0x68d69b,_0x316eff=_0x269da4[_0x568f7d(0x398)]-0x1,_0x4ec70f;_0x316eff>=0x0;_0x316eff--)(_0x4ec70f=_0x269da4[_0x316eff])&&(_0x23fc77=_0x4ec70f(_0x23fc77)||_0x23fc77);return _0x23fc77;},dt=(_0x5577a3,_0x1dc5c3)=>(_0x138df0,_0x4d9091)=>_0x1dc5c3(_0x138df0,_0x4d9091,_0x5577a3);let rt=class{constructor(_0x2c09b9,_0x567a67,_0xbf6cd0){var _0x45a191=_0x485e82;this['_configService']=_0x2c09b9,this['_httpService']=_0x567a67,this[_0x45a191(0x2f1)]=_0xbf6cd0,this[_0x45a191(0x316)]();}[_0x485e82(0x316)](){var _0x18d171=_0x485e82;this[_0x18d171(0x3c5)][_0x18d171(0x1d3)]({'priority':0x1,'interceptor':(_0x49fd92,_0x2a5d4c)=>_0x2a5d4c(_0x49fd92)[_0x18d171(0x17b)](_0x11e4ec(async _0x119505=>{var _0x1b866d=_0x18d171;const _0x11f1dd=_0x119505;if(_0x11f1dd['status']===0x191){if(typeof window>'u')throw new Error(_0x1b866d(0x318));if(window[_0x1b866d(0x2ce)](this[_0x1b866d(0x2f1)]['t'](_0x1b866d(0x193)))){const _0x25246a=window[_0x1b866d(0x1cb)](window[_0x1b866d(0x270)][_0x1b866d(0x1b6)]);window[_0x1b866d(0x270)][_0x1b866d(0x1b6)]=this[_0x1b866d(0x1ce)]()+'?url='+_0x25246a;}}return _0x11f1dd;}))});}['_getLoginPath'](){var _0x13d5f5=_0x485e82,_0x3c450c;const _0x1dbf5c=this[_0x13d5f5(0x2a9)][_0x13d5f5(0x361)](K);return(_0x3c450c=_0x1dbf5c==null?void 0x0:_0x1dbf5c[_0x13d5f5(0xc7)])!=null?_0x3c450c:Rs;}};rt=sn([dt(0x0,_0x4ba4ee),dt(0x1,_0x16f7e6(_0x53558e)),dt(0x2,_0x16f7e6(_0x1f34f9))],rt);var nn=Object[_0x485e82(0x30f)],rn=(_0x22996e,_0x2955ba,_0x5d1164,_0x269725)=>{var _0x48ec14=_0x485e82;for(var _0xe0ab24=_0x269725>0x1?void 0x0:_0x269725?nn(_0x2955ba,_0x5d1164):_0x2955ba,_0x5d0e9a=_0x22996e[_0x48ec14(0x398)]-0x1,_0x33d920;_0x5d0e9a>=0x0;_0x5d0e9a--)(_0x33d920=_0x22996e[_0x5d0e9a])&&(_0xe0ab24=_0x33d920(_0xe0ab24)||_0xe0ab24);return _0xe0ab24;},Kt=(_0x5a02e4,_0x203708)=>(_0xecb62b,_0x36b742)=>_0x203708(_0xecb62b,_0x36b742,_0x5a02e4);const an=_0x485e82(0x345);let Tt=class extends _0x327acd{constructor(_0x36ebf9,_0x2da2c1){var _0xd6c523=_0x485e82;super(),this['_HTTPService']=_0x36ebf9,this[_0xd6c523(0x2a9)]=_0x2da2c1,this[_0xd6c523(0x1c2)]();}['_initMergeInterceptor'](){var _0x45a627=_0x485e82;const _0x5d24de=this;this[_0x45a627(0x139)](this[_0x45a627(0x142)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x1ff0c5({'isMatch'(_0x497c6e){var _0x865ae=_0x45a627,_0x8d7a5;if(_0x497c6e[_0x865ae(0x3cb)]===_0x865ae(0x2d3)&&((_0x8d7a5=_0x497c6e['requestParams'])!=null&&_0x8d7a5[_0x865ae(0x3c7)])){const {objectID:_0xdba1e5,objectType:_0x2dc65c}=_0x497c6e[_0x865ae(0x23c)][_0x865ae(0x3c7)]||{};if(!_0xdba1e5||_0x2dc65c===void 0x0)return!0x1;const _0x14ab8f=_0x5d24de['_getAPIPrefixPath']()+'/'+_0x2dc65c+'/object/'+_0xdba1e5+_0x865ae(0x2c8);if(_0x497c6e[_0x865ae(0x22d)]===_0x14ab8f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x35737a){var _0x441be2=_0x45a627,_0x2c91a7;return(_0x2c91a7=_0x35737a[_0x441be2(0x23c)])==null?void 0x0:_0x2c91a7[_0x441be2(0x3c7)];},'mergeParamsToRequest'(_0x3701fd,_0x4809d0){var _0x538263=_0x45a627;const _0xa9bd95=_0x5d24de[_0x538263(0x1b3)]()+_0x538263(0x15d),_0x1d20f4=_0x3701fd[_0x538263(0x22b)]((_0x136e75,_0x5a441d)=>{var _0x2810db=_0x538263;const {unitID:_0x4f9d5c,objectID:_0x4d13de,objectType:_0x45c9f7,actions:_0x564fb3}=_0x5a441d;return _0x136e75[_0x4f9d5c]||(_0x136e75[_0x4f9d5c]={}),_0x136e75[_0x4f9d5c][_0x4d13de]||(_0x136e75[_0x4f9d5c][_0x4d13de]={'objectID':_0x4d13de,'objectType':_0x45c9f7,'actions':[]}),_0x136e75[_0x4f9d5c][_0x4d13de][_0x2810db(0x2a6)][_0x2810db(0x223)](..._0x564fb3),_0x136e75;},{}),_0x2c2b47=[];for(const _0x3fe173 in _0x1d20f4)for(const _0x28347c in _0x1d20f4[_0x3fe173]){const {actions:_0x156fbd,objectType:_0x3110c8}=_0x1d20f4[_0x3fe173][_0x28347c],_0x30ab75=[...new Set(_0x156fbd)];_0x2c2b47[_0x538263(0x223)]({'unitID':_0x3fe173,'objectID':_0x28347c,'objectType':_0x3110c8,'actions':_0x30ab75});}return new _0x14aa09('POST',_0xa9bd95,{'headers':_0x4809d0[_0x538263(0x29c)],'withCredentials':_0x4809d0[_0x538263(0x2a7)],'responseType':_0x4809d0[_0x538263(0x27c)],'body':{'requests':_0x2c2b47}});}},{'distributeResult'(_0x6cdebc,_0x234782){var _0x14863d=_0x45a627;const {objectActions:_0x12595a}=_0x6cdebc;return _0x234782[_0x14863d(0x366)](_0xffcce9=>{var _0x9a35d4=_0x14863d;const {unitID:_0x1bf444,objectID:_0x5750bc,actions:_0x143d60}=_0xffcce9,_0x385f18=_0x12595a[_0x9a35d4(0x101)](_0x345d65=>_0x345d65['unitID']===_0x1bf444&&_0x345d65[_0x9a35d4(0x32c)]===_0x5750bc),_0x35a467=_0x143d60[_0x9a35d4(0x366)](_0x5b8c6f=>_0x385f18==null?void 0x0:_0x385f18[_0x9a35d4(0x2a6)]['find'](_0xacfd77=>_0xacfd77[_0x9a35d4(0x2c2)]===_0x5b8c6f))['filter'](_0x30f8fc=>!!_0x30f8fc);return{'config':_0xffcce9,'result':{'actions':_0x35a467,'error':_0x6cdebc[_0x9a35d4(0xd3)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4874a1=_0x485e82,_0x417d37;const _0x4529de=this[_0x4874a1(0x2a9)][_0x4874a1(0x361)](K);return(_0x417d37=_0x4529de==null?void 0x0:_0x4529de[_0x4874a1(0x16b)])!=null?_0x417d37:an;}async[_0x485e82(0x2e4)](_0x5a14c3){var _0x429229=_0x485e82;const _0x1f0ab7=this['_getAPIPrefixPath']()+'/'+_0x5a14c3[_0x429229(0x120)]+_0x429229(0x13c);return(await this[_0x429229(0x142)][_0x429229(0x37b)](_0x1f0ab7,{'body':_0x5a14c3}))[_0x429229(0x3c7)]['objectID']||'';}async[_0x485e82(0x140)](_0x16e2b2){var _0xc81546=_0x485e82;const _0x5c190d=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0xc81546(0x142)]['post'](_0x5c190d,{'body':_0x16e2b2}))['body'][_0xc81546(0x299)];}async[_0x485e82(0x25a)](_0x190d78){var _0x380e21=_0x485e82,_0x4e703c,_0x2a34d7;const _0x377bba=this[_0x380e21(0x1b3)]()+'/'+_0x190d78['objectType']+_0x380e21(0xfb)+_0x190d78[_0x380e21(0x32c)],_0x5c91b9=await this['_HTTPService'][_0x380e21(0x257)](_0x377bba,{'body':_0x190d78});if(((_0x2a34d7=(_0x4e703c=_0x5c91b9==null?void 0x0:_0x5c91b9[_0x380e21(0x3c7)])==null?void 0x0:_0x4e703c[_0x380e21(0xd3)])==null?void 0x0:_0x2a34d7[_0x380e21(0x3a9)])!==0x1)throw new Error(_0x380e21(0x29f));}async[_0x485e82(0x202)](_0x390b78){var _0x527aee=_0x485e82;const _0x40c0e2=this['_getAPIPrefixPath']()+'/'+_0x390b78['objectType']+_0x527aee(0xfb)+_0x390b78[_0x527aee(0x32c)]+_0x527aee(0x2c8);return(await this[_0x527aee(0x142)][_0x527aee(0x37b)](_0x40c0e2,{'body':_0x390b78}))[_0x527aee(0x3c7)]['actions'];}async[_0x485e82(0xd1)](_0x110edb){var _0x3a7ad8=_0x485e82;const _0x544b87=this[_0x3a7ad8(0x1b3)]()+_0x3a7ad8(0x15d);return(await this['_HTTPService'][_0x3a7ad8(0x37b)](_0x544b87,{'body':{'requests':_0x110edb}}))[_0x3a7ad8(0x3c7)][_0x3a7ad8(0x3c3)];}async[_0x485e82(0x190)](_0x515269){var _0x92626a=_0x485e82;const _0x3ac628=this[_0x92626a(0x1b3)]()+'/'+_0x515269['objectType']+'/role',_0x13ad75=await this[_0x92626a(0x142)][_0x92626a(0x37b)](_0x3ac628,{'body':_0x515269});return{'roles':_0x13ad75['body'][_0x92626a(0x35d)],'actions':_0x13ad75[_0x92626a(0x3c7)][_0x92626a(0x2a6)]};}async[_0x485e82(0x34f)](_0x3bdd3e){var _0x5ce9da=_0x485e82;const _0x5e5be9=this[_0x5ce9da(0x1b3)]()+_0x5ce9da(0x1a7);await this[_0x5ce9da(0x142)][_0x5ce9da(0x340)](_0x5e5be9,{'params':{'collaboratorID':_0x3bdd3e[_0x5ce9da(0x267)],'objectID':_0x3bdd3e[_0x5ce9da(0x32c)],'unitID':_0x3bdd3e[_0x5ce9da(0xc2)]}});}async[_0x485e82(0x16f)](_0x22e2c0){var _0x304de5=_0x485e82;const _0x2268c6=this[_0x304de5(0x1b3)]()+_0x304de5(0x1a7);await this[_0x304de5(0x142)]['patch'](_0x2268c6,{'body':_0x22e2c0});}async[_0x485e82(0x3b7)](_0x54ec03){var _0x25a9bd=_0x485e82;const _0x43545b=this[_0x25a9bd(0x1b3)]()+_0x25a9bd(0x1a7);await this[_0x25a9bd(0x142)][_0x25a9bd(0x37b)](_0x43545b,{'body':_0x54ec03});}async['listCollaborators'](_0x3b5a94){var _0x2f2da8=_0x485e82;const _0x41db48=this[_0x2f2da8(0x1b3)]()+_0x2f2da8(0x1a7);return(await this[_0x2f2da8(0x142)][_0x2f2da8(0x183)](_0x41db48,{'params':{'objectID':_0x3b5a94[_0x2f2da8(0x32c)],'unitID':_0x3b5a94[_0x2f2da8(0xc2)]}}))[_0x2f2da8(0x3c7)]['collaborators'];}async[_0x485e82(0x196)](_0x281bcb){var _0x2d2b78=_0x485e82;const _0x5c190c=this['_getAPIPrefixPath']()+_0x2d2b78(0x1a7);await this['_HTTPService'][_0x2d2b78(0x257)](_0x5c190c,{'body':_0x281bcb});}};Tt=rn([Kt(0x0,_0x16f7e6(_0x53558e)),Kt(0x1,_0x16f7e6(_0x4ba4ee))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x58849a){var _0x14b02e=_0x485e82;return _0x58849a&&_0x58849a['__esModule']&&Object[_0x14b02e(0x309)][_0x14b02e(0x16d)][_0x14b02e(0x2b0)](_0x58849a,_0x14b02e(0x277))?_0x58849a[_0x14b02e(0x277)]:_0x58849a;}var Ve={'exports':{}};function on(_0xc4491b){var _0x1ed1c3=_0x485e82;throw new Error(_0x1ed1c3(0xf2)+_0xc4491b+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},cn=Ge[_0x485e82(0xf3)],qt;function ie(){return qt||(qt=0x1,function(_0x499452,_0x596187){(function(_0x54b3ac,_0x377333){var _0x393c21=_0x34dc;_0x499452[_0x393c21(0xf3)]=_0x377333();}(cn,function(){var _0x3c3c7a=_0x3c3c7a||function(_0xffc46b,_0x3b45fa){var _0x2d6988=_0x34dc,_0x8ab95e;if(typeof window<'u'&&window[_0x2d6988(0x105)]&&(_0x8ab95e=window[_0x2d6988(0x105)]),typeof self<'u'&&self[_0x2d6988(0x105)]&&(_0x8ab95e=self[_0x2d6988(0x105)]),typeof globalThis<'u'&&globalThis[_0x2d6988(0x105)]&&(_0x8ab95e=globalThis[_0x2d6988(0x105)]),!_0x8ab95e&&typeof window<'u'&&window[_0x2d6988(0x27f)]&&(_0x8ab95e=window[_0x2d6988(0x27f)]),!_0x8ab95e&&typeof ft<'u'&&ft[_0x2d6988(0x105)]&&(_0x8ab95e=ft[_0x2d6988(0x105)]),!_0x8ab95e&&typeof on==_0x2d6988(0x1a1))try{_0x8ab95e=require('crypto');}catch{}var _0x343654=function(){var _0x2a9309=_0x2d6988;if(_0x8ab95e){if(typeof _0x8ab95e[_0x2a9309(0x21a)]==_0x2a9309(0x1a1))try{return _0x8ab95e[_0x2a9309(0x21a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x8ab95e['randomBytes']=='function')try{return _0x8ab95e[_0x2a9309(0x2a2)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2a9309(0x160));},_0x22b580=Object['create']||(function(){function _0x14f0b2(){}return function(_0x3f3d21){var _0x446fe8=_0x34dc,_0x9f474e;return _0x14f0b2[_0x446fe8(0x309)]=_0x3f3d21,_0x9f474e=new _0x14f0b2(),_0x14f0b2[_0x446fe8(0x309)]=null,_0x9f474e;};}()),_0x3f812e={},_0xaaeb56=_0x3f812e['lib']={},_0xf209fb=_0xaaeb56[_0x2d6988(0x268)]=(function(){return{'extend':function(_0x212d08){var _0x21c8fd=_0x34dc,_0x3948f3=_0x22b580(this);return _0x212d08&&_0x3948f3[_0x21c8fd(0x37f)](_0x212d08),(!_0x3948f3[_0x21c8fd(0x16d)]('init')||this[_0x21c8fd(0x316)]===_0x3948f3['init'])&&(_0x3948f3[_0x21c8fd(0x316)]=function(){var _0x129bfd=_0x21c8fd;_0x3948f3[_0x129bfd(0x373)][_0x129bfd(0x316)]['apply'](this,arguments);}),_0x3948f3[_0x21c8fd(0x316)][_0x21c8fd(0x309)]=_0x3948f3,_0x3948f3['$super']=this,_0x3948f3;},'create':function(){var _0x559bb6=_0x34dc,_0x1c3390=this[_0x559bb6(0x206)]();return _0x1c3390[_0x559bb6(0x316)]['apply'](_0x1c3390,arguments),_0x1c3390;},'init':function(){},'mixIn':function(_0x14d635){var _0x482d20=_0x34dc;for(var _0x9aa2bb in _0x14d635)_0x14d635['hasOwnProperty'](_0x9aa2bb)&&(this[_0x9aa2bb]=_0x14d635[_0x9aa2bb]);_0x14d635[_0x482d20(0x16d)]('toString')&&(this[_0x482d20(0x108)]=_0x14d635['toString']);},'clone':function(){var _0x3affcb=_0x34dc;return this[_0x3affcb(0x316)]['prototype'][_0x3affcb(0x206)](this);}};}()),_0x484a52=_0xaaeb56[_0x2d6988(0x288)]=_0xf209fb['extend']({'init':function(_0x530e50,_0x306e6f){var _0x421fc2=_0x2d6988;_0x530e50=this[_0x421fc2(0x3b8)]=_0x530e50||[],_0x306e6f!=_0x3b45fa?this[_0x421fc2(0x2f6)]=_0x306e6f:this[_0x421fc2(0x2f6)]=_0x530e50[_0x421fc2(0x398)]*0x4;},'toString':function(_0x55d9fa){return(_0x55d9fa||_0x4c3589)['stringify'](this);},'concat':function(_0x5524e5){var _0x26128b=_0x2d6988,_0x5bbd8c=this[_0x26128b(0x3b8)],_0x2f465f=_0x5524e5[_0x26128b(0x3b8)],_0x3ad66c=this[_0x26128b(0x2f6)],_0x50c582=_0x5524e5[_0x26128b(0x2f6)];if(this[_0x26128b(0x278)](),_0x3ad66c%0x4)for(var _0x1e81f6=0x0;_0x1e81f6<_0x50c582;_0x1e81f6++){var _0x390194=_0x2f465f[_0x1e81f6>>>0x2]>>>0x18-_0x1e81f6%0x4*0x8&0xff;_0x5bbd8c[_0x3ad66c+_0x1e81f6>>>0x2]|=_0x390194<<0x18-(_0x3ad66c+_0x1e81f6)%0x4*0x8;}else{for(var _0x4a0df4=0x0;_0x4a0df4<_0x50c582;_0x4a0df4+=0x4)_0x5bbd8c[_0x3ad66c+_0x4a0df4>>>0x2]=_0x2f465f[_0x4a0df4>>>0x2];}return this['sigBytes']+=_0x50c582,this;},'clamp':function(){var _0x2880cb=_0x2d6988,_0x37526e=this['words'],_0x5764d4=this[_0x2880cb(0x2f6)];_0x37526e[_0x5764d4>>>0x2]&=0xffffffff<<0x20-_0x5764d4%0x4*0x8,_0x37526e[_0x2880cb(0x398)]=_0xffc46b[_0x2880cb(0x102)](_0x5764d4/0x4);},'clone':function(){var _0x10c08b=_0x2d6988,_0x4ca7d4=_0xf209fb[_0x10c08b(0x214)][_0x10c08b(0x2b0)](this);return _0x4ca7d4[_0x10c08b(0x3b8)]=this[_0x10c08b(0x3b8)]['slice'](0x0),_0x4ca7d4;},'random':function(_0x30405d){var _0x53faab=_0x2d6988;for(var _0x47225=[],_0x55e393=0x0;_0x55e393<_0x30405d;_0x55e393+=0x4)_0x47225[_0x53faab(0x223)](_0x343654());return new _0x484a52[(_0x53faab(0x316))](_0x47225,_0x30405d);}}),_0x3a5445=_0x3f812e['enc']={},_0x4c3589=_0x3a5445[_0x2d6988(0x37a)]={'stringify':function(_0x59b104){var _0x758025=_0x2d6988;for(var _0x5db958=_0x59b104[_0x758025(0x3b8)],_0x4de431=_0x59b104['sigBytes'],_0x3c12a5=[],_0x182100=0x0;_0x182100<_0x4de431;_0x182100++){var _0x584537=_0x5db958[_0x182100>>>0x2]>>>0x18-_0x182100%0x4*0x8&0xff;_0x3c12a5[_0x758025(0x223)]((_0x584537>>>0x4)['toString'](0x10)),_0x3c12a5[_0x758025(0x223)]((_0x584537&0xf)[_0x758025(0x108)](0x10));}return _0x3c12a5['join']('');},'parse':function(_0x2215f9){var _0x214c00=_0x2d6988;for(var _0x2d01d0=_0x2215f9[_0x214c00(0x398)],_0x399f15=[],_0x267681=0x0;_0x267681<_0x2d01d0;_0x267681+=0x2)_0x399f15[_0x267681>>>0x3]|=parseInt(_0x2215f9[_0x214c00(0x3a1)](_0x267681,0x2),0x10)<<0x18-_0x267681%0x8*0x4;return new _0x484a52[(_0x214c00(0x316))](_0x399f15,_0x2d01d0/0x2);}},_0x4638ac=_0x3a5445['Latin1']={'stringify':function(_0x32fb62){var _0x517827=_0x2d6988;for(var _0x495d42=_0x32fb62[_0x517827(0x3b8)],_0x1b90f9=_0x32fb62[_0x517827(0x2f6)],_0x2e1b44=[],_0x5cbfde=0x0;_0x5cbfde<_0x1b90f9;_0x5cbfde++){var _0x56000f=_0x495d42[_0x5cbfde>>>0x2]>>>0x18-_0x5cbfde%0x4*0x8&0xff;_0x2e1b44[_0x517827(0x223)](String['fromCharCode'](_0x56000f));}return _0x2e1b44['join']('');},'parse':function(_0xe89f4){var _0x3bfee9=_0x2d6988;for(var _0x1b346f=_0xe89f4[_0x3bfee9(0x398)],_0x3fece2=[],_0x4e9e4d=0x0;_0x4e9e4d<_0x1b346f;_0x4e9e4d++)_0x3fece2[_0x4e9e4d>>>0x2]|=(_0xe89f4[_0x3bfee9(0x19d)](_0x4e9e4d)&0xff)<<0x18-_0x4e9e4d%0x4*0x8;return new _0x484a52[(_0x3bfee9(0x316))](_0x3fece2,_0x1b346f);}},_0x2e0b08=_0x3a5445[_0x2d6988(0x18f)]={'stringify':function(_0x3403fd){var _0x17acbc=_0x2d6988;try{return decodeURIComponent(escape(_0x4638ac[_0x17acbc(0x333)](_0x3403fd)));}catch{throw new Error(_0x17acbc(0x29d));}},'parse':function(_0x1f77fe){var _0x1ff965=_0x2d6988;return _0x4638ac[_0x1ff965(0x264)](unescape(encodeURIComponent(_0x1f77fe)));}},_0x6fa401=_0xaaeb56[_0x2d6988(0xe8)]=_0xf209fb[_0x2d6988(0x206)]({'reset':function(){var _0x5663c8=_0x2d6988;this[_0x5663c8(0x133)]=new _0x484a52[(_0x5663c8(0x316))](),this[_0x5663c8(0x148)]=0x0;},'_append':function(_0x2295e3){var _0x11274b=_0x2d6988;typeof _0x2295e3==_0x11274b(0x35c)&&(_0x2295e3=_0x2e0b08[_0x11274b(0x264)](_0x2295e3)),this['_data'][_0x11274b(0x10f)](_0x2295e3),this['_nDataBytes']+=_0x2295e3[_0x11274b(0x2f6)];},'_process':function(_0x544e46){var _0x3aee00=_0x2d6988,_0x12b89e,_0x1fa027=this[_0x3aee00(0x133)],_0x1a50a3=_0x1fa027['words'],_0x55be98=_0x1fa027['sigBytes'],_0x5255c1=this[_0x3aee00(0x254)],_0x4b906d=_0x5255c1*0x4,_0x4cfbcf=_0x55be98/_0x4b906d;_0x544e46?_0x4cfbcf=_0xffc46b[_0x3aee00(0x102)](_0x4cfbcf):_0x4cfbcf=_0xffc46b[_0x3aee00(0x14b)]((_0x4cfbcf|0x0)-this[_0x3aee00(0x14c)],0x0);var _0x5767b4=_0x4cfbcf*_0x5255c1,_0x5bc36a=_0xffc46b[_0x3aee00(0x2d2)](_0x5767b4*0x4,_0x55be98);if(_0x5767b4){for(var _0x32cdfa=0x0;_0x32cdfa<_0x5767b4;_0x32cdfa+=_0x5255c1)this[_0x3aee00(0x228)](_0x1a50a3,_0x32cdfa);_0x12b89e=_0x1a50a3[_0x3aee00(0x3d1)](0x0,_0x5767b4),_0x1fa027[_0x3aee00(0x2f6)]-=_0x5bc36a;}return new _0x484a52[(_0x3aee00(0x316))](_0x12b89e,_0x5bc36a);},'clone':function(){var _0x520e24=_0x2d6988,_0x28015d=_0xf209fb['clone'][_0x520e24(0x2b0)](this);return _0x28015d[_0x520e24(0x133)]=this[_0x520e24(0x133)][_0x520e24(0x214)](),_0x28015d;},'_minBufferSize':0x0});_0xaaeb56[_0x2d6988(0x2de)]=_0x6fa401[_0x2d6988(0x206)]({'cfg':_0xf209fb['extend'](),'init':function(_0x118e59){var _0x4eaaef=_0x2d6988;this[_0x4eaaef(0x351)]=this[_0x4eaaef(0x351)][_0x4eaaef(0x206)](_0x118e59),this[_0x4eaaef(0x13f)]();},'reset':function(){var _0x55cbe6=_0x2d6988;_0x6fa401[_0x55cbe6(0x13f)][_0x55cbe6(0x2b0)](this),this['_doReset']();},'update':function(_0x134eec){var _0x2fa082=_0x2d6988;return this[_0x2fa082(0xfd)](_0x134eec),this[_0x2fa082(0x164)](),this;},'finalize':function(_0x25c882){var _0x531f9a=_0x2d6988;_0x25c882&&this[_0x531f9a(0xfd)](_0x25c882);var _0x9ad3d6=this[_0x531f9a(0xfe)]();return _0x9ad3d6;},'blockSize':0x10,'_createHelper':function(_0x22c585){return function(_0x4d4e51,_0x133e6f){var _0x55a0b7=_0x34dc;return new _0x22c585[(_0x55a0b7(0x316))](_0x133e6f)[_0x55a0b7(0x244)](_0x4d4e51);};},'_createHmacHelper':function(_0x29d762){return function(_0x24ca9a,_0x409de0){var _0x522a5e=_0x34dc;return new _0x16b76b['HMAC'][(_0x522a5e(0x316))](_0x29d762,_0x409de0)[_0x522a5e(0x244)](_0x24ca9a);};}});var _0x16b76b=_0x3f812e['algo']={};return _0x3f812e;}(Math);return _0x3c3c7a;}));}(Ge)),Ge['exports'];}var We={'exports':{}},_n=We[_0x485e82(0xf3)],zt;function Ri(){var _0x2d9704=_0x485e82;return zt||(zt=0x1,function(_0x450c45,_0xab596b){(function(_0x23de2c,_0x4b909c){_0x450c45['exports']=_0x4b909c(ie());}(_n,function(_0x2cbd3d){var _0x22489f=_0x34dc;return(function(){var _0x2ca0bc=_0x34dc,_0x33fee8=_0x2cbd3d,_0x35209a=_0x33fee8[_0x2ca0bc(0x151)],_0x33b7c7=_0x35209a[_0x2ca0bc(0x288)],_0x20acc9=_0x33fee8[_0x2ca0bc(0x308)];_0x20acc9[_0x2ca0bc(0x243)]={'stringify':function(_0x18cd67){var _0xfc52c1=_0x2ca0bc,_0x226279=_0x18cd67['words'],_0x4ca1a3=_0x18cd67['sigBytes'],_0x12f8e4=this[_0xfc52c1(0x3b4)];_0x18cd67[_0xfc52c1(0x278)]();for(var _0x442a90=[],_0x224d93=0x0;_0x224d93<_0x4ca1a3;_0x224d93+=0x3)for(var _0x5f3c3b=_0x226279[_0x224d93>>>0x2]>>>0x18-_0x224d93%0x4*0x8&0xff,_0x19c7bc=_0x226279[_0x224d93+0x1>>>0x2]>>>0x18-(_0x224d93+0x1)%0x4*0x8&0xff,_0x4f12c7=_0x226279[_0x224d93+0x2>>>0x2]>>>0x18-(_0x224d93+0x2)%0x4*0x8&0xff,_0x27b249=_0x5f3c3b<<0x10|_0x19c7bc<<0x8|_0x4f12c7,_0x4a87ab=0x0;_0x4a87ab<0x4&&_0x224d93+_0x4a87ab*0.75<_0x4ca1a3;_0x4a87ab++)_0x442a90[_0xfc52c1(0x223)](_0x12f8e4[_0xfc52c1(0xdb)](_0x27b249>>>0x6*(0x3-_0x4a87ab)&0x3f));var _0x4a5601=_0x12f8e4['charAt'](0x40);if(_0x4a5601){for(;_0x442a90[_0xfc52c1(0x398)]%0x4;)_0x442a90['push'](_0x4a5601);}return _0x442a90[_0xfc52c1(0x36d)]('');},'parse':function(_0x341def){var _0x3e6751=_0x2ca0bc,_0xff6ba2=_0x341def[_0x3e6751(0x398)],_0x287b2e=this[_0x3e6751(0x3b4)],_0x5481be=this[_0x3e6751(0x204)];if(!_0x5481be){_0x5481be=this[_0x3e6751(0x204)]=[];for(var _0x4cc07b=0x0;_0x4cc07b<_0x287b2e['length'];_0x4cc07b++)_0x5481be[_0x287b2e[_0x3e6751(0x19d)](_0x4cc07b)]=_0x4cc07b;}var _0x182008=_0x287b2e['charAt'](0x40);if(_0x182008){var _0x340359=_0x341def['indexOf'](_0x182008);_0x340359!==-0x1&&(_0xff6ba2=_0x340359);}return _0x1e21dc(_0x341def,_0xff6ba2,_0x5481be);},'_map':_0x2ca0bc(0x3a8)};function _0x1e21dc(_0x948fa9,_0x41645b,_0x58a22f){var _0x545dfe=_0x2ca0bc;for(var _0x5e7bb5=[],_0x28f47b=0x0,_0x2134e7=0x0;_0x2134e7<_0x41645b;_0x2134e7++)if(_0x2134e7%0x4){var _0x546da8=_0x58a22f[_0x948fa9[_0x545dfe(0x19d)](_0x2134e7-0x1)]<<_0x2134e7%0x4*0x2,_0x15d4d5=_0x58a22f[_0x948fa9[_0x545dfe(0x19d)](_0x2134e7)]>>>0x6-_0x2134e7%0x4*0x2,_0x5cfaca=_0x546da8|_0x15d4d5;_0x5e7bb5[_0x28f47b>>>0x2]|=_0x5cfaca<<0x18-_0x28f47b%0x4*0x8,_0x28f47b++;}return _0x33b7c7[_0x545dfe(0x2e4)](_0x5e7bb5,_0x28f47b);}}()),_0x2cbd3d[_0x22489f(0x308)][_0x22489f(0x243)];}));}(We)),We[_0x2d9704(0xf3)];}var Ye={'exports':{}},hn=Ye['exports'],Jt;function ln(){return Jt||(Jt=0x1,function(_0x225846,_0x242ab6){(function(_0xc2eaf4,_0x18f384){var _0x3c3bde=_0x34dc;_0x225846[_0x3c3bde(0xf3)]=_0x18f384(ie());}(hn,function(_0x894107){var _0x580382=_0x34dc;return function(_0x55b73e){var _0x36df97=_0x34dc,_0x4821bd=_0x894107,_0x31d76d=_0x4821bd['lib'],_0x421a15=_0x31d76d[_0x36df97(0x288)],_0x50dbf8=_0x31d76d['Hasher'],_0x5cdd34=_0x4821bd['algo'],_0xfc01a4=[];(function(){var _0x1d9cba=_0x36df97;for(var _0x5ad665=0x0;_0x5ad665<0x40;_0x5ad665++)_0xfc01a4[_0x5ad665]=_0x55b73e[_0x1d9cba(0x2d0)](_0x55b73e['sin'](_0x5ad665+0x1))*0x100000000|0x0;}());var _0x4a6edd=_0x5cdd34[_0x36df97(0x271)]=_0x50dbf8['extend']({'_doReset':function(){var _0xa562e3=_0x36df97;this[_0xa562e3(0xdd)]=new _0x421a15['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2f7536,_0x55f379){var _0x186e4c=_0x36df97;for(var _0x17a78e=0x0;_0x17a78e<0x10;_0x17a78e++){var _0x5a1b30=_0x55f379+_0x17a78e,_0x32b619=_0x2f7536[_0x5a1b30];_0x2f7536[_0x5a1b30]=(_0x32b619<<0x8|_0x32b619>>>0x18)&0xff00ff|(_0x32b619<<0x18|_0x32b619>>>0x8)&0xff00ff00;}var _0xf58891=this[_0x186e4c(0xdd)][_0x186e4c(0x3b8)],_0x4053d7=_0x2f7536[_0x55f379+0x0],_0x48747c=_0x2f7536[_0x55f379+0x1],_0x407bb6=_0x2f7536[_0x55f379+0x2],_0xc99c0=_0x2f7536[_0x55f379+0x3],_0x23553a=_0x2f7536[_0x55f379+0x4],_0x4d4394=_0x2f7536[_0x55f379+0x5],_0x437c2f=_0x2f7536[_0x55f379+0x6],_0x272790=_0x2f7536[_0x55f379+0x7],_0x3d8f78=_0x2f7536[_0x55f379+0x8],_0x3eb8f9=_0x2f7536[_0x55f379+0x9],_0x2f6f99=_0x2f7536[_0x55f379+0xa],_0x4c3b97=_0x2f7536[_0x55f379+0xb],_0x251fae=_0x2f7536[_0x55f379+0xc],_0x2fc058=_0x2f7536[_0x55f379+0xd],_0x22e842=_0x2f7536[_0x55f379+0xe],_0x521b77=_0x2f7536[_0x55f379+0xf],_0x48d6d4=_0xf58891[0x0],_0x440e60=_0xf58891[0x1],_0x250705=_0xf58891[0x2],_0x493096=_0xf58891[0x3];_0x48d6d4=_0x4ff0b2(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x4053d7,0x7,_0xfc01a4[0x0]),_0x493096=_0x4ff0b2(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x48747c,0xc,_0xfc01a4[0x1]),_0x250705=_0x4ff0b2(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x407bb6,0x11,_0xfc01a4[0x2]),_0x440e60=_0x4ff0b2(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0xc99c0,0x16,_0xfc01a4[0x3]),_0x48d6d4=_0x4ff0b2(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x23553a,0x7,_0xfc01a4[0x4]),_0x493096=_0x4ff0b2(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x4d4394,0xc,_0xfc01a4[0x5]),_0x250705=_0x4ff0b2(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x437c2f,0x11,_0xfc01a4[0x6]),_0x440e60=_0x4ff0b2(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x272790,0x16,_0xfc01a4[0x7]),_0x48d6d4=_0x4ff0b2(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x3d8f78,0x7,_0xfc01a4[0x8]),_0x493096=_0x4ff0b2(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x3eb8f9,0xc,_0xfc01a4[0x9]),_0x250705=_0x4ff0b2(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x2f6f99,0x11,_0xfc01a4[0xa]),_0x440e60=_0x4ff0b2(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x4c3b97,0x16,_0xfc01a4[0xb]),_0x48d6d4=_0x4ff0b2(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x251fae,0x7,_0xfc01a4[0xc]),_0x493096=_0x4ff0b2(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x2fc058,0xc,_0xfc01a4[0xd]),_0x250705=_0x4ff0b2(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x22e842,0x11,_0xfc01a4[0xe]),_0x440e60=_0x4ff0b2(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x521b77,0x16,_0xfc01a4[0xf]),_0x48d6d4=_0x1a174e(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x48747c,0x5,_0xfc01a4[0x10]),_0x493096=_0x1a174e(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x437c2f,0x9,_0xfc01a4[0x11]),_0x250705=_0x1a174e(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x4c3b97,0xe,_0xfc01a4[0x12]),_0x440e60=_0x1a174e(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x4053d7,0x14,_0xfc01a4[0x13]),_0x48d6d4=_0x1a174e(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x4d4394,0x5,_0xfc01a4[0x14]),_0x493096=_0x1a174e(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x2f6f99,0x9,_0xfc01a4[0x15]),_0x250705=_0x1a174e(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x521b77,0xe,_0xfc01a4[0x16]),_0x440e60=_0x1a174e(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x23553a,0x14,_0xfc01a4[0x17]),_0x48d6d4=_0x1a174e(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x3eb8f9,0x5,_0xfc01a4[0x18]),_0x493096=_0x1a174e(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x22e842,0x9,_0xfc01a4[0x19]),_0x250705=_0x1a174e(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0xc99c0,0xe,_0xfc01a4[0x1a]),_0x440e60=_0x1a174e(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x3d8f78,0x14,_0xfc01a4[0x1b]),_0x48d6d4=_0x1a174e(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x2fc058,0x5,_0xfc01a4[0x1c]),_0x493096=_0x1a174e(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x407bb6,0x9,_0xfc01a4[0x1d]),_0x250705=_0x1a174e(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x272790,0xe,_0xfc01a4[0x1e]),_0x440e60=_0x1a174e(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x251fae,0x14,_0xfc01a4[0x1f]),_0x48d6d4=_0x27f636(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x4d4394,0x4,_0xfc01a4[0x20]),_0x493096=_0x27f636(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x3d8f78,0xb,_0xfc01a4[0x21]),_0x250705=_0x27f636(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x4c3b97,0x10,_0xfc01a4[0x22]),_0x440e60=_0x27f636(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x22e842,0x17,_0xfc01a4[0x23]),_0x48d6d4=_0x27f636(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x48747c,0x4,_0xfc01a4[0x24]),_0x493096=_0x27f636(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x23553a,0xb,_0xfc01a4[0x25]),_0x250705=_0x27f636(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x272790,0x10,_0xfc01a4[0x26]),_0x440e60=_0x27f636(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x2f6f99,0x17,_0xfc01a4[0x27]),_0x48d6d4=_0x27f636(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x2fc058,0x4,_0xfc01a4[0x28]),_0x493096=_0x27f636(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x4053d7,0xb,_0xfc01a4[0x29]),_0x250705=_0x27f636(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0xc99c0,0x10,_0xfc01a4[0x2a]),_0x440e60=_0x27f636(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x437c2f,0x17,_0xfc01a4[0x2b]),_0x48d6d4=_0x27f636(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x3eb8f9,0x4,_0xfc01a4[0x2c]),_0x493096=_0x27f636(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x251fae,0xb,_0xfc01a4[0x2d]),_0x250705=_0x27f636(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x521b77,0x10,_0xfc01a4[0x2e]),_0x440e60=_0x27f636(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x407bb6,0x17,_0xfc01a4[0x2f]),_0x48d6d4=_0x548548(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x4053d7,0x6,_0xfc01a4[0x30]),_0x493096=_0x548548(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x272790,0xa,_0xfc01a4[0x31]),_0x250705=_0x548548(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x22e842,0xf,_0xfc01a4[0x32]),_0x440e60=_0x548548(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x4d4394,0x15,_0xfc01a4[0x33]),_0x48d6d4=_0x548548(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x251fae,0x6,_0xfc01a4[0x34]),_0x493096=_0x548548(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0xc99c0,0xa,_0xfc01a4[0x35]),_0x250705=_0x548548(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x2f6f99,0xf,_0xfc01a4[0x36]),_0x440e60=_0x548548(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x48747c,0x15,_0xfc01a4[0x37]),_0x48d6d4=_0x548548(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x3d8f78,0x6,_0xfc01a4[0x38]),_0x493096=_0x548548(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x521b77,0xa,_0xfc01a4[0x39]),_0x250705=_0x548548(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x437c2f,0xf,_0xfc01a4[0x3a]),_0x440e60=_0x548548(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x2fc058,0x15,_0xfc01a4[0x3b]),_0x48d6d4=_0x548548(_0x48d6d4,_0x440e60,_0x250705,_0x493096,_0x23553a,0x6,_0xfc01a4[0x3c]),_0x493096=_0x548548(_0x493096,_0x48d6d4,_0x440e60,_0x250705,_0x4c3b97,0xa,_0xfc01a4[0x3d]),_0x250705=_0x548548(_0x250705,_0x493096,_0x48d6d4,_0x440e60,_0x407bb6,0xf,_0xfc01a4[0x3e]),_0x440e60=_0x548548(_0x440e60,_0x250705,_0x493096,_0x48d6d4,_0x3eb8f9,0x15,_0xfc01a4[0x3f]),_0xf58891[0x0]=_0xf58891[0x0]+_0x48d6d4|0x0,_0xf58891[0x1]=_0xf58891[0x1]+_0x440e60|0x0,_0xf58891[0x2]=_0xf58891[0x2]+_0x250705|0x0,_0xf58891[0x3]=_0xf58891[0x3]+_0x493096|0x0;},'_doFinalize':function(){var _0x3a54c1=_0x36df97,_0x4252c1=this[_0x3a54c1(0x133)],_0x162b1d=_0x4252c1['words'],_0x121a20=this['_nDataBytes']*0x8,_0x12a6ab=_0x4252c1[_0x3a54c1(0x2f6)]*0x8;_0x162b1d[_0x12a6ab>>>0x5]|=0x80<<0x18-_0x12a6ab%0x20;var _0x5386b0=_0x55b73e[_0x3a54c1(0x110)](_0x121a20/0x100000000),_0x37a276=_0x121a20;_0x162b1d[(_0x12a6ab+0x40>>>0x9<<0x4)+0xf]=(_0x5386b0<<0x8|_0x5386b0>>>0x18)&0xff00ff|(_0x5386b0<<0x18|_0x5386b0>>>0x8)&0xff00ff00,_0x162b1d[(_0x12a6ab+0x40>>>0x9<<0x4)+0xe]=(_0x37a276<<0x8|_0x37a276>>>0x18)&0xff00ff|(_0x37a276<<0x18|_0x37a276>>>0x8)&0xff00ff00,_0x4252c1[_0x3a54c1(0x2f6)]=(_0x162b1d[_0x3a54c1(0x398)]+0x1)*0x4,this[_0x3a54c1(0x164)]();for(var _0x518931=this[_0x3a54c1(0xdd)],_0x4f1991=_0x518931['words'],_0x3113db=0x0;_0x3113db<0x4;_0x3113db++){var _0x1d2cb4=_0x4f1991[_0x3113db];_0x4f1991[_0x3113db]=(_0x1d2cb4<<0x8|_0x1d2cb4>>>0x18)&0xff00ff|(_0x1d2cb4<<0x18|_0x1d2cb4>>>0x8)&0xff00ff00;}return _0x518931;},'clone':function(){var _0x4feb8a=_0x36df97,_0x37958d=_0x50dbf8[_0x4feb8a(0x214)][_0x4feb8a(0x2b0)](this);return _0x37958d[_0x4feb8a(0xdd)]=this[_0x4feb8a(0xdd)][_0x4feb8a(0x214)](),_0x37958d;}});function _0x4ff0b2(_0x3259c4,_0xd0124d,_0x26ea97,_0x5805d6,_0x2b36d6,_0x2c9379,_0x286d5f){var _0x448884=_0x3259c4+(_0xd0124d&_0x26ea97|~_0xd0124d&_0x5805d6)+_0x2b36d6+_0x286d5f;return(_0x448884<<_0x2c9379|_0x448884>>>0x20-_0x2c9379)+_0xd0124d;}function _0x1a174e(_0x2866da,_0x55b652,_0x462d42,_0x2c8830,_0x2bf4bd,_0x2d530c,_0x247696){var _0x285e01=_0x2866da+(_0x55b652&_0x2c8830|_0x462d42&~_0x2c8830)+_0x2bf4bd+_0x247696;return(_0x285e01<<_0x2d530c|_0x285e01>>>0x20-_0x2d530c)+_0x55b652;}function _0x27f636(_0x5b664,_0x4463b3,_0x14a8bb,_0xf56338,_0x5ba131,_0x77a894,_0x438421){var _0x178792=_0x5b664+(_0x4463b3^_0x14a8bb^_0xf56338)+_0x5ba131+_0x438421;return(_0x178792<<_0x77a894|_0x178792>>>0x20-_0x77a894)+_0x4463b3;}function _0x548548(_0x5a5765,_0x5e2a42,_0x37407a,_0xa95064,_0x4e8773,_0x321274,_0x1eb42a){var _0x3e8b30=_0x5a5765+(_0x37407a^(_0x5e2a42|~_0xa95064))+_0x4e8773+_0x1eb42a;return(_0x3e8b30<<_0x321274|_0x3e8b30>>>0x20-_0x321274)+_0x5e2a42;}_0x4821bd[_0x36df97(0x271)]=_0x50dbf8['_createHelper'](_0x4a6edd),_0x4821bd['HmacMD5']=_0x50dbf8['_createHmacHelper'](_0x4a6edd);}(Math),_0x894107[_0x580382(0x271)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x485e82(0xf3)],Xt;function dn(){var _0x6cb924=_0x485e82;return Xt||(Xt=0x1,function(_0x45447a,_0x14f3db){(function(_0x3376d6,_0x4d9f07){_0x45447a['exports']=_0x4d9f07(ie());}(un,function(_0xa2f5ad){var _0x252cd0=_0x34dc;return(function(){var _0x24e7f6=_0x34dc,_0x38ec74=_0xa2f5ad,_0x51f9af=_0x38ec74[_0x24e7f6(0x151)],_0x2b0b89=_0x51f9af[_0x24e7f6(0x288)],_0x8aa25=_0x51f9af[_0x24e7f6(0x2de)],_0x427bf7=_0x38ec74[_0x24e7f6(0x1a3)],_0x348c06=[],_0x392237=_0x427bf7[_0x24e7f6(0x382)]=_0x8aa25[_0x24e7f6(0x206)]({'_doReset':function(){var _0x57806c=_0x24e7f6;this[_0x57806c(0xdd)]=new _0x2b0b89['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4be6fc,_0xf3ee49){var _0x45a989=_0x24e7f6;for(var _0x4bb653=this[_0x45a989(0xdd)][_0x45a989(0x3b8)],_0xce80e3=_0x4bb653[0x0],_0x40c9a6=_0x4bb653[0x1],_0x244ff9=_0x4bb653[0x2],_0x436fb9=_0x4bb653[0x3],_0x44e868=_0x4bb653[0x4],_0x396f7d=0x0;_0x396f7d<0x50;_0x396f7d++){if(_0x396f7d<0x10)_0x348c06[_0x396f7d]=_0x4be6fc[_0xf3ee49+_0x396f7d]|0x0;else{var _0x19724b=_0x348c06[_0x396f7d-0x3]^_0x348c06[_0x396f7d-0x8]^_0x348c06[_0x396f7d-0xe]^_0x348c06[_0x396f7d-0x10];_0x348c06[_0x396f7d]=_0x19724b<<0x1|_0x19724b>>>0x1f;}var _0xa79e23=(_0xce80e3<<0x5|_0xce80e3>>>0x1b)+_0x44e868+_0x348c06[_0x396f7d];_0x396f7d<0x14?_0xa79e23+=(_0x40c9a6&_0x244ff9|~_0x40c9a6&_0x436fb9)+0x5a827999:_0x396f7d<0x28?_0xa79e23+=(_0x40c9a6^_0x244ff9^_0x436fb9)+0x6ed9eba1:_0x396f7d<0x3c?_0xa79e23+=(_0x40c9a6&_0x244ff9|_0x40c9a6&_0x436fb9|_0x244ff9&_0x436fb9)-0x70e44324:_0xa79e23+=(_0x40c9a6^_0x244ff9^_0x436fb9)-0x359d3e2a,_0x44e868=_0x436fb9,_0x436fb9=_0x244ff9,_0x244ff9=_0x40c9a6<<0x1e|_0x40c9a6>>>0x2,_0x40c9a6=_0xce80e3,_0xce80e3=_0xa79e23;}_0x4bb653[0x0]=_0x4bb653[0x0]+_0xce80e3|0x0,_0x4bb653[0x1]=_0x4bb653[0x1]+_0x40c9a6|0x0,_0x4bb653[0x2]=_0x4bb653[0x2]+_0x244ff9|0x0,_0x4bb653[0x3]=_0x4bb653[0x3]+_0x436fb9|0x0,_0x4bb653[0x4]=_0x4bb653[0x4]+_0x44e868|0x0;},'_doFinalize':function(){var _0x411635=_0x24e7f6,_0x311294=this['_data'],_0x2cd13d=_0x311294[_0x411635(0x3b8)],_0x1efb8a=this[_0x411635(0x148)]*0x8,_0x5a9aea=_0x311294[_0x411635(0x2f6)]*0x8;return _0x2cd13d[_0x5a9aea>>>0x5]|=0x80<<0x18-_0x5a9aea%0x20,_0x2cd13d[(_0x5a9aea+0x40>>>0x9<<0x4)+0xe]=Math[_0x411635(0x110)](_0x1efb8a/0x100000000),_0x2cd13d[(_0x5a9aea+0x40>>>0x9<<0x4)+0xf]=_0x1efb8a,_0x311294[_0x411635(0x2f6)]=_0x2cd13d[_0x411635(0x398)]*0x4,this[_0x411635(0x164)](),this[_0x411635(0xdd)];},'clone':function(){var _0x184993=_0x24e7f6,_0x3c1959=_0x8aa25[_0x184993(0x214)][_0x184993(0x2b0)](this);return _0x3c1959['_hash']=this[_0x184993(0xdd)][_0x184993(0x214)](),_0x3c1959;}});_0x38ec74[_0x24e7f6(0x382)]=_0x8aa25[_0x24e7f6(0x303)](_0x392237),_0x38ec74[_0x24e7f6(0x26c)]=_0x8aa25[_0x24e7f6(0x1f3)](_0x392237);}()),_0xa2f5ad[_0x252cd0(0x382)];}));}(qe)),qe[_0x6cb924(0xf3)];}var ze={'exports':{}},fn=ze[_0x485e82(0xf3)],Zt;function vn(){var _0x57cda5=_0x485e82;return Zt||(Zt=0x1,function(_0x48cd23,_0x5e3972){(function(_0x51880c,_0x4eb31e){var _0x3cee96=_0x34dc;_0x48cd23[_0x3cee96(0xf3)]=_0x4eb31e(ie());}(fn,function(_0x3a1111){(function(){var _0x25b31e=_0x34dc,_0x1ed8ac=_0x3a1111,_0x41acfd=_0x1ed8ac[_0x25b31e(0x151)],_0x3a4f87=_0x41acfd[_0x25b31e(0x268)],_0x230ff4=_0x1ed8ac[_0x25b31e(0x308)],_0x5e9838=_0x230ff4[_0x25b31e(0x18f)],_0x42f600=_0x1ed8ac[_0x25b31e(0x1a3)];_0x42f600[_0x25b31e(0x272)]=_0x3a4f87[_0x25b31e(0x206)]({'init':function(_0x4c74ce,_0x362d09){var _0x4d4113=_0x25b31e;_0x4c74ce=this[_0x4d4113(0x129)]=new _0x4c74ce[(_0x4d4113(0x316))](),typeof _0x362d09=='string'&&(_0x362d09=_0x5e9838[_0x4d4113(0x264)](_0x362d09));var _0x1e0b8e=_0x4c74ce[_0x4d4113(0x254)],_0x1f9c3b=_0x1e0b8e*0x4;_0x362d09['sigBytes']>_0x1f9c3b&&(_0x362d09=_0x4c74ce[_0x4d4113(0x244)](_0x362d09)),_0x362d09[_0x4d4113(0x278)]();for(var _0x6a47aa=this[_0x4d4113(0x256)]=_0x362d09[_0x4d4113(0x214)](),_0x419653=this[_0x4d4113(0x37d)]=_0x362d09[_0x4d4113(0x214)](),_0x2143db=_0x6a47aa[_0x4d4113(0x3b8)],_0xfa6836=_0x419653[_0x4d4113(0x3b8)],_0x23e0f8=0x0;_0x23e0f8<_0x1e0b8e;_0x23e0f8++)_0x2143db[_0x23e0f8]^=0x5c5c5c5c,_0xfa6836[_0x23e0f8]^=0x36363636;_0x6a47aa[_0x4d4113(0x2f6)]=_0x419653[_0x4d4113(0x2f6)]=_0x1f9c3b,this['reset']();},'reset':function(){var _0x194712=_0x25b31e,_0xd9ca01=this[_0x194712(0x129)];_0xd9ca01['reset'](),_0xd9ca01['update'](this['_iKey']);},'update':function(_0x1ea7de){var _0x2a9941=_0x25b31e;return this[_0x2a9941(0x129)][_0x2a9941(0x25a)](_0x1ea7de),this;},'finalize':function(_0x11b9af){var _0x4647ac=_0x25b31e,_0x94228=this[_0x4647ac(0x129)],_0x2532d3=_0x94228[_0x4647ac(0x244)](_0x11b9af);_0x94228['reset']();var _0x44a14c=_0x94228[_0x4647ac(0x244)](this[_0x4647ac(0x256)]['clone']()[_0x4647ac(0x10f)](_0x2532d3));return _0x44a14c;}});}());}));}(ze)),ze[_0x57cda5(0xf3)];}var pn=Ke[_0x485e82(0xf3)],Qt;function Ci(){var _0x46fe0f=_0x485e82;return Qt||(Qt=0x1,function(_0x3e19ec,_0x25091b){(function(_0x4bb179,_0x2a7cbe,_0x5768ff){var _0x54c65b=_0x34dc;_0x3e19ec[_0x54c65b(0xf3)]=_0x2a7cbe(ie(),dn(),vn());}(pn,function(_0x172583){var _0x5354d9=_0x34dc;return(function(){var _0x564229=_0x34dc,_0x1249f6=_0x172583,_0x3c5607=_0x1249f6[_0x564229(0x151)],_0x69e136=_0x3c5607[_0x564229(0x268)],_0x5994a2=_0x3c5607[_0x564229(0x288)],_0x152594=_0x1249f6[_0x564229(0x1a3)],_0x25883d=_0x152594[_0x564229(0x271)],_0x44eb36=_0x152594['EvpKDF']=_0x69e136[_0x564229(0x206)]({'cfg':_0x69e136[_0x564229(0x206)]({'keySize':0x80/0x20,'hasher':_0x25883d,'iterations':0x1}),'init':function(_0x3e57b0){var _0x267263=_0x564229;this[_0x267263(0x351)]=this[_0x267263(0x351)][_0x267263(0x206)](_0x3e57b0);},'compute':function(_0x25da7f,_0x1e3691){var _0x52b52a=_0x564229;for(var _0x33d19f,_0x4b449f=this[_0x52b52a(0x351)],_0x105124=_0x4b449f['hasher'][_0x52b52a(0x2e4)](),_0x29db28=_0x5994a2[_0x52b52a(0x2e4)](),_0x3dabda=_0x29db28[_0x52b52a(0x3b8)],_0x2f5bf5=_0x4b449f['keySize'],_0x213ec9=_0x4b449f[_0x52b52a(0x172)];_0x3dabda[_0x52b52a(0x398)]<_0x2f5bf5;){_0x33d19f&&_0x105124[_0x52b52a(0x25a)](_0x33d19f),_0x33d19f=_0x105124[_0x52b52a(0x25a)](_0x25da7f)[_0x52b52a(0x244)](_0x1e3691),_0x105124[_0x52b52a(0x13f)]();for(var _0x50d8aa=0x1;_0x50d8aa<_0x213ec9;_0x50d8aa++)_0x33d19f=_0x105124['finalize'](_0x33d19f),_0x105124[_0x52b52a(0x13f)]();_0x29db28[_0x52b52a(0x10f)](_0x33d19f);}return _0x29db28[_0x52b52a(0x2f6)]=_0x2f5bf5*0x4,_0x29db28;}});_0x1249f6[_0x564229(0x246)]=function(_0x21f32c,_0x54e1d9,_0x292e69){var _0x160bf2=_0x564229;return _0x44eb36[_0x160bf2(0x2e4)](_0x292e69)['compute'](_0x21f32c,_0x54e1d9);};}()),_0x172583[_0x5354d9(0x246)];}));}(Ke)),Ke[_0x46fe0f(0xf3)];}var Je={'exports':{}},En=Je[_0x485e82(0xf3)],ei;function Ni(){var _0x4ff94e=_0x485e82;return ei||(ei=0x1,function(_0x4c8781,_0x323e31){(function(_0x39e494,_0x438956,_0x29bdab){_0x4c8781['exports']=_0x438956(ie(),Ci());}(En,function(_0x558dbe){var _0x63debe=_0x34dc;_0x558dbe[_0x63debe(0x151)][_0x63debe(0x331)]||function(_0xa4ee31){var _0x2b5aee=_0x63debe,_0x3a6a85=_0x558dbe,_0xf9d132=_0x3a6a85[_0x2b5aee(0x151)],_0x3dc3f5=_0xf9d132[_0x2b5aee(0x268)],_0x382c6a=_0xf9d132[_0x2b5aee(0x288)],_0x130649=_0xf9d132[_0x2b5aee(0xe8)],_0x4ad621=_0x3a6a85[_0x2b5aee(0x308)];_0x4ad621[_0x2b5aee(0x18f)];var _0x4b50ff=_0x4ad621[_0x2b5aee(0x243)],_0x47b90c=_0x3a6a85[_0x2b5aee(0x1a3)],_0x53de89=_0x47b90c[_0x2b5aee(0x246)],_0x162d46=_0xf9d132[_0x2b5aee(0x331)]=_0x130649[_0x2b5aee(0x206)]({'cfg':_0x3dc3f5['extend'](),'createEncryptor':function(_0xfe4141,_0x31628d){var _0x218a94=_0x2b5aee;return this['create'](this[_0x218a94(0x16a)],_0xfe4141,_0x31628d);},'createDecryptor':function(_0x5e4cf3,_0x10c895){var _0x2bbcaf=_0x2b5aee;return this[_0x2bbcaf(0x2e4)](this[_0x2bbcaf(0x16c)],_0x5e4cf3,_0x10c895);},'init':function(_0x2aa899,_0x5d4f46,_0x232de8){var _0x4856c3=_0x2b5aee;this[_0x4856c3(0x351)]=this['cfg'][_0x4856c3(0x206)](_0x232de8),this[_0x4856c3(0x2f4)]=_0x2aa899,this[_0x4856c3(0x2f3)]=_0x5d4f46,this[_0x4856c3(0x13f)]();},'reset':function(){var _0x2e1e57=_0x2b5aee;_0x130649[_0x2e1e57(0x13f)]['call'](this),this[_0x2e1e57(0x367)]();},'process':function(_0x41fc26){var _0xdcfe06=_0x2b5aee;return this[_0xdcfe06(0xfd)](_0x41fc26),this['_process']();},'finalize':function(_0x2db3d3){var _0xd2d8b5=_0x2b5aee;_0x2db3d3&&this['_append'](_0x2db3d3);var _0x42a81f=this[_0xd2d8b5(0xfe)]();return _0x42a81f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4788b1(_0x11a86c){var _0x2b6f51=_0x34dc;return typeof _0x11a86c==_0x2b6f51(0x35c)?_0x63289f:_0x2fff48;}return function(_0xd09043){return{'encrypt':function(_0x1b9cf0,_0x4ea9ef,_0x2b15f){var _0x597103=_0x34dc;return _0x4788b1(_0x4ea9ef)[_0x597103(0x1e2)](_0xd09043,_0x1b9cf0,_0x4ea9ef,_0x2b15f);},'decrypt':function(_0x132a30,_0x30b8e6,_0x581af9){var _0x49cc4d=_0x34dc;return _0x4788b1(_0x30b8e6)[_0x49cc4d(0x34e)](_0xd09043,_0x132a30,_0x30b8e6,_0x581af9);}};};}())});_0xf9d132['StreamCipher']=_0x162d46['extend']({'_doFinalize':function(){var _0x1d092d=_0x2b5aee,_0x263873=this[_0x1d092d(0x164)](!0x0);return _0x263873;},'blockSize':0x1});var _0x13a0a0=_0x3a6a85[_0x2b5aee(0x194)]={},_0x589ff9=_0xf9d132[_0x2b5aee(0x392)]=_0x3dc3f5[_0x2b5aee(0x206)]({'createEncryptor':function(_0x45e428,_0x4ce557){var _0x41b6ea=_0x2b5aee;return this['Encryptor'][_0x41b6ea(0x2e4)](_0x45e428,_0x4ce557);},'createDecryptor':function(_0x2e29e4,_0x45bff1){var _0x3430b3=_0x2b5aee;return this['Decryptor'][_0x3430b3(0x2e4)](_0x2e29e4,_0x45bff1);},'init':function(_0x51f345,_0x18bbad){var _0x3432c6=_0x2b5aee;this[_0x3432c6(0x2c9)]=_0x51f345,this[_0x3432c6(0x150)]=_0x18bbad;}}),_0x2fd8ce=_0x13a0a0['CBC']=(function(){var _0x9ea346=_0x2b5aee,_0x10d8a2=_0x589ff9['extend']();_0x10d8a2[_0x9ea346(0x3a5)]=_0x10d8a2['extend']({'processBlock':function(_0x1f2569,_0x3b0641){var _0x3c60e5=_0x9ea346,_0x571212=this[_0x3c60e5(0x2c9)],_0x5c63e8=_0x571212[_0x3c60e5(0x254)];_0x5c4ada[_0x3c60e5(0x2b0)](this,_0x1f2569,_0x3b0641,_0x5c63e8),_0x571212[_0x3c60e5(0x211)](_0x1f2569,_0x3b0641),this[_0x3c60e5(0x2ff)]=_0x1f2569[_0x3c60e5(0x322)](_0x3b0641,_0x3b0641+_0x5c63e8);}}),_0x10d8a2['Decryptor']=_0x10d8a2[_0x9ea346(0x206)]({'processBlock':function(_0x34a1de,_0x3d22b4){var _0x49c01d=_0x9ea346,_0x2f1129=this[_0x49c01d(0x2c9)],_0x13965f=_0x2f1129[_0x49c01d(0x254)],_0xb84a27=_0x34a1de['slice'](_0x3d22b4,_0x3d22b4+_0x13965f);_0x2f1129[_0x49c01d(0x2a5)](_0x34a1de,_0x3d22b4),_0x5c4ada[_0x49c01d(0x2b0)](this,_0x34a1de,_0x3d22b4,_0x13965f),this[_0x49c01d(0x2ff)]=_0xb84a27;}});function _0x5c4ada(_0x415d52,_0x536236,_0x4c03a4){var _0x1c7d77=_0x9ea346,_0xe5d375,_0x233ae7=this[_0x1c7d77(0x150)];_0x233ae7?(_0xe5d375=_0x233ae7,this['_iv']=_0xa4ee31):_0xe5d375=this['_prevBlock'];for(var _0x4581d0=0x0;_0x4581d0<_0x4c03a4;_0x4581d0++)_0x415d52[_0x536236+_0x4581d0]^=_0xe5d375[_0x4581d0];}return _0x10d8a2;}()),_0x3f5fb0=_0x3a6a85[_0x2b5aee(0x281)]={},_0x2c5ef0=_0x3f5fb0['Pkcs7']={'pad':function(_0x1bca63,_0x5e97f6){var _0x561507=_0x2b5aee;for(var _0x9a5187=_0x5e97f6*0x4,_0x5ca7b6=_0x9a5187-_0x1bca63[_0x561507(0x2f6)]%_0x9a5187,_0x50a607=_0x5ca7b6<<0x18|_0x5ca7b6<<0x10|_0x5ca7b6<<0x8|_0x5ca7b6,_0x4569ee=[],_0x21e166=0x0;_0x21e166<_0x5ca7b6;_0x21e166+=0x4)_0x4569ee[_0x561507(0x223)](_0x50a607);var _0x1f4288=_0x382c6a[_0x561507(0x2e4)](_0x4569ee,_0x5ca7b6);_0x1bca63['concat'](_0x1f4288);},'unpad':function(_0x1855f5){var _0x4fef1b=_0x2b5aee,_0x2c56d2=_0x1855f5[_0x4fef1b(0x3b8)][_0x1855f5[_0x4fef1b(0x2f6)]-0x1>>>0x2]&0xff;_0x1855f5[_0x4fef1b(0x2f6)]-=_0x2c56d2;}};_0xf9d132[_0x2b5aee(0x266)]=_0x162d46['extend']({'cfg':_0x162d46['cfg'][_0x2b5aee(0x206)]({'mode':_0x2fd8ce,'padding':_0x2c5ef0}),'reset':function(){var _0xeb865f=_0x2b5aee,_0x343bcb;_0x162d46[_0xeb865f(0x13f)][_0xeb865f(0x2b0)](this);var _0x11d2b2=this[_0xeb865f(0x351)],_0x6ffc61=_0x11d2b2['iv'],_0x5ab726=_0x11d2b2[_0xeb865f(0x194)];this[_0xeb865f(0x2f4)]==this[_0xeb865f(0x16a)]?_0x343bcb=_0x5ab726['createEncryptor']:(_0x343bcb=_0x5ab726[_0xeb865f(0x26d)],this[_0xeb865f(0x14c)]=0x1),this[_0xeb865f(0x297)]&&this[_0xeb865f(0x297)][_0xeb865f(0x1d2)]==_0x343bcb?this[_0xeb865f(0x297)][_0xeb865f(0x316)](this,_0x6ffc61&&_0x6ffc61[_0xeb865f(0x3b8)]):(this['_mode']=_0x343bcb[_0xeb865f(0x2b0)](_0x5ab726,this,_0x6ffc61&&_0x6ffc61[_0xeb865f(0x3b8)]),this['_mode'][_0xeb865f(0x1d2)]=_0x343bcb);},'_doProcessBlock':function(_0x46c052,_0x4b7529){var _0x53e546=_0x2b5aee;this[_0x53e546(0x297)][_0x53e546(0x275)](_0x46c052,_0x4b7529);},'_doFinalize':function(){var _0x3ba010=_0x2b5aee,_0x5bfa06,_0x487184=this[_0x3ba010(0x351)][_0x3ba010(0x1f0)];return this[_0x3ba010(0x2f4)]==this[_0x3ba010(0x16a)]?(_0x487184[_0x3ba010(0x281)](this[_0x3ba010(0x133)],this[_0x3ba010(0x254)]),_0x5bfa06=this[_0x3ba010(0x164)](!0x0)):(_0x5bfa06=this[_0x3ba010(0x164)](!0x0),_0x487184[_0x3ba010(0x1f7)](_0x5bfa06)),_0x5bfa06;},'blockSize':0x80/0x20});var _0xf3b13d=_0xf9d132[_0x2b5aee(0x1e0)]=_0x3dc3f5[_0x2b5aee(0x206)]({'init':function(_0x4c4f36){var _0x4ec746=_0x2b5aee;this[_0x4ec746(0x37f)](_0x4c4f36);},'toString':function(_0x38d106){var _0x538822=_0x2b5aee;return(_0x38d106||this[_0x538822(0x171)])['stringify'](this);}}),_0x46ea69=_0x3a6a85[_0x2b5aee(0x3b9)]={},_0x3ccd30=_0x46ea69[_0x2b5aee(0x12b)]={'stringify':function(_0x4a9199){var _0x2b7810=_0x2b5aee,_0x4ec3b3,_0x1c3ff1=_0x4a9199[_0x2b7810(0x250)],_0x7b255e=_0x4a9199['salt'];return _0x7b255e?_0x4ec3b3=_0x382c6a['create']([0x53616c74,0x65645f5f])[_0x2b7810(0x10f)](_0x7b255e)[_0x2b7810(0x10f)](_0x1c3ff1):_0x4ec3b3=_0x1c3ff1,_0x4ec3b3[_0x2b7810(0x108)](_0x4b50ff);},'parse':function(_0x14fb45){var _0xcd3d27=_0x2b5aee,_0x14110f,_0xc2474a=_0x4b50ff[_0xcd3d27(0x264)](_0x14fb45),_0x40a762=_0xc2474a['words'];return _0x40a762[0x0]==0x53616c74&&_0x40a762[0x1]==0x65645f5f&&(_0x14110f=_0x382c6a[_0xcd3d27(0x2e4)](_0x40a762[_0xcd3d27(0x322)](0x2,0x4)),_0x40a762[_0xcd3d27(0x3d1)](0x0,0x4),_0xc2474a[_0xcd3d27(0x2f6)]-=0x10),_0xf3b13d[_0xcd3d27(0x2e4)]({'ciphertext':_0xc2474a,'salt':_0x14110f});}},_0x2fff48=_0xf9d132[_0x2b5aee(0x17c)]=_0x3dc3f5[_0x2b5aee(0x206)]({'cfg':_0x3dc3f5[_0x2b5aee(0x206)]({'format':_0x3ccd30}),'encrypt':function(_0x59186b,_0x2f4918,_0x473f8f,_0x1df31d){var _0x32a917=_0x2b5aee;_0x1df31d=this[_0x32a917(0x351)][_0x32a917(0x206)](_0x1df31d);var _0x4a1c39=_0x59186b[_0x32a917(0x2e1)](_0x473f8f,_0x1df31d),_0x2969d5=_0x4a1c39[_0x32a917(0x244)](_0x2f4918),_0x1f5204=_0x4a1c39['cfg'];return _0xf3b13d[_0x32a917(0x2e4)]({'ciphertext':_0x2969d5,'key':_0x473f8f,'iv':_0x1f5204['iv'],'algorithm':_0x59186b,'mode':_0x1f5204[_0x32a917(0x194)],'padding':_0x1f5204[_0x32a917(0x1f0)],'blockSize':_0x59186b[_0x32a917(0x254)],'formatter':_0x1df31d[_0x32a917(0x3b9)]});},'decrypt':function(_0x71f5a5,_0x45665b,_0x145eda,_0x507bd8){var _0x54a8df=_0x2b5aee;_0x507bd8=this[_0x54a8df(0x351)][_0x54a8df(0x206)](_0x507bd8),_0x45665b=this['_parse'](_0x45665b,_0x507bd8[_0x54a8df(0x3b9)]);var _0x11b914=_0x71f5a5[_0x54a8df(0x26d)](_0x145eda,_0x507bd8)['finalize'](_0x45665b['ciphertext']);return _0x11b914;},'_parse':function(_0x5ba9fb,_0x2476d2){var _0x6f2581=_0x2b5aee;return typeof _0x5ba9fb==_0x6f2581(0x35c)?_0x2476d2[_0x6f2581(0x264)](_0x5ba9fb,this):_0x5ba9fb;}}),_0x44c7c1=_0x3a6a85[_0x2b5aee(0x355)]={},_0x3c521a=_0x44c7c1[_0x2b5aee(0x12b)]={'execute':function(_0x5f2b26,_0x4cada0,_0xc198fe,_0x5f03f7,_0x31adc5){var _0x3d63d1=_0x2b5aee;if(_0x5f03f7||(_0x5f03f7=_0x382c6a[_0x3d63d1(0x22e)](0x40/0x8)),_0x31adc5)var _0x40cf0c=_0x53de89[_0x3d63d1(0x2e4)]({'keySize':_0x4cada0+_0xc198fe,'hasher':_0x31adc5})[_0x3d63d1(0x199)](_0x5f2b26,_0x5f03f7);else var _0x40cf0c=_0x53de89[_0x3d63d1(0x2e4)]({'keySize':_0x4cada0+_0xc198fe})[_0x3d63d1(0x199)](_0x5f2b26,_0x5f03f7);var _0x16a06a=_0x382c6a[_0x3d63d1(0x2e4)](_0x40cf0c[_0x3d63d1(0x3b8)][_0x3d63d1(0x322)](_0x4cada0),_0xc198fe*0x4);return _0x40cf0c[_0x3d63d1(0x2f6)]=_0x4cada0*0x4,_0xf3b13d[_0x3d63d1(0x2e4)]({'key':_0x40cf0c,'iv':_0x16a06a,'salt':_0x5f03f7});}},_0x63289f=_0xf9d132[_0x2b5aee(0x33d)]=_0x2fff48[_0x2b5aee(0x206)]({'cfg':_0x2fff48[_0x2b5aee(0x351)][_0x2b5aee(0x206)]({'kdf':_0x3c521a}),'encrypt':function(_0x2180dc,_0x115790,_0x2c879c,_0x26997f){var _0xf695f5=_0x2b5aee;_0x26997f=this[_0xf695f5(0x351)]['extend'](_0x26997f);var _0x3c28e6=_0x26997f['kdf'][_0xf695f5(0x365)](_0x2c879c,_0x2180dc['keySize'],_0x2180dc[_0xf695f5(0xc3)],_0x26997f[_0xf695f5(0xda)],_0x26997f[_0xf695f5(0x238)]);_0x26997f['iv']=_0x3c28e6['iv'];var _0x1329b7=_0x2fff48[_0xf695f5(0x1e2)][_0xf695f5(0x2b0)](this,_0x2180dc,_0x115790,_0x3c28e6[_0xf695f5(0x222)],_0x26997f);return _0x1329b7[_0xf695f5(0x37f)](_0x3c28e6),_0x1329b7;},'decrypt':function(_0x9ecb67,_0x1f4838,_0x513e98,_0x3db6a4){var _0x510e5d=_0x2b5aee;_0x3db6a4=this[_0x510e5d(0x351)][_0x510e5d(0x206)](_0x3db6a4),_0x1f4838=this['_parse'](_0x1f4838,_0x3db6a4[_0x510e5d(0x3b9)]);var _0x4f0690=_0x3db6a4[_0x510e5d(0x355)][_0x510e5d(0x365)](_0x513e98,_0x9ecb67[_0x510e5d(0x3bb)],_0x9ecb67[_0x510e5d(0xc3)],_0x1f4838['salt'],_0x3db6a4[_0x510e5d(0x238)]);_0x3db6a4['iv']=_0x4f0690['iv'];var _0x2e7654=_0x2fff48[_0x510e5d(0x34e)][_0x510e5d(0x2b0)](this,_0x9ecb67,_0x1f4838,_0x4f0690[_0x510e5d(0x222)],_0x3db6a4);return _0x2e7654;}});}();}));}(Je)),Je[_0x4ff94e(0xf3)];}var mn=Ve['exports'],ti;function In(){var _0x1619be=_0x485e82;return ti||(ti=0x1,function(_0x9b26f8,_0x2edbee){(function(_0x131f12,_0x333656,_0x1e7cb4){var _0xe3d952=_0x34dc;_0x9b26f8[_0xe3d952(0xf3)]=_0x333656(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0xf7f796){var _0x2ae2ce=_0x34dc;return(function(){var _0x5620e6=_0x34dc,_0x3a062f=_0xf7f796,_0xc6f466=_0x3a062f[_0x5620e6(0x151)],_0x3e6254=_0xc6f466['BlockCipher'],_0x3076fd=_0x3a062f[_0x5620e6(0x1a3)],_0xf18353=[],_0x50aa76=[],_0x3b761f=[],_0xce74a1=[],_0x187dee=[],_0x245720=[],_0x3deedc=[],_0x54f1f2=[],_0x17f356=[],_0x5cd385=[];(function(){for(var _0x3074c1=[],_0x174264=0x0;_0x174264<0x100;_0x174264++)_0x174264<0x80?_0x3074c1[_0x174264]=_0x174264<<0x1:_0x3074c1[_0x174264]=_0x174264<<0x1^0x11b;for(var _0x10f4ba=0x0,_0x1ca2ae=0x0,_0x174264=0x0;_0x174264<0x100;_0x174264++){var _0x419344=_0x1ca2ae^_0x1ca2ae<<0x1^_0x1ca2ae<<0x2^_0x1ca2ae<<0x3^_0x1ca2ae<<0x4;_0x419344=_0x419344>>>0x8^_0x419344&0xff^0x63,_0xf18353[_0x10f4ba]=_0x419344,_0x50aa76[_0x419344]=_0x10f4ba;var _0x436cd3=_0x3074c1[_0x10f4ba],_0x5a8322=_0x3074c1[_0x436cd3],_0x545334=_0x3074c1[_0x5a8322],_0x26b193=_0x3074c1[_0x419344]*0x101^_0x419344*0x1010100;_0x3b761f[_0x10f4ba]=_0x26b193<<0x18|_0x26b193>>>0x8,_0xce74a1[_0x10f4ba]=_0x26b193<<0x10|_0x26b193>>>0x10,_0x187dee[_0x10f4ba]=_0x26b193<<0x8|_0x26b193>>>0x18,_0x245720[_0x10f4ba]=_0x26b193;var _0x26b193=_0x545334*0x1010101^_0x5a8322*0x10001^_0x436cd3*0x101^_0x10f4ba*0x1010100;_0x3deedc[_0x419344]=_0x26b193<<0x18|_0x26b193>>>0x8,_0x54f1f2[_0x419344]=_0x26b193<<0x10|_0x26b193>>>0x10,_0x17f356[_0x419344]=_0x26b193<<0x8|_0x26b193>>>0x18,_0x5cd385[_0x419344]=_0x26b193,_0x10f4ba?(_0x10f4ba=_0x436cd3^_0x3074c1[_0x3074c1[_0x3074c1[_0x545334^_0x436cd3]]],_0x1ca2ae^=_0x3074c1[_0x3074c1[_0x1ca2ae]]):_0x10f4ba=_0x1ca2ae=0x1;}}());var _0x39857d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x6bae83=_0x3076fd[_0x5620e6(0x130)]=_0x3e6254['extend']({'_doReset':function(){var _0xc13f74=_0x5620e6,_0x4f0594;if(!(this[_0xc13f74(0x31f)]&&this[_0xc13f74(0x3bd)]===this[_0xc13f74(0x2f3)])){for(var _0x5bd6e5=this[_0xc13f74(0x3bd)]=this['_key'],_0x4f7694=_0x5bd6e5['words'],_0x1d4936=_0x5bd6e5[_0xc13f74(0x2f6)]/0x4,_0xa91db0=this[_0xc13f74(0x31f)]=_0x1d4936+0x6,_0x100887=(_0xa91db0+0x1)*0x4,_0x725fbe=this[_0xc13f74(0x2b5)]=[],_0x3b51d6=0x0;_0x3b51d6<_0x100887;_0x3b51d6++)_0x3b51d6<_0x1d4936?_0x725fbe[_0x3b51d6]=_0x4f7694[_0x3b51d6]:(_0x4f0594=_0x725fbe[_0x3b51d6-0x1],_0x3b51d6%_0x1d4936?_0x1d4936>0x6&&_0x3b51d6%_0x1d4936==0x4&&(_0x4f0594=_0xf18353[_0x4f0594>>>0x18]<<0x18|_0xf18353[_0x4f0594>>>0x10&0xff]<<0x10|_0xf18353[_0x4f0594>>>0x8&0xff]<<0x8|_0xf18353[_0x4f0594&0xff]):(_0x4f0594=_0x4f0594<<0x8|_0x4f0594>>>0x18,_0x4f0594=_0xf18353[_0x4f0594>>>0x18]<<0x18|_0xf18353[_0x4f0594>>>0x10&0xff]<<0x10|_0xf18353[_0x4f0594>>>0x8&0xff]<<0x8|_0xf18353[_0x4f0594&0xff],_0x4f0594^=_0x39857d[_0x3b51d6/_0x1d4936|0x0]<<0x18),_0x725fbe[_0x3b51d6]=_0x725fbe[_0x3b51d6-_0x1d4936]^_0x4f0594);for(var _0x552765=this['_invKeySchedule']=[],_0x2c1752=0x0;_0x2c1752<_0x100887;_0x2c1752++){var _0x3b51d6=_0x100887-_0x2c1752;if(_0x2c1752%0x4)var _0x4f0594=_0x725fbe[_0x3b51d6];else var _0x4f0594=_0x725fbe[_0x3b51d6-0x4];_0x2c1752<0x4||_0x3b51d6<=0x4?_0x552765[_0x2c1752]=_0x4f0594:_0x552765[_0x2c1752]=_0x3deedc[_0xf18353[_0x4f0594>>>0x18]]^_0x54f1f2[_0xf18353[_0x4f0594>>>0x10&0xff]]^_0x17f356[_0xf18353[_0x4f0594>>>0x8&0xff]]^_0x5cd385[_0xf18353[_0x4f0594&0xff]];}}},'encryptBlock':function(_0x474fa1,_0x591d73){var _0x4e391e=_0x5620e6;this[_0x4e391e(0x24f)](_0x474fa1,_0x591d73,this[_0x4e391e(0x2b5)],_0x3b761f,_0xce74a1,_0x187dee,_0x245720,_0xf18353);},'decryptBlock':function(_0x38995f,_0x289a24){var _0x7a99d4=_0x5620e6,_0x5bba21=_0x38995f[_0x289a24+0x1];_0x38995f[_0x289a24+0x1]=_0x38995f[_0x289a24+0x3],_0x38995f[_0x289a24+0x3]=_0x5bba21,this[_0x7a99d4(0x24f)](_0x38995f,_0x289a24,this['_invKeySchedule'],_0x3deedc,_0x54f1f2,_0x17f356,_0x5cd385,_0x50aa76);var _0x5bba21=_0x38995f[_0x289a24+0x1];_0x38995f[_0x289a24+0x1]=_0x38995f[_0x289a24+0x3],_0x38995f[_0x289a24+0x3]=_0x5bba21;},'_doCryptBlock':function(_0x35f904,_0x4e2f0c,_0x28c151,_0x128e57,_0x410108,_0x330a54,_0xc02adb,_0xe3a4a4){var _0x1626f3=_0x5620e6;for(var _0x2eb99e=this[_0x1626f3(0x31f)],_0x296baa=_0x35f904[_0x4e2f0c]^_0x28c151[0x0],_0x2958f3=_0x35f904[_0x4e2f0c+0x1]^_0x28c151[0x1],_0x2e5454=_0x35f904[_0x4e2f0c+0x2]^_0x28c151[0x2],_0x4cce8c=_0x35f904[_0x4e2f0c+0x3]^_0x28c151[0x3],_0x4ae6d7=0x4,_0x10c999=0x1;_0x10c999<_0x2eb99e;_0x10c999++){var _0x1c5d63=_0x128e57[_0x296baa>>>0x18]^_0x410108[_0x2958f3>>>0x10&0xff]^_0x330a54[_0x2e5454>>>0x8&0xff]^_0xc02adb[_0x4cce8c&0xff]^_0x28c151[_0x4ae6d7++],_0x29ed9b=_0x128e57[_0x2958f3>>>0x18]^_0x410108[_0x2e5454>>>0x10&0xff]^_0x330a54[_0x4cce8c>>>0x8&0xff]^_0xc02adb[_0x296baa&0xff]^_0x28c151[_0x4ae6d7++],_0x4876ba=_0x128e57[_0x2e5454>>>0x18]^_0x410108[_0x4cce8c>>>0x10&0xff]^_0x330a54[_0x296baa>>>0x8&0xff]^_0xc02adb[_0x2958f3&0xff]^_0x28c151[_0x4ae6d7++],_0x1d7d5f=_0x128e57[_0x4cce8c>>>0x18]^_0x410108[_0x296baa>>>0x10&0xff]^_0x330a54[_0x2958f3>>>0x8&0xff]^_0xc02adb[_0x2e5454&0xff]^_0x28c151[_0x4ae6d7++];_0x296baa=_0x1c5d63,_0x2958f3=_0x29ed9b,_0x2e5454=_0x4876ba,_0x4cce8c=_0x1d7d5f;}var _0x1c5d63=(_0xe3a4a4[_0x296baa>>>0x18]<<0x18|_0xe3a4a4[_0x2958f3>>>0x10&0xff]<<0x10|_0xe3a4a4[_0x2e5454>>>0x8&0xff]<<0x8|_0xe3a4a4[_0x4cce8c&0xff])^_0x28c151[_0x4ae6d7++],_0x29ed9b=(_0xe3a4a4[_0x2958f3>>>0x18]<<0x18|_0xe3a4a4[_0x2e5454>>>0x10&0xff]<<0x10|_0xe3a4a4[_0x4cce8c>>>0x8&0xff]<<0x8|_0xe3a4a4[_0x296baa&0xff])^_0x28c151[_0x4ae6d7++],_0x4876ba=(_0xe3a4a4[_0x2e5454>>>0x18]<<0x18|_0xe3a4a4[_0x4cce8c>>>0x10&0xff]<<0x10|_0xe3a4a4[_0x296baa>>>0x8&0xff]<<0x8|_0xe3a4a4[_0x2958f3&0xff])^_0x28c151[_0x4ae6d7++],_0x1d7d5f=(_0xe3a4a4[_0x4cce8c>>>0x18]<<0x18|_0xe3a4a4[_0x296baa>>>0x10&0xff]<<0x10|_0xe3a4a4[_0x2958f3>>>0x8&0xff]<<0x8|_0xe3a4a4[_0x2e5454&0xff])^_0x28c151[_0x4ae6d7++];_0x35f904[_0x4e2f0c]=_0x1c5d63,_0x35f904[_0x4e2f0c+0x1]=_0x29ed9b,_0x35f904[_0x4e2f0c+0x2]=_0x4876ba,_0x35f904[_0x4e2f0c+0x3]=_0x1d7d5f;},'keySize':0x100/0x20});_0x3a062f[_0x5620e6(0x130)]=_0x3e6254[_0x5620e6(0x303)](_0x6bae83);}()),_0xf7f796[_0x2ae2ce(0x130)];}));}(Ve)),Ve[_0x1619be(0xf3)];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe[_0x485e82(0xf3)],si;function Rn(){var _0x2e7404=_0x485e82;return si||(si=0x1,function(_0x516d8a,_0x2895f1){(function(_0x150c2e,_0x264938){var _0x2c6e58=_0x34dc;_0x516d8a[_0x2c6e58(0xf3)]=_0x264938(ie());}(On,function(_0x38c240){var _0xd6e364=_0x34dc;return _0x38c240[_0xd6e364(0x308)][_0xd6e364(0x18f)];}));}(Xe)),Xe[_0x2e7404(0xf3)];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze[_0x485e82(0xf3)],ni;function Dn(){var _0x2eb68e=_0x485e82;return ni||(ni=0x1,function(_0x49c46f,_0x216ddf){(function(_0x5ce2d7,_0x1596d4){var _0x5bb516=_0x34dc;_0x49c46f[_0x5bb516(0xf3)]=_0x1596d4(ie());}(bn,function(_0x2f0411){var _0x36935b=_0x34dc;return(function(){var _0xd68c7d=_0x34dc;if(typeof ArrayBuffer==_0xd68c7d(0x1a1)){var _0x343fd9=_0x2f0411,_0x5419f6=_0x343fd9[_0xd68c7d(0x151)],_0x354373=_0x5419f6[_0xd68c7d(0x288)],_0x50d086=_0x354373['init'],_0x326ae4=_0x354373['init']=function(_0x403812){var _0x590ad2=_0xd68c7d;if(_0x403812 instanceof ArrayBuffer&&(_0x403812=new Uint8Array(_0x403812)),(_0x403812 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x403812 instanceof Uint8ClampedArray||_0x403812 instanceof Int16Array||_0x403812 instanceof Uint16Array||_0x403812 instanceof Int32Array||_0x403812 instanceof Uint32Array||_0x403812 instanceof Float32Array||_0x403812 instanceof Float64Array)&&(_0x403812=new Uint8Array(_0x403812[_0x590ad2(0xea)],_0x403812[_0x590ad2(0x1c1)],_0x403812[_0x590ad2(0x1c6)])),_0x403812 instanceof Uint8Array){for(var _0x5551aa=_0x403812[_0x590ad2(0x1c6)],_0x226a9e=[],_0x21187f=0x0;_0x21187f<_0x5551aa;_0x21187f++)_0x226a9e[_0x21187f>>>0x2]|=_0x403812[_0x21187f]<<0x18-_0x21187f%0x4*0x8;_0x50d086[_0x590ad2(0x2b0)](this,_0x226a9e,_0x5551aa);}else _0x50d086['apply'](this,arguments);};_0x326ae4[_0xd68c7d(0x309)]=_0x354373;}}()),_0x2f0411[_0x36935b(0x151)][_0x36935b(0x288)];}));}(Ze)),Ze[_0x2eb68e(0xf3)];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe[_0x485e82(0xf3)],ri;function Pn(){var _0x9d4ed3=_0x485e82;return ri||(ri=0x1,function(_0xdcc88a,_0x14f2f2){(function(_0xf53449,_0x4205af,_0x2feed1){var _0x122539=_0x34dc;_0xdcc88a[_0x122539(0xf3)]=_0x4205af(ie(),Ni());}(An,function(_0x4a265c){var _0x177928=_0x34dc;return _0x4a265c[_0x177928(0x281)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4a265c[_0x177928(0x281)]['NoPadding'];}));}(Qe)),Qe[_0x9d4ed3(0xf3)];}var wn=Pn();const Mn=$e(wn);function Ln(_0x11280c,_0x274b4b){var _0x5e9fb0=_0x485e82;const _0x1c45a3=_0x274b4b-_0x11280c[_0x5e9fb0(0x398)]%_0x274b4b,_0x37f1ec=String[_0x5e9fb0(0x3b0)](_0x1c45a3)['repeat'](_0x1c45a3);return _0x11280c+_0x37f1ec;}function xn(_0x26775c,_0x2df64d){var _0x4d8e20=_0x485e82;const _0x8886a6=Un[_0x4d8e20(0x22e)](0x10),_0x41e758=Ln(_0x26775c,0x10),_0x5191eb=gn[_0x4d8e20(0x1e2)](Nn[_0x4d8e20(0x264)](_0x41e758),ii[_0x4d8e20(0x264)](_0x2df64d),{'iv':_0x8886a6,'padding':Mn});return _0x8886a6[_0x4d8e20(0x10f)](_0x5191eb['ciphertext'])['toString'](ii);}function kn(){var _0x5a10d6=_0x485e82;const _0x1c7ccb=_0x339083()['__Key__'];if(_0x1c7ccb){const _0x192f5d={'time':Math[_0x5a10d6(0x110)](Date[_0x5a10d6(0x157)]()/0x3e8),'domain':location[_0x5a10d6(0x374)]};return xn(JSON['stringify'](_0x192f5d),_0x1c7ccb);}}function _0x34dc(_0x2750b0,_0x523336){var _0x3896fd=_0x3896();return _0x34dc=function(_0x34dc14,_0x175014){_0x34dc14=_0x34dc14-0xc0;var _0x43687b=_0x3896fd[_0x34dc14];return _0x43687b;},_0x34dc(_0x2750b0,_0x523336);}var $n=Object[_0x485e82(0x30f)],Hn=(_0x517303,_0x239db9,_0x19e475,_0x30ae58)=>{for(var _0x21d2de=_0x30ae58>0x1?void 0x0:_0x30ae58?$n(_0x239db9,_0x19e475):_0x239db9,_0x11a2f1=_0x517303['length']-0x1,_0x5a50a7;_0x11a2f1>=0x0;_0x11a2f1--)(_0x5a50a7=_0x517303[_0x11a2f1])&&(_0x21d2de=_0x5a50a7(_0x21d2de)||_0x21d2de);return _0x21d2de;},Bn=(_0x43e83d,_0x3bccc8)=>(_0x41a584,_0x5281f1)=>_0x3bccc8(_0x41a584,_0x5281f1,_0x43e83d);let at=class{constructor(_0xa94ccc){var _0x4e9522=_0x485e82;this['_httpService']=_0xa94ccc,this[_0x4e9522(0x25e)]();}[_0x485e82(0x25e)](){var _0x3db666=_0x485e82;this['_httpService'][_0x3db666(0x1d3)]({'interceptor':(_0x1b2b8c,_0x5f4732)=>{var _0x4833f5=_0x3db666;const _0x5932ca=_0x1b2b8c['headers'],_0x25b540=kn();return _0x25b540&&_0x5932ca[_0x4833f5(0x249)](_0x4833f5(0xfc),_0x25b540),_0x5f4732(_0x1b2b8c);}});}};at=Hn([Bn(0x0,_0x16f7e6(_0x53558e))],at);var Fn=Object[_0x485e82(0x30f)],jn=(_0x31ad4f,_0x2f7fc5,_0x5d278b,_0x3b6c47)=>{for(var _0x5e6139=_0x3b6c47>0x1?void 0x0:_0x3b6c47?Fn(_0x2f7fc5,_0x5d278b):_0x2f7fc5,_0x1eab6c=_0x31ad4f['length']-0x1,_0x2a86af;_0x1eab6c>=0x0;_0x1eab6c--)(_0x2a86af=_0x31ad4f[_0x1eab6c])&&(_0x5e6139=_0x2a86af(_0x5e6139)||_0x5e6139);return _0x5e6139;},vt=(_0x2115f6,_0x2c0a32)=>(_0x3330bc,_0x804edc)=>_0x2c0a32(_0x3330bc,_0x804edc,_0x2115f6);let Ot=class extends _0x5c9f6a{constructor(_0x1895ea,_0x4ac886,_0x547678){var _0x34af9e=_0x485e82;super(),D(this,_0x34af9e(0x388),new _0x44eac9(null)),D(this,'unitInfo$',this[_0x34af9e(0x388)][_0x34af9e(0x3a0)]()),(this[_0x34af9e(0x2bf)]=_0x1895ea,this[_0x34af9e(0x370)]=_0x4ac886,this[_0x34af9e(0x260)]=_0x547678);}async[_0x485e82(0x15e)](_0x387858,_0x3bebb0,_0x4f821c){var _0x2cec27=_0x485e82;this[_0x2cec27(0x388)]['next']({'unitId':_0x387858,'type':_0x3bebb0});let _0x524ddb=null;switch(_0x3bebb0){case Q[_0x2cec27(0x1fe)]:{_0x524ddb=await this[_0x2cec27(0x370)][_0x2cec27(0xf5)](_0x387858,_0x4f821c);break;}case Q[_0x2cec27(0x315)]:{_0x524ddb=await this[_0x2cec27(0x370)][_0x2cec27(0x14e)](_0x387858,_0x4f821c);break;}default:{this[_0x2cec27(0x2bf)][_0x2cec27(0xd3)](_0x2cec27(0x1ae),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x524ddb;}async[_0x485e82(0x1db)](_0x2bfc29,_0x2284d9,_0x4aa92a){var _0x563498=_0x485e82,_0xde78ca;this[_0x563498(0x388)][_0x563498(0x28f)]({'unitId':_0x2bfc29,'type':_0x2284d9,'subUnitId':_0x4aa92a});let _0x4d975d=0x0;const _0x19b9f6=await((_0xde78ca=this[_0x563498(0x260)])==null?void 0x0:_0xde78ca['loadOfflineData'](_0x2bfc29));return _0x19b9f6&&(_0x19b9f6[_0x563498(0x11d)]||_0x19b9f6['mutations'][_0x563498(0x398)]!==0x0)&&(_0x4d975d=_0x19b9f6[_0x563498(0x348)]),_0x4d975d===0x0&&this['_logService'][_0x563498(0x350)](_0x563498(0x1ae),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x563498(0x15e)](_0x2bfc29,_0x2284d9,_0x4d975d);}};Ot=jn([vt(0x0,_0x42253d),vt(0x1,_0x16f7e6(_0x556880)),vt(0x2,_0x2d2a8a(J))],Ot);var Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x34ba10,_0x250cd9,_0x4e817f,_0x5c8203)=>{var _0x509ea5=_0x485e82;for(var _0x4d4505=_0x5c8203>0x1?void 0x0:_0x5c8203?Vn(_0x250cd9,_0x4e817f):_0x250cd9,_0x347050=_0x34ba10[_0x509ea5(0x398)]-0x1,_0x130846;_0x347050>=0x0;_0x347050--)(_0x130846=_0x34ba10[_0x347050])&&(_0x4d4505=_0x130846(_0x4d4505)||_0x4d4505);return _0x4d4505;},pt=(_0x24bffe,_0x23501e)=>(_0x1c8c40,_0x17287e)=>_0x23501e(_0x1c8c40,_0x17287e,_0x24bffe);const Wn=[_0x485e82(0x115),'image/jpeg','image/jpg',_0x485e82(0x1f1),_0x485e82(0x242)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x485e82(0x29a);let Rt=class{constructor(_0x4adbe5,_0x312a0d,_0x13d3e4){var _0x385783=_0x485e82;D(this,_0x385783(0x18c),0x0),D(this,_0x385783(0x3d0),new _0x55f9ec()),D(this,_0x385783(0x11b),this[_0x385783(0x3d0)]),D(this,'_imageSourceCache',new Map()),(this[_0x385783(0x3c5)]=_0x4adbe5,this['_configService']=_0x312a0d,this[_0x385783(0x15f)]=_0x13d3e4);}[_0x485e82(0x30b)](_0x1b1885){var _0x484147=_0x485e82;this['_waitCount']=_0x1b1885,this[_0x484147(0x3d0)][_0x484147(0x28f)](_0x1b1885);}[_0x485e82(0x1c8)](_0xaa7de8,_0x209658){var _0x5cad21=_0x485e82;if(_0x209658===_0x240103[_0x5cad21(0x3a4)]){const _0x2a9b4c=new Image();return _0x2a9b4c['src']=_0xaa7de8,_0x2a9b4c;}return this[_0x5cad21(0x1dc)]['get'](_0xaa7de8);}['addImageSourceCache'](_0x34548f,_0x46652e,_0x3e5254){var _0x109004=_0x485e82;_0x46652e===_0x240103['BASE64']||_0x3e5254==null||this['_imageSourceCache'][_0x109004(0x249)](_0x34548f,_0x3e5254);}async['getImage'](_0x16b6f8){var _0x403150=_0x485e82;try{const _0x11018e=this[_0x403150(0x394)](this[_0x403150(0x3bc)](),''+_0x16b6f8),_0x17ecce=(await this[_0x403150(0x3c5)][_0x403150(0x183)](_0x11018e))['body'];if(_0x17ecce['error']&&_0x17ecce[_0x403150(0xd3)][_0x403150(0x3a9)]===vi['OK']){const _0x5c6012=new URL(_0x17ecce[_0x403150(0x22d)],this[_0x403150(0x191)]())[_0x403150(0x108)]();return Promise[_0x403150(0x220)](_0x5c6012);}return Promise[_0x403150(0x1e9)](_0x17ecce['error']);}catch(_0x160e50){return Promise[_0x403150(0x1e9)](_0x160e50);}}async['saveImage'](_0x4128b9){var _0x19e34d=_0x485e82;let _0x2c8301='';if(!Wn[_0x19e34d(0x1a0)](_0x4128b9[_0x19e34d(0x290)]))return this['_decreaseWaiting'](),Promise[_0x19e34d(0x1e9)](new Error(_0x4c6f67[_0x19e34d(0x36f)]));if(_0x4128b9[_0x19e34d(0x205)]>Yn)return this[_0x19e34d(0xef)](),Promise[_0x19e34d(0x1e9)](new Error(_0x4c6f67[_0x19e34d(0x39b)]));try{const _0x460086=new FormData();_0x460086['append'](_0x19e34d(0x127),_0x4128b9);const _0x115847=this[_0x19e34d(0x15f)]['getFocusedUnit'](),_0x105faa=_0x115847==null?void 0x0:_0x115847[_0x19e34d(0x118)]();if(!_0x105faa)throw new Error('unitId\x20is\x20not\x20found');const _0x1e3e13=this['_getUploadFileURL']()+_0x19e34d(0x39e)+_0x4128b9[_0x19e34d(0x205)][_0x19e34d(0x108)]()+_0x19e34d(0x1b5)+pi['UnitEmbedded']+_0x19e34d(0x2ea)+encodeURIComponent(_0x105faa),_0x304756={'body':_0x460086},_0x31573a=(await this['_httpService'][_0x19e34d(0x37b)](_0x1e3e13,_0x304756))[_0x19e34d(0x3c7)];if(typeof _0x31573a[_0x19e34d(0x2a8)]!=_0x19e34d(0x35c))return this[_0x19e34d(0xef)](),Promise[_0x19e34d(0x1e9)](new Error(_0x4c6f67[_0x19e34d(0x125)]));_0x2c8301=_0x31573a[_0x19e34d(0x2a8)];}catch{return this[_0x19e34d(0xef)](),Promise[_0x19e34d(0x1e9)](new Error(_0x4c6f67[_0x19e34d(0x125)]));}return new Promise((_0x52c8e9,_0x331efa)=>{var _0x2de7f1=_0x19e34d;const _0x2fc07a=new FileReader();_0x2fc07a[_0x2de7f1(0x39f)](_0x4128b9),_0x2fc07a[_0x2de7f1(0x2a3)]=_0x48cca9=>{var _0x22a7c0=_0x2de7f1,_0x11b6bd;const _0x1176ec=(_0x11b6bd=_0x48cca9[_0x22a7c0(0x28b)])==null?void 0x0:_0x11b6bd[_0x22a7c0(0x2b2)];if(_0x1176ec==null){this[_0x22a7c0(0xef)](),_0x331efa(new Error(_0x4c6f67[_0x22a7c0(0x125)]));return;}const _0x2fbaed=_0x158e75(0x6);_0x52c8e9({'imageId':_0x2fbaed,'imageSourceType':_0x240103[_0x22a7c0(0x2f2)],'source':_0x2c8301,'base64Cache':_0x1176ec,'status':_0x4c6f67[_0x22a7c0(0x1c4)]}),this[_0x22a7c0(0xef)]();};});}[_0x485e82(0x1cc)](){var _0x267c12=_0x485e82,_0x4472e8;const _0x39ac2e=this['_configService'][_0x267c12(0x361)](K);return(_0x4472e8=_0x39ac2e==null?void 0x0:_0x39ac2e[_0x267c12(0x2e7)])!=null?_0x4472e8:Kn;}['_getSignURL'](){var _0x35710d=_0x485e82,_0x16e476;const _0x3abaa2=this[_0x35710d(0x2a9)][_0x35710d(0x361)](K);return(_0x16e476=_0x3abaa2==null?void 0x0:_0x3abaa2['signUrlServerUrl'])!=null?_0x16e476:qn;}['_getDownloadEndpointURL'](){var _0x29dc35=_0x485e82,_0xbab146;const _0x2c368d=this['_configService'][_0x29dc35(0x361)](K);return(_0xbab146=_0x2c368d==null?void 0x0:_0x2c368d[_0x29dc35(0x3a6)])!=null?_0xbab146:location[_0x29dc35(0x3c1)];}[_0x485e82(0x394)](_0x2b721a,_0x60b3f9){var _0x463048=_0x485e82;return _0x2b721a['replace'](_0x463048(0x3b5),_0x60b3f9);}[_0x485e82(0xef)](){var _0x166404=_0x485e82;this[_0x166404(0x18c)]-=0x1,this[_0x166404(0x3d0)][_0x166404(0x28f)](this[_0x166404(0x18c)]);}};Rt=Gn([pt(0x0,_0x16f7e6(_0x53558e)),pt(0x1,_0x4ba4ee),pt(0x2,_0x16f7e6(_0x10b82e))],Rt);var zn=Object[_0x485e82(0x30f)],Jn=(_0x34bf99,_0x4db36a,_0x4092c1,_0x4c16f4)=>{for(var _0x5b1686=_0x4c16f4>0x1?void 0x0:_0x4c16f4?zn(_0x4db36a,_0x4092c1):_0x4db36a,_0x388a4a=_0x34bf99['length']-0x1,_0x2f43ab;_0x388a4a>=0x0;_0x388a4a--)(_0x2f43ab=_0x34bf99[_0x388a4a])&&(_0x5b1686=_0x2f43ab(_0x5b1686)||_0x5b1686);return _0x5b1686;},ai=(_0x2808f3,_0xecf70b)=>(_0x3bf2bd,_0x59b064)=>_0xecf70b(_0x3bf2bd,_0x59b064,_0x2808f3);const Xn='/universer-api/authz';let Ct=class{constructor(_0x19ba36,_0x1be1f8){var _0x1e5235=_0x485e82;this[_0x1e5235(0x2a9)]=_0x19ba36,this[_0x1e5235(0x142)]=_0x1be1f8;}[_0x485e82(0x1b3)](){var _0xb5f11=_0x485e82,_0xd00622;const _0x1d5068=this[_0xb5f11(0x2a9)][_0xb5f11(0x361)](K);return(_0xd00622=_0x1d5068==null?void 0x0:_0x1d5068[_0xb5f11(0x16b)])!=null?_0xd00622:Xn;}async[_0x485e82(0x140)](_0x3eb1e2){var _0x31a5a5=_0x485e82;const _0x526993=this['_getAPIPrefixPath']()+_0x31a5a5(0x1a7);return{'list':[{'title':'People','mentions':(await this[_0x31a5a5(0x142)][_0x31a5a5(0x183)](_0x526993,{'params':{'objectID':_0x3eb1e2['unitId'],'unitID':_0x3eb1e2[_0x31a5a5(0xff)]}}))[_0x31a5a5(0x3c7)][_0x31a5a5(0x147)]['map'](_0x201724=>({'objectId':_0x201724['id'],'name':_0x201724['subject']['name'],'metadata':{'icon':_0x201724[_0x31a5a5(0x3cd)][_0x31a5a5(0x307)]},'label':_0x201724[_0x31a5a5(0x3cd)]['name'],'objectType':_0x1ac431[_0x31a5a5(0x2cb)]})),'metadata':{},'type':_0x1ac431[_0x31a5a5(0x2cb)]}]};}};Ct=Jn([ai(0x0,_0x16f7e6(_0x4ba4ee)),ai(0x1,_0x16f7e6(_0x53558e))],Ct);var Zn=Object[_0x485e82(0x30f)],Qn=(_0x5b5241,_0x2a1930,_0x4eddd0,_0x1d48df)=>{var _0x346cbd=_0x485e82;for(var _0x54e923=_0x1d48df>0x1?void 0x0:_0x1d48df?Zn(_0x2a1930,_0x4eddd0):_0x2a1930,_0x48ea5a=_0x5b5241[_0x346cbd(0x398)]-0x1,_0x18ec3d;_0x48ea5a>=0x0;_0x48ea5a--)(_0x18ec3d=_0x5b5241[_0x48ea5a])&&(_0x54e923=_0x18ec3d(_0x54e923)||_0x54e923);return _0x54e923;},Ue=(_0x1086bc,_0x90a114)=>(_0x1688ea,_0x8733f9)=>_0x90a114(_0x1688ea,_0x8733f9,_0x1086bc);let ot=class extends _0x5c9f6a{constructor(_0x82696d,_0x4dcce6,_0x103ba8,_0x56dc83,_0x21fadd){var _0x40f13d=_0x485e82;super(),this[_0x40f13d(0x1c7)]=_0x82696d,this[_0x40f13d(0x15f)]=_0x4dcce6,this['_permissionService']=_0x103ba8,this['_collaborationSessionService']=_0x56dc83,this[_0x40f13d(0x284)]=_0x21fadd,this[_0x40f13d(0x1b7)](),this[_0x40f13d(0x128)]();}[_0x485e82(0x128)](){var _0x48fe00=_0x485e82;const _0x1d95e0=async _0x5d6056=>{var _0x53ee4a=_0x34dc;(await this[_0x53ee4a(0xd7)][_0x53ee4a(0x28a)](_0x5d6056))['event$'][_0x53ee4a(0x17b)](_0x47b11f(_0x1c37f5=>_0x1c37f5[_0x53ee4a(0x22a)]===_0x37ce0d[_0x53ee4a(0xc6)]),_0x596d72(this[_0x53ee4a(0x209)]))[_0x53ee4a(0x336)](_0x18ca82=>{var _0x262234=_0x53ee4a;const _0x5cc128=_0x18ca82,{reason:_0x1c175d}=_0x5cc128[_0x262234(0x3ca)];this[_0x262234(0x284)]['emitEvent']({'id':re[_0x262234(0x217)],'data':_0x1c175d}),this[_0x262234(0x240)]['updatePermissionPoint'](new _0xf84fa3(_0x5d6056)['id'],!0x1),this['_collaborationSessionService'][_0x262234(0x2df)](_0x5d6056);});};_0x5155cd(this['_univerInstanceService'][_0x48fe00(0x306)](_0x4c9030['UNIVER_SHEET']),this[_0x48fe00(0x15f)][_0x48fe00(0x306)](_0x4c9030['UNIVER_DOC']))[_0x48fe00(0x17b)](_0x48879e(_0x285984=>_0x285984[_0x48fe00(0x118)]()),_0x47b11f(_0x492eda=>!_0x1a5597(_0x492eda)),_0x596d72(this[_0x48fe00(0x209)]))['subscribe'](_0x18556e=>{_0x1d95e0(_0x18556e);});}[_0x485e82(0x1b7)](){var _0xbfcbe3=_0x485e82;const _0x583dbf=async _0x43ef30=>{var _0x5d4998=_0x34dc;const _0x2426da=await this[_0x5d4998(0xd7)][_0x5d4998(0x28a)](_0x43ef30),_0x174d96=this[_0x5d4998(0x1c7)]['get'](_0xc33690);_0x2426da[_0x5d4998(0x18a)][_0x5d4998(0x17b)](_0x47b11f(_0x577d99=>_0x577d99[_0x5d4998(0x22a)]===_0x37ce0d[_0x5d4998(0x163)]),_0x596d72(this[_0x5d4998(0x209)]))[_0x5d4998(0x336)](_0x1d3bf2=>{var _0x5d542e=_0x5d4998;const _0x5bb68c=_0x1d3bf2,{objectId:_0x5a5959}=_0x5bb68c['data'];_0x5a5959===_0x43ef30?_0x174d96[_0x5d542e(0x192)](_0x43ef30):_0x174d96['refreshPermission'](_0x43ef30,_0x5a5959);});};_0x5155cd(this[_0xbfcbe3(0x15f)][_0xbfcbe3(0x306)](_0x4c9030['UNIVER_SHEET']))['pipe'](_0x48879e(_0x30643b=>_0x30643b[_0xbfcbe3(0x118)]()),_0x47b11f(_0x56f1fd=>!_0x1a5597(_0x56f1fd)),_0x596d72(this[_0xbfcbe3(0x209)]))[_0xbfcbe3(0x336)](_0x22cd60=>{_0x583dbf(_0x22cd60);});}};ot=Qn([Ue(0x0,_0x16f7e6(_0x505898)),Ue(0x1,_0x10b82e),Ue(0x2,_0x569f27),Ue(0x3,_0x16f7e6(we)),Ue(0x4,_0x16f7e6(ve))],ot);var er=Object[_0x485e82(0x30f)],tr=(_0x5dd599,_0x129d72,_0x29c2d4,_0x2ae843)=>{var _0x5d5571=_0x485e82;for(var _0x5acca8=_0x2ae843>0x1?void 0x0:_0x2ae843?er(_0x129d72,_0x29c2d4):_0x129d72,_0x31384f=_0x5dd599[_0x5d5571(0x398)]-0x1,_0x1d4b73;_0x31384f>=0x0;_0x31384f--)(_0x1d4b73=_0x5dd599[_0x31384f])&&(_0x5acca8=_0x1d4b73(_0x5acca8)||_0x5acca8);return _0x5acca8;},oi=(_0x21dc37,_0x214228)=>(_0x3b7796,_0xde8220)=>_0x214228(_0x3b7796,_0xde8220,_0x21dc37);let Nt=class{constructor(_0x1bb71b,_0x2b1734){var _0x3698f3=_0x485e82;this['_configService']=_0x1bb71b,this[_0x3698f3(0x3c5)]=_0x2b1734;}async[_0x485e82(0x178)](_0x40c8d0,_0x33afe8){var _0x119d53=_0x485e82,_0x45882c;const {unitID:_0x384867,type:_0x41a170,revision:_0x1c0076=0x0}=_0x33afe8,_0x988cdb=this[_0x119d53(0x30d)]()+'/'+_0x41a170+_0x119d53(0x119)+_0x384867+_0x119d53(0x380)+_0x1c0076,_0x5f56e4=(await this[_0x119d53(0x3c5)][_0x119d53(0x183)](_0x988cdb))[_0x119d53(0x3c7)],_0x478609=(_0x45882c=_0x5f56e4[_0x119d53(0x1f4)])==null?void 0x0:_0x45882c[_0x119d53(0x248)];if(_0x478609){const _0x401f6f=_0x478609==null?void 0x0:_0x478609['originalMeta'],_0xbd6b24=_0x5419dc['encode'](_0x329d11(_0x401f6f));_0x478609[_0x119d53(0x173)]=_0xbd6b24,Object[_0x119d53(0x234)](_0x478609[_0x119d53(0x1b0)])[_0x119d53(0x30c)](([,_0x4221e5])=>{var _0x9fd0a4=_0x119d53;const _0x16b986=_0x4221e5[_0x9fd0a4(0x173)],_0x54bee1=_0x5419dc['encode'](_0x329d11(_0x16b986));_0x4221e5[_0x9fd0a4(0x173)]=_0x54bee1;});}return _0x5f56e4;}async[_0x485e82(0x235)](_0x3eb2e4,_0x54653d){var _0x41f00c=_0x485e82;const {unitID:_0x2f87a7,type:_0x6147a4,blockID:_0x371da8}=_0x54653d,_0x52d417=this[_0x41f00c(0x24d)]()+'/'+_0x6147a4+_0x41f00c(0x119)+_0x2f87a7+_0x41f00c(0x25b)+_0x371da8;return(await this[_0x41f00c(0x3c5)][_0x41f00c(0x183)](_0x52d417))[_0x41f00c(0x3c7)];}async[_0x485e82(0x27e)](_0x44467f,_0x136fed){var _0x1b2d08=_0x485e82;const {unitID:_0x545fe1,type:_0x3cb350,blockID:_0x386977}=_0x136fed,_0x197e19=this[_0x1b2d08(0x24d)]()+_0x1b2d08(0x25b)+_0x3cb350+'/unit/'+_0x545fe1+_0x1b2d08(0x25b)+_0x386977;return(await this[_0x1b2d08(0x3c5)][_0x1b2d08(0x183)](_0x197e19))[_0x1b2d08(0x3c7)];}async[_0x485e82(0x145)](_0x1ce420,_0x56fb68){var _0x3f333d=_0x485e82;const {unitID:_0xc4c7a4,type:_0x2cbb98,from:_0x3dda2a,to:_0x754026}=_0x56fb68,_0xef994f=this[_0x3f333d(0x24d)]()+'/'+_0x2cbb98+_0x3f333d(0x119)+_0xc4c7a4+'/fetchmissing?from='+_0x3dda2a+'&to='+_0x754026;return(await this['_httpService']['get'](_0xef994f))[_0x3f333d(0x3c7)];}[_0x485e82(0x30d)](){var _0x5ee299=_0x485e82,_0x5a2e8e;return(_0x5a2e8e=this['_configService'][_0x5ee299(0x361)](vs))!=null?_0x5a2e8e:this[_0x5ee299(0x24d)]();}[_0x485e82(0x24d)](){var _0x33a3b8=_0x485e82,_0x417042;const _0x2b650d=this[_0x33a3b8(0x2a9)][_0x33a3b8(0x361)](K);return(_0x417042=_0x2b650d==null?void 0x0:_0x2b650d[_0x33a3b8(0xf4)])!=null?_0x417042:fs;}async[_0x485e82(0x1af)](_0x4126ff,_0x3bc984){var _0x3898ea=_0x485e82;const _0x5a40f8=_0x3898ea(0x2eb)+_0x3bc984[_0x3898ea(0x290)]+'/unit/'+_0x3bc984[_0x3898ea(0xc2)]+_0x3898ea(0x26b);return(await this[_0x3898ea(0x3c5)][_0x3898ea(0x183)](_0x5a40f8,{'params':{'resourceId':JSON[_0x3898ea(0x333)](_0x3bc984[_0x3898ea(0xf6)])}}))['body'];}[_0x485e82(0x302)](){var _0x2dd079=_0x485e82;throw new Error(_0x2dd079(0x195));}[_0x485e82(0x1ab)](){var _0x1ba539=_0x485e82;throw new Error(_0x1ba539(0x195));}['saveSheetBlock'](){var _0x357153=_0x485e82;throw new Error(_0x357153(0x195));}['saveChangeset'](){var _0x2697c3=_0x485e82;throw new Error(_0x2697c3(0x195));}[_0x485e82(0x107)](){var _0x2cfb44=_0x485e82;throw new Error(_0x2cfb44(0x195));}[_0x485e82(0x12e)](){var _0x290744=_0x485e82;throw new Error(_0x290744(0x195));}};Nt=tr([oi(0x0,_0x4ba4ee),oi(0x1,_0x16f7e6(_0x53558e))],Nt);var ir=Object[_0x485e82(0x30f)],sr=(_0x5521f2,_0x4398ca,_0x192829,_0x308c8f)=>{var _0x701669=_0x485e82;for(var _0x3a882e=_0x308c8f>0x1?void 0x0:_0x308c8f?ir(_0x4398ca,_0x192829):_0x4398ca,_0x28b279=_0x5521f2[_0x701669(0x398)]-0x1,_0x17a7b3;_0x28b279>=0x0;_0x28b279--)(_0x17a7b3=_0x5521f2[_0x28b279])&&(_0x3a882e=_0x17a7b3(_0x3a882e)||_0x3a882e);return _0x3a882e;},Ae=(_0x54edd2,_0x4faf0b)=>(_0x31ceb8,_0x4956d1)=>_0x4faf0b(_0x31ceb8,_0x4956d1,_0x54edd2);let bt=class extends _0x5d2bb1{constructor(_0x5f13cd,_0xf6dd34,_0x2fc134,_0x4ce2ea,_0x1bf66d){var _0x518308=_0x485e82;super(_0x5f13cd,_0xf6dd34,_0x2fc134),this[_0x518308(0xdc)]=_0x4ce2ea,this[_0x518308(0x2bf)]=_0x1bf66d;}[_0x485e82(0x184)](_0x491921,_0x263ea9){var _0x435e5c=_0x485e82;const _0x2cfc2e=this[_0x435e5c(0x286)](_0x491921);if(_0x2cfc2e)try{const _0x42b5f3=this['_transformStack'](_0x2cfc2e,_0x263ea9);this[_0x435e5c(0x174)](_0x491921,_0x42b5f3);}catch(_0x9a76f3){this[_0x435e5c(0x2bf)][_0x435e5c(0xd3)]('[CollaborationUndoRedoService]',_0x9a76f3),this[_0x435e5c(0x258)](_0x491921);}const _0x3386b3=this[_0x435e5c(0x14d)](_0x491921);if(_0x3386b3)try{const _0xe146b9=this[_0x435e5c(0x337)](_0x3386b3,_0x263ea9);this[_0x435e5c(0x2ee)](_0x491921,_0xe146b9);}catch(_0x1e6195){this[_0x435e5c(0x2bf)][_0x435e5c(0xd3)](_0x1e6195),this[_0x435e5c(0x123)](_0x491921);}}[_0x485e82(0x258)](_0x5a70c9){var _0x1db5d0=_0x485e82;const _0x599b7e=this[_0x1db5d0(0x286)](_0x5a70c9);_0x599b7e&&(_0x599b7e['length']=0x0,this[_0x1db5d0(0x2db)]());}['_clearRedo'](_0x149369){var _0x1feb49=_0x485e82;const _0x2de439=this[_0x1feb49(0x14d)](_0x149369);_0x2de439&&(_0x2de439[_0x1feb49(0x398)]=0x0,this[_0x1feb49(0x2db)]());}[_0x485e82(0x174)](_0x2e26a4,_0x6f043a){var _0x4ad160=_0x485e82;this['_undoStacks'][_0x4ad160(0x249)](_0x2e26a4,_0x6f043a),this[_0x4ad160(0x2db)]();}[_0x485e82(0x2ee)](_0x238bb8,_0x3d0257){var _0x1027cb=_0x485e82;this['_redoStacks'][_0x1027cb(0x249)](_0x238bb8,_0x3d0257),this[_0x1027cb(0x2db)]();}[_0x485e82(0x337)](_0x4e7b86,_0x2c141c){var _0x4d730f=_0x485e82;const _0x3bb652=[];let _0x53c1fa=_0x2c141c,_0x3858f8=_0x2c141c;for(let _0xcc4bf6=_0x4e7b86[_0x4d730f(0x398)]-0x1;_0xcc4bf6>=0x0;_0xcc4bf6--){const {unitID:_0x3be072,undoMutations:_0x5b1009,redoMutations:_0x33d70b}=_0x4e7b86[_0xcc4bf6],_0x1f6c0d=this[_0x4d730f(0xdc)][_0x4d730f(0x1d1)](_0x53c1fa,_0x5b1009),_0x162bac=this[_0x4d730f(0xdc)]['transformMutationsWithChangeset'](_0x3858f8,_0x33d70b);if(_0x514b84(_0x1f6c0d)||_0x514b84(_0x162bac)){this[_0x4d730f(0x2bf)]['error'](_0x4d730f(0x26a),_0x4d730f(0x182),_0x1f6c0d,_0x162bac);break;}_0x53c1fa=_0x1f6c0d[_0x4d730f(0x28c)],_0x3858f8=_0x162bac[_0x4d730f(0x28c)],_0x3bb652['push']({'unitID':_0x3be072,'undoMutations':_0x1f6c0d[_0x4d730f(0x2bd)],'redoMutations':_0x162bac[_0x4d730f(0x2bd)]});}return _0x3bb652['reverse']();}};bt=sr([Ae(0x0,_0x10b82e),Ae(0x1,_0x36e989),Ae(0x2,_0x498db4),Ae(0x3,_0x53969a),Ae(0x4,_0x42253d)],bt);var nr=Object['defineProperty'],rr=Object[_0x485e82(0x30f)],ar=(_0x4578c7,_0x3ec158,_0xd916f)=>_0x3ec158 in _0x4578c7?nr(_0x4578c7,_0x3ec158,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd916f}):_0x4578c7[_0x3ec158]=_0xd916f,or=(_0x4b8e8f,_0xb8eb5a,_0x1df0a2,_0x49c0e7)=>{var _0x5c2410=_0x485e82;for(var _0x9a210c=_0x49c0e7>0x1?void 0x0:_0x49c0e7?rr(_0xb8eb5a,_0x1df0a2):_0xb8eb5a,_0x59d736=_0x4b8e8f[_0x5c2410(0x398)]-0x1,_0x343553;_0x59d736>=0x0;_0x59d736--)(_0x343553=_0x4b8e8f[_0x59d736])&&(_0x9a210c=_0x343553(_0x9a210c)||_0x9a210c);return _0x9a210c;},Et=(_0x56dcdd,_0x446a49)=>(_0xfe96ce,_0xf81c85)=>_0x446a49(_0xfe96ce,_0xf81c85,_0x56dcdd),cr=(_0xd09d57,_0x1405ab,_0x28fad9)=>ar(_0xd09d57,_0x1405ab+'',_0x28fad9);const _r='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x471ea9{constructor(_0x1b17b3,_0x349f3d,_0x37056f,_0x3010e8){var _0x183cc4=_0x485e82;super(),D(this,_0x183cc4(0x135)),(this[_0x183cc4(0x2bf)]=_0x349f3d,this[_0x183cc4(0x1c7)]=_0x37056f,this[_0x183cc4(0x2a9)]=_0x3010e8);const {..._0xdc3964}=_0x45d74d({},Ls,_0x1b17b3);if(!_0xdc3964['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x183cc4(0x135)]=_0xdc3964,this['_configService']['setConfig'](K,_0xdc3964);}[_0x485e82(0x38d)](){var _0x1541d3=_0x485e82;this[_0x1541d3(0x12f)](),this[_0x1541d3(0x379)]();}[_0x485e82(0x12f)](){var _0x5e7823=_0x485e82,_0x44d480,_0x394fff;this['_injector'][_0x5e7823(0x2a0)](_0x158562)&&this[_0x5e7823(0x2bf)][_0x5e7823(0xd3)](_0x5e7823(0x1aa),_0x5e7823(0x13d));const _0x14aca7=_0x335ed4([[_0x158562,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x5e7823(0x135)][_0x5e7823(0x377)]}],[_0x57fc0f,{'useClass':Nt}],[_0x4b3bd6,{'useClass':Tt}],[_0x3adc5f,{'useClass':Rt}],[_0x5d4257,{'useClass':Ct}],[nt],[gt]],(_0x44d480=this[_0x5e7823(0x135)])==null?void 0x0:_0x44d480['override']);if(!((_0x394fff=this[_0x5e7823(0x135)])!=null&&_0x394fff[_0x5e7823(0x21d)])){const _0x4970b6=_0x14aca7['findIndex'](([_0x49f96d])=>_0x49f96d===_t);_0x4970b6!==-0x1&&_0x14aca7[_0x5e7823(0x3d1)](_0x4970b6,0x1);}_0x3e9c8c(this['_injector'],_0x14aca7);}['_initDependencies'](){var _0x57f21c=_0x485e82,_0x57430a,_0x4fe541,_0x2cc610;this[_0x57f21c(0x1c7)]['get'](_0x53558e)[_0x57f21c(0x1d3)]({'priority':0x14,'interceptor':_0x277a9f({'maxParallel':0x6})}),(_0x57430a=this[_0x57f21c(0x135)])!=null&&_0x57430a['enableOfflineEditing']||(_0x4fe541=this[_0x57f21c(0x1c7)][_0x57f21c(0x183)](J,_0x5490b8[_0x57f21c(0x200)]))==null||_0x4fe541[_0x57f21c(0x1e4)](),(_0x2cc610=this[_0x57f21c(0x135)])!=null&&_0x2cc610[_0x57f21c(0x3be)]&&_0x99d822(this[_0x57f21c(0x1c7)],[[rt]]),_0x99d822(this['_injector'],[[at],[nt],[ot]]);}};cr(Dt,'pluginName',_r),Dt=or([_0x5eb277(_0x1112e6,_0x1010e5),Et(0x1,_0x42253d),Et(0x2,_0x16f7e6(_0x505898)),Et(0x3,_0x4ba4ee)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Wt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Fs as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,js as deserializeToCombResponse,Nr as getLocalCacheKey,Vs as serializeCombRequest};
|