@univerjs-pro/collaboration-client 0.15.2-insiders.20260124-12fc7f0 → 0.15.3-insiders.20260131-b9b8805
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/ja-JP.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/sk-SK.js +1 -0
- 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/ja-JP.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/sk-SK.js +1 -0
- 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/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -0
- 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/types/locale/sk-SK.d.ts +3 -0
- 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/ja-JP.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/sk-SK.js +1 -0
- 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 +11 -11
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0xff6382=_0x3f92;(function(_0x344033,_0x59598e){var _0xf57bae=_0x3f92,_0x5e18bd=_0x344033();while(!![]){try{var _0x1b3604=parseInt(_0xf57bae(0x1fe))/0x1*(-parseInt(_0xf57bae(0x25f))/0x2)+parseInt(_0xf57bae(0x200))/0x3+-parseInt(_0xf57bae(0x2c8))/0x4+-parseInt(_0xf57bae(0x1b0))/0x5+-parseInt(_0xf57bae(0x350))/0x6+parseInt(_0xf57bae(0x168))/0x7+parseInt(_0xf57bae(0x3e9))/0x8;if(_0x1b3604===_0x59598e)break;else _0x5e18bd['push'](_0x5e18bd['shift']());}catch(_0x2a42d9){_0x5e18bd['push'](_0x5e18bd['shift']());}}}(_0x433b,0xcd0d6));var Di=Object[_0xff6382(0x29c)],yi=(_0x5ee2e1,_0x5b4ea7,_0xf30098)=>_0x5b4ea7 in _0x5ee2e1?Di(_0x5ee2e1,_0x5b4ea7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf30098}):_0x5ee2e1[_0x5b4ea7]=_0xf30098,D=(_0x13e44a,_0x2ce9cd,_0x611377)=>yi(_0x13e44a,typeof _0x2ce9cd!=_0xff6382(0x203)?_0x2ce9cd+'':_0x2ce9cd,_0x611377);import{CollaborationEvent as _0x5561ca,ITransformService as _0x3a8ddb,isTransformMutationsWithChangesetSuccess as _0x2662f6,mapDocumentTypeToUniverType as _0xb7c9ee,RevisionService as _0x2ccc8a,isTransformChangesetsSuccess as _0x195351,EmptyMutationInfo as _0x429250,CompressMutationService as _0x23f8ca,parseProtocolChangeset as _0x4e5b30,uuidv4 as _0xb01c14,ISnapshotServerService as _0x3fcbd6,parseChangesetToProtocol as _0x52f624,SnapshotService as _0x540d25,textEncoder as _0x3ef249,b64DecodeUnicode as _0x4c051e,isTransformMutationsWithChangesetFailure as _0x499a6e,UniverCollaborationPlugin as _0x1308f4}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x3c78cc,Inject as _0x26f1c4,UserManagerService as _0x5172db,Disposable as _0x4c3f97,UniverInstanceType as _0x20192f,ILogService as _0x4b39d4,IConfigService as _0x5839d5,Optional as _0x197a74,RxDisposable as _0x1734f1,createIdentifier as _0x5a6278,Injector as _0x479e14,Tools as _0x14105e,Rectangle as _0x18509b,ICommandService as _0x53c0da,JSONX as _0x449fd9,IUndoRedoService as _0x5c3c47,IPermissionService as _0x1ce666,LocaleService as _0x40557f,sequenceExecute as _0x2ac4ab,toDisposable as _0x5d435c,CommandType as _0x4d575a,DisposableCollection as _0x2ef222,Workbook as _0x4e7964,resolveWithBasePath as _0x40c488,generateRandomId as _0x1b1ec4,MentionType as _0x14821a,isInternalEditorID as _0x2e6ffc,LocalUndoRedoService as _0x4a3615,IContextService as _0x448142,DependentOn as _0x26838c,Plugin as _0xb12a35,merge as _0xbdf69,mergeOverrideWithDependencies as _0x4ff346,IAuthzIoService as _0x548229,IMentionIOService as _0x5c14d2,registerDependencies as _0x21d310,Quantity as _0x3512b0,touchDependencies as _0x40b693}from'@univerjs/core';import{RichTextEditingMutation as _0x4b2a2a}from'@univerjs/docs';import{SheetsSelectionsService as _0x41ad8b,SetSelectionsOperation as _0x10c6da,InsertSheetMutation as _0x53773d,WorkbookEditablePermission as _0x1dc0bf,SheetPermissionInitController as _0x3b4d81}from'@univerjs/sheets';import{Subject as _0x14e298,merge as _0x301fbe,of as _0x6da436,BehaviorSubject as _0x409cb3,takeUntil as _0x4f5e1f,ReplaySubject as _0x2cd411,take as _0x5c7bfd,map as _0x47a711,shareReplay as _0x49ca7f,firstValueFrom as _0x2c9db1,concatMap as _0x390195}from'rxjs';import{ITelemetryService as _0x2021c7}from'@univerjs/telemetry';import{map as _0x240bec,take as _0x25913a,filter as _0x5f2611,delay as _0x319d5e,takeUntil as _0x3160cb}from'rxjs/operators';import{HTTPService as _0x3b36ba,ISocketService as _0x450666,MergeInterceptorFactory as _0x259374,HTTPRequest as _0x535316,UniverNetworkPlugin as _0x3574a6,ThresholdInterceptorFactory as _0x3ada3d}from'@univerjs/network';import{ImageSourceType as _0x1fae8f,ImageUploadStatusType as _0x6d76aa,IImageIoService as _0x234c1a}from'@univerjs/drawing';import{getGlobalObject as _0x32e82d}from'@univerjs-pro/license';const Es='/universer-api/snapshot',ps=_0xff6382(0x189),ms=0x7d0,Is=_0xff6382(0x20f),Or=_0xff6382(0x2b3),Ss=_0xff6382(0x191),gs=0x7530,di=_0xff6382(0x351),fi=0x4e20,Ts=0x4e20,Os='RETRY_CONNECTING_MAX_COUNT',Rs=0x3,Rr=_0xff6382(0x249),Nr=0x3e8,Ns=_0xff6382(0x164),Cs=_0xff6382(0x3fd),Cr=_0xff6382(0x2c9),br=_0xff6382(0x241);var vi=(_0x3042a0=>(_0x3042a0[_0x3042a0[_0xff6382(0x2ba)]=0x0]=_0xff6382(0x2ba),_0x3042a0[_0x3042a0['OK']=0x1]='OK',_0x3042a0[_0x3042a0[_0xff6382(0xef)]=0x2]='INTERNAL_ERROR',_0x3042a0[_0x3042a0[_0xff6382(0x379)]=0x3]=_0xff6382(0x379),_0x3042a0[_0x3042a0[_0xff6382(0x24e)]=0x4]='NOT_FOUND',_0x3042a0[_0x3042a0['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3042a0[_0x3042a0[_0xff6382(0xfc)]=0x6]='ALREADY_EXISTS',_0x3042a0[_0x3042a0[_0xff6382(0x328)]=0x7]='INVALID_ARGUMENT',_0x3042a0[_0x3042a0[_0xff6382(0x363)]=0x8]='TOO_MANY_REQUESTS',_0x3042a0[_0x3042a0['COMPLETION_FINISHED']=0x9]=_0xff6382(0x23e),_0x3042a0[_0x3042a0[_0xff6382(0xeb)]=0xa]=_0xff6382(0xeb),_0x3042a0[_0x3042a0[_0xff6382(0x2db)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3042a0[_0x3042a0[_0xff6382(0x3c4)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3042a0[_0x3042a0[_0xff6382(0x382)]=0xd]=_0xff6382(0x382),_0x3042a0[_0x3042a0[_0xff6382(0x3c2)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3042a0[_0x3042a0[_0xff6382(0x2a7)]=0xf]=_0xff6382(0x2a7),_0x3042a0[_0x3042a0[_0xff6382(0x1b7)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x3042a0[_0x3042a0[_0xff6382(0x236)]=0x64]=_0xff6382(0x236),_0x3042a0[_0x3042a0[_0xff6382(0x2dd)]=0x65]='ERROR_AGAIN',_0x3042a0[_0x3042a0[_0xff6382(0x188)]=0xc9]=_0xff6382(0x188),_0x3042a0[_0x3042a0[_0xff6382(0x282)]=0xca]=_0xff6382(0x282),_0x3042a0[_0x3042a0[_0xff6382(0x35d)]=0x1389]=_0xff6382(0x35d),_0x3042a0[_0x3042a0[_0xff6382(0x326)]=0x1771]=_0xff6382(0x326),_0x3042a0[_0x3042a0[_0xff6382(0x19b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3042a0[_0x3042a0[_0xff6382(0x398)]=0x1773]=_0xff6382(0x398),_0x3042a0[_0x3042a0[_0xff6382(0x1d3)]=0x1b59]=_0xff6382(0x1d3),_0x3042a0[_0x3042a0[_0xff6382(0x181)]=0x1b5a]=_0xff6382(0x181),_0x3042a0[_0x3042a0['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3042a0[_0x3042a0[_0xff6382(0x264)]=0x1b5c]=_0xff6382(0x264),_0x3042a0[_0x3042a0[_0xff6382(0x2fa)]=0x1b5d]=_0xff6382(0x2fa),_0x3042a0[_0x3042a0[_0xff6382(0x37c)]=0x1f41]=_0xff6382(0x37c),_0x3042a0[_0x3042a0[_0xff6382(0x2a9)]=0x2329]=_0xff6382(0x2a9),_0x3042a0[_0x3042a0[_0xff6382(0x2b4)]=0x232a]=_0xff6382(0x2b4),_0x3042a0[_0x3042a0['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xff6382(0x21b),_0x3042a0[_0x3042a0[_0xff6382(0x210)]=0x232c]=_0xff6382(0x210),_0x3042a0[_0x3042a0['LICENSE_DISTRO_REJECTED']=0x232d]=_0xff6382(0x131),_0x3042a0[_0x3042a0[_0xff6382(0x258)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3042a0[_0x3042a0[_0xff6382(0x3ab)]=0x2712]=_0xff6382(0x3ab),_0x3042a0[_0x3042a0['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3042a0[_0x3042a0[_0xff6382(0x329)]=0x2714]=_0xff6382(0x329),_0x3042a0[_0x3042a0['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xff6382(0x2b0),_0x3042a0[_0x3042a0[_0xff6382(0x170)]=0x271b]=_0xff6382(0x170),_0x3042a0[_0x3042a0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xff6382(0x25c),_0x3042a0[_0x3042a0[_0xff6382(0x2af)]=0x271d]=_0xff6382(0x2af),_0x3042a0[_0x3042a0[_0xff6382(0x275)]=0x271e]=_0xff6382(0x275),_0x3042a0[_0x3042a0[_0xff6382(0x11d)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3042a0[_0x3042a0[_0xff6382(0x263)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3042a0[_0x3042a0[_0xff6382(0x3e7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3042a0[_0x3042a0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3042a0[_0x3042a0[_0xff6382(0x252)]=0x2ee2]=_0xff6382(0x252),_0x3042a0[_0x3042a0[_0xff6382(0x2d5)]=0x2ee3]=_0xff6382(0x2d5),_0x3042a0[_0x3042a0[_0xff6382(0x105)]=0x2ee4]=_0xff6382(0x105),_0x3042a0[_0x3042a0[_0xff6382(0x3d6)]=0x2ee5]=_0xff6382(0x3d6),_0x3042a0[_0x3042a0[_0xff6382(0x3d0)]=0x32c9]=_0xff6382(0x3d0),_0x3042a0[_0x3042a0[_0xff6382(0x1cc)]=0x32ca]=_0xff6382(0x1cc),_0x3042a0[_0x3042a0[_0xff6382(0x3d2)]=0x32cb]=_0xff6382(0x3d2),_0x3042a0[_0x3042a0[_0xff6382(0x137)]=0x36b1]=_0xff6382(0x137),_0x3042a0[_0x3042a0['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0xff6382(0x23c),_0x3042a0[_0x3042a0[_0xff6382(0x3d7)]=0x36b3]=_0xff6382(0x3d7),_0x3042a0[_0x3042a0[_0xff6382(0x238)]=0x36b4]=_0xff6382(0x238),_0x3042a0[_0x3042a0[_0xff6382(0x28b)]=0x36b5]=_0xff6382(0x28b),_0x3042a0[_0x3042a0['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0xff6382(0x11a),_0x3042a0[_0x3042a0[_0xff6382(0x24c)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x3042a0[_0x3042a0['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x3042a0[_0x3042a0['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0xff6382(0x309),_0x3042a0[_0x3042a0['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0xff6382(0x202),_0x3042a0[_0x3042a0[_0xff6382(0x17d)]=0x3717]=_0xff6382(0x17d),_0x3042a0[_0x3042a0['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0xff6382(0x285),_0x3042a0[_0x3042a0[_0xff6382(0x262)]=0x3a99]=_0xff6382(0x262),_0x3042a0[_0x3042a0[_0xff6382(0x37a)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x3042a0[_0x3042a0[_0xff6382(0x2ac)]=0x3a9b]=_0xff6382(0x2ac),_0x3042a0[_0x3042a0[_0xff6382(0x1bb)]=0x3a9c]=_0xff6382(0x1bb),_0x3042a0[_0x3042a0[_0xff6382(0x36b)]=0x3a9d]=_0xff6382(0x36b),_0x3042a0[_0x3042a0[_0xff6382(0x33d)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x3042a0[_0x3042a0['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0xff6382(0x1b6),_0x3042a0[_0x3042a0['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0xff6382(0x1f0),_0x3042a0[_0x3042a0[_0xff6382(0xec)]=-0x1]=_0xff6382(0xec),_0x3042a0))(vi||{}),Q=(_0x19cce1=>(_0x19cce1[_0x19cce1[_0xff6382(0x2e7)]=0x0]=_0xff6382(0x2e7),_0x19cce1[_0x19cce1['UNIVER_DOC']=0x1]=_0xff6382(0x1c6),_0x19cce1[_0x19cce1['UNIVER_SHEET']=0x2]=_0xff6382(0xf5),_0x19cce1[_0x19cce1[_0xff6382(0x24f)]=0x3]=_0xff6382(0x24f),_0x19cce1[_0x19cce1['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x19cce1[_0x19cce1[_0xff6382(0xec)]=-0x1]='UNRECOGNIZED',_0x19cce1))(Q||{}),j=(_0xee6c27=>(_0xee6c27[_0xee6c27[_0xff6382(0x278)]=0x0]=_0xff6382(0x278),_0xee6c27[_0xee6c27[_0xff6382(0x17c)]=0x1]='HELLO',_0xee6c27[_0xee6c27[_0xff6382(0x20e)]=0x2]=_0xff6382(0x20e),_0xee6c27[_0xee6c27['LEAVE']=0x3]='LEAVE',_0xee6c27[_0xee6c27[_0xff6382(0x2f7)]=0x4]=_0xff6382(0x2f7),_0xee6c27[_0xee6c27['HEARTBEAT']=0x5]=_0xff6382(0x3fe),_0xee6c27[_0xee6c27[_0xff6382(0x3f0)]=0x6]=_0xff6382(0x3f0),_0xee6c27[_0xee6c27[_0xff6382(0xec)]=-0x1]=_0xff6382(0xec),_0xee6c27))(j||{}),Ee=(_0x24cafb=>(_0x24cafb[_0x24cafb[_0xff6382(0x333)]=0x0]=_0xff6382(0x333),_0x24cafb[_0x24cafb['OK']=0x1]='OK',_0x24cafb[_0x24cafb[_0xff6382(0x24b)]=0x2]='FAIL',_0x24cafb[_0x24cafb[_0xff6382(0x377)]=0x3e9]='JOIN_ROOM_FULL',_0x24cafb[_0x24cafb[_0xff6382(0x148)]=0x3ea]=_0xff6382(0x148),_0x24cafb[_0x24cafb[_0xff6382(0x33b)]=0x3eb]=_0xff6382(0x33b),_0x24cafb[_0x24cafb[_0xff6382(0x3c9)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x24cafb[_0x24cafb[_0xff6382(0xec)]=-0x1]=_0xff6382(0xec),_0x24cafb))(Ee||{}),Ei=(_0x37ab68=>(_0x37ab68[_0x37ab68[_0xff6382(0x1ea)]=0x0]=_0xff6382(0x1ea),_0x37ab68[_0x37ab68[_0xff6382(0x196)]=0x1]=_0xff6382(0x196),_0x37ab68[_0x37ab68[_0xff6382(0x320)]=0x2]=_0xff6382(0x320),_0x37ab68[_0x37ab68[_0xff6382(0x32c)]=0x3]='UnitEmbedded',_0x37ab68[_0x37ab68[_0xff6382(0x223)]=0x4]=_0xff6382(0x223),_0x37ab68[_0x37ab68[_0xff6382(0x1c0)]=0x5]='UserProfileImg',_0x37ab68[_0x37ab68[_0xff6382(0x154)]=0x6]='ClipsheetFragments',_0x37ab68[_0x37ab68[_0xff6382(0xec)]=-0x1]=_0xff6382(0xec),_0x37ab68))(Ei||{});function _0x433b(){var _0x4863fb=['put','Failed\x20to\x20update\x20permission\x20point','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','replace','[PendingState]:\x20received\x20rejection.','_transformStateCache','_updateStatus','_unitInfo$','changesets','_init','image/jpg','unpad','1780992HmVFxa','HEARTBEAT_TIMEOUT','offline','_iKey','_replaceFileID','toggleOnline','_exhaustRemoteChangesetQueue','getAllMembers','_handlerCallback','getCollabEntity','socketService','body','_clearHeartbeatTimer','CHANGESET_REVISION_CONFILICT','collaboration-client.local-cache-service','getCollabEntity$','disposeWithMe','_DEC_XFORM_MODE','ERROR_EXCEED_SIZE','TOO_MANY_REQUESTS','COMPRESS_MUTATION_SEND','/fetchmissing?from=','Utf8','getSnapshotAPIPath','&to=','MD5','set','REDEMPTION_USER_NOT_ELIGIBLE','_onUserJoin','_scheduleCollaborationTimeoutTimer','subject','padding','enableOfflineEditing','image/gif','_applyRemoteChangeset','UNIVER_COLLABORATION_CLIENT_PLUGIN','abs','WordArray','ciphertext','JOIN_ROOM_FULL','enableAuthServer','PERMISSION_DENIED','REDEMPTION_CODE_INACTIVE','fromCharCode','CONNECTOR_DATA_TOO_LARGE','encode','BufferedBlockAlgorithm','onRemoteAck','compose','_onRecvEvent','EMAIL_VERIFY_CODE_MISMATCH','getCurrentUser','_onConnectionFailed','_waitCount','unknown','readAsDataURL','NoPadding','SHOULD_CLOSE_CONN','_socket','fromCollab','debug','commentUpdateEvent','requireSession','_sendHeartbeatTimer','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','deepClone','CBC','string','UPDATE_CURSOR','refreshPermission','_commentUpdate$','joinEvent','ENSURE_SNAPSHOT_EXECUTION','rev','_tryReconnect','getImage','dispose$','data','/unit/','POST','_getDownloadEndpointURL','c2Prime','charAt','onMissingChangesets','_key','revision','_lockTransition','_getSignURL','objectID','_rescheduleHeartbeat','ONLINE','YUUMI_URL_COL_OUT_OF_RANGE','asObservable','signUrlServerUrl','mutations','getCurrentRevOfUnit','PSEUDO_FETCH_MISSING_RESULT','updateCursorEvent','_nRounds','failed\x20to\x20apply\x20missed\x20changesets!','sessionStatus$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','objectActions','_socketMessageSubscription','closeSession','_collaborationUIEventService','finalize','cmd','_onMessage','forEach','Could\x20not\x20dynamically\x20require\x20\x22','kdf','_singleActiveUnitService','onTransformRemoteChangesetByIMECache','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','algo','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','workbook','_data','LIVESHARE_NEW_HOST','_oKey','GLOBAL_ROOMS_CNT_EXCEEDS','list','sheets','HMAC','_HTTPService','getRandomValues','crypto','WECHAT_HAS_BEEN_BOUND','getValue','EMAIL_HAS_BEEN_BOUND','post','salt','close','INVITE_CODE_ALREADY_BOUND','ENTITLE_DUP_SUBSCRIPTION','SHA1','fetchMissingChangesets','/universer-api/file/{fileID}/sign-url','/allowed','_initCloseConn','saveImage','stringify','USERS_ENTER','infoRsp','_mode','_clearRetryConnectingTimer','encodeURIComponent','HmacMD5','_invKeySchedule','&source=','PY_RUNTIME_SCRIPT_ERROR','[SyncedState]:\x20received\x20rejection.','11006704SRxDSA','[PendingState]:\x20received\x20acknowledgement.','getUnitStatus$','has','Error\x20on\x20receiving\x20event','patch','_initDependencies','RECV','_commentService','baseRev','capture','objects','/resources','substr','splice','_registerDependencies','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onCombEvent','NOT_COLLAB','mixIn','/universer-api/oidc/authpage','HEARTBEAT','JOINING','_onConflict','session.room-full','submit\x20changeset\x20error!','objectType','blockSize','_getRedoStack','reqId','reject','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_localCacheService','conflict','LOGIN_FAILED','UNRECOGNIZED','_throwTelemetryCollaborationNewChangeset','__splitChunk__','INTERNAL_ERROR','transformChangesets','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_telemetryService','uniscriptRunEvent','format','UNIVER_SHEET','map','clear','function','file','loadOfflineData','CLOSE_ROOM','ALREADY_EXISTS','_members$','length','FileId','loadDoc','decrypt','PERMISSION_REJ','onMissedChangesetFetched','retryConnectingInterval','USER_NOT_INVITED_CODE','HmacSHA1','_retryConnectingTimer','image/jpeg','getResourcesRequest','liveShareNewHost','getUnitType','target','session','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','onStarting','_substituteUndoStack','_socket$','state$','pad','_initRequestHeader','_isPermissionRej','confirm','getWorkbookSelections','next','_changesetSessionId','ENTITLE_COUPON_EXPIRED','snapshot','_eventService','YUUMI_AI_RUN_FAILED','[CollaborationSession]','reconnect','append','getSheetBlock','reduce','transformMutationsWithChangeset','_sendHeartbeat','AWAITING_WITH_PENDING','telemetry\x20info\x20is\x20not\x20initialized','_submitChangeset','_config','_commandService','updatePermissionPoint','SYNCED','actions','init','collaborators','IDLE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','LICENSE_DISTRO_REJECTED','transformSelections','_state$','initWorkbookPermissionChange','executeCommand','\x0aCurrent:\x20','ENTITLE_CAN_NOT_BUY_LOWER_OTP','listRoles','localCacheService','_onJoinRoomEvent','_onUserLeave','univer-pro.collaboration-client.single-active-unit-service','onMutationExecutedForCollab','_reverseMap','session.room-not-exists','encryptBlock','_emitMembers','_socketReady','getUnitId','_onRemoteRejected','roomInfos','_scheduleCompleteTimestamp','_transitionLocked','JOIN_ROOM_NOT_EXISTS','createEncryptor','createCollaborator','m2Prime','_type','uploadFileServerUrl','MSG_FOR_ERROR','c1Prime','saveChangeset','collaboration_new_changeset','editing\x20status\x20changed\x20to','Univer','ClipsheetFragments','loadSheet','commentUpdate$','_sessions','_substituteRedoStack','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_keySchedule','USERS_LEAVE','_clearCollaborationTimeoutTimer','_unitID','onlyLocal','_compressMutationService','key','Malformed\x20UTF-8\x20data','save\x20fail\x20reason\x20is\x20','createDecryptor','/universer-api/comb','getTime','auth.needGotoLoginAlert','status$','10726184kuBrgV','getOwnPropertyDescriptor','online$','[UniverCollaborationClientPlugin]','_transformRemoteChangesetByIMECache','deleteCollaborator','_logService','/universer-api/stream/file/upload','YUUMI_ASYNCIO_CANCELLED','_createInitialStateImpl','keySize','_onOffline','_acknowledgedAwaitingChangeset','_telemetryInfo','_permissionService','_decreaseWaiting','userID','LIVESHARE_FETCH_OPERATIONS','isArray','_onFetchMissResult','HELLO','ENTITLE_INSUFFICIENT_QUOTA','COMMENT_UPDATE','clamp','location','APPLY_NON_SEQUENTIAL_REVISION','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','newCsEvent','csRejEvent','_undoStacks','byteOffset','withCredentials','USER_NOT_FOUND','SNAPSHOT_URL_KEY','/object/','toggleOffline','_tryEnsureSocket','\x0aAfter:\x20','size','_transformSelections','_sendingTimer','HEARTBEAT_INTERVAL','Hasher','ERROR_IMAGE_TYPE','close$','onTransformRemoteChangesetByStateCache','HttpImport','startsWith','clone','code','CHANGESET_SHOULD_RETRY','SNAPSHOT_HAS_BEEN_REMOVED','AWAITING','People','_resendTimer','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_incrementRevisionNumber','complete','_minBufferSize','reverse','default','_snapshotService','onSyncEditingCollabCursor','EvpKDF','_transformRemoteChangesetByStateCache','_sender','csShouldRetryEvent','max','_cipher','_initMergeInterceptor','onTransformSelections','getInterceptPoints','5852375dvhepa','error$','send','avatar','fetchMiss','add','REDEMPTION_CODE_HAS_BEEN_CREATED','LOGIN_TOKEN_PROCESSING_FAILED','responseType','x-univer-host','_clearRedo','REDEMPTION_CODE_NOT_STARTED','[OfflineState]:\x20received\x20changeset.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_append','addHandlerCallback','UserProfileImg','setShowComponents','_waitForHeartbeatResponse','processBlock','appendMutation','url','UNIVER_DOC','_unlockTransition','then','_userManagerService','Encryptor','_socketService','MOBILE_HAS_BEEN_BOUND','Latin1','state','routeKey','waitForRoom$','snapshotServerUrl','CHANGESET_ACK','APPLY_REJECT','indexOf','Base','SUBMIT_CHANGESET','mode','/role','_collaborationPaused','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_transformService','CONFLICT','[DataLoaderService]','delete','sid','words','_process','_configService','_getLoginPath','_localeService','synced','_getSendChangesetTimeout','LEAVE','_onRemoteChangeset','getActiveSheet','Undefined','_shouldReportTelemetry','_snapshotServerService','push','_pendingMutations','saveSnapshot','DATA_SOURCE_TOO_LARGE','_fetchMissChangesets','join','_nDataBytes','_roomMembers','loadUnitOfRevision','csAckEvent','sessionStatus','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_awaitingChangeset','pipe','method','_clearTimeoutTimer','getRoom','4357xRvfSm','message$','3783006dPiqjp','onTransformIME','ENTITLE_REPORT_LIMIT_EXCEED','symbol','concat','UNISCRIPT_RUN','reset','range','_collabSessionService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_event$','_getUploadFileURL','msCrypto','_roomCreated$','JOIN','ws://127.0.0.1:8000/universer-api/comb/connect','LICENSE_EXPORT_SIZE_EXCEEDED','_executeRemoteChangeset','onRemoteChangeset','subUnitId','hasher','COMPRESS_MUTATION_APPLY','awaiting_with_pending','readInt32LE','socket$','allowed','_status$','LICENSE_IMPORT_SIZE_EXCEEDED','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_doCryptBlock','[OfflineState]:\x20received\x20rejection.','[CollaborationSessionService]:\x20socket\x20error','error','loginUrlKey','create','UnitSnapshot','_instanceService','onSendChangeset','_httpService','_queuedRemoteChangesets','Cipher','\x20in\x20_schedule.','every','/-/object/-/batch_allowed','_removeRoom','get','status','_transformStack','FETCH_MISS','awaitingChangeset','roles','_undoRedoService','textRanges','collaMsg','CURRENT_STATUS_CANNOT_OPERATE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','PAYMENT_CHANNEL_NOT_SUPPORT','setWaitCount','slice','repeat','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_createSocket','COMPLETION_FINISHED','[OfflineState]:\x20received\x20acknowledgement.','src','/universer-api/uniscript','downloadEndpointUrl','[SyncedState]:\x20received\x20acknowledgement.','_checkMissing','setConfig','_entities','eventID','localeService','LOCAL_CACHE_INTERVAL','SOCKET_FAILED','FAIL','ENTITLE_COUPON_USED_UP','_onLocalMutation','NOT_FOUND','UNIVER_SLIDE','_change$','exports','INVALID_INVITE_CODE','getDeserializedSheetBlock','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_createHmacHelper','CHANGESET_REJ','interceptor','YUUMI_UNABLE_LOAD_URL','iterations','_syncEditingCollabCursor','_candidateSocket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','originalMeta','_getAPIPrefix','410lAwoHA','change$','name','REDEMPTION_INVALID_CODE','YUUMI_CONNECTOR_URL_NOT_FOUND','APPLY_PERMISSION_DENIED','filter','SUBMIT_CHANGESET_TIMEOUT','getTypeOfUnitAdded$','onRemoteRej','fetching\x20missing\x20changesets\x20from\x20','SUCCUSS','_onRemoteRetry','_onConnectionOpen','[CollaborationEntity]','emitEvent','_updateState','_maxTotalRetryTimeout','_createInitialState','fetch_missing','sigBytes','Hex','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','NO_OTHER_CLIENTS_EDITING','_map','UNKNOWN_CMD','stopTime','updateCollaborator','_getCtorByUniverType','_state','_onRemoteACK','[CollaborationSessionService]','updateMember','byteLength','session.room-permission-denied','USER_IS_ANONYMOUS','_doFinalize','find','ENTITLE_NEED_BILLING_ADDRESS','now','BASE64','charCodeAt','_replayCachedMutations','_getUndoStack','ENTITLE_INVALID_COUPON_CODE','_entityInit$','onRemoteRetry','randomBytes','ERROR_IMAGE','decryptBlock','$super','Base64','putCollaborators','_retryCount','loadUnit','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','startTime','_getAPIPrefixPath','unsubscribe','LIVESHARE_REQUEST_HOST','_revisionService','defineProperty','result','readyForCollab','extend','memberID','SerializableCipher','_createHelper','_changesetReqId','_joinRoom','createInstance','requestParams','AUTHORIZE_CODE_ILLEGAL','_schedule','LICENSE_MAX_UNITS_EXCEEDED','ceil','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','REDEMPTION_CODE_FULLY_REDEEMED','unitId','CipherParams','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_NO_CUBOID_FOR_QUESTION','_sessionStatus$','_collaborationTimeoutTimer','/universer-api/user/session-ticket','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hostname','_startCollaboration','_transformIMECache','liveShareOperation','getMember','UNDEFINED','_networkConditionService','pluginName','unitInfo$','event$','OTHER_CLIENT_EDITING','_injector','Decryptor','_memberService','enc','_remoteChangesetQueue','disableLocalCache','type','_resendTimeout','3875064jIzDNJ','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_ENC_XFORM_MODE','connection\x20error','unitID','AES','/universer-api/snapshot/','_doCreateSocket','transformUndoRedo','getConfig','update','headers','collaboration-client.config','INVITE_CODE_REQUIRED','catch','toString','params','authzUrl','_univerInstanceService','MOBILE_VERIFY_CODE_MISMATCH','_listenToNetworkCondition','ERROR_AGAIN','_imageSourceCache','FETCH_MISSING','awaiting','NEW_CHANGESETS','_collaborationSessionService','resourceIDs','image/bmp','_toggleOnline','_stopTelemetryCollaborationNewChangeset','UNIVER_UNKNOWN','getCurrentSelections','setCurrentUser','_keyPriorReset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','editingUnit','_hasher','origin','StreamCipher','parse','_doReset','_xformMode','_getCurrentRevision','LIVESHARE_OPERATION','lib','floor','INGEST','BlockCipher','_sheetTransformSelectionsService','APPLY_DUPLICATED','isPermissionRej','href','unitId\x20is\x20not\x20found','incrementRevOfUnit','/block/','resend','OTHER_CLIENTS_EDITING','_handler','cfg','removeMember','_clearUndo','_members','onCommentUpdate','_updateLocalCache','ENTITLE_CHAT_LIMIT_EXCEED','univer-pro.collaboration-client.network-condition.service','_prevBlock','selections','random','_initUnitPermissionChange','formatter','JOIN_ROOM_FAILED','prototype','onTransformState','updatePermissionObjEvent','updateOfflineData','?size=','compute','?url=','encrypt','getFocusedUnit','getSheetId','OFFLINE','getTypeOfUnitDisposed$','entityInit$','__creator','not_collab','HttpExport','_clearScheduledTask','_hash','pending','_clearLocalCache','_parse','SNAPSHOT_INVALID_SNAPSHOT','registerHTTPInterceptor','INVALID_ARGUMENT','YUUMI_SUBSCRIPTION_NOT_FOUND','_disableEditing','getLatestCsReqIdBySid','UnitEmbedded','_resendWithTimeout','transformStack\x20failed!','apply','SOCKET_FAILED_RETRY','_showConflictNotification','min','UNKNOWN_CODE','hasOwnProperty','call','getMemberID','/universer-api/authz','dispose','[CollaborationUndoRedoService]','_timeoutTimer','JOIN_ROOM_PERMISSION_DENIED','subscribe','REDEMPTION_USER_REDEEM_TIMES_EXCEED','open$','_iv','[FetchMissState]','/collaborator','fetchThroughInterceptors','_createHandler'];_0x433b=function(){return _0x4863fb;};return _0x433b();}const bs=_0xff6382(0x151);function Ds(_0x39d54d){var _0x2ead22=_0xff6382;return JSON[_0x2ead22(0x3de)](_0x39d54d)[_0x2ead22(0xfe)];}var re=(_0x2dd015=>(_0x2dd015[_0xff6382(0x2bf)]=_0xff6382(0x2bf),_0x2dd015['PERMISSION_DENIED']='PERMISSION_DENIED',_0x2dd015[_0xff6382(0x1dc)]='CONFLICT',_0x2dd015[_0xff6382(0xfb)]='CLOSE_ROOM',_0x2dd015[_0xff6382(0x310)]='JOIN_ROOM_FAILED',_0x2dd015[_0xff6382(0x330)]='SOCKET_FAILED_RETRY',_0x2dd015[_0xff6382(0x24a)]=_0xff6382(0x24a),_0x2dd015[_0xff6382(0x266)]='SUBMIT_CHANGESET_TIMEOUT',_0x2dd015))(re||{});class ve{constructor(){var _0x7cf03b=_0xff6382;D(this,_0x7cf03b(0x20a),new _0x14e298()),D(this,'event$',this[_0x7cf03b(0x20a)][_0x7cf03b(0x3ac)]());}[_0xff6382(0x26e)](_0x24a3d0){var _0x3cc7f1=_0xff6382;this['_event$'][_0x3cc7f1(0x118)](_0x24a3d0);}}class pi{constructor(){var _0x22c5c6=_0xff6382;D(this,_0x22c5c6(0x396),new _0x14e298()),D(this,_0x22c5c6(0x156),this[_0x22c5c6(0x396)][_0x22c5c6(0x3ac)]());}[_0xff6382(0x307)](_0x302f02){var _0x1b98cd=_0xff6382;this[_0x1b98cd(0x396)][_0x1b98cd(0x118)](_0x302f02);}}var ys=Object[_0xff6382(0x169)],Us=(_0x6236fd,_0x141599,_0x26f633,_0x5ad1f7)=>{var _0x4fe8b4=_0xff6382;for(var _0x57c84b=_0x5ad1f7>0x1?void 0x0:_0x5ad1f7?ys(_0x141599,_0x26f633):_0x141599,_0x3a74da=_0x6236fd[_0x4fe8b4(0xfe)]-0x1,_0x3a8095;_0x3a74da>=0x0;_0x3a74da--)(_0x3a8095=_0x6236fd[_0x3a74da])&&(_0x57c84b=_0x3a8095(_0x57c84b)||_0x57c84b);return _0x57c84b;},Ft=(_0x44433b,_0x3c8edf)=>(_0x16f167,_0x394a38)=>_0x3c8edf(_0x16f167,_0x394a38,_0x44433b);let Pe=class extends _0x4c3f97{constructor(_0x1c3556,_0x1e3a4d){var _0x1e8337=_0xff6382;super(),D(this,'_roomMembers',new Map()),D(this,'_roomCreated$',new _0x14e298()),(this['_univerInstanceService']=_0x1c3556,this['_userManagerService']=_0x1e3a4d,this[_0x1e8337(0x360)](_0x301fbe(this[_0x1e8337(0x2da)][_0x1e8337(0x31c)](_0x20192f['UNIVER_SHEET'])[_0x1e8337(0x1fa)](_0x240bec(_0x499dbb=>_0x499dbb[_0x1e8337(0x143)]())),this[_0x1e8337(0x2da)][_0x1e8337(0x31c)](_0x20192f[_0x1e8337(0x1c6)])[_0x1e8337(0x1fa)](_0x240bec(_0x3a22bb=>_0x3a22bb[_0x1e8337(0x143)]())),this['_univerInstanceService'][_0x1e8337(0x31c)](_0x20192f[_0x1e8337(0x24f)])['pipe'](_0x240bec(_0x112557=>_0x112557['getUnitId']())))['subscribe'](_0x36cf8e=>this[_0x1e8337(0x22c)](_0x36cf8e))));}[_0xff6382(0x1d0)](_0x6c52a6){var _0x8b1ef5=_0xff6382;return this[_0x8b1ef5(0x1f4)][_0x8b1ef5(0x3ec)](_0x6c52a6)?_0x6da436(this['_roomMembers'][_0x8b1ef5(0x22d)](_0x6c52a6)):this[_0x8b1ef5(0x20d)]['pipe'](_0x240bec(_0x2670d5=>{var _0x5adbe1=_0x8b1ef5;if(_0x2670d5===_0x6c52a6)return this[_0x5adbe1(0x1f4)][_0x5adbe1(0x22d)](_0x2670d5);}));}[_0xff6382(0x2e9)](_0x5cef4f){var _0x522a5a=_0xff6382;this[_0x522a5a(0x1c9)][_0x522a5a(0x2e9)](_0x5cef4f);}[_0xff6382(0x383)](){var _0x360b05=_0xff6382;return this[_0x360b05(0x1c9)][_0x360b05(0x383)]();}['updateMember'](_0x5355de,_0x28a24c){var _0x39b6b4=_0xff6382;let _0x3acfee=this[_0x39b6b4(0x1f4)][_0x39b6b4(0x22d)](_0x5355de);_0x3acfee||(_0x3acfee=new As(),this[_0x39b6b4(0x1f4)][_0x39b6b4(0x36a)](_0x5355de,_0x3acfee),this[_0x39b6b4(0x20d)][_0x39b6b4(0x118)](_0x5355de)),_0x3acfee[_0x39b6b4(0x27f)](_0x28a24c);}[_0xff6382(0x304)](_0x33fd76,_0xfd6d9d){var _0x5f072c=_0xff6382;const _0x5f46ee=this[_0x5f072c(0x1f4)]['get'](_0x33fd76);_0x5f46ee&&_0x5f46ee[_0x5f072c(0x304)](_0xfd6d9d);}[_0xff6382(0x1fd)](_0x36e0aa){var _0xed8eeb=_0xff6382;return this[_0xed8eeb(0x1f4)][_0xed8eeb(0x22d)](_0x36e0aa);}[_0xff6382(0x2b9)](_0x240c1c,_0x420f00){var _0x491bf5=_0xff6382;const _0x1c7160=this[_0x491bf5(0x1f4)][_0x491bf5(0x22d)](_0x240c1c);if(_0x1c7160)return _0x1c7160[_0x491bf5(0x2b9)](_0x420f00);}[_0xff6382(0x22c)](_0x15f0cb){var _0x2e7e16=_0xff6382;const _0x3bdf01=this[_0x2e7e16(0x1f4)][_0x2e7e16(0x22d)](_0x15f0cb);_0x3bdf01&&(_0x3bdf01[_0x2e7e16(0x338)](),this[_0x2e7e16(0x1f4)][_0x2e7e16(0x1de)](_0x15f0cb));}['dispose'](){var _0x817208=_0xff6382;this[_0x817208(0x1f4)]['forEach'](_0x466ded=>_0x466ded[_0x817208(0x338)]()),this[_0x817208(0x1f4)]['clear'](),this[_0x817208(0x20d)][_0x817208(0x1a1)]();}};Pe=Us([Ft(0x0,_0x3c78cc),Ft(0x1,_0x26f1c4(_0x5172db))],Pe);class As extends _0x4c3f97{constructor(){var _0x14c63f=_0xff6382;super(...arguments),D(this,_0x14c63f(0x306),new Map()),D(this,'_members$',new _0x409cb3(this[_0x14c63f(0x306)])),D(this,'members$',this[_0x14c63f(0xfd)][_0x14c63f(0x3ac)]());}[_0xff6382(0x338)](){var _0x1fb00d=_0xff6382;this[_0x1fb00d(0x306)][_0x1fb00d(0xf7)]();}[_0xff6382(0x27f)](_0x39ecf8){var _0x536804=_0xff6382;this[_0x536804(0x306)][_0x536804(0x36a)](_0x39ecf8[_0x536804(0x2a0)],_0x39ecf8),this['_emitMembers']();}['removeMember'](_0x425bae){var _0x594420=_0xff6382;this['_members'][_0x594420(0x1de)](_0x425bae);}[_0xff6382(0x2b9)](_0x467766){var _0x11bc85=_0xff6382;return this[_0x11bc85(0x306)]['get'](_0x467766);}[_0xff6382(0x357)](){var _0x507da5=_0xff6382;return Array['from'](this[_0x507da5(0x306)]['values']());}[_0xff6382(0x141)](){var _0x5e0c35=_0xff6382;this[_0x5e0c35(0xfd)][_0x5e0c35(0x118)](this[_0x5e0c35(0x306)]);}}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0x2f08e9,_0x47b198,_0x9aedbf,_0x171376)=>{var _0x390002=_0xff6382;for(var _0x1d664e=_0x171376>0x1?void 0x0:_0x171376?Ps(_0x47b198,_0x9aedbf):_0x47b198,_0x596b79=_0x2f08e9[_0x390002(0xfe)]-0x1,_0x20e285;_0x596b79>=0x0;_0x596b79--)(_0x20e285=_0x2f08e9[_0x596b79])&&(_0x1d664e=_0x20e285(_0x1d664e)||_0x1d664e);return _0x1d664e;},Oe=(_0x4bdd30,_0x2c7e52)=>(_0x581679,_0x47cad4)=>_0x2c7e52(_0x581679,_0x47cad4,_0x4bdd30),me=(_0x5e9960=>(_0x5e9960[_0x5e9960[_0xff6382(0x12f)]=0x0]=_0xff6382(0x12f),_0x5e9960[_0x5e9960[_0xff6382(0x3ff)]=0x1]='JOINING',_0x5e9960[_0x5e9960[_0xff6382(0x31b)]=0x2]=_0xff6382(0x31b),_0x5e9960[_0x5e9960['ONLINE']=0x3]='ONLINE',_0x5e9960))(me||{});const jt={[Ee[_0xff6382(0x24b)]]:'session.join-failed',[Ee[_0xff6382(0x377)]]:_0xff6382(0x401),[Ee[_0xff6382(0x148)]]:_0xff6382(0x13f),[Ee[_0xff6382(0x33b)]]:_0xff6382(0x281),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let mt=class extends _0x1734f1{constructor(_0x248450,_0x393539,_0x6678a5,_0x529b2f,_0x366d3d,_0x2b2f9c,_0x246d5a,_0x4fae62){var _0x170480=_0xff6382;super(),D(this,'_sessionStatus$',new _0x409cb3(0x0)),D(this,_0x170480(0x3b4),this[_0x170480(0x2b1)][_0x170480(0x3ac)]()),D(this,'_event$',new _0x14e298()),D(this,_0x170480(0x2be),this[_0x170480(0x20a)]['asObservable']()),D(this,_0x170480(0x38a)),D(this,_0x170480(0x3b7)),D(this,_0x170480(0x2b2)),D(this,_0x170480(0x1eb),!0x1),D(this,_0x170480(0x175),null),(this[_0x170480(0x15d)]=_0x248450,this[_0x170480(0x16e)]=_0x6678a5,this[_0x170480(0x1e2)]=_0x529b2f,this[_0x170480(0x2c2)]=_0x366d3d,this[_0x170480(0x3f1)]=_0x2b2f9c,this[_0x170480(0x3b9)]=_0x246d5a,this[_0x170480(0xf2)]=_0x4fae62,this['_shouldReportTelemetry']=!!this[_0x170480(0xf2)],_0x393539[_0x170480(0x1fa)](_0x4f5e1f(this[_0x170480(0x39c)]))[_0x170480(0x33c)](_0x7fa085=>{var _0x498832=_0x170480,_0x2b51e6;typeof _0x7fa085>'u'||(this[_0x498832(0x38a)]=_0x7fa085,_0x7fa085?(this['_joinRoom'](_0x7fa085),this[_0x498832(0x3b7)]=_0x7fa085[_0x498832(0x1ff)][_0x498832(0x33c)](_0x13220f=>{var _0x17b23f=_0x498832;_0x13220f[_0x17b23f(0x1cf)]===this[_0x17b23f(0x15d)]&&this[_0x17b23f(0x3fa)](_0x13220f);})):(this[_0x498832(0xed)](),this['_sessionStatus$'][_0x498832(0x118)](0x2),(_0x2b51e6=this[_0x498832(0x3b7)])==null||_0x2b51e6[_0x498832(0x299)](),this['_socketMessageSubscription']=null));}));}get[_0xff6382(0x1f7)](){var _0x3c4c55=_0xff6382;return this[_0x3c4c55(0x2b1)]['getValue']();}['getMemberID'](){var _0x399a63=_0xff6382,_0x411f8d,_0x152316;return(_0x152316=(_0x411f8d=this[_0x399a63(0x38a)])==null?void 0x0:_0x411f8d['memberID'])!=null?_0x152316:null;}[_0xff6382(0x338)](){var _0x37f089=_0xff6382;super[_0x37f089(0x338)](),this[_0x37f089(0x39c)][_0x37f089(0x118)](),this[_0x37f089(0x39c)][_0x37f089(0x1a1)]();}['close'](){var _0x46e3ae=_0xff6382,_0x27902b,_0x3bd866;this[_0x46e3ae(0xed)](),(_0x27902b=this[_0x46e3ae(0x38a)])==null||_0x27902b['send']({'cmd':j[_0x46e3ae(0x1e7)],'data':{'roomID':this['_unitID']}}),(_0x3bd866=this[_0x46e3ae(0x38a)])==null||_0x3bd866[_0x46e3ae(0x3d5)](),this[_0x46e3ae(0x20a)][_0x46e3ae(0x1a1)](),this[_0x46e3ae(0x2b1)]['complete'](),this[_0x46e3ae(0x338)]();}[_0xff6382(0x3fa)](_0x35f464){var _0x49ac33=_0xff6382;_0x35f464[_0x49ac33(0x3bb)]===j['JOIN']?this['_onJoinRoomEvent'](_0x35f464):_0x35f464[_0x49ac33(0x3bb)]===j[_0x49ac33(0x3f0)]&&this[_0x49ac33(0x381)](_0x35f464);}[_0xff6382(0x2a4)](_0x178d3f){var _0x5c1f0a=_0xff6382;this[_0x5c1f0a(0x2b1)][_0x5c1f0a(0x118)](0x1),_0x178d3f[_0x5c1f0a(0x1b2)]({'cmd':j['JOIN'],'routeKey':this[_0x5c1f0a(0x15d)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0xff6382(0x13a)](_0x15e96c){var _0x3844d4=_0xff6382,_0x53bb3e;if(_0x15e96c['code']in jt){this[_0x3844d4(0x3b9)][_0x3844d4(0x26e)]({'id':re[_0x3844d4(0x310)],'data':jt[_0x15e96c[_0x3844d4(0x199)]]}),this[_0x3844d4(0x2b1)]['next'](0x2);return;}this[_0x3844d4(0x2b1)][_0x3844d4(0x118)](0x3);const _0x1f0fbb=(_0x53bb3e=_0x15e96c[_0x3844d4(0x39d)][_0x3844d4(0x145)][this[_0x3844d4(0x15d)]])==null?void 0x0:_0x53bb3e['members'];_0x1f0fbb&&_0x1f0fbb[_0x3844d4(0x3bd)](_0x19820b=>this['_memberService']['updateMember'](this[_0x3844d4(0x15d)],_0x19820b));}[_0xff6382(0x381)](_0x1ec26f){var _0x6ac5ba=_0xff6382;try{const _0x24d9a2=_0x1ec26f['data'];switch(_0x24d9a2[_0x6ac5ba(0x247)]){case _0x5561ca[_0x6ac5ba(0x3df)]:this[_0x6ac5ba(0x36c)](_0x24d9a2),this['_event$'][_0x6ac5ba(0x118)](_0x24d9a2);break;case _0x5561ca[_0x6ac5ba(0x15b)]:this['_onUserLeave'](_0x24d9a2),this[_0x6ac5ba(0x20a)][_0x6ac5ba(0x118)](_0x24d9a2);break;case _0x5561ca[_0x6ac5ba(0x1d2)]:case _0x5561ca['CHANGESET_SHOULD_RETRY']:this[_0x6ac5ba(0x2e6)](),this[_0x6ac5ba(0x15c)](),this[_0x6ac5ba(0x20a)]['next'](_0x24d9a2);break;case _0x5561ca[_0x6ac5ba(0x14e)]:this[_0x6ac5ba(0x16e)]['error'](_0x6ac5ba(0x162)+JSON['stringify'](_0x24d9a2)),this[_0x6ac5ba(0x20a)][_0x6ac5ba(0x118)](_0x24d9a2);break;case _0x5561ca[_0x6ac5ba(0x17e)]:this['_commentService']['onCommentUpdate'](_0x24d9a2[_0x6ac5ba(0x39d)]),this[_0x6ac5ba(0x20a)]['next'](_0x24d9a2);break;default:this['_event$']['next'](_0x24d9a2);}}catch(_0x583147){this[_0x6ac5ba(0x16e)][_0x6ac5ba(0x220)](_0x583147,_0x1ec26f);}}[_0xff6382(0x36c)](_0x538697){var _0x112e64=_0xff6382;this['_memberService']['updateMember'](this['_unitID'],_0x538697[_0x112e64(0x39d)]);}[_0xff6382(0x13b)](_0x3f02d0){var _0x3c3d20=_0xff6382;this['_memberService'][_0x3c3d20(0x304)](this[_0x3c3d20(0x15d)],_0x3f02d0['data'][_0x3c3d20(0x2a0)]);}async[_0xff6382(0x1b2)](_0x3a05c4,_0x3e862f){var _0x242346=_0xff6382;if(this[_0x242346(0x1f7)]!==0x3||!this[_0x242346(0x38a)])throw new Error(_0x242346(0x19f));try{_0x3a05c4[_0x242346(0x247)]===_0x5561ca['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x3a05c4)),this[_0x242346(0x38a)][_0x242346(0x1b2)]({'cmd':j[_0x242346(0x2f7)],'routeKey':_0x3e862f,'routeType':'','data':_0x3a05c4});}catch(_0x53d411){this[_0x242346(0x16e)][_0x242346(0x220)](_0x53d411);}}[_0xff6382(0x36d)](){var _0x3da711=_0xff6382,_0x62437f;this[_0x3da711(0x2b2)]=setTimeout(()=>{var _0x1a214b=_0x3da711;this[_0x1a214b(0x2b2)]=null,this[_0x1a214b(0x3b9)]['emitEvent']({'id':re[_0x1a214b(0x266)]});},(_0x62437f=this[_0x3da711(0x1e2)][_0x3da711(0x2d1)](di))!=null?_0x62437f:fi);}[_0xff6382(0x15c)](){var _0x42634a=_0xff6382;this[_0x42634a(0x2b2)]&&(clearTimeout(this[_0x42634a(0x2b2)]),this[_0x42634a(0x2b2)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x32bfe4){var _0x120d55=_0xff6382;if(!this[_0x120d55(0x1eb)])return;const {data:_0x58487b}=_0x32bfe4,{unitID:_0x407867,changeset:_0x34070b}=_0x58487b,{mutations:_0x497902,type:_0x1ed642}=_0x34070b;this[_0x120d55(0x175)]={'unitId':_0x407867,'type':_0x1ed642,'startTime':performance[_0x120d55(0x286)](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x497902)};}[_0xff6382(0x2e6)](){var _0x2e3cef=_0xff6382;if(this['_shouldReportTelemetry']){if(!this[_0x2e3cef(0x175)]){this[_0x2e3cef(0x16e)][_0x2e3cef(0x220)](_0x2e3cef(0x11e),_0x2e3cef(0x126));return;}this[_0x2e3cef(0x175)][_0x2e3cef(0x279)]=performance['now'](),this[_0x2e3cef(0x175)]['duration']=this[_0x2e3cef(0x175)][_0x2e3cef(0x279)]-this[_0x2e3cef(0x175)][_0x2e3cef(0x297)],this[_0x2e3cef(0xf2)][_0x2e3cef(0x3f3)](bs,this[_0x2e3cef(0x175)]),this[_0x2e3cef(0x175)]=null;}}[_0xff6382(0xed)](){var _0xc65e70=_0xff6382;this[_0xc65e70(0x175)]=null;}};mt=ws([Oe(0x2,_0x4b39d4),Oe(0x3,_0x5839d5),Oe(0x4,_0x26f1c4(Pe)),Oe(0x5,_0x26f1c4(pi)),Oe(0x6,_0x26f1c4(ve)),Oe(0x7,_0x197a74(_0x2021c7))],mt);const X=_0x5a6278(_0xff6382(0x35e));function Dr(_0x5a667d){return'unit-cache-'+_0x5a667d;}var Ls=Object[_0xff6382(0x169)],Ms=(_0x359e23,_0x5a4ae1,_0xd3804c,_0x40b3d7)=>{var _0x567499=_0xff6382;for(var _0x3a5bee=_0x40b3d7>0x1?void 0x0:_0x40b3d7?Ls(_0x5a4ae1,_0xd3804c):_0x5a4ae1,_0x865292=_0x359e23[_0x567499(0xfe)]-0x1,_0x3e0fed;_0x865292>=0x0;_0x865292--)(_0x3e0fed=_0x359e23[_0x865292])&&(_0x3a5bee=_0x3e0fed(_0x3a5bee)||_0x3a5bee);return _0x3a5bee;},ut=(_0x5deb9e,_0x2a9c85)=>(_0x4377ed,_0x2b0980)=>_0x2a9c85(_0x4377ed,_0x2b0980,_0x5deb9e);function xs(_0x18cac1){var _0x5b7ca1=_0xff6382;const {unitID:_0x113cbf,mutations:_0x31e672}=_0x18cac1;return{'unitId':_0x113cbf,'subUnitId':_0x31e672[_0x5b7ca1(0xfe)]>0x0?_0x31e672[0x0][_0x5b7ca1(0x2d8)][_0x5b7ca1(0x213)]:null};}let it=class{constructor(_0x5e8680,_0x37b5c1,_0x5432d3){var _0x25514c=_0xff6382;this['_injector']=_0x5e8680,this[_0x25514c(0x1db)]=_0x37b5c1,this[_0x25514c(0x224)]=_0x5432d3;}[_0xff6382(0x132)](_0x4eb74f){var _0x4702f2=_0xff6382,_0x11fc8e,_0x514a6f,_0x5eecb3,_0x482ecb;const _0x225936=this[_0x4702f2(0x2c0)][_0x4702f2(0x22d)](_0x41ad8b),{unitId:_0x3ce5a0,subUnitId:_0x2b770c}=xs(_0x4eb74f),_0x599efa=_0x225936==null?void 0x0:_0x225936[_0x4702f2(0x117)](_0x3ce5a0)[_0x4702f2(0x2e8)](),_0x3b9566=(_0x514a6f=(_0x11fc8e=this[_0x4702f2(0x224)]['getUnit'](_0x3ce5a0))==null?void 0x0:_0x11fc8e[_0x4702f2(0x1e9)]())==null?void 0x0:_0x514a6f[_0x4702f2(0x31a)]();if(_0x599efa[_0x4702f2(0xfe)]===0x0||!_0x3ce5a0||!_0x2b770c)return;const _0x23fcf6=[{'id':_0x10c6da['id'],'params':{'unitId':_0x3ce5a0,'subUnitId':_0x3b9566,'selections':_0x14105e[_0x4702f2(0x391)](_0x599efa)}}],_0x470db0=this['_transformService'][_0x4702f2(0x123)](_0x4eb74f,_0x23fcf6);if(!_0x2662f6(_0x470db0))throw _0x470db0['error'];const _0x54710c=(_0x482ecb=(_0x5eecb3=_0x470db0['m2Prime'][0x0])==null?void 0x0:_0x5eecb3[_0x4702f2(0x2d8)])==null?void 0x0:_0x482ecb['selections'];if(Array['isArray'](_0x54710c)&&_0x54710c['length']){if(_0x54710c['length']===_0x23fcf6[0x0][_0x4702f2(0x2d8)][_0x4702f2(0x30c)][_0x4702f2(0xfe)]&&_0x54710c[_0x4702f2(0x22a)]((_0x46a255,_0x478042)=>_0x18509b['equals'](_0x46a255[_0x4702f2(0x207)],_0x23fcf6[0x0]['params'][_0x4702f2(0x30c)][_0x478042][_0x4702f2(0x207)])))return;this['_injector']['get'](_0x53c0da)[_0x4702f2(0x135)](_0x10c6da['id'],{'unitId':_0x3ce5a0,'subUnitId':_0x3b9566,'selections':_0x54710c});}}};it=Ms([ut(0x0,_0x26f1c4(_0x479e14)),ut(0x1,_0x3a8ddb),ut(0x2,_0x3c78cc)],it);const _t=_0x5a6278(_0xff6382(0x13c));var mi=(_0x107837=>(_0x107837[_0x107837[_0xff6382(0x276)]=0x0]=_0xff6382(0x276),_0x107837[_0x107837['OTHER_CLIENTS_EDITING']=0x1]=_0xff6382(0x301),_0x107837))(mi||{});const K=_0xff6382(0x2d4),ks={};function $s(_0x7c1f41){var _0x35b133=_0xff6382,_0x26ac82;return!!((_0x26ac82=_0x7c1f41[_0x35b133(0x2d8)])!=null&&_0x26ac82[_0x35b133(0xee)]);}const Hs=new Set([_0x53773d['id']]);function Vt(_0x19934f,_0x64770f,_0x436343,_0x3c75a0,_0x3e4662){var _0x3d70e0=_0xff6382,_0x25154f,_0x38d27f,_0x442dbe,_0x4c55d6;const _0x5073fe=[];for(const _0x2517fb of _0x19934f){if(Hs[_0x3d70e0(0x3ec)](_0x2517fb['id'])){if(_0x5073fe[_0x3d70e0(0xfe)]>0x0)break;_0x5073fe[_0x3d70e0(0x1ed)](_0x2517fb);break;}if($s(_0x2517fb)){if(_0x5073fe[_0x3d70e0(0xfe)]>0x0)break;_0x5073fe[_0x3d70e0(0x1ed)](_0x2517fb);break;}_0x5073fe[_0x3d70e0(0x1ed)](_0x2517fb);}const _0x3c5fc5=(_0x38d27f=(_0x25154f=_0x3e4662['getCurrentUser']())==null?void 0x0:_0x25154f[_0x3d70e0(0x178)])!=null?_0x38d27f:_0x3d70e0(0x386),_0x34e117=(_0x4c55d6=(_0x442dbe=_0x3e4662[_0x3d70e0(0x383)]())==null?void 0x0:_0x442dbe['memberID'])!=null?_0x4c55d6:_0x3d70e0(0x386);return{'changeset':{'unitID':_0x64770f,'type':_0xb7c9ee(_0x436343['getUnitType'](_0x64770f)),'baseRev':_0x3c75a0[_0x3d70e0(0x3af)](_0x64770f),'revision':0x0,'userID':_0x3c5fc5,'memberID':_0x34e117,'mutations':_0x5073fe},'pendingMutations':_0x19934f[_0x3d70e0(0x23a)](_0x5073fe[_0x3d70e0(0xfe)])};}function Bs(_0x432c50,_0x39c847,_0x37db8a,_0x25e40e,_0xf914ee){var _0x523fa2=_0xff6382,_0x28d0cc,_0x439eeb,_0x253e3d,_0x4e7100;const _0xbeca91=[_0x432c50[_0x523fa2(0x122)]((_0x3db0ea,_0x1fc0ce)=>{var _0x43fb74=_0x523fa2,_0xec98ef;const {id:_0x1fd126}=_0x3db0ea,{id:_0x4f2ba9,type:_0x2d65b3}=_0x1fc0ce,_0x9c47d3=(_0xec98ef=_0x3db0ea[_0x43fb74(0x2d8)])!=null?_0xec98ef:{'actions':null},_0x1ccc82=_0x1fc0ce[_0x43fb74(0x2d8)];if(_0x1fd126&&_0x1fd126!==_0x4f2ba9)throw new Error(_0x43fb74(0x254)+_0x1fd126+'\x20-\x20'+_0x4f2ba9+'.');return{..._0x3db0ea,'id':_0x4f2ba9,'type':_0x2d65b3,'params':{'unitId':_0x1ccc82[_0x43fb74(0x2ad)],'textRanges':_0x1ccc82[_0x43fb74(0x234)],'actions':_0x449fd9[_0x43fb74(0x380)](_0x9c47d3[_0x43fb74(0x12c)],_0x1ccc82[_0x43fb74(0x12c)])}};},{})],_0xa261f2=(_0x439eeb=(_0x28d0cc=_0xf914ee[_0x523fa2(0x383)]())==null?void 0x0:_0x28d0cc['userID'])!=null?_0x439eeb:'unknown',_0x30fd2b=(_0x4e7100=(_0x253e3d=_0xf914ee[_0x523fa2(0x383)]())==null?void 0x0:_0x253e3d[_0x523fa2(0x2a0)])!=null?_0x4e7100:_0x523fa2(0x386);return{'changeset':{'unitID':_0x39c847,'type':_0xb7c9ee(_0x37db8a[_0x523fa2(0x10b)](_0x39c847)),'baseRev':_0x25e40e['getCurrentRevOfUnit'](_0x39c847),'revision':0x0,'userID':_0xa261f2,'memberID':_0x30fd2b,'mutations':_0xbeca91},'pendingMutations':[]};}function Ii(_0x5b4834,_0x40ec1a){var _0x5b71ce=_0xff6382;const _0x9a5f6b=new _0x2cd411(0x1);return setTimeout(()=>_0x9a5f6b['next'](_0x40ec1a),_0x5b4834),_0x9a5f6b[_0x5b71ce(0x3ac)]()[_0x5b71ce(0x1fa)](_0x5c7bfd(0x1));}var Fs=Object[_0xff6382(0x169)],Se=(_0x4b4522,_0x2d2322,_0x470e4c,_0x51e229)=>{var _0x104f8f=_0xff6382;for(var _0x539dbe=_0x51e229>0x1?void 0x0:_0x51e229?Fs(_0x2d2322,_0x470e4c):_0x2d2322,_0x2da26b=_0x4b4522[_0x104f8f(0xfe)]-0x1,_0x1fd88b;_0x2da26b>=0x0;_0x2da26b--)(_0x1fd88b=_0x4b4522[_0x2da26b])&&(_0x539dbe=_0x1fd88b(_0x539dbe)||_0x539dbe);return _0x539dbe;},w=(_0x399404,_0x547e86)=>(_0x16e057,_0x1f2278)=>_0x547e86(_0x16e057,_0x1f2278,_0x399404),Si=(_0x111bf5=>(_0x111bf5[_0xff6382(0x3fb)]=_0xff6382(0x31f),_0x111bf5[_0xff6382(0x12b)]='synced',_0x111bf5['PENDING']=_0xff6382(0x323),_0x111bf5[_0xff6382(0x19c)]='awaiting',_0x111bf5[_0xff6382(0x125)]=_0xff6382(0x216),_0x111bf5[_0xff6382(0x230)]=_0xff6382(0x272),_0x111bf5[_0xff6382(0x1dc)]=_0xff6382(0xea),_0x111bf5['OFFLINE']=_0xff6382(0x352),_0x111bf5))(Si||{});const gi=0x4e20,Ti=0x2bf20;function _0x3f92(_0x43d579,_0x3b8db5){_0x43d579=_0x43d579-0xe4;var _0x433bea=_0x433b();var _0x3f920f=_0x433bea[_0x43d579];return _0x3f920f;}class ge{constructor(_0x5e03e2,_0x4fe64c,_0x4c50b4,_0x39d2a2,_0x3bfeb4,_0x12e76b,_0x105def,_0x116ed7,_0xf5d824){var _0x25c080=_0xff6382;D(this,_0x25c080(0x1f9),null),D(this,_0x25c080(0x1ee),[]),(this['unitID']=_0x5e03e2,this['type']=_0x4fe64c,this[_0x25c080(0x302)]=_0x3bfeb4,this[_0x25c080(0x129)]=_0x12e76b,this['_undoRedoService']=_0x105def,this['_revisionService']=_0x116ed7,this[_0x25c080(0xe9)]=_0xf5d824,this[_0x25c080(0x1f9)]=_0x4c50b4,this[_0x25c080(0x1ee)]=_0x39d2a2);}[_0xff6382(0x244)](_0x476227){var _0x7a5070=_0xff6382;const _0x29fdfa=this[_0x7a5070(0x29b)][_0x7a5070(0x3af)](this[_0x7a5070(0x2cc)]);return _0x476227[_0x7a5070(0x3a5)]>_0x29fdfa+0x1?(this[_0x7a5070(0x302)]['onMissingChangesets']({'from':_0x29fdfa,'to':_0x476227['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x371f37){var _0x555eb8=_0xff6382;this[_0x555eb8(0x233)][_0x555eb8(0x2d0)](this[_0x555eb8(0x2cc)],_0x371f37);}[_0xff6382(0x18f)](_0x21fcc4){var _0x64487d=_0xff6382,_0x587cb3,_0x4a11e3;(_0x4a11e3=(_0x587cb3=this[_0x64487d(0x302)])['onTransformSelections'])==null||_0x4a11e3[_0x64487d(0x335)](_0x587cb3,_0x21fcc4);}['_transformIMECache'](_0x4a65e7){var _0x2718b6=_0xff6382,_0x5c3742,_0x57862b;return(_0x57862b=(_0x5c3742=this['_handler'])[_0x2718b6(0x201)])==null?void 0x0:_0x57862b[_0x2718b6(0x335)](_0x5c3742,_0x4a65e7);}[_0xff6382(0x349)](_0x54c222){var _0x50e197=_0xff6382,_0x512476,_0xce58a5;return(_0xce58a5=(_0x512476=this['_handler'])[_0x50e197(0x312)])==null?void 0x0:_0xce58a5['call'](_0x512476,_0x54c222);}[_0xff6382(0x16c)](_0x309ea1){var _0x5dae08=_0xff6382,_0x49ea70,_0x5ec80e,_0x4b1359;return(_0x4b1359=(_0x5ec80e=(_0x49ea70=this[_0x5dae08(0x302)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5ec80e[_0x5dae08(0x335)](_0x49ea70,_0x309ea1))!=null?_0x4b1359:_0x309ea1;}['_transformRemoteChangesetByStateCache'](_0x40e3aa){var _0x34b226=_0xff6382,_0x12e77d,_0x2c4bc4,_0x49708e;return(_0x49708e=(_0x2c4bc4=(_0x12e77d=this[_0x34b226(0x302)])[_0x34b226(0x195)])==null?void 0x0:_0x2c4bc4['call'](_0x12e77d,_0x40e3aa))!=null?_0x49708e:_0x40e3aa;}[_0xff6382(0x25a)](_0x4c0a03){var _0x276d0a=_0xff6382,_0x584dc0,_0x5c67de;if(this[_0x276d0a(0x2c6)]===Q[_0x276d0a(0x1c6)]){const {unitID:_0x4c17b7,mutations:_0x549dc1,memberID:_0x492208}=_0x4c0a03,_0x586b1e=_0x549dc1[_0x276d0a(0xfe)]>0x0?_0x549dc1[0x0][_0x276d0a(0x2d8)][_0x276d0a(0x234)]:[];Array[_0x276d0a(0x17a)](_0x586b1e)&&_0x586b1e[_0x276d0a(0xfe)]>0x0&&((_0x5c67de=(_0x584dc0=this[_0x276d0a(0x302)])[_0x276d0a(0x1a6)])==null||_0x5c67de[_0x276d0a(0x335)](_0x584dc0,{'unitID':_0x4c17b7,'memberID':_0x492208,'textRanges':_0x586b1e}));}}[_0xff6382(0x308)](){var _0x23d25c=_0xff6382,_0x1990b2;(_0x1990b2=this[_0x23d25c(0xe9)])==null||_0x1990b2[_0x23d25c(0x314)](this[_0x23d25c(0x2cc)],this['type'],this[_0x23d25c(0x1f9)],this[_0x23d25c(0x1ee)]);}[_0xff6382(0x2f3)](){var _0x292e0b=_0xff6382;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x292e0b(0x2cc)]);}[_0xff6382(0x1a0)](){var _0x304607=_0xff6382;this[_0x304607(0x29b)][_0x304607(0x2fe)](this['unitID']);}[_0xff6382(0x211)](_0x49e8e1){var _0x1f1a74=_0xff6382,_0x41e61b;let _0x53357f=this[_0x1f1a74(0x16c)](_0x49e8e1);_0x53357f=this[_0x1f1a74(0x1a8)](_0x53357f);const _0x4cf24d=_0x2ac4ab(_0x53357f[_0x1f1a74(0x3ae)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4cf24d['result'])throw _0x4cf24d[_0x1f1a74(0x220)]instanceof Error?_0x4cf24d['error']:new Error((_0x41e61b=_0x4cf24d[_0x1f1a74(0x220)])!=null?_0x41e61b:'[CollaborationState]:\x20apply\x20error!');this[_0x1f1a74(0x2b7)](_0x53357f),this[_0x1f1a74(0x349)](_0x53357f),this['_transformUndoredo'](_0x49e8e1),this[_0x1f1a74(0x18f)](_0x53357f),this['_syncEditingCollabCursor'](_0x53357f),this[_0x1f1a74(0x1a0)]();}}let be=class extends ge{constructor(_0x10d59d,_0x472dc9,_0x3709d7,_0x487e7f,_0x5ac16b,_0x10c6ac,_0x58553f,_0x5731b0,_0x213cab,_0x36ba1c){var _0x405be0=_0xff6382;super(_0x10d59d,_0x472dc9,null,[],_0x3709d7,_0x58553f,_0x10c6ac,_0x487e7f,_0x36ba1c),D(this,_0x405be0(0x22e),_0x405be0(0x1e5)),(this[_0x405be0(0x2c0)]=_0x5ac16b,this[_0x405be0(0x16e)]=_0x5731b0,this[_0x405be0(0x1db)]=_0x213cab,this[_0x405be0(0x139)]=_0x36ba1c);}[_0xff6382(0x1c4)](_0x270cd1){var _0xc6f143=_0xff6382;const _0x1845d1=this[_0xc6f143(0x2c0)][_0xc6f143(0x2a5)](ae,this[_0xc6f143(0x2cc)],this[_0xc6f143(0x2c6)],[_0x270cd1],this[_0xc6f143(0x302)]);return _0x1845d1[_0xc6f143(0x2a8)](),_0x1845d1[_0xc6f143(0x308)](),_0x1845d1;}['onRemoteChangeset'](_0x11f546){var _0x553348=_0xff6382;if(this[_0x553348(0x244)](_0x11f546))return this[_0x553348(0x2c0)]['createInstance'](ee,this[_0x553348(0x2cc)],this[_0x553348(0x2c6)],null,[],null,[_0x11f546],this[_0x553348(0x302)]);try{const _0x2968df=this[_0x553348(0x1db)]['transformMutationsWithChangeset'](_0x11f546,[_0x429250]);if(_0x2662f6(_0x2968df)){const {c1Prime:_0x301b4d}=_0x2968df;return this[_0x553348(0x211)](_0x301b4d),this;}throw _0x2968df[_0x553348(0x220)];}catch(_0x27692b){return this[_0x553348(0x16e)][_0x553348(0x220)](_0x27692b),this[_0x553348(0x400)](!0x1);}}[_0xff6382(0x400)](_0xbe00a1){var _0x50ec39=_0xff6382;return this[_0x50ec39(0x2c0)][_0x50ec39(0x2a5)](ue,this['unitID'],this['type'],null,[],this[_0x50ec39(0x302)],_0xbe00a1);}['onRemoteAck'](){var _0x24d1d0=_0xff6382;throw new Error(_0x24d1d0(0x243));}[_0xff6382(0x268)](){var _0x5b39a8=_0xff6382;throw new Error(_0x5b39a8(0x3e8));}['onRemoteRetry'](){return this;}[_0xff6382(0x18b)](){var _0x3fa2db=_0xff6382;return this[_0x3fa2db(0x2c0)]['createInstance'](de,this['unitID'],this['type'],null,[],this['_handler']);}[_0xff6382(0x355)](){return this;}[_0xff6382(0x300)](){var _0xf47d6a=_0xff6382;throw new Error(_0xf47d6a(0x390));}[_0xff6382(0x1b4)](){var _0x24bbba=_0xff6382;const _0x93e700=this[_0x24bbba(0x29b)][_0x24bbba(0x3af)](this[_0x24bbba(0x2cc)]);return this[_0x24bbba(0x302)][_0x24bbba(0x3a3)]({'from':_0x93e700,'to':0x0}),this[_0x24bbba(0x2c0)][_0x24bbba(0x2a5)](ee,this[_0x24bbba(0x2cc)],this[_0x24bbba(0x2c6)],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x26f1c4(_0x2ccc8a)),w(0x4,_0x26f1c4(_0x479e14)),w(0x5,_0x5c3c47),w(0x6,_0x53c0da),w(0x7,_0x4b39d4),w(0x8,_0x3a8ddb),w(0x9,_0x197a74(X))],be);let ae=class extends ge{constructor(_0x515282,_0x3c2869,_0x41c37f,_0x3a9636,_0x3133e7,_0x24824f,_0x4f4eb2,_0x3e23f4,_0x16ec74,_0x3c0a90,_0x5af1a1,_0x3683c2,_0x393e55,_0x56b4eb){var _0x5ee7a1=_0xff6382;super(_0x515282,_0x3c2869,null,_0x41c37f,_0x3a9636,_0x16ec74,_0x393e55,_0x24824f,_0x56b4eb),D(this,'status',_0x5ee7a1(0x323)),D(this,_0x5ee7a1(0x146),null),D(this,_0x5ee7a1(0x190),null),(this[_0x5ee7a1(0x2c0)]=_0x3133e7,this[_0x5ee7a1(0x2c2)]=_0x4f4eb2,this['_logService']=_0x3e23f4,this['_configService']=_0x3c0a90,this[_0x5ee7a1(0x1db)]=_0x5af1a1,this['_univerInstanceService']=_0x3683c2);}[_0xff6382(0x1c4)](_0x235da9){var _0x28a844=_0xff6382;return this[_0x28a844(0x1ee)]['push'](_0x235da9),this['_updateLocalCache'](),this;}[_0xff6382(0x212)](_0x119d87){var _0xccd555=_0xff6382;if(this[_0xccd555(0x244)](_0x119d87))return this[_0xccd555(0x321)](),this['_injector'][_0xccd555(0x2a5)](ee,this[_0xccd555(0x2cc)],this[_0xccd555(0x2c6)],null,this[_0xccd555(0x1ee)],null,[_0x119d87],this['_handler']);try{const _0x2e345a=this[_0xccd555(0x1db)][_0xccd555(0x123)](_0x119d87,this[_0xccd555(0x1ee)]);if(_0x2662f6(_0x2e345a)){const {c1Prime:_0x3c2307,m2Prime:_0x13a3fb}=_0x2e345a;this[_0xccd555(0x211)](_0x3c2307);const _0x224911=this[_0xccd555(0x2c0)][_0xccd555(0x2a5)](ae,this['unitID'],this[_0xccd555(0x2c6)],_0x13a3fb,this[_0xccd555(0x302)]);this[_0xccd555(0x321)]();const _0x6877ef=new Date()[_0xccd555(0x165)](),_0x197a53=this[_0xccd555(0x146)]?Math[_0xccd555(0x1ab)](this[_0xccd555(0x146)]-_0x6877ef,0x0):this['_getSendChangesetTimeout']();return _0x224911[_0xccd555(0x2a8)](_0x197a53),_0x224911;}throw _0x2e345a[_0xccd555(0x220)];}catch(_0x3052b7){return this[_0xccd555(0x16e)]['error'](_0x3052b7),this[_0xccd555(0x400)](!0x1);}}['onRemoteAck'](){var _0x115c49=_0xff6382;throw new Error(_0x115c49(0x3ea));}[_0xff6382(0x268)](){var _0x5b18c4=_0xff6382;throw new Error(_0x5b18c4(0x348));}[_0xff6382(0x28d)](){return this;}['toggleOffline'](){var _0x285878=_0xff6382;return this[_0x285878(0x321)](),this[_0x285878(0x2c0)][_0x285878(0x2a5)](de,this['unitID'],this[_0x285878(0x2c6)],null,this[_0x285878(0x1ee)],this['_handler']);}[_0xff6382(0x355)](){return this;}[_0xff6382(0x2a8)](_0x3bd20f){var _0x532010=_0xff6382;const _0x2fc8a6=_0x3bd20f!=null?_0x3bd20f:this['_getSendChangesetTimeout']();this[_0x532010(0x146)]=new Date()[_0x532010(0x165)]()+_0x2fc8a6,this[_0x532010(0x190)]=setTimeout(()=>{var _0x313397=_0x532010;this[_0x313397(0x321)]();let _0x4dbe15=null;switch(this[_0x313397(0x2c6)]){case Q['UNIVER_SHEET']:{_0x4dbe15=Vt(this[_0x313397(0x1ee)],this[_0x313397(0x2cc)],this[_0x313397(0x2da)],this[_0x313397(0x29b)],this['_memberService']);break;}case Q[_0x313397(0x1c6)]:{this[_0x313397(0x1ee)][_0x313397(0x22a)](_0x21fd3c=>_0x21fd3c['id']===_0x4b2a2a['id'])?_0x4dbe15=Bs(this[_0x313397(0x1ee)],this[_0x313397(0x2cc)],this['_univerInstanceService'],this[_0x313397(0x29b)],this[_0x313397(0x2c2)]):_0x4dbe15=Vt(this[_0x313397(0x1ee)],this[_0x313397(0x2cc)],this['_univerInstanceService'],this[_0x313397(0x29b)],this[_0x313397(0x2c2)]);break;}default:throw new Error(_0x313397(0x3f9)+this['type']+_0x313397(0x229));}const {changeset:_0x5c8f84,pendingMutations:_0x4d20f8}=_0x4dbe15;this[_0x313397(0x302)][_0x313397(0x225)](_0x5c8f84);const _0x273067=_0x4d20f8[_0x313397(0xfe)]?this['_injector'][_0x313397(0x2a5)](oe,this[_0x313397(0x2cc)],this[_0x313397(0x2c6)],_0x5c8f84,_0x4d20f8,this[_0x313397(0x302)],void 0x0):this[_0x313397(0x2c0)]['createInstance'](le,this[_0x313397(0x2cc)],this[_0x313397(0x2c6)],_0x5c8f84,this[_0x313397(0x302)]);_0x273067[_0x313397(0x308)](),this[_0x313397(0x302)]['onStateChange'](this,_0x273067);},_0x2fc8a6);}[_0xff6382(0x1e6)](){var _0x440ffb=_0xff6382,_0x27d5f6;const _0x4fa790=this[_0x440ffb(0x1e2)]['getConfig'](K);return(_0x27d5f6=_0x4fa790==null?void 0x0:_0x4fa790['sendChangesetTimeout'])!=null?_0x27d5f6:ms;}[_0xff6382(0x300)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0xff6382(0x400)](_0x1d7f7b){var _0x557f7e=_0xff6382;return this[_0x557f7e(0x321)](),this[_0x557f7e(0x2c0)][_0x557f7e(0x2a5)](ue,this[_0x557f7e(0x2cc)],this['type'],null,this[_0x557f7e(0x1ee)],this[_0x557f7e(0x302)],_0x1d7f7b);}};ae=Se([w(0x4,_0x26f1c4(_0x479e14)),w(0x5,_0x26f1c4(_0x2ccc8a)),w(0x6,_0x26f1c4(Pe)),w(0x7,_0x4b39d4),w(0x8,_0x53c0da),w(0x9,_0x5839d5),w(0xa,_0x3a8ddb),w(0xb,_0x3c78cc),w(0xc,_0x5c3c47),w(0xd,_0x197a74(X))],ae);let le=class extends ge{constructor(_0x52e7d9,_0x26dbca,_0xe287b7,_0x5b1892,_0x5eecd5,_0x94d854,_0x480853,_0x4c9f4e,_0x2a3d72,_0x25df31,_0x49c773){var _0x4bf7f2=_0xff6382;super(_0x52e7d9,_0x26dbca,_0xe287b7,[],_0x5b1892,_0x480853,_0x25df31,_0x94d854,_0x49c773),D(this,_0x4bf7f2(0x22e),_0x4bf7f2(0x2e0)),D(this,'_resendTimeout',0x0),D(this,_0x4bf7f2(0x270),0x0),D(this,_0x4bf7f2(0x19e)),D(this,'_sender'),(this[_0x4bf7f2(0x2c0)]=_0x5eecd5,this['_logService']=_0x4c9f4e,this['_transformService']=_0x2a3d72);}[_0xff6382(0x1c4)](_0x1f8126){var _0x3d5deb=_0xff6382;this[_0x3d5deb(0x321)]();const _0x179a36=this['_injector'][_0x3d5deb(0x2a5)](oe,this['unitID'],this['type'],this[_0x3d5deb(0x1f9)],[_0x1f8126],this['_handler'],this[_0x3d5deb(0x19e)]);return _0x179a36[_0x3d5deb(0x308)](),_0x179a36;}[_0xff6382(0x212)](_0x234876){var _0x32f2d1=_0xff6382;if(this['_checkMissing'](_0x234876))return this[_0x32f2d1(0x321)](),this['_injector'][_0x32f2d1(0x2a5)](ee,this[_0x32f2d1(0x2cc)],this[_0x32f2d1(0x2c6)],this[_0x32f2d1(0x1f9)],[],null,[_0x234876],this[_0x32f2d1(0x302)]);try{const _0x50a31f=this['_transformService'][_0x32f2d1(0xf0)]([_0x234876],[this[_0x32f2d1(0x1f9)]],!0x1);if(_0x195351(_0x50a31f)){const {c1Prime:_0x32561b,c2Prime:_0x59d754}=_0x50a31f;this['_executeRemoteChangeset'](_0x32561b[0x0]),_0x59d754[0x0][_0x32f2d1(0x3f2)]=this['_getCurrentRevision'](),this[_0x32f2d1(0x321)]();const _0x2fc2ee=this[_0x32f2d1(0x2c0)][_0x32f2d1(0x2a5)](le,this['unitID'],this[_0x32f2d1(0x2c6)],_0x59d754[0x0],this[_0x32f2d1(0x302)]);return _0x2fc2ee[_0x32f2d1(0x308)](),_0x2fc2ee;}return this[_0x32f2d1(0x400)](!0x1);}catch(_0x20c8cc){return this['_logService'][_0x32f2d1(0x220)](_0x20c8cc),this[_0x32f2d1(0x400)](!0x1);}}[_0xff6382(0x37f)](_0x2dd27d){var _0x5c3f0b=_0xff6382;this[_0x5c3f0b(0x321)]();const _0x2acad3=this['_revisionService'][_0x5c3f0b(0x3af)](this[_0x5c3f0b(0x2cc)]);if(_0x2dd27d[_0x5c3f0b(0x3a5)]<_0x2acad3-0x1)return this;if(this[_0x5c3f0b(0x244)](_0x2dd27d))return this['_injector'][_0x5c3f0b(0x2a5)](ee,this[_0x5c3f0b(0x2cc)],this[_0x5c3f0b(0x2c6)],null,[],this[_0x5c3f0b(0x1f9)],[],this[_0x5c3f0b(0x302)]);this[_0x5c3f0b(0x1a0)]();const _0x31b88d=this['_injector']['createInstance'](be,this[_0x5c3f0b(0x2cc)],this['type'],this['_handler']);return _0x31b88d[_0x5c3f0b(0x308)](),_0x31b88d;}[_0xff6382(0x268)](_0x352955){var _0x5dd2fb=_0xff6382;return this[_0x5dd2fb(0x400)](!!(_0x352955!=null&&_0x352955[_0x5dd2fb(0x2fb)]));}[_0xff6382(0x28d)](_0x16f680){var _0x20efe6=_0xff6382;return this['_maxTotalRetryTimeout']>Ti?this['toggleOffline']():(this[_0x20efe6(0x19e)]=Ii(this[_0x20efe6(0x2c7)],{'timeout':this['_resendTimeout'],'reqId':_0x16f680[_0x20efe6(0xe6)]}),this[_0x20efe6(0x1a9)]=this[_0x20efe6(0x19e)][_0x20efe6(0x33c)](({reqId:_0xf5faa9,timeout:_0x3c71e8})=>{var _0x477a52=_0x20efe6;this[_0x477a52(0x32d)](_0xf5faa9,_0x3c71e8);}),this);}['toggleOffline'](){var _0x4e98a3=_0xff6382;return this['_clearScheduledTask'](),this['_injector'][_0x4e98a3(0x2a5)](de,this[_0x4e98a3(0x2cc)],this[_0x4e98a3(0x2c6)],this[_0x4e98a3(0x1f9)],[],this[_0x4e98a3(0x302)]);}[_0xff6382(0x355)](){return this;}[_0xff6382(0x300)](){var _0x4aaa47=_0xff6382;this[_0x4aaa47(0x302)][_0x4aaa47(0x225)](this['_awaitingChangeset']);}[_0xff6382(0x400)](_0x35fd85){var _0x4d39a8=_0xff6382;return this[_0x4d39a8(0x321)](),this[_0x4d39a8(0x2c0)][_0x4d39a8(0x2a5)](ue,this['unitID'],this['type'],this[_0x4d39a8(0x1f9)],[],this[_0x4d39a8(0x302)],_0x35fd85);}[_0xff6382(0x32d)](_0xce3ff1,_0x1be462){var _0xae0695=_0xff6382,_0x3a9d44;_0xce3ff1===((_0x3a9d44=this[_0xae0695(0x1f9)])==null?void 0x0:_0x3a9d44[_0xae0695(0xe6)])&&(this[_0xae0695(0x300)](),this[_0xae0695(0x2c7)]=_0x1be462===0x0?0x3e8:Math[_0xae0695(0x332)](_0x1be462*0x2,gi),this[_0xae0695(0x270)]+=this[_0xae0695(0x2c7)]);}[_0xff6382(0x321)](){var _0xa9aad1=_0xff6382,_0x13d1f2;(_0x13d1f2=this[_0xa9aad1(0x1a9)])==null||_0x13d1f2[_0xa9aad1(0x299)](),this['_resendTimeout']=0x0,this[_0xa9aad1(0x270)]=0x0;}};le=Se([w(0x4,_0x26f1c4(_0x479e14)),w(0x5,_0x26f1c4(_0x2ccc8a)),w(0x6,_0x53c0da),w(0x7,_0x4b39d4),w(0x8,_0x3a8ddb),w(0x9,_0x5c3c47),w(0xa,_0x197a74(X))],le);let oe=class extends ge{constructor(_0x597514,_0xf5726d,_0x47e1cc,_0x354c32,_0x12af0b,_0x9149ef,_0x2d791c,_0x5493b1,_0x43af38,_0xba6bec,_0x3c447a,_0x33006b,_0x539f03){var _0x170e00=_0xff6382;super(_0x597514,_0xf5726d,_0x47e1cc,_0x354c32,_0x12af0b,_0x43af38,_0x33006b,_0x5493b1,_0x539f03),D(this,'status',_0x170e00(0x216)),D(this,_0x170e00(0x2c7),0x0),D(this,_0x170e00(0x270),0x0),D(this,_0x170e00(0x19e)),D(this,_0x170e00(0x1a9)),(this[_0x170e00(0x2c0)]=_0x2d791c,this[_0x170e00(0x16e)]=_0xba6bec,this[_0x170e00(0x1db)]=_0x3c447a,this[_0x170e00(0x139)]=_0x539f03,_0x9149ef&&(this[_0x170e00(0x19e)]=_0x9149ef,this['_sender']=this['_resendTimer'][_0x170e00(0x33c)](({reqId:_0x5c5569,timeout:_0x5ffcb9})=>{this['_resendWithTimeout'](_0x5c5569,_0x5ffcb9);})));}['appendMutation'](_0x2f433b){var _0x222888=_0xff6382;return this[_0x222888(0x1ee)][_0x222888(0x1ed)](_0x2f433b),this;}['onRemoteChangeset'](_0x106ea9){var _0xb22c14=_0xff6382;if(this[_0xb22c14(0x244)](_0x106ea9))return this['_clearScheduledTask'](),this[_0xb22c14(0x2c0)][_0xb22c14(0x2a5)](ee,this[_0xb22c14(0x2cc)],this['type'],this[_0xb22c14(0x1f9)],this[_0xb22c14(0x1ee)],null,[_0x106ea9],this[_0xb22c14(0x302)]);try{const _0x5b32b0=this[_0xb22c14(0x1db)]['transformChangesets']([_0x106ea9],[this[_0xb22c14(0x1f9)]],!0x1);if(_0x195351(_0x5b32b0)){const {c1Prime:_0xab7acc,c2Prime:_0x426b72}=_0x5b32b0,_0x582fce=this[_0xb22c14(0x1db)]['transformMutationsWithChangeset'](_0xab7acc[0x0],this[_0xb22c14(0x1ee)]);if(_0x2662f6(_0x582fce)){const {c1Prime:_0x5b0ce1,m2Prime:_0x44d099}=_0x582fce;return this['_executeRemoteChangeset'](_0x5b0ce1),_0x426b72[0x0][_0xb22c14(0x3f2)]=this[_0xb22c14(0x2f3)](),this[_0xb22c14(0x321)](),this[_0xb22c14(0x2c0)][_0xb22c14(0x2a5)](oe,this['unitID'],this[_0xb22c14(0x2c6)],_0x426b72[0x0],_0x44d099,this['_handler'],void 0x0);}throw _0x582fce[_0xb22c14(0x220)];}throw _0x5b32b0[_0xb22c14(0x220)];}catch(_0x2f7df7){return this[_0xb22c14(0x16e)][_0xb22c14(0x220)](_0x2f7df7),this[_0xb22c14(0x400)](!0x1);}}[_0xff6382(0x37f)](_0x3a7030){var _0x40d795=_0xff6382;if(this['_clearScheduledTask'](),this[_0x40d795(0x244)](_0x3a7030))return this[_0x40d795(0x2c0)][_0x40d795(0x2a5)](ee,this[_0x40d795(0x2cc)],this[_0x40d795(0x2c6)],null,this[_0x40d795(0x1ee)],this[_0x40d795(0x1f9)],[],this[_0x40d795(0x302)]);this[_0x40d795(0x1a0)]();const _0x4a9c60=this['_injector'][_0x40d795(0x2a5)](ae,this[_0x40d795(0x2cc)],this['type'],this[_0x40d795(0x1ee)],this[_0x40d795(0x302)]);return _0x4a9c60[_0x40d795(0x2a8)](),_0x4a9c60[_0x40d795(0x308)](),_0x4a9c60;}[_0xff6382(0x268)](_0xddff9c){var _0xa3643d=_0xff6382;return this[_0xa3643d(0x400)](!!(_0xddff9c!=null&&_0xddff9c[_0xa3643d(0x2fb)]));}[_0xff6382(0x28d)](_0x534380){var _0x3d58f8=_0xff6382;return this[_0x3d58f8(0x270)]>Ti?this[_0x3d58f8(0x18b)]():(this[_0x3d58f8(0x19e)]=Ii(this[_0x3d58f8(0x2c7)],{'timeout':this[_0x3d58f8(0x2c7)],'reqId':_0x534380['reqId']}),this[_0x3d58f8(0x1a9)]=this[_0x3d58f8(0x19e)][_0x3d58f8(0x33c)](({reqId:_0x5adffc,timeout:_0x459674})=>{var _0xdf938b=_0x3d58f8;this[_0xdf938b(0x32d)](_0x5adffc,_0x459674);}),this);}[_0xff6382(0x18b)](){var _0xab2f4b=_0xff6382;return this[_0xab2f4b(0x321)](),this[_0xab2f4b(0x2c0)][_0xab2f4b(0x2a5)](de,this['unitID'],this[_0xab2f4b(0x2c6)],this[_0xab2f4b(0x1f9)],this[_0xab2f4b(0x1ee)],this['_handler']);}[_0xff6382(0x355)](){return this;}[_0xff6382(0x300)](){var _0x44e105=_0xff6382;this[_0x44e105(0x302)]['onSendChangeset'](this[_0x44e105(0x1f9)]);}[_0xff6382(0x400)](_0x14150a){var _0x284ed7=_0xff6382;return this[_0x284ed7(0x321)](),this[_0x284ed7(0x2c0)][_0x284ed7(0x2a5)](ue,this['unitID'],this[_0x284ed7(0x2c6)],null,this[_0x284ed7(0x1ee)],this['_handler'],_0x14150a);}['_resendWithTimeout'](_0x508dc3,_0xef5028){var _0x4872f3=_0xff6382,_0x3b63d1;_0x508dc3===((_0x3b63d1=this['_awaitingChangeset'])==null?void 0x0:_0x3b63d1[_0x4872f3(0xe6)])&&(this['resend'](),this[_0x4872f3(0x2c7)]=_0xef5028===0x0?0x3e8:Math[_0x4872f3(0x332)](_0xef5028*0x2,gi),this[_0x4872f3(0x270)]+=this[_0x4872f3(0x2c7)]);}[_0xff6382(0x321)](){var _0x18f5b5=_0xff6382,_0x2f3397;(_0x2f3397=this[_0x18f5b5(0x1a9)])==null||_0x2f3397[_0x18f5b5(0x299)](),this[_0x18f5b5(0x2c7)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};oe=Se([w(0x6,_0x26f1c4(_0x479e14)),w(0x7,_0x26f1c4(_0x2ccc8a)),w(0x8,_0x53c0da),w(0x9,_0x4b39d4),w(0xa,_0x3a8ddb),w(0xb,_0x5c3c47),w(0xc,_0x197a74(X))],oe);let ue=class extends ge{constructor(_0xd589b1,_0x4c1fd9,_0x5a5653,_0x35c596,_0x1cd682,_0x355d69=!0x1,_0x4cbdf7,_0x14ce56,_0xdfd5e9,_0x230ce8,_0x468419,_0xcc5c2c,_0x180a6f){var _0x49716a=_0xff6382;super(_0xd589b1,_0x4c1fd9,_0x5a5653,_0x35c596,_0x1cd682,_0x14ce56,_0xdfd5e9,_0x230ce8,_0x180a6f),D(this,_0x49716a(0x22e),'conflict'),(this['_isPermissionRej']=_0x355d69,this['_permissionService']=_0x4cbdf7,this[_0x49716a(0x1e4)]=_0x468419,this[_0x49716a(0x3b9)]=_0xcc5c2c,this[_0x49716a(0x139)]=_0x180a6f,this[_0x49716a(0x331)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0xff6382(0x1c4)](){return this;}[_0xff6382(0x212)](){return this;}[_0xff6382(0x37f)](){return this;}['onRemoteRej'](){return this;}[_0xff6382(0x28d)](){return this;}[_0xff6382(0x18b)](){return this;}[_0xff6382(0x355)](){return this;}[_0xff6382(0x300)](){var _0x21b6fb=_0xff6382;throw new Error(_0x21b6fb(0x3b5));}[_0xff6382(0x324)](){var _0xb857b9=_0xff6382,_0x20293e;(_0x20293e=this[_0xb857b9(0xe9)])==null||_0x20293e[_0xb857b9(0x314)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x19c846=_0xff6382;this[_0x19c846(0x115)]?this[_0x19c846(0x3b9)]['emitEvent']({'id':re[_0x19c846(0x379)]}):this['_collaborationUIEventService'][_0x19c846(0x26e)]({'id':re[_0x19c846(0x1dc)]});}[_0xff6382(0x32a)](){var _0x32d549=_0xff6382;this[_0x32d549(0x176)]['updatePermissionPoint'](new _0x1dc0bf(this[_0x32d549(0x2cc)])['id'],!0x1);}};ue=Se([w(0x6,_0x26f1c4(_0x1ce666)),w(0x7,_0x53c0da),w(0x8,_0x5c3c47),w(0x9,_0x26f1c4(_0x2ccc8a)),w(0xa,_0x26f1c4(_0x40557f)),w(0xb,_0x26f1c4(ve)),w(0xc,_0x197a74(X))],ue);let de=class extends ge{constructor(_0x3e552a,_0x3eab1d,_0xc669ee,_0x38de16,_0x375f00,_0x43aecf,_0xcd52c6,_0x4603b9,_0xc5706c,_0x2abcd0){var _0x3bdeb5=_0xff6382;super(_0x3e552a,_0x3eab1d,_0xc669ee,_0x38de16,_0x375f00,_0x4603b9,_0xc5706c,_0xcd52c6,_0x2abcd0),D(this,'status',_0x3bdeb5(0x352)),this[_0x3bdeb5(0x2c0)]=_0x43aecf;}[_0xff6382(0x1c4)](_0x131332){var _0x52b303=_0xff6382;return this[_0x52b303(0x1ee)][_0x52b303(0x1ed)](_0x131332),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x5f5159){var _0x155b8d=_0xff6382;throw new Error(_0x155b8d(0x1bc));}[_0xff6382(0x37f)](){var _0x1cb37d=_0xff6382;throw new Error(_0x1cb37d(0x23f));}['onRemoteRej'](){var _0x494da5=_0xff6382;throw new Error(_0x494da5(0x21e));}[_0xff6382(0x28d)](){return this;}[_0xff6382(0x18b)](){return this;}[_0xff6382(0x355)](){var _0x479d17=_0xff6382;const {_injector:_0x46c6c8,_pendingMutations:_0x41054f,_awaitingChangeset:_0x2154ff,unitID:_0x4701e7,_handler:_0x33251c,type:_0x3b052c}=this,_0x5cfa32=Oi(_0x46c6c8,_0x4701e7,_0x3b052c,_0x2154ff,_0x41054f,_0x33251c);return _0x5cfa32 instanceof ae?_0x5cfa32[_0x479d17(0x2a8)]():(_0x5cfa32 instanceof oe||_0x5cfa32 instanceof le)&&_0x5cfa32[_0x479d17(0x300)](),_0x5cfa32;}[_0xff6382(0x300)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x26f1c4(_0x479e14)),w(0x6,_0x26f1c4(_0x2ccc8a)),w(0x7,_0x53c0da),w(0x8,_0x5c3c47),w(0x9,_0x197a74(X))],de);let ee=class extends ge{constructor(_0x126d76,_0x267cee,_0x4c3b9a,_0x17a757,_0x1e94bd,_0x2fba85,_0x2969c3,_0x37755f,_0x3b0de4,_0x4ea8d0,_0x2cfd0b,_0x4916bf,_0x39f283,_0x2251e4){var _0x43ab25=_0xff6382;super(_0x126d76,_0x267cee,_0x4c3b9a,_0x17a757,_0x2969c3,_0x2cfd0b,_0x4916bf,_0x3b0de4,_0x2251e4),D(this,_0x43ab25(0x22e),_0x43ab25(0x272)),(this['_acknowledgedAwaitingChangeset']=_0x1e94bd,this[_0x43ab25(0x227)]=_0x2fba85,this[_0x43ab25(0x2c0)]=_0x37755f,this[_0x43ab25(0x16e)]=_0x4ea8d0,this['_transformService']=_0x39f283,this[_0x43ab25(0x139)]=_0x2251e4);}[_0xff6382(0x103)](_0x1b6090){var _0x3051d7=_0xff6382;try{const _0x20aad5=[..._0x1b6090,...this[_0x3051d7(0x227)]],_0x2083d0=[this[_0x3051d7(0x1f9)]||this[_0x3051d7(0x174)]][_0x3051d7(0x265)](_0xacd08b=>!!_0xacd08b);let _0x33fe85,_0x543536;if(_0x2083d0[_0x3051d7(0xfe)]){const _0xb2aab7=this[_0x3051d7(0x1db)]['transformChangesets'](_0x20aad5,_0x2083d0,!0x1);if(!_0x195351(_0xb2aab7))throw _0xb2aab7[_0x3051d7(0x220)];_0x33fe85=_0xb2aab7[_0x3051d7(0x14f)],_0x543536=_0xb2aab7[_0x3051d7(0x3a1)];}else _0x33fe85=_0x20aad5,_0x543536=[];let _0x3cb942=this[_0x3051d7(0x1ee)];_0x33fe85['forEach'](_0x59de67=>{var _0xa8577c=_0x3051d7;let _0xaee471;if(_0x3cb942[_0xa8577c(0xfe)]){const _0x5f5356=this[_0xa8577c(0x1db)][_0xa8577c(0x123)](_0x59de67,_0x3cb942);if(!_0x2662f6(_0x5f5356))throw _0x5f5356[_0xa8577c(0x220)];_0xaee471=_0x5f5356[_0xa8577c(0x14f)],_0x3cb942=_0x5f5356[_0xa8577c(0x14b)];}else _0xaee471=_0x59de67;this[_0xa8577c(0x211)](_0xaee471);}),this[_0x3051d7(0x174)]&&this[_0x3051d7(0x1a0)](),this[_0x3051d7(0x1f9)]&&_0x543536[_0x3051d7(0xfe)]&&(_0x543536[0x0][_0x3051d7(0x3f2)]=this[_0x3051d7(0x2f3)]());let _0x47d910;if(this[_0x3051d7(0x1f9)]&&_0x3cb942[_0x3051d7(0xfe)]!==0x0)_0x47d910=this[_0x3051d7(0x2c0)][_0x3051d7(0x2a5)](oe,this[_0x3051d7(0x2cc)],this[_0x3051d7(0x2c6)],_0x543536[0x0],_0x3cb942,this['_handler'],void 0x0);else{if(this[_0x3051d7(0x1f9)]&&_0x3cb942[_0x3051d7(0xfe)]===0x0)_0x543536[0x0][_0x3051d7(0x3f2)]=this[_0x3051d7(0x2f3)](),_0x47d910=this[_0x3051d7(0x2c0)][_0x3051d7(0x2a5)](le,this[_0x3051d7(0x2cc)],this[_0x3051d7(0x2c6)],_0x543536[0x0],this[_0x3051d7(0x302)]);else{if(_0x3cb942[_0x3051d7(0xfe)]!==0x0){const _0x49eddb=this[_0x3051d7(0x2c0)][_0x3051d7(0x2a5)](ae,this['unitID'],this[_0x3051d7(0x2c6)],_0x3cb942,this[_0x3051d7(0x302)]);_0x49eddb[_0x3051d7(0x2a8)](),_0x47d910=_0x49eddb;}else _0x47d910=this[_0x3051d7(0x2c0)]['createInstance'](be,this[_0x3051d7(0x2cc)],this[_0x3051d7(0x2c6)],this[_0x3051d7(0x302)]);}}return _0x47d910[_0x3051d7(0x308)](),_0x47d910;}catch(_0x4e216e){return this[_0x3051d7(0x16e)][_0x3051d7(0x220)](_0x3051d7(0x340),_0x3051d7(0x3b3),_0x4e216e),this[_0x3051d7(0x2c0)][_0x3051d7(0x2a5)](ue,this[_0x3051d7(0x2cc)],this['type'],this[_0x3051d7(0x1f9)],this[_0x3051d7(0x1ee)],this['_handler'],!0x1);}}['resend'](){var _0x3f27e0=_0xff6382;throw new Error(_0x3f27e0(0x1f8));}[_0xff6382(0x1c4)](_0x5199d6){var _0x606c62=_0xff6382;return this[_0x606c62(0x1ee)][_0x606c62(0x1ed)](_0x5199d6),this;}[_0xff6382(0x212)](_0x140e9e){var _0x35de8d=_0xff6382;return this['_queuedRemoteChangesets'][_0x35de8d(0x1ed)](_0x140e9e),this;}['onRemoteAck'](_0x42384d){var _0x2948f3=_0xff6382;if(this[_0x2948f3(0x1f9)])return this[_0x2948f3(0x174)]=this[_0x2948f3(0x1f9)],this[_0x2948f3(0x1f9)]=null,this;throw new Error(_0x2948f3(0x1bd));}[_0xff6382(0x268)](_0x3c7f24){var _0x6bf081=_0xff6382;return this[_0x6bf081(0x400)](!!(_0x3c7f24!=null&&_0x3c7f24[_0x6bf081(0x2fb)]));}[_0xff6382(0x28d)](){return this;}[_0xff6382(0x18b)](){var _0x3f6a8d=_0xff6382;return this[_0x3f6a8d(0x2c0)][_0x3f6a8d(0x2a5)](de,this[_0x3f6a8d(0x2cc)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3f6a8d(0x302)]);}[_0xff6382(0x355)](){return this;}[_0xff6382(0x400)](_0x323fa1){var _0x57a6e1=_0xff6382;return this[_0x57a6e1(0x2c0)][_0x57a6e1(0x2a5)](ue,this[_0x57a6e1(0x2cc)],this[_0x57a6e1(0x2c6)],this[_0x57a6e1(0x1f9)],this[_0x57a6e1(0x1ee)],this[_0x57a6e1(0x302)],_0x323fa1);}};ee=Se([w(0x7,_0x26f1c4(_0x479e14)),w(0x8,_0x26f1c4(_0x2ccc8a)),w(0x9,_0x4b39d4),w(0xa,_0x53c0da),w(0xb,_0x5c3c47),w(0xc,_0x3a8ddb),w(0xd,_0x197a74(X))],ee);function Oi(_0x353447,_0x4ee691,_0x27fdf7,_0x55e555,_0x1111ac,_0x54cff0){var _0x3f9e76=_0xff6382;return _0x55e555&&_0x1111ac[_0x3f9e76(0xfe)]?_0x353447[_0x3f9e76(0x2a5)](oe,_0x4ee691,_0x27fdf7,_0x55e555,_0x1111ac,_0x54cff0,void 0x0):_0x55e555?_0x353447[_0x3f9e76(0x2a5)](le,_0x4ee691,_0x27fdf7,_0x55e555,_0x54cff0):_0x1111ac[_0x3f9e76(0xfe)]?_0x353447['createInstance'](ae,_0x4ee691,_0x27fdf7,_0x1111ac,_0x54cff0):_0x353447[_0x3f9e76(0x2a5)](be,_0x4ee691,_0x27fdf7,_0x54cff0);}var js=Object['getOwnPropertyDescriptor'],At=(_0x5d7443,_0x391bcb,_0x11372e,_0x5e7d29)=>{var _0x3ec166=_0xff6382;for(var _0x494ab0=_0x5e7d29>0x1?void 0x0:_0x5e7d29?js(_0x391bcb,_0x11372e):_0x391bcb,_0x43e77f=_0x5d7443[_0x3ec166(0xfe)]-0x1,_0x32f69d;_0x43e77f>=0x0;_0x43e77f--)(_0x32f69d=_0x5d7443[_0x43e77f])&&(_0x494ab0=_0x32f69d(_0x494ab0)||_0x494ab0);return _0x494ab0;},$=(_0x5e136b,_0x49908c)=>(_0x46aa41,_0x1146f0)=>_0x49908c(_0x46aa41,_0x1146f0,_0x5e136b);let st=class extends _0x1734f1{constructor(_0xe3855e,_0x31ce16,_0x99ba,_0x2f7ab2,_0x4f63d4,_0x1e0bea,_0x3f103d,_0x2d07a1,_0x1c4959,_0x312151,_0x315bf8,_0x416128,_0x2df1fc,_0x4e2aac){var _0x3a7687=_0xff6382;super(),D(this,_0x3a7687(0x133),new _0x409cb3(null)),D(this,_0x3a7687(0x112),this[_0x3a7687(0x133)][_0x3a7687(0x3ac)]()),D(this,_0x3a7687(0x27c)),D(this,_0x3a7687(0x1d9),!0x1),D(this,_0x3a7687(0x119),''),D(this,_0x3a7687(0x2a3),0x0),D(this,_0x3a7687(0x167),this['state$'][_0x3a7687(0x1fa)](_0x47a711(_0x5d09bc=>_0x5d09bc?_0x5d09bc['status']:Si[_0x3a7687(0x31b)]),_0x49ca7f(0x1))),D(this,_0x3a7687(0x147),!0x1),D(this,_0x3a7687(0x2c4),[]),(this['unitID']=_0xe3855e,this['session']=_0x31ce16,this[_0x3a7687(0x14c)]=_0x99ba,this[_0x3a7687(0x2c0)]=_0x2f7ab2,this[_0x3a7687(0x15f)]=_0x4f63d4,this[_0x3a7687(0x1e4)]=_0x1e0bea,this['_revisionService']=_0x3f103d,this[_0x3a7687(0x11c)]=_0x2d07a1,this[_0x3a7687(0x2da)]=_0x1c4959,this[_0x3a7687(0x16e)]=_0x312151,this[_0x3a7687(0x129)]=_0x315bf8,this[_0x3a7687(0x176)]=_0x416128,this[_0x3a7687(0x3c0)]=_0x2df1fc,this[_0x3a7687(0xe9)]=_0x4e2aac);}get['state'](){return this['_state'];}async[_0xff6382(0x12d)](){var _0x383e91=_0xff6382;if(this[_0x383e91(0x1ce)])throw new Error(_0x383e91(0x209));await this[_0x383e91(0x34d)]();}['pauseCollaboration'](){var _0x5e53d8=_0xff6382;return this[_0x5e53d8(0x1d9)]=!0x0,_0x5d435c(()=>{var _0x37a7be=_0x5e53d8;this[_0x37a7be(0x1d9)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x506f91){var _0x3f35ac=_0xff6382;this[_0x3f35ac(0x24d)](_0x506f91);}[_0xff6382(0x26f)](_0x5180e8){var _0x319e56=_0xff6382;this[_0x319e56(0x27c)]=_0x5180e8,this['_state$'][_0x319e56(0x118)](_0x5180e8);}async['_init'](){var _0xc34671=_0xff6382,_0x2965b1;this[_0xc34671(0x26f)](await this['_createInitialState']()),this[_0xc34671(0x3c0)]&&((_0x2965b1=this[_0xc34671(0x3c0)])==null||_0x2965b1[_0xc34671(0x2ec)](this[_0xc34671(0x2cc)]),this[_0xc34671(0x360)](this['_singleActiveUnitService'][_0xc34671(0x3eb)](this[_0xc34671(0x2cc)])[_0xc34671(0x33c)](_0x364f15=>{var _0x20d61e=_0xc34671;this[_0x20d61e(0x16e)][_0x20d61e(0x38c)](_0x20d61e(0x26d),_0x20d61e(0x152),_0x364f15),_0x364f15===mi['OTHER_CLIENTS_EDITING']?(this[_0x20d61e(0x11c)][_0x20d61e(0x26e)]({'id':re[_0x20d61e(0x2bf)]}),this['_permissionService'][_0x20d61e(0x12a)](new _0x1dc0bf(this['unitID'])['id'],!0x1),this['_permissionService'][_0x20d61e(0x1c1)](!0x1)):(this[_0x20d61e(0x176)][_0x20d61e(0x12a)](new _0x1dc0bf(this['unitID'])['id'],!0x0),this[_0x20d61e(0x176)][_0x20d61e(0x1c1)](!0x0));})));let _0x242241=!0x1;return this[_0xc34671(0x360)](this['session'][_0xc34671(0x3b4)][_0xc34671(0x33c)](_0x5f02ac=>{var _0x45f6b0=_0xc34671;_0x5f02ac===me[_0x45f6b0(0x3aa)]?this[_0x45f6b0(0x2e5)](_0x242241):_0x5f02ac===me[_0x45f6b0(0x31b)]&&(_0x242241=!0x0,this['_toggleOffline']());})),this[_0xc34671(0x360)](this[_0xc34671(0x10d)][_0xc34671(0x2be)][_0xc34671(0x33c)](_0x4ef7a9=>{var _0x20ffa4=_0xc34671;try{switch(_0x4ef7a9[_0x20ffa4(0x247)]){case _0x5561ca[_0x20ffa4(0x2e1)]:{this[_0x20ffa4(0x1e8)](_0x4e5b30(_0x4ef7a9[_0x20ffa4(0x39d)]));break;}case _0x5561ca['CHANGESET_ACK']:{this[_0x20ffa4(0x27d)](_0x4ef7a9[_0x20ffa4(0x39d)]);break;}case _0x5561ca[_0x20ffa4(0x256)]:{this['_onRemoteRejected']();break;}case _0x5561ca[_0x20ffa4(0x19a)]:{this[_0x20ffa4(0x26b)](_0x4ef7a9[_0x20ffa4(0x39d)]);break;}case _0x5561ca[_0x20ffa4(0x3b0)]:{this[_0x20ffa4(0x17b)](_0x4ef7a9[_0x20ffa4(0x39d)][_0x20ffa4(0x34c)][_0x20ffa4(0xf6)](_0x37fc14=>_0x4e5b30(_0x37fc14)));break;}case _0x5561ca[_0x20ffa4(0x102)]:{this[_0x20ffa4(0x144)]({'isPermissionRej':!0x0});break;}case _0x5561ca[_0x20ffa4(0x205)]:break;}}catch(_0x406007){throw console[_0x20ffa4(0x220)](_0x20ffa4(0x3ed),_0x406007),_0x406007;}})),this['_state'];}[_0xff6382(0x1c7)](){var _0x578015=_0xff6382;this[_0x578015(0x147)]=!0x1;}[_0xff6382(0x3a6)](){var _0x37edb9=_0xff6382;if(this[_0x37edb9(0x147)])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;}[_0xff6382(0x24d)](_0x225c42){var _0x33dd24=_0xff6382;this[_0x33dd24(0x3a6)](),this[_0x33dd24(0x26f)](this[_0x33dd24(0x27c)][_0x33dd24(0x1c4)](_0x225c42)),this[_0x33dd24(0x1c7)]();}[_0xff6382(0x1e8)](_0x53972c){var _0x2afa59=_0xff6382;if(!(_0x53972c[_0x2afa59(0x3a5)]<=this['_revisionService'][_0x2afa59(0x3af)](this['unitID']))){if(this[_0x2afa59(0x1d9)]){this['_remoteChangesetQueue'][_0x2afa59(0x1ed)](_0x53972c);return;}this['_applyRemoteChangeset'](_0x53972c);}}[_0xff6382(0x356)](){var _0x5570c6=_0xff6382;this[_0x5570c6(0x2c4)][_0x5570c6(0x3bd)](_0x258902=>this['_applyRemoteChangeset'](_0x258902)),this['_remoteChangesetQueue']=[];}[_0xff6382(0x372)](_0x325406){var _0x41bb9e=_0xff6382;const _0x411adf=this[_0x41bb9e(0x15f)]['interceptor'][_0x41bb9e(0x342)](this['_compressMutationService'][_0x41bb9e(0x257)]['getInterceptPoints']()[_0x41bb9e(0x215)])(_0x325406[_0x41bb9e(0x3ae)],null)||_0x325406[_0x41bb9e(0x3ae)],_0x2af27d={..._0x325406,'mutations':_0x411adf};this['_lockTransition'](),this[_0x41bb9e(0x26f)](this['_state']['onRemoteChangeset'](_0x2af27d)),this[_0x41bb9e(0x1c7)]();}[_0xff6382(0x27d)](_0x5aece0){var _0x30c55c=_0xff6382;this['_lockTransition'](),this[_0x30c55c(0x26f)](this[_0x30c55c(0x27c)][_0x30c55c(0x37f)](_0x5aece0)),this[_0x30c55c(0x1c7)]();}[_0xff6382(0x144)](_0x3012b3){var _0xd9f8b=_0xff6382;this[_0xd9f8b(0x3a6)](),this[_0xd9f8b(0x26f)](this[_0xd9f8b(0x27c)][_0xd9f8b(0x268)](_0x3012b3)),this[_0xd9f8b(0x1c7)]();}[_0xff6382(0x26b)](_0x59a62f){var _0x20e1dc=_0xff6382;this[_0x20e1dc(0x3a6)](),this[_0x20e1dc(0x26f)](this[_0x20e1dc(0x27c)][_0x20e1dc(0x28d)](_0x59a62f)),this['_unlockTransition']();}[_0xff6382(0x17b)](_0x305916){var _0x475287=_0xff6382;if(!(this[_0x475287(0x27c)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x6aed41=_0x305916['map'](_0x1de35a=>{var _0x4a42db=_0x475287;const _0x473161=this[_0x4a42db(0x15f)][_0x4a42db(0x257)][_0x4a42db(0x342)](this['_compressMutationService']['interceptor'][_0x4a42db(0x1af)]()[_0x4a42db(0x215)])(_0x1de35a['mutations'],null)||_0x1de35a[_0x4a42db(0x3ae)];return{..._0x1de35a,'mutations':_0x473161};});this[_0x475287(0x3a6)](),this['_updateState'](this['_state'][_0x475287(0x103)](_0x6aed41)),this['_unlockTransition']();}['_toggleOffline'](){var _0x2705ed=_0xff6382;this[_0x2705ed(0x3a6)](),this[_0x2705ed(0x26f)](this[_0x2705ed(0x27c)][_0x2705ed(0x18b)]()),this['_unlockTransition']();}['_toggleOnline'](_0x4e5820=!0x1){var _0x30ee4e=_0xff6382;this[_0x30ee4e(0x3a6)](),this[_0x30ee4e(0x26f)](this[_0x30ee4e(0x27c)][_0x30ee4e(0x355)]()),this[_0x30ee4e(0x1c7)]();const _0x13a381=this[_0x30ee4e(0x27c)];_0x4e5820&&_0x13a381 instanceof be&&(this[_0x30ee4e(0x3a6)](),this[_0x30ee4e(0x26f)](_0x13a381[_0x30ee4e(0x1b4)]()),this[_0x30ee4e(0x1c7)]());}async[_0xff6382(0x271)](){return new Promise(_0x3a8ba1=>{var _0x4510ed=_0x3f92;this[_0x4510ed(0x10d)][_0x4510ed(0x3b4)]['pipe'](_0x5c7bfd(0x1))[_0x4510ed(0x33c)](async _0xbe88dd=>{var _0x446309=_0x4510ed;_0x3a8ba1(await this[_0x446309(0x171)](_0xbe88dd===me[_0x446309(0x3aa)]));});});}[_0xff6382(0x343)](){var _0x4b54d1=_0xff6382;const _0x1bbf71=this[_0x4b54d1(0x2cc)];return{'onStateChange':(_0x2025c6,_0xfa0824)=>{var _0x4cf239=_0x4b54d1;if(_0x2025c6!==this[_0x4cf239(0x27c)])throw new Error(_0x4cf239(0xf1)+_0x2025c6[_0x4cf239(0x22e)]+_0x4cf239(0x18d)+_0xfa0824[_0x4cf239(0x22e)]+_0x4cf239(0x136)+this['_state'][_0x4cf239(0x22e)]);this[_0x4cf239(0x26f)](_0xfa0824);},'onSendChangeset':_0x478edf=>{var _0x4c9f1e=_0x4b54d1;_0x478edf[_0x4c9f1e(0x1df)]||(_0x478edf[_0x4c9f1e(0x1df)]=this[_0x4c9f1e(0x119)],_0x478edf[_0x4c9f1e(0xe6)]=++this[_0x4c9f1e(0x2a3)]);const _0x5c1de0={'eventID':_0x5561ca['SUBMIT_CHANGESET'],'data':{'unitID':_0x478edf[_0x4c9f1e(0x2cc)],'unitType':this['_type'],'changeset':_0x478edf,'memberID':this[_0x4c9f1e(0x10d)][_0x4c9f1e(0x336)]()}};this[_0x4c9f1e(0x10d)][_0x4c9f1e(0x1b2)](_0x5c1de0,this[_0x4c9f1e(0x2cc)]);},'onMissingChangesets':({from:_0x5894c7,to:_0x1bdd16})=>{var _0x187015=_0x4b54d1;this[_0x187015(0x16e)]['debug']('[CollaborationEntity]',_0x187015(0x269)+_0x5894c7+'\x20to\x20'+_0x1bdd16);const _0x2eb902={'eventID':_0x5561ca['FETCH_MISSING'],'data':{'unitID':_0x1bbf71,'unitType':this['_type'],'from':_0x5894c7,'to':_0x1bdd16}};this[_0x187015(0x10d)][_0x187015(0x1b2)](_0x2eb902,this[_0x187015(0x2cc)]);}};}async[_0xff6382(0x171)](_0x3001d5){var _0x1912bd=_0xff6382,_0x1540b3,_0x29c01f,_0x57018e;const _0x2b3e0f=await((_0x1540b3=this[_0x1912bd(0xe9)])==null?void 0x0:_0x1540b3[_0x1912bd(0xfa)](this[_0x1912bd(0x2cc)])),_0x387978=(_0x29c01f=_0x2b3e0f==null?void 0x0:_0x2b3e0f[_0x1912bd(0x3ae)])!=null?_0x29c01f:[],_0xd415fb=(_0x57018e=_0x2b3e0f==null?void 0x0:_0x2b3e0f['awaitingChangeset'])!=null?_0x57018e:null,_0x41dc27=!!(_0xd415fb!=null&&_0xd415fb[_0x1912bd(0x1df)])&&!!(_0xd415fb!=null&&_0xd415fb[_0x1912bd(0xe6)]);this[_0x1912bd(0x119)]=_0x41dc27?_0xd415fb[_0x1912bd(0x1df)]:_0xb01c14(),this['_changesetReqId']=_0x41dc27?_0xd415fb[_0x1912bd(0xe6)]:0x0;const _0x863a0c=this['unitID'];try{this['_replayCachedMutations'](_0xd415fb,_0x387978);}catch(_0x2a7cd9){this[_0x1912bd(0x16e)][_0x1912bd(0x220)](_0x2a7cd9);}const _0x50ccce=this[_0x1912bd(0x343)]();if(_0x3001d5){const _0xe7de03=Oi(this[_0x1912bd(0x2c0)],_0x863a0c,this[_0x1912bd(0x14c)],_0xd415fb,_0x387978,_0x50ccce);return _0xe7de03 instanceof ae?_0xe7de03[_0x1912bd(0x2a8)]():(_0xe7de03 instanceof oe||_0xe7de03 instanceof le)&&_0xe7de03[_0x1912bd(0x300)](),_0xe7de03;}return this[_0x1912bd(0x2c0)][_0x1912bd(0x2a5)](de,_0x863a0c,this['_type'],_0xd415fb,_0x387978,_0x50ccce);}[_0xff6382(0x289)](_0x72b000,_0x18d3da){var _0x33e7c9=_0xff6382,_0x18e039,_0xfb302a;const _0x2d6ae4=this[_0x33e7c9(0x15f)][_0x33e7c9(0x257)]['fetchThroughInterceptors'](this[_0x33e7c9(0x15f)][_0x33e7c9(0x257)][_0x33e7c9(0x1af)]()[_0x33e7c9(0x215)]);(_0x18e039=_0x2d6ae4((_0x72b000==null?void 0x0:_0x72b000['mutations'])||[],null))==null||_0x18e039[_0x33e7c9(0x3bd)](_0x40ba20=>this[_0x33e7c9(0x129)]['executeCommand'](_0x40ba20['id'],_0x40ba20[_0x33e7c9(0x2d8)])),(_0xfb302a=_0x2d6ae4(_0x18d3da||[],null))==null||_0xfb302a[_0x33e7c9(0x3bd)](_0x408414=>this[_0x33e7c9(0x129)]['executeCommand'](_0x408414['id'],_0x408414[_0x33e7c9(0x2d8)]));}};st=At([$(0x3,_0x26f1c4(_0x479e14)),$(0x4,_0x26f1c4(_0x23f8ca)),$(0x5,_0x26f1c4(_0x40557f)),$(0x6,_0x26f1c4(_0x2ccc8a)),$(0x7,_0x26f1c4(ve)),$(0x8,_0x3c78cc),$(0x9,_0x4b39d4),$(0xa,_0x53c0da),$(0xb,_0x1ce666),$(0xc,_0x197a74(_t)),$(0xd,_0x197a74(X))],st);let It=class extends st{constructor(_0x41ed71,_0x20511e,_0x16d995,_0x503d92,_0x36d639,_0x56fcd7,_0x1c993f,_0x4ed955,_0x1247ed,_0x1d12b2,_0x388f12,_0x91cf29,_0x5a60e7,_0x2867a9){var _0xc3b833=_0xff6382;super(_0x41ed71,_0x16d995,_0x20511e,_0x503d92,_0x36d639,_0x56fcd7,_0x1c993f,_0x4ed955,_0x1247ed,_0x1d12b2,_0x388f12,_0x91cf29,_0x5a60e7,_0x2867a9),D(this,_0xc3b833(0x358),null),(this[_0xc3b833(0x2cc)]=_0x41ed71,this[_0xc3b833(0x2c6)]=_0x20511e);}[_0xff6382(0x1bf)](_0x235133){var _0x369b4d=_0xff6382;this[_0x369b4d(0x358)]=_0x235133;}[_0xff6382(0x338)](){var _0x976664=_0xff6382;this['_handlerCallback']=null,super[_0x976664(0x338)]();}[_0xff6382(0x343)](){var _0x23d253=_0xff6382;const _0x5e21fb=super[_0x23d253(0x343)]();return _0x5e21fb['onTransformIME']=_0x4a8db1=>{var _0x8d8849=_0x23d253,_0x4bfd88,_0x5c6943;return(_0x5c6943=(_0x4bfd88=this[_0x8d8849(0x358)])==null?void 0x0:_0x4bfd88[_0x8d8849(0x201)])==null?void 0x0:_0x5c6943['call'](_0x4bfd88,_0x4a8db1);},_0x5e21fb[_0x23d253(0x312)]=_0x5bf8c8=>{var _0x21ecde=_0x23d253,_0x357975,_0x26ab71;return(_0x26ab71=(_0x357975=this['_handlerCallback'])==null?void 0x0:_0x357975[_0x21ecde(0x312)])==null?void 0x0:_0x26ab71[_0x21ecde(0x335)](_0x357975,_0x5bf8c8);},_0x5e21fb[_0x23d253(0x1ae)]=_0x1cd116=>{var _0x25344f=_0x23d253,_0x3a2656,_0x52d2a1;return(_0x52d2a1=(_0x3a2656=this[_0x25344f(0x358)])==null?void 0x0:_0x3a2656[_0x25344f(0x1ae)])==null?void 0x0:_0x52d2a1[_0x25344f(0x335)](_0x3a2656,_0x1cd116);},_0x5e21fb['onSyncEditingCollabCursor']=_0x60a748=>{var _0x26e868=_0x23d253,_0x299539,_0x5becbf;return(_0x5becbf=(_0x299539=this['_handlerCallback'])==null?void 0x0:_0x299539['onSyncEditingCollabCursor'])==null?void 0x0:_0x5becbf[_0x26e868(0x335)](_0x299539,_0x60a748);},_0x5e21fb['onTransformRemoteChangesetByIMECache']=_0x4229fe=>{var _0x5a95ef=_0x23d253,_0x3e9e50,_0x1b4d26,_0x8867b7;if(!((_0x3e9e50=this[_0x5a95ef(0x358)])!=null&&_0x3e9e50[_0x5a95ef(0x3c1)]))throw new Error(_0x5a95ef(0x1da));return(_0x8867b7=(_0x1b4d26=this[_0x5a95ef(0x358)])==null?void 0x0:_0x1b4d26[_0x5a95ef(0x3c1)])==null?void 0x0:_0x8867b7['call'](_0x1b4d26,_0x4229fe);},_0x5e21fb[_0x23d253(0x195)]=_0x5b35a9=>{var _0x206706=_0x23d253,_0x28299b,_0x1b9783,_0x3031f5;if(!((_0x28299b=this[_0x206706(0x358)])!=null&&_0x28299b['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3031f5=(_0x1b9783=this[_0x206706(0x358)])==null?void 0x0:_0x1b9783[_0x206706(0x195)])==null?void 0x0:_0x3031f5[_0x206706(0x335)](_0x1b9783,_0x5b35a9);},_0x5e21fb;}async[_0xff6382(0x34d)](){var _0x91970f=_0xff6382;const _0x315b50=await super['_init']();return this['disposeWithMe'](this[_0x91970f(0x129)]['onMutationExecutedForCollab']((_0x5c06b9,_0x197ded)=>{var _0x4a1a7f=_0x91970f;if(_0x5c06b9['type']!==_0x4d575a['MUTATION']||_0x197ded!=null&&_0x197ded[_0x4a1a7f(0x38b)]||_0x197ded!=null&&_0x197ded[_0x4a1a7f(0x15e)]||_0x5c06b9['id']===_0x4b2a2a['id'])return;const _0x57c8f2=_0x5c06b9[_0x4a1a7f(0x2d8)];if((_0x57c8f2==null?void 0x0:_0x57c8f2[_0x4a1a7f(0x2ad)])!==this['unitID'])return;const _0x76e784=_0x5c06b9,_0x31d987=this[_0x4a1a7f(0x15f)]['interceptor'][_0x4a1a7f(0x342)](this[_0x4a1a7f(0x15f)][_0x4a1a7f(0x257)][_0x4a1a7f(0x1af)]()[_0x4a1a7f(0x364)])([_0x76e784],this[_0x4a1a7f(0x2da)])||[_0x76e784];this[_0x4a1a7f(0x24d)](_0x31d987[0x0]);})),_0x315b50;}};It=At([$(0x3,_0x26f1c4(_0x479e14)),$(0x4,_0x26f1c4(_0x23f8ca)),$(0x5,_0x26f1c4(_0x40557f)),$(0x6,_0x26f1c4(_0x2ccc8a)),$(0x7,_0x26f1c4(ve)),$(0x8,_0x3c78cc),$(0x9,_0x4b39d4),$(0xa,_0x53c0da),$(0xb,_0x1ce666),$(0xc,_0x197a74(_t)),$(0xd,_0x197a74(X))],It);let St=class extends st{constructor(_0x1859c7,_0x316652,_0xb288c,_0x5ee293,_0x1553da,_0x2f6e8e,_0x3d06e5,_0x17369d,_0x447b96,_0x355c8b,_0x10a7e1,_0x4d82a6,_0x33ed07,_0x1de2d3,_0x441f21){var _0x48fb0d=_0xff6382;super(_0x1859c7,_0xb288c,_0x316652,_0x5ee293,_0x1553da,_0x2f6e8e,_0x3d06e5,_0x447b96,_0x355c8b,_0x10a7e1,_0x4d82a6,_0x33ed07,_0x1de2d3,_0x441f21),this[_0x48fb0d(0x2cc)]=_0x1859c7,this[_0x48fb0d(0x2c6)]=_0x316652,this[_0x48fb0d(0x2f9)]=_0x17369d;}[_0xff6382(0x343)](){var _0x2b63e5=_0xff6382;const _0x1fa50e=super[_0x2b63e5(0x343)]();return _0x1fa50e['onTransformSelections']=_0x1e954c=>this['_sheetTransformSelectionsService'][_0x2b63e5(0x132)](_0x1e954c),_0x1fa50e;}async[_0xff6382(0x34d)](){var _0x1960d4=_0xff6382;const _0x9b64b1=await super['_init']();return this[_0x1960d4(0x360)](this[_0x1960d4(0x129)][_0x1960d4(0x13d)]((_0x1ba813,_0x22a8dd)=>{var _0x4faf0d=_0x1960d4;if(_0x1ba813[_0x4faf0d(0x2c6)]!==_0x4d575a['MUTATION']||_0x22a8dd!=null&&_0x22a8dd[_0x4faf0d(0x38b)]||_0x22a8dd!=null&&_0x22a8dd[_0x4faf0d(0x15e)])return;const _0x158132=_0x1ba813[_0x4faf0d(0x2d8)];if((_0x158132==null?void 0x0:_0x158132[_0x4faf0d(0x2ad)])!==this[_0x4faf0d(0x2cc)])return;const _0x35e38b=_0x1ba813,_0x414101=this['_compressMutationService']['interceptor'][_0x4faf0d(0x342)](this[_0x4faf0d(0x15f)]['interceptor'][_0x4faf0d(0x1af)]()[_0x4faf0d(0x364)])([_0x35e38b],this[_0x4faf0d(0x2da)])||[_0x35e38b];this[_0x4faf0d(0x24d)](_0x414101[0x0]);})),_0x9b64b1;}};St=At([$(0x3,_0x26f1c4(_0x479e14)),$(0x4,_0x26f1c4(_0x23f8ca)),$(0x5,_0x26f1c4(_0x40557f)),$(0x6,_0x26f1c4(_0x2ccc8a)),$(0x7,_0x26f1c4(it)),$(0x8,_0x26f1c4(ve)),$(0x9,_0x3c78cc),$(0xa,_0x4b39d4),$(0xb,_0x53c0da),$(0xc,_0x1ce666),$(0xd,_0x197a74(_t)),$(0xe,_0x197a74(X))],St);const Vs=_0x5a6278(_0xff6382(0x30a));function Gs(_0x3eb187){var _0x5d63d4=_0xff6382,_0x4b24f5,_0x55924b,_0x2b3832,_0x5bb0b1,_0x42302e;const _0x563ea8=_0x3eb187[_0x5d63d4(0x39d)],_0x4235ba=JSON['parse'](_0x563ea8);switch(_0x4235ba['cmd']){case j['HEARTBEAT']:case j[_0x5d63d4(0x17c)]:{const _0x4ebb1a=_0x4235ba[_0x5d63d4(0x3e0)];return{..._0x4235ba,'data':_0x4ebb1a,'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};}case j[_0x5d63d4(0x20e)]:{const _0x59de61=_0x4235ba['joinRsp'];return{..._0x4235ba,'data':_0x59de61,'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};}case j[_0x5d63d4(0x3f0)]:{const _0x2178bb=_0x4235ba[_0x5d63d4(0x235)];switch(_0x2178bb[_0x5d63d4(0x247)]){case _0x5561ca[_0x5d63d4(0x102)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':(_0x4b24f5=_0x2178bb['permissionRejEvent'])==null?void 0x0:_0x4b24f5['cs']},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca['CHANGESET_ACK']:return{..._0x4235ba,'data':{..._0x2178bb,'data':(_0x55924b=_0x2178bb[_0x5d63d4(0x1f6)])==null?void 0x0:_0x55924b['cs']},'cmd':_0x4235ba['cmd']};case _0x5561ca[_0x5d63d4(0x2e1)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':(_0x2b3832=_0x2178bb[_0x5d63d4(0x183)])==null?void 0x0:_0x2b3832['cs']},'cmd':_0x4235ba['cmd']};case _0x5561ca['CHANGESET_REJ']:return{..._0x4235ba,'data':{..._0x2178bb,'data':(_0x5bb0b1=_0x2178bb[_0x5d63d4(0x184)])==null?void 0x0:_0x5bb0b1['cs']},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca[_0x5d63d4(0x19a)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':(_0x42302e=_0x2178bb[_0x5d63d4(0x1aa)])==null?void 0x0:_0x42302e['cs']},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca[_0x5d63d4(0x394)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x3b1)]},'cmd':_0x4235ba['cmd']};case _0x5561ca[_0x5d63d4(0x3df)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x397)]},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca[_0x5d63d4(0x15b)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb['leaveEvent']},'cmd':_0x4235ba['cmd']};case _0x5561ca[_0x5d63d4(0x3c7)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x10a)]},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca['LIVESHARE_FETCH_OPERATIONS']:case _0x5561ca[_0x5d63d4(0x2f4)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x2b8)]},'cmd':_0x4235ba['cmd']};case _0x5561ca['LIVESHARE_TERMINATE']:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x10a)]},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca['MSG_FOR_ERROR']:return{..._0x4235ba,'data':_0x2178bb,'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca[_0x5d63d4(0x17e)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x38d)]},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca['UPDATE_PERMISSION_OBJ']:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x313)]},'cmd':_0x4235ba['cmd']};case _0x5561ca[_0x5d63d4(0x389)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb['shouldCloseConn']},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca[_0x5d63d4(0x205)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0xf3)]},'cmd':_0x4235ba['cmd']};default:return _0x4235ba;}}default:return _0x4235ba;}}function Ws(_0x421a7f){var _0x5ef27e=_0xff6382;switch(_0x421a7f[_0x5ef27e(0x3bb)]){case j[_0x5ef27e(0x3fe)]:case j[_0x5ef27e(0x17c)]:return JSON[_0x5ef27e(0x3de)]({'cmd':_0x421a7f[_0x5ef27e(0x3bb)],'routeKey':_0x421a7f[_0x5ef27e(0x1cf)]});case j[_0x5ef27e(0x2f7)]:{let _0x1fb807;switch(_0x421a7f[_0x5ef27e(0x39d)][_0x5ef27e(0x247)]){case _0x5561ca['UPDATE_CURSOR']:{_0x1fb807={'eventID':_0x5561ca['UPDATE_CURSOR'],'updateCursorEvent':_0x421a7f['data']['data']};break;}case _0x5561ca[_0x5ef27e(0x15b)]:{_0x1fb807={'eventID':_0x5561ca[_0x5ef27e(0x15b)],'leaveEvent':_0x421a7f[_0x5ef27e(0x39d)][_0x5ef27e(0x39d)]};break;}case _0x5561ca[_0x5ef27e(0x3df)]:{_0x1fb807={'eventID':_0x5561ca[_0x5ef27e(0x3df)],'joinEvent':_0x421a7f['data'][_0x5ef27e(0x39d)]};break;}case _0x5561ca[_0x5ef27e(0x3c7)]:{_0x1fb807={'eventID':_0x5561ca[_0x5ef27e(0x3c7)],'liveShareNewHost':_0x421a7f[_0x5ef27e(0x39d)][_0x5ef27e(0x39d)]};break;}case _0x5561ca['LIVESHARE_OPERATION']:{_0x1fb807={'eventID':_0x5561ca[_0x5ef27e(0x2f4)],'liveShareOperation':_0x421a7f[_0x5ef27e(0x39d)][_0x5ef27e(0x39d)]};break;}case _0x5561ca['LIVESHARE_TERMINATE']:{_0x1fb807={'eventID':_0x5561ca['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x421a7f['data'][_0x5ef27e(0x39d)]};break;}case _0x5561ca[_0x5ef27e(0x29a)]:{_0x1fb807={'eventID':_0x5561ca[_0x5ef27e(0x29a)],'liveShareRequestHost':_0x421a7f[_0x5ef27e(0x39d)]['data']};break;}case _0x5561ca[_0x5ef27e(0x179)]:{_0x1fb807={'eventID':_0x5561ca['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1fb807={'eventID':_0x421a7f[_0x5ef27e(0x39d)][_0x5ef27e(0x247)]};}return JSON['stringify']({'cmd':_0x421a7f[_0x5ef27e(0x3bb)],'routeKey':_0x421a7f[_0x5ef27e(0x1cf)],'collaMsg':_0x1fb807});}case j[_0x5ef27e(0x20e)]:return JSON[_0x5ef27e(0x3de)]({'cmd':_0x421a7f[_0x5ef27e(0x3bb)],'routeKey':_0x421a7f[_0x5ef27e(0x1cf)],'joinReq':_0x421a7f[_0x5ef27e(0x39d)]});case j[_0x5ef27e(0x1e7)]:return JSON['stringify']({'cmd':_0x421a7f[_0x5ef27e(0x3bb)],'routeKey':_0x421a7f['routeKey'],'leaveReq':_0x421a7f['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ys=Object[_0xff6382(0x169)],Ks=(_0x56b7a4,_0x395340,_0x581a48,_0x55864a)=>{var _0x450694=_0xff6382;for(var _0x16b6ff=_0x55864a>0x1?void 0x0:_0x55864a?Ys(_0x395340,_0x581a48):_0x395340,_0xc4badf=_0x56b7a4[_0x450694(0xfe)]-0x1,_0xc216b1;_0xc4badf>=0x0;_0xc4badf--)(_0xc216b1=_0x56b7a4[_0xc4badf])&&(_0x16b6ff=_0xc216b1(_0x16b6ff)||_0x16b6ff);return _0x16b6ff;},ye=(_0x2d22dd,_0x3d197b)=>(_0x135ebd,_0x288538)=>_0x3d197b(_0x135ebd,_0x288538,_0x2d22dd);const Ri=_0x5a6278('univer-pro.collaboration-client-socket-service');function qs(_0x296ca3,_0x2c0172,_0x1b1646){var _0x1d7bd8=_0xff6382;return _0x296ca3+'/'+_0x2c0172+_0x1d7bd8(0x39e)+_0x1b1646+'/new_changes';}let Gt=class extends _0x4c3f97{constructor(_0x319b0c,_0x9d5f19,_0x4b0ef0,_0x18eeec,_0x5a96b1){var _0x2fd186=_0xff6382;super(),this[_0x2fd186(0x2c0)]=_0x319b0c,this[_0x2fd186(0x226)]=_0x9d5f19,this[_0x2fd186(0x1e2)]=_0x4b0ef0,this['_logService']=_0x18eeec,this[_0x2fd186(0x1ec)]=_0x5a96b1;}[_0xff6382(0x2cf)](_0x1d30f9){var _0x38b6ed=_0xff6382;const _0x5a7d33=this[_0x38b6ed(0x2c0)][_0x38b6ed(0x22d)](_0x450666);if(!_0x5a7d33)throw new Error(_0x38b6ed(0x2ab));const _0x47c9e9=_0x5a7d33['createSocket'](_0x1d30f9);if(!_0x47c9e9)throw new Error(_0x38b6ed(0x159));const _0x219f22=new _0x2ef222(),_0x45b946=new _0x14e298();_0x219f22[_0x38b6ed(0x1b5)](_0x47c9e9[_0x38b6ed(0x194)][_0x38b6ed(0x33c)](_0x1ba96d=>_0x45b946[_0x38b6ed(0x118)](_0x1ba96d))),_0x219f22[_0x38b6ed(0x1b5)](_0x5d435c(()=>_0x45b946[_0x38b6ed(0x1a1)]()));const _0x33a0eb=new _0x14e298();_0x219f22['add'](_0x47c9e9[_0x38b6ed(0x1b1)][_0x38b6ed(0x33c)](_0x442ad3=>_0x33a0eb[_0x38b6ed(0x118)](_0x442ad3))),_0x219f22[_0x38b6ed(0x1b5)](_0x5d435c(()=>_0x33a0eb[_0x38b6ed(0x1a1)]()));const _0x3d633d=new _0x14e298();_0x219f22[_0x38b6ed(0x1b5)](_0x47c9e9[_0x38b6ed(0x1ff)]['subscribe'](_0xce1d17=>{var _0x39363b=_0x38b6ed;const _0x1b4aae=Gs(_0xce1d17);_0x3d633d[_0x39363b(0x118)](_0x1b4aae);})),_0x219f22[_0x38b6ed(0x1b5)](_0x5d435c(()=>_0x3d633d[_0x38b6ed(0x1a1)]()));let _0x348f1d;const _0x638839=()=>{var _0x2b5708=_0x38b6ed;_0x33a0eb[_0x2b5708(0x118)](new Event(_0x2b5708(0x2cb))),_0x45b946['next'](new Event(_0x2b5708(0x2cb))),_0x348f1d['close']();};return _0x348f1d={'memberID':'','close$':_0x45b946[_0x38b6ed(0x3ac)](),'error$':_0x33a0eb[_0x38b6ed(0x3ac)](),'open$':_0x47c9e9['open$'],'message$':_0x3d633d['asObservable'](),'send':_0x357186=>{var _0x380654=_0x38b6ed;if(_0x357186[_0x380654(0x3bb)]===j[_0x380654(0x2f7)]){if(_0x357186['data'][_0x380654(0x247)]===_0x5561ca[_0x380654(0x1d6)]){this['_submitChangeset'](_0x348f1d,_0x357186['data'])[_0x380654(0x2d6)](_0x41b56f=>{var _0xf6c5e6=_0x380654;this[_0xf6c5e6(0x16e)][_0xf6c5e6(0x220)](_0x41b56f),_0x638839();});return;}if(_0x357186[_0x380654(0x39d)][_0x380654(0x247)]===_0x5561ca[_0x380654(0x2df)]){const _0x33f8de=_0x357186[_0x380654(0x39d)];this[_0x380654(0x1f1)](_0x33f8de)[_0x380654(0x1c8)](_0xa4296e=>{var _0x3e7bb9=_0x380654;_0x3d633d['next']({'cmd':j[_0x3e7bb9(0x3f0)],'code':Ee['OK'],'routeKey':_0x33f8de['data']['unitID'],'routeType':'','data':{'eventID':_0x5561ca['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0xa4296e}}});})[_0x380654(0x2d6)](_0x24b28a=>{var _0x1f49d8=_0x380654;this['_logService'][_0x1f49d8(0x220)](_0x24b28a),_0x638839();});return;}}_0x47c9e9[_0x380654(0x1b2)](Ws(_0x357186));},'close':()=>{var _0x99941f=_0x38b6ed;_0x47c9e9['close'](),_0x219f22[_0x99941f(0x338)]();}},_0x348f1d;}async[_0xff6382(0x127)](_0x324b58,_0x54e6b9){var _0x2f26fa=_0xff6382,_0x1e0bda;const {unitType:_0x37be97,unitID:_0x3e1527,changeset:_0x38845d}=_0x54e6b9[_0x2f26fa(0x39d)],_0x365b20={'unitID':_0x3e1527,'memberID':_0x324b58[_0x2f26fa(0x2a0)],'type':_0x37be97,'changeset':_0x52f624(_0x38845d)},_0x5f6be4=this[_0x2f26fa(0x1e2)][_0x2f26fa(0x2d1)](K),_0x1b1c56=qs((_0x1e0bda=_0x5f6be4==null?void 0x0:_0x5f6be4['collabSubmitChangesetUrl'])!=null?_0x1e0bda:Ns,_0x37be97,_0x3e1527);try{await this[_0x2f26fa(0x226)][_0x2f26fa(0x3d3)](_0x1b1c56,{'body':_0x365b20});}catch(_0x4ec67b){throw this[_0x2f26fa(0x16e)][_0x2f26fa(0x220)]('[CollaborationSession]',_0x2f26fa(0x402)),_0x4ec67b;}}async['_fetchMissChangesets'](_0x463ded){var _0x3743af=_0xff6382;const {unitID:_0x2f370f,from:_0x566918,to:_0x3b2bf2,unitType:_0x1b7041}=_0x463ded[_0x3743af(0x39d)];return(await this['_snapshotServerService'][_0x3743af(0x3d9)]({'metadata':void 0x0},{'unitID':_0x2f370f,'type':_0x1b7041,'from':_0x566918,'to':_0x3b2bf2}))['changesets'][_0x3743af(0xf6)](_0xe2caf2=>((_0xe2caf2[_0x3743af(0x3ae)]===null||_0xe2caf2[_0x3743af(0x3ae)]===void 0x0)&&(_0xe2caf2[_0x3743af(0x3ae)]=[]),_0xe2caf2));}};Gt=Ks([ye(0x0,_0x26f1c4(_0x479e14)),ye(0x1,_0x26f1c4(_0x3b36ba)),ye(0x2,_0x5839d5),ye(0x3,_0x4b39d4),ye(0x4,_0x3fcbd6)],Gt);var zs=Object[_0xff6382(0x169)],Xs=(_0x5aeac6,_0x1075bf,_0xaa9f87,_0x1f35b7)=>{var _0xbd316e=_0xff6382;for(var _0x460c10=_0x1f35b7>0x1?void 0x0:_0x1f35b7?zs(_0x1075bf,_0xaa9f87):_0x1075bf,_0xc57103=_0x5aeac6[_0xbd316e(0xfe)]-0x1,_0x5e0dd1;_0xc57103>=0x0;_0xc57103--)(_0x5e0dd1=_0x5aeac6[_0xc57103])&&(_0x460c10=_0x5e0dd1(_0x460c10)||_0x460c10);return _0x460c10;},Re=(_0x5aacbf,_0x3e2121)=>(_0x2bb4fa,_0x41ff32)=>_0x3e2121(_0x2bb4fa,_0x41ff32,_0x5aacbf);let we=class extends _0x4c3f97{constructor(_0x51a44e,_0x32322f,_0x5c6317,_0x11e90c,_0x388618,_0x230de7){var _0x564b81=_0xff6382;super(),D(this,_0x564b81(0x111),new _0x409cb3(void 0x0)),D(this,_0x564b81(0x218),this[_0x564b81(0x111)][_0x564b81(0x3ac)]()),D(this,'_candidateSocket',null),D(this,_0x564b81(0x157),new Map()),D(this,_0x564b81(0x21a),new _0x409cb3(me[_0x564b81(0x12f)])),D(this,_0x564b81(0x167),this[_0x564b81(0x21a)][_0x564b81(0x3ac)]()),D(this,_0x564b81(0x142),!0x1),D(this,_0x564b81(0x107)),D(this,_0x564b81(0x294),0x0),D(this,_0x564b81(0x38f)),D(this,_0x564b81(0x33a)),(this[_0x564b81(0x2c0)]=_0x51a44e,this[_0x564b81(0x16e)]=_0x32322f,this[_0x564b81(0x1e2)]=_0x5c6317,this['_socketService']=_0x11e90c,this[_0x564b81(0x3b9)]=_0x388618,this['_networkConditionService']=_0x230de7,this[_0x564b81(0x2dc)]());}get['_socket'](){var _0x7806b5=_0xff6382;return this[_0x7806b5(0x111)][_0x7806b5(0x3d1)]();}[_0xff6382(0x2dc)](){var _0x582b8d=_0xff6382;this['_networkConditionService']&&this['disposeWithMe'](this[_0x582b8d(0x2bb)][_0x582b8d(0x16a)][_0x582b8d(0x33c)](_0x38f59a=>{var _0x4c24fb=_0x582b8d;_0x38f59a&&!this[_0x4c24fb(0x38a)]&&this['reconnect'](),_0x38f59a||this[_0x4c24fb(0x173)]();}));}['dispose'](){var _0x1db615=_0xff6382;super[_0x1db615(0x338)](),this[_0x1db615(0x3e2)](),this[_0x1db615(0x1fc)](),this[_0x1db615(0x35c)](),this[_0x1db615(0x157)][_0x1db615(0x3bd)](_0xa9d206=>_0xa9d206[_0x1db615(0x338)]()),this[_0x1db615(0x157)][_0x1db615(0xf7)](),this[_0x1db615(0x21a)]['complete']();}async[_0xff6382(0x38e)](_0x427ddf){var _0x5316eb=_0xff6382;if(this['_sessions']['has'](_0x427ddf))return this[_0x5316eb(0x157)][_0x5316eb(0x22d)](_0x427ddf);this[_0x5316eb(0x18c)]();const _0x5bbc2e=this[_0x5316eb(0x2c0)][_0x5316eb(0x2a5)](mt,_0x427ddf,this[_0x5316eb(0x111)][_0x5316eb(0x3ac)]());return this[_0x5316eb(0x157)][_0x5316eb(0x36a)](_0x427ddf,_0x5bbc2e),_0x5bbc2e;}['closeSession'](_0x942aaf){var _0x31611c=_0xff6382,_0x35e324;const _0x368f4f=this[_0x31611c(0x157)][_0x31611c(0x22d)](_0x942aaf);_0x368f4f&&(this[_0x31611c(0x157)][_0x31611c(0x1de)](_0x942aaf),_0x368f4f[_0x31611c(0x3d5)]()),this[_0x31611c(0x157)][_0x31611c(0x18e)]||(_0x35e324=this[_0x31611c(0x38a)])==null||_0x35e324[_0x31611c(0x3d5)]();}[_0xff6382(0x11f)](){var _0x4228ba=_0xff6382;this[_0x4228ba(0x294)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x4228ba(0x39a)]();}[_0xff6382(0x3e2)](){var _0x14760a=_0xff6382;this[_0x14760a(0x107)]!=null&&(clearTimeout(this[_0x14760a(0x107)]),this[_0x14760a(0x107)]=null);}async[_0xff6382(0x23d)](){var _0x6acf75=_0xff6382,_0x1afd6d;const _0x2017ca=this[_0x6acf75(0x1e2)][_0x6acf75(0x2d1)](K),_0x225b0a=(_0x1afd6d=_0x2017ca==null?void 0x0:_0x2017ca['collabWebSocketUrl'])!=null?_0x1afd6d:Is,_0x461fa9=await this[_0x6acf75(0x1cb)]['createSocket'](_0x225b0a);return this['_candidateSocket']=_0x461fa9,_0x461fa9;}async[_0xff6382(0x18c)](){var _0x406b22=_0xff6382,_0x350d5d,_0x4cd33a;try{const _0x491768=(_0x4cd33a=(_0x350d5d=this['_socket'])!=null?_0x350d5d:this[_0x406b22(0x25b)])!=null?_0x4cd33a:await this[_0x406b22(0x23d)]();if(_0x491768){const _0x2e65d0=_0x491768[_0x406b22(0x1b2)];_0x491768[_0x406b22(0x1b2)]=_0x1e96b6=>(this[_0x406b22(0x3a9)](),_0x2e65d0[_0x406b22(0x32f)](_0x491768,[_0x1e96b6])),_0x491768[_0x406b22(0x1ff)][_0x406b22(0x33c)](_0x410f68=>this[_0x406b22(0x3bc)](_0x491768,_0x410f68)),_0x491768[_0x406b22(0x1b1)][_0x406b22(0x1fa)](_0x25913a(0x1))[_0x406b22(0x33c)](_0x275e01=>this[_0x406b22(0x16e)][_0x406b22(0x220)](_0x406b22(0x21f),_0x275e01)),_0x491768[_0x406b22(0x33e)][_0x406b22(0x1fa)](_0x25913a(0x1))[_0x406b22(0x33c)](()=>{var _0x26cc50=_0x406b22;this[_0x26cc50(0x26c)](_0x491768);}),_0x491768['close$']['pipe'](_0x25913a(0x1))[_0x406b22(0x33c)](_0xe93930=>{var _0x35c295=_0x406b22;this[_0x35c295(0x16e)]['debug'](_0x35c295(0x27e),'socket\x20close',_0xe93930),this[_0x35c295(0x384)]();});}}catch(_0x44c394){this[_0x406b22(0x16e)][_0x406b22(0x220)](_0x44c394),this[_0x406b22(0x384)]();}}[_0xff6382(0x26c)](_0x3e9e62){var _0x33cbf0=_0xff6382;this[_0x33cbf0(0x16e)]['debug'](_0x33cbf0(0x27e),'socket\x20open.'),_0x3e9e62['send']({'cmd':j[_0x33cbf0(0x17c)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x420bca=_0xff6382;this[_0x420bca(0x142)]=!0x1,this[_0x420bca(0x25b)]=null,this[_0x420bca(0x21a)][_0x420bca(0x118)](me['OFFLINE']),this['_socket$'][_0x420bca(0x118)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0xff6382(0x384)](){var _0x43a6b5=_0xff6382,_0x50cc17;this[_0x43a6b5(0x173)](),this[_0x43a6b5(0x294)]<((_0x50cc17=this['_configService']['getConfig'](Os))!=null?_0x50cc17:Rs)?(this[_0x43a6b5(0x3b9)][_0x43a6b5(0x26e)]({'id':re['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x43a6b5(0x3b9)][_0x43a6b5(0x26e)]({'id':re[_0x43a6b5(0x24a)]});}['_tryReconnect'](){var _0x54ed01=_0xff6382,_0x4cb52a;const _0x3dff41=this[_0x54ed01(0x294)],_0x17be30=this['_configService'][_0x54ed01(0x2d1)](K),_0x35ef73=_0x3dff41===0x0?0x0:((_0x4cb52a=_0x17be30==null?void 0x0:_0x17be30[_0x54ed01(0x104)])!=null?_0x4cb52a:Ts)*0x2**_0x3dff41;this[_0x54ed01(0x107)]=setTimeout(()=>{var _0x4ffbf3=_0x54ed01;clearTimeout(this[_0x4ffbf3(0x107)]),this['_retryConnectingTimer']=null,this[_0x4ffbf3(0x18c)]();},_0x35ef73),this[_0x54ed01(0x294)]+=0x1;}[_0xff6382(0x3bc)](_0x89f6aa,_0x1b20ef){var _0x4df3e4=_0xff6382;const {cmd:_0x1acb24}=_0x1b20ef;_0x1acb24===j[_0x4df3e4(0x17c)]&&!this[_0x4df3e4(0x142)]&&(_0x89f6aa[_0x4df3e4(0x2a0)]=_0x1b20ef[_0x4df3e4(0x39d)][_0x4df3e4(0x2a0)],this[_0x4df3e4(0x111)][_0x4df3e4(0x118)](_0x89f6aa),this[_0x4df3e4(0x21a)]['next'](me['ONLINE']),this[_0x4df3e4(0x142)]=!0x0,this[_0x4df3e4(0x25b)]=null),_0x1acb24===j[_0x4df3e4(0x3fe)]&&this[_0x4df3e4(0x1fc)](),this[_0x4df3e4(0x3a9)]();}['_rescheduleHeartbeat'](){var _0x32b079=_0xff6382,_0x3e7c20;this['_clearHeartbeatTimer'](),this[_0x32b079(0x38f)]=setTimeout(()=>this[_0x32b079(0x124)](),(_0x3e7c20=this[_0x32b079(0x1e2)][_0x32b079(0x2d1)](Ss))!=null?_0x3e7c20:gs);}[_0xff6382(0x124)](){var _0x23d1c4=_0xff6382;this[_0x23d1c4(0x38a)][_0x23d1c4(0x1b2)]({'cmd':j[_0x23d1c4(0x3fe)]}),this[_0x23d1c4(0x1c2)]();}[_0xff6382(0x1c2)](){var _0x1cede5=_0xff6382,_0x51c123;this[_0x1cede5(0x33a)]=setTimeout(()=>this[_0x1cede5(0x384)](),(_0x51c123=this[_0x1cede5(0x1e2)][_0x1cede5(0x2d1)](di))!=null?_0x51c123:fi);}[_0xff6382(0x35c)](){var _0x3029a2=_0xff6382;this[_0x3029a2(0x38f)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0xff6382(0x1fc)](){var _0x4e01d3=_0xff6382;this[_0x4e01d3(0x33a)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4e01d3(0x33a)]=null);}};we=Xs([Re(0x0,_0x26f1c4(_0x479e14)),Re(0x1,_0x4b39d4),Re(0x2,_0x5839d5),Re(0x3,Ri),Re(0x4,_0x26f1c4(ve)),Re(0x5,_0x197a74(Vs))],we);var Js=Object[_0xff6382(0x169)],Zs=(_0x526199,_0x192dd2,_0x14d72b,_0x5b5692)=>{var _0x4afa6f=_0xff6382;for(var _0x51c37d=_0x5b5692>0x1?void 0x0:_0x5b5692?Js(_0x192dd2,_0x14d72b):_0x192dd2,_0x4c4422=_0x526199[_0x4afa6f(0xfe)]-0x1,_0x2482b8;_0x4c4422>=0x0;_0x4c4422--)(_0x2482b8=_0x526199[_0x4c4422])&&(_0x51c37d=_0x2482b8(_0x51c37d)||_0x51c37d);return _0x51c37d;},Be=(_0x4cfa95,_0x423601)=>(_0x244453,_0x50e5de)=>_0x423601(_0x244453,_0x50e5de,_0x4cfa95);let nt=class extends _0x1734f1{constructor(_0x34dda3,_0x72e043,_0x1b72cf,_0x48e93e){var _0x46ac2f=_0xff6382,_0x3f13ab;super(),D(this,_0x46ac2f(0x246),new Map()),D(this,_0x46ac2f(0x28c),new _0x14e298()),D(this,_0x46ac2f(0x31d),this['_entityInit$'][_0x46ac2f(0x3ac)]()),(this[_0x46ac2f(0x2c0)]=_0x34dda3,this[_0x46ac2f(0x208)]=_0x72e043,this[_0x46ac2f(0x1e2)]=_0x1b72cf,this[_0x46ac2f(0x2da)]=_0x48e93e,((_0x3f13ab=this[_0x46ac2f(0x1e2)][_0x46ac2f(0x2d1)](K))==null?void 0x0:_0x3f13ab['enableCollaboration'])!==!0x1&&this[_0x46ac2f(0x34d)]());}[_0xff6382(0x338)](){var _0x52c518=_0xff6382;super[_0x52c518(0x338)](),this[_0x52c518(0x246)]['forEach'](_0x5dbc28=>_0x5dbc28[_0x52c518(0x338)]()),this['_entities'][_0x52c518(0xf7)]();}[_0xff6382(0x359)](_0x2e1866){var _0x468a84;return(_0x468a84=this['_entities']['get'](_0x2e1866))!=null?_0x468a84:null;}[_0xff6382(0x35f)](_0x5e989c){var _0x1dba06=_0xff6382;const _0x16d0a3=this['getCollabEntity'](_0x5e989c);return _0x16d0a3?_0x6da436(_0x16d0a3):this['_entityInit$'][_0x1dba06(0x1fa)](_0x5f2611(_0x58915f=>_0x58915f[_0x1dba06(0x2cc)]===_0x5e989c));}[_0xff6382(0x29e)](_0x3ed378){var _0xe682f4=_0xff6382;return _0x2c9db1(this[_0xe682f4(0x35f)](_0x3ed378)[_0xe682f4(0x1fa)](_0x240bec(()=>{})));}[_0xff6382(0x34d)](){var _0x1107ca=_0xff6382;this[_0x1107ca(0x2da)]['getTypeOfUnitAdded$'](_0x20192f[_0x1107ca(0xf5)])['pipe'](_0x4f5e1f(this[_0x1107ca(0x39c)]),_0x319d5e(0x10))[_0x1107ca(0x33c)](async _0x40f058=>{var _0x8a2afb=_0x1107ca;const _0x3ab8b0=_0x40f058[_0x8a2afb(0x143)](),_0x522d31=await this[_0x8a2afb(0x2b6)](_0x3ab8b0,Q[_0x8a2afb(0xf5)]);this[_0x8a2afb(0x246)][_0x8a2afb(0x36a)](_0x3ab8b0,_0x522d31);}),this[_0x1107ca(0x2da)]['getTypeOfUnitAdded$'](_0x20192f[_0x1107ca(0x1c6)])[_0x1107ca(0x1fa)](_0x4f5e1f(this[_0x1107ca(0x39c)]),_0x319d5e(0x10))['pipe'](_0x5f2611(_0x9e0726=>!_0x9e0726['getUnitId']()[_0x1107ca(0x197)]('__')))[_0x1107ca(0x33c)](async _0x2ca7be=>{var _0x3c9ad4=_0x1107ca;const _0x181b9a=_0x2ca7be[_0x3c9ad4(0x143)](),_0x378638=await this[_0x3c9ad4(0x2b6)](_0x181b9a,Q[_0x3c9ad4(0x1c6)]);this[_0x3c9ad4(0x246)]['set'](_0x181b9a,_0x378638);}),_0x301fbe(this['_univerInstanceService'][_0x1107ca(0x31c)](_0x20192f[_0x1107ca(0xf5)]),this[_0x1107ca(0x2da)][_0x1107ca(0x31c)](_0x20192f[_0x1107ca(0x1c6)]))[_0x1107ca(0x1fa)](_0x4f5e1f(this[_0x1107ca(0x39c)]))[_0x1107ca(0x33c)](_0x1c05b7=>{var _0x81c6b9=_0x1107ca;const _0x33d5b2=_0x1c05b7[_0x81c6b9(0x143)](),_0x42a741=this['_entities'][_0x81c6b9(0x22d)](_0x33d5b2);_0x42a741&&(_0x42a741[_0x81c6b9(0x338)](),this[_0x81c6b9(0x246)][_0x81c6b9(0x1de)](_0x33d5b2));});}async[_0xff6382(0x2b6)](_0x1a4e8a,_0x29bba5){var _0x22c58e=_0xff6382;const _0x2af2f3=await this[_0x22c58e(0x208)][_0x22c58e(0x38e)](_0x1a4e8a),_0x11d595=this[_0x22c58e(0x2c0)]['createInstance'](this[_0x22c58e(0x27b)](_0x29bba5),_0x1a4e8a,_0x29bba5,_0x2af2f3);return await _0x11d595[_0x22c58e(0x12d)](),this[_0x22c58e(0x28c)][_0x22c58e(0x118)](_0x11d595),_0x11d595;}[_0xff6382(0x27b)](_0xf3ea62){var _0xefe309=_0xff6382;switch(_0xf3ea62){case Q['UNIVER_DOC']:return It;case Q[_0xefe309(0xf5)]:return St;default:throw new Error(_0xefe309(0x130)+_0xf3ea62);}}};nt=Zs([Be(0x0,_0x26f1c4(_0x479e14)),Be(0x1,_0x26f1c4(we)),Be(0x2,_0x5839d5),Be(0x3,_0x3c78cc)],nt);var Qs=Object[_0xff6382(0x169)],en=(_0x19b7f4,_0x20c098,_0x57ad60,_0x1bd0c6)=>{for(var _0x45d053=_0x1bd0c6>0x1?void 0x0:_0x1bd0c6?Qs(_0x20c098,_0x57ad60):_0x20c098,_0x121c33=_0x19b7f4['length']-0x1,_0x53c105;_0x121c33>=0x0;_0x121c33--)(_0x53c105=_0x19b7f4[_0x121c33])&&(_0x45d053=_0x53c105(_0x45d053)||_0x45d053);return _0x45d053;},Wt=(_0x170809,_0x35de92)=>(_0x6df7ac,_0x50bc10)=>_0x35de92(_0x6df7ac,_0x50bc10,_0x170809);const tn='DEFAULT_FILE_NAME',sn=_0xff6382(0x153);let gt=class extends _0x4c3f97{constructor(_0x5971fe,_0x404de5){var _0x382955=_0xff6382;super(),this[_0x382955(0x2da)]=_0x5971fe,this[_0x382955(0x1e2)]=_0x404de5,this[_0x382955(0x34d)]();}[_0xff6382(0x34d)](){var _0x1b0538=_0xff6382;this[_0x1b0538(0x360)](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x383f92=_0x1b0538,_0x4df593;const _0x5f30c2=this[_0x383f92(0x2da)][_0x383f92(0x319)]();let _0x4ad921=(_0x4df593=this[_0x383f92(0x1e2)][_0x383f92(0x2d1)](tn))!=null?_0x4df593:sn;_0x5f30c2 instanceof _0x4e7964&&(_0x4ad921=_0x5f30c2[_0x383f92(0x261)]),document['title']=_0x4ad921;}));}};gt=en([Wt(0x0,_0x3c78cc),Wt(0x1,_0x5839d5)],gt);var nn=Object[_0xff6382(0x169)],rn=(_0x56f4a0,_0x2f5d26,_0x5f4be6,_0x31634f)=>{for(var _0xd1ec0e=_0x31634f>0x1?void 0x0:_0x31634f?nn(_0x2f5d26,_0x5f4be6):_0x2f5d26,_0x41869e=_0x56f4a0['length']-0x1,_0x3dae76;_0x41869e>=0x0;_0x41869e--)(_0x3dae76=_0x56f4a0[_0x41869e])&&(_0xd1ec0e=_0x3dae76(_0xd1ec0e)||_0xd1ec0e);return _0xd1ec0e;},dt=(_0x3e42f0,_0x2b5cb6)=>(_0x5d7ddb,_0x491810)=>_0x2b5cb6(_0x5d7ddb,_0x491810,_0x3e42f0);let rt=class{constructor(_0x392271,_0x386b54,_0x90748b){var _0x3661d6=_0xff6382;this[_0x3661d6(0x1e2)]=_0x392271,this[_0x3661d6(0x226)]=_0x386b54,this[_0x3661d6(0x248)]=_0x90748b,this[_0x3661d6(0x12d)]();}[_0xff6382(0x12d)](){var _0x3fa863=_0xff6382;this[_0x3fa863(0x226)][_0x3fa863(0x327)]({'priority':0x1,'interceptor':(_0x1e5c0e,_0x37b3a7)=>_0x37b3a7(_0x1e5c0e)['pipe'](_0x390195(async _0x1dabcf=>{var _0x3e8e22=_0x3fa863;const _0x4be59d=_0x1dabcf;if(_0x4be59d[_0x3e8e22(0x22e)]===0x191){if(typeof window>'u')throw new Error(_0x3e8e22(0x346));if(window[_0x3e8e22(0x116)](this[_0x3e8e22(0x248)]['t'](_0x3e8e22(0x166)))){const _0x5cd45f=window[_0x3e8e22(0x3e3)](window[_0x3e8e22(0x180)][_0x3e8e22(0x2fc)]);window[_0x3e8e22(0x180)][_0x3e8e22(0x2fc)]=this[_0x3e8e22(0x1e3)]()+_0x3e8e22(0x317)+_0x5cd45f;}}return _0x4be59d;}))});}[_0xff6382(0x1e3)](){var _0x45043d=_0xff6382,_0x22bcd7;const _0x242682=this[_0x45043d(0x1e2)]['getConfig'](K);return(_0x22bcd7=_0x242682==null?void 0x0:_0x242682[_0x45043d(0x221)])!=null?_0x22bcd7:Cs;}};rt=rn([dt(0x0,_0x5839d5),dt(0x1,_0x26f1c4(_0x3b36ba)),dt(0x2,_0x26f1c4(_0x40557f))],rt);var an=Object[_0xff6382(0x169)],on=(_0x52d2aa,_0x3f16a4,_0x126242,_0x5e2a55)=>{var _0x477813=_0xff6382;for(var _0x30c752=_0x5e2a55>0x1?void 0x0:_0x5e2a55?an(_0x3f16a4,_0x126242):_0x3f16a4,_0x2be7e5=_0x52d2aa[_0x477813(0xfe)]-0x1,_0x4250ab;_0x2be7e5>=0x0;_0x2be7e5--)(_0x4250ab=_0x52d2aa[_0x2be7e5])&&(_0x30c752=_0x4250ab(_0x30c752)||_0x30c752);return _0x30c752;},Yt=(_0x770fdc,_0x1190b9)=>(_0x4efc66,_0x329acf)=>_0x1190b9(_0x4efc66,_0x329acf,_0x770fdc);const cn='/universer-api/authz';let Tt=class extends _0x4c3f97{constructor(_0x5326b1,_0x40f0cc){var _0x361762=_0xff6382;super(),this['_HTTPService']=_0x5326b1,this[_0x361762(0x1e2)]=_0x40f0cc,this[_0x361762(0x1ad)]();}[_0xff6382(0x1ad)](){const _0x7317c1=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x259374({'isMatch'(_0x37513a){var _0x8c7d30=_0x3f92,_0x3f2991;if(_0x37513a[_0x8c7d30(0x1fb)]===_0x8c7d30(0x39f)&&((_0x3f2991=_0x37513a['requestParams'])!=null&&_0x3f2991['body'])){const {objectID:_0x30e941,objectType:_0x3c8881}=_0x37513a[_0x8c7d30(0x2a6)][_0x8c7d30(0x35b)]||{};if(!_0x30e941||_0x3c8881===void 0x0)return!0x1;const _0x7e0e08=_0x7317c1[_0x8c7d30(0x298)]()+'/'+_0x3c8881+_0x8c7d30(0x18a)+_0x30e941+_0x8c7d30(0x3db);if(_0x37513a[_0x8c7d30(0x1c5)]===_0x7e0e08)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3a287b){var _0x2a74d2=_0x3f92,_0x29cb8d;return(_0x29cb8d=_0x3a287b[_0x2a74d2(0x2a6)])==null?void 0x0:_0x29cb8d['body'];},'mergeParamsToRequest'(_0x58ee46,_0x202303){var _0x18a31e=_0x3f92;const _0x828afb=_0x7317c1[_0x18a31e(0x298)]()+_0x18a31e(0x22b),_0x43ab51=_0x58ee46[_0x18a31e(0x122)]((_0xe2bfd2,_0x40cd6b)=>{var _0x4f7ab2=_0x18a31e;const {unitID:_0x26e088,objectID:_0x5e0225,objectType:_0x497e3c,actions:_0x200651}=_0x40cd6b;return _0xe2bfd2[_0x26e088]||(_0xe2bfd2[_0x26e088]={}),_0xe2bfd2[_0x26e088][_0x5e0225]||(_0xe2bfd2[_0x26e088][_0x5e0225]={'objectID':_0x5e0225,'objectType':_0x497e3c,'actions':[]}),_0xe2bfd2[_0x26e088][_0x5e0225][_0x4f7ab2(0x12c)]['push'](..._0x200651),_0xe2bfd2;},{}),_0x41e147=[];for(const _0x11c8b2 in _0x43ab51)for(const _0x3745df in _0x43ab51[_0x11c8b2]){const {actions:_0x24f838,objectType:_0x48ce97}=_0x43ab51[_0x11c8b2][_0x3745df],_0x352d5d=[...new Set(_0x24f838)];_0x41e147[_0x18a31e(0x1ed)]({'unitID':_0x11c8b2,'objectID':_0x3745df,'objectType':_0x48ce97,'actions':_0x352d5d});}return new _0x535316(_0x18a31e(0x39f),_0x828afb,{'headers':_0x202303[_0x18a31e(0x2d3)],'withCredentials':_0x202303[_0x18a31e(0x187)],'responseType':_0x202303[_0x18a31e(0x1b8)],'body':{'requests':_0x41e147}});}},{'distributeResult'(_0xfb6a3f,_0x3f26c2){var _0x4282ac=_0x3f92;const {objectActions:_0x3c5d13}=_0xfb6a3f;return _0x3f26c2[_0x4282ac(0xf6)](_0x44116e=>{var _0x57431f=_0x4282ac;const {unitID:_0x5d56f7,objectID:_0x4f1ce5,actions:_0xaea6fc}=_0x44116e,_0x969523=_0x3c5d13[_0x57431f(0x284)](_0x3088d5=>_0x3088d5['unitID']===_0x5d56f7&&_0x3088d5[_0x57431f(0x3a8)]===_0x4f1ce5),_0x36b2cb=_0xaea6fc[_0x57431f(0xf6)](_0x144588=>_0x969523==null?void 0x0:_0x969523[_0x57431f(0x12c)][_0x57431f(0x284)](_0x4891a8=>_0x4891a8['action']===_0x144588))['filter'](_0x451370=>!!_0x451370);return{'config':_0x44116e,'result':{'actions':_0x36b2cb,'error':_0xfb6a3f[_0x57431f(0x220)]}};});}})}));}[_0xff6382(0x298)](){var _0x54bd8c=_0xff6382,_0x361139;const _0x322c6e=this[_0x54bd8c(0x1e2)][_0x54bd8c(0x2d1)](K);return(_0x361139=_0x322c6e==null?void 0x0:_0x322c6e[_0x54bd8c(0x2d9)])!=null?_0x361139:cn;}async[_0xff6382(0x222)](_0x386921){var _0x141489=_0xff6382;const _0x155fea=this[_0x141489(0x298)]()+'/'+_0x386921[_0x141489(0x403)]+'/object';return(await this[_0x141489(0x3cd)][_0x141489(0x3d3)](_0x155fea,{'body':_0x386921}))[_0x141489(0x35b)]['objectID']||'';}async[_0xff6382(0x3ca)](_0x159616){var _0x146b90=_0xff6382;const _0x4f963c=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x146b90(0x3cd)][_0x146b90(0x3d3)](_0x4f963c,{'body':_0x159616}))['body'][_0x146b90(0x3f4)];}async['update'](_0x3930fe){var _0x3c42c6=_0xff6382,_0x470bc4,_0x28605c;const _0x4b6fd3=this[_0x3c42c6(0x298)]()+'/'+_0x3930fe[_0x3c42c6(0x403)]+_0x3c42c6(0x18a)+_0x3930fe[_0x3c42c6(0x3a8)],_0x161211=await this[_0x3c42c6(0x3cd)][_0x3c42c6(0x344)](_0x4b6fd3,{'body':_0x3930fe});if(((_0x28605c=(_0x470bc4=_0x161211==null?void 0x0:_0x161211['body'])==null?void 0x0:_0x470bc4['error'])==null?void 0x0:_0x28605c[_0x3c42c6(0x199)])!==0x1)throw new Error(_0x3c42c6(0x345));}async[_0xff6382(0x219)](_0x548530){var _0x648bd3=_0xff6382;const _0x12320a=this[_0x648bd3(0x298)]()+'/'+_0x548530['objectType']+'/object/'+_0x548530['objectID']+_0x648bd3(0x3db);return(await this[_0x648bd3(0x3cd)][_0x648bd3(0x3d3)](_0x12320a,{'body':_0x548530}))[_0x648bd3(0x35b)][_0x648bd3(0x12c)];}async['batchAllowed'](_0x34700e){var _0x3b5589=_0xff6382;const _0x3c6653=this['_getAPIPrefixPath']()+_0x3b5589(0x22b);return(await this[_0x3b5589(0x3cd)][_0x3b5589(0x3d3)](_0x3c6653,{'body':{'requests':_0x34700e}}))[_0x3b5589(0x35b)][_0x3b5589(0x3b6)];}async[_0xff6382(0x138)](_0x2df701){var _0x11092a=_0xff6382;const _0x429e36=this[_0x11092a(0x298)]()+'/'+_0x2df701[_0x11092a(0x403)]+_0x11092a(0x1d8),_0x369ee7=await this['_HTTPService'][_0x11092a(0x3d3)](_0x429e36,{'body':_0x2df701});return{'roles':_0x369ee7['body'][_0x11092a(0x232)],'actions':_0x369ee7['body']['actions']};}async[_0xff6382(0x16d)](_0xe4f9cd){var _0x395d0b=_0xff6382;const _0x3a7255=this[_0x395d0b(0x298)]()+'/collaborator';await this[_0x395d0b(0x3cd)][_0x395d0b(0x1de)](_0x3a7255,{'params':{'collaboratorID':_0xe4f9cd['collaboratorID'],'objectID':_0xe4f9cd[_0x395d0b(0x3a8)],'unitID':_0xe4f9cd[_0x395d0b(0x2cc)]}});}async[_0xff6382(0x27a)](_0x14da96){var _0xd65c24=_0xff6382;const _0x14da97=this[_0xd65c24(0x298)]()+'/collaborator';await this['_HTTPService'][_0xd65c24(0x3ee)](_0x14da97,{'body':_0x14da96});}async[_0xff6382(0x14a)](_0x5e2815){var _0x29b984=_0xff6382;const _0x3dde2b=this[_0x29b984(0x298)]()+'/collaborator';await this['_HTTPService'][_0x29b984(0x3d3)](_0x3dde2b,{'body':_0x5e2815});}async['listCollaborators'](_0x5ae3f7){var _0x13d015=_0xff6382;const _0x3dfd5f=this['_getAPIPrefixPath']()+_0x13d015(0x341);return(await this[_0x13d015(0x3cd)][_0x13d015(0x22d)](_0x3dfd5f,{'params':{'objectID':_0x5ae3f7['objectID'],'unitID':_0x5ae3f7[_0x13d015(0x2cc)]}}))[_0x13d015(0x35b)][_0x13d015(0x12e)];}async[_0xff6382(0x293)](_0x43575e){var _0x2552e8=_0xff6382;const _0x43a39b=this[_0x2552e8(0x298)]()+'/collaborator';await this[_0x2552e8(0x3cd)]['put'](_0x43a39b,{'body':_0x43575e});}};Tt=on([Yt(0x0,_0x26f1c4(_0x3b36ba)),Yt(0x1,_0x26f1c4(_0x5839d5))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4e9e24){var _0x37298c=_0xff6382;return _0x4e9e24&&_0x4e9e24['__esModule']&&Object['prototype']['hasOwnProperty'][_0x37298c(0x335)](_0x4e9e24,_0x37298c(0x1a4))?_0x4e9e24[_0x37298c(0x1a4)]:_0x4e9e24;}var Ve={'exports':{}};function _n(_0xf67a69){var _0x5dfaec=_0xff6382;throw new Error(_0x5dfaec(0x3be)+_0xf67a69+_0x5dfaec(0x296));}var Ge={'exports':{}},hn=Ge[_0xff6382(0x251)],Kt;function ie(){var _0x15c47f=_0xff6382;return Kt||(Kt=0x1,function(_0x37395f,_0x3ab62b){(function(_0x20dd5c,_0x88ba0f){var _0x295f1e=_0x3f92;_0x37395f[_0x295f1e(0x251)]=_0x88ba0f();}(hn,function(){var _0x436993=_0x436993||function(_0x29a2e6,_0x3e1453){var _0x2493a0=_0x3f92,_0x511943;if(typeof window<'u'&&window[_0x2493a0(0x3cf)]&&(_0x511943=window[_0x2493a0(0x3cf)]),typeof self<'u'&&self[_0x2493a0(0x3cf)]&&(_0x511943=self[_0x2493a0(0x3cf)]),typeof globalThis<'u'&&globalThis[_0x2493a0(0x3cf)]&&(_0x511943=globalThis[_0x2493a0(0x3cf)]),!_0x511943&&typeof window<'u'&&window[_0x2493a0(0x20c)]&&(_0x511943=window['msCrypto']),!_0x511943&&typeof ft<'u'&&ft[_0x2493a0(0x3cf)]&&(_0x511943=ft[_0x2493a0(0x3cf)]),!_0x511943&&typeof _n==_0x2493a0(0xf8))try{_0x511943=require('crypto');}catch{}var _0x78f66f=function(){var _0x3055f8=_0x2493a0;if(_0x511943){if(typeof _0x511943[_0x3055f8(0x3ce)]==_0x3055f8(0xf8))try{return _0x511943[_0x3055f8(0x3ce)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x511943['randomBytes']=='function')try{return _0x511943[_0x3055f8(0x28e)](0x4)[_0x3055f8(0x217)]();}catch{}}throw new Error(_0x3055f8(0x237));},_0x50f209=Object[_0x2493a0(0x222)]||(function(){function _0x573cc4(){}return function(_0x7380c7){var _0x526fa6=_0x3f92,_0x586d2b;return _0x573cc4[_0x526fa6(0x311)]=_0x7380c7,_0x586d2b=new _0x573cc4(),_0x573cc4['prototype']=null,_0x586d2b;};}()),_0x333dbf={},_0x20cb6e=_0x333dbf['lib']={},_0x2ccbba=_0x20cb6e[_0x2493a0(0x1d5)]=(function(){return{'extend':function(_0x3ea918){var _0x4ea482=_0x3f92,_0x37d817=_0x50f209(this);return _0x3ea918&&_0x37d817[_0x4ea482(0x3fc)](_0x3ea918),(!_0x37d817[_0x4ea482(0x334)]('init')||this[_0x4ea482(0x12d)]===_0x37d817[_0x4ea482(0x12d)])&&(_0x37d817[_0x4ea482(0x12d)]=function(){var _0x2097e3=_0x4ea482;_0x37d817['$super']['init'][_0x2097e3(0x32f)](this,arguments);}),_0x37d817[_0x4ea482(0x12d)]['prototype']=_0x37d817,_0x37d817[_0x4ea482(0x291)]=this,_0x37d817;},'create':function(){var _0x33acf5=_0x3f92,_0x288af3=this[_0x33acf5(0x29f)]();return _0x288af3[_0x33acf5(0x12d)][_0x33acf5(0x32f)](_0x288af3,arguments),_0x288af3;},'init':function(){},'mixIn':function(_0x431657){var _0x23fd26=_0x3f92;for(var _0x1ae683 in _0x431657)_0x431657[_0x23fd26(0x334)](_0x1ae683)&&(this[_0x1ae683]=_0x431657[_0x1ae683]);_0x431657['hasOwnProperty']('toString')&&(this[_0x23fd26(0x2d7)]=_0x431657[_0x23fd26(0x2d7)]);},'clone':function(){var _0x46ad40=_0x3f92;return this[_0x46ad40(0x12d)]['prototype'][_0x46ad40(0x29f)](this);}};}()),_0x117371=_0x20cb6e['WordArray']=_0x2ccbba[_0x2493a0(0x29f)]({'init':function(_0x5d3b9d,_0x2f9158){var _0x589710=_0x2493a0;_0x5d3b9d=this[_0x589710(0x1e0)]=_0x5d3b9d||[],_0x2f9158!=_0x3e1453?this[_0x589710(0x273)]=_0x2f9158:this[_0x589710(0x273)]=_0x5d3b9d[_0x589710(0xfe)]*0x4;},'toString':function(_0x27b6cd){var _0x2d1f12=_0x2493a0;return(_0x27b6cd||_0x37b1d4)[_0x2d1f12(0x3de)](this);},'concat':function(_0x3ccfe0){var _0x484347=_0x2493a0,_0x26f9e4=this[_0x484347(0x1e0)],_0x4ec50c=_0x3ccfe0[_0x484347(0x1e0)],_0x1e9a95=this[_0x484347(0x273)],_0x380363=_0x3ccfe0['sigBytes'];if(this[_0x484347(0x17f)](),_0x1e9a95%0x4)for(var _0x9cf902=0x0;_0x9cf902<_0x380363;_0x9cf902++){var _0x2d7852=_0x4ec50c[_0x9cf902>>>0x2]>>>0x18-_0x9cf902%0x4*0x8&0xff;_0x26f9e4[_0x1e9a95+_0x9cf902>>>0x2]|=_0x2d7852<<0x18-(_0x1e9a95+_0x9cf902)%0x4*0x8;}else{for(var _0x477f38=0x0;_0x477f38<_0x380363;_0x477f38+=0x4)_0x26f9e4[_0x1e9a95+_0x477f38>>>0x2]=_0x4ec50c[_0x477f38>>>0x2];}return this[_0x484347(0x273)]+=_0x380363,this;},'clamp':function(){var _0x14cbd8=_0x2493a0,_0x4cb5ba=this['words'],_0x3fb34c=this[_0x14cbd8(0x273)];_0x4cb5ba[_0x3fb34c>>>0x2]&=0xffffffff<<0x20-_0x3fb34c%0x4*0x8,_0x4cb5ba[_0x14cbd8(0xfe)]=_0x29a2e6[_0x14cbd8(0x2aa)](_0x3fb34c/0x4);},'clone':function(){var _0x35d2ea=_0x2493a0,_0x19b161=_0x2ccbba['clone'][_0x35d2ea(0x335)](this);return _0x19b161['words']=this['words']['slice'](0x0),_0x19b161;},'random':function(_0xd32aa7){var _0x264952=_0x2493a0;for(var _0x2a5bd7=[],_0xbf5c38=0x0;_0xbf5c38<_0xd32aa7;_0xbf5c38+=0x4)_0x2a5bd7['push'](_0x78f66f());return new _0x117371[(_0x264952(0x12d))](_0x2a5bd7,_0xd32aa7);}}),_0x328a6a=_0x333dbf[_0x2493a0(0x2c3)]={},_0x37b1d4=_0x328a6a[_0x2493a0(0x274)]={'stringify':function(_0x414b4e){var _0x70f62e=_0x2493a0;for(var _0x4299d1=_0x414b4e[_0x70f62e(0x1e0)],_0x3486ed=_0x414b4e[_0x70f62e(0x273)],_0x302f3a=[],_0x31fcf5=0x0;_0x31fcf5<_0x3486ed;_0x31fcf5++){var _0xee4b28=_0x4299d1[_0x31fcf5>>>0x2]>>>0x18-_0x31fcf5%0x4*0x8&0xff;_0x302f3a['push']((_0xee4b28>>>0x4)[_0x70f62e(0x2d7)](0x10)),_0x302f3a['push']((_0xee4b28&0xf)[_0x70f62e(0x2d7)](0x10));}return _0x302f3a[_0x70f62e(0x1f2)]('');},'parse':function(_0x110614){var _0x50fcf5=_0x2493a0;for(var _0x3fdc82=_0x110614[_0x50fcf5(0xfe)],_0x55ee77=[],_0x5a3482=0x0;_0x5a3482<_0x3fdc82;_0x5a3482+=0x2)_0x55ee77[_0x5a3482>>>0x3]|=parseInt(_0x110614[_0x50fcf5(0x3f6)](_0x5a3482,0x2),0x10)<<0x18-_0x5a3482%0x8*0x4;return new _0x117371['init'](_0x55ee77,_0x3fdc82/0x2);}},_0x2617b3=_0x328a6a[_0x2493a0(0x1cd)]={'stringify':function(_0x5381f1){var _0x3dbe00=_0x2493a0;for(var _0x32db25=_0x5381f1[_0x3dbe00(0x1e0)],_0x479b6b=_0x5381f1[_0x3dbe00(0x273)],_0x13d9fb=[],_0x5ca82b=0x0;_0x5ca82b<_0x479b6b;_0x5ca82b++){var _0x330ca1=_0x32db25[_0x5ca82b>>>0x2]>>>0x18-_0x5ca82b%0x4*0x8&0xff;_0x13d9fb[_0x3dbe00(0x1ed)](String[_0x3dbe00(0x37b)](_0x330ca1));}return _0x13d9fb[_0x3dbe00(0x1f2)]('');},'parse':function(_0x245f01){var _0xc4c578=_0x2493a0;for(var _0x11a6a8=_0x245f01[_0xc4c578(0xfe)],_0x314323=[],_0x8a4e86=0x0;_0x8a4e86<_0x11a6a8;_0x8a4e86++)_0x314323[_0x8a4e86>>>0x2]|=(_0x245f01[_0xc4c578(0x288)](_0x8a4e86)&0xff)<<0x18-_0x8a4e86%0x4*0x8;return new _0x117371[(_0xc4c578(0x12d))](_0x314323,_0x11a6a8);}},_0x44d5bf=_0x328a6a['Utf8']={'stringify':function(_0x2b9752){var _0x44fed0=_0x2493a0;try{return decodeURIComponent(escape(_0x2617b3[_0x44fed0(0x3de)](_0x2b9752)));}catch{throw new Error(_0x44fed0(0x161));}},'parse':function(_0x202b99){return _0x2617b3['parse'](unescape(encodeURIComponent(_0x202b99)));}},_0x210834=_0x20cb6e[_0x2493a0(0x37e)]=_0x2ccbba[_0x2493a0(0x29f)]({'reset':function(){var _0x1697b0=_0x2493a0;this[_0x1697b0(0x3c6)]=new _0x117371[(_0x1697b0(0x12d))](),this[_0x1697b0(0x1f3)]=0x0;},'_append':function(_0x536c47){var _0x39370b=_0x2493a0;typeof _0x536c47=='string'&&(_0x536c47=_0x44d5bf[_0x39370b(0x2f0)](_0x536c47)),this[_0x39370b(0x3c6)][_0x39370b(0x204)](_0x536c47),this[_0x39370b(0x1f3)]+=_0x536c47[_0x39370b(0x273)];},'_process':function(_0x320cb7){var _0x4e67d2=_0x2493a0,_0x4097e1,_0x4ebb32=this[_0x4e67d2(0x3c6)],_0x1d49f7=_0x4ebb32[_0x4e67d2(0x1e0)],_0x1d1133=_0x4ebb32[_0x4e67d2(0x273)],_0x1d531e=this[_0x4e67d2(0xe4)],_0x215b91=_0x1d531e*0x4,_0x3ab131=_0x1d1133/_0x215b91;_0x320cb7?_0x3ab131=_0x29a2e6[_0x4e67d2(0x2aa)](_0x3ab131):_0x3ab131=_0x29a2e6['max']((_0x3ab131|0x0)-this['_minBufferSize'],0x0);var _0x12423e=_0x3ab131*_0x1d531e,_0x15252c=_0x29a2e6[_0x4e67d2(0x332)](_0x12423e*0x4,_0x1d1133);if(_0x12423e){for(var _0x3c7aec=0x0;_0x3c7aec<_0x12423e;_0x3c7aec+=_0x1d531e)this['_doProcessBlock'](_0x1d49f7,_0x3c7aec);_0x4097e1=_0x1d49f7['splice'](0x0,_0x12423e),_0x4ebb32['sigBytes']-=_0x15252c;}return new _0x117371['init'](_0x4097e1,_0x15252c);},'clone':function(){var _0x4d60e2=_0x2493a0,_0x11d703=_0x2ccbba[_0x4d60e2(0x198)][_0x4d60e2(0x335)](this);return _0x11d703[_0x4d60e2(0x3c6)]=this[_0x4d60e2(0x3c6)][_0x4d60e2(0x198)](),_0x11d703;},'_minBufferSize':0x0});_0x20cb6e['Hasher']=_0x210834[_0x2493a0(0x29f)]({'cfg':_0x2ccbba[_0x2493a0(0x29f)](),'init':function(_0x178501){var _0x90f274=_0x2493a0;this[_0x90f274(0x303)]=this[_0x90f274(0x303)][_0x90f274(0x29f)](_0x178501),this[_0x90f274(0x206)]();},'reset':function(){var _0x2f15c2=_0x2493a0;_0x210834[_0x2f15c2(0x206)][_0x2f15c2(0x335)](this),this['_doReset']();},'update':function(_0x3be90b){var _0x295adc=_0x2493a0;return this['_append'](_0x3be90b),this[_0x295adc(0x1e1)](),this;},'finalize':function(_0x59e439){_0x59e439&&this['_append'](_0x59e439);var _0x5c7aad=this['_doFinalize']();return _0x5c7aad;},'blockSize':0x10,'_createHelper':function(_0x4ce16d){return function(_0x5e7782,_0x3b193d){var _0x392c16=_0x3f92;return new _0x4ce16d[(_0x392c16(0x12d))](_0x3b193d)[_0x392c16(0x3ba)](_0x5e7782);};},'_createHmacHelper':function(_0x168e6a){return function(_0x151433,_0x2a89a7){var _0x4342fb=_0x3f92;return new _0x3ad5ad[(_0x4342fb(0x3cc))]['init'](_0x168e6a,_0x2a89a7)[_0x4342fb(0x3ba)](_0x151433);};}});var _0x3ad5ad=_0x333dbf[_0x2493a0(0x3c3)]={};return _0x333dbf;}(Math);return _0x436993;}));}(Ge)),Ge[_0x15c47f(0x251)];}var We={'exports':{}},ln=We[_0xff6382(0x251)],qt;function Ni(){return qt||(qt=0x1,function(_0x3f39f7,_0x5a8a62){(function(_0x2d03d7,_0x3c4a77){var _0x38108c=_0x3f92;_0x3f39f7[_0x38108c(0x251)]=_0x3c4a77(ie());}(ln,function(_0x47979e){var _0x2841bf=_0x3f92;return(function(){var _0xdc03d8=_0x3f92,_0x29c883=_0x47979e,_0x1ae5f1=_0x29c883[_0xdc03d8(0x2f5)],_0x233f22=_0x1ae5f1[_0xdc03d8(0x375)],_0x546050=_0x29c883[_0xdc03d8(0x2c3)];_0x546050['Base64']={'stringify':function(_0x330cad){var _0x295700=_0xdc03d8,_0x5729c1=_0x330cad[_0x295700(0x1e0)],_0x178c27=_0x330cad['sigBytes'],_0x59319b=this[_0x295700(0x277)];_0x330cad['clamp']();for(var _0xa0152=[],_0x5e2066=0x0;_0x5e2066<_0x178c27;_0x5e2066+=0x3)for(var _0x360062=_0x5729c1[_0x5e2066>>>0x2]>>>0x18-_0x5e2066%0x4*0x8&0xff,_0x5d80c1=_0x5729c1[_0x5e2066+0x1>>>0x2]>>>0x18-(_0x5e2066+0x1)%0x4*0x8&0xff,_0x1ea2ab=_0x5729c1[_0x5e2066+0x2>>>0x2]>>>0x18-(_0x5e2066+0x2)%0x4*0x8&0xff,_0x556ae2=_0x360062<<0x10|_0x5d80c1<<0x8|_0x1ea2ab,_0x5a52bc=0x0;_0x5a52bc<0x4&&_0x5e2066+_0x5a52bc*0.75<_0x178c27;_0x5a52bc++)_0xa0152[_0x295700(0x1ed)](_0x59319b[_0x295700(0x3a2)](_0x556ae2>>>0x6*(0x3-_0x5a52bc)&0x3f));var _0xd915fa=_0x59319b['charAt'](0x40);if(_0xd915fa){for(;_0xa0152[_0x295700(0xfe)]%0x4;)_0xa0152[_0x295700(0x1ed)](_0xd915fa);}return _0xa0152['join']('');},'parse':function(_0x1e6ecf){var _0x4eff03=_0xdc03d8,_0x5569d7=_0x1e6ecf[_0x4eff03(0xfe)],_0x62b0c3=this[_0x4eff03(0x277)],_0x469968=this[_0x4eff03(0x13e)];if(!_0x469968){_0x469968=this[_0x4eff03(0x13e)]=[];for(var _0x18109f=0x0;_0x18109f<_0x62b0c3[_0x4eff03(0xfe)];_0x18109f++)_0x469968[_0x62b0c3['charCodeAt'](_0x18109f)]=_0x18109f;}var _0xf7d640=_0x62b0c3[_0x4eff03(0x3a2)](0x40);if(_0xf7d640){var _0x4f7362=_0x1e6ecf[_0x4eff03(0x1d4)](_0xf7d640);_0x4f7362!==-0x1&&(_0x5569d7=_0x4f7362);}return _0x3e5126(_0x1e6ecf,_0x5569d7,_0x469968);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x3e5126(_0x3d4188,_0x5c3b28,_0x4def83){var _0xb21357=_0xdc03d8;for(var _0x5a8fd8=[],_0x44787c=0x0,_0x2d1d03=0x0;_0x2d1d03<_0x5c3b28;_0x2d1d03++)if(_0x2d1d03%0x4){var _0x5f015c=_0x4def83[_0x3d4188[_0xb21357(0x288)](_0x2d1d03-0x1)]<<_0x2d1d03%0x4*0x2,_0x216d56=_0x4def83[_0x3d4188[_0xb21357(0x288)](_0x2d1d03)]>>>0x6-_0x2d1d03%0x4*0x2,_0x31fe96=_0x5f015c|_0x216d56;_0x5a8fd8[_0x44787c>>>0x2]|=_0x31fe96<<0x18-_0x44787c%0x4*0x8,_0x44787c++;}return _0x233f22[_0xb21357(0x222)](_0x5a8fd8,_0x44787c);}}()),_0x47979e[_0x2841bf(0x2c3)][_0x2841bf(0x292)];}));}(We)),We['exports'];}var Ye={'exports':{}},un=Ye['exports'],zt;function dn(){var _0x14e645=_0xff6382;return zt||(zt=0x1,function(_0x1a3ad7,_0x51ff6b){(function(_0x2ad171,_0x437530){_0x1a3ad7['exports']=_0x437530(ie());}(un,function(_0x4d20d1){var _0x4254c9=_0x3f92;return function(_0x14f881){var _0x12ea88=_0x3f92,_0x3a966d=_0x4d20d1,_0x3ff24c=_0x3a966d[_0x12ea88(0x2f5)],_0x4861e1=_0x3ff24c[_0x12ea88(0x375)],_0x55ef2b=_0x3ff24c[_0x12ea88(0x192)],_0xf0e889=_0x3a966d[_0x12ea88(0x3c3)],_0x47d462=[];(function(){var _0x2a5c19=_0x12ea88;for(var _0x309534=0x0;_0x309534<0x40;_0x309534++)_0x47d462[_0x309534]=_0x14f881[_0x2a5c19(0x374)](_0x14f881['sin'](_0x309534+0x1))*0x100000000|0x0;}());var _0x35d924=_0xf0e889['MD5']=_0x55ef2b[_0x12ea88(0x29f)]({'_doReset':function(){var _0x1af69a=_0x12ea88;this[_0x1af69a(0x322)]=new _0x4861e1[(_0x1af69a(0x12d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2c099d,_0x39b419){var _0x1a7637=_0x12ea88;for(var _0x2b5afc=0x0;_0x2b5afc<0x10;_0x2b5afc++){var _0x43e372=_0x39b419+_0x2b5afc,_0x33bb39=_0x2c099d[_0x43e372];_0x2c099d[_0x43e372]=(_0x33bb39<<0x8|_0x33bb39>>>0x18)&0xff00ff|(_0x33bb39<<0x18|_0x33bb39>>>0x8)&0xff00ff00;}var _0x2d776e=this[_0x1a7637(0x322)][_0x1a7637(0x1e0)],_0x589d9d=_0x2c099d[_0x39b419+0x0],_0x2e325d=_0x2c099d[_0x39b419+0x1],_0x466c6a=_0x2c099d[_0x39b419+0x2],_0xd50154=_0x2c099d[_0x39b419+0x3],_0x30d2cb=_0x2c099d[_0x39b419+0x4],_0x179e6c=_0x2c099d[_0x39b419+0x5],_0x2c499f=_0x2c099d[_0x39b419+0x6],_0x460fc6=_0x2c099d[_0x39b419+0x7],_0x346705=_0x2c099d[_0x39b419+0x8],_0x298ea0=_0x2c099d[_0x39b419+0x9],_0x5e74cd=_0x2c099d[_0x39b419+0xa],_0x961653=_0x2c099d[_0x39b419+0xb],_0x2ef8c1=_0x2c099d[_0x39b419+0xc],_0x330066=_0x2c099d[_0x39b419+0xd],_0x4dd56e=_0x2c099d[_0x39b419+0xe],_0x41cdfd=_0x2c099d[_0x39b419+0xf],_0x59adf6=_0x2d776e[0x0],_0x27a759=_0x2d776e[0x1],_0x4878b7=_0x2d776e[0x2],_0x4c5fee=_0x2d776e[0x3];_0x59adf6=_0x550e79(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x589d9d,0x7,_0x47d462[0x0]),_0x4c5fee=_0x550e79(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x2e325d,0xc,_0x47d462[0x1]),_0x4878b7=_0x550e79(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x466c6a,0x11,_0x47d462[0x2]),_0x27a759=_0x550e79(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0xd50154,0x16,_0x47d462[0x3]),_0x59adf6=_0x550e79(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x30d2cb,0x7,_0x47d462[0x4]),_0x4c5fee=_0x550e79(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x179e6c,0xc,_0x47d462[0x5]),_0x4878b7=_0x550e79(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x2c499f,0x11,_0x47d462[0x6]),_0x27a759=_0x550e79(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x460fc6,0x16,_0x47d462[0x7]),_0x59adf6=_0x550e79(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x346705,0x7,_0x47d462[0x8]),_0x4c5fee=_0x550e79(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x298ea0,0xc,_0x47d462[0x9]),_0x4878b7=_0x550e79(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x5e74cd,0x11,_0x47d462[0xa]),_0x27a759=_0x550e79(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x961653,0x16,_0x47d462[0xb]),_0x59adf6=_0x550e79(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x2ef8c1,0x7,_0x47d462[0xc]),_0x4c5fee=_0x550e79(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x330066,0xc,_0x47d462[0xd]),_0x4878b7=_0x550e79(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x4dd56e,0x11,_0x47d462[0xe]),_0x27a759=_0x550e79(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x41cdfd,0x16,_0x47d462[0xf]),_0x59adf6=_0x347dd1(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x2e325d,0x5,_0x47d462[0x10]),_0x4c5fee=_0x347dd1(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x2c499f,0x9,_0x47d462[0x11]),_0x4878b7=_0x347dd1(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x961653,0xe,_0x47d462[0x12]),_0x27a759=_0x347dd1(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x589d9d,0x14,_0x47d462[0x13]),_0x59adf6=_0x347dd1(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x179e6c,0x5,_0x47d462[0x14]),_0x4c5fee=_0x347dd1(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x5e74cd,0x9,_0x47d462[0x15]),_0x4878b7=_0x347dd1(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x41cdfd,0xe,_0x47d462[0x16]),_0x27a759=_0x347dd1(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x30d2cb,0x14,_0x47d462[0x17]),_0x59adf6=_0x347dd1(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x298ea0,0x5,_0x47d462[0x18]),_0x4c5fee=_0x347dd1(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x4dd56e,0x9,_0x47d462[0x19]),_0x4878b7=_0x347dd1(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0xd50154,0xe,_0x47d462[0x1a]),_0x27a759=_0x347dd1(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x346705,0x14,_0x47d462[0x1b]),_0x59adf6=_0x347dd1(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x330066,0x5,_0x47d462[0x1c]),_0x4c5fee=_0x347dd1(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x466c6a,0x9,_0x47d462[0x1d]),_0x4878b7=_0x347dd1(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x460fc6,0xe,_0x47d462[0x1e]),_0x27a759=_0x347dd1(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x2ef8c1,0x14,_0x47d462[0x1f]),_0x59adf6=_0x1d3e3b(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x179e6c,0x4,_0x47d462[0x20]),_0x4c5fee=_0x1d3e3b(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x346705,0xb,_0x47d462[0x21]),_0x4878b7=_0x1d3e3b(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x961653,0x10,_0x47d462[0x22]),_0x27a759=_0x1d3e3b(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x4dd56e,0x17,_0x47d462[0x23]),_0x59adf6=_0x1d3e3b(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x2e325d,0x4,_0x47d462[0x24]),_0x4c5fee=_0x1d3e3b(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x30d2cb,0xb,_0x47d462[0x25]),_0x4878b7=_0x1d3e3b(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x460fc6,0x10,_0x47d462[0x26]),_0x27a759=_0x1d3e3b(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x5e74cd,0x17,_0x47d462[0x27]),_0x59adf6=_0x1d3e3b(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x330066,0x4,_0x47d462[0x28]),_0x4c5fee=_0x1d3e3b(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x589d9d,0xb,_0x47d462[0x29]),_0x4878b7=_0x1d3e3b(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0xd50154,0x10,_0x47d462[0x2a]),_0x27a759=_0x1d3e3b(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x2c499f,0x17,_0x47d462[0x2b]),_0x59adf6=_0x1d3e3b(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x298ea0,0x4,_0x47d462[0x2c]),_0x4c5fee=_0x1d3e3b(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x2ef8c1,0xb,_0x47d462[0x2d]),_0x4878b7=_0x1d3e3b(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x41cdfd,0x10,_0x47d462[0x2e]),_0x27a759=_0x1d3e3b(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x466c6a,0x17,_0x47d462[0x2f]),_0x59adf6=_0x48d256(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x589d9d,0x6,_0x47d462[0x30]),_0x4c5fee=_0x48d256(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x460fc6,0xa,_0x47d462[0x31]),_0x4878b7=_0x48d256(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x4dd56e,0xf,_0x47d462[0x32]),_0x27a759=_0x48d256(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x179e6c,0x15,_0x47d462[0x33]),_0x59adf6=_0x48d256(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x2ef8c1,0x6,_0x47d462[0x34]),_0x4c5fee=_0x48d256(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0xd50154,0xa,_0x47d462[0x35]),_0x4878b7=_0x48d256(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x5e74cd,0xf,_0x47d462[0x36]),_0x27a759=_0x48d256(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x2e325d,0x15,_0x47d462[0x37]),_0x59adf6=_0x48d256(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x346705,0x6,_0x47d462[0x38]),_0x4c5fee=_0x48d256(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x41cdfd,0xa,_0x47d462[0x39]),_0x4878b7=_0x48d256(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x2c499f,0xf,_0x47d462[0x3a]),_0x27a759=_0x48d256(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x330066,0x15,_0x47d462[0x3b]),_0x59adf6=_0x48d256(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x30d2cb,0x6,_0x47d462[0x3c]),_0x4c5fee=_0x48d256(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x961653,0xa,_0x47d462[0x3d]),_0x4878b7=_0x48d256(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x466c6a,0xf,_0x47d462[0x3e]),_0x27a759=_0x48d256(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x298ea0,0x15,_0x47d462[0x3f]),_0x2d776e[0x0]=_0x2d776e[0x0]+_0x59adf6|0x0,_0x2d776e[0x1]=_0x2d776e[0x1]+_0x27a759|0x0,_0x2d776e[0x2]=_0x2d776e[0x2]+_0x4878b7|0x0,_0x2d776e[0x3]=_0x2d776e[0x3]+_0x4c5fee|0x0;},'_doFinalize':function(){var _0xbbf01c=_0x12ea88,_0x4c7ffe=this[_0xbbf01c(0x3c6)],_0x22e2f7=_0x4c7ffe[_0xbbf01c(0x1e0)],_0x1b30eb=this[_0xbbf01c(0x1f3)]*0x8,_0x375756=_0x4c7ffe[_0xbbf01c(0x273)]*0x8;_0x22e2f7[_0x375756>>>0x5]|=0x80<<0x18-_0x375756%0x20;var _0x5015f1=_0x14f881['floor'](_0x1b30eb/0x100000000),_0x43067e=_0x1b30eb;_0x22e2f7[(_0x375756+0x40>>>0x9<<0x4)+0xf]=(_0x5015f1<<0x8|_0x5015f1>>>0x18)&0xff00ff|(_0x5015f1<<0x18|_0x5015f1>>>0x8)&0xff00ff00,_0x22e2f7[(_0x375756+0x40>>>0x9<<0x4)+0xe]=(_0x43067e<<0x8|_0x43067e>>>0x18)&0xff00ff|(_0x43067e<<0x18|_0x43067e>>>0x8)&0xff00ff00,_0x4c7ffe[_0xbbf01c(0x273)]=(_0x22e2f7[_0xbbf01c(0xfe)]+0x1)*0x4,this['_process']();for(var _0x1cdfbb=this[_0xbbf01c(0x322)],_0x36b345=_0x1cdfbb[_0xbbf01c(0x1e0)],_0x3d57b9=0x0;_0x3d57b9<0x4;_0x3d57b9++){var _0x46a741=_0x36b345[_0x3d57b9];_0x36b345[_0x3d57b9]=(_0x46a741<<0x8|_0x46a741>>>0x18)&0xff00ff|(_0x46a741<<0x18|_0x46a741>>>0x8)&0xff00ff00;}return _0x1cdfbb;},'clone':function(){var _0x52af58=_0x12ea88,_0x2ba3b9=_0x55ef2b[_0x52af58(0x198)][_0x52af58(0x335)](this);return _0x2ba3b9['_hash']=this['_hash'][_0x52af58(0x198)](),_0x2ba3b9;}});function _0x550e79(_0xb70da5,_0xdd38e3,_0x4b9831,_0x1b5571,_0x4edd02,_0x18f5d5,_0x9871f1){var _0x361295=_0xb70da5+(_0xdd38e3&_0x4b9831|~_0xdd38e3&_0x1b5571)+_0x4edd02+_0x9871f1;return(_0x361295<<_0x18f5d5|_0x361295>>>0x20-_0x18f5d5)+_0xdd38e3;}function _0x347dd1(_0x1cc854,_0x39719e,_0x4581e6,_0x46b9a4,_0x1f7f36,_0xefc2e8,_0x273abb){var _0x13cde9=_0x1cc854+(_0x39719e&_0x46b9a4|_0x4581e6&~_0x46b9a4)+_0x1f7f36+_0x273abb;return(_0x13cde9<<_0xefc2e8|_0x13cde9>>>0x20-_0xefc2e8)+_0x39719e;}function _0x1d3e3b(_0x4cf9f1,_0x170f46,_0x13d2a7,_0x3de0fc,_0x17298f,_0x116820,_0x196f49){var _0xd99259=_0x4cf9f1+(_0x170f46^_0x13d2a7^_0x3de0fc)+_0x17298f+_0x196f49;return(_0xd99259<<_0x116820|_0xd99259>>>0x20-_0x116820)+_0x170f46;}function _0x48d256(_0x1dea48,_0x39ff46,_0xeeaa5b,_0x5252be,_0x18ea72,_0x26df3f,_0x17aa2c){var _0x2f9caa=_0x1dea48+(_0xeeaa5b^(_0x39ff46|~_0x5252be))+_0x18ea72+_0x17aa2c;return(_0x2f9caa<<_0x26df3f|_0x2f9caa>>>0x20-_0x26df3f)+_0x39ff46;}_0x3a966d[_0x12ea88(0x369)]=_0x55ef2b[_0x12ea88(0x2a2)](_0x35d924),_0x3a966d[_0x12ea88(0x3e4)]=_0x55ef2b[_0x12ea88(0x255)](_0x35d924);}(Math),_0x4d20d1[_0x4254c9(0x369)];}));}(Ye)),Ye[_0x14e645(0x251)];}var Ke={'exports':{}},qe={'exports':{}},fn=qe[_0xff6382(0x251)],Xt;function vn(){var _0x456752=_0xff6382;return Xt||(Xt=0x1,function(_0x151cf7,_0x4b0ec4){(function(_0x10a6f7,_0x4a3bed){var _0x4a9a31=_0x3f92;_0x151cf7[_0x4a9a31(0x251)]=_0x4a3bed(ie());}(fn,function(_0x6df384){var _0x371fd1=_0x3f92;return(function(){var _0x92308e=_0x3f92,_0x54c7f5=_0x6df384,_0x16872e=_0x54c7f5['lib'],_0x460fa6=_0x16872e[_0x92308e(0x375)],_0x4fd752=_0x16872e['Hasher'],_0x2f1b61=_0x54c7f5[_0x92308e(0x3c3)],_0x210225=[],_0x643d9b=_0x2f1b61[_0x92308e(0x3d8)]=_0x4fd752['extend']({'_doReset':function(){var _0x330e78=_0x92308e;this['_hash']=new _0x460fa6[(_0x330e78(0x12d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x11f80b,_0x46e70f){var _0x1b92a0=_0x92308e;for(var _0x174ce7=this[_0x1b92a0(0x322)]['words'],_0x3d2d2d=_0x174ce7[0x0],_0x580860=_0x174ce7[0x1],_0x1031fe=_0x174ce7[0x2],_0xe6ce05=_0x174ce7[0x3],_0x4e312d=_0x174ce7[0x4],_0x54e801=0x0;_0x54e801<0x50;_0x54e801++){if(_0x54e801<0x10)_0x210225[_0x54e801]=_0x11f80b[_0x46e70f+_0x54e801]|0x0;else{var _0x5a9031=_0x210225[_0x54e801-0x3]^_0x210225[_0x54e801-0x8]^_0x210225[_0x54e801-0xe]^_0x210225[_0x54e801-0x10];_0x210225[_0x54e801]=_0x5a9031<<0x1|_0x5a9031>>>0x1f;}var _0x510dbb=(_0x3d2d2d<<0x5|_0x3d2d2d>>>0x1b)+_0x4e312d+_0x210225[_0x54e801];_0x54e801<0x14?_0x510dbb+=(_0x580860&_0x1031fe|~_0x580860&_0xe6ce05)+0x5a827999:_0x54e801<0x28?_0x510dbb+=(_0x580860^_0x1031fe^_0xe6ce05)+0x6ed9eba1:_0x54e801<0x3c?_0x510dbb+=(_0x580860&_0x1031fe|_0x580860&_0xe6ce05|_0x1031fe&_0xe6ce05)-0x70e44324:_0x510dbb+=(_0x580860^_0x1031fe^_0xe6ce05)-0x359d3e2a,_0x4e312d=_0xe6ce05,_0xe6ce05=_0x1031fe,_0x1031fe=_0x580860<<0x1e|_0x580860>>>0x2,_0x580860=_0x3d2d2d,_0x3d2d2d=_0x510dbb;}_0x174ce7[0x0]=_0x174ce7[0x0]+_0x3d2d2d|0x0,_0x174ce7[0x1]=_0x174ce7[0x1]+_0x580860|0x0,_0x174ce7[0x2]=_0x174ce7[0x2]+_0x1031fe|0x0,_0x174ce7[0x3]=_0x174ce7[0x3]+_0xe6ce05|0x0,_0x174ce7[0x4]=_0x174ce7[0x4]+_0x4e312d|0x0;},'_doFinalize':function(){var _0x45832c=_0x92308e,_0x23caa6=this[_0x45832c(0x3c6)],_0x3a13c0=_0x23caa6[_0x45832c(0x1e0)],_0x30683e=this[_0x45832c(0x1f3)]*0x8,_0x2ab147=_0x23caa6[_0x45832c(0x273)]*0x8;return _0x3a13c0[_0x2ab147>>>0x5]|=0x80<<0x18-_0x2ab147%0x20,_0x3a13c0[(_0x2ab147+0x40>>>0x9<<0x4)+0xe]=Math[_0x45832c(0x2f6)](_0x30683e/0x100000000),_0x3a13c0[(_0x2ab147+0x40>>>0x9<<0x4)+0xf]=_0x30683e,_0x23caa6[_0x45832c(0x273)]=_0x3a13c0['length']*0x4,this[_0x45832c(0x1e1)](),this[_0x45832c(0x322)];},'clone':function(){var _0x2d4c81=_0x92308e,_0x55641a=_0x4fd752[_0x2d4c81(0x198)][_0x2d4c81(0x335)](this);return _0x55641a[_0x2d4c81(0x322)]=this[_0x2d4c81(0x322)]['clone'](),_0x55641a;}});_0x54c7f5[_0x92308e(0x3d8)]=_0x4fd752[_0x92308e(0x2a2)](_0x643d9b),_0x54c7f5[_0x92308e(0x106)]=_0x4fd752[_0x92308e(0x255)](_0x643d9b);}()),_0x6df384[_0x371fd1(0x3d8)];}));}(qe)),qe[_0x456752(0x251)];}var ze={'exports':{}},En=ze[_0xff6382(0x251)],Jt;function pn(){var _0x228fba=_0xff6382;return Jt||(Jt=0x1,function(_0x31735f,_0x1548df){(function(_0x5cbea4,_0x30f39e){_0x31735f['exports']=_0x30f39e(ie());}(En,function(_0x4a32b9){(function(){var _0x1291b8=_0x3f92,_0x3ce983=_0x4a32b9,_0x2a066d=_0x3ce983[_0x1291b8(0x2f5)],_0x2f28b3=_0x2a066d['Base'],_0x452aa6=_0x3ce983[_0x1291b8(0x2c3)],_0x1e4d7b=_0x452aa6[_0x1291b8(0x366)],_0x2ed028=_0x3ce983['algo'];_0x2ed028[_0x1291b8(0x3cc)]=_0x2f28b3[_0x1291b8(0x29f)]({'init':function(_0x4a4c77,_0x4b9e3f){var _0x14b8d1=_0x1291b8;_0x4a4c77=this[_0x14b8d1(0x2ed)]=new _0x4a4c77[(_0x14b8d1(0x12d))](),typeof _0x4b9e3f=='string'&&(_0x4b9e3f=_0x1e4d7b[_0x14b8d1(0x2f0)](_0x4b9e3f));var _0x4f52d6=_0x4a4c77[_0x14b8d1(0xe4)],_0x48c710=_0x4f52d6*0x4;_0x4b9e3f[_0x14b8d1(0x273)]>_0x48c710&&(_0x4b9e3f=_0x4a4c77[_0x14b8d1(0x3ba)](_0x4b9e3f)),_0x4b9e3f[_0x14b8d1(0x17f)]();for(var _0x35ee6e=this['_oKey']=_0x4b9e3f[_0x14b8d1(0x198)](),_0x9dac24=this[_0x14b8d1(0x353)]=_0x4b9e3f[_0x14b8d1(0x198)](),_0x18190e=_0x35ee6e['words'],_0x5d584b=_0x9dac24[_0x14b8d1(0x1e0)],_0x470f7c=0x0;_0x470f7c<_0x4f52d6;_0x470f7c++)_0x18190e[_0x470f7c]^=0x5c5c5c5c,_0x5d584b[_0x470f7c]^=0x36363636;_0x35ee6e[_0x14b8d1(0x273)]=_0x9dac24[_0x14b8d1(0x273)]=_0x48c710,this[_0x14b8d1(0x206)]();},'reset':function(){var _0xe0c08b=_0x1291b8,_0x20a808=this['_hasher'];_0x20a808[_0xe0c08b(0x206)](),_0x20a808[_0xe0c08b(0x2d2)](this[_0xe0c08b(0x353)]);},'update':function(_0x250311){var _0x50861a=_0x1291b8;return this['_hasher'][_0x50861a(0x2d2)](_0x250311),this;},'finalize':function(_0x1a6db5){var _0x126bf8=_0x1291b8,_0xb4637c=this[_0x126bf8(0x2ed)],_0x19acbe=_0xb4637c['finalize'](_0x1a6db5);_0xb4637c[_0x126bf8(0x206)]();var _0x2abad6=_0xb4637c[_0x126bf8(0x3ba)](this[_0x126bf8(0x3c8)][_0x126bf8(0x198)]()[_0x126bf8(0x204)](_0x19acbe));return _0x2abad6;}});}());}));}(ze)),ze[_0x228fba(0x251)];}var mn=Ke['exports'],Zt;function Ci(){var _0x3e0721=_0xff6382;return Zt||(Zt=0x1,function(_0x30a438,_0x2eda72){(function(_0x5a3e71,_0x3a3241,_0x5ba736){var _0x51349f=_0x3f92;_0x30a438[_0x51349f(0x251)]=_0x3a3241(ie(),vn(),pn());}(mn,function(_0x403518){return(function(){var _0x5e46f8=_0x3f92,_0x49edbc=_0x403518,_0x3b5135=_0x49edbc['lib'],_0x1cb4e9=_0x3b5135[_0x5e46f8(0x1d5)],_0x43abb6=_0x3b5135[_0x5e46f8(0x375)],_0x4514cf=_0x49edbc[_0x5e46f8(0x3c3)],_0x40ef18=_0x4514cf[_0x5e46f8(0x369)],_0x2b320b=_0x4514cf[_0x5e46f8(0x1a7)]=_0x1cb4e9[_0x5e46f8(0x29f)]({'cfg':_0x1cb4e9[_0x5e46f8(0x29f)]({'keySize':0x80/0x20,'hasher':_0x40ef18,'iterations':0x1}),'init':function(_0x20b45c){var _0x37b8a4=_0x5e46f8;this['cfg']=this[_0x37b8a4(0x303)][_0x37b8a4(0x29f)](_0x20b45c);},'compute':function(_0x4ac6e3,_0x2d6605){var _0x296608=_0x5e46f8;for(var _0x98bed,_0x347b12=this[_0x296608(0x303)],_0x5c96c6=_0x347b12[_0x296608(0x214)][_0x296608(0x222)](),_0x454347=_0x43abb6[_0x296608(0x222)](),_0x4bddd2=_0x454347[_0x296608(0x1e0)],_0xc7d775=_0x347b12[_0x296608(0x172)],_0x2ed03e=_0x347b12[_0x296608(0x259)];_0x4bddd2['length']<_0xc7d775;){_0x98bed&&_0x5c96c6[_0x296608(0x2d2)](_0x98bed),_0x98bed=_0x5c96c6[_0x296608(0x2d2)](_0x4ac6e3)[_0x296608(0x3ba)](_0x2d6605),_0x5c96c6[_0x296608(0x206)]();for(var _0x331e94=0x1;_0x331e94<_0x2ed03e;_0x331e94++)_0x98bed=_0x5c96c6['finalize'](_0x98bed),_0x5c96c6[_0x296608(0x206)]();_0x454347[_0x296608(0x204)](_0x98bed);}return _0x454347[_0x296608(0x273)]=_0xc7d775*0x4,_0x454347;}});_0x49edbc[_0x5e46f8(0x1a7)]=function(_0x5ef7c1,_0x43c31d,_0x57da92){var _0x266b49=_0x5e46f8;return _0x2b320b[_0x266b49(0x222)](_0x57da92)[_0x266b49(0x316)](_0x5ef7c1,_0x43c31d);};}()),_0x403518['EvpKDF'];}));}(Ke)),Ke[_0x3e0721(0x251)];}var Xe={'exports':{}},In=Xe[_0xff6382(0x251)],Qt;function bi(){var _0x352cf8=_0xff6382;return Qt||(Qt=0x1,function(_0x4a859d,_0x308c9a){(function(_0x1e522c,_0x50c738,_0x57db54){var _0x5c7e32=_0x3f92;_0x4a859d[_0x5c7e32(0x251)]=_0x50c738(ie(),Ci());}(In,function(_0x472524){var _0xed7c1b=_0x3f92;_0x472524['lib'][_0xed7c1b(0x228)]||function(_0x66f724){var _0x22d73b=_0xed7c1b,_0x5203a0=_0x472524,_0x2543c2=_0x5203a0[_0x22d73b(0x2f5)],_0x33a5c8=_0x2543c2['Base'],_0x5ddf3b=_0x2543c2['WordArray'],_0xab961=_0x2543c2[_0x22d73b(0x37e)],_0x2ab262=_0x5203a0[_0x22d73b(0x2c3)];_0x2ab262[_0x22d73b(0x366)];var _0x480ad4=_0x2ab262['Base64'],_0x32c761=_0x5203a0[_0x22d73b(0x3c3)],_0x281d11=_0x32c761['EvpKDF'],_0x4760a6=_0x2543c2[_0x22d73b(0x228)]=_0xab961[_0x22d73b(0x29f)]({'cfg':_0x33a5c8['extend'](),'createEncryptor':function(_0x479ac5,_0x400cbf){var _0xfae73c=_0x22d73b;return this['create'](this[_0xfae73c(0x2ca)],_0x479ac5,_0x400cbf);},'createDecryptor':function(_0x37b0aa,_0x3f0e8){var _0x278c15=_0x22d73b;return this[_0x278c15(0x222)](this[_0x278c15(0x361)],_0x37b0aa,_0x3f0e8);},'init':function(_0x3f2ec6,_0x5f3cc2,_0xca0af3){var _0x3b8166=_0x22d73b;this[_0x3b8166(0x303)]=this[_0x3b8166(0x303)][_0x3b8166(0x29f)](_0xca0af3),this[_0x3b8166(0x2f2)]=_0x3f2ec6,this[_0x3b8166(0x3a4)]=_0x5f3cc2,this[_0x3b8166(0x206)]();},'reset':function(){var _0xb8373c=_0x22d73b;_0xab961[_0xb8373c(0x206)][_0xb8373c(0x335)](this),this[_0xb8373c(0x2f1)]();},'process':function(_0x45600d){return this['_append'](_0x45600d),this['_process']();},'finalize':function(_0x17d42f){var _0x14fc43=_0x22d73b;_0x17d42f&&this[_0x14fc43(0x1be)](_0x17d42f);var _0x5b50cf=this[_0x14fc43(0x283)]();return _0x5b50cf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5054c5(_0x1ff45a){var _0x271215=_0x3f92;return typeof _0x1ff45a==_0x271215(0x393)?_0x36c27a:_0x57e2ca;}return function(_0x4a4b5a){return{'encrypt':function(_0x4292b8,_0x52e480,_0x26bae4){var _0x4aedab=_0x3f92;return _0x5054c5(_0x52e480)[_0x4aedab(0x318)](_0x4a4b5a,_0x4292b8,_0x52e480,_0x26bae4);},'decrypt':function(_0x451526,_0x3dcff9,_0x91b0af){var _0xa76bec=_0x3f92;return _0x5054c5(_0x3dcff9)[_0xa76bec(0x101)](_0x4a4b5a,_0x451526,_0x3dcff9,_0x91b0af);}};};}())});_0x2543c2[_0x22d73b(0x2ef)]=_0x4760a6['extend']({'_doFinalize':function(){var _0x1a6818=_0x22d73b,_0xd8ada=this[_0x1a6818(0x1e1)](!0x0);return _0xd8ada;},'blockSize':0x1});var _0x22f18b=_0x5203a0['mode']={},_0x463cc7=_0x2543c2['BlockCipherMode']=_0x33a5c8[_0x22d73b(0x29f)]({'createEncryptor':function(_0x16b619,_0x508d3a){var _0x37b80f=_0x22d73b;return this[_0x37b80f(0x1ca)]['create'](_0x16b619,_0x508d3a);},'createDecryptor':function(_0x128b27,_0x38b474){var _0x280d74=_0x22d73b;return this[_0x280d74(0x2c1)][_0x280d74(0x222)](_0x128b27,_0x38b474);},'init':function(_0x28d100,_0x5afa0f){var _0x470aa7=_0x22d73b;this[_0x470aa7(0x1ac)]=_0x28d100,this[_0x470aa7(0x33f)]=_0x5afa0f;}}),_0x330468=_0x22f18b[_0x22d73b(0x392)]=(function(){var _0xdc7115=_0x22d73b,_0x1164cb=_0x463cc7['extend']();_0x1164cb['Encryptor']=_0x1164cb[_0xdc7115(0x29f)]({'processBlock':function(_0x147a12,_0x464850){var _0x3454a7=_0xdc7115,_0x26d5d1=this[_0x3454a7(0x1ac)],_0x17242d=_0x26d5d1[_0x3454a7(0xe4)];_0x377105['call'](this,_0x147a12,_0x464850,_0x17242d),_0x26d5d1[_0x3454a7(0x140)](_0x147a12,_0x464850),this[_0x3454a7(0x30b)]=_0x147a12[_0x3454a7(0x23a)](_0x464850,_0x464850+_0x17242d);}}),_0x1164cb[_0xdc7115(0x2c1)]=_0x1164cb[_0xdc7115(0x29f)]({'processBlock':function(_0x3afcbe,_0x403440){var _0xaebd05=_0xdc7115,_0x28714d=this[_0xaebd05(0x1ac)],_0x6f59fb=_0x28714d[_0xaebd05(0xe4)],_0x23d3a7=_0x3afcbe[_0xaebd05(0x23a)](_0x403440,_0x403440+_0x6f59fb);_0x28714d[_0xaebd05(0x290)](_0x3afcbe,_0x403440),_0x377105[_0xaebd05(0x335)](this,_0x3afcbe,_0x403440,_0x6f59fb),this[_0xaebd05(0x30b)]=_0x23d3a7;}});function _0x377105(_0x736b6a,_0x44fd9f,_0x347fa4){var _0x55d9f6=_0xdc7115,_0x24eb55,_0xb0e5f5=this[_0x55d9f6(0x33f)];_0xb0e5f5?(_0x24eb55=_0xb0e5f5,this[_0x55d9f6(0x33f)]=_0x66f724):_0x24eb55=this[_0x55d9f6(0x30b)];for(var _0x5b150b=0x0;_0x5b150b<_0x347fa4;_0x5b150b++)_0x736b6a[_0x44fd9f+_0x5b150b]^=_0x24eb55[_0x5b150b];}return _0x1164cb;}()),_0x4bb87f=_0x5203a0['pad']={},_0x1015e9=_0x4bb87f['Pkcs7']={'pad':function(_0x112a12,_0x379931){var _0x281247=_0x22d73b;for(var _0x450151=_0x379931*0x4,_0x218c11=_0x450151-_0x112a12['sigBytes']%_0x450151,_0x1757ce=_0x218c11<<0x18|_0x218c11<<0x10|_0x218c11<<0x8|_0x218c11,_0x28777f=[],_0x43ec34=0x0;_0x43ec34<_0x218c11;_0x43ec34+=0x4)_0x28777f[_0x281247(0x1ed)](_0x1757ce);var _0x1c6da6=_0x5ddf3b['create'](_0x28777f,_0x218c11);_0x112a12[_0x281247(0x204)](_0x1c6da6);},'unpad':function(_0x15ae54){var _0x5434cd=_0x22d73b,_0x11bee6=_0x15ae54['words'][_0x15ae54[_0x5434cd(0x273)]-0x1>>>0x2]&0xff;_0x15ae54['sigBytes']-=_0x11bee6;}};_0x2543c2[_0x22d73b(0x2f8)]=_0x4760a6[_0x22d73b(0x29f)]({'cfg':_0x4760a6[_0x22d73b(0x303)][_0x22d73b(0x29f)]({'mode':_0x330468,'padding':_0x1015e9}),'reset':function(){var _0x5d03f4=_0x22d73b,_0x2c6cbf;_0x4760a6[_0x5d03f4(0x206)]['call'](this);var _0x45da62=this['cfg'],_0xe229c0=_0x45da62['iv'],_0x4ce303=_0x45da62[_0x5d03f4(0x1d7)];this['_xformMode']==this[_0x5d03f4(0x2ca)]?_0x2c6cbf=_0x4ce303[_0x5d03f4(0x149)]:(_0x2c6cbf=_0x4ce303[_0x5d03f4(0x163)],this[_0x5d03f4(0x1a2)]=0x1),this[_0x5d03f4(0x3e1)]&&this[_0x5d03f4(0x3e1)][_0x5d03f4(0x31e)]==_0x2c6cbf?this[_0x5d03f4(0x3e1)][_0x5d03f4(0x12d)](this,_0xe229c0&&_0xe229c0[_0x5d03f4(0x1e0)]):(this[_0x5d03f4(0x3e1)]=_0x2c6cbf[_0x5d03f4(0x335)](_0x4ce303,this,_0xe229c0&&_0xe229c0['words']),this[_0x5d03f4(0x3e1)]['__creator']=_0x2c6cbf);},'_doProcessBlock':function(_0x18536b,_0x27516d){var _0xbf7613=_0x22d73b;this[_0xbf7613(0x3e1)][_0xbf7613(0x1c3)](_0x18536b,_0x27516d);},'_doFinalize':function(){var _0x16fafe=_0x22d73b,_0x50084f,_0x1c02d7=this[_0x16fafe(0x303)][_0x16fafe(0x36f)];return this['_xformMode']==this[_0x16fafe(0x2ca)]?(_0x1c02d7['pad'](this[_0x16fafe(0x3c6)],this['blockSize']),_0x50084f=this[_0x16fafe(0x1e1)](!0x0)):(_0x50084f=this[_0x16fafe(0x1e1)](!0x0),_0x1c02d7[_0x16fafe(0x34f)](_0x50084f)),_0x50084f;},'blockSize':0x80/0x20});var _0x352536=_0x2543c2[_0x22d73b(0x2ae)]=_0x33a5c8[_0x22d73b(0x29f)]({'init':function(_0x41678e){var _0x1d3b53=_0x22d73b;this[_0x1d3b53(0x3fc)](_0x41678e);},'toString':function(_0x50d590){var _0x546210=_0x22d73b;return(_0x50d590||this[_0x546210(0x30f)])[_0x546210(0x3de)](this);}}),_0x1f9c00=_0x5203a0[_0x22d73b(0xf4)]={},_0x3b11e2=_0x1f9c00['OpenSSL']={'stringify':function(_0xcd1d8e){var _0x4b06fe=_0x22d73b,_0x58f92e,_0x34c8d6=_0xcd1d8e['ciphertext'],_0x14ec58=_0xcd1d8e[_0x4b06fe(0x3d4)];return _0x14ec58?_0x58f92e=_0x5ddf3b['create']([0x53616c74,0x65645f5f])[_0x4b06fe(0x204)](_0x14ec58)[_0x4b06fe(0x204)](_0x34c8d6):_0x58f92e=_0x34c8d6,_0x58f92e[_0x4b06fe(0x2d7)](_0x480ad4);},'parse':function(_0x588e32){var _0x28923e=_0x22d73b,_0xfe86c1,_0x4fdfcc=_0x480ad4[_0x28923e(0x2f0)](_0x588e32),_0x1ceda7=_0x4fdfcc[_0x28923e(0x1e0)];return _0x1ceda7[0x0]==0x53616c74&&_0x1ceda7[0x1]==0x65645f5f&&(_0xfe86c1=_0x5ddf3b[_0x28923e(0x222)](_0x1ceda7[_0x28923e(0x23a)](0x2,0x4)),_0x1ceda7[_0x28923e(0x3f7)](0x0,0x4),_0x4fdfcc[_0x28923e(0x273)]-=0x10),_0x352536[_0x28923e(0x222)]({'ciphertext':_0x4fdfcc,'salt':_0xfe86c1});}},_0x57e2ca=_0x2543c2[_0x22d73b(0x2a1)]=_0x33a5c8['extend']({'cfg':_0x33a5c8['extend']({'format':_0x3b11e2}),'encrypt':function(_0x23c973,_0x3a41b2,_0x5ed0b6,_0x1e6294){var _0x1b291c=_0x22d73b;_0x1e6294=this['cfg'][_0x1b291c(0x29f)](_0x1e6294);var _0x123a3a=_0x23c973[_0x1b291c(0x149)](_0x5ed0b6,_0x1e6294),_0x591e07=_0x123a3a[_0x1b291c(0x3ba)](_0x3a41b2),_0x351a80=_0x123a3a[_0x1b291c(0x303)];return _0x352536[_0x1b291c(0x222)]({'ciphertext':_0x591e07,'key':_0x5ed0b6,'iv':_0x351a80['iv'],'algorithm':_0x23c973,'mode':_0x351a80['mode'],'padding':_0x351a80['padding'],'blockSize':_0x23c973[_0x1b291c(0xe4)],'formatter':_0x1e6294[_0x1b291c(0xf4)]});},'decrypt':function(_0x39e24f,_0x39f97c,_0x23df4f,_0x3decd2){var _0xcfbe11=_0x22d73b;_0x3decd2=this['cfg'][_0xcfbe11(0x29f)](_0x3decd2),_0x39f97c=this[_0xcfbe11(0x325)](_0x39f97c,_0x3decd2[_0xcfbe11(0xf4)]);var _0x231444=_0x39e24f[_0xcfbe11(0x163)](_0x23df4f,_0x3decd2)[_0xcfbe11(0x3ba)](_0x39f97c[_0xcfbe11(0x376)]);return _0x231444;},'_parse':function(_0x36dded,_0x3cca01){var _0x28a62c=_0x22d73b;return typeof _0x36dded==_0x28a62c(0x393)?_0x3cca01[_0x28a62c(0x2f0)](_0x36dded,this):_0x36dded;}}),_0x1df2ae=_0x5203a0[_0x22d73b(0x3bf)]={},_0x413b94=_0x1df2ae['OpenSSL']={'execute':function(_0x308b91,_0x553a23,_0x3b5eec,_0x2f4ed9,_0x15033b){var _0x8e9512=_0x22d73b;if(_0x2f4ed9||(_0x2f4ed9=_0x5ddf3b['random'](0x40/0x8)),_0x15033b)var _0x304adc=_0x281d11[_0x8e9512(0x222)]({'keySize':_0x553a23+_0x3b5eec,'hasher':_0x15033b})[_0x8e9512(0x316)](_0x308b91,_0x2f4ed9);else var _0x304adc=_0x281d11[_0x8e9512(0x222)]({'keySize':_0x553a23+_0x3b5eec})[_0x8e9512(0x316)](_0x308b91,_0x2f4ed9);var _0x32ac2a=_0x5ddf3b[_0x8e9512(0x222)](_0x304adc[_0x8e9512(0x1e0)][_0x8e9512(0x23a)](_0x553a23),_0x3b5eec*0x4);return _0x304adc[_0x8e9512(0x273)]=_0x553a23*0x4,_0x352536['create']({'key':_0x304adc,'iv':_0x32ac2a,'salt':_0x2f4ed9});}},_0x36c27a=_0x2543c2['PasswordBasedCipher']=_0x57e2ca['extend']({'cfg':_0x57e2ca['cfg'][_0x22d73b(0x29f)]({'kdf':_0x413b94}),'encrypt':function(_0x43d7d8,_0x2af429,_0xddf3e0,_0x1c0356){var _0x256fad=_0x22d73b;_0x1c0356=this[_0x256fad(0x303)]['extend'](_0x1c0356);var _0x1d9695=_0x1c0356[_0x256fad(0x3bf)]['execute'](_0xddf3e0,_0x43d7d8[_0x256fad(0x172)],_0x43d7d8['ivSize'],_0x1c0356[_0x256fad(0x3d4)],_0x1c0356[_0x256fad(0x214)]);_0x1c0356['iv']=_0x1d9695['iv'];var _0x6c9cb=_0x57e2ca['encrypt'][_0x256fad(0x335)](this,_0x43d7d8,_0x2af429,_0x1d9695[_0x256fad(0x160)],_0x1c0356);return _0x6c9cb[_0x256fad(0x3fc)](_0x1d9695),_0x6c9cb;},'decrypt':function(_0x521374,_0x693f25,_0x3bf262,_0xf47ec3){var _0x1ec45f=_0x22d73b;_0xf47ec3=this[_0x1ec45f(0x303)][_0x1ec45f(0x29f)](_0xf47ec3),_0x693f25=this[_0x1ec45f(0x325)](_0x693f25,_0xf47ec3[_0x1ec45f(0xf4)]);var _0x2185d6=_0xf47ec3[_0x1ec45f(0x3bf)]['execute'](_0x3bf262,_0x521374[_0x1ec45f(0x172)],_0x521374['ivSize'],_0x693f25[_0x1ec45f(0x3d4)],_0xf47ec3[_0x1ec45f(0x214)]);_0xf47ec3['iv']=_0x2185d6['iv'];var _0xf68d33=_0x57e2ca['decrypt'][_0x1ec45f(0x335)](this,_0x521374,_0x693f25,_0x2185d6[_0x1ec45f(0x160)],_0xf47ec3);return _0xf68d33;}});}();}));}(Xe)),Xe[_0x352cf8(0x251)];}var Sn=Ve[_0xff6382(0x251)],ei;function gn(){var _0x35332f=_0xff6382;return ei||(ei=0x1,function(_0x1e7fed,_0x319432){(function(_0x277ca3,_0x375a56,_0x115623){var _0x1d898f=_0x3f92;_0x1e7fed[_0x1d898f(0x251)]=_0x375a56(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x3a4ded){return(function(){var _0x2f4136=_0x3f92,_0x2d6656=_0x3a4ded,_0x146cc2=_0x2d6656[_0x2f4136(0x2f5)],_0x9572cf=_0x146cc2[_0x2f4136(0x2f8)],_0xbc5183=_0x2d6656['algo'],_0x18962a=[],_0x5b2aca=[],_0xa5e56=[],_0x19b355=[],_0x2384e3=[],_0x2c5a6d=[],_0x2cb5cc=[],_0x524596=[],_0x416255=[],_0x7a3c88=[];(function(){for(var _0x404a51=[],_0xf54a4=0x0;_0xf54a4<0x100;_0xf54a4++)_0xf54a4<0x80?_0x404a51[_0xf54a4]=_0xf54a4<<0x1:_0x404a51[_0xf54a4]=_0xf54a4<<0x1^0x11b;for(var _0x1feac6=0x0,_0x4fcd7b=0x0,_0xf54a4=0x0;_0xf54a4<0x100;_0xf54a4++){var _0x39ca16=_0x4fcd7b^_0x4fcd7b<<0x1^_0x4fcd7b<<0x2^_0x4fcd7b<<0x3^_0x4fcd7b<<0x4;_0x39ca16=_0x39ca16>>>0x8^_0x39ca16&0xff^0x63,_0x18962a[_0x1feac6]=_0x39ca16,_0x5b2aca[_0x39ca16]=_0x1feac6;var _0x4ed5b0=_0x404a51[_0x1feac6],_0x490a88=_0x404a51[_0x4ed5b0],_0x38d3e0=_0x404a51[_0x490a88],_0x4ef43a=_0x404a51[_0x39ca16]*0x101^_0x39ca16*0x1010100;_0xa5e56[_0x1feac6]=_0x4ef43a<<0x18|_0x4ef43a>>>0x8,_0x19b355[_0x1feac6]=_0x4ef43a<<0x10|_0x4ef43a>>>0x10,_0x2384e3[_0x1feac6]=_0x4ef43a<<0x8|_0x4ef43a>>>0x18,_0x2c5a6d[_0x1feac6]=_0x4ef43a;var _0x4ef43a=_0x38d3e0*0x1010101^_0x490a88*0x10001^_0x4ed5b0*0x101^_0x1feac6*0x1010100;_0x2cb5cc[_0x39ca16]=_0x4ef43a<<0x18|_0x4ef43a>>>0x8,_0x524596[_0x39ca16]=_0x4ef43a<<0x10|_0x4ef43a>>>0x10,_0x416255[_0x39ca16]=_0x4ef43a<<0x8|_0x4ef43a>>>0x18,_0x7a3c88[_0x39ca16]=_0x4ef43a,_0x1feac6?(_0x1feac6=_0x4ed5b0^_0x404a51[_0x404a51[_0x404a51[_0x38d3e0^_0x4ed5b0]]],_0x4fcd7b^=_0x404a51[_0x404a51[_0x4fcd7b]]):_0x1feac6=_0x4fcd7b=0x1;}}());var _0x19d194=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x56dcba=_0xbc5183[_0x2f4136(0x2cd)]=_0x9572cf['extend']({'_doReset':function(){var _0x550c36=_0x2f4136,_0x52715f;if(!(this[_0x550c36(0x3b2)]&&this[_0x550c36(0x2ea)]===this[_0x550c36(0x3a4)])){for(var _0x28d7cc=this[_0x550c36(0x2ea)]=this['_key'],_0x4535c5=_0x28d7cc[_0x550c36(0x1e0)],_0x233022=_0x28d7cc[_0x550c36(0x273)]/0x4,_0x354860=this[_0x550c36(0x3b2)]=_0x233022+0x6,_0x1d5e1f=(_0x354860+0x1)*0x4,_0x4a9296=this[_0x550c36(0x15a)]=[],_0x33025c=0x0;_0x33025c<_0x1d5e1f;_0x33025c++)_0x33025c<_0x233022?_0x4a9296[_0x33025c]=_0x4535c5[_0x33025c]:(_0x52715f=_0x4a9296[_0x33025c-0x1],_0x33025c%_0x233022?_0x233022>0x6&&_0x33025c%_0x233022==0x4&&(_0x52715f=_0x18962a[_0x52715f>>>0x18]<<0x18|_0x18962a[_0x52715f>>>0x10&0xff]<<0x10|_0x18962a[_0x52715f>>>0x8&0xff]<<0x8|_0x18962a[_0x52715f&0xff]):(_0x52715f=_0x52715f<<0x8|_0x52715f>>>0x18,_0x52715f=_0x18962a[_0x52715f>>>0x18]<<0x18|_0x18962a[_0x52715f>>>0x10&0xff]<<0x10|_0x18962a[_0x52715f>>>0x8&0xff]<<0x8|_0x18962a[_0x52715f&0xff],_0x52715f^=_0x19d194[_0x33025c/_0x233022|0x0]<<0x18),_0x4a9296[_0x33025c]=_0x4a9296[_0x33025c-_0x233022]^_0x52715f);for(var _0x24c077=this[_0x550c36(0x3e5)]=[],_0x2569a9=0x0;_0x2569a9<_0x1d5e1f;_0x2569a9++){var _0x33025c=_0x1d5e1f-_0x2569a9;if(_0x2569a9%0x4)var _0x52715f=_0x4a9296[_0x33025c];else var _0x52715f=_0x4a9296[_0x33025c-0x4];_0x2569a9<0x4||_0x33025c<=0x4?_0x24c077[_0x2569a9]=_0x52715f:_0x24c077[_0x2569a9]=_0x2cb5cc[_0x18962a[_0x52715f>>>0x18]]^_0x524596[_0x18962a[_0x52715f>>>0x10&0xff]]^_0x416255[_0x18962a[_0x52715f>>>0x8&0xff]]^_0x7a3c88[_0x18962a[_0x52715f&0xff]];}}},'encryptBlock':function(_0x25d72d,_0x2f2562){this['_doCryptBlock'](_0x25d72d,_0x2f2562,this['_keySchedule'],_0xa5e56,_0x19b355,_0x2384e3,_0x2c5a6d,_0x18962a);},'decryptBlock':function(_0x24277e,_0x3a2bd7){var _0x5c4db6=_0x2f4136,_0x3a250f=_0x24277e[_0x3a2bd7+0x1];_0x24277e[_0x3a2bd7+0x1]=_0x24277e[_0x3a2bd7+0x3],_0x24277e[_0x3a2bd7+0x3]=_0x3a250f,this[_0x5c4db6(0x21d)](_0x24277e,_0x3a2bd7,this['_invKeySchedule'],_0x2cb5cc,_0x524596,_0x416255,_0x7a3c88,_0x5b2aca);var _0x3a250f=_0x24277e[_0x3a2bd7+0x1];_0x24277e[_0x3a2bd7+0x1]=_0x24277e[_0x3a2bd7+0x3],_0x24277e[_0x3a2bd7+0x3]=_0x3a250f;},'_doCryptBlock':function(_0x414f9e,_0x3810d7,_0x530235,_0x6294f5,_0x33174f,_0x1a00ea,_0x4e0ced,_0x48b756){for(var _0x3c4fb1=this['_nRounds'],_0x36a3ae=_0x414f9e[_0x3810d7]^_0x530235[0x0],_0x56d15f=_0x414f9e[_0x3810d7+0x1]^_0x530235[0x1],_0x38205a=_0x414f9e[_0x3810d7+0x2]^_0x530235[0x2],_0x84b3b9=_0x414f9e[_0x3810d7+0x3]^_0x530235[0x3],_0x30f870=0x4,_0x1a6e78=0x1;_0x1a6e78<_0x3c4fb1;_0x1a6e78++){var _0xe2d681=_0x6294f5[_0x36a3ae>>>0x18]^_0x33174f[_0x56d15f>>>0x10&0xff]^_0x1a00ea[_0x38205a>>>0x8&0xff]^_0x4e0ced[_0x84b3b9&0xff]^_0x530235[_0x30f870++],_0x219e30=_0x6294f5[_0x56d15f>>>0x18]^_0x33174f[_0x38205a>>>0x10&0xff]^_0x1a00ea[_0x84b3b9>>>0x8&0xff]^_0x4e0ced[_0x36a3ae&0xff]^_0x530235[_0x30f870++],_0x1778d5=_0x6294f5[_0x38205a>>>0x18]^_0x33174f[_0x84b3b9>>>0x10&0xff]^_0x1a00ea[_0x36a3ae>>>0x8&0xff]^_0x4e0ced[_0x56d15f&0xff]^_0x530235[_0x30f870++],_0x3d90e2=_0x6294f5[_0x84b3b9>>>0x18]^_0x33174f[_0x36a3ae>>>0x10&0xff]^_0x1a00ea[_0x56d15f>>>0x8&0xff]^_0x4e0ced[_0x38205a&0xff]^_0x530235[_0x30f870++];_0x36a3ae=_0xe2d681,_0x56d15f=_0x219e30,_0x38205a=_0x1778d5,_0x84b3b9=_0x3d90e2;}var _0xe2d681=(_0x48b756[_0x36a3ae>>>0x18]<<0x18|_0x48b756[_0x56d15f>>>0x10&0xff]<<0x10|_0x48b756[_0x38205a>>>0x8&0xff]<<0x8|_0x48b756[_0x84b3b9&0xff])^_0x530235[_0x30f870++],_0x219e30=(_0x48b756[_0x56d15f>>>0x18]<<0x18|_0x48b756[_0x38205a>>>0x10&0xff]<<0x10|_0x48b756[_0x84b3b9>>>0x8&0xff]<<0x8|_0x48b756[_0x36a3ae&0xff])^_0x530235[_0x30f870++],_0x1778d5=(_0x48b756[_0x38205a>>>0x18]<<0x18|_0x48b756[_0x84b3b9>>>0x10&0xff]<<0x10|_0x48b756[_0x36a3ae>>>0x8&0xff]<<0x8|_0x48b756[_0x56d15f&0xff])^_0x530235[_0x30f870++],_0x3d90e2=(_0x48b756[_0x84b3b9>>>0x18]<<0x18|_0x48b756[_0x36a3ae>>>0x10&0xff]<<0x10|_0x48b756[_0x56d15f>>>0x8&0xff]<<0x8|_0x48b756[_0x38205a&0xff])^_0x530235[_0x30f870++];_0x414f9e[_0x3810d7]=_0xe2d681,_0x414f9e[_0x3810d7+0x1]=_0x219e30,_0x414f9e[_0x3810d7+0x2]=_0x1778d5,_0x414f9e[_0x3810d7+0x3]=_0x3d90e2;},'keySize':0x100/0x20});_0x2d6656[_0x2f4136(0x2cd)]=_0x9572cf['_createHelper'](_0x56dcba);}()),_0x3a4ded['AES'];}));}(Ve)),Ve[_0x35332f(0x251)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0xff6382(0x251)],ii;function Cn(){var _0x3a3f10=_0xff6382;return ii||(ii=0x1,function(_0x3316c0,_0x58187a){(function(_0x3ae050,_0x3550fa){_0x3316c0['exports']=_0x3550fa(ie());}(Nn,function(_0x24d1ed){var _0x4caa86=_0x3f92;return _0x24d1ed[_0x4caa86(0x2c3)][_0x4caa86(0x366)];}));}(Je)),Je[_0x3a3f10(0x251)];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze[_0xff6382(0x251)],si;function Un(){var _0x51d2f6=_0xff6382;return si||(si=0x1,function(_0x18fa5e,_0x265a5d){(function(_0x307803,_0x4d6748){var _0x2247b2=_0x3f92;_0x18fa5e[_0x2247b2(0x251)]=_0x4d6748(ie());}(yn,function(_0x9f1f5){var _0x5e57f6=_0x3f92;return(function(){var _0xc00687=_0x3f92;if(typeof ArrayBuffer==_0xc00687(0xf8)){var _0x2c4862=_0x9f1f5,_0x17a43a=_0x2c4862[_0xc00687(0x2f5)],_0x4c8b02=_0x17a43a[_0xc00687(0x375)],_0x512493=_0x4c8b02['init'],_0x50857a=_0x4c8b02[_0xc00687(0x12d)]=function(_0x540661){var _0x403061=_0xc00687;if(_0x540661 instanceof ArrayBuffer&&(_0x540661=new Uint8Array(_0x540661)),(_0x540661 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x540661 instanceof Uint8ClampedArray||_0x540661 instanceof Int16Array||_0x540661 instanceof Uint16Array||_0x540661 instanceof Int32Array||_0x540661 instanceof Uint32Array||_0x540661 instanceof Float32Array||_0x540661 instanceof Float64Array)&&(_0x540661=new Uint8Array(_0x540661['buffer'],_0x540661[_0x403061(0x186)],_0x540661['byteLength'])),_0x540661 instanceof Uint8Array){for(var _0x3072c7=_0x540661[_0x403061(0x280)],_0x11a4a6=[],_0x276328=0x0;_0x276328<_0x3072c7;_0x276328++)_0x11a4a6[_0x276328>>>0x2]|=_0x540661[_0x276328]<<0x18-_0x276328%0x4*0x8;_0x512493[_0x403061(0x335)](this,_0x11a4a6,_0x3072c7);}else _0x512493[_0x403061(0x32f)](this,arguments);};_0x50857a['prototype']=_0x4c8b02;}}()),_0x9f1f5['lib'][_0x5e57f6(0x375)];}));}(Ze)),Ze[_0x51d2f6(0x251)];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},wn=Qe[_0xff6382(0x251)],ni;function Ln(){var _0x3d99fc=_0xff6382;return ni||(ni=0x1,function(_0x211c1e,_0x3ce97a){(function(_0x730285,_0x28a746,_0x11ca37){var _0x123525=_0x3f92;_0x211c1e[_0x123525(0x251)]=_0x28a746(ie(),bi());}(wn,function(_0x39d61a){var _0xfb81e4=_0x3f92;return _0x39d61a[_0xfb81e4(0x113)][_0xfb81e4(0x388)]={'pad':function(){},'unpad':function(){}},_0x39d61a[_0xfb81e4(0x113)][_0xfb81e4(0x388)];}));}(Qe)),Qe[_0x3d99fc(0x251)];}var Mn=Ln();const xn=$e(Mn);function kn(_0x27f90c,_0x4d204c){var _0x2ccc14=_0xff6382;const _0x1281b5=_0x4d204c-_0x27f90c[_0x2ccc14(0xfe)]%_0x4d204c,_0x2dba46=String[_0x2ccc14(0x37b)](_0x1281b5)[_0x2ccc14(0x23b)](_0x1281b5);return _0x27f90c+_0x2dba46;}function $n(_0x3d6048,_0x5a44e6){var _0x230ad4=_0xff6382;const _0x2e23b5=Pn[_0x230ad4(0x30d)](0x10),_0x118b33=kn(_0x3d6048,0x10),_0x5ed1c7=On[_0x230ad4(0x318)](Dn[_0x230ad4(0x2f0)](_0x118b33),ti[_0x230ad4(0x2f0)](_0x5a44e6),{'iv':_0x2e23b5,'padding':xn});return _0x2e23b5[_0x230ad4(0x204)](_0x5ed1c7['ciphertext'])['toString'](ti);}function Hn(){var _0x45abb3=_0xff6382;const _0x23646d=_0x32e82d()['__Key__'];if(typeof window<'u'&&typeof window[_0x45abb3(0x180)]<'u'&&_0x23646d){const _0x3966df={'time':Math[_0x45abb3(0x2f6)](Date[_0x45abb3(0x286)]()/0x3e8),'domain':location[_0x45abb3(0x2b5)]};return $n(JSON[_0x45abb3(0x3de)](_0x3966df),_0x23646d);}}var Bn=Object[_0xff6382(0x169)],Fn=(_0x286dbb,_0x1f154a,_0x2ddda8,_0x59be52)=>{var _0x5e827c=_0xff6382;for(var _0x4dfc5c=_0x59be52>0x1?void 0x0:_0x59be52?Bn(_0x1f154a,_0x2ddda8):_0x1f154a,_0x324d44=_0x286dbb[_0x5e827c(0xfe)]-0x1,_0x2bb15e;_0x324d44>=0x0;_0x324d44--)(_0x2bb15e=_0x286dbb[_0x324d44])&&(_0x4dfc5c=_0x2bb15e(_0x4dfc5c)||_0x4dfc5c);return _0x4dfc5c;},jn=(_0x352ec5,_0x407648)=>(_0x419593,_0x439687)=>_0x407648(_0x419593,_0x439687,_0x352ec5);let at=class{constructor(_0x427174){var _0x3ad98c=_0xff6382;this[_0x3ad98c(0x226)]=_0x427174,this[_0x3ad98c(0x114)]();}[_0xff6382(0x114)](){var _0x4dd838=_0xff6382;this[_0x4dd838(0x226)][_0x4dd838(0x327)]({'interceptor':(_0x1943a0,_0x4128af)=>{var _0x2fb0a0=_0x4dd838;const _0x1897ac=_0x1943a0[_0x2fb0a0(0x2d3)],_0x5a3f73=Hn();return _0x5a3f73&&_0x1897ac[_0x2fb0a0(0x36a)](_0x2fb0a0(0x1b9),_0x5a3f73),_0x4128af(_0x1943a0);}});}};at=Fn([jn(0x0,_0x26f1c4(_0x3b36ba))],at);var Vn=Object[_0xff6382(0x169)],Gn=(_0xfd4970,_0x47ec1e,_0x52b364,_0xf48b2f)=>{for(var _0x5dc736=_0xf48b2f>0x1?void 0x0:_0xf48b2f?Vn(_0x47ec1e,_0x52b364):_0x47ec1e,_0x495baa=_0xfd4970['length']-0x1,_0x167385;_0x495baa>=0x0;_0x495baa--)(_0x167385=_0xfd4970[_0x495baa])&&(_0x5dc736=_0x167385(_0x5dc736)||_0x5dc736);return _0x5dc736;},vt=(_0x41f161,_0x367f8d)=>(_0x4b0d76,_0x44178e)=>_0x367f8d(_0x4b0d76,_0x44178e,_0x41f161);let Ot=class extends _0x1734f1{constructor(_0x13c2e5,_0x34372c,_0x2061fa){var _0x2469ee=_0xff6382;super(),D(this,_0x2469ee(0x34b),new _0x409cb3(null)),D(this,_0x2469ee(0x2bd),this['_unitInfo$'][_0x2469ee(0x3ac)]()),(this['_logService']=_0x13c2e5,this[_0x2469ee(0x1a5)]=_0x34372c,this[_0x2469ee(0xe9)]=_0x2061fa);}async[_0xff6382(0x1f5)](_0x398bc0,_0x1f3753,_0xd55d73){var _0x4d1630=_0xff6382;this[_0x4d1630(0x34b)]['next']({'unitId':_0x398bc0,'type':_0x1f3753});let _0x5bca6f=null;switch(_0x1f3753){case Q[_0x4d1630(0xf5)]:{_0x5bca6f=await this[_0x4d1630(0x1a5)][_0x4d1630(0x155)](_0x398bc0,_0xd55d73);break;}case Q['UNIVER_DOC']:{_0x5bca6f=await this[_0x4d1630(0x1a5)][_0x4d1630(0x100)](_0x398bc0,_0xd55d73);break;}default:{this['_logService'][_0x4d1630(0x220)](_0x4d1630(0x1dd),_0x4d1630(0x21c));break;}}return _0x5bca6f;}async[_0xff6382(0x295)](_0x1dad63,_0x459618,_0x30451d){var _0x806bc7=_0xff6382,_0x49a5ce;this['_unitInfo$']['next']({'unitId':_0x1dad63,'type':_0x459618,'subUnitId':_0x30451d});let _0x39fa98=0x0;const _0x5dfced=await((_0x49a5ce=this[_0x806bc7(0xe9)])==null?void 0x0:_0x49a5ce[_0x806bc7(0xfa)](_0x1dad63));return _0x5dfced&&(_0x5dfced[_0x806bc7(0x231)]||_0x5dfced[_0x806bc7(0x3ae)][_0x806bc7(0xfe)]!==0x0)&&(_0x39fa98=_0x5dfced[_0x806bc7(0x399)]),_0x39fa98===0x0&&this[_0x806bc7(0x16e)][_0x806bc7(0x38c)]('[DataLoaderService]',_0x806bc7(0x182)),this[_0x806bc7(0x1f5)](_0x1dad63,_0x459618,_0x39fa98);}};Ot=Gn([vt(0x0,_0x4b39d4),vt(0x1,_0x26f1c4(_0x540d25)),vt(0x2,_0x197a74(X))],Ot);var Wn=Object['getOwnPropertyDescriptor'],Yn=(_0xfa9dde,_0x2ba6ff,_0x5b6eda,_0x58d1c4)=>{var _0x1fe8da=_0xff6382;for(var _0x4bfb3d=_0x58d1c4>0x1?void 0x0:_0x58d1c4?Wn(_0x2ba6ff,_0x5b6eda):_0x2ba6ff,_0x5c10ed=_0xfa9dde[_0x1fe8da(0xfe)]-0x1,_0x58a28d;_0x5c10ed>=0x0;_0x5c10ed--)(_0x58a28d=_0xfa9dde[_0x5c10ed])&&(_0x4bfb3d=_0x58a28d(_0x4bfb3d)||_0x4bfb3d);return _0x4bfb3d;},Et=(_0x24f331,_0x1bb27a)=>(_0x293b34,_0x5cba5d)=>_0x1bb27a(_0x293b34,_0x5cba5d,_0x24f331);const Kn=['image/png',_0xff6382(0x108),_0xff6382(0x34e),_0xff6382(0x371),_0xff6382(0x2e4)],qn=0x5*0x400*0x400,zn=_0xff6382(0x16f),Xn=_0xff6382(0x3da);let Rt=class{constructor(_0x457f58,_0x464b3f,_0x596ce5){var _0x41b717=_0xff6382;D(this,'_waitCount',0x0),D(this,'_change$',new _0x14e298()),D(this,_0x41b717(0x260),this[_0x41b717(0x250)]),D(this,_0x41b717(0x2de),new Map()),(this[_0x41b717(0x226)]=_0x457f58,this[_0x41b717(0x1e2)]=_0x464b3f,this[_0x41b717(0x2da)]=_0x596ce5);}[_0xff6382(0x239)](_0x12c82b){var _0x4cfaec=_0xff6382;this[_0x4cfaec(0x385)]=_0x12c82b,this[_0x4cfaec(0x250)][_0x4cfaec(0x118)](_0x12c82b);}['getImageSourceCache'](_0x45fba1,_0x354cca){var _0x5705f5=_0xff6382;if(_0x354cca===_0x1fae8f[_0x5705f5(0x287)]){const _0x31b7b9=new Image();return _0x31b7b9[_0x5705f5(0x240)]=_0x45fba1,_0x31b7b9;}return this[_0x5705f5(0x2de)][_0x5705f5(0x22d)](_0x45fba1);}['addImageSourceCache'](_0x549296,_0x2da2a1,_0x227e40){var _0x461368=_0xff6382;_0x2da2a1===_0x1fae8f[_0x461368(0x287)]||_0x227e40==null||this[_0x461368(0x2de)][_0x461368(0x36a)](_0x549296,_0x227e40);}async[_0xff6382(0x39b)](_0x1e9b46){var _0x13e13f=_0xff6382;try{const _0xbae663=this[_0x13e13f(0x354)](this[_0x13e13f(0x3a7)](),''+_0x1e9b46),_0x44ec63=(await this[_0x13e13f(0x226)][_0x13e13f(0x22d)](_0xbae663))[_0x13e13f(0x35b)];if(_0x44ec63[_0x13e13f(0x220)]&&_0x44ec63['error']['code']===vi['OK']){const _0x345297=_0x40c488(_0x44ec63['url'],this[_0x13e13f(0x3a0)]());return Promise['resolve'](_0x345297);}return Promise['reject'](_0x44ec63[_0x13e13f(0x220)]);}catch(_0x18804d){return Promise[_0x13e13f(0xe7)](_0x18804d);}}async[_0xff6382(0x3dd)](_0xf09d6e){var _0x47712d=_0xff6382;let _0x466555='';if(!Kn['includes'](_0xf09d6e[_0x47712d(0x2c6)]))return this[_0x47712d(0x177)](),Promise[_0x47712d(0xe7)](new Error(_0x6d76aa[_0x47712d(0x193)]));if(_0xf09d6e[_0x47712d(0x18e)]>qn)return this['_decreaseWaiting'](),Promise[_0x47712d(0xe7)](new Error(_0x6d76aa[_0x47712d(0x362)]));try{const _0x56b1a2=new FormData();_0x56b1a2[_0x47712d(0x120)](_0x47712d(0xf9),_0xf09d6e);const _0x4e7b4f=this[_0x47712d(0x2da)][_0x47712d(0x319)](),_0x2a9302=_0x4e7b4f==null?void 0x0:_0x4e7b4f[_0x47712d(0x143)]();if(!_0x2a9302)throw new Error(_0x47712d(0x2fd));const _0x4b3849=this[_0x47712d(0x20b)]()+_0x47712d(0x315)+_0xf09d6e[_0x47712d(0x18e)]['toString']()+_0x47712d(0x3e6)+Ei['UnitEmbedded']+'&assign='+encodeURIComponent(_0x2a9302),_0x373182={'body':_0x56b1a2},_0x2e6e20=(await this[_0x47712d(0x226)][_0x47712d(0x3d3)](_0x4b3849,_0x373182))[_0x47712d(0x35b)];if(typeof _0x2e6e20[_0x47712d(0xff)]!=_0x47712d(0x393))return this[_0x47712d(0x177)](),Promise[_0x47712d(0xe7)](new Error(_0x6d76aa[_0x47712d(0x28f)]));_0x466555=_0x2e6e20[_0x47712d(0xff)];}catch{return this[_0x47712d(0x177)](),Promise[_0x47712d(0xe7)](new Error(_0x6d76aa['ERROR_IMAGE']));}return new Promise((_0x49db4d,_0x3a8175)=>{var _0x338298=_0x47712d;const _0x3335d6=new FileReader();_0x3335d6[_0x338298(0x387)](_0xf09d6e),_0x3335d6['onload']=_0x334bb0=>{var _0x28b437=_0x338298,_0x23d0d4;const _0x55cb16=(_0x23d0d4=_0x334bb0[_0x28b437(0x10c)])==null?void 0x0:_0x23d0d4[_0x28b437(0x29d)];if(_0x55cb16==null){this[_0x28b437(0x177)](),_0x3a8175(new Error(_0x6d76aa[_0x28b437(0x28f)]));return;}const _0x3798fc=_0x1b1ec4(0x6);_0x49db4d({'imageId':_0x3798fc,'imageSourceType':_0x1fae8f['UUID'],'source':_0x466555,'base64Cache':_0x55cb16,'status':_0x6d76aa[_0x28b437(0x26a)]}),this['_decreaseWaiting']();};});}[_0xff6382(0x20b)](){var _0x3021af=_0xff6382,_0x250a1f;const _0x729795=this[_0x3021af(0x1e2)][_0x3021af(0x2d1)](K);return(_0x250a1f=_0x729795==null?void 0x0:_0x729795[_0x3021af(0x14d)])!=null?_0x250a1f:zn;}[_0xff6382(0x3a7)](){var _0x410d56=_0xff6382,_0x3bf044;const _0x5bf305=this[_0x410d56(0x1e2)][_0x410d56(0x2d1)](K);return(_0x3bf044=_0x5bf305==null?void 0x0:_0x5bf305[_0x410d56(0x3ad)])!=null?_0x3bf044:Xn;}[_0xff6382(0x3a0)](){var _0xf4e447=_0xff6382,_0x7dc99a;const _0x5f5217=this[_0xf4e447(0x1e2)][_0xf4e447(0x2d1)](K);return(_0x7dc99a=_0x5f5217==null?void 0x0:_0x5f5217[_0xf4e447(0x242)])!=null?_0x7dc99a:location[_0xf4e447(0x2ee)];}[_0xff6382(0x354)](_0x344f4d,_0x4fc91e){var _0x462704=_0xff6382;return _0x344f4d[_0x462704(0x347)]('{fileID}',_0x4fc91e);}['_decreaseWaiting'](){var _0x140e99=_0xff6382;this[_0x140e99(0x385)]-=0x1,this[_0x140e99(0x250)][_0x140e99(0x118)](this[_0x140e99(0x385)]);}};Rt=Yn([Et(0x0,_0x26f1c4(_0x3b36ba)),Et(0x1,_0x5839d5),Et(0x2,_0x26f1c4(_0x3c78cc))],Rt);var Jn=Object[_0xff6382(0x169)],Zn=(_0x591c6d,_0x1b93a2,_0x54eb5c,_0x563cf8)=>{var _0x53f2fd=_0xff6382;for(var _0x14d591=_0x563cf8>0x1?void 0x0:_0x563cf8?Jn(_0x1b93a2,_0x54eb5c):_0x1b93a2,_0x22ca77=_0x591c6d[_0x53f2fd(0xfe)]-0x1,_0x29f31a;_0x22ca77>=0x0;_0x22ca77--)(_0x29f31a=_0x591c6d[_0x22ca77])&&(_0x14d591=_0x29f31a(_0x14d591)||_0x14d591);return _0x14d591;},ri=(_0x44651c,_0x709172)=>(_0x120d59,_0x577b87)=>_0x709172(_0x120d59,_0x577b87,_0x44651c);const Qn=_0xff6382(0x337);let Nt=class{constructor(_0x351d2b,_0x22a4b4){var _0x5b372a=_0xff6382;this[_0x5b372a(0x1e2)]=_0x351d2b,this['_HTTPService']=_0x22a4b4;}['_getAPIPrefixPath'](){var _0x46660e=_0xff6382,_0x1748d1;const _0x26c210=this['_configService']['getConfig'](K);return(_0x1748d1=_0x26c210==null?void 0x0:_0x26c210[_0x46660e(0x2d9)])!=null?_0x1748d1:Qn;}async[_0xff6382(0x3ca)](_0x572c3c){var _0x2de003=_0xff6382;const _0x102eb7=this[_0x2de003(0x298)]()+_0x2de003(0x341);return{'list':[{'title':_0x2de003(0x19d),'mentions':(await this[_0x2de003(0x3cd)][_0x2de003(0x22d)](_0x102eb7,{'params':{'objectID':_0x572c3c[_0x2de003(0x2ad)],'unitID':_0x572c3c[_0x2de003(0x2ad)]}}))[_0x2de003(0x35b)][_0x2de003(0x12e)]['map'](_0x379aa8=>({'objectId':_0x379aa8['id'],'name':_0x379aa8[_0x2de003(0x36e)]['name'],'metadata':{'icon':_0x379aa8[_0x2de003(0x36e)][_0x2de003(0x1b3)]},'label':_0x379aa8[_0x2de003(0x36e)][_0x2de003(0x261)],'objectType':_0x14821a['PERSON']})),'metadata':{},'type':_0x14821a['PERSON']}]};}};Nt=Zn([ri(0x0,_0x26f1c4(_0x5839d5)),ri(0x1,_0x26f1c4(_0x3b36ba))],Nt);var er=Object[_0xff6382(0x169)],tr=(_0x2bd3e0,_0x14a5f5,_0x138e39,_0x1516bb)=>{for(var _0x59f9ce=_0x1516bb>0x1?void 0x0:_0x1516bb?er(_0x14a5f5,_0x138e39):_0x14a5f5,_0x44c660=_0x2bd3e0['length']-0x1,_0x1cefb8;_0x44c660>=0x0;_0x44c660--)(_0x1cefb8=_0x2bd3e0[_0x44c660])&&(_0x59f9ce=_0x1cefb8(_0x59f9ce)||_0x59f9ce);return _0x59f9ce;},Ue=(_0x124e7b,_0x5cf432)=>(_0x42c8c4,_0x2ce4f8)=>_0x5cf432(_0x42c8c4,_0x2ce4f8,_0x124e7b);let ot=class extends _0x1734f1{constructor(_0x9e474f,_0x5f89d6,_0x4a9002,_0x120d3f,_0x4847c2){var _0x358bdf=_0xff6382;super(),this[_0x358bdf(0x2c0)]=_0x9e474f,this[_0x358bdf(0x2da)]=_0x5f89d6,this[_0x358bdf(0x176)]=_0x4a9002,this[_0x358bdf(0x2e2)]=_0x120d3f,this[_0x358bdf(0x3b9)]=_0x4847c2,this[_0x358bdf(0x30e)](),this[_0x358bdf(0x3dc)]();}[_0xff6382(0x3dc)](){var _0x24c8e3=_0xff6382;const _0x223f51=async _0x31fb7b=>{var _0x4ac1df=_0x3f92;(await this[_0x4ac1df(0x2e2)]['requireSession'](_0x31fb7b))['event$'][_0x4ac1df(0x1fa)](_0x5f2611(_0x16f458=>_0x16f458['eventID']===_0x5561ca['SHOULD_CLOSE_CONN']),_0x3160cb(this[_0x4ac1df(0x39c)]))[_0x4ac1df(0x33c)](_0x44aa4f=>{var _0x556008=_0x4ac1df;const _0x1448fd=_0x44aa4f,{reason:_0x2fe4fa}=_0x1448fd[_0x556008(0x39d)];this[_0x556008(0x3b9)]['emitEvent']({'id':re[_0x556008(0xfb)],'data':_0x2fe4fa}),this[_0x556008(0x176)][_0x556008(0x12a)](new _0x1dc0bf(_0x31fb7b)['id'],!0x1),this[_0x556008(0x2e2)][_0x556008(0x3b8)](_0x31fb7b);});};_0x301fbe(this[_0x24c8e3(0x2da)][_0x24c8e3(0x267)](_0x20192f[_0x24c8e3(0xf5)]),this[_0x24c8e3(0x2da)][_0x24c8e3(0x267)](_0x20192f['UNIVER_DOC']))['pipe'](_0x240bec(_0xe84f19=>_0xe84f19[_0x24c8e3(0x143)]()),_0x5f2611(_0x3fb792=>!_0x2e6ffc(_0x3fb792)),_0x3160cb(this[_0x24c8e3(0x39c)]))[_0x24c8e3(0x33c)](_0x598ccf=>{_0x223f51(_0x598ccf);});}['_initUnitPermissionChange'](){var _0x260e9b=_0xff6382;const _0x348c45=async _0x3cd67e=>{var _0x29669b=_0x3f92;const _0x1e2050=await this[_0x29669b(0x2e2)][_0x29669b(0x38e)](_0x3cd67e),_0x56465b=this[_0x29669b(0x2c0)][_0x29669b(0x22d)](_0x3b4d81);_0x1e2050[_0x29669b(0x2be)][_0x29669b(0x1fa)](_0x5f2611(_0x1577ed=>_0x1577ed[_0x29669b(0x247)]===_0x5561ca['UPDATE_PERMISSION_OBJ']),_0x3160cb(this[_0x29669b(0x39c)]))[_0x29669b(0x33c)](_0x17f37b=>{var _0x1ca852=_0x29669b;const _0x5e68f2=_0x17f37b,{objectId:_0x551625}=_0x5e68f2[_0x1ca852(0x39d)];_0x551625===_0x3cd67e?_0x56465b[_0x1ca852(0x134)](_0x3cd67e):_0x56465b[_0x1ca852(0x395)](_0x3cd67e,_0x551625);});};_0x301fbe(this[_0x260e9b(0x2da)][_0x260e9b(0x267)](_0x20192f[_0x260e9b(0xf5)]))[_0x260e9b(0x1fa)](_0x240bec(_0x10dfe2=>_0x10dfe2['getUnitId']()),_0x5f2611(_0x358708=>!_0x2e6ffc(_0x358708)),_0x3160cb(this[_0x260e9b(0x39c)]))[_0x260e9b(0x33c)](_0x86f02b=>{_0x348c45(_0x86f02b);});}};ot=tr([Ue(0x0,_0x26f1c4(_0x479e14)),Ue(0x1,_0x3c78cc),Ue(0x2,_0x1ce666),Ue(0x3,_0x26f1c4(we)),Ue(0x4,_0x26f1c4(ve))],ot);var ir=Object[_0xff6382(0x169)],sr=(_0x2319f6,_0x1a2d22,_0x5445dc,_0x53963c)=>{for(var _0x4f2a0c=_0x53963c>0x1?void 0x0:_0x53963c?ir(_0x1a2d22,_0x5445dc):_0x1a2d22,_0x3ef8ce=_0x2319f6['length']-0x1,_0x17ed22;_0x3ef8ce>=0x0;_0x3ef8ce--)(_0x17ed22=_0x2319f6[_0x3ef8ce])&&(_0x4f2a0c=_0x17ed22(_0x4f2a0c)||_0x4f2a0c);return _0x4f2a0c;},ai=(_0x266010,_0x202978)=>(_0x3bdb55,_0x147a2f)=>_0x202978(_0x3bdb55,_0x147a2f,_0x266010);let Ct=class{constructor(_0x5bdd24,_0x159ccb){this['_configService']=_0x5bdd24,this['_httpService']=_0x159ccb;}async['getUnitOnRev'](_0x486226,_0x9265bb){var _0x454bdd=_0xff6382,_0x4b6973;const {unitID:_0x23c357,type:_0x522196,revision:_0x491102=0x0}=_0x9265bb,_0xf6712d=this[_0x454bdd(0x367)]()+'/'+_0x522196+_0x454bdd(0x39e)+_0x23c357+'/rev/'+_0x491102,_0x1c49c9=(await this[_0x454bdd(0x226)][_0x454bdd(0x22d)](_0xf6712d))[_0x454bdd(0x35b)],_0x15d3e4=(_0x4b6973=_0x1c49c9[_0x454bdd(0x11b)])==null?void 0x0:_0x4b6973[_0x454bdd(0x3c5)];if(_0x15d3e4){const _0x3248cd=_0x15d3e4==null?void 0x0:_0x15d3e4['originalMeta'],_0x13897a=_0x3ef249[_0x454bdd(0x37d)](_0x4c051e(_0x3248cd));_0x15d3e4[_0x454bdd(0x25d)]=_0x13897a,Object['entries'](_0x15d3e4[_0x454bdd(0x3cb)])[_0x454bdd(0x3bd)](([,_0x21aa95])=>{var _0x43c9f8=_0x454bdd;const _0x48ab49=_0x21aa95['originalMeta'],_0x2dc00b=_0x3ef249[_0x43c9f8(0x37d)](_0x4c051e(_0x48ab49));_0x21aa95['originalMeta']=_0x2dc00b;});}return _0x1c49c9;}async[_0xff6382(0x121)](_0x113777,_0x314772){var _0x3a1387=_0xff6382;const {unitID:_0x33f479,type:_0x507a70,blockID:_0x1a8824}=_0x314772,_0x54b563=this['_getAPIPrefix']()+'/'+_0x507a70+'/unit/'+_0x33f479+'/block/'+_0x1a8824;return(await this[_0x3a1387(0x226)][_0x3a1387(0x22d)](_0x54b563))[_0x3a1387(0x35b)];}async[_0xff6382(0x253)](_0x21156d,_0x4913d3){var _0x170de7=_0xff6382;const {unitID:_0x1d6848,type:_0x4bdb43,blockID:_0x219410}=_0x4913d3,_0x528e55=this['_getAPIPrefix']()+_0x170de7(0x2ff)+_0x4bdb43+_0x170de7(0x39e)+_0x1d6848+_0x170de7(0x2ff)+_0x219410;return(await this[_0x170de7(0x226)][_0x170de7(0x22d)](_0x528e55))[_0x170de7(0x35b)];}async['fetchMissingChangesets'](_0x1b6971,_0x3e2732){var _0x2cf0a5=_0xff6382;const {unitID:_0x19799f,type:_0x4b383f,from:_0x50eaf0,to:_0xb1f6d1}=_0x3e2732,_0x2b3064=this[_0x2cf0a5(0x25e)]()+'/'+_0x4b383f+_0x2cf0a5(0x39e)+_0x19799f+_0x2cf0a5(0x365)+_0x50eaf0+_0x2cf0a5(0x368)+_0xb1f6d1;return(await this['_httpService'][_0x2cf0a5(0x22d)](_0x2b3064))[_0x2cf0a5(0x35b)];}[_0xff6382(0x367)](){var _0x519547=_0xff6382,_0x503937;return(_0x503937=this['_configService'][_0x519547(0x2d1)](ps))!=null?_0x503937:this[_0x519547(0x25e)]();}[_0xff6382(0x25e)](){var _0xc3d06d=_0xff6382,_0x34731d;const _0x357c88=this['_configService'][_0xc3d06d(0x2d1)](K);return(_0x34731d=_0x357c88==null?void 0x0:_0x357c88[_0xc3d06d(0x1d1)])!=null?_0x34731d:Es;}async[_0xff6382(0x109)](_0x5f38a9,_0x54325c){var _0x1cff17=_0xff6382;const _0xe3d656=_0x1cff17(0x2ce)+_0x54325c[_0x1cff17(0x2c6)]+_0x1cff17(0x39e)+_0x54325c[_0x1cff17(0x2cc)]+_0x1cff17(0x3f5);return(await this['_httpService']['get'](_0xe3d656,{'params':{'resourceId':JSON['stringify'](_0x54325c[_0x1cff17(0x2e3)])}}))[_0x1cff17(0x35b)];}[_0xff6382(0x1ef)](){var _0x5048fc=_0xff6382;throw new Error(_0x5048fc(0x2eb));}['updateSnapshot'](){var _0x5632dd=_0xff6382;throw new Error(_0x5632dd(0x2eb));}['saveSheetBlock'](){var _0x4ccee9=_0xff6382;throw new Error(_0x4ccee9(0x2eb));}[_0xff6382(0x150)](){var _0x1c4ad0=_0xff6382;throw new Error(_0x1c4ad0(0x2eb));}['copyFileMeta'](){var _0x14ad98=_0xff6382;throw new Error(_0x14ad98(0x2eb));}[_0xff6382(0x32b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ct=sr([ai(0x0,_0x5839d5),ai(0x1,_0x26f1c4(_0x3b36ba))],Ct);var nr=Object[_0xff6382(0x169)],rr=(_0x365b64,_0x1259a3,_0x15042b,_0x31e23f)=>{for(var _0x353388=_0x31e23f>0x1?void 0x0:_0x31e23f?nr(_0x1259a3,_0x15042b):_0x1259a3,_0x5351dc=_0x365b64['length']-0x1,_0x5afbfd;_0x5351dc>=0x0;_0x5351dc--)(_0x5afbfd=_0x365b64[_0x5351dc])&&(_0x353388=_0x5afbfd(_0x353388)||_0x353388);return _0x353388;},Ae=(_0x566949,_0x38faf2)=>(_0xef480d,_0x4bd552)=>_0x38faf2(_0xef480d,_0x4bd552,_0x566949);let bt=class extends _0x4a3615{constructor(_0x516c0f,_0x444713,_0x291749,_0x10734c,_0x5ae851){var _0x304439=_0xff6382;super(_0x516c0f,_0x444713,_0x291749),this[_0x304439(0x1db)]=_0x10734c,this[_0x304439(0x16e)]=_0x5ae851;}[_0xff6382(0x2d0)](_0x9c7ec2,_0x2a94c7){var _0x3e7839=_0xff6382;const _0x26ab3b=this[_0x3e7839(0x28a)](_0x9c7ec2);if(_0x26ab3b)try{const _0x231142=this[_0x3e7839(0x22f)](_0x26ab3b,_0x2a94c7);this['_substituteUndoStack'](_0x9c7ec2,_0x231142);}catch(_0x6be1a0){this[_0x3e7839(0x16e)][_0x3e7839(0x220)]('[CollaborationUndoRedoService]',_0x6be1a0),this['_clearUndo'](_0x9c7ec2);}const _0x2ed502=this[_0x3e7839(0xe5)](_0x9c7ec2);if(_0x2ed502)try{const _0x40a0ee=this[_0x3e7839(0x22f)](_0x2ed502,_0x2a94c7);this[_0x3e7839(0x158)](_0x9c7ec2,_0x40a0ee);}catch(_0x1e1cda){this[_0x3e7839(0x16e)][_0x3e7839(0x220)](_0x1e1cda),this[_0x3e7839(0x1ba)](_0x9c7ec2);}}[_0xff6382(0x305)](_0x2a4989){var _0x28b615=_0xff6382;const _0x553762=this[_0x28b615(0x28a)](_0x2a4989);_0x553762&&(_0x553762[_0x28b615(0xfe)]=0x0,this[_0x28b615(0x34a)]());}['_clearRedo'](_0x4b48){var _0xcfd6bd=_0xff6382;const _0x2f058a=this[_0xcfd6bd(0xe5)](_0x4b48);_0x2f058a&&(_0x2f058a[_0xcfd6bd(0xfe)]=0x0,this['_updateStatus']());}[_0xff6382(0x110)](_0x4e79f9,_0xd175d2){var _0x25bbba=_0xff6382;this[_0x25bbba(0x185)][_0x25bbba(0x36a)](_0x4e79f9,_0xd175d2),this[_0x25bbba(0x34a)]();}['_substituteRedoStack'](_0x111d4a,_0x2c31ca){var _0x4afb18=_0xff6382;this['_redoStacks'][_0x4afb18(0x36a)](_0x111d4a,_0x2c31ca),this['_updateStatus']();}[_0xff6382(0x22f)](_0x4f94c0,_0x3edeef){var _0x3e9028=_0xff6382;const _0x28a0fa=[];let _0x7fce0c=_0x3edeef,_0x46002b=_0x3edeef;for(let _0x977c32=_0x4f94c0[_0x3e9028(0xfe)]-0x1;_0x977c32>=0x0;_0x977c32--){const {unitID:_0x171fd5,undoMutations:_0x12d1e4,redoMutations:_0x3b6f84}=_0x4f94c0[_0x977c32],_0x39d60a=this['_transformService'][_0x3e9028(0x123)](_0x7fce0c,_0x12d1e4),_0x3d5227=this['_transformService'][_0x3e9028(0x123)](_0x46002b,_0x3b6f84);if(_0x499a6e(_0x39d60a)||_0x499a6e(_0x3d5227)){this[_0x3e9028(0x16e)][_0x3e9028(0x220)](_0x3e9028(0x339),_0x3e9028(0x32e),_0x39d60a,_0x3d5227);break;}_0x7fce0c=_0x39d60a['c1Prime'],_0x46002b=_0x3d5227[_0x3e9028(0x14f)],_0x28a0fa[_0x3e9028(0x1ed)]({'unitID':_0x171fd5,'undoMutations':_0x39d60a[_0x3e9028(0x14b)],'redoMutations':_0x3d5227[_0x3e9028(0x14b)]});}return _0x28a0fa[_0x3e9028(0x1a3)]();}};bt=rr([Ae(0x0,_0x3c78cc),Ae(0x1,_0x53c0da),Ae(0x2,_0x448142),Ae(0x3,_0x3a8ddb),Ae(0x4,_0x4b39d4)],bt);var ar=Object['defineProperty'],or=Object[_0xff6382(0x169)],cr=(_0x2910de,_0x371a2f,_0xf06b4)=>_0x371a2f in _0x2910de?ar(_0x2910de,_0x371a2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf06b4}):_0x2910de[_0x371a2f]=_0xf06b4,_r=(_0x385252,_0xde26b,_0x50dc8d,_0x1eacc0)=>{for(var _0x1fcfd6=_0x1eacc0>0x1?void 0x0:_0x1eacc0?or(_0xde26b,_0x50dc8d):_0xde26b,_0x96d1f=_0x385252['length']-0x1,_0x3024cb;_0x96d1f>=0x0;_0x96d1f--)(_0x3024cb=_0x385252[_0x96d1f])&&(_0x1fcfd6=_0x3024cb(_0x1fcfd6)||_0x1fcfd6);return _0x1fcfd6;},pt=(_0x33f977,_0x25e8d2)=>(_0x4f15b7,_0x58d5ca)=>_0x25e8d2(_0x4f15b7,_0x58d5ca,_0x33f977),hr=(_0x253e58,_0x53f4b8,_0x1e761f)=>cr(_0x253e58,_0x53f4b8+'',_0x1e761f);const lr=_0xff6382(0x373);let Dt=class extends _0xb12a35{constructor(_0x282ec3,_0x774957,_0x5ac80e,_0x10d0e8){var _0x2c02f8=_0xff6382;super(),D(this,_0x2c02f8(0x128)),(this[_0x2c02f8(0x16e)]=_0x774957,this['_injector']=_0x5ac80e,this[_0x2c02f8(0x1e2)]=_0x10d0e8);const {..._0x3d7036}=_0xbdf69({},ks,_0x282ec3);if(!_0x3d7036[_0x2c02f8(0x35a)])throw new Error(_0x2c02f8(0x10e));this[_0x2c02f8(0x128)]=_0x3d7036,this[_0x2c02f8(0x1e2)][_0x2c02f8(0x245)](K,_0x3d7036);}[_0xff6382(0x10f)](){var _0x516d5e=_0xff6382;this['_registerDependencies'](),this[_0x516d5e(0x3ef)]();}[_0xff6382(0x3f8)](){var _0x375962=_0xff6382,_0x107402,_0x2538ae;this[_0x375962(0x2c0)][_0x375962(0x3ec)](_0x5c3c47)&&this['_logService'][_0x375962(0x220)](_0x375962(0x16b),_0x375962(0xe8));const _0x4e8164=_0x4ff346([[_0x5c3c47,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0x375962(0x128)][_0x375962(0x35a)]}],[_0x3fcbd6,{'useClass':Ct}],[_0x548229,{'useClass':Tt}],[_0x234c1a,{'useClass':Rt}],[_0x5c14d2,{'useClass':Nt}],[nt],[gt]],(_0x107402=this[_0x375962(0x128)])==null?void 0x0:_0x107402['override']);if(!((_0x2538ae=this['_config'])!=null&&_0x2538ae['enableSingleActiveInstanceLock'])){const _0x5123cd=_0x4e8164['findIndex'](([_0x2fcf10])=>_0x2fcf10===_t);_0x5123cd!==-0x1&&_0x4e8164['splice'](_0x5123cd,0x1);}_0x21d310(this['_injector'],_0x4e8164);}[_0xff6382(0x3ef)](){var _0x22a848=_0xff6382,_0x5c9078,_0x131dea,_0x5844ac;this[_0x22a848(0x2c0)][_0x22a848(0x22d)](_0x3b36ba)[_0x22a848(0x327)]({'priority':0x14,'interceptor':_0x3ada3d({'maxParallel':0x6})}),(_0x5c9078=this[_0x22a848(0x128)])!=null&&_0x5c9078[_0x22a848(0x370)]||(_0x131dea=this[_0x22a848(0x2c0)][_0x22a848(0x22d)](X,_0x3512b0['OPTIONAL']))==null||_0x131dea[_0x22a848(0x2c5)](),(_0x5844ac=this[_0x22a848(0x128)])!=null&&_0x5844ac[_0x22a848(0x378)]&&_0x40b693(this['_injector'],[[rt]]),_0x40b693(this['_injector'],[[at],[nt],[ot]]);}};hr(Dt,_0xff6382(0x2bc),lr),Dt=_r([_0x26838c(_0x1308f4,_0x3574a6),pt(0x1,_0x4b39d4),pt(0x2,_0x26f1c4(_0x479e14)),pt(0x3,_0x5839d5)],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,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};
|
|
1
|
+
var _0x187534=_0x8b56;(function(_0x310977,_0x327651){var _0x2c153a=_0x8b56,_0x24356e=_0x310977();while(!![]){try{var _0x1b0ece=parseInt(_0x2c153a(0x317))/0x1+parseInt(_0x2c153a(0x197))/0x2*(parseInt(_0x2c153a(0x2d3))/0x3)+parseInt(_0x2c153a(0x14f))/0x4+parseInt(_0x2c153a(0x374))/0x5+parseInt(_0x2c153a(0x1ad))/0x6+-parseInt(_0x2c153a(0x111))/0x7+-parseInt(_0x2c153a(0x292))/0x8;if(_0x1b0ece===_0x327651)break;else _0x24356e['push'](_0x24356e['shift']());}catch(_0x387934){_0x24356e['push'](_0x24356e['shift']());}}}(_0x5c4e,0x1a597));var Di=Object[_0x187534(0x29a)],yi=(_0x4d6d1d,_0x403285,_0x1f70ed)=>_0x403285 in _0x4d6d1d?Di(_0x4d6d1d,_0x403285,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f70ed}):_0x4d6d1d[_0x403285]=_0x1f70ed,D=(_0xe72f04,_0x3ef272,_0x2b03ca)=>yi(_0xe72f04,typeof _0x3ef272!='symbol'?_0x3ef272+'':_0x3ef272,_0x2b03ca);import{CollaborationEvent as _0xb98076,isTransformMutationsWithChangesetSuccess as _0x2c7803,ITransformService as _0x3bc245,mapDocumentTypeToUniverType as _0x41d815,RevisionService as _0x2470ee,isTransformChangesetsSuccess as _0x331521,EmptyMutationInfo as _0x323de5,CompressMutationService as _0x245527,parseProtocolChangeset as _0x2303a6,uuidv4 as _0x477851,parseChangesetToProtocol as _0x2b08ba,ISnapshotServerService as _0x4cd1f2,SnapshotService as _0x3ec698,textEncoder as _0x300dd1,b64DecodeUnicode as _0x12f643,isTransformMutationsWithChangesetFailure as _0x5277bf,UniverCollaborationPlugin as _0x484203}from'@univerjs-pro/collaboration';import{Inject as _0x3dae34,UserManagerService as _0x54996a,Disposable as _0x4fffff,UniverInstanceType as _0x429e1a,IUniverInstanceService as _0x59f9c0,Optional as _0x369572,RxDisposable as _0x442ddb,ILogService as _0x4dc6a1,IConfigService as _0x6fb4f3,createIdentifier as _0x5debdd,Injector as _0x11f94e,Tools as _0x30c26e,Rectangle as _0x4ff1ae,ICommandService as _0x3e7b0d,JSONX as _0x214e37,IPermissionService as _0xa09fd9,LocaleService as _0x3a1551,sequenceExecute as _0x4a5237,IUndoRedoService as _0x133b92,toDisposable as _0x4d6759,CommandType as _0x48ce4f,DisposableCollection as _0x31d283,Workbook as _0x4b16e2,resolveWithBasePath as _0x555a5d,generateRandomId as _0x831e15,MentionType as _0x2a1fd7,isInternalEditorID as _0x398366,LocalUndoRedoService as _0x4fca76,IContextService as _0x11c2a8,DependentOn as _0x26933f,Plugin as _0x1510d5,merge as _0x128f91,mergeOverrideWithDependencies as _0x197f75,IAuthzIoService as _0x3e6031,IMentionIOService as _0x13b223,registerDependencies as _0x196ffc,Quantity as _0x528a70,touchDependencies as _0x262af3}from'@univerjs/core';import{RichTextEditingMutation as _0xad3887}from'@univerjs/docs';import{SheetsSelectionsService as _0x463bc9,SetSelectionsOperation as _0x419c27,InsertSheetMutation as _0x180095,WorkbookEditablePermission as _0x56beb9,SheetPermissionInitController as _0x2c62c7}from'@univerjs/sheets';import{Subject as _0x4d8cd9,merge as _0x20e52c,of as _0xa211f4,BehaviorSubject as _0x44ac7d,takeUntil as _0x5c1493,ReplaySubject as _0xb87994,take as _0x4692ee,map as _0x30e24,shareReplay as _0x54e4ea,firstValueFrom as _0x20fd07,concatMap as _0x233c09}from'rxjs';import{ITelemetryService as _0x1aab6d}from'@univerjs/telemetry';import{map as _0x4ee1f7,take as _0x399970,filter as _0x50625a,delay as _0x559bd5,takeUntil as _0x37ab82}from'rxjs/operators';import{HTTPService as _0x3e9fc0,ISocketService as _0x5625ee,MergeInterceptorFactory as _0x5b7c8f,HTTPRequest as _0x33f5ce,UniverNetworkPlugin as _0x20e038,ThresholdInterceptorFactory as _0x29564b}from'@univerjs/network';import{getGlobalObject as _0x4872ea,UniverLicensePlugin as _0x35c349}from'@univerjs-pro/license';import{ImageSourceType as _0x1ad0c5,ImageUploadStatusType as _0x1db362,IImageIoService as _0x43a872}from'@univerjs/drawing';const ps=_0x187534(0x1eb),ms=_0x187534(0x330),Is=0x7d0,Ss=_0x187534(0x29f),Rr=_0x187534(0x29d),gs=_0x187534(0xcb),Ts=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Os=0x4e20,Rs=_0x187534(0x20b),Ns=0x3,Nr=_0x187534(0x11c),Cr=0x3e8,Cs=_0x187534(0x313),bs=_0x187534(0x23f),br=_0x187534(0x12d),Dr='/universer-api/uniscript';var vi=(_0x2dda52=>(_0x2dda52[_0x2dda52['UNDEFINED']=0x0]=_0x187534(0x25b),_0x2dda52[_0x2dda52['OK']=0x1]='OK',_0x2dda52[_0x2dda52['INTERNAL_ERROR']=0x2]=_0x187534(0x2c0),_0x2dda52[_0x2dda52[_0x187534(0x275)]=0x3]=_0x187534(0x275),_0x2dda52[_0x2dda52['NOT_FOUND']=0x4]=_0x187534(0xab),_0x2dda52[_0x2dda52[_0x187534(0x30a)]=0x5]=_0x187534(0x30a),_0x2dda52[_0x2dda52['ALREADY_EXISTS']=0x6]=_0x187534(0x205),_0x2dda52[_0x2dda52['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x2dda52[_0x2dda52['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2dda52[_0x2dda52[_0x187534(0x37f)]=0x9]=_0x187534(0x37f),_0x2dda52[_0x2dda52[_0x187534(0x336)]=0xa]='LOGIN_FAILED',_0x2dda52[_0x2dda52['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x187534(0x344),_0x2dda52[_0x2dda52[_0x187534(0x107)]=0xc]=_0x187534(0x107),_0x2dda52[_0x2dda52[_0x187534(0x2df)]=0xd]=_0x187534(0x2df),_0x2dda52[_0x2dda52[_0x187534(0xa6)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2dda52[_0x2dda52[_0x187534(0x32e)]=0xf]=_0x187534(0x32e),_0x2dda52[_0x2dda52[_0x187534(0x2f9)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x2dda52[_0x2dda52[_0x187534(0x15a)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2dda52[_0x2dda52[_0x187534(0x1ce)]=0x65]=_0x187534(0x1ce),_0x2dda52[_0x2dda52[_0x187534(0x2be)]=0xc9]=_0x187534(0x2be),_0x2dda52[_0x2dda52[_0x187534(0x27d)]=0xca]='USER_IS_ANONYMOUS',_0x2dda52[_0x2dda52[_0x187534(0x273)]=0x1389]=_0x187534(0x273),_0x2dda52[_0x2dda52[_0x187534(0x16d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2dda52[_0x2dda52['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2dda52[_0x2dda52[_0x187534(0x28f)]=0x1773]=_0x187534(0x28f),_0x2dda52[_0x2dda52[_0x187534(0x189)]=0x1b59]=_0x187534(0x189),_0x2dda52[_0x2dda52[_0x187534(0x127)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2dda52[_0x2dda52['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2dda52[_0x2dda52['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x187534(0x2d4),_0x2dda52[_0x2dda52[_0x187534(0x365)]=0x1b5d]='APPLY_DUPLICATED',_0x2dda52[_0x2dda52[_0x187534(0x186)]=0x1f41]=_0x187534(0x186),_0x2dda52[_0x2dda52[_0x187534(0xb0)]=0x2329]=_0x187534(0xb0),_0x2dda52[_0x2dda52['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x187534(0x398),_0x2dda52[_0x2dda52['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x187534(0x13d),_0x2dda52[_0x2dda52[_0x187534(0x216)]=0x232c]=_0x187534(0x216),_0x2dda52[_0x2dda52[_0x187534(0x14a)]=0x232d]=_0x187534(0x14a),_0x2dda52[_0x2dda52[_0x187534(0x126)]=0x2711]=_0x187534(0x126),_0x2dda52[_0x2dda52[_0x187534(0x1da)]=0x2712]=_0x187534(0x1da),_0x2dda52[_0x2dda52['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x187534(0x16c),_0x2dda52[_0x2dda52[_0x187534(0x307)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2dda52[_0x2dda52[_0x187534(0x363)]=0x271a]=_0x187534(0x363),_0x2dda52[_0x2dda52[_0x187534(0x1d5)]=0x271b]=_0x187534(0x1d5),_0x2dda52[_0x2dda52[_0x187534(0x129)]=0x271c]=_0x187534(0x129),_0x2dda52[_0x2dda52[_0x187534(0x340)]=0x271d]=_0x187534(0x340),_0x2dda52[_0x2dda52[_0x187534(0x25c)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2dda52[_0x2dda52[_0x187534(0x305)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2dda52[_0x2dda52[_0x187534(0x2dd)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x2dda52[_0x2dda52[_0x187534(0x218)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2dda52[_0x2dda52[_0x187534(0x2b6)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2dda52[_0x2dda52[_0x187534(0x2ad)]=0x2ee2]=_0x187534(0x2ad),_0x2dda52[_0x2dda52[_0x187534(0x179)]=0x2ee3]=_0x187534(0x179),_0x2dda52[_0x2dda52[_0x187534(0x1c4)]=0x2ee4]=_0x187534(0x1c4),_0x2dda52[_0x2dda52['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2dda52[_0x2dda52['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x187534(0x145),_0x2dda52[_0x2dda52[_0x187534(0x293)]=0x32ca]=_0x187534(0x293),_0x2dda52[_0x2dda52[_0x187534(0x10c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2dda52[_0x2dda52['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2dda52[_0x2dda52[_0x187534(0x2b5)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x2dda52[_0x2dda52[_0x187534(0x135)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x2dda52[_0x2dda52['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x187534(0x2d1),_0x2dda52[_0x2dda52[_0x187534(0x32b)]=0x36b5]=_0x187534(0x32b),_0x2dda52[_0x2dda52[_0x187534(0x2bd)]=0x36b6]=_0x187534(0x2bd),_0x2dda52[_0x2dda52['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x187534(0x36f),_0x2dda52[_0x2dda52[_0x187534(0x1dd)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x2dda52[_0x2dda52[_0x187534(0x1c2)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2dda52[_0x2dda52[_0x187534(0x172)]=0x3716]=_0x187534(0x172),_0x2dda52[_0x2dda52[_0x187534(0x278)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2dda52[_0x2dda52[_0x187534(0x342)]=0x37dd]=_0x187534(0x342),_0x2dda52[_0x2dda52['REDEMPTION_INVALID_CODE']=0x3a99]=_0x187534(0x2c6),_0x2dda52[_0x2dda52['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x187534(0x263),_0x2dda52[_0x2dda52[_0x187534(0x33b)]=0x3a9b]=_0x187534(0x33b),_0x2dda52[_0x2dda52['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x187534(0xb5),_0x2dda52[_0x2dda52[_0x187534(0x274)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x2dda52[_0x2dda52[_0x187534(0x163)]=0x3a9e]=_0x187534(0x163),_0x2dda52[_0x2dda52[_0x187534(0xe1)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x2dda52[_0x2dda52[_0x187534(0x2ff)]=0x3e81]=_0x187534(0x2ff),_0x2dda52[_0x2dda52[_0x187534(0x289)]=-0x1]=_0x187534(0x289),_0x2dda52))(vi||{}),Q=(_0x1418f7=>(_0x1418f7[_0x1418f7[_0x187534(0x325)]=0x0]=_0x187534(0x325),_0x1418f7[_0x1418f7[_0x187534(0x161)]=0x1]=_0x187534(0x161),_0x1418f7[_0x1418f7['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1418f7[_0x1418f7['UNIVER_SLIDE']=0x3]=_0x187534(0x25f),_0x1418f7[_0x1418f7[_0x187534(0xc9)]=0x4]=_0x187534(0xc9),_0x1418f7[_0x1418f7[_0x187534(0x289)]=-0x1]=_0x187534(0x289),_0x1418f7))(Q||{}),j=(_0x20b454=>(_0x20b454[_0x20b454[_0x187534(0xa9)]=0x0]=_0x187534(0xa9),_0x20b454[_0x20b454['HELLO']=0x1]=_0x187534(0x19c),_0x20b454[_0x20b454[_0x187534(0x295)]=0x2]='JOIN',_0x20b454[_0x20b454['LEAVE']=0x3]='LEAVE',_0x20b454[_0x20b454['INGEST']=0x4]=_0x187534(0x1d6),_0x20b454[_0x20b454[_0x187534(0x1a7)]=0x5]='HEARTBEAT',_0x20b454[_0x20b454[_0x187534(0x310)]=0x6]=_0x187534(0x310),_0x20b454[_0x20b454[_0x187534(0x289)]=-0x1]='UNRECOGNIZED',_0x20b454))(j||{}),Ee=(_0x861724=>(_0x861724[_0x861724[_0x187534(0x2db)]=0x0]=_0x187534(0x2db),_0x861724[_0x861724['OK']=0x1]='OK',_0x861724[_0x861724[_0x187534(0x199)]=0x2]=_0x187534(0x199),_0x861724[_0x861724[_0x187534(0x1ee)]=0x3e9]=_0x187534(0x1ee),_0x861724[_0x861724[_0x187534(0x1bb)]=0x3ea]=_0x187534(0x1bb),_0x861724[_0x861724[_0x187534(0xef)]=0x3eb]=_0x187534(0xef),_0x861724[_0x861724[_0x187534(0xdd)]=0x3ec]=_0x187534(0xdd),_0x861724[_0x861724[_0x187534(0x289)]=-0x1]=_0x187534(0x289),_0x861724))(Ee||{}),Ei=(_0x3cddc9=>(_0x3cddc9[_0x3cddc9[_0x187534(0x181)]=0x0]=_0x187534(0x181),_0x3cddc9[_0x3cddc9[_0x187534(0x1cf)]=0x1]=_0x187534(0x1cf),_0x3cddc9[_0x3cddc9['HttpExport']=0x2]=_0x187534(0x102),_0x3cddc9[_0x3cddc9['UnitEmbedded']=0x3]='UnitEmbedded',_0x3cddc9[_0x3cddc9[_0x187534(0x165)]=0x4]=_0x187534(0x165),_0x3cddc9[_0x3cddc9['UserProfileImg']=0x5]=_0x187534(0x146),_0x3cddc9[_0x3cddc9[_0x187534(0x2d7)]=0x6]=_0x187534(0x2d7),_0x3cddc9[_0x3cddc9['UNRECOGNIZED']=-0x1]=_0x187534(0x289),_0x3cddc9))(Ei||{});const Ds=_0x187534(0x2a1);function ys(_0x5b1362){var _0x2123e3=_0x187534;return JSON[_0x2123e3(0xba)](_0x5b1362)[_0x2123e3(0x134)];}var re=(_0x14d8bf=>(_0x14d8bf['OTHER_CLIENT_EDITING']=_0x187534(0xed),_0x14d8bf[_0x187534(0x275)]=_0x187534(0x275),_0x14d8bf['CONFLICT']=_0x187534(0x271),_0x14d8bf['CLOSE_ROOM']='CLOSE_ROOM',_0x14d8bf[_0x187534(0x1d2)]='JOIN_ROOM_FAILED',_0x14d8bf['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x14d8bf['SOCKET_FAILED']='SOCKET_FAILED',_0x14d8bf[_0x187534(0x294)]=_0x187534(0x294),_0x14d8bf))(re||{});class ve{constructor(){var _0x570d60=_0x187534;D(this,'_event$',new _0x4d8cd9()),D(this,_0x570d60(0x210),this[_0x570d60(0x10e)]['asObservable']());}['emitEvent'](_0x59b5e2){var _0x582a31=_0x187534;this[_0x582a31(0x10e)]['next'](_0x59b5e2);}}class pi{constructor(){D(this,'_commentUpdate$',new _0x4d8cd9()),D(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0x187534(0x16a)](_0x2be99e){var _0x24aeba=_0x187534;this[_0x24aeba(0x22d)][_0x24aeba(0x2a3)](_0x2be99e);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x11d403,_0x31b25f,_0x31a50d,_0x550ee5)=>{for(var _0x1a004a=_0x550ee5>0x1?void 0x0:_0x550ee5?Us(_0x31b25f,_0x31a50d):_0x31b25f,_0x2b5b8c=_0x11d403['length']-0x1,_0x431cff;_0x2b5b8c>=0x0;_0x2b5b8c--)(_0x431cff=_0x11d403[_0x2b5b8c])&&(_0x1a004a=_0x431cff(_0x1a004a)||_0x1a004a);return _0x1a004a;},Ft=(_0x1c5c0b,_0x57236a)=>(_0x2f22a7,_0x2bb08b)=>_0x57236a(_0x2f22a7,_0x2bb08b,_0x1c5c0b);let Pe=class extends _0x4fffff{constructor(_0x1d6161,_0x4a1f15){var _0x1dac8a=_0x187534;super(),D(this,_0x1dac8a(0x1db),new Map()),D(this,'_roomCreated$',new _0x4d8cd9()),(this[_0x1dac8a(0x2bf)]=_0x1d6161,this[_0x1dac8a(0x1f4)]=_0x4a1f15,this[_0x1dac8a(0xd4)](_0x20e52c(this['_univerInstanceService'][_0x1dac8a(0xfe)](_0x429e1a[_0x1dac8a(0x258)])[_0x1dac8a(0x201)](_0x4ee1f7(_0x1cc772=>_0x1cc772[_0x1dac8a(0x341)]())),this[_0x1dac8a(0x2bf)]['getTypeOfUnitDisposed$'](_0x429e1a['UNIVER_DOC'])[_0x1dac8a(0x201)](_0x4ee1f7(_0x5359ef=>_0x5359ef[_0x1dac8a(0x341)]())),this[_0x1dac8a(0x2bf)]['getTypeOfUnitDisposed$'](_0x429e1a[_0x1dac8a(0x25f)])['pipe'](_0x4ee1f7(_0x14ba6c=>_0x14ba6c['getUnitId']())))[_0x1dac8a(0x2f2)](_0x20adc4=>this['_removeRoom'](_0x20adc4))));}[_0x187534(0x355)](_0x1bb8da){var _0x1efc2a=_0x187534;return this['_roomMembers'][_0x1efc2a(0x173)](_0x1bb8da)?_0xa211f4(this[_0x1efc2a(0x1db)][_0x1efc2a(0x12c)](_0x1bb8da)):this[_0x1efc2a(0x382)][_0x1efc2a(0x201)](_0x4ee1f7(_0x2a6213=>{var _0x405263=_0x1efc2a;if(_0x2a6213===_0x1bb8da)return this[_0x405263(0x1db)][_0x405263(0x12c)](_0x2a6213);}));}[_0x187534(0x21b)](_0x3f8a4b){var _0x46cc49=_0x187534;this['_userManagerService'][_0x46cc49(0x21b)](_0x3f8a4b);}[_0x187534(0x33d)](){var _0x593ccd=_0x187534;return this['_userManagerService'][_0x593ccd(0x33d)]();}[_0x187534(0x1b2)](_0x4ad792,_0x134491){var _0x36626d=_0x187534;let _0x3d6bc0=this[_0x36626d(0x1db)][_0x36626d(0x12c)](_0x4ad792);_0x3d6bc0||(_0x3d6bc0=new Ps(),this['_roomMembers'][_0x36626d(0x366)](_0x4ad792,_0x3d6bc0),this['_roomCreated$'][_0x36626d(0x2a3)](_0x4ad792)),_0x3d6bc0['updateMember'](_0x134491);}[_0x187534(0x2d5)](_0x36e946,_0x24a916){var _0x385cf5=_0x187534;const _0x2cea48=this[_0x385cf5(0x1db)][_0x385cf5(0x12c)](_0x36e946);_0x2cea48&&_0x2cea48[_0x385cf5(0x2d5)](_0x24a916);}[_0x187534(0x2e3)](_0x18ea17){var _0x5b1262=_0x187534;return this[_0x5b1262(0x1db)][_0x5b1262(0x12c)](_0x18ea17);}[_0x187534(0x22b)](_0x3dc58b,_0x3d30a8){var _0xcf8358=_0x187534;const _0xb20803=this[_0xcf8358(0x1db)][_0xcf8358(0x12c)](_0x3dc58b);if(_0xb20803)return _0xb20803[_0xcf8358(0x22b)](_0x3d30a8);}[_0x187534(0x2e2)](_0x3bcb8c){var _0x3ec4c9=_0x187534;const _0x4ad45a=this[_0x3ec4c9(0x1db)][_0x3ec4c9(0x12c)](_0x3bcb8c);_0x4ad45a&&(_0x4ad45a['dispose'](),this[_0x3ec4c9(0x1db)][_0x3ec4c9(0x2ed)](_0x3bcb8c));}[_0x187534(0xbf)](){var _0x24fb84=_0x187534;this[_0x24fb84(0x1db)][_0x24fb84(0x148)](_0x998643=>_0x998643[_0x24fb84(0xbf)]()),this[_0x24fb84(0x1db)][_0x24fb84(0x118)](),this['_roomCreated$'][_0x24fb84(0x36c)]();}};Pe=As([Ft(0x0,_0x59f9c0),Ft(0x1,_0x3dae34(_0x54996a))],Pe);class Ps extends _0x4fffff{constructor(){var _0x481cbf=_0x187534;super(...arguments),D(this,_0x481cbf(0x1ea),new Map()),D(this,_0x481cbf(0x2e1),new _0x44ac7d(this[_0x481cbf(0x1ea)])),D(this,'members$',this[_0x481cbf(0x2e1)][_0x481cbf(0x276)]());}[_0x187534(0xbf)](){var _0x411300=_0x187534;this[_0x411300(0x1ea)][_0x411300(0x118)]();}['updateMember'](_0x42e1d0){var _0x3afcc0=_0x187534;this[_0x3afcc0(0x1ea)][_0x3afcc0(0x366)](_0x42e1d0[_0x3afcc0(0x19e)],_0x42e1d0),this['_emitMembers']();}['removeMember'](_0x19714a){var _0xfe0ccc=_0x187534;this[_0xfe0ccc(0x1ea)]['delete'](_0x19714a);}[_0x187534(0x22b)](_0x463378){var _0x2057d7=_0x187534;return this['_members'][_0x2057d7(0x12c)](_0x463378);}['getAllMembers'](){var _0x2cefd3=_0x187534;return Array[_0x2cefd3(0x169)](this[_0x2cefd3(0x1ea)]['values']());}[_0x187534(0x185)](){var _0x1fd0fe=_0x187534;this[_0x1fd0fe(0x2e1)]['next'](this[_0x1fd0fe(0x1ea)]);}}var ws=Object[_0x187534(0x268)],Ls=(_0x5bc480,_0x28f672,_0xeb5c93,_0x1aafa4)=>{for(var _0x229be9=_0x1aafa4>0x1?void 0x0:_0x1aafa4?ws(_0x28f672,_0xeb5c93):_0x28f672,_0x1cd359=_0x5bc480['length']-0x1,_0x4f114f;_0x1cd359>=0x0;_0x1cd359--)(_0x4f114f=_0x5bc480[_0x1cd359])&&(_0x229be9=_0x4f114f(_0x229be9)||_0x229be9);return _0x229be9;},Oe=(_0x14fbc0,_0x2b8323)=>(_0x3baf5a,_0x5b47f0)=>_0x2b8323(_0x3baf5a,_0x5b47f0,_0x14fbc0),me=(_0x5efb64=>(_0x5efb64[_0x5efb64[_0x187534(0x39b)]=0x0]=_0x187534(0x39b),_0x5efb64[_0x5efb64[_0x187534(0x252)]=0x1]=_0x187534(0x252),_0x5efb64[_0x5efb64['OFFLINE']=0x2]=_0x187534(0x13b),_0x5efb64[_0x5efb64[_0x187534(0x1cd)]=0x3]='ONLINE',_0x5efb64))(me||{});const jt={[Ee[_0x187534(0x199)]]:_0x187534(0x177),[Ee[_0x187534(0x1ee)]]:_0x187534(0x1ab),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x187534(0xde),[Ee[_0x187534(0xef)]]:'session.room-permission-denied',[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let mt=class extends _0x442ddb{constructor(_0x4f237,_0x43ffd4,_0x2fd57e,_0xe72fe,_0x1d465f,_0x517014,_0x25e9bb,_0x28b2bb){var _0x40e6e4=_0x187534;super(),D(this,_0x40e6e4(0x2ce),new _0x44ac7d(0x0)),D(this,_0x40e6e4(0x1bc),this[_0x40e6e4(0x2ce)][_0x40e6e4(0x276)]()),D(this,'_event$',new _0x4d8cd9()),D(this,_0x40e6e4(0x210),this['_event$']['asObservable']()),D(this,_0x40e6e4(0x23a)),D(this,_0x40e6e4(0x2fb)),D(this,'_collaborationTimeoutTimer'),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x40e6e4(0x301),null),(this[_0x40e6e4(0xa3)]=_0x4f237,this[_0x40e6e4(0x299)]=_0x2fd57e,this[_0x40e6e4(0x32d)]=_0xe72fe,this[_0x40e6e4(0x375)]=_0x1d465f,this[_0x40e6e4(0x12b)]=_0x517014,this[_0x40e6e4(0x138)]=_0x25e9bb,this['_telemetryService']=_0x28b2bb,this[_0x40e6e4(0x1a9)]=!!this['_telemetryService'],_0x43ffd4['pipe'](_0x5c1493(this[_0x40e6e4(0x2da)]))[_0x40e6e4(0x2f2)](_0x36d681=>{var _0x39a66b=_0x40e6e4,_0x264cc5;typeof _0x36d681>'u'||(this[_0x39a66b(0x23a)]=_0x36d681,_0x36d681?(this[_0x39a66b(0x147)](_0x36d681),this[_0x39a66b(0x2fb)]=_0x36d681[_0x39a66b(0x2e0)][_0x39a66b(0x2f2)](_0x291a5c=>{var _0x368c52=_0x39a66b;_0x291a5c[_0x368c52(0x32a)]===this[_0x368c52(0xa3)]&&this[_0x368c52(0x140)](_0x291a5c);})):(this[_0x39a66b(0xda)](),this[_0x39a66b(0x2ce)][_0x39a66b(0x2a3)](0x2),(_0x264cc5=this[_0x39a66b(0x2fb)])==null||_0x264cc5['unsubscribe'](),this[_0x39a66b(0x2fb)]=null));}));}get[_0x187534(0x34f)](){return this['_sessionStatus$']['getValue']();}[_0x187534(0x217)](){var _0x6d8386=_0x187534,_0x524287,_0x4eb155;return(_0x4eb155=(_0x524287=this['_socket'])==null?void 0x0:_0x524287[_0x6d8386(0x19e)])!=null?_0x4eb155:null;}[_0x187534(0xbf)](){var _0x207598=_0x187534;super['dispose'](),this[_0x207598(0x2da)][_0x207598(0x2a3)](),this[_0x207598(0x2da)]['complete']();}[_0x187534(0xec)](){var _0x435a0a=_0x187534,_0x411d43,_0x4732ab;this[_0x435a0a(0xda)](),(_0x411d43=this[_0x435a0a(0x23a)])==null||_0x411d43['send']({'cmd':j[_0x435a0a(0x3a6)],'data':{'roomID':this[_0x435a0a(0xa3)]}}),(_0x4732ab=this['_socket'])==null||_0x4732ab[_0x435a0a(0xec)](),this[_0x435a0a(0x10e)][_0x435a0a(0x36c)](),this[_0x435a0a(0x2ce)][_0x435a0a(0x36c)](),this[_0x435a0a(0xbf)]();}['_onCombEvent'](_0x3dbeac){var _0x436fb3=_0x187534;_0x3dbeac[_0x436fb3(0x2a4)]===j['JOIN']?this[_0x436fb3(0x287)](_0x3dbeac):_0x3dbeac[_0x436fb3(0x2a4)]===j['RECV']&&this[_0x436fb3(0x29e)](_0x3dbeac);}[_0x187534(0x147)](_0x496a28){var _0x3b8c48=_0x187534;this['_sessionStatus$'][_0x3b8c48(0x2a3)](0x1),_0x496a28[_0x3b8c48(0x222)]({'cmd':j[_0x3b8c48(0x295)],'routeKey':this[_0x3b8c48(0xa3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3b8c48(0xa3)]}]}});}[_0x187534(0x287)](_0x3e3bc2){var _0x2d4c30=_0x187534,_0x88b15f;if(_0x3e3bc2['code']in jt){this[_0x2d4c30(0x138)]['emitEvent']({'id':re[_0x2d4c30(0x1d2)],'data':jt[_0x3e3bc2[_0x2d4c30(0x178)]]}),this[_0x2d4c30(0x2ce)]['next'](0x2);return;}this[_0x2d4c30(0x2ce)]['next'](0x3);const _0x4e51ca=(_0x88b15f=_0x3e3bc2[_0x2d4c30(0x247)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x88b15f[_0x2d4c30(0x326)];_0x4e51ca&&_0x4e51ca['forEach'](_0x46539d=>this['_memberService'][_0x2d4c30(0x1b2)](this[_0x2d4c30(0xa3)],_0x46539d));}['_onRecvEvent'](_0x3c5aaa){var _0x3be643=_0x187534;try{const _0x31f7f7=_0x3c5aaa[_0x3be643(0x247)];switch(_0x31f7f7['eventID']){case _0xb98076['USERS_ENTER']:this[_0x3be643(0x349)](_0x31f7f7),this[_0x3be643(0x10e)][_0x3be643(0x2a3)](_0x31f7f7);break;case _0xb98076[_0x3be643(0x1d4)]:this[_0x3be643(0xaa)](_0x31f7f7),this['_event$'][_0x3be643(0x2a3)](_0x31f7f7);break;case _0xb98076[_0x3be643(0x25a)]:case _0xb98076['CHANGESET_SHOULD_RETRY']:this[_0x3be643(0x1bd)](),this['_clearCollaborationTimeoutTimer'](),this[_0x3be643(0x10e)]['next'](_0x31f7f7);break;case _0xb98076[_0x3be643(0x174)]:this[_0x3be643(0x299)][_0x3be643(0x100)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x31f7f7)),this['_event$']['next'](_0x31f7f7);break;case _0xb98076[_0x3be643(0x1c5)]:this[_0x3be643(0x12b)][_0x3be643(0x16a)](_0x31f7f7[_0x3be643(0x247)]),this[_0x3be643(0x10e)][_0x3be643(0x2a3)](_0x31f7f7);break;default:this[_0x3be643(0x10e)][_0x3be643(0x2a3)](_0x31f7f7);}}catch(_0x5ddd71){this[_0x3be643(0x299)][_0x3be643(0x100)](_0x5ddd71,_0x3c5aaa);}}['_onUserJoin'](_0xf6f5bd){var _0x3359b7=_0x187534;this[_0x3359b7(0x375)][_0x3359b7(0x1b2)](this['_unitID'],_0xf6f5bd['data']);}['_onUserLeave'](_0x3f2d20){var _0x4ece23=_0x187534;this['_memberService'][_0x4ece23(0x2d5)](this['_unitID'],_0x3f2d20[_0x4ece23(0x247)][_0x4ece23(0x19e)]);}async[_0x187534(0x222)](_0x27056c,_0x15ec7d){var _0x16b8cf=_0x187534;if(this[_0x16b8cf(0x34f)]!==0x3||!this['_socket'])throw new Error(_0x16b8cf(0x2cf));try{_0x27056c['eventID']===_0xb98076[_0x16b8cf(0x1e1)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x16b8cf(0x360)](_0x27056c)),this[_0x16b8cf(0x23a)][_0x16b8cf(0x222)]({'cmd':j[_0x16b8cf(0x1d6)],'routeKey':_0x15ec7d,'routeType':'','data':_0x27056c});}catch(_0x337a32){this[_0x16b8cf(0x299)]['error'](_0x337a32);}}[_0x187534(0x13c)](){var _0x6abf7e=_0x187534,_0x5b9254;this[_0x6abf7e(0x250)]=setTimeout(()=>{var _0x31a6d1=_0x6abf7e;this[_0x31a6d1(0x250)]=null,this[_0x31a6d1(0x138)][_0x31a6d1(0x31f)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x5b9254=this[_0x6abf7e(0x32d)][_0x6abf7e(0x384)](di))!=null?_0x5b9254:fi);}[_0x187534(0x21c)](){var _0x4721c0=_0x187534;this[_0x4721c0(0x250)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4721c0(0x250)]=null);}[_0x187534(0x360)](_0x483efd){var _0xf074e3=_0x187534;if(!this[_0xf074e3(0x1a9)])return;const {data:_0x175af7}=_0x483efd,{unitID:_0x49b40e,changeset:_0x358c94}=_0x175af7,{mutations:_0x98dfee,type:_0x53c5c5}=_0x358c94;this[_0xf074e3(0x301)]={'unitId':_0x49b40e,'type':_0x53c5c5,'startTime':performance[_0xf074e3(0x155)](),'stopTime':0x0,'duration':0x0,'size':ys(_0x98dfee)};}[_0x187534(0x1bd)](){var _0x2a567a=_0x187534;if(this[_0x2a567a(0x1a9)]){if(!this['_telemetryInfo']){this['_logService'][_0x2a567a(0x100)](_0x2a567a(0x2a6),_0x2a567a(0x215));return;}this['_telemetryInfo'][_0x2a567a(0x2fd)]=performance[_0x2a567a(0x155)](),this[_0x2a567a(0x301)]['duration']=this[_0x2a567a(0x301)]['stopTime']-this['_telemetryInfo'][_0x2a567a(0x2b8)],this[_0x2a567a(0x36b)][_0x2a567a(0x373)](Ds,this[_0x2a567a(0x301)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x29968f=_0x187534;this[_0x29968f(0x301)]=null;}};mt=Ls([Oe(0x2,_0x4dc6a1),Oe(0x3,_0x6fb4f3),Oe(0x4,_0x3dae34(Pe)),Oe(0x5,_0x3dae34(pi)),Oe(0x6,_0x3dae34(ve)),Oe(0x7,_0x369572(_0x1aab6d))],mt);const X=_0x5debdd(_0x187534(0xfa));function yr(_0x311004){var _0xdb12be=_0x187534;return _0xdb12be(0x1ca)+_0x311004;}var Ms=Object[_0x187534(0x268)],xs=(_0x5df789,_0x334b35,_0x5759a8,_0x410cd6)=>{var _0x220b65=_0x187534;for(var _0x2ff9eb=_0x410cd6>0x1?void 0x0:_0x410cd6?Ms(_0x334b35,_0x5759a8):_0x334b35,_0x5b40f6=_0x5df789[_0x220b65(0x134)]-0x1,_0x2334b4;_0x5b40f6>=0x0;_0x5b40f6--)(_0x2334b4=_0x5df789[_0x5b40f6])&&(_0x2ff9eb=_0x2334b4(_0x2ff9eb)||_0x2ff9eb);return _0x2ff9eb;},ut=(_0x3a4c78,_0x52ca0d)=>(_0x3bd0b8,_0x37416d)=>_0x52ca0d(_0x3bd0b8,_0x37416d,_0x3a4c78);function ks(_0x5712db){var _0x3cad48=_0x187534;const {unitID:_0x3e4359,mutations:_0x59b707}=_0x5712db;return{'unitId':_0x3e4359,'subUnitId':_0x59b707[_0x3cad48(0x134)]>0x0?_0x59b707[0x0][_0x3cad48(0x1de)][_0x3cad48(0x153)]:null};}let it=class{constructor(_0x340d06,_0xc8a733,_0x24228e){var _0x48406e=_0x187534;this[_0x48406e(0x20d)]=_0x340d06,this[_0x48406e(0x30c)]=_0xc8a733,this[_0x48406e(0x2c4)]=_0x24228e;}['transformSelections'](_0x1ddcd1){var _0x43e0b8=_0x187534,_0x5734fb,_0x5df1d7,_0x521252,_0x220345;const _0x34db65=this['_injector'][_0x43e0b8(0x12c)](_0x463bc9),{unitId:_0x5d2097,subUnitId:_0x240378}=ks(_0x1ddcd1),_0x6489d9=_0x34db65==null?void 0x0:_0x34db65[_0x43e0b8(0xb2)](_0x5d2097)[_0x43e0b8(0x212)](),_0x5aa27e=(_0x5df1d7=(_0x5734fb=this[_0x43e0b8(0x2c4)]['getUnit'](_0x5d2097))==null?void 0x0:_0x5734fb[_0x43e0b8(0x26e)]())==null?void 0x0:_0x5df1d7['getSheetId']();if(_0x6489d9[_0x43e0b8(0x134)]===0x0||!_0x5d2097||!_0x240378)return;const _0x1c9ccc=[{'id':_0x419c27['id'],'params':{'unitId':_0x5d2097,'subUnitId':_0x5aa27e,'selections':_0x30c26e['deepClone'](_0x6489d9)}}],_0x19db59=this[_0x43e0b8(0x30c)][_0x43e0b8(0x15c)](_0x1ddcd1,_0x1c9ccc);if(!_0x2c7803(_0x19db59))throw _0x19db59[_0x43e0b8(0x100)];const _0x242607=(_0x220345=(_0x521252=_0x19db59[_0x43e0b8(0x14d)][0x0])==null?void 0x0:_0x521252[_0x43e0b8(0x1de)])==null?void 0x0:_0x220345[_0x43e0b8(0x2a8)];if(Array[_0x43e0b8(0x17e)](_0x242607)&&_0x242607[_0x43e0b8(0x134)]){if(_0x242607[_0x43e0b8(0x134)]===_0x1c9ccc[0x0]['params'][_0x43e0b8(0x2a8)][_0x43e0b8(0x134)]&&_0x242607[_0x43e0b8(0x32f)]((_0x4af656,_0x3280c8)=>_0x4ff1ae[_0x43e0b8(0x170)](_0x4af656['range'],_0x1c9ccc[0x0][_0x43e0b8(0x1de)][_0x43e0b8(0x2a8)][_0x3280c8][_0x43e0b8(0x38a)])))return;this[_0x43e0b8(0x20d)]['get'](_0x3e7b0d)[_0x43e0b8(0x27b)](_0x419c27['id'],{'unitId':_0x5d2097,'subUnitId':_0x5aa27e,'selections':_0x242607});}}};it=xs([ut(0x0,_0x3dae34(_0x11f94e)),ut(0x1,_0x3bc245),ut(0x2,_0x59f9c0)],it);const _t=_0x5debdd(_0x187534(0x18b));var mi=(_0x1333ef=>(_0x1333ef[_0x1333ef['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x187534(0xd6),_0x1333ef[_0x1333ef[_0x187534(0x1e4)]=0x1]=_0x187534(0x1e4),_0x1333ef))(mi||{});const K='collaboration-client.config',$s={};function Hs(_0x21c6cd){var _0x2d821b=_0x187534,_0x6dc78b;return!!((_0x6dc78b=_0x21c6cd[_0x2d821b(0x1de)])!=null&&_0x6dc78b[_0x2d821b(0x158)]);}const Bs=new Set([_0x180095['id']]);function Vt(_0x66261a,_0x33a405,_0x3347b0,_0x262405,_0x421d0a){var _0x1d95bf=_0x187534,_0x59887d,_0x53d7e4,_0x536684,_0x1b46cf;const _0x387f58=[];for(const _0xda9d2 of _0x66261a){if(Bs[_0x1d95bf(0x173)](_0xda9d2['id'])){if(_0x387f58['length']>0x0)break;_0x387f58[_0x1d95bf(0x239)](_0xda9d2);break;}if(Hs(_0xda9d2)){if(_0x387f58['length']>0x0)break;_0x387f58[_0x1d95bf(0x239)](_0xda9d2);break;}_0x387f58[_0x1d95bf(0x239)](_0xda9d2);}const _0x496d06=(_0x53d7e4=(_0x59887d=_0x421d0a['getCurrentUser']())==null?void 0x0:_0x59887d['userID'])!=null?_0x53d7e4:_0x1d95bf(0x1ec),_0x551c2d=(_0x1b46cf=(_0x536684=_0x421d0a['getCurrentUser']())==null?void 0x0:_0x536684['memberID'])!=null?_0x1b46cf:_0x1d95bf(0x1ec);return{'changeset':{'unitID':_0x33a405,'type':_0x41d815(_0x3347b0[_0x1d95bf(0x23e)](_0x33a405)),'baseRev':_0x262405[_0x1d95bf(0x24d)](_0x33a405),'revision':0x0,'userID':_0x496d06,'memberID':_0x551c2d,'mutations':_0x387f58},'pendingMutations':_0x66261a['slice'](_0x387f58[_0x1d95bf(0x134)])};}function Fs(_0x3bb9cb,_0x1813da,_0x3767f4,_0x2ec0fb,_0x4b6449){var _0x428a67=_0x187534,_0x870eda,_0x31409f,_0x23d120,_0x404b5b;const _0x47206f=[_0x3bb9cb[_0x428a67(0x3a4)]((_0x5e5c5b,_0x19620f)=>{var _0x1c12e2=_0x428a67,_0x5931f5;const {id:_0x30a2ab}=_0x5e5c5b,{id:_0x12a7da,type:_0x3dc27b}=_0x19620f,_0x5747a5=(_0x5931f5=_0x5e5c5b['params'])!=null?_0x5931f5:{'actions':null},_0x47cc29=_0x19620f[_0x1c12e2(0x1de)];if(_0x30a2ab&&_0x30a2ab!==_0x12a7da)throw new Error(_0x1c12e2(0x2d8)+_0x30a2ab+_0x1c12e2(0x1be)+_0x12a7da+'.');return{..._0x5e5c5b,'id':_0x12a7da,'type':_0x3dc27b,'params':{'unitId':_0x47cc29[_0x1c12e2(0x338)],'textRanges':_0x47cc29[_0x1c12e2(0x1e7)],'actions':_0x214e37[_0x1c12e2(0x112)](_0x5747a5[_0x1c12e2(0x2f5)],_0x47cc29[_0x1c12e2(0x2f5)])}};},{})],_0x6f6c65=(_0x31409f=(_0x870eda=_0x4b6449[_0x428a67(0x33d)]())==null?void 0x0:_0x870eda['userID'])!=null?_0x31409f:_0x428a67(0x1ec),_0x40834f=(_0x404b5b=(_0x23d120=_0x4b6449[_0x428a67(0x33d)]())==null?void 0x0:_0x23d120['memberID'])!=null?_0x404b5b:_0x428a67(0x1ec);return{'changeset':{'unitID':_0x1813da,'type':_0x41d815(_0x3767f4[_0x428a67(0x23e)](_0x1813da)),'baseRev':_0x2ec0fb[_0x428a67(0x24d)](_0x1813da),'revision':0x0,'userID':_0x6f6c65,'memberID':_0x40834f,'mutations':_0x47206f},'pendingMutations':[]};}function Ii(_0xe6ff5d,_0x552495){var _0x2c637b=_0x187534;const _0x8d02f7=new _0xb87994(0x1);return setTimeout(()=>_0x8d02f7[_0x2c637b(0x2a3)](_0x552495),_0xe6ff5d),_0x8d02f7[_0x2c637b(0x276)]()['pipe'](_0x4692ee(0x1));}var js=Object[_0x187534(0x268)],Se=(_0x47ea07,_0x49b642,_0x2d3e89,_0x15b6c8)=>{for(var _0x3413c0=_0x15b6c8>0x1?void 0x0:_0x15b6c8?js(_0x49b642,_0x2d3e89):_0x49b642,_0x527fc9=_0x47ea07['length']-0x1,_0x32f8d4;_0x527fc9>=0x0;_0x527fc9--)(_0x32f8d4=_0x47ea07[_0x527fc9])&&(_0x3413c0=_0x32f8d4(_0x3413c0)||_0x3413c0);return _0x3413c0;},w=(_0x436489,_0x67ebcf)=>(_0x3d89e3,_0x4366e4)=>_0x67ebcf(_0x3d89e3,_0x4366e4,_0x436489),Si=(_0x271553=>(_0x271553['NOT_COLLAB']=_0x187534(0x123),_0x271553[_0x187534(0x109)]='synced',_0x271553['PENDING']='pending',_0x271553['AWAITING']=_0x187534(0x2b2),_0x271553[_0x187534(0x36e)]=_0x187534(0x3b0),_0x271553[_0x187534(0x214)]=_0x187534(0x208),_0x271553[_0x187534(0x271)]=_0x187534(0x350),_0x271553[_0x187534(0x13b)]=_0x187534(0x26c),_0x271553))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x3c22e7,_0x58f80a,_0x374c2,_0x263db6,_0x2317b9,_0x37afbb,_0x45f8a9,_0x213cde,_0x1c709f){var _0x2079c8=_0x187534;D(this,_0x2079c8(0x101),null),D(this,_0x2079c8(0x38d),[]),(this['unitID']=_0x3c22e7,this[_0x2079c8(0x29c)]=_0x58f80a,this['_handler']=_0x2317b9,this[_0x2079c8(0xbb)]=_0x37afbb,this['_undoRedoService']=_0x45f8a9,this[_0x2079c8(0x1e8)]=_0x213cde,this[_0x2079c8(0x10a)]=_0x1c709f,this[_0x2079c8(0x101)]=_0x374c2,this[_0x2079c8(0x38d)]=_0x263db6);}[_0x187534(0x389)](_0xc0f240){var _0x3e2d43=_0x187534;const _0x27e3ec=this['_revisionService']['getCurrentRevOfUnit'](this[_0x3e2d43(0x282)]);return _0xc0f240[_0x3e2d43(0x114)]>_0x27e3ec+0x1?(this[_0x3e2d43(0x2cb)][_0x3e2d43(0x2bc)]({'from':_0x27e3ec,'to':_0xc0f240[_0x3e2d43(0x114)]-0x1}),!0x0):!0x1;}[_0x187534(0x17d)](_0x3b5818){var _0x11cef1=_0x187534;this['_undoRedoService'][_0x11cef1(0x23d)](this[_0x11cef1(0x282)],_0x3b5818);}['_transformSelections'](_0x4ba177){var _0x242a89=_0x187534,_0x33db1a,_0x3c0be8;(_0x3c0be8=(_0x33db1a=this[_0x242a89(0x2cb)])['onTransformSelections'])==null||_0x3c0be8[_0x242a89(0x184)](_0x33db1a,_0x4ba177);}[_0x187534(0x1e9)](_0x636550){var _0x3092a4=_0x187534,_0x538591,_0x316332;return(_0x316332=(_0x538591=this[_0x3092a4(0x2cb)])[_0x3092a4(0x257)])==null?void 0x0:_0x316332[_0x3092a4(0x184)](_0x538591,_0x636550);}['_transformStateCache'](_0x24f8a5){var _0x5a1037=_0x187534,_0x57a2f5,_0x1ac4bf;return(_0x1ac4bf=(_0x57a2f5=this[_0x5a1037(0x2cb)])['onTransformState'])==null?void 0x0:_0x1ac4bf[_0x5a1037(0x184)](_0x57a2f5,_0x24f8a5);}['_transformRemoteChangesetByIMECache'](_0x5b9476){var _0x48b2d0=_0x187534,_0x39135b,_0x3968ed,_0x2adce9;return(_0x2adce9=(_0x3968ed=(_0x39135b=this[_0x48b2d0(0x2cb)])[_0x48b2d0(0xf8)])==null?void 0x0:_0x3968ed['call'](_0x39135b,_0x5b9476))!=null?_0x2adce9:_0x5b9476;}[_0x187534(0x110)](_0x2d34d3){var _0x4d019f=_0x187534,_0x176395,_0x2ff504,_0x47ceb0;return(_0x47ceb0=(_0x2ff504=(_0x176395=this[_0x4d019f(0x2cb)])[_0x4d019f(0x1d7)])==null?void 0x0:_0x2ff504[_0x4d019f(0x184)](_0x176395,_0x2d34d3))!=null?_0x47ceb0:_0x2d34d3;}[_0x187534(0x211)](_0x287fd0){var _0x42a038=_0x187534,_0x298901,_0x80e8fa;if(this['type']===Q['UNIVER_DOC']){const {unitID:_0x3d22b4,mutations:_0x3c5a01,memberID:_0x1ef051}=_0x287fd0,_0x582aba=_0x3c5a01[_0x42a038(0x134)]>0x0?_0x3c5a01[0x0][_0x42a038(0x1de)][_0x42a038(0x1e7)]:[];Array[_0x42a038(0x17e)](_0x582aba)&&_0x582aba[_0x42a038(0x134)]>0x0&&((_0x80e8fa=(_0x298901=this[_0x42a038(0x2cb)])[_0x42a038(0x26f)])==null||_0x80e8fa[_0x42a038(0x184)](_0x298901,{'unitID':_0x3d22b4,'memberID':_0x1ef051,'textRanges':_0x582aba}));}}[_0x187534(0x11a)](){var _0x13845d=_0x187534,_0x51587a;(_0x51587a=this[_0x13845d(0x10a)])==null||_0x51587a['updateOfflineData'](this[_0x13845d(0x282)],this[_0x13845d(0x29c)],this[_0x13845d(0x101)],this['_pendingMutations']);}[_0x187534(0x34e)](){var _0x53ebeb=_0x187534;return this[_0x53ebeb(0x1e8)][_0x53ebeb(0x24d)](this[_0x53ebeb(0x282)]);}['_incrementRevisionNumber'](){var _0x10fe05=_0x187534;this[_0x10fe05(0x1e8)]['incrementRevOfUnit'](this[_0x10fe05(0x282)]);}[_0x187534(0xf1)](_0x3143e5){var _0x50f28c=_0x187534,_0x128a4f;let _0xa82e4a=this['_transformRemoteChangesetByIMECache'](_0x3143e5);_0xa82e4a=this[_0x50f28c(0x110)](_0xa82e4a);const _0x27889c=_0x4a5237(_0xa82e4a[_0x50f28c(0x265)],this['_commandService'],{'fromCollab':!0x0});if(!_0x27889c['result'])throw _0x27889c[_0x50f28c(0x100)]instanceof Error?_0x27889c[_0x50f28c(0x100)]:new Error((_0x128a4f=_0x27889c['error'])!=null?_0x128a4f:_0x50f28c(0x2f0));this[_0x50f28c(0x1e9)](_0xa82e4a),this['_transformStateCache'](_0xa82e4a),this['_transformUndoredo'](_0x3143e5),this[_0x50f28c(0x354)](_0xa82e4a),this[_0x50f28c(0x211)](_0xa82e4a),this[_0x50f28c(0x192)]();}}let be=class extends ge{constructor(_0x4ab693,_0x1a35c0,_0x2bc3f7,_0x1f6b6d,_0x492627,_0xa6c644,_0xab82f0,_0xdf910f,_0x139c2a,_0x1c4316){var _0x24dff2=_0x187534;super(_0x4ab693,_0x1a35c0,null,[],_0x2bc3f7,_0xab82f0,_0xa6c644,_0x1f6b6d,_0x1c4316),D(this,_0x24dff2(0xf7),_0x24dff2(0x2ae)),(this[_0x24dff2(0x20d)]=_0x492627,this[_0x24dff2(0x299)]=_0xdf910f,this[_0x24dff2(0x30c)]=_0x139c2a,this['localCacheService']=_0x1c4316);}['appendMutation'](_0x38fc1f){var _0x530909=_0x187534;const _0x25253f=this[_0x530909(0x20d)]['createInstance'](ae,this[_0x530909(0x282)],this[_0x530909(0x29c)],[_0x38fc1f],this[_0x530909(0x2cb)]);return _0x25253f[_0x530909(0x1f3)](),_0x25253f[_0x530909(0x11a)](),_0x25253f;}[_0x187534(0xbe)](_0x369729){var _0x13bf0c=_0x187534;if(this['_checkMissing'](_0x369729))return this[_0x13bf0c(0x20d)]['createInstance'](ee,this[_0x13bf0c(0x282)],this[_0x13bf0c(0x29c)],null,[],null,[_0x369729],this[_0x13bf0c(0x2cb)]);try{const _0x151d53=this[_0x13bf0c(0x30c)][_0x13bf0c(0x15c)](_0x369729,[_0x323de5]);if(_0x2c7803(_0x151d53)){const {c1Prime:_0x5c5d3a}=_0x151d53;return this[_0x13bf0c(0xf1)](_0x5c5d3a),this;}throw _0x151d53[_0x13bf0c(0x100)];}catch(_0x4e5c8c){return this['_logService']['error'](_0x4e5c8c),this[_0x13bf0c(0x240)](!0x1);}}[_0x187534(0x240)](_0x9efd0f){var _0x2b1f27=_0x187534;return this[_0x2b1f27(0x20d)][_0x2b1f27(0xdc)](ue,this[_0x2b1f27(0x282)],this[_0x2b1f27(0x29c)],null,[],this[_0x2b1f27(0x2cb)],_0x9efd0f);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x187534(0xe8)](){var _0x4c7e18=_0x187534;throw new Error(_0x4c7e18(0x392));}[_0x187534(0x1af)](){return this;}[_0x187534(0x108)](){var _0x467176=_0x187534;return this[_0x467176(0x20d)][_0x467176(0xdc)](de,this['unitID'],this[_0x467176(0x29c)],null,[],this[_0x467176(0x2cb)]);}['toggleOnline'](){return this;}[_0x187534(0x21a)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x187534(0x2f3)](){var _0x308331=_0x187534;const _0x1c2144=this[_0x308331(0x1e8)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x308331(0x2cb)]['onMissingChangesets']({'from':_0x1c2144,'to':0x0}),this[_0x308331(0x20d)]['createInstance'](ee,this[_0x308331(0x282)],this[_0x308331(0x29c)],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x3dae34(_0x2470ee)),w(0x4,_0x3dae34(_0x11f94e)),w(0x5,_0x133b92),w(0x6,_0x3e7b0d),w(0x7,_0x4dc6a1),w(0x8,_0x3bc245),w(0x9,_0x369572(X))],be);let ae=class extends ge{constructor(_0x4a8ffb,_0x25ffb1,_0x5cc7ac,_0x4b62a0,_0x2f0408,_0x1c12a2,_0xebcc1,_0x25fad1,_0x5a7894,_0x574a71,_0x2a327a,_0x268585,_0xbbf2eb,_0x1844e1){var _0x69a4f9=_0x187534;super(_0x4a8ffb,_0x25ffb1,null,_0x5cc7ac,_0x4b62a0,_0x5a7894,_0xbbf2eb,_0x1c12a2,_0x1844e1),D(this,_0x69a4f9(0xf7),_0x69a4f9(0x1cb)),D(this,'_scheduleCompleteTimestamp',null),D(this,'_sendingTimer',null),(this[_0x69a4f9(0x20d)]=_0x2f0408,this[_0x69a4f9(0x375)]=_0xebcc1,this['_logService']=_0x25fad1,this['_configService']=_0x574a71,this[_0x69a4f9(0x30c)]=_0x2a327a,this[_0x69a4f9(0x2bf)]=_0x268585);}[_0x187534(0x24a)](_0x1a6d55){var _0x538587=_0x187534;return this['_pendingMutations'][_0x538587(0x239)](_0x1a6d55),this[_0x538587(0x11a)](),this;}['onRemoteChangeset'](_0x2558f1){var _0x4caaef=_0x187534;if(this[_0x4caaef(0x389)](_0x2558f1))return this[_0x4caaef(0x156)](),this[_0x4caaef(0x20d)][_0x4caaef(0xdc)](ee,this['unitID'],this[_0x4caaef(0x29c)],null,this[_0x4caaef(0x38d)],null,[_0x2558f1],this[_0x4caaef(0x2cb)]);try{const _0x16f629=this['_transformService'][_0x4caaef(0x15c)](_0x2558f1,this[_0x4caaef(0x38d)]);if(_0x2c7803(_0x16f629)){const {c1Prime:_0x311333,m2Prime:_0x14fe6a}=_0x16f629;this['_executeRemoteChangeset'](_0x311333);const _0x575686=this[_0x4caaef(0x20d)]['createInstance'](ae,this[_0x4caaef(0x282)],this[_0x4caaef(0x29c)],_0x14fe6a,this[_0x4caaef(0x2cb)]);this[_0x4caaef(0x156)]();const _0x4e3806=new Date()[_0x4caaef(0x1cc)](),_0x23ec11=this['_scheduleCompleteTimestamp']?Math[_0x4caaef(0x2c8)](this['_scheduleCompleteTimestamp']-_0x4e3806,0x0):this[_0x4caaef(0x25e)]();return _0x575686['_schedule'](_0x23ec11),_0x575686;}throw _0x16f629['error'];}catch(_0x3e6e77){return this[_0x4caaef(0x299)][_0x4caaef(0x100)](_0x3e6e77),this[_0x4caaef(0x240)](!0x1);}}[_0x187534(0x2e4)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x187534(0xe8)](){var _0x1f9d9a=_0x187534;throw new Error(_0x1f9d9a(0x22c));}[_0x187534(0x1af)](){return this;}['toggleOffline'](){var _0x54a28e=_0x187534;return this[_0x54a28e(0x156)](),this['_injector'][_0x54a28e(0xdc)](de,this[_0x54a28e(0x282)],this['type'],null,this[_0x54a28e(0x38d)],this[_0x54a28e(0x2cb)]);}[_0x187534(0x11f)](){return this;}['_schedule'](_0x2d8606){var _0x4489ea=_0x187534;const _0x22c30b=_0x2d8606!=null?_0x2d8606:this[_0x4489ea(0x25e)]();this[_0x4489ea(0x339)]=new Date()['getTime']()+_0x22c30b,this[_0x4489ea(0x264)]=setTimeout(()=>{var _0x222d17=_0x4489ea;this[_0x222d17(0x156)]();let _0x42026a=null;switch(this[_0x222d17(0x29c)]){case Q[_0x222d17(0x258)]:{_0x42026a=Vt(this[_0x222d17(0x38d)],this[_0x222d17(0x282)],this[_0x222d17(0x2bf)],this[_0x222d17(0x1e8)],this['_memberService']);break;}case Q['UNIVER_DOC']:{this[_0x222d17(0x38d)]['every'](_0x251206=>_0x251206['id']===_0xad3887['id'])?_0x42026a=Fs(this[_0x222d17(0x38d)],this['unitID'],this[_0x222d17(0x2bf)],this['_revisionService'],this[_0x222d17(0x375)]):_0x42026a=Vt(this[_0x222d17(0x38d)],this[_0x222d17(0x282)],this[_0x222d17(0x2bf)],this[_0x222d17(0x1e8)],this[_0x222d17(0x375)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x222d17(0x29c)]+_0x222d17(0x288));}const {changeset:_0x4ee809,pendingMutations:_0x4b3913}=_0x42026a;this['_handler']['onSendChangeset'](_0x4ee809);const _0x13fc5f=_0x4b3913['length']?this[_0x222d17(0x20d)][_0x222d17(0xdc)](oe,this[_0x222d17(0x282)],this['type'],_0x4ee809,_0x4b3913,this[_0x222d17(0x2cb)],void 0x0):this[_0x222d17(0x20d)][_0x222d17(0xdc)](le,this[_0x222d17(0x282)],this[_0x222d17(0x29c)],_0x4ee809,this[_0x222d17(0x2cb)]);_0x13fc5f[_0x222d17(0x11a)](),this[_0x222d17(0x2cb)][_0x222d17(0x1d1)](this,_0x13fc5f);},_0x22c30b);}[_0x187534(0x25e)](){var _0x264f76=_0x187534,_0x2e3b9b;const _0x155fb6=this[_0x264f76(0x32d)][_0x264f76(0x384)](K);return(_0x2e3b9b=_0x155fb6==null?void 0x0:_0x155fb6['sendChangesetTimeout'])!=null?_0x2e3b9b:Is;}[_0x187534(0x21a)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x187534(0x156)](){var _0x1aead0=_0x187534;this[_0x1aead0(0x264)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x1aead0(0x264)]=null);}['_onConflict'](_0x4c755a){var _0x2ffa9f=_0x187534;return this[_0x2ffa9f(0x156)](),this[_0x2ffa9f(0x20d)][_0x2ffa9f(0xdc)](ue,this[_0x2ffa9f(0x282)],this['type'],null,this[_0x2ffa9f(0x38d)],this[_0x2ffa9f(0x2cb)],_0x4c755a);}};ae=Se([w(0x4,_0x3dae34(_0x11f94e)),w(0x5,_0x3dae34(_0x2470ee)),w(0x6,_0x3dae34(Pe)),w(0x7,_0x4dc6a1),w(0x8,_0x3e7b0d),w(0x9,_0x6fb4f3),w(0xa,_0x3bc245),w(0xb,_0x59f9c0),w(0xc,_0x133b92),w(0xd,_0x369572(X))],ae);let le=class extends ge{constructor(_0x24365d,_0x191947,_0x403ce7,_0x281e5a,_0x4ff70c,_0x2ede80,_0x339cb0,_0x665176,_0xdb6fae,_0x1d9245,_0xac82ef){var _0x3600a3=_0x187534;super(_0x24365d,_0x191947,_0x403ce7,[],_0x281e5a,_0x339cb0,_0x1d9245,_0x2ede80,_0xac82ef),D(this,_0x3600a3(0xf7),_0x3600a3(0x2b2)),D(this,_0x3600a3(0x256),0x0),D(this,_0x3600a3(0x324),0x0),D(this,_0x3600a3(0xd2)),D(this,_0x3600a3(0x12a)),(this['_injector']=_0x4ff70c,this['_logService']=_0x665176,this['_transformService']=_0xdb6fae);}[_0x187534(0x24a)](_0x50973c){var _0x1514e0=_0x187534;this[_0x1514e0(0x156)]();const _0x1a9fd8=this[_0x1514e0(0x20d)][_0x1514e0(0xdc)](oe,this['unitID'],this[_0x1514e0(0x29c)],this[_0x1514e0(0x101)],[_0x50973c],this[_0x1514e0(0x2cb)],this[_0x1514e0(0xd2)]);return _0x1a9fd8[_0x1514e0(0x11a)](),_0x1a9fd8;}[_0x187534(0xbe)](_0x188a49){var _0xefffdd=_0x187534;if(this[_0xefffdd(0x389)](_0x188a49))return this['_clearScheduledTask'](),this[_0xefffdd(0x20d)]['createInstance'](ee,this[_0xefffdd(0x282)],this[_0xefffdd(0x29c)],this['_awaitingChangeset'],[],null,[_0x188a49],this[_0xefffdd(0x2cb)]);try{const _0x497a9f=this['_transformService']['transformChangesets']([_0x188a49],[this[_0xefffdd(0x101)]],!0x1);if(_0x331521(_0x497a9f)){const {c1Prime:_0x4c9ab0,c2Prime:_0x4845ef}=_0x497a9f;this[_0xefffdd(0xf1)](_0x4c9ab0[0x0]),_0x4845ef[0x0]['baseRev']=this[_0xefffdd(0x34e)](),this[_0xefffdd(0x156)]();const _0x473326=this[_0xefffdd(0x20d)][_0xefffdd(0xdc)](le,this[_0xefffdd(0x282)],this[_0xefffdd(0x29c)],_0x4845ef[0x0],this['_handler']);return _0x473326[_0xefffdd(0x11a)](),_0x473326;}return this[_0xefffdd(0x240)](!0x1);}catch(_0x17c93d){return this['_logService'][_0xefffdd(0x100)](_0x17c93d),this[_0xefffdd(0x240)](!0x1);}}[_0x187534(0x2e4)](_0x300212){var _0x157474=_0x187534;this['_clearScheduledTask']();const _0x2ad095=this[_0x157474(0x1e8)]['getCurrentRevOfUnit'](this[_0x157474(0x282)]);if(_0x300212['revision']<_0x2ad095-0x1)return this;if(this[_0x157474(0x389)](_0x300212))return this['_injector'][_0x157474(0xdc)](ee,this[_0x157474(0x282)],this['type'],null,[],this[_0x157474(0x101)],[],this['_handler']);this[_0x157474(0x192)]();const _0x24e5b0=this[_0x157474(0x20d)][_0x157474(0xdc)](be,this['unitID'],this['type'],this[_0x157474(0x2cb)]);return _0x24e5b0[_0x157474(0x11a)](),_0x24e5b0;}[_0x187534(0xe8)](_0x45b661){var _0x4057fb=_0x187534;return this[_0x4057fb(0x240)](!!(_0x45b661!=null&&_0x45b661[_0x4057fb(0x131)]));}[_0x187534(0x1af)](_0xb0f0e7){var _0x297e32=_0x187534;return this[_0x297e32(0x324)]>Ti?this[_0x297e32(0x108)]():(this[_0x297e32(0xd2)]=Ii(this[_0x297e32(0x256)],{'timeout':this['_resendTimeout'],'reqId':_0xb0f0e7[_0x297e32(0x386)]}),this[_0x297e32(0x12a)]=this[_0x297e32(0xd2)][_0x297e32(0x2f2)](({reqId:_0x2e789f,timeout:_0xfeed2d})=>{var _0x398e14=_0x297e32;this[_0x398e14(0x31b)](_0x2e789f,_0xfeed2d);}),this);}[_0x187534(0x108)](){var _0x3d6336=_0x187534;return this[_0x3d6336(0x156)](),this[_0x3d6336(0x20d)][_0x3d6336(0xdc)](de,this[_0x3d6336(0x282)],this['type'],this[_0x3d6336(0x101)],[],this[_0x3d6336(0x2cb)]);}[_0x187534(0x11f)](){return this;}[_0x187534(0x21a)](){var _0x33f1d0=_0x187534;this[_0x33f1d0(0x2cb)][_0x33f1d0(0x39c)](this[_0x33f1d0(0x101)]);}[_0x187534(0x240)](_0xc211d7){var _0x6499a3=_0x187534;return this[_0x6499a3(0x156)](),this[_0x6499a3(0x20d)]['createInstance'](ue,this[_0x6499a3(0x282)],this[_0x6499a3(0x29c)],this[_0x6499a3(0x101)],[],this[_0x6499a3(0x2cb)],_0xc211d7);}[_0x187534(0x31b)](_0x171c5c,_0xd74112){var _0x572e3a=_0x187534,_0x19cd77;_0x171c5c===((_0x19cd77=this[_0x572e3a(0x101)])==null?void 0x0:_0x19cd77[_0x572e3a(0x386)])&&(this[_0x572e3a(0x21a)](),this['_resendTimeout']=_0xd74112===0x0?0x3e8:Math['min'](_0xd74112*0x2,gi),this[_0x572e3a(0x324)]+=this['_resendTimeout']);}[_0x187534(0x156)](){var _0x220b4d=_0x187534,_0x16ec8b;(_0x16ec8b=this['_sender'])==null||_0x16ec8b[_0x220b4d(0xc2)](),this[_0x220b4d(0x256)]=0x0,this[_0x220b4d(0x324)]=0x0;}};function _0x8b56(_0x492e8b,_0x26deae){_0x492e8b=_0x492e8b-0xa2;var _0x5c4e6f=_0x5c4e();var _0x8b56bc=_0x5c4e6f[_0x492e8b];return _0x8b56bc;}le=Se([w(0x4,_0x3dae34(_0x11f94e)),w(0x5,_0x3dae34(_0x2470ee)),w(0x6,_0x3e7b0d),w(0x7,_0x4dc6a1),w(0x8,_0x3bc245),w(0x9,_0x133b92),w(0xa,_0x369572(X))],le);let oe=class extends ge{constructor(_0x439552,_0x4bda78,_0x5c9889,_0x29c07c,_0x3db731,_0x305d42,_0xac02b4,_0x16dd95,_0x267477,_0x307bb2,_0x4642b1,_0x5367c4,_0x28a997){var _0x569044=_0x187534;super(_0x439552,_0x4bda78,_0x5c9889,_0x29c07c,_0x3db731,_0x267477,_0x5367c4,_0x16dd95,_0x28a997),D(this,_0x569044(0xf7),_0x569044(0x3b0)),D(this,_0x569044(0x256),0x0),D(this,'_maxTotalRetryTimeout',0x0),D(this,_0x569044(0xd2)),D(this,_0x569044(0x12a)),(this[_0x569044(0x20d)]=_0xac02b4,this[_0x569044(0x299)]=_0x307bb2,this[_0x569044(0x30c)]=_0x4642b1,this[_0x569044(0x167)]=_0x28a997,_0x305d42&&(this[_0x569044(0xd2)]=_0x305d42,this['_sender']=this[_0x569044(0xd2)][_0x569044(0x2f2)](({reqId:_0x1d33a9,timeout:_0x3e7671})=>{var _0x2bb401=_0x569044;this[_0x2bb401(0x31b)](_0x1d33a9,_0x3e7671);})));}[_0x187534(0x24a)](_0x466cda){return this['_pendingMutations']['push'](_0x466cda),this;}[_0x187534(0xbe)](_0x218780){var _0x5ac179=_0x187534;if(this[_0x5ac179(0x389)](_0x218780))return this['_clearScheduledTask'](),this[_0x5ac179(0x20d)]['createInstance'](ee,this[_0x5ac179(0x282)],this[_0x5ac179(0x29c)],this[_0x5ac179(0x101)],this[_0x5ac179(0x38d)],null,[_0x218780],this[_0x5ac179(0x2cb)]);try{const _0x2432f9=this['_transformService'][_0x5ac179(0x30b)]([_0x218780],[this['_awaitingChangeset']],!0x1);if(_0x331521(_0x2432f9)){const {c1Prime:_0x1f07cd,c2Prime:_0x29737a}=_0x2432f9,_0x5b5cfb=this['_transformService'][_0x5ac179(0x15c)](_0x1f07cd[0x0],this[_0x5ac179(0x38d)]);if(_0x2c7803(_0x5b5cfb)){const {c1Prime:_0x25594d,m2Prime:_0x4146c2}=_0x5b5cfb;return this[_0x5ac179(0xf1)](_0x25594d),_0x29737a[0x0][_0x5ac179(0x228)]=this[_0x5ac179(0x34e)](),this[_0x5ac179(0x156)](),this[_0x5ac179(0x20d)][_0x5ac179(0xdc)](oe,this[_0x5ac179(0x282)],this['type'],_0x29737a[0x0],_0x4146c2,this[_0x5ac179(0x2cb)],void 0x0);}throw _0x5b5cfb[_0x5ac179(0x100)];}throw _0x2432f9[_0x5ac179(0x100)];}catch(_0x18b1a8){return this[_0x5ac179(0x299)][_0x5ac179(0x100)](_0x18b1a8),this[_0x5ac179(0x240)](!0x1);}}['onRemoteAck'](_0x3eeefe){var _0x2b0057=_0x187534;if(this[_0x2b0057(0x156)](),this[_0x2b0057(0x389)](_0x3eeefe))return this[_0x2b0057(0x20d)][_0x2b0057(0xdc)](ee,this[_0x2b0057(0x282)],this[_0x2b0057(0x29c)],null,this['_pendingMutations'],this[_0x2b0057(0x101)],[],this[_0x2b0057(0x2cb)]);this[_0x2b0057(0x192)]();const _0x2bcf8c=this[_0x2b0057(0x20d)][_0x2b0057(0xdc)](ae,this[_0x2b0057(0x282)],this[_0x2b0057(0x29c)],this[_0x2b0057(0x38d)],this[_0x2b0057(0x2cb)]);return _0x2bcf8c[_0x2b0057(0x1f3)](),_0x2bcf8c['_updateLocalCache'](),_0x2bcf8c;}[_0x187534(0xe8)](_0x311122){var _0x38aa5e=_0x187534;return this[_0x38aa5e(0x240)](!!(_0x311122!=null&&_0x311122[_0x38aa5e(0x131)]));}[_0x187534(0x1af)](_0x583a99){var _0xb95d80=_0x187534;return this[_0xb95d80(0x324)]>Ti?this[_0xb95d80(0x108)]():(this['_resendTimer']=Ii(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x583a99['reqId']}),this['_sender']=this[_0xb95d80(0xd2)][_0xb95d80(0x2f2)](({reqId:_0x479ff0,timeout:_0x2d6b7b})=>{this['_resendWithTimeout'](_0x479ff0,_0x2d6b7b);}),this);}[_0x187534(0x108)](){var _0x54e7b6=_0x187534;return this[_0x54e7b6(0x156)](),this[_0x54e7b6(0x20d)][_0x54e7b6(0xdc)](de,this['unitID'],this['type'],this[_0x54e7b6(0x101)],this[_0x54e7b6(0x38d)],this['_handler']);}[_0x187534(0x11f)](){return this;}[_0x187534(0x21a)](){var _0x2fefb7=_0x187534;this[_0x2fefb7(0x2cb)][_0x2fefb7(0x39c)](this[_0x2fefb7(0x101)]);}[_0x187534(0x240)](_0x2f08ea){var _0x2fd916=_0x187534;return this['_clearScheduledTask'](),this['_injector'][_0x2fd916(0xdc)](ue,this[_0x2fd916(0x282)],this[_0x2fd916(0x29c)],null,this[_0x2fd916(0x38d)],this[_0x2fd916(0x2cb)],_0x2f08ea);}[_0x187534(0x31b)](_0x1e84f8,_0x356b13){var _0x16ad2c=_0x187534,_0x21f645;_0x1e84f8===((_0x21f645=this[_0x16ad2c(0x101)])==null?void 0x0:_0x21f645[_0x16ad2c(0x386)])&&(this[_0x16ad2c(0x21a)](),this[_0x16ad2c(0x256)]=_0x356b13===0x0?0x3e8:Math[_0x16ad2c(0x2fc)](_0x356b13*0x2,gi),this[_0x16ad2c(0x324)]+=this[_0x16ad2c(0x256)]);}['_clearScheduledTask'](){var _0xaf62ed=_0x187534,_0x94906e;(_0x94906e=this['_sender'])==null||_0x94906e[_0xaf62ed(0xc2)](),this[_0xaf62ed(0x256)]=0x0,this[_0xaf62ed(0x324)]=0x0;}};oe=Se([w(0x6,_0x3dae34(_0x11f94e)),w(0x7,_0x3dae34(_0x2470ee)),w(0x8,_0x3e7b0d),w(0x9,_0x4dc6a1),w(0xa,_0x3bc245),w(0xb,_0x133b92),w(0xc,_0x369572(X))],oe);let ue=class extends ge{constructor(_0x141b2f,_0x33a0ef,_0x1cbb0e,_0x364c31,_0x1c7d6f,_0x387f2c=!0x1,_0xcfe81e,_0x450f4a,_0x239737,_0x1e1672,_0x26b468,_0x2d8a2b,_0x55d8f0){var _0x432751=_0x187534;super(_0x141b2f,_0x33a0ef,_0x1cbb0e,_0x364c31,_0x1c7d6f,_0x450f4a,_0x239737,_0x1e1672,_0x55d8f0),D(this,_0x432751(0xf7),_0x432751(0x350)),(this[_0x432751(0x385)]=_0x387f2c,this[_0x432751(0x396)]=_0xcfe81e,this['_localeService']=_0x26b468,this[_0x432751(0x138)]=_0x2d8a2b,this[_0x432751(0x167)]=_0x55d8f0,this[_0x432751(0x1a5)](),this[_0x432751(0x195)](),this[_0x432751(0x1b4)]());}[_0x187534(0x24a)](){return this;}['onRemoteChangeset'](){return this;}[_0x187534(0x2e4)](){return this;}['onRemoteRej'](){return this;}[_0x187534(0x1af)](){return this;}[_0x187534(0x108)](){return this;}['toggleOnline'](){return this;}[_0x187534(0x21a)](){var _0x3ab7f5=_0x187534;throw new Error(_0x3ab7f5(0x1c0));}[_0x187534(0x195)](){var _0x3604aa=_0x187534,_0x22e8f8;(_0x22e8f8=this[_0x3604aa(0x10a)])==null||_0x22e8f8[_0x3604aa(0x1ae)](this[_0x3604aa(0x282)],this['type'],null,[]);}[_0x187534(0x1a5)](){var _0x405c39=_0x187534;this['_isPermissionRej']?this[_0x405c39(0x138)][_0x405c39(0x31f)]({'id':re[_0x405c39(0x275)]}):this['_collaborationUIEventService'][_0x405c39(0x31f)]({'id':re['CONFLICT']});}[_0x187534(0x1b4)](){var _0x4a545c=_0x187534;this[_0x4a545c(0x396)][_0x4a545c(0x34a)](new _0x56beb9(this[_0x4a545c(0x282)])['id'],!0x1);}};ue=Se([w(0x6,_0x3dae34(_0xa09fd9)),w(0x7,_0x3e7b0d),w(0x8,_0x133b92),w(0x9,_0x3dae34(_0x2470ee)),w(0xa,_0x3dae34(_0x3a1551)),w(0xb,_0x3dae34(ve)),w(0xc,_0x369572(X))],ue);let de=class extends ge{constructor(_0x1e991e,_0x4dfa9e,_0x31236a,_0x294e5c,_0x45fd68,_0x2107c2,_0x3f5a8b,_0x27eb08,_0x333fa7,_0x51f2c4){var _0x49b553=_0x187534;super(_0x1e991e,_0x4dfa9e,_0x31236a,_0x294e5c,_0x45fd68,_0x27eb08,_0x333fa7,_0x3f5a8b,_0x51f2c4),D(this,_0x49b553(0xf7),'offline'),this['_injector']=_0x2107c2;}[_0x187534(0x24a)](_0x23bc21){var _0x489e49=_0x187534;return this[_0x489e49(0x38d)]['push'](_0x23bc21),this[_0x489e49(0x11a)](),this;}[_0x187534(0xbe)](_0x3f263a){var _0x1b0878=_0x187534;throw new Error(_0x1b0878(0x14c));}['onRemoteAck'](){var _0x4e6d34=_0x187534;throw new Error(_0x4e6d34(0x311));}[_0x187534(0xe8)](){var _0x42d80c=_0x187534;throw new Error(_0x42d80c(0xea));}['onRemoteRetry'](){return this;}[_0x187534(0x108)](){return this;}[_0x187534(0x11f)](){var _0x2d7cdd=_0x187534;const {_injector:_0xe7ec27,_pendingMutations:_0x2e99d1,_awaitingChangeset:_0x47ddf6,unitID:_0x502910,_handler:_0x327f53,type:_0x585c05}=this,_0x3dff2e=Oi(_0xe7ec27,_0x502910,_0x585c05,_0x47ddf6,_0x2e99d1,_0x327f53);return _0x3dff2e instanceof ae?_0x3dff2e[_0x2d7cdd(0x1f3)]():(_0x3dff2e instanceof oe||_0x3dff2e instanceof le)&&_0x3dff2e[_0x2d7cdd(0x21a)](),_0x3dff2e;}['resend'](){var _0x1965bc=_0x187534;throw new Error(_0x1965bc(0x223));}};de=Se([w(0x5,_0x3dae34(_0x11f94e)),w(0x6,_0x3dae34(_0x2470ee)),w(0x7,_0x3e7b0d),w(0x8,_0x133b92),w(0x9,_0x369572(X))],de);let ee=class extends ge{constructor(_0x4b6f2d,_0x3794a9,_0x1a8d2c,_0x54dd72,_0x4eff5e,_0x282a56,_0x24e79c,_0x3f2ba2,_0x146d17,_0x59c12a,_0x5ba236,_0x6a118d,_0x352331,_0x55e1dd){var _0x149e33=_0x187534;super(_0x4b6f2d,_0x3794a9,_0x1a8d2c,_0x54dd72,_0x24e79c,_0x5ba236,_0x6a118d,_0x146d17,_0x55e1dd),D(this,_0x149e33(0xf7),'fetch_missing'),(this[_0x149e33(0x19b)]=_0x4eff5e,this['_queuedRemoteChangesets']=_0x282a56,this[_0x149e33(0x20d)]=_0x3f2ba2,this[_0x149e33(0x299)]=_0x59c12a,this[_0x149e33(0x30c)]=_0x352331,this['localCacheService']=_0x55e1dd);}[_0x187534(0x2ea)](_0x2fdce4){var _0x53f2e5=_0x187534;try{const _0x5a7229=[..._0x2fdce4,...this[_0x53f2e5(0x1a4)]],_0x192952=[this[_0x53f2e5(0x101)]||this[_0x53f2e5(0x19b)]][_0x53f2e5(0xcf)](_0xe4bf1b=>!!_0xe4bf1b);let _0x53707c,_0x47e8c5;if(_0x192952['length']){const _0x1db145=this['_transformService'][_0x53f2e5(0x30b)](_0x5a7229,_0x192952,!0x1);if(!_0x331521(_0x1db145))throw _0x1db145[_0x53f2e5(0x100)];_0x53707c=_0x1db145['c1Prime'],_0x47e8c5=_0x1db145[_0x53f2e5(0x2dc)];}else _0x53707c=_0x5a7229,_0x47e8c5=[];let _0x35ad8d=this[_0x53f2e5(0x38d)];_0x53707c[_0x53f2e5(0x148)](_0x377088=>{var _0x47acd5=_0x53f2e5;let _0x4ffdc6;if(_0x35ad8d[_0x47acd5(0x134)]){const _0x2e5e07=this[_0x47acd5(0x30c)][_0x47acd5(0x15c)](_0x377088,_0x35ad8d);if(!_0x2c7803(_0x2e5e07))throw _0x2e5e07[_0x47acd5(0x100)];_0x4ffdc6=_0x2e5e07[_0x47acd5(0x28d)],_0x35ad8d=_0x2e5e07[_0x47acd5(0x14d)];}else _0x4ffdc6=_0x377088;this[_0x47acd5(0xf1)](_0x4ffdc6);}),this['_acknowledgedAwaitingChangeset']&&this[_0x53f2e5(0x192)](),this[_0x53f2e5(0x101)]&&_0x47e8c5[_0x53f2e5(0x134)]&&(_0x47e8c5[0x0][_0x53f2e5(0x228)]=this[_0x53f2e5(0x34e)]());let _0x22d164;if(this[_0x53f2e5(0x101)]&&_0x35ad8d['length']!==0x0)_0x22d164=this[_0x53f2e5(0x20d)][_0x53f2e5(0xdc)](oe,this[_0x53f2e5(0x282)],this[_0x53f2e5(0x29c)],_0x47e8c5[0x0],_0x35ad8d,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x35ad8d[_0x53f2e5(0x134)]===0x0)_0x47e8c5[0x0]['baseRev']=this[_0x53f2e5(0x34e)](),_0x22d164=this['_injector'][_0x53f2e5(0xdc)](le,this[_0x53f2e5(0x282)],this[_0x53f2e5(0x29c)],_0x47e8c5[0x0],this[_0x53f2e5(0x2cb)]);else{if(_0x35ad8d[_0x53f2e5(0x134)]!==0x0){const _0x2769f9=this[_0x53f2e5(0x20d)][_0x53f2e5(0xdc)](ae,this['unitID'],this[_0x53f2e5(0x29c)],_0x35ad8d,this[_0x53f2e5(0x2cb)]);_0x2769f9[_0x53f2e5(0x1f3)](),_0x22d164=_0x2769f9;}else _0x22d164=this[_0x53f2e5(0x20d)]['createInstance'](be,this[_0x53f2e5(0x282)],this[_0x53f2e5(0x29c)],this[_0x53f2e5(0x2cb)]);}}return _0x22d164[_0x53f2e5(0x11a)](),_0x22d164;}catch(_0x5d67e1){return this[_0x53f2e5(0x299)][_0x53f2e5(0x100)]('[FetchMissState]',_0x53f2e5(0x1f7),_0x5d67e1),this[_0x53f2e5(0x20d)][_0x53f2e5(0xdc)](ue,this[_0x53f2e5(0x282)],this[_0x53f2e5(0x29c)],this[_0x53f2e5(0x101)],this['_pendingMutations'],this[_0x53f2e5(0x2cb)],!0x1);}}[_0x187534(0x21a)](){var _0x239380=_0x187534;throw new Error(_0x239380(0x1c9));}['appendMutation'](_0x5ace99){var _0x262d02=_0x187534;return this[_0x262d02(0x38d)][_0x262d02(0x239)](_0x5ace99),this;}[_0x187534(0xbe)](_0xb1d2d7){var _0x1c98f1=_0x187534;return this[_0x1c98f1(0x1a4)][_0x1c98f1(0x239)](_0xb1d2d7),this;}[_0x187534(0x2e4)](_0x27d8e3){var _0x5b1236=_0x187534;if(this[_0x5b1236(0x101)])return this[_0x5b1236(0x19b)]=this[_0x5b1236(0x101)],this[_0x5b1236(0x101)]=null,this;throw new Error(_0x5b1236(0x2eb));}['onRemoteRej'](_0x1bd1d7){var _0x35ad01=_0x187534;return this[_0x35ad01(0x240)](!!(_0x1bd1d7!=null&&_0x1bd1d7[_0x35ad01(0x131)]));}[_0x187534(0x1af)](){return this;}[_0x187534(0x108)](){var _0x55b2d9=_0x187534;return this['_injector'][_0x55b2d9(0xdc)](de,this[_0x55b2d9(0x282)],this[_0x55b2d9(0x29c)],this[_0x55b2d9(0x101)],this[_0x55b2d9(0x38d)],this[_0x55b2d9(0x2cb)]);}[_0x187534(0x11f)](){return this;}[_0x187534(0x240)](_0x94ec5e){var _0x2914cf=_0x187534;return this[_0x2914cf(0x20d)][_0x2914cf(0xdc)](ue,this[_0x2914cf(0x282)],this[_0x2914cf(0x29c)],this[_0x2914cf(0x101)],this[_0x2914cf(0x38d)],this[_0x2914cf(0x2cb)],_0x94ec5e);}};ee=Se([w(0x7,_0x3dae34(_0x11f94e)),w(0x8,_0x3dae34(_0x2470ee)),w(0x9,_0x4dc6a1),w(0xa,_0x3e7b0d),w(0xb,_0x133b92),w(0xc,_0x3bc245),w(0xd,_0x369572(X))],ee);function Oi(_0x3776b5,_0x2c57e3,_0x10e850,_0x5c0c32,_0x4003c0,_0x20e248){var _0x400f60=_0x187534;return _0x5c0c32&&_0x4003c0[_0x400f60(0x134)]?_0x3776b5[_0x400f60(0xdc)](oe,_0x2c57e3,_0x10e850,_0x5c0c32,_0x4003c0,_0x20e248,void 0x0):_0x5c0c32?_0x3776b5[_0x400f60(0xdc)](le,_0x2c57e3,_0x10e850,_0x5c0c32,_0x20e248):_0x4003c0['length']?_0x3776b5[_0x400f60(0xdc)](ae,_0x2c57e3,_0x10e850,_0x4003c0,_0x20e248):_0x3776b5[_0x400f60(0xdc)](be,_0x2c57e3,_0x10e850,_0x20e248);}var Vs=Object[_0x187534(0x268)],At=(_0x1708ca,_0x5592db,_0x4cd6e3,_0x36cb7e)=>{var _0x2ec135=_0x187534;for(var _0x5a02a1=_0x36cb7e>0x1?void 0x0:_0x36cb7e?Vs(_0x5592db,_0x4cd6e3):_0x5592db,_0x592975=_0x1708ca[_0x2ec135(0x134)]-0x1,_0x1bac2d;_0x592975>=0x0;_0x592975--)(_0x1bac2d=_0x1708ca[_0x592975])&&(_0x5a02a1=_0x1bac2d(_0x5a02a1)||_0x5a02a1);return _0x5a02a1;},$=(_0x2eeaf3,_0xfd53b8)=>(_0x3dad57,_0xf34ca6)=>_0xfd53b8(_0x3dad57,_0xf34ca6,_0x2eeaf3);let st=class extends _0x442ddb{constructor(_0x43a275,_0x19a13d,_0x499144,_0x299cc9,_0x2ef961,_0x1c26d2,_0x2bedfd,_0x3e6236,_0x16842b,_0x2c9006,_0x2c645a,_0x59e900,_0x44541f,_0x4f2a9b){var _0x4f5b0a=_0x187534;super(),D(this,_0x4f5b0a(0xad),new _0x44ac7d(null)),D(this,'state$',this[_0x4f5b0a(0xad)][_0x4f5b0a(0x276)]()),D(this,'_state'),D(this,'_collaborationPaused',!0x1),D(this,_0x4f5b0a(0x2ac),''),D(this,'_changesetReqId',0x0),D(this,_0x4f5b0a(0x187),this[_0x4f5b0a(0xdf)][_0x4f5b0a(0x201)](_0x30e24(_0xb29244=>_0xb29244?_0xb29244[_0x4f5b0a(0xf7)]:Si[_0x4f5b0a(0x13b)]),_0x54e4ea(0x1))),D(this,_0x4f5b0a(0xe7),!0x1),D(this,_0x4f5b0a(0x128),[]),(this[_0x4f5b0a(0x282)]=_0x43a275,this[_0x4f5b0a(0x2ba)]=_0x19a13d,this[_0x4f5b0a(0x388)]=_0x499144,this[_0x4f5b0a(0x20d)]=_0x299cc9,this[_0x4f5b0a(0x29b)]=_0x2ef961,this['_localeService']=_0x1c26d2,this[_0x4f5b0a(0x1e8)]=_0x2bedfd,this[_0x4f5b0a(0x164)]=_0x3e6236,this[_0x4f5b0a(0x2bf)]=_0x16842b,this['_logService']=_0x2c9006,this[_0x4f5b0a(0xbb)]=_0x2c645a,this['_permissionService']=_0x59e900,this['_singleActiveUnitService']=_0x44541f,this[_0x4f5b0a(0x10a)]=_0x4f2a9b);}get[_0x187534(0x2fe)](){var _0x2f53ae=_0x187534;return this[_0x2f53ae(0x1b8)];}async[_0x187534(0x1ed)](){var _0x35b9fa=_0x187534;if(this[_0x35b9fa(0x2fe)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x35b9fa(0x160)]();}[_0x187534(0x191)](){var _0x5a8b74=_0x187534;return this[_0x5a8b74(0x327)]=!0x0,_0x4d6759(()=>{var _0x276766=_0x5a8b74;this[_0x276766(0x327)]=!0x1,this[_0x276766(0x219)]();});}['onLocalMutation'](_0x42ac8a){var _0x3525d4=_0x187534;this[_0x3525d4(0x1b7)](_0x42ac8a);}[_0x187534(0xb1)](_0x1ef893){var _0x1d0ac5=_0x187534;this[_0x1d0ac5(0x1b8)]=_0x1ef893,this[_0x1d0ac5(0xad)][_0x1d0ac5(0x2a3)](_0x1ef893);}async[_0x187534(0x160)](){var _0x2b8e89=_0x187534,_0x3fd32c;this['_updateState'](await this[_0x2b8e89(0x361)]()),this['_singleActiveUnitService']&&((_0x3fd32c=this[_0x2b8e89(0x132)])==null||_0x3fd32c[_0x2b8e89(0xaf)](this[_0x2b8e89(0x282)]),this[_0x2b8e89(0xd4)](this[_0x2b8e89(0x132)][_0x2b8e89(0x248)](this[_0x2b8e89(0x282)])['subscribe'](_0x2ab249=>{var _0x7f6bc=_0x2b8e89;this[_0x7f6bc(0x299)]['debug'](_0x7f6bc(0x397),_0x7f6bc(0x1a0),_0x2ab249),_0x2ab249===mi['OTHER_CLIENTS_EDITING']?(this[_0x7f6bc(0x164)][_0x7f6bc(0x31f)]({'id':re[_0x7f6bc(0xed)]}),this[_0x7f6bc(0x396)][_0x7f6bc(0x34a)](new _0x56beb9(this['unitID'])['id'],!0x1),this[_0x7f6bc(0x396)][_0x7f6bc(0x39a)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x56beb9(this[_0x7f6bc(0x282)])['id'],!0x0),this[_0x7f6bc(0x396)][_0x7f6bc(0x39a)](!0x0));})));let _0x3c5488=!0x1;return this[_0x2b8e89(0xd4)](this[_0x2b8e89(0x2ba)][_0x2b8e89(0x1bc)][_0x2b8e89(0x2f2)](_0x10f0dc=>{var _0x2345da=_0x2b8e89;_0x10f0dc===me['ONLINE']?this['_toggleOnline'](_0x3c5488):_0x10f0dc===me[_0x2345da(0x13b)]&&(_0x3c5488=!0x0,this[_0x2345da(0x320)]());})),this[_0x2b8e89(0xd4)](this[_0x2b8e89(0x2ba)][_0x2b8e89(0x210)]['subscribe'](_0x476e5d=>{var _0x173f2c=_0x2b8e89;try{switch(_0x476e5d[_0x173f2c(0x1bf)]){case _0xb98076['NEW_CHANGESETS']:{this[_0x173f2c(0x31c)](_0x2303a6(_0x476e5d[_0x173f2c(0x247)]));break;}case _0xb98076[_0x173f2c(0x25a)]:{this['_onRemoteACK'](_0x476e5d[_0x173f2c(0x247)]);break;}case _0xb98076[_0x173f2c(0xcc)]:{this[_0x173f2c(0x38b)]();break;}case _0xb98076[_0x173f2c(0x3b1)]:{this[_0x173f2c(0x38e)](_0x476e5d['data']);break;}case _0xb98076[_0x173f2c(0x2b9)]:{this[_0x173f2c(0x34d)](_0x476e5d[_0x173f2c(0x247)][_0x173f2c(0xb7)][_0x173f2c(0x297)](_0x4e03c5=>_0x2303a6(_0x4e03c5)));break;}case _0xb98076[_0x173f2c(0x399)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0xb98076[_0x173f2c(0x1d8)]:break;}}catch(_0x4df2ed){throw console[_0x173f2c(0x100)](_0x173f2c(0x394),_0x4df2ed),_0x4df2ed;}})),this['_state'];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x187534(0x18a)](){var _0x544204=_0x187534;if(this[_0x544204(0xe7)])throw new Error(_0x544204(0x253));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x3d8636){var _0x8c551d=_0x187534;this[_0x8c551d(0x18a)](),this[_0x8c551d(0xb1)](this['_state'][_0x8c551d(0x24a)](_0x3d8636)),this[_0x8c551d(0xd9)]();}[_0x187534(0x31c)](_0x31aabb){var _0x56d18f=_0x187534;if(!(_0x31aabb[_0x56d18f(0x114)]<=this[_0x56d18f(0x1e8)][_0x56d18f(0x24d)](this[_0x56d18f(0x282)]))){if(this[_0x56d18f(0x327)]){this['_remoteChangesetQueue'][_0x56d18f(0x239)](_0x31aabb);return;}this[_0x56d18f(0xe6)](_0x31aabb);}}[_0x187534(0x219)](){var _0x28753c=_0x187534;this[_0x28753c(0x128)][_0x28753c(0x148)](_0x4cbcf2=>this['_applyRemoteChangeset'](_0x4cbcf2)),this[_0x28753c(0x128)]=[];}['_applyRemoteChangeset'](_0x3eca85){var _0x14bac4=_0x187534;const _0x499617=this[_0x14bac4(0x29b)]['interceptor']['fetchThroughInterceptors'](this[_0x14bac4(0x29b)][_0x14bac4(0x229)][_0x14bac4(0x2d6)]()[_0x14bac4(0x180)])(_0x3eca85['mutations'],null)||_0x3eca85[_0x14bac4(0x265)],_0x569cc2={..._0x3eca85,'mutations':_0x499617};this[_0x14bac4(0x18a)](),this['_updateState'](this[_0x14bac4(0x1b8)]['onRemoteChangeset'](_0x569cc2)),this['_unlockTransition']();}[_0x187534(0x2af)](_0x15ee37){var _0x2a289a=_0x187534;this[_0x2a289a(0x18a)](),this['_updateState'](this[_0x2a289a(0x1b8)][_0x2a289a(0x2e4)](_0x15ee37)),this['_unlockTransition']();}[_0x187534(0x38b)](_0x1d543d){var _0x536938=_0x187534;this[_0x536938(0x18a)](),this[_0x536938(0xb1)](this[_0x536938(0x1b8)][_0x536938(0xe8)](_0x1d543d)),this[_0x536938(0xd9)]();}[_0x187534(0x38e)](_0x4478bc){var _0x7ca8c9=_0x187534;this[_0x7ca8c9(0x18a)](),this[_0x7ca8c9(0xb1)](this['_state']['onRemoteRetry'](_0x4478bc)),this[_0x7ca8c9(0xd9)]();}['_onFetchMissResult'](_0x357737){var _0x51ea86=_0x187534;if(!(this[_0x51ea86(0x1b8)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x432f94=_0x357737[_0x51ea86(0x297)](_0x1351bf=>{var _0x9190b4=_0x51ea86;const _0x2bd1e6=this['_compressMutationService'][_0x9190b4(0x229)][_0x9190b4(0x36a)](this[_0x9190b4(0x29b)][_0x9190b4(0x229)][_0x9190b4(0x2d6)]()[_0x9190b4(0x180)])(_0x1351bf[_0x9190b4(0x265)],null)||_0x1351bf[_0x9190b4(0x265)];return{..._0x1351bf,'mutations':_0x2bd1e6};});this['_lockTransition'](),this['_updateState'](this[_0x51ea86(0x1b8)][_0x51ea86(0x2ea)](_0x432f94)),this['_unlockTransition']();}[_0x187534(0x320)](){var _0x4f33ec=_0x187534;this[_0x4f33ec(0x18a)](),this[_0x4f33ec(0xb1)](this[_0x4f33ec(0x1b8)][_0x4f33ec(0x108)]()),this[_0x4f33ec(0xd9)]();}[_0x187534(0xe9)](_0x170d1d=!0x1){var _0x485efd=_0x187534;this[_0x485efd(0x18a)](),this[_0x485efd(0xb1)](this[_0x485efd(0x1b8)]['toggleOnline']()),this[_0x485efd(0xd9)]();const _0x4c9c02=this['_state'];_0x170d1d&&_0x4c9c02 instanceof be&&(this[_0x485efd(0x18a)](),this['_updateState'](_0x4c9c02[_0x485efd(0x2f3)]()),this[_0x485efd(0xd9)]());}async[_0x187534(0x361)](){return new Promise(_0x5439d5=>{var _0x551893=_0x8b56;this[_0x551893(0x2ba)][_0x551893(0x1bc)][_0x551893(0x201)](_0x4692ee(0x1))['subscribe'](async _0x215aab=>{var _0x21ad65=_0x551893;_0x5439d5(await this[_0x21ad65(0x259)](_0x215aab===me[_0x21ad65(0x1cd)]));});});}['_createHandler'](){const _0x429b67=this['unitID'];return{'onStateChange':(_0xd55659,_0x3f9b80)=>{var _0x4955cb=_0x8b56;if(_0xd55659!==this[_0x4955cb(0x1b8)])throw new Error(_0x4955cb(0x2a7)+_0xd55659[_0x4955cb(0xf7)]+_0x4955cb(0x37b)+_0x3f9b80[_0x4955cb(0xf7)]+_0x4955cb(0x33a)+this[_0x4955cb(0x1b8)][_0x4955cb(0xf7)]);this[_0x4955cb(0xb1)](_0x3f9b80);},'onSendChangeset':_0x3b0893=>{var _0x5db90d=_0x8b56;_0x3b0893[_0x5db90d(0x3b3)]||(_0x3b0893['sid']=this[_0x5db90d(0x2ac)],_0x3b0893[_0x5db90d(0x386)]=++this['_changesetReqId']);const _0x51f8fc={'eventID':_0xb98076[_0x5db90d(0x1e1)],'data':{'unitID':_0x3b0893[_0x5db90d(0x282)],'unitType':this['_type'],'changeset':_0x3b0893,'memberID':this[_0x5db90d(0x2ba)]['getMemberID']()}};this[_0x5db90d(0x2ba)]['send'](_0x51f8fc,this['unitID']);},'onMissingChangesets':({from:_0x52a1c6,to:_0x11e6c8})=>{var _0x460651=_0x8b56;this[_0x460651(0x299)][_0x460651(0xa7)](_0x460651(0x397),_0x460651(0x19d)+_0x52a1c6+_0x460651(0xd3)+_0x11e6c8);const _0x13784a={'eventID':_0xb98076[_0x460651(0x2bb)],'data':{'unitID':_0x429b67,'unitType':this[_0x460651(0x388)],'from':_0x52a1c6,'to':_0x11e6c8}};this[_0x460651(0x2ba)][_0x460651(0x222)](_0x13784a,this['unitID']);}};}async[_0x187534(0x259)](_0x11ef1c){var _0x2ef5fc=_0x187534,_0x25e52b,_0x305498,_0x52f3b1;const _0x134dad=await((_0x25e52b=this[_0x2ef5fc(0x10a)])==null?void 0x0:_0x25e52b[_0x2ef5fc(0x130)](this[_0x2ef5fc(0x282)])),_0x3b24a1=(_0x305498=_0x134dad==null?void 0x0:_0x134dad[_0x2ef5fc(0x265)])!=null?_0x305498:[],_0x515e16=(_0x52f3b1=_0x134dad==null?void 0x0:_0x134dad[_0x2ef5fc(0xfc)])!=null?_0x52f3b1:null,_0x459e0d=!!(_0x515e16!=null&&_0x515e16[_0x2ef5fc(0x3b3)])&&!!(_0x515e16!=null&&_0x515e16[_0x2ef5fc(0x386)]);this[_0x2ef5fc(0x2ac)]=_0x459e0d?_0x515e16[_0x2ef5fc(0x3b3)]:_0x477851(),this[_0x2ef5fc(0x175)]=_0x459e0d?_0x515e16[_0x2ef5fc(0x386)]:0x0;const _0x1a3c3f=this[_0x2ef5fc(0x282)];try{this[_0x2ef5fc(0x319)](_0x515e16,_0x3b24a1);}catch(_0x384030){this[_0x2ef5fc(0x299)][_0x2ef5fc(0x100)](_0x384030);}const _0x1832e9=this[_0x2ef5fc(0x232)]();if(_0x11ef1c){const _0x5368ff=Oi(this[_0x2ef5fc(0x20d)],_0x1a3c3f,this[_0x2ef5fc(0x388)],_0x515e16,_0x3b24a1,_0x1832e9);return _0x5368ff instanceof ae?_0x5368ff['_schedule']():(_0x5368ff instanceof oe||_0x5368ff instanceof le)&&_0x5368ff[_0x2ef5fc(0x21a)](),_0x5368ff;}return this[_0x2ef5fc(0x20d)]['createInstance'](de,_0x1a3c3f,this[_0x2ef5fc(0x388)],_0x515e16,_0x3b24a1,_0x1832e9);}[_0x187534(0x319)](_0x69e350,_0x59d43e){var _0x43430f=_0x187534,_0x266e5d,_0x3d34bd;const _0xeab677=this[_0x43430f(0x29b)]['interceptor'][_0x43430f(0x36a)](this[_0x43430f(0x29b)][_0x43430f(0x229)][_0x43430f(0x2d6)]()[_0x43430f(0x180)]);(_0x266e5d=_0xeab677((_0x69e350==null?void 0x0:_0x69e350[_0x43430f(0x265)])||[],null))==null||_0x266e5d[_0x43430f(0x148)](_0x3d1beb=>this[_0x43430f(0xbb)][_0x43430f(0x27b)](_0x3d1beb['id'],_0x3d1beb[_0x43430f(0x1de)])),(_0x3d34bd=_0xeab677(_0x59d43e||[],null))==null||_0x3d34bd[_0x43430f(0x148)](_0x41499c=>this[_0x43430f(0xbb)][_0x43430f(0x27b)](_0x41499c['id'],_0x41499c[_0x43430f(0x1de)]));}};st=At([$(0x3,_0x3dae34(_0x11f94e)),$(0x4,_0x3dae34(_0x245527)),$(0x5,_0x3dae34(_0x3a1551)),$(0x6,_0x3dae34(_0x2470ee)),$(0x7,_0x3dae34(ve)),$(0x8,_0x59f9c0),$(0x9,_0x4dc6a1),$(0xa,_0x3e7b0d),$(0xb,_0xa09fd9),$(0xc,_0x369572(_t)),$(0xd,_0x369572(X))],st);let It=class extends st{constructor(_0x32101e,_0x3d4db8,_0x41570f,_0x49400a,_0x197f48,_0x185957,_0xa62447,_0x3b9c50,_0x3a37d3,_0x42f391,_0x50d1a7,_0x23691d,_0x1419aa,_0x4654f3){var _0x59d5c6=_0x187534;super(_0x32101e,_0x41570f,_0x3d4db8,_0x49400a,_0x197f48,_0x185957,_0xa62447,_0x3b9c50,_0x3a37d3,_0x42f391,_0x50d1a7,_0x23691d,_0x1419aa,_0x4654f3),D(this,_0x59d5c6(0x302),null),(this[_0x59d5c6(0x282)]=_0x32101e,this[_0x59d5c6(0x29c)]=_0x3d4db8);}['addHandlerCallback'](_0x239368){var _0x462a74=_0x187534;this[_0x462a74(0x302)]=_0x239368;}[_0x187534(0xbf)](){var _0x36c4f1=_0x187534;this[_0x36c4f1(0x302)]=null,super['dispose']();}[_0x187534(0x232)](){var _0x206703=_0x187534;const _0x4180e5=super['_createHandler']();return _0x4180e5[_0x206703(0x257)]=_0x1443ed=>{var _0x3854f6=_0x206703,_0x33fe45,_0x24b22d;return(_0x24b22d=(_0x33fe45=this[_0x3854f6(0x302)])==null?void 0x0:_0x33fe45[_0x3854f6(0x257)])==null?void 0x0:_0x24b22d[_0x3854f6(0x184)](_0x33fe45,_0x1443ed);},_0x4180e5[_0x206703(0x3b4)]=_0x4c6ce8=>{var _0x423dce=_0x206703,_0x21b309,_0x3d4139;return(_0x3d4139=(_0x21b309=this[_0x423dce(0x302)])==null?void 0x0:_0x21b309[_0x423dce(0x3b4)])==null?void 0x0:_0x3d4139['call'](_0x21b309,_0x4c6ce8);},_0x4180e5[_0x206703(0x37d)]=_0x340eb9=>{var _0x3f5c4c=_0x206703,_0x538d92,_0x54b525;return(_0x54b525=(_0x538d92=this['_handlerCallback'])==null?void 0x0:_0x538d92[_0x3f5c4c(0x37d)])==null?void 0x0:_0x54b525[_0x3f5c4c(0x184)](_0x538d92,_0x340eb9);},_0x4180e5[_0x206703(0x26f)]=_0x3e66c0=>{var _0x33034b=_0x206703,_0x4b9cd4,_0x3f829b;return(_0x3f829b=(_0x4b9cd4=this['_handlerCallback'])==null?void 0x0:_0x4b9cd4[_0x33034b(0x26f)])==null?void 0x0:_0x3f829b['call'](_0x4b9cd4,_0x3e66c0);},_0x4180e5[_0x206703(0xf8)]=_0x293986=>{var _0x1c5dd3=_0x206703,_0x58c14d,_0x5dfa03,_0x473f27;if(!((_0x58c14d=this['_handlerCallback'])!=null&&_0x58c14d['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x473f27=(_0x5dfa03=this[_0x1c5dd3(0x302)])==null?void 0x0:_0x5dfa03[_0x1c5dd3(0xf8)])==null?void 0x0:_0x473f27[_0x1c5dd3(0x184)](_0x5dfa03,_0x293986);},_0x4180e5[_0x206703(0x1d7)]=_0x3d280c=>{var _0x4c3fd8=_0x206703,_0x484cf7,_0x554f78,_0x1d8445;if(!((_0x484cf7=this[_0x4c3fd8(0x302)])!=null&&_0x484cf7['onTransformRemoteChangesetByStateCache']))throw new Error(_0x4c3fd8(0x142));return(_0x1d8445=(_0x554f78=this[_0x4c3fd8(0x302)])==null?void 0x0:_0x554f78[_0x4c3fd8(0x1d7)])==null?void 0x0:_0x1d8445[_0x4c3fd8(0x184)](_0x554f78,_0x3d280c);},_0x4180e5;}async[_0x187534(0x160)](){var _0x4d6457=_0x187534;const _0x57aa82=await super[_0x4d6457(0x160)]();return this['disposeWithMe'](this[_0x4d6457(0xbb)][_0x4d6457(0x2c2)]((_0x34d373,_0x4659a1)=>{var _0x303750=_0x4d6457;if(_0x34d373['type']!==_0x48ce4f[_0x303750(0x2ca)]||_0x4659a1!=null&&_0x4659a1[_0x303750(0x15f)]||_0x4659a1!=null&&_0x4659a1[_0x303750(0x103)]||_0x34d373['id']===_0xad3887['id'])return;const _0x49f0f9=_0x34d373[_0x303750(0x1de)];if((_0x49f0f9==null?void 0x0:_0x49f0f9[_0x303750(0x338)])!==this[_0x303750(0x282)])return;const _0x102a2d=_0x34d373,_0x1830ca=this[_0x303750(0x29b)][_0x303750(0x229)][_0x303750(0x36a)](this['_compressMutationService'][_0x303750(0x229)]['getInterceptPoints']()[_0x303750(0x351)])([_0x102a2d],this['_univerInstanceService'])||[_0x102a2d];this['_onLocalMutation'](_0x1830ca[0x0]);})),_0x57aa82;}};It=At([$(0x3,_0x3dae34(_0x11f94e)),$(0x4,_0x3dae34(_0x245527)),$(0x5,_0x3dae34(_0x3a1551)),$(0x6,_0x3dae34(_0x2470ee)),$(0x7,_0x3dae34(ve)),$(0x8,_0x59f9c0),$(0x9,_0x4dc6a1),$(0xa,_0x3e7b0d),$(0xb,_0xa09fd9),$(0xc,_0x369572(_t)),$(0xd,_0x369572(X))],It);let St=class extends st{constructor(_0x563920,_0x3d084d,_0x234a16,_0x5e2b35,_0x312466,_0x2bcc60,_0x43376d,_0x5c6a7d,_0x403df6,_0x3ff425,_0x55b135,_0x4ab6b4,_0x265254,_0x4f5097,_0x6b7930){var _0x3e56b8=_0x187534;super(_0x563920,_0x234a16,_0x3d084d,_0x5e2b35,_0x312466,_0x2bcc60,_0x43376d,_0x403df6,_0x3ff425,_0x55b135,_0x4ab6b4,_0x265254,_0x4f5097,_0x6b7930),this['unitID']=_0x563920,this['type']=_0x3d084d,this[_0x3e56b8(0x383)]=_0x5c6a7d;}[_0x187534(0x232)](){var _0x4c6a3b=_0x187534;const _0x4dbb9d=super[_0x4c6a3b(0x232)]();return _0x4dbb9d['onTransformSelections']=_0x1bf8cb=>this[_0x4c6a3b(0x383)][_0x4c6a3b(0x347)](_0x1bf8cb),_0x4dbb9d;}async['_init'](){var _0x347f47=_0x187534;const _0x5b86fc=await super[_0x347f47(0x160)]();return this[_0x347f47(0xd4)](this[_0x347f47(0xbb)][_0x347f47(0x2c2)]((_0x45ae2e,_0x74497f)=>{var _0x3a3cc7=_0x347f47;if(_0x45ae2e[_0x3a3cc7(0x29c)]!==_0x48ce4f[_0x3a3cc7(0x2ca)]||_0x74497f!=null&&_0x74497f[_0x3a3cc7(0x15f)]||_0x74497f!=null&&_0x74497f[_0x3a3cc7(0x103)])return;const _0x4045d4=_0x45ae2e[_0x3a3cc7(0x1de)];if((_0x4045d4==null?void 0x0:_0x4045d4[_0x3a3cc7(0x338)])!==this[_0x3a3cc7(0x282)])return;const _0x523b45=_0x45ae2e,_0x4f6553=this[_0x3a3cc7(0x29b)][_0x3a3cc7(0x229)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x3a3cc7(0x229)][_0x3a3cc7(0x2d6)]()['COMPRESS_MUTATION_SEND'])([_0x523b45],this[_0x3a3cc7(0x2bf)])||[_0x523b45];this[_0x3a3cc7(0x1b7)](_0x4f6553[0x0]);})),_0x5b86fc;}};St=At([$(0x3,_0x3dae34(_0x11f94e)),$(0x4,_0x3dae34(_0x245527)),$(0x5,_0x3dae34(_0x3a1551)),$(0x6,_0x3dae34(_0x2470ee)),$(0x7,_0x3dae34(it)),$(0x8,_0x3dae34(ve)),$(0x9,_0x59f9c0),$(0xa,_0x4dc6a1),$(0xb,_0x3e7b0d),$(0xc,_0xa09fd9),$(0xd,_0x369572(_t)),$(0xe,_0x369572(X))],St);const Gs=_0x5debdd(_0x187534(0x1a8));function Ws(_0x2138cf){var _0x5991c6=_0x187534,_0x43b9a5,_0x526031,_0x416abc,_0x433a95,_0xe90e8;const _0x84015=_0x2138cf[_0x5991c6(0x247)],_0x55afc6=JSON['parse'](_0x84015);switch(_0x55afc6[_0x5991c6(0x2a4)]){case j['HEARTBEAT']:case j['HELLO']:{const _0x4b8c35=_0x55afc6[_0x5991c6(0x2d9)];return{..._0x55afc6,'data':_0x4b8c35,'cmd':_0x55afc6[_0x5991c6(0x2a4)]};}case j[_0x5991c6(0x295)]:{const _0x3736db=_0x55afc6[_0x5991c6(0x22e)];return{..._0x55afc6,'data':_0x3736db,'cmd':_0x55afc6[_0x5991c6(0x2a4)]};}case j[_0x5991c6(0x310)]:{const _0x3026ee=_0x55afc6['collaMsg'];switch(_0x3026ee['eventID']){case _0xb98076[_0x5991c6(0x399)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':(_0x43b9a5=_0x3026ee[_0x5991c6(0x290)])==null?void 0x0:_0x43b9a5['cs']},'cmd':_0x55afc6[_0x5991c6(0x2a4)]};case _0xb98076[_0x5991c6(0x25a)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':(_0x526031=_0x3026ee['csAckEvent'])==null?void 0x0:_0x526031['cs']},'cmd':_0x55afc6[_0x5991c6(0x2a4)]};case _0xb98076[_0x5991c6(0x119)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':(_0x416abc=_0x3026ee['newCsEvent'])==null?void 0x0:_0x416abc['cs']},'cmd':_0x55afc6[_0x5991c6(0x2a4)]};case _0xb98076[_0x5991c6(0xcc)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':(_0x433a95=_0x3026ee[_0x5991c6(0x20f)])==null?void 0x0:_0x433a95['cs']},'cmd':_0x55afc6[_0x5991c6(0x2a4)]};case _0xb98076[_0x5991c6(0x3b1)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':(_0xe90e8=_0x3026ee[_0x5991c6(0x22a)])==null?void 0x0:_0xe90e8['cs']},'cmd':_0x55afc6['cmd']};case _0xb98076['UPDATE_CURSOR']:return{..._0x55afc6,'data':{..._0x3026ee,'data':_0x3026ee[_0x5991c6(0x242)]},'cmd':_0x55afc6['cmd']};case _0xb98076[_0x5991c6(0x17a)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':_0x3026ee[_0x5991c6(0x14b)]},'cmd':_0x55afc6[_0x5991c6(0x2a4)]};case _0xb98076['USERS_LEAVE']:return{..._0x55afc6,'data':{..._0x3026ee,'data':_0x3026ee['leaveEvent']},'cmd':_0x55afc6['cmd']};case _0xb98076[_0x5991c6(0xf3)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':_0x3026ee[_0x5991c6(0x20c)]},'cmd':_0x55afc6[_0x5991c6(0x2a4)]};case _0xb98076['LIVESHARE_FETCH_OPERATIONS']:case _0xb98076[_0x5991c6(0x1d9)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':_0x3026ee[_0x5991c6(0x2c7)]},'cmd':_0x55afc6[_0x5991c6(0x2a4)]};case _0xb98076[_0x5991c6(0x18c)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':_0x3026ee['liveShareNewHost']},'cmd':_0x55afc6[_0x5991c6(0x2a4)]};case _0xb98076[_0x5991c6(0x174)]:return{..._0x55afc6,'data':_0x3026ee,'cmd':_0x55afc6[_0x5991c6(0x2a4)]};case _0xb98076[_0x5991c6(0x1c5)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':_0x3026ee['commentUpdateEvent']},'cmd':_0x55afc6[_0x5991c6(0x2a4)]};case _0xb98076[_0x5991c6(0x300)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':_0x3026ee['updatePermissionObjEvent']},'cmd':_0x55afc6[_0x5991c6(0x2a4)]};case _0xb98076[_0x5991c6(0xfd)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':_0x3026ee[_0x5991c6(0x251)]},'cmd':_0x55afc6['cmd']};case _0xb98076[_0x5991c6(0x1d8)]:return{..._0x55afc6,'data':{..._0x3026ee,'data':_0x3026ee[_0x5991c6(0x3ad)]},'cmd':_0x55afc6[_0x5991c6(0x2a4)]};default:return _0x55afc6;}}default:return _0x55afc6;}}function Ys(_0x51a6f0){var _0x454666=_0x187534;switch(_0x51a6f0['cmd']){case j[_0x454666(0x1a7)]:case j[_0x454666(0x19c)]:return JSON[_0x454666(0xba)]({'cmd':_0x51a6f0[_0x454666(0x2a4)],'routeKey':_0x51a6f0[_0x454666(0x32a)]});case j[_0x454666(0x1d6)]:{let _0x2d3800;switch(_0x51a6f0['data']['eventID']){case _0xb98076[_0x454666(0x16b)]:{_0x2d3800={'eventID':_0xb98076[_0x454666(0x16b)],'updateCursorEvent':_0x51a6f0[_0x454666(0x247)]['data']};break;}case _0xb98076[_0x454666(0x1d4)]:{_0x2d3800={'eventID':_0xb98076[_0x454666(0x1d4)],'leaveEvent':_0x51a6f0[_0x454666(0x247)][_0x454666(0x247)]};break;}case _0xb98076[_0x454666(0x17a)]:{_0x2d3800={'eventID':_0xb98076[_0x454666(0x17a)],'joinEvent':_0x51a6f0[_0x454666(0x247)][_0x454666(0x247)]};break;}case _0xb98076['LIVESHARE_NEW_HOST']:{_0x2d3800={'eventID':_0xb98076['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x51a6f0[_0x454666(0x247)][_0x454666(0x247)]};break;}case _0xb98076['LIVESHARE_OPERATION']:{_0x2d3800={'eventID':_0xb98076[_0x454666(0x1d9)],'liveShareOperation':_0x51a6f0['data'][_0x454666(0x247)]};break;}case _0xb98076['LIVESHARE_TERMINATE']:{_0x2d3800={'eventID':_0xb98076[_0x454666(0x18c)],'liveShareTerminate':_0x51a6f0['data']['data']};break;}case _0xb98076[_0x454666(0xce)]:{_0x2d3800={'eventID':_0xb98076[_0x454666(0xce)],'liveShareRequestHost':_0x51a6f0[_0x454666(0x247)]['data']};break;}case _0xb98076[_0x454666(0x269)]:{_0x2d3800={'eventID':_0xb98076[_0x454666(0x269)]};break;}default:_0x2d3800={'eventID':_0x51a6f0[_0x454666(0x247)]['eventID']};}return JSON[_0x454666(0xba)]({'cmd':_0x51a6f0[_0x454666(0x2a4)],'routeKey':_0x51a6f0[_0x454666(0x32a)],'collaMsg':_0x2d3800});}case j[_0x454666(0x295)]:return JSON[_0x454666(0xba)]({'cmd':_0x51a6f0[_0x454666(0x2a4)],'routeKey':_0x51a6f0[_0x454666(0x32a)],'joinReq':_0x51a6f0['data']});case j['LEAVE']:return JSON[_0x454666(0xba)]({'cmd':_0x51a6f0[_0x454666(0x2a4)],'routeKey':_0x51a6f0[_0x454666(0x32a)],'leaveReq':_0x51a6f0[_0x454666(0x247)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ks=Object[_0x187534(0x268)],qs=(_0x22566c,_0x37e625,_0xe83283,_0x1c0c41)=>{var _0x5b7f44=_0x187534;for(var _0x4ae841=_0x1c0c41>0x1?void 0x0:_0x1c0c41?Ks(_0x37e625,_0xe83283):_0x37e625,_0x46e3d9=_0x22566c[_0x5b7f44(0x134)]-0x1,_0x214aa7;_0x46e3d9>=0x0;_0x46e3d9--)(_0x214aa7=_0x22566c[_0x46e3d9])&&(_0x4ae841=_0x214aa7(_0x4ae841)||_0x4ae841);return _0x4ae841;},ye=(_0x4505d2,_0x360ee3)=>(_0x1c5fdd,_0x2342c6)=>_0x360ee3(_0x1c5fdd,_0x2342c6,_0x4505d2);const Ri=_0x5debdd(_0x187534(0x1c3));function zs(_0x574359,_0x33b15e,_0x39377d){var _0x3c7f64=_0x187534;return _0x574359+'/'+_0x33b15e+'/unit/'+_0x39377d+_0x3c7f64(0x1b5);}let Gt=class extends _0x4fffff{constructor(_0xd966df,_0x3b96f0,_0x7417c7,_0x4e1bba,_0x434bc3){var _0x50a696=_0x187534;super(),this['_injector']=_0xd966df,this['_httpService']=_0x3b96f0,this[_0x50a696(0x32d)]=_0x7417c7,this['_logService']=_0x4e1bba,this[_0x50a696(0x200)]=_0x434bc3;}[_0x187534(0x243)](_0x54ef75){var _0x4e8b3d=_0x187534;const _0x353ddd=this[_0x4e8b3d(0x20d)][_0x4e8b3d(0x12c)](_0x5625ee);if(!_0x353ddd)throw new Error(_0x4e8b3d(0x34b));const _0x35f311=_0x353ddd[_0x4e8b3d(0x124)](_0x54ef75);if(!_0x35f311)throw new Error(_0x4e8b3d(0x343));const _0x206d35=new _0x31d283(),_0x319ed2=new _0x4d8cd9();_0x206d35['add'](_0x35f311[_0x4e8b3d(0x359)][_0x4e8b3d(0x2f2)](_0x32c61c=>_0x319ed2[_0x4e8b3d(0x2a3)](_0x32c61c))),_0x206d35[_0x4e8b3d(0x1d3)](_0x4d6759(()=>_0x319ed2[_0x4e8b3d(0x36c)]()));const _0x416877=new _0x4d8cd9();_0x206d35[_0x4e8b3d(0x1d3)](_0x35f311[_0x4e8b3d(0x362)][_0x4e8b3d(0x2f2)](_0x3f40a1=>_0x416877[_0x4e8b3d(0x2a3)](_0x3f40a1))),_0x206d35[_0x4e8b3d(0x1d3)](_0x4d6759(()=>_0x416877[_0x4e8b3d(0x36c)]()));const _0x45f33f=new _0x4d8cd9();_0x206d35[_0x4e8b3d(0x1d3)](_0x35f311[_0x4e8b3d(0x2e0)][_0x4e8b3d(0x2f2)](_0x39d504=>{const _0x5287d5=Ws(_0x39d504);_0x45f33f['next'](_0x5287d5);})),_0x206d35[_0x4e8b3d(0x1d3)](_0x4d6759(()=>_0x45f33f[_0x4e8b3d(0x36c)]()));let _0xe6c2d8;const _0x37dfa8=()=>{var _0x5c9d89=_0x4e8b3d;_0x416877[_0x5c9d89(0x2a3)](new Event(_0x5c9d89(0x17f))),_0x319ed2[_0x5c9d89(0x2a3)](new Event(_0x5c9d89(0x17f))),_0xe6c2d8[_0x5c9d89(0xec)]();};return _0xe6c2d8={'memberID':'','close$':_0x319ed2[_0x4e8b3d(0x276)](),'error$':_0x416877['asObservable'](),'open$':_0x35f311[_0x4e8b3d(0x33f)],'message$':_0x45f33f['asObservable'](),'send':_0x3151ee=>{var _0x3268b6=_0x4e8b3d;if(_0x3151ee['cmd']===j[_0x3268b6(0x1d6)]){if(_0x3151ee[_0x3268b6(0x247)][_0x3268b6(0x1bf)]===_0xb98076['SUBMIT_CHANGESET']){this[_0x3268b6(0x2b7)](_0xe6c2d8,_0x3151ee[_0x3268b6(0x247)])[_0x3268b6(0x235)](_0x1dd8c3=>{var _0x15f1e6=_0x3268b6;this[_0x15f1e6(0x299)][_0x15f1e6(0x100)](_0x1dd8c3),_0x37dfa8();});return;}if(_0x3151ee[_0x3268b6(0x247)]['eventID']===_0xb98076['FETCH_MISSING']){const _0x3d32d7=_0x3151ee[_0x3268b6(0x247)];this['_fetchMissChangesets'](_0x3d32d7)[_0x3268b6(0x1ac)](_0x59cd91=>{var _0x3a8db7=_0x3268b6;_0x45f33f[_0x3a8db7(0x2a3)]({'cmd':j[_0x3a8db7(0x310)],'code':Ee['OK'],'routeKey':_0x3d32d7['data'][_0x3a8db7(0x282)],'routeType':'','data':{'eventID':_0xb98076[_0x3a8db7(0x2b9)],'data':{'changesets':_0x59cd91}}});})['catch'](_0x3d7020=>{var _0x48a721=_0x3268b6;this[_0x48a721(0x299)][_0x48a721(0x100)](_0x3d7020),_0x37dfa8();});return;}}_0x35f311[_0x3268b6(0x222)](Ys(_0x3151ee));},'close':()=>{var _0x2dbbf1=_0x4e8b3d;_0x35f311[_0x2dbbf1(0xec)](),_0x206d35[_0x2dbbf1(0xbf)]();}},_0xe6c2d8;}async[_0x187534(0x2b7)](_0x2eb578,_0x2672ed){var _0x578426=_0x187534,_0x33f84a;const {unitType:_0x4c4893,unitID:_0x54482f,changeset:_0x590e32}=_0x2672ed[_0x578426(0x247)],_0x2885d1={'unitID':_0x54482f,'memberID':_0x2eb578[_0x578426(0x19e)],'type':_0x4c4893,'changeset':_0x2b08ba(_0x590e32)},_0x114d82=this[_0x578426(0x32d)]['getConfig'](K),_0x2fc2f2=zs((_0x33f84a=_0x114d82==null?void 0x0:_0x114d82['collabSubmitChangesetUrl'])!=null?_0x33f84a:Cs,_0x4c4893,_0x54482f);try{await this[_0x578426(0x27c)][_0x578426(0x231)](_0x2fc2f2,{'body':_0x2885d1});}catch(_0x486cc0){throw this[_0x578426(0x299)][_0x578426(0x100)](_0x578426(0x2a6),_0x578426(0xfb)),_0x486cc0;}}async['_fetchMissChangesets'](_0x1ba9fe){var _0x4d0bb3=_0x187534;const {unitID:_0x2fffc0,from:_0x2312ac,to:_0x1faea1,unitType:_0x4193a3}=_0x1ba9fe[_0x4d0bb3(0x247)];return(await this[_0x4d0bb3(0x200)][_0x4d0bb3(0x255)]({'metadata':void 0x0},{'unitID':_0x2fffc0,'type':_0x4193a3,'from':_0x2312ac,'to':_0x1faea1}))[_0x4d0bb3(0xb7)][_0x4d0bb3(0x297)](_0x1ff2bd=>((_0x1ff2bd[_0x4d0bb3(0x265)]===null||_0x1ff2bd['mutations']===void 0x0)&&(_0x1ff2bd[_0x4d0bb3(0x265)]=[]),_0x1ff2bd));}};Gt=qs([ye(0x0,_0x3dae34(_0x11f94e)),ye(0x1,_0x3dae34(_0x3e9fc0)),ye(0x2,_0x6fb4f3),ye(0x3,_0x4dc6a1),ye(0x4,_0x4cd1f2)],Gt);var Xs=Object[_0x187534(0x268)],Js=(_0x189bf3,_0x1d47c7,_0x224bac,_0x42af18)=>{var _0x32e928=_0x187534;for(var _0x23e541=_0x42af18>0x1?void 0x0:_0x42af18?Xs(_0x1d47c7,_0x224bac):_0x1d47c7,_0x46dd40=_0x189bf3[_0x32e928(0x134)]-0x1,_0x31f393;_0x46dd40>=0x0;_0x46dd40--)(_0x31f393=_0x189bf3[_0x46dd40])&&(_0x23e541=_0x31f393(_0x23e541)||_0x23e541);return _0x23e541;},Re=(_0x123b66,_0x5d3f21)=>(_0x13ebd6,_0x584627)=>_0x5d3f21(_0x13ebd6,_0x584627,_0x123b66);let we=class extends _0x4fffff{constructor(_0x43793c,_0x598eb9,_0x4bea33,_0x3b3e1c,_0x1bdcb1,_0x38bb6e){var _0x43574=_0x187534;super(),D(this,'_socket$',new _0x44ac7d(void 0x0)),D(this,_0x43574(0x376),this['_socket$'][_0x43574(0x276)]()),D(this,_0x43574(0x308),null),D(this,_0x43574(0xf9),new Map()),D(this,'_status$',new _0x44ac7d(me[_0x43574(0x39b)])),D(this,_0x43574(0x187),this[_0x43574(0x24e)]['asObservable']()),D(this,'_socketReady',!0x1),D(this,_0x43574(0x2ee)),D(this,'_retryCount',0x0),D(this,_0x43574(0x19a)),D(this,_0x43574(0x364)),(this[_0x43574(0x20d)]=_0x43793c,this[_0x43574(0x299)]=_0x598eb9,this[_0x43574(0x32d)]=_0x4bea33,this['_socketService']=_0x3b3e1c,this[_0x43574(0x138)]=_0x1bdcb1,this[_0x43574(0x2f1)]=_0x38bb6e,this[_0x43574(0x334)]());}get['_socket'](){var _0x369101=_0x187534;return this[_0x369101(0x236)][_0x369101(0x2b1)]();}[_0x187534(0x334)](){var _0x48a4ec=_0x187534;this[_0x48a4ec(0x2f1)]&&this[_0x48a4ec(0xd4)](this['_networkConditionService'][_0x48a4ec(0x182)][_0x48a4ec(0x2f2)](_0x42c172=>{var _0x405012=_0x48a4ec;_0x42c172&&!this[_0x405012(0x23a)]&&this[_0x405012(0x206)](),_0x42c172||this[_0x405012(0x391)]();}));}['dispose'](){var _0x371ed4=_0x187534;super[_0x371ed4(0xbf)](),this[_0x371ed4(0x12f)](),this[_0x371ed4(0xa4)](),this['_clearHeartbeatTimer'](),this['_sessions']['forEach'](_0x5ecfbc=>_0x5ecfbc['dispose']()),this['_sessions'][_0x371ed4(0x118)](),this[_0x371ed4(0x24e)][_0x371ed4(0x36c)]();}async[_0x187534(0x379)](_0x51e593){var _0x5aa66f=_0x187534;if(this[_0x5aa66f(0xf9)][_0x5aa66f(0x173)](_0x51e593))return this[_0x5aa66f(0xf9)][_0x5aa66f(0x12c)](_0x51e593);this['_tryEnsureSocket']();const _0x2a07b4=this['_injector'][_0x5aa66f(0xdc)](mt,_0x51e593,this[_0x5aa66f(0x236)][_0x5aa66f(0x276)]());return this[_0x5aa66f(0xf9)]['set'](_0x51e593,_0x2a07b4),_0x2a07b4;}[_0x187534(0x17c)](_0xf55aab){var _0x4fec9c=_0x187534,_0x3a746c;const _0x4d4512=this[_0x4fec9c(0xf9)]['get'](_0xf55aab);_0x4d4512&&(this[_0x4fec9c(0xf9)][_0x4fec9c(0x2ed)](_0xf55aab),_0x4d4512[_0x4fec9c(0xec)]()),this[_0x4fec9c(0xf9)][_0x4fec9c(0x194)]||(_0x3a746c=this[_0x4fec9c(0x23a)])==null||_0x3a746c[_0x4fec9c(0xec)]();}[_0x187534(0x206)](){var _0xba66c3=_0x187534;this[_0xba66c3(0x323)]=0x0,this[_0xba66c3(0x12f)](),this[_0xba66c3(0xd7)]();}[_0x187534(0x12f)](){var _0x5541a1=_0x187534;this[_0x5541a1(0x2ee)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x5541a1(0x2ee)]=null);}async[_0x187534(0x304)](){var _0x5cd28d=_0x187534,_0xcbff20;const _0x136554=this[_0x5cd28d(0x32d)][_0x5cd28d(0x384)](K),_0x5d6fe0=(_0xcbff20=_0x136554==null?void 0x0:_0x136554[_0x5cd28d(0x233)])!=null?_0xcbff20:Ss,_0xa83416=await this[_0x5cd28d(0x1f5)][_0x5cd28d(0x124)](_0x5d6fe0);return this[_0x5cd28d(0x308)]=_0xa83416,_0xa83416;}async[_0x187534(0xeb)](){var _0x4fd1f9=_0x187534,_0x15cf09,_0x5c7229;try{const _0x7e26d7=(_0x5c7229=(_0x15cf09=this[_0x4fd1f9(0x23a)])!=null?_0x15cf09:this[_0x4fd1f9(0x308)])!=null?_0x5c7229:await this[_0x4fd1f9(0x304)]();if(_0x7e26d7){const _0x668611=_0x7e26d7[_0x4fd1f9(0x222)];_0x7e26d7['send']=_0x31d982=>(this['_rescheduleHeartbeat'](),_0x668611[_0x4fd1f9(0x1f8)](_0x7e26d7,[_0x31d982])),_0x7e26d7['message$'][_0x4fd1f9(0x2f2)](_0x3d0089=>this['_onMessage'](_0x7e26d7,_0x3d0089)),_0x7e26d7[_0x4fd1f9(0x362)][_0x4fd1f9(0x201)](_0x399970(0x1))[_0x4fd1f9(0x2f2)](_0x500175=>this[_0x4fd1f9(0x299)][_0x4fd1f9(0x100)](_0x4fd1f9(0xae),_0x500175)),_0x7e26d7['open$'][_0x4fd1f9(0x201)](_0x399970(0x1))['subscribe'](()=>{var _0x12ebac=_0x4fd1f9;this[_0x12ebac(0x154)](_0x7e26d7);}),_0x7e26d7[_0x4fd1f9(0x359)][_0x4fd1f9(0x201)](_0x399970(0x1))['subscribe'](_0x58e6d7=>{var _0x5527a6=_0x4fd1f9;this[_0x5527a6(0x299)]['debug'](_0x5527a6(0x2ec),_0x5527a6(0x188),_0x58e6d7),this[_0x5527a6(0x10b)]();});}}catch(_0x5e5f1a){this[_0x4fd1f9(0x299)][_0x4fd1f9(0x100)](_0x5e5f1a),this[_0x4fd1f9(0x10b)]();}}[_0x187534(0x154)](_0x52d42d){var _0x3a5285=_0x187534;this[_0x3a5285(0x299)][_0x3a5285(0xa7)]('[CollaborationSessionService]','socket\x20open.'),_0x52d42d['send']({'cmd':j[_0x3a5285(0x19c)]}),this[_0x3a5285(0x35a)]();}[_0x187534(0x391)](){var _0x4bcf69=_0x187534;this[_0x4bcf69(0x104)]=!0x1,this[_0x4bcf69(0x308)]=null,this[_0x4bcf69(0x24e)][_0x4bcf69(0x2a3)](me[_0x4bcf69(0x13b)]),this[_0x4bcf69(0x236)][_0x4bcf69(0x2a3)](null),this[_0x4bcf69(0xa4)](),this['_clearHeartbeatTimer']();}[_0x187534(0x10b)](){var _0x277a37=_0x187534,_0x310dc6;this[_0x277a37(0x391)](),this[_0x277a37(0x323)]<((_0x310dc6=this[_0x277a37(0x32d)]['getConfig'](Rs))!=null?_0x310dc6:Ns)?(this[_0x277a37(0x138)]['emitEvent']({'id':re[_0x277a37(0x34c)]}),this[_0x277a37(0xd7)]()):this[_0x277a37(0x138)][_0x277a37(0x31f)]({'id':re[_0x277a37(0x133)]});}[_0x187534(0xd7)](){var _0x24f304=_0x187534,_0x2f014d;const _0x47abe1=this['_retryCount'],_0x36efce=this[_0x24f304(0x32d)]['getConfig'](K),_0x90766a=_0x47abe1===0x0?0x0:((_0x2f014d=_0x36efce==null?void 0x0:_0x36efce[_0x24f304(0x395)])!=null?_0x2f014d:Os)*0x2**_0x47abe1;this[_0x24f304(0x2ee)]=setTimeout(()=>{var _0xe5ff46=_0x24f304;clearTimeout(this[_0xe5ff46(0x2ee)]),this[_0xe5ff46(0x2ee)]=null,this[_0xe5ff46(0xeb)]();},_0x90766a),this[_0x24f304(0x323)]+=0x1;}[_0x187534(0xb9)](_0x69cf5a,_0x1d27f5){var _0x44378b=_0x187534;const {cmd:_0x5170f6}=_0x1d27f5;_0x5170f6===j[_0x44378b(0x19c)]&&!this['_socketReady']&&(_0x69cf5a[_0x44378b(0x19e)]=_0x1d27f5[_0x44378b(0x247)]['memberID'],this['_socket$'][_0x44378b(0x2a3)](_0x69cf5a),this[_0x44378b(0x24e)]['next'](me['ONLINE']),this[_0x44378b(0x104)]=!0x0,this[_0x44378b(0x308)]=null),_0x5170f6===j[_0x44378b(0x1a7)]&&this[_0x44378b(0xa4)](),this['_rescheduleHeartbeat']();}[_0x187534(0x35a)](){var _0x4801bd=_0x187534,_0x45e1d3;this[_0x4801bd(0x381)](),this[_0x4801bd(0x19a)]=setTimeout(()=>this[_0x4801bd(0x204)](),(_0x45e1d3=this['_configService'][_0x4801bd(0x384)](gs))!=null?_0x45e1d3:Ts);}[_0x187534(0x204)](){var _0x6ae92c=_0x187534;this[_0x6ae92c(0x23a)][_0x6ae92c(0x222)]({'cmd':j[_0x6ae92c(0x1a7)]}),this[_0x6ae92c(0x286)]();}['_waitForHeartbeatResponse'](){var _0x56ba44=_0x187534,_0xb3ff7a;this[_0x56ba44(0x364)]=setTimeout(()=>this[_0x56ba44(0x10b)](),(_0xb3ff7a=this[_0x56ba44(0x32d)]['getConfig'](di))!=null?_0xb3ff7a:fi);}['_clearHeartbeatTimer'](){var _0x2ac48b=_0x187534;this[_0x2ac48b(0x19a)]!=null&&(clearTimeout(this[_0x2ac48b(0x19a)]),this[_0x2ac48b(0x19a)]=null);}[_0x187534(0xa4)](){var _0x39bdba=_0x187534;this[_0x39bdba(0x364)]!=null&&(clearTimeout(this[_0x39bdba(0x364)]),this['_timeoutTimer']=null);}};we=Js([Re(0x0,_0x3dae34(_0x11f94e)),Re(0x1,_0x4dc6a1),Re(0x2,_0x6fb4f3),Re(0x3,Ri),Re(0x4,_0x3dae34(ve)),Re(0x5,_0x369572(Gs))],we);var Zs=Object[_0x187534(0x268)],Qs=(_0x35d22d,_0x4e65ae,_0x49ed6a,_0x244cd8)=>{var _0x1d34fb=_0x187534;for(var _0x564cd9=_0x244cd8>0x1?void 0x0:_0x244cd8?Zs(_0x4e65ae,_0x49ed6a):_0x4e65ae,_0x3dc595=_0x35d22d[_0x1d34fb(0x134)]-0x1,_0x5a65fa;_0x3dc595>=0x0;_0x3dc595--)(_0x5a65fa=_0x35d22d[_0x3dc595])&&(_0x564cd9=_0x5a65fa(_0x564cd9)||_0x564cd9);return _0x564cd9;},Be=(_0x2856f9,_0x2a4327)=>(_0x475fa8,_0x5277f)=>_0x2a4327(_0x475fa8,_0x5277f,_0x2856f9);let nt=class extends _0x442ddb{constructor(_0x59bcab,_0x2b8aa3,_0x11adac,_0x38634a){var _0x27bc75=_0x187534,_0x2562d9;super(),D(this,'_entities',new Map()),D(this,_0x27bc75(0x262),new _0x4d8cd9()),D(this,_0x27bc75(0x227),this[_0x27bc75(0x262)]['asObservable']()),(this[_0x27bc75(0x20d)]=_0x59bcab,this[_0x27bc75(0x352)]=_0x2b8aa3,this[_0x27bc75(0x32d)]=_0x11adac,this[_0x27bc75(0x2bf)]=_0x38634a,((_0x2562d9=this[_0x27bc75(0x32d)]['getConfig'](K))==null?void 0x0:_0x2562d9[_0x27bc75(0xe5)])!==!0x1&&this['_init']());}[_0x187534(0xbf)](){var _0x210d30=_0x187534;super[_0x210d30(0xbf)](),this[_0x210d30(0x26d)][_0x210d30(0x148)](_0x5dae65=>_0x5dae65['dispose']()),this[_0x210d30(0x26d)][_0x210d30(0x118)]();}['getCollabEntity'](_0x164114){var _0x1072b2=_0x187534,_0x245ac5;return(_0x245ac5=this['_entities'][_0x1072b2(0x12c)](_0x164114))!=null?_0x245ac5:null;}['getCollabEntity$'](_0x92a797){var _0x53016e=_0x187534;const _0x2788cb=this['getCollabEntity'](_0x92a797);return _0x2788cb?_0xa211f4(_0x2788cb):this[_0x53016e(0x262)]['pipe'](_0x50625a(_0x1b47f9=>_0x1b47f9[_0x53016e(0x282)]===_0x92a797));}[_0x187534(0x1a2)](_0x4092b8){return _0x20fd07(this['getCollabEntity$'](_0x4092b8)['pipe'](_0x4ee1f7(()=>{})));}['_init'](){var _0x2f69de=_0x187534;this[_0x2f69de(0x2bf)][_0x2f69de(0x306)](_0x429e1a[_0x2f69de(0x258)])['pipe'](_0x5c1493(this[_0x2f69de(0x2da)]),_0x559bd5(0x10))['subscribe'](async _0x16824e=>{var _0x4cb29f=_0x2f69de;const _0x16f726=_0x16824e[_0x4cb29f(0x341)](),_0x471c4e=await this[_0x4cb29f(0x17b)](_0x16f726,Q['UNIVER_SHEET']);this['_entities'][_0x4cb29f(0x366)](_0x16f726,_0x471c4e);}),this[_0x2f69de(0x2bf)][_0x2f69de(0x306)](_0x429e1a['UNIVER_DOC'])[_0x2f69de(0x201)](_0x5c1493(this[_0x2f69de(0x2da)]),_0x559bd5(0x10))['pipe'](_0x50625a(_0x335042=>!_0x335042[_0x2f69de(0x341)]()[_0x2f69de(0x1b9)]('__')))[_0x2f69de(0x2f2)](async _0x48ffe2=>{var _0x5089b1=_0x2f69de;const _0x51d9de=_0x48ffe2[_0x5089b1(0x341)](),_0x6fd4b0=await this[_0x5089b1(0x17b)](_0x51d9de,Q['UNIVER_DOC']);this[_0x5089b1(0x26d)][_0x5089b1(0x366)](_0x51d9de,_0x6fd4b0);}),_0x20e52c(this[_0x2f69de(0x2bf)][_0x2f69de(0xfe)](_0x429e1a['UNIVER_SHEET']),this[_0x2f69de(0x2bf)][_0x2f69de(0xfe)](_0x429e1a['UNIVER_DOC']))[_0x2f69de(0x201)](_0x5c1493(this[_0x2f69de(0x2da)]))[_0x2f69de(0x2f2)](_0x5396d8=>{var _0x206e19=_0x2f69de;const _0x58c257=_0x5396d8['getUnitId'](),_0x50b9f8=this[_0x206e19(0x26d)][_0x206e19(0x12c)](_0x58c257);_0x50b9f8&&(_0x50b9f8[_0x206e19(0xbf)](),this['_entities'][_0x206e19(0x2ed)](_0x58c257));});}async['_startCollaboration'](_0x2a4403,_0x435d28){var _0x28ee14=_0x187534;const _0x53ba32=await this['_collabSessionService'][_0x28ee14(0x379)](_0x2a4403),_0x2ebef6=this[_0x28ee14(0x20d)]['createInstance'](this[_0x28ee14(0x19f)](_0x435d28),_0x2a4403,_0x435d28,_0x53ba32);return await _0x2ebef6['init'](),this[_0x28ee14(0x262)]['next'](_0x2ebef6),_0x2ebef6;}[_0x187534(0x19f)](_0x213d6f){var _0x51def4=_0x187534;switch(_0x213d6f){case Q['UNIVER_DOC']:return It;case Q[_0x51def4(0x258)]:return St;default:throw new Error(_0x51def4(0x1f6)+_0x213d6f);}}};nt=Qs([Be(0x0,_0x3dae34(_0x11f94e)),Be(0x1,_0x3dae34(we)),Be(0x2,_0x6fb4f3),Be(0x3,_0x59f9c0)],nt);var en=Object[_0x187534(0x268)],tn=(_0x4a6290,_0x11c443,_0x256eb3,_0x12b934)=>{for(var _0x14d793=_0x12b934>0x1?void 0x0:_0x12b934?en(_0x11c443,_0x256eb3):_0x11c443,_0x1dbf17=_0x4a6290['length']-0x1,_0x2ebd4c;_0x1dbf17>=0x0;_0x1dbf17--)(_0x2ebd4c=_0x4a6290[_0x1dbf17])&&(_0x14d793=_0x2ebd4c(_0x14d793)||_0x14d793);return _0x14d793;},Wt=(_0x4b267f,_0x1bf9d5)=>(_0x12e46a,_0x49c0f7)=>_0x1bf9d5(_0x12e46a,_0x49c0f7,_0x4b267f);const sn=_0x187534(0x122),nn=_0x187534(0x270);let gt=class extends _0x4fffff{constructor(_0x4f260b,_0x5ef130){var _0x58941d=_0x187534;super(),this[_0x58941d(0x2bf)]=_0x4f260b,this[_0x58941d(0x32d)]=_0x5ef130,this[_0x58941d(0x160)]();}[_0x187534(0x160)](){var _0x1f061d=_0x187534;this[_0x1f061d(0xd4)](this[_0x1f061d(0x2bf)][_0x1f061d(0x120)]['subscribe'](()=>{var _0x2b550e=_0x1f061d,_0x1e2528;const _0x26ab0e=this['_univerInstanceService'][_0x2b550e(0x2e5)]();let _0xa742b9=(_0x1e2528=this['_configService'][_0x2b550e(0x384)](sn))!=null?_0x1e2528:nn;_0x26ab0e instanceof _0x4b16e2&&(_0xa742b9=_0x26ab0e[_0x2b550e(0x35b)]),document['title']=_0xa742b9;}));}};gt=tn([Wt(0x0,_0x59f9c0),Wt(0x1,_0x6fb4f3)],gt);var rn=Object[_0x187534(0x268)],an=(_0x1d4d58,_0x4d66a1,_0x23ec5e,_0x3ed96f)=>{for(var _0x5da38a=_0x3ed96f>0x1?void 0x0:_0x3ed96f?rn(_0x4d66a1,_0x23ec5e):_0x4d66a1,_0xb32275=_0x1d4d58['length']-0x1,_0x50045b;_0xb32275>=0x0;_0xb32275--)(_0x50045b=_0x1d4d58[_0xb32275])&&(_0x5da38a=_0x50045b(_0x5da38a)||_0x5da38a);return _0x5da38a;},dt=(_0x1fc568,_0x3f02aa)=>(_0x1b3d38,_0x15b72f)=>_0x3f02aa(_0x1b3d38,_0x15b72f,_0x1fc568);let rt=class{constructor(_0x31881b,_0x1781f5,_0x552e7b){var _0x59745e=_0x187534;this[_0x59745e(0x32d)]=_0x31881b,this[_0x59745e(0x27c)]=_0x1781f5,this[_0x59745e(0x3a9)]=_0x552e7b,this[_0x59745e(0x1ed)]();}['init'](){var _0x85da05=_0x187534;this['_httpService'][_0x85da05(0x38f)]({'priority':0x1,'interceptor':(_0x5679f8,_0x1a48fd)=>_0x1a48fd(_0x5679f8)['pipe'](_0x233c09(async _0x4b7931=>{var _0xe630e1=_0x85da05;const _0x2a6356=_0x4b7931;if(_0x2a6356[_0xe630e1(0xf7)]===0x191){if(typeof window>'u')throw new Error(_0xe630e1(0x237));if(window['confirm'](this[_0xe630e1(0x3a9)]['t'](_0xe630e1(0x315)))){const _0x45f287=window['encodeURIComponent'](window[_0xe630e1(0x260)][_0xe630e1(0x137)]);window[_0xe630e1(0x260)][_0xe630e1(0x137)]=this[_0xe630e1(0x11e)]()+'?url='+_0x45f287;}}return _0x2a6356;}))});}[_0x187534(0x11e)](){var _0x2fc9ca=_0x187534,_0x19776b;const _0x1092a9=this['_configService']['getConfig'](K);return(_0x19776b=_0x1092a9==null?void 0x0:_0x1092a9[_0x2fc9ca(0x27e)])!=null?_0x19776b:bs;}};rt=an([dt(0x0,_0x6fb4f3),dt(0x1,_0x3dae34(_0x3e9fc0)),dt(0x2,_0x3dae34(_0x3a1551))],rt);var on=Object[_0x187534(0x268)],cn=(_0x295a61,_0x22df38,_0x4cbe5b,_0x22288d)=>{var _0x453a8a=_0x187534;for(var _0x5b1d1c=_0x22288d>0x1?void 0x0:_0x22288d?on(_0x22df38,_0x4cbe5b):_0x22df38,_0x8cfc92=_0x295a61[_0x453a8a(0x134)]-0x1,_0x207881;_0x8cfc92>=0x0;_0x8cfc92--)(_0x207881=_0x295a61[_0x8cfc92])&&(_0x5b1d1c=_0x207881(_0x5b1d1c)||_0x5b1d1c);return _0x5b1d1c;},Yt=(_0x22daf5,_0x802742)=>(_0x2b09f7,_0x4cb9e0)=>_0x802742(_0x2b09f7,_0x4cb9e0,_0x22daf5);const _n='/universer-api/authz';let Tt=class extends _0x4fffff{constructor(_0x2ab4cb,_0x1ffe40){var _0x1ac395=_0x187534;super(),this[_0x1ac395(0x220)]=_0x2ab4cb,this[_0x1ac395(0x32d)]=_0x1ffe40,this[_0x1ac395(0x2e9)]();}[_0x187534(0x2e9)](){var _0xb0d2d9=_0x187534;const _0x4c20d6=this;this['disposeWithMe'](this[_0xb0d2d9(0x220)][_0xb0d2d9(0x38f)]({'priority':0x3e7,'interceptor':_0x5b7c8f({'isMatch'(_0x4713bd){var _0x52075b=_0xb0d2d9,_0xae500;if(_0x4713bd[_0x52075b(0x15d)]==='POST'&&((_0xae500=_0x4713bd[_0x52075b(0x176)])!=null&&_0xae500[_0x52075b(0x368)])){const {objectID:_0x1f5b22,objectType:_0x2c1ec9}=_0x4713bd[_0x52075b(0x176)][_0x52075b(0x368)]||{};if(!_0x1f5b22||_0x2c1ec9===void 0x0)return!0x1;const _0x361e6e=_0x4c20d6[_0x52075b(0x1f0)]()+'/'+_0x2c1ec9+_0x52075b(0x2c5)+_0x1f5b22+_0x52075b(0x30f);if(_0x4713bd[_0x52075b(0x298)]===_0x361e6e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x10eaee){var _0x28bbeb=_0xb0d2d9,_0x64d4d9;return(_0x64d4d9=_0x10eaee[_0x28bbeb(0x176)])==null?void 0x0:_0x64d4d9[_0x28bbeb(0x368)];},'mergeParamsToRequest'(_0x4e06f3,_0x4b0fc7){var _0x277502=_0xb0d2d9;const _0x5cd87a=_0x4c20d6[_0x277502(0x1f0)]()+_0x277502(0x2d2),_0x1f40fb=_0x4e06f3[_0x277502(0x3a4)]((_0x53181a,_0xd3f8b3)=>{var _0x1de358=_0x277502;const {unitID:_0x3998c8,objectID:_0x3a21d1,objectType:_0x26c001,actions:_0x3f2694}=_0xd3f8b3;return _0x53181a[_0x3998c8]||(_0x53181a[_0x3998c8]={}),_0x53181a[_0x3998c8][_0x3a21d1]||(_0x53181a[_0x3998c8][_0x3a21d1]={'objectID':_0x3a21d1,'objectType':_0x26c001,'actions':[]}),_0x53181a[_0x3998c8][_0x3a21d1][_0x1de358(0x2f5)][_0x1de358(0x239)](..._0x3f2694),_0x53181a;},{}),_0x2732b1=[];for(const _0x1de5c6 in _0x1f40fb)for(const _0x3aa562 in _0x1f40fb[_0x1de5c6]){const {actions:_0x3b9907,objectType:_0x1b0cc0}=_0x1f40fb[_0x1de5c6][_0x3aa562],_0x503cd5=[...new Set(_0x3b9907)];_0x2732b1[_0x277502(0x239)]({'unitID':_0x1de5c6,'objectID':_0x3aa562,'objectType':_0x1b0cc0,'actions':_0x503cd5});}return new _0x33f5ce(_0x277502(0x3af),_0x5cd87a,{'headers':_0x4b0fc7[_0x277502(0x291)],'withCredentials':_0x4b0fc7[_0x277502(0xc0)],'responseType':_0x4b0fc7[_0x277502(0x2b3)],'body':{'requests':_0x2732b1}});}},{'distributeResult'(_0x3471a0,_0x443ca1){var _0x4ed36b=_0xb0d2d9;const {objectActions:_0x4edee8}=_0x3471a0;return _0x443ca1[_0x4ed36b(0x297)](_0x43fe22=>{var _0x1823f1=_0x4ed36b;const {unitID:_0x573fad,objectID:_0x56b058,actions:_0x151b5a}=_0x43fe22,_0x182a5d=_0x4edee8[_0x1823f1(0x380)](_0x99d0c9=>_0x99d0c9[_0x1823f1(0x282)]===_0x573fad&&_0x99d0c9[_0x1823f1(0xd5)]===_0x56b058),_0x3d2a9a=_0x151b5a[_0x1823f1(0x297)](_0x31dedb=>_0x182a5d==null?void 0x0:_0x182a5d['actions']['find'](_0x3c94f0=>_0x3c94f0['action']===_0x31dedb))[_0x1823f1(0xcf)](_0x2b402c=>!!_0x2b402c);return{'config':_0x43fe22,'result':{'actions':_0x3d2a9a,'error':_0x3471a0[_0x1823f1(0x100)]}};});}})}));}[_0x187534(0x1f0)](){var _0x32f93c=_0x187534,_0x7c9ac5;const _0x23356d=this[_0x32f93c(0x32d)]['getConfig'](K);return(_0x7c9ac5=_0x23356d==null?void 0x0:_0x23356d['authzUrl'])!=null?_0x7c9ac5:_n;}async['create'](_0x438ed2){var _0xd598a8=_0x187534;const _0x2209f5=this[_0xd598a8(0x1f0)]()+'/'+_0x438ed2[_0xd598a8(0x3a3)]+_0xd598a8(0x10d);return(await this[_0xd598a8(0x220)][_0xd598a8(0x231)](_0x2209f5,{'body':_0x438ed2}))[_0xd598a8(0x368)][_0xd598a8(0xd5)]||'';}async[_0x187534(0x202)](_0x56bda5){var _0x22a8e6=_0x187534;const _0x57a86b=this[_0x22a8e6(0x1f0)]()+_0x22a8e6(0xc8);return(await this[_0x22a8e6(0x220)]['post'](_0x57a86b,{'body':_0x56bda5}))[_0x22a8e6(0x368)][_0x22a8e6(0x2a9)];}async[_0x187534(0x303)](_0x69c3b8){var _0x285c69=_0x187534,_0x3d31a0,_0x3c44be;const _0x295d84=this[_0x285c69(0x1f0)]()+'/'+_0x69c3b8[_0x285c69(0x3a3)]+'/object/'+_0x69c3b8[_0x285c69(0xd5)],_0x196dd9=await this[_0x285c69(0x220)][_0x285c69(0x1fd)](_0x295d84,{'body':_0x69c3b8});if(((_0x3c44be=(_0x3d31a0=_0x196dd9==null?void 0x0:_0x196dd9[_0x285c69(0x368)])==null?void 0x0:_0x3d31a0['error'])==null?void 0x0:_0x3c44be[_0x285c69(0x178)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x187534(0x3ab)](_0x272245){var _0xe21b74=_0x187534;const _0x3ec7cc=this[_0xe21b74(0x1f0)]()+'/'+_0x272245['objectType']+_0xe21b74(0x2c5)+_0x272245[_0xe21b74(0xd5)]+_0xe21b74(0x30f);return(await this[_0xe21b74(0x220)][_0xe21b74(0x231)](_0x3ec7cc,{'body':_0x272245}))[_0xe21b74(0x368)][_0xe21b74(0x2f5)];}async['batchAllowed'](_0x1e0c4d){var _0x1df04d=_0x187534;const _0x4186c4=this['_getAPIPrefixPath']()+_0x1df04d(0x2d2);return(await this[_0x1df04d(0x220)]['post'](_0x4186c4,{'body':{'requests':_0x1e0c4d}}))['body'][_0x1df04d(0x143)];}async['listRoles'](_0x3b2405){var _0x133175=_0x187534;const _0x3ef1fb=this[_0x133175(0x1f0)]()+'/'+_0x3b2405[_0x133175(0x3a3)]+_0x133175(0x284),_0x4ed57b=await this[_0x133175(0x220)]['post'](_0x3ef1fb,{'body':_0x3b2405});return{'roles':_0x4ed57b[_0x133175(0x368)][_0x133175(0x198)],'actions':_0x4ed57b[_0x133175(0x368)][_0x133175(0x2f5)]};}async[_0x187534(0x24c)](_0x3ff17c){var _0x257550=_0x187534;const _0x1c8a60=this['_getAPIPrefixPath']()+_0x257550(0xc7);await this[_0x257550(0x220)][_0x257550(0x2ed)](_0x1c8a60,{'params':{'collaboratorID':_0x3ff17c[_0x257550(0x35f)],'objectID':_0x3ff17c[_0x257550(0xd5)],'unitID':_0x3ff17c[_0x257550(0x282)]}});}async[_0x187534(0x3a5)](_0x2feaeb){var _0x135f1a=_0x187534;const _0x1948c4=this[_0x135f1a(0x1f0)]()+'/collaborator';await this[_0x135f1a(0x220)]['patch'](_0x1948c4,{'body':_0x2feaeb});}async['createCollaborator'](_0x28cbfc){var _0x1adb55=_0x187534;const _0xd6b11b=this[_0x1adb55(0x1f0)]()+'/collaborator';await this[_0x1adb55(0x220)][_0x1adb55(0x231)](_0xd6b11b,{'body':_0x28cbfc});}async['listCollaborators'](_0x2f970d){var _0x23a90d=_0x187534;const _0x7feae3=this['_getAPIPrefixPath']()+_0x23a90d(0xc7);return(await this[_0x23a90d(0x220)][_0x23a90d(0x12c)](_0x7feae3,{'params':{'objectID':_0x2f970d[_0x23a90d(0xd5)],'unitID':_0x2f970d[_0x23a90d(0x282)]}}))[_0x23a90d(0x368)]['collaborators'];}async[_0x187534(0x116)](_0x46a275){var _0x4098d4=_0x187534;const _0x233b8c=this[_0x4098d4(0x1f0)]()+_0x4098d4(0xc7);await this[_0x4098d4(0x220)]['put'](_0x233b8c,{'body':_0x46a275});}};Tt=cn([Yt(0x0,_0x3dae34(_0x3e9fc0)),Yt(0x1,_0x3dae34(_0x6fb4f3))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x6c3fc4){var _0x238dce=_0x187534;return _0x6c3fc4&&_0x6c3fc4[_0x238dce(0x38c)]&&Object[_0x238dce(0xc6)][_0x238dce(0x209)][_0x238dce(0x184)](_0x6c3fc4,_0x238dce(0x37e))?_0x6c3fc4[_0x238dce(0x37e)]:_0x6c3fc4;}var Ve={'exports':{}};function hn(_0x21a2e2){var _0x51e1b1=_0x187534;throw new Error(_0x51e1b1(0x35e)+_0x21a2e2+_0x51e1b1(0x224));}var Ge={'exports':{}},ln=Ge[_0x187534(0x279)],Kt;function ie(){return Kt||(Kt=0x1,function(_0x4f6c50,_0xfc634c){(function(_0x2e2f35,_0x3ba11e){_0x4f6c50['exports']=_0x3ba11e();}(ln,function(){var _0x119268=_0x119268||function(_0x50fe5f,_0x440bca){var _0x3f6020=_0x8b56,_0x26f3bb;if(typeof window<'u'&&window[_0x3f6020(0x226)]&&(_0x26f3bb=window[_0x3f6020(0x226)]),typeof self<'u'&&self[_0x3f6020(0x226)]&&(_0x26f3bb=self['crypto']),typeof globalThis<'u'&&globalThis[_0x3f6020(0x226)]&&(_0x26f3bb=globalThis[_0x3f6020(0x226)]),!_0x26f3bb&&typeof window<'u'&&window[_0x3f6020(0x141)]&&(_0x26f3bb=window[_0x3f6020(0x141)]),!_0x26f3bb&&typeof ft<'u'&&ft[_0x3f6020(0x226)]&&(_0x26f3bb=ft[_0x3f6020(0x226)]),!_0x26f3bb&&typeof hn==_0x3f6020(0x2a5))try{_0x26f3bb=require('crypto');}catch{}var _0x5dc59b=function(){var _0x132983=_0x3f6020;if(_0x26f3bb){if(typeof _0x26f3bb['getRandomValues']=='function')try{return _0x26f3bb[_0x132983(0xff)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x26f3bb['randomBytes']==_0x132983(0x2a5))try{return _0x26f3bb[_0x132983(0x149)](0x4)[_0x132983(0x387)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x236cbe=Object['create']||(function(){function _0xace6af(){}return function(_0x145dbb){var _0x2a532e;return _0xace6af['prototype']=_0x145dbb,_0x2a532e=new _0xace6af(),_0xace6af['prototype']=null,_0x2a532e;};}()),_0x5592a1={},_0x318129=_0x5592a1[_0x3f6020(0x11d)]={},_0xa69306=_0x318129['Base']=(function(){return{'extend':function(_0x3cd43e){var _0xc4446f=_0x8b56,_0x18b26e=_0x236cbe(this);return _0x3cd43e&&_0x18b26e[_0xc4446f(0x2b0)](_0x3cd43e),(!_0x18b26e[_0xc4446f(0x209)](_0xc4446f(0x1ed))||this[_0xc4446f(0x1ed)]===_0x18b26e[_0xc4446f(0x1ed)])&&(_0x18b26e['init']=function(){var _0x56ac08=_0xc4446f;_0x18b26e[_0x56ac08(0x1e6)][_0x56ac08(0x1ed)]['apply'](this,arguments);}),_0x18b26e[_0xc4446f(0x1ed)]['prototype']=_0x18b26e,_0x18b26e['$super']=this,_0x18b26e;},'create':function(){var _0x4a7e98=_0x8b56,_0x2a518d=this['extend']();return _0x2a518d['init'][_0x4a7e98(0x1f8)](_0x2a518d,arguments),_0x2a518d;},'init':function(){},'mixIn':function(_0x414f75){var _0x456eb0=_0x8b56;for(var _0x20dcbc in _0x414f75)_0x414f75[_0x456eb0(0x209)](_0x20dcbc)&&(this[_0x20dcbc]=_0x414f75[_0x20dcbc]);_0x414f75['hasOwnProperty'](_0x456eb0(0xbd))&&(this[_0x456eb0(0xbd)]=_0x414f75[_0x456eb0(0xbd)]);},'clone':function(){var _0x4c163f=_0x8b56;return this[_0x4c163f(0x1ed)]['prototype']['extend'](this);}};}()),_0x30a056=_0x318129['WordArray']=_0xa69306[_0x3f6020(0x378)]({'init':function(_0x50d7bf,_0x5c08b1){var _0x4c89cc=_0x3f6020;_0x50d7bf=this[_0x4c89cc(0x26b)]=_0x50d7bf||[],_0x5c08b1!=_0x440bca?this[_0x4c89cc(0x1f2)]=_0x5c08b1:this[_0x4c89cc(0x1f2)]=_0x50d7bf['length']*0x4;},'toString':function(_0xae8c65){var _0x5a5f06=_0x3f6020;return(_0xae8c65||_0x4d3bbd)[_0x5a5f06(0xba)](this);},'concat':function(_0x59895a){var _0x5e4e07=_0x3f6020,_0xa8107b=this[_0x5e4e07(0x26b)],_0x39f930=_0x59895a[_0x5e4e07(0x26b)],_0x205d2a=this['sigBytes'],_0x5c10ea=_0x59895a[_0x5e4e07(0x1f2)];if(this['clamp'](),_0x205d2a%0x4)for(var _0x18ff3a=0x0;_0x18ff3a<_0x5c10ea;_0x18ff3a++){var _0x548427=_0x39f930[_0x18ff3a>>>0x2]>>>0x18-_0x18ff3a%0x4*0x8&0xff;_0xa8107b[_0x205d2a+_0x18ff3a>>>0x2]|=_0x548427<<0x18-(_0x205d2a+_0x18ff3a)%0x4*0x8;}else{for(var _0xc7cef2=0x0;_0xc7cef2<_0x5c10ea;_0xc7cef2+=0x4)_0xa8107b[_0x205d2a+_0xc7cef2>>>0x2]=_0x39f930[_0xc7cef2>>>0x2];}return this[_0x5e4e07(0x1f2)]+=_0x5c10ea,this;},'clamp':function(){var _0x481767=_0x3f6020,_0x4f7a99=this[_0x481767(0x26b)],_0x4f2630=this[_0x481767(0x1f2)];_0x4f7a99[_0x4f2630>>>0x2]&=0xffffffff<<0x20-_0x4f2630%0x4*0x8,_0x4f7a99[_0x481767(0x134)]=_0x50fe5f[_0x481767(0x16e)](_0x4f2630/0x4);},'clone':function(){var _0x1c74f8=_0x3f6020,_0x321996=_0xa69306[_0x1c74f8(0x1b3)]['call'](this);return _0x321996['words']=this[_0x1c74f8(0x26b)][_0x1c74f8(0x277)](0x0),_0x321996;},'random':function(_0x3dae85){for(var _0x59f017=[],_0x340c69=0x0;_0x340c69<_0x3dae85;_0x340c69+=0x4)_0x59f017['push'](_0x5dc59b());return new _0x30a056['init'](_0x59f017,_0x3dae85);}}),_0x49ecc4=_0x5592a1[_0x3f6020(0x2c1)]={},_0x4d3bbd=_0x49ecc4[_0x3f6020(0x316)]={'stringify':function(_0x4f5e58){var _0x4bd275=_0x3f6020;for(var _0x406cde=_0x4f5e58['words'],_0xd90ed1=_0x4f5e58[_0x4bd275(0x1f2)],_0x24c25c=[],_0x49688b=0x0;_0x49688b<_0xd90ed1;_0x49688b++){var _0x442f53=_0x406cde[_0x49688b>>>0x2]>>>0x18-_0x49688b%0x4*0x8&0xff;_0x24c25c[_0x4bd275(0x239)]((_0x442f53>>>0x4)[_0x4bd275(0xbd)](0x10)),_0x24c25c[_0x4bd275(0x239)]((_0x442f53&0xf)['toString'](0x10));}return _0x24c25c[_0x4bd275(0x33e)]('');},'parse':function(_0x1dbb37){var _0x556505=_0x3f6020;for(var _0x32f1e8=_0x1dbb37[_0x556505(0x134)],_0x1c2b2f=[],_0xa4e785=0x0;_0xa4e785<_0x32f1e8;_0xa4e785+=0x2)_0x1c2b2f[_0xa4e785>>>0x3]|=parseInt(_0x1dbb37[_0x556505(0x1e2)](_0xa4e785,0x2),0x10)<<0x18-_0xa4e785%0x8*0x4;return new _0x30a056['init'](_0x1c2b2f,_0x32f1e8/0x2);}},_0x173dd4=_0x49ecc4['Latin1']={'stringify':function(_0x17d0ba){var _0x4dec98=_0x3f6020;for(var _0x5904da=_0x17d0ba[_0x4dec98(0x26b)],_0x45cfe0=_0x17d0ba[_0x4dec98(0x1f2)],_0x40f5c2=[],_0x544015=0x0;_0x544015<_0x45cfe0;_0x544015++){var _0x51d384=_0x5904da[_0x544015>>>0x2]>>>0x18-_0x544015%0x4*0x8&0xff;_0x40f5c2['push'](String['fromCharCode'](_0x51d384));}return _0x40f5c2['join']('');},'parse':function(_0x35844c){var _0x11e6b0=_0x3f6020;for(var _0x1ff01b=_0x35844c[_0x11e6b0(0x134)],_0x14dd0a=[],_0x5c6a68=0x0;_0x5c6a68<_0x1ff01b;_0x5c6a68++)_0x14dd0a[_0x5c6a68>>>0x2]|=(_0x35844c[_0x11e6b0(0x1aa)](_0x5c6a68)&0xff)<<0x18-_0x5c6a68%0x4*0x8;return new _0x30a056[(_0x11e6b0(0x1ed))](_0x14dd0a,_0x1ff01b);}},_0x5d390b=_0x49ecc4[_0x3f6020(0x151)]={'stringify':function(_0x488591){var _0x185f0a=_0x3f6020;try{return decodeURIComponent(escape(_0x173dd4[_0x185f0a(0xba)](_0x488591)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2d102c){var _0x3c02a5=_0x3f6020;return _0x173dd4[_0x3c02a5(0xcd)](unescape(encodeURIComponent(_0x2d102c)));}},_0x63bf1b=_0x318129[_0x3f6020(0xf6)]=_0xa69306[_0x3f6020(0x378)]({'reset':function(){var _0x38826a=_0x3f6020;this[_0x38826a(0xe2)]=new _0x30a056['init'](),this[_0x38826a(0x35c)]=0x0;},'_append':function(_0xce7729){var _0x16601f=_0x3f6020;typeof _0xce7729=='string'&&(_0xce7729=_0x5d390b[_0x16601f(0xcd)](_0xce7729)),this[_0x16601f(0xe2)]['concat'](_0xce7729),this['_nDataBytes']+=_0xce7729[_0x16601f(0x1f2)];},'_process':function(_0x561dd1){var _0x4ce65b=_0x3f6020,_0x56d97b,_0xd38573=this[_0x4ce65b(0xe2)],_0xa3e0fc=_0xd38573['words'],_0x69a3=_0xd38573[_0x4ce65b(0x1f2)],_0x248f5d=this[_0x4ce65b(0x152)],_0x14b3ac=_0x248f5d*0x4,_0x1503e8=_0x69a3/_0x14b3ac;_0x561dd1?_0x1503e8=_0x50fe5f['ceil'](_0x1503e8):_0x1503e8=_0x50fe5f[_0x4ce65b(0x2c8)]((_0x1503e8|0x0)-this[_0x4ce65b(0x1e3)],0x0);var _0x557641=_0x1503e8*_0x248f5d,_0x32bf72=_0x50fe5f['min'](_0x557641*0x4,_0x69a3);if(_0x557641){for(var _0x118d38=0x0;_0x118d38<_0x557641;_0x118d38+=_0x248f5d)this['_doProcessBlock'](_0xa3e0fc,_0x118d38);_0x56d97b=_0xa3e0fc['splice'](0x0,_0x557641),_0xd38573[_0x4ce65b(0x1f2)]-=_0x32bf72;}return new _0x30a056[(_0x4ce65b(0x1ed))](_0x56d97b,_0x32bf72);},'clone':function(){var _0x430933=_0x3f6020,_0x25aa1b=_0xa69306[_0x430933(0x1b3)][_0x430933(0x184)](this);return _0x25aa1b['_data']=this[_0x430933(0xe2)][_0x430933(0x1b3)](),_0x25aa1b;},'_minBufferSize':0x0});_0x318129[_0x3f6020(0x1ff)]=_0x63bf1b[_0x3f6020(0x378)]({'cfg':_0xa69306[_0x3f6020(0x378)](),'init':function(_0x56c5c3){var _0xb49185=_0x3f6020;this['cfg']=this[_0xb49185(0x1a1)][_0xb49185(0x378)](_0x56c5c3),this[_0xb49185(0x249)]();},'reset':function(){var _0x54a8e3=_0x3f6020;_0x63bf1b[_0x54a8e3(0x249)][_0x54a8e3(0x184)](this),this['_doReset']();},'update':function(_0x192693){var _0xe495c7=_0x3f6020;return this[_0xe495c7(0x322)](_0x192693),this[_0xe495c7(0x283)](),this;},'finalize':function(_0x331e59){var _0x2fbaba=_0x3f6020;_0x331e59&&this[_0x2fbaba(0x322)](_0x331e59);var _0x41b756=this[_0x2fbaba(0x312)]();return _0x41b756;},'blockSize':0x10,'_createHelper':function(_0x3224ce){return function(_0x4041c9,_0x2a495c){var _0xf05c01=_0x8b56;return new _0x3224ce[(_0xf05c01(0x1ed))](_0x2a495c)[_0xf05c01(0x3ac)](_0x4041c9);};},'_createHmacHelper':function(_0x8c9a53){return function(_0x85abb2,_0x543e16){var _0x12fd46=_0x8b56;return new _0xbb451c[(_0x12fd46(0x1f1))][(_0x12fd46(0x1ed))](_0x8c9a53,_0x543e16)[_0x12fd46(0x3ac)](_0x85abb2);};}});var _0xbb451c=_0x5592a1[_0x3f6020(0x367)]={};return _0x5592a1;}(Math);return _0x119268;}));}(Ge)),Ge['exports'];}var We={'exports':{}},un=We[_0x187534(0x279)],qt;function Ni(){var _0x492beb=_0x187534;return qt||(qt=0x1,function(_0x5d032d,_0x47c542){(function(_0x42b2e9,_0x364145){var _0x50a7d9=_0x8b56;_0x5d032d[_0x50a7d9(0x279)]=_0x364145(ie());}(un,function(_0x1d508b){var _0x415833=_0x8b56;return(function(){var _0x1adfaa=_0x8b56,_0x2c972d=_0x1d508b,_0x356559=_0x2c972d[_0x1adfaa(0x11d)],_0x4fac03=_0x356559[_0x1adfaa(0x13a)],_0x28b6af=_0x2c972d[_0x1adfaa(0x2c1)];_0x28b6af[_0x1adfaa(0x28a)]={'stringify':function(_0x2dc664){var _0x2b0ddf=_0x1adfaa,_0x516b6b=_0x2dc664[_0x2b0ddf(0x26b)],_0x21ad58=_0x2dc664[_0x2b0ddf(0x1f2)],_0x5e6ec9=this[_0x2b0ddf(0x332)];_0x2dc664[_0x2b0ddf(0x377)]();for(var _0x146453=[],_0x1743a3=0x0;_0x1743a3<_0x21ad58;_0x1743a3+=0x3)for(var _0x513362=_0x516b6b[_0x1743a3>>>0x2]>>>0x18-_0x1743a3%0x4*0x8&0xff,_0x54ebc2=_0x516b6b[_0x1743a3+0x1>>>0x2]>>>0x18-(_0x1743a3+0x1)%0x4*0x8&0xff,_0x30760b=_0x516b6b[_0x1743a3+0x2>>>0x2]>>>0x18-(_0x1743a3+0x2)%0x4*0x8&0xff,_0x79c509=_0x513362<<0x10|_0x54ebc2<<0x8|_0x30760b,_0x36b647=0x0;_0x36b647<0x4&&_0x1743a3+_0x36b647*0.75<_0x21ad58;_0x36b647++)_0x146453[_0x2b0ddf(0x239)](_0x5e6ec9[_0x2b0ddf(0xbc)](_0x79c509>>>0x6*(0x3-_0x36b647)&0x3f));var _0x22fb3f=_0x5e6ec9[_0x2b0ddf(0xbc)](0x40);if(_0x22fb3f){for(;_0x146453['length']%0x4;)_0x146453[_0x2b0ddf(0x239)](_0x22fb3f);}return _0x146453[_0x2b0ddf(0x33e)]('');},'parse':function(_0x288222){var _0x12a482=_0x1adfaa,_0x171489=_0x288222[_0x12a482(0x134)],_0x1e2199=this[_0x12a482(0x332)],_0x2918dd=this[_0x12a482(0x2f7)];if(!_0x2918dd){_0x2918dd=this[_0x12a482(0x2f7)]=[];for(var _0x5a0635=0x0;_0x5a0635<_0x1e2199[_0x12a482(0x134)];_0x5a0635++)_0x2918dd[_0x1e2199[_0x12a482(0x1aa)](_0x5a0635)]=_0x5a0635;}var _0x105c5b=_0x1e2199[_0x12a482(0xbc)](0x40);if(_0x105c5b){var _0x1c2d7f=_0x288222['indexOf'](_0x105c5b);_0x1c2d7f!==-0x1&&(_0x171489=_0x1c2d7f);}return _0x50ad16(_0x288222,_0x171489,_0x2918dd);},'_map':_0x1adfaa(0x16f)};function _0x50ad16(_0x34cc46,_0x2c119c,_0x56c3cc){var _0x1ede93=_0x1adfaa;for(var _0x5e8127=[],_0x5477ce=0x0,_0x4680ca=0x0;_0x4680ca<_0x2c119c;_0x4680ca++)if(_0x4680ca%0x4){var _0x136ae3=_0x56c3cc[_0x34cc46['charCodeAt'](_0x4680ca-0x1)]<<_0x4680ca%0x4*0x2,_0x1663a9=_0x56c3cc[_0x34cc46['charCodeAt'](_0x4680ca)]>>>0x6-_0x4680ca%0x4*0x2,_0x3701d8=_0x136ae3|_0x1663a9;_0x5e8127[_0x5477ce>>>0x2]|=_0x3701d8<<0x18-_0x5477ce%0x4*0x8,_0x5477ce++;}return _0x4fac03[_0x1ede93(0x371)](_0x5e8127,_0x5477ce);}}()),_0x1d508b[_0x415833(0x2c1)]['Base64'];}));}(We)),We[_0x492beb(0x279)];}var Ye={'exports':{}},dn=Ye[_0x187534(0x279)],zt;function fn(){return zt||(zt=0x1,function(_0x249f25,_0x2f22c7){(function(_0x8690e3,_0x376ae3){var _0x489364=_0x8b56;_0x249f25[_0x489364(0x279)]=_0x376ae3(ie());}(dn,function(_0x3a16f5){return function(_0x540851){var _0x55d836=_0x8b56,_0x2c3d8c=_0x3a16f5,_0x4dfebd=_0x2c3d8c['lib'],_0x27ff16=_0x4dfebd[_0x55d836(0x13a)],_0x4436f8=_0x4dfebd[_0x55d836(0x1ff)],_0x3a96e5=_0x2c3d8c[_0x55d836(0x367)],_0x24aa59=[];(function(){var _0xf69cdb=_0x55d836;for(var _0x2f750c=0x0;_0x2f750c<0x40;_0x2f750c++)_0x24aa59[_0x2f750c]=_0x540851[_0xf69cdb(0x357)](_0x540851['sin'](_0x2f750c+0x1))*0x100000000|0x0;}());var _0x434be9=_0x3a96e5[_0x55d836(0x20e)]=_0x4436f8[_0x55d836(0x378)]({'_doReset':function(){this['_hash']=new _0x27ff16['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x48efa0,_0x348dee){var _0x4407d2=_0x55d836;for(var _0x2217e2=0x0;_0x2217e2<0x10;_0x2217e2++){var _0x98a0a1=_0x348dee+_0x2217e2,_0x5e9741=_0x48efa0[_0x98a0a1];_0x48efa0[_0x98a0a1]=(_0x5e9741<<0x8|_0x5e9741>>>0x18)&0xff00ff|(_0x5e9741<<0x18|_0x5e9741>>>0x8)&0xff00ff00;}var _0x2d96c7=this[_0x4407d2(0x2a0)][_0x4407d2(0x26b)],_0x24b301=_0x48efa0[_0x348dee+0x0],_0x2e1f51=_0x48efa0[_0x348dee+0x1],_0x41e0c0=_0x48efa0[_0x348dee+0x2],_0x41a108=_0x48efa0[_0x348dee+0x3],_0x41bb2d=_0x48efa0[_0x348dee+0x4],_0x48ead5=_0x48efa0[_0x348dee+0x5],_0x3c40fb=_0x48efa0[_0x348dee+0x6],_0x233e2a=_0x48efa0[_0x348dee+0x7],_0x275c92=_0x48efa0[_0x348dee+0x8],_0x1f971f=_0x48efa0[_0x348dee+0x9],_0x5a2d6e=_0x48efa0[_0x348dee+0xa],_0x26e398=_0x48efa0[_0x348dee+0xb],_0x4ea2c7=_0x48efa0[_0x348dee+0xc],_0x5615c9=_0x48efa0[_0x348dee+0xd],_0x1501b8=_0x48efa0[_0x348dee+0xe],_0x2d269d=_0x48efa0[_0x348dee+0xf],_0x119141=_0x2d96c7[0x0],_0x48c998=_0x2d96c7[0x1],_0x2f751b=_0x2d96c7[0x2],_0x52c837=_0x2d96c7[0x3];_0x119141=_0x7dc4eb(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x24b301,0x7,_0x24aa59[0x0]),_0x52c837=_0x7dc4eb(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x2e1f51,0xc,_0x24aa59[0x1]),_0x2f751b=_0x7dc4eb(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x41e0c0,0x11,_0x24aa59[0x2]),_0x48c998=_0x7dc4eb(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x41a108,0x16,_0x24aa59[0x3]),_0x119141=_0x7dc4eb(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x41bb2d,0x7,_0x24aa59[0x4]),_0x52c837=_0x7dc4eb(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x48ead5,0xc,_0x24aa59[0x5]),_0x2f751b=_0x7dc4eb(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x3c40fb,0x11,_0x24aa59[0x6]),_0x48c998=_0x7dc4eb(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x233e2a,0x16,_0x24aa59[0x7]),_0x119141=_0x7dc4eb(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x275c92,0x7,_0x24aa59[0x8]),_0x52c837=_0x7dc4eb(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x1f971f,0xc,_0x24aa59[0x9]),_0x2f751b=_0x7dc4eb(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x5a2d6e,0x11,_0x24aa59[0xa]),_0x48c998=_0x7dc4eb(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x26e398,0x16,_0x24aa59[0xb]),_0x119141=_0x7dc4eb(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x4ea2c7,0x7,_0x24aa59[0xc]),_0x52c837=_0x7dc4eb(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x5615c9,0xc,_0x24aa59[0xd]),_0x2f751b=_0x7dc4eb(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x1501b8,0x11,_0x24aa59[0xe]),_0x48c998=_0x7dc4eb(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x2d269d,0x16,_0x24aa59[0xf]),_0x119141=_0x17916a(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x2e1f51,0x5,_0x24aa59[0x10]),_0x52c837=_0x17916a(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x3c40fb,0x9,_0x24aa59[0x11]),_0x2f751b=_0x17916a(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x26e398,0xe,_0x24aa59[0x12]),_0x48c998=_0x17916a(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x24b301,0x14,_0x24aa59[0x13]),_0x119141=_0x17916a(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x48ead5,0x5,_0x24aa59[0x14]),_0x52c837=_0x17916a(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x5a2d6e,0x9,_0x24aa59[0x15]),_0x2f751b=_0x17916a(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x2d269d,0xe,_0x24aa59[0x16]),_0x48c998=_0x17916a(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x41bb2d,0x14,_0x24aa59[0x17]),_0x119141=_0x17916a(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x1f971f,0x5,_0x24aa59[0x18]),_0x52c837=_0x17916a(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x1501b8,0x9,_0x24aa59[0x19]),_0x2f751b=_0x17916a(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x41a108,0xe,_0x24aa59[0x1a]),_0x48c998=_0x17916a(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x275c92,0x14,_0x24aa59[0x1b]),_0x119141=_0x17916a(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x5615c9,0x5,_0x24aa59[0x1c]),_0x52c837=_0x17916a(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x41e0c0,0x9,_0x24aa59[0x1d]),_0x2f751b=_0x17916a(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x233e2a,0xe,_0x24aa59[0x1e]),_0x48c998=_0x17916a(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x4ea2c7,0x14,_0x24aa59[0x1f]),_0x119141=_0x44d800(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x48ead5,0x4,_0x24aa59[0x20]),_0x52c837=_0x44d800(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x275c92,0xb,_0x24aa59[0x21]),_0x2f751b=_0x44d800(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x26e398,0x10,_0x24aa59[0x22]),_0x48c998=_0x44d800(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x1501b8,0x17,_0x24aa59[0x23]),_0x119141=_0x44d800(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x2e1f51,0x4,_0x24aa59[0x24]),_0x52c837=_0x44d800(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x41bb2d,0xb,_0x24aa59[0x25]),_0x2f751b=_0x44d800(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x233e2a,0x10,_0x24aa59[0x26]),_0x48c998=_0x44d800(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x5a2d6e,0x17,_0x24aa59[0x27]),_0x119141=_0x44d800(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x5615c9,0x4,_0x24aa59[0x28]),_0x52c837=_0x44d800(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x24b301,0xb,_0x24aa59[0x29]),_0x2f751b=_0x44d800(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x41a108,0x10,_0x24aa59[0x2a]),_0x48c998=_0x44d800(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x3c40fb,0x17,_0x24aa59[0x2b]),_0x119141=_0x44d800(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x1f971f,0x4,_0x24aa59[0x2c]),_0x52c837=_0x44d800(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x4ea2c7,0xb,_0x24aa59[0x2d]),_0x2f751b=_0x44d800(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x2d269d,0x10,_0x24aa59[0x2e]),_0x48c998=_0x44d800(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x41e0c0,0x17,_0x24aa59[0x2f]),_0x119141=_0x25f91a(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x24b301,0x6,_0x24aa59[0x30]),_0x52c837=_0x25f91a(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x233e2a,0xa,_0x24aa59[0x31]),_0x2f751b=_0x25f91a(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x1501b8,0xf,_0x24aa59[0x32]),_0x48c998=_0x25f91a(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x48ead5,0x15,_0x24aa59[0x33]),_0x119141=_0x25f91a(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x4ea2c7,0x6,_0x24aa59[0x34]),_0x52c837=_0x25f91a(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x41a108,0xa,_0x24aa59[0x35]),_0x2f751b=_0x25f91a(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x5a2d6e,0xf,_0x24aa59[0x36]),_0x48c998=_0x25f91a(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x2e1f51,0x15,_0x24aa59[0x37]),_0x119141=_0x25f91a(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x275c92,0x6,_0x24aa59[0x38]),_0x52c837=_0x25f91a(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x2d269d,0xa,_0x24aa59[0x39]),_0x2f751b=_0x25f91a(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x3c40fb,0xf,_0x24aa59[0x3a]),_0x48c998=_0x25f91a(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x5615c9,0x15,_0x24aa59[0x3b]),_0x119141=_0x25f91a(_0x119141,_0x48c998,_0x2f751b,_0x52c837,_0x41bb2d,0x6,_0x24aa59[0x3c]),_0x52c837=_0x25f91a(_0x52c837,_0x119141,_0x48c998,_0x2f751b,_0x26e398,0xa,_0x24aa59[0x3d]),_0x2f751b=_0x25f91a(_0x2f751b,_0x52c837,_0x119141,_0x48c998,_0x41e0c0,0xf,_0x24aa59[0x3e]),_0x48c998=_0x25f91a(_0x48c998,_0x2f751b,_0x52c837,_0x119141,_0x1f971f,0x15,_0x24aa59[0x3f]),_0x2d96c7[0x0]=_0x2d96c7[0x0]+_0x119141|0x0,_0x2d96c7[0x1]=_0x2d96c7[0x1]+_0x48c998|0x0,_0x2d96c7[0x2]=_0x2d96c7[0x2]+_0x2f751b|0x0,_0x2d96c7[0x3]=_0x2d96c7[0x3]+_0x52c837|0x0;},'_doFinalize':function(){var _0x36069a=_0x55d836,_0x33744f=this[_0x36069a(0xe2)],_0x2bdd2f=_0x33744f[_0x36069a(0x26b)],_0x396ecb=this['_nDataBytes']*0x8,_0x4d10ea=_0x33744f[_0x36069a(0x1f2)]*0x8;_0x2bdd2f[_0x4d10ea>>>0x5]|=0x80<<0x18-_0x4d10ea%0x20;var _0x400d09=_0x540851[_0x36069a(0x1dc)](_0x396ecb/0x100000000),_0x2a7695=_0x396ecb;_0x2bdd2f[(_0x4d10ea+0x40>>>0x9<<0x4)+0xf]=(_0x400d09<<0x8|_0x400d09>>>0x18)&0xff00ff|(_0x400d09<<0x18|_0x400d09>>>0x8)&0xff00ff00,_0x2bdd2f[(_0x4d10ea+0x40>>>0x9<<0x4)+0xe]=(_0x2a7695<<0x8|_0x2a7695>>>0x18)&0xff00ff|(_0x2a7695<<0x18|_0x2a7695>>>0x8)&0xff00ff00,_0x33744f['sigBytes']=(_0x2bdd2f[_0x36069a(0x134)]+0x1)*0x4,this[_0x36069a(0x283)]();for(var _0xe957f7=this[_0x36069a(0x2a0)],_0x179aaf=_0xe957f7[_0x36069a(0x26b)],_0x5a2e26=0x0;_0x5a2e26<0x4;_0x5a2e26++){var _0x55fdec=_0x179aaf[_0x5a2e26];_0x179aaf[_0x5a2e26]=(_0x55fdec<<0x8|_0x55fdec>>>0x18)&0xff00ff|(_0x55fdec<<0x18|_0x55fdec>>>0x8)&0xff00ff00;}return _0xe957f7;},'clone':function(){var _0x3fade2=_0x55d836,_0x176f17=_0x4436f8[_0x3fade2(0x1b3)][_0x3fade2(0x184)](this);return _0x176f17[_0x3fade2(0x2a0)]=this[_0x3fade2(0x2a0)]['clone'](),_0x176f17;}});function _0x7dc4eb(_0x3e3c65,_0x39ec29,_0xc9ab1d,_0x161ca9,_0x2c9d53,_0x9dc573,_0x820c7c){var _0x49032c=_0x3e3c65+(_0x39ec29&_0xc9ab1d|~_0x39ec29&_0x161ca9)+_0x2c9d53+_0x820c7c;return(_0x49032c<<_0x9dc573|_0x49032c>>>0x20-_0x9dc573)+_0x39ec29;}function _0x17916a(_0x354705,_0x4156e4,_0x5f34ef,_0x516281,_0x268334,_0x2d9c10,_0x5b4b25){var _0x516b3a=_0x354705+(_0x4156e4&_0x516281|_0x5f34ef&~_0x516281)+_0x268334+_0x5b4b25;return(_0x516b3a<<_0x2d9c10|_0x516b3a>>>0x20-_0x2d9c10)+_0x4156e4;}function _0x44d800(_0x68b3b7,_0x45bd2e,_0x50ef32,_0x53c8b1,_0x3e036,_0x5b99d3,_0x4e1dce){var _0x3b4262=_0x68b3b7+(_0x45bd2e^_0x50ef32^_0x53c8b1)+_0x3e036+_0x4e1dce;return(_0x3b4262<<_0x5b99d3|_0x3b4262>>>0x20-_0x5b99d3)+_0x45bd2e;}function _0x25f91a(_0x3353e2,_0x40fd30,_0x4e8c5b,_0x2f50c4,_0xd8dd48,_0x6d3e92,_0x3248c0){var _0x36ca5e=_0x3353e2+(_0x4e8c5b^(_0x40fd30|~_0x2f50c4))+_0xd8dd48+_0x3248c0;return(_0x36ca5e<<_0x6d3e92|_0x36ca5e>>>0x20-_0x6d3e92)+_0x40fd30;}_0x2c3d8c[_0x55d836(0x20e)]=_0x4436f8['_createHelper'](_0x434be9),_0x2c3d8c[_0x55d836(0x244)]=_0x4436f8[_0x55d836(0xb3)](_0x434be9);}(Math),_0x3a16f5['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},vn=qe['exports'],Xt;function En(){var _0x2f217f=_0x187534;return Xt||(Xt=0x1,function(_0x3c97fe,_0x560541){(function(_0x5cf1ee,_0x90f097){var _0x25f709=_0x8b56;_0x3c97fe[_0x25f709(0x279)]=_0x90f097(ie());}(vn,function(_0x28d390){var _0x477fcf=_0x8b56;return(function(){var _0x9fd7da=_0x8b56,_0x46ce66=_0x28d390,_0x13c8b8=_0x46ce66[_0x9fd7da(0x11d)],_0x554199=_0x13c8b8[_0x9fd7da(0x13a)],_0x3cb1ac=_0x13c8b8['Hasher'],_0x40db8a=_0x46ce66[_0x9fd7da(0x367)],_0x1fb0a8=[],_0x177b16=_0x40db8a[_0x9fd7da(0x3a0)]=_0x3cb1ac['extend']({'_doReset':function(){this['_hash']=new _0x554199['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3cbe37,_0x1413b5){var _0x4963d8=_0x9fd7da;for(var _0x2a9b8d=this[_0x4963d8(0x2a0)][_0x4963d8(0x26b)],_0x572ba7=_0x2a9b8d[0x0],_0x20e9f3=_0x2a9b8d[0x1],_0x4912c0=_0x2a9b8d[0x2],_0x3bac89=_0x2a9b8d[0x3],_0x5c4f3f=_0x2a9b8d[0x4],_0x3ce671=0x0;_0x3ce671<0x50;_0x3ce671++){if(_0x3ce671<0x10)_0x1fb0a8[_0x3ce671]=_0x3cbe37[_0x1413b5+_0x3ce671]|0x0;else{var _0x5dd3c0=_0x1fb0a8[_0x3ce671-0x3]^_0x1fb0a8[_0x3ce671-0x8]^_0x1fb0a8[_0x3ce671-0xe]^_0x1fb0a8[_0x3ce671-0x10];_0x1fb0a8[_0x3ce671]=_0x5dd3c0<<0x1|_0x5dd3c0>>>0x1f;}var _0xd9a3f9=(_0x572ba7<<0x5|_0x572ba7>>>0x1b)+_0x5c4f3f+_0x1fb0a8[_0x3ce671];_0x3ce671<0x14?_0xd9a3f9+=(_0x20e9f3&_0x4912c0|~_0x20e9f3&_0x3bac89)+0x5a827999:_0x3ce671<0x28?_0xd9a3f9+=(_0x20e9f3^_0x4912c0^_0x3bac89)+0x6ed9eba1:_0x3ce671<0x3c?_0xd9a3f9+=(_0x20e9f3&_0x4912c0|_0x20e9f3&_0x3bac89|_0x4912c0&_0x3bac89)-0x70e44324:_0xd9a3f9+=(_0x20e9f3^_0x4912c0^_0x3bac89)-0x359d3e2a,_0x5c4f3f=_0x3bac89,_0x3bac89=_0x4912c0,_0x4912c0=_0x20e9f3<<0x1e|_0x20e9f3>>>0x2,_0x20e9f3=_0x572ba7,_0x572ba7=_0xd9a3f9;}_0x2a9b8d[0x0]=_0x2a9b8d[0x0]+_0x572ba7|0x0,_0x2a9b8d[0x1]=_0x2a9b8d[0x1]+_0x20e9f3|0x0,_0x2a9b8d[0x2]=_0x2a9b8d[0x2]+_0x4912c0|0x0,_0x2a9b8d[0x3]=_0x2a9b8d[0x3]+_0x3bac89|0x0,_0x2a9b8d[0x4]=_0x2a9b8d[0x4]+_0x5c4f3f|0x0;},'_doFinalize':function(){var _0x45fb6e=_0x9fd7da,_0x3aa509=this[_0x45fb6e(0xe2)],_0x28c5ae=_0x3aa509[_0x45fb6e(0x26b)],_0x413046=this[_0x45fb6e(0x35c)]*0x8,_0x2fbc20=_0x3aa509[_0x45fb6e(0x1f2)]*0x8;return _0x28c5ae[_0x2fbc20>>>0x5]|=0x80<<0x18-_0x2fbc20%0x20,_0x28c5ae[(_0x2fbc20+0x40>>>0x9<<0x4)+0xe]=Math[_0x45fb6e(0x1dc)](_0x413046/0x100000000),_0x28c5ae[(_0x2fbc20+0x40>>>0x9<<0x4)+0xf]=_0x413046,_0x3aa509[_0x45fb6e(0x1f2)]=_0x28c5ae[_0x45fb6e(0x134)]*0x4,this[_0x45fb6e(0x283)](),this[_0x45fb6e(0x2a0)];},'clone':function(){var _0x30a0f5=_0x9fd7da,_0x20c2c3=_0x3cb1ac[_0x30a0f5(0x1b3)]['call'](this);return _0x20c2c3[_0x30a0f5(0x2a0)]=this[_0x30a0f5(0x2a0)][_0x30a0f5(0x1b3)](),_0x20c2c3;}});_0x46ce66[_0x9fd7da(0x3a0)]=_0x3cb1ac[_0x9fd7da(0x2cc)](_0x177b16),_0x46ce66[_0x9fd7da(0x190)]=_0x3cb1ac[_0x9fd7da(0xb3)](_0x177b16);}()),_0x28d390[_0x477fcf(0x3a0)];}));}(qe)),qe[_0x2f217f(0x279)];}var ze={'exports':{}},pn=ze[_0x187534(0x279)],Jt;function mn(){var _0x216320=_0x187534;return Jt||(Jt=0x1,function(_0x34ac6a,_0x544ccf){(function(_0x270b09,_0x7d20ec){var _0x64a648=_0x8b56;_0x34ac6a[_0x64a648(0x279)]=_0x7d20ec(ie());}(pn,function(_0x404526){(function(){var _0x197871=_0x8b56,_0x1e688e=_0x404526,_0x41f684=_0x1e688e[_0x197871(0x11d)],_0x2a66a6=_0x41f684[_0x197871(0x2e6)],_0x746a0b=_0x1e688e['enc'],_0x2360ee=_0x746a0b['Utf8'],_0x8a4877=_0x1e688e[_0x197871(0x367)];_0x8a4877[_0x197871(0x1f1)]=_0x2a66a6['extend']({'init':function(_0x2e92f4,_0xe5fbab){var _0x2b39f1=_0x197871;_0x2e92f4=this['_hasher']=new _0x2e92f4[(_0x2b39f1(0x1ed))](),typeof _0xe5fbab==_0x2b39f1(0x15b)&&(_0xe5fbab=_0x2360ee['parse'](_0xe5fbab));var _0xffb3b3=_0x2e92f4[_0x2b39f1(0x152)],_0x54b3fe=_0xffb3b3*0x4;_0xe5fbab[_0x2b39f1(0x1f2)]>_0x54b3fe&&(_0xe5fbab=_0x2e92f4[_0x2b39f1(0x3ac)](_0xe5fbab)),_0xe5fbab[_0x2b39f1(0x377)]();for(var _0x430dac=this['_oKey']=_0xe5fbab[_0x2b39f1(0x1b3)](),_0x54d261=this['_iKey']=_0xe5fbab[_0x2b39f1(0x1b3)](),_0x5c8e77=_0x430dac[_0x2b39f1(0x26b)],_0x2de8d9=_0x54d261[_0x2b39f1(0x26b)],_0x2f42c8=0x0;_0x2f42c8<_0xffb3b3;_0x2f42c8++)_0x5c8e77[_0x2f42c8]^=0x5c5c5c5c,_0x2de8d9[_0x2f42c8]^=0x36363636;_0x430dac[_0x2b39f1(0x1f2)]=_0x54d261[_0x2b39f1(0x1f2)]=_0x54b3fe,this['reset']();},'reset':function(){var _0x2f8e21=_0x197871,_0x3437e8=this[_0x2f8e21(0x171)];_0x3437e8['reset'](),_0x3437e8['update'](this[_0x2f8e21(0x1c8)]);},'update':function(_0x3d92fe){var _0x5a428e=_0x197871;return this[_0x5a428e(0x171)]['update'](_0x3d92fe),this;},'finalize':function(_0x21e825){var _0x28bffa=_0x197871,_0x1d2b5d=this[_0x28bffa(0x171)],_0x41d2e9=_0x1d2b5d['finalize'](_0x21e825);_0x1d2b5d[_0x28bffa(0x249)]();var _0x2eaa06=_0x1d2b5d[_0x28bffa(0x3ac)](this[_0x28bffa(0x166)][_0x28bffa(0x1b3)]()[_0x28bffa(0x2de)](_0x41d2e9));return _0x2eaa06;}});}());}));}(ze)),ze[_0x216320(0x279)];}var In=Ke[_0x187534(0x279)],Zt;function Ci(){var _0x1b7ac8=_0x187534;return Zt||(Zt=0x1,function(_0x1f71e5,_0x5340b1){(function(_0x4cd15f,_0x346a1c,_0x4d3097){var _0x205615=_0x8b56;_0x1f71e5[_0x205615(0x279)]=_0x346a1c(ie(),En(),mn());}(In,function(_0x336084){var _0x54926a=_0x8b56;return(function(){var _0x437080=_0x8b56,_0x814439=_0x336084,_0xcced09=_0x814439['lib'],_0xbe3904=_0xcced09[_0x437080(0x2e6)],_0xe00f7d=_0xcced09['WordArray'],_0x4479bf=_0x814439[_0x437080(0x367)],_0x3edaa5=_0x4479bf['MD5'],_0x284d8d=_0x4479bf[_0x437080(0x2e8)]=_0xbe3904[_0x437080(0x378)]({'cfg':_0xbe3904[_0x437080(0x378)]({'keySize':0x80/0x20,'hasher':_0x3edaa5,'iterations':0x1}),'init':function(_0x136fab){var _0x402724=_0x437080;this[_0x402724(0x1a1)]=this[_0x402724(0x1a1)][_0x402724(0x378)](_0x136fab);},'compute':function(_0x1ef3eb,_0x5cca31){var _0x2e624f=_0x437080;for(var _0x5d4937,_0x49e7ef=this[_0x2e624f(0x1a1)],_0x277a35=_0x49e7ef['hasher'][_0x2e624f(0x371)](),_0x3b59a0=_0xe00f7d[_0x2e624f(0x371)](),_0x1c8f3f=_0x3b59a0[_0x2e624f(0x26b)],_0x51ab34=_0x49e7ef[_0x2e624f(0xd0)],_0x51f684=_0x49e7ef['iterations'];_0x1c8f3f[_0x2e624f(0x134)]<_0x51ab34;){_0x5d4937&&_0x277a35[_0x2e624f(0x303)](_0x5d4937),_0x5d4937=_0x277a35['update'](_0x1ef3eb)[_0x2e624f(0x3ac)](_0x5cca31),_0x277a35['reset']();for(var _0x44a073=0x1;_0x44a073<_0x51f684;_0x44a073++)_0x5d4937=_0x277a35[_0x2e624f(0x3ac)](_0x5d4937),_0x277a35['reset']();_0x3b59a0[_0x2e624f(0x2de)](_0x5d4937);}return _0x3b59a0['sigBytes']=_0x51ab34*0x4,_0x3b59a0;}});_0x814439[_0x437080(0x2e8)]=function(_0x5bb3d0,_0x2d292e,_0x5a59b2){var _0x1d6592=_0x437080;return _0x284d8d['create'](_0x5a59b2)[_0x1d6592(0x1e5)](_0x5bb3d0,_0x2d292e);};}()),_0x336084[_0x54926a(0x2e8)];}));}(Ke)),Ke[_0x1b7ac8(0x279)];}var Xe={'exports':{}},Sn=Xe['exports'],Qt;function bi(){var _0x51b0c5=_0x187534;return Qt||(Qt=0x1,function(_0x10f18c,_0x5e334d){(function(_0x3bb95a,_0x27d174,_0xa57246){var _0x5430c7=_0x8b56;_0x10f18c[_0x5430c7(0x279)]=_0x27d174(ie(),Ci());}(Sn,function(_0x1c82b7){var _0x52ca2a=_0x8b56;_0x1c82b7['lib'][_0x52ca2a(0x1fe)]||function(_0x2388c2){var _0x83788a=_0x52ca2a,_0x556ffb=_0x1c82b7,_0x5eff81=_0x556ffb[_0x83788a(0x11d)],_0xc1e031=_0x5eff81[_0x83788a(0x2e6)],_0x10f2d5=_0x5eff81[_0x83788a(0x13a)],_0xc51214=_0x5eff81[_0x83788a(0xf6)],_0x40b339=_0x556ffb[_0x83788a(0x2c1)];_0x40b339[_0x83788a(0x151)];var _0x58fa7c=_0x40b339['Base64'],_0xf9310=_0x556ffb[_0x83788a(0x367)],_0x35d110=_0xf9310[_0x83788a(0x2e8)],_0x24cf22=_0x5eff81[_0x83788a(0x1fe)]=_0xc51214[_0x83788a(0x378)]({'cfg':_0xc1e031[_0x83788a(0x378)](),'createEncryptor':function(_0x38623a,_0x53cc7c){var _0x4a92a6=_0x83788a;return this[_0x4a92a6(0x371)](this[_0x4a92a6(0x321)],_0x38623a,_0x53cc7c);},'createDecryptor':function(_0xeb53d4,_0x2f675a){var _0x264bbb=_0x83788a;return this[_0x264bbb(0x371)](this[_0x264bbb(0x1b1)],_0xeb53d4,_0x2f675a);},'init':function(_0x29d954,_0x13c5ae,_0x301c47){var _0x49d638=_0x83788a;this[_0x49d638(0x1a1)]=this[_0x49d638(0x1a1)][_0x49d638(0x378)](_0x301c47),this['_xformMode']=_0x29d954,this['_key']=_0x13c5ae,this[_0x49d638(0x249)]();},'reset':function(){var _0x276ce7=_0x83788a;_0xc51214['reset'][_0x276ce7(0x184)](this),this['_doReset']();},'process':function(_0x25683a){return this['_append'](_0x25683a),this['_process']();},'finalize':function(_0x42486b){var _0x20521d=_0x83788a;_0x42486b&&this[_0x20521d(0x322)](_0x42486b);var _0x523aa6=this['_doFinalize']();return _0x523aa6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x8bf6d0(_0xd6dec3){var _0x3cb88d=_0x8b56;return typeof _0xd6dec3==_0x3cb88d(0x15b)?_0xbf62dd:_0x1090e3;}return function(_0x57c260){return{'encrypt':function(_0x227e7e,_0x3c65d3,_0x37fe8f){return _0x8bf6d0(_0x3c65d3)['encrypt'](_0x57c260,_0x227e7e,_0x3c65d3,_0x37fe8f);},'decrypt':function(_0x1073f2,_0x32f5a8,_0x39875a){var _0x6f8d7c=_0x8b56;return _0x8bf6d0(_0x32f5a8)[_0x6f8d7c(0x36d)](_0x57c260,_0x1073f2,_0x32f5a8,_0x39875a);}};};}())});_0x5eff81[_0x83788a(0x24b)]=_0x24cf22[_0x83788a(0x378)]({'_doFinalize':function(){var _0xbc89c1=this['_process'](!0x0);return _0xbc89c1;},'blockSize':0x1});var _0xbd43b=_0x556ffb[_0x83788a(0xb4)]={},_0x57a476=_0x5eff81[_0x83788a(0x254)]=_0xc1e031['extend']({'createEncryptor':function(_0x250da7,_0x4c17ee){var _0x2b7ceb=_0x83788a;return this[_0x2b7ceb(0x30e)]['create'](_0x250da7,_0x4c17ee);},'createDecryptor':function(_0x227a30,_0x4aaca6){var _0x39bb87=_0x83788a;return this[_0x39bb87(0x106)][_0x39bb87(0x371)](_0x227a30,_0x4aaca6);},'init':function(_0x548e08,_0x4a010e){var _0x5e3227=_0x83788a;this[_0x5e3227(0x1c7)]=_0x548e08,this[_0x5e3227(0x345)]=_0x4a010e;}}),_0x35ac15=_0xbd43b[_0x83788a(0x2aa)]=(function(){var _0x354a15=_0x83788a,_0x3c4a5a=_0x57a476[_0x354a15(0x378)]();_0x3c4a5a[_0x354a15(0x30e)]=_0x3c4a5a['extend']({'processBlock':function(_0x169766,_0xe997ec){var _0x255aaf=_0x354a15,_0x50621f=this[_0x255aaf(0x1c7)],_0x104e46=_0x50621f[_0x255aaf(0x152)];_0x5d63b1['call'](this,_0x169766,_0xe997ec,_0x104e46),_0x50621f[_0x255aaf(0x203)](_0x169766,_0xe997ec),this[_0x255aaf(0x14e)]=_0x169766['slice'](_0xe997ec,_0xe997ec+_0x104e46);}}),_0x3c4a5a[_0x354a15(0x106)]=_0x3c4a5a[_0x354a15(0x378)]({'processBlock':function(_0x5086ec,_0x44e7ed){var _0x591749=_0x354a15,_0x49f695=this[_0x591749(0x1c7)],_0x5d6686=_0x49f695[_0x591749(0x152)],_0x9e10fb=_0x5086ec['slice'](_0x44e7ed,_0x44e7ed+_0x5d6686);_0x49f695[_0x591749(0x2c3)](_0x5086ec,_0x44e7ed),_0x5d63b1[_0x591749(0x184)](this,_0x5086ec,_0x44e7ed,_0x5d6686),this[_0x591749(0x14e)]=_0x9e10fb;}});function _0x5d63b1(_0x3f3115,_0x400997,_0x55361d){var _0x5c532c=_0x354a15,_0x182d42,_0x218ba7=this['_iv'];_0x218ba7?(_0x182d42=_0x218ba7,this[_0x5c532c(0x345)]=_0x2388c2):_0x182d42=this[_0x5c532c(0x14e)];for(var _0x502ff2=0x0;_0x502ff2<_0x55361d;_0x502ff2++)_0x3f3115[_0x400997+_0x502ff2]^=_0x182d42[_0x502ff2];}return _0x3c4a5a;}()),_0x11107c=_0x556ffb[_0x83788a(0x25d)]={},_0x3024de=_0x11107c[_0x83788a(0x1a3)]={'pad':function(_0x225bf8,_0x459d7c){var _0x56950a=_0x83788a;for(var _0x5efcd3=_0x459d7c*0x4,_0xbe95d0=_0x5efcd3-_0x225bf8['sigBytes']%_0x5efcd3,_0x9851a9=_0xbe95d0<<0x18|_0xbe95d0<<0x10|_0xbe95d0<<0x8|_0xbe95d0,_0x26ceb0=[],_0x2546e2=0x0;_0x2546e2<_0xbe95d0;_0x2546e2+=0x4)_0x26ceb0['push'](_0x9851a9);var _0x560e8d=_0x10f2d5[_0x56950a(0x371)](_0x26ceb0,_0xbe95d0);_0x225bf8['concat'](_0x560e8d);},'unpad':function(_0x4c0de9){var _0x2dab6b=_0x83788a,_0x188cc0=_0x4c0de9[_0x2dab6b(0x26b)][_0x4c0de9[_0x2dab6b(0x1f2)]-0x1>>>0x2]&0xff;_0x4c0de9['sigBytes']-=_0x188cc0;}};_0x5eff81[_0x83788a(0x285)]=_0x24cf22[_0x83788a(0x378)]({'cfg':_0x24cf22[_0x83788a(0x1a1)][_0x83788a(0x378)]({'mode':_0x35ac15,'padding':_0x3024de}),'reset':function(){var _0xbddefe=_0x83788a,_0x53f784;_0x24cf22[_0xbddefe(0x249)][_0xbddefe(0x184)](this);var _0x4e7fa8=this[_0xbddefe(0x1a1)],_0x1a0a0c=_0x4e7fa8['iv'],_0x4f398f=_0x4e7fa8['mode'];this['_xformMode']==this[_0xbddefe(0x321)]?_0x53f784=_0x4f398f[_0xbddefe(0x1c6)]:(_0x53f784=_0x4f398f[_0xbddefe(0x18f)],this[_0xbddefe(0x1e3)]=0x1),this['_mode']&&this['_mode'][_0xbddefe(0x358)]==_0x53f784?this['_mode']['init'](this,_0x1a0a0c&&_0x1a0a0c['words']):(this[_0xbddefe(0x31d)]=_0x53f784[_0xbddefe(0x184)](_0x4f398f,this,_0x1a0a0c&&_0x1a0a0c[_0xbddefe(0x26b)]),this[_0xbddefe(0x31d)][_0xbddefe(0x358)]=_0x53f784);},'_doProcessBlock':function(_0x376d70,_0x2248c8){var _0x5b6301=_0x83788a;this['_mode'][_0x5b6301(0x23b)](_0x376d70,_0x2248c8);},'_doFinalize':function(){var _0x5f53d4=_0x83788a,_0x5934b1,_0x5e3e26=this['cfg'][_0x5f53d4(0x33c)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x5e3e26[_0x5f53d4(0x25d)](this[_0x5f53d4(0xe2)],this[_0x5f53d4(0x152)]),_0x5934b1=this[_0x5f53d4(0x283)](!0x0)):(_0x5934b1=this[_0x5f53d4(0x283)](!0x0),_0x5e3e26[_0x5f53d4(0x331)](_0x5934b1)),_0x5934b1;},'blockSize':0x80/0x20});var _0x3d2abf=_0x5eff81['CipherParams']=_0xc1e031['extend']({'init':function(_0x374d4d){var _0x22ea56=_0x83788a;this[_0x22ea56(0x2b0)](_0x374d4d);},'toString':function(_0x1bbbe3){return(_0x1bbbe3||this['formatter'])['stringify'](this);}}),_0x94a83b=_0x556ffb['format']={},_0x1c1bad=_0x94a83b[_0x83788a(0x369)]={'stringify':function(_0x2fe084){var _0x1f83fc=_0x83788a,_0x2d1bd2,_0x290081=_0x2fe084[_0x1f83fc(0x3a7)],_0x56e59e=_0x2fe084[_0x1f83fc(0x22f)];return _0x56e59e?_0x2d1bd2=_0x10f2d5[_0x1f83fc(0x371)]([0x53616c74,0x65645f5f])[_0x1f83fc(0x2de)](_0x56e59e)[_0x1f83fc(0x2de)](_0x290081):_0x2d1bd2=_0x290081,_0x2d1bd2['toString'](_0x58fa7c);},'parse':function(_0x57121b){var _0x32ea03=_0x83788a,_0x173357,_0x3bb6e2=_0x58fa7c[_0x32ea03(0xcd)](_0x57121b),_0x5e6bec=_0x3bb6e2[_0x32ea03(0x26b)];return _0x5e6bec[0x0]==0x53616c74&&_0x5e6bec[0x1]==0x65645f5f&&(_0x173357=_0x10f2d5[_0x32ea03(0x371)](_0x5e6bec[_0x32ea03(0x277)](0x2,0x4)),_0x5e6bec[_0x32ea03(0x329)](0x0,0x4),_0x3bb6e2[_0x32ea03(0x1f2)]-=0x10),_0x3d2abf[_0x32ea03(0x371)]({'ciphertext':_0x3bb6e2,'salt':_0x173357});}},_0x1090e3=_0x5eff81[_0x83788a(0x27a)]=_0xc1e031[_0x83788a(0x378)]({'cfg':_0xc1e031[_0x83788a(0x378)]({'format':_0x1c1bad}),'encrypt':function(_0x4df37c,_0x3da94b,_0x36f107,_0x1b01ed){var _0x1a70e9=_0x83788a;_0x1b01ed=this[_0x1a70e9(0x1a1)]['extend'](_0x1b01ed);var _0x2d4c0e=_0x4df37c[_0x1a70e9(0x1c6)](_0x36f107,_0x1b01ed),_0x55e1fc=_0x2d4c0e[_0x1a70e9(0x3ac)](_0x3da94b),_0x3a8f85=_0x2d4c0e[_0x1a70e9(0x1a1)];return _0x3d2abf[_0x1a70e9(0x371)]({'ciphertext':_0x55e1fc,'key':_0x36f107,'iv':_0x3a8f85['iv'],'algorithm':_0x4df37c,'mode':_0x3a8f85['mode'],'padding':_0x3a8f85[_0x1a70e9(0x33c)],'blockSize':_0x4df37c[_0x1a70e9(0x152)],'formatter':_0x1b01ed[_0x1a70e9(0xf5)]});},'decrypt':function(_0x47138f,_0x96eb4f,_0x31f9fb,_0x295ff4){var _0x5ac532=_0x83788a;_0x295ff4=this[_0x5ac532(0x1a1)][_0x5ac532(0x378)](_0x295ff4),_0x96eb4f=this[_0x5ac532(0x221)](_0x96eb4f,_0x295ff4['format']);var _0x384fb7=_0x47138f[_0x5ac532(0x18f)](_0x31f9fb,_0x295ff4)[_0x5ac532(0x3ac)](_0x96eb4f[_0x5ac532(0x3a7)]);return _0x384fb7;},'_parse':function(_0x2d7dc5,_0x1acfb4){var _0x1ba200=_0x83788a;return typeof _0x2d7dc5=='string'?_0x1acfb4[_0x1ba200(0xcd)](_0x2d7dc5,this):_0x2d7dc5;}}),_0x3a4827=_0x556ffb[_0x83788a(0x353)]={},_0x28e059=_0x3a4827[_0x83788a(0x369)]={'execute':function(_0x3e565f,_0x321e6b,_0x1b9bbb,_0x88740f,_0x45aefc){var _0x20ac93=_0x83788a;if(_0x88740f||(_0x88740f=_0x10f2d5[_0x20ac93(0x3a2)](0x40/0x8)),_0x45aefc)var _0x264bd7=_0x35d110[_0x20ac93(0x371)]({'keySize':_0x321e6b+_0x1b9bbb,'hasher':_0x45aefc})['compute'](_0x3e565f,_0x88740f);else var _0x264bd7=_0x35d110[_0x20ac93(0x371)]({'keySize':_0x321e6b+_0x1b9bbb})['compute'](_0x3e565f,_0x88740f);var _0x406ded=_0x10f2d5[_0x20ac93(0x371)](_0x264bd7['words']['slice'](_0x321e6b),_0x1b9bbb*0x4);return _0x264bd7[_0x20ac93(0x1f2)]=_0x321e6b*0x4,_0x3d2abf['create']({'key':_0x264bd7,'iv':_0x406ded,'salt':_0x88740f});}},_0xbf62dd=_0x5eff81[_0x83788a(0x37c)]=_0x1090e3[_0x83788a(0x378)]({'cfg':_0x1090e3[_0x83788a(0x1a1)][_0x83788a(0x378)]({'kdf':_0x28e059}),'encrypt':function(_0x8d5ea9,_0x42f366,_0x390f6d,_0x32a897){var _0x153228=_0x83788a;_0x32a897=this[_0x153228(0x1a1)][_0x153228(0x378)](_0x32a897);var _0x4024ad=_0x32a897[_0x153228(0x353)][_0x153228(0xac)](_0x390f6d,_0x8d5ea9['keySize'],_0x8d5ea9['ivSize'],_0x32a897[_0x153228(0x22f)],_0x32a897[_0x153228(0x159)]);_0x32a897['iv']=_0x4024ad['iv'];var _0x99ca0e=_0x1090e3[_0x153228(0x21d)][_0x153228(0x184)](this,_0x8d5ea9,_0x42f366,_0x4024ad['key'],_0x32a897);return _0x99ca0e[_0x153228(0x2b0)](_0x4024ad),_0x99ca0e;},'decrypt':function(_0x37b829,_0x1b00a0,_0x154f65,_0x15758d){var _0x327053=_0x83788a;_0x15758d=this[_0x327053(0x1a1)][_0x327053(0x378)](_0x15758d),_0x1b00a0=this['_parse'](_0x1b00a0,_0x15758d[_0x327053(0xf5)]);var _0x567d77=_0x15758d[_0x327053(0x353)][_0x327053(0xac)](_0x154f65,_0x37b829[_0x327053(0xd0)],_0x37b829[_0x327053(0x335)],_0x1b00a0[_0x327053(0x22f)],_0x15758d[_0x327053(0x159)]);_0x15758d['iv']=_0x567d77['iv'];var _0x5a38df=_0x1090e3[_0x327053(0x36d)]['call'](this,_0x37b829,_0x1b00a0,_0x567d77['key'],_0x15758d);return _0x5a38df;}});}();}));}(Xe)),Xe[_0x51b0c5(0x279)];}var gn=Ve[_0x187534(0x279)],ei;function Tn(){return ei||(ei=0x1,function(_0x43ec9e,_0x45fdb2){(function(_0x597e29,_0x320c0,_0x3fe3bf){var _0x5b1f3a=_0x8b56;_0x43ec9e[_0x5b1f3a(0x279)]=_0x320c0(ie(),Ni(),fn(),Ci(),bi());}(gn,function(_0x22672a){return(function(){var _0x3ebdf3=_0x8b56,_0x34481f=_0x22672a,_0x4f918a=_0x34481f['lib'],_0xeb00a3=_0x4f918a[_0x3ebdf3(0x285)],_0x454776=_0x34481f[_0x3ebdf3(0x367)],_0x3d61ef=[],_0x4f7070=[],_0x2582df=[],_0xae0c68=[],_0x37bc8e=[],_0x2e8d47=[],_0x459c91=[],_0x9d42e7=[],_0x32cef0=[],_0x43a211=[];(function(){for(var _0x49d5e3=[],_0xf21648=0x0;_0xf21648<0x100;_0xf21648++)_0xf21648<0x80?_0x49d5e3[_0xf21648]=_0xf21648<<0x1:_0x49d5e3[_0xf21648]=_0xf21648<<0x1^0x11b;for(var _0x220a90=0x0,_0x31fd4b=0x0,_0xf21648=0x0;_0xf21648<0x100;_0xf21648++){var _0x57cf48=_0x31fd4b^_0x31fd4b<<0x1^_0x31fd4b<<0x2^_0x31fd4b<<0x3^_0x31fd4b<<0x4;_0x57cf48=_0x57cf48>>>0x8^_0x57cf48&0xff^0x63,_0x3d61ef[_0x220a90]=_0x57cf48,_0x4f7070[_0x57cf48]=_0x220a90;var _0x50ef44=_0x49d5e3[_0x220a90],_0x3d133c=_0x49d5e3[_0x50ef44],_0x2c2273=_0x49d5e3[_0x3d133c],_0x45e304=_0x49d5e3[_0x57cf48]*0x101^_0x57cf48*0x1010100;_0x2582df[_0x220a90]=_0x45e304<<0x18|_0x45e304>>>0x8,_0xae0c68[_0x220a90]=_0x45e304<<0x10|_0x45e304>>>0x10,_0x37bc8e[_0x220a90]=_0x45e304<<0x8|_0x45e304>>>0x18,_0x2e8d47[_0x220a90]=_0x45e304;var _0x45e304=_0x2c2273*0x1010101^_0x3d133c*0x10001^_0x50ef44*0x101^_0x220a90*0x1010100;_0x459c91[_0x57cf48]=_0x45e304<<0x18|_0x45e304>>>0x8,_0x9d42e7[_0x57cf48]=_0x45e304<<0x10|_0x45e304>>>0x10,_0x32cef0[_0x57cf48]=_0x45e304<<0x8|_0x45e304>>>0x18,_0x43a211[_0x57cf48]=_0x45e304,_0x220a90?(_0x220a90=_0x50ef44^_0x49d5e3[_0x49d5e3[_0x49d5e3[_0x2c2273^_0x50ef44]]],_0x31fd4b^=_0x49d5e3[_0x49d5e3[_0x31fd4b]]):_0x220a90=_0x31fd4b=0x1;}}());var _0x232b81=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x14e3c5=_0x454776['AES']=_0xeb00a3[_0x3ebdf3(0x378)]({'_doReset':function(){var _0x599f94=_0x3ebdf3,_0x99004a;if(!(this[_0x599f94(0x26a)]&&this['_keyPriorReset']===this['_key'])){for(var _0xcb2dd4=this[_0x599f94(0x241)]=this['_key'],_0x45499e=_0xcb2dd4[_0x599f94(0x26b)],_0x5b4f85=_0xcb2dd4[_0x599f94(0x1f2)]/0x4,_0x44e919=this[_0x599f94(0x26a)]=_0x5b4f85+0x6,_0xee73d6=(_0x44e919+0x1)*0x4,_0x25313f=this['_keySchedule']=[],_0x30c619=0x0;_0x30c619<_0xee73d6;_0x30c619++)_0x30c619<_0x5b4f85?_0x25313f[_0x30c619]=_0x45499e[_0x30c619]:(_0x99004a=_0x25313f[_0x30c619-0x1],_0x30c619%_0x5b4f85?_0x5b4f85>0x6&&_0x30c619%_0x5b4f85==0x4&&(_0x99004a=_0x3d61ef[_0x99004a>>>0x18]<<0x18|_0x3d61ef[_0x99004a>>>0x10&0xff]<<0x10|_0x3d61ef[_0x99004a>>>0x8&0xff]<<0x8|_0x3d61ef[_0x99004a&0xff]):(_0x99004a=_0x99004a<<0x8|_0x99004a>>>0x18,_0x99004a=_0x3d61ef[_0x99004a>>>0x18]<<0x18|_0x3d61ef[_0x99004a>>>0x10&0xff]<<0x10|_0x3d61ef[_0x99004a>>>0x8&0xff]<<0x8|_0x3d61ef[_0x99004a&0xff],_0x99004a^=_0x232b81[_0x30c619/_0x5b4f85|0x0]<<0x18),_0x25313f[_0x30c619]=_0x25313f[_0x30c619-_0x5b4f85]^_0x99004a);for(var _0x2b6dec=this[_0x599f94(0x28e)]=[],_0x4971bc=0x0;_0x4971bc<_0xee73d6;_0x4971bc++){var _0x30c619=_0xee73d6-_0x4971bc;if(_0x4971bc%0x4)var _0x99004a=_0x25313f[_0x30c619];else var _0x99004a=_0x25313f[_0x30c619-0x4];_0x4971bc<0x4||_0x30c619<=0x4?_0x2b6dec[_0x4971bc]=_0x99004a:_0x2b6dec[_0x4971bc]=_0x459c91[_0x3d61ef[_0x99004a>>>0x18]]^_0x9d42e7[_0x3d61ef[_0x99004a>>>0x10&0xff]]^_0x32cef0[_0x3d61ef[_0x99004a>>>0x8&0xff]]^_0x43a211[_0x3d61ef[_0x99004a&0xff]];}}},'encryptBlock':function(_0x4b78cb,_0x1b2b83){var _0x4a43a3=_0x3ebdf3;this['_doCryptBlock'](_0x4b78cb,_0x1b2b83,this[_0x4a43a3(0x346)],_0x2582df,_0xae0c68,_0x37bc8e,_0x2e8d47,_0x3d61ef);},'decryptBlock':function(_0x123036,_0x1df745){var _0x626d90=_0x3ebdf3,_0x1ef973=_0x123036[_0x1df745+0x1];_0x123036[_0x1df745+0x1]=_0x123036[_0x1df745+0x3],_0x123036[_0x1df745+0x3]=_0x1ef973,this[_0x626d90(0x162)](_0x123036,_0x1df745,this[_0x626d90(0x28e)],_0x459c91,_0x9d42e7,_0x32cef0,_0x43a211,_0x4f7070);var _0x1ef973=_0x123036[_0x1df745+0x1];_0x123036[_0x1df745+0x1]=_0x123036[_0x1df745+0x3],_0x123036[_0x1df745+0x3]=_0x1ef973;},'_doCryptBlock':function(_0x20dbfe,_0x4f293b,_0x19ba6f,_0x1134e9,_0x5f26e2,_0x167a54,_0x52e5fa,_0x39df93){var _0x31244d=_0x3ebdf3;for(var _0x11fd0b=this[_0x31244d(0x26a)],_0x1fd588=_0x20dbfe[_0x4f293b]^_0x19ba6f[0x0],_0x11d941=_0x20dbfe[_0x4f293b+0x1]^_0x19ba6f[0x1],_0x2a542c=_0x20dbfe[_0x4f293b+0x2]^_0x19ba6f[0x2],_0x2901e3=_0x20dbfe[_0x4f293b+0x3]^_0x19ba6f[0x3],_0x1d4c76=0x4,_0x1c4816=0x1;_0x1c4816<_0x11fd0b;_0x1c4816++){var _0x399d17=_0x1134e9[_0x1fd588>>>0x18]^_0x5f26e2[_0x11d941>>>0x10&0xff]^_0x167a54[_0x2a542c>>>0x8&0xff]^_0x52e5fa[_0x2901e3&0xff]^_0x19ba6f[_0x1d4c76++],_0x4e76cd=_0x1134e9[_0x11d941>>>0x18]^_0x5f26e2[_0x2a542c>>>0x10&0xff]^_0x167a54[_0x2901e3>>>0x8&0xff]^_0x52e5fa[_0x1fd588&0xff]^_0x19ba6f[_0x1d4c76++],_0x4d9ae8=_0x1134e9[_0x2a542c>>>0x18]^_0x5f26e2[_0x2901e3>>>0x10&0xff]^_0x167a54[_0x1fd588>>>0x8&0xff]^_0x52e5fa[_0x11d941&0xff]^_0x19ba6f[_0x1d4c76++],_0x5141b6=_0x1134e9[_0x2901e3>>>0x18]^_0x5f26e2[_0x1fd588>>>0x10&0xff]^_0x167a54[_0x11d941>>>0x8&0xff]^_0x52e5fa[_0x2a542c&0xff]^_0x19ba6f[_0x1d4c76++];_0x1fd588=_0x399d17,_0x11d941=_0x4e76cd,_0x2a542c=_0x4d9ae8,_0x2901e3=_0x5141b6;}var _0x399d17=(_0x39df93[_0x1fd588>>>0x18]<<0x18|_0x39df93[_0x11d941>>>0x10&0xff]<<0x10|_0x39df93[_0x2a542c>>>0x8&0xff]<<0x8|_0x39df93[_0x2901e3&0xff])^_0x19ba6f[_0x1d4c76++],_0x4e76cd=(_0x39df93[_0x11d941>>>0x18]<<0x18|_0x39df93[_0x2a542c>>>0x10&0xff]<<0x10|_0x39df93[_0x2901e3>>>0x8&0xff]<<0x8|_0x39df93[_0x1fd588&0xff])^_0x19ba6f[_0x1d4c76++],_0x4d9ae8=(_0x39df93[_0x2a542c>>>0x18]<<0x18|_0x39df93[_0x2901e3>>>0x10&0xff]<<0x10|_0x39df93[_0x1fd588>>>0x8&0xff]<<0x8|_0x39df93[_0x11d941&0xff])^_0x19ba6f[_0x1d4c76++],_0x5141b6=(_0x39df93[_0x2901e3>>>0x18]<<0x18|_0x39df93[_0x1fd588>>>0x10&0xff]<<0x10|_0x39df93[_0x11d941>>>0x8&0xff]<<0x8|_0x39df93[_0x2a542c&0xff])^_0x19ba6f[_0x1d4c76++];_0x20dbfe[_0x4f293b]=_0x399d17,_0x20dbfe[_0x4f293b+0x1]=_0x4e76cd,_0x20dbfe[_0x4f293b+0x2]=_0x4d9ae8,_0x20dbfe[_0x4f293b+0x3]=_0x5141b6;},'keySize':0x100/0x20});_0x34481f['AES']=_0xeb00a3['_createHelper'](_0x14e3c5);}()),_0x22672a['AES'];}));}(Ve)),Ve['exports'];}var On=Tn();const Rn=$e(On);var Nn=Ni();const ti=$e(Nn);var Je={'exports':{}},Cn=Je[_0x187534(0x279)],ii;function bn(){var _0x3b1428=_0x187534;return ii||(ii=0x1,function(_0x19162d,_0x4513d1){(function(_0x1869df,_0x474c5f){var _0x14a456=_0x8b56;_0x19162d[_0x14a456(0x279)]=_0x474c5f(ie());}(Cn,function(_0x1d5b27){var _0x112da1=_0x8b56;return _0x1d5b27[_0x112da1(0x2c1)][_0x112da1(0x151)];}));}(Je)),Je[_0x3b1428(0x279)];}var Dn=bn();const yn=$e(Dn);var Ze={'exports':{}},Un=Ze[_0x187534(0x279)],si;function An(){var _0x5a9119=_0x187534;return si||(si=0x1,function(_0x56a71a,_0x42537c){(function(_0x2a03d1,_0x48d86f){var _0x85a5b6=_0x8b56;_0x56a71a[_0x85a5b6(0x279)]=_0x48d86f(ie());}(Un,function(_0x5de1fb){return(function(){var _0x4aeb66=_0x8b56;if(typeof ArrayBuffer==_0x4aeb66(0x2a5)){var _0xb31208=_0x5de1fb,_0x465e9a=_0xb31208['lib'],_0x330ab6=_0x465e9a['WordArray'],_0x39c4d9=_0x330ab6[_0x4aeb66(0x1ed)],_0x443e90=_0x330ab6[_0x4aeb66(0x1ed)]=function(_0x1b2f31){var _0x5123fc=_0x4aeb66;if(_0x1b2f31 instanceof ArrayBuffer&&(_0x1b2f31=new Uint8Array(_0x1b2f31)),(_0x1b2f31 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1b2f31 instanceof Uint8ClampedArray||_0x1b2f31 instanceof Int16Array||_0x1b2f31 instanceof Uint16Array||_0x1b2f31 instanceof Int32Array||_0x1b2f31 instanceof Uint32Array||_0x1b2f31 instanceof Float32Array||_0x1b2f31 instanceof Float64Array)&&(_0x1b2f31=new Uint8Array(_0x1b2f31[_0x5123fc(0x21e)],_0x1b2f31[_0x5123fc(0xdb)],_0x1b2f31['byteLength'])),_0x1b2f31 instanceof Uint8Array){for(var _0x1fd76e=_0x1b2f31['byteLength'],_0x33bf43=[],_0x235d3a=0x0;_0x235d3a<_0x1fd76e;_0x235d3a++)_0x33bf43[_0x235d3a>>>0x2]|=_0x1b2f31[_0x235d3a]<<0x18-_0x235d3a%0x4*0x8;_0x39c4d9[_0x5123fc(0x184)](this,_0x33bf43,_0x1fd76e);}else _0x39c4d9[_0x5123fc(0x1f8)](this,arguments);};_0x443e90[_0x4aeb66(0xc6)]=_0x330ab6;}}()),_0x5de1fb['lib']['WordArray'];}));}(Ze)),Ze[_0x5a9119(0x279)];}var Pn=An();const wn=$e(Pn);var Qe={'exports':{}},Ln=Qe[_0x187534(0x279)],ni;function _0x5c4e(){var _0x507955=['interceptor','csShouldRetryEvent','getMember','[PendingState]:\x20received\x20rejection.','_commentUpdate$','joinRsp','salt','NoPadding','post','_createHandler','collabWebSocketUrl','socketService','catch','_socket$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','findIndex','push','_socket','processBlock','change$','transformUndoRedo','getUnitType','/universer-api/oidc/authpage','_onConflict','_keyPriorReset','updateCursorEvent','_doCreateSocket','HmacMD5','includes','setConfig','data','getUnitStatus$','reset','appendMutation','StreamCipher','deleteCollaborator','getCurrentRevOfUnit','_status$','override','_collaborationTimeoutTimer','shouldCloseConn','JOINING','[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.','BlockCipherMode','fetchMissingChangesets','_resendTimeout','onTransformIME','UNIVER_SHEET','_createInitialStateImpl','CHANGESET_ACK','UNDEFINED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','pad','_getSendChangesetTimeout','UNIVER_SLIDE','location','enableOfflineEditing','_entityInit$','REDEMPTION_CODE_INACTIVE','_sendingTimer','mutations','loadUnitOfRevision','loadSheet','getOwnPropertyDescriptor','LIVESHARE_FETCH_OPERATIONS','_nRounds','words','offline','_entities','getActiveSheet','onSyncEditingCollabCursor','Univer','CONFLICT','_replaceFileID','CHANGESET_REVISION_CONFILICT','REDEMPTION_USER_NOT_ELIGIBLE','PERMISSION_DENIED','asObservable','slice','ENTITLE_INSUFFICIENT_QUOTA','exports','SerializableCipher','executeCommand','_httpService','USER_IS_ANONYMOUS','loginUrlKey','reject','target','unitInfo$','unitID','_process','/role','BlockCipher','_waitForHeartbeatResponse','_onJoinRoomEvent','\x20in\x20_schedule.','UNRECOGNIZED','Base64','/universer-api/snapshot/','origin','c1Prime','_invKeySchedule','ENSURE_SNAPSHOT_EXECUTION','permissionRejEvent','headers','372344oHQvhn','MOBILE_HAS_BEEN_BOUND','SUBMIT_CHANGESET_TIMEOUT','JOIN','pluginName','map','url','_logService','defineProperty','_compressMutationService','type','/universer-api/user/session-ticket','_onRecvEvent','ws://127.0.0.1:8000/universer-api/comb/connect','_hash','collaboration_new_changeset','image/gif','next','cmd','function','[CollaborationSession]','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','selections','objects','CBC','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_changesetSessionId','INVALID_INVITE_CODE','synced','_onRemoteACK','mixIn','getValue','awaiting','responseType','entries','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','INVITE_CODE_HAS_BEEN_UES','_submitChangeset','startTime','PSEUDO_FETCH_MISSING_RESULT','session','FETCH_MISSING','onMissingChangesets','ENTITLE_COUPON_EXPIRED','USER_NOT_FOUND','_univerInstanceService','INTERNAL_ERROR','enc','onMutationExecutedForCollab','decryptBlock','_instanceService','/object/','REDEMPTION_INVALID_CODE','liveShareOperation','max','FileId','MUTATION','_handler','_createHelper','_collaborationSessionService','_sessionStatus$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','refreshPermission','PAYMENT_CHANNEL_NOT_SUPPORT','/-/object/-/batch_allowed','3PWPnra','APPLY_PERMISSION_DENIED','removeMember','getInterceptPoints','ClipsheetFragments','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','infoRsp','dispose$','UNKNOWN_CODE','c2Prime','YUUMI_CONNECTOR_URL_NOT_FOUND','concat','EMAIL_VERIFY_CODE_MISMATCH','message$','_members$','_removeRoom','getRoom','onRemoteAck','getFocusedUnit','Base','getDeserializedSheetBlock','EvpKDF','_initMergeInterceptor','onMissedChangesetFetched','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[CollaborationSessionService]','delete','_retryConnectingTimer','hostname','[CollaborationState]:\x20apply\x20error!','_networkConditionService','subscribe','fetchMiss','src','actions','getSnapshotAPIPath','_reverseMap','_updateStatus','LOGIN_TOKEN_PROCESSING_FAILED','[DataLoaderService]','_socketMessageSubscription','min','stopTime','state','DATA_SOURCE_TOO_LARGE','UPDATE_PERMISSION_OBJ','_telemetryInfo','_handlerCallback','update','_createSocket','YUUMI_AI_RUN_FAILED','getTypeOfUnitAdded$','YUUMI_SUBSCRIPTION_NOT_FOUND','_candidateSocket','collaborators','UNAUTHENTICATED','transformChangesets','_transformService','file','Encryptor','/allowed','RECV','[OfflineState]:\x20received\x20acknowledgement.','_doFinalize','/universer-api/comb','_substituteRedoStack','auth.needGotoLoginAlert','Hex','5292eYUpCG','[UniverCollaborationClientPlugin]','_replayCachedMutations','_getUploadFileURL','_resendWithTimeout','_onRemoteChangeset','_mode','originalMeta','emitEvent','_toggleOffline','_ENC_XFORM_MODE','_append','_retryCount','_maxTotalRetryTimeout','UNIVER_UNKNOWN','members','_collaborationPaused','image/jpeg','splice','routeKey','ENTITLE_INVALID_COUPON_CODE','onStarting','_configService','AUTHORIZE_CODE_ILLEGAL','every','SNAPSHOT_URL_KEY','unpad','_map','authzUrl','_listenToNetworkCondition','ivSize','LOGIN_FAILED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','unitId','_scheduleCompleteTimestamp','\x0aCurrent:\x20','REDEMPTION_CODE_FULLY_REDEEMED','padding','getCurrentUser','join','open$','YUUMI_ALL_TABLES_IS_INVALID','getUnitId','ENTITLE_NEED_BILLING_ADDRESS','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','MOBILE_VERIFY_CODE_MISMATCH','_iv','_keySchedule','transformSelections','People','_onUserJoin','updatePermissionPoint','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','SOCKET_FAILED_RETRY','_onFetchMissResult','_getCurrentRevision','sessionStatus','conflict','COMPRESS_MUTATION_SEND','_collabSessionService','kdf','_transformSelections','waitForRoom$','resolve','abs','__creator','close$','_rescheduleHeartbeat','name','_nDataBytes','repeat','Could\x20not\x20dynamically\x20require\x20\x22','collaboratorID','_startTelemetryCollaborationNewChangeset','_createInitialState','error$','YUUMI_NO_CUBOID_FOR_QUESTION','_timeoutTimer','APPLY_DUPLICATED','set','algo','body','OpenSSL','fetchThroughInterceptors','_telemetryService','complete','decrypt','AWAITING_WITH_PENDING','ENTITLE_COUPON_USED_UP','_substituteUndoStack','create','_getAPIPrefix','capture','34375KBCwUl','_memberService','socket$','clamp','extend','requireSession','ERROR_IMAGE_TYPE','\x0aAfter:\x20','PasswordBasedCipher','onTransformSelections','default','COMPLETION_FINISHED','find','_clearHeartbeatTimer','_roomCreated$','_sheetTransformSelectionsService','getConfig','_isPermissionRej','reqId','readInt32LE','_type','_checkMissing','range','_onRemoteRejected','__esModule','_pendingMutations','_onRemoteRetry','registerHTTPInterceptor','PERSON','_onOffline','[SyncedState]:\x20received\x20rejection.','sheets','Error\x20on\x20receiving\x20event','retryConnectingInterval','_permissionService','[CollaborationEntity]','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','PERMISSION_REJ','setShowComponents','IDLE','onSendChangeset','_unitInfo$','_waitCount','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SHA1','getImage','random','objectType','reduce','updateCollaborator','LEAVE','ciphertext','getImageSourceCache','localeService','subject','allowed','finalize','uniscriptRunEvent','&assign=','POST','awaiting_with_pending','CHANGESET_SHOULD_RETRY','&to=','sid','onTransformState','_initRequestHeader','_snapshotService','_unitID','_clearTimeoutTimer','signUrlServerUrl','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','debug','append','UNKNOWN_CMD','_onUserLeave','NOT_FOUND','execute','_state$','[CollaborationSessionService]:\x20socket\x20error','editingUnit','LICENSE_MAX_UNITS_EXCEEDED','_updateState','getWorkbookSelections','_createHmacHelper','mode','REDEMPTION_CODE_NOT_STARTED','_getUndoStack','changesets','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_onMessage','stringify','_commandService','charAt','toString','onRemoteChangeset','dispose','withCredentials','_config','unsubscribe','getSheetBlock','_getRedoStack','downloadEndpointUrl','prototype','/collaborator','/-/object/list','UNIVER_PROJECT','ERROR_EXCEED_SIZE','HEARTBEAT_INTERVAL','CHANGESET_REJ','parse','LIVESHARE_REQUEST_HOST','filter','keySize','UnitEmbedded','_resendTimer','\x20to\x20','disposeWithMe','objectID','NO_OTHER_CLIENTS_EDITING','_tryReconnect','rev','_unlockTransition','_throwTelemetryCollaborationNewChangeset','byteOffset','createInstance','GLOBAL_ROOMS_CNT_EXCEEDS','session.room-not-exists','state$','/unit/','REDEMPTION_CODE_HAS_BEEN_CREATED','_data','snapshotServerUrl','enableSingleActiveInstanceLock','enableCollaboration','_applyRemoteChangeset','_transitionLocked','onRemoteRej','_toggleOnline','[OfflineState]:\x20received\x20rejection.','_tryEnsureSocket','close','OTHER_CLIENT_EDITING','_decreaseWaiting','JOIN_ROOM_PERMISSION_DENIED','[CollaborationUndoRedoService]','_executeRemoteChangeset','&source=','LIVESHARE_NEW_HOST','reverse','format','BufferedBlockAlgorithm','status','onTransformRemoteChangesetByIMECache','_sessions','collaboration-client.local-cache-service','submit\x20changeset\x20error!','awaitingChangeset','SHOULD_CLOSE_CONN','getTypeOfUnitDisposed$','getRandomValues','error','_awaitingChangeset','HttpExport','onlyLocal','_socketReady','{fileID}','Decryptor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toggleOffline','SYNCED','_localCacheService','_onConnectionFailed','EMAIL_HAS_BEEN_BOUND','/object','_event$','_registerDependencies','_transformRemoteChangesetByStateCache','1352743RSuriX','compose','getResourcesRequest','revision','?size=','putCollaborators','_getDownloadEndpointURL','clear','NEW_CHANGESETS','_updateLocalCache','replace','LOCAL_CACHE_INTERVAL','lib','_getLoginPath','toggleOnline','focused$','saveSheetBlock','DEFAULT_FILE_NAME','not_collab','createSocket','__Key__','YUUMI_UNABLE_LOAD_URL','APPLY_NON_SEQUENTIAL_REVISION','_remoteChangesetQueue','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_sender','_commentService','get','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','updateSnapshot','_clearRetryConnectingTimer','loadOfflineData','isPermissionRej','_singleActiveUnitService','SOCKET_FAILED','length','ENTITLE_DUP_SUBSCRIPTION','_initUnitPermissionChange','href','_collaborationUIEventService','_imageSourceCache','WordArray','OFFLINE','_scheduleCollaborationTimeoutTimer','LICENSE_IMPORT_SIZE_EXCEEDED','_change$','UNIVER_COLLABORATION_CLIENT_PLUGIN','_onCombEvent','msCrypto','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','objectActions','initWorkbookPermissionChange','WECHAT_HAS_BEEN_BOUND','UserProfileImg','_joinRoom','forEach','randomBytes','LICENSE_DISTRO_REJECTED','joinEvent','[OfflineState]:\x20received\x20changeset.','m2Prime','_prevBlock','15460BaJYof','getLatestCsReqIdBySid','Utf8','blockSize','subUnitId','_onConnectionOpen','now','_clearScheduledTask','readAsDataURL','__splitChunk__','hasher','CURRENT_STATUS_CANNOT_OPERATE','string','transformMutationsWithChangeset','method','_clearUndo','fromCollab','_init','UNIVER_DOC','_doCryptBlock','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_eventService','UnitSnapshot','_oKey','localCacheService','image/jpg','from','onCommentUpdate','UPDATE_CURSOR','YUUMI_RATE_OVER_LIMIT','SNAPSHOT_INVALID_SNAPSHOT','ceil','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','equals','_hasher','ENTITLE_REPORT_LIMIT_EXCEED','has','MSG_FOR_ERROR','_changesetReqId','requestParams','session.join-failed','code','INVITE_CODE_REQUIRED','USERS_ENTER','_startCollaboration','closeSession','_transformUndoredo','isArray','connection\x20error','COMPRESS_MUTATION_APPLY','Undefined','online$','/fetchmissing?from=','call','_emitMembers','CONNECTOR_DATA_TOO_LARGE','status$','socket\x20close','APPLY_REJECT','_lockTransition','univer-pro.collaboration-client.single-active-unit-service','LIVESHARE_TERMINATE','/universer-api/authz','loadDoc','createDecryptor','HmacSHA1','pauseCollaboration','_incrementRevisionNumber','/rev/','size','_clearLocalCache','/block/','383304mUtMeA','roles','FAIL','_sendHeartbeatTimer','_acknowledgedAwaitingChangeset','HELLO','fetching\x20missing\x20changesets\x20from\x20','memberID','_getCtorByUniverType','editing\x20status\x20changed\x20to','cfg','readyForCollab','Pkcs7','_queuedRemoteChangesets','_showConflictNotification','onload','HEARTBEAT','univer-pro.collaboration-client.network-condition.service','_shouldReportTelemetry','charCodeAt','session.room-full','then','840210agHpbU','updateOfflineData','onRemoteRetry','encode','_DEC_XFORM_MODE','updateMember','clone','_disableEditing','/new_changes','saveChangeset','_onLocalMutation','_state','startsWith','BASE64','JOIN_ROOM_NOT_EXISTS','sessionStatus$','_stopTelemetryCollaborationNewChangeset','\x20-\x20','eventID','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','ERROR_IMAGE','ENTITLE_CHAT_LIMIT_EXCEED','univer-pro.collaboration-client-socket-service','USER_NOT_INVITED_CODE','COMMENT_UPDATE','createEncryptor','_cipher','_iKey','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','unit-cache-','pending','getTime','ONLINE','ERROR_AGAIN','HttpImport','uploadFileServerUrl','onStateChange','JOIN_ROOM_FAILED','add','USERS_LEAVE','YUUMI_ASYNCIO_CANCELLED','INGEST','onTransformRemoteChangesetByStateCache','UNISCRIPT_RUN','LIVESHARE_OPERATION','YUUMI_URL_COL_OUT_OF_RANGE','_roomMembers','floor','ENTITLE_USE_COUPON_NOT_1ST_TRADE','params','setWaitCount','_clearRedo','SUBMIT_CHANGESET','substr','_minBufferSize','OTHER_CLIENTS_EDITING','compute','$super','textRanges','_revisionService','_transformIMECache','_members','/universer-api/snapshot','unknown','init','JOIN_ROOM_FULL','addImageSourceCache','_getAPIPrefixPath','HMAC','sigBytes','_schedule','_userManagerService','_socketService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','failed\x20to\x20apply\x20missed\x20changesets!','apply','loadUnit','_initCloseConn','_initDependencies','/universer-api/file/{fileID}/sign-url','put','Cipher','Hasher','_snapshotServerService','pipe','list','encryptBlock','_sendHeartbeat','ALREADY_EXISTS','reconnect','snapshot','fetch_missing','hasOwnProperty','unitId\x20is\x20not\x20found','RETRY_CONNECTING_MAX_COUNT','liveShareNewHost','_injector','MD5','csRejEvent','event$','_syncEditingCollabCursor','getCurrentSelections','/universer-api/stream/file/upload','FETCH_MISS','telemetry\x20info\x20is\x20not\x20initialized','LICENSE_EXPORT_SIZE_EXCEEDED','getMemberID','PY_RUNTIME_SCRIPT_ERROR','_exhaustRemoteChangesetQueue','resend','setCurrentUser','_clearCollaborationTimeoutTimer','encrypt','buffer','image/bmp','_HTTPService','_parse','send','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_getSignURL','crypto','entityInit$','baseRev'];_0x5c4e=function(){return _0x507955;};return _0x5c4e();}function Mn(){var _0x5ee547=_0x187534;return ni||(ni=0x1,function(_0x507109,_0x2093ea){(function(_0x2c73fb,_0x3d7299,_0x2ed0ec){var _0x4ba417=_0x8b56;_0x507109[_0x4ba417(0x279)]=_0x3d7299(ie(),bi());}(Ln,function(_0x4204cf){var _0x7d4ae5=_0x8b56;return _0x4204cf[_0x7d4ae5(0x25d)][_0x7d4ae5(0x230)]={'pad':function(){},'unpad':function(){}},_0x4204cf['pad'][_0x7d4ae5(0x230)];}));}(Qe)),Qe[_0x5ee547(0x279)];}var xn=Mn();const kn=$e(xn);function $n(_0x367e7a,_0x1ac27c){var _0x332b98=_0x187534;const _0x5cafcb=_0x1ac27c-_0x367e7a['length']%_0x1ac27c,_0x3f11ac=String['fromCharCode'](_0x5cafcb)[_0x332b98(0x35d)](_0x5cafcb);return _0x367e7a+_0x3f11ac;}function Hn(_0x115305,_0x4e8ed0){var _0x4e3d01=_0x187534;const _0x12be44=wn[_0x4e3d01(0x3a2)](0x10),_0x2da0e1=$n(_0x115305,0x10),_0x3e4065=Rn[_0x4e3d01(0x21d)](yn['parse'](_0x2da0e1),ti['parse'](_0x4e8ed0),{'iv':_0x12be44,'padding':kn});return _0x12be44[_0x4e3d01(0x2de)](_0x3e4065[_0x4e3d01(0x3a7)])['toString'](ti);}function Bn(){var _0x41f25b=_0x187534;const _0x74725e=_0x4872ea()[_0x41f25b(0x125)];if(typeof window<'u'&&typeof window[_0x41f25b(0x260)]<'u'&&_0x74725e){const _0x2b7430={'time':Math['floor'](Date[_0x41f25b(0x155)]()/0x3e8),'domain':location[_0x41f25b(0x2ef)]};return Hn(JSON[_0x41f25b(0xba)](_0x2b7430),_0x74725e);}}var Fn=Object[_0x187534(0x268)],jn=(_0x42ed6e,_0x28f1f1,_0x1a97eb,_0x30af45)=>{var _0x5c7732=_0x187534;for(var _0x4cf1ca=_0x30af45>0x1?void 0x0:_0x30af45?Fn(_0x28f1f1,_0x1a97eb):_0x28f1f1,_0x810913=_0x42ed6e[_0x5c7732(0x134)]-0x1,_0x40e269;_0x810913>=0x0;_0x810913--)(_0x40e269=_0x42ed6e[_0x810913])&&(_0x4cf1ca=_0x40e269(_0x4cf1ca)||_0x4cf1ca);return _0x4cf1ca;},Vn=(_0x313be6,_0x415566)=>(_0x2d18c3,_0x2f6c29)=>_0x415566(_0x2d18c3,_0x2f6c29,_0x313be6);let at=class{constructor(_0x489f4b){var _0x885b63=_0x187534;this[_0x885b63(0x27c)]=_0x489f4b,this[_0x885b63(0x3b5)]();}[_0x187534(0x3b5)](){var _0x16d8f8=_0x187534;this[_0x16d8f8(0x27c)][_0x16d8f8(0x38f)]({'interceptor':(_0x11c617,_0x232f3e)=>{var _0x5990be=_0x16d8f8;const _0x23f279=_0x11c617[_0x5990be(0x291)],_0x13989b=Bn();return _0x13989b&&_0x23f279[_0x5990be(0x366)]('x-univer-host',_0x13989b),_0x232f3e(_0x11c617);}});}};at=jn([Vn(0x0,_0x3dae34(_0x3e9fc0))],at);var Gn=Object[_0x187534(0x268)],Wn=(_0x1ef20e,_0x22af5c,_0x20755c,_0x11d077)=>{var _0x29e720=_0x187534;for(var _0x9228c=_0x11d077>0x1?void 0x0:_0x11d077?Gn(_0x22af5c,_0x20755c):_0x22af5c,_0xc4a86e=_0x1ef20e[_0x29e720(0x134)]-0x1,_0x7efb2a;_0xc4a86e>=0x0;_0xc4a86e--)(_0x7efb2a=_0x1ef20e[_0xc4a86e])&&(_0x9228c=_0x7efb2a(_0x9228c)||_0x9228c);return _0x9228c;},vt=(_0x4d202d,_0x55e419)=>(_0x41d819,_0x258523)=>_0x55e419(_0x41d819,_0x258523,_0x4d202d);let Ot=class extends _0x442ddb{constructor(_0x48b3ba,_0x3a017e,_0x2cd10b){var _0x1bde0a=_0x187534;super(),D(this,_0x1bde0a(0x39d),new _0x44ac7d(null)),D(this,_0x1bde0a(0x281),this[_0x1bde0a(0x39d)][_0x1bde0a(0x276)]()),(this['_logService']=_0x48b3ba,this[_0x1bde0a(0xa2)]=_0x3a017e,this[_0x1bde0a(0x10a)]=_0x2cd10b);}async[_0x187534(0x266)](_0x55f60e,_0x429955,_0x1159d8){var _0x234161=_0x187534;this[_0x234161(0x39d)][_0x234161(0x2a3)]({'unitId':_0x55f60e,'type':_0x429955});let _0x33a002=null;switch(_0x429955){case Q[_0x234161(0x258)]:{_0x33a002=await this[_0x234161(0xa2)][_0x234161(0x267)](_0x55f60e,_0x1159d8);break;}case Q[_0x234161(0x161)]:{_0x33a002=await this[_0x234161(0xa2)][_0x234161(0x18e)](_0x55f60e,_0x1159d8);break;}default:{this[_0x234161(0x299)]['error'](_0x234161(0x2fa),_0x234161(0xb8));break;}}return _0x33a002;}async[_0x187534(0x1f9)](_0x4c01fa,_0x43b108,_0x3022f1){var _0x18150e=_0x187534,_0x4c640a;this[_0x18150e(0x39d)][_0x18150e(0x2a3)]({'unitId':_0x4c01fa,'type':_0x43b108,'subUnitId':_0x3022f1});let _0x614ec5=0x0;const _0x1d0789=await((_0x4c640a=this[_0x18150e(0x10a)])==null?void 0x0:_0x4c640a['loadOfflineData'](_0x4c01fa));return _0x1d0789&&(_0x1d0789[_0x18150e(0xfc)]||_0x1d0789[_0x18150e(0x265)][_0x18150e(0x134)]!==0x0)&&(_0x614ec5=_0x1d0789[_0x18150e(0xd8)]),_0x614ec5===0x0&&this[_0x18150e(0x299)]['debug'](_0x18150e(0x2fa),_0x18150e(0x39f)),this[_0x18150e(0x266)](_0x4c01fa,_0x43b108,_0x614ec5);}};Ot=Wn([vt(0x0,_0x4dc6a1),vt(0x1,_0x3dae34(_0x3ec698)),vt(0x2,_0x369572(X))],Ot);var Yn=Object[_0x187534(0x268)],Kn=(_0x324c0a,_0x228e91,_0xb66a45,_0x476c1a)=>{for(var _0x379e13=_0x476c1a>0x1?void 0x0:_0x476c1a?Yn(_0x228e91,_0xb66a45):_0x228e91,_0x3ac525=_0x324c0a['length']-0x1,_0x2a7ace;_0x3ac525>=0x0;_0x3ac525--)(_0x2a7ace=_0x324c0a[_0x3ac525])&&(_0x379e13=_0x2a7ace(_0x379e13)||_0x379e13);return _0x379e13;},Et=(_0x334448,_0x3f5e56)=>(_0x8c8db9,_0x56adca)=>_0x3f5e56(_0x8c8db9,_0x56adca,_0x334448);const qn=['image/png',_0x187534(0x328),_0x187534(0x168),_0x187534(0x2a2),_0x187534(0x21f)],zn=0x5*0x400*0x400,Xn=_0x187534(0x213),Jn=_0x187534(0x1fc);let Rt=class{constructor(_0x4e002d,_0x3610ed,_0x4ca664){var _0x4f3083=_0x187534;D(this,_0x4f3083(0x39e),0x0),D(this,_0x4f3083(0x13e),new _0x4d8cd9()),D(this,_0x4f3083(0x23c),this['_change$']),D(this,_0x4f3083(0x139),new Map()),(this[_0x4f3083(0x27c)]=_0x4e002d,this['_configService']=_0x3610ed,this['_univerInstanceService']=_0x4ca664);}[_0x187534(0x1df)](_0x121b95){var _0x4617da=_0x187534;this[_0x4617da(0x39e)]=_0x121b95,this[_0x4617da(0x13e)][_0x4617da(0x2a3)](_0x121b95);}[_0x187534(0x3a8)](_0x51882b,_0x52e491){var _0x5e9579=_0x187534;if(_0x52e491===_0x1ad0c5[_0x5e9579(0x1ba)]){const _0x5ded62=new Image();return _0x5ded62[_0x5e9579(0x2f4)]=_0x51882b,_0x5ded62;}return this['_imageSourceCache'][_0x5e9579(0x12c)](_0x51882b);}[_0x187534(0x1ef)](_0x4eac04,_0x5c59a0,_0x52b00f){var _0x575fb6=_0x187534;_0x5c59a0===_0x1ad0c5['BASE64']||_0x52b00f==null||this['_imageSourceCache'][_0x575fb6(0x366)](_0x4eac04,_0x52b00f);}async[_0x187534(0x3a1)](_0x1f9096){var _0x400580=_0x187534;try{const _0x238bd3=this[_0x400580(0x272)](this[_0x400580(0x225)](),''+_0x1f9096),_0x3b56b9=(await this[_0x400580(0x27c)][_0x400580(0x12c)](_0x238bd3))['body'];if(_0x3b56b9['error']&&_0x3b56b9['error'][_0x400580(0x178)]===vi['OK']){const _0x454203=_0x555a5d(_0x3b56b9[_0x400580(0x298)],this[_0x400580(0x117)]());return Promise[_0x400580(0x356)](_0x454203);}return Promise['reject'](_0x3b56b9[_0x400580(0x100)]);}catch(_0x20ae89){return Promise['reject'](_0x20ae89);}}async['saveImage'](_0x54e930){var _0x2311f4=_0x187534;let _0x4ab7a7='';if(!qn[_0x2311f4(0x245)](_0x54e930['type']))return this[_0x2311f4(0xee)](),Promise['reject'](new Error(_0x1db362[_0x2311f4(0x37a)]));if(_0x54e930[_0x2311f4(0x194)]>zn)return this[_0x2311f4(0xee)](),Promise['reject'](new Error(_0x1db362[_0x2311f4(0xca)]));try{const _0x48e89a=new FormData();_0x48e89a[_0x2311f4(0xa8)](_0x2311f4(0x30d),_0x54e930);const _0x1502be=this[_0x2311f4(0x2bf)][_0x2311f4(0x2e5)](),_0x2d7993=_0x1502be==null?void 0x0:_0x1502be['getUnitId']();if(!_0x2d7993)throw new Error(_0x2311f4(0x20a));const _0x45d2ab=this[_0x2311f4(0x31a)]()+_0x2311f4(0x115)+_0x54e930[_0x2311f4(0x194)][_0x2311f4(0xbd)]()+_0x2311f4(0xf2)+Ei[_0x2311f4(0xd1)]+_0x2311f4(0x3ae)+encodeURIComponent(_0x2d7993),_0x1af454={'body':_0x48e89a},_0x5c961e=(await this[_0x2311f4(0x27c)][_0x2311f4(0x231)](_0x45d2ab,_0x1af454))[_0x2311f4(0x368)];if(typeof _0x5c961e[_0x2311f4(0x2c9)]!=_0x2311f4(0x15b))return this[_0x2311f4(0xee)](),Promise[_0x2311f4(0x27f)](new Error(_0x1db362[_0x2311f4(0x1c1)]));_0x4ab7a7=_0x5c961e['FileId'];}catch{return this[_0x2311f4(0xee)](),Promise[_0x2311f4(0x27f)](new Error(_0x1db362[_0x2311f4(0x1c1)]));}return new Promise((_0x317607,_0x5ecda9)=>{var _0x4a5eaf=_0x2311f4;const _0x22982e=new FileReader();_0x22982e[_0x4a5eaf(0x157)](_0x54e930),_0x22982e[_0x4a5eaf(0x1a6)]=_0x1de6b0=>{var _0x3619df=_0x4a5eaf,_0x499080;const _0x4901ad=(_0x499080=_0x1de6b0[_0x3619df(0x280)])==null?void 0x0:_0x499080['result'];if(_0x4901ad==null){this[_0x3619df(0xee)](),_0x5ecda9(new Error(_0x1db362[_0x3619df(0x1c1)]));return;}const _0x1977c1=_0x831e15(0x6);_0x317607({'imageId':_0x1977c1,'imageSourceType':_0x1ad0c5['UUID'],'source':_0x4ab7a7,'base64Cache':_0x4901ad,'status':_0x1db362['SUCCUSS']}),this[_0x3619df(0xee)]();};});}['_getUploadFileURL'](){var _0x3dce39=_0x187534,_0x290406;const _0x54b409=this[_0x3dce39(0x32d)]['getConfig'](K);return(_0x290406=_0x54b409==null?void 0x0:_0x54b409[_0x3dce39(0x1d0)])!=null?_0x290406:Xn;}[_0x187534(0x225)](){var _0x4e4b29=_0x187534,_0x274b0e;const _0x5e670a=this['_configService'][_0x4e4b29(0x384)](K);return(_0x274b0e=_0x5e670a==null?void 0x0:_0x5e670a[_0x4e4b29(0xa5)])!=null?_0x274b0e:Jn;}[_0x187534(0x117)](){var _0x10b844=_0x187534,_0xe52fe3;const _0x3dfd88=this[_0x10b844(0x32d)]['getConfig'](K);return(_0xe52fe3=_0x3dfd88==null?void 0x0:_0x3dfd88[_0x10b844(0xc5)])!=null?_0xe52fe3:location[_0x10b844(0x28c)];}[_0x187534(0x272)](_0x129a7a,_0x466df0){var _0x5ff9bf=_0x187534;return _0x129a7a[_0x5ff9bf(0x11b)](_0x5ff9bf(0x105),_0x466df0);}[_0x187534(0xee)](){var _0x58cb92=_0x187534;this[_0x58cb92(0x39e)]-=0x1,this[_0x58cb92(0x13e)]['next'](this[_0x58cb92(0x39e)]);}};Rt=Kn([Et(0x0,_0x3dae34(_0x3e9fc0)),Et(0x1,_0x6fb4f3),Et(0x2,_0x3dae34(_0x59f9c0))],Rt);var Zn=Object[_0x187534(0x268)],Qn=(_0x51f3f0,_0x3cdfe4,_0x258da4,_0x497fae)=>{var _0x370ca6=_0x187534;for(var _0x2e69df=_0x497fae>0x1?void 0x0:_0x497fae?Zn(_0x3cdfe4,_0x258da4):_0x3cdfe4,_0x2b83e1=_0x51f3f0[_0x370ca6(0x134)]-0x1,_0x269bfa;_0x2b83e1>=0x0;_0x2b83e1--)(_0x269bfa=_0x51f3f0[_0x2b83e1])&&(_0x2e69df=_0x269bfa(_0x2e69df)||_0x2e69df);return _0x2e69df;},ri=(_0x38b6f9,_0x98d072)=>(_0x2c5a3f,_0x185bc9)=>_0x98d072(_0x2c5a3f,_0x185bc9,_0x38b6f9);const er=_0x187534(0x18d);let Nt=class{constructor(_0x2ac924,_0x24f7f4){var _0x47dae2=_0x187534;this['_configService']=_0x2ac924,this[_0x47dae2(0x220)]=_0x24f7f4;}[_0x187534(0x1f0)](){var _0x44c549=_0x187534,_0x30eea7;const _0x3493fc=this['_configService']['getConfig'](K);return(_0x30eea7=_0x3493fc==null?void 0x0:_0x3493fc[_0x44c549(0x333)])!=null?_0x30eea7:er;}async[_0x187534(0x202)](_0x439b75){var _0x1a0e14=_0x187534;const _0x1bc923=this[_0x1a0e14(0x1f0)]()+_0x1a0e14(0xc7);return{'list':[{'title':_0x1a0e14(0x348),'mentions':(await this[_0x1a0e14(0x220)][_0x1a0e14(0x12c)](_0x1bc923,{'params':{'objectID':_0x439b75[_0x1a0e14(0x338)],'unitID':_0x439b75[_0x1a0e14(0x338)]}}))[_0x1a0e14(0x368)][_0x1a0e14(0x309)][_0x1a0e14(0x297)](_0x3e43a2=>({'objectId':_0x3e43a2['id'],'name':_0x3e43a2[_0x1a0e14(0x3aa)]['name'],'metadata':{'icon':_0x3e43a2['subject']['avatar']},'label':_0x3e43a2[_0x1a0e14(0x3aa)]['name'],'objectType':_0x2a1fd7[_0x1a0e14(0x390)]})),'metadata':{},'type':_0x2a1fd7[_0x1a0e14(0x390)]}]};}};Nt=Qn([ri(0x0,_0x3dae34(_0x6fb4f3)),ri(0x1,_0x3dae34(_0x3e9fc0))],Nt);var tr=Object[_0x187534(0x268)],ir=(_0x562881,_0x4d0d37,_0x348e5c,_0x142f6c)=>{for(var _0xcd3368=_0x142f6c>0x1?void 0x0:_0x142f6c?tr(_0x4d0d37,_0x348e5c):_0x4d0d37,_0x1abeb6=_0x562881['length']-0x1,_0xb01052;_0x1abeb6>=0x0;_0x1abeb6--)(_0xb01052=_0x562881[_0x1abeb6])&&(_0xcd3368=_0xb01052(_0xcd3368)||_0xcd3368);return _0xcd3368;},Ue=(_0x24c9f5,_0x5601f6)=>(_0x1be0b9,_0x49e714)=>_0x5601f6(_0x1be0b9,_0x49e714,_0x24c9f5);let ot=class extends _0x442ddb{constructor(_0xab4944,_0x5c01b6,_0x58ff38,_0xcd1438,_0x2d879d){var _0x458bcc=_0x187534;super(),this['_injector']=_0xab4944,this['_univerInstanceService']=_0x5c01b6,this[_0x458bcc(0x396)]=_0x58ff38,this[_0x458bcc(0x2cd)]=_0xcd1438,this['_collaborationUIEventService']=_0x2d879d,this[_0x458bcc(0x136)](),this[_0x458bcc(0x1fa)]();}[_0x187534(0x1fa)](){var _0x1f2384=_0x187534;const _0x4feb27=async _0x389614=>{var _0xc7b2b5=_0x8b56;(await this['_collaborationSessionService'][_0xc7b2b5(0x379)](_0x389614))['event$'][_0xc7b2b5(0x201)](_0x50625a(_0x4d4b33=>_0x4d4b33['eventID']===_0xb98076['SHOULD_CLOSE_CONN']),_0x37ab82(this['dispose$']))['subscribe'](_0x426ae4=>{var _0x25ed73=_0xc7b2b5;const _0x3d61ad=_0x426ae4,{reason:_0x5c670a}=_0x3d61ad[_0x25ed73(0x247)];this[_0x25ed73(0x138)][_0x25ed73(0x31f)]({'id':re['CLOSE_ROOM'],'data':_0x5c670a}),this['_permissionService']['updatePermissionPoint'](new _0x56beb9(_0x389614)['id'],!0x1),this[_0x25ed73(0x2cd)][_0x25ed73(0x17c)](_0x389614);});};_0x20e52c(this[_0x1f2384(0x2bf)][_0x1f2384(0x306)](_0x429e1a['UNIVER_SHEET']),this[_0x1f2384(0x2bf)][_0x1f2384(0x306)](_0x429e1a[_0x1f2384(0x161)]))[_0x1f2384(0x201)](_0x4ee1f7(_0x26a251=>_0x26a251[_0x1f2384(0x341)]()),_0x50625a(_0x4baa10=>!_0x398366(_0x4baa10)),_0x37ab82(this['dispose$']))['subscribe'](_0x1b6487=>{_0x4feb27(_0x1b6487);});}['_initUnitPermissionChange'](){var _0xe173b5=_0x187534;const _0x5f454d=async _0xef3031=>{var _0x4c0f24=_0x8b56;const _0x1350e0=await this[_0x4c0f24(0x2cd)][_0x4c0f24(0x379)](_0xef3031),_0x4dfb0c=this[_0x4c0f24(0x20d)][_0x4c0f24(0x12c)](_0x2c62c7);_0x1350e0[_0x4c0f24(0x210)][_0x4c0f24(0x201)](_0x50625a(_0x596180=>_0x596180[_0x4c0f24(0x1bf)]===_0xb98076[_0x4c0f24(0x300)]),_0x37ab82(this['dispose$']))[_0x4c0f24(0x2f2)](_0x3a50f7=>{var _0x583648=_0x4c0f24;const _0x3e7b6f=_0x3a50f7,{objectId:_0x59977a}=_0x3e7b6f[_0x583648(0x247)];_0x59977a===_0xef3031?_0x4dfb0c[_0x583648(0x144)](_0xef3031):_0x4dfb0c[_0x583648(0x2d0)](_0xef3031,_0x59977a);});};_0x20e52c(this[_0xe173b5(0x2bf)][_0xe173b5(0x306)](_0x429e1a[_0xe173b5(0x258)]))[_0xe173b5(0x201)](_0x4ee1f7(_0x4957c5=>_0x4957c5[_0xe173b5(0x341)]()),_0x50625a(_0x4caa4f=>!_0x398366(_0x4caa4f)),_0x37ab82(this[_0xe173b5(0x2da)]))[_0xe173b5(0x2f2)](_0x2fa04a=>{_0x5f454d(_0x2fa04a);});}};ot=ir([Ue(0x0,_0x3dae34(_0x11f94e)),Ue(0x1,_0x59f9c0),Ue(0x2,_0xa09fd9),Ue(0x3,_0x3dae34(we)),Ue(0x4,_0x3dae34(ve))],ot);var sr=Object[_0x187534(0x268)],nr=(_0x24cfbe,_0x42d9b8,_0x5d820d,_0x35c7d2)=>{var _0x142831=_0x187534;for(var _0x515002=_0x35c7d2>0x1?void 0x0:_0x35c7d2?sr(_0x42d9b8,_0x5d820d):_0x42d9b8,_0x275258=_0x24cfbe[_0x142831(0x134)]-0x1,_0x1ec329;_0x275258>=0x0;_0x275258--)(_0x1ec329=_0x24cfbe[_0x275258])&&(_0x515002=_0x1ec329(_0x515002)||_0x515002);return _0x515002;},ai=(_0x25f9c8,_0x3042c3)=>(_0x4b2e02,_0x581958)=>_0x3042c3(_0x4b2e02,_0x581958,_0x25f9c8);let Ct=class{constructor(_0x5d6b07,_0x281e84){var _0x508342=_0x187534;this[_0x508342(0x32d)]=_0x5d6b07,this[_0x508342(0x27c)]=_0x281e84;}async['getUnitOnRev'](_0x24fb26,_0x59da48){var _0xf4df46=_0x187534,_0x1fc6c5;const {unitID:_0x166e1c,type:_0x5c565e,revision:_0x2e6211=0x0}=_0x59da48,_0x1d931d=this[_0xf4df46(0x2f6)]()+'/'+_0x5c565e+'/unit/'+_0x166e1c+_0xf4df46(0x193)+_0x2e6211,_0x423adc=(await this['_httpService'][_0xf4df46(0x12c)](_0x1d931d))[_0xf4df46(0x368)],_0x3e5436=(_0x1fc6c5=_0x423adc[_0xf4df46(0x207)])==null?void 0x0:_0x1fc6c5['workbook'];if(_0x3e5436){const _0x5b85dd=_0x3e5436==null?void 0x0:_0x3e5436[_0xf4df46(0x31e)],_0x18a815=_0x300dd1['encode'](_0x12f643(_0x5b85dd));_0x3e5436['originalMeta']=_0x18a815,Object[_0xf4df46(0x2b4)](_0x3e5436[_0xf4df46(0x393)])[_0xf4df46(0x148)](([,_0x5bf97f])=>{var _0x32ef1e=_0xf4df46;const _0x14ad30=_0x5bf97f['originalMeta'],_0x303c79=_0x300dd1[_0x32ef1e(0x1b0)](_0x12f643(_0x14ad30));_0x5bf97f[_0x32ef1e(0x31e)]=_0x303c79;});}return _0x423adc;}async[_0x187534(0xc3)](_0x40de68,_0x16098c){var _0x1a9735=_0x187534;const {unitID:_0x1600a8,type:_0x1bb892,blockID:_0x672fcb}=_0x16098c,_0x4b3299=this[_0x1a9735(0x372)]()+'/'+_0x1bb892+'/unit/'+_0x1600a8+'/block/'+_0x672fcb;return(await this[_0x1a9735(0x27c)][_0x1a9735(0x12c)](_0x4b3299))['body'];}async[_0x187534(0x2e7)](_0x442dbe,_0x9d3ef4){var _0x2f8063=_0x187534;const {unitID:_0x59da77,type:_0x1887fa,blockID:_0x2a0ce8}=_0x9d3ef4,_0x4c73cc=this['_getAPIPrefix']()+'/block/'+_0x1887fa+_0x2f8063(0xe0)+_0x59da77+_0x2f8063(0x196)+_0x2a0ce8;return(await this[_0x2f8063(0x27c)]['get'](_0x4c73cc))[_0x2f8063(0x368)];}async[_0x187534(0x255)](_0x2929cc,_0x51a15b){var _0x564b3f=_0x187534;const {unitID:_0x35a4dc,type:_0x43250a,from:_0x15fef6,to:_0x2fcb6b}=_0x51a15b,_0x379f90=this[_0x564b3f(0x372)]()+'/'+_0x43250a+'/unit/'+_0x35a4dc+_0x564b3f(0x183)+_0x15fef6+_0x564b3f(0x3b2)+_0x2fcb6b;return(await this[_0x564b3f(0x27c)]['get'](_0x379f90))[_0x564b3f(0x368)];}['getSnapshotAPIPath'](){var _0x1932dd=_0x187534,_0x1e383d;return(_0x1e383d=this['_configService'][_0x1932dd(0x384)](ms))!=null?_0x1e383d:this[_0x1932dd(0x372)]();}[_0x187534(0x372)](){var _0x4e69f0=_0x187534,_0x38cab0;const _0x24a1e5=this[_0x4e69f0(0x32d)][_0x4e69f0(0x384)](K);return(_0x38cab0=_0x24a1e5==null?void 0x0:_0x24a1e5[_0x4e69f0(0xe3)])!=null?_0x38cab0:ps;}async[_0x187534(0x113)](_0x3d0451,_0x111b1a){var _0x58d3dd=_0x187534;const _0x1d02a7=_0x58d3dd(0x28b)+_0x111b1a[_0x58d3dd(0x29c)]+_0x58d3dd(0xe0)+_0x111b1a[_0x58d3dd(0x282)]+'/resources';return(await this[_0x58d3dd(0x27c)]['get'](_0x1d02a7,{'params':{'resourceId':JSON['stringify'](_0x111b1a['resourceIDs'])}}))[_0x58d3dd(0x368)];}['saveSnapshot'](){var _0x371452=_0x187534;throw new Error(_0x371452(0x2ab));}[_0x187534(0x12e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x187534(0x121)](){var _0x28f04a=_0x187534;throw new Error(_0x28f04a(0x2ab));}[_0x187534(0x1b6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x359156=_0x187534;throw new Error(_0x359156(0x2ab));}[_0x187534(0x150)](){var _0x3adf80=_0x187534;throw new Error(_0x3adf80(0x2ab));}};Ct=nr([ai(0x0,_0x6fb4f3),ai(0x1,_0x3dae34(_0x3e9fc0))],Ct);var rr=Object[_0x187534(0x268)],ar=(_0x4d2b9c,_0x51a302,_0x1696f3,_0x5df85c)=>{var _0x6a8ccf=_0x187534;for(var _0x3ef092=_0x5df85c>0x1?void 0x0:_0x5df85c?rr(_0x51a302,_0x1696f3):_0x51a302,_0x467f7d=_0x4d2b9c[_0x6a8ccf(0x134)]-0x1,_0x178af7;_0x467f7d>=0x0;_0x467f7d--)(_0x178af7=_0x4d2b9c[_0x467f7d])&&(_0x3ef092=_0x178af7(_0x3ef092)||_0x3ef092);return _0x3ef092;},Ae=(_0xf0454c,_0xd166ba)=>(_0x585661,_0x4c9c66)=>_0xd166ba(_0x585661,_0x4c9c66,_0xf0454c);let bt=class extends _0x4fca76{constructor(_0x52e3d8,_0x2a39e3,_0x2313ec,_0x3e577b,_0x16f01e){var _0x31cbde=_0x187534;super(_0x52e3d8,_0x2a39e3,_0x2313ec),this['_transformService']=_0x3e577b,this[_0x31cbde(0x299)]=_0x16f01e;}[_0x187534(0x23d)](_0x570cf7,_0x5a9b83){var _0x5cac3d=_0x187534;const _0x1767e1=this[_0x5cac3d(0xb6)](_0x570cf7);if(_0x1767e1)try{const _0x77ab3c=this['_transformStack'](_0x1767e1,_0x5a9b83);this[_0x5cac3d(0x370)](_0x570cf7,_0x77ab3c);}catch(_0x26599c){this[_0x5cac3d(0x299)]['error']('[CollaborationUndoRedoService]',_0x26599c),this[_0x5cac3d(0x15e)](_0x570cf7);}const _0x5d36b7=this[_0x5cac3d(0xc4)](_0x570cf7);if(_0x5d36b7)try{const _0x30fc25=this['_transformStack'](_0x5d36b7,_0x5a9b83);this[_0x5cac3d(0x314)](_0x570cf7,_0x30fc25);}catch(_0x50b3da){this[_0x5cac3d(0x299)]['error'](_0x50b3da),this['_clearRedo'](_0x570cf7);}}[_0x187534(0x15e)](_0x14e47e){var _0x477c06=_0x187534;const _0x553201=this[_0x477c06(0xb6)](_0x14e47e);_0x553201&&(_0x553201[_0x477c06(0x134)]=0x0,this[_0x477c06(0x2f8)]());}[_0x187534(0x1e0)](_0x360707){var _0x5d4e36=_0x187534;const _0x4b2368=this[_0x5d4e36(0xc4)](_0x360707);_0x4b2368&&(_0x4b2368[_0x5d4e36(0x134)]=0x0,this['_updateStatus']());}[_0x187534(0x370)](_0x374522,_0x4bd686){var _0x7b8331=_0x187534;this['_undoStacks'][_0x7b8331(0x366)](_0x374522,_0x4bd686),this['_updateStatus']();}[_0x187534(0x314)](_0x34a97f,_0x3bd6c3){var _0x492678=_0x187534;this['_redoStacks'][_0x492678(0x366)](_0x34a97f,_0x3bd6c3),this[_0x492678(0x2f8)]();}['_transformStack'](_0x59eb01,_0x299aef){var _0x2c8170=_0x187534;const _0x191d16=[];let _0x19da6d=_0x299aef,_0x1cd6ea=_0x299aef;for(let _0xa0976d=_0x59eb01['length']-0x1;_0xa0976d>=0x0;_0xa0976d--){const {unitID:_0x52bd96,undoMutations:_0x258905,redoMutations:_0x177f73}=_0x59eb01[_0xa0976d],_0x470128=this[_0x2c8170(0x30c)]['transformMutationsWithChangeset'](_0x19da6d,_0x258905),_0x47c784=this['_transformService']['transformMutationsWithChangeset'](_0x1cd6ea,_0x177f73);if(_0x5277bf(_0x470128)||_0x5277bf(_0x47c784)){this['_logService'][_0x2c8170(0x100)](_0x2c8170(0xf0),'transformStack\x20failed!',_0x470128,_0x47c784);break;}_0x19da6d=_0x470128[_0x2c8170(0x28d)],_0x1cd6ea=_0x47c784[_0x2c8170(0x28d)],_0x191d16[_0x2c8170(0x239)]({'unitID':_0x52bd96,'undoMutations':_0x470128['m2Prime'],'redoMutations':_0x47c784['m2Prime']});}return _0x191d16[_0x2c8170(0xf4)]();}};bt=ar([Ae(0x0,_0x59f9c0),Ae(0x1,_0x3e7b0d),Ae(0x2,_0x11c2a8),Ae(0x3,_0x3bc245),Ae(0x4,_0x4dc6a1)],bt);var or=Object[_0x187534(0x29a)],cr=Object['getOwnPropertyDescriptor'],_r=(_0x22e1c2,_0x3e84b4,_0xe00bb9)=>_0x3e84b4 in _0x22e1c2?or(_0x22e1c2,_0x3e84b4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe00bb9}):_0x22e1c2[_0x3e84b4]=_0xe00bb9,hr=(_0x59f812,_0x5bd205,_0x32db1a,_0x3df6fc)=>{var _0x1efd1a=_0x187534;for(var _0x148cd5=_0x3df6fc>0x1?void 0x0:_0x3df6fc?cr(_0x5bd205,_0x32db1a):_0x5bd205,_0x5dbb83=_0x59f812[_0x1efd1a(0x134)]-0x1,_0x5283e7;_0x5dbb83>=0x0;_0x5dbb83--)(_0x5283e7=_0x59f812[_0x5dbb83])&&(_0x148cd5=_0x5283e7(_0x148cd5)||_0x148cd5);return _0x148cd5;},pt=(_0x373e7c,_0x2e6ac5)=>(_0x2233e6,_0x49dc4a)=>_0x2e6ac5(_0x2233e6,_0x49dc4a,_0x373e7c),lr=(_0x505a75,_0x3e9898,_0x320895)=>_r(_0x505a75,_0x3e9898+'',_0x320895);const ur=_0x187534(0x13f);let Dt=class extends _0x1510d5{constructor(_0x16875b,_0x50f087,_0x3049ed,_0x4c0c92){var _0x40e5e5=_0x187534;super(),D(this,'_config'),(this['_logService']=_0x50f087,this[_0x40e5e5(0x20d)]=_0x3049ed,this[_0x40e5e5(0x32d)]=_0x4c0c92);const {..._0x647042}=_0x128f91({},$s,_0x16875b);if(!_0x647042[_0x40e5e5(0x234)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x40e5e5(0xc1)]=_0x647042,this[_0x40e5e5(0x32d)][_0x40e5e5(0x246)](K,_0x647042);}[_0x187534(0x32c)](){var _0x5bc06d=_0x187534;this[_0x5bc06d(0x10f)](),this[_0x5bc06d(0x1fb)]();}[_0x187534(0x10f)](){var _0x16bf8d=_0x187534,_0x57f3ec,_0x1c4204;this[_0x16bf8d(0x20d)][_0x16bf8d(0x173)](_0x133b92)&&this[_0x16bf8d(0x299)]['error'](_0x16bf8d(0x318),_0x16bf8d(0x337));const _0x2c1a5a=_0x197f75([[_0x133b92,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0x16bf8d(0xc1)][_0x16bf8d(0x234)]}],[_0x4cd1f2,{'useClass':Ct}],[_0x3e6031,{'useClass':Tt}],[_0x43a872,{'useClass':Rt}],[_0x13b223,{'useClass':Nt}],[nt],[gt]],(_0x57f3ec=this['_config'])==null?void 0x0:_0x57f3ec[_0x16bf8d(0x24f)]);if(!((_0x1c4204=this[_0x16bf8d(0xc1)])!=null&&_0x1c4204[_0x16bf8d(0xe4)])){const _0x286a1a=_0x2c1a5a[_0x16bf8d(0x238)](([_0xc2a5b0])=>_0xc2a5b0===_t);_0x286a1a!==-0x1&&_0x2c1a5a[_0x16bf8d(0x329)](_0x286a1a,0x1);}_0x196ffc(this[_0x16bf8d(0x20d)],_0x2c1a5a);}[_0x187534(0x1fb)](){var _0x2c7fa9=_0x187534,_0x4683a4,_0x3fa397,_0x5a31af;this[_0x2c7fa9(0x20d)][_0x2c7fa9(0x12c)](_0x3e9fc0)[_0x2c7fa9(0x38f)]({'priority':0x14,'interceptor':_0x29564b({'maxParallel':0x6})}),(_0x4683a4=this[_0x2c7fa9(0xc1)])!=null&&_0x4683a4[_0x2c7fa9(0x261)]||(_0x3fa397=this[_0x2c7fa9(0x20d)]['get'](X,_0x528a70['OPTIONAL']))==null||_0x3fa397['disableLocalCache'](),(_0x5a31af=this['_config'])!=null&&_0x5a31af['enableAuthServer']&&_0x262af3(this['_injector'],[[rt]]),_0x262af3(this['_injector'],[[at],[nt],[ot]]);}};lr(Dt,_0x187534(0x296),ur),Dt=hr([_0x26933f(_0x35c349,_0x484203,_0x20e038),pt(0x1,_0x4dc6a1),pt(0x2,_0x3dae34(_0x11f94e)),pt(0x3,_0x6fb4f3)],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,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,Dr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Rr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Gs as INetworkConditionService,_t as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Nr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,br as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Rs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Ws as deserializeToCombResponse,yr as getLocalCacheKey,Ys as serializeCombRequest};
|