@univerjs-pro/collaboration-client 0.6.10-nightly.202504231607 → 0.6.10-nightly.202504251607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0xfe7184=_0xb4ca;(function(_0x94d853,_0x25608c){var _0x215ed1=_0xb4ca,_0x177253=_0x94d853();while(!![]){try{var _0x37bf3f=parseInt(_0x215ed1(0x2bd))/0x1*(-parseInt(_0x215ed1(0x3ad))/0x2)+parseInt(_0x215ed1(0x1dd))/0x3*(parseInt(_0x215ed1(0x330))/0x4)+-parseInt(_0x215ed1(0x1ee))/0x5+parseInt(_0x215ed1(0x311))/0x6+parseInt(_0x215ed1(0x365))/0x7+-parseInt(_0x215ed1(0x3c2))/0x8+parseInt(_0x215ed1(0x230))/0x9;if(_0x37bf3f===_0x25608c)break;else _0x177253['push'](_0x177253['shift']());}catch(_0x271e3c){_0x177253['push'](_0x177253['shift']());}}}(_0x514d,0x529ed));var wi=Object[_0xfe7184(0x47e)],Pi=(_0x2b7b8f,_0x324da0,_0x1d1b20)=>_0x324da0 in _0x2b7b8f?wi(_0x2b7b8f,_0x324da0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d1b20}):_0x2b7b8f[_0x324da0]=_0x1d1b20,N=(_0x3289c5,_0x193f96,_0x53d554)=>Pi(_0x3289c5,typeof _0x193f96!=_0xfe7184(0x3bb)?_0x193f96+'':_0x193f96,_0x53d554);import{createIdentifier as _0x243a96,Inject as _0x133e5e,Injector as _0x723ed9,IConfigService as _0x2f38cd,ILogService as _0x19ce75,Disposable as _0x293672,DisposableCollection as _0x322283,toDisposable as _0x1261ab,IUniverInstanceService as _0x169db5,UserManagerService as _0x38d7df,UniverInstanceType as _0x22def0,LocaleService as _0x20ed6b,Optional as _0x5db4e2,RxDisposable as _0x1f9410,Tools as _0x21badf,Rectangle as _0x107ade,ICommandService as _0x1affd5,JSONX as _0x38ad23,CommandType as _0xd983d8,IUndoRedoService as _0x548330,IPermissionService as _0x446775,sequenceExecute as _0x4ed7c3,Workbook as _0x4e7a87,MentionType as _0x1a7431,isInternalEditorID as _0x3322d4,LocalUndoRedoService as _0x4e4dd0,IContextService as _0x280b22,DependentOn as _0x3d6ca2,Plugin as _0x13aa7c,merge as _0x48b76b,mergeOverrideWithDependencies as _0x4a3bd8,IAuthzIoService as _0x3439c4,IMentionIOService as _0x58151e,registerDependencies as _0x36dd05,Quantity as _0x36efa8,touchDependencies as _0x5123b7}from'@univerjs/core';import{Subject as _0xd7395f,merge as _0x4ef3f9,of as _0x52f9c6,BehaviorSubject as _0x21c115,takeUntil as _0x1bbb70,ReplaySubject as _0x95c752,take as _0x2bbf37,map as _0x197804,shareReplay as _0x327bb4,firstValueFrom as _0x16ae71,concatMap as _0x2e6b2f}from'rxjs';import{map as _0x4851a7,take as _0x15a9bb,filter as _0x5befcb,delay as _0x1717cc,takeUntil as _0x2c5509}from'rxjs/operators';import{CollaborationEvent as _0x12f734,ISnapshotServerService as _0x208e48,parseChangesetToProtocol as _0x3c8545,ITransformService as _0x1f266b,isTransformMutationsWithChangesetSuccess as _0x306b3c,mapDocumentTypeToUniverType as _0x38d550,RevisionService as _0x5bbf37,isTransformChangesetsSuccess as _0x336be0,CompressMutationService as _0x3d5a95,parseProtocolChangeset as _0x4bb8f5,SnapshotService as _0x38c331,textEncoder as _0xdda04e,b64DecodeUnicode as _0x301c1d,isTransformMutationsWithChangesetFailure as _0x49b748,UniverCollaborationPlugin as _0x525806}from'@univerjs-pro/collaboration';import{HTTPService as _0x44d219,ISocketService as _0x59b4a9,MergeInterceptorFactory as _0x2788f5,HTTPRequest as _0x560f8d,UniverNetworkPlugin as _0x277569,ThresholdInterceptorFactory as _0x2aa87c}from'@univerjs/network';import{ITelemetryService as _0x5c0048}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x27617a}from'@univerjs/docs';import{SheetsSelectionsService as _0x536894,SetSelectionsOperation as _0x441337,InsertSheetMutation as _0x404408,EmptyMutation as _0x12cfc9,WorkbookEditablePermission as _0x2e7126,SheetPermissionInitController as _0x198dd2}from'@univerjs/sheets';import{ImageSourceType as _0x332c9f,ImageUploadStatusType as _0x53eb1d,IImageIoService as _0x30b3bd}from'@univerjs/drawing';import{getGlobalObject as _0x12e241}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0xfe7184(0x31c),Sn=_0xfe7184(0x1d4),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0xfe7184(0x472),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',xr=_0xfe7184(0x4b8),Cn=_0xfe7184(0x2e9),Rn=0x7530,mi=_0xfe7184(0x4a0),gi=0x4e20,bn=0x4e20,On=_0xfe7184(0x1c1),yn=0x3,Mr=_0xfe7184(0x1bd),kr=0x3e8,Nn=_0xfe7184(0x401),Dn=_0xfe7184(0x3dd),Un=_0xfe7184(0x450),An=_0xfe7184(0x245),$r=_0xfe7184(0x3cb),Hr=_0xfe7184(0x4bd);var Si=(_0x57c2c4=>(_0x57c2c4[_0x57c2c4[_0xfe7184(0x431)]=0x0]=_0xfe7184(0x431),_0x57c2c4[_0x57c2c4['OK']=0x1]='OK',_0x57c2c4[_0x57c2c4[_0xfe7184(0x49b)]=0x2]=_0xfe7184(0x49b),_0x57c2c4[_0x57c2c4['PERMISSION_DENIED']=0x3]=_0xfe7184(0x207),_0x57c2c4[_0x57c2c4['NOT_FOUND']=0x4]='NOT_FOUND',_0x57c2c4[_0x57c2c4[_0xfe7184(0x27d)]=0x5]=_0xfe7184(0x27d),_0x57c2c4[_0x57c2c4[_0xfe7184(0x2f8)]=0x6]=_0xfe7184(0x2f8),_0x57c2c4[_0x57c2c4[_0xfe7184(0x28d)]=0x7]=_0xfe7184(0x28d),_0x57c2c4[_0x57c2c4['TOO_MANY_REQUESTS']=0x8]=_0xfe7184(0x3e8),_0x57c2c4[_0x57c2c4[_0xfe7184(0x296)]=0x9]=_0xfe7184(0x296),_0x57c2c4[_0x57c2c4[_0xfe7184(0x352)]=0xa]=_0xfe7184(0x352),_0x57c2c4[_0x57c2c4[_0xfe7184(0x46f)]=0x1389]=_0xfe7184(0x46f),_0x57c2c4[_0x57c2c4[_0xfe7184(0x279)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x57c2c4[_0x57c2c4['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xfe7184(0x1fe),_0x57c2c4[_0x57c2c4[_0xfe7184(0x2c5)]=0x1773]=_0xfe7184(0x2c5),_0x57c2c4[_0x57c2c4[_0xfe7184(0x2c3)]=0x1b59]='APPLY_REJECT',_0x57c2c4[_0x57c2c4[_0xfe7184(0x411)]=0x1b5a]=_0xfe7184(0x411),_0x57c2c4[_0x57c2c4[_0xfe7184(0x205)]=0x1b5b]=_0xfe7184(0x205),_0x57c2c4[_0x57c2c4[_0xfe7184(0x36c)]=0x1b5c]=_0xfe7184(0x36c),_0x57c2c4[_0x57c2c4[_0xfe7184(0x3e5)]=0x1b5d]=_0xfe7184(0x3e5),_0x57c2c4[_0x57c2c4[_0xfe7184(0x260)]=0x1f41]=_0xfe7184(0x260),_0x57c2c4[_0x57c2c4[_0xfe7184(0x2a2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x57c2c4[_0x57c2c4[_0xfe7184(0x1dc)]=0x232a]=_0xfe7184(0x1dc),_0x57c2c4[_0x57c2c4[_0xfe7184(0x2f9)]=0x232b]=_0xfe7184(0x2f9),_0x57c2c4[_0x57c2c4[_0xfe7184(0x24b)]=0x232c]=_0xfe7184(0x24b),_0x57c2c4[_0x57c2c4[_0xfe7184(0x252)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x57c2c4[_0x57c2c4[_0xfe7184(0x4b1)]=0x2711]=_0xfe7184(0x4b1),_0x57c2c4[_0x57c2c4[_0xfe7184(0x320)]=0x2712]=_0xfe7184(0x320),_0x57c2c4[_0x57c2c4[_0xfe7184(0x3f5)]=0x2713]=_0xfe7184(0x3f5),_0x57c2c4[_0x57c2c4[_0xfe7184(0x44d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x57c2c4[_0x57c2c4[_0xfe7184(0x3e9)]=0x271a]=_0xfe7184(0x3e9),_0x57c2c4[_0x57c2c4[_0xfe7184(0x3c8)]=0x271b]=_0xfe7184(0x3c8),_0x57c2c4[_0x57c2c4[_0xfe7184(0x2d8)]=0x2af9]=_0xfe7184(0x2d8),_0x57c2c4[_0x57c2c4[_0xfe7184(0x4b5)]=0x2ee1]=_0xfe7184(0x4b5),_0x57c2c4[_0x57c2c4[_0xfe7184(0x35c)]=0x2ee2]=_0xfe7184(0x35c),_0x57c2c4[_0x57c2c4[_0xfe7184(0x29f)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x57c2c4[_0x57c2c4['USER_NOT_INVITED_CODE']=0x2ee4]=_0xfe7184(0x496),_0x57c2c4[_0x57c2c4[_0xfe7184(0x4bf)]=0x2ee5]=_0xfe7184(0x4bf),_0x57c2c4[_0x57c2c4[_0xfe7184(0x4a8)]=0x32c9]=_0xfe7184(0x4a8),_0x57c2c4[_0x57c2c4[_0xfe7184(0x259)]=0x32ca]=_0xfe7184(0x259),_0x57c2c4[_0x57c2c4[_0xfe7184(0x295)]=0x32cb]=_0xfe7184(0x295),_0x57c2c4[_0x57c2c4['UNRECOGNIZED']=-0x1]=_0xfe7184(0x2ce),_0x57c2c4))(Si||{}),Q=(_0x166976=>(_0x166976[_0x166976['UNIVER_UNKNOWN']=0x0]=_0xfe7184(0x324),_0x166976[_0x166976['UNIVER_DOC']=0x1]=_0xfe7184(0x1c3),_0x166976[_0x166976[_0xfe7184(0x4c5)]=0x2]=_0xfe7184(0x4c5),_0x166976[_0x166976[_0xfe7184(0x418)]=0x3]=_0xfe7184(0x418),_0x166976[_0x166976['UNIVER_PROJECT']=0x4]=_0xfe7184(0x43c),_0x166976[_0x166976['UNRECOGNIZED']=-0x1]=_0xfe7184(0x2ce),_0x166976))(Q||{}),F=(_0x49194d=>(_0x49194d[_0x49194d[_0xfe7184(0x463)]=0x0]=_0xfe7184(0x463),_0x49194d[_0x49194d[_0xfe7184(0x1d1)]=0x1]=_0xfe7184(0x1d1),_0x49194d[_0x49194d[_0xfe7184(0x20a)]=0x2]='JOIN',_0x49194d[_0x49194d[_0xfe7184(0x39e)]=0x3]=_0xfe7184(0x39e),_0x49194d[_0x49194d[_0xfe7184(0x332)]=0x4]=_0xfe7184(0x332),_0x49194d[_0x49194d[_0xfe7184(0x1ff)]=0x5]=_0xfe7184(0x1ff),_0x49194d[_0x49194d['RECV']=0x6]=_0xfe7184(0x262),_0x49194d[_0x49194d[_0xfe7184(0x2ce)]=-0x1]=_0xfe7184(0x2ce),_0x49194d))(F||{}),ge=(_0xac524d=>(_0xac524d[_0xac524d['UNKNOWN_CODE']=0x0]=_0xfe7184(0x228),_0xac524d[_0xac524d['OK']=0x1]='OK',_0xac524d[_0xac524d[_0xfe7184(0x211)]=0x2]=_0xfe7184(0x211),_0xac524d[_0xac524d['JOIN_ROOM_FULL']=0x3e9]=_0xfe7184(0x1cd),_0xac524d[_0xac524d[_0xfe7184(0x20e)]=0x3ea]=_0xfe7184(0x20e),_0xac524d[_0xac524d['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0xfe7184(0x392),_0xac524d[_0xac524d['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xac524d[_0xac524d[_0xfe7184(0x2ce)]=-0x1]=_0xfe7184(0x2ce),_0xac524d))(ge||{}),Ei=(_0x2cfcc7=>(_0x2cfcc7[_0x2cfcc7['Undefined']=0x0]=_0xfe7184(0x229),_0x2cfcc7[_0x2cfcc7[_0xfe7184(0x242)]=0x1]=_0xfe7184(0x242),_0x2cfcc7[_0x2cfcc7['HttpExport']=0x2]='HttpExport',_0x2cfcc7[_0x2cfcc7['UnitEmbedded']=0x3]=_0xfe7184(0x3d4),_0x2cfcc7[_0x2cfcc7[_0xfe7184(0x32e)]=0x4]=_0xfe7184(0x32e),_0x2cfcc7[_0x2cfcc7[_0xfe7184(0x4b7)]=0x5]=_0xfe7184(0x4b7),_0x2cfcc7[_0x2cfcc7[_0xfe7184(0x2ce)]=-0x1]=_0xfe7184(0x2ce),_0x2cfcc7))(Ei||{});const q=_0xfe7184(0x275),wn={};var re=(_0x1c8c1c=>(_0x1c8c1c[_0xfe7184(0x3ef)]='OTHER_CLIENT_EDITING',_0x1c8c1c[_0xfe7184(0x207)]=_0xfe7184(0x207),_0x1c8c1c[_0xfe7184(0x434)]='CONFLICT',_0x1c8c1c[_0xfe7184(0x239)]=_0xfe7184(0x239),_0x1c8c1c['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x1c8c1c[_0xfe7184(0x426)]=_0xfe7184(0x426),_0x1c8c1c[_0xfe7184(0x480)]=_0xfe7184(0x480),_0x1c8c1c['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x1c8c1c))(re||{});class pe{constructor(){var _0x548014=_0xfe7184;N(this,_0x548014(0x30f),new _0xd7395f()),N(this,_0x548014(0x350),this[_0x548014(0x30f)]['asObservable']());}[_0xfe7184(0x32b)](_0x13d717){var _0x57723a=_0xfe7184;this[_0x57723a(0x30f)][_0x57723a(0x3c3)](_0x13d717);}}const Pn=_0x243a96('univer-pro.collaboration-client.network-condition.service');function Ln(_0x43f232){var _0x385490=_0xfe7184,_0x5d7f73,_0x46eb8f,_0x3ad8fd,_0x31651e,_0x4ea973;const _0x28d614=_0x43f232[_0x385490(0x48f)],_0x203f6c=JSON[_0x385490(0x3d8)](_0x28d614);switch(_0x203f6c['cmd']){case F[_0x385490(0x1ff)]:case F[_0x385490(0x1d1)]:{const _0x457f26=_0x203f6c[_0x385490(0x3c5)];return{..._0x203f6c,'data':_0x457f26,'cmd':_0x203f6c['cmd']};}case F[_0x385490(0x20a)]:{const _0x2366f6=_0x203f6c[_0x385490(0x464)];return{..._0x203f6c,'data':_0x2366f6,'cmd':_0x203f6c['cmd']};}case F['RECV']:{const _0x484df6=_0x203f6c[_0x385490(0x393)];switch(_0x484df6[_0x385490(0x4ce)]){case _0x12f734['PERMISSION_REJ']:return{..._0x203f6c,'data':{..._0x484df6,'data':(_0x5d7f73=_0x484df6[_0x385490(0x3b7)])==null?void 0x0:_0x5d7f73['cs']},'cmd':_0x203f6c['cmd']};case _0x12f734[_0x385490(0x244)]:return{..._0x203f6c,'data':{..._0x484df6,'data':(_0x46eb8f=_0x484df6[_0x385490(0x1f2)])==null?void 0x0:_0x46eb8f['cs']},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x206)]:return{..._0x203f6c,'data':{..._0x484df6,'data':(_0x3ad8fd=_0x484df6[_0x385490(0x223)])==null?void 0x0:_0x3ad8fd['cs']},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x3bf)]:return{..._0x203f6c,'data':{..._0x484df6,'data':(_0x31651e=_0x484df6[_0x385490(0x327)])==null?void 0x0:_0x31651e['cs']},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x25c)]:return{..._0x203f6c,'data':{..._0x484df6,'data':(_0x4ea973=_0x484df6[_0x385490(0x3da)])==null?void 0x0:_0x4ea973['cs']},'cmd':_0x203f6c['cmd']};case _0x12f734[_0x385490(0x489)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6['updateCursorEvent']},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734['USERS_ENTER']:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x1ef)]},'cmd':_0x203f6c['cmd']};case _0x12f734[_0x385490(0x1f0)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x2a4)]},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x40d)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x492)]},'cmd':_0x203f6c['cmd']};case _0x12f734[_0x385490(0x1d0)]:case _0x12f734[_0x385490(0x42d)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x356)]},'cmd':_0x203f6c['cmd']};case _0x12f734[_0x385490(0x1d3)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x492)]},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x1e5)]:return{..._0x203f6c,'data':_0x484df6,'cmd':_0x203f6c['cmd']};case _0x12f734[_0x385490(0x2ab)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x4c0)]},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734['UPDATE_PERMISSION_OBJ']:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x22c)]},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x458)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x1c0)]},'cmd':_0x203f6c[_0x385490(0x2a8)]};case _0x12f734[_0x385490(0x349)]:return{..._0x203f6c,'data':{..._0x484df6,'data':_0x484df6[_0x385490(0x290)]},'cmd':_0x203f6c[_0x385490(0x2a8)]};default:return _0x203f6c;}}default:return _0x203f6c;}}function xn(_0x234f5a){var _0xaf82aa=_0xfe7184;switch(_0x234f5a[_0xaf82aa(0x2a8)]){case F[_0xaf82aa(0x1ff)]:case F['HELLO']:return JSON[_0xaf82aa(0x291)]({'cmd':_0x234f5a[_0xaf82aa(0x2a8)],'routeKey':_0x234f5a['routeKey']});case F[_0xaf82aa(0x332)]:{let _0x152637;switch(_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x4ce)]){case _0x12f734[_0xaf82aa(0x489)]:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x489)],'updateCursorEvent':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x48f)]};break;}case _0x12f734['USERS_LEAVE']:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x1f0)],'leaveEvent':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x48f)]};break;}case _0x12f734['USERS_ENTER']:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x432)],'joinEvent':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x48f)]};break;}case _0x12f734[_0xaf82aa(0x40d)]:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x40d)],'liveShareNewHost':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x48f)]};break;}case _0x12f734[_0xaf82aa(0x42d)]:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x42d)],'liveShareOperation':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x48f)]};break;}case _0x12f734[_0xaf82aa(0x1d3)]:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x1d3)],'liveShareTerminate':_0x234f5a[_0xaf82aa(0x48f)]['data']};break;}case _0x12f734[_0xaf82aa(0x390)]:{_0x152637={'eventID':_0x12f734['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x48f)]};break;}case _0x12f734[_0xaf82aa(0x1d0)]:{_0x152637={'eventID':_0x12f734[_0xaf82aa(0x1d0)]};break;}default:_0x152637={'eventID':_0x234f5a[_0xaf82aa(0x48f)][_0xaf82aa(0x4ce)]};}return JSON['stringify']({'cmd':_0x234f5a[_0xaf82aa(0x2a8)],'routeKey':_0x234f5a[_0xaf82aa(0x490)],'collaMsg':_0x152637});}case F['JOIN']:return JSON[_0xaf82aa(0x291)]({'cmd':_0x234f5a[_0xaf82aa(0x2a8)],'routeKey':_0x234f5a['routeKey'],'joinReq':_0x234f5a[_0xaf82aa(0x48f)]});case F[_0xaf82aa(0x39e)]:return JSON[_0xaf82aa(0x291)]({'cmd':_0x234f5a[_0xaf82aa(0x2a8)],'routeKey':_0x234f5a[_0xaf82aa(0x490)],'leaveReq':_0x234f5a[_0xaf82aa(0x48f)]});default:throw new Error(_0xaf82aa(0x4a7));}}var Mn=Object[_0xfe7184(0x4a2)],kn=(_0x2f8455,_0x2727b3,_0x430fa9,_0xf332ec)=>{for(var _0x526293=_0xf332ec>0x1?void 0x0:_0xf332ec?Mn(_0x2727b3,_0x430fa9):_0x2727b3,_0x4d1709=_0x2f8455['length']-0x1,_0x4ca148;_0x4d1709>=0x0;_0x4d1709--)(_0x4ca148=_0x2f8455[_0x4d1709])&&(_0x526293=_0x4ca148(_0x526293)||_0x526293);return _0x526293;},Ae=(_0x553bc6,_0x258a8f)=>(_0x1396f2,_0x4de627)=>_0x258a8f(_0x1396f2,_0x4de627,_0x553bc6);const Ii=_0x243a96(_0xfe7184(0x3e7));function $n(_0x3d5e8d,_0x31471e,_0x501e1f){var _0xc51223=_0xfe7184;return _0x3d5e8d+'/'+_0x31471e+_0xc51223(0x44f)+_0x501e1f+_0xc51223(0x2b5);}let Gt=class extends _0x293672{constructor(_0xb710cc,_0x19dedc,_0x2d1705,_0x501845,_0x5a5a7b){var _0x10c1d4=_0xfe7184;super(),this['_injector']=_0xb710cc,this[_0x10c1d4(0x3d2)]=_0x19dedc,this[_0x10c1d4(0x1fa)]=_0x2d1705,this[_0x10c1d4(0x1df)]=_0x501845,this[_0x10c1d4(0x248)]=_0x5a5a7b;}[_0xfe7184(0x41e)](_0x3a5c38){var _0x2249a9=_0xfe7184;const _0x1e561b=this[_0x2249a9(0x3e4)][_0x2249a9(0x404)](_0x59b4a9);if(!_0x1e561b)throw new Error(_0x2249a9(0x1f9));const _0x7d07c3=_0x1e561b[_0x2249a9(0x2f4)](_0x3a5c38);if(!_0x7d07c3)throw new Error(_0x2249a9(0x3db));const _0x3c400c=new _0x322283(),_0x4aed42=new _0xd7395f();_0x3c400c[_0x2249a9(0x3a9)](_0x7d07c3[_0x2249a9(0x343)]['subscribe'](_0x42ff57=>_0x4aed42[_0x2249a9(0x3c3)](_0x42ff57))),_0x3c400c[_0x2249a9(0x3a9)](_0x1261ab(()=>_0x4aed42[_0x2249a9(0x4c9)]()));const _0xd82946=new _0xd7395f();_0x3c400c[_0x2249a9(0x3a9)](_0x7d07c3[_0x2249a9(0x1fd)][_0x2249a9(0x26d)](_0x58c838=>_0xd82946['next'](_0x58c838))),_0x3c400c['add'](_0x1261ab(()=>_0xd82946['complete']()));const _0x48aecf=new _0xd7395f();_0x3c400c[_0x2249a9(0x3a9)](_0x7d07c3[_0x2249a9(0x1f6)][_0x2249a9(0x26d)](_0x27f367=>{var _0x33d3d3=_0x2249a9;const _0x12edce=Ln(_0x27f367);_0x48aecf[_0x33d3d3(0x3c3)](_0x12edce);})),_0x3c400c[_0x2249a9(0x3a9)](_0x1261ab(()=>_0x48aecf[_0x2249a9(0x4c9)]()));let _0x1b4694;const _0xe86089=()=>{var _0x143e4d=_0x2249a9;_0xd82946['next'](new Event(_0x143e4d(0x385))),_0x4aed42[_0x143e4d(0x3c3)](new Event('connection\x20error')),_0x1b4694[_0x143e4d(0x47d)]();};return _0x1b4694={'memberID':'','close$':_0x4aed42[_0x2249a9(0x3a8)](),'error$':_0xd82946[_0x2249a9(0x3a8)](),'open$':_0x7d07c3[_0x2249a9(0x48b)],'message$':_0x48aecf[_0x2249a9(0x3a8)](),'send':_0x219507=>{var _0x3ceb04=_0x2249a9;if(_0x219507[_0x3ceb04(0x2a8)]===F[_0x3ceb04(0x332)]){if(_0x219507[_0x3ceb04(0x48f)][_0x3ceb04(0x4ce)]===_0x12f734[_0x3ceb04(0x1cc)]){this[_0x3ceb04(0x2fd)](_0x1b4694,_0x219507['data'])[_0x3ceb04(0x455)](_0x342eeb=>{var _0x51253f=_0x3ceb04;this['_logService'][_0x51253f(0x21f)](_0x342eeb),_0xe86089();});return;}if(_0x219507[_0x3ceb04(0x48f)][_0x3ceb04(0x4ce)]===_0x12f734[_0x3ceb04(0x231)]){const _0x1f31cc=_0x219507[_0x3ceb04(0x48f)];this[_0x3ceb04(0x1ce)](_0x1f31cc)[_0x3ceb04(0x367)](_0x5774ff=>{var _0x3b12b8=_0x3ceb04;_0x48aecf[_0x3b12b8(0x3c3)]({'cmd':F[_0x3b12b8(0x262)],'code':ge['OK'],'routeKey':_0x1f31cc[_0x3b12b8(0x48f)]['unitID'],'routeType':'','data':{'eventID':_0x12f734[_0x3b12b8(0x378)],'data':{'changesets':_0x5774ff}}});})['catch'](_0xbf4580=>{var _0x29900e=_0x3ceb04;this['_logService'][_0x29900e(0x21f)](_0xbf4580),_0xe86089();});return;}}_0x7d07c3[_0x3ceb04(0x3a2)](xn(_0x219507));},'close':()=>{var _0xc31f3c=_0x2249a9;_0x7d07c3[_0xc31f3c(0x47d)](),_0x3c400c[_0xc31f3c(0x374)]();}},_0x1b4694;}async[_0xfe7184(0x2fd)](_0x301410,_0x59ccb1){var _0xfb713b=_0xfe7184,_0x337a00,_0x5a5b31;const {unitType:_0x1027aa,unitID:_0x13d250,changeset:_0xe53145}=_0x59ccb1['data'],_0x186a02={'unitID':_0x13d250,'memberID':_0x301410[_0xfb713b(0x3df)],'type':_0x1027aa,'changeset':_0x3c8545(_0xe53145)},_0x16b95f=this[_0xfb713b(0x1fa)][_0xfb713b(0x37f)](Nn),_0x38a7b4=this[_0xfb713b(0x1fa)][_0xfb713b(0x37f)](q),_0x4902da=$n((_0x5a5b31=(_0x337a00=_0x38a7b4==null?void 0x0:_0x38a7b4[_0xfb713b(0x204)])!=null?_0x337a00:_0x16b95f)!=null?_0x5a5b31:Dn,_0x1027aa,_0x13d250);try{await this['_httpService'][_0xfb713b(0x43a)](_0x4902da,{'body':_0x186a02});}catch(_0x4ca58c){throw this[_0xfb713b(0x1df)][_0xfb713b(0x21f)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x4ca58c;}}async[_0xfe7184(0x1ce)](_0x31d82a){var _0x2cd15=_0xfe7184;const {unitID:_0x344107,from:_0x1b3da6,to:_0x29bab6,unitType:_0x58868e}=_0x31d82a[_0x2cd15(0x48f)];return(await this[_0x2cd15(0x248)][_0x2cd15(0x270)]({'metadata':void 0x0},{'unitID':_0x344107,'type':_0x58868e,'from':_0x1b3da6,'to':_0x29bab6}))[_0x2cd15(0x484)];}};Gt=kn([Ae(0x0,_0x133e5e(_0x723ed9)),Ae(0x1,_0x133e5e(_0x44d219)),Ae(0x2,_0x2f38cd),Ae(0x3,_0x19ce75),Ae(0x4,_0x208e48)],Gt);const Hn=_0xfe7184(0x200);function Bn(_0x21caf7){var _0x4054fc=_0xfe7184;return JSON[_0x4054fc(0x291)](_0x21caf7)[_0x4054fc(0x44b)];}class Ti{constructor(){var _0x5d569f=_0xfe7184;N(this,'_commentUpdate$',new _0xd7395f()),N(this,'commentUpdate$',this[_0x5d569f(0x274)]['asObservable']());}[_0xfe7184(0x2ef)](_0x515ead){var _0x1dfd0c=_0xfe7184;this['_commentUpdate$'][_0x1dfd0c(0x3c3)](_0x515ead);}}var jn=Object[_0xfe7184(0x4a2)],Fn=(_0x2556a6,_0x3193f1,_0x59ce79,_0x468634)=>{var _0x5a8dcb=_0xfe7184;for(var _0x3bc406=_0x468634>0x1?void 0x0:_0x468634?jn(_0x3193f1,_0x59ce79):_0x3193f1,_0x4fe1c3=_0x2556a6[_0x5a8dcb(0x44b)]-0x1,_0x3c4e2b;_0x4fe1c3>=0x0;_0x4fe1c3--)(_0x3c4e2b=_0x2556a6[_0x4fe1c3])&&(_0x3bc406=_0x3c4e2b(_0x3bc406)||_0x3bc406);return _0x3bc406;},Wt=(_0x14bd5c,_0x48e0bb)=>(_0x1f78a9,_0x83b5ea)=>_0x48e0bb(_0x1f78a9,_0x83b5ea,_0x14bd5c);let Le=class extends _0x293672{constructor(_0x31c85f,_0x37e094){var _0x2f90e2=_0xfe7184;super(),N(this,'_roomMembers',new Map()),N(this,_0x2f90e2(0x4b3),new _0xd7395f()),(this[_0x2f90e2(0x439)]=_0x31c85f,this[_0x2f90e2(0x316)]=_0x37e094,this[_0x2f90e2(0x2d3)](_0x4ef3f9(this[_0x2f90e2(0x439)][_0x2f90e2(0x27f)](_0x22def0[_0x2f90e2(0x4c5)])[_0x2f90e2(0x400)](_0x4851a7(_0x32c4ac=>_0x32c4ac[_0x2f90e2(0x340)]())),this[_0x2f90e2(0x439)][_0x2f90e2(0x27f)](_0x22def0[_0x2f90e2(0x1c3)])[_0x2f90e2(0x400)](_0x4851a7(_0xece7c1=>_0xece7c1[_0x2f90e2(0x340)]())),this[_0x2f90e2(0x439)][_0x2f90e2(0x27f)](_0x22def0['UNIVER_SLIDE'])[_0x2f90e2(0x400)](_0x4851a7(_0x49d215=>_0x49d215[_0x2f90e2(0x340)]())))[_0x2f90e2(0x26d)](_0x455035=>this['_removeRoom'](_0x455035))));}[_0xfe7184(0x319)](_0x19646c){var _0x919005=_0xfe7184;return this[_0x919005(0x4cc)][_0x919005(0x21d)](_0x19646c)?_0x52f9c6(this[_0x919005(0x4cc)][_0x919005(0x404)](_0x19646c)):this[_0x919005(0x4b3)]['pipe'](_0x4851a7(_0x228dab=>{if(_0x228dab===_0x19646c)return this['_roomMembers']['get'](_0x228dab);}));}[_0xfe7184(0x251)](_0x45addd){var _0xd13edc=_0xfe7184;this[_0xd13edc(0x316)][_0xd13edc(0x251)](_0x45addd);}[_0xfe7184(0x3de)](){var _0x4a5a79=_0xfe7184;return this['_userManagerService'][_0x4a5a79(0x3de)]();}[_0xfe7184(0x216)](_0x553ee9,_0x90fb4){var _0x12820a=_0xfe7184;let _0x3b4f8f=this['_roomMembers'][_0x12820a(0x404)](_0x553ee9);_0x3b4f8f||(_0x3b4f8f=new Vn(),this['_roomMembers'][_0x12820a(0x3b6)](_0x553ee9,_0x3b4f8f),this[_0x12820a(0x4b3)]['next'](_0x553ee9)),_0x3b4f8f['updateMember'](_0x90fb4);}[_0xfe7184(0x2ae)](_0x1bc883,_0x2bc9b1){var _0x52941d=_0xfe7184;const _0x4c0a84=this[_0x52941d(0x4cc)][_0x52941d(0x404)](_0x1bc883);_0x4c0a84&&_0x4c0a84[_0x52941d(0x2ae)](_0x2bc9b1);}[_0xfe7184(0x389)](_0x34a6a1){var _0xf4d034=_0xfe7184;return this[_0xf4d034(0x4cc)][_0xf4d034(0x404)](_0x34a6a1);}[_0xfe7184(0x3f8)](_0x491580,_0x3bf5e2){var _0x9d0ad7=_0xfe7184;const _0x360cba=this[_0x9d0ad7(0x4cc)][_0x9d0ad7(0x404)](_0x491580);if(_0x360cba)return _0x360cba['getMember'](_0x3bf5e2);}[_0xfe7184(0x209)](_0x18d067){var _0x3c1466=_0xfe7184;const _0x1a607a=this[_0x3c1466(0x4cc)][_0x3c1466(0x404)](_0x18d067);_0x1a607a&&(_0x1a607a[_0x3c1466(0x374)](),this[_0x3c1466(0x4cc)][_0x3c1466(0x38e)](_0x18d067));}[_0xfe7184(0x374)](){var _0x1914d5=_0xfe7184;this[_0x1914d5(0x4cc)][_0x1914d5(0x1c9)](_0x59168d=>_0x59168d['dispose']()),this[_0x1914d5(0x4cc)]['clear'](),this[_0x1914d5(0x4b3)][_0x1914d5(0x4c9)]();}};Le=Fn([Wt(0x0,_0x169db5),Wt(0x1,_0x133e5e(_0x38d7df))],Le);class Vn extends _0x293672{constructor(){var _0x10e996=_0xfe7184;super(...arguments),N(this,_0x10e996(0x4a3),new Map()),N(this,'_members$',new _0x21c115(this[_0x10e996(0x4a3)])),N(this,'members$',this[_0x10e996(0x1fc)][_0x10e996(0x3a8)]());}['dispose'](){var _0x5769d9=_0xfe7184;this[_0x5769d9(0x4a3)][_0x5769d9(0x3fa)]();}[_0xfe7184(0x216)](_0x529638){var _0x3885a9=_0xfe7184;this['_members'][_0x3885a9(0x3b6)](_0x529638['memberID'],_0x529638),this[_0x3885a9(0x341)]();}[_0xfe7184(0x2ae)](_0x36b5a8){var _0x563022=_0xfe7184;this['_members'][_0x563022(0x38e)](_0x36b5a8);}[_0xfe7184(0x3f8)](_0xa31f9b){var _0x2505e7=_0xfe7184;return this['_members'][_0x2505e7(0x404)](_0xa31f9b);}[_0xfe7184(0x31f)](){var _0x2f4857=_0xfe7184;return Array['from'](this[_0x2f4857(0x4a3)][_0x2f4857(0x363)]());}[_0xfe7184(0x341)](){var _0x1148ad=_0xfe7184;this[_0x1148ad(0x1fc)][_0x1148ad(0x3c3)](this[_0x1148ad(0x4a3)]);}}var Gn=Object['getOwnPropertyDescriptor'],Wn=(_0x30050b,_0xc7816b,_0x50b8e3,_0x3f0cdf)=>{for(var _0x95de2b=_0x3f0cdf>0x1?void 0x0:_0x3f0cdf?Gn(_0xc7816b,_0x50b8e3):_0xc7816b,_0x712f49=_0x30050b['length']-0x1,_0x8d4236;_0x712f49>=0x0;_0x712f49--)(_0x8d4236=_0x30050b[_0x712f49])&&(_0x95de2b=_0x8d4236(_0x95de2b)||_0x95de2b);return _0x95de2b;},me=(_0x589e54,_0x1793a1)=>(_0xc89bd6,_0x52432b)=>_0x1793a1(_0xc89bd6,_0x52432b,_0x589e54),Ee=(_0x115c3a=>(_0x115c3a[_0x115c3a[_0xfe7184(0x213)]=0x0]=_0xfe7184(0x213),_0x115c3a[_0x115c3a[_0xfe7184(0x47c)]=0x1]='JOINING',_0x115c3a[_0x115c3a['OFFLINE']=0x2]=_0xfe7184(0x3ea),_0x115c3a[_0x115c3a[_0xfe7184(0x336)]=0x3]='ONLINE',_0x115c3a))(Ee||{});const Kt={[ge[_0xfe7184(0x211)]]:_0xfe7184(0x306),[ge['JOIN_ROOM_FULL']]:'session.room-full',[ge['JOIN_ROOM_NOT_EXISTS']]:_0xfe7184(0x292),[ge[_0xfe7184(0x392)]]:_0xfe7184(0x317),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0xfe7184(0x25b)};let Et=class extends _0x1f9410{constructor(_0xf88fa8,_0x18b709,_0x27116b,_0x9e6ed7,_0x146238,_0x477fd3,_0x41d71c,_0x501a37,_0xa4c052){var _0x8ea665=_0xfe7184;super(),N(this,_0x8ea665(0x208),new _0x21c115(0x0)),N(this,_0x8ea665(0x24a),this[_0x8ea665(0x208)][_0x8ea665(0x3a8)]()),N(this,_0x8ea665(0x30f),new _0xd7395f()),N(this,_0x8ea665(0x350),this[_0x8ea665(0x30f)][_0x8ea665(0x3a8)]()),N(this,'_socket'),N(this,_0x8ea665(0x2fe)),N(this,_0x8ea665(0x46b)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x8ea665(0x20c),null),(this[_0x8ea665(0x4a4)]=_0xf88fa8,this[_0x8ea665(0x1df)]=_0x27116b,this[_0x8ea665(0x1fa)]=_0x9e6ed7,this['_localeService']=_0x146238,this[_0x8ea665(0x4ba)]=_0x477fd3,this[_0x8ea665(0x3f3)]=_0x41d71c,this['_collaborationUIEventService']=_0x501a37,this['_telemetryService']=_0xa4c052,this[_0x8ea665(0x297)]=!!this[_0x8ea665(0x2c1)],_0x18b709['pipe'](_0x1bbb70(this['dispose$']))[_0x8ea665(0x26d)](_0x4707bc=>{var _0x2e90db=_0x8ea665,_0x725ab1;typeof _0x4707bc>'u'||(this[_0x2e90db(0x487)]=_0x4707bc,_0x4707bc?(this[_0x2e90db(0x2bb)](_0x4707bc),this[_0x2e90db(0x2fe)]=_0x4707bc[_0x2e90db(0x1f6)][_0x2e90db(0x26d)](_0x545ffe=>{var _0x104407=_0x2e90db;_0x545ffe[_0x104407(0x490)]===this[_0x104407(0x4a4)]&&this['_onCombEvent'](_0x545ffe);})):(this[_0x2e90db(0x37e)](),this[_0x2e90db(0x208)][_0x2e90db(0x3c3)](0x2),(_0x725ab1=this[_0x2e90db(0x2fe)])==null||_0x725ab1[_0x2e90db(0x225)](),this['_socketMessageSubscription']=null));}));}get[_0xfe7184(0x2e0)](){var _0x54bb52=_0xfe7184;return this[_0x54bb52(0x208)][_0x54bb52(0x2b8)]();}[_0xfe7184(0x226)](){var _0x1346cc=_0xfe7184,_0x133b41,_0x8ab2f1;return(_0x8ab2f1=(_0x133b41=this[_0x1346cc(0x487)])==null?void 0x0:_0x133b41['memberID'])!=null?_0x8ab2f1:null;}[_0xfe7184(0x374)](){var _0x32f3df=_0xfe7184;super['dispose'](),this[_0x32f3df(0x27c)][_0x32f3df(0x3c3)](),this['dispose$'][_0x32f3df(0x4c9)]();}[_0xfe7184(0x47d)](){var _0x59e805=_0xfe7184,_0x1b9a0e,_0x48567d;this[_0x59e805(0x37e)](),(_0x1b9a0e=this[_0x59e805(0x487)])==null||_0x1b9a0e[_0x59e805(0x3a2)]({'cmd':F[_0x59e805(0x39e)],'data':{'roomID':this['_unitID']}}),(_0x48567d=this['_socket'])==null||_0x48567d[_0x59e805(0x47d)](),this[_0x59e805(0x30f)][_0x59e805(0x4c9)](),this['_sessionStatus$'][_0x59e805(0x4c9)](),this[_0x59e805(0x374)]();}[_0xfe7184(0x449)](_0x3ae47f){var _0x4abe9a=_0xfe7184;_0x3ae47f[_0x4abe9a(0x2a8)]===F[_0x4abe9a(0x20a)]?this['_onJoinRoomEvent'](_0x3ae47f):_0x3ae47f[_0x4abe9a(0x2a8)]===F['RECV']&&this['_onRecvEvent'](_0x3ae47f);}[_0xfe7184(0x2bb)](_0x24e358){var _0x51152b=_0xfe7184;this[_0x51152b(0x208)][_0x51152b(0x3c3)](0x1),_0x24e358['send']({'cmd':F['JOIN'],'routeKey':this[_0x51152b(0x4a4)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x2ef0ee){var _0x310046=_0xfe7184,_0x5efaa4;if(_0x2ef0ee[_0x310046(0x2cf)]in Kt){this[_0x310046(0x384)][_0x310046(0x32b)]({'id':re['JOIN_ROOM_FAILED'],'data':Kt[_0x2ef0ee[_0x310046(0x2cf)]]}),this[_0x310046(0x208)]['next'](0x2);return;}this[_0x310046(0x208)][_0x310046(0x3c3)](0x3);const _0x34923d=(_0x5efaa4=_0x2ef0ee['data'][_0x310046(0x4a1)][this[_0x310046(0x4a4)]])==null?void 0x0:_0x5efaa4[_0x310046(0x2b7)];_0x34923d&&_0x34923d['forEach'](_0x4e16ee=>this[_0x310046(0x4ba)][_0x310046(0x216)](this[_0x310046(0x4a4)],_0x4e16ee));}[_0xfe7184(0x453)](_0x2eb445){var _0x486dee=_0xfe7184;try{const _0x4c10a9=_0x2eb445['data'];switch(_0x4c10a9['eventID']){case _0x12f734[_0x486dee(0x432)]:this[_0x486dee(0x2fb)](_0x4c10a9),this[_0x486dee(0x30f)][_0x486dee(0x3c3)](_0x4c10a9);break;case _0x12f734[_0x486dee(0x1f0)]:this[_0x486dee(0x224)](_0x4c10a9),this[_0x486dee(0x30f)][_0x486dee(0x3c3)](_0x4c10a9);break;case _0x12f734[_0x486dee(0x244)]:case _0x12f734[_0x486dee(0x25c)]:this[_0x486dee(0x31e)](),this['_clearCollaborationTimeoutTimer'](),this[_0x486dee(0x30f)][_0x486dee(0x3c3)](_0x4c10a9);break;case _0x12f734[_0x486dee(0x1e5)]:this[_0x486dee(0x1df)][_0x486dee(0x21f)](_0x486dee(0x2c9)+JSON[_0x486dee(0x291)](_0x4c10a9)),this[_0x486dee(0x30f)][_0x486dee(0x3c3)](_0x4c10a9);break;case _0x12f734[_0x486dee(0x2ab)]:this[_0x486dee(0x3f3)][_0x486dee(0x2ef)](_0x4c10a9[_0x486dee(0x48f)]),this[_0x486dee(0x30f)][_0x486dee(0x3c3)](_0x4c10a9);break;default:this['_event$']['next'](_0x4c10a9);}}catch(_0xabcbb9){this[_0x486dee(0x1df)]['error'](_0xabcbb9,_0x2eb445);}}[_0xfe7184(0x2fb)](_0xef75ac){var _0x497abc=_0xfe7184;this[_0x497abc(0x4ba)][_0x497abc(0x216)](this[_0x497abc(0x4a4)],_0xef75ac[_0x497abc(0x48f)]);}['_onUserLeave'](_0x1ed2dc){var _0x589bd1=_0xfe7184;this[_0x589bd1(0x4ba)][_0x589bd1(0x2ae)](this['_unitID'],_0x1ed2dc[_0x589bd1(0x48f)]['memberID']);}async[_0xfe7184(0x3a2)](_0x1e1e57,_0x300048){var _0x552a49=_0xfe7184;if(this[_0x552a49(0x2e0)]!==0x3||!this[_0x552a49(0x487)])throw new Error(_0x552a49(0x3fd));try{_0x1e1e57[_0x552a49(0x4ce)]===_0x12f734['SUBMIT_CHANGESET']&&(this[_0x552a49(0x3b2)](),this[_0x552a49(0x4cd)](_0x1e1e57)),this['_socket'][_0x552a49(0x3a2)]({'cmd':F[_0x552a49(0x332)],'routeKey':_0x300048,'routeType':'','data':_0x1e1e57});}catch(_0x593459){this['_logService'][_0x552a49(0x21f)](_0x593459);}}[_0xfe7184(0x3b2)](){var _0x155b1d=_0xfe7184,_0x4fe5e3;this[_0x155b1d(0x46b)]=setTimeout(()=>{var _0x11eccb=_0x155b1d;this[_0x11eccb(0x46b)]=null,this['_collaborationUIEventService'][_0x11eccb(0x32b)]({'id':re[_0x11eccb(0x285)]});},(_0x4fe5e3=this[_0x155b1d(0x1fa)][_0x155b1d(0x37f)](mi))!=null?_0x4fe5e3:gi);}['_clearCollaborationTimeoutTimer'](){var _0x1cea1c=_0xfe7184;this[_0x1cea1c(0x46b)]&&(clearTimeout(this[_0x1cea1c(0x46b)]),this['_collaborationTimeoutTimer']=null);}[_0xfe7184(0x4cd)](_0x26b894){var _0x4dca1a=_0xfe7184;if(!this['_shouldReportTelemetry'])return;const {data:_0x28b36c}=_0x26b894,{unitID:_0x8a2b46,changeset:_0x1aedd6}=_0x28b36c,{mutations:_0x3c0900,type:_0x4e483b}=_0x1aedd6;this[_0x4dca1a(0x20c)]={'unitId':_0x8a2b46,'type':_0x4e483b,'startTime':performance[_0x4dca1a(0x3ac)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x3c0900)};}[_0xfe7184(0x31e)](){var _0x1d788e=_0xfe7184;if(this[_0x1d788e(0x297)]){if(!this[_0x1d788e(0x20c)]){this[_0x1d788e(0x1df)]['error'](_0x1d788e(0x2dc),_0x1d788e(0x303));return;}this['_telemetryInfo'][_0x1d788e(0x41c)]=performance[_0x1d788e(0x3ac)](),this[_0x1d788e(0x20c)][_0x1d788e(0x308)]=this[_0x1d788e(0x20c)][_0x1d788e(0x41c)]-this[_0x1d788e(0x20c)][_0x1d788e(0x470)],this[_0x1d788e(0x2c1)][_0x1d788e(0x473)](Hn,this[_0x1d788e(0x20c)]),this[_0x1d788e(0x20c)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x19ce75),me(0x3,_0x2f38cd),me(0x4,_0x133e5e(_0x20ed6b)),me(0x5,_0x133e5e(Le)),me(0x6,_0x133e5e(Ti)),me(0x7,_0x133e5e(pe)),me(0x8,_0x5db4e2(_0x5c0048))],Et);var Kn=Object[_0xfe7184(0x4a2)],Yn=(_0x3d87f0,_0x5a80d8,_0x4b23ad,_0x3edd87)=>{var _0x523284=_0xfe7184;for(var _0xb7feb6=_0x3edd87>0x1?void 0x0:_0x3edd87?Kn(_0x5a80d8,_0x4b23ad):_0x5a80d8,_0x36761a=_0x3d87f0[_0x523284(0x44b)]-0x1,_0x246a79;_0x36761a>=0x0;_0x36761a--)(_0x246a79=_0x3d87f0[_0x36761a])&&(_0xb7feb6=_0x246a79(_0xb7feb6)||_0xb7feb6);return _0xb7feb6;},be=(_0x4916c2,_0x533a9f)=>(_0x23d135,_0x848a09)=>_0x533a9f(_0x23d135,_0x848a09,_0x4916c2);let xe=class extends _0x293672{constructor(_0x2cb925,_0x2976ae,_0x188066,_0xbfb44,_0x34b0ee,_0x407022){var _0x10bb6e=_0xfe7184;super(),N(this,_0x10bb6e(0x43f),new _0x21c115(void 0x0)),N(this,_0x10bb6e(0x2f5),this['_socket$'][_0x10bb6e(0x3a8)]()),N(this,_0x10bb6e(0x4a9),null),N(this,'_sessions',new Map()),N(this,_0x10bb6e(0x4cb),new _0x21c115(Ee[_0x10bb6e(0x213)])),N(this,_0x10bb6e(0x45b),this[_0x10bb6e(0x4cb)][_0x10bb6e(0x3a8)]()),N(this,_0x10bb6e(0x3cf),!0x1),N(this,_0x10bb6e(0x460)),N(this,'_retryCount',0x0),N(this,_0x10bb6e(0x21e)),N(this,_0x10bb6e(0x49f)),(this[_0x10bb6e(0x3e4)]=_0x2cb925,this[_0x10bb6e(0x1df)]=_0x2976ae,this['_configService']=_0x188066,this[_0x10bb6e(0x282)]=_0xbfb44,this[_0x10bb6e(0x384)]=_0x34b0ee,this[_0x10bb6e(0x22e)]=_0x407022,this['_listenToNetworkCondition']());}get[_0xfe7184(0x487)](){var _0xe394e8=_0xfe7184;return this[_0xe394e8(0x43f)][_0xe394e8(0x2b8)]();}[_0xfe7184(0x264)](){var _0x3d5b16=_0xfe7184;this['_networkConditionService']&&this[_0x3d5b16(0x2d3)](this[_0x3d5b16(0x22e)][_0x3d5b16(0x25a)]['subscribe'](_0x19d112=>{var _0x57a01b=_0x3d5b16;_0x19d112&&!this[_0x57a01b(0x487)]&&this[_0x57a01b(0x416)](),_0x19d112||this['_onOffline']();}));}[_0xfe7184(0x374)](){var _0x1a3bd7=_0xfe7184;super[_0x1a3bd7(0x374)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x1a3bd7(0x1c9)](_0x2238e3=>_0x2238e3[_0x1a3bd7(0x374)]()),this[_0x1a3bd7(0x42b)][_0x1a3bd7(0x3fa)](),this[_0x1a3bd7(0x4cb)][_0x1a3bd7(0x4c9)]();}async['requireSession'](_0xc38e21){var _0x254377=_0xfe7184;if(this[_0x254377(0x42b)][_0x254377(0x21d)](_0xc38e21))return this[_0x254377(0x42b)][_0x254377(0x404)](_0xc38e21);this[_0x254377(0x410)]();const _0x2bbc64=this['_injector'][_0x254377(0x1e8)](Et,_0xc38e21,this[_0x254377(0x43f)]['asObservable']());return this['_sessions'][_0x254377(0x3b6)](_0xc38e21,_0x2bbc64),_0x2bbc64;}[_0xfe7184(0x4b0)](_0x5391cd){var _0x3d97eb=_0xfe7184,_0x3f80e3;const _0x3d70e4=this[_0x3d97eb(0x42b)][_0x3d97eb(0x404)](_0x5391cd);_0x3d70e4&&(this[_0x3d97eb(0x42b)][_0x3d97eb(0x38e)](_0x5391cd),_0x3d70e4['close']()),this[_0x3d97eb(0x42b)][_0x3d97eb(0x399)]||(_0x3f80e3=this[_0x3d97eb(0x487)])==null||_0x3f80e3[_0x3d97eb(0x47d)]();}[_0xfe7184(0x416)](){var _0x4c5e18=_0xfe7184;this[_0x4c5e18(0x28e)]=0x0,this[_0x4c5e18(0x45a)](),this[_0x4c5e18(0x395)]();}['_clearRetryConnectingTimer'](){var _0x4bf0e9=_0xfe7184;this[_0x4bf0e9(0x460)]!=null&&(clearTimeout(this[_0x4bf0e9(0x460)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x20f4c7=_0xfe7184,_0x2e19f2,_0x797a48;const _0x574bf1=this[_0x20f4c7(0x1fa)][_0x20f4c7(0x37f)](In),_0x5ced36=this['_configService'][_0x20f4c7(0x37f)](q),_0x238888=(_0x797a48=(_0x2e19f2=_0x5ced36==null?void 0x0:_0x5ced36[_0x20f4c7(0x2b6)])!=null?_0x2e19f2:_0x574bf1)!=null?_0x797a48:Tn,_0x5f2e1c=await this[_0x20f4c7(0x282)][_0x20f4c7(0x2f4)](_0x238888);return this[_0x20f4c7(0x4a9)]=_0x5f2e1c,_0x5f2e1c;}async[_0xfe7184(0x410)](){var _0x1ea4ce=_0xfe7184,_0x3f8718,_0x262dec;try{const _0x19b306=(_0x262dec=(_0x3f8718=this[_0x1ea4ce(0x487)])!=null?_0x3f8718:this[_0x1ea4ce(0x4a9)])!=null?_0x262dec:await this[_0x1ea4ce(0x302)]();if(_0x19b306){const _0x3884a6=_0x19b306[_0x1ea4ce(0x3a2)];_0x19b306[_0x1ea4ce(0x3a2)]=_0x421f28=>(this[_0x1ea4ce(0x24e)](),_0x3884a6[_0x1ea4ce(0x486)](_0x19b306,[_0x421f28])),_0x19b306[_0x1ea4ce(0x1f6)]['subscribe'](_0x19c0c4=>this['_onMessage'](_0x19b306,_0x19c0c4)),_0x19b306[_0x1ea4ce(0x1fd)][_0x1ea4ce(0x400)](_0x15a9bb(0x1))[_0x1ea4ce(0x26d)](_0x3cb7bc=>this[_0x1ea4ce(0x1df)][_0x1ea4ce(0x21f)](_0x1ea4ce(0x36a),_0x3cb7bc)),_0x19b306[_0x1ea4ce(0x48b)]['pipe'](_0x15a9bb(0x1))['subscribe'](()=>{var _0x3e028a=_0x1ea4ce;this[_0x3e028a(0x28c)](_0x19b306);}),_0x19b306[_0x1ea4ce(0x343)][_0x1ea4ce(0x400)](_0x15a9bb(0x1))[_0x1ea4ce(0x26d)](_0x5bbf71=>{var _0x43a5b7=_0x1ea4ce;this['_logService'][_0x43a5b7(0x240)](_0x43a5b7(0x2df),_0x43a5b7(0x2ff),_0x5bbf71),this[_0x43a5b7(0x2ca)]();});}}catch(_0x40065a){this[_0x1ea4ce(0x1df)][_0x1ea4ce(0x21f)](_0x40065a),this['_onConnectionFailed']();}}[_0xfe7184(0x28c)](_0x10a710){var _0x2d390f=_0xfe7184;this['_logService'][_0x2d390f(0x240)](_0x2d390f(0x2df),'socket\x20open.'),_0x10a710[_0x2d390f(0x3a2)]({'cmd':F[_0x2d390f(0x1d1)]}),this[_0x2d390f(0x24e)]();}[_0xfe7184(0x1c2)](){var _0x1e86f4=_0xfe7184;this[_0x1e86f4(0x3cf)]=!0x1,this[_0x1e86f4(0x4a9)]=null,this[_0x1e86f4(0x4cb)][_0x1e86f4(0x3c3)](Ee[_0x1e86f4(0x3ea)]),this[_0x1e86f4(0x43f)]['next'](null),this['_clearTimeoutTimer'](),this[_0x1e86f4(0x30d)]();}[_0xfe7184(0x2ca)](){var _0x19dc4f=_0xfe7184,_0x10c191;this[_0x19dc4f(0x1c2)](),this[_0x19dc4f(0x28e)]<((_0x10c191=this['_configService']['getConfig'](On))!=null?_0x10c191:yn)?(this[_0x19dc4f(0x384)][_0x19dc4f(0x32b)]({'id':re[_0x19dc4f(0x426)]}),this[_0x19dc4f(0x395)]()):this[_0x19dc4f(0x384)]['emitEvent']({'id':re[_0x19dc4f(0x480)]});}[_0xfe7184(0x395)](){var _0x5a2b2e=_0xfe7184,_0x165510;const _0xf9b593=this[_0x5a2b2e(0x28e)],_0x4ae865=this[_0x5a2b2e(0x1fa)]['getConfig'](q),_0x53b50b=_0xf9b593===0x0?0x0:((_0x165510=_0x4ae865==null?void 0x0:_0x4ae865[_0x5a2b2e(0x2b3)])!=null?_0x165510:bn)*0x2**_0xf9b593;this[_0x5a2b2e(0x460)]=setTimeout(()=>{var _0x51eca2=_0x5a2b2e;clearTimeout(this[_0x51eca2(0x460)]),this[_0x51eca2(0x460)]=null,this[_0x51eca2(0x410)]();},_0x53b50b),this[_0x5a2b2e(0x28e)]+=0x1;}[_0xfe7184(0x2f1)](_0x4cc695,_0x2240f7){var _0x2d7402=_0xfe7184;const {cmd:_0x374199}=_0x2240f7;_0x374199===F[_0x2d7402(0x1d1)]&&!this[_0x2d7402(0x3cf)]&&(_0x4cc695[_0x2d7402(0x3df)]=_0x2240f7[_0x2d7402(0x48f)][_0x2d7402(0x3df)],this[_0x2d7402(0x43f)][_0x2d7402(0x3c3)](_0x4cc695),this['_status$'][_0x2d7402(0x3c3)](Ee[_0x2d7402(0x336)]),this[_0x2d7402(0x3cf)]=!0x0,this['_candidateSocket']=null),_0x374199===F[_0x2d7402(0x1ff)]&&this[_0x2d7402(0x21a)](),this[_0x2d7402(0x24e)]();}['_rescheduleHeartbeat'](){var _0x2c9e4e=_0xfe7184,_0x306632;this[_0x2c9e4e(0x30d)](),this[_0x2c9e4e(0x21e)]=setTimeout(()=>this[_0x2c9e4e(0x441)](),(_0x306632=this[_0x2c9e4e(0x1fa)][_0x2c9e4e(0x37f)](Cn))!=null?_0x306632:Rn);}[_0xfe7184(0x441)](){var _0x474704=_0xfe7184;this['_socket'][_0x474704(0x3a2)]({'cmd':F[_0x474704(0x1ff)]}),this[_0x474704(0x32d)]();}[_0xfe7184(0x32d)](){var _0x58c40b=_0xfe7184,_0x4b2ace;this[_0x58c40b(0x49f)]=setTimeout(()=>this[_0x58c40b(0x2ca)](),(_0x4b2ace=this[_0x58c40b(0x1fa)][_0x58c40b(0x37f)](mi))!=null?_0x4b2ace:gi);}[_0xfe7184(0x30d)](){var _0x51824a=_0xfe7184;this[_0x51824a(0x21e)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x380869=_0xfe7184;this[_0x380869(0x49f)]!=null&&(clearTimeout(this[_0x380869(0x49f)]),this[_0x380869(0x49f)]=null);}};xe=Yn([be(0x0,_0x133e5e(_0x723ed9)),be(0x1,_0x19ce75),be(0x2,_0x2f38cd),be(0x3,Ii),be(0x4,_0x133e5e(pe)),be(0x5,_0x5db4e2(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0xfe7184(0x3ca)]((t+0x100)[_0xfe7184(0x1e6)](0x10)[_0xfe7184(0x4a6)](0x1));function qn(_0x14b88b,_0x3c02bb=0x0){return(V[_0x14b88b[_0x3c02bb+0x0]]+V[_0x14b88b[_0x3c02bb+0x1]]+V[_0x14b88b[_0x3c02bb+0x2]]+V[_0x14b88b[_0x3c02bb+0x3]]+'-'+V[_0x14b88b[_0x3c02bb+0x4]]+V[_0x14b88b[_0x3c02bb+0x5]]+'-'+V[_0x14b88b[_0x3c02bb+0x6]]+V[_0x14b88b[_0x3c02bb+0x7]]+'-'+V[_0x14b88b[_0x3c02bb+0x8]]+V[_0x14b88b[_0x3c02bb+0x9]]+'-'+V[_0x14b88b[_0x3c02bb+0xa]]+V[_0x14b88b[_0x3c02bb+0xb]]+V[_0x14b88b[_0x3c02bb+0xc]]+V[_0x14b88b[_0x3c02bb+0xd]]+V[_0x14b88b[_0x3c02bb+0xe]]+V[_0x14b88b[_0x3c02bb+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x7e8fa4=_0xfe7184;if(!ut){if(typeof crypto>'u'||!crypto[_0x7e8fa4(0x32f)])throw new Error(_0x7e8fa4(0x429));ut=crypto[_0x7e8fa4(0x32f)][_0x7e8fa4(0x235)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0xfe7184(0x24f)]&&crypto[_0xfe7184(0x24f)][_0xfe7184(0x235)](crypto),Yt={'randomUUID':Xn};function Zn(_0x3f020e,_0x200985,_0x422d4f){var _0x5b4b3a=_0xfe7184,_0x20768f,_0xcc5fe4,_0x565a8d;if(Yt['randomUUID']&&!_0x3f020e)return Yt[_0x5b4b3a(0x24f)]();_0x3f020e=_0x3f020e||{};const _0x507cc8=(_0x565a8d=(_0xcc5fe4=_0x3f020e[_0x5b4b3a(0x4c2)])!=null?_0xcc5fe4:(_0x20768f=_0x3f020e[_0x5b4b3a(0x35f)])==null?void 0x0:_0x20768f[_0x5b4b3a(0x48d)](_0x3f020e))!=null?_0x565a8d:Jn();if(_0x507cc8['length']<0x10)throw new Error(_0x5b4b3a(0x413));return _0x507cc8[0x6]=_0x507cc8[0x6]&0xf|0x40,_0x507cc8[0x8]=_0x507cc8[0x8]&0x3f|0x80,qn(_0x507cc8);}const J=_0x243a96(_0xfe7184(0x4ad));function Br(_0x2708dd){var _0x2a5244=_0xfe7184;return _0x2a5244(0x2b4)+_0x2708dd;}var Qn=Object[_0xfe7184(0x4a2)],es=(_0x2d9b94,_0x4b029a,_0xcc2a0b,_0x174128)=>{for(var _0x890539=_0x174128>0x1?void 0x0:_0x174128?Qn(_0x4b029a,_0xcc2a0b):_0x4b029a,_0x408e01=_0x2d9b94['length']-0x1,_0x4b5aaa;_0x408e01>=0x0;_0x408e01--)(_0x4b5aaa=_0x2d9b94[_0x408e01])&&(_0x890539=_0x4b5aaa(_0x890539)||_0x890539);return _0x890539;},dt=(_0x14ee9b,_0x36a64d)=>(_0x1f7710,_0x27bb4c)=>_0x36a64d(_0x1f7710,_0x27bb4c,_0x14ee9b);function ts(_0x49f3b9){var _0x8e950=_0xfe7184;const {unitID:_0xfd2ec,mutations:_0xad38b7}=_0x49f3b9;return{'unitId':_0xfd2ec,'subUnitId':_0xad38b7[0x0][_0x8e950(0x300)]['subUnitId']};}let it=class{constructor(_0xa3fff6,_0x406022,_0x411b47){var _0x2781b2=_0xfe7184;this[_0x2781b2(0x3e4)]=_0xa3fff6,this[_0x2781b2(0x2c7)]=_0x406022,this[_0x2781b2(0x2d4)]=_0x411b47;}[_0xfe7184(0x280)](_0x2528c6){var _0x2d0edd=_0xfe7184,_0x2bd6f6,_0x3254f6,_0x378968,_0x303947;const _0x1f9000=this['_injector'][_0x2d0edd(0x404)](_0x536894),{unitId:_0x370e9d,subUnitId:_0x30196f}=ts(_0x2528c6),_0x1a019c=_0x1f9000==null?void 0x0:_0x1f9000[_0x2d0edd(0x3d5)](_0x370e9d)[_0x2d0edd(0x43e)](),_0x52d7d6=(_0x3254f6=(_0x2bd6f6=this['_instanceService']['getUnit'](_0x370e9d))==null?void 0x0:_0x2bd6f6['getActiveSheet']())==null?void 0x0:_0x3254f6['getSheetId']();if(_0x1a019c['length']===0x0||!_0x370e9d||!_0x30196f)return;const _0x3d3306=[{'id':_0x441337['id'],'params':{'unitId':_0x370e9d,'subUnitId':_0x52d7d6,'selections':_0x21badf[_0x2d0edd(0x33d)](_0x1a019c)}}],_0x291179=this[_0x2d0edd(0x2c7)][_0x2d0edd(0x44c)](_0x2528c6,_0x3d3306);if(!_0x306b3c(_0x291179))throw _0x291179[_0x2d0edd(0x21f)];const _0x1a9ff3=(_0x303947=(_0x378968=_0x291179['m2Prime'][0x0])==null?void 0x0:_0x378968[_0x2d0edd(0x300)])==null?void 0x0:_0x303947[_0x2d0edd(0x3d0)];if(Array[_0x2d0edd(0x466)](_0x1a9ff3)&&_0x1a9ff3['length']){if(_0x1a9ff3[_0x2d0edd(0x44b)]===_0x3d3306[0x0][_0x2d0edd(0x300)][_0x2d0edd(0x3d0)][_0x2d0edd(0x44b)]&&_0x1a9ff3[_0x2d0edd(0x407)]((_0x4ce3c7,_0x3bdc29)=>_0x107ade[_0x2d0edd(0x370)](_0x4ce3c7[_0x2d0edd(0x29e)],_0x3d3306[0x0][_0x2d0edd(0x300)][_0x2d0edd(0x3d0)][_0x3bdc29][_0x2d0edd(0x29e)])))return;this[_0x2d0edd(0x3e4)][_0x2d0edd(0x404)](_0x1affd5)[_0x2d0edd(0x361)](_0x441337['id'],{'unitId':_0x370e9d,'subUnitId':_0x52d7d6,'selections':_0x1a9ff3});}}};it=es([dt(0x0,_0x133e5e(_0x723ed9)),dt(0x1,_0x1f266b),dt(0x2,_0x169db5)],it);const ht=_0x243a96(_0xfe7184(0x286));var Ci=(_0x21c09b=>(_0x21c09b[_0x21c09b[_0xfe7184(0x43b)]=0x0]=_0xfe7184(0x43b),_0x21c09b[_0x21c09b[_0xfe7184(0x35d)]=0x1]='OTHER_CLIENTS_EDITING',_0x21c09b))(Ci||{});const is=new Set([_0x404408['id']]);function qt(_0x5a21ed,_0x1bcac1,_0x577649,_0x1de631,_0x39e819){var _0x3a2548=_0xfe7184,_0x43919f,_0x3bf150,_0x29a0c3,_0x25d791;const _0x52dc6f=[];for(const _0xd820e0 of _0x5a21ed)if(is[_0x3a2548(0x21d)](_0xd820e0['id'])){if(_0x52dc6f['length']>0x0)break;_0x52dc6f['push'](_0xd820e0);break;}else _0x52dc6f['push'](_0xd820e0);const _0x159cc7=(_0x3bf150=(_0x43919f=_0x39e819[_0x3a2548(0x3de)]())==null?void 0x0:_0x43919f['userID'])!=null?_0x3bf150:_0x3a2548(0x479),_0x1575fb=(_0x25d791=(_0x29a0c3=_0x39e819['getCurrentUser']())==null?void 0x0:_0x29a0c3[_0x3a2548(0x3df)])!=null?_0x25d791:_0x3a2548(0x479);return{'changeset':{'unitID':_0x1bcac1,'type':_0x38d550(_0x577649[_0x3a2548(0x210)](_0x1bcac1)),'baseRev':_0x1de631[_0x3a2548(0x35a)](_0x1bcac1),'revision':0x0,'userID':_0x159cc7,'memberID':_0x1575fb,'mutations':_0x52dc6f},'pendingMutations':_0x5a21ed[_0x3a2548(0x4a6)](_0x52dc6f[_0x3a2548(0x44b)])};}function ns(_0xa347c9,_0x550ff9,_0x422cf5,_0x886ce4,_0x2c316d){var _0x273a66=_0xfe7184,_0x28ae64,_0x638b14,_0x43f832,_0x39df0d;const _0x125ff8=[_0xa347c9[_0x273a66(0x1db)]((_0x100b6d,_0x5d38b2)=>{var _0x255ccf=_0x273a66,_0x18e29d;const {id:_0x5c89d9}=_0x100b6d,{id:_0x141dba,type:_0x449e00}=_0x5d38b2,_0x3546e9=(_0x18e29d=_0x100b6d[_0x255ccf(0x300)])!=null?_0x18e29d:{'actions':null},_0x5ac69c=_0x5d38b2['params'];if(_0x5c89d9&&_0x5c89d9!==_0x141dba)throw new Error(_0x255ccf(0x437)+_0x5c89d9+_0x255ccf(0x4ac)+_0x141dba+'.');return{..._0x100b6d,'id':_0x141dba,'type':_0x449e00,'params':{'unitId':_0x5ac69c[_0x255ccf(0x214)],'textRanges':_0x5ac69c[_0x255ccf(0x3ae)],'actions':_0x38ad23[_0x255ccf(0x33a)](_0x3546e9[_0x255ccf(0x3b0)],_0x5ac69c[_0x255ccf(0x3b0)])}};},{})],_0x3bcb4d=(_0x638b14=(_0x28ae64=_0x2c316d[_0x273a66(0x3de)]())==null?void 0x0:_0x28ae64[_0x273a66(0x2c6)])!=null?_0x638b14:_0x273a66(0x479),_0x3fe2bd=(_0x39df0d=(_0x43f832=_0x2c316d[_0x273a66(0x3de)]())==null?void 0x0:_0x43f832[_0x273a66(0x3df)])!=null?_0x39df0d:'unknown';return{'changeset':{'unitID':_0x550ff9,'type':_0x38d550(_0x422cf5[_0x273a66(0x210)](_0x550ff9)),'baseRev':_0x886ce4[_0x273a66(0x35a)](_0x550ff9),'revision':0x0,'userID':_0x3bcb4d,'memberID':_0x3fe2bd,'mutations':_0x125ff8},'pendingMutations':[]};}function Ri(_0x5489e2,_0x1207d6){var _0x3ae756=_0xfe7184;const _0x7618f1=new _0x95c752(0x1);return setTimeout(()=>_0x7618f1[_0x3ae756(0x3c3)](_0x1207d6),_0x5489e2),_0x7618f1[_0x3ae756(0x3a8)]()[_0x3ae756(0x400)](_0x2bbf37(0x1));}const ss={'id':_0x12cfc9['id'],'type':_0xd983d8[_0xfe7184(0x491)],'params':{}};var rs=Object[_0xfe7184(0x4a2)],Te=(_0x4c2c4d,_0x304337,_0x22ab06,_0x2ee841)=>{for(var _0x237006=_0x2ee841>0x1?void 0x0:_0x2ee841?rs(_0x304337,_0x22ab06):_0x304337,_0x58e94a=_0x4c2c4d['length']-0x1,_0x25bfdd;_0x58e94a>=0x0;_0x58e94a--)(_0x25bfdd=_0x4c2c4d[_0x58e94a])&&(_0x237006=_0x25bfdd(_0x237006)||_0x237006);return _0x237006;},P=(_0x170585,_0x5be7d0)=>(_0x3090f4,_0x2f4ec8)=>_0x5be7d0(_0x3090f4,_0x2f4ec8,_0x170585),bi=(_0x4e307c=>(_0x4e307c[_0xfe7184(0x3b8)]=_0xfe7184(0x309),_0x4e307c[_0xfe7184(0x2e5)]='synced',_0x4e307c[_0xfe7184(0x2f2)]=_0xfe7184(0x377),_0x4e307c[_0xfe7184(0x3ba)]=_0xfe7184(0x3b3),_0x4e307c[_0xfe7184(0x368)]=_0xfe7184(0x408),_0x4e307c[_0xfe7184(0x246)]=_0xfe7184(0x2d0),_0x4e307c[_0xfe7184(0x434)]=_0xfe7184(0x2f0),_0x4e307c['OFFLINE']=_0xfe7184(0x46e),_0x4e307c))(bi||{});const Oi=0xea60;class Ce{constructor(_0xd6ca98,_0x4d9500,_0x36b162,_0x5a61f4,_0x164b1,_0x5dc313,_0x4eb24f,_0x450cf8,_0x5b3492){var _0x3cb46b=_0xfe7184;N(this,_0x3cb46b(0x307),null),N(this,_0x3cb46b(0x359),[]),(this[_0x3cb46b(0x255)]=_0xd6ca98,this['type']=_0x4d9500,this[_0x3cb46b(0x357)]=_0x164b1,this[_0x3cb46b(0x28a)]=_0x5dc313,this['_undoRedoService']=_0x4eb24f,this[_0x3cb46b(0x1cb)]=_0x450cf8,this[_0x3cb46b(0x386)]=_0x5b3492,this[_0x3cb46b(0x307)]=_0x36b162,this[_0x3cb46b(0x359)]=_0x5a61f4);}['_checkMissing'](_0x2b1612){var _0x17b96b=_0xfe7184;const _0xd9b4f6=this[_0x17b96b(0x1cb)][_0x17b96b(0x35a)](this[_0x17b96b(0x255)]);return _0x2b1612[_0x17b96b(0x417)]>_0xd9b4f6+0x1?(this[_0x17b96b(0x357)]['onMissingChangesets']({'from':_0xd9b4f6,'to':_0x2b1612[_0x17b96b(0x417)]-0x1}),!0x0):!0x1;}[_0xfe7184(0x33e)](_0xb5a64b){var _0x360050=_0xfe7184;this[_0x360050(0x48c)][_0x360050(0x25d)](this[_0x360050(0x255)],_0xb5a64b);}[_0xfe7184(0x2b9)](_0x28563e){var _0xe16006=_0xfe7184,_0x94f0c,_0x545a5e;(_0x545a5e=(_0x94f0c=this['_handler'])[_0xe16006(0x485)])==null||_0x545a5e[_0xe16006(0x48d)](_0x94f0c,_0x28563e);}[_0xfe7184(0x29b)](_0x40e759){var _0x5a9725=_0xfe7184,_0x4195a0,_0x1a1249;return(_0x1a1249=(_0x4195a0=this['_handler'])[_0x5a9725(0x40c)])==null?void 0x0:_0x1a1249[_0x5a9725(0x48d)](_0x4195a0,_0x40e759);}[_0xfe7184(0x364)](_0x55a0db){var _0x289c4e=_0xfe7184,_0x4c51b2,_0x134c18;return(_0x134c18=(_0x4c51b2=this[_0x289c4e(0x357)])['onTransformState'])==null?void 0x0:_0x134c18['call'](_0x4c51b2,_0x55a0db);}[_0xfe7184(0x1e4)](_0x5a0ff8){var _0x2c5b6c=_0xfe7184,_0x3dbc92,_0x4f9697,_0x5a4762;return(_0x5a4762=(_0x4f9697=(_0x3dbc92=this[_0x2c5b6c(0x357)])[_0x2c5b6c(0x268)])==null?void 0x0:_0x4f9697[_0x2c5b6c(0x48d)](_0x3dbc92,_0x5a0ff8))!=null?_0x5a4762:_0x5a0ff8;}[_0xfe7184(0x32a)](_0xfd9891){var _0x52305d=_0xfe7184,_0x1dac14,_0x40bcbf,_0x5a0f79;return(_0x5a0f79=(_0x40bcbf=(_0x1dac14=this[_0x52305d(0x357)])[_0x52305d(0x289)])==null?void 0x0:_0x40bcbf[_0x52305d(0x48d)](_0x1dac14,_0xfd9891))!=null?_0x5a0f79:_0xfd9891;}[_0xfe7184(0x46c)](_0x1fdcc3){var _0x526e3a=_0xfe7184,_0x17bb4f,_0x45f218;if(this[_0x526e3a(0x391)]===Q[_0x526e3a(0x1c3)]){const {unitID:_0x268ca6,mutations:_0x59de68,memberID:_0x2d5c93}=_0x1fdcc3,_0x3e63a7=_0x59de68[0x0][_0x526e3a(0x300)][_0x526e3a(0x3ae)];Array[_0x526e3a(0x466)](_0x3e63a7)&&_0x3e63a7[_0x526e3a(0x44b)]>0x0&&((_0x45f218=(_0x17bb4f=this[_0x526e3a(0x357)])[_0x526e3a(0x266)])==null||_0x45f218[_0x526e3a(0x48d)](_0x17bb4f,{'unitID':_0x268ca6,'memberID':_0x2d5c93,'textRanges':_0x3e63a7}));}}[_0xfe7184(0x446)](){var _0x2ef942=_0xfe7184,_0x239d63;(_0x239d63=this[_0x2ef942(0x386)])==null||_0x239d63['updateOfflineData'](this['unitID'],this[_0x2ef942(0x391)],this[_0x2ef942(0x307)],this['_pendingMutations']);}[_0xfe7184(0x36e)](){var _0x5ea89d=_0xfe7184;return this[_0x5ea89d(0x1cb)][_0x5ea89d(0x35a)](this[_0x5ea89d(0x255)]);}[_0xfe7184(0x338)](){var _0x45049f=_0xfe7184;this['_revisionService'][_0x45049f(0x3fc)](this[_0x45049f(0x255)]);}[_0xfe7184(0x220)](_0x5c8545){var _0x16665d=_0xfe7184,_0xd04879;let _0xdba4c2=this[_0x16665d(0x1e4)](_0x5c8545);_0xdba4c2=this[_0x16665d(0x32a)](_0xdba4c2);const _0x352530=_0x4ed7c3(_0xdba4c2[_0x16665d(0x46d)],this['_commandService'],{'fromCollab':!0x0});if(!_0x352530[_0x16665d(0x281)])throw _0x352530[_0x16665d(0x21f)]instanceof Error?_0x352530[_0x16665d(0x21f)]:new Error((_0xd04879=_0x352530[_0x16665d(0x21f)])!=null?_0xd04879:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0xdba4c2),this[_0x16665d(0x364)](_0xdba4c2),this[_0x16665d(0x33e)](_0x5c8545),this[_0x16665d(0x2b9)](_0xdba4c2),this[_0x16665d(0x46c)](_0xdba4c2),this[_0x16665d(0x338)]();}}let Ne=class extends Ce{constructor(_0x5afe4f,_0x1fc0ed,_0x321bc2,_0x319434,_0x4f6541,_0x5be000,_0x1eeeef,_0x2c51c3,_0x4c0694,_0x452e51){var _0x502392=_0xfe7184;super(_0x5afe4f,_0x1fc0ed,null,[],_0x321bc2,_0x1eeeef,_0x5be000,_0x319434,_0x452e51),N(this,_0x502392(0x2ac),_0x502392(0x3a1)),(this[_0x502392(0x3e4)]=_0x4f6541,this[_0x502392(0x1df)]=_0x2c51c3,this[_0x502392(0x2c7)]=_0x4c0694,this[_0x502392(0x28f)]=_0x452e51);}[_0xfe7184(0x3d1)](_0x59bcb9){var _0x553b79=_0xfe7184;const _0x5ad0eb=this[_0x553b79(0x3e4)][_0x553b79(0x1e8)](ae,this['unitID'],this['type'],[_0x59bcb9],this[_0x553b79(0x357)]);return _0x5ad0eb[_0x553b79(0x1ed)](),_0x5ad0eb['_updateLocalCache'](),_0x5ad0eb;}[_0xfe7184(0x23f)](_0x50e8fa){var _0x2ac49a=_0xfe7184;if(this['_checkMissing'](_0x50e8fa))return this[_0x2ac49a(0x3e4)][_0x2ac49a(0x1e8)](ee,this['unitID'],this[_0x2ac49a(0x391)],null,[],null,[_0x50e8fa],this['_handler']);try{const _0x2660a6=this['_transformService'][_0x2ac49a(0x44c)](_0x50e8fa,[ss]);if(_0x306b3c(_0x2660a6)){const {c1Prime:_0xe980a1}=_0x2660a6;return this[_0x2ac49a(0x220)](_0xe980a1),this;}throw _0x2660a6[_0x2ac49a(0x21f)];}catch(_0x33cb03){return this[_0x2ac49a(0x1df)][_0x2ac49a(0x21f)](_0x33cb03),this[_0x2ac49a(0x46a)](!0x1);}}[_0xfe7184(0x46a)](_0x1c6027){var _0x5a9fd4=_0xfe7184;return this[_0x5a9fd4(0x3e4)][_0x5a9fd4(0x1e8)](ue,this[_0x5a9fd4(0x255)],this[_0x5a9fd4(0x391)],null,[],this['_handler'],_0x1c6027);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0xfe7184(0x2e4)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xfe7184(0x38c)](){return this;}[_0xfe7184(0x36b)](){var _0x4d5214=_0xfe7184;return this[_0x4d5214(0x3e4)][_0x4d5214(0x1e8)](de,this[_0x4d5214(0x255)],this[_0x4d5214(0x391)],null,[],this[_0x4d5214(0x357)]);}[_0xfe7184(0x1ea)](){return this;}[_0xfe7184(0x31d)](){var _0x566c79=_0xfe7184;throw new Error(_0x566c79(0x24c));}[_0xfe7184(0x456)](){var _0x242567=_0xfe7184;const _0x2fc630=this[_0x242567(0x1cb)][_0x242567(0x35a)](this[_0x242567(0x255)]);return this[_0x242567(0x357)]['onMissingChangesets']({'from':_0x2fc630,'to':0x0}),this['_injector'][_0x242567(0x1e8)](ee,this[_0x242567(0x255)],this[_0x242567(0x391)],null,[],null,[],this[_0x242567(0x357)]);}};Ne=Te([P(0x3,_0x133e5e(_0x5bbf37)),P(0x4,_0x133e5e(_0x723ed9)),P(0x5,_0x548330),P(0x6,_0x1affd5),P(0x7,_0x19ce75),P(0x8,_0x1f266b),P(0x9,_0x5db4e2(J))],Ne);let ae=class extends Ce{constructor(_0x2db43e,_0x1a8d23,_0x43447b,_0x153900,_0x2b3b36,_0x4ea022,_0x55a529,_0x466211,_0x129746,_0x21b40a,_0x49c83d,_0x392f9e,_0x38ab89,_0xf2fceb){var _0x541ab3=_0xfe7184;super(_0x2db43e,_0x1a8d23,null,_0x43447b,_0x153900,_0x129746,_0x38ab89,_0x4ea022,_0xf2fceb),N(this,'status',_0x541ab3(0x377)),N(this,_0x541ab3(0x45d),null),N(this,_0x541ab3(0x45f),null),(this[_0x541ab3(0x3e4)]=_0x2b3b36,this[_0x541ab3(0x4ba)]=_0x55a529,this['_logService']=_0x466211,this[_0x541ab3(0x1fa)]=_0x21b40a,this['_transformService']=_0x49c83d,this['_univerInstanceService']=_0x392f9e);}['appendMutation'](_0x1de1e1){var _0x4c3407=_0xfe7184;return this[_0x4c3407(0x359)][_0x4c3407(0x3ca)](_0x1de1e1),this['_updateLocalCache'](),this;}[_0xfe7184(0x23f)](_0x57046b){var _0x1a9a55=_0xfe7184;if(this[_0x1a9a55(0x3a4)](_0x57046b))return this[_0x1a9a55(0x1da)](),this[_0x1a9a55(0x3e4)]['createInstance'](ee,this[_0x1a9a55(0x255)],this['type'],null,this[_0x1a9a55(0x359)],null,[_0x57046b],this['_handler']);try{const _0x5963c5=this[_0x1a9a55(0x2c7)][_0x1a9a55(0x44c)](_0x57046b,this['_pendingMutations']);if(_0x306b3c(_0x5963c5)){const {c1Prime:_0x75fb93,m2Prime:_0x4894e1}=_0x5963c5;this[_0x1a9a55(0x220)](_0x75fb93);const _0x57b40a=this[_0x1a9a55(0x3e4)][_0x1a9a55(0x1e8)](ae,this[_0x1a9a55(0x255)],this[_0x1a9a55(0x391)],_0x4894e1,this[_0x1a9a55(0x357)]);this[_0x1a9a55(0x1da)]();const _0x89eb9e=new Date()['getTime'](),_0x3c8e8f=this[_0x1a9a55(0x45d)]?Math[_0x1a9a55(0x38a)](this['_scheduleCompleteTimestamp']-_0x89eb9e,0x0):this[_0x1a9a55(0x31b)]();return _0x57b40a['_schedule'](_0x3c8e8f),_0x57b40a;}throw _0x5963c5['error'];}catch(_0x508c7d){return this[_0x1a9a55(0x1df)]['error'](_0x508c7d),this[_0x1a9a55(0x46a)](!0x1);}}[_0xfe7184(0x47b)](){var _0x19b0b5=_0xfe7184;throw new Error(_0x19b0b5(0x2f7));}[_0xfe7184(0x2e4)](){var _0xc7ad32=_0xfe7184;throw new Error(_0xc7ad32(0x4ca));}[_0xfe7184(0x38c)](){return this;}[_0xfe7184(0x36b)](){var _0x2f81bc=_0xfe7184;return this[_0x2f81bc(0x1da)](),this['_injector'][_0x2f81bc(0x1e8)](de,this['unitID'],this['type'],null,this[_0x2f81bc(0x359)],this[_0x2f81bc(0x357)]);}[_0xfe7184(0x1ea)](){return this;}[_0xfe7184(0x1ed)](_0x520460){var _0x5a5829=_0xfe7184;const _0x28a379=_0x520460!=null?_0x520460:this[_0x5a5829(0x31b)]();this[_0x5a5829(0x45d)]=new Date()[_0x5a5829(0x1bf)]()+_0x28a379,this[_0x5a5829(0x45f)]=setTimeout(()=>{var _0xc35f96=_0x5a5829;this[_0xc35f96(0x1da)]();let _0x30c10d=null;switch(this[_0xc35f96(0x391)]){case Q[_0xc35f96(0x4c5)]:{_0x30c10d=qt(this[_0xc35f96(0x359)],this['unitID'],this[_0xc35f96(0x439)],this[_0xc35f96(0x1cb)],this[_0xc35f96(0x4ba)]);break;}case Q['UNIVER_DOC']:{this[_0xc35f96(0x359)][_0xc35f96(0x407)](_0x59ee48=>_0x59ee48['id']===_0x27617a['id'])?_0x30c10d=ns(this[_0xc35f96(0x359)],this[_0xc35f96(0x255)],this['_univerInstanceService'],this[_0xc35f96(0x1cb)],this[_0xc35f96(0x4ba)]):_0x30c10d=qt(this[_0xc35f96(0x359)],this[_0xc35f96(0x255)],this[_0xc35f96(0x439)],this[_0xc35f96(0x1cb)],this['_memberService']);break;}default:throw new Error(_0xc35f96(0x2ba)+this[_0xc35f96(0x391)]+_0xc35f96(0x26e));}const {changeset:_0x2f01ab,pendingMutations:_0x30b6bb}=_0x30c10d;this['_handler']['onSendChangeset'](_0x2f01ab);const _0x2255c8=_0x30b6bb['length']?this[_0xc35f96(0x3e4)][_0xc35f96(0x1e8)](oe,this['unitID'],this[_0xc35f96(0x391)],_0x2f01ab,_0x30b6bb,this[_0xc35f96(0x357)],void 0x0):this['_injector'][_0xc35f96(0x1e8)](le,this[_0xc35f96(0x255)],this[_0xc35f96(0x391)],_0x2f01ab,this[_0xc35f96(0x357)]);_0x2255c8['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x2255c8);},_0x28a379);}[_0xfe7184(0x31b)](){var _0x5a9435=_0xfe7184,_0x1a59fd;const _0x2a01d2=this['_configService'][_0x5a9435(0x37f)](q);return(_0x1a59fd=_0x2a01d2==null?void 0x0:_0x2a01d2[_0x5a9435(0x334)])!=null?_0x1a59fd:En;}[_0xfe7184(0x31d)](){var _0x14933f=_0xfe7184;throw new Error(_0x14933f(0x21b));}[_0xfe7184(0x1da)](){var _0x26a233=_0xfe7184;this[_0x26a233(0x45f)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x26a233(0x45f)]=null);}[_0xfe7184(0x46a)](_0x1b0e5e){var _0x5d0993=_0xfe7184;return this[_0x5d0993(0x1da)](),this[_0x5d0993(0x3e4)][_0x5d0993(0x1e8)](ue,this[_0x5d0993(0x255)],this[_0x5d0993(0x391)],null,this[_0x5d0993(0x359)],this[_0x5d0993(0x357)],_0x1b0e5e);}};ae=Te([P(0x4,_0x133e5e(_0x723ed9)),P(0x5,_0x133e5e(_0x5bbf37)),P(0x6,_0x133e5e(Le)),P(0x7,_0x19ce75),P(0x8,_0x1affd5),P(0x9,_0x2f38cd),P(0xa,_0x1f266b),P(0xb,_0x169db5),P(0xc,_0x548330),P(0xd,_0x5db4e2(J))],ae);let le=class extends Ce{constructor(_0x5d4ff3,_0x354053,_0x371166,_0x5064d8,_0x42b810,_0xadc61b,_0x16552d,_0x31ea78,_0x5a73c0,_0x6b73f8,_0x239f17){var _0x175719=_0xfe7184;super(_0x5d4ff3,_0x354053,_0x371166,[],_0x5064d8,_0x16552d,_0x6b73f8,_0xadc61b,_0x239f17),N(this,_0x175719(0x2ac),_0x175719(0x3b3)),N(this,_0x175719(0x221),0x0),N(this,'_resendTimer'),N(this,_0x175719(0x3ee)),(this[_0x175719(0x3e4)]=_0x42b810,this['_logService']=_0x31ea78,this[_0x175719(0x2c7)]=_0x5a73c0);}[_0xfe7184(0x3d1)](_0x30132e){var _0x101fc7=_0xfe7184;this['_clearScheduledTask']();const _0x501ee8=this[_0x101fc7(0x3e4)]['createInstance'](oe,this[_0x101fc7(0x255)],this['type'],this[_0x101fc7(0x307)],[_0x30132e],this[_0x101fc7(0x357)],this[_0x101fc7(0x1f5)]);return _0x501ee8['_updateLocalCache'](),_0x501ee8;}[_0xfe7184(0x23f)](_0x4a7526){var _0x2f6884=_0xfe7184;if(this['_checkMissing'](_0x4a7526))return this[_0x2f6884(0x1da)](),this[_0x2f6884(0x3e4)][_0x2f6884(0x1e8)](ee,this['unitID'],this['type'],this[_0x2f6884(0x307)],[],null,[_0x4a7526],this['_handler']);try{const _0x1b5948=this[_0x2f6884(0x2c7)]['transformChangesets']([_0x4a7526],[this[_0x2f6884(0x307)]],!0x1);if(_0x336be0(_0x1b5948)){const {c1Prime:_0x47b1e7,c2Prime:_0x17f934}=_0x1b5948;this[_0x2f6884(0x220)](_0x47b1e7[0x0]),_0x17f934[0x0][_0x2f6884(0x2af)]=this['_getCurrentRevision'](),this[_0x2f6884(0x1da)]();const _0x5d7fa5=this[_0x2f6884(0x3e4)]['createInstance'](le,this[_0x2f6884(0x255)],this[_0x2f6884(0x391)],_0x17f934[0x0],this[_0x2f6884(0x357)]);return _0x5d7fa5[_0x2f6884(0x446)](),_0x5d7fa5;}return this[_0x2f6884(0x46a)](!0x1);}catch(_0x33efa0){return this['_logService'][_0x2f6884(0x21f)](_0x33efa0),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x524696){var _0x434c0d=_0xfe7184;this[_0x434c0d(0x1da)]();const _0x3c486c=this[_0x434c0d(0x1cb)]['getCurrentRevOfUnit'](this[_0x434c0d(0x255)]);if(_0x524696[_0x434c0d(0x417)]<_0x3c486c-0x1)return this;if(this['_checkMissing'](_0x524696))return this[_0x434c0d(0x3e4)]['createInstance'](ee,this[_0x434c0d(0x255)],this[_0x434c0d(0x391)],null,[],this[_0x434c0d(0x307)],[],this[_0x434c0d(0x357)]);this[_0x434c0d(0x338)]();const _0x2fb6a4=this[_0x434c0d(0x3e4)][_0x434c0d(0x1e8)](Ne,this[_0x434c0d(0x255)],this[_0x434c0d(0x391)],this[_0x434c0d(0x357)]);return _0x2fb6a4[_0x434c0d(0x446)](),_0x2fb6a4;}[_0xfe7184(0x2e4)](_0x312e84){var _0x5adbe7=_0xfe7184;return this[_0x5adbe7(0x46a)](!!(_0x312e84!=null&&_0x312e84[_0x5adbe7(0x414)]));}['onRemoteRetry'](_0x352976){var _0x1b86f3=_0xfe7184;return this[_0x1b86f3(0x221)]>Oi?this[_0x1b86f3(0x36b)]():(this['_resendTimer']=Ri(this[_0x1b86f3(0x221)],{'timeout':this['_resendTimeout'],'reqId':_0x352976[_0x1b86f3(0x3ff)]}),this[_0x1b86f3(0x3ee)]=this[_0x1b86f3(0x1f5)]['subscribe'](({reqId:_0xed0840,timeout:_0xc4eabc})=>{var _0x485b4d=_0x1b86f3;this[_0x485b4d(0x22f)](_0xed0840,_0xc4eabc);}),this);}[_0xfe7184(0x36b)](){var _0x3fbc94=_0xfe7184;return this[_0x3fbc94(0x1da)](),this['_injector']['createInstance'](de,this['unitID'],this[_0x3fbc94(0x391)],this[_0x3fbc94(0x307)],[],this[_0x3fbc94(0x357)]);}['toggleOnline'](){return this;}[_0xfe7184(0x31d)](){var _0x292116=_0xfe7184;this[_0x292116(0x357)]['onSendChangeset'](this[_0x292116(0x307)]);}[_0xfe7184(0x46a)](_0x541b9a){var _0xa4cbd0=_0xfe7184;return this[_0xa4cbd0(0x1da)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0xa4cbd0(0x391)],this[_0xa4cbd0(0x307)],[],this['_handler'],_0x541b9a);}[_0xfe7184(0x22f)](_0x30fd13,_0x20a96f){var _0x2118e8=_0xfe7184,_0x3ec023;_0x30fd13===((_0x3ec023=this[_0x2118e8(0x307)])==null?void 0x0:_0x3ec023[_0x2118e8(0x3ff)])&&(this[_0x2118e8(0x31d)](),this['_resendTimeout']=_0x20a96f===0x0?0x3e8:_0x20a96f*0x2);}[_0xfe7184(0x1da)](){var _0x54187f=_0xfe7184,_0x2ab777;(_0x2ab777=this['_sender'])==null||_0x2ab777[_0x54187f(0x225)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x133e5e(_0x723ed9)),P(0x5,_0x133e5e(_0x5bbf37)),P(0x6,_0x1affd5),P(0x7,_0x19ce75),P(0x8,_0x1f266b),P(0x9,_0x548330),P(0xa,_0x5db4e2(J))],le);let oe=class extends Ce{constructor(_0x21cf3b,_0x1b58fe,_0x4bdf8e,_0x29ee02,_0x279237,_0x1fb961,_0x2dc9cd,_0xd56b4b,_0x25e3af,_0x5e4517,_0x562267,_0x416b72,_0x379e59){var _0x5c016e=_0xfe7184;super(_0x21cf3b,_0x1b58fe,_0x4bdf8e,_0x29ee02,_0x279237,_0x25e3af,_0x416b72,_0xd56b4b,_0x379e59),N(this,_0x5c016e(0x2ac),_0x5c016e(0x408)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x5c016e(0x3ee)),(this['_injector']=_0x2dc9cd,this[_0x5c016e(0x1df)]=_0x5e4517,this['_transformService']=_0x562267,this['localCacheService']=_0x379e59,_0x1fb961&&(this['_resendTimer']=_0x1fb961,this['_sender']=this[_0x5c016e(0x1f5)][_0x5c016e(0x26d)](({reqId:_0x1117a4,timeout:_0x3e5e61})=>{var _0x4d4cb6=_0x5c016e;this[_0x4d4cb6(0x22f)](_0x1117a4,_0x3e5e61);})));}[_0xfe7184(0x3d1)](_0x3944f2){var _0x12730f=_0xfe7184;return this[_0x12730f(0x359)][_0x12730f(0x3ca)](_0x3944f2),this;}[_0xfe7184(0x23f)](_0x38b0a3){var _0x4e26f4=_0xfe7184;if(this[_0x4e26f4(0x3a4)](_0x38b0a3))return this[_0x4e26f4(0x1da)](),this[_0x4e26f4(0x3e4)][_0x4e26f4(0x1e8)](ee,this[_0x4e26f4(0x255)],this[_0x4e26f4(0x391)],this[_0x4e26f4(0x307)],this[_0x4e26f4(0x359)],null,[_0x38b0a3],this[_0x4e26f4(0x357)]);try{const _0x135cb4=this[_0x4e26f4(0x2c7)][_0x4e26f4(0x4a5)]([_0x38b0a3],[this['_awaitingChangeset']],!0x1);if(_0x336be0(_0x135cb4)){const {c1Prime:_0x36fd66,c2Prime:_0x21a3bb}=_0x135cb4,_0x2b9b4f=this[_0x4e26f4(0x2c7)][_0x4e26f4(0x44c)](_0x36fd66[0x0],this[_0x4e26f4(0x359)]);if(_0x306b3c(_0x2b9b4f)){const {c1Prime:_0x1b4367,m2Prime:_0x5e44c4}=_0x2b9b4f;return this[_0x4e26f4(0x220)](_0x1b4367),_0x21a3bb[0x0][_0x4e26f4(0x2af)]=this[_0x4e26f4(0x36e)](),this[_0x4e26f4(0x1da)](),this[_0x4e26f4(0x3e4)][_0x4e26f4(0x1e8)](oe,this[_0x4e26f4(0x255)],this[_0x4e26f4(0x391)],_0x21a3bb[0x0],_0x5e44c4,this[_0x4e26f4(0x357)],void 0x0);}throw _0x2b9b4f[_0x4e26f4(0x21f)];}throw _0x135cb4[_0x4e26f4(0x21f)];}catch(_0x2c35ac){return this[_0x4e26f4(0x1df)][_0x4e26f4(0x21f)](_0x2c35ac),this['_onConflict'](!0x1);}}[_0xfe7184(0x47b)](_0x139a5e){var _0x5d5e82=_0xfe7184;if(this[_0x5d5e82(0x1da)](),this[_0x5d5e82(0x3a4)](_0x139a5e))return this[_0x5d5e82(0x3e4)][_0x5d5e82(0x1e8)](ee,this[_0x5d5e82(0x255)],this[_0x5d5e82(0x391)],null,this[_0x5d5e82(0x359)],this[_0x5d5e82(0x307)],[],this[_0x5d5e82(0x357)]);this['_incrementRevisionNumber']();const _0x38a1e8=this['_injector'][_0x5d5e82(0x1e8)](ae,this[_0x5d5e82(0x255)],this[_0x5d5e82(0x391)],this[_0x5d5e82(0x359)],this[_0x5d5e82(0x357)]);return _0x38a1e8[_0x5d5e82(0x1ed)](),_0x38a1e8[_0x5d5e82(0x446)](),_0x38a1e8;}[_0xfe7184(0x2e4)](_0xd1e169){var _0x358602=_0xfe7184;return this['_onConflict'](!!(_0xd1e169!=null&&_0xd1e169[_0x358602(0x414)]));}[_0xfe7184(0x38c)](_0x3284ec){var _0x48a523=_0xfe7184;return this[_0x48a523(0x221)]>Oi?this[_0x48a523(0x36b)]():(this['_resendTimer']=Ri(this[_0x48a523(0x221)],{'timeout':this['_resendTimeout'],'reqId':_0x3284ec[_0x48a523(0x3ff)]}),this['_sender']=this[_0x48a523(0x1f5)][_0x48a523(0x26d)](({reqId:_0x42434f,timeout:_0x4e0b1d})=>{var _0x38845a=_0x48a523;this[_0x38845a(0x22f)](_0x42434f,_0x4e0b1d);}),this);}[_0xfe7184(0x36b)](){var _0x3a4ad6=_0xfe7184;return this[_0x3a4ad6(0x1da)](),this[_0x3a4ad6(0x3e4)][_0x3a4ad6(0x1e8)](de,this[_0x3a4ad6(0x255)],this[_0x3a4ad6(0x391)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0xfe7184(0x1ea)](){return this;}['resend'](){var _0x2a3c45=_0xfe7184;this[_0x2a3c45(0x357)][_0x2a3c45(0x478)](this[_0x2a3c45(0x307)]);}[_0xfe7184(0x46a)](_0x5da15d){var _0xcdb90f=_0xfe7184;return this[_0xcdb90f(0x1da)](),this[_0xcdb90f(0x3e4)]['createInstance'](ue,this[_0xcdb90f(0x255)],this[_0xcdb90f(0x391)],null,this['_pendingMutations'],this[_0xcdb90f(0x357)],_0x5da15d);}[_0xfe7184(0x22f)](_0x2b31be,_0x2e67c5){var _0x2baae0=_0xfe7184,_0xc52b6;_0x2b31be===((_0xc52b6=this[_0x2baae0(0x307)])==null?void 0x0:_0xc52b6['reqId'])&&(this[_0x2baae0(0x31d)](),this[_0x2baae0(0x221)]=_0x2e67c5===0x0?0x3e8:_0x2e67c5*0x2);}['_clearScheduledTask'](){var _0xd0b847=_0xfe7184,_0x2a6ca2;(_0x2a6ca2=this[_0xd0b847(0x3ee)])==null||_0x2a6ca2[_0xd0b847(0x225)](),this[_0xd0b847(0x221)]=0x0;}};oe=Te([P(0x6,_0x133e5e(_0x723ed9)),P(0x7,_0x133e5e(_0x5bbf37)),P(0x8,_0x1affd5),P(0x9,_0x19ce75),P(0xa,_0x1f266b),P(0xb,_0x548330),P(0xc,_0x5db4e2(J))],oe);let ue=class extends Ce{constructor(_0x12e5d5,_0xc1863d,_0x139fc2,_0x27ada0,_0x379181,_0x49de19=!0x1,_0x33c079,_0x1dcbbb,_0xffbf7c,_0xe2f701,_0x278034,_0x34476d,_0x4bb86){var _0x29b831=_0xfe7184;super(_0x12e5d5,_0xc1863d,_0x139fc2,_0x27ada0,_0x379181,_0x1dcbbb,_0xffbf7c,_0xe2f701,_0x4bb86),N(this,_0x29b831(0x2ac),'conflict'),(this[_0x29b831(0x326)]=_0x49de19,this[_0x29b831(0x358)]=_0x33c079,this[_0x29b831(0x3ce)]=_0x278034,this[_0x29b831(0x384)]=_0x34476d,this[_0x29b831(0x28f)]=_0x4bb86,this[_0x29b831(0x2a0)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0xfe7184(0x23f)](){return this;}[_0xfe7184(0x47b)](){return this;}[_0xfe7184(0x2e4)](){return this;}[_0xfe7184(0x38c)](){return this;}['toggleOffline'](){return this;}[_0xfe7184(0x1ea)](){return this;}[_0xfe7184(0x31d)](){var _0x394320=_0xfe7184;throw new Error(_0x394320(0x2a6));}[_0xfe7184(0x2e6)](){var _0x11258a=_0xfe7184,_0x4c5c5d;(_0x4c5c5d=this['_localCacheService'])==null||_0x4c5c5d[_0x11258a(0x3cd)](this[_0x11258a(0x255)],this['type'],null,[]);}[_0xfe7184(0x2a0)](){var _0x59c436=_0xfe7184;this[_0x59c436(0x326)]?this[_0x59c436(0x384)][_0x59c436(0x32b)]({'id':re[_0x59c436(0x207)]}):this[_0x59c436(0x384)][_0x59c436(0x32b)]({'id':re['CONFLICT']});}[_0xfe7184(0x293)](){var _0x131136=_0xfe7184;this[_0x131136(0x358)][_0x131136(0x34c)](new _0x2e7126(this[_0x131136(0x255)])['id'],!0x1);}};function _0x514d(){var _0x10d53c=['__Key__','UNISCRIPT_RUN','Could\x20not\x20dynamically\x20require\x20\x22','objectActions','updatePermissionPoint','hasOwnProperty','/universer-api/stream/file/upload','image/jpeg','event$','state','LOGIN_FAILED','[OfflineState]:\x20received\x20rejection.','People','/allowed','liveShareOperation','_handler','_permissionService','_pendingMutations','getCurrentRevOfUnit','withCredentials','INVALID_INVITE_CODE','OTHER_CLIENTS_EDITING','crypto','rng','sigBytes','executeCommand','Utf8','values','_transformStateCache','3626952axaxCH','_transitionLocked','then','AWAITING_WITH_PENDING','list','[CollaborationSessionService]:\x20socket\x20error','toggleOffline','APPLY_PERMISSION_DENIED','HmacSHA1','_getCurrentRevision','/block/','equals','ivSize','_keyPriorReset','_updateStatus','dispose','saveChangeset','[CollaborationUndoRedoService]','pending','PSEUDO_FETCH_MISSING_RESULT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enc','decryptBlock','_collaborationPaused','setShowComponents','_throwTelemetryCollaborationNewChangeset','getConfig','sheets','EvpKDF','CipherParams','headers','_collaborationUIEventService','connection\x20error','_localCacheService','unpad','_imageSourceCache','getRoom','max','_registerDependencies','onRemoteRetry','prototype','delete','onload','LIVESHARE_REQUEST_HOST','type','JOIN_ROOM_PERMISSION_DENIED','collaMsg','/collaborator','_tryReconnect','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','substr','createCollaborator','size','OpenSSL','_getUploadFileURL','/universer-api/authz','msCrypto','LEAVE','_init','awaitingChangeset','synced','send','ERROR_EXCEED_SIZE','_checkMissing','resolve','sid','fromCharCode','asObservable','add','_key','reset','now','667402YrJEwV','textRanges','[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.','actions','floor','_scheduleCollaborationTimeoutTimer','awaiting','subject','_invKeySchedule','set','permissionRejEvent','NOT_COLLAB','_getUndoStack','AWAITING','symbol','_createHelper','byteLength','_decreaseWaiting','CHANGESET_REJ','BlockCipherMode','_getCtorByUniverType','2777328ymfymH','next','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','infoRsp','registerHTTPInterceptor','_initCloseConn','YUUMI_ASYNCIO_CANCELLED','Univer','push','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','splice','updateOfflineData','_localeService','_socketReady','selections','appendMutation','_httpService','UPDATE_PERMISSION_OBJ','UnitEmbedded','getWorkbookSelections','_doReset','PasswordBasedCipher','parse','_hasher','csShouldRetryEvent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','update','/universer-api/comb','getCurrentUser','memberID','_sheetTransformSelectionsService','_substituteUndoStack','getSheetBlock','_doFinalize','_injector','APPLY_DUPLICATED','reject','univer-pro.collaboration-client-socket-service','TOO_MANY_REQUESTS','YUUMI_NO_CUBOID_FOR_QUESTION','OFFLINE','\x0aCurrent:\x20','UNIVER_COLLABORATION_CLIENT_PLUGIN','getFocusedUnit','_sender','OTHER_CLIENT_EDITING','encode','_doProcessBlock','_exhaustRemoteChangesetQueue','_commentService','_getAPIPrefix','YUUMI_RATE_OVER_LIMIT','x-univer-host','saveSheetBlock','getMember','buffer','clear','_onRemoteACK','incrementRevOfUnit','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_xformMode','reqId','pipe','COLLAB_SUBMIT_CHANGESET_URL','_collabSessionService','join','get','BlockCipher','loadOfflineData','every','awaiting_with_pending','MD5','_initUnitPermissionChange','/universer-api/file/{fileID}/sign-url','onTransformIME','LIVESHARE_NEW_HOST','loadDoc','$super','_tryEnsureSocket','APPLY_NON_SEQUENTIAL_REVISION','_clearRedo','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','isPermissionRej','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','reconnect','revision','UNIVER_SLIDE','putCollaborators','_initDependencies','map','stopTime','_singleActiveUnitService','_doCreateSocket','hasher','_undoStacks','_unlockTransition','allowed','byteOffset','image/png','_queuedRemoteChangesets','SOCKET_FAILED_RETRY','_DEC_XFORM_MODE','pad','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','objectID','_sessions','_parse','LIVESHARE_OPERATION','_clearUndo','_snapshotService','_lockTransition','UNDEFINED','USERS_ENTER','/object','CONFLICT','loadSheet','_HTTPService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_collaborationSessionService','_univerInstanceService','post','NO_OTHER_CLIENTS_EDITING','UNIVER_PROJECT','_onRemoteChangeset','getCurrentSelections','_socket$','getDeserializedSheetBlock','_sendHeartbeat','enableAuthServer','encodeURIComponent','setWaitCount','_state','_updateLocalCache','_doCryptBlock','/-/object/-/batch_allowed','_onCombEvent','_changesetSessionId','length','transformMutationsWithChangeset','YUUMI_SUBSCRIPTION_NOT_FOUND','EXCHANGE_SIGN_URL_SERVER_URL_KEY','/unit/','LOGIN_URL_KEY','Pkcs7','getLatestCsReqIdBySid','_onRecvEvent','_reverseMap','catch','fetchMiss','append','SHOULD_CLOSE_CONN','editing\x20status\x20changed\x20to','_clearRetryConnectingTimer','status$','Encryptor','_scheduleCompleteTimestamp','StreamCipher','_sendingTimer','_retryConnectingTimer','onMissedChangesetFetched','session','UNKNOWN_CMD','joinRsp','_change$','isArray','SUCCUSS','image/gif','indexOf','_onConflict','_collaborationTimeoutTimer','_syncEditingCollabCursor','mutations','offline','CHANGESET_REVISION_CONFILICT','startTime','compute','COLLAB_WEB_SOCKET_URL','capture','_createHandler','getResourcesRequest','_getLoginPath','_nDataBytes','onSendChangeset','unknown','m2Prime','onRemoteAck','JOINING','close','defineProperty','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SOCKET_FAILED','saveImage','Hasher','listRoles','changesets','onTransformSelections','apply','_socket','_iv','UPDATE_CURSOR','/universer-api/snapshot/','open$','_undoRedoService','call','replace','data','routeKey','MUTATION','liveShareNewHost','_data','_getDownloadEndpointURL','getInterceptPoints','USER_NOT_INVITED_CODE','confirm','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','string','extend','INTERNAL_ERROR','__creator','_getRedoStack','_map','_timeoutTimer','HEARTBEAT_TIMEOUT','roomInfos','getOwnPropertyDescriptor','_members','_unitID','transformChangesets','slice','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','WECHAT_HAS_BEEN_BOUND','_candidateSocket','_mode','_startCollaboration','\x20-\x20','collaboration-client.local-cache-service','change$','_getAPIPrefixPath','closeSession','YUUMI_UNABLE_LOAD_URL','keySize','_roomCreated$','ERROR_IMAGE_TYPE','INVITE_CODE_HAS_BEEN_UES','_waitCount','UserProfileImg','/universer-api/user/session-ticket','createDecryptor','_memberService','/fetchmissing?from=','clone','/universer-api/uniscript','padding','INVITE_CODE_ALREADY_BOUND','commentUpdateEvent','[DataLoaderService]','random','copyFileMeta','getCollabEntity','UNIVER_SHEET','objects','_updateState','cfg','complete','[PendingState]:\x20received\x20rejection.','_status$','_roomMembers','_startTelemetryCollaborationNewChangeset','eventID','action','createEncryptor','LOCAL_CACHE_INTERVAL','getUnitOnRev','getTime','shouldCloseConn','RETRY_CONNECTING_MAX_COUNT','_onOffline','UNIVER_DOC','Cipher','_unitInfo$','WordArray','sin','SerializableCipher','forEach','_prevBlock','_revisionService','SUBMIT_CHANGESET','JOIN_ROOM_FULL','_fetchMissChangesets','_createInitialState','LIVESHARE_FETCH_OPERATIONS','HELLO','listCollaborators','LIVESHARE_TERMINATE','SNAPSHOT_URL_KEY','exports','POST','_initRequestHeader','_changesetReqId','_redoStacks','_clearScheduledTask','reduce','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','15BXKzHx','responseType','_logService','image/jpg','_config','deleteCollaborator','{fileID}','_transformRemoteChangesetByIMECache','MSG_FOR_ERROR','toString','src','createInstance','repeat','toggleOnline','image/bmp','BASE64','_schedule','2494005VjdnMU','joinEvent','USERS_LEAVE','&source=','csAckEvent','words','readInt32LE','_resendTimer','message$','init','_process','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_configService','_minBufferSize','_members$','error$','SNAPSHOT_HAS_BEEN_REMOVED','HEARTBEAT','collaboration_new_changeset','method','processBlock','_cipher','collabSubmitChangesetUrl','APPLY_REVISION_CONFILICT','NEW_CHANGESETS','PERMISSION_DENIED','_sessionStatus$','_removeRoom','JOIN','_toggleOnline','_telemetryInfo','_entityInit$','JOIN_ROOM_NOT_EXISTS','\x0aAfter:\x20','getUnitType','FAIL','encrypt','IDLE','unitId','decrypt','updateMember','ceil','uploadFileServerUrl','fetchThroughInterceptors','_clearTimeoutTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','execute','has','_sendHeartbeatTimer','error','_executeRemoteChangeset','_resendTimeout','_loadDoc','newCsEvent','_onUserLeave','unsubscribe','getMemberID','default','UNKNOWN_CODE','Undefined','_type','PERSON','updatePermissionObjEvent','_state$','_networkConditionService','_resendWithTimeout','7235865ixXddz','FETCH_MISSING','socketService','mode','getImage','bind','onlyLocal','getCollabEntity$','mixIn','CLOSE_ROOM','charCodeAt','ERROR_IMAGE','Malformed\x20UTF-8\x20data','roles','onCommandExecuted','onRemoteChangeset','debug','_applyRemoteChangeset','HttpImport','[CollaborationEntity]','CHANGESET_ACK','/universer-api/oidc/authpage','FETCH_MISS','getImageSourceCache','_snapshotServerService','_ENC_XFORM_MODE','sessionStatus$','LICENSE_EXPORT_SIZE_EXCEEDED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','algo','_rescheduleHeartbeat','randomUUID','iterations','setCurrentUser','LICENSE_DISTRO_REJECTED','_hash','_compressMutationService','unitID','/-/object/list','clamp','_append','MOBILE_HAS_BEEN_BOUND','online$','session.room-cnt-exceeds','CHANGESET_SHOULD_RETRY','transformUndoRedo','salt','[OfflineState]:\x20received\x20changeset.','CONNECTOR_DATA_TOO_LARGE','_replayCachedMutations','RECV','collaborators','_listenToNetworkCondition','COMPRESS_MUTATION_APPLY','onSyncEditingCollabCursor','saveSnapshot','onTransformRemoteChangesetByIMECache','_handlerCallback','FileId','HMAC','origin','subscribe','\x20in\x20_schedule.','_createInitialStateImpl','fetchMissingChangesets','_nRounds','pauseCollaboration','CBC','_commentUpdate$','collaboration-client.config','_onRemoteRejected','objectType','interceptor','SNAPSHOT_INVALID_SNAPSHOT','getSnapshotAPIPath','_keySchedule','dispose$','UNAUTHENTICATED','/rev/','getTypeOfUnitDisposed$','transformSelections','result','_socketService','HmacMD5','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','SUBMIT_CHANGESET_TIMEOUT','univer-pro.collaboration-client.single-active-unit-service','_getSignURL','originalMeta','onTransformRemoteChangesetByStateCache','_commandService','format','_onConnectionOpen','INVALID_ARGUMENT','_retryCount','localCacheService','uniscriptRunEvent','stringify','session.room-not-exists','_disableEditing','Hex','EMAIL_HAS_BEEN_BOUND','COMPLETION_FINISHED','_shouldReportTelemetry','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','title','href','_transformIMECache','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','concat','range','INVITE_CODE_REQUIRED','_showConflictNotification','focused$','LICENSE_MAX_UNITS_EXCEEDED','name','leaveEvent','key','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','Base','cmd','unitInfo$','BufferedBlockAlgorithm','COMMENT_UPDATE','status','_acknowledgedAwaitingChangeset','removeMember','baseRev','c1Prime','refreshPermission','/object/','retryConnectingInterval','unit-cache-','/new_changes','collabWebSocketUrl','members','getValue','_transformSelections','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_joinRoom','__esModule','1hifLRE','_onRemoteRetry','onLocalMutation','enableOfflineEditing','_telemetryService','_substituteRedoStack','APPLY_REJECT','workbook','ENSURE_SNAPSHOT_EXECUTION','userID','_transformService','location','save\x20fail\x20reason\x20is\x20','_onConnectionFailed','snapshotServerUrl','localeService','kdf','UNRECOGNIZED','code','fetch_missing','override','/role','disposeWithMe','_instanceService','auth.needGotoLoginAlert','finalize','blockSize','PY_RUNTIME_SCRIPT_ERROR','create','_transformStack','AUTHZ_URL_KEY','[CollaborationSession]','DEFAULT_FILE_NAME','function','[CollaborationSessionService]','sessionStatus','downloadEndpointUrl','addHandlerCallback','ciphertext','onRemoteRej','SYNCED','_clearLocalCache','charAt','AES','HEARTBEAT_INTERVAL','loadUnit','generateRandomId','requireSession','body','_toggleOffline','onCommentUpdate','conflict','_onMessage','PENDING','_remoteChangesetQueue','createSocket','socket$','pluginName','[PendingState]:\x20received\x20acknowledgement.','ALREADY_EXISTS','LICENSE_IMPORT_SIZE_EXCEEDED','randomBytes','_onUserJoin','loginUrlKey','_submitChangeset','_socketMessageSubscription','socket\x20close','params','lib','_createSocket','telemetry\x20info\x20is\x20not\x20initialized','SHA1','NoPadding','session.join-failed','_awaitingChangeset','duration','not_collab','includes','put','onTransformState','_clearHeartbeatTimer','_oKey','_event$','&to=','384630EGzVjQ','Base64','requestParams','_createHmacHelper','readyForCollab','_userManagerService','session.room-permission-denied','updateCollaborator','waitForRoom$','getTypeOfUnitAdded$','_getSendChangesetTimeout','/universer-api/snapshot','resend','_stopTelemetryCollaborationNewChangeset','getAllMembers','YUUMI_URL_COL_OUT_OF_RANGE','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_SEND','addImageSourceCache','UNIVER_UNKNOWN','_initMergeInterceptor','_isPermissionRej','csRejEvent','_loadSheet','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_transformRemoteChangesetByStateCache','emitEvent','_eventService','_waitForHeartbeatResponse','UnitSnapshot','getRandomValues','105484hjCXjd','reverse','INGEST','hostname','sendChangesetTimeout','state$','ONLINE','encryptBlock','_incrementRevisionNumber','_onLocalMutation','compose','Decryptor','_onFetchMissResult','deepClone','_transformUndoredo','_entities','getUnitId','_emitMembers','resourceIDs','close$','getUnitStatus$','onStarting','rev','url'];_0x514d=function(){return _0x10d53c;};return _0x514d();}ue=Te([P(0x6,_0x133e5e(_0x446775)),P(0x7,_0x1affd5),P(0x8,_0x548330),P(0x9,_0x133e5e(_0x5bbf37)),P(0xa,_0x133e5e(_0x20ed6b)),P(0xb,_0x133e5e(pe)),P(0xc,_0x5db4e2(J))],ue);let de=class extends Ce{constructor(_0x2bdc13,_0x480a2e,_0x23be50,_0xaea5c0,_0x1fa2a4,_0x57ab27,_0x3080e5,_0xf4cc13,_0xa94b9b,_0x5c4d1d){var _0x5b1b84=_0xfe7184;super(_0x2bdc13,_0x480a2e,_0x23be50,_0xaea5c0,_0x1fa2a4,_0xf4cc13,_0xa94b9b,_0x3080e5,_0x5c4d1d),N(this,_0x5b1b84(0x2ac),_0x5b1b84(0x46e)),this[_0x5b1b84(0x3e4)]=_0x57ab27;}[_0xfe7184(0x3d1)](_0x3bcdbd){var _0x4edc36=_0xfe7184;return this[_0x4edc36(0x359)][_0x4edc36(0x3ca)](_0x3bcdbd),this[_0x4edc36(0x446)](),this;}[_0xfe7184(0x23f)](_0x423bc8){var _0x302a0c=_0xfe7184;throw new Error(_0x302a0c(0x25f));}[_0xfe7184(0x47b)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xfe7184(0x2e4)](){var _0x180100=_0xfe7184;throw new Error(_0x180100(0x353));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0xfe7184(0x1ea)](){var _0x1c7352=_0xfe7184;const {_injector:_0x5f05de,_pendingMutations:_0x173636,_awaitingChangeset:_0x2b1d8f,unitID:_0x49a530,_handler:_0x46a057,type:_0x20b523}=this,_0x2e9d65=yi(_0x5f05de,_0x49a530,_0x20b523,_0x2b1d8f,_0x173636,_0x46a057);return _0x2e9d65 instanceof ae?_0x2e9d65[_0x1c7352(0x1ed)]():(_0x2e9d65 instanceof oe||_0x2e9d65 instanceof le)&&_0x2e9d65[_0x1c7352(0x31d)](),_0x2e9d65;}['resend'](){var _0x5b3605=_0xfe7184;throw new Error(_0x5b3605(0x321));}};de=Te([P(0x5,_0x133e5e(_0x723ed9)),P(0x6,_0x133e5e(_0x5bbf37)),P(0x7,_0x1affd5),P(0x8,_0x548330),P(0x9,_0x5db4e2(J))],de);let ee=class extends Ce{constructor(_0xd571b0,_0x417b5d,_0x5baa01,_0x5f1ac0,_0x4db1f7,_0x57a67c,_0x5dfc86,_0x5503ef,_0x5507eb,_0x22c02d,_0x727525,_0x5c2c7c,_0x3890ce,_0x4edf49){var _0x42a3ee=_0xfe7184;super(_0xd571b0,_0x417b5d,_0x5baa01,_0x5f1ac0,_0x5dfc86,_0x727525,_0x5c2c7c,_0x5507eb,_0x4edf49),N(this,_0x42a3ee(0x2ac),_0x42a3ee(0x2d0)),(this['_acknowledgedAwaitingChangeset']=_0x4db1f7,this[_0x42a3ee(0x425)]=_0x57a67c,this['_injector']=_0x5503ef,this[_0x42a3ee(0x1df)]=_0x22c02d,this[_0x42a3ee(0x2c7)]=_0x3890ce,this[_0x42a3ee(0x28f)]=_0x4edf49);}[_0xfe7184(0x461)](_0x4cc018){var _0x2dd82f=_0xfe7184;try{const _0xeab82b=[..._0x4cc018,...this['_queuedRemoteChangesets']],_0x117643=[this['_awaitingChangeset']||this[_0x2dd82f(0x2ad)]]['filter'](_0x17bd89=>!!_0x17bd89);let _0x257a93,_0x161c0d;if(_0x117643[_0x2dd82f(0x44b)]){const _0x5c2b95=this[_0x2dd82f(0x2c7)][_0x2dd82f(0x4a5)](_0xeab82b,_0x117643,!0x1);if(!_0x336be0(_0x5c2b95))throw _0x5c2b95[_0x2dd82f(0x21f)];_0x257a93=_0x5c2b95[_0x2dd82f(0x2b0)],_0x161c0d=_0x5c2b95['c2Prime'];}else _0x257a93=_0xeab82b,_0x161c0d=[];let _0x9c8e0b=this[_0x2dd82f(0x359)];_0x257a93['forEach'](_0xcbf60e=>{var _0x34cdc1=_0x2dd82f;let _0x4f89d5;if(_0x9c8e0b[_0x34cdc1(0x44b)]){const _0x84f310=this[_0x34cdc1(0x2c7)][_0x34cdc1(0x44c)](_0xcbf60e,_0x9c8e0b);if(!_0x306b3c(_0x84f310))throw _0x84f310[_0x34cdc1(0x21f)];_0x4f89d5=_0x84f310[_0x34cdc1(0x2b0)],_0x9c8e0b=_0x84f310[_0x34cdc1(0x47a)];}else _0x4f89d5=_0xcbf60e;this[_0x34cdc1(0x220)](_0x4f89d5);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2dd82f(0x338)](),this['_awaitingChangeset']&&_0x161c0d[_0x2dd82f(0x44b)]&&(_0x161c0d[0x0][_0x2dd82f(0x2af)]=this['_getCurrentRevision']());let _0x2ab4c6;if(this[_0x2dd82f(0x307)]&&_0x9c8e0b[_0x2dd82f(0x44b)]!==0x0)_0x2ab4c6=this[_0x2dd82f(0x3e4)]['createInstance'](oe,this[_0x2dd82f(0x255)],this['type'],_0x161c0d[0x0],_0x9c8e0b,this[_0x2dd82f(0x357)],void 0x0);else{if(this[_0x2dd82f(0x307)]&&_0x9c8e0b['length']===0x0)_0x161c0d[0x0][_0x2dd82f(0x2af)]=this[_0x2dd82f(0x36e)](),_0x2ab4c6=this[_0x2dd82f(0x3e4)]['createInstance'](le,this[_0x2dd82f(0x255)],this[_0x2dd82f(0x391)],_0x161c0d[0x0],this[_0x2dd82f(0x357)]);else{if(_0x9c8e0b[_0x2dd82f(0x44b)]!==0x0){const _0x22ac9a=this['_injector'][_0x2dd82f(0x1e8)](ae,this[_0x2dd82f(0x255)],this['type'],_0x9c8e0b,this['_handler']);_0x22ac9a[_0x2dd82f(0x1ed)](),_0x2ab4c6=_0x22ac9a;}else _0x2ab4c6=this['_injector'][_0x2dd82f(0x1e8)](Ne,this['unitID'],this[_0x2dd82f(0x391)],this['_handler']);}}return _0x2ab4c6['_updateLocalCache'](),_0x2ab4c6;}catch(_0x173600){return this[_0x2dd82f(0x1df)][_0x2dd82f(0x21f)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x173600),this[_0x2dd82f(0x3e4)][_0x2dd82f(0x1e8)](ue,this['unitID'],this[_0x2dd82f(0x391)],this['_awaitingChangeset'],this[_0x2dd82f(0x359)],this[_0x2dd82f(0x357)],!0x1);}}['resend'](){var _0x31d9c0=_0xfe7184;throw new Error(_0x31d9c0(0x415));}[_0xfe7184(0x3d1)](_0x45e3a0){var _0x292aee=_0xfe7184;return this[_0x292aee(0x359)][_0x292aee(0x3ca)](_0x45e3a0),this;}['onRemoteChangeset'](_0x290850){var _0x2aaf00=_0xfe7184;return this[_0x2aaf00(0x425)][_0x2aaf00(0x3ca)](_0x290850),this;}[_0xfe7184(0x47b)](_0x5137b8){var _0x29f1fa=_0xfe7184;if(this[_0x29f1fa(0x307)])return this[_0x29f1fa(0x2ad)]=this[_0x29f1fa(0x307)],this[_0x29f1fa(0x307)]=null,this;throw new Error(_0x29f1fa(0x47f));}[_0xfe7184(0x2e4)](_0x392cd4){var _0x4ee0f8=_0xfe7184;return this['_onConflict'](!!(_0x392cd4!=null&&_0x392cd4[_0x4ee0f8(0x414)]));}[_0xfe7184(0x38c)](){return this;}[_0xfe7184(0x36b)](){var _0x300eb6=_0xfe7184;return this[_0x300eb6(0x3e4)][_0x300eb6(0x1e8)](de,this[_0x300eb6(0x255)],this[_0x300eb6(0x391)],this[_0x300eb6(0x307)],this[_0x300eb6(0x359)],this[_0x300eb6(0x357)]);}[_0xfe7184(0x1ea)](){return this;}['_onConflict'](_0x2084ce){var _0x40546f=_0xfe7184;return this['_injector'][_0x40546f(0x1e8)](ue,this[_0x40546f(0x255)],this[_0x40546f(0x391)],this[_0x40546f(0x307)],this['_pendingMutations'],this[_0x40546f(0x357)],_0x2084ce);}};ee=Te([P(0x7,_0x133e5e(_0x723ed9)),P(0x8,_0x133e5e(_0x5bbf37)),P(0x9,_0x19ce75),P(0xa,_0x1affd5),P(0xb,_0x548330),P(0xc,_0x1f266b),P(0xd,_0x5db4e2(J))],ee);function yi(_0x37a40f,_0x3066b9,_0x1ef5be,_0x392f4b,_0x1dfca7,_0x1af34d){var _0x539aa2=_0xfe7184;return _0x392f4b&&_0x1dfca7[_0x539aa2(0x44b)]?_0x37a40f['createInstance'](oe,_0x3066b9,_0x1ef5be,_0x392f4b,_0x1dfca7,_0x1af34d,void 0x0):_0x392f4b?_0x37a40f['createInstance'](le,_0x3066b9,_0x1ef5be,_0x392f4b,_0x1af34d):_0x1dfca7[_0x539aa2(0x44b)]?_0x37a40f['createInstance'](ae,_0x3066b9,_0x1ef5be,_0x1dfca7,_0x1af34d):_0x37a40f[_0x539aa2(0x1e8)](Ne,_0x3066b9,_0x1ef5be,_0x1af34d);}var as=Object[_0xfe7184(0x4a2)],Lt=(_0x110417,_0x1ad55b,_0x58bdae,_0x333182)=>{for(var _0x1b674c=_0x333182>0x1?void 0x0:_0x333182?as(_0x1ad55b,_0x58bdae):_0x1ad55b,_0x2f779e=_0x110417['length']-0x1,_0x225bfe;_0x2f779e>=0x0;_0x2f779e--)(_0x225bfe=_0x110417[_0x2f779e])&&(_0x1b674c=_0x225bfe(_0x1b674c)||_0x1b674c);return _0x1b674c;},H=(_0x4f4e8f,_0x265f67)=>(_0x1a12f4,_0xd7cb79)=>_0x265f67(_0x1a12f4,_0xd7cb79,_0x4f4e8f);let nt=class extends _0x1f9410{constructor(_0x31c211,_0x28eb73,_0x272f7c,_0x77a8a2,_0xea99ae,_0x59c92c,_0x1f9c66,_0x39510a,_0x36d47e,_0x3375c9,_0x3ead5e,_0x43735d,_0x951a1c){var _0x544c3f=_0xfe7184;super(),N(this,_0x544c3f(0x22d),new _0x21c115(null)),N(this,_0x544c3f(0x335),this[_0x544c3f(0x22d)][_0x544c3f(0x3a8)]()),N(this,_0x544c3f(0x445)),N(this,_0x544c3f(0x37c),!0x1),N(this,_0x544c3f(0x44a),''),N(this,_0x544c3f(0x1d8),0x0),N(this,_0x544c3f(0x45b),this['state$'][_0x544c3f(0x400)](_0x197804(_0x14825e=>_0x14825e?_0x14825e['status']:bi[_0x544c3f(0x3ea)]),_0x327bb4(0x1))),N(this,_0x544c3f(0x366),!0x1),N(this,_0x544c3f(0x2f3),[]),(this['unitID']=_0x31c211,this[_0x544c3f(0x462)]=_0x28eb73,this[_0x544c3f(0x22a)]=_0x272f7c,this[_0x544c3f(0x3e4)]=_0x77a8a2,this[_0x544c3f(0x254)]=_0xea99ae,this[_0x544c3f(0x3ce)]=_0x59c92c,this[_0x544c3f(0x1cb)]=_0x1f9c66,this[_0x544c3f(0x32c)]=_0x39510a,this[_0x544c3f(0x1df)]=_0x36d47e,this[_0x544c3f(0x28a)]=_0x3375c9,this[_0x544c3f(0x358)]=_0x3ead5e,this[_0x544c3f(0x41d)]=_0x43735d,this[_0x544c3f(0x386)]=_0x951a1c);}get[_0xfe7184(0x351)](){return this['_state'];}async[_0xfe7184(0x1f7)](){var _0x564c2b=_0xfe7184;if(this['state'])throw new Error(_0x564c2b(0x298));await this[_0x564c2b(0x39f)]();}[_0xfe7184(0x272)](){return this['_collaborationPaused']=!0x0,_0x1261ab(()=>{var _0xff9d4d=_0xb4ca;this[_0xff9d4d(0x37c)]=!0x1,this[_0xff9d4d(0x3f2)]();});}[_0xfe7184(0x2bf)](_0x1f7f43){this['_onLocalMutation'](_0x1f7f43);}[_0xfe7184(0x4c7)](_0x628b7b){var _0x156825=_0xfe7184;this['_state']=_0x628b7b,this[_0x156825(0x22d)]['next'](_0x628b7b);}async[_0xfe7184(0x39f)](){var _0x41cd1d=_0xfe7184,_0x380a9b;this[_0x41cd1d(0x4c7)](await this[_0x41cd1d(0x1cf)]()),this[_0x41cd1d(0x41d)]&&((_0x380a9b=this[_0x41cd1d(0x41d)])==null||_0x380a9b['editingUnit'](this[_0x41cd1d(0x255)]),this[_0x41cd1d(0x2d3)](this[_0x41cd1d(0x41d)][_0x41cd1d(0x344)](this[_0x41cd1d(0x255)])[_0x41cd1d(0x26d)](_0x59f61e=>{var _0xa0d069=_0x41cd1d;this[_0xa0d069(0x1df)][_0xa0d069(0x240)](_0xa0d069(0x243),_0xa0d069(0x459),_0x59f61e),_0x59f61e===Ci[_0xa0d069(0x35d)]?(this[_0xa0d069(0x32c)][_0xa0d069(0x32b)]({'id':re[_0xa0d069(0x3ef)]}),this[_0xa0d069(0x358)][_0xa0d069(0x34c)](new _0x2e7126(this[_0xa0d069(0x255)])['id'],!0x1),this[_0xa0d069(0x358)][_0xa0d069(0x37d)](!0x1)):(this[_0xa0d069(0x358)][_0xa0d069(0x34c)](new _0x2e7126(this[_0xa0d069(0x255)])['id'],!0x0),this['_permissionService'][_0xa0d069(0x37d)](!0x0));})));let _0x3ec93a=!0x1;return this[_0x41cd1d(0x2d3)](this[_0x41cd1d(0x462)][_0x41cd1d(0x24a)]['subscribe'](_0x1ac595=>{var _0x3003dc=_0x41cd1d;_0x1ac595===Ee[_0x3003dc(0x336)]?this[_0x3003dc(0x20b)](_0x3ec93a):_0x1ac595===Ee[_0x3003dc(0x3ea)]&&(_0x3ec93a=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this['session'][_0x41cd1d(0x350)]['subscribe'](_0x31b5df=>{var _0x4de02a=_0x41cd1d;try{switch(_0x31b5df[_0x4de02a(0x4ce)]){case _0x12f734['NEW_CHANGESETS']:{this[_0x4de02a(0x43d)](_0x4bb8f5(_0x31b5df[_0x4de02a(0x48f)]));break;}case _0x12f734['CHANGESET_ACK']:{this[_0x4de02a(0x3fb)](_0x31b5df[_0x4de02a(0x48f)]);break;}case _0x12f734['CHANGESET_REJ']:{this[_0x4de02a(0x276)]();break;}case _0x12f734['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x31b5df[_0x4de02a(0x48f)]);break;}case _0x12f734[_0x4de02a(0x378)]:{this[_0x4de02a(0x33c)](_0x31b5df[_0x4de02a(0x48f)][_0x4de02a(0x484)][_0x4de02a(0x41b)](_0x158ef6=>_0x4bb8f5(_0x158ef6)));break;}case _0x12f734['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x12f734[_0x4de02a(0x349)]:break;}}catch(_0x2b07ab){throw console[_0x4de02a(0x21f)]('Error\x20on\x20receiving\x20event',_0x2b07ab),_0x2b07ab;}})),this[_0x41cd1d(0x445)];}[_0xfe7184(0x421)](){var _0x2245be=_0xfe7184;this[_0x2245be(0x366)]=!0x1;}[_0xfe7184(0x430)](){var _0x1ea15a=_0xfe7184;if(this[_0x1ea15a(0x366)])throw new Error(_0x1ea15a(0x3af));this[_0x1ea15a(0x366)]=!0x0;}['_onLocalMutation'](_0x32a5b7){var _0x4cc809=_0xfe7184;this['_lockTransition'](),this[_0x4cc809(0x4c7)](this[_0x4cc809(0x445)][_0x4cc809(0x3d1)](_0x32a5b7)),this[_0x4cc809(0x421)]();}[_0xfe7184(0x43d)](_0x49a1e3){var _0x4ca961=_0xfe7184;if(!(_0x49a1e3[_0x4ca961(0x417)]<=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x4ca961(0x37c)]){this['_remoteChangesetQueue']['push'](_0x49a1e3);return;}this['_applyRemoteChangeset'](_0x49a1e3);}}[_0xfe7184(0x3f2)](){var _0x43a1a1=_0xfe7184;this[_0x43a1a1(0x2f3)]['forEach'](_0x1886ec=>this['_applyRemoteChangeset'](_0x1886ec)),this[_0x43a1a1(0x2f3)]=[];}[_0xfe7184(0x241)](_0x44d79f){var _0xe06652=_0xfe7184;const _0x361dc8=this[_0xe06652(0x254)][_0xe06652(0x278)][_0xe06652(0x219)](this[_0xe06652(0x254)][_0xe06652(0x278)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x44d79f[_0xe06652(0x46d)],null)||_0x44d79f[_0xe06652(0x46d)],_0x59b89a={..._0x44d79f,'mutations':_0x361dc8};this[_0xe06652(0x430)](),this[_0xe06652(0x4c7)](this[_0xe06652(0x445)]['onRemoteChangeset'](_0x59b89a)),this[_0xe06652(0x421)]();}[_0xfe7184(0x3fb)](_0x185cde){var _0x1ad8b7=_0xfe7184;this[_0x1ad8b7(0x430)](),this[_0x1ad8b7(0x4c7)](this['_state'][_0x1ad8b7(0x47b)](_0x185cde)),this[_0x1ad8b7(0x421)]();}[_0xfe7184(0x276)](_0x5f1505){var _0x175e2d=_0xfe7184;this[_0x175e2d(0x430)](),this[_0x175e2d(0x4c7)](this['_state'][_0x175e2d(0x2e4)](_0x5f1505)),this[_0x175e2d(0x421)]();}[_0xfe7184(0x2be)](_0x397464){var _0x4b112e=_0xfe7184;this[_0x4b112e(0x430)](),this['_updateState'](this[_0x4b112e(0x445)]['onRemoteRetry'](_0x397464)),this[_0x4b112e(0x421)]();}['_onFetchMissResult'](_0x126e08){var _0x410b06=_0xfe7184;if(!(this['_state']instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x288d89=_0x126e08['map'](_0x3c3070=>{var _0x40bddc=_0xb4ca;const _0x55c3a2=this[_0x40bddc(0x254)][_0x40bddc(0x278)][_0x40bddc(0x219)](this[_0x40bddc(0x254)]['interceptor'][_0x40bddc(0x495)]()[_0x40bddc(0x265)])(_0x3c3070[_0x40bddc(0x46d)],null)||_0x3c3070[_0x40bddc(0x46d)];return{..._0x3c3070,'mutations':_0x55c3a2};});this['_lockTransition'](),this[_0x410b06(0x4c7)](this[_0x410b06(0x445)][_0x410b06(0x461)](_0x288d89)),this['_unlockTransition']();}[_0xfe7184(0x2ee)](){var _0x314485=_0xfe7184;this[_0x314485(0x430)](),this[_0x314485(0x4c7)](this[_0x314485(0x445)][_0x314485(0x36b)]()),this[_0x314485(0x421)]();}['_toggleOnline'](_0xb0d88=!0x1){var _0x19507b=_0xfe7184;this['_lockTransition'](),this[_0x19507b(0x4c7)](this[_0x19507b(0x445)][_0x19507b(0x1ea)]()),this[_0x19507b(0x421)]();const _0xe5ea5=this[_0x19507b(0x445)];_0xb0d88&&_0xe5ea5 instanceof Ne&&(this['_lockTransition'](),this[_0x19507b(0x4c7)](_0xe5ea5[_0x19507b(0x456)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x209456=>{var _0x25d7c7=_0xb4ca;this[_0x25d7c7(0x462)][_0x25d7c7(0x24a)][_0x25d7c7(0x400)](_0x2bbf37(0x1))['subscribe'](async _0x159605=>{var _0x5b5d9a=_0x25d7c7;_0x209456(await this[_0x5b5d9a(0x26f)](_0x159605===Ee[_0x5b5d9a(0x336)]));});});}[_0xfe7184(0x474)](){var _0x1daeb1=_0xfe7184;const _0x249d41=this[_0x1daeb1(0x255)];return{'onStateChange':(_0x3c2301,_0x26be06)=>{var _0x481dbc=_0x1daeb1;if(_0x3c2301!==this[_0x481dbc(0x445)])throw new Error(_0x481dbc(0x498)+_0x3c2301[_0x481dbc(0x2ac)]+_0x481dbc(0x20f)+_0x26be06[_0x481dbc(0x2ac)]+_0x481dbc(0x3eb)+this['_state'][_0x481dbc(0x2ac)]);this[_0x481dbc(0x4c7)](_0x26be06);},'onSendChangeset':_0x5f3b23=>{var _0x25d1fa=_0x1daeb1;_0x5f3b23['sid']||(_0x5f3b23['sid']=this[_0x25d1fa(0x44a)],_0x5f3b23[_0x25d1fa(0x3ff)]=++this[_0x25d1fa(0x1d8)]);const _0x24e66a={'eventID':_0x12f734[_0x25d1fa(0x1cc)],'data':{'unitID':_0x5f3b23['unitID'],'unitType':this['_type'],'changeset':_0x5f3b23,'memberID':this['session'][_0x25d1fa(0x226)]()}};this[_0x25d1fa(0x462)][_0x25d1fa(0x3a2)](_0x24e66a,this['unitID']);},'onMissingChangesets':({from:_0x54e6d3,to:_0xe18c6b})=>{var _0x17cde8=_0x1daeb1;this[_0x17cde8(0x1df)][_0x17cde8(0x240)](_0x17cde8(0x243),'fetching\x20missing\x20changesets\x20from\x20'+_0x54e6d3+'\x20to\x20'+_0xe18c6b);const _0xf2ff6f={'eventID':_0x12f734[_0x17cde8(0x231)],'data':{'unitID':_0x249d41,'unitType':this['_type'],'from':_0x54e6d3,'to':_0xe18c6b}};this[_0x17cde8(0x462)][_0x17cde8(0x3a2)](_0xf2ff6f,this[_0x17cde8(0x255)]);}};}async[_0xfe7184(0x26f)](_0x39f721){var _0x8a400=_0xfe7184,_0x1af270,_0x1d889d,_0x3a53ae;const _0x45696a=await((_0x1af270=this[_0x8a400(0x386)])==null?void 0x0:_0x1af270[_0x8a400(0x406)](this[_0x8a400(0x255)])),_0x3def91=(_0x1d889d=_0x45696a==null?void 0x0:_0x45696a[_0x8a400(0x46d)])!=null?_0x1d889d:[],_0x4fc41d=(_0x3a53ae=_0x45696a==null?void 0x0:_0x45696a[_0x8a400(0x3a0)])!=null?_0x3a53ae:null,_0x1bd3fc=!!(_0x4fc41d!=null&&_0x4fc41d[_0x8a400(0x3a6)])&&!!(_0x4fc41d!=null&&_0x4fc41d[_0x8a400(0x3ff)]);this[_0x8a400(0x44a)]=_0x1bd3fc?_0x4fc41d['sid']:Zn(),this[_0x8a400(0x1d8)]=_0x1bd3fc?_0x4fc41d['reqId']:0x0;const _0x4507ac=this['unitID'];try{this['_replayCachedMutations'](_0x4fc41d,_0x3def91);}catch(_0x38cc7e){this['_logService']['error'](_0x38cc7e);}const _0x195bdb=this[_0x8a400(0x474)]();if(_0x39f721){const _0x5d75bb=yi(this[_0x8a400(0x3e4)],_0x4507ac,this[_0x8a400(0x22a)],_0x4fc41d,_0x3def91,_0x195bdb);return _0x5d75bb instanceof ae?_0x5d75bb[_0x8a400(0x1ed)]():(_0x5d75bb instanceof oe||_0x5d75bb instanceof le)&&_0x5d75bb[_0x8a400(0x31d)](),_0x5d75bb;}return this[_0x8a400(0x3e4)][_0x8a400(0x1e8)](de,_0x4507ac,this[_0x8a400(0x22a)],_0x4fc41d,_0x3def91,_0x195bdb);}[_0xfe7184(0x261)](_0x1a0df7,_0x473da1){var _0x259e9b=_0xfe7184,_0x2c137f,_0x58bdec;const _0x2c8b79=this['_compressMutationService'][_0x259e9b(0x278)]['fetchThroughInterceptors'](this[_0x259e9b(0x254)][_0x259e9b(0x278)][_0x259e9b(0x495)]()['COMPRESS_MUTATION_APPLY']);(_0x2c137f=_0x2c8b79((_0x1a0df7==null?void 0x0:_0x1a0df7['mutations'])||[],null))==null||_0x2c137f[_0x259e9b(0x1c9)](_0x5aa02d=>this[_0x259e9b(0x28a)][_0x259e9b(0x361)](_0x5aa02d['id'],_0x5aa02d[_0x259e9b(0x300)])),(_0x58bdec=_0x2c8b79(_0x473da1||[],null))==null||_0x58bdec['forEach'](_0x174d7a=>this[_0x259e9b(0x28a)]['executeCommand'](_0x174d7a['id'],_0x174d7a[_0x259e9b(0x300)]));}};nt=Lt([H(0x3,_0x133e5e(_0x723ed9)),H(0x4,_0x133e5e(_0x3d5a95)),H(0x5,_0x133e5e(_0x20ed6b)),H(0x6,_0x133e5e(_0x5bbf37)),H(0x7,_0x133e5e(pe)),H(0x8,_0x19ce75),H(0x9,_0x1affd5),H(0xa,_0x446775),H(0xb,_0x5db4e2(ht)),H(0xc,_0x5db4e2(J))],nt);let It=class extends nt{constructor(_0x53bc75,_0x4e97fd,_0x409771,_0x299f51,_0x2f64c,_0x269d48,_0x438e23,_0x423cb9,_0x5b2a30,_0x10a131,_0x469c40,_0x25247d,_0x1c947a){var _0x4db0b8=_0xfe7184;super(_0x53bc75,_0x409771,_0x4e97fd,_0x299f51,_0x2f64c,_0x269d48,_0x438e23,_0x423cb9,_0x5b2a30,_0x10a131,_0x469c40,_0x25247d,_0x1c947a),N(this,_0x4db0b8(0x269),null),(this[_0x4db0b8(0x255)]=_0x53bc75,this['type']=_0x4e97fd);}[_0xfe7184(0x2e2)](_0x4d3911){var _0x24fb0b=_0xfe7184;this[_0x24fb0b(0x269)]=_0x4d3911;}[_0xfe7184(0x374)](){var _0x56f32a=_0xfe7184;this[_0x56f32a(0x269)]=null,super[_0x56f32a(0x374)]();}['_createHandler'](){var _0x4b0832=_0xfe7184;const _0x21cf5c=super[_0x4b0832(0x474)]();return _0x21cf5c[_0x4b0832(0x40c)]=_0x5d8106=>{var _0x3cfba7=_0x4b0832,_0x516131,_0x22372d;return(_0x22372d=(_0x516131=this['_handlerCallback'])==null?void 0x0:_0x516131[_0x3cfba7(0x40c)])==null?void 0x0:_0x22372d[_0x3cfba7(0x48d)](_0x516131,_0x5d8106);},_0x21cf5c['onTransformState']=_0x7ac951=>{var _0x58528a=_0x4b0832,_0x6302ed,_0x12b6d5;return(_0x12b6d5=(_0x6302ed=this[_0x58528a(0x269)])==null?void 0x0:_0x6302ed[_0x58528a(0x30c)])==null?void 0x0:_0x12b6d5['call'](_0x6302ed,_0x7ac951);},_0x21cf5c[_0x4b0832(0x485)]=_0x4b2691=>{var _0x67596d=_0x4b0832,_0x4a46dd,_0x65b0f2;return(_0x65b0f2=(_0x4a46dd=this[_0x67596d(0x269)])==null?void 0x0:_0x4a46dd[_0x67596d(0x485)])==null?void 0x0:_0x65b0f2['call'](_0x4a46dd,_0x4b2691);},_0x21cf5c['onSyncEditingCollabCursor']=_0x3e5d29=>{var _0x25d24c=_0x4b0832,_0x3f1fc7,_0x55980a;return(_0x55980a=(_0x3f1fc7=this[_0x25d24c(0x269)])==null?void 0x0:_0x3f1fc7[_0x25d24c(0x266)])==null?void 0x0:_0x55980a['call'](_0x3f1fc7,_0x3e5d29);},_0x21cf5c[_0x4b0832(0x268)]=_0x4ac707=>{var _0x289c3b=_0x4b0832,_0x410612,_0x5d8a5e,_0x5740a3;if(!((_0x410612=this['_handlerCallback'])!=null&&_0x410612[_0x289c3b(0x268)]))throw new Error(_0x289c3b(0x284));return(_0x5740a3=(_0x5d8a5e=this[_0x289c3b(0x269)])==null?void 0x0:_0x5d8a5e['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5740a3[_0x289c3b(0x48d)](_0x5d8a5e,_0x4ac707);},_0x21cf5c[_0x4b0832(0x289)]=_0x2ea6b0=>{var _0x415277=_0x4b0832,_0x233f6c,_0x549cb3,_0x47493f;if(!((_0x233f6c=this[_0x415277(0x269)])!=null&&_0x233f6c[_0x415277(0x289)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x47493f=(_0x549cb3=this['_handlerCallback'])==null?void 0x0:_0x549cb3['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x47493f[_0x415277(0x48d)](_0x549cb3,_0x2ea6b0);},_0x21cf5c;}async['_init'](){var _0x1f1d48=_0xfe7184;const _0x4a1a5a=await super[_0x1f1d48(0x39f)]();return this[_0x1f1d48(0x2d3)](this['_commandService'][_0x1f1d48(0x23e)]((_0x139535,_0x115146)=>{var _0x321b1b=_0x1f1d48;if(_0x139535[_0x321b1b(0x391)]!==_0xd983d8[_0x321b1b(0x491)]||_0x115146!=null&&_0x115146['fromCollab']||_0x115146!=null&&_0x115146[_0x321b1b(0x236)]||_0x139535['id']===_0x27617a['id'])return;const _0x4c2da6=_0x139535[_0x321b1b(0x300)];if((_0x4c2da6==null?void 0x0:_0x4c2da6[_0x321b1b(0x214)])!==this['unitID'])return;const _0xfa0a04=_0x139535,_0x3ff86d=this[_0x321b1b(0x254)]['interceptor'][_0x321b1b(0x219)](this['_compressMutationService'][_0x321b1b(0x278)]['getInterceptPoints']()[_0x321b1b(0x322)])([_0xfa0a04],null)||[_0xfa0a04];this['_onLocalMutation'](_0x3ff86d[0x0]);})),_0x4a1a5a;}};It=Lt([H(0x3,_0x133e5e(_0x723ed9)),H(0x4,_0x133e5e(_0x3d5a95)),H(0x5,_0x133e5e(_0x20ed6b)),H(0x6,_0x133e5e(_0x5bbf37)),H(0x7,_0x133e5e(pe)),H(0x8,_0x19ce75),H(0x9,_0x1affd5),H(0xa,_0x446775),H(0xb,_0x5db4e2(ht)),H(0xc,_0x5db4e2(J))],It);let Tt=class extends nt{constructor(_0x525232,_0xb75a79,_0x54ed47,_0x39b3bb,_0xd9b701,_0x3c5191,_0xe6a079,_0x5e8567,_0x510b18,_0x4c0f03,_0x1a9989,_0x303515,_0x36a804,_0x5265cc){var _0x58d3df=_0xfe7184;super(_0x525232,_0x54ed47,_0xb75a79,_0x39b3bb,_0xd9b701,_0x3c5191,_0xe6a079,_0x510b18,_0x4c0f03,_0x1a9989,_0x303515,_0x36a804,_0x5265cc),this[_0x58d3df(0x255)]=_0x525232,this[_0x58d3df(0x391)]=_0xb75a79,this[_0x58d3df(0x3e0)]=_0x5e8567;}[_0xfe7184(0x474)](){var _0x2a303f=_0xfe7184;const _0x360e2c=super[_0x2a303f(0x474)]();return _0x360e2c['onTransformSelections']=_0x3e8b55=>this[_0x2a303f(0x3e0)][_0x2a303f(0x280)](_0x3e8b55),_0x360e2c;}async['_init'](){var _0x23a67d=_0xfe7184;const _0x10ac74=await super[_0x23a67d(0x39f)]();return this[_0x23a67d(0x2d3)](this['_commandService']['onCommandExecuted']((_0x56b8d7,_0xad7377)=>{var _0x49c87f=_0x23a67d;if(_0x56b8d7[_0x49c87f(0x391)]!==_0xd983d8[_0x49c87f(0x491)]||_0xad7377!=null&&_0xad7377['fromCollab']||_0xad7377!=null&&_0xad7377[_0x49c87f(0x236)])return;const _0x39ae36=_0x56b8d7[_0x49c87f(0x300)];if((_0x39ae36==null?void 0x0:_0x39ae36[_0x49c87f(0x214)])!==this[_0x49c87f(0x255)])return;const _0x391164=_0x56b8d7,_0x250781=this['_compressMutationService'][_0x49c87f(0x278)][_0x49c87f(0x219)](this[_0x49c87f(0x254)]['interceptor'][_0x49c87f(0x495)]()[_0x49c87f(0x322)])([_0x391164],null)||[_0x391164];this[_0x49c87f(0x339)](_0x250781[0x0]);})),_0x10ac74;}};Tt=Lt([H(0x3,_0x133e5e(_0x723ed9)),H(0x4,_0x133e5e(_0x3d5a95)),H(0x5,_0x133e5e(_0x20ed6b)),H(0x6,_0x133e5e(_0x5bbf37)),H(0x7,_0x133e5e(it)),H(0x8,_0x133e5e(pe)),H(0x9,_0x19ce75),H(0xa,_0x1affd5),H(0xb,_0x446775),H(0xc,_0x5db4e2(ht)),H(0xd,_0x5db4e2(J))],Tt);var os=Object[_0xfe7184(0x4a2)],cs=(_0x2c9099,_0x3ff9cf,_0x4f3a36,_0x4ba1da)=>{var _0x3e7bba=_0xfe7184;for(var _0x472282=_0x4ba1da>0x1?void 0x0:_0x4ba1da?os(_0x3ff9cf,_0x4f3a36):_0x3ff9cf,_0x295d00=_0x2c9099[_0x3e7bba(0x44b)]-0x1,_0x55dd54;_0x295d00>=0x0;_0x295d00--)(_0x55dd54=_0x2c9099[_0x295d00])&&(_0x472282=_0x55dd54(_0x472282)||_0x472282);return _0x472282;},ft=(_0x3b9cbc,_0x15a0e6)=>(_0x1db904,_0x1866c5)=>_0x15a0e6(_0x1db904,_0x1866c5,_0x3b9cbc);let st=class extends _0x1f9410{constructor(_0x5e2982,_0xa5956d,_0x33ac6a){var _0x5c79c6=_0xfe7184;super(),N(this,_0x5c79c6(0x33f),new Map()),N(this,_0x5c79c6(0x20d),new _0xd7395f()),N(this,'entityInit$',this[_0x5c79c6(0x20d)][_0x5c79c6(0x3a8)]()),(this[_0x5c79c6(0x3e4)]=_0x5e2982,this[_0x5c79c6(0x402)]=_0xa5956d,this[_0x5c79c6(0x439)]=_0x33ac6a,this[_0x5c79c6(0x39f)]());}[_0xfe7184(0x374)](){var _0x15bb03=_0xfe7184;super[_0x15bb03(0x374)](),this[_0x15bb03(0x33f)]['forEach'](_0x4d560c=>_0x4d560c[_0x15bb03(0x374)]()),this['_entities'][_0x15bb03(0x3fa)]();}['getCollabEntity'](_0x20ea2d){var _0x18e0c3;return(_0x18e0c3=this['_entities']['get'](_0x20ea2d))!=null?_0x18e0c3:null;}[_0xfe7184(0x237)](_0xae6b33){var _0x3bc5b5=_0xfe7184;const _0x53bec7=this[_0x3bc5b5(0x4c4)](_0xae6b33);return _0x53bec7?_0x52f9c6(_0x53bec7):this[_0x3bc5b5(0x20d)][_0x3bc5b5(0x400)](_0x5befcb(_0x376c80=>_0x376c80[_0x3bc5b5(0x255)]===_0xae6b33));}[_0xfe7184(0x315)](_0xd91280){var _0x267deb=_0xfe7184;return _0x16ae71(this[_0x267deb(0x237)](_0xd91280)[_0x267deb(0x400)](_0x4851a7(()=>{})));}[_0xfe7184(0x39f)](){var _0x2c0890=_0xfe7184;this[_0x2c0890(0x439)]['getTypeOfUnitAdded$'](_0x22def0[_0x2c0890(0x4c5)])[_0x2c0890(0x400)](_0x1bbb70(this[_0x2c0890(0x27c)]),_0x1717cc(0x10))[_0x2c0890(0x26d)](async _0x560aa8=>{var _0xf3d87c=_0x2c0890;const _0x17b4ce=_0x560aa8[_0xf3d87c(0x340)](),_0x5372b4=await this[_0xf3d87c(0x4ab)](_0x17b4ce,Q['UNIVER_SHEET']);this[_0xf3d87c(0x33f)][_0xf3d87c(0x3b6)](_0x17b4ce,_0x5372b4);}),this[_0x2c0890(0x439)][_0x2c0890(0x31a)](_0x22def0['UNIVER_DOC'])[_0x2c0890(0x400)](_0x1bbb70(this[_0x2c0890(0x27c)]),_0x1717cc(0x10))[_0x2c0890(0x400)](_0x5befcb(_0x305ee3=>!_0x305ee3[_0x2c0890(0x340)]()['startsWith']('__')))[_0x2c0890(0x26d)](async _0x3d41ee=>{var _0x1fecb7=_0x2c0890;const _0x2f7088=_0x3d41ee[_0x1fecb7(0x340)](),_0x5a851a=await this[_0x1fecb7(0x4ab)](_0x2f7088,Q['UNIVER_DOC']);this['_entities'][_0x1fecb7(0x3b6)](_0x2f7088,_0x5a851a);}),_0x4ef3f9(this[_0x2c0890(0x439)][_0x2c0890(0x27f)](_0x22def0[_0x2c0890(0x4c5)]),this['_univerInstanceService'][_0x2c0890(0x27f)](_0x22def0[_0x2c0890(0x1c3)]))[_0x2c0890(0x400)](_0x1bbb70(this['dispose$']))[_0x2c0890(0x26d)](_0xb5769a=>{var _0x4fe1f2=_0x2c0890;const _0x44916f=_0xb5769a[_0x4fe1f2(0x340)](),_0x47a442=this[_0x4fe1f2(0x33f)][_0x4fe1f2(0x404)](_0x44916f);_0x47a442&&(_0x47a442[_0x4fe1f2(0x374)](),this[_0x4fe1f2(0x33f)][_0x4fe1f2(0x38e)](_0x44916f));});}async['_startCollaboration'](_0x20b41e,_0xbddb7d){var _0x4580cf=_0xfe7184;const _0x4562f9=await this['_collabSessionService'][_0x4580cf(0x2ec)](_0x20b41e),_0x4daede=this[_0x4580cf(0x3e4)]['createInstance'](this['_getCtorByUniverType'](_0xbddb7d),_0x20b41e,_0xbddb7d,_0x4562f9);return await _0x4daede[_0x4580cf(0x1f7)](),this[_0x4580cf(0x20d)][_0x4580cf(0x3c3)](_0x4daede),_0x4daede;}[_0xfe7184(0x3c1)](_0x352bcf){switch(_0x352bcf){case Q['UNIVER_DOC']:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x352bcf);}}};st=cs([ft(0x0,_0x133e5e(_0x723ed9)),ft(0x1,_0x133e5e(xe)),ft(0x2,_0x169db5)],st);var hs=Object['getOwnPropertyDescriptor'],_s=(_0x3107e6,_0x589a5b,_0x409a4c,_0x2ed135)=>{var _0x50b329=_0xfe7184;for(var _0x429b47=_0x2ed135>0x1?void 0x0:_0x2ed135?hs(_0x589a5b,_0x409a4c):_0x589a5b,_0x1053d0=_0x3107e6[_0x50b329(0x44b)]-0x1,_0x27c1c4;_0x1053d0>=0x0;_0x1053d0--)(_0x27c1c4=_0x3107e6[_0x1053d0])&&(_0x429b47=_0x27c1c4(_0x429b47)||_0x429b47);return _0x429b47;},zt=(_0x5881ef,_0x2795d8)=>(_0x4c0c53,_0x4fecba)=>_0x2795d8(_0x4c0c53,_0x4fecba,_0x5881ef);const ls=_0xfe7184(0x2dd),us=_0xfe7184(0x3c9);let Ct=class extends _0x293672{constructor(_0x231a99,_0x1d7832){var _0x48b8e2=_0xfe7184;super(),this['_univerInstanceService']=_0x231a99,this['_configService']=_0x1d7832,this[_0x48b8e2(0x39f)]();}[_0xfe7184(0x39f)](){var _0x5e02a1=_0xfe7184;this[_0x5e02a1(0x2d3)](this[_0x5e02a1(0x439)][_0x5e02a1(0x2a1)]['subscribe'](()=>{var _0x49a858=_0x5e02a1,_0x348b28;const _0x1cb5d5=this[_0x49a858(0x439)]['getFocusedUnit']();let _0x596e41=(_0x348b28=this[_0x49a858(0x1fa)][_0x49a858(0x37f)](ls))!=null?_0x348b28:us;_0x1cb5d5 instanceof _0x4e7a87&&(_0x596e41=_0x1cb5d5[_0x49a858(0x2a3)]),document[_0x49a858(0x299)]=_0x596e41;}));}};Ct=_s([zt(0x0,_0x169db5),zt(0x1,_0x2f38cd)],Ct);var ds=Object[_0xfe7184(0x4a2)],fs=(_0x4c950c,_0x48bf0f,_0x4dc1ce,_0x1e3b54)=>{var _0x5eb6f5=_0xfe7184;for(var _0xadaa12=_0x1e3b54>0x1?void 0x0:_0x1e3b54?ds(_0x48bf0f,_0x4dc1ce):_0x48bf0f,_0x46f1db=_0x4c950c[_0x5eb6f5(0x44b)]-0x1,_0x5a25b0;_0x46f1db>=0x0;_0x46f1db--)(_0x5a25b0=_0x4c950c[_0x46f1db])&&(_0xadaa12=_0x5a25b0(_0xadaa12)||_0xadaa12);return _0xadaa12;},vt=(_0x4e8ce0,_0x529c5d)=>(_0x52cbf3,_0x508e5d)=>_0x529c5d(_0x52cbf3,_0x508e5d,_0x4e8ce0);let rt=class{constructor(_0x214f51,_0x407ccd,_0x1ff5a0){var _0x2bcfa4=_0xfe7184;this[_0x2bcfa4(0x1fa)]=_0x214f51,this[_0x2bcfa4(0x3d2)]=_0x407ccd,this[_0x2bcfa4(0x2cc)]=_0x1ff5a0,this[_0x2bcfa4(0x1f7)]();}[_0xfe7184(0x1f7)](){var _0x36ba29=_0xfe7184;this[_0x36ba29(0x3d2)][_0x36ba29(0x3c6)]({'priority':0x1,'interceptor':(_0xd8b67a,_0x31fb02)=>_0x31fb02(_0xd8b67a)[_0x36ba29(0x400)](_0x2e6b2f(async _0x252079=>{var _0x5423e7=_0x36ba29;const _0x1301e5=_0x252079;if(_0x1301e5[_0x5423e7(0x2ac)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x5423e7(0x497)](this[_0x5423e7(0x2cc)]['t'](_0x5423e7(0x2d5)))){const _0x5ce33c=window[_0x5423e7(0x443)](window['location'][_0x5423e7(0x29a)]);window[_0x5423e7(0x2c8)]['href']=this[_0x5423e7(0x476)]()+'?url='+_0x5ce33c;}}return _0x1301e5;}))});}[_0xfe7184(0x476)](){var _0xbf32c1=_0xfe7184,_0x59bb6b,_0xfff031;const _0x472ed0=this[_0xbf32c1(0x1fa)][_0xbf32c1(0x37f)](Un),_0xabc59a=this[_0xbf32c1(0x1fa)][_0xbf32c1(0x37f)](q);return(_0xfff031=(_0x59bb6b=_0xabc59a==null?void 0x0:_0xabc59a[_0xbf32c1(0x2fc)])!=null?_0x59bb6b:_0x472ed0)!=null?_0xfff031:An;}};rt=fs([vt(0x0,_0x2f38cd),vt(0x1,_0x133e5e(_0x44d219)),vt(0x2,_0x133e5e(_0x20ed6b))],rt);var vs=Object[_0xfe7184(0x4a2)],ps=(_0x14c5db,_0x37cabb,_0x5d5929,_0x519b34)=>{var _0x1a167d=_0xfe7184;for(var _0x3e76f4=_0x519b34>0x1?void 0x0:_0x519b34?vs(_0x37cabb,_0x5d5929):_0x37cabb,_0x40af5a=_0x14c5db[_0x1a167d(0x44b)]-0x1,_0x5118c2;_0x40af5a>=0x0;_0x40af5a--)(_0x5118c2=_0x14c5db[_0x40af5a])&&(_0x3e76f4=_0x5118c2(_0x3e76f4)||_0x3e76f4);return _0x3e76f4;},Jt=(_0x2ac8b7,_0x2fc314)=>(_0x5924f4,_0x3b1252)=>_0x2fc314(_0x5924f4,_0x3b1252,_0x2ac8b7);const Ni=_0xfe7184(0x2db),ms=_0xfe7184(0x39c);let Rt=class extends _0x293672{constructor(_0x268364,_0x47c7ad){var _0x42b564=_0xfe7184;super(),this[_0x42b564(0x436)]=_0x268364,this['_configService']=_0x47c7ad,this[_0x42b564(0x325)]();}[_0xfe7184(0x325)](){var _0x3d65e7=_0xfe7184;const _0xd0a900=this;this[_0x3d65e7(0x2d3)](this['_HTTPService'][_0x3d65e7(0x3c6)]({'priority':0x3e7,'interceptor':_0x2788f5({'isMatch'(_0x4a9a99){var _0x1f3aa6=_0x3d65e7,_0x2fe760;if(_0x4a9a99[_0x1f3aa6(0x201)]===_0x1f3aa6(0x1d6)&&((_0x2fe760=_0x4a9a99[_0x1f3aa6(0x313)])!=null&&_0x2fe760['body'])){const {objectID:_0x70a29,objectType:_0x309d91}=_0x4a9a99[_0x1f3aa6(0x313)]['body']||{};if(!_0x70a29||_0x309d91===void 0x0)return!0x1;const _0x1eda81=_0xd0a900[_0x1f3aa6(0x4af)]()+'/'+_0x309d91+_0x1f3aa6(0x2b2)+_0x70a29+_0x1f3aa6(0x355);if(_0x4a9a99[_0x1f3aa6(0x347)]===_0x1eda81)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x9fcb42){var _0x5de16a=_0x3d65e7,_0x4516cc;return(_0x4516cc=_0x9fcb42[_0x5de16a(0x313)])==null?void 0x0:_0x4516cc[_0x5de16a(0x2ed)];},'mergeParamsToRequest'(_0x3ea463,_0x3d1622){var _0x28b15f=_0x3d65e7;const _0x1f62fa=_0xd0a900['_getAPIPrefixPath']()+_0x28b15f(0x448),_0x32bcba=_0x3ea463[_0x28b15f(0x1db)]((_0x5a0fe3,_0x3170a3)=>{var _0x245c6e=_0x28b15f;const {unitID:_0xe957ac,objectID:_0x19b7e0,objectType:_0x5089d4,actions:_0x156930}=_0x3170a3;return _0x5a0fe3[_0xe957ac]||(_0x5a0fe3[_0xe957ac]={}),_0x5a0fe3[_0xe957ac][_0x19b7e0]||(_0x5a0fe3[_0xe957ac][_0x19b7e0]={'objectID':_0x19b7e0,'objectType':_0x5089d4,'actions':[]}),_0x5a0fe3[_0xe957ac][_0x19b7e0][_0x245c6e(0x3b0)][_0x245c6e(0x3ca)](..._0x156930),_0x5a0fe3;},{}),_0x5bd41e=[];for(const _0x244b22 in _0x32bcba)for(const _0x3f0b23 in _0x32bcba[_0x244b22]){const {actions:_0x46a3ca,objectType:_0x29d927}=_0x32bcba[_0x244b22][_0x3f0b23],_0x28697e=[...new Set(_0x46a3ca)];_0x5bd41e['push']({'unitID':_0x244b22,'objectID':_0x3f0b23,'objectType':_0x29d927,'actions':_0x28697e});}return new _0x560f8d('POST',_0x1f62fa,{'headers':_0x3d1622[_0x28b15f(0x383)],'withCredentials':_0x3d1622[_0x28b15f(0x35b)],'responseType':_0x3d1622[_0x28b15f(0x1de)],'body':{'requests':_0x5bd41e}});}},{'distributeResult'(_0x1241c6,_0xbae18b){var _0x316c77=_0x3d65e7;const {objectActions:_0x4c9fd7}=_0x1241c6;return _0xbae18b[_0x316c77(0x41b)](_0x164cd0=>{var _0x4a2b57=_0x316c77;const {unitID:_0x1227dd,objectID:_0x535683,actions:_0x270dea}=_0x164cd0,_0x2f8aa1=_0x4c9fd7['find'](_0x498524=>_0x498524['unitID']===_0x1227dd&&_0x498524[_0x4a2b57(0x42a)]===_0x535683),_0x5322d9=_0x270dea[_0x4a2b57(0x41b)](_0x44094e=>_0x2f8aa1==null?void 0x0:_0x2f8aa1[_0x4a2b57(0x3b0)]['find'](_0x4537ad=>_0x4537ad[_0x4a2b57(0x4cf)]===_0x44094e))['filter'](_0x292588=>!!_0x292588);return{'config':_0x164cd0,'result':{'actions':_0x5322d9,'error':_0x1241c6[_0x4a2b57(0x21f)]}};});}})}));}[_0xfe7184(0x4af)](){var _0x47f157=_0xfe7184,_0x32144e,_0x250298;const _0x2e385e=this[_0x47f157(0x1fa)][_0x47f157(0x37f)](Ni),_0x318cf1=this[_0x47f157(0x1fa)][_0x47f157(0x37f)](q);return(_0x250298=(_0x32144e=_0x318cf1==null?void 0x0:_0x318cf1['authzUrl'])!=null?_0x32144e:_0x2e385e)!=null?_0x250298:ms;}async['create'](_0x5a2769){var _0x505602=_0xfe7184;const _0x3c80bd=this[_0x505602(0x4af)]()+'/'+_0x5a2769[_0x505602(0x277)]+_0x505602(0x433);return(await this[_0x505602(0x436)][_0x505602(0x43a)](_0x3c80bd,{'body':_0x5a2769}))[_0x505602(0x2ed)][_0x505602(0x42a)]||'';}async[_0xfe7184(0x369)](_0x3d633d){var _0x29f425=_0xfe7184;const _0x27f669=this['_getAPIPrefixPath']()+_0x29f425(0x256);return(await this[_0x29f425(0x436)][_0x29f425(0x43a)](_0x27f669,{'body':_0x3d633d}))[_0x29f425(0x2ed)][_0x29f425(0x4c6)];}async[_0xfe7184(0x3dc)](_0x59e697){var _0x136a65=_0xfe7184,_0x37d355,_0x723d35;const _0x2959a=this[_0x136a65(0x4af)]()+'/'+_0x59e697['objectType']+_0x136a65(0x2b2)+_0x59e697[_0x136a65(0x42a)],_0x1aff49=await this['_HTTPService']['put'](_0x2959a,{'body':_0x59e697});if(((_0x723d35=(_0x37d355=_0x1aff49==null?void 0x0:_0x1aff49[_0x136a65(0x2ed)])==null?void 0x0:_0x37d355[_0x136a65(0x21f)])==null?void 0x0:_0x723d35[_0x136a65(0x2cf)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0xfe7184(0x422)](_0x5588fd){var _0x3f8294=_0xfe7184;const _0x59fb05=this[_0x3f8294(0x4af)]()+'/'+_0x5588fd[_0x3f8294(0x277)]+_0x3f8294(0x2b2)+_0x5588fd[_0x3f8294(0x42a)]+_0x3f8294(0x355);return(await this[_0x3f8294(0x436)][_0x3f8294(0x43a)](_0x59fb05,{'body':_0x5588fd}))[_0x3f8294(0x2ed)]['actions'];}async['batchAllowed'](_0x14bec8){var _0x2fc78c=_0xfe7184;const _0x598d5f=this['_getAPIPrefixPath']()+_0x2fc78c(0x448);return(await this[_0x2fc78c(0x436)][_0x2fc78c(0x43a)](_0x598d5f,{'body':{'requests':_0x14bec8}}))[_0x2fc78c(0x2ed)][_0x2fc78c(0x34b)];}async[_0xfe7184(0x483)](_0x414a91){var _0x5c7799=_0xfe7184;const _0x771764=this[_0x5c7799(0x4af)]()+'/'+_0x414a91[_0x5c7799(0x277)]+_0x5c7799(0x2d2),_0x5c5541=await this[_0x5c7799(0x436)][_0x5c7799(0x43a)](_0x771764,{'body':_0x414a91});return{'roles':_0x5c5541[_0x5c7799(0x2ed)][_0x5c7799(0x23d)],'actions':_0x5c5541['body']['actions']};}async[_0xfe7184(0x1e2)](_0x31b420){var _0x1c73e8=_0xfe7184;const _0x3b658d=this[_0x1c73e8(0x4af)]()+_0x1c73e8(0x394);await this['_HTTPService'][_0x1c73e8(0x38e)](_0x3b658d,{'params':{'collaboratorID':_0x31b420['collaboratorID'],'objectID':_0x31b420['objectID'],'unitID':_0x31b420[_0x1c73e8(0x255)]}});}async[_0xfe7184(0x318)](_0x2995f8){var _0x5a8575=_0xfe7184;const _0x398684=this['_getAPIPrefixPath']()+_0x5a8575(0x394);await this[_0x5a8575(0x436)]['patch'](_0x398684,{'body':_0x2995f8});}async[_0xfe7184(0x398)](_0x2269c4){var _0x182be3=_0xfe7184;const _0x4998d1=this['_getAPIPrefixPath']()+_0x182be3(0x394);await this[_0x182be3(0x436)][_0x182be3(0x43a)](_0x4998d1,{'body':_0x2269c4});}async[_0xfe7184(0x1d2)](_0x3906b0){var _0x126938=_0xfe7184;const _0x28877f=this[_0x126938(0x4af)]()+'/collaborator';return(await this['_HTTPService'][_0x126938(0x404)](_0x28877f,{'params':{'objectID':_0x3906b0[_0x126938(0x42a)],'unitID':_0x3906b0[_0x126938(0x255)]}}))[_0x126938(0x2ed)]['collaborators'];}async[_0xfe7184(0x419)](_0x5a83e0){var _0x99f165=_0xfe7184;const _0x15c567=this[_0x99f165(0x4af)]()+_0x99f165(0x394);await this[_0x99f165(0x436)][_0x99f165(0x30b)](_0x15c567,{'body':_0x5a83e0});}};Rt=ps([Jt(0x0,_0x133e5e(_0x44d219)),Jt(0x1,_0x133e5e(_0x2f38cd))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x5b440b){var _0x2526d7=_0xfe7184;return _0x5b440b&&_0x5b440b[_0x2526d7(0x2bc)]&&Object[_0x2526d7(0x38d)][_0x2526d7(0x34d)]['call'](_0x5b440b,'default')?_0x5b440b[_0x2526d7(0x227)]:_0x5b440b;}var Ve={'exports':{}};function gs(_0x16427b){var _0x110251=_0xfe7184;throw new Error(_0x110251(0x34a)+_0x16427b+_0x110251(0x329));}var Ge={'exports':{}},Ss=Ge[_0xfe7184(0x1d5)],Xt;function ie(){var _0x43813c=_0xfe7184;return Xt||(Xt=0x1,function(_0xaa6ca3,_0x41e166){(function(_0x19e246,_0xf44930){_0xaa6ca3['exports']=_0xf44930();}(Ss,function(){var _0x1287a4=_0x1287a4||function(_0x34866f,_0x420a10){var _0xfda893=_0xb4ca,_0x57aff0;if(typeof window<'u'&&window['crypto']&&(_0x57aff0=window[_0xfda893(0x35e)]),typeof self<'u'&&self[_0xfda893(0x35e)]&&(_0x57aff0=self[_0xfda893(0x35e)]),typeof globalThis<'u'&&globalThis[_0xfda893(0x35e)]&&(_0x57aff0=globalThis['crypto']),!_0x57aff0&&typeof window<'u'&&window[_0xfda893(0x39d)]&&(_0x57aff0=window[_0xfda893(0x39d)]),!_0x57aff0&&typeof pt<'u'&&pt[_0xfda893(0x35e)]&&(_0x57aff0=pt[_0xfda893(0x35e)]),!_0x57aff0&&typeof gs=='function')try{_0x57aff0=require(_0xfda893(0x35e));}catch{}var _0x3c870a=function(){var _0x1b832f=_0xfda893;if(_0x57aff0){if(typeof _0x57aff0['getRandomValues']==_0x1b832f(0x2de))try{return _0x57aff0[_0x1b832f(0x32f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x57aff0['randomBytes']==_0x1b832f(0x2de))try{return _0x57aff0[_0x1b832f(0x2fa)](0x4)[_0x1b832f(0x1f4)]();}catch{}}throw new Error(_0x1b832f(0x3c4));},_0x1608e0=Object[_0xfda893(0x2d9)]||(function(){function _0x50f097(){}return function(_0x5b3da1){var _0x478ecf=_0xb4ca,_0x487832;return _0x50f097[_0x478ecf(0x38d)]=_0x5b3da1,_0x487832=new _0x50f097(),_0x50f097[_0x478ecf(0x38d)]=null,_0x487832;};}()),_0x1f4a81={},_0x4dc36b=_0x1f4a81['lib']={},_0x592dbf=_0x4dc36b['Base']=(function(){return{'extend':function(_0x142eba){var _0x581750=_0xb4ca,_0xe36106=_0x1608e0(this);return _0x142eba&&_0xe36106['mixIn'](_0x142eba),(!_0xe36106[_0x581750(0x34d)](_0x581750(0x1f7))||this[_0x581750(0x1f7)]===_0xe36106[_0x581750(0x1f7)])&&(_0xe36106[_0x581750(0x1f7)]=function(){var _0x36dc4a=_0x581750;_0xe36106[_0x36dc4a(0x40f)][_0x36dc4a(0x1f7)][_0x36dc4a(0x486)](this,arguments);}),_0xe36106[_0x581750(0x1f7)]['prototype']=_0xe36106,_0xe36106[_0x581750(0x40f)]=this,_0xe36106;},'create':function(){var _0x3a775e=_0xb4ca,_0x3c7945=this[_0x3a775e(0x49a)]();return _0x3c7945[_0x3a775e(0x1f7)]['apply'](_0x3c7945,arguments),_0x3c7945;},'init':function(){},'mixIn':function(_0x39e337){var _0x55061e=_0xb4ca;for(var _0x4d4981 in _0x39e337)_0x39e337[_0x55061e(0x34d)](_0x4d4981)&&(this[_0x4d4981]=_0x39e337[_0x4d4981]);_0x39e337[_0x55061e(0x34d)](_0x55061e(0x1e6))&&(this[_0x55061e(0x1e6)]=_0x39e337['toString']);},'clone':function(){var _0x20fc24=_0xb4ca;return this[_0x20fc24(0x1f7)]['prototype'][_0x20fc24(0x49a)](this);}};}()),_0xfde50a=_0x4dc36b[_0xfda893(0x1c6)]=_0x592dbf[_0xfda893(0x49a)]({'init':function(_0x1fa4c4,_0xb750ff){var _0x16ccd6=_0xfda893;_0x1fa4c4=this[_0x16ccd6(0x1f3)]=_0x1fa4c4||[],_0xb750ff!=_0x420a10?this[_0x16ccd6(0x360)]=_0xb750ff:this[_0x16ccd6(0x360)]=_0x1fa4c4[_0x16ccd6(0x44b)]*0x4;},'toString':function(_0x137a55){return(_0x137a55||_0x43b678)['stringify'](this);},'concat':function(_0x5ab15f){var _0x349c86=_0xfda893,_0xa038fb=this[_0x349c86(0x1f3)],_0x2bf78f=_0x5ab15f['words'],_0x8145dc=this[_0x349c86(0x360)],_0x2f0f30=_0x5ab15f[_0x349c86(0x360)];if(this['clamp'](),_0x8145dc%0x4)for(var _0x30db5b=0x0;_0x30db5b<_0x2f0f30;_0x30db5b++){var _0x22d147=_0x2bf78f[_0x30db5b>>>0x2]>>>0x18-_0x30db5b%0x4*0x8&0xff;_0xa038fb[_0x8145dc+_0x30db5b>>>0x2]|=_0x22d147<<0x18-(_0x8145dc+_0x30db5b)%0x4*0x8;}else{for(var _0x4ed861=0x0;_0x4ed861<_0x2f0f30;_0x4ed861+=0x4)_0xa038fb[_0x8145dc+_0x4ed861>>>0x2]=_0x2bf78f[_0x4ed861>>>0x2];}return this[_0x349c86(0x360)]+=_0x2f0f30,this;},'clamp':function(){var _0x4eb79e=_0xfda893,_0x4897bf=this[_0x4eb79e(0x1f3)],_0x269060=this[_0x4eb79e(0x360)];_0x4897bf[_0x269060>>>0x2]&=0xffffffff<<0x20-_0x269060%0x4*0x8,_0x4897bf[_0x4eb79e(0x44b)]=_0x34866f[_0x4eb79e(0x217)](_0x269060/0x4);},'clone':function(){var _0x577637=_0xfda893,_0x39cc6a=_0x592dbf[_0x577637(0x4bc)][_0x577637(0x48d)](this);return _0x39cc6a['words']=this['words'][_0x577637(0x4a6)](0x0),_0x39cc6a;},'random':function(_0x4d34df){var _0x316271=_0xfda893;for(var _0x159dfa=[],_0x4a4991=0x0;_0x4a4991<_0x4d34df;_0x4a4991+=0x4)_0x159dfa[_0x316271(0x3ca)](_0x3c870a());return new _0xfde50a[(_0x316271(0x1f7))](_0x159dfa,_0x4d34df);}}),_0x5aa671=_0x1f4a81['enc']={},_0x43b678=_0x5aa671[_0xfda893(0x294)]={'stringify':function(_0x8596e2){var _0x1dcdef=_0xfda893;for(var _0x4e183b=_0x8596e2[_0x1dcdef(0x1f3)],_0x5310f5=_0x8596e2[_0x1dcdef(0x360)],_0xf6f831=[],_0x12e908=0x0;_0x12e908<_0x5310f5;_0x12e908++){var _0x1559bf=_0x4e183b[_0x12e908>>>0x2]>>>0x18-_0x12e908%0x4*0x8&0xff;_0xf6f831[_0x1dcdef(0x3ca)]((_0x1559bf>>>0x4)[_0x1dcdef(0x1e6)](0x10)),_0xf6f831[_0x1dcdef(0x3ca)]((_0x1559bf&0xf)[_0x1dcdef(0x1e6)](0x10));}return _0xf6f831[_0x1dcdef(0x403)]('');},'parse':function(_0x3d57a7){var _0x2f6c0b=_0xfda893;for(var _0x237a76=_0x3d57a7['length'],_0x54c57e=[],_0x41f915=0x0;_0x41f915<_0x237a76;_0x41f915+=0x2)_0x54c57e[_0x41f915>>>0x3]|=parseInt(_0x3d57a7[_0x2f6c0b(0x397)](_0x41f915,0x2),0x10)<<0x18-_0x41f915%0x8*0x4;return new _0xfde50a[(_0x2f6c0b(0x1f7))](_0x54c57e,_0x237a76/0x2);}},_0x35e683=_0x5aa671['Latin1']={'stringify':function(_0x3b5978){var _0x4ae434=_0xfda893;for(var _0x3c9dc1=_0x3b5978[_0x4ae434(0x1f3)],_0x4e585c=_0x3b5978['sigBytes'],_0x3ea45a=[],_0x37cd1c=0x0;_0x37cd1c<_0x4e585c;_0x37cd1c++){var _0x403d6e=_0x3c9dc1[_0x37cd1c>>>0x2]>>>0x18-_0x37cd1c%0x4*0x8&0xff;_0x3ea45a[_0x4ae434(0x3ca)](String['fromCharCode'](_0x403d6e));}return _0x3ea45a[_0x4ae434(0x403)]('');},'parse':function(_0x2f44ac){var _0x4ac460=_0xfda893;for(var _0x4358a9=_0x2f44ac['length'],_0x3938c8=[],_0x325506=0x0;_0x325506<_0x4358a9;_0x325506++)_0x3938c8[_0x325506>>>0x2]|=(_0x2f44ac[_0x4ac460(0x23a)](_0x325506)&0xff)<<0x18-_0x325506%0x4*0x8;return new _0xfde50a[(_0x4ac460(0x1f7))](_0x3938c8,_0x4358a9);}},_0x4bd750=_0x5aa671[_0xfda893(0x362)]={'stringify':function(_0x298a8e){var _0xdcba1f=_0xfda893;try{return decodeURIComponent(escape(_0x35e683['stringify'](_0x298a8e)));}catch{throw new Error(_0xdcba1f(0x23c));}},'parse':function(_0x32fdc3){var _0x2278a9=_0xfda893;return _0x35e683[_0x2278a9(0x3d8)](unescape(encodeURIComponent(_0x32fdc3)));}},_0x4b7001=_0x4dc36b[_0xfda893(0x2aa)]=_0x592dbf[_0xfda893(0x49a)]({'reset':function(){var _0x175831=_0xfda893;this[_0x175831(0x493)]=new _0xfde50a[(_0x175831(0x1f7))](),this[_0x175831(0x477)]=0x0;},'_append':function(_0x6ff47){var _0x69067b=_0xfda893;typeof _0x6ff47==_0x69067b(0x499)&&(_0x6ff47=_0x4bd750['parse'](_0x6ff47)),this[_0x69067b(0x493)][_0x69067b(0x29d)](_0x6ff47),this[_0x69067b(0x477)]+=_0x6ff47[_0x69067b(0x360)];},'_process':function(_0x5f0236){var _0x1d4c5d=_0xfda893,_0x191e19,_0x533c6b=this[_0x1d4c5d(0x493)],_0x2b9f72=_0x533c6b['words'],_0x3d7198=_0x533c6b['sigBytes'],_0x372a45=this['blockSize'],_0x54fdbb=_0x372a45*0x4,_0x52fbde=_0x3d7198/_0x54fdbb;_0x5f0236?_0x52fbde=_0x34866f['ceil'](_0x52fbde):_0x52fbde=_0x34866f['max']((_0x52fbde|0x0)-this[_0x1d4c5d(0x1fb)],0x0);var _0x32dcea=_0x52fbde*_0x372a45,_0x972b43=_0x34866f['min'](_0x32dcea*0x4,_0x3d7198);if(_0x32dcea){for(var _0x5cf510=0x0;_0x5cf510<_0x32dcea;_0x5cf510+=_0x372a45)this[_0x1d4c5d(0x3f1)](_0x2b9f72,_0x5cf510);_0x191e19=_0x2b9f72[_0x1d4c5d(0x3cc)](0x0,_0x32dcea),_0x533c6b['sigBytes']-=_0x972b43;}return new _0xfde50a['init'](_0x191e19,_0x972b43);},'clone':function(){var _0x818f39=_0xfda893,_0xb58661=_0x592dbf[_0x818f39(0x4bc)][_0x818f39(0x48d)](this);return _0xb58661[_0x818f39(0x493)]=this['_data'][_0x818f39(0x4bc)](),_0xb58661;},'_minBufferSize':0x0});_0x4dc36b[_0xfda893(0x482)]=_0x4b7001[_0xfda893(0x49a)]({'cfg':_0x592dbf['extend'](),'init':function(_0xea5986){var _0x3e022d=_0xfda893;this[_0x3e022d(0x4c8)]=this['cfg'][_0x3e022d(0x49a)](_0xea5986),this[_0x3e022d(0x3ab)]();},'reset':function(){var _0xacbe1f=_0xfda893;_0x4b7001['reset']['call'](this),this[_0xacbe1f(0x3d6)]();},'update':function(_0x5d3d02){return this['_append'](_0x5d3d02),this['_process'](),this;},'finalize':function(_0x42e560){var _0x38ce31=_0xfda893;_0x42e560&&this[_0x38ce31(0x258)](_0x42e560);var _0x3e145d=this['_doFinalize']();return _0x3e145d;},'blockSize':0x10,'_createHelper':function(_0xdcb73c){return function(_0x445f35,_0xa84de1){var _0x515666=_0xb4ca;return new _0xdcb73c['init'](_0xa84de1)[_0x515666(0x2d6)](_0x445f35);};},'_createHmacHelper':function(_0x47e098){return function(_0x22aba2,_0x3b36e6){var _0x201c53=_0xb4ca;return new _0x295461[(_0x201c53(0x26b))][(_0x201c53(0x1f7))](_0x47e098,_0x3b36e6)[_0x201c53(0x2d6)](_0x22aba2);};}});var _0x295461=_0x1f4a81['algo']={};return _0x1f4a81;}(Math);return _0x1287a4;}));}(Ge)),Ge[_0x43813c(0x1d5)];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){var _0x19d807=_0xfe7184;return Zt||(Zt=0x1,function(_0x4bf088,_0x31764d){(function(_0x132247,_0x5f03be){_0x4bf088['exports']=_0x5f03be(ie());}(Es,function(_0x2ee832){var _0x4271a7=_0xb4ca;return(function(){var _0x28ddeb=_0xb4ca,_0x5eb184=_0x2ee832,_0x4f0080=_0x5eb184[_0x28ddeb(0x301)],_0x4e7e3f=_0x4f0080[_0x28ddeb(0x1c6)],_0x80c3e3=_0x5eb184[_0x28ddeb(0x37a)];_0x80c3e3[_0x28ddeb(0x312)]={'stringify':function(_0x4c9357){var _0x59787f=_0x28ddeb,_0x14c651=_0x4c9357[_0x59787f(0x1f3)],_0x1305f7=_0x4c9357[_0x59787f(0x360)],_0x57e8d9=this[_0x59787f(0x49e)];_0x4c9357[_0x59787f(0x257)]();for(var _0x57cc0e=[],_0x7970fa=0x0;_0x7970fa<_0x1305f7;_0x7970fa+=0x3)for(var _0x39a3d0=_0x14c651[_0x7970fa>>>0x2]>>>0x18-_0x7970fa%0x4*0x8&0xff,_0x7404a0=_0x14c651[_0x7970fa+0x1>>>0x2]>>>0x18-(_0x7970fa+0x1)%0x4*0x8&0xff,_0x18cc00=_0x14c651[_0x7970fa+0x2>>>0x2]>>>0x18-(_0x7970fa+0x2)%0x4*0x8&0xff,_0x31ef9c=_0x39a3d0<<0x10|_0x7404a0<<0x8|_0x18cc00,_0x33f9c5=0x0;_0x33f9c5<0x4&&_0x7970fa+_0x33f9c5*0.75<_0x1305f7;_0x33f9c5++)_0x57cc0e['push'](_0x57e8d9['charAt'](_0x31ef9c>>>0x6*(0x3-_0x33f9c5)&0x3f));var _0x2da516=_0x57e8d9[_0x59787f(0x2e7)](0x40);if(_0x2da516){for(;_0x57cc0e[_0x59787f(0x44b)]%0x4;)_0x57cc0e[_0x59787f(0x3ca)](_0x2da516);}return _0x57cc0e[_0x59787f(0x403)]('');},'parse':function(_0x8935b){var _0x7cd56d=_0x28ddeb,_0x15b96e=_0x8935b[_0x7cd56d(0x44b)],_0x1a22b8=this['_map'],_0x503837=this[_0x7cd56d(0x454)];if(!_0x503837){_0x503837=this[_0x7cd56d(0x454)]=[];for(var _0x1fa6db=0x0;_0x1fa6db<_0x1a22b8[_0x7cd56d(0x44b)];_0x1fa6db++)_0x503837[_0x1a22b8[_0x7cd56d(0x23a)](_0x1fa6db)]=_0x1fa6db;}var _0x36443c=_0x1a22b8['charAt'](0x40);if(_0x36443c){var _0x42af06=_0x8935b[_0x7cd56d(0x469)](_0x36443c);_0x42af06!==-0x1&&(_0x15b96e=_0x42af06);}return _0xe26a3b(_0x8935b,_0x15b96e,_0x503837);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xe26a3b(_0x41cefc,_0x11ad41,_0x356e03){var _0x24195d=_0x28ddeb;for(var _0x171616=[],_0xd8faf5=0x0,_0x19b88b=0x0;_0x19b88b<_0x11ad41;_0x19b88b++)if(_0x19b88b%0x4){var _0x10a4c3=_0x356e03[_0x41cefc[_0x24195d(0x23a)](_0x19b88b-0x1)]<<_0x19b88b%0x4*0x2,_0x5418d4=_0x356e03[_0x41cefc[_0x24195d(0x23a)](_0x19b88b)]>>>0x6-_0x19b88b%0x4*0x2,_0x531557=_0x10a4c3|_0x5418d4;_0x171616[_0xd8faf5>>>0x2]|=_0x531557<<0x18-_0xd8faf5%0x4*0x8,_0xd8faf5++;}return _0x4e7e3f[_0x24195d(0x2d9)](_0x171616,_0xd8faf5);}}()),_0x2ee832['enc'][_0x4271a7(0x312)];}));}(We)),We[_0x19d807(0x1d5)];}var Ke={'exports':{}},Is=Ke[_0xfe7184(0x1d5)],Qt;function Ts(){var _0x4b79ce=_0xfe7184;return Qt||(Qt=0x1,function(_0x278f84,_0x253934){(function(_0x32e8b8,_0x226228){_0x278f84['exports']=_0x226228(ie());}(Is,function(_0x756198){return function(_0x30b23b){var _0x581493=_0xb4ca,_0x4977b9=_0x756198,_0x468cf2=_0x4977b9['lib'],_0x38f6b2=_0x468cf2[_0x581493(0x1c6)],_0x13406a=_0x468cf2[_0x581493(0x482)],_0x577850=_0x4977b9[_0x581493(0x24d)],_0x16fd0f=[];(function(){var _0x12bfc8=_0x581493;for(var _0x2f0206=0x0;_0x2f0206<0x40;_0x2f0206++)_0x16fd0f[_0x2f0206]=_0x30b23b['abs'](_0x30b23b[_0x12bfc8(0x1c7)](_0x2f0206+0x1))*0x100000000|0x0;}());var _0x3308be=_0x577850[_0x581493(0x409)]=_0x13406a[_0x581493(0x49a)]({'_doReset':function(){var _0x328c04=_0x581493;this['_hash']=new _0x38f6b2[(_0x328c04(0x1f7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1529e7,_0x49c7f3){var _0x2b476c=_0x581493;for(var _0xa90d21=0x0;_0xa90d21<0x10;_0xa90d21++){var _0xf2c08f=_0x49c7f3+_0xa90d21,_0x1121ca=_0x1529e7[_0xf2c08f];_0x1529e7[_0xf2c08f]=(_0x1121ca<<0x8|_0x1121ca>>>0x18)&0xff00ff|(_0x1121ca<<0x18|_0x1121ca>>>0x8)&0xff00ff00;}var _0x21f986=this[_0x2b476c(0x253)][_0x2b476c(0x1f3)],_0x269c04=_0x1529e7[_0x49c7f3+0x0],_0x53f02b=_0x1529e7[_0x49c7f3+0x1],_0x301e31=_0x1529e7[_0x49c7f3+0x2],_0x55e5f2=_0x1529e7[_0x49c7f3+0x3],_0x4630a2=_0x1529e7[_0x49c7f3+0x4],_0x45d5d1=_0x1529e7[_0x49c7f3+0x5],_0x228a89=_0x1529e7[_0x49c7f3+0x6],_0x5aa775=_0x1529e7[_0x49c7f3+0x7],_0x37f94c=_0x1529e7[_0x49c7f3+0x8],_0x312635=_0x1529e7[_0x49c7f3+0x9],_0x2e9254=_0x1529e7[_0x49c7f3+0xa],_0x1d5cef=_0x1529e7[_0x49c7f3+0xb],_0x1248fd=_0x1529e7[_0x49c7f3+0xc],_0x262e7f=_0x1529e7[_0x49c7f3+0xd],_0x2e58fe=_0x1529e7[_0x49c7f3+0xe],_0x124391=_0x1529e7[_0x49c7f3+0xf],_0x34d076=_0x21f986[0x0],_0x3ceb43=_0x21f986[0x1],_0x1af5cf=_0x21f986[0x2],_0x362e57=_0x21f986[0x3];_0x34d076=_0x368c26(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x269c04,0x7,_0x16fd0f[0x0]),_0x362e57=_0x368c26(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x53f02b,0xc,_0x16fd0f[0x1]),_0x1af5cf=_0x368c26(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x301e31,0x11,_0x16fd0f[0x2]),_0x3ceb43=_0x368c26(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x55e5f2,0x16,_0x16fd0f[0x3]),_0x34d076=_0x368c26(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x4630a2,0x7,_0x16fd0f[0x4]),_0x362e57=_0x368c26(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x45d5d1,0xc,_0x16fd0f[0x5]),_0x1af5cf=_0x368c26(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x228a89,0x11,_0x16fd0f[0x6]),_0x3ceb43=_0x368c26(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x5aa775,0x16,_0x16fd0f[0x7]),_0x34d076=_0x368c26(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x37f94c,0x7,_0x16fd0f[0x8]),_0x362e57=_0x368c26(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x312635,0xc,_0x16fd0f[0x9]),_0x1af5cf=_0x368c26(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x2e9254,0x11,_0x16fd0f[0xa]),_0x3ceb43=_0x368c26(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x1d5cef,0x16,_0x16fd0f[0xb]),_0x34d076=_0x368c26(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x1248fd,0x7,_0x16fd0f[0xc]),_0x362e57=_0x368c26(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x262e7f,0xc,_0x16fd0f[0xd]),_0x1af5cf=_0x368c26(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x2e58fe,0x11,_0x16fd0f[0xe]),_0x3ceb43=_0x368c26(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x124391,0x16,_0x16fd0f[0xf]),_0x34d076=_0x59bc5e(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x53f02b,0x5,_0x16fd0f[0x10]),_0x362e57=_0x59bc5e(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x228a89,0x9,_0x16fd0f[0x11]),_0x1af5cf=_0x59bc5e(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x1d5cef,0xe,_0x16fd0f[0x12]),_0x3ceb43=_0x59bc5e(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x269c04,0x14,_0x16fd0f[0x13]),_0x34d076=_0x59bc5e(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x45d5d1,0x5,_0x16fd0f[0x14]),_0x362e57=_0x59bc5e(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x2e9254,0x9,_0x16fd0f[0x15]),_0x1af5cf=_0x59bc5e(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x124391,0xe,_0x16fd0f[0x16]),_0x3ceb43=_0x59bc5e(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x4630a2,0x14,_0x16fd0f[0x17]),_0x34d076=_0x59bc5e(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x312635,0x5,_0x16fd0f[0x18]),_0x362e57=_0x59bc5e(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x2e58fe,0x9,_0x16fd0f[0x19]),_0x1af5cf=_0x59bc5e(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x55e5f2,0xe,_0x16fd0f[0x1a]),_0x3ceb43=_0x59bc5e(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x37f94c,0x14,_0x16fd0f[0x1b]),_0x34d076=_0x59bc5e(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x262e7f,0x5,_0x16fd0f[0x1c]),_0x362e57=_0x59bc5e(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x301e31,0x9,_0x16fd0f[0x1d]),_0x1af5cf=_0x59bc5e(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x5aa775,0xe,_0x16fd0f[0x1e]),_0x3ceb43=_0x59bc5e(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x1248fd,0x14,_0x16fd0f[0x1f]),_0x34d076=_0x4ebd78(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x45d5d1,0x4,_0x16fd0f[0x20]),_0x362e57=_0x4ebd78(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x37f94c,0xb,_0x16fd0f[0x21]),_0x1af5cf=_0x4ebd78(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x1d5cef,0x10,_0x16fd0f[0x22]),_0x3ceb43=_0x4ebd78(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x2e58fe,0x17,_0x16fd0f[0x23]),_0x34d076=_0x4ebd78(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x53f02b,0x4,_0x16fd0f[0x24]),_0x362e57=_0x4ebd78(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x4630a2,0xb,_0x16fd0f[0x25]),_0x1af5cf=_0x4ebd78(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x5aa775,0x10,_0x16fd0f[0x26]),_0x3ceb43=_0x4ebd78(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x2e9254,0x17,_0x16fd0f[0x27]),_0x34d076=_0x4ebd78(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x262e7f,0x4,_0x16fd0f[0x28]),_0x362e57=_0x4ebd78(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x269c04,0xb,_0x16fd0f[0x29]),_0x1af5cf=_0x4ebd78(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x55e5f2,0x10,_0x16fd0f[0x2a]),_0x3ceb43=_0x4ebd78(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x228a89,0x17,_0x16fd0f[0x2b]),_0x34d076=_0x4ebd78(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x312635,0x4,_0x16fd0f[0x2c]),_0x362e57=_0x4ebd78(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x1248fd,0xb,_0x16fd0f[0x2d]),_0x1af5cf=_0x4ebd78(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x124391,0x10,_0x16fd0f[0x2e]),_0x3ceb43=_0x4ebd78(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x301e31,0x17,_0x16fd0f[0x2f]),_0x34d076=_0x3d28cc(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x269c04,0x6,_0x16fd0f[0x30]),_0x362e57=_0x3d28cc(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x5aa775,0xa,_0x16fd0f[0x31]),_0x1af5cf=_0x3d28cc(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x2e58fe,0xf,_0x16fd0f[0x32]),_0x3ceb43=_0x3d28cc(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x45d5d1,0x15,_0x16fd0f[0x33]),_0x34d076=_0x3d28cc(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x1248fd,0x6,_0x16fd0f[0x34]),_0x362e57=_0x3d28cc(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x55e5f2,0xa,_0x16fd0f[0x35]),_0x1af5cf=_0x3d28cc(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x2e9254,0xf,_0x16fd0f[0x36]),_0x3ceb43=_0x3d28cc(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x53f02b,0x15,_0x16fd0f[0x37]),_0x34d076=_0x3d28cc(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x37f94c,0x6,_0x16fd0f[0x38]),_0x362e57=_0x3d28cc(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x124391,0xa,_0x16fd0f[0x39]),_0x1af5cf=_0x3d28cc(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x228a89,0xf,_0x16fd0f[0x3a]),_0x3ceb43=_0x3d28cc(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x262e7f,0x15,_0x16fd0f[0x3b]),_0x34d076=_0x3d28cc(_0x34d076,_0x3ceb43,_0x1af5cf,_0x362e57,_0x4630a2,0x6,_0x16fd0f[0x3c]),_0x362e57=_0x3d28cc(_0x362e57,_0x34d076,_0x3ceb43,_0x1af5cf,_0x1d5cef,0xa,_0x16fd0f[0x3d]),_0x1af5cf=_0x3d28cc(_0x1af5cf,_0x362e57,_0x34d076,_0x3ceb43,_0x301e31,0xf,_0x16fd0f[0x3e]),_0x3ceb43=_0x3d28cc(_0x3ceb43,_0x1af5cf,_0x362e57,_0x34d076,_0x312635,0x15,_0x16fd0f[0x3f]),_0x21f986[0x0]=_0x21f986[0x0]+_0x34d076|0x0,_0x21f986[0x1]=_0x21f986[0x1]+_0x3ceb43|0x0,_0x21f986[0x2]=_0x21f986[0x2]+_0x1af5cf|0x0,_0x21f986[0x3]=_0x21f986[0x3]+_0x362e57|0x0;},'_doFinalize':function(){var _0x2f01b1=_0x581493,_0x58edb5=this[_0x2f01b1(0x493)],_0x484a71=_0x58edb5[_0x2f01b1(0x1f3)],_0x4b04ac=this[_0x2f01b1(0x477)]*0x8,_0x59f953=_0x58edb5[_0x2f01b1(0x360)]*0x8;_0x484a71[_0x59f953>>>0x5]|=0x80<<0x18-_0x59f953%0x20;var _0x440158=_0x30b23b['floor'](_0x4b04ac/0x100000000),_0x46883a=_0x4b04ac;_0x484a71[(_0x59f953+0x40>>>0x9<<0x4)+0xf]=(_0x440158<<0x8|_0x440158>>>0x18)&0xff00ff|(_0x440158<<0x18|_0x440158>>>0x8)&0xff00ff00,_0x484a71[(_0x59f953+0x40>>>0x9<<0x4)+0xe]=(_0x46883a<<0x8|_0x46883a>>>0x18)&0xff00ff|(_0x46883a<<0x18|_0x46883a>>>0x8)&0xff00ff00,_0x58edb5['sigBytes']=(_0x484a71[_0x2f01b1(0x44b)]+0x1)*0x4,this[_0x2f01b1(0x1f8)]();for(var _0x4cf520=this['_hash'],_0x1ecb32=_0x4cf520[_0x2f01b1(0x1f3)],_0x23ffd4=0x0;_0x23ffd4<0x4;_0x23ffd4++){var _0x36fb15=_0x1ecb32[_0x23ffd4];_0x1ecb32[_0x23ffd4]=(_0x36fb15<<0x8|_0x36fb15>>>0x18)&0xff00ff|(_0x36fb15<<0x18|_0x36fb15>>>0x8)&0xff00ff00;}return _0x4cf520;},'clone':function(){var _0x378b20=_0x581493,_0xad59a0=_0x13406a[_0x378b20(0x4bc)][_0x378b20(0x48d)](this);return _0xad59a0['_hash']=this[_0x378b20(0x253)][_0x378b20(0x4bc)](),_0xad59a0;}});function _0x368c26(_0x206836,_0x3fff10,_0x3bea54,_0x52d72b,_0xaffb86,_0x2257b2,_0x3a9983){var _0x5c0339=_0x206836+(_0x3fff10&_0x3bea54|~_0x3fff10&_0x52d72b)+_0xaffb86+_0x3a9983;return(_0x5c0339<<_0x2257b2|_0x5c0339>>>0x20-_0x2257b2)+_0x3fff10;}function _0x59bc5e(_0x1b05bb,_0x180ab3,_0x3878b3,_0x42f0fa,_0x4ed03e,_0x200bbc,_0x11ec81){var _0x560cd3=_0x1b05bb+(_0x180ab3&_0x42f0fa|_0x3878b3&~_0x42f0fa)+_0x4ed03e+_0x11ec81;return(_0x560cd3<<_0x200bbc|_0x560cd3>>>0x20-_0x200bbc)+_0x180ab3;}function _0x4ebd78(_0x10e03d,_0x49363a,_0x1ffe27,_0x19e49c,_0x2f1429,_0x472bb9,_0xb7471){var _0x3e2081=_0x10e03d+(_0x49363a^_0x1ffe27^_0x19e49c)+_0x2f1429+_0xb7471;return(_0x3e2081<<_0x472bb9|_0x3e2081>>>0x20-_0x472bb9)+_0x49363a;}function _0x3d28cc(_0x296717,_0x420993,_0x254c71,_0x3a0698,_0x142334,_0x123fe3,_0xf9c331){var _0x10e7f0=_0x296717+(_0x254c71^(_0x420993|~_0x3a0698))+_0x142334+_0xf9c331;return(_0x10e7f0<<_0x123fe3|_0x10e7f0>>>0x20-_0x123fe3)+_0x420993;}_0x4977b9[_0x581493(0x409)]=_0x13406a[_0x581493(0x3bc)](_0x3308be),_0x4977b9[_0x581493(0x283)]=_0x13406a[_0x581493(0x314)](_0x3308be);}(Math),_0x756198['MD5'];}));}(Ke)),Ke[_0x4b79ce(0x1d5)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0xfe7184(0x1d5)],ei;function Rs(){var _0x387395=_0xfe7184;return ei||(ei=0x1,function(_0x31026c,_0x4d40e1){(function(_0x47af2e,_0x28d66b){_0x31026c['exports']=_0x28d66b(ie());}(Cs,function(_0x56e4a6){return(function(){var _0x59d768=_0xb4ca,_0x558fc9=_0x56e4a6,_0x1844da=_0x558fc9[_0x59d768(0x301)],_0x4a14e3=_0x1844da[_0x59d768(0x1c6)],_0x286e3e=_0x1844da[_0x59d768(0x482)],_0x27fee7=_0x558fc9[_0x59d768(0x24d)],_0x28350a=[],_0x42d35d=_0x27fee7[_0x59d768(0x304)]=_0x286e3e[_0x59d768(0x49a)]({'_doReset':function(){var _0x3a45ef=_0x59d768;this[_0x3a45ef(0x253)]=new _0x4a14e3[(_0x3a45ef(0x1f7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x88d46e,_0xdce354){var _0x3efb76=_0x59d768;for(var _0x582c41=this[_0x3efb76(0x253)]['words'],_0x22148c=_0x582c41[0x0],_0x328cd6=_0x582c41[0x1],_0x42db72=_0x582c41[0x2],_0x26b13b=_0x582c41[0x3],_0x2ef1a7=_0x582c41[0x4],_0xc6317=0x0;_0xc6317<0x50;_0xc6317++){if(_0xc6317<0x10)_0x28350a[_0xc6317]=_0x88d46e[_0xdce354+_0xc6317]|0x0;else{var _0x7cf429=_0x28350a[_0xc6317-0x3]^_0x28350a[_0xc6317-0x8]^_0x28350a[_0xc6317-0xe]^_0x28350a[_0xc6317-0x10];_0x28350a[_0xc6317]=_0x7cf429<<0x1|_0x7cf429>>>0x1f;}var _0x3df1a8=(_0x22148c<<0x5|_0x22148c>>>0x1b)+_0x2ef1a7+_0x28350a[_0xc6317];_0xc6317<0x14?_0x3df1a8+=(_0x328cd6&_0x42db72|~_0x328cd6&_0x26b13b)+0x5a827999:_0xc6317<0x28?_0x3df1a8+=(_0x328cd6^_0x42db72^_0x26b13b)+0x6ed9eba1:_0xc6317<0x3c?_0x3df1a8+=(_0x328cd6&_0x42db72|_0x328cd6&_0x26b13b|_0x42db72&_0x26b13b)-0x70e44324:_0x3df1a8+=(_0x328cd6^_0x42db72^_0x26b13b)-0x359d3e2a,_0x2ef1a7=_0x26b13b,_0x26b13b=_0x42db72,_0x42db72=_0x328cd6<<0x1e|_0x328cd6>>>0x2,_0x328cd6=_0x22148c,_0x22148c=_0x3df1a8;}_0x582c41[0x0]=_0x582c41[0x0]+_0x22148c|0x0,_0x582c41[0x1]=_0x582c41[0x1]+_0x328cd6|0x0,_0x582c41[0x2]=_0x582c41[0x2]+_0x42db72|0x0,_0x582c41[0x3]=_0x582c41[0x3]+_0x26b13b|0x0,_0x582c41[0x4]=_0x582c41[0x4]+_0x2ef1a7|0x0;},'_doFinalize':function(){var _0x5aba51=_0x59d768,_0x13cc2e=this[_0x5aba51(0x493)],_0x5595ce=_0x13cc2e[_0x5aba51(0x1f3)],_0x19a965=this[_0x5aba51(0x477)]*0x8,_0x683a6b=_0x13cc2e[_0x5aba51(0x360)]*0x8;return _0x5595ce[_0x683a6b>>>0x5]|=0x80<<0x18-_0x683a6b%0x20,_0x5595ce[(_0x683a6b+0x40>>>0x9<<0x4)+0xe]=Math[_0x5aba51(0x3b1)](_0x19a965/0x100000000),_0x5595ce[(_0x683a6b+0x40>>>0x9<<0x4)+0xf]=_0x19a965,_0x13cc2e['sigBytes']=_0x5595ce[_0x5aba51(0x44b)]*0x4,this[_0x5aba51(0x1f8)](),this[_0x5aba51(0x253)];},'clone':function(){var _0x41dec4=_0x59d768,_0x1b8a45=_0x286e3e['clone'][_0x41dec4(0x48d)](this);return _0x1b8a45[_0x41dec4(0x253)]=this[_0x41dec4(0x253)][_0x41dec4(0x4bc)](),_0x1b8a45;}});_0x558fc9[_0x59d768(0x304)]=_0x286e3e[_0x59d768(0x3bc)](_0x42d35d),_0x558fc9[_0x59d768(0x36d)]=_0x286e3e['_createHmacHelper'](_0x42d35d);}()),_0x56e4a6['SHA1'];}));}(qe)),qe[_0x387395(0x1d5)];}var ze={'exports':{}},bs=ze[_0xfe7184(0x1d5)],ti;function Os(){var _0x288ace=_0xfe7184;return ti||(ti=0x1,function(_0x519061,_0x5f15d4){(function(_0x37eafb,_0x347b37){var _0x4ef03d=_0xb4ca;_0x519061[_0x4ef03d(0x1d5)]=_0x347b37(ie());}(bs,function(_0x3f7496){(function(){var _0x4f1a46=_0xb4ca,_0x4802fa=_0x3f7496,_0x2eae94=_0x4802fa[_0x4f1a46(0x301)],_0x3a8cc5=_0x2eae94[_0x4f1a46(0x2a7)],_0x573380=_0x4802fa[_0x4f1a46(0x37a)],_0x37a318=_0x573380[_0x4f1a46(0x362)],_0x22a8f1=_0x4802fa['algo'];_0x22a8f1[_0x4f1a46(0x26b)]=_0x3a8cc5[_0x4f1a46(0x49a)]({'init':function(_0x2b782a,_0x50574e){var _0x3dd4e7=_0x4f1a46;_0x2b782a=this[_0x3dd4e7(0x3d9)]=new _0x2b782a[(_0x3dd4e7(0x1f7))](),typeof _0x50574e=='string'&&(_0x50574e=_0x37a318[_0x3dd4e7(0x3d8)](_0x50574e));var _0x5b8375=_0x2b782a['blockSize'],_0x279bda=_0x5b8375*0x4;_0x50574e['sigBytes']>_0x279bda&&(_0x50574e=_0x2b782a[_0x3dd4e7(0x2d6)](_0x50574e)),_0x50574e[_0x3dd4e7(0x257)]();for(var _0x7f9d59=this[_0x3dd4e7(0x30e)]=_0x50574e[_0x3dd4e7(0x4bc)](),_0x57f926=this['_iKey']=_0x50574e[_0x3dd4e7(0x4bc)](),_0x15a783=_0x7f9d59[_0x3dd4e7(0x1f3)],_0x275136=_0x57f926['words'],_0x3b8b9d=0x0;_0x3b8b9d<_0x5b8375;_0x3b8b9d++)_0x15a783[_0x3b8b9d]^=0x5c5c5c5c,_0x275136[_0x3b8b9d]^=0x36363636;_0x7f9d59[_0x3dd4e7(0x360)]=_0x57f926['sigBytes']=_0x279bda,this[_0x3dd4e7(0x3ab)]();},'reset':function(){var _0x5c94bc=_0x4f1a46,_0x13a909=this[_0x5c94bc(0x3d9)];_0x13a909[_0x5c94bc(0x3ab)](),_0x13a909['update'](this['_iKey']);},'update':function(_0x5822cf){var _0x16dcfd=_0x4f1a46;return this[_0x16dcfd(0x3d9)][_0x16dcfd(0x3dc)](_0x5822cf),this;},'finalize':function(_0x34c6b7){var _0x698b3f=_0x4f1a46,_0x582e21=this[_0x698b3f(0x3d9)],_0x45bfad=_0x582e21['finalize'](_0x34c6b7);_0x582e21[_0x698b3f(0x3ab)]();var _0x325b45=_0x582e21['finalize'](this[_0x698b3f(0x30e)]['clone']()['concat'](_0x45bfad));return _0x325b45;}});}());}));}(ze)),ze[_0x288ace(0x1d5)];}var ys=Ye[_0xfe7184(0x1d5)],ii;function Ui(){return ii||(ii=0x1,function(_0x34e840,_0x3822b0){(function(_0x596687,_0x163d81,_0x159abe){_0x34e840['exports']=_0x163d81(ie(),Rs(),Os());}(ys,function(_0x29f2c7){return(function(){var _0xacdb7a=_0xb4ca,_0x5d6a24=_0x29f2c7,_0x2be5ae=_0x5d6a24['lib'],_0x9bf29b=_0x2be5ae[_0xacdb7a(0x2a7)],_0x5be898=_0x2be5ae[_0xacdb7a(0x1c6)],_0xd6a4b=_0x5d6a24[_0xacdb7a(0x24d)],_0x55e9bb=_0xd6a4b[_0xacdb7a(0x409)],_0x14c5bf=_0xd6a4b[_0xacdb7a(0x381)]=_0x9bf29b[_0xacdb7a(0x49a)]({'cfg':_0x9bf29b[_0xacdb7a(0x49a)]({'keySize':0x80/0x20,'hasher':_0x55e9bb,'iterations':0x1}),'init':function(_0x2ddc9e){var _0x4930fa=_0xacdb7a;this[_0x4930fa(0x4c8)]=this['cfg'][_0x4930fa(0x49a)](_0x2ddc9e);},'compute':function(_0x3435d1,_0x11d202){var _0x1ddac6=_0xacdb7a;for(var _0x3985f5,_0xef4bb3=this['cfg'],_0x5c6b59=_0xef4bb3[_0x1ddac6(0x41f)][_0x1ddac6(0x2d9)](),_0x15d7e7=_0x5be898[_0x1ddac6(0x2d9)](),_0x5b68fb=_0x15d7e7[_0x1ddac6(0x1f3)],_0x3efda3=_0xef4bb3[_0x1ddac6(0x4b2)],_0x5bc98c=_0xef4bb3[_0x1ddac6(0x250)];_0x5b68fb[_0x1ddac6(0x44b)]<_0x3efda3;){_0x3985f5&&_0x5c6b59['update'](_0x3985f5),_0x3985f5=_0x5c6b59[_0x1ddac6(0x3dc)](_0x3435d1)[_0x1ddac6(0x2d6)](_0x11d202),_0x5c6b59['reset']();for(var _0x53df39=0x1;_0x53df39<_0x5bc98c;_0x53df39++)_0x3985f5=_0x5c6b59[_0x1ddac6(0x2d6)](_0x3985f5),_0x5c6b59[_0x1ddac6(0x3ab)]();_0x15d7e7[_0x1ddac6(0x29d)](_0x3985f5);}return _0x15d7e7[_0x1ddac6(0x360)]=_0x3efda3*0x4,_0x15d7e7;}});_0x5d6a24[_0xacdb7a(0x381)]=function(_0x474ac9,_0xd50b37,_0x51997d){var _0xdd4e18=_0xacdb7a;return _0x14c5bf['create'](_0x51997d)[_0xdd4e18(0x471)](_0x474ac9,_0xd50b37);};}()),_0x29f2c7['EvpKDF'];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x2cb4b5=_0xfe7184;return ni||(ni=0x1,function(_0x87c07a,_0x5b7836){(function(_0x44fde9,_0x387e7b,_0x361e1c){var _0x3c5f7c=_0xb4ca;_0x87c07a[_0x3c5f7c(0x1d5)]=_0x387e7b(ie(),Ui());}(Ns,function(_0x2a9659){var _0x377de3=_0xb4ca;_0x2a9659[_0x377de3(0x301)][_0x377de3(0x1c4)]||function(_0x2b31f4){var _0x137f6d=_0x377de3,_0x4deccf=_0x2a9659,_0x58c6d2=_0x4deccf['lib'],_0x471f41=_0x58c6d2['Base'],_0x2b8064=_0x58c6d2[_0x137f6d(0x1c6)],_0x48ece9=_0x58c6d2[_0x137f6d(0x2aa)],_0x1981eb=_0x4deccf['enc'];_0x1981eb[_0x137f6d(0x362)];var _0x434c53=_0x1981eb[_0x137f6d(0x312)],_0x2e345f=_0x4deccf['algo'],_0xbf8046=_0x2e345f[_0x137f6d(0x381)],_0xc6df2b=_0x58c6d2['Cipher']=_0x48ece9[_0x137f6d(0x49a)]({'cfg':_0x471f41[_0x137f6d(0x49a)](),'createEncryptor':function(_0x1b8379,_0x3fe400){var _0x411199=_0x137f6d;return this[_0x411199(0x2d9)](this[_0x411199(0x249)],_0x1b8379,_0x3fe400);},'createDecryptor':function(_0x2678ae,_0x3d780c){var _0x1089e3=_0x137f6d;return this[_0x1089e3(0x2d9)](this[_0x1089e3(0x427)],_0x2678ae,_0x3d780c);},'init':function(_0x3f845e,_0x4781b0,_0x22bbc7){var _0x3e54c7=_0x137f6d;this[_0x3e54c7(0x4c8)]=this[_0x3e54c7(0x4c8)][_0x3e54c7(0x49a)](_0x22bbc7),this[_0x3e54c7(0x3fe)]=_0x3f845e,this[_0x3e54c7(0x3aa)]=_0x4781b0,this[_0x3e54c7(0x3ab)]();},'reset':function(){var _0x1dd60d=_0x137f6d;_0x48ece9[_0x1dd60d(0x3ab)][_0x1dd60d(0x48d)](this),this['_doReset']();},'process':function(_0x4ebf1d){var _0x5b6f8b=_0x137f6d;return this[_0x5b6f8b(0x258)](_0x4ebf1d),this[_0x5b6f8b(0x1f8)]();},'finalize':function(_0x2745eb){var _0x49d74d=_0x137f6d;_0x2745eb&&this['_append'](_0x2745eb);var _0x191ec3=this[_0x49d74d(0x3e3)]();return _0x191ec3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x58677e(_0x5799a2){var _0x54e815=_0xb4ca;return typeof _0x5799a2==_0x54e815(0x499)?_0x34bd0c:_0x131ddb;}return function(_0x17d0c0){return{'encrypt':function(_0x360a70,_0x287edf,_0x3ccfb0){var _0x5a5bbd=_0xb4ca;return _0x58677e(_0x287edf)[_0x5a5bbd(0x212)](_0x17d0c0,_0x360a70,_0x287edf,_0x3ccfb0);},'decrypt':function(_0x102709,_0x518bce,_0x374eb5){var _0x56dbbd=_0xb4ca;return _0x58677e(_0x518bce)[_0x56dbbd(0x215)](_0x17d0c0,_0x102709,_0x518bce,_0x374eb5);}};};}())});_0x58c6d2[_0x137f6d(0x45e)]=_0xc6df2b[_0x137f6d(0x49a)]({'_doFinalize':function(){var _0x37789f=_0x137f6d,_0x385645=this[_0x37789f(0x1f8)](!0x0);return _0x385645;},'blockSize':0x1});var _0x4ce1b3=_0x4deccf[_0x137f6d(0x233)]={},_0x558757=_0x58c6d2[_0x137f6d(0x3c0)]=_0x471f41[_0x137f6d(0x49a)]({'createEncryptor':function(_0x7dbcc3,_0x413fd0){var _0xb7797=_0x137f6d;return this['Encryptor'][_0xb7797(0x2d9)](_0x7dbcc3,_0x413fd0);},'createDecryptor':function(_0x35c670,_0x34d902){var _0x4fa923=_0x137f6d;return this[_0x4fa923(0x33b)][_0x4fa923(0x2d9)](_0x35c670,_0x34d902);},'init':function(_0x784d83,_0x52a58c){var _0x4ba591=_0x137f6d;this['_cipher']=_0x784d83,this[_0x4ba591(0x488)]=_0x52a58c;}}),_0x15dbf5=_0x4ce1b3[_0x137f6d(0x273)]=(function(){var _0xffba2c=_0x137f6d,_0x358c70=_0x558757[_0xffba2c(0x49a)]();_0x358c70[_0xffba2c(0x45c)]=_0x358c70['extend']({'processBlock':function(_0x171d73,_0x1e1eac){var _0xdb2f84=_0xffba2c,_0xc83069=this[_0xdb2f84(0x203)],_0x36dbaf=_0xc83069[_0xdb2f84(0x2d7)];_0x36bf87[_0xdb2f84(0x48d)](this,_0x171d73,_0x1e1eac,_0x36dbaf),_0xc83069[_0xdb2f84(0x337)](_0x171d73,_0x1e1eac),this[_0xdb2f84(0x1ca)]=_0x171d73['slice'](_0x1e1eac,_0x1e1eac+_0x36dbaf);}}),_0x358c70[_0xffba2c(0x33b)]=_0x358c70[_0xffba2c(0x49a)]({'processBlock':function(_0x5cc269,_0x12ad22){var _0x20552b=_0xffba2c,_0xe51d1c=this['_cipher'],_0x5bb65d=_0xe51d1c[_0x20552b(0x2d7)],_0x5ce7eb=_0x5cc269[_0x20552b(0x4a6)](_0x12ad22,_0x12ad22+_0x5bb65d);_0xe51d1c[_0x20552b(0x37b)](_0x5cc269,_0x12ad22),_0x36bf87['call'](this,_0x5cc269,_0x12ad22,_0x5bb65d),this[_0x20552b(0x1ca)]=_0x5ce7eb;}});function _0x36bf87(_0x2de7e8,_0x1eb10b,_0x14a73d){var _0x39c4e=_0xffba2c,_0xe8c96e,_0x1143a8=this[_0x39c4e(0x488)];_0x1143a8?(_0xe8c96e=_0x1143a8,this['_iv']=_0x2b31f4):_0xe8c96e=this[_0x39c4e(0x1ca)];for(var _0x3cc4aa=0x0;_0x3cc4aa<_0x14a73d;_0x3cc4aa++)_0x2de7e8[_0x1eb10b+_0x3cc4aa]^=_0xe8c96e[_0x3cc4aa];}return _0x358c70;}()),_0x518f8e=_0x4deccf[_0x137f6d(0x428)]={},_0x1f525e=_0x518f8e[_0x137f6d(0x451)]={'pad':function(_0x1293cd,_0x14db5e){var _0x31631b=_0x137f6d;for(var _0x34cfad=_0x14db5e*0x4,_0x56d81d=_0x34cfad-_0x1293cd[_0x31631b(0x360)]%_0x34cfad,_0x55d8d8=_0x56d81d<<0x18|_0x56d81d<<0x10|_0x56d81d<<0x8|_0x56d81d,_0x54e0cf=[],_0x2558e9=0x0;_0x2558e9<_0x56d81d;_0x2558e9+=0x4)_0x54e0cf['push'](_0x55d8d8);var _0x1cb99b=_0x2b8064[_0x31631b(0x2d9)](_0x54e0cf,_0x56d81d);_0x1293cd['concat'](_0x1cb99b);},'unpad':function(_0x20e25a){var _0x169386=_0x137f6d,_0x244731=_0x20e25a[_0x169386(0x1f3)][_0x20e25a['sigBytes']-0x1>>>0x2]&0xff;_0x20e25a[_0x169386(0x360)]-=_0x244731;}};_0x58c6d2[_0x137f6d(0x405)]=_0xc6df2b['extend']({'cfg':_0xc6df2b[_0x137f6d(0x4c8)][_0x137f6d(0x49a)]({'mode':_0x15dbf5,'padding':_0x1f525e}),'reset':function(){var _0x354985=_0x137f6d,_0x43420a;_0xc6df2b[_0x354985(0x3ab)][_0x354985(0x48d)](this);var _0x3c6d3d=this[_0x354985(0x4c8)],_0x4529c3=_0x3c6d3d['iv'],_0x3592c9=_0x3c6d3d[_0x354985(0x233)];this[_0x354985(0x3fe)]==this[_0x354985(0x249)]?_0x43420a=_0x3592c9[_0x354985(0x4d0)]:(_0x43420a=_0x3592c9[_0x354985(0x4b9)],this['_minBufferSize']=0x1),this[_0x354985(0x4aa)]&&this[_0x354985(0x4aa)]['__creator']==_0x43420a?this[_0x354985(0x4aa)][_0x354985(0x1f7)](this,_0x4529c3&&_0x4529c3[_0x354985(0x1f3)]):(this[_0x354985(0x4aa)]=_0x43420a[_0x354985(0x48d)](_0x3592c9,this,_0x4529c3&&_0x4529c3[_0x354985(0x1f3)]),this[_0x354985(0x4aa)][_0x354985(0x49c)]=_0x43420a);},'_doProcessBlock':function(_0x2b8596,_0x57ce32){var _0xf74c42=_0x137f6d;this[_0xf74c42(0x4aa)][_0xf74c42(0x202)](_0x2b8596,_0x57ce32);},'_doFinalize':function(){var _0x42c577=_0x137f6d,_0x162a9a,_0xd787b7=this[_0x42c577(0x4c8)][_0x42c577(0x4be)];return this[_0x42c577(0x3fe)]==this[_0x42c577(0x249)]?(_0xd787b7[_0x42c577(0x428)](this[_0x42c577(0x493)],this[_0x42c577(0x2d7)]),_0x162a9a=this[_0x42c577(0x1f8)](!0x0)):(_0x162a9a=this[_0x42c577(0x1f8)](!0x0),_0xd787b7[_0x42c577(0x387)](_0x162a9a)),_0x162a9a;},'blockSize':0x80/0x20});var _0x49a7f5=_0x58c6d2[_0x137f6d(0x382)]=_0x471f41['extend']({'init':function(_0x3f1f7e){var _0x4932b6=_0x137f6d;this[_0x4932b6(0x238)](_0x3f1f7e);},'toString':function(_0x2eb6c9){var _0x2762c2=_0x137f6d;return(_0x2eb6c9||this['formatter'])[_0x2762c2(0x291)](this);}}),_0x505b47=_0x4deccf['format']={},_0x49a1de=_0x505b47['OpenSSL']={'stringify':function(_0x21d332){var _0x51d385=_0x137f6d,_0x3c194d,_0x4ceb1b=_0x21d332[_0x51d385(0x2e3)],_0x29de2e=_0x21d332['salt'];return _0x29de2e?_0x3c194d=_0x2b8064[_0x51d385(0x2d9)]([0x53616c74,0x65645f5f])[_0x51d385(0x29d)](_0x29de2e)['concat'](_0x4ceb1b):_0x3c194d=_0x4ceb1b,_0x3c194d[_0x51d385(0x1e6)](_0x434c53);},'parse':function(_0x34a52c){var _0x372f5c=_0x137f6d,_0x2caecb,_0x121f6a=_0x434c53[_0x372f5c(0x3d8)](_0x34a52c),_0x278562=_0x121f6a['words'];return _0x278562[0x0]==0x53616c74&&_0x278562[0x1]==0x65645f5f&&(_0x2caecb=_0x2b8064['create'](_0x278562['slice'](0x2,0x4)),_0x278562[_0x372f5c(0x3cc)](0x0,0x4),_0x121f6a['sigBytes']-=0x10),_0x49a7f5[_0x372f5c(0x2d9)]({'ciphertext':_0x121f6a,'salt':_0x2caecb});}},_0x131ddb=_0x58c6d2[_0x137f6d(0x1c8)]=_0x471f41[_0x137f6d(0x49a)]({'cfg':_0x471f41[_0x137f6d(0x49a)]({'format':_0x49a1de}),'encrypt':function(_0x1f44af,_0x62b46,_0x300e3a,_0x58fa8f){var _0x48cd92=_0x137f6d;_0x58fa8f=this[_0x48cd92(0x4c8)][_0x48cd92(0x49a)](_0x58fa8f);var _0x2600ff=_0x1f44af[_0x48cd92(0x4d0)](_0x300e3a,_0x58fa8f),_0x469dc3=_0x2600ff['finalize'](_0x62b46),_0x303285=_0x2600ff[_0x48cd92(0x4c8)];return _0x49a7f5[_0x48cd92(0x2d9)]({'ciphertext':_0x469dc3,'key':_0x300e3a,'iv':_0x303285['iv'],'algorithm':_0x1f44af,'mode':_0x303285['mode'],'padding':_0x303285[_0x48cd92(0x4be)],'blockSize':_0x1f44af[_0x48cd92(0x2d7)],'formatter':_0x58fa8f[_0x48cd92(0x28b)]});},'decrypt':function(_0x63e9b2,_0x9ccd22,_0x49092d,_0x2117b3){var _0x2451e5=_0x137f6d;_0x2117b3=this['cfg'][_0x2451e5(0x49a)](_0x2117b3),_0x9ccd22=this['_parse'](_0x9ccd22,_0x2117b3[_0x2451e5(0x28b)]);var _0x121ec3=_0x63e9b2[_0x2451e5(0x4b9)](_0x49092d,_0x2117b3)[_0x2451e5(0x2d6)](_0x9ccd22['ciphertext']);return _0x121ec3;},'_parse':function(_0x2378a6,_0x22dce0){var _0x4d5cd4=_0x137f6d;return typeof _0x2378a6==_0x4d5cd4(0x499)?_0x22dce0[_0x4d5cd4(0x3d8)](_0x2378a6,this):_0x2378a6;}}),_0x24150a=_0x4deccf[_0x137f6d(0x2cd)]={},_0x4459d1=_0x24150a[_0x137f6d(0x39a)]={'execute':function(_0x32a6c0,_0x4e65b9,_0x3ffaed,_0x4113a6,_0x133160){var _0x1665b5=_0x137f6d;if(_0x4113a6||(_0x4113a6=_0x2b8064[_0x1665b5(0x4c2)](0x40/0x8)),_0x133160)var _0x5b1bec=_0xbf8046[_0x1665b5(0x2d9)]({'keySize':_0x4e65b9+_0x3ffaed,'hasher':_0x133160})[_0x1665b5(0x471)](_0x32a6c0,_0x4113a6);else var _0x5b1bec=_0xbf8046[_0x1665b5(0x2d9)]({'keySize':_0x4e65b9+_0x3ffaed})[_0x1665b5(0x471)](_0x32a6c0,_0x4113a6);var _0xe1e50=_0x2b8064['create'](_0x5b1bec[_0x1665b5(0x1f3)]['slice'](_0x4e65b9),_0x3ffaed*0x4);return _0x5b1bec[_0x1665b5(0x360)]=_0x4e65b9*0x4,_0x49a7f5[_0x1665b5(0x2d9)]({'key':_0x5b1bec,'iv':_0xe1e50,'salt':_0x4113a6});}},_0x34bd0c=_0x58c6d2[_0x137f6d(0x3d7)]=_0x131ddb[_0x137f6d(0x49a)]({'cfg':_0x131ddb[_0x137f6d(0x4c8)]['extend']({'kdf':_0x4459d1}),'encrypt':function(_0x20141c,_0x1c5382,_0x415fe6,_0x4343ba){var _0x485786=_0x137f6d;_0x4343ba=this[_0x485786(0x4c8)][_0x485786(0x49a)](_0x4343ba);var _0x5358db=_0x4343ba['kdf']['execute'](_0x415fe6,_0x20141c['keySize'],_0x20141c[_0x485786(0x371)],_0x4343ba[_0x485786(0x25e)],_0x4343ba[_0x485786(0x41f)]);_0x4343ba['iv']=_0x5358db['iv'];var _0x35f8de=_0x131ddb[_0x485786(0x212)]['call'](this,_0x20141c,_0x1c5382,_0x5358db[_0x485786(0x2a5)],_0x4343ba);return _0x35f8de[_0x485786(0x238)](_0x5358db),_0x35f8de;},'decrypt':function(_0x226317,_0x2d714c,_0x564ac3,_0x385b83){var _0x2794be=_0x137f6d;_0x385b83=this['cfg'][_0x2794be(0x49a)](_0x385b83),_0x2d714c=this[_0x2794be(0x42c)](_0x2d714c,_0x385b83[_0x2794be(0x28b)]);var _0x244b90=_0x385b83['kdf'][_0x2794be(0x21c)](_0x564ac3,_0x226317[_0x2794be(0x4b2)],_0x226317[_0x2794be(0x371)],_0x2d714c[_0x2794be(0x25e)],_0x385b83[_0x2794be(0x41f)]);_0x385b83['iv']=_0x244b90['iv'];var _0x5a9e71=_0x131ddb[_0x2794be(0x215)]['call'](this,_0x226317,_0x2d714c,_0x244b90[_0x2794be(0x2a5)],_0x385b83);return _0x5a9e71;}});}();}));}(Je)),Je[_0x2cb4b5(0x1d5)];}var Ds=Ve[_0xfe7184(0x1d5)],si;function Us(){var _0x3df834=_0xfe7184;return si||(si=0x1,function(_0x510204,_0x189fff){(function(_0x41da6e,_0x470c8d,_0x4caffb){_0x510204['exports']=_0x470c8d(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x542ac6){var _0x2dfd65=_0xb4ca;return(function(){var _0xdba12a=_0xb4ca,_0x56df87=_0x542ac6,_0x197280=_0x56df87[_0xdba12a(0x301)],_0x47b3fc=_0x197280[_0xdba12a(0x405)],_0x520c08=_0x56df87[_0xdba12a(0x24d)],_0x6e9777=[],_0x5d319f=[],_0x5c3b3b=[],_0x302c02=[],_0x27c48c=[],_0x3853b7=[],_0xd53e02=[],_0x49c76b=[],_0x29b2bf=[],_0x1a31d4=[];(function(){for(var _0x66df53=[],_0x292703=0x0;_0x292703<0x100;_0x292703++)_0x292703<0x80?_0x66df53[_0x292703]=_0x292703<<0x1:_0x66df53[_0x292703]=_0x292703<<0x1^0x11b;for(var _0x126886=0x0,_0x1c758a=0x0,_0x292703=0x0;_0x292703<0x100;_0x292703++){var _0x1a958f=_0x1c758a^_0x1c758a<<0x1^_0x1c758a<<0x2^_0x1c758a<<0x3^_0x1c758a<<0x4;_0x1a958f=_0x1a958f>>>0x8^_0x1a958f&0xff^0x63,_0x6e9777[_0x126886]=_0x1a958f,_0x5d319f[_0x1a958f]=_0x126886;var _0x1ce66c=_0x66df53[_0x126886],_0xc1417c=_0x66df53[_0x1ce66c],_0x1723c9=_0x66df53[_0xc1417c],_0x5141ff=_0x66df53[_0x1a958f]*0x101^_0x1a958f*0x1010100;_0x5c3b3b[_0x126886]=_0x5141ff<<0x18|_0x5141ff>>>0x8,_0x302c02[_0x126886]=_0x5141ff<<0x10|_0x5141ff>>>0x10,_0x27c48c[_0x126886]=_0x5141ff<<0x8|_0x5141ff>>>0x18,_0x3853b7[_0x126886]=_0x5141ff;var _0x5141ff=_0x1723c9*0x1010101^_0xc1417c*0x10001^_0x1ce66c*0x101^_0x126886*0x1010100;_0xd53e02[_0x1a958f]=_0x5141ff<<0x18|_0x5141ff>>>0x8,_0x49c76b[_0x1a958f]=_0x5141ff<<0x10|_0x5141ff>>>0x10,_0x29b2bf[_0x1a958f]=_0x5141ff<<0x8|_0x5141ff>>>0x18,_0x1a31d4[_0x1a958f]=_0x5141ff,_0x126886?(_0x126886=_0x1ce66c^_0x66df53[_0x66df53[_0x66df53[_0x1723c9^_0x1ce66c]]],_0x1c758a^=_0x66df53[_0x66df53[_0x1c758a]]):_0x126886=_0x1c758a=0x1;}}());var _0x4a7235=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2db473=_0x520c08['AES']=_0x47b3fc['extend']({'_doReset':function(){var _0x572b04=_0xdba12a,_0x2c9b02;if(!(this[_0x572b04(0x271)]&&this['_keyPriorReset']===this[_0x572b04(0x3aa)])){for(var _0x5abfc7=this[_0x572b04(0x372)]=this[_0x572b04(0x3aa)],_0x3f9470=_0x5abfc7[_0x572b04(0x1f3)],_0x107186=_0x5abfc7['sigBytes']/0x4,_0x4792b5=this[_0x572b04(0x271)]=_0x107186+0x6,_0x481b0b=(_0x4792b5+0x1)*0x4,_0x29b626=this[_0x572b04(0x27b)]=[],_0x11f3e3=0x0;_0x11f3e3<_0x481b0b;_0x11f3e3++)_0x11f3e3<_0x107186?_0x29b626[_0x11f3e3]=_0x3f9470[_0x11f3e3]:(_0x2c9b02=_0x29b626[_0x11f3e3-0x1],_0x11f3e3%_0x107186?_0x107186>0x6&&_0x11f3e3%_0x107186==0x4&&(_0x2c9b02=_0x6e9777[_0x2c9b02>>>0x18]<<0x18|_0x6e9777[_0x2c9b02>>>0x10&0xff]<<0x10|_0x6e9777[_0x2c9b02>>>0x8&0xff]<<0x8|_0x6e9777[_0x2c9b02&0xff]):(_0x2c9b02=_0x2c9b02<<0x8|_0x2c9b02>>>0x18,_0x2c9b02=_0x6e9777[_0x2c9b02>>>0x18]<<0x18|_0x6e9777[_0x2c9b02>>>0x10&0xff]<<0x10|_0x6e9777[_0x2c9b02>>>0x8&0xff]<<0x8|_0x6e9777[_0x2c9b02&0xff],_0x2c9b02^=_0x4a7235[_0x11f3e3/_0x107186|0x0]<<0x18),_0x29b626[_0x11f3e3]=_0x29b626[_0x11f3e3-_0x107186]^_0x2c9b02);for(var _0x36d6c8=this[_0x572b04(0x3b5)]=[],_0x2a1bc5=0x0;_0x2a1bc5<_0x481b0b;_0x2a1bc5++){var _0x11f3e3=_0x481b0b-_0x2a1bc5;if(_0x2a1bc5%0x4)var _0x2c9b02=_0x29b626[_0x11f3e3];else var _0x2c9b02=_0x29b626[_0x11f3e3-0x4];_0x2a1bc5<0x4||_0x11f3e3<=0x4?_0x36d6c8[_0x2a1bc5]=_0x2c9b02:_0x36d6c8[_0x2a1bc5]=_0xd53e02[_0x6e9777[_0x2c9b02>>>0x18]]^_0x49c76b[_0x6e9777[_0x2c9b02>>>0x10&0xff]]^_0x29b2bf[_0x6e9777[_0x2c9b02>>>0x8&0xff]]^_0x1a31d4[_0x6e9777[_0x2c9b02&0xff]];}}},'encryptBlock':function(_0x39ca56,_0x4abdca){this['_doCryptBlock'](_0x39ca56,_0x4abdca,this['_keySchedule'],_0x5c3b3b,_0x302c02,_0x27c48c,_0x3853b7,_0x6e9777);},'decryptBlock':function(_0x1f1745,_0x24d184){var _0x3cae80=_0xdba12a,_0x561f3e=_0x1f1745[_0x24d184+0x1];_0x1f1745[_0x24d184+0x1]=_0x1f1745[_0x24d184+0x3],_0x1f1745[_0x24d184+0x3]=_0x561f3e,this[_0x3cae80(0x447)](_0x1f1745,_0x24d184,this[_0x3cae80(0x3b5)],_0xd53e02,_0x49c76b,_0x29b2bf,_0x1a31d4,_0x5d319f);var _0x561f3e=_0x1f1745[_0x24d184+0x1];_0x1f1745[_0x24d184+0x1]=_0x1f1745[_0x24d184+0x3],_0x1f1745[_0x24d184+0x3]=_0x561f3e;},'_doCryptBlock':function(_0x52b2e4,_0x4ff052,_0x573b63,_0x4e8d2e,_0x2d4314,_0x26699e,_0x229bbe,_0x1f8eb4){var _0x20249c=_0xdba12a;for(var _0x5d0628=this[_0x20249c(0x271)],_0x255eb8=_0x52b2e4[_0x4ff052]^_0x573b63[0x0],_0x4a5ed2=_0x52b2e4[_0x4ff052+0x1]^_0x573b63[0x1],_0x180e43=_0x52b2e4[_0x4ff052+0x2]^_0x573b63[0x2],_0x193776=_0x52b2e4[_0x4ff052+0x3]^_0x573b63[0x3],_0x8551be=0x4,_0x56b196=0x1;_0x56b196<_0x5d0628;_0x56b196++){var _0x19274c=_0x4e8d2e[_0x255eb8>>>0x18]^_0x2d4314[_0x4a5ed2>>>0x10&0xff]^_0x26699e[_0x180e43>>>0x8&0xff]^_0x229bbe[_0x193776&0xff]^_0x573b63[_0x8551be++],_0x4f5e90=_0x4e8d2e[_0x4a5ed2>>>0x18]^_0x2d4314[_0x180e43>>>0x10&0xff]^_0x26699e[_0x193776>>>0x8&0xff]^_0x229bbe[_0x255eb8&0xff]^_0x573b63[_0x8551be++],_0x789949=_0x4e8d2e[_0x180e43>>>0x18]^_0x2d4314[_0x193776>>>0x10&0xff]^_0x26699e[_0x255eb8>>>0x8&0xff]^_0x229bbe[_0x4a5ed2&0xff]^_0x573b63[_0x8551be++],_0x406d1d=_0x4e8d2e[_0x193776>>>0x18]^_0x2d4314[_0x255eb8>>>0x10&0xff]^_0x26699e[_0x4a5ed2>>>0x8&0xff]^_0x229bbe[_0x180e43&0xff]^_0x573b63[_0x8551be++];_0x255eb8=_0x19274c,_0x4a5ed2=_0x4f5e90,_0x180e43=_0x789949,_0x193776=_0x406d1d;}var _0x19274c=(_0x1f8eb4[_0x255eb8>>>0x18]<<0x18|_0x1f8eb4[_0x4a5ed2>>>0x10&0xff]<<0x10|_0x1f8eb4[_0x180e43>>>0x8&0xff]<<0x8|_0x1f8eb4[_0x193776&0xff])^_0x573b63[_0x8551be++],_0x4f5e90=(_0x1f8eb4[_0x4a5ed2>>>0x18]<<0x18|_0x1f8eb4[_0x180e43>>>0x10&0xff]<<0x10|_0x1f8eb4[_0x193776>>>0x8&0xff]<<0x8|_0x1f8eb4[_0x255eb8&0xff])^_0x573b63[_0x8551be++],_0x789949=(_0x1f8eb4[_0x180e43>>>0x18]<<0x18|_0x1f8eb4[_0x193776>>>0x10&0xff]<<0x10|_0x1f8eb4[_0x255eb8>>>0x8&0xff]<<0x8|_0x1f8eb4[_0x4a5ed2&0xff])^_0x573b63[_0x8551be++],_0x406d1d=(_0x1f8eb4[_0x193776>>>0x18]<<0x18|_0x1f8eb4[_0x255eb8>>>0x10&0xff]<<0x10|_0x1f8eb4[_0x4a5ed2>>>0x8&0xff]<<0x8|_0x1f8eb4[_0x180e43&0xff])^_0x573b63[_0x8551be++];_0x52b2e4[_0x4ff052]=_0x19274c,_0x52b2e4[_0x4ff052+0x1]=_0x4f5e90,_0x52b2e4[_0x4ff052+0x2]=_0x789949,_0x52b2e4[_0x4ff052+0x3]=_0x406d1d;},'keySize':0x100/0x20});_0x56df87[_0xdba12a(0x2e8)]=_0x47b3fc[_0xdba12a(0x3bc)](_0x2db473);}()),_0x542ac6[_0x2dfd65(0x2e8)];}));}(Ve)),Ve[_0x3df834(0x1d5)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0xfe7184(0x1d5)],ai;function xs(){var _0x102d45=_0xfe7184;return ai||(ai=0x1,function(_0x8839b6,_0xbe0c68){(function(_0x1590f,_0x6002ff){var _0x51f915=_0xb4ca;_0x8839b6[_0x51f915(0x1d5)]=_0x6002ff(ie());}(Ls,function(_0x33bef0){var _0x4126bb=_0xb4ca;return _0x33bef0[_0x4126bb(0x37a)][_0x4126bb(0x362)];}));}(Xe)),Xe[_0x102d45(0x1d5)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0xfe7184(0x1d5)],oi;function Hs(){var _0x459e6a=_0xfe7184;return oi||(oi=0x1,function(_0x24d47d,_0x2d66e4){(function(_0x24dc8c,_0x11efe6){var _0x86e03c=_0xb4ca;_0x24d47d[_0x86e03c(0x1d5)]=_0x11efe6(ie());}($s,function(_0x16517){var _0xb1a642=_0xb4ca;return(function(){var _0x3eb1d4=_0xb4ca;if(typeof ArrayBuffer=='function'){var _0x36e756=_0x16517,_0x4c12fe=_0x36e756[_0x3eb1d4(0x301)],_0x1864d0=_0x4c12fe['WordArray'],_0x2107e9=_0x1864d0[_0x3eb1d4(0x1f7)],_0x392bef=_0x1864d0[_0x3eb1d4(0x1f7)]=function(_0x2562fa){var _0x5e294a=_0x3eb1d4;if(_0x2562fa instanceof ArrayBuffer&&(_0x2562fa=new Uint8Array(_0x2562fa)),(_0x2562fa instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2562fa instanceof Uint8ClampedArray||_0x2562fa instanceof Int16Array||_0x2562fa instanceof Uint16Array||_0x2562fa instanceof Int32Array||_0x2562fa instanceof Uint32Array||_0x2562fa instanceof Float32Array||_0x2562fa instanceof Float64Array)&&(_0x2562fa=new Uint8Array(_0x2562fa[_0x5e294a(0x3f9)],_0x2562fa[_0x5e294a(0x423)],_0x2562fa[_0x5e294a(0x3bd)])),_0x2562fa instanceof Uint8Array){for(var _0x57fc94=_0x2562fa['byteLength'],_0x49eabc=[],_0x3bad91=0x0;_0x3bad91<_0x57fc94;_0x3bad91++)_0x49eabc[_0x3bad91>>>0x2]|=_0x2562fa[_0x3bad91]<<0x18-_0x3bad91%0x4*0x8;_0x2107e9[_0x5e294a(0x48d)](this,_0x49eabc,_0x57fc94);}else _0x2107e9[_0x5e294a(0x486)](this,arguments);};_0x392bef['prototype']=_0x1864d0;}}()),_0x16517[_0xb1a642(0x301)][_0xb1a642(0x1c6)];}));}(Ze)),Ze[_0x459e6a(0x1d5)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){return ci||(ci=0x1,function(_0x526971,_0x119445){(function(_0x35ef08,_0x38bca3,_0x17a691){_0x526971['exports']=_0x38bca3(ie(),Ai());}(Fs,function(_0xcbef6f){var _0xc2e48e=_0xb4ca;return _0xcbef6f[_0xc2e48e(0x428)][_0xc2e48e(0x305)]={'pad':function(){},'unpad':function(){}},_0xcbef6f['pad']['NoPadding'];}));}(Qe)),Qe['exports'];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x316235,_0xed7719){var _0x163351=_0xfe7184;const _0xd30ecc=_0xed7719-_0x316235[_0x163351(0x44b)]%_0xed7719,_0x3aa51c=String[_0x163351(0x3a7)](_0xd30ecc)[_0x163351(0x1e9)](_0xd30ecc);return _0x316235+_0x3aa51c;}function Ys(_0x162ce3,_0x41237f){var _0x30bfe0=_0xfe7184;const _0x1052f0=js[_0x30bfe0(0x4c2)](0x10),_0x552d8c=Ks(_0x162ce3,0x10),_0x254939=ws[_0x30bfe0(0x212)](ks[_0x30bfe0(0x3d8)](_0x552d8c),ri[_0x30bfe0(0x3d8)](_0x41237f),{'iv':_0x1052f0,'padding':Ws});return _0x1052f0[_0x30bfe0(0x29d)](_0x254939[_0x30bfe0(0x2e3)])[_0x30bfe0(0x1e6)](ri);}function qs(){var _0x23bcbf=_0xfe7184;const _0x53ec20=_0x12e241()[_0x23bcbf(0x348)];if(_0x53ec20){const _0x563e10={'time':Math[_0x23bcbf(0x3b1)](Date[_0x23bcbf(0x3ac)]()/0x3e8),'domain':location[_0x23bcbf(0x333)]};return Ys(JSON['stringify'](_0x563e10),_0x53ec20);}}var zs=Object[_0xfe7184(0x4a2)],Js=(_0x24b96d,_0xaa4f5c,_0x309b12,_0x57754e)=>{var _0x9e427=_0xfe7184;for(var _0x2eca36=_0x57754e>0x1?void 0x0:_0x57754e?zs(_0xaa4f5c,_0x309b12):_0xaa4f5c,_0x5d9641=_0x24b96d[_0x9e427(0x44b)]-0x1,_0x95bd93;_0x5d9641>=0x0;_0x5d9641--)(_0x95bd93=_0x24b96d[_0x5d9641])&&(_0x2eca36=_0x95bd93(_0x2eca36)||_0x2eca36);return _0x2eca36;},Xs=(_0x16fddc,_0x258c1f)=>(_0x3d0cde,_0xd69089)=>_0x258c1f(_0x3d0cde,_0xd69089,_0x16fddc);let at=class{constructor(_0x4600e9){var _0x53190e=_0xfe7184;this[_0x53190e(0x3d2)]=_0x4600e9,this[_0x53190e(0x1d7)]();}['_initRequestHeader'](){var _0x287f37=_0xfe7184;this['_httpService'][_0x287f37(0x3c6)]({'interceptor':(_0x464039,_0x23d276)=>{var _0x513e3e=_0x287f37;const _0x2c0d39=_0x464039[_0x513e3e(0x383)],_0x311c3d=qs();return _0x311c3d&&_0x2c0d39[_0x513e3e(0x3b6)](_0x513e3e(0x3f6),_0x311c3d),_0x23d276(_0x464039);}});}};at=Js([Xs(0x0,_0x133e5e(_0x44d219))],at);var Zs=Object[_0xfe7184(0x4a2)],Qs=(_0x5bf1cc,_0x287d61,_0x3bd724,_0x2b34c8)=>{var _0x5534a3=_0xfe7184;for(var _0x3ab2eb=_0x2b34c8>0x1?void 0x0:_0x2b34c8?Zs(_0x287d61,_0x3bd724):_0x287d61,_0x33f185=_0x5bf1cc[_0x5534a3(0x44b)]-0x1,_0x352e64;_0x33f185>=0x0;_0x33f185--)(_0x352e64=_0x5bf1cc[_0x33f185])&&(_0x3ab2eb=_0x352e64(_0x3ab2eb)||_0x3ab2eb);return _0x3ab2eb;},mt=(_0x5ea132,_0x1cfa41)=>(_0x4652eb,_0xf0bd45)=>_0x1cfa41(_0x4652eb,_0xf0bd45,_0x5ea132);let bt=class extends _0x1f9410{constructor(_0xe7bd04,_0x2833c1,_0x2feeea){var _0x159753=_0xfe7184;super(),N(this,_0x159753(0x1c5),new _0x21c115(null)),N(this,_0x159753(0x2a9),this[_0x159753(0x1c5)][_0x159753(0x3a8)]()),(this[_0x159753(0x1df)]=_0xe7bd04,this[_0x159753(0x42f)]=_0x2833c1,this[_0x159753(0x386)]=_0x2feeea);}async[_0xfe7184(0x2ea)](_0x185d73,_0x3ed3e5,_0x83f595){var _0x49824d=_0xfe7184;this[_0x49824d(0x1c5)][_0x49824d(0x3c3)]({'unitId':_0x185d73,'type':_0x3ed3e5,'subUnitId':_0x83f595});let _0x36ad44=null;switch(_0x3ed3e5){case Q[_0x49824d(0x4c5)]:{_0x36ad44=await this[_0x49824d(0x328)](_0x185d73);break;}case Q[_0x49824d(0x1c3)]:{_0x36ad44=await this['_loadDoc'](_0x185d73);break;}default:{this[_0x49824d(0x1df)][_0x49824d(0x21f)](_0x49824d(0x4c1),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x36ad44;}async[_0xfe7184(0x328)](_0x208dbd){var _0x9f9034=_0xfe7184,_0x5577bd;let _0x1d6dc3=0x0;const _0x45aec5=await((_0x5577bd=this[_0x9f9034(0x386)])==null?void 0x0:_0x5577bd[_0x9f9034(0x406)](_0x208dbd));return _0x45aec5&&(_0x45aec5[_0x9f9034(0x3a0)]||_0x45aec5['mutations'][_0x9f9034(0x44b)]!==0x0)&&(_0x1d6dc3=_0x45aec5[_0x9f9034(0x346)]),_0x1d6dc3===0x0&&this['_logService'][_0x9f9034(0x240)](_0x9f9034(0x4c1),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x9f9034(0x435)](_0x208dbd,_0x1d6dc3);}async[_0xfe7184(0x222)](_0x57416d){var _0x10dc7b=_0xfe7184,_0x56131c;let _0x1c6dcc=0x0;const _0x3d437d=await((_0x56131c=this['_localCacheService'])==null?void 0x0:_0x56131c['loadOfflineData'](_0x57416d));return _0x3d437d&&(_0x3d437d[_0x10dc7b(0x3a0)]||_0x3d437d[_0x10dc7b(0x46d)][_0x10dc7b(0x44b)]!==0x0)&&(_0x1c6dcc=_0x3d437d['rev']),_0x1c6dcc===0x0&&this['_logService'][_0x10dc7b(0x240)](_0x10dc7b(0x4c1),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x10dc7b(0x40e)](_0x57416d,_0x1c6dcc);}};bt=Qs([mt(0x0,_0x19ce75),mt(0x1,_0x133e5e(_0x38c331)),mt(0x2,_0x5db4e2(J))],bt);var er=Object[_0xfe7184(0x4a2)],tr=(_0x18fd00,_0x490c0c,_0x14e0fe,_0x3588d8)=>{for(var _0x39e962=_0x3588d8>0x1?void 0x0:_0x3588d8?er(_0x490c0c,_0x14e0fe):_0x490c0c,_0xa380b0=_0x18fd00['length']-0x1,_0x30a736;_0xa380b0>=0x0;_0xa380b0--)(_0x30a736=_0x18fd00[_0xa380b0])&&(_0x39e962=_0x30a736(_0x39e962)||_0x39e962);return _0x39e962;},gt=(_0x18ea0c,_0xf8d7c7)=>(_0x4d7463,_0x442cb7)=>_0xf8d7c7(_0x4d7463,_0x442cb7,_0x18ea0c);const ir=[_0xfe7184(0x424),_0xfe7184(0x34f),_0xfe7184(0x1e0),_0xfe7184(0x468),_0xfe7184(0x1eb)],nr=0x5*0x400*0x400,sr=_0xfe7184(0x396),rr=_0xfe7184(0x34e),ar=_0xfe7184(0x44e),or=_0xfe7184(0x40b);let Ot=class{constructor(_0x15c374,_0x262f78,_0x4ba4d1){var _0x4795b2=_0xfe7184;N(this,'_waitCount',0x0),N(this,_0x4795b2(0x465),new _0xd7395f()),N(this,_0x4795b2(0x4ae),this[_0x4795b2(0x465)]),N(this,_0x4795b2(0x388),new Map()),(this[_0x4795b2(0x3d2)]=_0x15c374,this[_0x4795b2(0x1fa)]=_0x262f78,this['_univerInstanceService']=_0x4ba4d1);}[_0xfe7184(0x444)](_0x1044d1){var _0x13aa0c=_0xfe7184;this[_0x13aa0c(0x4b6)]=_0x1044d1,this[_0x13aa0c(0x465)][_0x13aa0c(0x3c3)](_0x1044d1);}[_0xfe7184(0x247)](_0x493037,_0xd01865){var _0x22c489=_0xfe7184;if(_0xd01865===_0x332c9f[_0x22c489(0x1ec)]){const _0x3d5992=new Image();return _0x3d5992[_0x22c489(0x1e7)]=_0x493037,_0x3d5992;}return this[_0x22c489(0x388)][_0x22c489(0x404)](_0x493037);}[_0xfe7184(0x323)](_0x2f3eaa,_0x3ce298,_0x56fe6a){var _0x3c6731=_0xfe7184;_0x3ce298===_0x332c9f['BASE64']||_0x56fe6a==null||this[_0x3c6731(0x388)][_0x3c6731(0x3b6)](_0x2f3eaa,_0x56fe6a);}async[_0xfe7184(0x234)](_0x32ab11){var _0x47d71b=_0xfe7184;try{const _0x1ca728=this['_replaceFileID'](this['_getSignURL'](),''+_0x32ab11),_0x31d9a6=(await this[_0x47d71b(0x3d2)]['get'](_0x1ca728))[_0x47d71b(0x2ed)];if(_0x31d9a6[_0x47d71b(0x21f)]&&_0x31d9a6['error']['code']===Si['OK']){const _0x42c6b5=new URL(_0x31d9a6[_0x47d71b(0x347)],this[_0x47d71b(0x494)]())[_0x47d71b(0x1e6)]();return Promise[_0x47d71b(0x3a5)](_0x42c6b5);}return Promise[_0x47d71b(0x3e6)](_0x31d9a6[_0x47d71b(0x21f)]);}catch(_0x3a40d6){return Promise['reject'](_0x3a40d6);}}async[_0xfe7184(0x481)](_0x40e3ee){var _0x11b435=_0xfe7184;let _0x264c7f='';if(!ir[_0x11b435(0x30a)](_0x40e3ee[_0x11b435(0x391)]))return this[_0x11b435(0x3be)](),Promise['reject'](new Error(_0x53eb1d[_0x11b435(0x4b4)]));if(_0x40e3ee[_0x11b435(0x399)]>nr)return this[_0x11b435(0x3be)](),Promise['reject'](new Error(_0x53eb1d[_0x11b435(0x3a3)]));try{const _0x1c24f0=new FormData();_0x1c24f0[_0x11b435(0x457)]('file',_0x40e3ee);const _0x6545f8=this['_univerInstanceService'][_0x11b435(0x3ed)](),_0x7f08bd=_0x6545f8==null?void 0x0:_0x6545f8[_0x11b435(0x340)]();if(!_0x7f08bd)throw new Error('unitId\x20is\x20not\x20found');const _0x44ee9f=this[_0x11b435(0x39b)]()+'?size='+_0x40e3ee[_0x11b435(0x399)][_0x11b435(0x1e6)]()+_0x11b435(0x1f1)+Ei[_0x11b435(0x3d4)]+'&assign='+encodeURIComponent(_0x7f08bd),_0x27d989=await(await fetch(_0x44ee9f,{'method':_0x11b435(0x1d6),'body':_0x1c24f0}))['json']();if(typeof _0x27d989['FileId']!=_0x11b435(0x499))return this[_0x11b435(0x3be)](),Promise['reject'](new Error(_0x53eb1d[_0x11b435(0x23b)]));_0x264c7f=_0x27d989[_0x11b435(0x26a)];}catch{return this[_0x11b435(0x3be)](),Promise[_0x11b435(0x3e6)](new Error(_0x53eb1d[_0x11b435(0x23b)]));}return new Promise((_0x389149,_0x59622a)=>{var _0xd6b95e=_0x11b435;const _0x27fe43=new FileReader();_0x27fe43['readAsDataURL'](_0x40e3ee),_0x27fe43[_0xd6b95e(0x38f)]=_0x29c494=>{var _0x1f3862=_0xd6b95e,_0x4563a2;const _0x12f378=(_0x4563a2=_0x29c494['target'])==null?void 0x0:_0x4563a2[_0x1f3862(0x281)];if(_0x12f378==null){this[_0x1f3862(0x3be)](),_0x59622a(new Error(_0x53eb1d[_0x1f3862(0x23b)]));return;}const _0x14da5a=_0x21badf[_0x1f3862(0x2eb)](0x6);_0x389149({'imageId':_0x14da5a,'imageSourceType':_0x332c9f['UUID'],'source':_0x264c7f,'base64Cache':_0x12f378,'status':_0x53eb1d[_0x1f3862(0x467)]}),this['_decreaseWaiting']();};});}[_0xfe7184(0x39b)](){var _0x4db984=_0xfe7184,_0x17afe3,_0x17856c;const _0x450e5a=this[_0x4db984(0x1fa)][_0x4db984(0x37f)](sr),_0x2bb7f2=this['_configService'][_0x4db984(0x37f)](q);return(_0x17856c=(_0x17afe3=_0x2bb7f2==null?void 0x0:_0x2bb7f2[_0x4db984(0x218)])!=null?_0x17afe3:_0x450e5a)!=null?_0x17856c:rr;}[_0xfe7184(0x287)](){var _0x74d472=_0xfe7184,_0x214759,_0x3ee6cf;const _0x2fef59=this[_0x74d472(0x1fa)]['getConfig'](ar),_0x216dc5=this['_configService'][_0x74d472(0x37f)](q);return(_0x3ee6cf=(_0x214759=_0x216dc5==null?void 0x0:_0x216dc5['signUrlServerUrl'])!=null?_0x214759:_0x2fef59)!=null?_0x3ee6cf:or;}['_getDownloadEndpointURL'](){var _0x2e3430=_0xfe7184,_0x24f90f;const _0xb9f7ea=this[_0x2e3430(0x1fa)][_0x2e3430(0x37f)](q);return(_0x24f90f=_0xb9f7ea==null?void 0x0:_0xb9f7ea[_0x2e3430(0x2e1)])!=null?_0x24f90f:location[_0x2e3430(0x26c)];}['_replaceFileID'](_0x232c35,_0x18212c){var _0x14b597=_0xfe7184;return _0x232c35[_0x14b597(0x48e)](_0x14b597(0x1e3),_0x18212c);}[_0xfe7184(0x3be)](){var _0x342364=_0xfe7184;this['_waitCount']-=0x1,this[_0x342364(0x465)][_0x342364(0x3c3)](this['_waitCount']);}};Ot=tr([gt(0x0,_0x133e5e(_0x44d219)),gt(0x1,_0x2f38cd),gt(0x2,_0x133e5e(_0x169db5))],Ot);var cr=Object[_0xfe7184(0x4a2)],hr=(_0x4e92c5,_0x4040e9,_0x24a11d,_0xc62508)=>{for(var _0xee6460=_0xc62508>0x1?void 0x0:_0xc62508?cr(_0x4040e9,_0x24a11d):_0x4040e9,_0xec3011=_0x4e92c5['length']-0x1,_0x1217ce;_0xec3011>=0x0;_0xec3011--)(_0x1217ce=_0x4e92c5[_0xec3011])&&(_0xee6460=_0x1217ce(_0xee6460)||_0xee6460);return _0xee6460;},hi=(_0x53c54f,_0x99ccbd)=>(_0x2ba103,_0x158496)=>_0x99ccbd(_0x2ba103,_0x158496,_0x53c54f);const _r='/universer-api/authz';let yt=class{constructor(_0x50c189,_0x4b475d){var _0x2877bc=_0xfe7184;this['_configService']=_0x50c189,this[_0x2877bc(0x436)]=_0x4b475d;}[_0xfe7184(0x4af)](){var _0x5ad8bf=_0xfe7184,_0x29583a,_0xf4ca22;const _0x510cd8=this[_0x5ad8bf(0x1fa)][_0x5ad8bf(0x37f)](Ni),_0x597399=this[_0x5ad8bf(0x1fa)]['getConfig'](q);return(_0xf4ca22=(_0x29583a=_0x597399==null?void 0x0:_0x597399['authzUrl'])!=null?_0x29583a:_0x510cd8)!=null?_0xf4ca22:_r;}async['list'](_0x5f3cc9){var _0x3111e=_0xfe7184;const _0x3155f4=this[_0x3111e(0x4af)]()+_0x3111e(0x394);return{'list':[{'title':_0x3111e(0x354),'mentions':(await this['_HTTPService'][_0x3111e(0x404)](_0x3155f4,{'params':{'objectID':_0x5f3cc9[_0x3111e(0x214)],'unitID':_0x5f3cc9[_0x3111e(0x214)]}}))[_0x3111e(0x2ed)][_0x3111e(0x263)]['map'](_0xaa4104=>({'objectId':_0xaa4104['id'],'name':_0xaa4104['subject']['name'],'metadata':{'icon':_0xaa4104[_0x3111e(0x3b4)]['avatar']},'label':_0xaa4104[_0x3111e(0x3b4)]['name'],'objectType':_0x1a7431[_0x3111e(0x22b)]})),'metadata':{},'type':_0x1a7431[_0x3111e(0x22b)]}]};}};yt=hr([hi(0x0,_0x133e5e(_0x2f38cd)),hi(0x1,_0x133e5e(_0x44d219))],yt);var lr=Object[_0xfe7184(0x4a2)],ur=(_0x263153,_0x3c90a1,_0x561240,_0x26c742)=>{for(var _0xd9263d=_0x26c742>0x1?void 0x0:_0x26c742?lr(_0x3c90a1,_0x561240):_0x3c90a1,_0x3149aa=_0x263153['length']-0x1,_0x43d234;_0x3149aa>=0x0;_0x3149aa--)(_0x43d234=_0x263153[_0x3149aa])&&(_0xd9263d=_0x43d234(_0xd9263d)||_0xd9263d);return _0xd9263d;},we=(_0x3a5aa4,_0x3ee67e)=>(_0x1792eb,_0x88352b)=>_0x3ee67e(_0x1792eb,_0x88352b,_0x3a5aa4);let ot=class extends _0x1f9410{constructor(_0x15975f,_0x31b9a6,_0x4bfd2f,_0x5c61b4,_0x35f9b2){var _0x2bcbff=_0xfe7184;super(),this[_0x2bcbff(0x3e4)]=_0x15975f,this[_0x2bcbff(0x439)]=_0x31b9a6,this[_0x2bcbff(0x358)]=_0x4bfd2f,this[_0x2bcbff(0x438)]=_0x5c61b4,this[_0x2bcbff(0x384)]=_0x35f9b2,this[_0x2bcbff(0x40a)](),this[_0x2bcbff(0x3c7)]();}[_0xfe7184(0x3c7)](){var _0x294736=_0xfe7184;const _0x12a280=async _0x56a313=>{var _0x31f831=_0xb4ca;(await this[_0x31f831(0x438)][_0x31f831(0x2ec)](_0x56a313))[_0x31f831(0x350)]['pipe'](_0x5befcb(_0x124bbe=>_0x124bbe[_0x31f831(0x4ce)]===_0x12f734[_0x31f831(0x458)]),_0x2c5509(this[_0x31f831(0x27c)]))[_0x31f831(0x26d)](_0x4053fe=>{var _0x5e25b0=_0x31f831;const _0x456130=_0x4053fe,{reason:_0x423828}=_0x456130[_0x5e25b0(0x48f)];this['_collaborationUIEventService'][_0x5e25b0(0x32b)]({'id':re[_0x5e25b0(0x239)],'data':_0x423828}),this[_0x5e25b0(0x358)]['updatePermissionPoint'](new _0x2e7126(_0x56a313)['id'],!0x1),this[_0x5e25b0(0x438)][_0x5e25b0(0x4b0)](_0x56a313);});};_0x4ef3f9(this[_0x294736(0x439)][_0x294736(0x31a)](_0x22def0[_0x294736(0x4c5)]),this['_univerInstanceService'][_0x294736(0x31a)](_0x22def0[_0x294736(0x1c3)]))['pipe'](_0x4851a7(_0x21977f=>_0x21977f['getUnitId']()),_0x5befcb(_0x3e7b89=>!_0x3322d4(_0x3e7b89)),_0x2c5509(this[_0x294736(0x27c)]))[_0x294736(0x26d)](_0x4e12dc=>{_0x12a280(_0x4e12dc);});}[_0xfe7184(0x40a)](){var _0x449605=_0xfe7184;const _0x6f6ebc=async _0x3d60a1=>{var _0x1e74ce=_0xb4ca;const _0x1cb055=await this[_0x1e74ce(0x438)][_0x1e74ce(0x2ec)](_0x3d60a1),_0x10455d=this['_injector'][_0x1e74ce(0x404)](_0x198dd2);_0x1cb055[_0x1e74ce(0x350)][_0x1e74ce(0x400)](_0x5befcb(_0x3c8daf=>_0x3c8daf[_0x1e74ce(0x4ce)]===_0x12f734[_0x1e74ce(0x3d3)]),_0x2c5509(this['dispose$']))[_0x1e74ce(0x26d)](_0x59283f=>{var _0x184ecd=_0x1e74ce;const _0x5e4d4a=_0x59283f,{objectId:_0x41f4ad}=_0x5e4d4a[_0x184ecd(0x48f)];_0x41f4ad===_0x3d60a1?_0x10455d['initWorkbookPermissionChange'](_0x3d60a1):_0x10455d[_0x184ecd(0x2b1)](_0x3d60a1,_0x41f4ad);});};_0x4ef3f9(this[_0x449605(0x439)][_0x449605(0x31a)](_0x22def0[_0x449605(0x4c5)]))[_0x449605(0x400)](_0x4851a7(_0x437203=>_0x437203[_0x449605(0x340)]()),_0x5befcb(_0x669d7d=>!_0x3322d4(_0x669d7d)),_0x2c5509(this[_0x449605(0x27c)]))[_0x449605(0x26d)](_0xa37d00=>{_0x6f6ebc(_0xa37d00);});}};ot=ur([we(0x0,_0x133e5e(_0x723ed9)),we(0x1,_0x169db5),we(0x2,_0x446775),we(0x3,_0x133e5e(xe)),we(0x4,_0x133e5e(pe))],ot);var dr=Object[_0xfe7184(0x4a2)],fr=(_0x3c4dce,_0x4512f5,_0xf6c6c7,_0x416402)=>{for(var _0x15a082=_0x416402>0x1?void 0x0:_0x416402?dr(_0x4512f5,_0xf6c6c7):_0x4512f5,_0x130d50=_0x3c4dce['length']-0x1,_0x4a4f12;_0x130d50>=0x0;_0x130d50--)(_0x4a4f12=_0x3c4dce[_0x130d50])&&(_0x15a082=_0x4a4f12(_0x15a082)||_0x15a082);return _0x15a082;},_i=(_0x5001de,_0x52f616)=>(_0x306f9a,_0x142d56)=>_0x52f616(_0x306f9a,_0x142d56,_0x5001de);function _0xb4ca(_0x431e6e,_0x2d7561){var _0x514d95=_0x514d();return _0xb4ca=function(_0xb4ca5,_0x5a28a1){_0xb4ca5=_0xb4ca5-0x1bd;var _0x50b16d=_0x514d95[_0xb4ca5];return _0x50b16d;},_0xb4ca(_0x431e6e,_0x2d7561);}let Nt=class{constructor(_0x3c1f35,_0x2f42e7){var _0x51c2fc=_0xfe7184;this[_0x51c2fc(0x1fa)]=_0x3c1f35,this['_httpService']=_0x2f42e7;}async[_0xfe7184(0x1be)](_0x292ab1,_0x1b1723){var _0x2e7b85=_0xfe7184,_0x657e1;const {unitID:_0x12a5f6,type:_0x589dd5,revision:_0xabacce=0x0}=_0x1b1723,_0x38c2bb=this[_0x2e7b85(0x27a)]()+'/'+_0x589dd5+_0x2e7b85(0x44f)+_0x12a5f6+_0x2e7b85(0x27e)+_0xabacce,_0x1d2b85=(await this[_0x2e7b85(0x3d2)]['get'](_0x38c2bb))[_0x2e7b85(0x2ed)],_0x352140=(_0x657e1=_0x1d2b85['snapshot'])==null?void 0x0:_0x657e1[_0x2e7b85(0x2c4)];if(_0x352140){const _0x41055f=_0x352140==null?void 0x0:_0x352140[_0x2e7b85(0x288)],_0xe269fe=_0xdda04e[_0x2e7b85(0x3f0)](_0x301c1d(_0x41055f));_0x352140[_0x2e7b85(0x288)]=_0xe269fe,Object['entries'](_0x352140[_0x2e7b85(0x380)])[_0x2e7b85(0x1c9)](([,_0x161aa7])=>{var _0x363b46=_0x2e7b85;const _0x4d28d8=_0x161aa7['originalMeta'],_0x1dcdbb=_0xdda04e[_0x363b46(0x3f0)](_0x301c1d(_0x4d28d8));_0x161aa7[_0x363b46(0x288)]=_0x1dcdbb;});}return _0x1d2b85;}async[_0xfe7184(0x3e2)](_0x103a12,_0x1e197a){var _0x322d78=_0xfe7184;const {unitID:_0x4c7b30,type:_0x13632f,blockID:_0x44cff3}=_0x1e197a,_0x1a9f89=this[_0x322d78(0x3f4)]()+'/'+_0x13632f+_0x322d78(0x44f)+_0x4c7b30+_0x322d78(0x36f)+_0x44cff3;return(await this[_0x322d78(0x3d2)]['get'](_0x1a9f89))['body'];}async[_0xfe7184(0x440)](_0x188546,_0x458b99){var _0x2c09ea=_0xfe7184;const {unitID:_0x7b73af,type:_0x2a843a,blockID:_0x5208ec}=_0x458b99,_0x4068eb=this[_0x2c09ea(0x3f4)]()+_0x2c09ea(0x36f)+_0x2a843a+_0x2c09ea(0x44f)+_0x7b73af+_0x2c09ea(0x36f)+_0x5208ec;return(await this[_0x2c09ea(0x3d2)][_0x2c09ea(0x404)](_0x4068eb))[_0x2c09ea(0x2ed)];}async[_0xfe7184(0x270)](_0x470424,_0x351dee){var _0x474d79=_0xfe7184;const {unitID:_0x4e50d3,type:_0x3d0264,from:_0x112d3f,to:_0x1dcbef}=_0x351dee,_0x10bd8c=this[_0x474d79(0x3f4)]()+'/'+_0x3d0264+_0x474d79(0x44f)+_0x4e50d3+_0x474d79(0x4bb)+_0x112d3f+_0x474d79(0x310)+_0x1dcbef;return(await this[_0x474d79(0x3d2)][_0x474d79(0x404)](_0x10bd8c))[_0x474d79(0x2ed)];}['getSnapshotAPIPath'](){var _0x38f5c1=_0xfe7184,_0x18301c;return(_0x18301c=this[_0x38f5c1(0x1fa)][_0x38f5c1(0x37f)](Sn))!=null?_0x18301c:this[_0x38f5c1(0x3f4)]();}[_0xfe7184(0x3f4)](){var _0x13ca8d=_0xfe7184,_0x740637,_0x73ee60;const _0x2b5684=this[_0x13ca8d(0x1fa)][_0x13ca8d(0x37f)](mn),_0xe0b3a5=this['_configService'][_0x13ca8d(0x37f)](q);return(_0x73ee60=(_0x740637=_0xe0b3a5==null?void 0x0:_0xe0b3a5[_0x13ca8d(0x2cb)])!=null?_0x740637:_0x2b5684)!=null?_0x73ee60:gn;}async[_0xfe7184(0x475)](_0x34b920,_0x5f4b0e){var _0x39d4c9=_0xfe7184;const _0x326a0e=_0x39d4c9(0x48a)+_0x5f4b0e[_0x39d4c9(0x391)]+_0x39d4c9(0x44f)+_0x5f4b0e['unitID']+'/resources';return(await this[_0x39d4c9(0x3d2)][_0x39d4c9(0x404)](_0x326a0e,{'params':{'resourceId':JSON[_0x39d4c9(0x291)](_0x5f4b0e[_0x39d4c9(0x342)])}}))['body'];}[_0xfe7184(0x267)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xfe7184(0x3f7)](){var _0xd4e001=_0xfe7184;throw new Error(_0xd4e001(0x379));}[_0xfe7184(0x375)](){var _0x3bbfba=_0xfe7184;throw new Error(_0x3bbfba(0x379));}[_0xfe7184(0x4c3)](){var _0x564b22=_0xfe7184;throw new Error(_0x564b22(0x379));}[_0xfe7184(0x452)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x2f38cd),_i(0x1,_0x133e5e(_0x44d219))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x1749cc,_0x1f47da,_0x2ac7ed,_0x7f6312)=>{for(var _0x44a4d7=_0x7f6312>0x1?void 0x0:_0x7f6312?vr(_0x1f47da,_0x2ac7ed):_0x1f47da,_0x4f385d=_0x1749cc['length']-0x1,_0x37d71;_0x4f385d>=0x0;_0x4f385d--)(_0x37d71=_0x1749cc[_0x4f385d])&&(_0x44a4d7=_0x37d71(_0x44a4d7)||_0x44a4d7);return _0x44a4d7;},Pe=(_0xb1ec39,_0x3ccbc6)=>(_0x2150af,_0x2685d6)=>_0x3ccbc6(_0x2150af,_0x2685d6,_0xb1ec39);let Dt=class extends _0x4e4dd0{constructor(_0x49c3a4,_0xf33dbe,_0x57268e,_0x1a4858,_0xa18644){var _0x2ed71c=_0xfe7184;super(_0x49c3a4,_0xf33dbe,_0x57268e),this[_0x2ed71c(0x2c7)]=_0x1a4858,this['_logService']=_0xa18644;}['transformUndoRedo'](_0x22633b,_0x4b5b47){var _0x3aac6a=_0xfe7184;const _0x1c56dd=this[_0x3aac6a(0x3b9)](_0x22633b);if(_0x1c56dd)try{const _0x1882eb=this[_0x3aac6a(0x2da)](_0x1c56dd,_0x4b5b47);this['_substituteUndoStack'](_0x22633b,_0x1882eb);}catch(_0x23fe38){this[_0x3aac6a(0x1df)]['error'](_0x3aac6a(0x376),_0x23fe38),this[_0x3aac6a(0x42e)](_0x22633b);}const _0x1c2313=this[_0x3aac6a(0x49d)](_0x22633b);if(_0x1c2313)try{const _0x1f52d5=this[_0x3aac6a(0x2da)](_0x1c2313,_0x4b5b47);this[_0x3aac6a(0x2c2)](_0x22633b,_0x1f52d5);}catch(_0x11064a){this[_0x3aac6a(0x1df)][_0x3aac6a(0x21f)](_0x11064a),this[_0x3aac6a(0x412)](_0x22633b);}}[_0xfe7184(0x42e)](_0x173372){var _0x33bbdc=_0xfe7184;const _0x2eb50b=this[_0x33bbdc(0x3b9)](_0x173372);_0x2eb50b&&(_0x2eb50b[_0x33bbdc(0x44b)]=0x0,this[_0x33bbdc(0x373)]());}[_0xfe7184(0x412)](_0x23b384){var _0x23a764=_0xfe7184;const _0x39168b=this[_0x23a764(0x49d)](_0x23b384);_0x39168b&&(_0x39168b[_0x23a764(0x44b)]=0x0,this[_0x23a764(0x373)]());}[_0xfe7184(0x3e1)](_0x39c47d,_0x34aa5f){var _0x4b5044=_0xfe7184;this[_0x4b5044(0x420)][_0x4b5044(0x3b6)](_0x39c47d,_0x34aa5f),this['_updateStatus']();}['_substituteRedoStack'](_0x525e90,_0x10be78){var _0x2285d8=_0xfe7184;this[_0x2285d8(0x1d9)][_0x2285d8(0x3b6)](_0x525e90,_0x10be78),this[_0x2285d8(0x373)]();}['_transformStack'](_0x34b2e1,_0x443e11){var _0x56c3fb=_0xfe7184;const _0x13c8d3=[];let _0x4bccc7=_0x443e11,_0x387378=_0x443e11;for(let _0x438752=_0x34b2e1[_0x56c3fb(0x44b)]-0x1;_0x438752>=0x0;_0x438752--){const {unitID:_0xc7e0fe,undoMutations:_0x494ed5,redoMutations:_0x172d3c}=_0x34b2e1[_0x438752],_0x5e761e=this[_0x56c3fb(0x2c7)]['transformMutationsWithChangeset'](_0x4bccc7,_0x494ed5),_0x370b79=this[_0x56c3fb(0x2c7)][_0x56c3fb(0x44c)](_0x387378,_0x172d3c);if(_0x49b748(_0x5e761e)||_0x49b748(_0x370b79)){this[_0x56c3fb(0x1df)][_0x56c3fb(0x21f)](_0x56c3fb(0x376),'transformStack\x20failed!',_0x5e761e,_0x370b79);break;}_0x4bccc7=_0x5e761e[_0x56c3fb(0x2b0)],_0x387378=_0x370b79[_0x56c3fb(0x2b0)],_0x13c8d3['push']({'unitID':_0xc7e0fe,'undoMutations':_0x5e761e['m2Prime'],'redoMutations':_0x370b79[_0x56c3fb(0x47a)]});}return _0x13c8d3[_0x56c3fb(0x331)]();}};Dt=pr([Pe(0x0,_0x169db5),Pe(0x1,_0x1affd5),Pe(0x2,_0x280b22),Pe(0x3,_0x1f266b),Pe(0x4,_0x19ce75)],Dt);var mr=Object[_0xfe7184(0x47e)],gr=Object[_0xfe7184(0x4a2)],Sr=(_0x134fe6,_0x87a43c,_0x3b15e4)=>_0x87a43c in _0x134fe6?mr(_0x134fe6,_0x87a43c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b15e4}):_0x134fe6[_0x87a43c]=_0x3b15e4,Er=(_0x29864b,_0x37904d,_0x3e8a43,_0x114e77)=>{var _0x3fd086=_0xfe7184;for(var _0x5b3f4b=_0x114e77>0x1?void 0x0:_0x114e77?gr(_0x37904d,_0x3e8a43):_0x37904d,_0x5e21e8=_0x29864b[_0x3fd086(0x44b)]-0x1,_0x1118f1;_0x5e21e8>=0x0;_0x5e21e8--)(_0x1118f1=_0x29864b[_0x5e21e8])&&(_0x5b3f4b=_0x1118f1(_0x5b3f4b)||_0x5b3f4b);return _0x5b3f4b;},St=(_0x2ae3f3,_0x44af47)=>(_0x4cc31b,_0x44f644)=>_0x44af47(_0x4cc31b,_0x44f644,_0x2ae3f3),Ir=(_0x339c52,_0x446209,_0x1ba2d0)=>Sr(_0x339c52,_0x446209+'',_0x1ba2d0);const Tr=_0xfe7184(0x3ec);let Ut=class extends _0x13aa7c{constructor(_0x58dd84,_0x1c65b8,_0xba40ce,_0x516b66){var _0x132d79=_0xfe7184;super(),N(this,_0x132d79(0x1e1)),(this['_logService']=_0x1c65b8,this[_0x132d79(0x3e4)]=_0xba40ce,this[_0x132d79(0x1fa)]=_0x516b66);const {..._0x341c58}=_0x48b76b({},wn,_0x58dd84);if(!_0x341c58[_0x132d79(0x232)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x132d79(0x1e1)]=_0x341c58,this[_0x132d79(0x1fa)]['setConfig'](q,_0x341c58);}[_0xfe7184(0x345)](){var _0x530a1=_0xfe7184;this[_0x530a1(0x38b)](),this[_0x530a1(0x41a)]();}[_0xfe7184(0x38b)](){var _0x2b9a34=_0xfe7184,_0x2fbb18,_0x529fe1;this[_0x2b9a34(0x3e4)][_0x2b9a34(0x21d)](_0x548330)&&this['_logService'][_0x2b9a34(0x21f)]('[UniverCollaborationClientPlugin]',_0x2b9a34(0x29c));const _0x480089=_0x4a3bd8([[_0x548330,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x2b9a34(0x1e1)][_0x2b9a34(0x232)]}],[_0x208e48,{'useClass':Nt}],[_0x3439c4,{'useClass':Rt}],[_0x30b3bd,{'useClass':Ot}],[_0x58151e,{'useClass':yt}],[st],[Ct]],(_0x2fbb18=this['_config'])==null?void 0x0:_0x2fbb18[_0x2b9a34(0x2d1)]);if(!((_0x529fe1=this[_0x2b9a34(0x1e1)])!=null&&_0x529fe1['enableSingleActiveInstanceLock'])){const _0x2414b7=_0x480089['findIndex'](([_0x48312c])=>_0x48312c===ht);_0x2414b7!==-0x1&&_0x480089['splice'](_0x2414b7,0x1);}_0x36dd05(this[_0x2b9a34(0x3e4)],_0x480089);}[_0xfe7184(0x41a)](){var _0x3433ed=_0xfe7184,_0x5e022c,_0x35b824,_0x2e0167;this[_0x3433ed(0x3e4)][_0x3433ed(0x404)](_0x44d219)[_0x3433ed(0x3c6)]({'priority':0x14,'interceptor':_0x2aa87c({'maxParallel':0x6})}),(_0x5e022c=this[_0x3433ed(0x1e1)])!=null&&_0x5e022c[_0x3433ed(0x2c0)]||(_0x35b824=this['_injector'][_0x3433ed(0x404)](J,_0x36efa8['OPTIONAL']))==null||_0x35b824['disableLocalCache'](),(_0x2e0167=this[_0x3433ed(0x1e1)])!=null&&_0x2e0167[_0x3433ed(0x442)]&&_0x5123b7(this[_0x3433ed(0x3e4)],[[rt]]),_0x5123b7(this[_0x3433ed(0x3e4)],[[at],[st],[ot]]);}};Ir(Ut,_0xfe7184(0x2f6),Tr),Ut=Er([_0x3d6ca2(_0x525806,_0x277569),St(0x1,_0x19ce75),St(0x2,_0x133e5e(_0x723ed9)),St(0x3,_0x2f38cd)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|
1
|
+
var _0x5e85b0=_0x30b8;(function(_0x3f29d9,_0x424e6a){var _0x4b1dcb=_0x30b8,_0x1081ac=_0x3f29d9();while(!![]){try{var _0x2feec7=-parseInt(_0x4b1dcb(0x1af))/0x1*(-parseInt(_0x4b1dcb(0x2fb))/0x2)+-parseInt(_0x4b1dcb(0x32e))/0x3+parseInt(_0x4b1dcb(0x2c6))/0x4*(parseInt(_0x4b1dcb(0x2c3))/0x5)+-parseInt(_0x4b1dcb(0x26f))/0x6*(parseInt(_0x4b1dcb(0x368))/0x7)+parseInt(_0x4b1dcb(0x15c))/0x8+-parseInt(_0x4b1dcb(0x25a))/0x9+-parseInt(_0x4b1dcb(0x393))/0xa*(parseInt(_0x4b1dcb(0x16f))/0xb);if(_0x2feec7===_0x424e6a)break;else _0x1081ac['push'](_0x1081ac['shift']());}catch(_0x25933a){_0x1081ac['push'](_0x1081ac['shift']());}}}(_0x4c89,0xea81f));var wi=Object[_0x5e85b0(0x2d3)],Pi=(_0x15dbfb,_0x4094e8,_0x4224a8)=>_0x4094e8 in _0x15dbfb?wi(_0x15dbfb,_0x4094e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4224a8}):_0x15dbfb[_0x4094e8]=_0x4224a8,N=(_0xfb6b9c,_0x4aa7df,_0x1d51d5)=>Pi(_0xfb6b9c,typeof _0x4aa7df!=_0x5e85b0(0x3ea)?_0x4aa7df+'':_0x4aa7df,_0x1d51d5);import{createIdentifier as _0x189597,Inject as _0x4e6a0f,Injector as _0x2a76ad,IConfigService as _0x57235c,ILogService as _0x4f17e2,Disposable as _0x30c483,DisposableCollection as _0x3f4e35,toDisposable as _0x50f250,IUniverInstanceService as _0x187759,UserManagerService as _0x5a566c,UniverInstanceType as _0x3ac655,LocaleService as _0x4ff38c,Optional as _0x8e5208,RxDisposable as _0x5d06b1,Tools as _0x37a7ab,Rectangle as _0x583950,ICommandService as _0x1020e1,JSONX as _0xfcf1b6,CommandType as _0x33a20c,IUndoRedoService as _0x1d308d,IPermissionService as _0xfde829,sequenceExecute as _0x437532,Workbook as _0x18a8fa,MentionType as _0xce6fc5,isInternalEditorID as _0x479967,LocalUndoRedoService as _0x13d1ac,IContextService as _0x4267cc,DependentOn as _0x2709f9,Plugin as _0x31b165,merge as _0x4b650d,mergeOverrideWithDependencies as _0x47ea98,IAuthzIoService as _0x18882c,IMentionIOService as _0x2bde30,registerDependencies as _0x234443,Quantity as _0x518a69,touchDependencies as _0x4b5881}from'@univerjs/core';import{Subject as _0x481b7e,merge as _0x2ba3bf,of as _0x2e5cdf,BehaviorSubject as _0x5a2e2c,takeUntil as _0x396fca,ReplaySubject as _0x5b7e53,take as _0x27b4b5,map as _0x107ff5,shareReplay as _0x217924,firstValueFrom as _0x115cc6,concatMap as _0x3427eb}from'rxjs';import{map as _0x4f42e4,take as _0x193ab3,filter as _0x30fc86,delay as _0x1eb048,takeUntil as _0x384cc0}from'rxjs/operators';import{CollaborationEvent as _0x5d967f,ISnapshotServerService as _0x422aa5,parseChangesetToProtocol as _0x343d15,ITransformService as _0x32e708,isTransformMutationsWithChangesetSuccess as _0x5ed7eb,mapDocumentTypeToUniverType as _0x5c53de,RevisionService as _0x57826d,isTransformChangesetsSuccess as _0x4fb575,CompressMutationService as _0x52c586,parseProtocolChangeset as _0x183a67,SnapshotService as _0x29da2c,textEncoder as _0x5b4c86,b64DecodeUnicode as _0x43586c,isTransformMutationsWithChangesetFailure as _0x14ad98,UniverCollaborationPlugin as _0x50c844}from'@univerjs-pro/collaboration';import{HTTPService as _0x4dfb46,ISocketService as _0x85c071,MergeInterceptorFactory as _0x4ff298,HTTPRequest as _0x5104ad,UniverNetworkPlugin as _0x3df885,ThresholdInterceptorFactory as _0x2d4b93}from'@univerjs/network';import{ITelemetryService as _0x380d9e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x25e173}from'@univerjs/docs';import{SheetsSelectionsService as _0x187bbd,SetSelectionsOperation as _0x1a8b57,InsertSheetMutation as _0x104b1f,EmptyMutation as _0xf556b8,WorkbookEditablePermission as _0x3c0caf,SheetPermissionInitController as _0x21933f}from'@univerjs/sheets';import{ImageSourceType as _0xda66a3,ImageUploadStatusType as _0x1469d9,IImageIoService as _0x47430b}from'@univerjs/drawing';import{getGlobalObject as _0x301c5d}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0x5e85b0(0x160),Sn='SNAPSHOT_URL_KEY',Lr=_0x5e85b0(0x2ef),En=0x7d0,In=_0x5e85b0(0x18f),Tn=_0x5e85b0(0x27f),xr=_0x5e85b0(0x1b0),Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x5e85b0(0x1e8),gi=0x4e20,bn=0x4e20,On=_0x5e85b0(0x1fb),yn=0x3,Mr=_0x5e85b0(0x3cc),kr=0x3e8,Nn=_0x5e85b0(0x2e3),Dn='/universer-api/comb',Un=_0x5e85b0(0x1b6),An=_0x5e85b0(0x146),$r=_0x5e85b0(0x414),Hr=_0x5e85b0(0x23e);var Si=(_0x6174d3=>(_0x6174d3[_0x6174d3[_0x5e85b0(0x387)]=0x0]='UNDEFINED',_0x6174d3[_0x6174d3['OK']=0x1]='OK',_0x6174d3[_0x6174d3[_0x5e85b0(0x3a6)]=0x2]='INTERNAL_ERROR',_0x6174d3[_0x6174d3[_0x5e85b0(0x1a3)]=0x3]='PERMISSION_DENIED',_0x6174d3[_0x6174d3['NOT_FOUND']=0x4]=_0x5e85b0(0x120),_0x6174d3[_0x6174d3[_0x5e85b0(0x2d6)]=0x5]=_0x5e85b0(0x2d6),_0x6174d3[_0x6174d3[_0x5e85b0(0x3b9)]=0x6]=_0x5e85b0(0x3b9),_0x6174d3[_0x6174d3[_0x5e85b0(0x2ac)]=0x7]=_0x5e85b0(0x2ac),_0x6174d3[_0x6174d3[_0x5e85b0(0x1d1)]=0x8]=_0x5e85b0(0x1d1),_0x6174d3[_0x6174d3[_0x5e85b0(0x3ff)]=0x9]=_0x5e85b0(0x3ff),_0x6174d3[_0x6174d3[_0x5e85b0(0x1ee)]=0xa]='LOGIN_FAILED',_0x6174d3[_0x6174d3[_0x5e85b0(0x1c7)]=0x1389]=_0x5e85b0(0x1c7),_0x6174d3[_0x6174d3[_0x5e85b0(0x3d5)]=0x1771]=_0x5e85b0(0x3d5),_0x6174d3[_0x6174d3[_0x5e85b0(0x349)]=0x1772]=_0x5e85b0(0x349),_0x6174d3[_0x6174d3[_0x5e85b0(0x293)]=0x1773]=_0x5e85b0(0x293),_0x6174d3[_0x6174d3[_0x5e85b0(0x3dc)]=0x1b59]=_0x5e85b0(0x3dc),_0x6174d3[_0x6174d3[_0x5e85b0(0x382)]=0x1b5a]=_0x5e85b0(0x382),_0x6174d3[_0x6174d3[_0x5e85b0(0x274)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x6174d3[_0x6174d3['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5e85b0(0x2a4),_0x6174d3[_0x6174d3[_0x5e85b0(0x246)]=0x1b5d]=_0x5e85b0(0x246),_0x6174d3[_0x6174d3[_0x5e85b0(0x279)]=0x1f41]=_0x5e85b0(0x279),_0x6174d3[_0x6174d3[_0x5e85b0(0x2bd)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x6174d3[_0x6174d3[_0x5e85b0(0x3ba)]=0x232a]=_0x5e85b0(0x3ba),_0x6174d3[_0x6174d3['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5e85b0(0x3c2),_0x6174d3[_0x6174d3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5e85b0(0x2e7),_0x6174d3[_0x6174d3[_0x5e85b0(0x335)]=0x232d]=_0x5e85b0(0x335),_0x6174d3[_0x6174d3['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x6174d3[_0x6174d3[_0x5e85b0(0x1f2)]=0x2712]=_0x5e85b0(0x1f2),_0x6174d3[_0x6174d3[_0x5e85b0(0x3a2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x6174d3[_0x6174d3['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5e85b0(0x15d),_0x6174d3[_0x6174d3[_0x5e85b0(0x1ac)]=0x271a]=_0x5e85b0(0x1ac),_0x6174d3[_0x6174d3[_0x5e85b0(0x3b5)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x6174d3[_0x6174d3[_0x5e85b0(0x139)]=0x2af9]=_0x5e85b0(0x139),_0x6174d3[_0x6174d3[_0x5e85b0(0x22d)]=0x2ee1]=_0x5e85b0(0x22d),_0x6174d3[_0x6174d3['INVALID_INVITE_CODE']=0x2ee2]=_0x5e85b0(0x340),_0x6174d3[_0x6174d3[_0x5e85b0(0x1f9)]=0x2ee3]=_0x5e85b0(0x1f9),_0x6174d3[_0x6174d3[_0x5e85b0(0x38f)]=0x2ee4]=_0x5e85b0(0x38f),_0x6174d3[_0x6174d3['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5e85b0(0x1e2),_0x6174d3[_0x6174d3[_0x5e85b0(0x29f)]=0x32c9]=_0x5e85b0(0x29f),_0x6174d3[_0x6174d3['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x6174d3[_0x6174d3[_0x5e85b0(0x339)]=0x32cb]=_0x5e85b0(0x339),_0x6174d3[_0x6174d3[_0x5e85b0(0x3bc)]=-0x1]=_0x5e85b0(0x3bc),_0x6174d3))(Si||{}),Q=(_0x5e05fc=>(_0x5e05fc[_0x5e05fc['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x5e05fc[_0x5e05fc['UNIVER_DOC']=0x1]=_0x5e85b0(0x1dc),_0x5e05fc[_0x5e05fc['UNIVER_SHEET']=0x2]=_0x5e85b0(0x26b),_0x5e05fc[_0x5e05fc[_0x5e85b0(0x164)]=0x3]='UNIVER_SLIDE',_0x5e05fc[_0x5e05fc[_0x5e85b0(0x3f8)]=0x4]=_0x5e85b0(0x3f8),_0x5e05fc[_0x5e05fc['UNRECOGNIZED']=-0x1]=_0x5e85b0(0x3bc),_0x5e05fc))(Q||{}),F=(_0x56be21=>(_0x56be21[_0x56be21[_0x5e85b0(0x3e4)]=0x0]=_0x5e85b0(0x3e4),_0x56be21[_0x56be21['HELLO']=0x1]='HELLO',_0x56be21[_0x56be21[_0x5e85b0(0x1bd)]=0x2]=_0x5e85b0(0x1bd),_0x56be21[_0x56be21[_0x5e85b0(0x144)]=0x3]=_0x5e85b0(0x144),_0x56be21[_0x56be21['INGEST']=0x4]=_0x5e85b0(0x285),_0x56be21[_0x56be21[_0x5e85b0(0x1f4)]=0x5]='HEARTBEAT',_0x56be21[_0x56be21[_0x5e85b0(0x178)]=0x6]=_0x5e85b0(0x178),_0x56be21[_0x56be21[_0x5e85b0(0x3bc)]=-0x1]=_0x5e85b0(0x3bc),_0x56be21))(F||{}),ge=(_0x9c301b=>(_0x9c301b[_0x9c301b[_0x5e85b0(0x36e)]=0x0]=_0x5e85b0(0x36e),_0x9c301b[_0x9c301b['OK']=0x1]='OK',_0x9c301b[_0x9c301b[_0x5e85b0(0x26e)]=0x2]=_0x5e85b0(0x26e),_0x9c301b[_0x9c301b['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x9c301b[_0x9c301b[_0x5e85b0(0x19a)]=0x3ea]=_0x5e85b0(0x19a),_0x9c301b[_0x9c301b[_0x5e85b0(0x1bf)]=0x3eb]=_0x5e85b0(0x1bf),_0x9c301b[_0x9c301b[_0x5e85b0(0x12c)]=0x3ec]=_0x5e85b0(0x12c),_0x9c301b[_0x9c301b[_0x5e85b0(0x3bc)]=-0x1]=_0x5e85b0(0x3bc),_0x9c301b))(ge||{}),Ei=(_0x38891b=>(_0x38891b[_0x38891b[_0x5e85b0(0x306)]=0x0]='Undefined',_0x38891b[_0x38891b['HttpImport']=0x1]=_0x5e85b0(0x386),_0x38891b[_0x38891b[_0x5e85b0(0x128)]=0x2]=_0x5e85b0(0x128),_0x38891b[_0x38891b['UnitEmbedded']=0x3]='UnitEmbedded',_0x38891b[_0x38891b[_0x5e85b0(0x2b2)]=0x4]='UnitSnapshot',_0x38891b[_0x38891b[_0x5e85b0(0x3c4)]=0x5]=_0x5e85b0(0x3c4),_0x38891b[_0x38891b[_0x5e85b0(0x3bc)]=-0x1]='UNRECOGNIZED',_0x38891b))(Ei||{});const q='collaboration-client.config',wn={};var re=(_0x58d461=>(_0x58d461[_0x5e85b0(0x21a)]=_0x5e85b0(0x21a),_0x58d461[_0x5e85b0(0x1a3)]='PERMISSION_DENIED',_0x58d461[_0x5e85b0(0x16d)]='CONFLICT',_0x58d461[_0x5e85b0(0x12b)]=_0x5e85b0(0x12b),_0x58d461[_0x5e85b0(0x2fe)]=_0x5e85b0(0x2fe),_0x58d461['SOCKET_FAILED_RETRY']=_0x5e85b0(0x3db),_0x58d461[_0x5e85b0(0x2b1)]=_0x5e85b0(0x2b1),_0x58d461[_0x5e85b0(0x166)]=_0x5e85b0(0x166),_0x58d461))(re||{});class pe{constructor(){var _0x5394c5=_0x5e85b0;N(this,'_event$',new _0x481b7e()),N(this,_0x5394c5(0x412),this[_0x5394c5(0x2e5)]['asObservable']());}[_0x5e85b0(0x258)](_0x7e23f1){var _0x4f1a8b=_0x5e85b0;this[_0x4f1a8b(0x2e5)][_0x4f1a8b(0x2ce)](_0x7e23f1);}}const Pn=_0x189597(_0x5e85b0(0x21e));function Ln(_0x405e85){var _0xa763de=_0x5e85b0,_0x2ee72f,_0x4cf9a3,_0x581cc7,_0x29c7a3,_0x175951;const _0x2bd9d1=_0x405e85[_0xa763de(0x401)],_0x1b5dc8=JSON[_0xa763de(0x2aa)](_0x2bd9d1);switch(_0x1b5dc8['cmd']){case F[_0xa763de(0x1f4)]:case F['HELLO']:{const _0x20d01d=_0x1b5dc8[_0xa763de(0x2fc)];return{..._0x1b5dc8,'data':_0x20d01d,'cmd':_0x1b5dc8[_0xa763de(0x31d)]};}case F['JOIN']:{const _0x147d3d=_0x1b5dc8[_0xa763de(0x37c)];return{..._0x1b5dc8,'data':_0x147d3d,'cmd':_0x1b5dc8[_0xa763de(0x31d)]};}case F[_0xa763de(0x178)]:{const _0x109d81=_0x1b5dc8[_0xa763de(0x2da)];switch(_0x109d81['eventID']){case _0x5d967f[_0xa763de(0x2e6)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':(_0x2ee72f=_0x109d81['permissionRejEvent'])==null?void 0x0:_0x2ee72f['cs']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x37d)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':(_0x4cf9a3=_0x109d81[_0xa763de(0x2d9)])==null?void 0x0:_0x4cf9a3['cs']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x3d1)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':(_0x581cc7=_0x109d81['newCsEvent'])==null?void 0x0:_0x581cc7['cs']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x1c8)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':(_0x29c7a3=_0x109d81['csRejEvent'])==null?void 0x0:_0x29c7a3['cs']},'cmd':_0x1b5dc8['cmd']};case _0x5d967f[_0xa763de(0x163)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':(_0x175951=_0x109d81[_0xa763de(0x215)])==null?void 0x0:_0x175951['cs']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x3b6)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x124)]},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x138)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x2ad)]},'cmd':_0x1b5dc8['cmd']};case _0x5d967f['USERS_LEAVE']:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x361)]},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x2fd)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81['liveShareNewHost']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x1e0)]:case _0x5d967f[_0xa763de(0x232)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81['liveShareOperation']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f['LIVESHARE_TERMINATE']:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x38b)]},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x2cc)]:return{..._0x1b5dc8,'data':_0x109d81,'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x265)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x1a0)]},'cmd':_0x1b5dc8['cmd']};case _0x5d967f[_0xa763de(0x248)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x208)]},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f['SHOULD_CLOSE_CONN']:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x291)]},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f['UNISCRIPT_RUN']:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81['uniscriptRunEvent']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};default:return _0x1b5dc8;}}default:return _0x1b5dc8;}}function xn(_0x353856){var _0x3e360d=_0x5e85b0;switch(_0x353856[_0x3e360d(0x31d)]){case F[_0x3e360d(0x1f4)]:case F['HELLO']:return JSON['stringify']({'cmd':_0x353856[_0x3e360d(0x31d)],'routeKey':_0x353856[_0x3e360d(0x27e)]});case F[_0x3e360d(0x285)]:{let _0x38041e;switch(_0x353856[_0x3e360d(0x401)][_0x3e360d(0x388)]){case _0x5d967f[_0x3e360d(0x3b6)]:{_0x38041e={'eventID':_0x5d967f['UPDATE_CURSOR'],'updateCursorEvent':_0x353856['data'][_0x3e360d(0x401)]};break;}case _0x5d967f['USERS_LEAVE']:{_0x38041e={'eventID':_0x5d967f['USERS_LEAVE'],'leaveEvent':_0x353856[_0x3e360d(0x401)][_0x3e360d(0x401)]};break;}case _0x5d967f['USERS_ENTER']:{_0x38041e={'eventID':_0x5d967f['USERS_ENTER'],'joinEvent':_0x353856[_0x3e360d(0x401)][_0x3e360d(0x401)]};break;}case _0x5d967f[_0x3e360d(0x2fd)]:{_0x38041e={'eventID':_0x5d967f[_0x3e360d(0x2fd)],'liveShareNewHost':_0x353856['data'][_0x3e360d(0x401)]};break;}case _0x5d967f['LIVESHARE_OPERATION']:{_0x38041e={'eventID':_0x5d967f[_0x3e360d(0x232)],'liveShareOperation':_0x353856[_0x3e360d(0x401)][_0x3e360d(0x401)]};break;}case _0x5d967f[_0x3e360d(0x256)]:{_0x38041e={'eventID':_0x5d967f['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x353856[_0x3e360d(0x401)][_0x3e360d(0x401)]};break;}case _0x5d967f['LIVESHARE_REQUEST_HOST']:{_0x38041e={'eventID':_0x5d967f[_0x3e360d(0x2f2)],'liveShareRequestHost':_0x353856[_0x3e360d(0x401)][_0x3e360d(0x401)]};break;}case _0x5d967f['LIVESHARE_FETCH_OPERATIONS']:{_0x38041e={'eventID':_0x5d967f[_0x3e360d(0x1e0)]};break;}default:_0x38041e={'eventID':_0x353856['data'][_0x3e360d(0x388)]};}return JSON[_0x3e360d(0x2a9)]({'cmd':_0x353856[_0x3e360d(0x31d)],'routeKey':_0x353856[_0x3e360d(0x27e)],'collaMsg':_0x38041e});}case F[_0x3e360d(0x1bd)]:return JSON[_0x3e360d(0x2a9)]({'cmd':_0x353856[_0x3e360d(0x31d)],'routeKey':_0x353856[_0x3e360d(0x27e)],'joinReq':_0x353856[_0x3e360d(0x401)]});case F[_0x3e360d(0x144)]:return JSON[_0x3e360d(0x2a9)]({'cmd':_0x353856['cmd'],'routeKey':_0x353856[_0x3e360d(0x27e)],'leaveReq':_0x353856[_0x3e360d(0x401)]});default:throw new Error(_0x3e360d(0x3c0));}}var Mn=Object[_0x5e85b0(0x3b0)],kn=(_0x2268cf,_0x154182,_0x2977cb,_0x3f6917)=>{var _0x3b00ab=_0x5e85b0;for(var _0x7180a3=_0x3f6917>0x1?void 0x0:_0x3f6917?Mn(_0x154182,_0x2977cb):_0x154182,_0x387178=_0x2268cf[_0x3b00ab(0x317)]-0x1,_0x4c73f8;_0x387178>=0x0;_0x387178--)(_0x4c73f8=_0x2268cf[_0x387178])&&(_0x7180a3=_0x4c73f8(_0x7180a3)||_0x7180a3);return _0x7180a3;},Ae=(_0x11ac56,_0x55098f)=>(_0x370cfa,_0x58e33a)=>_0x55098f(_0x370cfa,_0x58e33a,_0x11ac56);const Ii=_0x189597('univer-pro.collaboration-client-socket-service');function $n(_0x1d3c75,_0x1be183,_0x5403df){var _0x34d2bb=_0x5e85b0;return _0x1d3c75+'/'+_0x1be183+_0x34d2bb(0x2a1)+_0x5403df+_0x34d2bb(0x147);}let Gt=class extends _0x30c483{constructor(_0x403f0c,_0x455fa5,_0x4ba1fe,_0x5e8314,_0x274773){var _0x935304=_0x5e85b0;super(),this[_0x935304(0x35f)]=_0x403f0c,this[_0x935304(0x40b)]=_0x455fa5,this[_0x935304(0x161)]=_0x4ba1fe,this[_0x935304(0x154)]=_0x5e8314,this[_0x935304(0x3e2)]=_0x274773;}[_0x5e85b0(0x2bc)](_0x57bc13){var _0x1d641f=_0x5e85b0;const _0x32fe76=this[_0x1d641f(0x35f)][_0x1d641f(0x3d0)](_0x85c071);if(!_0x32fe76)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x43eea9=_0x32fe76[_0x1d641f(0x165)](_0x57bc13);if(!_0x43eea9)throw new Error(_0x1d641f(0x40c));const _0x393520=new _0x3f4e35(),_0x46cfa2=new _0x481b7e();_0x393520[_0x1d641f(0x228)](_0x43eea9[_0x1d641f(0x1c3)][_0x1d641f(0x292)](_0x211ceb=>_0x46cfa2['next'](_0x211ceb))),_0x393520[_0x1d641f(0x228)](_0x50f250(()=>_0x46cfa2['complete']()));const _0x1a3f80=new _0x481b7e();_0x393520['add'](_0x43eea9[_0x1d641f(0x296)][_0x1d641f(0x292)](_0x5594d2=>_0x1a3f80[_0x1d641f(0x2ce)](_0x5594d2))),_0x393520['add'](_0x50f250(()=>_0x1a3f80[_0x1d641f(0x240)]()));const _0x4adc09=new _0x481b7e();_0x393520[_0x1d641f(0x228)](_0x43eea9[_0x1d641f(0x27d)][_0x1d641f(0x292)](_0x1c032e=>{const _0xb2e2c0=Ln(_0x1c032e);_0x4adc09['next'](_0xb2e2c0);})),_0x393520['add'](_0x50f250(()=>_0x4adc09['complete']()));let _0x2aec5b;const _0x123974=()=>{var _0x3364cc=_0x1d641f;_0x1a3f80[_0x3364cc(0x2ce)](new Event(_0x3364cc(0x3fe))),_0x46cfa2[_0x3364cc(0x2ce)](new Event(_0x3364cc(0x3fe))),_0x2aec5b[_0x3364cc(0x3be)]();};return _0x2aec5b={'memberID':'','close$':_0x46cfa2[_0x1d641f(0x175)](),'error$':_0x1a3f80[_0x1d641f(0x175)](),'open$':_0x43eea9[_0x1d641f(0x383)],'message$':_0x4adc09['asObservable'](),'send':_0x24596a=>{var _0x2f30a7=_0x1d641f;if(_0x24596a['cmd']===F[_0x2f30a7(0x285)]){if(_0x24596a[_0x2f30a7(0x401)]['eventID']===_0x5d967f[_0x2f30a7(0x25d)]){this[_0x2f30a7(0x2c4)](_0x2aec5b,_0x24596a[_0x2f30a7(0x401)])[_0x2f30a7(0x364)](_0xc17a5f=>{var _0x255a42=_0x2f30a7;this[_0x255a42(0x154)][_0x255a42(0x371)](_0xc17a5f),_0x123974();});return;}if(_0x24596a[_0x2f30a7(0x401)][_0x2f30a7(0x388)]===_0x5d967f[_0x2f30a7(0x398)]){const _0x408fbd=_0x24596a['data'];this[_0x2f30a7(0x22f)](_0x408fbd)[_0x2f30a7(0x22c)](_0xdc6ff3=>{var _0x1eb2d4=_0x2f30a7;_0x4adc09[_0x1eb2d4(0x2ce)]({'cmd':F[_0x1eb2d4(0x178)],'code':ge['OK'],'routeKey':_0x408fbd[_0x1eb2d4(0x401)][_0x1eb2d4(0x373)],'routeType':'','data':{'eventID':_0x5d967f[_0x1eb2d4(0x3df)],'data':{'changesets':_0xdc6ff3}}});})[_0x2f30a7(0x364)](_0x3fe184=>{var _0x45bafc=_0x2f30a7;this['_logService'][_0x45bafc(0x371)](_0x3fe184),_0x123974();});return;}}_0x43eea9[_0x2f30a7(0x14e)](xn(_0x24596a));},'close':()=>{var _0x86d756=_0x1d641f;_0x43eea9[_0x86d756(0x3be)](),_0x393520[_0x86d756(0x41a)]();}},_0x2aec5b;}async[_0x5e85b0(0x2c4)](_0xe08af,_0x53d9fd){var _0x3e3eb0=_0x5e85b0,_0x3d172c,_0x412d49;const {unitType:_0x220062,unitID:_0x30281a,changeset:_0x30d199}=_0x53d9fd[_0x3e3eb0(0x401)],_0x390cef={'unitID':_0x30281a,'memberID':_0xe08af[_0x3e3eb0(0x1c2)],'type':_0x220062,'changeset':_0x343d15(_0x30d199)},_0x428b1e=this[_0x3e3eb0(0x161)][_0x3e3eb0(0x314)](Nn),_0x367e9c=this[_0x3e3eb0(0x161)][_0x3e3eb0(0x314)](q),_0x10e980=$n((_0x412d49=(_0x3d172c=_0x367e9c==null?void 0x0:_0x367e9c['collabSubmitChangesetUrl'])!=null?_0x3d172c:_0x428b1e)!=null?_0x412d49:Dn,_0x220062,_0x30281a);try{await this['_httpService']['post'](_0x10e980,{'body':_0x390cef});}catch(_0x1b4bb9){throw this[_0x3e3eb0(0x154)][_0x3e3eb0(0x371)](_0x3e3eb0(0x28f),_0x3e3eb0(0x2c5)),_0x1b4bb9;}}async['_fetchMissChangesets'](_0x33e591){var _0x54d889=_0x5e85b0;const {unitID:_0xdeb53d,from:_0x439a72,to:_0x1395f8,unitType:_0x40153e}=_0x33e591[_0x54d889(0x401)];return(await this['_snapshotServerService'][_0x54d889(0x24e)]({'metadata':void 0x0},{'unitID':_0xdeb53d,'type':_0x40153e,'from':_0x439a72,'to':_0x1395f8}))[_0x54d889(0x1e6)];}};Gt=kn([Ae(0x0,_0x4e6a0f(_0x2a76ad)),Ae(0x1,_0x4e6a0f(_0x4dfb46)),Ae(0x2,_0x57235c),Ae(0x3,_0x4f17e2),Ae(0x4,_0x422aa5)],Gt);const Hn=_0x5e85b0(0x33a);function Bn(_0x1da5b2){var _0x108b4f=_0x5e85b0;return JSON['stringify'](_0x1da5b2)[_0x108b4f(0x317)];}class Ti{constructor(){var _0x46d715=_0x5e85b0;N(this,_0x46d715(0x186),new _0x481b7e()),N(this,_0x46d715(0x324),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0xbbed27){var _0x263adc=_0x5e85b0;this[_0x263adc(0x186)][_0x263adc(0x2ce)](_0xbbed27);}}var jn=Object[_0x5e85b0(0x3b0)],Fn=(_0x4a3f2d,_0x4e583c,_0x41da20,_0x332c36)=>{var _0x461512=_0x5e85b0;for(var _0x1b1704=_0x332c36>0x1?void 0x0:_0x332c36?jn(_0x4e583c,_0x41da20):_0x4e583c,_0x275549=_0x4a3f2d[_0x461512(0x317)]-0x1,_0x11a183;_0x275549>=0x0;_0x275549--)(_0x11a183=_0x4a3f2d[_0x275549])&&(_0x1b1704=_0x11a183(_0x1b1704)||_0x1b1704);return _0x1b1704;},Wt=(_0x212fe4,_0x58fa12)=>(_0x507e8e,_0x172952)=>_0x58fa12(_0x507e8e,_0x172952,_0x212fe4);let Le=class extends _0x30c483{constructor(_0x3677ac,_0x3c362a){var _0x43f184=_0x5e85b0;super(),N(this,_0x43f184(0x3fb),new Map()),N(this,_0x43f184(0x369),new _0x481b7e()),(this['_univerInstanceService']=_0x3677ac,this[_0x43f184(0x1de)]=_0x3c362a,this['disposeWithMe'](_0x2ba3bf(this[_0x43f184(0x396)][_0x43f184(0x34d)](_0x3ac655[_0x43f184(0x26b)])[_0x43f184(0x2c0)](_0x4f42e4(_0xceb463=>_0xceb463[_0x43f184(0x21c)]())),this[_0x43f184(0x396)][_0x43f184(0x34d)](_0x3ac655[_0x43f184(0x1dc)])['pipe'](_0x4f42e4(_0x5ecded=>_0x5ecded[_0x43f184(0x21c)]())),this['_univerInstanceService'][_0x43f184(0x34d)](_0x3ac655[_0x43f184(0x164)])[_0x43f184(0x2c0)](_0x4f42e4(_0x40cc10=>_0x40cc10[_0x43f184(0x21c)]())))[_0x43f184(0x292)](_0x4f393d=>this[_0x43f184(0x421)](_0x4f393d))));}[_0x5e85b0(0x148)](_0x3d479f){var _0x1a4950=_0x5e85b0;return this[_0x1a4950(0x3fb)][_0x1a4950(0x2ed)](_0x3d479f)?_0x2e5cdf(this[_0x1a4950(0x3fb)][_0x1a4950(0x3d0)](_0x3d479f)):this[_0x1a4950(0x369)][_0x1a4950(0x2c0)](_0x4f42e4(_0x28cac8=>{var _0x3dd91a=_0x1a4950;if(_0x28cac8===_0x3d479f)return this[_0x3dd91a(0x3fb)][_0x3dd91a(0x3d0)](_0x28cac8);}));}[_0x5e85b0(0x359)](_0x192d7f){var _0x28f3d0=_0x5e85b0;this[_0x28f3d0(0x1de)][_0x28f3d0(0x359)](_0x192d7f);}[_0x5e85b0(0x375)](){var _0x1837d9=_0x5e85b0;return this[_0x1837d9(0x1de)]['getCurrentUser']();}[_0x5e85b0(0x277)](_0x276649,_0x3d75fc){var _0x5b1c3d=_0x5e85b0;let _0x2baabc=this[_0x5b1c3d(0x3fb)][_0x5b1c3d(0x3d0)](_0x276649);_0x2baabc||(_0x2baabc=new Vn(),this[_0x5b1c3d(0x3fb)][_0x5b1c3d(0x28a)](_0x276649,_0x2baabc),this[_0x5b1c3d(0x369)][_0x5b1c3d(0x2ce)](_0x276649)),_0x2baabc[_0x5b1c3d(0x277)](_0x3d75fc);}[_0x5e85b0(0x392)](_0x1d6575,_0x2a9693){var _0x4ae9ee=_0x5e85b0;const _0x51db90=this[_0x4ae9ee(0x3fb)][_0x4ae9ee(0x3d0)](_0x1d6575);_0x51db90&&_0x51db90[_0x4ae9ee(0x392)](_0x2a9693);}[_0x5e85b0(0x2f0)](_0x2eb0fa){var _0x2c707a=_0x5e85b0;return this[_0x2c707a(0x3fb)][_0x2c707a(0x3d0)](_0x2eb0fa);}[_0x5e85b0(0x394)](_0x14f6e2,_0xdb8d87){var _0x42e50f=_0x5e85b0;const _0x57f19d=this['_roomMembers'][_0x42e50f(0x3d0)](_0x14f6e2);if(_0x57f19d)return _0x57f19d[_0x42e50f(0x394)](_0xdb8d87);}[_0x5e85b0(0x421)](_0x4c70b8){var _0x565308=_0x5e85b0;const _0x182552=this[_0x565308(0x3fb)][_0x565308(0x3d0)](_0x4c70b8);_0x182552&&(_0x182552[_0x565308(0x41a)](),this[_0x565308(0x3fb)][_0x565308(0x3d2)](_0x4c70b8));}['dispose'](){var _0xb9e2eb=_0x5e85b0;this[_0xb9e2eb(0x3fb)][_0xb9e2eb(0x1b4)](_0x5f474e=>_0x5f474e['dispose']()),this['_roomMembers'][_0xb9e2eb(0x21b)](),this[_0xb9e2eb(0x369)]['complete']();}};Le=Fn([Wt(0x0,_0x187759),Wt(0x1,_0x4e6a0f(_0x5a566c))],Le);class Vn extends _0x30c483{constructor(){var _0x4be609=_0x5e85b0;super(...arguments),N(this,_0x4be609(0x155),new Map()),N(this,_0x4be609(0x30b),new _0x5a2e2c(this['_members'])),N(this,'members$',this[_0x4be609(0x30b)][_0x4be609(0x175)]());}[_0x5e85b0(0x41a)](){var _0x51f9b2=_0x5e85b0;this['_members'][_0x51f9b2(0x21b)]();}[_0x5e85b0(0x277)](_0x15b381){var _0x1dc08f=_0x5e85b0;this[_0x1dc08f(0x155)]['set'](_0x15b381[_0x1dc08f(0x1c2)],_0x15b381),this[_0x1dc08f(0x1cf)]();}[_0x5e85b0(0x392)](_0x47f4eb){var _0x5768f8=_0x5e85b0;this[_0x5768f8(0x155)][_0x5768f8(0x3d2)](_0x47f4eb);}[_0x5e85b0(0x394)](_0x5258d9){var _0x3d6032=_0x5e85b0;return this[_0x3d6032(0x155)]['get'](_0x5258d9);}[_0x5e85b0(0x19e)](){var _0x26a12a=_0x5e85b0;return Array['from'](this[_0x26a12a(0x155)][_0x26a12a(0x420)]());}[_0x5e85b0(0x1cf)](){var _0x1d1a15=_0x5e85b0;this['_members$'][_0x1d1a15(0x2ce)](this['_members']);}}var Gn=Object[_0x5e85b0(0x3b0)],Wn=(_0x5a2bf1,_0x5222e6,_0x7a36df,_0xeefd0d)=>{var _0x4a2a54=_0x5e85b0;for(var _0x5d35c2=_0xeefd0d>0x1?void 0x0:_0xeefd0d?Gn(_0x5222e6,_0x7a36df):_0x5222e6,_0x42d5bc=_0x5a2bf1[_0x4a2a54(0x317)]-0x1,_0x4a33eb;_0x42d5bc>=0x0;_0x42d5bc--)(_0x4a33eb=_0x5a2bf1[_0x42d5bc])&&(_0x5d35c2=_0x4a33eb(_0x5d35c2)||_0x5d35c2);return _0x5d35c2;},me=(_0x2e80f1,_0x28eeb3)=>(_0x3dfb45,_0x3fee37)=>_0x28eeb3(_0x3dfb45,_0x3fee37,_0x2e80f1),Ee=(_0x4a794e=>(_0x4a794e[_0x4a794e['IDLE']=0x0]=_0x5e85b0(0x183),_0x4a794e[_0x4a794e[_0x5e85b0(0x255)]=0x1]=_0x5e85b0(0x255),_0x4a794e[_0x4a794e['OFFLINE']=0x2]=_0x5e85b0(0x27b),_0x4a794e[_0x4a794e['ONLINE']=0x3]=_0x5e85b0(0x267),_0x4a794e))(Ee||{});const Kt={[ge['FAIL']]:'session.join-failed',[ge[_0x5e85b0(0x28c)]]:'session.room-full',[ge['JOIN_ROOM_NOT_EXISTS']]:_0x5e85b0(0x35c),[ge[_0x5e85b0(0x1bf)]]:_0x5e85b0(0x209),[ge[_0x5e85b0(0x12c)]]:_0x5e85b0(0x1cc)};let Et=class extends _0x5d06b1{constructor(_0x1cd0ad,_0x12fa2e,_0x540248,_0x31b000,_0x306104,_0x48df4f,_0x3e43d3,_0x224ccf,_0x4343e8){var _0x1d9134=_0x5e85b0;super(),N(this,'_sessionStatus$',new _0x5a2e2c(0x0)),N(this,_0x1d9134(0x3a8),this[_0x1d9134(0x231)]['asObservable']()),N(this,_0x1d9134(0x2e5),new _0x481b7e()),N(this,_0x1d9134(0x412),this['_event$'][_0x1d9134(0x175)]()),N(this,_0x1d9134(0x405)),N(this,_0x1d9134(0x273)),N(this,_0x1d9134(0x200)),N(this,_0x1d9134(0x346),!0x1),N(this,_0x1d9134(0x226),null),(this[_0x1d9134(0x33f)]=_0x1cd0ad,this['_logService']=_0x540248,this[_0x1d9134(0x161)]=_0x31b000,this[_0x1d9134(0x198)]=_0x306104,this[_0x1d9134(0x24c)]=_0x48df4f,this[_0x1d9134(0x2f3)]=_0x3e43d3,this[_0x1d9134(0x262)]=_0x224ccf,this['_telemetryService']=_0x4343e8,this[_0x1d9134(0x346)]=!!this[_0x1d9134(0x278)],_0x12fa2e['pipe'](_0x396fca(this['dispose$']))[_0x1d9134(0x292)](_0xa328e1=>{var _0x459cc4=_0x1d9134,_0x1c528e;typeof _0xa328e1>'u'||(this['_socket']=_0xa328e1,_0xa328e1?(this[_0x459cc4(0x14d)](_0xa328e1),this['_socketMessageSubscription']=_0xa328e1[_0x459cc4(0x27d)][_0x459cc4(0x292)](_0x15b5ce=>{var _0x16b899=_0x459cc4;_0x15b5ce['routeKey']===this[_0x16b899(0x33f)]&&this[_0x16b899(0x329)](_0x15b5ce);})):(this[_0x459cc4(0x350)](),this['_sessionStatus$'][_0x459cc4(0x2ce)](0x2),(_0x1c528e=this[_0x459cc4(0x273)])==null||_0x1c528e['unsubscribe'](),this[_0x459cc4(0x273)]=null));}));}get[_0x5e85b0(0x145)](){var _0x90c852=_0x5e85b0;return this[_0x90c852(0x231)][_0x90c852(0x141)]();}[_0x5e85b0(0x263)](){var _0x157bed=_0x5e85b0,_0x5a4c19,_0x205362;return(_0x205362=(_0x5a4c19=this[_0x157bed(0x405)])==null?void 0x0:_0x5a4c19['memberID'])!=null?_0x205362:null;}[_0x5e85b0(0x41a)](){var _0x15ead2=_0x5e85b0;super['dispose'](),this[_0x15ead2(0x239)][_0x15ead2(0x2ce)](),this['dispose$'][_0x15ead2(0x240)]();}[_0x5e85b0(0x3be)](){var _0x3b0d1f=_0x5e85b0,_0x7ea2af,_0x5637fa;this[_0x3b0d1f(0x350)](),(_0x7ea2af=this[_0x3b0d1f(0x405)])==null||_0x7ea2af['send']({'cmd':F[_0x3b0d1f(0x144)],'data':{'roomID':this[_0x3b0d1f(0x33f)]}}),(_0x5637fa=this[_0x3b0d1f(0x405)])==null||_0x5637fa[_0x3b0d1f(0x3be)](),this[_0x3b0d1f(0x2e5)][_0x3b0d1f(0x240)](),this[_0x3b0d1f(0x231)][_0x3b0d1f(0x240)](),this[_0x3b0d1f(0x41a)]();}[_0x5e85b0(0x329)](_0x4c5d73){var _0x1c5d11=_0x5e85b0;_0x4c5d73[_0x1c5d11(0x31d)]===F[_0x1c5d11(0x1bd)]?this[_0x1c5d11(0x358)](_0x4c5d73):_0x4c5d73[_0x1c5d11(0x31d)]===F[_0x1c5d11(0x178)]&&this[_0x1c5d11(0x143)](_0x4c5d73);}[_0x5e85b0(0x14d)](_0x40ce07){var _0x3ccf90=_0x5e85b0;this[_0x3ccf90(0x231)][_0x3ccf90(0x2ce)](0x1),_0x40ce07[_0x3ccf90(0x14e)]({'cmd':F[_0x3ccf90(0x1bd)],'routeKey':this[_0x3ccf90(0x33f)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x5e85b0(0x358)](_0x2fc492){var _0x4ad41f=_0x5e85b0,_0x274a60;if(_0x2fc492[_0x4ad41f(0x1c4)]in Kt){this[_0x4ad41f(0x262)][_0x4ad41f(0x258)]({'id':re[_0x4ad41f(0x2fe)],'data':Kt[_0x2fc492[_0x4ad41f(0x1c4)]]}),this[_0x4ad41f(0x231)][_0x4ad41f(0x2ce)](0x2);return;}this[_0x4ad41f(0x231)][_0x4ad41f(0x2ce)](0x3);const _0x102d53=(_0x274a60=_0x2fc492[_0x4ad41f(0x401)][_0x4ad41f(0x194)][this['_unitID']])==null?void 0x0:_0x274a60['members'];_0x102d53&&_0x102d53[_0x4ad41f(0x1b4)](_0x670262=>this[_0x4ad41f(0x24c)][_0x4ad41f(0x277)](this[_0x4ad41f(0x33f)],_0x670262));}[_0x5e85b0(0x143)](_0x4fe6ea){var _0x507c4e=_0x5e85b0;try{const _0x865686=_0x4fe6ea['data'];switch(_0x865686[_0x507c4e(0x388)]){case _0x5d967f[_0x507c4e(0x138)]:this['_onUserJoin'](_0x865686),this[_0x507c4e(0x2e5)][_0x507c4e(0x2ce)](_0x865686);break;case _0x5d967f[_0x507c4e(0x211)]:this[_0x507c4e(0x2be)](_0x865686),this[_0x507c4e(0x2e5)][_0x507c4e(0x2ce)](_0x865686);break;case _0x5d967f[_0x507c4e(0x37d)]:case _0x5d967f[_0x507c4e(0x163)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x507c4e(0x2e5)][_0x507c4e(0x2ce)](_0x865686);break;case _0x5d967f['MSG_FOR_ERROR']:this['_logService'][_0x507c4e(0x371)](_0x507c4e(0x286)+JSON[_0x507c4e(0x2a9)](_0x865686)),this[_0x507c4e(0x2e5)][_0x507c4e(0x2ce)](_0x865686);break;case _0x5d967f['COMMENT_UPDATE']:this[_0x507c4e(0x2f3)][_0x507c4e(0x357)](_0x865686[_0x507c4e(0x401)]),this[_0x507c4e(0x2e5)]['next'](_0x865686);break;default:this[_0x507c4e(0x2e5)]['next'](_0x865686);}}catch(_0x42f41d){this[_0x507c4e(0x154)][_0x507c4e(0x371)](_0x42f41d,_0x4fe6ea);}}[_0x5e85b0(0x319)](_0x3aa59b){var _0x35fec4=_0x5e85b0;this[_0x35fec4(0x24c)][_0x35fec4(0x277)](this['_unitID'],_0x3aa59b[_0x35fec4(0x401)]);}[_0x5e85b0(0x2be)](_0x21cc94){var _0x1b39c5=_0x5e85b0;this[_0x1b39c5(0x24c)]['removeMember'](this[_0x1b39c5(0x33f)],_0x21cc94[_0x1b39c5(0x401)][_0x1b39c5(0x1c2)]);}async[_0x5e85b0(0x14e)](_0xfede5c,_0x2b9992){var _0x499245=_0x5e85b0;if(this['sessionStatus']!==0x3||!this[_0x499245(0x405)])throw new Error(_0x499245(0x318));try{_0xfede5c[_0x499245(0x388)]===_0x5d967f[_0x499245(0x25d)]&&(this[_0x499245(0x1e1)](),this['_startTelemetryCollaborationNewChangeset'](_0xfede5c)),this['_socket'][_0x499245(0x14e)]({'cmd':F[_0x499245(0x285)],'routeKey':_0x2b9992,'routeType':'','data':_0xfede5c});}catch(_0xfc7669){this[_0x499245(0x154)]['error'](_0xfc7669);}}['_scheduleCollaborationTimeoutTimer'](){var _0x5f487b=_0x5e85b0,_0x4641a8;this[_0x5f487b(0x200)]=setTimeout(()=>{var _0x4fcf4b=_0x5f487b;this['_collaborationTimeoutTimer']=null,this[_0x4fcf4b(0x262)][_0x4fcf4b(0x258)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4641a8=this[_0x5f487b(0x161)][_0x5f487b(0x314)](mi))!=null?_0x4641a8:gi);}[_0x5e85b0(0x39a)](){var _0x44859d=_0x5e85b0;this[_0x44859d(0x200)]&&(clearTimeout(this[_0x44859d(0x200)]),this['_collaborationTimeoutTimer']=null);}[_0x5e85b0(0x168)](_0x3203ea){var _0xf39beb=_0x5e85b0;if(!this[_0xf39beb(0x346)])return;const {data:_0x23c9cd}=_0x3203ea,{unitID:_0x4e94aa,changeset:_0x26ee02}=_0x23c9cd,{mutations:_0x21109c,type:_0x35210a}=_0x26ee02;this[_0xf39beb(0x226)]={'unitId':_0x4e94aa,'type':_0x35210a,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x21109c)};}[_0x5e85b0(0x312)](){var _0x3b6b4d=_0x5e85b0;if(this['_shouldReportTelemetry']){if(!this[_0x3b6b4d(0x226)]){this[_0x3b6b4d(0x154)][_0x3b6b4d(0x371)](_0x3b6b4d(0x28f),_0x3b6b4d(0x2d5));return;}this[_0x3b6b4d(0x226)][_0x3b6b4d(0x2ab)]=performance[_0x3b6b4d(0x3c1)](),this[_0x3b6b4d(0x226)][_0x3b6b4d(0x2ea)]=this[_0x3b6b4d(0x226)][_0x3b6b4d(0x2ab)]-this[_0x3b6b4d(0x226)][_0x3b6b4d(0x341)],this[_0x3b6b4d(0x278)][_0x3b6b4d(0x290)](Hn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x5e85b0(0x350)](){var _0x4942e2=_0x5e85b0;this[_0x4942e2(0x226)]=null;}};Et=Wn([me(0x2,_0x4f17e2),me(0x3,_0x57235c),me(0x4,_0x4e6a0f(_0x4ff38c)),me(0x5,_0x4e6a0f(Le)),me(0x6,_0x4e6a0f(Ti)),me(0x7,_0x4e6a0f(pe)),me(0x8,_0x8e5208(_0x380d9e))],Et);var Kn=Object[_0x5e85b0(0x3b0)],Yn=(_0x581a55,_0x57f23b,_0x1d8d77,_0x3e2fc5)=>{var _0x588fc1=_0x5e85b0;for(var _0x5646c5=_0x3e2fc5>0x1?void 0x0:_0x3e2fc5?Kn(_0x57f23b,_0x1d8d77):_0x57f23b,_0x486590=_0x581a55[_0x588fc1(0x317)]-0x1,_0x4adbf5;_0x486590>=0x0;_0x486590--)(_0x4adbf5=_0x581a55[_0x486590])&&(_0x5646c5=_0x4adbf5(_0x5646c5)||_0x5646c5);return _0x5646c5;},be=(_0x2965fd,_0x3d086b)=>(_0x5a29eb,_0x18e6d1)=>_0x3d086b(_0x5a29eb,_0x18e6d1,_0x2965fd);let xe=class extends _0x30c483{constructor(_0x22054a,_0x2ec059,_0x4ea6e5,_0x438635,_0x4754aa,_0x5aae44){var _0x39b5eb=_0x5e85b0;super(),N(this,_0x39b5eb(0x16b),new _0x5a2e2c(void 0x0)),N(this,'socket$',this['_socket$'][_0x39b5eb(0x175)]()),N(this,_0x39b5eb(0x241),null),N(this,_0x39b5eb(0x2c8),new Map()),N(this,'_status$',new _0x5a2e2c(Ee[_0x39b5eb(0x183)])),N(this,_0x39b5eb(0x2b3),this[_0x39b5eb(0x3c7)][_0x39b5eb(0x175)]()),N(this,_0x39b5eb(0x219),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x39b5eb(0x2f1),0x0),N(this,_0x39b5eb(0x12f)),N(this,_0x39b5eb(0x289)),(this[_0x39b5eb(0x35f)]=_0x22054a,this[_0x39b5eb(0x154)]=_0x2ec059,this['_configService']=_0x4ea6e5,this[_0x39b5eb(0x271)]=_0x438635,this[_0x39b5eb(0x262)]=_0x4754aa,this[_0x39b5eb(0x2b5)]=_0x5aae44,this['_listenToNetworkCondition']());}get[_0x5e85b0(0x405)](){var _0xd5c1e3=_0x5e85b0;return this['_socket$'][_0xd5c1e3(0x141)]();}[_0x5e85b0(0x15e)](){var _0x1ec738=_0x5e85b0;this[_0x1ec738(0x2b5)]&&this[_0x1ec738(0x1d4)](this[_0x1ec738(0x2b5)][_0x1ec738(0x121)]['subscribe'](_0x245835=>{var _0x18cbea=_0x1ec738;_0x245835&&!this[_0x18cbea(0x405)]&&this['reconnect'](),_0x245835||this[_0x18cbea(0x23c)]();}));}[_0x5e85b0(0x41a)](){var _0x1c1116=_0x5e85b0;super['dispose'](),this[_0x1c1116(0x34c)](),this[_0x1c1116(0x2d8)](),this[_0x1c1116(0x378)](),this['_sessions']['forEach'](_0x21646a=>_0x21646a[_0x1c1116(0x41a)]()),this[_0x1c1116(0x2c8)][_0x1c1116(0x21b)](),this[_0x1c1116(0x3c7)][_0x1c1116(0x240)]();}async[_0x5e85b0(0x18b)](_0x5a5538){var _0x1e4208=_0x5e85b0;if(this[_0x1e4208(0x2c8)]['has'](_0x5a5538))return this[_0x1e4208(0x2c8)]['get'](_0x5a5538);this[_0x1e4208(0x332)]();const _0x351cb6=this[_0x1e4208(0x35f)][_0x1e4208(0x313)](Et,_0x5a5538,this[_0x1e4208(0x16b)][_0x1e4208(0x175)]());return this['_sessions']['set'](_0x5a5538,_0x351cb6),_0x351cb6;}['closeSession'](_0x29cfe5){var _0x39d53a=_0x5e85b0,_0x5b6e9d;const _0x348c54=this[_0x39d53a(0x2c8)]['get'](_0x29cfe5);_0x348c54&&(this[_0x39d53a(0x2c8)][_0x39d53a(0x3d2)](_0x29cfe5),_0x348c54[_0x39d53a(0x3be)]()),this['_sessions']['size']||(_0x5b6e9d=this['_socket'])==null||_0x5b6e9d['close']();}['reconnect'](){var _0x23c925=_0x5e85b0;this[_0x23c925(0x2f1)]=0x0,this[_0x23c925(0x34c)](),this[_0x23c925(0x3fd)]();}[_0x5e85b0(0x34c)](){var _0x2b5dba=_0x5e85b0;this[_0x2b5dba(0x1a1)]!=null&&(clearTimeout(this[_0x2b5dba(0x1a1)]),this[_0x2b5dba(0x1a1)]=null);}async[_0x5e85b0(0x37b)](){var _0x1ea9ed=_0x5e85b0,_0x29bb26,_0x159fea;const _0x49ac64=this[_0x1ea9ed(0x161)]['getConfig'](In),_0x1fa98f=this[_0x1ea9ed(0x161)][_0x1ea9ed(0x314)](q),_0x4f148e=(_0x159fea=(_0x29bb26=_0x1fa98f==null?void 0x0:_0x1fa98f['collabWebSocketUrl'])!=null?_0x29bb26:_0x49ac64)!=null?_0x159fea:Tn,_0x2eb96e=await this['_socketService'][_0x1ea9ed(0x165)](_0x4f148e);return this[_0x1ea9ed(0x241)]=_0x2eb96e,_0x2eb96e;}async[_0x5e85b0(0x332)](){var _0x31057e=_0x5e85b0,_0x5cad0d,_0xa3547e;try{const _0x53a9b9=(_0xa3547e=(_0x5cad0d=this[_0x31057e(0x405)])!=null?_0x5cad0d:this[_0x31057e(0x241)])!=null?_0xa3547e:await this[_0x31057e(0x37b)]();if(_0x53a9b9){const _0x2230dc=_0x53a9b9[_0x31057e(0x14e)];_0x53a9b9[_0x31057e(0x14e)]=_0x4ba323=>(this[_0x31057e(0x32a)](),_0x2230dc[_0x31057e(0x2dd)](_0x53a9b9,[_0x4ba323])),_0x53a9b9[_0x31057e(0x27d)][_0x31057e(0x292)](_0x38fc62=>this['_onMessage'](_0x53a9b9,_0x38fc62)),_0x53a9b9['error$']['pipe'](_0x193ab3(0x1))[_0x31057e(0x292)](_0x34f951=>this['_logService']['error'](_0x31057e(0x28b),_0x34f951)),_0x53a9b9[_0x31057e(0x383)]['pipe'](_0x193ab3(0x1))['subscribe'](()=>{var _0x5534da=_0x31057e;this[_0x5534da(0x2ba)](_0x53a9b9);}),_0x53a9b9[_0x31057e(0x1c3)][_0x31057e(0x2c0)](_0x193ab3(0x1))[_0x31057e(0x292)](_0x5ac8fb=>{var _0x7371a4=_0x31057e;this[_0x7371a4(0x154)]['debug'](_0x7371a4(0x355),_0x7371a4(0x3eb),_0x5ac8fb),this[_0x7371a4(0x33c)]();});}}catch(_0x5320a8){this[_0x31057e(0x154)][_0x31057e(0x371)](_0x5320a8),this['_onConnectionFailed']();}}[_0x5e85b0(0x2ba)](_0x4c53e2){var _0x22f8d5=_0x5e85b0;this[_0x22f8d5(0x154)][_0x22f8d5(0x156)]('[CollaborationSessionService]','socket\x20open.'),_0x4c53e2[_0x22f8d5(0x14e)]({'cmd':F[_0x22f8d5(0x1d2)]}),this[_0x22f8d5(0x32a)]();}[_0x5e85b0(0x23c)](){var _0x2068ea=_0x5e85b0;this[_0x2068ea(0x219)]=!0x1,this[_0x2068ea(0x241)]=null,this[_0x2068ea(0x3c7)]['next'](Ee[_0x2068ea(0x27b)]),this[_0x2068ea(0x16b)][_0x2068ea(0x2ce)](null),this['_clearTimeoutTimer'](),this[_0x2068ea(0x378)]();}[_0x5e85b0(0x33c)](){var _0xdb2288=_0x5e85b0,_0x3a111f;this[_0xdb2288(0x23c)](),this[_0xdb2288(0x2f1)]<((_0x3a111f=this['_configService'][_0xdb2288(0x314)](On))!=null?_0x3a111f:yn)?(this[_0xdb2288(0x262)][_0xdb2288(0x258)]({'id':re['SOCKET_FAILED_RETRY']}),this[_0xdb2288(0x3fd)]()):this[_0xdb2288(0x262)][_0xdb2288(0x258)]({'id':re['SOCKET_FAILED']});}[_0x5e85b0(0x3fd)](){var _0x41628e=_0x5e85b0,_0x57ad75;const _0x42658b=this[_0x41628e(0x2f1)],_0x34c2a5=this[_0x41628e(0x161)][_0x41628e(0x314)](q),_0x24bfcb=_0x42658b===0x0?0x0:((_0x57ad75=_0x34c2a5==null?void 0x0:_0x34c2a5['retryConnectingInterval'])!=null?_0x57ad75:bn)*0x2**_0x42658b;this[_0x41628e(0x1a1)]=setTimeout(()=>{var _0x1d24ee=_0x41628e;clearTimeout(this[_0x1d24ee(0x1a1)]),this['_retryConnectingTimer']=null,this[_0x1d24ee(0x332)]();},_0x24bfcb),this['_retryCount']+=0x1;}[_0x5e85b0(0x13d)](_0xe5343f,_0xbf5347){var _0x115c89=_0x5e85b0;const {cmd:_0x5c0853}=_0xbf5347;_0x5c0853===F[_0x115c89(0x1d2)]&&!this[_0x115c89(0x219)]&&(_0xe5343f[_0x115c89(0x1c2)]=_0xbf5347['data'][_0x115c89(0x1c2)],this[_0x115c89(0x16b)][_0x115c89(0x2ce)](_0xe5343f),this[_0x115c89(0x3c7)][_0x115c89(0x2ce)](Ee['ONLINE']),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x5c0853===F['HEARTBEAT']&&this[_0x115c89(0x2d8)](),this[_0x115c89(0x32a)]();}['_rescheduleHeartbeat'](){var _0x2969cf=_0x5e85b0,_0x2dfd56;this[_0x2969cf(0x378)](),this[_0x2969cf(0x12f)]=setTimeout(()=>this[_0x2969cf(0x3e3)](),(_0x2dfd56=this[_0x2969cf(0x161)][_0x2969cf(0x314)](Cn))!=null?_0x2dfd56:Rn);}['_sendHeartbeat'](){var _0x3e9d82=_0x5e85b0;this['_socket'][_0x3e9d82(0x14e)]({'cmd':F[_0x3e9d82(0x1f4)]}),this[_0x3e9d82(0x402)]();}[_0x5e85b0(0x402)](){var _0x48e6ba=_0x5e85b0,_0x5d61b9;this[_0x48e6ba(0x289)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x5d61b9=this[_0x48e6ba(0x161)][_0x48e6ba(0x314)](mi))!=null?_0x5d61b9:gi);}[_0x5e85b0(0x378)](){var _0x26499b=_0x5e85b0;this[_0x26499b(0x12f)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x26499b(0x12f)]=null);}[_0x5e85b0(0x2d8)](){var _0x2bd4d7=_0x5e85b0;this[_0x2bd4d7(0x289)]!=null&&(clearTimeout(this[_0x2bd4d7(0x289)]),this[_0x2bd4d7(0x289)]=null);}};xe=Yn([be(0x0,_0x4e6a0f(_0x2a76ad)),be(0x1,_0x4f17e2),be(0x2,_0x57235c),be(0x3,Ii),be(0x4,_0x4e6a0f(pe)),be(0x5,_0x8e5208(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x5e85b0(0x1e3)]((t+0x100)[_0x5e85b0(0x199)](0x10)[_0x5e85b0(0x3ae)](0x1));function qn(_0x34e51c,_0xf4933f=0x0){var _0x1dfc76=_0x5e85b0;return(V[_0x34e51c[_0xf4933f+0x0]]+V[_0x34e51c[_0xf4933f+0x1]]+V[_0x34e51c[_0xf4933f+0x2]]+V[_0x34e51c[_0xf4933f+0x3]]+'-'+V[_0x34e51c[_0xf4933f+0x4]]+V[_0x34e51c[_0xf4933f+0x5]]+'-'+V[_0x34e51c[_0xf4933f+0x6]]+V[_0x34e51c[_0xf4933f+0x7]]+'-'+V[_0x34e51c[_0xf4933f+0x8]]+V[_0x34e51c[_0xf4933f+0x9]]+'-'+V[_0x34e51c[_0xf4933f+0xa]]+V[_0x34e51c[_0xf4933f+0xb]]+V[_0x34e51c[_0xf4933f+0xc]]+V[_0x34e51c[_0xf4933f+0xd]]+V[_0x34e51c[_0xf4933f+0xe]]+V[_0x34e51c[_0xf4933f+0xf]])[_0x1dfc76(0x22e)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x25a5dd=_0x5e85b0;if(!ut){if(typeof crypto>'u'||!crypto[_0x25a5dd(0x3a4)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x25a5dd(0x3a4)]['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x5e85b0(0x31e)]&&crypto[_0x5e85b0(0x31e)][_0x5e85b0(0x2d7)](crypto),Yt={'randomUUID':Xn};function Zn(_0xc0a048,_0x505e4c,_0x2ef58f){var _0x130cbb=_0x5e85b0,_0x46f6a5,_0x46ed75,_0x43a47c;if(Yt[_0x130cbb(0x31e)]&&!_0xc0a048)return Yt[_0x130cbb(0x31e)]();_0xc0a048=_0xc0a048||{};const _0x5786b6=(_0x43a47c=(_0x46ed75=_0xc0a048[_0x130cbb(0x238)])!=null?_0x46ed75:(_0x46f6a5=_0xc0a048[_0x130cbb(0x325)])==null?void 0x0:_0x46f6a5['call'](_0xc0a048))!=null?_0x43a47c:Jn();if(_0x5786b6[_0x130cbb(0x317)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x5786b6[0x6]=_0x5786b6[0x6]&0xf|0x40,_0x5786b6[0x8]=_0x5786b6[0x8]&0x3f|0x80,qn(_0x5786b6);}const J=_0x189597(_0x5e85b0(0x322));function Br(_0x5011a9){return'unit-cache-'+_0x5011a9;}var Qn=Object[_0x5e85b0(0x3b0)],es=(_0x3e86ea,_0x51de8d,_0x31cd2b,_0x24e8dd)=>{var _0x5005c9=_0x5e85b0;for(var _0x213ca9=_0x24e8dd>0x1?void 0x0:_0x24e8dd?Qn(_0x51de8d,_0x31cd2b):_0x51de8d,_0x42ee4a=_0x3e86ea[_0x5005c9(0x317)]-0x1,_0xd2cad8;_0x42ee4a>=0x0;_0x42ee4a--)(_0xd2cad8=_0x3e86ea[_0x42ee4a])&&(_0x213ca9=_0xd2cad8(_0x213ca9)||_0x213ca9);return _0x213ca9;},dt=(_0x233e1a,_0x54fea8)=>(_0x83180f,_0x4f90cd)=>_0x54fea8(_0x83180f,_0x4f90cd,_0x233e1a);function ts(_0x4cb86b){var _0x58ef09=_0x5e85b0;const {unitID:_0x565959,mutations:_0xaf4130}=_0x4cb86b;return{'unitId':_0x565959,'subUnitId':_0xaf4130[0x0]['params'][_0x58ef09(0x189)]};}let it=class{constructor(_0x3a7907,_0x307472,_0x1927fc){var _0x4695a3=_0x5e85b0;this['_injector']=_0x3a7907,this[_0x4695a3(0x129)]=_0x307472,this[_0x4695a3(0x153)]=_0x1927fc;}['transformSelections'](_0x53ea0f){var _0x3009a4=_0x5e85b0,_0x45b6d2,_0x44f2f8,_0x263552,_0x5aea94;const _0x1a0c25=this[_0x3009a4(0x35f)]['get'](_0x187bbd),{unitId:_0x1c487c,subUnitId:_0x576c9a}=ts(_0x53ea0f),_0x3aee1b=_0x1a0c25==null?void 0x0:_0x1a0c25['getWorkbookSelections'](_0x1c487c)[_0x3009a4(0x243)](),_0x108e5f=(_0x44f2f8=(_0x45b6d2=this['_instanceService']['getUnit'](_0x1c487c))==null?void 0x0:_0x45b6d2[_0x3009a4(0x19b)]())==null?void 0x0:_0x44f2f8[_0x3009a4(0x33b)]();if(_0x3aee1b[_0x3009a4(0x317)]===0x0||!_0x1c487c||!_0x576c9a)return;const _0x932d25=[{'id':_0x1a8b57['id'],'params':{'unitId':_0x1c487c,'subUnitId':_0x108e5f,'selections':_0x37a7ab[_0x3009a4(0x275)](_0x3aee1b)}}],_0x3d770e=this[_0x3009a4(0x129)][_0x3009a4(0x2a3)](_0x53ea0f,_0x932d25);if(!_0x5ed7eb(_0x3d770e))throw _0x3d770e[_0x3009a4(0x371)];const _0x246396=(_0x5aea94=(_0x263552=_0x3d770e['m2Prime'][0x0])==null?void 0x0:_0x263552[_0x3009a4(0x2d0)])==null?void 0x0:_0x5aea94[_0x3009a4(0x1b2)];if(Array[_0x3009a4(0x260)](_0x246396)&&_0x246396[_0x3009a4(0x317)]){if(_0x246396[_0x3009a4(0x317)]===_0x932d25[0x0][_0x3009a4(0x2d0)]['selections'][_0x3009a4(0x317)]&&_0x246396[_0x3009a4(0x167)]((_0x5bd42c,_0x24c620)=>_0x583950[_0x3009a4(0x253)](_0x5bd42c[_0x3009a4(0x3f9)],_0x932d25[0x0][_0x3009a4(0x2d0)]['selections'][_0x24c620]['range'])))return;this[_0x3009a4(0x35f)][_0x3009a4(0x3d0)](_0x1020e1)[_0x3009a4(0x37e)](_0x1a8b57['id'],{'unitId':_0x1c487c,'subUnitId':_0x108e5f,'selections':_0x246396});}}};it=es([dt(0x0,_0x4e6a0f(_0x2a76ad)),dt(0x1,_0x32e708),dt(0x2,_0x187759)],it);const ht=_0x189597(_0x5e85b0(0x3b1));var Ci=(_0x167ff7=>(_0x167ff7[_0x167ff7['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x5e85b0(0x196),_0x167ff7[_0x167ff7[_0x5e85b0(0x22b)]=0x1]='OTHER_CLIENTS_EDITING',_0x167ff7))(Ci||{});const is=new Set([_0x104b1f['id']]);function qt(_0x5b161c,_0xcf2f19,_0x54b20d,_0x2edb71,_0x5bd034){var _0x1065b9=_0x5e85b0,_0xea17b1,_0x302cbf,_0x5c83b0,_0x5a39eb;const _0x4b5e7c=[];for(const _0x116330 of _0x5b161c)if(is[_0x1065b9(0x2ed)](_0x116330['id'])){if(_0x4b5e7c['length']>0x0)break;_0x4b5e7c[_0x1065b9(0x1e3)](_0x116330);break;}else _0x4b5e7c['push'](_0x116330);const _0x4bdd6c=(_0x302cbf=(_0xea17b1=_0x5bd034[_0x1065b9(0x375)]())==null?void 0x0:_0xea17b1['userID'])!=null?_0x302cbf:_0x1065b9(0x3d8),_0x30c38b=(_0x5a39eb=(_0x5c83b0=_0x5bd034['getCurrentUser']())==null?void 0x0:_0x5c83b0['memberID'])!=null?_0x5a39eb:_0x1065b9(0x3d8);return{'changeset':{'unitID':_0xcf2f19,'type':_0x5c53de(_0x54b20d['getUnitType'](_0xcf2f19)),'baseRev':_0x2edb71[_0x1065b9(0x3bd)](_0xcf2f19),'revision':0x0,'userID':_0x4bdd6c,'memberID':_0x30c38b,'mutations':_0x4b5e7c},'pendingMutations':_0x5b161c[_0x1065b9(0x3ae)](_0x4b5e7c[_0x1065b9(0x317)])};}function ns(_0x50deb2,_0x508c15,_0x3ac0bf,_0x2fcb18,_0x227250){var _0x1983a2=_0x5e85b0,_0x3ef8ee,_0x526f33,_0x5a001c,_0x4271f0;const _0xcf6e69=[_0x50deb2[_0x1983a2(0x1c0)]((_0x451970,_0x23ccfa)=>{var _0x432de7=_0x1983a2,_0x981619;const {id:_0x10718f}=_0x451970,{id:_0x2c5b91,type:_0x509748}=_0x23ccfa,_0x1ba454=(_0x981619=_0x451970[_0x432de7(0x2d0)])!=null?_0x981619:{'actions':null},_0xb37730=_0x23ccfa[_0x432de7(0x2d0)];if(_0x10718f&&_0x10718f!==_0x2c5b91)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x10718f+_0x432de7(0x320)+_0x2c5b91+'.');return{..._0x451970,'id':_0x2c5b91,'type':_0x509748,'params':{'unitId':_0xb37730[_0x432de7(0x37f)],'textRanges':_0xb37730[_0x432de7(0x363)],'actions':_0xfcf1b6['compose'](_0x1ba454[_0x432de7(0x13b)],_0xb37730[_0x432de7(0x13b)])}};},{})],_0x1ddfdb=(_0x526f33=(_0x3ef8ee=_0x227250[_0x1983a2(0x375)]())==null?void 0x0:_0x3ef8ee[_0x1983a2(0x36a)])!=null?_0x526f33:'unknown',_0x12dea2=(_0x4271f0=(_0x5a001c=_0x227250[_0x1983a2(0x375)]())==null?void 0x0:_0x5a001c['memberID'])!=null?_0x4271f0:_0x1983a2(0x3d8);return{'changeset':{'unitID':_0x508c15,'type':_0x5c53de(_0x3ac0bf[_0x1983a2(0x1ef)](_0x508c15)),'baseRev':_0x2fcb18[_0x1983a2(0x3bd)](_0x508c15),'revision':0x0,'userID':_0x1ddfdb,'memberID':_0x12dea2,'mutations':_0xcf6e69},'pendingMutations':[]};}function Ri(_0x42ed97,_0x570920){var _0x58a6cb=_0x5e85b0;const _0x1a1f36=new _0x5b7e53(0x1);return setTimeout(()=>_0x1a1f36['next'](_0x570920),_0x42ed97),_0x1a1f36['asObservable']()[_0x58a6cb(0x2c0)](_0x27b4b5(0x1));}const ss={'id':_0xf556b8['id'],'type':_0x33a20c['MUTATION'],'params':{}};var rs=Object[_0x5e85b0(0x3b0)],Te=(_0xd08e98,_0x5de5ed,_0x58b507,_0x3c48f5)=>{var _0x3a6390=_0x5e85b0;for(var _0x3b4d97=_0x3c48f5>0x1?void 0x0:_0x3c48f5?rs(_0x5de5ed,_0x58b507):_0x5de5ed,_0x4e0630=_0xd08e98[_0x3a6390(0x317)]-0x1,_0x46bcf5;_0x4e0630>=0x0;_0x4e0630--)(_0x46bcf5=_0xd08e98[_0x4e0630])&&(_0x3b4d97=_0x46bcf5(_0x3b4d97)||_0x3b4d97);return _0x3b4d97;},P=(_0x397598,_0x163262)=>(_0x24181e,_0x55f4b1)=>_0x163262(_0x24181e,_0x55f4b1,_0x397598),bi=(_0x3ec250=>(_0x3ec250[_0x5e85b0(0x3c5)]=_0x5e85b0(0x213),_0x3ec250[_0x5e85b0(0x1f5)]='synced',_0x3ec250[_0x5e85b0(0x125)]=_0x5e85b0(0x362),_0x3ec250[_0x5e85b0(0x3a3)]='awaiting',_0x3ec250[_0x5e85b0(0x2ff)]=_0x5e85b0(0x1db),_0x3ec250[_0x5e85b0(0x3ed)]='fetch_missing',_0x3ec250[_0x5e85b0(0x16d)]=_0x5e85b0(0x36d),_0x3ec250[_0x5e85b0(0x27b)]=_0x5e85b0(0x236),_0x3ec250))(bi||{});const Oi=0xea60;class Ce{constructor(_0x314e73,_0x20cffa,_0x35a177,_0x510af0,_0x42976f,_0x208428,_0x4f5d49,_0x2ef5b0,_0x4bb44a){var _0x177a27=_0x5e85b0;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x177a27(0x373)]=_0x314e73,this[_0x177a27(0x233)]=_0x20cffa,this[_0x177a27(0x309)]=_0x42976f,this[_0x177a27(0x336)]=_0x208428,this[_0x177a27(0x356)]=_0x4f5d49,this[_0x177a27(0x13c)]=_0x2ef5b0,this['_localCacheService']=_0x4bb44a,this[_0x177a27(0x3a5)]=_0x35a177,this['_pendingMutations']=_0x510af0);}['_checkMissing'](_0x24e456){var _0x4b5f63=_0x5e85b0;const _0x3baec0=this[_0x4b5f63(0x13c)]['getCurrentRevOfUnit'](this[_0x4b5f63(0x373)]);return _0x24e456['revision']>_0x3baec0+0x1?(this['_handler'][_0x4b5f63(0x300)]({'from':_0x3baec0,'to':_0x24e456[_0x4b5f63(0x181)]-0x1}),!0x0):!0x1;}[_0x5e85b0(0x391)](_0x11a9b2){var _0xd1dfd9=_0x5e85b0;this['_undoRedoService'][_0xd1dfd9(0x3b7)](this[_0xd1dfd9(0x373)],_0x11a9b2);}[_0x5e85b0(0x1fc)](_0x439c1d){var _0xc72370=_0x5e85b0,_0xb61ffe,_0x11ec78;(_0x11ec78=(_0xb61ffe=this[_0xc72370(0x309)])[_0xc72370(0x3cd)])==null||_0x11ec78[_0xc72370(0x17e)](_0xb61ffe,_0x439c1d);}['_transformIMECache'](_0x2abef1){var _0x411f9f=_0x5e85b0,_0x1202ae,_0x45d4a4;return(_0x45d4a4=(_0x1202ae=this['_handler'])[_0x411f9f(0x15a)])==null?void 0x0:_0x45d4a4[_0x411f9f(0x17e)](_0x1202ae,_0x2abef1);}[_0x5e85b0(0x225)](_0x1c7c33){var _0x40e9f1=_0x5e85b0,_0xd816bc,_0xcd2618;return(_0xcd2618=(_0xd816bc=this[_0x40e9f1(0x309)])[_0x40e9f1(0x2a5)])==null?void 0x0:_0xcd2618['call'](_0xd816bc,_0x1c7c33);}[_0x5e85b0(0x2bf)](_0x1caac3){var _0x2b27ec=_0x5e85b0,_0x5f1692,_0x214742,_0x3e5848;return(_0x3e5848=(_0x214742=(_0x5f1692=this[_0x2b27ec(0x309)])[_0x2b27ec(0x29d)])==null?void 0x0:_0x214742[_0x2b27ec(0x17e)](_0x5f1692,_0x1caac3))!=null?_0x3e5848:_0x1caac3;}[_0x5e85b0(0x411)](_0x26d14b){var _0x1f9061=_0x5e85b0,_0x485222,_0x57b112,_0x229a0f;return(_0x229a0f=(_0x57b112=(_0x485222=this[_0x1f9061(0x309)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x57b112['call'](_0x485222,_0x26d14b))!=null?_0x229a0f:_0x26d14b;}['_syncEditingCollabCursor'](_0x5f5bea){var _0x2e6a07=_0x5e85b0,_0x2937ee,_0x4a4406;if(this[_0x2e6a07(0x233)]===Q[_0x2e6a07(0x1dc)]){const {unitID:_0x114965,mutations:_0x3a1e22,memberID:_0x531dc4}=_0x5f5bea,_0x58b602=_0x3a1e22[0x0][_0x2e6a07(0x2d0)][_0x2e6a07(0x363)];Array['isArray'](_0x58b602)&&_0x58b602[_0x2e6a07(0x317)]>0x0&&((_0x4a4406=(_0x2937ee=this[_0x2e6a07(0x309)])[_0x2e6a07(0x204)])==null||_0x4a4406[_0x2e6a07(0x17e)](_0x2937ee,{'unitID':_0x114965,'memberID':_0x531dc4,'textRanges':_0x58b602}));}}['_updateLocalCache'](){var _0x5252fe=_0x5e85b0,_0x1c24e0;(_0x1c24e0=this[_0x5252fe(0x3f0)])==null||_0x1c24e0[_0x5252fe(0x1b1)](this[_0x5252fe(0x373)],this[_0x5252fe(0x233)],this[_0x5252fe(0x3a5)],this[_0x5252fe(0x29a)]);}[_0x5e85b0(0x302)](){var _0x5e659b=_0x5e85b0;return this[_0x5e659b(0x13c)][_0x5e659b(0x3bd)](this[_0x5e659b(0x373)]);}[_0x5e85b0(0x3e6)](){var _0x166be5=_0x5e85b0;this[_0x166be5(0x13c)][_0x166be5(0x19d)](this[_0x166be5(0x373)]);}['_executeRemoteChangeset'](_0x383898){var _0x4bd9a1=_0x5e85b0,_0x1dd2a0;let _0x3339c0=this[_0x4bd9a1(0x2bf)](_0x383898);_0x3339c0=this[_0x4bd9a1(0x411)](_0x3339c0);const _0x2f8c5=_0x437532(_0x3339c0[_0x4bd9a1(0x126)],this[_0x4bd9a1(0x336)],{'fromCollab':!0x0});if(!_0x2f8c5[_0x4bd9a1(0x385)])throw _0x2f8c5[_0x4bd9a1(0x371)]instanceof Error?_0x2f8c5[_0x4bd9a1(0x371)]:new Error((_0x1dd2a0=_0x2f8c5[_0x4bd9a1(0x371)])!=null?_0x1dd2a0:_0x4bd9a1(0x2af));this[_0x4bd9a1(0x1d9)](_0x3339c0),this[_0x4bd9a1(0x225)](_0x3339c0),this[_0x4bd9a1(0x391)](_0x383898),this[_0x4bd9a1(0x1fc)](_0x3339c0),this[_0x4bd9a1(0x24b)](_0x3339c0),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x9cbc9,_0x394937,_0xab27a3,_0x13377f,_0x7108f9,_0x12e2d5,_0x4fc6d1,_0x198670,_0x9b4092,_0xe6231f){var _0x2de3d3=_0x5e85b0;super(_0x9cbc9,_0x394937,null,[],_0xab27a3,_0x4fc6d1,_0x12e2d5,_0x13377f,_0xe6231f),N(this,'status',_0x2de3d3(0x347)),(this[_0x2de3d3(0x35f)]=_0x7108f9,this[_0x2de3d3(0x154)]=_0x198670,this[_0x2de3d3(0x129)]=_0x9b4092,this[_0x2de3d3(0x3d3)]=_0xe6231f);}[_0x5e85b0(0x1a7)](_0xf4a9cd){var _0x42bdab=_0x5e85b0;const _0x313b19=this[_0x42bdab(0x35f)]['createInstance'](ae,this['unitID'],this['type'],[_0xf4a9cd],this[_0x42bdab(0x309)]);return _0x313b19[_0x42bdab(0x331)](),_0x313b19[_0x42bdab(0x21d)](),_0x313b19;}[_0x5e85b0(0x191)](_0x3b49c8){var _0x593c89=_0x5e85b0;if(this[_0x593c89(0x269)](_0x3b49c8))return this[_0x593c89(0x35f)][_0x593c89(0x313)](ee,this[_0x593c89(0x373)],this['type'],null,[],null,[_0x3b49c8],this[_0x593c89(0x309)]);try{const _0x5d2349=this[_0x593c89(0x129)][_0x593c89(0x2a3)](_0x3b49c8,[ss]);if(_0x5ed7eb(_0x5d2349)){const {c1Prime:_0x3cc5f8}=_0x5d2349;return this['_executeRemoteChangeset'](_0x3cc5f8),this;}throw _0x5d2349[_0x593c89(0x371)];}catch(_0x3eda91){return this['_logService']['error'](_0x3eda91),this[_0x593c89(0x308)](!0x1);}}[_0x5e85b0(0x308)](_0x4227da){var _0x4adc8d=_0x5e85b0;return this[_0x4adc8d(0x35f)][_0x4adc8d(0x313)](ue,this[_0x4adc8d(0x373)],this[_0x4adc8d(0x233)],null,[],this[_0x4adc8d(0x309)],_0x4227da);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5e85b0(0x30c)](){var _0x41798a=_0x5e85b0;throw new Error(_0x41798a(0x26d));}[_0x5e85b0(0x379)](){return this;}[_0x5e85b0(0x2f4)](){var _0x2a6cd4=_0x5e85b0;return this[_0x2a6cd4(0x35f)][_0x2a6cd4(0x313)](de,this['unitID'],this['type'],null,[],this[_0x2a6cd4(0x309)]);}['toggleOnline'](){return this;}[_0x5e85b0(0x202)](){var _0x357cf2=_0x5e85b0;throw new Error(_0x357cf2(0x20e));}['fetchMiss'](){var _0x4c6de9=_0x5e85b0;const _0xf6c5ac=this[_0x4c6de9(0x13c)][_0x4c6de9(0x3bd)](this[_0x4c6de9(0x373)]);return this[_0x4c6de9(0x309)][_0x4c6de9(0x300)]({'from':_0xf6c5ac,'to':0x0}),this['_injector']['createInstance'](ee,this['unitID'],this[_0x4c6de9(0x233)],null,[],null,[],this[_0x4c6de9(0x309)]);}};Ne=Te([P(0x3,_0x4e6a0f(_0x57826d)),P(0x4,_0x4e6a0f(_0x2a76ad)),P(0x5,_0x1d308d),P(0x6,_0x1020e1),P(0x7,_0x4f17e2),P(0x8,_0x32e708),P(0x9,_0x8e5208(J))],Ne);let ae=class extends Ce{constructor(_0x20daec,_0x3028fb,_0x34d86e,_0x79c78a,_0x2dea33,_0x98cc8f,_0x2fd2ec,_0x2f9a0c,_0x1edc5d,_0x1f4c34,_0x4a62de,_0x3d0a44,_0x3378fe,_0x1d5e34){var _0x2bede4=_0x5e85b0;super(_0x20daec,_0x3028fb,null,_0x34d86e,_0x79c78a,_0x1edc5d,_0x3378fe,_0x98cc8f,_0x1d5e34),N(this,_0x2bede4(0x229),_0x2bede4(0x362)),N(this,_0x2bede4(0x3e7),null),N(this,_0x2bede4(0x3f7),null),(this[_0x2bede4(0x35f)]=_0x2dea33,this['_memberService']=_0x2fd2ec,this[_0x2bede4(0x154)]=_0x2f9a0c,this[_0x2bede4(0x161)]=_0x1f4c34,this[_0x2bede4(0x129)]=_0x4a62de,this['_univerInstanceService']=_0x3d0a44);}[_0x5e85b0(0x1a7)](_0x120d89){var _0x14ffee=_0x5e85b0;return this[_0x14ffee(0x29a)][_0x14ffee(0x1e3)](_0x120d89),this[_0x14ffee(0x21d)](),this;}[_0x5e85b0(0x191)](_0x34faa8){var _0x497db4=_0x5e85b0;if(this[_0x497db4(0x269)](_0x34faa8))return this[_0x497db4(0x2db)](),this[_0x497db4(0x35f)]['createInstance'](ee,this[_0x497db4(0x373)],this[_0x497db4(0x233)],null,this[_0x497db4(0x29a)],null,[_0x34faa8],this[_0x497db4(0x309)]);try{const _0x2ace49=this['_transformService'][_0x497db4(0x2a3)](_0x34faa8,this[_0x497db4(0x29a)]);if(_0x5ed7eb(_0x2ace49)){const {c1Prime:_0x5c7f84,m2Prime:_0x419ba1}=_0x2ace49;this[_0x497db4(0x264)](_0x5c7f84);const _0x21727f=this[_0x497db4(0x35f)]['createInstance'](ae,this[_0x497db4(0x373)],this[_0x497db4(0x233)],_0x419ba1,this[_0x497db4(0x309)]);this[_0x497db4(0x2db)]();const _0x906be2=new Date()[_0x497db4(0x173)](),_0x27856f=this[_0x497db4(0x3e7)]?Math[_0x497db4(0x395)](this['_scheduleCompleteTimestamp']-_0x906be2,0x0):this['_getSendChangesetTimeout']();return _0x21727f[_0x497db4(0x331)](_0x27856f),_0x21727f;}throw _0x2ace49[_0x497db4(0x371)];}catch(_0x12e5ab){return this[_0x497db4(0x154)][_0x497db4(0x371)](_0x12e5ab),this[_0x497db4(0x308)](!0x1);}}[_0x5e85b0(0x1b3)](){var _0x16ab8e=_0x5e85b0;throw new Error(_0x16ab8e(0x32b));}[_0x5e85b0(0x30c)](){var _0x4e4cfe=_0x5e85b0;throw new Error(_0x4e4cfe(0x19c));}[_0x5e85b0(0x379)](){return this;}[_0x5e85b0(0x2f4)](){var _0x4962e5=_0x5e85b0;return this[_0x4962e5(0x2db)](),this[_0x4962e5(0x35f)][_0x4962e5(0x313)](de,this[_0x4962e5(0x373)],this['type'],null,this[_0x4962e5(0x29a)],this[_0x4962e5(0x309)]);}[_0x5e85b0(0x24d)](){return this;}[_0x5e85b0(0x331)](_0x3a3868){var _0x2b5c21=_0x5e85b0;const _0x22e56b=_0x3a3868!=null?_0x3a3868:this[_0x2b5c21(0x14a)]();this[_0x2b5c21(0x3e7)]=new Date()[_0x2b5c21(0x173)]()+_0x22e56b,this[_0x2b5c21(0x3f7)]=setTimeout(()=>{var _0x565613=_0x2b5c21;this[_0x565613(0x2db)]();let _0x37625e=null;switch(this['type']){case Q[_0x565613(0x26b)]:{_0x37625e=qt(this[_0x565613(0x29a)],this[_0x565613(0x373)],this[_0x565613(0x396)],this[_0x565613(0x13c)],this[_0x565613(0x24c)]);break;}case Q[_0x565613(0x1dc)]:{this[_0x565613(0x29a)][_0x565613(0x167)](_0x4f50ee=>_0x4f50ee['id']===_0x25e173['id'])?_0x37625e=ns(this[_0x565613(0x29a)],this[_0x565613(0x373)],this[_0x565613(0x396)],this[_0x565613(0x13c)],this[_0x565613(0x24c)]):_0x37625e=qt(this[_0x565613(0x29a)],this[_0x565613(0x373)],this[_0x565613(0x396)],this[_0x565613(0x13c)],this[_0x565613(0x24c)]);break;}default:throw new Error(_0x565613(0x2d2)+this[_0x565613(0x233)]+_0x565613(0x3af));}const {changeset:_0x13ec18,pendingMutations:_0x31e18d}=_0x37625e;this['_handler']['onSendChangeset'](_0x13ec18);const _0x1e16ae=_0x31e18d[_0x565613(0x317)]?this['_injector'][_0x565613(0x313)](oe,this[_0x565613(0x373)],this[_0x565613(0x233)],_0x13ec18,_0x31e18d,this[_0x565613(0x309)],void 0x0):this[_0x565613(0x35f)][_0x565613(0x313)](le,this['unitID'],this[_0x565613(0x233)],_0x13ec18,this['_handler']);_0x1e16ae[_0x565613(0x21d)](),this[_0x565613(0x309)][_0x565613(0x2df)](this,_0x1e16ae);},_0x22e56b);}['_getSendChangesetTimeout'](){var _0x1c68e9=_0x5e85b0,_0x1a80ff;const _0x323e7a=this[_0x1c68e9(0x161)][_0x1c68e9(0x314)](q);return(_0x1a80ff=_0x323e7a==null?void 0x0:_0x323e7a[_0x1c68e9(0x176)])!=null?_0x1a80ff:En;}[_0x5e85b0(0x202)](){var _0x3fb98e=_0x5e85b0;throw new Error(_0x3fb98e(0x170));}[_0x5e85b0(0x2db)](){var _0x511062=_0x5e85b0;this['_sendingTimer']!=null&&(clearTimeout(this[_0x511062(0x3f7)]),this[_0x511062(0x3f7)]=null);}[_0x5e85b0(0x308)](_0x79e23c){var _0x39abf8=_0x5e85b0;return this['_clearScheduledTask'](),this[_0x39abf8(0x35f)]['createInstance'](ue,this[_0x39abf8(0x373)],this[_0x39abf8(0x233)],null,this[_0x39abf8(0x29a)],this[_0x39abf8(0x309)],_0x79e23c);}};ae=Te([P(0x4,_0x4e6a0f(_0x2a76ad)),P(0x5,_0x4e6a0f(_0x57826d)),P(0x6,_0x4e6a0f(Le)),P(0x7,_0x4f17e2),P(0x8,_0x1020e1),P(0x9,_0x57235c),P(0xa,_0x32e708),P(0xb,_0x187759),P(0xc,_0x1d308d),P(0xd,_0x8e5208(J))],ae);let le=class extends Ce{constructor(_0x216c3a,_0xde1a32,_0x3108cf,_0x296e65,_0x362f7e,_0x807540,_0x167a9c,_0x3a58fe,_0x189d38,_0x13bc86,_0x4c0c69){var _0x5555b9=_0x5e85b0;super(_0x216c3a,_0xde1a32,_0x3108cf,[],_0x296e65,_0x167a9c,_0x13bc86,_0x807540,_0x4c0c69),N(this,_0x5555b9(0x229),_0x5555b9(0x29b)),N(this,_0x5555b9(0x39c),0x0),N(this,_0x5555b9(0x397)),N(this,_0x5555b9(0x327)),(this[_0x5555b9(0x35f)]=_0x362f7e,this[_0x5555b9(0x154)]=_0x3a58fe,this[_0x5555b9(0x129)]=_0x189d38);}[_0x5e85b0(0x1a7)](_0x2e787b){var _0x199664=_0x5e85b0;this[_0x199664(0x2db)]();const _0x1cca00=this['_injector'][_0x199664(0x313)](oe,this[_0x199664(0x373)],this[_0x199664(0x233)],this[_0x199664(0x3a5)],[_0x2e787b],this[_0x199664(0x309)],this[_0x199664(0x397)]);return _0x1cca00[_0x199664(0x21d)](),_0x1cca00;}[_0x5e85b0(0x191)](_0x3c8760){var _0x4853e5=_0x5e85b0;if(this[_0x4853e5(0x269)](_0x3c8760))return this[_0x4853e5(0x2db)](),this[_0x4853e5(0x35f)][_0x4853e5(0x313)](ee,this[_0x4853e5(0x373)],this['type'],this[_0x4853e5(0x3a5)],[],null,[_0x3c8760],this[_0x4853e5(0x309)]);try{const _0x24ca97=this[_0x4853e5(0x129)][_0x4853e5(0x3a0)]([_0x3c8760],[this[_0x4853e5(0x3a5)]],!0x1);if(_0x4fb575(_0x24ca97)){const {c1Prime:_0x499b86,c2Prime:_0xe6723f}=_0x24ca97;this[_0x4853e5(0x264)](_0x499b86[0x0]),_0xe6723f[0x0][_0x4853e5(0x130)]=this['_getCurrentRevision'](),this[_0x4853e5(0x2db)]();const _0x4a0ff6=this['_injector'][_0x4853e5(0x313)](le,this[_0x4853e5(0x373)],this[_0x4853e5(0x233)],_0xe6723f[0x0],this[_0x4853e5(0x309)]);return _0x4a0ff6[_0x4853e5(0x21d)](),_0x4a0ff6;}return this['_onConflict'](!0x1);}catch(_0x47493d){return this[_0x4853e5(0x154)][_0x4853e5(0x371)](_0x47493d),this[_0x4853e5(0x308)](!0x1);}}[_0x5e85b0(0x1b3)](_0x54fe37){var _0x4b838e=_0x5e85b0;this[_0x4b838e(0x2db)]();const _0x5060dc=this['_revisionService'][_0x4b838e(0x3bd)](this[_0x4b838e(0x373)]);if(_0x54fe37[_0x4b838e(0x181)]<_0x5060dc-0x1)return this;if(this[_0x4b838e(0x269)](_0x54fe37))return this[_0x4b838e(0x35f)][_0x4b838e(0x313)](ee,this[_0x4b838e(0x373)],this['type'],null,[],this[_0x4b838e(0x3a5)],[],this[_0x4b838e(0x309)]);this['_incrementRevisionNumber']();const _0x131a60=this['_injector'][_0x4b838e(0x313)](Ne,this[_0x4b838e(0x373)],this[_0x4b838e(0x233)],this[_0x4b838e(0x309)]);return _0x131a60['_updateLocalCache'](),_0x131a60;}[_0x5e85b0(0x30c)](_0x41b7a3){var _0x48d6ec=_0x5e85b0;return this[_0x48d6ec(0x308)](!!(_0x41b7a3!=null&&_0x41b7a3['isPermissionRej']));}[_0x5e85b0(0x379)](_0x7e0739){var _0x588c64=_0x5e85b0;return this[_0x588c64(0x39c)]>Oi?this[_0x588c64(0x2f4)]():(this['_resendTimer']=Ri(this[_0x588c64(0x39c)],{'timeout':this[_0x588c64(0x39c)],'reqId':_0x7e0739['reqId']}),this[_0x588c64(0x327)]=this[_0x588c64(0x397)][_0x588c64(0x292)](({reqId:_0x294864,timeout:_0x151c23})=>{var _0xcd67cf=_0x588c64;this[_0xcd67cf(0x1a4)](_0x294864,_0x151c23);}),this);}['toggleOffline'](){var _0x1aef72=_0x5e85b0;return this[_0x1aef72(0x2db)](),this[_0x1aef72(0x35f)][_0x1aef72(0x313)](de,this[_0x1aef72(0x373)],this['type'],this[_0x1aef72(0x3a5)],[],this[_0x1aef72(0x309)]);}[_0x5e85b0(0x24d)](){return this;}[_0x5e85b0(0x202)](){var _0x1464d4=_0x5e85b0;this['_handler'][_0x1464d4(0x1ad)](this[_0x1464d4(0x3a5)]);}['_onConflict'](_0x4dc19d){var _0x2e6e6e=_0x5e85b0;return this['_clearScheduledTask'](),this['_injector'][_0x2e6e6e(0x313)](ue,this[_0x2e6e6e(0x373)],this[_0x2e6e6e(0x233)],this[_0x2e6e6e(0x3a5)],[],this[_0x2e6e6e(0x309)],_0x4dc19d);}[_0x5e85b0(0x1a4)](_0x332d18,_0x3fda38){var _0xbd9f91=_0x5e85b0,_0x1f7d86;_0x332d18===((_0x1f7d86=this['_awaitingChangeset'])==null?void 0x0:_0x1f7d86[_0xbd9f91(0x403)])&&(this[_0xbd9f91(0x202)](),this[_0xbd9f91(0x39c)]=_0x3fda38===0x0?0x3e8:_0x3fda38*0x2);}['_clearScheduledTask'](){var _0x4e9a46=_0x5e85b0,_0x2ce058;(_0x2ce058=this[_0x4e9a46(0x327)])==null||_0x2ce058[_0x4e9a46(0x247)](),this[_0x4e9a46(0x39c)]=0x0;}};le=Te([P(0x4,_0x4e6a0f(_0x2a76ad)),P(0x5,_0x4e6a0f(_0x57826d)),P(0x6,_0x1020e1),P(0x7,_0x4f17e2),P(0x8,_0x32e708),P(0x9,_0x1d308d),P(0xa,_0x8e5208(J))],le);let oe=class extends Ce{constructor(_0x5b5d55,_0x50225d,_0x21ebe5,_0x351086,_0x3a6c07,_0xb0ec19,_0x22d4b7,_0x366d7f,_0x21411a,_0x2fe550,_0x125733,_0x57f012,_0x543464){var _0x364073=_0x5e85b0;super(_0x5b5d55,_0x50225d,_0x21ebe5,_0x351086,_0x3a6c07,_0x21411a,_0x57f012,_0x366d7f,_0x543464),N(this,_0x364073(0x229),_0x364073(0x1db)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x364073(0x327)),(this[_0x364073(0x35f)]=_0x22d4b7,this[_0x364073(0x154)]=_0x2fe550,this[_0x364073(0x129)]=_0x125733,this[_0x364073(0x3d3)]=_0x543464,_0xb0ec19&&(this[_0x364073(0x397)]=_0xb0ec19,this['_sender']=this[_0x364073(0x397)][_0x364073(0x292)](({reqId:_0x3a6567,timeout:_0x4a53eb})=>{var _0x1278bb=_0x364073;this[_0x1278bb(0x1a4)](_0x3a6567,_0x4a53eb);})));}[_0x5e85b0(0x1a7)](_0x195369){var _0x730082=_0x5e85b0;return this[_0x730082(0x29a)][_0x730082(0x1e3)](_0x195369),this;}[_0x5e85b0(0x191)](_0x531e8a){var _0x5ec9ed=_0x5e85b0;if(this[_0x5ec9ed(0x269)](_0x531e8a))return this['_clearScheduledTask'](),this[_0x5ec9ed(0x35f)]['createInstance'](ee,this[_0x5ec9ed(0x373)],this[_0x5ec9ed(0x233)],this[_0x5ec9ed(0x3a5)],this[_0x5ec9ed(0x29a)],null,[_0x531e8a],this[_0x5ec9ed(0x309)]);try{const _0x33d1ab=this[_0x5ec9ed(0x129)][_0x5ec9ed(0x3a0)]([_0x531e8a],[this['_awaitingChangeset']],!0x1);if(_0x4fb575(_0x33d1ab)){const {c1Prime:_0x53ada7,c2Prime:_0x147e79}=_0x33d1ab,_0x1b7f36=this[_0x5ec9ed(0x129)]['transformMutationsWithChangeset'](_0x53ada7[0x0],this[_0x5ec9ed(0x29a)]);if(_0x5ed7eb(_0x1b7f36)){const {c1Prime:_0x3f39ed,m2Prime:_0x35ef91}=_0x1b7f36;return this['_executeRemoteChangeset'](_0x3f39ed),_0x147e79[0x0][_0x5ec9ed(0x130)]=this[_0x5ec9ed(0x302)](),this[_0x5ec9ed(0x2db)](),this['_injector']['createInstance'](oe,this[_0x5ec9ed(0x373)],this[_0x5ec9ed(0x233)],_0x147e79[0x0],_0x35ef91,this[_0x5ec9ed(0x309)],void 0x0);}throw _0x1b7f36[_0x5ec9ed(0x371)];}throw _0x33d1ab[_0x5ec9ed(0x371)];}catch(_0x4a136c){return this[_0x5ec9ed(0x154)]['error'](_0x4a136c),this[_0x5ec9ed(0x308)](!0x1);}}[_0x5e85b0(0x1b3)](_0x30bc11){var _0x5ed874=_0x5e85b0;if(this[_0x5ed874(0x2db)](),this[_0x5ed874(0x269)](_0x30bc11))return this[_0x5ed874(0x35f)]['createInstance'](ee,this[_0x5ed874(0x373)],this[_0x5ed874(0x233)],null,this[_0x5ed874(0x29a)],this[_0x5ed874(0x3a5)],[],this[_0x5ed874(0x309)]);this[_0x5ed874(0x3e6)]();const _0x68f939=this[_0x5ed874(0x35f)][_0x5ed874(0x313)](ae,this[_0x5ed874(0x373)],this[_0x5ed874(0x233)],this[_0x5ed874(0x29a)],this['_handler']);return _0x68f939[_0x5ed874(0x331)](),_0x68f939[_0x5ed874(0x21d)](),_0x68f939;}[_0x5e85b0(0x30c)](_0x19aacb){var _0x412437=_0x5e85b0;return this['_onConflict'](!!(_0x19aacb!=null&&_0x19aacb[_0x412437(0x2eb)]));}[_0x5e85b0(0x379)](_0x5e71c3){var _0x53f628=_0x5e85b0;return this[_0x53f628(0x39c)]>Oi?this[_0x53f628(0x2f4)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this[_0x53f628(0x39c)],'reqId':_0x5e71c3['reqId']}),this[_0x53f628(0x327)]=this[_0x53f628(0x397)][_0x53f628(0x292)](({reqId:_0x4b3c66,timeout:_0x29b5d8})=>{var _0x3f5460=_0x53f628;this[_0x3f5460(0x1a4)](_0x4b3c66,_0x29b5d8);}),this);}[_0x5e85b0(0x2f4)](){var _0x37139c=_0x5e85b0;return this[_0x37139c(0x2db)](),this['_injector'][_0x37139c(0x313)](de,this[_0x37139c(0x373)],this[_0x37139c(0x233)],this['_awaitingChangeset'],this[_0x37139c(0x29a)],this[_0x37139c(0x309)]);}[_0x5e85b0(0x24d)](){return this;}[_0x5e85b0(0x202)](){var _0x2c54c0=_0x5e85b0;this[_0x2c54c0(0x309)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x5e85b0(0x308)](_0x14d464){var _0x37edf9=_0x5e85b0;return this[_0x37edf9(0x2db)](),this[_0x37edf9(0x35f)]['createInstance'](ue,this['unitID'],this[_0x37edf9(0x233)],null,this['_pendingMutations'],this['_handler'],_0x14d464);}[_0x5e85b0(0x1a4)](_0x6816bd,_0x758b27){var _0x151b67=_0x5e85b0,_0x7aa29e;_0x6816bd===((_0x7aa29e=this[_0x151b67(0x3a5)])==null?void 0x0:_0x7aa29e[_0x151b67(0x403)])&&(this[_0x151b67(0x202)](),this[_0x151b67(0x39c)]=_0x758b27===0x0?0x3e8:_0x758b27*0x2);}[_0x5e85b0(0x2db)](){var _0x5a2c43=_0x5e85b0,_0x5db973;(_0x5db973=this[_0x5a2c43(0x327)])==null||_0x5db973[_0x5a2c43(0x247)](),this[_0x5a2c43(0x39c)]=0x0;}};oe=Te([P(0x6,_0x4e6a0f(_0x2a76ad)),P(0x7,_0x4e6a0f(_0x57826d)),P(0x8,_0x1020e1),P(0x9,_0x4f17e2),P(0xa,_0x32e708),P(0xb,_0x1d308d),P(0xc,_0x8e5208(J))],oe);let ue=class extends Ce{constructor(_0x10277b,_0x1e049b,_0x16bd58,_0x507df9,_0x5aba16,_0x37559c=!0x1,_0x265a55,_0x43f1c9,_0x2befa0,_0x42b2b0,_0x55919c,_0x3fc0d9,_0x20d4e2){var _0x58f2bc=_0x5e85b0;super(_0x10277b,_0x1e049b,_0x16bd58,_0x507df9,_0x5aba16,_0x43f1c9,_0x2befa0,_0x42b2b0,_0x20d4e2),N(this,_0x58f2bc(0x229),_0x58f2bc(0x36d)),(this[_0x58f2bc(0x12e)]=_0x37559c,this[_0x58f2bc(0x190)]=_0x265a55,this[_0x58f2bc(0x198)]=_0x55919c,this['_collaborationUIEventService']=_0x3fc0d9,this['localCacheService']=_0x20d4e2,this[_0x58f2bc(0x276)](),this[_0x58f2bc(0x23a)](),this['_disableEditing']());}[_0x5e85b0(0x1a7)](){return this;}[_0x5e85b0(0x191)](){return this;}[_0x5e85b0(0x1b3)](){return this;}[_0x5e85b0(0x30c)](){return this;}[_0x5e85b0(0x379)](){return this;}[_0x5e85b0(0x2f4)](){return this;}['toggleOnline'](){return this;}[_0x5e85b0(0x202)](){var _0x396ad4=_0x5e85b0;throw new Error(_0x396ad4(0x330));}[_0x5e85b0(0x23a)](){var _0x2fb4b2=_0x5e85b0,_0x40c15a;(_0x40c15a=this[_0x2fb4b2(0x3f0)])==null||_0x40c15a[_0x2fb4b2(0x1b1)](this[_0x2fb4b2(0x373)],this['type'],null,[]);}[_0x5e85b0(0x276)](){var _0x5e158f=_0x5e85b0;this[_0x5e158f(0x12e)]?this[_0x5e158f(0x262)][_0x5e158f(0x258)]({'id':re[_0x5e158f(0x1a3)]}):this[_0x5e158f(0x262)]['emitEvent']({'id':re[_0x5e158f(0x16d)]});}['_disableEditing'](){var _0x50414b=_0x5e85b0;this[_0x50414b(0x190)][_0x50414b(0x150)](new _0x3c0caf(this[_0x50414b(0x373)])['id'],!0x1);}};ue=Te([P(0x6,_0x4e6a0f(_0xfde829)),P(0x7,_0x1020e1),P(0x8,_0x1d308d),P(0x9,_0x4e6a0f(_0x57826d)),P(0xa,_0x4e6a0f(_0x4ff38c)),P(0xb,_0x4e6a0f(pe)),P(0xc,_0x8e5208(J))],ue);let de=class extends Ce{constructor(_0x475df0,_0x2d1e6e,_0xb25c5b,_0x4e0d0b,_0x456229,_0x53e7b3,_0x5d1bba,_0x584bfa,_0x753464,_0x551c9a){var _0x435ec6=_0x5e85b0;super(_0x475df0,_0x2d1e6e,_0xb25c5b,_0x4e0d0b,_0x456229,_0x584bfa,_0x753464,_0x5d1bba,_0x551c9a),N(this,'status',_0x435ec6(0x236)),this['_injector']=_0x53e7b3;}['appendMutation'](_0x393f63){var _0x3d6b0e=_0x5e85b0;return this[_0x3d6b0e(0x29a)]['push'](_0x393f63),this[_0x3d6b0e(0x21d)](),this;}[_0x5e85b0(0x191)](_0x578df5){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x237302=_0x5e85b0;throw new Error(_0x237302(0x172));}[_0x5e85b0(0x30c)](){var _0x19510b=_0x5e85b0;throw new Error(_0x19510b(0x184));}[_0x5e85b0(0x379)](){return this;}[_0x5e85b0(0x2f4)](){return this;}['toggleOnline'](){var _0x49d950=_0x5e85b0;const {_injector:_0x4ba171,_pendingMutations:_0x14400b,_awaitingChangeset:_0x556b97,unitID:_0x536739,_handler:_0x49706c,type:_0x42d71d}=this,_0x203670=yi(_0x4ba171,_0x536739,_0x42d71d,_0x556b97,_0x14400b,_0x49706c);return _0x203670 instanceof ae?_0x203670['_schedule']():(_0x203670 instanceof oe||_0x203670 instanceof le)&&_0x203670[_0x49d950(0x202)](),_0x203670;}[_0x5e85b0(0x202)](){var _0x331d9c=_0x5e85b0;throw new Error(_0x331d9c(0x2f6));}};de=Te([P(0x5,_0x4e6a0f(_0x2a76ad)),P(0x6,_0x4e6a0f(_0x57826d)),P(0x7,_0x1020e1),P(0x8,_0x1d308d),P(0x9,_0x8e5208(J))],de);let ee=class extends Ce{constructor(_0x81404d,_0x458e39,_0x3c9c82,_0x308a66,_0x3d0cb2,_0x29bed2,_0x485717,_0x58fb5d,_0x5e8ee4,_0x563082,_0xa9ca11,_0x433ad4,_0x237e3d,_0x4beb01){var _0x198f36=_0x5e85b0;super(_0x81404d,_0x458e39,_0x3c9c82,_0x308a66,_0x485717,_0xa9ca11,_0x433ad4,_0x5e8ee4,_0x4beb01),N(this,_0x198f36(0x229),_0x198f36(0x3aa)),(this[_0x198f36(0x2cb)]=_0x3d0cb2,this[_0x198f36(0x30a)]=_0x29bed2,this[_0x198f36(0x35f)]=_0x58fb5d,this['_logService']=_0x563082,this[_0x198f36(0x129)]=_0x237e3d,this[_0x198f36(0x3d3)]=_0x4beb01);}['onMissedChangesetFetched'](_0x528564){var _0x14af6c=_0x5e85b0;try{const _0x128065=[..._0x528564,...this['_queuedRemoteChangesets']],_0xdefda8=[this[_0x14af6c(0x3a5)]||this[_0x14af6c(0x2cb)]][_0x14af6c(0x3c6)](_0x1f55c8=>!!_0x1f55c8);let _0x15f10f,_0x1e6b22;if(_0xdefda8[_0x14af6c(0x317)]){const _0x556081=this[_0x14af6c(0x129)][_0x14af6c(0x3a0)](_0x128065,_0xdefda8,!0x1);if(!_0x4fb575(_0x556081))throw _0x556081[_0x14af6c(0x371)];_0x15f10f=_0x556081[_0x14af6c(0x1ca)],_0x1e6b22=_0x556081['c2Prime'];}else _0x15f10f=_0x128065,_0x1e6b22=[];let _0x42ac33=this[_0x14af6c(0x29a)];_0x15f10f[_0x14af6c(0x1b4)](_0x16ee8a=>{var _0x5407dc=_0x14af6c;let _0x5eccc7;if(_0x42ac33[_0x5407dc(0x317)]){const _0x2d3251=this[_0x5407dc(0x129)][_0x5407dc(0x2a3)](_0x16ee8a,_0x42ac33);if(!_0x5ed7eb(_0x2d3251))throw _0x2d3251[_0x5407dc(0x371)];_0x5eccc7=_0x2d3251[_0x5407dc(0x1ca)],_0x42ac33=_0x2d3251[_0x5407dc(0x1e5)];}else _0x5eccc7=_0x16ee8a;this[_0x5407dc(0x264)](_0x5eccc7);}),this[_0x14af6c(0x2cb)]&&this['_incrementRevisionNumber'](),this[_0x14af6c(0x3a5)]&&_0x1e6b22[_0x14af6c(0x317)]&&(_0x1e6b22[0x0][_0x14af6c(0x130)]=this['_getCurrentRevision']());let _0x4f66a5;if(this['_awaitingChangeset']&&_0x42ac33[_0x14af6c(0x317)]!==0x0)_0x4f66a5=this['_injector'][_0x14af6c(0x313)](oe,this[_0x14af6c(0x373)],this['type'],_0x1e6b22[0x0],_0x42ac33,this[_0x14af6c(0x309)],void 0x0);else{if(this[_0x14af6c(0x3a5)]&&_0x42ac33[_0x14af6c(0x317)]===0x0)_0x1e6b22[0x0]['baseRev']=this[_0x14af6c(0x302)](),_0x4f66a5=this[_0x14af6c(0x35f)][_0x14af6c(0x313)](le,this['unitID'],this[_0x14af6c(0x233)],_0x1e6b22[0x0],this[_0x14af6c(0x309)]);else{if(_0x42ac33[_0x14af6c(0x317)]!==0x0){const _0x88342=this[_0x14af6c(0x35f)][_0x14af6c(0x313)](ae,this[_0x14af6c(0x373)],this[_0x14af6c(0x233)],_0x42ac33,this['_handler']);_0x88342[_0x14af6c(0x331)](),_0x4f66a5=_0x88342;}else _0x4f66a5=this['_injector'][_0x14af6c(0x313)](Ne,this[_0x14af6c(0x373)],this['type'],this[_0x14af6c(0x309)]);}}return _0x4f66a5[_0x14af6c(0x21d)](),_0x4f66a5;}catch(_0x44b66f){return this[_0x14af6c(0x154)][_0x14af6c(0x371)](_0x14af6c(0x1bc),_0x14af6c(0x348),_0x44b66f),this['_injector'][_0x14af6c(0x313)](ue,this[_0x14af6c(0x373)],this[_0x14af6c(0x233)],this['_awaitingChangeset'],this[_0x14af6c(0x29a)],this[_0x14af6c(0x309)],!0x1);}}[_0x5e85b0(0x202)](){var _0x37e2fd=_0x5e85b0;throw new Error(_0x37e2fd(0x3e9));}['appendMutation'](_0x29c90b){var _0x25e8a8=_0x5e85b0;return this[_0x25e8a8(0x29a)][_0x25e8a8(0x1e3)](_0x29c90b),this;}[_0x5e85b0(0x191)](_0x3d5b72){var _0x30aa78=_0x5e85b0;return this[_0x30aa78(0x30a)]['push'](_0x3d5b72),this;}[_0x5e85b0(0x1b3)](_0x1c32b3){var _0x4f5b31=_0x5e85b0;if(this['_awaitingChangeset'])return this[_0x4f5b31(0x2cb)]=this[_0x4f5b31(0x3a5)],this[_0x4f5b31(0x3a5)]=null,this;throw new Error(_0x4f5b31(0x2c9));}['onRemoteRej'](_0x3aed95){var _0x4bb1eb=_0x5e85b0;return this[_0x4bb1eb(0x308)](!!(_0x3aed95!=null&&_0x3aed95[_0x4bb1eb(0x2eb)]));}[_0x5e85b0(0x379)](){return this;}['toggleOffline'](){var _0x400a45=_0x5e85b0;return this[_0x400a45(0x35f)]['createInstance'](de,this[_0x400a45(0x373)],this[_0x400a45(0x233)],this[_0x400a45(0x3a5)],this['_pendingMutations'],this['_handler']);}[_0x5e85b0(0x24d)](){return this;}['_onConflict'](_0x39c4fb){var _0x42dfd5=_0x5e85b0;return this[_0x42dfd5(0x35f)][_0x42dfd5(0x313)](ue,this['unitID'],this[_0x42dfd5(0x233)],this[_0x42dfd5(0x3a5)],this[_0x42dfd5(0x29a)],this[_0x42dfd5(0x309)],_0x39c4fb);}};ee=Te([P(0x7,_0x4e6a0f(_0x2a76ad)),P(0x8,_0x4e6a0f(_0x57826d)),P(0x9,_0x4f17e2),P(0xa,_0x1020e1),P(0xb,_0x1d308d),P(0xc,_0x32e708),P(0xd,_0x8e5208(J))],ee);function yi(_0x1a4229,_0x487544,_0x4b83a2,_0x26f745,_0x14d6b8,_0x50ccc8){var _0x36f8e1=_0x5e85b0;return _0x26f745&&_0x14d6b8[_0x36f8e1(0x317)]?_0x1a4229[_0x36f8e1(0x313)](oe,_0x487544,_0x4b83a2,_0x26f745,_0x14d6b8,_0x50ccc8,void 0x0):_0x26f745?_0x1a4229[_0x36f8e1(0x313)](le,_0x487544,_0x4b83a2,_0x26f745,_0x50ccc8):_0x14d6b8[_0x36f8e1(0x317)]?_0x1a4229[_0x36f8e1(0x313)](ae,_0x487544,_0x4b83a2,_0x14d6b8,_0x50ccc8):_0x1a4229[_0x36f8e1(0x313)](Ne,_0x487544,_0x4b83a2,_0x50ccc8);}var as=Object[_0x5e85b0(0x3b0)],Lt=(_0x44986d,_0xf4185b,_0x5e44e0,_0x528a83)=>{for(var _0xb27f83=_0x528a83>0x1?void 0x0:_0x528a83?as(_0xf4185b,_0x5e44e0):_0xf4185b,_0x20b53a=_0x44986d['length']-0x1,_0x149629;_0x20b53a>=0x0;_0x20b53a--)(_0x149629=_0x44986d[_0x20b53a])&&(_0xb27f83=_0x149629(_0xb27f83)||_0xb27f83);return _0xb27f83;},H=(_0xbe674,_0x1fe142)=>(_0x86f0ca,_0x18fa50)=>_0x1fe142(_0x86f0ca,_0x18fa50,_0xbe674);let nt=class extends _0x5d06b1{constructor(_0x4aab1e,_0x57ac46,_0x450106,_0x150b0b,_0x51ec4a,_0x319fcc,_0x59778b,_0xa5051c,_0xb163b8,_0x1f6f29,_0xf6a9fa,_0x2099ca,_0x2d1b70){var _0x48f276=_0x5e85b0;super(),N(this,'_state$',new _0x5a2e2c(null)),N(this,_0x48f276(0x2ca),this[_0x48f276(0x2e4)][_0x48f276(0x175)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,_0x48f276(0x407),''),N(this,_0x48f276(0x315),0x0),N(this,_0x48f276(0x2b3),this[_0x48f276(0x2ca)][_0x48f276(0x2c0)](_0x107ff5(_0x3fec28=>_0x3fec28?_0x3fec28['status']:bi['OFFLINE']),_0x217924(0x1))),N(this,_0x48f276(0x1c6),!0x1),N(this,_0x48f276(0x1d0),[]),(this[_0x48f276(0x373)]=_0x4aab1e,this[_0x48f276(0x133)]=_0x57ac46,this[_0x48f276(0x280)]=_0x450106,this[_0x48f276(0x35f)]=_0x150b0b,this['_compressMutationService']=_0x51ec4a,this[_0x48f276(0x198)]=_0x319fcc,this[_0x48f276(0x13c)]=_0x59778b,this[_0x48f276(0x261)]=_0xa5051c,this[_0x48f276(0x154)]=_0xb163b8,this[_0x48f276(0x336)]=_0x1f6f29,this[_0x48f276(0x190)]=_0xf6a9fa,this[_0x48f276(0x259)]=_0x2099ca,this[_0x48f276(0x3f0)]=_0x2d1b70);}get[_0x5e85b0(0x2ae)](){var _0x1383f8=_0x5e85b0;return this[_0x1383f8(0x1cd)];}async[_0x5e85b0(0x1a5)](){var _0x261cfa=_0x5e85b0;if(this[_0x261cfa(0x2ae)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x5e85b0(0x1aa)](){var _0x507a6a=_0x5e85b0;return this[_0x507a6a(0x352)]=!0x0,_0x50f250(()=>{var _0x1f1591=_0x507a6a;this[_0x1f1591(0x352)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5e85b0(0x3c3)](_0x58f21a){var _0x464cb5=_0x5e85b0;this[_0x464cb5(0x1be)](_0x58f21a);}['_updateState'](_0x3e8515){var _0x154356=_0x5e85b0;this['_state']=_0x3e8515,this[_0x154356(0x2e4)][_0x154356(0x2ce)](_0x3e8515);}async[_0x5e85b0(0x3e5)](){var _0x2d22d3=_0x5e85b0,_0x33d84d;this['_updateState'](await this['_createInitialState']()),this[_0x2d22d3(0x259)]&&((_0x33d84d=this[_0x2d22d3(0x259)])==null||_0x33d84d[_0x2d22d3(0x18a)](this[_0x2d22d3(0x373)]),this[_0x2d22d3(0x1d4)](this[_0x2d22d3(0x259)][_0x2d22d3(0x1fe)](this[_0x2d22d3(0x373)])[_0x2d22d3(0x292)](_0x43336a=>{var _0x2d891d=_0x2d22d3;this['_logService'][_0x2d891d(0x156)](_0x2d891d(0x2fa),_0x2d891d(0x32d),_0x43336a),_0x43336a===Ci[_0x2d891d(0x22b)]?(this[_0x2d891d(0x261)]['emitEvent']({'id':re[_0x2d891d(0x21a)]}),this[_0x2d891d(0x190)][_0x2d891d(0x150)](new _0x3c0caf(this[_0x2d891d(0x373)])['id'],!0x1),this[_0x2d891d(0x190)][_0x2d891d(0x38a)](!0x1)):(this['_permissionService'][_0x2d891d(0x150)](new _0x3c0caf(this[_0x2d891d(0x373)])['id'],!0x0),this[_0x2d891d(0x190)]['setShowComponents'](!0x0));})));let _0xeb52ba=!0x1;return this[_0x2d22d3(0x1d4)](this[_0x2d22d3(0x133)][_0x2d22d3(0x3a8)][_0x2d22d3(0x292)](_0x442d79=>{var _0x2bdb74=_0x2d22d3;_0x442d79===Ee[_0x2bdb74(0x267)]?this[_0x2bdb74(0x1d6)](_0xeb52ba):_0x442d79===Ee[_0x2bdb74(0x27b)]&&(_0xeb52ba=!0x0,this[_0x2bdb74(0x2e2)]());})),this[_0x2d22d3(0x1d4)](this[_0x2d22d3(0x133)][_0x2d22d3(0x412)]['subscribe'](_0x243616=>{var _0x4772c5=_0x2d22d3;try{switch(_0x243616[_0x4772c5(0x388)]){case _0x5d967f[_0x4772c5(0x3d1)]:{this[_0x4772c5(0x2d4)](_0x183a67(_0x243616[_0x4772c5(0x401)]));break;}case _0x5d967f[_0x4772c5(0x37d)]:{this['_onRemoteACK'](_0x243616[_0x4772c5(0x401)]);break;}case _0x5d967f['CHANGESET_REJ']:{this[_0x4772c5(0x416)]();break;}case _0x5d967f[_0x4772c5(0x163)]:{this['_onRemoteRetry'](_0x243616[_0x4772c5(0x401)]);break;}case _0x5d967f['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4772c5(0x1eb)](_0x243616[_0x4772c5(0x401)][_0x4772c5(0x1e6)][_0x4772c5(0x3bf)](_0x430d46=>_0x183a67(_0x430d46)));break;}case _0x5d967f[_0x4772c5(0x2e6)]:{this[_0x4772c5(0x416)]({'isPermissionRej':!0x0});break;}case _0x5d967f['UNISCRIPT_RUN']:break;}}catch(_0x21a671){throw console[_0x4772c5(0x371)]('Error\x20on\x20receiving\x20event',_0x21a671),_0x21a671;}})),this[_0x2d22d3(0x1cd)];}[_0x5e85b0(0x31c)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x3f7a93=_0x5e85b0;if(this['_transitionLocked'])throw new Error(_0x3f7a93(0x17d));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x12ef54){var _0x196827=_0x5e85b0;this['_lockTransition'](),this[_0x196827(0x28e)](this['_state']['appendMutation'](_0x12ef54)),this[_0x196827(0x31c)]();}[_0x5e85b0(0x2d4)](_0x509104){var _0x307760=_0x5e85b0;if(!(_0x509104[_0x307760(0x181)]<=this[_0x307760(0x13c)][_0x307760(0x3bd)](this[_0x307760(0x373)]))){if(this[_0x307760(0x352)]){this['_remoteChangesetQueue'][_0x307760(0x1e3)](_0x509104);return;}this[_0x307760(0x3da)](_0x509104);}}[_0x5e85b0(0x177)](){var _0x2415ff=_0x5e85b0;this[_0x2415ff(0x1d0)][_0x2415ff(0x1b4)](_0x3f273d=>this[_0x2415ff(0x3da)](_0x3f273d)),this[_0x2415ff(0x1d0)]=[];}[_0x5e85b0(0x3da)](_0x5709cc){var _0x1a80cd=_0x5e85b0;const _0x1a38c8=this[_0x1a80cd(0x26a)][_0x1a80cd(0x342)]['fetchThroughInterceptors'](this[_0x1a80cd(0x26a)][_0x1a80cd(0x342)][_0x1a80cd(0x16a)]()[_0x1a80cd(0x217)])(_0x5709cc[_0x1a80cd(0x126)],null)||_0x5709cc[_0x1a80cd(0x126)],_0x30306b={..._0x5709cc,'mutations':_0x1a38c8};this[_0x1a80cd(0x3bb)](),this[_0x1a80cd(0x28e)](this['_state'][_0x1a80cd(0x191)](_0x30306b)),this['_unlockTransition']();}[_0x5e85b0(0x3f4)](_0x6957b0){var _0x6cb37b=_0x5e85b0;this[_0x6cb37b(0x3bb)](),this[_0x6cb37b(0x28e)](this[_0x6cb37b(0x1cd)][_0x6cb37b(0x1b3)](_0x6957b0)),this[_0x6cb37b(0x31c)]();}[_0x5e85b0(0x416)](_0x4b1ca9){var _0x101d64=_0x5e85b0;this['_lockTransition'](),this[_0x101d64(0x28e)](this[_0x101d64(0x1cd)][_0x101d64(0x30c)](_0x4b1ca9)),this[_0x101d64(0x31c)]();}[_0x5e85b0(0x1e7)](_0x2e080a){var _0x324998=_0x5e85b0;this[_0x324998(0x3bb)](),this[_0x324998(0x28e)](this['_state'][_0x324998(0x379)](_0x2e080a)),this[_0x324998(0x31c)]();}['_onFetchMissResult'](_0x467b60){var _0x6d9d6=_0x5e85b0;if(!(this[_0x6d9d6(0x1cd)]instanceof ee))throw new TypeError(_0x6d9d6(0x151));const _0x30a780=_0x467b60[_0x6d9d6(0x3bf)](_0x497ed8=>{var _0x5946be=_0x6d9d6;const _0x13fbf1=this[_0x5946be(0x26a)][_0x5946be(0x342)][_0x5946be(0x334)](this[_0x5946be(0x26a)][_0x5946be(0x342)][_0x5946be(0x16a)]()[_0x5946be(0x217)])(_0x497ed8[_0x5946be(0x126)],null)||_0x497ed8[_0x5946be(0x126)];return{..._0x497ed8,'mutations':_0x13fbf1};});this[_0x6d9d6(0x3bb)](),this[_0x6d9d6(0x28e)](this[_0x6d9d6(0x1cd)][_0x6d9d6(0x1c9)](_0x30a780)),this['_unlockTransition']();}[_0x5e85b0(0x2e2)](){var _0x5418ee=_0x5e85b0;this[_0x5418ee(0x3bb)](),this[_0x5418ee(0x28e)](this[_0x5418ee(0x1cd)][_0x5418ee(0x2f4)]()),this[_0x5418ee(0x31c)]();}[_0x5e85b0(0x1d6)](_0x2d030c=!0x1){var _0x3c3fab=_0x5e85b0;this[_0x3c3fab(0x3bb)](),this['_updateState'](this['_state'][_0x3c3fab(0x24d)]()),this[_0x3c3fab(0x31c)]();const _0x5128a7=this['_state'];_0x2d030c&&_0x5128a7 instanceof Ne&&(this[_0x3c3fab(0x3bb)](),this['_updateState'](_0x5128a7['fetchMiss']()),this[_0x3c3fab(0x31c)]());}async[_0x5e85b0(0x3fc)](){return new Promise(_0x32922d=>{var _0x26289b=_0x30b8;this[_0x26289b(0x133)][_0x26289b(0x3a8)][_0x26289b(0x2c0)](_0x27b4b5(0x1))['subscribe'](async _0x16dd77=>{var _0x4c326d=_0x26289b;_0x32922d(await this[_0x4c326d(0x2b6)](_0x16dd77===Ee['ONLINE']));});});}[_0x5e85b0(0x24a)](){const _0x482ad6=this['unitID'];return{'onStateChange':(_0x367eed,_0x5365ad)=>{var _0x2b9227=_0x30b8;if(_0x367eed!==this['_state'])throw new Error(_0x2b9227(0x179)+_0x367eed[_0x2b9227(0x229)]+_0x2b9227(0x2a0)+_0x5365ad[_0x2b9227(0x229)]+_0x2b9227(0x3ad)+this['_state'][_0x2b9227(0x229)]);this[_0x2b9227(0x28e)](_0x5365ad);},'onSendChangeset':_0x21a623=>{var _0x427f98=_0x30b8;_0x21a623['sid']||(_0x21a623['sid']=this[_0x427f98(0x407)],_0x21a623['reqId']=++this[_0x427f98(0x315)]);const _0xb7113a={'eventID':_0x5d967f['SUBMIT_CHANGESET'],'data':{'unitID':_0x21a623[_0x427f98(0x373)],'unitType':this['_type'],'changeset':_0x21a623,'memberID':this[_0x427f98(0x133)][_0x427f98(0x263)]()}};this['session']['send'](_0xb7113a,this[_0x427f98(0x373)]);},'onMissingChangesets':({from:_0x52c7e2,to:_0x4c864e})=>{var _0x560565=_0x30b8;this[_0x560565(0x154)][_0x560565(0x156)](_0x560565(0x2fa),_0x560565(0x3f6)+_0x52c7e2+'\x20to\x20'+_0x4c864e);const _0x32409b={'eventID':_0x5d967f['FETCH_MISSING'],'data':{'unitID':_0x482ad6,'unitType':this[_0x560565(0x280)],'from':_0x52c7e2,'to':_0x4c864e}};this['session']['send'](_0x32409b,this['unitID']);}};}async[_0x5e85b0(0x2b6)](_0x20c43f){var _0x1c8523=_0x5e85b0,_0x1590e2,_0x5b4e51,_0x344e3e;const _0x1c299f=await((_0x1590e2=this[_0x1c8523(0x3f0)])==null?void 0x0:_0x1590e2[_0x1c8523(0x2e1)](this[_0x1c8523(0x373)])),_0xbb94b8=(_0x5b4e51=_0x1c299f==null?void 0x0:_0x1c299f[_0x1c8523(0x126)])!=null?_0x5b4e51:[],_0x4c5039=(_0x344e3e=_0x1c299f==null?void 0x0:_0x1c299f[_0x1c8523(0x2cd)])!=null?_0x344e3e:null,_0x19ab05=!!(_0x4c5039!=null&&_0x4c5039['sid'])&&!!(_0x4c5039!=null&&_0x4c5039[_0x1c8523(0x403)]);this[_0x1c8523(0x407)]=_0x19ab05?_0x4c5039[_0x1c8523(0x39e)]:Zn(),this[_0x1c8523(0x315)]=_0x19ab05?_0x4c5039[_0x1c8523(0x403)]:0x0;const _0x2a4c79=this[_0x1c8523(0x373)];try{this['_replayCachedMutations'](_0x4c5039,_0xbb94b8);}catch(_0x15f0b9){this[_0x1c8523(0x154)][_0x1c8523(0x371)](_0x15f0b9);}const _0x45692e=this[_0x1c8523(0x24a)]();if(_0x20c43f){const _0x4b171a=yi(this['_injector'],_0x2a4c79,this[_0x1c8523(0x280)],_0x4c5039,_0xbb94b8,_0x45692e);return _0x4b171a instanceof ae?_0x4b171a[_0x1c8523(0x331)]():(_0x4b171a instanceof oe||_0x4b171a instanceof le)&&_0x4b171a[_0x1c8523(0x202)](),_0x4b171a;}return this['_injector'][_0x1c8523(0x313)](de,_0x2a4c79,this[_0x1c8523(0x280)],_0x4c5039,_0xbb94b8,_0x45692e);}['_replayCachedMutations'](_0x50d215,_0x505213){var _0x498d92=_0x5e85b0,_0x17d884,_0x4601ed;const _0x253b51=this[_0x498d92(0x26a)][_0x498d92(0x342)]['fetchThroughInterceptors'](this[_0x498d92(0x26a)][_0x498d92(0x342)][_0x498d92(0x16a)]()[_0x498d92(0x217)]);(_0x17d884=_0x253b51((_0x50d215==null?void 0x0:_0x50d215['mutations'])||[],null))==null||_0x17d884[_0x498d92(0x1b4)](_0x3db4c5=>this[_0x498d92(0x336)]['executeCommand'](_0x3db4c5['id'],_0x3db4c5[_0x498d92(0x2d0)])),(_0x4601ed=_0x253b51(_0x505213||[],null))==null||_0x4601ed['forEach'](_0x33482f=>this['_commandService'][_0x498d92(0x37e)](_0x33482f['id'],_0x33482f[_0x498d92(0x2d0)]));}};nt=Lt([H(0x3,_0x4e6a0f(_0x2a76ad)),H(0x4,_0x4e6a0f(_0x52c586)),H(0x5,_0x4e6a0f(_0x4ff38c)),H(0x6,_0x4e6a0f(_0x57826d)),H(0x7,_0x4e6a0f(pe)),H(0x8,_0x4f17e2),H(0x9,_0x1020e1),H(0xa,_0xfde829),H(0xb,_0x8e5208(ht)),H(0xc,_0x8e5208(J))],nt);let It=class extends nt{constructor(_0x513456,_0x3221bc,_0x40f5af,_0x78797a,_0x3d7dfb,_0x1a59b5,_0x2335e5,_0x38a7ba,_0x1fc7b9,_0x56b232,_0xa928fa,_0x5a7148,_0x407992){var _0x4a9f9e=_0x5e85b0;super(_0x513456,_0x40f5af,_0x3221bc,_0x78797a,_0x3d7dfb,_0x1a59b5,_0x2335e5,_0x38a7ba,_0x1fc7b9,_0x56b232,_0xa928fa,_0x5a7148,_0x407992),N(this,_0x4a9f9e(0x2b0),null),(this[_0x4a9f9e(0x373)]=_0x513456,this[_0x4a9f9e(0x233)]=_0x3221bc);}[_0x5e85b0(0x2b4)](_0x19297a){this['_handlerCallback']=_0x19297a;}[_0x5e85b0(0x41a)](){var _0x17d244=_0x5e85b0;this['_handlerCallback']=null,super[_0x17d244(0x41a)]();}['_createHandler'](){var _0x1e4c82=_0x5e85b0;const _0x45043a=super[_0x1e4c82(0x24a)]();return _0x45043a[_0x1e4c82(0x15a)]=_0x1cedf3=>{var _0x160bc4=_0x1e4c82,_0x3cf6c8,_0x378590;return(_0x378590=(_0x3cf6c8=this[_0x160bc4(0x2b0)])==null?void 0x0:_0x3cf6c8[_0x160bc4(0x15a)])==null?void 0x0:_0x378590[_0x160bc4(0x17e)](_0x3cf6c8,_0x1cedf3);},_0x45043a[_0x1e4c82(0x2a5)]=_0x38c9b2=>{var _0x688810=_0x1e4c82,_0x4ff056,_0x4861f5;return(_0x4861f5=(_0x4ff056=this[_0x688810(0x2b0)])==null?void 0x0:_0x4ff056[_0x688810(0x2a5)])==null?void 0x0:_0x4861f5[_0x688810(0x17e)](_0x4ff056,_0x38c9b2);},_0x45043a['onTransformSelections']=_0x3098c6=>{var _0x2cda3f=_0x1e4c82,_0x1c1fa7,_0x4b70d2;return(_0x4b70d2=(_0x1c1fa7=this[_0x2cda3f(0x2b0)])==null?void 0x0:_0x1c1fa7[_0x2cda3f(0x3cd)])==null?void 0x0:_0x4b70d2[_0x2cda3f(0x17e)](_0x1c1fa7,_0x3098c6);},_0x45043a['onSyncEditingCollabCursor']=_0x2db55c=>{var _0x4574d9=_0x1e4c82,_0x502ab6,_0x2a0fec;return(_0x2a0fec=(_0x502ab6=this['_handlerCallback'])==null?void 0x0:_0x502ab6[_0x4574d9(0x204)])==null?void 0x0:_0x2a0fec['call'](_0x502ab6,_0x2db55c);},_0x45043a[_0x1e4c82(0x29d)]=_0x17a5e0=>{var _0x58f01c=_0x1e4c82,_0x233619,_0x54a474,_0x10794b;if(!((_0x233619=this['_handlerCallback'])!=null&&_0x233619['onTransformRemoteChangesetByIMECache']))throw new Error(_0x58f01c(0x367));return(_0x10794b=(_0x54a474=this[_0x58f01c(0x2b0)])==null?void 0x0:_0x54a474[_0x58f01c(0x29d)])==null?void 0x0:_0x10794b[_0x58f01c(0x17e)](_0x54a474,_0x17a5e0);},_0x45043a[_0x1e4c82(0x149)]=_0x19ddee=>{var _0x471ab2=_0x1e4c82,_0xe52174,_0x225dd0,_0x2dcd4a;if(!((_0xe52174=this['_handlerCallback'])!=null&&_0xe52174['onTransformRemoteChangesetByStateCache']))throw new Error(_0x471ab2(0x3e8));return(_0x2dcd4a=(_0x225dd0=this[_0x471ab2(0x2b0)])==null?void 0x0:_0x225dd0['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2dcd4a[_0x471ab2(0x17e)](_0x225dd0,_0x19ddee);},_0x45043a;}async['_init'](){var _0x49761c=_0x5e85b0;const _0x33fdce=await super['_init']();return this[_0x49761c(0x1d4)](this[_0x49761c(0x336)]['onCommandExecuted']((_0x4b2446,_0x277401)=>{var _0x451f78=_0x49761c;if(_0x4b2446[_0x451f78(0x233)]!==_0x33a20c[_0x451f78(0x182)]||_0x277401!=null&&_0x277401['fromCollab']||_0x277401!=null&&_0x277401['onlyLocal']||_0x4b2446['id']===_0x25e173['id'])return;const _0x1a2700=_0x4b2446[_0x451f78(0x2d0)];if((_0x1a2700==null?void 0x0:_0x1a2700['unitId'])!==this[_0x451f78(0x373)])return;const _0x5cfb29=_0x4b2446,_0x5b7c54=this[_0x451f78(0x26a)][_0x451f78(0x342)]['fetchThroughInterceptors'](this[_0x451f78(0x26a)][_0x451f78(0x342)][_0x451f78(0x16a)]()['COMPRESS_MUTATION_SEND'])([_0x5cfb29],null)||[_0x5cfb29];this[_0x451f78(0x1be)](_0x5b7c54[0x0]);})),_0x33fdce;}};It=Lt([H(0x3,_0x4e6a0f(_0x2a76ad)),H(0x4,_0x4e6a0f(_0x52c586)),H(0x5,_0x4e6a0f(_0x4ff38c)),H(0x6,_0x4e6a0f(_0x57826d)),H(0x7,_0x4e6a0f(pe)),H(0x8,_0x4f17e2),H(0x9,_0x1020e1),H(0xa,_0xfde829),H(0xb,_0x8e5208(ht)),H(0xc,_0x8e5208(J))],It);let Tt=class extends nt{constructor(_0x1f9d93,_0x1ae040,_0xf2f7f6,_0x3351be,_0x6d277,_0x38dded,_0x397294,_0x1099d9,_0x39aaee,_0x39dd10,_0x273750,_0xcb0c41,_0x19c25a,_0x54de7f){var _0x1abdda=_0x5e85b0;super(_0x1f9d93,_0xf2f7f6,_0x1ae040,_0x3351be,_0x6d277,_0x38dded,_0x397294,_0x39aaee,_0x39dd10,_0x273750,_0xcb0c41,_0x19c25a,_0x54de7f),this[_0x1abdda(0x373)]=_0x1f9d93,this[_0x1abdda(0x233)]=_0x1ae040,this[_0x1abdda(0x25b)]=_0x1099d9;}[_0x5e85b0(0x24a)](){var _0x19b919=_0x5e85b0;const _0x5bae30=super[_0x19b919(0x24a)]();return _0x5bae30[_0x19b919(0x3cd)]=_0x4ec541=>this[_0x19b919(0x25b)][_0x19b919(0x142)](_0x4ec541),_0x5bae30;}async[_0x5e85b0(0x3e5)](){var _0x220c04=_0x5e85b0;const _0x59f18=await super[_0x220c04(0x3e5)]();return this[_0x220c04(0x1d4)](this[_0x220c04(0x336)]['onCommandExecuted']((_0x3125a1,_0x2f3e0d)=>{var _0x164865=_0x220c04;if(_0x3125a1[_0x164865(0x233)]!==_0x33a20c[_0x164865(0x182)]||_0x2f3e0d!=null&&_0x2f3e0d[_0x164865(0x1ec)]||_0x2f3e0d!=null&&_0x2f3e0d['onlyLocal'])return;const _0x32e419=_0x3125a1[_0x164865(0x2d0)];if((_0x32e419==null?void 0x0:_0x32e419[_0x164865(0x37f)])!==this[_0x164865(0x373)])return;const _0x7c53d=_0x3125a1,_0x182750=this[_0x164865(0x26a)][_0x164865(0x342)]['fetchThroughInterceptors'](this[_0x164865(0x26a)][_0x164865(0x342)][_0x164865(0x16a)]()[_0x164865(0x12a)])([_0x7c53d],null)||[_0x7c53d];this[_0x164865(0x1be)](_0x182750[0x0]);})),_0x59f18;}};Tt=Lt([H(0x3,_0x4e6a0f(_0x2a76ad)),H(0x4,_0x4e6a0f(_0x52c586)),H(0x5,_0x4e6a0f(_0x4ff38c)),H(0x6,_0x4e6a0f(_0x57826d)),H(0x7,_0x4e6a0f(it)),H(0x8,_0x4e6a0f(pe)),H(0x9,_0x4f17e2),H(0xa,_0x1020e1),H(0xb,_0xfde829),H(0xc,_0x8e5208(ht)),H(0xd,_0x8e5208(J))],Tt);var os=Object[_0x5e85b0(0x3b0)],cs=(_0x2f4f3a,_0x4a198d,_0x20573d,_0x4281e)=>{var _0x79621d=_0x5e85b0;for(var _0x152f23=_0x4281e>0x1?void 0x0:_0x4281e?os(_0x4a198d,_0x20573d):_0x4a198d,_0x209413=_0x2f4f3a[_0x79621d(0x317)]-0x1,_0x29c413;_0x209413>=0x0;_0x209413--)(_0x29c413=_0x2f4f3a[_0x209413])&&(_0x152f23=_0x29c413(_0x152f23)||_0x152f23);return _0x152f23;},ft=(_0x3debdf,_0x539f9a)=>(_0x411c5c,_0x41c570)=>_0x539f9a(_0x411c5c,_0x41c570,_0x3debdf);let st=class extends _0x5d06b1{constructor(_0x450c58,_0x57e940,_0x3e6113){var _0x12d91c=_0x5e85b0;super(),N(this,_0x12d91c(0x353),new Map()),N(this,_0x12d91c(0x417),new _0x481b7e()),N(this,_0x12d91c(0x187),this[_0x12d91c(0x417)]['asObservable']()),(this[_0x12d91c(0x35f)]=_0x450c58,this[_0x12d91c(0x16e)]=_0x57e940,this[_0x12d91c(0x396)]=_0x3e6113,this['_init']());}[_0x5e85b0(0x41a)](){var _0x3f9a3f=_0x5e85b0;super[_0x3f9a3f(0x41a)](),this[_0x3f9a3f(0x353)][_0x3f9a3f(0x1b4)](_0xd27c5a=>_0xd27c5a['dispose']()),this['_entities'][_0x3f9a3f(0x21b)]();}['getCollabEntity'](_0x263118){var _0x3166dc=_0x5e85b0,_0x3b7420;return(_0x3b7420=this[_0x3166dc(0x353)]['get'](_0x263118))!=null?_0x3b7420:null;}['getCollabEntity$'](_0x295e3c){var _0x28eb70=_0x5e85b0;const _0xec02c6=this[_0x28eb70(0x14f)](_0x295e3c);return _0xec02c6?_0x2e5cdf(_0xec02c6):this['_entityInit$'][_0x28eb70(0x2c0)](_0x30fc86(_0x2e524f=>_0x2e524f[_0x28eb70(0x373)]===_0x295e3c));}['readyForCollab'](_0x2640ba){var _0x32b7b3=_0x5e85b0;return _0x115cc6(this[_0x32b7b3(0x337)](_0x2640ba)[_0x32b7b3(0x2c0)](_0x4f42e4(()=>{})));}[_0x5e85b0(0x3e5)](){var _0x241fb3=_0x5e85b0;this['_univerInstanceService'][_0x241fb3(0x25f)](_0x3ac655[_0x241fb3(0x26b)])[_0x241fb3(0x2c0)](_0x396fca(this[_0x241fb3(0x239)]),_0x1eb048(0x10))['subscribe'](async _0x464df=>{var _0x572cd1=_0x241fb3;const _0x56a8f8=_0x464df['getUnitId'](),_0x28b47f=await this[_0x572cd1(0x1a9)](_0x56a8f8,Q['UNIVER_SHEET']);this[_0x572cd1(0x353)][_0x572cd1(0x28a)](_0x56a8f8,_0x28b47f);}),this[_0x241fb3(0x396)][_0x241fb3(0x25f)](_0x3ac655[_0x241fb3(0x1dc)])[_0x241fb3(0x2c0)](_0x396fca(this[_0x241fb3(0x239)]),_0x1eb048(0x10))[_0x241fb3(0x2c0)](_0x30fc86(_0x54de4f=>!_0x54de4f[_0x241fb3(0x21c)]()['startsWith']('__')))[_0x241fb3(0x292)](async _0x4600d3=>{var _0x4bf437=_0x241fb3;const _0x19836b=_0x4600d3[_0x4bf437(0x21c)](),_0xf770f5=await this['_startCollaboration'](_0x19836b,Q[_0x4bf437(0x1dc)]);this[_0x4bf437(0x353)][_0x4bf437(0x28a)](_0x19836b,_0xf770f5);}),_0x2ba3bf(this[_0x241fb3(0x396)][_0x241fb3(0x34d)](_0x3ac655[_0x241fb3(0x26b)]),this[_0x241fb3(0x396)][_0x241fb3(0x34d)](_0x3ac655[_0x241fb3(0x1dc)]))[_0x241fb3(0x2c0)](_0x396fca(this[_0x241fb3(0x239)]))[_0x241fb3(0x292)](_0x5cced8=>{var _0x194388=_0x241fb3;const _0x162e67=_0x5cced8['getUnitId'](),_0x11b28a=this['_entities'][_0x194388(0x3d0)](_0x162e67);_0x11b28a&&(_0x11b28a[_0x194388(0x41a)](),this[_0x194388(0x353)]['delete'](_0x162e67));});}async[_0x5e85b0(0x1a9)](_0x70abd2,_0x498706){var _0x13ab1f=_0x5e85b0;const _0x4834f2=await this[_0x13ab1f(0x16e)][_0x13ab1f(0x18b)](_0x70abd2),_0x5d5fd8=this[_0x13ab1f(0x35f)]['createInstance'](this['_getCtorByUniverType'](_0x498706),_0x70abd2,_0x498706,_0x4834f2);return await _0x5d5fd8[_0x13ab1f(0x1a5)](),this[_0x13ab1f(0x417)]['next'](_0x5d5fd8),_0x5d5fd8;}['_getCtorByUniverType'](_0x5b910e){var _0x4d563d=_0x5e85b0;switch(_0x5b910e){case Q[_0x4d563d(0x1dc)]:return It;case Q[_0x4d563d(0x26b)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5b910e);}}};st=cs([ft(0x0,_0x4e6a0f(_0x2a76ad)),ft(0x1,_0x4e6a0f(xe)),ft(0x2,_0x187759)],st);var hs=Object['getOwnPropertyDescriptor'],_s=(_0x21d9d1,_0x371455,_0x5e57de,_0x2e52f9)=>{var _0xd77042=_0x5e85b0;for(var _0x21a276=_0x2e52f9>0x1?void 0x0:_0x2e52f9?hs(_0x371455,_0x5e57de):_0x371455,_0x4f239c=_0x21d9d1[_0xd77042(0x317)]-0x1,_0x2f2b2c;_0x4f239c>=0x0;_0x4f239c--)(_0x2f2b2c=_0x21d9d1[_0x4f239c])&&(_0x21a276=_0x2f2b2c(_0x21a276)||_0x21a276);return _0x21a276;},zt=(_0x5d359a,_0x1cb1ef)=>(_0x50e26a,_0xd4b5f4)=>_0x1cb1ef(_0x50e26a,_0xd4b5f4,_0x5d359a);const ls=_0x5e85b0(0x404),us=_0x5e85b0(0x281);let Ct=class extends _0x30c483{constructor(_0x7103ec,_0x59e581){var _0x3e95c1=_0x5e85b0;super(),this[_0x3e95c1(0x396)]=_0x7103ec,this['_configService']=_0x59e581,this[_0x3e95c1(0x3e5)]();}['_init'](){var _0x363b15=_0x5e85b0;this[_0x363b15(0x1d4)](this[_0x363b15(0x396)][_0x363b15(0x1f6)][_0x363b15(0x292)](()=>{var _0x1b1f87=_0x363b15,_0x1ce480;const _0x50c74d=this[_0x1b1f87(0x396)][_0x1b1f87(0x31b)]();let _0x975acb=(_0x1ce480=this['_configService'][_0x1b1f87(0x314)](ls))!=null?_0x1ce480:us;_0x50c74d instanceof _0x18a8fa&&(_0x975acb=_0x50c74d['name']),document[_0x1b1f87(0x227)]=_0x975acb;}));}};Ct=_s([zt(0x0,_0x187759),zt(0x1,_0x57235c)],Ct);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x36cc87,_0x12d9a6,_0x3aaf8e,_0x23afba)=>{var _0x515dd5=_0x5e85b0;for(var _0x2084f5=_0x23afba>0x1?void 0x0:_0x23afba?ds(_0x12d9a6,_0x3aaf8e):_0x12d9a6,_0x39673c=_0x36cc87[_0x515dd5(0x317)]-0x1,_0x1f10ad;_0x39673c>=0x0;_0x39673c--)(_0x1f10ad=_0x36cc87[_0x39673c])&&(_0x2084f5=_0x1f10ad(_0x2084f5)||_0x2084f5);return _0x2084f5;},vt=(_0x1cdec9,_0x54f2f0)=>(_0x5de123,_0x1012f4)=>_0x54f2f0(_0x5de123,_0x1012f4,_0x1cdec9);let rt=class{constructor(_0x4569ab,_0x574b50,_0x47bb03){var _0x30354e=_0x5e85b0;this['_configService']=_0x4569ab,this[_0x30354e(0x40b)]=_0x574b50,this[_0x30354e(0x272)]=_0x47bb03,this[_0x30354e(0x1a5)]();}[_0x5e85b0(0x1a5)](){var _0x406675=_0x5e85b0;this[_0x406675(0x40b)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x268a54,_0x5abf8a)=>_0x5abf8a(_0x268a54)[_0x406675(0x2c0)](_0x3427eb(async _0x107a25=>{var _0x31d100=_0x406675;const _0x25113e=_0x107a25;if(_0x25113e[_0x31d100(0x229)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this['localeService']['t'](_0x31d100(0x13f)))){const _0x21f684=window[_0x31d100(0x220)](window[_0x31d100(0x134)][_0x31d100(0x33e)]);window[_0x31d100(0x134)]['href']=this['_getLoginPath']()+'?url='+_0x21f684;}}return _0x25113e;}))});}[_0x5e85b0(0x135)](){var _0x53655f=_0x5e85b0,_0x438306,_0x460993;const _0x2f57f6=this[_0x53655f(0x161)][_0x53655f(0x314)](Un),_0x1778ca=this[_0x53655f(0x161)][_0x53655f(0x314)](q);return(_0x460993=(_0x438306=_0x1778ca==null?void 0x0:_0x1778ca[_0x53655f(0x311)])!=null?_0x438306:_0x2f57f6)!=null?_0x460993:An;}};rt=fs([vt(0x0,_0x57235c),vt(0x1,_0x4e6a0f(_0x4dfb46)),vt(0x2,_0x4e6a0f(_0x4ff38c))],rt);var vs=Object[_0x5e85b0(0x3b0)],ps=(_0xf62d06,_0xa15e46,_0x50183a,_0x51d672)=>{var _0x55bf9d=_0x5e85b0;for(var _0x33a29c=_0x51d672>0x1?void 0x0:_0x51d672?vs(_0xa15e46,_0x50183a):_0xa15e46,_0x458ef6=_0xf62d06[_0x55bf9d(0x317)]-0x1,_0x145dc9;_0x458ef6>=0x0;_0x458ef6--)(_0x145dc9=_0xf62d06[_0x458ef6])&&(_0x33a29c=_0x145dc9(_0x33a29c)||_0x33a29c);return _0x33a29c;},Jt=(_0x2e4e4b,_0x504086)=>(_0x52c99c,_0x1dd521)=>_0x504086(_0x52c99c,_0x1dd521,_0x2e4e4b);const Ni=_0x5e85b0(0x1d7),ms=_0x5e85b0(0x2ec);let Rt=class extends _0x30c483{constructor(_0x3e5d24,_0x5add8d){var _0x4850b4=_0x5e85b0;super(),this[_0x4850b4(0x333)]=_0x3e5d24,this['_configService']=_0x5add8d,this[_0x4850b4(0x2a2)]();}[_0x5e85b0(0x2a2)](){var _0x1326c4=_0x5e85b0;const _0x3ed3d3=this;this['disposeWithMe'](this[_0x1326c4(0x333)][_0x1326c4(0x1a2)]({'priority':0x3e7,'interceptor':_0x4ff298({'isMatch'(_0x3ee5b6){var _0x2a62e7=_0x1326c4,_0x30ea66;if(_0x3ee5b6[_0x2a62e7(0x2de)]===_0x2a62e7(0x41c)&&((_0x30ea66=_0x3ee5b6[_0x2a62e7(0x257)])!=null&&_0x30ea66[_0x2a62e7(0x250)])){const {objectID:_0x4634a0,objectType:_0x37f846}=_0x3ee5b6[_0x2a62e7(0x257)][_0x2a62e7(0x250)]||{};if(!_0x4634a0||_0x37f846===void 0x0)return!0x1;const _0x2cbef6=_0x3ed3d3[_0x2a62e7(0x3dd)]()+'/'+_0x37f846+_0x2a62e7(0x374)+_0x4634a0+'/allowed';if(_0x3ee5b6[_0x2a62e7(0x26c)]===_0x2cbef6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x544cc1){var _0xef6d20=_0x1326c4,_0x3c1de3;return(_0x3c1de3=_0x544cc1[_0xef6d20(0x257)])==null?void 0x0:_0x3c1de3[_0xef6d20(0x250)];},'mergeParamsToRequest'(_0x3c2630,_0x35f0aa){var _0x467a2d=_0x1326c4;const _0x10e8bb=_0x3ed3d3[_0x467a2d(0x3dd)]()+'/-/object/-/batch_allowed',_0x311816=_0x3c2630[_0x467a2d(0x1c0)]((_0x46137b,_0x19d03f)=>{var _0x5c1876=_0x467a2d;const {unitID:_0x473396,objectID:_0x24a858,objectType:_0x4453aa,actions:_0x48cedc}=_0x19d03f;return _0x46137b[_0x473396]||(_0x46137b[_0x473396]={}),_0x46137b[_0x473396][_0x24a858]||(_0x46137b[_0x473396][_0x24a858]={'objectID':_0x24a858,'objectType':_0x4453aa,'actions':[]}),_0x46137b[_0x473396][_0x24a858]['actions'][_0x5c1876(0x1e3)](..._0x48cedc),_0x46137b;},{}),_0x4afe1e=[];for(const _0x5e1cb7 in _0x311816)for(const _0x183dbf in _0x311816[_0x5e1cb7]){const {actions:_0x58a62d,objectType:_0x44d42f}=_0x311816[_0x5e1cb7][_0x183dbf],_0x2d29aa=[...new Set(_0x58a62d)];_0x4afe1e['push']({'unitID':_0x5e1cb7,'objectID':_0x183dbf,'objectType':_0x44d42f,'actions':_0x2d29aa});}return new _0x5104ad(_0x467a2d(0x41c),_0x10e8bb,{'headers':_0x35f0aa['headers'],'withCredentials':_0x35f0aa[_0x467a2d(0x1b7)],'responseType':_0x35f0aa[_0x467a2d(0x3ef)],'body':{'requests':_0x4afe1e}});}},{'distributeResult'(_0x52a1cf,_0x4f5927){var _0xe5d80c=_0x1326c4;const {objectActions:_0x146cf0}=_0x52a1cf;return _0x4f5927[_0xe5d80c(0x3bf)](_0x43dd22=>{var _0x1291c7=_0xe5d80c;const {unitID:_0x29c650,objectID:_0x15125d,actions:_0x1e2af5}=_0x43dd22,_0x1dfa05=_0x146cf0[_0x1291c7(0x366)](_0x511a9d=>_0x511a9d[_0x1291c7(0x373)]===_0x29c650&&_0x511a9d[_0x1291c7(0x2f9)]===_0x15125d),_0x556279=_0x1e2af5['map'](_0x2f9d5d=>_0x1dfa05==null?void 0x0:_0x1dfa05[_0x1291c7(0x13b)][_0x1291c7(0x366)](_0x2cb9b3=>_0x2cb9b3['action']===_0x2f9d5d))['filter'](_0x42329b=>!!_0x42329b);return{'config':_0x43dd22,'result':{'actions':_0x556279,'error':_0x52a1cf[_0x1291c7(0x371)]}};});}})}));}[_0x5e85b0(0x3dd)](){var _0x4a98c9=_0x5e85b0,_0x114ae2,_0x348865;const _0x58407b=this['_configService']['getConfig'](Ni),_0x1d0642=this[_0x4a98c9(0x161)][_0x4a98c9(0x314)](q);return(_0x348865=(_0x114ae2=_0x1d0642==null?void 0x0:_0x1d0642[_0x4a98c9(0x185)])!=null?_0x114ae2:_0x58407b)!=null?_0x348865:ms;}async[_0x5e85b0(0x131)](_0x5740b8){var _0x2f328a=_0x5e85b0;const _0x35147c=this['_getAPIPrefixPath']()+'/'+_0x5740b8['objectType']+'/object';return(await this['_HTTPService'][_0x2f328a(0x40e)](_0x35147c,{'body':_0x5740b8}))[_0x2f328a(0x250)][_0x2f328a(0x2f9)]||'';}async[_0x5e85b0(0x2a6)](_0x433671){var _0x340f5a=_0x5e85b0;const _0x2843a1=this['_getAPIPrefixPath']()+_0x340f5a(0x171);return(await this['_HTTPService'][_0x340f5a(0x40e)](_0x2843a1,{'body':_0x433671}))[_0x340f5a(0x250)][_0x340f5a(0x399)];}async['update'](_0x167378){var _0x53c632=_0x5e85b0,_0x515d73,_0x260238;const _0x42dad2=this[_0x53c632(0x3dd)]()+'/'+_0x167378[_0x53c632(0x13e)]+_0x53c632(0x374)+_0x167378[_0x53c632(0x2f9)],_0x4f50c0=await this[_0x53c632(0x333)][_0x53c632(0x287)](_0x42dad2,{'body':_0x167378});if(((_0x260238=(_0x515d73=_0x4f50c0==null?void 0x0:_0x4f50c0[_0x53c632(0x250)])==null?void 0x0:_0x515d73['error'])==null?void 0x0:_0x260238[_0x53c632(0x1c4)])!==0x1)throw new Error(_0x53c632(0x1ea));}async['allowed'](_0x959614){var _0x5f5d94=_0x5e85b0;const _0xd4fb5f=this[_0x5f5d94(0x3dd)]()+'/'+_0x959614[_0x5f5d94(0x13e)]+'/object/'+_0x959614[_0x5f5d94(0x2f9)]+_0x5f5d94(0x216);return(await this[_0x5f5d94(0x333)][_0x5f5d94(0x40e)](_0xd4fb5f,{'body':_0x959614}))[_0x5f5d94(0x250)][_0x5f5d94(0x13b)];}async['batchAllowed'](_0x386af2){var _0x471068=_0x5e85b0;const _0xcb1613=this[_0x471068(0x3dd)]()+'/-/object/-/batch_allowed';return(await this[_0x471068(0x333)][_0x471068(0x40e)](_0xcb1613,{'body':{'requests':_0x386af2}}))[_0x471068(0x250)][_0x471068(0x212)];}async['listRoles'](_0x59dfd2){var _0x77f0ea=_0x5e85b0;const _0x3d4979=this[_0x77f0ea(0x3dd)]()+'/'+_0x59dfd2[_0x77f0ea(0x13e)]+'/role',_0x5ac974=await this[_0x77f0ea(0x333)][_0x77f0ea(0x40e)](_0x3d4979,{'body':_0x59dfd2});return{'roles':_0x5ac974[_0x77f0ea(0x250)]['roles'],'actions':_0x5ac974[_0x77f0ea(0x250)][_0x77f0ea(0x13b)]};}async[_0x5e85b0(0x288)](_0x543433){var _0x114d1b=_0x5e85b0;const _0x56c3e6=this[_0x114d1b(0x3dd)]()+_0x114d1b(0x222);await this['_HTTPService'][_0x114d1b(0x3d2)](_0x56c3e6,{'params':{'collaboratorID':_0x543433[_0x114d1b(0x237)],'objectID':_0x543433[_0x114d1b(0x2f9)],'unitID':_0x543433[_0x114d1b(0x373)]}});}async['updateCollaborator'](_0x2737d3){var _0xb29b5f=_0x5e85b0;const _0x374621=this[_0xb29b5f(0x3dd)]()+_0xb29b5f(0x222);await this[_0xb29b5f(0x333)]['patch'](_0x374621,{'body':_0x2737d3});}async['createCollaborator'](_0x57503d){var _0x2bc91e=_0x5e85b0;const _0x5865d9=this[_0x2bc91e(0x3dd)]()+_0x2bc91e(0x222);await this[_0x2bc91e(0x333)][_0x2bc91e(0x40e)](_0x5865d9,{'body':_0x57503d});}async[_0x5e85b0(0x214)](_0xdd8023){var _0x3b80e7=_0x5e85b0;const _0x4fb427=this['_getAPIPrefixPath']()+_0x3b80e7(0x222);return(await this[_0x3b80e7(0x333)][_0x3b80e7(0x3d0)](_0x4fb427,{'params':{'objectID':_0xdd8023[_0x3b80e7(0x2f9)],'unitID':_0xdd8023[_0x3b80e7(0x373)]}}))[_0x3b80e7(0x250)]['collaborators'];}async[_0x5e85b0(0x40a)](_0x1ec3d2){var _0x47a237=_0x5e85b0;const _0x1b25ae=this[_0x47a237(0x3dd)]()+_0x47a237(0x222);await this[_0x47a237(0x333)][_0x47a237(0x287)](_0x1b25ae,{'body':_0x1ec3d2});}};Rt=ps([Jt(0x0,_0x4e6a0f(_0x4dfb46)),Jt(0x1,_0x4e6a0f(_0x57235c))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x398c6d){var _0x421992=_0x5e85b0;return _0x398c6d&&_0x398c6d['__esModule']&&Object[_0x421992(0x282)][_0x421992(0x301)][_0x421992(0x17e)](_0x398c6d,_0x421992(0x3a7))?_0x398c6d[_0x421992(0x3a7)]:_0x398c6d;}var Ve={'exports':{}};function gs(_0x367fe6){var _0x21aaa8=_0x5e85b0;throw new Error(_0x21aaa8(0x123)+_0x367fe6+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){var _0x4fca73=_0x5e85b0;return Xt||(Xt=0x1,function(_0x11c2bd,_0x1a151f){(function(_0x4c3be8,_0x209ab2){var _0x5815ad=_0x30b8;_0x11c2bd[_0x5815ad(0x2dc)]=_0x209ab2();}(Ss,function(){var _0x5e816=_0x5e816||function(_0x1093ad,_0x1f07e9){var _0x53f450=_0x30b8,_0x37bc1e;if(typeof window<'u'&&window[_0x53f450(0x14c)]&&(_0x37bc1e=window['crypto']),typeof self<'u'&&self[_0x53f450(0x14c)]&&(_0x37bc1e=self[_0x53f450(0x14c)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x37bc1e=globalThis[_0x53f450(0x14c)]),!_0x37bc1e&&typeof window<'u'&&window['msCrypto']&&(_0x37bc1e=window[_0x53f450(0x3ab)]),!_0x37bc1e&&typeof pt<'u'&&pt[_0x53f450(0x14c)]&&(_0x37bc1e=pt[_0x53f450(0x14c)]),!_0x37bc1e&&typeof gs==_0x53f450(0x1b5))try{_0x37bc1e=require('crypto');}catch{}var _0x4af6ff=function(){var _0x314391=_0x53f450;if(_0x37bc1e){if(typeof _0x37bc1e[_0x314391(0x3a4)]==_0x314391(0x1b5))try{return _0x37bc1e[_0x314391(0x3a4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x37bc1e[_0x314391(0x37a)]==_0x314391(0x1b5))try{return _0x37bc1e[_0x314391(0x37a)](0x4)[_0x314391(0x174)]();}catch{}}throw new Error(_0x314391(0x206));},_0xff98ef=Object[_0x53f450(0x131)]||(function(){function _0x5d2b8(){}return function(_0x311ff){var _0x170aa4=_0x30b8,_0x594ee1;return _0x5d2b8['prototype']=_0x311ff,_0x594ee1=new _0x5d2b8(),_0x5d2b8[_0x170aa4(0x282)]=null,_0x594ee1;};}()),_0x551bab={},_0x3a5f2b=_0x551bab['lib']={},_0x5ae3e2=_0x3a5f2b[_0x53f450(0x1fd)]=(function(){return{'extend':function(_0x3b672f){var _0x4f754c=_0x30b8,_0x48dabb=_0xff98ef(this);return _0x3b672f&&_0x48dabb[_0x4f754c(0x180)](_0x3b672f),(!_0x48dabb[_0x4f754c(0x301)]('init')||this[_0x4f754c(0x1a5)]===_0x48dabb[_0x4f754c(0x1a5)])&&(_0x48dabb[_0x4f754c(0x1a5)]=function(){var _0x4a50b9=_0x4f754c;_0x48dabb['$super'][_0x4a50b9(0x1a5)]['apply'](this,arguments);}),_0x48dabb[_0x4f754c(0x1a5)]['prototype']=_0x48dabb,_0x48dabb[_0x4f754c(0x40f)]=this,_0x48dabb;},'create':function(){var _0x468bfc=_0x30b8,_0x4ece2c=this[_0x468bfc(0x305)]();return _0x4ece2c['init'][_0x468bfc(0x2dd)](_0x4ece2c,arguments),_0x4ece2c;},'init':function(){},'mixIn':function(_0x52714c){var _0x314526=_0x30b8;for(var _0x5163a4 in _0x52714c)_0x52714c[_0x314526(0x301)](_0x5163a4)&&(this[_0x5163a4]=_0x52714c[_0x5163a4]);_0x52714c[_0x314526(0x301)](_0x314526(0x199))&&(this[_0x314526(0x199)]=_0x52714c[_0x314526(0x199)]);},'clone':function(){var _0xcfe393=_0x30b8;return this[_0xcfe393(0x1a5)][_0xcfe393(0x282)]['extend'](this);}};}()),_0x1c4cb4=_0x3a5f2b[_0x53f450(0x14b)]=_0x5ae3e2['extend']({'init':function(_0x89dd37,_0x4837fa){var _0x2ef930=_0x53f450;_0x89dd37=this['words']=_0x89dd37||[],_0x4837fa!=_0x1f07e9?this[_0x2ef930(0x1e9)]=_0x4837fa:this['sigBytes']=_0x89dd37[_0x2ef930(0x317)]*0x4;},'toString':function(_0x2acb6c){var _0x259537=_0x53f450;return(_0x2acb6c||_0x5b74fb)[_0x259537(0x2a9)](this);},'concat':function(_0x61b958){var _0x3f6138=_0x53f450,_0x2c5c64=this[_0x3f6138(0x326)],_0x127a40=_0x61b958[_0x3f6138(0x326)],_0x17bcda=this[_0x3f6138(0x1e9)],_0x1bcca3=_0x61b958[_0x3f6138(0x1e9)];if(this[_0x3f6138(0x354)](),_0x17bcda%0x4)for(var _0x5e9261=0x0;_0x5e9261<_0x1bcca3;_0x5e9261++){var _0x1f358c=_0x127a40[_0x5e9261>>>0x2]>>>0x18-_0x5e9261%0x4*0x8&0xff;_0x2c5c64[_0x17bcda+_0x5e9261>>>0x2]|=_0x1f358c<<0x18-(_0x17bcda+_0x5e9261)%0x4*0x8;}else{for(var _0x3fa2b9=0x0;_0x3fa2b9<_0x1bcca3;_0x3fa2b9+=0x4)_0x2c5c64[_0x17bcda+_0x3fa2b9>>>0x2]=_0x127a40[_0x3fa2b9>>>0x2];}return this[_0x3f6138(0x1e9)]+=_0x1bcca3,this;},'clamp':function(){var _0x9dd449=_0x53f450,_0x2da266=this[_0x9dd449(0x326)],_0x16384d=this[_0x9dd449(0x1e9)];_0x2da266[_0x16384d>>>0x2]&=0xffffffff<<0x20-_0x16384d%0x4*0x8,_0x2da266[_0x9dd449(0x317)]=_0x1093ad['ceil'](_0x16384d/0x4);},'clone':function(){var _0x57247e=_0x53f450,_0x2b641d=_0x5ae3e2[_0x57247e(0x31a)]['call'](this);return _0x2b641d['words']=this[_0x57247e(0x326)]['slice'](0x0),_0x2b641d;},'random':function(_0xae3583){var _0x2e5941=_0x53f450;for(var _0x4434b2=[],_0x63d1c5=0x0;_0x63d1c5<_0xae3583;_0x63d1c5+=0x4)_0x4434b2[_0x2e5941(0x1e3)](_0x4af6ff());return new _0x1c4cb4[(_0x2e5941(0x1a5))](_0x4434b2,_0xae3583);}}),_0x17d531=_0x551bab[_0x53f450(0x2d1)]={},_0x5b74fb=_0x17d531[_0x53f450(0x169)]={'stringify':function(_0x494d38){var _0x59211f=_0x53f450;for(var _0x197cde=_0x494d38[_0x59211f(0x326)],_0x4a492d=_0x494d38[_0x59211f(0x1e9)],_0x19acc0=[],_0x2a9765=0x0;_0x2a9765<_0x4a492d;_0x2a9765++){var _0x92b1ca=_0x197cde[_0x2a9765>>>0x2]>>>0x18-_0x2a9765%0x4*0x8&0xff;_0x19acc0[_0x59211f(0x1e3)]((_0x92b1ca>>>0x4)[_0x59211f(0x199)](0x10)),_0x19acc0[_0x59211f(0x1e3)]((_0x92b1ca&0xf)[_0x59211f(0x199)](0x10));}return _0x19acc0['join']('');},'parse':function(_0x16c57){var _0x9633c2=_0x53f450;for(var _0x9b2c3c=_0x16c57[_0x9633c2(0x317)],_0x5672b9=[],_0x527ba3=0x0;_0x527ba3<_0x9b2c3c;_0x527ba3+=0x2)_0x5672b9[_0x527ba3>>>0x3]|=parseInt(_0x16c57['substr'](_0x527ba3,0x2),0x10)<<0x18-_0x527ba3%0x8*0x4;return new _0x1c4cb4[(_0x9633c2(0x1a5))](_0x5672b9,_0x9b2c3c/0x2);}},_0xdbe72a=_0x17d531['Latin1']={'stringify':function(_0x20d14b){var _0x17f370=_0x53f450;for(var _0x45eb72=_0x20d14b[_0x17f370(0x326)],_0x1fabd1=_0x20d14b[_0x17f370(0x1e9)],_0x227780=[],_0x4c96df=0x0;_0x4c96df<_0x1fabd1;_0x4c96df++){var _0x4e21f9=_0x45eb72[_0x4c96df>>>0x2]>>>0x18-_0x4c96df%0x4*0x8&0xff;_0x227780[_0x17f370(0x1e3)](String['fromCharCode'](_0x4e21f9));}return _0x227780[_0x17f370(0x1f3)]('');},'parse':function(_0x4fa1af){var _0x1f0c22=_0x53f450;for(var _0x260cd7=_0x4fa1af[_0x1f0c22(0x317)],_0x5027b8=[],_0x383528=0x0;_0x383528<_0x260cd7;_0x383528++)_0x5027b8[_0x383528>>>0x2]|=(_0x4fa1af[_0x1f0c22(0x223)](_0x383528)&0xff)<<0x18-_0x383528%0x4*0x8;return new _0x1c4cb4[(_0x1f0c22(0x1a5))](_0x5027b8,_0x260cd7);}},_0x10f5d5=_0x17d531[_0x53f450(0x345)]={'stringify':function(_0x3ca901){var _0x43a184=_0x53f450;try{return decodeURIComponent(escape(_0xdbe72a[_0x43a184(0x2a9)](_0x3ca901)));}catch{throw new Error(_0x43a184(0x197));}},'parse':function(_0x142a2f){var _0x329ee8=_0x53f450;return _0xdbe72a[_0x329ee8(0x2aa)](unescape(encodeURIComponent(_0x142a2f)));}},_0x303f2d=_0x3a5f2b[_0x53f450(0x1f7)]=_0x5ae3e2[_0x53f450(0x305)]({'reset':function(){var _0x164bd4=_0x53f450;this[_0x164bd4(0x29e)]=new _0x1c4cb4['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x1485b4){var _0x4dce1a=_0x53f450;typeof _0x1485b4==_0x4dce1a(0x1da)&&(_0x1485b4=_0x10f5d5[_0x4dce1a(0x2aa)](_0x1485b4)),this[_0x4dce1a(0x29e)][_0x4dce1a(0x18e)](_0x1485b4),this['_nDataBytes']+=_0x1485b4[_0x4dce1a(0x1e9)];},'_process':function(_0xbf2a47){var _0x587a1f=_0x53f450,_0x1e1b9a,_0x563c33=this[_0x587a1f(0x29e)],_0xad6dba=_0x563c33['words'],_0x3a8154=_0x563c33[_0x587a1f(0x1e9)],_0xe2030f=this[_0x587a1f(0x2e8)],_0x1b5d21=_0xe2030f*0x4,_0x242521=_0x3a8154/_0x1b5d21;_0xbf2a47?_0x242521=_0x1093ad[_0x587a1f(0x32c)](_0x242521):_0x242521=_0x1093ad[_0x587a1f(0x395)]((_0x242521|0x0)-this[_0x587a1f(0x152)],0x0);var _0x5f10d2=_0x242521*_0xe2030f,_0x5d0654=_0x1093ad[_0x587a1f(0x3f3)](_0x5f10d2*0x4,_0x3a8154);if(_0x5f10d2){for(var _0x29b08f=0x0;_0x29b08f<_0x5f10d2;_0x29b08f+=_0xe2030f)this[_0x587a1f(0x205)](_0xad6dba,_0x29b08f);_0x1e1b9a=_0xad6dba['splice'](0x0,_0x5f10d2),_0x563c33[_0x587a1f(0x1e9)]-=_0x5d0654;}return new _0x1c4cb4['init'](_0x1e1b9a,_0x5d0654);},'clone':function(){var _0x32ea63=_0x53f450,_0xa4bd7a=_0x5ae3e2['clone'][_0x32ea63(0x17e)](this);return _0xa4bd7a[_0x32ea63(0x29e)]=this['_data'][_0x32ea63(0x31a)](),_0xa4bd7a;},'_minBufferSize':0x0});_0x3a5f2b['Hasher']=_0x303f2d[_0x53f450(0x305)]({'cfg':_0x5ae3e2['extend'](),'init':function(_0x3f80c9){var _0xa4b83c=_0x53f450;this[_0xa4b83c(0x188)]=this['cfg'][_0xa4b83c(0x305)](_0x3f80c9),this['reset']();},'reset':function(){var _0x3c937e=_0x53f450;_0x303f2d['reset']['call'](this),this[_0x3c937e(0x30e)]();},'update':function(_0x42fc72){var _0x2a9b1d=_0x53f450;return this[_0x2a9b1d(0x2b8)](_0x42fc72),this[_0x2a9b1d(0x3f1)](),this;},'finalize':function(_0x34d20a){var _0x4e9d0e=_0x53f450;_0x34d20a&&this[_0x4e9d0e(0x2b8)](_0x34d20a);var _0x5db4ef=this[_0x4e9d0e(0x18d)]();return _0x5db4ef;},'blockSize':0x10,'_createHelper':function(_0x32b176){return function(_0x1bb474,_0x9389ec){var _0x4a0c92=_0x30b8;return new _0x32b176[(_0x4a0c92(0x1a5))](_0x9389ec)[_0x4a0c92(0x1ba)](_0x1bb474);};},'_createHmacHelper':function(_0x14bf18){return function(_0x45a7c5,_0x508c77){var _0x286a5e=_0x30b8;return new _0x3fd9a3[(_0x286a5e(0x2f5))]['init'](_0x14bf18,_0x508c77)[_0x286a5e(0x1ba)](_0x45a7c5);};}});var _0x3fd9a3=_0x551bab['algo']={};return _0x551bab;}(Math);return _0x5e816;}));}(Ge)),Ge[_0x4fca73(0x2dc)];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){var _0x5ef221=_0x5e85b0;return Zt||(Zt=0x1,function(_0x9f1693,_0x2daf82){(function(_0x145985,_0x5ee137){var _0x2ae61a=_0x30b8;_0x9f1693[_0x2ae61a(0x2dc)]=_0x5ee137(ie());}(Es,function(_0x4762c9){var _0xec7d23=_0x30b8;return(function(){var _0x4a7b22=_0x30b8,_0xa940ed=_0x4762c9,_0x4bb181=_0xa940ed['lib'],_0x22d451=_0x4bb181[_0x4a7b22(0x14b)],_0x109ec7=_0xa940ed[_0x4a7b22(0x2d1)];_0x109ec7[_0x4a7b22(0x15f)]={'stringify':function(_0x2983ae){var _0x16d807=_0x4a7b22,_0x3fcf28=_0x2983ae['words'],_0xec478c=_0x2983ae[_0x16d807(0x1e9)],_0x2c8d1c=this[_0x16d807(0x1f8)];_0x2983ae[_0x16d807(0x354)]();for(var _0x8b8f18=[],_0x393ef3=0x0;_0x393ef3<_0xec478c;_0x393ef3+=0x3)for(var _0x411db2=_0x3fcf28[_0x393ef3>>>0x2]>>>0x18-_0x393ef3%0x4*0x8&0xff,_0x209d8a=_0x3fcf28[_0x393ef3+0x1>>>0x2]>>>0x18-(_0x393ef3+0x1)%0x4*0x8&0xff,_0x1a0985=_0x3fcf28[_0x393ef3+0x2>>>0x2]>>>0x18-(_0x393ef3+0x2)%0x4*0x8&0xff,_0x1e13cf=_0x411db2<<0x10|_0x209d8a<<0x8|_0x1a0985,_0x2d57d2=0x0;_0x2d57d2<0x4&&_0x393ef3+_0x2d57d2*0.75<_0xec478c;_0x2d57d2++)_0x8b8f18[_0x16d807(0x1e3)](_0x2c8d1c[_0x16d807(0x242)](_0x1e13cf>>>0x6*(0x3-_0x2d57d2)&0x3f));var _0xb134a5=_0x2c8d1c['charAt'](0x40);if(_0xb134a5){for(;_0x8b8f18[_0x16d807(0x317)]%0x4;)_0x8b8f18[_0x16d807(0x1e3)](_0xb134a5);}return _0x8b8f18[_0x16d807(0x1f3)]('');},'parse':function(_0x2aea1b){var _0x7bed0f=_0x4a7b22,_0x468cca=_0x2aea1b[_0x7bed0f(0x317)],_0x458e12=this[_0x7bed0f(0x1f8)],_0xbf72fa=this[_0x7bed0f(0x297)];if(!_0xbf72fa){_0xbf72fa=this[_0x7bed0f(0x297)]=[];for(var _0x224a9f=0x0;_0x224a9f<_0x458e12[_0x7bed0f(0x317)];_0x224a9f++)_0xbf72fa[_0x458e12[_0x7bed0f(0x223)](_0x224a9f)]=_0x224a9f;}var _0x282fd6=_0x458e12[_0x7bed0f(0x242)](0x40);if(_0x282fd6){var _0x5a8dbf=_0x2aea1b[_0x7bed0f(0x41e)](_0x282fd6);_0x5a8dbf!==-0x1&&(_0x468cca=_0x5a8dbf);}return _0x3b39ac(_0x2aea1b,_0x468cca,_0xbf72fa);},'_map':_0x4a7b22(0x235)};function _0x3b39ac(_0x284af6,_0x2cd08c,_0x223a9d){var _0x321807=_0x4a7b22;for(var _0x46e14e=[],_0x42c043=0x0,_0x23c96e=0x0;_0x23c96e<_0x2cd08c;_0x23c96e++)if(_0x23c96e%0x4){var _0x7b9e97=_0x223a9d[_0x284af6[_0x321807(0x223)](_0x23c96e-0x1)]<<_0x23c96e%0x4*0x2,_0x538ade=_0x223a9d[_0x284af6[_0x321807(0x223)](_0x23c96e)]>>>0x6-_0x23c96e%0x4*0x2,_0x766619=_0x7b9e97|_0x538ade;_0x46e14e[_0x42c043>>>0x2]|=_0x766619<<0x18-_0x42c043%0x4*0x8,_0x42c043++;}return _0x22d451['create'](_0x46e14e,_0x42c043);}}()),_0x4762c9[_0xec7d23(0x2d1)][_0xec7d23(0x15f)];}));}(We)),We[_0x5ef221(0x2dc)];}var Ke={'exports':{}},Is=Ke[_0x5e85b0(0x2dc)],Qt;function Ts(){var _0x63292d=_0x5e85b0;return Qt||(Qt=0x1,function(_0x4907f2,_0x14f545){(function(_0x65ed2d,_0x4994e8){_0x4907f2['exports']=_0x4994e8(ie());}(Is,function(_0x513838){return function(_0x27fcf3){var _0x2976b8=_0x30b8,_0x51efd6=_0x513838,_0x3787d0=_0x51efd6[_0x2976b8(0x3f2)],_0x2306e3=_0x3787d0[_0x2976b8(0x14b)],_0x1f3d17=_0x3787d0['Hasher'],_0x92df33=_0x51efd6['algo'],_0x5f4cb4=[];(function(){for(var _0x2519c4=0x0;_0x2519c4<0x40;_0x2519c4++)_0x5f4cb4[_0x2519c4]=_0x27fcf3['abs'](_0x27fcf3['sin'](_0x2519c4+0x1))*0x100000000|0x0;}());var _0x317e58=_0x92df33[_0x2976b8(0x418)]=_0x1f3d17[_0x2976b8(0x305)]({'_doReset':function(){var _0xf1fde2=_0x2976b8;this[_0xf1fde2(0x3a1)]=new _0x2306e3[(_0xf1fde2(0x1a5))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x137a1c,_0x278990){var _0x1cd94d=_0x2976b8;for(var _0x29f3f9=0x0;_0x29f3f9<0x10;_0x29f3f9++){var _0x3a501c=_0x278990+_0x29f3f9,_0x57aae0=_0x137a1c[_0x3a501c];_0x137a1c[_0x3a501c]=(_0x57aae0<<0x8|_0x57aae0>>>0x18)&0xff00ff|(_0x57aae0<<0x18|_0x57aae0>>>0x8)&0xff00ff00;}var _0x291191=this['_hash'][_0x1cd94d(0x326)],_0x2bb9ca=_0x137a1c[_0x278990+0x0],_0x42d14a=_0x137a1c[_0x278990+0x1],_0x3f5c2e=_0x137a1c[_0x278990+0x2],_0x50654f=_0x137a1c[_0x278990+0x3],_0x43fe51=_0x137a1c[_0x278990+0x4],_0x5395db=_0x137a1c[_0x278990+0x5],_0x5b8e61=_0x137a1c[_0x278990+0x6],_0x4205ec=_0x137a1c[_0x278990+0x7],_0x54dd89=_0x137a1c[_0x278990+0x8],_0x11370d=_0x137a1c[_0x278990+0x9],_0x12adfa=_0x137a1c[_0x278990+0xa],_0x2a279c=_0x137a1c[_0x278990+0xb],_0x6ed4c8=_0x137a1c[_0x278990+0xc],_0x48c178=_0x137a1c[_0x278990+0xd],_0x1a1be6=_0x137a1c[_0x278990+0xe],_0x4050f8=_0x137a1c[_0x278990+0xf],_0x577e9c=_0x291191[0x0],_0x4bab6e=_0x291191[0x1],_0xb5b865=_0x291191[0x2],_0x39b33d=_0x291191[0x3];_0x577e9c=_0x956b1a(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x2bb9ca,0x7,_0x5f4cb4[0x0]),_0x39b33d=_0x956b1a(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x42d14a,0xc,_0x5f4cb4[0x1]),_0xb5b865=_0x956b1a(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x3f5c2e,0x11,_0x5f4cb4[0x2]),_0x4bab6e=_0x956b1a(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x50654f,0x16,_0x5f4cb4[0x3]),_0x577e9c=_0x956b1a(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x43fe51,0x7,_0x5f4cb4[0x4]),_0x39b33d=_0x956b1a(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x5395db,0xc,_0x5f4cb4[0x5]),_0xb5b865=_0x956b1a(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x5b8e61,0x11,_0x5f4cb4[0x6]),_0x4bab6e=_0x956b1a(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x4205ec,0x16,_0x5f4cb4[0x7]),_0x577e9c=_0x956b1a(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x54dd89,0x7,_0x5f4cb4[0x8]),_0x39b33d=_0x956b1a(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x11370d,0xc,_0x5f4cb4[0x9]),_0xb5b865=_0x956b1a(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x12adfa,0x11,_0x5f4cb4[0xa]),_0x4bab6e=_0x956b1a(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x2a279c,0x16,_0x5f4cb4[0xb]),_0x577e9c=_0x956b1a(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x6ed4c8,0x7,_0x5f4cb4[0xc]),_0x39b33d=_0x956b1a(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x48c178,0xc,_0x5f4cb4[0xd]),_0xb5b865=_0x956b1a(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x1a1be6,0x11,_0x5f4cb4[0xe]),_0x4bab6e=_0x956b1a(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x4050f8,0x16,_0x5f4cb4[0xf]),_0x577e9c=_0x52fd4d(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x42d14a,0x5,_0x5f4cb4[0x10]),_0x39b33d=_0x52fd4d(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x5b8e61,0x9,_0x5f4cb4[0x11]),_0xb5b865=_0x52fd4d(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x2a279c,0xe,_0x5f4cb4[0x12]),_0x4bab6e=_0x52fd4d(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x2bb9ca,0x14,_0x5f4cb4[0x13]),_0x577e9c=_0x52fd4d(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x5395db,0x5,_0x5f4cb4[0x14]),_0x39b33d=_0x52fd4d(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x12adfa,0x9,_0x5f4cb4[0x15]),_0xb5b865=_0x52fd4d(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x4050f8,0xe,_0x5f4cb4[0x16]),_0x4bab6e=_0x52fd4d(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x43fe51,0x14,_0x5f4cb4[0x17]),_0x577e9c=_0x52fd4d(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x11370d,0x5,_0x5f4cb4[0x18]),_0x39b33d=_0x52fd4d(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x1a1be6,0x9,_0x5f4cb4[0x19]),_0xb5b865=_0x52fd4d(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x50654f,0xe,_0x5f4cb4[0x1a]),_0x4bab6e=_0x52fd4d(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x54dd89,0x14,_0x5f4cb4[0x1b]),_0x577e9c=_0x52fd4d(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x48c178,0x5,_0x5f4cb4[0x1c]),_0x39b33d=_0x52fd4d(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x3f5c2e,0x9,_0x5f4cb4[0x1d]),_0xb5b865=_0x52fd4d(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x4205ec,0xe,_0x5f4cb4[0x1e]),_0x4bab6e=_0x52fd4d(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x6ed4c8,0x14,_0x5f4cb4[0x1f]),_0x577e9c=_0x447d7f(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x5395db,0x4,_0x5f4cb4[0x20]),_0x39b33d=_0x447d7f(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x54dd89,0xb,_0x5f4cb4[0x21]),_0xb5b865=_0x447d7f(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x2a279c,0x10,_0x5f4cb4[0x22]),_0x4bab6e=_0x447d7f(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x1a1be6,0x17,_0x5f4cb4[0x23]),_0x577e9c=_0x447d7f(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x42d14a,0x4,_0x5f4cb4[0x24]),_0x39b33d=_0x447d7f(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x43fe51,0xb,_0x5f4cb4[0x25]),_0xb5b865=_0x447d7f(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x4205ec,0x10,_0x5f4cb4[0x26]),_0x4bab6e=_0x447d7f(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x12adfa,0x17,_0x5f4cb4[0x27]),_0x577e9c=_0x447d7f(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x48c178,0x4,_0x5f4cb4[0x28]),_0x39b33d=_0x447d7f(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x2bb9ca,0xb,_0x5f4cb4[0x29]),_0xb5b865=_0x447d7f(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x50654f,0x10,_0x5f4cb4[0x2a]),_0x4bab6e=_0x447d7f(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x5b8e61,0x17,_0x5f4cb4[0x2b]),_0x577e9c=_0x447d7f(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x11370d,0x4,_0x5f4cb4[0x2c]),_0x39b33d=_0x447d7f(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x6ed4c8,0xb,_0x5f4cb4[0x2d]),_0xb5b865=_0x447d7f(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x4050f8,0x10,_0x5f4cb4[0x2e]),_0x4bab6e=_0x447d7f(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x3f5c2e,0x17,_0x5f4cb4[0x2f]),_0x577e9c=_0x36f989(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x2bb9ca,0x6,_0x5f4cb4[0x30]),_0x39b33d=_0x36f989(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x4205ec,0xa,_0x5f4cb4[0x31]),_0xb5b865=_0x36f989(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x1a1be6,0xf,_0x5f4cb4[0x32]),_0x4bab6e=_0x36f989(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x5395db,0x15,_0x5f4cb4[0x33]),_0x577e9c=_0x36f989(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x6ed4c8,0x6,_0x5f4cb4[0x34]),_0x39b33d=_0x36f989(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x50654f,0xa,_0x5f4cb4[0x35]),_0xb5b865=_0x36f989(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x12adfa,0xf,_0x5f4cb4[0x36]),_0x4bab6e=_0x36f989(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x42d14a,0x15,_0x5f4cb4[0x37]),_0x577e9c=_0x36f989(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x54dd89,0x6,_0x5f4cb4[0x38]),_0x39b33d=_0x36f989(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x4050f8,0xa,_0x5f4cb4[0x39]),_0xb5b865=_0x36f989(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x5b8e61,0xf,_0x5f4cb4[0x3a]),_0x4bab6e=_0x36f989(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x48c178,0x15,_0x5f4cb4[0x3b]),_0x577e9c=_0x36f989(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x43fe51,0x6,_0x5f4cb4[0x3c]),_0x39b33d=_0x36f989(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x2a279c,0xa,_0x5f4cb4[0x3d]),_0xb5b865=_0x36f989(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x3f5c2e,0xf,_0x5f4cb4[0x3e]),_0x4bab6e=_0x36f989(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x11370d,0x15,_0x5f4cb4[0x3f]),_0x291191[0x0]=_0x291191[0x0]+_0x577e9c|0x0,_0x291191[0x1]=_0x291191[0x1]+_0x4bab6e|0x0,_0x291191[0x2]=_0x291191[0x2]+_0xb5b865|0x0,_0x291191[0x3]=_0x291191[0x3]+_0x39b33d|0x0;},'_doFinalize':function(){var _0x53e07f=_0x2976b8,_0x1cd103=this[_0x53e07f(0x29e)],_0x3e285d=_0x1cd103[_0x53e07f(0x326)],_0x5dcc20=this[_0x53e07f(0x1c5)]*0x8,_0x5e6dbb=_0x1cd103['sigBytes']*0x8;_0x3e285d[_0x5e6dbb>>>0x5]|=0x80<<0x18-_0x5e6dbb%0x20;var _0x2419a5=_0x27fcf3['floor'](_0x5dcc20/0x100000000),_0x191743=_0x5dcc20;_0x3e285d[(_0x5e6dbb+0x40>>>0x9<<0x4)+0xf]=(_0x2419a5<<0x8|_0x2419a5>>>0x18)&0xff00ff|(_0x2419a5<<0x18|_0x2419a5>>>0x8)&0xff00ff00,_0x3e285d[(_0x5e6dbb+0x40>>>0x9<<0x4)+0xe]=(_0x191743<<0x8|_0x191743>>>0x18)&0xff00ff|(_0x191743<<0x18|_0x191743>>>0x8)&0xff00ff00,_0x1cd103['sigBytes']=(_0x3e285d[_0x53e07f(0x317)]+0x1)*0x4,this[_0x53e07f(0x3f1)]();for(var _0x6a4b49=this[_0x53e07f(0x3a1)],_0x52cc73=_0x6a4b49[_0x53e07f(0x326)],_0x39814a=0x0;_0x39814a<0x4;_0x39814a++){var _0x5f1924=_0x52cc73[_0x39814a];_0x52cc73[_0x39814a]=(_0x5f1924<<0x8|_0x5f1924>>>0x18)&0xff00ff|(_0x5f1924<<0x18|_0x5f1924>>>0x8)&0xff00ff00;}return _0x6a4b49;},'clone':function(){var _0x342088=_0x2976b8,_0x101f87=_0x1f3d17[_0x342088(0x31a)][_0x342088(0x17e)](this);return _0x101f87[_0x342088(0x3a1)]=this[_0x342088(0x3a1)]['clone'](),_0x101f87;}});function _0x956b1a(_0x154b4a,_0x7146e7,_0x21c9d9,_0x42501d,_0x19cffc,_0x54bffe,_0x48cbf3){var _0x668dca=_0x154b4a+(_0x7146e7&_0x21c9d9|~_0x7146e7&_0x42501d)+_0x19cffc+_0x48cbf3;return(_0x668dca<<_0x54bffe|_0x668dca>>>0x20-_0x54bffe)+_0x7146e7;}function _0x52fd4d(_0x3ab84e,_0x24e5ee,_0x260c1d,_0x955762,_0x4a4522,_0x389e5d,_0x8a4d5b){var _0x4dd892=_0x3ab84e+(_0x24e5ee&_0x955762|_0x260c1d&~_0x955762)+_0x4a4522+_0x8a4d5b;return(_0x4dd892<<_0x389e5d|_0x4dd892>>>0x20-_0x389e5d)+_0x24e5ee;}function _0x447d7f(_0x34f578,_0x4fc768,_0x4bb585,_0x4b76ab,_0x52c8c1,_0x21b90c,_0x2ac198){var _0x426789=_0x34f578+(_0x4fc768^_0x4bb585^_0x4b76ab)+_0x52c8c1+_0x2ac198;return(_0x426789<<_0x21b90c|_0x426789>>>0x20-_0x21b90c)+_0x4fc768;}function _0x36f989(_0x48c21a,_0x3dc59a,_0x11c08c,_0x5db55a,_0x5d5630,_0x169362,_0x1c1359){var _0x58a334=_0x48c21a+(_0x11c08c^(_0x3dc59a|~_0x5db55a))+_0x5d5630+_0x1c1359;return(_0x58a334<<_0x169362|_0x58a334>>>0x20-_0x169362)+_0x3dc59a;}_0x51efd6[_0x2976b8(0x418)]=_0x1f3d17[_0x2976b8(0x20f)](_0x317e58),_0x51efd6['HmacMD5']=_0x1f3d17['_createHmacHelper'](_0x317e58);}(Math),_0x513838['MD5'];}));}(Ke)),Ke[_0x63292d(0x2dc)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x5e85b0(0x2dc)],ei;function Rs(){var _0x2bd53a=_0x5e85b0;return ei||(ei=0x1,function(_0x1075b2,_0x286ecb){(function(_0x7594c9,_0x2ea294){_0x1075b2['exports']=_0x2ea294(ie());}(Cs,function(_0x5d9fef){var _0x3c7b7e=_0x30b8;return(function(){var _0x43d50d=_0x30b8,_0x3193d7=_0x5d9fef,_0x5c532b=_0x3193d7[_0x43d50d(0x3f2)],_0x53c119=_0x5c532b['WordArray'],_0x3589d7=_0x5c532b[_0x43d50d(0x127)],_0x4523dd=_0x3193d7[_0x43d50d(0x203)],_0x48fd4e=[],_0x2bc43e=_0x4523dd[_0x43d50d(0x2b9)]=_0x3589d7['extend']({'_doReset':function(){var _0x5a8d33=_0x43d50d;this[_0x5a8d33(0x3a1)]=new _0x53c119[(_0x5a8d33(0x1a5))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x34a719,_0x3bd1f6){var _0x305813=_0x43d50d;for(var _0xed15e0=this['_hash'][_0x305813(0x326)],_0x4bce77=_0xed15e0[0x0],_0x34a34a=_0xed15e0[0x1],_0x2bb521=_0xed15e0[0x2],_0x514027=_0xed15e0[0x3],_0x40491f=_0xed15e0[0x4],_0x640ea5=0x0;_0x640ea5<0x50;_0x640ea5++){if(_0x640ea5<0x10)_0x48fd4e[_0x640ea5]=_0x34a719[_0x3bd1f6+_0x640ea5]|0x0;else{var _0x47a96c=_0x48fd4e[_0x640ea5-0x3]^_0x48fd4e[_0x640ea5-0x8]^_0x48fd4e[_0x640ea5-0xe]^_0x48fd4e[_0x640ea5-0x10];_0x48fd4e[_0x640ea5]=_0x47a96c<<0x1|_0x47a96c>>>0x1f;}var _0x4813c2=(_0x4bce77<<0x5|_0x4bce77>>>0x1b)+_0x40491f+_0x48fd4e[_0x640ea5];_0x640ea5<0x14?_0x4813c2+=(_0x34a34a&_0x2bb521|~_0x34a34a&_0x514027)+0x5a827999:_0x640ea5<0x28?_0x4813c2+=(_0x34a34a^_0x2bb521^_0x514027)+0x6ed9eba1:_0x640ea5<0x3c?_0x4813c2+=(_0x34a34a&_0x2bb521|_0x34a34a&_0x514027|_0x2bb521&_0x514027)-0x70e44324:_0x4813c2+=(_0x34a34a^_0x2bb521^_0x514027)-0x359d3e2a,_0x40491f=_0x514027,_0x514027=_0x2bb521,_0x2bb521=_0x34a34a<<0x1e|_0x34a34a>>>0x2,_0x34a34a=_0x4bce77,_0x4bce77=_0x4813c2;}_0xed15e0[0x0]=_0xed15e0[0x0]+_0x4bce77|0x0,_0xed15e0[0x1]=_0xed15e0[0x1]+_0x34a34a|0x0,_0xed15e0[0x2]=_0xed15e0[0x2]+_0x2bb521|0x0,_0xed15e0[0x3]=_0xed15e0[0x3]+_0x514027|0x0,_0xed15e0[0x4]=_0xed15e0[0x4]+_0x40491f|0x0;},'_doFinalize':function(){var _0x26228b=_0x43d50d,_0x43c6bd=this['_data'],_0x5a8334=_0x43c6bd[_0x26228b(0x326)],_0x328b09=this[_0x26228b(0x1c5)]*0x8,_0x373313=_0x43c6bd[_0x26228b(0x1e9)]*0x8;return _0x5a8334[_0x373313>>>0x5]|=0x80<<0x18-_0x373313%0x20,_0x5a8334[(_0x373313+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x328b09/0x100000000),_0x5a8334[(_0x373313+0x40>>>0x9<<0x4)+0xf]=_0x328b09,_0x43c6bd[_0x26228b(0x1e9)]=_0x5a8334[_0x26228b(0x317)]*0x4,this[_0x26228b(0x3f1)](),this[_0x26228b(0x3a1)];},'clone':function(){var _0x515852=_0x43d50d,_0x1069f9=_0x3589d7[_0x515852(0x31a)]['call'](this);return _0x1069f9[_0x515852(0x3a1)]=this[_0x515852(0x3a1)][_0x515852(0x31a)](),_0x1069f9;}});_0x3193d7['SHA1']=_0x3589d7[_0x43d50d(0x20f)](_0x2bc43e),_0x3193d7[_0x43d50d(0x360)]=_0x3589d7[_0x43d50d(0x389)](_0x2bc43e);}()),_0x5d9fef[_0x3c7b7e(0x2b9)];}));}(qe)),qe[_0x2bd53a(0x2dc)];}var ze={'exports':{}},bs=ze['exports'],ti;function Os(){return ti||(ti=0x1,function(_0x2f1b0f,_0x5c9c59){(function(_0xbfd6b5,_0x187a6c){var _0x537d21=_0x30b8;_0x2f1b0f[_0x537d21(0x2dc)]=_0x187a6c(ie());}(bs,function(_0x5743ff){(function(){var _0x3ce52f=_0x30b8,_0x320468=_0x5743ff,_0x4dd59e=_0x320468[_0x3ce52f(0x3f2)],_0x5446ec=_0x4dd59e[_0x3ce52f(0x1fd)],_0x460dfe=_0x320468[_0x3ce52f(0x2d1)],_0x378cc4=_0x460dfe['Utf8'],_0x1c0ce5=_0x320468[_0x3ce52f(0x203)];_0x1c0ce5['HMAC']=_0x5446ec['extend']({'init':function(_0x51265a,_0x5e0d77){var _0x34864c=_0x3ce52f;_0x51265a=this[_0x34864c(0x270)]=new _0x51265a[(_0x34864c(0x1a5))](),typeof _0x5e0d77==_0x34864c(0x1da)&&(_0x5e0d77=_0x378cc4['parse'](_0x5e0d77));var _0x52eb8a=_0x51265a['blockSize'],_0x2862a7=_0x52eb8a*0x4;_0x5e0d77[_0x34864c(0x1e9)]>_0x2862a7&&(_0x5e0d77=_0x51265a[_0x34864c(0x1ba)](_0x5e0d77)),_0x5e0d77[_0x34864c(0x354)]();for(var _0x19118b=this[_0x34864c(0x1dd)]=_0x5e0d77['clone'](),_0x8e83dc=this[_0x34864c(0x27c)]=_0x5e0d77[_0x34864c(0x31a)](),_0xcae5b8=_0x19118b[_0x34864c(0x326)],_0x3f3c73=_0x8e83dc[_0x34864c(0x326)],_0x335674=0x0;_0x335674<_0x52eb8a;_0x335674++)_0xcae5b8[_0x335674]^=0x5c5c5c5c,_0x3f3c73[_0x335674]^=0x36363636;_0x19118b[_0x34864c(0x1e9)]=_0x8e83dc[_0x34864c(0x1e9)]=_0x2862a7,this[_0x34864c(0x284)]();},'reset':function(){var _0x5bbb07=_0x3ce52f,_0x26fba1=this['_hasher'];_0x26fba1[_0x5bbb07(0x284)](),_0x26fba1[_0x5bbb07(0x3b2)](this[_0x5bbb07(0x27c)]);},'update':function(_0x3e7f9f){var _0x4144b7=_0x3ce52f;return this[_0x4144b7(0x270)][_0x4144b7(0x3b2)](_0x3e7f9f),this;},'finalize':function(_0x2138e3){var _0x286bae=_0x3ce52f,_0x282e21=this[_0x286bae(0x270)],_0x2bc622=_0x282e21[_0x286bae(0x1ba)](_0x2138e3);_0x282e21[_0x286bae(0x284)]();var _0x1b4161=_0x282e21[_0x286bae(0x1ba)](this[_0x286bae(0x1dd)][_0x286bae(0x31a)]()[_0x286bae(0x18e)](_0x2bc622));return _0x1b4161;}});}());}));}(ze)),ze['exports'];}var ys=Ye[_0x5e85b0(0x2dc)],ii;function Ui(){return ii||(ii=0x1,function(_0x2d3ed0,_0x1f3367){(function(_0x188291,_0x6f7c9d,_0x5c884c){var _0x199a16=_0x30b8;_0x2d3ed0[_0x199a16(0x2dc)]=_0x6f7c9d(ie(),Rs(),Os());}(ys,function(_0x4a7448){var _0x255b19=_0x30b8;return(function(){var _0x2a80dd=_0x30b8,_0x2af728=_0x4a7448,_0xf18812=_0x2af728[_0x2a80dd(0x3f2)],_0x44154e=_0xf18812[_0x2a80dd(0x1fd)],_0x45dcfc=_0xf18812[_0x2a80dd(0x14b)],_0x449b40=_0x2af728['algo'],_0x43e0d7=_0x449b40[_0x2a80dd(0x418)],_0x433e15=_0x449b40[_0x2a80dd(0x2e9)]=_0x44154e[_0x2a80dd(0x305)]({'cfg':_0x44154e['extend']({'keySize':0x80/0x20,'hasher':_0x43e0d7,'iterations':0x1}),'init':function(_0x5a67a9){var _0x181205=_0x2a80dd;this['cfg']=this[_0x181205(0x188)][_0x181205(0x305)](_0x5a67a9);},'compute':function(_0x4d829e,_0x46acdb){var _0x130604=_0x2a80dd;for(var _0x29fdc4,_0x122230=this[_0x130604(0x188)],_0x4c2db5=_0x122230['hasher'][_0x130604(0x131)](),_0x6c0a14=_0x45dcfc[_0x130604(0x131)](),_0x459b9d=_0x6c0a14[_0x130604(0x326)],_0x20093d=_0x122230['keySize'],_0x1b0363=_0x122230['iterations'];_0x459b9d[_0x130604(0x317)]<_0x20093d;){_0x29fdc4&&_0x4c2db5[_0x130604(0x3b2)](_0x29fdc4),_0x29fdc4=_0x4c2db5[_0x130604(0x3b2)](_0x4d829e)[_0x130604(0x1ba)](_0x46acdb),_0x4c2db5[_0x130604(0x284)]();for(var _0x1cf281=0x1;_0x1cf281<_0x1b0363;_0x1cf281++)_0x29fdc4=_0x4c2db5[_0x130604(0x1ba)](_0x29fdc4),_0x4c2db5[_0x130604(0x284)]();_0x6c0a14[_0x130604(0x18e)](_0x29fdc4);}return _0x6c0a14[_0x130604(0x1e9)]=_0x20093d*0x4,_0x6c0a14;}});_0x2af728[_0x2a80dd(0x2e9)]=function(_0x2116ea,_0x35ca7c,_0x4e6f46){var _0x5b1504=_0x2a80dd;return _0x433e15[_0x5b1504(0x131)](_0x4e6f46)[_0x5b1504(0x3e0)](_0x2116ea,_0x35ca7c);};}()),_0x4a7448[_0x255b19(0x2e9)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je[_0x5e85b0(0x2dc)],ni;function Ai(){var _0xc1eff9=_0x5e85b0;return ni||(ni=0x1,function(_0x51bae1,_0x45bc13){(function(_0x704733,_0x57fda4,_0x406725){_0x51bae1['exports']=_0x57fda4(ie(),Ui());}(Ns,function(_0x326bf7){var _0x1ca421=_0x30b8;_0x326bf7['lib'][_0x1ca421(0x132)]||function(_0x458de1){var _0x5aa909=_0x1ca421,_0x26685f=_0x326bf7,_0x116e42=_0x26685f['lib'],_0x11018b=_0x116e42[_0x5aa909(0x1fd)],_0x393a24=_0x116e42[_0x5aa909(0x14b)],_0x287693=_0x116e42[_0x5aa909(0x1f7)],_0x2c9a30=_0x26685f[_0x5aa909(0x2d1)];_0x2c9a30['Utf8'];var _0x4fc5bc=_0x2c9a30['Base64'],_0x566553=_0x26685f['algo'],_0x5922fc=_0x566553[_0x5aa909(0x2e9)],_0x4ed74d=_0x116e42[_0x5aa909(0x132)]=_0x287693[_0x5aa909(0x305)]({'cfg':_0x11018b['extend'](),'createEncryptor':function(_0x39885d,_0x3216e7){var _0x23129d=_0x5aa909;return this[_0x23129d(0x131)](this['_ENC_XFORM_MODE'],_0x39885d,_0x3216e7);},'createDecryptor':function(_0x2c8218,_0x38b298){var _0x2f51a6=_0x5aa909;return this[_0x2f51a6(0x131)](this['_DEC_XFORM_MODE'],_0x2c8218,_0x38b298);},'init':function(_0x4d9eab,_0x1a6946,_0x3a4a29){var _0x15dd5f=_0x5aa909;this['cfg']=this[_0x15dd5f(0x188)]['extend'](_0x3a4a29),this[_0x15dd5f(0x3ec)]=_0x4d9eab,this[_0x15dd5f(0x34a)]=_0x1a6946,this[_0x15dd5f(0x284)]();},'reset':function(){var _0x123f90=_0x5aa909;_0x287693[_0x123f90(0x284)][_0x123f90(0x17e)](this),this[_0x123f90(0x30e)]();},'process':function(_0x44536c){var _0x494611=_0x5aa909;return this['_append'](_0x44536c),this[_0x494611(0x3f1)]();},'finalize':function(_0x51c4da){var _0x10c0ac=_0x5aa909;_0x51c4da&&this[_0x10c0ac(0x2b8)](_0x51c4da);var _0x18f43e=this[_0x10c0ac(0x18d)]();return _0x18f43e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5a2c41(_0x385575){var _0x7647e=_0x30b8;return typeof _0x385575==_0x7647e(0x1da)?_0x201ef9:_0x568a89;}return function(_0x166da3){return{'encrypt':function(_0x478952,_0x25e7a0,_0x19b665){var _0x21d7ed=_0x30b8;return _0x5a2c41(_0x25e7a0)[_0x21d7ed(0x2a7)](_0x166da3,_0x478952,_0x25e7a0,_0x19b665);},'decrypt':function(_0xb1d1a4,_0x3b9e30,_0x3fe69d){return _0x5a2c41(_0x3b9e30)['decrypt'](_0x166da3,_0xb1d1a4,_0x3b9e30,_0x3fe69d);}};};}())});_0x116e42[_0x5aa909(0x28d)]=_0x4ed74d[_0x5aa909(0x305)]({'_doFinalize':function(){var _0x5c9f3b=_0x5aa909,_0x5ea79e=this[_0x5c9f3b(0x3f1)](!0x0);return _0x5ea79e;},'blockSize':0x1});var _0x14c739=_0x26685f[_0x5aa909(0x1ce)]={},_0xeace=_0x116e42[_0x5aa909(0x304)]=_0x11018b[_0x5aa909(0x305)]({'createEncryptor':function(_0x53ebe4,_0x10dd17){var _0x35cfe7=_0x5aa909;return this['Encryptor'][_0x35cfe7(0x131)](_0x53ebe4,_0x10dd17);},'createDecryptor':function(_0x49fd76,_0x4e0bb9){var _0x1b65cd=_0x5aa909;return this[_0x1b65cd(0x3f5)]['create'](_0x49fd76,_0x4e0bb9);},'init':function(_0x4e84db,_0x54f3ad){var _0x1af72c=_0x5aa909;this[_0x1af72c(0x17f)]=_0x4e84db,this[_0x1af72c(0x419)]=_0x54f3ad;}}),_0x423e27=_0x14c739[_0x5aa909(0x17a)]=(function(){var _0x8bc908=_0x5aa909,_0x1b3f0c=_0xeace[_0x8bc908(0x305)]();_0x1b3f0c[_0x8bc908(0x20c)]=_0x1b3f0c[_0x8bc908(0x305)]({'processBlock':function(_0x16aa91,_0x48e027){var _0x4a9767=_0x8bc908,_0x425e26=this[_0x4a9767(0x17f)],_0x1e1edc=_0x425e26[_0x4a9767(0x2e8)];_0x53eb3d[_0x4a9767(0x17e)](this,_0x16aa91,_0x48e027,_0x1e1edc),_0x425e26[_0x4a9767(0x244)](_0x16aa91,_0x48e027),this[_0x4a9767(0x1ed)]=_0x16aa91[_0x4a9767(0x3ae)](_0x48e027,_0x48e027+_0x1e1edc);}}),_0x1b3f0c[_0x8bc908(0x3f5)]=_0x1b3f0c[_0x8bc908(0x305)]({'processBlock':function(_0x3f4a3d,_0x2315c4){var _0x2ddf48=_0x8bc908,_0x422515=this[_0x2ddf48(0x17f)],_0x349a31=_0x422515['blockSize'],_0x46c12a=_0x3f4a3d[_0x2ddf48(0x3ae)](_0x2315c4,_0x2315c4+_0x349a31);_0x422515[_0x2ddf48(0x3b8)](_0x3f4a3d,_0x2315c4),_0x53eb3d[_0x2ddf48(0x17e)](this,_0x3f4a3d,_0x2315c4,_0x349a31),this[_0x2ddf48(0x1ed)]=_0x46c12a;}});function _0x53eb3d(_0x264d4a,_0xe86298,_0x1eafaf){var _0x1fbd27=_0x8bc908,_0x457706,_0x4a1c1a=this[_0x1fbd27(0x419)];_0x4a1c1a?(_0x457706=_0x4a1c1a,this['_iv']=_0x458de1):_0x457706=this[_0x1fbd27(0x1ed)];for(var _0x1fabea=0x0;_0x1fabea<_0x1eafaf;_0x1fabea++)_0x264d4a[_0xe86298+_0x1fabea]^=_0x457706[_0x1fabea];}return _0x1b3f0c;}()),_0x3ac3cf=_0x26685f[_0x5aa909(0x192)]={},_0x40e233=_0x3ac3cf[_0x5aa909(0x36f)]={'pad':function(_0x110786,_0x5c262a){var _0x19f546=_0x5aa909;for(var _0x57b678=_0x5c262a*0x4,_0x10238d=_0x57b678-_0x110786[_0x19f546(0x1e9)]%_0x57b678,_0x2d1925=_0x10238d<<0x18|_0x10238d<<0x10|_0x10238d<<0x8|_0x10238d,_0x342094=[],_0x3a39af=0x0;_0x3a39af<_0x10238d;_0x3a39af+=0x4)_0x342094[_0x19f546(0x1e3)](_0x2d1925);var _0x557531=_0x393a24['create'](_0x342094,_0x10238d);_0x110786[_0x19f546(0x18e)](_0x557531);},'unpad':function(_0x18f2c2){var _0x1f7591=_0x5aa909,_0x4d22c1=_0x18f2c2[_0x1f7591(0x326)][_0x18f2c2[_0x1f7591(0x1e9)]-0x1>>>0x2]&0xff;_0x18f2c2['sigBytes']-=_0x4d22c1;}};_0x116e42['BlockCipher']=_0x4ed74d[_0x5aa909(0x305)]({'cfg':_0x4ed74d[_0x5aa909(0x188)][_0x5aa909(0x305)]({'mode':_0x423e27,'padding':_0x40e233}),'reset':function(){var _0x483a0f=_0x5aa909,_0x6e0bac;_0x4ed74d[_0x483a0f(0x284)][_0x483a0f(0x17e)](this);var _0xd1d679=this[_0x483a0f(0x188)],_0x4f900c=_0xd1d679['iv'],_0x538db7=_0xd1d679[_0x483a0f(0x1ce)];this[_0x483a0f(0x3ec)]==this[_0x483a0f(0x20b)]?_0x6e0bac=_0x538db7[_0x483a0f(0x299)]:(_0x6e0bac=_0x538db7['createDecryptor'],this['_minBufferSize']=0x1),this[_0x483a0f(0x24f)]&&this['_mode'][_0x483a0f(0x252)]==_0x6e0bac?this['_mode'][_0x483a0f(0x1a5)](this,_0x4f900c&&_0x4f900c[_0x483a0f(0x326)]):(this[_0x483a0f(0x24f)]=_0x6e0bac[_0x483a0f(0x17e)](_0x538db7,this,_0x4f900c&&_0x4f900c[_0x483a0f(0x326)]),this[_0x483a0f(0x24f)][_0x483a0f(0x252)]=_0x6e0bac);},'_doProcessBlock':function(_0x1559b1,_0x58f08e){var _0x5a8fe6=_0x5aa909;this[_0x5a8fe6(0x24f)][_0x5a8fe6(0x2e0)](_0x1559b1,_0x58f08e);},'_doFinalize':function(){var _0x5a7526=_0x5aa909,_0x26a5d6,_0x191be0=this[_0x5a7526(0x188)][_0x5a7526(0x3ca)];return this[_0x5a7526(0x3ec)]==this[_0x5a7526(0x20b)]?(_0x191be0[_0x5a7526(0x192)](this[_0x5a7526(0x29e)],this[_0x5a7526(0x2e8)]),_0x26a5d6=this[_0x5a7526(0x3f1)](!0x0)):(_0x26a5d6=this[_0x5a7526(0x3f1)](!0x0),_0x191be0[_0x5a7526(0x298)](_0x26a5d6)),_0x26a5d6;},'blockSize':0x80/0x20});var _0x36432a=_0x116e42[_0x5aa909(0x41f)]=_0x11018b[_0x5aa909(0x305)]({'init':function(_0x4a7f5e){var _0x1ed72d=_0x5aa909;this[_0x1ed72d(0x180)](_0x4a7f5e);},'toString':function(_0x3b3e40){var _0xeabea3=_0x5aa909;return(_0x3b3e40||this[_0xeabea3(0x3b3)])[_0xeabea3(0x2a9)](this);}}),_0x7b5b97=_0x26685f[_0x5aa909(0x18c)]={},_0x3a1a5f=_0x7b5b97['OpenSSL']={'stringify':function(_0x1cc851){var _0x281789=_0x5aa909,_0x50e14b,_0x5ea730=_0x1cc851[_0x281789(0x207)],_0x24d6e3=_0x1cc851[_0x281789(0x245)];return _0x24d6e3?_0x50e14b=_0x393a24[_0x281789(0x131)]([0x53616c74,0x65645f5f])[_0x281789(0x18e)](_0x24d6e3)[_0x281789(0x18e)](_0x5ea730):_0x50e14b=_0x5ea730,_0x50e14b[_0x281789(0x199)](_0x4fc5bc);},'parse':function(_0x44f116){var _0x203215=_0x5aa909,_0xf14735,_0x46d20a=_0x4fc5bc[_0x203215(0x2aa)](_0x44f116),_0x159ccb=_0x46d20a['words'];return _0x159ccb[0x0]==0x53616c74&&_0x159ccb[0x1]==0x65645f5f&&(_0xf14735=_0x393a24[_0x203215(0x131)](_0x159ccb[_0x203215(0x3ae)](0x2,0x4)),_0x159ccb['splice'](0x0,0x4),_0x46d20a[_0x203215(0x1e9)]-=0x10),_0x36432a[_0x203215(0x131)]({'ciphertext':_0x46d20a,'salt':_0xf14735});}},_0x568a89=_0x116e42['SerializableCipher']=_0x11018b[_0x5aa909(0x305)]({'cfg':_0x11018b[_0x5aa909(0x305)]({'format':_0x3a1a5f}),'encrypt':function(_0x26ca1b,_0x536223,_0x3dbc6e,_0x1aa408){var _0xa100e2=_0x5aa909;_0x1aa408=this[_0xa100e2(0x188)][_0xa100e2(0x305)](_0x1aa408);var _0x42474f=_0x26ca1b[_0xa100e2(0x299)](_0x3dbc6e,_0x1aa408),_0x152bc7=_0x42474f['finalize'](_0x536223),_0x2fc6f8=_0x42474f[_0xa100e2(0x188)];return _0x36432a[_0xa100e2(0x131)]({'ciphertext':_0x152bc7,'key':_0x3dbc6e,'iv':_0x2fc6f8['iv'],'algorithm':_0x26ca1b,'mode':_0x2fc6f8[_0xa100e2(0x1ce)],'padding':_0x2fc6f8[_0xa100e2(0x3ca)],'blockSize':_0x26ca1b[_0xa100e2(0x2e8)],'formatter':_0x1aa408[_0xa100e2(0x18c)]});},'decrypt':function(_0x9576c,_0x42c80b,_0x661c63,_0x1845f8){var _0x9a0b2c=_0x5aa909;_0x1845f8=this[_0x9a0b2c(0x188)][_0x9a0b2c(0x305)](_0x1845f8),_0x42c80b=this[_0x9a0b2c(0x30f)](_0x42c80b,_0x1845f8[_0x9a0b2c(0x18c)]);var _0x51ad60=_0x9576c[_0x9a0b2c(0x2a8)](_0x661c63,_0x1845f8)[_0x9a0b2c(0x1ba)](_0x42c80b[_0x9a0b2c(0x207)]);return _0x51ad60;},'_parse':function(_0x26db0b,_0x4e28ad){var _0x3eb169=_0x5aa909;return typeof _0x26db0b=='string'?_0x4e28ad[_0x3eb169(0x2aa)](_0x26db0b,this):_0x26db0b;}}),_0x4b4bed=_0x26685f['kdf']={},_0x38b2a8=_0x4b4bed[_0x5aa909(0x3ac)]={'execute':function(_0x2c5d46,_0x6da848,_0x5980cc,_0x482af7,_0x5e4474){var _0x13c01e=_0x5aa909;if(_0x482af7||(_0x482af7=_0x393a24[_0x13c01e(0x238)](0x40/0x8)),_0x5e4474)var _0x5d55a2=_0x5922fc[_0x13c01e(0x131)]({'keySize':_0x6da848+_0x5980cc,'hasher':_0x5e4474})[_0x13c01e(0x3e0)](_0x2c5d46,_0x482af7);else var _0x5d55a2=_0x5922fc[_0x13c01e(0x131)]({'keySize':_0x6da848+_0x5980cc})[_0x13c01e(0x3e0)](_0x2c5d46,_0x482af7);var _0xcdf069=_0x393a24['create'](_0x5d55a2[_0x13c01e(0x326)][_0x13c01e(0x3ae)](_0x6da848),_0x5980cc*0x4);return _0x5d55a2[_0x13c01e(0x1e9)]=_0x6da848*0x4,_0x36432a[_0x13c01e(0x131)]({'key':_0x5d55a2,'iv':_0xcdf069,'salt':_0x482af7});}},_0x201ef9=_0x116e42[_0x5aa909(0x390)]=_0x568a89[_0x5aa909(0x305)]({'cfg':_0x568a89[_0x5aa909(0x188)]['extend']({'kdf':_0x38b2a8}),'encrypt':function(_0x1d22fb,_0x11a9b5,_0x4c2f38,_0x37e3bc){var _0x53fea2=_0x5aa909;_0x37e3bc=this[_0x53fea2(0x188)][_0x53fea2(0x305)](_0x37e3bc);var _0x171f6b=_0x37e3bc['kdf']['execute'](_0x4c2f38,_0x1d22fb['keySize'],_0x1d22fb[_0x53fea2(0x3c9)],_0x37e3bc[_0x53fea2(0x245)],_0x37e3bc[_0x53fea2(0x158)]);_0x37e3bc['iv']=_0x171f6b['iv'];var _0x4580ab=_0x568a89[_0x53fea2(0x2a7)][_0x53fea2(0x17e)](this,_0x1d22fb,_0x11a9b5,_0x171f6b[_0x53fea2(0x268)],_0x37e3bc);return _0x4580ab['mixIn'](_0x171f6b),_0x4580ab;},'decrypt':function(_0xd199b0,_0x4d46f3,_0x50d867,_0x501d06){var _0x5c22f4=_0x5aa909;_0x501d06=this[_0x5c22f4(0x188)][_0x5c22f4(0x305)](_0x501d06),_0x4d46f3=this['_parse'](_0x4d46f3,_0x501d06[_0x5c22f4(0x18c)]);var _0x5a0d00=_0x501d06[_0x5c22f4(0x3cb)][_0x5c22f4(0x1b8)](_0x50d867,_0xd199b0[_0x5c22f4(0x2b7)],_0xd199b0[_0x5c22f4(0x3c9)],_0x4d46f3[_0x5c22f4(0x245)],_0x501d06[_0x5c22f4(0x158)]);_0x501d06['iv']=_0x5a0d00['iv'];var _0x389bf0=_0x568a89['decrypt'][_0x5c22f4(0x17e)](this,_0xd199b0,_0x4d46f3,_0x5a0d00[_0x5c22f4(0x268)],_0x501d06);return _0x389bf0;}});}();}));}(Je)),Je[_0xc1eff9(0x2dc)];}var Ds=Ve[_0x5e85b0(0x2dc)],si;function Us(){var _0x373c92=_0x5e85b0;return si||(si=0x1,function(_0x5e24bf,_0x5cf821){(function(_0x253948,_0x384706,_0x259a44){var _0x5112f0=_0x30b8;_0x5e24bf[_0x5112f0(0x2dc)]=_0x384706(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x52bd8f){var _0x11abec=_0x30b8;return(function(){var _0x44a611=_0x30b8,_0x27e233=_0x52bd8f,_0x321a63=_0x27e233[_0x44a611(0x3f2)],_0x649fd5=_0x321a63[_0x44a611(0x1ff)],_0x2b7ac7=_0x27e233[_0x44a611(0x203)],_0x1ac983=[],_0x14e234=[],_0x2ab619=[],_0x4f7de3=[],_0x3f73ed=[],_0x47cab5=[],_0x3dc089=[],_0x5650e2=[],_0x101ce1=[],_0x51ed0b=[];(function(){for(var _0x3d1293=[],_0x5405ab=0x0;_0x5405ab<0x100;_0x5405ab++)_0x5405ab<0x80?_0x3d1293[_0x5405ab]=_0x5405ab<<0x1:_0x3d1293[_0x5405ab]=_0x5405ab<<0x1^0x11b;for(var _0x3f3868=0x0,_0x4c5ca3=0x0,_0x5405ab=0x0;_0x5405ab<0x100;_0x5405ab++){var _0x3eaf6b=_0x4c5ca3^_0x4c5ca3<<0x1^_0x4c5ca3<<0x2^_0x4c5ca3<<0x3^_0x4c5ca3<<0x4;_0x3eaf6b=_0x3eaf6b>>>0x8^_0x3eaf6b&0xff^0x63,_0x1ac983[_0x3f3868]=_0x3eaf6b,_0x14e234[_0x3eaf6b]=_0x3f3868;var _0x3610b0=_0x3d1293[_0x3f3868],_0x3bb373=_0x3d1293[_0x3610b0],_0x4ff0ed=_0x3d1293[_0x3bb373],_0xbc4fb1=_0x3d1293[_0x3eaf6b]*0x101^_0x3eaf6b*0x1010100;_0x2ab619[_0x3f3868]=_0xbc4fb1<<0x18|_0xbc4fb1>>>0x8,_0x4f7de3[_0x3f3868]=_0xbc4fb1<<0x10|_0xbc4fb1>>>0x10,_0x3f73ed[_0x3f3868]=_0xbc4fb1<<0x8|_0xbc4fb1>>>0x18,_0x47cab5[_0x3f3868]=_0xbc4fb1;var _0xbc4fb1=_0x4ff0ed*0x1010101^_0x3bb373*0x10001^_0x3610b0*0x101^_0x3f3868*0x1010100;_0x3dc089[_0x3eaf6b]=_0xbc4fb1<<0x18|_0xbc4fb1>>>0x8,_0x5650e2[_0x3eaf6b]=_0xbc4fb1<<0x10|_0xbc4fb1>>>0x10,_0x101ce1[_0x3eaf6b]=_0xbc4fb1<<0x8|_0xbc4fb1>>>0x18,_0x51ed0b[_0x3eaf6b]=_0xbc4fb1,_0x3f3868?(_0x3f3868=_0x3610b0^_0x3d1293[_0x3d1293[_0x3d1293[_0x4ff0ed^_0x3610b0]]],_0x4c5ca3^=_0x3d1293[_0x3d1293[_0x4c5ca3]]):_0x3f3868=_0x4c5ca3=0x1;}}());var _0x54e453=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x460a99=_0x2b7ac7[_0x44a611(0x3de)]=_0x649fd5[_0x44a611(0x305)]({'_doReset':function(){var _0x431d90=_0x44a611,_0x5d308b;if(!(this[_0x431d90(0x36c)]&&this['_keyPriorReset']===this[_0x431d90(0x34a)])){for(var _0x50ead8=this[_0x431d90(0x380)]=this['_key'],_0x10a247=_0x50ead8[_0x431d90(0x326)],_0x295d14=_0x50ead8[_0x431d90(0x1e9)]/0x4,_0xe7df23=this[_0x431d90(0x36c)]=_0x295d14+0x6,_0x1db88a=(_0xe7df23+0x1)*0x4,_0x12dc6d=this['_keySchedule']=[],_0x183893=0x0;_0x183893<_0x1db88a;_0x183893++)_0x183893<_0x295d14?_0x12dc6d[_0x183893]=_0x10a247[_0x183893]:(_0x5d308b=_0x12dc6d[_0x183893-0x1],_0x183893%_0x295d14?_0x295d14>0x6&&_0x183893%_0x295d14==0x4&&(_0x5d308b=_0x1ac983[_0x5d308b>>>0x18]<<0x18|_0x1ac983[_0x5d308b>>>0x10&0xff]<<0x10|_0x1ac983[_0x5d308b>>>0x8&0xff]<<0x8|_0x1ac983[_0x5d308b&0xff]):(_0x5d308b=_0x5d308b<<0x8|_0x5d308b>>>0x18,_0x5d308b=_0x1ac983[_0x5d308b>>>0x18]<<0x18|_0x1ac983[_0x5d308b>>>0x10&0xff]<<0x10|_0x1ac983[_0x5d308b>>>0x8&0xff]<<0x8|_0x1ac983[_0x5d308b&0xff],_0x5d308b^=_0x54e453[_0x183893/_0x295d14|0x0]<<0x18),_0x12dc6d[_0x183893]=_0x12dc6d[_0x183893-_0x295d14]^_0x5d308b);for(var _0x26daf7=this[_0x431d90(0x343)]=[],_0x358d0c=0x0;_0x358d0c<_0x1db88a;_0x358d0c++){var _0x183893=_0x1db88a-_0x358d0c;if(_0x358d0c%0x4)var _0x5d308b=_0x12dc6d[_0x183893];else var _0x5d308b=_0x12dc6d[_0x183893-0x4];_0x358d0c<0x4||_0x183893<=0x4?_0x26daf7[_0x358d0c]=_0x5d308b:_0x26daf7[_0x358d0c]=_0x3dc089[_0x1ac983[_0x5d308b>>>0x18]]^_0x5650e2[_0x1ac983[_0x5d308b>>>0x10&0xff]]^_0x101ce1[_0x1ac983[_0x5d308b>>>0x8&0xff]]^_0x51ed0b[_0x1ac983[_0x5d308b&0xff]];}}},'encryptBlock':function(_0x4b5346,_0x131236){var _0x3b852e=_0x44a611;this[_0x3b852e(0x1f0)](_0x4b5346,_0x131236,this[_0x3b852e(0x25e)],_0x2ab619,_0x4f7de3,_0x3f73ed,_0x47cab5,_0x1ac983);},'decryptBlock':function(_0x14865b,_0x12fa51){var _0xc3e007=_0x44a611,_0x4bee3b=_0x14865b[_0x12fa51+0x1];_0x14865b[_0x12fa51+0x1]=_0x14865b[_0x12fa51+0x3],_0x14865b[_0x12fa51+0x3]=_0x4bee3b,this[_0xc3e007(0x1f0)](_0x14865b,_0x12fa51,this[_0xc3e007(0x343)],_0x3dc089,_0x5650e2,_0x101ce1,_0x51ed0b,_0x14e234);var _0x4bee3b=_0x14865b[_0x12fa51+0x1];_0x14865b[_0x12fa51+0x1]=_0x14865b[_0x12fa51+0x3],_0x14865b[_0x12fa51+0x3]=_0x4bee3b;},'_doCryptBlock':function(_0x4d9d2c,_0x1085de,_0x55825e,_0x333817,_0x553fe8,_0xb57a80,_0x4ba090,_0x2704a7){var _0x2b7455=_0x44a611;for(var _0x2e19af=this[_0x2b7455(0x36c)],_0xddd4a5=_0x4d9d2c[_0x1085de]^_0x55825e[0x0],_0x5ca8b2=_0x4d9d2c[_0x1085de+0x1]^_0x55825e[0x1],_0x260658=_0x4d9d2c[_0x1085de+0x2]^_0x55825e[0x2],_0x1e6f62=_0x4d9d2c[_0x1085de+0x3]^_0x55825e[0x3],_0x9b6a08=0x4,_0x2e0b70=0x1;_0x2e0b70<_0x2e19af;_0x2e0b70++){var _0x6e8d8e=_0x333817[_0xddd4a5>>>0x18]^_0x553fe8[_0x5ca8b2>>>0x10&0xff]^_0xb57a80[_0x260658>>>0x8&0xff]^_0x4ba090[_0x1e6f62&0xff]^_0x55825e[_0x9b6a08++],_0x3f38e1=_0x333817[_0x5ca8b2>>>0x18]^_0x553fe8[_0x260658>>>0x10&0xff]^_0xb57a80[_0x1e6f62>>>0x8&0xff]^_0x4ba090[_0xddd4a5&0xff]^_0x55825e[_0x9b6a08++],_0x31dd40=_0x333817[_0x260658>>>0x18]^_0x553fe8[_0x1e6f62>>>0x10&0xff]^_0xb57a80[_0xddd4a5>>>0x8&0xff]^_0x4ba090[_0x5ca8b2&0xff]^_0x55825e[_0x9b6a08++],_0x7b9071=_0x333817[_0x1e6f62>>>0x18]^_0x553fe8[_0xddd4a5>>>0x10&0xff]^_0xb57a80[_0x5ca8b2>>>0x8&0xff]^_0x4ba090[_0x260658&0xff]^_0x55825e[_0x9b6a08++];_0xddd4a5=_0x6e8d8e,_0x5ca8b2=_0x3f38e1,_0x260658=_0x31dd40,_0x1e6f62=_0x7b9071;}var _0x6e8d8e=(_0x2704a7[_0xddd4a5>>>0x18]<<0x18|_0x2704a7[_0x5ca8b2>>>0x10&0xff]<<0x10|_0x2704a7[_0x260658>>>0x8&0xff]<<0x8|_0x2704a7[_0x1e6f62&0xff])^_0x55825e[_0x9b6a08++],_0x3f38e1=(_0x2704a7[_0x5ca8b2>>>0x18]<<0x18|_0x2704a7[_0x260658>>>0x10&0xff]<<0x10|_0x2704a7[_0x1e6f62>>>0x8&0xff]<<0x8|_0x2704a7[_0xddd4a5&0xff])^_0x55825e[_0x9b6a08++],_0x31dd40=(_0x2704a7[_0x260658>>>0x18]<<0x18|_0x2704a7[_0x1e6f62>>>0x10&0xff]<<0x10|_0x2704a7[_0xddd4a5>>>0x8&0xff]<<0x8|_0x2704a7[_0x5ca8b2&0xff])^_0x55825e[_0x9b6a08++],_0x7b9071=(_0x2704a7[_0x1e6f62>>>0x18]<<0x18|_0x2704a7[_0xddd4a5>>>0x10&0xff]<<0x10|_0x2704a7[_0x5ca8b2>>>0x8&0xff]<<0x8|_0x2704a7[_0x260658&0xff])^_0x55825e[_0x9b6a08++];_0x4d9d2c[_0x1085de]=_0x6e8d8e,_0x4d9d2c[_0x1085de+0x1]=_0x3f38e1,_0x4d9d2c[_0x1085de+0x2]=_0x31dd40,_0x4d9d2c[_0x1085de+0x3]=_0x7b9071;},'keySize':0x100/0x20});_0x27e233[_0x44a611(0x3de)]=_0x649fd5['_createHelper'](_0x460a99);}()),_0x52bd8f[_0x11abec(0x3de)];}));}(Ve)),Ve[_0x373c92(0x2dc)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x5e85b0(0x2dc)],ai;function xs(){return ai||(ai=0x1,function(_0x2c6950,_0x58cea8){(function(_0x23ad8e,_0x2d72cf){_0x2c6950['exports']=_0x2d72cf(ie());}(Ls,function(_0x58c566){var _0x1ca3b3=_0x30b8;return _0x58c566[_0x1ca3b3(0x2d1)][_0x1ca3b3(0x345)];}));}(Xe)),Xe['exports'];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x5e85b0(0x2dc)],oi;function Hs(){var _0xe60069=_0x5e85b0;return oi||(oi=0x1,function(_0x379759,_0x3b4754){(function(_0x5b06b5,_0x3df177){var _0x25aaff=_0x30b8;_0x379759[_0x25aaff(0x2dc)]=_0x3df177(ie());}($s,function(_0x97214d){var _0x1ddfbe=_0x30b8;return(function(){var _0x15e644=_0x30b8;if(typeof ArrayBuffer==_0x15e644(0x1b5)){var _0x2437d9=_0x97214d,_0xf5d308=_0x2437d9[_0x15e644(0x3f2)],_0x264be3=_0xf5d308[_0x15e644(0x14b)],_0x4de550=_0x264be3[_0x15e644(0x1a5)],_0x3f8bc4=_0x264be3['init']=function(_0x56a93a){var _0x3be6fd=_0x15e644;if(_0x56a93a instanceof ArrayBuffer&&(_0x56a93a=new Uint8Array(_0x56a93a)),(_0x56a93a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x56a93a instanceof Uint8ClampedArray||_0x56a93a instanceof Int16Array||_0x56a93a instanceof Uint16Array||_0x56a93a instanceof Int32Array||_0x56a93a instanceof Uint32Array||_0x56a93a instanceof Float32Array||_0x56a93a instanceof Float64Array)&&(_0x56a93a=new Uint8Array(_0x56a93a[_0x3be6fd(0x294)],_0x56a93a[_0x3be6fd(0x19f)],_0x56a93a[_0x3be6fd(0x2c2)])),_0x56a93a instanceof Uint8Array){for(var _0x46eefb=_0x56a93a[_0x3be6fd(0x2c2)],_0x32f27d=[],_0x5ee8a6=0x0;_0x5ee8a6<_0x46eefb;_0x5ee8a6++)_0x32f27d[_0x5ee8a6>>>0x2]|=_0x56a93a[_0x5ee8a6]<<0x18-_0x5ee8a6%0x4*0x8;_0x4de550['call'](this,_0x32f27d,_0x46eefb);}else _0x4de550[_0x3be6fd(0x2dd)](this,arguments);};_0x3f8bc4[_0x15e644(0x282)]=_0x264be3;}}()),_0x97214d[_0x1ddfbe(0x3f2)][_0x1ddfbe(0x14b)];}));}(Ze)),Ze[_0xe60069(0x2dc)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x5e85b0(0x2dc)],ci;function Vs(){var _0x5a376b=_0x5e85b0;return ci||(ci=0x1,function(_0x6b4104,_0xb79a0d){(function(_0x474dc4,_0x523eea,_0x34950a){_0x6b4104['exports']=_0x523eea(ie(),Ai());}(Fs,function(_0x298aef){var _0x322e74=_0x30b8;return _0x298aef[_0x322e74(0x192)][_0x322e74(0x295)]={'pad':function(){},'unpad':function(){}},_0x298aef[_0x322e74(0x192)]['NoPadding'];}));}(Qe)),Qe[_0x5a376b(0x2dc)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x381224,_0x493936){var _0xdb43d4=_0x5e85b0;const _0xf029d1=_0x493936-_0x381224[_0xdb43d4(0x317)]%_0x493936,_0x5ac46b=String[_0xdb43d4(0x39b)](_0xf029d1)[_0xdb43d4(0x303)](_0xf029d1);return _0x381224+_0x5ac46b;}function Ys(_0x4bc5f2,_0x35efd9){var _0x1e6060=_0x5e85b0;const _0x176ad0=js['random'](0x10),_0x46bc86=Ks(_0x4bc5f2,0x10),_0x3fd0c3=ws[_0x1e6060(0x2a7)](ks[_0x1e6060(0x2aa)](_0x46bc86),ri[_0x1e6060(0x2aa)](_0x35efd9),{'iv':_0x176ad0,'padding':Ws});return _0x176ad0[_0x1e6060(0x18e)](_0x3fd0c3['ciphertext'])['toString'](ri);}function qs(){var _0xb5e46d=_0x5e85b0;const _0x1ef37a=_0x301c5d()[_0xb5e46d(0x370)];if(_0x1ef37a){const _0x4f66db={'time':Math[_0xb5e46d(0x20a)](Date[_0xb5e46d(0x3c1)]()/0x3e8),'domain':location[_0xb5e46d(0x234)]};return Ys(JSON[_0xb5e46d(0x2a9)](_0x4f66db),_0x1ef37a);}}var zs=Object[_0x5e85b0(0x3b0)],Js=(_0x135b44,_0xa2a40c,_0x131f6d,_0x30adf3)=>{for(var _0x1188bc=_0x30adf3>0x1?void 0x0:_0x30adf3?zs(_0xa2a40c,_0x131f6d):_0xa2a40c,_0x436d74=_0x135b44['length']-0x1,_0x12f69c;_0x436d74>=0x0;_0x436d74--)(_0x12f69c=_0x135b44[_0x436d74])&&(_0x1188bc=_0x12f69c(_0x1188bc)||_0x1188bc);return _0x1188bc;},Xs=(_0x31ac9a,_0x3f0a05)=>(_0x58c9e8,_0xa64ca5)=>_0x3f0a05(_0x58c9e8,_0xa64ca5,_0x31ac9a);let at=class{constructor(_0x1be80b){this['_httpService']=_0x1be80b,this['_initRequestHeader']();}[_0x5e85b0(0x316)](){var _0xe43867=_0x5e85b0;this[_0xe43867(0x40b)][_0xe43867(0x1a2)]({'interceptor':(_0x5b31a4,_0x54c616)=>{var _0x4b6482=_0xe43867;const _0xa5a3c2=_0x5b31a4[_0x4b6482(0x3b4)],_0x20d8ce=qs();return _0x20d8ce&&_0xa5a3c2[_0x4b6482(0x28a)]('x-univer-host',_0x20d8ce),_0x54c616(_0x5b31a4);}});}};at=Js([Xs(0x0,_0x4e6a0f(_0x4dfb46))],at);var Zs=Object[_0x5e85b0(0x3b0)],Qs=(_0x2d009f,_0x514414,_0x3a0f83,_0x3b9e93)=>{var _0x25322a=_0x5e85b0;for(var _0x58013c=_0x3b9e93>0x1?void 0x0:_0x3b9e93?Zs(_0x514414,_0x3a0f83):_0x514414,_0x44bc1=_0x2d009f[_0x25322a(0x317)]-0x1,_0x3007da;_0x44bc1>=0x0;_0x44bc1--)(_0x3007da=_0x2d009f[_0x44bc1])&&(_0x58013c=_0x3007da(_0x58013c)||_0x58013c);return _0x58013c;},mt=(_0x12f614,_0x16100a)=>(_0xf7c33,_0x285421)=>_0x16100a(_0xf7c33,_0x285421,_0x12f614);function _0x30b8(_0x27045a,_0x8e42bc){var _0x4c89eb=_0x4c89();return _0x30b8=function(_0x30b811,_0x32ccbc){_0x30b811=_0x30b811-0x120;var _0x2c8353=_0x4c89eb[_0x30b811];return _0x2c8353;},_0x30b8(_0x27045a,_0x8e42bc);}let bt=class extends _0x5d06b1{constructor(_0x10a4aa,_0x50fd45,_0x16f281){var _0xb12da8=_0x5e85b0;super(),N(this,_0xb12da8(0x36b),new _0x5a2e2c(null)),N(this,'unitInfo$',this[_0xb12da8(0x36b)][_0xb12da8(0x175)]()),(this[_0xb12da8(0x154)]=_0x10a4aa,this['_snapshotService']=_0x50fd45,this[_0xb12da8(0x3f0)]=_0x16f281);}async[_0x5e85b0(0x1ab)](_0x63b8e5,_0x16a0c3,_0x3d97ff){var _0x392ea8=_0x5e85b0;this[_0x392ea8(0x36b)][_0x392ea8(0x2ce)]({'unitId':_0x63b8e5,'type':_0x16a0c3,'subUnitId':_0x3d97ff});let _0x2424d3=null;switch(_0x16a0c3){case Q[_0x392ea8(0x26b)]:{_0x2424d3=await this[_0x392ea8(0x400)](_0x63b8e5);break;}case Q[_0x392ea8(0x1dc)]:{_0x2424d3=await this['_loadDoc'](_0x63b8e5);break;}default:{this[_0x392ea8(0x154)]['error'](_0x392ea8(0x22a),_0x392ea8(0x2c7));break;}}return _0x2424d3;}async[_0x5e85b0(0x400)](_0x3eda70){var _0x109af4=_0x5e85b0,_0x25d170;let _0x2cea1c=0x0;const _0x5e4df9=await((_0x25d170=this[_0x109af4(0x3f0)])==null?void 0x0:_0x25d170[_0x109af4(0x2e1)](_0x3eda70));return _0x5e4df9&&(_0x5e4df9[_0x109af4(0x2cd)]||_0x5e4df9[_0x109af4(0x126)][_0x109af4(0x317)]!==0x0)&&(_0x2cea1c=_0x5e4df9['rev']),_0x2cea1c===0x0&&this['_logService']['debug'](_0x109af4(0x22a),_0x109af4(0x2cf)),this[_0x109af4(0x38d)][_0x109af4(0x1cb)](_0x3eda70,_0x2cea1c);}async[_0x5e85b0(0x33d)](_0x35cfbe){var _0x46397e=_0x5e85b0,_0x20b3f3;let _0x4cf007=0x0;const _0x4d0b69=await((_0x20b3f3=this['_localCacheService'])==null?void 0x0:_0x20b3f3[_0x46397e(0x2e1)](_0x35cfbe));return _0x4d0b69&&(_0x4d0b69['awaitingChangeset']||_0x4d0b69['mutations'][_0x46397e(0x317)]!==0x0)&&(_0x4cf007=_0x4d0b69['rev']),_0x4cf007===0x0&&this[_0x46397e(0x154)][_0x46397e(0x156)]('[DataLoaderService]',_0x46397e(0x2cf)),this[_0x46397e(0x38d)][_0x46397e(0x25c)](_0x35cfbe,_0x4cf007);}};bt=Qs([mt(0x0,_0x4f17e2),mt(0x1,_0x4e6a0f(_0x29da2c)),mt(0x2,_0x8e5208(J))],bt);var er=Object[_0x5e85b0(0x3b0)],tr=(_0xf618a2,_0x503358,_0x4fcbe5,_0x397f2e)=>{for(var _0x29ed26=_0x397f2e>0x1?void 0x0:_0x397f2e?er(_0x503358,_0x4fcbe5):_0x503358,_0x1a487a=_0xf618a2['length']-0x1,_0x1e7881;_0x1a487a>=0x0;_0x1a487a--)(_0x1e7881=_0xf618a2[_0x1a487a])&&(_0x29ed26=_0x1e7881(_0x29ed26)||_0x29ed26);return _0x29ed26;},gt=(_0x3c3574,_0x4b8d4a)=>(_0x40f014,_0x1ee227)=>_0x4b8d4a(_0x40f014,_0x1ee227,_0x3c3574);const ir=['image/png',_0x5e85b0(0x1fa),_0x5e85b0(0x159),_0x5e85b0(0x162),_0x5e85b0(0x21f)],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr=_0x5e85b0(0x34e),ar=_0x5e85b0(0x3fa),or=_0x5e85b0(0x384);let Ot=class{constructor(_0x578e45,_0x486109,_0x14f870){var _0x5ee6cb=_0x5e85b0;N(this,_0x5ee6cb(0x41d),0x0),N(this,_0x5ee6cb(0x38e),new _0x481b7e()),N(this,'change$',this[_0x5ee6cb(0x38e)]),N(this,_0x5ee6cb(0x34b),new Map()),(this[_0x5ee6cb(0x40b)]=_0x578e45,this[_0x5ee6cb(0x161)]=_0x486109,this[_0x5ee6cb(0x396)]=_0x14f870);}[_0x5e85b0(0x1d3)](_0xa4def4){var _0x2aeda7=_0x5e85b0;this[_0x2aeda7(0x41d)]=_0xa4def4,this[_0x2aeda7(0x38e)]['next'](_0xa4def4);}['getImageSourceCache'](_0x57886a,_0x5a9cab){var _0x4deb2a=_0x5e85b0;if(_0x5a9cab===_0xda66a3[_0x4deb2a(0x23b)]){const _0x44181d=new Image();return _0x44181d['src']=_0x57886a,_0x44181d;}return this['_imageSourceCache']['get'](_0x57886a);}[_0x5e85b0(0x3d4)](_0x458d8a,_0x2a918c,_0x5042c5){var _0x17c549=_0x5e85b0;_0x2a918c===_0xda66a3['BASE64']||_0x5042c5==null||this[_0x17c549(0x34b)]['set'](_0x458d8a,_0x5042c5);}async[_0x5e85b0(0x31f)](_0x3ca93e){var _0x2916ad=_0x5e85b0;try{const _0x2a83af=this[_0x2916ad(0x376)](this[_0x2916ad(0x23d)](),''+_0x3ca93e),_0x5cca67=(await this['_httpService'][_0x2916ad(0x3d0)](_0x2a83af))[_0x2916ad(0x250)];if(_0x5cca67[_0x2916ad(0x371)]&&_0x5cca67[_0x2916ad(0x371)][_0x2916ad(0x1c4)]===Si['OK']){const _0x19b296=new URL(_0x5cca67[_0x2916ad(0x26c)],this[_0x2916ad(0x40d)]())[_0x2916ad(0x199)]();return Promise[_0x2916ad(0x372)](_0x19b296);}return Promise[_0x2916ad(0x195)](_0x5cca67['error']);}catch(_0x589ac1){return Promise[_0x2916ad(0x195)](_0x589ac1);}}async[_0x5e85b0(0x23f)](_0x307988){var _0xe78785=_0x5e85b0;let _0x23ccac='';if(!ir[_0xe78785(0x377)](_0x307988[_0xe78785(0x233)]))return this[_0xe78785(0x20d)](),Promise[_0xe78785(0x195)](new Error(_0x1469d9[_0xe78785(0x32f)]));if(_0x307988['size']>nr)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1469d9[_0xe78785(0x35a)]));try{const _0x269a93=new FormData();_0x269a93[_0xe78785(0x1df)](_0xe78785(0x1ae),_0x307988);const _0x25de9a=this[_0xe78785(0x396)][_0xe78785(0x31b)](),_0x3bd669=_0x25de9a==null?void 0x0:_0x25de9a['getUnitId']();if(!_0x3bd669)throw new Error(_0xe78785(0x193));const _0x1cf23a=this[_0xe78785(0x34f)]()+'?size='+_0x307988[_0xe78785(0x338)][_0xe78785(0x199)]()+_0xe78785(0x35d)+Ei[_0xe78785(0x266)]+_0xe78785(0x415)+encodeURIComponent(_0x3bd669),_0x1a301d=await(await fetch(_0x1cf23a,{'method':'POST','body':_0x269a93}))[_0xe78785(0x310)]();if(typeof _0x1a301d[_0xe78785(0x13a)]!=_0xe78785(0x1da))return this[_0xe78785(0x20d)](),Promise[_0xe78785(0x195)](new Error(_0x1469d9[_0xe78785(0x3cf)]));_0x23ccac=_0x1a301d[_0xe78785(0x13a)];}catch{return this[_0xe78785(0x20d)](),Promise['reject'](new Error(_0x1469d9[_0xe78785(0x3cf)]));}return new Promise((_0x1534fc,_0x4c5b9c)=>{var _0x32901e=_0xe78785;const _0x523eb9=new FileReader();_0x523eb9[_0x32901e(0x381)](_0x307988),_0x523eb9[_0x32901e(0x2f8)]=_0x1bddbd=>{var _0x49a123=_0x32901e,_0x2ca13a;const _0x2873a1=(_0x2ca13a=_0x1bddbd['target'])==null?void 0x0:_0x2ca13a[_0x49a123(0x385)];if(_0x2873a1==null){this[_0x49a123(0x20d)](),_0x4c5b9c(new Error(_0x1469d9[_0x49a123(0x3cf)]));return;}const _0x17c314=_0x37a7ab[_0x49a123(0x1bb)](0x6);_0x1534fc({'imageId':_0x17c314,'imageSourceType':_0xda66a3['UUID'],'source':_0x23ccac,'base64Cache':_0x2873a1,'status':_0x1469d9[_0x49a123(0x157)]}),this[_0x49a123(0x20d)]();};});}['_getUploadFileURL'](){var _0x19835b=_0x5e85b0,_0x4f169b,_0x542631;const _0x3ff74f=this[_0x19835b(0x161)]['getConfig'](sr),_0x4ae814=this[_0x19835b(0x161)][_0x19835b(0x314)](q);return(_0x542631=(_0x4f169b=_0x4ae814==null?void 0x0:_0x4ae814[_0x19835b(0x3e1)])!=null?_0x4f169b:_0x3ff74f)!=null?_0x542631:rr;}[_0x5e85b0(0x23d)](){var _0x3090a7=_0x5e85b0,_0x3cc288,_0xcd8f81;const _0x5a2b67=this['_configService'][_0x3090a7(0x314)](ar),_0x25ca05=this[_0x3090a7(0x161)][_0x3090a7(0x314)](q);return(_0xcd8f81=(_0x3cc288=_0x25ca05==null?void 0x0:_0x25ca05[_0x3090a7(0x323)])!=null?_0x3cc288:_0x5a2b67)!=null?_0xcd8f81:or;}['_getDownloadEndpointURL'](){var _0x26e638=_0x5e85b0,_0x55b3c4;const _0x22ba5d=this[_0x26e638(0x161)]['getConfig'](q);return(_0x55b3c4=_0x22ba5d==null?void 0x0:_0x22ba5d['downloadEndpointUrl'])!=null?_0x55b3c4:location['origin'];}[_0x5e85b0(0x376)](_0xad5b38,_0x2ff23b){var _0x698c75=_0x5e85b0;return _0xad5b38[_0x698c75(0x35b)](_0x698c75(0x221),_0x2ff23b);}[_0x5e85b0(0x20d)](){var _0x8b0891=_0x5e85b0;this[_0x8b0891(0x41d)]-=0x1,this[_0x8b0891(0x38e)]['next'](this['_waitCount']);}};Ot=tr([gt(0x0,_0x4e6a0f(_0x4dfb46)),gt(0x1,_0x57235c),gt(0x2,_0x4e6a0f(_0x187759))],Ot);var cr=Object[_0x5e85b0(0x3b0)],hr=(_0x28f11b,_0x43059e,_0x504931,_0xb512a4)=>{for(var _0x58bd06=_0xb512a4>0x1?void 0x0:_0xb512a4?cr(_0x43059e,_0x504931):_0x43059e,_0x497e47=_0x28f11b['length']-0x1,_0x3b3d93;_0x497e47>=0x0;_0x497e47--)(_0x3b3d93=_0x28f11b[_0x497e47])&&(_0x58bd06=_0x3b3d93(_0x58bd06)||_0x58bd06);return _0x58bd06;},hi=(_0x19ea5f,_0xa45fd1)=>(_0xe0bd9e,_0x2c5c2a)=>_0xa45fd1(_0xe0bd9e,_0x2c5c2a,_0x19ea5f);const _r=_0x5e85b0(0x2ec);let yt=class{constructor(_0x3dd77f,_0x594ca1){var _0xbc6b02=_0x5e85b0;this['_configService']=_0x3dd77f,this[_0xbc6b02(0x333)]=_0x594ca1;}['_getAPIPrefixPath'](){var _0x530c31=_0x5e85b0,_0x3f4d84,_0x542529;const _0x21b417=this[_0x530c31(0x161)][_0x530c31(0x314)](Ni),_0x1aadda=this[_0x530c31(0x161)][_0x530c31(0x314)](q);return(_0x542529=(_0x3f4d84=_0x1aadda==null?void 0x0:_0x1aadda[_0x530c31(0x185)])!=null?_0x3f4d84:_0x21b417)!=null?_0x542529:_r;}async[_0x5e85b0(0x2a6)](_0x16b3be){var _0x2d9f3f=_0x5e85b0;const _0x3c7491=this[_0x2d9f3f(0x3dd)]()+_0x2d9f3f(0x222);return{'list':[{'title':_0x2d9f3f(0x27a),'mentions':(await this[_0x2d9f3f(0x333)][_0x2d9f3f(0x3d0)](_0x3c7491,{'params':{'objectID':_0x16b3be[_0x2d9f3f(0x37f)],'unitID':_0x16b3be[_0x2d9f3f(0x37f)]}}))[_0x2d9f3f(0x250)][_0x2d9f3f(0x249)]['map'](_0x51e50c=>({'objectId':_0x51e50c['id'],'name':_0x51e50c[_0x2d9f3f(0x1d8)]['name'],'metadata':{'icon':_0x51e50c[_0x2d9f3f(0x1d8)][_0x2d9f3f(0x210)]},'label':_0x51e50c[_0x2d9f3f(0x1d8)][_0x2d9f3f(0x29c)],'objectType':_0xce6fc5['PERSON']})),'metadata':{},'type':_0xce6fc5[_0x2d9f3f(0x230)]}]};}};yt=hr([hi(0x0,_0x4e6a0f(_0x57235c)),hi(0x1,_0x4e6a0f(_0x4dfb46))],yt);var lr=Object[_0x5e85b0(0x3b0)],ur=(_0x2e3735,_0x27fecb,_0x26556c,_0x20e779)=>{var _0xe5a002=_0x5e85b0;for(var _0x52e151=_0x20e779>0x1?void 0x0:_0x20e779?lr(_0x27fecb,_0x26556c):_0x27fecb,_0x485ac2=_0x2e3735[_0xe5a002(0x317)]-0x1,_0x323264;_0x485ac2>=0x0;_0x485ac2--)(_0x323264=_0x2e3735[_0x485ac2])&&(_0x52e151=_0x323264(_0x52e151)||_0x52e151);return _0x52e151;},we=(_0x2e5d76,_0x43ca96)=>(_0xf54c8,_0x51dfac)=>_0x43ca96(_0xf54c8,_0x51dfac,_0x2e5d76);let ot=class extends _0x5d06b1{constructor(_0x5dfa1b,_0x500991,_0x3525c3,_0xb6ee9c,_0x1a8102){var _0x251942=_0x5e85b0;super(),this[_0x251942(0x35f)]=_0x5dfa1b,this['_univerInstanceService']=_0x500991,this[_0x251942(0x190)]=_0x3525c3,this[_0x251942(0x16c)]=_0xb6ee9c,this['_collaborationUIEventService']=_0x1a8102,this['_initUnitPermissionChange'](),this[_0x251942(0x413)]();}[_0x5e85b0(0x413)](){var _0x1a69f6=_0x5e85b0;const _0x585f61=async _0x3bc3e9=>{var _0x50b6ef=_0x30b8;(await this[_0x50b6ef(0x16c)][_0x50b6ef(0x18b)](_0x3bc3e9))['event$'][_0x50b6ef(0x2c0)](_0x30fc86(_0x5c569d=>_0x5c569d[_0x50b6ef(0x388)]===_0x5d967f['SHOULD_CLOSE_CONN']),_0x384cc0(this[_0x50b6ef(0x239)]))[_0x50b6ef(0x292)](_0x111961=>{var _0x335790=_0x50b6ef;const _0x1d0426=_0x111961,{reason:_0x30db62}=_0x1d0426[_0x335790(0x401)];this[_0x335790(0x262)][_0x335790(0x258)]({'id':re[_0x335790(0x12b)],'data':_0x30db62}),this[_0x335790(0x190)]['updatePermissionPoint'](new _0x3c0caf(_0x3bc3e9)['id'],!0x1),this[_0x335790(0x16c)]['closeSession'](_0x3bc3e9);});};_0x2ba3bf(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3ac655[_0x1a69f6(0x26b)]),this[_0x1a69f6(0x396)][_0x1a69f6(0x25f)](_0x3ac655['UNIVER_DOC']))[_0x1a69f6(0x2c0)](_0x4f42e4(_0x2d47c0=>_0x2d47c0['getUnitId']()),_0x30fc86(_0x5a496f=>!_0x479967(_0x5a496f)),_0x384cc0(this[_0x1a69f6(0x239)]))[_0x1a69f6(0x292)](_0x3fbc9c=>{_0x585f61(_0x3fbc9c);});}[_0x5e85b0(0x2c1)](){var _0x392613=_0x5e85b0;const _0x462461=async _0x428e0e=>{var _0x4093c7=_0x30b8;const _0x4786a0=await this[_0x4093c7(0x16c)]['requireSession'](_0x428e0e),_0x2764dc=this[_0x4093c7(0x35f)][_0x4093c7(0x3d0)](_0x21933f);_0x4786a0['event$']['pipe'](_0x30fc86(_0xaa4fb5=>_0xaa4fb5[_0x4093c7(0x388)]===_0x5d967f[_0x4093c7(0x248)]),_0x384cc0(this[_0x4093c7(0x239)]))[_0x4093c7(0x292)](_0x202581=>{var _0x1347a2=_0x4093c7;const _0x31080d=_0x202581,{objectId:_0x2464b5}=_0x31080d['data'];_0x2464b5===_0x428e0e?_0x2764dc[_0x1347a2(0x1f1)](_0x428e0e):_0x2764dc[_0x1347a2(0x3ee)](_0x428e0e,_0x2464b5);});};_0x2ba3bf(this[_0x392613(0x396)]['getTypeOfUnitAdded$'](_0x3ac655[_0x392613(0x26b)]))[_0x392613(0x2c0)](_0x4f42e4(_0x39cda1=>_0x39cda1['getUnitId']()),_0x30fc86(_0x911d3f=>!_0x479967(_0x911d3f)),_0x384cc0(this['dispose$']))[_0x392613(0x292)](_0x5968be=>{_0x462461(_0x5968be);});}};ot=ur([we(0x0,_0x4e6a0f(_0x2a76ad)),we(0x1,_0x187759),we(0x2,_0xfde829),we(0x3,_0x4e6a0f(xe)),we(0x4,_0x4e6a0f(pe))],ot);var dr=Object[_0x5e85b0(0x3b0)],fr=(_0x2ccd8a,_0x48f280,_0x1b5af7,_0x501c62)=>{for(var _0x4b6fa9=_0x501c62>0x1?void 0x0:_0x501c62?dr(_0x48f280,_0x1b5af7):_0x48f280,_0x1dc8cc=_0x2ccd8a['length']-0x1,_0x419c7c;_0x1dc8cc>=0x0;_0x1dc8cc--)(_0x419c7c=_0x2ccd8a[_0x1dc8cc])&&(_0x4b6fa9=_0x419c7c(_0x4b6fa9)||_0x4b6fa9);return _0x4b6fa9;},_i=(_0x3687a5,_0x581d73)=>(_0x123241,_0x12f802)=>_0x581d73(_0x123241,_0x12f802,_0x3687a5);let Nt=class{constructor(_0x381314,_0x4a781e){var _0x40dfe2=_0x5e85b0;this[_0x40dfe2(0x161)]=_0x381314,this[_0x40dfe2(0x40b)]=_0x4a781e;}async['getUnitOnRev'](_0x2af5cd,_0x392712){var _0x19578e=_0x5e85b0,_0x16f82d;const {unitID:_0x4dc309,type:_0x5ece54,revision:_0x1b112f=0x0}=_0x392712,_0x5e90a1=this['getSnapshotAPIPath']()+'/'+_0x5ece54+_0x19578e(0x2a1)+_0x4dc309+'/rev/'+_0x1b112f,_0x188be3=(await this[_0x19578e(0x40b)][_0x19578e(0x3d0)](_0x5e90a1))[_0x19578e(0x250)],_0x408984=(_0x16f82d=_0x188be3['snapshot'])==null?void 0x0:_0x16f82d[_0x19578e(0x1a6)];if(_0x408984){const _0x32848c=_0x408984==null?void 0x0:_0x408984[_0x19578e(0x3ce)],_0x116cc3=_0x5b4c86['encode'](_0x43586c(_0x32848c));_0x408984['originalMeta']=_0x116cc3,Object[_0x19578e(0x1b9)](_0x408984[_0x19578e(0x365)])[_0x19578e(0x1b4)](([,_0x50f159])=>{var _0x2207f8=_0x19578e;const _0x42cae3=_0x50f159[_0x2207f8(0x3ce)],_0x3cbcf9=_0x5b4c86['encode'](_0x43586c(_0x42cae3));_0x50f159[_0x2207f8(0x3ce)]=_0x3cbcf9;});}return _0x188be3;}async['getSheetBlock'](_0x27fc6b,_0x11082e){var _0x1f6f3c=_0x5e85b0;const {unitID:_0x33570c,type:_0x1a3c19,blockID:_0x4b5b33}=_0x11082e,_0x489357=this[_0x1f6f3c(0x137)]()+'/'+_0x1a3c19+'/unit/'+_0x33570c+_0x1f6f3c(0x140)+_0x4b5b33;return(await this['_httpService'][_0x1f6f3c(0x3d0)](_0x489357))[_0x1f6f3c(0x250)];}async['getDeserializedSheetBlock'](_0x3c91f6,_0x56a2b9){var _0x47fa9b=_0x5e85b0;const {unitID:_0x467ed0,type:_0x2ca9f1,blockID:_0x1396ce}=_0x56a2b9,_0x38f386=this[_0x47fa9b(0x137)]()+_0x47fa9b(0x140)+_0x2ca9f1+_0x47fa9b(0x2a1)+_0x467ed0+_0x47fa9b(0x140)+_0x1396ce;return(await this['_httpService'][_0x47fa9b(0x3d0)](_0x38f386))[_0x47fa9b(0x250)];}async[_0x5e85b0(0x24e)](_0x17f77c,_0x36948d){var _0x86d85f=_0x5e85b0;const {unitID:_0x3d6e79,type:_0x3a1bf7,from:_0x4dca0a,to:_0x453dac}=_0x36948d,_0x4b4934=this['_getAPIPrefix']()+'/'+_0x3a1bf7+_0x86d85f(0x2a1)+_0x3d6e79+_0x86d85f(0x224)+_0x4dca0a+_0x86d85f(0x1c1)+_0x453dac;return(await this['_httpService'][_0x86d85f(0x3d0)](_0x4b4934))[_0x86d85f(0x250)];}[_0x5e85b0(0x136)](){var _0x34e457=_0x5e85b0,_0x591a63;return(_0x591a63=this[_0x34e457(0x161)][_0x34e457(0x314)](Sn))!=null?_0x591a63:this['_getAPIPrefix']();}[_0x5e85b0(0x137)](){var _0x4eea51=_0x5e85b0,_0x4f699b,_0x2949ce;const _0x5bd6c2=this[_0x4eea51(0x161)][_0x4eea51(0x314)](mn),_0x457c49=this[_0x4eea51(0x161)][_0x4eea51(0x314)](q);return(_0x2949ce=(_0x4f699b=_0x457c49==null?void 0x0:_0x457c49['snapshotServerUrl'])!=null?_0x4f699b:_0x5bd6c2)!=null?_0x2949ce:gn;}async[_0x5e85b0(0x321)](_0x27b210,_0x4cbb5c){var _0x1ffa21=_0x5e85b0;const _0x3c6b5c=_0x1ffa21(0x3c8)+_0x4cbb5c[_0x1ffa21(0x233)]+_0x1ffa21(0x2a1)+_0x4cbb5c[_0x1ffa21(0x373)]+'/resources';return(await this['_httpService'][_0x1ffa21(0x3d0)](_0x3c6b5c,{'params':{'resourceId':JSON[_0x1ffa21(0x2a9)](_0x4cbb5c[_0x1ffa21(0x1a8)])}}))[_0x1ffa21(0x250)];}[_0x5e85b0(0x409)](){var _0x31a2b9=_0x5e85b0;throw new Error(_0x31a2b9(0x410));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e85b0(0x35e)](){var _0x5cff6b=_0x5e85b0;throw new Error(_0x5cff6b(0x410));}['copyFileMeta'](){var _0x2ecd58=_0x5e85b0;throw new Error(_0x2ecd58(0x410));}[_0x5e85b0(0x408)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x57235c),_i(0x1,_0x4e6a0f(_0x4dfb46))],Nt);var vr=Object[_0x5e85b0(0x3b0)],pr=(_0x34c962,_0x3018a6,_0x52ad8c,_0x602a1d)=>{var _0x2c751b=_0x5e85b0;for(var _0x4671b9=_0x602a1d>0x1?void 0x0:_0x602a1d?vr(_0x3018a6,_0x52ad8c):_0x3018a6,_0x582326=_0x34c962[_0x2c751b(0x317)]-0x1,_0x4d3d92;_0x582326>=0x0;_0x582326--)(_0x4d3d92=_0x34c962[_0x582326])&&(_0x4671b9=_0x4d3d92(_0x4671b9)||_0x4671b9);return _0x4671b9;},Pe=(_0x6e5c64,_0x5356fe)=>(_0x520457,_0x3e51b8)=>_0x5356fe(_0x520457,_0x3e51b8,_0x6e5c64);let Dt=class extends _0x13d1ac{constructor(_0x230358,_0x476fd7,_0x5cc8d2,_0x30c661,_0x4b5a46){var _0x59bb85=_0x5e85b0;super(_0x230358,_0x476fd7,_0x5cc8d2),this[_0x59bb85(0x129)]=_0x30c661,this[_0x59bb85(0x154)]=_0x4b5a46;}['transformUndoRedo'](_0x261891,_0x5e7295){var _0x433e78=_0x5e85b0;const _0x2a3482=this[_0x433e78(0x351)](_0x261891);if(_0x2a3482)try{const _0x115a93=this[_0x433e78(0x12d)](_0x2a3482,_0x5e7295);this[_0x433e78(0x344)](_0x261891,_0x115a93);}catch(_0x2b85d4){this['_logService'][_0x433e78(0x371)](_0x433e78(0x254),_0x2b85d4),this[_0x433e78(0x122)](_0x261891);}const _0x5bc92a=this[_0x433e78(0x406)](_0x261891);if(_0x5bc92a)try{const _0x2684ff=this[_0x433e78(0x12d)](_0x5bc92a,_0x5e7295);this[_0x433e78(0x201)](_0x261891,_0x2684ff);}catch(_0x284d16){this['_logService'][_0x433e78(0x371)](_0x284d16),this[_0x433e78(0x41b)](_0x261891);}}[_0x5e85b0(0x122)](_0x18293d){var _0x402d8a=_0x5e85b0;const _0x66a9de=this[_0x402d8a(0x351)](_0x18293d);_0x66a9de&&(_0x66a9de[_0x402d8a(0x317)]=0x0,this[_0x402d8a(0x17c)]());}[_0x5e85b0(0x41b)](_0x53bbc2){var _0x555778=_0x5e85b0;const _0x41b511=this['_getRedoStack'](_0x53bbc2);_0x41b511&&(_0x41b511[_0x555778(0x317)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x295447,_0x16a510){var _0x2524b8=_0x5e85b0;this[_0x2524b8(0x1d5)][_0x2524b8(0x28a)](_0x295447,_0x16a510),this[_0x2524b8(0x17c)]();}[_0x5e85b0(0x201)](_0x4005e1,_0x45873a){var _0x7a1f1e=_0x5e85b0;this[_0x7a1f1e(0x38c)]['set'](_0x4005e1,_0x45873a),this['_updateStatus']();}[_0x5e85b0(0x12d)](_0x145ba4,_0x5b0cc8){var _0x2c7e9b=_0x5e85b0;const _0x505004=[];let _0x218839=_0x5b0cc8,_0x3c8f90=_0x5b0cc8;for(let _0x49c7d3=_0x145ba4[_0x2c7e9b(0x317)]-0x1;_0x49c7d3>=0x0;_0x49c7d3--){const {unitID:_0x4dcc11,undoMutations:_0xcb683b,redoMutations:_0x2af2c2}=_0x145ba4[_0x49c7d3],_0x5b5dc1=this['_transformService'][_0x2c7e9b(0x2a3)](_0x218839,_0xcb683b),_0x5c131a=this['_transformService'][_0x2c7e9b(0x2a3)](_0x3c8f90,_0x2af2c2);if(_0x14ad98(_0x5b5dc1)||_0x14ad98(_0x5c131a)){this['_logService'][_0x2c7e9b(0x371)](_0x2c7e9b(0x254),_0x2c7e9b(0x39d),_0x5b5dc1,_0x5c131a);break;}_0x218839=_0x5b5dc1[_0x2c7e9b(0x1ca)],_0x3c8f90=_0x5c131a[_0x2c7e9b(0x1ca)],_0x505004[_0x2c7e9b(0x1e3)]({'unitID':_0x4dcc11,'undoMutations':_0x5b5dc1['m2Prime'],'redoMutations':_0x5c131a[_0x2c7e9b(0x1e5)]});}return _0x505004[_0x2c7e9b(0x3d9)]();}};Dt=pr([Pe(0x0,_0x187759),Pe(0x1,_0x1020e1),Pe(0x2,_0x4267cc),Pe(0x3,_0x32e708),Pe(0x4,_0x4f17e2)],Dt);var mr=Object[_0x5e85b0(0x2d3)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x16a826,_0x21ca1f,_0x2c0958)=>_0x21ca1f in _0x16a826?mr(_0x16a826,_0x21ca1f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c0958}):_0x16a826[_0x21ca1f]=_0x2c0958,Er=(_0x3cf999,_0x575e32,_0x22cb83,_0xcf95eb)=>{for(var _0x482394=_0xcf95eb>0x1?void 0x0:_0xcf95eb?gr(_0x575e32,_0x22cb83):_0x575e32,_0x136179=_0x3cf999['length']-0x1,_0x3fbe72;_0x136179>=0x0;_0x136179--)(_0x3fbe72=_0x3cf999[_0x136179])&&(_0x482394=_0x3fbe72(_0x482394)||_0x482394);return _0x482394;},St=(_0x59f316,_0x483710)=>(_0x3567c7,_0x3a79ae)=>_0x483710(_0x3567c7,_0x3a79ae,_0x59f316),Ir=(_0x10e0de,_0x24a4ef,_0x56f9fe)=>Sr(_0x10e0de,_0x24a4ef+'',_0x56f9fe);const Tr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x31b165{constructor(_0x54a3f9,_0x5529c3,_0x2fe44e,_0x36e647){var _0x471c7e=_0x5e85b0;super(),N(this,_0x471c7e(0x2bb)),(this['_logService']=_0x5529c3,this[_0x471c7e(0x35f)]=_0x2fe44e,this[_0x471c7e(0x161)]=_0x36e647);const {..._0x2ca74d}=_0x4b650d({},wn,_0x54a3f9);if(!_0x2ca74d[_0x471c7e(0x283)])throw new Error(_0x471c7e(0x3d6));this[_0x471c7e(0x2bb)]=_0x2ca74d,this['_configService'][_0x471c7e(0x218)](q,_0x2ca74d);}['onStarting'](){var _0x122340=_0x5e85b0;this[_0x122340(0x2f7)](),this[_0x122340(0x3d7)]();}[_0x5e85b0(0x2f7)](){var _0x501120=_0x5e85b0,_0x5bed08,_0x298a41;this[_0x501120(0x35f)][_0x501120(0x2ed)](_0x1d308d)&&this['_logService'][_0x501120(0x371)](_0x501120(0x2ee),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x27d74f=_0x47ea98([[_0x1d308d,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config'][_0x501120(0x283)]}],[_0x422aa5,{'useClass':Nt}],[_0x18882c,{'useClass':Rt}],[_0x47430b,{'useClass':Ot}],[_0x2bde30,{'useClass':yt}],[st],[Ct]],(_0x5bed08=this[_0x501120(0x2bb)])==null?void 0x0:_0x5bed08[_0x501120(0x251)]);if(!((_0x298a41=this[_0x501120(0x2bb)])!=null&&_0x298a41[_0x501120(0x3a9)])){const _0x121f6a=_0x27d74f[_0x501120(0x30d)](([_0x4f21bc])=>_0x4f21bc===ht);_0x121f6a!==-0x1&&_0x27d74f[_0x501120(0x1e4)](_0x121f6a,0x1);}_0x234443(this['_injector'],_0x27d74f);}[_0x5e85b0(0x3d7)](){var _0x1d3a01=_0x5e85b0,_0x8c5e86,_0x37f002,_0x5b0c51;this[_0x1d3a01(0x35f)][_0x1d3a01(0x3d0)](_0x4dfb46)[_0x1d3a01(0x1a2)]({'priority':0x14,'interceptor':_0x2d4b93({'maxParallel':0x6})}),(_0x8c5e86=this[_0x1d3a01(0x2bb)])!=null&&_0x8c5e86[_0x1d3a01(0x328)]||(_0x37f002=this[_0x1d3a01(0x35f)]['get'](J,_0x518a69[_0x1d3a01(0x17b)]))==null||_0x37f002[_0x1d3a01(0x307)](),(_0x5b0c51=this['_config'])!=null&&_0x5b0c51[_0x1d3a01(0x15b)]&&_0x4b5881(this[_0x1d3a01(0x35f)],[[rt]]),_0x4b5881(this[_0x1d3a01(0x35f)],[[at],[st],[ot]]);}};Ir(Ut,_0x5e85b0(0x39f),Tr),Ut=Er([_0x2709f9(_0x50c844,_0x3df885),St(0x1,_0x4f17e2),St(0x2,_0x4e6a0f(_0x2a76ad)),St(0x3,_0x57235c)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};function _0x4c89(){var _0xf01714=['_changesetReqId','_initRequestHeader','length','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_onUserJoin','clone','getFocusedUnit','_unlockTransition','cmd','randomUUID','getImage','\x20-\x20','getResourcesRequest','collaboration-client.local-cache-service','signUrlServerUrl','commentUpdate$','rng','words','_sender','enableOfflineEditing','_onCombEvent','_rescheduleHeartbeat','[PendingState]:\x20received\x20acknowledgement.','ceil','editing\x20status\x20changed\x20to','5342724EikLHu','ERROR_IMAGE_TYPE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_schedule','_tryEnsureSocket','_HTTPService','fetchThroughInterceptors','LICENSE_DISTRO_REJECTED','_commandService','getCollabEntity$','size','EMAIL_HAS_BEEN_BOUND','collaboration_new_changeset','getSheetId','_onConnectionFailed','_loadDoc','href','_unitID','INVALID_INVITE_CODE','startTime','interceptor','_invKeySchedule','_substituteUndoStack','Utf8','_shouldReportTelemetry','synced','failed\x20to\x20apply\x20missed\x20changesets!','SNAPSHOT_HAS_BEEN_REMOVED','_key','_imageSourceCache','_clearRetryConnectingTimer','getTypeOfUnitDisposed$','/universer-api/stream/file/upload','_getUploadFileURL','_throwTelemetryCollaborationNewChangeset','_getUndoStack','_collaborationPaused','_entities','clamp','[CollaborationSessionService]','_undoRedoService','onCommentUpdate','_onJoinRoomEvent','setCurrentUser','ERROR_EXCEED_SIZE','replace','session.room-not-exists','&source=','saveChangeset','_injector','HmacSHA1','leaveEvent','pending','textRanges','catch','sheets','find','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','7YKSaSn','_roomCreated$','userID','_unitInfo$','_nRounds','conflict','UNKNOWN_CODE','Pkcs7','__Key__','error','resolve','unitID','/object/','getCurrentUser','_replaceFileID','includes','_clearHeartbeatTimer','onRemoteRetry','randomBytes','_createSocket','joinRsp','CHANGESET_ACK','executeCommand','unitId','_keyPriorReset','readAsDataURL','APPLY_NON_SEQUENTIAL_REVISION','open$','/universer-api/file/{fileID}/sign-url','result','HttpImport','UNDEFINED','eventID','_createHmacHelper','setShowComponents','liveShareNewHost','_redoStacks','_snapshotService','_change$','USER_NOT_INVITED_CODE','PasswordBasedCipher','_transformUndoredo','removeMember','4652810euEOyy','getMember','max','_univerInstanceService','_resendTimer','FETCH_MISSING','objects','_clearCollaborationTimeoutTimer','fromCharCode','_resendTimeout','transformStack\x20failed!','sid','pluginName','transformChangesets','_hash','YUUMI_RATE_OVER_LIMIT','AWAITING','getRandomValues','_awaitingChangeset','INTERNAL_ERROR','default','sessionStatus$','enableSingleActiveInstanceLock','fetch_missing','msCrypto','OpenSSL','\x0aCurrent:\x20','slice','\x20in\x20_schedule.','getOwnPropertyDescriptor','univer-pro.collaboration-client.single-active-unit-service','update','formatter','headers','YUUMI_ASYNCIO_CANCELLED','UPDATE_CURSOR','transformUndoRedo','decryptBlock','ALREADY_EXISTS','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_lockTransition','UNRECOGNIZED','getCurrentRevOfUnit','close','map','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','now','LICENSE_IMPORT_SIZE_EXCEEDED','onLocalMutation','UserProfileImg','NOT_COLLAB','filter','_status$','/universer-api/snapshot/','ivSize','padding','kdf','LOCAL_CACHE_INTERVAL','onTransformSelections','originalMeta','ERROR_IMAGE','get','NEW_CHANGESETS','delete','localCacheService','addImageSourceCache','SNAPSHOT_INVALID_SNAPSHOT','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_initDependencies','unknown','reverse','_applyRemoteChangeset','SOCKET_FAILED_RETRY','APPLY_REJECT','_getAPIPrefixPath','AES','PSEUDO_FETCH_MISSING_RESULT','compute','uploadFileServerUrl','_snapshotServerService','_sendHeartbeat','UNKNOWN_CMD','_init','_incrementRevisionNumber','_scheduleCompleteTimestamp','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','symbol','socket\x20close','_xformMode','FETCH_MISS','refreshPermission','responseType','_localCacheService','_process','lib','min','_onRemoteACK','Decryptor','fetching\x20missing\x20changesets\x20from\x20','_sendingTimer','UNIVER_PROJECT','range','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_roomMembers','_createInitialState','_tryReconnect','connection\x20error','COMPLETION_FINISHED','_loadSheet','data','_waitForHeartbeatResponse','reqId','DEFAULT_FILE_NAME','_socket','_getRedoStack','_changesetSessionId','getLatestCsReqIdBySid','saveSnapshot','putCollaborators','_httpService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_getDownloadEndpointURL','post','$super','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_transformRemoteChangesetByStateCache','event$','_initCloseConn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','&assign=','_onRemoteRejected','_entityInit$','MD5','_iv','dispose','_clearRedo','POST','_waitCount','indexOf','CipherParams','values','_removeRoom','NOT_FOUND','online$','_clearUndo','Could\x20not\x20dynamically\x20require\x20\x22','updateCursorEvent','PENDING','mutations','Hasher','HttpExport','_transformService','COMPRESS_MUTATION_SEND','CLOSE_ROOM','GLOBAL_ROOMS_CNT_EXCEEDS','_transformStack','_isPermissionRej','_sendHeartbeatTimer','baseRev','create','Cipher','session','location','_getLoginPath','getSnapshotAPIPath','_getAPIPrefix','USERS_ENTER','PY_RUNTIME_SCRIPT_ERROR','FileId','actions','_revisionService','_onMessage','objectType','auth.needGotoLoginAlert','/block/','getValue','transformSelections','_onRecvEvent','LEAVE','sessionStatus','/universer-api/oidc/authpage','/new_changes','waitForRoom$','onTransformRemoteChangesetByStateCache','_getSendChangesetTimeout','WordArray','crypto','_joinRoom','send','getCollabEntity','updatePermissionPoint','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_minBufferSize','_instanceService','_logService','_members','debug','SUCCUSS','hasher','image/jpg','onTransformIME','enableAuthServer','7008512biFhkH','YUUMI_SUBSCRIPTION_NOT_FOUND','_listenToNetworkCondition','Base64','/universer-api/snapshot','_configService','image/gif','CHANGESET_SHOULD_RETRY','UNIVER_SLIDE','createSocket','SUBMIT_CHANGESET_TIMEOUT','every','_startTelemetryCollaborationNewChangeset','Hex','getInterceptPoints','_socket$','_collaborationSessionService','CONFLICT','_collabSessionService','22wflJus','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','/-/object/list','[OfflineState]:\x20received\x20acknowledgement.','getTime','readInt32LE','asObservable','sendChangesetTimeout','_exhaustRemoteChangesetQueue','RECV','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CBC','OPTIONAL','_updateStatus','[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.','call','_cipher','mixIn','revision','MUTATION','IDLE','[OfflineState]:\x20received\x20rejection.','authzUrl','_commentUpdate$','entityInit$','cfg','subUnitId','editingUnit','requireSession','format','_doFinalize','concat','COLLAB_WEB_SOCKET_URL','_permissionService','onRemoteChangeset','pad','unitId\x20is\x20not\x20found','roomInfos','reject','NO_OTHER_CLIENTS_EDITING','Malformed\x20UTF-8\x20data','_localeService','toString','JOIN_ROOM_NOT_EXISTS','getActiveSheet','[PendingState]:\x20received\x20rejection.','incrementRevOfUnit','getAllMembers','byteOffset','commentUpdateEvent','_retryConnectingTimer','registerHTTPInterceptor','PERMISSION_DENIED','_resendWithTimeout','init','workbook','appendMutation','resourceIDs','_startCollaboration','pauseCollaboration','loadUnit','YUUMI_NO_CUBOID_FOR_QUESTION','onSendChangeset','file','19GqzoWE','/universer-api/user/session-ticket','updateOfflineData','selections','onRemoteAck','forEach','function','LOGIN_URL_KEY','withCredentials','execute','entries','finalize','generateRandomId','[FetchMissState]','JOIN','_onLocalMutation','JOIN_ROOM_PERMISSION_DENIED','reduce','&to=','memberID','close$','code','_nDataBytes','_transitionLocked','CHANGESET_REVISION_CONFILICT','CHANGESET_REJ','onMissedChangesetFetched','c1Prime','loadSheet','session.room-cnt-exceeds','_state','mode','_emitMembers','_remoteChangesetQueue','TOO_MANY_REQUESTS','HELLO','setWaitCount','disposeWithMe','_undoStacks','_toggleOnline','AUTHZ_URL_KEY','subject','_transformIMECache','string','awaiting_with_pending','UNIVER_DOC','_oKey','_userManagerService','append','LIVESHARE_FETCH_OPERATIONS','_scheduleCollaborationTimeoutTimer','INVITE_CODE_ALREADY_BOUND','push','splice','m2Prime','changesets','_onRemoteRetry','HEARTBEAT_TIMEOUT','sigBytes','Failed\x20to\x20update\x20permission\x20point','_onFetchMissResult','fromCollab','_prevBlock','LOGIN_FAILED','getUnitType','_doCryptBlock','initWorkbookPermissionChange','YUUMI_URL_COL_OUT_OF_RANGE','join','HEARTBEAT','SYNCED','focused$','BufferedBlockAlgorithm','_map','INVITE_CODE_REQUIRED','image/jpeg','RETRY_CONNECTING_MAX_COUNT','_transformSelections','Base','getUnitStatus$','BlockCipher','_collaborationTimeoutTimer','_substituteRedoStack','resend','algo','onSyncEditingCollabCursor','_doProcessBlock','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','ciphertext','updatePermissionObjEvent','session.room-permission-denied','floor','_ENC_XFORM_MODE','Encryptor','_decreaseWaiting','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_createHelper','avatar','USERS_LEAVE','objectActions','not_collab','listCollaborators','csShouldRetryEvent','/allowed','COMPRESS_MUTATION_APPLY','setConfig','_socketReady','OTHER_CLIENT_EDITING','clear','getUnitId','_updateLocalCache','univer-pro.collaboration-client.network-condition.service','image/bmp','encodeURIComponent','{fileID}','/collaborator','charCodeAt','/fetchmissing?from=','_transformStateCache','_telemetryInfo','title','add','status','[DataLoaderService]','OTHER_CLIENTS_EDITING','then','INVITE_CODE_HAS_BEEN_UES','toLowerCase','_fetchMissChangesets','PERSON','_sessionStatus$','LIVESHARE_OPERATION','type','hostname','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','offline','collaboratorID','random','dispose$','_clearLocalCache','BASE64','_onOffline','_getSignURL','/universer-api/uniscript','saveImage','complete','_candidateSocket','charAt','getCurrentSelections','encryptBlock','salt','APPLY_DUPLICATED','unsubscribe','UPDATE_PERMISSION_OBJ','collaborators','_createHandler','_syncEditingCollabCursor','_memberService','toggleOnline','fetchMissingChangesets','_mode','body','override','__creator','equals','[CollaborationUndoRedoService]','JOINING','LIVESHARE_TERMINATE','requestParams','emitEvent','_singleActiveUnitService','1198359JCjckS','_sheetTransformSelectionsService','loadDoc','SUBMIT_CHANGESET','_keySchedule','getTypeOfUnitAdded$','isArray','_eventService','_collaborationUIEventService','getMemberID','_executeRemoteChangeset','COMMENT_UPDATE','UnitEmbedded','ONLINE','key','_checkMissing','_compressMutationService','UNIVER_SHEET','url','[SyncedState]:\x20received\x20rejection.','FAIL','2739894pcwJfL','_hasher','_socketService','localeService','_socketMessageSubscription','APPLY_REVISION_CONFILICT','deepClone','_showConflictNotification','updateMember','_telemetryService','CONNECTOR_DATA_TOO_LARGE','People','OFFLINE','_iKey','message$','routeKey','ws://127.0.0.1:8000/universer-api/comb/connect','_type','Univer','prototype','socketService','reset','INGEST','save\x20fail\x20reason\x20is\x20','put','deleteCollaborator','_timeoutTimer','set','[CollaborationSessionService]:\x20socket\x20error','JOIN_ROOM_FULL','StreamCipher','_updateState','[CollaborationSession]','capture','shouldCloseConn','subscribe','ENSURE_SNAPSHOT_EXECUTION','buffer','NoPadding','error$','_reverseMap','unpad','createEncryptor','_pendingMutations','awaiting','name','onTransformRemoteChangesetByIMECache','_data','WECHAT_HAS_BEEN_BOUND','\x0aAfter:\x20','/unit/','_initMergeInterceptor','transformMutationsWithChangeset','APPLY_PERMISSION_DENIED','onTransformState','list','encrypt','createDecryptor','stringify','parse','stopTime','INVALID_ARGUMENT','joinEvent','state','[CollaborationState]:\x20apply\x20error!','_handlerCallback','SOCKET_FAILED','UnitSnapshot','status$','addHandlerCallback','_networkConditionService','_createInitialStateImpl','keySize','_append','SHA1','_onConnectionOpen','_config','_doCreateSocket','LICENSE_MAX_UNITS_EXCEEDED','_onUserLeave','_transformRemoteChangesetByIMECache','pipe','_initUnitPermissionChange','byteLength','4368020xAItCe','_submitChangeset','submit\x20changeset\x20error!','8ZjIejn','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_sessions','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','state$','_acknowledgedAwaitingChangeset','MSG_FOR_ERROR','awaitingChangeset','next','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','params','enc','[PendingState]:\x20unhandled\x20univer\x20type:\x20','defineProperty','_onRemoteChangeset','telemetry\x20info\x20is\x20not\x20initialized','UNAUTHENTICATED','bind','_clearTimeoutTimer','csAckEvent','collaMsg','_clearScheduledTask','exports','apply','method','onStateChange','processBlock','loadOfflineData','_toggleOffline','COLLAB_SUBMIT_CHANGESET_URL','_state$','_event$','PERMISSION_REJ','LICENSE_EXPORT_SIZE_EXCEEDED','blockSize','EvpKDF','duration','isPermissionRej','/universer-api/authz','has','[UniverCollaborationClientPlugin]','SEND_CHANGESET_TIMEOUT','getRoom','_retryCount','LIVESHARE_REQUEST_HOST','_commentService','toggleOffline','HMAC','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_registerDependencies','onload','objectID','[CollaborationEntity]','172478aoPuCY','infoRsp','LIVESHARE_NEW_HOST','JOIN_ROOM_FAILED','AWAITING_WITH_PENDING','onMissingChangesets','hasOwnProperty','_getCurrentRevision','repeat','BlockCipherMode','extend','Undefined','disableLocalCache','_onConflict','_handler','_queuedRemoteChangesets','_members$','onRemoteRej','findIndex','_doReset','_parse','json','loginUrlKey','_stopTelemetryCollaborationNewChangeset','createInstance','getConfig'];_0x4c89=function(){return _0xf01714;};return _0x4c89();}
|