@univerjs-pro/collaboration-client 0.8.0-nightly.202505301607 → 0.8.0-nightly.202505311606

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x8cc9a2=_0x178d;(function(_0x67f9e9,_0x100f7e){var _0x5e981b=_0x178d,_0x24c867=_0x67f9e9();while(!![]){try{var _0x1d80fb=parseInt(_0x5e981b(0x1aa))/0x1+-parseInt(_0x5e981b(0x267))/0x2*(parseInt(_0x5e981b(0x310))/0x3)+-parseInt(_0x5e981b(0x289))/0x4*(-parseInt(_0x5e981b(0x30b))/0x5)+-parseInt(_0x5e981b(0x2b7))/0x6*(parseInt(_0x5e981b(0x30c))/0x7)+parseInt(_0x5e981b(0xf4))/0x8+parseInt(_0x5e981b(0x2d1))/0x9*(parseInt(_0x5e981b(0x1a3))/0xa)+-parseInt(_0x5e981b(0x129))/0xb;if(_0x1d80fb===_0x100f7e)break;else _0x24c867['push'](_0x24c867['shift']());}catch(_0x6cdf){_0x24c867['push'](_0x24c867['shift']());}}}(_0x1e84,0xdb009));var Di=Object['defineProperty'],Ui=(_0x49050a,_0x1872e8,_0x45b9fc)=>_0x1872e8 in _0x49050a?Di(_0x49050a,_0x1872e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45b9fc}):_0x49050a[_0x1872e8]=_0x45b9fc,N=(_0x5f1128,_0x2448aa,_0x586e76)=>Ui(_0x5f1128,typeof _0x2448aa!='symbol'?_0x2448aa+'':_0x2448aa,_0x586e76);import{createIdentifier as _0x217a73,Inject as _0x2bc925,Injector as _0x5c0aec,IConfigService as _0x195c73,ILogService as _0xd27129,Disposable as _0x580a3b,DisposableCollection as _0x3b9aba,toDisposable as _0x3d946d,IUniverInstanceService as _0x24fe3b,UserManagerService as _0x3806f3,UniverInstanceType as _0x444bb2,LocaleService as _0x48830e,Optional as _0x31269b,RxDisposable as _0x13f7ae,Tools as _0x17f42b,Rectangle as _0xbecd6c,ICommandService as _0x8da825,JSONX as _0x383395,CommandType as _0x2aff31,IUndoRedoService as _0x1ab2de,IPermissionService as _0x2c39ae,sequenceExecute as _0x157570,Workbook as _0x118162,MentionType as _0x18d35c,isInternalEditorID as _0x2b0287,LocalUndoRedoService as _0x416660,IContextService as _0x128882,DependentOn as _0x356294,Plugin as _0x42526b,merge as _0x35ab8b,mergeOverrideWithDependencies as _0x4935cd,IAuthzIoService as _0x38a123,IMentionIOService as _0x449fda,registerDependencies as _0x218ff3,Quantity as _0x5df4bb,touchDependencies as _0xc06ae3}from'@univerjs/core';import{Subject as _0x71a712,merge as _0x4e790d,of as _0x32f5dc,BehaviorSubject as _0xf5efdc,takeUntil as _0x49e2dd,ReplaySubject as _0x5c9c56,take as _0x1d9788,map as _0x2b99f6,shareReplay as _0x280cd0,firstValueFrom as _0x54ae21,concatMap as _0x4ea64a}from'rxjs';import{map as _0xcf6408,take as _0x1ff15b,filter as _0x469615,delay as _0x4b53e2,takeUntil as _0x108dc2}from'rxjs/operators';import{CollaborationEvent as _0x52d112,ISnapshotServerService as _0x591680,parseChangesetToProtocol as _0x27472e,ITransformService as _0x20376b,isTransformMutationsWithChangesetSuccess as _0xaeb0b0,mapDocumentTypeToUniverType as _0x451344,RevisionService as _0x55e017,isTransformChangesetsSuccess as _0x53b0a7,CompressMutationService as _0x4b00a2,parseProtocolChangeset as _0xb25bd1,uuidv4 as _0xdb3176,SnapshotService as _0x4b7bbc,textEncoder as _0x260c50,b64DecodeUnicode as _0x3e3d73,isTransformMutationsWithChangesetFailure as _0x37d180,UniverCollaborationPlugin as _0x215b5a}from'@univerjs-pro/collaboration';import{HTTPService as _0x2b7687,ISocketService as _0x50b473,MergeInterceptorFactory as _0x480f26,HTTPRequest as _0x47c3f2,UniverNetworkPlugin as _0x1310cc,ThresholdInterceptorFactory as _0x57bbb5}from'@univerjs/network';import{ITelemetryService as _0x5f2298}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x6cc34}from'@univerjs/docs';import{SheetsSelectionsService as _0x5db5ca,SetSelectionsOperation as _0x54316f,InsertSheetMutation as _0x1d6366,EmptyMutation as _0x626df2,WorkbookEditablePermission as _0x4721f5,SheetPermissionInitController as _0x12aebc}from'@univerjs/sheets';import{ImageSourceType as _0x33e4d2,ImageUploadStatusType as _0x42d9c1,IImageIoService as _0x478784}from'@univerjs/drawing';function _0x178d(_0x3faa5c,_0x42a80f){var _0x1e847a=_0x1e84();return _0x178d=function(_0x178dd1,_0x1cb770){_0x178dd1=_0x178dd1-0xbf;var _0x6c7cc3=_0x1e847a[_0x178dd1];return _0x6c7cc3;},_0x178d(_0x3faa5c,_0x42a80f);}import{getGlobalObject as _0x58db97}from'@univerjs-pro/license';const fs=_0x8cc9a2(0xcb),vs=_0x8cc9a2(0x367),ps=_0x8cc9a2(0x1c3),yr=_0x8cc9a2(0x17b),ms=0x7d0,gs='COLLAB_WEB_SOCKET_URL',Ss=_0x8cc9a2(0x2dd),Nr='/universer-api/user/session-ticket',Es=_0x8cc9a2(0x2d4),Is=0x7530,fi=_0x8cc9a2(0x1ea),vi=0x4e20,Ts=0x4e20,Cs='RETRY_CONNECTING_MAX_COUNT',Rs=0x3,Dr=_0x8cc9a2(0x298),Ur=0x3e8,bs='COLLAB_SUBMIT_CHANGESET_URL',Os=_0x8cc9a2(0x2a4),ys='LOGIN_URL_KEY',Ns=_0x8cc9a2(0x2c8),Ar=_0x8cc9a2(0x236),wr=_0x8cc9a2(0x13d);var pi=(_0x31895f=>(_0x31895f[_0x31895f['UNDEFINED']=0x0]='UNDEFINED',_0x31895f[_0x31895f['OK']=0x1]='OK',_0x31895f[_0x31895f['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x31895f[_0x31895f[_0x8cc9a2(0x253)]=0x3]=_0x8cc9a2(0x253),_0x31895f[_0x31895f[_0x8cc9a2(0x26b)]=0x4]=_0x8cc9a2(0x26b),_0x31895f[_0x31895f['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x31895f[_0x31895f[_0x8cc9a2(0x20d)]=0x6]=_0x8cc9a2(0x20d),_0x31895f[_0x31895f[_0x8cc9a2(0x1c1)]=0x7]='INVALID_ARGUMENT',_0x31895f[_0x31895f[_0x8cc9a2(0x14a)]=0x8]=_0x8cc9a2(0x14a),_0x31895f[_0x31895f[_0x8cc9a2(0x27c)]=0x9]='COMPLETION_FINISHED',_0x31895f[_0x31895f[_0x8cc9a2(0x152)]=0xa]='LOGIN_FAILED',_0x31895f[_0x31895f[_0x8cc9a2(0x28f)]=0x1389]=_0x8cc9a2(0x28f),_0x31895f[_0x31895f[_0x8cc9a2(0x18e)]=0x1771]=_0x8cc9a2(0x18e),_0x31895f[_0x31895f[_0x8cc9a2(0xd2)]=0x1772]=_0x8cc9a2(0xd2),_0x31895f[_0x31895f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x8cc9a2(0x128),_0x31895f[_0x31895f[_0x8cc9a2(0x247)]=0x1b59]='APPLY_REJECT',_0x31895f[_0x31895f[_0x8cc9a2(0x2ae)]=0x1b5a]=_0x8cc9a2(0x2ae),_0x31895f[_0x31895f[_0x8cc9a2(0x372)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x31895f[_0x31895f[_0x8cc9a2(0x305)]=0x1b5c]=_0x8cc9a2(0x305),_0x31895f[_0x31895f[_0x8cc9a2(0x32f)]=0x1b5d]=_0x8cc9a2(0x32f),_0x31895f[_0x31895f[_0x8cc9a2(0xbf)]=0x1f41]=_0x8cc9a2(0xbf),_0x31895f[_0x31895f[_0x8cc9a2(0x393)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x31895f[_0x31895f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x8cc9a2(0x15c),_0x31895f[_0x31895f[_0x8cc9a2(0x2e7)]=0x232b]=_0x8cc9a2(0x2e7),_0x31895f[_0x31895f[_0x8cc9a2(0x15d)]=0x232c]=_0x8cc9a2(0x15d),_0x31895f[_0x31895f[_0x8cc9a2(0x12e)]=0x232d]=_0x8cc9a2(0x12e),_0x31895f[_0x31895f[_0x8cc9a2(0x272)]=0x2711]=_0x8cc9a2(0x272),_0x31895f[_0x31895f[_0x8cc9a2(0xf6)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x31895f[_0x31895f[_0x8cc9a2(0x326)]=0x2713]=_0x8cc9a2(0x326),_0x31895f[_0x31895f[_0x8cc9a2(0x27f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x31895f[_0x31895f[_0x8cc9a2(0x206)]=0x271a]=_0x8cc9a2(0x206),_0x31895f[_0x31895f[_0x8cc9a2(0x186)]=0x271b]=_0x8cc9a2(0x186),_0x31895f[_0x31895f[_0x8cc9a2(0x1c0)]=0x271c]=_0x8cc9a2(0x1c0),_0x31895f[_0x31895f[_0x8cc9a2(0x32c)]=0x271d]=_0x8cc9a2(0x32c),_0x31895f[_0x31895f[_0x8cc9a2(0x2be)]=0x271e]=_0x8cc9a2(0x2be),_0x31895f[_0x31895f[_0x8cc9a2(0x2ab)]=0x271f]=_0x8cc9a2(0x2ab),_0x31895f[_0x31895f[_0x8cc9a2(0x1a0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x31895f[_0x31895f[_0x8cc9a2(0x31c)]=0x2ee1]=_0x8cc9a2(0x31c),_0x31895f[_0x31895f[_0x8cc9a2(0x1d7)]=0x2ee2]=_0x8cc9a2(0x1d7),_0x31895f[_0x31895f[_0x8cc9a2(0x235)]=0x2ee3]=_0x8cc9a2(0x235),_0x31895f[_0x31895f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x8cc9a2(0x2a5),_0x31895f[_0x31895f[_0x8cc9a2(0x352)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x31895f[_0x31895f[_0x8cc9a2(0x222)]=0x32c9]=_0x8cc9a2(0x222),_0x31895f[_0x31895f[_0x8cc9a2(0x16b)]=0x32ca]=_0x8cc9a2(0x16b),_0x31895f[_0x31895f[_0x8cc9a2(0xf1)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x31895f[_0x31895f['UNRECOGNIZED']=-0x1]=_0x8cc9a2(0x13c),_0x31895f))(pi||{}),Z=(_0x5b5622=>(_0x5b5622[_0x5b5622['UNIVER_UNKNOWN']=0x0]=_0x8cc9a2(0xf7),_0x5b5622[_0x5b5622[_0x8cc9a2(0x11c)]=0x1]=_0x8cc9a2(0x11c),_0x5b5622[_0x5b5622['UNIVER_SHEET']=0x2]=_0x8cc9a2(0x2f4),_0x5b5622[_0x5b5622['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5b5622[_0x5b5622['UNIVER_PROJECT']=0x4]=_0x8cc9a2(0x34e),_0x5b5622[_0x5b5622[_0x8cc9a2(0x13c)]=-0x1]=_0x8cc9a2(0x13c),_0x5b5622))(Z||{}),F=(_0x10fa81=>(_0x10fa81[_0x10fa81[_0x8cc9a2(0x139)]=0x0]=_0x8cc9a2(0x139),_0x10fa81[_0x10fa81[_0x8cc9a2(0x2c4)]=0x1]=_0x8cc9a2(0x2c4),_0x10fa81[_0x10fa81['JOIN']=0x2]='JOIN',_0x10fa81[_0x10fa81[_0x8cc9a2(0x359)]=0x3]='LEAVE',_0x10fa81[_0x10fa81[_0x8cc9a2(0x19c)]=0x4]=_0x8cc9a2(0x19c),_0x10fa81[_0x10fa81[_0x8cc9a2(0x39d)]=0x5]=_0x8cc9a2(0x39d),_0x10fa81[_0x10fa81[_0x8cc9a2(0x1af)]=0x6]=_0x8cc9a2(0x1af),_0x10fa81[_0x10fa81[_0x8cc9a2(0x13c)]=-0x1]=_0x8cc9a2(0x13c),_0x10fa81))(F||{}),me=(_0x13d0f5=>(_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x3c4)]=0x0]=_0x8cc9a2(0x3c4),_0x13d0f5[_0x13d0f5['OK']=0x1]='OK',_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x125)]=0x2]='FAIL',_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x22d)]=0x3e9]=_0x8cc9a2(0x22d),_0x13d0f5[_0x13d0f5['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x8cc9a2(0x399),_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x178)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x2c5)]=0x3ec]=_0x8cc9a2(0x2c5),_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x13c)]=-0x1]='UNRECOGNIZED',_0x13d0f5))(me||{}),mi=(_0x305b81=>(_0x305b81[_0x305b81[_0x8cc9a2(0x143)]=0x0]='Undefined',_0x305b81[_0x305b81['HttpImport']=0x1]=_0x8cc9a2(0x369),_0x305b81[_0x305b81[_0x8cc9a2(0x2dc)]=0x2]=_0x8cc9a2(0x2dc),_0x305b81[_0x305b81[_0x8cc9a2(0x1ba)]=0x3]='UnitEmbedded',_0x305b81[_0x305b81[_0x8cc9a2(0x31f)]=0x4]=_0x8cc9a2(0x31f),_0x305b81[_0x305b81[_0x8cc9a2(0x10a)]=0x5]='UserProfileImg',_0x305b81[_0x305b81[_0x8cc9a2(0x13c)]=-0x1]=_0x8cc9a2(0x13c),_0x305b81))(mi||{});const K='collaboration-client.config',Ds={};var ne=(_0x50e5e2=>(_0x50e5e2[_0x8cc9a2(0x295)]=_0x8cc9a2(0x295),_0x50e5e2[_0x8cc9a2(0x253)]=_0x8cc9a2(0x253),_0x50e5e2[_0x8cc9a2(0x2ee)]='CONFLICT',_0x50e5e2[_0x8cc9a2(0x22a)]=_0x8cc9a2(0x22a),_0x50e5e2[_0x8cc9a2(0x383)]=_0x8cc9a2(0x383),_0x50e5e2[_0x8cc9a2(0x19a)]='SOCKET_FAILED_RETRY',_0x50e5e2[_0x8cc9a2(0x312)]='SOCKET_FAILED',_0x50e5e2[_0x8cc9a2(0x18d)]=_0x8cc9a2(0x18d),_0x50e5e2))(ne||{});class ve{constructor(){var _0x2b74cd=_0x8cc9a2;N(this,_0x2b74cd(0x3b2),new _0x71a712()),N(this,_0x2b74cd(0x395),this[_0x2b74cd(0x3b2)]['asObservable']());}[_0x8cc9a2(0x350)](_0xba1630){var _0x3c863e=_0x8cc9a2;this[_0x3c863e(0x3b2)]['next'](_0xba1630);}}const Us=_0x217a73(_0x8cc9a2(0x145));function As(_0x25eeab){var _0x1db796=_0x8cc9a2,_0x179054,_0x18ca88,_0x574f05,_0x532f2e,_0x55b5f9;const _0x542178=_0x25eeab['data'],_0x5f526=JSON[_0x1db796(0x3c3)](_0x542178);switch(_0x5f526[_0x1db796(0x33a)]){case F[_0x1db796(0x39d)]:case F['HELLO']:{const _0x5aca88=_0x5f526[_0x1db796(0x1d6)];return{..._0x5f526,'data':_0x5aca88,'cmd':_0x5f526['cmd']};}case F[_0x1db796(0x1bd)]:{const _0x4ab8fa=_0x5f526[_0x1db796(0x300)];return{..._0x5f526,'data':_0x4ab8fa,'cmd':_0x5f526['cmd']};}case F[_0x1db796(0x1af)]:{const _0x2c4249=_0x5f526[_0x1db796(0x12f)];switch(_0x2c4249[_0x1db796(0x22e)]){case _0x52d112[_0x1db796(0x2b2)]:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x179054=_0x2c4249[_0x1db796(0x21d)])==null?void 0x0:_0x179054['cs']},'cmd':_0x5f526['cmd']};case _0x52d112[_0x1db796(0x2a7)]:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x18ca88=_0x2c4249['csAckEvent'])==null?void 0x0:_0x18ca88['cs']},'cmd':_0x5f526['cmd']};case _0x52d112['NEW_CHANGESETS']:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x574f05=_0x2c4249['newCsEvent'])==null?void 0x0:_0x574f05['cs']},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x224)]:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x532f2e=_0x2c4249[_0x1db796(0x37d)])==null?void 0x0:_0x532f2e['cs']},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112['CHANGESET_SHOULD_RETRY']:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x55b5f9=_0x2c4249['csShouldRetryEvent'])==null?void 0x0:_0x55b5f9['cs']},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x23d)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x160)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x33d)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249['joinEvent']},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x229)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x21b)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x37a)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x308)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112['LIVESHARE_FETCH_OPERATIONS']:case _0x52d112[_0x1db796(0x165)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x338)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x225)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x308)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x2a2)]:return{..._0x5f526,'data':_0x2c4249,'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x2e3)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x187)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0xc6)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x316)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112['SHOULD_CLOSE_CONN']:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x377)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0xce)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0xf5)]},'cmd':_0x5f526[_0x1db796(0x33a)]};default:return _0x5f526;}}default:return _0x5f526;}}function ws(_0xb34013){var _0x5dc59e=_0x8cc9a2;switch(_0xb34013[_0x5dc59e(0x33a)]){case F[_0x5dc59e(0x39d)]:case F[_0x5dc59e(0x2c4)]:return JSON[_0x5dc59e(0x133)]({'cmd':_0xb34013['cmd'],'routeKey':_0xb34013[_0x5dc59e(0x34d)]});case F[_0x5dc59e(0x19c)]:{let _0x22efa9;switch(_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x22e)]){case _0x52d112['UPDATE_CURSOR']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x23d)],'updateCursorEvent':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112[_0x5dc59e(0x229)]:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x229)],'leaveEvent':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112['USERS_ENTER']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x33d)],'joinEvent':_0xb34013['data']['data']};break;}case _0x52d112['LIVESHARE_NEW_HOST']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x37a)],'liveShareNewHost':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112['LIVESHARE_OPERATION']:{_0x22efa9={'eventID':_0x52d112['LIVESHARE_OPERATION'],'liveShareOperation':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112[_0x5dc59e(0x225)]:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x225)],'liveShareTerminate':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112['LIVESHARE_REQUEST_HOST']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x1e4)],'liveShareRequestHost':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112['LIVESHARE_FETCH_OPERATIONS']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x3b5)]};break;}default:_0x22efa9={'eventID':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x22e)]};}return JSON['stringify']({'cmd':_0xb34013[_0x5dc59e(0x33a)],'routeKey':_0xb34013[_0x5dc59e(0x34d)],'collaMsg':_0x22efa9});}case F['JOIN']:return JSON['stringify']({'cmd':_0xb34013[_0x5dc59e(0x33a)],'routeKey':_0xb34013[_0x5dc59e(0x34d)],'joinReq':_0xb34013[_0x5dc59e(0x32a)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0xb34013[_0x5dc59e(0x33a)],'routeKey':_0xb34013[_0x5dc59e(0x34d)],'leaveReq':_0xb34013[_0x5dc59e(0x32a)]});default:throw new Error(_0x5dc59e(0x1b0));}}var Ps=Object[_0x8cc9a2(0x2fc)],Ls=(_0x24e572,_0x39c66f,_0x4473bb,_0x10dac1)=>{var _0x136b69=_0x8cc9a2;for(var _0x5b8e54=_0x10dac1>0x1?void 0x0:_0x10dac1?Ps(_0x39c66f,_0x4473bb):_0x39c66f,_0x533146=_0x24e572[_0x136b69(0x1ae)]-0x1,_0x247df3;_0x533146>=0x0;_0x533146--)(_0x247df3=_0x24e572[_0x533146])&&(_0x5b8e54=_0x247df3(_0x5b8e54)||_0x5b8e54);return _0x5b8e54;},Ue=(_0x3d7aef,_0x1cd881)=>(_0x35eac3,_0x59211c)=>_0x1cd881(_0x35eac3,_0x59211c,_0x3d7aef);const gi=_0x217a73(_0x8cc9a2(0x38a));function Ms(_0x34c6d3,_0x4fa29c,_0x3e245e){var _0x5c27b5=_0x8cc9a2;return _0x34c6d3+'/'+_0x4fa29c+_0x5c27b5(0xf0)+_0x3e245e+_0x5c27b5(0x388);}let Ft=class extends _0x580a3b{constructor(_0x183949,_0x479608,_0x5e9d3b,_0x5a3c92,_0x2f4372){var _0x4f13cc=_0x8cc9a2;super(),this[_0x4f13cc(0x127)]=_0x183949,this[_0x4f13cc(0x100)]=_0x479608,this[_0x4f13cc(0xee)]=_0x5e9d3b,this[_0x4f13cc(0x3a2)]=_0x5a3c92,this[_0x4f13cc(0x340)]=_0x2f4372;}[_0x8cc9a2(0xdd)](_0x3cf05c){var _0x149091=_0x8cc9a2;const _0x4177bd=this[_0x149091(0x127)][_0x149091(0x313)](_0x50b473);if(!_0x4177bd)throw new Error(_0x149091(0x2eb));const _0x39cca7=_0x4177bd['createSocket'](_0x3cf05c);if(!_0x39cca7)throw new Error(_0x149091(0x3c5));const _0x2f5ff3=new _0x3b9aba(),_0x443d0b=new _0x71a712();_0x2f5ff3[_0x149091(0x2a1)](_0x39cca7[_0x149091(0x149)][_0x149091(0x389)](_0x1a9b51=>_0x443d0b[_0x149091(0x30d)](_0x1a9b51))),_0x2f5ff3[_0x149091(0x2a1)](_0x3d946d(()=>_0x443d0b[_0x149091(0x34f)]()));const _0x38882d=new _0x71a712();_0x2f5ff3[_0x149091(0x2a1)](_0x39cca7['error$'][_0x149091(0x389)](_0x42def9=>_0x38882d[_0x149091(0x30d)](_0x42def9))),_0x2f5ff3[_0x149091(0x2a1)](_0x3d946d(()=>_0x38882d['complete']()));const _0x23685b=new _0x71a712();_0x2f5ff3[_0x149091(0x2a1)](_0x39cca7[_0x149091(0x332)][_0x149091(0x389)](_0x3b84eb=>{var _0x5e4f1d=_0x149091;const _0x121390=As(_0x3b84eb);_0x23685b[_0x5e4f1d(0x30d)](_0x121390);})),_0x2f5ff3[_0x149091(0x2a1)](_0x3d946d(()=>_0x23685b[_0x149091(0x34f)]()));let _0x3eb5e2;const _0x1e1e16=()=>{var _0xbe8228=_0x149091;_0x38882d[_0xbe8228(0x30d)](new Event(_0xbe8228(0x218))),_0x443d0b[_0xbe8228(0x30d)](new Event(_0xbe8228(0x218))),_0x3eb5e2[_0xbe8228(0x24f)]();};return _0x3eb5e2={'memberID':'','close$':_0x443d0b[_0x149091(0x107)](),'error$':_0x38882d[_0x149091(0x107)](),'open$':_0x39cca7['open$'],'message$':_0x23685b[_0x149091(0x107)](),'send':_0x3591f9=>{var _0x5c8b62=_0x149091;if(_0x3591f9[_0x5c8b62(0x33a)]===F['INGEST']){if(_0x3591f9['data']['eventID']===_0x52d112[_0x5c8b62(0x2da)]){this[_0x5c8b62(0x2b3)](_0x3eb5e2,_0x3591f9[_0x5c8b62(0x32a)])[_0x5c8b62(0x2fa)](_0x64bee7=>{var _0x26b234=_0x5c8b62;this[_0x26b234(0x3a2)][_0x26b234(0x237)](_0x64bee7),_0x1e1e16();});return;}if(_0x3591f9[_0x5c8b62(0x32a)][_0x5c8b62(0x22e)]===_0x52d112['FETCH_MISSING']){const _0x2e325d=_0x3591f9['data'];this[_0x5c8b62(0x1b1)](_0x2e325d)[_0x5c8b62(0x15a)](_0x1150b5=>{var _0x59a5a5=_0x5c8b62;_0x23685b['next']({'cmd':F[_0x59a5a5(0x1af)],'code':me['OK'],'routeKey':_0x2e325d[_0x59a5a5(0x32a)]['unitID'],'routeType':'','data':{'eventID':_0x52d112['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1150b5}}});})[_0x5c8b62(0x2fa)](_0x26ffff=>{var _0x311dac=_0x5c8b62;this['_logService'][_0x311dac(0x237)](_0x26ffff),_0x1e1e16();});return;}}_0x39cca7['send'](ws(_0x3591f9));},'close':()=>{var _0x406167=_0x149091;_0x39cca7['close'](),_0x2f5ff3[_0x406167(0x1ab)]();}},_0x3eb5e2;}async['_submitChangeset'](_0x8f6277,_0x608101){var _0x4fdfe4=_0x8cc9a2,_0x51149b,_0x589f0b;const {unitType:_0x28c54d,unitID:_0x4e33a0,changeset:_0x2f68f8}=_0x608101[_0x4fdfe4(0x32a)],_0x3b7f3b={'unitID':_0x4e33a0,'memberID':_0x8f6277[_0x4fdfe4(0x13e)],'type':_0x28c54d,'changeset':_0x27472e(_0x2f68f8)},_0x581810=this[_0x4fdfe4(0xee)][_0x4fdfe4(0x122)](bs),_0x3afbae=this[_0x4fdfe4(0xee)][_0x4fdfe4(0x122)](K),_0x317fb0=Ms((_0x589f0b=(_0x51149b=_0x3afbae==null?void 0x0:_0x3afbae['collabSubmitChangesetUrl'])!=null?_0x51149b:_0x581810)!=null?_0x589f0b:Os,_0x28c54d,_0x4e33a0);try{await this[_0x4fdfe4(0x100)][_0x4fdfe4(0x171)](_0x317fb0,{'body':_0x3b7f3b});}catch(_0x200453){throw this[_0x4fdfe4(0x3a2)][_0x4fdfe4(0x237)](_0x4fdfe4(0x216),_0x4fdfe4(0x2b0)),_0x200453;}}async[_0x8cc9a2(0x1b1)](_0x5d122e){var _0x2e3198=_0x8cc9a2;const {unitID:_0x438748,from:_0x29e422,to:_0x875300,unitType:_0x29a629}=_0x5d122e[_0x2e3198(0x32a)];return(await this['_snapshotServerService'][_0x2e3198(0x120)]({'metadata':void 0x0},{'unitID':_0x438748,'type':_0x29a629,'from':_0x29e422,'to':_0x875300}))[_0x2e3198(0x318)];}};Ft=Ls([Ue(0x0,_0x2bc925(_0x5c0aec)),Ue(0x1,_0x2bc925(_0x2b7687)),Ue(0x2,_0x195c73),Ue(0x3,_0xd27129),Ue(0x4,_0x591680)],Ft);const xs=_0x8cc9a2(0x214);function ks(_0x4008b3){var _0x51ed7a=_0x8cc9a2;return JSON['stringify'](_0x4008b3)[_0x51ed7a(0x1ae)];}class Si{constructor(){var _0x2f4242=_0x8cc9a2;N(this,_0x2f4242(0x231),new _0x71a712()),N(this,_0x2f4242(0x273),this['_commentUpdate$'][_0x2f4242(0x107)]());}['onCommentUpdate'](_0x15bf59){var _0x17940e=_0x8cc9a2;this['_commentUpdate$'][_0x17940e(0x30d)](_0x15bf59);}}var $s=Object[_0x8cc9a2(0x2fc)],Hs=(_0xad1897,_0x1dee6a,_0x30256b,_0x1756ef)=>{var _0x253b9c=_0x8cc9a2;for(var _0x5dac1b=_0x1756ef>0x1?void 0x0:_0x1756ef?$s(_0x1dee6a,_0x30256b):_0x1dee6a,_0x202f3d=_0xad1897[_0x253b9c(0x1ae)]-0x1,_0x3dadfc;_0x202f3d>=0x0;_0x202f3d--)(_0x3dadfc=_0xad1897[_0x202f3d])&&(_0x5dac1b=_0x3dadfc(_0x5dac1b)||_0x5dac1b);return _0x5dac1b;},Vt=(_0x2857f9,_0x157517)=>(_0x9bf36f,_0x1b1fc5)=>_0x157517(_0x9bf36f,_0x1b1fc5,_0x2857f9);let Pe=class extends _0x580a3b{constructor(_0x2d6cec,_0x48fe87){var _0x34b29c=_0x8cc9a2;super(),N(this,_0x34b29c(0x254),new Map()),N(this,_0x34b29c(0x37e),new _0x71a712()),(this['_univerInstanceService']=_0x2d6cec,this['_userManagerService']=_0x48fe87,this[_0x34b29c(0x2ce)](_0x4e790d(this[_0x34b29c(0x370)][_0x34b29c(0x309)](_0x444bb2[_0x34b29c(0x2f4)])['pipe'](_0xcf6408(_0xf412f3=>_0xf412f3['getUnitId']())),this[_0x34b29c(0x370)][_0x34b29c(0x309)](_0x444bb2['UNIVER_DOC'])['pipe'](_0xcf6408(_0x5186a3=>_0x5186a3['getUnitId']())),this['_univerInstanceService'][_0x34b29c(0x309)](_0x444bb2[_0x34b29c(0x36f)])['pipe'](_0xcf6408(_0x2a5a66=>_0x2a5a66[_0x34b29c(0x239)]())))[_0x34b29c(0x389)](_0x17d4ee=>this['_removeRoom'](_0x17d4ee))));}[_0x8cc9a2(0x33c)](_0x318403){var _0x3ed657=_0x8cc9a2;return this[_0x3ed657(0x254)][_0x3ed657(0x16a)](_0x318403)?_0x32f5dc(this[_0x3ed657(0x254)][_0x3ed657(0x313)](_0x318403)):this[_0x3ed657(0x37e)][_0x3ed657(0x265)](_0xcf6408(_0x56c04e=>{var _0x22500e=_0x3ed657;if(_0x56c04e===_0x318403)return this[_0x22500e(0x254)][_0x22500e(0x313)](_0x56c04e);}));}['setCurrentUser'](_0x4e4c82){var _0x5d58e1=_0x8cc9a2;this[_0x5d58e1(0x155)]['setCurrentUser'](_0x4e4c82);}[_0x8cc9a2(0x1a6)](){var _0x2ae9ed=_0x8cc9a2;return this[_0x2ae9ed(0x155)]['getCurrentUser']();}[_0x8cc9a2(0x293)](_0x38dc23,_0x209f68){var _0x1db072=_0x8cc9a2;let _0x5c337c=this[_0x1db072(0x254)][_0x1db072(0x313)](_0x38dc23);_0x5c337c||(_0x5c337c=new Bs(),this[_0x1db072(0x254)][_0x1db072(0x2bb)](_0x38dc23,_0x5c337c),this['_roomCreated$'][_0x1db072(0x30d)](_0x38dc23)),_0x5c337c[_0x1db072(0x293)](_0x209f68);}[_0x8cc9a2(0x105)](_0x15434b,_0x5d63be){var _0x38a137=_0x8cc9a2;const _0x474fb0=this[_0x38a137(0x254)]['get'](_0x15434b);_0x474fb0&&_0x474fb0[_0x38a137(0x105)](_0x5d63be);}['getRoom'](_0x330cae){var _0x589ba6=_0x8cc9a2;return this[_0x589ba6(0x254)][_0x589ba6(0x313)](_0x330cae);}[_0x8cc9a2(0x281)](_0x5bf66c,_0x1669b9){var _0x187031=_0x8cc9a2;const _0x33c5de=this['_roomMembers'][_0x187031(0x313)](_0x5bf66c);if(_0x33c5de)return _0x33c5de[_0x187031(0x281)](_0x1669b9);}[_0x8cc9a2(0x34b)](_0x4cc6cc){var _0x17dd8a=_0x8cc9a2;const _0x11e7a7=this['_roomMembers']['get'](_0x4cc6cc);_0x11e7a7&&(_0x11e7a7[_0x17dd8a(0x1ab)](),this[_0x17dd8a(0x254)][_0x17dd8a(0x2aa)](_0x4cc6cc));}[_0x8cc9a2(0x1ab)](){var _0x388579=_0x8cc9a2;this[_0x388579(0x254)][_0x388579(0x172)](_0x424227=>_0x424227[_0x388579(0x1ab)]()),this[_0x388579(0x254)][_0x388579(0x17a)](),this['_roomCreated$'][_0x388579(0x34f)]();}};Pe=Hs([Vt(0x0,_0x24fe3b),Vt(0x1,_0x2bc925(_0x3806f3))],Pe);class Bs extends _0x580a3b{constructor(){var _0x3831bb=_0x8cc9a2;super(...arguments),N(this,_0x3831bb(0x1ed),new Map()),N(this,_0x3831bb(0x390),new _0xf5efdc(this[_0x3831bb(0x1ed)])),N(this,'members$',this[_0x3831bb(0x390)][_0x3831bb(0x107)]());}['dispose'](){var _0x406c5d=_0x8cc9a2;this[_0x406c5d(0x1ed)]['clear']();}[_0x8cc9a2(0x293)](_0x5aa7ab){var _0xa73497=_0x8cc9a2;this['_members'][_0xa73497(0x2bb)](_0x5aa7ab[_0xa73497(0x13e)],_0x5aa7ab),this[_0xa73497(0x11a)]();}[_0x8cc9a2(0x105)](_0x1cc663){var _0x446653=_0x8cc9a2;this[_0x446653(0x1ed)][_0x446653(0x2aa)](_0x1cc663);}['getMember'](_0x484553){return this['_members']['get'](_0x484553);}['getAllMembers'](){var _0x22db85=_0x8cc9a2;return Array[_0x22db85(0x3a6)](this['_members'][_0x22db85(0x1fb)]());}[_0x8cc9a2(0x11a)](){var _0x5f0260=_0x8cc9a2;this[_0x5f0260(0x390)][_0x5f0260(0x30d)](this[_0x5f0260(0x1ed)]);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x536cee,_0x3dfa95,_0x53e631,_0xd64758)=>{var _0x308ad2=_0x8cc9a2;for(var _0x350b63=_0xd64758>0x1?void 0x0:_0xd64758?js(_0x3dfa95,_0x53e631):_0x3dfa95,_0x49be9f=_0x536cee[_0x308ad2(0x1ae)]-0x1,_0x4abb01;_0x49be9f>=0x0;_0x49be9f--)(_0x4abb01=_0x536cee[_0x49be9f])&&(_0x350b63=_0x4abb01(_0x350b63)||_0x350b63);return _0x350b63;},pe=(_0x43beb1,_0x4ef14b)=>(_0x4dbebf,_0xe024aa)=>_0x4ef14b(_0x4dbebf,_0xe024aa,_0x43beb1),Se=(_0x4f1bd8=>(_0x4f1bd8[_0x4f1bd8[_0x8cc9a2(0x288)]=0x0]='IDLE',_0x4f1bd8[_0x4f1bd8[_0x8cc9a2(0x1a2)]=0x1]=_0x8cc9a2(0x1a2),_0x4f1bd8[_0x4f1bd8['OFFLINE']=0x2]=_0x8cc9a2(0x19d),_0x4f1bd8[_0x4f1bd8['ONLINE']=0x3]=_0x8cc9a2(0x373),_0x4f1bd8))(Se||{});const Gt={[me[_0x8cc9a2(0x125)]]:_0x8cc9a2(0x382),[me[_0x8cc9a2(0x22d)]]:_0x8cc9a2(0x380),[me[_0x8cc9a2(0x399)]]:_0x8cc9a2(0x2e9),[me['JOIN_ROOM_PERMISSION_DENIED']]:_0x8cc9a2(0x1f7),[me[_0x8cc9a2(0x2c5)]]:'session.room-cnt-exceeds'};let gt=class extends _0x13f7ae{constructor(_0x403a41,_0x279d3c,_0x2cb289,_0x10550f,_0x448c5a,_0x4afaca,_0x604e20,_0x5cb48c,_0x55706a){var _0x538f62=_0x8cc9a2;super(),N(this,_0x538f62(0xf9),new _0xf5efdc(0x0)),N(this,_0x538f62(0xfa),this['_sessionStatus$'][_0x538f62(0x107)]()),N(this,'_event$',new _0x71a712()),N(this,'event$',this[_0x538f62(0x3b2)][_0x538f62(0x107)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x538f62(0x227)),N(this,_0x538f62(0x26f),!0x1),N(this,_0x538f62(0xc8),null),(this['_unitID']=_0x403a41,this['_logService']=_0x2cb289,this[_0x538f62(0xee)]=_0x10550f,this['_localeService']=_0x448c5a,this['_memberService']=_0x4afaca,this[_0x538f62(0x25b)]=_0x604e20,this[_0x538f62(0x299)]=_0x5cb48c,this[_0x538f62(0xfb)]=_0x55706a,this[_0x538f62(0x26f)]=!!this[_0x538f62(0xfb)],_0x279d3c['pipe'](_0x49e2dd(this[_0x538f62(0x346)]))[_0x538f62(0x389)](_0x27d2ba=>{var _0x3d4622=_0x538f62,_0x147daa;typeof _0x27d2ba>'u'||(this[_0x3d4622(0x169)]=_0x27d2ba,_0x27d2ba?(this[_0x3d4622(0x348)](_0x27d2ba),this['_socketMessageSubscription']=_0x27d2ba[_0x3d4622(0x332)][_0x3d4622(0x389)](_0x5347f5=>{var _0x5581f5=_0x3d4622;_0x5347f5[_0x5581f5(0x34d)]===this[_0x5581f5(0x268)]&&this[_0x5581f5(0xe0)](_0x5347f5);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3d4622(0xf9)]['next'](0x2),(_0x147daa=this[_0x3d4622(0xd0)])==null||_0x147daa[_0x3d4622(0x31a)](),this[_0x3d4622(0xd0)]=null));}));}get['sessionStatus'](){var _0x2ed393=_0x8cc9a2;return this['_sessionStatus$'][_0x2ed393(0x14e)]();}[_0x8cc9a2(0x208)](){var _0x444571,_0x224e88;return(_0x224e88=(_0x444571=this['_socket'])==null?void 0x0:_0x444571['memberID'])!=null?_0x224e88:null;}[_0x8cc9a2(0x1ab)](){var _0x864dec=_0x8cc9a2;super['dispose'](),this[_0x864dec(0x346)][_0x864dec(0x30d)](),this[_0x864dec(0x346)][_0x864dec(0x34f)]();}[_0x8cc9a2(0x24f)](){var _0x492c4d=_0x8cc9a2,_0xa07a9a,_0x2964f2;this[_0x492c4d(0xfc)](),(_0xa07a9a=this[_0x492c4d(0x169)])==null||_0xa07a9a['send']({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x2964f2=this[_0x492c4d(0x169)])==null||_0x2964f2[_0x492c4d(0x24f)](),this[_0x492c4d(0x3b2)][_0x492c4d(0x34f)](),this[_0x492c4d(0xf9)][_0x492c4d(0x34f)](),this['dispose']();}[_0x8cc9a2(0xe0)](_0x4287a8){var _0x39fe9b=_0x8cc9a2;_0x4287a8['cmd']===F['JOIN']?this[_0x39fe9b(0x1db)](_0x4287a8):_0x4287a8[_0x39fe9b(0x33a)]===F[_0x39fe9b(0x1af)]&&this['_onRecvEvent'](_0x4287a8);}[_0x8cc9a2(0x348)](_0x12173a){var _0x103acb=_0x8cc9a2;this[_0x103acb(0xf9)]['next'](0x1),_0x12173a[_0x103acb(0x2e1)]({'cmd':F[_0x103acb(0x1bd)],'routeKey':this[_0x103acb(0x268)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x8cc9a2(0x1db)](_0x4486ad){var _0x368647=_0x8cc9a2,_0x1cd315;if(_0x4486ad['code']in Gt){this['_collaborationUIEventService'][_0x368647(0x350)]({'id':ne[_0x368647(0x383)],'data':Gt[_0x4486ad[_0x368647(0x12b)]]}),this[_0x368647(0xf9)][_0x368647(0x30d)](0x2);return;}this['_sessionStatus$'][_0x368647(0x30d)](0x3);const _0x257ac1=(_0x1cd315=_0x4486ad['data'][_0x368647(0x1d4)][this[_0x368647(0x268)]])==null?void 0x0:_0x1cd315['members'];_0x257ac1&&_0x257ac1['forEach'](_0x54b844=>this[_0x368647(0x1c9)]['updateMember'](this['_unitID'],_0x54b844));}[_0x8cc9a2(0x2d6)](_0x4463f3){var _0x2dc045=_0x8cc9a2;try{const _0x3f0404=_0x4463f3[_0x2dc045(0x32a)];switch(_0x3f0404[_0x2dc045(0x22e)]){case _0x52d112['USERS_ENTER']:this[_0x2dc045(0xd6)](_0x3f0404),this[_0x2dc045(0x3b2)][_0x2dc045(0x30d)](_0x3f0404);break;case _0x52d112[_0x2dc045(0x229)]:this[_0x2dc045(0x167)](_0x3f0404),this[_0x2dc045(0x3b2)][_0x2dc045(0x30d)](_0x3f0404);break;case _0x52d112[_0x2dc045(0x2a7)]:case _0x52d112['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x2dc045(0x3b2)]['next'](_0x3f0404);break;case _0x52d112[_0x2dc045(0x2a2)]:this[_0x2dc045(0x3a2)][_0x2dc045(0x237)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x3f0404)),this['_event$'][_0x2dc045(0x30d)](_0x3f0404);break;case _0x52d112[_0x2dc045(0x2e3)]:this[_0x2dc045(0x25b)][_0x2dc045(0x14f)](_0x3f0404[_0x2dc045(0x32a)]),this[_0x2dc045(0x3b2)]['next'](_0x3f0404);break;default:this['_event$']['next'](_0x3f0404);}}catch(_0x407ba7){this[_0x2dc045(0x3a2)][_0x2dc045(0x237)](_0x407ba7,_0x4463f3);}}['_onUserJoin'](_0x2327e9){var _0x48783e=_0x8cc9a2;this[_0x48783e(0x1c9)][_0x48783e(0x293)](this['_unitID'],_0x2327e9[_0x48783e(0x32a)]);}['_onUserLeave'](_0x2f684c){var _0x44f7f4=_0x8cc9a2;this[_0x44f7f4(0x1c9)][_0x44f7f4(0x105)](this[_0x44f7f4(0x268)],_0x2f684c['data']['memberID']);}async['send'](_0x53bf66,_0x48cd23){var _0x408850=_0x8cc9a2;if(this[_0x408850(0x20f)]!==0x3||!this[_0x408850(0x169)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x53bf66['eventID']===_0x52d112[_0x408850(0x2da)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x53bf66)),this['_socket']['send']({'cmd':F[_0x408850(0x19c)],'routeKey':_0x48cd23,'routeType':'','data':_0x53bf66});}catch(_0x110555){this['_logService']['error'](_0x110555);}}['_scheduleCollaborationTimeoutTimer'](){var _0x172e58=_0x8cc9a2,_0x24e0b3;this[_0x172e58(0x227)]=setTimeout(()=>{var _0x5b857a=_0x172e58;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x5b857a(0x18d)]});},(_0x24e0b3=this[_0x172e58(0xee)][_0x172e58(0x122)](fi))!=null?_0x24e0b3:vi);}['_clearCollaborationTimeoutTimer'](){var _0x3ae17d=_0x8cc9a2;this[_0x3ae17d(0x227)]&&(clearTimeout(this[_0x3ae17d(0x227)]),this[_0x3ae17d(0x227)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x6de888){var _0x32c044=_0x8cc9a2;if(!this[_0x32c044(0x26f)])return;const {data:_0x3ace80}=_0x6de888,{unitID:_0x5cf892,changeset:_0x37e2f9}=_0x3ace80,{mutations:_0xef5780,type:_0x490380}=_0x37e2f9;this[_0x32c044(0xc8)]={'unitId':_0x5cf892,'type':_0x490380,'startTime':performance[_0x32c044(0xd9)](),'stopTime':0x0,'duration':0x0,'size':ks(_0xef5780)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x36e6fc=_0x8cc9a2;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x36e6fc(0x3a2)][_0x36e6fc(0x237)](_0x36e6fc(0x216),_0x36e6fc(0x194));return;}this[_0x36e6fc(0xc8)][_0x36e6fc(0x141)]=performance['now'](),this[_0x36e6fc(0xc8)][_0x36e6fc(0x354)]=this[_0x36e6fc(0xc8)][_0x36e6fc(0x141)]-this[_0x36e6fc(0xc8)][_0x36e6fc(0x17d)],this[_0x36e6fc(0xfb)]['capture'](xs,this[_0x36e6fc(0xc8)]),this['_telemetryInfo']=null;}}[_0x8cc9a2(0xfc)](){var _0x4b8521=_0x8cc9a2;this[_0x4b8521(0xc8)]=null;}};gt=Fs([pe(0x2,_0xd27129),pe(0x3,_0x195c73),pe(0x4,_0x2bc925(_0x48830e)),pe(0x5,_0x2bc925(Pe)),pe(0x6,_0x2bc925(Si)),pe(0x7,_0x2bc925(ve)),pe(0x8,_0x31269b(_0x5f2298))],gt);var Vs=Object[_0x8cc9a2(0x2fc)],Gs=(_0x3d96bc,_0x538949,_0xba3ddb,_0x309073)=>{var _0x88e256=_0x8cc9a2;for(var _0x5ba508=_0x309073>0x1?void 0x0:_0x309073?Vs(_0x538949,_0xba3ddb):_0x538949,_0x569225=_0x3d96bc[_0x88e256(0x1ae)]-0x1,_0x2f76e4;_0x569225>=0x0;_0x569225--)(_0x2f76e4=_0x3d96bc[_0x569225])&&(_0x5ba508=_0x2f76e4(_0x5ba508)||_0x5ba508);return _0x5ba508;},Re=(_0x28d39e,_0x24016e)=>(_0x51673c,_0x5defeb)=>_0x24016e(_0x51673c,_0x5defeb,_0x28d39e);let Le=class extends _0x580a3b{constructor(_0xdfea1c,_0x425c3d,_0x32f567,_0x92c195,_0x46bba6,_0x28e9ae){var _0x5b2b0c=_0x8cc9a2;super(),N(this,'_socket$',new _0xf5efdc(void 0x0)),N(this,_0x5b2b0c(0x1a9),this['_socket$'][_0x5b2b0c(0x107)]()),N(this,'_candidateSocket',null),N(this,_0x5b2b0c(0x24b),new Map()),N(this,_0x5b2b0c(0x147),new _0xf5efdc(Se['IDLE'])),N(this,_0x5b2b0c(0x26a),this[_0x5b2b0c(0x147)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x5b2b0c(0x307)),(this[_0x5b2b0c(0x127)]=_0xdfea1c,this[_0x5b2b0c(0x3a2)]=_0x425c3d,this[_0x5b2b0c(0xee)]=_0x32f567,this['_socketService']=_0x92c195,this[_0x5b2b0c(0x299)]=_0x46bba6,this[_0x5b2b0c(0x361)]=_0x28e9ae,this[_0x5b2b0c(0x3c6)]());}get['_socket'](){var _0x65bad5=_0x8cc9a2;return this[_0x65bad5(0x2b5)]['getValue']();}[_0x8cc9a2(0x3c6)](){var _0x288bce=_0x8cc9a2;this['_networkConditionService']&&this[_0x288bce(0x2ce)](this[_0x288bce(0x361)][_0x288bce(0x20a)][_0x288bce(0x389)](_0x190044=>{var _0xc6e5ac=_0x288bce;_0x190044&&!this[_0xc6e5ac(0x169)]&&this[_0xc6e5ac(0x16e)](),_0x190044||this[_0xc6e5ac(0x150)]();}));}[_0x8cc9a2(0x1ab)](){var _0x19c997=_0x8cc9a2;super[_0x19c997(0x1ab)](),this[_0x19c997(0x320)](),this[_0x19c997(0x1c2)](),this[_0x19c997(0x25a)](),this[_0x19c997(0x24b)]['forEach'](_0x2130cb=>_0x2130cb[_0x19c997(0x1ab)]()),this['_sessions']['clear'](),this['_status$']['complete']();}async[_0x8cc9a2(0x148)](_0x4c18da){var _0xa829d6=_0x8cc9a2;if(this['_sessions'][_0xa829d6(0x16a)](_0x4c18da))return this['_sessions'][_0xa829d6(0x313)](_0x4c18da);this[_0xa829d6(0x35e)]();const _0x226909=this[_0xa829d6(0x127)]['createInstance'](gt,_0x4c18da,this[_0xa829d6(0x2b5)][_0xa829d6(0x107)]());return this[_0xa829d6(0x24b)][_0xa829d6(0x2bb)](_0x4c18da,_0x226909),_0x226909;}[_0x8cc9a2(0x3b6)](_0x3cc960){var _0x230d4c=_0x8cc9a2,_0x314474;const _0x1b1da6=this[_0x230d4c(0x24b)][_0x230d4c(0x313)](_0x3cc960);_0x1b1da6&&(this[_0x230d4c(0x24b)]['delete'](_0x3cc960),_0x1b1da6['close']()),this['_sessions']['size']||(_0x314474=this['_socket'])==null||_0x314474[_0x230d4c(0x24f)]();}[_0x8cc9a2(0x16e)](){var _0x3f585b=_0x8cc9a2;this[_0x3f585b(0x3a3)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x3f585b(0x176)]();}[_0x8cc9a2(0x320)](){var _0x572cc8=_0x8cc9a2;this[_0x572cc8(0x3b4)]!=null&&(clearTimeout(this[_0x572cc8(0x3b4)]),this[_0x572cc8(0x3b4)]=null);}async[_0x8cc9a2(0x1e5)](){var _0x7d6ced=_0x8cc9a2,_0x4ebc0d,_0x391650;const _0x2ae92f=this[_0x7d6ced(0xee)]['getConfig'](gs),_0x497df1=this[_0x7d6ced(0xee)][_0x7d6ced(0x122)](K),_0x2e372d=(_0x391650=(_0x4ebc0d=_0x497df1==null?void 0x0:_0x497df1['collabWebSocketUrl'])!=null?_0x4ebc0d:_0x2ae92f)!=null?_0x391650:Ss,_0x153b9f=await this[_0x7d6ced(0x174)][_0x7d6ced(0x2ca)](_0x2e372d);return this['_candidateSocket']=_0x153b9f,_0x153b9f;}async[_0x8cc9a2(0x35e)](){var _0x3e9d03=_0x8cc9a2,_0x22fb4f,_0x306252;try{const _0x276576=(_0x306252=(_0x22fb4f=this[_0x3e9d03(0x169)])!=null?_0x22fb4f:this[_0x3e9d03(0x2a0)])!=null?_0x306252:await this[_0x3e9d03(0x1e5)]();if(_0x276576){const _0x3e938b=_0x276576[_0x3e9d03(0x2e1)];_0x276576[_0x3e9d03(0x2e1)]=_0x1ed4dd=>(this[_0x3e9d03(0x2d3)](),_0x3e938b[_0x3e9d03(0x368)](_0x276576,[_0x1ed4dd])),_0x276576[_0x3e9d03(0x332)][_0x3e9d03(0x389)](_0xa28284=>this[_0x3e9d03(0x1c8)](_0x276576,_0xa28284)),_0x276576[_0x3e9d03(0x1bb)]['pipe'](_0x1ff15b(0x1))['subscribe'](_0x50f894=>this[_0x3e9d03(0x3a2)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x50f894)),_0x276576[_0x3e9d03(0xc0)][_0x3e9d03(0x265)](_0x1ff15b(0x1))[_0x3e9d03(0x389)](()=>{var _0xf225cc=_0x3e9d03;this[_0xf225cc(0xde)](_0x276576);}),_0x276576['close$']['pipe'](_0x1ff15b(0x1))[_0x3e9d03(0x389)](_0x1c5980=>{var _0x47b119=_0x3e9d03;this[_0x47b119(0x3a2)][_0x47b119(0x31b)](_0x47b119(0x1fe),_0x47b119(0x2e4),_0x1c5980),this[_0x47b119(0x1da)]();});}}catch(_0x1ffc0f){this['_logService'][_0x3e9d03(0x237)](_0x1ffc0f),this['_onConnectionFailed']();}}[_0x8cc9a2(0xde)](_0x4ffed3){var _0x172617=_0x8cc9a2;this[_0x172617(0x3a2)][_0x172617(0x31b)]('[CollaborationSessionService]',_0x172617(0x325)),_0x4ffed3[_0x172617(0x2e1)]({'cmd':F['HELLO']}),this[_0x172617(0x2d3)]();}[_0x8cc9a2(0x150)](){var _0x59aaae=_0x8cc9a2;this[_0x59aaae(0x164)]=!0x1,this[_0x59aaae(0x2a0)]=null,this[_0x59aaae(0x147)][_0x59aaae(0x30d)](Se['OFFLINE']),this[_0x59aaae(0x2b5)][_0x59aaae(0x30d)](null),this[_0x59aaae(0x1c2)](),this['_clearHeartbeatTimer']();}[_0x8cc9a2(0x1da)](){var _0x29e754=_0x8cc9a2,_0x5286f6;this['_onOffline'](),this[_0x29e754(0x3a3)]<((_0x5286f6=this['_configService'][_0x29e754(0x122)](Cs))!=null?_0x5286f6:Rs)?(this[_0x29e754(0x299)][_0x29e754(0x350)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x29e754(0x176)]()):this['_collaborationUIEventService'][_0x29e754(0x350)]({'id':ne[_0x29e754(0x312)]});}[_0x8cc9a2(0x176)](){var _0x17cca0=_0x8cc9a2,_0x3a6cda;const _0x527bc0=this[_0x17cca0(0x3a3)],_0x9eec0e=this[_0x17cca0(0xee)][_0x17cca0(0x122)](K),_0x4b94a4=_0x527bc0===0x0?0x0:((_0x3a6cda=_0x9eec0e==null?void 0x0:_0x9eec0e[_0x17cca0(0x286)])!=null?_0x3a6cda:Ts)*0x2**_0x527bc0;this[_0x17cca0(0x3b4)]=setTimeout(()=>{var _0x38b78d=_0x17cca0;clearTimeout(this['_retryConnectingTimer']),this[_0x38b78d(0x3b4)]=null,this[_0x38b78d(0x35e)]();},_0x4b94a4),this[_0x17cca0(0x3a3)]+=0x1;}[_0x8cc9a2(0x1c8)](_0x44f5cd,_0x1e324f){var _0x3fdb83=_0x8cc9a2;const {cmd:_0x388d46}=_0x1e324f;_0x388d46===F[_0x3fdb83(0x2c4)]&&!this[_0x3fdb83(0x164)]&&(_0x44f5cd[_0x3fdb83(0x13e)]=_0x1e324f[_0x3fdb83(0x32a)][_0x3fdb83(0x13e)],this[_0x3fdb83(0x2b5)][_0x3fdb83(0x30d)](_0x44f5cd),this[_0x3fdb83(0x147)][_0x3fdb83(0x30d)](Se[_0x3fdb83(0x373)]),this[_0x3fdb83(0x164)]=!0x0,this[_0x3fdb83(0x2a0)]=null),_0x388d46===F[_0x3fdb83(0x39d)]&&this[_0x3fdb83(0x1c2)](),this[_0x3fdb83(0x2d3)]();}['_rescheduleHeartbeat'](){var _0x542edc=_0x8cc9a2,_0x2bdd1c;this[_0x542edc(0x25a)](),this[_0x542edc(0xe6)]=setTimeout(()=>this[_0x542edc(0x207)](),(_0x2bdd1c=this['_configService'][_0x542edc(0x122)](Es))!=null?_0x2bdd1c:Is);}['_sendHeartbeat'](){var _0x457c09=_0x8cc9a2;this[_0x457c09(0x169)][_0x457c09(0x2e1)]({'cmd':F['HEARTBEAT']}),this[_0x457c09(0x32d)]();}[_0x8cc9a2(0x32d)](){var _0x44dda0=_0x8cc9a2,_0x18db45;this[_0x44dda0(0x307)]=setTimeout(()=>this[_0x44dda0(0x1da)](),(_0x18db45=this[_0x44dda0(0xee)][_0x44dda0(0x122)](fi))!=null?_0x18db45:vi);}[_0x8cc9a2(0x25a)](){var _0x104c6d=_0x8cc9a2;this[_0x104c6d(0xe6)]!=null&&(clearTimeout(this[_0x104c6d(0xe6)]),this[_0x104c6d(0xe6)]=null);}['_clearTimeoutTimer'](){var _0x31a66d=_0x8cc9a2;this[_0x31a66d(0x307)]!=null&&(clearTimeout(this[_0x31a66d(0x307)]),this[_0x31a66d(0x307)]=null);}};Le=Gs([Re(0x0,_0x2bc925(_0x5c0aec)),Re(0x1,_0xd27129),Re(0x2,_0x195c73),Re(0x3,gi),Re(0x4,_0x2bc925(ve)),Re(0x5,_0x31269b(Us))],Le);const J=_0x217a73(_0x8cc9a2(0x2ad));function Pr(_0x190b7b){return'unit-cache-'+_0x190b7b;}var Ws=Object[_0x8cc9a2(0x2fc)],Ys=(_0x319ea6,_0x362bfb,_0x22b8d0,_0x42b1d9)=>{var _0x55f7eb=_0x8cc9a2;for(var _0x46f57f=_0x42b1d9>0x1?void 0x0:_0x42b1d9?Ws(_0x362bfb,_0x22b8d0):_0x362bfb,_0x18d3bf=_0x319ea6[_0x55f7eb(0x1ae)]-0x1,_0x274379;_0x18d3bf>=0x0;_0x18d3bf--)(_0x274379=_0x319ea6[_0x18d3bf])&&(_0x46f57f=_0x274379(_0x46f57f)||_0x46f57f);return _0x46f57f;},ut=(_0x5b3c35,_0x19930d)=>(_0x3d33f3,_0x43abb4)=>_0x19930d(_0x3d33f3,_0x43abb4,_0x5b3c35);function Ks(_0x29e3d4){var _0xf9a0c1=_0x8cc9a2;const {unitID:_0x4f18db,mutations:_0x574822}=_0x29e3d4;return{'unitId':_0x4f18db,'subUnitId':_0x574822[0x0][_0xf9a0c1(0x3b3)]['subUnitId']};}let it=class{constructor(_0x32c859,_0x24a1cd,_0x5b2401){var _0x40efae=_0x8cc9a2;this[_0x40efae(0x127)]=_0x32c859,this[_0x40efae(0x385)]=_0x24a1cd,this[_0x40efae(0x1b9)]=_0x5b2401;}[_0x8cc9a2(0x283)](_0x40714d){var _0x58e799=_0x8cc9a2,_0x12bd35,_0x176eee,_0x12047f,_0x53e107;const _0x3c48ac=this[_0x58e799(0x127)]['get'](_0x5db5ca),{unitId:_0x18bf98,subUnitId:_0x228b46}=Ks(_0x40714d),_0x5f523f=_0x3c48ac==null?void 0x0:_0x3c48ac['getWorkbookSelections'](_0x18bf98)['getCurrentSelections'](),_0x100a52=(_0x176eee=(_0x12bd35=this[_0x58e799(0x1b9)][_0x58e799(0x343)](_0x18bf98))==null?void 0x0:_0x12bd35[_0x58e799(0x2a3)]())==null?void 0x0:_0x176eee[_0x58e799(0xcd)]();if(_0x5f523f[_0x58e799(0x1ae)]===0x0||!_0x18bf98||!_0x228b46)return;const _0x5a6599=[{'id':_0x54316f['id'],'params':{'unitId':_0x18bf98,'subUnitId':_0x100a52,'selections':_0x17f42b[_0x58e799(0x29e)](_0x5f523f)}}],_0x222275=this[_0x58e799(0x385)][_0x58e799(0x1e0)](_0x40714d,_0x5a6599);if(!_0xaeb0b0(_0x222275))throw _0x222275[_0x58e799(0x237)];const _0x182bd6=(_0x53e107=(_0x12047f=_0x222275['m2Prime'][0x0])==null?void 0x0:_0x12047f['params'])==null?void 0x0:_0x53e107[_0x58e799(0xf2)];if(Array[_0x58e799(0x287)](_0x182bd6)&&_0x182bd6['length']){if(_0x182bd6['length']===_0x5a6599[0x0][_0x58e799(0x3b3)][_0x58e799(0xf2)][_0x58e799(0x1ae)]&&_0x182bd6[_0x58e799(0x14c)]((_0x3c535c,_0x56c593)=>_0xbecd6c[_0x58e799(0x2fd)](_0x3c535c[_0x58e799(0xd4)],_0x5a6599[0x0][_0x58e799(0x3b3)]['selections'][_0x56c593][_0x58e799(0xd4)])))return;this[_0x58e799(0x127)][_0x58e799(0x313)](_0x8da825)[_0x58e799(0x280)](_0x54316f['id'],{'unitId':_0x18bf98,'subUnitId':_0x100a52,'selections':_0x182bd6});}}};it=Ys([ut(0x0,_0x2bc925(_0x5c0aec)),ut(0x1,_0x20376b),ut(0x2,_0x24fe3b)],it);const ht=_0x217a73(_0x8cc9a2(0x398));var Ei=(_0x9eb281=>(_0x9eb281[_0x9eb281['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x9eb281[_0x9eb281[_0x8cc9a2(0x277)]=0x1]=_0x8cc9a2(0x277),_0x9eb281))(Ei||{});const qs=new Set([_0x1d6366['id']]);function Wt(_0x48d97f,_0x3a2396,_0x1a25c5,_0x33f4cb,_0x217157){var _0x517738=_0x8cc9a2,_0x5485c7,_0x1bf5ed,_0x1b838c,_0x33fa9a;const _0x530707=[];for(const _0x5647e9 of _0x48d97f)if(qs[_0x517738(0x16a)](_0x5647e9['id'])){if(_0x530707[_0x517738(0x1ae)]>0x0)break;_0x530707['push'](_0x5647e9);break;}else _0x530707[_0x517738(0x13f)](_0x5647e9);const _0x442d7d=(_0x1bf5ed=(_0x5485c7=_0x217157['getCurrentUser']())==null?void 0x0:_0x5485c7[_0x517738(0x123)])!=null?_0x1bf5ed:_0x517738(0xf8),_0x425ff3=(_0x33fa9a=(_0x1b838c=_0x217157['getCurrentUser']())==null?void 0x0:_0x1b838c[_0x517738(0x13e)])!=null?_0x33fa9a:_0x517738(0xf8);return{'changeset':{'unitID':_0x3a2396,'type':_0x451344(_0x1a25c5[_0x517738(0x30f)](_0x3a2396)),'baseRev':_0x33f4cb['getCurrentRevOfUnit'](_0x3a2396),'revision':0x0,'userID':_0x442d7d,'memberID':_0x425ff3,'mutations':_0x530707},'pendingMutations':_0x48d97f[_0x517738(0x2ec)](_0x530707[_0x517738(0x1ae)])};}function zs(_0x3a44fe,_0x3cf188,_0x193370,_0x45a062,_0x22177d){var _0x6d6d0a=_0x8cc9a2,_0xb07b4a,_0x560c18,_0x2d7f96,_0x9121b8;const _0xa72fae=[_0x3a44fe['reduce']((_0xa1f6f2,_0x3c05db)=>{var _0x585c6f=_0x178d,_0x71afc1;const {id:_0x16579b}=_0xa1f6f2,{id:_0x39ed5c,type:_0x3d1b6c}=_0x3c05db,_0x56627b=(_0x71afc1=_0xa1f6f2['params'])!=null?_0x71afc1:{'actions':null},_0x44ca60=_0x3c05db[_0x585c6f(0x3b3)];if(_0x16579b&&_0x16579b!==_0x39ed5c)throw new Error(_0x585c6f(0x363)+_0x16579b+_0x585c6f(0x2cf)+_0x39ed5c+'.');return{..._0xa1f6f2,'id':_0x39ed5c,'type':_0x3d1b6c,'params':{'unitId':_0x44ca60[_0x585c6f(0x3a7)],'textRanges':_0x44ca60[_0x585c6f(0x2ac)],'actions':_0x383395[_0x585c6f(0x1bf)](_0x56627b[_0x585c6f(0x16f)],_0x44ca60[_0x585c6f(0x16f)])}};},{})],_0x526e17=(_0x560c18=(_0xb07b4a=_0x22177d[_0x6d6d0a(0x1a6)]())==null?void 0x0:_0xb07b4a[_0x6d6d0a(0x123)])!=null?_0x560c18:_0x6d6d0a(0xf8),_0x491982=(_0x9121b8=(_0x2d7f96=_0x22177d[_0x6d6d0a(0x1a6)]())==null?void 0x0:_0x2d7f96['memberID'])!=null?_0x9121b8:_0x6d6d0a(0xf8);return{'changeset':{'unitID':_0x3cf188,'type':_0x451344(_0x193370[_0x6d6d0a(0x30f)](_0x3cf188)),'baseRev':_0x45a062[_0x6d6d0a(0x38f)](_0x3cf188),'revision':0x0,'userID':_0x526e17,'memberID':_0x491982,'mutations':_0xa72fae},'pendingMutations':[]};}function Ii(_0x1b96aa,_0x1bd635){var _0x55f5cb=_0x8cc9a2;const _0x4631d1=new _0x5c9c56(0x1);return setTimeout(()=>_0x4631d1[_0x55f5cb(0x30d)](_0x1bd635),_0x1b96aa),_0x4631d1[_0x55f5cb(0x107)]()[_0x55f5cb(0x265)](_0x1d9788(0x1));}const Js={'id':_0x626df2['id'],'type':_0x2aff31[_0x8cc9a2(0xc2)],'params':{}};var Xs=Object[_0x8cc9a2(0x2fc)],Ie=(_0x5111f8,_0x23bd40,_0x18fdc2,_0x3d7d3f)=>{var _0x44e103=_0x8cc9a2;for(var _0x17f5fb=_0x3d7d3f>0x1?void 0x0:_0x3d7d3f?Xs(_0x23bd40,_0x18fdc2):_0x23bd40,_0x1fed19=_0x5111f8[_0x44e103(0x1ae)]-0x1,_0xa25320;_0x1fed19>=0x0;_0x1fed19--)(_0xa25320=_0x5111f8[_0x1fed19])&&(_0x17f5fb=_0xa25320(_0x17f5fb)||_0x17f5fb);return _0x17f5fb;},P=(_0x27832e,_0x504681)=>(_0x1bf807,_0x3a1794)=>_0x504681(_0x1bf807,_0x3a1794,_0x27832e),Ti=(_0x39892b=>(_0x39892b[_0x8cc9a2(0x376)]=_0x8cc9a2(0x126),_0x39892b['SYNCED']=_0x8cc9a2(0x241),_0x39892b[_0x8cc9a2(0x23e)]=_0x8cc9a2(0x10d),_0x39892b[_0x8cc9a2(0x3ae)]=_0x8cc9a2(0x138),_0x39892b[_0x8cc9a2(0x25e)]=_0x8cc9a2(0x33b),_0x39892b[_0x8cc9a2(0x317)]='fetch_missing',_0x39892b[_0x8cc9a2(0x2ee)]='conflict',_0x39892b[_0x8cc9a2(0x19d)]=_0x8cc9a2(0x2e0),_0x39892b))(Ti||{});const Ci=0xea60;class Te{constructor(_0xc58421,_0x336654,_0x11c1ac,_0x59927b,_0x92a0f9,_0x409cc6,_0x504a39,_0x36cbf7,_0x5092bd){var _0x70f848=_0x8cc9a2;N(this,_0x70f848(0x1ff),null),N(this,_0x70f848(0x328),[]),(this['unitID']=_0xc58421,this['type']=_0x336654,this[_0x70f848(0xdf)]=_0x92a0f9,this[_0x70f848(0x16d)]=_0x409cc6,this['_undoRedoService']=_0x504a39,this[_0x70f848(0x358)]=_0x36cbf7,this[_0x70f848(0x378)]=_0x5092bd,this[_0x70f848(0x1ff)]=_0x11c1ac,this[_0x70f848(0x328)]=_0x59927b);}['_checkMissing'](_0x2f3458){var _0x2b81b3=_0x8cc9a2;const _0x2a5bd5=this[_0x2b81b3(0x358)]['getCurrentRevOfUnit'](this['unitID']);return _0x2f3458['revision']>_0x2a5bd5+0x1?(this[_0x2b81b3(0xdf)]['onMissingChangesets']({'from':_0x2a5bd5,'to':_0x2f3458[_0x2b81b3(0x306)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1a6b40){var _0x25bab9=_0x8cc9a2;this['_undoRedoService'][_0x25bab9(0x2ed)](this[_0x25bab9(0x2e6)],_0x1a6b40);}[_0x8cc9a2(0x339)](_0x31467b){var _0x39df8e=_0x8cc9a2,_0xff1c6a,_0x3a8cf1;(_0x3a8cf1=(_0xff1c6a=this[_0x39df8e(0xdf)])[_0x39df8e(0x2a8)])==null||_0x3a8cf1[_0x39df8e(0x324)](_0xff1c6a,_0x31467b);}['_transformIMECache'](_0x2b3fc1){var _0x34f052=_0x8cc9a2,_0x478a6f,_0x535716;return(_0x535716=(_0x478a6f=this[_0x34f052(0xdf)])[_0x34f052(0x179)])==null?void 0x0:_0x535716[_0x34f052(0x324)](_0x478a6f,_0x2b3fc1);}[_0x8cc9a2(0x1a8)](_0x37989f){var _0x501b84=_0x8cc9a2,_0x36b54d,_0x58ef61;return(_0x58ef61=(_0x36b54d=this[_0x501b84(0xdf)])['onTransformState'])==null?void 0x0:_0x58ef61[_0x501b84(0x324)](_0x36b54d,_0x37989f);}['_transformRemoteChangesetByIMECache'](_0x3ab7b7){var _0x8ad6c3=_0x8cc9a2,_0xeb4818,_0x1e1da9,_0x441081;return(_0x441081=(_0x1e1da9=(_0xeb4818=this['_handler'])[_0x8ad6c3(0x246)])==null?void 0x0:_0x1e1da9['call'](_0xeb4818,_0x3ab7b7))!=null?_0x441081:_0x3ab7b7;}[_0x8cc9a2(0x1a7)](_0x40e384){var _0x36ebf8=_0x8cc9a2,_0x4f1f48,_0x363f34,_0x251796;return(_0x251796=(_0x363f34=(_0x4f1f48=this[_0x36ebf8(0xdf)])[_0x36ebf8(0x219)])==null?void 0x0:_0x363f34['call'](_0x4f1f48,_0x40e384))!=null?_0x251796:_0x40e384;}['_syncEditingCollabCursor'](_0x33605b){var _0x2d5469=_0x8cc9a2,_0x2521a6,_0x301c90;if(this[_0x2d5469(0x3c2)]===Z['UNIVER_DOC']){const {unitID:_0xb47c0f,mutations:_0x5d6a63,memberID:_0x1af51f}=_0x33605b,_0x4d5e18=_0x5d6a63[0x0]['params']['textRanges'];Array['isArray'](_0x4d5e18)&&_0x4d5e18[_0x2d5469(0x1ae)]>0x0&&((_0x301c90=(_0x2521a6=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x301c90[_0x2d5469(0x324)](_0x2521a6,{'unitID':_0xb47c0f,'memberID':_0x1af51f,'textRanges':_0x4d5e18}));}}['_updateLocalCache'](){var _0x33994c=_0x8cc9a2,_0x1a5b9b;(_0x1a5b9b=this['_localCacheService'])==null||_0x1a5b9b[_0x33994c(0x238)](this[_0x33994c(0x2e6)],this[_0x33994c(0x3c2)],this['_awaitingChangeset'],this[_0x33994c(0x328)]);}['_getCurrentRevision'](){var _0x7fad03=_0x8cc9a2;return this[_0x7fad03(0x358)]['getCurrentRevOfUnit'](this['unitID']);}[_0x8cc9a2(0x2cb)](){var _0x1f5f01=_0x8cc9a2;this[_0x1f5f01(0x358)][_0x1f5f01(0x39e)](this[_0x1f5f01(0x2e6)]);}[_0x8cc9a2(0x13b)](_0x5b287d){var _0x199fa9=_0x8cc9a2,_0x1d5731;let _0x44072a=this['_transformRemoteChangesetByIMECache'](_0x5b287d);_0x44072a=this[_0x199fa9(0x1a7)](_0x44072a);const _0x4c7128=_0x157570(_0x44072a[_0x199fa9(0x3be)],this[_0x199fa9(0x16d)],{'fromCollab':!0x0});if(!_0x4c7128[_0x199fa9(0x341)])throw _0x4c7128[_0x199fa9(0x237)]instanceof Error?_0x4c7128[_0x199fa9(0x237)]:new Error((_0x1d5731=_0x4c7128[_0x199fa9(0x237)])!=null?_0x1d5731:_0x199fa9(0x392));this[_0x199fa9(0x134)](_0x44072a),this[_0x199fa9(0x1a8)](_0x44072a),this[_0x199fa9(0x386)](_0x5b287d),this[_0x199fa9(0x339)](_0x44072a),this['_syncEditingCollabCursor'](_0x44072a),this[_0x199fa9(0x2cb)]();}}let ye=class extends Te{constructor(_0x4656bb,_0xb15da2,_0x3ead20,_0x6210b,_0xbaacd2,_0x47e91f,_0xfa96e0,_0x3b485c,_0x2a26ee,_0x2d51dc){var _0x4e0ad1=_0x8cc9a2;super(_0x4656bb,_0xb15da2,null,[],_0x3ead20,_0xfa96e0,_0x47e91f,_0x6210b,_0x2d51dc),N(this,_0x4e0ad1(0xdb),_0x4e0ad1(0x241)),(this[_0x4e0ad1(0x127)]=_0xbaacd2,this[_0x4e0ad1(0x3a2)]=_0x3b485c,this[_0x4e0ad1(0x385)]=_0x2a26ee,this[_0x4e0ad1(0x38e)]=_0x2d51dc);}[_0x8cc9a2(0x182)](_0x176180){var _0x2028ff=_0x8cc9a2;const _0x301b2f=this[_0x2028ff(0x127)][_0x2028ff(0x36b)](re,this[_0x2028ff(0x2e6)],this[_0x2028ff(0x3c2)],[_0x176180],this['_handler']);return _0x301b2f[_0x2028ff(0x211)](),_0x301b2f[_0x2028ff(0x3c7)](),_0x301b2f;}[_0x8cc9a2(0x3ab)](_0x1e9edd){var _0x37515b=_0x8cc9a2;if(this['_checkMissing'](_0x1e9edd))return this[_0x37515b(0x127)][_0x37515b(0x36b)](Q,this[_0x37515b(0x2e6)],this[_0x37515b(0x3c2)],null,[],null,[_0x1e9edd],this[_0x37515b(0xdf)]);try{const _0x58fe9a=this[_0x37515b(0x385)][_0x37515b(0x1e0)](_0x1e9edd,[Js]);if(_0xaeb0b0(_0x58fe9a)){const {c1Prime:_0x264e5c}=_0x58fe9a;return this['_executeRemoteChangeset'](_0x264e5c),this;}throw _0x58fe9a[_0x37515b(0x237)];}catch(_0x62587){return this[_0x37515b(0x3a2)][_0x37515b(0x237)](_0x62587),this['_onConflict'](!0x1);}}['_onConflict'](_0x54e872){var _0xcc42cc=_0x8cc9a2;return this[_0xcc42cc(0x127)][_0xcc42cc(0x36b)](le,this[_0xcc42cc(0x2e6)],this[_0xcc42cc(0x3c2)],null,[],this[_0xcc42cc(0xdf)],_0x54e872);}[_0x8cc9a2(0x29f)](){var _0x376c08=_0x8cc9a2;throw new Error(_0x376c08(0x2f7));}[_0x8cc9a2(0x263)](){var _0x51814=_0x8cc9a2;throw new Error(_0x51814(0xfd));}[_0x8cc9a2(0x2f0)](){return this;}[_0x8cc9a2(0x29d)](){var _0x19c010=_0x8cc9a2;return this[_0x19c010(0x127)][_0x19c010(0x36b)](ue,this[_0x19c010(0x2e6)],this[_0x19c010(0x3c2)],null,[],this[_0x19c010(0xdf)]);}['toggleOnline'](){return this;}[_0x8cc9a2(0x197)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x8cc9a2(0x23c)](){var _0x4d11ee=_0x8cc9a2;const _0x8fc1dd=this[_0x4d11ee(0x358)][_0x4d11ee(0x38f)](this['unitID']);return this[_0x4d11ee(0xdf)]['onMissingChangesets']({'from':_0x8fc1dd,'to':0x0}),this[_0x4d11ee(0x127)][_0x4d11ee(0x36b)](Q,this['unitID'],this[_0x4d11ee(0x3c2)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x2bc925(_0x55e017)),P(0x4,_0x2bc925(_0x5c0aec)),P(0x5,_0x1ab2de),P(0x6,_0x8da825),P(0x7,_0xd27129),P(0x8,_0x20376b),P(0x9,_0x31269b(J))],ye);let re=class extends Te{constructor(_0x46759b,_0x3c3366,_0x430fab,_0x584d4b,_0x30b5a6,_0x110706,_0x591400,_0x45490e,_0x8c9548,_0x52af59,_0x36b3ad,_0x5cb793,_0x3f8b45,_0x354b54){var _0x4d8fbf=_0x8cc9a2;super(_0x46759b,_0x3c3366,null,_0x430fab,_0x584d4b,_0x8c9548,_0x3f8b45,_0x110706,_0x354b54),N(this,_0x4d8fbf(0xdb),_0x4d8fbf(0x10d)),N(this,_0x4d8fbf(0x1e2),null),N(this,_0x4d8fbf(0x1ee),null),(this[_0x4d8fbf(0x127)]=_0x30b5a6,this[_0x4d8fbf(0x1c9)]=_0x591400,this[_0x4d8fbf(0x3a2)]=_0x45490e,this[_0x4d8fbf(0xee)]=_0x52af59,this[_0x4d8fbf(0x385)]=_0x36b3ad,this['_univerInstanceService']=_0x5cb793);}[_0x8cc9a2(0x182)](_0x5933ed){var _0x46cf99=_0x8cc9a2;return this[_0x46cf99(0x328)][_0x46cf99(0x13f)](_0x5933ed),this[_0x46cf99(0x3c7)](),this;}[_0x8cc9a2(0x3ab)](_0x24ee67){var _0x8ba443=_0x8cc9a2;if(this['_checkMissing'](_0x24ee67))return this[_0x8ba443(0x19f)](),this['_injector']['createInstance'](Q,this[_0x8ba443(0x2e6)],this[_0x8ba443(0x3c2)],null,this[_0x8ba443(0x328)],null,[_0x24ee67],this[_0x8ba443(0xdf)]);try{const _0x540076=this['_transformService']['transformMutationsWithChangeset'](_0x24ee67,this['_pendingMutations']);if(_0xaeb0b0(_0x540076)){const {c1Prime:_0x5213f4,m2Prime:_0x523965}=_0x540076;this['_executeRemoteChangeset'](_0x5213f4);const _0xb48135=this['_injector'][_0x8ba443(0x36b)](re,this[_0x8ba443(0x2e6)],this[_0x8ba443(0x3c2)],_0x523965,this[_0x8ba443(0xdf)]);this['_clearScheduledTask']();const _0x43316b=new Date()[_0x8ba443(0x1f4)](),_0x1b2079=this[_0x8ba443(0x1e2)]?Math[_0x8ba443(0x201)](this[_0x8ba443(0x1e2)]-_0x43316b,0x0):this[_0x8ba443(0x17e)]();return _0xb48135[_0x8ba443(0x211)](_0x1b2079),_0xb48135;}throw _0x540076[_0x8ba443(0x237)];}catch(_0x2bec71){return this[_0x8ba443(0x3a2)][_0x8ba443(0x237)](_0x2bec71),this[_0x8ba443(0x18f)](!0x1);}}[_0x8cc9a2(0x29f)](){var _0x1d80fc=_0x8cc9a2;throw new Error(_0x1d80fc(0x195));}[_0x8cc9a2(0x263)](){var _0xcb3d11=_0x8cc9a2;throw new Error(_0xcb3d11(0x2bd));}[_0x8cc9a2(0x2f0)](){return this;}['toggleOffline'](){var _0x4af0a6=_0x8cc9a2;return this[_0x4af0a6(0x19f)](),this['_injector'][_0x4af0a6(0x36b)](ue,this[_0x4af0a6(0x2e6)],this[_0x4af0a6(0x3c2)],null,this[_0x4af0a6(0x328)],this[_0x4af0a6(0xdf)]);}[_0x8cc9a2(0x234)](){return this;}[_0x8cc9a2(0x211)](_0x56f94e){var _0x2ffdb8=_0x8cc9a2;const _0x4664d8=_0x56f94e!=null?_0x56f94e:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x2ffdb8(0x1f4)]()+_0x4664d8,this['_sendingTimer']=setTimeout(()=>{var _0x44ec89=_0x2ffdb8;this[_0x44ec89(0x19f)]();let _0x2043d4=null;switch(this[_0x44ec89(0x3c2)]){case Z[_0x44ec89(0x2f4)]:{_0x2043d4=Wt(this[_0x44ec89(0x328)],this['unitID'],this[_0x44ec89(0x370)],this[_0x44ec89(0x358)],this[_0x44ec89(0x1c9)]);break;}case Z[_0x44ec89(0x11c)]:{this[_0x44ec89(0x328)]['every'](_0x46a5b2=>_0x46a5b2['id']===_0x6cc34['id'])?_0x2043d4=zs(this['_pendingMutations'],this[_0x44ec89(0x2e6)],this[_0x44ec89(0x370)],this[_0x44ec89(0x358)],this[_0x44ec89(0x1c9)]):_0x2043d4=Wt(this[_0x44ec89(0x328)],this[_0x44ec89(0x2e6)],this[_0x44ec89(0x370)],this[_0x44ec89(0x358)],this['_memberService']);break;}default:throw new Error(_0x44ec89(0x2c6)+this[_0x44ec89(0x3c2)]+_0x44ec89(0x379));}const {changeset:_0x26d082,pendingMutations:_0xd0aca3}=_0x2043d4;this[_0x44ec89(0xdf)][_0x44ec89(0x226)](_0x26d082);const _0x1d0713=_0xd0aca3[_0x44ec89(0x1ae)]?this[_0x44ec89(0x127)]['createInstance'](ae,this[_0x44ec89(0x2e6)],this['type'],_0x26d082,_0xd0aca3,this[_0x44ec89(0xdf)],void 0x0):this[_0x44ec89(0x127)][_0x44ec89(0x36b)](_e,this[_0x44ec89(0x2e6)],this[_0x44ec89(0x3c2)],_0x26d082,this[_0x44ec89(0xdf)]);_0x1d0713[_0x44ec89(0x3c7)](),this[_0x44ec89(0xdf)][_0x44ec89(0xe8)](this,_0x1d0713);},_0x4664d8);}[_0x8cc9a2(0x17e)](){var _0x901f53=_0x8cc9a2,_0x1573ad;const _0x22fc0a=this[_0x901f53(0xee)]['getConfig'](K);return(_0x1573ad=_0x22fc0a==null?void 0x0:_0x22fc0a[_0x901f53(0x1b7)])!=null?_0x1573ad:ms;}[_0x8cc9a2(0x197)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x8cc9a2(0x19f)](){var _0x2b2750=_0x8cc9a2;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2b2750(0x1ee)]),this[_0x2b2750(0x1ee)]=null);}[_0x8cc9a2(0x18f)](_0x2f7b41){var _0x4eaf37=_0x8cc9a2;return this[_0x4eaf37(0x19f)](),this[_0x4eaf37(0x127)][_0x4eaf37(0x36b)](le,this[_0x4eaf37(0x2e6)],this[_0x4eaf37(0x3c2)],null,this[_0x4eaf37(0x328)],this['_handler'],_0x2f7b41);}};re=Ie([P(0x4,_0x2bc925(_0x5c0aec)),P(0x5,_0x2bc925(_0x55e017)),P(0x6,_0x2bc925(Pe)),P(0x7,_0xd27129),P(0x8,_0x8da825),P(0x9,_0x195c73),P(0xa,_0x20376b),P(0xb,_0x24fe3b),P(0xc,_0x1ab2de),P(0xd,_0x31269b(J))],re);let _e=class extends Te{constructor(_0x1e5b54,_0x1a8689,_0x29091e,_0x538825,_0x4840ec,_0x3fa2a8,_0x3dcea2,_0x3d4634,_0x12fe34,_0x5d3272,_0x2532f5){var _0x3e3f19=_0x8cc9a2;super(_0x1e5b54,_0x1a8689,_0x29091e,[],_0x538825,_0x3dcea2,_0x5d3272,_0x3fa2a8,_0x2532f5),N(this,_0x3e3f19(0xdb),_0x3e3f19(0x138)),N(this,_0x3e3f19(0x250),0x0),N(this,_0x3e3f19(0x3aa)),N(this,_0x3e3f19(0x203)),(this['_injector']=_0x4840ec,this[_0x3e3f19(0x3a2)]=_0x3d4634,this[_0x3e3f19(0x385)]=_0x12fe34);}[_0x8cc9a2(0x182)](_0x1bd2d8){var _0x4a88a1=_0x8cc9a2;this[_0x4a88a1(0x19f)]();const _0x6bacf2=this['_injector'][_0x4a88a1(0x36b)](ae,this[_0x4a88a1(0x2e6)],this[_0x4a88a1(0x3c2)],this[_0x4a88a1(0x1ff)],[_0x1bd2d8],this[_0x4a88a1(0xdf)],this[_0x4a88a1(0x3aa)]);return _0x6bacf2[_0x4a88a1(0x3c7)](),_0x6bacf2;}[_0x8cc9a2(0x3ab)](_0x1c4c37){var _0x5a979d=_0x8cc9a2;if(this[_0x5a979d(0x158)](_0x1c4c37))return this['_clearScheduledTask'](),this['_injector'][_0x5a979d(0x36b)](Q,this['unitID'],this[_0x5a979d(0x3c2)],this[_0x5a979d(0x1ff)],[],null,[_0x1c4c37],this['_handler']);try{const _0x59ba98=this['_transformService'][_0x5a979d(0xe7)]([_0x1c4c37],[this[_0x5a979d(0x1ff)]],!0x1);if(_0x53b0a7(_0x59ba98)){const {c1Prime:_0x2270d9,c2Prime:_0x5df848}=_0x59ba98;this[_0x5a979d(0x13b)](_0x2270d9[0x0]),_0x5df848[0x0][_0x5a979d(0x240)]=this[_0x5a979d(0x2af)](),this[_0x5a979d(0x19f)]();const _0x432239=this['_injector'][_0x5a979d(0x36b)](_e,this[_0x5a979d(0x2e6)],this[_0x5a979d(0x3c2)],_0x5df848[0x0],this[_0x5a979d(0xdf)]);return _0x432239[_0x5a979d(0x3c7)](),_0x432239;}return this[_0x5a979d(0x18f)](!0x1);}catch(_0x4414b5){return this['_logService'][_0x5a979d(0x237)](_0x4414b5),this[_0x5a979d(0x18f)](!0x1);}}['onRemoteAck'](_0xf23652){var _0x538e0c=_0x8cc9a2;this[_0x538e0c(0x19f)]();const _0x1a4fab=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0xf23652[_0x538e0c(0x306)]<_0x1a4fab-0x1)return this;if(this[_0x538e0c(0x158)](_0xf23652))return this[_0x538e0c(0x127)][_0x538e0c(0x36b)](Q,this['unitID'],this[_0x538e0c(0x3c2)],null,[],this[_0x538e0c(0x1ff)],[],this[_0x538e0c(0xdf)]);this['_incrementRevisionNumber']();const _0x52713d=this[_0x538e0c(0x127)][_0x538e0c(0x36b)](ye,this['unitID'],this[_0x538e0c(0x3c2)],this[_0x538e0c(0xdf)]);return _0x52713d[_0x538e0c(0x3c7)](),_0x52713d;}[_0x8cc9a2(0x263)](_0x3dae1d){var _0x5d3332=_0x8cc9a2;return this[_0x5d3332(0x18f)](!!(_0x3dae1d!=null&&_0x3dae1d['isPermissionRej']));}[_0x8cc9a2(0x2f0)](_0x42dcef){var _0x54b24b=_0x8cc9a2;return this[_0x54b24b(0x250)]>Ci?this[_0x54b24b(0x29d)]():(this['_resendTimer']=Ii(this[_0x54b24b(0x250)],{'timeout':this['_resendTimeout'],'reqId':_0x42dcef[_0x54b24b(0x394)]}),this[_0x54b24b(0x203)]=this[_0x54b24b(0x3aa)][_0x54b24b(0x389)](({reqId:_0x1300d2,timeout:_0x41aa6c})=>{var _0x1c88d4=_0x54b24b;this[_0x1c88d4(0x274)](_0x1300d2,_0x41aa6c);}),this);}[_0x8cc9a2(0x29d)](){var _0x3d3986=_0x8cc9a2;return this['_clearScheduledTask'](),this[_0x3d3986(0x127)]['createInstance'](ue,this[_0x3d3986(0x2e6)],this[_0x3d3986(0x3c2)],this['_awaitingChangeset'],[],this[_0x3d3986(0xdf)]);}[_0x8cc9a2(0x234)](){return this;}[_0x8cc9a2(0x197)](){var _0x22943d=_0x8cc9a2;this[_0x22943d(0xdf)][_0x22943d(0x226)](this[_0x22943d(0x1ff)]);}[_0x8cc9a2(0x18f)](_0x59f174){var _0x34df01=_0x8cc9a2;return this[_0x34df01(0x19f)](),this[_0x34df01(0x127)][_0x34df01(0x36b)](le,this[_0x34df01(0x2e6)],this[_0x34df01(0x3c2)],this['_awaitingChangeset'],[],this['_handler'],_0x59f174);}[_0x8cc9a2(0x274)](_0x3d8a23,_0x35a481){var _0x205e8e=_0x8cc9a2,_0x9c8e2b;_0x3d8a23===((_0x9c8e2b=this[_0x205e8e(0x1ff)])==null?void 0x0:_0x9c8e2b[_0x205e8e(0x394)])&&(this[_0x205e8e(0x197)](),this[_0x205e8e(0x250)]=_0x35a481===0x0?0x3e8:_0x35a481*0x2);}[_0x8cc9a2(0x19f)](){var _0x58785a=_0x8cc9a2,_0x4caad5;(_0x4caad5=this[_0x58785a(0x203)])==null||_0x4caad5[_0x58785a(0x31a)](),this['_resendTimeout']=0x0;}};_e=Ie([P(0x4,_0x2bc925(_0x5c0aec)),P(0x5,_0x2bc925(_0x55e017)),P(0x6,_0x8da825),P(0x7,_0xd27129),P(0x8,_0x20376b),P(0x9,_0x1ab2de),P(0xa,_0x31269b(J))],_e);function _0x1e84(){var _0x590d5a=['join','_data','downloadEndpointUrl','toggleOffline','deepClone','onRemoteAck','_candidateSocket','add','MSG_FOR_ERROR','getActiveSheet','/universer-api/comb','USER_NOT_INVITED_CODE','getTypeOfUnitAdded$','CHANGESET_ACK','onTransformSelections','registerHTTPInterceptor','delete','YUUMI_AI_RUN_FAILED','textRanges','collaboration-client.local-cache-service','APPLY_NON_SEQUENTIAL_REVISION','_getCurrentRevision','submit\x20changeset\x20error!','?url=','PERMISSION_REJ','_submitChangeset','headers','_socket$','hasOwnProperty','6bEQjOF','fromCharCode','Latin1','SHA1','set','unitId\x20is\x20not\x20found','[PendingState]:\x20received\x20rejection.','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','HmacSHA1','clone','_toggleOffline','file','HELLO','GLOBAL_ROOMS_CNT_EXCEEDS','[PendingState]:\x20unhandled\x20univer\x20type:\x20','NoPadding','/universer-api/oidc/authpage','?size=','createSocket','_incrementRevisionNumber','iterations','_localeService','disposeWithMe','\x20-\x20','format','9OjtjFT','authzUrl','_rescheduleHeartbeat','HEARTBEAT_INTERVAL','refreshPermission','_onRecvEvent','href','createCollaborator','Failed\x20to\x20update\x20permission\x20point','SUBMIT_CHANGESET','WordArray','HttpExport','ws://127.0.0.1:8000/universer-api/comb/connect','_createHandler','_oKey','offline','send','EXCHANGE_SIGN_URL_SERVER_URL_KEY','COMMENT_UPDATE','socket\x20close','_prevBlock','unitID','LICENSE_IMPORT_SIZE_EXCEEDED','override','session.room-not-exists','/object/','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','slice','transformUndoRedo','CONFLICT','_cipher','onRemoteRetry','byteOffset','_getCtorByUniverType','sigBytes','UNIVER_SHEET','requestParams','COMPRESS_MUTATION_SEND','[SyncedState]:\x20received\x20acknowledgement.','_process','/allowed','catch','_singleActiveUnitService','getOwnPropertyDescriptor','equals','_hasher','_createInitialStateImpl','joinRsp','OPTIONAL','snapshotServerUrl','extend','objects','APPLY_PERMISSION_DENIED','revision','_timeoutTimer','liveShareNewHost','getTypeOfUnitDisposed$','[OfflineState]:\x20received\x20changeset.','605RpKeDf','4151182qmgwNu','next','ivSize','getUnitType','3gWlaoJ','fetchThroughInterceptors','SOCKET_FAILED','get','[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.','crypto','updatePermissionObjEvent','FETCH_MISS','changesets','getSheetBlock','unsubscribe','debug','INVITE_CODE_HAS_BEEN_UES','execute','BASE64','UnitSnapshot','_clearRetryConnectingTimer','conflict','Base','getImage','call','socket\x20open.','YUUMI_RATE_OVER_LIMIT','Univer','_pendingMutations','getRandomValues','data','image/bmp','YUUMI_ALL_TABLES_IS_INVALID','_waitForHeartbeatResponse','exports','APPLY_DUPLICATED','generateRandomId','_queuedRemoteChangesets','message$','padding','put','_applyRemoteChangeset','collaborators','_nDataBytes','liveShareOperation','_transformSelections','cmd','awaiting_with_pending','waitForRoom$','USERS_ENTER','randomBytes','/fetchmissing?from=','_snapshotServerService','result','__creator','getUnit','_mode','_collabSessionService','dispose$','CBC','_joinRoom','[OfflineState]:\x20received\x20rejection.','StreamCipher','_removeRoom','map','routeKey','UNIVER_PROJECT','complete','emitEvent','loadSheet','INVITE_CODE_ALREADY_BOUND','_map','duration','HmacMD5','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','decryptBlock','_revisionService','LEAVE','ERROR_EXCEED_SIZE','_iKey','getFocusedUnit','FileId','_tryEnsureSocket','_registerDependencies','indexOf','_networkConditionService','[CollaborationUndoRedoService]','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getInterceptPoints','&to=','_append','/universer-api/snapshot','apply','HttpImport','_imageSourceCache','createInstance','CipherParams','append','_createHelper','UNIVER_SLIDE','_univerInstanceService','OpenSSL','APPLY_REVISION_CONFILICT','ONLINE','UUID','_minBufferSize','NOT_COLLAB','shouldCloseConn','_localCacheService','\x20in\x20_schedule.','LIVESHARE_NEW_HOST','repeat','allowed','csRejEvent','_roomCreated$','AES','session.room-full','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','session.join-failed','JOIN_ROOM_FAILED','splice','_transformService','_transformUndoredo','name','/new_changes','subscribe','univer-pro.collaboration-client-socket-service','size','_state','includes','localCacheService','getCurrentRevOfUnit','_members$','title','[CollaborationState]:\x20apply\x20error!','LICENSE_MAX_UNITS_EXCEEDED','reqId','event$','PERSON','_redoStacks','univer-pro.collaboration-client.single-active-unit-service','JOIN_ROOM_NOT_EXISTS','encryptBlock','EvpKDF','_doReset','HEARTBEAT','incrementRevOfUnit','_collaborationSessionService','image/gif','state$','_logService','_retryCount','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','/role','from','unitId','_updateStatus','subject','_resendTimer','onRemoteChangeset','DEFAULT_FILE_NAME','enableOfflineEditing','AWAITING','_collaborationPaused','kdf','[DataLoaderService]','_event$','params','_retryConnectingTimer','LIVESHARE_FETCH_OPERATIONS','closeSession','PasswordBasedCipher','processBlock','state','patch','saveChangeset','objectID','formatter','mutations','updateSnapshot','encode','entries','type','parse','UNKNOWN_CODE','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_listenToNetworkCondition','_updateLocalCache','interceptor','CONNECTOR_DATA_TOO_LARGE','open$','create','MUTATION','_onFetchMissResult','awaitingChangeset','_waitCount','UPDATE_PERMISSION_OBJ','_getAPIPrefixPath','_telemetryInfo','prototype','_nRounds','SNAPSHOT_SERVER_URL_KEY','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getSheetId','UNISCRIPT_RUN','pauseCollaboration','_socketMessageSubscription','filter','SNAPSHOT_HAS_BEEN_REMOVED','_initMergeInterceptor','range','ERROR_IMAGE_TYPE','_onUserJoin','_iv','_onRemoteRejected','now','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','status','Error\x20on\x20receiving\x20event','_doCreateSocket','_onConnectionOpen','_handler','_onCombEvent','/universer-api/authz','People','/-/object/-/batch_allowed','responseType','/collaborator','_sendHeartbeatTimer','transformChangesets','onStateChange','ceil','_substituteUndoStack','_entities','roles','collaboratorID','_configService','BlockCipherMode','/unit/','EMAIL_HAS_BEEN_BOUND','selections','fromCollab','12051096dYJUct','uniscriptRunEvent','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_UNKNOWN','unknown','_sessionStatus$','sessionStatus$','_telemetryService','_throwTelemetryCollaborationNewChangeset','[SyncedState]:\x20received\x20rejection.','objectType','/object','_httpService','_keySchedule','loadDoc','pad','/universer-api/snapshot/','removeMember','{fileID}','asObservable','signUrlServerUrl','focused$','UserProfileImg','_getDownloadEndpointURL','_doCryptBlock','pending','_exhaustRemoteChangesetQueue','_hash','reject','_changesetSessionId','Hasher','/block/','c1Prime','_updateState','editingUnit','Utf8','readAsDataURL','function','_emitMembers','_getUploadFileURL','UNIVER_DOC','image/png','_doFinalize','_transitionLocked','fetchMissingChangesets','_transformStack','getConfig','userID','min','FAIL','not_collab','_injector','ENSURE_SNAPSHOT_EXECUTION','9770706yJXpPV','_sheetTransformSelectionsService','code','finalize','SHOULD_CLOSE_CONN','LICENSE_DISTRO_REJECTED','collaMsg','&assign=','\x0aAfter:\x20','lib','stringify','_transformIMECache','onload','_type','setShowComponents','awaiting','UNKNOWN_CMD','createEncryptor','_executeRemoteChangeset','UNRECOGNIZED','/universer-api/uniscript','memberID','push','sheets','stopTime','getDeserializedSheetBlock','Undefined','findIndex','univer-pro.collaboration-client.network-condition.service','image/jpg','_status$','requireSession','close$','TOO_MANY_REQUESTS','_permissionService','every','resourceIDs','getValue','onCommentUpdate','_onOffline','localeService','LOGIN_FAILED','_doProcessBlock','cfg','_userManagerService','/-/object/list','_DEC_XFORM_MODE','_checkMissing','_replayCachedMutations','then','onMissedChangesetFetched','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_EXPORT_SIZE_EXCEEDED','_replaceFileID','decrypt','updateCursorEvent','_decreaseWaiting','enableAuthServer','createDecryptor','_socketReady','LIVESHARE_OPERATION','UNIVER_COLLABORATION_CLIENT_PLUGIN','_onUserLeave','_changesetReqId','_socket','has','MOBILE_HAS_BEEN_BOUND','Malformed\x20UTF-8\x20data','_commandService','reconnect','actions','COMPRESS_MUTATION_APPLY','post','forEach','addHandlerCallback','_socketService','initWorkbookPermissionChange','_tryReconnect','_isPermissionRej','JOIN_ROOM_PERMISSION_DENIED','onTransformIME','clear','SEND_CHANGESET_TIMEOUT','getUnitOnRev','startTime','_getSendChangesetTimeout','onCommandExecuted','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','sid','appendMutation','msCrypto','_config','loginUrlKey','YUUMI_ASYNCIO_CANCELLED','commentUpdateEvent','concat','origin','hasher','update','pluginName','SUBMIT_CHANGESET_TIMEOUT','SNAPSHOT_INVALID_SNAPSHOT','_onConflict','x-univer-host','isPermissionRej','[OfflineState]:\x20received\x20acknowledgement.','Decryptor','telemetry\x20info\x20is\x20not\x20initialized','[PendingState]:\x20received\x20acknowledgement.','confirm','resend','POST','getSnapshotAPIPath','SOCKET_FAILED_RETRY','_change$','INGEST','OFFLINE','/universer-api/stream/file/upload','_clearScheduledTask','PY_RUNTIME_SCRIPT_ERROR','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','JOINING','8527690XeakFg','_getAPIPrefix','mixIn','getCurrentUser','_transformRemoteChangesetByStateCache','_transformStateCache','socket$','72297qBdRwW','dispose','disableLocalCache','image/jpeg','length','RECV','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_fetchMissChangesets','_createHmacHelper','_undoStacks','_reverseMap','_onLocalMutation','location','sendChangesetTimeout','find','_instanceService','UnitEmbedded','error$','avatar','JOIN','listCollaborators','compose','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INVALID_ARGUMENT','_clearTimeoutTimer','SNAPSHOT_URL_KEY','toString','_invKeySchedule','_initCloseConn','$super','_onMessage','_memberService','originalMeta','session','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveSheetBlock','CHANGESET_SHOULD_RETRY','_xformMode','__esModule','enc','Base64','MD5','roomInfos','onLocalMutation','infoRsp','INVALID_INVITE_CODE','_clearRedo','salt','_onConnectionFailed','_onJoinRoomEvent','reduce','_init','Hex','BlockCipher','transformMutationsWithChangeset','_substituteRedoStack','_scheduleCompleteTimestamp','[UniverCollaborationClientPlugin]','LIVESHARE_REQUEST_HOST','_createSocket','_key','buffer','keySize','hostname','HEARTBEAT_TIMEOUT','_HTTPService','init','_members','_sendingTimer','getCollabEntity$','getUnitStatus$','_getUndoStack','Encryptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getTime','_getLoginPath','_acknowledgedAwaitingChangeset','session.room-permission-denied','loadUnitOfRevision','editing\x20status\x20changed\x20to','_state$','values','encodeURIComponent','charAt','[CollaborationSessionService]','_awaitingChangeset','_entityInit$','max','loadOfflineData','_sender','_onRemoteACK','url','YUUMI_NO_CUBOID_FOR_QUESTION','_sendHeartbeat','getMemberID','getLatestCsReqIdBySid','online$','m2Prime','_initUnitPermissionChange','ALREADY_EXISTS','_compressMutationService','sessionStatus','workbook','_schedule','batchAllowed','_onRemoteRetry','collaboration_new_changeset','_getRedoStack','[CollaborationSession]','_ENC_XFORM_MODE','connection\x20error','onTransformRemoteChangesetByStateCache','SUCCUSS','leaveEvent','withCredentials','permissionRejEvent','unpad','mode','_clearUndo','target','WECHAT_HAS_BEEN_BOUND','ciphertext','CHANGESET_REJ','LIVESHARE_TERMINATE','onSendChangeset','_collaborationTimeoutTimer','_getSignURL','USERS_LEAVE','CLOSE_ROOM','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onSyncEditingCollabCursor','JOIN_ROOM_FULL','eventID','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','floor','_commentUpdate$','reverse','snapshot','toggleOnline','INVITE_CODE_REQUIRED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','error','updateOfflineData','getUnitId','readInt32LE','_showConflictNotification','fetchMiss','UPDATE_CURSOR','PENDING','socketService','baseRev','synced','body','Cipher','updatePermissionPoint','/universer-api/file/{fileID}/sign-url','onTransformRemoteChangesetByIMECache','APPLY_REJECT','\x20to\x20','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','SerializableCipher','_sessions','_snapshotService','string','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','close','_resendTimeout','onlyLocal','algo','PERMISSION_DENIED','_roomMembers','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','blockSize','clamp','sin','compute','_clearHeartbeatTimer','_commentService','encrypt','rev','AWAITING_WITH_PENDING','enableSingleActiveInstanceLock','readyForCollab','getImageSourceCache','BufferedBlockAlgorithm','onRemoteRej','_unlockTransition','pipe','_keyPriorReset','1894918jingzw','_unitID','_parse','status$','NOT_FOUND','enableCollaboration','failed\x20to\x20apply\x20missed\x20changesets!','random','_shouldReportTelemetry','onTransformState','change$','YUUMI_UNABLE_LOAD_URL','commentUpdate$','_resendWithTimeout','_initRequestHeader','ERROR_IMAGE','OTHER_CLIENTS_EDITING','PSEUDO_FETCH_MISSING_RESULT','reset','setConfig','_startCollaboration','COMPLETION_FINISHED','getCollabEntity','byteLength','YUUMI_SUBSCRIPTION_NOT_FOUND','executeCommand','getMember','deleteCollaborator','transformSelections','_handlerCallback','_eventService','retryConnectingInterval','isArray','IDLE','29564pAWYoe','words','getResourcesRequest','key','_lockTransition','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','CHANGESET_REVISION_CONFILICT','charCodeAt','uploadFileServerUrl','_unitInfo$','updateMember','_disableEditing','OTHER_CLIENT_EDITING','Could\x20not\x20dynamically\x20require\x20\x22','_createInitialState','LOCAL_CACHE_INTERVAL','_collaborationUIEventService'];_0x1e84=function(){return _0x590d5a;};return _0x1e84();}let ae=class extends Te{constructor(_0x2ef2f4,_0x5e90b2,_0x5c6c65,_0x6fc88a,_0x22501a,_0x86951d,_0x499e75,_0x1e99b9,_0x1b3c70,_0x145e3f,_0x37e7c2,_0x6086e5,_0x44310a){var _0x7c8657=_0x8cc9a2;super(_0x2ef2f4,_0x5e90b2,_0x5c6c65,_0x6fc88a,_0x22501a,_0x1b3c70,_0x6086e5,_0x1e99b9,_0x44310a),N(this,_0x7c8657(0xdb),_0x7c8657(0x33b)),N(this,'_resendTimeout',0x0),N(this,_0x7c8657(0x3aa)),N(this,_0x7c8657(0x203)),(this[_0x7c8657(0x127)]=_0x499e75,this[_0x7c8657(0x3a2)]=_0x145e3f,this[_0x7c8657(0x385)]=_0x37e7c2,this[_0x7c8657(0x38e)]=_0x44310a,_0x86951d&&(this[_0x7c8657(0x3aa)]=_0x86951d,this[_0x7c8657(0x203)]=this[_0x7c8657(0x3aa)][_0x7c8657(0x389)](({reqId:_0x3b2e17,timeout:_0x24f04d})=>{var _0x4b7b81=_0x7c8657;this[_0x4b7b81(0x274)](_0x3b2e17,_0x24f04d);})));}[_0x8cc9a2(0x182)](_0x574691){var _0xc51cfa=_0x8cc9a2;return this['_pendingMutations'][_0xc51cfa(0x13f)](_0x574691),this;}[_0x8cc9a2(0x3ab)](_0x2475d9){var _0x1f5268=_0x8cc9a2;if(this[_0x1f5268(0x158)](_0x2475d9))return this['_clearScheduledTask'](),this['_injector']['createInstance'](Q,this[_0x1f5268(0x2e6)],this[_0x1f5268(0x3c2)],this[_0x1f5268(0x1ff)],this['_pendingMutations'],null,[_0x2475d9],this['_handler']);try{const _0x5c124f=this[_0x1f5268(0x385)][_0x1f5268(0xe7)]([_0x2475d9],[this['_awaitingChangeset']],!0x1);if(_0x53b0a7(_0x5c124f)){const {c1Prime:_0x2ac82a,c2Prime:_0x2bd8db}=_0x5c124f,_0x30757c=this[_0x1f5268(0x385)][_0x1f5268(0x1e0)](_0x2ac82a[0x0],this[_0x1f5268(0x328)]);if(_0xaeb0b0(_0x30757c)){const {c1Prime:_0x449597,m2Prime:_0x571143}=_0x30757c;return this[_0x1f5268(0x13b)](_0x449597),_0x2bd8db[0x0][_0x1f5268(0x240)]=this[_0x1f5268(0x2af)](),this[_0x1f5268(0x19f)](),this[_0x1f5268(0x127)][_0x1f5268(0x36b)](ae,this[_0x1f5268(0x2e6)],this[_0x1f5268(0x3c2)],_0x2bd8db[0x0],_0x571143,this[_0x1f5268(0xdf)],void 0x0);}throw _0x30757c[_0x1f5268(0x237)];}throw _0x5c124f[_0x1f5268(0x237)];}catch(_0x23042b){return this[_0x1f5268(0x3a2)][_0x1f5268(0x237)](_0x23042b),this[_0x1f5268(0x18f)](!0x1);}}[_0x8cc9a2(0x29f)](_0x3ff6b7){var _0x12066d=_0x8cc9a2;if(this[_0x12066d(0x19f)](),this[_0x12066d(0x158)](_0x3ff6b7))return this[_0x12066d(0x127)][_0x12066d(0x36b)](Q,this[_0x12066d(0x2e6)],this['type'],null,this[_0x12066d(0x328)],this[_0x12066d(0x1ff)],[],this[_0x12066d(0xdf)]);this[_0x12066d(0x2cb)]();const _0x39393a=this[_0x12066d(0x127)][_0x12066d(0x36b)](re,this['unitID'],this[_0x12066d(0x3c2)],this[_0x12066d(0x328)],this[_0x12066d(0xdf)]);return _0x39393a[_0x12066d(0x211)](),_0x39393a[_0x12066d(0x3c7)](),_0x39393a;}[_0x8cc9a2(0x263)](_0x45acc1){var _0x4e5dfb=_0x8cc9a2;return this[_0x4e5dfb(0x18f)](!!(_0x45acc1!=null&&_0x45acc1['isPermissionRej']));}[_0x8cc9a2(0x2f0)](_0x39677c){var _0x2371f2=_0x8cc9a2;return this['_resendTimeout']>Ci?this[_0x2371f2(0x29d)]():(this[_0x2371f2(0x3aa)]=Ii(this[_0x2371f2(0x250)],{'timeout':this['_resendTimeout'],'reqId':_0x39677c[_0x2371f2(0x394)]}),this['_sender']=this[_0x2371f2(0x3aa)][_0x2371f2(0x389)](({reqId:_0x52645b,timeout:_0x11887b})=>{var _0x27204f=_0x2371f2;this[_0x27204f(0x274)](_0x52645b,_0x11887b);}),this);}['toggleOffline'](){var _0x50804e=_0x8cc9a2;return this[_0x50804e(0x19f)](),this[_0x50804e(0x127)][_0x50804e(0x36b)](ue,this[_0x50804e(0x2e6)],this[_0x50804e(0x3c2)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x50804e(0xdf)]);}['toggleOnline'](){return this;}[_0x8cc9a2(0x197)](){var _0x33c761=_0x8cc9a2;this[_0x33c761(0xdf)]['onSendChangeset'](this[_0x33c761(0x1ff)]);}[_0x8cc9a2(0x18f)](_0x2fede0){var _0x52c3e0=_0x8cc9a2;return this[_0x52c3e0(0x19f)](),this['_injector'][_0x52c3e0(0x36b)](le,this['unitID'],this[_0x52c3e0(0x3c2)],null,this[_0x52c3e0(0x328)],this['_handler'],_0x2fede0);}['_resendWithTimeout'](_0x47b213,_0x3c0b96){var _0x241e5b=_0x8cc9a2,_0x2ccd21;_0x47b213===((_0x2ccd21=this['_awaitingChangeset'])==null?void 0x0:_0x2ccd21[_0x241e5b(0x394)])&&(this[_0x241e5b(0x197)](),this['_resendTimeout']=_0x3c0b96===0x0?0x3e8:_0x3c0b96*0x2);}[_0x8cc9a2(0x19f)](){var _0x5eb4d2=_0x8cc9a2,_0x2844ff;(_0x2844ff=this[_0x5eb4d2(0x203)])==null||_0x2844ff[_0x5eb4d2(0x31a)](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0x2bc925(_0x5c0aec)),P(0x7,_0x2bc925(_0x55e017)),P(0x8,_0x8da825),P(0x9,_0xd27129),P(0xa,_0x20376b),P(0xb,_0x1ab2de),P(0xc,_0x31269b(J))],ae);let le=class extends Te{constructor(_0x3f49c5,_0x5eaae4,_0x2d3e06,_0x227c40,_0x36da0a,_0x1822da=!0x1,_0x163048,_0x48cdd5,_0x37c1d5,_0x12c085,_0x2cc99c,_0x28a683,_0x1a535f){var _0x35881c=_0x8cc9a2;super(_0x3f49c5,_0x5eaae4,_0x2d3e06,_0x227c40,_0x36da0a,_0x48cdd5,_0x37c1d5,_0x12c085,_0x1a535f),N(this,'status',_0x35881c(0x321)),(this[_0x35881c(0x177)]=_0x1822da,this[_0x35881c(0x14b)]=_0x163048,this['_localeService']=_0x2cc99c,this[_0x35881c(0x299)]=_0x28a683,this[_0x35881c(0x38e)]=_0x1a535f,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x35881c(0x294)]());}[_0x8cc9a2(0x182)](){return this;}[_0x8cc9a2(0x3ab)](){return this;}['onRemoteAck'](){return this;}[_0x8cc9a2(0x263)](){return this;}[_0x8cc9a2(0x2f0)](){return this;}['toggleOffline'](){return this;}[_0x8cc9a2(0x234)](){return this;}[_0x8cc9a2(0x197)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0xa11912=_0x8cc9a2,_0x429453;(_0x429453=this[_0xa11912(0x378)])==null||_0x429453[_0xa11912(0x238)](this[_0xa11912(0x2e6)],this['type'],null,[]);}[_0x8cc9a2(0x23b)](){var _0x43f9ac=_0x8cc9a2;this[_0x43f9ac(0x177)]?this[_0x43f9ac(0x299)][_0x43f9ac(0x350)]({'id':ne[_0x43f9ac(0x253)]}):this[_0x43f9ac(0x299)][_0x43f9ac(0x350)]({'id':ne[_0x43f9ac(0x2ee)]});}[_0x8cc9a2(0x294)](){var _0x22da8a=_0x8cc9a2;this[_0x22da8a(0x14b)][_0x22da8a(0x244)](new _0x4721f5(this[_0x22da8a(0x2e6)])['id'],!0x1);}};le=Ie([P(0x6,_0x2bc925(_0x2c39ae)),P(0x7,_0x8da825),P(0x8,_0x1ab2de),P(0x9,_0x2bc925(_0x55e017)),P(0xa,_0x2bc925(_0x48830e)),P(0xb,_0x2bc925(ve)),P(0xc,_0x31269b(J))],le);let ue=class extends Te{constructor(_0x592e27,_0x1574be,_0x8acab2,_0x3375e3,_0x3f392e,_0x1f022a,_0xc4f02,_0x4cd410,_0x315a2f,_0x938684){var _0x3cd878=_0x8cc9a2;super(_0x592e27,_0x1574be,_0x8acab2,_0x3375e3,_0x3f392e,_0x4cd410,_0x315a2f,_0xc4f02,_0x938684),N(this,_0x3cd878(0xdb),_0x3cd878(0x2e0)),this[_0x3cd878(0x127)]=_0x1f022a;}[_0x8cc9a2(0x182)](_0x17fcb6){var _0x21f21d=_0x8cc9a2;return this['_pendingMutations']['push'](_0x17fcb6),this[_0x21f21d(0x3c7)](),this;}[_0x8cc9a2(0x3ab)](_0x20aba6){var _0x5c4d07=_0x8cc9a2;throw new Error(_0x5c4d07(0x30a));}[_0x8cc9a2(0x29f)](){var _0x339324=_0x8cc9a2;throw new Error(_0x339324(0x192));}[_0x8cc9a2(0x263)](){var _0xe51354=_0x8cc9a2;throw new Error(_0xe51354(0x349));}[_0x8cc9a2(0x2f0)](){return this;}[_0x8cc9a2(0x29d)](){return this;}[_0x8cc9a2(0x234)](){var _0x52eb79=_0x8cc9a2;const {_injector:_0x4a39a9,_pendingMutations:_0xbcc622,_awaitingChangeset:_0x2d6768,unitID:_0x53ea4d,_handler:_0x5db200,type:_0xee5a36}=this,_0x4c4c70=Ri(_0x4a39a9,_0x53ea4d,_0xee5a36,_0x2d6768,_0xbcc622,_0x5db200);return _0x4c4c70 instanceof re?_0x4c4c70[_0x52eb79(0x211)]():(_0x4c4c70 instanceof ae||_0x4c4c70 instanceof _e)&&_0x4c4c70[_0x52eb79(0x197)](),_0x4c4c70;}[_0x8cc9a2(0x197)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0x2bc925(_0x5c0aec)),P(0x6,_0x2bc925(_0x55e017)),P(0x7,_0x8da825),P(0x8,_0x1ab2de),P(0x9,_0x31269b(J))],ue);let Q=class extends Te{constructor(_0x2fd022,_0x5bf0e5,_0x16b5c6,_0x412294,_0x5c1204,_0x2034f3,_0x5f09b5,_0x5b7b3e,_0x5124f2,_0x1506f2,_0x51fe1e,_0x3454ab,_0x5e626b,_0x261644){var _0x24d88d=_0x8cc9a2;super(_0x2fd022,_0x5bf0e5,_0x16b5c6,_0x412294,_0x5f09b5,_0x51fe1e,_0x3454ab,_0x5124f2,_0x261644),N(this,_0x24d88d(0xdb),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x5c1204,this[_0x24d88d(0x331)]=_0x2034f3,this[_0x24d88d(0x127)]=_0x5b7b3e,this['_logService']=_0x1506f2,this['_transformService']=_0x5e626b,this[_0x24d88d(0x38e)]=_0x261644);}['onMissedChangesetFetched'](_0x32514d){var _0x5ba7b0=_0x8cc9a2;try{const _0x4349ca=[..._0x32514d,...this[_0x5ba7b0(0x331)]],_0x4c82d0=[this[_0x5ba7b0(0x1ff)]||this[_0x5ba7b0(0x1f6)]][_0x5ba7b0(0xd1)](_0x4fb152=>!!_0x4fb152);let _0x1d879c,_0x7ffeb;if(_0x4c82d0[_0x5ba7b0(0x1ae)]){const _0x3151c7=this[_0x5ba7b0(0x385)][_0x5ba7b0(0xe7)](_0x4349ca,_0x4c82d0,!0x1);if(!_0x53b0a7(_0x3151c7))throw _0x3151c7['error'];_0x1d879c=_0x3151c7['c1Prime'],_0x7ffeb=_0x3151c7['c2Prime'];}else _0x1d879c=_0x4349ca,_0x7ffeb=[];let _0x18d66a=this[_0x5ba7b0(0x328)];_0x1d879c[_0x5ba7b0(0x172)](_0x55de84=>{var _0x24e8bc=_0x5ba7b0;let _0x16ee74;if(_0x18d66a[_0x24e8bc(0x1ae)]){const _0x6d9a79=this[_0x24e8bc(0x385)][_0x24e8bc(0x1e0)](_0x55de84,_0x18d66a);if(!_0xaeb0b0(_0x6d9a79))throw _0x6d9a79[_0x24e8bc(0x237)];_0x16ee74=_0x6d9a79['c1Prime'],_0x18d66a=_0x6d9a79[_0x24e8bc(0x20b)];}else _0x16ee74=_0x55de84;this[_0x24e8bc(0x13b)](_0x16ee74);}),this[_0x5ba7b0(0x1f6)]&&this[_0x5ba7b0(0x2cb)](),this[_0x5ba7b0(0x1ff)]&&_0x7ffeb[_0x5ba7b0(0x1ae)]&&(_0x7ffeb[0x0][_0x5ba7b0(0x240)]=this[_0x5ba7b0(0x2af)]());let _0x1eaa03;if(this[_0x5ba7b0(0x1ff)]&&_0x18d66a[_0x5ba7b0(0x1ae)]!==0x0)_0x1eaa03=this['_injector'][_0x5ba7b0(0x36b)](ae,this[_0x5ba7b0(0x2e6)],this[_0x5ba7b0(0x3c2)],_0x7ffeb[0x0],_0x18d66a,this['_handler'],void 0x0);else{if(this[_0x5ba7b0(0x1ff)]&&_0x18d66a['length']===0x0)_0x7ffeb[0x0][_0x5ba7b0(0x240)]=this[_0x5ba7b0(0x2af)](),_0x1eaa03=this[_0x5ba7b0(0x127)][_0x5ba7b0(0x36b)](_e,this[_0x5ba7b0(0x2e6)],this[_0x5ba7b0(0x3c2)],_0x7ffeb[0x0],this['_handler']);else{if(_0x18d66a[_0x5ba7b0(0x1ae)]!==0x0){const _0x465062=this[_0x5ba7b0(0x127)][_0x5ba7b0(0x36b)](re,this['unitID'],this[_0x5ba7b0(0x3c2)],_0x18d66a,this[_0x5ba7b0(0xdf)]);_0x465062[_0x5ba7b0(0x211)](),_0x1eaa03=_0x465062;}else _0x1eaa03=this[_0x5ba7b0(0x127)][_0x5ba7b0(0x36b)](ye,this[_0x5ba7b0(0x2e6)],this[_0x5ba7b0(0x3c2)],this['_handler']);}}return _0x1eaa03[_0x5ba7b0(0x3c7)](),_0x1eaa03;}catch(_0x269ecd){return this['_logService']['error']('[FetchMissState]',_0x5ba7b0(0x26d),_0x269ecd),this[_0x5ba7b0(0x127)][_0x5ba7b0(0x36b)](le,this[_0x5ba7b0(0x2e6)],this['type'],this[_0x5ba7b0(0x1ff)],this[_0x5ba7b0(0x328)],this[_0x5ba7b0(0xdf)],!0x1);}}['resend'](){var _0x2179c8=_0x8cc9a2;throw new Error(_0x2179c8(0xcc));}[_0x8cc9a2(0x182)](_0x1c0c6e){var _0x4a3350=_0x8cc9a2;return this[_0x4a3350(0x328)][_0x4a3350(0x13f)](_0x1c0c6e),this;}[_0x8cc9a2(0x3ab)](_0x4a087c){var _0x2e135d=_0x8cc9a2;return this[_0x2e135d(0x331)][_0x2e135d(0x13f)](_0x4a087c),this;}[_0x8cc9a2(0x29f)](_0x54bb5f){var _0x2ed774=_0x8cc9a2;if(this[_0x2ed774(0x1ff)])return this[_0x2ed774(0x1f6)]=this[_0x2ed774(0x1ff)],this[_0x2ed774(0x1ff)]=null,this;throw new Error(_0x2ed774(0x381));}[_0x8cc9a2(0x263)](_0x3770f8){var _0x539df6=_0x8cc9a2;return this[_0x539df6(0x18f)](!!(_0x3770f8!=null&&_0x3770f8[_0x539df6(0x191)]));}[_0x8cc9a2(0x2f0)](){return this;}[_0x8cc9a2(0x29d)](){var _0x11e53c=_0x8cc9a2;return this[_0x11e53c(0x127)][_0x11e53c(0x36b)](ue,this[_0x11e53c(0x2e6)],this[_0x11e53c(0x3c2)],this[_0x11e53c(0x1ff)],this[_0x11e53c(0x328)],this['_handler']);}[_0x8cc9a2(0x234)](){return this;}[_0x8cc9a2(0x18f)](_0x35ef3d){var _0x2f5409=_0x8cc9a2;return this[_0x2f5409(0x127)][_0x2f5409(0x36b)](le,this[_0x2f5409(0x2e6)],this[_0x2f5409(0x3c2)],this[_0x2f5409(0x1ff)],this['_pendingMutations'],this[_0x2f5409(0xdf)],_0x35ef3d);}};Q=Ie([P(0x7,_0x2bc925(_0x5c0aec)),P(0x8,_0x2bc925(_0x55e017)),P(0x9,_0xd27129),P(0xa,_0x8da825),P(0xb,_0x1ab2de),P(0xc,_0x20376b),P(0xd,_0x31269b(J))],Q);function Ri(_0x482037,_0xe28431,_0x4d3e7c,_0x1ed6cf,_0x133bb8,_0x4e3aba){var _0x270d55=_0x8cc9a2;return _0x1ed6cf&&_0x133bb8[_0x270d55(0x1ae)]?_0x482037[_0x270d55(0x36b)](ae,_0xe28431,_0x4d3e7c,_0x1ed6cf,_0x133bb8,_0x4e3aba,void 0x0):_0x1ed6cf?_0x482037[_0x270d55(0x36b)](_e,_0xe28431,_0x4d3e7c,_0x1ed6cf,_0x4e3aba):_0x133bb8[_0x270d55(0x1ae)]?_0x482037[_0x270d55(0x36b)](re,_0xe28431,_0x4d3e7c,_0x133bb8,_0x4e3aba):_0x482037[_0x270d55(0x36b)](ye,_0xe28431,_0x4d3e7c,_0x4e3aba);}var Zs=Object[_0x8cc9a2(0x2fc)],wt=(_0x41e388,_0x7a9394,_0x354d97,_0x186e84)=>{var _0x424196=_0x8cc9a2;for(var _0x33ffba=_0x186e84>0x1?void 0x0:_0x186e84?Zs(_0x7a9394,_0x354d97):_0x7a9394,_0x910721=_0x41e388[_0x424196(0x1ae)]-0x1,_0xd25c7f;_0x910721>=0x0;_0x910721--)(_0xd25c7f=_0x41e388[_0x910721])&&(_0x33ffba=_0xd25c7f(_0x33ffba)||_0x33ffba);return _0x33ffba;},H=(_0x426eb7,_0x50e0b0)=>(_0x2f1c59,_0x55d04b)=>_0x50e0b0(_0x2f1c59,_0x55d04b,_0x426eb7);let st=class extends _0x13f7ae{constructor(_0x384ba5,_0x1907f6,_0xf1eedf,_0x29841d,_0x42c33f,_0x20cde6,_0x505cd9,_0x3a9046,_0x909924,_0x372dfc,_0x500b15,_0x53080e,_0x21472c){var _0xb718a=_0x8cc9a2;super(),N(this,_0xb718a(0x1fa),new _0xf5efdc(null)),N(this,'state$',this['_state$'][_0xb718a(0x107)]()),N(this,_0xb718a(0x38c)),N(this,_0xb718a(0x3af),!0x1),N(this,_0xb718a(0x111),''),N(this,_0xb718a(0x168),0x0),N(this,_0xb718a(0x26a),this[_0xb718a(0x3a1)][_0xb718a(0x265)](_0x2b99f6(_0x7e83ac=>_0x7e83ac?_0x7e83ac['status']:Ti['OFFLINE']),_0x280cd0(0x1))),N(this,_0xb718a(0x11f),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0xb718a(0x2e6)]=_0x384ba5,this[_0xb718a(0x1cb)]=_0x1907f6,this[_0xb718a(0x136)]=_0xf1eedf,this[_0xb718a(0x127)]=_0x29841d,this[_0xb718a(0x20e)]=_0x42c33f,this[_0xb718a(0x2cd)]=_0x20cde6,this[_0xb718a(0x358)]=_0x505cd9,this['_eventService']=_0x3a9046,this[_0xb718a(0x3a2)]=_0x909924,this[_0xb718a(0x16d)]=_0x372dfc,this[_0xb718a(0x14b)]=_0x500b15,this[_0xb718a(0x2fb)]=_0x53080e,this['_localCacheService']=_0x21472c);}get[_0x8cc9a2(0x3b9)](){var _0x2dba8d=_0x8cc9a2;return this[_0x2dba8d(0x38c)];}async['init'](){var _0x46dd39=_0x8cc9a2;if(this[_0x46dd39(0x3b9)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x46dd39(0x1dd)]();}[_0x8cc9a2(0xcf)](){var _0x57fe72=_0x8cc9a2;return this[_0x57fe72(0x3af)]=!0x0,_0x3d946d(()=>{var _0x17627e=_0x57fe72;this[_0x17627e(0x3af)]=!0x1,this[_0x17627e(0x10e)]();});}[_0x8cc9a2(0x1d5)](_0x2cb967){var _0x59c926=_0x8cc9a2;this[_0x59c926(0x1b5)](_0x2cb967);}[_0x8cc9a2(0x115)](_0x1630ce){var _0x407f7d=_0x8cc9a2;this[_0x407f7d(0x38c)]=_0x1630ce,this[_0x407f7d(0x1fa)][_0x407f7d(0x30d)](_0x1630ce);}async['_init'](){var _0x53e3fe=_0x8cc9a2,_0x216f89;this[_0x53e3fe(0x115)](await this[_0x53e3fe(0x297)]()),this[_0x53e3fe(0x2fb)]&&((_0x216f89=this['_singleActiveUnitService'])==null||_0x216f89[_0x53e3fe(0x116)](this['unitID']),this[_0x53e3fe(0x2ce)](this['_singleActiveUnitService'][_0x53e3fe(0x1f0)](this['unitID'])[_0x53e3fe(0x389)](_0x4e1f9b=>{var _0x5899d8=_0x53e3fe;this[_0x5899d8(0x3a2)]['debug']('[CollaborationEntity]',_0x5899d8(0x1f9),_0x4e1f9b),_0x4e1f9b===Ei[_0x5899d8(0x277)]?(this[_0x5899d8(0x285)]['emitEvent']({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x5899d8(0x14b)][_0x5899d8(0x244)](new _0x4721f5(this[_0x5899d8(0x2e6)])['id'],!0x1),this[_0x5899d8(0x14b)][_0x5899d8(0x137)](!0x1)):(this[_0x5899d8(0x14b)][_0x5899d8(0x244)](new _0x4721f5(this[_0x5899d8(0x2e6)])['id'],!0x0),this['_permissionService'][_0x5899d8(0x137)](!0x0));})));let _0x51b518=!0x1;return this[_0x53e3fe(0x2ce)](this[_0x53e3fe(0x1cb)][_0x53e3fe(0xfa)][_0x53e3fe(0x389)](_0x25baa1=>{var _0xaf3a00=_0x53e3fe;_0x25baa1===Se[_0xaf3a00(0x373)]?this['_toggleOnline'](_0x51b518):_0x25baa1===Se['OFFLINE']&&(_0x51b518=!0x0,this[_0xaf3a00(0x2c2)]());})),this[_0x53e3fe(0x2ce)](this['session']['event$'][_0x53e3fe(0x389)](_0xf3a9f9=>{var _0x37bcbe=_0x53e3fe;try{switch(_0xf3a9f9[_0x37bcbe(0x22e)]){case _0x52d112['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0xb25bd1(_0xf3a9f9[_0x37bcbe(0x32a)]));break;}case _0x52d112[_0x37bcbe(0x2a7)]:{this[_0x37bcbe(0x204)](_0xf3a9f9['data']);break;}case _0x52d112[_0x37bcbe(0x224)]:{this['_onRemoteRejected']();break;}case _0x52d112[_0x37bcbe(0x1ce)]:{this[_0x37bcbe(0x213)](_0xf3a9f9[_0x37bcbe(0x32a)]);break;}case _0x52d112[_0x37bcbe(0x278)]:{this[_0x37bcbe(0xc3)](_0xf3a9f9[_0x37bcbe(0x32a)][_0x37bcbe(0x318)][_0x37bcbe(0x34c)](_0x3a79e3=>_0xb25bd1(_0x3a79e3)));break;}case _0x52d112[_0x37bcbe(0x2b2)]:{this[_0x37bcbe(0xd8)]({'isPermissionRej':!0x0});break;}case _0x52d112[_0x37bcbe(0xce)]:break;}}catch(_0x4d958c){throw console[_0x37bcbe(0x237)](_0x37bcbe(0xdc),_0x4d958c),_0x4d958c;}})),this[_0x53e3fe(0x38c)];}[_0x8cc9a2(0x264)](){var _0x389671=_0x8cc9a2;this[_0x389671(0x11f)]=!0x1;}[_0x8cc9a2(0x28d)](){var _0x2523c1=_0x8cc9a2;if(this['_transitionLocked'])throw new Error(_0x2523c1(0x314));this['_transitionLocked']=!0x0;}[_0x8cc9a2(0x1b5)](_0x92e3e9){var _0x5eec18=_0x8cc9a2;this['_lockTransition'](),this[_0x5eec18(0x115)](this[_0x5eec18(0x38c)][_0x5eec18(0x182)](_0x92e3e9)),this[_0x5eec18(0x264)]();}['_onRemoteChangeset'](_0x3247d9){var _0x1505c7=_0x8cc9a2;if(!(_0x3247d9[_0x1505c7(0x306)]<=this[_0x1505c7(0x358)]['getCurrentRevOfUnit'](this[_0x1505c7(0x2e6)]))){if(this[_0x1505c7(0x3af)]){this['_remoteChangesetQueue'][_0x1505c7(0x13f)](_0x3247d9);return;}this[_0x1505c7(0x335)](_0x3247d9);}}[_0x8cc9a2(0x10e)](){var _0x2c090a=_0x8cc9a2;this['_remoteChangesetQueue'][_0x2c090a(0x172)](_0x363254=>this['_applyRemoteChangeset'](_0x363254)),this['_remoteChangesetQueue']=[];}[_0x8cc9a2(0x335)](_0x6a4ad5){var _0x3daf3b=_0x8cc9a2;const _0x1765ce=this['_compressMutationService'][_0x3daf3b(0x3c8)][_0x3daf3b(0x311)](this['_compressMutationService'][_0x3daf3b(0x3c8)][_0x3daf3b(0x364)]()['COMPRESS_MUTATION_APPLY'])(_0x6a4ad5[_0x3daf3b(0x3be)],null)||_0x6a4ad5[_0x3daf3b(0x3be)],_0x51fd4a={..._0x6a4ad5,'mutations':_0x1765ce};this['_lockTransition'](),this['_updateState'](this['_state']['onRemoteChangeset'](_0x51fd4a)),this['_unlockTransition']();}['_onRemoteACK'](_0xf5bcd0){var _0x577dd8=_0x8cc9a2;this[_0x577dd8(0x28d)](),this[_0x577dd8(0x115)](this[_0x577dd8(0x38c)]['onRemoteAck'](_0xf5bcd0)),this[_0x577dd8(0x264)]();}[_0x8cc9a2(0xd8)](_0x29277c){var _0x267c54=_0x8cc9a2;this['_lockTransition'](),this[_0x267c54(0x115)](this['_state'][_0x267c54(0x263)](_0x29277c)),this['_unlockTransition']();}[_0x8cc9a2(0x213)](_0x34284e){var _0x2631e3=_0x8cc9a2;this[_0x2631e3(0x28d)](),this[_0x2631e3(0x115)](this['_state'][_0x2631e3(0x2f0)](_0x34284e)),this[_0x2631e3(0x264)]();}['_onFetchMissResult'](_0x55dd81){var _0x3d2a60=_0x8cc9a2;if(!(this[_0x3d2a60(0x38c)]instanceof Q))throw new TypeError(_0x3d2a60(0x255));const _0x340004=_0x55dd81['map'](_0x4e5776=>{var _0x261bf5=_0x3d2a60;const _0x2247c4=this[_0x261bf5(0x20e)][_0x261bf5(0x3c8)][_0x261bf5(0x311)](this[_0x261bf5(0x20e)][_0x261bf5(0x3c8)][_0x261bf5(0x364)]()[_0x261bf5(0x170)])(_0x4e5776[_0x261bf5(0x3be)],null)||_0x4e5776[_0x261bf5(0x3be)];return{..._0x4e5776,'mutations':_0x2247c4};});this[_0x3d2a60(0x28d)](),this[_0x3d2a60(0x115)](this[_0x3d2a60(0x38c)][_0x3d2a60(0x15b)](_0x340004)),this['_unlockTransition']();}['_toggleOffline'](){var _0x11e2b1=_0x8cc9a2;this[_0x11e2b1(0x28d)](),this[_0x11e2b1(0x115)](this[_0x11e2b1(0x38c)][_0x11e2b1(0x29d)]()),this[_0x11e2b1(0x264)]();}['_toggleOnline'](_0x30d13c=!0x1){var _0x456806=_0x8cc9a2;this['_lockTransition'](),this['_updateState'](this[_0x456806(0x38c)][_0x456806(0x234)]()),this[_0x456806(0x264)]();const _0x2728b4=this[_0x456806(0x38c)];_0x30d13c&&_0x2728b4 instanceof ye&&(this[_0x456806(0x28d)](),this[_0x456806(0x115)](_0x2728b4[_0x456806(0x23c)]()),this[_0x456806(0x264)]());}async[_0x8cc9a2(0x297)](){return new Promise(_0x4e132d=>{var _0x117263=_0x178d;this[_0x117263(0x1cb)][_0x117263(0xfa)]['pipe'](_0x1d9788(0x1))['subscribe'](async _0x14ac66=>{var _0x2570c5=_0x117263;_0x4e132d(await this[_0x2570c5(0x2ff)](_0x14ac66===Se[_0x2570c5(0x373)]));});});}[_0x8cc9a2(0x2de)](){var _0x3acfcc=_0x8cc9a2;const _0xf7dab0=this[_0x3acfcc(0x2e6)];return{'onStateChange':(_0x2ffd46,_0x44f727)=>{var _0x1fb757=_0x3acfcc;if(_0x2ffd46!==this['_state'])throw new Error(_0x1fb757(0x22f)+_0x2ffd46['status']+_0x1fb757(0x131)+_0x44f727['status']+'\x0aCurrent:\x20'+this[_0x1fb757(0x38c)]['status']);this[_0x1fb757(0x115)](_0x44f727);},'onSendChangeset':_0x3e0898=>{var _0x3e1685=_0x3acfcc;_0x3e0898['sid']||(_0x3e0898[_0x3e1685(0x181)]=this[_0x3e1685(0x111)],_0x3e0898[_0x3e1685(0x394)]=++this['_changesetReqId']);const _0x124b28={'eventID':_0x52d112[_0x3e1685(0x2da)],'data':{'unitID':_0x3e0898[_0x3e1685(0x2e6)],'unitType':this['_type'],'changeset':_0x3e0898,'memberID':this[_0x3e1685(0x1cb)][_0x3e1685(0x208)]()}};this[_0x3e1685(0x1cb)][_0x3e1685(0x2e1)](_0x124b28,this[_0x3e1685(0x2e6)]);},'onMissingChangesets':({from:_0x5037fa,to:_0xa75b87})=>{var _0x42ed2a=_0x3acfcc;this[_0x42ed2a(0x3a2)][_0x42ed2a(0x31b)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x5037fa+_0x42ed2a(0x248)+_0xa75b87);const _0x477c49={'eventID':_0x52d112['FETCH_MISSING'],'data':{'unitID':_0xf7dab0,'unitType':this[_0x42ed2a(0x136)],'from':_0x5037fa,'to':_0xa75b87}};this[_0x42ed2a(0x1cb)][_0x42ed2a(0x2e1)](_0x477c49,this[_0x42ed2a(0x2e6)]);}};}async[_0x8cc9a2(0x2ff)](_0x26b8ab){var _0x1614e3=_0x8cc9a2,_0x4e693c,_0x5ca418,_0x184e69;const _0x1b5ba9=await((_0x4e693c=this[_0x1614e3(0x378)])==null?void 0x0:_0x4e693c[_0x1614e3(0x202)](this['unitID'])),_0x2ed19f=(_0x5ca418=_0x1b5ba9==null?void 0x0:_0x1b5ba9[_0x1614e3(0x3be)])!=null?_0x5ca418:[],_0x454299=(_0x184e69=_0x1b5ba9==null?void 0x0:_0x1b5ba9[_0x1614e3(0xc4)])!=null?_0x184e69:null,_0x2c2de4=!!(_0x454299!=null&&_0x454299[_0x1614e3(0x181)])&&!!(_0x454299!=null&&_0x454299[_0x1614e3(0x394)]);this[_0x1614e3(0x111)]=_0x2c2de4?_0x454299[_0x1614e3(0x181)]:_0xdb3176(),this[_0x1614e3(0x168)]=_0x2c2de4?_0x454299[_0x1614e3(0x394)]:0x0;const _0x2a0d9d=this[_0x1614e3(0x2e6)];try{this['_replayCachedMutations'](_0x454299,_0x2ed19f);}catch(_0x14e629){this[_0x1614e3(0x3a2)]['error'](_0x14e629);}const _0x206453=this[_0x1614e3(0x2de)]();if(_0x26b8ab){const _0x17ea9d=Ri(this['_injector'],_0x2a0d9d,this['_type'],_0x454299,_0x2ed19f,_0x206453);return _0x17ea9d instanceof re?_0x17ea9d[_0x1614e3(0x211)]():(_0x17ea9d instanceof ae||_0x17ea9d instanceof _e)&&_0x17ea9d[_0x1614e3(0x197)](),_0x17ea9d;}return this['_injector']['createInstance'](ue,_0x2a0d9d,this[_0x1614e3(0x136)],_0x454299,_0x2ed19f,_0x206453);}[_0x8cc9a2(0x159)](_0x529fbf,_0x5c51bc){var _0x373d75=_0x8cc9a2,_0x2f119d,_0xa22402;const _0x5e79e5=this['_compressMutationService'][_0x373d75(0x3c8)][_0x373d75(0x311)](this['_compressMutationService'][_0x373d75(0x3c8)][_0x373d75(0x364)]()[_0x373d75(0x170)]);(_0x2f119d=_0x5e79e5((_0x529fbf==null?void 0x0:_0x529fbf[_0x373d75(0x3be)])||[],null))==null||_0x2f119d[_0x373d75(0x172)](_0x281441=>this[_0x373d75(0x16d)]['executeCommand'](_0x281441['id'],_0x281441['params'])),(_0xa22402=_0x5e79e5(_0x5c51bc||[],null))==null||_0xa22402['forEach'](_0x34cb0a=>this[_0x373d75(0x16d)][_0x373d75(0x280)](_0x34cb0a['id'],_0x34cb0a['params']));}};st=wt([H(0x3,_0x2bc925(_0x5c0aec)),H(0x4,_0x2bc925(_0x4b00a2)),H(0x5,_0x2bc925(_0x48830e)),H(0x6,_0x2bc925(_0x55e017)),H(0x7,_0x2bc925(ve)),H(0x8,_0xd27129),H(0x9,_0x8da825),H(0xa,_0x2c39ae),H(0xb,_0x31269b(ht)),H(0xc,_0x31269b(J))],st);let St=class extends st{constructor(_0x297183,_0x5a1ff8,_0x5ca9ad,_0x5a7f43,_0x1e1ffa,_0x4ed308,_0x4776c1,_0x3601d1,_0x3f8f68,_0x532707,_0x20e033,_0x44f2e,_0x53df69){var _0x5f5287=_0x8cc9a2;super(_0x297183,_0x5ca9ad,_0x5a1ff8,_0x5a7f43,_0x1e1ffa,_0x4ed308,_0x4776c1,_0x3601d1,_0x3f8f68,_0x532707,_0x20e033,_0x44f2e,_0x53df69),N(this,_0x5f5287(0x284),null),(this['unitID']=_0x297183,this[_0x5f5287(0x3c2)]=_0x5a1ff8);}[_0x8cc9a2(0x173)](_0x3b536f){var _0x27ce29=_0x8cc9a2;this[_0x27ce29(0x284)]=_0x3b536f;}[_0x8cc9a2(0x1ab)](){var _0x1fb588=_0x8cc9a2;this[_0x1fb588(0x284)]=null,super[_0x1fb588(0x1ab)]();}['_createHandler'](){var _0x35b560=_0x8cc9a2;const _0x54e030=super['_createHandler']();return _0x54e030[_0x35b560(0x179)]=_0x35d5d0=>{var _0x5ae045=_0x35b560,_0xad4eeb,_0x26467c;return(_0x26467c=(_0xad4eeb=this[_0x5ae045(0x284)])==null?void 0x0:_0xad4eeb[_0x5ae045(0x179)])==null?void 0x0:_0x26467c[_0x5ae045(0x324)](_0xad4eeb,_0x35d5d0);},_0x54e030[_0x35b560(0x270)]=_0x26af5c=>{var _0xa5fdc=_0x35b560,_0x461b3c,_0x158303;return(_0x158303=(_0x461b3c=this[_0xa5fdc(0x284)])==null?void 0x0:_0x461b3c[_0xa5fdc(0x270)])==null?void 0x0:_0x158303[_0xa5fdc(0x324)](_0x461b3c,_0x26af5c);},_0x54e030[_0x35b560(0x2a8)]=_0x1f21f0=>{var _0x56cb94=_0x35b560,_0x465e6d,_0x97ef3f;return(_0x97ef3f=(_0x465e6d=this[_0x56cb94(0x284)])==null?void 0x0:_0x465e6d['onTransformSelections'])==null?void 0x0:_0x97ef3f['call'](_0x465e6d,_0x1f21f0);},_0x54e030[_0x35b560(0x22c)]=_0x5801e0=>{var _0x386378=_0x35b560,_0x357152,_0x5991a3;return(_0x5991a3=(_0x357152=this[_0x386378(0x284)])==null?void 0x0:_0x357152[_0x386378(0x22c)])==null?void 0x0:_0x5991a3[_0x386378(0x324)](_0x357152,_0x5801e0);},_0x54e030['onTransformRemoteChangesetByIMECache']=_0x44ae80=>{var _0x42fd96=_0x35b560,_0x3fc71e,_0x4e89b4,_0x24479f;if(!((_0x3fc71e=this['_handlerCallback'])!=null&&_0x3fc71e[_0x42fd96(0x246)]))throw new Error(_0x42fd96(0x28e));return(_0x24479f=(_0x4e89b4=this[_0x42fd96(0x284)])==null?void 0x0:_0x4e89b4[_0x42fd96(0x246)])==null?void 0x0:_0x24479f[_0x42fd96(0x324)](_0x4e89b4,_0x44ae80);},_0x54e030[_0x35b560(0x219)]=_0x513d19=>{var _0x458c7e=_0x35b560,_0x36ba6c,_0x4aacea,_0x115ea9;if(!((_0x36ba6c=this['_handlerCallback'])!=null&&_0x36ba6c[_0x458c7e(0x219)]))throw new Error(_0x458c7e(0x249));return(_0x115ea9=(_0x4aacea=this['_handlerCallback'])==null?void 0x0:_0x4aacea[_0x458c7e(0x219)])==null?void 0x0:_0x115ea9['call'](_0x4aacea,_0x513d19);},_0x54e030;}async[_0x8cc9a2(0x1dd)](){var _0x45ef8b=_0x8cc9a2;const _0x35f88b=await super[_0x45ef8b(0x1dd)]();return this[_0x45ef8b(0x2ce)](this[_0x45ef8b(0x16d)][_0x45ef8b(0x17f)]((_0x2523be,_0x22a0b6)=>{var _0xf1747b=_0x45ef8b;if(_0x2523be[_0xf1747b(0x3c2)]!==_0x2aff31[_0xf1747b(0xc2)]||_0x22a0b6!=null&&_0x22a0b6[_0xf1747b(0xf3)]||_0x22a0b6!=null&&_0x22a0b6[_0xf1747b(0x251)]||_0x2523be['id']===_0x6cc34['id'])return;const _0x50f60e=_0x2523be[_0xf1747b(0x3b3)];if((_0x50f60e==null?void 0x0:_0x50f60e[_0xf1747b(0x3a7)])!==this[_0xf1747b(0x2e6)])return;const _0x74300d=_0x2523be,_0x3e18f0=this[_0xf1747b(0x20e)][_0xf1747b(0x3c8)][_0xf1747b(0x311)](this[_0xf1747b(0x20e)][_0xf1747b(0x3c8)][_0xf1747b(0x364)]()[_0xf1747b(0x2f6)])([_0x74300d],null)||[_0x74300d];this[_0xf1747b(0x1b5)](_0x3e18f0[0x0]);})),_0x35f88b;}};St=wt([H(0x3,_0x2bc925(_0x5c0aec)),H(0x4,_0x2bc925(_0x4b00a2)),H(0x5,_0x2bc925(_0x48830e)),H(0x6,_0x2bc925(_0x55e017)),H(0x7,_0x2bc925(ve)),H(0x8,_0xd27129),H(0x9,_0x8da825),H(0xa,_0x2c39ae),H(0xb,_0x31269b(ht)),H(0xc,_0x31269b(J))],St);let Et=class extends st{constructor(_0x236ece,_0x5ccf97,_0x1a421b,_0x176534,_0x263179,_0x203a16,_0x5da6fa,_0x466bec,_0x4d3942,_0x703b1d,_0x577c7e,_0x369b71,_0x4ced3f,_0x3b9468){var _0x25dd06=_0x8cc9a2;super(_0x236ece,_0x1a421b,_0x5ccf97,_0x176534,_0x263179,_0x203a16,_0x5da6fa,_0x4d3942,_0x703b1d,_0x577c7e,_0x369b71,_0x4ced3f,_0x3b9468),this[_0x25dd06(0x2e6)]=_0x236ece,this[_0x25dd06(0x3c2)]=_0x5ccf97,this[_0x25dd06(0x12a)]=_0x466bec;}[_0x8cc9a2(0x2de)](){var _0x19169f=_0x8cc9a2;const _0x477694=super[_0x19169f(0x2de)]();return _0x477694[_0x19169f(0x2a8)]=_0x3a160d=>this[_0x19169f(0x12a)]['transformSelections'](_0x3a160d),_0x477694;}async['_init'](){var _0x185d7e=_0x8cc9a2;const _0xf704e6=await super[_0x185d7e(0x1dd)]();return this[_0x185d7e(0x2ce)](this['_commandService'][_0x185d7e(0x17f)]((_0x9165be,_0x679e02)=>{var _0x4a776f=_0x185d7e;if(_0x9165be[_0x4a776f(0x3c2)]!==_0x2aff31[_0x4a776f(0xc2)]||_0x679e02!=null&&_0x679e02[_0x4a776f(0xf3)]||_0x679e02!=null&&_0x679e02['onlyLocal'])return;const _0x51444f=_0x9165be[_0x4a776f(0x3b3)];if((_0x51444f==null?void 0x0:_0x51444f['unitId'])!==this[_0x4a776f(0x2e6)])return;const _0x1236df=_0x9165be,_0x35949f=this[_0x4a776f(0x20e)]['interceptor'][_0x4a776f(0x311)](this[_0x4a776f(0x20e)][_0x4a776f(0x3c8)][_0x4a776f(0x364)]()[_0x4a776f(0x2f6)])([_0x1236df],null)||[_0x1236df];this[_0x4a776f(0x1b5)](_0x35949f[0x0]);})),_0xf704e6;}};Et=wt([H(0x3,_0x2bc925(_0x5c0aec)),H(0x4,_0x2bc925(_0x4b00a2)),H(0x5,_0x2bc925(_0x48830e)),H(0x6,_0x2bc925(_0x55e017)),H(0x7,_0x2bc925(it)),H(0x8,_0x2bc925(ve)),H(0x9,_0xd27129),H(0xa,_0x8da825),H(0xb,_0x2c39ae),H(0xc,_0x31269b(ht)),H(0xd,_0x31269b(J))],Et);var Qs=Object[_0x8cc9a2(0x2fc)],en=(_0x18a2fb,_0x1ef8f8,_0x3fbda3,_0xd3c742)=>{for(var _0x4d74f7=_0xd3c742>0x1?void 0x0:_0xd3c742?Qs(_0x1ef8f8,_0x3fbda3):_0x1ef8f8,_0x5dc918=_0x18a2fb['length']-0x1,_0x337c1c;_0x5dc918>=0x0;_0x5dc918--)(_0x337c1c=_0x18a2fb[_0x5dc918])&&(_0x4d74f7=_0x337c1c(_0x4d74f7)||_0x4d74f7);return _0x4d74f7;},Be=(_0x31c84e,_0x25a0fe)=>(_0x5b6bce,_0x420d7f)=>_0x25a0fe(_0x5b6bce,_0x420d7f,_0x31c84e);let nt=class extends _0x13f7ae{constructor(_0x52f46c,_0x33cf67,_0x1756d0,_0x1468b4){var _0x4b8f1e=_0x8cc9a2,_0x3feacd;super(),N(this,_0x4b8f1e(0xeb),new Map()),N(this,_0x4b8f1e(0x200),new _0x71a712()),N(this,'entityInit$',this[_0x4b8f1e(0x200)][_0x4b8f1e(0x107)]()),(this[_0x4b8f1e(0x127)]=_0x52f46c,this[_0x4b8f1e(0x345)]=_0x33cf67,this[_0x4b8f1e(0xee)]=_0x1756d0,this[_0x4b8f1e(0x370)]=_0x1468b4,((_0x3feacd=this['_configService'][_0x4b8f1e(0x122)](K))==null?void 0x0:_0x3feacd[_0x4b8f1e(0x26c)])!==!0x1&&this[_0x4b8f1e(0x1dd)]());}[_0x8cc9a2(0x1ab)](){var _0x204dda=_0x8cc9a2;super[_0x204dda(0x1ab)](),this[_0x204dda(0xeb)][_0x204dda(0x172)](_0x2618c6=>_0x2618c6[_0x204dda(0x1ab)]()),this[_0x204dda(0xeb)]['clear']();}[_0x8cc9a2(0x27d)](_0x54895f){var _0x440e3b=_0x8cc9a2,_0x32c075;return(_0x32c075=this['_entities'][_0x440e3b(0x313)](_0x54895f))!=null?_0x32c075:null;}[_0x8cc9a2(0x1ef)](_0x4ca87e){var _0x31637f=_0x8cc9a2;const _0x32961e=this[_0x31637f(0x27d)](_0x4ca87e);return _0x32961e?_0x32f5dc(_0x32961e):this[_0x31637f(0x200)][_0x31637f(0x265)](_0x469615(_0x555939=>_0x555939[_0x31637f(0x2e6)]===_0x4ca87e));}[_0x8cc9a2(0x260)](_0x3e2ee4){var _0xa09118=_0x8cc9a2;return _0x54ae21(this[_0xa09118(0x1ef)](_0x3e2ee4)[_0xa09118(0x265)](_0xcf6408(()=>{})));}['_init'](){var _0x4eebad=_0x8cc9a2;this[_0x4eebad(0x370)][_0x4eebad(0x2a6)](_0x444bb2[_0x4eebad(0x2f4)])['pipe'](_0x49e2dd(this[_0x4eebad(0x346)]),_0x4b53e2(0x10))[_0x4eebad(0x389)](async _0x170887=>{var _0x1c3d5c=_0x4eebad;const _0x3fa335=_0x170887[_0x1c3d5c(0x239)](),_0x4d0281=await this[_0x1c3d5c(0x27b)](_0x3fa335,Z[_0x1c3d5c(0x2f4)]);this[_0x1c3d5c(0xeb)][_0x1c3d5c(0x2bb)](_0x3fa335,_0x4d0281);}),this[_0x4eebad(0x370)][_0x4eebad(0x2a6)](_0x444bb2['UNIVER_DOC'])[_0x4eebad(0x265)](_0x49e2dd(this[_0x4eebad(0x346)]),_0x4b53e2(0x10))[_0x4eebad(0x265)](_0x469615(_0x24c59d=>!_0x24c59d[_0x4eebad(0x239)]()['startsWith']('__')))[_0x4eebad(0x389)](async _0xbcf3e9=>{var _0x569c9a=_0x4eebad;const _0x7214ff=_0xbcf3e9[_0x569c9a(0x239)](),_0x5d5a75=await this[_0x569c9a(0x27b)](_0x7214ff,Z[_0x569c9a(0x11c)]);this['_entities'][_0x569c9a(0x2bb)](_0x7214ff,_0x5d5a75);}),_0x4e790d(this[_0x4eebad(0x370)]['getTypeOfUnitDisposed$'](_0x444bb2[_0x4eebad(0x2f4)]),this[_0x4eebad(0x370)][_0x4eebad(0x309)](_0x444bb2[_0x4eebad(0x11c)]))[_0x4eebad(0x265)](_0x49e2dd(this[_0x4eebad(0x346)]))['subscribe'](_0x47f0fc=>{var _0x1513ef=_0x4eebad;const _0x5767e1=_0x47f0fc[_0x1513ef(0x239)](),_0x52b7b6=this[_0x1513ef(0xeb)][_0x1513ef(0x313)](_0x5767e1);_0x52b7b6&&(_0x52b7b6[_0x1513ef(0x1ab)](),this[_0x1513ef(0xeb)][_0x1513ef(0x2aa)](_0x5767e1));});}async[_0x8cc9a2(0x27b)](_0x489810,_0x39531f){var _0x3f1ef8=_0x8cc9a2;const _0x3f7987=await this[_0x3f1ef8(0x345)][_0x3f1ef8(0x148)](_0x489810),_0x466da0=this[_0x3f1ef8(0x127)][_0x3f1ef8(0x36b)](this['_getCtorByUniverType'](_0x39531f),_0x489810,_0x39531f,_0x3f7987);return await _0x466da0[_0x3f1ef8(0x1ec)](),this[_0x3f1ef8(0x200)]['next'](_0x466da0),_0x466da0;}[_0x8cc9a2(0x2f2)](_0x127a7f){var _0x27479e=_0x8cc9a2;switch(_0x127a7f){case Z['UNIVER_DOC']:return St;case Z[_0x27479e(0x2f4)]:return Et;default:throw new Error(_0x27479e(0x22b)+_0x127a7f);}}};nt=en([Be(0x0,_0x2bc925(_0x5c0aec)),Be(0x1,_0x2bc925(Le)),Be(0x2,_0x195c73),Be(0x3,_0x24fe3b)],nt);var tn=Object[_0x8cc9a2(0x2fc)],sn=(_0x2f7b19,_0x2f7c9b,_0x162997,_0xce600)=>{var _0x42b717=_0x8cc9a2;for(var _0x596066=_0xce600>0x1?void 0x0:_0xce600?tn(_0x2f7c9b,_0x162997):_0x2f7c9b,_0x1d7cf6=_0x2f7b19[_0x42b717(0x1ae)]-0x1,_0x570aff;_0x1d7cf6>=0x0;_0x1d7cf6--)(_0x570aff=_0x2f7b19[_0x1d7cf6])&&(_0x596066=_0x570aff(_0x596066)||_0x596066);return _0x596066;},Yt=(_0xac532b,_0x2aab44)=>(_0x4dbe52,_0x4b597d)=>_0x2aab44(_0x4dbe52,_0x4b597d,_0xac532b);const nn=_0x8cc9a2(0x3ac),rn=_0x8cc9a2(0x327);let It=class extends _0x580a3b{constructor(_0x6466a6,_0x192d2e){var _0x496e19=_0x8cc9a2;super(),this[_0x496e19(0x370)]=_0x6466a6,this[_0x496e19(0xee)]=_0x192d2e,this[_0x496e19(0x1dd)]();}[_0x8cc9a2(0x1dd)](){var _0x5c7c46=_0x8cc9a2;this['disposeWithMe'](this[_0x5c7c46(0x370)][_0x5c7c46(0x109)]['subscribe'](()=>{var _0x2b6878=_0x5c7c46,_0x100e7f;const _0x4e3bb2=this[_0x2b6878(0x370)]['getFocusedUnit']();let _0x1f18c3=(_0x100e7f=this[_0x2b6878(0xee)][_0x2b6878(0x122)](nn))!=null?_0x100e7f:rn;_0x4e3bb2 instanceof _0x118162&&(_0x1f18c3=_0x4e3bb2[_0x2b6878(0x387)]),document[_0x2b6878(0x391)]=_0x1f18c3;}));}};It=sn([Yt(0x0,_0x24fe3b),Yt(0x1,_0x195c73)],It);var an=Object['getOwnPropertyDescriptor'],on=(_0x4eb8e4,_0xd3e13,_0x563ce3,_0x59dbc9)=>{var _0xbe64f6=_0x8cc9a2;for(var _0x5c0511=_0x59dbc9>0x1?void 0x0:_0x59dbc9?an(_0xd3e13,_0x563ce3):_0xd3e13,_0x278f41=_0x4eb8e4[_0xbe64f6(0x1ae)]-0x1,_0x3697e7;_0x278f41>=0x0;_0x278f41--)(_0x3697e7=_0x4eb8e4[_0x278f41])&&(_0x5c0511=_0x3697e7(_0x5c0511)||_0x5c0511);return _0x5c0511;},dt=(_0x3c9b21,_0x3aa875)=>(_0x423cc4,_0x694129)=>_0x3aa875(_0x423cc4,_0x694129,_0x3c9b21);let rt=class{constructor(_0x456407,_0x5b3160,_0x440da7){var _0x29cad6=_0x8cc9a2;this[_0x29cad6(0xee)]=_0x456407,this[_0x29cad6(0x100)]=_0x5b3160,this[_0x29cad6(0x151)]=_0x440da7,this[_0x29cad6(0x1ec)]();}[_0x8cc9a2(0x1ec)](){var _0x2e8b7a=_0x8cc9a2;this['_httpService'][_0x2e8b7a(0x2a9)]({'priority':0x1,'interceptor':(_0x1b9863,_0xa37998)=>_0xa37998(_0x1b9863)['pipe'](_0x4ea64a(async _0x1d555d=>{var _0x1874a1=_0x2e8b7a;const _0x9f7a16=_0x1d555d;if(_0x9f7a16[_0x1874a1(0xdb)]===0x191){if(typeof window>'u')throw new Error(_0x1874a1(0x2bf));if(window[_0x1874a1(0x196)](this[_0x1874a1(0x151)]['t']('auth.needGotoLoginAlert'))){const _0x29b081=window[_0x1874a1(0x1fc)](window[_0x1874a1(0x1b6)][_0x1874a1(0x2d7)]);window[_0x1874a1(0x1b6)]['href']=this['_getLoginPath']()+_0x1874a1(0x2b1)+_0x29b081;}}return _0x9f7a16;}))});}[_0x8cc9a2(0x1f5)](){var _0x200fcb=_0x8cc9a2,_0x5b2b5f,_0x256e30;const _0x209b56=this[_0x200fcb(0xee)]['getConfig'](ys),_0x77c392=this[_0x200fcb(0xee)]['getConfig'](K);return(_0x256e30=(_0x5b2b5f=_0x77c392==null?void 0x0:_0x77c392[_0x200fcb(0x185)])!=null?_0x5b2b5f:_0x209b56)!=null?_0x256e30:Ns;}};rt=on([dt(0x0,_0x195c73),dt(0x1,_0x2bc925(_0x2b7687)),dt(0x2,_0x2bc925(_0x48830e))],rt);var cn=Object[_0x8cc9a2(0x2fc)],hn=(_0x23652d,_0x2543e5,_0x4da61a,_0x6f9865)=>{var _0x12cb50=_0x8cc9a2;for(var _0x2684a2=_0x6f9865>0x1?void 0x0:_0x6f9865?cn(_0x2543e5,_0x4da61a):_0x2543e5,_0x30f60b=_0x23652d[_0x12cb50(0x1ae)]-0x1,_0x498dd1;_0x30f60b>=0x0;_0x30f60b--)(_0x498dd1=_0x23652d[_0x30f60b])&&(_0x2684a2=_0x498dd1(_0x2684a2)||_0x2684a2);return _0x2684a2;},Kt=(_0x59ff51,_0x14b297)=>(_0x241385,_0x512d06)=>_0x14b297(_0x241385,_0x512d06,_0x59ff51);const bi='AUTHZ_URL_KEY',_n=_0x8cc9a2(0xe1);let Tt=class extends _0x580a3b{constructor(_0x1b45f9,_0x111bcb){var _0x1737b3=_0x8cc9a2;super(),this['_HTTPService']=_0x1b45f9,this[_0x1737b3(0xee)]=_0x111bcb,this[_0x1737b3(0xd3)]();}[_0x8cc9a2(0xd3)](){var _0x338d0c=_0x8cc9a2;const _0x580456=this;this[_0x338d0c(0x2ce)](this[_0x338d0c(0x1eb)][_0x338d0c(0x2a9)]({'priority':0x3e7,'interceptor':_0x480f26({'isMatch'(_0x5e088c){var _0x4a4bff=_0x338d0c,_0x88d33;if(_0x5e088c['method']===_0x4a4bff(0x198)&&((_0x88d33=_0x5e088c['requestParams'])!=null&&_0x88d33['body'])){const {objectID:_0x5c1502,objectType:_0x1784c7}=_0x5e088c['requestParams']['body']||{};if(!_0x5c1502||_0x1784c7===void 0x0)return!0x1;const _0x54b8d1=_0x580456[_0x4a4bff(0xc7)]()+'/'+_0x1784c7+_0x4a4bff(0x2ea)+_0x5c1502+_0x4a4bff(0x2f9);if(_0x5e088c['url']===_0x54b8d1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x268975){var _0x4145f0=_0x338d0c,_0x1cc73d;return(_0x1cc73d=_0x268975[_0x4145f0(0x2f5)])==null?void 0x0:_0x1cc73d[_0x4145f0(0x242)];},'mergeParamsToRequest'(_0x593d7e,_0x38b44c){var _0x3e8be7=_0x338d0c;const _0x27005c=_0x580456[_0x3e8be7(0xc7)]()+_0x3e8be7(0xe3),_0xbdaf26=_0x593d7e[_0x3e8be7(0x1dc)]((_0x4b10d0,_0x28a74c)=>{var _0x330d68=_0x3e8be7;const {unitID:_0x3d4c94,objectID:_0x1dd1c0,objectType:_0x5b63de,actions:_0x53c733}=_0x28a74c;return _0x4b10d0[_0x3d4c94]||(_0x4b10d0[_0x3d4c94]={}),_0x4b10d0[_0x3d4c94][_0x1dd1c0]||(_0x4b10d0[_0x3d4c94][_0x1dd1c0]={'objectID':_0x1dd1c0,'objectType':_0x5b63de,'actions':[]}),_0x4b10d0[_0x3d4c94][_0x1dd1c0][_0x330d68(0x16f)][_0x330d68(0x13f)](..._0x53c733),_0x4b10d0;},{}),_0x5349ea=[];for(const _0x5e08f8 in _0xbdaf26)for(const _0x42996b in _0xbdaf26[_0x5e08f8]){const {actions:_0x5248f3,objectType:_0x34da1b}=_0xbdaf26[_0x5e08f8][_0x42996b],_0x1d3dc9=[...new Set(_0x5248f3)];_0x5349ea[_0x3e8be7(0x13f)]({'unitID':_0x5e08f8,'objectID':_0x42996b,'objectType':_0x34da1b,'actions':_0x1d3dc9});}return new _0x47c3f2('POST',_0x27005c,{'headers':_0x38b44c['headers'],'withCredentials':_0x38b44c[_0x3e8be7(0x21c)],'responseType':_0x38b44c[_0x3e8be7(0xe4)],'body':{'requests':_0x5349ea}});}},{'distributeResult'(_0x561dc2,_0x1c3485){var _0x520134=_0x338d0c;const {objectActions:_0x274234}=_0x561dc2;return _0x1c3485[_0x520134(0x34c)](_0x20e443=>{var _0x4c4f83=_0x520134;const {unitID:_0x184bb2,objectID:_0x59d5ec,actions:_0x23e5a9}=_0x20e443,_0x5a0578=_0x274234[_0x4c4f83(0x1b8)](_0x3fd089=>_0x3fd089[_0x4c4f83(0x2e6)]===_0x184bb2&&_0x3fd089[_0x4c4f83(0x3bc)]===_0x59d5ec),_0x21d99f=_0x23e5a9[_0x4c4f83(0x34c)](_0x2e02fd=>_0x5a0578==null?void 0x0:_0x5a0578[_0x4c4f83(0x16f)][_0x4c4f83(0x1b8)](_0x4d27f9=>_0x4d27f9['action']===_0x2e02fd))[_0x4c4f83(0xd1)](_0x2774c5=>!!_0x2774c5);return{'config':_0x20e443,'result':{'actions':_0x21d99f,'error':_0x561dc2[_0x4c4f83(0x237)]}};});}})}));}[_0x8cc9a2(0xc7)](){var _0xbf616d=_0x8cc9a2,_0x374c7c,_0x510a3b;const _0x1448cc=this[_0xbf616d(0xee)][_0xbf616d(0x122)](bi),_0x2339cd=this[_0xbf616d(0xee)]['getConfig'](K);return(_0x510a3b=(_0x374c7c=_0x2339cd==null?void 0x0:_0x2339cd[_0xbf616d(0x2d2)])!=null?_0x374c7c:_0x1448cc)!=null?_0x510a3b:_n;}async['create'](_0x4a5845){var _0xc0df61=_0x8cc9a2;const _0xeca5=this[_0xc0df61(0xc7)]()+'/'+_0x4a5845[_0xc0df61(0xfe)]+_0xc0df61(0xff);return(await this[_0xc0df61(0x1eb)][_0xc0df61(0x171)](_0xeca5,{'body':_0x4a5845}))['body']['objectID']||'';}async['list'](_0xf0a596){var _0x20ee53=_0x8cc9a2;const _0x4bfd76=this[_0x20ee53(0xc7)]()+_0x20ee53(0x156);return(await this[_0x20ee53(0x1eb)][_0x20ee53(0x171)](_0x4bfd76,{'body':_0xf0a596}))[_0x20ee53(0x242)][_0x20ee53(0x304)];}async[_0x8cc9a2(0x18b)](_0x274ff2){var _0x3fd98f=_0x8cc9a2,_0x50c518,_0x1881e6;const _0x29ee07=this[_0x3fd98f(0xc7)]()+'/'+_0x274ff2[_0x3fd98f(0xfe)]+_0x3fd98f(0x2ea)+_0x274ff2[_0x3fd98f(0x3bc)],_0x5a1d6d=await this[_0x3fd98f(0x1eb)]['put'](_0x29ee07,{'body':_0x274ff2});if(((_0x1881e6=(_0x50c518=_0x5a1d6d==null?void 0x0:_0x5a1d6d['body'])==null?void 0x0:_0x50c518[_0x3fd98f(0x237)])==null?void 0x0:_0x1881e6[_0x3fd98f(0x12b)])!==0x1)throw new Error(_0x3fd98f(0x2d9));}async[_0x8cc9a2(0x37c)](_0x3f2a86){var _0x279ecc=_0x8cc9a2;const _0x535313=this[_0x279ecc(0xc7)]()+'/'+_0x3f2a86[_0x279ecc(0xfe)]+_0x279ecc(0x2ea)+_0x3f2a86[_0x279ecc(0x3bc)]+'/allowed';return(await this[_0x279ecc(0x1eb)][_0x279ecc(0x171)](_0x535313,{'body':_0x3f2a86}))[_0x279ecc(0x242)][_0x279ecc(0x16f)];}async[_0x8cc9a2(0x212)](_0x70dff8){var _0xe70b3f=_0x8cc9a2;const _0x27ae1b=this[_0xe70b3f(0xc7)]()+_0xe70b3f(0xe3);return(await this['_HTTPService'][_0xe70b3f(0x171)](_0x27ae1b,{'body':{'requests':_0x70dff8}}))['body']['objectActions'];}async['listRoles'](_0x4361ae){var _0x4b1a1c=_0x8cc9a2;const _0x1e98b1=this[_0x4b1a1c(0xc7)]()+'/'+_0x4361ae[_0x4b1a1c(0xfe)]+_0x4b1a1c(0x3a5),_0x1b241e=await this['_HTTPService'][_0x4b1a1c(0x171)](_0x1e98b1,{'body':_0x4361ae});return{'roles':_0x1b241e['body'][_0x4b1a1c(0xec)],'actions':_0x1b241e[_0x4b1a1c(0x242)][_0x4b1a1c(0x16f)]};}async[_0x8cc9a2(0x282)](_0x484cdb){var _0x3e5113=_0x8cc9a2;const _0x35cd9d=this[_0x3e5113(0xc7)]()+_0x3e5113(0xe5);await this[_0x3e5113(0x1eb)][_0x3e5113(0x2aa)](_0x35cd9d,{'params':{'collaboratorID':_0x484cdb[_0x3e5113(0xed)],'objectID':_0x484cdb[_0x3e5113(0x3bc)],'unitID':_0x484cdb['unitID']}});}async['updateCollaborator'](_0x5b22d3){var _0x1d61a0=_0x8cc9a2;const _0x208587=this[_0x1d61a0(0xc7)]()+'/collaborator';await this[_0x1d61a0(0x1eb)][_0x1d61a0(0x3ba)](_0x208587,{'body':_0x5b22d3});}async[_0x8cc9a2(0x2d8)](_0x48b513){var _0x96849b=_0x8cc9a2;const _0x301a9d=this['_getAPIPrefixPath']()+_0x96849b(0xe5);await this['_HTTPService']['post'](_0x301a9d,{'body':_0x48b513});}async[_0x8cc9a2(0x1be)](_0x1a8315){var _0x29a8be=_0x8cc9a2;const _0x510c39=this[_0x29a8be(0xc7)]()+_0x29a8be(0xe5);return(await this[_0x29a8be(0x1eb)][_0x29a8be(0x313)](_0x510c39,{'params':{'objectID':_0x1a8315[_0x29a8be(0x3bc)],'unitID':_0x1a8315[_0x29a8be(0x2e6)]}}))[_0x29a8be(0x242)]['collaborators'];}async['putCollaborators'](_0x52a627){var _0x245d3a=_0x8cc9a2;const _0x473ad8=this[_0x245d3a(0xc7)]()+_0x245d3a(0xe5);await this[_0x245d3a(0x1eb)][_0x245d3a(0x334)](_0x473ad8,{'body':_0x52a627});}};Tt=hn([Kt(0x0,_0x2bc925(_0x2b7687)),Kt(0x1,_0x2bc925(_0x195c73))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x20dcc1){var _0x3e3a8a=_0x8cc9a2;return _0x20dcc1&&_0x20dcc1[_0x3e3a8a(0x1d0)]&&Object[_0x3e3a8a(0xc9)][_0x3e3a8a(0x2b6)][_0x3e3a8a(0x324)](_0x20dcc1,'default')?_0x20dcc1['default']:_0x20dcc1;}var Ve={'exports':{}};function ln(_0x14d460){var _0x1eaf47=_0x8cc9a2;throw new Error(_0x1eaf47(0x296)+_0x14d460+_0x1eaf47(0x180));}var Ge={'exports':{}},un=Ge[_0x8cc9a2(0x32e)],qt;function te(){return qt||(qt=0x1,function(_0x20ab3f,_0x152429){(function(_0x389e88,_0x45e959){var _0x3ef8a5=_0x178d;_0x20ab3f[_0x3ef8a5(0x32e)]=_0x45e959();}(un,function(){var _0x1b2709=_0x1b2709||function(_0x5296a4,_0x18bd8f){var _0x1af073=_0x178d,_0x3ab598;if(typeof window<'u'&&window[_0x1af073(0x315)]&&(_0x3ab598=window['crypto']),typeof self<'u'&&self[_0x1af073(0x315)]&&(_0x3ab598=self[_0x1af073(0x315)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3ab598=globalThis['crypto']),!_0x3ab598&&typeof window<'u'&&window[_0x1af073(0x183)]&&(_0x3ab598=window[_0x1af073(0x183)]),!_0x3ab598&&typeof ft<'u'&&ft[_0x1af073(0x315)]&&(_0x3ab598=ft['crypto']),!_0x3ab598&&typeof ln==_0x1af073(0x119))try{_0x3ab598=require(_0x1af073(0x315));}catch{}var _0x343033=function(){var _0x18083a=_0x1af073;if(_0x3ab598){if(typeof _0x3ab598[_0x18083a(0x329)]=='function')try{return _0x3ab598[_0x18083a(0x329)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3ab598[_0x18083a(0x33e)]=='function')try{return _0x3ab598[_0x18083a(0x33e)](0x4)[_0x18083a(0x23a)]();}catch{}}throw new Error(_0x18083a(0x1a1));},_0x31ce88=Object['create']||(function(){function _0x562b42(){}return function(_0x4951d1){var _0x1d6955;return _0x562b42['prototype']=_0x4951d1,_0x1d6955=new _0x562b42(),_0x562b42['prototype']=null,_0x1d6955;};}()),_0x3f62bd={},_0x88cd7f=_0x3f62bd[_0x1af073(0x132)]={},_0x210110=_0x88cd7f[_0x1af073(0x322)]=(function(){return{'extend':function(_0x5764aa){var _0x53e727=_0x178d,_0x475e98=_0x31ce88(this);return _0x5764aa&&_0x475e98[_0x53e727(0x1a5)](_0x5764aa),(!_0x475e98['hasOwnProperty'](_0x53e727(0x1ec))||this[_0x53e727(0x1ec)]===_0x475e98[_0x53e727(0x1ec)])&&(_0x475e98[_0x53e727(0x1ec)]=function(){var _0x2e0a54=_0x53e727;_0x475e98[_0x2e0a54(0x1c7)][_0x2e0a54(0x1ec)][_0x2e0a54(0x368)](this,arguments);}),_0x475e98[_0x53e727(0x1ec)][_0x53e727(0xc9)]=_0x475e98,_0x475e98[_0x53e727(0x1c7)]=this,_0x475e98;},'create':function(){var _0x5f0ff3=_0x178d,_0x28e21c=this[_0x5f0ff3(0x303)]();return _0x28e21c[_0x5f0ff3(0x1ec)][_0x5f0ff3(0x368)](_0x28e21c,arguments),_0x28e21c;},'init':function(){},'mixIn':function(_0x5984bf){var _0x1c5280=_0x178d;for(var _0x50dc11 in _0x5984bf)_0x5984bf[_0x1c5280(0x2b6)](_0x50dc11)&&(this[_0x50dc11]=_0x5984bf[_0x50dc11]);_0x5984bf[_0x1c5280(0x2b6)](_0x1c5280(0x1c4))&&(this[_0x1c5280(0x1c4)]=_0x5984bf[_0x1c5280(0x1c4)]);},'clone':function(){var _0x193635=_0x178d;return this[_0x193635(0x1ec)][_0x193635(0xc9)][_0x193635(0x303)](this);}};}()),_0x129780=_0x88cd7f['WordArray']=_0x210110[_0x1af073(0x303)]({'init':function(_0x3656ae,_0x1a7626){var _0x42f4bf=_0x1af073;_0x3656ae=this[_0x42f4bf(0x28a)]=_0x3656ae||[],_0x1a7626!=_0x18bd8f?this[_0x42f4bf(0x2f3)]=_0x1a7626:this[_0x42f4bf(0x2f3)]=_0x3656ae[_0x42f4bf(0x1ae)]*0x4;},'toString':function(_0x5912a1){var _0x283735=_0x1af073;return(_0x5912a1||_0x116321)[_0x283735(0x133)](this);},'concat':function(_0x417ce5){var _0x22f4c2=_0x1af073,_0x1f070d=this[_0x22f4c2(0x28a)],_0x66d908=_0x417ce5[_0x22f4c2(0x28a)],_0x42efa8=this['sigBytes'],_0x550712=_0x417ce5[_0x22f4c2(0x2f3)];if(this[_0x22f4c2(0x257)](),_0x42efa8%0x4)for(var _0x199e8e=0x0;_0x199e8e<_0x550712;_0x199e8e++){var _0x463f8d=_0x66d908[_0x199e8e>>>0x2]>>>0x18-_0x199e8e%0x4*0x8&0xff;_0x1f070d[_0x42efa8+_0x199e8e>>>0x2]|=_0x463f8d<<0x18-(_0x42efa8+_0x199e8e)%0x4*0x8;}else{for(var _0x52c337=0x0;_0x52c337<_0x550712;_0x52c337+=0x4)_0x1f070d[_0x42efa8+_0x52c337>>>0x2]=_0x66d908[_0x52c337>>>0x2];}return this[_0x22f4c2(0x2f3)]+=_0x550712,this;},'clamp':function(){var _0x2d8fec=_0x1af073,_0xaf155a=this[_0x2d8fec(0x28a)],_0x5d2b79=this[_0x2d8fec(0x2f3)];_0xaf155a[_0x5d2b79>>>0x2]&=0xffffffff<<0x20-_0x5d2b79%0x4*0x8,_0xaf155a[_0x2d8fec(0x1ae)]=_0x5296a4['ceil'](_0x5d2b79/0x4);},'clone':function(){var _0xff94c=_0x1af073,_0x4ea1ca=_0x210110[_0xff94c(0x2c1)][_0xff94c(0x324)](this);return _0x4ea1ca[_0xff94c(0x28a)]=this[_0xff94c(0x28a)][_0xff94c(0x2ec)](0x0),_0x4ea1ca;},'random':function(_0x40c0b2){var _0x43815b=_0x1af073;for(var _0x1bbc5b=[],_0x13a25d=0x0;_0x13a25d<_0x40c0b2;_0x13a25d+=0x4)_0x1bbc5b[_0x43815b(0x13f)](_0x343033());return new _0x129780[(_0x43815b(0x1ec))](_0x1bbc5b,_0x40c0b2);}}),_0x48ad47=_0x3f62bd[_0x1af073(0x1d1)]={},_0x116321=_0x48ad47[_0x1af073(0x1de)]={'stringify':function(_0x291cf2){var _0x1df5ce=_0x1af073;for(var _0x299090=_0x291cf2[_0x1df5ce(0x28a)],_0x522f00=_0x291cf2['sigBytes'],_0x14dc76=[],_0x49e219=0x0;_0x49e219<_0x522f00;_0x49e219++){var _0x17c3a7=_0x299090[_0x49e219>>>0x2]>>>0x18-_0x49e219%0x4*0x8&0xff;_0x14dc76[_0x1df5ce(0x13f)]((_0x17c3a7>>>0x4)['toString'](0x10)),_0x14dc76[_0x1df5ce(0x13f)]((_0x17c3a7&0xf)[_0x1df5ce(0x1c4)](0x10));}return _0x14dc76[_0x1df5ce(0x29a)]('');},'parse':function(_0x530502){var _0x52443e=_0x1af073;for(var _0x618c01=_0x530502[_0x52443e(0x1ae)],_0xb94f2f=[],_0x565be6=0x0;_0x565be6<_0x618c01;_0x565be6+=0x2)_0xb94f2f[_0x565be6>>>0x3]|=parseInt(_0x530502['substr'](_0x565be6,0x2),0x10)<<0x18-_0x565be6%0x8*0x4;return new _0x129780['init'](_0xb94f2f,_0x618c01/0x2);}},_0x50223a=_0x48ad47[_0x1af073(0x2b9)]={'stringify':function(_0xaf091c){var _0x49aa22=_0x1af073;for(var _0x4ca4f3=_0xaf091c[_0x49aa22(0x28a)],_0x16c191=_0xaf091c['sigBytes'],_0x10228d=[],_0x10248b=0x0;_0x10248b<_0x16c191;_0x10248b++){var _0x2d903f=_0x4ca4f3[_0x10248b>>>0x2]>>>0x18-_0x10248b%0x4*0x8&0xff;_0x10228d[_0x49aa22(0x13f)](String[_0x49aa22(0x2b8)](_0x2d903f));}return _0x10228d[_0x49aa22(0x29a)]('');},'parse':function(_0xc8359){var _0x560538=_0x1af073;for(var _0x1a7173=_0xc8359[_0x560538(0x1ae)],_0x321854=[],_0x35d969=0x0;_0x35d969<_0x1a7173;_0x35d969++)_0x321854[_0x35d969>>>0x2]|=(_0xc8359['charCodeAt'](_0x35d969)&0xff)<<0x18-_0x35d969%0x4*0x8;return new _0x129780['init'](_0x321854,_0x1a7173);}},_0x23d195=_0x48ad47['Utf8']={'stringify':function(_0x2ac2b9){var _0x5e520a=_0x1af073;try{return decodeURIComponent(escape(_0x50223a[_0x5e520a(0x133)](_0x2ac2b9)));}catch{throw new Error(_0x5e520a(0x16c));}},'parse':function(_0x34a47a){var _0x56318c=_0x1af073;return _0x50223a[_0x56318c(0x3c3)](unescape(encodeURIComponent(_0x34a47a)));}},_0x5084b6=_0x88cd7f[_0x1af073(0x262)]=_0x210110[_0x1af073(0x303)]({'reset':function(){var _0x2592c3=_0x1af073;this['_data']=new _0x129780[(_0x2592c3(0x1ec))](),this[_0x2592c3(0x337)]=0x0;},'_append':function(_0x457942){var _0x1e50a3=_0x1af073;typeof _0x457942==_0x1e50a3(0x24d)&&(_0x457942=_0x23d195[_0x1e50a3(0x3c3)](_0x457942)),this[_0x1e50a3(0x29b)]['concat'](_0x457942),this[_0x1e50a3(0x337)]+=_0x457942[_0x1e50a3(0x2f3)];},'_process':function(_0x33ae8d){var _0x648b13=_0x1af073,_0x15fc46,_0x19f179=this[_0x648b13(0x29b)],_0x2f507b=_0x19f179[_0x648b13(0x28a)],_0x568db2=_0x19f179['sigBytes'],_0x323d4b=this['blockSize'],_0x3e6301=_0x323d4b*0x4,_0x194409=_0x568db2/_0x3e6301;_0x33ae8d?_0x194409=_0x5296a4[_0x648b13(0xe9)](_0x194409):_0x194409=_0x5296a4[_0x648b13(0x201)]((_0x194409|0x0)-this[_0x648b13(0x375)],0x0);var _0x18ef5e=_0x194409*_0x323d4b,_0x32c25d=_0x5296a4[_0x648b13(0x124)](_0x18ef5e*0x4,_0x568db2);if(_0x18ef5e){for(var _0x289938=0x0;_0x289938<_0x18ef5e;_0x289938+=_0x323d4b)this[_0x648b13(0x153)](_0x2f507b,_0x289938);_0x15fc46=_0x2f507b[_0x648b13(0x384)](0x0,_0x18ef5e),_0x19f179[_0x648b13(0x2f3)]-=_0x32c25d;}return new _0x129780[(_0x648b13(0x1ec))](_0x15fc46,_0x32c25d);},'clone':function(){var _0x1af1e9=_0x1af073,_0x2587fd=_0x210110[_0x1af1e9(0x2c1)]['call'](this);return _0x2587fd['_data']=this[_0x1af1e9(0x29b)][_0x1af1e9(0x2c1)](),_0x2587fd;},'_minBufferSize':0x0});_0x88cd7f[_0x1af073(0x112)]=_0x5084b6[_0x1af073(0x303)]({'cfg':_0x210110[_0x1af073(0x303)](),'init':function(_0x1a5f58){var _0x216fd6=_0x1af073;this[_0x216fd6(0x154)]=this['cfg'][_0x216fd6(0x303)](_0x1a5f58),this[_0x216fd6(0x279)]();},'reset':function(){var _0x2ab649=_0x1af073;_0x5084b6['reset'][_0x2ab649(0x324)](this),this[_0x2ab649(0x39c)]();},'update':function(_0x1f57b2){var _0x49c419=_0x1af073;return this['_append'](_0x1f57b2),this[_0x49c419(0x2f8)](),this;},'finalize':function(_0x2b5a32){var _0x507913=_0x1af073;_0x2b5a32&&this[_0x507913(0x366)](_0x2b5a32);var _0x427a7f=this['_doFinalize']();return _0x427a7f;},'blockSize':0x10,'_createHelper':function(_0x57c39c){return function(_0x293ba7,_0x1986da){var _0x48ae28=_0x178d;return new _0x57c39c[(_0x48ae28(0x1ec))](_0x1986da)[_0x48ae28(0x12c)](_0x293ba7);};},'_createHmacHelper':function(_0x2aef7a){return function(_0xb03706,_0x4adf8f){var _0x2d6de5=_0x178d;return new _0x1ab80b['HMAC'][(_0x2d6de5(0x1ec))](_0x2aef7a,_0x4adf8f)['finalize'](_0xb03706);};}});var _0x1ab80b=_0x3f62bd[_0x1af073(0x252)]={};return _0x3f62bd;}(Math);return _0x1b2709;}));}(Ge)),Ge['exports'];}var We={'exports':{}},dn=We[_0x8cc9a2(0x32e)],zt;function Oi(){var _0x46271=_0x8cc9a2;return zt||(zt=0x1,function(_0x511798,_0x1c8d3e){(function(_0x5a0ddd,_0x71fc6a){var _0x46a922=_0x178d;_0x511798[_0x46a922(0x32e)]=_0x71fc6a(te());}(dn,function(_0xfb7b3e){var _0x111982=_0x178d;return(function(){var _0x3a22de=_0x178d,_0x4fbd1c=_0xfb7b3e,_0x1acd72=_0x4fbd1c['lib'],_0x4498a6=_0x1acd72[_0x3a22de(0x2db)],_0x2fbf5c=_0x4fbd1c['enc'];_0x2fbf5c[_0x3a22de(0x1d2)]={'stringify':function(_0x18e62f){var _0x122a31=_0x3a22de,_0x36d4f4=_0x18e62f[_0x122a31(0x28a)],_0x35f531=_0x18e62f['sigBytes'],_0x290e74=this[_0x122a31(0x353)];_0x18e62f['clamp']();for(var _0x4b9eb8=[],_0x5493c8=0x0;_0x5493c8<_0x35f531;_0x5493c8+=0x3)for(var _0x1d03e3=_0x36d4f4[_0x5493c8>>>0x2]>>>0x18-_0x5493c8%0x4*0x8&0xff,_0x2b4510=_0x36d4f4[_0x5493c8+0x1>>>0x2]>>>0x18-(_0x5493c8+0x1)%0x4*0x8&0xff,_0x292513=_0x36d4f4[_0x5493c8+0x2>>>0x2]>>>0x18-(_0x5493c8+0x2)%0x4*0x8&0xff,_0x3ec79d=_0x1d03e3<<0x10|_0x2b4510<<0x8|_0x292513,_0x33cb22=0x0;_0x33cb22<0x4&&_0x5493c8+_0x33cb22*0.75<_0x35f531;_0x33cb22++)_0x4b9eb8[_0x122a31(0x13f)](_0x290e74[_0x122a31(0x1fd)](_0x3ec79d>>>0x6*(0x3-_0x33cb22)&0x3f));var _0xee9664=_0x290e74[_0x122a31(0x1fd)](0x40);if(_0xee9664){for(;_0x4b9eb8[_0x122a31(0x1ae)]%0x4;)_0x4b9eb8[_0x122a31(0x13f)](_0xee9664);}return _0x4b9eb8[_0x122a31(0x29a)]('');},'parse':function(_0x16f82){var _0x8f00e0=_0x3a22de,_0x3c1929=_0x16f82[_0x8f00e0(0x1ae)],_0x172e66=this['_map'],_0x278ae6=this[_0x8f00e0(0x1b4)];if(!_0x278ae6){_0x278ae6=this[_0x8f00e0(0x1b4)]=[];for(var _0x479a25=0x0;_0x479a25<_0x172e66['length'];_0x479a25++)_0x278ae6[_0x172e66[_0x8f00e0(0x290)](_0x479a25)]=_0x479a25;}var _0x42099b=_0x172e66['charAt'](0x40);if(_0x42099b){var _0x21d91e=_0x16f82[_0x8f00e0(0x360)](_0x42099b);_0x21d91e!==-0x1&&(_0x3c1929=_0x21d91e);}return _0x10eb62(_0x16f82,_0x3c1929,_0x278ae6);},'_map':_0x3a22de(0x356)};function _0x10eb62(_0x230ad1,_0x5c3766,_0x4bb2d){var _0x2f2ef3=_0x3a22de;for(var _0x3543dd=[],_0x26e160=0x0,_0x5d65cf=0x0;_0x5d65cf<_0x5c3766;_0x5d65cf++)if(_0x5d65cf%0x4){var _0x322d2c=_0x4bb2d[_0x230ad1[_0x2f2ef3(0x290)](_0x5d65cf-0x1)]<<_0x5d65cf%0x4*0x2,_0x46581d=_0x4bb2d[_0x230ad1[_0x2f2ef3(0x290)](_0x5d65cf)]>>>0x6-_0x5d65cf%0x4*0x2,_0x692519=_0x322d2c|_0x46581d;_0x3543dd[_0x26e160>>>0x2]|=_0x692519<<0x18-_0x26e160%0x4*0x8,_0x26e160++;}return _0x4498a6[_0x2f2ef3(0xc1)](_0x3543dd,_0x26e160);}}()),_0xfb7b3e[_0x111982(0x1d1)][_0x111982(0x1d2)];}));}(We)),We[_0x46271(0x32e)];}var Ye={'exports':{}},fn=Ye[_0x8cc9a2(0x32e)],Jt;function vn(){var _0x4e419a=_0x8cc9a2;return Jt||(Jt=0x1,function(_0x2e0be1,_0x3fa091){(function(_0x4f4144,_0x4245ce){var _0xff401=_0x178d;_0x2e0be1[_0xff401(0x32e)]=_0x4245ce(te());}(fn,function(_0xdcea1e){var _0x4610ff=_0x178d;return function(_0x4d2ce3){var _0x840cfa=_0x178d,_0x310660=_0xdcea1e,_0xc34244=_0x310660['lib'],_0x31749b=_0xc34244[_0x840cfa(0x2db)],_0x3068b0=_0xc34244[_0x840cfa(0x112)],_0x2d2967=_0x310660[_0x840cfa(0x252)],_0x120443=[];(function(){var _0x4c57c1=_0x840cfa;for(var _0x44703a=0x0;_0x44703a<0x40;_0x44703a++)_0x120443[_0x44703a]=_0x4d2ce3['abs'](_0x4d2ce3[_0x4c57c1(0x258)](_0x44703a+0x1))*0x100000000|0x0;}());var _0x2373c2=_0x2d2967[_0x840cfa(0x1d3)]=_0x3068b0['extend']({'_doReset':function(){var _0x108bb2=_0x840cfa;this[_0x108bb2(0x10f)]=new _0x31749b[(_0x108bb2(0x1ec))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2661b6,_0x3d2c07){var _0x15c5e9=_0x840cfa;for(var _0x1849f6=0x0;_0x1849f6<0x10;_0x1849f6++){var _0xe9f3ab=_0x3d2c07+_0x1849f6,_0x2aced9=_0x2661b6[_0xe9f3ab];_0x2661b6[_0xe9f3ab]=(_0x2aced9<<0x8|_0x2aced9>>>0x18)&0xff00ff|(_0x2aced9<<0x18|_0x2aced9>>>0x8)&0xff00ff00;}var _0xa7fe7a=this[_0x15c5e9(0x10f)][_0x15c5e9(0x28a)],_0x4d0b74=_0x2661b6[_0x3d2c07+0x0],_0x171bc9=_0x2661b6[_0x3d2c07+0x1],_0x87624a=_0x2661b6[_0x3d2c07+0x2],_0x304920=_0x2661b6[_0x3d2c07+0x3],_0x21f069=_0x2661b6[_0x3d2c07+0x4],_0x280766=_0x2661b6[_0x3d2c07+0x5],_0x224bd8=_0x2661b6[_0x3d2c07+0x6],_0x4caa51=_0x2661b6[_0x3d2c07+0x7],_0x55f2be=_0x2661b6[_0x3d2c07+0x8],_0x2521aa=_0x2661b6[_0x3d2c07+0x9],_0x470cc4=_0x2661b6[_0x3d2c07+0xa],_0x4b2528=_0x2661b6[_0x3d2c07+0xb],_0x4113cd=_0x2661b6[_0x3d2c07+0xc],_0x317cf6=_0x2661b6[_0x3d2c07+0xd],_0x192593=_0x2661b6[_0x3d2c07+0xe],_0x65f5e1=_0x2661b6[_0x3d2c07+0xf],_0x1f726c=_0xa7fe7a[0x0],_0x394af8=_0xa7fe7a[0x1],_0x34716d=_0xa7fe7a[0x2],_0x4ed15e=_0xa7fe7a[0x3];_0x1f726c=_0x5bc65a(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x4d0b74,0x7,_0x120443[0x0]),_0x4ed15e=_0x5bc65a(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x171bc9,0xc,_0x120443[0x1]),_0x34716d=_0x5bc65a(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x87624a,0x11,_0x120443[0x2]),_0x394af8=_0x5bc65a(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x304920,0x16,_0x120443[0x3]),_0x1f726c=_0x5bc65a(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x21f069,0x7,_0x120443[0x4]),_0x4ed15e=_0x5bc65a(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x280766,0xc,_0x120443[0x5]),_0x34716d=_0x5bc65a(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x224bd8,0x11,_0x120443[0x6]),_0x394af8=_0x5bc65a(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x4caa51,0x16,_0x120443[0x7]),_0x1f726c=_0x5bc65a(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x55f2be,0x7,_0x120443[0x8]),_0x4ed15e=_0x5bc65a(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x2521aa,0xc,_0x120443[0x9]),_0x34716d=_0x5bc65a(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x470cc4,0x11,_0x120443[0xa]),_0x394af8=_0x5bc65a(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x4b2528,0x16,_0x120443[0xb]),_0x1f726c=_0x5bc65a(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x4113cd,0x7,_0x120443[0xc]),_0x4ed15e=_0x5bc65a(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x317cf6,0xc,_0x120443[0xd]),_0x34716d=_0x5bc65a(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x192593,0x11,_0x120443[0xe]),_0x394af8=_0x5bc65a(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x65f5e1,0x16,_0x120443[0xf]),_0x1f726c=_0x21f53e(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x171bc9,0x5,_0x120443[0x10]),_0x4ed15e=_0x21f53e(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x224bd8,0x9,_0x120443[0x11]),_0x34716d=_0x21f53e(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x4b2528,0xe,_0x120443[0x12]),_0x394af8=_0x21f53e(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x4d0b74,0x14,_0x120443[0x13]),_0x1f726c=_0x21f53e(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x280766,0x5,_0x120443[0x14]),_0x4ed15e=_0x21f53e(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x470cc4,0x9,_0x120443[0x15]),_0x34716d=_0x21f53e(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x65f5e1,0xe,_0x120443[0x16]),_0x394af8=_0x21f53e(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x21f069,0x14,_0x120443[0x17]),_0x1f726c=_0x21f53e(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x2521aa,0x5,_0x120443[0x18]),_0x4ed15e=_0x21f53e(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x192593,0x9,_0x120443[0x19]),_0x34716d=_0x21f53e(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x304920,0xe,_0x120443[0x1a]),_0x394af8=_0x21f53e(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x55f2be,0x14,_0x120443[0x1b]),_0x1f726c=_0x21f53e(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x317cf6,0x5,_0x120443[0x1c]),_0x4ed15e=_0x21f53e(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x87624a,0x9,_0x120443[0x1d]),_0x34716d=_0x21f53e(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x4caa51,0xe,_0x120443[0x1e]),_0x394af8=_0x21f53e(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x4113cd,0x14,_0x120443[0x1f]),_0x1f726c=_0x112952(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x280766,0x4,_0x120443[0x20]),_0x4ed15e=_0x112952(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x55f2be,0xb,_0x120443[0x21]),_0x34716d=_0x112952(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x4b2528,0x10,_0x120443[0x22]),_0x394af8=_0x112952(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x192593,0x17,_0x120443[0x23]),_0x1f726c=_0x112952(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x171bc9,0x4,_0x120443[0x24]),_0x4ed15e=_0x112952(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x21f069,0xb,_0x120443[0x25]),_0x34716d=_0x112952(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x4caa51,0x10,_0x120443[0x26]),_0x394af8=_0x112952(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x470cc4,0x17,_0x120443[0x27]),_0x1f726c=_0x112952(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x317cf6,0x4,_0x120443[0x28]),_0x4ed15e=_0x112952(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x4d0b74,0xb,_0x120443[0x29]),_0x34716d=_0x112952(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x304920,0x10,_0x120443[0x2a]),_0x394af8=_0x112952(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x224bd8,0x17,_0x120443[0x2b]),_0x1f726c=_0x112952(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x2521aa,0x4,_0x120443[0x2c]),_0x4ed15e=_0x112952(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x4113cd,0xb,_0x120443[0x2d]),_0x34716d=_0x112952(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x65f5e1,0x10,_0x120443[0x2e]),_0x394af8=_0x112952(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x87624a,0x17,_0x120443[0x2f]),_0x1f726c=_0xc2e8c4(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x4d0b74,0x6,_0x120443[0x30]),_0x4ed15e=_0xc2e8c4(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x4caa51,0xa,_0x120443[0x31]),_0x34716d=_0xc2e8c4(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x192593,0xf,_0x120443[0x32]),_0x394af8=_0xc2e8c4(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x280766,0x15,_0x120443[0x33]),_0x1f726c=_0xc2e8c4(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x4113cd,0x6,_0x120443[0x34]),_0x4ed15e=_0xc2e8c4(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x304920,0xa,_0x120443[0x35]),_0x34716d=_0xc2e8c4(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x470cc4,0xf,_0x120443[0x36]),_0x394af8=_0xc2e8c4(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x171bc9,0x15,_0x120443[0x37]),_0x1f726c=_0xc2e8c4(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x55f2be,0x6,_0x120443[0x38]),_0x4ed15e=_0xc2e8c4(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x65f5e1,0xa,_0x120443[0x39]),_0x34716d=_0xc2e8c4(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x224bd8,0xf,_0x120443[0x3a]),_0x394af8=_0xc2e8c4(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x317cf6,0x15,_0x120443[0x3b]),_0x1f726c=_0xc2e8c4(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x21f069,0x6,_0x120443[0x3c]),_0x4ed15e=_0xc2e8c4(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x4b2528,0xa,_0x120443[0x3d]),_0x34716d=_0xc2e8c4(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x87624a,0xf,_0x120443[0x3e]),_0x394af8=_0xc2e8c4(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x2521aa,0x15,_0x120443[0x3f]),_0xa7fe7a[0x0]=_0xa7fe7a[0x0]+_0x1f726c|0x0,_0xa7fe7a[0x1]=_0xa7fe7a[0x1]+_0x394af8|0x0,_0xa7fe7a[0x2]=_0xa7fe7a[0x2]+_0x34716d|0x0,_0xa7fe7a[0x3]=_0xa7fe7a[0x3]+_0x4ed15e|0x0;},'_doFinalize':function(){var _0x140920=_0x840cfa,_0x5dda44=this['_data'],_0x5918a2=_0x5dda44[_0x140920(0x28a)],_0x3f4b5f=this[_0x140920(0x337)]*0x8,_0x395ba8=_0x5dda44[_0x140920(0x2f3)]*0x8;_0x5918a2[_0x395ba8>>>0x5]|=0x80<<0x18-_0x395ba8%0x20;var _0x5184b5=_0x4d2ce3[_0x140920(0x230)](_0x3f4b5f/0x100000000),_0x36b341=_0x3f4b5f;_0x5918a2[(_0x395ba8+0x40>>>0x9<<0x4)+0xf]=(_0x5184b5<<0x8|_0x5184b5>>>0x18)&0xff00ff|(_0x5184b5<<0x18|_0x5184b5>>>0x8)&0xff00ff00,_0x5918a2[(_0x395ba8+0x40>>>0x9<<0x4)+0xe]=(_0x36b341<<0x8|_0x36b341>>>0x18)&0xff00ff|(_0x36b341<<0x18|_0x36b341>>>0x8)&0xff00ff00,_0x5dda44['sigBytes']=(_0x5918a2[_0x140920(0x1ae)]+0x1)*0x4,this[_0x140920(0x2f8)]();for(var _0x1c2c0c=this[_0x140920(0x10f)],_0x3fb888=_0x1c2c0c['words'],_0x15a658=0x0;_0x15a658<0x4;_0x15a658++){var _0x56b640=_0x3fb888[_0x15a658];_0x3fb888[_0x15a658]=(_0x56b640<<0x8|_0x56b640>>>0x18)&0xff00ff|(_0x56b640<<0x18|_0x56b640>>>0x8)&0xff00ff00;}return _0x1c2c0c;},'clone':function(){var _0x3c08ed=_0x840cfa,_0x5e1a8a=_0x3068b0[_0x3c08ed(0x2c1)][_0x3c08ed(0x324)](this);return _0x5e1a8a['_hash']=this['_hash'][_0x3c08ed(0x2c1)](),_0x5e1a8a;}});function _0x5bc65a(_0xfb5035,_0x2efaa1,_0x245bfd,_0x2ba602,_0x4c8904,_0x76cc5a,_0x502811){var _0x2d1b66=_0xfb5035+(_0x2efaa1&_0x245bfd|~_0x2efaa1&_0x2ba602)+_0x4c8904+_0x502811;return(_0x2d1b66<<_0x76cc5a|_0x2d1b66>>>0x20-_0x76cc5a)+_0x2efaa1;}function _0x21f53e(_0x21366b,_0x417d09,_0x45e8f6,_0x428b7b,_0x358e95,_0x421a00,_0x1de4ec){var _0x2d457e=_0x21366b+(_0x417d09&_0x428b7b|_0x45e8f6&~_0x428b7b)+_0x358e95+_0x1de4ec;return(_0x2d457e<<_0x421a00|_0x2d457e>>>0x20-_0x421a00)+_0x417d09;}function _0x112952(_0x11dead,_0x13233d,_0x656397,_0x326c4d,_0x5ccb30,_0x36d8c7,_0x1032cc){var _0x2e87cc=_0x11dead+(_0x13233d^_0x656397^_0x326c4d)+_0x5ccb30+_0x1032cc;return(_0x2e87cc<<_0x36d8c7|_0x2e87cc>>>0x20-_0x36d8c7)+_0x13233d;}function _0xc2e8c4(_0x33a6cb,_0x4f73f3,_0x1281db,_0x58bbe0,_0x5d85eb,_0x21fab6,_0x12eeba){var _0x2ced05=_0x33a6cb+(_0x1281db^(_0x4f73f3|~_0x58bbe0))+_0x5d85eb+_0x12eeba;return(_0x2ced05<<_0x21fab6|_0x2ced05>>>0x20-_0x21fab6)+_0x4f73f3;}_0x310660['MD5']=_0x3068b0[_0x840cfa(0x36e)](_0x2373c2),_0x310660[_0x840cfa(0x355)]=_0x3068b0[_0x840cfa(0x1b2)](_0x2373c2);}(Math),_0xdcea1e[_0x4610ff(0x1d3)];}));}(Ye)),Ye[_0x4e419a(0x32e)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x8cc9a2(0x32e)],Xt;function mn(){var _0x9ac44f=_0x8cc9a2;return Xt||(Xt=0x1,function(_0x1e2e4e,_0x495dee){(function(_0x150acd,_0x1926de){_0x1e2e4e['exports']=_0x1926de(te());}(pn,function(_0x311503){var _0x363bb5=_0x178d;return(function(){var _0x40bdc1=_0x178d,_0x300cce=_0x311503,_0x3ee369=_0x300cce[_0x40bdc1(0x132)],_0x1e875f=_0x3ee369[_0x40bdc1(0x2db)],_0x3d8142=_0x3ee369['Hasher'],_0x4738c4=_0x300cce[_0x40bdc1(0x252)],_0x2e6ed2=[],_0x21f174=_0x4738c4[_0x40bdc1(0x2ba)]=_0x3d8142[_0x40bdc1(0x303)]({'_doReset':function(){var _0x160be9=_0x40bdc1;this[_0x160be9(0x10f)]=new _0x1e875f[(_0x160be9(0x1ec))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x438bb1,_0x3b8603){var _0x5f5cf8=_0x40bdc1;for(var _0x2ce3e4=this[_0x5f5cf8(0x10f)]['words'],_0x53125f=_0x2ce3e4[0x0],_0x190797=_0x2ce3e4[0x1],_0x1092ad=_0x2ce3e4[0x2],_0x943277=_0x2ce3e4[0x3],_0x1c915c=_0x2ce3e4[0x4],_0x4c2771=0x0;_0x4c2771<0x50;_0x4c2771++){if(_0x4c2771<0x10)_0x2e6ed2[_0x4c2771]=_0x438bb1[_0x3b8603+_0x4c2771]|0x0;else{var _0x547db2=_0x2e6ed2[_0x4c2771-0x3]^_0x2e6ed2[_0x4c2771-0x8]^_0x2e6ed2[_0x4c2771-0xe]^_0x2e6ed2[_0x4c2771-0x10];_0x2e6ed2[_0x4c2771]=_0x547db2<<0x1|_0x547db2>>>0x1f;}var _0x35edb2=(_0x53125f<<0x5|_0x53125f>>>0x1b)+_0x1c915c+_0x2e6ed2[_0x4c2771];_0x4c2771<0x14?_0x35edb2+=(_0x190797&_0x1092ad|~_0x190797&_0x943277)+0x5a827999:_0x4c2771<0x28?_0x35edb2+=(_0x190797^_0x1092ad^_0x943277)+0x6ed9eba1:_0x4c2771<0x3c?_0x35edb2+=(_0x190797&_0x1092ad|_0x190797&_0x943277|_0x1092ad&_0x943277)-0x70e44324:_0x35edb2+=(_0x190797^_0x1092ad^_0x943277)-0x359d3e2a,_0x1c915c=_0x943277,_0x943277=_0x1092ad,_0x1092ad=_0x190797<<0x1e|_0x190797>>>0x2,_0x190797=_0x53125f,_0x53125f=_0x35edb2;}_0x2ce3e4[0x0]=_0x2ce3e4[0x0]+_0x53125f|0x0,_0x2ce3e4[0x1]=_0x2ce3e4[0x1]+_0x190797|0x0,_0x2ce3e4[0x2]=_0x2ce3e4[0x2]+_0x1092ad|0x0,_0x2ce3e4[0x3]=_0x2ce3e4[0x3]+_0x943277|0x0,_0x2ce3e4[0x4]=_0x2ce3e4[0x4]+_0x1c915c|0x0;},'_doFinalize':function(){var _0x28ab17=_0x40bdc1,_0x3adfd4=this[_0x28ab17(0x29b)],_0x3d3c23=_0x3adfd4[_0x28ab17(0x28a)],_0x5bb67d=this[_0x28ab17(0x337)]*0x8,_0x77ab3f=_0x3adfd4[_0x28ab17(0x2f3)]*0x8;return _0x3d3c23[_0x77ab3f>>>0x5]|=0x80<<0x18-_0x77ab3f%0x20,_0x3d3c23[(_0x77ab3f+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5bb67d/0x100000000),_0x3d3c23[(_0x77ab3f+0x40>>>0x9<<0x4)+0xf]=_0x5bb67d,_0x3adfd4[_0x28ab17(0x2f3)]=_0x3d3c23[_0x28ab17(0x1ae)]*0x4,this[_0x28ab17(0x2f8)](),this[_0x28ab17(0x10f)];},'clone':function(){var _0x4ddb7d=_0x40bdc1,_0x1bb69a=_0x3d8142[_0x4ddb7d(0x2c1)][_0x4ddb7d(0x324)](this);return _0x1bb69a['_hash']=this[_0x4ddb7d(0x10f)]['clone'](),_0x1bb69a;}});_0x300cce[_0x40bdc1(0x2ba)]=_0x3d8142[_0x40bdc1(0x36e)](_0x21f174),_0x300cce[_0x40bdc1(0x2c0)]=_0x3d8142[_0x40bdc1(0x1b2)](_0x21f174);}()),_0x311503[_0x363bb5(0x2ba)];}));}(qe)),qe[_0x9ac44f(0x32e)];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){var _0x2cf980=_0x8cc9a2;return Zt||(Zt=0x1,function(_0x278726,_0x550f63){(function(_0x118637,_0x429610){var _0xd75e4a=_0x178d;_0x278726[_0xd75e4a(0x32e)]=_0x429610(te());}(gn,function(_0x38b921){(function(){var _0x3abe8d=_0x178d,_0x56ae7c=_0x38b921,_0x22a356=_0x56ae7c['lib'],_0x19acd3=_0x22a356[_0x3abe8d(0x322)],_0x4db77c=_0x56ae7c['enc'],_0x3f02cf=_0x4db77c[_0x3abe8d(0x117)],_0x42d844=_0x56ae7c[_0x3abe8d(0x252)];_0x42d844['HMAC']=_0x19acd3[_0x3abe8d(0x303)]({'init':function(_0x236923,_0x23ec3c){var _0x53176f=_0x3abe8d;_0x236923=this[_0x53176f(0x2fe)]=new _0x236923[(_0x53176f(0x1ec))](),typeof _0x23ec3c==_0x53176f(0x24d)&&(_0x23ec3c=_0x3f02cf[_0x53176f(0x3c3)](_0x23ec3c));var _0x54a044=_0x236923['blockSize'],_0xdfd014=_0x54a044*0x4;_0x23ec3c[_0x53176f(0x2f3)]>_0xdfd014&&(_0x23ec3c=_0x236923[_0x53176f(0x12c)](_0x23ec3c)),_0x23ec3c[_0x53176f(0x257)]();for(var _0x5b1788=this[_0x53176f(0x2df)]=_0x23ec3c['clone'](),_0xa8c3dc=this[_0x53176f(0x35b)]=_0x23ec3c[_0x53176f(0x2c1)](),_0x5aa84b=_0x5b1788[_0x53176f(0x28a)],_0x4b9942=_0xa8c3dc[_0x53176f(0x28a)],_0x4654cf=0x0;_0x4654cf<_0x54a044;_0x4654cf++)_0x5aa84b[_0x4654cf]^=0x5c5c5c5c,_0x4b9942[_0x4654cf]^=0x36363636;_0x5b1788[_0x53176f(0x2f3)]=_0xa8c3dc[_0x53176f(0x2f3)]=_0xdfd014,this[_0x53176f(0x279)]();},'reset':function(){var _0x48b758=_0x3abe8d,_0xe7fc43=this[_0x48b758(0x2fe)];_0xe7fc43[_0x48b758(0x279)](),_0xe7fc43[_0x48b758(0x18b)](this[_0x48b758(0x35b)]);},'update':function(_0x18b18d){var _0x1ca079=_0x3abe8d;return this[_0x1ca079(0x2fe)][_0x1ca079(0x18b)](_0x18b18d),this;},'finalize':function(_0x186f2b){var _0x57d2a8=_0x3abe8d,_0x26d3de=this[_0x57d2a8(0x2fe)],_0x1ba72a=_0x26d3de[_0x57d2a8(0x12c)](_0x186f2b);_0x26d3de[_0x57d2a8(0x279)]();var _0x120f53=_0x26d3de[_0x57d2a8(0x12c)](this[_0x57d2a8(0x2df)]['clone']()[_0x57d2a8(0x188)](_0x1ba72a));return _0x120f53;}});}());}));}(ze)),ze[_0x2cf980(0x32e)];}var En=Ke[_0x8cc9a2(0x32e)],Qt;function yi(){var _0x2dab4e=_0x8cc9a2;return Qt||(Qt=0x1,function(_0x33d261,_0x36e34b){(function(_0x24fd6e,_0x1cd52d,_0x5419a1){var _0x5b6875=_0x178d;_0x33d261[_0x5b6875(0x32e)]=_0x1cd52d(te(),mn(),Sn());}(En,function(_0x53e8d1){var _0x1b52fe=_0x178d;return(function(){var _0x3778f3=_0x178d,_0x101177=_0x53e8d1,_0x4c844c=_0x101177[_0x3778f3(0x132)],_0x1cf0e7=_0x4c844c[_0x3778f3(0x322)],_0x5eceb0=_0x4c844c['WordArray'],_0x27d4fb=_0x101177[_0x3778f3(0x252)],_0xa7e0ab=_0x27d4fb['MD5'],_0xa62ecc=_0x27d4fb[_0x3778f3(0x39b)]=_0x1cf0e7[_0x3778f3(0x303)]({'cfg':_0x1cf0e7[_0x3778f3(0x303)]({'keySize':0x80/0x20,'hasher':_0xa7e0ab,'iterations':0x1}),'init':function(_0x517433){var _0x46e50d=_0x3778f3;this[_0x46e50d(0x154)]=this[_0x46e50d(0x154)]['extend'](_0x517433);},'compute':function(_0x518564,_0x45e15e){var _0x1a15fa=_0x3778f3;for(var _0x88b370,_0x3ffc83=this['cfg'],_0x12f12a=_0x3ffc83[_0x1a15fa(0x18a)][_0x1a15fa(0xc1)](),_0x266cf1=_0x5eceb0[_0x1a15fa(0xc1)](),_0x4dc502=_0x266cf1['words'],_0x508d47=_0x3ffc83['keySize'],_0x5080a6=_0x3ffc83[_0x1a15fa(0x2cc)];_0x4dc502['length']<_0x508d47;){_0x88b370&&_0x12f12a[_0x1a15fa(0x18b)](_0x88b370),_0x88b370=_0x12f12a[_0x1a15fa(0x18b)](_0x518564)['finalize'](_0x45e15e),_0x12f12a['reset']();for(var _0xc1cfc3=0x1;_0xc1cfc3<_0x5080a6;_0xc1cfc3++)_0x88b370=_0x12f12a['finalize'](_0x88b370),_0x12f12a[_0x1a15fa(0x279)]();_0x266cf1[_0x1a15fa(0x188)](_0x88b370);}return _0x266cf1[_0x1a15fa(0x2f3)]=_0x508d47*0x4,_0x266cf1;}});_0x101177[_0x3778f3(0x39b)]=function(_0xf8ef50,_0x484b92,_0xc2b9ad){var _0x3deffe=_0x3778f3;return _0xa62ecc['create'](_0xc2b9ad)[_0x3deffe(0x259)](_0xf8ef50,_0x484b92);};}()),_0x53e8d1[_0x1b52fe(0x39b)];}));}(Ke)),Ke[_0x2dab4e(0x32e)];}var Je={'exports':{}},In=Je[_0x8cc9a2(0x32e)],ei;function Ni(){var _0x23ac43=_0x8cc9a2;return ei||(ei=0x1,function(_0x158cb9,_0x433a52){(function(_0x3fdc26,_0x132589,_0x14d5e3){var _0x191547=_0x178d;_0x158cb9[_0x191547(0x32e)]=_0x132589(te(),yi());}(In,function(_0x46d594){var _0xa8fd8a=_0x178d;_0x46d594[_0xa8fd8a(0x132)][_0xa8fd8a(0x243)]||function(_0x36f253){var _0x214032=_0xa8fd8a,_0x475a2d=_0x46d594,_0x39ae85=_0x475a2d[_0x214032(0x132)],_0x4979bb=_0x39ae85[_0x214032(0x322)],_0x1b122c=_0x39ae85[_0x214032(0x2db)],_0x2eb6ab=_0x39ae85[_0x214032(0x262)],_0x234066=_0x475a2d[_0x214032(0x1d1)];_0x234066[_0x214032(0x117)];var _0x1dc541=_0x234066[_0x214032(0x1d2)],_0x27fc10=_0x475a2d['algo'],_0x2b113e=_0x27fc10[_0x214032(0x39b)],_0x2acb3c=_0x39ae85['Cipher']=_0x2eb6ab['extend']({'cfg':_0x4979bb[_0x214032(0x303)](),'createEncryptor':function(_0x3b256e,_0x1d5933){var _0x13bf18=_0x214032;return this[_0x13bf18(0xc1)](this[_0x13bf18(0x217)],_0x3b256e,_0x1d5933);},'createDecryptor':function(_0xac36df,_0x24b588){var _0x2a2692=_0x214032;return this['create'](this[_0x2a2692(0x157)],_0xac36df,_0x24b588);},'init':function(_0x345792,_0x53c205,_0x59614a){var _0x5a3ae4=_0x214032;this[_0x5a3ae4(0x154)]=this['cfg'][_0x5a3ae4(0x303)](_0x59614a),this[_0x5a3ae4(0x1cf)]=_0x345792,this[_0x5a3ae4(0x1e6)]=_0x53c205,this[_0x5a3ae4(0x279)]();},'reset':function(){var _0x5ba3fb=_0x214032;_0x2eb6ab[_0x5ba3fb(0x279)]['call'](this),this['_doReset']();},'process':function(_0xabe017){var _0x2c4e5e=_0x214032;return this['_append'](_0xabe017),this[_0x2c4e5e(0x2f8)]();},'finalize':function(_0x3b946d){var _0x24837a=_0x214032;_0x3b946d&&this[_0x24837a(0x366)](_0x3b946d);var _0x510530=this[_0x24837a(0x11e)]();return _0x510530;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2637ec(_0x2bf65a){var _0x5a0c01=_0x178d;return typeof _0x2bf65a==_0x5a0c01(0x24d)?_0x960cee:_0x25f797;}return function(_0x6aa6be){return{'encrypt':function(_0x57a459,_0x2364b4,_0x2dc184){var _0xed8eb5=_0x178d;return _0x2637ec(_0x2364b4)[_0xed8eb5(0x25c)](_0x6aa6be,_0x57a459,_0x2364b4,_0x2dc184);},'decrypt':function(_0x12c3a7,_0x5ba8c8,_0x2339fd){var _0x421207=_0x178d;return _0x2637ec(_0x5ba8c8)[_0x421207(0x15f)](_0x6aa6be,_0x12c3a7,_0x5ba8c8,_0x2339fd);}};};}())});_0x39ae85[_0x214032(0x34a)]=_0x2acb3c[_0x214032(0x303)]({'_doFinalize':function(){var _0xea9261=_0x214032,_0x485fd0=this[_0xea9261(0x2f8)](!0x0);return _0x485fd0;},'blockSize':0x1});var _0x524279=_0x475a2d[_0x214032(0x21f)]={},_0x1492a1=_0x39ae85[_0x214032(0xef)]=_0x4979bb[_0x214032(0x303)]({'createEncryptor':function(_0x29b365,_0x16f599){return this['Encryptor']['create'](_0x29b365,_0x16f599);},'createDecryptor':function(_0x5a7ab6,_0x487dc1){var _0x3c8394=_0x214032;return this[_0x3c8394(0x193)][_0x3c8394(0xc1)](_0x5a7ab6,_0x487dc1);},'init':function(_0x5f4488,_0x50c29b){var _0x3488c9=_0x214032;this['_cipher']=_0x5f4488,this[_0x3488c9(0xd7)]=_0x50c29b;}}),_0x5144a7=_0x524279[_0x214032(0x347)]=(function(){var _0x4761e9=_0x214032,_0x3a24aa=_0x1492a1[_0x4761e9(0x303)]();_0x3a24aa[_0x4761e9(0x1f2)]=_0x3a24aa[_0x4761e9(0x303)]({'processBlock':function(_0x51ea4b,_0x1b88b5){var _0xb76e5f=_0x4761e9,_0x4b9651=this[_0xb76e5f(0x2ef)],_0x2ee4dd=_0x4b9651[_0xb76e5f(0x256)];_0x1956b4[_0xb76e5f(0x324)](this,_0x51ea4b,_0x1b88b5,_0x2ee4dd),_0x4b9651[_0xb76e5f(0x39a)](_0x51ea4b,_0x1b88b5),this[_0xb76e5f(0x2e5)]=_0x51ea4b[_0xb76e5f(0x2ec)](_0x1b88b5,_0x1b88b5+_0x2ee4dd);}}),_0x3a24aa[_0x4761e9(0x193)]=_0x3a24aa[_0x4761e9(0x303)]({'processBlock':function(_0x58c48f,_0x73a093){var _0x2059f5=_0x4761e9,_0x23680d=this[_0x2059f5(0x2ef)],_0x35316a=_0x23680d[_0x2059f5(0x256)],_0x313177=_0x58c48f[_0x2059f5(0x2ec)](_0x73a093,_0x73a093+_0x35316a);_0x23680d[_0x2059f5(0x357)](_0x58c48f,_0x73a093),_0x1956b4[_0x2059f5(0x324)](this,_0x58c48f,_0x73a093,_0x35316a),this[_0x2059f5(0x2e5)]=_0x313177;}});function _0x1956b4(_0x1f7391,_0xb69215,_0x12573e){var _0x479959=_0x4761e9,_0x193981,_0x14e0cc=this[_0x479959(0xd7)];_0x14e0cc?(_0x193981=_0x14e0cc,this[_0x479959(0xd7)]=_0x36f253):_0x193981=this['_prevBlock'];for(var _0x4170b3=0x0;_0x4170b3<_0x12573e;_0x4170b3++)_0x1f7391[_0xb69215+_0x4170b3]^=_0x193981[_0x4170b3];}return _0x3a24aa;}()),_0x349c00=_0x475a2d[_0x214032(0x103)]={},_0x3b3ae6=_0x349c00['Pkcs7']={'pad':function(_0x5ef7c3,_0x28f322){var _0x1da888=_0x214032;for(var _0xcb7175=_0x28f322*0x4,_0x203691=_0xcb7175-_0x5ef7c3['sigBytes']%_0xcb7175,_0x146e20=_0x203691<<0x18|_0x203691<<0x10|_0x203691<<0x8|_0x203691,_0x59e1aa=[],_0x439c33=0x0;_0x439c33<_0x203691;_0x439c33+=0x4)_0x59e1aa[_0x1da888(0x13f)](_0x146e20);var _0x420237=_0x1b122c[_0x1da888(0xc1)](_0x59e1aa,_0x203691);_0x5ef7c3[_0x1da888(0x188)](_0x420237);},'unpad':function(_0x25c0cf){var _0x2b9306=_0x214032,_0x583c2c=_0x25c0cf[_0x2b9306(0x28a)][_0x25c0cf[_0x2b9306(0x2f3)]-0x1>>>0x2]&0xff;_0x25c0cf['sigBytes']-=_0x583c2c;}};_0x39ae85[_0x214032(0x1df)]=_0x2acb3c[_0x214032(0x303)]({'cfg':_0x2acb3c[_0x214032(0x154)]['extend']({'mode':_0x5144a7,'padding':_0x3b3ae6}),'reset':function(){var _0x3b0347=_0x214032,_0x35d760;_0x2acb3c[_0x3b0347(0x279)][_0x3b0347(0x324)](this);var _0x283cd1=this['cfg'],_0x207d1f=_0x283cd1['iv'],_0x1472a6=_0x283cd1[_0x3b0347(0x21f)];this[_0x3b0347(0x1cf)]==this[_0x3b0347(0x217)]?_0x35d760=_0x1472a6['createEncryptor']:(_0x35d760=_0x1472a6[_0x3b0347(0x163)],this[_0x3b0347(0x375)]=0x1),this[_0x3b0347(0x344)]&&this[_0x3b0347(0x344)][_0x3b0347(0x342)]==_0x35d760?this[_0x3b0347(0x344)][_0x3b0347(0x1ec)](this,_0x207d1f&&_0x207d1f[_0x3b0347(0x28a)]):(this[_0x3b0347(0x344)]=_0x35d760[_0x3b0347(0x324)](_0x1472a6,this,_0x207d1f&&_0x207d1f['words']),this[_0x3b0347(0x344)][_0x3b0347(0x342)]=_0x35d760);},'_doProcessBlock':function(_0xb75fc1,_0x3fa3cd){var _0x2a3e2a=_0x214032;this['_mode'][_0x2a3e2a(0x3b8)](_0xb75fc1,_0x3fa3cd);},'_doFinalize':function(){var _0x571b84=_0x214032,_0x4e5815,_0x548744=this[_0x571b84(0x154)][_0x571b84(0x333)];return this[_0x571b84(0x1cf)]==this['_ENC_XFORM_MODE']?(_0x548744[_0x571b84(0x103)](this[_0x571b84(0x29b)],this[_0x571b84(0x256)]),_0x4e5815=this[_0x571b84(0x2f8)](!0x0)):(_0x4e5815=this['_process'](!0x0),_0x548744[_0x571b84(0x21e)](_0x4e5815)),_0x4e5815;},'blockSize':0x80/0x20});var _0x2c13d9=_0x39ae85[_0x214032(0x36c)]=_0x4979bb[_0x214032(0x303)]({'init':function(_0x275d65){var _0x90b028=_0x214032;this[_0x90b028(0x1a5)](_0x275d65);},'toString':function(_0x2a2b23){var _0x2be563=_0x214032;return(_0x2a2b23||this[_0x2be563(0x3bd)])[_0x2be563(0x133)](this);}}),_0x21de45=_0x475a2d[_0x214032(0x2d0)]={},_0x5f07e2=_0x21de45[_0x214032(0x371)]={'stringify':function(_0x530091){var _0x4b32b3=_0x214032,_0x84a9e9,_0x23cdb2=_0x530091[_0x4b32b3(0x223)],_0x28a0d9=_0x530091[_0x4b32b3(0x1d9)];return _0x28a0d9?_0x84a9e9=_0x1b122c[_0x4b32b3(0xc1)]([0x53616c74,0x65645f5f])[_0x4b32b3(0x188)](_0x28a0d9)[_0x4b32b3(0x188)](_0x23cdb2):_0x84a9e9=_0x23cdb2,_0x84a9e9[_0x4b32b3(0x1c4)](_0x1dc541);},'parse':function(_0xf12f75){var _0x5d59cf=_0x214032,_0x49af66,_0x257f4d=_0x1dc541[_0x5d59cf(0x3c3)](_0xf12f75),_0x5571a7=_0x257f4d[_0x5d59cf(0x28a)];return _0x5571a7[0x0]==0x53616c74&&_0x5571a7[0x1]==0x65645f5f&&(_0x49af66=_0x1b122c[_0x5d59cf(0xc1)](_0x5571a7[_0x5d59cf(0x2ec)](0x2,0x4)),_0x5571a7[_0x5d59cf(0x384)](0x0,0x4),_0x257f4d['sigBytes']-=0x10),_0x2c13d9[_0x5d59cf(0xc1)]({'ciphertext':_0x257f4d,'salt':_0x49af66});}},_0x25f797=_0x39ae85[_0x214032(0x24a)]=_0x4979bb[_0x214032(0x303)]({'cfg':_0x4979bb[_0x214032(0x303)]({'format':_0x5f07e2}),'encrypt':function(_0x334f88,_0x508170,_0x23b3a7,_0x2c9bf3){var _0x2ae5c9=_0x214032;_0x2c9bf3=this['cfg'][_0x2ae5c9(0x303)](_0x2c9bf3);var _0x46568b=_0x334f88[_0x2ae5c9(0x13a)](_0x23b3a7,_0x2c9bf3),_0x4144b6=_0x46568b[_0x2ae5c9(0x12c)](_0x508170),_0x16617c=_0x46568b[_0x2ae5c9(0x154)];return _0x2c13d9[_0x2ae5c9(0xc1)]({'ciphertext':_0x4144b6,'key':_0x23b3a7,'iv':_0x16617c['iv'],'algorithm':_0x334f88,'mode':_0x16617c[_0x2ae5c9(0x21f)],'padding':_0x16617c[_0x2ae5c9(0x333)],'blockSize':_0x334f88['blockSize'],'formatter':_0x2c9bf3['format']});},'decrypt':function(_0x415bd5,_0x61d17d,_0x159d3c,_0x4ede3f){var _0x294e9f=_0x214032;_0x4ede3f=this['cfg']['extend'](_0x4ede3f),_0x61d17d=this[_0x294e9f(0x269)](_0x61d17d,_0x4ede3f[_0x294e9f(0x2d0)]);var _0x1ab8e8=_0x415bd5['createDecryptor'](_0x159d3c,_0x4ede3f)[_0x294e9f(0x12c)](_0x61d17d[_0x294e9f(0x223)]);return _0x1ab8e8;},'_parse':function(_0x389b94,_0x774862){var _0xe906ca=_0x214032;return typeof _0x389b94==_0xe906ca(0x24d)?_0x774862[_0xe906ca(0x3c3)](_0x389b94,this):_0x389b94;}}),_0x32d582=_0x475a2d[_0x214032(0x3b0)]={},_0x2efd8b=_0x32d582[_0x214032(0x371)]={'execute':function(_0x3a567a,_0xd8e864,_0xa0fc20,_0x204463,_0x5ec8e0){var _0x50aaf9=_0x214032;if(_0x204463||(_0x204463=_0x1b122c[_0x50aaf9(0x26e)](0x40/0x8)),_0x5ec8e0)var _0x3dd444=_0x2b113e[_0x50aaf9(0xc1)]({'keySize':_0xd8e864+_0xa0fc20,'hasher':_0x5ec8e0})[_0x50aaf9(0x259)](_0x3a567a,_0x204463);else var _0x3dd444=_0x2b113e[_0x50aaf9(0xc1)]({'keySize':_0xd8e864+_0xa0fc20})[_0x50aaf9(0x259)](_0x3a567a,_0x204463);var _0x1ae38e=_0x1b122c[_0x50aaf9(0xc1)](_0x3dd444['words'][_0x50aaf9(0x2ec)](_0xd8e864),_0xa0fc20*0x4);return _0x3dd444['sigBytes']=_0xd8e864*0x4,_0x2c13d9['create']({'key':_0x3dd444,'iv':_0x1ae38e,'salt':_0x204463});}},_0x960cee=_0x39ae85[_0x214032(0x3b7)]=_0x25f797[_0x214032(0x303)]({'cfg':_0x25f797[_0x214032(0x154)][_0x214032(0x303)]({'kdf':_0x2efd8b}),'encrypt':function(_0x185f01,_0x5219d7,_0x3048ea,_0x46ca94){var _0x32a7a2=_0x214032;_0x46ca94=this[_0x32a7a2(0x154)][_0x32a7a2(0x303)](_0x46ca94);var _0x1d6398=_0x46ca94[_0x32a7a2(0x3b0)]['execute'](_0x3048ea,_0x185f01[_0x32a7a2(0x1e8)],_0x185f01[_0x32a7a2(0x30e)],_0x46ca94['salt'],_0x46ca94[_0x32a7a2(0x18a)]);_0x46ca94['iv']=_0x1d6398['iv'];var _0x309244=_0x25f797[_0x32a7a2(0x25c)][_0x32a7a2(0x324)](this,_0x185f01,_0x5219d7,_0x1d6398['key'],_0x46ca94);return _0x309244[_0x32a7a2(0x1a5)](_0x1d6398),_0x309244;},'decrypt':function(_0x4b720a,_0x2452c1,_0x2e22ec,_0x42af19){var _0x1be591=_0x214032;_0x42af19=this[_0x1be591(0x154)][_0x1be591(0x303)](_0x42af19),_0x2452c1=this[_0x1be591(0x269)](_0x2452c1,_0x42af19['format']);var _0xd3de1f=_0x42af19[_0x1be591(0x3b0)][_0x1be591(0x31d)](_0x2e22ec,_0x4b720a[_0x1be591(0x1e8)],_0x4b720a['ivSize'],_0x2452c1[_0x1be591(0x1d9)],_0x42af19[_0x1be591(0x18a)]);_0x42af19['iv']=_0xd3de1f['iv'];var _0x5403c2=_0x25f797[_0x1be591(0x15f)][_0x1be591(0x324)](this,_0x4b720a,_0x2452c1,_0xd3de1f[_0x1be591(0x28c)],_0x42af19);return _0x5403c2;}});}();}));}(Je)),Je[_0x23ac43(0x32e)];}var Tn=Ve[_0x8cc9a2(0x32e)],ti;function Cn(){return ti||(ti=0x1,function(_0x5be299,_0x4b84a9){(function(_0x50bb18,_0x59a8db,_0x1707df){_0x5be299['exports']=_0x59a8db(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x228e82){var _0x226cad=_0x178d;return(function(){var _0x471d26=_0x178d,_0x4191c8=_0x228e82,_0x73ff11=_0x4191c8['lib'],_0x5471c1=_0x73ff11['BlockCipher'],_0x148be7=_0x4191c8['algo'],_0x1ffa97=[],_0x275546=[],_0x5a7c2f=[],_0xe7041e=[],_0x1ae1cc=[],_0x71ba49=[],_0x3112d5=[],_0xa2e034=[],_0x4fa249=[],_0x5441fa=[];(function(){for(var _0x1ceb04=[],_0x2e84cd=0x0;_0x2e84cd<0x100;_0x2e84cd++)_0x2e84cd<0x80?_0x1ceb04[_0x2e84cd]=_0x2e84cd<<0x1:_0x1ceb04[_0x2e84cd]=_0x2e84cd<<0x1^0x11b;for(var _0x54fac8=0x0,_0x345e30=0x0,_0x2e84cd=0x0;_0x2e84cd<0x100;_0x2e84cd++){var _0x488435=_0x345e30^_0x345e30<<0x1^_0x345e30<<0x2^_0x345e30<<0x3^_0x345e30<<0x4;_0x488435=_0x488435>>>0x8^_0x488435&0xff^0x63,_0x1ffa97[_0x54fac8]=_0x488435,_0x275546[_0x488435]=_0x54fac8;var _0x2236db=_0x1ceb04[_0x54fac8],_0x2ab26c=_0x1ceb04[_0x2236db],_0x504aae=_0x1ceb04[_0x2ab26c],_0x23cc17=_0x1ceb04[_0x488435]*0x101^_0x488435*0x1010100;_0x5a7c2f[_0x54fac8]=_0x23cc17<<0x18|_0x23cc17>>>0x8,_0xe7041e[_0x54fac8]=_0x23cc17<<0x10|_0x23cc17>>>0x10,_0x1ae1cc[_0x54fac8]=_0x23cc17<<0x8|_0x23cc17>>>0x18,_0x71ba49[_0x54fac8]=_0x23cc17;var _0x23cc17=_0x504aae*0x1010101^_0x2ab26c*0x10001^_0x2236db*0x101^_0x54fac8*0x1010100;_0x3112d5[_0x488435]=_0x23cc17<<0x18|_0x23cc17>>>0x8,_0xa2e034[_0x488435]=_0x23cc17<<0x10|_0x23cc17>>>0x10,_0x4fa249[_0x488435]=_0x23cc17<<0x8|_0x23cc17>>>0x18,_0x5441fa[_0x488435]=_0x23cc17,_0x54fac8?(_0x54fac8=_0x2236db^_0x1ceb04[_0x1ceb04[_0x1ceb04[_0x504aae^_0x2236db]]],_0x345e30^=_0x1ceb04[_0x1ceb04[_0x345e30]]):_0x54fac8=_0x345e30=0x1;}}());var _0x2af189=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x23fd8c=_0x148be7[_0x471d26(0x37f)]=_0x5471c1[_0x471d26(0x303)]({'_doReset':function(){var _0x586f72=_0x471d26,_0x522ec9;if(!(this[_0x586f72(0xca)]&&this[_0x586f72(0x266)]===this[_0x586f72(0x1e6)])){for(var _0x21bae6=this[_0x586f72(0x266)]=this[_0x586f72(0x1e6)],_0x4b4380=_0x21bae6[_0x586f72(0x28a)],_0x28c376=_0x21bae6[_0x586f72(0x2f3)]/0x4,_0x1d9fea=this['_nRounds']=_0x28c376+0x6,_0x53b8ee=(_0x1d9fea+0x1)*0x4,_0x4b8200=this[_0x586f72(0x101)]=[],_0x3adb63=0x0;_0x3adb63<_0x53b8ee;_0x3adb63++)_0x3adb63<_0x28c376?_0x4b8200[_0x3adb63]=_0x4b4380[_0x3adb63]:(_0x522ec9=_0x4b8200[_0x3adb63-0x1],_0x3adb63%_0x28c376?_0x28c376>0x6&&_0x3adb63%_0x28c376==0x4&&(_0x522ec9=_0x1ffa97[_0x522ec9>>>0x18]<<0x18|_0x1ffa97[_0x522ec9>>>0x10&0xff]<<0x10|_0x1ffa97[_0x522ec9>>>0x8&0xff]<<0x8|_0x1ffa97[_0x522ec9&0xff]):(_0x522ec9=_0x522ec9<<0x8|_0x522ec9>>>0x18,_0x522ec9=_0x1ffa97[_0x522ec9>>>0x18]<<0x18|_0x1ffa97[_0x522ec9>>>0x10&0xff]<<0x10|_0x1ffa97[_0x522ec9>>>0x8&0xff]<<0x8|_0x1ffa97[_0x522ec9&0xff],_0x522ec9^=_0x2af189[_0x3adb63/_0x28c376|0x0]<<0x18),_0x4b8200[_0x3adb63]=_0x4b8200[_0x3adb63-_0x28c376]^_0x522ec9);for(var _0x4db70c=this[_0x586f72(0x1c5)]=[],_0x36d261=0x0;_0x36d261<_0x53b8ee;_0x36d261++){var _0x3adb63=_0x53b8ee-_0x36d261;if(_0x36d261%0x4)var _0x522ec9=_0x4b8200[_0x3adb63];else var _0x522ec9=_0x4b8200[_0x3adb63-0x4];_0x36d261<0x4||_0x3adb63<=0x4?_0x4db70c[_0x36d261]=_0x522ec9:_0x4db70c[_0x36d261]=_0x3112d5[_0x1ffa97[_0x522ec9>>>0x18]]^_0xa2e034[_0x1ffa97[_0x522ec9>>>0x10&0xff]]^_0x4fa249[_0x1ffa97[_0x522ec9>>>0x8&0xff]]^_0x5441fa[_0x1ffa97[_0x522ec9&0xff]];}}},'encryptBlock':function(_0x401650,_0x1a5549){var _0x9ad9cb=_0x471d26;this['_doCryptBlock'](_0x401650,_0x1a5549,this[_0x9ad9cb(0x101)],_0x5a7c2f,_0xe7041e,_0x1ae1cc,_0x71ba49,_0x1ffa97);},'decryptBlock':function(_0x1363a0,_0x2c2398){var _0x2f4d3f=_0x471d26,_0x15b64e=_0x1363a0[_0x2c2398+0x1];_0x1363a0[_0x2c2398+0x1]=_0x1363a0[_0x2c2398+0x3],_0x1363a0[_0x2c2398+0x3]=_0x15b64e,this[_0x2f4d3f(0x10c)](_0x1363a0,_0x2c2398,this['_invKeySchedule'],_0x3112d5,_0xa2e034,_0x4fa249,_0x5441fa,_0x275546);var _0x15b64e=_0x1363a0[_0x2c2398+0x1];_0x1363a0[_0x2c2398+0x1]=_0x1363a0[_0x2c2398+0x3],_0x1363a0[_0x2c2398+0x3]=_0x15b64e;},'_doCryptBlock':function(_0xbefbd0,_0x4976cc,_0x3eb3b3,_0x18dc3a,_0x4db16c,_0x209ba3,_0x2c5211,_0x5c49ef){var _0xad0763=_0x471d26;for(var _0x31889f=this[_0xad0763(0xca)],_0x55f278=_0xbefbd0[_0x4976cc]^_0x3eb3b3[0x0],_0x1a1499=_0xbefbd0[_0x4976cc+0x1]^_0x3eb3b3[0x1],_0x171d50=_0xbefbd0[_0x4976cc+0x2]^_0x3eb3b3[0x2],_0x135eb9=_0xbefbd0[_0x4976cc+0x3]^_0x3eb3b3[0x3],_0x21229b=0x4,_0x463b94=0x1;_0x463b94<_0x31889f;_0x463b94++){var _0x5cfa5a=_0x18dc3a[_0x55f278>>>0x18]^_0x4db16c[_0x1a1499>>>0x10&0xff]^_0x209ba3[_0x171d50>>>0x8&0xff]^_0x2c5211[_0x135eb9&0xff]^_0x3eb3b3[_0x21229b++],_0x3485e2=_0x18dc3a[_0x1a1499>>>0x18]^_0x4db16c[_0x171d50>>>0x10&0xff]^_0x209ba3[_0x135eb9>>>0x8&0xff]^_0x2c5211[_0x55f278&0xff]^_0x3eb3b3[_0x21229b++],_0x2cae01=_0x18dc3a[_0x171d50>>>0x18]^_0x4db16c[_0x135eb9>>>0x10&0xff]^_0x209ba3[_0x55f278>>>0x8&0xff]^_0x2c5211[_0x1a1499&0xff]^_0x3eb3b3[_0x21229b++],_0x119162=_0x18dc3a[_0x135eb9>>>0x18]^_0x4db16c[_0x55f278>>>0x10&0xff]^_0x209ba3[_0x1a1499>>>0x8&0xff]^_0x2c5211[_0x171d50&0xff]^_0x3eb3b3[_0x21229b++];_0x55f278=_0x5cfa5a,_0x1a1499=_0x3485e2,_0x171d50=_0x2cae01,_0x135eb9=_0x119162;}var _0x5cfa5a=(_0x5c49ef[_0x55f278>>>0x18]<<0x18|_0x5c49ef[_0x1a1499>>>0x10&0xff]<<0x10|_0x5c49ef[_0x171d50>>>0x8&0xff]<<0x8|_0x5c49ef[_0x135eb9&0xff])^_0x3eb3b3[_0x21229b++],_0x3485e2=(_0x5c49ef[_0x1a1499>>>0x18]<<0x18|_0x5c49ef[_0x171d50>>>0x10&0xff]<<0x10|_0x5c49ef[_0x135eb9>>>0x8&0xff]<<0x8|_0x5c49ef[_0x55f278&0xff])^_0x3eb3b3[_0x21229b++],_0x2cae01=(_0x5c49ef[_0x171d50>>>0x18]<<0x18|_0x5c49ef[_0x135eb9>>>0x10&0xff]<<0x10|_0x5c49ef[_0x55f278>>>0x8&0xff]<<0x8|_0x5c49ef[_0x1a1499&0xff])^_0x3eb3b3[_0x21229b++],_0x119162=(_0x5c49ef[_0x135eb9>>>0x18]<<0x18|_0x5c49ef[_0x55f278>>>0x10&0xff]<<0x10|_0x5c49ef[_0x1a1499>>>0x8&0xff]<<0x8|_0x5c49ef[_0x171d50&0xff])^_0x3eb3b3[_0x21229b++];_0xbefbd0[_0x4976cc]=_0x5cfa5a,_0xbefbd0[_0x4976cc+0x1]=_0x3485e2,_0xbefbd0[_0x4976cc+0x2]=_0x2cae01,_0xbefbd0[_0x4976cc+0x3]=_0x119162;},'keySize':0x100/0x20});_0x4191c8[_0x471d26(0x37f)]=_0x5471c1[_0x471d26(0x36e)](_0x23fd8c);}()),_0x228e82[_0x226cad(0x37f)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x8cc9a2(0x32e)],si;function Nn(){return si||(si=0x1,function(_0x9fb8d1,_0x4af1f1){(function(_0x1dd22f,_0x482369){_0x9fb8d1['exports']=_0x482369(te());}(yn,function(_0x551164){var _0x2f5503=_0x178d;return _0x551164[_0x2f5503(0x1d1)][_0x2f5503(0x117)];}));}(Xe)),Xe['exports'];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x8cc9a2(0x32e)],ni;function wn(){var _0x548fbe=_0x8cc9a2;return ni||(ni=0x1,function(_0x4d4a7c,_0x4126f5){(function(_0x52f963,_0xa8b2a8){var _0x3e8a43=_0x178d;_0x4d4a7c[_0x3e8a43(0x32e)]=_0xa8b2a8(te());}(An,function(_0x1c7325){var _0x248ff3=_0x178d;return(function(){var _0x54f005=_0x178d;if(typeof ArrayBuffer==_0x54f005(0x119)){var _0x584ad5=_0x1c7325,_0x33e6c2=_0x584ad5[_0x54f005(0x132)],_0x5e797c=_0x33e6c2[_0x54f005(0x2db)],_0x2bb73e=_0x5e797c[_0x54f005(0x1ec)],_0x32f3f0=_0x5e797c[_0x54f005(0x1ec)]=function(_0x14d4b8){var _0x31bc12=_0x54f005;if(_0x14d4b8 instanceof ArrayBuffer&&(_0x14d4b8=new Uint8Array(_0x14d4b8)),(_0x14d4b8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x14d4b8 instanceof Uint8ClampedArray||_0x14d4b8 instanceof Int16Array||_0x14d4b8 instanceof Uint16Array||_0x14d4b8 instanceof Int32Array||_0x14d4b8 instanceof Uint32Array||_0x14d4b8 instanceof Float32Array||_0x14d4b8 instanceof Float64Array)&&(_0x14d4b8=new Uint8Array(_0x14d4b8[_0x31bc12(0x1e7)],_0x14d4b8[_0x31bc12(0x2f1)],_0x14d4b8[_0x31bc12(0x27e)])),_0x14d4b8 instanceof Uint8Array){for(var _0xff4aed=_0x14d4b8['byteLength'],_0x271abf=[],_0x128303=0x0;_0x128303<_0xff4aed;_0x128303++)_0x271abf[_0x128303>>>0x2]|=_0x14d4b8[_0x128303]<<0x18-_0x128303%0x4*0x8;_0x2bb73e[_0x31bc12(0x324)](this,_0x271abf,_0xff4aed);}else _0x2bb73e[_0x31bc12(0x368)](this,arguments);};_0x32f3f0[_0x54f005(0xc9)]=_0x5e797c;}}()),_0x1c7325[_0x248ff3(0x132)][_0x248ff3(0x2db)];}));}(Ze)),Ze[_0x548fbe(0x32e)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x8cc9a2(0x32e)],ri;function xn(){var _0xef908d=_0x8cc9a2;return ri||(ri=0x1,function(_0x36fc5f,_0x3dddc7){(function(_0x97d62f,_0x4486e5,_0x3afbc3){var _0x244d5a=_0x178d;_0x36fc5f[_0x244d5a(0x32e)]=_0x4486e5(te(),Ni());}(Mn,function(_0x424784){var _0x316317=_0x178d;return _0x424784['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x424784['pad'][_0x316317(0x2c7)];}));}(Qe)),Qe[_0xef908d(0x32e)];}var kn=xn();const $n=$e(kn);function Hn(_0x341bf8,_0x356e66){var _0x198578=_0x8cc9a2;const _0x3b9cd3=_0x356e66-_0x341bf8[_0x198578(0x1ae)]%_0x356e66,_0x23cf33=String['fromCharCode'](_0x3b9cd3)[_0x198578(0x37b)](_0x3b9cd3);return _0x341bf8+_0x23cf33;}function Bn(_0x33b3dc,_0x1abe44){var _0x2f6c4f=_0x8cc9a2;const _0x38d77d=Ln[_0x2f6c4f(0x26e)](0x10),_0x1cce71=Hn(_0x33b3dc,0x10),_0x53d473=bn[_0x2f6c4f(0x25c)](Un['parse'](_0x1cce71),ii[_0x2f6c4f(0x3c3)](_0x1abe44),{'iv':_0x38d77d,'padding':$n});return _0x38d77d['concat'](_0x53d473[_0x2f6c4f(0x223)])[_0x2f6c4f(0x1c4)](ii);}function jn(){var _0x20626c=_0x8cc9a2;const _0x5f5496=_0x58db97()['__Key__'];if(_0x5f5496){const _0x54880f={'time':Math[_0x20626c(0x230)](Date[_0x20626c(0xd9)]()/0x3e8),'domain':location[_0x20626c(0x1e9)]};return Bn(JSON[_0x20626c(0x133)](_0x54880f),_0x5f5496);}}var Fn=Object[_0x8cc9a2(0x2fc)],Vn=(_0x5166c2,_0x550379,_0x57538b,_0x5931a5)=>{for(var _0x6b08c0=_0x5931a5>0x1?void 0x0:_0x5931a5?Fn(_0x550379,_0x57538b):_0x550379,_0x1fd6da=_0x5166c2['length']-0x1,_0x7003ba;_0x1fd6da>=0x0;_0x1fd6da--)(_0x7003ba=_0x5166c2[_0x1fd6da])&&(_0x6b08c0=_0x7003ba(_0x6b08c0)||_0x6b08c0);return _0x6b08c0;},Gn=(_0x9a03f4,_0x3c088e)=>(_0x4557eb,_0x1fd287)=>_0x3c088e(_0x4557eb,_0x1fd287,_0x9a03f4);let at=class{constructor(_0xc6bcea){var _0x3f7b51=_0x8cc9a2;this[_0x3f7b51(0x100)]=_0xc6bcea,this[_0x3f7b51(0x275)]();}['_initRequestHeader'](){var _0x3e2994=_0x8cc9a2;this[_0x3e2994(0x100)][_0x3e2994(0x2a9)]({'interceptor':(_0x1ed599,_0x321def)=>{var _0x4d4f00=_0x3e2994;const _0x3b4d97=_0x1ed599[_0x4d4f00(0x2b4)],_0x5c2945=jn();return _0x5c2945&&_0x3b4d97['set'](_0x4d4f00(0x190),_0x5c2945),_0x321def(_0x1ed599);}});}};at=Vn([Gn(0x0,_0x2bc925(_0x2b7687))],at);var Wn=Object[_0x8cc9a2(0x2fc)],Yn=(_0x57914d,_0x42b52f,_0x5b48e4,_0x19fd0c)=>{for(var _0xdba3ae=_0x19fd0c>0x1?void 0x0:_0x19fd0c?Wn(_0x42b52f,_0x5b48e4):_0x42b52f,_0x476985=_0x57914d['length']-0x1,_0x21c3ee;_0x476985>=0x0;_0x476985--)(_0x21c3ee=_0x57914d[_0x476985])&&(_0xdba3ae=_0x21c3ee(_0xdba3ae)||_0xdba3ae);return _0xdba3ae;},vt=(_0x52b6d9,_0x1f73cc)=>(_0x567d4e,_0xd48515)=>_0x1f73cc(_0x567d4e,_0xd48515,_0x52b6d9);let Ct=class extends _0x13f7ae{constructor(_0x190035,_0x534121,_0x4ac735){var _0x3a1edd=_0x8cc9a2;super(),N(this,_0x3a1edd(0x292),new _0xf5efdc(null)),N(this,'unitInfo$',this[_0x3a1edd(0x292)][_0x3a1edd(0x107)]()),(this[_0x3a1edd(0x3a2)]=_0x190035,this['_snapshotService']=_0x534121,this[_0x3a1edd(0x378)]=_0x4ac735);}async[_0x8cc9a2(0x1f8)](_0x4d6c2c,_0x11b91c,_0x5b2291){var _0x5b5c24=_0x8cc9a2;this['_unitInfo$'][_0x5b5c24(0x30d)]({'unitId':_0x4d6c2c,'type':_0x11b91c});let _0xbeda43=null;switch(_0x11b91c){case Z[_0x5b5c24(0x2f4)]:{_0xbeda43=await this[_0x5b5c24(0x24c)][_0x5b5c24(0x351)](_0x4d6c2c,_0x5b2291);break;}case Z[_0x5b5c24(0x11c)]:{_0xbeda43=await this['_snapshotService'][_0x5b5c24(0x102)](_0x4d6c2c,_0x5b2291);break;}default:{this[_0x5b5c24(0x3a2)]['error'](_0x5b5c24(0x3b1),_0x5b5c24(0xda));break;}}return _0xbeda43;}async['loadUnit'](_0x27c3cd,_0x1b85fd,_0x1bb866){var _0x2d84b3=_0x8cc9a2,_0x49ea5f;this[_0x2d84b3(0x292)][_0x2d84b3(0x30d)]({'unitId':_0x27c3cd,'type':_0x1b85fd,'subUnitId':_0x1bb866});let _0x432681=0x0;const _0x19abf7=await((_0x49ea5f=this[_0x2d84b3(0x378)])==null?void 0x0:_0x49ea5f[_0x2d84b3(0x202)](_0x27c3cd));return _0x19abf7&&(_0x19abf7['awaitingChangeset']||_0x19abf7[_0x2d84b3(0x3be)][_0x2d84b3(0x1ae)]!==0x0)&&(_0x432681=_0x19abf7[_0x2d84b3(0x25d)]),_0x432681===0x0&&this['_logService'][_0x2d84b3(0x31b)]('[DataLoaderService]',_0x2d84b3(0x1f3)),this[_0x2d84b3(0x1f8)](_0x27c3cd,_0x1b85fd,_0x432681);}};Ct=Yn([vt(0x0,_0xd27129),vt(0x1,_0x2bc925(_0x4b7bbc)),vt(0x2,_0x31269b(J))],Ct);var Kn=Object['getOwnPropertyDescriptor'],qn=(_0x322032,_0x1124ab,_0x1a3078,_0x388cfd)=>{var _0x1dd58e=_0x8cc9a2;for(var _0x1b5b15=_0x388cfd>0x1?void 0x0:_0x388cfd?Kn(_0x1124ab,_0x1a3078):_0x1124ab,_0x2c95e8=_0x322032[_0x1dd58e(0x1ae)]-0x1,_0x552a5a;_0x2c95e8>=0x0;_0x2c95e8--)(_0x552a5a=_0x322032[_0x2c95e8])&&(_0x1b5b15=_0x552a5a(_0x1b5b15)||_0x1b5b15);return _0x1b5b15;},pt=(_0x38196b,_0x5e0ef1)=>(_0x5e5341,_0x6b6b7e)=>_0x5e0ef1(_0x5e5341,_0x6b6b7e,_0x38196b);const zn=[_0x8cc9a2(0x11d),_0x8cc9a2(0x1ad),_0x8cc9a2(0x146),_0x8cc9a2(0x3a0),_0x8cc9a2(0x32b)],Jn=0x5*0x400*0x400,Xn=_0x8cc9a2(0x3a4),Zn=_0x8cc9a2(0x19e),Qn=_0x8cc9a2(0x2e2),er=_0x8cc9a2(0x245);let Rt=class{constructor(_0x5da739,_0x436045,_0x1369af){var _0x4e5e3d=_0x8cc9a2;N(this,'_waitCount',0x0),N(this,_0x4e5e3d(0x19b),new _0x71a712()),N(this,_0x4e5e3d(0x271),this[_0x4e5e3d(0x19b)]),N(this,_0x4e5e3d(0x36a),new Map()),(this[_0x4e5e3d(0x100)]=_0x5da739,this[_0x4e5e3d(0xee)]=_0x436045,this['_univerInstanceService']=_0x1369af);}['setWaitCount'](_0x3f7f0d){var _0x32a2e2=_0x8cc9a2;this[_0x32a2e2(0xc5)]=_0x3f7f0d,this[_0x32a2e2(0x19b)]['next'](_0x3f7f0d);}[_0x8cc9a2(0x261)](_0x427f8e,_0x27615c){var _0x4fa533=_0x8cc9a2;if(_0x27615c===_0x33e4d2[_0x4fa533(0x31e)]){const _0x1a12a4=new Image();return _0x1a12a4['src']=_0x427f8e,_0x1a12a4;}return this['_imageSourceCache']['get'](_0x427f8e);}['addImageSourceCache'](_0x1b3a7d,_0xb52382,_0x3c46ea){var _0x4b203f=_0x8cc9a2;_0xb52382===_0x33e4d2[_0x4b203f(0x31e)]||_0x3c46ea==null||this[_0x4b203f(0x36a)][_0x4b203f(0x2bb)](_0x1b3a7d,_0x3c46ea);}async[_0x8cc9a2(0x323)](_0x468fca){var _0x3fbbce=_0x8cc9a2;try{const _0x178ab3=this[_0x3fbbce(0x15e)](this[_0x3fbbce(0x228)](),''+_0x468fca),_0x4f0397=(await this['_httpService'][_0x3fbbce(0x313)](_0x178ab3))[_0x3fbbce(0x242)];if(_0x4f0397[_0x3fbbce(0x237)]&&_0x4f0397[_0x3fbbce(0x237)][_0x3fbbce(0x12b)]===pi['OK']){const _0x2a6df5=new URL(_0x4f0397[_0x3fbbce(0x205)],this['_getDownloadEndpointURL']())[_0x3fbbce(0x1c4)]();return Promise['resolve'](_0x2a6df5);}return Promise[_0x3fbbce(0x110)](_0x4f0397[_0x3fbbce(0x237)]);}catch(_0x556bb2){return Promise[_0x3fbbce(0x110)](_0x556bb2);}}async['saveImage'](_0x45beb8){var _0x4555fc=_0x8cc9a2;let _0x2edd0e='';if(!zn[_0x4555fc(0x38d)](_0x45beb8[_0x4555fc(0x3c2)]))return this[_0x4555fc(0x161)](),Promise[_0x4555fc(0x110)](new Error(_0x42d9c1[_0x4555fc(0xd5)]));if(_0x45beb8[_0x4555fc(0x38b)]>Jn)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x42d9c1[_0x4555fc(0x35a)]));try{const _0x193f9a=new FormData();_0x193f9a[_0x4555fc(0x36d)](_0x4555fc(0x2c3),_0x45beb8);const _0x50644a=this[_0x4555fc(0x370)][_0x4555fc(0x35c)](),_0x4d08d5=_0x50644a==null?void 0x0:_0x50644a['getUnitId']();if(!_0x4d08d5)throw new Error(_0x4555fc(0x2bc));const _0x232acd=this[_0x4555fc(0x11b)]()+_0x4555fc(0x2c9)+_0x45beb8[_0x4555fc(0x38b)]['toString']()+'&source='+mi['UnitEmbedded']+_0x4555fc(0x130)+encodeURIComponent(_0x4d08d5),_0xd91bba={'body':_0x193f9a},_0x27699e=(await this[_0x4555fc(0x100)][_0x4555fc(0x171)](_0x232acd,_0xd91bba))[_0x4555fc(0x242)];if(typeof _0x27699e[_0x4555fc(0x35d)]!=_0x4555fc(0x24d))return this[_0x4555fc(0x161)](),Promise[_0x4555fc(0x110)](new Error(_0x42d9c1['ERROR_IMAGE']));_0x2edd0e=_0x27699e[_0x4555fc(0x35d)];}catch{return this[_0x4555fc(0x161)](),Promise['reject'](new Error(_0x42d9c1[_0x4555fc(0x276)]));}return new Promise((_0x564139,_0x566d5f)=>{var _0x4f9b49=_0x4555fc;const _0x4380d6=new FileReader();_0x4380d6[_0x4f9b49(0x118)](_0x45beb8),_0x4380d6[_0x4f9b49(0x135)]=_0x28cf3e=>{var _0x2450a8=_0x4f9b49,_0x5840e3;const _0x580809=(_0x5840e3=_0x28cf3e[_0x2450a8(0x221)])==null?void 0x0:_0x5840e3[_0x2450a8(0x341)];if(_0x580809==null){this[_0x2450a8(0x161)](),_0x566d5f(new Error(_0x42d9c1[_0x2450a8(0x276)]));return;}const _0x2ee688=_0x17f42b[_0x2450a8(0x330)](0x6);_0x564139({'imageId':_0x2ee688,'imageSourceType':_0x33e4d2[_0x2450a8(0x374)],'source':_0x2edd0e,'base64Cache':_0x580809,'status':_0x42d9c1[_0x2450a8(0x21a)]}),this['_decreaseWaiting']();};});}[_0x8cc9a2(0x11b)](){var _0x370705=_0x8cc9a2,_0x691cb7,_0x3ba0c6;const _0x3d36e8=this[_0x370705(0xee)]['getConfig'](Xn),_0x2fa7d4=this['_configService']['getConfig'](K);return(_0x3ba0c6=(_0x691cb7=_0x2fa7d4==null?void 0x0:_0x2fa7d4[_0x370705(0x291)])!=null?_0x691cb7:_0x3d36e8)!=null?_0x3ba0c6:Zn;}[_0x8cc9a2(0x228)](){var _0xf50bb7=_0x8cc9a2,_0x4bb09b,_0x6c9547;const _0x2e43dc=this[_0xf50bb7(0xee)][_0xf50bb7(0x122)](Qn),_0x32a796=this[_0xf50bb7(0xee)][_0xf50bb7(0x122)](K);return(_0x6c9547=(_0x4bb09b=_0x32a796==null?void 0x0:_0x32a796[_0xf50bb7(0x108)])!=null?_0x4bb09b:_0x2e43dc)!=null?_0x6c9547:er;}[_0x8cc9a2(0x10b)](){var _0x18d6e7=_0x8cc9a2,_0x2c15c9;const _0x16490d=this[_0x18d6e7(0xee)][_0x18d6e7(0x122)](K);return(_0x2c15c9=_0x16490d==null?void 0x0:_0x16490d[_0x18d6e7(0x29c)])!=null?_0x2c15c9:location[_0x18d6e7(0x189)];}[_0x8cc9a2(0x15e)](_0x2ac9d5,_0x35f255){var _0x3612f8=_0x8cc9a2;return _0x2ac9d5['replace'](_0x3612f8(0x106),_0x35f255);}[_0x8cc9a2(0x161)](){var _0x5537f9=_0x8cc9a2;this[_0x5537f9(0xc5)]-=0x1,this['_change$'][_0x5537f9(0x30d)](this['_waitCount']);}};Rt=qn([pt(0x0,_0x2bc925(_0x2b7687)),pt(0x1,_0x195c73),pt(0x2,_0x2bc925(_0x24fe3b))],Rt);var tr=Object[_0x8cc9a2(0x2fc)],ir=(_0x5abce0,_0x1cf12d,_0x425bd8,_0x557c88)=>{var _0x4d9e15=_0x8cc9a2;for(var _0x48ea06=_0x557c88>0x1?void 0x0:_0x557c88?tr(_0x1cf12d,_0x425bd8):_0x1cf12d,_0x5150f7=_0x5abce0[_0x4d9e15(0x1ae)]-0x1,_0x60ce76;_0x5150f7>=0x0;_0x5150f7--)(_0x60ce76=_0x5abce0[_0x5150f7])&&(_0x48ea06=_0x60ce76(_0x48ea06)||_0x48ea06);return _0x48ea06;},ai=(_0x1ac0cf,_0x37a351)=>(_0xac8686,_0x4382e0)=>_0x37a351(_0xac8686,_0x4382e0,_0x1ac0cf);const sr=_0x8cc9a2(0xe1);let bt=class{constructor(_0x135a6b,_0x49ed1b){var _0x291963=_0x8cc9a2;this[_0x291963(0xee)]=_0x135a6b,this['_HTTPService']=_0x49ed1b;}[_0x8cc9a2(0xc7)](){var _0x5abe6f=_0x8cc9a2,_0x42d495,_0x11a1bf;const _0x589e64=this[_0x5abe6f(0xee)][_0x5abe6f(0x122)](bi),_0x364545=this[_0x5abe6f(0xee)][_0x5abe6f(0x122)](K);return(_0x11a1bf=(_0x42d495=_0x364545==null?void 0x0:_0x364545['authzUrl'])!=null?_0x42d495:_0x589e64)!=null?_0x11a1bf:sr;}async['list'](_0x18cf58){var _0x338949=_0x8cc9a2;const _0x2a170b=this[_0x338949(0xc7)]()+_0x338949(0xe5);return{'list':[{'title':_0x338949(0xe2),'mentions':(await this[_0x338949(0x1eb)]['get'](_0x2a170b,{'params':{'objectID':_0x18cf58[_0x338949(0x3a7)],'unitID':_0x18cf58[_0x338949(0x3a7)]}}))['body'][_0x338949(0x336)][_0x338949(0x34c)](_0x387b2d=>({'objectId':_0x387b2d['id'],'name':_0x387b2d[_0x338949(0x3a9)][_0x338949(0x387)],'metadata':{'icon':_0x387b2d[_0x338949(0x3a9)][_0x338949(0x1bc)]},'label':_0x387b2d[_0x338949(0x3a9)]['name'],'objectType':_0x18d35c['PERSON']})),'metadata':{},'type':_0x18d35c[_0x338949(0x396)]}]};}};bt=ir([ai(0x0,_0x2bc925(_0x195c73)),ai(0x1,_0x2bc925(_0x2b7687))],bt);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x5f1169,_0x4023f7,_0x243f1e,_0x3f9bec)=>{var _0x21712a=_0x8cc9a2;for(var _0x213558=_0x3f9bec>0x1?void 0x0:_0x3f9bec?nr(_0x4023f7,_0x243f1e):_0x4023f7,_0x352a22=_0x5f1169[_0x21712a(0x1ae)]-0x1,_0x3b6416;_0x352a22>=0x0;_0x352a22--)(_0x3b6416=_0x5f1169[_0x352a22])&&(_0x213558=_0x3b6416(_0x213558)||_0x213558);return _0x213558;},Ae=(_0x5bc3c3,_0x459ccb)=>(_0x56a897,_0x4550b9)=>_0x459ccb(_0x56a897,_0x4550b9,_0x5bc3c3);let ot=class extends _0x13f7ae{constructor(_0x1c2235,_0x29d6e1,_0x4d82ae,_0x85b936,_0x4b41d1){var _0x23df1e=_0x8cc9a2;super(),this[_0x23df1e(0x127)]=_0x1c2235,this[_0x23df1e(0x370)]=_0x29d6e1,this[_0x23df1e(0x14b)]=_0x4d82ae,this[_0x23df1e(0x39f)]=_0x85b936,this[_0x23df1e(0x299)]=_0x4b41d1,this[_0x23df1e(0x20c)](),this[_0x23df1e(0x1c6)]();}[_0x8cc9a2(0x1c6)](){var _0x1ab919=_0x8cc9a2;const _0x15b00c=async _0x1d1ad8=>{var _0x3ed250=_0x178d;(await this[_0x3ed250(0x39f)][_0x3ed250(0x148)](_0x1d1ad8))[_0x3ed250(0x395)][_0x3ed250(0x265)](_0x469615(_0x4f769c=>_0x4f769c[_0x3ed250(0x22e)]===_0x52d112[_0x3ed250(0x12d)]),_0x108dc2(this['dispose$']))[_0x3ed250(0x389)](_0x1fed11=>{var _0x225f3d=_0x3ed250;const _0x47ff39=_0x1fed11,{reason:_0x5e0e5d}=_0x47ff39[_0x225f3d(0x32a)];this[_0x225f3d(0x299)][_0x225f3d(0x350)]({'id':ne[_0x225f3d(0x22a)],'data':_0x5e0e5d}),this[_0x225f3d(0x14b)][_0x225f3d(0x244)](new _0x4721f5(_0x1d1ad8)['id'],!0x1),this[_0x225f3d(0x39f)][_0x225f3d(0x3b6)](_0x1d1ad8);});};_0x4e790d(this[_0x1ab919(0x370)][_0x1ab919(0x2a6)](_0x444bb2[_0x1ab919(0x2f4)]),this[_0x1ab919(0x370)]['getTypeOfUnitAdded$'](_0x444bb2[_0x1ab919(0x11c)]))['pipe'](_0xcf6408(_0x5b0de7=>_0x5b0de7[_0x1ab919(0x239)]()),_0x469615(_0x1d7e11=>!_0x2b0287(_0x1d7e11)),_0x108dc2(this[_0x1ab919(0x346)]))[_0x1ab919(0x389)](_0x2c2aa3=>{_0x15b00c(_0x2c2aa3);});}[_0x8cc9a2(0x20c)](){var _0x518536=_0x8cc9a2;const _0x15ed7b=async _0x3ac8e8=>{var _0x397105=_0x178d;const _0x52ea82=await this[_0x397105(0x39f)][_0x397105(0x148)](_0x3ac8e8),_0x1cec06=this[_0x397105(0x127)][_0x397105(0x313)](_0x12aebc);_0x52ea82[_0x397105(0x395)]['pipe'](_0x469615(_0x3dbcaa=>_0x3dbcaa[_0x397105(0x22e)]===_0x52d112['UPDATE_PERMISSION_OBJ']),_0x108dc2(this['dispose$']))['subscribe'](_0x1092b3=>{var _0x2219b8=_0x397105;const _0x512401=_0x1092b3,{objectId:_0x18af73}=_0x512401[_0x2219b8(0x32a)];_0x18af73===_0x3ac8e8?_0x1cec06[_0x2219b8(0x175)](_0x3ac8e8):_0x1cec06[_0x2219b8(0x2d5)](_0x3ac8e8,_0x18af73);});};_0x4e790d(this[_0x518536(0x370)]['getTypeOfUnitAdded$'](_0x444bb2['UNIVER_SHEET']))['pipe'](_0xcf6408(_0xdab31b=>_0xdab31b[_0x518536(0x239)]()),_0x469615(_0xa1545f=>!_0x2b0287(_0xa1545f)),_0x108dc2(this[_0x518536(0x346)]))[_0x518536(0x389)](_0x171c69=>{_0x15ed7b(_0x171c69);});}};ot=rr([Ae(0x0,_0x2bc925(_0x5c0aec)),Ae(0x1,_0x24fe3b),Ae(0x2,_0x2c39ae),Ae(0x3,_0x2bc925(Le)),Ae(0x4,_0x2bc925(ve))],ot);var ar=Object[_0x8cc9a2(0x2fc)],or=(_0x267d18,_0x31ac7f,_0x392377,_0x5370fb)=>{var _0x4fa567=_0x8cc9a2;for(var _0x42516e=_0x5370fb>0x1?void 0x0:_0x5370fb?ar(_0x31ac7f,_0x392377):_0x31ac7f,_0x26143c=_0x267d18[_0x4fa567(0x1ae)]-0x1,_0x2694c7;_0x26143c>=0x0;_0x26143c--)(_0x2694c7=_0x267d18[_0x26143c])&&(_0x42516e=_0x2694c7(_0x42516e)||_0x42516e);return _0x42516e;},oi=(_0x43ba20,_0x3b88bc)=>(_0x17910c,_0x18de89)=>_0x3b88bc(_0x17910c,_0x18de89,_0x43ba20);let Ot=class{constructor(_0x1a0163,_0x20f8c8){var _0x558842=_0x8cc9a2;this['_configService']=_0x1a0163,this[_0x558842(0x100)]=_0x20f8c8;}async[_0x8cc9a2(0x17c)](_0x375e14,_0x1c265d){var _0x2dded9=_0x8cc9a2,_0x5e3bb1;const {unitID:_0x35110d,type:_0x285705,revision:_0x286754=0x0}=_0x1c265d,_0x4a3e8e=this[_0x2dded9(0x199)]()+'/'+_0x285705+_0x2dded9(0xf0)+_0x35110d+'/rev/'+_0x286754,_0x17178d=(await this[_0x2dded9(0x100)][_0x2dded9(0x313)](_0x4a3e8e))[_0x2dded9(0x242)],_0x4f20cd=(_0x5e3bb1=_0x17178d[_0x2dded9(0x233)])==null?void 0x0:_0x5e3bb1[_0x2dded9(0x210)];if(_0x4f20cd){const _0xfa0f7b=_0x4f20cd==null?void 0x0:_0x4f20cd['originalMeta'],_0x2b9dd5=_0x260c50[_0x2dded9(0x3c0)](_0x3e3d73(_0xfa0f7b));_0x4f20cd['originalMeta']=_0x2b9dd5,Object[_0x2dded9(0x3c1)](_0x4f20cd[_0x2dded9(0x140)])['forEach'](([,_0x438fce])=>{var _0x2ef75e=_0x2dded9;const _0x3a3dcc=_0x438fce[_0x2ef75e(0x1ca)],_0x5997a1=_0x260c50[_0x2ef75e(0x3c0)](_0x3e3d73(_0x3a3dcc));_0x438fce[_0x2ef75e(0x1ca)]=_0x5997a1;});}return _0x17178d;}async[_0x8cc9a2(0x319)](_0x1974b2,_0x36326c){var _0x4b4601=_0x8cc9a2;const {unitID:_0x527dd7,type:_0x568d29,blockID:_0x513584}=_0x36326c,_0x5ae183=this[_0x4b4601(0x1a4)]()+'/'+_0x568d29+_0x4b4601(0xf0)+_0x527dd7+_0x4b4601(0x113)+_0x513584;return(await this['_httpService'][_0x4b4601(0x313)](_0x5ae183))['body'];}async[_0x8cc9a2(0x142)](_0x24fd16,_0x35b90f){var _0x172ad8=_0x8cc9a2;const {unitID:_0x39fade,type:_0x1ec423,blockID:_0x461e44}=_0x35b90f,_0x15a8c5=this[_0x172ad8(0x1a4)]()+'/block/'+_0x1ec423+'/unit/'+_0x39fade+_0x172ad8(0x113)+_0x461e44;return(await this[_0x172ad8(0x100)][_0x172ad8(0x313)](_0x15a8c5))[_0x172ad8(0x242)];}async[_0x8cc9a2(0x120)](_0x580fc3,_0x20a000){var _0xcee387=_0x8cc9a2;const {unitID:_0x34cc99,type:_0x2769ed,from:_0xe48c31,to:_0x385176}=_0x20a000,_0x5827b3=this[_0xcee387(0x1a4)]()+'/'+_0x2769ed+_0xcee387(0xf0)+_0x34cc99+_0xcee387(0x33f)+_0xe48c31+_0xcee387(0x365)+_0x385176;return(await this['_httpService'][_0xcee387(0x313)](_0x5827b3))[_0xcee387(0x242)];}[_0x8cc9a2(0x199)](){var _0x31c605=_0x8cc9a2,_0x7b9c88;return(_0x7b9c88=this[_0x31c605(0xee)]['getConfig'](ps))!=null?_0x7b9c88:this[_0x31c605(0x1a4)]();}[_0x8cc9a2(0x1a4)](){var _0x314ac3=_0x8cc9a2,_0x4a6bff,_0x5031f7;const _0x2f9b61=this[_0x314ac3(0xee)]['getConfig'](fs),_0x12cf50=this[_0x314ac3(0xee)][_0x314ac3(0x122)](K);return(_0x5031f7=(_0x4a6bff=_0x12cf50==null?void 0x0:_0x12cf50[_0x314ac3(0x302)])!=null?_0x4a6bff:_0x2f9b61)!=null?_0x5031f7:vs;}async[_0x8cc9a2(0x28b)](_0x5a25cf,_0x55508a){var _0x1ddcc5=_0x8cc9a2;const _0x82cb4f=_0x1ddcc5(0x104)+_0x55508a[_0x1ddcc5(0x3c2)]+_0x1ddcc5(0xf0)+_0x55508a[_0x1ddcc5(0x2e6)]+'/resources';return(await this[_0x1ddcc5(0x100)][_0x1ddcc5(0x313)](_0x82cb4f,{'params':{'resourceId':JSON[_0x1ddcc5(0x133)](_0x55508a[_0x1ddcc5(0x14d)])}}))[_0x1ddcc5(0x242)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x8cc9a2(0x3bf)](){var _0x345c02=_0x8cc9a2;throw new Error(_0x345c02(0x1cc));}[_0x8cc9a2(0x1cd)](){var _0x26a752=_0x8cc9a2;throw new Error(_0x26a752(0x1cc));}[_0x8cc9a2(0x3bb)](){var _0xe107c9=_0x8cc9a2;throw new Error(_0xe107c9(0x1cc));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x8cc9a2(0x209)](){var _0xb6d870=_0x8cc9a2;throw new Error(_0xb6d870(0x1cc));}};Ot=or([oi(0x0,_0x195c73),oi(0x1,_0x2bc925(_0x2b7687))],Ot);var cr=Object[_0x8cc9a2(0x2fc)],hr=(_0x32f5fd,_0x3bea46,_0x12d73a,_0xd8f48f)=>{var _0x2aa317=_0x8cc9a2;for(var _0x2a0502=_0xd8f48f>0x1?void 0x0:_0xd8f48f?cr(_0x3bea46,_0x12d73a):_0x3bea46,_0x4afc1b=_0x32f5fd[_0x2aa317(0x1ae)]-0x1,_0xb598c6;_0x4afc1b>=0x0;_0x4afc1b--)(_0xb598c6=_0x32f5fd[_0x4afc1b])&&(_0x2a0502=_0xb598c6(_0x2a0502)||_0x2a0502);return _0x2a0502;},we=(_0x50a400,_0x542b6c)=>(_0x16666c,_0x2a7e98)=>_0x542b6c(_0x16666c,_0x2a7e98,_0x50a400);let yt=class extends _0x416660{constructor(_0x2bce13,_0x5908d6,_0x585358,_0x5f1596,_0x54916a){var _0x2ee2e9=_0x8cc9a2;super(_0x2bce13,_0x5908d6,_0x585358),this[_0x2ee2e9(0x385)]=_0x5f1596,this[_0x2ee2e9(0x3a2)]=_0x54916a;}['transformUndoRedo'](_0x2d0c17,_0x294a25){var _0x47c149=_0x8cc9a2;const _0x20cc56=this[_0x47c149(0x1f1)](_0x2d0c17);if(_0x20cc56)try{const _0x33d2c9=this[_0x47c149(0x121)](_0x20cc56,_0x294a25);this[_0x47c149(0xea)](_0x2d0c17,_0x33d2c9);}catch(_0x1bda9e){this[_0x47c149(0x3a2)]['error'](_0x47c149(0x362),_0x1bda9e),this[_0x47c149(0x220)](_0x2d0c17);}const _0x40eef6=this[_0x47c149(0x215)](_0x2d0c17);if(_0x40eef6)try{const _0x47979f=this['_transformStack'](_0x40eef6,_0x294a25);this[_0x47c149(0x1e1)](_0x2d0c17,_0x47979f);}catch(_0x46c943){this[_0x47c149(0x3a2)]['error'](_0x46c943),this[_0x47c149(0x1d8)](_0x2d0c17);}}['_clearUndo'](_0x3c8eea){var _0x310795=_0x8cc9a2;const _0x21cb2b=this[_0x310795(0x1f1)](_0x3c8eea);_0x21cb2b&&(_0x21cb2b[_0x310795(0x1ae)]=0x0,this[_0x310795(0x3a8)]());}[_0x8cc9a2(0x1d8)](_0x4e7b3d){var _0x543cb9=_0x8cc9a2;const _0x1d3a09=this['_getRedoStack'](_0x4e7b3d);_0x1d3a09&&(_0x1d3a09[_0x543cb9(0x1ae)]=0x0,this[_0x543cb9(0x3a8)]());}['_substituteUndoStack'](_0x261321,_0x1b5d4c){var _0x4e66d2=_0x8cc9a2;this[_0x4e66d2(0x1b3)][_0x4e66d2(0x2bb)](_0x261321,_0x1b5d4c),this['_updateStatus']();}[_0x8cc9a2(0x1e1)](_0x47f74b,_0x5d5a72){var _0x31b373=_0x8cc9a2;this[_0x31b373(0x397)][_0x31b373(0x2bb)](_0x47f74b,_0x5d5a72),this[_0x31b373(0x3a8)]();}[_0x8cc9a2(0x121)](_0x1e0aaf,_0x16864e){var _0x5c3b23=_0x8cc9a2;const _0x2b8777=[];let _0x23d8d4=_0x16864e,_0x5cbacf=_0x16864e;for(let _0x5cf5c4=_0x1e0aaf[_0x5c3b23(0x1ae)]-0x1;_0x5cf5c4>=0x0;_0x5cf5c4--){const {unitID:_0x3b58b9,undoMutations:_0x2e5f87,redoMutations:_0x1a4fed}=_0x1e0aaf[_0x5cf5c4],_0xd843af=this[_0x5c3b23(0x385)][_0x5c3b23(0x1e0)](_0x23d8d4,_0x2e5f87),_0x5beb9d=this[_0x5c3b23(0x385)][_0x5c3b23(0x1e0)](_0x5cbacf,_0x1a4fed);if(_0x37d180(_0xd843af)||_0x37d180(_0x5beb9d)){this[_0x5c3b23(0x3a2)][_0x5c3b23(0x237)](_0x5c3b23(0x362),'transformStack\x20failed!',_0xd843af,_0x5beb9d);break;}_0x23d8d4=_0xd843af[_0x5c3b23(0x114)],_0x5cbacf=_0x5beb9d[_0x5c3b23(0x114)],_0x2b8777[_0x5c3b23(0x13f)]({'unitID':_0x3b58b9,'undoMutations':_0xd843af[_0x5c3b23(0x20b)],'redoMutations':_0x5beb9d['m2Prime']});}return _0x2b8777[_0x5c3b23(0x232)]();}};yt=hr([we(0x0,_0x24fe3b),we(0x1,_0x8da825),we(0x2,_0x128882),we(0x3,_0x20376b),we(0x4,_0xd27129)],yt);var _r=Object['defineProperty'],lr=Object['getOwnPropertyDescriptor'],ur=(_0x3e34a3,_0x2fa1f6,_0x291ecf)=>_0x2fa1f6 in _0x3e34a3?_r(_0x3e34a3,_0x2fa1f6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x291ecf}):_0x3e34a3[_0x2fa1f6]=_0x291ecf,dr=(_0x460a65,_0x5e1baf,_0x582858,_0x4226d0)=>{var _0x18dcd4=_0x8cc9a2;for(var _0x35e24c=_0x4226d0>0x1?void 0x0:_0x4226d0?lr(_0x5e1baf,_0x582858):_0x5e1baf,_0x1e11ca=_0x460a65[_0x18dcd4(0x1ae)]-0x1,_0x5407e5;_0x1e11ca>=0x0;_0x1e11ca--)(_0x5407e5=_0x460a65[_0x1e11ca])&&(_0x35e24c=_0x5407e5(_0x35e24c)||_0x35e24c);return _0x35e24c;},mt=(_0x141bfe,_0x2a66e2)=>(_0x64cb38,_0x2e784f)=>_0x2a66e2(_0x64cb38,_0x2e784f,_0x141bfe),fr=(_0x35eda8,_0x4a89de,_0x3cce6f)=>ur(_0x35eda8,_0x4a89de+'',_0x3cce6f);const vr=_0x8cc9a2(0x166);let Nt=class extends _0x42526b{constructor(_0x5f08a5,_0x569dfd,_0x385cb9,_0xcd06c5){var _0x1c0ad9=_0x8cc9a2;super(),N(this,_0x1c0ad9(0x184)),(this['_logService']=_0x569dfd,this['_injector']=_0x385cb9,this[_0x1c0ad9(0xee)]=_0xcd06c5);const {..._0x54e43d}=_0x35ab8b({},Ds,_0x5f08a5);if(!_0x54e43d[_0x1c0ad9(0x23f)])throw new Error(_0x1c0ad9(0x24e));this[_0x1c0ad9(0x184)]=_0x54e43d,this['_configService'][_0x1c0ad9(0x27a)](K,_0x54e43d);}['onStarting'](){var _0x1c03bd=_0x8cc9a2;this[_0x1c03bd(0x35f)](),this['_initDependencies']();}[_0x8cc9a2(0x35f)](){var _0x22923c=_0x8cc9a2,_0x5e681a,_0x32c14e;this['_injector']['has'](_0x1ab2de)&&this[_0x22923c(0x3a2)][_0x22923c(0x237)](_0x22923c(0x1e3),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2c43ec=_0x4935cd([[_0x1ab2de,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this['_config']['socketService']}],[_0x591680,{'useClass':Ot}],[_0x38a123,{'useClass':Tt}],[_0x478784,{'useClass':Rt}],[_0x449fda,{'useClass':bt}],[nt],[It]],(_0x5e681a=this['_config'])==null?void 0x0:_0x5e681a[_0x22923c(0x2e8)]);if(!((_0x32c14e=this[_0x22923c(0x184)])!=null&&_0x32c14e[_0x22923c(0x25f)])){const _0x26efcc=_0x2c43ec[_0x22923c(0x144)](([_0x14849e])=>_0x14849e===ht);_0x26efcc!==-0x1&&_0x2c43ec['splice'](_0x26efcc,0x1);}_0x218ff3(this[_0x22923c(0x127)],_0x2c43ec);}['_initDependencies'](){var _0x50a151=_0x8cc9a2,_0x3f2569,_0x16ba08,_0x219507;this['_injector'][_0x50a151(0x313)](_0x2b7687)[_0x50a151(0x2a9)]({'priority':0x14,'interceptor':_0x57bbb5({'maxParallel':0x6})}),(_0x3f2569=this[_0x50a151(0x184)])!=null&&_0x3f2569[_0x50a151(0x3ad)]||(_0x16ba08=this[_0x50a151(0x127)][_0x50a151(0x313)](J,_0x5df4bb[_0x50a151(0x301)]))==null||_0x16ba08[_0x50a151(0x1ac)](),(_0x219507=this['_config'])!=null&&_0x219507[_0x50a151(0x162)]&&_0xc06ae3(this['_injector'],[[rt]]),_0xc06ae3(this[_0x50a151(0x127)],[[at],[nt],[ot]]);}};fr(Nt,_0x8cc9a2(0x18c),vr),Nt=dr([_0x356294(_0x215b5a,_0x1310cc),mt(0x1,_0xd27129),mt(0x2,_0x2bc925(_0x5c0aec)),mt(0x3,_0x195c73)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
1
+ var _0xe9a651=_0x138f;(function(_0x5adbc1,_0x2644c6){var _0x5c9a32=_0x138f,_0x4a22d0=_0x5adbc1();while(!![]){try{var _0x269998=-parseInt(_0x5c9a32(0x227))/0x1*(parseInt(_0x5c9a32(0x375))/0x2)+-parseInt(_0x5c9a32(0x2d1))/0x3*(parseInt(_0x5c9a32(0x343))/0x4)+parseInt(_0x5c9a32(0x3c1))/0x5+parseInt(_0x5c9a32(0x36d))/0x6*(parseInt(_0x5c9a32(0x1e5))/0x7)+parseInt(_0x5c9a32(0x259))/0x8+-parseInt(_0x5c9a32(0x20a))/0x9*(-parseInt(_0x5c9a32(0x3b3))/0xa)+-parseInt(_0x5c9a32(0x313))/0xb;if(_0x269998===_0x2644c6)break;else _0x4a22d0['push'](_0x4a22d0['shift']());}catch(_0x3a7d11){_0x4a22d0['push'](_0x4a22d0['shift']());}}}(_0x3b47,0xea956));var Di=Object[_0xe9a651(0x2b1)],Ui=(_0x5bac86,_0x23f9c3,_0x453e6e)=>_0x23f9c3 in _0x5bac86?Di(_0x5bac86,_0x23f9c3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x453e6e}):_0x5bac86[_0x23f9c3]=_0x453e6e,N=(_0x19aa49,_0x34a766,_0x14007a)=>Ui(_0x19aa49,typeof _0x34a766!=_0xe9a651(0x31d)?_0x34a766+'':_0x34a766,_0x14007a);import{createIdentifier as _0x2bbdaf,Inject as _0x5c4cb1,Injector as _0x1ad227,IConfigService as _0x17539a,ILogService as _0x26ef4e,Disposable as _0x2b0e91,DisposableCollection as _0x6ecf25,toDisposable as _0x1c8f3d,IUniverInstanceService as _0x10c3c4,UserManagerService as _0x177c4c,UniverInstanceType as _0x4bea2b,LocaleService as _0x25bf21,Optional as _0xa8e945,RxDisposable as _0x12efa6,Tools as _0x58e7db,Rectangle as _0x3520c3,ICommandService as _0x806fa4,JSONX as _0x46e58e,CommandType as _0x38f923,IUndoRedoService as _0x5690ef,IPermissionService as _0x546b61,sequenceExecute as _0x222afb,Workbook as _0x1aaadb,MentionType as _0xfb8014,isInternalEditorID as _0x5dd757,LocalUndoRedoService as _0x22c5d5,IContextService as _0x22e619,DependentOn as _0x53efde,Plugin as _0xa9835,merge as _0x32c29c,mergeOverrideWithDependencies as _0x5933ce,IAuthzIoService as _0x13a659,IMentionIOService as _0x18f969,registerDependencies as _0x180259,Quantity as _0xc266b2,touchDependencies as _0x413189}from'@univerjs/core';import{Subject as _0x1af177,merge as _0x25c232,of as _0x136697,BehaviorSubject as _0xbb4734,takeUntil as _0x7fdbf,ReplaySubject as _0x5d2e63,take as _0x24445d,map as _0x1f06ee,shareReplay as _0x4a8ab6,firstValueFrom as _0x149dcc,concatMap as _0x3266fe}from'rxjs';import{map as _0x5e1429,take as _0x5cb0b5,filter as _0x5b950a,delay as _0xe05ce4,takeUntil as _0x33b282}from'rxjs/operators';import{CollaborationEvent as _0x490579,ISnapshotServerService as _0x2543a7,parseChangesetToProtocol as _0x3a1c29,ITransformService as _0x461f6c,isTransformMutationsWithChangesetSuccess as _0x17f177,mapDocumentTypeToUniverType as _0x2834ff,RevisionService as _0x510c33,isTransformChangesetsSuccess as _0x3f2957,CompressMutationService as _0x377b8a,parseProtocolChangeset as _0x344ce5,uuidv4 as _0x4baddb,SnapshotService as _0x478d63,textEncoder as _0x4e03f3,b64DecodeUnicode as _0x2183fc,isTransformMutationsWithChangesetFailure as _0x2d642b,UniverCollaborationPlugin as _0x2e89f6}from'@univerjs-pro/collaboration';import{HTTPService as _0x8c9022,ISocketService as _0x286192,MergeInterceptorFactory as _0x3d2ef1,HTTPRequest as _0x23a1ba,UniverNetworkPlugin as _0x2f85bc,ThresholdInterceptorFactory as _0x57e065}from'@univerjs/network';import{ITelemetryService as _0x3ac649}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x32e028}from'@univerjs/docs';import{SheetsSelectionsService as _0x3ed2ea,SetSelectionsOperation as _0xc5160b,InsertSheetMutation as _0x354f1c,EmptyMutation as _0x2af325,WorkbookEditablePermission as _0x5b91af,SheetPermissionInitController as _0x2557d0}from'@univerjs/sheets';import{ImageSourceType as _0x471a2e,ImageUploadStatusType as _0x655e03,IImageIoService as _0x1d6cdd}from'@univerjs/drawing';import{getGlobalObject as _0x5df9c0}from'@univerjs-pro/license';const fs=_0xe9a651(0x3fb),vs=_0xe9a651(0x2e1),ps='SNAPSHOT_URL_KEY',yr=_0xe9a651(0x1c5),ms=0x7d0,gs=_0xe9a651(0x3b2),Ss=_0xe9a651(0x315),Nr=_0xe9a651(0x1c4),Es=_0xe9a651(0x36f),Is=0x7530,fi=_0xe9a651(0x3ee),vi=0x4e20,Ts=0x4e20,Cs=_0xe9a651(0x2ca),Rs=0x3,Dr=_0xe9a651(0x220),Ur=0x3e8,bs=_0xe9a651(0x3fa),Os='/universer-api/comb',ys='LOGIN_URL_KEY',Ns=_0xe9a651(0x17a),Ar='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',wr=_0xe9a651(0x14e);var pi=(_0x538343=>(_0x538343[_0x538343[_0xe9a651(0x278)]=0x0]=_0xe9a651(0x278),_0x538343[_0x538343['OK']=0x1]='OK',_0x538343[_0x538343[_0xe9a651(0x17f)]=0x2]=_0xe9a651(0x17f),_0x538343[_0x538343[_0xe9a651(0x271)]=0x3]=_0xe9a651(0x271),_0x538343[_0x538343[_0xe9a651(0x218)]=0x4]=_0xe9a651(0x218),_0x538343[_0x538343[_0xe9a651(0x1a1)]=0x5]=_0xe9a651(0x1a1),_0x538343[_0x538343[_0xe9a651(0x154)]=0x6]='ALREADY_EXISTS',_0x538343[_0x538343[_0xe9a651(0x370)]=0x7]=_0xe9a651(0x370),_0x538343[_0x538343['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x538343[_0x538343[_0xe9a651(0x1b3)]=0x9]=_0xe9a651(0x1b3),_0x538343[_0x538343[_0xe9a651(0x2de)]=0xa]=_0xe9a651(0x2de),_0x538343[_0x538343[_0xe9a651(0x183)]=0x1389]=_0xe9a651(0x183),_0x538343[_0x538343[_0xe9a651(0x350)]=0x1771]=_0xe9a651(0x350),_0x538343[_0x538343[_0xe9a651(0x359)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x538343[_0x538343['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xe9a651(0x41e),_0x538343[_0x538343[_0xe9a651(0x2fb)]=0x1b59]=_0xe9a651(0x2fb),_0x538343[_0x538343[_0xe9a651(0x30b)]=0x1b5a]=_0xe9a651(0x30b),_0x538343[_0x538343[_0xe9a651(0x3a7)]=0x1b5b]=_0xe9a651(0x3a7),_0x538343[_0x538343[_0xe9a651(0x280)]=0x1b5c]=_0xe9a651(0x280),_0x538343[_0x538343[_0xe9a651(0x21d)]=0x1b5d]=_0xe9a651(0x21d),_0x538343[_0x538343['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x538343[_0x538343['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xe9a651(0x26f),_0x538343[_0x538343[_0xe9a651(0x2b4)]=0x232a]=_0xe9a651(0x2b4),_0x538343[_0x538343[_0xe9a651(0x222)]=0x232b]=_0xe9a651(0x222),_0x538343[_0x538343[_0xe9a651(0x269)]=0x232c]=_0xe9a651(0x269),_0x538343[_0x538343['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x538343[_0x538343['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xe9a651(0x2cb),_0x538343[_0x538343[_0xe9a651(0x326)]=0x2712]=_0xe9a651(0x326),_0x538343[_0x538343[_0xe9a651(0x265)]=0x2713]=_0xe9a651(0x265),_0x538343[_0x538343[_0xe9a651(0x2f0)]=0x2714]=_0xe9a651(0x2f0),_0x538343[_0x538343[_0xe9a651(0x31e)]=0x271a]=_0xe9a651(0x31e),_0x538343[_0x538343[_0xe9a651(0x217)]=0x271b]=_0xe9a651(0x217),_0x538343[_0x538343[_0xe9a651(0x3f5)]=0x271c]=_0xe9a651(0x3f5),_0x538343[_0x538343[_0xe9a651(0x3bb)]=0x271d]=_0xe9a651(0x3bb),_0x538343[_0x538343[_0xe9a651(0x3ff)]=0x271e]=_0xe9a651(0x3ff),_0x538343[_0x538343['YUUMI_AI_RUN_FAILED']=0x271f]=_0xe9a651(0x2ed),_0x538343[_0x538343[_0xe9a651(0x400)]=0x2af9]=_0xe9a651(0x400),_0x538343[_0x538343['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x538343[_0x538343[_0xe9a651(0x3be)]=0x2ee2]=_0xe9a651(0x3be),_0x538343[_0x538343['INVITE_CODE_REQUIRED']=0x2ee3]=_0xe9a651(0x2a6),_0x538343[_0x538343[_0xe9a651(0x331)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x538343[_0x538343[_0xe9a651(0x39c)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x538343[_0x538343['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xe9a651(0x201),_0x538343[_0x538343['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xe9a651(0x308),_0x538343[_0x538343['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xe9a651(0x198),_0x538343[_0x538343['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x538343))(pi||{}),Z=(_0x1729c4=>(_0x1729c4[_0x1729c4[_0xe9a651(0x258)]=0x0]=_0xe9a651(0x258),_0x1729c4[_0x1729c4['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x1729c4[_0x1729c4[_0xe9a651(0x277)]=0x2]=_0xe9a651(0x277),_0x1729c4[_0x1729c4['UNIVER_SLIDE']=0x3]=_0xe9a651(0x213),_0x1729c4[_0x1729c4[_0xe9a651(0x1ed)]=0x4]=_0xe9a651(0x1ed),_0x1729c4[_0x1729c4[_0xe9a651(0x40a)]=-0x1]='UNRECOGNIZED',_0x1729c4))(Z||{}),F=(_0x404c4e=>(_0x404c4e[_0x404c4e[_0xe9a651(0x3f8)]=0x0]=_0xe9a651(0x3f8),_0x404c4e[_0x404c4e[_0xe9a651(0x138)]=0x1]='HELLO',_0x404c4e[_0x404c4e['JOIN']=0x2]=_0xe9a651(0x376),_0x404c4e[_0x404c4e['LEAVE']=0x3]=_0xe9a651(0x3bc),_0x404c4e[_0x404c4e[_0xe9a651(0x1c8)]=0x4]=_0xe9a651(0x1c8),_0x404c4e[_0x404c4e[_0xe9a651(0x39a)]=0x5]='HEARTBEAT',_0x404c4e[_0x404c4e[_0xe9a651(0x371)]=0x6]='RECV',_0x404c4e[_0x404c4e[_0xe9a651(0x40a)]=-0x1]=_0xe9a651(0x40a),_0x404c4e))(F||{}),me=(_0x1c55aa=>(_0x1c55aa[_0x1c55aa['UNKNOWN_CODE']=0x0]=_0xe9a651(0x3b0),_0x1c55aa[_0x1c55aa['OK']=0x1]='OK',_0x1c55aa[_0x1c55aa[_0xe9a651(0x15b)]=0x2]='FAIL',_0x1c55aa[_0x1c55aa[_0xe9a651(0x163)]=0x3e9]=_0xe9a651(0x163),_0x1c55aa[_0x1c55aa['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0xe9a651(0x2fe),_0x1c55aa[_0x1c55aa[_0xe9a651(0x2e6)]=0x3eb]=_0xe9a651(0x2e6),_0x1c55aa[_0x1c55aa[_0xe9a651(0x1cd)]=0x3ec]=_0xe9a651(0x1cd),_0x1c55aa[_0x1c55aa[_0xe9a651(0x40a)]=-0x1]='UNRECOGNIZED',_0x1c55aa))(me||{}),mi=(_0xd1b9de=>(_0xd1b9de[_0xd1b9de['Undefined']=0x0]=_0xe9a651(0x1ca),_0xd1b9de[_0xd1b9de[_0xe9a651(0x2bb)]=0x1]=_0xe9a651(0x2bb),_0xd1b9de[_0xd1b9de[_0xe9a651(0x347)]=0x2]=_0xe9a651(0x347),_0xd1b9de[_0xd1b9de[_0xe9a651(0x1d3)]=0x3]=_0xe9a651(0x1d3),_0xd1b9de[_0xd1b9de['UnitSnapshot']=0x4]=_0xe9a651(0x3d7),_0xd1b9de[_0xd1b9de[_0xe9a651(0x167)]=0x5]=_0xe9a651(0x167),_0xd1b9de[_0xd1b9de[_0xe9a651(0x40a)]=-0x1]=_0xe9a651(0x40a),_0xd1b9de))(mi||{});const K='collaboration-client.config',Ds={};var ne=(_0x183886=>(_0x183886[_0xe9a651(0x2b8)]='OTHER_CLIENT_EDITING',_0x183886[_0xe9a651(0x271)]=_0xe9a651(0x271),_0x183886[_0xe9a651(0x306)]=_0xe9a651(0x306),_0x183886[_0xe9a651(0x2a1)]=_0xe9a651(0x2a1),_0x183886[_0xe9a651(0x215)]=_0xe9a651(0x215),_0x183886[_0xe9a651(0x345)]='SOCKET_FAILED_RETRY',_0x183886[_0xe9a651(0x3d5)]=_0xe9a651(0x3d5),_0x183886['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x183886))(ne||{});class ve{constructor(){var _0x48683a=_0xe9a651;N(this,_0x48683a(0x246),new _0x1af177()),N(this,_0x48683a(0x142),this[_0x48683a(0x246)]['asObservable']());}[_0xe9a651(0x417)](_0xbba23b){var _0x4494dc=_0xe9a651;this[_0x4494dc(0x246)]['next'](_0xbba23b);}}const Us=_0x2bbdaf(_0xe9a651(0x374));function As(_0x2296c4){var _0x5ad5a3=_0xe9a651,_0x30e28d,_0x4f36df,_0x3a090b,_0x4d6864,_0x5d597c;const _0x50d69e=_0x2296c4['data'],_0x4291bc=JSON[_0x5ad5a3(0x36a)](_0x50d69e);switch(_0x4291bc['cmd']){case F[_0x5ad5a3(0x39a)]:case F[_0x5ad5a3(0x138)]:{const _0x418848=_0x4291bc[_0x5ad5a3(0x17e)];return{..._0x4291bc,'data':_0x418848,'cmd':_0x4291bc[_0x5ad5a3(0x160)]};}case F[_0x5ad5a3(0x376)]:{const _0x1c7fb2=_0x4291bc['joinRsp'];return{..._0x4291bc,'data':_0x1c7fb2,'cmd':_0x4291bc[_0x5ad5a3(0x160)]};}case F[_0x5ad5a3(0x371)]:{const _0x2e7f33=_0x4291bc['collaMsg'];switch(_0x2e7f33[_0x5ad5a3(0x3a3)]){case _0x490579[_0x5ad5a3(0x351)]:return{..._0x4291bc,'data':{..._0x2e7f33,'data':(_0x30e28d=_0x2e7f33[_0x5ad5a3(0x1da)])==null?void 0x0:_0x30e28d['cs']},'cmd':_0x4291bc[_0x5ad5a3(0x160)]};case _0x490579[_0x5ad5a3(0x25c)]:return{..._0x4291bc,'data':{..._0x2e7f33,'data':(_0x4f36df=_0x2e7f33[_0x5ad5a3(0x28d)])==null?void 0x0:_0x4f36df['cs']},'cmd':_0x4291bc[_0x5ad5a3(0x160)]};case _0x490579[_0x5ad5a3(0x31f)]:return{..._0x4291bc,'data':{..._0x2e7f33,'data':(_0x3a090b=_0x2e7f33['newCsEvent'])==null?void 0x0:_0x3a090b['cs']},'cmd':_0x4291bc['cmd']};case _0x490579[_0x5ad5a3(0x1ee)]:return{..._0x4291bc,'data':{..._0x2e7f33,'data':(_0x4d6864=_0x2e7f33['csRejEvent'])==null?void 0x0:_0x4d6864['cs']},'cmd':_0x4291bc[_0x5ad5a3(0x160)]};case _0x490579[_0x5ad5a3(0x407)]:return{..._0x4291bc,'data':{..._0x2e7f33,'data':(_0x5d597c=_0x2e7f33['csShouldRetryEvent'])==null?void 0x0:_0x5d597c['cs']},'cmd':_0x4291bc[_0x5ad5a3(0x160)]};case _0x490579[_0x5ad5a3(0x21c)]:return{..._0x4291bc,'data':{..._0x2e7f33,'data':_0x2e7f33[_0x5ad5a3(0x186)]},'cmd':_0x4291bc['cmd']};case _0x490579['USERS_ENTER']:return{..._0x4291bc,'data':{..._0x2e7f33,'data':_0x2e7f33[_0x5ad5a3(0x428)]},'cmd':_0x4291bc['cmd']};case _0x490579['USERS_LEAVE']:return{..._0x4291bc,'data':{..._0x2e7f33,'data':_0x2e7f33[_0x5ad5a3(0x12f)]},'cmd':_0x4291bc['cmd']};case _0x490579[_0x5ad5a3(0x39b)]:return{..._0x4291bc,'data':{..._0x2e7f33,'data':_0x2e7f33[_0x5ad5a3(0x3af)]},'cmd':_0x4291bc['cmd']};case _0x490579[_0x5ad5a3(0x33a)]:case _0x490579[_0x5ad5a3(0x2c7)]:return{..._0x4291bc,'data':{..._0x2e7f33,'data':_0x2e7f33['liveShareOperation']},'cmd':_0x4291bc[_0x5ad5a3(0x160)]};case _0x490579[_0x5ad5a3(0x2a4)]:return{..._0x4291bc,'data':{..._0x2e7f33,'data':_0x2e7f33[_0x5ad5a3(0x3af)]},'cmd':_0x4291bc[_0x5ad5a3(0x160)]};case _0x490579['MSG_FOR_ERROR']:return{..._0x4291bc,'data':_0x2e7f33,'cmd':_0x4291bc[_0x5ad5a3(0x160)]};case _0x490579[_0x5ad5a3(0x2e0)]:return{..._0x4291bc,'data':{..._0x2e7f33,'data':_0x2e7f33[_0x5ad5a3(0x19d)]},'cmd':_0x4291bc[_0x5ad5a3(0x160)]};case _0x490579[_0x5ad5a3(0x344)]:return{..._0x4291bc,'data':{..._0x2e7f33,'data':_0x2e7f33[_0x5ad5a3(0x1df)]},'cmd':_0x4291bc[_0x5ad5a3(0x160)]};case _0x490579['SHOULD_CLOSE_CONN']:return{..._0x4291bc,'data':{..._0x2e7f33,'data':_0x2e7f33[_0x5ad5a3(0x216)]},'cmd':_0x4291bc['cmd']};case _0x490579[_0x5ad5a3(0x196)]:return{..._0x4291bc,'data':{..._0x2e7f33,'data':_0x2e7f33[_0x5ad5a3(0x355)]},'cmd':_0x4291bc[_0x5ad5a3(0x160)]};default:return _0x4291bc;}}default:return _0x4291bc;}}function ws(_0x40dc69){var _0x986461=_0xe9a651;switch(_0x40dc69[_0x986461(0x160)]){case F[_0x986461(0x39a)]:case F[_0x986461(0x138)]:return JSON[_0x986461(0x342)]({'cmd':_0x40dc69[_0x986461(0x160)],'routeKey':_0x40dc69[_0x986461(0x3d3)]});case F[_0x986461(0x1c8)]:{let _0x4d82ec;switch(_0x40dc69[_0x986461(0x338)][_0x986461(0x3a3)]){case _0x490579['UPDATE_CURSOR']:{_0x4d82ec={'eventID':_0x490579['UPDATE_CURSOR'],'updateCursorEvent':_0x40dc69['data']['data']};break;}case _0x490579['USERS_LEAVE']:{_0x4d82ec={'eventID':_0x490579[_0x986461(0x1f7)],'leaveEvent':_0x40dc69[_0x986461(0x338)][_0x986461(0x338)]};break;}case _0x490579[_0x986461(0x2f7)]:{_0x4d82ec={'eventID':_0x490579[_0x986461(0x2f7)],'joinEvent':_0x40dc69[_0x986461(0x338)][_0x986461(0x338)]};break;}case _0x490579['LIVESHARE_NEW_HOST']:{_0x4d82ec={'eventID':_0x490579[_0x986461(0x39b)],'liveShareNewHost':_0x40dc69[_0x986461(0x338)][_0x986461(0x338)]};break;}case _0x490579[_0x986461(0x2c7)]:{_0x4d82ec={'eventID':_0x490579[_0x986461(0x2c7)],'liveShareOperation':_0x40dc69['data'][_0x986461(0x338)]};break;}case _0x490579[_0x986461(0x2a4)]:{_0x4d82ec={'eventID':_0x490579[_0x986461(0x2a4)],'liveShareTerminate':_0x40dc69[_0x986461(0x338)]['data']};break;}case _0x490579[_0x986461(0x253)]:{_0x4d82ec={'eventID':_0x490579['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x40dc69[_0x986461(0x338)]['data']};break;}case _0x490579[_0x986461(0x33a)]:{_0x4d82ec={'eventID':_0x490579[_0x986461(0x33a)]};break;}default:_0x4d82ec={'eventID':_0x40dc69[_0x986461(0x338)][_0x986461(0x3a3)]};}return JSON[_0x986461(0x342)]({'cmd':_0x40dc69[_0x986461(0x160)],'routeKey':_0x40dc69[_0x986461(0x3d3)],'collaMsg':_0x4d82ec});}case F[_0x986461(0x376)]:return JSON[_0x986461(0x342)]({'cmd':_0x40dc69[_0x986461(0x160)],'routeKey':_0x40dc69[_0x986461(0x3d3)],'joinReq':_0x40dc69[_0x986461(0x338)]});case F[_0x986461(0x3bc)]:return JSON[_0x986461(0x342)]({'cmd':_0x40dc69['cmd'],'routeKey':_0x40dc69[_0x986461(0x3d3)],'leaveReq':_0x40dc69['data']});default:throw new Error(_0x986461(0x3fe));}}var Ps=Object['getOwnPropertyDescriptor'],Ls=(_0x3eaed9,_0x39f014,_0x137a8d,_0x1ae223)=>{var _0x433fe5=_0xe9a651;for(var _0x56032c=_0x1ae223>0x1?void 0x0:_0x1ae223?Ps(_0x39f014,_0x137a8d):_0x39f014,_0x39a3ab=_0x3eaed9[_0x433fe5(0x340)]-0x1,_0x402851;_0x39a3ab>=0x0;_0x39a3ab--)(_0x402851=_0x3eaed9[_0x39a3ab])&&(_0x56032c=_0x402851(_0x56032c)||_0x56032c);return _0x56032c;},Ue=(_0x128dcc,_0x495a28)=>(_0x304f13,_0x4b743f)=>_0x495a28(_0x304f13,_0x4b743f,_0x128dcc);const gi=_0x2bbdaf(_0xe9a651(0x3a1));function Ms(_0x4b0852,_0x11e0d6,_0x2805a4){var _0x257def=_0xe9a651;return _0x4b0852+'/'+_0x11e0d6+'/unit/'+_0x2805a4+_0x257def(0x275);}let Ft=class extends _0x2b0e91{constructor(_0x19a1d9,_0x3059ab,_0x54ce0e,_0x137f6c,_0x2e7c73){var _0x4ca9a1=_0xe9a651;super(),this[_0x4ca9a1(0x369)]=_0x19a1d9,this[_0x4ca9a1(0x3a8)]=_0x3059ab,this['_configService']=_0x54ce0e,this[_0x4ca9a1(0x2d3)]=_0x137f6c,this[_0x4ca9a1(0x2ac)]=_0x2e7c73;}[_0xe9a651(0x381)](_0x4c2882){var _0x2ce722=_0xe9a651;const _0x46412c=this[_0x2ce722(0x369)]['get'](_0x286192);if(!_0x46412c)throw new Error(_0x2ce722(0x32d));const _0x35c8ec=_0x46412c[_0x2ce722(0x2d8)](_0x4c2882);if(!_0x35c8ec)throw new Error(_0x2ce722(0x27a));const _0x3810bc=new _0x6ecf25(),_0x2578b2=new _0x1af177();_0x3810bc['add'](_0x35c8ec[_0x2ce722(0x41d)][_0x2ce722(0x31b)](_0x48f6ac=>_0x2578b2[_0x2ce722(0x22e)](_0x48f6ac))),_0x3810bc[_0x2ce722(0x168)](_0x1c8f3d(()=>_0x2578b2[_0x2ce722(0x126)]()));const _0x10aa8e=new _0x1af177();_0x3810bc[_0x2ce722(0x168)](_0x35c8ec[_0x2ce722(0x314)][_0x2ce722(0x31b)](_0x3fe76e=>_0x10aa8e[_0x2ce722(0x22e)](_0x3fe76e))),_0x3810bc['add'](_0x1c8f3d(()=>_0x10aa8e[_0x2ce722(0x126)]()));const _0x23d808=new _0x1af177();_0x3810bc['add'](_0x35c8ec[_0x2ce722(0x1e4)]['subscribe'](_0x447699=>{const _0x470f2c=As(_0x447699);_0x23d808['next'](_0x470f2c);})),_0x3810bc[_0x2ce722(0x168)](_0x1c8f3d(()=>_0x23d808['complete']()));let _0x1a6a89;const _0x352a2c=()=>{var _0x214ce9=_0x2ce722;_0x10aa8e[_0x214ce9(0x22e)](new Event(_0x214ce9(0x37d))),_0x2578b2[_0x214ce9(0x22e)](new Event(_0x214ce9(0x37d))),_0x1a6a89[_0x214ce9(0x2fd)]();};return _0x1a6a89={'memberID':'','close$':_0x2578b2['asObservable'](),'error$':_0x10aa8e[_0x2ce722(0x1bd)](),'open$':_0x35c8ec[_0x2ce722(0x3ce)],'message$':_0x23d808[_0x2ce722(0x1bd)](),'send':_0x50bc5c=>{var _0x4e3ca6=_0x2ce722;if(_0x50bc5c['cmd']===F[_0x4e3ca6(0x1c8)]){if(_0x50bc5c[_0x4e3ca6(0x338)][_0x4e3ca6(0x3a3)]===_0x490579[_0x4e3ca6(0x1d1)]){this[_0x4e3ca6(0x349)](_0x1a6a89,_0x50bc5c[_0x4e3ca6(0x338)])[_0x4e3ca6(0x279)](_0xa55180=>{var _0x3a57bf=_0x4e3ca6;this[_0x3a57bf(0x2d3)]['error'](_0xa55180),_0x352a2c();});return;}if(_0x50bc5c[_0x4e3ca6(0x338)][_0x4e3ca6(0x3a3)]===_0x490579['FETCH_MISSING']){const _0x391150=_0x50bc5c[_0x4e3ca6(0x338)];this[_0x4e3ca6(0x13d)](_0x391150)[_0x4e3ca6(0x203)](_0x39c51f=>{var _0xdce781=_0x4e3ca6;_0x23d808['next']({'cmd':F[_0xdce781(0x371)],'code':me['OK'],'routeKey':_0x391150[_0xdce781(0x338)]['unitID'],'routeType':'','data':{'eventID':_0x490579[_0xdce781(0x1ef)],'data':{'changesets':_0x39c51f}}});})[_0x4e3ca6(0x279)](_0x520503=>{var _0x57f7e6=_0x4e3ca6;this[_0x57f7e6(0x2d3)][_0x57f7e6(0x354)](_0x520503),_0x352a2c();});return;}}_0x35c8ec['send'](ws(_0x50bc5c));},'close':()=>{var _0x620041=_0x2ce722;_0x35c8ec[_0x620041(0x2fd)](),_0x3810bc[_0x620041(0x135)]();}},_0x1a6a89;}async[_0xe9a651(0x349)](_0xcda854,_0x3cf7d1){var _0xe2215d=_0xe9a651,_0x31dad6,_0x1b282e;const {unitType:_0x593371,unitID:_0x4983b3,changeset:_0x532648}=_0x3cf7d1[_0xe2215d(0x338)],_0xb5a0d2={'unitID':_0x4983b3,'memberID':_0xcda854[_0xe2215d(0x3ad)],'type':_0x593371,'changeset':_0x3a1c29(_0x532648)},_0x1119e2=this['_configService'][_0xe2215d(0x33b)](bs),_0x850fe3=this[_0xe2215d(0x292)]['getConfig'](K),_0x26cbe3=Ms((_0x1b282e=(_0x31dad6=_0x850fe3==null?void 0x0:_0x850fe3['collabSubmitChangesetUrl'])!=null?_0x31dad6:_0x1119e2)!=null?_0x1b282e:Os,_0x593371,_0x4983b3);try{await this[_0xe2215d(0x3a8)][_0xe2215d(0x128)](_0x26cbe3,{'body':_0xb5a0d2});}catch(_0x4ee6d8){throw this[_0xe2215d(0x2d3)]['error'](_0xe2215d(0x341),_0xe2215d(0x367)),_0x4ee6d8;}}async[_0xe9a651(0x13d)](_0x4e6f70){var _0x348ac3=_0xe9a651;const {unitID:_0x4f3a38,from:_0x1af860,to:_0x1885e4,unitType:_0x1d082e}=_0x4e6f70[_0x348ac3(0x338)];return(await this['_snapshotServerService'][_0x348ac3(0x16d)]({'metadata':void 0x0},{'unitID':_0x4f3a38,'type':_0x1d082e,'from':_0x1af860,'to':_0x1885e4}))['changesets'];}};Ft=Ls([Ue(0x0,_0x5c4cb1(_0x1ad227)),Ue(0x1,_0x5c4cb1(_0x8c9022)),Ue(0x2,_0x17539a),Ue(0x3,_0x26ef4e),Ue(0x4,_0x2543a7)],Ft);const xs=_0xe9a651(0x2da);function ks(_0x4126ae){var _0x32c4cd=_0xe9a651;return JSON[_0x32c4cd(0x342)](_0x4126ae)[_0x32c4cd(0x340)];}class Si{constructor(){var _0x47f0c2=_0xe9a651;N(this,_0x47f0c2(0x13b),new _0x1af177()),N(this,_0x47f0c2(0x199),this[_0x47f0c2(0x13b)][_0x47f0c2(0x1bd)]());}[_0xe9a651(0x1f1)](_0x1bfaa0){var _0x25baa6=_0xe9a651;this['_commentUpdate$'][_0x25baa6(0x22e)](_0x1bfaa0);}}var $s=Object[_0xe9a651(0x2ae)],Hs=(_0x2baa62,_0x4b460f,_0x55ae28,_0x1d1905)=>{var _0xff139f=_0xe9a651;for(var _0x2d2726=_0x1d1905>0x1?void 0x0:_0x1d1905?$s(_0x4b460f,_0x55ae28):_0x4b460f,_0x36e56a=_0x2baa62[_0xff139f(0x340)]-0x1,_0x40eb3a;_0x36e56a>=0x0;_0x36e56a--)(_0x40eb3a=_0x2baa62[_0x36e56a])&&(_0x2d2726=_0x40eb3a(_0x2d2726)||_0x2d2726);return _0x2d2726;},Vt=(_0x238df1,_0x28019d)=>(_0x268897,_0x37202f)=>_0x28019d(_0x268897,_0x37202f,_0x238df1);let Pe=class extends _0x2b0e91{constructor(_0x51da4c,_0x4e61b4){var _0x2f708c=_0xe9a651;super(),N(this,_0x2f708c(0x379),new Map()),N(this,'_roomCreated$',new _0x1af177()),(this[_0x2f708c(0x319)]=_0x51da4c,this[_0x2f708c(0x28e)]=_0x4e61b4,this[_0x2f708c(0x2c4)](_0x25c232(this[_0x2f708c(0x319)][_0x2f708c(0x23c)](_0x4bea2b[_0x2f708c(0x277)])[_0x2f708c(0x3f1)](_0x5e1429(_0x2c2c3c=>_0x2c2c3c[_0x2f708c(0x353)]())),this[_0x2f708c(0x319)][_0x2f708c(0x23c)](_0x4bea2b[_0x2f708c(0x1cc)])[_0x2f708c(0x3f1)](_0x5e1429(_0x303787=>_0x303787[_0x2f708c(0x353)]())),this[_0x2f708c(0x319)][_0x2f708c(0x23c)](_0x4bea2b['UNIVER_SLIDE'])[_0x2f708c(0x3f1)](_0x5e1429(_0x3cbd1e=>_0x3cbd1e['getUnitId']())))[_0x2f708c(0x31b)](_0x31b706=>this['_removeRoom'](_0x31b706))));}[_0xe9a651(0x226)](_0x540cfc){var _0x38f1d0=_0xe9a651;return this[_0x38f1d0(0x379)]['has'](_0x540cfc)?_0x136697(this[_0x38f1d0(0x379)][_0x38f1d0(0x364)](_0x540cfc)):this['_roomCreated$']['pipe'](_0x5e1429(_0x42d165=>{var _0x1323f7=_0x38f1d0;if(_0x42d165===_0x540cfc)return this['_roomMembers'][_0x1323f7(0x364)](_0x42d165);}));}['setCurrentUser'](_0x4a74ab){this['_userManagerService']['setCurrentUser'](_0x4a74ab);}[_0xe9a651(0x268)](){var _0x2c05ef=_0xe9a651;return this['_userManagerService'][_0x2c05ef(0x268)]();}[_0xe9a651(0x282)](_0x2889c0,_0x3006a3){var _0x162759=_0xe9a651;let _0x1d46b4=this[_0x162759(0x379)]['get'](_0x2889c0);_0x1d46b4||(_0x1d46b4=new Bs(),this[_0x162759(0x379)]['set'](_0x2889c0,_0x1d46b4),this['_roomCreated$'][_0x162759(0x22e)](_0x2889c0)),_0x1d46b4[_0x162759(0x282)](_0x3006a3);}[_0xe9a651(0x144)](_0x462b14,_0x23fcdc){var _0xce062b=_0xe9a651;const _0x115c55=this[_0xce062b(0x379)][_0xce062b(0x364)](_0x462b14);_0x115c55&&_0x115c55[_0xce062b(0x144)](_0x23fcdc);}['getRoom'](_0x81cfcd){var _0x4eb3cd=_0xe9a651;return this[_0x4eb3cd(0x379)][_0x4eb3cd(0x364)](_0x81cfcd);}[_0xe9a651(0x423)](_0x3d5f44,_0x280699){var _0xd68d2d=_0xe9a651;const _0x361abf=this[_0xd68d2d(0x379)][_0xd68d2d(0x364)](_0x3d5f44);if(_0x361abf)return _0x361abf[_0xd68d2d(0x423)](_0x280699);}[_0xe9a651(0x397)](_0x5536b3){var _0x641f94=_0xe9a651;const _0x481374=this['_roomMembers'][_0x641f94(0x364)](_0x5536b3);_0x481374&&(_0x481374[_0x641f94(0x135)](),this[_0x641f94(0x379)]['delete'](_0x5536b3));}[_0xe9a651(0x135)](){var _0x525816=_0xe9a651;this[_0x525816(0x379)][_0x525816(0x40e)](_0x4bd59f=>_0x4bd59f['dispose']()),this[_0x525816(0x379)]['clear'](),this['_roomCreated$'][_0x525816(0x126)]();}};Pe=Hs([Vt(0x0,_0x10c3c4),Vt(0x1,_0x5c4cb1(_0x177c4c))],Pe);class Bs extends _0x2b0e91{constructor(){var _0x50389b=_0xe9a651;super(...arguments),N(this,_0x50389b(0x1ac),new Map()),N(this,_0x50389b(0x2aa),new _0xbb4734(this[_0x50389b(0x1ac)])),N(this,_0x50389b(0x13f),this[_0x50389b(0x2aa)][_0x50389b(0x1bd)]());}[_0xe9a651(0x135)](){var _0x22b201=_0xe9a651;this[_0x22b201(0x1ac)][_0x22b201(0x32a)]();}[_0xe9a651(0x282)](_0x2eaf06){var _0x114ec6=_0xe9a651;this[_0x114ec6(0x1ac)]['set'](_0x2eaf06['memberID'],_0x2eaf06),this[_0x114ec6(0x389)]();}[_0xe9a651(0x144)](_0x5ac596){var _0x30c205=_0xe9a651;this[_0x30c205(0x1ac)]['delete'](_0x5ac596);}['getMember'](_0x4b7765){var _0x3ac997=_0xe9a651;return this[_0x3ac997(0x1ac)]['get'](_0x4b7765);}['getAllMembers'](){var _0x100826=_0xe9a651;return Array[_0x100826(0x19a)](this[_0x100826(0x1ac)][_0x100826(0x2f2)]());}[_0xe9a651(0x389)](){var _0x3355d8=_0xe9a651;this[_0x3355d8(0x2aa)][_0x3355d8(0x22e)](this[_0x3355d8(0x1ac)]);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x119770,_0x1094c8,_0xa4c114,_0x274bc1)=>{for(var _0x380867=_0x274bc1>0x1?void 0x0:_0x274bc1?js(_0x1094c8,_0xa4c114):_0x1094c8,_0x4a9145=_0x119770['length']-0x1,_0x368fca;_0x4a9145>=0x0;_0x4a9145--)(_0x368fca=_0x119770[_0x4a9145])&&(_0x380867=_0x368fca(_0x380867)||_0x380867);return _0x380867;},pe=(_0x5db0f1,_0x444214)=>(_0x544583,_0x19d7fe)=>_0x444214(_0x544583,_0x19d7fe,_0x5db0f1),Se=(_0x496eda=>(_0x496eda[_0x496eda[_0xe9a651(0x316)]=0x0]=_0xe9a651(0x316),_0x496eda[_0x496eda['JOINING']=0x1]='JOINING',_0x496eda[_0x496eda['OFFLINE']=0x2]='OFFLINE',_0x496eda[_0x496eda['ONLINE']=0x3]=_0xe9a651(0x2e3),_0x496eda))(Se||{});const Gt={[me[_0xe9a651(0x15b)]]:_0xe9a651(0x267),[me[_0xe9a651(0x163)]]:_0xe9a651(0x1c0),[me[_0xe9a651(0x2fe)]]:_0xe9a651(0x1fa),[me[_0xe9a651(0x2e6)]]:_0xe9a651(0x2a2),[me[_0xe9a651(0x1cd)]]:'session.room-cnt-exceeds'};let gt=class extends _0x12efa6{constructor(_0x14f83a,_0x467ac5,_0x1d1cd5,_0x12774c,_0x6e0a70,_0x59436c,_0x2d87d3,_0x5aedd1,_0x4731ad){var _0x5f4a90=_0xe9a651;super(),N(this,_0x5f4a90(0x3eb),new _0xbb4734(0x0)),N(this,'sessionStatus$',this[_0x5f4a90(0x3eb)]['asObservable']()),N(this,_0x5f4a90(0x246),new _0x1af177()),N(this,_0x5f4a90(0x142),this['_event$'][_0x5f4a90(0x1bd)]()),N(this,_0x5f4a90(0x3c5)),N(this,_0x5f4a90(0x42a)),N(this,_0x5f4a90(0x212)),N(this,_0x5f4a90(0x365),!0x1),N(this,_0x5f4a90(0x34c),null),(this[_0x5f4a90(0x335)]=_0x14f83a,this[_0x5f4a90(0x2d3)]=_0x1d1cd5,this[_0x5f4a90(0x292)]=_0x12774c,this[_0x5f4a90(0x13e)]=_0x6e0a70,this[_0x5f4a90(0x130)]=_0x59436c,this[_0x5f4a90(0x377)]=_0x2d87d3,this[_0x5f4a90(0x1fd)]=_0x5aedd1,this[_0x5f4a90(0x304)]=_0x4731ad,this['_shouldReportTelemetry']=!!this[_0x5f4a90(0x304)],_0x467ac5[_0x5f4a90(0x3f1)](_0x7fdbf(this[_0x5f4a90(0x1f6)]))[_0x5f4a90(0x31b)](_0x2cae47=>{var _0x2b428e=_0x5f4a90,_0x571a4e;typeof _0x2cae47>'u'||(this[_0x2b428e(0x3c5)]=_0x2cae47,_0x2cae47?(this[_0x2b428e(0x159)](_0x2cae47),this[_0x2b428e(0x42a)]=_0x2cae47[_0x2b428e(0x1e4)][_0x2b428e(0x31b)](_0x1358b6=>{var _0x2353bc=_0x2b428e;_0x1358b6[_0x2353bc(0x3d3)]===this[_0x2353bc(0x335)]&&this[_0x2353bc(0x24d)](_0x1358b6);})):(this[_0x2b428e(0x290)](),this['_sessionStatus$'][_0x2b428e(0x22e)](0x2),(_0x571a4e=this['_socketMessageSubscription'])==null||_0x571a4e[_0x2b428e(0x188)](),this['_socketMessageSubscription']=null));}));}get[_0xe9a651(0x3c8)](){var _0x22d8a9=_0xe9a651;return this['_sessionStatus$'][_0x22d8a9(0x34a)]();}['getMemberID'](){var _0x3f6b99=_0xe9a651,_0x930c3c,_0x5ad75c;return(_0x5ad75c=(_0x930c3c=this['_socket'])==null?void 0x0:_0x930c3c[_0x3f6b99(0x3ad)])!=null?_0x5ad75c:null;}[_0xe9a651(0x135)](){var _0x29d0d0=_0xe9a651;super[_0x29d0d0(0x135)](),this[_0x29d0d0(0x1f6)][_0x29d0d0(0x22e)](),this[_0x29d0d0(0x1f6)][_0x29d0d0(0x126)]();}[_0xe9a651(0x2fd)](){var _0xa5ad6d=_0xe9a651,_0x4787ff,_0x50293f;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4787ff=this[_0xa5ad6d(0x3c5)])==null||_0x4787ff['send']({'cmd':F[_0xa5ad6d(0x3bc)],'data':{'roomID':this['_unitID']}}),(_0x50293f=this[_0xa5ad6d(0x3c5)])==null||_0x50293f[_0xa5ad6d(0x2fd)](),this[_0xa5ad6d(0x246)][_0xa5ad6d(0x126)](),this['_sessionStatus$']['complete'](),this[_0xa5ad6d(0x135)]();}[_0xe9a651(0x24d)](_0x41aef7){var _0x1c7632=_0xe9a651;_0x41aef7[_0x1c7632(0x160)]===F[_0x1c7632(0x376)]?this[_0x1c7632(0x3cc)](_0x41aef7):_0x41aef7[_0x1c7632(0x160)]===F[_0x1c7632(0x371)]&&this[_0x1c7632(0x1a9)](_0x41aef7);}['_joinRoom'](_0x40a4b9){var _0x48aec0=_0xe9a651;this[_0x48aec0(0x3eb)][_0x48aec0(0x22e)](0x1),_0x40a4b9[_0x48aec0(0x330)]({'cmd':F[_0x48aec0(0x376)],'routeKey':this[_0x48aec0(0x335)],'routeType':'','data':{'rooms':[{'roomID':this[_0x48aec0(0x335)]}]}});}['_onJoinRoomEvent'](_0x2e447a){var _0x583f5a=_0xe9a651,_0x4dd847;if(_0x2e447a[_0x583f5a(0x37b)]in Gt){this[_0x583f5a(0x1fd)][_0x583f5a(0x417)]({'id':ne[_0x583f5a(0x215)],'data':Gt[_0x2e447a['code']]}),this[_0x583f5a(0x3eb)]['next'](0x2);return;}this[_0x583f5a(0x3eb)][_0x583f5a(0x22e)](0x3);const _0x49138e=(_0x4dd847=_0x2e447a[_0x583f5a(0x338)][_0x583f5a(0x158)][this[_0x583f5a(0x335)]])==null?void 0x0:_0x4dd847[_0x583f5a(0x409)];_0x49138e&&_0x49138e[_0x583f5a(0x40e)](_0x5be2c3=>this[_0x583f5a(0x130)][_0x583f5a(0x282)](this[_0x583f5a(0x335)],_0x5be2c3));}[_0xe9a651(0x1a9)](_0x38b81d){var _0x3d856d=_0xe9a651;try{const _0x263a45=_0x38b81d[_0x3d856d(0x338)];switch(_0x263a45['eventID']){case _0x490579['USERS_ENTER']:this[_0x3d856d(0x1b4)](_0x263a45),this['_event$']['next'](_0x263a45);break;case _0x490579['USERS_LEAVE']:this['_onUserLeave'](_0x263a45),this[_0x3d856d(0x246)][_0x3d856d(0x22e)](_0x263a45);break;case _0x490579[_0x3d856d(0x25c)]:case _0x490579[_0x3d856d(0x407)]:this[_0x3d856d(0x2e8)](),this[_0x3d856d(0x274)](),this[_0x3d856d(0x246)][_0x3d856d(0x22e)](_0x263a45);break;case _0x490579['MSG_FOR_ERROR']:this['_logService'][_0x3d856d(0x354)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x3d856d(0x342)](_0x263a45)),this['_event$'][_0x3d856d(0x22e)](_0x263a45);break;case _0x490579[_0x3d856d(0x2e0)]:this[_0x3d856d(0x377)][_0x3d856d(0x1f1)](_0x263a45[_0x3d856d(0x338)]),this[_0x3d856d(0x246)][_0x3d856d(0x22e)](_0x263a45);break;default:this[_0x3d856d(0x246)][_0x3d856d(0x22e)](_0x263a45);}}catch(_0x1810aa){this[_0x3d856d(0x2d3)][_0x3d856d(0x354)](_0x1810aa,_0x38b81d);}}[_0xe9a651(0x1b4)](_0x5be9ca){var _0x5a8009=_0xe9a651;this['_memberService'][_0x5a8009(0x282)](this[_0x5a8009(0x335)],_0x5be9ca['data']);}[_0xe9a651(0x185)](_0x1e67d1){var _0x35b2f5=_0xe9a651;this['_memberService'][_0x35b2f5(0x144)](this[_0x35b2f5(0x335)],_0x1e67d1['data'][_0x35b2f5(0x3ad)]);}async[_0xe9a651(0x330)](_0x83a1ce,_0x3d84a9){var _0x40aab0=_0xe9a651;if(this['sessionStatus']!==0x3||!this[_0x40aab0(0x3c5)])throw new Error(_0x40aab0(0x1d6));try{_0x83a1ce[_0x40aab0(0x3a3)]===_0x490579['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x40aab0(0x1c2)](_0x83a1ce)),this['_socket'][_0x40aab0(0x330)]({'cmd':F[_0x40aab0(0x1c8)],'routeKey':_0x3d84a9,'routeType':'','data':_0x83a1ce});}catch(_0x5d7247){this[_0x40aab0(0x2d3)][_0x40aab0(0x354)](_0x5d7247);}}[_0xe9a651(0x2ba)](){var _0x35811a=_0xe9a651,_0x47a5ab;this[_0x35811a(0x212)]=setTimeout(()=>{var _0x546187=_0x35811a;this[_0x546187(0x212)]=null,this[_0x546187(0x1fd)][_0x546187(0x417)]({'id':ne[_0x546187(0x3b4)]});},(_0x47a5ab=this['_configService'][_0x35811a(0x33b)](fi))!=null?_0x47a5ab:vi);}['_clearCollaborationTimeoutTimer'](){var _0x2981ef=_0xe9a651;this[_0x2981ef(0x212)]&&(clearTimeout(this[_0x2981ef(0x212)]),this[_0x2981ef(0x212)]=null);}[_0xe9a651(0x1c2)](_0x2ddc9a){var _0x1a5fa3=_0xe9a651;if(!this[_0x1a5fa3(0x365)])return;const {data:_0x21dca7}=_0x2ddc9a,{unitID:_0x1c973b,changeset:_0x225ea9}=_0x21dca7,{mutations:_0x4fd08c,type:_0x91341c}=_0x225ea9;this[_0x1a5fa3(0x34c)]={'unitId':_0x1c973b,'type':_0x91341c,'startTime':performance[_0x1a5fa3(0x358)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x4fd08c)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5ec33f=_0xe9a651;if(this[_0x5ec33f(0x365)]){if(!this[_0x5ec33f(0x34c)]){this['_logService'][_0x5ec33f(0x354)]('[CollaborationSession]',_0x5ec33f(0x1d2));return;}this[_0x5ec33f(0x34c)][_0x5ec33f(0x348)]=performance[_0x5ec33f(0x358)](),this['_telemetryInfo'][_0x5ec33f(0x173)]=this[_0x5ec33f(0x34c)][_0x5ec33f(0x348)]-this[_0x5ec33f(0x34c)][_0x5ec33f(0x200)],this[_0x5ec33f(0x304)][_0x5ec33f(0x394)](xs,this[_0x5ec33f(0x34c)]),this[_0x5ec33f(0x34c)]=null;}}[_0xe9a651(0x290)](){var _0x2284c0=_0xe9a651;this[_0x2284c0(0x34c)]=null;}};gt=Fs([pe(0x2,_0x26ef4e),pe(0x3,_0x17539a),pe(0x4,_0x5c4cb1(_0x25bf21)),pe(0x5,_0x5c4cb1(Pe)),pe(0x6,_0x5c4cb1(Si)),pe(0x7,_0x5c4cb1(ve)),pe(0x8,_0xa8e945(_0x3ac649))],gt);function _0x138f(_0x12a199,_0x4fc86a){var _0x3b47ee=_0x3b47();return _0x138f=function(_0x138fdc,_0x3f1d13){_0x138fdc=_0x138fdc-0x123;var _0x3fd584=_0x3b47ee[_0x138fdc];return _0x3fd584;},_0x138f(_0x12a199,_0x4fc86a);}var Vs=Object['getOwnPropertyDescriptor'],Gs=(_0x80fc02,_0x47afdf,_0x125996,_0xbea4eb)=>{var _0x1fa723=_0xe9a651;for(var _0x5892b4=_0xbea4eb>0x1?void 0x0:_0xbea4eb?Vs(_0x47afdf,_0x125996):_0x47afdf,_0x3fb19a=_0x80fc02[_0x1fa723(0x340)]-0x1,_0x433e33;_0x3fb19a>=0x0;_0x3fb19a--)(_0x433e33=_0x80fc02[_0x3fb19a])&&(_0x5892b4=_0x433e33(_0x5892b4)||_0x5892b4);return _0x5892b4;},Re=(_0x47b351,_0xe3b5f5)=>(_0x1eb0c1,_0x33466e)=>_0xe3b5f5(_0x1eb0c1,_0x33466e,_0x47b351);let Le=class extends _0x2b0e91{constructor(_0x33202b,_0x594c3d,_0x435925,_0x24cdd2,_0x429784,_0x5c44df){var _0x24427a=_0xe9a651;super(),N(this,_0x24427a(0x18e),new _0xbb4734(void 0x0)),N(this,_0x24427a(0x34f),this[_0x24427a(0x18e)][_0x24427a(0x1bd)]()),N(this,_0x24427a(0x42b),null),N(this,_0x24427a(0x1fb),new Map()),N(this,_0x24427a(0x240),new _0xbb4734(Se[_0x24427a(0x316)])),N(this,_0x24427a(0x3c6),this[_0x24427a(0x240)][_0x24427a(0x1bd)]()),N(this,'_socketReady',!0x1),N(this,_0x24427a(0x20e)),N(this,_0x24427a(0x12a),0x0),N(this,_0x24427a(0x2ef)),N(this,_0x24427a(0x241)),(this['_injector']=_0x33202b,this[_0x24427a(0x2d3)]=_0x594c3d,this[_0x24427a(0x292)]=_0x435925,this[_0x24427a(0x37f)]=_0x24cdd2,this['_collaborationUIEventService']=_0x429784,this['_networkConditionService']=_0x5c44df,this[_0x24427a(0x17b)]());}get[_0xe9a651(0x3c5)](){var _0x432dd2=_0xe9a651;return this[_0x432dd2(0x18e)][_0x432dd2(0x34a)]();}[_0xe9a651(0x17b)](){var _0x57e05e=_0xe9a651;this[_0x57e05e(0x257)]&&this[_0x57e05e(0x2c4)](this[_0x57e05e(0x257)][_0x57e05e(0x305)][_0x57e05e(0x31b)](_0x52a810=>{var _0x5125d4=_0x57e05e;_0x52a810&&!this['_socket']&&this[_0x5125d4(0x33d)](),_0x52a810||this[_0x5125d4(0x176)]();}));}[_0xe9a651(0x135)](){var _0x1b4e84=_0xe9a651;super['dispose'](),this[_0x1b4e84(0x3e6)](),this[_0x1b4e84(0x16b)](),this[_0x1b4e84(0x157)](),this[_0x1b4e84(0x1fb)][_0x1b4e84(0x40e)](_0x3d88e9=>_0x3d88e9[_0x1b4e84(0x135)]()),this[_0x1b4e84(0x1fb)][_0x1b4e84(0x32a)](),this[_0x1b4e84(0x240)][_0x1b4e84(0x126)]();}async[_0xe9a651(0x224)](_0x4f5685){var _0x3e9e11=_0xe9a651;if(this[_0x3e9e11(0x1fb)][_0x3e9e11(0x214)](_0x4f5685))return this[_0x3e9e11(0x1fb)][_0x3e9e11(0x364)](_0x4f5685);this[_0x3e9e11(0x416)]();const _0x378a7b=this['_injector'][_0x3e9e11(0x35b)](gt,_0x4f5685,this[_0x3e9e11(0x18e)][_0x3e9e11(0x1bd)]());return this[_0x3e9e11(0x1fb)][_0x3e9e11(0x12b)](_0x4f5685,_0x378a7b),_0x378a7b;}[_0xe9a651(0x3fd)](_0x82ceb3){var _0x8daaa4=_0xe9a651,_0x5d9a21;const _0x4a4e2b=this['_sessions']['get'](_0x82ceb3);_0x4a4e2b&&(this[_0x8daaa4(0x1fb)][_0x8daaa4(0x2cc)](_0x82ceb3),_0x4a4e2b[_0x8daaa4(0x2fd)]()),this[_0x8daaa4(0x1fb)][_0x8daaa4(0x3b1)]||(_0x5d9a21=this[_0x8daaa4(0x3c5)])==null||_0x5d9a21['close']();}['reconnect'](){var _0x5a5347=_0xe9a651;this[_0x5a5347(0x12a)]=0x0,this[_0x5a5347(0x3e6)](),this[_0x5a5347(0x1f5)]();}['_clearRetryConnectingTimer'](){var _0x2e8ebd=_0xe9a651;this[_0x2e8ebd(0x20e)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0xe9a651(0x362)](){var _0x49a75f=_0xe9a651,_0x1d82bd,_0x3a547b;const _0x46cc46=this['_configService'][_0x49a75f(0x33b)](gs),_0x535871=this[_0x49a75f(0x292)][_0x49a75f(0x33b)](K),_0x20039d=(_0x3a547b=(_0x1d82bd=_0x535871==null?void 0x0:_0x535871['collabWebSocketUrl'])!=null?_0x1d82bd:_0x46cc46)!=null?_0x3a547b:Ss,_0x2dfe46=await this[_0x49a75f(0x37f)][_0x49a75f(0x2d8)](_0x20039d);return this[_0x49a75f(0x42b)]=_0x2dfe46,_0x2dfe46;}async['_tryEnsureSocket'](){var _0x31484d=_0xe9a651,_0x4e1310,_0x315cc8;try{const _0x3fc31a=(_0x315cc8=(_0x4e1310=this[_0x31484d(0x3c5)])!=null?_0x4e1310:this[_0x31484d(0x42b)])!=null?_0x315cc8:await this['_createSocket']();if(_0x3fc31a){const _0x56be19=_0x3fc31a[_0x31484d(0x330)];_0x3fc31a[_0x31484d(0x330)]=_0x442651=>(this[_0x31484d(0x193)](),_0x56be19['apply'](_0x3fc31a,[_0x442651])),_0x3fc31a[_0x31484d(0x1e4)][_0x31484d(0x31b)](_0x49d5ff=>this[_0x31484d(0x13a)](_0x3fc31a,_0x49d5ff)),_0x3fc31a[_0x31484d(0x314)][_0x31484d(0x3f1)](_0x5cb0b5(0x1))[_0x31484d(0x31b)](_0x39bbe7=>this[_0x31484d(0x2d3)][_0x31484d(0x354)](_0x31484d(0x1ea),_0x39bbe7)),_0x3fc31a[_0x31484d(0x3ce)][_0x31484d(0x3f1)](_0x5cb0b5(0x1))[_0x31484d(0x31b)](()=>{var _0x3974fe=_0x31484d;this[_0x3974fe(0x2e7)](_0x3fc31a);}),_0x3fc31a[_0x31484d(0x41d)][_0x31484d(0x3f1)](_0x5cb0b5(0x1))[_0x31484d(0x31b)](_0xf0c063=>{var _0x8bacfa=_0x31484d;this['_logService'][_0x8bacfa(0x263)](_0x8bacfa(0x1b2),_0x8bacfa(0x40d),_0xf0c063),this[_0x8bacfa(0x3e0)]();});}}catch(_0x5c58b4){this['_logService'][_0x31484d(0x354)](_0x5c58b4),this[_0x31484d(0x3e0)]();}}['_onConnectionOpen'](_0x429806){var _0x50745f=_0xe9a651;this[_0x50745f(0x2d3)]['debug'](_0x50745f(0x1b2),_0x50745f(0x2b5)),_0x429806[_0x50745f(0x330)]({'cmd':F[_0x50745f(0x138)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x79e49=_0xe9a651;this[_0x79e49(0x245)]=!0x1,this[_0x79e49(0x42b)]=null,this[_0x79e49(0x240)][_0x79e49(0x22e)](Se[_0x79e49(0x1e9)]),this[_0x79e49(0x18e)]['next'](null),this['_clearTimeoutTimer'](),this[_0x79e49(0x157)]();}[_0xe9a651(0x3e0)](){var _0x1b6490=_0xe9a651,_0x847ba8;this[_0x1b6490(0x176)](),this[_0x1b6490(0x12a)]<((_0x847ba8=this[_0x1b6490(0x292)][_0x1b6490(0x33b)](Cs))!=null?_0x847ba8:Rs)?(this[_0x1b6490(0x1fd)]['emitEvent']({'id':ne[_0x1b6490(0x345)]}),this[_0x1b6490(0x1f5)]()):this['_collaborationUIEventService'][_0x1b6490(0x417)]({'id':ne[_0x1b6490(0x3d5)]});}[_0xe9a651(0x1f5)](){var _0x5b098d=_0xe9a651,_0x183768;const _0x56664f=this['_retryCount'],_0x543131=this[_0x5b098d(0x292)][_0x5b098d(0x33b)](K),_0x2251b5=_0x56664f===0x0?0x0:((_0x183768=_0x543131==null?void 0x0:_0x543131[_0x5b098d(0x143)])!=null?_0x183768:Ts)*0x2**_0x56664f;this[_0x5b098d(0x20e)]=setTimeout(()=>{var _0x1c23cf=_0x5b098d;clearTimeout(this[_0x1c23cf(0x20e)]),this[_0x1c23cf(0x20e)]=null,this['_tryEnsureSocket']();},_0x2251b5),this[_0x5b098d(0x12a)]+=0x1;}['_onMessage'](_0x53a522,_0xe2cb){var _0x477d62=_0xe9a651;const {cmd:_0x1e43f8}=_0xe2cb;_0x1e43f8===F[_0x477d62(0x138)]&&!this[_0x477d62(0x245)]&&(_0x53a522[_0x477d62(0x3ad)]=_0xe2cb[_0x477d62(0x338)][_0x477d62(0x3ad)],this[_0x477d62(0x18e)][_0x477d62(0x22e)](_0x53a522),this['_status$'][_0x477d62(0x22e)](Se[_0x477d62(0x2e3)]),this[_0x477d62(0x245)]=!0x0,this[_0x477d62(0x42b)]=null),_0x1e43f8===F[_0x477d62(0x39a)]&&this[_0x477d62(0x16b)](),this[_0x477d62(0x193)]();}[_0xe9a651(0x193)](){var _0x55a44f=_0xe9a651,_0x58e7af;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x55a44f(0x238)](),(_0x58e7af=this[_0x55a44f(0x292)][_0x55a44f(0x33b)](Es))!=null?_0x58e7af:Is);}['_sendHeartbeat'](){var _0x5536b6=_0xe9a651;this[_0x5536b6(0x3c5)][_0x5536b6(0x330)]({'cmd':F[_0x5536b6(0x39a)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x56b9bd=_0xe9a651,_0x44138a;this['_timeoutTimer']=setTimeout(()=>this[_0x56b9bd(0x3e0)](),(_0x44138a=this[_0x56b9bd(0x292)][_0x56b9bd(0x33b)](fi))!=null?_0x44138a:vi);}[_0xe9a651(0x157)](){var _0x5f0987=_0xe9a651;this[_0x5f0987(0x2ef)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5f0987(0x2ef)]=null);}[_0xe9a651(0x16b)](){var _0x23dbd0=_0xe9a651;this[_0x23dbd0(0x241)]!=null&&(clearTimeout(this[_0x23dbd0(0x241)]),this[_0x23dbd0(0x241)]=null);}};Le=Gs([Re(0x0,_0x5c4cb1(_0x1ad227)),Re(0x1,_0x26ef4e),Re(0x2,_0x17539a),Re(0x3,gi),Re(0x4,_0x5c4cb1(ve)),Re(0x5,_0xa8e945(Us))],Le);const J=_0x2bbdaf(_0xe9a651(0x3a6));function Pr(_0x540449){var _0x4a4f51=_0xe9a651;return _0x4a4f51(0x38c)+_0x540449;}var Ws=Object[_0xe9a651(0x2ae)],Ys=(_0x105324,_0x449377,_0x1e4348,_0x4297b0)=>{var _0x6bbdf=_0xe9a651;for(var _0x878e17=_0x4297b0>0x1?void 0x0:_0x4297b0?Ws(_0x449377,_0x1e4348):_0x449377,_0x2ad6c1=_0x105324[_0x6bbdf(0x340)]-0x1,_0x26014f;_0x2ad6c1>=0x0;_0x2ad6c1--)(_0x26014f=_0x105324[_0x2ad6c1])&&(_0x878e17=_0x26014f(_0x878e17)||_0x878e17);return _0x878e17;},ut=(_0x1e67cf,_0x46b9c4)=>(_0x18afdc,_0x4eac45)=>_0x46b9c4(_0x18afdc,_0x4eac45,_0x1e67cf);function Ks(_0x58a220){var _0x108000=_0xe9a651;const {unitID:_0x4779ed,mutations:_0x32682e}=_0x58a220;return{'unitId':_0x4779ed,'subUnitId':_0x32682e[0x0][_0x108000(0x149)]['subUnitId']};}let it=class{constructor(_0x3a2298,_0x492d5c,_0x5f4176){var _0x4b9338=_0xe9a651;this[_0x4b9338(0x369)]=_0x3a2298,this[_0x4b9338(0x27e)]=_0x492d5c,this['_instanceService']=_0x5f4176;}[_0xe9a651(0x293)](_0x529185){var _0x275cd5=_0xe9a651,_0x5c5d1c,_0x3369a9,_0xaf530,_0x1f8636;const _0x35197f=this[_0x275cd5(0x369)]['get'](_0x3ed2ea),{unitId:_0x29248d,subUnitId:_0x43a92b}=Ks(_0x529185),_0x31045d=_0x35197f==null?void 0x0:_0x35197f[_0x275cd5(0x1af)](_0x29248d)[_0x275cd5(0x34b)](),_0x1cf4a4=(_0x3369a9=(_0x5c5d1c=this[_0x275cd5(0x35c)][_0x275cd5(0x225)](_0x29248d))==null?void 0x0:_0x5c5d1c[_0x275cd5(0x1a4)]())==null?void 0x0:_0x3369a9[_0x275cd5(0x3ef)]();if(_0x31045d[_0x275cd5(0x340)]===0x0||!_0x29248d||!_0x43a92b)return;const _0x45d5ab=[{'id':_0xc5160b['id'],'params':{'unitId':_0x29248d,'subUnitId':_0x1cf4a4,'selections':_0x58e7db['deepClone'](_0x31045d)}}],_0x13684a=this[_0x275cd5(0x27e)][_0x275cd5(0x2bf)](_0x529185,_0x45d5ab);if(!_0x17f177(_0x13684a))throw _0x13684a['error'];const _0x30f46c=(_0x1f8636=(_0xaf530=_0x13684a[_0x275cd5(0x229)][0x0])==null?void 0x0:_0xaf530[_0x275cd5(0x149)])==null?void 0x0:_0x1f8636[_0x275cd5(0x1d8)];if(Array['isArray'](_0x30f46c)&&_0x30f46c['length']){if(_0x30f46c[_0x275cd5(0x340)]===_0x45d5ab[0x0]['params'][_0x275cd5(0x1d8)][_0x275cd5(0x340)]&&_0x30f46c[_0x275cd5(0x3f0)]((_0x472e46,_0x5e4cf6)=>_0x3520c3['equals'](_0x472e46[_0x275cd5(0x291)],_0x45d5ab[0x0][_0x275cd5(0x149)][_0x275cd5(0x1d8)][_0x5e4cf6][_0x275cd5(0x291)])))return;this[_0x275cd5(0x369)][_0x275cd5(0x364)](_0x806fa4)[_0x275cd5(0x28b)](_0xc5160b['id'],{'unitId':_0x29248d,'subUnitId':_0x1cf4a4,'selections':_0x30f46c});}}};it=Ys([ut(0x0,_0x5c4cb1(_0x1ad227)),ut(0x1,_0x461f6c),ut(0x2,_0x10c3c4)],it);const ht=_0x2bbdaf('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0x3160a0=>(_0x3160a0[_0x3160a0[_0xe9a651(0x2df)]=0x0]=_0xe9a651(0x2df),_0x3160a0[_0x3160a0[_0xe9a651(0x3f3)]=0x1]=_0xe9a651(0x3f3),_0x3160a0))(Ei||{});const qs=new Set([_0x354f1c['id']]);function Wt(_0x1ff838,_0x46dcb9,_0x5980f6,_0xe5321e,_0x2555a7){var _0x57f715=_0xe9a651,_0x1fcb30,_0x2b432e,_0x1072a3,_0x167316;const _0x32f31a=[];for(const _0x388a6e of _0x1ff838)if(qs[_0x57f715(0x214)](_0x388a6e['id'])){if(_0x32f31a[_0x57f715(0x340)]>0x0)break;_0x32f31a[_0x57f715(0x20b)](_0x388a6e);break;}else _0x32f31a['push'](_0x388a6e);const _0x5e3c22=(_0x2b432e=(_0x1fcb30=_0x2555a7[_0x57f715(0x268)]())==null?void 0x0:_0x1fcb30[_0x57f715(0x372)])!=null?_0x2b432e:_0x57f715(0x3ba),_0x58d644=(_0x167316=(_0x1072a3=_0x2555a7[_0x57f715(0x268)]())==null?void 0x0:_0x1072a3['memberID'])!=null?_0x167316:'unknown';return{'changeset':{'unitID':_0x46dcb9,'type':_0x2834ff(_0x5980f6[_0x57f715(0x3b9)](_0x46dcb9)),'baseRev':_0xe5321e[_0x57f715(0x38f)](_0x46dcb9),'revision':0x0,'userID':_0x5e3c22,'memberID':_0x58d644,'mutations':_0x32f31a},'pendingMutations':_0x1ff838[_0x57f715(0x26d)](_0x32f31a['length'])};}function zs(_0xad0d01,_0xdc2498,_0x471d9f,_0xff12ba,_0x216c23){var _0x3f8d36=_0xe9a651,_0x45ca1c,_0x1ea557,_0x18c715,_0xaa0f2b;const _0x44034c=[_0xad0d01[_0x3f8d36(0x3f4)]((_0x131432,_0x1ec668)=>{var _0x4c9692=_0x3f8d36,_0x591efa;const {id:_0x321699}=_0x131432,{id:_0x48ccb8,type:_0x3dbbcd}=_0x1ec668,_0x126cf0=(_0x591efa=_0x131432[_0x4c9692(0x149)])!=null?_0x591efa:{'actions':null},_0x1614fa=_0x1ec668[_0x4c9692(0x149)];if(_0x321699&&_0x321699!==_0x48ccb8)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x321699+'\x20-\x20'+_0x48ccb8+'.');return{..._0x131432,'id':_0x48ccb8,'type':_0x3dbbcd,'params':{'unitId':_0x1614fa[_0x4c9692(0x202)],'textRanges':_0x1614fa[_0x4c9692(0x18d)],'actions':_0x46e58e[_0x4c9692(0x27b)](_0x126cf0[_0x4c9692(0x32e)],_0x1614fa[_0x4c9692(0x32e)])}};},{})],_0x32b76e=(_0x1ea557=(_0x45ca1c=_0x216c23[_0x3f8d36(0x268)]())==null?void 0x0:_0x45ca1c['userID'])!=null?_0x1ea557:'unknown',_0x4c92dc=(_0xaa0f2b=(_0x18c715=_0x216c23[_0x3f8d36(0x268)]())==null?void 0x0:_0x18c715[_0x3f8d36(0x3ad)])!=null?_0xaa0f2b:_0x3f8d36(0x3ba);return{'changeset':{'unitID':_0xdc2498,'type':_0x2834ff(_0x471d9f[_0x3f8d36(0x3b9)](_0xdc2498)),'baseRev':_0xff12ba[_0x3f8d36(0x38f)](_0xdc2498),'revision':0x0,'userID':_0x32b76e,'memberID':_0x4c92dc,'mutations':_0x44034c},'pendingMutations':[]};}function Ii(_0x5a5be6,_0x2ff264){var _0x5882bb=_0xe9a651;const _0x592325=new _0x5d2e63(0x1);return setTimeout(()=>_0x592325['next'](_0x2ff264),_0x5a5be6),_0x592325[_0x5882bb(0x1bd)]()[_0x5882bb(0x3f1)](_0x24445d(0x1));}const Js={'id':_0x2af325['id'],'type':_0x38f923[_0xe9a651(0x172)],'params':{}};var Xs=Object[_0xe9a651(0x2ae)],Ie=(_0x50802c,_0x3d77dd,_0x53fbd9,_0x32f843)=>{var _0x418ca8=_0xe9a651;for(var _0x50e4d3=_0x32f843>0x1?void 0x0:_0x32f843?Xs(_0x3d77dd,_0x53fbd9):_0x3d77dd,_0x3c444d=_0x50802c[_0x418ca8(0x340)]-0x1,_0x212748;_0x3c444d>=0x0;_0x3c444d--)(_0x212748=_0x50802c[_0x3c444d])&&(_0x50e4d3=_0x212748(_0x50e4d3)||_0x50e4d3);return _0x50e4d3;},P=(_0x2077fc,_0x41453a)=>(_0x495023,_0x120702)=>_0x41453a(_0x495023,_0x120702,_0x2077fc),Ti=(_0x5d0307=>(_0x5d0307[_0xe9a651(0x3dc)]=_0xe9a651(0x2b9),_0x5d0307[_0xe9a651(0x1ad)]=_0xe9a651(0x2eb),_0x5d0307[_0xe9a651(0x2dd)]=_0xe9a651(0x1e1),_0x5d0307[_0xe9a651(0x254)]='awaiting',_0x5d0307[_0xe9a651(0x12e)]=_0xe9a651(0x3ed),_0x5d0307[_0xe9a651(0x380)]='fetch_missing',_0x5d0307[_0xe9a651(0x306)]='conflict',_0x5d0307[_0xe9a651(0x1e9)]=_0xe9a651(0x2b7),_0x5d0307))(Ti||{});const Ci=0xea60;class Te{constructor(_0x3dbbf1,_0x4ead4a,_0x48f1c3,_0x666ac6,_0x3975e4,_0x2b7ed3,_0x16edfa,_0x5e920e,_0x294e67){var _0x343af2=_0xe9a651;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x343af2(0x3d4)]=_0x3dbbf1,this[_0x343af2(0x237)]=_0x4ead4a,this['_handler']=_0x3975e4,this[_0x343af2(0x21f)]=_0x2b7ed3,this[_0x343af2(0x195)]=_0x16edfa,this[_0x343af2(0x1c9)]=_0x5e920e,this[_0x343af2(0x385)]=_0x294e67,this['_awaitingChangeset']=_0x48f1c3,this[_0x343af2(0x1b5)]=_0x666ac6);}['_checkMissing'](_0x34b106){var _0x1260a5=_0xe9a651;const _0x4b5fdf=this[_0x1260a5(0x1c9)][_0x1260a5(0x38f)](this[_0x1260a5(0x3d4)]);return _0x34b106['revision']>_0x4b5fdf+0x1?(this[_0x1260a5(0x33c)][_0x1260a5(0x3f9)]({'from':_0x4b5fdf,'to':_0x34b106['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xb75e38){var _0x52c3b4=_0xe9a651;this[_0x52c3b4(0x195)][_0x52c3b4(0x3ca)](this[_0x52c3b4(0x3d4)],_0xb75e38);}[_0xe9a651(0x1fc)](_0x4a9ab1){var _0x231739=_0xe9a651,_0x51f5dc,_0x56df10;(_0x56df10=(_0x51f5dc=this['_handler'])[_0x231739(0x398)])==null||_0x56df10[_0x231739(0x1ff)](_0x51f5dc,_0x4a9ab1);}['_transformIMECache'](_0x405679){var _0xbc650e=_0xe9a651,_0x5c40d4,_0x92eaf8;return(_0x92eaf8=(_0x5c40d4=this[_0xbc650e(0x33c)])['onTransformIME'])==null?void 0x0:_0x92eaf8['call'](_0x5c40d4,_0x405679);}[_0xe9a651(0x3c3)](_0x4326a4){var _0x1ab1e8=_0xe9a651,_0x273217,_0x22d7ed;return(_0x22d7ed=(_0x273217=this[_0x1ab1e8(0x33c)])[_0x1ab1e8(0x3f7)])==null?void 0x0:_0x22d7ed['call'](_0x273217,_0x4326a4);}[_0xe9a651(0x346)](_0x1212fb){var _0x2b2236=_0xe9a651,_0x42804a,_0x3edce0,_0x419ffa;return(_0x419ffa=(_0x3edce0=(_0x42804a=this[_0x2b2236(0x33c)])[_0x2b2236(0x3b6)])==null?void 0x0:_0x3edce0[_0x2b2236(0x1ff)](_0x42804a,_0x1212fb))!=null?_0x419ffa:_0x1212fb;}[_0xe9a651(0x177)](_0xbbe6c6){var _0x36b25c=_0xe9a651,_0x1167e1,_0x3e2d13,_0x45f8b8;return(_0x45f8b8=(_0x3e2d13=(_0x1167e1=this['_handler'])[_0x36b25c(0x1a8)])==null?void 0x0:_0x3e2d13['call'](_0x1167e1,_0xbbe6c6))!=null?_0x45f8b8:_0xbbe6c6;}[_0xe9a651(0x3b5)](_0x2aef4a){var _0x3e3649=_0xe9a651,_0x4257f8,_0x3b6696;if(this['type']===Z[_0x3e3649(0x1cc)]){const {unitID:_0x4e5805,mutations:_0x7ce43b,memberID:_0x1d8769}=_0x2aef4a,_0x570326=_0x7ce43b[0x0]['params'][_0x3e3649(0x18d)];Array[_0x3e3649(0x14a)](_0x570326)&&_0x570326[_0x3e3649(0x340)]>0x0&&((_0x3b6696=(_0x4257f8=this[_0x3e3649(0x33c)])[_0x3e3649(0x14d)])==null||_0x3b6696['call'](_0x4257f8,{'unitID':_0x4e5805,'memberID':_0x1d8769,'textRanges':_0x570326}));}}[_0xe9a651(0x399)](){var _0x55b3a8=_0xe9a651,_0x213558;(_0x213558=this['_localCacheService'])==null||_0x213558[_0x55b3a8(0x363)](this['unitID'],this[_0x55b3a8(0x237)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0xe9a651(0x2f9)](){var _0x3951e1=_0xe9a651;return this[_0x3951e1(0x1c9)][_0x3951e1(0x38f)](this[_0x3951e1(0x3d4)]);}[_0xe9a651(0x28c)](){var _0x49e562=_0xe9a651;this['_revisionService'][_0x49e562(0x2cd)](this[_0x49e562(0x3d4)]);}[_0xe9a651(0x1f0)](_0xdbe220){var _0x390b59=_0xe9a651,_0x46bd6d;let _0x31dc63=this[_0x390b59(0x346)](_0xdbe220);_0x31dc63=this[_0x390b59(0x177)](_0x31dc63);const _0x630c17=_0x222afb(_0x31dc63['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x630c17[_0x390b59(0x139)])throw _0x630c17[_0x390b59(0x354)]instanceof Error?_0x630c17[_0x390b59(0x354)]:new Error((_0x46bd6d=_0x630c17[_0x390b59(0x354)])!=null?_0x46bd6d:_0x390b59(0x140));this[_0x390b59(0x288)](_0x31dc63),this[_0x390b59(0x3c3)](_0x31dc63),this[_0x390b59(0x2f8)](_0xdbe220),this[_0x390b59(0x1fc)](_0x31dc63),this[_0x390b59(0x3b5)](_0x31dc63),this['_incrementRevisionNumber']();}}let ye=class extends Te{constructor(_0x39cabe,_0x28487f,_0x1b237b,_0x43a047,_0x822c1d,_0x1816bf,_0x193bcd,_0x55fb67,_0x4902f6,_0x2c67b1){var _0x472627=_0xe9a651;super(_0x39cabe,_0x28487f,null,[],_0x1b237b,_0x193bcd,_0x1816bf,_0x43a047,_0x2c67b1),N(this,'status',_0x472627(0x2eb)),(this[_0x472627(0x369)]=_0x822c1d,this[_0x472627(0x2d3)]=_0x55fb67,this['_transformService']=_0x4902f6,this[_0x472627(0x325)]=_0x2c67b1);}[_0xe9a651(0x1e8)](_0x5f0440){var _0x3f6d2b=_0xe9a651;const _0x384b36=this[_0x3f6d2b(0x369)][_0x3f6d2b(0x35b)](re,this[_0x3f6d2b(0x3d4)],this[_0x3f6d2b(0x237)],[_0x5f0440],this['_handler']);return _0x384b36[_0x3f6d2b(0x17d)](),_0x384b36['_updateLocalCache'](),_0x384b36;}[_0xe9a651(0x2a3)](_0x4e6f37){var _0x26dbf4=_0xe9a651;if(this[_0x26dbf4(0x26c)](_0x4e6f37))return this[_0x26dbf4(0x369)][_0x26dbf4(0x35b)](Q,this[_0x26dbf4(0x3d4)],this['type'],null,[],null,[_0x4e6f37],this[_0x26dbf4(0x33c)]);try{const _0x1328c3=this[_0x26dbf4(0x27e)][_0x26dbf4(0x2bf)](_0x4e6f37,[Js]);if(_0x17f177(_0x1328c3)){const {c1Prime:_0x4513f8}=_0x1328c3;return this[_0x26dbf4(0x1f0)](_0x4513f8),this;}throw _0x1328c3[_0x26dbf4(0x354)];}catch(_0x33f32d){return this[_0x26dbf4(0x2d3)]['error'](_0x33f32d),this[_0x26dbf4(0x410)](!0x1);}}[_0xe9a651(0x410)](_0x517036){var _0x1f652b=_0xe9a651;return this[_0x1f652b(0x369)]['createInstance'](le,this[_0x1f652b(0x3d4)],this[_0x1f652b(0x237)],null,[],this[_0x1f652b(0x33c)],_0x517036);}[_0xe9a651(0x2a9)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x3453d1=_0xe9a651;throw new Error(_0x3453d1(0x40c));}[_0xe9a651(0x20d)](){return this;}[_0xe9a651(0x205)](){var _0x131005=_0xe9a651;return this['_injector']['createInstance'](ue,this[_0x131005(0x3d4)],this['type'],null,[],this[_0x131005(0x33c)]);}[_0xe9a651(0x25d)](){return this;}['resend'](){var _0x4643ef=_0xe9a651;throw new Error(_0x4643ef(0x321));}[_0xe9a651(0x3c7)](){var _0x385cfe=_0xe9a651;const _0x43752e=this['_revisionService'][_0x385cfe(0x38f)](this[_0x385cfe(0x3d4)]);return this[_0x385cfe(0x33c)][_0x385cfe(0x3f9)]({'from':_0x43752e,'to':0x0}),this[_0x385cfe(0x369)]['createInstance'](Q,this[_0x385cfe(0x3d4)],this['type'],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x5c4cb1(_0x510c33)),P(0x4,_0x5c4cb1(_0x1ad227)),P(0x5,_0x5690ef),P(0x6,_0x806fa4),P(0x7,_0x26ef4e),P(0x8,_0x461f6c),P(0x9,_0xa8e945(J))],ye);let re=class extends Te{constructor(_0x5e581c,_0x22f06b,_0x27dbbd,_0x1b65e4,_0x3c6eb8,_0x346d0f,_0x15e2f5,_0x3bc57c,_0x26a6be,_0xfd51b9,_0x59d0ba,_0x535488,_0x3ab75a,_0x10377f){var _0x3a5ca3=_0xe9a651;super(_0x5e581c,_0x22f06b,null,_0x27dbbd,_0x1b65e4,_0x26a6be,_0x3ab75a,_0x346d0f,_0x10377f),N(this,_0x3a5ca3(0x2d4),'pending'),N(this,_0x3a5ca3(0x204),null),N(this,'_sendingTimer',null),(this[_0x3a5ca3(0x369)]=_0x3c6eb8,this[_0x3a5ca3(0x130)]=_0x15e2f5,this['_logService']=_0x3bc57c,this[_0x3a5ca3(0x292)]=_0xfd51b9,this[_0x3a5ca3(0x27e)]=_0x59d0ba,this[_0x3a5ca3(0x319)]=_0x535488);}[_0xe9a651(0x1e8)](_0x35c47f){var _0x4f4458=_0xe9a651;return this['_pendingMutations'][_0x4f4458(0x20b)](_0x35c47f),this[_0x4f4458(0x399)](),this;}['onRemoteChangeset'](_0xa9c2){var _0x105493=_0xe9a651;if(this[_0x105493(0x26c)](_0xa9c2))return this[_0x105493(0x165)](),this[_0x105493(0x369)][_0x105493(0x35b)](Q,this[_0x105493(0x3d4)],this[_0x105493(0x237)],null,this['_pendingMutations'],null,[_0xa9c2],this[_0x105493(0x33c)]);try{const _0x4e5c46=this[_0x105493(0x27e)][_0x105493(0x2bf)](_0xa9c2,this[_0x105493(0x1b5)]);if(_0x17f177(_0x4e5c46)){const {c1Prime:_0x453e15,m2Prime:_0x1ecac1}=_0x4e5c46;this[_0x105493(0x1f0)](_0x453e15);const _0x417d45=this['_injector'][_0x105493(0x35b)](re,this[_0x105493(0x3d4)],this[_0x105493(0x237)],_0x1ecac1,this[_0x105493(0x33c)]);this[_0x105493(0x165)]();const _0x32b157=new Date()['getTime'](),_0x4b31bb=this[_0x105493(0x204)]?Math[_0x105493(0x24a)](this[_0x105493(0x204)]-_0x32b157,0x0):this[_0x105493(0x419)]();return _0x417d45[_0x105493(0x17d)](_0x4b31bb),_0x417d45;}throw _0x4e5c46[_0x105493(0x354)];}catch(_0x2654a2){return this[_0x105493(0x2d3)][_0x105493(0x354)](_0x2654a2),this[_0x105493(0x410)](!0x1);}}['onRemoteAck'](){var _0xb29587=_0xe9a651;throw new Error(_0xb29587(0x2ea));}[_0xe9a651(0x171)](){var _0x49e8d9=_0xe9a651;throw new Error(_0x49e8d9(0x146));}[_0xe9a651(0x20d)](){return this;}['toggleOffline'](){var _0x136bf3=_0xe9a651;return this[_0x136bf3(0x165)](),this[_0x136bf3(0x369)][_0x136bf3(0x35b)](ue,this[_0x136bf3(0x3d4)],this[_0x136bf3(0x237)],null,this[_0x136bf3(0x1b5)],this['_handler']);}[_0xe9a651(0x25d)](){return this;}[_0xe9a651(0x17d)](_0x27e4d6){var _0x722191=_0xe9a651;const _0x492b3e=_0x27e4d6!=null?_0x27e4d6:this['_getSendChangesetTimeout']();this[_0x722191(0x204)]=new Date()[_0x722191(0x327)]()+_0x492b3e,this[_0x722191(0x147)]=setTimeout(()=>{var _0x19b5fe=_0x722191;this[_0x19b5fe(0x165)]();let _0x1bafaa=null;switch(this['type']){case Z[_0x19b5fe(0x277)]:{_0x1bafaa=Wt(this[_0x19b5fe(0x1b5)],this[_0x19b5fe(0x3d4)],this[_0x19b5fe(0x319)],this[_0x19b5fe(0x1c9)],this['_memberService']);break;}case Z[_0x19b5fe(0x1cc)]:{this['_pendingMutations'][_0x19b5fe(0x3f0)](_0x6cc7c0=>_0x6cc7c0['id']===_0x32e028['id'])?_0x1bafaa=zs(this[_0x19b5fe(0x1b5)],this[_0x19b5fe(0x3d4)],this[_0x19b5fe(0x319)],this[_0x19b5fe(0x1c9)],this[_0x19b5fe(0x130)]):_0x1bafaa=Wt(this[_0x19b5fe(0x1b5)],this[_0x19b5fe(0x3d4)],this['_univerInstanceService'],this[_0x19b5fe(0x1c9)],this[_0x19b5fe(0x130)]);break;}default:throw new Error(_0x19b5fe(0x3e5)+this['type']+_0x19b5fe(0x170));}const {changeset:_0x80ab1c,pendingMutations:_0x38e794}=_0x1bafaa;this[_0x19b5fe(0x33c)][_0x19b5fe(0x233)](_0x80ab1c);const _0x5e8b86=_0x38e794[_0x19b5fe(0x340)]?this[_0x19b5fe(0x369)][_0x19b5fe(0x35b)](ae,this[_0x19b5fe(0x3d4)],this['type'],_0x80ab1c,_0x38e794,this['_handler'],void 0x0):this['_injector']['createInstance'](_e,this[_0x19b5fe(0x3d4)],this[_0x19b5fe(0x237)],_0x80ab1c,this[_0x19b5fe(0x33c)]);_0x5e8b86[_0x19b5fe(0x399)](),this[_0x19b5fe(0x33c)][_0x19b5fe(0x22c)](this,_0x5e8b86);},_0x492b3e);}['_getSendChangesetTimeout'](){var _0x5e419a=_0xe9a651,_0x32e47f;const _0x194d31=this[_0x5e419a(0x292)][_0x5e419a(0x33b)](K);return(_0x32e47f=_0x194d31==null?void 0x0:_0x194d31[_0x5e419a(0x1b6)])!=null?_0x32e47f:ms;}[_0xe9a651(0x3cd)](){var _0x25b98a=_0xe9a651;throw new Error(_0x25b98a(0x1a7));}[_0xe9a651(0x165)](){var _0x478ede=_0xe9a651;this[_0x478ede(0x147)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0xe9a651(0x410)](_0x18df54){var _0x4973d8=_0xe9a651;return this[_0x4973d8(0x165)](),this[_0x4973d8(0x369)][_0x4973d8(0x35b)](le,this['unitID'],this[_0x4973d8(0x237)],null,this[_0x4973d8(0x1b5)],this[_0x4973d8(0x33c)],_0x18df54);}};re=Ie([P(0x4,_0x5c4cb1(_0x1ad227)),P(0x5,_0x5c4cb1(_0x510c33)),P(0x6,_0x5c4cb1(Pe)),P(0x7,_0x26ef4e),P(0x8,_0x806fa4),P(0x9,_0x17539a),P(0xa,_0x461f6c),P(0xb,_0x10c3c4),P(0xc,_0x5690ef),P(0xd,_0xa8e945(J))],re);let _e=class extends Te{constructor(_0x8c5161,_0x369ef0,_0xe9aa07,_0x14f39c,_0xfc8915,_0xf57c5b,_0x5ece4e,_0x2003fa,_0x57ab37,_0x3b04b5,_0x34a0b9){var _0x33489c=_0xe9a651;super(_0x8c5161,_0x369ef0,_0xe9aa07,[],_0x14f39c,_0x5ece4e,_0x3b04b5,_0xf57c5b,_0x34a0b9),N(this,_0x33489c(0x2d4),_0x33489c(0x3a4)),N(this,_0x33489c(0x39e),0x0),N(this,_0x33489c(0x33f)),N(this,_0x33489c(0x3de)),(this[_0x33489c(0x369)]=_0xfc8915,this[_0x33489c(0x2d3)]=_0x2003fa,this['_transformService']=_0x57ab37);}[_0xe9a651(0x1e8)](_0x2e1b32){var _0x3d85a2=_0xe9a651;this[_0x3d85a2(0x165)]();const _0x1b9cea=this[_0x3d85a2(0x369)]['createInstance'](ae,this[_0x3d85a2(0x3d4)],this[_0x3d85a2(0x237)],this['_awaitingChangeset'],[_0x2e1b32],this[_0x3d85a2(0x33c)],this[_0x3d85a2(0x33f)]);return _0x1b9cea[_0x3d85a2(0x399)](),_0x1b9cea;}[_0xe9a651(0x2a3)](_0x1419bf){var _0x2ec0b8=_0xe9a651;if(this[_0x2ec0b8(0x26c)](_0x1419bf))return this[_0x2ec0b8(0x165)](),this[_0x2ec0b8(0x369)]['createInstance'](Q,this['unitID'],this[_0x2ec0b8(0x237)],this[_0x2ec0b8(0x150)],[],null,[_0x1419bf],this[_0x2ec0b8(0x33c)]);try{const _0x1d0bf9=this[_0x2ec0b8(0x27e)]['transformChangesets']([_0x1419bf],[this[_0x2ec0b8(0x150)]],!0x1);if(_0x3f2957(_0x1d0bf9)){const {c1Prime:_0x2c11d3,c2Prime:_0x678528}=_0x1d0bf9;this[_0x2ec0b8(0x1f0)](_0x2c11d3[0x0]),_0x678528[0x0][_0x2ec0b8(0x42c)]=this['_getCurrentRevision'](),this[_0x2ec0b8(0x165)]();const _0x3ce22c=this[_0x2ec0b8(0x369)][_0x2ec0b8(0x35b)](_e,this['unitID'],this[_0x2ec0b8(0x237)],_0x678528[0x0],this['_handler']);return _0x3ce22c['_updateLocalCache'](),_0x3ce22c;}return this[_0x2ec0b8(0x410)](!0x1);}catch(_0x48c978){return this[_0x2ec0b8(0x2d3)][_0x2ec0b8(0x354)](_0x48c978),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x57adec){var _0x4f8dec=_0xe9a651;this['_clearScheduledTask']();const _0x40df7f=this[_0x4f8dec(0x1c9)]['getCurrentRevOfUnit'](this['unitID']);if(_0x57adec[_0x4f8dec(0x2c9)]<_0x40df7f-0x1)return this;if(this[_0x4f8dec(0x26c)](_0x57adec))return this['_injector'][_0x4f8dec(0x35b)](Q,this[_0x4f8dec(0x3d4)],this[_0x4f8dec(0x237)],null,[],this[_0x4f8dec(0x150)],[],this[_0x4f8dec(0x33c)]);this[_0x4f8dec(0x28c)]();const _0x95df25=this[_0x4f8dec(0x369)][_0x4f8dec(0x35b)](ye,this[_0x4f8dec(0x3d4)],this[_0x4f8dec(0x237)],this[_0x4f8dec(0x33c)]);return _0x95df25[_0x4f8dec(0x399)](),_0x95df25;}[_0xe9a651(0x171)](_0x3be1cd){var _0x1a15e8=_0xe9a651;return this['_onConflict'](!!(_0x3be1cd!=null&&_0x3be1cd[_0x1a15e8(0x1a5)]));}[_0xe9a651(0x20d)](_0x41ef67){var _0x4fd4ac=_0xe9a651;return this[_0x4fd4ac(0x39e)]>Ci?this['toggleOffline']():(this[_0x4fd4ac(0x33f)]=Ii(this['_resendTimeout'],{'timeout':this[_0x4fd4ac(0x39e)],'reqId':_0x41ef67[_0x4fd4ac(0x33e)]}),this['_sender']=this['_resendTimer'][_0x4fd4ac(0x31b)](({reqId:_0x30053e,timeout:_0x17f9e1})=>{var _0x546124=_0x4fd4ac;this[_0x546124(0x3b8)](_0x30053e,_0x17f9e1);}),this);}[_0xe9a651(0x205)](){var _0x360dc9=_0xe9a651;return this[_0x360dc9(0x165)](),this[_0x360dc9(0x369)][_0x360dc9(0x35b)](ue,this[_0x360dc9(0x3d4)],this[_0x360dc9(0x237)],this[_0x360dc9(0x150)],[],this[_0x360dc9(0x33c)]);}[_0xe9a651(0x25d)](){return this;}[_0xe9a651(0x3cd)](){var _0x4212ed=_0xe9a651;this[_0x4212ed(0x33c)][_0x4212ed(0x233)](this[_0x4212ed(0x150)]);}[_0xe9a651(0x410)](_0x5953c9){var _0x38a148=_0xe9a651;return this[_0x38a148(0x165)](),this[_0x38a148(0x369)][_0x38a148(0x35b)](le,this[_0x38a148(0x3d4)],this[_0x38a148(0x237)],this['_awaitingChangeset'],[],this[_0x38a148(0x33c)],_0x5953c9);}[_0xe9a651(0x3b8)](_0x3f1b95,_0x3810e6){var _0x206777=_0xe9a651,_0xe0578e;_0x3f1b95===((_0xe0578e=this['_awaitingChangeset'])==null?void 0x0:_0xe0578e[_0x206777(0x33e)])&&(this[_0x206777(0x3cd)](),this[_0x206777(0x39e)]=_0x3810e6===0x0?0x3e8:_0x3810e6*0x2);}[_0xe9a651(0x165)](){var _0x25631f=_0xe9a651,_0x115c9f;(_0x115c9f=this[_0x25631f(0x3de)])==null||_0x115c9f[_0x25631f(0x188)](),this[_0x25631f(0x39e)]=0x0;}};_e=Ie([P(0x4,_0x5c4cb1(_0x1ad227)),P(0x5,_0x5c4cb1(_0x510c33)),P(0x6,_0x806fa4),P(0x7,_0x26ef4e),P(0x8,_0x461f6c),P(0x9,_0x5690ef),P(0xa,_0xa8e945(J))],_e);let ae=class extends Te{constructor(_0x3922ca,_0x494c73,_0x5eb40b,_0x34b746,_0xfb0dd2,_0x517909,_0x2967b5,_0x370e86,_0x1bd8fb,_0x1487b3,_0x5b9887,_0x2cf95d,_0x320f79){var _0x39e6c1=_0xe9a651;super(_0x3922ca,_0x494c73,_0x5eb40b,_0x34b746,_0xfb0dd2,_0x1bd8fb,_0x2cf95d,_0x370e86,_0x320f79),N(this,_0x39e6c1(0x2d4),_0x39e6c1(0x3ed)),N(this,_0x39e6c1(0x39e),0x0),N(this,'_resendTimer'),N(this,_0x39e6c1(0x3de)),(this[_0x39e6c1(0x369)]=_0x2967b5,this['_logService']=_0x1487b3,this['_transformService']=_0x5b9887,this[_0x39e6c1(0x325)]=_0x320f79,_0x517909&&(this[_0x39e6c1(0x33f)]=_0x517909,this['_sender']=this[_0x39e6c1(0x33f)]['subscribe'](({reqId:_0x3f3db8,timeout:_0x1121e7})=>{var _0x2df415=_0x39e6c1;this[_0x2df415(0x3b8)](_0x3f3db8,_0x1121e7);})));}['appendMutation'](_0x175c39){var _0x3bbcb0=_0xe9a651;return this[_0x3bbcb0(0x1b5)][_0x3bbcb0(0x20b)](_0x175c39),this;}['onRemoteChangeset'](_0x1c2167){var _0x21b54d=_0xe9a651;if(this[_0x21b54d(0x26c)](_0x1c2167))return this[_0x21b54d(0x165)](),this[_0x21b54d(0x369)][_0x21b54d(0x35b)](Q,this[_0x21b54d(0x3d4)],this[_0x21b54d(0x237)],this['_awaitingChangeset'],this[_0x21b54d(0x1b5)],null,[_0x1c2167],this[_0x21b54d(0x33c)]);try{const _0x263b0c=this[_0x21b54d(0x27e)][_0x21b54d(0x129)]([_0x1c2167],[this[_0x21b54d(0x150)]],!0x1);if(_0x3f2957(_0x263b0c)){const {c1Prime:_0x603ba5,c2Prime:_0x5c9a7c}=_0x263b0c,_0x4dba5e=this[_0x21b54d(0x27e)]['transformMutationsWithChangeset'](_0x603ba5[0x0],this[_0x21b54d(0x1b5)]);if(_0x17f177(_0x4dba5e)){const {c1Prime:_0x25a414,m2Prime:_0x5c2003}=_0x4dba5e;return this['_executeRemoteChangeset'](_0x25a414),_0x5c9a7c[0x0][_0x21b54d(0x42c)]=this[_0x21b54d(0x2f9)](),this[_0x21b54d(0x165)](),this[_0x21b54d(0x369)][_0x21b54d(0x35b)](ae,this[_0x21b54d(0x3d4)],this[_0x21b54d(0x237)],_0x5c9a7c[0x0],_0x5c2003,this[_0x21b54d(0x33c)],void 0x0);}throw _0x4dba5e[_0x21b54d(0x354)];}throw _0x263b0c[_0x21b54d(0x354)];}catch(_0x478522){return this['_logService'][_0x21b54d(0x354)](_0x478522),this[_0x21b54d(0x410)](!0x1);}}[_0xe9a651(0x2a9)](_0x3e523d){var _0x587700=_0xe9a651;if(this[_0x587700(0x165)](),this[_0x587700(0x26c)](_0x3e523d))return this[_0x587700(0x369)][_0x587700(0x35b)](Q,this[_0x587700(0x3d4)],this['type'],null,this[_0x587700(0x1b5)],this[_0x587700(0x150)],[],this[_0x587700(0x33c)]);this['_incrementRevisionNumber']();const _0x4a50b5=this[_0x587700(0x369)][_0x587700(0x35b)](re,this[_0x587700(0x3d4)],this[_0x587700(0x237)],this['_pendingMutations'],this[_0x587700(0x33c)]);return _0x4a50b5[_0x587700(0x17d)](),_0x4a50b5[_0x587700(0x399)](),_0x4a50b5;}[_0xe9a651(0x171)](_0x8ca649){var _0x1656d4=_0xe9a651;return this[_0x1656d4(0x410)](!!(_0x8ca649!=null&&_0x8ca649[_0x1656d4(0x1a5)]));}[_0xe9a651(0x20d)](_0x1b7ae6){var _0x4308b5=_0xe9a651;return this['_resendTimeout']>Ci?this[_0x4308b5(0x205)]():(this[_0x4308b5(0x33f)]=Ii(this[_0x4308b5(0x39e)],{'timeout':this[_0x4308b5(0x39e)],'reqId':_0x1b7ae6['reqId']}),this[_0x4308b5(0x3de)]=this['_resendTimer'][_0x4308b5(0x31b)](({reqId:_0x2f0e23,timeout:_0x1482c1})=>{var _0xdbe6c9=_0x4308b5;this[_0xdbe6c9(0x3b8)](_0x2f0e23,_0x1482c1);}),this);}[_0xe9a651(0x205)](){var _0x465abf=_0xe9a651;return this['_clearScheduledTask'](),this[_0x465abf(0x369)][_0x465abf(0x35b)](ue,this[_0x465abf(0x3d4)],this[_0x465abf(0x237)],this[_0x465abf(0x150)],this[_0x465abf(0x1b5)],this[_0x465abf(0x33c)]);}[_0xe9a651(0x25d)](){return this;}[_0xe9a651(0x3cd)](){var _0xe7d756=_0xe9a651;this[_0xe7d756(0x33c)][_0xe7d756(0x233)](this[_0xe7d756(0x150)]);}[_0xe9a651(0x410)](_0xa7cacc){var _0x1ec07f=_0xe9a651;return this[_0x1ec07f(0x165)](),this[_0x1ec07f(0x369)][_0x1ec07f(0x35b)](le,this[_0x1ec07f(0x3d4)],this[_0x1ec07f(0x237)],null,this[_0x1ec07f(0x1b5)],this[_0x1ec07f(0x33c)],_0xa7cacc);}[_0xe9a651(0x3b8)](_0x2fb4c8,_0x31ff39){var _0x4febe6=_0xe9a651,_0x2844d9;_0x2fb4c8===((_0x2844d9=this[_0x4febe6(0x150)])==null?void 0x0:_0x2844d9[_0x4febe6(0x33e)])&&(this[_0x4febe6(0x3cd)](),this[_0x4febe6(0x39e)]=_0x31ff39===0x0?0x3e8:_0x31ff39*0x2);}[_0xe9a651(0x165)](){var _0x4cea29=_0xe9a651,_0x4cbc24;(_0x4cbc24=this[_0x4cea29(0x3de)])==null||_0x4cbc24['unsubscribe'](),this[_0x4cea29(0x39e)]=0x0;}};ae=Ie([P(0x6,_0x5c4cb1(_0x1ad227)),P(0x7,_0x5c4cb1(_0x510c33)),P(0x8,_0x806fa4),P(0x9,_0x26ef4e),P(0xa,_0x461f6c),P(0xb,_0x5690ef),P(0xc,_0xa8e945(J))],ae);let le=class extends Te{constructor(_0x360428,_0x1c46fe,_0xaaac96,_0x1e69cb,_0x14b2c2,_0x29c539=!0x1,_0x179b20,_0x154338,_0x4eb0fb,_0x4fb297,_0x1248c4,_0x1cef7d,_0x13638d){var _0x580984=_0xe9a651;super(_0x360428,_0x1c46fe,_0xaaac96,_0x1e69cb,_0x14b2c2,_0x154338,_0x4eb0fb,_0x4fb297,_0x13638d),N(this,_0x580984(0x2d4),_0x580984(0x242)),(this[_0x580984(0x429)]=_0x29c539,this['_permissionService']=_0x179b20,this['_localeService']=_0x1248c4,this[_0x580984(0x1fd)]=_0x1cef7d,this['localCacheService']=_0x13638d,this[_0x580984(0x366)](),this[_0x580984(0x42d)](),this[_0x580984(0x243)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0xe9a651(0x2a9)](){return this;}[_0xe9a651(0x171)](){return this;}[_0xe9a651(0x20d)](){return this;}[_0xe9a651(0x205)](){return this;}['toggleOnline'](){return this;}[_0xe9a651(0x3cd)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe9a651(0x42d)](){var _0xbcd69e=_0xe9a651,_0x5cb870;(_0x5cb870=this[_0xbcd69e(0x385)])==null||_0x5cb870['updateOfflineData'](this[_0xbcd69e(0x3d4)],this[_0xbcd69e(0x237)],null,[]);}[_0xe9a651(0x366)](){var _0x88a86d=_0xe9a651;this[_0x88a86d(0x429)]?this['_collaborationUIEventService'][_0x88a86d(0x417)]({'id':ne[_0x88a86d(0x271)]}):this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x88a86d(0x306)]});}['_disableEditing'](){var _0x33136f=_0xe9a651;this['_permissionService'][_0x33136f(0x1a3)](new _0x5b91af(this[_0x33136f(0x3d4)])['id'],!0x1);}};le=Ie([P(0x6,_0x5c4cb1(_0x546b61)),P(0x7,_0x806fa4),P(0x8,_0x5690ef),P(0x9,_0x5c4cb1(_0x510c33)),P(0xa,_0x5c4cb1(_0x25bf21)),P(0xb,_0x5c4cb1(ve)),P(0xc,_0xa8e945(J))],le);let ue=class extends Te{constructor(_0x2af750,_0x10fef9,_0x2ca1b2,_0x1137d8,_0x524d79,_0x5b6528,_0x307b55,_0x2f01e4,_0x559113,_0x2e3803){var _0x1dd880=_0xe9a651;super(_0x2af750,_0x10fef9,_0x2ca1b2,_0x1137d8,_0x524d79,_0x2f01e4,_0x559113,_0x307b55,_0x2e3803),N(this,'status',_0x1dd880(0x2b7)),this['_injector']=_0x5b6528;}[_0xe9a651(0x1e8)](_0x138856){var _0x246861=_0xe9a651;return this['_pendingMutations'][_0x246861(0x20b)](_0x138856),this[_0x246861(0x399)](),this;}['onRemoteChangeset'](_0x11eda9){var _0x43e144=_0xe9a651;throw new Error(_0x43e144(0x295));}[_0xe9a651(0x2a9)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xe9a651(0x171)](){var _0x5b6d9f=_0xe9a651;throw new Error(_0x5b6d9f(0x18c));}['onRemoteRetry'](){return this;}[_0xe9a651(0x205)](){return this;}[_0xe9a651(0x25d)](){var _0x1be678=_0xe9a651;const {_injector:_0x48d152,_pendingMutations:_0x1b7ac3,_awaitingChangeset:_0x371e43,unitID:_0x1b52b9,_handler:_0x54eb4d,type:_0x1fff35}=this,_0x2b9cdb=Ri(_0x48d152,_0x1b52b9,_0x1fff35,_0x371e43,_0x1b7ac3,_0x54eb4d);return _0x2b9cdb instanceof re?_0x2b9cdb[_0x1be678(0x17d)]():(_0x2b9cdb instanceof ae||_0x2b9cdb instanceof _e)&&_0x2b9cdb[_0x1be678(0x3cd)](),_0x2b9cdb;}[_0xe9a651(0x3cd)](){var _0x40cdca=_0xe9a651;throw new Error(_0x40cdca(0x3c4));}};ue=Ie([P(0x5,_0x5c4cb1(_0x1ad227)),P(0x6,_0x5c4cb1(_0x510c33)),P(0x7,_0x806fa4),P(0x8,_0x5690ef),P(0x9,_0xa8e945(J))],ue);let Q=class extends Te{constructor(_0x5b74a1,_0x8782dc,_0xba282a,_0x592b05,_0x8a1089,_0x1f70c0,_0x11053b,_0x2fb1f3,_0x571e32,_0x2eddcd,_0x1fe6e8,_0x3d1069,_0x339ede,_0x52ce42){var _0x540e05=_0xe9a651;super(_0x5b74a1,_0x8782dc,_0xba282a,_0x592b05,_0x11053b,_0x1fe6e8,_0x3d1069,_0x571e32,_0x52ce42),N(this,_0x540e05(0x2d4),'fetch_missing'),(this[_0x540e05(0x356)]=_0x8a1089,this[_0x540e05(0x378)]=_0x1f70c0,this[_0x540e05(0x369)]=_0x2fb1f3,this[_0x540e05(0x2d3)]=_0x2eddcd,this[_0x540e05(0x27e)]=_0x339ede,this[_0x540e05(0x325)]=_0x52ce42);}['onMissedChangesetFetched'](_0x60d2b){var _0x59ad12=_0xe9a651;try{const _0x444a2f=[..._0x60d2b,...this[_0x59ad12(0x378)]],_0x391c6d=[this[_0x59ad12(0x150)]||this[_0x59ad12(0x356)]][_0x59ad12(0x1bc)](_0x40e77d=>!!_0x40e77d);let _0x57b903,_0x157ce4;if(_0x391c6d['length']){const _0x52fdaa=this[_0x59ad12(0x27e)]['transformChangesets'](_0x444a2f,_0x391c6d,!0x1);if(!_0x3f2957(_0x52fdaa))throw _0x52fdaa[_0x59ad12(0x354)];_0x57b903=_0x52fdaa[_0x59ad12(0x1a6)],_0x157ce4=_0x52fdaa['c2Prime'];}else _0x57b903=_0x444a2f,_0x157ce4=[];let _0x48def8=this[_0x59ad12(0x1b5)];_0x57b903[_0x59ad12(0x40e)](_0x3afe36=>{var _0x233d15=_0x59ad12;let _0xbbb8f2;if(_0x48def8[_0x233d15(0x340)]){const _0x17d46b=this['_transformService']['transformMutationsWithChangeset'](_0x3afe36,_0x48def8);if(!_0x17f177(_0x17d46b))throw _0x17d46b['error'];_0xbbb8f2=_0x17d46b[_0x233d15(0x1a6)],_0x48def8=_0x17d46b[_0x233d15(0x229)];}else _0xbbb8f2=_0x3afe36;this[_0x233d15(0x1f0)](_0xbbb8f2);}),this[_0x59ad12(0x356)]&&this[_0x59ad12(0x28c)](),this[_0x59ad12(0x150)]&&_0x157ce4[_0x59ad12(0x340)]&&(_0x157ce4[0x0]['baseRev']=this[_0x59ad12(0x2f9)]());let _0xad9815;if(this[_0x59ad12(0x150)]&&_0x48def8[_0x59ad12(0x340)]!==0x0)_0xad9815=this[_0x59ad12(0x369)][_0x59ad12(0x35b)](ae,this['unitID'],this[_0x59ad12(0x237)],_0x157ce4[0x0],_0x48def8,this[_0x59ad12(0x33c)],void 0x0);else{if(this[_0x59ad12(0x150)]&&_0x48def8[_0x59ad12(0x340)]===0x0)_0x157ce4[0x0][_0x59ad12(0x42c)]=this[_0x59ad12(0x2f9)](),_0xad9815=this[_0x59ad12(0x369)]['createInstance'](_e,this['unitID'],this[_0x59ad12(0x237)],_0x157ce4[0x0],this['_handler']);else{if(_0x48def8[_0x59ad12(0x340)]!==0x0){const _0x39624a=this['_injector'][_0x59ad12(0x35b)](re,this[_0x59ad12(0x3d4)],this[_0x59ad12(0x237)],_0x48def8,this[_0x59ad12(0x33c)]);_0x39624a['_schedule'](),_0xad9815=_0x39624a;}else _0xad9815=this[_0x59ad12(0x369)]['createInstance'](ye,this[_0x59ad12(0x3d4)],this[_0x59ad12(0x237)],this[_0x59ad12(0x33c)]);}}return _0xad9815[_0x59ad12(0x399)](),_0xad9815;}catch(_0x453005){return this[_0x59ad12(0x2d3)][_0x59ad12(0x354)]('[FetchMissState]',_0x59ad12(0x3a0),_0x453005),this[_0x59ad12(0x369)][_0x59ad12(0x35b)](le,this[_0x59ad12(0x3d4)],this[_0x59ad12(0x237)],this[_0x59ad12(0x150)],this[_0x59ad12(0x1b5)],this['_handler'],!0x1);}}[_0xe9a651(0x3cd)](){var _0x5455f7=_0xe9a651;throw new Error(_0x5455f7(0x20c));}[_0xe9a651(0x1e8)](_0x1afe12){var _0x5cd4e9=_0xe9a651;return this[_0x5cd4e9(0x1b5)][_0x5cd4e9(0x20b)](_0x1afe12),this;}[_0xe9a651(0x2a3)](_0xd321b1){var _0x2a56a7=_0xe9a651;return this[_0x2a56a7(0x378)][_0x2a56a7(0x20b)](_0xd321b1),this;}[_0xe9a651(0x2a9)](_0x11962e){var _0x12b752=_0xe9a651;if(this[_0x12b752(0x150)])return this[_0x12b752(0x356)]=this[_0x12b752(0x150)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0xe9a651(0x171)](_0xac502b){var _0x3685ea=_0xe9a651;return this[_0x3685ea(0x410)](!!(_0xac502b!=null&&_0xac502b[_0x3685ea(0x1a5)]));}[_0xe9a651(0x20d)](){return this;}[_0xe9a651(0x205)](){var _0x231cdc=_0xe9a651;return this[_0x231cdc(0x369)][_0x231cdc(0x35b)](ue,this[_0x231cdc(0x3d4)],this['type'],this[_0x231cdc(0x150)],this['_pendingMutations'],this[_0x231cdc(0x33c)]);}['toggleOnline'](){return this;}[_0xe9a651(0x410)](_0x1d31ae){var _0x2a8a12=_0xe9a651;return this[_0x2a8a12(0x369)][_0x2a8a12(0x35b)](le,this[_0x2a8a12(0x3d4)],this[_0x2a8a12(0x237)],this[_0x2a8a12(0x150)],this[_0x2a8a12(0x1b5)],this[_0x2a8a12(0x33c)],_0x1d31ae);}};Q=Ie([P(0x7,_0x5c4cb1(_0x1ad227)),P(0x8,_0x5c4cb1(_0x510c33)),P(0x9,_0x26ef4e),P(0xa,_0x806fa4),P(0xb,_0x5690ef),P(0xc,_0x461f6c),P(0xd,_0xa8e945(J))],Q);function Ri(_0x25c034,_0x47136a,_0x5967d3,_0x283a18,_0x5e7d04,_0x7ae0f2){var _0x1dcea5=_0xe9a651;return _0x283a18&&_0x5e7d04['length']?_0x25c034[_0x1dcea5(0x35b)](ae,_0x47136a,_0x5967d3,_0x283a18,_0x5e7d04,_0x7ae0f2,void 0x0):_0x283a18?_0x25c034['createInstance'](_e,_0x47136a,_0x5967d3,_0x283a18,_0x7ae0f2):_0x5e7d04[_0x1dcea5(0x340)]?_0x25c034[_0x1dcea5(0x35b)](re,_0x47136a,_0x5967d3,_0x5e7d04,_0x7ae0f2):_0x25c034[_0x1dcea5(0x35b)](ye,_0x47136a,_0x5967d3,_0x7ae0f2);}var Zs=Object[_0xe9a651(0x2ae)],wt=(_0x2b64c3,_0x56ec3d,_0x544796,_0x54e995)=>{var _0x26b0c4=_0xe9a651;for(var _0x24b140=_0x54e995>0x1?void 0x0:_0x54e995?Zs(_0x56ec3d,_0x544796):_0x56ec3d,_0x2d9bdb=_0x2b64c3[_0x26b0c4(0x340)]-0x1,_0x38a7dd;_0x2d9bdb>=0x0;_0x2d9bdb--)(_0x38a7dd=_0x2b64c3[_0x2d9bdb])&&(_0x24b140=_0x38a7dd(_0x24b140)||_0x24b140);return _0x24b140;},H=(_0x3d2201,_0x43b942)=>(_0x4ee7ee,_0x19c080)=>_0x43b942(_0x4ee7ee,_0x19c080,_0x3d2201);let st=class extends _0x12efa6{constructor(_0xb7d35b,_0x4bffb2,_0x3100bf,_0x2d092c,_0x30a080,_0x4a5adc,_0x1e94b9,_0x73e36c,_0x297807,_0x5ed3e6,_0x4c51a9,_0x3688f2,_0x3e9e58){var _0x3d7d3f=_0xe9a651;super(),N(this,_0x3d7d3f(0x40f),new _0xbb4734(null)),N(this,_0x3d7d3f(0x180),this[_0x3d7d3f(0x40f)]['asObservable']()),N(this,_0x3d7d3f(0x3fc)),N(this,_0x3d7d3f(0x38b),!0x1),N(this,_0x3d7d3f(0x261),''),N(this,_0x3d7d3f(0x262),0x0),N(this,_0x3d7d3f(0x3c6),this[_0x3d7d3f(0x180)][_0x3d7d3f(0x3f1)](_0x1f06ee(_0x19daa7=>_0x19daa7?_0x19daa7['status']:Ti[_0x3d7d3f(0x1e9)]),_0x4a8ab6(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x3d7d3f(0x339),[]),(this[_0x3d7d3f(0x3d4)]=_0xb7d35b,this['session']=_0x4bffb2,this[_0x3d7d3f(0x206)]=_0x3100bf,this[_0x3d7d3f(0x369)]=_0x2d092c,this['_compressMutationService']=_0x30a080,this['_localeService']=_0x4a5adc,this[_0x3d7d3f(0x1c9)]=_0x1e94b9,this['_eventService']=_0x73e36c,this[_0x3d7d3f(0x2d3)]=_0x297807,this[_0x3d7d3f(0x21f)]=_0x5ed3e6,this[_0x3d7d3f(0x3aa)]=_0x4c51a9,this[_0x3d7d3f(0x3ea)]=_0x3688f2,this[_0x3d7d3f(0x385)]=_0x3e9e58);}get['state'](){var _0x2710a1=_0xe9a651;return this[_0x2710a1(0x3fc)];}async['init'](){var _0x5f4a94=_0xe9a651;if(this[_0x5f4a94(0x1c6)])throw new Error(_0x5f4a94(0x256));await this[_0x5f4a94(0x22b)]();}[_0xe9a651(0x244)](){var _0x50c9bd=_0xe9a651;return this[_0x50c9bd(0x38b)]=!0x0,_0x1c8f3d(()=>{var _0x4455a9=_0x50c9bd;this[_0x4455a9(0x38b)]=!0x1,this[_0x4455a9(0x284)]();});}[_0xe9a651(0x392)](_0x4e292c){var _0x507b37=_0xe9a651;this[_0x507b37(0x228)](_0x4e292c);}[_0xe9a651(0x190)](_0x3991bb){var _0x2c8ffe=_0xe9a651;this[_0x2c8ffe(0x3fc)]=_0x3991bb,this[_0x2c8ffe(0x40f)][_0x2c8ffe(0x22e)](_0x3991bb);}async['_init'](){var _0x4dab96=_0xe9a651,_0x2d3542;this[_0x4dab96(0x190)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x2d3542=this[_0x4dab96(0x3ea)])==null||_0x2d3542[_0x4dab96(0x286)](this[_0x4dab96(0x3d4)]),this[_0x4dab96(0x2c4)](this[_0x4dab96(0x3ea)]['getUnitStatus$'](this[_0x4dab96(0x3d4)])['subscribe'](_0xa335c0=>{var _0x3f1a02=_0x4dab96;this[_0x3f1a02(0x2d3)][_0x3f1a02(0x263)]('[CollaborationEntity]',_0x3f1a02(0x1e7),_0xa335c0),_0xa335c0===Ei[_0x3f1a02(0x3f3)]?(this[_0x3f1a02(0x368)][_0x3f1a02(0x417)]({'id':ne[_0x3f1a02(0x2b8)]}),this[_0x3f1a02(0x3aa)][_0x3f1a02(0x1a3)](new _0x5b91af(this[_0x3f1a02(0x3d4)])['id'],!0x1),this[_0x3f1a02(0x3aa)]['setShowComponents'](!0x1)):(this[_0x3f1a02(0x3aa)][_0x3f1a02(0x1a3)](new _0x5b91af(this[_0x3f1a02(0x3d4)])['id'],!0x0),this[_0x3f1a02(0x3aa)][_0x3f1a02(0x403)](!0x0));})));let _0x5dca80=!0x1;return this['disposeWithMe'](this['session']['sessionStatus$']['subscribe'](_0x30c7d1=>{var _0x31bfb9=_0x4dab96;_0x30c7d1===Se[_0x31bfb9(0x2e3)]?this['_toggleOnline'](_0x5dca80):_0x30c7d1===Se['OFFLINE']&&(_0x5dca80=!0x0,this[_0x31bfb9(0x136)]());})),this[_0x4dab96(0x2c4)](this['session'][_0x4dab96(0x142)][_0x4dab96(0x31b)](_0x40f7ee=>{var _0x1d6be7=_0x4dab96;try{switch(_0x40f7ee['eventID']){case _0x490579[_0x1d6be7(0x31f)]:{this[_0x1d6be7(0x1dd)](_0x344ce5(_0x40f7ee[_0x1d6be7(0x338)]));break;}case _0x490579['CHANGESET_ACK']:{this['_onRemoteACK'](_0x40f7ee['data']);break;}case _0x490579[_0x1d6be7(0x1ee)]:{this[_0x1d6be7(0x406)]();break;}case _0x490579['CHANGESET_SHOULD_RETRY']:{this[_0x1d6be7(0x3ae)](_0x40f7ee[_0x1d6be7(0x338)]);break;}case _0x490579[_0x1d6be7(0x1ef)]:{this[_0x1d6be7(0x328)](_0x40f7ee[_0x1d6be7(0x338)]['changesets'][_0x1d6be7(0x145)](_0x91c8=>_0x344ce5(_0x91c8)));break;}case _0x490579[_0x1d6be7(0x351)]:{this[_0x1d6be7(0x406)]({'isPermissionRej':!0x0});break;}case _0x490579[_0x1d6be7(0x196)]:break;}}catch(_0x3632bb){throw console[_0x1d6be7(0x354)]('Error\x20on\x20receiving\x20event',_0x3632bb),_0x3632bb;}})),this[_0x4dab96(0x3fc)];}[_0xe9a651(0x2f5)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x565dca=_0xe9a651;if(this['_transitionLocked'])throw new Error(_0x565dca(0x413));this[_0x565dca(0x1e0)]=!0x0;}[_0xe9a651(0x228)](_0x217f7a){var _0x7aef19=_0xe9a651;this['_lockTransition'](),this[_0x7aef19(0x190)](this[_0x7aef19(0x3fc)][_0x7aef19(0x1e8)](_0x217f7a)),this[_0x7aef19(0x2f5)]();}[_0xe9a651(0x1dd)](_0x12dd6c){var _0x50c289=_0xe9a651;if(!(_0x12dd6c[_0x50c289(0x2c9)]<=this['_revisionService'][_0x50c289(0x38f)](this[_0x50c289(0x3d4)]))){if(this[_0x50c289(0x38b)]){this[_0x50c289(0x339)][_0x50c289(0x20b)](_0x12dd6c);return;}this['_applyRemoteChangeset'](_0x12dd6c);}}[_0xe9a651(0x284)](){var _0x3720b5=_0xe9a651;this[_0x3720b5(0x339)][_0x3720b5(0x40e)](_0x282b15=>this[_0x3720b5(0x3e9)](_0x282b15)),this[_0x3720b5(0x339)]=[];}[_0xe9a651(0x3e9)](_0x46e1d0){var _0x2adcb8=_0xe9a651;const _0x139123=this['_compressMutationService'][_0x2adcb8(0x2ff)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2adcb8(0x2ff)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x46e1d0[_0x2adcb8(0x155)],null)||_0x46e1d0[_0x2adcb8(0x155)],_0x586519={..._0x46e1d0,'mutations':_0x139123};this[_0x2adcb8(0x418)](),this['_updateState'](this[_0x2adcb8(0x3fc)][_0x2adcb8(0x2a3)](_0x586519)),this['_unlockTransition']();}['_onRemoteACK'](_0xada9fd){var _0x53beed=_0xe9a651;this[_0x53beed(0x418)](),this['_updateState'](this[_0x53beed(0x3fc)][_0x53beed(0x2a9)](_0xada9fd)),this[_0x53beed(0x2f5)]();}[_0xe9a651(0x406)](_0x31038d){var _0x45f5f6=_0xe9a651;this[_0x45f5f6(0x418)](),this[_0x45f5f6(0x190)](this['_state'][_0x45f5f6(0x171)](_0x31038d)),this[_0x45f5f6(0x2f5)]();}[_0xe9a651(0x3ae)](_0x27f3d7){var _0x3177eb=_0xe9a651;this['_lockTransition'](),this[_0x3177eb(0x190)](this[_0x3177eb(0x3fc)][_0x3177eb(0x20d)](_0x27f3d7)),this[_0x3177eb(0x2f5)]();}[_0xe9a651(0x328)](_0x5173fa){var _0x8e726b=_0xe9a651;if(!(this[_0x8e726b(0x3fc)]instanceof Q))throw new TypeError(_0x8e726b(0x26a));const _0x2e77c3=_0x5173fa[_0x8e726b(0x145)](_0x12fc99=>{var _0x82533=_0x8e726b;const _0x2f1a04=this[_0x82533(0x3ab)][_0x82533(0x2ff)]['fetchThroughInterceptors'](this[_0x82533(0x3ab)][_0x82533(0x2ff)][_0x82533(0x37c)]()[_0x82533(0x2ad)])(_0x12fc99[_0x82533(0x155)],null)||_0x12fc99[_0x82533(0x155)];return{..._0x12fc99,'mutations':_0x2f1a04};});this[_0x8e726b(0x418)](),this[_0x8e726b(0x190)](this['_state']['onMissedChangesetFetched'](_0x2e77c3)),this['_unlockTransition']();}[_0xe9a651(0x136)](){var _0xca0c95=_0xe9a651;this['_lockTransition'](),this[_0xca0c95(0x190)](this[_0xca0c95(0x3fc)]['toggleOffline']()),this[_0xca0c95(0x2f5)]();}[_0xe9a651(0x189)](_0x3b7d87=!0x1){var _0x26a584=_0xe9a651;this[_0x26a584(0x418)](),this[_0x26a584(0x190)](this[_0x26a584(0x3fc)][_0x26a584(0x25d)]()),this[_0x26a584(0x2f5)]();const _0x4d6f03=this[_0x26a584(0x3fc)];_0x3b7d87&&_0x4d6f03 instanceof ye&&(this['_lockTransition'](),this[_0x26a584(0x190)](_0x4d6f03[_0x26a584(0x3c7)]()),this['_unlockTransition']());}async[_0xe9a651(0x2db)](){return new Promise(_0x256a01=>{var _0x4cc2cf=_0x138f;this[_0x4cc2cf(0x166)][_0x4cc2cf(0x24c)]['pipe'](_0x24445d(0x1))[_0x4cc2cf(0x31b)](async _0x21008e=>{_0x256a01(await this['_createInitialStateImpl'](_0x21008e===Se['ONLINE']));});});}[_0xe9a651(0x125)](){var _0x4e6482=_0xe9a651;const _0x212a5a=this[_0x4e6482(0x3d4)];return{'onStateChange':(_0x106158,_0x3bc5c6)=>{var _0x20e431=_0x4e6482;if(_0x106158!==this['_state'])throw new Error(_0x20e431(0x1ce)+_0x106158[_0x20e431(0x2d4)]+_0x20e431(0x1d9)+_0x3bc5c6[_0x20e431(0x2d4)]+_0x20e431(0x1f4)+this[_0x20e431(0x3fc)]['status']);this['_updateState'](_0x3bc5c6);},'onSendChangeset':_0x328291=>{var _0x465357=_0x4e6482;_0x328291[_0x465357(0x231)]||(_0x328291['sid']=this[_0x465357(0x261)],_0x328291['reqId']=++this['_changesetReqId']);const _0x1435ee={'eventID':_0x490579[_0x465357(0x1d1)],'data':{'unitID':_0x328291[_0x465357(0x3d4)],'unitType':this[_0x465357(0x206)],'changeset':_0x328291,'memberID':this[_0x465357(0x166)][_0x465357(0x311)]()}};this[_0x465357(0x166)][_0x465357(0x330)](_0x1435ee,this['unitID']);},'onMissingChangesets':({from:_0x3674a6,to:_0x3fd2e4})=>{var _0x1e0de9=_0x4e6482;this[_0x1e0de9(0x2d3)][_0x1e0de9(0x263)](_0x1e0de9(0x2b0),'fetching\x20missing\x20changesets\x20from\x20'+_0x3674a6+_0x1e0de9(0x16f)+_0x3fd2e4);const _0x4d04c6={'eventID':_0x490579['FETCH_MISSING'],'data':{'unitID':_0x212a5a,'unitType':this[_0x1e0de9(0x206)],'from':_0x3674a6,'to':_0x3fd2e4}};this[_0x1e0de9(0x166)][_0x1e0de9(0x330)](_0x4d04c6,this[_0x1e0de9(0x3d4)]);}};}async[_0xe9a651(0x360)](_0x41ba02){var _0xdc75af=_0xe9a651,_0x43c56a,_0x1ad3cd,_0x3539d3;const _0x554627=await((_0x43c56a=this['_localCacheService'])==null?void 0x0:_0x43c56a[_0xdc75af(0x408)](this[_0xdc75af(0x3d4)])),_0xf440ab=(_0x1ad3cd=_0x554627==null?void 0x0:_0x554627[_0xdc75af(0x155)])!=null?_0x1ad3cd:[],_0xf5f2c7=(_0x3539d3=_0x554627==null?void 0x0:_0x554627[_0xdc75af(0x29b)])!=null?_0x3539d3:null,_0x3db57f=!!(_0xf5f2c7!=null&&_0xf5f2c7[_0xdc75af(0x231)])&&!!(_0xf5f2c7!=null&&_0xf5f2c7['reqId']);this['_changesetSessionId']=_0x3db57f?_0xf5f2c7[_0xdc75af(0x231)]:_0x4baddb(),this[_0xdc75af(0x262)]=_0x3db57f?_0xf5f2c7[_0xdc75af(0x33e)]:0x0;const _0xd287aa=this[_0xdc75af(0x3d4)];try{this[_0xdc75af(0x2bd)](_0xf5f2c7,_0xf440ab);}catch(_0x54f34f){this['_logService']['error'](_0x54f34f);}const _0x1bdb67=this[_0xdc75af(0x125)]();if(_0x41ba02){const _0x222393=Ri(this['_injector'],_0xd287aa,this[_0xdc75af(0x206)],_0xf5f2c7,_0xf440ab,_0x1bdb67);return _0x222393 instanceof re?_0x222393['_schedule']():(_0x222393 instanceof ae||_0x222393 instanceof _e)&&_0x222393[_0xdc75af(0x3cd)](),_0x222393;}return this[_0xdc75af(0x369)][_0xdc75af(0x35b)](ue,_0xd287aa,this[_0xdc75af(0x206)],_0xf5f2c7,_0xf440ab,_0x1bdb67);}[_0xe9a651(0x2bd)](_0x1faa95,_0x1f6dd4){var _0x2837de=_0xe9a651,_0x5335a1,_0x48d0fc;const _0x1e9a4c=this[_0x2837de(0x3ab)]['interceptor'][_0x2837de(0x317)](this['_compressMutationService'][_0x2837de(0x2ff)][_0x2837de(0x37c)]()['COMPRESS_MUTATION_APPLY']);(_0x5335a1=_0x1e9a4c((_0x1faa95==null?void 0x0:_0x1faa95[_0x2837de(0x155)])||[],null))==null||_0x5335a1[_0x2837de(0x40e)](_0x2ba56f=>this[_0x2837de(0x21f)][_0x2837de(0x28b)](_0x2ba56f['id'],_0x2ba56f[_0x2837de(0x149)])),(_0x48d0fc=_0x1e9a4c(_0x1f6dd4||[],null))==null||_0x48d0fc['forEach'](_0xd26051=>this['_commandService'][_0x2837de(0x28b)](_0xd26051['id'],_0xd26051['params']));}};st=wt([H(0x3,_0x5c4cb1(_0x1ad227)),H(0x4,_0x5c4cb1(_0x377b8a)),H(0x5,_0x5c4cb1(_0x25bf21)),H(0x6,_0x5c4cb1(_0x510c33)),H(0x7,_0x5c4cb1(ve)),H(0x8,_0x26ef4e),H(0x9,_0x806fa4),H(0xa,_0x546b61),H(0xb,_0xa8e945(ht)),H(0xc,_0xa8e945(J))],st);let St=class extends st{constructor(_0x4bce7f,_0xba7a90,_0x2d6e28,_0x448918,_0x223566,_0x360962,_0x1276e9,_0x4669e5,_0x19e1a5,_0x3bb9a8,_0x2c71e9,_0x34c02d,_0x3ebcd1){var _0x301fae=_0xe9a651;super(_0x4bce7f,_0x2d6e28,_0xba7a90,_0x448918,_0x223566,_0x360962,_0x1276e9,_0x4669e5,_0x19e1a5,_0x3bb9a8,_0x2c71e9,_0x34c02d,_0x3ebcd1),N(this,_0x301fae(0x175),null),(this[_0x301fae(0x3d4)]=_0x4bce7f,this['type']=_0xba7a90);}[_0xe9a651(0x28f)](_0x44cd77){this['_handlerCallback']=_0x44cd77;}[_0xe9a651(0x135)](){var _0x542222=_0xe9a651;this[_0x542222(0x175)]=null,super['dispose']();}[_0xe9a651(0x125)](){var _0xcf95c=_0xe9a651;const _0x3fe0f2=super[_0xcf95c(0x125)]();return _0x3fe0f2['onTransformIME']=_0x1aaa42=>{var _0x10a3e1=_0xcf95c,_0x5563bd,_0x346969;return(_0x346969=(_0x5563bd=this[_0x10a3e1(0x175)])==null?void 0x0:_0x5563bd['onTransformIME'])==null?void 0x0:_0x346969[_0x10a3e1(0x1ff)](_0x5563bd,_0x1aaa42);},_0x3fe0f2['onTransformState']=_0x43facc=>{var _0x29411e=_0xcf95c,_0x2ec8e8,_0x5b546b;return(_0x5b546b=(_0x2ec8e8=this['_handlerCallback'])==null?void 0x0:_0x2ec8e8[_0x29411e(0x3f7)])==null?void 0x0:_0x5b546b[_0x29411e(0x1ff)](_0x2ec8e8,_0x43facc);},_0x3fe0f2['onTransformSelections']=_0x1a7662=>{var _0x2a5724=_0xcf95c,_0x24bfba,_0x80e53d;return(_0x80e53d=(_0x24bfba=this[_0x2a5724(0x175)])==null?void 0x0:_0x24bfba[_0x2a5724(0x398)])==null?void 0x0:_0x80e53d['call'](_0x24bfba,_0x1a7662);},_0x3fe0f2[_0xcf95c(0x14d)]=_0x57008b=>{var _0x415f1d=_0xcf95c,_0x1f5bef,_0x520696;return(_0x520696=(_0x1f5bef=this[_0x415f1d(0x175)])==null?void 0x0:_0x1f5bef[_0x415f1d(0x14d)])==null?void 0x0:_0x520696['call'](_0x1f5bef,_0x57008b);},_0x3fe0f2['onTransformRemoteChangesetByIMECache']=_0x120660=>{var _0x402e13=_0xcf95c,_0x526c04,_0xad1f22,_0x13a6fd;if(!((_0x526c04=this[_0x402e13(0x175)])!=null&&_0x526c04[_0x402e13(0x3b6)]))throw new Error(_0x402e13(0x3e2));return(_0x13a6fd=(_0xad1f22=this['_handlerCallback'])==null?void 0x0:_0xad1f22[_0x402e13(0x3b6)])==null?void 0x0:_0x13a6fd['call'](_0xad1f22,_0x120660);},_0x3fe0f2[_0xcf95c(0x1a8)]=_0x147e8b=>{var _0x545771=_0xcf95c,_0x41d0e6,_0x323741,_0x200b24;if(!((_0x41d0e6=this[_0x545771(0x175)])!=null&&_0x41d0e6[_0x545771(0x1a8)]))throw new Error(_0x545771(0x2e9));return(_0x200b24=(_0x323741=this['_handlerCallback'])==null?void 0x0:_0x323741[_0x545771(0x1a8)])==null?void 0x0:_0x200b24[_0x545771(0x1ff)](_0x323741,_0x147e8b);},_0x3fe0f2;}async[_0xe9a651(0x22b)](){var _0x3cb08b=_0xe9a651;const _0x919175=await super[_0x3cb08b(0x22b)]();return this[_0x3cb08b(0x2c4)](this[_0x3cb08b(0x21f)]['onCommandExecuted']((_0x5c6016,_0x46cb54)=>{var _0x447900=_0x3cb08b;if(_0x5c6016[_0x447900(0x237)]!==_0x38f923[_0x447900(0x172)]||_0x46cb54!=null&&_0x46cb54[_0x447900(0x3c9)]||_0x46cb54!=null&&_0x46cb54[_0x447900(0x303)]||_0x5c6016['id']===_0x32e028['id'])return;const _0x4b15df=_0x5c6016[_0x447900(0x149)];if((_0x4b15df==null?void 0x0:_0x4b15df[_0x447900(0x202)])!==this[_0x447900(0x3d4)])return;const _0x385d90=_0x5c6016,_0x2dd969=this[_0x447900(0x3ab)][_0x447900(0x2ff)]['fetchThroughInterceptors'](this[_0x447900(0x3ab)][_0x447900(0x2ff)][_0x447900(0x37c)]()[_0x447900(0x35e)])([_0x385d90],null)||[_0x385d90];this[_0x447900(0x228)](_0x2dd969[0x0]);})),_0x919175;}};St=wt([H(0x3,_0x5c4cb1(_0x1ad227)),H(0x4,_0x5c4cb1(_0x377b8a)),H(0x5,_0x5c4cb1(_0x25bf21)),H(0x6,_0x5c4cb1(_0x510c33)),H(0x7,_0x5c4cb1(ve)),H(0x8,_0x26ef4e),H(0x9,_0x806fa4),H(0xa,_0x546b61),H(0xb,_0xa8e945(ht)),H(0xc,_0xa8e945(J))],St);let Et=class extends st{constructor(_0x466fe4,_0xf2c65d,_0x4a0d85,_0x2e1f84,_0x1e168f,_0x34d227,_0x271389,_0x44c774,_0x374890,_0x3e679f,_0x496ac8,_0x5051dc,_0x4c3344,_0x38ac01){var _0x28785a=_0xe9a651;super(_0x466fe4,_0x4a0d85,_0xf2c65d,_0x2e1f84,_0x1e168f,_0x34d227,_0x271389,_0x374890,_0x3e679f,_0x496ac8,_0x5051dc,_0x4c3344,_0x38ac01),this['unitID']=_0x466fe4,this[_0x28785a(0x237)]=_0xf2c65d,this[_0x28785a(0x287)]=_0x44c774;}[_0xe9a651(0x125)](){var _0x316a34=_0xe9a651;const _0x25608d=super[_0x316a34(0x125)]();return _0x25608d[_0x316a34(0x398)]=_0xb14d07=>this['_sheetTransformSelectionsService'][_0x316a34(0x293)](_0xb14d07),_0x25608d;}async['_init'](){var _0x58f68a=_0xe9a651;const _0x57b5ec=await super['_init']();return this[_0x58f68a(0x2c4)](this[_0x58f68a(0x21f)][_0x58f68a(0x23e)]((_0x468b38,_0x4aedfa)=>{var _0x21fb1a=_0x58f68a;if(_0x468b38[_0x21fb1a(0x237)]!==_0x38f923[_0x21fb1a(0x172)]||_0x4aedfa!=null&&_0x4aedfa['fromCollab']||_0x4aedfa!=null&&_0x4aedfa[_0x21fb1a(0x303)])return;const _0x330b8b=_0x468b38['params'];if((_0x330b8b==null?void 0x0:_0x330b8b[_0x21fb1a(0x202)])!==this['unitID'])return;const _0x1b7c89=_0x468b38,_0x1f1c0a=this[_0x21fb1a(0x3ab)][_0x21fb1a(0x2ff)][_0x21fb1a(0x317)](this[_0x21fb1a(0x3ab)][_0x21fb1a(0x2ff)]['getInterceptPoints']()[_0x21fb1a(0x35e)])([_0x1b7c89],null)||[_0x1b7c89];this[_0x21fb1a(0x228)](_0x1f1c0a[0x0]);})),_0x57b5ec;}};Et=wt([H(0x3,_0x5c4cb1(_0x1ad227)),H(0x4,_0x5c4cb1(_0x377b8a)),H(0x5,_0x5c4cb1(_0x25bf21)),H(0x6,_0x5c4cb1(_0x510c33)),H(0x7,_0x5c4cb1(it)),H(0x8,_0x5c4cb1(ve)),H(0x9,_0x26ef4e),H(0xa,_0x806fa4),H(0xb,_0x546b61),H(0xc,_0xa8e945(ht)),H(0xd,_0xa8e945(J))],Et);var Qs=Object[_0xe9a651(0x2ae)],en=(_0x229333,_0x157ee0,_0x11501c,_0x3dbe5)=>{for(var _0x4a4349=_0x3dbe5>0x1?void 0x0:_0x3dbe5?Qs(_0x157ee0,_0x11501c):_0x157ee0,_0x5ca637=_0x229333['length']-0x1,_0x105c07;_0x5ca637>=0x0;_0x5ca637--)(_0x105c07=_0x229333[_0x5ca637])&&(_0x4a4349=_0x105c07(_0x4a4349)||_0x4a4349);return _0x4a4349;},Be=(_0x41a3f9,_0x16d26e)=>(_0x528a8f,_0x200983)=>_0x16d26e(_0x528a8f,_0x200983,_0x41a3f9);let nt=class extends _0x12efa6{constructor(_0x8f41b6,_0x1f2dc2,_0x49875f,_0x5c2634){var _0x26fddb=_0xe9a651,_0x249ed8;super(),N(this,_0x26fddb(0x12d),new Map()),N(this,_0x26fddb(0x28a),new _0x1af177()),N(this,_0x26fddb(0x1d5),this[_0x26fddb(0x28a)]['asObservable']()),(this['_injector']=_0x8f41b6,this['_collabSessionService']=_0x1f2dc2,this['_configService']=_0x49875f,this[_0x26fddb(0x319)]=_0x5c2634,((_0x249ed8=this[_0x26fddb(0x292)][_0x26fddb(0x33b)](K))==null?void 0x0:_0x249ed8['enableCollaboration'])!==!0x1&&this[_0x26fddb(0x22b)]());}[_0xe9a651(0x135)](){var _0x423c01=_0xe9a651;super['dispose'](),this[_0x423c01(0x12d)][_0x423c01(0x40e)](_0x4546e8=>_0x4546e8[_0x423c01(0x135)]()),this[_0x423c01(0x12d)][_0x423c01(0x32a)]();}[_0xe9a651(0x1aa)](_0x4bf399){var _0x593ed4=_0xe9a651,_0x3ce26d;return(_0x3ce26d=this[_0x593ed4(0x12d)][_0x593ed4(0x364)](_0x4bf399))!=null?_0x3ce26d:null;}[_0xe9a651(0x1ae)](_0xd08334){var _0x452d0a=_0xe9a651;const _0x55bda5=this[_0x452d0a(0x1aa)](_0xd08334);return _0x55bda5?_0x136697(_0x55bda5):this[_0x452d0a(0x28a)][_0x452d0a(0x3f1)](_0x5b950a(_0x5aaa40=>_0x5aaa40[_0x452d0a(0x3d4)]===_0xd08334));}['readyForCollab'](_0x3b86f9){var _0x3d464c=_0xe9a651;return _0x149dcc(this[_0x3d464c(0x1ae)](_0x3b86f9)[_0x3d464c(0x3f1)](_0x5e1429(()=>{})));}[_0xe9a651(0x22b)](){var _0x4fe67b=_0xe9a651;this[_0x4fe67b(0x319)][_0x4fe67b(0x2a0)](_0x4bea2b[_0x4fe67b(0x277)])['pipe'](_0x7fdbf(this[_0x4fe67b(0x1f6)]),_0xe05ce4(0x10))[_0x4fe67b(0x31b)](async _0xd69d0a=>{var _0x5ea4e0=_0x4fe67b;const _0x4edfa2=_0xd69d0a[_0x5ea4e0(0x353)](),_0x26dd99=await this[_0x5ea4e0(0x2ee)](_0x4edfa2,Z[_0x5ea4e0(0x277)]);this['_entities'][_0x5ea4e0(0x12b)](_0x4edfa2,_0x26dd99);}),this[_0x4fe67b(0x319)]['getTypeOfUnitAdded$'](_0x4bea2b['UNIVER_DOC'])[_0x4fe67b(0x3f1)](_0x7fdbf(this[_0x4fe67b(0x1f6)]),_0xe05ce4(0x10))[_0x4fe67b(0x3f1)](_0x5b950a(_0x144b3f=>!_0x144b3f['getUnitId']()[_0x4fe67b(0x3e1)]('__')))[_0x4fe67b(0x31b)](async _0x4e629b=>{var _0x3e75f6=_0x4fe67b;const _0x318e47=_0x4e629b[_0x3e75f6(0x353)](),_0x192c12=await this[_0x3e75f6(0x2ee)](_0x318e47,Z[_0x3e75f6(0x1cc)]);this['_entities']['set'](_0x318e47,_0x192c12);}),_0x25c232(this[_0x4fe67b(0x319)][_0x4fe67b(0x23c)](_0x4bea2b[_0x4fe67b(0x277)]),this[_0x4fe67b(0x319)]['getTypeOfUnitDisposed$'](_0x4bea2b[_0x4fe67b(0x1cc)]))[_0x4fe67b(0x3f1)](_0x7fdbf(this[_0x4fe67b(0x1f6)]))[_0x4fe67b(0x31b)](_0x306938=>{var _0x2ee53a=_0x4fe67b;const _0x518c7c=_0x306938['getUnitId'](),_0x14e804=this[_0x2ee53a(0x12d)][_0x2ee53a(0x364)](_0x518c7c);_0x14e804&&(_0x14e804['dispose'](),this[_0x2ee53a(0x12d)][_0x2ee53a(0x2cc)](_0x518c7c));});}async['_startCollaboration'](_0x2f47ff,_0x5bb8f9){var _0x4dba3d=_0xe9a651;const _0x4c0d6a=await this[_0x4dba3d(0x25e)][_0x4dba3d(0x224)](_0x2f47ff),_0x1cd070=this[_0x4dba3d(0x369)][_0x4dba3d(0x35b)](this['_getCtorByUniverType'](_0x5bb8f9),_0x2f47ff,_0x5bb8f9,_0x4c0d6a);return await _0x1cd070[_0x4dba3d(0x3e8)](),this[_0x4dba3d(0x28a)][_0x4dba3d(0x22e)](_0x1cd070),_0x1cd070;}[_0xe9a651(0x32f)](_0x24a8d0){var _0x1c7886=_0xe9a651;switch(_0x24a8d0){case Z['UNIVER_DOC']:return St;case Z[_0x1c7886(0x277)]:return Et;default:throw new Error(_0x1c7886(0x24b)+_0x24a8d0);}}};nt=en([Be(0x0,_0x5c4cb1(_0x1ad227)),Be(0x1,_0x5c4cb1(Le)),Be(0x2,_0x17539a),Be(0x3,_0x10c3c4)],nt);var tn=Object[_0xe9a651(0x2ae)],sn=(_0x2b0260,_0x1d1b80,_0x500ef5,_0x103272)=>{var _0x3b8073=_0xe9a651;for(var _0x3a5a14=_0x103272>0x1?void 0x0:_0x103272?tn(_0x1d1b80,_0x500ef5):_0x1d1b80,_0xcfd158=_0x2b0260[_0x3b8073(0x340)]-0x1,_0x12ee8a;_0xcfd158>=0x0;_0xcfd158--)(_0x12ee8a=_0x2b0260[_0xcfd158])&&(_0x3a5a14=_0x12ee8a(_0x3a5a14)||_0x3a5a14);return _0x3a5a14;},Yt=(_0x5d3ff5,_0x9eebd9)=>(_0x4e1fd7,_0x440a07)=>_0x9eebd9(_0x4e1fd7,_0x440a07,_0x5d3ff5);const nn=_0xe9a651(0x384),rn='Univer';let It=class extends _0x2b0e91{constructor(_0x3d5684,_0x2700e6){var _0x15341f=_0xe9a651;super(),this[_0x15341f(0x319)]=_0x3d5684,this['_configService']=_0x2700e6,this[_0x15341f(0x22b)]();}['_init'](){var _0x4dcaf8=_0xe9a651;this[_0x4dcaf8(0x2c4)](this[_0x4dcaf8(0x319)][_0x4dcaf8(0x3c2)][_0x4dcaf8(0x31b)](()=>{var _0xb1391f=_0x4dcaf8,_0x1d8794;const _0x622d8=this['_univerInstanceService'][_0xb1391f(0x41f)]();let _0xaf458=(_0x1d8794=this['_configService']['getConfig'](nn))!=null?_0x1d8794:rn;_0x622d8 instanceof _0x1aaadb&&(_0xaf458=_0x622d8['name']),document[_0xb1391f(0x25f)]=_0xaf458;}));}};It=sn([Yt(0x0,_0x10c3c4),Yt(0x1,_0x17539a)],It);function _0x3b47(){var _0x55c8ec=['_changesetReqId','debug','list','YUUMI_RATE_OVER_LIMIT','subject','session.join-failed','getCurrentUser','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','charCodeAt','_checkMissing','slice','concat','LICENSE_MAX_UNITS_EXCEEDED','patch','PERMISSION_DENIED','getLatestCsReqIdBySid','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_clearCollaborationTimeoutTimer','/new_changes','updateSnapshot','UNIVER_SHEET','UNDEFINED','catch','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','compose','compute','_registerDependencies','_transformService','withCredentials','APPLY_PERMISSION_DENIED','enc','updateMember','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_exhaustRemoteChangesetQueue','/collaborator','editingUnit','_sheetTransformSelectionsService','_transformIMECache','_substituteRedoStack','_entityInit$','executeCommand','_incrementRevisionNumber','csAckEvent','_userManagerService','addHandlerCallback','_throwTelemetryCollaborationNewChangeset','range','_configService','transformSelections','updateCollaborator','[OfflineState]:\x20received\x20changeset.','onStarting','indexOf','loginUrlKey','_getUploadFileURL','getRandomValues','awaitingChangeset','hostname','reset','_getSignURL','objectType','getTypeOfUnitAdded$','CLOSE_ROOM','session.room-permission-denied','onRemoteChangeset','LIVESHARE_TERMINATE','_process','INVITE_CODE_REQUIRED','ERROR_IMAGE_TYPE','exports','onRemoteAck','_members$','_HTTPService','_snapshotServerService','COMPRESS_MUTATION_APPLY','getOwnPropertyDescriptor','downloadEndpointUrl','[CollaborationEntity]','defineProperty','generateRandomId','pad','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','socket\x20open.','Cipher','offline','OTHER_CLIENT_EDITING','not_collab','_scheduleCollaborationTimeoutTimer','HttpImport','unpad','_replayCachedMutations','_keySchedule','transformMutationsWithChangeset','sigBytes','setConfig','POST','iterations','disposeWithMe','_doReset','loadUnitOfRevision','LIVESHARE_OPERATION','FileId','revision','RETRY_CONNECTING_MAX_COUNT','YUUMI_UNABLE_LOAD_URL','delete','incrementRevOfUnit','readAsDataURL','salt','getSnapshotAPIPath','3480873eaJLBx','CBC','_logService','status','_minBufferSize','_nRounds','_replaceFileID','createSocket','_getRedoStack','collaboration_new_changeset','_createInitialState','_prevBlock','PENDING','LOGIN_FAILED','NO_OTHER_CLIENTS_EDITING','COMMENT_UPDATE','/universer-api/snapshot','socketService','ONLINE','_iv','avatar','JOIN_ROOM_PERMISSION_DENIED','_onConnectionOpen','_stopTelemetryCollaborationNewChangeset','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[PendingState]:\x20received\x20acknowledgement.','synced','_transformStack','YUUMI_AI_RUN_FAILED','_startCollaboration','_sendHeartbeatTimer','YUUMI_SUBSCRIPTION_NOT_FOUND','_getDownloadEndpointURL','values','_decreaseWaiting','min','_unlockTransition','msCrypto','USERS_ENTER','_transformUndoredo','_getCurrentRevision','encryptBlock','APPLY_REJECT','PasswordBasedCipher','close','JOIN_ROOM_NOT_EXISTS','interceptor','/universer-api/file/{fileID}/sign-url','charAt','[UniverCollaborationClientPlugin]','onlyLocal','_telemetryService','online$','CONFLICT','_initUnitPermissionChange','MOBILE_HAS_BEEN_BOUND','x-univer-host','initWorkbookPermissionChange','APPLY_NON_SEQUENTIAL_REVISION','ivSize','[DataLoaderService]','crypto','__creator','PERSON','getMemberID','saveChangeset','15740263xrzhGh','error$','ws://127.0.0.1:8000/universer-api/comb/connect','IDLE','fetchThroughInterceptors','NoPadding','_univerInstanceService','/unit/','subscribe','_invKeySchedule','symbol','YUUMI_NO_CUBOID_FOR_QUESTION','NEW_CHANGESETS','decrypt','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_createHelper','_cipher','copyFileMeta','localCacheService','YUUMI_URL_COL_OUT_OF_RANGE','getTime','_onFetchMissResult','/allowed','clear','kdf','createDecryptor','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','actions','_getCtorByUniverType','send','USER_NOT_INVITED_CODE','override','join','rev','_unitID','image/jpg','signUrlServerUrl','data','_remoteChangesetQueue','LIVESHARE_FETCH_OPERATIONS','getConfig','_handler','reconnect','reqId','_resendTimer','length','[CollaborationSession]','stringify','4XDwsdc','UPDATE_PERMISSION_OBJ','SOCKET_FAILED_RETRY','_transformRemoteChangesetByIMECache','HttpExport','stopTime','_submitChangeset','getValue','getCurrentSelections','_telemetryInfo','randomBytes','prototype','socket$','SNAPSHOT_INVALID_SNAPSHOT','PERMISSION_REJ','&source=','getUnitId','error','uniscriptRunEvent','_acknowledgedAwaitingChangeset','update','now','SNAPSHOT_HAS_BEEN_REMOVED','/universer-api/stream/file/upload','createInstance','_instanceService','_initMergeInterceptor','COMPRESS_MUTATION_SEND','refreshPermission','_createInitialStateImpl','_initDependencies','_createSocket','updateOfflineData','get','_shouldReportTelemetry','_showConflictNotification','submit\x20changeset\x20error!','_eventService','_injector','parse','location','_change$','516wVJbAE','encrypt','HEARTBEAT_INTERVAL','INVALID_ARGUMENT','RECV','userID','HMAC','univer-pro.collaboration-client.network-condition.service','124zyOOEe','JOIN','_commentService','_queuedRemoteChangesets','_roomMembers','hasOwnProperty','code','getInterceptPoints','connection\x20error','ceil','_socketService','FETCH_MISS','_doCreateSocket','decryptBlock','/resources','DEFAULT_FILE_NAME','_localCacheService','BlockCipher','floor','_updateStatus','_emitMembers','saveImage','_collaborationPaused','unit-cache-','_iKey','sin','getCurrentRevOfUnit','/rev/','Utf8','onLocalMutation','_createHmacHelper','capture','find','_map','_removeRoom','onTransformSelections','_updateLocalCache','HEARTBEAT','LIVESHARE_NEW_HOST','INVITE_CODE_ALREADY_BOUND','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_resendTimeout','function','failed\x20to\x20apply\x20missed\x20changesets!','univer-pro.collaboration-client-socket-service','EvpKDF','eventID','awaiting','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','collaboration-client.local-cache-service','APPLY_REVISION_CONFILICT','_httpService','getSheetBlock','_permissionService','_compressMutationService','_getAPIPrefixPath','memberID','_onRemoteRetry','liveShareNewHost','UNKNOWN_CODE','size','COLLAB_WEB_SOCKET_URL','74430teEeeC','SUBMIT_CHANGESET_TIMEOUT','_syncEditingCollabCursor','onTransformRemoteChangesetByIMECache','/object/','_resendWithTimeout','getUnitType','unknown','YUUMI_ALL_TABLES_IS_INVALID','LEAVE','default','INVALID_INVITE_CODE','Base64','_mode','5512325BrBZjV','focused$','_transformStateCache','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','status$','fetchMiss','sessionStatus','fromCollab','transformUndoRedo','batchAllowed','_onJoinRoomEvent','resend','open$','random','OPTIONAL','processBlock','getDeserializedSheetBlock','routeKey','unitID','SOCKET_FAILED','uploadFileServerUrl','UnitSnapshot','mode','/fetchmissing?from=','encodeURIComponent','_parse','NOT_COLLAB','getImage','_sender','People','_onConnectionFailed','startsWith','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','create','pluginName','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_clearRetryConnectingTimer','Hasher','init','_applyRemoteChangeset','_singleActiveUnitService','_sessionStatus$','BlockCipherMode','awaiting_with_pending','HEARTBEAT_TIMEOUT','getSheetId','every','pipe','name','OTHER_CLIENTS_EDITING','reduce','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_collaborationSessionService','onTransformState','UNKNOWN_CMD','onMissingChangesets','COLLAB_SUBMIT_CHANGESET_URL','SNAPSHOT_SERVER_URL_KEY','_state','closeSession','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','PY_RUNTIME_SCRIPT_ERROR','extend','_getUndoStack','setShowComponents','&to=','_doCryptBlock','_onRemoteRejected','CHANGESET_SHOULD_RETRY','loadOfflineData','members','UNRECOGNIZED','cfg','[SyncedState]:\x20received\x20rejection.','socket\x20close','forEach','_state$','_onConflict','finalize','saveSheetBlock','[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.','objectID','includes','_tryEnsureSocket','emitEvent','_lockTransition','_getSendChangesetTimeout','_initCloseConn','_nDataBytes','_key','close$','ENSURE_SNAPSHOT_EXECUTION','getFocusedUnit','WordArray','StreamCipher','_imageSourceCache','getMember','clamp','getImageSourceCache','/universer-api/authz','_reverseMap','joinEvent','_isPermissionRej','_socketMessageSubscription','_candidateSocket','baseRev','_clearLocalCache','apply','transformStack\x20failed!','_createHandler','complete','algo','post','transformChangesets','_retryCount','set','_substituteUndoStack','_entities','AWAITING_WITH_PENDING','leaveEvent','_memberService','__Key__','formatter','readInt32LE','Malformed\x20UTF-8\x20data','dispose','_toggleOffline','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','HELLO','result','_onMessage','_commentUpdate$','{fileID}','_fetchMissChangesets','_localeService','members$','[CollaborationState]:\x20apply\x20error!','key','event$','retryConnectingInterval','removeMember','map','[PendingState]:\x20received\x20rejection.','_sendingTimer','_clearRedo','params','isArray','/object','body','onSyncEditingCollabCursor','/universer-api/uniscript','[CollaborationUndoRedoService]','_awaitingChangeset','_append','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','auth.needGotoLoginAlert','ALREADY_EXISTS','mutations','SHA1','_clearHeartbeatTimer','roomInfos','_joinRoom','change$','FAIL','collaborators','/block/','append','listRoles','cmd','UNIVER_COLLABORATION_CLIENT_PLUGIN','file','JOIN_ROOM_FULL','Failed\x20to\x20update\x20permission\x20point','_clearScheduledTask','session','UserProfileImg','add','clone','createEncryptor','_clearTimeoutTimer','OpenSSL','fetchMissingChangesets','enableOfflineEditing','\x20to\x20','\x20in\x20_schedule.','onRemoteRej','MUTATION','duration','entries','_handlerCallback','_onOffline','_transformRemoteChangesetByStateCache','unitId\x20is\x20not\x20found','_snapshotService','/universer-api/oidc/authpage','_listenToNetworkCondition','abs','_schedule','infoRsp','INTERNAL_ERROR','state$','loadSheet','reject','CHANGESET_REVISION_CONFILICT','snapshotServerUrl','_onUserLeave','updateCursorEvent','byteLength','unsubscribe','_toggleOnline','image/jpeg','saveSnapshot','[OfflineState]:\x20received\x20rejection.','textRanges','_socket$','setWaitCount','_updateState','_config','image/gif','_rescheduleHeartbeat','put','_undoRedoService','UNISCRIPT_RUN','replace','EMAIL_HAS_BEEN_BOUND','commentUpdate$','from','/-/object/-/batch_allowed','confirm','commentUpdateEvent','keySize','string','lib','UNAUTHENTICATED','_waitCount','updatePermissionPoint','getActiveSheet','isPermissionRej','c1Prime','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByStateCache','_onRecvEvent','getCollabEntity','AES','_members','SYNCED','getCollabEntity$','getWorkbookSelections','_hash','fromCharCode','[CollaborationSessionService]','COMPLETION_FINISHED','_onUserJoin','_pendingMutations','sendChangesetTimeout','_doFinalize','_doProcessBlock','format','_keyPriorReset','_xformMode','filter','asObservable','mixIn','__esModule','session.room-full','Hex','_startTelemetryCollaborationNewChangeset','SerializableCipher','/universer-api/user/session-ticket','SEND_CHANGESET_TIMEOUT','state','splice','INGEST','_revisionService','Undefined','ciphertext','UNIVER_DOC','GLOBAL_ROOMS_CNT_EXCEEDS','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','url','_oKey','SUBMIT_CHANGESET','telemetry\x20info\x20is\x20not\x20initialized','UnitEmbedded','repeat','entityInit$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','onload','selections','\x0aAfter:\x20','permissionRejEvent','hasher','SHOULD_CLOSE_CONN','_onRemoteChangeset','origin','updatePermissionObjEvent','_transitionLocked','pending','_data','_getAPIPrefix','message$','101815chfFja','_ENC_XFORM_MODE','editing\x20status\x20changed\x20to','appendMutation','OFFLINE','[CollaborationSessionService]:\x20socket\x20error','ERROR_IMAGE','putCollaborators','UNIVER_PROJECT','CHANGESET_REJ','PSEUDO_FETCH_MISSING_RESULT','_executeRemoteChangeset','onCommentUpdate','objectActions','padding','\x0aCurrent:\x20','_tryReconnect','dispose$','USERS_LEAVE','toString','substr','session.room-not-exists','_sessions','_transformSelections','_collaborationUIEventService','target','call','startTime','WECHAT_HAS_BEEN_BOUND','unitId','then','_scheduleCompleteTimestamp','toggleOffline','_type','Base','BufferedBlockAlgorithm','authzUrl','756UkMVmM','push','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteRetry','_retryConnectingTimer','execute','words','method','_collaborationTimeoutTimer','UNIVER_SLIDE','has','JOIN_ROOM_FAILED','shouldCloseConn','YUUMI_ASYNCIO_CANCELLED','NOT_FOUND','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','registerHTTPInterceptor','_clearUndo','UPDATE_CURSOR','APPLY_DUPLICATED','href','_commandService','LOCAL_CACHE_INTERVAL','localeService','LICENSE_IMPORT_SIZE_EXCEEDED','action','requireSession','getUnit','waitForRoom$','447IzIcjK','_onLocalMutation','m2Prime','allowed','_init','onStateChange','requestParams','next','_hasher','_initRequestHeader','sid','Could\x20not\x20dynamically\x20require\x20\x22','onSendChangeset','resolve','$super','image/bmp','type','_sendHeartbeat','UUID','Decryptor','HmacMD5','getTypeOfUnitDisposed$','headers','onCommandExecuted','blockSize','_status$','_timeoutTimer','conflict','_disableEditing','pauseCollaboration','_socketReady','_event$','_unitInfo$','Latin1','?url=','max','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','sessionStatus$','_onCombEvent','Encryptor','MD5','unitInfo$','buffer','enableSingleActiveInstanceLock','LIVESHARE_REQUEST_HOST','AWAITING','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_networkConditionService','UNIVER_UNKNOWN','4809960OlQftM','originalMeta','BASE64','CHANGESET_ACK','toggleOnline','_collabSessionService','title','Pkcs7','_changesetSessionId'];_0x3b47=function(){return _0x55c8ec;};return _0x3b47();}var an=Object['getOwnPropertyDescriptor'],on=(_0x4b8a6c,_0x21fb10,_0x16869d,_0x555667)=>{var _0x1b6d01=_0xe9a651;for(var _0xc2f8da=_0x555667>0x1?void 0x0:_0x555667?an(_0x21fb10,_0x16869d):_0x21fb10,_0x10e8fb=_0x4b8a6c[_0x1b6d01(0x340)]-0x1,_0x9df0c7;_0x10e8fb>=0x0;_0x10e8fb--)(_0x9df0c7=_0x4b8a6c[_0x10e8fb])&&(_0xc2f8da=_0x9df0c7(_0xc2f8da)||_0xc2f8da);return _0xc2f8da;},dt=(_0x558f79,_0x24c444)=>(_0x4f0fe3,_0x1b5b8f)=>_0x24c444(_0x4f0fe3,_0x1b5b8f,_0x558f79);let rt=class{constructor(_0x29bbc1,_0x23619e,_0x374d7e){var _0x1c0c40=_0xe9a651;this[_0x1c0c40(0x292)]=_0x29bbc1,this[_0x1c0c40(0x3a8)]=_0x23619e,this[_0x1c0c40(0x221)]=_0x374d7e,this['init']();}[_0xe9a651(0x3e8)](){var _0x3b996b=_0xe9a651;this[_0x3b996b(0x3a8)][_0x3b996b(0x21a)]({'priority':0x1,'interceptor':(_0x645617,_0x10fba8)=>_0x10fba8(_0x645617)[_0x3b996b(0x3f1)](_0x3266fe(async _0x35e42f=>{var _0x1d28ff=_0x3b996b;const _0xe1208b=_0x35e42f;if(_0xe1208b[_0x1d28ff(0x2d4)]===0x191){if(typeof window>'u')throw new Error(_0x1d28ff(0x39d));if(window[_0x1d28ff(0x19c)](this[_0x1d28ff(0x221)]['t'](_0x1d28ff(0x153)))){const _0x324ef3=window[_0x1d28ff(0x3da)](window[_0x1d28ff(0x36b)]['href']);window[_0x1d28ff(0x36b)][_0x1d28ff(0x21e)]=this['_getLoginPath']()+_0x1d28ff(0x249)+_0x324ef3;}}return _0xe1208b;}))});}['_getLoginPath'](){var _0xa1d7c9=_0xe9a651,_0x49bc91,_0x5a6a92;const _0x4113a1=this[_0xa1d7c9(0x292)]['getConfig'](ys),_0x20cc2b=this['_configService']['getConfig'](K);return(_0x5a6a92=(_0x49bc91=_0x20cc2b==null?void 0x0:_0x20cc2b[_0xa1d7c9(0x298)])!=null?_0x49bc91:_0x4113a1)!=null?_0x5a6a92:Ns;}};rt=on([dt(0x0,_0x17539a),dt(0x1,_0x5c4cb1(_0x8c9022)),dt(0x2,_0x5c4cb1(_0x25bf21))],rt);var cn=Object[_0xe9a651(0x2ae)],hn=(_0x4bb7a6,_0x51cf70,_0x1e9a4d,_0x39897c)=>{var _0x41f641=_0xe9a651;for(var _0x39296a=_0x39897c>0x1?void 0x0:_0x39897c?cn(_0x51cf70,_0x1e9a4d):_0x51cf70,_0x248c35=_0x4bb7a6[_0x41f641(0x340)]-0x1,_0x405eab;_0x248c35>=0x0;_0x248c35--)(_0x405eab=_0x4bb7a6[_0x248c35])&&(_0x39296a=_0x405eab(_0x39296a)||_0x39296a);return _0x39296a;},Kt=(_0x379bea,_0x23833a)=>(_0x53e6c2,_0x3c1a7e)=>_0x23833a(_0x53e6c2,_0x3c1a7e,_0x379bea);const bi='AUTHZ_URL_KEY',_n=_0xe9a651(0x426);let Tt=class extends _0x2b0e91{constructor(_0x117378,_0x3b96db){var _0xc4e1d4=_0xe9a651;super(),this['_HTTPService']=_0x117378,this[_0xc4e1d4(0x292)]=_0x3b96db,this[_0xc4e1d4(0x35d)]();}[_0xe9a651(0x35d)](){var _0x48d973=_0xe9a651;const _0x228b69=this;this['disposeWithMe'](this['_HTTPService'][_0x48d973(0x21a)]({'priority':0x3e7,'interceptor':_0x3d2ef1({'isMatch'(_0x540036){var _0x12f08c=_0x48d973,_0x2fe1bc;if(_0x540036[_0x12f08c(0x211)]===_0x12f08c(0x2c2)&&((_0x2fe1bc=_0x540036[_0x12f08c(0x22d)])!=null&&_0x2fe1bc[_0x12f08c(0x14c)])){const {objectID:_0x2b1c46,objectType:_0x3da0ec}=_0x540036[_0x12f08c(0x22d)]['body']||{};if(!_0x2b1c46||_0x3da0ec===void 0x0)return!0x1;const _0x1a8673=_0x228b69[_0x12f08c(0x3ac)]()+'/'+_0x3da0ec+_0x12f08c(0x3b7)+_0x2b1c46+_0x12f08c(0x329);if(_0x540036['url']===_0x1a8673)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x6d5b69){var _0x29af20=_0x48d973,_0x355195;return(_0x355195=_0x6d5b69['requestParams'])==null?void 0x0:_0x355195[_0x29af20(0x14c)];},'mergeParamsToRequest'(_0x4eccf9,_0x5ce97b){var _0x183445=_0x48d973;const _0x7c036a=_0x228b69['_getAPIPrefixPath']()+_0x183445(0x19b),_0x580a57=_0x4eccf9[_0x183445(0x3f4)]((_0xd44396,_0x3ed76b)=>{var _0x40bdb2=_0x183445;const {unitID:_0x39d3aa,objectID:_0x51a1d1,objectType:_0x1f7822,actions:_0x11f15d}=_0x3ed76b;return _0xd44396[_0x39d3aa]||(_0xd44396[_0x39d3aa]={}),_0xd44396[_0x39d3aa][_0x51a1d1]||(_0xd44396[_0x39d3aa][_0x51a1d1]={'objectID':_0x51a1d1,'objectType':_0x1f7822,'actions':[]}),_0xd44396[_0x39d3aa][_0x51a1d1][_0x40bdb2(0x32e)][_0x40bdb2(0x20b)](..._0x11f15d),_0xd44396;},{}),_0x686493=[];for(const _0x74cc86 in _0x580a57)for(const _0x1111bf in _0x580a57[_0x74cc86]){const {actions:_0x5ba012,objectType:_0x24527e}=_0x580a57[_0x74cc86][_0x1111bf],_0x47299a=[...new Set(_0x5ba012)];_0x686493[_0x183445(0x20b)]({'unitID':_0x74cc86,'objectID':_0x1111bf,'objectType':_0x24527e,'actions':_0x47299a});}return new _0x23a1ba('POST',_0x7c036a,{'headers':_0x5ce97b[_0x183445(0x23d)],'withCredentials':_0x5ce97b[_0x183445(0x27f)],'responseType':_0x5ce97b['responseType'],'body':{'requests':_0x686493}});}},{'distributeResult'(_0x529405,_0x1c9390){var _0x1986cc=_0x48d973;const {objectActions:_0x206e82}=_0x529405;return _0x1c9390[_0x1986cc(0x145)](_0x114aaa=>{var _0x196438=_0x1986cc;const {unitID:_0x235c35,objectID:_0x354b22,actions:_0x1836e1}=_0x114aaa,_0x16dcb8=_0x206e82[_0x196438(0x395)](_0x566f6c=>_0x566f6c[_0x196438(0x3d4)]===_0x235c35&&_0x566f6c['objectID']===_0x354b22),_0x2eac0a=_0x1836e1['map'](_0x418902=>_0x16dcb8==null?void 0x0:_0x16dcb8[_0x196438(0x32e)][_0x196438(0x395)](_0x42c663=>_0x42c663[_0x196438(0x223)]===_0x418902))[_0x196438(0x1bc)](_0x5c2aa3=>!!_0x5c2aa3);return{'config':_0x114aaa,'result':{'actions':_0x2eac0a,'error':_0x529405[_0x196438(0x354)]}};});}})}));}[_0xe9a651(0x3ac)](){var _0x562191=_0xe9a651,_0x18adfd,_0x35ddfa;const _0x2e535a=this['_configService'][_0x562191(0x33b)](bi),_0x227dfa=this[_0x562191(0x292)]['getConfig'](K);return(_0x35ddfa=(_0x18adfd=_0x227dfa==null?void 0x0:_0x227dfa[_0x562191(0x209)])!=null?_0x18adfd:_0x2e535a)!=null?_0x35ddfa:_n;}async[_0xe9a651(0x3e3)](_0x4124c5){var _0x4784bd=_0xe9a651;const _0x34f58d=this['_getAPIPrefixPath']()+'/'+_0x4124c5[_0x4784bd(0x29f)]+_0x4784bd(0x14b);return(await this['_HTTPService'][_0x4784bd(0x128)](_0x34f58d,{'body':_0x4124c5}))['body'][_0x4784bd(0x414)]||'';}async[_0xe9a651(0x264)](_0x55a723){var _0x460c96=_0xe9a651;const _0x1d920d=this[_0x460c96(0x3ac)]()+'/-/object/list';return(await this['_HTTPService'][_0x460c96(0x128)](_0x1d920d,{'body':_0x55a723}))['body']['objects'];}async[_0xe9a651(0x357)](_0x4805bf){var _0x561f95=_0xe9a651,_0x358da4,_0x45845d;const _0x128e5d=this['_getAPIPrefixPath']()+'/'+_0x4805bf['objectType']+_0x561f95(0x3b7)+_0x4805bf['objectID'],_0xdfbf31=await this[_0x561f95(0x2ab)][_0x561f95(0x194)](_0x128e5d,{'body':_0x4805bf});if(((_0x45845d=(_0x358da4=_0xdfbf31==null?void 0x0:_0xdfbf31[_0x561f95(0x14c)])==null?void 0x0:_0x358da4[_0x561f95(0x354)])==null?void 0x0:_0x45845d[_0x561f95(0x37b)])!==0x1)throw new Error(_0x561f95(0x164));}async[_0xe9a651(0x22a)](_0x4065c8){var _0x44838c=_0xe9a651;const _0x505d03=this[_0x44838c(0x3ac)]()+'/'+_0x4065c8[_0x44838c(0x29f)]+_0x44838c(0x3b7)+_0x4065c8[_0x44838c(0x414)]+_0x44838c(0x329);return(await this[_0x44838c(0x2ab)][_0x44838c(0x128)](_0x505d03,{'body':_0x4065c8}))[_0x44838c(0x14c)]['actions'];}async[_0xe9a651(0x3cb)](_0x4399a6){var _0x3d5662=_0xe9a651;const _0x4e12cd=this[_0x3d5662(0x3ac)]()+_0x3d5662(0x19b);return(await this[_0x3d5662(0x2ab)]['post'](_0x4e12cd,{'body':{'requests':_0x4399a6}}))[_0x3d5662(0x14c)][_0x3d5662(0x1f2)];}async[_0xe9a651(0x15f)](_0x199767){var _0x3be8be=_0xe9a651;const _0xc9de81=this[_0x3be8be(0x3ac)]()+'/'+_0x199767[_0x3be8be(0x29f)]+'/role',_0x326dd0=await this[_0x3be8be(0x2ab)][_0x3be8be(0x128)](_0xc9de81,{'body':_0x199767});return{'roles':_0x326dd0[_0x3be8be(0x14c)]['roles'],'actions':_0x326dd0[_0x3be8be(0x14c)][_0x3be8be(0x32e)]};}async['deleteCollaborator'](_0x2e5162){var _0x172810=_0xe9a651;const _0x17320a=this[_0x172810(0x3ac)]()+'/collaborator';await this['_HTTPService']['delete'](_0x17320a,{'params':{'collaboratorID':_0x2e5162['collaboratorID'],'objectID':_0x2e5162['objectID'],'unitID':_0x2e5162['unitID']}});}async[_0xe9a651(0x294)](_0x4d6703){var _0xb4c536=_0xe9a651;const _0x390c2b=this[_0xb4c536(0x3ac)]()+_0xb4c536(0x285);await this[_0xb4c536(0x2ab)][_0xb4c536(0x270)](_0x390c2b,{'body':_0x4d6703});}async['createCollaborator'](_0x49ac6a){var _0x2eb105=_0xe9a651;const _0x2c39a0=this[_0x2eb105(0x3ac)]()+_0x2eb105(0x285);await this[_0x2eb105(0x2ab)][_0x2eb105(0x128)](_0x2c39a0,{'body':_0x49ac6a});}async['listCollaborators'](_0x24067e){var _0x12e63c=_0xe9a651;const _0x4e40a9=this[_0x12e63c(0x3ac)]()+'/collaborator';return(await this['_HTTPService'][_0x12e63c(0x364)](_0x4e40a9,{'params':{'objectID':_0x24067e[_0x12e63c(0x414)],'unitID':_0x24067e[_0x12e63c(0x3d4)]}}))[_0x12e63c(0x14c)][_0x12e63c(0x15c)];}async[_0xe9a651(0x1ec)](_0x16b0ad){var _0x1d2fc7=_0xe9a651;const _0x436b8b=this[_0x1d2fc7(0x3ac)]()+_0x1d2fc7(0x285);await this['_HTTPService']['put'](_0x436b8b,{'body':_0x16b0ad});}};Tt=hn([Kt(0x0,_0x5c4cb1(_0x8c9022)),Kt(0x1,_0x5c4cb1(_0x17539a))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4c14c6){var _0x2d8dcd=_0xe9a651;return _0x4c14c6&&_0x4c14c6[_0x2d8dcd(0x1bf)]&&Object['prototype']['hasOwnProperty'][_0x2d8dcd(0x1ff)](_0x4c14c6,_0x2d8dcd(0x3bd))?_0x4c14c6[_0x2d8dcd(0x3bd)]:_0x4c14c6;}var Ve={'exports':{}};function ln(_0x7b6b0){var _0x2c6d12=_0xe9a651;throw new Error(_0x2c6d12(0x232)+_0x7b6b0+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},un=Ge[_0xe9a651(0x2a8)],qt;function te(){var _0x32a3b5=_0xe9a651;return qt||(qt=0x1,function(_0xca10bb,_0x1a4c89){(function(_0xc39fd7,_0x99b6a3){_0xca10bb['exports']=_0x99b6a3();}(un,function(){var _0x3b8e27=_0x3b8e27||function(_0x1e9c37,_0x45bf45){var _0x4d2b88=_0x138f,_0x238564;if(typeof window<'u'&&window['crypto']&&(_0x238564=window[_0x4d2b88(0x30e)]),typeof self<'u'&&self['crypto']&&(_0x238564=self[_0x4d2b88(0x30e)]),typeof globalThis<'u'&&globalThis[_0x4d2b88(0x30e)]&&(_0x238564=globalThis[_0x4d2b88(0x30e)]),!_0x238564&&typeof window<'u'&&window[_0x4d2b88(0x2f6)]&&(_0x238564=window[_0x4d2b88(0x2f6)]),!_0x238564&&typeof ft<'u'&&ft[_0x4d2b88(0x30e)]&&(_0x238564=ft[_0x4d2b88(0x30e)]),!_0x238564&&typeof ln==_0x4d2b88(0x39f))try{_0x238564=require(_0x4d2b88(0x30e));}catch{}var _0xa86ac5=function(){var _0x47c41b=_0x4d2b88;if(_0x238564){if(typeof _0x238564[_0x47c41b(0x29a)]=='function')try{return _0x238564[_0x47c41b(0x29a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x238564[_0x47c41b(0x34d)]==_0x47c41b(0x39f))try{return _0x238564[_0x47c41b(0x34d)](0x4)[_0x47c41b(0x133)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x30a2df=Object[_0x4d2b88(0x3e3)]||(function(){function _0x4b85d5(){}return function(_0x623596){var _0x48351f=_0x138f,_0x3e971a;return _0x4b85d5[_0x48351f(0x34e)]=_0x623596,_0x3e971a=new _0x4b85d5(),_0x4b85d5['prototype']=null,_0x3e971a;};}()),_0x1ba91a={},_0xf37355=_0x1ba91a['lib']={},_0xcd357a=_0xf37355['Base']=(function(){return{'extend':function(_0x3a270d){var _0x34b184=_0x138f,_0x511f7c=_0x30a2df(this);return _0x3a270d&&_0x511f7c[_0x34b184(0x1be)](_0x3a270d),(!_0x511f7c[_0x34b184(0x37a)](_0x34b184(0x3e8))||this['init']===_0x511f7c[_0x34b184(0x3e8)])&&(_0x511f7c['init']=function(){var _0x284839=_0x34b184;_0x511f7c[_0x284839(0x235)]['init']['apply'](this,arguments);}),_0x511f7c[_0x34b184(0x3e8)][_0x34b184(0x34e)]=_0x511f7c,_0x511f7c['$super']=this,_0x511f7c;},'create':function(){var _0x458591=_0x138f,_0x2e58ab=this['extend']();return _0x2e58ab[_0x458591(0x3e8)][_0x458591(0x123)](_0x2e58ab,arguments),_0x2e58ab;},'init':function(){},'mixIn':function(_0x46f6b0){var _0x271ead=_0x138f;for(var _0x2771e5 in _0x46f6b0)_0x46f6b0['hasOwnProperty'](_0x2771e5)&&(this[_0x2771e5]=_0x46f6b0[_0x2771e5]);_0x46f6b0['hasOwnProperty'](_0x271ead(0x1f8))&&(this[_0x271ead(0x1f8)]=_0x46f6b0['toString']);},'clone':function(){var _0x1cd984=_0x138f;return this[_0x1cd984(0x3e8)]['prototype']['extend'](this);}};}()),_0xdd2bdb=_0xf37355[_0x4d2b88(0x420)]=_0xcd357a[_0x4d2b88(0x401)]({'init':function(_0x1c3ada,_0x1f1366){var _0x5c50e2=_0x4d2b88;_0x1c3ada=this[_0x5c50e2(0x210)]=_0x1c3ada||[],_0x1f1366!=_0x45bf45?this['sigBytes']=_0x1f1366:this[_0x5c50e2(0x2c0)]=_0x1c3ada[_0x5c50e2(0x340)]*0x4;},'toString':function(_0x2da10b){var _0x444163=_0x4d2b88;return(_0x2da10b||_0x338b8c)[_0x444163(0x342)](this);},'concat':function(_0x2e3b6a){var _0x2ca876=_0x4d2b88,_0xd49928=this['words'],_0x1d9ac4=_0x2e3b6a[_0x2ca876(0x210)],_0x121860=this['sigBytes'],_0x5d6792=_0x2e3b6a[_0x2ca876(0x2c0)];if(this[_0x2ca876(0x424)](),_0x121860%0x4)for(var _0x1d61fe=0x0;_0x1d61fe<_0x5d6792;_0x1d61fe++){var _0x15034a=_0x1d9ac4[_0x1d61fe>>>0x2]>>>0x18-_0x1d61fe%0x4*0x8&0xff;_0xd49928[_0x121860+_0x1d61fe>>>0x2]|=_0x15034a<<0x18-(_0x121860+_0x1d61fe)%0x4*0x8;}else{for(var _0x1158de=0x0;_0x1158de<_0x5d6792;_0x1158de+=0x4)_0xd49928[_0x121860+_0x1158de>>>0x2]=_0x1d9ac4[_0x1158de>>>0x2];}return this[_0x2ca876(0x2c0)]+=_0x5d6792,this;},'clamp':function(){var _0x1ef7b9=_0x4d2b88,_0x499adf=this['words'],_0x3bd2cb=this[_0x1ef7b9(0x2c0)];_0x499adf[_0x3bd2cb>>>0x2]&=0xffffffff<<0x20-_0x3bd2cb%0x4*0x8,_0x499adf[_0x1ef7b9(0x340)]=_0x1e9c37[_0x1ef7b9(0x37e)](_0x3bd2cb/0x4);},'clone':function(){var _0x476c03=_0x4d2b88,_0x3f3ce7=_0xcd357a[_0x476c03(0x169)][_0x476c03(0x1ff)](this);return _0x3f3ce7['words']=this[_0x476c03(0x210)][_0x476c03(0x26d)](0x0),_0x3f3ce7;},'random':function(_0x1464b7){var _0x3da492=_0x4d2b88;for(var _0x1c7177=[],_0x5d4568=0x0;_0x5d4568<_0x1464b7;_0x5d4568+=0x4)_0x1c7177[_0x3da492(0x20b)](_0xa86ac5());return new _0xdd2bdb[(_0x3da492(0x3e8))](_0x1c7177,_0x1464b7);}}),_0x136ec5=_0x1ba91a[_0x4d2b88(0x281)]={},_0x338b8c=_0x136ec5[_0x4d2b88(0x1c1)]={'stringify':function(_0x1687ab){var _0x320b07=_0x4d2b88;for(var _0x104831=_0x1687ab[_0x320b07(0x210)],_0x29ece7=_0x1687ab[_0x320b07(0x2c0)],_0x106bf2=[],_0x25e999=0x0;_0x25e999<_0x29ece7;_0x25e999++){var _0x14968d=_0x104831[_0x25e999>>>0x2]>>>0x18-_0x25e999%0x4*0x8&0xff;_0x106bf2[_0x320b07(0x20b)]((_0x14968d>>>0x4)['toString'](0x10)),_0x106bf2['push']((_0x14968d&0xf)[_0x320b07(0x1f8)](0x10));}return _0x106bf2['join']('');},'parse':function(_0x3ddc0a){var _0x3a46f4=_0x4d2b88;for(var _0x2e082c=_0x3ddc0a[_0x3a46f4(0x340)],_0x551366=[],_0x37e4d1=0x0;_0x37e4d1<_0x2e082c;_0x37e4d1+=0x2)_0x551366[_0x37e4d1>>>0x3]|=parseInt(_0x3ddc0a[_0x3a46f4(0x1f9)](_0x37e4d1,0x2),0x10)<<0x18-_0x37e4d1%0x8*0x4;return new _0xdd2bdb['init'](_0x551366,_0x2e082c/0x2);}},_0x5094b3=_0x136ec5[_0x4d2b88(0x248)]={'stringify':function(_0x798dd8){var _0x1c239a=_0x4d2b88;for(var _0x55c769=_0x798dd8[_0x1c239a(0x210)],_0x929af2=_0x798dd8['sigBytes'],_0x520c6e=[],_0x1e5082=0x0;_0x1e5082<_0x929af2;_0x1e5082++){var _0x37e4f8=_0x55c769[_0x1e5082>>>0x2]>>>0x18-_0x1e5082%0x4*0x8&0xff;_0x520c6e[_0x1c239a(0x20b)](String[_0x1c239a(0x1b1)](_0x37e4f8));}return _0x520c6e['join']('');},'parse':function(_0x58a7f3){var _0x4df8b3=_0x4d2b88;for(var _0x5db7df=_0x58a7f3[_0x4df8b3(0x340)],_0x5a8aa6=[],_0x3df299=0x0;_0x3df299<_0x5db7df;_0x3df299++)_0x5a8aa6[_0x3df299>>>0x2]|=(_0x58a7f3[_0x4df8b3(0x26b)](_0x3df299)&0xff)<<0x18-_0x3df299%0x4*0x8;return new _0xdd2bdb['init'](_0x5a8aa6,_0x5db7df);}},_0xfce7e7=_0x136ec5[_0x4d2b88(0x391)]={'stringify':function(_0x4d92a6){var _0x4738e0=_0x4d2b88;try{return decodeURIComponent(escape(_0x5094b3[_0x4738e0(0x342)](_0x4d92a6)));}catch{throw new Error(_0x4738e0(0x134));}},'parse':function(_0x51882a){var _0x2423e4=_0x4d2b88;return _0x5094b3[_0x2423e4(0x36a)](unescape(encodeURIComponent(_0x51882a)));}},_0x185986=_0xf37355[_0x4d2b88(0x208)]=_0xcd357a[_0x4d2b88(0x401)]({'reset':function(){var _0x48e857=_0x4d2b88;this[_0x48e857(0x1e2)]=new _0xdd2bdb[(_0x48e857(0x3e8))](),this[_0x48e857(0x41b)]=0x0;},'_append':function(_0x38c36a){var _0x553678=_0x4d2b88;typeof _0x38c36a==_0x553678(0x19f)&&(_0x38c36a=_0xfce7e7[_0x553678(0x36a)](_0x38c36a)),this['_data']['concat'](_0x38c36a),this[_0x553678(0x41b)]+=_0x38c36a[_0x553678(0x2c0)];},'_process':function(_0x16af13){var _0x2352c0=_0x4d2b88,_0xd09686,_0x27b1a8=this[_0x2352c0(0x1e2)],_0x2417f3=_0x27b1a8[_0x2352c0(0x210)],_0x1f4560=_0x27b1a8['sigBytes'],_0x2f888a=this[_0x2352c0(0x23f)],_0x306fba=_0x2f888a*0x4,_0x4fdc8b=_0x1f4560/_0x306fba;_0x16af13?_0x4fdc8b=_0x1e9c37[_0x2352c0(0x37e)](_0x4fdc8b):_0x4fdc8b=_0x1e9c37['max']((_0x4fdc8b|0x0)-this[_0x2352c0(0x2d5)],0x0);var _0x29209b=_0x4fdc8b*_0x2f888a,_0x47fb4c=_0x1e9c37[_0x2352c0(0x2f4)](_0x29209b*0x4,_0x1f4560);if(_0x29209b){for(var _0x1bd5ef=0x0;_0x1bd5ef<_0x29209b;_0x1bd5ef+=_0x2f888a)this[_0x2352c0(0x1b8)](_0x2417f3,_0x1bd5ef);_0xd09686=_0x2417f3[_0x2352c0(0x1c7)](0x0,_0x29209b),_0x27b1a8[_0x2352c0(0x2c0)]-=_0x47fb4c;}return new _0xdd2bdb[(_0x2352c0(0x3e8))](_0xd09686,_0x47fb4c);},'clone':function(){var _0x2e845f=_0x4d2b88,_0x30f852=_0xcd357a['clone'][_0x2e845f(0x1ff)](this);return _0x30f852[_0x2e845f(0x1e2)]=this[_0x2e845f(0x1e2)][_0x2e845f(0x169)](),_0x30f852;},'_minBufferSize':0x0});_0xf37355[_0x4d2b88(0x3e7)]=_0x185986['extend']({'cfg':_0xcd357a[_0x4d2b88(0x401)](),'init':function(_0x7741f0){var _0x333151=_0x4d2b88;this[_0x333151(0x40b)]=this[_0x333151(0x40b)][_0x333151(0x401)](_0x7741f0),this['reset']();},'reset':function(){var _0x25e413=_0x4d2b88;_0x185986['reset'][_0x25e413(0x1ff)](this),this[_0x25e413(0x2c5)]();},'update':function(_0x11dc67){var _0x6e8f26=_0x4d2b88;return this['_append'](_0x11dc67),this[_0x6e8f26(0x2a5)](),this;},'finalize':function(_0x3b4b56){_0x3b4b56&&this['_append'](_0x3b4b56);var _0x163dd0=this['_doFinalize']();return _0x163dd0;},'blockSize':0x10,'_createHelper':function(_0x51ab1a){return function(_0x23209c,_0x2a2f3c){var _0x545c79=_0x138f;return new _0x51ab1a[(_0x545c79(0x3e8))](_0x2a2f3c)[_0x545c79(0x411)](_0x23209c);};},'_createHmacHelper':function(_0x3480e0){return function(_0x464f4c,_0x3537a9){var _0x4e210f=_0x138f;return new _0x13a248[(_0x4e210f(0x373))][(_0x4e210f(0x3e8))](_0x3480e0,_0x3537a9)[_0x4e210f(0x411)](_0x464f4c);};}});var _0x13a248=_0x1ba91a[_0x4d2b88(0x127)]={};return _0x1ba91a;}(Math);return _0x3b8e27;}));}(Ge)),Ge[_0x32a3b5(0x2a8)];}var We={'exports':{}},dn=We['exports'],zt;function Oi(){var _0x34da3d=_0xe9a651;return zt||(zt=0x1,function(_0xc150d8,_0x1e0968){(function(_0x255879,_0x5a5ed5){_0xc150d8['exports']=_0x5a5ed5(te());}(dn,function(_0x1c76b4){var _0xec50af=_0x138f;return(function(){var _0x34ff37=_0x138f,_0x5e63f4=_0x1c76b4,_0x3e5195=_0x5e63f4[_0x34ff37(0x1a0)],_0x3f0e6b=_0x3e5195[_0x34ff37(0x420)],_0x583692=_0x5e63f4[_0x34ff37(0x281)];_0x583692[_0x34ff37(0x3bf)]={'stringify':function(_0x4f2a90){var _0x48b4d4=_0x34ff37,_0x376604=_0x4f2a90[_0x48b4d4(0x210)],_0x7d57ec=_0x4f2a90['sigBytes'],_0x5641c2=this[_0x48b4d4(0x396)];_0x4f2a90[_0x48b4d4(0x424)]();for(var _0x4696de=[],_0x3090=0x0;_0x3090<_0x7d57ec;_0x3090+=0x3)for(var _0x13289e=_0x376604[_0x3090>>>0x2]>>>0x18-_0x3090%0x4*0x8&0xff,_0x3205e2=_0x376604[_0x3090+0x1>>>0x2]>>>0x18-(_0x3090+0x1)%0x4*0x8&0xff,_0x4aa1f5=_0x376604[_0x3090+0x2>>>0x2]>>>0x18-(_0x3090+0x2)%0x4*0x8&0xff,_0x426841=_0x13289e<<0x10|_0x3205e2<<0x8|_0x4aa1f5,_0x41b498=0x0;_0x41b498<0x4&&_0x3090+_0x41b498*0.75<_0x7d57ec;_0x41b498++)_0x4696de[_0x48b4d4(0x20b)](_0x5641c2['charAt'](_0x426841>>>0x6*(0x3-_0x41b498)&0x3f));var _0xaead4f=_0x5641c2[_0x48b4d4(0x301)](0x40);if(_0xaead4f){for(;_0x4696de[_0x48b4d4(0x340)]%0x4;)_0x4696de[_0x48b4d4(0x20b)](_0xaead4f);}return _0x4696de[_0x48b4d4(0x333)]('');},'parse':function(_0x55d4b6){var _0x2738f9=_0x34ff37,_0x4c4204=_0x55d4b6[_0x2738f9(0x340)],_0x54440b=this[_0x2738f9(0x396)],_0x593660=this[_0x2738f9(0x427)];if(!_0x593660){_0x593660=this[_0x2738f9(0x427)]=[];for(var _0x50146c=0x0;_0x50146c<_0x54440b[_0x2738f9(0x340)];_0x50146c++)_0x593660[_0x54440b[_0x2738f9(0x26b)](_0x50146c)]=_0x50146c;}var _0x381c82=_0x54440b[_0x2738f9(0x301)](0x40);if(_0x381c82){var _0x2f7f34=_0x55d4b6[_0x2738f9(0x297)](_0x381c82);_0x2f7f34!==-0x1&&(_0x4c4204=_0x2f7f34);}return _0x536104(_0x55d4b6,_0x4c4204,_0x593660);},'_map':_0x34ff37(0x273)};function _0x536104(_0xd004ea,_0xc3d1b5,_0x4c0b85){var _0x5ede0d=_0x34ff37;for(var _0x2cf581=[],_0x546419=0x0,_0x2a5f51=0x0;_0x2a5f51<_0xc3d1b5;_0x2a5f51++)if(_0x2a5f51%0x4){var _0x577595=_0x4c0b85[_0xd004ea[_0x5ede0d(0x26b)](_0x2a5f51-0x1)]<<_0x2a5f51%0x4*0x2,_0x570207=_0x4c0b85[_0xd004ea[_0x5ede0d(0x26b)](_0x2a5f51)]>>>0x6-_0x2a5f51%0x4*0x2,_0x505b8c=_0x577595|_0x570207;_0x2cf581[_0x546419>>>0x2]|=_0x505b8c<<0x18-_0x546419%0x4*0x8,_0x546419++;}return _0x3f0e6b['create'](_0x2cf581,_0x546419);}}()),_0x1c76b4[_0xec50af(0x281)][_0xec50af(0x3bf)];}));}(We)),We[_0x34da3d(0x2a8)];}var Ye={'exports':{}},fn=Ye[_0xe9a651(0x2a8)],Jt;function vn(){var _0x46939d=_0xe9a651;return Jt||(Jt=0x1,function(_0x38d8ce,_0x2d3fc0){(function(_0x3e0800,_0x1efadd){var _0x1d212b=_0x138f;_0x38d8ce[_0x1d212b(0x2a8)]=_0x1efadd(te());}(fn,function(_0x4b85f7){var _0x549295=_0x138f;return function(_0x320632){var _0x82f929=_0x138f,_0x55df43=_0x4b85f7,_0x1b6a41=_0x55df43[_0x82f929(0x1a0)],_0x574973=_0x1b6a41['WordArray'],_0x4731ca=_0x1b6a41[_0x82f929(0x3e7)],_0x743123=_0x55df43[_0x82f929(0x127)],_0x2de794=[];(function(){var _0x379a4c=_0x82f929;for(var _0x57ea55=0x0;_0x57ea55<0x40;_0x57ea55++)_0x2de794[_0x57ea55]=_0x320632[_0x379a4c(0x17c)](_0x320632[_0x379a4c(0x38e)](_0x57ea55+0x1))*0x100000000|0x0;}());var _0x1b1ef8=_0x743123[_0x82f929(0x24f)]=_0x4731ca[_0x82f929(0x401)]({'_doReset':function(){var _0x84ff3e=_0x82f929;this[_0x84ff3e(0x1b0)]=new _0x574973[(_0x84ff3e(0x3e8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3ea0f9,_0x8a1954){var _0x72cd93=_0x82f929;for(var _0x303b29=0x0;_0x303b29<0x10;_0x303b29++){var _0x1e7dae=_0x8a1954+_0x303b29,_0x298b7b=_0x3ea0f9[_0x1e7dae];_0x3ea0f9[_0x1e7dae]=(_0x298b7b<<0x8|_0x298b7b>>>0x18)&0xff00ff|(_0x298b7b<<0x18|_0x298b7b>>>0x8)&0xff00ff00;}var _0x36095d=this[_0x72cd93(0x1b0)][_0x72cd93(0x210)],_0x52bf1b=_0x3ea0f9[_0x8a1954+0x0],_0x3811e5=_0x3ea0f9[_0x8a1954+0x1],_0x8095c9=_0x3ea0f9[_0x8a1954+0x2],_0x5f07a0=_0x3ea0f9[_0x8a1954+0x3],_0x54b22e=_0x3ea0f9[_0x8a1954+0x4],_0x54e649=_0x3ea0f9[_0x8a1954+0x5],_0x40fda1=_0x3ea0f9[_0x8a1954+0x6],_0x1827fa=_0x3ea0f9[_0x8a1954+0x7],_0x403eef=_0x3ea0f9[_0x8a1954+0x8],_0x1bae0f=_0x3ea0f9[_0x8a1954+0x9],_0x14b461=_0x3ea0f9[_0x8a1954+0xa],_0x4e041c=_0x3ea0f9[_0x8a1954+0xb],_0x42ee9e=_0x3ea0f9[_0x8a1954+0xc],_0x686fd8=_0x3ea0f9[_0x8a1954+0xd],_0x43bc0b=_0x3ea0f9[_0x8a1954+0xe],_0x39f178=_0x3ea0f9[_0x8a1954+0xf],_0x238b03=_0x36095d[0x0],_0x136100=_0x36095d[0x1],_0x3a568a=_0x36095d[0x2],_0x48edf3=_0x36095d[0x3];_0x238b03=_0x49f115(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x52bf1b,0x7,_0x2de794[0x0]),_0x48edf3=_0x49f115(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x3811e5,0xc,_0x2de794[0x1]),_0x3a568a=_0x49f115(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x8095c9,0x11,_0x2de794[0x2]),_0x136100=_0x49f115(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x5f07a0,0x16,_0x2de794[0x3]),_0x238b03=_0x49f115(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x54b22e,0x7,_0x2de794[0x4]),_0x48edf3=_0x49f115(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x54e649,0xc,_0x2de794[0x5]),_0x3a568a=_0x49f115(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x40fda1,0x11,_0x2de794[0x6]),_0x136100=_0x49f115(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x1827fa,0x16,_0x2de794[0x7]),_0x238b03=_0x49f115(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x403eef,0x7,_0x2de794[0x8]),_0x48edf3=_0x49f115(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x1bae0f,0xc,_0x2de794[0x9]),_0x3a568a=_0x49f115(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x14b461,0x11,_0x2de794[0xa]),_0x136100=_0x49f115(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x4e041c,0x16,_0x2de794[0xb]),_0x238b03=_0x49f115(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x42ee9e,0x7,_0x2de794[0xc]),_0x48edf3=_0x49f115(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x686fd8,0xc,_0x2de794[0xd]),_0x3a568a=_0x49f115(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x43bc0b,0x11,_0x2de794[0xe]),_0x136100=_0x49f115(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x39f178,0x16,_0x2de794[0xf]),_0x238b03=_0x10d13e(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x3811e5,0x5,_0x2de794[0x10]),_0x48edf3=_0x10d13e(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x40fda1,0x9,_0x2de794[0x11]),_0x3a568a=_0x10d13e(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x4e041c,0xe,_0x2de794[0x12]),_0x136100=_0x10d13e(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x52bf1b,0x14,_0x2de794[0x13]),_0x238b03=_0x10d13e(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x54e649,0x5,_0x2de794[0x14]),_0x48edf3=_0x10d13e(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x14b461,0x9,_0x2de794[0x15]),_0x3a568a=_0x10d13e(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x39f178,0xe,_0x2de794[0x16]),_0x136100=_0x10d13e(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x54b22e,0x14,_0x2de794[0x17]),_0x238b03=_0x10d13e(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x1bae0f,0x5,_0x2de794[0x18]),_0x48edf3=_0x10d13e(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x43bc0b,0x9,_0x2de794[0x19]),_0x3a568a=_0x10d13e(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x5f07a0,0xe,_0x2de794[0x1a]),_0x136100=_0x10d13e(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x403eef,0x14,_0x2de794[0x1b]),_0x238b03=_0x10d13e(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x686fd8,0x5,_0x2de794[0x1c]),_0x48edf3=_0x10d13e(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x8095c9,0x9,_0x2de794[0x1d]),_0x3a568a=_0x10d13e(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x1827fa,0xe,_0x2de794[0x1e]),_0x136100=_0x10d13e(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x42ee9e,0x14,_0x2de794[0x1f]),_0x238b03=_0x33b158(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x54e649,0x4,_0x2de794[0x20]),_0x48edf3=_0x33b158(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x403eef,0xb,_0x2de794[0x21]),_0x3a568a=_0x33b158(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x4e041c,0x10,_0x2de794[0x22]),_0x136100=_0x33b158(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x43bc0b,0x17,_0x2de794[0x23]),_0x238b03=_0x33b158(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x3811e5,0x4,_0x2de794[0x24]),_0x48edf3=_0x33b158(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x54b22e,0xb,_0x2de794[0x25]),_0x3a568a=_0x33b158(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x1827fa,0x10,_0x2de794[0x26]),_0x136100=_0x33b158(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x14b461,0x17,_0x2de794[0x27]),_0x238b03=_0x33b158(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x686fd8,0x4,_0x2de794[0x28]),_0x48edf3=_0x33b158(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x52bf1b,0xb,_0x2de794[0x29]),_0x3a568a=_0x33b158(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x5f07a0,0x10,_0x2de794[0x2a]),_0x136100=_0x33b158(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x40fda1,0x17,_0x2de794[0x2b]),_0x238b03=_0x33b158(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x1bae0f,0x4,_0x2de794[0x2c]),_0x48edf3=_0x33b158(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x42ee9e,0xb,_0x2de794[0x2d]),_0x3a568a=_0x33b158(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x39f178,0x10,_0x2de794[0x2e]),_0x136100=_0x33b158(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x8095c9,0x17,_0x2de794[0x2f]),_0x238b03=_0x15c4c9(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x52bf1b,0x6,_0x2de794[0x30]),_0x48edf3=_0x15c4c9(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x1827fa,0xa,_0x2de794[0x31]),_0x3a568a=_0x15c4c9(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x43bc0b,0xf,_0x2de794[0x32]),_0x136100=_0x15c4c9(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x54e649,0x15,_0x2de794[0x33]),_0x238b03=_0x15c4c9(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x42ee9e,0x6,_0x2de794[0x34]),_0x48edf3=_0x15c4c9(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x5f07a0,0xa,_0x2de794[0x35]),_0x3a568a=_0x15c4c9(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x14b461,0xf,_0x2de794[0x36]),_0x136100=_0x15c4c9(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x3811e5,0x15,_0x2de794[0x37]),_0x238b03=_0x15c4c9(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x403eef,0x6,_0x2de794[0x38]),_0x48edf3=_0x15c4c9(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x39f178,0xa,_0x2de794[0x39]),_0x3a568a=_0x15c4c9(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x40fda1,0xf,_0x2de794[0x3a]),_0x136100=_0x15c4c9(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x686fd8,0x15,_0x2de794[0x3b]),_0x238b03=_0x15c4c9(_0x238b03,_0x136100,_0x3a568a,_0x48edf3,_0x54b22e,0x6,_0x2de794[0x3c]),_0x48edf3=_0x15c4c9(_0x48edf3,_0x238b03,_0x136100,_0x3a568a,_0x4e041c,0xa,_0x2de794[0x3d]),_0x3a568a=_0x15c4c9(_0x3a568a,_0x48edf3,_0x238b03,_0x136100,_0x8095c9,0xf,_0x2de794[0x3e]),_0x136100=_0x15c4c9(_0x136100,_0x3a568a,_0x48edf3,_0x238b03,_0x1bae0f,0x15,_0x2de794[0x3f]),_0x36095d[0x0]=_0x36095d[0x0]+_0x238b03|0x0,_0x36095d[0x1]=_0x36095d[0x1]+_0x136100|0x0,_0x36095d[0x2]=_0x36095d[0x2]+_0x3a568a|0x0,_0x36095d[0x3]=_0x36095d[0x3]+_0x48edf3|0x0;},'_doFinalize':function(){var _0x429db5=_0x82f929,_0x6ba0dc=this[_0x429db5(0x1e2)],_0x5eab0c=_0x6ba0dc[_0x429db5(0x210)],_0x310b4f=this[_0x429db5(0x41b)]*0x8,_0xc20a20=_0x6ba0dc['sigBytes']*0x8;_0x5eab0c[_0xc20a20>>>0x5]|=0x80<<0x18-_0xc20a20%0x20;var _0x83283a=_0x320632[_0x429db5(0x387)](_0x310b4f/0x100000000),_0x532347=_0x310b4f;_0x5eab0c[(_0xc20a20+0x40>>>0x9<<0x4)+0xf]=(_0x83283a<<0x8|_0x83283a>>>0x18)&0xff00ff|(_0x83283a<<0x18|_0x83283a>>>0x8)&0xff00ff00,_0x5eab0c[(_0xc20a20+0x40>>>0x9<<0x4)+0xe]=(_0x532347<<0x8|_0x532347>>>0x18)&0xff00ff|(_0x532347<<0x18|_0x532347>>>0x8)&0xff00ff00,_0x6ba0dc[_0x429db5(0x2c0)]=(_0x5eab0c[_0x429db5(0x340)]+0x1)*0x4,this[_0x429db5(0x2a5)]();for(var _0x575a97=this[_0x429db5(0x1b0)],_0xa558c7=_0x575a97[_0x429db5(0x210)],_0x3e41bc=0x0;_0x3e41bc<0x4;_0x3e41bc++){var _0x42aea6=_0xa558c7[_0x3e41bc];_0xa558c7[_0x3e41bc]=(_0x42aea6<<0x8|_0x42aea6>>>0x18)&0xff00ff|(_0x42aea6<<0x18|_0x42aea6>>>0x8)&0xff00ff00;}return _0x575a97;},'clone':function(){var _0x57140a=_0x82f929,_0x5475c1=_0x4731ca['clone'][_0x57140a(0x1ff)](this);return _0x5475c1[_0x57140a(0x1b0)]=this[_0x57140a(0x1b0)][_0x57140a(0x169)](),_0x5475c1;}});function _0x49f115(_0x4447f0,_0x2bb37a,_0x4f144c,_0x2f7670,_0x109f80,_0x3b4d68,_0x216453){var _0x1bd74c=_0x4447f0+(_0x2bb37a&_0x4f144c|~_0x2bb37a&_0x2f7670)+_0x109f80+_0x216453;return(_0x1bd74c<<_0x3b4d68|_0x1bd74c>>>0x20-_0x3b4d68)+_0x2bb37a;}function _0x10d13e(_0x2a3154,_0x283b33,_0x473f4e,_0x2775f6,_0x54951b,_0x5880e6,_0x572184){var _0x56a738=_0x2a3154+(_0x283b33&_0x2775f6|_0x473f4e&~_0x2775f6)+_0x54951b+_0x572184;return(_0x56a738<<_0x5880e6|_0x56a738>>>0x20-_0x5880e6)+_0x283b33;}function _0x33b158(_0x247a68,_0x36b39d,_0x339c49,_0x5b277f,_0x28f94e,_0x5b95be,_0x44f138){var _0xf6605e=_0x247a68+(_0x36b39d^_0x339c49^_0x5b277f)+_0x28f94e+_0x44f138;return(_0xf6605e<<_0x5b95be|_0xf6605e>>>0x20-_0x5b95be)+_0x36b39d;}function _0x15c4c9(_0x4c7802,_0x26928f,_0x454def,_0x5e5416,_0x2b48cc,_0x5db56f,_0x336680){var _0x49a9e1=_0x4c7802+(_0x454def^(_0x26928f|~_0x5e5416))+_0x2b48cc+_0x336680;return(_0x49a9e1<<_0x5db56f|_0x49a9e1>>>0x20-_0x5db56f)+_0x26928f;}_0x55df43[_0x82f929(0x24f)]=_0x4731ca[_0x82f929(0x322)](_0x1b1ef8),_0x55df43[_0x82f929(0x23b)]=_0x4731ca[_0x82f929(0x393)](_0x1b1ef8);}(Math),_0x4b85f7[_0x549295(0x24f)];}));}(Ye)),Ye[_0x46939d(0x2a8)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0xe9a651(0x2a8)],Xt;function mn(){return Xt||(Xt=0x1,function(_0x1f69d2,_0x2acf29){(function(_0x3d8d8d,_0x70de8c){var _0x43104a=_0x138f;_0x1f69d2[_0x43104a(0x2a8)]=_0x70de8c(te());}(pn,function(_0x4c751a){var _0x38cc69=_0x138f;return(function(){var _0x4da93a=_0x138f,_0x27aa74=_0x4c751a,_0x266ba3=_0x27aa74[_0x4da93a(0x1a0)],_0x17b1a8=_0x266ba3[_0x4da93a(0x420)],_0x499abc=_0x266ba3['Hasher'],_0x278ecd=_0x27aa74[_0x4da93a(0x127)],_0x2678b9=[],_0x14852a=_0x278ecd[_0x4da93a(0x156)]=_0x499abc[_0x4da93a(0x401)]({'_doReset':function(){var _0x1b2002=_0x4da93a;this[_0x1b2002(0x1b0)]=new _0x17b1a8['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x43e843,_0x5914cb){var _0x4f13ec=_0x4da93a;for(var _0x5c721b=this[_0x4f13ec(0x1b0)][_0x4f13ec(0x210)],_0x1e86ab=_0x5c721b[0x0],_0x1ac5f4=_0x5c721b[0x1],_0xc82ace=_0x5c721b[0x2],_0x41dc77=_0x5c721b[0x3],_0x1d4c23=_0x5c721b[0x4],_0x9607e1=0x0;_0x9607e1<0x50;_0x9607e1++){if(_0x9607e1<0x10)_0x2678b9[_0x9607e1]=_0x43e843[_0x5914cb+_0x9607e1]|0x0;else{var _0xf778b3=_0x2678b9[_0x9607e1-0x3]^_0x2678b9[_0x9607e1-0x8]^_0x2678b9[_0x9607e1-0xe]^_0x2678b9[_0x9607e1-0x10];_0x2678b9[_0x9607e1]=_0xf778b3<<0x1|_0xf778b3>>>0x1f;}var _0xa2bd4a=(_0x1e86ab<<0x5|_0x1e86ab>>>0x1b)+_0x1d4c23+_0x2678b9[_0x9607e1];_0x9607e1<0x14?_0xa2bd4a+=(_0x1ac5f4&_0xc82ace|~_0x1ac5f4&_0x41dc77)+0x5a827999:_0x9607e1<0x28?_0xa2bd4a+=(_0x1ac5f4^_0xc82ace^_0x41dc77)+0x6ed9eba1:_0x9607e1<0x3c?_0xa2bd4a+=(_0x1ac5f4&_0xc82ace|_0x1ac5f4&_0x41dc77|_0xc82ace&_0x41dc77)-0x70e44324:_0xa2bd4a+=(_0x1ac5f4^_0xc82ace^_0x41dc77)-0x359d3e2a,_0x1d4c23=_0x41dc77,_0x41dc77=_0xc82ace,_0xc82ace=_0x1ac5f4<<0x1e|_0x1ac5f4>>>0x2,_0x1ac5f4=_0x1e86ab,_0x1e86ab=_0xa2bd4a;}_0x5c721b[0x0]=_0x5c721b[0x0]+_0x1e86ab|0x0,_0x5c721b[0x1]=_0x5c721b[0x1]+_0x1ac5f4|0x0,_0x5c721b[0x2]=_0x5c721b[0x2]+_0xc82ace|0x0,_0x5c721b[0x3]=_0x5c721b[0x3]+_0x41dc77|0x0,_0x5c721b[0x4]=_0x5c721b[0x4]+_0x1d4c23|0x0;},'_doFinalize':function(){var _0x49496f=_0x4da93a,_0x7b8c53=this[_0x49496f(0x1e2)],_0x18c6fc=_0x7b8c53[_0x49496f(0x210)],_0x4977c2=this[_0x49496f(0x41b)]*0x8,_0x282e90=_0x7b8c53[_0x49496f(0x2c0)]*0x8;return _0x18c6fc[_0x282e90>>>0x5]|=0x80<<0x18-_0x282e90%0x20,_0x18c6fc[(_0x282e90+0x40>>>0x9<<0x4)+0xe]=Math[_0x49496f(0x387)](_0x4977c2/0x100000000),_0x18c6fc[(_0x282e90+0x40>>>0x9<<0x4)+0xf]=_0x4977c2,_0x7b8c53[_0x49496f(0x2c0)]=_0x18c6fc['length']*0x4,this['_process'](),this[_0x49496f(0x1b0)];},'clone':function(){var _0x13bbdc=_0x4da93a,_0x2f809f=_0x499abc[_0x13bbdc(0x169)][_0x13bbdc(0x1ff)](this);return _0x2f809f[_0x13bbdc(0x1b0)]=this[_0x13bbdc(0x1b0)][_0x13bbdc(0x169)](),_0x2f809f;}});_0x27aa74[_0x4da93a(0x156)]=_0x499abc[_0x4da93a(0x322)](_0x14852a),_0x27aa74['HmacSHA1']=_0x499abc[_0x4da93a(0x393)](_0x14852a);}()),_0x4c751a[_0x38cc69(0x156)];}));}(qe)),qe['exports'];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){var _0x2c8b65=_0xe9a651;return Zt||(Zt=0x1,function(_0x34cd02,_0x7f9a93){(function(_0x4c4eca,_0x3848c4){_0x34cd02['exports']=_0x3848c4(te());}(gn,function(_0x3192a3){(function(){var _0x1fe2c4=_0x138f,_0x10ac86=_0x3192a3,_0x46a288=_0x10ac86[_0x1fe2c4(0x1a0)],_0xf4f23f=_0x46a288['Base'],_0x45eae1=_0x10ac86[_0x1fe2c4(0x281)],_0x4f91a8=_0x45eae1[_0x1fe2c4(0x391)],_0x7dd88f=_0x10ac86[_0x1fe2c4(0x127)];_0x7dd88f[_0x1fe2c4(0x373)]=_0xf4f23f['extend']({'init':function(_0x5a5436,_0x5efecc){var _0x5c8a96=_0x1fe2c4;_0x5a5436=this[_0x5c8a96(0x22f)]=new _0x5a5436[(_0x5c8a96(0x3e8))](),typeof _0x5efecc==_0x5c8a96(0x19f)&&(_0x5efecc=_0x4f91a8[_0x5c8a96(0x36a)](_0x5efecc));var _0x551ea6=_0x5a5436[_0x5c8a96(0x23f)],_0x23c9cd=_0x551ea6*0x4;_0x5efecc[_0x5c8a96(0x2c0)]>_0x23c9cd&&(_0x5efecc=_0x5a5436['finalize'](_0x5efecc)),_0x5efecc[_0x5c8a96(0x424)]();for(var _0xc7ab65=this[_0x5c8a96(0x1d0)]=_0x5efecc['clone'](),_0x400fb9=this[_0x5c8a96(0x38d)]=_0x5efecc[_0x5c8a96(0x169)](),_0x51e4cd=_0xc7ab65[_0x5c8a96(0x210)],_0x47dbb9=_0x400fb9[_0x5c8a96(0x210)],_0x54c3f2=0x0;_0x54c3f2<_0x551ea6;_0x54c3f2++)_0x51e4cd[_0x54c3f2]^=0x5c5c5c5c,_0x47dbb9[_0x54c3f2]^=0x36363636;_0xc7ab65[_0x5c8a96(0x2c0)]=_0x400fb9[_0x5c8a96(0x2c0)]=_0x23c9cd,this['reset']();},'reset':function(){var _0x1bc221=_0x1fe2c4,_0x2c0830=this['_hasher'];_0x2c0830[_0x1bc221(0x29d)](),_0x2c0830['update'](this[_0x1bc221(0x38d)]);},'update':function(_0x23e9a2){return this['_hasher']['update'](_0x23e9a2),this;},'finalize':function(_0x49dad8){var _0x1ad386=_0x1fe2c4,_0x174915=this[_0x1ad386(0x22f)],_0x399a2f=_0x174915[_0x1ad386(0x411)](_0x49dad8);_0x174915[_0x1ad386(0x29d)]();var _0x3e1b69=_0x174915[_0x1ad386(0x411)](this['_oKey'][_0x1ad386(0x169)]()[_0x1ad386(0x26e)](_0x399a2f));return _0x3e1b69;}});}());}));}(ze)),ze[_0x2c8b65(0x2a8)];}var En=Ke[_0xe9a651(0x2a8)],Qt;function yi(){var _0x304f41=_0xe9a651;return Qt||(Qt=0x1,function(_0x39b3a3,_0x5d070d){(function(_0x22c16b,_0x2045e7,_0x2c3b0d){var _0x288a99=_0x138f;_0x39b3a3[_0x288a99(0x2a8)]=_0x2045e7(te(),mn(),Sn());}(En,function(_0x587ce4){var _0x11ae91=_0x138f;return(function(){var _0x20b8d6=_0x138f,_0x1064cb=_0x587ce4,_0x3861cf=_0x1064cb[_0x20b8d6(0x1a0)],_0x1c9f45=_0x3861cf[_0x20b8d6(0x207)],_0x5bdfcc=_0x3861cf[_0x20b8d6(0x420)],_0x4aa34f=_0x1064cb['algo'],_0x1e0f54=_0x4aa34f['MD5'],_0x151103=_0x4aa34f[_0x20b8d6(0x3a2)]=_0x1c9f45[_0x20b8d6(0x401)]({'cfg':_0x1c9f45['extend']({'keySize':0x80/0x20,'hasher':_0x1e0f54,'iterations':0x1}),'init':function(_0x5110cc){var _0x4fa21c=_0x20b8d6;this['cfg']=this[_0x4fa21c(0x40b)][_0x4fa21c(0x401)](_0x5110cc);},'compute':function(_0x8d41b7,_0x547601){var _0x1ca1ba=_0x20b8d6;for(var _0x21429e,_0x38268d=this[_0x1ca1ba(0x40b)],_0x2e9e6d=_0x38268d[_0x1ca1ba(0x1db)][_0x1ca1ba(0x3e3)](),_0x316c49=_0x5bdfcc['create'](),_0xc9a252=_0x316c49[_0x1ca1ba(0x210)],_0x1f97a9=_0x38268d['keySize'],_0x7ccdda=_0x38268d[_0x1ca1ba(0x2c3)];_0xc9a252[_0x1ca1ba(0x340)]<_0x1f97a9;){_0x21429e&&_0x2e9e6d['update'](_0x21429e),_0x21429e=_0x2e9e6d[_0x1ca1ba(0x357)](_0x8d41b7)[_0x1ca1ba(0x411)](_0x547601),_0x2e9e6d[_0x1ca1ba(0x29d)]();for(var _0x1c4bf2=0x1;_0x1c4bf2<_0x7ccdda;_0x1c4bf2++)_0x21429e=_0x2e9e6d[_0x1ca1ba(0x411)](_0x21429e),_0x2e9e6d[_0x1ca1ba(0x29d)]();_0x316c49[_0x1ca1ba(0x26e)](_0x21429e);}return _0x316c49[_0x1ca1ba(0x2c0)]=_0x1f97a9*0x4,_0x316c49;}});_0x1064cb['EvpKDF']=function(_0xc009fd,_0x536147,_0x5a049e){var _0xdaf181=_0x20b8d6;return _0x151103[_0xdaf181(0x3e3)](_0x5a049e)['compute'](_0xc009fd,_0x536147);};}()),_0x587ce4[_0x11ae91(0x3a2)];}));}(Ke)),Ke[_0x304f41(0x2a8)];}var Je={'exports':{}},In=Je[_0xe9a651(0x2a8)],ei;function Ni(){var _0x62b4c1=_0xe9a651;return ei||(ei=0x1,function(_0x1083a4,_0x594228){(function(_0x5bb2b6,_0x2e3718,_0x5509c4){var _0x49873d=_0x138f;_0x1083a4[_0x49873d(0x2a8)]=_0x2e3718(te(),yi());}(In,function(_0x4aa9a7){var _0x22647e=_0x138f;_0x4aa9a7[_0x22647e(0x1a0)][_0x22647e(0x2b6)]||function(_0x32898a){var _0x4070b0=_0x22647e,_0x3413ff=_0x4aa9a7,_0x54bcda=_0x3413ff['lib'],_0x15e861=_0x54bcda['Base'],_0x127bca=_0x54bcda[_0x4070b0(0x420)],_0x4f367a=_0x54bcda[_0x4070b0(0x208)],_0x3379aa=_0x3413ff[_0x4070b0(0x281)];_0x3379aa[_0x4070b0(0x391)];var _0x3f0774=_0x3379aa[_0x4070b0(0x3bf)],_0x141f1b=_0x3413ff['algo'],_0x47e973=_0x141f1b['EvpKDF'],_0x17b030=_0x54bcda['Cipher']=_0x4f367a[_0x4070b0(0x401)]({'cfg':_0x15e861['extend'](),'createEncryptor':function(_0x29adea,_0x2f299a){var _0xc96401=_0x4070b0;return this[_0xc96401(0x3e3)](this[_0xc96401(0x1e6)],_0x29adea,_0x2f299a);},'createDecryptor':function(_0x32aa71,_0x31f4ed){var _0x2f1ff6=_0x4070b0;return this[_0x2f1ff6(0x3e3)](this['_DEC_XFORM_MODE'],_0x32aa71,_0x31f4ed);},'init':function(_0x16e133,_0x56f302,_0x2169ca){var _0xe797dc=_0x4070b0;this[_0xe797dc(0x40b)]=this['cfg'][_0xe797dc(0x401)](_0x2169ca),this['_xformMode']=_0x16e133,this[_0xe797dc(0x41c)]=_0x56f302,this['reset']();},'reset':function(){var _0x3e3d89=_0x4070b0;_0x4f367a[_0x3e3d89(0x29d)]['call'](this),this[_0x3e3d89(0x2c5)]();},'process':function(_0x492177){var _0x1f00a9=_0x4070b0;return this[_0x1f00a9(0x151)](_0x492177),this[_0x1f00a9(0x2a5)]();},'finalize':function(_0x2f5ea3){var _0x3dad16=_0x4070b0;_0x2f5ea3&&this[_0x3dad16(0x151)](_0x2f5ea3);var _0x28f2dc=this[_0x3dad16(0x1b7)]();return _0x28f2dc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1792ea(_0x5ecfff){var _0x13e859=_0x138f;return typeof _0x5ecfff==_0x13e859(0x19f)?_0x4fd80b:_0x3a2922;}return function(_0x21bbf2){return{'encrypt':function(_0x50d956,_0x370a26,_0x174cac){var _0x509ed6=_0x138f;return _0x1792ea(_0x370a26)[_0x509ed6(0x36e)](_0x21bbf2,_0x50d956,_0x370a26,_0x174cac);},'decrypt':function(_0x4807ec,_0x13b135,_0x59d5){var _0x2cadf1=_0x138f;return _0x1792ea(_0x13b135)[_0x2cadf1(0x320)](_0x21bbf2,_0x4807ec,_0x13b135,_0x59d5);}};};}())});_0x54bcda[_0x4070b0(0x421)]=_0x17b030['extend']({'_doFinalize':function(){var _0x10891a=_0x4070b0,_0x5cdaf3=this[_0x10891a(0x2a5)](!0x0);return _0x5cdaf3;},'blockSize':0x1});var _0x541359=_0x3413ff[_0x4070b0(0x3d8)]={},_0x2ba9ac=_0x54bcda[_0x4070b0(0x3ec)]=_0x15e861[_0x4070b0(0x401)]({'createEncryptor':function(_0x246e15,_0x284b5d){return this['Encryptor']['create'](_0x246e15,_0x284b5d);},'createDecryptor':function(_0x379c87,_0x578274){return this['Decryptor']['create'](_0x379c87,_0x578274);},'init':function(_0x1c185b,_0x210999){var _0x5193bb=_0x4070b0;this['_cipher']=_0x1c185b,this[_0x5193bb(0x2e4)]=_0x210999;}}),_0x1900aa=_0x541359[_0x4070b0(0x2d2)]=(function(){var _0x1c7d91=_0x4070b0,_0x266a86=_0x2ba9ac['extend']();_0x266a86[_0x1c7d91(0x24e)]=_0x266a86[_0x1c7d91(0x401)]({'processBlock':function(_0x53fe7b,_0x383a52){var _0x256f67=_0x1c7d91,_0x2ff3a5=this[_0x256f67(0x323)],_0x5d7b8f=_0x2ff3a5[_0x256f67(0x23f)];_0x32bacf[_0x256f67(0x1ff)](this,_0x53fe7b,_0x383a52,_0x5d7b8f),_0x2ff3a5[_0x256f67(0x2fa)](_0x53fe7b,_0x383a52),this[_0x256f67(0x2dc)]=_0x53fe7b['slice'](_0x383a52,_0x383a52+_0x5d7b8f);}}),_0x266a86[_0x1c7d91(0x23a)]=_0x266a86['extend']({'processBlock':function(_0x369990,_0x252ec5){var _0x1aa900=_0x1c7d91,_0x220f56=this[_0x1aa900(0x323)],_0x3b5c8b=_0x220f56['blockSize'],_0x60e430=_0x369990[_0x1aa900(0x26d)](_0x252ec5,_0x252ec5+_0x3b5c8b);_0x220f56[_0x1aa900(0x382)](_0x369990,_0x252ec5),_0x32bacf[_0x1aa900(0x1ff)](this,_0x369990,_0x252ec5,_0x3b5c8b),this[_0x1aa900(0x2dc)]=_0x60e430;}});function _0x32bacf(_0xc96c37,_0x373cbb,_0x1e92ef){var _0x5a630c=_0x1c7d91,_0x5b3899,_0x2a6429=this[_0x5a630c(0x2e4)];_0x2a6429?(_0x5b3899=_0x2a6429,this[_0x5a630c(0x2e4)]=_0x32898a):_0x5b3899=this['_prevBlock'];for(var _0x445dcc=0x0;_0x445dcc<_0x1e92ef;_0x445dcc++)_0xc96c37[_0x373cbb+_0x445dcc]^=_0x5b3899[_0x445dcc];}return _0x266a86;}()),_0x30dbc0=_0x3413ff['pad']={},_0x203cfa=_0x30dbc0[_0x4070b0(0x260)]={'pad':function(_0x542e8e,_0x56eca3){var _0x53c07f=_0x4070b0;for(var _0x4828b2=_0x56eca3*0x4,_0x3b0ba6=_0x4828b2-_0x542e8e[_0x53c07f(0x2c0)]%_0x4828b2,_0x43bea9=_0x3b0ba6<<0x18|_0x3b0ba6<<0x10|_0x3b0ba6<<0x8|_0x3b0ba6,_0x4be71a=[],_0x176c6a=0x0;_0x176c6a<_0x3b0ba6;_0x176c6a+=0x4)_0x4be71a[_0x53c07f(0x20b)](_0x43bea9);var _0x206850=_0x127bca[_0x53c07f(0x3e3)](_0x4be71a,_0x3b0ba6);_0x542e8e[_0x53c07f(0x26e)](_0x206850);},'unpad':function(_0x5082a0){var _0x3bd0aa=_0x4070b0,_0x323f4d=_0x5082a0[_0x3bd0aa(0x210)][_0x5082a0[_0x3bd0aa(0x2c0)]-0x1>>>0x2]&0xff;_0x5082a0[_0x3bd0aa(0x2c0)]-=_0x323f4d;}};_0x54bcda[_0x4070b0(0x386)]=_0x17b030[_0x4070b0(0x401)]({'cfg':_0x17b030[_0x4070b0(0x40b)]['extend']({'mode':_0x1900aa,'padding':_0x203cfa}),'reset':function(){var _0x559aad=_0x4070b0,_0x4f2b4a;_0x17b030[_0x559aad(0x29d)][_0x559aad(0x1ff)](this);var _0x1e5b7d=this[_0x559aad(0x40b)],_0x15f907=_0x1e5b7d['iv'],_0x5a662d=_0x1e5b7d['mode'];this[_0x559aad(0x1bb)]==this[_0x559aad(0x1e6)]?_0x4f2b4a=_0x5a662d[_0x559aad(0x16a)]:(_0x4f2b4a=_0x5a662d[_0x559aad(0x32c)],this[_0x559aad(0x2d5)]=0x1),this[_0x559aad(0x3c0)]&&this[_0x559aad(0x3c0)][_0x559aad(0x30f)]==_0x4f2b4a?this[_0x559aad(0x3c0)]['init'](this,_0x15f907&&_0x15f907[_0x559aad(0x210)]):(this[_0x559aad(0x3c0)]=_0x4f2b4a[_0x559aad(0x1ff)](_0x5a662d,this,_0x15f907&&_0x15f907[_0x559aad(0x210)]),this[_0x559aad(0x3c0)]['__creator']=_0x4f2b4a);},'_doProcessBlock':function(_0x2968e6,_0x2a0e23){var _0x3c0ce4=_0x4070b0;this[_0x3c0ce4(0x3c0)][_0x3c0ce4(0x3d1)](_0x2968e6,_0x2a0e23);},'_doFinalize':function(){var _0x16d9d0=_0x4070b0,_0x52c20f,_0x2f9ee5=this['cfg'][_0x16d9d0(0x1f3)];return this['_xformMode']==this[_0x16d9d0(0x1e6)]?(_0x2f9ee5[_0x16d9d0(0x2b3)](this[_0x16d9d0(0x1e2)],this['blockSize']),_0x52c20f=this[_0x16d9d0(0x2a5)](!0x0)):(_0x52c20f=this[_0x16d9d0(0x2a5)](!0x0),_0x2f9ee5[_0x16d9d0(0x2bc)](_0x52c20f)),_0x52c20f;},'blockSize':0x80/0x20});var _0x43de52=_0x54bcda['CipherParams']=_0x15e861[_0x4070b0(0x401)]({'init':function(_0x4a7468){var _0x98da94=_0x4070b0;this[_0x98da94(0x1be)](_0x4a7468);},'toString':function(_0x1a5298){var _0x15dfa7=_0x4070b0;return(_0x1a5298||this[_0x15dfa7(0x132)])['stringify'](this);}}),_0x96ee2c=_0x3413ff[_0x4070b0(0x1b9)]={},_0x4e372e=_0x96ee2c['OpenSSL']={'stringify':function(_0x22bcf8){var _0x368cec=_0x4070b0,_0x3ec442,_0x8ef0fd=_0x22bcf8['ciphertext'],_0x2fdb7f=_0x22bcf8['salt'];return _0x2fdb7f?_0x3ec442=_0x127bca['create']([0x53616c74,0x65645f5f])[_0x368cec(0x26e)](_0x2fdb7f)[_0x368cec(0x26e)](_0x8ef0fd):_0x3ec442=_0x8ef0fd,_0x3ec442[_0x368cec(0x1f8)](_0x3f0774);},'parse':function(_0x3e860f){var _0x1269f2=_0x4070b0,_0x406d8c,_0x4f8faa=_0x3f0774[_0x1269f2(0x36a)](_0x3e860f),_0x18cd38=_0x4f8faa[_0x1269f2(0x210)];return _0x18cd38[0x0]==0x53616c74&&_0x18cd38[0x1]==0x65645f5f&&(_0x406d8c=_0x127bca['create'](_0x18cd38['slice'](0x2,0x4)),_0x18cd38[_0x1269f2(0x1c7)](0x0,0x4),_0x4f8faa[_0x1269f2(0x2c0)]-=0x10),_0x43de52['create']({'ciphertext':_0x4f8faa,'salt':_0x406d8c});}},_0x3a2922=_0x54bcda[_0x4070b0(0x1c3)]=_0x15e861[_0x4070b0(0x401)]({'cfg':_0x15e861['extend']({'format':_0x4e372e}),'encrypt':function(_0x323590,_0x369727,_0xf53105,_0x5e6615){var _0xc01516=_0x4070b0;_0x5e6615=this[_0xc01516(0x40b)][_0xc01516(0x401)](_0x5e6615);var _0x4047a1=_0x323590[_0xc01516(0x16a)](_0xf53105,_0x5e6615),_0x49c383=_0x4047a1[_0xc01516(0x411)](_0x369727),_0x5d9157=_0x4047a1[_0xc01516(0x40b)];return _0x43de52[_0xc01516(0x3e3)]({'ciphertext':_0x49c383,'key':_0xf53105,'iv':_0x5d9157['iv'],'algorithm':_0x323590,'mode':_0x5d9157[_0xc01516(0x3d8)],'padding':_0x5d9157['padding'],'blockSize':_0x323590[_0xc01516(0x23f)],'formatter':_0x5e6615[_0xc01516(0x1b9)]});},'decrypt':function(_0x137bd4,_0x46bacd,_0x2ae118,_0x4de495){var _0x2f111b=_0x4070b0;_0x4de495=this[_0x2f111b(0x40b)][_0x2f111b(0x401)](_0x4de495),_0x46bacd=this[_0x2f111b(0x3db)](_0x46bacd,_0x4de495[_0x2f111b(0x1b9)]);var _0x59f838=_0x137bd4['createDecryptor'](_0x2ae118,_0x4de495)[_0x2f111b(0x411)](_0x46bacd[_0x2f111b(0x1cb)]);return _0x59f838;},'_parse':function(_0x337406,_0x3e64d9){var _0x869d78=_0x4070b0;return typeof _0x337406=='string'?_0x3e64d9[_0x869d78(0x36a)](_0x337406,this):_0x337406;}}),_0x1446d4=_0x3413ff['kdf']={},_0x1c12ad=_0x1446d4[_0x4070b0(0x16c)]={'execute':function(_0x527717,_0x81e804,_0x18a4e0,_0x21a8d3,_0x5e9f9a){var _0x580fd0=_0x4070b0;if(_0x21a8d3||(_0x21a8d3=_0x127bca[_0x580fd0(0x3cf)](0x40/0x8)),_0x5e9f9a)var _0x4157a7=_0x47e973[_0x580fd0(0x3e3)]({'keySize':_0x81e804+_0x18a4e0,'hasher':_0x5e9f9a})['compute'](_0x527717,_0x21a8d3);else var _0x4157a7=_0x47e973[_0x580fd0(0x3e3)]({'keySize':_0x81e804+_0x18a4e0})[_0x580fd0(0x27c)](_0x527717,_0x21a8d3);var _0xb1074f=_0x127bca['create'](_0x4157a7[_0x580fd0(0x210)]['slice'](_0x81e804),_0x18a4e0*0x4);return _0x4157a7['sigBytes']=_0x81e804*0x4,_0x43de52[_0x580fd0(0x3e3)]({'key':_0x4157a7,'iv':_0xb1074f,'salt':_0x21a8d3});}},_0x4fd80b=_0x54bcda[_0x4070b0(0x2fc)]=_0x3a2922['extend']({'cfg':_0x3a2922[_0x4070b0(0x40b)][_0x4070b0(0x401)]({'kdf':_0x1c12ad}),'encrypt':function(_0x6a11b0,_0x25aec0,_0x34e455,_0x5873b3){var _0x5d7e15=_0x4070b0;_0x5873b3=this['cfg'][_0x5d7e15(0x401)](_0x5873b3);var _0x58c7a6=_0x5873b3['kdf']['execute'](_0x34e455,_0x6a11b0[_0x5d7e15(0x19e)],_0x6a11b0[_0x5d7e15(0x30c)],_0x5873b3[_0x5d7e15(0x2cf)],_0x5873b3['hasher']);_0x5873b3['iv']=_0x58c7a6['iv'];var _0x4007fc=_0x3a2922[_0x5d7e15(0x36e)]['call'](this,_0x6a11b0,_0x25aec0,_0x58c7a6[_0x5d7e15(0x141)],_0x5873b3);return _0x4007fc[_0x5d7e15(0x1be)](_0x58c7a6),_0x4007fc;},'decrypt':function(_0x10f217,_0x2352e2,_0x320fbf,_0x5f44e3){var _0x6f3ec0=_0x4070b0;_0x5f44e3=this['cfg'][_0x6f3ec0(0x401)](_0x5f44e3),_0x2352e2=this[_0x6f3ec0(0x3db)](_0x2352e2,_0x5f44e3[_0x6f3ec0(0x1b9)]);var _0xb81ad5=_0x5f44e3[_0x6f3ec0(0x32b)][_0x6f3ec0(0x20f)](_0x320fbf,_0x10f217[_0x6f3ec0(0x19e)],_0x10f217[_0x6f3ec0(0x30c)],_0x2352e2[_0x6f3ec0(0x2cf)],_0x5f44e3['hasher']);_0x5f44e3['iv']=_0xb81ad5['iv'];var _0x1e6bcf=_0x3a2922[_0x6f3ec0(0x320)][_0x6f3ec0(0x1ff)](this,_0x10f217,_0x2352e2,_0xb81ad5['key'],_0x5f44e3);return _0x1e6bcf;}});}();}));}(Je)),Je[_0x62b4c1(0x2a8)];}var Tn=Ve['exports'],ti;function Cn(){return ti||(ti=0x1,function(_0x1d62a9,_0x54ee90){(function(_0x1a2e1b,_0x12d4f9,_0x2106a8){var _0x45f10f=_0x138f;_0x1d62a9[_0x45f10f(0x2a8)]=_0x12d4f9(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x24da03){var _0x3fd07b=_0x138f;return(function(){var _0x3914fe=_0x138f,_0x28c0eb=_0x24da03,_0x47ce80=_0x28c0eb[_0x3914fe(0x1a0)],_0x2f7390=_0x47ce80[_0x3914fe(0x386)],_0x3bfd7a=_0x28c0eb[_0x3914fe(0x127)],_0x49508e=[],_0x1b00ed=[],_0x341a72=[],_0x4f97f0=[],_0x44e21e=[],_0x5511ec=[],_0x1b007a=[],_0x1e195c=[],_0x49f8ee=[],_0x50175d=[];(function(){for(var _0x2556d1=[],_0x4e78b1=0x0;_0x4e78b1<0x100;_0x4e78b1++)_0x4e78b1<0x80?_0x2556d1[_0x4e78b1]=_0x4e78b1<<0x1:_0x2556d1[_0x4e78b1]=_0x4e78b1<<0x1^0x11b;for(var _0x334e29=0x0,_0x1f2959=0x0,_0x4e78b1=0x0;_0x4e78b1<0x100;_0x4e78b1++){var _0x40575a=_0x1f2959^_0x1f2959<<0x1^_0x1f2959<<0x2^_0x1f2959<<0x3^_0x1f2959<<0x4;_0x40575a=_0x40575a>>>0x8^_0x40575a&0xff^0x63,_0x49508e[_0x334e29]=_0x40575a,_0x1b00ed[_0x40575a]=_0x334e29;var _0x120160=_0x2556d1[_0x334e29],_0x9fcfcc=_0x2556d1[_0x120160],_0x171803=_0x2556d1[_0x9fcfcc],_0x317111=_0x2556d1[_0x40575a]*0x101^_0x40575a*0x1010100;_0x341a72[_0x334e29]=_0x317111<<0x18|_0x317111>>>0x8,_0x4f97f0[_0x334e29]=_0x317111<<0x10|_0x317111>>>0x10,_0x44e21e[_0x334e29]=_0x317111<<0x8|_0x317111>>>0x18,_0x5511ec[_0x334e29]=_0x317111;var _0x317111=_0x171803*0x1010101^_0x9fcfcc*0x10001^_0x120160*0x101^_0x334e29*0x1010100;_0x1b007a[_0x40575a]=_0x317111<<0x18|_0x317111>>>0x8,_0x1e195c[_0x40575a]=_0x317111<<0x10|_0x317111>>>0x10,_0x49f8ee[_0x40575a]=_0x317111<<0x8|_0x317111>>>0x18,_0x50175d[_0x40575a]=_0x317111,_0x334e29?(_0x334e29=_0x120160^_0x2556d1[_0x2556d1[_0x2556d1[_0x171803^_0x120160]]],_0x1f2959^=_0x2556d1[_0x2556d1[_0x1f2959]]):_0x334e29=_0x1f2959=0x1;}}());var _0x377559=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5fa026=_0x3bfd7a['AES']=_0x2f7390[_0x3914fe(0x401)]({'_doReset':function(){var _0x6b5f62=_0x3914fe,_0x517680;if(!(this[_0x6b5f62(0x2d6)]&&this[_0x6b5f62(0x1ba)]===this['_key'])){for(var _0x388832=this[_0x6b5f62(0x1ba)]=this[_0x6b5f62(0x41c)],_0x25fa7f=_0x388832['words'],_0x3f3357=_0x388832[_0x6b5f62(0x2c0)]/0x4,_0x3f7f49=this[_0x6b5f62(0x2d6)]=_0x3f3357+0x6,_0x42ed7b=(_0x3f7f49+0x1)*0x4,_0x452bd7=this[_0x6b5f62(0x2be)]=[],_0x47a97a=0x0;_0x47a97a<_0x42ed7b;_0x47a97a++)_0x47a97a<_0x3f3357?_0x452bd7[_0x47a97a]=_0x25fa7f[_0x47a97a]:(_0x517680=_0x452bd7[_0x47a97a-0x1],_0x47a97a%_0x3f3357?_0x3f3357>0x6&&_0x47a97a%_0x3f3357==0x4&&(_0x517680=_0x49508e[_0x517680>>>0x18]<<0x18|_0x49508e[_0x517680>>>0x10&0xff]<<0x10|_0x49508e[_0x517680>>>0x8&0xff]<<0x8|_0x49508e[_0x517680&0xff]):(_0x517680=_0x517680<<0x8|_0x517680>>>0x18,_0x517680=_0x49508e[_0x517680>>>0x18]<<0x18|_0x49508e[_0x517680>>>0x10&0xff]<<0x10|_0x49508e[_0x517680>>>0x8&0xff]<<0x8|_0x49508e[_0x517680&0xff],_0x517680^=_0x377559[_0x47a97a/_0x3f3357|0x0]<<0x18),_0x452bd7[_0x47a97a]=_0x452bd7[_0x47a97a-_0x3f3357]^_0x517680);for(var _0x45b9ec=this['_invKeySchedule']=[],_0x328cb0=0x0;_0x328cb0<_0x42ed7b;_0x328cb0++){var _0x47a97a=_0x42ed7b-_0x328cb0;if(_0x328cb0%0x4)var _0x517680=_0x452bd7[_0x47a97a];else var _0x517680=_0x452bd7[_0x47a97a-0x4];_0x328cb0<0x4||_0x47a97a<=0x4?_0x45b9ec[_0x328cb0]=_0x517680:_0x45b9ec[_0x328cb0]=_0x1b007a[_0x49508e[_0x517680>>>0x18]]^_0x1e195c[_0x49508e[_0x517680>>>0x10&0xff]]^_0x49f8ee[_0x49508e[_0x517680>>>0x8&0xff]]^_0x50175d[_0x49508e[_0x517680&0xff]];}}},'encryptBlock':function(_0x6999ec,_0x49fc53){var _0x14b376=_0x3914fe;this[_0x14b376(0x405)](_0x6999ec,_0x49fc53,this['_keySchedule'],_0x341a72,_0x4f97f0,_0x44e21e,_0x5511ec,_0x49508e);},'decryptBlock':function(_0x3e9018,_0x26a426){var _0x3cfc73=_0x3914fe,_0x2744dc=_0x3e9018[_0x26a426+0x1];_0x3e9018[_0x26a426+0x1]=_0x3e9018[_0x26a426+0x3],_0x3e9018[_0x26a426+0x3]=_0x2744dc,this[_0x3cfc73(0x405)](_0x3e9018,_0x26a426,this[_0x3cfc73(0x31c)],_0x1b007a,_0x1e195c,_0x49f8ee,_0x50175d,_0x1b00ed);var _0x2744dc=_0x3e9018[_0x26a426+0x1];_0x3e9018[_0x26a426+0x1]=_0x3e9018[_0x26a426+0x3],_0x3e9018[_0x26a426+0x3]=_0x2744dc;},'_doCryptBlock':function(_0x1b598c,_0x1d6a8a,_0x23d449,_0x354f38,_0x53b9aa,_0xb23bc7,_0x177368,_0x2e6499){var _0x442c76=_0x3914fe;for(var _0x251805=this[_0x442c76(0x2d6)],_0x2c2617=_0x1b598c[_0x1d6a8a]^_0x23d449[0x0],_0x521698=_0x1b598c[_0x1d6a8a+0x1]^_0x23d449[0x1],_0x53afbb=_0x1b598c[_0x1d6a8a+0x2]^_0x23d449[0x2],_0x4d30ae=_0x1b598c[_0x1d6a8a+0x3]^_0x23d449[0x3],_0x307805=0x4,_0x4d6cbd=0x1;_0x4d6cbd<_0x251805;_0x4d6cbd++){var _0x59011e=_0x354f38[_0x2c2617>>>0x18]^_0x53b9aa[_0x521698>>>0x10&0xff]^_0xb23bc7[_0x53afbb>>>0x8&0xff]^_0x177368[_0x4d30ae&0xff]^_0x23d449[_0x307805++],_0x1374c2=_0x354f38[_0x521698>>>0x18]^_0x53b9aa[_0x53afbb>>>0x10&0xff]^_0xb23bc7[_0x4d30ae>>>0x8&0xff]^_0x177368[_0x2c2617&0xff]^_0x23d449[_0x307805++],_0x476fdd=_0x354f38[_0x53afbb>>>0x18]^_0x53b9aa[_0x4d30ae>>>0x10&0xff]^_0xb23bc7[_0x2c2617>>>0x8&0xff]^_0x177368[_0x521698&0xff]^_0x23d449[_0x307805++],_0x88237d=_0x354f38[_0x4d30ae>>>0x18]^_0x53b9aa[_0x2c2617>>>0x10&0xff]^_0xb23bc7[_0x521698>>>0x8&0xff]^_0x177368[_0x53afbb&0xff]^_0x23d449[_0x307805++];_0x2c2617=_0x59011e,_0x521698=_0x1374c2,_0x53afbb=_0x476fdd,_0x4d30ae=_0x88237d;}var _0x59011e=(_0x2e6499[_0x2c2617>>>0x18]<<0x18|_0x2e6499[_0x521698>>>0x10&0xff]<<0x10|_0x2e6499[_0x53afbb>>>0x8&0xff]<<0x8|_0x2e6499[_0x4d30ae&0xff])^_0x23d449[_0x307805++],_0x1374c2=(_0x2e6499[_0x521698>>>0x18]<<0x18|_0x2e6499[_0x53afbb>>>0x10&0xff]<<0x10|_0x2e6499[_0x4d30ae>>>0x8&0xff]<<0x8|_0x2e6499[_0x2c2617&0xff])^_0x23d449[_0x307805++],_0x476fdd=(_0x2e6499[_0x53afbb>>>0x18]<<0x18|_0x2e6499[_0x4d30ae>>>0x10&0xff]<<0x10|_0x2e6499[_0x2c2617>>>0x8&0xff]<<0x8|_0x2e6499[_0x521698&0xff])^_0x23d449[_0x307805++],_0x88237d=(_0x2e6499[_0x4d30ae>>>0x18]<<0x18|_0x2e6499[_0x2c2617>>>0x10&0xff]<<0x10|_0x2e6499[_0x521698>>>0x8&0xff]<<0x8|_0x2e6499[_0x53afbb&0xff])^_0x23d449[_0x307805++];_0x1b598c[_0x1d6a8a]=_0x59011e,_0x1b598c[_0x1d6a8a+0x1]=_0x1374c2,_0x1b598c[_0x1d6a8a+0x2]=_0x476fdd,_0x1b598c[_0x1d6a8a+0x3]=_0x88237d;},'keySize':0x100/0x20});_0x28c0eb['AES']=_0x2f7390['_createHelper'](_0x5fa026);}()),_0x24da03[_0x3fd07b(0x1ab)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe['exports'],si;function Nn(){var _0x314f82=_0xe9a651;return si||(si=0x1,function(_0x2420b6,_0xb2d92a){(function(_0x3862ff,_0x2b86c9){_0x2420b6['exports']=_0x2b86c9(te());}(yn,function(_0x1fac93){var _0x2aabf5=_0x138f;return _0x1fac93[_0x2aabf5(0x281)][_0x2aabf5(0x391)];}));}(Xe)),Xe[_0x314f82(0x2a8)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0xe9a651(0x2a8)],ni;function wn(){var _0x181542=_0xe9a651;return ni||(ni=0x1,function(_0x2cb962,_0x81bcaa){(function(_0x2331d3,_0x3cdaf2){var _0x50b414=_0x138f;_0x2cb962[_0x50b414(0x2a8)]=_0x3cdaf2(te());}(An,function(_0x4aa862){var _0x2e24ca=_0x138f;return(function(){var _0x1276f6=_0x138f;if(typeof ArrayBuffer==_0x1276f6(0x39f)){var _0x56b603=_0x4aa862,_0x692dd3=_0x56b603[_0x1276f6(0x1a0)],_0x141e9b=_0x692dd3[_0x1276f6(0x420)],_0xcf35d4=_0x141e9b['init'],_0xb0f8e6=_0x141e9b[_0x1276f6(0x3e8)]=function(_0x5e9771){var _0x130df2=_0x1276f6;if(_0x5e9771 instanceof ArrayBuffer&&(_0x5e9771=new Uint8Array(_0x5e9771)),(_0x5e9771 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5e9771 instanceof Uint8ClampedArray||_0x5e9771 instanceof Int16Array||_0x5e9771 instanceof Uint16Array||_0x5e9771 instanceof Int32Array||_0x5e9771 instanceof Uint32Array||_0x5e9771 instanceof Float32Array||_0x5e9771 instanceof Float64Array)&&(_0x5e9771=new Uint8Array(_0x5e9771[_0x130df2(0x251)],_0x5e9771['byteOffset'],_0x5e9771['byteLength'])),_0x5e9771 instanceof Uint8Array){for(var _0x252c9b=_0x5e9771[_0x130df2(0x187)],_0xfdf1fc=[],_0x46750c=0x0;_0x46750c<_0x252c9b;_0x46750c++)_0xfdf1fc[_0x46750c>>>0x2]|=_0x5e9771[_0x46750c]<<0x18-_0x46750c%0x4*0x8;_0xcf35d4[_0x130df2(0x1ff)](this,_0xfdf1fc,_0x252c9b);}else _0xcf35d4[_0x130df2(0x123)](this,arguments);};_0xb0f8e6['prototype']=_0x141e9b;}}()),_0x4aa862[_0x2e24ca(0x1a0)][_0x2e24ca(0x420)];}));}(Ze)),Ze[_0x181542(0x2a8)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0xe9a651(0x2a8)],ri;function xn(){var _0x1927d5=_0xe9a651;return ri||(ri=0x1,function(_0x5b384a,_0x100839){(function(_0x56343f,_0x10827a,_0x48eba7){_0x5b384a['exports']=_0x10827a(te(),Ni());}(Mn,function(_0x4f1307){var _0x1f07be=_0x138f;return _0x4f1307[_0x1f07be(0x2b3)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4f1307[_0x1f07be(0x2b3)][_0x1f07be(0x318)];}));}(Qe)),Qe[_0x1927d5(0x2a8)];}var kn=xn();const $n=$e(kn);function Hn(_0x495c9d,_0x14469c){var _0x1defcf=_0xe9a651;const _0x5982a9=_0x14469c-_0x495c9d[_0x1defcf(0x340)]%_0x14469c,_0x88fee9=String['fromCharCode'](_0x5982a9)[_0x1defcf(0x1d4)](_0x5982a9);return _0x495c9d+_0x88fee9;}function Bn(_0x596c52,_0x1d2a46){var _0x23f3f5=_0xe9a651;const _0x28350b=Ln[_0x23f3f5(0x3cf)](0x10),_0x3fbd21=Hn(_0x596c52,0x10),_0x435de0=bn[_0x23f3f5(0x36e)](Un[_0x23f3f5(0x36a)](_0x3fbd21),ii[_0x23f3f5(0x36a)](_0x1d2a46),{'iv':_0x28350b,'padding':$n});return _0x28350b[_0x23f3f5(0x26e)](_0x435de0[_0x23f3f5(0x1cb)])[_0x23f3f5(0x1f8)](ii);}function jn(){var _0x398f27=_0xe9a651;const _0x3bfbbc=_0x5df9c0()[_0x398f27(0x131)];if(_0x3bfbbc){const _0x3ec550={'time':Math[_0x398f27(0x387)](Date['now']()/0x3e8),'domain':location[_0x398f27(0x29c)]};return Bn(JSON[_0x398f27(0x342)](_0x3ec550),_0x3bfbbc);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x4fef28,_0x43158f,_0x18b8e6,_0xb2e0e8)=>{var _0x1541e5=_0xe9a651;for(var _0x203623=_0xb2e0e8>0x1?void 0x0:_0xb2e0e8?Fn(_0x43158f,_0x18b8e6):_0x43158f,_0x3ad879=_0x4fef28[_0x1541e5(0x340)]-0x1,_0x3d87c1;_0x3ad879>=0x0;_0x3ad879--)(_0x3d87c1=_0x4fef28[_0x3ad879])&&(_0x203623=_0x3d87c1(_0x203623)||_0x203623);return _0x203623;},Gn=(_0x2ac845,_0x320fdb)=>(_0x286171,_0x3d49b7)=>_0x320fdb(_0x286171,_0x3d49b7,_0x2ac845);let at=class{constructor(_0x1effbd){var _0x33805f=_0xe9a651;this[_0x33805f(0x3a8)]=_0x1effbd,this[_0x33805f(0x230)]();}[_0xe9a651(0x230)](){var _0x2ae8ca=_0xe9a651;this[_0x2ae8ca(0x3a8)][_0x2ae8ca(0x21a)]({'interceptor':(_0x4484ea,_0x263e8d)=>{var _0x413840=_0x2ae8ca;const _0x153585=_0x4484ea['headers'],_0x16bca5=jn();return _0x16bca5&&_0x153585[_0x413840(0x12b)](_0x413840(0x309),_0x16bca5),_0x263e8d(_0x4484ea);}});}};at=Vn([Gn(0x0,_0x5c4cb1(_0x8c9022))],at);var Wn=Object['getOwnPropertyDescriptor'],Yn=(_0x1ea1d3,_0x82ab92,_0x3764c1,_0x117a92)=>{var _0x37dfa1=_0xe9a651;for(var _0x443010=_0x117a92>0x1?void 0x0:_0x117a92?Wn(_0x82ab92,_0x3764c1):_0x82ab92,_0x297346=_0x1ea1d3[_0x37dfa1(0x340)]-0x1,_0x515861;_0x297346>=0x0;_0x297346--)(_0x515861=_0x1ea1d3[_0x297346])&&(_0x443010=_0x515861(_0x443010)||_0x443010);return _0x443010;},vt=(_0x2fd35b,_0x1a5743)=>(_0x55e400,_0x2799c4)=>_0x1a5743(_0x55e400,_0x2799c4,_0x2fd35b);let Ct=class extends _0x12efa6{constructor(_0x3c7c10,_0x41873b,_0x4c39aa){var _0x2e53d6=_0xe9a651;super(),N(this,'_unitInfo$',new _0xbb4734(null)),N(this,_0x2e53d6(0x250),this[_0x2e53d6(0x247)]['asObservable']()),(this[_0x2e53d6(0x2d3)]=_0x3c7c10,this[_0x2e53d6(0x179)]=_0x41873b,this[_0x2e53d6(0x385)]=_0x4c39aa);}async[_0xe9a651(0x2c6)](_0x3a3702,_0x531179,_0x10cd98){var _0x36e901=_0xe9a651;this[_0x36e901(0x247)]['next']({'unitId':_0x3a3702,'type':_0x531179});let _0x24bb6b=null;switch(_0x531179){case Z[_0x36e901(0x277)]:{_0x24bb6b=await this[_0x36e901(0x179)][_0x36e901(0x181)](_0x3a3702,_0x10cd98);break;}case Z['UNIVER_DOC']:{_0x24bb6b=await this[_0x36e901(0x179)]['loadDoc'](_0x3a3702,_0x10cd98);break;}default:{this[_0x36e901(0x2d3)][_0x36e901(0x354)](_0x36e901(0x30d),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x24bb6b;}async['loadUnit'](_0x1784f8,_0x1718de,_0x4e3f52){var _0x190047=_0xe9a651,_0x274a53;this['_unitInfo$'][_0x190047(0x22e)]({'unitId':_0x1784f8,'type':_0x1718de,'subUnitId':_0x4e3f52});let _0x3f55c8=0x0;const _0x24cb62=await((_0x274a53=this[_0x190047(0x385)])==null?void 0x0:_0x274a53[_0x190047(0x408)](_0x1784f8));return _0x24cb62&&(_0x24cb62[_0x190047(0x29b)]||_0x24cb62['mutations']['length']!==0x0)&&(_0x3f55c8=_0x24cb62[_0x190047(0x334)]),_0x3f55c8===0x0&&this[_0x190047(0x2d3)][_0x190047(0x263)](_0x190047(0x30d),_0x190047(0x137)),this[_0x190047(0x2c6)](_0x1784f8,_0x1718de,_0x3f55c8);}};Ct=Yn([vt(0x0,_0x26ef4e),vt(0x1,_0x5c4cb1(_0x478d63)),vt(0x2,_0xa8e945(J))],Ct);var Kn=Object['getOwnPropertyDescriptor'],qn=(_0x3861a4,_0x4566ce,_0x23cded,_0x4db081)=>{for(var _0xbd9298=_0x4db081>0x1?void 0x0:_0x4db081?Kn(_0x4566ce,_0x23cded):_0x4566ce,_0x2be318=_0x3861a4['length']-0x1,_0x3bd99e;_0x2be318>=0x0;_0x2be318--)(_0x3bd99e=_0x3861a4[_0x2be318])&&(_0xbd9298=_0x3bd99e(_0xbd9298)||_0xbd9298);return _0xbd9298;},pt=(_0x1a61dc,_0x135aee)=>(_0xe3de7d,_0x3d238c)=>_0x135aee(_0xe3de7d,_0x3d238c,_0x1a61dc);const zn=['image/png',_0xe9a651(0x18a),_0xe9a651(0x336),_0xe9a651(0x192),_0xe9a651(0x236)],Jn=0x5*0x400*0x400,Xn=_0xe9a651(0x219),Zn=_0xe9a651(0x35a),Qn=_0xe9a651(0x283),er=_0xe9a651(0x300);let Rt=class{constructor(_0xda5c0b,_0x50fef0,_0x18d663){var _0x140bcb=_0xe9a651;N(this,_0x140bcb(0x1a2),0x0),N(this,_0x140bcb(0x36c),new _0x1af177()),N(this,_0x140bcb(0x15a),this[_0x140bcb(0x36c)]),N(this,'_imageSourceCache',new Map()),(this[_0x140bcb(0x3a8)]=_0xda5c0b,this['_configService']=_0x50fef0,this[_0x140bcb(0x319)]=_0x18d663);}[_0xe9a651(0x18f)](_0x527683){var _0x3bc698=_0xe9a651;this[_0x3bc698(0x1a2)]=_0x527683,this['_change$'][_0x3bc698(0x22e)](_0x527683);}[_0xe9a651(0x425)](_0x191c0d,_0x4cae33){var _0x465ddf=_0xe9a651;if(_0x4cae33===_0x471a2e[_0x465ddf(0x25b)]){const _0x34e6e4=new Image();return _0x34e6e4['src']=_0x191c0d,_0x34e6e4;}return this[_0x465ddf(0x422)]['get'](_0x191c0d);}['addImageSourceCache'](_0x5b6599,_0x57486b,_0x22c012){var _0x4bde0a=_0xe9a651;_0x57486b===_0x471a2e['BASE64']||_0x22c012==null||this['_imageSourceCache'][_0x4bde0a(0x12b)](_0x5b6599,_0x22c012);}async[_0xe9a651(0x3dd)](_0x2882f4){var _0x1c40d6=_0xe9a651;try{const _0x21be89=this[_0x1c40d6(0x2d7)](this[_0x1c40d6(0x29e)](),''+_0x2882f4),_0x4c3531=(await this[_0x1c40d6(0x3a8)][_0x1c40d6(0x364)](_0x21be89))['body'];if(_0x4c3531['error']&&_0x4c3531[_0x1c40d6(0x354)][_0x1c40d6(0x37b)]===pi['OK']){const _0x64b2ef=new URL(_0x4c3531[_0x1c40d6(0x1cf)],this[_0x1c40d6(0x2f1)]())['toString']();return Promise[_0x1c40d6(0x234)](_0x64b2ef);}return Promise[_0x1c40d6(0x182)](_0x4c3531[_0x1c40d6(0x354)]);}catch(_0x4f0fb6){return Promise['reject'](_0x4f0fb6);}}async[_0xe9a651(0x38a)](_0x33007d){var _0x133ec6=_0xe9a651;let _0x291f84='';if(!zn[_0x133ec6(0x415)](_0x33007d[_0x133ec6(0x237)]))return this[_0x133ec6(0x2f3)](),Promise[_0x133ec6(0x182)](new Error(_0x655e03[_0x133ec6(0x2a7)]));if(_0x33007d[_0x133ec6(0x3b1)]>Jn)return this[_0x133ec6(0x2f3)](),Promise[_0x133ec6(0x182)](new Error(_0x655e03['ERROR_EXCEED_SIZE']));try{const _0x252d03=new FormData();_0x252d03[_0x133ec6(0x15e)](_0x133ec6(0x162),_0x33007d);const _0x2f2161=this[_0x133ec6(0x319)]['getFocusedUnit'](),_0x49b5d8=_0x2f2161==null?void 0x0:_0x2f2161[_0x133ec6(0x353)]();if(!_0x49b5d8)throw new Error(_0x133ec6(0x178));const _0x596ba9=this[_0x133ec6(0x299)]()+'?size='+_0x33007d[_0x133ec6(0x3b1)][_0x133ec6(0x1f8)]()+_0x133ec6(0x352)+mi[_0x133ec6(0x1d3)]+'&assign='+encodeURIComponent(_0x49b5d8),_0x469289={'body':_0x252d03},_0x4ec8fa=(await this[_0x133ec6(0x3a8)]['post'](_0x596ba9,_0x469289))[_0x133ec6(0x14c)];if(typeof _0x4ec8fa['FileId']!=_0x133ec6(0x19f))return this[_0x133ec6(0x2f3)](),Promise['reject'](new Error(_0x655e03['ERROR_IMAGE']));_0x291f84=_0x4ec8fa[_0x133ec6(0x2c8)];}catch{return this[_0x133ec6(0x2f3)](),Promise['reject'](new Error(_0x655e03[_0x133ec6(0x1eb)]));}return new Promise((_0x5992c6,_0x3787a6)=>{var _0x4475d4=_0x133ec6;const _0x311670=new FileReader();_0x311670[_0x4475d4(0x2ce)](_0x33007d),_0x311670[_0x4475d4(0x1d7)]=_0x4eb656=>{var _0x59651d=_0x4475d4,_0x3508ec;const _0x17a128=(_0x3508ec=_0x4eb656[_0x59651d(0x1fe)])==null?void 0x0:_0x3508ec[_0x59651d(0x139)];if(_0x17a128==null){this[_0x59651d(0x2f3)](),_0x3787a6(new Error(_0x655e03[_0x59651d(0x1eb)]));return;}const _0x3ff928=_0x58e7db[_0x59651d(0x2b2)](0x6);_0x5992c6({'imageId':_0x3ff928,'imageSourceType':_0x471a2e[_0x59651d(0x239)],'source':_0x291f84,'base64Cache':_0x17a128,'status':_0x655e03['SUCCUSS']}),this[_0x59651d(0x2f3)]();};});}[_0xe9a651(0x299)](){var _0xd99c93=_0xe9a651,_0x405ad5,_0x578a49;const _0x5a281b=this[_0xd99c93(0x292)][_0xd99c93(0x33b)](Xn),_0x5ddc15=this[_0xd99c93(0x292)]['getConfig'](K);return(_0x578a49=(_0x405ad5=_0x5ddc15==null?void 0x0:_0x5ddc15[_0xd99c93(0x3d6)])!=null?_0x405ad5:_0x5a281b)!=null?_0x578a49:Zn;}['_getSignURL'](){var _0x53b98b=_0xe9a651,_0x1ff129,_0x535c09;const _0x5a260a=this['_configService'][_0x53b98b(0x33b)](Qn),_0x5b3840=this[_0x53b98b(0x292)][_0x53b98b(0x33b)](K);return(_0x535c09=(_0x1ff129=_0x5b3840==null?void 0x0:_0x5b3840[_0x53b98b(0x337)])!=null?_0x1ff129:_0x5a260a)!=null?_0x535c09:er;}[_0xe9a651(0x2f1)](){var _0x266afd=_0xe9a651,_0x3d21d3;const _0x4dc2ad=this['_configService']['getConfig'](K);return(_0x3d21d3=_0x4dc2ad==null?void 0x0:_0x4dc2ad[_0x266afd(0x2af)])!=null?_0x3d21d3:location[_0x266afd(0x1de)];}[_0xe9a651(0x2d7)](_0x346133,_0x27d471){var _0x199e3b=_0xe9a651;return _0x346133[_0x199e3b(0x197)](_0x199e3b(0x13c),_0x27d471);}['_decreaseWaiting'](){var _0x2abde4=_0xe9a651;this['_waitCount']-=0x1,this[_0x2abde4(0x36c)][_0x2abde4(0x22e)](this[_0x2abde4(0x1a2)]);}};Rt=qn([pt(0x0,_0x5c4cb1(_0x8c9022)),pt(0x1,_0x17539a),pt(0x2,_0x5c4cb1(_0x10c3c4))],Rt);var tr=Object[_0xe9a651(0x2ae)],ir=(_0x1a4700,_0x38a9b2,_0x161134,_0x4060d5)=>{var _0x7b2c7f=_0xe9a651;for(var _0xccca07=_0x4060d5>0x1?void 0x0:_0x4060d5?tr(_0x38a9b2,_0x161134):_0x38a9b2,_0x37926b=_0x1a4700[_0x7b2c7f(0x340)]-0x1,_0x5a76d3;_0x37926b>=0x0;_0x37926b--)(_0x5a76d3=_0x1a4700[_0x37926b])&&(_0xccca07=_0x5a76d3(_0xccca07)||_0xccca07);return _0xccca07;},ai=(_0x4deefc,_0x5b2156)=>(_0x13a499,_0x209d46)=>_0x5b2156(_0x13a499,_0x209d46,_0x4deefc);const sr=_0xe9a651(0x426);let bt=class{constructor(_0x3b7e90,_0x146c78){var _0x4fb9b0=_0xe9a651;this[_0x4fb9b0(0x292)]=_0x3b7e90,this[_0x4fb9b0(0x2ab)]=_0x146c78;}['_getAPIPrefixPath'](){var _0x52f48c=_0xe9a651,_0x560795,_0xb6947c;const _0x30f0ae=this[_0x52f48c(0x292)][_0x52f48c(0x33b)](bi),_0x4e6368=this[_0x52f48c(0x292)]['getConfig'](K);return(_0xb6947c=(_0x560795=_0x4e6368==null?void 0x0:_0x4e6368[_0x52f48c(0x209)])!=null?_0x560795:_0x30f0ae)!=null?_0xb6947c:sr;}async[_0xe9a651(0x264)](_0x27fc00){var _0x486af2=_0xe9a651;const _0x3f5740=this[_0x486af2(0x3ac)]()+'/collaborator';return{'list':[{'title':_0x486af2(0x3df),'mentions':(await this[_0x486af2(0x2ab)][_0x486af2(0x364)](_0x3f5740,{'params':{'objectID':_0x27fc00[_0x486af2(0x202)],'unitID':_0x27fc00[_0x486af2(0x202)]}}))[_0x486af2(0x14c)][_0x486af2(0x15c)][_0x486af2(0x145)](_0x544503=>({'objectId':_0x544503['id'],'name':_0x544503[_0x486af2(0x266)][_0x486af2(0x3f2)],'metadata':{'icon':_0x544503[_0x486af2(0x266)][_0x486af2(0x2e5)]},'label':_0x544503['subject'][_0x486af2(0x3f2)],'objectType':_0xfb8014[_0x486af2(0x310)]})),'metadata':{},'type':_0xfb8014[_0x486af2(0x310)]}]};}};bt=ir([ai(0x0,_0x5c4cb1(_0x17539a)),ai(0x1,_0x5c4cb1(_0x8c9022))],bt);var nr=Object[_0xe9a651(0x2ae)],rr=(_0x1d94e8,_0x59826a,_0x1872fc,_0x137858)=>{var _0xf12ffc=_0xe9a651;for(var _0x2e8bbc=_0x137858>0x1?void 0x0:_0x137858?nr(_0x59826a,_0x1872fc):_0x59826a,_0x1a5945=_0x1d94e8[_0xf12ffc(0x340)]-0x1,_0x1bf91d;_0x1a5945>=0x0;_0x1a5945--)(_0x1bf91d=_0x1d94e8[_0x1a5945])&&(_0x2e8bbc=_0x1bf91d(_0x2e8bbc)||_0x2e8bbc);return _0x2e8bbc;},Ae=(_0xb4eaf4,_0x4f2f3d)=>(_0x58f7ea,_0x4157fe)=>_0x4f2f3d(_0x58f7ea,_0x4157fe,_0xb4eaf4);let ot=class extends _0x12efa6{constructor(_0x1564df,_0x374ecd,_0x361849,_0x43f40f,_0x535fef){var _0x97ebf=_0xe9a651;super(),this[_0x97ebf(0x369)]=_0x1564df,this[_0x97ebf(0x319)]=_0x374ecd,this[_0x97ebf(0x3aa)]=_0x361849,this[_0x97ebf(0x3f6)]=_0x43f40f,this[_0x97ebf(0x1fd)]=_0x535fef,this[_0x97ebf(0x307)](),this[_0x97ebf(0x41a)]();}['_initCloseConn'](){var _0x5a56b7=_0xe9a651;const _0x3d4d2f=async _0x245641=>{var _0x26fb4a=_0x138f;(await this['_collaborationSessionService'][_0x26fb4a(0x224)](_0x245641))[_0x26fb4a(0x142)][_0x26fb4a(0x3f1)](_0x5b950a(_0x317fa6=>_0x317fa6['eventID']===_0x490579[_0x26fb4a(0x1dc)]),_0x33b282(this['dispose$']))[_0x26fb4a(0x31b)](_0x441bfc=>{var _0x1639e3=_0x26fb4a;const _0x49d895=_0x441bfc,{reason:_0x9699b0}=_0x49d895[_0x1639e3(0x338)];this[_0x1639e3(0x1fd)][_0x1639e3(0x417)]({'id':ne['CLOSE_ROOM'],'data':_0x9699b0}),this['_permissionService'][_0x1639e3(0x1a3)](new _0x5b91af(_0x245641)['id'],!0x1),this[_0x1639e3(0x3f6)][_0x1639e3(0x3fd)](_0x245641);});};_0x25c232(this[_0x5a56b7(0x319)][_0x5a56b7(0x2a0)](_0x4bea2b[_0x5a56b7(0x277)]),this[_0x5a56b7(0x319)]['getTypeOfUnitAdded$'](_0x4bea2b[_0x5a56b7(0x1cc)]))[_0x5a56b7(0x3f1)](_0x5e1429(_0x3a3e95=>_0x3a3e95[_0x5a56b7(0x353)]()),_0x5b950a(_0x3c9986=>!_0x5dd757(_0x3c9986)),_0x33b282(this[_0x5a56b7(0x1f6)]))[_0x5a56b7(0x31b)](_0x413075=>{_0x3d4d2f(_0x413075);});}[_0xe9a651(0x307)](){var _0x9dfb55=_0xe9a651;const _0x2bf6a7=async _0x3f89ba=>{var _0x28c043=_0x138f;const _0x16a385=await this[_0x28c043(0x3f6)][_0x28c043(0x224)](_0x3f89ba),_0x5ccc29=this['_injector'][_0x28c043(0x364)](_0x2557d0);_0x16a385[_0x28c043(0x142)][_0x28c043(0x3f1)](_0x5b950a(_0x5e124c=>_0x5e124c['eventID']===_0x490579[_0x28c043(0x344)]),_0x33b282(this['dispose$']))[_0x28c043(0x31b)](_0x9f7190=>{var _0xb647a2=_0x28c043;const _0x1accbd=_0x9f7190,{objectId:_0x3db9b0}=_0x1accbd[_0xb647a2(0x338)];_0x3db9b0===_0x3f89ba?_0x5ccc29[_0xb647a2(0x30a)](_0x3f89ba):_0x5ccc29[_0xb647a2(0x35f)](_0x3f89ba,_0x3db9b0);});};_0x25c232(this[_0x9dfb55(0x319)][_0x9dfb55(0x2a0)](_0x4bea2b[_0x9dfb55(0x277)]))['pipe'](_0x5e1429(_0x8cf10a=>_0x8cf10a[_0x9dfb55(0x353)]()),_0x5b950a(_0xd73c1c=>!_0x5dd757(_0xd73c1c)),_0x33b282(this[_0x9dfb55(0x1f6)]))[_0x9dfb55(0x31b)](_0x351149=>{_0x2bf6a7(_0x351149);});}};ot=rr([Ae(0x0,_0x5c4cb1(_0x1ad227)),Ae(0x1,_0x10c3c4),Ae(0x2,_0x546b61),Ae(0x3,_0x5c4cb1(Le)),Ae(0x4,_0x5c4cb1(ve))],ot);var ar=Object[_0xe9a651(0x2ae)],or=(_0x4aa880,_0x51811f,_0x4b791e,_0x26f4f4)=>{var _0x256c18=_0xe9a651;for(var _0x20d858=_0x26f4f4>0x1?void 0x0:_0x26f4f4?ar(_0x51811f,_0x4b791e):_0x51811f,_0x48c6bc=_0x4aa880[_0x256c18(0x340)]-0x1,_0x356a64;_0x48c6bc>=0x0;_0x48c6bc--)(_0x356a64=_0x4aa880[_0x48c6bc])&&(_0x20d858=_0x356a64(_0x20d858)||_0x20d858);return _0x20d858;},oi=(_0xe4893b,_0x23a4ff)=>(_0x21ea7c,_0x15cd8a)=>_0x23a4ff(_0x21ea7c,_0x15cd8a,_0xe4893b);let Ot=class{constructor(_0x457c12,_0x344630){var _0xaef57=_0xe9a651;this[_0xaef57(0x292)]=_0x457c12,this['_httpService']=_0x344630;}async['getUnitOnRev'](_0x6a0d5,_0x3bc11b){var _0x2e3ed1=_0xe9a651,_0xaa30ee;const {unitID:_0x474202,type:_0x27eb1c,revision:_0xb596a=0x0}=_0x3bc11b,_0x3d8a7b=this[_0x2e3ed1(0x2d0)]()+'/'+_0x27eb1c+_0x2e3ed1(0x31a)+_0x474202+_0x2e3ed1(0x390)+_0xb596a,_0x5b7ca8=(await this[_0x2e3ed1(0x3a8)]['get'](_0x3d8a7b))[_0x2e3ed1(0x14c)],_0x368d79=(_0xaa30ee=_0x5b7ca8['snapshot'])==null?void 0x0:_0xaa30ee['workbook'];if(_0x368d79){const _0x5eb0c0=_0x368d79==null?void 0x0:_0x368d79[_0x2e3ed1(0x25a)],_0x9f9215=_0x4e03f3['encode'](_0x2183fc(_0x5eb0c0));_0x368d79['originalMeta']=_0x9f9215,Object[_0x2e3ed1(0x174)](_0x368d79['sheets'])[_0x2e3ed1(0x40e)](([,_0x48be98])=>{var _0x5290e4=_0x2e3ed1;const _0x42f98d=_0x48be98['originalMeta'],_0x40b61c=_0x4e03f3['encode'](_0x2183fc(_0x42f98d));_0x48be98[_0x5290e4(0x25a)]=_0x40b61c;});}return _0x5b7ca8;}async[_0xe9a651(0x3a9)](_0x4c2adc,_0x1f18f3){var _0x420d1b=_0xe9a651;const {unitID:_0x302f37,type:_0x520854,blockID:_0x3955a5}=_0x1f18f3,_0x57f5f5=this[_0x420d1b(0x1e3)]()+'/'+_0x520854+_0x420d1b(0x31a)+_0x302f37+_0x420d1b(0x15d)+_0x3955a5;return(await this[_0x420d1b(0x3a8)]['get'](_0x57f5f5))[_0x420d1b(0x14c)];}async[_0xe9a651(0x3d2)](_0x40a2fe,_0xa1c066){var _0x1199d7=_0xe9a651;const {unitID:_0x1c47e3,type:_0x5eb9b4,blockID:_0x4d92b2}=_0xa1c066,_0x68942e=this[_0x1199d7(0x1e3)]()+_0x1199d7(0x15d)+_0x5eb9b4+'/unit/'+_0x1c47e3+_0x1199d7(0x15d)+_0x4d92b2;return(await this[_0x1199d7(0x3a8)][_0x1199d7(0x364)](_0x68942e))[_0x1199d7(0x14c)];}async['fetchMissingChangesets'](_0x27f503,_0x218d75){var _0x345334=_0xe9a651;const {unitID:_0x2c203b,type:_0x6e23a8,from:_0xeab4b6,to:_0x1c5930}=_0x218d75,_0x42f30a=this['_getAPIPrefix']()+'/'+_0x6e23a8+_0x345334(0x31a)+_0x2c203b+_0x345334(0x3d9)+_0xeab4b6+_0x345334(0x404)+_0x1c5930;return(await this['_httpService'][_0x345334(0x364)](_0x42f30a))[_0x345334(0x14c)];}[_0xe9a651(0x2d0)](){var _0x27169d=_0xe9a651,_0x2616d1;return(_0x2616d1=this[_0x27169d(0x292)][_0x27169d(0x33b)](ps))!=null?_0x2616d1:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x2ca1fe=_0xe9a651,_0x430d09,_0xb03c01;const _0x20e318=this['_configService'][_0x2ca1fe(0x33b)](fs),_0x1fa23c=this[_0x2ca1fe(0x292)][_0x2ca1fe(0x33b)](K);return(_0xb03c01=(_0x430d09=_0x1fa23c==null?void 0x0:_0x1fa23c[_0x2ca1fe(0x184)])!=null?_0x430d09:_0x20e318)!=null?_0xb03c01:vs;}async['getResourcesRequest'](_0x1b527a,_0x2d226a){var _0x4a0142=_0xe9a651;const _0x552c80='/universer-api/snapshot/'+_0x2d226a[_0x4a0142(0x237)]+_0x4a0142(0x31a)+_0x2d226a['unitID']+_0x4a0142(0x383);return(await this[_0x4a0142(0x3a8)][_0x4a0142(0x364)](_0x552c80,{'params':{'resourceId':JSON[_0x4a0142(0x342)](_0x2d226a['resourceIDs'])}}))[_0x4a0142(0x14c)];}[_0xe9a651(0x18b)](){var _0x2d2769=_0xe9a651;throw new Error(_0x2d2769(0x255));}[_0xe9a651(0x276)](){var _0x33a294=_0xe9a651;throw new Error(_0x33a294(0x255));}[_0xe9a651(0x412)](){var _0x272e26=_0xe9a651;throw new Error(_0x272e26(0x255));}[_0xe9a651(0x312)](){var _0x130d9d=_0xe9a651;throw new Error(_0x130d9d(0x255));}[_0xe9a651(0x324)](){var _0x278e57=_0xe9a651;throw new Error(_0x278e57(0x255));}[_0xe9a651(0x272)](){var _0x3ccc46=_0xe9a651;throw new Error(_0x3ccc46(0x255));}};Ot=or([oi(0x0,_0x17539a),oi(0x1,_0x5c4cb1(_0x8c9022))],Ot);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x10e648,_0x56ae4b,_0x330d86,_0x950ef4)=>{for(var _0x368fd2=_0x950ef4>0x1?void 0x0:_0x950ef4?cr(_0x56ae4b,_0x330d86):_0x56ae4b,_0x26942e=_0x10e648['length']-0x1,_0x5c08a5;_0x26942e>=0x0;_0x26942e--)(_0x5c08a5=_0x10e648[_0x26942e])&&(_0x368fd2=_0x5c08a5(_0x368fd2)||_0x368fd2);return _0x368fd2;},we=(_0x38226f,_0x3ecc29)=>(_0x3a7feb,_0x25a9a4)=>_0x3ecc29(_0x3a7feb,_0x25a9a4,_0x38226f);let yt=class extends _0x22c5d5{constructor(_0x309bd,_0x47387c,_0x42c568,_0x3f33ff,_0x1c3948){super(_0x309bd,_0x47387c,_0x42c568),this['_transformService']=_0x3f33ff,this['_logService']=_0x1c3948;}[_0xe9a651(0x3ca)](_0x15163a,_0x1a43bd){var _0x5790c8=_0xe9a651;const _0x1a2a02=this[_0x5790c8(0x402)](_0x15163a);if(_0x1a2a02)try{const _0x39d24c=this[_0x5790c8(0x2ec)](_0x1a2a02,_0x1a43bd);this['_substituteUndoStack'](_0x15163a,_0x39d24c);}catch(_0x2fdb34){this[_0x5790c8(0x2d3)]['error'](_0x5790c8(0x14f),_0x2fdb34),this[_0x5790c8(0x21b)](_0x15163a);}const _0x4f67f1=this[_0x5790c8(0x2d9)](_0x15163a);if(_0x4f67f1)try{const _0xc938f6=this[_0x5790c8(0x2ec)](_0x4f67f1,_0x1a43bd);this[_0x5790c8(0x289)](_0x15163a,_0xc938f6);}catch(_0x401c8d){this[_0x5790c8(0x2d3)][_0x5790c8(0x354)](_0x401c8d),this[_0x5790c8(0x148)](_0x15163a);}}['_clearUndo'](_0x4e2ab8){var _0x46b66b=_0xe9a651;const _0x229066=this[_0x46b66b(0x402)](_0x4e2ab8);_0x229066&&(_0x229066['length']=0x0,this[_0x46b66b(0x388)]());}[_0xe9a651(0x148)](_0x402391){var _0x43d320=_0xe9a651;const _0x44a032=this[_0x43d320(0x2d9)](_0x402391);_0x44a032&&(_0x44a032['length']=0x0,this[_0x43d320(0x388)]());}[_0xe9a651(0x12c)](_0x5ed9a3,_0x5a5150){var _0x53e652=_0xe9a651;this['_undoStacks'][_0x53e652(0x12b)](_0x5ed9a3,_0x5a5150),this['_updateStatus']();}['_substituteRedoStack'](_0x167afb,_0x3d4bb0){var _0x24d853=_0xe9a651;this['_redoStacks'][_0x24d853(0x12b)](_0x167afb,_0x3d4bb0),this[_0x24d853(0x388)]();}['_transformStack'](_0x1443db,_0x3ccbd6){var _0x1f71ee=_0xe9a651;const _0x295346=[];let _0x367b4e=_0x3ccbd6,_0x2fda93=_0x3ccbd6;for(let _0x2ebb70=_0x1443db[_0x1f71ee(0x340)]-0x1;_0x2ebb70>=0x0;_0x2ebb70--){const {unitID:_0x499bfb,undoMutations:_0x5489cb,redoMutations:_0x33330b}=_0x1443db[_0x2ebb70],_0x14e690=this[_0x1f71ee(0x27e)][_0x1f71ee(0x2bf)](_0x367b4e,_0x5489cb),_0x2a4fce=this[_0x1f71ee(0x27e)]['transformMutationsWithChangeset'](_0x2fda93,_0x33330b);if(_0x2d642b(_0x14e690)||_0x2d642b(_0x2a4fce)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x1f71ee(0x124),_0x14e690,_0x2a4fce);break;}_0x367b4e=_0x14e690[_0x1f71ee(0x1a6)],_0x2fda93=_0x2a4fce[_0x1f71ee(0x1a6)],_0x295346[_0x1f71ee(0x20b)]({'unitID':_0x499bfb,'undoMutations':_0x14e690['m2Prime'],'redoMutations':_0x2a4fce[_0x1f71ee(0x229)]});}return _0x295346['reverse']();}};yt=hr([we(0x0,_0x10c3c4),we(0x1,_0x806fa4),we(0x2,_0x22e619),we(0x3,_0x461f6c),we(0x4,_0x26ef4e)],yt);var _r=Object[_0xe9a651(0x2b1)],lr=Object[_0xe9a651(0x2ae)],ur=(_0x167c7b,_0x382952,_0x40bc8f)=>_0x382952 in _0x167c7b?_r(_0x167c7b,_0x382952,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40bc8f}):_0x167c7b[_0x382952]=_0x40bc8f,dr=(_0x245f5c,_0x271d27,_0x4597b1,_0x3a57a0)=>{var _0x484ca6=_0xe9a651;for(var _0x197b39=_0x3a57a0>0x1?void 0x0:_0x3a57a0?lr(_0x271d27,_0x4597b1):_0x271d27,_0x305106=_0x245f5c[_0x484ca6(0x340)]-0x1,_0x240ca4;_0x305106>=0x0;_0x305106--)(_0x240ca4=_0x245f5c[_0x305106])&&(_0x197b39=_0x240ca4(_0x197b39)||_0x197b39);return _0x197b39;},mt=(_0x3c2da7,_0x25e53c)=>(_0x45df4a,_0x5b3690)=>_0x25e53c(_0x45df4a,_0x5b3690,_0x3c2da7),fr=(_0x332439,_0x2c8bc6,_0x4fe96f)=>ur(_0x332439,_0x2c8bc6+'',_0x4fe96f);const vr=_0xe9a651(0x161);let Nt=class extends _0xa9835{constructor(_0x1338e7,_0x46c3ff,_0x575058,_0x17e325){var _0x561bf5=_0xe9a651;super(),N(this,_0x561bf5(0x191)),(this['_logService']=_0x46c3ff,this['_injector']=_0x575058,this[_0x561bf5(0x292)]=_0x17e325);const {..._0x2be5b2}=_0x32c29c({},Ds,_0x1338e7);if(!_0x2be5b2[_0x561bf5(0x2e2)])throw new Error(_0x561bf5(0x3a5));this[_0x561bf5(0x191)]=_0x2be5b2,this[_0x561bf5(0x292)][_0x561bf5(0x2c1)](K,_0x2be5b2);}[_0xe9a651(0x296)](){var _0x15afc3=_0xe9a651;this[_0x15afc3(0x27d)](),this[_0x15afc3(0x361)]();}[_0xe9a651(0x27d)](){var _0x318afe=_0xe9a651,_0x5e0df1,_0x384e4f;this[_0x318afe(0x369)][_0x318afe(0x214)](_0x5690ef)&&this[_0x318afe(0x2d3)][_0x318afe(0x354)](_0x318afe(0x302),_0x318afe(0x152));const _0x1d04f1=_0x5933ce([[_0x5690ef,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x318afe(0x191)]['socketService']}],[_0x2543a7,{'useClass':Ot}],[_0x13a659,{'useClass':Tt}],[_0x1d6cdd,{'useClass':Rt}],[_0x18f969,{'useClass':bt}],[nt],[It]],(_0x5e0df1=this[_0x318afe(0x191)])==null?void 0x0:_0x5e0df1[_0x318afe(0x332)]);if(!((_0x384e4f=this[_0x318afe(0x191)])!=null&&_0x384e4f[_0x318afe(0x252)])){const _0x4d045b=_0x1d04f1['findIndex'](([_0x1b68c6])=>_0x1b68c6===ht);_0x4d045b!==-0x1&&_0x1d04f1[_0x318afe(0x1c7)](_0x4d045b,0x1);}_0x180259(this[_0x318afe(0x369)],_0x1d04f1);}[_0xe9a651(0x361)](){var _0x53ff9e=_0xe9a651,_0x18457a,_0x1a056d,_0x3f0e84;this['_injector'][_0x53ff9e(0x364)](_0x8c9022)[_0x53ff9e(0x21a)]({'priority':0x14,'interceptor':_0x57e065({'maxParallel':0x6})}),(_0x18457a=this[_0x53ff9e(0x191)])!=null&&_0x18457a[_0x53ff9e(0x16e)]||(_0x1a056d=this[_0x53ff9e(0x369)]['get'](J,_0xc266b2[_0x53ff9e(0x3d0)]))==null||_0x1a056d['disableLocalCache'](),(_0x3f0e84=this[_0x53ff9e(0x191)])!=null&&_0x3f0e84['enableAuthServer']&&_0x413189(this[_0x53ff9e(0x369)],[[rt]]),_0x413189(this[_0x53ff9e(0x369)],[[at],[nt],[ot]]);}};fr(Nt,_0xe9a651(0x3e4),vr),Nt=dr([_0x53efde(_0x2e89f6,_0x2f85bc),mt(0x1,_0x26ef4e),mt(0x2,_0x5c4cb1(_0x1ad227)),mt(0x3,_0x17539a)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};