@univerjs-pro/collaboration-client 0.12.2-nightly.202511241159 → 0.12.2-nightly.202511290732
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/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/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/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/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/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 _0x4328bf=_0x3c32;(function(_0x3756f5,_0x74a1f0){var _0x1aa00a=_0x3c32,_0x4bc9c3=_0x3756f5();while(!![]){try{var _0xdfb71a=parseInt(_0x1aa00a(0x1d1))/0x1+parseInt(_0x1aa00a(0x2a8))/0x2+-parseInt(_0x1aa00a(0x2f3))/0x3+parseInt(_0x1aa00a(0x207))/0x4*(parseInt(_0x1aa00a(0x219))/0x5)+parseInt(_0x1aa00a(0x196))/0x6*(-parseInt(_0x1aa00a(0x1d8))/0x7)+parseInt(_0x1aa00a(0x155))/0x8+parseInt(_0x1aa00a(0x100))/0x9*(parseInt(_0x1aa00a(0x386))/0xa);if(_0xdfb71a===_0x74a1f0)break;else _0x4bc9c3['push'](_0x4bc9c3['shift']());}catch(_0x530b0b){_0x4bc9c3['push'](_0x4bc9c3['shift']());}}}(_0x50b6,0x45078));var bi=Object[_0x4328bf(0x1c9)],Di=(_0x20a196,_0x30e84e,_0x9e79c0)=>_0x30e84e in _0x20a196?bi(_0x20a196,_0x30e84e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9e79c0}):_0x20a196[_0x30e84e]=_0x9e79c0,D=(_0x35ff89,_0x2d9aa4,_0x466b91)=>Di(_0x35ff89,typeof _0x2d9aa4!=_0x4328bf(0x138)?_0x2d9aa4+'':_0x2d9aa4,_0x466b91);import{CollaborationEvent as _0x5d996f,ITransformService as _0x1b3d1f,isTransformMutationsWithChangesetSuccess as _0x1ae9ad,mapDocumentTypeToUniverType as _0x58251b,RevisionService as _0x2e1984,isTransformChangesetsSuccess as _0x19ed71,EmptyMutationInfo as _0x3c4c5b,CompressMutationService as _0x383362,parseProtocolChangeset as _0x7a556,uuidv4 as _0x5009a5,ISnapshotServerService as _0x3da798,parseChangesetToProtocol as _0x2f0f25,SnapshotService as _0x33eb54,textEncoder as _0x6338c9,b64DecodeUnicode as _0x3943bc,isTransformMutationsWithChangesetFailure as _0xbaebf9,UniverCollaborationPlugin as _0x40a049}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x49e0a6,Inject as _0x1dda19,UserManagerService as _0x5bc58c,Disposable as _0x52aa1d,UniverInstanceType as _0xa25e24,ILogService as _0x1d1a3b,IConfigService as _0x53068b,Optional as _0x334ec4,RxDisposable as _0x276e6a,createIdentifier as _0xb1f68a,Injector as _0xee3a85,Tools as _0x2d55f4,Rectangle as _0x291960,ICommandService as _0x446ca0,JSONX as _0x4d3744,IUndoRedoService as _0x16cbab,IPermissionService as _0xf19167,LocaleService as _0xcdf5b0,sequenceExecute as _0x4b9f5a,toDisposable as _0x473a26,CommandType as _0x8c8749,DisposableCollection as _0x507ed9,Workbook as _0x5bf3d7,generateRandomId as _0x5dc9b0,MentionType as _0x5d05e3,isInternalEditorID as _0x3aaba5,LocalUndoRedoService as _0x14f28e,IContextService as _0x1d4060,DependentOn as _0x352624,Plugin as _0x1ba728,merge as _0x42ac59,mergeOverrideWithDependencies as _0x19aada,IAuthzIoService as _0x2318bd,IMentionIOService as _0x2b884a,registerDependencies as _0x358d1a,Quantity as _0x166dcf,touchDependencies as _0x55b8d5}from'@univerjs/core';import{RichTextEditingMutation as _0x5c1719}from'@univerjs/docs';import{SheetsSelectionsService as _0x5ef77b,SetSelectionsOperation as _0x123170,InsertSheetMutation as _0x56ad2b,WorkbookEditablePermission as _0x104c5b,SheetPermissionInitController as _0x12d481}from'@univerjs/sheets';import{Subject as _0x37fbef,merge as _0x4ad722,of as _0x55b75d,BehaviorSubject as _0x39c092,takeUntil as _0x11c380,ReplaySubject as _0x116082,take as _0x214f29,map as _0x3579d8,shareReplay as _0x3af9c2,firstValueFrom as _0x6669ea,concatMap as _0x1d0b42}from'rxjs';import{ITelemetryService as _0x1268ad}from'@univerjs/telemetry';import{map as _0x48e852,take as _0x26bac6,filter as _0x1e7c80,delay as _0x59b0c7,takeUntil as _0xff1faa}from'rxjs/operators';import{HTTPService as _0xd0787f,ISocketService as _0x23fc33,MergeInterceptorFactory as _0x353dcb,HTTPRequest as _0x49bbd9,UniverNetworkPlugin as _0x363f37,ThresholdInterceptorFactory as _0x39985f}from'@univerjs/network';import{ImageSourceType as _0x1a396d,ImageUploadStatusType as _0x49cb6d,IImageIoService as _0x4c0343}from'@univerjs/drawing';import{getGlobalObject as _0x65d93f}from'@univerjs-pro/license';const fs=_0x4328bf(0xdb),vs=_0x4328bf(0x22b),ps=0x7d0,Es=_0x4328bf(0xc5),Sr=_0x4328bf(0x324),ms='HEARTBEAT_INTERVAL',Is=0x7530,di=_0x4328bf(0x391),fi=0x4e20,Ss=0x4e20,gs=_0x4328bf(0x139),Ts=0x3,gr=_0x4328bf(0xf9),Tr=0x3e8,Os=_0x4328bf(0x2a3),Rs='/universer-api/oidc/authpage',Or=_0x4328bf(0x148),Rr=_0x4328bf(0x345);var vi=(_0x5f080a=>(_0x5f080a[_0x5f080a[_0x4328bf(0x2dd)]=0x0]=_0x4328bf(0x2dd),_0x5f080a[_0x5f080a['OK']=0x1]='OK',_0x5f080a[_0x5f080a['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x5f080a[_0x5f080a[_0x4328bf(0xc0)]=0x3]=_0x4328bf(0xc0),_0x5f080a[_0x5f080a['NOT_FOUND']=0x4]=_0x4328bf(0x1e7),_0x5f080a[_0x5f080a[_0x4328bf(0x3b2)]=0x5]='UNAUTHENTICATED',_0x5f080a[_0x5f080a[_0x4328bf(0x1ac)]=0x6]=_0x4328bf(0x1ac),_0x5f080a[_0x5f080a[_0x4328bf(0x1ae)]=0x7]=_0x4328bf(0x1ae),_0x5f080a[_0x5f080a[_0x4328bf(0x3ca)]=0x8]=_0x4328bf(0x3ca),_0x5f080a[_0x5f080a[_0x4328bf(0x362)]=0x9]=_0x4328bf(0x362),_0x5f080a[_0x5f080a[_0x4328bf(0x25a)]=0xa]=_0x4328bf(0x25a),_0x5f080a[_0x5f080a['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4328bf(0xf0),_0x5f080a[_0x5f080a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x4328bf(0x32a),_0x5f080a[_0x5f080a['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5f080a[_0x5f080a[_0x4328bf(0x21d)]=0xe]=_0x4328bf(0x21d),_0x5f080a[_0x5f080a[_0x4328bf(0x29c)]=0xf]=_0x4328bf(0x29c),_0x5f080a[_0x5f080a[_0x4328bf(0xed)]=0x10]=_0x4328bf(0xed),_0x5f080a[_0x5f080a[_0x4328bf(0x203)]=0x64]=_0x4328bf(0x203),_0x5f080a[_0x5f080a[_0x4328bf(0x123)]=0x65]=_0x4328bf(0x123),_0x5f080a[_0x5f080a[_0x4328bf(0x1d3)]=0xc9]=_0x4328bf(0x1d3),_0x5f080a[_0x5f080a['USER_IS_ANONYMOUS']=0xca]=_0x4328bf(0x134),_0x5f080a[_0x5f080a[_0x4328bf(0x1ca)]=0x1389]=_0x4328bf(0x1ca),_0x5f080a[_0x5f080a[_0x4328bf(0xf2)]=0x1771]=_0x4328bf(0xf2),_0x5f080a[_0x5f080a[_0x4328bf(0x3a0)]=0x1772]=_0x4328bf(0x3a0),_0x5f080a[_0x5f080a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4328bf(0x1a9),_0x5f080a[_0x5f080a['APPLY_REJECT']=0x1b59]=_0x4328bf(0x1f2),_0x5f080a[_0x5f080a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4328bf(0x329),_0x5f080a[_0x5f080a[_0x4328bf(0x15b)]=0x1b5b]=_0x4328bf(0x15b),_0x5f080a[_0x5f080a[_0x4328bf(0x264)]=0x1b5c]=_0x4328bf(0x264),_0x5f080a[_0x5f080a[_0x4328bf(0x2e8)]=0x1b5d]=_0x4328bf(0x2e8),_0x5f080a[_0x5f080a[_0x4328bf(0x281)]=0x1f41]=_0x4328bf(0x281),_0x5f080a[_0x5f080a[_0x4328bf(0x1cf)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5f080a[_0x5f080a[_0x4328bf(0x37a)]=0x232a]=_0x4328bf(0x37a),_0x5f080a[_0x5f080a[_0x4328bf(0x1c6)]=0x232b]=_0x4328bf(0x1c6),_0x5f080a[_0x5f080a[_0x4328bf(0x1af)]=0x232c]=_0x4328bf(0x1af),_0x5f080a[_0x5f080a[_0x4328bf(0x117)]=0x232d]=_0x4328bf(0x117),_0x5f080a[_0x5f080a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4328bf(0x130),_0x5f080a[_0x5f080a[_0x4328bf(0x101)]=0x2712]=_0x4328bf(0x101),_0x5f080a[_0x5f080a[_0x4328bf(0x225)]=0x2713]=_0x4328bf(0x225),_0x5f080a[_0x5f080a[_0x4328bf(0x2d4)]=0x2714]=_0x4328bf(0x2d4),_0x5f080a[_0x5f080a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4328bf(0xe1),_0x5f080a[_0x5f080a[_0x4328bf(0x1aa)]=0x271b]=_0x4328bf(0x1aa),_0x5f080a[_0x5f080a[_0x4328bf(0x30e)]=0x271c]=_0x4328bf(0x30e),_0x5f080a[_0x5f080a[_0x4328bf(0x2d1)]=0x271d]=_0x4328bf(0x2d1),_0x5f080a[_0x5f080a['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5f080a[_0x5f080a[_0x4328bf(0x39e)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5f080a[_0x5f080a[_0x4328bf(0x1fd)]=0x2720]=_0x4328bf(0x1fd),_0x5f080a[_0x5f080a[_0x4328bf(0x129)]=0x2af9]=_0x4328bf(0x129),_0x5f080a[_0x5f080a[_0x4328bf(0x1fb)]=0x2ee1]=_0x4328bf(0x1fb),_0x5f080a[_0x5f080a[_0x4328bf(0x22d)]=0x2ee2]=_0x4328bf(0x22d),_0x5f080a[_0x5f080a['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x5f080a[_0x5f080a[_0x4328bf(0xfc)]=0x2ee4]=_0x4328bf(0xfc),_0x5f080a[_0x5f080a[_0x4328bf(0x2d0)]=0x2ee5]=_0x4328bf(0x2d0),_0x5f080a[_0x5f080a[_0x4328bf(0x311)]=0x32c9]=_0x4328bf(0x311),_0x5f080a[_0x5f080a[_0x4328bf(0x124)]=0x32ca]=_0x4328bf(0x124),_0x5f080a[_0x5f080a[_0x4328bf(0x29f)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5f080a[_0x5f080a['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x4328bf(0x2a1),_0x5f080a[_0x5f080a[_0x4328bf(0x157)]=0x36b2]=_0x4328bf(0x157),_0x5f080a[_0x5f080a[_0x4328bf(0x350)]=0x36b3]=_0x4328bf(0x350),_0x5f080a[_0x5f080a['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x4328bf(0x122),_0x5f080a[_0x5f080a[_0x4328bf(0x184)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x5f080a[_0x5f080a[_0x4328bf(0x1d7)]=0x3716]=_0x4328bf(0x1d7),_0x5f080a[_0x5f080a[_0x4328bf(0x3a3)]=0x3717]=_0x4328bf(0x3a3),_0x5f080a[_0x5f080a[_0x4328bf(0x393)]=0x37dd]=_0x4328bf(0x393),_0x5f080a[_0x5f080a[_0x4328bf(0x3bc)]=0x3a99]=_0x4328bf(0x3bc),_0x5f080a[_0x5f080a[_0x4328bf(0x1f0)]=0x3a9a]=_0x4328bf(0x1f0),_0x5f080a[_0x5f080a[_0x4328bf(0x33e)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x5f080a[_0x5f080a[_0x4328bf(0x254)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x5f080a[_0x5f080a[_0x4328bf(0x2a9)]=0x3a9d]=_0x4328bf(0x2a9),_0x5f080a[_0x5f080a[_0x4328bf(0x1a7)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5f080a[_0x5f080a[_0x4328bf(0x27c)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5f080a[_0x5f080a[_0x4328bf(0xea)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x5f080a[_0x5f080a[_0x4328bf(0x1a4)]=-0x1]=_0x4328bf(0x1a4),_0x5f080a))(vi||{}),Q=(_0x182c3f=>(_0x182c3f[_0x182c3f[_0x4328bf(0x274)]=0x0]=_0x4328bf(0x274),_0x182c3f[_0x182c3f[_0x4328bf(0x268)]=0x1]='UNIVER_DOC',_0x182c3f[_0x182c3f[_0x4328bf(0xc6)]=0x2]=_0x4328bf(0xc6),_0x182c3f[_0x182c3f['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x182c3f[_0x182c3f['UNIVER_PROJECT']=0x4]=_0x4328bf(0x359),_0x182c3f[_0x182c3f[_0x4328bf(0x1a4)]=-0x1]=_0x4328bf(0x1a4),_0x182c3f))(Q||{}),j=(_0x2b0e9f=>(_0x2b0e9f[_0x2b0e9f[_0x4328bf(0x24d)]=0x0]=_0x4328bf(0x24d),_0x2b0e9f[_0x2b0e9f[_0x4328bf(0x2b4)]=0x1]=_0x4328bf(0x2b4),_0x2b0e9f[_0x2b0e9f['JOIN']=0x2]='JOIN',_0x2b0e9f[_0x2b0e9f[_0x4328bf(0x28a)]=0x3]=_0x4328bf(0x28a),_0x2b0e9f[_0x2b0e9f[_0x4328bf(0x1b0)]=0x4]='INGEST',_0x2b0e9f[_0x2b0e9f[_0x4328bf(0x2cf)]=0x5]=_0x4328bf(0x2cf),_0x2b0e9f[_0x2b0e9f[_0x4328bf(0x19a)]=0x6]=_0x4328bf(0x19a),_0x2b0e9f[_0x2b0e9f['UNRECOGNIZED']=-0x1]=_0x4328bf(0x1a4),_0x2b0e9f))(j||{}),pe=(_0x47d86b=>(_0x47d86b[_0x47d86b['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x47d86b[_0x47d86b['OK']=0x1]='OK',_0x47d86b[_0x47d86b[_0x4328bf(0x22e)]=0x2]=_0x4328bf(0x22e),_0x47d86b[_0x47d86b[_0x4328bf(0x266)]=0x3e9]='JOIN_ROOM_FULL',_0x47d86b[_0x47d86b['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x4328bf(0x320),_0x47d86b[_0x47d86b[_0x4328bf(0x25d)]=0x3eb]=_0x4328bf(0x25d),_0x47d86b[_0x47d86b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x4328bf(0x3ab),_0x47d86b[_0x47d86b[_0x4328bf(0x1a4)]=-0x1]='UNRECOGNIZED',_0x47d86b))(pe||{}),pi=(_0x4f3f74=>(_0x4f3f74[_0x4f3f74[_0x4328bf(0xf3)]=0x0]=_0x4328bf(0xf3),_0x4f3f74[_0x4f3f74[_0x4328bf(0x273)]=0x1]='HttpImport',_0x4f3f74[_0x4f3f74[_0x4328bf(0x1a8)]=0x2]=_0x4328bf(0x1a8),_0x4f3f74[_0x4f3f74[_0x4328bf(0x1df)]=0x3]=_0x4328bf(0x1df),_0x4f3f74[_0x4f3f74[_0x4328bf(0x1f5)]=0x4]=_0x4328bf(0x1f5),_0x4f3f74[_0x4f3f74[_0x4328bf(0x24c)]=0x5]='UserProfileImg',_0x4f3f74[_0x4f3f74[_0x4328bf(0x2d6)]=0x6]=_0x4328bf(0x2d6),_0x4f3f74[_0x4f3f74[_0x4328bf(0x1a4)]=-0x1]='UNRECOGNIZED',_0x4f3f74))(pi||{});const Cs='collaboration_new_changeset';function Ns(_0x2d8653){var _0x2b1bf1=_0x4328bf;return JSON[_0x2b1bf1(0xe2)](_0x2d8653)['length'];}var re=(_0x84c3ff=>(_0x84c3ff['OTHER_CLIENT_EDITING']=_0x4328bf(0x3b6),_0x84c3ff['PERMISSION_DENIED']=_0x4328bf(0xc0),_0x84c3ff['CONFLICT']=_0x4328bf(0x38d),_0x84c3ff[_0x4328bf(0x2d2)]='CLOSE_ROOM',_0x84c3ff[_0x4328bf(0x3ae)]=_0x4328bf(0x3ae),_0x84c3ff[_0x4328bf(0x263)]=_0x4328bf(0x263),_0x84c3ff[_0x4328bf(0x2f2)]='SOCKET_FAILED',_0x84c3ff['SUBMIT_CHANGESET_TIMEOUT']=_0x4328bf(0x221),_0x84c3ff))(re||{});class ve{constructor(){var _0x406f2c=_0x4328bf;D(this,_0x406f2c(0x2be),new _0x37fbef()),D(this,'event$',this[_0x406f2c(0x2be)][_0x406f2c(0x133)]());}[_0x4328bf(0x3bb)](_0x5a6bd9){var _0x4466eb=_0x4328bf;this[_0x4466eb(0x2be)][_0x4466eb(0x36e)](_0x5a6bd9);}}class Ei{constructor(){var _0x579ca3=_0x4328bf;D(this,'_commentUpdate$',new _0x37fbef()),D(this,_0x579ca3(0x218),this[_0x579ca3(0x2b6)][_0x579ca3(0x133)]());}[_0x4328bf(0xc2)](_0x136abd){var _0x16e2eb=_0x4328bf;this[_0x16e2eb(0x2b6)]['next'](_0x136abd);}}var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x3a22ab,_0x240d13,_0x4e8f2c,_0x5ecdb9)=>{var _0x5f0d26=_0x4328bf;for(var _0x1845e6=_0x5ecdb9>0x1?void 0x0:_0x5ecdb9?bs(_0x240d13,_0x4e8f2c):_0x240d13,_0x2b873f=_0x3a22ab[_0x5f0d26(0x384)]-0x1,_0x16ace5;_0x2b873f>=0x0;_0x2b873f--)(_0x16ace5=_0x3a22ab[_0x2b873f])&&(_0x1845e6=_0x16ace5(_0x1845e6)||_0x1845e6);return _0x1845e6;},Ft=(_0xecb0c8,_0x357ec3)=>(_0x42e937,_0x52b25e)=>_0x357ec3(_0x42e937,_0x52b25e,_0xecb0c8);let Pe=class extends _0x52aa1d{constructor(_0x18d941,_0x559c6a){var _0x5daa32=_0x4328bf;super(),D(this,_0x5daa32(0x1c3),new Map()),D(this,_0x5daa32(0x378),new _0x37fbef()),(this['_univerInstanceService']=_0x18d941,this[_0x5daa32(0x206)]=_0x559c6a,this['disposeWithMe'](_0x4ad722(this[_0x5daa32(0x2f5)]['getTypeOfUnitDisposed$'](_0xa25e24[_0x5daa32(0xc6)])[_0x5daa32(0x26f)](_0x48e852(_0x20693d=>_0x20693d[_0x5daa32(0x306)]())),this[_0x5daa32(0x2f5)][_0x5daa32(0x2b7)](_0xa25e24['UNIVER_DOC'])[_0x5daa32(0x26f)](_0x48e852(_0x3c8dfa=>_0x3c8dfa[_0x5daa32(0x306)]())),this['_univerInstanceService'][_0x5daa32(0x2b7)](_0xa25e24[_0x5daa32(0x3c1)])[_0x5daa32(0x26f)](_0x48e852(_0x25d43a=>_0x25d43a['getUnitId']())))[_0x5daa32(0x252)](_0x344854=>this[_0x5daa32(0x371)](_0x344854))));}[_0x4328bf(0x22c)](_0x58afd0){var _0x4c0ae2=_0x4328bf;return this[_0x4c0ae2(0x1c3)][_0x4c0ae2(0x2e7)](_0x58afd0)?_0x55b75d(this[_0x4c0ae2(0x1c3)][_0x4c0ae2(0x136)](_0x58afd0)):this[_0x4c0ae2(0x378)][_0x4c0ae2(0x26f)](_0x48e852(_0x3475d6=>{var _0x36e2a3=_0x4c0ae2;if(_0x3475d6===_0x58afd0)return this[_0x36e2a3(0x1c3)][_0x36e2a3(0x136)](_0x3475d6);}));}[_0x4328bf(0x1cc)](_0x2c31ce){var _0x160d04=_0x4328bf;this[_0x160d04(0x206)][_0x160d04(0x1cc)](_0x2c31ce);}[_0x4328bf(0x1cb)](){var _0x2f2ed6=_0x4328bf;return this['_userManagerService'][_0x2f2ed6(0x1cb)]();}['updateMember'](_0x1dcb70,_0x45f21b){var _0x5b9e32=_0x4328bf;let _0x517427=this['_roomMembers']['get'](_0x1dcb70);_0x517427||(_0x517427=new ys(),this[_0x5b9e32(0x1c3)]['set'](_0x1dcb70,_0x517427),this['_roomCreated$'][_0x5b9e32(0x36e)](_0x1dcb70)),_0x517427['updateMember'](_0x45f21b);}[_0x4328bf(0x38a)](_0x140c9c,_0x5bdb57){var _0x14921a=_0x4328bf;const _0x1bc3c2=this[_0x14921a(0x1c3)]['get'](_0x140c9c);_0x1bc3c2&&_0x1bc3c2[_0x14921a(0x38a)](_0x5bdb57);}['getRoom'](_0x1813b7){var _0x2190d6=_0x4328bf;return this[_0x2190d6(0x1c3)][_0x2190d6(0x136)](_0x1813b7);}[_0x4328bf(0x190)](_0x4f5a9a,_0x4243b2){var _0x46f8ce=_0x4328bf;const _0xd78f39=this[_0x46f8ce(0x1c3)][_0x46f8ce(0x136)](_0x4f5a9a);if(_0xd78f39)return _0xd78f39[_0x46f8ce(0x190)](_0x4243b2);}[_0x4328bf(0x371)](_0x5dfe2d){var _0x32118a=_0x4328bf;const _0x4a1c63=this['_roomMembers']['get'](_0x5dfe2d);_0x4a1c63&&(_0x4a1c63[_0x32118a(0x113)](),this['_roomMembers'][_0x32118a(0x3b8)](_0x5dfe2d));}[_0x4328bf(0x113)](){var _0x470b7f=_0x4328bf;this[_0x470b7f(0x1c3)][_0x470b7f(0x1ef)](_0x2fa995=>_0x2fa995[_0x470b7f(0x113)]()),this[_0x470b7f(0x1c3)][_0x470b7f(0x10c)](),this['_roomCreated$']['complete']();}};Pe=Ds([Ft(0x0,_0x49e0a6),Ft(0x1,_0x1dda19(_0x5bc58c))],Pe);class ys extends _0x52aa1d{constructor(){var _0x454f49=_0x4328bf;super(...arguments),D(this,_0x454f49(0x262),new Map()),D(this,_0x454f49(0x3cf),new _0x39c092(this[_0x454f49(0x262)])),D(this,_0x454f49(0x34b),this[_0x454f49(0x3cf)][_0x454f49(0x133)]());}[_0x4328bf(0x113)](){var _0x49810a=_0x4328bf;this[_0x49810a(0x262)][_0x49810a(0x10c)]();}[_0x4328bf(0x237)](_0x3fcf2a){var _0x44c3b5=_0x4328bf;this[_0x44c3b5(0x262)][_0x44c3b5(0x27f)](_0x3fcf2a['memberID'],_0x3fcf2a),this[_0x44c3b5(0x20e)]();}['removeMember'](_0x325dfd){var _0x1acbc0=_0x4328bf;this[_0x1acbc0(0x262)][_0x1acbc0(0x3b8)](_0x325dfd);}[_0x4328bf(0x190)](_0x2e832e){return this['_members']['get'](_0x2e832e);}[_0x4328bf(0x2fc)](){var _0x2d79a4=_0x4328bf;return Array[_0x2d79a4(0x279)](this['_members'][_0x2d79a4(0xef)]());}[_0x4328bf(0x20e)](){var _0x10c34e=_0x4328bf;this[_0x10c34e(0x3cf)]['next'](this[_0x10c34e(0x262)]);}}var Us=Object[_0x4328bf(0x10e)],As=(_0x3f0efc,_0x3b9226,_0x26cb89,_0x3b4101)=>{var _0x48add8=_0x4328bf;for(var _0x349c4a=_0x3b4101>0x1?void 0x0:_0x3b4101?Us(_0x3b9226,_0x26cb89):_0x3b9226,_0x78e9bd=_0x3f0efc[_0x48add8(0x384)]-0x1,_0x233277;_0x78e9bd>=0x0;_0x78e9bd--)(_0x233277=_0x3f0efc[_0x78e9bd])&&(_0x349c4a=_0x233277(_0x349c4a)||_0x349c4a);return _0x349c4a;},Oe=(_0x260d3c,_0x48d8b3)=>(_0xac8dc4,_0x86192)=>_0x48d8b3(_0xac8dc4,_0x86192,_0x260d3c),me=(_0x4002a6=>(_0x4002a6[_0x4002a6[_0x4328bf(0x112)]=0x0]=_0x4328bf(0x112),_0x4002a6[_0x4002a6[_0x4328bf(0x355)]=0x1]=_0x4328bf(0x355),_0x4002a6[_0x4002a6[_0x4328bf(0x17d)]=0x2]='OFFLINE',_0x4002a6[_0x4002a6[_0x4328bf(0x2ef)]=0x3]=_0x4328bf(0x2ef),_0x4002a6))(me||{});const jt={[pe[_0x4328bf(0x22e)]]:'session.join-failed',[pe[_0x4328bf(0x266)]]:'session.room-full',[pe['JOIN_ROOM_NOT_EXISTS']]:_0x4328bf(0x28c),[pe[_0x4328bf(0x25d)]]:_0x4328bf(0x270),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let mt=class extends _0x276e6a{constructor(_0x1d12e1,_0x169e3d,_0x2f0d74,_0x53a7b9,_0xb0cc87,_0x24c7fc,_0x329ef2,_0x9ce3a2){var _0x3eb0bf=_0x4328bf;super(),D(this,_0x3eb0bf(0x1fc),new _0x39c092(0x0)),D(this,_0x3eb0bf(0x18a),this[_0x3eb0bf(0x1fc)][_0x3eb0bf(0x133)]()),D(this,_0x3eb0bf(0x2be),new _0x37fbef()),D(this,'event$',this[_0x3eb0bf(0x2be)][_0x3eb0bf(0x133)]()),D(this,_0x3eb0bf(0xd7)),D(this,'_socketMessageSubscription'),D(this,_0x3eb0bf(0x3a7)),D(this,_0x3eb0bf(0x326),!0x1),D(this,_0x3eb0bf(0x1d2),null),(this[_0x3eb0bf(0x3ac)]=_0x1d12e1,this[_0x3eb0bf(0x259)]=_0x2f0d74,this['_configService']=_0x53a7b9,this[_0x3eb0bf(0x1e6)]=_0xb0cc87,this[_0x3eb0bf(0x228)]=_0x24c7fc,this[_0x3eb0bf(0xdf)]=_0x329ef2,this[_0x3eb0bf(0x34a)]=_0x9ce3a2,this[_0x3eb0bf(0x326)]=!!this[_0x3eb0bf(0x34a)],_0x169e3d[_0x3eb0bf(0x26f)](_0x11c380(this[_0x3eb0bf(0x248)]))['subscribe'](_0x46f3fd=>{var _0x538636=_0x3eb0bf,_0x4bef82;typeof _0x46f3fd>'u'||(this[_0x538636(0xd7)]=_0x46f3fd,_0x46f3fd?(this[_0x538636(0x3be)](_0x46f3fd),this[_0x538636(0x17c)]=_0x46f3fd[_0x538636(0x31b)]['subscribe'](_0x3c8949=>{var _0x1d036e=_0x538636;_0x3c8949[_0x1d036e(0x194)]===this[_0x1d036e(0x3ac)]&&this[_0x1d036e(0x1c4)](_0x3c8949);})):(this[_0x538636(0x25f)](),this['_sessionStatus$'][_0x538636(0x36e)](0x2),(_0x4bef82=this[_0x538636(0x17c)])==null||_0x4bef82[_0x538636(0xd2)](),this['_socketMessageSubscription']=null));}));}get[_0x4328bf(0x2a6)](){var _0x35a081=_0x4328bf;return this[_0x35a081(0x1fc)][_0x35a081(0xcc)]();}[_0x4328bf(0x120)](){var _0xdcb6d1=_0x4328bf,_0xd38294,_0x2c5b7f;return(_0x2c5b7f=(_0xd38294=this[_0xdcb6d1(0xd7)])==null?void 0x0:_0xd38294[_0xdcb6d1(0x2fa)])!=null?_0x2c5b7f:null;}['dispose'](){var _0xfc71ca=_0x4328bf;super[_0xfc71ca(0x113)](),this['dispose$']['next'](),this[_0xfc71ca(0x248)][_0xfc71ca(0x26a)]();}[_0x4328bf(0x372)](){var _0x3eabf2=_0x4328bf,_0x4c6df4,_0x468ce8;this[_0x3eabf2(0x25f)](),(_0x4c6df4=this[_0x3eabf2(0xd7)])==null||_0x4c6df4[_0x3eabf2(0x36a)]({'cmd':j[_0x3eabf2(0x28a)],'data':{'roomID':this[_0x3eabf2(0x3ac)]}}),(_0x468ce8=this[_0x3eabf2(0xd7)])==null||_0x468ce8['close'](),this[_0x3eabf2(0x2be)][_0x3eabf2(0x26a)](),this[_0x3eabf2(0x1fc)][_0x3eabf2(0x26a)](),this[_0x3eabf2(0x113)]();}['_onCombEvent'](_0x1c46fa){var _0x11dc06=_0x4328bf;_0x1c46fa['cmd']===j[_0x11dc06(0x379)]?this[_0x11dc06(0xe0)](_0x1c46fa):_0x1c46fa[_0x11dc06(0x106)]===j[_0x11dc06(0x19a)]&&this[_0x11dc06(0x383)](_0x1c46fa);}[_0x4328bf(0x3be)](_0x1c3c69){var _0x66c928=_0x4328bf;this['_sessionStatus$'][_0x66c928(0x36e)](0x1),_0x1c3c69['send']({'cmd':j[_0x66c928(0x379)],'routeKey':this[_0x66c928(0x3ac)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4328bf(0xe0)](_0x54fe30){var _0x1fe012=_0x4328bf,_0x3f3a88;if(_0x54fe30[_0x1fe012(0x12e)]in jt){this[_0x1fe012(0xdf)][_0x1fe012(0x3bb)]({'id':re['JOIN_ROOM_FAILED'],'data':jt[_0x54fe30['code']]}),this[_0x1fe012(0x1fc)]['next'](0x2);return;}this[_0x1fe012(0x1fc)]['next'](0x3);const _0x57498f=(_0x3f3a88=_0x54fe30['data']['roomInfos'][this[_0x1fe012(0x3ac)]])==null?void 0x0:_0x3f3a88[_0x1fe012(0x1ce)];_0x57498f&&_0x57498f[_0x1fe012(0x1ef)](_0x4c49c1=>this['_memberService'][_0x1fe012(0x237)](this[_0x1fe012(0x3ac)],_0x4c49c1));}['_onRecvEvent'](_0x4f3777){var _0x22c511=_0x4328bf;try{const _0x2ece7c=_0x4f3777[_0x22c511(0x334)];switch(_0x2ece7c['eventID']){case _0x5d996f[_0x22c511(0x33d)]:this['_onUserJoin'](_0x2ece7c),this['_event$'][_0x22c511(0x36e)](_0x2ece7c);break;case _0x5d996f[_0x22c511(0x34e)]:this[_0x22c511(0x251)](_0x2ece7c),this[_0x22c511(0x2be)][_0x22c511(0x36e)](_0x2ece7c);break;case _0x5d996f[_0x22c511(0x107)]:case _0x5d996f[_0x22c511(0x162)]:this[_0x22c511(0x2a4)](),this[_0x22c511(0x293)](),this[_0x22c511(0x2be)]['next'](_0x2ece7c);break;case _0x5d996f['MSG_FOR_ERROR']:this[_0x22c511(0x259)][_0x22c511(0x1a1)](_0x22c511(0x1a6)+JSON[_0x22c511(0xe2)](_0x2ece7c)),this[_0x22c511(0x2be)]['next'](_0x2ece7c);break;case _0x5d996f[_0x22c511(0x37c)]:this[_0x22c511(0x228)][_0x22c511(0xc2)](_0x2ece7c[_0x22c511(0x334)]),this[_0x22c511(0x2be)][_0x22c511(0x36e)](_0x2ece7c);break;default:this[_0x22c511(0x2be)][_0x22c511(0x36e)](_0x2ece7c);}}catch(_0x1d665e){this[_0x22c511(0x259)][_0x22c511(0x1a1)](_0x1d665e,_0x4f3777);}}[_0x4328bf(0x3cc)](_0x40b258){var _0x36c939=_0x4328bf;this['_memberService'][_0x36c939(0x237)](this[_0x36c939(0x3ac)],_0x40b258[_0x36c939(0x334)]);}[_0x4328bf(0x251)](_0x25adcc){var _0x4374d1=_0x4328bf;this[_0x4374d1(0x1e6)][_0x4374d1(0x38a)](this['_unitID'],_0x25adcc[_0x4374d1(0x334)][_0x4374d1(0x2fa)]);}async[_0x4328bf(0x36a)](_0x1ba770,_0xddbff1){var _0x5a6695=_0x4328bf;if(this[_0x5a6695(0x2a6)]!==0x3||!this[_0x5a6695(0xd7)])throw new Error(_0x5a6695(0x126));try{_0x1ba770[_0x5a6695(0x1dd)]===_0x5d996f['SUBMIT_CHANGESET']&&(this[_0x5a6695(0x1a0)](),this[_0x5a6695(0x32e)](_0x1ba770)),this[_0x5a6695(0xd7)][_0x5a6695(0x36a)]({'cmd':j[_0x5a6695(0x1b0)],'routeKey':_0xddbff1,'routeType':'','data':_0x1ba770});}catch(_0x5cad0c){this[_0x5a6695(0x259)][_0x5a6695(0x1a1)](_0x5cad0c);}}[_0x4328bf(0x1a0)](){var _0x3e32a8=_0x4328bf,_0x2c7a42;this[_0x3e32a8(0x3a7)]=setTimeout(()=>{var _0x5a9ade=_0x3e32a8;this[_0x5a9ade(0x3a7)]=null,this[_0x5a9ade(0xdf)]['emitEvent']({'id':re[_0x5a9ade(0x221)]});},(_0x2c7a42=this[_0x3e32a8(0x18e)][_0x3e32a8(0x2b0)](di))!=null?_0x2c7a42:fi);}[_0x4328bf(0x293)](){var _0x55d72b=_0x4328bf;this[_0x55d72b(0x3a7)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x4328bf(0x32e)](_0x5bfabc){var _0x34444c=_0x4328bf;if(!this[_0x34444c(0x326)])return;const {data:_0x5e43f7}=_0x5bfabc,{unitID:_0x344761,changeset:_0x5d6e78}=_0x5e43f7,{mutations:_0x2e4407,type:_0xea3703}=_0x5d6e78;this[_0x34444c(0x1d2)]={'unitId':_0x344761,'type':_0xea3703,'startTime':performance[_0x34444c(0x364)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x2e4407)};}[_0x4328bf(0x2a4)](){var _0x2f2b05=_0x4328bf;if(this[_0x2f2b05(0x326)]){if(!this[_0x2f2b05(0x1d2)]){this[_0x2f2b05(0x259)][_0x2f2b05(0x1a1)](_0x2f2b05(0x305),_0x2f2b05(0x16a));return;}this[_0x2f2b05(0x1d2)][_0x2f2b05(0x387)]=performance[_0x2f2b05(0x364)](),this[_0x2f2b05(0x1d2)][_0x2f2b05(0x2e6)]=this[_0x2f2b05(0x1d2)][_0x2f2b05(0x387)]-this[_0x2f2b05(0x1d2)][_0x2f2b05(0x2e0)],this[_0x2f2b05(0x34a)][_0x2f2b05(0x369)](Cs,this['_telemetryInfo']),this[_0x2f2b05(0x1d2)]=null;}}[_0x4328bf(0x25f)](){this['_telemetryInfo']=null;}};mt=As([Oe(0x2,_0x1d1a3b),Oe(0x3,_0x53068b),Oe(0x4,_0x1dda19(Pe)),Oe(0x5,_0x1dda19(Ei)),Oe(0x6,_0x1dda19(ve)),Oe(0x7,_0x334ec4(_0x1268ad))],mt);const J=_0xb1f68a(_0x4328bf(0x351));function Cr(_0x1040f1){var _0x35d778=_0x4328bf;return _0x35d778(0x1e4)+_0x1040f1;}var Ps=Object[_0x4328bf(0x10e)],ws=(_0x29cb55,_0x240468,_0x1ee17d,_0x2b29df)=>{var _0x5b4627=_0x4328bf;for(var _0x16db5a=_0x2b29df>0x1?void 0x0:_0x2b29df?Ps(_0x240468,_0x1ee17d):_0x240468,_0x28039f=_0x29cb55[_0x5b4627(0x384)]-0x1,_0x3a2e64;_0x28039f>=0x0;_0x28039f--)(_0x3a2e64=_0x29cb55[_0x28039f])&&(_0x16db5a=_0x3a2e64(_0x16db5a)||_0x16db5a);return _0x16db5a;},ut=(_0x4ba72e,_0x5f36f3)=>(_0x303519,_0x579406)=>_0x5f36f3(_0x303519,_0x579406,_0x4ba72e);function Ms(_0x2e471e){var _0x7be22b=_0x4328bf;const {unitID:_0x4923f3,mutations:_0xfab57c}=_0x2e471e;return{'unitId':_0x4923f3,'subUnitId':_0xfab57c[_0x7be22b(0x384)]>0x0?_0xfab57c[0x0]['params']['subUnitId']:null};}function _0x50b6(){var _0x475fd1=['_collaborationSessionService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_event$','_unitInfo$','conflict','splice','[PendingState]:\x20received\x20rejection.','$super','state','debug','parse','find','_updateState','getTypeOfUnitAdded$','processBlock','repeat','_replaceFileID','_initCloseConn','fromCharCode','HEARTBEAT','INVITE_CODE_ALREADY_BOUND','YUUMI_ALL_TABLES_IS_INVALID','CLOSE_ROOM','change$','YUUMI_SUBSCRIPTION_NOT_FOUND','_prevBlock','ClipsheetFragments','PasswordBasedCipher','_listenToNetworkCondition','reduce','override','method','socket\x20open.','UNDEFINED','error$','findIndex','startTime','readyForCollab','[OfflineState]:\x20received\x20changeset.','LIVESHARE_NEW_HOST','charAt','event$','duration','has','APPLY_DUPLICATED','reqId','__creator','_substituteUndoStack','key','_waitForHeartbeatResponse','map','ONLINE','_getLoginPath','csAckEvent','SOCKET_FAILED','1515582FMaFzd','_DEC_XFORM_MODE','_univerInstanceService','_singleActiveUnitService','updateSnapshot','_revisionService','Univer','memberID','range','getAllMembers','enableSingleActiveInstanceLock','image/gif','loadUnit','createInstance','Failed\x20to\x20update\x20permission\x20point','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handler','Utf8','[CollaborationSession]','getUnitId','univer-pro.collaboration-client.network-condition.service','sheets','onTransformIME','reject','_transformStateCache','transformMutationsWithChangeset','_redoStacks','YUUMI_TABLE_NOT_FOUND_IN_UNIT','People','Pkcs7','WECHAT_HAS_BEEN_BOUND','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','EvpKDF','saveSheetBlock','pluginName','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','updateCollaborator','equals','workbook','_onFetchMissResult','message$','DEFAULT_FILE_NAME','_awaitingChangeset','submit\x20changeset\x20error!','OPTIONAL','JOIN_ROOM_NOT_EXISTS','c1Prime','onload','_clearRedo','/universer-api/user/session-ticket','registerHTTPInterceptor','_shouldReportTelemetry','_entityInit$','buffer','APPLY_NON_SEQUENTIAL_REVISION','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','put','updateCursorEvent','_getRedoStack','_startTelemetryCollaborationNewChangeset','_compressMutationService','_iv','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','isPermissionRej','algo','data','LIVESHARE_FETCH_OPERATIONS','add','patch','every','_replayCachedMutations','entries','/new_changes','reset','USERS_ENTER','REDEMPTION_CODE_FULLY_REDEEMED','_initMergeInterceptor','clone','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SHOULD_CLOSE_CONN','padding','crypto','/universer-api/uniscript','getUnitType','ERROR_IMAGE_TYPE','push','_sender','_telemetryService','members$','call','[CollaborationEntity]','USERS_LEAVE','_data','ENTITLE_DUP_SUBSCRIPTION','collaboration-client.local-cache-service','_onConnectionOpen','_submitChangeset','_status$','JOINING','socketService','_clearRetryConnectingTimer','_HTTPService','UNIVER_PROJECT','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','randomBytes','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[DataLoaderService]','name','failed\x20to\x20apply\x20missed\x20changesets!','body','enableAuthServer','COMPLETION_FINISHED','_xformMode','now','ciphertext','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','permissionRejEvent','loadUnitOfRevision','capture','send','getUnit','withCredentials','_init','next','Could\x20not\x20dynamically\x20require\x20\x22','_getDownloadEndpointURL','_removeRoom','close','_transitionLocked','deleteCollaborator','BufferedBlockAlgorithm','sin','__esModule','_roomCreated$','JOIN','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','unknown','COMMENT_UPDATE','_tryEnsureSocket','_config','AES','status','\x0aCurrent:\x20','getInterceptPoints','_onRecvEvent','length','&source=','10FTMqyk','stopTime','_socket$','_getSignURL','removeMember','OTHER_CLIENTS_EDITING','shouldCloseConn','CONFLICT','filter','/unit/','floor','HEARTBEAT_TIMEOUT','_sendingTimer','ENTITLE_NEED_BILLING_ADDRESS','_remoteChangesetQueue','_updateLocalCache','_toggleOnline','slice','_sendHeartbeat','liveShareOperation','params','extend','_fetchMissChangesets','onSyncEditingCollabCursor','YUUMI_AI_RUN_FAILED','&assign=','SNAPSHOT_HAS_BEEN_REMOVED','localCacheService','file','ENTITLE_INSUFFICIENT_QUOTA','NO_OTHER_CLIENTS_EDITING','PERMISSION_REJ','univer-pro.collaboration-client-socket-service','_collaborationTimeoutTimer','objectType','requireSession','loadOfflineData','GLOBAL_ROOMS_CNT_EXCEEDS','_unitID','_incrementRevisionNumber','JOIN_ROOM_FAILED','PERSON','_scheduleCompleteTimestamp','headers','UNAUTHENTICATED','image/png','hasher','_acknowledgedAwaitingChangeset','OTHER_CLIENT_EDITING','createCollaborator','delete','LIVESHARE_REQUEST_HOST','m2Prime','emitEvent','REDEMPTION_INVALID_CODE','_collaborationPaused','_joinRoom','resolve','_getAPIPrefixPath','UNIVER_SLIDE','_mode','getCollabEntity','onRemoteChangeset','_doReset','updateOfflineData','x-univer-host','objectActions','max','TOO_MANY_REQUESTS','open$','_onUserJoin','_hash','state$','_members$','getSheetId','_resendWithTimeout','_initUnitPermissionChange','mixIn','toggleOnline','_retryConnectingTimer','BASE64','[PendingState]:\x20received\x20acknowledgement.','getDeserializedSheetBlock','_imageSourceCache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','resend','toString','_onRemoteChangeset','PERMISSION_DENIED','_map','onCommentUpdate','exports','_waitCount','ws://127.0.0.1:8000/universer-api/comb/connect','UNIVER_SHEET','_clearHeartbeatTimer','_showConflictNotification','_state','_nDataBytes','_tryReconnect','getValue','_onConflict','_changesetReqId','iterations','_getUploadFileURL','onSendChangeset','unsubscribe','getFocusedUnit','clamp','HMAC','liveShareNewHost','_socket','getCurrentRevOfUnit','AWAITING_WITH_PENDING','[FetchMissState]','/universer-api/snapshot','auth.needGotoLoginAlert','Error\x20on\x20receiving\x20event','_collabSessionService','_collaborationUIEventService','_onJoinRoomEvent','YUUMI_NO_CUBOID_FOR_QUESTION','stringify','enableOfflineEditing','_socketReady','fetchMissingChangesets','_localeService','_process','catch','getRandomValues','DATA_SOURCE_TOO_LARGE','UNISCRIPT_RUN','[OfflineState]:\x20received\x20rejection.','LOGIN_TOKEN_PROCESSING_FAILED','[CollaborationSessionService]','values','MOBILE_VERIFY_CODE_MISMATCH','_createHelper','SNAPSHOT_INVALID_SNAPSHOT','Undefined','onLocalMutation','closeSession','synced','unitID','transformChangesets','LOCAL_CACHE_INTERVAL','_initRequestHeader','loadDoc','USER_NOT_INVITED_CODE','signUrlServerUrl','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','fetching\x20missing\x20changesets\x20from\x20','929619GfcMTJ','YUUMI_URL_COL_OUT_OF_RANGE','/universer-api/file/{fileID}/sign-url','_onMessage','[CollaborationUndoRedoService]','_permissionService','cmd','CHANGESET_ACK','authzUrl','_schedule','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','clear','_resendTimeout','getOwnPropertyDescriptor','getLatestCsReqIdBySid','substr','_getCurrentRevision','IDLE','dispose','title','updatePermissionPoint','execute','LICENSE_DISTRO_REJECTED','getImageSourceCache','/universer-api/authz','/fetchmissing?from=','_doCreateSocket','roles','_getAPIPrefix','cfg','selections','getMemberID','{fileID}','PAYMENT_CHANNEL_NOT_SUPPORT','ERROR_AGAIN','MOBILE_HAS_BEEN_BOUND','keySize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','collaMsg','BlockCipher','PY_RUNTIME_SCRIPT_ERROR','responseType','Malformed\x20UTF-8\x20data','_injector','ceil','code','type','YUUMI_UNABLE_LOAD_URL','apply','userID','asObservable','USER_IS_ANONYMOUS','pauseCollaboration','get','LIVESHARE_OPERATION','symbol','RETRY_CONNECTING_MAX_COUNT','NEW_CHANGESETS','getResourcesRequest','LIVESHARE_TERMINATE','setWaitCount','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','image/bmp','refreshPermission','COMPRESS_MUTATION_APPLY','getActiveSheet','c2Prime','_clearTimeoutTimer','onMissedChangesetFetched','blockSize','confirm','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_onConnectionFailed','_decreaseWaiting','salt','fromCollab','collaboration-client.config','CHANGESET_REJ','OpenSSL','prototype','_transformRemoteChangesetByStateCache','onMissingChangesets','_change$','target','629304Jhfjzn','encrypt','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_ENC_XFORM_MODE','_lockTransition','?size=','APPLY_REVISION_CONFILICT','lib','saveSnapshot','Base64','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_createInitialStateImpl','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_SHOULD_RETRY','createEncryptor','_onOffline','pending','encodeURIComponent','_rescheduleHeartbeat','sendChangesetTimeout','includes','telemetry\x20info\x20is\x20not\x20initialized','enableCollaboration','_doFinalize','_hasher','_resendTimer','awaitingChangeset','CipherParams','UUID','MUTATION','_createInitialState','/resources','_state$','kdf','\x0aAfter:\x20','_commandService','AWAITING','listCollaborators','_updateStatus','_socketMessageSubscription','OFFLINE','encode','awaiting','fetchThroughInterceptors','unitId\x20is\x20not\x20found','_snapshotServerService','_candidateSocket','ENTITLE_CHAT_LIMIT_EXCEED','_transformUndoredo','WordArray','joinEvent','concat','_undoRedoService','sessionStatus$','SHA1','formatter','_createHandler','_configService','_timeoutTimer','getMember','_transformSelections','__Key__','_executeRemoteChangeset','routeKey','_minBufferSize','1668mvLidr','MD5','executeCommand','transformUndoRedo','RECV','href','createSocket','_toggleOffline','leaveEvent','_substituteRedoStack','_scheduleCollaborationTimeoutTimer','error','onTransformState','_retryCount','UNRECOGNIZED','fetch_missing','save\x20fail\x20reason\x20is\x20','REDEMPTION_USER_REDEEM_TIMES_EXCEED','HttpExport','ENSURE_SNAPSHOT_EXECUTION','YUUMI_ASYNCIO_CANCELLED','_clearScheduledTask','ALREADY_EXISTS','hasOwnProperty','INVALID_ARGUMENT','LICENSE_EXPORT_SIZE_EXCEEDED','INGEST','join','_keyPriorReset','baseRev','\x20to\x20','onTransformRemoteChangesetByStateCache','/-/object/-/batch_allowed','compose','_onRemoteRejected','initWorkbookPermissionChange','subject','onCommandExecuted','_exhaustRemoteChangesetQueue','_invKeySchedule','&to=','_sendHeartbeatTimer','url','image/jpeg','_nRounds','_roomMembers','_onCombEvent','create','LICENSE_IMPORT_SIZE_EXCEEDED','session','focused$','defineProperty','CHANGESET_REVISION_CONFILICT','getCurrentUser','setCurrentUser','listRoles','members','LICENSE_MAX_UNITS_EXCEEDED','_parse','301446VfKVXa','_telemetryInfo','USER_NOT_FOUND','_entities','UPDATE_PERMISSION_OBJ','_getUndoStack','ENTITLE_REPORT_LIMIT_EXCEED','7042qYKPaV','_sheetTransformSelectionsService','Encryptor','MSG_FOR_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.','eventID','size','UnitEmbedded','enc','_doCryptBlock','onTransformRemoteChangesetByIMECache','/rev/','unit-cache-','onTransformSelections','_memberService','NOT_FOUND','format','objectID','_onRemoteACK','_transformService','_getSendChangesetTimeout','_localCacheService','univer-pro.collaboration-client.single-active-unit-service','forEach','REDEMPTION_CODE_INACTIVE','_sessions','APPLY_REJECT','getSheetBlock','close$','UnitSnapshot','SYNCED','decryptBlock','sigBytes','saveChangeset','[SyncedState]:\x20received\x20acknowledgement.','INVITE_CODE_HAS_BEEN_UES','_sessionStatus$','YUUMI_CONNECTOR_URL_NOT_FOUND','_registerDependencies','Hex','uploadFileServerUrl','_httpService','socket\x20close','CURRENT_STATUS_CANNOT_OPERATE','_cipher','ERROR_IMAGE','_userManagerService','351716LrOZzJ','_snapshotService','getSnapshotAPIPath','fetchMiss','_createHmacHelper','location','append','_emitMembers','commentUpdateEvent','getUnitOnRev','[CollaborationSessionService]:\x20socket\x20error','msCrypto','getCollabEntity$','HmacSHA1','isArray','getWorkbookSelections','_queuedRemoteChangesets','commentUpdate$','15sgDiex','random','interceptor','then','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','putCollaborators','_transformStack','connection\x20error','SUBMIT_CHANGESET_TIMEOUT','incrementRevOfUnit','unitId','UPDATE_CURSOR','YUUMI_RATE_OVER_LIMIT','unitInfo$','editing\x20status\x20changed\x20to','_commentService','\x20in\x20_schedule.','update','SNAPSHOT_URL_KEY','waitForRoom$','INVALID_INVITE_CODE','FAIL','createDecryptor','_onLocalMutation','mode','/allowed','_onRemoteRetry','compute','editingUnit','toggleOffline','updateMember','collaborators','_applyRemoteChangeset','localeService','_transformIMECache','encryptBlock','_key','_startCollaboration','finalize','csShouldRetryEvent','HmacMD5','string','onStateChange','list','init','BlockCipherMode','_checkMissing','dispose$','_disableEditing','entityInit$','status$','UserProfileImg','UNKNOWN_CMD','_instanceService','copyFileMeta','PSEUDO_FETCH_MISSING_RESULT','_onUserLeave','subscribe','sid','REDEMPTION_CODE_NOT_STARTED','actions','\x20-\x20','_changesetSessionId','_iKey','_logService','LOGIN_FAILED','_unlockTransition','snapshotServerUrl','JOIN_ROOM_PERMISSION_DENIED','SerializableCipher','_throwTelemetryCollaborationNewChangeset','getUnitStatus$','_createSocket','_members','SOCKET_FAILED_RETRY','APPLY_PERMISSION_DENIED','result','JOIN_ROOM_FULL','_handlerCallback','UNIVER_DOC','Decryptor','complete','onRemoteRetry','default','updatePermissionObjEvent','words','pipe','session.room-permission-denied','_oKey','NoPadding','HttpImport','UNIVER_UNKNOWN','unpad','_getCtorByUniverType','function','transformSelections','from','_initDependencies','_doProcessBlock','REDEMPTION_CODE_HAS_BEEN_CREATED','onRemoteAck','disposeWithMe','set','newCsEvent','CONNECTOR_DATA_TOO_LARGE','uniscriptRunEvent','post','downloadEndpointUrl','textRanges','_append','charCodeAt','mutations','_keySchedule','LEAVE','action','session.room-not-exists','_pendingMutations','_isPermissionRej','COMPRESS_MUTATION_SEND','getCurrentSelections','reconnect','hostname','_clearCollaborationTimeoutTimer','ivSize','FETCH_MISSING','readAsDataURL','onlyLocal','online$','/-/object/list','POST','readInt32LE','AUTHORIZE_CODE_ILLEGAL','/collaborator','originalMeta','EMAIL_HAS_BEEN_BOUND','min','ENTITLE_CAN_NOT_BUY_LOWER_OTP','appendMutation','/universer-api/comb','_stopTelemetryCollaborationNewChangeset','/object/','sessionStatus','requestParams','640838KygGJT','REDEMPTION_USER_NOT_ELIGIBLE','UNIVER_COLLABORATION_CLIENT_PLUGIN','_type','[OfflineState]:\x20received\x20acknowledgement.','revision','/object','Base','getConfig','onRemoteRej','/block/','_reverseMap','HELLO','_eventService','_commentUpdate$','getTypeOfUnitDisposed$','pad','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearUndo','Hasher'];_0x50b6=function(){return _0x475fd1;};return _0x50b6();}let it=class{constructor(_0x551420,_0x508f58,_0x1bb719){var _0x2b1331=_0x4328bf;this['_injector']=_0x551420,this[_0x2b1331(0x1eb)]=_0x508f58,this[_0x2b1331(0x24e)]=_0x1bb719;}[_0x4328bf(0x278)](_0x572d56){var _0x1a4227=_0x4328bf,_0x2b17e1,_0x133610,_0x18acfd,_0x514758;const _0x5b6a70=this[_0x1a4227(0x12c)]['get'](_0x5ef77b),{unitId:_0x1660c3,subUnitId:_0x36a4b5}=Ms(_0x572d56),_0x5cff99=_0x5b6a70==null?void 0x0:_0x5b6a70[_0x1a4227(0x216)](_0x1660c3)[_0x1a4227(0x290)](),_0x1c0f93=(_0x133610=(_0x2b17e1=this['_instanceService'][_0x1a4227(0x36b)](_0x1660c3))==null?void 0x0:_0x2b17e1[_0x1a4227(0x142)]())==null?void 0x0:_0x133610[_0x1a4227(0x3d0)]();if(_0x5cff99[_0x1a4227(0x384)]===0x0||!_0x1660c3||!_0x36a4b5)return;const _0x3c0274=[{'id':_0x123170['id'],'params':{'unitId':_0x1660c3,'subUnitId':_0x1c0f93,'selections':_0x2d55f4['deepClone'](_0x5cff99)}}],_0x508d74=this[_0x1a4227(0x1eb)][_0x1a4227(0x30c)](_0x572d56,_0x3c0274);if(!_0x1ae9ad(_0x508d74))throw _0x508d74['error'];const _0x427427=(_0x514758=(_0x18acfd=_0x508d74[_0x1a4227(0x3ba)][0x0])==null?void 0x0:_0x18acfd[_0x1a4227(0x39a)])==null?void 0x0:_0x514758[_0x1a4227(0x11f)];if(Array[_0x1a4227(0x215)](_0x427427)&&_0x427427[_0x1a4227(0x384)]){if(_0x427427[_0x1a4227(0x384)]===_0x3c0274[0x0][_0x1a4227(0x39a)][_0x1a4227(0x11f)]['length']&&_0x427427['every']((_0x4c7fcc,_0x103b7a)=>_0x291960[_0x1a4227(0x318)](_0x4c7fcc['range'],_0x3c0274[0x0]['params'][_0x1a4227(0x11f)][_0x103b7a][_0x1a4227(0x2fb)])))return;this[_0x1a4227(0x12c)][_0x1a4227(0x136)](_0x446ca0)[_0x1a4227(0x198)](_0x123170['id'],{'unitId':_0x1660c3,'subUnitId':_0x1c0f93,'selections':_0x427427});}}};it=ws([ut(0x0,_0x1dda19(_0xee3a85)),ut(0x1,_0x1b3d1f),ut(0x2,_0x49e0a6)],it);const _t=_0xb1f68a(_0x4328bf(0x1ee));var mi=(_0x10edb5=>(_0x10edb5[_0x10edb5['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4328bf(0x3a4),_0x10edb5[_0x10edb5[_0x4328bf(0x38b)]=0x1]=_0x4328bf(0x38b),_0x10edb5))(mi||{});const K=_0x4328bf(0x14d),Ls={},xs=new Set([_0x56ad2b['id']]);function Vt(_0x268173,_0x23386b,_0x105d27,_0x21e8f9,_0x190fbd){var _0x3d52f5=_0x4328bf,_0x59fccf,_0x471bbe,_0x4cfd00,_0x32b2d5;const _0x637dbb=[];for(const _0x5a6467 of _0x268173)if(xs['has'](_0x5a6467['id'])){if(_0x637dbb[_0x3d52f5(0x384)]>0x0)break;_0x637dbb[_0x3d52f5(0x348)](_0x5a6467);break;}else _0x637dbb['push'](_0x5a6467);const _0x43bd67=(_0x471bbe=(_0x59fccf=_0x190fbd[_0x3d52f5(0x1cb)]())==null?void 0x0:_0x59fccf[_0x3d52f5(0x132)])!=null?_0x471bbe:_0x3d52f5(0x37b),_0x1968e3=(_0x32b2d5=(_0x4cfd00=_0x190fbd['getCurrentUser']())==null?void 0x0:_0x4cfd00[_0x3d52f5(0x2fa)])!=null?_0x32b2d5:_0x3d52f5(0x37b);return{'changeset':{'unitID':_0x23386b,'type':_0x58251b(_0x105d27[_0x3d52f5(0x346)](_0x23386b)),'baseRev':_0x21e8f9[_0x3d52f5(0xd8)](_0x23386b),'revision':0x0,'userID':_0x43bd67,'memberID':_0x1968e3,'mutations':_0x637dbb},'pendingMutations':_0x268173[_0x3d52f5(0x397)](_0x637dbb[_0x3d52f5(0x384)])};}function ks(_0x2f623e,_0xa80a42,_0x542ffe,_0x5a4f82,_0x4b10bd){var _0x287668=_0x4328bf,_0xb1f072,_0x300efe,_0x230e6c,_0x50f718;const _0x22bdca=[_0x2f623e[_0x287668(0x2d9)]((_0x10a240,_0x1027ad)=>{var _0x181787=_0x287668,_0x2ac9c2;const {id:_0x2d592a}=_0x10a240,{id:_0x3d0f62,type:_0x518f6a}=_0x1027ad,_0x502a46=(_0x2ac9c2=_0x10a240[_0x181787(0x39a)])!=null?_0x2ac9c2:{'actions':null},_0x59a4bb=_0x1027ad[_0x181787(0x39a)];if(_0x2d592a&&_0x2d592a!==_0x3d0f62)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2d592a+_0x181787(0x256)+_0x3d0f62+'.');return{..._0x10a240,'id':_0x3d0f62,'type':_0x518f6a,'params':{'unitId':_0x59a4bb['unitId'],'textRanges':_0x59a4bb[_0x181787(0x285)],'actions':_0x4d3744[_0x181787(0x1b7)](_0x502a46['actions'],_0x59a4bb[_0x181787(0x255)])}};},{})],_0x24ff52=(_0x300efe=(_0xb1f072=_0x4b10bd[_0x287668(0x1cb)]())==null?void 0x0:_0xb1f072[_0x287668(0x132)])!=null?_0x300efe:_0x287668(0x37b),_0x40fa2e=(_0x50f718=(_0x230e6c=_0x4b10bd['getCurrentUser']())==null?void 0x0:_0x230e6c[_0x287668(0x2fa)])!=null?_0x50f718:_0x287668(0x37b);return{'changeset':{'unitID':_0xa80a42,'type':_0x58251b(_0x542ffe['getUnitType'](_0xa80a42)),'baseRev':_0x5a4f82[_0x287668(0xd8)](_0xa80a42),'revision':0x0,'userID':_0x24ff52,'memberID':_0x40fa2e,'mutations':_0x22bdca},'pendingMutations':[]};}function Ii(_0x129866,_0x230ea1){var _0x24b01d=_0x4328bf;const _0x268b1f=new _0x116082(0x1);return setTimeout(()=>_0x268b1f[_0x24b01d(0x36e)](_0x230ea1),_0x129866),_0x268b1f['asObservable']()[_0x24b01d(0x26f)](_0x214f29(0x1));}var $s=Object[_0x4328bf(0x10e)],Se=(_0x26d3a2,_0x4cb2b0,_0x1b496b,_0x1a0231)=>{var _0x2ede2d=_0x4328bf;for(var _0x44b39f=_0x1a0231>0x1?void 0x0:_0x1a0231?$s(_0x4cb2b0,_0x1b496b):_0x4cb2b0,_0x2f8690=_0x26d3a2[_0x2ede2d(0x384)]-0x1,_0x64c7cb;_0x2f8690>=0x0;_0x2f8690--)(_0x64c7cb=_0x26d3a2[_0x2f8690])&&(_0x44b39f=_0x64c7cb(_0x44b39f)||_0x44b39f);return _0x44b39f;},w=(_0x1ec749,_0x490c97)=>(_0x146cbd,_0x34ebb2)=>_0x490c97(_0x146cbd,_0x34ebb2,_0x1ec749),Si=(_0x412e99=>(_0x412e99['NOT_COLLAB']='not_collab',_0x412e99[_0x4328bf(0x1f6)]=_0x4328bf(0xf6),_0x412e99['PENDING']=_0x4328bf(0x165),_0x412e99[_0x4328bf(0x179)]=_0x4328bf(0x17f),_0x412e99[_0x4328bf(0xd9)]='awaiting_with_pending',_0x412e99['FETCH_MISS']=_0x4328bf(0x1a5),_0x412e99[_0x4328bf(0x38d)]=_0x4328bf(0x2c0),_0x412e99[_0x4328bf(0x17d)]='offline',_0x412e99))(Si||{});const gi=0xea60;class ge{constructor(_0x3c2853,_0x262ab1,_0x46aee8,_0xc1619,_0x230323,_0x5527b7,_0x1b7f66,_0x5bf15f,_0x2fab4b){var _0x6b6a70=_0x4328bf;D(this,_0x6b6a70(0x31d),null),D(this,'_pendingMutations',[]),(this[_0x6b6a70(0xf7)]=_0x3c2853,this[_0x6b6a70(0x12f)]=_0x262ab1,this[_0x6b6a70(0x303)]=_0x230323,this[_0x6b6a70(0x178)]=_0x5527b7,this['_undoRedoService']=_0x1b7f66,this[_0x6b6a70(0x2f8)]=_0x5bf15f,this[_0x6b6a70(0x1ed)]=_0x2fab4b,this[_0x6b6a70(0x31d)]=_0x46aee8,this[_0x6b6a70(0x28d)]=_0xc1619);}['_checkMissing'](_0x591c8){var _0x13d7f1=_0x4328bf;const _0x25b1c5=this['_revisionService'][_0x13d7f1(0xd8)](this[_0x13d7f1(0xf7)]);return _0x591c8[_0x13d7f1(0x2ad)]>_0x25b1c5+0x1?(this[_0x13d7f1(0x303)]['onMissingChangesets']({'from':_0x25b1c5,'to':_0x591c8[_0x13d7f1(0x2ad)]-0x1}),!0x0):!0x1;}[_0x4328bf(0x185)](_0x271d2b){var _0x5bf0af=_0x4328bf;this[_0x5bf0af(0x189)][_0x5bf0af(0x199)](this[_0x5bf0af(0xf7)],_0x271d2b);}[_0x4328bf(0x191)](_0x50022b){var _0x4a88e8=_0x4328bf,_0x434aed,_0x7f206c;(_0x7f206c=(_0x434aed=this['_handler'])[_0x4a88e8(0x1e5)])==null||_0x7f206c['call'](_0x434aed,_0x50022b);}[_0x4328bf(0x23b)](_0x12eca0){var _0x4aeffe=_0x4328bf,_0x42b122,_0x1186ea;return(_0x1186ea=(_0x42b122=this[_0x4aeffe(0x303)])[_0x4aeffe(0x309)])==null?void 0x0:_0x1186ea['call'](_0x42b122,_0x12eca0);}[_0x4328bf(0x30b)](_0x1db91e){var _0x33df58=_0x4328bf,_0x28347e,_0x46f421;return(_0x46f421=(_0x28347e=this[_0x33df58(0x303)])[_0x33df58(0x1a2)])==null?void 0x0:_0x46f421['call'](_0x28347e,_0x1db91e);}['_transformRemoteChangesetByIMECache'](_0x3e7785){var _0x4a38dc=_0x4328bf,_0x480d26,_0x38dc9a,_0x188007;return(_0x188007=(_0x38dc9a=(_0x480d26=this['_handler'])[_0x4a38dc(0x1e2)])==null?void 0x0:_0x38dc9a[_0x4a38dc(0x34c)](_0x480d26,_0x3e7785))!=null?_0x188007:_0x3e7785;}[_0x4328bf(0x151)](_0x850cac){var _0x2613f4=_0x4328bf,_0x5b8cc6,_0x1e97c9,_0xef907f;return(_0xef907f=(_0x1e97c9=(_0x5b8cc6=this['_handler'])[_0x2613f4(0x1b5)])==null?void 0x0:_0x1e97c9['call'](_0x5b8cc6,_0x850cac))!=null?_0xef907f:_0x850cac;}['_syncEditingCollabCursor'](_0x16ff9c){var _0x3a185b=_0x4328bf,_0x5e870b,_0x49a8db;if(this['type']===Q[_0x3a185b(0x268)]){const {unitID:_0x24c93c,mutations:_0x546fa7,memberID:_0x25eee3}=_0x16ff9c,_0x362998=_0x546fa7[_0x3a185b(0x384)]>0x0?_0x546fa7[0x0][_0x3a185b(0x39a)][_0x3a185b(0x285)]:[];Array[_0x3a185b(0x215)](_0x362998)&&_0x362998['length']>0x0&&((_0x49a8db=(_0x5e870b=this[_0x3a185b(0x303)])['onSyncEditingCollabCursor'])==null||_0x49a8db['call'](_0x5e870b,{'unitID':_0x24c93c,'memberID':_0x25eee3,'textRanges':_0x362998}));}}[_0x4328bf(0x395)](){var _0x3a52ac=_0x4328bf,_0x1b4a51;(_0x1b4a51=this[_0x3a52ac(0x1ed)])==null||_0x1b4a51[_0x3a52ac(0x3c6)](this[_0x3a52ac(0xf7)],this[_0x3a52ac(0x12f)],this['_awaitingChangeset'],this[_0x3a52ac(0x28d)]);}[_0x4328bf(0x111)](){var _0x4b4bdb=_0x4328bf;return this[_0x4b4bdb(0x2f8)][_0x4b4bdb(0xd8)](this[_0x4b4bdb(0xf7)]);}[_0x4328bf(0x3ad)](){var _0x11dcf3=_0x4328bf;this[_0x11dcf3(0x2f8)][_0x11dcf3(0x222)](this[_0x11dcf3(0xf7)]);}[_0x4328bf(0x193)](_0x337b29){var _0xb97891=_0x4328bf,_0x2203c6;let _0x38d7ac=this['_transformRemoteChangesetByIMECache'](_0x337b29);_0x38d7ac=this[_0xb97891(0x151)](_0x38d7ac);const _0x35ee7d=_0x4b9f5a(_0x38d7ac['mutations'],this[_0xb97891(0x178)],{'fromCollab':!0x0});if(!_0x35ee7d[_0xb97891(0x265)])throw _0x35ee7d[_0xb97891(0x1a1)]instanceof Error?_0x35ee7d[_0xb97891(0x1a1)]:new Error((_0x2203c6=_0x35ee7d[_0xb97891(0x1a1)])!=null?_0x2203c6:'[CollaborationState]:\x20apply\x20error!');this[_0xb97891(0x23b)](_0x38d7ac),this['_transformStateCache'](_0x38d7ac),this[_0xb97891(0x185)](_0x337b29),this[_0xb97891(0x191)](_0x38d7ac),this['_syncEditingCollabCursor'](_0x38d7ac),this[_0xb97891(0x3ad)]();}}let be=class extends ge{constructor(_0x58c54d,_0x229ef9,_0x3fa4ca,_0x272548,_0x4f3d82,_0x11b128,_0x5e4e1b,_0x596ebe,_0x37cd07,_0x2d6a68){var _0xb7dba=_0x4328bf;super(_0x58c54d,_0x229ef9,null,[],_0x3fa4ca,_0x5e4e1b,_0x11b128,_0x272548,_0x2d6a68),D(this,_0xb7dba(0x380),_0xb7dba(0xf6)),(this[_0xb7dba(0x12c)]=_0x4f3d82,this[_0xb7dba(0x259)]=_0x596ebe,this[_0xb7dba(0x1eb)]=_0x37cd07,this[_0xb7dba(0x3a1)]=_0x2d6a68);}[_0x4328bf(0x2a2)](_0x2e585e){var _0x595f64=_0x4328bf;const _0x3c8dda=this[_0x595f64(0x12c)][_0x595f64(0x300)](ae,this[_0x595f64(0xf7)],this[_0x595f64(0x12f)],[_0x2e585e],this[_0x595f64(0x303)]);return _0x3c8dda[_0x595f64(0x109)](),_0x3c8dda[_0x595f64(0x395)](),_0x3c8dda;}[_0x4328bf(0x3c4)](_0x365eb4){var _0x13ecab=_0x4328bf;if(this[_0x13ecab(0x247)](_0x365eb4))return this[_0x13ecab(0x12c)][_0x13ecab(0x300)](ee,this[_0x13ecab(0xf7)],this[_0x13ecab(0x12f)],null,[],null,[_0x365eb4],this['_handler']);try{const _0x17c0f2=this[_0x13ecab(0x1eb)][_0x13ecab(0x30c)](_0x365eb4,[_0x3c4c5b]);if(_0x1ae9ad(_0x17c0f2)){const {c1Prime:_0x5c755f}=_0x17c0f2;return this[_0x13ecab(0x193)](_0x5c755f),this;}throw _0x17c0f2['error'];}catch(_0x17b7a0){return this[_0x13ecab(0x259)][_0x13ecab(0x1a1)](_0x17b7a0),this[_0x13ecab(0xcd)](!0x1);}}[_0x4328bf(0xcd)](_0xd58f39){var _0x29bc86=_0x4328bf;return this[_0x29bc86(0x12c)][_0x29bc86(0x300)](ue,this['unitID'],this[_0x29bc86(0x12f)],null,[],this[_0x29bc86(0x303)],_0xd58f39);}[_0x4328bf(0x27d)](){var _0x1b0e82=_0x4328bf;throw new Error(_0x1b0e82(0x1fa));}[_0x4328bf(0x2b1)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x3609f8=_0x4328bf;return this['_injector'][_0x3609f8(0x300)](de,this[_0x3609f8(0xf7)],this[_0x3609f8(0x12f)],null,[],this[_0x3609f8(0x303)]);}['toggleOnline'](){return this;}[_0x4328bf(0xbd)](){var _0x2d5d2f=_0x4328bf;throw new Error(_0x2d5d2f(0x2b9));}[_0x4328bf(0x20a)](){var _0x2f2d8e=_0x4328bf;const _0x2e09f0=this['_revisionService'][_0x2f2d8e(0xd8)](this[_0x2f2d8e(0xf7)]);return this[_0x2f2d8e(0x303)][_0x2f2d8e(0x152)]({'from':_0x2e09f0,'to':0x0}),this[_0x2f2d8e(0x12c)][_0x2f2d8e(0x300)](ee,this[_0x2f2d8e(0xf7)],this[_0x2f2d8e(0x12f)],null,[],null,[],this[_0x2f2d8e(0x303)]);}};be=Se([w(0x3,_0x1dda19(_0x2e1984)),w(0x4,_0x1dda19(_0xee3a85)),w(0x5,_0x16cbab),w(0x6,_0x446ca0),w(0x7,_0x1d1a3b),w(0x8,_0x1b3d1f),w(0x9,_0x334ec4(J))],be);let ae=class extends ge{constructor(_0x1345b0,_0x286a6e,_0x344517,_0x34938c,_0x4ffd70,_0x1ad085,_0x11c08e,_0x516343,_0x7610c4,_0x1348fb,_0x29f020,_0x4365cb,_0x3af71b,_0x1948e1){var _0x3d8993=_0x4328bf;super(_0x1345b0,_0x286a6e,null,_0x344517,_0x34938c,_0x7610c4,_0x3af71b,_0x1ad085,_0x1948e1),D(this,_0x3d8993(0x380),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x3d8993(0x392),null),(this[_0x3d8993(0x12c)]=_0x4ffd70,this['_memberService']=_0x11c08e,this[_0x3d8993(0x259)]=_0x516343,this['_configService']=_0x1348fb,this[_0x3d8993(0x1eb)]=_0x29f020,this[_0x3d8993(0x2f5)]=_0x4365cb);}[_0x4328bf(0x2a2)](_0x570842){var _0x5ddd4f=_0x4328bf;return this[_0x5ddd4f(0x28d)]['push'](_0x570842),this[_0x5ddd4f(0x395)](),this;}[_0x4328bf(0x3c4)](_0x269c47){var _0x2ea5f8=_0x4328bf;if(this[_0x2ea5f8(0x247)](_0x269c47))return this[_0x2ea5f8(0x1ab)](),this[_0x2ea5f8(0x12c)][_0x2ea5f8(0x300)](ee,this[_0x2ea5f8(0xf7)],this[_0x2ea5f8(0x12f)],null,this['_pendingMutations'],null,[_0x269c47],this[_0x2ea5f8(0x303)]);try{const _0x89eec=this['_transformService'][_0x2ea5f8(0x30c)](_0x269c47,this[_0x2ea5f8(0x28d)]);if(_0x1ae9ad(_0x89eec)){const {c1Prime:_0x3bde25,m2Prime:_0x191531}=_0x89eec;this[_0x2ea5f8(0x193)](_0x3bde25);const _0x1afe06=this[_0x2ea5f8(0x12c)][_0x2ea5f8(0x300)](ae,this[_0x2ea5f8(0xf7)],this[_0x2ea5f8(0x12f)],_0x191531,this[_0x2ea5f8(0x303)]);this[_0x2ea5f8(0x1ab)]();const _0x35c918=new Date()['getTime'](),_0x5eeb14=this[_0x2ea5f8(0x3b0)]?Math[_0x2ea5f8(0x3c9)](this[_0x2ea5f8(0x3b0)]-_0x35c918,0x0):this['_getSendChangesetTimeout']();return _0x1afe06['_schedule'](_0x5eeb14),_0x1afe06;}throw _0x89eec[_0x2ea5f8(0x1a1)];}catch(_0xb8e353){return this['_logService']['error'](_0xb8e353),this[_0x2ea5f8(0xcd)](!0x1);}}['onRemoteAck'](){var _0x33bc2c=_0x4328bf;throw new Error(_0x33bc2c(0xb9));}[_0x4328bf(0x2b1)](){var _0x5f29b0=_0x4328bf;throw new Error(_0x5f29b0(0x2c2));}[_0x4328bf(0x26b)](){return this;}['toggleOffline'](){var _0x3c0da3=_0x4328bf;return this[_0x3c0da3(0x1ab)](),this[_0x3c0da3(0x12c)]['createInstance'](de,this[_0x3c0da3(0xf7)],this[_0x3c0da3(0x12f)],null,this[_0x3c0da3(0x28d)],this[_0x3c0da3(0x303)]);}[_0x4328bf(0x3d4)](){return this;}[_0x4328bf(0x109)](_0x26dad8){var _0x169c59=_0x4328bf;const _0x5a13e3=_0x26dad8!=null?_0x26dad8:this[_0x169c59(0x1ec)]();this[_0x169c59(0x3b0)]=new Date()['getTime']()+_0x5a13e3,this[_0x169c59(0x392)]=setTimeout(()=>{var _0x15f68b=_0x169c59;this['_clearScheduledTask']();let _0x27274f=null;switch(this['type']){case Q[_0x15f68b(0xc6)]:{_0x27274f=Vt(this['_pendingMutations'],this[_0x15f68b(0xf7)],this['_univerInstanceService'],this[_0x15f68b(0x2f8)],this['_memberService']);break;}case Q[_0x15f68b(0x268)]:{this[_0x15f68b(0x28d)][_0x15f68b(0x338)](_0x4024a2=>_0x4024a2['id']===_0x5c1719['id'])?_0x27274f=ks(this['_pendingMutations'],this['unitID'],this[_0x15f68b(0x2f5)],this[_0x15f68b(0x2f8)],this[_0x15f68b(0x1e6)]):_0x27274f=Vt(this[_0x15f68b(0x28d)],this[_0x15f68b(0xf7)],this[_0x15f68b(0x2f5)],this[_0x15f68b(0x2f8)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x15f68b(0x12f)]+_0x15f68b(0x229));}const {changeset:_0x3961f4,pendingMutations:_0x2217b2}=_0x27274f;this[_0x15f68b(0x303)]['onSendChangeset'](_0x3961f4);const _0x2f1ebd=_0x2217b2['length']?this[_0x15f68b(0x12c)]['createInstance'](oe,this[_0x15f68b(0xf7)],this[_0x15f68b(0x12f)],_0x3961f4,_0x2217b2,this[_0x15f68b(0x303)],void 0x0):this[_0x15f68b(0x12c)][_0x15f68b(0x300)](le,this[_0x15f68b(0xf7)],this['type'],_0x3961f4,this[_0x15f68b(0x303)]);_0x2f1ebd[_0x15f68b(0x395)](),this['_handler'][_0x15f68b(0x243)](this,_0x2f1ebd);},_0x5a13e3);}[_0x4328bf(0x1ec)](){var _0x31b2a8=_0x4328bf,_0x1c0c90;const _0x2786fc=this[_0x31b2a8(0x18e)][_0x31b2a8(0x2b0)](K);return(_0x1c0c90=_0x2786fc==null?void 0x0:_0x2786fc[_0x31b2a8(0x168)])!=null?_0x1c0c90:ps;}[_0x4328bf(0xbd)](){var _0x341a16=_0x4328bf;throw new Error(_0x341a16(0x161));}[_0x4328bf(0x1ab)](){var _0x29a331=_0x4328bf;this[_0x29a331(0x392)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x29a331(0x392)]=null);}['_onConflict'](_0x1077df){var _0x564c4d=_0x4328bf;return this[_0x564c4d(0x1ab)](),this[_0x564c4d(0x12c)][_0x564c4d(0x300)](ue,this[_0x564c4d(0xf7)],this[_0x564c4d(0x12f)],null,this[_0x564c4d(0x28d)],this[_0x564c4d(0x303)],_0x1077df);}};ae=Se([w(0x4,_0x1dda19(_0xee3a85)),w(0x5,_0x1dda19(_0x2e1984)),w(0x6,_0x1dda19(Pe)),w(0x7,_0x1d1a3b),w(0x8,_0x446ca0),w(0x9,_0x53068b),w(0xa,_0x1b3d1f),w(0xb,_0x49e0a6),w(0xc,_0x16cbab),w(0xd,_0x334ec4(J))],ae);let le=class extends ge{constructor(_0x16655f,_0x572e58,_0x13dc40,_0xf73311,_0x4dcc5e,_0x21bd97,_0x352ed8,_0xd2fc56,_0x1aa402,_0x15984f,_0x16de93){var _0x4707e2=_0x4328bf;super(_0x16655f,_0x572e58,_0x13dc40,[],_0xf73311,_0x352ed8,_0x15984f,_0x21bd97,_0x16de93),D(this,_0x4707e2(0x380),_0x4707e2(0x17f)),D(this,_0x4707e2(0x10d),0x0),D(this,_0x4707e2(0x16e)),D(this,_0x4707e2(0x349)),(this[_0x4707e2(0x12c)]=_0x4dcc5e,this[_0x4707e2(0x259)]=_0xd2fc56,this['_transformService']=_0x1aa402);}[_0x4328bf(0x2a2)](_0x4e1038){var _0x441c38=_0x4328bf;this['_clearScheduledTask']();const _0x2310b7=this[_0x441c38(0x12c)][_0x441c38(0x300)](oe,this[_0x441c38(0xf7)],this[_0x441c38(0x12f)],this[_0x441c38(0x31d)],[_0x4e1038],this[_0x441c38(0x303)],this[_0x441c38(0x16e)]);return _0x2310b7[_0x441c38(0x395)](),_0x2310b7;}[_0x4328bf(0x3c4)](_0x3c8a65){var _0x4166ae=_0x4328bf;if(this[_0x4166ae(0x247)](_0x3c8a65))return this[_0x4166ae(0x1ab)](),this[_0x4166ae(0x12c)][_0x4166ae(0x300)](ee,this[_0x4166ae(0xf7)],this[_0x4166ae(0x12f)],this[_0x4166ae(0x31d)],[],null,[_0x3c8a65],this['_handler']);try{const _0x5cea21=this['_transformService'][_0x4166ae(0xf8)]([_0x3c8a65],[this[_0x4166ae(0x31d)]],!0x1);if(_0x19ed71(_0x5cea21)){const {c1Prime:_0x24e98f,c2Prime:_0x2b2ed8}=_0x5cea21;this[_0x4166ae(0x193)](_0x24e98f[0x0]),_0x2b2ed8[0x0][_0x4166ae(0x1b3)]=this[_0x4166ae(0x111)](),this[_0x4166ae(0x1ab)]();const _0x56f583=this[_0x4166ae(0x12c)][_0x4166ae(0x300)](le,this[_0x4166ae(0xf7)],this[_0x4166ae(0x12f)],_0x2b2ed8[0x0],this[_0x4166ae(0x303)]);return _0x56f583[_0x4166ae(0x395)](),_0x56f583;}return this[_0x4166ae(0xcd)](!0x1);}catch(_0x4d19d9){return this['_logService']['error'](_0x4d19d9),this[_0x4166ae(0xcd)](!0x1);}}[_0x4328bf(0x27d)](_0x523d90){var _0xd0d669=_0x4328bf;this[_0xd0d669(0x1ab)]();const _0x42a19=this[_0xd0d669(0x2f8)][_0xd0d669(0xd8)](this['unitID']);if(_0x523d90[_0xd0d669(0x2ad)]<_0x42a19-0x1)return this;if(this[_0xd0d669(0x247)](_0x523d90))return this[_0xd0d669(0x12c)][_0xd0d669(0x300)](ee,this['unitID'],this[_0xd0d669(0x12f)],null,[],this[_0xd0d669(0x31d)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x14ab2c=this[_0xd0d669(0x12c)][_0xd0d669(0x300)](be,this['unitID'],this['type'],this[_0xd0d669(0x303)]);return _0x14ab2c[_0xd0d669(0x395)](),_0x14ab2c;}[_0x4328bf(0x2b1)](_0x5db743){var _0x458294=_0x4328bf;return this[_0x458294(0xcd)](!!(_0x5db743!=null&&_0x5db743['isPermissionRej']));}['onRemoteRetry'](_0xd64e19){var _0x3c1cdb=_0x4328bf;return this['_resendTimeout']>gi?this['toggleOffline']():(this['_resendTimer']=Ii(this[_0x3c1cdb(0x10d)],{'timeout':this['_resendTimeout'],'reqId':_0xd64e19['reqId']}),this['_sender']=this[_0x3c1cdb(0x16e)]['subscribe'](({reqId:_0x1986f0,timeout:_0x131235})=>{var _0xf34f5c=_0x3c1cdb;this[_0xf34f5c(0x3d1)](_0x1986f0,_0x131235);}),this);}[_0x4328bf(0x236)](){var _0x4a2c74=_0x4328bf;return this[_0x4a2c74(0x1ab)](),this['_injector'][_0x4a2c74(0x300)](de,this[_0x4a2c74(0xf7)],this['type'],this['_awaitingChangeset'],[],this['_handler']);}[_0x4328bf(0x3d4)](){return this;}['resend'](){var _0xd61567=_0x4328bf;this['_handler']['onSendChangeset'](this[_0xd61567(0x31d)]);}[_0x4328bf(0xcd)](_0x9d46b7){var _0x3e42f1=_0x4328bf;return this['_clearScheduledTask'](),this['_injector'][_0x3e42f1(0x300)](ue,this['unitID'],this[_0x3e42f1(0x12f)],this[_0x3e42f1(0x31d)],[],this[_0x3e42f1(0x303)],_0x9d46b7);}['_resendWithTimeout'](_0x256a5b,_0x1680ce){var _0x5269c6=_0x4328bf,_0x3569f7;_0x256a5b===((_0x3569f7=this[_0x5269c6(0x31d)])==null?void 0x0:_0x3569f7['reqId'])&&(this['resend'](),this[_0x5269c6(0x10d)]=_0x1680ce===0x0?0x3e8:_0x1680ce*0x2);}[_0x4328bf(0x1ab)](){var _0x3719ce=_0x4328bf,_0x11e81a;(_0x11e81a=this['_sender'])==null||_0x11e81a[_0x3719ce(0xd2)](),this[_0x3719ce(0x10d)]=0x0;}};le=Se([w(0x4,_0x1dda19(_0xee3a85)),w(0x5,_0x1dda19(_0x2e1984)),w(0x6,_0x446ca0),w(0x7,_0x1d1a3b),w(0x8,_0x1b3d1f),w(0x9,_0x16cbab),w(0xa,_0x334ec4(J))],le);let oe=class extends ge{constructor(_0x40be45,_0x2fe956,_0x5652ec,_0x4eb0b4,_0x46bbbf,_0x356d66,_0x2faeed,_0x55d48b,_0x19c503,_0xe966c2,_0x5b7f94,_0x164819,_0x452c16){var _0x187040=_0x4328bf;super(_0x40be45,_0x2fe956,_0x5652ec,_0x4eb0b4,_0x46bbbf,_0x19c503,_0x164819,_0x55d48b,_0x452c16),D(this,'status','awaiting_with_pending'),D(this,_0x187040(0x10d),0x0),D(this,_0x187040(0x16e)),D(this,_0x187040(0x349)),(this[_0x187040(0x12c)]=_0x2faeed,this[_0x187040(0x259)]=_0xe966c2,this[_0x187040(0x1eb)]=_0x5b7f94,this[_0x187040(0x3a1)]=_0x452c16,_0x356d66&&(this['_resendTimer']=_0x356d66,this[_0x187040(0x349)]=this[_0x187040(0x16e)]['subscribe'](({reqId:_0x542765,timeout:_0x2d6d6f})=>{var _0x1b74e7=_0x187040;this[_0x1b74e7(0x3d1)](_0x542765,_0x2d6d6f);})));}[_0x4328bf(0x2a2)](_0xdf030f){var _0xb7e7b7=_0x4328bf;return this[_0xb7e7b7(0x28d)][_0xb7e7b7(0x348)](_0xdf030f),this;}['onRemoteChangeset'](_0x57c2c4){var _0x20beb7=_0x4328bf;if(this['_checkMissing'](_0x57c2c4))return this['_clearScheduledTask'](),this[_0x20beb7(0x12c)][_0x20beb7(0x300)](ee,this[_0x20beb7(0xf7)],this['type'],this['_awaitingChangeset'],this[_0x20beb7(0x28d)],null,[_0x57c2c4],this['_handler']);try{const _0x1af9e7=this[_0x20beb7(0x1eb)][_0x20beb7(0xf8)]([_0x57c2c4],[this['_awaitingChangeset']],!0x1);if(_0x19ed71(_0x1af9e7)){const {c1Prime:_0x31c641,c2Prime:_0x4debc3}=_0x1af9e7,_0x554b19=this[_0x20beb7(0x1eb)]['transformMutationsWithChangeset'](_0x31c641[0x0],this[_0x20beb7(0x28d)]);if(_0x1ae9ad(_0x554b19)){const {c1Prime:_0x2a2edf,m2Prime:_0x597d85}=_0x554b19;return this[_0x20beb7(0x193)](_0x2a2edf),_0x4debc3[0x0][_0x20beb7(0x1b3)]=this['_getCurrentRevision'](),this[_0x20beb7(0x1ab)](),this['_injector'][_0x20beb7(0x300)](oe,this[_0x20beb7(0xf7)],this[_0x20beb7(0x12f)],_0x4debc3[0x0],_0x597d85,this['_handler'],void 0x0);}throw _0x554b19['error'];}throw _0x1af9e7[_0x20beb7(0x1a1)];}catch(_0x282932){return this[_0x20beb7(0x259)]['error'](_0x282932),this[_0x20beb7(0xcd)](!0x1);}}['onRemoteAck'](_0x455bfd){var _0x2cce81=_0x4328bf;if(this[_0x2cce81(0x1ab)](),this[_0x2cce81(0x247)](_0x455bfd))return this[_0x2cce81(0x12c)][_0x2cce81(0x300)](ee,this[_0x2cce81(0xf7)],this[_0x2cce81(0x12f)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x2cce81(0x303)]);this[_0x2cce81(0x3ad)]();const _0x2cc952=this[_0x2cce81(0x12c)]['createInstance'](ae,this[_0x2cce81(0xf7)],this[_0x2cce81(0x12f)],this[_0x2cce81(0x28d)],this[_0x2cce81(0x303)]);return _0x2cc952['_schedule'](),_0x2cc952[_0x2cce81(0x395)](),_0x2cc952;}[_0x4328bf(0x2b1)](_0x4c1daf){var _0x427701=_0x4328bf;return this[_0x427701(0xcd)](!!(_0x4c1daf!=null&&_0x4c1daf[_0x427701(0x332)]));}[_0x4328bf(0x26b)](_0x556ab9){var _0x51fca1=_0x4328bf;return this[_0x51fca1(0x10d)]>gi?this['toggleOffline']():(this[_0x51fca1(0x16e)]=Ii(this[_0x51fca1(0x10d)],{'timeout':this[_0x51fca1(0x10d)],'reqId':_0x556ab9[_0x51fca1(0x2e9)]}),this['_sender']=this[_0x51fca1(0x16e)][_0x51fca1(0x252)](({reqId:_0x52bd63,timeout:_0x19c769})=>{this['_resendWithTimeout'](_0x52bd63,_0x19c769);}),this);}[_0x4328bf(0x236)](){var _0x3007be=_0x4328bf;return this[_0x3007be(0x1ab)](),this[_0x3007be(0x12c)]['createInstance'](de,this['unitID'],this[_0x3007be(0x12f)],this[_0x3007be(0x31d)],this[_0x3007be(0x28d)],this['_handler']);}[_0x4328bf(0x3d4)](){return this;}['resend'](){var _0x35156c=_0x4328bf;this['_handler'][_0x35156c(0xd1)](this[_0x35156c(0x31d)]);}[_0x4328bf(0xcd)](_0x555d18){var _0x32e5d1=_0x4328bf;return this['_clearScheduledTask'](),this[_0x32e5d1(0x12c)][_0x32e5d1(0x300)](ue,this['unitID'],this[_0x32e5d1(0x12f)],null,this[_0x32e5d1(0x28d)],this[_0x32e5d1(0x303)],_0x555d18);}['_resendWithTimeout'](_0x3bff55,_0x4a958a){var _0x3eef8f=_0x4328bf,_0x4fc40a;_0x3bff55===((_0x4fc40a=this[_0x3eef8f(0x31d)])==null?void 0x0:_0x4fc40a[_0x3eef8f(0x2e9)])&&(this['resend'](),this[_0x3eef8f(0x10d)]=_0x4a958a===0x0?0x3e8:_0x4a958a*0x2);}[_0x4328bf(0x1ab)](){var _0x28dcc7=_0x4328bf,_0x51f5ba;(_0x51f5ba=this[_0x28dcc7(0x349)])==null||_0x51f5ba['unsubscribe'](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x1dda19(_0xee3a85)),w(0x7,_0x1dda19(_0x2e1984)),w(0x8,_0x446ca0),w(0x9,_0x1d1a3b),w(0xa,_0x1b3d1f),w(0xb,_0x16cbab),w(0xc,_0x334ec4(J))],oe);let ue=class extends ge{constructor(_0x1bb642,_0x11bcc6,_0x5c4907,_0x2288ba,_0x288bd6,_0x45bc61=!0x1,_0x26b3a6,_0x1a6293,_0x3e73be,_0x13b472,_0x3ca9d8,_0x4b7233,_0x1a3330){var _0x46d53c=_0x4328bf;super(_0x1bb642,_0x11bcc6,_0x5c4907,_0x2288ba,_0x288bd6,_0x1a6293,_0x3e73be,_0x13b472,_0x1a3330),D(this,'status',_0x46d53c(0x2c0)),(this[_0x46d53c(0x28e)]=_0x45bc61,this['_permissionService']=_0x26b3a6,this[_0x46d53c(0xe6)]=_0x3ca9d8,this[_0x46d53c(0xdf)]=_0x4b7233,this['localCacheService']=_0x1a3330,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x4328bf(0x2a2)](){return this;}[_0x4328bf(0x3c4)](){return this;}['onRemoteAck'](){return this;}[_0x4328bf(0x2b1)](){return this;}[_0x4328bf(0x26b)](){return this;}[_0x4328bf(0x236)](){return this;}[_0x4328bf(0x3d4)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x263461=_0x4328bf,_0x1e7eeb;(_0x1e7eeb=this[_0x263461(0x1ed)])==null||_0x1e7eeb[_0x263461(0x3c6)](this[_0x263461(0xf7)],this[_0x263461(0x12f)],null,[]);}[_0x4328bf(0xc8)](){var _0x155ea6=_0x4328bf;this[_0x155ea6(0x28e)]?this['_collaborationUIEventService'][_0x155ea6(0x3bb)]({'id':re[_0x155ea6(0xc0)]}):this[_0x155ea6(0xdf)]['emitEvent']({'id':re[_0x155ea6(0x38d)]});}[_0x4328bf(0x249)](){var _0x3badc4=_0x4328bf;this['_permissionService'][_0x3badc4(0x115)](new _0x104c5b(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0x1dda19(_0xf19167)),w(0x7,_0x446ca0),w(0x8,_0x16cbab),w(0x9,_0x1dda19(_0x2e1984)),w(0xa,_0x1dda19(_0xcdf5b0)),w(0xb,_0x1dda19(ve)),w(0xc,_0x334ec4(J))],ue);let de=class extends ge{constructor(_0x3a7572,_0x10ce89,_0x2e4c97,_0xfc5993,_0x4e4c54,_0x39d1f7,_0x4b96cd,_0x3f8211,_0x23d143,_0x2ae1b2){var _0xfd4675=_0x4328bf;super(_0x3a7572,_0x10ce89,_0x2e4c97,_0xfc5993,_0x4e4c54,_0x3f8211,_0x23d143,_0x4b96cd,_0x2ae1b2),D(this,'status','offline'),this[_0xfd4675(0x12c)]=_0x39d1f7;}[_0x4328bf(0x2a2)](_0x2fc6fe){var _0x2e4fd7=_0x4328bf;return this[_0x2e4fd7(0x28d)][_0x2e4fd7(0x348)](_0x2fc6fe),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x355b9b){var _0x9e7034=_0x4328bf;throw new Error(_0x9e7034(0x2e2));}[_0x4328bf(0x27d)](){var _0x46c819=_0x4328bf;throw new Error(_0x46c819(0x2ac));}[_0x4328bf(0x2b1)](){var _0xab3282=_0x4328bf;throw new Error(_0xab3282(0xec));}['onRemoteRetry'](){return this;}[_0x4328bf(0x236)](){return this;}[_0x4328bf(0x3d4)](){var _0x2b9405=_0x4328bf;const {_injector:_0x21a574,_pendingMutations:_0x29a670,_awaitingChangeset:_0x395fef,unitID:_0x47d1a8,_handler:_0x5756cf,type:_0x217954}=this,_0x48276f=Ti(_0x21a574,_0x47d1a8,_0x217954,_0x395fef,_0x29a670,_0x5756cf);return _0x48276f instanceof ae?_0x48276f[_0x2b9405(0x109)]():(_0x48276f instanceof oe||_0x48276f instanceof le)&&_0x48276f[_0x2b9405(0xbd)](),_0x48276f;}[_0x4328bf(0xbd)](){var _0x5e3e19=_0x4328bf;throw new Error(_0x5e3e19(0x341));}};de=Se([w(0x5,_0x1dda19(_0xee3a85)),w(0x6,_0x1dda19(_0x2e1984)),w(0x7,_0x446ca0),w(0x8,_0x16cbab),w(0x9,_0x334ec4(J))],de);let ee=class extends ge{constructor(_0x413976,_0x12a326,_0x2bfc3a,_0x32408b,_0x43c06c,_0x1c0a50,_0x4b716e,_0x18a04f,_0x12c5aa,_0x143bf6,_0x3ff06b,_0x91d6a3,_0x360991,_0x1c09e8){var _0x514b0f=_0x4328bf;super(_0x413976,_0x12a326,_0x2bfc3a,_0x32408b,_0x4b716e,_0x3ff06b,_0x91d6a3,_0x12c5aa,_0x1c09e8),D(this,'status',_0x514b0f(0x1a5)),(this[_0x514b0f(0x3b5)]=_0x43c06c,this[_0x514b0f(0x217)]=_0x1c0a50,this['_injector']=_0x18a04f,this[_0x514b0f(0x259)]=_0x143bf6,this[_0x514b0f(0x1eb)]=_0x360991,this[_0x514b0f(0x3a1)]=_0x1c09e8);}[_0x4328bf(0x145)](_0x560064){var _0x2ac4f2=_0x4328bf;try{const _0x5ae69f=[..._0x560064,...this['_queuedRemoteChangesets']],_0x2095fe=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x2ac4f2(0x38e)](_0x21718a=>!!_0x21718a);let _0x2d2ffd,_0x396f52;if(_0x2095fe[_0x2ac4f2(0x384)]){const _0x1fef6e=this[_0x2ac4f2(0x1eb)][_0x2ac4f2(0xf8)](_0x5ae69f,_0x2095fe,!0x1);if(!_0x19ed71(_0x1fef6e))throw _0x1fef6e[_0x2ac4f2(0x1a1)];_0x2d2ffd=_0x1fef6e[_0x2ac4f2(0x321)],_0x396f52=_0x1fef6e[_0x2ac4f2(0x143)];}else _0x2d2ffd=_0x5ae69f,_0x396f52=[];let _0xf8c558=this['_pendingMutations'];_0x2d2ffd[_0x2ac4f2(0x1ef)](_0x51691f=>{var _0xc0b4ab=_0x2ac4f2;let _0x4dc9a7;if(_0xf8c558[_0xc0b4ab(0x384)]){const _0x5de960=this['_transformService'][_0xc0b4ab(0x30c)](_0x51691f,_0xf8c558);if(!_0x1ae9ad(_0x5de960))throw _0x5de960[_0xc0b4ab(0x1a1)];_0x4dc9a7=_0x5de960[_0xc0b4ab(0x321)],_0xf8c558=_0x5de960['m2Prime'];}else _0x4dc9a7=_0x51691f;this[_0xc0b4ab(0x193)](_0x4dc9a7);}),this[_0x2ac4f2(0x3b5)]&&this[_0x2ac4f2(0x3ad)](),this['_awaitingChangeset']&&_0x396f52[_0x2ac4f2(0x384)]&&(_0x396f52[0x0][_0x2ac4f2(0x1b3)]=this['_getCurrentRevision']());let _0x2d69d8;if(this['_awaitingChangeset']&&_0xf8c558[_0x2ac4f2(0x384)]!==0x0)_0x2d69d8=this['_injector'][_0x2ac4f2(0x300)](oe,this[_0x2ac4f2(0xf7)],this[_0x2ac4f2(0x12f)],_0x396f52[0x0],_0xf8c558,this['_handler'],void 0x0);else{if(this[_0x2ac4f2(0x31d)]&&_0xf8c558[_0x2ac4f2(0x384)]===0x0)_0x396f52[0x0][_0x2ac4f2(0x1b3)]=this[_0x2ac4f2(0x111)](),_0x2d69d8=this[_0x2ac4f2(0x12c)]['createInstance'](le,this['unitID'],this[_0x2ac4f2(0x12f)],_0x396f52[0x0],this[_0x2ac4f2(0x303)]);else{if(_0xf8c558[_0x2ac4f2(0x384)]!==0x0){const _0x2504da=this[_0x2ac4f2(0x12c)][_0x2ac4f2(0x300)](ae,this[_0x2ac4f2(0xf7)],this[_0x2ac4f2(0x12f)],_0xf8c558,this[_0x2ac4f2(0x303)]);_0x2504da[_0x2ac4f2(0x109)](),_0x2d69d8=_0x2504da;}else _0x2d69d8=this[_0x2ac4f2(0x12c)]['createInstance'](be,this[_0x2ac4f2(0xf7)],this[_0x2ac4f2(0x12f)],this[_0x2ac4f2(0x303)]);}}return _0x2d69d8[_0x2ac4f2(0x395)](),_0x2d69d8;}catch(_0x2c6c0c){return this[_0x2ac4f2(0x259)][_0x2ac4f2(0x1a1)](_0x2ac4f2(0xda),_0x2ac4f2(0x35f),_0x2c6c0c),this[_0x2ac4f2(0x12c)][_0x2ac4f2(0x300)](ue,this['unitID'],this[_0x2ac4f2(0x12f)],this['_awaitingChangeset'],this[_0x2ac4f2(0x28d)],this[_0x2ac4f2(0x303)],!0x1);}}[_0x4328bf(0xbd)](){var _0x3d0923=_0x4328bf;throw new Error(_0x3d0923(0x316));}[_0x4328bf(0x2a2)](_0x39d41f){var _0x2e58d8=_0x4328bf;return this['_pendingMutations'][_0x2e58d8(0x348)](_0x39d41f),this;}[_0x4328bf(0x3c4)](_0x1b108b){return this['_queuedRemoteChangesets']['push'](_0x1b108b),this;}[_0x4328bf(0x27d)](_0x2ae7cc){var _0x11e3c3=_0x4328bf;if(this[_0x11e3c3(0x31d)])return this[_0x11e3c3(0x3b5)]=this['_awaitingChangeset'],this[_0x11e3c3(0x31d)]=null,this;throw new Error(_0x11e3c3(0x13e));}[_0x4328bf(0x2b1)](_0x363227){var _0x39a6dd=_0x4328bf;return this[_0x39a6dd(0xcd)](!!(_0x363227!=null&&_0x363227[_0x39a6dd(0x332)]));}['onRemoteRetry'](){return this;}[_0x4328bf(0x236)](){var _0x15a18a=_0x4328bf;return this['_injector'][_0x15a18a(0x300)](de,this[_0x15a18a(0xf7)],this[_0x15a18a(0x12f)],this[_0x15a18a(0x31d)],this[_0x15a18a(0x28d)],this[_0x15a18a(0x303)]);}[_0x4328bf(0x3d4)](){return this;}[_0x4328bf(0xcd)](_0x56927c){var _0x1e42b2=_0x4328bf;return this[_0x1e42b2(0x12c)][_0x1e42b2(0x300)](ue,this[_0x1e42b2(0xf7)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1e42b2(0x303)],_0x56927c);}};ee=Se([w(0x7,_0x1dda19(_0xee3a85)),w(0x8,_0x1dda19(_0x2e1984)),w(0x9,_0x1d1a3b),w(0xa,_0x446ca0),w(0xb,_0x16cbab),w(0xc,_0x1b3d1f),w(0xd,_0x334ec4(J))],ee);function Ti(_0x5ae98c,_0x170d36,_0x540228,_0x492338,_0x1786b7,_0x1a027e){var _0x66b786=_0x4328bf;return _0x492338&&_0x1786b7[_0x66b786(0x384)]?_0x5ae98c['createInstance'](oe,_0x170d36,_0x540228,_0x492338,_0x1786b7,_0x1a027e,void 0x0):_0x492338?_0x5ae98c[_0x66b786(0x300)](le,_0x170d36,_0x540228,_0x492338,_0x1a027e):_0x1786b7[_0x66b786(0x384)]?_0x5ae98c[_0x66b786(0x300)](ae,_0x170d36,_0x540228,_0x1786b7,_0x1a027e):_0x5ae98c[_0x66b786(0x300)](be,_0x170d36,_0x540228,_0x1a027e);}var Hs=Object['getOwnPropertyDescriptor'],At=(_0x121fb9,_0x51f8ca,_0x33de3d,_0x9b3321)=>{for(var _0x452ab5=_0x9b3321>0x1?void 0x0:_0x9b3321?Hs(_0x51f8ca,_0x33de3d):_0x51f8ca,_0x144a01=_0x121fb9['length']-0x1,_0x18a470;_0x144a01>=0x0;_0x144a01--)(_0x18a470=_0x121fb9[_0x144a01])&&(_0x452ab5=_0x18a470(_0x452ab5)||_0x452ab5);return _0x452ab5;},$=(_0x250a1e,_0x5eeac6)=>(_0x42df6e,_0x460f0a)=>_0x5eeac6(_0x42df6e,_0x460f0a,_0x250a1e);let st=class extends _0x276e6a{constructor(_0x31c2e3,_0x3f633d,_0x36e063,_0x120965,_0x170b46,_0xfbf518,_0x454023,_0x55a4ce,_0x16327a,_0x546563,_0x5d5775,_0x36783e,_0x2cfe11,_0x1a3f4a){var _0x497fd5=_0x4328bf;super(),D(this,_0x497fd5(0x175),new _0x39c092(null)),D(this,_0x497fd5(0x3ce),this['_state$']['asObservable']()),D(this,'_state'),D(this,_0x497fd5(0x3bd),!0x1),D(this,_0x497fd5(0x257),''),D(this,_0x497fd5(0xce),0x0),D(this,_0x497fd5(0x24b),this['state$'][_0x497fd5(0x26f)](_0x3579d8(_0x480365=>_0x480365?_0x480365[_0x497fd5(0x380)]:Si[_0x497fd5(0x17d)]),_0x3af9c2(0x1))),D(this,_0x497fd5(0x373),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x497fd5(0xf7)]=_0x31c2e3,this[_0x497fd5(0x1c7)]=_0x3f633d,this['_type']=_0x36e063,this[_0x497fd5(0x12c)]=_0x120965,this[_0x497fd5(0x32f)]=_0x170b46,this['_localeService']=_0xfbf518,this[_0x497fd5(0x2f8)]=_0x454023,this['_eventService']=_0x55a4ce,this['_univerInstanceService']=_0x16327a,this['_logService']=_0x546563,this[_0x497fd5(0x178)]=_0x5d5775,this[_0x497fd5(0x105)]=_0x36783e,this[_0x497fd5(0x2f6)]=_0x2cfe11,this[_0x497fd5(0x1ed)]=_0x1a3f4a);}get[_0x4328bf(0x2c4)](){var _0x54c4d5=_0x4328bf;return this[_0x54c4d5(0xc9)];}async[_0x4328bf(0x245)](){var _0x3c9431=_0x4328bf;if(this[_0x3c9431(0x2c4)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x3c9431(0x36d)]();}[_0x4328bf(0x135)](){var _0x4a0210=_0x4328bf;return this[_0x4a0210(0x3bd)]=!0x0,_0x473a26(()=>{var _0x4372d5=_0x4a0210;this[_0x4372d5(0x3bd)]=!0x1,this[_0x4372d5(0x1bc)]();});}[_0x4328bf(0xf4)](_0x1cabf4){var _0x4bede2=_0x4328bf;this[_0x4bede2(0x230)](_0x1cabf4);}['_updateState'](_0x472bb3){var _0x540d84=_0x4328bf;this[_0x540d84(0xc9)]=_0x472bb3,this[_0x540d84(0x175)]['next'](_0x472bb3);}async[_0x4328bf(0x36d)](){var _0x16fa19=_0x4328bf,_0x169fd2;this[_0x16fa19(0x2c8)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x169fd2=this[_0x16fa19(0x2f6)])==null||_0x169fd2[_0x16fa19(0x235)](this[_0x16fa19(0xf7)]),this[_0x16fa19(0x27e)](this[_0x16fa19(0x2f6)][_0x16fa19(0x260)](this[_0x16fa19(0xf7)])[_0x16fa19(0x252)](_0x2777b8=>{var _0x2e6954=_0x16fa19;this[_0x2e6954(0x259)][_0x2e6954(0x2c5)](_0x2e6954(0x34d),_0x2e6954(0x227),_0x2777b8),_0x2777b8===mi['OTHER_CLIENTS_EDITING']?(this[_0x2e6954(0x2b5)][_0x2e6954(0x3bb)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x2e6954(0x105)]['updatePermissionPoint'](new _0x104c5b(this[_0x2e6954(0xf7)])['id'],!0x1),this[_0x2e6954(0x105)]['setShowComponents'](!0x1)):(this[_0x2e6954(0x105)][_0x2e6954(0x115)](new _0x104c5b(this[_0x2e6954(0xf7)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x4f92a1=!0x1;return this['disposeWithMe'](this['session']['sessionStatus$']['subscribe'](_0x58778a=>{var _0x185e3b=_0x16fa19;_0x58778a===me[_0x185e3b(0x2ef)]?this['_toggleOnline'](_0x4f92a1):_0x58778a===me[_0x185e3b(0x17d)]&&(_0x4f92a1=!0x0,this[_0x185e3b(0x19d)]());})),this[_0x16fa19(0x27e)](this[_0x16fa19(0x1c7)][_0x16fa19(0x2e5)][_0x16fa19(0x252)](_0x175246=>{var _0x35f15e=_0x16fa19;try{switch(_0x175246[_0x35f15e(0x1dd)]){case _0x5d996f[_0x35f15e(0x13a)]:{this[_0x35f15e(0xbf)](_0x7a556(_0x175246[_0x35f15e(0x334)]));break;}case _0x5d996f[_0x35f15e(0x107)]:{this[_0x35f15e(0x1ea)](_0x175246[_0x35f15e(0x334)]);break;}case _0x5d996f[_0x35f15e(0x14e)]:{this[_0x35f15e(0x1b8)]();break;}case _0x5d996f[_0x35f15e(0x162)]:{this[_0x35f15e(0x233)](_0x175246[_0x35f15e(0x334)]);break;}case _0x5d996f[_0x35f15e(0x250)]:{this[_0x35f15e(0x31a)](_0x175246['data']['changesets']['map'](_0x59cffc=>_0x7a556(_0x59cffc)));break;}case _0x5d996f[_0x35f15e(0x3a5)]:{this[_0x35f15e(0x1b8)]({'isPermissionRej':!0x0});break;}case _0x5d996f[_0x35f15e(0xeb)]:break;}}catch(_0x13b000){throw console[_0x35f15e(0x1a1)](_0x35f15e(0xdd),_0x13b000),_0x13b000;}})),this['_state'];}[_0x4328bf(0x25b)](){var _0x1ad41a=_0x4328bf;this[_0x1ad41a(0x373)]=!0x1;}[_0x4328bf(0x159)](){var _0x4658c4=_0x4328bf;if(this[_0x4658c4(0x373)])throw new Error(_0x4658c4(0x1dc));this[_0x4658c4(0x373)]=!0x0;}[_0x4328bf(0x230)](_0x3caf55){var _0x29d880=_0x4328bf;this[_0x29d880(0x159)](),this[_0x29d880(0x2c8)](this[_0x29d880(0xc9)]['appendMutation'](_0x3caf55)),this[_0x29d880(0x25b)]();}['_onRemoteChangeset'](_0x1075d2){var _0x372bc9=_0x4328bf;if(!(_0x1075d2[_0x372bc9(0x2ad)]<=this[_0x372bc9(0x2f8)]['getCurrentRevOfUnit'](this[_0x372bc9(0xf7)]))){if(this['_collaborationPaused']){this[_0x372bc9(0x394)][_0x372bc9(0x348)](_0x1075d2);return;}this[_0x372bc9(0x239)](_0x1075d2);}}[_0x4328bf(0x1bc)](){var _0x1734d6=_0x4328bf;this[_0x1734d6(0x394)][_0x1734d6(0x1ef)](_0x28de36=>this[_0x1734d6(0x239)](_0x28de36)),this[_0x1734d6(0x394)]=[];}[_0x4328bf(0x239)](_0x12ebe3){var _0x3048f3=_0x4328bf;const _0x3d57db=this[_0x3048f3(0x32f)][_0x3048f3(0x21b)]['fetchThroughInterceptors'](this[_0x3048f3(0x32f)][_0x3048f3(0x21b)]['getInterceptPoints']()[_0x3048f3(0x141)])(_0x12ebe3[_0x3048f3(0x288)],null)||_0x12ebe3[_0x3048f3(0x288)],_0x22fa7f={..._0x12ebe3,'mutations':_0x3d57db};this[_0x3048f3(0x159)](),this['_updateState'](this[_0x3048f3(0xc9)][_0x3048f3(0x3c4)](_0x22fa7f)),this[_0x3048f3(0x25b)]();}[_0x4328bf(0x1ea)](_0x9a0577){var _0x80d695=_0x4328bf;this['_lockTransition'](),this[_0x80d695(0x2c8)](this[_0x80d695(0xc9)][_0x80d695(0x27d)](_0x9a0577)),this['_unlockTransition']();}[_0x4328bf(0x1b8)](_0x2d6299){var _0x3b3df2=_0x4328bf;this[_0x3b3df2(0x159)](),this[_0x3b3df2(0x2c8)](this[_0x3b3df2(0xc9)][_0x3b3df2(0x2b1)](_0x2d6299)),this['_unlockTransition']();}[_0x4328bf(0x233)](_0x4aa84b){var _0x35b151=_0x4328bf;this[_0x35b151(0x159)](),this[_0x35b151(0x2c8)](this[_0x35b151(0xc9)]['onRemoteRetry'](_0x4aa84b)),this['_unlockTransition']();}['_onFetchMissResult'](_0x211414){var _0x3c4d79=_0x4328bf;if(!(this[_0x3c4d79(0xc9)]instanceof ee))throw new TypeError(_0x3c4d79(0xfe));const _0x2d1fe0=_0x211414['map'](_0x2461f2=>{var _0x3650b1=_0x3c4d79;const _0x21e35d=this[_0x3650b1(0x32f)][_0x3650b1(0x21b)][_0x3650b1(0x180)](this[_0x3650b1(0x32f)]['interceptor'][_0x3650b1(0x382)]()[_0x3650b1(0x141)])(_0x2461f2['mutations'],null)||_0x2461f2[_0x3650b1(0x288)];return{..._0x2461f2,'mutations':_0x21e35d};});this['_lockTransition'](),this[_0x3c4d79(0x2c8)](this[_0x3c4d79(0xc9)]['onMissedChangesetFetched'](_0x2d1fe0)),this[_0x3c4d79(0x25b)]();}[_0x4328bf(0x19d)](){var _0x42435f=_0x4328bf;this[_0x42435f(0x159)](),this[_0x42435f(0x2c8)](this['_state'][_0x42435f(0x236)]()),this[_0x42435f(0x25b)]();}[_0x4328bf(0x396)](_0xcaa71f=!0x1){var _0x23d318=_0x4328bf;this[_0x23d318(0x159)](),this['_updateState'](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0x35b066=this[_0x23d318(0xc9)];_0xcaa71f&&_0x35b066 instanceof be&&(this['_lockTransition'](),this['_updateState'](_0x35b066[_0x23d318(0x20a)]()),this[_0x23d318(0x25b)]());}async[_0x4328bf(0x173)](){return new Promise(_0x1570a2=>{var _0x430e7d=_0x3c32;this['session'][_0x430e7d(0x18a)]['pipe'](_0x214f29(0x1))[_0x430e7d(0x252)](async _0x58c1a6=>{_0x1570a2(await this['_createInitialStateImpl'](_0x58c1a6===me['ONLINE']));});});}[_0x4328bf(0x18d)](){var _0xfec38=_0x4328bf;const _0x4adbec=this[_0xfec38(0xf7)];return{'onStateChange':(_0x182bb5,_0x318b79)=>{var _0xadfcf3=_0xfec38;if(_0x182bb5!==this[_0xadfcf3(0xc9)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x182bb5[_0xadfcf3(0x380)]+_0xadfcf3(0x177)+_0x318b79[_0xadfcf3(0x380)]+_0xadfcf3(0x381)+this[_0xadfcf3(0xc9)][_0xadfcf3(0x380)]);this[_0xadfcf3(0x2c8)](_0x318b79);},'onSendChangeset':_0x161fb2=>{var _0x433232=_0xfec38;_0x161fb2[_0x433232(0x253)]||(_0x161fb2[_0x433232(0x253)]=this[_0x433232(0x257)],_0x161fb2[_0x433232(0x2e9)]=++this[_0x433232(0xce)]);const _0x47469d={'eventID':_0x5d996f['SUBMIT_CHANGESET'],'data':{'unitID':_0x161fb2[_0x433232(0xf7)],'unitType':this[_0x433232(0x2ab)],'changeset':_0x161fb2,'memberID':this['session'][_0x433232(0x120)]()}};this['session']['send'](_0x47469d,this[_0x433232(0xf7)]);},'onMissingChangesets':({from:_0x12f10d,to:_0x181a79})=>{var _0x27aa4e=_0xfec38;this[_0x27aa4e(0x259)][_0x27aa4e(0x2c5)](_0x27aa4e(0x34d),_0x27aa4e(0xff)+_0x12f10d+_0x27aa4e(0x1b4)+_0x181a79);const _0x2afd62={'eventID':_0x5d996f[_0x27aa4e(0x295)],'data':{'unitID':_0x4adbec,'unitType':this['_type'],'from':_0x12f10d,'to':_0x181a79}};this[_0x27aa4e(0x1c7)][_0x27aa4e(0x36a)](_0x2afd62,this[_0x27aa4e(0xf7)]);}};}async[_0x4328bf(0x160)](_0x34f077){var _0xa473e1=_0x4328bf,_0x5a24bc,_0x3c7bbc,_0x531548;const _0x3e72d3=await((_0x5a24bc=this['_localCacheService'])==null?void 0x0:_0x5a24bc[_0xa473e1(0x3aa)](this[_0xa473e1(0xf7)])),_0x228377=(_0x3c7bbc=_0x3e72d3==null?void 0x0:_0x3e72d3[_0xa473e1(0x288)])!=null?_0x3c7bbc:[],_0x12cdf8=(_0x531548=_0x3e72d3==null?void 0x0:_0x3e72d3[_0xa473e1(0x16f)])!=null?_0x531548:null,_0x27d2ab=!!(_0x12cdf8!=null&&_0x12cdf8['sid'])&&!!(_0x12cdf8!=null&&_0x12cdf8[_0xa473e1(0x2e9)]);this['_changesetSessionId']=_0x27d2ab?_0x12cdf8[_0xa473e1(0x253)]:_0x5009a5(),this['_changesetReqId']=_0x27d2ab?_0x12cdf8[_0xa473e1(0x2e9)]:0x0;const _0x35ff8a=this[_0xa473e1(0xf7)];try{this['_replayCachedMutations'](_0x12cdf8,_0x228377);}catch(_0x4b186a){this[_0xa473e1(0x259)][_0xa473e1(0x1a1)](_0x4b186a);}const _0x5db44a=this[_0xa473e1(0x18d)]();if(_0x34f077){const _0x39bdc0=Ti(this['_injector'],_0x35ff8a,this[_0xa473e1(0x2ab)],_0x12cdf8,_0x228377,_0x5db44a);return _0x39bdc0 instanceof ae?_0x39bdc0[_0xa473e1(0x109)]():(_0x39bdc0 instanceof oe||_0x39bdc0 instanceof le)&&_0x39bdc0[_0xa473e1(0xbd)](),_0x39bdc0;}return this['_injector']['createInstance'](de,_0x35ff8a,this[_0xa473e1(0x2ab)],_0x12cdf8,_0x228377,_0x5db44a);}[_0x4328bf(0x339)](_0x448184,_0x5cc427){var _0x5e0db9=_0x4328bf,_0x5b05b4,_0x2ef598;const _0x2c9390=this[_0x5e0db9(0x32f)]['interceptor'][_0x5e0db9(0x180)](this[_0x5e0db9(0x32f)][_0x5e0db9(0x21b)][_0x5e0db9(0x382)]()[_0x5e0db9(0x141)]);(_0x5b05b4=_0x2c9390((_0x448184==null?void 0x0:_0x448184['mutations'])||[],null))==null||_0x5b05b4[_0x5e0db9(0x1ef)](_0x441a30=>this[_0x5e0db9(0x178)]['executeCommand'](_0x441a30['id'],_0x441a30[_0x5e0db9(0x39a)])),(_0x2ef598=_0x2c9390(_0x5cc427||[],null))==null||_0x2ef598[_0x5e0db9(0x1ef)](_0x52227b=>this['_commandService'][_0x5e0db9(0x198)](_0x52227b['id'],_0x52227b[_0x5e0db9(0x39a)]));}};st=At([$(0x3,_0x1dda19(_0xee3a85)),$(0x4,_0x1dda19(_0x383362)),$(0x5,_0x1dda19(_0xcdf5b0)),$(0x6,_0x1dda19(_0x2e1984)),$(0x7,_0x1dda19(ve)),$(0x8,_0x49e0a6),$(0x9,_0x1d1a3b),$(0xa,_0x446ca0),$(0xb,_0xf19167),$(0xc,_0x334ec4(_t)),$(0xd,_0x334ec4(J))],st);let It=class extends st{constructor(_0x49004f,_0x1d6de4,_0x3924f8,_0x58538b,_0x5ebb33,_0x24215a,_0x357f6c,_0x394e62,_0x7f3cb0,_0x26787f,_0x39f12c,_0x4f789f,_0xfc1261,_0x54782a){var _0x566297=_0x4328bf;super(_0x49004f,_0x3924f8,_0x1d6de4,_0x58538b,_0x5ebb33,_0x24215a,_0x357f6c,_0x394e62,_0x7f3cb0,_0x26787f,_0x39f12c,_0x4f789f,_0xfc1261,_0x54782a),D(this,_0x566297(0x267),null),(this[_0x566297(0xf7)]=_0x49004f,this['type']=_0x1d6de4);}['addHandlerCallback'](_0x5276c0){var _0x129665=_0x4328bf;this[_0x129665(0x267)]=_0x5276c0;}['dispose'](){var _0x3075f9=_0x4328bf;this[_0x3075f9(0x267)]=null,super[_0x3075f9(0x113)]();}['_createHandler'](){var _0x3239e1=_0x4328bf;const _0x2a08c9=super[_0x3239e1(0x18d)]();return _0x2a08c9[_0x3239e1(0x309)]=_0x4c4913=>{var _0x4e3831=_0x3239e1,_0x487904,_0x59a1dd;return(_0x59a1dd=(_0x487904=this[_0x4e3831(0x267)])==null?void 0x0:_0x487904[_0x4e3831(0x309)])==null?void 0x0:_0x59a1dd[_0x4e3831(0x34c)](_0x487904,_0x4c4913);},_0x2a08c9[_0x3239e1(0x1a2)]=_0x24c450=>{var _0x39f80a=_0x3239e1,_0x12ee6f,_0x620b92;return(_0x620b92=(_0x12ee6f=this[_0x39f80a(0x267)])==null?void 0x0:_0x12ee6f[_0x39f80a(0x1a2)])==null?void 0x0:_0x620b92[_0x39f80a(0x34c)](_0x12ee6f,_0x24c450);},_0x2a08c9[_0x3239e1(0x1e5)]=_0x865cbf=>{var _0x589cb4=_0x3239e1,_0x3ba082,_0x204fdf;return(_0x204fdf=(_0x3ba082=this[_0x589cb4(0x267)])==null?void 0x0:_0x3ba082[_0x589cb4(0x1e5)])==null?void 0x0:_0x204fdf[_0x589cb4(0x34c)](_0x3ba082,_0x865cbf);},_0x2a08c9[_0x3239e1(0x39d)]=_0x12e027=>{var _0x5053c3=_0x3239e1,_0x189e86,_0x10847e;return(_0x10847e=(_0x189e86=this[_0x5053c3(0x267)])==null?void 0x0:_0x189e86[_0x5053c3(0x39d)])==null?void 0x0:_0x10847e[_0x5053c3(0x34c)](_0x189e86,_0x12e027);},_0x2a08c9[_0x3239e1(0x1e2)]=_0x22fd26=>{var _0x3cd5b1=_0x3239e1,_0x14b774,_0x3aceac,_0x1bec76;if(!((_0x14b774=this['_handlerCallback'])!=null&&_0x14b774[_0x3cd5b1(0x1e2)]))throw new Error(_0x3cd5b1(0x2bd));return(_0x1bec76=(_0x3aceac=this['_handlerCallback'])==null?void 0x0:_0x3aceac[_0x3cd5b1(0x1e2)])==null?void 0x0:_0x1bec76['call'](_0x3aceac,_0x22fd26);},_0x2a08c9[_0x3239e1(0x1b5)]=_0x1ce86c=>{var _0x2a7d06=_0x3239e1,_0x320b3e,_0x340df5,_0x5052cc;if(!((_0x320b3e=this[_0x2a7d06(0x267)])!=null&&_0x320b3e[_0x2a7d06(0x1b5)]))throw new Error(_0x2a7d06(0x35a));return(_0x5052cc=(_0x340df5=this[_0x2a7d06(0x267)])==null?void 0x0:_0x340df5[_0x2a7d06(0x1b5)])==null?void 0x0:_0x5052cc[_0x2a7d06(0x34c)](_0x340df5,_0x1ce86c);},_0x2a08c9;}async[_0x4328bf(0x36d)](){var _0x1f791d=_0x4328bf;const _0xa14b26=await super['_init']();return this[_0x1f791d(0x27e)](this[_0x1f791d(0x178)][_0x1f791d(0x1bb)]((_0x45ab56,_0x14455d)=>{var _0x21c707=_0x1f791d;if(_0x45ab56['type']!==_0x8c8749[_0x21c707(0x172)]||_0x14455d!=null&&_0x14455d['fromCollab']||_0x14455d!=null&&_0x14455d['onlyLocal']||_0x45ab56['id']===_0x5c1719['id'])return;const _0x5baa2d=_0x45ab56[_0x21c707(0x39a)];if((_0x5baa2d==null?void 0x0:_0x5baa2d[_0x21c707(0x223)])!==this['unitID'])return;const _0x279fa2=_0x45ab56,_0x41201b=this[_0x21c707(0x32f)]['interceptor'][_0x21c707(0x180)](this[_0x21c707(0x32f)][_0x21c707(0x21b)][_0x21c707(0x382)]()[_0x21c707(0x28f)])([_0x279fa2],this[_0x21c707(0x2f5)])||[_0x279fa2];this['_onLocalMutation'](_0x41201b[0x0]);})),_0xa14b26;}};It=At([$(0x3,_0x1dda19(_0xee3a85)),$(0x4,_0x1dda19(_0x383362)),$(0x5,_0x1dda19(_0xcdf5b0)),$(0x6,_0x1dda19(_0x2e1984)),$(0x7,_0x1dda19(ve)),$(0x8,_0x49e0a6),$(0x9,_0x1d1a3b),$(0xa,_0x446ca0),$(0xb,_0xf19167),$(0xc,_0x334ec4(_t)),$(0xd,_0x334ec4(J))],It);let St=class extends st{constructor(_0x202b87,_0xa3826f,_0x48d70c,_0x2a1ba9,_0xa8abe2,_0x37d9f5,_0x10d04d,_0x2f2d9a,_0x3a0041,_0x557eba,_0x217bbb,_0x4e1606,_0x15df38,_0x316f9d,_0xd562ad){var _0xd0580a=_0x4328bf;super(_0x202b87,_0x48d70c,_0xa3826f,_0x2a1ba9,_0xa8abe2,_0x37d9f5,_0x10d04d,_0x3a0041,_0x557eba,_0x217bbb,_0x4e1606,_0x15df38,_0x316f9d,_0xd562ad),this['unitID']=_0x202b87,this[_0xd0580a(0x12f)]=_0xa3826f,this[_0xd0580a(0x1d9)]=_0x2f2d9a;}[_0x4328bf(0x18d)](){var _0x3f5676=_0x4328bf;const _0xafef96=super[_0x3f5676(0x18d)]();return _0xafef96[_0x3f5676(0x1e5)]=_0x2598a7=>this[_0x3f5676(0x1d9)]['transformSelections'](_0x2598a7),_0xafef96;}async[_0x4328bf(0x36d)](){var _0x19ab9c=_0x4328bf;const _0x459222=await super['_init']();return this[_0x19ab9c(0x27e)](this[_0x19ab9c(0x178)][_0x19ab9c(0x1bb)]((_0xaa91fc,_0x11960d)=>{var _0x4693b4=_0x19ab9c;if(_0xaa91fc['type']!==_0x8c8749[_0x4693b4(0x172)]||_0x11960d!=null&&_0x11960d[_0x4693b4(0x14c)]||_0x11960d!=null&&_0x11960d[_0x4693b4(0x297)])return;const _0x4933e2=_0xaa91fc[_0x4693b4(0x39a)];if((_0x4933e2==null?void 0x0:_0x4933e2['unitId'])!==this[_0x4693b4(0xf7)])return;const _0x31de81=_0xaa91fc,_0x2ff427=this[_0x4693b4(0x32f)][_0x4693b4(0x21b)][_0x4693b4(0x180)](this['_compressMutationService']['interceptor'][_0x4693b4(0x382)]()[_0x4693b4(0x28f)])([_0x31de81],this[_0x4693b4(0x2f5)])||[_0x31de81];this[_0x4693b4(0x230)](_0x2ff427[0x0]);})),_0x459222;}};St=At([$(0x3,_0x1dda19(_0xee3a85)),$(0x4,_0x1dda19(_0x383362)),$(0x5,_0x1dda19(_0xcdf5b0)),$(0x6,_0x1dda19(_0x2e1984)),$(0x7,_0x1dda19(it)),$(0x8,_0x1dda19(ve)),$(0x9,_0x49e0a6),$(0xa,_0x1d1a3b),$(0xb,_0x446ca0),$(0xc,_0xf19167),$(0xd,_0x334ec4(_t)),$(0xe,_0x334ec4(J))],St);const Bs=_0xb1f68a(_0x4328bf(0x307));function Fs(_0x2e1812){var _0x2c1465=_0x4328bf,_0x30c293,_0x275b71,_0xd2878a,_0x22ea80,_0x5d708d;const _0xf03348=_0x2e1812[_0x2c1465(0x334)],_0x36b1c6=JSON[_0x2c1465(0x2c6)](_0xf03348);switch(_0x36b1c6[_0x2c1465(0x106)]){case j['HEARTBEAT']:case j[_0x2c1465(0x2b4)]:{const _0x3211cd=_0x36b1c6['infoRsp'];return{..._0x36b1c6,'data':_0x3211cd,'cmd':_0x36b1c6[_0x2c1465(0x106)]};}case j[_0x2c1465(0x379)]:{const _0x6dd0c7=_0x36b1c6['joinRsp'];return{..._0x36b1c6,'data':_0x6dd0c7,'cmd':_0x36b1c6[_0x2c1465(0x106)]};}case j[_0x2c1465(0x19a)]:{const _0x6d622=_0x36b1c6[_0x2c1465(0x127)];switch(_0x6d622[_0x2c1465(0x1dd)]){case _0x5d996f[_0x2c1465(0x3a5)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':(_0x30c293=_0x6d622[_0x2c1465(0x367)])==null?void 0x0:_0x30c293['cs']},'cmd':_0x36b1c6['cmd']};case _0x5d996f[_0x2c1465(0x107)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':(_0x275b71=_0x6d622[_0x2c1465(0x2f1)])==null?void 0x0:_0x275b71['cs']},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f['NEW_CHANGESETS']:return{..._0x36b1c6,'data':{..._0x6d622,'data':(_0xd2878a=_0x6d622[_0x2c1465(0x280)])==null?void 0x0:_0xd2878a['cs']},'cmd':_0x36b1c6['cmd']};case _0x5d996f[_0x2c1465(0x14e)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':(_0x22ea80=_0x6d622['csRejEvent'])==null?void 0x0:_0x22ea80['cs']},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x162)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':(_0x5d708d=_0x6d622[_0x2c1465(0x240)])==null?void 0x0:_0x5d708d['cs']},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x224)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x32c)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f['USERS_ENTER']:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x187)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x34e)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x19e)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x2e3)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0xd6)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x335)]:case _0x5d996f[_0x2c1465(0x137)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x399)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x13c)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0xd6)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x1db)]:return{..._0x36b1c6,'data':_0x6d622,'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x37c)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x20f)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f['UPDATE_PERMISSION_OBJ']:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x26d)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0x342)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x38c)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};case _0x5d996f[_0x2c1465(0xeb)]:return{..._0x36b1c6,'data':{..._0x6d622,'data':_0x6d622[_0x2c1465(0x282)]},'cmd':_0x36b1c6[_0x2c1465(0x106)]};default:return _0x36b1c6;}}default:return _0x36b1c6;}}function js(_0x2ad4a1){var _0x1cd154=_0x4328bf;switch(_0x2ad4a1[_0x1cd154(0x106)]){case j[_0x1cd154(0x2cf)]:case j[_0x1cd154(0x2b4)]:return JSON[_0x1cd154(0xe2)]({'cmd':_0x2ad4a1[_0x1cd154(0x106)],'routeKey':_0x2ad4a1[_0x1cd154(0x194)]});case j[_0x1cd154(0x1b0)]:{let _0x124927;switch(_0x2ad4a1[_0x1cd154(0x334)][_0x1cd154(0x1dd)]){case _0x5d996f[_0x1cd154(0x224)]:{_0x124927={'eventID':_0x5d996f[_0x1cd154(0x224)],'updateCursorEvent':_0x2ad4a1[_0x1cd154(0x334)][_0x1cd154(0x334)]};break;}case _0x5d996f[_0x1cd154(0x34e)]:{_0x124927={'eventID':_0x5d996f[_0x1cd154(0x34e)],'leaveEvent':_0x2ad4a1[_0x1cd154(0x334)][_0x1cd154(0x334)]};break;}case _0x5d996f[_0x1cd154(0x33d)]:{_0x124927={'eventID':_0x5d996f['USERS_ENTER'],'joinEvent':_0x2ad4a1['data']['data']};break;}case _0x5d996f[_0x1cd154(0x2e3)]:{_0x124927={'eventID':_0x5d996f[_0x1cd154(0x2e3)],'liveShareNewHost':_0x2ad4a1[_0x1cd154(0x334)]['data']};break;}case _0x5d996f['LIVESHARE_OPERATION']:{_0x124927={'eventID':_0x5d996f['LIVESHARE_OPERATION'],'liveShareOperation':_0x2ad4a1[_0x1cd154(0x334)]['data']};break;}case _0x5d996f[_0x1cd154(0x13c)]:{_0x124927={'eventID':_0x5d996f['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2ad4a1[_0x1cd154(0x334)][_0x1cd154(0x334)]};break;}case _0x5d996f[_0x1cd154(0x3b9)]:{_0x124927={'eventID':_0x5d996f[_0x1cd154(0x3b9)],'liveShareRequestHost':_0x2ad4a1[_0x1cd154(0x334)][_0x1cd154(0x334)]};break;}case _0x5d996f[_0x1cd154(0x335)]:{_0x124927={'eventID':_0x5d996f['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x124927={'eventID':_0x2ad4a1[_0x1cd154(0x334)][_0x1cd154(0x1dd)]};}return JSON['stringify']({'cmd':_0x2ad4a1[_0x1cd154(0x106)],'routeKey':_0x2ad4a1[_0x1cd154(0x194)],'collaMsg':_0x124927});}case j[_0x1cd154(0x379)]:return JSON[_0x1cd154(0xe2)]({'cmd':_0x2ad4a1[_0x1cd154(0x106)],'routeKey':_0x2ad4a1['routeKey'],'joinReq':_0x2ad4a1[_0x1cd154(0x334)]});case j[_0x1cd154(0x28a)]:return JSON[_0x1cd154(0xe2)]({'cmd':_0x2ad4a1[_0x1cd154(0x106)],'routeKey':_0x2ad4a1[_0x1cd154(0x194)],'leaveReq':_0x2ad4a1[_0x1cd154(0x334)]});default:throw new Error(_0x1cd154(0xbc));}}var Vs=Object[_0x4328bf(0x10e)],Gs=(_0x58790a,_0x17ce82,_0x205c80,_0x256e17)=>{var _0x291004=_0x4328bf;for(var _0x19afb5=_0x256e17>0x1?void 0x0:_0x256e17?Vs(_0x17ce82,_0x205c80):_0x17ce82,_0x385b31=_0x58790a[_0x291004(0x384)]-0x1,_0x2cdd96;_0x385b31>=0x0;_0x385b31--)(_0x2cdd96=_0x58790a[_0x385b31])&&(_0x19afb5=_0x2cdd96(_0x19afb5)||_0x19afb5);return _0x19afb5;},ye=(_0x535200,_0x39bc64)=>(_0x308308,_0x5c2204)=>_0x39bc64(_0x308308,_0x5c2204,_0x535200);const Oi=_0xb1f68a(_0x4328bf(0x3a6));function Ws(_0x18bd17,_0x5cfea9,_0x4ba91f){var _0xeee8=_0x4328bf;return _0x18bd17+'/'+_0x5cfea9+'/unit/'+_0x4ba91f+_0xeee8(0x33b);}let Gt=class extends _0x52aa1d{constructor(_0x331604,_0x1a4733,_0x355600,_0x55f6f1,_0x3bc5c9){var _0x54c096=_0x4328bf;super(),this['_injector']=_0x331604,this['_httpService']=_0x1a4733,this[_0x54c096(0x18e)]=_0x355600,this[_0x54c096(0x259)]=_0x55f6f1,this[_0x54c096(0x182)]=_0x3bc5c9;}[_0x4328bf(0x11b)](_0x3b025c){var _0x4ee490=_0x4328bf;const _0x57f15f=this[_0x4ee490(0x12c)][_0x4ee490(0x136)](_0x23fc33);if(!_0x57f15f)throw new Error(_0x4ee490(0x35c));const _0x24350a=_0x57f15f[_0x4ee490(0x19c)](_0x3b025c);if(!_0x24350a)throw new Error(_0x4ee490(0x15f));const _0x3b8aa3=new _0x507ed9(),_0x1714ed=new _0x37fbef();_0x3b8aa3['add'](_0x24350a[_0x4ee490(0x1f4)]['subscribe'](_0x370ea3=>_0x1714ed[_0x4ee490(0x36e)](_0x370ea3))),_0x3b8aa3['add'](_0x473a26(()=>_0x1714ed[_0x4ee490(0x26a)]()));const _0x534440=new _0x37fbef();_0x3b8aa3[_0x4ee490(0x336)](_0x24350a[_0x4ee490(0x2de)][_0x4ee490(0x252)](_0x4b4b53=>_0x534440[_0x4ee490(0x36e)](_0x4b4b53))),_0x3b8aa3[_0x4ee490(0x336)](_0x473a26(()=>_0x534440[_0x4ee490(0x26a)]()));const _0x3d273a=new _0x37fbef();_0x3b8aa3['add'](_0x24350a['message$']['subscribe'](_0x5e7adc=>{var _0x34947e=_0x4ee490;const _0x301240=Fs(_0x5e7adc);_0x3d273a[_0x34947e(0x36e)](_0x301240);})),_0x3b8aa3[_0x4ee490(0x336)](_0x473a26(()=>_0x3d273a[_0x4ee490(0x26a)]()));let _0xa46d66;const _0x6e115c=()=>{var _0x4acd1a=_0x4ee490;_0x534440['next'](new Event('connection\x20error')),_0x1714ed[_0x4acd1a(0x36e)](new Event(_0x4acd1a(0x220))),_0xa46d66[_0x4acd1a(0x372)]();};return _0xa46d66={'memberID':'','close$':_0x1714ed[_0x4ee490(0x133)](),'error$':_0x534440[_0x4ee490(0x133)](),'open$':_0x24350a[_0x4ee490(0x3cb)],'message$':_0x3d273a[_0x4ee490(0x133)](),'send':_0x50de43=>{var _0x1755e6=_0x4ee490;if(_0x50de43[_0x1755e6(0x106)]===j[_0x1755e6(0x1b0)]){if(_0x50de43[_0x1755e6(0x334)][_0x1755e6(0x1dd)]===_0x5d996f['SUBMIT_CHANGESET']){this[_0x1755e6(0x353)](_0xa46d66,_0x50de43[_0x1755e6(0x334)])[_0x1755e6(0xe8)](_0x2277df=>{var _0x1e099a=_0x1755e6;this['_logService'][_0x1e099a(0x1a1)](_0x2277df),_0x6e115c();});return;}if(_0x50de43[_0x1755e6(0x334)][_0x1755e6(0x1dd)]===_0x5d996f[_0x1755e6(0x295)]){const _0xd51e52=_0x50de43[_0x1755e6(0x334)];this[_0x1755e6(0x39c)](_0xd51e52)[_0x1755e6(0x21c)](_0x158e45=>{var _0x1fe462=_0x1755e6;_0x3d273a[_0x1fe462(0x36e)]({'cmd':j[_0x1fe462(0x19a)],'code':pe['OK'],'routeKey':_0xd51e52[_0x1fe462(0x334)][_0x1fe462(0xf7)],'routeType':'','data':{'eventID':_0x5d996f['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x158e45}}});})['catch'](_0x1b12b1=>{var _0x12269e=_0x1755e6;this[_0x12269e(0x259)][_0x12269e(0x1a1)](_0x1b12b1),_0x6e115c();});return;}}_0x24350a[_0x1755e6(0x36a)](js(_0x50de43));},'close':()=>{var _0x2a3ae4=_0x4ee490;_0x24350a[_0x2a3ae4(0x372)](),_0x3b8aa3['dispose']();}},_0xa46d66;}async[_0x4328bf(0x353)](_0x5d2d58,_0x20c2c9){var _0x5796c5=_0x4328bf,_0x377803;const {unitType:_0x4cfc43,unitID:_0x54b825,changeset:_0x1a33a4}=_0x20c2c9[_0x5796c5(0x334)],_0x18394e={'unitID':_0x54b825,'memberID':_0x5d2d58[_0x5796c5(0x2fa)],'type':_0x4cfc43,'changeset':_0x2f0f25(_0x1a33a4)},_0x12b7a1=this[_0x5796c5(0x18e)]['getConfig'](K),_0x1fd173=Ws((_0x377803=_0x12b7a1==null?void 0x0:_0x12b7a1['collabSubmitChangesetUrl'])!=null?_0x377803:Os,_0x4cfc43,_0x54b825);try{await this[_0x5796c5(0x201)][_0x5796c5(0x283)](_0x1fd173,{'body':_0x18394e});}catch(_0xeb0af0){throw this['_logService'][_0x5796c5(0x1a1)]('[CollaborationSession]',_0x5796c5(0x31e)),_0xeb0af0;}}async[_0x4328bf(0x39c)](_0x32fa84){var _0x1d8755=_0x4328bf;const {unitID:_0x3bcce0,from:_0x159c25,to:_0x44f553,unitType:_0x4fbeb2}=_0x32fa84['data'];return(await this[_0x1d8755(0x182)][_0x1d8755(0xe5)]({'metadata':void 0x0},{'unitID':_0x3bcce0,'type':_0x4fbeb2,'from':_0x159c25,'to':_0x44f553}))['changesets'][_0x1d8755(0x2ee)](_0x2afdad=>((_0x2afdad[_0x1d8755(0x288)]===null||_0x2afdad['mutations']===void 0x0)&&(_0x2afdad[_0x1d8755(0x288)]=[]),_0x2afdad));}};Gt=Gs([ye(0x0,_0x1dda19(_0xee3a85)),ye(0x1,_0x1dda19(_0xd0787f)),ye(0x2,_0x53068b),ye(0x3,_0x1d1a3b),ye(0x4,_0x3da798)],Gt);var Ys=Object[_0x4328bf(0x10e)],Ks=(_0x435b89,_0x216b80,_0x2d3670,_0x219048)=>{var _0xb2c7f2=_0x4328bf;for(var _0x46612b=_0x219048>0x1?void 0x0:_0x219048?Ys(_0x216b80,_0x2d3670):_0x216b80,_0x54f58c=_0x435b89[_0xb2c7f2(0x384)]-0x1,_0x4b9197;_0x54f58c>=0x0;_0x54f58c--)(_0x4b9197=_0x435b89[_0x54f58c])&&(_0x46612b=_0x4b9197(_0x46612b)||_0x46612b);return _0x46612b;},Re=(_0x411f5d,_0x374dd6)=>(_0x52f4fb,_0x2ffda7)=>_0x374dd6(_0x52f4fb,_0x2ffda7,_0x411f5d);let we=class extends _0x52aa1d{constructor(_0x1083f5,_0x159ab0,_0x1efe85,_0x1b4b12,_0x183a51,_0x5eb4b0){var _0x5bebcd=_0x4328bf;super(),D(this,'_socket$',new _0x39c092(void 0x0)),D(this,'socket$',this[_0x5bebcd(0x388)][_0x5bebcd(0x133)]()),D(this,_0x5bebcd(0x183),null),D(this,_0x5bebcd(0x1f1),new Map()),D(this,_0x5bebcd(0x354),new _0x39c092(me[_0x5bebcd(0x112)])),D(this,'status$',this[_0x5bebcd(0x354)][_0x5bebcd(0x133)]()),D(this,_0x5bebcd(0xe4),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x5bebcd(0x1a3),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x5bebcd(0x18f)),(this[_0x5bebcd(0x12c)]=_0x1083f5,this[_0x5bebcd(0x259)]=_0x159ab0,this[_0x5bebcd(0x18e)]=_0x1efe85,this['_socketService']=_0x1b4b12,this['_collaborationUIEventService']=_0x183a51,this['_networkConditionService']=_0x5eb4b0,this[_0x5bebcd(0x2d8)]());}get[_0x4328bf(0xd7)](){var _0x4b38b=_0x4328bf;return this[_0x4b38b(0x388)][_0x4b38b(0xcc)]();}[_0x4328bf(0x2d8)](){var _0x19eb3e=_0x4328bf;this['_networkConditionService']&&this[_0x19eb3e(0x27e)](this['_networkConditionService'][_0x19eb3e(0x298)]['subscribe'](_0x4230f3=>{var _0x6b7a2=_0x19eb3e;_0x4230f3&&!this['_socket']&&this['reconnect'](),_0x4230f3||this[_0x6b7a2(0x164)]();}));}[_0x4328bf(0x113)](){var _0x41a267=_0x4328bf;super['dispose'](),this[_0x41a267(0x357)](),this[_0x41a267(0x144)](),this[_0x41a267(0xc7)](),this[_0x41a267(0x1f1)][_0x41a267(0x1ef)](_0x54a6b6=>_0x54a6b6[_0x41a267(0x113)]()),this[_0x41a267(0x1f1)][_0x41a267(0x10c)](),this['_status$'][_0x41a267(0x26a)]();}async[_0x4328bf(0x3a9)](_0x591347){var _0x1c1813=_0x4328bf;if(this[_0x1c1813(0x1f1)]['has'](_0x591347))return this[_0x1c1813(0x1f1)][_0x1c1813(0x136)](_0x591347);this[_0x1c1813(0x37d)]();const _0x3a26ca=this[_0x1c1813(0x12c)][_0x1c1813(0x300)](mt,_0x591347,this[_0x1c1813(0x388)][_0x1c1813(0x133)]());return this[_0x1c1813(0x1f1)][_0x1c1813(0x27f)](_0x591347,_0x3a26ca),_0x3a26ca;}[_0x4328bf(0xf5)](_0x1f8398){var _0x4f5508=_0x4328bf,_0x1be0fd;const _0x2733d4=this[_0x4f5508(0x1f1)]['get'](_0x1f8398);_0x2733d4&&(this[_0x4f5508(0x1f1)]['delete'](_0x1f8398),_0x2733d4['close']()),this[_0x4f5508(0x1f1)][_0x4f5508(0x1de)]||(_0x1be0fd=this[_0x4f5508(0xd7)])==null||_0x1be0fd[_0x4f5508(0x372)]();}[_0x4328bf(0x291)](){var _0x2f182e=_0x4328bf;this[_0x2f182e(0x1a3)]=0x0,this[_0x2f182e(0x357)](),this['_tryReconnect']();}[_0x4328bf(0x357)](){var _0x5445cb=_0x4328bf;this[_0x5445cb(0x3d5)]!=null&&(clearTimeout(this[_0x5445cb(0x3d5)]),this[_0x5445cb(0x3d5)]=null);}async[_0x4328bf(0x261)](){var _0x14a069=_0x4328bf,_0x5815ab;const _0x3a9f1c=this[_0x14a069(0x18e)][_0x14a069(0x2b0)](K),_0x19ef00=(_0x5815ab=_0x3a9f1c==null?void 0x0:_0x3a9f1c['collabWebSocketUrl'])!=null?_0x5815ab:Es,_0x1809dc=await this['_socketService'][_0x14a069(0x19c)](_0x19ef00);return this[_0x14a069(0x183)]=_0x1809dc,_0x1809dc;}async[_0x4328bf(0x37d)](){var _0x33a886=_0x4328bf,_0x3d9296,_0x4fe621;try{const _0x306e2e=(_0x4fe621=(_0x3d9296=this['_socket'])!=null?_0x3d9296:this[_0x33a886(0x183)])!=null?_0x4fe621:await this[_0x33a886(0x261)]();if(_0x306e2e){const _0xd7004=_0x306e2e[_0x33a886(0x36a)];_0x306e2e[_0x33a886(0x36a)]=_0x2b3154=>(this[_0x33a886(0x167)](),_0xd7004[_0x33a886(0x131)](_0x306e2e,[_0x2b3154])),_0x306e2e[_0x33a886(0x31b)][_0x33a886(0x252)](_0x145e6e=>this[_0x33a886(0x103)](_0x306e2e,_0x145e6e)),_0x306e2e[_0x33a886(0x2de)][_0x33a886(0x26f)](_0x26bac6(0x1))[_0x33a886(0x252)](_0x46d123=>this[_0x33a886(0x259)]['error'](_0x33a886(0x211),_0x46d123)),_0x306e2e[_0x33a886(0x3cb)][_0x33a886(0x26f)](_0x26bac6(0x1))[_0x33a886(0x252)](()=>{var _0x5ba687=_0x33a886;this[_0x5ba687(0x352)](_0x306e2e);}),_0x306e2e[_0x33a886(0x1f4)][_0x33a886(0x26f)](_0x26bac6(0x1))[_0x33a886(0x252)](_0xf08b2d=>{var _0xecadec=_0x33a886;this[_0xecadec(0x259)][_0xecadec(0x2c5)](_0xecadec(0xee),_0xecadec(0x202),_0xf08b2d),this[_0xecadec(0x149)]();});}}catch(_0x78aa8b){this['_logService']['error'](_0x78aa8b),this[_0x33a886(0x149)]();}}[_0x4328bf(0x352)](_0x5c8513){var _0x8a7d96=_0x4328bf;this['_logService']['debug'](_0x8a7d96(0xee),_0x8a7d96(0x2dc)),_0x5c8513['send']({'cmd':j[_0x8a7d96(0x2b4)]}),this[_0x8a7d96(0x167)]();}[_0x4328bf(0x164)](){var _0x4881f1=_0x4328bf;this[_0x4881f1(0xe4)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x4881f1(0x36e)](me[_0x4881f1(0x17d)]),this[_0x4881f1(0x388)][_0x4881f1(0x36e)](null),this[_0x4881f1(0x144)](),this[_0x4881f1(0xc7)]();}[_0x4328bf(0x149)](){var _0x51263a=_0x4328bf,_0x5721d4;this[_0x51263a(0x164)](),this['_retryCount']<((_0x5721d4=this['_configService']['getConfig'](gs))!=null?_0x5721d4:Ts)?(this[_0x51263a(0xdf)][_0x51263a(0x3bb)]({'id':re[_0x51263a(0x263)]}),this[_0x51263a(0xcb)]()):this[_0x51263a(0xdf)][_0x51263a(0x3bb)]({'id':re[_0x51263a(0x2f2)]});}[_0x4328bf(0xcb)](){var _0x443d71=_0x4328bf,_0x540a59;const _0x147ffc=this[_0x443d71(0x1a3)],_0x2f87ea=this[_0x443d71(0x18e)][_0x443d71(0x2b0)](K),_0x563e29=_0x147ffc===0x0?0x0:((_0x540a59=_0x2f87ea==null?void 0x0:_0x2f87ea['retryConnectingInterval'])!=null?_0x540a59:Ss)*0x2**_0x147ffc;this[_0x443d71(0x3d5)]=setTimeout(()=>{var _0x559438=_0x443d71;clearTimeout(this[_0x559438(0x3d5)]),this['_retryConnectingTimer']=null,this[_0x559438(0x37d)]();},_0x563e29),this[_0x443d71(0x1a3)]+=0x1;}[_0x4328bf(0x103)](_0x2185d8,_0xf4089a){var _0x4b9d14=_0x4328bf;const {cmd:_0x1a4f5a}=_0xf4089a;_0x1a4f5a===j['HELLO']&&!this[_0x4b9d14(0xe4)]&&(_0x2185d8[_0x4b9d14(0x2fa)]=_0xf4089a[_0x4b9d14(0x334)]['memberID'],this[_0x4b9d14(0x388)]['next'](_0x2185d8),this[_0x4b9d14(0x354)][_0x4b9d14(0x36e)](me['ONLINE']),this[_0x4b9d14(0xe4)]=!0x0,this[_0x4b9d14(0x183)]=null),_0x1a4f5a===j[_0x4b9d14(0x2cf)]&&this[_0x4b9d14(0x144)](),this[_0x4b9d14(0x167)]();}['_rescheduleHeartbeat'](){var _0x436702=_0x4328bf,_0x4e2ec4;this[_0x436702(0xc7)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4e2ec4=this[_0x436702(0x18e)][_0x436702(0x2b0)](ms))!=null?_0x4e2ec4:Is);}[_0x4328bf(0x398)](){var _0xea8be0=_0x4328bf;this[_0xea8be0(0xd7)]['send']({'cmd':j[_0xea8be0(0x2cf)]}),this[_0xea8be0(0x2ed)]();}[_0x4328bf(0x2ed)](){var _0x1a7d87=_0x4328bf,_0x47fadc;this[_0x1a7d87(0x18f)]=setTimeout(()=>this[_0x1a7d87(0x149)](),(_0x47fadc=this['_configService'][_0x1a7d87(0x2b0)](di))!=null?_0x47fadc:fi);}[_0x4328bf(0xc7)](){var _0x5ddd56=_0x4328bf;this[_0x5ddd56(0x1bf)]!=null&&(clearTimeout(this[_0x5ddd56(0x1bf)]),this[_0x5ddd56(0x1bf)]=null);}[_0x4328bf(0x144)](){var _0x55613e=_0x4328bf;this[_0x55613e(0x18f)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x55613e(0x18f)]=null);}};we=Ks([Re(0x0,_0x1dda19(_0xee3a85)),Re(0x1,_0x1d1a3b),Re(0x2,_0x53068b),Re(0x3,Oi),Re(0x4,_0x1dda19(ve)),Re(0x5,_0x334ec4(Bs))],we);var qs=Object[_0x4328bf(0x10e)],zs=(_0x1d0ca3,_0x57fe76,_0xd773b3,_0x1cc56e)=>{var _0x44f188=_0x4328bf;for(var _0x152117=_0x1cc56e>0x1?void 0x0:_0x1cc56e?qs(_0x57fe76,_0xd773b3):_0x57fe76,_0x32f521=_0x1d0ca3[_0x44f188(0x384)]-0x1,_0x27566d;_0x32f521>=0x0;_0x32f521--)(_0x27566d=_0x1d0ca3[_0x32f521])&&(_0x152117=_0x27566d(_0x152117)||_0x152117);return _0x152117;},Be=(_0x3ce365,_0x561069)=>(_0x47ff84,_0x28c253)=>_0x561069(_0x47ff84,_0x28c253,_0x3ce365);let nt=class extends _0x276e6a{constructor(_0x4d4a10,_0x1b282b,_0x5bb07e,_0x16ecbe){var _0x2f4006=_0x4328bf,_0x5d71fe;super(),D(this,_0x2f4006(0x1d4),new Map()),D(this,_0x2f4006(0x327),new _0x37fbef()),D(this,_0x2f4006(0x24a),this['_entityInit$'][_0x2f4006(0x133)]()),(this[_0x2f4006(0x12c)]=_0x4d4a10,this[_0x2f4006(0xde)]=_0x1b282b,this[_0x2f4006(0x18e)]=_0x5bb07e,this['_univerInstanceService']=_0x16ecbe,((_0x5d71fe=this[_0x2f4006(0x18e)][_0x2f4006(0x2b0)](K))==null?void 0x0:_0x5d71fe[_0x2f4006(0x16b)])!==!0x1&&this[_0x2f4006(0x36d)]());}['dispose'](){var _0x29ba7a=_0x4328bf;super[_0x29ba7a(0x113)](),this[_0x29ba7a(0x1d4)]['forEach'](_0x5e573c=>_0x5e573c[_0x29ba7a(0x113)]()),this[_0x29ba7a(0x1d4)]['clear']();}['getCollabEntity'](_0x3519d6){var _0x2fb3d0=_0x4328bf,_0x284d8a;return(_0x284d8a=this[_0x2fb3d0(0x1d4)]['get'](_0x3519d6))!=null?_0x284d8a:null;}['getCollabEntity$'](_0x127a6b){var _0x596b00=_0x4328bf;const _0x3abec3=this[_0x596b00(0x3c3)](_0x127a6b);return _0x3abec3?_0x55b75d(_0x3abec3):this['_entityInit$']['pipe'](_0x1e7c80(_0x1ca4e8=>_0x1ca4e8['unitID']===_0x127a6b));}[_0x4328bf(0x2e1)](_0x94bc6a){var _0x55da19=_0x4328bf;return _0x6669ea(this[_0x55da19(0x213)](_0x94bc6a)['pipe'](_0x48e852(()=>{})));}['_init'](){var _0x288a45=_0x4328bf;this[_0x288a45(0x2f5)]['getTypeOfUnitAdded$'](_0xa25e24['UNIVER_SHEET'])[_0x288a45(0x26f)](_0x11c380(this[_0x288a45(0x248)]),_0x59b0c7(0x10))[_0x288a45(0x252)](async _0x414851=>{var _0x515554=_0x288a45;const _0x265ec8=_0x414851[_0x515554(0x306)](),_0x5882ed=await this[_0x515554(0x23e)](_0x265ec8,Q[_0x515554(0xc6)]);this['_entities'][_0x515554(0x27f)](_0x265ec8,_0x5882ed);}),this['_univerInstanceService'][_0x288a45(0x2c9)](_0xa25e24[_0x288a45(0x268)])[_0x288a45(0x26f)](_0x11c380(this['dispose$']),_0x59b0c7(0x10))['pipe'](_0x1e7c80(_0x129791=>!_0x129791[_0x288a45(0x306)]()['startsWith']('__')))[_0x288a45(0x252)](async _0x155ad7=>{var _0x38ab42=_0x288a45;const _0x432696=_0x155ad7[_0x38ab42(0x306)](),_0x10cf85=await this[_0x38ab42(0x23e)](_0x432696,Q[_0x38ab42(0x268)]);this[_0x38ab42(0x1d4)][_0x38ab42(0x27f)](_0x432696,_0x10cf85);}),_0x4ad722(this[_0x288a45(0x2f5)][_0x288a45(0x2b7)](_0xa25e24[_0x288a45(0xc6)]),this[_0x288a45(0x2f5)][_0x288a45(0x2b7)](_0xa25e24[_0x288a45(0x268)]))[_0x288a45(0x26f)](_0x11c380(this[_0x288a45(0x248)]))[_0x288a45(0x252)](_0x2f959a=>{var _0x11e622=_0x288a45;const _0x3eb758=_0x2f959a[_0x11e622(0x306)](),_0x2cfe84=this['_entities'][_0x11e622(0x136)](_0x3eb758);_0x2cfe84&&(_0x2cfe84[_0x11e622(0x113)](),this[_0x11e622(0x1d4)][_0x11e622(0x3b8)](_0x3eb758));});}async[_0x4328bf(0x23e)](_0x246b3f,_0x2938c9){var _0x4c774c=_0x4328bf;const _0x53c024=await this[_0x4c774c(0xde)][_0x4c774c(0x3a9)](_0x246b3f),_0x58075e=this[_0x4c774c(0x12c)][_0x4c774c(0x300)](this[_0x4c774c(0x276)](_0x2938c9),_0x246b3f,_0x2938c9,_0x53c024);return await _0x58075e['init'](),this[_0x4c774c(0x327)][_0x4c774c(0x36e)](_0x58075e),_0x58075e;}[_0x4328bf(0x276)](_0x30fed1){var _0x494cda=_0x4328bf;switch(_0x30fed1){case Q['UNIVER_DOC']:return It;case Q[_0x494cda(0xc6)]:return St;default:throw new Error(_0x494cda(0x312)+_0x30fed1);}}};nt=zs([Be(0x0,_0x1dda19(_0xee3a85)),Be(0x1,_0x1dda19(we)),Be(0x2,_0x53068b),Be(0x3,_0x49e0a6)],nt);var Js=Object[_0x4328bf(0x10e)],Xs=(_0x2e65b6,_0x58dc2a,_0x32281d,_0x1f2ecf)=>{var _0x201c8e=_0x4328bf;for(var _0xd1e542=_0x1f2ecf>0x1?void 0x0:_0x1f2ecf?Js(_0x58dc2a,_0x32281d):_0x58dc2a,_0x221bca=_0x2e65b6[_0x201c8e(0x384)]-0x1,_0x34adc8;_0x221bca>=0x0;_0x221bca--)(_0x34adc8=_0x2e65b6[_0x221bca])&&(_0xd1e542=_0x34adc8(_0xd1e542)||_0xd1e542);return _0xd1e542;},Wt=(_0x528ffb,_0xcbaf05)=>(_0x5d2b37,_0x12f089)=>_0xcbaf05(_0x5d2b37,_0x12f089,_0x528ffb);const Zs=_0x4328bf(0x31c),Qs=_0x4328bf(0x2f9);let gt=class extends _0x52aa1d{constructor(_0x21c8a8,_0x2d3848){var _0x21fe77=_0x4328bf;super(),this['_univerInstanceService']=_0x21c8a8,this[_0x21fe77(0x18e)]=_0x2d3848,this[_0x21fe77(0x36d)]();}[_0x4328bf(0x36d)](){var _0x2a693c=_0x4328bf;this[_0x2a693c(0x27e)](this[_0x2a693c(0x2f5)][_0x2a693c(0x1c8)][_0x2a693c(0x252)](()=>{var _0x2a03f8=_0x2a693c,_0x3a76e8;const _0xf210a2=this[_0x2a03f8(0x2f5)][_0x2a03f8(0xd3)]();let _0x5da9a8=(_0x3a76e8=this[_0x2a03f8(0x18e)][_0x2a03f8(0x2b0)](Zs))!=null?_0x3a76e8:Qs;_0xf210a2 instanceof _0x5bf3d7&&(_0x5da9a8=_0xf210a2[_0x2a03f8(0x35e)]),document[_0x2a03f8(0x114)]=_0x5da9a8;}));}};gt=Xs([Wt(0x0,_0x49e0a6),Wt(0x1,_0x53068b)],gt);var en=Object[_0x4328bf(0x10e)],tn=(_0x5a4de4,_0x1df737,_0x44bb6f,_0x1a9e28)=>{var _0x705719=_0x4328bf;for(var _0x245945=_0x1a9e28>0x1?void 0x0:_0x1a9e28?en(_0x1df737,_0x44bb6f):_0x1df737,_0x4d35ce=_0x5a4de4[_0x705719(0x384)]-0x1,_0x1149a7;_0x4d35ce>=0x0;_0x4d35ce--)(_0x1149a7=_0x5a4de4[_0x4d35ce])&&(_0x245945=_0x1149a7(_0x245945)||_0x245945);return _0x245945;},dt=(_0x1d2e9d,_0x400bbc)=>(_0x9dd679,_0x4eac22)=>_0x400bbc(_0x9dd679,_0x4eac22,_0x1d2e9d);let rt=class{constructor(_0x285746,_0x4b5b23,_0x356eb1){var _0x1ac1f5=_0x4328bf;this[_0x1ac1f5(0x18e)]=_0x285746,this[_0x1ac1f5(0x201)]=_0x4b5b23,this[_0x1ac1f5(0x23a)]=_0x356eb1,this[_0x1ac1f5(0x245)]();}[_0x4328bf(0x245)](){var _0x17cfd7=_0x4328bf;this[_0x17cfd7(0x201)][_0x17cfd7(0x325)]({'priority':0x1,'interceptor':(_0x455e59,_0x4115dc)=>_0x4115dc(_0x455e59)['pipe'](_0x1d0b42(async _0x3f5be6=>{var _0x4dbfe0=_0x17cfd7;const _0x137380=_0x3f5be6;if(_0x137380[_0x4dbfe0(0x380)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x4dbfe0(0x147)](this[_0x4dbfe0(0x23a)]['t'](_0x4dbfe0(0xdc)))){const _0x205ed7=window[_0x4dbfe0(0x166)](window[_0x4dbfe0(0x20c)][_0x4dbfe0(0x19b)]);window[_0x4dbfe0(0x20c)][_0x4dbfe0(0x19b)]=this[_0x4dbfe0(0x2f0)]()+'?url='+_0x205ed7;}}return _0x137380;}))});}[_0x4328bf(0x2f0)](){var _0x524c4a=_0x4328bf,_0x7876f3;const _0x3c6295=this[_0x524c4a(0x18e)][_0x524c4a(0x2b0)](K);return(_0x7876f3=_0x3c6295==null?void 0x0:_0x3c6295['loginUrlKey'])!=null?_0x7876f3:Rs;}};rt=tn([dt(0x0,_0x53068b),dt(0x1,_0x1dda19(_0xd0787f)),dt(0x2,_0x1dda19(_0xcdf5b0))],rt);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x29c4d5,_0x30bbb2,_0x21086c,_0x551668)=>{var _0x28c009=_0x4328bf;for(var _0x477dbd=_0x551668>0x1?void 0x0:_0x551668?sn(_0x30bbb2,_0x21086c):_0x30bbb2,_0x1950cc=_0x29c4d5[_0x28c009(0x384)]-0x1,_0x424485;_0x1950cc>=0x0;_0x1950cc--)(_0x424485=_0x29c4d5[_0x1950cc])&&(_0x477dbd=_0x424485(_0x477dbd)||_0x477dbd);return _0x477dbd;},Yt=(_0x1436b6,_0x35682d)=>(_0x49126f,_0xe684c2)=>_0x35682d(_0x49126f,_0xe684c2,_0x1436b6);const rn=_0x4328bf(0x119);let Tt=class extends _0x52aa1d{constructor(_0x3bad46,_0x1f2e66){var _0x2cf547=_0x4328bf;super(),this[_0x2cf547(0x358)]=_0x3bad46,this[_0x2cf547(0x18e)]=_0x1f2e66,this[_0x2cf547(0x33f)]();}['_initMergeInterceptor'](){var _0x15276f=_0x4328bf;const _0x63b29b=this;this['disposeWithMe'](this['_HTTPService'][_0x15276f(0x325)]({'priority':0x3e7,'interceptor':_0x353dcb({'isMatch'(_0x56fe77){var _0x44fc4b=_0x15276f,_0x51aa2a;if(_0x56fe77[_0x44fc4b(0x2db)]===_0x44fc4b(0x29a)&&((_0x51aa2a=_0x56fe77[_0x44fc4b(0x2a7)])!=null&&_0x51aa2a[_0x44fc4b(0x360)])){const {objectID:_0x2f4345,objectType:_0x460ccc}=_0x56fe77[_0x44fc4b(0x2a7)][_0x44fc4b(0x360)]||{};if(!_0x2f4345||_0x460ccc===void 0x0)return!0x1;const _0x47106b=_0x63b29b[_0x44fc4b(0x3c0)]()+'/'+_0x460ccc+_0x44fc4b(0x2a5)+_0x2f4345+_0x44fc4b(0x232);if(_0x56fe77[_0x44fc4b(0x1c0)]===_0x47106b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5c8a9e){var _0x21f4e2=_0x15276f,_0x2c092b;return(_0x2c092b=_0x5c8a9e[_0x21f4e2(0x2a7)])==null?void 0x0:_0x2c092b['body'];},'mergeParamsToRequest'(_0x4c848f,_0x464c58){var _0x28816d=_0x15276f;const _0x43566b=_0x63b29b['_getAPIPrefixPath']()+_0x28816d(0x1b6),_0x4ca1a2=_0x4c848f['reduce']((_0x5e88b9,_0x12af27)=>{var _0x1edb7d=_0x28816d;const {unitID:_0x3739fd,objectID:_0x44ca18,objectType:_0x1d113d,actions:_0x5d55f6}=_0x12af27;return _0x5e88b9[_0x3739fd]||(_0x5e88b9[_0x3739fd]={}),_0x5e88b9[_0x3739fd][_0x44ca18]||(_0x5e88b9[_0x3739fd][_0x44ca18]={'objectID':_0x44ca18,'objectType':_0x1d113d,'actions':[]}),_0x5e88b9[_0x3739fd][_0x44ca18]['actions'][_0x1edb7d(0x348)](..._0x5d55f6),_0x5e88b9;},{}),_0x31c588=[];for(const _0x1c6144 in _0x4ca1a2)for(const _0x3ae56e in _0x4ca1a2[_0x1c6144]){const {actions:_0x690e43,objectType:_0x944161}=_0x4ca1a2[_0x1c6144][_0x3ae56e],_0x579460=[...new Set(_0x690e43)];_0x31c588[_0x28816d(0x348)]({'unitID':_0x1c6144,'objectID':_0x3ae56e,'objectType':_0x944161,'actions':_0x579460});}return new _0x49bbd9(_0x28816d(0x29a),_0x43566b,{'headers':_0x464c58[_0x28816d(0x3b1)],'withCredentials':_0x464c58[_0x28816d(0x36c)],'responseType':_0x464c58[_0x28816d(0x12a)],'body':{'requests':_0x31c588}});}},{'distributeResult'(_0x36747c,_0x1ce348){var _0x2c6155=_0x15276f;const {objectActions:_0x45ef0a}=_0x36747c;return _0x1ce348[_0x2c6155(0x2ee)](_0x54306e=>{var _0x8ca6a1=_0x2c6155;const {unitID:_0x5ee9f4,objectID:_0xd717b5,actions:_0x225fff}=_0x54306e,_0x4c1d22=_0x45ef0a[_0x8ca6a1(0x2c7)](_0x55325d=>_0x55325d[_0x8ca6a1(0xf7)]===_0x5ee9f4&&_0x55325d[_0x8ca6a1(0x1e9)]===_0xd717b5),_0x61562c=_0x225fff[_0x8ca6a1(0x2ee)](_0x1af9f5=>_0x4c1d22==null?void 0x0:_0x4c1d22[_0x8ca6a1(0x255)][_0x8ca6a1(0x2c7)](_0x4ca5a9=>_0x4ca5a9[_0x8ca6a1(0x28b)]===_0x1af9f5))[_0x8ca6a1(0x38e)](_0x279b9e=>!!_0x279b9e);return{'config':_0x54306e,'result':{'actions':_0x61562c,'error':_0x36747c[_0x8ca6a1(0x1a1)]}};});}})}));}[_0x4328bf(0x3c0)](){var _0xfa7c13=_0x4328bf,_0x29459d;const _0x3b2aaa=this[_0xfa7c13(0x18e)][_0xfa7c13(0x2b0)](K);return(_0x29459d=_0x3b2aaa==null?void 0x0:_0x3b2aaa[_0xfa7c13(0x108)])!=null?_0x29459d:rn;}async[_0x4328bf(0x1c5)](_0x4471da){var _0x2272ec=_0x4328bf;const _0x5b122e=this[_0x2272ec(0x3c0)]()+'/'+_0x4471da[_0x2272ec(0x3a8)]+_0x2272ec(0x2ae);return(await this['_HTTPService'][_0x2272ec(0x283)](_0x5b122e,{'body':_0x4471da}))[_0x2272ec(0x360)][_0x2272ec(0x1e9)]||'';}async[_0x4328bf(0x244)](_0x551cc0){var _0x182e2e=_0x4328bf;const _0x1cc32c=this[_0x182e2e(0x3c0)]()+_0x182e2e(0x299);return(await this[_0x182e2e(0x358)][_0x182e2e(0x283)](_0x1cc32c,{'body':_0x551cc0}))[_0x182e2e(0x360)]['objects'];}async['update'](_0x59b0a0){var _0xbeac13=_0x4328bf,_0x523d8e,_0x37bc35;const _0x35e0ca=this[_0xbeac13(0x3c0)]()+'/'+_0x59b0a0[_0xbeac13(0x3a8)]+_0xbeac13(0x2a5)+_0x59b0a0[_0xbeac13(0x1e9)],_0x4c3d51=await this[_0xbeac13(0x358)][_0xbeac13(0x32b)](_0x35e0ca,{'body':_0x59b0a0});if(((_0x37bc35=(_0x523d8e=_0x4c3d51==null?void 0x0:_0x4c3d51['body'])==null?void 0x0:_0x523d8e['error'])==null?void 0x0:_0x37bc35[_0xbeac13(0x12e)])!==0x1)throw new Error(_0xbeac13(0x301));}async['allowed'](_0x20f35a){var _0x42c389=_0x4328bf;const _0x4374bf=this[_0x42c389(0x3c0)]()+'/'+_0x20f35a[_0x42c389(0x3a8)]+_0x42c389(0x2a5)+_0x20f35a[_0x42c389(0x1e9)]+_0x42c389(0x232);return(await this[_0x42c389(0x358)][_0x42c389(0x283)](_0x4374bf,{'body':_0x20f35a}))[_0x42c389(0x360)][_0x42c389(0x255)];}async['batchAllowed'](_0xfea283){var _0x33255d=_0x4328bf;const _0x538398=this[_0x33255d(0x3c0)]()+_0x33255d(0x1b6);return(await this[_0x33255d(0x358)][_0x33255d(0x283)](_0x538398,{'body':{'requests':_0xfea283}}))[_0x33255d(0x360)][_0x33255d(0x3c8)];}async[_0x4328bf(0x1cd)](_0x268370){var _0x62e484=_0x4328bf;const _0x49007a=this['_getAPIPrefixPath']()+'/'+_0x268370['objectType']+'/role',_0x23515f=await this[_0x62e484(0x358)][_0x62e484(0x283)](_0x49007a,{'body':_0x268370});return{'roles':_0x23515f[_0x62e484(0x360)][_0x62e484(0x11c)],'actions':_0x23515f[_0x62e484(0x360)][_0x62e484(0x255)]};}async[_0x4328bf(0x374)](_0xa54a32){var _0x388730=_0x4328bf;const _0x3bef8d=this['_getAPIPrefixPath']()+_0x388730(0x29d);await this[_0x388730(0x358)][_0x388730(0x3b8)](_0x3bef8d,{'params':{'collaboratorID':_0xa54a32['collaboratorID'],'objectID':_0xa54a32[_0x388730(0x1e9)],'unitID':_0xa54a32[_0x388730(0xf7)]}});}async[_0x4328bf(0x317)](_0x127d92){var _0x2b791e=_0x4328bf;const _0x5a51e5=this[_0x2b791e(0x3c0)]()+_0x2b791e(0x29d);await this[_0x2b791e(0x358)][_0x2b791e(0x337)](_0x5a51e5,{'body':_0x127d92});}async[_0x4328bf(0x3b7)](_0x589150){var _0x27f08b=_0x4328bf;const _0x313346=this[_0x27f08b(0x3c0)]()+_0x27f08b(0x29d);await this[_0x27f08b(0x358)][_0x27f08b(0x283)](_0x313346,{'body':_0x589150});}async[_0x4328bf(0x17a)](_0x2cd5cf){var _0x1e57c5=_0x4328bf;const _0x275802=this[_0x1e57c5(0x3c0)]()+_0x1e57c5(0x29d);return(await this['_HTTPService'][_0x1e57c5(0x136)](_0x275802,{'params':{'objectID':_0x2cd5cf[_0x1e57c5(0x1e9)],'unitID':_0x2cd5cf[_0x1e57c5(0xf7)]}}))[_0x1e57c5(0x360)][_0x1e57c5(0x238)];}async[_0x4328bf(0x21e)](_0x749274){var _0x4cd493=_0x4328bf;const _0x3ca521=this['_getAPIPrefixPath']()+_0x4cd493(0x29d);await this[_0x4cd493(0x358)]['put'](_0x3ca521,{'body':_0x749274});}};Tt=nn([Yt(0x0,_0x1dda19(_0xd0787f)),Yt(0x1,_0x1dda19(_0x53068b))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x18c2f8){var _0x28ad14=_0x4328bf;return _0x18c2f8&&_0x18c2f8[_0x28ad14(0x377)]&&Object[_0x28ad14(0x150)][_0x28ad14(0x1ad)]['call'](_0x18c2f8,_0x28ad14(0x26c))?_0x18c2f8[_0x28ad14(0x26c)]:_0x18c2f8;}var Ve={'exports':{}};function an(_0x1c56bd){var _0x3e12d0=_0x4328bf;throw new Error(_0x3e12d0(0x36f)+_0x1c56bd+_0x3e12d0(0x10a));}var Ge={'exports':{}},on=Ge[_0x4328bf(0xc3)],Kt;function ie(){var _0x1fa962=_0x4328bf;return Kt||(Kt=0x1,function(_0x3f1c4a,_0x24b32e){(function(_0x344c8b,_0x12b2d2){var _0x1ec171=_0x3c32;_0x3f1c4a[_0x1ec171(0xc3)]=_0x12b2d2();}(on,function(){var _0x597334=_0x597334||function(_0x2c5235,_0x476e4a){var _0xd223ab=_0x3c32,_0x1d4425;if(typeof window<'u'&&window[_0xd223ab(0x344)]&&(_0x1d4425=window[_0xd223ab(0x344)]),typeof self<'u'&&self[_0xd223ab(0x344)]&&(_0x1d4425=self[_0xd223ab(0x344)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1d4425=globalThis['crypto']),!_0x1d4425&&typeof window<'u'&&window['msCrypto']&&(_0x1d4425=window[_0xd223ab(0x212)]),!_0x1d4425&&typeof ft<'u'&&ft['crypto']&&(_0x1d4425=ft[_0xd223ab(0x344)]),!_0x1d4425&&typeof an==_0xd223ab(0x277))try{_0x1d4425=require('crypto');}catch{}var _0x588eea=function(){var _0x117274=_0xd223ab;if(_0x1d4425){if(typeof _0x1d4425[_0x117274(0xe9)]==_0x117274(0x277))try{return _0x1d4425['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1d4425[_0x117274(0x35b)]=='function')try{return _0x1d4425['randomBytes'](0x4)[_0x117274(0x29b)]();}catch{}}throw new Error(_0x117274(0x10b));},_0x3b7fee=Object[_0xd223ab(0x1c5)]||(function(){function _0x1775d4(){}return function(_0x50e4a9){var _0x1de310=_0x3c32,_0x4437b4;return _0x1775d4[_0x1de310(0x150)]=_0x50e4a9,_0x4437b4=new _0x1775d4(),_0x1775d4[_0x1de310(0x150)]=null,_0x4437b4;};}()),_0x32536e={},_0x4bf1b2=_0x32536e[_0xd223ab(0x15c)]={},_0x414549=_0x4bf1b2[_0xd223ab(0x2af)]=(function(){return{'extend':function(_0x5557fc){var _0x324188=_0x3c32,_0x156cb1=_0x3b7fee(this);return _0x5557fc&&_0x156cb1[_0x324188(0x3d3)](_0x5557fc),(!_0x156cb1[_0x324188(0x1ad)](_0x324188(0x245))||this[_0x324188(0x245)]===_0x156cb1[_0x324188(0x245)])&&(_0x156cb1['init']=function(){var _0x4180bd=_0x324188;_0x156cb1[_0x4180bd(0x2c3)][_0x4180bd(0x245)]['apply'](this,arguments);}),_0x156cb1[_0x324188(0x245)][_0x324188(0x150)]=_0x156cb1,_0x156cb1['$super']=this,_0x156cb1;},'create':function(){var _0xcb32dd=_0x3c32,_0x3ef277=this[_0xcb32dd(0x39b)]();return _0x3ef277[_0xcb32dd(0x245)][_0xcb32dd(0x131)](_0x3ef277,arguments),_0x3ef277;},'init':function(){},'mixIn':function(_0x9017c1){var _0x1e08fb=_0x3c32;for(var _0x53e857 in _0x9017c1)_0x9017c1[_0x1e08fb(0x1ad)](_0x53e857)&&(this[_0x53e857]=_0x9017c1[_0x53e857]);_0x9017c1[_0x1e08fb(0x1ad)](_0x1e08fb(0xbe))&&(this[_0x1e08fb(0xbe)]=_0x9017c1[_0x1e08fb(0xbe)]);},'clone':function(){var _0x5db4e1=_0x3c32;return this['init'][_0x5db4e1(0x150)][_0x5db4e1(0x39b)](this);}};}()),_0x153510=_0x4bf1b2[_0xd223ab(0x186)]=_0x414549[_0xd223ab(0x39b)]({'init':function(_0x4d24e3,_0x538569){var _0x1c872f=_0xd223ab;_0x4d24e3=this[_0x1c872f(0x26e)]=_0x4d24e3||[],_0x538569!=_0x476e4a?this[_0x1c872f(0x1f8)]=_0x538569:this[_0x1c872f(0x1f8)]=_0x4d24e3[_0x1c872f(0x384)]*0x4;},'toString':function(_0x4219ee){var _0x27f7fb=_0xd223ab;return(_0x4219ee||_0xb5720f)[_0x27f7fb(0xe2)](this);},'concat':function(_0x10f19d){var _0x5a00fc=_0xd223ab,_0x20b328=this[_0x5a00fc(0x26e)],_0xd9ec92=_0x10f19d['words'],_0xdb8604=this[_0x5a00fc(0x1f8)],_0x206d08=_0x10f19d[_0x5a00fc(0x1f8)];if(this[_0x5a00fc(0xd4)](),_0xdb8604%0x4)for(var _0x1635ab=0x0;_0x1635ab<_0x206d08;_0x1635ab++){var _0x326ec1=_0xd9ec92[_0x1635ab>>>0x2]>>>0x18-_0x1635ab%0x4*0x8&0xff;_0x20b328[_0xdb8604+_0x1635ab>>>0x2]|=_0x326ec1<<0x18-(_0xdb8604+_0x1635ab)%0x4*0x8;}else{for(var _0x5dac28=0x0;_0x5dac28<_0x206d08;_0x5dac28+=0x4)_0x20b328[_0xdb8604+_0x5dac28>>>0x2]=_0xd9ec92[_0x5dac28>>>0x2];}return this[_0x5a00fc(0x1f8)]+=_0x206d08,this;},'clamp':function(){var _0x3a4477=_0xd223ab,_0x500893=this[_0x3a4477(0x26e)],_0x350e87=this[_0x3a4477(0x1f8)];_0x500893[_0x350e87>>>0x2]&=0xffffffff<<0x20-_0x350e87%0x4*0x8,_0x500893[_0x3a4477(0x384)]=_0x2c5235[_0x3a4477(0x12d)](_0x350e87/0x4);},'clone':function(){var _0x381384=_0xd223ab,_0x260a88=_0x414549[_0x381384(0x340)][_0x381384(0x34c)](this);return _0x260a88[_0x381384(0x26e)]=this[_0x381384(0x26e)][_0x381384(0x397)](0x0),_0x260a88;},'random':function(_0x46788d){var _0x3595bb=_0xd223ab;for(var _0x34de76=[],_0x13d9ce=0x0;_0x13d9ce<_0x46788d;_0x13d9ce+=0x4)_0x34de76[_0x3595bb(0x348)](_0x588eea());return new _0x153510[(_0x3595bb(0x245))](_0x34de76,_0x46788d);}}),_0x5c4e4a=_0x32536e[_0xd223ab(0x1e0)]={},_0xb5720f=_0x5c4e4a[_0xd223ab(0x1ff)]={'stringify':function(_0x5f2dcd){var _0x4b6ac3=_0xd223ab;for(var _0x54c580=_0x5f2dcd[_0x4b6ac3(0x26e)],_0x17e4be=_0x5f2dcd[_0x4b6ac3(0x1f8)],_0x5add27=[],_0x152014=0x0;_0x152014<_0x17e4be;_0x152014++){var _0x58f97e=_0x54c580[_0x152014>>>0x2]>>>0x18-_0x152014%0x4*0x8&0xff;_0x5add27[_0x4b6ac3(0x348)]((_0x58f97e>>>0x4)[_0x4b6ac3(0xbe)](0x10)),_0x5add27[_0x4b6ac3(0x348)]((_0x58f97e&0xf)[_0x4b6ac3(0xbe)](0x10));}return _0x5add27[_0x4b6ac3(0x1b1)]('');},'parse':function(_0x1707eb){var _0x393d07=_0xd223ab;for(var _0x192d6a=_0x1707eb[_0x393d07(0x384)],_0xa404eb=[],_0x526a25=0x0;_0x526a25<_0x192d6a;_0x526a25+=0x2)_0xa404eb[_0x526a25>>>0x3]|=parseInt(_0x1707eb[_0x393d07(0x110)](_0x526a25,0x2),0x10)<<0x18-_0x526a25%0x8*0x4;return new _0x153510[(_0x393d07(0x245))](_0xa404eb,_0x192d6a/0x2);}},_0x2ed683=_0x5c4e4a['Latin1']={'stringify':function(_0xcedfcc){var _0x150d9d=_0xd223ab;for(var _0x3312af=_0xcedfcc[_0x150d9d(0x26e)],_0x5d07ba=_0xcedfcc['sigBytes'],_0x3647fa=[],_0x47e311=0x0;_0x47e311<_0x5d07ba;_0x47e311++){var _0x22b2a3=_0x3312af[_0x47e311>>>0x2]>>>0x18-_0x47e311%0x4*0x8&0xff;_0x3647fa['push'](String[_0x150d9d(0x2ce)](_0x22b2a3));}return _0x3647fa['join']('');},'parse':function(_0x24855e){var _0x2f6b63=_0xd223ab;for(var _0x330677=_0x24855e[_0x2f6b63(0x384)],_0x34de24=[],_0x874bb0=0x0;_0x874bb0<_0x330677;_0x874bb0++)_0x34de24[_0x874bb0>>>0x2]|=(_0x24855e['charCodeAt'](_0x874bb0)&0xff)<<0x18-_0x874bb0%0x4*0x8;return new _0x153510[(_0x2f6b63(0x245))](_0x34de24,_0x330677);}},_0x45292b=_0x5c4e4a[_0xd223ab(0x304)]={'stringify':function(_0x1141d0){var _0x5c0e10=_0xd223ab;try{return decodeURIComponent(escape(_0x2ed683[_0x5c0e10(0xe2)](_0x1141d0)));}catch{throw new Error(_0x5c0e10(0x12b));}},'parse':function(_0x92d69b){var _0x2429ad=_0xd223ab;return _0x2ed683[_0x2429ad(0x2c6)](unescape(encodeURIComponent(_0x92d69b)));}},_0x262393=_0x4bf1b2[_0xd223ab(0x375)]=_0x414549[_0xd223ab(0x39b)]({'reset':function(){var _0x339037=_0xd223ab;this[_0x339037(0x34f)]=new _0x153510[(_0x339037(0x245))](),this['_nDataBytes']=0x0;},'_append':function(_0x5ccaee){var _0x27f603=_0xd223ab;typeof _0x5ccaee=='string'&&(_0x5ccaee=_0x45292b[_0x27f603(0x2c6)](_0x5ccaee)),this['_data']['concat'](_0x5ccaee),this[_0x27f603(0xca)]+=_0x5ccaee[_0x27f603(0x1f8)];},'_process':function(_0x17f071){var _0x10a12f=_0xd223ab,_0x3251ff,_0x53840e=this[_0x10a12f(0x34f)],_0x4d867e=_0x53840e['words'],_0x2bae8d=_0x53840e[_0x10a12f(0x1f8)],_0x279b72=this['blockSize'],_0x45de8b=_0x279b72*0x4,_0x28e86e=_0x2bae8d/_0x45de8b;_0x17f071?_0x28e86e=_0x2c5235[_0x10a12f(0x12d)](_0x28e86e):_0x28e86e=_0x2c5235['max']((_0x28e86e|0x0)-this[_0x10a12f(0x195)],0x0);var _0x48ac39=_0x28e86e*_0x279b72,_0x4a79ec=_0x2c5235[_0x10a12f(0x2a0)](_0x48ac39*0x4,_0x2bae8d);if(_0x48ac39){for(var _0x1a4db2=0x0;_0x1a4db2<_0x48ac39;_0x1a4db2+=_0x279b72)this[_0x10a12f(0x27b)](_0x4d867e,_0x1a4db2);_0x3251ff=_0x4d867e[_0x10a12f(0x2c1)](0x0,_0x48ac39),_0x53840e[_0x10a12f(0x1f8)]-=_0x4a79ec;}return new _0x153510['init'](_0x3251ff,_0x4a79ec);},'clone':function(){var _0x17ea6c=_0xd223ab,_0x123812=_0x414549[_0x17ea6c(0x340)][_0x17ea6c(0x34c)](this);return _0x123812['_data']=this[_0x17ea6c(0x34f)][_0x17ea6c(0x340)](),_0x123812;},'_minBufferSize':0x0});_0x4bf1b2[_0xd223ab(0x2bb)]=_0x262393[_0xd223ab(0x39b)]({'cfg':_0x414549[_0xd223ab(0x39b)](),'init':function(_0x2fc4e7){var _0x3f332e=_0xd223ab;this['cfg']=this[_0x3f332e(0x11e)]['extend'](_0x2fc4e7),this[_0x3f332e(0x33c)]();},'reset':function(){var _0x5a93e3=_0xd223ab;_0x262393[_0x5a93e3(0x33c)][_0x5a93e3(0x34c)](this),this[_0x5a93e3(0x3c5)]();},'update':function(_0x4a96a0){var _0x48c3ca=_0xd223ab;return this[_0x48c3ca(0x286)](_0x4a96a0),this[_0x48c3ca(0xe7)](),this;},'finalize':function(_0x3e095a){var _0x2f0de7=_0xd223ab;_0x3e095a&&this[_0x2f0de7(0x286)](_0x3e095a);var _0x4d289b=this[_0x2f0de7(0x16c)]();return _0x4d289b;},'blockSize':0x10,'_createHelper':function(_0x34d885){return function(_0x55d86b,_0x16cd8f){var _0x9d3f=_0x3c32;return new _0x34d885[(_0x9d3f(0x245))](_0x16cd8f)[_0x9d3f(0x23f)](_0x55d86b);};},'_createHmacHelper':function(_0x3a7e57){return function(_0x362f48,_0x9d2342){var _0x1d95d3=_0x3c32;return new _0x455a19[(_0x1d95d3(0xd5))][(_0x1d95d3(0x245))](_0x3a7e57,_0x9d2342)['finalize'](_0x362f48);};}});var _0x455a19=_0x32536e[_0xd223ab(0x333)]={};return _0x32536e;}(Math);return _0x597334;}));}(Ge)),Ge[_0x1fa962(0xc3)];}var We={'exports':{}},cn=We[_0x4328bf(0xc3)],qt;function Ri(){var _0x1224e6=_0x4328bf;return qt||(qt=0x1,function(_0x25bd21,_0x98143b){(function(_0x20d89d,_0x1b02ce){_0x25bd21['exports']=_0x1b02ce(ie());}(cn,function(_0x39616b){var _0x2d48c2=_0x3c32;return(function(){var _0x1afb07=_0x3c32,_0x552153=_0x39616b,_0x42f117=_0x552153[_0x1afb07(0x15c)],_0x3df320=_0x42f117[_0x1afb07(0x186)],_0x335a23=_0x552153[_0x1afb07(0x1e0)];_0x335a23[_0x1afb07(0x15e)]={'stringify':function(_0x3e9cc9){var _0x1722b6=_0x1afb07,_0xe27e1d=_0x3e9cc9['words'],_0xb5df5f=_0x3e9cc9[_0x1722b6(0x1f8)],_0x5886b7=this[_0x1722b6(0xc1)];_0x3e9cc9[_0x1722b6(0xd4)]();for(var _0x488cd7=[],_0x177b6b=0x0;_0x177b6b<_0xb5df5f;_0x177b6b+=0x3)for(var _0x123879=_0xe27e1d[_0x177b6b>>>0x2]>>>0x18-_0x177b6b%0x4*0x8&0xff,_0x227a0c=_0xe27e1d[_0x177b6b+0x1>>>0x2]>>>0x18-(_0x177b6b+0x1)%0x4*0x8&0xff,_0x796fd2=_0xe27e1d[_0x177b6b+0x2>>>0x2]>>>0x18-(_0x177b6b+0x2)%0x4*0x8&0xff,_0x195c8c=_0x123879<<0x10|_0x227a0c<<0x8|_0x796fd2,_0x562701=0x0;_0x562701<0x4&&_0x177b6b+_0x562701*0.75<_0xb5df5f;_0x562701++)_0x488cd7[_0x1722b6(0x348)](_0x5886b7[_0x1722b6(0x2e4)](_0x195c8c>>>0x6*(0x3-_0x562701)&0x3f));var _0x4c8efc=_0x5886b7[_0x1722b6(0x2e4)](0x40);if(_0x4c8efc){for(;_0x488cd7['length']%0x4;)_0x488cd7[_0x1722b6(0x348)](_0x4c8efc);}return _0x488cd7[_0x1722b6(0x1b1)]('');},'parse':function(_0x4548e1){var _0x239ba5=_0x1afb07,_0x3cee8c=_0x4548e1[_0x239ba5(0x384)],_0x4033b8=this[_0x239ba5(0xc1)],_0x2a25dc=this[_0x239ba5(0x2b3)];if(!_0x2a25dc){_0x2a25dc=this[_0x239ba5(0x2b3)]=[];for(var _0x38dac1=0x0;_0x38dac1<_0x4033b8['length'];_0x38dac1++)_0x2a25dc[_0x4033b8[_0x239ba5(0x287)](_0x38dac1)]=_0x38dac1;}var _0x384056=_0x4033b8['charAt'](0x40);if(_0x384056){var _0x32ce18=_0x4548e1['indexOf'](_0x384056);_0x32ce18!==-0x1&&(_0x3cee8c=_0x32ce18);}return _0x2400f4(_0x4548e1,_0x3cee8c,_0x2a25dc);},'_map':_0x1afb07(0x366)};function _0x2400f4(_0x245148,_0x403384,_0x3463a7){var _0x5d8f4=_0x1afb07;for(var _0x39239a=[],_0x42a122=0x0,_0x4464c9=0x0;_0x4464c9<_0x403384;_0x4464c9++)if(_0x4464c9%0x4){var _0x49d7d9=_0x3463a7[_0x245148[_0x5d8f4(0x287)](_0x4464c9-0x1)]<<_0x4464c9%0x4*0x2,_0x2137e7=_0x3463a7[_0x245148[_0x5d8f4(0x287)](_0x4464c9)]>>>0x6-_0x4464c9%0x4*0x2,_0x2a9f6a=_0x49d7d9|_0x2137e7;_0x39239a[_0x42a122>>>0x2]|=_0x2a9f6a<<0x18-_0x42a122%0x4*0x8,_0x42a122++;}return _0x3df320['create'](_0x39239a,_0x42a122);}}()),_0x39616b[_0x2d48c2(0x1e0)][_0x2d48c2(0x15e)];}));}(We)),We[_0x1224e6(0xc3)];}var Ye={'exports':{}},_n=Ye['exports'],zt;function hn(){var _0x196e4f=_0x4328bf;return zt||(zt=0x1,function(_0x29b946,_0x4c8fe2){(function(_0x1ae0cd,_0x11e6e3){var _0x3d0fb0=_0x3c32;_0x29b946[_0x3d0fb0(0xc3)]=_0x11e6e3(ie());}(_n,function(_0x229eae){var _0x51cde5=_0x3c32;return function(_0x2e06db){var _0x206e2b=_0x3c32,_0xe2431f=_0x229eae,_0x5a841d=_0xe2431f[_0x206e2b(0x15c)],_0x5ef531=_0x5a841d[_0x206e2b(0x186)],_0x2bf73e=_0x5a841d[_0x206e2b(0x2bb)],_0x3e2b1d=_0xe2431f[_0x206e2b(0x333)],_0x11951e=[];(function(){var _0x4de5db=_0x206e2b;for(var _0x54beeb=0x0;_0x54beeb<0x40;_0x54beeb++)_0x11951e[_0x54beeb]=_0x2e06db['abs'](_0x2e06db[_0x4de5db(0x376)](_0x54beeb+0x1))*0x100000000|0x0;}());var _0x28dbf3=_0x3e2b1d[_0x206e2b(0x197)]=_0x2bf73e[_0x206e2b(0x39b)]({'_doReset':function(){var _0x22f55f=_0x206e2b;this['_hash']=new _0x5ef531[(_0x22f55f(0x245))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4c076a,_0x1cfc41){var _0x2465c2=_0x206e2b;for(var _0xd0bacd=0x0;_0xd0bacd<0x10;_0xd0bacd++){var _0x28292f=_0x1cfc41+_0xd0bacd,_0x40a6f5=_0x4c076a[_0x28292f];_0x4c076a[_0x28292f]=(_0x40a6f5<<0x8|_0x40a6f5>>>0x18)&0xff00ff|(_0x40a6f5<<0x18|_0x40a6f5>>>0x8)&0xff00ff00;}var _0x14ae6d=this[_0x2465c2(0x3cd)][_0x2465c2(0x26e)],_0x3538fc=_0x4c076a[_0x1cfc41+0x0],_0x3ecf50=_0x4c076a[_0x1cfc41+0x1],_0x485411=_0x4c076a[_0x1cfc41+0x2],_0x313d1b=_0x4c076a[_0x1cfc41+0x3],_0x2e3d58=_0x4c076a[_0x1cfc41+0x4],_0x19d707=_0x4c076a[_0x1cfc41+0x5],_0x1c11a4=_0x4c076a[_0x1cfc41+0x6],_0x12ec35=_0x4c076a[_0x1cfc41+0x7],_0x109a73=_0x4c076a[_0x1cfc41+0x8],_0x2c87d3=_0x4c076a[_0x1cfc41+0x9],_0x179550=_0x4c076a[_0x1cfc41+0xa],_0x5904cd=_0x4c076a[_0x1cfc41+0xb],_0x43b8c5=_0x4c076a[_0x1cfc41+0xc],_0x17e707=_0x4c076a[_0x1cfc41+0xd],_0x843445=_0x4c076a[_0x1cfc41+0xe],_0x12b1e9=_0x4c076a[_0x1cfc41+0xf],_0x10057c=_0x14ae6d[0x0],_0x2b223=_0x14ae6d[0x1],_0x56bb7d=_0x14ae6d[0x2],_0x493dda=_0x14ae6d[0x3];_0x10057c=_0x562689(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x3538fc,0x7,_0x11951e[0x0]),_0x493dda=_0x562689(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x3ecf50,0xc,_0x11951e[0x1]),_0x56bb7d=_0x562689(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x485411,0x11,_0x11951e[0x2]),_0x2b223=_0x562689(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x313d1b,0x16,_0x11951e[0x3]),_0x10057c=_0x562689(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x2e3d58,0x7,_0x11951e[0x4]),_0x493dda=_0x562689(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x19d707,0xc,_0x11951e[0x5]),_0x56bb7d=_0x562689(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x1c11a4,0x11,_0x11951e[0x6]),_0x2b223=_0x562689(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x12ec35,0x16,_0x11951e[0x7]),_0x10057c=_0x562689(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x109a73,0x7,_0x11951e[0x8]),_0x493dda=_0x562689(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x2c87d3,0xc,_0x11951e[0x9]),_0x56bb7d=_0x562689(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x179550,0x11,_0x11951e[0xa]),_0x2b223=_0x562689(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x5904cd,0x16,_0x11951e[0xb]),_0x10057c=_0x562689(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x43b8c5,0x7,_0x11951e[0xc]),_0x493dda=_0x562689(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x17e707,0xc,_0x11951e[0xd]),_0x56bb7d=_0x562689(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x843445,0x11,_0x11951e[0xe]),_0x2b223=_0x562689(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x12b1e9,0x16,_0x11951e[0xf]),_0x10057c=_0x12e093(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x3ecf50,0x5,_0x11951e[0x10]),_0x493dda=_0x12e093(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x1c11a4,0x9,_0x11951e[0x11]),_0x56bb7d=_0x12e093(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x5904cd,0xe,_0x11951e[0x12]),_0x2b223=_0x12e093(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x3538fc,0x14,_0x11951e[0x13]),_0x10057c=_0x12e093(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x19d707,0x5,_0x11951e[0x14]),_0x493dda=_0x12e093(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x179550,0x9,_0x11951e[0x15]),_0x56bb7d=_0x12e093(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x12b1e9,0xe,_0x11951e[0x16]),_0x2b223=_0x12e093(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x2e3d58,0x14,_0x11951e[0x17]),_0x10057c=_0x12e093(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x2c87d3,0x5,_0x11951e[0x18]),_0x493dda=_0x12e093(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x843445,0x9,_0x11951e[0x19]),_0x56bb7d=_0x12e093(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x313d1b,0xe,_0x11951e[0x1a]),_0x2b223=_0x12e093(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x109a73,0x14,_0x11951e[0x1b]),_0x10057c=_0x12e093(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x17e707,0x5,_0x11951e[0x1c]),_0x493dda=_0x12e093(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x485411,0x9,_0x11951e[0x1d]),_0x56bb7d=_0x12e093(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x12ec35,0xe,_0x11951e[0x1e]),_0x2b223=_0x12e093(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x43b8c5,0x14,_0x11951e[0x1f]),_0x10057c=_0x48db2b(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x19d707,0x4,_0x11951e[0x20]),_0x493dda=_0x48db2b(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x109a73,0xb,_0x11951e[0x21]),_0x56bb7d=_0x48db2b(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x5904cd,0x10,_0x11951e[0x22]),_0x2b223=_0x48db2b(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x843445,0x17,_0x11951e[0x23]),_0x10057c=_0x48db2b(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x3ecf50,0x4,_0x11951e[0x24]),_0x493dda=_0x48db2b(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x2e3d58,0xb,_0x11951e[0x25]),_0x56bb7d=_0x48db2b(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x12ec35,0x10,_0x11951e[0x26]),_0x2b223=_0x48db2b(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x179550,0x17,_0x11951e[0x27]),_0x10057c=_0x48db2b(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x17e707,0x4,_0x11951e[0x28]),_0x493dda=_0x48db2b(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x3538fc,0xb,_0x11951e[0x29]),_0x56bb7d=_0x48db2b(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x313d1b,0x10,_0x11951e[0x2a]),_0x2b223=_0x48db2b(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x1c11a4,0x17,_0x11951e[0x2b]),_0x10057c=_0x48db2b(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x2c87d3,0x4,_0x11951e[0x2c]),_0x493dda=_0x48db2b(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x43b8c5,0xb,_0x11951e[0x2d]),_0x56bb7d=_0x48db2b(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x12b1e9,0x10,_0x11951e[0x2e]),_0x2b223=_0x48db2b(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x485411,0x17,_0x11951e[0x2f]),_0x10057c=_0x5a00de(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x3538fc,0x6,_0x11951e[0x30]),_0x493dda=_0x5a00de(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x12ec35,0xa,_0x11951e[0x31]),_0x56bb7d=_0x5a00de(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x843445,0xf,_0x11951e[0x32]),_0x2b223=_0x5a00de(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x19d707,0x15,_0x11951e[0x33]),_0x10057c=_0x5a00de(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x43b8c5,0x6,_0x11951e[0x34]),_0x493dda=_0x5a00de(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x313d1b,0xa,_0x11951e[0x35]),_0x56bb7d=_0x5a00de(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x179550,0xf,_0x11951e[0x36]),_0x2b223=_0x5a00de(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x3ecf50,0x15,_0x11951e[0x37]),_0x10057c=_0x5a00de(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x109a73,0x6,_0x11951e[0x38]),_0x493dda=_0x5a00de(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x12b1e9,0xa,_0x11951e[0x39]),_0x56bb7d=_0x5a00de(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x1c11a4,0xf,_0x11951e[0x3a]),_0x2b223=_0x5a00de(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x17e707,0x15,_0x11951e[0x3b]),_0x10057c=_0x5a00de(_0x10057c,_0x2b223,_0x56bb7d,_0x493dda,_0x2e3d58,0x6,_0x11951e[0x3c]),_0x493dda=_0x5a00de(_0x493dda,_0x10057c,_0x2b223,_0x56bb7d,_0x5904cd,0xa,_0x11951e[0x3d]),_0x56bb7d=_0x5a00de(_0x56bb7d,_0x493dda,_0x10057c,_0x2b223,_0x485411,0xf,_0x11951e[0x3e]),_0x2b223=_0x5a00de(_0x2b223,_0x56bb7d,_0x493dda,_0x10057c,_0x2c87d3,0x15,_0x11951e[0x3f]),_0x14ae6d[0x0]=_0x14ae6d[0x0]+_0x10057c|0x0,_0x14ae6d[0x1]=_0x14ae6d[0x1]+_0x2b223|0x0,_0x14ae6d[0x2]=_0x14ae6d[0x2]+_0x56bb7d|0x0,_0x14ae6d[0x3]=_0x14ae6d[0x3]+_0x493dda|0x0;},'_doFinalize':function(){var _0x33268d=_0x206e2b,_0x56b7c4=this[_0x33268d(0x34f)],_0x33d110=_0x56b7c4[_0x33268d(0x26e)],_0x3e332c=this[_0x33268d(0xca)]*0x8,_0x45ef80=_0x56b7c4[_0x33268d(0x1f8)]*0x8;_0x33d110[_0x45ef80>>>0x5]|=0x80<<0x18-_0x45ef80%0x20;var _0x485c6d=_0x2e06db[_0x33268d(0x390)](_0x3e332c/0x100000000),_0x5ed800=_0x3e332c;_0x33d110[(_0x45ef80+0x40>>>0x9<<0x4)+0xf]=(_0x485c6d<<0x8|_0x485c6d>>>0x18)&0xff00ff|(_0x485c6d<<0x18|_0x485c6d>>>0x8)&0xff00ff00,_0x33d110[(_0x45ef80+0x40>>>0x9<<0x4)+0xe]=(_0x5ed800<<0x8|_0x5ed800>>>0x18)&0xff00ff|(_0x5ed800<<0x18|_0x5ed800>>>0x8)&0xff00ff00,_0x56b7c4[_0x33268d(0x1f8)]=(_0x33d110[_0x33268d(0x384)]+0x1)*0x4,this[_0x33268d(0xe7)]();for(var _0x442ec8=this['_hash'],_0x448f73=_0x442ec8['words'],_0x1af66e=0x0;_0x1af66e<0x4;_0x1af66e++){var _0x423786=_0x448f73[_0x1af66e];_0x448f73[_0x1af66e]=(_0x423786<<0x8|_0x423786>>>0x18)&0xff00ff|(_0x423786<<0x18|_0x423786>>>0x8)&0xff00ff00;}return _0x442ec8;},'clone':function(){var _0x3a9831=_0x206e2b,_0x3fe76c=_0x2bf73e['clone']['call'](this);return _0x3fe76c[_0x3a9831(0x3cd)]=this[_0x3a9831(0x3cd)][_0x3a9831(0x340)](),_0x3fe76c;}});function _0x562689(_0x485ae5,_0x2993f1,_0x243333,_0x58628f,_0x90126e,_0x4fde31,_0x43fb7b){var _0x176430=_0x485ae5+(_0x2993f1&_0x243333|~_0x2993f1&_0x58628f)+_0x90126e+_0x43fb7b;return(_0x176430<<_0x4fde31|_0x176430>>>0x20-_0x4fde31)+_0x2993f1;}function _0x12e093(_0x20e661,_0x7b3af,_0x58f07c,_0x13dbb3,_0x26f885,_0x6567f8,_0x1d0bb7){var _0xd0c6a5=_0x20e661+(_0x7b3af&_0x13dbb3|_0x58f07c&~_0x13dbb3)+_0x26f885+_0x1d0bb7;return(_0xd0c6a5<<_0x6567f8|_0xd0c6a5>>>0x20-_0x6567f8)+_0x7b3af;}function _0x48db2b(_0x2da0ec,_0x3e939c,_0x351267,_0x3f4229,_0x4040b2,_0xc6d098,_0x3ad884){var _0x280207=_0x2da0ec+(_0x3e939c^_0x351267^_0x3f4229)+_0x4040b2+_0x3ad884;return(_0x280207<<_0xc6d098|_0x280207>>>0x20-_0xc6d098)+_0x3e939c;}function _0x5a00de(_0xc98ba2,_0x18c772,_0x36d24d,_0x664f1,_0x137069,_0x2a63ac,_0x5c67ca){var _0x1cd619=_0xc98ba2+(_0x36d24d^(_0x18c772|~_0x664f1))+_0x137069+_0x5c67ca;return(_0x1cd619<<_0x2a63ac|_0x1cd619>>>0x20-_0x2a63ac)+_0x18c772;}_0xe2431f[_0x206e2b(0x197)]=_0x2bf73e[_0x206e2b(0xf1)](_0x28dbf3),_0xe2431f[_0x206e2b(0x241)]=_0x2bf73e[_0x206e2b(0x20b)](_0x28dbf3);}(Math),_0x229eae[_0x51cde5(0x197)];}));}(Ye)),Ye[_0x196e4f(0xc3)];}function _0x3c32(_0x13e433,_0x258020){var _0x50b6bc=_0x50b6();return _0x3c32=function(_0x3c3230,_0x49f430){_0x3c3230=_0x3c3230-0xb9;var _0x4eff2f=_0x50b6bc[_0x3c3230];return _0x4eff2f;},_0x3c32(_0x13e433,_0x258020);}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x4328bf(0xc3)],Jt;function un(){return Jt||(Jt=0x1,function(_0x45696f,_0x3130b2){(function(_0xc203ff,_0x2f73d3){_0x45696f['exports']=_0x2f73d3(ie());}(ln,function(_0x1597c8){var _0x5c5cd8=_0x3c32;return(function(){var _0x53bc53=_0x3c32,_0x5a7eaf=_0x1597c8,_0x1e6a19=_0x5a7eaf[_0x53bc53(0x15c)],_0x40c1bd=_0x1e6a19[_0x53bc53(0x186)],_0x832eab=_0x1e6a19[_0x53bc53(0x2bb)],_0x414912=_0x5a7eaf[_0x53bc53(0x333)],_0x443f38=[],_0x26eeb8=_0x414912[_0x53bc53(0x18b)]=_0x832eab[_0x53bc53(0x39b)]({'_doReset':function(){var _0x2cd5a1=_0x53bc53;this[_0x2cd5a1(0x3cd)]=new _0x40c1bd['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4a78dc,_0x275b0c){var _0x3e0d3e=_0x53bc53;for(var _0x38460c=this[_0x3e0d3e(0x3cd)]['words'],_0x122f26=_0x38460c[0x0],_0x3e9494=_0x38460c[0x1],_0x401db9=_0x38460c[0x2],_0x4d6640=_0x38460c[0x3],_0x27545a=_0x38460c[0x4],_0x2fd2b8=0x0;_0x2fd2b8<0x50;_0x2fd2b8++){if(_0x2fd2b8<0x10)_0x443f38[_0x2fd2b8]=_0x4a78dc[_0x275b0c+_0x2fd2b8]|0x0;else{var _0x184803=_0x443f38[_0x2fd2b8-0x3]^_0x443f38[_0x2fd2b8-0x8]^_0x443f38[_0x2fd2b8-0xe]^_0x443f38[_0x2fd2b8-0x10];_0x443f38[_0x2fd2b8]=_0x184803<<0x1|_0x184803>>>0x1f;}var _0x187879=(_0x122f26<<0x5|_0x122f26>>>0x1b)+_0x27545a+_0x443f38[_0x2fd2b8];_0x2fd2b8<0x14?_0x187879+=(_0x3e9494&_0x401db9|~_0x3e9494&_0x4d6640)+0x5a827999:_0x2fd2b8<0x28?_0x187879+=(_0x3e9494^_0x401db9^_0x4d6640)+0x6ed9eba1:_0x2fd2b8<0x3c?_0x187879+=(_0x3e9494&_0x401db9|_0x3e9494&_0x4d6640|_0x401db9&_0x4d6640)-0x70e44324:_0x187879+=(_0x3e9494^_0x401db9^_0x4d6640)-0x359d3e2a,_0x27545a=_0x4d6640,_0x4d6640=_0x401db9,_0x401db9=_0x3e9494<<0x1e|_0x3e9494>>>0x2,_0x3e9494=_0x122f26,_0x122f26=_0x187879;}_0x38460c[0x0]=_0x38460c[0x0]+_0x122f26|0x0,_0x38460c[0x1]=_0x38460c[0x1]+_0x3e9494|0x0,_0x38460c[0x2]=_0x38460c[0x2]+_0x401db9|0x0,_0x38460c[0x3]=_0x38460c[0x3]+_0x4d6640|0x0,_0x38460c[0x4]=_0x38460c[0x4]+_0x27545a|0x0;},'_doFinalize':function(){var _0xc2232c=_0x53bc53,_0x3a8ff6=this[_0xc2232c(0x34f)],_0x48e6bd=_0x3a8ff6[_0xc2232c(0x26e)],_0x30561c=this[_0xc2232c(0xca)]*0x8,_0x4e573d=_0x3a8ff6[_0xc2232c(0x1f8)]*0x8;return _0x48e6bd[_0x4e573d>>>0x5]|=0x80<<0x18-_0x4e573d%0x20,_0x48e6bd[(_0x4e573d+0x40>>>0x9<<0x4)+0xe]=Math[_0xc2232c(0x390)](_0x30561c/0x100000000),_0x48e6bd[(_0x4e573d+0x40>>>0x9<<0x4)+0xf]=_0x30561c,_0x3a8ff6[_0xc2232c(0x1f8)]=_0x48e6bd['length']*0x4,this[_0xc2232c(0xe7)](),this['_hash'];},'clone':function(){var _0x15a9d6=_0x53bc53,_0x4401bd=_0x832eab[_0x15a9d6(0x340)][_0x15a9d6(0x34c)](this);return _0x4401bd['_hash']=this['_hash'][_0x15a9d6(0x340)](),_0x4401bd;}});_0x5a7eaf[_0x53bc53(0x18b)]=_0x832eab[_0x53bc53(0xf1)](_0x26eeb8),_0x5a7eaf[_0x53bc53(0x214)]=_0x832eab[_0x53bc53(0x20b)](_0x26eeb8);}()),_0x1597c8[_0x5c5cd8(0x18b)];}));}(qe)),qe['exports'];}var ze={'exports':{}},dn=ze[_0x4328bf(0xc3)],Xt;function fn(){var _0x2528ed=_0x4328bf;return Xt||(Xt=0x1,function(_0x113bda,_0x4caf54){(function(_0x46599,_0x42d188){var _0x39e0b1=_0x3c32;_0x113bda[_0x39e0b1(0xc3)]=_0x42d188(ie());}(dn,function(_0x239ac3){(function(){var _0x3a340d=_0x3c32,_0x14f395=_0x239ac3,_0x3a831a=_0x14f395[_0x3a340d(0x15c)],_0x419386=_0x3a831a[_0x3a340d(0x2af)],_0x422694=_0x14f395[_0x3a340d(0x1e0)],_0x144e18=_0x422694[_0x3a340d(0x304)],_0x2fc4df=_0x14f395[_0x3a340d(0x333)];_0x2fc4df['HMAC']=_0x419386[_0x3a340d(0x39b)]({'init':function(_0x5e0b47,_0x5abfcb){var _0x35a1a6=_0x3a340d;_0x5e0b47=this[_0x35a1a6(0x16d)]=new _0x5e0b47[(_0x35a1a6(0x245))](),typeof _0x5abfcb==_0x35a1a6(0x242)&&(_0x5abfcb=_0x144e18[_0x35a1a6(0x2c6)](_0x5abfcb));var _0x53997b=_0x5e0b47['blockSize'],_0x5beeed=_0x53997b*0x4;_0x5abfcb[_0x35a1a6(0x1f8)]>_0x5beeed&&(_0x5abfcb=_0x5e0b47['finalize'](_0x5abfcb)),_0x5abfcb[_0x35a1a6(0xd4)]();for(var _0xd108fa=this[_0x35a1a6(0x271)]=_0x5abfcb[_0x35a1a6(0x340)](),_0x1282aa=this['_iKey']=_0x5abfcb[_0x35a1a6(0x340)](),_0x4ce1bc=_0xd108fa['words'],_0x4accc7=_0x1282aa[_0x35a1a6(0x26e)],_0x46d93c=0x0;_0x46d93c<_0x53997b;_0x46d93c++)_0x4ce1bc[_0x46d93c]^=0x5c5c5c5c,_0x4accc7[_0x46d93c]^=0x36363636;_0xd108fa['sigBytes']=_0x1282aa['sigBytes']=_0x5beeed,this[_0x35a1a6(0x33c)]();},'reset':function(){var _0x581859=_0x3a340d,_0x35f5aa=this[_0x581859(0x16d)];_0x35f5aa['reset'](),_0x35f5aa[_0x581859(0x22a)](this[_0x581859(0x258)]);},'update':function(_0x47260c){var _0x30e9fb=_0x3a340d;return this[_0x30e9fb(0x16d)][_0x30e9fb(0x22a)](_0x47260c),this;},'finalize':function(_0x2f3c9e){var _0x7ad110=_0x3a340d,_0x1dc9e2=this[_0x7ad110(0x16d)],_0x3e7d0f=_0x1dc9e2[_0x7ad110(0x23f)](_0x2f3c9e);_0x1dc9e2[_0x7ad110(0x33c)]();var _0x4a61d7=_0x1dc9e2[_0x7ad110(0x23f)](this[_0x7ad110(0x271)]['clone']()[_0x7ad110(0x188)](_0x3e7d0f));return _0x4a61d7;}});}());}));}(ze)),ze[_0x2528ed(0xc3)];}var vn=Ke[_0x4328bf(0xc3)],Zt;function Ci(){var _0x1d8e06=_0x4328bf;return Zt||(Zt=0x1,function(_0xb6f6e0,_0x1c9b0c){(function(_0x3da98d,_0xe68006,_0x27f0c0){_0xb6f6e0['exports']=_0xe68006(ie(),un(),fn());}(vn,function(_0x47dc37){var _0x1e43ed=_0x3c32;return(function(){var _0x5eac93=_0x3c32,_0x34e414=_0x47dc37,_0x2cc3fd=_0x34e414[_0x5eac93(0x15c)],_0x34ea0a=_0x2cc3fd[_0x5eac93(0x2af)],_0x374551=_0x2cc3fd['WordArray'],_0x109c36=_0x34e414[_0x5eac93(0x333)],_0x2ebb42=_0x109c36['MD5'],_0x4ec04e=_0x109c36[_0x5eac93(0x313)]=_0x34ea0a[_0x5eac93(0x39b)]({'cfg':_0x34ea0a['extend']({'keySize':0x80/0x20,'hasher':_0x2ebb42,'iterations':0x1}),'init':function(_0x46d0d6){var _0x37dc83=_0x5eac93;this[_0x37dc83(0x11e)]=this[_0x37dc83(0x11e)][_0x37dc83(0x39b)](_0x46d0d6);},'compute':function(_0x2ce983,_0x2fbce0){var _0x2c381c=_0x5eac93;for(var _0x23f32d,_0x16f474=this['cfg'],_0x5f1712=_0x16f474['hasher']['create'](),_0xc75fce=_0x374551[_0x2c381c(0x1c5)](),_0x57e9c3=_0xc75fce['words'],_0xaf23f4=_0x16f474[_0x2c381c(0x125)],_0x1f73fa=_0x16f474[_0x2c381c(0xcf)];_0x57e9c3['length']<_0xaf23f4;){_0x23f32d&&_0x5f1712['update'](_0x23f32d),_0x23f32d=_0x5f1712['update'](_0x2ce983)[_0x2c381c(0x23f)](_0x2fbce0),_0x5f1712['reset']();for(var _0x55921a=0x1;_0x55921a<_0x1f73fa;_0x55921a++)_0x23f32d=_0x5f1712['finalize'](_0x23f32d),_0x5f1712[_0x2c381c(0x33c)]();_0xc75fce[_0x2c381c(0x188)](_0x23f32d);}return _0xc75fce[_0x2c381c(0x1f8)]=_0xaf23f4*0x4,_0xc75fce;}});_0x34e414[_0x5eac93(0x313)]=function(_0xc66835,_0x18630c,_0x5c8f77){var _0x2dfed9=_0x5eac93;return _0x4ec04e['create'](_0x5c8f77)[_0x2dfed9(0x234)](_0xc66835,_0x18630c);};}()),_0x47dc37[_0x1e43ed(0x313)];}));}(Ke)),Ke[_0x1d8e06(0xc3)];}var Je={'exports':{}},pn=Je[_0x4328bf(0xc3)],Qt;function Ni(){var _0x3279a8=_0x4328bf;return Qt||(Qt=0x1,function(_0x220b9e,_0x392880){(function(_0x541d76,_0x45be86,_0x264417){var _0x555d4d=_0x3c32;_0x220b9e[_0x555d4d(0xc3)]=_0x45be86(ie(),Ci());}(pn,function(_0x4e998d){_0x4e998d['lib']['Cipher']||function(_0x57591a){var _0x3bf438=_0x3c32,_0x4a2633=_0x4e998d,_0x139b80=_0x4a2633[_0x3bf438(0x15c)],_0x1f1ecc=_0x139b80[_0x3bf438(0x2af)],_0x44c0ea=_0x139b80[_0x3bf438(0x186)],_0x504e1a=_0x139b80[_0x3bf438(0x375)],_0x3a8c72=_0x4a2633['enc'];_0x3a8c72[_0x3bf438(0x304)];var _0x4449bc=_0x3a8c72[_0x3bf438(0x15e)],_0x32a754=_0x4a2633['algo'],_0x47691f=_0x32a754[_0x3bf438(0x313)],_0x162ca2=_0x139b80['Cipher']=_0x504e1a[_0x3bf438(0x39b)]({'cfg':_0x1f1ecc[_0x3bf438(0x39b)](),'createEncryptor':function(_0x446f97,_0x4cbf48){var _0xa9a01f=_0x3bf438;return this['create'](this[_0xa9a01f(0x158)],_0x446f97,_0x4cbf48);},'createDecryptor':function(_0x90bcf8,_0x5f3ffe){var _0x31c8a0=_0x3bf438;return this[_0x31c8a0(0x1c5)](this[_0x31c8a0(0x2f4)],_0x90bcf8,_0x5f3ffe);},'init':function(_0x1854d0,_0x586c07,_0xbb941b){var _0x382518=_0x3bf438;this[_0x382518(0x11e)]=this[_0x382518(0x11e)][_0x382518(0x39b)](_0xbb941b),this[_0x382518(0x363)]=_0x1854d0,this[_0x382518(0x23d)]=_0x586c07,this['reset']();},'reset':function(){var _0xfcbe02=_0x3bf438;_0x504e1a[_0xfcbe02(0x33c)][_0xfcbe02(0x34c)](this),this['_doReset']();},'process':function(_0x633b7c){var _0x5dc2b0=_0x3bf438;return this[_0x5dc2b0(0x286)](_0x633b7c),this[_0x5dc2b0(0xe7)]();},'finalize':function(_0xc6068f){var _0x3e6760=_0x3bf438;_0xc6068f&&this[_0x3e6760(0x286)](_0xc6068f);var _0x13e448=this[_0x3e6760(0x16c)]();return _0x13e448;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x394682(_0x4e4bc2){var _0x1b5966=_0x3c32;return typeof _0x4e4bc2==_0x1b5966(0x242)?_0x3e2266:_0x1d6c0a;}return function(_0x135259){return{'encrypt':function(_0x10d78c,_0x49c4dd,_0x7db7f9){var _0x3f8537=_0x3c32;return _0x394682(_0x49c4dd)[_0x3f8537(0x156)](_0x135259,_0x10d78c,_0x49c4dd,_0x7db7f9);},'decrypt':function(_0x4af4a3,_0x518343,_0x3ae192){return _0x394682(_0x518343)['decrypt'](_0x135259,_0x4af4a3,_0x518343,_0x3ae192);}};};}())});_0x139b80['StreamCipher']=_0x162ca2[_0x3bf438(0x39b)]({'_doFinalize':function(){var _0x1787ad=_0x3bf438,_0x2fd509=this[_0x1787ad(0xe7)](!0x0);return _0x2fd509;},'blockSize':0x1});var _0x5bf2fe=_0x4a2633['mode']={},_0x32cbfa=_0x139b80[_0x3bf438(0x246)]=_0x1f1ecc[_0x3bf438(0x39b)]({'createEncryptor':function(_0x2a006f,_0x5a39d8){var _0x3d9248=_0x3bf438;return this[_0x3d9248(0x1da)][_0x3d9248(0x1c5)](_0x2a006f,_0x5a39d8);},'createDecryptor':function(_0x4b88b0,_0x3979fc){return this['Decryptor']['create'](_0x4b88b0,_0x3979fc);},'init':function(_0x25eeaf,_0x261da1){var _0x15e5ee=_0x3bf438;this[_0x15e5ee(0x204)]=_0x25eeaf,this[_0x15e5ee(0x330)]=_0x261da1;}}),_0x38a982=_0x5bf2fe['CBC']=(function(){var _0x441382=_0x3bf438,_0x2d68bb=_0x32cbfa['extend']();_0x2d68bb[_0x441382(0x1da)]=_0x2d68bb[_0x441382(0x39b)]({'processBlock':function(_0x338adc,_0x4c6336){var _0x144db3=_0x441382,_0xcd41b8=this[_0x144db3(0x204)],_0x132816=_0xcd41b8[_0x144db3(0x146)];_0xa3741d[_0x144db3(0x34c)](this,_0x338adc,_0x4c6336,_0x132816),_0xcd41b8[_0x144db3(0x23c)](_0x338adc,_0x4c6336),this[_0x144db3(0x2d5)]=_0x338adc[_0x144db3(0x397)](_0x4c6336,_0x4c6336+_0x132816);}}),_0x2d68bb[_0x441382(0x269)]=_0x2d68bb['extend']({'processBlock':function(_0x48a601,_0x117c36){var _0x21c415=_0x441382,_0x21eef1=this[_0x21c415(0x204)],_0xf04177=_0x21eef1['blockSize'],_0x2767e2=_0x48a601['slice'](_0x117c36,_0x117c36+_0xf04177);_0x21eef1[_0x21c415(0x1f7)](_0x48a601,_0x117c36),_0xa3741d[_0x21c415(0x34c)](this,_0x48a601,_0x117c36,_0xf04177),this[_0x21c415(0x2d5)]=_0x2767e2;}});function _0xa3741d(_0x53474f,_0xda3895,_0x40c1d3){var _0x20022e=_0x441382,_0x18dfa6,_0x4e811b=this[_0x20022e(0x330)];_0x4e811b?(_0x18dfa6=_0x4e811b,this[_0x20022e(0x330)]=_0x57591a):_0x18dfa6=this[_0x20022e(0x2d5)];for(var _0xdb94b3=0x0;_0xdb94b3<_0x40c1d3;_0xdb94b3++)_0x53474f[_0xda3895+_0xdb94b3]^=_0x18dfa6[_0xdb94b3];}return _0x2d68bb;}()),_0x53e9bc=_0x4a2633[_0x3bf438(0x2b8)]={},_0x4e8c69=_0x53e9bc[_0x3bf438(0x310)]={'pad':function(_0x2d2f84,_0x268086){var _0x599a69=_0x3bf438;for(var _0x2a1928=_0x268086*0x4,_0x111b4b=_0x2a1928-_0x2d2f84[_0x599a69(0x1f8)]%_0x2a1928,_0x1a53a0=_0x111b4b<<0x18|_0x111b4b<<0x10|_0x111b4b<<0x8|_0x111b4b,_0x30ae4e=[],_0x202455=0x0;_0x202455<_0x111b4b;_0x202455+=0x4)_0x30ae4e[_0x599a69(0x348)](_0x1a53a0);var _0x2de4f9=_0x44c0ea[_0x599a69(0x1c5)](_0x30ae4e,_0x111b4b);_0x2d2f84[_0x599a69(0x188)](_0x2de4f9);},'unpad':function(_0x29127f){var _0x5c1b9d=_0x3bf438,_0x7579e8=_0x29127f['words'][_0x29127f[_0x5c1b9d(0x1f8)]-0x1>>>0x2]&0xff;_0x29127f['sigBytes']-=_0x7579e8;}};_0x139b80['BlockCipher']=_0x162ca2[_0x3bf438(0x39b)]({'cfg':_0x162ca2[_0x3bf438(0x11e)][_0x3bf438(0x39b)]({'mode':_0x38a982,'padding':_0x4e8c69}),'reset':function(){var _0x15f2ab=_0x3bf438,_0xf526bb;_0x162ca2[_0x15f2ab(0x33c)][_0x15f2ab(0x34c)](this);var _0x50add1=this[_0x15f2ab(0x11e)],_0x4e03e7=_0x50add1['iv'],_0x33b50d=_0x50add1[_0x15f2ab(0x231)];this[_0x15f2ab(0x363)]==this[_0x15f2ab(0x158)]?_0xf526bb=_0x33b50d[_0x15f2ab(0x163)]:(_0xf526bb=_0x33b50d[_0x15f2ab(0x22f)],this[_0x15f2ab(0x195)]=0x1),this[_0x15f2ab(0x3c2)]&&this[_0x15f2ab(0x3c2)][_0x15f2ab(0x2ea)]==_0xf526bb?this[_0x15f2ab(0x3c2)][_0x15f2ab(0x245)](this,_0x4e03e7&&_0x4e03e7[_0x15f2ab(0x26e)]):(this[_0x15f2ab(0x3c2)]=_0xf526bb[_0x15f2ab(0x34c)](_0x33b50d,this,_0x4e03e7&&_0x4e03e7[_0x15f2ab(0x26e)]),this[_0x15f2ab(0x3c2)][_0x15f2ab(0x2ea)]=_0xf526bb);},'_doProcessBlock':function(_0x3c9c1f,_0x20267d){var _0x10f526=_0x3bf438;this['_mode'][_0x10f526(0x2ca)](_0x3c9c1f,_0x20267d);},'_doFinalize':function(){var _0x4f56bd=_0x3bf438,_0x12d6aa,_0x26e379=this['cfg'][_0x4f56bd(0x343)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x26e379[_0x4f56bd(0x2b8)](this[_0x4f56bd(0x34f)],this[_0x4f56bd(0x146)]),_0x12d6aa=this['_process'](!0x0)):(_0x12d6aa=this[_0x4f56bd(0xe7)](!0x0),_0x26e379[_0x4f56bd(0x275)](_0x12d6aa)),_0x12d6aa;},'blockSize':0x80/0x20});var _0x17858a=_0x139b80[_0x3bf438(0x170)]=_0x1f1ecc[_0x3bf438(0x39b)]({'init':function(_0x462898){var _0x382632=_0x3bf438;this[_0x382632(0x3d3)](_0x462898);},'toString':function(_0x355965){var _0x4ac602=_0x3bf438;return(_0x355965||this[_0x4ac602(0x18c)])[_0x4ac602(0xe2)](this);}}),_0x10d021=_0x4a2633[_0x3bf438(0x1e8)]={},_0x1ea270=_0x10d021[_0x3bf438(0x14f)]={'stringify':function(_0x38e361){var _0x1ae008=_0x3bf438,_0x3b4add,_0x3c846a=_0x38e361[_0x1ae008(0x365)],_0x1c044d=_0x38e361[_0x1ae008(0x14b)];return _0x1c044d?_0x3b4add=_0x44c0ea['create']([0x53616c74,0x65645f5f])[_0x1ae008(0x188)](_0x1c044d)['concat'](_0x3c846a):_0x3b4add=_0x3c846a,_0x3b4add[_0x1ae008(0xbe)](_0x4449bc);},'parse':function(_0x10a8b4){var _0x5dc1dd=_0x3bf438,_0x102bf3,_0xdb67d1=_0x4449bc[_0x5dc1dd(0x2c6)](_0x10a8b4),_0x551c21=_0xdb67d1[_0x5dc1dd(0x26e)];return _0x551c21[0x0]==0x53616c74&&_0x551c21[0x1]==0x65645f5f&&(_0x102bf3=_0x44c0ea[_0x5dc1dd(0x1c5)](_0x551c21[_0x5dc1dd(0x397)](0x2,0x4)),_0x551c21[_0x5dc1dd(0x2c1)](0x0,0x4),_0xdb67d1[_0x5dc1dd(0x1f8)]-=0x10),_0x17858a[_0x5dc1dd(0x1c5)]({'ciphertext':_0xdb67d1,'salt':_0x102bf3});}},_0x1d6c0a=_0x139b80[_0x3bf438(0x25e)]=_0x1f1ecc['extend']({'cfg':_0x1f1ecc[_0x3bf438(0x39b)]({'format':_0x1ea270}),'encrypt':function(_0x4faee3,_0x2bc329,_0x1379eb,_0x22e8fc){var _0x4c1a05=_0x3bf438;_0x22e8fc=this[_0x4c1a05(0x11e)][_0x4c1a05(0x39b)](_0x22e8fc);var _0x1694c8=_0x4faee3[_0x4c1a05(0x163)](_0x1379eb,_0x22e8fc),_0x12ec03=_0x1694c8[_0x4c1a05(0x23f)](_0x2bc329),_0x597aeb=_0x1694c8[_0x4c1a05(0x11e)];return _0x17858a[_0x4c1a05(0x1c5)]({'ciphertext':_0x12ec03,'key':_0x1379eb,'iv':_0x597aeb['iv'],'algorithm':_0x4faee3,'mode':_0x597aeb[_0x4c1a05(0x231)],'padding':_0x597aeb[_0x4c1a05(0x343)],'blockSize':_0x4faee3['blockSize'],'formatter':_0x22e8fc[_0x4c1a05(0x1e8)]});},'decrypt':function(_0x172806,_0x26935d,_0x4f434d,_0x2de488){var _0x15daca=_0x3bf438;_0x2de488=this[_0x15daca(0x11e)][_0x15daca(0x39b)](_0x2de488),_0x26935d=this[_0x15daca(0x1d0)](_0x26935d,_0x2de488[_0x15daca(0x1e8)]);var _0x2a2b6d=_0x172806[_0x15daca(0x22f)](_0x4f434d,_0x2de488)[_0x15daca(0x23f)](_0x26935d['ciphertext']);return _0x2a2b6d;},'_parse':function(_0x8fa2dc,_0x33c590){return typeof _0x8fa2dc=='string'?_0x33c590['parse'](_0x8fa2dc,this):_0x8fa2dc;}}),_0x3a0e32=_0x4a2633[_0x3bf438(0x176)]={},_0x366b7b=_0x3a0e32[_0x3bf438(0x14f)]={'execute':function(_0x5e44e5,_0x22558d,_0x538e7f,_0x298072,_0x413393){var _0x549b0a=_0x3bf438;if(_0x298072||(_0x298072=_0x44c0ea[_0x549b0a(0x21a)](0x40/0x8)),_0x413393)var _0x251201=_0x47691f[_0x549b0a(0x1c5)]({'keySize':_0x22558d+_0x538e7f,'hasher':_0x413393})['compute'](_0x5e44e5,_0x298072);else var _0x251201=_0x47691f['create']({'keySize':_0x22558d+_0x538e7f})[_0x549b0a(0x234)](_0x5e44e5,_0x298072);var _0x43e33f=_0x44c0ea[_0x549b0a(0x1c5)](_0x251201['words'][_0x549b0a(0x397)](_0x22558d),_0x538e7f*0x4);return _0x251201[_0x549b0a(0x1f8)]=_0x22558d*0x4,_0x17858a[_0x549b0a(0x1c5)]({'key':_0x251201,'iv':_0x43e33f,'salt':_0x298072});}},_0x3e2266=_0x139b80[_0x3bf438(0x2d7)]=_0x1d6c0a[_0x3bf438(0x39b)]({'cfg':_0x1d6c0a['cfg'][_0x3bf438(0x39b)]({'kdf':_0x366b7b}),'encrypt':function(_0x5bd34c,_0x1d0efb,_0x253712,_0x3378d7){var _0x65976d=_0x3bf438;_0x3378d7=this[_0x65976d(0x11e)]['extend'](_0x3378d7);var _0x3ebef4=_0x3378d7['kdf'][_0x65976d(0x116)](_0x253712,_0x5bd34c[_0x65976d(0x125)],_0x5bd34c[_0x65976d(0x294)],_0x3378d7[_0x65976d(0x14b)],_0x3378d7[_0x65976d(0x3b4)]);_0x3378d7['iv']=_0x3ebef4['iv'];var _0x144b89=_0x1d6c0a['encrypt'][_0x65976d(0x34c)](this,_0x5bd34c,_0x1d0efb,_0x3ebef4[_0x65976d(0x2ec)],_0x3378d7);return _0x144b89[_0x65976d(0x3d3)](_0x3ebef4),_0x144b89;},'decrypt':function(_0x2c45b9,_0xc3337c,_0x573260,_0x2bbbb3){var _0x37847f=_0x3bf438;_0x2bbbb3=this['cfg'][_0x37847f(0x39b)](_0x2bbbb3),_0xc3337c=this[_0x37847f(0x1d0)](_0xc3337c,_0x2bbbb3[_0x37847f(0x1e8)]);var _0x2d6470=_0x2bbbb3['kdf'][_0x37847f(0x116)](_0x573260,_0x2c45b9['keySize'],_0x2c45b9[_0x37847f(0x294)],_0xc3337c[_0x37847f(0x14b)],_0x2bbbb3['hasher']);_0x2bbbb3['iv']=_0x2d6470['iv'];var _0x2a94f4=_0x1d6c0a['decrypt'][_0x37847f(0x34c)](this,_0x2c45b9,_0xc3337c,_0x2d6470[_0x37847f(0x2ec)],_0x2bbbb3);return _0x2a94f4;}});}();}));}(Je)),Je[_0x3279a8(0xc3)];}var En=Ve['exports'],ei;function mn(){return ei||(ei=0x1,function(_0x41f5d3,_0x500349){(function(_0x17e0f0,_0x5a9cc3,_0x56ed5f){var _0x5bba20=_0x3c32;_0x41f5d3[_0x5bba20(0xc3)]=_0x5a9cc3(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x39b896){var _0x3e633a=_0x3c32;return(function(){var _0x1a4c42=_0x3c32,_0x4a0c7b=_0x39b896,_0x57a95c=_0x4a0c7b[_0x1a4c42(0x15c)],_0x10f3bb=_0x57a95c[_0x1a4c42(0x128)],_0x410578=_0x4a0c7b[_0x1a4c42(0x333)],_0x281f1f=[],_0x12d6e9=[],_0x18dad1=[],_0x1b951e=[],_0x28e89b=[],_0x2f34c9=[],_0x306c86=[],_0xb84bca=[],_0x3f1545=[],_0x3a6e10=[];(function(){for(var _0xb317d7=[],_0x4014ee=0x0;_0x4014ee<0x100;_0x4014ee++)_0x4014ee<0x80?_0xb317d7[_0x4014ee]=_0x4014ee<<0x1:_0xb317d7[_0x4014ee]=_0x4014ee<<0x1^0x11b;for(var _0x528645=0x0,_0x21f14a=0x0,_0x4014ee=0x0;_0x4014ee<0x100;_0x4014ee++){var _0x18c2fd=_0x21f14a^_0x21f14a<<0x1^_0x21f14a<<0x2^_0x21f14a<<0x3^_0x21f14a<<0x4;_0x18c2fd=_0x18c2fd>>>0x8^_0x18c2fd&0xff^0x63,_0x281f1f[_0x528645]=_0x18c2fd,_0x12d6e9[_0x18c2fd]=_0x528645;var _0x12ea39=_0xb317d7[_0x528645],_0x33c587=_0xb317d7[_0x12ea39],_0x209c78=_0xb317d7[_0x33c587],_0x38c53c=_0xb317d7[_0x18c2fd]*0x101^_0x18c2fd*0x1010100;_0x18dad1[_0x528645]=_0x38c53c<<0x18|_0x38c53c>>>0x8,_0x1b951e[_0x528645]=_0x38c53c<<0x10|_0x38c53c>>>0x10,_0x28e89b[_0x528645]=_0x38c53c<<0x8|_0x38c53c>>>0x18,_0x2f34c9[_0x528645]=_0x38c53c;var _0x38c53c=_0x209c78*0x1010101^_0x33c587*0x10001^_0x12ea39*0x101^_0x528645*0x1010100;_0x306c86[_0x18c2fd]=_0x38c53c<<0x18|_0x38c53c>>>0x8,_0xb84bca[_0x18c2fd]=_0x38c53c<<0x10|_0x38c53c>>>0x10,_0x3f1545[_0x18c2fd]=_0x38c53c<<0x8|_0x38c53c>>>0x18,_0x3a6e10[_0x18c2fd]=_0x38c53c,_0x528645?(_0x528645=_0x12ea39^_0xb317d7[_0xb317d7[_0xb317d7[_0x209c78^_0x12ea39]]],_0x21f14a^=_0xb317d7[_0xb317d7[_0x21f14a]]):_0x528645=_0x21f14a=0x1;}}());var _0xcdb2ec=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3e5061=_0x410578[_0x1a4c42(0x37f)]=_0x10f3bb[_0x1a4c42(0x39b)]({'_doReset':function(){var _0x350e76=_0x1a4c42,_0x245c94;if(!(this[_0x350e76(0x1c2)]&&this['_keyPriorReset']===this[_0x350e76(0x23d)])){for(var _0x34d912=this[_0x350e76(0x1b2)]=this['_key'],_0x92c053=_0x34d912[_0x350e76(0x26e)],_0x3d3d3f=_0x34d912[_0x350e76(0x1f8)]/0x4,_0x5d5f05=this[_0x350e76(0x1c2)]=_0x3d3d3f+0x6,_0x1020ee=(_0x5d5f05+0x1)*0x4,_0x5d7ac4=this[_0x350e76(0x289)]=[],_0x26494d=0x0;_0x26494d<_0x1020ee;_0x26494d++)_0x26494d<_0x3d3d3f?_0x5d7ac4[_0x26494d]=_0x92c053[_0x26494d]:(_0x245c94=_0x5d7ac4[_0x26494d-0x1],_0x26494d%_0x3d3d3f?_0x3d3d3f>0x6&&_0x26494d%_0x3d3d3f==0x4&&(_0x245c94=_0x281f1f[_0x245c94>>>0x18]<<0x18|_0x281f1f[_0x245c94>>>0x10&0xff]<<0x10|_0x281f1f[_0x245c94>>>0x8&0xff]<<0x8|_0x281f1f[_0x245c94&0xff]):(_0x245c94=_0x245c94<<0x8|_0x245c94>>>0x18,_0x245c94=_0x281f1f[_0x245c94>>>0x18]<<0x18|_0x281f1f[_0x245c94>>>0x10&0xff]<<0x10|_0x281f1f[_0x245c94>>>0x8&0xff]<<0x8|_0x281f1f[_0x245c94&0xff],_0x245c94^=_0xcdb2ec[_0x26494d/_0x3d3d3f|0x0]<<0x18),_0x5d7ac4[_0x26494d]=_0x5d7ac4[_0x26494d-_0x3d3d3f]^_0x245c94);for(var _0x838ee0=this[_0x350e76(0x1bd)]=[],_0x3e2cd3=0x0;_0x3e2cd3<_0x1020ee;_0x3e2cd3++){var _0x26494d=_0x1020ee-_0x3e2cd3;if(_0x3e2cd3%0x4)var _0x245c94=_0x5d7ac4[_0x26494d];else var _0x245c94=_0x5d7ac4[_0x26494d-0x4];_0x3e2cd3<0x4||_0x26494d<=0x4?_0x838ee0[_0x3e2cd3]=_0x245c94:_0x838ee0[_0x3e2cd3]=_0x306c86[_0x281f1f[_0x245c94>>>0x18]]^_0xb84bca[_0x281f1f[_0x245c94>>>0x10&0xff]]^_0x3f1545[_0x281f1f[_0x245c94>>>0x8&0xff]]^_0x3a6e10[_0x281f1f[_0x245c94&0xff]];}}},'encryptBlock':function(_0x5a9242,_0x21ec5b){var _0x3345f9=_0x1a4c42;this['_doCryptBlock'](_0x5a9242,_0x21ec5b,this[_0x3345f9(0x289)],_0x18dad1,_0x1b951e,_0x28e89b,_0x2f34c9,_0x281f1f);},'decryptBlock':function(_0x8a4774,_0x266eb2){var _0x4af01b=_0x1a4c42,_0x53a3c6=_0x8a4774[_0x266eb2+0x1];_0x8a4774[_0x266eb2+0x1]=_0x8a4774[_0x266eb2+0x3],_0x8a4774[_0x266eb2+0x3]=_0x53a3c6,this[_0x4af01b(0x1e1)](_0x8a4774,_0x266eb2,this['_invKeySchedule'],_0x306c86,_0xb84bca,_0x3f1545,_0x3a6e10,_0x12d6e9);var _0x53a3c6=_0x8a4774[_0x266eb2+0x1];_0x8a4774[_0x266eb2+0x1]=_0x8a4774[_0x266eb2+0x3],_0x8a4774[_0x266eb2+0x3]=_0x53a3c6;},'_doCryptBlock':function(_0x80fb44,_0x518230,_0x218cc3,_0xa6a870,_0x58fa42,_0xdd5e5,_0x51b9e3,_0x75f221){var _0x269d15=_0x1a4c42;for(var _0x2cb5b4=this[_0x269d15(0x1c2)],_0x46517b=_0x80fb44[_0x518230]^_0x218cc3[0x0],_0x5f4198=_0x80fb44[_0x518230+0x1]^_0x218cc3[0x1],_0x451dd1=_0x80fb44[_0x518230+0x2]^_0x218cc3[0x2],_0x16c89f=_0x80fb44[_0x518230+0x3]^_0x218cc3[0x3],_0x309b08=0x4,_0x1ff6b5=0x1;_0x1ff6b5<_0x2cb5b4;_0x1ff6b5++){var _0xbe45b2=_0xa6a870[_0x46517b>>>0x18]^_0x58fa42[_0x5f4198>>>0x10&0xff]^_0xdd5e5[_0x451dd1>>>0x8&0xff]^_0x51b9e3[_0x16c89f&0xff]^_0x218cc3[_0x309b08++],_0x2bd914=_0xa6a870[_0x5f4198>>>0x18]^_0x58fa42[_0x451dd1>>>0x10&0xff]^_0xdd5e5[_0x16c89f>>>0x8&0xff]^_0x51b9e3[_0x46517b&0xff]^_0x218cc3[_0x309b08++],_0x45c123=_0xa6a870[_0x451dd1>>>0x18]^_0x58fa42[_0x16c89f>>>0x10&0xff]^_0xdd5e5[_0x46517b>>>0x8&0xff]^_0x51b9e3[_0x5f4198&0xff]^_0x218cc3[_0x309b08++],_0x3bda2c=_0xa6a870[_0x16c89f>>>0x18]^_0x58fa42[_0x46517b>>>0x10&0xff]^_0xdd5e5[_0x5f4198>>>0x8&0xff]^_0x51b9e3[_0x451dd1&0xff]^_0x218cc3[_0x309b08++];_0x46517b=_0xbe45b2,_0x5f4198=_0x2bd914,_0x451dd1=_0x45c123,_0x16c89f=_0x3bda2c;}var _0xbe45b2=(_0x75f221[_0x46517b>>>0x18]<<0x18|_0x75f221[_0x5f4198>>>0x10&0xff]<<0x10|_0x75f221[_0x451dd1>>>0x8&0xff]<<0x8|_0x75f221[_0x16c89f&0xff])^_0x218cc3[_0x309b08++],_0x2bd914=(_0x75f221[_0x5f4198>>>0x18]<<0x18|_0x75f221[_0x451dd1>>>0x10&0xff]<<0x10|_0x75f221[_0x16c89f>>>0x8&0xff]<<0x8|_0x75f221[_0x46517b&0xff])^_0x218cc3[_0x309b08++],_0x45c123=(_0x75f221[_0x451dd1>>>0x18]<<0x18|_0x75f221[_0x16c89f>>>0x10&0xff]<<0x10|_0x75f221[_0x46517b>>>0x8&0xff]<<0x8|_0x75f221[_0x5f4198&0xff])^_0x218cc3[_0x309b08++],_0x3bda2c=(_0x75f221[_0x16c89f>>>0x18]<<0x18|_0x75f221[_0x46517b>>>0x10&0xff]<<0x10|_0x75f221[_0x5f4198>>>0x8&0xff]<<0x8|_0x75f221[_0x451dd1&0xff])^_0x218cc3[_0x309b08++];_0x80fb44[_0x518230]=_0xbe45b2,_0x80fb44[_0x518230+0x1]=_0x2bd914,_0x80fb44[_0x518230+0x2]=_0x45c123,_0x80fb44[_0x518230+0x3]=_0x3bda2c;},'keySize':0x100/0x20});_0x4a0c7b[_0x1a4c42(0x37f)]=_0x10f3bb[_0x1a4c42(0xf1)](_0x3e5061);}()),_0x39b896[_0x3e633a(0x37f)];}));}(Ve)),Ve['exports'];}var In=mn();const Sn=$e(In);var gn=Ri();const ti=$e(gn);var Xe={'exports':{}},Tn=Xe[_0x4328bf(0xc3)],ii;function On(){return ii||(ii=0x1,function(_0x3e12ca,_0x5276e2){(function(_0x597793,_0x40b965){var _0x5a793d=_0x3c32;_0x3e12ca[_0x5a793d(0xc3)]=_0x40b965(ie());}(Tn,function(_0x2f7e3f){var _0x138b8e=_0x3c32;return _0x2f7e3f[_0x138b8e(0x1e0)][_0x138b8e(0x304)];}));}(Xe)),Xe['exports'];}var Rn=On();const Cn=$e(Rn);var Ze={'exports':{}},Nn=Ze[_0x4328bf(0xc3)],si;function bn(){var _0x3be939=_0x4328bf;return si||(si=0x1,function(_0x5d9073,_0x2b9b30){(function(_0x3ee6e5,_0x1eabf3){var _0x5d8ab9=_0x3c32;_0x5d9073[_0x5d8ab9(0xc3)]=_0x1eabf3(ie());}(Nn,function(_0x1b4311){var _0x28ef18=_0x3c32;return(function(){var _0x7c8661=_0x3c32;if(typeof ArrayBuffer==_0x7c8661(0x277)){var _0x1bebd3=_0x1b4311,_0x147e4d=_0x1bebd3[_0x7c8661(0x15c)],_0x1c8236=_0x147e4d[_0x7c8661(0x186)],_0x2672ae=_0x1c8236['init'],_0xe98576=_0x1c8236[_0x7c8661(0x245)]=function(_0x55e8d8){var _0x3a8a73=_0x7c8661;if(_0x55e8d8 instanceof ArrayBuffer&&(_0x55e8d8=new Uint8Array(_0x55e8d8)),(_0x55e8d8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x55e8d8 instanceof Uint8ClampedArray||_0x55e8d8 instanceof Int16Array||_0x55e8d8 instanceof Uint16Array||_0x55e8d8 instanceof Int32Array||_0x55e8d8 instanceof Uint32Array||_0x55e8d8 instanceof Float32Array||_0x55e8d8 instanceof Float64Array)&&(_0x55e8d8=new Uint8Array(_0x55e8d8[_0x3a8a73(0x328)],_0x55e8d8['byteOffset'],_0x55e8d8['byteLength'])),_0x55e8d8 instanceof Uint8Array){for(var _0x5d24b1=_0x55e8d8['byteLength'],_0x141fe5=[],_0x15a66f=0x0;_0x15a66f<_0x5d24b1;_0x15a66f++)_0x141fe5[_0x15a66f>>>0x2]|=_0x55e8d8[_0x15a66f]<<0x18-_0x15a66f%0x4*0x8;_0x2672ae[_0x3a8a73(0x34c)](this,_0x141fe5,_0x5d24b1);}else _0x2672ae['apply'](this,arguments);};_0xe98576[_0x7c8661(0x150)]=_0x1c8236;}}()),_0x1b4311[_0x28ef18(0x15c)][_0x28ef18(0x186)];}));}(Ze)),Ze[_0x3be939(0xc3)];}var Dn=bn();const yn=$e(Dn);var Qe={'exports':{}},Un=Qe[_0x4328bf(0xc3)],ni;function An(){var _0x46c242=_0x4328bf;return ni||(ni=0x1,function(_0x4063ca,_0x3c6641){(function(_0x2beab4,_0xd39aaf,_0x3009fa){_0x4063ca['exports']=_0xd39aaf(ie(),Ni());}(Un,function(_0x41bb50){var _0x2faeb9=_0x3c32;return _0x41bb50[_0x2faeb9(0x2b8)][_0x2faeb9(0x272)]={'pad':function(){},'unpad':function(){}},_0x41bb50[_0x2faeb9(0x2b8)][_0x2faeb9(0x272)];}));}(Qe)),Qe[_0x46c242(0xc3)];}var Pn=An();const wn=$e(Pn);function Mn(_0x1d55d3,_0xf26557){var _0x3e9de9=_0x4328bf;const _0x8bae32=_0xf26557-_0x1d55d3[_0x3e9de9(0x384)]%_0xf26557,_0x2d03ac=String[_0x3e9de9(0x2ce)](_0x8bae32)[_0x3e9de9(0x2cb)](_0x8bae32);return _0x1d55d3+_0x2d03ac;}function Ln(_0x4340f0,_0x24cc37){var _0x4d5b61=_0x4328bf;const _0x4aa30d=yn[_0x4d5b61(0x21a)](0x10),_0x429cb6=Mn(_0x4340f0,0x10),_0x2872d1=Sn[_0x4d5b61(0x156)](Cn[_0x4d5b61(0x2c6)](_0x429cb6),ti['parse'](_0x24cc37),{'iv':_0x4aa30d,'padding':wn});return _0x4aa30d[_0x4d5b61(0x188)](_0x2872d1[_0x4d5b61(0x365)])[_0x4d5b61(0xbe)](ti);}function xn(){var _0x300362=_0x4328bf;const _0x15a0ea=_0x65d93f()[_0x300362(0x192)];if(_0x15a0ea){const _0x3bcb26={'time':Math[_0x300362(0x390)](Date[_0x300362(0x364)]()/0x3e8),'domain':location[_0x300362(0x292)]};return Ln(JSON[_0x300362(0xe2)](_0x3bcb26),_0x15a0ea);}}var kn=Object[_0x4328bf(0x10e)],$n=(_0x441a9c,_0x16af17,_0x2b466e,_0x1072e8)=>{var _0x5187d=_0x4328bf;for(var _0xcc0d2b=_0x1072e8>0x1?void 0x0:_0x1072e8?kn(_0x16af17,_0x2b466e):_0x16af17,_0x581f5d=_0x441a9c[_0x5187d(0x384)]-0x1,_0x2504ec;_0x581f5d>=0x0;_0x581f5d--)(_0x2504ec=_0x441a9c[_0x581f5d])&&(_0xcc0d2b=_0x2504ec(_0xcc0d2b)||_0xcc0d2b);return _0xcc0d2b;},Hn=(_0x46b12a,_0x11f0ad)=>(_0x5b59b9,_0x2c3cea)=>_0x11f0ad(_0x5b59b9,_0x2c3cea,_0x46b12a);let at=class{constructor(_0x1ca4b3){var _0x1962dd=_0x4328bf;this[_0x1962dd(0x201)]=_0x1ca4b3,this['_initRequestHeader']();}[_0x4328bf(0xfa)](){var _0x44c680=_0x4328bf;this['_httpService'][_0x44c680(0x325)]({'interceptor':(_0x4a9f32,_0x158f35)=>{var _0x3956af=_0x44c680;const _0x129ced=_0x4a9f32['headers'],_0x43991d=xn();return _0x43991d&&_0x129ced[_0x3956af(0x27f)](_0x3956af(0x3c7),_0x43991d),_0x158f35(_0x4a9f32);}});}};at=$n([Hn(0x0,_0x1dda19(_0xd0787f))],at);var Bn=Object[_0x4328bf(0x10e)],Fn=(_0x4a8649,_0xa4b77,_0x42c368,_0x21d271)=>{var _0xea6422=_0x4328bf;for(var _0x512cdf=_0x21d271>0x1?void 0x0:_0x21d271?Bn(_0xa4b77,_0x42c368):_0xa4b77,_0x170026=_0x4a8649[_0xea6422(0x384)]-0x1,_0x5682f6;_0x170026>=0x0;_0x170026--)(_0x5682f6=_0x4a8649[_0x170026])&&(_0x512cdf=_0x5682f6(_0x512cdf)||_0x512cdf);return _0x512cdf;},vt=(_0xf29a3e,_0x3d30e8)=>(_0x2bd738,_0x4bcdfe)=>_0x3d30e8(_0x2bd738,_0x4bcdfe,_0xf29a3e);let Ot=class extends _0x276e6a{constructor(_0x283bb2,_0x4f1d91,_0x4a373d){var _0x137b2d=_0x4328bf;super(),D(this,_0x137b2d(0x2bf),new _0x39c092(null)),D(this,_0x137b2d(0x226),this[_0x137b2d(0x2bf)]['asObservable']()),(this[_0x137b2d(0x259)]=_0x283bb2,this[_0x137b2d(0x208)]=_0x4f1d91,this[_0x137b2d(0x1ed)]=_0x4a373d);}async['loadUnitOfRevision'](_0x4d9c8d,_0x2eb1d5,_0x1ab745){var _0x38b1d8=_0x4328bf;this[_0x38b1d8(0x2bf)][_0x38b1d8(0x36e)]({'unitId':_0x4d9c8d,'type':_0x2eb1d5});let _0x489eb2=null;switch(_0x2eb1d5){case Q[_0x38b1d8(0xc6)]:{_0x489eb2=await this[_0x38b1d8(0x208)]['loadSheet'](_0x4d9c8d,_0x1ab745);break;}case Q[_0x38b1d8(0x268)]:{_0x489eb2=await this[_0x38b1d8(0x208)][_0x38b1d8(0xfb)](_0x4d9c8d,_0x1ab745);break;}default:{this[_0x38b1d8(0x259)][_0x38b1d8(0x1a1)]('[DataLoaderService]',_0x38b1d8(0x302));break;}}return _0x489eb2;}async[_0x4328bf(0x2ff)](_0x189939,_0x1346af,_0x5dc44f){var _0x2ebd51=_0x4328bf,_0x53d9d2;this[_0x2ebd51(0x2bf)]['next']({'unitId':_0x189939,'type':_0x1346af,'subUnitId':_0x5dc44f});let _0x2efe49=0x0;const _0x110bd0=await((_0x53d9d2=this['_localCacheService'])==null?void 0x0:_0x53d9d2['loadOfflineData'](_0x189939));return _0x110bd0&&(_0x110bd0['awaitingChangeset']||_0x110bd0[_0x2ebd51(0x288)][_0x2ebd51(0x384)]!==0x0)&&(_0x2efe49=_0x110bd0['rev']),_0x2efe49===0x0&&this[_0x2ebd51(0x259)][_0x2ebd51(0x2c5)](_0x2ebd51(0x35d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2ebd51(0x368)](_0x189939,_0x1346af,_0x2efe49);}};Ot=Fn([vt(0x0,_0x1d1a3b),vt(0x1,_0x1dda19(_0x33eb54)),vt(0x2,_0x334ec4(J))],Ot);var jn=Object[_0x4328bf(0x10e)],Vn=(_0x5109ea,_0x5bd5bf,_0x45e388,_0x2a52e7)=>{for(var _0x3e758c=_0x2a52e7>0x1?void 0x0:_0x2a52e7?jn(_0x5bd5bf,_0x45e388):_0x5bd5bf,_0x4a0b2e=_0x5109ea['length']-0x1,_0x2d7e02;_0x4a0b2e>=0x0;_0x4a0b2e--)(_0x2d7e02=_0x5109ea[_0x4a0b2e])&&(_0x3e758c=_0x2d7e02(_0x3e758c)||_0x3e758c);return _0x3e758c;},pt=(_0x375c1d,_0x2076a0)=>(_0x283bae,_0x4b237f)=>_0x2076a0(_0x283bae,_0x4b237f,_0x375c1d);const Gn=[_0x4328bf(0x3b3),_0x4328bf(0x1c1),'image/jpg',_0x4328bf(0x2fe),_0x4328bf(0x13f)],Wn=0x5*0x400*0x400,Yn='/universer-api/stream/file/upload',Kn=_0x4328bf(0x102);let Rt=class{constructor(_0x1c5794,_0x2f3a41,_0x4e7a75){var _0x5ed15f=_0x4328bf;D(this,_0x5ed15f(0xc4),0x0),D(this,_0x5ed15f(0x153),new _0x37fbef()),D(this,_0x5ed15f(0x2d3),this[_0x5ed15f(0x153)]),D(this,'_imageSourceCache',new Map()),(this[_0x5ed15f(0x201)]=_0x1c5794,this[_0x5ed15f(0x18e)]=_0x2f3a41,this[_0x5ed15f(0x2f5)]=_0x4e7a75);}[_0x4328bf(0x13d)](_0x36ed25){var _0x99af6c=_0x4328bf;this[_0x99af6c(0xc4)]=_0x36ed25,this[_0x99af6c(0x153)][_0x99af6c(0x36e)](_0x36ed25);}[_0x4328bf(0x118)](_0x16887e,_0x5ef3a4){var _0x584db7=_0x4328bf;if(_0x5ef3a4===_0x1a396d[_0x584db7(0x3d6)]){const _0x1ab0b2=new Image();return _0x1ab0b2['src']=_0x16887e,_0x1ab0b2;}return this[_0x584db7(0xbb)][_0x584db7(0x136)](_0x16887e);}['addImageSourceCache'](_0x3cc7d0,_0x3e7d64,_0x506305){var _0x319dd1=_0x4328bf;_0x3e7d64===_0x1a396d[_0x319dd1(0x3d6)]||_0x506305==null||this[_0x319dd1(0xbb)]['set'](_0x3cc7d0,_0x506305);}async['getImage'](_0x206355){var _0x3df174=_0x4328bf;try{const _0x9798c4=this['_replaceFileID'](this[_0x3df174(0x389)](),''+_0x206355),_0x371df8=(await this['_httpService'][_0x3df174(0x136)](_0x9798c4))[_0x3df174(0x360)];if(_0x371df8[_0x3df174(0x1a1)]&&_0x371df8[_0x3df174(0x1a1)][_0x3df174(0x12e)]===vi['OK']){const _0x15ccf5=new URL(_0x371df8['url'],this[_0x3df174(0x370)]())[_0x3df174(0xbe)]();return Promise[_0x3df174(0x3bf)](_0x15ccf5);}return Promise['reject'](_0x371df8[_0x3df174(0x1a1)]);}catch(_0x278fce){return Promise['reject'](_0x278fce);}}async['saveImage'](_0x4d5b3c){var _0x56c689=_0x4328bf;let _0x5c8aff='';if(!Gn[_0x56c689(0x169)](_0x4d5b3c[_0x56c689(0x12f)]))return this[_0x56c689(0x14a)](),Promise[_0x56c689(0x30a)](new Error(_0x49cb6d[_0x56c689(0x347)]));if(_0x4d5b3c[_0x56c689(0x1de)]>Wn)return this[_0x56c689(0x14a)](),Promise[_0x56c689(0x30a)](new Error(_0x49cb6d['ERROR_EXCEED_SIZE']));try{const _0xb2a475=new FormData();_0xb2a475[_0x56c689(0x20d)](_0x56c689(0x3a2),_0x4d5b3c);const _0x518bfb=this[_0x56c689(0x2f5)][_0x56c689(0xd3)](),_0xcef903=_0x518bfb==null?void 0x0:_0x518bfb[_0x56c689(0x306)]();if(!_0xcef903)throw new Error(_0x56c689(0x181));const _0x4400c9=this[_0x56c689(0xd0)]()+_0x56c689(0x15a)+_0x4d5b3c[_0x56c689(0x1de)][_0x56c689(0xbe)]()+_0x56c689(0x385)+pi[_0x56c689(0x1df)]+_0x56c689(0x39f)+encodeURIComponent(_0xcef903),_0x2357af={'body':_0xb2a475},_0x29677b=(await this['_httpService'][_0x56c689(0x283)](_0x4400c9,_0x2357af))['body'];if(typeof _0x29677b['FileId']!=_0x56c689(0x242))return this[_0x56c689(0x14a)](),Promise['reject'](new Error(_0x49cb6d[_0x56c689(0x205)]));_0x5c8aff=_0x29677b['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x56c689(0x30a)](new Error(_0x49cb6d[_0x56c689(0x205)]));}return new Promise((_0x47e87c,_0x130326)=>{var _0x2db8ea=_0x56c689;const _0x26e305=new FileReader();_0x26e305[_0x2db8ea(0x296)](_0x4d5b3c),_0x26e305[_0x2db8ea(0x322)]=_0x45e383=>{var _0x26f317=_0x2db8ea,_0x2b1dde;const _0x4a558c=(_0x2b1dde=_0x45e383[_0x26f317(0x154)])==null?void 0x0:_0x2b1dde[_0x26f317(0x265)];if(_0x4a558c==null){this[_0x26f317(0x14a)](),_0x130326(new Error(_0x49cb6d['ERROR_IMAGE']));return;}const _0x205c28=_0x5dc9b0(0x6);_0x47e87c({'imageId':_0x205c28,'imageSourceType':_0x1a396d[_0x26f317(0x171)],'source':_0x5c8aff,'base64Cache':_0x4a558c,'status':_0x49cb6d['SUCCUSS']}),this[_0x26f317(0x14a)]();};});}[_0x4328bf(0xd0)](){var _0x1b8313=_0x4328bf,_0x3f5b8c;const _0x5a3517=this[_0x1b8313(0x18e)][_0x1b8313(0x2b0)](K);return(_0x3f5b8c=_0x5a3517==null?void 0x0:_0x5a3517[_0x1b8313(0x200)])!=null?_0x3f5b8c:Yn;}['_getSignURL'](){var _0x3596ad=_0x4328bf,_0x1ca6fb;const _0x8d2747=this[_0x3596ad(0x18e)][_0x3596ad(0x2b0)](K);return(_0x1ca6fb=_0x8d2747==null?void 0x0:_0x8d2747[_0x3596ad(0xfd)])!=null?_0x1ca6fb:Kn;}[_0x4328bf(0x370)](){var _0x18b401=_0x4328bf,_0x5a431a;const _0x41436e=this[_0x18b401(0x18e)][_0x18b401(0x2b0)](K);return(_0x5a431a=_0x41436e==null?void 0x0:_0x41436e[_0x18b401(0x284)])!=null?_0x5a431a:location['origin'];}[_0x4328bf(0x2cc)](_0x2caeda,_0x3318f9){var _0x1cdea9=_0x4328bf;return _0x2caeda['replace'](_0x1cdea9(0x121),_0x3318f9);}['_decreaseWaiting'](){var _0xf16c15=_0x4328bf;this['_waitCount']-=0x1,this[_0xf16c15(0x153)][_0xf16c15(0x36e)](this['_waitCount']);}};Rt=Vn([pt(0x0,_0x1dda19(_0xd0787f)),pt(0x1,_0x53068b),pt(0x2,_0x1dda19(_0x49e0a6))],Rt);var qn=Object[_0x4328bf(0x10e)],zn=(_0x59de72,_0x2c84d4,_0x365148,_0x5a808f)=>{var _0x1940e5=_0x4328bf;for(var _0x1c56e7=_0x5a808f>0x1?void 0x0:_0x5a808f?qn(_0x2c84d4,_0x365148):_0x2c84d4,_0x5675db=_0x59de72[_0x1940e5(0x384)]-0x1,_0x59d473;_0x5675db>=0x0;_0x5675db--)(_0x59d473=_0x59de72[_0x5675db])&&(_0x1c56e7=_0x59d473(_0x1c56e7)||_0x1c56e7);return _0x1c56e7;},ri=(_0x212f04,_0x124a2c)=>(_0xaf6c3d,_0x45738d)=>_0x124a2c(_0xaf6c3d,_0x45738d,_0x212f04);const Jn='/universer-api/authz';let Ct=class{constructor(_0x2337bf,_0xdb2967){var _0x3c0df6=_0x4328bf;this[_0x3c0df6(0x18e)]=_0x2337bf,this['_HTTPService']=_0xdb2967;}['_getAPIPrefixPath'](){var _0x57b0a4=_0x4328bf,_0x1d141c;const _0x17b24c=this['_configService']['getConfig'](K);return(_0x1d141c=_0x17b24c==null?void 0x0:_0x17b24c[_0x57b0a4(0x108)])!=null?_0x1d141c:Jn;}async[_0x4328bf(0x244)](_0x5365a3){var _0xf3a350=_0x4328bf;const _0x2d7f19=this[_0xf3a350(0x3c0)]()+_0xf3a350(0x29d);return{'list':[{'title':_0xf3a350(0x30f),'mentions':(await this[_0xf3a350(0x358)][_0xf3a350(0x136)](_0x2d7f19,{'params':{'objectID':_0x5365a3[_0xf3a350(0x223)],'unitID':_0x5365a3['unitId']}}))[_0xf3a350(0x360)]['collaborators'][_0xf3a350(0x2ee)](_0x137566=>({'objectId':_0x137566['id'],'name':_0x137566[_0xf3a350(0x1ba)][_0xf3a350(0x35e)],'metadata':{'icon':_0x137566[_0xf3a350(0x1ba)]['avatar']},'label':_0x137566[_0xf3a350(0x1ba)][_0xf3a350(0x35e)],'objectType':_0x5d05e3[_0xf3a350(0x3af)]})),'metadata':{},'type':_0x5d05e3[_0xf3a350(0x3af)]}]};}};Ct=zn([ri(0x0,_0x1dda19(_0x53068b)),ri(0x1,_0x1dda19(_0xd0787f))],Ct);var Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x194e5f,_0x33ebdd,_0x3c7ba5,_0x34d318)=>{var _0x3cf0bf=_0x4328bf;for(var _0x98fc1d=_0x34d318>0x1?void 0x0:_0x34d318?Xn(_0x33ebdd,_0x3c7ba5):_0x33ebdd,_0x3573e7=_0x194e5f[_0x3cf0bf(0x384)]-0x1,_0x136c64;_0x3573e7>=0x0;_0x3573e7--)(_0x136c64=_0x194e5f[_0x3573e7])&&(_0x98fc1d=_0x136c64(_0x98fc1d)||_0x98fc1d);return _0x98fc1d;},Ue=(_0x46a322,_0x5e3cff)=>(_0x3fa19e,_0x32f75f)=>_0x5e3cff(_0x3fa19e,_0x32f75f,_0x46a322);let ot=class extends _0x276e6a{constructor(_0x34c9fe,_0x1e5b12,_0x579682,_0x295e8e,_0x238768){var _0x53bde6=_0x4328bf;super(),this[_0x53bde6(0x12c)]=_0x34c9fe,this[_0x53bde6(0x2f5)]=_0x1e5b12,this[_0x53bde6(0x105)]=_0x579682,this['_collaborationSessionService']=_0x295e8e,this[_0x53bde6(0xdf)]=_0x238768,this['_initUnitPermissionChange'](),this[_0x53bde6(0x2cd)]();}['_initCloseConn'](){var _0x138025=_0x4328bf;const _0x7fbfbf=async _0x120900=>{var _0x1ee1e2=_0x3c32;(await this[_0x1ee1e2(0x2bc)][_0x1ee1e2(0x3a9)](_0x120900))[_0x1ee1e2(0x2e5)][_0x1ee1e2(0x26f)](_0x1e7c80(_0x2db83b=>_0x2db83b['eventID']===_0x5d996f[_0x1ee1e2(0x342)]),_0xff1faa(this[_0x1ee1e2(0x248)]))[_0x1ee1e2(0x252)](_0x24f537=>{var _0xf931ac=_0x1ee1e2;const _0x20f0b9=_0x24f537,{reason:_0x2457d4}=_0x20f0b9['data'];this['_collaborationUIEventService'][_0xf931ac(0x3bb)]({'id':re[_0xf931ac(0x2d2)],'data':_0x2457d4}),this[_0xf931ac(0x105)][_0xf931ac(0x115)](new _0x104c5b(_0x120900)['id'],!0x1),this[_0xf931ac(0x2bc)][_0xf931ac(0xf5)](_0x120900);});};_0x4ad722(this[_0x138025(0x2f5)]['getTypeOfUnitAdded$'](_0xa25e24[_0x138025(0xc6)]),this[_0x138025(0x2f5)]['getTypeOfUnitAdded$'](_0xa25e24[_0x138025(0x268)]))['pipe'](_0x48e852(_0x53878a=>_0x53878a['getUnitId']()),_0x1e7c80(_0x462d2b=>!_0x3aaba5(_0x462d2b)),_0xff1faa(this['dispose$']))[_0x138025(0x252)](_0x2c0c4e=>{_0x7fbfbf(_0x2c0c4e);});}[_0x4328bf(0x3d2)](){var _0x1777a0=_0x4328bf;const _0x13a8c8=async _0x3d2c61=>{var _0x588c86=_0x3c32;const _0x20ea63=await this[_0x588c86(0x2bc)][_0x588c86(0x3a9)](_0x3d2c61),_0x1f9494=this[_0x588c86(0x12c)]['get'](_0x12d481);_0x20ea63[_0x588c86(0x2e5)][_0x588c86(0x26f)](_0x1e7c80(_0x5c9d52=>_0x5c9d52[_0x588c86(0x1dd)]===_0x5d996f[_0x588c86(0x1d5)]),_0xff1faa(this['dispose$']))[_0x588c86(0x252)](_0x35dbeb=>{var _0x443798=_0x588c86;const _0x56edd2=_0x35dbeb,{objectId:_0x97df72}=_0x56edd2[_0x443798(0x334)];_0x97df72===_0x3d2c61?_0x1f9494[_0x443798(0x1b9)](_0x3d2c61):_0x1f9494[_0x443798(0x140)](_0x3d2c61,_0x97df72);});};_0x4ad722(this['_univerInstanceService'][_0x1777a0(0x2c9)](_0xa25e24['UNIVER_SHEET']))[_0x1777a0(0x26f)](_0x48e852(_0x521443=>_0x521443['getUnitId']()),_0x1e7c80(_0x5b673a=>!_0x3aaba5(_0x5b673a)),_0xff1faa(this[_0x1777a0(0x248)]))[_0x1777a0(0x252)](_0x165d4f=>{_0x13a8c8(_0x165d4f);});}};ot=Zn([Ue(0x0,_0x1dda19(_0xee3a85)),Ue(0x1,_0x49e0a6),Ue(0x2,_0xf19167),Ue(0x3,_0x1dda19(we)),Ue(0x4,_0x1dda19(ve))],ot);var Qn=Object['getOwnPropertyDescriptor'],er=(_0x1bb0b3,_0x12169d,_0x25ee43,_0x531e09)=>{var _0x54574f=_0x4328bf;for(var _0x586977=_0x531e09>0x1?void 0x0:_0x531e09?Qn(_0x12169d,_0x25ee43):_0x12169d,_0x4ea87e=_0x1bb0b3[_0x54574f(0x384)]-0x1,_0x1f7cfd;_0x4ea87e>=0x0;_0x4ea87e--)(_0x1f7cfd=_0x1bb0b3[_0x4ea87e])&&(_0x586977=_0x1f7cfd(_0x586977)||_0x586977);return _0x586977;},ai=(_0x4e315d,_0x2acbd8)=>(_0x34a20f,_0x33c1c6)=>_0x2acbd8(_0x34a20f,_0x33c1c6,_0x4e315d);let Nt=class{constructor(_0x1e4bad,_0x16f27a){var _0x2373d6=_0x4328bf;this[_0x2373d6(0x18e)]=_0x1e4bad,this[_0x2373d6(0x201)]=_0x16f27a;}async[_0x4328bf(0x210)](_0x2e2a15,_0x2b3b23){var _0x4cdc86=_0x4328bf,_0x339aa0;const {unitID:_0x2382f3,type:_0x2a85e9,revision:_0xe6500f=0x0}=_0x2b3b23,_0x394fe2=this[_0x4cdc86(0x209)]()+'/'+_0x2a85e9+'/unit/'+_0x2382f3+_0x4cdc86(0x1e3)+_0xe6500f,_0xf6c379=(await this[_0x4cdc86(0x201)][_0x4cdc86(0x136)](_0x394fe2))[_0x4cdc86(0x360)],_0x2d31d7=(_0x339aa0=_0xf6c379['snapshot'])==null?void 0x0:_0x339aa0[_0x4cdc86(0x319)];if(_0x2d31d7){const _0x3180a4=_0x2d31d7==null?void 0x0:_0x2d31d7['originalMeta'],_0x12d9be=_0x6338c9['encode'](_0x3943bc(_0x3180a4));_0x2d31d7[_0x4cdc86(0x29e)]=_0x12d9be,Object[_0x4cdc86(0x33a)](_0x2d31d7[_0x4cdc86(0x308)])[_0x4cdc86(0x1ef)](([,_0x1d1fb4])=>{var _0x4a3343=_0x4cdc86;const _0x3386ee=_0x1d1fb4[_0x4a3343(0x29e)],_0xdb14e1=_0x6338c9[_0x4a3343(0x17e)](_0x3943bc(_0x3386ee));_0x1d1fb4[_0x4a3343(0x29e)]=_0xdb14e1;});}return _0xf6c379;}async[_0x4328bf(0x1f3)](_0xd2cbf3,_0x49c97b){var _0x985330=_0x4328bf;const {unitID:_0x2a5c42,type:_0x2f82de,blockID:_0x3ad5db}=_0x49c97b,_0x23cda2=this[_0x985330(0x11d)]()+'/'+_0x2f82de+_0x985330(0x38f)+_0x2a5c42+_0x985330(0x2b2)+_0x3ad5db;return(await this[_0x985330(0x201)]['get'](_0x23cda2))[_0x985330(0x360)];}async[_0x4328bf(0xba)](_0x43156c,_0x35f715){var _0x5bdfbe=_0x4328bf;const {unitID:_0x247fd7,type:_0x583866,blockID:_0x1f1f90}=_0x35f715,_0x48af2c=this[_0x5bdfbe(0x11d)]()+'/block/'+_0x583866+_0x5bdfbe(0x38f)+_0x247fd7+'/block/'+_0x1f1f90;return(await this[_0x5bdfbe(0x201)][_0x5bdfbe(0x136)](_0x48af2c))['body'];}async[_0x4328bf(0xe5)](_0xf021ee,_0x21550e){var _0x2732da=_0x4328bf;const {unitID:_0x47f4a1,type:_0xf5422d,from:_0x42d807,to:_0x55f9d7}=_0x21550e,_0x24d14a=this[_0x2732da(0x11d)]()+'/'+_0xf5422d+'/unit/'+_0x47f4a1+_0x2732da(0x11a)+_0x42d807+_0x2732da(0x1be)+_0x55f9d7;return(await this[_0x2732da(0x201)][_0x2732da(0x136)](_0x24d14a))['body'];}['getSnapshotAPIPath'](){var _0x9f91a2=_0x4328bf,_0x4380b5;return(_0x4380b5=this[_0x9f91a2(0x18e)]['getConfig'](vs))!=null?_0x4380b5:this[_0x9f91a2(0x11d)]();}['_getAPIPrefix'](){var _0xe07a77=_0x4328bf,_0x3c8765;const _0xa2100f=this[_0xe07a77(0x18e)][_0xe07a77(0x2b0)](K);return(_0x3c8765=_0xa2100f==null?void 0x0:_0xa2100f[_0xe07a77(0x25c)])!=null?_0x3c8765:fs;}async[_0x4328bf(0x13b)](_0x424e5b,_0x1af37b){var _0x359432=_0x4328bf;const _0x32deff='/universer-api/snapshot/'+_0x1af37b[_0x359432(0x12f)]+_0x359432(0x38f)+_0x1af37b[_0x359432(0xf7)]+_0x359432(0x174);return(await this[_0x359432(0x201)][_0x359432(0x136)](_0x32deff,{'params':{'resourceId':JSON['stringify'](_0x1af37b['resourceIDs'])}}))['body'];}[_0x4328bf(0x15d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4328bf(0x2f7)](){var _0x4f75f3=_0x4328bf;throw new Error(_0x4f75f3(0x331));}[_0x4328bf(0x314)](){var _0x994ed7=_0x4328bf;throw new Error(_0x994ed7(0x331));}[_0x4328bf(0x1f9)](){var _0x4b9b95=_0x4328bf;throw new Error(_0x4b9b95(0x331));}[_0x4328bf(0x24f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4328bf(0x10f)](){var _0x54e7b1=_0x4328bf;throw new Error(_0x54e7b1(0x331));}};Nt=er([ai(0x0,_0x53068b),ai(0x1,_0x1dda19(_0xd0787f))],Nt);var tr=Object[_0x4328bf(0x10e)],ir=(_0x1f49cf,_0x281eaf,_0x1721a1,_0x3421b7)=>{for(var _0x5aea34=_0x3421b7>0x1?void 0x0:_0x3421b7?tr(_0x281eaf,_0x1721a1):_0x281eaf,_0x144913=_0x1f49cf['length']-0x1,_0x38886c;_0x144913>=0x0;_0x144913--)(_0x38886c=_0x1f49cf[_0x144913])&&(_0x5aea34=_0x38886c(_0x5aea34)||_0x5aea34);return _0x5aea34;},Ae=(_0x335c5e,_0x43a864)=>(_0x28121f,_0x4fc3a3)=>_0x43a864(_0x28121f,_0x4fc3a3,_0x335c5e);let bt=class extends _0x14f28e{constructor(_0x2a2da8,_0x1cad4f,_0x5f3fe8,_0x33ffa6,_0x77c29a){var _0x57ceda=_0x4328bf;super(_0x2a2da8,_0x1cad4f,_0x5f3fe8),this[_0x57ceda(0x1eb)]=_0x33ffa6,this[_0x57ceda(0x259)]=_0x77c29a;}['transformUndoRedo'](_0x117e7c,_0x5da6f3){var _0x20adce=_0x4328bf;const _0x3de71d=this[_0x20adce(0x1d6)](_0x117e7c);if(_0x3de71d)try{const _0x349298=this[_0x20adce(0x21f)](_0x3de71d,_0x5da6f3);this[_0x20adce(0x2eb)](_0x117e7c,_0x349298);}catch(_0x1716b5){this[_0x20adce(0x259)]['error'](_0x20adce(0x104),_0x1716b5),this[_0x20adce(0x2ba)](_0x117e7c);}const _0x2a02e9=this[_0x20adce(0x32d)](_0x117e7c);if(_0x2a02e9)try{const _0x2d8217=this[_0x20adce(0x21f)](_0x2a02e9,_0x5da6f3);this[_0x20adce(0x19f)](_0x117e7c,_0x2d8217);}catch(_0xab4da6){this[_0x20adce(0x259)]['error'](_0xab4da6),this[_0x20adce(0x323)](_0x117e7c);}}[_0x4328bf(0x2ba)](_0x2b8853){var _0x25e0a6=_0x4328bf;const _0x1aabf1=this[_0x25e0a6(0x1d6)](_0x2b8853);_0x1aabf1&&(_0x1aabf1['length']=0x0,this['_updateStatus']());}[_0x4328bf(0x323)](_0x46950b){var _0x306126=_0x4328bf;const _0xd0c2ef=this[_0x306126(0x32d)](_0x46950b);_0xd0c2ef&&(_0xd0c2ef['length']=0x0,this['_updateStatus']());}[_0x4328bf(0x2eb)](_0x2f432a,_0x307708){var _0x5ab263=_0x4328bf;this['_undoStacks'][_0x5ab263(0x27f)](_0x2f432a,_0x307708),this[_0x5ab263(0x17b)]();}[_0x4328bf(0x19f)](_0x5c23ef,_0x6d3424){var _0x92962f=_0x4328bf;this[_0x92962f(0x30d)][_0x92962f(0x27f)](_0x5c23ef,_0x6d3424),this[_0x92962f(0x17b)]();}[_0x4328bf(0x21f)](_0x13a2b4,_0x281bc1){var _0x397073=_0x4328bf;const _0x1b47db=[];let _0x553fc9=_0x281bc1,_0x176447=_0x281bc1;for(let _0x335834=_0x13a2b4[_0x397073(0x384)]-0x1;_0x335834>=0x0;_0x335834--){const {unitID:_0x3df7f8,undoMutations:_0x38a32f,redoMutations:_0x2bcc73}=_0x13a2b4[_0x335834],_0x57a1e2=this[_0x397073(0x1eb)][_0x397073(0x30c)](_0x553fc9,_0x38a32f),_0x5a4d52=this[_0x397073(0x1eb)]['transformMutationsWithChangeset'](_0x176447,_0x2bcc73);if(_0xbaebf9(_0x57a1e2)||_0xbaebf9(_0x5a4d52)){this[_0x397073(0x259)][_0x397073(0x1a1)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x57a1e2,_0x5a4d52);break;}_0x553fc9=_0x57a1e2['c1Prime'],_0x176447=_0x5a4d52['c1Prime'],_0x1b47db['push']({'unitID':_0x3df7f8,'undoMutations':_0x57a1e2[_0x397073(0x3ba)],'redoMutations':_0x5a4d52[_0x397073(0x3ba)]});}return _0x1b47db['reverse']();}};bt=ir([Ae(0x0,_0x49e0a6),Ae(0x1,_0x446ca0),Ae(0x2,_0x1d4060),Ae(0x3,_0x1b3d1f),Ae(0x4,_0x1d1a3b)],bt);var sr=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],rr=(_0x2f3402,_0x268e86,_0x586de2)=>_0x268e86 in _0x2f3402?sr(_0x2f3402,_0x268e86,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x586de2}):_0x2f3402[_0x268e86]=_0x586de2,ar=(_0x2a1c14,_0x14474f,_0x50c939,_0xa66602)=>{var _0x451ad2=_0x4328bf;for(var _0x415117=_0xa66602>0x1?void 0x0:_0xa66602?nr(_0x14474f,_0x50c939):_0x14474f,_0x4ba589=_0x2a1c14[_0x451ad2(0x384)]-0x1,_0x2b0096;_0x4ba589>=0x0;_0x4ba589--)(_0x2b0096=_0x2a1c14[_0x4ba589])&&(_0x415117=_0x2b0096(_0x415117)||_0x415117);return _0x415117;},Et=(_0x5d5704,_0x2ad6e8)=>(_0xd16e8d,_0x3076f6)=>_0x2ad6e8(_0xd16e8d,_0x3076f6,_0x5d5704),or=(_0x1bb6a4,_0x5739b7,_0x1b46c8)=>rr(_0x1bb6a4,_0x5739b7+'',_0x1b46c8);const cr=_0x4328bf(0x2aa);let Dt=class extends _0x1ba728{constructor(_0x3614e1,_0x289e6a,_0x2abeb0,_0xccf2f0){var _0x2a70c4=_0x4328bf;super(),D(this,_0x2a70c4(0x37e)),(this['_logService']=_0x289e6a,this['_injector']=_0x2abeb0,this[_0x2a70c4(0x18e)]=_0xccf2f0);const {..._0x2a3f60}=_0x42ac59({},Ls,_0x3614e1);if(!_0x2a3f60[_0x2a70c4(0x356)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2a70c4(0x37e)]=_0x2a3f60,this[_0x2a70c4(0x18e)]['setConfig'](K,_0x2a3f60);}['onStarting'](){var _0x496def=_0x4328bf;this[_0x496def(0x1fe)](),this[_0x496def(0x27a)]();}[_0x4328bf(0x1fe)](){var _0x11b84f=_0x4328bf,_0x394679,_0x805327;this[_0x11b84f(0x12c)]['has'](_0x16cbab)&&this['_logService'][_0x11b84f(0x1a1)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x53a2dc=_0x19aada([[_0x16cbab,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x11b84f(0x37e)]['socketService']}],[_0x3da798,{'useClass':Nt}],[_0x2318bd,{'useClass':Tt}],[_0x4c0343,{'useClass':Rt}],[_0x2b884a,{'useClass':Ct}],[nt],[gt]],(_0x394679=this[_0x11b84f(0x37e)])==null?void 0x0:_0x394679[_0x11b84f(0x2da)]);if(!((_0x805327=this[_0x11b84f(0x37e)])!=null&&_0x805327[_0x11b84f(0x2fd)])){const _0x3c45f5=_0x53a2dc[_0x11b84f(0x2df)](([_0x2c4a32])=>_0x2c4a32===_t);_0x3c45f5!==-0x1&&_0x53a2dc[_0x11b84f(0x2c1)](_0x3c45f5,0x1);}_0x358d1a(this['_injector'],_0x53a2dc);}[_0x4328bf(0x27a)](){var _0x970adc=_0x4328bf,_0x481e9f,_0x3b5cd9,_0x38b938;this[_0x970adc(0x12c)]['get'](_0xd0787f)[_0x970adc(0x325)]({'priority':0x14,'interceptor':_0x39985f({'maxParallel':0x6})}),(_0x481e9f=this[_0x970adc(0x37e)])!=null&&_0x481e9f[_0x970adc(0xe3)]||(_0x3b5cd9=this[_0x970adc(0x12c)][_0x970adc(0x136)](J,_0x166dcf[_0x970adc(0x31f)]))==null||_0x3b5cd9['disableLocalCache'](),(_0x38b938=this[_0x970adc(0x37e)])!=null&&_0x38b938[_0x970adc(0x361)]&&_0x55b8d5(this[_0x970adc(0x12c)],[[rt]]),_0x55b8d5(this[_0x970adc(0x12c)],[[at],[nt],[ot]]);}};or(Dt,_0x4328bf(0x315),cr),Dt=ar([_0x352624(_0x40a049,_0x363f37),Et(0x1,_0x1d1a3b),Et(0x2,_0x1dda19(_0xee3a85)),Et(0x3,_0x53068b)],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,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
|
|
1
|
+
var _0x5032aa=_0x57d4;(function(_0xe57a69,_0x3a9ded){var _0x3efad4=_0x57d4,_0x5d4770=_0xe57a69();while(!![]){try{var _0x3e976c=-parseInt(_0x3efad4(0x267))/0x1+-parseInt(_0x3efad4(0x2c7))/0x2+-parseInt(_0x3efad4(0x15a))/0x3+parseInt(_0x3efad4(0x298))/0x4+parseInt(_0x3efad4(0x295))/0x5+parseInt(_0x3efad4(0x3a9))/0x6*(parseInt(_0x3efad4(0x30d))/0x7)+parseInt(_0x3efad4(0xd5))/0x8*(parseInt(_0x3efad4(0x156))/0x9);if(_0x3e976c===_0x3a9ded)break;else _0x5d4770['push'](_0x5d4770['shift']());}catch(_0x15d1b6){_0x5d4770['push'](_0x5d4770['shift']());}}}(_0x2902,0x3e162));var bi=Object[_0x5032aa(0x1cb)],Di=(_0x357c0b,_0x232adf,_0x26950a)=>_0x232adf in _0x357c0b?bi(_0x357c0b,_0x232adf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26950a}):_0x357c0b[_0x232adf]=_0x26950a,D=(_0x1050b9,_0x4da46b,_0x338b3f)=>Di(_0x1050b9,typeof _0x4da46b!=_0x5032aa(0x370)?_0x4da46b+'':_0x4da46b,_0x338b3f);import{CollaborationEvent as _0x4f23c0,ITransformService as _0x27be8a,isTransformMutationsWithChangesetSuccess as _0xecfa81,mapDocumentTypeToUniverType as _0x350367,RevisionService as _0x5b729b,isTransformChangesetsSuccess as _0x42438c,EmptyMutationInfo as _0x5131a2,CompressMutationService as _0xaa1f9c,parseProtocolChangeset as _0x411df3,uuidv4 as _0x379a15,ISnapshotServerService as _0x5dfbce,parseChangesetToProtocol as _0x200b5d,SnapshotService as _0x172785,textEncoder as _0x4967ff,b64DecodeUnicode as _0x46e403,isTransformMutationsWithChangesetFailure as _0x480bc3,UniverCollaborationPlugin as _0xfe151c}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x4d04ef,Inject as _0x4299bc,UserManagerService as _0x5c49ee,Disposable as _0x189e92,UniverInstanceType as _0x274e5d,ILogService as _0x3340b7,IConfigService as _0x74c89b,Optional as _0x4ae93e,RxDisposable as _0x22e684,createIdentifier as _0x606720,Injector as _0x45b719,Tools as _0x3665b8,Rectangle as _0x13a611,ICommandService as _0x5eb88f,JSONX as _0x23f372,IUndoRedoService as _0x2e0be3,IPermissionService as _0x47dd41,LocaleService as _0x5a5559,sequenceExecute as _0x4d39b9,toDisposable as _0x526827,CommandType as _0x4e9b5a,DisposableCollection as _0xacf89d,Workbook as _0xfe2d5d,generateRandomId as _0x3c48f2,MentionType as _0x5ee92f,isInternalEditorID as _0x53852b,LocalUndoRedoService as _0x54fe24,IContextService as _0x1e4c94,DependentOn as _0x4d38b5,Plugin as _0xc89a4,merge as _0x5c7428,mergeOverrideWithDependencies as _0x52b963,IAuthzIoService as _0x29d8b4,IMentionIOService as _0x48aa39,registerDependencies as _0x3799f6,Quantity as _0x3d2e14,touchDependencies as _0x28cf3b}from'@univerjs/core';import{RichTextEditingMutation as _0x23fa5f}from'@univerjs/docs';import{SheetsSelectionsService as _0x337d71,SetSelectionsOperation as _0x518b8f,InsertSheetMutation as _0x3724ad,WorkbookEditablePermission as _0x5e428d,SheetPermissionInitController as _0x2d76d6}from'@univerjs/sheets';import{Subject as _0x35123a,merge as _0x1c0321,of as _0x1a8f26,BehaviorSubject as _0x58f842,takeUntil as _0x2a3e28,ReplaySubject as _0x5472a5,take as _0xb5abb6,map as _0x1b237d,shareReplay as _0x27a2ca,firstValueFrom as _0x9c4e86,concatMap as _0x814b11}from'rxjs';import{ITelemetryService as _0x574927}from'@univerjs/telemetry';import{map as _0x2ff8a7,take as _0x1c69fb,filter as _0x46b480,delay as _0x2831b1,takeUntil as _0x4702ca}from'rxjs/operators';import{HTTPService as _0x31e366,ISocketService as _0x54a032,MergeInterceptorFactory as _0xe4edef,HTTPRequest as _0x24a986,UniverNetworkPlugin as _0x365fb7,ThresholdInterceptorFactory as _0x2716a1}from'@univerjs/network';import{ImageSourceType as _0x3f0da9,ImageUploadStatusType as _0x30c194,IImageIoService as _0x434b39}from'@univerjs/drawing';import{getGlobalObject as _0x2645fa}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs='SNAPSHOT_URL_KEY',ps=0x7d0,Es=_0x5032aa(0x3cb),Sr=_0x5032aa(0x2b3),ms=_0x5032aa(0x26d),Is=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Ss=0x4e20,gs=_0x5032aa(0x34b),Ts=0x3,gr=_0x5032aa(0x1fd),Tr=0x3e8,Os=_0x5032aa(0x2d2),Rs=_0x5032aa(0x233),Or=_0x5032aa(0x17d),Rr=_0x5032aa(0x12a);var vi=(_0x3230e5=>(_0x3230e5[_0x3230e5[_0x5032aa(0x33a)]=0x0]=_0x5032aa(0x33a),_0x3230e5[_0x3230e5['OK']=0x1]='OK',_0x3230e5[_0x3230e5['INTERNAL_ERROR']=0x2]=_0x5032aa(0x1b4),_0x3230e5[_0x3230e5['PERMISSION_DENIED']=0x3]=_0x5032aa(0xe8),_0x3230e5[_0x3230e5[_0x5032aa(0x329)]=0x4]=_0x5032aa(0x329),_0x3230e5[_0x3230e5[_0x5032aa(0x376)]=0x5]=_0x5032aa(0x376),_0x3230e5[_0x3230e5[_0x5032aa(0x342)]=0x6]=_0x5032aa(0x342),_0x3230e5[_0x3230e5[_0x5032aa(0x300)]=0x7]=_0x5032aa(0x300),_0x3230e5[_0x3230e5['TOO_MANY_REQUESTS']=0x8]=_0x5032aa(0x36f),_0x3230e5[_0x3230e5[_0x5032aa(0x3a6)]=0x9]=_0x5032aa(0x3a6),_0x3230e5[_0x3230e5[_0x5032aa(0x24c)]=0xa]='LOGIN_FAILED',_0x3230e5[_0x3230e5['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3230e5[_0x3230e5['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3230e5[_0x3230e5[_0x5032aa(0x1bf)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3230e5[_0x3230e5[_0x5032aa(0x226)]=0xe]=_0x5032aa(0x226),_0x3230e5[_0x3230e5[_0x5032aa(0x289)]=0xf]=_0x5032aa(0x289),_0x3230e5[_0x3230e5['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x5032aa(0x25e),_0x3230e5[_0x3230e5['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x5032aa(0x324),_0x3230e5[_0x3230e5['ERROR_AGAIN']=0x65]=_0x5032aa(0x111),_0x3230e5[_0x3230e5[_0x5032aa(0x1a5)]=0xc9]=_0x5032aa(0x1a5),_0x3230e5[_0x3230e5[_0x5032aa(0x1e4)]=0xca]='USER_IS_ANONYMOUS',_0x3230e5[_0x3230e5['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5032aa(0x1a3),_0x3230e5[_0x3230e5[_0x5032aa(0xe2)]=0x1771]=_0x5032aa(0xe2),_0x3230e5[_0x3230e5[_0x5032aa(0x332)]=0x1772]=_0x5032aa(0x332),_0x3230e5[_0x3230e5[_0x5032aa(0x380)]=0x1773]=_0x5032aa(0x380),_0x3230e5[_0x3230e5[_0x5032aa(0x12f)]=0x1b59]=_0x5032aa(0x12f),_0x3230e5[_0x3230e5['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5032aa(0xf5),_0x3230e5[_0x3230e5[_0x5032aa(0x3c7)]=0x1b5b]=_0x5032aa(0x3c7),_0x3230e5[_0x3230e5[_0x5032aa(0x230)]=0x1b5c]=_0x5032aa(0x230),_0x3230e5[_0x3230e5[_0x5032aa(0x3c5)]=0x1b5d]=_0x5032aa(0x3c5),_0x3230e5[_0x3230e5[_0x5032aa(0x331)]=0x1f41]=_0x5032aa(0x331),_0x3230e5[_0x3230e5[_0x5032aa(0x261)]=0x2329]=_0x5032aa(0x261),_0x3230e5[_0x3230e5['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3230e5[_0x3230e5[_0x5032aa(0x2ac)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3230e5[_0x3230e5[_0x5032aa(0x37f)]=0x232c]=_0x5032aa(0x37f),_0x3230e5[_0x3230e5[_0x5032aa(0xd1)]=0x232d]=_0x5032aa(0xd1),_0x3230e5[_0x3230e5[_0x5032aa(0x381)]=0x2711]=_0x5032aa(0x381),_0x3230e5[_0x3230e5[_0x5032aa(0x357)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3230e5[_0x3230e5[_0x5032aa(0x38f)]=0x2713]=_0x5032aa(0x38f),_0x3230e5[_0x3230e5[_0x5032aa(0x12c)]=0x2714]=_0x5032aa(0x12c),_0x3230e5[_0x3230e5[_0x5032aa(0x3d1)]=0x271a]=_0x5032aa(0x3d1),_0x3230e5[_0x3230e5[_0x5032aa(0x35f)]=0x271b]=_0x5032aa(0x35f),_0x3230e5[_0x3230e5[_0x5032aa(0x2b6)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3230e5[_0x3230e5[_0x5032aa(0x371)]=0x271d]=_0x5032aa(0x371),_0x3230e5[_0x3230e5['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x5032aa(0x247),_0x3230e5[_0x3230e5[_0x5032aa(0x2d5)]=0x271f]=_0x5032aa(0x2d5),_0x3230e5[_0x3230e5[_0x5032aa(0x1ed)]=0x2720]=_0x5032aa(0x1ed),_0x3230e5[_0x3230e5[_0x5032aa(0x265)]=0x2af9]=_0x5032aa(0x265),_0x3230e5[_0x3230e5[_0x5032aa(0x311)]=0x2ee1]=_0x5032aa(0x311),_0x3230e5[_0x3230e5[_0x5032aa(0x161)]=0x2ee2]=_0x5032aa(0x161),_0x3230e5[_0x3230e5['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5032aa(0x2e7),_0x3230e5[_0x3230e5[_0x5032aa(0x27c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3230e5[_0x3230e5['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5032aa(0xd0),_0x3230e5[_0x3230e5[_0x5032aa(0x2ba)]=0x32c9]=_0x5032aa(0x2ba),_0x3230e5[_0x3230e5[_0x5032aa(0x29e)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3230e5[_0x3230e5[_0x5032aa(0xf8)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3230e5[_0x3230e5[_0x5032aa(0xff)]=0x36b1]=_0x5032aa(0xff),_0x3230e5[_0x3230e5[_0x5032aa(0xd9)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x3230e5[_0x3230e5[_0x5032aa(0x222)]=0x36b3]=_0x5032aa(0x222),_0x3230e5[_0x3230e5['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x5032aa(0xe6),_0x3230e5[_0x3230e5[_0x5032aa(0x392)]=0x3715]=_0x5032aa(0x392),_0x3230e5[_0x3230e5[_0x5032aa(0x110)]=0x3716]=_0x5032aa(0x110),_0x3230e5[_0x3230e5[_0x5032aa(0x1f9)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x3230e5[_0x3230e5[_0x5032aa(0xde)]=0x37dd]=_0x5032aa(0xde),_0x3230e5[_0x3230e5[_0x5032aa(0x344)]=0x3a99]=_0x5032aa(0x344),_0x3230e5[_0x3230e5[_0x5032aa(0x1e6)]=0x3a9a]=_0x5032aa(0x1e6),_0x3230e5[_0x3230e5[_0x5032aa(0x2ee)]=0x3a9b]=_0x5032aa(0x2ee),_0x3230e5[_0x3230e5[_0x5032aa(0x21e)]=0x3a9c]=_0x5032aa(0x21e),_0x3230e5[_0x3230e5[_0x5032aa(0x285)]=0x3a9d]=_0x5032aa(0x285),_0x3230e5[_0x3230e5['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x5032aa(0x1d9),_0x3230e5[_0x3230e5[_0x5032aa(0x3a4)]=0x3a9f]=_0x5032aa(0x3a4),_0x3230e5[_0x3230e5[_0x5032aa(0xe9)]=0x3e81]=_0x5032aa(0xe9),_0x3230e5[_0x3230e5[_0x5032aa(0x374)]=-0x1]=_0x5032aa(0x374),_0x3230e5))(vi||{}),Q=(_0x189903=>(_0x189903[_0x189903[_0x5032aa(0xce)]=0x0]=_0x5032aa(0xce),_0x189903[_0x189903[_0x5032aa(0x2cd)]=0x1]=_0x5032aa(0x2cd),_0x189903[_0x189903[_0x5032aa(0x15d)]=0x2]=_0x5032aa(0x15d),_0x189903[_0x189903[_0x5032aa(0x246)]=0x3]=_0x5032aa(0x246),_0x189903[_0x189903[_0x5032aa(0x223)]=0x4]=_0x5032aa(0x223),_0x189903[_0x189903[_0x5032aa(0x374)]=-0x1]=_0x5032aa(0x374),_0x189903))(Q||{}),j=(_0x4e5d0c=>(_0x4e5d0c[_0x4e5d0c['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x4e5d0c[_0x4e5d0c['HELLO']=0x1]=_0x5032aa(0x32c),_0x4e5d0c[_0x4e5d0c[_0x5032aa(0xf9)]=0x2]=_0x5032aa(0xf9),_0x4e5d0c[_0x4e5d0c['LEAVE']=0x3]='LEAVE',_0x4e5d0c[_0x4e5d0c[_0x5032aa(0xc2)]=0x4]='INGEST',_0x4e5d0c[_0x4e5d0c[_0x5032aa(0x1d2)]=0x5]=_0x5032aa(0x1d2),_0x4e5d0c[_0x4e5d0c[_0x5032aa(0x38c)]=0x6]=_0x5032aa(0x38c),_0x4e5d0c[_0x4e5d0c[_0x5032aa(0x374)]=-0x1]=_0x5032aa(0x374),_0x4e5d0c))(j||{}),pe=(_0x47773c=>(_0x47773c[_0x47773c['UNKNOWN_CODE']=0x0]=_0x5032aa(0x1ce),_0x47773c[_0x47773c['OK']=0x1]='OK',_0x47773c[_0x47773c[_0x5032aa(0x2d8)]=0x2]=_0x5032aa(0x2d8),_0x47773c[_0x47773c[_0x5032aa(0x33b)]=0x3e9]=_0x5032aa(0x33b),_0x47773c[_0x47773c['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x5032aa(0x3a7),_0x47773c[_0x47773c[_0x5032aa(0x162)]=0x3eb]=_0x5032aa(0x162),_0x47773c[_0x47773c[_0x5032aa(0x17b)]=0x3ec]=_0x5032aa(0x17b),_0x47773c[_0x47773c[_0x5032aa(0x374)]=-0x1]=_0x5032aa(0x374),_0x47773c))(pe||{}),pi=(_0x27eb74=>(_0x27eb74[_0x27eb74[_0x5032aa(0x3ba)]=0x0]=_0x5032aa(0x3ba),_0x27eb74[_0x27eb74[_0x5032aa(0x172)]=0x1]=_0x5032aa(0x172),_0x27eb74[_0x27eb74[_0x5032aa(0x3aa)]=0x2]=_0x5032aa(0x3aa),_0x27eb74[_0x27eb74[_0x5032aa(0x253)]=0x3]=_0x5032aa(0x253),_0x27eb74[_0x27eb74[_0x5032aa(0x18b)]=0x4]=_0x5032aa(0x18b),_0x27eb74[_0x27eb74[_0x5032aa(0x2b4)]=0x5]=_0x5032aa(0x2b4),_0x27eb74[_0x27eb74[_0x5032aa(0x2b8)]=0x6]=_0x5032aa(0x2b8),_0x27eb74[_0x27eb74[_0x5032aa(0x374)]=-0x1]=_0x5032aa(0x374),_0x27eb74))(pi||{});const Cs=_0x5032aa(0x142);function Ns(_0x1dc1af){var _0x538e29=_0x5032aa;return JSON[_0x538e29(0x1a4)](_0x1dc1af)[_0x538e29(0x119)];}var re=(_0x2dae97=>(_0x2dae97[_0x5032aa(0x34c)]=_0x5032aa(0x34c),_0x2dae97[_0x5032aa(0xe8)]=_0x5032aa(0xe8),_0x2dae97['CONFLICT']=_0x5032aa(0x3b8),_0x2dae97[_0x5032aa(0x10d)]=_0x5032aa(0x10d),_0x2dae97['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x2dae97[_0x5032aa(0x1cc)]=_0x5032aa(0x1cc),_0x2dae97['SOCKET_FAILED']='SOCKET_FAILED',_0x2dae97[_0x5032aa(0x2ce)]=_0x5032aa(0x2ce),_0x2dae97))(re||{});class ve{constructor(){var _0xbc4513=_0x5032aa;D(this,_0xbc4513(0x35b),new _0x35123a()),D(this,_0xbc4513(0x194),this[_0xbc4513(0x35b)][_0xbc4513(0x330)]());}[_0x5032aa(0x31b)](_0x2f3dbd){var _0xa4aff6=_0x5032aa;this[_0xa4aff6(0x35b)][_0xa4aff6(0x1b2)](_0x2f3dbd);}}class Ei{constructor(){var _0x11bed1=_0x5032aa;D(this,_0x11bed1(0x362),new _0x35123a()),D(this,_0x11bed1(0x328),this[_0x11bed1(0x362)][_0x11bed1(0x330)]());}['onCommentUpdate'](_0x424c4e){var _0x137144=_0x5032aa;this[_0x137144(0x362)][_0x137144(0x1b2)](_0x424c4e);}}var bs=Object[_0x5032aa(0x284)],Ds=(_0x4597fe,_0x363f46,_0x413a7f,_0x32f3fd)=>{var _0x26a3fb=_0x5032aa;for(var _0x1c8e00=_0x32f3fd>0x1?void 0x0:_0x32f3fd?bs(_0x363f46,_0x413a7f):_0x363f46,_0x201340=_0x4597fe[_0x26a3fb(0x119)]-0x1,_0x566bd9;_0x201340>=0x0;_0x201340--)(_0x566bd9=_0x4597fe[_0x201340])&&(_0x1c8e00=_0x566bd9(_0x1c8e00)||_0x1c8e00);return _0x1c8e00;},Ft=(_0x386b59,_0x44b63d)=>(_0x2bcd11,_0x5b550d)=>_0x44b63d(_0x2bcd11,_0x5b550d,_0x386b59);let Pe=class extends _0x189e92{constructor(_0x581611,_0x125e53){var _0x52eafd=_0x5032aa;super(),D(this,_0x52eafd(0x24d),new Map()),D(this,_0x52eafd(0x1b6),new _0x35123a()),(this[_0x52eafd(0x345)]=_0x581611,this[_0x52eafd(0x3d3)]=_0x125e53,this[_0x52eafd(0x22c)](_0x1c0321(this[_0x52eafd(0x345)]['getTypeOfUnitDisposed$'](_0x274e5d[_0x52eafd(0x15d)])['pipe'](_0x2ff8a7(_0x28b66b=>_0x28b66b[_0x52eafd(0x178)]())),this[_0x52eafd(0x345)][_0x52eafd(0x2ed)](_0x274e5d[_0x52eafd(0x2cd)])['pipe'](_0x2ff8a7(_0x528927=>_0x528927[_0x52eafd(0x178)]())),this[_0x52eafd(0x345)]['getTypeOfUnitDisposed$'](_0x274e5d[_0x52eafd(0x246)])['pipe'](_0x2ff8a7(_0x4ac216=>_0x4ac216[_0x52eafd(0x178)]())))[_0x52eafd(0x154)](_0x2bdb7e=>this[_0x52eafd(0x3be)](_0x2bdb7e))));}[_0x5032aa(0x277)](_0x20937c){var _0x511e7a=_0x5032aa;return this[_0x511e7a(0x24d)][_0x511e7a(0x14c)](_0x20937c)?_0x1a8f26(this['_roomMembers']['get'](_0x20937c)):this['_roomCreated$'][_0x511e7a(0x2af)](_0x2ff8a7(_0x3a7895=>{var _0x165c33=_0x511e7a;if(_0x3a7895===_0x20937c)return this[_0x165c33(0x24d)]['get'](_0x3a7895);}));}[_0x5032aa(0xc5)](_0x1dc44a){var _0x58160c=_0x5032aa;this[_0x58160c(0x3d3)][_0x58160c(0xc5)](_0x1dc44a);}[_0x5032aa(0x144)](){var _0x31a57a=_0x5032aa;return this[_0x31a57a(0x3d3)][_0x31a57a(0x144)]();}['updateMember'](_0x25859f,_0x2a756c){var _0x3ad37a=_0x5032aa;let _0x5c8fc9=this[_0x3ad37a(0x24d)][_0x3ad37a(0x32b)](_0x25859f);_0x5c8fc9||(_0x5c8fc9=new ys(),this[_0x3ad37a(0x24d)][_0x3ad37a(0x188)](_0x25859f,_0x5c8fc9),this[_0x3ad37a(0x1b6)][_0x3ad37a(0x1b2)](_0x25859f)),_0x5c8fc9[_0x3ad37a(0xf4)](_0x2a756c);}[_0x5032aa(0x306)](_0x1d7032,_0x255037){var _0x4859c5=_0x5032aa;const _0x3fc937=this[_0x4859c5(0x24d)][_0x4859c5(0x32b)](_0x1d7032);_0x3fc937&&_0x3fc937[_0x4859c5(0x306)](_0x255037);}[_0x5032aa(0x350)](_0x294a1){return this['_roomMembers']['get'](_0x294a1);}[_0x5032aa(0x29c)](_0x301897,_0x5ddd08){var _0x59a647=_0x5032aa;const _0x233332=this[_0x59a647(0x24d)][_0x59a647(0x32b)](_0x301897);if(_0x233332)return _0x233332['getMember'](_0x5ddd08);}[_0x5032aa(0x3be)](_0xb8afd0){var _0x766435=_0x5032aa;const _0x1ca855=this[_0x766435(0x24d)][_0x766435(0x32b)](_0xb8afd0);_0x1ca855&&(_0x1ca855[_0x766435(0x152)](),this[_0x766435(0x24d)][_0x766435(0x17e)](_0xb8afd0));}[_0x5032aa(0x152)](){var _0x22ca9e=_0x5032aa;this[_0x22ca9e(0x24d)]['forEach'](_0x3e60f5=>_0x3e60f5[_0x22ca9e(0x152)]()),this[_0x22ca9e(0x24d)][_0x22ca9e(0x321)](),this[_0x22ca9e(0x1b6)][_0x22ca9e(0x26c)]();}};Pe=Ds([Ft(0x0,_0x4d04ef),Ft(0x1,_0x4299bc(_0x5c49ee))],Pe);class ys extends _0x189e92{constructor(){var _0x406b37=_0x5032aa;super(...arguments),D(this,_0x406b37(0x11a),new Map()),D(this,'_members$',new _0x58f842(this[_0x406b37(0x11a)])),D(this,_0x406b37(0x270),this[_0x406b37(0x14a)]['asObservable']());}['dispose'](){var _0x275641=_0x5032aa;this[_0x275641(0x11a)][_0x275641(0x321)]();}[_0x5032aa(0xf4)](_0x2159ff){var _0x53e9cd=_0x5032aa;this[_0x53e9cd(0x11a)][_0x53e9cd(0x188)](_0x2159ff[_0x53e9cd(0x31a)],_0x2159ff),this[_0x53e9cd(0x367)]();}['removeMember'](_0x1736b6){var _0x7309bd=_0x5032aa;this[_0x7309bd(0x11a)][_0x7309bd(0x17e)](_0x1736b6);}[_0x5032aa(0x29c)](_0x179541){var _0x16f88b=_0x5032aa;return this[_0x16f88b(0x11a)][_0x16f88b(0x32b)](_0x179541);}[_0x5032aa(0x18e)](){var _0x443531=_0x5032aa;return Array['from'](this['_members'][_0x443531(0x320)]());}[_0x5032aa(0x367)](){var _0x21fc9d=_0x5032aa;this[_0x21fc9d(0x14a)]['next'](this[_0x21fc9d(0x11a)]);}}var Us=Object[_0x5032aa(0x284)],As=(_0x2e66bb,_0x2c2dc1,_0x4caf68,_0x2aa51b)=>{for(var _0x4b4a7a=_0x2aa51b>0x1?void 0x0:_0x2aa51b?Us(_0x2c2dc1,_0x4caf68):_0x2c2dc1,_0x85df97=_0x2e66bb['length']-0x1,_0x5c5676;_0x85df97>=0x0;_0x85df97--)(_0x5c5676=_0x2e66bb[_0x85df97])&&(_0x4b4a7a=_0x5c5676(_0x4b4a7a)||_0x4b4a7a);return _0x4b4a7a;},Oe=(_0x4c829d,_0x5bd41a)=>(_0x40775e,_0x3f64eb)=>_0x5bd41a(_0x40775e,_0x3f64eb,_0x4c829d),me=(_0x4926bd=>(_0x4926bd[_0x4926bd[_0x5032aa(0x2b2)]=0x0]=_0x5032aa(0x2b2),_0x4926bd[_0x4926bd[_0x5032aa(0x180)]=0x1]='JOINING',_0x4926bd[_0x4926bd[_0x5032aa(0x365)]=0x2]=_0x5032aa(0x365),_0x4926bd[_0x4926bd[_0x5032aa(0x10f)]=0x3]=_0x5032aa(0x10f),_0x4926bd))(me||{});const jt={[pe['FAIL']]:_0x5032aa(0x1c3),[pe[_0x5032aa(0x33b)]]:_0x5032aa(0x2ff),[pe['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[pe[_0x5032aa(0x162)]]:_0x5032aa(0x114),[pe[_0x5032aa(0x17b)]]:_0x5032aa(0x260)};let mt=class extends _0x22e684{constructor(_0x5e29f0,_0x330aa9,_0x15fb6c,_0x5f3240,_0x28e779,_0x3ac9da,_0xb5a209,_0xd53387){var _0x1bb369=_0x5032aa;super(),D(this,_0x1bb369(0x341),new _0x58f842(0x0)),D(this,'sessionStatus$',this['_sessionStatus$'][_0x1bb369(0x330)]()),D(this,_0x1bb369(0x35b),new _0x35123a()),D(this,'event$',this['_event$'][_0x1bb369(0x330)]()),D(this,'_socket'),D(this,_0x1bb369(0xd3)),D(this,'_collaborationTimeoutTimer'),D(this,_0x1bb369(0x2c0),!0x1),D(this,'_telemetryInfo',null),(this[_0x1bb369(0x1a0)]=_0x5e29f0,this['_logService']=_0x15fb6c,this[_0x1bb369(0x13c)]=_0x5f3240,this[_0x1bb369(0x198)]=_0x28e779,this[_0x1bb369(0xda)]=_0x3ac9da,this[_0x1bb369(0x21b)]=_0xb5a209,this['_telemetryService']=_0xd53387,this[_0x1bb369(0x2c0)]=!!this['_telemetryService'],_0x330aa9[_0x1bb369(0x2af)](_0x2a3e28(this['dispose$']))[_0x1bb369(0x154)](_0x2ff72e=>{var _0x28aae8=_0x1bb369,_0x9a8887;typeof _0x2ff72e>'u'||(this['_socket']=_0x2ff72e,_0x2ff72e?(this[_0x28aae8(0x3ac)](_0x2ff72e),this[_0x28aae8(0xd3)]=_0x2ff72e[_0x28aae8(0x31c)][_0x28aae8(0x154)](_0x107797=>{var _0x631df8=_0x28aae8;_0x107797[_0x631df8(0x1f5)]===this[_0x631df8(0x1a0)]&&this[_0x631df8(0x2df)](_0x107797);})):(this[_0x28aae8(0xc7)](),this[_0x28aae8(0x341)]['next'](0x2),(_0x9a8887=this[_0x28aae8(0xd3)])==null||_0x9a8887[_0x28aae8(0x27e)](),this[_0x28aae8(0xd3)]=null));}));}get[_0x5032aa(0x248)](){var _0x26160c=_0x5032aa;return this['_sessionStatus$'][_0x26160c(0x3c1)]();}[_0x5032aa(0x131)](){var _0x3e3591=_0x5032aa,_0x36b0dc,_0x59d560;return(_0x59d560=(_0x36b0dc=this[_0x3e3591(0x183)])==null?void 0x0:_0x36b0dc['memberID'])!=null?_0x59d560:null;}[_0x5032aa(0x152)](){var _0x1b650a=_0x5032aa;super['dispose'](),this[_0x1b650a(0x3d2)][_0x1b650a(0x1b2)](),this[_0x1b650a(0x3d2)][_0x1b650a(0x26c)]();}[_0x5032aa(0x17f)](){var _0x308da4=_0x5032aa,_0x2061fa,_0x34a35d;this[_0x308da4(0xc7)](),(_0x2061fa=this['_socket'])==null||_0x2061fa[_0x308da4(0x1a8)]({'cmd':j[_0x308da4(0x363)],'data':{'roomID':this[_0x308da4(0x1a0)]}}),(_0x34a35d=this[_0x308da4(0x183)])==null||_0x34a35d[_0x308da4(0x17f)](),this[_0x308da4(0x35b)]['complete'](),this['_sessionStatus$'][_0x308da4(0x26c)](),this[_0x308da4(0x152)]();}[_0x5032aa(0x2df)](_0x17ef7c){var _0x361c8a=_0x5032aa;_0x17ef7c[_0x361c8a(0x268)]===j[_0x361c8a(0xf9)]?this[_0x361c8a(0xdf)](_0x17ef7c):_0x17ef7c[_0x361c8a(0x268)]===j[_0x361c8a(0x38c)]&&this[_0x361c8a(0x19b)](_0x17ef7c);}['_joinRoom'](_0x56486b){var _0xeeb8e=_0x5032aa;this['_sessionStatus$'][_0xeeb8e(0x1b2)](0x1),_0x56486b[_0xeeb8e(0x1a8)]({'cmd':j[_0xeeb8e(0xf9)],'routeKey':this[_0xeeb8e(0x1a0)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x5032aa(0xdf)](_0x1eb771){var _0x48590e=_0x5032aa,_0x5b118c;if(_0x1eb771[_0x48590e(0x10c)]in jt){this[_0x48590e(0x21b)][_0x48590e(0x31b)]({'id':re[_0x48590e(0x34d)],'data':jt[_0x1eb771['code']]}),this[_0x48590e(0x341)][_0x48590e(0x1b2)](0x2);return;}this[_0x48590e(0x341)]['next'](0x3);const _0x978a65=(_0x5b118c=_0x1eb771[_0x48590e(0x33d)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x5b118c['members'];_0x978a65&&_0x978a65[_0x48590e(0x1ab)](_0x18e61a=>this[_0x48590e(0x198)]['updateMember'](this[_0x48590e(0x1a0)],_0x18e61a));}[_0x5032aa(0x19b)](_0x121017){var _0x275102=_0x5032aa;try{const _0x20b9ba=_0x121017[_0x275102(0x33d)];switch(_0x20b9ba['eventID']){case _0x4f23c0[_0x275102(0x263)]:this[_0x275102(0x2be)](_0x20b9ba),this[_0x275102(0x35b)][_0x275102(0x1b2)](_0x20b9ba);break;case _0x4f23c0[_0x275102(0x38d)]:this[_0x275102(0x33c)](_0x20b9ba),this['_event$']['next'](_0x20b9ba);break;case _0x4f23c0[_0x275102(0x2f8)]:case _0x4f23c0[_0x275102(0x236)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x275102(0x35b)][_0x275102(0x1b2)](_0x20b9ba);break;case _0x4f23c0[_0x275102(0x29b)]:this[_0x275102(0x2bf)][_0x275102(0x35a)](_0x275102(0x296)+JSON[_0x275102(0x1a4)](_0x20b9ba)),this[_0x275102(0x35b)][_0x275102(0x1b2)](_0x20b9ba);break;case _0x4f23c0[_0x275102(0x3b2)]:this[_0x275102(0xda)][_0x275102(0x15f)](_0x20b9ba[_0x275102(0x33d)]),this[_0x275102(0x35b)][_0x275102(0x1b2)](_0x20b9ba);break;default:this[_0x275102(0x35b)][_0x275102(0x1b2)](_0x20b9ba);}}catch(_0x22ceab){this[_0x275102(0x2bf)][_0x275102(0x35a)](_0x22ceab,_0x121017);}}['_onUserJoin'](_0x1da0ac){var _0x498b4f=_0x5032aa;this[_0x498b4f(0x198)][_0x498b4f(0xf4)](this[_0x498b4f(0x1a0)],_0x1da0ac[_0x498b4f(0x33d)]);}[_0x5032aa(0x33c)](_0x2adcf6){var _0x14b050=_0x5032aa;this[_0x14b050(0x198)][_0x14b050(0x306)](this[_0x14b050(0x1a0)],_0x2adcf6[_0x14b050(0x33d)][_0x14b050(0x31a)]);}async[_0x5032aa(0x1a8)](_0x396c96,_0x3e8c48){var _0x581250=_0x5032aa;if(this['sessionStatus']!==0x3||!this[_0x581250(0x183)])throw new Error(_0x581250(0x3b5));try{_0x396c96[_0x581250(0x36a)]===_0x4f23c0['SUBMIT_CHANGESET']&&(this[_0x581250(0x1eb)](),this[_0x581250(0x266)](_0x396c96)),this[_0x581250(0x183)][_0x581250(0x1a8)]({'cmd':j[_0x581250(0xc2)],'routeKey':_0x3e8c48,'routeType':'','data':_0x396c96});}catch(_0x344345){this['_logService']['error'](_0x344345);}}[_0x5032aa(0x1eb)](){var _0x158b62=_0x5032aa,_0x538108;this[_0x158b62(0x26f)]=setTimeout(()=>{var _0x31539e=_0x158b62;this['_collaborationTimeoutTimer']=null,this[_0x31539e(0x21b)][_0x31539e(0x31b)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x538108=this[_0x158b62(0x13c)]['getConfig'](di))!=null?_0x538108:fi);}['_clearCollaborationTimeoutTimer'](){var _0x1cd54c=_0x5032aa;this[_0x1cd54c(0x26f)]&&(clearTimeout(this[_0x1cd54c(0x26f)]),this[_0x1cd54c(0x26f)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4fea59){var _0x203b48=_0x5032aa;if(!this[_0x203b48(0x2c0)])return;const {data:_0x5a908c}=_0x4fea59,{unitID:_0x30a5d3,changeset:_0x576a07}=_0x5a908c,{mutations:_0x5bb677,type:_0x1a2518}=_0x576a07;this[_0x203b48(0x377)]={'unitId':_0x30a5d3,'type':_0x1a2518,'startTime':performance[_0x203b48(0x2b0)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x5bb677)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x229897=_0x5032aa;if(this[_0x229897(0x2c0)]){if(!this[_0x229897(0x377)]){this['_logService'][_0x229897(0x35a)]('[CollaborationSession]',_0x229897(0x205));return;}this[_0x229897(0x377)]['stopTime']=performance[_0x229897(0x2b0)](),this[_0x229897(0x377)]['duration']=this[_0x229897(0x377)][_0x229897(0x3a8)]-this['_telemetryInfo'][_0x229897(0xc9)],this[_0x229897(0x259)][_0x229897(0xfd)](Cs,this['_telemetryInfo']),this[_0x229897(0x377)]=null;}}[_0x5032aa(0xc7)](){var _0x4118c4=_0x5032aa;this[_0x4118c4(0x377)]=null;}};mt=As([Oe(0x2,_0x3340b7),Oe(0x3,_0x74c89b),Oe(0x4,_0x4299bc(Pe)),Oe(0x5,_0x4299bc(Ei)),Oe(0x6,_0x4299bc(ve)),Oe(0x7,_0x4ae93e(_0x574927))],mt);const J=_0x606720(_0x5032aa(0x278));function Cr(_0x23da70){return'unit-cache-'+_0x23da70;}var Ps=Object[_0x5032aa(0x284)],ws=(_0x1514e4,_0x6514d7,_0x61b665,_0x65021a)=>{for(var _0x5a2106=_0x65021a>0x1?void 0x0:_0x65021a?Ps(_0x6514d7,_0x61b665):_0x6514d7,_0x3e28b4=_0x1514e4['length']-0x1,_0x192ee6;_0x3e28b4>=0x0;_0x3e28b4--)(_0x192ee6=_0x1514e4[_0x3e28b4])&&(_0x5a2106=_0x192ee6(_0x5a2106)||_0x5a2106);return _0x5a2106;},ut=(_0xb93e85,_0x41a0eb)=>(_0x9eb6fc,_0x456987)=>_0x41a0eb(_0x9eb6fc,_0x456987,_0xb93e85);function Ms(_0x42d9ea){var _0x5f0f8b=_0x5032aa;const {unitID:_0x4c402c,mutations:_0x3f8b61}=_0x42d9ea;return{'unitId':_0x4c402c,'subUnitId':_0x3f8b61['length']>0x0?_0x3f8b61[0x0]['params'][_0x5f0f8b(0x175)]:null};}let it=class{constructor(_0xba6fe3,_0x3397c0,_0x88c182){var _0x5b96b0=_0x5032aa;this[_0x5b96b0(0x2f4)]=_0xba6fe3,this[_0x5b96b0(0x179)]=_0x3397c0,this[_0x5b96b0(0x1e8)]=_0x88c182;}[_0x5032aa(0x251)](_0xbac709){var _0xf09d4a=_0x5032aa,_0x5b0498,_0x50e9a1,_0x54f55b,_0x4c231d;const _0x55fb0e=this[_0xf09d4a(0x2f4)][_0xf09d4a(0x32b)](_0x337d71),{unitId:_0x122401,subUnitId:_0x3d00f1}=Ms(_0xbac709),_0x4241f8=_0x55fb0e==null?void 0x0:_0x55fb0e[_0xf09d4a(0x11b)](_0x122401)[_0xf09d4a(0x147)](),_0x292f29=(_0x50e9a1=(_0x5b0498=this[_0xf09d4a(0x1e8)][_0xf09d4a(0x2fa)](_0x122401))==null?void 0x0:_0x5b0498[_0xf09d4a(0x158)]())==null?void 0x0:_0x50e9a1['getSheetId']();if(_0x4241f8[_0xf09d4a(0x119)]===0x0||!_0x122401||!_0x3d00f1)return;const _0x1c20e2=[{'id':_0x518b8f['id'],'params':{'unitId':_0x122401,'subUnitId':_0x292f29,'selections':_0x3665b8[_0xf09d4a(0x1fb)](_0x4241f8)}}],_0x560fd0=this[_0xf09d4a(0x179)][_0xf09d4a(0x383)](_0xbac709,_0x1c20e2);if(!_0xecfa81(_0x560fd0))throw _0x560fd0[_0xf09d4a(0x35a)];const _0x1e8c2c=(_0x4c231d=(_0x54f55b=_0x560fd0[_0xf09d4a(0x316)][0x0])==null?void 0x0:_0x54f55b[_0xf09d4a(0x202)])==null?void 0x0:_0x4c231d[_0xf09d4a(0xf2)];if(Array[_0xf09d4a(0xf7)](_0x1e8c2c)&&_0x1e8c2c[_0xf09d4a(0x119)]){if(_0x1e8c2c[_0xf09d4a(0x119)]===_0x1c20e2[0x0][_0xf09d4a(0x202)][_0xf09d4a(0xf2)][_0xf09d4a(0x119)]&&_0x1e8c2c['every']((_0x2fd693,_0x18ac59)=>_0x13a611[_0xf09d4a(0x355)](_0x2fd693[_0xf09d4a(0x2c4)],_0x1c20e2[0x0][_0xf09d4a(0x202)][_0xf09d4a(0xf2)][_0x18ac59][_0xf09d4a(0x2c4)])))return;this[_0xf09d4a(0x2f4)][_0xf09d4a(0x32b)](_0x5eb88f)['executeCommand'](_0x518b8f['id'],{'unitId':_0x122401,'subUnitId':_0x292f29,'selections':_0x1e8c2c});}}};it=ws([ut(0x0,_0x4299bc(_0x45b719)),ut(0x1,_0x27be8a),ut(0x2,_0x4d04ef)],it);const _t=_0x606720(_0x5032aa(0xe0));var mi=(_0x373f91=>(_0x373f91[_0x373f91[_0x5032aa(0x353)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x373f91[_0x373f91[_0x5032aa(0x15e)]=0x1]=_0x5032aa(0x15e),_0x373f91))(mi||{});const K='collaboration-client.config',Ls={},xs=new Set([_0x3724ad['id']]);function Vt(_0xf765d9,_0x361090,_0x2ca621,_0x25d2ca,_0x9ea761){var _0x37dc1f=_0x5032aa,_0xe73379,_0xed0355,_0x5b5a15,_0x2ea183;const _0x145a10=[];for(const _0x25c9d5 of _0xf765d9)if(xs['has'](_0x25c9d5['id'])){if(_0x145a10[_0x37dc1f(0x119)]>0x0)break;_0x145a10[_0x37dc1f(0x129)](_0x25c9d5);break;}else _0x145a10[_0x37dc1f(0x129)](_0x25c9d5);const _0x4d7f71=(_0xed0355=(_0xe73379=_0x9ea761['getCurrentUser']())==null?void 0x0:_0xe73379[_0x37dc1f(0x2e6)])!=null?_0xed0355:_0x37dc1f(0x2dd),_0x1a6d75=(_0x2ea183=(_0x5b5a15=_0x9ea761[_0x37dc1f(0x144)]())==null?void 0x0:_0x5b5a15[_0x37dc1f(0x31a)])!=null?_0x2ea183:'unknown';return{'changeset':{'unitID':_0x361090,'type':_0x350367(_0x2ca621[_0x37dc1f(0xf3)](_0x361090)),'baseRev':_0x25d2ca[_0x37dc1f(0x1ec)](_0x361090),'revision':0x0,'userID':_0x4d7f71,'memberID':_0x1a6d75,'mutations':_0x145a10},'pendingMutations':_0xf765d9[_0x37dc1f(0x3cc)](_0x145a10[_0x37dc1f(0x119)])};}function $s(_0x5dc6a5,_0x18a8d5,_0x445b63,_0x528f39,_0x179924){var _0xfc9c57=_0x5032aa,_0x2b100f,_0x305e68,_0x254997,_0xeb5909;const _0x3dad3=[_0x5dc6a5['reduce']((_0x1a6db3,_0x133d60)=>{var _0x439e19=_0x57d4,_0x3d4254;const {id:_0x388a55}=_0x1a6db3,{id:_0x540d4b,type:_0x206355}=_0x133d60,_0x49be1c=(_0x3d4254=_0x1a6db3[_0x439e19(0x202)])!=null?_0x3d4254:{'actions':null},_0x3a7e54=_0x133d60[_0x439e19(0x202)];if(_0x388a55&&_0x388a55!==_0x540d4b)throw new Error(_0x439e19(0x21c)+_0x388a55+_0x439e19(0x11c)+_0x540d4b+'.');return{..._0x1a6db3,'id':_0x540d4b,'type':_0x206355,'params':{'unitId':_0x3a7e54[_0x439e19(0x1a7)],'textRanges':_0x3a7e54[_0x439e19(0x2d3)],'actions':_0x23f372['compose'](_0x49be1c[_0x439e19(0x15b)],_0x3a7e54[_0x439e19(0x15b)])}};},{})],_0x54d3dd=(_0x305e68=(_0x2b100f=_0x179924[_0xfc9c57(0x144)]())==null?void 0x0:_0x2b100f['userID'])!=null?_0x305e68:_0xfc9c57(0x2dd),_0x336400=(_0xeb5909=(_0x254997=_0x179924[_0xfc9c57(0x144)]())==null?void 0x0:_0x254997['memberID'])!=null?_0xeb5909:_0xfc9c57(0x2dd);return{'changeset':{'unitID':_0x18a8d5,'type':_0x350367(_0x445b63[_0xfc9c57(0xf3)](_0x18a8d5)),'baseRev':_0x528f39['getCurrentRevOfUnit'](_0x18a8d5),'revision':0x0,'userID':_0x54d3dd,'memberID':_0x336400,'mutations':_0x3dad3},'pendingMutations':[]};}function Ii(_0x241e13,_0x123d83){var _0x1e3b59=_0x5032aa;const _0x404848=new _0x5472a5(0x1);return setTimeout(()=>_0x404848[_0x1e3b59(0x1b2)](_0x123d83),_0x241e13),_0x404848[_0x1e3b59(0x330)]()[_0x1e3b59(0x2af)](_0xb5abb6(0x1));}var ks=Object['getOwnPropertyDescriptor'],Se=(_0x1f7a9c,_0x45c937,_0x3d4084,_0x356be3)=>{for(var _0x5a3f85=_0x356be3>0x1?void 0x0:_0x356be3?ks(_0x45c937,_0x3d4084):_0x45c937,_0x2e3268=_0x1f7a9c['length']-0x1,_0xa152d9;_0x2e3268>=0x0;_0x2e3268--)(_0xa152d9=_0x1f7a9c[_0x2e3268])&&(_0x5a3f85=_0xa152d9(_0x5a3f85)||_0x5a3f85);return _0x5a3f85;},w=(_0x342391,_0x275c05)=>(_0x3f559c,_0x3f5d77)=>_0x275c05(_0x3f559c,_0x3f5d77,_0x342391),Si=(_0x3c9b90=>(_0x3c9b90[_0x5032aa(0x359)]='not_collab',_0x3c9b90[_0x5032aa(0xca)]=_0x5032aa(0x2a6),_0x3c9b90[_0x5032aa(0x1dc)]='pending',_0x3c9b90[_0x5032aa(0x1c0)]=_0x5032aa(0xc0),_0x3c9b90[_0x5032aa(0x10a)]=_0x5032aa(0x30a),_0x3c9b90['FETCH_MISS']=_0x5032aa(0xc4),_0x3c9b90['CONFLICT']=_0x5032aa(0x1ea),_0x3c9b90[_0x5032aa(0x365)]=_0x5032aa(0x1dd),_0x3c9b90))(Si||{});const gi=0xea60;class ge{constructor(_0x103ea0,_0x265f2a,_0x14fac6,_0x383c80,_0x505d26,_0x1b79f2,_0x2987a4,_0xf4ae36,_0x3d9df0){var _0x5485b1=_0x5032aa;D(this,_0x5485b1(0x101),null),D(this,_0x5485b1(0x100),[]),(this[_0x5485b1(0xd4)]=_0x103ea0,this['type']=_0x265f2a,this[_0x5485b1(0x18c)]=_0x505d26,this[_0x5485b1(0x3ca)]=_0x1b79f2,this[_0x5485b1(0x1d4)]=_0x2987a4,this['_revisionService']=_0xf4ae36,this[_0x5485b1(0x234)]=_0x3d9df0,this[_0x5485b1(0x101)]=_0x14fac6,this[_0x5485b1(0x100)]=_0x383c80);}[_0x5032aa(0x20c)](_0x1e8321){var _0xed5a46=_0x5032aa;const _0xf5fee8=this['_revisionService'][_0xed5a46(0x1ec)](this[_0xed5a46(0xd4)]);return _0x1e8321[_0xed5a46(0x33f)]>_0xf5fee8+0x1?(this['_handler'][_0xed5a46(0x107)]({'from':_0xf5fee8,'to':_0x1e8321[_0xed5a46(0x33f)]-0x1}),!0x0):!0x1;}[_0x5032aa(0x2e4)](_0x493624){var _0x2e8153=_0x5032aa;this[_0x2e8153(0x1d4)][_0x2e8153(0x229)](this[_0x2e8153(0xd4)],_0x493624);}[_0x5032aa(0x2f5)](_0x310408){var _0x2b6954=_0x5032aa,_0x1e4b1a,_0x1133e6;(_0x1133e6=(_0x1e4b1a=this['_handler'])['onTransformSelections'])==null||_0x1133e6[_0x2b6954(0x308)](_0x1e4b1a,_0x310408);}['_transformIMECache'](_0xf05fb9){var _0x5584b3=_0x5032aa,_0x213aa9,_0x1e0d36;return(_0x1e0d36=(_0x213aa9=this[_0x5584b3(0x18c)])[_0x5584b3(0x27d)])==null?void 0x0:_0x1e0d36[_0x5584b3(0x308)](_0x213aa9,_0xf05fb9);}[_0x5032aa(0x3cd)](_0x494611){var _0x254a81=_0x5032aa,_0x27b992,_0x3a7186;return(_0x3a7186=(_0x27b992=this['_handler'])[_0x254a81(0x3c0)])==null?void 0x0:_0x3a7186[_0x254a81(0x308)](_0x27b992,_0x494611);}[_0x5032aa(0x2e1)](_0x66af26){var _0x3e3406=_0x5032aa,_0x130e2b,_0x211ea8,_0x360e87;return(_0x360e87=(_0x211ea8=(_0x130e2b=this[_0x3e3406(0x18c)])[_0x3e3406(0x37a)])==null?void 0x0:_0x211ea8['call'](_0x130e2b,_0x66af26))!=null?_0x360e87:_0x66af26;}[_0x5032aa(0x23f)](_0x17a8c4){var _0x573ba2=_0x5032aa,_0x33751f,_0x4147d3,_0x37c29a;return(_0x37c29a=(_0x4147d3=(_0x33751f=this[_0x573ba2(0x18c)])[_0x573ba2(0x317)])==null?void 0x0:_0x4147d3[_0x573ba2(0x308)](_0x33751f,_0x17a8c4))!=null?_0x37c29a:_0x17a8c4;}['_syncEditingCollabCursor'](_0x10e65b){var _0x2dacec=_0x5032aa,_0x4683db,_0x2db4ec;if(this[_0x2dacec(0x257)]===Q[_0x2dacec(0x2cd)]){const {unitID:_0x37f2e9,mutations:_0x584628,memberID:_0x1e06cd}=_0x10e65b,_0x40a11a=_0x584628[_0x2dacec(0x119)]>0x0?_0x584628[0x0][_0x2dacec(0x202)]['textRanges']:[];Array['isArray'](_0x40a11a)&&_0x40a11a[_0x2dacec(0x119)]>0x0&&((_0x2db4ec=(_0x4683db=this[_0x2dacec(0x18c)])[_0x2dacec(0x27b)])==null||_0x2db4ec[_0x2dacec(0x308)](_0x4683db,{'unitID':_0x37f2e9,'memberID':_0x1e06cd,'textRanges':_0x40a11a}));}}[_0x5032aa(0x1d1)](){var _0x3f1885=_0x5032aa,_0x454407;(_0x454407=this[_0x3f1885(0x234)])==null||_0x454407[_0x3f1885(0x19d)](this[_0x3f1885(0xd4)],this['type'],this[_0x3f1885(0x101)],this['_pendingMutations']);}[_0x5032aa(0x244)](){var _0x4047d9=_0x5032aa;return this[_0x4047d9(0x39c)][_0x4047d9(0x1ec)](this[_0x4047d9(0xd4)]);}[_0x5032aa(0x2de)](){var _0x14559f=_0x5032aa;this[_0x14559f(0x39c)]['incrementRevOfUnit'](this[_0x14559f(0xd4)]);}[_0x5032aa(0x3bc)](_0x21a886){var _0x482de4=_0x5032aa,_0x552c16;let _0x515f9f=this[_0x482de4(0x2e1)](_0x21a886);_0x515f9f=this[_0x482de4(0x23f)](_0x515f9f);const _0x3b0c59=_0x4d39b9(_0x515f9f['mutations'],this[_0x482de4(0x3ca)],{'fromCollab':!0x0});if(!_0x3b0c59[_0x482de4(0x394)])throw _0x3b0c59[_0x482de4(0x35a)]instanceof Error?_0x3b0c59['error']:new Error((_0x552c16=_0x3b0c59[_0x482de4(0x35a)])!=null?_0x552c16:_0x482de4(0x294));this[_0x482de4(0x273)](_0x515f9f),this[_0x482de4(0x3cd)](_0x515f9f),this['_transformUndoredo'](_0x21a886),this['_transformSelections'](_0x515f9f),this[_0x482de4(0x2a9)](_0x515f9f),this[_0x482de4(0x2de)]();}}let be=class extends ge{constructor(_0x462b8a,_0x575fc5,_0x217c95,_0x57ad72,_0x2709d8,_0x15deb0,_0x4cd83f,_0xae23ab,_0x47730a,_0x1187ed){var _0x4e8512=_0x5032aa;super(_0x462b8a,_0x575fc5,null,[],_0x217c95,_0x4cd83f,_0x15deb0,_0x57ad72,_0x1187ed),D(this,_0x4e8512(0x133),_0x4e8512(0x2a6)),(this['_injector']=_0x2709d8,this[_0x4e8512(0x2bf)]=_0xae23ab,this[_0x4e8512(0x179)]=_0x47730a,this[_0x4e8512(0x22f)]=_0x1187ed);}[_0x5032aa(0x124)](_0x2d94ba){var _0x1185b5=_0x5032aa;const _0x48d7c6=this['_injector'][_0x1185b5(0x389)](ae,this[_0x1185b5(0xd4)],this[_0x1185b5(0x257)],[_0x2d94ba],this['_handler']);return _0x48d7c6['_schedule'](),_0x48d7c6['_updateLocalCache'](),_0x48d7c6;}[_0x5032aa(0x220)](_0x2b58a5){var _0x3e966e=_0x5032aa;if(this[_0x3e966e(0x20c)](_0x2b58a5))return this[_0x3e966e(0x2f4)][_0x3e966e(0x389)](ee,this['unitID'],this[_0x3e966e(0x257)],null,[],null,[_0x2b58a5],this[_0x3e966e(0x18c)]);try{const _0x431c3e=this[_0x3e966e(0x179)][_0x3e966e(0x383)](_0x2b58a5,[_0x5131a2]);if(_0xecfa81(_0x431c3e)){const {c1Prime:_0x2720d2}=_0x431c3e;return this[_0x3e966e(0x3bc)](_0x2720d2),this;}throw _0x431c3e['error'];}catch(_0x39a853){return this[_0x3e966e(0x2bf)]['error'](_0x39a853),this[_0x3e966e(0x279)](!0x1);}}['_onConflict'](_0x457efe){var _0x483dce=_0x5032aa;return this[_0x483dce(0x2f4)][_0x483dce(0x389)](ue,this[_0x483dce(0xd4)],this[_0x483dce(0x257)],null,[],this[_0x483dce(0x18c)],_0x457efe);}['onRemoteAck'](){var _0xd4f072=_0x5032aa;throw new Error(_0xd4f072(0x1af));}[_0x5032aa(0xe4)](){var _0x18ca7e=_0x5032aa;throw new Error(_0x18ca7e(0x23c));}[_0x5032aa(0x366)](){return this;}[_0x5032aa(0x2e9)](){var _0xedc68b=_0x5032aa;return this[_0xedc68b(0x2f4)][_0xedc68b(0x389)](de,this[_0xedc68b(0xd4)],this[_0xedc68b(0x257)],null,[],this[_0xedc68b(0x18c)]);}[_0x5032aa(0x145)](){return this;}[_0x5032aa(0x238)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5032aa(0x1d5)](){var _0x27745e=_0x5032aa;const _0x568c6b=this[_0x27745e(0x39c)][_0x27745e(0x1ec)](this[_0x27745e(0xd4)]);return this['_handler']['onMissingChangesets']({'from':_0x568c6b,'to':0x0}),this['_injector'][_0x27745e(0x389)](ee,this[_0x27745e(0xd4)],this[_0x27745e(0x257)],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x4299bc(_0x5b729b)),w(0x4,_0x4299bc(_0x45b719)),w(0x5,_0x2e0be3),w(0x6,_0x5eb88f),w(0x7,_0x3340b7),w(0x8,_0x27be8a),w(0x9,_0x4ae93e(J))],be);let ae=class extends ge{constructor(_0x594a12,_0x2ffd6b,_0x59a181,_0x174544,_0x5e0ec2,_0x2d2a71,_0x18c8e2,_0xb5fbe0,_0x5ab1b6,_0x1fea55,_0x4a90cd,_0x47ff83,_0x308abc,_0x5778d7){var _0x5618db=_0x5032aa;super(_0x594a12,_0x2ffd6b,null,_0x59a181,_0x174544,_0x5ab1b6,_0x308abc,_0x2d2a71,_0x5778d7),D(this,_0x5618db(0x133),_0x5618db(0x2c2)),D(this,_0x5618db(0x2e8),null),D(this,_0x5618db(0x319),null),(this[_0x5618db(0x2f4)]=_0x5e0ec2,this[_0x5618db(0x198)]=_0x18c8e2,this[_0x5618db(0x2bf)]=_0xb5fbe0,this['_configService']=_0x1fea55,this[_0x5618db(0x179)]=_0x4a90cd,this['_univerInstanceService']=_0x47ff83);}[_0x5032aa(0x124)](_0x433b3e){var _0x47d765=_0x5032aa;return this[_0x47d765(0x100)][_0x47d765(0x129)](_0x433b3e),this[_0x47d765(0x1d1)](),this;}[_0x5032aa(0x220)](_0x1d322b){var _0x339958=_0x5032aa;if(this[_0x339958(0x20c)](_0x1d322b))return this[_0x339958(0x358)](),this[_0x339958(0x2f4)][_0x339958(0x389)](ee,this[_0x339958(0xd4)],this['type'],null,this[_0x339958(0x100)],null,[_0x1d322b],this[_0x339958(0x18c)]);try{const _0x152593=this[_0x339958(0x179)][_0x339958(0x383)](_0x1d322b,this[_0x339958(0x100)]);if(_0xecfa81(_0x152593)){const {c1Prime:_0x161830,m2Prime:_0x58fbc2}=_0x152593;this[_0x339958(0x3bc)](_0x161830);const _0x4f709f=this[_0x339958(0x2f4)][_0x339958(0x389)](ae,this[_0x339958(0xd4)],this[_0x339958(0x257)],_0x58fbc2,this[_0x339958(0x18c)]);this[_0x339958(0x358)]();const _0x56d95e=new Date()[_0x339958(0x120)](),_0x272415=this[_0x339958(0x2e8)]?Math['max'](this[_0x339958(0x2e8)]-_0x56d95e,0x0):this[_0x339958(0x141)]();return _0x4f709f[_0x339958(0x2b1)](_0x272415),_0x4f709f;}throw _0x152593[_0x339958(0x35a)];}catch(_0x2fd985){return this['_logService'][_0x339958(0x35a)](_0x2fd985),this[_0x339958(0x279)](!0x1);}}['onRemoteAck'](){var _0x1efcfa=_0x5032aa;throw new Error(_0x1efcfa(0x243));}[_0x5032aa(0xe4)](){var _0x19352d=_0x5032aa;throw new Error(_0x19352d(0x1e2));}[_0x5032aa(0x366)](){return this;}['toggleOffline'](){var _0x2c20c4=_0x5032aa;return this[_0x2c20c4(0x358)](),this['_injector'][_0x2c20c4(0x389)](de,this['unitID'],this['type'],null,this[_0x2c20c4(0x100)],this['_handler']);}['toggleOnline'](){return this;}[_0x5032aa(0x2b1)](_0x41536e){var _0xc6bc81=_0x5032aa;const _0x49d251=_0x41536e!=null?_0x41536e:this[_0xc6bc81(0x141)]();this[_0xc6bc81(0x2e8)]=new Date()['getTime']()+_0x49d251,this[_0xc6bc81(0x319)]=setTimeout(()=>{var _0x26a946=_0xc6bc81;this['_clearScheduledTask']();let _0x3036b5=null;switch(this['type']){case Q[_0x26a946(0x15d)]:{_0x3036b5=Vt(this[_0x26a946(0x100)],this[_0x26a946(0xd4)],this[_0x26a946(0x345)],this['_revisionService'],this['_memberService']);break;}case Q['UNIVER_DOC']:{this[_0x26a946(0x100)][_0x26a946(0xeb)](_0x364961=>_0x364961['id']===_0x23fa5f['id'])?_0x3036b5=$s(this[_0x26a946(0x100)],this['unitID'],this[_0x26a946(0x345)],this['_revisionService'],this[_0x26a946(0x198)]):_0x3036b5=Vt(this[_0x26a946(0x100)],this['unitID'],this[_0x26a946(0x345)],this[_0x26a946(0x39c)],this[_0x26a946(0x198)]);break;}default:throw new Error(_0x26a946(0x12e)+this[_0x26a946(0x257)]+_0x26a946(0x281));}const {changeset:_0x5ee8d6,pendingMutations:_0x1b8206}=_0x3036b5;this[_0x26a946(0x18c)][_0x26a946(0x16b)](_0x5ee8d6);const _0x5be420=_0x1b8206[_0x26a946(0x119)]?this[_0x26a946(0x2f4)]['createInstance'](oe,this[_0x26a946(0xd4)],this[_0x26a946(0x257)],_0x5ee8d6,_0x1b8206,this['_handler'],void 0x0):this['_injector'][_0x26a946(0x389)](le,this[_0x26a946(0xd4)],this[_0x26a946(0x257)],_0x5ee8d6,this[_0x26a946(0x18c)]);_0x5be420['_updateLocalCache'](),this[_0x26a946(0x18c)][_0x26a946(0x241)](this,_0x5be420);},_0x49d251);}[_0x5032aa(0x141)](){var _0x1368e0=_0x5032aa,_0x4fb21a;const _0x43fd60=this[_0x1368e0(0x13c)]['getConfig'](K);return(_0x4fb21a=_0x43fd60==null?void 0x0:_0x43fd60[_0x1368e0(0x14b)])!=null?_0x4fb21a:ps;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x2363e7=_0x5032aa;this[_0x2363e7(0x319)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x2363e7(0x319)]=null);}['_onConflict'](_0x2480e6){var _0x45e484=_0x5032aa;return this['_clearScheduledTask'](),this[_0x45e484(0x2f4)][_0x45e484(0x389)](ue,this[_0x45e484(0xd4)],this[_0x45e484(0x257)],null,this[_0x45e484(0x100)],this[_0x45e484(0x18c)],_0x2480e6);}};ae=Se([w(0x4,_0x4299bc(_0x45b719)),w(0x5,_0x4299bc(_0x5b729b)),w(0x6,_0x4299bc(Pe)),w(0x7,_0x3340b7),w(0x8,_0x5eb88f),w(0x9,_0x74c89b),w(0xa,_0x27be8a),w(0xb,_0x4d04ef),w(0xc,_0x2e0be3),w(0xd,_0x4ae93e(J))],ae);let le=class extends ge{constructor(_0x21facb,_0x3bd7c3,_0x36feb2,_0x5eb3b1,_0x3a9018,_0x5cb8ca,_0x3e6f54,_0x3507b3,_0x2b14bb,_0x5cb4f7,_0x39fab5){var _0x3e8d14=_0x5032aa;super(_0x21facb,_0x3bd7c3,_0x36feb2,[],_0x5eb3b1,_0x3e6f54,_0x5cb4f7,_0x5cb8ca,_0x39fab5),D(this,_0x3e8d14(0x133),_0x3e8d14(0xc0)),D(this,_0x3e8d14(0x163),0x0),D(this,_0x3e8d14(0x2f0)),D(this,_0x3e8d14(0x219)),(this[_0x3e8d14(0x2f4)]=_0x3a9018,this[_0x3e8d14(0x2bf)]=_0x3507b3,this[_0x3e8d14(0x179)]=_0x2b14bb);}[_0x5032aa(0x124)](_0x55f13a){var _0x317479=_0x5032aa;this['_clearScheduledTask']();const _0x31256a=this[_0x317479(0x2f4)][_0x317479(0x389)](oe,this[_0x317479(0xd4)],this[_0x317479(0x257)],this[_0x317479(0x101)],[_0x55f13a],this['_handler'],this[_0x317479(0x2f0)]);return _0x31256a['_updateLocalCache'](),_0x31256a;}[_0x5032aa(0x220)](_0x4584c7){var _0x3086be=_0x5032aa;if(this[_0x3086be(0x20c)](_0x4584c7))return this['_clearScheduledTask'](),this[_0x3086be(0x2f4)]['createInstance'](ee,this['unitID'],this[_0x3086be(0x257)],this[_0x3086be(0x101)],[],null,[_0x4584c7],this[_0x3086be(0x18c)]);try{const _0xfbc76=this['_transformService']['transformChangesets']([_0x4584c7],[this[_0x3086be(0x101)]],!0x1);if(_0x42438c(_0xfbc76)){const {c1Prime:_0x2d9191,c2Prime:_0x1eb6a4}=_0xfbc76;this[_0x3086be(0x3bc)](_0x2d9191[0x0]),_0x1eb6a4[0x0][_0x3086be(0x327)]=this[_0x3086be(0x244)](),this[_0x3086be(0x358)]();const _0x442bbf=this['_injector'][_0x3086be(0x389)](le,this[_0x3086be(0xd4)],this[_0x3086be(0x257)],_0x1eb6a4[0x0],this[_0x3086be(0x18c)]);return _0x442bbf[_0x3086be(0x1d1)](),_0x442bbf;}return this['_onConflict'](!0x1);}catch(_0x50aee7){return this[_0x3086be(0x2bf)][_0x3086be(0x35a)](_0x50aee7),this[_0x3086be(0x279)](!0x1);}}[_0x5032aa(0x10b)](_0x41e154){var _0x1f3d3a=_0x5032aa;this['_clearScheduledTask']();const _0x2c586d=this[_0x1f3d3a(0x39c)][_0x1f3d3a(0x1ec)](this['unitID']);if(_0x41e154[_0x1f3d3a(0x33f)]<_0x2c586d-0x1)return this;if(this[_0x1f3d3a(0x20c)](_0x41e154))return this[_0x1f3d3a(0x2f4)]['createInstance'](ee,this[_0x1f3d3a(0xd4)],this[_0x1f3d3a(0x257)],null,[],this[_0x1f3d3a(0x101)],[],this[_0x1f3d3a(0x18c)]);this[_0x1f3d3a(0x2de)]();const _0x5e8db4=this[_0x1f3d3a(0x2f4)][_0x1f3d3a(0x389)](be,this[_0x1f3d3a(0xd4)],this[_0x1f3d3a(0x257)],this[_0x1f3d3a(0x18c)]);return _0x5e8db4['_updateLocalCache'](),_0x5e8db4;}[_0x5032aa(0xe4)](_0x1f77be){var _0x46f6fc=_0x5032aa;return this['_onConflict'](!!(_0x1f77be!=null&&_0x1f77be[_0x46f6fc(0x2b9)]));}[_0x5032aa(0x366)](_0x5ad3ee){var _0x20fe0b=_0x5032aa;return this[_0x20fe0b(0x163)]>gi?this['toggleOffline']():(this[_0x20fe0b(0x2f0)]=Ii(this[_0x20fe0b(0x163)],{'timeout':this['_resendTimeout'],'reqId':_0x5ad3ee[_0x20fe0b(0x39a)]}),this[_0x20fe0b(0x219)]=this[_0x20fe0b(0x2f0)][_0x20fe0b(0x154)](({reqId:_0x590718,timeout:_0x2b8535})=>{var _0x398e67=_0x20fe0b;this[_0x398e67(0x31d)](_0x590718,_0x2b8535);}),this);}['toggleOffline'](){var _0x1b6221=_0x5032aa;return this[_0x1b6221(0x358)](),this[_0x1b6221(0x2f4)][_0x1b6221(0x389)](de,this[_0x1b6221(0xd4)],this[_0x1b6221(0x257)],this['_awaitingChangeset'],[],this[_0x1b6221(0x18c)]);}[_0x5032aa(0x145)](){return this;}[_0x5032aa(0x238)](){var _0xeba078=_0x5032aa;this[_0xeba078(0x18c)][_0xeba078(0x16b)](this[_0xeba078(0x101)]);}['_onConflict'](_0x5d0dd0){var _0xf7f66a=_0x5032aa;return this[_0xf7f66a(0x358)](),this[_0xf7f66a(0x2f4)]['createInstance'](ue,this['unitID'],this[_0xf7f66a(0x257)],this[_0xf7f66a(0x101)],[],this['_handler'],_0x5d0dd0);}[_0x5032aa(0x31d)](_0x593a25,_0x1270ed){var _0x5c8a95=_0x5032aa,_0x37db86;_0x593a25===((_0x37db86=this[_0x5c8a95(0x101)])==null?void 0x0:_0x37db86[_0x5c8a95(0x39a)])&&(this[_0x5c8a95(0x238)](),this[_0x5c8a95(0x163)]=_0x1270ed===0x0?0x3e8:_0x1270ed*0x2);}[_0x5032aa(0x358)](){var _0x25202=_0x5032aa,_0x49a006;(_0x49a006=this[_0x25202(0x219)])==null||_0x49a006['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Se([w(0x4,_0x4299bc(_0x45b719)),w(0x5,_0x4299bc(_0x5b729b)),w(0x6,_0x5eb88f),w(0x7,_0x3340b7),w(0x8,_0x27be8a),w(0x9,_0x2e0be3),w(0xa,_0x4ae93e(J))],le);let oe=class extends ge{constructor(_0x2bd30f,_0x2d5f05,_0x407676,_0x1366b6,_0x40c5ab,_0x2ac558,_0x59fc43,_0x3b0030,_0x58b566,_0x19bed8,_0x5bda0d,_0x246ae0,_0x48cb41){var _0x36edf8=_0x5032aa;super(_0x2bd30f,_0x2d5f05,_0x407676,_0x1366b6,_0x40c5ab,_0x58b566,_0x246ae0,_0x3b0030,_0x48cb41),D(this,_0x36edf8(0x133),_0x36edf8(0x30a)),D(this,'_resendTimeout',0x0),D(this,_0x36edf8(0x2f0)),D(this,_0x36edf8(0x219)),(this[_0x36edf8(0x2f4)]=_0x59fc43,this[_0x36edf8(0x2bf)]=_0x19bed8,this[_0x36edf8(0x179)]=_0x5bda0d,this[_0x36edf8(0x22f)]=_0x48cb41,_0x2ac558&&(this[_0x36edf8(0x2f0)]=_0x2ac558,this[_0x36edf8(0x219)]=this[_0x36edf8(0x2f0)][_0x36edf8(0x154)](({reqId:_0x250868,timeout:_0x4a82b0})=>{var _0x20b3b1=_0x36edf8;this[_0x20b3b1(0x31d)](_0x250868,_0x4a82b0);})));}[_0x5032aa(0x124)](_0x22447f){var _0x436fde=_0x5032aa;return this[_0x436fde(0x100)][_0x436fde(0x129)](_0x22447f),this;}['onRemoteChangeset'](_0x402d97){var _0x1b0f3a=_0x5032aa;if(this[_0x1b0f3a(0x20c)](_0x402d97))return this[_0x1b0f3a(0x358)](),this['_injector'][_0x1b0f3a(0x389)](ee,this[_0x1b0f3a(0xd4)],this[_0x1b0f3a(0x257)],this['_awaitingChangeset'],this[_0x1b0f3a(0x100)],null,[_0x402d97],this[_0x1b0f3a(0x18c)]);try{const _0x12e113=this['_transformService'][_0x1b0f3a(0x3c9)]([_0x402d97],[this[_0x1b0f3a(0x101)]],!0x1);if(_0x42438c(_0x12e113)){const {c1Prime:_0x32c2cb,c2Prime:_0xe43cd6}=_0x12e113,_0x4d9d5c=this[_0x1b0f3a(0x179)]['transformMutationsWithChangeset'](_0x32c2cb[0x0],this[_0x1b0f3a(0x100)]);if(_0xecfa81(_0x4d9d5c)){const {c1Prime:_0x3f86c4,m2Prime:_0x54223b}=_0x4d9d5c;return this[_0x1b0f3a(0x3bc)](_0x3f86c4),_0xe43cd6[0x0][_0x1b0f3a(0x327)]=this[_0x1b0f3a(0x244)](),this[_0x1b0f3a(0x358)](),this[_0x1b0f3a(0x2f4)]['createInstance'](oe,this['unitID'],this[_0x1b0f3a(0x257)],_0xe43cd6[0x0],_0x54223b,this[_0x1b0f3a(0x18c)],void 0x0);}throw _0x4d9d5c['error'];}throw _0x12e113[_0x1b0f3a(0x35a)];}catch(_0x417308){return this['_logService'][_0x1b0f3a(0x35a)](_0x417308),this['_onConflict'](!0x1);}}[_0x5032aa(0x10b)](_0x2bbcb0){var _0x3fcfc5=_0x5032aa;if(this[_0x3fcfc5(0x358)](),this[_0x3fcfc5(0x20c)](_0x2bbcb0))return this[_0x3fcfc5(0x2f4)][_0x3fcfc5(0x389)](ee,this[_0x3fcfc5(0xd4)],this[_0x3fcfc5(0x257)],null,this['_pendingMutations'],this[_0x3fcfc5(0x101)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x45e743=this[_0x3fcfc5(0x2f4)][_0x3fcfc5(0x389)](ae,this[_0x3fcfc5(0xd4)],this[_0x3fcfc5(0x257)],this[_0x3fcfc5(0x100)],this[_0x3fcfc5(0x18c)]);return _0x45e743[_0x3fcfc5(0x2b1)](),_0x45e743[_0x3fcfc5(0x1d1)](),_0x45e743;}[_0x5032aa(0xe4)](_0x6e5d08){var _0x146ff1=_0x5032aa;return this[_0x146ff1(0x279)](!!(_0x6e5d08!=null&&_0x6e5d08[_0x146ff1(0x2b9)]));}[_0x5032aa(0x366)](_0x3ea1b6){var _0x27eb4f=_0x5032aa;return this[_0x27eb4f(0x163)]>gi?this['toggleOffline']():(this[_0x27eb4f(0x2f0)]=Ii(this[_0x27eb4f(0x163)],{'timeout':this['_resendTimeout'],'reqId':_0x3ea1b6['reqId']}),this[_0x27eb4f(0x219)]=this[_0x27eb4f(0x2f0)][_0x27eb4f(0x154)](({reqId:_0x30c7f4,timeout:_0x319655})=>{var _0x5465df=_0x27eb4f;this[_0x5465df(0x31d)](_0x30c7f4,_0x319655);}),this);}[_0x5032aa(0x2e9)](){var _0x25bafc=_0x5032aa;return this[_0x25bafc(0x358)](),this[_0x25bafc(0x2f4)][_0x25bafc(0x389)](de,this[_0x25bafc(0xd4)],this[_0x25bafc(0x257)],this[_0x25bafc(0x101)],this['_pendingMutations'],this[_0x25bafc(0x18c)]);}[_0x5032aa(0x145)](){return this;}['resend'](){var _0x40ba42=_0x5032aa;this[_0x40ba42(0x18c)][_0x40ba42(0x16b)](this[_0x40ba42(0x101)]);}[_0x5032aa(0x279)](_0x56b8ca){var _0x2ff87a=_0x5032aa;return this['_clearScheduledTask'](),this['_injector'][_0x2ff87a(0x389)](ue,this[_0x2ff87a(0xd4)],this[_0x2ff87a(0x257)],null,this[_0x2ff87a(0x100)],this['_handler'],_0x56b8ca);}['_resendWithTimeout'](_0x142667,_0x22079e){var _0x4a2c43=_0x5032aa,_0x56d238;_0x142667===((_0x56d238=this[_0x4a2c43(0x101)])==null?void 0x0:_0x56d238['reqId'])&&(this[_0x4a2c43(0x238)](),this[_0x4a2c43(0x163)]=_0x22079e===0x0?0x3e8:_0x22079e*0x2);}[_0x5032aa(0x358)](){var _0x2eb07e=_0x5032aa,_0x25ab41;(_0x25ab41=this[_0x2eb07e(0x219)])==null||_0x25ab41['unsubscribe'](),this[_0x2eb07e(0x163)]=0x0;}};oe=Se([w(0x6,_0x4299bc(_0x45b719)),w(0x7,_0x4299bc(_0x5b729b)),w(0x8,_0x5eb88f),w(0x9,_0x3340b7),w(0xa,_0x27be8a),w(0xb,_0x2e0be3),w(0xc,_0x4ae93e(J))],oe);let ue=class extends ge{constructor(_0x1fda35,_0xdca9f6,_0x237f95,_0x3130e8,_0x3b7651,_0x575549=!0x1,_0x4bc727,_0x48ce2f,_0x31a43e,_0x254eca,_0x29a3cc,_0x2fb333,_0x57a91a){var _0x2760c0=_0x5032aa;super(_0x1fda35,_0xdca9f6,_0x237f95,_0x3130e8,_0x3b7651,_0x48ce2f,_0x31a43e,_0x254eca,_0x57a91a),D(this,_0x2760c0(0x133),_0x2760c0(0x1ea)),(this[_0x2760c0(0x3d4)]=_0x575549,this['_permissionService']=_0x4bc727,this[_0x2760c0(0x23e)]=_0x29a3cc,this['_collaborationUIEventService']=_0x2fb333,this[_0x2760c0(0x22f)]=_0x57a91a,this[_0x2760c0(0x185)](),this[_0x2760c0(0x2d0)](),this[_0x2760c0(0x157)]());}[_0x5032aa(0x124)](){return this;}[_0x5032aa(0x220)](){return this;}[_0x5032aa(0x10b)](){return this;}[_0x5032aa(0xe4)](){return this;}[_0x5032aa(0x366)](){return this;}[_0x5032aa(0x2e9)](){return this;}['toggleOnline'](){return this;}[_0x5032aa(0x238)](){var _0x391bdb=_0x5032aa;throw new Error(_0x391bdb(0x2a3));}[_0x5032aa(0x2d0)](){var _0x21bcae=_0x5032aa,_0x587b13;(_0x587b13=this[_0x21bcae(0x234)])==null||_0x587b13[_0x21bcae(0x19d)](this[_0x21bcae(0xd4)],this['type'],null,[]);}[_0x5032aa(0x185)](){var _0x4198e8=_0x5032aa;this[_0x4198e8(0x3d4)]?this[_0x4198e8(0x21b)]['emitEvent']({'id':re[_0x4198e8(0xe8)]}):this[_0x4198e8(0x21b)][_0x4198e8(0x31b)]({'id':re[_0x4198e8(0x3b8)]});}[_0x5032aa(0x157)](){var _0x24141f=_0x5032aa;this[_0x24141f(0x2dc)][_0x24141f(0xcf)](new _0x5e428d(this[_0x24141f(0xd4)])['id'],!0x1);}};ue=Se([w(0x6,_0x4299bc(_0x47dd41)),w(0x7,_0x5eb88f),w(0x8,_0x2e0be3),w(0x9,_0x4299bc(_0x5b729b)),w(0xa,_0x4299bc(_0x5a5559)),w(0xb,_0x4299bc(ve)),w(0xc,_0x4ae93e(J))],ue);let de=class extends ge{constructor(_0x54acdc,_0x9b4f0f,_0x224c8e,_0x44fdb6,_0x18da7f,_0x321d94,_0x3606ab,_0x48d1ae,_0x450dac,_0x197c1b){var _0x527c65=_0x5032aa;super(_0x54acdc,_0x9b4f0f,_0x224c8e,_0x44fdb6,_0x18da7f,_0x48d1ae,_0x450dac,_0x3606ab,_0x197c1b),D(this,'status',_0x527c65(0x1dd)),this[_0x527c65(0x2f4)]=_0x321d94;}[_0x5032aa(0x124)](_0x253474){var _0x2756ff=_0x5032aa;return this[_0x2756ff(0x100)][_0x2756ff(0x129)](_0x253474),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x1c5442){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x5032aa(0x10b)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x5032aa(0xe4)](){var _0x4c9e2a=_0x5032aa;throw new Error(_0x4c9e2a(0x2fe));}[_0x5032aa(0x366)](){return this;}[_0x5032aa(0x2e9)](){return this;}[_0x5032aa(0x145)](){var _0x4c18ec=_0x5032aa;const {_injector:_0x4ad70a,_pendingMutations:_0x1a722b,_awaitingChangeset:_0x4fc39d,unitID:_0x320efb,_handler:_0x4c4cb4,type:_0x660daa}=this,_0x2d1871=Ti(_0x4ad70a,_0x320efb,_0x660daa,_0x4fc39d,_0x1a722b,_0x4c4cb4);return _0x2d1871 instanceof ae?_0x2d1871['_schedule']():(_0x2d1871 instanceof oe||_0x2d1871 instanceof le)&&_0x2d1871[_0x4c18ec(0x238)](),_0x2d1871;}[_0x5032aa(0x238)](){var _0x507987=_0x5032aa;throw new Error(_0x507987(0x2c6));}};de=Se([w(0x5,_0x4299bc(_0x45b719)),w(0x6,_0x4299bc(_0x5b729b)),w(0x7,_0x5eb88f),w(0x8,_0x2e0be3),w(0x9,_0x4ae93e(J))],de);let ee=class extends ge{constructor(_0x23ec42,_0x50aef8,_0x368e11,_0x39d60b,_0x5d0a03,_0x591e91,_0x576ae8,_0x177b97,_0xd433ba,_0x26ab0f,_0x5d7ade,_0x55c357,_0x29ca02,_0x1e36c5){var _0xace62a=_0x5032aa;super(_0x23ec42,_0x50aef8,_0x368e11,_0x39d60b,_0x576ae8,_0x5d7ade,_0x55c357,_0xd433ba,_0x1e36c5),D(this,_0xace62a(0x133),_0xace62a(0xc4)),(this['_acknowledgedAwaitingChangeset']=_0x5d0a03,this[_0xace62a(0x216)]=_0x591e91,this[_0xace62a(0x2f4)]=_0x177b97,this[_0xace62a(0x2bf)]=_0x26ab0f,this[_0xace62a(0x179)]=_0x29ca02,this[_0xace62a(0x22f)]=_0x1e36c5);}[_0x5032aa(0xf0)](_0x47140b){var _0x1af9fe=_0x5032aa;try{const _0x1bd023=[..._0x47140b,...this['_queuedRemoteChangesets']],_0x5210e9=[this[_0x1af9fe(0x101)]||this[_0x1af9fe(0x1e1)]][_0x1af9fe(0x379)](_0x4ce6a8=>!!_0x4ce6a8);let _0x11d638,_0x41c247;if(_0x5210e9[_0x1af9fe(0x119)]){const _0x1f89ae=this[_0x1af9fe(0x179)]['transformChangesets'](_0x1bd023,_0x5210e9,!0x1);if(!_0x42438c(_0x1f89ae))throw _0x1f89ae['error'];_0x11d638=_0x1f89ae[_0x1af9fe(0x13d)],_0x41c247=_0x1f89ae['c2Prime'];}else _0x11d638=_0x1bd023,_0x41c247=[];let _0x3336ad=this[_0x1af9fe(0x100)];_0x11d638[_0x1af9fe(0x1ab)](_0x317060=>{var _0x5e7c82=_0x1af9fe;let _0x229b1d;if(_0x3336ad[_0x5e7c82(0x119)]){const _0x57f482=this[_0x5e7c82(0x179)][_0x5e7c82(0x383)](_0x317060,_0x3336ad);if(!_0xecfa81(_0x57f482))throw _0x57f482[_0x5e7c82(0x35a)];_0x229b1d=_0x57f482['c1Prime'],_0x3336ad=_0x57f482[_0x5e7c82(0x316)];}else _0x229b1d=_0x317060;this[_0x5e7c82(0x3bc)](_0x229b1d);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x1af9fe(0x101)]&&_0x41c247[_0x1af9fe(0x119)]&&(_0x41c247[0x0][_0x1af9fe(0x327)]=this[_0x1af9fe(0x244)]());let _0x23db52;if(this[_0x1af9fe(0x101)]&&_0x3336ad['length']!==0x0)_0x23db52=this[_0x1af9fe(0x2f4)][_0x1af9fe(0x389)](oe,this[_0x1af9fe(0xd4)],this['type'],_0x41c247[0x0],_0x3336ad,this[_0x1af9fe(0x18c)],void 0x0);else{if(this[_0x1af9fe(0x101)]&&_0x3336ad[_0x1af9fe(0x119)]===0x0)_0x41c247[0x0][_0x1af9fe(0x327)]=this[_0x1af9fe(0x244)](),_0x23db52=this[_0x1af9fe(0x2f4)]['createInstance'](le,this[_0x1af9fe(0xd4)],this['type'],_0x41c247[0x0],this[_0x1af9fe(0x18c)]);else{if(_0x3336ad[_0x1af9fe(0x119)]!==0x0){const _0x4cc598=this['_injector'][_0x1af9fe(0x389)](ae,this[_0x1af9fe(0xd4)],this[_0x1af9fe(0x257)],_0x3336ad,this['_handler']);_0x4cc598['_schedule'](),_0x23db52=_0x4cc598;}else _0x23db52=this[_0x1af9fe(0x2f4)]['createInstance'](be,this[_0x1af9fe(0xd4)],this[_0x1af9fe(0x257)],this[_0x1af9fe(0x18c)]);}}return _0x23db52[_0x1af9fe(0x1d1)](),_0x23db52;}catch(_0x581395){return this[_0x1af9fe(0x2bf)][_0x1af9fe(0x35a)](_0x1af9fe(0x164),_0x1af9fe(0x1b5),_0x581395),this[_0x1af9fe(0x2f4)][_0x1af9fe(0x389)](ue,this[_0x1af9fe(0xd4)],this[_0x1af9fe(0x257)],this[_0x1af9fe(0x101)],this['_pendingMutations'],this[_0x1af9fe(0x18c)],!0x1);}}[_0x5032aa(0x238)](){var _0x4e8f49=_0x5032aa;throw new Error(_0x4e8f49(0x315));}['appendMutation'](_0x40682e){var _0x4af981=_0x5032aa;return this[_0x4af981(0x100)][_0x4af981(0x129)](_0x40682e),this;}[_0x5032aa(0x220)](_0x8937fc){return this['_queuedRemoteChangesets']['push'](_0x8937fc),this;}[_0x5032aa(0x10b)](_0x351db5){var _0x27f536=_0x5032aa;if(this[_0x27f536(0x101)])return this[_0x27f536(0x1e1)]=this[_0x27f536(0x101)],this['_awaitingChangeset']=null,this;throw new Error(_0x27f536(0x250));}[_0x5032aa(0xe4)](_0x45d985){var _0x2dfb1e=_0x5032aa;return this[_0x2dfb1e(0x279)](!!(_0x45d985!=null&&_0x45d985['isPermissionRej']));}[_0x5032aa(0x366)](){return this;}[_0x5032aa(0x2e9)](){var _0x20c7c2=_0x5032aa;return this[_0x20c7c2(0x2f4)][_0x20c7c2(0x389)](de,this[_0x20c7c2(0xd4)],this[_0x20c7c2(0x257)],this['_awaitingChangeset'],this[_0x20c7c2(0x100)],this[_0x20c7c2(0x18c)]);}['toggleOnline'](){return this;}[_0x5032aa(0x279)](_0x26ea8a){var _0x56b666=_0x5032aa;return this[_0x56b666(0x2f4)][_0x56b666(0x389)](ue,this[_0x56b666(0xd4)],this[_0x56b666(0x257)],this[_0x56b666(0x101)],this['_pendingMutations'],this[_0x56b666(0x18c)],_0x26ea8a);}};ee=Se([w(0x7,_0x4299bc(_0x45b719)),w(0x8,_0x4299bc(_0x5b729b)),w(0x9,_0x3340b7),w(0xa,_0x5eb88f),w(0xb,_0x2e0be3),w(0xc,_0x27be8a),w(0xd,_0x4ae93e(J))],ee);function Ti(_0x2919da,_0x3bc5d5,_0x2fab54,_0x50016c,_0x153cc6,_0x32e9b0){var _0x2fd41f=_0x5032aa;return _0x50016c&&_0x153cc6[_0x2fd41f(0x119)]?_0x2919da[_0x2fd41f(0x389)](oe,_0x3bc5d5,_0x2fab54,_0x50016c,_0x153cc6,_0x32e9b0,void 0x0):_0x50016c?_0x2919da[_0x2fd41f(0x389)](le,_0x3bc5d5,_0x2fab54,_0x50016c,_0x32e9b0):_0x153cc6[_0x2fd41f(0x119)]?_0x2919da[_0x2fd41f(0x389)](ae,_0x3bc5d5,_0x2fab54,_0x153cc6,_0x32e9b0):_0x2919da[_0x2fd41f(0x389)](be,_0x3bc5d5,_0x2fab54,_0x32e9b0);}var Hs=Object[_0x5032aa(0x284)],At=(_0x3637c5,_0x3b7623,_0x586172,_0x39df5b)=>{for(var _0xf26295=_0x39df5b>0x1?void 0x0:_0x39df5b?Hs(_0x3b7623,_0x586172):_0x3b7623,_0x11d09e=_0x3637c5['length']-0x1,_0xa2946c;_0x11d09e>=0x0;_0x11d09e--)(_0xa2946c=_0x3637c5[_0x11d09e])&&(_0xf26295=_0xa2946c(_0xf26295)||_0xf26295);return _0xf26295;},k=(_0x2d33a0,_0x1e936a)=>(_0xf14fa9,_0xdad327)=>_0x1e936a(_0xf14fa9,_0xdad327,_0x2d33a0);let st=class extends _0x22e684{constructor(_0x23ada4,_0x265243,_0x5de4f3,_0x1627d0,_0x536170,_0x19b635,_0x4fe63d,_0x1b0893,_0x1da327,_0x526189,_0x3e9dce,_0x14b79e,_0xe540f8,_0x6af372){var _0x29aebb=_0x5032aa;super(),D(this,'_state$',new _0x58f842(null)),D(this,_0x29aebb(0x1c8),this[_0x29aebb(0x36b)][_0x29aebb(0x330)]()),D(this,_0x29aebb(0x1da)),D(this,_0x29aebb(0x3a2),!0x1),D(this,_0x29aebb(0x1b9),''),D(this,'_changesetReqId',0x0),D(this,'status$',this['state$'][_0x29aebb(0x2af)](_0x1b237d(_0x26bcb3=>_0x26bcb3?_0x26bcb3[_0x29aebb(0x133)]:Si[_0x29aebb(0x365)]),_0x27a2ca(0x1))),D(this,_0x29aebb(0x28d),!0x1),D(this,_0x29aebb(0x373),[]),(this[_0x29aebb(0xd4)]=_0x23ada4,this[_0x29aebb(0x143)]=_0x265243,this[_0x29aebb(0x35e)]=_0x5de4f3,this['_injector']=_0x1627d0,this[_0x29aebb(0x21d)]=_0x536170,this[_0x29aebb(0x23e)]=_0x19b635,this['_revisionService']=_0x4fe63d,this['_eventService']=_0x1b0893,this['_univerInstanceService']=_0x1da327,this['_logService']=_0x526189,this['_commandService']=_0x3e9dce,this[_0x29aebb(0x2dc)]=_0x14b79e,this[_0x29aebb(0x208)]=_0xe540f8,this[_0x29aebb(0x234)]=_0x6af372);}get[_0x5032aa(0x2c1)](){var _0x5696cd=_0x5032aa;return this[_0x5696cd(0x1da)];}async[_0x5032aa(0x193)](){var _0x2e5c13=_0x5032aa;if(this[_0x2e5c13(0x2c1)])throw new Error(_0x2e5c13(0x34e));await this[_0x2e5c13(0x354)]();}[_0x5032aa(0x17a)](){return this['_collaborationPaused']=!0x0,_0x526827(()=>{var _0x2e3be6=_0x57d4;this[_0x2e3be6(0x3a2)]=!0x1,this[_0x2e3be6(0x2a7)]();});}[_0x5032aa(0x1be)](_0x1cab97){var _0x22d2b7=_0x5032aa;this[_0x22d2b7(0x3ad)](_0x1cab97);}[_0x5032aa(0x16e)](_0x4db670){var _0x5f018d=_0x5032aa;this[_0x5f018d(0x1da)]=_0x4db670,this['_state$'][_0x5f018d(0x1b2)](_0x4db670);}async[_0x5032aa(0x354)](){var _0xa2b404=_0x5032aa,_0x5067ad;this['_updateState'](await this[_0xa2b404(0x313)]()),this[_0xa2b404(0x208)]&&((_0x5067ad=this[_0xa2b404(0x208)])==null||_0x5067ad[_0xa2b404(0x134)](this[_0xa2b404(0xd4)]),this[_0xa2b404(0x22c)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0xa2b404(0xd4)])[_0xa2b404(0x154)](_0x2f11ac=>{var _0x1051a8=_0xa2b404;this['_logService'][_0x1051a8(0x33e)](_0x1051a8(0x1e5),_0x1051a8(0x3b4),_0x2f11ac),_0x2f11ac===mi['OTHER_CLIENTS_EDITING']?(this[_0x1051a8(0x347)][_0x1051a8(0x31b)]({'id':re[_0x1051a8(0x34c)]}),this['_permissionService'][_0x1051a8(0xcf)](new _0x5e428d(this[_0x1051a8(0xd4)])['id'],!0x1),this[_0x1051a8(0x2dc)][_0x1051a8(0xf1)](!0x1)):(this[_0x1051a8(0x2dc)]['updatePermissionPoint'](new _0x5e428d(this[_0x1051a8(0xd4)])['id'],!0x0),this[_0x1051a8(0x2dc)][_0x1051a8(0xf1)](!0x0));})));let _0x37c86a=!0x1;return this[_0xa2b404(0x22c)](this[_0xa2b404(0x143)][_0xa2b404(0x16f)]['subscribe'](_0x3b22f9=>{var _0x382c3f=_0xa2b404;_0x3b22f9===me[_0x382c3f(0x10f)]?this[_0x382c3f(0x390)](_0x37c86a):_0x3b22f9===me['OFFLINE']&&(_0x37c86a=!0x0,this['_toggleOffline']());})),this[_0xa2b404(0x22c)](this[_0xa2b404(0x143)]['event$']['subscribe'](_0x26e45e=>{var _0xf8b4e0=_0xa2b404;try{switch(_0x26e45e[_0xf8b4e0(0x36a)]){case _0x4f23c0['NEW_CHANGESETS']:{this[_0xf8b4e0(0x299)](_0x411df3(_0x26e45e[_0xf8b4e0(0x33d)]));break;}case _0x4f23c0[_0xf8b4e0(0x2f8)]:{this['_onRemoteACK'](_0x26e45e[_0xf8b4e0(0x33d)]);break;}case _0x4f23c0[_0xf8b4e0(0x2a8)]:{this[_0xf8b4e0(0x149)]();break;}case _0x4f23c0['CHANGESET_SHOULD_RETRY']:{this[_0xf8b4e0(0x26e)](_0x26e45e['data']);break;}case _0x4f23c0['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xf8b4e0(0x397)](_0x26e45e[_0xf8b4e0(0x33d)][_0xf8b4e0(0x1f8)]['map'](_0x275a82=>_0x411df3(_0x275a82)));break;}case _0x4f23c0[_0xf8b4e0(0x36c)]:{this[_0xf8b4e0(0x149)]({'isPermissionRej':!0x0});break;}case _0x4f23c0[_0xf8b4e0(0x104)]:break;}}catch(_0x488c25){throw console[_0xf8b4e0(0x35a)]('Error\x20on\x20receiving\x20event',_0x488c25),_0x488c25;}})),this[_0xa2b404(0x1da)];}['_unlockTransition'](){var _0x163903=_0x5032aa;this[_0x163903(0x28d)]=!0x1;}[_0x5032aa(0x25b)](){var _0x5a9513=_0x5032aa;if(this[_0x5a9513(0x28d)])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[_0x5a9513(0x28d)]=!0x0;}['_onLocalMutation'](_0x520812){var _0x5ab7be=_0x5032aa;this['_lockTransition'](),this['_updateState'](this[_0x5ab7be(0x1da)][_0x5ab7be(0x124)](_0x520812)),this[_0x5ab7be(0x2e3)]();}[_0x5032aa(0x299)](_0x247c87){var _0x32171b=_0x5032aa;if(!(_0x247c87['revision']<=this[_0x32171b(0x39c)]['getCurrentRevOfUnit'](this[_0x32171b(0xd4)]))){if(this[_0x32171b(0x3a2)]){this['_remoteChangesetQueue'][_0x32171b(0x129)](_0x247c87);return;}this['_applyRemoteChangeset'](_0x247c87);}}[_0x5032aa(0x2a7)](){var _0x4e09ba=_0x5032aa;this[_0x4e09ba(0x373)][_0x4e09ba(0x1ab)](_0x1f7213=>this[_0x4e09ba(0x3bf)](_0x1f7213)),this[_0x4e09ba(0x373)]=[];}[_0x5032aa(0x3bf)](_0x343452){var _0x58e1b3=_0x5032aa;const _0x501edd=this[_0x58e1b3(0x21d)][_0x58e1b3(0xf6)]['fetchThroughInterceptors'](this[_0x58e1b3(0x21d)]['interceptor']['getInterceptPoints']()[_0x58e1b3(0x18f)])(_0x343452[_0x58e1b3(0x24b)],null)||_0x343452[_0x58e1b3(0x24b)],_0x2debb5={..._0x343452,'mutations':_0x501edd};this[_0x58e1b3(0x25b)](),this[_0x58e1b3(0x16e)](this[_0x58e1b3(0x1da)][_0x58e1b3(0x220)](_0x2debb5)),this[_0x58e1b3(0x2e3)]();}[_0x5032aa(0x3b1)](_0x5df3b5){var _0x5594ac=_0x5032aa;this[_0x5594ac(0x25b)](),this[_0x5594ac(0x16e)](this[_0x5594ac(0x1da)][_0x5594ac(0x10b)](_0x5df3b5)),this[_0x5594ac(0x2e3)]();}['_onRemoteRejected'](_0xa2d47c){var _0x2b5d92=_0x5032aa;this['_lockTransition'](),this['_updateState'](this[_0x2b5d92(0x1da)][_0x2b5d92(0xe4)](_0xa2d47c)),this[_0x2b5d92(0x2e3)]();}[_0x5032aa(0x26e)](_0x202a91){var _0x2f6b01=_0x5032aa;this[_0x2f6b01(0x25b)](),this[_0x2f6b01(0x16e)](this[_0x2f6b01(0x1da)][_0x2f6b01(0x366)](_0x202a91)),this[_0x2f6b01(0x2e3)]();}['_onFetchMissResult'](_0x31649a){var _0x16a832=_0x5032aa;if(!(this[_0x16a832(0x1da)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xf66841=_0x31649a['map'](_0x64ea93=>{var _0x5a577d=_0x16a832;const _0x2808a3=this[_0x5a577d(0x21d)][_0x5a577d(0xf6)][_0x5a577d(0x39b)](this[_0x5a577d(0x21d)][_0x5a577d(0xf6)][_0x5a577d(0x2f6)]()[_0x5a577d(0x18f)])(_0x64ea93[_0x5a577d(0x24b)],null)||_0x64ea93[_0x5a577d(0x24b)];return{..._0x64ea93,'mutations':_0x2808a3};});this[_0x16a832(0x25b)](),this['_updateState'](this[_0x16a832(0x1da)]['onMissedChangesetFetched'](_0xf66841)),this['_unlockTransition']();}['_toggleOffline'](){var _0x1893f2=_0x5032aa;this[_0x1893f2(0x25b)](),this[_0x1893f2(0x16e)](this['_state']['toggleOffline']()),this['_unlockTransition']();}[_0x5032aa(0x390)](_0x27d107=!0x1){var _0x53c7cb=_0x5032aa;this['_lockTransition'](),this[_0x53c7cb(0x16e)](this[_0x53c7cb(0x1da)]['toggleOnline']()),this[_0x53c7cb(0x2e3)]();const _0x38f098=this[_0x53c7cb(0x1da)];_0x27d107&&_0x38f098 instanceof be&&(this[_0x53c7cb(0x25b)](),this['_updateState'](_0x38f098['fetchMiss']()),this[_0x53c7cb(0x2e3)]());}async[_0x5032aa(0x313)](){return new Promise(_0x21fc04=>{var _0x7e6ee1=_0x57d4;this[_0x7e6ee1(0x143)][_0x7e6ee1(0x16f)][_0x7e6ee1(0x2af)](_0xb5abb6(0x1))['subscribe'](async _0x507c75=>{var _0x442c1c=_0x7e6ee1;_0x21fc04(await this['_createInitialStateImpl'](_0x507c75===me[_0x442c1c(0x10f)]));});});}['_createHandler'](){const _0x177ea9=this['unitID'];return{'onStateChange':(_0x39429b,_0x13b47b)=>{var _0x5f4735=_0x57d4;if(_0x39429b!==this[_0x5f4735(0x1da)])throw new Error(_0x5f4735(0x240)+_0x39429b['status']+'\x0aAfter:\x20'+_0x13b47b[_0x5f4735(0x133)]+_0x5f4735(0x19a)+this[_0x5f4735(0x1da)][_0x5f4735(0x133)]);this['_updateState'](_0x13b47b);},'onSendChangeset':_0x4d1362=>{var _0x3d3110=_0x57d4;_0x4d1362['sid']||(_0x4d1362[_0x3d3110(0x13b)]=this[_0x3d3110(0x1b9)],_0x4d1362[_0x3d3110(0x39a)]=++this[_0x3d3110(0x225)]);const _0x3c9c53={'eventID':_0x4f23c0[_0x3d3110(0x338)],'data':{'unitID':_0x4d1362[_0x3d3110(0xd4)],'unitType':this[_0x3d3110(0x35e)],'changeset':_0x4d1362,'memberID':this['session'][_0x3d3110(0x131)]()}};this[_0x3d3110(0x143)][_0x3d3110(0x1a8)](_0x3c9c53,this[_0x3d3110(0xd4)]);},'onMissingChangesets':({from:_0x2d7da,to:_0x556079})=>{var _0x123e8c=_0x57d4;this[_0x123e8c(0x2bf)][_0x123e8c(0x33e)](_0x123e8c(0x1e5),_0x123e8c(0x349)+_0x2d7da+_0x123e8c(0x1b1)+_0x556079);const _0x2d1f82={'eventID':_0x4f23c0['FETCH_MISSING'],'data':{'unitID':_0x177ea9,'unitType':this['_type'],'from':_0x2d7da,'to':_0x556079}};this[_0x123e8c(0x143)][_0x123e8c(0x1a8)](_0x2d1f82,this[_0x123e8c(0xd4)]);}};}async[_0x5032aa(0x2ab)](_0x484d2c){var _0x374ec2=_0x5032aa,_0x4cefc0,_0x318f46,_0x3e3aa3;const _0x4e759d=await((_0x4cefc0=this[_0x374ec2(0x234)])==null?void 0x0:_0x4cefc0[_0x374ec2(0x1bd)](this[_0x374ec2(0xd4)])),_0x1582b8=(_0x318f46=_0x4e759d==null?void 0x0:_0x4e759d[_0x374ec2(0x24b)])!=null?_0x318f46:[],_0x15685d=(_0x3e3aa3=_0x4e759d==null?void 0x0:_0x4e759d[_0x374ec2(0xfe)])!=null?_0x3e3aa3:null,_0x287c84=!!(_0x15685d!=null&&_0x15685d['sid'])&&!!(_0x15685d!=null&&_0x15685d[_0x374ec2(0x39a)]);this[_0x374ec2(0x1b9)]=_0x287c84?_0x15685d[_0x374ec2(0x13b)]:_0x379a15(),this[_0x374ec2(0x225)]=_0x287c84?_0x15685d[_0x374ec2(0x39a)]:0x0;const _0x123277=this[_0x374ec2(0xd4)];try{this[_0x374ec2(0x231)](_0x15685d,_0x1582b8);}catch(_0x5155cc){this[_0x374ec2(0x2bf)][_0x374ec2(0x35a)](_0x5155cc);}const _0x186c1c=this[_0x374ec2(0x2f1)]();if(_0x484d2c){const _0x1d9687=Ti(this[_0x374ec2(0x2f4)],_0x123277,this[_0x374ec2(0x35e)],_0x15685d,_0x1582b8,_0x186c1c);return _0x1d9687 instanceof ae?_0x1d9687['_schedule']():(_0x1d9687 instanceof oe||_0x1d9687 instanceof le)&&_0x1d9687[_0x374ec2(0x238)](),_0x1d9687;}return this[_0x374ec2(0x2f4)][_0x374ec2(0x389)](de,_0x123277,this['_type'],_0x15685d,_0x1582b8,_0x186c1c);}['_replayCachedMutations'](_0x5727b2,_0x5a49cd){var _0x33e253=_0x5032aa,_0x570453,_0x39a6bb;const _0x4c6e71=this[_0x33e253(0x21d)][_0x33e253(0xf6)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x33e253(0xf6)][_0x33e253(0x2f6)]()[_0x33e253(0x18f)]);(_0x570453=_0x4c6e71((_0x5727b2==null?void 0x0:_0x5727b2['mutations'])||[],null))==null||_0x570453[_0x33e253(0x1ab)](_0x179c84=>this[_0x33e253(0x3ca)][_0x33e253(0x38e)](_0x179c84['id'],_0x179c84[_0x33e253(0x202)])),(_0x39a6bb=_0x4c6e71(_0x5a49cd||[],null))==null||_0x39a6bb[_0x33e253(0x1ab)](_0x226d82=>this[_0x33e253(0x3ca)]['executeCommand'](_0x226d82['id'],_0x226d82[_0x33e253(0x202)]));}};st=At([k(0x3,_0x4299bc(_0x45b719)),k(0x4,_0x4299bc(_0xaa1f9c)),k(0x5,_0x4299bc(_0x5a5559)),k(0x6,_0x4299bc(_0x5b729b)),k(0x7,_0x4299bc(ve)),k(0x8,_0x4d04ef),k(0x9,_0x3340b7),k(0xa,_0x5eb88f),k(0xb,_0x47dd41),k(0xc,_0x4ae93e(_t)),k(0xd,_0x4ae93e(J))],st);let It=class extends st{constructor(_0x81810c,_0xceea3f,_0x530be5,_0x268578,_0x4d5b1a,_0x2a1d9d,_0x5c9080,_0x4f9653,_0x27fc8c,_0x28ab7a,_0x5c30e1,_0x2767be,_0x31cc99,_0x15f612){var _0x5468bc=_0x5032aa;super(_0x81810c,_0x530be5,_0xceea3f,_0x268578,_0x4d5b1a,_0x2a1d9d,_0x5c9080,_0x4f9653,_0x27fc8c,_0x28ab7a,_0x5c30e1,_0x2767be,_0x31cc99,_0x15f612),D(this,_0x5468bc(0x3af),null),(this['unitID']=_0x81810c,this['type']=_0xceea3f);}[_0x5032aa(0x18a)](_0xa1479e){var _0x586095=_0x5032aa;this[_0x586095(0x3af)]=_0xa1479e;}[_0x5032aa(0x152)](){var _0xaea80b=_0x5032aa;this['_handlerCallback']=null,super[_0xaea80b(0x152)]();}[_0x5032aa(0x2f1)](){var _0x567c0d=_0x5032aa;const _0xf10673=super[_0x567c0d(0x2f1)]();return _0xf10673['onTransformIME']=_0x1f5fd2=>{var _0x3d5fb4=_0x567c0d,_0x538816,_0x5f1903;return(_0x5f1903=(_0x538816=this[_0x3d5fb4(0x3af)])==null?void 0x0:_0x538816[_0x3d5fb4(0x27d)])==null?void 0x0:_0x5f1903[_0x3d5fb4(0x308)](_0x538816,_0x1f5fd2);},_0xf10673['onTransformState']=_0x27700f=>{var _0x591f1d=_0x567c0d,_0x1e7870,_0x5d4440;return(_0x5d4440=(_0x1e7870=this[_0x591f1d(0x3af)])==null?void 0x0:_0x1e7870[_0x591f1d(0x3c0)])==null?void 0x0:_0x5d4440[_0x591f1d(0x308)](_0x1e7870,_0x27700f);},_0xf10673[_0x567c0d(0x126)]=_0x329a2d=>{var _0x6eb65d,_0x3cc050;return(_0x3cc050=(_0x6eb65d=this['_handlerCallback'])==null?void 0x0:_0x6eb65d['onTransformSelections'])==null?void 0x0:_0x3cc050['call'](_0x6eb65d,_0x329a2d);},_0xf10673['onSyncEditingCollabCursor']=_0x26ac47=>{var _0x1dcf6d=_0x567c0d,_0x109dbd,_0xa6f685;return(_0xa6f685=(_0x109dbd=this[_0x1dcf6d(0x3af)])==null?void 0x0:_0x109dbd[_0x1dcf6d(0x27b)])==null?void 0x0:_0xa6f685[_0x1dcf6d(0x308)](_0x109dbd,_0x26ac47);},_0xf10673[_0x567c0d(0x37a)]=_0x2849bd=>{var _0x3aa5db=_0x567c0d,_0x28b740,_0x5bdd45,_0x52f1ac;if(!((_0x28b740=this[_0x3aa5db(0x3af)])!=null&&_0x28b740[_0x3aa5db(0x37a)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x52f1ac=(_0x5bdd45=this[_0x3aa5db(0x3af)])==null?void 0x0:_0x5bdd45['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x52f1ac[_0x3aa5db(0x308)](_0x5bdd45,_0x2849bd);},_0xf10673[_0x567c0d(0x317)]=_0x342957=>{var _0x245f3a=_0x567c0d,_0x46816b,_0x16236c,_0x319ad4;if(!((_0x46816b=this[_0x245f3a(0x3af)])!=null&&_0x46816b[_0x245f3a(0x317)]))throw new Error(_0x245f3a(0x288));return(_0x319ad4=(_0x16236c=this['_handlerCallback'])==null?void 0x0:_0x16236c['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x319ad4[_0x245f3a(0x308)](_0x16236c,_0x342957);},_0xf10673;}async[_0x5032aa(0x354)](){var _0x1cf4c6=_0x5032aa;const _0x270f57=await super['_init']();return this[_0x1cf4c6(0x22c)](this['_commandService'][_0x1cf4c6(0x391)]((_0x18a6b1,_0x2bc48d)=>{var _0x5e739d=_0x1cf4c6;if(_0x18a6b1[_0x5e739d(0x257)]!==_0x4e9b5a['MUTATION']||_0x2bc48d!=null&&_0x2bc48d['fromCollab']||_0x2bc48d!=null&&_0x2bc48d[_0x5e739d(0x181)]||_0x18a6b1['id']===_0x23fa5f['id'])return;const _0x4c2745=_0x18a6b1[_0x5e739d(0x202)];if((_0x4c2745==null?void 0x0:_0x4c2745[_0x5e739d(0x1a7)])!==this['unitID'])return;const _0x35fa98=_0x18a6b1,_0x39f6f8=this[_0x5e739d(0x21d)][_0x5e739d(0xf6)][_0x5e739d(0x39b)](this['_compressMutationService']['interceptor'][_0x5e739d(0x2f6)]()['COMPRESS_MUTATION_SEND'])([_0x35fa98],this[_0x5e739d(0x345)])||[_0x35fa98];this[_0x5e739d(0x3ad)](_0x39f6f8[0x0]);})),_0x270f57;}};It=At([k(0x3,_0x4299bc(_0x45b719)),k(0x4,_0x4299bc(_0xaa1f9c)),k(0x5,_0x4299bc(_0x5a5559)),k(0x6,_0x4299bc(_0x5b729b)),k(0x7,_0x4299bc(ve)),k(0x8,_0x4d04ef),k(0x9,_0x3340b7),k(0xa,_0x5eb88f),k(0xb,_0x47dd41),k(0xc,_0x4ae93e(_t)),k(0xd,_0x4ae93e(J))],It);let St=class extends st{constructor(_0x1bc339,_0x162674,_0x52f4d0,_0x28a3fb,_0x5ea5ec,_0x31f4cf,_0x51c590,_0x12b6cb,_0x3d3252,_0x5073e6,_0x1b36e9,_0x3b7cc2,_0x5228e3,_0x36dda4,_0x3bf4c6){var _0x1fc937=_0x5032aa;super(_0x1bc339,_0x52f4d0,_0x162674,_0x28a3fb,_0x5ea5ec,_0x31f4cf,_0x51c590,_0x3d3252,_0x5073e6,_0x1b36e9,_0x3b7cc2,_0x5228e3,_0x36dda4,_0x3bf4c6),this[_0x1fc937(0xd4)]=_0x1bc339,this[_0x1fc937(0x257)]=_0x162674,this['_sheetTransformSelectionsService']=_0x12b6cb;}[_0x5032aa(0x2f1)](){var _0x5a3e0a=_0x5032aa;const _0x41689c=super['_createHandler']();return _0x41689c['onTransformSelections']=_0x15cb73=>this['_sheetTransformSelectionsService'][_0x5a3e0a(0x251)](_0x15cb73),_0x41689c;}async['_init'](){var _0x3192e1=_0x5032aa;const _0x1be18b=await super[_0x3192e1(0x354)]();return this['disposeWithMe'](this[_0x3192e1(0x3ca)][_0x3192e1(0x391)]((_0x400c33,_0x3c280c)=>{var _0x192306=_0x3192e1;if(_0x400c33[_0x192306(0x257)]!==_0x4e9b5a[_0x192306(0x22e)]||_0x3c280c!=null&&_0x3c280c['fromCollab']||_0x3c280c!=null&&_0x3c280c[_0x192306(0x181)])return;const _0x2d0572=_0x400c33[_0x192306(0x202)];if((_0x2d0572==null?void 0x0:_0x2d0572[_0x192306(0x1a7)])!==this[_0x192306(0xd4)])return;const _0x4469fa=_0x400c33,_0x428ad2=this['_compressMutationService'][_0x192306(0xf6)][_0x192306(0x39b)](this[_0x192306(0x21d)][_0x192306(0xf6)][_0x192306(0x2f6)]()[_0x192306(0x1fe)])([_0x4469fa],this[_0x192306(0x345)])||[_0x4469fa];this['_onLocalMutation'](_0x428ad2[0x0]);})),_0x1be18b;}};St=At([k(0x3,_0x4299bc(_0x45b719)),k(0x4,_0x4299bc(_0xaa1f9c)),k(0x5,_0x4299bc(_0x5a5559)),k(0x6,_0x4299bc(_0x5b729b)),k(0x7,_0x4299bc(it)),k(0x8,_0x4299bc(ve)),k(0x9,_0x4d04ef),k(0xa,_0x3340b7),k(0xb,_0x5eb88f),k(0xc,_0x47dd41),k(0xd,_0x4ae93e(_t)),k(0xe,_0x4ae93e(J))],St);const Bs=_0x606720(_0x5032aa(0x287));function Fs(_0x484049){var _0x342a05=_0x5032aa,_0x4f2ed0,_0x421100,_0x40b850,_0x196af6,_0x50120a;const _0xdcf3fe=_0x484049[_0x342a05(0x33d)],_0x5e3b11=JSON[_0x342a05(0x27a)](_0xdcf3fe);switch(_0x5e3b11[_0x342a05(0x268)]){case j['HEARTBEAT']:case j[_0x342a05(0x32c)]:{const _0x184ffa=_0x5e3b11['infoRsp'];return{..._0x5e3b11,'data':_0x184ffa,'cmd':_0x5e3b11[_0x342a05(0x268)]};}case j['JOIN']:{const _0x1f8f5a=_0x5e3b11[_0x342a05(0x3a5)];return{..._0x5e3b11,'data':_0x1f8f5a,'cmd':_0x5e3b11[_0x342a05(0x268)]};}case j[_0x342a05(0x38c)]:{const _0x1aba62=_0x5e3b11['collaMsg'];switch(_0x1aba62[_0x342a05(0x36a)]){case _0x4f23c0[_0x342a05(0x36c)]:return{..._0x5e3b11,'data':{..._0x1aba62,'data':(_0x4f2ed0=_0x1aba62['permissionRejEvent'])==null?void 0x0:_0x4f2ed0['cs']},'cmd':_0x5e3b11[_0x342a05(0x268)]};case _0x4f23c0[_0x342a05(0x2f8)]:return{..._0x5e3b11,'data':{..._0x1aba62,'data':(_0x421100=_0x1aba62[_0x342a05(0x20f)])==null?void 0x0:_0x421100['cs']},'cmd':_0x5e3b11[_0x342a05(0x268)]};case _0x4f23c0['NEW_CHANGESETS']:return{..._0x5e3b11,'data':{..._0x1aba62,'data':(_0x40b850=_0x1aba62[_0x342a05(0x2e5)])==null?void 0x0:_0x40b850['cs']},'cmd':_0x5e3b11[_0x342a05(0x268)]};case _0x4f23c0[_0x342a05(0x2a8)]:return{..._0x5e3b11,'data':{..._0x1aba62,'data':(_0x196af6=_0x1aba62[_0x342a05(0x1b7)])==null?void 0x0:_0x196af6['cs']},'cmd':_0x5e3b11['cmd']};case _0x4f23c0[_0x342a05(0x236)]:return{..._0x5e3b11,'data':{..._0x1aba62,'data':(_0x50120a=_0x1aba62[_0x342a05(0xdd)])==null?void 0x0:_0x50120a['cs']},'cmd':_0x5e3b11[_0x342a05(0x268)]};case _0x4f23c0[_0x342a05(0x32f)]:return{..._0x5e3b11,'data':{..._0x1aba62,'data':_0x1aba62[_0x342a05(0x2c8)]},'cmd':_0x5e3b11[_0x342a05(0x268)]};case _0x4f23c0[_0x342a05(0x263)]:return{..._0x5e3b11,'data':{..._0x1aba62,'data':_0x1aba62[_0x342a05(0x155)]},'cmd':_0x5e3b11['cmd']};case _0x4f23c0[_0x342a05(0x38d)]:return{..._0x5e3b11,'data':{..._0x1aba62,'data':_0x1aba62['leaveEvent']},'cmd':_0x5e3b11[_0x342a05(0x268)]};case _0x4f23c0['LIVESHARE_NEW_HOST']:return{..._0x5e3b11,'data':{..._0x1aba62,'data':_0x1aba62[_0x342a05(0x206)]},'cmd':_0x5e3b11['cmd']};case _0x4f23c0[_0x342a05(0x212)]:case _0x4f23c0[_0x342a05(0x115)]:return{..._0x5e3b11,'data':{..._0x1aba62,'data':_0x1aba62['liveShareOperation']},'cmd':_0x5e3b11[_0x342a05(0x268)]};case _0x4f23c0[_0x342a05(0x237)]:return{..._0x5e3b11,'data':{..._0x1aba62,'data':_0x1aba62['liveShareNewHost']},'cmd':_0x5e3b11[_0x342a05(0x268)]};case _0x4f23c0['MSG_FOR_ERROR']:return{..._0x5e3b11,'data':_0x1aba62,'cmd':_0x5e3b11[_0x342a05(0x268)]};case _0x4f23c0['COMMENT_UPDATE']:return{..._0x5e3b11,'data':{..._0x1aba62,'data':_0x1aba62['commentUpdateEvent']},'cmd':_0x5e3b11[_0x342a05(0x268)]};case _0x4f23c0[_0x342a05(0x203)]:return{..._0x5e3b11,'data':{..._0x1aba62,'data':_0x1aba62[_0x342a05(0x34f)]},'cmd':_0x5e3b11['cmd']};case _0x4f23c0['SHOULD_CLOSE_CONN']:return{..._0x5e3b11,'data':{..._0x1aba62,'data':_0x1aba62['shouldCloseConn']},'cmd':_0x5e3b11[_0x342a05(0x268)]};case _0x4f23c0[_0x342a05(0x104)]:return{..._0x5e3b11,'data':{..._0x1aba62,'data':_0x1aba62[_0x342a05(0x2fc)]},'cmd':_0x5e3b11[_0x342a05(0x268)]};default:return _0x5e3b11;}}default:return _0x5e3b11;}}function js(_0x40a07f){var _0x1a8a6e=_0x5032aa;switch(_0x40a07f[_0x1a8a6e(0x268)]){case j[_0x1a8a6e(0x1d2)]:case j[_0x1a8a6e(0x32c)]:return JSON[_0x1a8a6e(0x1a4)]({'cmd':_0x40a07f[_0x1a8a6e(0x268)],'routeKey':_0x40a07f['routeKey']});case j[_0x1a8a6e(0xc2)]:{let _0x32e3d5;switch(_0x40a07f[_0x1a8a6e(0x33d)]['eventID']){case _0x4f23c0['UPDATE_CURSOR']:{_0x32e3d5={'eventID':_0x4f23c0['UPDATE_CURSOR'],'updateCursorEvent':_0x40a07f[_0x1a8a6e(0x33d)][_0x1a8a6e(0x33d)]};break;}case _0x4f23c0[_0x1a8a6e(0x38d)]:{_0x32e3d5={'eventID':_0x4f23c0[_0x1a8a6e(0x38d)],'leaveEvent':_0x40a07f[_0x1a8a6e(0x33d)][_0x1a8a6e(0x33d)]};break;}case _0x4f23c0[_0x1a8a6e(0x263)]:{_0x32e3d5={'eventID':_0x4f23c0[_0x1a8a6e(0x263)],'joinEvent':_0x40a07f['data']['data']};break;}case _0x4f23c0['LIVESHARE_NEW_HOST']:{_0x32e3d5={'eventID':_0x4f23c0[_0x1a8a6e(0xc8)],'liveShareNewHost':_0x40a07f['data']['data']};break;}case _0x4f23c0[_0x1a8a6e(0x115)]:{_0x32e3d5={'eventID':_0x4f23c0[_0x1a8a6e(0x115)],'liveShareOperation':_0x40a07f[_0x1a8a6e(0x33d)][_0x1a8a6e(0x33d)]};break;}case _0x4f23c0['LIVESHARE_TERMINATE']:{_0x32e3d5={'eventID':_0x4f23c0[_0x1a8a6e(0x237)],'liveShareTerminate':_0x40a07f[_0x1a8a6e(0x33d)]['data']};break;}case _0x4f23c0[_0x1a8a6e(0x3ce)]:{_0x32e3d5={'eventID':_0x4f23c0[_0x1a8a6e(0x3ce)],'liveShareRequestHost':_0x40a07f['data'][_0x1a8a6e(0x33d)]};break;}case _0x4f23c0[_0x1a8a6e(0x212)]:{_0x32e3d5={'eventID':_0x4f23c0[_0x1a8a6e(0x212)]};break;}default:_0x32e3d5={'eventID':_0x40a07f[_0x1a8a6e(0x33d)]['eventID']};}return JSON[_0x1a8a6e(0x1a4)]({'cmd':_0x40a07f[_0x1a8a6e(0x268)],'routeKey':_0x40a07f['routeKey'],'collaMsg':_0x32e3d5});}case j[_0x1a8a6e(0xf9)]:return JSON[_0x1a8a6e(0x1a4)]({'cmd':_0x40a07f['cmd'],'routeKey':_0x40a07f[_0x1a8a6e(0x1f5)],'joinReq':_0x40a07f[_0x1a8a6e(0x33d)]});case j[_0x1a8a6e(0x363)]:return JSON['stringify']({'cmd':_0x40a07f[_0x1a8a6e(0x268)],'routeKey':_0x40a07f[_0x1a8a6e(0x1f5)],'leaveReq':_0x40a07f[_0x1a8a6e(0x33d)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Vs=Object[_0x5032aa(0x284)],Gs=(_0x30c22a,_0x192c7a,_0xfe4c7e,_0x37bb69)=>{var _0x265af8=_0x5032aa;for(var _0x1651b3=_0x37bb69>0x1?void 0x0:_0x37bb69?Vs(_0x192c7a,_0xfe4c7e):_0x192c7a,_0x526c5a=_0x30c22a[_0x265af8(0x119)]-0x1,_0x17dccf;_0x526c5a>=0x0;_0x526c5a--)(_0x17dccf=_0x30c22a[_0x526c5a])&&(_0x1651b3=_0x17dccf(_0x1651b3)||_0x1651b3);return _0x1651b3;},ye=(_0x189358,_0x4fb6a0)=>(_0x223a3b,_0x1b81d0)=>_0x4fb6a0(_0x223a3b,_0x1b81d0,_0x189358);const Oi=_0x606720(_0x5032aa(0x310));function Ws(_0x564d58,_0x1982dd,_0x3acd93){var _0x23caf9=_0x5032aa;return _0x564d58+'/'+_0x1982dd+'/unit/'+_0x3acd93+_0x23caf9(0x174);}let Gt=class extends _0x189e92{constructor(_0x130e45,_0x1c0b16,_0x2f21d1,_0x5a93dd,_0x5edd37){var _0x265467=_0x5032aa;super(),this[_0x265467(0x2f4)]=_0x130e45,this[_0x265467(0x1f6)]=_0x1c0b16,this['_configService']=_0x2f21d1,this['_logService']=_0x5a93dd,this[_0x265467(0x2f9)]=_0x5edd37;}[_0x5032aa(0x346)](_0x5b5bea){var _0xf9b403=_0x5032aa;const _0x15c51c=this[_0xf9b403(0x2f4)][_0xf9b403(0x32b)](_0x54a032);if(!_0x15c51c)throw new Error(_0xf9b403(0x39e));const _0x114d61=_0x15c51c[_0xf9b403(0x245)](_0x5b5bea);if(!_0x114d61)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x276e70=new _0xacf89d(),_0x234c12=new _0x35123a();_0x276e70[_0xf9b403(0x128)](_0x114d61[_0xf9b403(0x146)][_0xf9b403(0x154)](_0x507806=>_0x234c12['next'](_0x507806))),_0x276e70[_0xf9b403(0x128)](_0x526827(()=>_0x234c12[_0xf9b403(0x26c)]()));const _0x5a4a07=new _0x35123a();_0x276e70[_0xf9b403(0x128)](_0x114d61['error$'][_0xf9b403(0x154)](_0xd75051=>_0x5a4a07[_0xf9b403(0x1b2)](_0xd75051))),_0x276e70[_0xf9b403(0x128)](_0x526827(()=>_0x5a4a07['complete']()));const _0x23519c=new _0x35123a();_0x276e70[_0xf9b403(0x128)](_0x114d61['message$'][_0xf9b403(0x154)](_0x2fb548=>{const _0x2b91ba=Fs(_0x2fb548);_0x23519c['next'](_0x2b91ba);})),_0x276e70[_0xf9b403(0x128)](_0x526827(()=>_0x23519c['complete']()));let _0x393742;const _0x1dd9d2=()=>{var _0x37bf2b=_0xf9b403;_0x5a4a07[_0x37bf2b(0x1b2)](new Event(_0x37bf2b(0x30e))),_0x234c12[_0x37bf2b(0x1b2)](new Event(_0x37bf2b(0x30e))),_0x393742[_0x37bf2b(0x17f)]();};return _0x393742={'memberID':'','close$':_0x234c12[_0xf9b403(0x330)](),'error$':_0x5a4a07['asObservable'](),'open$':_0x114d61[_0xf9b403(0x340)],'message$':_0x23519c[_0xf9b403(0x330)](),'send':_0x493c17=>{var _0x1b15de=_0xf9b403;if(_0x493c17[_0x1b15de(0x268)]===j[_0x1b15de(0xc2)]){if(_0x493c17[_0x1b15de(0x33d)]['eventID']===_0x4f23c0['SUBMIT_CHANGESET']){this[_0x1b15de(0x1e0)](_0x393742,_0x493c17[_0x1b15de(0x33d)])[_0x1b15de(0x1ca)](_0x39fdd5=>{var _0x32b583=_0x1b15de;this[_0x32b583(0x2bf)][_0x32b583(0x35a)](_0x39fdd5),_0x1dd9d2();});return;}if(_0x493c17[_0x1b15de(0x33d)][_0x1b15de(0x36a)]===_0x4f23c0[_0x1b15de(0x1aa)]){const _0x13eae7=_0x493c17[_0x1b15de(0x33d)];this[_0x1b15de(0x3ab)](_0x13eae7)[_0x1b15de(0x105)](_0x3c3579=>{var _0x25fc1b=_0x1b15de;_0x23519c[_0x25fc1b(0x1b2)]({'cmd':j[_0x25fc1b(0x38c)],'code':pe['OK'],'routeKey':_0x13eae7[_0x25fc1b(0x33d)][_0x25fc1b(0xd4)],'routeType':'','data':{'eventID':_0x4f23c0[_0x25fc1b(0x211)],'data':{'changesets':_0x3c3579}}});})[_0x1b15de(0x1ca)](_0x55b694=>{var _0x51eca7=_0x1b15de;this[_0x51eca7(0x2bf)]['error'](_0x55b694),_0x1dd9d2();});return;}}_0x114d61[_0x1b15de(0x1a8)](js(_0x493c17));},'close':()=>{var _0x2c2903=_0xf9b403;_0x114d61[_0x2c2903(0x17f)](),_0x276e70['dispose']();}},_0x393742;}async[_0x5032aa(0x1e0)](_0x43de48,_0x4d4533){var _0x428c9a=_0x5032aa,_0x4a27ee;const {unitType:_0x4b8fcc,unitID:_0x4bae75,changeset:_0x5a1afa}=_0x4d4533[_0x428c9a(0x33d)],_0x1159f8={'unitID':_0x4bae75,'memberID':_0x43de48[_0x428c9a(0x31a)],'type':_0x4b8fcc,'changeset':_0x200b5d(_0x5a1afa)},_0x20046a=this[_0x428c9a(0x13c)][_0x428c9a(0x150)](K),_0xd50856=Ws((_0x4a27ee=_0x20046a==null?void 0x0:_0x20046a[_0x428c9a(0x297)])!=null?_0x4a27ee:Os,_0x4b8fcc,_0x4bae75);try{await this[_0x428c9a(0x1f6)][_0x428c9a(0x337)](_0xd50856,{'body':_0x1159f8});}catch(_0x1c2460){throw this[_0x428c9a(0x2bf)][_0x428c9a(0x35a)](_0x428c9a(0x385),_0x428c9a(0x173)),_0x1c2460;}}async[_0x5032aa(0x3ab)](_0x4cad54){var _0x42c2dc=_0x5032aa;const {unitID:_0x247249,from:_0x263483,to:_0x149fb7,unitType:_0x28638f}=_0x4cad54[_0x42c2dc(0x33d)];return(await this['_snapshotServerService'][_0x42c2dc(0x168)]({'metadata':void 0x0},{'unitID':_0x247249,'type':_0x28638f,'from':_0x263483,'to':_0x149fb7}))['changesets'][_0x42c2dc(0x309)](_0x4c7429=>((_0x4c7429['mutations']===null||_0x4c7429['mutations']===void 0x0)&&(_0x4c7429[_0x42c2dc(0x24b)]=[]),_0x4c7429));}};Gt=Gs([ye(0x0,_0x4299bc(_0x45b719)),ye(0x1,_0x4299bc(_0x31e366)),ye(0x2,_0x74c89b),ye(0x3,_0x3340b7),ye(0x4,_0x5dfbce)],Gt);var Ys=Object[_0x5032aa(0x284)],Ks=(_0x20ae93,_0xbb38b9,_0x5cd210,_0x4504c2)=>{var _0x37ceb3=_0x5032aa;for(var _0x3fda24=_0x4504c2>0x1?void 0x0:_0x4504c2?Ys(_0xbb38b9,_0x5cd210):_0xbb38b9,_0x2124c1=_0x20ae93[_0x37ceb3(0x119)]-0x1,_0x23d5ce;_0x2124c1>=0x0;_0x2124c1--)(_0x23d5ce=_0x20ae93[_0x2124c1])&&(_0x3fda24=_0x23d5ce(_0x3fda24)||_0x3fda24);return _0x3fda24;},Re=(_0x3cd358,_0x51ab5d)=>(_0x3a09c5,_0x5a20cc)=>_0x51ab5d(_0x3a09c5,_0x5a20cc,_0x3cd358);let we=class extends _0x189e92{constructor(_0x382fd7,_0x38b9c1,_0x4f34ee,_0x37a278,_0x1fb2e3,_0x1ca141){var _0x1bacd4=_0x5032aa;super(),D(this,_0x1bacd4(0x1b3),new _0x58f842(void 0x0)),D(this,_0x1bacd4(0x2a5),this['_socket$'][_0x1bacd4(0x330)]()),D(this,_0x1bacd4(0x138),null),D(this,_0x1bacd4(0x153),new Map()),D(this,_0x1bacd4(0x23a),new _0x58f842(me[_0x1bacd4(0x2b2)])),D(this,'status$',this[_0x1bacd4(0x23a)][_0x1bacd4(0x330)]()),D(this,_0x1bacd4(0x388),!0x1),D(this,_0x1bacd4(0x3a1)),D(this,'_retryCount',0x0),D(this,_0x1bacd4(0x20b)),D(this,_0x1bacd4(0x1d8)),(this[_0x1bacd4(0x2f4)]=_0x382fd7,this[_0x1bacd4(0x2bf)]=_0x38b9c1,this[_0x1bacd4(0x13c)]=_0x4f34ee,this['_socketService']=_0x37a278,this['_collaborationUIEventService']=_0x1fb2e3,this[_0x1bacd4(0x28b)]=_0x1ca141,this['_listenToNetworkCondition']());}get[_0x5032aa(0x183)](){var _0x3d32aa=_0x5032aa;return this[_0x3d32aa(0x1b3)][_0x3d32aa(0x3c1)]();}['_listenToNetworkCondition'](){var _0x31ac8d=_0x5032aa;this[_0x31ac8d(0x28b)]&&this['disposeWithMe'](this[_0x31ac8d(0x28b)]['online$'][_0x31ac8d(0x154)](_0x12497b=>{var _0x538af5=_0x31ac8d;_0x12497b&&!this[_0x538af5(0x183)]&&this[_0x538af5(0x116)](),_0x12497b||this['_onOffline']();}));}['dispose'](){var _0x3b0cdf=_0x5032aa;super[_0x3b0cdf(0x152)](),this['_clearRetryConnectingTimer'](),this[_0x3b0cdf(0x109)](),this[_0x3b0cdf(0x122)](),this[_0x3b0cdf(0x153)][_0x3b0cdf(0x1ab)](_0x3b45c2=>_0x3b45c2['dispose']()),this[_0x3b0cdf(0x153)][_0x3b0cdf(0x321)](),this['_status$'][_0x3b0cdf(0x26c)]();}async[_0x5032aa(0x2fb)](_0x431067){var _0x4c40c8=_0x5032aa;if(this[_0x4c40c8(0x153)][_0x4c40c8(0x14c)](_0x431067))return this[_0x4c40c8(0x153)][_0x4c40c8(0x32b)](_0x431067);this[_0x4c40c8(0x224)]();const _0x26abc3=this['_injector']['createInstance'](mt,_0x431067,this[_0x4c40c8(0x1b3)][_0x4c40c8(0x330)]());return this[_0x4c40c8(0x153)]['set'](_0x431067,_0x26abc3),_0x26abc3;}[_0x5032aa(0x29a)](_0x2d3209){var _0x53bbf6=_0x5032aa,_0x4be1bb;const _0x28c8da=this[_0x53bbf6(0x153)][_0x53bbf6(0x32b)](_0x2d3209);_0x28c8da&&(this[_0x53bbf6(0x153)][_0x53bbf6(0x17e)](_0x2d3209),_0x28c8da['close']()),this['_sessions'][_0x53bbf6(0x2c9)]||(_0x4be1bb=this[_0x53bbf6(0x183)])==null||_0x4be1bb[_0x53bbf6(0x17f)]();}[_0x5032aa(0x116)](){var _0x3e71bc=_0x5032aa;this[_0x3e71bc(0x375)]=0x0,this[_0x3e71bc(0x301)](),this[_0x3e71bc(0x191)]();}[_0x5032aa(0x301)](){var _0x303c0f=_0x5032aa;this[_0x303c0f(0x3a1)]!=null&&(clearTimeout(this[_0x303c0f(0x3a1)]),this['_retryConnectingTimer']=null);}async[_0x5032aa(0x1c7)](){var _0x51398d=_0x5032aa,_0x169b96;const _0x5ecdc6=this[_0x51398d(0x13c)][_0x51398d(0x150)](K),_0x59d713=(_0x169b96=_0x5ecdc6==null?void 0x0:_0x5ecdc6[_0x51398d(0xe7)])!=null?_0x169b96:Es,_0x4d2c72=await this[_0x51398d(0xe1)][_0x51398d(0x245)](_0x59d713);return this[_0x51398d(0x138)]=_0x4d2c72,_0x4d2c72;}async['_tryEnsureSocket'](){var _0x5aec3b=_0x5032aa,_0x4b7cb4,_0x4bc061;try{const _0x3e9b4a=(_0x4bc061=(_0x4b7cb4=this['_socket'])!=null?_0x4b7cb4:this[_0x5aec3b(0x138)])!=null?_0x4bc061:await this[_0x5aec3b(0x1c7)]();if(_0x3e9b4a){const _0x4dc02f=_0x3e9b4a[_0x5aec3b(0x1a8)];_0x3e9b4a[_0x5aec3b(0x1a8)]=_0x90ba7f=>(this['_rescheduleHeartbeat'](),_0x4dc02f['apply'](_0x3e9b4a,[_0x90ba7f])),_0x3e9b4a[_0x5aec3b(0x31c)][_0x5aec3b(0x154)](_0xa33564=>this[_0x5aec3b(0x39f)](_0x3e9b4a,_0xa33564)),_0x3e9b4a[_0x5aec3b(0x280)][_0x5aec3b(0x2af)](_0x1c69fb(0x1))['subscribe'](_0x3f433b=>this[_0x5aec3b(0x2bf)][_0x5aec3b(0x35a)](_0x5aec3b(0x1f3),_0x3f433b)),_0x3e9b4a[_0x5aec3b(0x340)]['pipe'](_0x1c69fb(0x1))[_0x5aec3b(0x154)](()=>{var _0x4da2bf=_0x5aec3b;this[_0x4da2bf(0x1c6)](_0x3e9b4a);}),_0x3e9b4a[_0x5aec3b(0x146)][_0x5aec3b(0x2af)](_0x1c69fb(0x1))[_0x5aec3b(0x154)](_0x585f75=>{var _0x230a94=_0x5aec3b;this['_logService']['debug'](_0x230a94(0x286),_0x230a94(0x37c),_0x585f75),this[_0x230a94(0x2ea)]();});}}catch(_0x477473){this[_0x5aec3b(0x2bf)]['error'](_0x477473),this[_0x5aec3b(0x2ea)]();}}['_onConnectionOpen'](_0x94c313){var _0x4a2b69=_0x5032aa;this[_0x4a2b69(0x2bf)][_0x4a2b69(0x33e)](_0x4a2b69(0x286),'socket\x20open.'),_0x94c313[_0x4a2b69(0x1a8)]({'cmd':j[_0x4a2b69(0x32c)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x39cc4e=_0x5032aa;this[_0x39cc4e(0x388)]=!0x1,this[_0x39cc4e(0x138)]=null,this['_status$'][_0x39cc4e(0x1b2)](me[_0x39cc4e(0x365)]),this['_socket$'][_0x39cc4e(0x1b2)](null),this[_0x39cc4e(0x109)](),this[_0x39cc4e(0x122)]();}[_0x5032aa(0x2ea)](){var _0x2e4a6b=_0x5032aa,_0x296493;this['_onOffline'](),this['_retryCount']<((_0x296493=this['_configService'][_0x2e4a6b(0x150)](gs))!=null?_0x296493:Ts)?(this[_0x2e4a6b(0x21b)][_0x2e4a6b(0x31b)]({'id':re[_0x2e4a6b(0x1cc)]}),this[_0x2e4a6b(0x191)]()):this['_collaborationUIEventService'][_0x2e4a6b(0x31b)]({'id':re[_0x2e4a6b(0x2b5)]});}[_0x5032aa(0x191)](){var _0x5457b7=_0x5032aa,_0x1f89e4;const _0x23ab35=this[_0x5457b7(0x375)],_0x4e99f6=this[_0x5457b7(0x13c)][_0x5457b7(0x150)](K),_0x21e020=_0x23ab35===0x0?0x0:((_0x1f89e4=_0x4e99f6==null?void 0x0:_0x4e99f6[_0x5457b7(0xd7)])!=null?_0x1f89e4:Ss)*0x2**_0x23ab35;this[_0x5457b7(0x3a1)]=setTimeout(()=>{var _0x18d8c4=_0x5457b7;clearTimeout(this[_0x18d8c4(0x3a1)]),this[_0x18d8c4(0x3a1)]=null,this[_0x18d8c4(0x224)]();},_0x21e020),this[_0x5457b7(0x375)]+=0x1;}[_0x5032aa(0x39f)](_0x40e940,_0x587b30){var _0x37339a=_0x5032aa;const {cmd:_0x1bd632}=_0x587b30;_0x1bd632===j[_0x37339a(0x32c)]&&!this['_socketReady']&&(_0x40e940['memberID']=_0x587b30[_0x37339a(0x33d)][_0x37339a(0x31a)],this[_0x37339a(0x1b3)][_0x37339a(0x1b2)](_0x40e940),this[_0x37339a(0x23a)]['next'](me[_0x37339a(0x10f)]),this[_0x37339a(0x388)]=!0x0,this[_0x37339a(0x138)]=null),_0x1bd632===j[_0x37339a(0x1d2)]&&this[_0x37339a(0x109)](),this[_0x37339a(0x10e)]();}[_0x5032aa(0x10e)](){var _0x573e34=_0x5032aa,_0x4e19cb;this[_0x573e34(0x122)](),this[_0x573e34(0x20b)]=setTimeout(()=>this[_0x573e34(0x1c2)](),(_0x4e19cb=this[_0x573e34(0x13c)][_0x573e34(0x150)](ms))!=null?_0x4e19cb:Is);}['_sendHeartbeat'](){var _0x333516=_0x5032aa;this['_socket'][_0x333516(0x1a8)]({'cmd':j[_0x333516(0x1d2)]}),this['_waitForHeartbeatResponse']();}[_0x5032aa(0x232)](){var _0x4c10de=_0x5032aa,_0x388135;this[_0x4c10de(0x1d8)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x388135=this[_0x4c10de(0x13c)][_0x4c10de(0x150)](di))!=null?_0x388135:fi);}[_0x5032aa(0x122)](){var _0x127812=_0x5032aa;this[_0x127812(0x20b)]!=null&&(clearTimeout(this[_0x127812(0x20b)]),this[_0x127812(0x20b)]=null);}[_0x5032aa(0x109)](){var _0x37cf64=_0x5032aa;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x37cf64(0x1d8)]),this[_0x37cf64(0x1d8)]=null);}};we=Ks([Re(0x0,_0x4299bc(_0x45b719)),Re(0x1,_0x3340b7),Re(0x2,_0x74c89b),Re(0x3,Oi),Re(0x4,_0x4299bc(ve)),Re(0x5,_0x4ae93e(Bs))],we);var qs=Object['getOwnPropertyDescriptor'],zs=(_0x295ddc,_0x33dbf0,_0x307b5d,_0x133df2)=>{for(var _0xdeb6a9=_0x133df2>0x1?void 0x0:_0x133df2?qs(_0x33dbf0,_0x307b5d):_0x33dbf0,_0x4ef64a=_0x295ddc['length']-0x1,_0x24d932;_0x4ef64a>=0x0;_0x4ef64a--)(_0x24d932=_0x295ddc[_0x4ef64a])&&(_0xdeb6a9=_0x24d932(_0xdeb6a9)||_0xdeb6a9);return _0xdeb6a9;},Be=(_0x4a1fa0,_0x29ab54)=>(_0x4e8628,_0x51afe8)=>_0x29ab54(_0x4e8628,_0x51afe8,_0x4a1fa0);let nt=class extends _0x22e684{constructor(_0x3fc209,_0x28a7e4,_0x6f8ea4,_0xf04a2){var _0x30a5c1=_0x5032aa,_0x5a94e9;super(),D(this,_0x30a5c1(0x275),new Map()),D(this,'_entityInit$',new _0x35123a()),D(this,_0x30a5c1(0x103),this[_0x30a5c1(0x32a)][_0x30a5c1(0x330)]()),(this[_0x30a5c1(0x2f4)]=_0x3fc209,this[_0x30a5c1(0x3c4)]=_0x28a7e4,this[_0x30a5c1(0x13c)]=_0x6f8ea4,this[_0x30a5c1(0x345)]=_0xf04a2,((_0x5a94e9=this['_configService']['getConfig'](K))==null?void 0x0:_0x5a94e9[_0x30a5c1(0x227)])!==!0x1&&this[_0x30a5c1(0x354)]());}[_0x5032aa(0x152)](){var _0x5e15bd=_0x5032aa;super[_0x5e15bd(0x152)](),this[_0x5e15bd(0x275)][_0x5e15bd(0x1ab)](_0x2c4cf1=>_0x2c4cf1['dispose']()),this[_0x5e15bd(0x275)][_0x5e15bd(0x321)]();}[_0x5032aa(0x108)](_0x26a4cf){var _0x118ff3=_0x5032aa,_0x199a85;return(_0x199a85=this[_0x118ff3(0x275)][_0x118ff3(0x32b)](_0x26a4cf))!=null?_0x199a85:null;}[_0x5032aa(0x16d)](_0x3bc60c){var _0x20e7a2=_0x5032aa;const _0xb33919=this['getCollabEntity'](_0x3bc60c);return _0xb33919?_0x1a8f26(_0xb33919):this[_0x20e7a2(0x32a)][_0x20e7a2(0x2af)](_0x46b480(_0x261cdb=>_0x261cdb[_0x20e7a2(0xd4)]===_0x3bc60c));}[_0x5032aa(0x326)](_0x223c6d){var _0x4f78c0=_0x5032aa;return _0x9c4e86(this[_0x4f78c0(0x16d)](_0x223c6d)[_0x4f78c0(0x2af)](_0x2ff8a7(()=>{})));}['_init'](){var _0x5129e5=_0x5032aa;this[_0x5129e5(0x345)][_0x5129e5(0x276)](_0x274e5d['UNIVER_SHEET'])[_0x5129e5(0x2af)](_0x2a3e28(this[_0x5129e5(0x3d2)]),_0x2831b1(0x10))['subscribe'](async _0x26ca2f=>{var _0xc92790=_0x5129e5;const _0x39e35d=_0x26ca2f[_0xc92790(0x178)](),_0x449d6d=await this[_0xc92790(0x14e)](_0x39e35d,Q[_0xc92790(0x15d)]);this[_0xc92790(0x275)]['set'](_0x39e35d,_0x449d6d);}),this[_0x5129e5(0x345)][_0x5129e5(0x276)](_0x274e5d['UNIVER_DOC'])[_0x5129e5(0x2af)](_0x2a3e28(this['dispose$']),_0x2831b1(0x10))[_0x5129e5(0x2af)](_0x46b480(_0x31e4c3=>!_0x31e4c3[_0x5129e5(0x178)]()[_0x5129e5(0x3bd)]('__')))['subscribe'](async _0x8e534a=>{var _0x245449=_0x5129e5;const _0x865337=_0x8e534a[_0x245449(0x178)](),_0xfdef49=await this[_0x245449(0x14e)](_0x865337,Q[_0x245449(0x2cd)]);this['_entities'][_0x245449(0x188)](_0x865337,_0xfdef49);}),_0x1c0321(this[_0x5129e5(0x345)][_0x5129e5(0x2ed)](_0x274e5d[_0x5129e5(0x15d)]),this[_0x5129e5(0x345)]['getTypeOfUnitDisposed$'](_0x274e5d[_0x5129e5(0x2cd)]))[_0x5129e5(0x2af)](_0x2a3e28(this[_0x5129e5(0x3d2)]))['subscribe'](_0x8f646b=>{var _0x473763=_0x5129e5;const _0x19b511=_0x8f646b[_0x473763(0x178)](),_0xee4383=this[_0x473763(0x275)][_0x473763(0x32b)](_0x19b511);_0xee4383&&(_0xee4383[_0x473763(0x152)](),this[_0x473763(0x275)][_0x473763(0x17e)](_0x19b511));});}async[_0x5032aa(0x14e)](_0x557782,_0x9d96e){var _0x2c8ed1=_0x5032aa;const _0x1f87e6=await this[_0x2c8ed1(0x3c4)][_0x2c8ed1(0x2fb)](_0x557782),_0xd79b47=this[_0x2c8ed1(0x2f4)][_0x2c8ed1(0x389)](this[_0x2c8ed1(0xef)](_0x9d96e),_0x557782,_0x9d96e,_0x1f87e6);return await _0xd79b47[_0x2c8ed1(0x193)](),this[_0x2c8ed1(0x32a)][_0x2c8ed1(0x1b2)](_0xd79b47),_0xd79b47;}['_getCtorByUniverType'](_0x415f24){var _0x41d697=_0x5032aa;switch(_0x415f24){case Q[_0x41d697(0x2cd)]:return It;case Q[_0x41d697(0x15d)]:return St;default:throw new Error(_0x41d697(0x171)+_0x415f24);}}};nt=zs([Be(0x0,_0x4299bc(_0x45b719)),Be(0x1,_0x4299bc(we)),Be(0x2,_0x74c89b),Be(0x3,_0x4d04ef)],nt);var Js=Object[_0x5032aa(0x284)],Xs=(_0x2a0c99,_0x2e7226,_0x5b4f08,_0x503093)=>{var _0x3d28a7=_0x5032aa;for(var _0x36a04e=_0x503093>0x1?void 0x0:_0x503093?Js(_0x2e7226,_0x5b4f08):_0x2e7226,_0x4ada07=_0x2a0c99[_0x3d28a7(0x119)]-0x1,_0x548b0a;_0x4ada07>=0x0;_0x4ada07--)(_0x548b0a=_0x2a0c99[_0x4ada07])&&(_0x36a04e=_0x548b0a(_0x36a04e)||_0x36a04e);return _0x36a04e;},Wt=(_0x1364bd,_0x15a929)=>(_0x1973f6,_0xd750e2)=>_0x15a929(_0x1973f6,_0xd750e2,_0x1364bd);const Zs='DEFAULT_FILE_NAME',Qs='Univer';let gt=class extends _0x189e92{constructor(_0x3ff2a6,_0xe73030){var _0x39a9dd=_0x5032aa;super(),this[_0x39a9dd(0x345)]=_0x3ff2a6,this[_0x39a9dd(0x13c)]=_0xe73030,this[_0x39a9dd(0x354)]();}[_0x5032aa(0x354)](){var _0x23ae4c=_0x5032aa;this[_0x23ae4c(0x22c)](this[_0x23ae4c(0x345)][_0x23ae4c(0xe3)][_0x23ae4c(0x154)](()=>{var _0x25bffe=_0x23ae4c,_0x16600e;const _0x2e3cc3=this['_univerInstanceService']['getFocusedUnit']();let _0x58e503=(_0x16600e=this[_0x25bffe(0x13c)][_0x25bffe(0x150)](Zs))!=null?_0x16600e:Qs;_0x2e3cc3 instanceof _0xfe2d5d&&(_0x58e503=_0x2e3cc3[_0x25bffe(0x30b)]),document[_0x25bffe(0x3b3)]=_0x58e503;}));}};gt=Xs([Wt(0x0,_0x4d04ef),Wt(0x1,_0x74c89b)],gt);var en=Object['getOwnPropertyDescriptor'],tn=(_0x5b5115,_0x5de1d5,_0x32a2cb,_0x45c7ea)=>{for(var _0x11ae2a=_0x45c7ea>0x1?void 0x0:_0x45c7ea?en(_0x5de1d5,_0x32a2cb):_0x5de1d5,_0x5973ad=_0x5b5115['length']-0x1,_0x441361;_0x5973ad>=0x0;_0x5973ad--)(_0x441361=_0x5b5115[_0x5973ad])&&(_0x11ae2a=_0x441361(_0x11ae2a)||_0x11ae2a);return _0x11ae2a;},dt=(_0x39cb51,_0x5c2834)=>(_0x51a85e,_0x56e2fa)=>_0x5c2834(_0x51a85e,_0x56e2fa,_0x39cb51);let rt=class{constructor(_0x350ef7,_0x53028f,_0x58a7fb){var _0x367c97=_0x5032aa;this[_0x367c97(0x13c)]=_0x350ef7,this[_0x367c97(0x1f6)]=_0x53028f,this[_0x367c97(0x39d)]=_0x58a7fb,this[_0x367c97(0x193)]();}[_0x5032aa(0x193)](){var _0x25e7da=_0x5032aa;this[_0x25e7da(0x1f6)][_0x25e7da(0x1c5)]({'priority':0x1,'interceptor':(_0x14a2f5,_0x3e1131)=>_0x3e1131(_0x14a2f5)[_0x25e7da(0x2af)](_0x814b11(async _0x1d2795=>{var _0x1137a4=_0x25e7da;const _0x583f25=_0x1d2795;if(_0x583f25[_0x1137a4(0x133)]===0x191){if(typeof window>'u')throw new Error(_0x1137a4(0x187));if(window[_0x1137a4(0x140)](this[_0x1137a4(0x39d)]['t'](_0x1137a4(0x102)))){const _0x5ce65b=window['encodeURIComponent'](window[_0x1137a4(0x151)]['href']);window[_0x1137a4(0x151)][_0x1137a4(0x2a0)]=this[_0x1137a4(0x23d)]()+'?url='+_0x5ce65b;}}return _0x583f25;}))});}['_getLoginPath'](){var _0x2be94d=_0x5032aa,_0x4c31f7;const _0x2d4b6f=this[_0x2be94d(0x13c)][_0x2be94d(0x150)](K);return(_0x4c31f7=_0x2d4b6f==null?void 0x0:_0x2d4b6f['loginUrlKey'])!=null?_0x4c31f7:Rs;}};rt=tn([dt(0x0,_0x74c89b),dt(0x1,_0x4299bc(_0x31e366)),dt(0x2,_0x4299bc(_0x5a5559))],rt);var sn=Object[_0x5032aa(0x284)],nn=(_0x1e723d,_0x2ac97b,_0x3ad3ce,_0x1158fd)=>{var _0xb6a38e=_0x5032aa;for(var _0x3b5df2=_0x1158fd>0x1?void 0x0:_0x1158fd?sn(_0x2ac97b,_0x3ad3ce):_0x2ac97b,_0xe096eb=_0x1e723d[_0xb6a38e(0x119)]-0x1,_0x1d0f92;_0xe096eb>=0x0;_0xe096eb--)(_0x1d0f92=_0x1e723d[_0xe096eb])&&(_0x3b5df2=_0x1d0f92(_0x3b5df2)||_0x3b5df2);return _0x3b5df2;},Yt=(_0x51995e,_0x2dc390)=>(_0x5c8e74,_0x4d43c9)=>_0x2dc390(_0x5c8e74,_0x4d43c9,_0x51995e);const rn=_0x5032aa(0x160);let Tt=class extends _0x189e92{constructor(_0x47f167,_0x5d8391){var _0x1daf35=_0x5032aa;super(),this[_0x1daf35(0x2ad)]=_0x47f167,this[_0x1daf35(0x13c)]=_0x5d8391,this[_0x1daf35(0x159)]();}[_0x5032aa(0x159)](){var _0x4a49e5=_0x5032aa;const _0x2a7d50=this;this[_0x4a49e5(0x22c)](this[_0x4a49e5(0x2ad)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xe4edef({'isMatch'(_0x3dfc86){var _0x3e7cc5=_0x4a49e5,_0x45b3f3;if(_0x3dfc86['method']===_0x3e7cc5(0x283)&&((_0x45b3f3=_0x3dfc86[_0x3e7cc5(0x2bb)])!=null&&_0x45b3f3[_0x3e7cc5(0x148)])){const {objectID:_0x3331a4,objectType:_0x1f936a}=_0x3dfc86[_0x3e7cc5(0x2bb)][_0x3e7cc5(0x148)]||{};if(!_0x3331a4||_0x1f936a===void 0x0)return!0x1;const _0x5b8277=_0x2a7d50[_0x3e7cc5(0x130)]()+'/'+_0x1f936a+_0x3e7cc5(0x218)+_0x3331a4+_0x3e7cc5(0x14d);if(_0x3dfc86[_0x3e7cc5(0x2d7)]===_0x5b8277)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2dbfa7){var _0x4e035f=_0x4a49e5,_0x27f8c2;return(_0x27f8c2=_0x2dbfa7[_0x4e035f(0x2bb)])==null?void 0x0:_0x27f8c2['body'];},'mergeParamsToRequest'(_0x1691fb,_0x2c1443){var _0x52f8da=_0x4a49e5;const _0x4062dc=_0x2a7d50[_0x52f8da(0x130)]()+_0x52f8da(0xcb),_0x735272=_0x1691fb['reduce']((_0x531de7,_0x10792b)=>{var _0xea9c1e=_0x52f8da;const {unitID:_0x23d81a,objectID:_0x4da4d0,objectType:_0x3f4e6d,actions:_0x7d0879}=_0x10792b;return _0x531de7[_0x23d81a]||(_0x531de7[_0x23d81a]={}),_0x531de7[_0x23d81a][_0x4da4d0]||(_0x531de7[_0x23d81a][_0x4da4d0]={'objectID':_0x4da4d0,'objectType':_0x3f4e6d,'actions':[]}),_0x531de7[_0x23d81a][_0x4da4d0][_0xea9c1e(0x15b)][_0xea9c1e(0x129)](..._0x7d0879),_0x531de7;},{}),_0xe3e1c2=[];for(const _0x4a98fb in _0x735272)for(const _0x5d74bd in _0x735272[_0x4a98fb]){const {actions:_0x24c77a,objectType:_0x3cf1a7}=_0x735272[_0x4a98fb][_0x5d74bd],_0x27aee6=[...new Set(_0x24c77a)];_0xe3e1c2[_0x52f8da(0x129)]({'unitID':_0x4a98fb,'objectID':_0x5d74bd,'objectType':_0x3cf1a7,'actions':_0x27aee6});}return new _0x24a986('POST',_0x4062dc,{'headers':_0x2c1443['headers'],'withCredentials':_0x2c1443['withCredentials'],'responseType':_0x2c1443[_0x52f8da(0x2f2)],'body':{'requests':_0xe3e1c2}});}},{'distributeResult'(_0x1ea213,_0x510be7){var _0x4baa97=_0x4a49e5;const {objectActions:_0x56c874}=_0x1ea213;return _0x510be7[_0x4baa97(0x309)](_0x302879=>{var _0x2d9355=_0x4baa97;const {unitID:_0x58314d,objectID:_0x16f01c,actions:_0x5deaad}=_0x302879,_0x2ddc10=_0x56c874[_0x2d9355(0x1f4)](_0x5c2a35=>_0x5c2a35[_0x2d9355(0xd4)]===_0x58314d&&_0x5c2a35[_0x2d9355(0x2cb)]===_0x16f01c),_0x1fe57d=_0x5deaad['map'](_0x12dfc4=>_0x2ddc10==null?void 0x0:_0x2ddc10[_0x2d9355(0x15b)][_0x2d9355(0x1f4)](_0x1d8675=>_0x1d8675[_0x2d9355(0x3c2)]===_0x12dfc4))[_0x2d9355(0x379)](_0x534512=>!!_0x534512);return{'config':_0x302879,'result':{'actions':_0x1fe57d,'error':_0x1ea213[_0x2d9355(0x35a)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4fe3b5=_0x5032aa,_0x3bec84;const _0x1b38f7=this[_0x4fe3b5(0x13c)][_0x4fe3b5(0x150)](K);return(_0x3bec84=_0x1b38f7==null?void 0x0:_0x1b38f7['authzUrl'])!=null?_0x3bec84:rn;}async[_0x5032aa(0x302)](_0x185d4e){var _0xa9f8cf=_0x5032aa;const _0x1988a6=this[_0xa9f8cf(0x130)]()+'/'+_0x185d4e[_0xa9f8cf(0x31f)]+'/object';return(await this['_HTTPService'][_0xa9f8cf(0x337)](_0x1988a6,{'body':_0x185d4e}))[_0xa9f8cf(0x148)][_0xa9f8cf(0x2cb)]||'';}async['list'](_0x595024){var _0xab0f97=_0x5032aa;const _0x2ba47a=this[_0xab0f97(0x130)]()+_0xab0f97(0x1e9);return(await this[_0xab0f97(0x2ad)][_0xab0f97(0x337)](_0x2ba47a,{'body':_0x595024}))['body'][_0xab0f97(0x24e)];}async['update'](_0x4f12ae){var _0x442d49=_0x5032aa,_0x545ca2,_0x4c8b83;const _0x12217e=this[_0x442d49(0x130)]()+'/'+_0x4f12ae[_0x442d49(0x31f)]+'/object/'+_0x4f12ae['objectID'],_0x37b5bf=await this[_0x442d49(0x2ad)][_0x442d49(0x37d)](_0x12217e,{'body':_0x4f12ae});if(((_0x4c8b83=(_0x545ca2=_0x37b5bf==null?void 0x0:_0x37b5bf[_0x442d49(0x148)])==null?void 0x0:_0x545ca2[_0x442d49(0x35a)])==null?void 0x0:_0x4c8b83[_0x442d49(0x10c)])!==0x1)throw new Error(_0x442d49(0x210));}async[_0x5032aa(0x343)](_0x5b1c40){var _0x177514=_0x5032aa;const _0x548fe5=this[_0x177514(0x130)]()+'/'+_0x5b1c40[_0x177514(0x31f)]+'/object/'+_0x5b1c40[_0x177514(0x2cb)]+_0x177514(0x14d);return(await this[_0x177514(0x2ad)][_0x177514(0x337)](_0x548fe5,{'body':_0x5b1c40}))['body']['actions'];}async[_0x5032aa(0x398)](_0x2670aa){var _0x21940f=_0x5032aa;const _0x4b282c=this[_0x21940f(0x130)]()+_0x21940f(0xcb);return(await this[_0x21940f(0x2ad)][_0x21940f(0x337)](_0x4b282c,{'body':{'requests':_0x2670aa}}))[_0x21940f(0x148)][_0x21940f(0x372)];}async[_0x5032aa(0x1ae)](_0x108a75){var _0xffe9c5=_0x5032aa;const _0xffa20d=this['_getAPIPrefixPath']()+'/'+_0x108a75['objectType']+_0xffe9c5(0x209),_0x1a0e82=await this[_0xffe9c5(0x2ad)]['post'](_0xffa20d,{'body':_0x108a75});return{'roles':_0x1a0e82[_0xffe9c5(0x148)][_0xffe9c5(0x37b)],'actions':_0x1a0e82[_0xffe9c5(0x148)][_0xffe9c5(0x15b)]};}async['deleteCollaborator'](_0x5683c5){var _0x258d73=_0x5032aa;const _0x392ed7=this['_getAPIPrefixPath']()+_0x258d73(0x1d7);await this[_0x258d73(0x2ad)][_0x258d73(0x17e)](_0x392ed7,{'params':{'collaboratorID':_0x5683c5[_0x258d73(0x272)],'objectID':_0x5683c5[_0x258d73(0x2cb)],'unitID':_0x5683c5[_0x258d73(0xd4)]}});}async[_0x5032aa(0x32d)](_0x2eac32){var _0x71f3b2=_0x5032aa;const _0x162ee0=this[_0x71f3b2(0x130)]()+_0x71f3b2(0x1d7);await this['_HTTPService'][_0x71f3b2(0x249)](_0x162ee0,{'body':_0x2eac32});}async[_0x5032aa(0x199)](_0x59f641){var _0x15456c=_0x5032aa;const _0x13864d=this[_0x15456c(0x130)]()+_0x15456c(0x1d7);await this['_HTTPService'][_0x15456c(0x337)](_0x13864d,{'body':_0x59f641});}async['listCollaborators'](_0x1d5b32){var _0x4342fb=_0x5032aa;const _0x3bfef5=this[_0x4342fb(0x130)]()+_0x4342fb(0x1d7);return(await this[_0x4342fb(0x2ad)][_0x4342fb(0x32b)](_0x3bfef5,{'params':{'objectID':_0x1d5b32['objectID'],'unitID':_0x1d5b32[_0x4342fb(0xd4)]}}))['body'][_0x4342fb(0x1a6)];}async[_0x5032aa(0x1ee)](_0x581564){var _0x5c6d49=_0x5032aa;const _0x9a0008=this[_0x5c6d49(0x130)]()+'/collaborator';await this[_0x5c6d49(0x2ad)][_0x5c6d49(0x37d)](_0x9a0008,{'body':_0x581564});}};Tt=nn([Yt(0x0,_0x4299bc(_0x31e366)),Yt(0x1,_0x4299bc(_0x74c89b))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x483bfd){var _0x20f2ea=_0x5032aa;return _0x483bfd&&_0x483bfd[_0x20f2ea(0x195)]&&Object['prototype'][_0x20f2ea(0x3c6)]['call'](_0x483bfd,_0x20f2ea(0x305))?_0x483bfd[_0x20f2ea(0x305)]:_0x483bfd;}var Ve={'exports':{}};function an(_0x43824e){var _0x2a3c18=_0x5032aa;throw new Error(_0x2a3c18(0x2e2)+_0x43824e+_0x2a3c18(0xc1));}var Ge={'exports':{}},on=Ge[_0x5032aa(0x184)],Kt;function ie(){var _0x549fbe=_0x5032aa;return Kt||(Kt=0x1,function(_0x1f705c,_0x2e8f32){(function(_0xcbed3,_0x6ed7ef){var _0x13054d=_0x57d4;_0x1f705c[_0x13054d(0x184)]=_0x6ed7ef();}(on,function(){var _0x3c3048=_0x3c3048||function(_0x320c27,_0x43cf0d){var _0x272f4e=_0x57d4,_0x220db6;if(typeof window<'u'&&window[_0x272f4e(0x291)]&&(_0x220db6=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x220db6=self['crypto']),typeof globalThis<'u'&&globalThis[_0x272f4e(0x291)]&&(_0x220db6=globalThis[_0x272f4e(0x291)]),!_0x220db6&&typeof window<'u'&&window[_0x272f4e(0x290)]&&(_0x220db6=window[_0x272f4e(0x290)]),!_0x220db6&&typeof ft<'u'&&ft['crypto']&&(_0x220db6=ft['crypto']),!_0x220db6&&typeof an=='function')try{_0x220db6=require('crypto');}catch{}var _0x467463=function(){var _0x569bc9=_0x272f4e;if(_0x220db6){if(typeof _0x220db6[_0x569bc9(0x125)]==_0x569bc9(0x121))try{return _0x220db6[_0x569bc9(0x125)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x220db6['randomBytes']=='function')try{return _0x220db6['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x569bc9(0xee));},_0x30f63f=Object[_0x272f4e(0x302)]||(function(){function _0x4cf5cb(){}return function(_0x2457ad){var _0x592d08=_0x57d4,_0x3d5ec2;return _0x4cf5cb['prototype']=_0x2457ad,_0x3d5ec2=new _0x4cf5cb(),_0x4cf5cb[_0x592d08(0x19e)]=null,_0x3d5ec2;};}()),_0x468b18={},_0x455476=_0x468b18[_0x272f4e(0x3b7)]={},_0x21291c=_0x455476['Base']=(function(){return{'extend':function(_0xe2a5d){var _0x49f834=_0x57d4,_0x13ee7b=_0x30f63f(this);return _0xe2a5d&&_0x13ee7b[_0x49f834(0x127)](_0xe2a5d),(!_0x13ee7b[_0x49f834(0x3c6)](_0x49f834(0x193))||this[_0x49f834(0x193)]===_0x13ee7b['init'])&&(_0x13ee7b[_0x49f834(0x193)]=function(){var _0x2fb2fd=_0x49f834;_0x13ee7b[_0x2fb2fd(0x221)][_0x2fb2fd(0x193)][_0x2fb2fd(0xcd)](this,arguments);}),_0x13ee7b[_0x49f834(0x193)][_0x49f834(0x19e)]=_0x13ee7b,_0x13ee7b[_0x49f834(0x221)]=this,_0x13ee7b;},'create':function(){var _0x37bed2=_0x57d4,_0x4e26a3=this['extend']();return _0x4e26a3[_0x37bed2(0x193)][_0x37bed2(0xcd)](_0x4e26a3,arguments),_0x4e26a3;},'init':function(){},'mixIn':function(_0x16705f){var _0x507c00=_0x57d4;for(var _0x1f7bbb in _0x16705f)_0x16705f[_0x507c00(0x3c6)](_0x1f7bbb)&&(this[_0x1f7bbb]=_0x16705f[_0x1f7bbb]);_0x16705f[_0x507c00(0x3c6)]('toString')&&(this['toString']=_0x16705f[_0x507c00(0x16a)]);},'clone':function(){var _0x45fc1b=_0x57d4;return this['init'][_0x45fc1b(0x19e)]['extend'](this);}};}()),_0xcbc46f=_0x455476[_0x272f4e(0x28e)]=_0x21291c[_0x272f4e(0x3ae)]({'init':function(_0x360d72,_0x49b381){var _0x42fc01=_0x272f4e;_0x360d72=this['words']=_0x360d72||[],_0x49b381!=_0x43cf0d?this[_0x42fc01(0x399)]=_0x49b381:this['sigBytes']=_0x360d72[_0x42fc01(0x119)]*0x4;},'toString':function(_0x59bd25){var _0x2d4826=_0x272f4e;return(_0x59bd25||_0x4bbc83)[_0x2d4826(0x1a4)](this);},'concat':function(_0x143a1a){var _0x282b41=_0x272f4e,_0x3cf426=this['words'],_0x1f26cd=_0x143a1a[_0x282b41(0x395)],_0x1eccbd=this[_0x282b41(0x399)],_0xb0fdb6=_0x143a1a['sigBytes'];if(this[_0x282b41(0x17c)](),_0x1eccbd%0x4)for(var _0x2bfdf8=0x0;_0x2bfdf8<_0xb0fdb6;_0x2bfdf8++){var _0x2b9590=_0x1f26cd[_0x2bfdf8>>>0x2]>>>0x18-_0x2bfdf8%0x4*0x8&0xff;_0x3cf426[_0x1eccbd+_0x2bfdf8>>>0x2]|=_0x2b9590<<0x18-(_0x1eccbd+_0x2bfdf8)%0x4*0x8;}else{for(var _0x250ff3=0x0;_0x250ff3<_0xb0fdb6;_0x250ff3+=0x4)_0x3cf426[_0x1eccbd+_0x250ff3>>>0x2]=_0x1f26cd[_0x250ff3>>>0x2];}return this[_0x282b41(0x399)]+=_0xb0fdb6,this;},'clamp':function(){var _0x133cf5=_0x272f4e,_0x156dfc=this[_0x133cf5(0x395)],_0x1294de=this[_0x133cf5(0x399)];_0x156dfc[_0x1294de>>>0x2]&=0xffffffff<<0x20-_0x1294de%0x4*0x8,_0x156dfc[_0x133cf5(0x119)]=_0x320c27[_0x133cf5(0x32e)](_0x1294de/0x4);},'clone':function(){var _0x32a9ae=_0x272f4e,_0x4c0c17=_0x21291c[_0x32a9ae(0x1db)][_0x32a9ae(0x308)](this);return _0x4c0c17[_0x32a9ae(0x395)]=this[_0x32a9ae(0x395)][_0x32a9ae(0x3cc)](0x0),_0x4c0c17;},'random':function(_0x40798b){var _0x561103=_0x272f4e;for(var _0x1a62f2=[],_0x27352d=0x0;_0x27352d<_0x40798b;_0x27352d+=0x4)_0x1a62f2['push'](_0x467463());return new _0xcbc46f[(_0x561103(0x193))](_0x1a62f2,_0x40798b);}}),_0x1516a8=_0x468b18['enc']={},_0x4bbc83=_0x1516a8[_0x272f4e(0x11f)]={'stringify':function(_0x3d5712){var _0x134e6d=_0x272f4e;for(var _0x517ef9=_0x3d5712['words'],_0x43f794=_0x3d5712[_0x134e6d(0x399)],_0xc55bea=[],_0x534167=0x0;_0x534167<_0x43f794;_0x534167++){var _0x2890f1=_0x517ef9[_0x534167>>>0x2]>>>0x18-_0x534167%0x4*0x8&0xff;_0xc55bea[_0x134e6d(0x129)]((_0x2890f1>>>0x4)[_0x134e6d(0x16a)](0x10)),_0xc55bea[_0x134e6d(0x129)]((_0x2890f1&0xf)['toString'](0x10));}return _0xc55bea[_0x134e6d(0x2a1)]('');},'parse':function(_0x1fa2bc){var _0xbdf4de=_0x272f4e;for(var _0x296a53=_0x1fa2bc[_0xbdf4de(0x119)],_0x295ee1=[],_0x20ce32=0x0;_0x20ce32<_0x296a53;_0x20ce32+=0x2)_0x295ee1[_0x20ce32>>>0x3]|=parseInt(_0x1fa2bc[_0xbdf4de(0x30f)](_0x20ce32,0x2),0x10)<<0x18-_0x20ce32%0x8*0x4;return new _0xcbc46f[(_0xbdf4de(0x193))](_0x295ee1,_0x296a53/0x2);}},_0x366df1=_0x1516a8['Latin1']={'stringify':function(_0x2a16f3){var _0x1562ee=_0x272f4e;for(var _0x5ced23=_0x2a16f3[_0x1562ee(0x395)],_0x3afdae=_0x2a16f3['sigBytes'],_0x4ab25c=[],_0x33c054=0x0;_0x33c054<_0x3afdae;_0x33c054++){var _0x45e9a5=_0x5ced23[_0x33c054>>>0x2]>>>0x18-_0x33c054%0x4*0x8&0xff;_0x4ab25c[_0x1562ee(0x129)](String[_0x1562ee(0x3b9)](_0x45e9a5));}return _0x4ab25c[_0x1562ee(0x2a1)]('');},'parse':function(_0x1fdda2){var _0x552f6d=_0x272f4e;for(var _0x2a1f84=_0x1fdda2[_0x552f6d(0x119)],_0x3d81ee=[],_0x47795b=0x0;_0x47795b<_0x2a1f84;_0x47795b++)_0x3d81ee[_0x47795b>>>0x2]|=(_0x1fdda2[_0x552f6d(0xfc)](_0x47795b)&0xff)<<0x18-_0x47795b%0x4*0x8;return new _0xcbc46f[(_0x552f6d(0x193))](_0x3d81ee,_0x2a1f84);}},_0x419091=_0x1516a8[_0x272f4e(0x28a)]={'stringify':function(_0x19c983){var _0x28a1ed=_0x272f4e;try{return decodeURIComponent(escape(_0x366df1[_0x28a1ed(0x1a4)](_0x19c983)));}catch{throw new Error(_0x28a1ed(0xea));}},'parse':function(_0x1a5c9d){var _0xb5dc58=_0x272f4e;return _0x366df1[_0xb5dc58(0x27a)](unescape(encodeURIComponent(_0x1a5c9d)));}},_0x40ddf4=_0x455476[_0x272f4e(0x36d)]=_0x21291c[_0x272f4e(0x3ae)]({'reset':function(){var _0x37ecd4=_0x272f4e;this[_0x37ecd4(0x1c1)]=new _0xcbc46f[(_0x37ecd4(0x193))](),this[_0x37ecd4(0x11d)]=0x0;},'_append':function(_0x3477e2){var _0x550dd0=_0x272f4e;typeof _0x3477e2==_0x550dd0(0x204)&&(_0x3477e2=_0x419091[_0x550dd0(0x27a)](_0x3477e2)),this['_data'][_0x550dd0(0x34a)](_0x3477e2),this[_0x550dd0(0x11d)]+=_0x3477e2['sigBytes'];},'_process':function(_0x3c5a9d){var _0x993386=_0x272f4e,_0x11016a,_0x23d406=this[_0x993386(0x1c1)],_0x4ceff7=_0x23d406[_0x993386(0x395)],_0x282dbf=_0x23d406['sigBytes'],_0x48861e=this[_0x993386(0x304)],_0x349d3c=_0x48861e*0x4,_0x4e8af6=_0x282dbf/_0x349d3c;_0x3c5a9d?_0x4e8af6=_0x320c27[_0x993386(0x32e)](_0x4e8af6):_0x4e8af6=_0x320c27[_0x993386(0x12d)]((_0x4e8af6|0x0)-this[_0x993386(0x3a3)],0x0);var _0x259af2=_0x4e8af6*_0x48861e,_0x1bf10c=_0x320c27[_0x993386(0x28f)](_0x259af2*0x4,_0x282dbf);if(_0x259af2){for(var _0x22b406=0x0;_0x22b406<_0x259af2;_0x22b406+=_0x48861e)this[_0x993386(0x3b6)](_0x4ceff7,_0x22b406);_0x11016a=_0x4ceff7[_0x993386(0x314)](0x0,_0x259af2),_0x23d406[_0x993386(0x399)]-=_0x1bf10c;}return new _0xcbc46f[(_0x993386(0x193))](_0x11016a,_0x1bf10c);},'clone':function(){var _0x594dd0=_0x272f4e,_0x4ef44a=_0x21291c['clone']['call'](this);return _0x4ef44a['_data']=this[_0x594dd0(0x1c1)]['clone'](),_0x4ef44a;},'_minBufferSize':0x0});_0x455476['Hasher']=_0x40ddf4[_0x272f4e(0x3ae)]({'cfg':_0x21291c[_0x272f4e(0x3ae)](),'init':function(_0x155656){var _0x5a245d=_0x272f4e;this['cfg']=this[_0x5a245d(0x2ef)][_0x5a245d(0x3ae)](_0x155656),this[_0x5a245d(0x2db)]();},'reset':function(){var _0x5806cf=_0x272f4e;_0x40ddf4[_0x5806cf(0x2db)][_0x5806cf(0x308)](this),this[_0x5806cf(0xcc)]();},'update':function(_0x5d019d){var _0x9b26e1=_0x272f4e;return this[_0x9b26e1(0x2bd)](_0x5d019d),this['_process'](),this;},'finalize':function(_0x5f45e0){var _0x1de178=_0x272f4e;_0x5f45e0&&this['_append'](_0x5f45e0);var _0x225ebd=this[_0x1de178(0x228)]();return _0x225ebd;},'blockSize':0x10,'_createHelper':function(_0x492f9e){return function(_0x53162d,_0x3e30d6){var _0x13a4ae=_0x57d4;return new _0x492f9e[(_0x13a4ae(0x193))](_0x3e30d6)[_0x13a4ae(0x2d4)](_0x53162d);};},'_createHmacHelper':function(_0x21b542){return function(_0x395070,_0x31215c){var _0x29c793=_0x57d4;return new _0x3457b1['HMAC'][(_0x29c793(0x193))](_0x21b542,_0x31215c)[_0x29c793(0x2d4)](_0x395070);};}});var _0x3457b1=_0x468b18[_0x272f4e(0x27f)]={};return _0x468b18;}(Math);return _0x3c3048;}));}(Ge)),Ge[_0x549fbe(0x184)];}var We={'exports':{}},cn=We[_0x5032aa(0x184)],qt;function Ri(){var _0x4845be=_0x5032aa;return qt||(qt=0x1,function(_0x27c15c,_0x18592d){(function(_0x2414a5,_0x3274c9){var _0x239354=_0x57d4;_0x27c15c[_0x239354(0x184)]=_0x3274c9(ie());}(cn,function(_0x30a3d7){var _0x22f685=_0x57d4;return(function(){var _0x11c93a=_0x57d4,_0x17f416=_0x30a3d7,_0x6e977d=_0x17f416[_0x11c93a(0x3b7)],_0x531f28=_0x6e977d[_0x11c93a(0x28e)],_0x198400=_0x17f416['enc'];_0x198400[_0x11c93a(0x2c3)]={'stringify':function(_0x30b474){var _0x2be786=_0x11c93a,_0x4c42c5=_0x30b474[_0x2be786(0x395)],_0x4a1f1d=_0x30b474['sigBytes'],_0x1c3e8e=this[_0x2be786(0x21f)];_0x30b474[_0x2be786(0x17c)]();for(var _0x326865=[],_0x606dd3=0x0;_0x606dd3<_0x4a1f1d;_0x606dd3+=0x3)for(var _0x297b00=_0x4c42c5[_0x606dd3>>>0x2]>>>0x18-_0x606dd3%0x4*0x8&0xff,_0x19e17e=_0x4c42c5[_0x606dd3+0x1>>>0x2]>>>0x18-(_0x606dd3+0x1)%0x4*0x8&0xff,_0x888ed1=_0x4c42c5[_0x606dd3+0x2>>>0x2]>>>0x18-(_0x606dd3+0x2)%0x4*0x8&0xff,_0x581485=_0x297b00<<0x10|_0x19e17e<<0x8|_0x888ed1,_0x26bc37=0x0;_0x26bc37<0x4&&_0x606dd3+_0x26bc37*0.75<_0x4a1f1d;_0x26bc37++)_0x326865[_0x2be786(0x129)](_0x1c3e8e[_0x2be786(0x186)](_0x581485>>>0x6*(0x3-_0x26bc37)&0x3f));var _0x4e07cc=_0x1c3e8e[_0x2be786(0x186)](0x40);if(_0x4e07cc){for(;_0x326865['length']%0x4;)_0x326865[_0x2be786(0x129)](_0x4e07cc);}return _0x326865['join']('');},'parse':function(_0x2e4230){var _0x59865c=_0x11c93a,_0x44ef98=_0x2e4230[_0x59865c(0x119)],_0x15571f=this[_0x59865c(0x21f)],_0x29ee6c=this[_0x59865c(0x24f)];if(!_0x29ee6c){_0x29ee6c=this['_reverseMap']=[];for(var _0x4fb7a5=0x0;_0x4fb7a5<_0x15571f[_0x59865c(0x119)];_0x4fb7a5++)_0x29ee6c[_0x15571f[_0x59865c(0xfc)](_0x4fb7a5)]=_0x4fb7a5;}var _0x2025c1=_0x15571f[_0x59865c(0x186)](0x40);if(_0x2025c1){var _0x5a92ad=_0x2e4230[_0x59865c(0x258)](_0x2025c1);_0x5a92ad!==-0x1&&(_0x44ef98=_0x5a92ad);}return _0x10bba8(_0x2e4230,_0x44ef98,_0x29ee6c);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x10bba8(_0x227c1f,_0x18bb9f,_0x14b8eb){var _0x2f638b=_0x11c93a;for(var _0x32f196=[],_0x22d434=0x0,_0x1338f0=0x0;_0x1338f0<_0x18bb9f;_0x1338f0++)if(_0x1338f0%0x4){var _0x5aefd3=_0x14b8eb[_0x227c1f['charCodeAt'](_0x1338f0-0x1)]<<_0x1338f0%0x4*0x2,_0x12105f=_0x14b8eb[_0x227c1f[_0x2f638b(0xfc)](_0x1338f0)]>>>0x6-_0x1338f0%0x4*0x2,_0x4337cd=_0x5aefd3|_0x12105f;_0x32f196[_0x22d434>>>0x2]|=_0x4337cd<<0x18-_0x22d434%0x4*0x8,_0x22d434++;}return _0x531f28[_0x2f638b(0x302)](_0x32f196,_0x22d434);}}()),_0x30a3d7[_0x22f685(0x336)][_0x22f685(0x2c3)];}));}(We)),We[_0x4845be(0x184)];}var Ye={'exports':{}},_n=Ye[_0x5032aa(0x184)],zt;function hn(){var _0x18c4ef=_0x5032aa;return zt||(zt=0x1,function(_0x3409a3,_0x3ebfcc){(function(_0x132840,_0x714dc){var _0x1882f5=_0x57d4;_0x3409a3[_0x1882f5(0x184)]=_0x714dc(ie());}(_n,function(_0x3aa59e){return function(_0x2c8b15){var _0x5b289c=_0x57d4,_0x17c2eb=_0x3aa59e,_0x5cb863=_0x17c2eb[_0x5b289c(0x3b7)],_0x3ccf78=_0x5cb863['WordArray'],_0x2494f5=_0x5cb863[_0x5b289c(0x1ba)],_0x4903d0=_0x17c2eb[_0x5b289c(0x27f)],_0x6c9ea0=[];(function(){var _0x6c352f=_0x5b289c;for(var _0x3bdaeb=0x0;_0x3bdaeb<0x40;_0x3bdaeb++)_0x6c9ea0[_0x3bdaeb]=_0x2c8b15[_0x6c352f(0x3c3)](_0x2c8b15[_0x6c352f(0x239)](_0x3bdaeb+0x1))*0x100000000|0x0;}());var _0x27d33a=_0x4903d0['MD5']=_0x2494f5[_0x5b289c(0x3ae)]({'_doReset':function(){var _0x495781=_0x5b289c;this[_0x495781(0x1de)]=new _0x3ccf78[(_0x495781(0x193))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x292e0a,_0x99068d){var _0xecc9c1=_0x5b289c;for(var _0x5aedee=0x0;_0x5aedee<0x10;_0x5aedee++){var _0x5975b1=_0x99068d+_0x5aedee,_0x24cf8c=_0x292e0a[_0x5975b1];_0x292e0a[_0x5975b1]=(_0x24cf8c<<0x8|_0x24cf8c>>>0x18)&0xff00ff|(_0x24cf8c<<0x18|_0x24cf8c>>>0x8)&0xff00ff00;}var _0x2dc322=this[_0xecc9c1(0x1de)][_0xecc9c1(0x395)],_0x45f34b=_0x292e0a[_0x99068d+0x0],_0x559d29=_0x292e0a[_0x99068d+0x1],_0x29d287=_0x292e0a[_0x99068d+0x2],_0x589c2a=_0x292e0a[_0x99068d+0x3],_0x4dea42=_0x292e0a[_0x99068d+0x4],_0x3be9b9=_0x292e0a[_0x99068d+0x5],_0x50ddcc=_0x292e0a[_0x99068d+0x6],_0x45fd31=_0x292e0a[_0x99068d+0x7],_0xd7ecf5=_0x292e0a[_0x99068d+0x8],_0x20c9fa=_0x292e0a[_0x99068d+0x9],_0x1ad1dd=_0x292e0a[_0x99068d+0xa],_0x148e79=_0x292e0a[_0x99068d+0xb],_0x26b3dd=_0x292e0a[_0x99068d+0xc],_0xfce97d=_0x292e0a[_0x99068d+0xd],_0x506ecd=_0x292e0a[_0x99068d+0xe],_0xedfeef=_0x292e0a[_0x99068d+0xf],_0x36b2a1=_0x2dc322[0x0],_0x35f70b=_0x2dc322[0x1],_0x16d569=_0x2dc322[0x2],_0x5c72e1=_0x2dc322[0x3];_0x36b2a1=_0x1fd1ee(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0x45f34b,0x7,_0x6c9ea0[0x0]),_0x5c72e1=_0x1fd1ee(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x559d29,0xc,_0x6c9ea0[0x1]),_0x16d569=_0x1fd1ee(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x29d287,0x11,_0x6c9ea0[0x2]),_0x35f70b=_0x1fd1ee(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x589c2a,0x16,_0x6c9ea0[0x3]),_0x36b2a1=_0x1fd1ee(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0x4dea42,0x7,_0x6c9ea0[0x4]),_0x5c72e1=_0x1fd1ee(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x3be9b9,0xc,_0x6c9ea0[0x5]),_0x16d569=_0x1fd1ee(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x50ddcc,0x11,_0x6c9ea0[0x6]),_0x35f70b=_0x1fd1ee(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x45fd31,0x16,_0x6c9ea0[0x7]),_0x36b2a1=_0x1fd1ee(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0xd7ecf5,0x7,_0x6c9ea0[0x8]),_0x5c72e1=_0x1fd1ee(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x20c9fa,0xc,_0x6c9ea0[0x9]),_0x16d569=_0x1fd1ee(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x1ad1dd,0x11,_0x6c9ea0[0xa]),_0x35f70b=_0x1fd1ee(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x148e79,0x16,_0x6c9ea0[0xb]),_0x36b2a1=_0x1fd1ee(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0x26b3dd,0x7,_0x6c9ea0[0xc]),_0x5c72e1=_0x1fd1ee(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0xfce97d,0xc,_0x6c9ea0[0xd]),_0x16d569=_0x1fd1ee(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x506ecd,0x11,_0x6c9ea0[0xe]),_0x35f70b=_0x1fd1ee(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0xedfeef,0x16,_0x6c9ea0[0xf]),_0x36b2a1=_0x42893d(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0x559d29,0x5,_0x6c9ea0[0x10]),_0x5c72e1=_0x42893d(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x50ddcc,0x9,_0x6c9ea0[0x11]),_0x16d569=_0x42893d(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x148e79,0xe,_0x6c9ea0[0x12]),_0x35f70b=_0x42893d(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x45f34b,0x14,_0x6c9ea0[0x13]),_0x36b2a1=_0x42893d(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0x3be9b9,0x5,_0x6c9ea0[0x14]),_0x5c72e1=_0x42893d(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x1ad1dd,0x9,_0x6c9ea0[0x15]),_0x16d569=_0x42893d(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0xedfeef,0xe,_0x6c9ea0[0x16]),_0x35f70b=_0x42893d(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x4dea42,0x14,_0x6c9ea0[0x17]),_0x36b2a1=_0x42893d(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0x20c9fa,0x5,_0x6c9ea0[0x18]),_0x5c72e1=_0x42893d(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x506ecd,0x9,_0x6c9ea0[0x19]),_0x16d569=_0x42893d(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x589c2a,0xe,_0x6c9ea0[0x1a]),_0x35f70b=_0x42893d(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0xd7ecf5,0x14,_0x6c9ea0[0x1b]),_0x36b2a1=_0x42893d(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0xfce97d,0x5,_0x6c9ea0[0x1c]),_0x5c72e1=_0x42893d(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x29d287,0x9,_0x6c9ea0[0x1d]),_0x16d569=_0x42893d(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x45fd31,0xe,_0x6c9ea0[0x1e]),_0x35f70b=_0x42893d(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x26b3dd,0x14,_0x6c9ea0[0x1f]),_0x36b2a1=_0x46be5d(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0x3be9b9,0x4,_0x6c9ea0[0x20]),_0x5c72e1=_0x46be5d(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0xd7ecf5,0xb,_0x6c9ea0[0x21]),_0x16d569=_0x46be5d(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x148e79,0x10,_0x6c9ea0[0x22]),_0x35f70b=_0x46be5d(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x506ecd,0x17,_0x6c9ea0[0x23]),_0x36b2a1=_0x46be5d(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0x559d29,0x4,_0x6c9ea0[0x24]),_0x5c72e1=_0x46be5d(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x4dea42,0xb,_0x6c9ea0[0x25]),_0x16d569=_0x46be5d(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x45fd31,0x10,_0x6c9ea0[0x26]),_0x35f70b=_0x46be5d(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x1ad1dd,0x17,_0x6c9ea0[0x27]),_0x36b2a1=_0x46be5d(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0xfce97d,0x4,_0x6c9ea0[0x28]),_0x5c72e1=_0x46be5d(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x45f34b,0xb,_0x6c9ea0[0x29]),_0x16d569=_0x46be5d(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x589c2a,0x10,_0x6c9ea0[0x2a]),_0x35f70b=_0x46be5d(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x50ddcc,0x17,_0x6c9ea0[0x2b]),_0x36b2a1=_0x46be5d(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0x20c9fa,0x4,_0x6c9ea0[0x2c]),_0x5c72e1=_0x46be5d(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x26b3dd,0xb,_0x6c9ea0[0x2d]),_0x16d569=_0x46be5d(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0xedfeef,0x10,_0x6c9ea0[0x2e]),_0x35f70b=_0x46be5d(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x29d287,0x17,_0x6c9ea0[0x2f]),_0x36b2a1=_0x3a163d(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0x45f34b,0x6,_0x6c9ea0[0x30]),_0x5c72e1=_0x3a163d(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x45fd31,0xa,_0x6c9ea0[0x31]),_0x16d569=_0x3a163d(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x506ecd,0xf,_0x6c9ea0[0x32]),_0x35f70b=_0x3a163d(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x3be9b9,0x15,_0x6c9ea0[0x33]),_0x36b2a1=_0x3a163d(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0x26b3dd,0x6,_0x6c9ea0[0x34]),_0x5c72e1=_0x3a163d(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x589c2a,0xa,_0x6c9ea0[0x35]),_0x16d569=_0x3a163d(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x1ad1dd,0xf,_0x6c9ea0[0x36]),_0x35f70b=_0x3a163d(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x559d29,0x15,_0x6c9ea0[0x37]),_0x36b2a1=_0x3a163d(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0xd7ecf5,0x6,_0x6c9ea0[0x38]),_0x5c72e1=_0x3a163d(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0xedfeef,0xa,_0x6c9ea0[0x39]),_0x16d569=_0x3a163d(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x50ddcc,0xf,_0x6c9ea0[0x3a]),_0x35f70b=_0x3a163d(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0xfce97d,0x15,_0x6c9ea0[0x3b]),_0x36b2a1=_0x3a163d(_0x36b2a1,_0x35f70b,_0x16d569,_0x5c72e1,_0x4dea42,0x6,_0x6c9ea0[0x3c]),_0x5c72e1=_0x3a163d(_0x5c72e1,_0x36b2a1,_0x35f70b,_0x16d569,_0x148e79,0xa,_0x6c9ea0[0x3d]),_0x16d569=_0x3a163d(_0x16d569,_0x5c72e1,_0x36b2a1,_0x35f70b,_0x29d287,0xf,_0x6c9ea0[0x3e]),_0x35f70b=_0x3a163d(_0x35f70b,_0x16d569,_0x5c72e1,_0x36b2a1,_0x20c9fa,0x15,_0x6c9ea0[0x3f]),_0x2dc322[0x0]=_0x2dc322[0x0]+_0x36b2a1|0x0,_0x2dc322[0x1]=_0x2dc322[0x1]+_0x35f70b|0x0,_0x2dc322[0x2]=_0x2dc322[0x2]+_0x16d569|0x0,_0x2dc322[0x3]=_0x2dc322[0x3]+_0x5c72e1|0x0;},'_doFinalize':function(){var _0x3ef588=_0x5b289c,_0x52e88d=this[_0x3ef588(0x1c1)],_0x241f70=_0x52e88d[_0x3ef588(0x395)],_0x519a83=this[_0x3ef588(0x11d)]*0x8,_0x11f247=_0x52e88d[_0x3ef588(0x399)]*0x8;_0x241f70[_0x11f247>>>0x5]|=0x80<<0x18-_0x11f247%0x20;var _0x297cda=_0x2c8b15['floor'](_0x519a83/0x100000000),_0x20c3f9=_0x519a83;_0x241f70[(_0x11f247+0x40>>>0x9<<0x4)+0xf]=(_0x297cda<<0x8|_0x297cda>>>0x18)&0xff00ff|(_0x297cda<<0x18|_0x297cda>>>0x8)&0xff00ff00,_0x241f70[(_0x11f247+0x40>>>0x9<<0x4)+0xe]=(_0x20c3f9<<0x8|_0x20c3f9>>>0x18)&0xff00ff|(_0x20c3f9<<0x18|_0x20c3f9>>>0x8)&0xff00ff00,_0x52e88d[_0x3ef588(0x399)]=(_0x241f70[_0x3ef588(0x119)]+0x1)*0x4,this[_0x3ef588(0x264)]();for(var _0x59d479=this['_hash'],_0x40c9ba=_0x59d479[_0x3ef588(0x395)],_0x1a9ac9=0x0;_0x1a9ac9<0x4;_0x1a9ac9++){var _0x13e074=_0x40c9ba[_0x1a9ac9];_0x40c9ba[_0x1a9ac9]=(_0x13e074<<0x8|_0x13e074>>>0x18)&0xff00ff|(_0x13e074<<0x18|_0x13e074>>>0x8)&0xff00ff00;}return _0x59d479;},'clone':function(){var _0x3e8645=_0x5b289c,_0x1d74b3=_0x2494f5['clone'][_0x3e8645(0x308)](this);return _0x1d74b3[_0x3e8645(0x1de)]=this['_hash'][_0x3e8645(0x1db)](),_0x1d74b3;}});function _0x1fd1ee(_0x569ef3,_0x836353,_0x24c719,_0xaa2ee1,_0x4e8707,_0x57f434,_0x4f49e5){var _0xa58c8f=_0x569ef3+(_0x836353&_0x24c719|~_0x836353&_0xaa2ee1)+_0x4e8707+_0x4f49e5;return(_0xa58c8f<<_0x57f434|_0xa58c8f>>>0x20-_0x57f434)+_0x836353;}function _0x42893d(_0x3da8dc,_0x51311f,_0x1f1e94,_0x41ddb8,_0x549e50,_0x23032f,_0x45f7d0){var _0x5c8687=_0x3da8dc+(_0x51311f&_0x41ddb8|_0x1f1e94&~_0x41ddb8)+_0x549e50+_0x45f7d0;return(_0x5c8687<<_0x23032f|_0x5c8687>>>0x20-_0x23032f)+_0x51311f;}function _0x46be5d(_0x536e83,_0x1a4f74,_0x17579f,_0xa606a0,_0x579b60,_0xe78328,_0x259fe6){var _0x9445ca=_0x536e83+(_0x1a4f74^_0x17579f^_0xa606a0)+_0x579b60+_0x259fe6;return(_0x9445ca<<_0xe78328|_0x9445ca>>>0x20-_0xe78328)+_0x1a4f74;}function _0x3a163d(_0x559116,_0x1dd096,_0x41f3d8,_0x1c960b,_0x445ba7,_0x226bca,_0x2509fa){var _0x2508c6=_0x559116+(_0x41f3d8^(_0x1dd096|~_0x1c960b))+_0x445ba7+_0x2509fa;return(_0x2508c6<<_0x226bca|_0x2508c6>>>0x20-_0x226bca)+_0x1dd096;}_0x17c2eb['MD5']=_0x2494f5[_0x5b289c(0x3a0)](_0x27d33a),_0x17c2eb[_0x5b289c(0x13e)]=_0x2494f5[_0x5b289c(0x165)](_0x27d33a);}(Math),_0x3aa59e['MD5'];}));}(Ye)),Ye[_0x18c4ef(0x184)];}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x5032aa(0x184)],Jt;function un(){return Jt||(Jt=0x1,function(_0x384d34,_0x408aa5){(function(_0x599676,_0x46c2fe){var _0x47b0f0=_0x57d4;_0x384d34[_0x47b0f0(0x184)]=_0x46c2fe(ie());}(ln,function(_0x5d056b){var _0x4e1c9b=_0x57d4;return(function(){var _0x530cf2=_0x57d4,_0x5a3266=_0x5d056b,_0xbb232=_0x5a3266[_0x530cf2(0x3b7)],_0xcdd05=_0xbb232[_0x530cf2(0x28e)],_0xfc54e2=_0xbb232[_0x530cf2(0x1ba)],_0xc669e4=_0x5a3266[_0x530cf2(0x27f)],_0x30fdef=[],_0xe19d95=_0xc669e4['SHA1']=_0xfc54e2[_0x530cf2(0x3ae)]({'_doReset':function(){var _0xcfa538=_0x530cf2;this[_0xcfa538(0x1de)]=new _0xcdd05[(_0xcfa538(0x193))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2b9bc4,_0x4d01d0){var _0x3a9896=_0x530cf2;for(var _0x227495=this['_hash'][_0x3a9896(0x395)],_0x5ead9a=_0x227495[0x0],_0x3693d3=_0x227495[0x1],_0x4d1b06=_0x227495[0x2],_0x2779ff=_0x227495[0x3],_0xf9449d=_0x227495[0x4],_0xc78b1a=0x0;_0xc78b1a<0x50;_0xc78b1a++){if(_0xc78b1a<0x10)_0x30fdef[_0xc78b1a]=_0x2b9bc4[_0x4d01d0+_0xc78b1a]|0x0;else{var _0x35ce7d=_0x30fdef[_0xc78b1a-0x3]^_0x30fdef[_0xc78b1a-0x8]^_0x30fdef[_0xc78b1a-0xe]^_0x30fdef[_0xc78b1a-0x10];_0x30fdef[_0xc78b1a]=_0x35ce7d<<0x1|_0x35ce7d>>>0x1f;}var _0x119aee=(_0x5ead9a<<0x5|_0x5ead9a>>>0x1b)+_0xf9449d+_0x30fdef[_0xc78b1a];_0xc78b1a<0x14?_0x119aee+=(_0x3693d3&_0x4d1b06|~_0x3693d3&_0x2779ff)+0x5a827999:_0xc78b1a<0x28?_0x119aee+=(_0x3693d3^_0x4d1b06^_0x2779ff)+0x6ed9eba1:_0xc78b1a<0x3c?_0x119aee+=(_0x3693d3&_0x4d1b06|_0x3693d3&_0x2779ff|_0x4d1b06&_0x2779ff)-0x70e44324:_0x119aee+=(_0x3693d3^_0x4d1b06^_0x2779ff)-0x359d3e2a,_0xf9449d=_0x2779ff,_0x2779ff=_0x4d1b06,_0x4d1b06=_0x3693d3<<0x1e|_0x3693d3>>>0x2,_0x3693d3=_0x5ead9a,_0x5ead9a=_0x119aee;}_0x227495[0x0]=_0x227495[0x0]+_0x5ead9a|0x0,_0x227495[0x1]=_0x227495[0x1]+_0x3693d3|0x0,_0x227495[0x2]=_0x227495[0x2]+_0x4d1b06|0x0,_0x227495[0x3]=_0x227495[0x3]+_0x2779ff|0x0,_0x227495[0x4]=_0x227495[0x4]+_0xf9449d|0x0;},'_doFinalize':function(){var _0x526c70=_0x530cf2,_0x51ca5b=this[_0x526c70(0x1c1)],_0x2a1ab2=_0x51ca5b['words'],_0x455d38=this[_0x526c70(0x11d)]*0x8,_0x2f3644=_0x51ca5b[_0x526c70(0x399)]*0x8;return _0x2a1ab2[_0x2f3644>>>0x5]|=0x80<<0x18-_0x2f3644%0x20,_0x2a1ab2[(_0x2f3644+0x40>>>0x9<<0x4)+0xe]=Math[_0x526c70(0x176)](_0x455d38/0x100000000),_0x2a1ab2[(_0x2f3644+0x40>>>0x9<<0x4)+0xf]=_0x455d38,_0x51ca5b[_0x526c70(0x399)]=_0x2a1ab2['length']*0x4,this[_0x526c70(0x264)](),this['_hash'];},'clone':function(){var _0x24c943=_0x530cf2,_0x5dfc63=_0xfc54e2[_0x24c943(0x1db)][_0x24c943(0x308)](this);return _0x5dfc63[_0x24c943(0x1de)]=this[_0x24c943(0x1de)]['clone'](),_0x5dfc63;}});_0x5a3266[_0x530cf2(0x20d)]=_0xfc54e2['_createHelper'](_0xe19d95),_0x5a3266[_0x530cf2(0x293)]=_0xfc54e2[_0x530cf2(0x165)](_0xe19d95);}()),_0x5d056b[_0x4e1c9b(0x20d)];}));}(qe)),qe['exports'];}var ze={'exports':{}},dn=ze['exports'],Xt;function fn(){var _0x135b8a=_0x5032aa;return Xt||(Xt=0x1,function(_0x1bc535,_0x27f0c0){(function(_0x55583e,_0x5cbd06){var _0x4c6df4=_0x57d4;_0x1bc535[_0x4c6df4(0x184)]=_0x5cbd06(ie());}(dn,function(_0x40caaa){(function(){var _0x5a5739=_0x57d4,_0x27931d=_0x40caaa,_0x5e052b=_0x27931d[_0x5a5739(0x3b7)],_0x24c5f7=_0x5e052b[_0x5a5739(0x1cd)],_0x1336bf=_0x27931d[_0x5a5739(0x336)],_0x6545be=_0x1336bf[_0x5a5739(0x28a)],_0x3054a9=_0x27931d[_0x5a5739(0x27f)];_0x3054a9[_0x5a5739(0x384)]=_0x24c5f7['extend']({'init':function(_0x4cc065,_0x599cab){var _0x2fed7f=_0x5a5739;_0x4cc065=this[_0x2fed7f(0x170)]=new _0x4cc065[(_0x2fed7f(0x193))](),typeof _0x599cab==_0x2fed7f(0x204)&&(_0x599cab=_0x6545be[_0x2fed7f(0x27a)](_0x599cab));var _0x3b5c67=_0x4cc065[_0x2fed7f(0x304)],_0x59b115=_0x3b5c67*0x4;_0x599cab[_0x2fed7f(0x399)]>_0x59b115&&(_0x599cab=_0x4cc065[_0x2fed7f(0x2d4)](_0x599cab)),_0x599cab[_0x2fed7f(0x17c)]();for(var _0x326bfa=this[_0x2fed7f(0x16c)]=_0x599cab[_0x2fed7f(0x1db)](),_0x121a0e=this['_iKey']=_0x599cab[_0x2fed7f(0x1db)](),_0x138532=_0x326bfa['words'],_0x4e0335=_0x121a0e[_0x2fed7f(0x395)],_0x44d7b8=0x0;_0x44d7b8<_0x3b5c67;_0x44d7b8++)_0x138532[_0x44d7b8]^=0x5c5c5c5c,_0x4e0335[_0x44d7b8]^=0x36363636;_0x326bfa[_0x2fed7f(0x399)]=_0x121a0e[_0x2fed7f(0x399)]=_0x59b115,this[_0x2fed7f(0x2db)]();},'reset':function(){var _0xa93450=_0x5a5739,_0x43f9c1=this[_0xa93450(0x170)];_0x43f9c1[_0xa93450(0x2db)](),_0x43f9c1[_0xa93450(0x256)](this['_iKey']);},'update':function(_0x44729b){var _0x5bad03=_0x5a5739;return this[_0x5bad03(0x170)][_0x5bad03(0x256)](_0x44729b),this;},'finalize':function(_0x14981f){var _0x5ec6d6=_0x5a5739,_0x43e673=this[_0x5ec6d6(0x170)],_0x53dbac=_0x43e673[_0x5ec6d6(0x2d4)](_0x14981f);_0x43e673[_0x5ec6d6(0x2db)]();var _0x604100=_0x43e673[_0x5ec6d6(0x2d4)](this[_0x5ec6d6(0x16c)][_0x5ec6d6(0x1db)]()[_0x5ec6d6(0x34a)](_0x53dbac));return _0x604100;}});}());}));}(ze)),ze[_0x135b8a(0x184)];}var vn=Ke[_0x5032aa(0x184)],Zt;function Ci(){var _0x5be216=_0x5032aa;return Zt||(Zt=0x1,function(_0x31ada0,_0x36a7ad){(function(_0x18e018,_0x5de4eb,_0x1f1b6c){var _0x456dc2=_0x57d4;_0x31ada0[_0x456dc2(0x184)]=_0x5de4eb(ie(),un(),fn());}(vn,function(_0x18eadc){var _0x11da07=_0x57d4;return(function(){var _0x13cab1=_0x57d4,_0x2ff755=_0x18eadc,_0x583873=_0x2ff755[_0x13cab1(0x3b7)],_0x22c6c8=_0x583873['Base'],_0x4d627b=_0x583873[_0x13cab1(0x28e)],_0xb4743b=_0x2ff755[_0x13cab1(0x27f)],_0x496dfd=_0xb4743b[_0x13cab1(0xfb)],_0x4ba728=_0xb4743b[_0x13cab1(0x3b0)]=_0x22c6c8['extend']({'cfg':_0x22c6c8[_0x13cab1(0x3ae)]({'keySize':0x80/0x20,'hasher':_0x496dfd,'iterations':0x1}),'init':function(_0x4761bf){var _0x226915=_0x13cab1;this[_0x226915(0x2ef)]=this[_0x226915(0x2ef)][_0x226915(0x3ae)](_0x4761bf);},'compute':function(_0x20df23,_0x5e429f){var _0x3476e2=_0x13cab1;for(var _0x5c1af2,_0x503a2e=this['cfg'],_0xb779ba=_0x503a2e[_0x3476e2(0x28c)][_0x3476e2(0x302)](),_0x3cffd5=_0x4d627b[_0x3476e2(0x302)](),_0x2f8460=_0x3cffd5[_0x3476e2(0x395)],_0x3123b7=_0x503a2e[_0x3476e2(0x189)],_0x4540d5=_0x503a2e[_0x3476e2(0x361)];_0x2f8460['length']<_0x3123b7;){_0x5c1af2&&_0xb779ba[_0x3476e2(0x256)](_0x5c1af2),_0x5c1af2=_0xb779ba['update'](_0x20df23)['finalize'](_0x5e429f),_0xb779ba[_0x3476e2(0x2db)]();for(var _0x1466dc=0x1;_0x1466dc<_0x4540d5;_0x1466dc++)_0x5c1af2=_0xb779ba['finalize'](_0x5c1af2),_0xb779ba[_0x3476e2(0x2db)]();_0x3cffd5[_0x3476e2(0x34a)](_0x5c1af2);}return _0x3cffd5[_0x3476e2(0x399)]=_0x3123b7*0x4,_0x3cffd5;}});_0x2ff755[_0x13cab1(0x3b0)]=function(_0x3d1f45,_0x12759d,_0x23c9a6){var _0x130a68=_0x13cab1;return _0x4ba728[_0x130a68(0x302)](_0x23c9a6)[_0x130a68(0x1b8)](_0x3d1f45,_0x12759d);};}()),_0x18eadc[_0x11da07(0x3b0)];}));}(Ke)),Ke[_0x5be216(0x184)];}var Je={'exports':{}},pn=Je[_0x5032aa(0x184)],Qt;function Ni(){var _0x55f87a=_0x5032aa;return Qt||(Qt=0x1,function(_0x49a459,_0x12010b){(function(_0xafaf40,_0x3baa97,_0x4b10bb){var _0x2b00d1=_0x57d4;_0x49a459[_0x2b00d1(0x184)]=_0x3baa97(ie(),Ci());}(pn,function(_0x4b4122){var _0x4e3e04=_0x57d4;_0x4b4122[_0x4e3e04(0x3b7)][_0x4e3e04(0x1ef)]||function(_0x5ba486){var _0x3ae0ed=_0x4e3e04,_0x36e3b0=_0x4b4122,_0x1b68e0=_0x36e3b0[_0x3ae0ed(0x3b7)],_0x17bd35=_0x1b68e0[_0x3ae0ed(0x1cd)],_0x247571=_0x1b68e0[_0x3ae0ed(0x28e)],_0x11e746=_0x1b68e0[_0x3ae0ed(0x36d)],_0xf230aa=_0x36e3b0[_0x3ae0ed(0x336)];_0xf230aa['Utf8'];var _0x56863f=_0xf230aa[_0x3ae0ed(0x2c3)],_0x43e8f2=_0x36e3b0[_0x3ae0ed(0x27f)],_0x256224=_0x43e8f2['EvpKDF'],_0x3ed3b2=_0x1b68e0[_0x3ae0ed(0x1ef)]=_0x11e746[_0x3ae0ed(0x3ae)]({'cfg':_0x17bd35[_0x3ae0ed(0x3ae)](),'createEncryptor':function(_0x4b94e6,_0x3198c6){var _0xa1b717=_0x3ae0ed;return this[_0xa1b717(0x302)](this[_0xa1b717(0x200)],_0x4b94e6,_0x3198c6);},'createDecryptor':function(_0x5a9c83,_0x5cde1b){return this['create'](this['_DEC_XFORM_MODE'],_0x5a9c83,_0x5cde1b);},'init':function(_0x4d986b,_0x34a0f7,_0x3f8d10){var _0x239e90=_0x3ae0ed;this[_0x239e90(0x2ef)]=this[_0x239e90(0x2ef)][_0x239e90(0x3ae)](_0x3f8d10),this['_xformMode']=_0x4d986b,this[_0x239e90(0xc6)]=_0x34a0f7,this[_0x239e90(0x2db)]();},'reset':function(){var _0x36e65d=_0x3ae0ed;_0x11e746[_0x36e65d(0x2db)]['call'](this),this[_0x36e65d(0xcc)]();},'process':function(_0x5a8f9f){var _0x27474a=_0x3ae0ed;return this[_0x27474a(0x2bd)](_0x5a8f9f),this['_process']();},'finalize':function(_0x4849f6){var _0x45cce1=_0x3ae0ed;_0x4849f6&&this[_0x45cce1(0x2bd)](_0x4849f6);var _0x403027=this['_doFinalize']();return _0x403027;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x31b0df(_0xfd7709){var _0x5c37b3=_0x57d4;return typeof _0xfd7709==_0x5c37b3(0x204)?_0x22f03b:_0x414c02;}return function(_0x3b3158){return{'encrypt':function(_0x473a37,_0x349cfc,_0x597065){var _0x593b8e=_0x57d4;return _0x31b0df(_0x349cfc)[_0x593b8e(0x1a1)](_0x3b3158,_0x473a37,_0x349cfc,_0x597065);},'decrypt':function(_0x3793ea,_0x38620e,_0x1f08bb){var _0x109787=_0x57d4;return _0x31b0df(_0x38620e)[_0x109787(0x2ca)](_0x3b3158,_0x3793ea,_0x38620e,_0x1f08bb);}};};}())});_0x1b68e0[_0x3ae0ed(0x378)]=_0x3ed3b2['extend']({'_doFinalize':function(){var _0x219ef3=_0x3ae0ed,_0x3401f5=this[_0x219ef3(0x264)](!0x0);return _0x3401f5;},'blockSize':0x1});var _0x205b34=_0x36e3b0['mode']={},_0x1135be=_0x1b68e0[_0x3ae0ed(0x35c)]=_0x17bd35['extend']({'createEncryptor':function(_0xd6054e,_0x4189f2){var _0x2d306c=_0x3ae0ed;return this['Encryptor'][_0x2d306c(0x302)](_0xd6054e,_0x4189f2);},'createDecryptor':function(_0x3ed023,_0x598673){var _0x46a4a8=_0x3ae0ed;return this[_0x46a4a8(0x123)][_0x46a4a8(0x302)](_0x3ed023,_0x598673);},'init':function(_0x54249d,_0x1641ba){var _0x43b477=_0x3ae0ed;this['_cipher']=_0x54249d,this[_0x43b477(0x2d9)]=_0x1641ba;}}),_0x4bd5ac=_0x205b34[_0x3ae0ed(0x262)]=(function(){var _0x261c65=_0x3ae0ed,_0x2bd1c9=_0x1135be['extend']();_0x2bd1c9[_0x261c65(0x333)]=_0x2bd1c9['extend']({'processBlock':function(_0x468d2b,_0x37ac74){var _0x26a6f6=_0x261c65,_0x16944c=this[_0x26a6f6(0x2cc)],_0x377814=_0x16944c[_0x26a6f6(0x304)];_0x4f6aa8['call'](this,_0x468d2b,_0x37ac74,_0x377814),_0x16944c[_0x26a6f6(0x117)](_0x468d2b,_0x37ac74),this['_prevBlock']=_0x468d2b[_0x26a6f6(0x3cc)](_0x37ac74,_0x37ac74+_0x377814);}}),_0x2bd1c9['Decryptor']=_0x2bd1c9[_0x261c65(0x3ae)]({'processBlock':function(_0x597547,_0xc2cbdc){var _0x1b7a85=_0x261c65,_0x151ead=this[_0x1b7a85(0x2cc)],_0x50923a=_0x151ead[_0x1b7a85(0x304)],_0x3e7db8=_0x597547[_0x1b7a85(0x3cc)](_0xc2cbdc,_0xc2cbdc+_0x50923a);_0x151ead[_0x1b7a85(0x13f)](_0x597547,_0xc2cbdc),_0x4f6aa8[_0x1b7a85(0x308)](this,_0x597547,_0xc2cbdc,_0x50923a),this['_prevBlock']=_0x3e7db8;}});function _0x4f6aa8(_0x81ab4c,_0xf3ab3f,_0x31ee15){var _0x2f07fd=_0x261c65,_0x4c3eb5,_0x5f046b=this[_0x2f07fd(0x2d9)];_0x5f046b?(_0x4c3eb5=_0x5f046b,this[_0x2f07fd(0x2d9)]=_0x5ba486):_0x4c3eb5=this[_0x2f07fd(0x37e)];for(var _0xc6bf08=0x0;_0xc6bf08<_0x31ee15;_0xc6bf08++)_0x81ab4c[_0xf3ab3f+_0xc6bf08]^=_0x4c3eb5[_0xc6bf08];}return _0x2bd1c9;}()),_0x4febf8=_0x36e3b0[_0x3ae0ed(0x323)]={},_0x432c3c=_0x4febf8['Pkcs7']={'pad':function(_0xc9c151,_0x548cab){var _0x58fc72=_0x3ae0ed;for(var _0x534594=_0x548cab*0x4,_0x420391=_0x534594-_0xc9c151[_0x58fc72(0x399)]%_0x534594,_0x3aafad=_0x420391<<0x18|_0x420391<<0x10|_0x420391<<0x8|_0x420391,_0x4f437b=[],_0x3a57cc=0x0;_0x3a57cc<_0x420391;_0x3a57cc+=0x4)_0x4f437b[_0x58fc72(0x129)](_0x3aafad);var _0x1a3ded=_0x247571[_0x58fc72(0x302)](_0x4f437b,_0x420391);_0xc9c151[_0x58fc72(0x34a)](_0x1a3ded);},'unpad':function(_0xe6a18f){var _0x326c7e=_0x3ae0ed,_0x2d6fc6=_0xe6a18f[_0x326c7e(0x395)][_0xe6a18f[_0x326c7e(0x399)]-0x1>>>0x2]&0xff;_0xe6a18f[_0x326c7e(0x399)]-=_0x2d6fc6;}};_0x1b68e0['BlockCipher']=_0x3ed3b2[_0x3ae0ed(0x3ae)]({'cfg':_0x3ed3b2['cfg'][_0x3ae0ed(0x3ae)]({'mode':_0x4bd5ac,'padding':_0x432c3c}),'reset':function(){var _0x41fb50=_0x3ae0ed,_0x38bc59;_0x3ed3b2[_0x41fb50(0x2db)][_0x41fb50(0x308)](this);var _0x5bb45e=this[_0x41fb50(0x2ef)],_0x4c064d=_0x5bb45e['iv'],_0x12ad28=_0x5bb45e[_0x41fb50(0x1b0)];this['_xformMode']==this[_0x41fb50(0x200)]?_0x38bc59=_0x12ad28[_0x41fb50(0x118)]:(_0x38bc59=_0x12ad28[_0x41fb50(0x348)],this[_0x41fb50(0x3a3)]=0x1),this[_0x41fb50(0x1f7)]&&this[_0x41fb50(0x1f7)][_0x41fb50(0x25f)]==_0x38bc59?this[_0x41fb50(0x1f7)][_0x41fb50(0x193)](this,_0x4c064d&&_0x4c064d[_0x41fb50(0x395)]):(this[_0x41fb50(0x1f7)]=_0x38bc59['call'](_0x12ad28,this,_0x4c064d&&_0x4c064d['words']),this[_0x41fb50(0x1f7)][_0x41fb50(0x25f)]=_0x38bc59);},'_doProcessBlock':function(_0x13ece4,_0x1ddce4){var _0x9608cb=_0x3ae0ed;this[_0x9608cb(0x1f7)][_0x9608cb(0x1df)](_0x13ece4,_0x1ddce4);},'_doFinalize':function(){var _0x181dd3=_0x3ae0ed,_0x1116f5,_0x529181=this[_0x181dd3(0x2ef)]['padding'];return this[_0x181dd3(0x274)]==this['_ENC_XFORM_MODE']?(_0x529181['pad'](this[_0x181dd3(0x1c1)],this[_0x181dd3(0x304)]),_0x1116f5=this['_process'](!0x0)):(_0x1116f5=this['_process'](!0x0),_0x529181[_0x181dd3(0x22d)](_0x1116f5)),_0x1116f5;},'blockSize':0x80/0x20});var _0x3d60c8=_0x1b68e0[_0x3ae0ed(0x169)]=_0x17bd35[_0x3ae0ed(0x3ae)]({'init':function(_0x572413){var _0x39210e=_0x3ae0ed;this[_0x39210e(0x127)](_0x572413);},'toString':function(_0x360099){var _0x41eb31=_0x3ae0ed;return(_0x360099||this[_0x41eb31(0x360)])[_0x41eb31(0x1a4)](this);}}),_0x570408=_0x36e3b0[_0x3ae0ed(0x2b7)]={},_0x2db931=_0x570408[_0x3ae0ed(0x13a)]={'stringify':function(_0x357b1b){var _0x467126=_0x3ae0ed,_0x3617b4,_0x581444=_0x357b1b[_0x467126(0x386)],_0x1205a5=_0x357b1b['salt'];return _0x1205a5?_0x3617b4=_0x247571[_0x467126(0x302)]([0x53616c74,0x65645f5f])[_0x467126(0x34a)](_0x1205a5)[_0x467126(0x34a)](_0x581444):_0x3617b4=_0x581444,_0x3617b4[_0x467126(0x16a)](_0x56863f);},'parse':function(_0x4e6fec){var _0x550a49=_0x3ae0ed,_0x5cbef7,_0x4e0bfb=_0x56863f[_0x550a49(0x27a)](_0x4e6fec),_0x24d8fd=_0x4e0bfb[_0x550a49(0x395)];return _0x24d8fd[0x0]==0x53616c74&&_0x24d8fd[0x1]==0x65645f5f&&(_0x5cbef7=_0x247571[_0x550a49(0x302)](_0x24d8fd[_0x550a49(0x3cc)](0x2,0x4)),_0x24d8fd[_0x550a49(0x314)](0x0,0x4),_0x4e0bfb['sigBytes']-=0x10),_0x3d60c8[_0x550a49(0x302)]({'ciphertext':_0x4e0bfb,'salt':_0x5cbef7});}},_0x414c02=_0x1b68e0[_0x3ae0ed(0x334)]=_0x17bd35[_0x3ae0ed(0x3ae)]({'cfg':_0x17bd35[_0x3ae0ed(0x3ae)]({'format':_0x2db931}),'encrypt':function(_0x421715,_0x53763f,_0x40fd20,_0x2ff1a9){var _0x19dc48=_0x3ae0ed;_0x2ff1a9=this[_0x19dc48(0x2ef)][_0x19dc48(0x3ae)](_0x2ff1a9);var _0x9abbf0=_0x421715[_0x19dc48(0x118)](_0x40fd20,_0x2ff1a9),_0x5d5c2f=_0x9abbf0['finalize'](_0x53763f),_0x5ec4ce=_0x9abbf0[_0x19dc48(0x2ef)];return _0x3d60c8[_0x19dc48(0x302)]({'ciphertext':_0x5d5c2f,'key':_0x40fd20,'iv':_0x5ec4ce['iv'],'algorithm':_0x421715,'mode':_0x5ec4ce['mode'],'padding':_0x5ec4ce['padding'],'blockSize':_0x421715['blockSize'],'formatter':_0x2ff1a9['format']});},'decrypt':function(_0x3d66ea,_0x4f67d7,_0x44f107,_0x5f336e){var _0x2acc6d=_0x3ae0ed;_0x5f336e=this['cfg'][_0x2acc6d(0x3ae)](_0x5f336e),_0x4f67d7=this[_0x2acc6d(0x15c)](_0x4f67d7,_0x5f336e['format']);var _0x3fd333=_0x3d66ea['createDecryptor'](_0x44f107,_0x5f336e)[_0x2acc6d(0x2d4)](_0x4f67d7[_0x2acc6d(0x386)]);return _0x3fd333;},'_parse':function(_0x576d33,_0xea65aa){var _0xa1d96f=_0x3ae0ed;return typeof _0x576d33==_0xa1d96f(0x204)?_0xea65aa['parse'](_0x576d33,this):_0x576d33;}}),_0x4ef8f5=_0x36e3b0['kdf']={},_0x70b2f9=_0x4ef8f5['OpenSSL']={'execute':function(_0x32882b,_0x11742d,_0x93ff87,_0x2307c2,_0x4de59a){var _0x84a302=_0x3ae0ed;if(_0x2307c2||(_0x2307c2=_0x247571[_0x84a302(0x31e)](0x40/0x8)),_0x4de59a)var _0x1c0ab9=_0x256224[_0x84a302(0x302)]({'keySize':_0x11742d+_0x93ff87,'hasher':_0x4de59a})['compute'](_0x32882b,_0x2307c2);else var _0x1c0ab9=_0x256224[_0x84a302(0x302)]({'keySize':_0x11742d+_0x93ff87})[_0x84a302(0x1b8)](_0x32882b,_0x2307c2);var _0x272e30=_0x247571[_0x84a302(0x302)](_0x1c0ab9[_0x84a302(0x395)][_0x84a302(0x3cc)](_0x11742d),_0x93ff87*0x4);return _0x1c0ab9[_0x84a302(0x399)]=_0x11742d*0x4,_0x3d60c8[_0x84a302(0x302)]({'key':_0x1c0ab9,'iv':_0x272e30,'salt':_0x2307c2});}},_0x22f03b=_0x1b68e0[_0x3ae0ed(0x2eb)]=_0x414c02['extend']({'cfg':_0x414c02[_0x3ae0ed(0x2ef)]['extend']({'kdf':_0x70b2f9}),'encrypt':function(_0x3ce393,_0x1919be,_0x30600a,_0x232398){var _0xb4641d=_0x3ae0ed;_0x232398=this[_0xb4641d(0x2ef)][_0xb4641d(0x3ae)](_0x232398);var _0x22497f=_0x232398[_0xb4641d(0x242)][_0xb4641d(0x192)](_0x30600a,_0x3ce393[_0xb4641d(0x189)],_0x3ce393[_0xb4641d(0x1ff)],_0x232398[_0xb4641d(0x135)],_0x232398[_0xb4641d(0x28c)]);_0x232398['iv']=_0x22497f['iv'];var _0x35eec8=_0x414c02[_0xb4641d(0x1a1)]['call'](this,_0x3ce393,_0x1919be,_0x22497f[_0xb4641d(0x2cf)],_0x232398);return _0x35eec8[_0xb4641d(0x127)](_0x22497f),_0x35eec8;},'decrypt':function(_0x573a14,_0x2af22c,_0x700b27,_0x53615d){var _0x5b0773=_0x3ae0ed;_0x53615d=this['cfg']['extend'](_0x53615d),_0x2af22c=this[_0x5b0773(0x15c)](_0x2af22c,_0x53615d['format']);var _0x4bbf5b=_0x53615d['kdf'][_0x5b0773(0x192)](_0x700b27,_0x573a14['keySize'],_0x573a14['ivSize'],_0x2af22c[_0x5b0773(0x135)],_0x53615d[_0x5b0773(0x28c)]);_0x53615d['iv']=_0x4bbf5b['iv'];var _0x85beae=_0x414c02['decrypt']['call'](this,_0x573a14,_0x2af22c,_0x4bbf5b[_0x5b0773(0x2cf)],_0x53615d);return _0x85beae;}});}();}));}(Je)),Je[_0x55f87a(0x184)];}var En=Ve[_0x5032aa(0x184)],ei;function mn(){var _0x2fa4a3=_0x5032aa;return ei||(ei=0x1,function(_0xfbb914,_0x5302fa){(function(_0x43d0f7,_0x2b352c,_0x34c1e3){var _0x561ccc=_0x57d4;_0xfbb914[_0x561ccc(0x184)]=_0x2b352c(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x48cf24){var _0x211c79=_0x57d4;return(function(){var _0x22faab=_0x57d4,_0xc74ded=_0x48cf24,_0x264231=_0xc74ded[_0x22faab(0x3b7)],_0x43b260=_0x264231[_0x22faab(0x166)],_0x244032=_0xc74ded['algo'],_0x468a71=[],_0x37c049=[],_0x3bc1aa=[],_0x35db51=[],_0x462eb2=[],_0x304e8f=[],_0x2e951e=[],_0x2214ab=[],_0x47ca55=[],_0xb0a970=[];(function(){for(var _0x1dd23c=[],_0x52ed2f=0x0;_0x52ed2f<0x100;_0x52ed2f++)_0x52ed2f<0x80?_0x1dd23c[_0x52ed2f]=_0x52ed2f<<0x1:_0x1dd23c[_0x52ed2f]=_0x52ed2f<<0x1^0x11b;for(var _0x115c83=0x0,_0x5d2e53=0x0,_0x52ed2f=0x0;_0x52ed2f<0x100;_0x52ed2f++){var _0x4131ce=_0x5d2e53^_0x5d2e53<<0x1^_0x5d2e53<<0x2^_0x5d2e53<<0x3^_0x5d2e53<<0x4;_0x4131ce=_0x4131ce>>>0x8^_0x4131ce&0xff^0x63,_0x468a71[_0x115c83]=_0x4131ce,_0x37c049[_0x4131ce]=_0x115c83;var _0x86cd64=_0x1dd23c[_0x115c83],_0x550af6=_0x1dd23c[_0x86cd64],_0x2cdb00=_0x1dd23c[_0x550af6],_0x181693=_0x1dd23c[_0x4131ce]*0x101^_0x4131ce*0x1010100;_0x3bc1aa[_0x115c83]=_0x181693<<0x18|_0x181693>>>0x8,_0x35db51[_0x115c83]=_0x181693<<0x10|_0x181693>>>0x10,_0x462eb2[_0x115c83]=_0x181693<<0x8|_0x181693>>>0x18,_0x304e8f[_0x115c83]=_0x181693;var _0x181693=_0x2cdb00*0x1010101^_0x550af6*0x10001^_0x86cd64*0x101^_0x115c83*0x1010100;_0x2e951e[_0x4131ce]=_0x181693<<0x18|_0x181693>>>0x8,_0x2214ab[_0x4131ce]=_0x181693<<0x10|_0x181693>>>0x10,_0x47ca55[_0x4131ce]=_0x181693<<0x8|_0x181693>>>0x18,_0xb0a970[_0x4131ce]=_0x181693,_0x115c83?(_0x115c83=_0x86cd64^_0x1dd23c[_0x1dd23c[_0x1dd23c[_0x2cdb00^_0x86cd64]]],_0x5d2e53^=_0x1dd23c[_0x1dd23c[_0x5d2e53]]):_0x115c83=_0x5d2e53=0x1;}}());var _0x22ef7b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4f265b=_0x244032['AES']=_0x43b260['extend']({'_doReset':function(){var _0x2f6761=_0x22faab,_0xc5e1e4;if(!(this[_0x2f6761(0x255)]&&this[_0x2f6761(0x25c)]===this['_key'])){for(var _0xd0a02a=this['_keyPriorReset']=this['_key'],_0x2231be=_0xd0a02a[_0x2f6761(0x395)],_0x24e4b0=_0xd0a02a[_0x2f6761(0x399)]/0x4,_0x23ea21=this[_0x2f6761(0x255)]=_0x24e4b0+0x6,_0x1d5b3c=(_0x23ea21+0x1)*0x4,_0x54cf41=this[_0x2f6761(0x22b)]=[],_0x25dd64=0x0;_0x25dd64<_0x1d5b3c;_0x25dd64++)_0x25dd64<_0x24e4b0?_0x54cf41[_0x25dd64]=_0x2231be[_0x25dd64]:(_0xc5e1e4=_0x54cf41[_0x25dd64-0x1],_0x25dd64%_0x24e4b0?_0x24e4b0>0x6&&_0x25dd64%_0x24e4b0==0x4&&(_0xc5e1e4=_0x468a71[_0xc5e1e4>>>0x18]<<0x18|_0x468a71[_0xc5e1e4>>>0x10&0xff]<<0x10|_0x468a71[_0xc5e1e4>>>0x8&0xff]<<0x8|_0x468a71[_0xc5e1e4&0xff]):(_0xc5e1e4=_0xc5e1e4<<0x8|_0xc5e1e4>>>0x18,_0xc5e1e4=_0x468a71[_0xc5e1e4>>>0x18]<<0x18|_0x468a71[_0xc5e1e4>>>0x10&0xff]<<0x10|_0x468a71[_0xc5e1e4>>>0x8&0xff]<<0x8|_0x468a71[_0xc5e1e4&0xff],_0xc5e1e4^=_0x22ef7b[_0x25dd64/_0x24e4b0|0x0]<<0x18),_0x54cf41[_0x25dd64]=_0x54cf41[_0x25dd64-_0x24e4b0]^_0xc5e1e4);for(var _0x5d9373=this['_invKeySchedule']=[],_0x418b7=0x0;_0x418b7<_0x1d5b3c;_0x418b7++){var _0x25dd64=_0x1d5b3c-_0x418b7;if(_0x418b7%0x4)var _0xc5e1e4=_0x54cf41[_0x25dd64];else var _0xc5e1e4=_0x54cf41[_0x25dd64-0x4];_0x418b7<0x4||_0x25dd64<=0x4?_0x5d9373[_0x418b7]=_0xc5e1e4:_0x5d9373[_0x418b7]=_0x2e951e[_0x468a71[_0xc5e1e4>>>0x18]]^_0x2214ab[_0x468a71[_0xc5e1e4>>>0x10&0xff]]^_0x47ca55[_0x468a71[_0xc5e1e4>>>0x8&0xff]]^_0xb0a970[_0x468a71[_0xc5e1e4&0xff]];}}},'encryptBlock':function(_0x59f265,_0x2f2f4e){var _0xe95018=_0x22faab;this['_doCryptBlock'](_0x59f265,_0x2f2f4e,this[_0xe95018(0x22b)],_0x3bc1aa,_0x35db51,_0x462eb2,_0x304e8f,_0x468a71);},'decryptBlock':function(_0x3f2658,_0x5da5f0){var _0x30e1d8=_0x22faab,_0x4753ce=_0x3f2658[_0x5da5f0+0x1];_0x3f2658[_0x5da5f0+0x1]=_0x3f2658[_0x5da5f0+0x3],_0x3f2658[_0x5da5f0+0x3]=_0x4753ce,this[_0x30e1d8(0x396)](_0x3f2658,_0x5da5f0,this[_0x30e1d8(0x2bc)],_0x2e951e,_0x2214ab,_0x47ca55,_0xb0a970,_0x37c049);var _0x4753ce=_0x3f2658[_0x5da5f0+0x1];_0x3f2658[_0x5da5f0+0x1]=_0x3f2658[_0x5da5f0+0x3],_0x3f2658[_0x5da5f0+0x3]=_0x4753ce;},'_doCryptBlock':function(_0x2d65f3,_0x5b528b,_0x38779a,_0x46d678,_0x17ad5a,_0xe1e8b4,_0x25696a,_0x15b394){var _0x1bf5d4=_0x22faab;for(var _0x2a69f6=this[_0x1bf5d4(0x255)],_0x5a20d9=_0x2d65f3[_0x5b528b]^_0x38779a[0x0],_0x25329b=_0x2d65f3[_0x5b528b+0x1]^_0x38779a[0x1],_0x45ddfd=_0x2d65f3[_0x5b528b+0x2]^_0x38779a[0x2],_0x2a2a77=_0x2d65f3[_0x5b528b+0x3]^_0x38779a[0x3],_0x408280=0x4,_0x7037ed=0x1;_0x7037ed<_0x2a69f6;_0x7037ed++){var _0x1eec31=_0x46d678[_0x5a20d9>>>0x18]^_0x17ad5a[_0x25329b>>>0x10&0xff]^_0xe1e8b4[_0x45ddfd>>>0x8&0xff]^_0x25696a[_0x2a2a77&0xff]^_0x38779a[_0x408280++],_0x2ba212=_0x46d678[_0x25329b>>>0x18]^_0x17ad5a[_0x45ddfd>>>0x10&0xff]^_0xe1e8b4[_0x2a2a77>>>0x8&0xff]^_0x25696a[_0x5a20d9&0xff]^_0x38779a[_0x408280++],_0x2c7b09=_0x46d678[_0x45ddfd>>>0x18]^_0x17ad5a[_0x2a2a77>>>0x10&0xff]^_0xe1e8b4[_0x5a20d9>>>0x8&0xff]^_0x25696a[_0x25329b&0xff]^_0x38779a[_0x408280++],_0x11da8e=_0x46d678[_0x2a2a77>>>0x18]^_0x17ad5a[_0x5a20d9>>>0x10&0xff]^_0xe1e8b4[_0x25329b>>>0x8&0xff]^_0x25696a[_0x45ddfd&0xff]^_0x38779a[_0x408280++];_0x5a20d9=_0x1eec31,_0x25329b=_0x2ba212,_0x45ddfd=_0x2c7b09,_0x2a2a77=_0x11da8e;}var _0x1eec31=(_0x15b394[_0x5a20d9>>>0x18]<<0x18|_0x15b394[_0x25329b>>>0x10&0xff]<<0x10|_0x15b394[_0x45ddfd>>>0x8&0xff]<<0x8|_0x15b394[_0x2a2a77&0xff])^_0x38779a[_0x408280++],_0x2ba212=(_0x15b394[_0x25329b>>>0x18]<<0x18|_0x15b394[_0x45ddfd>>>0x10&0xff]<<0x10|_0x15b394[_0x2a2a77>>>0x8&0xff]<<0x8|_0x15b394[_0x5a20d9&0xff])^_0x38779a[_0x408280++],_0x2c7b09=(_0x15b394[_0x45ddfd>>>0x18]<<0x18|_0x15b394[_0x2a2a77>>>0x10&0xff]<<0x10|_0x15b394[_0x5a20d9>>>0x8&0xff]<<0x8|_0x15b394[_0x25329b&0xff])^_0x38779a[_0x408280++],_0x11da8e=(_0x15b394[_0x2a2a77>>>0x18]<<0x18|_0x15b394[_0x5a20d9>>>0x10&0xff]<<0x10|_0x15b394[_0x25329b>>>0x8&0xff]<<0x8|_0x15b394[_0x45ddfd&0xff])^_0x38779a[_0x408280++];_0x2d65f3[_0x5b528b]=_0x1eec31,_0x2d65f3[_0x5b528b+0x1]=_0x2ba212,_0x2d65f3[_0x5b528b+0x2]=_0x2c7b09,_0x2d65f3[_0x5b528b+0x3]=_0x11da8e;},'keySize':0x100/0x20});_0xc74ded[_0x22faab(0xd6)]=_0x43b260[_0x22faab(0x3a0)](_0x4f265b);}()),_0x48cf24[_0x211c79(0xd6)];}));}(Ve)),Ve[_0x2fa4a3(0x184)];}var In=mn();const Sn=ke(In);var gn=Ri();function _0x2902(){var _0x2aa2e3=['open$','_sessionStatus$','ALREADY_EXISTS','allowed','REDEMPTION_INVALID_CODE','_univerInstanceService','_doCreateSocket','_eventService','createDecryptor','fetching\x20missing\x20changesets\x20from\x20','concat','RETRY_CONNECTING_MAX_COUNT','OTHER_CLIENT_EDITING','JOIN_ROOM_FAILED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','updatePermissionObjEvent','getRoom','?size=','_initCloseConn','NO_OTHER_CLIENTS_EDITING','_init','equals','setConfig','YUUMI_URL_COL_OUT_OF_RANGE','_clearScheduledTask','NOT_COLLAB','error','_event$','BlockCipherMode','unitId\x20is\x20not\x20found','_type','YUUMI_ASYNCIO_CANCELLED','formatter','iterations','_commentUpdate$','LEAVE','_updateStatus','OFFLINE','onRemoteRetry','_emitMembers','setWaitCount','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','eventID','_state$','PERMISSION_REJ','BufferedBlockAlgorithm','_initUnitPermissionChange','TOO_MANY_REQUESTS','symbol','YUUMI_ALL_TABLES_IS_INVALID','objectActions','_remoteChangesetQueue','UNRECOGNIZED','_retryCount','UNAUTHENTICATED','_telemetryInfo','StreamCipher','filter','onTransformRemoteChangesetByIMECache','roles','socket\x20close','put','_prevBlock','LICENSE_EXPORT_SIZE_EXCEEDED','ENSURE_SNAPSHOT_EXECUTION','YUUMI_UNABLE_LOAD_URL','SHOULD_CLOSE_CONN','transformMutationsWithChangeset','HMAC','[CollaborationSession]','ciphertext','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_socketReady','createInstance','getImage','list','RECV','USERS_LEAVE','executeCommand','YUUMI_RATE_OVER_LIMIT','_toggleOnline','onCommandExecuted','ENTITLE_CHAT_LIMIT_EXCEED','_transformStack','result','words','_doCryptBlock','_onFetchMissResult','batchAllowed','sigBytes','reqId','fetchThroughInterceptors','_revisionService','localeService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_onMessage','_createHelper','_retryConnectingTimer','_collaborationPaused','_minBufferSize','REDEMPTION_CODE_HAS_BEEN_CREATED','joinRsp','COMPLETION_FINISHED','JOIN_ROOM_NOT_EXISTS','stopTime','761262fBNbHQ','HttpExport','_fetchMissChangesets','_joinRoom','_onLocalMutation','extend','_handlerCallback','EvpKDF','_onRemoteACK','COMMENT_UPDATE','title','editing\x20status\x20changed\x20to','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_doProcessBlock','lib','CONFLICT','fromCharCode','Undefined','change$','_executeRemoteChangeset','startsWith','_removeRoom','_applyRemoteChangeset','onTransformState','getValue','action','abs','_collabSessionService','APPLY_DUPLICATED','hasOwnProperty','APPLY_REVISION_CONFILICT','originalMeta','transformChangesets','_commandService','ws://127.0.0.1:8000/universer-api/comb/connect','slice','_transformStateCache','LIVESHARE_REQUEST_HOST','_waitCount','/fetchmissing?from=','YUUMI_NO_CUBOID_FOR_QUESTION','dispose$','_userManagerService','_isPermissionRej','getFocusedUnit','SUCCUSS','awaiting','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','INGEST','authzUrl','fetch_missing','setCurrentUser','_key','_throwTelemetryCollaborationNewChangeset','LIVESHARE_NEW_HOST','startTime','SYNCED','/-/object/-/batch_allowed','_doReset','apply','UNIVER_UNKNOWN','updatePermissionPoint','INVITE_CODE_ALREADY_BOUND','LICENSE_DISTRO_REJECTED','ERROR_IMAGE','_socketMessageSubscription','unitID','984qLPIJX','AES','retryConnectingInterval','subject','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_commentService','[DataLoaderService]','downloadEndpointUrl','csShouldRetryEvent','ENTITLE_NEED_BILLING_ADDRESS','_onJoinRoomEvent','univer-pro.collaboration-client.single-active-unit-service','_socketService','SNAPSHOT_INVALID_SNAPSHOT','focused$','onRemoteRej','_collaborationSessionService','PAYMENT_CHANNEL_NOT_SUPPORT','collabWebSocketUrl','PERMISSION_DENIED','DATA_SOURCE_TOO_LARGE','Malformed\x20UTF-8\x20data','every','BASE64','saveImage','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_getCtorByUniverType','onMissedChangesetFetched','setShowComponents','selections','getUnitType','updateMember','APPLY_NON_SEQUENTIAL_REVISION','interceptor','isArray','EMAIL_HAS_BEEN_BOUND','JOIN','enableAuthServer','MD5','charCodeAt','capture','awaitingChangeset','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_pendingMutations','_awaitingChangeset','auth.needGotoLoginAlert','entityInit$','UNISCRIPT_RUN','then','[UniverCollaborationClientPlugin]','onMissingChangesets','getCollabEntity','_clearTimeoutTimer','AWAITING_WITH_PENDING','onRemoteAck','code','CLOSE_ROOM','_rescheduleHeartbeat','ONLINE','ENTITLE_REPORT_LIMIT_EXCEED','ERROR_AGAIN','rev','/resources','session.room-permission-denied','LIVESHARE_OPERATION','reconnect','encryptBlock','createEncryptor','length','_members','getWorkbookSelections','\x20-\x20','_nDataBytes','encode','Hex','getTime','function','_clearHeartbeatTimer','Decryptor','appendMutation','getRandomValues','onTransformSelections','mixIn','add','push','/universer-api/uniscript','uploadFileServerUrl','YUUMI_SUBSCRIPTION_NOT_FOUND','max','[PendingState]:\x20unhandled\x20univer\x20type:\x20','APPLY_REJECT','_getAPIPrefixPath','getMemberID','_clearUndo','status','editingUnit','salt','includes','addImageSourceCache','_candidateSocket','saveChangeset','OpenSSL','sid','_configService','c1Prime','HmacMD5','decryptBlock','confirm','_getSendChangesetTimeout','collaboration_new_changeset','session','getCurrentUser','toggleOnline','close$','getCurrentSelections','body','_onRemoteRejected','_members$','sendChangesetTimeout','has','/allowed','_startCollaboration','byteLength','getConfig','location','dispose','_sessions','subscribe','joinEvent','13653cTIsvt','_disableEditing','getActiveSheet','_initMergeInterceptor','1252005lgoHnh','actions','_parse','UNIVER_SHEET','OTHER_CLIENTS_EDITING','onCommentUpdate','/universer-api/authz','INVALID_INVITE_CODE','JOIN_ROOM_PERMISSION_DENIED','_resendTimeout','[FetchMissState]','_createHmacHelper','BlockCipher','unitInfo$','fetchMissingChangesets','CipherParams','toString','onSendChangeset','_oKey','getCollabEntity$','_updateState','sessionStatus$','_hasher','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','HttpImport','submit\x20changeset\x20error!','/new_changes','subUnitId','floor','onload','getUnitId','_transformService','pauseCollaboration','GLOBAL_ROOMS_CNT_EXCEEDS','clamp','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','delete','close','JOINING','onlyLocal','/unit/','_socket','exports','_showConflictNotification','charAt','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','set','keySize','addHandlerCallback','UnitSnapshot','_handler','_substituteRedoStack','getAllMembers','COMPRESS_MUTATION_APPLY','_redoStacks','_tryReconnect','execute','init','event$','__esModule','&assign=','enableSingleActiveInstanceLock','_memberService','createCollaborator','\x0aCurrent:\x20','_onRecvEvent','_getSignURL','updateOfflineData','prototype','origin','_unitID','encrypt','target','CHANGESET_REVISION_CONFILICT','stringify','USER_NOT_FOUND','collaborators','unitId','send','_clearRedo','FETCH_MISSING','forEach','_change$','_decreaseWaiting','listRoles','[SyncedState]:\x20received\x20acknowledgement.','mode','\x20to\x20','next','_socket$','INTERNAL_ERROR','failed\x20to\x20apply\x20missed\x20changesets!','_roomCreated$','csRejEvent','compute','_changesetSessionId','Hasher','entries','/block/','loadOfflineData','onLocalMutation','EMAIL_VERIFY_CODE_MISMATCH','AWAITING','_data','_sendHeartbeat','session.join-failed','image/jpg','registerHTTPInterceptor','_onConnectionOpen','_createSocket','state$','getSnapshotAPIPath','catch','defineProperty','SOCKET_FAILED_RETRY','Base','UNKNOWN_CODE','_snapshotService','ERROR_EXCEED_SIZE','_updateLocalCache','HEARTBEAT','reverse','_undoRedoService','fetchMiss','{fileID}','/collaborator','_timeoutTimer','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_state','clone','PENDING','offline','_hash','processBlock','_submitChangeset','_acknowledgedAwaitingChangeset','[PendingState]:\x20received\x20rejection.','_getUploadFileURL','USER_IS_ANONYMOUS','[CollaborationEntity]','REDEMPTION_CODE_INACTIVE','/universer-api/stream/file/upload','_instanceService','/-/object/list','conflict','_scheduleCollaborationTimeoutTimer','getCurrentRevOfUnit','YUUMI_CONNECTOR_URL_NOT_FOUND','putCollaborators','Cipher','getDeserializedSheetBlock','_getRedoStack','getResourcesRequest','[CollaborationSessionService]:\x20socket\x20error','find','routeKey','_httpService','_mode','changesets','ENTITLE_INSUFFICIENT_QUOTA','reject','deepClone','saveSheetBlock','LOCAL_CACHE_INTERVAL','COMPRESS_MUTATION_SEND','ivSize','_ENC_XFORM_MODE','initWorkbookPermissionChange','params','UPDATE_PERMISSION_OBJ','string','telemetry\x20info\x20is\x20not\x20initialized','liveShareNewHost','getUnitOnRev','_singleActiveUnitService','/role','enableOfflineEditing','_sendHeartbeatTimer','_checkMissing','SHA1','repeat','csAckEvent','Failed\x20to\x20update\x20permission\x20point','PSEUDO_FETCH_MISSING_RESULT','LIVESHARE_FETCH_OPERATIONS','findIndex','_getDownloadEndpointURL','workbook','_queuedRemoteChangesets','ERROR_IMAGE_TYPE','/object/','_sender','_substituteUndoStack','_collaborationUIEventService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_compressMutationService','REDEMPTION_CODE_NOT_STARTED','_map','onRemoteChangeset','$super','ENTITLE_DUP_SUBSCRIPTION','UNIVER_PROJECT','_tryEnsureSocket','_changesetReqId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','enableCollaboration','_doFinalize','transformUndoRedo','_getUndoStack','_keySchedule','disposeWithMe','unpad','MUTATION','localCacheService','APPLY_PERMISSION_DENIED','_replayCachedMutations','_waitForHeartbeatResponse','/universer-api/oidc/authpage','_localCacheService','append','CHANGESET_SHOULD_RETRY','LIVESHARE_TERMINATE','resend','sin','_status$','UUID','[SyncedState]:\x20received\x20rejection.','_getLoginPath','_localeService','_transformRemoteChangesetByStateCache','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onStateChange','kdf','[PendingState]:\x20received\x20acknowledgement.','_getCurrentRevision','createSocket','UNIVER_SLIDE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','sessionStatus','patch','_initDependencies','mutations','LOGIN_FAILED','_roomMembers','objects','_reverseMap','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','transformSelections','/universer-api/snapshot/','UnitEmbedded','resolve','_nRounds','update','type','indexOf','_telemetryService','socketService','_lockTransition','_keyPriorReset','pluginName','LOGIN_TOKEN_PROCESSING_FAILED','__creator','session.room-cnt-exceeds','LICENSE_MAX_UNITS_EXCEEDED','CBC','USERS_ENTER','_process','PY_RUNTIME_SCRIPT_ERROR','_startTelemetryCollaborationNewChangeset','145848ZqvmgW','cmd','/universer-api/file/{fileID}/sign-url','getLatestCsReqIdBySid','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','complete','HEARTBEAT_INTERVAL','_onRemoteRetry','_collaborationTimeoutTimer','members$','_registerDependencies','collaboratorID','_transformIMECache','_xformMode','_entities','getTypeOfUnitAdded$','waitForRoom$','collaboration-client.local-cache-service','_onConflict','parse','onSyncEditingCollabCursor','USER_NOT_INVITED_CODE','onTransformIME','unsubscribe','algo','error$','\x20in\x20_schedule.','disableLocalCache','POST','getOwnPropertyDescriptor','REDEMPTION_USER_NOT_ELIGIBLE','[CollaborationSessionService]','univer-pro.collaboration-client.network-condition.service','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','AUTHORIZE_CODE_ILLEGAL','Utf8','_networkConditionService','hasher','_transitionLocked','WordArray','min','msCrypto','crypto','avatar','HmacSHA1','[CollaborationState]:\x20apply\x20error!','688785uNxVtu','save\x20fail\x20reason\x20is\x20','collabSubmitChangesetUrl','1431516tfSOKl','_onRemoteChangeset','closeSession','MSG_FOR_ERROR','getMember','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','MOBILE_HAS_BEEN_BOUND','_replaceFileID','href','join','updateSnapshot','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','headers','socket$','synced','_exhaustRemoteChangesetQueue','CHANGESET_REJ','_syncEditingCollabCursor','_config','_createInitialStateImpl','LICENSE_IMPORT_SIZE_EXCEEDED','_HTTPService','NoPadding','pipe','now','_schedule','IDLE','/universer-api/user/session-ticket','UserProfileImg','SOCKET_FAILED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','format','ClipsheetFragments','isPermissionRej','WECHAT_HAS_BEEN_BOUND','requestParams','_invKeySchedule','_append','_onUserJoin','_logService','_shouldReportTelemetry','state','pending','Base64','range','_unitInfo$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','490738eTcvfC','updateCursorEvent','size','decrypt','objectID','_cipher','UNIVER_DOC','SUBMIT_CHANGESET_TIMEOUT','key','_clearLocalCache','image/png','/universer-api/comb','textRanges','finalize','YUUMI_AI_RUN_FAILED','loadUnitOfRevision','url','FAIL','_iv','[CollaborationUndoRedoService]','reset','_permissionService','unknown','_incrementRevisionNumber','_onCombEvent','_initRequestHeader','_transformRemoteChangesetByIMECache','Could\x20not\x20dynamically\x20require\x20\x22','_unlockTransition','_transformUndoredo','newCsEvent','userID','INVITE_CODE_REQUIRED','_scheduleCompleteTimestamp','toggleOffline','_onConnectionFailed','PasswordBasedCipher','image/jpeg','getTypeOfUnitDisposed$','REDEMPTION_CODE_FULLY_REDEEMED','cfg','_resendTimer','_createHandler','responseType','FileId','_injector','_transformSelections','getInterceptPoints','getImageSourceCache','CHANGESET_ACK','_snapshotServerService','getUnit','requireSession','uniscriptRunEvent','replace','[OfflineState]:\x20received\x20rejection.','session.room-full','INVALID_ARGUMENT','_clearRetryConnectingTimer','create','loadDoc','blockSize','default','removeMember','sheets','call','map','awaiting_with_pending','name','_imageSourceCache','21VZNxqa','connection\x20error','substr','univer-pro.collaboration-client-socket-service','INVITE_CODE_HAS_BEEN_UES','_getAPIPrefix','_createInitialState','splice','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','m2Prime','onTransformRemoteChangesetByStateCache','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_sendingTimer','memberID','emitEvent','message$','_resendWithTimeout','random','objectType','values','clear','signUrlServerUrl','pad','CURRENT_STATUS_CANNOT_OPERATE','override','readyForCollab','baseRev','commentUpdate$','NOT_FOUND','_entityInit$','get','HELLO','updateCollaborator','ceil','UPDATE_CURSOR','asObservable','CONNECTOR_DATA_TOO_LARGE','SNAPSHOT_HAS_BEEN_REMOVED','Encryptor','SerializableCipher','getSheetBlock','enc','post','SUBMIT_CHANGESET','snapshotServerUrl','UNDEFINED','JOIN_ROOM_FULL','_onUserLeave','data','debug','revision'];_0x2902=function(){return _0x2aa2e3;};return _0x2902();}const ti=ke(gn);var Xe={'exports':{}},Tn=Xe[_0x5032aa(0x184)],ii;function On(){var _0x2f2237=_0x5032aa;return ii||(ii=0x1,function(_0x89c764,_0x450bfb){(function(_0x329510,_0x1061af){var _0xf56602=_0x57d4;_0x89c764[_0xf56602(0x184)]=_0x1061af(ie());}(Tn,function(_0x120a49){var _0x224c7d=_0x57d4;return _0x120a49[_0x224c7d(0x336)][_0x224c7d(0x28a)];}));}(Xe)),Xe[_0x2f2237(0x184)];}var Rn=On();const Cn=ke(Rn);var Ze={'exports':{}},Nn=Ze['exports'],si;function bn(){return si||(si=0x1,function(_0x4e56e0,_0x4f7b8d){(function(_0x4fba32,_0x4619a6){var _0x518b74=_0x57d4;_0x4e56e0[_0x518b74(0x184)]=_0x4619a6(ie());}(Nn,function(_0x472d56){var _0x316b2f=_0x57d4;return(function(){var _0x20e11f=_0x57d4;if(typeof ArrayBuffer==_0x20e11f(0x121)){var _0x5261e1=_0x472d56,_0x25dfa1=_0x5261e1['lib'],_0x3d333f=_0x25dfa1[_0x20e11f(0x28e)],_0x524290=_0x3d333f[_0x20e11f(0x193)],_0xa95fc9=_0x3d333f[_0x20e11f(0x193)]=function(_0x356daf){var _0x363c50=_0x20e11f;if(_0x356daf instanceof ArrayBuffer&&(_0x356daf=new Uint8Array(_0x356daf)),(_0x356daf instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x356daf instanceof Uint8ClampedArray||_0x356daf instanceof Int16Array||_0x356daf instanceof Uint16Array||_0x356daf instanceof Int32Array||_0x356daf instanceof Uint32Array||_0x356daf instanceof Float32Array||_0x356daf instanceof Float64Array)&&(_0x356daf=new Uint8Array(_0x356daf['buffer'],_0x356daf['byteOffset'],_0x356daf[_0x363c50(0x14f)])),_0x356daf instanceof Uint8Array){for(var _0x25c34e=_0x356daf[_0x363c50(0x14f)],_0x5846e3=[],_0x5ae860=0x0;_0x5ae860<_0x25c34e;_0x5ae860++)_0x5846e3[_0x5ae860>>>0x2]|=_0x356daf[_0x5ae860]<<0x18-_0x5ae860%0x4*0x8;_0x524290[_0x363c50(0x308)](this,_0x5846e3,_0x25c34e);}else _0x524290['apply'](this,arguments);};_0xa95fc9['prototype']=_0x3d333f;}}()),_0x472d56[_0x316b2f(0x3b7)][_0x316b2f(0x28e)];}));}(Ze)),Ze['exports'];}var Dn=bn();const yn=ke(Dn);var Qe={'exports':{}},Un=Qe[_0x5032aa(0x184)],ni;function An(){var _0x145d8f=_0x5032aa;return ni||(ni=0x1,function(_0x3171cc,_0x5822d1){(function(_0x538a9c,_0xf9f197,_0x2112aa){var _0x1e061c=_0x57d4;_0x3171cc[_0x1e061c(0x184)]=_0xf9f197(ie(),Ni());}(Un,function(_0x1ed2e8){var _0x4c1c29=_0x57d4;return _0x1ed2e8[_0x4c1c29(0x323)][_0x4c1c29(0x2ae)]={'pad':function(){},'unpad':function(){}},_0x1ed2e8[_0x4c1c29(0x323)][_0x4c1c29(0x2ae)];}));}(Qe)),Qe[_0x145d8f(0x184)];}var Pn=An();const wn=ke(Pn);function Mn(_0x1090c6,_0xf93862){var _0x2aa9d2=_0x5032aa;const _0x2e6ea3=_0xf93862-_0x1090c6[_0x2aa9d2(0x119)]%_0xf93862,_0x41be0d=String[_0x2aa9d2(0x3b9)](_0x2e6ea3)[_0x2aa9d2(0x20e)](_0x2e6ea3);return _0x1090c6+_0x41be0d;}function Ln(_0x2dbe32,_0x2d3859){var _0xe27a73=_0x5032aa;const _0x4ad8c8=yn[_0xe27a73(0x31e)](0x10),_0x4325b6=Mn(_0x2dbe32,0x10),_0x15d2b0=Sn['encrypt'](Cn['parse'](_0x4325b6),ti[_0xe27a73(0x27a)](_0x2d3859),{'iv':_0x4ad8c8,'padding':wn});return _0x4ad8c8[_0xe27a73(0x34a)](_0x15d2b0[_0xe27a73(0x386)])[_0xe27a73(0x16a)](ti);}function xn(){var _0x4e46af=_0x5032aa;const _0xad929e=_0x2645fa()['__Key__'];if(_0xad929e){const _0x4fb718={'time':Math[_0x4e46af(0x176)](Date[_0x4e46af(0x2b0)]()/0x3e8),'domain':location['hostname']};return Ln(JSON[_0x4e46af(0x1a4)](_0x4fb718),_0xad929e);}}var $n=Object[_0x5032aa(0x284)],kn=(_0x44a983,_0x2ea755,_0x48b44d,_0x5f533c)=>{var _0xc2b634=_0x5032aa;for(var _0x289fb1=_0x5f533c>0x1?void 0x0:_0x5f533c?$n(_0x2ea755,_0x48b44d):_0x2ea755,_0x3a2561=_0x44a983[_0xc2b634(0x119)]-0x1,_0x5e6d83;_0x3a2561>=0x0;_0x3a2561--)(_0x5e6d83=_0x44a983[_0x3a2561])&&(_0x289fb1=_0x5e6d83(_0x289fb1)||_0x289fb1);return _0x289fb1;},Hn=(_0x2744c7,_0x2389fb)=>(_0x4fe04b,_0xf790d3)=>_0x2389fb(_0x4fe04b,_0xf790d3,_0x2744c7);function _0x57d4(_0x13f59d,_0x528d1a){var _0x2902e8=_0x2902();return _0x57d4=function(_0x57d407,_0x126944){_0x57d407=_0x57d407-0xbe;var _0x1e16b2=_0x2902e8[_0x57d407];return _0x1e16b2;},_0x57d4(_0x13f59d,_0x528d1a);}let at=class{constructor(_0x2e9a6e){var _0x4f3ebc=_0x5032aa;this[_0x4f3ebc(0x1f6)]=_0x2e9a6e,this[_0x4f3ebc(0x2e0)]();}['_initRequestHeader'](){var _0x299177=_0x5032aa;this[_0x299177(0x1f6)][_0x299177(0x1c5)]({'interceptor':(_0x52c52f,_0x3547c3)=>{var _0x3aa559=_0x299177;const _0x4c9d7f=_0x52c52f[_0x3aa559(0x2a4)],_0x5bee39=xn();return _0x5bee39&&_0x4c9d7f[_0x3aa559(0x188)]('x-univer-host',_0x5bee39),_0x3547c3(_0x52c52f);}});}};at=kn([Hn(0x0,_0x4299bc(_0x31e366))],at);var Bn=Object[_0x5032aa(0x284)],Fn=(_0x2208a5,_0x4b096c,_0x11bb36,_0x322b82)=>{var _0x574d7d=_0x5032aa;for(var _0x298cc3=_0x322b82>0x1?void 0x0:_0x322b82?Bn(_0x4b096c,_0x11bb36):_0x4b096c,_0x9459d0=_0x2208a5[_0x574d7d(0x119)]-0x1,_0x171dbf;_0x9459d0>=0x0;_0x9459d0--)(_0x171dbf=_0x2208a5[_0x9459d0])&&(_0x298cc3=_0x171dbf(_0x298cc3)||_0x298cc3);return _0x298cc3;},vt=(_0x513b39,_0x1da24b)=>(_0x493a30,_0x36e5b7)=>_0x1da24b(_0x493a30,_0x36e5b7,_0x513b39);let Ot=class extends _0x22e684{constructor(_0x4a53fd,_0x137310,_0x4f7f3c){var _0x16a24b=_0x5032aa;super(),D(this,'_unitInfo$',new _0x58f842(null)),D(this,_0x16a24b(0x167),this['_unitInfo$'][_0x16a24b(0x330)]()),(this[_0x16a24b(0x2bf)]=_0x4a53fd,this['_snapshotService']=_0x137310,this[_0x16a24b(0x234)]=_0x4f7f3c);}async['loadUnitOfRevision'](_0x4e6554,_0x211055,_0x4a1190){var _0x516e1b=_0x5032aa;this[_0x516e1b(0x2c5)][_0x516e1b(0x1b2)]({'unitId':_0x4e6554,'type':_0x211055});let _0x157456=null;switch(_0x211055){case Q[_0x516e1b(0x15d)]:{_0x157456=await this['_snapshotService']['loadSheet'](_0x4e6554,_0x4a1190);break;}case Q['UNIVER_DOC']:{_0x157456=await this[_0x516e1b(0x1cf)][_0x516e1b(0x303)](_0x4e6554,_0x4a1190);break;}default:{this[_0x516e1b(0x2bf)][_0x516e1b(0x35a)](_0x516e1b(0xdb),_0x516e1b(0x318));break;}}return _0x157456;}async['loadUnit'](_0x104bfc,_0x13c851,_0x55724c){var _0x1cbf3f=_0x5032aa,_0x2493e2;this[_0x1cbf3f(0x2c5)][_0x1cbf3f(0x1b2)]({'unitId':_0x104bfc,'type':_0x13c851,'subUnitId':_0x55724c});let _0x52b2ed=0x0;const _0x893f67=await((_0x2493e2=this[_0x1cbf3f(0x234)])==null?void 0x0:_0x2493e2[_0x1cbf3f(0x1bd)](_0x104bfc));return _0x893f67&&(_0x893f67[_0x1cbf3f(0xfe)]||_0x893f67[_0x1cbf3f(0x24b)][_0x1cbf3f(0x119)]!==0x0)&&(_0x52b2ed=_0x893f67[_0x1cbf3f(0x112)]),_0x52b2ed===0x0&&this['_logService'][_0x1cbf3f(0x33e)](_0x1cbf3f(0xdb),_0x1cbf3f(0x26b)),this[_0x1cbf3f(0x2d6)](_0x104bfc,_0x13c851,_0x52b2ed);}};Ot=Fn([vt(0x0,_0x3340b7),vt(0x1,_0x4299bc(_0x172785)),vt(0x2,_0x4ae93e(J))],Ot);var jn=Object[_0x5032aa(0x284)],Vn=(_0x4a3a0c,_0x8ae6fd,_0x2181b6,_0xa0cf23)=>{var _0x5d42ec=_0x5032aa;for(var _0x32b8b2=_0xa0cf23>0x1?void 0x0:_0xa0cf23?jn(_0x8ae6fd,_0x2181b6):_0x8ae6fd,_0x14af18=_0x4a3a0c[_0x5d42ec(0x119)]-0x1,_0x5a3a3f;_0x14af18>=0x0;_0x14af18--)(_0x5a3a3f=_0x4a3a0c[_0x14af18])&&(_0x32b8b2=_0x5a3a3f(_0x32b8b2)||_0x32b8b2);return _0x32b8b2;},pt=(_0x365cc1,_0x48f17d)=>(_0x2e743f,_0x572f9b)=>_0x48f17d(_0x2e743f,_0x572f9b,_0x365cc1);const Gn=[_0x5032aa(0x2d1),_0x5032aa(0x2ec),_0x5032aa(0x1c4),'image/gif','image/bmp'],Wn=0x5*0x400*0x400,Yn=_0x5032aa(0x1e7),Kn=_0x5032aa(0x269);let Rt=class{constructor(_0x503a41,_0x61d0c6,_0x3ee05d){var _0x5e5fa2=_0x5032aa;D(this,_0x5e5fa2(0x3cf),0x0),D(this,_0x5e5fa2(0x1ac),new _0x35123a()),D(this,_0x5e5fa2(0x3bb),this[_0x5e5fa2(0x1ac)]),D(this,'_imageSourceCache',new Map()),(this[_0x5e5fa2(0x1f6)]=_0x503a41,this[_0x5e5fa2(0x13c)]=_0x61d0c6,this['_univerInstanceService']=_0x3ee05d);}[_0x5032aa(0x368)](_0x1cfad9){var _0x2c82b2=_0x5032aa;this[_0x2c82b2(0x3cf)]=_0x1cfad9,this[_0x2c82b2(0x1ac)]['next'](_0x1cfad9);}[_0x5032aa(0x2f7)](_0xa5f363,_0x5bad89){var _0x2d456e=_0x5032aa;if(_0x5bad89===_0x3f0da9[_0x2d456e(0xec)]){const _0x90954b=new Image();return _0x90954b['src']=_0xa5f363,_0x90954b;}return this['_imageSourceCache'][_0x2d456e(0x32b)](_0xa5f363);}[_0x5032aa(0x137)](_0xf37e28,_0x491e18,_0x6e65d1){var _0x1e2d7d=_0x5032aa;_0x491e18===_0x3f0da9[_0x1e2d7d(0xec)]||_0x6e65d1==null||this[_0x1e2d7d(0x30c)][_0x1e2d7d(0x188)](_0xf37e28,_0x6e65d1);}async[_0x5032aa(0x38a)](_0x2c7a43){var _0x5b1848=_0x5032aa;try{const _0x21c43a=this[_0x5b1848(0x29f)](this[_0x5b1848(0x19c)](),''+_0x2c7a43),_0x3416d5=(await this[_0x5b1848(0x1f6)]['get'](_0x21c43a))[_0x5b1848(0x148)];if(_0x3416d5[_0x5b1848(0x35a)]&&_0x3416d5[_0x5b1848(0x35a)][_0x5b1848(0x10c)]===vi['OK']){const _0x5ae489=new URL(_0x3416d5[_0x5b1848(0x2d7)],this[_0x5b1848(0x214)]())[_0x5b1848(0x16a)]();return Promise[_0x5b1848(0x254)](_0x5ae489);}return Promise[_0x5b1848(0x1fa)](_0x3416d5[_0x5b1848(0x35a)]);}catch(_0x509b92){return Promise['reject'](_0x509b92);}}async[_0x5032aa(0xed)](_0x1e3f51){var _0x5c4ec9=_0x5032aa;let _0x3c48c3='';if(!Gn[_0x5c4ec9(0x136)](_0x1e3f51[_0x5c4ec9(0x257)]))return this[_0x5c4ec9(0x1ad)](),Promise[_0x5c4ec9(0x1fa)](new Error(_0x30c194[_0x5c4ec9(0x217)]));if(_0x1e3f51[_0x5c4ec9(0x2c9)]>Wn)return this[_0x5c4ec9(0x1ad)](),Promise[_0x5c4ec9(0x1fa)](new Error(_0x30c194[_0x5c4ec9(0x1d0)]));try{const _0x16a619=new FormData();_0x16a619[_0x5c4ec9(0x235)]('file',_0x1e3f51);const _0x4212ce=this[_0x5c4ec9(0x345)][_0x5c4ec9(0xbe)](),_0x3064f3=_0x4212ce==null?void 0x0:_0x4212ce[_0x5c4ec9(0x178)]();if(!_0x3064f3)throw new Error(_0x5c4ec9(0x35d));const _0x5ce2b7=this[_0x5c4ec9(0x1e3)]()+_0x5c4ec9(0x351)+_0x1e3f51['size'][_0x5c4ec9(0x16a)]()+'&source='+pi[_0x5c4ec9(0x253)]+_0x5c4ec9(0x196)+encodeURIComponent(_0x3064f3),_0x1173d4={'body':_0x16a619},_0x2240c6=(await this[_0x5c4ec9(0x1f6)][_0x5c4ec9(0x337)](_0x5ce2b7,_0x1173d4))[_0x5c4ec9(0x148)];if(typeof _0x2240c6['FileId']!=_0x5c4ec9(0x204))return this['_decreaseWaiting'](),Promise[_0x5c4ec9(0x1fa)](new Error(_0x30c194[_0x5c4ec9(0xd2)]));_0x3c48c3=_0x2240c6[_0x5c4ec9(0x2f3)];}catch{return this['_decreaseWaiting'](),Promise[_0x5c4ec9(0x1fa)](new Error(_0x30c194['ERROR_IMAGE']));}return new Promise((_0x121123,_0x5c8883)=>{var _0x1d1225=_0x5c4ec9;const _0x280e04=new FileReader();_0x280e04['readAsDataURL'](_0x1e3f51),_0x280e04[_0x1d1225(0x177)]=_0x289e69=>{var _0xb779c8=_0x1d1225,_0x5c047b;const _0x1f105c=(_0x5c047b=_0x289e69[_0xb779c8(0x1a2)])==null?void 0x0:_0x5c047b[_0xb779c8(0x394)];if(_0x1f105c==null){this[_0xb779c8(0x1ad)](),_0x5c8883(new Error(_0x30c194['ERROR_IMAGE']));return;}const _0x30cdeb=_0x3c48f2(0x6);_0x121123({'imageId':_0x30cdeb,'imageSourceType':_0x3f0da9[_0xb779c8(0x23b)],'source':_0x3c48c3,'base64Cache':_0x1f105c,'status':_0x30c194[_0xb779c8(0xbf)]}),this[_0xb779c8(0x1ad)]();};});}[_0x5032aa(0x1e3)](){var _0x4093b2=_0x5032aa,_0x3982b5;const _0x1cb999=this[_0x4093b2(0x13c)]['getConfig'](K);return(_0x3982b5=_0x1cb999==null?void 0x0:_0x1cb999[_0x4093b2(0x12b)])!=null?_0x3982b5:Yn;}[_0x5032aa(0x19c)](){var _0x352be4=_0x5032aa,_0x2292bb;const _0x406b66=this['_configService'][_0x352be4(0x150)](K);return(_0x2292bb=_0x406b66==null?void 0x0:_0x406b66[_0x352be4(0x322)])!=null?_0x2292bb:Kn;}[_0x5032aa(0x214)](){var _0x295dc0=_0x5032aa,_0x1968af;const _0x10b081=this[_0x295dc0(0x13c)][_0x295dc0(0x150)](K);return(_0x1968af=_0x10b081==null?void 0x0:_0x10b081[_0x295dc0(0xdc)])!=null?_0x1968af:location[_0x295dc0(0x19f)];}['_replaceFileID'](_0x5ba0f9,_0x4a34fb){var _0x376439=_0x5032aa;return _0x5ba0f9[_0x376439(0x2fd)](_0x376439(0x1d6),_0x4a34fb);}['_decreaseWaiting'](){var _0x5429db=_0x5032aa;this[_0x5429db(0x3cf)]-=0x1,this[_0x5429db(0x1ac)][_0x5429db(0x1b2)](this[_0x5429db(0x3cf)]);}};Rt=Vn([pt(0x0,_0x4299bc(_0x31e366)),pt(0x1,_0x74c89b),pt(0x2,_0x4299bc(_0x4d04ef))],Rt);var qn=Object[_0x5032aa(0x284)],zn=(_0x165ad6,_0x54583e,_0x216216,_0x346914)=>{var _0x2a805d=_0x5032aa;for(var _0x44276b=_0x346914>0x1?void 0x0:_0x346914?qn(_0x54583e,_0x216216):_0x54583e,_0x252558=_0x165ad6[_0x2a805d(0x119)]-0x1,_0x36f479;_0x252558>=0x0;_0x252558--)(_0x36f479=_0x165ad6[_0x252558])&&(_0x44276b=_0x36f479(_0x44276b)||_0x44276b);return _0x44276b;},ri=(_0x187e87,_0x45dfc6)=>(_0x3232ae,_0x35ced5)=>_0x45dfc6(_0x3232ae,_0x35ced5,_0x187e87);const Jn='/universer-api/authz';let Ct=class{constructor(_0x4cbfc8,_0x1db242){var _0x1afcb5=_0x5032aa;this[_0x1afcb5(0x13c)]=_0x4cbfc8,this[_0x1afcb5(0x2ad)]=_0x1db242;}[_0x5032aa(0x130)](){var _0x197884=_0x5032aa,_0x505c34;const _0x105d4f=this[_0x197884(0x13c)][_0x197884(0x150)](K);return(_0x505c34=_0x105d4f==null?void 0x0:_0x105d4f[_0x197884(0xc3)])!=null?_0x505c34:Jn;}async[_0x5032aa(0x38b)](_0x1b9e12){var _0x35e7fd=_0x5032aa;const _0x160b77=this['_getAPIPrefixPath']()+_0x35e7fd(0x1d7);return{'list':[{'title':'People','mentions':(await this[_0x35e7fd(0x2ad)][_0x35e7fd(0x32b)](_0x160b77,{'params':{'objectID':_0x1b9e12[_0x35e7fd(0x1a7)],'unitID':_0x1b9e12[_0x35e7fd(0x1a7)]}}))[_0x35e7fd(0x148)][_0x35e7fd(0x1a6)][_0x35e7fd(0x309)](_0x40966d=>({'objectId':_0x40966d['id'],'name':_0x40966d[_0x35e7fd(0xd8)][_0x35e7fd(0x30b)],'metadata':{'icon':_0x40966d['subject'][_0x35e7fd(0x292)]},'label':_0x40966d[_0x35e7fd(0xd8)]['name'],'objectType':_0x5ee92f['PERSON']})),'metadata':{},'type':_0x5ee92f['PERSON']}]};}};Ct=zn([ri(0x0,_0x4299bc(_0x74c89b)),ri(0x1,_0x4299bc(_0x31e366))],Ct);var Xn=Object[_0x5032aa(0x284)],Zn=(_0x3ca16e,_0x2d7755,_0x2e224c,_0xe854fb)=>{var _0x4af192=_0x5032aa;for(var _0x5b4b60=_0xe854fb>0x1?void 0x0:_0xe854fb?Xn(_0x2d7755,_0x2e224c):_0x2d7755,_0x7c1963=_0x3ca16e[_0x4af192(0x119)]-0x1,_0x38d407;_0x7c1963>=0x0;_0x7c1963--)(_0x38d407=_0x3ca16e[_0x7c1963])&&(_0x5b4b60=_0x38d407(_0x5b4b60)||_0x5b4b60);return _0x5b4b60;},Ue=(_0x26d5c7,_0x37f56d)=>(_0x1a489b,_0x53e471)=>_0x37f56d(_0x1a489b,_0x53e471,_0x26d5c7);let ot=class extends _0x22e684{constructor(_0x3aa34c,_0x1c4b22,_0x2077da,_0x887025,_0xd12959){var _0x495b43=_0x5032aa;super(),this['_injector']=_0x3aa34c,this[_0x495b43(0x345)]=_0x1c4b22,this[_0x495b43(0x2dc)]=_0x2077da,this[_0x495b43(0xe5)]=_0x887025,this[_0x495b43(0x21b)]=_0xd12959,this[_0x495b43(0x36e)](),this[_0x495b43(0x352)]();}[_0x5032aa(0x352)](){var _0x5639bd=_0x5032aa;const _0x2eb499=async _0x4614a2=>{var _0x39026b=_0x57d4;(await this[_0x39026b(0xe5)][_0x39026b(0x2fb)](_0x4614a2))[_0x39026b(0x194)][_0x39026b(0x2af)](_0x46b480(_0x25b6bd=>_0x25b6bd[_0x39026b(0x36a)]===_0x4f23c0[_0x39026b(0x382)]),_0x4702ca(this['dispose$']))[_0x39026b(0x154)](_0x3e287e=>{var _0x5ca184=_0x39026b;const _0x19f555=_0x3e287e,{reason:_0x4d4caa}=_0x19f555[_0x5ca184(0x33d)];this['_collaborationUIEventService']['emitEvent']({'id':re[_0x5ca184(0x10d)],'data':_0x4d4caa}),this[_0x5ca184(0x2dc)][_0x5ca184(0xcf)](new _0x5e428d(_0x4614a2)['id'],!0x1),this[_0x5ca184(0xe5)]['closeSession'](_0x4614a2);});};_0x1c0321(this[_0x5639bd(0x345)][_0x5639bd(0x276)](_0x274e5d['UNIVER_SHEET']),this[_0x5639bd(0x345)][_0x5639bd(0x276)](_0x274e5d['UNIVER_DOC']))['pipe'](_0x2ff8a7(_0x5672b3=>_0x5672b3[_0x5639bd(0x178)]()),_0x46b480(_0x32ff3d=>!_0x53852b(_0x32ff3d)),_0x4702ca(this[_0x5639bd(0x3d2)]))[_0x5639bd(0x154)](_0x316311=>{_0x2eb499(_0x316311);});}['_initUnitPermissionChange'](){var _0x562473=_0x5032aa;const _0x40206d=async _0x19c215=>{var _0xde238a=_0x57d4;const _0x5aa2df=await this[_0xde238a(0xe5)][_0xde238a(0x2fb)](_0x19c215),_0x32fd2=this[_0xde238a(0x2f4)][_0xde238a(0x32b)](_0x2d76d6);_0x5aa2df[_0xde238a(0x194)][_0xde238a(0x2af)](_0x46b480(_0x23fb01=>_0x23fb01[_0xde238a(0x36a)]===_0x4f23c0[_0xde238a(0x203)]),_0x4702ca(this[_0xde238a(0x3d2)]))['subscribe'](_0x56b6ab=>{var _0x242444=_0xde238a;const _0x17cb22=_0x56b6ab,{objectId:_0xa7f66d}=_0x17cb22[_0x242444(0x33d)];_0xa7f66d===_0x19c215?_0x32fd2[_0x242444(0x201)](_0x19c215):_0x32fd2['refreshPermission'](_0x19c215,_0xa7f66d);});};_0x1c0321(this[_0x562473(0x345)][_0x562473(0x276)](_0x274e5d['UNIVER_SHEET']))[_0x562473(0x2af)](_0x2ff8a7(_0x1c86e1=>_0x1c86e1[_0x562473(0x178)]()),_0x46b480(_0x513a45=>!_0x53852b(_0x513a45)),_0x4702ca(this['dispose$']))[_0x562473(0x154)](_0x224fa1=>{_0x40206d(_0x224fa1);});}};ot=Zn([Ue(0x0,_0x4299bc(_0x45b719)),Ue(0x1,_0x4d04ef),Ue(0x2,_0x47dd41),Ue(0x3,_0x4299bc(we)),Ue(0x4,_0x4299bc(ve))],ot);var Qn=Object[_0x5032aa(0x284)],er=(_0x38bfe0,_0x7c5c1c,_0xe593e3,_0x3300e1)=>{var _0x2086af=_0x5032aa;for(var _0x14b44b=_0x3300e1>0x1?void 0x0:_0x3300e1?Qn(_0x7c5c1c,_0xe593e3):_0x7c5c1c,_0x17c414=_0x38bfe0[_0x2086af(0x119)]-0x1,_0x336fcf;_0x17c414>=0x0;_0x17c414--)(_0x336fcf=_0x38bfe0[_0x17c414])&&(_0x14b44b=_0x336fcf(_0x14b44b)||_0x14b44b);return _0x14b44b;},ai=(_0x235413,_0x1237cf)=>(_0x32c56f,_0x33d52a)=>_0x1237cf(_0x32c56f,_0x33d52a,_0x235413);let Nt=class{constructor(_0x187c5b,_0x143b64){var _0x45aec3=_0x5032aa;this['_configService']=_0x187c5b,this[_0x45aec3(0x1f6)]=_0x143b64;}async[_0x5032aa(0x207)](_0x561df4,_0x5e2ebe){var _0x423a0f=_0x5032aa,_0x24ca08;const {unitID:_0x87a18b,type:_0x5bf445,revision:_0x357e59=0x0}=_0x5e2ebe,_0x5b3731=this['getSnapshotAPIPath']()+'/'+_0x5bf445+_0x423a0f(0x182)+_0x87a18b+'/rev/'+_0x357e59,_0x1324de=(await this[_0x423a0f(0x1f6)][_0x423a0f(0x32b)](_0x5b3731))[_0x423a0f(0x148)],_0x591521=(_0x24ca08=_0x1324de['snapshot'])==null?void 0x0:_0x24ca08[_0x423a0f(0x215)];if(_0x591521){const _0x410a04=_0x591521==null?void 0x0:_0x591521['originalMeta'],_0x4d6e5c=_0x4967ff[_0x423a0f(0x11e)](_0x46e403(_0x410a04));_0x591521[_0x423a0f(0x3c8)]=_0x4d6e5c,Object[_0x423a0f(0x1bb)](_0x591521[_0x423a0f(0x307)])[_0x423a0f(0x1ab)](([,_0x2ca8c8])=>{var _0x477828=_0x423a0f;const _0x4af030=_0x2ca8c8['originalMeta'],_0x40e175=_0x4967ff['encode'](_0x46e403(_0x4af030));_0x2ca8c8[_0x477828(0x3c8)]=_0x40e175;});}return _0x1324de;}async[_0x5032aa(0x335)](_0x257d9d,_0x365bda){var _0x169f30=_0x5032aa;const {unitID:_0x25a73e,type:_0x154fe7,blockID:_0x3fdeb0}=_0x365bda,_0x3dac99=this[_0x169f30(0x312)]()+'/'+_0x154fe7+_0x169f30(0x182)+_0x25a73e+_0x169f30(0x1bc)+_0x3fdeb0;return(await this[_0x169f30(0x1f6)]['get'](_0x3dac99))['body'];}async[_0x5032aa(0x1f0)](_0x553b1b,_0x162eed){var _0x4b69c5=_0x5032aa;const {unitID:_0x552382,type:_0x39166f,blockID:_0x1ba1e7}=_0x162eed,_0x57e788=this[_0x4b69c5(0x312)]()+'/block/'+_0x39166f+_0x4b69c5(0x182)+_0x552382+_0x4b69c5(0x1bc)+_0x1ba1e7;return(await this[_0x4b69c5(0x1f6)][_0x4b69c5(0x32b)](_0x57e788))[_0x4b69c5(0x148)];}async[_0x5032aa(0x168)](_0x3ceecf,_0x6698b8){var _0x18bb6f=_0x5032aa;const {unitID:_0x179fb2,type:_0x5279d2,from:_0x4d8a55,to:_0x460a3a}=_0x6698b8,_0x133483=this[_0x18bb6f(0x312)]()+'/'+_0x5279d2+_0x18bb6f(0x182)+_0x179fb2+_0x18bb6f(0x3d0)+_0x4d8a55+'&to='+_0x460a3a;return(await this[_0x18bb6f(0x1f6)]['get'](_0x133483))[_0x18bb6f(0x148)];}[_0x5032aa(0x1c9)](){var _0x3193ed=_0x5032aa,_0x514ecc;return(_0x514ecc=this[_0x3193ed(0x13c)][_0x3193ed(0x150)](vs))!=null?_0x514ecc:this['_getAPIPrefix']();}[_0x5032aa(0x312)](){var _0x2ad9e3=_0x5032aa,_0xe4a51d;const _0x4dc50e=this[_0x2ad9e3(0x13c)][_0x2ad9e3(0x150)](K);return(_0xe4a51d=_0x4dc50e==null?void 0x0:_0x4dc50e[_0x2ad9e3(0x339)])!=null?_0xe4a51d:fs;}async[_0x5032aa(0x1f2)](_0x5e245c,_0x26529e){var _0x280a55=_0x5032aa;const _0x551e53=_0x280a55(0x252)+_0x26529e[_0x280a55(0x257)]+_0x280a55(0x182)+_0x26529e['unitID']+_0x280a55(0x113);return(await this['_httpService']['get'](_0x551e53,{'params':{'resourceId':JSON['stringify'](_0x26529e['resourceIDs'])}}))['body'];}['saveSnapshot'](){var _0x2c6449=_0x5032aa;throw new Error(_0x2c6449(0x369));}[_0x5032aa(0x2a2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5032aa(0x1fc)](){var _0xc354b1=_0x5032aa;throw new Error(_0xc354b1(0x369));}[_0x5032aa(0x139)](){var _0x4086a5=_0x5032aa;throw new Error(_0x4086a5(0x369));}['copyFileMeta'](){var _0x555c14=_0x5032aa;throw new Error(_0x555c14(0x369));}[_0x5032aa(0x26a)](){var _0x25dcc9=_0x5032aa;throw new Error(_0x25dcc9(0x369));}};Nt=er([ai(0x0,_0x74c89b),ai(0x1,_0x4299bc(_0x31e366))],Nt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x4fdd58,_0x18f7b2,_0x15c953,_0x4d6a16)=>{var _0x5c5032=_0x5032aa;for(var _0x280816=_0x4d6a16>0x1?void 0x0:_0x4d6a16?tr(_0x18f7b2,_0x15c953):_0x18f7b2,_0x759ead=_0x4fdd58[_0x5c5032(0x119)]-0x1,_0x2f8f19;_0x759ead>=0x0;_0x759ead--)(_0x2f8f19=_0x4fdd58[_0x759ead])&&(_0x280816=_0x2f8f19(_0x280816)||_0x280816);return _0x280816;},Ae=(_0x153de6,_0x210a5d)=>(_0x153588,_0x48ea1a)=>_0x210a5d(_0x153588,_0x48ea1a,_0x153de6);let bt=class extends _0x54fe24{constructor(_0x481f38,_0x4a3a36,_0x3bd547,_0x18473d,_0x321bb8){var _0x4f4a00=_0x5032aa;super(_0x481f38,_0x4a3a36,_0x3bd547),this[_0x4f4a00(0x179)]=_0x18473d,this['_logService']=_0x321bb8;}[_0x5032aa(0x229)](_0x25da78,_0x31544a){var _0x1d10f9=_0x5032aa;const _0x1f3842=this[_0x1d10f9(0x22a)](_0x25da78);if(_0x1f3842)try{const _0x3898bb=this[_0x1d10f9(0x393)](_0x1f3842,_0x31544a);this[_0x1d10f9(0x21a)](_0x25da78,_0x3898bb);}catch(_0x3e28f1){this[_0x1d10f9(0x2bf)][_0x1d10f9(0x35a)](_0x1d10f9(0x2da),_0x3e28f1),this[_0x1d10f9(0x132)](_0x25da78);}const _0x390bc9=this[_0x1d10f9(0x1f1)](_0x25da78);if(_0x390bc9)try{const _0x502868=this[_0x1d10f9(0x393)](_0x390bc9,_0x31544a);this[_0x1d10f9(0x18d)](_0x25da78,_0x502868);}catch(_0x304f5){this['_logService'][_0x1d10f9(0x35a)](_0x304f5),this[_0x1d10f9(0x1a9)](_0x25da78);}}[_0x5032aa(0x132)](_0x1773c0){var _0x4d518d=_0x5032aa;const _0x1e4da3=this[_0x4d518d(0x22a)](_0x1773c0);_0x1e4da3&&(_0x1e4da3[_0x4d518d(0x119)]=0x0,this[_0x4d518d(0x364)]());}[_0x5032aa(0x1a9)](_0x1bf83b){var _0x21ce9a=_0x5032aa;const _0x11e92c=this[_0x21ce9a(0x1f1)](_0x1bf83b);_0x11e92c&&(_0x11e92c[_0x21ce9a(0x119)]=0x0,this[_0x21ce9a(0x364)]());}[_0x5032aa(0x21a)](_0x55323f,_0x479f64){var _0x9045de=_0x5032aa;this['_undoStacks'][_0x9045de(0x188)](_0x55323f,_0x479f64),this[_0x9045de(0x364)]();}[_0x5032aa(0x18d)](_0x241fcc,_0x5752aa){var _0x52dc45=_0x5032aa;this[_0x52dc45(0x190)][_0x52dc45(0x188)](_0x241fcc,_0x5752aa),this[_0x52dc45(0x364)]();}['_transformStack'](_0x2b208e,_0x174b34){var _0x28d99c=_0x5032aa;const _0x4f3105=[];let _0x3eae08=_0x174b34,_0x6af8ee=_0x174b34;for(let _0x2316df=_0x2b208e[_0x28d99c(0x119)]-0x1;_0x2316df>=0x0;_0x2316df--){const {unitID:_0x39e327,undoMutations:_0x2b9886,redoMutations:_0x533741}=_0x2b208e[_0x2316df],_0x29f697=this[_0x28d99c(0x179)]['transformMutationsWithChangeset'](_0x3eae08,_0x2b9886),_0x419ec1=this[_0x28d99c(0x179)][_0x28d99c(0x383)](_0x6af8ee,_0x533741);if(_0x480bc3(_0x29f697)||_0x480bc3(_0x419ec1)){this['_logService'][_0x28d99c(0x35a)](_0x28d99c(0x2da),'transformStack\x20failed!',_0x29f697,_0x419ec1);break;}_0x3eae08=_0x29f697[_0x28d99c(0x13d)],_0x6af8ee=_0x419ec1[_0x28d99c(0x13d)],_0x4f3105[_0x28d99c(0x129)]({'unitID':_0x39e327,'undoMutations':_0x29f697[_0x28d99c(0x316)],'redoMutations':_0x419ec1['m2Prime']});}return _0x4f3105[_0x28d99c(0x1d3)]();}};bt=ir([Ae(0x0,_0x4d04ef),Ae(0x1,_0x5eb88f),Ae(0x2,_0x1e4c94),Ae(0x3,_0x27be8a),Ae(0x4,_0x3340b7)],bt);var sr=Object[_0x5032aa(0x1cb)],nr=Object[_0x5032aa(0x284)],rr=(_0x5aec17,_0x36b420,_0x54c8cb)=>_0x36b420 in _0x5aec17?sr(_0x5aec17,_0x36b420,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54c8cb}):_0x5aec17[_0x36b420]=_0x54c8cb,ar=(_0x15bac1,_0x388d01,_0x51092e,_0x49622e)=>{for(var _0x1c7487=_0x49622e>0x1?void 0x0:_0x49622e?nr(_0x388d01,_0x51092e):_0x388d01,_0x13f998=_0x15bac1['length']-0x1,_0x3e0924;_0x13f998>=0x0;_0x13f998--)(_0x3e0924=_0x15bac1[_0x13f998])&&(_0x1c7487=_0x3e0924(_0x1c7487)||_0x1c7487);return _0x1c7487;},Et=(_0x180ea7,_0xce52a8)=>(_0x60076d,_0x59b60d)=>_0xce52a8(_0x60076d,_0x59b60d,_0x180ea7),or=(_0x590b1a,_0x37666a,_0x377f6d)=>rr(_0x590b1a,_0x37666a+'',_0x377f6d);const cr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0xc89a4{constructor(_0x268070,_0x27bac0,_0x535a32,_0x330b2e){var _0x150bcc=_0x5032aa;super(),D(this,_0x150bcc(0x2aa)),(this[_0x150bcc(0x2bf)]=_0x27bac0,this[_0x150bcc(0x2f4)]=_0x535a32,this[_0x150bcc(0x13c)]=_0x330b2e);const {..._0x176035}=_0x5c7428({},Ls,_0x268070);if(!_0x176035[_0x150bcc(0x25a)])throw new Error(_0x150bcc(0x387));this[_0x150bcc(0x2aa)]=_0x176035,this['_configService'][_0x150bcc(0x356)](K,_0x176035);}['onStarting'](){var _0x19616b=_0x5032aa;this[_0x19616b(0x271)](),this[_0x19616b(0x24a)]();}[_0x5032aa(0x271)](){var _0x476d4a=_0x5032aa,_0xbca5e2,_0x5a5109;this['_injector'][_0x476d4a(0x14c)](_0x2e0be3)&&this[_0x476d4a(0x2bf)][_0x476d4a(0x35a)](_0x476d4a(0x106),_0x476d4a(0x29d));const _0x73ead2=_0x52b963([[_0x2e0be3,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x476d4a(0x2aa)]['socketService']}],[_0x5dfbce,{'useClass':Nt}],[_0x29d8b4,{'useClass':Tt}],[_0x434b39,{'useClass':Rt}],[_0x48aa39,{'useClass':Ct}],[nt],[gt]],(_0xbca5e2=this[_0x476d4a(0x2aa)])==null?void 0x0:_0xbca5e2[_0x476d4a(0x325)]);if(!((_0x5a5109=this[_0x476d4a(0x2aa)])!=null&&_0x5a5109[_0x476d4a(0x197)])){const _0x23a482=_0x73ead2[_0x476d4a(0x213)](([_0x2ed7bb])=>_0x2ed7bb===_t);_0x23a482!==-0x1&&_0x73ead2['splice'](_0x23a482,0x1);}_0x3799f6(this[_0x476d4a(0x2f4)],_0x73ead2);}[_0x5032aa(0x24a)](){var _0x23b56f=_0x5032aa,_0x4e5b47,_0x41d773,_0x13fed3;this[_0x23b56f(0x2f4)]['get'](_0x31e366)[_0x23b56f(0x1c5)]({'priority':0x14,'interceptor':_0x2716a1({'maxParallel':0x6})}),(_0x4e5b47=this[_0x23b56f(0x2aa)])!=null&&_0x4e5b47[_0x23b56f(0x20a)]||(_0x41d773=this[_0x23b56f(0x2f4)][_0x23b56f(0x32b)](J,_0x3d2e14['OPTIONAL']))==null||_0x41d773[_0x23b56f(0x282)](),(_0x13fed3=this[_0x23b56f(0x2aa)])!=null&&_0x13fed3[_0x23b56f(0xfa)]&&_0x28cf3b(this[_0x23b56f(0x2f4)],[[rt]]),_0x28cf3b(this[_0x23b56f(0x2f4)],[[at],[nt],[ot]]);}};or(Dt,_0x5032aa(0x25d),cr),Dt=ar([_0x4d38b5(_0xfe151c,_0x365fb7),Et(0x1,_0x3340b7),Et(0x2,_0x4299bc(_0x45b719)),Et(0x3,_0x74c89b)],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,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
|