@univerjs-pro/collaboration-client 0.8.0-nightly.202506051607 → 0.8.0

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/index.js CHANGED
@@ -1 +1 @@
1
- var _0x72bb68=_0x3e8b;(function(_0x10bfbe,_0x1c68ac){var _0xba57b1=_0x3e8b,_0x14831b=_0x10bfbe();while(!![]){try{var _0x4d4b0e=parseInt(_0xba57b1(0x288))/0x1+parseInt(_0xba57b1(0x382))/0x2+parseInt(_0xba57b1(0x256))/0x3+parseInt(_0xba57b1(0x33d))/0x4+parseInt(_0xba57b1(0x2de))/0x5+-parseInt(_0xba57b1(0x1e5))/0x6*(parseInt(_0xba57b1(0x7f))/0x7)+-parseInt(_0xba57b1(0x2a2))/0x8;if(_0x4d4b0e===_0x1c68ac)break;else _0x14831b['push'](_0x14831b['shift']());}catch(_0x84d373){_0x14831b['push'](_0x14831b['shift']());}}}(_0x3795,0x63ed3));var Di=Object['defineProperty'],Ui=(_0x377946,_0x133c06,_0x22bec0)=>_0x133c06 in _0x377946?Di(_0x377946,_0x133c06,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22bec0}):_0x377946[_0x133c06]=_0x22bec0,N=(_0x3f7274,_0x1b4f29,_0x5b6525)=>Ui(_0x3f7274,typeof _0x1b4f29!=_0x72bb68(0x385)?_0x1b4f29+'':_0x1b4f29,_0x5b6525);import{createIdentifier as _0x478483,Inject as _0x41311f,Injector as _0x4cac68,IConfigService as _0x19233d,ILogService as _0x39af9e,Disposable as _0x3b479f,DisposableCollection as _0x15e9f0,toDisposable as _0x6a388a,IUniverInstanceService as _0x4aee63,UserManagerService as _0x4fe951,UniverInstanceType as _0x20b46e,LocaleService as _0x1d4c3f,Optional as _0x3cf774,RxDisposable as _0x184f79,Tools as _0x33b377,Rectangle as _0x2e545e,ICommandService as _0xe29ee9,JSONX as _0x6c7d57,CommandType as _0x558bce,IUndoRedoService as _0x1032f6,IPermissionService as _0x10fa9c,sequenceExecute as _0xa7a5e8,Workbook as _0x4599fd,MentionType as _0x3441e3,isInternalEditorID as _0x1d12f5,LocalUndoRedoService as _0x5b5dbe,IContextService as _0x27aafd,DependentOn as _0x4e7c3d,Plugin as _0x71670f,merge as _0x262291,mergeOverrideWithDependencies as _0x3bbf66,IAuthzIoService as _0x443b62,IMentionIOService as _0x1a925e,registerDependencies as _0x21f56c,Quantity as _0x1a5943,touchDependencies as _0x4a48db}from'@univerjs/core';import{Subject as _0x29e22a,merge as _0x2cf726,of as _0x283c2a,BehaviorSubject as _0x50b1a3,takeUntil as _0x476de2,ReplaySubject as _0x1a811b,take as _0x8eeaf8,map as _0x11bcb9,shareReplay as _0x2e23ba,firstValueFrom as _0x23659e,concatMap as _0x5a191d}from'rxjs';import{map as _0x6504cb,take as _0x342dba,filter as _0x3f4fbb,delay as _0x4b23c7,takeUntil as _0x400782}from'rxjs/operators';import{CollaborationEvent as _0x528d02,ISnapshotServerService as _0x58f01b,parseChangesetToProtocol as _0x8d6978,ITransformService as _0x13d105,isTransformMutationsWithChangesetSuccess as _0x4eb0e0,mapDocumentTypeToUniverType as _0x5f0393,RevisionService as _0x2d82bd,isTransformChangesetsSuccess as _0x3cf099,CompressMutationService as _0x58b918,parseProtocolChangeset as _0x131401,uuidv4 as _0x1da367,SnapshotService as _0x5ac07a,textEncoder as _0x4eae49,b64DecodeUnicode as _0x30f3bb,isTransformMutationsWithChangesetFailure as _0x162bf7,UniverCollaborationPlugin as _0x43fd45}from'@univerjs-pro/collaboration';import{HTTPService as _0x4fe417,ISocketService as _0xcd360b,MergeInterceptorFactory as _0x1c2a31,HTTPRequest as _0x14ac51,UniverNetworkPlugin as _0x21ec6a,ThresholdInterceptorFactory as _0x46408f}from'@univerjs/network';import{ITelemetryService as _0xe3ff86}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x85a4d0}from'@univerjs/docs';import{SheetsSelectionsService as _0x1ec771,SetSelectionsOperation as _0x39686a,InsertSheetMutation as _0x1a947d,EmptyMutation as _0x5e1645,WorkbookEditablePermission as _0x134095,SheetPermissionInitController as _0x4a4ce9}from'@univerjs/sheets';import{ImageSourceType as _0x64dcf1,ImageUploadStatusType as _0x235bfe,IImageIoService as _0x47bf4f}from'@univerjs/drawing';import{getGlobalObject as _0x97c32f}from'@univerjs-pro/license';const fs=_0x72bb68(0x22c),vs=_0x72bb68(0x272),ps=_0x72bb68(0x1e1),yr=_0x72bb68(0x27b),ms=0x7d0,gs=_0x72bb68(0x327),Ss=_0x72bb68(0x2d0),Nr=_0x72bb68(0x135),Es=_0x72bb68(0x166),Is=0x7530,fi='HEARTBEAT_TIMEOUT',vi=0x4e20,Ts=0x4e20,Cs=_0x72bb68(0xeb),Rs=0x3,Dr=_0x72bb68(0xc3),Ur=0x3e8,bs=_0x72bb68(0x81),Os=_0x72bb68(0x2fc),ys=_0x72bb68(0x23f),Ns=_0x72bb68(0x176),Ar=_0x72bb68(0x311),wr=_0x72bb68(0x15e);var pi=(_0x31fca2=>(_0x31fca2[_0x31fca2['UNDEFINED']=0x0]='UNDEFINED',_0x31fca2[_0x31fca2['OK']=0x1]='OK',_0x31fca2[_0x31fca2['INTERNAL_ERROR']=0x2]=_0x72bb68(0x12e),_0x31fca2[_0x31fca2[_0x72bb68(0x2bf)]=0x3]=_0x72bb68(0x2bf),_0x31fca2[_0x31fca2[_0x72bb68(0x36e)]=0x4]=_0x72bb68(0x36e),_0x31fca2[_0x31fca2[_0x72bb68(0x187)]=0x5]='UNAUTHENTICATED',_0x31fca2[_0x31fca2[_0x72bb68(0x36f)]=0x6]=_0x72bb68(0x36f),_0x31fca2[_0x31fca2[_0x72bb68(0x91)]=0x7]=_0x72bb68(0x91),_0x31fca2[_0x31fca2[_0x72bb68(0xd9)]=0x8]=_0x72bb68(0xd9),_0x31fca2[_0x31fca2[_0x72bb68(0x9e)]=0x9]='COMPLETION_FINISHED',_0x31fca2[_0x31fca2['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x31fca2[_0x31fca2[_0x72bb68(0x1ae)]=0x1389]=_0x72bb68(0x1ae),_0x31fca2[_0x31fca2[_0x72bb68(0x234)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x31fca2[_0x31fca2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x31fca2[_0x31fca2[_0x72bb68(0x20e)]=0x1773]=_0x72bb68(0x20e),_0x31fca2[_0x31fca2[_0x72bb68(0xf5)]=0x1b59]=_0x72bb68(0xf5),_0x31fca2[_0x31fca2[_0x72bb68(0x101)]=0x1b5a]=_0x72bb68(0x101),_0x31fca2[_0x31fca2[_0x72bb68(0xf9)]=0x1b5b]=_0x72bb68(0xf9),_0x31fca2[_0x31fca2[_0x72bb68(0x175)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x31fca2[_0x31fca2[_0x72bb68(0x292)]=0x1b5d]=_0x72bb68(0x292),_0x31fca2[_0x31fca2[_0x72bb68(0x128)]=0x1f41]=_0x72bb68(0x128),_0x31fca2[_0x31fca2[_0x72bb68(0x1c3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x31fca2[_0x31fca2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x72bb68(0x207),_0x31fca2[_0x31fca2['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x72bb68(0xef),_0x31fca2[_0x31fca2[_0x72bb68(0x1e4)]=0x232c]=_0x72bb68(0x1e4),_0x31fca2[_0x31fca2[_0x72bb68(0x19d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x31fca2[_0x31fca2['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x72bb68(0x1be),_0x31fca2[_0x31fca2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x72bb68(0x2fd),_0x31fca2[_0x31fca2[_0x72bb68(0xba)]=0x2713]=_0x72bb68(0xba),_0x31fca2[_0x31fca2[_0x72bb68(0x22e)]=0x2714]=_0x72bb68(0x22e),_0x31fca2[_0x31fca2[_0x72bb68(0x369)]=0x271a]=_0x72bb68(0x369),_0x31fca2[_0x31fca2['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x31fca2[_0x31fca2['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x72bb68(0x2d6),_0x31fca2[_0x31fca2[_0x72bb68(0x301)]=0x271d]=_0x72bb68(0x301),_0x31fca2[_0x31fca2[_0x72bb68(0x296)]=0x271e]=_0x72bb68(0x296),_0x31fca2[_0x31fca2[_0x72bb68(0x368)]=0x271f]=_0x72bb68(0x368),_0x31fca2[_0x31fca2[_0x72bb68(0x24e)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x31fca2[_0x31fca2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x31fca2[_0x31fca2['INVALID_INVITE_CODE']=0x2ee2]=_0x72bb68(0xf1),_0x31fca2[_0x31fca2[_0x72bb68(0x171)]=0x2ee3]=_0x72bb68(0x171),_0x31fca2[_0x31fca2['USER_NOT_INVITED_CODE']=0x2ee4]=_0x72bb68(0x2f5),_0x31fca2[_0x31fca2[_0x72bb68(0x294)]=0x2ee5]=_0x72bb68(0x294),_0x31fca2[_0x31fca2['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x72bb68(0x1de),_0x31fca2[_0x31fca2['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x72bb68(0x27a),_0x31fca2[_0x31fca2['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x31fca2[_0x31fca2[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x31fca2))(pi||{}),Z=(_0x26fa66=>(_0x26fa66[_0x26fa66[_0x72bb68(0x150)]=0x0]=_0x72bb68(0x150),_0x26fa66[_0x26fa66[_0x72bb68(0x357)]=0x1]=_0x72bb68(0x357),_0x26fa66[_0x26fa66[_0x72bb68(0x9d)]=0x2]=_0x72bb68(0x9d),_0x26fa66[_0x26fa66[_0x72bb68(0x381)]=0x3]=_0x72bb68(0x381),_0x26fa66[_0x26fa66['UNIVER_PROJECT']=0x4]=_0x72bb68(0x19e),_0x26fa66[_0x26fa66[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x26fa66))(Z||{}),F=(_0x3654ad=>(_0x3654ad[_0x3654ad[_0x72bb68(0x2bc)]=0x0]=_0x72bb68(0x2bc),_0x3654ad[_0x3654ad[_0x72bb68(0x299)]=0x1]=_0x72bb68(0x299),_0x3654ad[_0x3654ad['JOIN']=0x2]=_0x72bb68(0x1fa),_0x3654ad[_0x3654ad['LEAVE']=0x3]=_0x72bb68(0x31f),_0x3654ad[_0x3654ad[_0x72bb68(0x111)]=0x4]='INGEST',_0x3654ad[_0x3654ad['HEARTBEAT']=0x5]=_0x72bb68(0x22f),_0x3654ad[_0x3654ad['RECV']=0x6]='RECV',_0x3654ad[_0x3654ad[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x3654ad))(F||{}),me=(_0x35a0f4=>(_0x35a0f4[_0x35a0f4['UNKNOWN_CODE']=0x0]=_0x72bb68(0x180),_0x35a0f4[_0x35a0f4['OK']=0x1]='OK',_0x35a0f4[_0x35a0f4['FAIL']=0x2]=_0x72bb68(0x302),_0x35a0f4[_0x35a0f4['JOIN_ROOM_FULL']=0x3e9]=_0x72bb68(0x113),_0x35a0f4[_0x35a0f4[_0x72bb68(0x2e5)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x35a0f4[_0x35a0f4[_0x72bb68(0x80)]=0x3eb]=_0x72bb68(0x80),_0x35a0f4[_0x35a0f4[_0x72bb68(0x2da)]=0x3ec]=_0x72bb68(0x2da),_0x35a0f4[_0x35a0f4[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x35a0f4))(me||{}),mi=(_0x510f7d=>(_0x510f7d[_0x510f7d[_0x72bb68(0x376)]=0x0]=_0x72bb68(0x376),_0x510f7d[_0x510f7d[_0x72bb68(0x209)]=0x1]=_0x72bb68(0x209),_0x510f7d[_0x510f7d[_0x72bb68(0x30f)]=0x2]=_0x72bb68(0x30f),_0x510f7d[_0x510f7d['UnitEmbedded']=0x3]=_0x72bb68(0x33b),_0x510f7d[_0x510f7d[_0x72bb68(0x31e)]=0x4]=_0x72bb68(0x31e),_0x510f7d[_0x510f7d[_0x72bb68(0x206)]=0x5]=_0x72bb68(0x206),_0x510f7d[_0x510f7d[_0x72bb68(0xd2)]=-0x1]=_0x72bb68(0xd2),_0x510f7d))(mi||{});const K=_0x72bb68(0x274),Ds={};var ne=(_0x3c5c39=>(_0x3c5c39[_0x72bb68(0x2e7)]=_0x72bb68(0x2e7),_0x3c5c39[_0x72bb68(0x2bf)]=_0x72bb68(0x2bf),_0x3c5c39[_0x72bb68(0x325)]=_0x72bb68(0x325),_0x3c5c39[_0x72bb68(0x2b7)]=_0x72bb68(0x2b7),_0x3c5c39[_0x72bb68(0x153)]=_0x72bb68(0x153),_0x3c5c39[_0x72bb68(0x37d)]=_0x72bb68(0x37d),_0x3c5c39[_0x72bb68(0x20b)]='SOCKET_FAILED',_0x3c5c39[_0x72bb68(0x21e)]=_0x72bb68(0x21e),_0x3c5c39))(ne||{});class ve{constructor(){var _0x9e9aaa=_0x72bb68;N(this,_0x9e9aaa(0x14f),new _0x29e22a()),N(this,_0x9e9aaa(0x25e),this['_event$'][_0x9e9aaa(0xdc)]());}['emitEvent'](_0x3f2ff1){var _0xc76d7e=_0x72bb68;this[_0xc76d7e(0x14f)][_0xc76d7e(0x173)](_0x3f2ff1);}}const Us=_0x478483(_0x72bb68(0x36b));function As(_0x372f79){var _0x4187cf=_0x72bb68,_0x490c2b,_0x48b59a,_0xaf49ba,_0x34183e,_0x2667f4;const _0x3cc78a=_0x372f79[_0x4187cf(0x13c)],_0xff754=JSON[_0x4187cf(0x12b)](_0x3cc78a);switch(_0xff754[_0x4187cf(0x17b)]){case F[_0x4187cf(0x22f)]:case F[_0x4187cf(0x299)]:{const _0xcd7875=_0xff754[_0x4187cf(0x16b)];return{..._0xff754,'data':_0xcd7875,'cmd':_0xff754[_0x4187cf(0x17b)]};}case F['JOIN']:{const _0x4c5fd1=_0xff754[_0x4187cf(0x181)];return{..._0xff754,'data':_0x4c5fd1,'cmd':_0xff754[_0x4187cf(0x17b)]};}case F[_0x4187cf(0x2a8)]:{const _0x4a4dc6=_0xff754[_0x4187cf(0xcd)];switch(_0x4a4dc6[_0x4187cf(0x1ce)]){case _0x528d02[_0x4187cf(0x295)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0x490c2b=_0x4a4dc6[_0x4187cf(0x353)])==null?void 0x0:_0x490c2b['cs']},'cmd':_0xff754['cmd']};case _0x528d02['CHANGESET_ACK']:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0x48b59a=_0x4a4dc6[_0x4187cf(0x200)])==null?void 0x0:_0x48b59a['cs']},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x1ef)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0xaf49ba=_0x4a4dc6[_0x4187cf(0x2f9)])==null?void 0x0:_0xaf49ba['cs']},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02['CHANGESET_REJ']:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0x34183e=_0x4a4dc6['csRejEvent'])==null?void 0x0:_0x34183e['cs']},'cmd':_0xff754['cmd']};case _0x528d02[_0x4187cf(0x15a)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':(_0x2667f4=_0x4a4dc6[_0x4187cf(0x22a)])==null?void 0x0:_0x2667f4['cs']},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x33c)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x199)]},'cmd':_0xff754['cmd']};case _0x528d02['USERS_ENTER']:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x240)]},'cmd':_0xff754['cmd']};case _0x528d02[_0x4187cf(0x2e6)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x110)]},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x2be)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x1c4)]},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x284)]:case _0x528d02[_0x4187cf(0xfc)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x2c0)]},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x20a)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x1c4)]},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x2df)]:return{..._0xff754,'data':_0x4a4dc6,'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02[_0x4187cf(0x1a9)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x14e)]},'cmd':_0xff754['cmd']};case _0x528d02[_0x4187cf(0x290)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6['updatePermissionObjEvent']},'cmd':_0xff754[_0x4187cf(0x17b)]};case _0x528d02['SHOULD_CLOSE_CONN']:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x1d7)]},'cmd':_0xff754['cmd']};case _0x528d02[_0x4187cf(0xdd)]:return{..._0xff754,'data':{..._0x4a4dc6,'data':_0x4a4dc6[_0x4187cf(0x308)]},'cmd':_0xff754['cmd']};default:return _0xff754;}}default:return _0xff754;}}function ws(_0x16d6e7){var _0x4a453d=_0x72bb68;switch(_0x16d6e7[_0x4a453d(0x17b)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x4a453d(0x384)]({'cmd':_0x16d6e7[_0x4a453d(0x17b)],'routeKey':_0x16d6e7['routeKey']});case F['INGEST']:{let _0x1000c8;switch(_0x16d6e7[_0x4a453d(0x13c)]['eventID']){case _0x528d02[_0x4a453d(0x33c)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x33c)],'updateCursorEvent':_0x16d6e7['data'][_0x4a453d(0x13c)]};break;}case _0x528d02['USERS_LEAVE']:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x2e6)],'leaveEvent':_0x16d6e7[_0x4a453d(0x13c)][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0x328)]:{_0x1000c8={'eventID':_0x528d02['USERS_ENTER'],'joinEvent':_0x16d6e7[_0x4a453d(0x13c)][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0x2be)]:{_0x1000c8={'eventID':_0x528d02['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x16d6e7['data'][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0xfc)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0xfc)],'liveShareOperation':_0x16d6e7[_0x4a453d(0x13c)][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0x20a)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x20a)],'liveShareTerminate':_0x16d6e7[_0x4a453d(0x13c)]['data']};break;}case _0x528d02[_0x4a453d(0x252)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x252)],'liveShareRequestHost':_0x16d6e7[_0x4a453d(0x13c)][_0x4a453d(0x13c)]};break;}case _0x528d02[_0x4a453d(0x284)]:{_0x1000c8={'eventID':_0x528d02[_0x4a453d(0x284)]};break;}default:_0x1000c8={'eventID':_0x16d6e7[_0x4a453d(0x13c)]['eventID']};}return JSON['stringify']({'cmd':_0x16d6e7[_0x4a453d(0x17b)],'routeKey':_0x16d6e7[_0x4a453d(0x355)],'collaMsg':_0x1000c8});}case F[_0x4a453d(0x1fa)]:return JSON['stringify']({'cmd':_0x16d6e7[_0x4a453d(0x17b)],'routeKey':_0x16d6e7[_0x4a453d(0x355)],'joinReq':_0x16d6e7[_0x4a453d(0x13c)]});case F['LEAVE']:return JSON[_0x4a453d(0x384)]({'cmd':_0x16d6e7[_0x4a453d(0x17b)],'routeKey':_0x16d6e7[_0x4a453d(0x355)],'leaveReq':_0x16d6e7[_0x4a453d(0x13c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ps=Object[_0x72bb68(0x159)],Ls=(_0x39bf06,_0x29aacf,_0xccea89,_0x2dc1cc)=>{var _0x3ec137=_0x72bb68;for(var _0x51e5db=_0x2dc1cc>0x1?void 0x0:_0x2dc1cc?Ps(_0x29aacf,_0xccea89):_0x29aacf,_0x1c9da9=_0x39bf06[_0x3ec137(0x182)]-0x1,_0x3a09e1;_0x1c9da9>=0x0;_0x1c9da9--)(_0x3a09e1=_0x39bf06[_0x1c9da9])&&(_0x51e5db=_0x3a09e1(_0x51e5db)||_0x51e5db);return _0x51e5db;},Ue=(_0xbda304,_0x32311b)=>(_0x2c4a9d,_0x3a33df)=>_0x32311b(_0x2c4a9d,_0x3a33df,_0xbda304);const gi=_0x478483(_0x72bb68(0xdf));function Ms(_0x29e9d4,_0x59afd4,_0x5f59bf){var _0xa5bd6a=_0x72bb68;return _0x29e9d4+'/'+_0x59afd4+_0xa5bd6a(0x340)+_0x5f59bf+'/new_changes';}let Ft=class extends _0x3b479f{constructor(_0x4626b3,_0x3b5057,_0x54b01e,_0x2f1273,_0x186dd6){var _0x10ddd4=_0x72bb68;super(),this[_0x10ddd4(0x37c)]=_0x4626b3,this[_0x10ddd4(0x367)]=_0x3b5057,this['_configService']=_0x54b01e,this['_logService']=_0x2f1273,this['_snapshotServerService']=_0x186dd6;}['_doCreateSocket'](_0x226d81){var _0x304c82=_0x72bb68;const _0x5e3e5e=this[_0x304c82(0x37c)][_0x304c82(0x283)](_0xcd360b);if(!_0x5e3e5e)throw new Error(_0x304c82(0x238));const _0x1e5c18=_0x5e3e5e[_0x304c82(0x372)](_0x226d81);if(!_0x1e5c18)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3ac5b4=new _0x15e9f0(),_0x45a1ae=new _0x29e22a();_0x3ac5b4[_0x304c82(0x33e)](_0x1e5c18[_0x304c82(0x219)][_0x304c82(0x7d)](_0x2c4419=>_0x45a1ae[_0x304c82(0x173)](_0x2c4419))),_0x3ac5b4[_0x304c82(0x33e)](_0x6a388a(()=>_0x45a1ae[_0x304c82(0x8c)]()));const _0x4e1fea=new _0x29e22a();_0x3ac5b4['add'](_0x1e5c18['error$']['subscribe'](_0x22a4aa=>_0x4e1fea[_0x304c82(0x173)](_0x22a4aa))),_0x3ac5b4['add'](_0x6a388a(()=>_0x4e1fea[_0x304c82(0x8c)]()));const _0x5ac634=new _0x29e22a();_0x3ac5b4['add'](_0x1e5c18[_0x304c82(0x124)][_0x304c82(0x7d)](_0x7732ec=>{const _0x9a94af=As(_0x7732ec);_0x5ac634['next'](_0x9a94af);})),_0x3ac5b4[_0x304c82(0x33e)](_0x6a388a(()=>_0x5ac634['complete']()));let _0x15aad4;const _0x16282e=()=>{var _0x3ae4c7=_0x304c82;_0x4e1fea['next'](new Event(_0x3ae4c7(0x15b))),_0x45a1ae['next'](new Event(_0x3ae4c7(0x15b))),_0x15aad4[_0x3ae4c7(0x246)]();};return _0x15aad4={'memberID':'','close$':_0x45a1ae[_0x304c82(0xdc)](),'error$':_0x4e1fea['asObservable'](),'open$':_0x1e5c18[_0x304c82(0x162)],'message$':_0x5ac634['asObservable'](),'send':_0x574e75=>{var _0x40148b=_0x304c82;if(_0x574e75['cmd']===F[_0x40148b(0x111)]){if(_0x574e75[_0x40148b(0x13c)][_0x40148b(0x1ce)]===_0x528d02[_0x40148b(0x8b)]){this[_0x40148b(0x348)](_0x15aad4,_0x574e75[_0x40148b(0x13c)])[_0x40148b(0x244)](_0x5ca461=>{var _0x36296a=_0x40148b;this[_0x36296a(0xde)]['error'](_0x5ca461),_0x16282e();});return;}if(_0x574e75[_0x40148b(0x13c)][_0x40148b(0x1ce)]===_0x528d02['FETCH_MISSING']){const _0x27e08a=_0x574e75[_0x40148b(0x13c)];this[_0x40148b(0x259)](_0x27e08a)[_0x40148b(0xae)](_0x5e9a7d=>{var _0x2abb49=_0x40148b;_0x5ac634['next']({'cmd':F[_0x2abb49(0x2a8)],'code':me['OK'],'routeKey':_0x27e08a['data']['unitID'],'routeType':'','data':{'eventID':_0x528d02[_0x2abb49(0x94)],'data':{'changesets':_0x5e9a7d}}});})[_0x40148b(0x244)](_0x3e870b=>{this['_logService']['error'](_0x3e870b),_0x16282e();});return;}}_0x1e5c18[_0x40148b(0x341)](ws(_0x574e75));},'close':()=>{var _0x433fd8=_0x304c82;_0x1e5c18[_0x433fd8(0x246)](),_0x3ac5b4[_0x433fd8(0x97)]();}},_0x15aad4;}async[_0x72bb68(0x348)](_0x274947,_0x511a2b){var _0x619171=_0x72bb68,_0x568e19,_0x1e549e;const {unitType:_0x53bcc2,unitID:_0x2888b5,changeset:_0x4e7ea6}=_0x511a2b[_0x619171(0x13c)],_0x18b073={'unitID':_0x2888b5,'memberID':_0x274947[_0x619171(0x1e6)],'type':_0x53bcc2,'changeset':_0x8d6978(_0x4e7ea6)},_0x2b1060=this[_0x619171(0x184)]['getConfig'](bs),_0x29d5d9=this[_0x619171(0x184)]['getConfig'](K),_0xa23619=Ms((_0x1e549e=(_0x568e19=_0x29d5d9==null?void 0x0:_0x29d5d9[_0x619171(0x2cb)])!=null?_0x568e19:_0x2b1060)!=null?_0x1e549e:Os,_0x53bcc2,_0x2888b5);try{await this[_0x619171(0x367)]['post'](_0xa23619,{'body':_0x18b073});}catch(_0x3d1e3c){throw this[_0x619171(0xde)][_0x619171(0x32f)](_0x619171(0x2c6),'submit\x20changeset\x20error!'),_0x3d1e3c;}}async['_fetchMissChangesets'](_0x4ed4ff){var _0x4d8662=_0x72bb68;const {unitID:_0x5ac433,from:_0x3f765c,to:_0x137b63,unitType:_0x3071fc}=_0x4ed4ff[_0x4d8662(0x13c)];return(await this['_snapshotServerService'][_0x4d8662(0x2ba)]({'metadata':void 0x0},{'unitID':_0x5ac433,'type':_0x3071fc,'from':_0x3f765c,'to':_0x137b63}))[_0x4d8662(0x123)];}};Ft=Ls([Ue(0x0,_0x41311f(_0x4cac68)),Ue(0x1,_0x41311f(_0x4fe417)),Ue(0x2,_0x19233d),Ue(0x3,_0x39af9e),Ue(0x4,_0x58f01b)],Ft);const xs='collaboration_new_changeset';function ks(_0x3a618a){var _0x471285=_0x72bb68;return JSON[_0x471285(0x384)](_0x3a618a)[_0x471285(0x182)];}class Si{constructor(){var _0x5e440b=_0x72bb68;N(this,'_commentUpdate$',new _0x29e22a()),N(this,_0x5e440b(0x378),this[_0x5e440b(0x178)][_0x5e440b(0xdc)]());}[_0x72bb68(0xe9)](_0x5b0b66){var _0x5ab585=_0x72bb68;this[_0x5ab585(0x178)][_0x5ab585(0x173)](_0x5b0b66);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0xa28a55,_0x15921f,_0x35d6cc,_0x2e987d)=>{var _0x252802=_0x72bb68;for(var _0x2ceee7=_0x2e987d>0x1?void 0x0:_0x2e987d?$s(_0x15921f,_0x35d6cc):_0x15921f,_0x4ef518=_0xa28a55[_0x252802(0x182)]-0x1,_0x515e0a;_0x4ef518>=0x0;_0x4ef518--)(_0x515e0a=_0xa28a55[_0x4ef518])&&(_0x2ceee7=_0x515e0a(_0x2ceee7)||_0x2ceee7);return _0x2ceee7;},Vt=(_0x367da9,_0x6180d3)=>(_0x173749,_0x453125)=>_0x6180d3(_0x173749,_0x453125,_0x367da9);let Pe=class extends _0x3b479f{constructor(_0x4cd48c,_0x57605f){var _0x1c280d=_0x72bb68;super(),N(this,'_roomMembers',new Map()),N(this,_0x1c280d(0x1c8),new _0x29e22a()),(this['_univerInstanceService']=_0x4cd48c,this[_0x1c280d(0x9f)]=_0x57605f,this[_0x1c280d(0x2c3)](_0x2cf726(this[_0x1c280d(0xf4)][_0x1c280d(0x2cc)](_0x20b46e[_0x1c280d(0x9d)])[_0x1c280d(0x2ea)](_0x6504cb(_0x257863=>_0x257863[_0x1c280d(0x2a0)]())),this[_0x1c280d(0xf4)][_0x1c280d(0x2cc)](_0x20b46e[_0x1c280d(0x357)])[_0x1c280d(0x2ea)](_0x6504cb(_0xcb54f7=>_0xcb54f7['getUnitId']())),this[_0x1c280d(0xf4)][_0x1c280d(0x2cc)](_0x20b46e[_0x1c280d(0x381)])[_0x1c280d(0x2ea)](_0x6504cb(_0x4a22aa=>_0x4a22aa[_0x1c280d(0x2a0)]())))[_0x1c280d(0x7d)](_0x1a4bfd=>this[_0x1c280d(0x337)](_0x1a4bfd))));}[_0x72bb68(0x29d)](_0x1d54fb){var _0x134e11=_0x72bb68;return this['_roomMembers']['has'](_0x1d54fb)?_0x283c2a(this[_0x134e11(0x8e)][_0x134e11(0x283)](_0x1d54fb)):this[_0x134e11(0x1c8)][_0x134e11(0x2ea)](_0x6504cb(_0x273b8d=>{var _0x4d99cc=_0x134e11;if(_0x273b8d===_0x1d54fb)return this[_0x4d99cc(0x8e)][_0x4d99cc(0x283)](_0x273b8d);}));}[_0x72bb68(0x315)](_0x2391b9){var _0xb71517=_0x72bb68;this[_0xb71517(0x9f)][_0xb71517(0x315)](_0x2391b9);}[_0x72bb68(0x2b5)](){var _0x301f8f=_0x72bb68;return this[_0x301f8f(0x9f)][_0x301f8f(0x2b5)]();}['updateMember'](_0x37bba4,_0x498a44){var _0x240c91=_0x72bb68;let _0x51bbd1=this[_0x240c91(0x8e)][_0x240c91(0x283)](_0x37bba4);_0x51bbd1||(_0x51bbd1=new Bs(),this['_roomMembers'][_0x240c91(0x1c2)](_0x37bba4,_0x51bbd1),this[_0x240c91(0x1c8)]['next'](_0x37bba4)),_0x51bbd1[_0x240c91(0x21c)](_0x498a44);}[_0x72bb68(0x16e)](_0x20cae1,_0x30d696){var _0x802c25=_0x72bb68;const _0x4d9d03=this[_0x802c25(0x8e)][_0x802c25(0x283)](_0x20cae1);_0x4d9d03&&_0x4d9d03[_0x802c25(0x16e)](_0x30d696);}[_0x72bb68(0x13d)](_0x57d29b){var _0x19b5d1=_0x72bb68;return this[_0x19b5d1(0x8e)][_0x19b5d1(0x283)](_0x57d29b);}[_0x72bb68(0x1f1)](_0x3ea134,_0x4d5e24){var _0x122866=_0x72bb68;const _0x1bb311=this['_roomMembers'][_0x122866(0x283)](_0x3ea134);if(_0x1bb311)return _0x1bb311[_0x122866(0x1f1)](_0x4d5e24);}[_0x72bb68(0x337)](_0x497b8d){var _0x56e50d=_0x72bb68;const _0x4a7d76=this[_0x56e50d(0x8e)][_0x56e50d(0x283)](_0x497b8d);_0x4a7d76&&(_0x4a7d76[_0x56e50d(0x97)](),this[_0x56e50d(0x8e)]['delete'](_0x497b8d));}[_0x72bb68(0x97)](){var _0x515008=_0x72bb68;this[_0x515008(0x8e)][_0x515008(0x16a)](_0x11c4cc=>_0x11c4cc[_0x515008(0x97)]()),this[_0x515008(0x8e)][_0x515008(0x318)](),this[_0x515008(0x1c8)][_0x515008(0x8c)]();}};Pe=Hs([Vt(0x0,_0x4aee63),Vt(0x1,_0x41311f(_0x4fe951))],Pe);class Bs extends _0x3b479f{constructor(){var _0x28bb25=_0x72bb68;super(...arguments),N(this,_0x28bb25(0x31b),new Map()),N(this,_0x28bb25(0xab),new _0x50b1a3(this[_0x28bb25(0x31b)])),N(this,_0x28bb25(0x289),this['_members$']['asObservable']());}['dispose'](){var _0x3e6a2a=_0x72bb68;this['_members'][_0x3e6a2a(0x318)]();}[_0x72bb68(0x21c)](_0x333a48){var _0x167a44=_0x72bb68;this['_members'][_0x167a44(0x1c2)](_0x333a48[_0x167a44(0x1e6)],_0x333a48),this[_0x167a44(0x18a)]();}[_0x72bb68(0x16e)](_0x436e96){var _0x4d350f=_0x72bb68;this[_0x4d350f(0x31b)][_0x4d350f(0x1d8)](_0x436e96);}['getMember'](_0x36b474){var _0x588a80=_0x72bb68;return this[_0x588a80(0x31b)][_0x588a80(0x283)](_0x36b474);}['getAllMembers'](){var _0x32f41f=_0x72bb68;return Array[_0x32f41f(0x1b7)](this[_0x32f41f(0x31b)]['values']());}[_0x72bb68(0x18a)](){var _0x3a7d28=_0x72bb68;this[_0x3a7d28(0xab)]['next'](this[_0x3a7d28(0x31b)]);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x4c2f08,_0x93ceff,_0x12e75b,_0x4352d4)=>{for(var _0x4241ee=_0x4352d4>0x1?void 0x0:_0x4352d4?js(_0x93ceff,_0x12e75b):_0x93ceff,_0x52e8fa=_0x4c2f08['length']-0x1,_0x5aec42;_0x52e8fa>=0x0;_0x52e8fa--)(_0x5aec42=_0x4c2f08[_0x52e8fa])&&(_0x4241ee=_0x5aec42(_0x4241ee)||_0x4241ee);return _0x4241ee;},pe=(_0x3ca388,_0x5ca108)=>(_0x2381cf,_0x5a2161)=>_0x5ca108(_0x2381cf,_0x5a2161,_0x3ca388),Se=(_0x5192f0=>(_0x5192f0[_0x5192f0[_0x72bb68(0x1b4)]=0x0]=_0x72bb68(0x1b4),_0x5192f0[_0x5192f0[_0x72bb68(0x99)]=0x1]='JOINING',_0x5192f0[_0x5192f0['OFFLINE']=0x2]=_0x72bb68(0x243),_0x5192f0[_0x5192f0[_0x72bb68(0x1fb)]=0x3]='ONLINE',_0x5192f0))(Se||{});const Gt={[me['FAIL']]:_0x72bb68(0x188),[me['JOIN_ROOM_FULL']]:_0x72bb68(0x194),[me[_0x72bb68(0x2e5)]]:'session.room-not-exists',[me['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x72bb68(0x142)};let gt=class extends _0x184f79{constructor(_0x41e412,_0x1f6f11,_0x4e9562,_0x263eca,_0x249b9b,_0x5a25ed,_0x13c019,_0x1071ef,_0xdb5f7c){var _0x356515=_0x72bb68;super(),N(this,_0x356515(0x300),new _0x50b1a3(0x0)),N(this,_0x356515(0x2a3),this[_0x356515(0x300)][_0x356515(0xdc)]()),N(this,_0x356515(0x14f),new _0x29e22a()),N(this,_0x356515(0x25e),this[_0x356515(0x14f)][_0x356515(0xdc)]()),N(this,_0x356515(0x280)),N(this,_0x356515(0x1d2)),N(this,_0x356515(0x310)),N(this,_0x356515(0x304),!0x1),N(this,_0x356515(0x25a),null),(this[_0x356515(0x28d)]=_0x41e412,this[_0x356515(0xde)]=_0x4e9562,this[_0x356515(0x184)]=_0x263eca,this[_0x356515(0x287)]=_0x249b9b,this[_0x356515(0xf8)]=_0x5a25ed,this['_commentService']=_0x13c019,this[_0x356515(0x37b)]=_0x1071ef,this[_0x356515(0x2ef)]=_0xdb5f7c,this[_0x356515(0x304)]=!!this[_0x356515(0x2ef)],_0x1f6f11[_0x356515(0x2ea)](_0x476de2(this[_0x356515(0x17a)]))[_0x356515(0x7d)](_0x5e4033=>{var _0x1bd631=_0x356515,_0x2ac978;typeof _0x5e4033>'u'||(this['_socket']=_0x5e4033,_0x5e4033?(this[_0x1bd631(0x2af)](_0x5e4033),this[_0x1bd631(0x1d2)]=_0x5e4033[_0x1bd631(0x124)][_0x1bd631(0x7d)](_0x5efdca=>{var _0x122c28=_0x1bd631;_0x5efdca[_0x122c28(0x355)]===this[_0x122c28(0x28d)]&&this[_0x122c28(0x2e3)](_0x5efdca);})):(this[_0x1bd631(0x375)](),this[_0x1bd631(0x300)]['next'](0x2),(_0x2ac978=this[_0x1bd631(0x1d2)])==null||_0x2ac978[_0x1bd631(0x18e)](),this[_0x1bd631(0x1d2)]=null));}));}get[_0x72bb68(0x134)](){var _0x4e0242=_0x72bb68;return this[_0x4e0242(0x300)][_0x4e0242(0x112)]();}['getMemberID'](){var _0x211f09=_0x72bb68,_0x447760,_0x4d7e07;return(_0x4d7e07=(_0x447760=this['_socket'])==null?void 0x0:_0x447760[_0x211f09(0x1e6)])!=null?_0x4d7e07:null;}['dispose'](){var _0x31b2d1=_0x72bb68;super[_0x31b2d1(0x97)](),this['dispose$'][_0x31b2d1(0x173)](),this[_0x31b2d1(0x17a)][_0x31b2d1(0x8c)]();}[_0x72bb68(0x246)](){var _0x1cd4fd=_0x72bb68,_0x54f5ba,_0x5b7d00;this[_0x1cd4fd(0x375)](),(_0x54f5ba=this[_0x1cd4fd(0x280)])==null||_0x54f5ba[_0x1cd4fd(0x341)]({'cmd':F[_0x1cd4fd(0x31f)],'data':{'roomID':this[_0x1cd4fd(0x28d)]}}),(_0x5b7d00=this[_0x1cd4fd(0x280)])==null||_0x5b7d00[_0x1cd4fd(0x246)](),this[_0x1cd4fd(0x14f)][_0x1cd4fd(0x8c)](),this['_sessionStatus$'][_0x1cd4fd(0x8c)](),this[_0x1cd4fd(0x97)]();}[_0x72bb68(0x2e3)](_0x57000c){var _0xadbda3=_0x72bb68;_0x57000c['cmd']===F[_0xadbda3(0x1fa)]?this[_0xadbda3(0x2ce)](_0x57000c):_0x57000c[_0xadbda3(0x17b)]===F['RECV']&&this[_0xadbda3(0x114)](_0x57000c);}['_joinRoom'](_0x1abd10){var _0x51f45a=_0x72bb68;this[_0x51f45a(0x300)]['next'](0x1),_0x1abd10['send']({'cmd':F[_0x51f45a(0x1fa)],'routeKey':this[_0x51f45a(0x28d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x51f45a(0x28d)]}]}});}[_0x72bb68(0x2ce)](_0x4ba0aa){var _0x53843f=_0x72bb68,_0x2f364e;if(_0x4ba0aa[_0x53843f(0x365)]in Gt){this[_0x53843f(0x37b)][_0x53843f(0x326)]({'id':ne[_0x53843f(0x153)],'data':Gt[_0x4ba0aa[_0x53843f(0x365)]]}),this[_0x53843f(0x300)]['next'](0x2);return;}this[_0x53843f(0x300)][_0x53843f(0x173)](0x3);const _0x4410ec=(_0x2f364e=_0x4ba0aa[_0x53843f(0x13c)][_0x53843f(0x204)][this[_0x53843f(0x28d)]])==null?void 0x0:_0x2f364e[_0x53843f(0x21a)];_0x4410ec&&_0x4410ec['forEach'](_0x21d9d4=>this[_0x53843f(0xf8)][_0x53843f(0x21c)](this[_0x53843f(0x28d)],_0x21d9d4));}[_0x72bb68(0x114)](_0x39d745){var _0x3984ef=_0x72bb68;try{const _0x367dc6=_0x39d745[_0x3984ef(0x13c)];switch(_0x367dc6[_0x3984ef(0x1ce)]){case _0x528d02[_0x3984ef(0x328)]:this[_0x3984ef(0x2b3)](_0x367dc6),this['_event$'][_0x3984ef(0x173)](_0x367dc6);break;case _0x528d02[_0x3984ef(0x2e6)]:this[_0x3984ef(0x205)](_0x367dc6),this[_0x3984ef(0x14f)]['next'](_0x367dc6);break;case _0x528d02[_0x3984ef(0x185)]:case _0x528d02[_0x3984ef(0x15a)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3984ef(0x264)](),this[_0x3984ef(0x14f)][_0x3984ef(0x173)](_0x367dc6);break;case _0x528d02[_0x3984ef(0x2df)]:this[_0x3984ef(0xde)][_0x3984ef(0x32f)](_0x3984ef(0x263)+JSON[_0x3984ef(0x384)](_0x367dc6)),this[_0x3984ef(0x14f)][_0x3984ef(0x173)](_0x367dc6);break;case _0x528d02[_0x3984ef(0x1a9)]:this['_commentService'][_0x3984ef(0xe9)](_0x367dc6[_0x3984ef(0x13c)]),this[_0x3984ef(0x14f)][_0x3984ef(0x173)](_0x367dc6);break;default:this[_0x3984ef(0x14f)]['next'](_0x367dc6);}}catch(_0x51e5af){this[_0x3984ef(0xde)]['error'](_0x51e5af,_0x39d745);}}['_onUserJoin'](_0x232b27){var _0x283511=_0x72bb68;this[_0x283511(0xf8)][_0x283511(0x21c)](this[_0x283511(0x28d)],_0x232b27[_0x283511(0x13c)]);}['_onUserLeave'](_0xd26681){var _0x15b2d5=_0x72bb68;this[_0x15b2d5(0xf8)][_0x15b2d5(0x16e)](this[_0x15b2d5(0x28d)],_0xd26681[_0x15b2d5(0x13c)]['memberID']);}async['send'](_0x880b85,_0x282924){var _0x38aa7e=_0x72bb68;if(this[_0x38aa7e(0x134)]!==0x3||!this[_0x38aa7e(0x280)])throw new Error(_0x38aa7e(0x2e2));try{_0x880b85[_0x38aa7e(0x1ce)]===_0x528d02[_0x38aa7e(0x8b)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x38aa7e(0x88)](_0x880b85)),this['_socket'][_0x38aa7e(0x341)]({'cmd':F['INGEST'],'routeKey':_0x282924,'routeType':'','data':_0x880b85});}catch(_0x5d78ed){this[_0x38aa7e(0xde)][_0x38aa7e(0x32f)](_0x5d78ed);}}['_scheduleCollaborationTimeoutTimer'](){var _0x4bcbb7=_0x72bb68,_0x3d5791;this[_0x4bcbb7(0x310)]=setTimeout(()=>{var _0x240f12=_0x4bcbb7;this['_collaborationTimeoutTimer']=null,this[_0x240f12(0x37b)]['emitEvent']({'id':ne[_0x240f12(0x21e)]});},(_0x3d5791=this[_0x4bcbb7(0x184)][_0x4bcbb7(0x1e2)](fi))!=null?_0x3d5791:vi);}[_0x72bb68(0x264)](){var _0x331dd1=_0x72bb68;this[_0x331dd1(0x310)]&&(clearTimeout(this[_0x331dd1(0x310)]),this[_0x331dd1(0x310)]=null);}[_0x72bb68(0x88)](_0x355793){var _0x411305=_0x72bb68;if(!this[_0x411305(0x304)])return;const {data:_0xe86d58}=_0x355793,{unitID:_0x14207a,changeset:_0x335a11}=_0xe86d58,{mutations:_0x52bd92,type:_0x21187d}=_0x335a11;this[_0x411305(0x25a)]={'unitId':_0x14207a,'type':_0x21187d,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ks(_0x52bd92)};}[_0x72bb68(0x84)](){var _0x2ae487=_0x72bb68;if(this[_0x2ae487(0x304)]){if(!this['_telemetryInfo']){this[_0x2ae487(0xde)]['error'](_0x2ae487(0x2c6),_0x2ae487(0xb4));return;}this[_0x2ae487(0x25a)][_0x2ae487(0x298)]=performance[_0x2ae487(0x10d)](),this[_0x2ae487(0x25a)][_0x2ae487(0x335)]=this[_0x2ae487(0x25a)][_0x2ae487(0x298)]-this[_0x2ae487(0x25a)][_0x2ae487(0x33a)],this[_0x2ae487(0x2ef)]['capture'](xs,this[_0x2ae487(0x25a)]),this[_0x2ae487(0x25a)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4915ba=_0x72bb68;this[_0x4915ba(0x25a)]=null;}};gt=Fs([pe(0x2,_0x39af9e),pe(0x3,_0x19233d),pe(0x4,_0x41311f(_0x1d4c3f)),pe(0x5,_0x41311f(Pe)),pe(0x6,_0x41311f(Si)),pe(0x7,_0x41311f(ve)),pe(0x8,_0x3cf774(_0xe3ff86))],gt);var Vs=Object['getOwnPropertyDescriptor'],Gs=(_0x1ac5b3,_0x46a99e,_0x4e7f82,_0x529a56)=>{var _0x49175c=_0x72bb68;for(var _0xebbb3b=_0x529a56>0x1?void 0x0:_0x529a56?Vs(_0x46a99e,_0x4e7f82):_0x46a99e,_0x3655a2=_0x1ac5b3[_0x49175c(0x182)]-0x1,_0x360a0f;_0x3655a2>=0x0;_0x3655a2--)(_0x360a0f=_0x1ac5b3[_0x3655a2])&&(_0xebbb3b=_0x360a0f(_0xebbb3b)||_0xebbb3b);return _0xebbb3b;},Re=(_0x1b0bd1,_0x1d7de0)=>(_0xe8cc46,_0xdb1748)=>_0x1d7de0(_0xe8cc46,_0xdb1748,_0x1b0bd1);let Le=class extends _0x3b479f{constructor(_0x43b180,_0xb389ed,_0xac822e,_0x1b3544,_0x55898b,_0x67c7e){var _0x8a2f05=_0x72bb68;super(),N(this,_0x8a2f05(0x190),new _0x50b1a3(void 0x0)),N(this,_0x8a2f05(0xfd),this[_0x8a2f05(0x190)][_0x8a2f05(0xdc)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,_0x8a2f05(0xa7),new _0x50b1a3(Se['IDLE'])),N(this,_0x8a2f05(0x2b2),this[_0x8a2f05(0xa7)][_0x8a2f05(0xdc)]()),N(this,_0x8a2f05(0x86),!0x1),N(this,_0x8a2f05(0x11f)),N(this,_0x8a2f05(0x28f),0x0),N(this,_0x8a2f05(0x11e)),N(this,_0x8a2f05(0x10e)),(this[_0x8a2f05(0x37c)]=_0x43b180,this[_0x8a2f05(0xde)]=_0xb389ed,this[_0x8a2f05(0x184)]=_0xac822e,this['_socketService']=_0x1b3544,this[_0x8a2f05(0x37b)]=_0x55898b,this[_0x8a2f05(0xe0)]=_0x67c7e,this[_0x8a2f05(0x13a)]());}get[_0x72bb68(0x280)](){var _0x2fce2f=_0x72bb68;return this[_0x2fce2f(0x190)]['getValue']();}[_0x72bb68(0x13a)](){var _0xb8f858=_0x72bb68;this[_0xb8f858(0xe0)]&&this[_0xb8f858(0x2c3)](this[_0xb8f858(0xe0)][_0xb8f858(0x30d)][_0xb8f858(0x7d)](_0x13a8c7=>{var _0x3edc35=_0xb8f858;_0x13a8c7&&!this[_0x3edc35(0x280)]&&this[_0x3edc35(0x1b2)](),_0x13a8c7||this[_0x3edc35(0x160)]();}));}[_0x72bb68(0x97)](){var _0x18876e=_0x72bb68;super[_0x18876e(0x97)](),this[_0x18876e(0x1e3)](),this['_clearTimeoutTimer'](),this[_0x18876e(0x174)](),this[_0x18876e(0x179)][_0x18876e(0x16a)](_0x11743c=>_0x11743c[_0x18876e(0x97)]()),this[_0x18876e(0x179)][_0x18876e(0x318)](),this[_0x18876e(0xa7)][_0x18876e(0x8c)]();}async[_0x72bb68(0xbe)](_0x1f7cc0){var _0x211c34=_0x72bb68;if(this[_0x211c34(0x179)]['has'](_0x1f7cc0))return this['_sessions'][_0x211c34(0x283)](_0x1f7cc0);this[_0x211c34(0x2c9)]();const _0x3c01a0=this[_0x211c34(0x37c)]['createInstance'](gt,_0x1f7cc0,this['_socket$'][_0x211c34(0xdc)]());return this['_sessions'][_0x211c34(0x1c2)](_0x1f7cc0,_0x3c01a0),_0x3c01a0;}['closeSession'](_0x566989){var _0x29ad0b=_0x72bb68,_0x2b1da1;const _0x41150d=this['_sessions'][_0x29ad0b(0x283)](_0x566989);_0x41150d&&(this[_0x29ad0b(0x179)][_0x29ad0b(0x1d8)](_0x566989),_0x41150d[_0x29ad0b(0x246)]()),this[_0x29ad0b(0x179)][_0x29ad0b(0x1ab)]||(_0x2b1da1=this[_0x29ad0b(0x280)])==null||_0x2b1da1[_0x29ad0b(0x246)]();}[_0x72bb68(0x1b2)](){var _0x29f8dd=_0x72bb68;this[_0x29f8dd(0x28f)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x29f8dd(0x370)]();}[_0x72bb68(0x1e3)](){var _0x5a0e33=_0x72bb68;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x5a0e33(0x11f)]),this[_0x5a0e33(0x11f)]=null);}async[_0x72bb68(0x32d)](){var _0x580252=_0x72bb68,_0xb7309,_0x400939;const _0x19ed81=this[_0x580252(0x184)][_0x580252(0x1e2)](gs),_0x3bb03f=this[_0x580252(0x184)][_0x580252(0x1e2)](K),_0x20a64d=(_0x400939=(_0xb7309=_0x3bb03f==null?void 0x0:_0x3bb03f[_0x580252(0x297)])!=null?_0xb7309:_0x19ed81)!=null?_0x400939:Ss,_0x2952db=await this[_0x580252(0x1c1)][_0x580252(0x372)](_0x20a64d);return this[_0x580252(0x20c)]=_0x2952db,_0x2952db;}async[_0x72bb68(0x2c9)](){var _0x5cc2d5=_0x72bb68,_0x357ef2,_0xdf41cd;try{const _0x25ca08=(_0xdf41cd=(_0x357ef2=this[_0x5cc2d5(0x280)])!=null?_0x357ef2:this['_candidateSocket'])!=null?_0xdf41cd:await this[_0x5cc2d5(0x32d)]();if(_0x25ca08){const _0x3fcca1=_0x25ca08[_0x5cc2d5(0x341)];_0x25ca08[_0x5cc2d5(0x341)]=_0x100ddf=>(this['_rescheduleHeartbeat'](),_0x3fcca1[_0x5cc2d5(0x1cf)](_0x25ca08,[_0x100ddf])),_0x25ca08[_0x5cc2d5(0x124)][_0x5cc2d5(0x7d)](_0x2aecc5=>this[_0x5cc2d5(0xa2)](_0x25ca08,_0x2aecc5)),_0x25ca08[_0x5cc2d5(0xea)][_0x5cc2d5(0x2ea)](_0x342dba(0x1))[_0x5cc2d5(0x7d)](_0xb73fc2=>this['_logService']['error'](_0x5cc2d5(0x103),_0xb73fc2)),_0x25ca08[_0x5cc2d5(0x162)][_0x5cc2d5(0x2ea)](_0x342dba(0x1))[_0x5cc2d5(0x7d)](()=>{var _0x4d30e1=_0x5cc2d5;this[_0x4d30e1(0x126)](_0x25ca08);}),_0x25ca08[_0x5cc2d5(0x219)]['pipe'](_0x342dba(0x1))[_0x5cc2d5(0x7d)](_0x4a90f5=>{var _0x4c1228=_0x5cc2d5;this[_0x4c1228(0xde)][_0x4c1228(0x151)](_0x4c1228(0x2c2),'socket\x20close',_0x4a90f5),this['_onConnectionFailed']();});}}catch(_0x24a3bf){this[_0x5cc2d5(0xde)]['error'](_0x24a3bf),this[_0x5cc2d5(0x8f)]();}}[_0x72bb68(0x126)](_0x3c9173){var _0x1bae9d=_0x72bb68;this[_0x1bae9d(0xde)][_0x1bae9d(0x151)]('[CollaborationSessionService]',_0x1bae9d(0xbc)),_0x3c9173[_0x1bae9d(0x341)]({'cmd':F[_0x1bae9d(0x299)]}),this[_0x1bae9d(0x106)]();}[_0x72bb68(0x160)](){var _0x318e8d=_0x72bb68;this['_socketReady']=!0x1,this[_0x318e8d(0x20c)]=null,this[_0x318e8d(0xa7)]['next'](Se[_0x318e8d(0x243)]),this[_0x318e8d(0x190)]['next'](null),this[_0x318e8d(0x14d)](),this[_0x318e8d(0x174)]();}[_0x72bb68(0x8f)](){var _0x1c780e=_0x72bb68,_0x4fdf27;this[_0x1c780e(0x160)](),this[_0x1c780e(0x28f)]<((_0x4fdf27=this[_0x1c780e(0x184)]['getConfig'](Cs))!=null?_0x4fdf27:Rs)?(this[_0x1c780e(0x37b)][_0x1c780e(0x326)]({'id':ne[_0x1c780e(0x37d)]}),this['_tryReconnect']()):this[_0x1c780e(0x37b)][_0x1c780e(0x326)]({'id':ne[_0x1c780e(0x20b)]});}[_0x72bb68(0x370)](){var _0x2ec8d2=_0x72bb68,_0x2e5ae2;const _0x1a260d=this[_0x2ec8d2(0x28f)],_0x4d96b8=this[_0x2ec8d2(0x184)][_0x2ec8d2(0x1e2)](K),_0x436468=_0x1a260d===0x0?0x0:((_0x2e5ae2=_0x4d96b8==null?void 0x0:_0x4d96b8['retryConnectingInterval'])!=null?_0x2e5ae2:Ts)*0x2**_0x1a260d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x16f0c5=_0x2ec8d2;clearTimeout(this[_0x16f0c5(0x11f)]),this['_retryConnectingTimer']=null,this[_0x16f0c5(0x2c9)]();},_0x436468),this[_0x2ec8d2(0x28f)]+=0x1;}[_0x72bb68(0xa2)](_0x23c68d,_0x37f4f0){var _0x275743=_0x72bb68;const {cmd:_0x521719}=_0x37f4f0;_0x521719===F[_0x275743(0x299)]&&!this['_socketReady']&&(_0x23c68d[_0x275743(0x1e6)]=_0x37f4f0[_0x275743(0x13c)]['memberID'],this[_0x275743(0x190)][_0x275743(0x173)](_0x23c68d),this[_0x275743(0xa7)][_0x275743(0x173)](Se['ONLINE']),this['_socketReady']=!0x0,this[_0x275743(0x20c)]=null),_0x521719===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x275743(0x106)]();}[_0x72bb68(0x106)](){var _0x1a85bc=_0x72bb68,_0x4c118a;this[_0x1a85bc(0x174)](),this[_0x1a85bc(0x11e)]=setTimeout(()=>this[_0x1a85bc(0x133)](),(_0x4c118a=this[_0x1a85bc(0x184)][_0x1a85bc(0x1e2)](Es))!=null?_0x4c118a:Is);}[_0x72bb68(0x133)](){var _0x26a05e=_0x72bb68;this[_0x26a05e(0x280)][_0x26a05e(0x341)]({'cmd':F[_0x26a05e(0x22f)]}),this[_0x26a05e(0x307)]();}['_waitForHeartbeatResponse'](){var _0x206614=_0x72bb68,_0x1a9ae1;this['_timeoutTimer']=setTimeout(()=>this[_0x206614(0x8f)](),(_0x1a9ae1=this[_0x206614(0x184)][_0x206614(0x1e2)](fi))!=null?_0x1a9ae1:vi);}[_0x72bb68(0x174)](){var _0x5baec7=_0x72bb68;this[_0x5baec7(0x11e)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5baec7(0x11e)]=null);}[_0x72bb68(0x14d)](){var _0x1cc005=_0x72bb68;this[_0x1cc005(0x10e)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1cc005(0x10e)]=null);}};Le=Gs([Re(0x0,_0x41311f(_0x4cac68)),Re(0x1,_0x39af9e),Re(0x2,_0x19233d),Re(0x3,gi),Re(0x4,_0x41311f(ve)),Re(0x5,_0x3cf774(Us))],Le);const J=_0x478483(_0x72bb68(0x267));function Pr(_0xf27001){var _0x5bfbd8=_0x72bb68;return _0x5bfbd8(0x330)+_0xf27001;}var Ws=Object[_0x72bb68(0x159)],Ys=(_0x45846a,_0x392412,_0x4b2412,_0xe42a07)=>{for(var _0x443ea8=_0xe42a07>0x1?void 0x0:_0xe42a07?Ws(_0x392412,_0x4b2412):_0x392412,_0xec05c0=_0x45846a['length']-0x1,_0x5adc87;_0xec05c0>=0x0;_0xec05c0--)(_0x5adc87=_0x45846a[_0xec05c0])&&(_0x443ea8=_0x5adc87(_0x443ea8)||_0x443ea8);return _0x443ea8;},ut=(_0x5369d4,_0x4123e7)=>(_0x42f6cd,_0x42e7f4)=>_0x4123e7(_0x42f6cd,_0x42e7f4,_0x5369d4);function Ks(_0x91c93f){var _0x2a5067=_0x72bb68;const {unitID:_0x9fc40b,mutations:_0x413a93}=_0x91c93f;return{'unitId':_0x9fc40b,'subUnitId':_0x413a93[0x0][_0x2a5067(0x226)][_0x2a5067(0x14b)]};}let it=class{constructor(_0x2e4365,_0x172f9f,_0xc9015b){var _0x5e2cb3=_0x72bb68;this['_injector']=_0x2e4365,this[_0x5e2cb3(0x23a)]=_0x172f9f,this[_0x5e2cb3(0x10b)]=_0xc9015b;}['transformSelections'](_0x29cb7a){var _0x3d158d=_0x72bb68,_0x1ba12b,_0x28e5fa,_0x27fa6b,_0x9d82e9;const _0x1df18c=this[_0x3d158d(0x37c)][_0x3d158d(0x283)](_0x1ec771),{unitId:_0x1de151,subUnitId:_0x1dab06}=Ks(_0x29cb7a),_0x485d7d=_0x1df18c==null?void 0x0:_0x1df18c[_0x3d158d(0xc4)](_0x1de151)[_0x3d158d(0x35b)](),_0xab97c4=(_0x28e5fa=(_0x1ba12b=this[_0x3d158d(0x10b)][_0x3d158d(0x164)](_0x1de151))==null?void 0x0:_0x1ba12b[_0x3d158d(0x33f)]())==null?void 0x0:_0x28e5fa['getSheetId']();if(_0x485d7d[_0x3d158d(0x182)]===0x0||!_0x1de151||!_0x1dab06)return;const _0x24dd8a=[{'id':_0x39686a['id'],'params':{'unitId':_0x1de151,'subUnitId':_0xab97c4,'selections':_0x33b377['deepClone'](_0x485d7d)}}],_0x43d7ce=this[_0x3d158d(0x23a)][_0x3d158d(0x16f)](_0x29cb7a,_0x24dd8a);if(!_0x4eb0e0(_0x43d7ce))throw _0x43d7ce[_0x3d158d(0x32f)];const _0x430a40=(_0x9d82e9=(_0x27fa6b=_0x43d7ce[_0x3d158d(0x1df)][0x0])==null?void 0x0:_0x27fa6b[_0x3d158d(0x226)])==null?void 0x0:_0x9d82e9[_0x3d158d(0x257)];if(Array[_0x3d158d(0x1ca)](_0x430a40)&&_0x430a40[_0x3d158d(0x182)]){if(_0x430a40['length']===_0x24dd8a[0x0][_0x3d158d(0x226)]['selections'][_0x3d158d(0x182)]&&_0x430a40[_0x3d158d(0x7e)]((_0x228405,_0x291521)=>_0x2e545e[_0x3d158d(0x156)](_0x228405[_0x3d158d(0x2b1)],_0x24dd8a[0x0]['params'][_0x3d158d(0x257)][_0x291521]['range'])))return;this[_0x3d158d(0x37c)][_0x3d158d(0x283)](_0xe29ee9)[_0x3d158d(0x36a)](_0x39686a['id'],{'unitId':_0x1de151,'subUnitId':_0xab97c4,'selections':_0x430a40});}}};it=Ys([ut(0x0,_0x41311f(_0x4cac68)),ut(0x1,_0x13d105),ut(0x2,_0x4aee63)],it);const ht=_0x478483(_0x72bb68(0x1a2));var Ei=(_0x159aab=>(_0x159aab[_0x159aab[_0x72bb68(0x373)]=0x0]=_0x72bb68(0x373),_0x159aab[_0x159aab[_0x72bb68(0x1f8)]=0x1]=_0x72bb68(0x1f8),_0x159aab))(Ei||{});const qs=new Set([_0x1a947d['id']]);function Wt(_0x25beda,_0x48018f,_0x442c82,_0x13dcb0,_0x13d9bb){var _0x1936c5=_0x72bb68,_0x2d1eae,_0x58f6db,_0x327dae,_0x5234ca;const _0x4541e2=[];for(const _0x2e99b5 of _0x25beda)if(qs[_0x1936c5(0xc9)](_0x2e99b5['id'])){if(_0x4541e2[_0x1936c5(0x182)]>0x0)break;_0x4541e2[_0x1936c5(0xe7)](_0x2e99b5);break;}else _0x4541e2[_0x1936c5(0xe7)](_0x2e99b5);const _0x4c175b=(_0x58f6db=(_0x2d1eae=_0x13d9bb[_0x1936c5(0x2b5)]())==null?void 0x0:_0x2d1eae[_0x1936c5(0x90)])!=null?_0x58f6db:_0x1936c5(0x2d9),_0xc33c40=(_0x5234ca=(_0x327dae=_0x13d9bb[_0x1936c5(0x2b5)]())==null?void 0x0:_0x327dae[_0x1936c5(0x1e6)])!=null?_0x5234ca:_0x1936c5(0x2d9);return{'changeset':{'unitID':_0x48018f,'type':_0x5f0393(_0x442c82[_0x1936c5(0xb5)](_0x48018f)),'baseRev':_0x13dcb0[_0x1936c5(0x37a)](_0x48018f),'revision':0x0,'userID':_0x4c175b,'memberID':_0xc33c40,'mutations':_0x4541e2},'pendingMutations':_0x25beda[_0x1936c5(0xb9)](_0x4541e2[_0x1936c5(0x182)])};}function zs(_0x25c85d,_0x5e1893,_0x41e65e,_0x4bac33,_0x6ec15){var _0x5594ad=_0x72bb68,_0x39986e,_0x359da7,_0x2105c8,_0x5a48a9;const _0x20157a=[_0x25c85d[_0x5594ad(0x338)]((_0x2718cc,_0x233b41)=>{var _0x3dd3cf=_0x5594ad,_0x405364;const {id:_0x934a23}=_0x2718cc,{id:_0x1db8b9,type:_0x410cf9}=_0x233b41,_0x2b0d59=(_0x405364=_0x2718cc['params'])!=null?_0x405364:{'actions':null},_0x17600d=_0x233b41[_0x3dd3cf(0x226)];if(_0x934a23&&_0x934a23!==_0x1db8b9)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x934a23+_0x3dd3cf(0xb2)+_0x1db8b9+'.');return{..._0x2718cc,'id':_0x1db8b9,'type':_0x410cf9,'params':{'unitId':_0x17600d[_0x3dd3cf(0x1c6)],'textRanges':_0x17600d[_0x3dd3cf(0x380)],'actions':_0x6c7d57[_0x3dd3cf(0x28b)](_0x2b0d59[_0x3dd3cf(0xc2)],_0x17600d[_0x3dd3cf(0xc2)])}};},{})],_0x35680c=(_0x359da7=(_0x39986e=_0x6ec15[_0x5594ad(0x2b5)]())==null?void 0x0:_0x39986e[_0x5594ad(0x90)])!=null?_0x359da7:_0x5594ad(0x2d9),_0x4e57e6=(_0x5a48a9=(_0x2105c8=_0x6ec15[_0x5594ad(0x2b5)]())==null?void 0x0:_0x2105c8[_0x5594ad(0x1e6)])!=null?_0x5a48a9:_0x5594ad(0x2d9);return{'changeset':{'unitID':_0x5e1893,'type':_0x5f0393(_0x41e65e[_0x5594ad(0xb5)](_0x5e1893)),'baseRev':_0x4bac33[_0x5594ad(0x37a)](_0x5e1893),'revision':0x0,'userID':_0x35680c,'memberID':_0x4e57e6,'mutations':_0x20157a},'pendingMutations':[]};}function Ii(_0x2622b3,_0x1a84b3){var _0x5ecf6f=_0x72bb68;const _0x21084c=new _0x1a811b(0x1);return setTimeout(()=>_0x21084c[_0x5ecf6f(0x173)](_0x1a84b3),_0x2622b3),_0x21084c['asObservable']()['pipe'](_0x8eeaf8(0x1));}const Js={'id':_0x5e1645['id'],'type':_0x558bce['MUTATION'],'params':{}};var Xs=Object[_0x72bb68(0x159)],Ie=(_0x377e9d,_0x3f7f0d,_0x4f7106,_0x47fa20)=>{var _0x371f23=_0x72bb68;for(var _0x17a90c=_0x47fa20>0x1?void 0x0:_0x47fa20?Xs(_0x3f7f0d,_0x4f7106):_0x3f7f0d,_0x31ce4b=_0x377e9d[_0x371f23(0x182)]-0x1,_0x1e4013;_0x31ce4b>=0x0;_0x31ce4b--)(_0x1e4013=_0x377e9d[_0x31ce4b])&&(_0x17a90c=_0x1e4013(_0x17a90c)||_0x17a90c);return _0x17a90c;},P=(_0x4d1f98,_0x5aba98)=>(_0x5c4c17,_0x56fe39)=>_0x5aba98(_0x5c4c17,_0x56fe39,_0x4d1f98),Ti=(_0x8e43ea=>(_0x8e43ea[_0x72bb68(0x17c)]=_0x72bb68(0xc8),_0x8e43ea[_0x72bb68(0x21d)]=_0x72bb68(0x2f0),_0x8e43ea[_0x72bb68(0x145)]=_0x72bb68(0x1eb),_0x8e43ea[_0x72bb68(0x203)]=_0x72bb68(0x2dd),_0x8e43ea['AWAITING_WITH_PENDING']=_0x72bb68(0x215),_0x8e43ea[_0x72bb68(0x12a)]=_0x72bb68(0x1d1),_0x8e43ea[_0x72bb68(0x325)]='conflict',_0x8e43ea[_0x72bb68(0x243)]=_0x72bb68(0xa3),_0x8e43ea))(Ti||{});const Ci=0xea60;class Te{constructor(_0x18cabe,_0x3b46d3,_0x21edff,_0x2dcea0,_0x92e832,_0x11a847,_0x310ba3,_0x303d1c,_0x2a937a){var _0x48d14b=_0x72bb68;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x48d14b(0x211)]=_0x18cabe,this[_0x48d14b(0xcf)]=_0x3b46d3,this['_handler']=_0x92e832,this[_0x48d14b(0x2b8)]=_0x11a847,this[_0x48d14b(0x358)]=_0x310ba3,this['_revisionService']=_0x303d1c,this[_0x48d14b(0x35a)]=_0x2a937a,this[_0x48d14b(0xe3)]=_0x21edff,this['_pendingMutations']=_0x2dcea0);}['_checkMissing'](_0x3651ad){var _0x47dbb0=_0x72bb68;const _0x44af58=this[_0x47dbb0(0xb8)]['getCurrentRevOfUnit'](this[_0x47dbb0(0x211)]);return _0x3651ad[_0x47dbb0(0x2f4)]>_0x44af58+0x1?(this[_0x47dbb0(0x1a5)][_0x47dbb0(0xaa)]({'from':_0x44af58,'to':_0x3651ad[_0x47dbb0(0x2f4)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4888fd){var _0x51216b=_0x72bb68;this[_0x51216b(0x358)]['transformUndoRedo'](this['unitID'],_0x4888fd);}[_0x72bb68(0x248)](_0x42d7ab){var _0x5bdce9=_0x72bb68,_0x55f7d1,_0x24f65f;(_0x24f65f=(_0x55f7d1=this[_0x5bdce9(0x1a5)])['onTransformSelections'])==null||_0x24f65f['call'](_0x55f7d1,_0x42d7ab);}[_0x72bb68(0x107)](_0x47c601){var _0x465ed7=_0x72bb68,_0x96d0ce,_0x45bbe0;return(_0x45bbe0=(_0x96d0ce=this[_0x465ed7(0x1a5)])[_0x465ed7(0x202)])==null?void 0x0:_0x45bbe0[_0x465ed7(0x32b)](_0x96d0ce,_0x47c601);}[_0x72bb68(0x118)](_0x1627bd){var _0x5417d1=_0x72bb68,_0x265e37,_0x8c5684;return(_0x8c5684=(_0x265e37=this[_0x5417d1(0x1a5)])['onTransformState'])==null?void 0x0:_0x8c5684['call'](_0x265e37,_0x1627bd);}[_0x72bb68(0x276)](_0x4a43d8){var _0x5655c3=_0x72bb68,_0x23bef9,_0x28bc25,_0x3f078b;return(_0x3f078b=(_0x28bc25=(_0x23bef9=this[_0x5655c3(0x1a5)])[_0x5655c3(0x30a)])==null?void 0x0:_0x28bc25[_0x5655c3(0x32b)](_0x23bef9,_0x4a43d8))!=null?_0x3f078b:_0x4a43d8;}[_0x72bb68(0xb6)](_0xc1d43c){var _0x16b438=_0x72bb68,_0x469d42,_0x4fadb7,_0x910458;return(_0x910458=(_0x4fadb7=(_0x469d42=this[_0x16b438(0x1a5)])[_0x16b438(0x1e9)])==null?void 0x0:_0x4fadb7[_0x16b438(0x32b)](_0x469d42,_0xc1d43c))!=null?_0x910458:_0xc1d43c;}[_0x72bb68(0x127)](_0x2a3dc1){var _0x1e042a=_0x72bb68,_0x4165b8,_0x115935;if(this['type']===Z[_0x1e042a(0x357)]){const {unitID:_0x5bc6c0,mutations:_0x3a04e4,memberID:_0x214365}=_0x2a3dc1,_0x4133fb=_0x3a04e4[0x0][_0x1e042a(0x226)][_0x1e042a(0x380)];Array['isArray'](_0x4133fb)&&_0x4133fb[_0x1e042a(0x182)]>0x0&&((_0x115935=(_0x4165b8=this[_0x1e042a(0x1a5)])[_0x1e042a(0x8a)])==null||_0x115935[_0x1e042a(0x32b)](_0x4165b8,{'unitID':_0x5bc6c0,'memberID':_0x214365,'textRanges':_0x4133fb}));}}[_0x72bb68(0xec)](){var _0x3919b1=_0x72bb68,_0x2ada9a;(_0x2ada9a=this[_0x3919b1(0x35a)])==null||_0x2ada9a[_0x3919b1(0x377)](this[_0x3919b1(0x211)],this[_0x3919b1(0xcf)],this['_awaitingChangeset'],this[_0x3919b1(0x2fb)]);}[_0x72bb68(0x168)](){var _0x3a06b8=_0x72bb68;return this[_0x3a06b8(0xb8)][_0x3a06b8(0x37a)](this['unitID']);}[_0x72bb68(0x154)](){var _0x33cf95=_0x72bb68;this['_revisionService']['incrementRevOfUnit'](this[_0x33cf95(0x211)]);}[_0x72bb68(0x270)](_0x376eaf){var _0x38a36f=_0x72bb68,_0x3b1613;let _0x265304=this[_0x38a36f(0x276)](_0x376eaf);_0x265304=this['_transformRemoteChangesetByStateCache'](_0x265304);const _0x2dbf9a=_0xa7a5e8(_0x265304[_0x38a36f(0x2ff)],this[_0x38a36f(0x2b8)],{'fromCollab':!0x0});if(!_0x2dbf9a['result'])throw _0x2dbf9a[_0x38a36f(0x32f)]instanceof Error?_0x2dbf9a[_0x38a36f(0x32f)]:new Error((_0x3b1613=_0x2dbf9a[_0x38a36f(0x32f)])!=null?_0x3b1613:'[CollaborationState]:\x20apply\x20error!');this[_0x38a36f(0x107)](_0x265304),this[_0x38a36f(0x118)](_0x265304),this[_0x38a36f(0x1a0)](_0x376eaf),this[_0x38a36f(0x248)](_0x265304),this[_0x38a36f(0x127)](_0x265304),this[_0x38a36f(0x154)]();}}let ye=class extends Te{constructor(_0xc1b6b8,_0xe2712f,_0x553684,_0x42b06b,_0x206b02,_0x2d4e5b,_0x2d732c,_0x57ce9b,_0x5f5403,_0x1cacfd){var _0x31f493=_0x72bb68;super(_0xc1b6b8,_0xe2712f,null,[],_0x553684,_0x2d732c,_0x2d4e5b,_0x42b06b,_0x1cacfd),N(this,'status','synced'),(this[_0x31f493(0x37c)]=_0x206b02,this[_0x31f493(0xde)]=_0x57ce9b,this['_transformService']=_0x5f5403,this[_0x31f493(0x1cd)]=_0x1cacfd);}[_0x72bb68(0x250)](_0x47164b){var _0x2790e1=_0x72bb68;const _0x57b87c=this['_injector'][_0x2790e1(0x20d)](re,this[_0x2790e1(0x211)],this[_0x2790e1(0xcf)],[_0x47164b],this[_0x2790e1(0x1a5)]);return _0x57b87c[_0x2790e1(0x26b)](),_0x57b87c[_0x2790e1(0xec)](),_0x57b87c;}[_0x72bb68(0x19b)](_0x234077){var _0x16770e=_0x72bb68;if(this[_0x16770e(0xa4)](_0x234077))return this[_0x16770e(0x37c)][_0x16770e(0x20d)](Q,this[_0x16770e(0x211)],this[_0x16770e(0xcf)],null,[],null,[_0x234077],this[_0x16770e(0x1a5)]);try{const _0x315c5d=this[_0x16770e(0x23a)][_0x16770e(0x16f)](_0x234077,[Js]);if(_0x4eb0e0(_0x315c5d)){const {c1Prime:_0x59ebaf}=_0x315c5d;return this[_0x16770e(0x270)](_0x59ebaf),this;}throw _0x315c5d[_0x16770e(0x32f)];}catch(_0x1f191c){return this[_0x16770e(0xde)][_0x16770e(0x32f)](_0x1f191c),this[_0x16770e(0x2fa)](!0x1);}}[_0x72bb68(0x2fa)](_0x32354f){var _0x420021=_0x72bb68;return this[_0x420021(0x37c)][_0x420021(0x20d)](le,this[_0x420021(0x211)],this['type'],null,[],this['_handler'],_0x32354f);}['onRemoteAck'](){var _0x380eb=_0x72bb68;throw new Error(_0x380eb(0x36c));}[_0x72bb68(0x34d)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2a1221=_0x72bb68;return this[_0x2a1221(0x37c)][_0x2a1221(0x20d)](ue,this[_0x2a1221(0x211)],this[_0x2a1221(0xcf)],null,[],this[_0x2a1221(0x1a5)]);}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x92)](){var _0x3f4795=_0x72bb68;throw new Error(_0x3f4795(0x360));}[_0x72bb68(0xbd)](){var _0x45ec01=_0x72bb68;const _0x3c026e=this['_revisionService']['getCurrentRevOfUnit'](this[_0x45ec01(0x211)]);return this['_handler']['onMissingChangesets']({'from':_0x3c026e,'to':0x0}),this[_0x45ec01(0x37c)][_0x45ec01(0x20d)](Q,this['unitID'],this[_0x45ec01(0xcf)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x41311f(_0x2d82bd)),P(0x4,_0x41311f(_0x4cac68)),P(0x5,_0x1032f6),P(0x6,_0xe29ee9),P(0x7,_0x39af9e),P(0x8,_0x13d105),P(0x9,_0x3cf774(J))],ye);let re=class extends Te{constructor(_0x5550f4,_0x6432d7,_0xf2c077,_0x362f28,_0x688984,_0x4c2fd8,_0x4475b8,_0x21e266,_0x99b392,_0x27b471,_0x2a7e2a,_0x5ae18f,_0x542ff8,_0x3d75f5){var _0x21eef6=_0x72bb68;super(_0x5550f4,_0x6432d7,null,_0xf2c077,_0x362f28,_0x99b392,_0x542ff8,_0x4c2fd8,_0x3d75f5),N(this,'status','pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x21eef6(0xc0),null),(this[_0x21eef6(0x37c)]=_0x688984,this['_memberService']=_0x4475b8,this[_0x21eef6(0xde)]=_0x21e266,this['_configService']=_0x27b471,this[_0x21eef6(0x23a)]=_0x2a7e2a,this['_univerInstanceService']=_0x5ae18f);}['appendMutation'](_0x4bb975){var _0x583245=_0x72bb68;return this[_0x583245(0x2fb)][_0x583245(0xe7)](_0x4bb975),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x54556f){var _0x397dc0=_0x72bb68;if(this[_0x397dc0(0xa4)](_0x54556f))return this[_0x397dc0(0x1b9)](),this['_injector']['createInstance'](Q,this[_0x397dc0(0x211)],this['type'],null,this[_0x397dc0(0x2fb)],null,[_0x54556f],this[_0x397dc0(0x1a5)]);try{const _0x3aa0ba=this[_0x397dc0(0x23a)][_0x397dc0(0x16f)](_0x54556f,this[_0x397dc0(0x2fb)]);if(_0x4eb0e0(_0x3aa0ba)){const {c1Prime:_0x451d6,m2Prime:_0x116e70}=_0x3aa0ba;this[_0x397dc0(0x270)](_0x451d6);const _0x84f545=this[_0x397dc0(0x37c)][_0x397dc0(0x20d)](re,this['unitID'],this[_0x397dc0(0xcf)],_0x116e70,this[_0x397dc0(0x1a5)]);this[_0x397dc0(0x1b9)]();const _0xa35ad6=new Date()['getTime'](),_0x54f7e6=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x397dc0(0x2bd)]-_0xa35ad6,0x0):this[_0x397dc0(0x25b)]();return _0x84f545['_schedule'](_0x54f7e6),_0x84f545;}throw _0x3aa0ba[_0x397dc0(0x32f)];}catch(_0x28d500){return this[_0x397dc0(0xde)]['error'](_0x28d500),this[_0x397dc0(0x2fa)](!0x1);}}[_0x72bb68(0x195)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x72bb68(0x34d)](){var _0x58a5b1=_0x72bb68;throw new Error(_0x58a5b1(0x108));}[_0x72bb68(0x24d)](){return this;}['toggleOffline'](){var _0x314f11=_0x72bb68;return this[_0x314f11(0x1b9)](),this[_0x314f11(0x37c)][_0x314f11(0x20d)](ue,this['unitID'],this[_0x314f11(0xcf)],null,this[_0x314f11(0x2fb)],this[_0x314f11(0x1a5)]);}['toggleOnline'](){return this;}[_0x72bb68(0x26b)](_0x39353a){var _0x1d7187=_0x72bb68;const _0x505a1d=_0x39353a!=null?_0x39353a:this[_0x1d7187(0x25b)]();this[_0x1d7187(0x2bd)]=new Date()[_0x1d7187(0x201)]()+_0x505a1d,this[_0x1d7187(0xc0)]=setTimeout(()=>{var _0x295118=_0x1d7187;this[_0x295118(0x1b9)]();let _0x90034=null;switch(this['type']){case Z[_0x295118(0x9d)]:{_0x90034=Wt(this[_0x295118(0x2fb)],this[_0x295118(0x211)],this[_0x295118(0xf4)],this[_0x295118(0xb8)],this[_0x295118(0xf8)]);break;}case Z[_0x295118(0x357)]:{this[_0x295118(0x2fb)][_0x295118(0x7e)](_0x4c689d=>_0x4c689d['id']===_0x85a4d0['id'])?_0x90034=zs(this[_0x295118(0x2fb)],this[_0x295118(0x211)],this[_0x295118(0xf4)],this[_0x295118(0xb8)],this[_0x295118(0xf8)]):_0x90034=Wt(this[_0x295118(0x2fb)],this['unitID'],this[_0x295118(0xf4)],this[_0x295118(0xb8)],this[_0x295118(0xf8)]);break;}default:throw new Error(_0x295118(0x11c)+this['type']+_0x295118(0xe6));}const {changeset:_0x14ee21,pendingMutations:_0x1ebb29}=_0x90034;this[_0x295118(0x1a5)][_0x295118(0x132)](_0x14ee21);const _0x5731bf=_0x1ebb29[_0x295118(0x182)]?this[_0x295118(0x37c)][_0x295118(0x20d)](ae,this[_0x295118(0x211)],this[_0x295118(0xcf)],_0x14ee21,_0x1ebb29,this['_handler'],void 0x0):this[_0x295118(0x37c)][_0x295118(0x20d)](_e,this['unitID'],this[_0x295118(0xcf)],_0x14ee21,this['_handler']);_0x5731bf[_0x295118(0xec)](),this[_0x295118(0x1a5)][_0x295118(0xf6)](this,_0x5731bf);},_0x505a1d);}[_0x72bb68(0x25b)](){var _0x571959=_0x72bb68,_0x54a639;const _0x139345=this[_0x571959(0x184)][_0x571959(0x1e2)](K);return(_0x54a639=_0x139345==null?void 0x0:_0x139345[_0x571959(0xfe)])!=null?_0x54a639:ms;}[_0x72bb68(0x92)](){var _0x3e666b=_0x72bb68;throw new Error(_0x3e666b(0x342));}[_0x72bb68(0x1b9)](){var _0x3e95b5=_0x72bb68;this[_0x3e95b5(0xc0)]!=null&&(clearTimeout(this[_0x3e95b5(0xc0)]),this[_0x3e95b5(0xc0)]=null);}[_0x72bb68(0x2fa)](_0x1aa8d3){var _0x56234a=_0x72bb68;return this[_0x56234a(0x1b9)](),this[_0x56234a(0x37c)][_0x56234a(0x20d)](le,this[_0x56234a(0x211)],this[_0x56234a(0xcf)],null,this[_0x56234a(0x2fb)],this[_0x56234a(0x1a5)],_0x1aa8d3);}};re=Ie([P(0x4,_0x41311f(_0x4cac68)),P(0x5,_0x41311f(_0x2d82bd)),P(0x6,_0x41311f(Pe)),P(0x7,_0x39af9e),P(0x8,_0xe29ee9),P(0x9,_0x19233d),P(0xa,_0x13d105),P(0xb,_0x4aee63),P(0xc,_0x1032f6),P(0xd,_0x3cf774(J))],re);function _0x3795(){var _0x1d4a4f=['LIVESHARE_FETCH_OPERATIONS','readInt32LE','concat','_localeService','381832fCugLP','members$','_collaborationSessionService','compose','_changesetSessionId','_unitID','Decryptor','_retryCount','UPDATE_PERMISSION_OBJ','entityInit$','APPLY_DUPLICATED','session','INVITE_CODE_ALREADY_BOUND','PERMISSION_REJ','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collabWebSocketUrl','stopTime','HELLO','_cipher','_createInitialStateImpl','&source=','waitForRoom$','pluginName','body','getUnitId','[CollaborationEntity]','12109360LzNKVP','sessionStatus$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ivSize','PERSON','refreshPermission','RECV','enableAuthServer','decrypt','min','readyForCollab','getDeserializedSheetBlock','_substituteUndoStack','_joinRoom','list','range','status$','_onUserJoin','AUTHZ_URL_KEY','getCurrentUser','_createInitialState','CLOSE_ROOM','_commandService','url','fetchMissingChangesets','string','UNKNOWN_CMD','_scheduleCompleteTimestamp','LIVESHARE_NEW_HOST','PERMISSION_DENIED','liveShareOperation','_unitInfo$','[CollaborationSessionService]','disposeWithMe','_entityInit$','result','[CollaborationSession]','/resources','getCollabEntity$','_tryEnsureSocket','POST','collabSubmitChangesetUrl','getTypeOfUnitDisposed$','mode','_onJoinRoomEvent','_onRemoteACK','ws://127.0.0.1:8000/universer-api/comb/connect','_getAPIPrefix','Utf8','BlockCipherMode','&to=','setWaitCount','YUUMI_TABLE_NOT_FOUND_IN_UNIT','HmacSHA1','/-/object/list','unknown','GLOBAL_ROOMS_CNT_EXCEEDS','snapshot','reqId','awaiting','2529990HmbYHZ','MSG_FOR_ERROR','initWorkbookPermissionChange','getSnapshotAPIPath','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_onCombEvent','_config','JOIN_ROOM_NOT_EXISTS','USERS_LEAVE','OTHER_CLIENT_EDITING','image/png','Base','pipe','onCommandExecuted','_replaceFileID','msCrypto','onMissedChangesetFetched','_telemetryService','synced','objectID','randomBytes','_initUnitPermissionChange','revision','USER_NOT_INVITED_CODE','_parse','HmacMD5','_state$','newCsEvent','_onConflict','_pendingMutations','/universer-api/comb','YUUMI_URL_COL_OUT_OF_RANGE','_oKey','mutations','_sessionStatus$','YUUMI_ALL_TABLES_IS_INVALID','FAIL','_changesetReqId','_shouldReportTelemetry','AES','createCollaborator','_waitForHeartbeatResponse','uniscriptRunEvent','function','onTransformRemoteChangesetByIMECache','toggleOffline','_permissionService','online$','_sheetTransformSelectionsService','HttpExport','_collaborationTimeoutTimer','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','salt','_state','encrypt','setCurrentUser','_prevBlock','_createHelper','clear','clamp','toggleOnline','_members','/object','_HTTPService','UnitSnapshot','LEAVE','objectType','Hex','/collaborator','findIndex','StreamCipher','CONFLICT','emitEvent','COLLAB_WEB_SOCKET_URL','USERS_ENTER','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','unpad','call','authzUrl','_createSocket','put','error','unit-cache-','_decreaseWaiting','default','entries','formatter','duration','BlockCipher','_removeRoom','reduce','clone','startTime','UnitEmbedded','UPDATE_CURSOR','1476180EdGhOW','add','getActiveSheet','/unit/','send','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getLatestCsReqIdBySid','crypto','_reverseMap','_collaborationPaused','deleteCollaborator','_submitChangeset','BASE64','x-univer-host','_queuedRemoteChangesets','mixIn','onRemoteRej','SHOULD_CLOSE_CONN','post','_getSignURL','join','BufferedBlockAlgorithm','permissionRejEvent','sin','routeKey','getTypeOfUnitAdded$','UNIVER_DOC','_undoRedoService','[OfflineState]:\x20received\x20rejection.','_localCacheService','getCurrentSelections','OPTIONAL','_clearRedo','charAt','loadUnit','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_initMergeInterceptor','readAsDataURL','random','createDecryptor','code','_keySchedule','_httpService','YUUMI_AI_RUN_FAILED','YUUMI_NO_CUBOID_FOR_QUESTION','executeCommand','univer-pro.collaboration-client.network-condition.service','[SyncedState]:\x20received\x20acknowledgement.','originalMeta','NOT_FOUND','ALREADY_EXISTS','_tryReconnect','image/jpg','createSocket','NO_OTHER_CLIENTS_EDITING','map','_throwTelemetryCollaborationNewChangeset','Undefined','updateOfflineData','commentUpdate$','transformChangesets','getCurrentRevOfUnit','_collaborationUIEventService','_injector','SOCKET_FAILED_RETRY','onTransformState','updateSnapshot','textRanges','UNIVER_SLIDE','734832HqInwU','updateCollaborator','stringify','symbol','subscribe','every','923237bCkNZY','JOIN_ROOM_PERMISSION_DENIED','COLLAB_SUBMIT_CHANGESET_URL','transformSelections','transformUndoRedo','_stopTelemetryCollaborationNewChangeset','_toggleOnline','_socketReady','ERROR_IMAGE_TYPE','_startTelemetryCollaborationNewChangeset','_nDataBytes','onSyncEditingCollabCursor','SUBMIT_CHANGESET','complete','status','_roomMembers','_onConnectionFailed','userID','INVALID_ARGUMENT','resend','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','PSEUDO_FETCH_MISSING_RESULT','_doCryptBlock','onTransformSelections','dispose','ciphertext','JOINING','create','Error\x20on\x20receiving\x20event','_registerDependencies','UNIVER_SHEET','COMPLETION_FINISHED','_userManagerService','MUTATION','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_onMessage','offline','_checkMissing','filter','editing\x20status\x20changed\x20to','_status$','&assign=','buffer','onMissingChangesets','_members$','listRoles','_iv','then','algo','cfg','conflict','\x20-\x20','avatar','telemetry\x20info\x20is\x20not\x20initialized','getUnitType','_transformRemoteChangesetByStateCache','_DEC_XFORM_MODE','_revisionService','slice','YUUMI_RATE_OVER_LIMIT','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','socket\x20open.','fetchMiss','requireSession','[CollaborationUndoRedoService]','_sendingTimer','_getAPIPrefixPath','actions','LOCAL_CACHE_INTERVAL','getWorkbookSelections','decryptBlock','_waitCount','_change$','not_collab','has','Cipher','_getLoginPath','_onRemoteRetry','collaMsg','startsWith','type','SHA1','words','UNRECOGNIZED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','closeSession','splice','snapshotServerUrl','_clearUndo','_undoStacks','TOO_MANY_REQUESTS','signUrlServerUrl','substr','asObservable','UNISCRIPT_RUN','_logService','univer-pro.collaboration-client-socket-service','_networkConditionService','interceptor','onLocalMutation','_awaitingChangeset','/universer-api/file/{fileID}/sign-url','pauseCollaboration','\x20in\x20_schedule.','push','compute','onCommentUpdate','error$','RETRY_CONNECTING_MAX_COUNT','_updateLocalCache','[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.','HMAC','LICENSE_IMPORT_SIZE_EXCEEDED','c2Prime','INVALID_INVITE_CODE','c1Prime','/universer-api/authz','_univerInstanceService','APPLY_REJECT','onStateChange','_exhaustRemoteChangesetQueue','_memberService','APPLY_REVISION_CONFILICT','getCollabEntity','setShowComponents','LIVESHARE_OPERATION','socket$','sendChangesetTimeout','copyFileMeta','__creator','APPLY_NON_SEQUENTIAL_REVISION','[OfflineState]:\x20received\x20changeset.','[CollaborationSessionService]:\x20socket\x20error','repeat','getSheetBlock','_rescheduleHeartbeat','_transformIMECache','[PendingState]:\x20received\x20rejection.','uploadFileServerUrl','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_instanceService','[DataLoaderService]','now','_timeoutTimer','_compressMutationService','leaveEvent','INGEST','getValue','JOIN_ROOM_FULL','_onRecvEvent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_type','ceil','_transformStateCache','_data','file','[FetchMissState]','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_collabSessionService','_sendHeartbeatTimer','_retryConnectingTimer','resolve','PasswordBasedCipher','enc','changesets','message$','withCredentials','_onConnectionOpen','_syncEditingCollabCursor','CONNECTOR_DATA_TOO_LARGE','socketService','FETCH_MISS','parse','loadOfflineData','_remoteChangesetQueue','INTERNAL_ERROR','ERROR_IMAGE','/universer-api/stream/file/upload','_initRequestHeader','onSendChangeset','_sendHeartbeat','sessionStatus','/universer-api/user/session-ticket','fromCharCode','_transformStack','reset','saveImage','_listenToNetworkCondition','EvpKDF','data','getRoom','Encryptor','includes','_unlockTransition','workbook','session.room-cnt-exceeds','_transitionLocked','name','PENDING','padding','registerHTTPInterceptor','baseRev','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','key','subUnitId','change$','_clearTimeoutTimer','commentUpdateEvent','_event$','UNIVER_UNKNOWN','debug','format','JOIN_ROOM_FAILED','_incrementRevisionNumber','/allowed','equals','failed\x20to\x20apply\x20missed\x20changesets!','/fetchmissing?from=','getOwnPropertyDescriptor','CHANGESET_SHOULD_RETRY','connection\x20error','hasOwnProperty','encryptBlock','/universer-api/uniscript','getFocusedUnit','_onOffline','_isPermissionRej','open$','_minBufferSize','getUnit','_initCloseConn','HEARTBEAT_INTERVAL','toString','_getCurrentRevision','awaitingChangeset','forEach','infoRsp','?size=','_startCollaboration','removeMember','transformMutationsWithChangeset','Malformed\x20UTF-8\x20data','INVITE_CODE_REQUIRED','[UniverCollaborationClientPlugin]','next','_clearHeartbeatTimer','APPLY_PERMISSION_DENIED','/universer-api/oidc/authpage','lib','_commentUpdate$','_sessions','dispose$','cmd','NOT_COLLAB','addHandlerCallback','_initDependencies','\x20to\x20','UNKNOWN_CODE','joinRsp','length','enableSingleActiveInstanceLock','_configService','CHANGESET_ACK','_resendTimeout','UNAUTHENTICATED','session.join-failed','_updateStatus','_emitMembers','OpenSSL','_sender','indexOf','unsubscribe','saveChangeset','_socket$','allowed','_substituteRedoStack','blockSize','session.room-full','onRemoteAck','src','People','_imageSourceCache','updateCursorEvent','state','onRemoteChangeset','UUID','LICENSE_DISTRO_REJECTED','UNIVER_PROJECT','isPermissionRej','_transformUndoredo','_toggleOffline','univer-pro.collaboration-client.single-active-unit-service','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','image/bmp','_handler','CHANGESET_REJ','DEFAULT_FILE_NAME','_snapshotService','COMMENT_UPDATE','_hasher','size','_xformMode','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CHANGESET_REVISION_CONFILICT','getInterceptPoints','_applyRemoteChangeset','getImageSourceCache','reconnect','downloadEndpointUrl','IDLE','objects','auth.needGotoLoginAlert','from','prototype','_clearScheduledTask','_getCtorByUniverType','headers','_createHandler','_mode','YUUMI_UNABLE_LOAD_URL','Pkcs7','_doReset','_socketService','set','LICENSE_MAX_UNITS_EXCEEDED','liveShareNewHost','Univer','unitId','[OfflineState]:\x20received\x20acknowledgement.','_roomCreated$','init','isArray','finalize','_onRemoteRejected','localCacheService','eventID','apply','_nRounds','fetch_missing','_socketMessageSubscription','reverse','_handlerCallback','_entities','_acknowledgedAwaitingChangeset','shouldCloseConn','delete','extend','_invKeySchedule','resourceIDs','update','encodeURIComponent','WECHAT_HAS_BEEN_BOUND','m2Prime','/object/','SNAPSHOT_URL_KEY','getConfig','_clearRetryConnectingTimer','LICENSE_EXPORT_SIZE_EXCEEDED','6naGjuh','memberID','enableCollaboration','getRandomValues','onTransformRemoteChangesetByStateCache','_ENC_XFORM_MODE','pending','pad','_onLocalMutation','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','NEW_CHANGESETS','getResourcesRequest','getMember','fetchThroughInterceptors','_resendTimer','hostname','__esModule','COMPRESS_MUTATION_SEND','fetching\x20missing\x20changesets\x20from\x20','OTHER_CLIENTS_EDITING','encode','JOIN','ONLINE','_doFinalize','kdf','Base64','_onFetchMissResult','csAckEvent','getTime','onTransformIME','AWAITING','roomInfos','_onUserLeave','UserProfileImg','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','byteLength','HttpImport','LIVESHARE_TERMINATE','SOCKET_FAILED','_candidateSocket','createInstance','ENSURE_SNAPSHOT_EXECUTION','_doProcessBlock','_getDownloadEndpointURL','unitID','/role','SUCCUSS','_updateState','awaiting_with_pending','_process','MD5','UNIVER_COLLABORATION_CLIENT_PLUGIN','close$','members','processBlock','updateMember','SYNCED','SUBMIT_CHANGESET_TIMEOUT','FileId','_resendWithTimeout','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_getUploadFileURL','NoPadding','sid','/block/','params','_eventService','$super','rev','csShouldRetryEvent','collaboratorID','SNAPSHOT_SERVER_URL_KEY','_init','YUUMI_SUBSCRIPTION_NOT_FOUND','HEARTBEAT','floor','iterations','addImageSourceCache','Hasher','SNAPSHOT_INVALID_SNAPSHOT','max','getMemberID','CipherParams','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','objectActions','_transformService','getUnitStatus$','method','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Latin1','LOGIN_URL_KEY','joinEvent','_getRedoStack','COMPRESS_MUTATION_APPLY','OFFLINE','catch','requestParams','close','charCodeAt','_transformSelections','enableOfflineEditing','WordArray','loginUrlKey','_showConflictNotification','onRemoteRetry','PY_RUNTIME_SCRIPT_ERROR','_lockTransition','appendMutation','SerializableCipher','LIVESHARE_REQUEST_HOST','image/gif','ERROR_EXCEED_SIZE','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','1291707RroyIz','selections','keySize','_fetchMissChangesets','_telemetryInfo','_getSendChangesetTimeout','_getUndoStack','collaborators','event$','sigBytes','href','_redoStacks','location','save\x20fail\x20reason\x20is\x20','_clearCollaborationTimeoutTimer','_hash','transformStack\x20failed!','collaboration-client.local-cache-service','_singleActiveUnitService','_append','\x0aAfter:\x20','_schedule','__Key__','state$','_createHmacHelper','updatePermissionPoint','_executeRemoteChangeset','exports','/universer-api/snapshot','_key','collaboration-client.config','_disableEditing','_transformRemoteChangesetByIMECache','loadUnitOfRevision','target','_map','MOBILE_HAS_BEEN_BOUND','SEND_CHANGESET_TIMEOUT','origin','hasher','saveSnapshot','createEncryptor','_socket','reject','subject','get'];_0x3795=function(){return _0x1d4a4f;};return _0x3795();}let _e=class extends Te{constructor(_0x2a907c,_0x41f4ce,_0x59b056,_0x4f5524,_0x3c86d1,_0x54b217,_0x4d05d7,_0x1ed21b,_0x2e6379,_0x5ab98d,_0x21cf89){var _0x39e355=_0x72bb68;super(_0x2a907c,_0x41f4ce,_0x59b056,[],_0x4f5524,_0x4d05d7,_0x5ab98d,_0x54b217,_0x21cf89),N(this,_0x39e355(0x8d),_0x39e355(0x2dd)),N(this,_0x39e355(0x186),0x0),N(this,_0x39e355(0x1f3)),N(this,_0x39e355(0x18c)),(this[_0x39e355(0x37c)]=_0x3c86d1,this[_0x39e355(0xde)]=_0x1ed21b,this['_transformService']=_0x2e6379);}['appendMutation'](_0x5a4c8a){var _0x5c0e5a=_0x72bb68;this[_0x5c0e5a(0x1b9)]();const _0x58f113=this['_injector']['createInstance'](ae,this[_0x5c0e5a(0x211)],this['type'],this[_0x5c0e5a(0xe3)],[_0x5a4c8a],this[_0x5c0e5a(0x1a5)],this[_0x5c0e5a(0x1f3)]);return _0x58f113[_0x5c0e5a(0xec)](),_0x58f113;}[_0x72bb68(0x19b)](_0x5a94ab){var _0x3f9a84=_0x72bb68;if(this['_checkMissing'](_0x5a94ab))return this['_clearScheduledTask'](),this['_injector'][_0x3f9a84(0x20d)](Q,this[_0x3f9a84(0x211)],this[_0x3f9a84(0xcf)],this[_0x3f9a84(0xe3)],[],null,[_0x5a94ab],this[_0x3f9a84(0x1a5)]);try{const _0x51b997=this[_0x3f9a84(0x23a)]['transformChangesets']([_0x5a94ab],[this['_awaitingChangeset']],!0x1);if(_0x3cf099(_0x51b997)){const {c1Prime:_0xde0088,c2Prime:_0x4eb0e9}=_0x51b997;this[_0x3f9a84(0x270)](_0xde0088[0x0]),_0x4eb0e9[0x0]['baseRev']=this[_0x3f9a84(0x168)](),this[_0x3f9a84(0x1b9)]();const _0x1f57bc=this[_0x3f9a84(0x37c)][_0x3f9a84(0x20d)](_e,this[_0x3f9a84(0x211)],this[_0x3f9a84(0xcf)],_0x4eb0e9[0x0],this[_0x3f9a84(0x1a5)]);return _0x1f57bc[_0x3f9a84(0xec)](),_0x1f57bc;}return this['_onConflict'](!0x1);}catch(_0x3391db){return this[_0x3f9a84(0xde)][_0x3f9a84(0x32f)](_0x3391db),this[_0x3f9a84(0x2fa)](!0x1);}}[_0x72bb68(0x195)](_0x20536a){var _0x527e43=_0x72bb68;this[_0x527e43(0x1b9)]();const _0x2a693b=this['_revisionService'][_0x527e43(0x37a)](this[_0x527e43(0x211)]);if(_0x20536a[_0x527e43(0x2f4)]<_0x2a693b-0x1)return this;if(this[_0x527e43(0xa4)](_0x20536a))return this[_0x527e43(0x37c)][_0x527e43(0x20d)](Q,this[_0x527e43(0x211)],this[_0x527e43(0xcf)],null,[],this['_awaitingChangeset'],[],this[_0x527e43(0x1a5)]);this['_incrementRevisionNumber']();const _0x474740=this[_0x527e43(0x37c)][_0x527e43(0x20d)](ye,this[_0x527e43(0x211)],this[_0x527e43(0xcf)],this[_0x527e43(0x1a5)]);return _0x474740[_0x527e43(0xec)](),_0x474740;}[_0x72bb68(0x34d)](_0x31d59e){var _0x1d42d8=_0x72bb68;return this[_0x1d42d8(0x2fa)](!!(_0x31d59e!=null&&_0x31d59e['isPermissionRej']));}[_0x72bb68(0x24d)](_0x23910d){var _0x59d74d=_0x72bb68;return this['_resendTimeout']>Ci?this[_0x59d74d(0x30b)]():(this[_0x59d74d(0x1f3)]=Ii(this[_0x59d74d(0x186)],{'timeout':this[_0x59d74d(0x186)],'reqId':_0x23910d[_0x59d74d(0x2dc)]}),this[_0x59d74d(0x18c)]=this[_0x59d74d(0x1f3)]['subscribe'](({reqId:_0x29f9e4,timeout:_0xb10c66})=>{var _0x56749f=_0x59d74d;this[_0x56749f(0x220)](_0x29f9e4,_0xb10c66);}),this);}[_0x72bb68(0x30b)](){var _0x15d2f3=_0x72bb68;return this['_clearScheduledTask'](),this[_0x15d2f3(0x37c)]['createInstance'](ue,this[_0x15d2f3(0x211)],this[_0x15d2f3(0xcf)],this[_0x15d2f3(0xe3)],[],this['_handler']);}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x92)](){var _0x3b07b6=_0x72bb68;this[_0x3b07b6(0x1a5)][_0x3b07b6(0x132)](this['_awaitingChangeset']);}['_onConflict'](_0x51eb2d){var _0x54d440=_0x72bb68;return this[_0x54d440(0x1b9)](),this[_0x54d440(0x37c)][_0x54d440(0x20d)](le,this[_0x54d440(0x211)],this[_0x54d440(0xcf)],this[_0x54d440(0xe3)],[],this[_0x54d440(0x1a5)],_0x51eb2d);}[_0x72bb68(0x220)](_0x14491d,_0x51b578){var _0x1f08cb=_0x72bb68,_0x1a7ab9;_0x14491d===((_0x1a7ab9=this['_awaitingChangeset'])==null?void 0x0:_0x1a7ab9[_0x1f08cb(0x2dc)])&&(this[_0x1f08cb(0x92)](),this[_0x1f08cb(0x186)]=_0x51b578===0x0?0x3e8:_0x51b578*0x2);}[_0x72bb68(0x1b9)](){var _0x475c53=_0x72bb68,_0x238a93;(_0x238a93=this[_0x475c53(0x18c)])==null||_0x238a93['unsubscribe'](),this['_resendTimeout']=0x0;}};_e=Ie([P(0x4,_0x41311f(_0x4cac68)),P(0x5,_0x41311f(_0x2d82bd)),P(0x6,_0xe29ee9),P(0x7,_0x39af9e),P(0x8,_0x13d105),P(0x9,_0x1032f6),P(0xa,_0x3cf774(J))],_e);let ae=class extends Te{constructor(_0x24e79f,_0x48e83,_0x2a8227,_0xbf306b,_0x1d88c6,_0x37f818,_0x41be29,_0x3b59a5,_0x593936,_0x3e0115,_0x337f47,_0x40cbd6,_0x3b5cff){var _0x2e4126=_0x72bb68;super(_0x24e79f,_0x48e83,_0x2a8227,_0xbf306b,_0x1d88c6,_0x593936,_0x40cbd6,_0x3b59a5,_0x3b5cff),N(this,_0x2e4126(0x8d),_0x2e4126(0x215)),N(this,_0x2e4126(0x186),0x0),N(this,_0x2e4126(0x1f3)),N(this,'_sender'),(this[_0x2e4126(0x37c)]=_0x41be29,this[_0x2e4126(0xde)]=_0x3e0115,this['_transformService']=_0x337f47,this['localCacheService']=_0x3b5cff,_0x37f818&&(this[_0x2e4126(0x1f3)]=_0x37f818,this[_0x2e4126(0x18c)]=this['_resendTimer'][_0x2e4126(0x7d)](({reqId:_0x32c2df,timeout:_0xf57c9d})=>{var _0xcb4f19=_0x2e4126;this[_0xcb4f19(0x220)](_0x32c2df,_0xf57c9d);})));}['appendMutation'](_0x20b7bf){var _0x5349c9=_0x72bb68;return this[_0x5349c9(0x2fb)]['push'](_0x20b7bf),this;}[_0x72bb68(0x19b)](_0x451f26){var _0x4b8551=_0x72bb68;if(this['_checkMissing'](_0x451f26))return this[_0x4b8551(0x1b9)](),this[_0x4b8551(0x37c)][_0x4b8551(0x20d)](Q,this[_0x4b8551(0x211)],this['type'],this[_0x4b8551(0xe3)],this[_0x4b8551(0x2fb)],null,[_0x451f26],this[_0x4b8551(0x1a5)]);try{const _0x30aba0=this[_0x4b8551(0x23a)][_0x4b8551(0x379)]([_0x451f26],[this[_0x4b8551(0xe3)]],!0x1);if(_0x3cf099(_0x30aba0)){const {c1Prime:_0x22d988,c2Prime:_0x8ca96f}=_0x30aba0,_0x372109=this[_0x4b8551(0x23a)][_0x4b8551(0x16f)](_0x22d988[0x0],this[_0x4b8551(0x2fb)]);if(_0x4eb0e0(_0x372109)){const {c1Prime:_0x3ed39d,m2Prime:_0xf486e3}=_0x372109;return this['_executeRemoteChangeset'](_0x3ed39d),_0x8ca96f[0x0][_0x4b8551(0x148)]=this[_0x4b8551(0x168)](),this[_0x4b8551(0x1b9)](),this['_injector']['createInstance'](ae,this[_0x4b8551(0x211)],this['type'],_0x8ca96f[0x0],_0xf486e3,this[_0x4b8551(0x1a5)],void 0x0);}throw _0x372109['error'];}throw _0x30aba0['error'];}catch(_0x34536e){return this[_0x4b8551(0xde)][_0x4b8551(0x32f)](_0x34536e),this[_0x4b8551(0x2fa)](!0x1);}}[_0x72bb68(0x195)](_0x12b56a){var _0x19fe92=_0x72bb68;if(this['_clearScheduledTask'](),this[_0x19fe92(0xa4)](_0x12b56a))return this[_0x19fe92(0x37c)][_0x19fe92(0x20d)](Q,this[_0x19fe92(0x211)],this[_0x19fe92(0xcf)],null,this[_0x19fe92(0x2fb)],this['_awaitingChangeset'],[],this[_0x19fe92(0x1a5)]);this[_0x19fe92(0x154)]();const _0x39f5c0=this['_injector'][_0x19fe92(0x20d)](re,this[_0x19fe92(0x211)],this[_0x19fe92(0xcf)],this[_0x19fe92(0x2fb)],this[_0x19fe92(0x1a5)]);return _0x39f5c0[_0x19fe92(0x26b)](),_0x39f5c0[_0x19fe92(0xec)](),_0x39f5c0;}['onRemoteRej'](_0x7aaa19){var _0x8f8c4d=_0x72bb68;return this[_0x8f8c4d(0x2fa)](!!(_0x7aaa19!=null&&_0x7aaa19['isPermissionRej']));}['onRemoteRetry'](_0x3c11f3){var _0xd342b9=_0x72bb68;return this[_0xd342b9(0x186)]>Ci?this['toggleOffline']():(this[_0xd342b9(0x1f3)]=Ii(this[_0xd342b9(0x186)],{'timeout':this[_0xd342b9(0x186)],'reqId':_0x3c11f3['reqId']}),this[_0xd342b9(0x18c)]=this[_0xd342b9(0x1f3)][_0xd342b9(0x7d)](({reqId:_0x235dfc,timeout:_0x11c4ad})=>{var _0x3ed4af=_0xd342b9;this[_0x3ed4af(0x220)](_0x235dfc,_0x11c4ad);}),this);}[_0x72bb68(0x30b)](){var _0xc1a851=_0x72bb68;return this[_0xc1a851(0x1b9)](),this[_0xc1a851(0x37c)][_0xc1a851(0x20d)](ue,this['unitID'],this['type'],this[_0xc1a851(0xe3)],this['_pendingMutations'],this[_0xc1a851(0x1a5)]);}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x92)](){var _0x5ce3bf=_0x72bb68;this[_0x5ce3bf(0x1a5)][_0x5ce3bf(0x132)](this['_awaitingChangeset']);}['_onConflict'](_0xcac7aa){var _0x41bbe1=_0x72bb68;return this[_0x41bbe1(0x1b9)](),this[_0x41bbe1(0x37c)]['createInstance'](le,this['unitID'],this['type'],null,this[_0x41bbe1(0x2fb)],this[_0x41bbe1(0x1a5)],_0xcac7aa);}[_0x72bb68(0x220)](_0x151638,_0x1d2dc9){var _0x49ab95=_0x72bb68,_0x4b495a;_0x151638===((_0x4b495a=this[_0x49ab95(0xe3)])==null?void 0x0:_0x4b495a[_0x49ab95(0x2dc)])&&(this[_0x49ab95(0x92)](),this[_0x49ab95(0x186)]=_0x1d2dc9===0x0?0x3e8:_0x1d2dc9*0x2);}[_0x72bb68(0x1b9)](){var _0x418fc8=_0x72bb68,_0x46c244;(_0x46c244=this[_0x418fc8(0x18c)])==null||_0x46c244['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0x41311f(_0x4cac68)),P(0x7,_0x41311f(_0x2d82bd)),P(0x8,_0xe29ee9),P(0x9,_0x39af9e),P(0xa,_0x13d105),P(0xb,_0x1032f6),P(0xc,_0x3cf774(J))],ae);let le=class extends Te{constructor(_0x25008e,_0x36f555,_0x33cd6b,_0x2218dd,_0x275795,_0x514360=!0x1,_0x23d3df,_0x27a1f5,_0x75c797,_0x24bde5,_0x538c94,_0x21ca08,_0x3f68e0){var _0x125737=_0x72bb68;super(_0x25008e,_0x36f555,_0x33cd6b,_0x2218dd,_0x275795,_0x27a1f5,_0x75c797,_0x24bde5,_0x3f68e0),N(this,_0x125737(0x8d),_0x125737(0xb1)),(this[_0x125737(0x161)]=_0x514360,this[_0x125737(0x30c)]=_0x23d3df,this[_0x125737(0x287)]=_0x538c94,this[_0x125737(0x37b)]=_0x21ca08,this['localCacheService']=_0x3f68e0,this[_0x125737(0x24c)](),this['_clearLocalCache'](),this[_0x125737(0x275)]());}[_0x72bb68(0x250)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x72bb68(0x34d)](){return this;}[_0x72bb68(0x24d)](){return this;}[_0x72bb68(0x30b)](){return this;}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x92)](){var _0x515c9d=_0x72bb68;throw new Error(_0x515c9d(0x1ee));}['_clearLocalCache'](){var _0x1d93d0=_0x72bb68,_0x5520a1;(_0x5520a1=this[_0x1d93d0(0x35a)])==null||_0x5520a1[_0x1d93d0(0x377)](this['unitID'],this[_0x1d93d0(0xcf)],null,[]);}[_0x72bb68(0x24c)](){var _0x43025f=_0x72bb68;this[_0x43025f(0x161)]?this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x43025f(0x2bf)]}):this[_0x43025f(0x37b)][_0x43025f(0x326)]({'id':ne['CONFLICT']});}[_0x72bb68(0x275)](){var _0x50e4ca=_0x72bb68;this[_0x50e4ca(0x30c)][_0x50e4ca(0x26f)](new _0x134095(this[_0x50e4ca(0x211)])['id'],!0x1);}};le=Ie([P(0x6,_0x41311f(_0x10fa9c)),P(0x7,_0xe29ee9),P(0x8,_0x1032f6),P(0x9,_0x41311f(_0x2d82bd)),P(0xa,_0x41311f(_0x1d4c3f)),P(0xb,_0x41311f(ve)),P(0xc,_0x3cf774(J))],le);let ue=class extends Te{constructor(_0x548455,_0x32c223,_0xa8231d,_0x32f39b,_0x1677a3,_0xa81e63,_0x3d0af7,_0x4b3cce,_0x12eb7a,_0xa240ad){var _0x8e9869=_0x72bb68;super(_0x548455,_0x32c223,_0xa8231d,_0x32f39b,_0x1677a3,_0x4b3cce,_0x12eb7a,_0x3d0af7,_0xa240ad),N(this,_0x8e9869(0x8d),_0x8e9869(0xa3)),this['_injector']=_0xa81e63;}[_0x72bb68(0x250)](_0xf7e2c0){var _0x253342=_0x72bb68;return this[_0x253342(0x2fb)][_0x253342(0xe7)](_0xf7e2c0),this[_0x253342(0xec)](),this;}['onRemoteChangeset'](_0x4eb2f4){var _0x22429c=_0x72bb68;throw new Error(_0x22429c(0x102));}[_0x72bb68(0x195)](){var _0x5b7de1=_0x72bb68;throw new Error(_0x5b7de1(0x1c7));}[_0x72bb68(0x34d)](){var _0x206c6d=_0x72bb68;throw new Error(_0x206c6d(0x359));}[_0x72bb68(0x24d)](){return this;}[_0x72bb68(0x30b)](){return this;}['toggleOnline'](){var _0x1fb804=_0x72bb68;const {_injector:_0x39510a,_pendingMutations:_0x1dd1fd,_awaitingChangeset:_0x33f2b5,unitID:_0x4eafce,_handler:_0x36c67a,type:_0x245ca0}=this,_0x3d396c=Ri(_0x39510a,_0x4eafce,_0x245ca0,_0x33f2b5,_0x1dd1fd,_0x36c67a);return _0x3d396c instanceof re?_0x3d396c[_0x1fb804(0x26b)]():(_0x3d396c instanceof ae||_0x3d396c instanceof _e)&&_0x3d396c[_0x1fb804(0x92)](),_0x3d396c;}[_0x72bb68(0x92)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0x41311f(_0x4cac68)),P(0x6,_0x41311f(_0x2d82bd)),P(0x7,_0xe29ee9),P(0x8,_0x1032f6),P(0x9,_0x3cf774(J))],ue);let Q=class extends Te{constructor(_0x2a1c48,_0xe9d9e4,_0x26da33,_0x52b515,_0x394935,_0x1ce58d,_0xe4885c,_0x37feeb,_0x3d6374,_0x46c023,_0x30977b,_0x31153d,_0x410d35,_0x336d02){var _0x49b538=_0x72bb68;super(_0x2a1c48,_0xe9d9e4,_0x26da33,_0x52b515,_0xe4885c,_0x30977b,_0x31153d,_0x3d6374,_0x336d02),N(this,'status',_0x49b538(0x1d1)),(this['_acknowledgedAwaitingChangeset']=_0x394935,this['_queuedRemoteChangesets']=_0x1ce58d,this[_0x49b538(0x37c)]=_0x37feeb,this[_0x49b538(0xde)]=_0x46c023,this['_transformService']=_0x410d35,this['localCacheService']=_0x336d02);}[_0x72bb68(0x2ee)](_0x498599){var _0x356fa3=_0x72bb68;try{const _0x252aef=[..._0x498599,...this[_0x356fa3(0x34b)]],_0x468c55=[this[_0x356fa3(0xe3)]||this[_0x356fa3(0x1d6)]]['filter'](_0x5c5a64=>!!_0x5c5a64);let _0xec6436,_0xc567a2;if(_0x468c55[_0x356fa3(0x182)]){const _0x59fbad=this[_0x356fa3(0x23a)][_0x356fa3(0x379)](_0x252aef,_0x468c55,!0x1);if(!_0x3cf099(_0x59fbad))throw _0x59fbad[_0x356fa3(0x32f)];_0xec6436=_0x59fbad[_0x356fa3(0xf2)],_0xc567a2=_0x59fbad[_0x356fa3(0xf0)];}else _0xec6436=_0x252aef,_0xc567a2=[];let _0x1f313e=this[_0x356fa3(0x2fb)];_0xec6436[_0x356fa3(0x16a)](_0x441d42=>{var _0x5d0e8d=_0x356fa3;let _0x11bee9;if(_0x1f313e[_0x5d0e8d(0x182)]){const _0x314ec2=this[_0x5d0e8d(0x23a)][_0x5d0e8d(0x16f)](_0x441d42,_0x1f313e);if(!_0x4eb0e0(_0x314ec2))throw _0x314ec2[_0x5d0e8d(0x32f)];_0x11bee9=_0x314ec2[_0x5d0e8d(0xf2)],_0x1f313e=_0x314ec2[_0x5d0e8d(0x1df)];}else _0x11bee9=_0x441d42;this[_0x5d0e8d(0x270)](_0x11bee9);}),this['_acknowledgedAwaitingChangeset']&&this[_0x356fa3(0x154)](),this['_awaitingChangeset']&&_0xc567a2[_0x356fa3(0x182)]&&(_0xc567a2[0x0][_0x356fa3(0x148)]=this['_getCurrentRevision']());let _0x1e06b6;if(this[_0x356fa3(0xe3)]&&_0x1f313e[_0x356fa3(0x182)]!==0x0)_0x1e06b6=this['_injector'][_0x356fa3(0x20d)](ae,this[_0x356fa3(0x211)],this[_0x356fa3(0xcf)],_0xc567a2[0x0],_0x1f313e,this[_0x356fa3(0x1a5)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1f313e[_0x356fa3(0x182)]===0x0)_0xc567a2[0x0][_0x356fa3(0x148)]=this[_0x356fa3(0x168)](),_0x1e06b6=this[_0x356fa3(0x37c)]['createInstance'](_e,this['unitID'],this[_0x356fa3(0xcf)],_0xc567a2[0x0],this[_0x356fa3(0x1a5)]);else{if(_0x1f313e[_0x356fa3(0x182)]!==0x0){const _0x13bf3b=this[_0x356fa3(0x37c)][_0x356fa3(0x20d)](re,this[_0x356fa3(0x211)],this[_0x356fa3(0xcf)],_0x1f313e,this[_0x356fa3(0x1a5)]);_0x13bf3b[_0x356fa3(0x26b)](),_0x1e06b6=_0x13bf3b;}else _0x1e06b6=this['_injector']['createInstance'](ye,this[_0x356fa3(0x211)],this[_0x356fa3(0xcf)],this[_0x356fa3(0x1a5)]);}}return _0x1e06b6['_updateLocalCache'](),_0x1e06b6;}catch(_0x257738){return this['_logService'][_0x356fa3(0x32f)](_0x356fa3(0x11b),_0x356fa3(0x157),_0x257738),this[_0x356fa3(0x37c)]['createInstance'](le,this[_0x356fa3(0x211)],this['type'],this[_0x356fa3(0xe3)],this[_0x356fa3(0x2fb)],this[_0x356fa3(0x1a5)],!0x1);}}[_0x72bb68(0x92)](){var _0x1ffda4=_0x72bb68;throw new Error(_0x1ffda4(0x255));}['appendMutation'](_0x3c2137){var _0x4f0e48=_0x72bb68;return this[_0x4f0e48(0x2fb)][_0x4f0e48(0xe7)](_0x3c2137),this;}['onRemoteChangeset'](_0x139e3f){var _0x2f6f67=_0x72bb68;return this[_0x2f6f67(0x34b)][_0x2f6f67(0xe7)](_0x139e3f),this;}[_0x72bb68(0x195)](_0x2dbfd9){var _0x3eee27=_0x72bb68;if(this[_0x3eee27(0xe3)])return this[_0x3eee27(0x1d6)]=this['_awaitingChangeset'],this[_0x3eee27(0xe3)]=null,this;throw new Error(_0x3eee27(0x149));}[_0x72bb68(0x34d)](_0x4f2d46){var _0x858782=_0x72bb68;return this[_0x858782(0x2fa)](!!(_0x4f2d46!=null&&_0x4f2d46[_0x858782(0x19f)]));}[_0x72bb68(0x24d)](){return this;}[_0x72bb68(0x30b)](){var _0x1ead11=_0x72bb68;return this['_injector']['createInstance'](ue,this[_0x1ead11(0x211)],this[_0x1ead11(0xcf)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1ead11(0x1a5)]);}[_0x72bb68(0x31a)](){return this;}[_0x72bb68(0x2fa)](_0x35a4e9){var _0x4d6a67=_0x72bb68;return this['_injector'][_0x4d6a67(0x20d)](le,this[_0x4d6a67(0x211)],this[_0x4d6a67(0xcf)],this['_awaitingChangeset'],this[_0x4d6a67(0x2fb)],this[_0x4d6a67(0x1a5)],_0x35a4e9);}};Q=Ie([P(0x7,_0x41311f(_0x4cac68)),P(0x8,_0x41311f(_0x2d82bd)),P(0x9,_0x39af9e),P(0xa,_0xe29ee9),P(0xb,_0x1032f6),P(0xc,_0x13d105),P(0xd,_0x3cf774(J))],Q);function Ri(_0x4accad,_0x2ee814,_0x117af7,_0x3955b3,_0x1e186a,_0x1ff2d9){var _0x542145=_0x72bb68;return _0x3955b3&&_0x1e186a['length']?_0x4accad[_0x542145(0x20d)](ae,_0x2ee814,_0x117af7,_0x3955b3,_0x1e186a,_0x1ff2d9,void 0x0):_0x3955b3?_0x4accad['createInstance'](_e,_0x2ee814,_0x117af7,_0x3955b3,_0x1ff2d9):_0x1e186a[_0x542145(0x182)]?_0x4accad[_0x542145(0x20d)](re,_0x2ee814,_0x117af7,_0x1e186a,_0x1ff2d9):_0x4accad[_0x542145(0x20d)](ye,_0x2ee814,_0x117af7,_0x1ff2d9);}var Zs=Object[_0x72bb68(0x159)],wt=(_0x5802f3,_0x59ef21,_0x5d5c17,_0x246fb2)=>{for(var _0x49390c=_0x246fb2>0x1?void 0x0:_0x246fb2?Zs(_0x59ef21,_0x5d5c17):_0x59ef21,_0xf74000=_0x5802f3['length']-0x1,_0x411b52;_0xf74000>=0x0;_0xf74000--)(_0x411b52=_0x5802f3[_0xf74000])&&(_0x49390c=_0x411b52(_0x49390c)||_0x49390c);return _0x49390c;},H=(_0x533e89,_0x52201d)=>(_0x40d814,_0x21ece2)=>_0x52201d(_0x40d814,_0x21ece2,_0x533e89);let st=class extends _0x184f79{constructor(_0x1eecab,_0x7b9844,_0xd12486,_0x2c1e03,_0x55646d,_0x1d7585,_0x3d654d,_0x513601,_0x3d879c,_0x20fcc0,_0x4adf17,_0x4c1e33,_0x5af468){var _0x25feb5=_0x72bb68;super(),N(this,_0x25feb5(0x2f8),new _0x50b1a3(null)),N(this,_0x25feb5(0x26d),this[_0x25feb5(0x2f8)][_0x25feb5(0xdc)]()),N(this,_0x25feb5(0x313)),N(this,_0x25feb5(0x346),!0x1),N(this,_0x25feb5(0x28c),''),N(this,_0x25feb5(0x303),0x0),N(this,_0x25feb5(0x2b2),this[_0x25feb5(0x26d)]['pipe'](_0x11bcb9(_0x288f73=>_0x288f73?_0x288f73[_0x25feb5(0x8d)]:Ti[_0x25feb5(0x243)]),_0x2e23ba(0x1))),N(this,_0x25feb5(0x143),!0x1),N(this,_0x25feb5(0x12d),[]),(this['unitID']=_0x1eecab,this[_0x25feb5(0x293)]=_0x7b9844,this[_0x25feb5(0x116)]=_0xd12486,this[_0x25feb5(0x37c)]=_0x2c1e03,this[_0x25feb5(0x10f)]=_0x55646d,this['_localeService']=_0x1d7585,this[_0x25feb5(0xb8)]=_0x3d654d,this[_0x25feb5(0x227)]=_0x513601,this[_0x25feb5(0xde)]=_0x3d879c,this['_commandService']=_0x20fcc0,this[_0x25feb5(0x30c)]=_0x4adf17,this[_0x25feb5(0x268)]=_0x4c1e33,this[_0x25feb5(0x35a)]=_0x5af468);}get[_0x72bb68(0x19a)](){return this['_state'];}async['init'](){var _0x73a3ae=_0x72bb68;if(this[_0x73a3ae(0x19a)])throw new Error(_0x73a3ae(0x1a3));await this['_init']();}[_0x72bb68(0xe5)](){var _0x1e03a3=_0x72bb68;return this[_0x1e03a3(0x346)]=!0x0,_0x6a388a(()=>{var _0x7f112d=_0x1e03a3;this[_0x7f112d(0x346)]=!0x1,this[_0x7f112d(0xf7)]();});}[_0x72bb68(0xe2)](_0x709eb9){var _0x21fa70=_0x72bb68;this[_0x21fa70(0x1ed)](_0x709eb9);}[_0x72bb68(0x214)](_0xb2aae2){var _0x570bfe=_0x72bb68;this[_0x570bfe(0x313)]=_0xb2aae2,this['_state$'][_0x570bfe(0x173)](_0xb2aae2);}async[_0x72bb68(0x22d)](){var _0x163b30=_0x72bb68,_0x75c944;this[_0x163b30(0x214)](await this[_0x163b30(0x2b6)]()),this[_0x163b30(0x268)]&&((_0x75c944=this[_0x163b30(0x268)])==null||_0x75c944['editingUnit'](this['unitID']),this[_0x163b30(0x2c3)](this[_0x163b30(0x268)][_0x163b30(0x23b)](this[_0x163b30(0x211)])[_0x163b30(0x7d)](_0x42b34e=>{var _0x134643=_0x163b30;this[_0x134643(0xde)][_0x134643(0x151)]('[CollaborationEntity]',_0x134643(0xa6),_0x42b34e),_0x42b34e===Ei[_0x134643(0x1f8)]?(this[_0x134643(0x227)]['emitEvent']({'id':ne[_0x134643(0x2e7)]}),this[_0x134643(0x30c)][_0x134643(0x26f)](new _0x134095(this[_0x134643(0x211)])['id'],!0x1),this[_0x134643(0x30c)]['setShowComponents'](!0x1)):(this[_0x134643(0x30c)]['updatePermissionPoint'](new _0x134095(this[_0x134643(0x211)])['id'],!0x0),this['_permissionService'][_0x134643(0xfb)](!0x0));})));let _0x5ea1f0=!0x1;return this[_0x163b30(0x2c3)](this[_0x163b30(0x293)][_0x163b30(0x2a3)][_0x163b30(0x7d)](_0x534525=>{var _0x4f5be2=_0x163b30;_0x534525===Se['ONLINE']?this[_0x4f5be2(0x85)](_0x5ea1f0):_0x534525===Se[_0x4f5be2(0x243)]&&(_0x5ea1f0=!0x0,this[_0x4f5be2(0x1a1)]());})),this['disposeWithMe'](this[_0x163b30(0x293)][_0x163b30(0x25e)][_0x163b30(0x7d)](_0xbe3b53=>{var _0x42588c=_0x163b30;try{switch(_0xbe3b53[_0x42588c(0x1ce)]){case _0x528d02[_0x42588c(0x1ef)]:{this['_onRemoteChangeset'](_0x131401(_0xbe3b53[_0x42588c(0x13c)]));break;}case _0x528d02[_0x42588c(0x185)]:{this['_onRemoteACK'](_0xbe3b53[_0x42588c(0x13c)]);break;}case _0x528d02[_0x42588c(0x1a6)]:{this['_onRemoteRejected']();break;}case _0x528d02[_0x42588c(0x15a)]:{this[_0x42588c(0xcc)](_0xbe3b53[_0x42588c(0x13c)]);break;}case _0x528d02['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xbe3b53[_0x42588c(0x13c)][_0x42588c(0x123)][_0x42588c(0x374)](_0x3af7b8=>_0x131401(_0x3af7b8)));break;}case _0x528d02[_0x42588c(0x295)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x528d02[_0x42588c(0xdd)]:break;}}catch(_0x5a9614){throw console['error'](_0x42588c(0x9b),_0x5a9614),_0x5a9614;}})),this[_0x163b30(0x313)];}[_0x72bb68(0x140)](){var _0xae711e=_0x72bb68;this[_0xae711e(0x143)]=!0x1;}['_lockTransition'](){var _0x4b94c1=_0x72bb68;if(this['_transitionLocked'])throw new Error(_0x4b94c1(0xed));this[_0x4b94c1(0x143)]=!0x0;}['_onLocalMutation'](_0x1bb030){var _0xcd39ca=_0x72bb68;this[_0xcd39ca(0x24f)](),this[_0xcd39ca(0x214)](this[_0xcd39ca(0x313)][_0xcd39ca(0x250)](_0x1bb030)),this[_0xcd39ca(0x140)]();}['_onRemoteChangeset'](_0x52750c){var _0xa4dd67=_0x72bb68;if(!(_0x52750c[_0xa4dd67(0x2f4)]<=this['_revisionService'][_0xa4dd67(0x37a)](this[_0xa4dd67(0x211)]))){if(this[_0xa4dd67(0x346)]){this['_remoteChangesetQueue']['push'](_0x52750c);return;}this[_0xa4dd67(0x1b0)](_0x52750c);}}['_exhaustRemoteChangesetQueue'](){var _0x3a1a11=_0x72bb68;this[_0x3a1a11(0x12d)][_0x3a1a11(0x16a)](_0x55e20b=>this['_applyRemoteChangeset'](_0x55e20b)),this[_0x3a1a11(0x12d)]=[];}['_applyRemoteChangeset'](_0x33f325){var _0x16234a=_0x72bb68;const _0x5e61bf=this['_compressMutationService'][_0x16234a(0xe1)][_0x16234a(0x1f2)](this[_0x16234a(0x10f)][_0x16234a(0xe1)][_0x16234a(0x1af)]()[_0x16234a(0x242)])(_0x33f325[_0x16234a(0x2ff)],null)||_0x33f325[_0x16234a(0x2ff)],_0x1f48d7={..._0x33f325,'mutations':_0x5e61bf};this['_lockTransition'](),this['_updateState'](this[_0x16234a(0x313)][_0x16234a(0x19b)](_0x1f48d7)),this[_0x16234a(0x140)]();}[_0x72bb68(0x2cf)](_0x518909){var _0x4fb251=_0x72bb68;this['_lockTransition'](),this[_0x4fb251(0x214)](this['_state']['onRemoteAck'](_0x518909)),this[_0x4fb251(0x140)]();}[_0x72bb68(0x1cc)](_0x401299){var _0x12a10d=_0x72bb68;this[_0x12a10d(0x24f)](),this[_0x12a10d(0x214)](this[_0x12a10d(0x313)]['onRemoteRej'](_0x401299)),this[_0x12a10d(0x140)]();}[_0x72bb68(0xcc)](_0x4f77ad){var _0x2fba24=_0x72bb68;this['_lockTransition'](),this[_0x2fba24(0x214)](this['_state'][_0x2fba24(0x24d)](_0x4f77ad)),this[_0x2fba24(0x140)]();}[_0x72bb68(0x1ff)](_0x31b0f4){var _0x1cf88a=_0x72bb68;if(!(this['_state']instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xe237fe=_0x31b0f4['map'](_0x1d753c=>{var _0xde6852=_0x3e8b;const _0x25c301=this[_0xde6852(0x10f)][_0xde6852(0xe1)][_0xde6852(0x1f2)](this[_0xde6852(0x10f)][_0xde6852(0xe1)][_0xde6852(0x1af)]()[_0xde6852(0x242)])(_0x1d753c[_0xde6852(0x2ff)],null)||_0x1d753c[_0xde6852(0x2ff)];return{..._0x1d753c,'mutations':_0x25c301};});this[_0x1cf88a(0x24f)](),this[_0x1cf88a(0x214)](this['_state'][_0x1cf88a(0x2ee)](_0xe237fe)),this[_0x1cf88a(0x140)]();}[_0x72bb68(0x1a1)](){var _0x589f6c=_0x72bb68;this[_0x589f6c(0x24f)](),this[_0x589f6c(0x214)](this['_state']['toggleOffline']()),this[_0x589f6c(0x140)]();}[_0x72bb68(0x85)](_0x3edd0a=!0x1){var _0xa71aa4=_0x72bb68;this['_lockTransition'](),this[_0xa71aa4(0x214)](this[_0xa71aa4(0x313)]['toggleOnline']()),this[_0xa71aa4(0x140)]();const _0x400a35=this['_state'];_0x3edd0a&&_0x400a35 instanceof ye&&(this[_0xa71aa4(0x24f)](),this[_0xa71aa4(0x214)](_0x400a35['fetchMiss']()),this[_0xa71aa4(0x140)]());}async[_0x72bb68(0x2b6)](){return new Promise(_0x5363fe=>{var _0x499f34=_0x3e8b;this[_0x499f34(0x293)]['sessionStatus$'][_0x499f34(0x2ea)](_0x8eeaf8(0x1))[_0x499f34(0x7d)](async _0x3b0332=>{_0x5363fe(await this['_createInitialStateImpl'](_0x3b0332===Se['ONLINE']));});});}['_createHandler'](){var _0xec032=_0x72bb68;const _0x301daa=this[_0xec032(0x211)];return{'onStateChange':(_0xdaa38b,_0x49ca01)=>{var _0x11fd5d=_0xec032;if(_0xdaa38b!==this[_0x11fd5d(0x313)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xdaa38b['status']+_0x11fd5d(0x26a)+_0x49ca01[_0x11fd5d(0x8d)]+'\x0aCurrent:\x20'+this[_0x11fd5d(0x313)][_0x11fd5d(0x8d)]);this[_0x11fd5d(0x214)](_0x49ca01);},'onSendChangeset':_0x151edd=>{var _0xcc145b=_0xec032;_0x151edd['sid']||(_0x151edd[_0xcc145b(0x224)]=this[_0xcc145b(0x28c)],_0x151edd[_0xcc145b(0x2dc)]=++this[_0xcc145b(0x303)]);const _0x1a8533={'eventID':_0x528d02[_0xcc145b(0x8b)],'data':{'unitID':_0x151edd['unitID'],'unitType':this[_0xcc145b(0x116)],'changeset':_0x151edd,'memberID':this[_0xcc145b(0x293)][_0xcc145b(0x236)]()}};this[_0xcc145b(0x293)][_0xcc145b(0x341)](_0x1a8533,this['unitID']);},'onMissingChangesets':({from:_0x2f3bd7,to:_0x58ab6c})=>{var _0x5ed5f6=_0xec032;this[_0x5ed5f6(0xde)][_0x5ed5f6(0x151)](_0x5ed5f6(0x2a1),_0x5ed5f6(0x1f7)+_0x2f3bd7+_0x5ed5f6(0x17f)+_0x58ab6c);const _0x26afa0={'eventID':_0x528d02['FETCH_MISSING'],'data':{'unitID':_0x301daa,'unitType':this[_0x5ed5f6(0x116)],'from':_0x2f3bd7,'to':_0x58ab6c}};this[_0x5ed5f6(0x293)][_0x5ed5f6(0x341)](_0x26afa0,this[_0x5ed5f6(0x211)]);}};}async[_0x72bb68(0x29b)](_0x16ab19){var _0x1becaa=_0x72bb68,_0x3b5c39,_0x3f9942,_0x27ab88;const _0x15ee91=await((_0x3b5c39=this[_0x1becaa(0x35a)])==null?void 0x0:_0x3b5c39[_0x1becaa(0x12c)](this[_0x1becaa(0x211)])),_0x52fcb9=(_0x3f9942=_0x15ee91==null?void 0x0:_0x15ee91[_0x1becaa(0x2ff)])!=null?_0x3f9942:[],_0x4c5c6d=(_0x27ab88=_0x15ee91==null?void 0x0:_0x15ee91[_0x1becaa(0x169)])!=null?_0x27ab88:null,_0x5562fb=!!(_0x4c5c6d!=null&&_0x4c5c6d[_0x1becaa(0x224)])&&!!(_0x4c5c6d!=null&&_0x4c5c6d['reqId']);this[_0x1becaa(0x28c)]=_0x5562fb?_0x4c5c6d[_0x1becaa(0x224)]:_0x1da367(),this['_changesetReqId']=_0x5562fb?_0x4c5c6d[_0x1becaa(0x2dc)]:0x0;const _0x142bf6=this['unitID'];try{this['_replayCachedMutations'](_0x4c5c6d,_0x52fcb9);}catch(_0x4ee3b7){this[_0x1becaa(0xde)][_0x1becaa(0x32f)](_0x4ee3b7);}const _0x53c15b=this[_0x1becaa(0x1bc)]();if(_0x16ab19){const _0x4134e1=Ri(this[_0x1becaa(0x37c)],_0x142bf6,this[_0x1becaa(0x116)],_0x4c5c6d,_0x52fcb9,_0x53c15b);return _0x4134e1 instanceof re?_0x4134e1[_0x1becaa(0x26b)]():(_0x4134e1 instanceof ae||_0x4134e1 instanceof _e)&&_0x4134e1[_0x1becaa(0x92)](),_0x4134e1;}return this[_0x1becaa(0x37c)][_0x1becaa(0x20d)](ue,_0x142bf6,this[_0x1becaa(0x116)],_0x4c5c6d,_0x52fcb9,_0x53c15b);}['_replayCachedMutations'](_0x5eadad,_0x3f8e0b){var _0x4f8170=_0x72bb68,_0xa564a,_0x4e47ae;const _0x526590=this[_0x4f8170(0x10f)][_0x4f8170(0xe1)][_0x4f8170(0x1f2)](this[_0x4f8170(0x10f)][_0x4f8170(0xe1)][_0x4f8170(0x1af)]()['COMPRESS_MUTATION_APPLY']);(_0xa564a=_0x526590((_0x5eadad==null?void 0x0:_0x5eadad[_0x4f8170(0x2ff)])||[],null))==null||_0xa564a['forEach'](_0x4b2383=>this['_commandService'][_0x4f8170(0x36a)](_0x4b2383['id'],_0x4b2383['params'])),(_0x4e47ae=_0x526590(_0x3f8e0b||[],null))==null||_0x4e47ae[_0x4f8170(0x16a)](_0x4ce445=>this[_0x4f8170(0x2b8)][_0x4f8170(0x36a)](_0x4ce445['id'],_0x4ce445[_0x4f8170(0x226)]));}};st=wt([H(0x3,_0x41311f(_0x4cac68)),H(0x4,_0x41311f(_0x58b918)),H(0x5,_0x41311f(_0x1d4c3f)),H(0x6,_0x41311f(_0x2d82bd)),H(0x7,_0x41311f(ve)),H(0x8,_0x39af9e),H(0x9,_0xe29ee9),H(0xa,_0x10fa9c),H(0xb,_0x3cf774(ht)),H(0xc,_0x3cf774(J))],st);let St=class extends st{constructor(_0x38583e,_0x33ed48,_0x4998c2,_0x385b3b,_0x388a29,_0x1f3eee,_0x3f47cc,_0x557213,_0x4b220f,_0xe61c72,_0x14c2f9,_0x3b50ee,_0x1cf8de){var _0x4cd8b8=_0x72bb68;super(_0x38583e,_0x4998c2,_0x33ed48,_0x385b3b,_0x388a29,_0x1f3eee,_0x3f47cc,_0x557213,_0x4b220f,_0xe61c72,_0x14c2f9,_0x3b50ee,_0x1cf8de),N(this,_0x4cd8b8(0x1d4),null),(this[_0x4cd8b8(0x211)]=_0x38583e,this[_0x4cd8b8(0xcf)]=_0x33ed48);}[_0x72bb68(0x17d)](_0x547214){var _0x562b95=_0x72bb68;this[_0x562b95(0x1d4)]=_0x547214;}[_0x72bb68(0x97)](){var _0x27c567=_0x72bb68;this[_0x27c567(0x1d4)]=null,super['dispose']();}['_createHandler'](){var _0x5bbb64=_0x72bb68;const _0x5891cc=super[_0x5bbb64(0x1bc)]();return _0x5891cc[_0x5bbb64(0x202)]=_0xf83bd8=>{var _0x3de6fb=_0x5bbb64,_0x1e7cea,_0x3b27af;return(_0x3b27af=(_0x1e7cea=this[_0x3de6fb(0x1d4)])==null?void 0x0:_0x1e7cea[_0x3de6fb(0x202)])==null?void 0x0:_0x3b27af[_0x3de6fb(0x32b)](_0x1e7cea,_0xf83bd8);},_0x5891cc[_0x5bbb64(0x37e)]=_0x20cdc3=>{var _0xd29f37=_0x5bbb64,_0x4e38c4,_0x5e5454;return(_0x5e5454=(_0x4e38c4=this[_0xd29f37(0x1d4)])==null?void 0x0:_0x4e38c4[_0xd29f37(0x37e)])==null?void 0x0:_0x5e5454[_0xd29f37(0x32b)](_0x4e38c4,_0x20cdc3);},_0x5891cc[_0x5bbb64(0x96)]=_0x4b8a49=>{var _0xfbdcf6=_0x5bbb64,_0xa636d8,_0x4224bc;return(_0x4224bc=(_0xa636d8=this['_handlerCallback'])==null?void 0x0:_0xa636d8[_0xfbdcf6(0x96)])==null?void 0x0:_0x4224bc[_0xfbdcf6(0x32b)](_0xa636d8,_0x4b8a49);},_0x5891cc[_0x5bbb64(0x8a)]=_0x493ca3=>{var _0x46a173=_0x5bbb64,_0x4bd3ca,_0x3dcf55;return(_0x3dcf55=(_0x4bd3ca=this[_0x46a173(0x1d4)])==null?void 0x0:_0x4bd3ca['onSyncEditingCollabCursor'])==null?void 0x0:_0x3dcf55[_0x46a173(0x32b)](_0x4bd3ca,_0x493ca3);},_0x5891cc[_0x5bbb64(0x30a)]=_0x1f4b79=>{var _0x5d3d67=_0x5bbb64,_0x2d06a2,_0x5c5015,_0x13c4ab;if(!((_0x2d06a2=this[_0x5d3d67(0x1d4)])!=null&&_0x2d06a2[_0x5d3d67(0x30a)]))throw new Error(_0x5d3d67(0x115));return(_0x13c4ab=(_0x5c5015=this[_0x5d3d67(0x1d4)])==null?void 0x0:_0x5c5015[_0x5d3d67(0x30a)])==null?void 0x0:_0x13c4ab[_0x5d3d67(0x32b)](_0x5c5015,_0x1f4b79);},_0x5891cc[_0x5bbb64(0x1e9)]=_0x590695=>{var _0x16a31a=_0x5bbb64,_0x2f45f6,_0x3b494a,_0x4893e9;if(!((_0x2f45f6=this[_0x16a31a(0x1d4)])!=null&&_0x2f45f6[_0x16a31a(0x1e9)]))throw new Error(_0x16a31a(0x329));return(_0x4893e9=(_0x3b494a=this[_0x16a31a(0x1d4)])==null?void 0x0:_0x3b494a[_0x16a31a(0x1e9)])==null?void 0x0:_0x4893e9[_0x16a31a(0x32b)](_0x3b494a,_0x590695);},_0x5891cc;}async['_init'](){var _0x205845=_0x72bb68;const _0x2134dd=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x205845(0x2eb)]((_0x30ba54,_0x7da092)=>{var _0x409c86=_0x205845;if(_0x30ba54[_0x409c86(0xcf)]!==_0x558bce['MUTATION']||_0x7da092!=null&&_0x7da092['fromCollab']||_0x7da092!=null&&_0x7da092['onlyLocal']||_0x30ba54['id']===_0x85a4d0['id'])return;const _0x143f43=_0x30ba54[_0x409c86(0x226)];if((_0x143f43==null?void 0x0:_0x143f43[_0x409c86(0x1c6)])!==this['unitID'])return;const _0x5a5b64=_0x30ba54,_0xab4000=this[_0x409c86(0x10f)][_0x409c86(0xe1)]['fetchThroughInterceptors'](this[_0x409c86(0x10f)][_0x409c86(0xe1)][_0x409c86(0x1af)]()[_0x409c86(0x1f6)])([_0x5a5b64],null)||[_0x5a5b64];this[_0x409c86(0x1ed)](_0xab4000[0x0]);})),_0x2134dd;}};St=wt([H(0x3,_0x41311f(_0x4cac68)),H(0x4,_0x41311f(_0x58b918)),H(0x5,_0x41311f(_0x1d4c3f)),H(0x6,_0x41311f(_0x2d82bd)),H(0x7,_0x41311f(ve)),H(0x8,_0x39af9e),H(0x9,_0xe29ee9),H(0xa,_0x10fa9c),H(0xb,_0x3cf774(ht)),H(0xc,_0x3cf774(J))],St);let Et=class extends st{constructor(_0x294640,_0x5a1382,_0x547128,_0x417955,_0x2d9be4,_0x45e39d,_0x23c81d,_0x3ef1ae,_0x553a1a,_0x25fa04,_0x55032,_0x175965,_0x3a7fe1,_0x36ce59){var _0x239c22=_0x72bb68;super(_0x294640,_0x547128,_0x5a1382,_0x417955,_0x2d9be4,_0x45e39d,_0x23c81d,_0x553a1a,_0x25fa04,_0x55032,_0x175965,_0x3a7fe1,_0x36ce59),this['unitID']=_0x294640,this[_0x239c22(0xcf)]=_0x5a1382,this[_0x239c22(0x30e)]=_0x3ef1ae;}[_0x72bb68(0x1bc)](){var _0x128f39=_0x72bb68;const _0x45207a=super[_0x128f39(0x1bc)]();return _0x45207a['onTransformSelections']=_0x26ff8a=>this['_sheetTransformSelectionsService'][_0x128f39(0x82)](_0x26ff8a),_0x45207a;}async['_init'](){var _0x5dbff1=_0x72bb68;const _0x1934ad=await super[_0x5dbff1(0x22d)]();return this['disposeWithMe'](this[_0x5dbff1(0x2b8)][_0x5dbff1(0x2eb)]((_0x4e989e,_0x51e027)=>{var _0x3644d4=_0x5dbff1;if(_0x4e989e[_0x3644d4(0xcf)]!==_0x558bce[_0x3644d4(0xa0)]||_0x51e027!=null&&_0x51e027['fromCollab']||_0x51e027!=null&&_0x51e027['onlyLocal'])return;const _0x547c9a=_0x4e989e[_0x3644d4(0x226)];if((_0x547c9a==null?void 0x0:_0x547c9a[_0x3644d4(0x1c6)])!==this[_0x3644d4(0x211)])return;const _0x28569b=_0x4e989e,_0x5f0be7=this[_0x3644d4(0x10f)][_0x3644d4(0xe1)][_0x3644d4(0x1f2)](this[_0x3644d4(0x10f)][_0x3644d4(0xe1)][_0x3644d4(0x1af)]()[_0x3644d4(0x1f6)])([_0x28569b],null)||[_0x28569b];this['_onLocalMutation'](_0x5f0be7[0x0]);})),_0x1934ad;}};Et=wt([H(0x3,_0x41311f(_0x4cac68)),H(0x4,_0x41311f(_0x58b918)),H(0x5,_0x41311f(_0x1d4c3f)),H(0x6,_0x41311f(_0x2d82bd)),H(0x7,_0x41311f(it)),H(0x8,_0x41311f(ve)),H(0x9,_0x39af9e),H(0xa,_0xe29ee9),H(0xb,_0x10fa9c),H(0xc,_0x3cf774(ht)),H(0xd,_0x3cf774(J))],Et);var Qs=Object[_0x72bb68(0x159)],en=(_0x33a436,_0x210362,_0x140701,_0x1fe764)=>{for(var _0x50c2fc=_0x1fe764>0x1?void 0x0:_0x1fe764?Qs(_0x210362,_0x140701):_0x210362,_0x48c5d9=_0x33a436['length']-0x1,_0x69bf14;_0x48c5d9>=0x0;_0x48c5d9--)(_0x69bf14=_0x33a436[_0x48c5d9])&&(_0x50c2fc=_0x69bf14(_0x50c2fc)||_0x50c2fc);return _0x50c2fc;},Be=(_0x510b,_0x4fa5c8)=>(_0x1a3768,_0x5cf9df)=>_0x4fa5c8(_0x1a3768,_0x5cf9df,_0x510b);let nt=class extends _0x184f79{constructor(_0x45ad10,_0x10272a,_0x48196c,_0x53fa70){var _0x749545=_0x72bb68,_0xa28ecd;super(),N(this,_0x749545(0x1d5),new Map()),N(this,_0x749545(0x2c4),new _0x29e22a()),N(this,_0x749545(0x291),this[_0x749545(0x2c4)][_0x749545(0xdc)]()),(this[_0x749545(0x37c)]=_0x45ad10,this[_0x749545(0x11d)]=_0x10272a,this['_configService']=_0x48196c,this[_0x749545(0xf4)]=_0x53fa70,((_0xa28ecd=this['_configService'][_0x749545(0x1e2)](K))==null?void 0x0:_0xa28ecd[_0x749545(0x1e7)])!==!0x1&&this[_0x749545(0x22d)]());}[_0x72bb68(0x97)](){var _0x13e67b=_0x72bb68;super[_0x13e67b(0x97)](),this[_0x13e67b(0x1d5)][_0x13e67b(0x16a)](_0x46244a=>_0x46244a[_0x13e67b(0x97)]()),this[_0x13e67b(0x1d5)][_0x13e67b(0x318)]();}[_0x72bb68(0xfa)](_0x3e09ff){var _0x243d97=_0x72bb68,_0x2e1461;return(_0x2e1461=this[_0x243d97(0x1d5)][_0x243d97(0x283)](_0x3e09ff))!=null?_0x2e1461:null;}[_0x72bb68(0x2c8)](_0x44a8e4){var _0x2c35e8=_0x72bb68;const _0x296ad3=this[_0x2c35e8(0xfa)](_0x44a8e4);return _0x296ad3?_0x283c2a(_0x296ad3):this['_entityInit$'][_0x2c35e8(0x2ea)](_0x3f4fbb(_0x28bec5=>_0x28bec5[_0x2c35e8(0x211)]===_0x44a8e4));}[_0x72bb68(0x2ac)](_0x38830a){var _0x493d7d=_0x72bb68;return _0x23659e(this[_0x493d7d(0x2c8)](_0x38830a)['pipe'](_0x6504cb(()=>{})));}[_0x72bb68(0x22d)](){var _0x4758aa=_0x72bb68;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x20b46e[_0x4758aa(0x9d)])[_0x4758aa(0x2ea)](_0x476de2(this[_0x4758aa(0x17a)]),_0x4b23c7(0x10))[_0x4758aa(0x7d)](async _0x47e83c=>{var _0x222c3a=_0x4758aa;const _0x214656=_0x47e83c[_0x222c3a(0x2a0)](),_0x275276=await this['_startCollaboration'](_0x214656,Z[_0x222c3a(0x9d)]);this['_entities']['set'](_0x214656,_0x275276);}),this[_0x4758aa(0xf4)][_0x4758aa(0x356)](_0x20b46e[_0x4758aa(0x357)])[_0x4758aa(0x2ea)](_0x476de2(this['dispose$']),_0x4b23c7(0x10))[_0x4758aa(0x2ea)](_0x3f4fbb(_0x50fbf5=>!_0x50fbf5[_0x4758aa(0x2a0)]()[_0x4758aa(0xce)]('__')))[_0x4758aa(0x7d)](async _0x4fc3a0=>{var _0x24caaa=_0x4758aa;const _0x4d68d9=_0x4fc3a0['getUnitId'](),_0x51d04c=await this[_0x24caaa(0x16d)](_0x4d68d9,Z[_0x24caaa(0x357)]);this[_0x24caaa(0x1d5)][_0x24caaa(0x1c2)](_0x4d68d9,_0x51d04c);}),_0x2cf726(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x20b46e[_0x4758aa(0x9d)]),this['_univerInstanceService'][_0x4758aa(0x2cc)](_0x20b46e[_0x4758aa(0x357)]))['pipe'](_0x476de2(this[_0x4758aa(0x17a)]))['subscribe'](_0x201fed=>{var _0x332f3c=_0x4758aa;const _0x4fe8df=_0x201fed['getUnitId'](),_0x34f1e6=this[_0x332f3c(0x1d5)]['get'](_0x4fe8df);_0x34f1e6&&(_0x34f1e6[_0x332f3c(0x97)](),this[_0x332f3c(0x1d5)][_0x332f3c(0x1d8)](_0x4fe8df));});}async[_0x72bb68(0x16d)](_0x4f54dd,_0x4ec802){var _0x19ae09=_0x72bb68;const _0x1cb2a3=await this['_collabSessionService'][_0x19ae09(0xbe)](_0x4f54dd),_0x10a316=this[_0x19ae09(0x37c)][_0x19ae09(0x20d)](this[_0x19ae09(0x1ba)](_0x4ec802),_0x4f54dd,_0x4ec802,_0x1cb2a3);return await _0x10a316[_0x19ae09(0x1c9)](),this[_0x19ae09(0x2c4)][_0x19ae09(0x173)](_0x10a316),_0x10a316;}[_0x72bb68(0x1ba)](_0x2b1b4c){var _0x29e8ae=_0x72bb68;switch(_0x2b1b4c){case Z[_0x29e8ae(0x357)]:return St;case Z[_0x29e8ae(0x9d)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2b1b4c);}}};nt=en([Be(0x0,_0x41311f(_0x4cac68)),Be(0x1,_0x41311f(Le)),Be(0x2,_0x19233d),Be(0x3,_0x4aee63)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0xb29f7,_0x43de42,_0xeb485a,_0x2fe992)=>{var _0x30f64c=_0x72bb68;for(var _0x1167d5=_0x2fe992>0x1?void 0x0:_0x2fe992?tn(_0x43de42,_0xeb485a):_0x43de42,_0x3cf431=_0xb29f7[_0x30f64c(0x182)]-0x1,_0x413488;_0x3cf431>=0x0;_0x3cf431--)(_0x413488=_0xb29f7[_0x3cf431])&&(_0x1167d5=_0x413488(_0x1167d5)||_0x1167d5);return _0x1167d5;},Yt=(_0x5c06ef,_0x1ca640)=>(_0x244439,_0x32cc33)=>_0x1ca640(_0x244439,_0x32cc33,_0x5c06ef);const nn=_0x72bb68(0x1a7),rn=_0x72bb68(0x1c5);let It=class extends _0x3b479f{constructor(_0x4c952f,_0x396ebf){var _0x5090fe=_0x72bb68;super(),this[_0x5090fe(0xf4)]=_0x4c952f,this['_configService']=_0x396ebf,this[_0x5090fe(0x22d)]();}['_init'](){var _0x177d21=_0x72bb68;this[_0x177d21(0x2c3)](this[_0x177d21(0xf4)]['focused$'][_0x177d21(0x7d)](()=>{var _0x27b351=_0x177d21,_0x3c1699;const _0x5d1a23=this['_univerInstanceService'][_0x27b351(0x15f)]();let _0x34161e=(_0x3c1699=this[_0x27b351(0x184)]['getConfig'](nn))!=null?_0x3c1699:rn;_0x5d1a23 instanceof _0x4599fd&&(_0x34161e=_0x5d1a23[_0x27b351(0x144)]),document['title']=_0x34161e;}));}};It=sn([Yt(0x0,_0x4aee63),Yt(0x1,_0x19233d)],It);var an=Object[_0x72bb68(0x159)],on=(_0x3adab5,_0x891841,_0x1c8385,_0xd5406a)=>{for(var _0x4f8447=_0xd5406a>0x1?void 0x0:_0xd5406a?an(_0x891841,_0x1c8385):_0x891841,_0x3a76b5=_0x3adab5['length']-0x1,_0x668059;_0x3a76b5>=0x0;_0x3a76b5--)(_0x668059=_0x3adab5[_0x3a76b5])&&(_0x4f8447=_0x668059(_0x4f8447)||_0x4f8447);return _0x4f8447;},dt=(_0x192c44,_0x1110e0)=>(_0x5056a7,_0x28a32c)=>_0x1110e0(_0x5056a7,_0x28a32c,_0x192c44);let rt=class{constructor(_0xac9dad,_0x1b9f8c,_0x222779){var _0x3c2fe0=_0x72bb68;this['_configService']=_0xac9dad,this[_0x3c2fe0(0x367)]=_0x1b9f8c,this['localeService']=_0x222779,this[_0x3c2fe0(0x1c9)]();}[_0x72bb68(0x1c9)](){var _0x5d6bc8=_0x72bb68;this[_0x5d6bc8(0x367)][_0x5d6bc8(0x147)]({'priority':0x1,'interceptor':(_0x20a3ac,_0x1754e7)=>_0x1754e7(_0x20a3ac)[_0x5d6bc8(0x2ea)](_0x5a191d(async _0x397a31=>{var _0x377b3a=_0x5d6bc8;const _0x39a644=_0x397a31;if(_0x39a644['status']===0x191){if(typeof window>'u')throw new Error(_0x377b3a(0x23d));if(window['confirm'](this['localeService']['t'](_0x377b3a(0x1b6)))){const _0x245ff2=window[_0x377b3a(0x1dd)](window[_0x377b3a(0x262)]['href']);window[_0x377b3a(0x262)][_0x377b3a(0x260)]=this[_0x377b3a(0xcb)]()+'?url='+_0x245ff2;}}return _0x39a644;}))});}[_0x72bb68(0xcb)](){var _0xcda974=_0x72bb68,_0x4e4708,_0x22cc67;const _0x42babf=this[_0xcda974(0x184)][_0xcda974(0x1e2)](ys),_0xdfabb3=this[_0xcda974(0x184)][_0xcda974(0x1e2)](K);return(_0x22cc67=(_0x4e4708=_0xdfabb3==null?void 0x0:_0xdfabb3[_0xcda974(0x24b)])!=null?_0x4e4708:_0x42babf)!=null?_0x22cc67:Ns;}};rt=on([dt(0x0,_0x19233d),dt(0x1,_0x41311f(_0x4fe417)),dt(0x2,_0x41311f(_0x1d4c3f))],rt);var cn=Object[_0x72bb68(0x159)],hn=(_0x44dc3b,_0x166956,_0x1945eb,_0x2fb1d3)=>{var _0x398495=_0x72bb68;for(var _0x505546=_0x2fb1d3>0x1?void 0x0:_0x2fb1d3?cn(_0x166956,_0x1945eb):_0x166956,_0x45b282=_0x44dc3b[_0x398495(0x182)]-0x1,_0x87cbb4;_0x45b282>=0x0;_0x45b282--)(_0x87cbb4=_0x44dc3b[_0x45b282])&&(_0x505546=_0x87cbb4(_0x505546)||_0x505546);return _0x505546;},Kt=(_0x40d002,_0xc1428a)=>(_0x1fb39f,_0x1c96f7)=>_0xc1428a(_0x1fb39f,_0x1c96f7,_0x40d002);const bi=_0x72bb68(0x2b4),_n='/universer-api/authz';let Tt=class extends _0x3b479f{constructor(_0x85c085,_0x385dcf){var _0x1e8843=_0x72bb68;super(),this[_0x1e8843(0x31d)]=_0x85c085,this['_configService']=_0x385dcf,this[_0x1e8843(0x361)]();}[_0x72bb68(0x361)](){var _0x23e120=_0x72bb68;const _0x173fac=this;this[_0x23e120(0x2c3)](this[_0x23e120(0x31d)][_0x23e120(0x147)]({'priority':0x3e7,'interceptor':_0x1c2a31({'isMatch'(_0x33da8b){var _0x369678=_0x23e120,_0x361946;if(_0x33da8b[_0x369678(0x23c)]===_0x369678(0x2ca)&&((_0x361946=_0x33da8b['requestParams'])!=null&&_0x361946[_0x369678(0x29f)])){const {objectID:_0x431420,objectType:_0x121209}=_0x33da8b[_0x369678(0x245)][_0x369678(0x29f)]||{};if(!_0x431420||_0x121209===void 0x0)return!0x1;const _0x11e72e=_0x173fac[_0x369678(0xc1)]()+'/'+_0x121209+_0x369678(0x1e0)+_0x431420+_0x369678(0x155);if(_0x33da8b['url']===_0x11e72e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1fd564){var _0x264ff0=_0x23e120,_0x903c76;return(_0x903c76=_0x1fd564[_0x264ff0(0x245)])==null?void 0x0:_0x903c76[_0x264ff0(0x29f)];},'mergeParamsToRequest'(_0x35f2ba,_0x56f2c2){var _0x13c8f4=_0x23e120;const _0x491b4d=_0x173fac['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x4ce25a=_0x35f2ba[_0x13c8f4(0x338)]((_0x1cb622,_0x4e7b6c)=>{var _0x4302f8=_0x13c8f4;const {unitID:_0x2ed250,objectID:_0x4d5e84,objectType:_0x6f5a79,actions:_0x48abc5}=_0x4e7b6c;return _0x1cb622[_0x2ed250]||(_0x1cb622[_0x2ed250]={}),_0x1cb622[_0x2ed250][_0x4d5e84]||(_0x1cb622[_0x2ed250][_0x4d5e84]={'objectID':_0x4d5e84,'objectType':_0x6f5a79,'actions':[]}),_0x1cb622[_0x2ed250][_0x4d5e84][_0x4302f8(0xc2)][_0x4302f8(0xe7)](..._0x48abc5),_0x1cb622;},{}),_0x13f449=[];for(const _0x537e89 in _0x4ce25a)for(const _0x1b0d1d in _0x4ce25a[_0x537e89]){const {actions:_0x3e5705,objectType:_0x5d3e1a}=_0x4ce25a[_0x537e89][_0x1b0d1d],_0x354c44=[...new Set(_0x3e5705)];_0x13f449[_0x13c8f4(0xe7)]({'unitID':_0x537e89,'objectID':_0x1b0d1d,'objectType':_0x5d3e1a,'actions':_0x354c44});}return new _0x14ac51(_0x13c8f4(0x2ca),_0x491b4d,{'headers':_0x56f2c2[_0x13c8f4(0x1bb)],'withCredentials':_0x56f2c2[_0x13c8f4(0x125)],'responseType':_0x56f2c2['responseType'],'body':{'requests':_0x13f449}});}},{'distributeResult'(_0x5da009,_0x38af48){var _0x2ecdb4=_0x23e120;const {objectActions:_0x517758}=_0x5da009;return _0x38af48[_0x2ecdb4(0x374)](_0x4ab2cb=>{var _0x38ae93=_0x2ecdb4;const {unitID:_0x339afa,objectID:_0x4b4d65,actions:_0x1afc6f}=_0x4ab2cb,_0x27bb5b=_0x517758['find'](_0x3f068d=>_0x3f068d[_0x38ae93(0x211)]===_0x339afa&&_0x3f068d['objectID']===_0x4b4d65),_0x2d1fd7=_0x1afc6f[_0x38ae93(0x374)](_0x44fd73=>_0x27bb5b==null?void 0x0:_0x27bb5b[_0x38ae93(0xc2)]['find'](_0xedee4b=>_0xedee4b['action']===_0x44fd73))[_0x38ae93(0xa5)](_0x5280d7=>!!_0x5280d7);return{'config':_0x4ab2cb,'result':{'actions':_0x2d1fd7,'error':_0x5da009[_0x38ae93(0x32f)]}};});}})}));}[_0x72bb68(0xc1)](){var _0x3f636c=_0x72bb68,_0x2ffdf9,_0x4d0758;const _0x180100=this['_configService'][_0x3f636c(0x1e2)](bi),_0x1e58b9=this[_0x3f636c(0x184)][_0x3f636c(0x1e2)](K);return(_0x4d0758=(_0x2ffdf9=_0x1e58b9==null?void 0x0:_0x1e58b9[_0x3f636c(0x32c)])!=null?_0x2ffdf9:_0x180100)!=null?_0x4d0758:_n;}async[_0x72bb68(0x9a)](_0x1b21e5){var _0x1ea990=_0x72bb68;const _0x557b5a=this[_0x1ea990(0xc1)]()+'/'+_0x1b21e5['objectType']+_0x1ea990(0x31c);return(await this[_0x1ea990(0x31d)][_0x1ea990(0x34f)](_0x557b5a,{'body':_0x1b21e5}))['body'][_0x1ea990(0x2f1)]||'';}async[_0x72bb68(0x2b0)](_0xc0e335){var _0x2bc925=_0x72bb68;const _0x59cd75=this['_getAPIPrefixPath']()+_0x2bc925(0x2d8);return(await this[_0x2bc925(0x31d)]['post'](_0x59cd75,{'body':_0xc0e335}))[_0x2bc925(0x29f)][_0x2bc925(0x1b5)];}async[_0x72bb68(0x1dc)](_0x457748){var _0x5047f8=_0x72bb68,_0x5c25dc,_0x5ab0ae;const _0x56d8c6=this[_0x5047f8(0xc1)]()+'/'+_0x457748[_0x5047f8(0x320)]+_0x5047f8(0x1e0)+_0x457748[_0x5047f8(0x2f1)],_0x2f5b9e=await this[_0x5047f8(0x31d)][_0x5047f8(0x32e)](_0x56d8c6,{'body':_0x457748});if(((_0x5ab0ae=(_0x5c25dc=_0x2f5b9e==null?void 0x0:_0x2f5b9e['body'])==null?void 0x0:_0x5c25dc['error'])==null?void 0x0:_0x5ab0ae[_0x5047f8(0x365)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x72bb68(0x191)](_0x1fb846){var _0x4b4919=_0x72bb68;const _0x2a0888=this['_getAPIPrefixPath']()+'/'+_0x1fb846[_0x4b4919(0x320)]+_0x4b4919(0x1e0)+_0x1fb846['objectID']+'/allowed';return(await this[_0x4b4919(0x31d)][_0x4b4919(0x34f)](_0x2a0888,{'body':_0x1fb846}))[_0x4b4919(0x29f)]['actions'];}async['batchAllowed'](_0x3538a4){var _0xfe710d=_0x72bb68;const _0xca695f=this[_0xfe710d(0xc1)]()+'/-/object/-/batch_allowed';return(await this[_0xfe710d(0x31d)][_0xfe710d(0x34f)](_0xca695f,{'body':{'requests':_0x3538a4}}))[_0xfe710d(0x29f)][_0xfe710d(0x239)];}async[_0x72bb68(0xac)](_0x2ca371){var _0x5b1120=_0x72bb68;const _0x381256=this[_0x5b1120(0xc1)]()+'/'+_0x2ca371[_0x5b1120(0x320)]+_0x5b1120(0x212),_0x4cf7b7=await this[_0x5b1120(0x31d)][_0x5b1120(0x34f)](_0x381256,{'body':_0x2ca371});return{'roles':_0x4cf7b7[_0x5b1120(0x29f)]['roles'],'actions':_0x4cf7b7[_0x5b1120(0x29f)][_0x5b1120(0xc2)]};}async[_0x72bb68(0x347)](_0x1754e0){var _0x2371b7=_0x72bb68;const _0x17810d=this[_0x2371b7(0xc1)]()+_0x2371b7(0x322);await this[_0x2371b7(0x31d)]['delete'](_0x17810d,{'params':{'collaboratorID':_0x1754e0[_0x2371b7(0x22b)],'objectID':_0x1754e0['objectID'],'unitID':_0x1754e0[_0x2371b7(0x211)]}});}async[_0x72bb68(0x383)](_0x1c0e3a){var _0x139e59=_0x72bb68;const _0xca54e8=this[_0x139e59(0xc1)]()+'/collaborator';await this[_0x139e59(0x31d)]['patch'](_0xca54e8,{'body':_0x1c0e3a});}async[_0x72bb68(0x306)](_0x4547cc){var _0x3e70c2=_0x72bb68;const _0x12880f=this[_0x3e70c2(0xc1)]()+'/collaborator';await this['_HTTPService'][_0x3e70c2(0x34f)](_0x12880f,{'body':_0x4547cc});}async['listCollaborators'](_0x480f9d){var _0x3770aa=_0x72bb68;const _0x5a1ecd=this[_0x3770aa(0xc1)]()+_0x3770aa(0x322);return(await this['_HTTPService'][_0x3770aa(0x283)](_0x5a1ecd,{'params':{'objectID':_0x480f9d['objectID'],'unitID':_0x480f9d[_0x3770aa(0x211)]}}))['body'][_0x3770aa(0x25d)];}async['putCollaborators'](_0xf7d7d5){var _0x659f5d=_0x72bb68;const _0x28e956=this['_getAPIPrefixPath']()+_0x659f5d(0x322);await this[_0x659f5d(0x31d)][_0x659f5d(0x32e)](_0x28e956,{'body':_0xf7d7d5});}};Tt=hn([Kt(0x0,_0x41311f(_0x4fe417)),Kt(0x1,_0x41311f(_0x19233d))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x1dc90c){var _0x46ba97=_0x72bb68;return _0x1dc90c&&_0x1dc90c[_0x46ba97(0x1f5)]&&Object['prototype'][_0x46ba97(0x15c)]['call'](_0x1dc90c,_0x46ba97(0x332))?_0x1dc90c[_0x46ba97(0x332)]:_0x1dc90c;}var Ve={'exports':{}};function _0x3e8b(_0x31c652,_0x9feff1){var _0x3795ef=_0x3795();return _0x3e8b=function(_0x3e8bdf,_0x248324){_0x3e8bdf=_0x3e8bdf-0x7d;var _0xd7a3b6=_0x3795ef[_0x3e8bdf];return _0xd7a3b6;},_0x3e8b(_0x31c652,_0x9feff1);}function ln(_0x1f740a){var _0x26e5a8=_0x72bb68;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1f740a+_0x26e5a8(0x10a));}var Ge={'exports':{}},un=Ge[_0x72bb68(0x271)],qt;function te(){var _0x1c4aa6=_0x72bb68;return qt||(qt=0x1,function(_0x51259a,_0xde900f){(function(_0x77b026,_0xe65196){var _0x2e87ea=_0x3e8b;_0x51259a[_0x2e87ea(0x271)]=_0xe65196();}(un,function(){var _0x4176b8=_0x4176b8||function(_0x55eb8c,_0x430905){var _0x3d3811=_0x3e8b,_0x1a115a;if(typeof window<'u'&&window[_0x3d3811(0x344)]&&(_0x1a115a=window[_0x3d3811(0x344)]),typeof self<'u'&&self[_0x3d3811(0x344)]&&(_0x1a115a=self['crypto']),typeof globalThis<'u'&&globalThis[_0x3d3811(0x344)]&&(_0x1a115a=globalThis[_0x3d3811(0x344)]),!_0x1a115a&&typeof window<'u'&&window[_0x3d3811(0x2ed)]&&(_0x1a115a=window[_0x3d3811(0x2ed)]),!_0x1a115a&&typeof ft<'u'&&ft['crypto']&&(_0x1a115a=ft[_0x3d3811(0x344)]),!_0x1a115a&&typeof ln==_0x3d3811(0x309))try{_0x1a115a=require(_0x3d3811(0x344));}catch{}var _0x50c706=function(){var _0x37d54e=_0x3d3811;if(_0x1a115a){if(typeof _0x1a115a[_0x37d54e(0x1e8)]==_0x37d54e(0x309))try{return _0x1a115a[_0x37d54e(0x1e8)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1a115a[_0x37d54e(0x2f2)]==_0x37d54e(0x309))try{return _0x1a115a[_0x37d54e(0x2f2)](0x4)[_0x37d54e(0x285)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x77370e=Object['create']||(function(){function _0x380358(){}return function(_0x2aee89){var _0x5df1cc=_0x3e8b,_0x2e1c26;return _0x380358[_0x5df1cc(0x1b8)]=_0x2aee89,_0x2e1c26=new _0x380358(),_0x380358['prototype']=null,_0x2e1c26;};}()),_0x33c331={},_0x792004=_0x33c331['lib']={},_0x5bcf2e=_0x792004[_0x3d3811(0x2e9)]=(function(){return{'extend':function(_0x5d6613){var _0x8752c8=_0x3e8b,_0x356d57=_0x77370e(this);return _0x5d6613&&_0x356d57['mixIn'](_0x5d6613),(!_0x356d57[_0x8752c8(0x15c)](_0x8752c8(0x1c9))||this['init']===_0x356d57[_0x8752c8(0x1c9)])&&(_0x356d57[_0x8752c8(0x1c9)]=function(){var _0x34f0bd=_0x8752c8;_0x356d57[_0x34f0bd(0x228)][_0x34f0bd(0x1c9)]['apply'](this,arguments);}),_0x356d57['init'][_0x8752c8(0x1b8)]=_0x356d57,_0x356d57[_0x8752c8(0x228)]=this,_0x356d57;},'create':function(){var _0x373197=_0x3e8b,_0x7e0c84=this[_0x373197(0x1d9)]();return _0x7e0c84[_0x373197(0x1c9)][_0x373197(0x1cf)](_0x7e0c84,arguments),_0x7e0c84;},'init':function(){},'mixIn':function(_0x367ea6){var _0x288032=_0x3e8b;for(var _0xafc5dc in _0x367ea6)_0x367ea6[_0x288032(0x15c)](_0xafc5dc)&&(this[_0xafc5dc]=_0x367ea6[_0xafc5dc]);_0x367ea6['hasOwnProperty'](_0x288032(0x167))&&(this['toString']=_0x367ea6['toString']);},'clone':function(){var _0x96572b=_0x3e8b;return this['init'][_0x96572b(0x1b8)][_0x96572b(0x1d9)](this);}};}()),_0x2de1f9=_0x792004[_0x3d3811(0x24a)]=_0x5bcf2e[_0x3d3811(0x1d9)]({'init':function(_0x5c2822,_0x394e03){var _0x279761=_0x3d3811;_0x5c2822=this[_0x279761(0xd1)]=_0x5c2822||[],_0x394e03!=_0x430905?this[_0x279761(0x25f)]=_0x394e03:this[_0x279761(0x25f)]=_0x5c2822['length']*0x4;},'toString':function(_0x2efedb){return(_0x2efedb||_0x40627d)['stringify'](this);},'concat':function(_0x2ae243){var _0x46a840=_0x3d3811,_0x33ba19=this['words'],_0x3a9b0e=_0x2ae243[_0x46a840(0xd1)],_0x2369b1=this[_0x46a840(0x25f)],_0x55436e=_0x2ae243[_0x46a840(0x25f)];if(this[_0x46a840(0x319)](),_0x2369b1%0x4)for(var _0x53249c=0x0;_0x53249c<_0x55436e;_0x53249c++){var _0x1073bc=_0x3a9b0e[_0x53249c>>>0x2]>>>0x18-_0x53249c%0x4*0x8&0xff;_0x33ba19[_0x2369b1+_0x53249c>>>0x2]|=_0x1073bc<<0x18-(_0x2369b1+_0x53249c)%0x4*0x8;}else{for(var _0x562748=0x0;_0x562748<_0x55436e;_0x562748+=0x4)_0x33ba19[_0x2369b1+_0x562748>>>0x2]=_0x3a9b0e[_0x562748>>>0x2];}return this[_0x46a840(0x25f)]+=_0x55436e,this;},'clamp':function(){var _0x35f563=_0x3d3811,_0x4d5819=this[_0x35f563(0xd1)],_0x158d1c=this[_0x35f563(0x25f)];_0x4d5819[_0x158d1c>>>0x2]&=0xffffffff<<0x20-_0x158d1c%0x4*0x8,_0x4d5819[_0x35f563(0x182)]=_0x55eb8c[_0x35f563(0x117)](_0x158d1c/0x4);},'clone':function(){var _0x5b00ff=_0x3d3811,_0x3f7c86=_0x5bcf2e[_0x5b00ff(0x339)][_0x5b00ff(0x32b)](this);return _0x3f7c86[_0x5b00ff(0xd1)]=this[_0x5b00ff(0xd1)][_0x5b00ff(0xb9)](0x0),_0x3f7c86;},'random':function(_0x41dcab){var _0x28f013=_0x3d3811;for(var _0x4687d6=[],_0x9295d4=0x0;_0x9295d4<_0x41dcab;_0x9295d4+=0x4)_0x4687d6[_0x28f013(0xe7)](_0x50c706());return new _0x2de1f9['init'](_0x4687d6,_0x41dcab);}}),_0x277051=_0x33c331[_0x3d3811(0x122)]={},_0x40627d=_0x277051[_0x3d3811(0x321)]={'stringify':function(_0x55653a){var _0x54a929=_0x3d3811;for(var _0x5bc84d=_0x55653a[_0x54a929(0xd1)],_0x3f3865=_0x55653a['sigBytes'],_0x49f87d=[],_0x384c11=0x0;_0x384c11<_0x3f3865;_0x384c11++){var _0x2c88dc=_0x5bc84d[_0x384c11>>>0x2]>>>0x18-_0x384c11%0x4*0x8&0xff;_0x49f87d[_0x54a929(0xe7)]((_0x2c88dc>>>0x4)[_0x54a929(0x167)](0x10)),_0x49f87d[_0x54a929(0xe7)]((_0x2c88dc&0xf)[_0x54a929(0x167)](0x10));}return _0x49f87d[_0x54a929(0x351)]('');},'parse':function(_0x583bb0){var _0x48cae3=_0x3d3811;for(var _0x40a092=_0x583bb0['length'],_0x1aec1d=[],_0x4f1d4e=0x0;_0x4f1d4e<_0x40a092;_0x4f1d4e+=0x2)_0x1aec1d[_0x4f1d4e>>>0x3]|=parseInt(_0x583bb0[_0x48cae3(0xdb)](_0x4f1d4e,0x2),0x10)<<0x18-_0x4f1d4e%0x8*0x4;return new _0x2de1f9[(_0x48cae3(0x1c9))](_0x1aec1d,_0x40a092/0x2);}},_0x16e967=_0x277051[_0x3d3811(0x23e)]={'stringify':function(_0x1169b0){var _0x77f324=_0x3d3811;for(var _0x554e7e=_0x1169b0[_0x77f324(0xd1)],_0x1fa9ac=_0x1169b0[_0x77f324(0x25f)],_0x525655=[],_0x491228=0x0;_0x491228<_0x1fa9ac;_0x491228++){var _0xd46713=_0x554e7e[_0x491228>>>0x2]>>>0x18-_0x491228%0x4*0x8&0xff;_0x525655[_0x77f324(0xe7)](String[_0x77f324(0x136)](_0xd46713));}return _0x525655['join']('');},'parse':function(_0x401ca9){for(var _0x24a61b=_0x401ca9['length'],_0x50af9c=[],_0x2a6327=0x0;_0x2a6327<_0x24a61b;_0x2a6327++)_0x50af9c[_0x2a6327>>>0x2]|=(_0x401ca9['charCodeAt'](_0x2a6327)&0xff)<<0x18-_0x2a6327%0x4*0x8;return new _0x2de1f9['init'](_0x50af9c,_0x24a61b);}},_0x96fa24=_0x277051[_0x3d3811(0x2d2)]={'stringify':function(_0x59faca){var _0x21fc15=_0x3d3811;try{return decodeURIComponent(escape(_0x16e967[_0x21fc15(0x384)](_0x59faca)));}catch{throw new Error(_0x21fc15(0x170));}},'parse':function(_0x3cb8b6){return _0x16e967['parse'](unescape(encodeURIComponent(_0x3cb8b6)));}},_0x27b41c=_0x792004['BufferedBlockAlgorithm']=_0x5bcf2e[_0x3d3811(0x1d9)]({'reset':function(){var _0x3c5b5d=_0x3d3811;this['_data']=new _0x2de1f9[(_0x3c5b5d(0x1c9))](),this[_0x3c5b5d(0x89)]=0x0;},'_append':function(_0x1cafbf){var _0x1dfa9e=_0x3d3811;typeof _0x1cafbf==_0x1dfa9e(0x2bb)&&(_0x1cafbf=_0x96fa24[_0x1dfa9e(0x12b)](_0x1cafbf)),this['_data'][_0x1dfa9e(0x286)](_0x1cafbf),this[_0x1dfa9e(0x89)]+=_0x1cafbf[_0x1dfa9e(0x25f)];},'_process':function(_0x4a589d){var _0x317502=_0x3d3811,_0x5d81fc,_0x51a760=this[_0x317502(0x119)],_0x1f5c7b=_0x51a760[_0x317502(0xd1)],_0x19aa50=_0x51a760[_0x317502(0x25f)],_0x1578d6=this['blockSize'],_0x40eb34=_0x1578d6*0x4,_0x1acbe7=_0x19aa50/_0x40eb34;_0x4a589d?_0x1acbe7=_0x55eb8c[_0x317502(0x117)](_0x1acbe7):_0x1acbe7=_0x55eb8c[_0x317502(0x235)]((_0x1acbe7|0x0)-this[_0x317502(0x163)],0x0);var _0x3ea54b=_0x1acbe7*_0x1578d6,_0x1d1da2=_0x55eb8c[_0x317502(0x2ab)](_0x3ea54b*0x4,_0x19aa50);if(_0x3ea54b){for(var _0x46a6f6=0x0;_0x46a6f6<_0x3ea54b;_0x46a6f6+=_0x1578d6)this[_0x317502(0x20f)](_0x1f5c7b,_0x46a6f6);_0x5d81fc=_0x1f5c7b['splice'](0x0,_0x3ea54b),_0x51a760[_0x317502(0x25f)]-=_0x1d1da2;}return new _0x2de1f9['init'](_0x5d81fc,_0x1d1da2);},'clone':function(){var _0xd7a86a=_0x3d3811,_0x1d2cd2=_0x5bcf2e[_0xd7a86a(0x339)][_0xd7a86a(0x32b)](this);return _0x1d2cd2['_data']=this[_0xd7a86a(0x119)][_0xd7a86a(0x339)](),_0x1d2cd2;},'_minBufferSize':0x0});_0x792004[_0x3d3811(0x233)]=_0x27b41c[_0x3d3811(0x1d9)]({'cfg':_0x5bcf2e[_0x3d3811(0x1d9)](),'init':function(_0x241c61){var _0x1b9992=_0x3d3811;this['cfg']=this[_0x1b9992(0xb0)][_0x1b9992(0x1d9)](_0x241c61),this[_0x1b9992(0x138)]();},'reset':function(){var _0x2bc0e7=_0x3d3811;_0x27b41c[_0x2bc0e7(0x138)][_0x2bc0e7(0x32b)](this),this[_0x2bc0e7(0x1c0)]();},'update':function(_0x167785){var _0xf9b58d=_0x3d3811;return this[_0xf9b58d(0x269)](_0x167785),this[_0xf9b58d(0x216)](),this;},'finalize':function(_0x4d448b){var _0x1f8894=_0x3d3811;_0x4d448b&&this[_0x1f8894(0x269)](_0x4d448b);var _0x10ee05=this[_0x1f8894(0x1fc)]();return _0x10ee05;},'blockSize':0x10,'_createHelper':function(_0x1382d0){return function(_0x22bfd2,_0x27c369){var _0x5a3971=_0x3e8b;return new _0x1382d0[(_0x5a3971(0x1c9))](_0x27c369)['finalize'](_0x22bfd2);};},'_createHmacHelper':function(_0x2764e2){return function(_0x4bd726,_0x706ab7){var _0x5d3a7e=_0x3e8b;return new _0x2cb640[(_0x5d3a7e(0xee))][(_0x5d3a7e(0x1c9))](_0x2764e2,_0x706ab7)[_0x5d3a7e(0x1cb)](_0x4bd726);};}});var _0x2cb640=_0x33c331[_0x3d3811(0xaf)]={};return _0x33c331;}(Math);return _0x4176b8;}));}(Ge)),Ge[_0x1c4aa6(0x271)];}var We={'exports':{}},dn=We[_0x72bb68(0x271)],zt;function Oi(){var _0x5415dc=_0x72bb68;return zt||(zt=0x1,function(_0x54d5d8,_0x53691d){(function(_0x2073b0,_0x386225){var _0x190edf=_0x3e8b;_0x54d5d8[_0x190edf(0x271)]=_0x386225(te());}(dn,function(_0x34455){var _0x3dded5=_0x3e8b;return(function(){var _0x2a2a05=_0x3e8b,_0x14ad4c=_0x34455,_0x17f003=_0x14ad4c['lib'],_0x1d4ec3=_0x17f003[_0x2a2a05(0x24a)],_0x51f963=_0x14ad4c[_0x2a2a05(0x122)];_0x51f963[_0x2a2a05(0x1fe)]={'stringify':function(_0x2dd187){var _0x61a542=_0x2a2a05,_0x32a162=_0x2dd187[_0x61a542(0xd1)],_0x159b40=_0x2dd187[_0x61a542(0x25f)],_0x2097f9=this[_0x61a542(0x279)];_0x2dd187['clamp']();for(var _0x2485a7=[],_0x2524cc=0x0;_0x2524cc<_0x159b40;_0x2524cc+=0x3)for(var _0x41ca5e=_0x32a162[_0x2524cc>>>0x2]>>>0x18-_0x2524cc%0x4*0x8&0xff,_0x190500=_0x32a162[_0x2524cc+0x1>>>0x2]>>>0x18-(_0x2524cc+0x1)%0x4*0x8&0xff,_0x3d20de=_0x32a162[_0x2524cc+0x2>>>0x2]>>>0x18-(_0x2524cc+0x2)%0x4*0x8&0xff,_0x26b7fb=_0x41ca5e<<0x10|_0x190500<<0x8|_0x3d20de,_0x582453=0x0;_0x582453<0x4&&_0x2524cc+_0x582453*0.75<_0x159b40;_0x582453++)_0x2485a7[_0x61a542(0xe7)](_0x2097f9[_0x61a542(0x35e)](_0x26b7fb>>>0x6*(0x3-_0x582453)&0x3f));var _0x449b18=_0x2097f9['charAt'](0x40);if(_0x449b18){for(;_0x2485a7[_0x61a542(0x182)]%0x4;)_0x2485a7[_0x61a542(0xe7)](_0x449b18);}return _0x2485a7[_0x61a542(0x351)]('');},'parse':function(_0x4e56cd){var _0xad7497=_0x2a2a05,_0x3fc101=_0x4e56cd[_0xad7497(0x182)],_0x38bfc0=this['_map'],_0x247e14=this[_0xad7497(0x345)];if(!_0x247e14){_0x247e14=this['_reverseMap']=[];for(var _0x10593b=0x0;_0x10593b<_0x38bfc0[_0xad7497(0x182)];_0x10593b++)_0x247e14[_0x38bfc0['charCodeAt'](_0x10593b)]=_0x10593b;}var _0x42927d=_0x38bfc0[_0xad7497(0x35e)](0x40);if(_0x42927d){var _0x277ea3=_0x4e56cd[_0xad7497(0x18d)](_0x42927d);_0x277ea3!==-0x1&&(_0x3fc101=_0x277ea3);}return _0xa7f68c(_0x4e56cd,_0x3fc101,_0x247e14);},'_map':_0x2a2a05(0xd3)};function _0xa7f68c(_0x3ab84e,_0x3a1574,_0x4ebafa){var _0x37a9a1=_0x2a2a05;for(var _0x38aee6=[],_0x506f57=0x0,_0x1ae63d=0x0;_0x1ae63d<_0x3a1574;_0x1ae63d++)if(_0x1ae63d%0x4){var _0x176ef1=_0x4ebafa[_0x3ab84e[_0x37a9a1(0x247)](_0x1ae63d-0x1)]<<_0x1ae63d%0x4*0x2,_0x44c1b0=_0x4ebafa[_0x3ab84e[_0x37a9a1(0x247)](_0x1ae63d)]>>>0x6-_0x1ae63d%0x4*0x2,_0x5d2834=_0x176ef1|_0x44c1b0;_0x38aee6[_0x506f57>>>0x2]|=_0x5d2834<<0x18-_0x506f57%0x4*0x8,_0x506f57++;}return _0x1d4ec3[_0x37a9a1(0x9a)](_0x38aee6,_0x506f57);}}()),_0x34455[_0x3dded5(0x122)][_0x3dded5(0x1fe)];}));}(We)),We[_0x5415dc(0x271)];}var Ye={'exports':{}},fn=Ye['exports'],Jt;function vn(){var _0x35a189=_0x72bb68;return Jt||(Jt=0x1,function(_0x28bb60,_0x3b6323){(function(_0x4642e8,_0x23e730){_0x28bb60['exports']=_0x23e730(te());}(fn,function(_0x47db3d){return function(_0x3bb53e){var _0x2f838f=_0x3e8b,_0x1cfaa9=_0x47db3d,_0x38f7f1=_0x1cfaa9[_0x2f838f(0x177)],_0x156bf9=_0x38f7f1[_0x2f838f(0x24a)],_0x534b2b=_0x38f7f1['Hasher'],_0x41bc74=_0x1cfaa9[_0x2f838f(0xaf)],_0x25f425=[];(function(){var _0x31fdf6=_0x2f838f;for(var _0x3bcdaf=0x0;_0x3bcdaf<0x40;_0x3bcdaf++)_0x25f425[_0x3bcdaf]=_0x3bb53e['abs'](_0x3bb53e[_0x31fdf6(0x354)](_0x3bcdaf+0x1))*0x100000000|0x0;}());var _0x4bb69a=_0x41bc74[_0x2f838f(0x217)]=_0x534b2b[_0x2f838f(0x1d9)]({'_doReset':function(){var _0xe680e9=_0x2f838f;this[_0xe680e9(0x265)]=new _0x156bf9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3ccea4,_0x31485e){var _0x485452=_0x2f838f;for(var _0x125f34=0x0;_0x125f34<0x10;_0x125f34++){var _0x555c64=_0x31485e+_0x125f34,_0x3e60bd=_0x3ccea4[_0x555c64];_0x3ccea4[_0x555c64]=(_0x3e60bd<<0x8|_0x3e60bd>>>0x18)&0xff00ff|(_0x3e60bd<<0x18|_0x3e60bd>>>0x8)&0xff00ff00;}var _0x276bb6=this[_0x485452(0x265)]['words'],_0xbdf117=_0x3ccea4[_0x31485e+0x0],_0x3a322f=_0x3ccea4[_0x31485e+0x1],_0x25a7fe=_0x3ccea4[_0x31485e+0x2],_0x1be69a=_0x3ccea4[_0x31485e+0x3],_0x59892c=_0x3ccea4[_0x31485e+0x4],_0x2ace4e=_0x3ccea4[_0x31485e+0x5],_0x1c53d1=_0x3ccea4[_0x31485e+0x6],_0xfbac6=_0x3ccea4[_0x31485e+0x7],_0x59aba0=_0x3ccea4[_0x31485e+0x8],_0x34904f=_0x3ccea4[_0x31485e+0x9],_0x4d6b90=_0x3ccea4[_0x31485e+0xa],_0x4b8603=_0x3ccea4[_0x31485e+0xb],_0x28d23e=_0x3ccea4[_0x31485e+0xc],_0xd1ea5a=_0x3ccea4[_0x31485e+0xd],_0x5c68cb=_0x3ccea4[_0x31485e+0xe],_0x12ebe4=_0x3ccea4[_0x31485e+0xf],_0x1d9cba=_0x276bb6[0x0],_0x296636=_0x276bb6[0x1],_0x1ac9ff=_0x276bb6[0x2],_0x230c4f=_0x276bb6[0x3];_0x1d9cba=_0x3b1acc(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0xbdf117,0x7,_0x25f425[0x0]),_0x230c4f=_0x3b1acc(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x3a322f,0xc,_0x25f425[0x1]),_0x1ac9ff=_0x3b1acc(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x25a7fe,0x11,_0x25f425[0x2]),_0x296636=_0x3b1acc(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x1be69a,0x16,_0x25f425[0x3]),_0x1d9cba=_0x3b1acc(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x59892c,0x7,_0x25f425[0x4]),_0x230c4f=_0x3b1acc(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x2ace4e,0xc,_0x25f425[0x5]),_0x1ac9ff=_0x3b1acc(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x1c53d1,0x11,_0x25f425[0x6]),_0x296636=_0x3b1acc(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0xfbac6,0x16,_0x25f425[0x7]),_0x1d9cba=_0x3b1acc(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x59aba0,0x7,_0x25f425[0x8]),_0x230c4f=_0x3b1acc(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x34904f,0xc,_0x25f425[0x9]),_0x1ac9ff=_0x3b1acc(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x4d6b90,0x11,_0x25f425[0xa]),_0x296636=_0x3b1acc(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x4b8603,0x16,_0x25f425[0xb]),_0x1d9cba=_0x3b1acc(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x28d23e,0x7,_0x25f425[0xc]),_0x230c4f=_0x3b1acc(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0xd1ea5a,0xc,_0x25f425[0xd]),_0x1ac9ff=_0x3b1acc(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x5c68cb,0x11,_0x25f425[0xe]),_0x296636=_0x3b1acc(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x12ebe4,0x16,_0x25f425[0xf]),_0x1d9cba=_0x37748c(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x3a322f,0x5,_0x25f425[0x10]),_0x230c4f=_0x37748c(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x1c53d1,0x9,_0x25f425[0x11]),_0x1ac9ff=_0x37748c(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x4b8603,0xe,_0x25f425[0x12]),_0x296636=_0x37748c(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0xbdf117,0x14,_0x25f425[0x13]),_0x1d9cba=_0x37748c(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x2ace4e,0x5,_0x25f425[0x14]),_0x230c4f=_0x37748c(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x4d6b90,0x9,_0x25f425[0x15]),_0x1ac9ff=_0x37748c(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x12ebe4,0xe,_0x25f425[0x16]),_0x296636=_0x37748c(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x59892c,0x14,_0x25f425[0x17]),_0x1d9cba=_0x37748c(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x34904f,0x5,_0x25f425[0x18]),_0x230c4f=_0x37748c(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x5c68cb,0x9,_0x25f425[0x19]),_0x1ac9ff=_0x37748c(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x1be69a,0xe,_0x25f425[0x1a]),_0x296636=_0x37748c(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x59aba0,0x14,_0x25f425[0x1b]),_0x1d9cba=_0x37748c(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0xd1ea5a,0x5,_0x25f425[0x1c]),_0x230c4f=_0x37748c(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x25a7fe,0x9,_0x25f425[0x1d]),_0x1ac9ff=_0x37748c(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0xfbac6,0xe,_0x25f425[0x1e]),_0x296636=_0x37748c(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x28d23e,0x14,_0x25f425[0x1f]),_0x1d9cba=_0x4e546d(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x2ace4e,0x4,_0x25f425[0x20]),_0x230c4f=_0x4e546d(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x59aba0,0xb,_0x25f425[0x21]),_0x1ac9ff=_0x4e546d(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x4b8603,0x10,_0x25f425[0x22]),_0x296636=_0x4e546d(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x5c68cb,0x17,_0x25f425[0x23]),_0x1d9cba=_0x4e546d(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x3a322f,0x4,_0x25f425[0x24]),_0x230c4f=_0x4e546d(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x59892c,0xb,_0x25f425[0x25]),_0x1ac9ff=_0x4e546d(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0xfbac6,0x10,_0x25f425[0x26]),_0x296636=_0x4e546d(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x4d6b90,0x17,_0x25f425[0x27]),_0x1d9cba=_0x4e546d(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0xd1ea5a,0x4,_0x25f425[0x28]),_0x230c4f=_0x4e546d(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0xbdf117,0xb,_0x25f425[0x29]),_0x1ac9ff=_0x4e546d(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x1be69a,0x10,_0x25f425[0x2a]),_0x296636=_0x4e546d(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x1c53d1,0x17,_0x25f425[0x2b]),_0x1d9cba=_0x4e546d(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x34904f,0x4,_0x25f425[0x2c]),_0x230c4f=_0x4e546d(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x28d23e,0xb,_0x25f425[0x2d]),_0x1ac9ff=_0x4e546d(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x12ebe4,0x10,_0x25f425[0x2e]),_0x296636=_0x4e546d(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x25a7fe,0x17,_0x25f425[0x2f]),_0x1d9cba=_0x4a3b22(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0xbdf117,0x6,_0x25f425[0x30]),_0x230c4f=_0x4a3b22(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0xfbac6,0xa,_0x25f425[0x31]),_0x1ac9ff=_0x4a3b22(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x5c68cb,0xf,_0x25f425[0x32]),_0x296636=_0x4a3b22(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x2ace4e,0x15,_0x25f425[0x33]),_0x1d9cba=_0x4a3b22(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x28d23e,0x6,_0x25f425[0x34]),_0x230c4f=_0x4a3b22(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x1be69a,0xa,_0x25f425[0x35]),_0x1ac9ff=_0x4a3b22(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x4d6b90,0xf,_0x25f425[0x36]),_0x296636=_0x4a3b22(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x3a322f,0x15,_0x25f425[0x37]),_0x1d9cba=_0x4a3b22(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x59aba0,0x6,_0x25f425[0x38]),_0x230c4f=_0x4a3b22(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x12ebe4,0xa,_0x25f425[0x39]),_0x1ac9ff=_0x4a3b22(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x1c53d1,0xf,_0x25f425[0x3a]),_0x296636=_0x4a3b22(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0xd1ea5a,0x15,_0x25f425[0x3b]),_0x1d9cba=_0x4a3b22(_0x1d9cba,_0x296636,_0x1ac9ff,_0x230c4f,_0x59892c,0x6,_0x25f425[0x3c]),_0x230c4f=_0x4a3b22(_0x230c4f,_0x1d9cba,_0x296636,_0x1ac9ff,_0x4b8603,0xa,_0x25f425[0x3d]),_0x1ac9ff=_0x4a3b22(_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x296636,_0x25a7fe,0xf,_0x25f425[0x3e]),_0x296636=_0x4a3b22(_0x296636,_0x1ac9ff,_0x230c4f,_0x1d9cba,_0x34904f,0x15,_0x25f425[0x3f]),_0x276bb6[0x0]=_0x276bb6[0x0]+_0x1d9cba|0x0,_0x276bb6[0x1]=_0x276bb6[0x1]+_0x296636|0x0,_0x276bb6[0x2]=_0x276bb6[0x2]+_0x1ac9ff|0x0,_0x276bb6[0x3]=_0x276bb6[0x3]+_0x230c4f|0x0;},'_doFinalize':function(){var _0x35a898=_0x2f838f,_0x16400a=this['_data'],_0x518247=_0x16400a[_0x35a898(0xd1)],_0x4a6cc0=this[_0x35a898(0x89)]*0x8,_0xbb792d=_0x16400a['sigBytes']*0x8;_0x518247[_0xbb792d>>>0x5]|=0x80<<0x18-_0xbb792d%0x20;var _0x407d72=_0x3bb53e[_0x35a898(0x230)](_0x4a6cc0/0x100000000),_0x2599c4=_0x4a6cc0;_0x518247[(_0xbb792d+0x40>>>0x9<<0x4)+0xf]=(_0x407d72<<0x8|_0x407d72>>>0x18)&0xff00ff|(_0x407d72<<0x18|_0x407d72>>>0x8)&0xff00ff00,_0x518247[(_0xbb792d+0x40>>>0x9<<0x4)+0xe]=(_0x2599c4<<0x8|_0x2599c4>>>0x18)&0xff00ff|(_0x2599c4<<0x18|_0x2599c4>>>0x8)&0xff00ff00,_0x16400a[_0x35a898(0x25f)]=(_0x518247['length']+0x1)*0x4,this[_0x35a898(0x216)]();for(var _0x56dfaf=this['_hash'],_0x546e27=_0x56dfaf[_0x35a898(0xd1)],_0x166722=0x0;_0x166722<0x4;_0x166722++){var _0x302f74=_0x546e27[_0x166722];_0x546e27[_0x166722]=(_0x302f74<<0x8|_0x302f74>>>0x18)&0xff00ff|(_0x302f74<<0x18|_0x302f74>>>0x8)&0xff00ff00;}return _0x56dfaf;},'clone':function(){var _0x4d4159=_0x2f838f,_0x482fa3=_0x534b2b[_0x4d4159(0x339)][_0x4d4159(0x32b)](this);return _0x482fa3[_0x4d4159(0x265)]=this[_0x4d4159(0x265)][_0x4d4159(0x339)](),_0x482fa3;}});function _0x3b1acc(_0x3204ac,_0x510abf,_0x112d6c,_0x265bce,_0x43d113,_0x423f06,_0xc8f096){var _0x1409f2=_0x3204ac+(_0x510abf&_0x112d6c|~_0x510abf&_0x265bce)+_0x43d113+_0xc8f096;return(_0x1409f2<<_0x423f06|_0x1409f2>>>0x20-_0x423f06)+_0x510abf;}function _0x37748c(_0x46deb7,_0x681893,_0x5afddb,_0xc732a5,_0x16d34f,_0x442be2,_0x35ebed){var _0x42e9aa=_0x46deb7+(_0x681893&_0xc732a5|_0x5afddb&~_0xc732a5)+_0x16d34f+_0x35ebed;return(_0x42e9aa<<_0x442be2|_0x42e9aa>>>0x20-_0x442be2)+_0x681893;}function _0x4e546d(_0x3e9171,_0x4fa17c,_0x386ca7,_0x499a85,_0x2f81d4,_0x524f09,_0x2eb584){var _0x45374f=_0x3e9171+(_0x4fa17c^_0x386ca7^_0x499a85)+_0x2f81d4+_0x2eb584;return(_0x45374f<<_0x524f09|_0x45374f>>>0x20-_0x524f09)+_0x4fa17c;}function _0x4a3b22(_0x2adec9,_0x49ea78,_0x38eaf5,_0x1f1c60,_0x5a22cb,_0x31b025,_0x24e75d){var _0x20e73e=_0x2adec9+(_0x38eaf5^(_0x49ea78|~_0x1f1c60))+_0x5a22cb+_0x24e75d;return(_0x20e73e<<_0x31b025|_0x20e73e>>>0x20-_0x31b025)+_0x49ea78;}_0x1cfaa9['MD5']=_0x534b2b[_0x2f838f(0x317)](_0x4bb69a),_0x1cfaa9[_0x2f838f(0x2f7)]=_0x534b2b['_createHmacHelper'](_0x4bb69a);}(Math),_0x47db3d['MD5'];}));}(Ye)),Ye[_0x35a189(0x271)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x72bb68(0x271)],Xt;function mn(){var _0x429e0a=_0x72bb68;return Xt||(Xt=0x1,function(_0x31a19a,_0x406e17){(function(_0x411057,_0x4c65c6){_0x31a19a['exports']=_0x4c65c6(te());}(pn,function(_0x3a6cd5){var _0x154800=_0x3e8b;return(function(){var _0x5c1803=_0x3e8b,_0x514945=_0x3a6cd5,_0x25290f=_0x514945[_0x5c1803(0x177)],_0x213cb4=_0x25290f[_0x5c1803(0x24a)],_0x2bc02e=_0x25290f['Hasher'],_0x289808=_0x514945[_0x5c1803(0xaf)],_0x161cdf=[],_0x2fdfe0=_0x289808[_0x5c1803(0xd0)]=_0x2bc02e[_0x5c1803(0x1d9)]({'_doReset':function(){var _0x5e4e76=_0x5c1803;this[_0x5e4e76(0x265)]=new _0x213cb4[(_0x5e4e76(0x1c9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x306e66,_0x525c4d){var _0x3eb561=_0x5c1803;for(var _0x58c56f=this[_0x3eb561(0x265)][_0x3eb561(0xd1)],_0x469876=_0x58c56f[0x0],_0x4cdfd8=_0x58c56f[0x1],_0x1319cc=_0x58c56f[0x2],_0x133456=_0x58c56f[0x3],_0x10bf02=_0x58c56f[0x4],_0x49d8e6=0x0;_0x49d8e6<0x50;_0x49d8e6++){if(_0x49d8e6<0x10)_0x161cdf[_0x49d8e6]=_0x306e66[_0x525c4d+_0x49d8e6]|0x0;else{var _0x5e258b=_0x161cdf[_0x49d8e6-0x3]^_0x161cdf[_0x49d8e6-0x8]^_0x161cdf[_0x49d8e6-0xe]^_0x161cdf[_0x49d8e6-0x10];_0x161cdf[_0x49d8e6]=_0x5e258b<<0x1|_0x5e258b>>>0x1f;}var _0x5269db=(_0x469876<<0x5|_0x469876>>>0x1b)+_0x10bf02+_0x161cdf[_0x49d8e6];_0x49d8e6<0x14?_0x5269db+=(_0x4cdfd8&_0x1319cc|~_0x4cdfd8&_0x133456)+0x5a827999:_0x49d8e6<0x28?_0x5269db+=(_0x4cdfd8^_0x1319cc^_0x133456)+0x6ed9eba1:_0x49d8e6<0x3c?_0x5269db+=(_0x4cdfd8&_0x1319cc|_0x4cdfd8&_0x133456|_0x1319cc&_0x133456)-0x70e44324:_0x5269db+=(_0x4cdfd8^_0x1319cc^_0x133456)-0x359d3e2a,_0x10bf02=_0x133456,_0x133456=_0x1319cc,_0x1319cc=_0x4cdfd8<<0x1e|_0x4cdfd8>>>0x2,_0x4cdfd8=_0x469876,_0x469876=_0x5269db;}_0x58c56f[0x0]=_0x58c56f[0x0]+_0x469876|0x0,_0x58c56f[0x1]=_0x58c56f[0x1]+_0x4cdfd8|0x0,_0x58c56f[0x2]=_0x58c56f[0x2]+_0x1319cc|0x0,_0x58c56f[0x3]=_0x58c56f[0x3]+_0x133456|0x0,_0x58c56f[0x4]=_0x58c56f[0x4]+_0x10bf02|0x0;},'_doFinalize':function(){var _0x140872=_0x5c1803,_0x59eb46=this[_0x140872(0x119)],_0x345f0a=_0x59eb46[_0x140872(0xd1)],_0x344877=this[_0x140872(0x89)]*0x8,_0x487e00=_0x59eb46[_0x140872(0x25f)]*0x8;return _0x345f0a[_0x487e00>>>0x5]|=0x80<<0x18-_0x487e00%0x20,_0x345f0a[(_0x487e00+0x40>>>0x9<<0x4)+0xe]=Math[_0x140872(0x230)](_0x344877/0x100000000),_0x345f0a[(_0x487e00+0x40>>>0x9<<0x4)+0xf]=_0x344877,_0x59eb46[_0x140872(0x25f)]=_0x345f0a[_0x140872(0x182)]*0x4,this[_0x140872(0x216)](),this[_0x140872(0x265)];},'clone':function(){var _0x4a03e5=_0x5c1803,_0x4bcae8=_0x2bc02e[_0x4a03e5(0x339)][_0x4a03e5(0x32b)](this);return _0x4bcae8[_0x4a03e5(0x265)]=this[_0x4a03e5(0x265)]['clone'](),_0x4bcae8;}});_0x514945['SHA1']=_0x2bc02e[_0x5c1803(0x317)](_0x2fdfe0),_0x514945[_0x5c1803(0x2d7)]=_0x2bc02e[_0x5c1803(0x26e)](_0x2fdfe0);}()),_0x3a6cd5[_0x154800(0xd0)];}));}(qe)),qe[_0x429e0a(0x271)];}var ze={'exports':{}},gn=ze[_0x72bb68(0x271)],Zt;function Sn(){var _0x3906c1=_0x72bb68;return Zt||(Zt=0x1,function(_0x399ef5,_0x4605e0){(function(_0x1ecf9a,_0x4a1260){_0x399ef5['exports']=_0x4a1260(te());}(gn,function(_0x9a88c4){(function(){var _0x266d95=_0x3e8b,_0xfb63d1=_0x9a88c4,_0x4fae4c=_0xfb63d1[_0x266d95(0x177)],_0x4448cb=_0x4fae4c['Base'],_0x212eff=_0xfb63d1[_0x266d95(0x122)],_0x2ec6ad=_0x212eff[_0x266d95(0x2d2)],_0x2b44bd=_0xfb63d1[_0x266d95(0xaf)];_0x2b44bd[_0x266d95(0xee)]=_0x4448cb[_0x266d95(0x1d9)]({'init':function(_0x5ad770,_0x2ba156){var _0xb8229=_0x266d95;_0x5ad770=this['_hasher']=new _0x5ad770[(_0xb8229(0x1c9))](),typeof _0x2ba156==_0xb8229(0x2bb)&&(_0x2ba156=_0x2ec6ad[_0xb8229(0x12b)](_0x2ba156));var _0x30a750=_0x5ad770[_0xb8229(0x193)],_0x4eeb2b=_0x30a750*0x4;_0x2ba156[_0xb8229(0x25f)]>_0x4eeb2b&&(_0x2ba156=_0x5ad770[_0xb8229(0x1cb)](_0x2ba156)),_0x2ba156['clamp']();for(var _0x1048ee=this[_0xb8229(0x2fe)]=_0x2ba156['clone'](),_0x2c5532=this['_iKey']=_0x2ba156[_0xb8229(0x339)](),_0x49ecda=_0x1048ee['words'],_0x111014=_0x2c5532[_0xb8229(0xd1)],_0x359392=0x0;_0x359392<_0x30a750;_0x359392++)_0x49ecda[_0x359392]^=0x5c5c5c5c,_0x111014[_0x359392]^=0x36363636;_0x1048ee['sigBytes']=_0x2c5532[_0xb8229(0x25f)]=_0x4eeb2b,this[_0xb8229(0x138)]();},'reset':function(){var _0x76bcae=_0x266d95,_0x24c5d5=this[_0x76bcae(0x1aa)];_0x24c5d5[_0x76bcae(0x138)](),_0x24c5d5[_0x76bcae(0x1dc)](this['_iKey']);},'update':function(_0x23c512){var _0x118e4a=_0x266d95;return this['_hasher'][_0x118e4a(0x1dc)](_0x23c512),this;},'finalize':function(_0x3c16b1){var _0x54bf46=_0x266d95,_0x36c66b=this['_hasher'],_0x4ba925=_0x36c66b[_0x54bf46(0x1cb)](_0x3c16b1);_0x36c66b['reset']();var _0x44910a=_0x36c66b[_0x54bf46(0x1cb)](this[_0x54bf46(0x2fe)][_0x54bf46(0x339)]()[_0x54bf46(0x286)](_0x4ba925));return _0x44910a;}});}());}));}(ze)),ze[_0x3906c1(0x271)];}var En=Ke[_0x72bb68(0x271)],Qt;function yi(){var _0x8ee3cc=_0x72bb68;return Qt||(Qt=0x1,function(_0x35a698,_0x1b4bcf){(function(_0x13f539,_0x36bb22,_0x5b4df6){var _0x309035=_0x3e8b;_0x35a698[_0x309035(0x271)]=_0x36bb22(te(),mn(),Sn());}(En,function(_0x2c0d35){return(function(){var _0x3a1efd=_0x3e8b,_0x432c50=_0x2c0d35,_0xd046b=_0x432c50['lib'],_0x3bed6b=_0xd046b[_0x3a1efd(0x2e9)],_0x86797f=_0xd046b[_0x3a1efd(0x24a)],_0x4ca132=_0x432c50[_0x3a1efd(0xaf)],_0x508fb9=_0x4ca132[_0x3a1efd(0x217)],_0x3cfbcf=_0x4ca132[_0x3a1efd(0x13b)]=_0x3bed6b['extend']({'cfg':_0x3bed6b[_0x3a1efd(0x1d9)]({'keySize':0x80/0x20,'hasher':_0x508fb9,'iterations':0x1}),'init':function(_0x160ea5){var _0x223fc0=_0x3a1efd;this[_0x223fc0(0xb0)]=this['cfg'][_0x223fc0(0x1d9)](_0x160ea5);},'compute':function(_0x410287,_0x2242a5){var _0x18665c=_0x3a1efd;for(var _0x3d6770,_0x3a887e=this[_0x18665c(0xb0)],_0x4f93c5=_0x3a887e[_0x18665c(0x27d)][_0x18665c(0x9a)](),_0x582c19=_0x86797f['create'](),_0x22097d=_0x582c19[_0x18665c(0xd1)],_0x4eb7e3=_0x3a887e['keySize'],_0x6550e7=_0x3a887e[_0x18665c(0x231)];_0x22097d[_0x18665c(0x182)]<_0x4eb7e3;){_0x3d6770&&_0x4f93c5[_0x18665c(0x1dc)](_0x3d6770),_0x3d6770=_0x4f93c5[_0x18665c(0x1dc)](_0x410287)[_0x18665c(0x1cb)](_0x2242a5),_0x4f93c5['reset']();for(var _0x50cbf7=0x1;_0x50cbf7<_0x6550e7;_0x50cbf7++)_0x3d6770=_0x4f93c5[_0x18665c(0x1cb)](_0x3d6770),_0x4f93c5[_0x18665c(0x138)]();_0x582c19[_0x18665c(0x286)](_0x3d6770);}return _0x582c19[_0x18665c(0x25f)]=_0x4eb7e3*0x4,_0x582c19;}});_0x432c50[_0x3a1efd(0x13b)]=function(_0x526f42,_0x300991,_0x2acc29){var _0x4d0a83=_0x3a1efd;return _0x3cfbcf[_0x4d0a83(0x9a)](_0x2acc29)[_0x4d0a83(0xe8)](_0x526f42,_0x300991);};}()),_0x2c0d35['EvpKDF'];}));}(Ke)),Ke[_0x8ee3cc(0x271)];}var Je={'exports':{}},In=Je['exports'],ei;function Ni(){var _0x2ebf7c=_0x72bb68;return ei||(ei=0x1,function(_0x1be877,_0x2a7fa6){(function(_0x3a7bca,_0x20b742,_0x23b5ae){_0x1be877['exports']=_0x20b742(te(),yi());}(In,function(_0x1f3aff){var _0x34fad6=_0x3e8b;_0x1f3aff[_0x34fad6(0x177)][_0x34fad6(0xca)]||function(_0x4c1baf){var _0x57ef00=_0x34fad6,_0x75736c=_0x1f3aff,_0x236576=_0x75736c['lib'],_0x50a6b7=_0x236576[_0x57ef00(0x2e9)],_0x316f0a=_0x236576[_0x57ef00(0x24a)],_0xcf4d23=_0x236576[_0x57ef00(0x352)],_0x2397a6=_0x75736c[_0x57ef00(0x122)];_0x2397a6['Utf8'];var _0x27be35=_0x2397a6['Base64'],_0x2cff4a=_0x75736c[_0x57ef00(0xaf)],_0x22153b=_0x2cff4a[_0x57ef00(0x13b)],_0xbd128d=_0x236576[_0x57ef00(0xca)]=_0xcf4d23[_0x57ef00(0x1d9)]({'cfg':_0x50a6b7['extend'](),'createEncryptor':function(_0x4e5f5c,_0x22e528){var _0x2c2647=_0x57ef00;return this[_0x2c2647(0x9a)](this['_ENC_XFORM_MODE'],_0x4e5f5c,_0x22e528);},'createDecryptor':function(_0x4c87dd,_0x1b380f){var _0x4ac169=_0x57ef00;return this['create'](this[_0x4ac169(0xb7)],_0x4c87dd,_0x1b380f);},'init':function(_0xa93c53,_0x23bfc9,_0x4aecd1){var _0x5ce0c2=_0x57ef00;this[_0x5ce0c2(0xb0)]=this[_0x5ce0c2(0xb0)][_0x5ce0c2(0x1d9)](_0x4aecd1),this['_xformMode']=_0xa93c53,this[_0x5ce0c2(0x273)]=_0x23bfc9,this[_0x5ce0c2(0x138)]();},'reset':function(){var _0x524bd8=_0x57ef00;_0xcf4d23[_0x524bd8(0x138)][_0x524bd8(0x32b)](this),this[_0x524bd8(0x1c0)]();},'process':function(_0x22a480){var _0x106d3c=_0x57ef00;return this[_0x106d3c(0x269)](_0x22a480),this[_0x106d3c(0x216)]();},'finalize':function(_0x551de5){_0x551de5&&this['_append'](_0x551de5);var _0x1a5e3e=this['_doFinalize']();return _0x1a5e3e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4923e1(_0x1c2f52){return typeof _0x1c2f52=='string'?_0x4d73d7:_0x4c6dd7;}return function(_0x3aaec){return{'encrypt':function(_0x3c6f03,_0x16e316,_0x35c092){var _0x52d47b=_0x3e8b;return _0x4923e1(_0x16e316)[_0x52d47b(0x314)](_0x3aaec,_0x3c6f03,_0x16e316,_0x35c092);},'decrypt':function(_0x4b1f99,_0x59c24e,_0x4a440c){return _0x4923e1(_0x59c24e)['decrypt'](_0x3aaec,_0x4b1f99,_0x59c24e,_0x4a440c);}};};}())});_0x236576[_0x57ef00(0x324)]=_0xbd128d[_0x57ef00(0x1d9)]({'_doFinalize':function(){var _0x17d397=this['_process'](!0x0);return _0x17d397;},'blockSize':0x1});var _0x4db528=_0x75736c['mode']={},_0x3590fb=_0x236576[_0x57ef00(0x2d3)]=_0x50a6b7[_0x57ef00(0x1d9)]({'createEncryptor':function(_0x1b4ee4,_0x19cbdd){var _0x20b19c=_0x57ef00;return this['Encryptor'][_0x20b19c(0x9a)](_0x1b4ee4,_0x19cbdd);},'createDecryptor':function(_0x151709,_0x2cdbe1){var _0x35e8fc=_0x57ef00;return this[_0x35e8fc(0x28e)][_0x35e8fc(0x9a)](_0x151709,_0x2cdbe1);},'init':function(_0x53009e,_0x1a790a){var _0x23e4e4=_0x57ef00;this[_0x23e4e4(0x29a)]=_0x53009e,this[_0x23e4e4(0xad)]=_0x1a790a;}}),_0x188686=_0x4db528['CBC']=(function(){var _0x155284=_0x57ef00,_0x16b73a=_0x3590fb['extend']();_0x16b73a[_0x155284(0x13e)]=_0x16b73a[_0x155284(0x1d9)]({'processBlock':function(_0x2f141d,_0x14ed74){var _0x3ea96d=_0x155284,_0x1ba602=this[_0x3ea96d(0x29a)],_0x393da5=_0x1ba602[_0x3ea96d(0x193)];_0x10112f[_0x3ea96d(0x32b)](this,_0x2f141d,_0x14ed74,_0x393da5),_0x1ba602[_0x3ea96d(0x15d)](_0x2f141d,_0x14ed74),this[_0x3ea96d(0x316)]=_0x2f141d[_0x3ea96d(0xb9)](_0x14ed74,_0x14ed74+_0x393da5);}}),_0x16b73a[_0x155284(0x28e)]=_0x16b73a['extend']({'processBlock':function(_0x485ec8,_0x299559){var _0x5a3d53=_0x155284,_0x195c43=this['_cipher'],_0x374972=_0x195c43[_0x5a3d53(0x193)],_0x2d9e7b=_0x485ec8['slice'](_0x299559,_0x299559+_0x374972);_0x195c43[_0x5a3d53(0xc5)](_0x485ec8,_0x299559),_0x10112f[_0x5a3d53(0x32b)](this,_0x485ec8,_0x299559,_0x374972),this['_prevBlock']=_0x2d9e7b;}});function _0x10112f(_0x5da05b,_0x4a5a5a,_0x4d7963){var _0x2e08a3=_0x155284,_0xa8320,_0x11af4c=this['_iv'];_0x11af4c?(_0xa8320=_0x11af4c,this[_0x2e08a3(0xad)]=_0x4c1baf):_0xa8320=this[_0x2e08a3(0x316)];for(var _0x30bd87=0x0;_0x30bd87<_0x4d7963;_0x30bd87++)_0x5da05b[_0x4a5a5a+_0x30bd87]^=_0xa8320[_0x30bd87];}return _0x16b73a;}()),_0x315c22=_0x75736c['pad']={},_0x5ec75a=_0x315c22[_0x57ef00(0x1bf)]={'pad':function(_0x9f942a,_0x1da608){var _0x19ff53=_0x57ef00;for(var _0x50aaaa=_0x1da608*0x4,_0x492fbf=_0x50aaaa-_0x9f942a[_0x19ff53(0x25f)]%_0x50aaaa,_0x324caf=_0x492fbf<<0x18|_0x492fbf<<0x10|_0x492fbf<<0x8|_0x492fbf,_0x311ffa=[],_0x4847ba=0x0;_0x4847ba<_0x492fbf;_0x4847ba+=0x4)_0x311ffa[_0x19ff53(0xe7)](_0x324caf);var _0xf3c98c=_0x316f0a['create'](_0x311ffa,_0x492fbf);_0x9f942a[_0x19ff53(0x286)](_0xf3c98c);},'unpad':function(_0x3f1782){var _0x304400=_0x57ef00,_0x21f89f=_0x3f1782[_0x304400(0xd1)][_0x3f1782[_0x304400(0x25f)]-0x1>>>0x2]&0xff;_0x3f1782[_0x304400(0x25f)]-=_0x21f89f;}};_0x236576['BlockCipher']=_0xbd128d[_0x57ef00(0x1d9)]({'cfg':_0xbd128d[_0x57ef00(0xb0)][_0x57ef00(0x1d9)]({'mode':_0x188686,'padding':_0x5ec75a}),'reset':function(){var _0x14a78e=_0x57ef00,_0x3d05e8;_0xbd128d[_0x14a78e(0x138)]['call'](this);var _0x44f764=this[_0x14a78e(0xb0)],_0x312480=_0x44f764['iv'],_0x30d431=_0x44f764[_0x14a78e(0x2cd)];this[_0x14a78e(0x1ac)]==this[_0x14a78e(0x1ea)]?_0x3d05e8=_0x30d431[_0x14a78e(0x27f)]:(_0x3d05e8=_0x30d431[_0x14a78e(0x364)],this[_0x14a78e(0x163)]=0x1),this['_mode']&&this[_0x14a78e(0x1bd)][_0x14a78e(0x100)]==_0x3d05e8?this[_0x14a78e(0x1bd)][_0x14a78e(0x1c9)](this,_0x312480&&_0x312480['words']):(this[_0x14a78e(0x1bd)]=_0x3d05e8[_0x14a78e(0x32b)](_0x30d431,this,_0x312480&&_0x312480[_0x14a78e(0xd1)]),this[_0x14a78e(0x1bd)][_0x14a78e(0x100)]=_0x3d05e8);},'_doProcessBlock':function(_0x521d34,_0x372376){var _0x1b40a8=_0x57ef00;this['_mode'][_0x1b40a8(0x21b)](_0x521d34,_0x372376);},'_doFinalize':function(){var _0x4d0cae=_0x57ef00,_0x284272,_0x2b1ff0=this['cfg'][_0x4d0cae(0x146)];return this[_0x4d0cae(0x1ac)]==this[_0x4d0cae(0x1ea)]?(_0x2b1ff0[_0x4d0cae(0x1ec)](this[_0x4d0cae(0x119)],this[_0x4d0cae(0x193)]),_0x284272=this[_0x4d0cae(0x216)](!0x0)):(_0x284272=this[_0x4d0cae(0x216)](!0x0),_0x2b1ff0[_0x4d0cae(0x32a)](_0x284272)),_0x284272;},'blockSize':0x80/0x20});var _0x3f072c=_0x236576[_0x57ef00(0x237)]=_0x50a6b7[_0x57ef00(0x1d9)]({'init':function(_0x1f383b){this['mixIn'](_0x1f383b);},'toString':function(_0x58f282){var _0x47603c=_0x57ef00;return(_0x58f282||this[_0x47603c(0x334)])[_0x47603c(0x384)](this);}}),_0x5b2d2c=_0x75736c[_0x57ef00(0x152)]={},_0x3ffcfb=_0x5b2d2c['OpenSSL']={'stringify':function(_0x292f80){var _0x4f0191=_0x57ef00,_0x3d6662,_0x328dc5=_0x292f80[_0x4f0191(0x98)],_0x69088f=_0x292f80[_0x4f0191(0x312)];return _0x69088f?_0x3d6662=_0x316f0a[_0x4f0191(0x9a)]([0x53616c74,0x65645f5f])[_0x4f0191(0x286)](_0x69088f)['concat'](_0x328dc5):_0x3d6662=_0x328dc5,_0x3d6662[_0x4f0191(0x167)](_0x27be35);},'parse':function(_0x2335a7){var _0x43a410=_0x57ef00,_0x54070a,_0x1fb019=_0x27be35[_0x43a410(0x12b)](_0x2335a7),_0x3dc77f=_0x1fb019[_0x43a410(0xd1)];return _0x3dc77f[0x0]==0x53616c74&&_0x3dc77f[0x1]==0x65645f5f&&(_0x54070a=_0x316f0a[_0x43a410(0x9a)](_0x3dc77f[_0x43a410(0xb9)](0x2,0x4)),_0x3dc77f[_0x43a410(0xd5)](0x0,0x4),_0x1fb019['sigBytes']-=0x10),_0x3f072c['create']({'ciphertext':_0x1fb019,'salt':_0x54070a});}},_0x4c6dd7=_0x236576[_0x57ef00(0x251)]=_0x50a6b7[_0x57ef00(0x1d9)]({'cfg':_0x50a6b7[_0x57ef00(0x1d9)]({'format':_0x3ffcfb}),'encrypt':function(_0x3dd30f,_0x4b9f16,_0xb2c9a0,_0x38769a){var _0x553ed4=_0x57ef00;_0x38769a=this[_0x553ed4(0xb0)][_0x553ed4(0x1d9)](_0x38769a);var _0x4e833e=_0x3dd30f[_0x553ed4(0x27f)](_0xb2c9a0,_0x38769a),_0x174ae8=_0x4e833e[_0x553ed4(0x1cb)](_0x4b9f16),_0x438e27=_0x4e833e[_0x553ed4(0xb0)];return _0x3f072c[_0x553ed4(0x9a)]({'ciphertext':_0x174ae8,'key':_0xb2c9a0,'iv':_0x438e27['iv'],'algorithm':_0x3dd30f,'mode':_0x438e27[_0x553ed4(0x2cd)],'padding':_0x438e27[_0x553ed4(0x146)],'blockSize':_0x3dd30f[_0x553ed4(0x193)],'formatter':_0x38769a[_0x553ed4(0x152)]});},'decrypt':function(_0x1c22a0,_0xdf505e,_0x262dba,_0x2d0c82){var _0x3db5b1=_0x57ef00;_0x2d0c82=this[_0x3db5b1(0xb0)][_0x3db5b1(0x1d9)](_0x2d0c82),_0xdf505e=this['_parse'](_0xdf505e,_0x2d0c82[_0x3db5b1(0x152)]);var _0x29f234=_0x1c22a0[_0x3db5b1(0x364)](_0x262dba,_0x2d0c82)[_0x3db5b1(0x1cb)](_0xdf505e[_0x3db5b1(0x98)]);return _0x29f234;},'_parse':function(_0x248b87,_0x103df9){var _0x3bd102=_0x57ef00;return typeof _0x248b87==_0x3bd102(0x2bb)?_0x103df9[_0x3bd102(0x12b)](_0x248b87,this):_0x248b87;}}),_0x581ed4=_0x75736c[_0x57ef00(0x1fd)]={},_0x21e1ca=_0x581ed4[_0x57ef00(0x18b)]={'execute':function(_0xbba7d2,_0x870eb4,_0x128597,_0x49d79b,_0x18da74){var _0x12dab0=_0x57ef00;if(_0x49d79b||(_0x49d79b=_0x316f0a[_0x12dab0(0x363)](0x40/0x8)),_0x18da74)var _0x58aae6=_0x22153b[_0x12dab0(0x9a)]({'keySize':_0x870eb4+_0x128597,'hasher':_0x18da74})['compute'](_0xbba7d2,_0x49d79b);else var _0x58aae6=_0x22153b[_0x12dab0(0x9a)]({'keySize':_0x870eb4+_0x128597})[_0x12dab0(0xe8)](_0xbba7d2,_0x49d79b);var _0x420402=_0x316f0a[_0x12dab0(0x9a)](_0x58aae6[_0x12dab0(0xd1)]['slice'](_0x870eb4),_0x128597*0x4);return _0x58aae6[_0x12dab0(0x25f)]=_0x870eb4*0x4,_0x3f072c[_0x12dab0(0x9a)]({'key':_0x58aae6,'iv':_0x420402,'salt':_0x49d79b});}},_0x4d73d7=_0x236576[_0x57ef00(0x121)]=_0x4c6dd7[_0x57ef00(0x1d9)]({'cfg':_0x4c6dd7[_0x57ef00(0xb0)][_0x57ef00(0x1d9)]({'kdf':_0x21e1ca}),'encrypt':function(_0x232664,_0xb51cd5,_0x3fb5ea,_0x3beb00){var _0x599f51=_0x57ef00;_0x3beb00=this['cfg'][_0x599f51(0x1d9)](_0x3beb00);var _0xaf30a6=_0x3beb00[_0x599f51(0x1fd)]['execute'](_0x3fb5ea,_0x232664[_0x599f51(0x258)],_0x232664[_0x599f51(0x2a5)],_0x3beb00['salt'],_0x3beb00[_0x599f51(0x27d)]);_0x3beb00['iv']=_0xaf30a6['iv'];var _0x2be3a3=_0x4c6dd7[_0x599f51(0x314)]['call'](this,_0x232664,_0xb51cd5,_0xaf30a6[_0x599f51(0x14a)],_0x3beb00);return _0x2be3a3[_0x599f51(0x34c)](_0xaf30a6),_0x2be3a3;},'decrypt':function(_0x1d1177,_0x12c592,_0x5650b8,_0x22bcb2){var _0x2bc11a=_0x57ef00;_0x22bcb2=this[_0x2bc11a(0xb0)][_0x2bc11a(0x1d9)](_0x22bcb2),_0x12c592=this[_0x2bc11a(0x2f6)](_0x12c592,_0x22bcb2[_0x2bc11a(0x152)]);var _0xdd4d47=_0x22bcb2[_0x2bc11a(0x1fd)]['execute'](_0x5650b8,_0x1d1177[_0x2bc11a(0x258)],_0x1d1177[_0x2bc11a(0x2a5)],_0x12c592[_0x2bc11a(0x312)],_0x22bcb2[_0x2bc11a(0x27d)]);_0x22bcb2['iv']=_0xdd4d47['iv'];var _0xc8248d=_0x4c6dd7[_0x2bc11a(0x2aa)][_0x2bc11a(0x32b)](this,_0x1d1177,_0x12c592,_0xdd4d47[_0x2bc11a(0x14a)],_0x22bcb2);return _0xc8248d;}});}();}));}(Je)),Je[_0x2ebf7c(0x271)];}var Tn=Ve[_0x72bb68(0x271)],ti;function Cn(){var _0x294b2c=_0x72bb68;return ti||(ti=0x1,function(_0x3658df,_0x5821f6){(function(_0x1bdab2,_0xdeef3a,_0x2982b0){_0x3658df['exports']=_0xdeef3a(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x30f4f3){return(function(){var _0x350b12=_0x3e8b,_0x2103b5=_0x30f4f3,_0x156b36=_0x2103b5['lib'],_0x51272b=_0x156b36[_0x350b12(0x336)],_0x2533a1=_0x2103b5['algo'],_0x48e547=[],_0x2c2d45=[],_0x38eaca=[],_0x26542c=[],_0x3c5cfa=[],_0x13c3a1=[],_0x544f3d=[],_0x4f0e00=[],_0x1ac648=[],_0x359657=[];(function(){for(var _0x7146db=[],_0x397432=0x0;_0x397432<0x100;_0x397432++)_0x397432<0x80?_0x7146db[_0x397432]=_0x397432<<0x1:_0x7146db[_0x397432]=_0x397432<<0x1^0x11b;for(var _0x4c14f0=0x0,_0x5bd84e=0x0,_0x397432=0x0;_0x397432<0x100;_0x397432++){var _0x1d0eb1=_0x5bd84e^_0x5bd84e<<0x1^_0x5bd84e<<0x2^_0x5bd84e<<0x3^_0x5bd84e<<0x4;_0x1d0eb1=_0x1d0eb1>>>0x8^_0x1d0eb1&0xff^0x63,_0x48e547[_0x4c14f0]=_0x1d0eb1,_0x2c2d45[_0x1d0eb1]=_0x4c14f0;var _0x3420c5=_0x7146db[_0x4c14f0],_0xa10ff1=_0x7146db[_0x3420c5],_0x112ee4=_0x7146db[_0xa10ff1],_0x181e31=_0x7146db[_0x1d0eb1]*0x101^_0x1d0eb1*0x1010100;_0x38eaca[_0x4c14f0]=_0x181e31<<0x18|_0x181e31>>>0x8,_0x26542c[_0x4c14f0]=_0x181e31<<0x10|_0x181e31>>>0x10,_0x3c5cfa[_0x4c14f0]=_0x181e31<<0x8|_0x181e31>>>0x18,_0x13c3a1[_0x4c14f0]=_0x181e31;var _0x181e31=_0x112ee4*0x1010101^_0xa10ff1*0x10001^_0x3420c5*0x101^_0x4c14f0*0x1010100;_0x544f3d[_0x1d0eb1]=_0x181e31<<0x18|_0x181e31>>>0x8,_0x4f0e00[_0x1d0eb1]=_0x181e31<<0x10|_0x181e31>>>0x10,_0x1ac648[_0x1d0eb1]=_0x181e31<<0x8|_0x181e31>>>0x18,_0x359657[_0x1d0eb1]=_0x181e31,_0x4c14f0?(_0x4c14f0=_0x3420c5^_0x7146db[_0x7146db[_0x7146db[_0x112ee4^_0x3420c5]]],_0x5bd84e^=_0x7146db[_0x7146db[_0x5bd84e]]):_0x4c14f0=_0x5bd84e=0x1;}}());var _0x3a9536=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x542ef9=_0x2533a1[_0x350b12(0x305)]=_0x51272b[_0x350b12(0x1d9)]({'_doReset':function(){var _0x45272b=_0x350b12,_0xfefe96;if(!(this[_0x45272b(0x1d0)]&&this['_keyPriorReset']===this[_0x45272b(0x273)])){for(var _0x5c95b8=this['_keyPriorReset']=this[_0x45272b(0x273)],_0x3f6978=_0x5c95b8[_0x45272b(0xd1)],_0x2c339c=_0x5c95b8[_0x45272b(0x25f)]/0x4,_0x4c23b7=this['_nRounds']=_0x2c339c+0x6,_0x1311da=(_0x4c23b7+0x1)*0x4,_0x354527=this[_0x45272b(0x366)]=[],_0xf3e580=0x0;_0xf3e580<_0x1311da;_0xf3e580++)_0xf3e580<_0x2c339c?_0x354527[_0xf3e580]=_0x3f6978[_0xf3e580]:(_0xfefe96=_0x354527[_0xf3e580-0x1],_0xf3e580%_0x2c339c?_0x2c339c>0x6&&_0xf3e580%_0x2c339c==0x4&&(_0xfefe96=_0x48e547[_0xfefe96>>>0x18]<<0x18|_0x48e547[_0xfefe96>>>0x10&0xff]<<0x10|_0x48e547[_0xfefe96>>>0x8&0xff]<<0x8|_0x48e547[_0xfefe96&0xff]):(_0xfefe96=_0xfefe96<<0x8|_0xfefe96>>>0x18,_0xfefe96=_0x48e547[_0xfefe96>>>0x18]<<0x18|_0x48e547[_0xfefe96>>>0x10&0xff]<<0x10|_0x48e547[_0xfefe96>>>0x8&0xff]<<0x8|_0x48e547[_0xfefe96&0xff],_0xfefe96^=_0x3a9536[_0xf3e580/_0x2c339c|0x0]<<0x18),_0x354527[_0xf3e580]=_0x354527[_0xf3e580-_0x2c339c]^_0xfefe96);for(var _0x113242=this[_0x45272b(0x1da)]=[],_0x4b45b6=0x0;_0x4b45b6<_0x1311da;_0x4b45b6++){var _0xf3e580=_0x1311da-_0x4b45b6;if(_0x4b45b6%0x4)var _0xfefe96=_0x354527[_0xf3e580];else var _0xfefe96=_0x354527[_0xf3e580-0x4];_0x4b45b6<0x4||_0xf3e580<=0x4?_0x113242[_0x4b45b6]=_0xfefe96:_0x113242[_0x4b45b6]=_0x544f3d[_0x48e547[_0xfefe96>>>0x18]]^_0x4f0e00[_0x48e547[_0xfefe96>>>0x10&0xff]]^_0x1ac648[_0x48e547[_0xfefe96>>>0x8&0xff]]^_0x359657[_0x48e547[_0xfefe96&0xff]];}}},'encryptBlock':function(_0x160d54,_0x1f5b8b){var _0x2c279f=_0x350b12;this[_0x2c279f(0x95)](_0x160d54,_0x1f5b8b,this['_keySchedule'],_0x38eaca,_0x26542c,_0x3c5cfa,_0x13c3a1,_0x48e547);},'decryptBlock':function(_0x402b51,_0x1f7915){var _0x51adc4=_0x350b12,_0x5a15d2=_0x402b51[_0x1f7915+0x1];_0x402b51[_0x1f7915+0x1]=_0x402b51[_0x1f7915+0x3],_0x402b51[_0x1f7915+0x3]=_0x5a15d2,this[_0x51adc4(0x95)](_0x402b51,_0x1f7915,this['_invKeySchedule'],_0x544f3d,_0x4f0e00,_0x1ac648,_0x359657,_0x2c2d45);var _0x5a15d2=_0x402b51[_0x1f7915+0x1];_0x402b51[_0x1f7915+0x1]=_0x402b51[_0x1f7915+0x3],_0x402b51[_0x1f7915+0x3]=_0x5a15d2;},'_doCryptBlock':function(_0x4f0838,_0x18d840,_0x5b50cf,_0x1688e1,_0x107d85,_0x3d8c09,_0xb61f2,_0x4f6019){var _0x186cbc=_0x350b12;for(var _0x382ad9=this[_0x186cbc(0x1d0)],_0x1e8fe0=_0x4f0838[_0x18d840]^_0x5b50cf[0x0],_0x3b8c6d=_0x4f0838[_0x18d840+0x1]^_0x5b50cf[0x1],_0x487796=_0x4f0838[_0x18d840+0x2]^_0x5b50cf[0x2],_0x563ba3=_0x4f0838[_0x18d840+0x3]^_0x5b50cf[0x3],_0x395011=0x4,_0x5af341=0x1;_0x5af341<_0x382ad9;_0x5af341++){var _0x21ad1d=_0x1688e1[_0x1e8fe0>>>0x18]^_0x107d85[_0x3b8c6d>>>0x10&0xff]^_0x3d8c09[_0x487796>>>0x8&0xff]^_0xb61f2[_0x563ba3&0xff]^_0x5b50cf[_0x395011++],_0x5d0797=_0x1688e1[_0x3b8c6d>>>0x18]^_0x107d85[_0x487796>>>0x10&0xff]^_0x3d8c09[_0x563ba3>>>0x8&0xff]^_0xb61f2[_0x1e8fe0&0xff]^_0x5b50cf[_0x395011++],_0x26636b=_0x1688e1[_0x487796>>>0x18]^_0x107d85[_0x563ba3>>>0x10&0xff]^_0x3d8c09[_0x1e8fe0>>>0x8&0xff]^_0xb61f2[_0x3b8c6d&0xff]^_0x5b50cf[_0x395011++],_0x3c5b0a=_0x1688e1[_0x563ba3>>>0x18]^_0x107d85[_0x1e8fe0>>>0x10&0xff]^_0x3d8c09[_0x3b8c6d>>>0x8&0xff]^_0xb61f2[_0x487796&0xff]^_0x5b50cf[_0x395011++];_0x1e8fe0=_0x21ad1d,_0x3b8c6d=_0x5d0797,_0x487796=_0x26636b,_0x563ba3=_0x3c5b0a;}var _0x21ad1d=(_0x4f6019[_0x1e8fe0>>>0x18]<<0x18|_0x4f6019[_0x3b8c6d>>>0x10&0xff]<<0x10|_0x4f6019[_0x487796>>>0x8&0xff]<<0x8|_0x4f6019[_0x563ba3&0xff])^_0x5b50cf[_0x395011++],_0x5d0797=(_0x4f6019[_0x3b8c6d>>>0x18]<<0x18|_0x4f6019[_0x487796>>>0x10&0xff]<<0x10|_0x4f6019[_0x563ba3>>>0x8&0xff]<<0x8|_0x4f6019[_0x1e8fe0&0xff])^_0x5b50cf[_0x395011++],_0x26636b=(_0x4f6019[_0x487796>>>0x18]<<0x18|_0x4f6019[_0x563ba3>>>0x10&0xff]<<0x10|_0x4f6019[_0x1e8fe0>>>0x8&0xff]<<0x8|_0x4f6019[_0x3b8c6d&0xff])^_0x5b50cf[_0x395011++],_0x3c5b0a=(_0x4f6019[_0x563ba3>>>0x18]<<0x18|_0x4f6019[_0x1e8fe0>>>0x10&0xff]<<0x10|_0x4f6019[_0x3b8c6d>>>0x8&0xff]<<0x8|_0x4f6019[_0x487796&0xff])^_0x5b50cf[_0x395011++];_0x4f0838[_0x18d840]=_0x21ad1d,_0x4f0838[_0x18d840+0x1]=_0x5d0797,_0x4f0838[_0x18d840+0x2]=_0x26636b,_0x4f0838[_0x18d840+0x3]=_0x3c5b0a;},'keySize':0x100/0x20});_0x2103b5['AES']=_0x51272b[_0x350b12(0x317)](_0x542ef9);}()),_0x30f4f3['AES'];}));}(Ve)),Ve[_0x294b2c(0x271)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x72bb68(0x271)],si;function Nn(){var _0x52d5ff=_0x72bb68;return si||(si=0x1,function(_0x485e3c,_0x362a79){(function(_0x1d829f,_0x23a987){var _0x785930=_0x3e8b;_0x485e3c[_0x785930(0x271)]=_0x23a987(te());}(yn,function(_0x250ebc){var _0x2a7497=_0x3e8b;return _0x250ebc[_0x2a7497(0x122)][_0x2a7497(0x2d2)];}));}(Xe)),Xe[_0x52d5ff(0x271)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze['exports'],ni;function wn(){var _0x39dbad=_0x72bb68;return ni||(ni=0x1,function(_0x3225ab,_0x39d8c9){(function(_0x149773,_0x387c09){var _0x50f103=_0x3e8b;_0x3225ab[_0x50f103(0x271)]=_0x387c09(te());}(An,function(_0x193325){var _0x572b90=_0x3e8b;return(function(){var _0x362beb=_0x3e8b;if(typeof ArrayBuffer==_0x362beb(0x309)){var _0x223a46=_0x193325,_0x514963=_0x223a46[_0x362beb(0x177)],_0x486f2e=_0x514963[_0x362beb(0x24a)],_0x402456=_0x486f2e[_0x362beb(0x1c9)],_0x55693a=_0x486f2e['init']=function(_0x15a2ed){var _0x4c5319=_0x362beb;if(_0x15a2ed instanceof ArrayBuffer&&(_0x15a2ed=new Uint8Array(_0x15a2ed)),(_0x15a2ed instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x15a2ed instanceof Uint8ClampedArray||_0x15a2ed instanceof Int16Array||_0x15a2ed instanceof Uint16Array||_0x15a2ed instanceof Int32Array||_0x15a2ed instanceof Uint32Array||_0x15a2ed instanceof Float32Array||_0x15a2ed instanceof Float64Array)&&(_0x15a2ed=new Uint8Array(_0x15a2ed[_0x4c5319(0xa9)],_0x15a2ed['byteOffset'],_0x15a2ed[_0x4c5319(0x208)])),_0x15a2ed instanceof Uint8Array){for(var _0x4ca01a=_0x15a2ed['byteLength'],_0x35a12f=[],_0x38855a=0x0;_0x38855a<_0x4ca01a;_0x38855a++)_0x35a12f[_0x38855a>>>0x2]|=_0x15a2ed[_0x38855a]<<0x18-_0x38855a%0x4*0x8;_0x402456['call'](this,_0x35a12f,_0x4ca01a);}else _0x402456['apply'](this,arguments);};_0x55693a[_0x362beb(0x1b8)]=_0x486f2e;}}()),_0x193325[_0x572b90(0x177)]['WordArray'];}));}(Ze)),Ze[_0x39dbad(0x271)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x72bb68(0x271)],ri;function xn(){var _0x330af0=_0x72bb68;return ri||(ri=0x1,function(_0x559564,_0x2f015b){(function(_0x13d23f,_0x362f25,_0x54f74e){_0x559564['exports']=_0x362f25(te(),Ni());}(Mn,function(_0x59d8d0){var _0x370bf3=_0x3e8b;return _0x59d8d0[_0x370bf3(0x1ec)][_0x370bf3(0x223)]={'pad':function(){},'unpad':function(){}},_0x59d8d0[_0x370bf3(0x1ec)][_0x370bf3(0x223)];}));}(Qe)),Qe[_0x330af0(0x271)];}var kn=xn();const $n=$e(kn);function Hn(_0x2aa947,_0x464a75){var _0x587f6d=_0x72bb68;const _0x513306=_0x464a75-_0x2aa947['length']%_0x464a75,_0x3a5dd7=String[_0x587f6d(0x136)](_0x513306)[_0x587f6d(0x104)](_0x513306);return _0x2aa947+_0x3a5dd7;}function Bn(_0x3b9036,_0x17200b){var _0x4af768=_0x72bb68;const _0x25885f=Ln[_0x4af768(0x363)](0x10),_0x3ff52f=Hn(_0x3b9036,0x10),_0x407ae7=bn['encrypt'](Un[_0x4af768(0x12b)](_0x3ff52f),ii[_0x4af768(0x12b)](_0x17200b),{'iv':_0x25885f,'padding':$n});return _0x25885f[_0x4af768(0x286)](_0x407ae7[_0x4af768(0x98)])[_0x4af768(0x167)](ii);}function jn(){var _0x12df49=_0x72bb68;const _0x2613b4=_0x97c32f()[_0x12df49(0x26c)];if(_0x2613b4){const _0x2024cb={'time':Math[_0x12df49(0x230)](Date[_0x12df49(0x10d)]()/0x3e8),'domain':location[_0x12df49(0x1f4)]};return Bn(JSON[_0x12df49(0x384)](_0x2024cb),_0x2613b4);}}var Fn=Object[_0x72bb68(0x159)],Vn=(_0x286f95,_0x14bceb,_0x37a5ac,_0x41da22)=>{var _0x59f1c6=_0x72bb68;for(var _0x2e8e49=_0x41da22>0x1?void 0x0:_0x41da22?Fn(_0x14bceb,_0x37a5ac):_0x14bceb,_0x4188f9=_0x286f95[_0x59f1c6(0x182)]-0x1,_0xe4fd5e;_0x4188f9>=0x0;_0x4188f9--)(_0xe4fd5e=_0x286f95[_0x4188f9])&&(_0x2e8e49=_0xe4fd5e(_0x2e8e49)||_0x2e8e49);return _0x2e8e49;},Gn=(_0x5509d8,_0x2f50d6)=>(_0x260273,_0x251f19)=>_0x2f50d6(_0x260273,_0x251f19,_0x5509d8);let at=class{constructor(_0x19538c){var _0x131475=_0x72bb68;this[_0x131475(0x367)]=_0x19538c,this[_0x131475(0x131)]();}['_initRequestHeader'](){var _0x44594c=_0x72bb68;this['_httpService'][_0x44594c(0x147)]({'interceptor':(_0x2f2291,_0x39148d)=>{var _0x5cbb6e=_0x44594c;const _0x10e5bf=_0x2f2291[_0x5cbb6e(0x1bb)],_0x24a0cc=jn();return _0x24a0cc&&_0x10e5bf[_0x5cbb6e(0x1c2)](_0x5cbb6e(0x34a),_0x24a0cc),_0x39148d(_0x2f2291);}});}};at=Vn([Gn(0x0,_0x41311f(_0x4fe417))],at);var Wn=Object[_0x72bb68(0x159)],Yn=(_0x15a232,_0x44f49a,_0x2a0710,_0x51bb8e)=>{var _0x5cec26=_0x72bb68;for(var _0x3d0603=_0x51bb8e>0x1?void 0x0:_0x51bb8e?Wn(_0x44f49a,_0x2a0710):_0x44f49a,_0x2b67d=_0x15a232[_0x5cec26(0x182)]-0x1,_0x46b0b1;_0x2b67d>=0x0;_0x2b67d--)(_0x46b0b1=_0x15a232[_0x2b67d])&&(_0x3d0603=_0x46b0b1(_0x3d0603)||_0x3d0603);return _0x3d0603;},vt=(_0x445e33,_0x28dd38)=>(_0x1bfebe,_0x1f4c35)=>_0x28dd38(_0x1bfebe,_0x1f4c35,_0x445e33);let Ct=class extends _0x184f79{constructor(_0x498d1c,_0x5c53a2,_0x22ead7){var _0x4ed46e=_0x72bb68;super(),N(this,'_unitInfo$',new _0x50b1a3(null)),N(this,'unitInfo$',this[_0x4ed46e(0x2c1)][_0x4ed46e(0xdc)]()),(this['_logService']=_0x498d1c,this[_0x4ed46e(0x1a8)]=_0x5c53a2,this[_0x4ed46e(0x35a)]=_0x22ead7);}async[_0x72bb68(0x277)](_0x2c2f73,_0x53defe,_0x4b30b8){var _0x3e1f3b=_0x72bb68;this[_0x3e1f3b(0x2c1)][_0x3e1f3b(0x173)]({'unitId':_0x2c2f73,'type':_0x53defe});let _0x394c86=null;switch(_0x53defe){case Z[_0x3e1f3b(0x9d)]:{_0x394c86=await this['_snapshotService']['loadSheet'](_0x2c2f73,_0x4b30b8);break;}case Z['UNIVER_DOC']:{_0x394c86=await this[_0x3e1f3b(0x1a8)]['loadDoc'](_0x2c2f73,_0x4b30b8);break;}default:{this['_logService'][_0x3e1f3b(0x32f)](_0x3e1f3b(0x10c),_0x3e1f3b(0xbb));break;}}return _0x394c86;}async[_0x72bb68(0x35f)](_0x180b98,_0xce54b1,_0x2777f5){var _0x59dabb=_0x72bb68,_0x5a4b35;this[_0x59dabb(0x2c1)][_0x59dabb(0x173)]({'unitId':_0x180b98,'type':_0xce54b1,'subUnitId':_0x2777f5});let _0x22d3c6=0x0;const _0x38a230=await((_0x5a4b35=this[_0x59dabb(0x35a)])==null?void 0x0:_0x5a4b35[_0x59dabb(0x12c)](_0x180b98));return _0x38a230&&(_0x38a230[_0x59dabb(0x169)]||_0x38a230['mutations'][_0x59dabb(0x182)]!==0x0)&&(_0x22d3c6=_0x38a230[_0x59dabb(0x229)]),_0x22d3c6===0x0&&this[_0x59dabb(0xde)][_0x59dabb(0x151)](_0x59dabb(0x10c),_0x59dabb(0x1ad)),this[_0x59dabb(0x277)](_0x180b98,_0xce54b1,_0x22d3c6);}};Ct=Yn([vt(0x0,_0x39af9e),vt(0x1,_0x41311f(_0x5ac07a)),vt(0x2,_0x3cf774(J))],Ct);var Kn=Object[_0x72bb68(0x159)],qn=(_0x36bbff,_0x520651,_0x201fec,_0x1ec4c5)=>{var _0x57c438=_0x72bb68;for(var _0x52e959=_0x1ec4c5>0x1?void 0x0:_0x1ec4c5?Kn(_0x520651,_0x201fec):_0x520651,_0x3453cf=_0x36bbff[_0x57c438(0x182)]-0x1,_0x36f19b;_0x3453cf>=0x0;_0x3453cf--)(_0x36f19b=_0x36bbff[_0x3453cf])&&(_0x52e959=_0x36f19b(_0x52e959)||_0x52e959);return _0x52e959;},pt=(_0x4884f,_0x974f94)=>(_0x5ce2a8,_0x3b69f4)=>_0x974f94(_0x5ce2a8,_0x3b69f4,_0x4884f);const zn=[_0x72bb68(0x2e8),'image/jpeg',_0x72bb68(0x371),_0x72bb68(0x253),_0x72bb68(0x1a4)],Jn=0x5*0x400*0x400,Xn=_0x72bb68(0x221),Zn=_0x72bb68(0x130),Qn=_0x72bb68(0xa1),er=_0x72bb68(0xe4);let Rt=class{constructor(_0x43b7a3,_0x3d345f,_0x36ca4c){var _0xdf31d6=_0x72bb68;N(this,_0xdf31d6(0xc6),0x0),N(this,_0xdf31d6(0xc7),new _0x29e22a()),N(this,_0xdf31d6(0x14c),this['_change$']),N(this,_0xdf31d6(0x198),new Map()),(this[_0xdf31d6(0x367)]=_0x43b7a3,this[_0xdf31d6(0x184)]=_0x3d345f,this[_0xdf31d6(0xf4)]=_0x36ca4c);}[_0x72bb68(0x2d5)](_0x42eb85){var _0x17f5aa=_0x72bb68;this['_waitCount']=_0x42eb85,this[_0x17f5aa(0xc7)][_0x17f5aa(0x173)](_0x42eb85);}[_0x72bb68(0x1b1)](_0x2d2c11,_0x40cfe3){var _0x3911ef=_0x72bb68;if(_0x40cfe3===_0x64dcf1[_0x3911ef(0x349)]){const _0x5be262=new Image();return _0x5be262[_0x3911ef(0x196)]=_0x2d2c11,_0x5be262;}return this[_0x3911ef(0x198)][_0x3911ef(0x283)](_0x2d2c11);}[_0x72bb68(0x232)](_0x38e797,_0x211285,_0x12fa36){var _0x41d7a0=_0x72bb68;_0x211285===_0x64dcf1['BASE64']||_0x12fa36==null||this[_0x41d7a0(0x198)]['set'](_0x38e797,_0x12fa36);}async['getImage'](_0x4fbb00){var _0x562d5c=_0x72bb68;try{const _0xce656f=this[_0x562d5c(0x2ec)](this[_0x562d5c(0x350)](),''+_0x4fbb00),_0x4a2ef6=(await this[_0x562d5c(0x367)][_0x562d5c(0x283)](_0xce656f))[_0x562d5c(0x29f)];if(_0x4a2ef6[_0x562d5c(0x32f)]&&_0x4a2ef6[_0x562d5c(0x32f)][_0x562d5c(0x365)]===pi['OK']){const _0xfcfb6d=new URL(_0x4a2ef6[_0x562d5c(0x2b9)],this[_0x562d5c(0x210)]())[_0x562d5c(0x167)]();return Promise[_0x562d5c(0x120)](_0xfcfb6d);}return Promise[_0x562d5c(0x281)](_0x4a2ef6[_0x562d5c(0x32f)]);}catch(_0x2d031c){return Promise['reject'](_0x2d031c);}}async[_0x72bb68(0x139)](_0x50e6c5){var _0x35c7c3=_0x72bb68;let _0x3462cf='';if(!zn[_0x35c7c3(0x13f)](_0x50e6c5['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x235bfe[_0x35c7c3(0x87)]));if(_0x50e6c5[_0x35c7c3(0x1ab)]>Jn)return this['_decreaseWaiting'](),Promise[_0x35c7c3(0x281)](new Error(_0x235bfe[_0x35c7c3(0x254)]));try{const _0x1c7cfb=new FormData();_0x1c7cfb['append'](_0x35c7c3(0x11a),_0x50e6c5);const _0x2f7bd7=this[_0x35c7c3(0xf4)][_0x35c7c3(0x15f)](),_0x4ab4f5=_0x2f7bd7==null?void 0x0:_0x2f7bd7[_0x35c7c3(0x2a0)]();if(!_0x4ab4f5)throw new Error('unitId\x20is\x20not\x20found');const _0x2db484=this[_0x35c7c3(0x222)]()+_0x35c7c3(0x16c)+_0x50e6c5[_0x35c7c3(0x1ab)][_0x35c7c3(0x167)]()+_0x35c7c3(0x29c)+mi[_0x35c7c3(0x33b)]+_0x35c7c3(0xa8)+encodeURIComponent(_0x4ab4f5),_0x2d9c1d={'body':_0x1c7cfb},_0x194fe0=(await this['_httpService'][_0x35c7c3(0x34f)](_0x2db484,_0x2d9c1d))[_0x35c7c3(0x29f)];if(typeof _0x194fe0[_0x35c7c3(0x21f)]!=_0x35c7c3(0x2bb))return this['_decreaseWaiting'](),Promise[_0x35c7c3(0x281)](new Error(_0x235bfe[_0x35c7c3(0x12f)]));_0x3462cf=_0x194fe0[_0x35c7c3(0x21f)];}catch{return this[_0x35c7c3(0x331)](),Promise['reject'](new Error(_0x235bfe[_0x35c7c3(0x12f)]));}return new Promise((_0xfa078f,_0x776860)=>{var _0x57a75c=_0x35c7c3;const _0xba9241=new FileReader();_0xba9241[_0x57a75c(0x362)](_0x50e6c5),_0xba9241['onload']=_0x1f3b6a=>{var _0x158e77=_0x57a75c,_0x9aca1;const _0x50f54e=(_0x9aca1=_0x1f3b6a[_0x158e77(0x278)])==null?void 0x0:_0x9aca1[_0x158e77(0x2c5)];if(_0x50f54e==null){this['_decreaseWaiting'](),_0x776860(new Error(_0x235bfe['ERROR_IMAGE']));return;}const _0x5d3b2a=_0x33b377['generateRandomId'](0x6);_0xfa078f({'imageId':_0x5d3b2a,'imageSourceType':_0x64dcf1[_0x158e77(0x19c)],'source':_0x3462cf,'base64Cache':_0x50f54e,'status':_0x235bfe[_0x158e77(0x213)]}),this[_0x158e77(0x331)]();};});}[_0x72bb68(0x222)](){var _0x56f7b4=_0x72bb68,_0x23e60c,_0x2aefde;const _0x23588f=this[_0x56f7b4(0x184)][_0x56f7b4(0x1e2)](Xn),_0x5227fe=this[_0x56f7b4(0x184)]['getConfig'](K);return(_0x2aefde=(_0x23e60c=_0x5227fe==null?void 0x0:_0x5227fe[_0x56f7b4(0x109)])!=null?_0x23e60c:_0x23588f)!=null?_0x2aefde:Zn;}[_0x72bb68(0x350)](){var _0x52071e=_0x72bb68,_0x58f4fb,_0x260bab;const _0x9922e2=this['_configService'][_0x52071e(0x1e2)](Qn),_0xc8b435=this[_0x52071e(0x184)]['getConfig'](K);return(_0x260bab=(_0x58f4fb=_0xc8b435==null?void 0x0:_0xc8b435[_0x52071e(0xda)])!=null?_0x58f4fb:_0x9922e2)!=null?_0x260bab:er;}['_getDownloadEndpointURL'](){var _0x52cce0=_0x72bb68,_0x5607b5;const _0x5ef2d6=this[_0x52cce0(0x184)][_0x52cce0(0x1e2)](K);return(_0x5607b5=_0x5ef2d6==null?void 0x0:_0x5ef2d6[_0x52cce0(0x1b3)])!=null?_0x5607b5:location[_0x52cce0(0x27c)];}['_replaceFileID'](_0x5940de,_0xbc8cb){return _0x5940de['replace']('{fileID}',_0xbc8cb);}[_0x72bb68(0x331)](){var _0x4cb98d=_0x72bb68;this['_waitCount']-=0x1,this[_0x4cb98d(0xc7)][_0x4cb98d(0x173)](this[_0x4cb98d(0xc6)]);}};Rt=qn([pt(0x0,_0x41311f(_0x4fe417)),pt(0x1,_0x19233d),pt(0x2,_0x41311f(_0x4aee63))],Rt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x1fe52a,_0x30954c,_0x5b045c,_0x2271ec)=>{var _0x1002d4=_0x72bb68;for(var _0x5dd8fe=_0x2271ec>0x1?void 0x0:_0x2271ec?tr(_0x30954c,_0x5b045c):_0x30954c,_0x2d3b43=_0x1fe52a[_0x1002d4(0x182)]-0x1,_0x4d3c25;_0x2d3b43>=0x0;_0x2d3b43--)(_0x4d3c25=_0x1fe52a[_0x2d3b43])&&(_0x5dd8fe=_0x4d3c25(_0x5dd8fe)||_0x5dd8fe);return _0x5dd8fe;},ai=(_0xfec77c,_0xb72b1c)=>(_0x462a8e,_0x7c2aa1)=>_0xb72b1c(_0x462a8e,_0x7c2aa1,_0xfec77c);const sr=_0x72bb68(0xf3);let bt=class{constructor(_0x209718,_0x53e079){var _0x1d9e1f=_0x72bb68;this[_0x1d9e1f(0x184)]=_0x209718,this['_HTTPService']=_0x53e079;}[_0x72bb68(0xc1)](){var _0x5558b6=_0x72bb68,_0x503eb0,_0x4ec2b2;const _0x56d8a2=this[_0x5558b6(0x184)][_0x5558b6(0x1e2)](bi),_0x140f6d=this[_0x5558b6(0x184)][_0x5558b6(0x1e2)](K);return(_0x4ec2b2=(_0x503eb0=_0x140f6d==null?void 0x0:_0x140f6d[_0x5558b6(0x32c)])!=null?_0x503eb0:_0x56d8a2)!=null?_0x4ec2b2:sr;}async[_0x72bb68(0x2b0)](_0x5af3cf){var _0x390a04=_0x72bb68;const _0xe9e74b=this[_0x390a04(0xc1)]()+_0x390a04(0x322);return{'list':[{'title':_0x390a04(0x197),'mentions':(await this[_0x390a04(0x31d)][_0x390a04(0x283)](_0xe9e74b,{'params':{'objectID':_0x5af3cf[_0x390a04(0x1c6)],'unitID':_0x5af3cf[_0x390a04(0x1c6)]}}))[_0x390a04(0x29f)][_0x390a04(0x25d)][_0x390a04(0x374)](_0x212f3b=>({'objectId':_0x212f3b['id'],'name':_0x212f3b[_0x390a04(0x282)][_0x390a04(0x144)],'metadata':{'icon':_0x212f3b[_0x390a04(0x282)][_0x390a04(0xb3)]},'label':_0x212f3b[_0x390a04(0x282)][_0x390a04(0x144)],'objectType':_0x3441e3[_0x390a04(0x2a6)]})),'metadata':{},'type':_0x3441e3[_0x390a04(0x2a6)]}]};}};bt=ir([ai(0x0,_0x41311f(_0x19233d)),ai(0x1,_0x41311f(_0x4fe417))],bt);var nr=Object[_0x72bb68(0x159)],rr=(_0x1b51e6,_0x449884,_0x20410f,_0x5723b7)=>{var _0x336c65=_0x72bb68;for(var _0x6f4d42=_0x5723b7>0x1?void 0x0:_0x5723b7?nr(_0x449884,_0x20410f):_0x449884,_0xf0465c=_0x1b51e6[_0x336c65(0x182)]-0x1,_0x2c7949;_0xf0465c>=0x0;_0xf0465c--)(_0x2c7949=_0x1b51e6[_0xf0465c])&&(_0x6f4d42=_0x2c7949(_0x6f4d42)||_0x6f4d42);return _0x6f4d42;},Ae=(_0x55d787,_0x5a4e19)=>(_0x3a5973,_0x213ab8)=>_0x5a4e19(_0x3a5973,_0x213ab8,_0x55d787);let ot=class extends _0x184f79{constructor(_0x48893a,_0x5d6582,_0x366d1e,_0x80a01,_0x28eb02){var _0x5172ff=_0x72bb68;super(),this[_0x5172ff(0x37c)]=_0x48893a,this['_univerInstanceService']=_0x5d6582,this[_0x5172ff(0x30c)]=_0x366d1e,this[_0x5172ff(0x28a)]=_0x80a01,this[_0x5172ff(0x37b)]=_0x28eb02,this[_0x5172ff(0x2f3)](),this[_0x5172ff(0x165)]();}[_0x72bb68(0x165)](){var _0x38e004=_0x72bb68;const _0x36ad31=async _0x532fad=>{var _0xea857e=_0x3e8b;(await this[_0xea857e(0x28a)][_0xea857e(0xbe)](_0x532fad))[_0xea857e(0x25e)][_0xea857e(0x2ea)](_0x3f4fbb(_0x1477ac=>_0x1477ac[_0xea857e(0x1ce)]===_0x528d02[_0xea857e(0x34e)]),_0x400782(this[_0xea857e(0x17a)]))['subscribe'](_0x3b5539=>{var _0x505670=_0xea857e;const _0x44c46c=_0x3b5539,{reason:_0x4a3ca8}=_0x44c46c[_0x505670(0x13c)];this[_0x505670(0x37b)][_0x505670(0x326)]({'id':ne['CLOSE_ROOM'],'data':_0x4a3ca8}),this[_0x505670(0x30c)][_0x505670(0x26f)](new _0x134095(_0x532fad)['id'],!0x1),this['_collaborationSessionService'][_0x505670(0xd4)](_0x532fad);});};_0x2cf726(this['_univerInstanceService'][_0x38e004(0x356)](_0x20b46e['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x20b46e[_0x38e004(0x357)]))[_0x38e004(0x2ea)](_0x6504cb(_0x2be4d3=>_0x2be4d3[_0x38e004(0x2a0)]()),_0x3f4fbb(_0x13c8a2=>!_0x1d12f5(_0x13c8a2)),_0x400782(this['dispose$']))[_0x38e004(0x7d)](_0xa65e0=>{_0x36ad31(_0xa65e0);});}[_0x72bb68(0x2f3)](){var _0xfda54e=_0x72bb68;const _0x58683d=async _0x36f288=>{var _0x61fb13=_0x3e8b;const _0x204674=await this[_0x61fb13(0x28a)][_0x61fb13(0xbe)](_0x36f288),_0x2ea719=this[_0x61fb13(0x37c)]['get'](_0x4a4ce9);_0x204674[_0x61fb13(0x25e)][_0x61fb13(0x2ea)](_0x3f4fbb(_0x139737=>_0x139737['eventID']===_0x528d02[_0x61fb13(0x290)]),_0x400782(this['dispose$']))[_0x61fb13(0x7d)](_0x1e7571=>{var _0x395057=_0x61fb13;const _0x2a0c6a=_0x1e7571,{objectId:_0xe29da5}=_0x2a0c6a[_0x395057(0x13c)];_0xe29da5===_0x36f288?_0x2ea719[_0x395057(0x2e0)](_0x36f288):_0x2ea719[_0x395057(0x2a7)](_0x36f288,_0xe29da5);});};_0x2cf726(this[_0xfda54e(0xf4)][_0xfda54e(0x356)](_0x20b46e[_0xfda54e(0x9d)]))['pipe'](_0x6504cb(_0x158d57=>_0x158d57[_0xfda54e(0x2a0)]()),_0x3f4fbb(_0x56e78b=>!_0x1d12f5(_0x56e78b)),_0x400782(this['dispose$']))[_0xfda54e(0x7d)](_0x47f4aa=>{_0x58683d(_0x47f4aa);});}};ot=rr([Ae(0x0,_0x41311f(_0x4cac68)),Ae(0x1,_0x4aee63),Ae(0x2,_0x10fa9c),Ae(0x3,_0x41311f(Le)),Ae(0x4,_0x41311f(ve))],ot);var ar=Object[_0x72bb68(0x159)],or=(_0x1d686f,_0x36d079,_0x5e4963,_0x22c32c)=>{var _0x3462b5=_0x72bb68;for(var _0x4c0b08=_0x22c32c>0x1?void 0x0:_0x22c32c?ar(_0x36d079,_0x5e4963):_0x36d079,_0x3f5c1e=_0x1d686f[_0x3462b5(0x182)]-0x1,_0x2f357d;_0x3f5c1e>=0x0;_0x3f5c1e--)(_0x2f357d=_0x1d686f[_0x3f5c1e])&&(_0x4c0b08=_0x2f357d(_0x4c0b08)||_0x4c0b08);return _0x4c0b08;},oi=(_0x40d146,_0x328a99)=>(_0x2e4298,_0x7d603)=>_0x328a99(_0x2e4298,_0x7d603,_0x40d146);let Ot=class{constructor(_0x3710af,_0x4f45a7){var _0x2bf407=_0x72bb68;this['_configService']=_0x3710af,this[_0x2bf407(0x367)]=_0x4f45a7;}async['getUnitOnRev'](_0x3e1a83,_0x215eec){var _0x2de59b=_0x72bb68,_0x41f112;const {unitID:_0x52e328,type:_0x3db512,revision:_0x5b3425=0x0}=_0x215eec,_0x9fb0bf=this['getSnapshotAPIPath']()+'/'+_0x3db512+'/unit/'+_0x52e328+'/rev/'+_0x5b3425,_0x13d0b5=(await this[_0x2de59b(0x367)][_0x2de59b(0x283)](_0x9fb0bf))[_0x2de59b(0x29f)],_0x4a1bf8=(_0x41f112=_0x13d0b5[_0x2de59b(0x2db)])==null?void 0x0:_0x41f112[_0x2de59b(0x141)];if(_0x4a1bf8){const _0x5033af=_0x4a1bf8==null?void 0x0:_0x4a1bf8[_0x2de59b(0x36d)],_0x250dc0=_0x4eae49['encode'](_0x30f3bb(_0x5033af));_0x4a1bf8[_0x2de59b(0x36d)]=_0x250dc0,Object[_0x2de59b(0x333)](_0x4a1bf8['sheets'])[_0x2de59b(0x16a)](([,_0x1e045f])=>{var _0x408f26=_0x2de59b;const _0x547b9d=_0x1e045f['originalMeta'],_0x434fbd=_0x4eae49[_0x408f26(0x1f9)](_0x30f3bb(_0x547b9d));_0x1e045f[_0x408f26(0x36d)]=_0x434fbd;});}return _0x13d0b5;}async[_0x72bb68(0x105)](_0x5ad613,_0x5606ae){var _0x40d45e=_0x72bb68;const {unitID:_0x1f09e7,type:_0x4b4da2,blockID:_0x3ba641}=_0x5606ae,_0x114e5f=this[_0x40d45e(0x2d1)]()+'/'+_0x4b4da2+_0x40d45e(0x340)+_0x1f09e7+_0x40d45e(0x225)+_0x3ba641;return(await this[_0x40d45e(0x367)][_0x40d45e(0x283)](_0x114e5f))[_0x40d45e(0x29f)];}async[_0x72bb68(0x2ad)](_0x520ed1,_0x4ed089){var _0x1978ad=_0x72bb68;const {unitID:_0x2259cc,type:_0x27d692,blockID:_0x19c963}=_0x4ed089,_0x4385d7=this[_0x1978ad(0x2d1)]()+_0x1978ad(0x225)+_0x27d692+_0x1978ad(0x340)+_0x2259cc+_0x1978ad(0x225)+_0x19c963;return(await this[_0x1978ad(0x367)]['get'](_0x4385d7))[_0x1978ad(0x29f)];}async[_0x72bb68(0x2ba)](_0x10cd72,_0x29e8d9){var _0x1823d0=_0x72bb68;const {unitID:_0x485ed4,type:_0x535f1d,from:_0x324a48,to:_0x4bb7bd}=_0x29e8d9,_0x412e56=this[_0x1823d0(0x2d1)]()+'/'+_0x535f1d+_0x1823d0(0x340)+_0x485ed4+_0x1823d0(0x158)+_0x324a48+_0x1823d0(0x2d4)+_0x4bb7bd;return(await this['_httpService'][_0x1823d0(0x283)](_0x412e56))[_0x1823d0(0x29f)];}[_0x72bb68(0x2e1)](){var _0x229a02=_0x72bb68,_0x285dbe;return(_0x285dbe=this[_0x229a02(0x184)][_0x229a02(0x1e2)](ps))!=null?_0x285dbe:this[_0x229a02(0x2d1)]();}[_0x72bb68(0x2d1)](){var _0x305ae3=_0x72bb68,_0xa8102f,_0x173669;const _0x54c3d8=this[_0x305ae3(0x184)][_0x305ae3(0x1e2)](fs),_0xb28481=this['_configService']['getConfig'](K);return(_0x173669=(_0xa8102f=_0xb28481==null?void 0x0:_0xb28481[_0x305ae3(0xd6)])!=null?_0xa8102f:_0x54c3d8)!=null?_0x173669:vs;}async[_0x72bb68(0x1f0)](_0x3eec39,_0x1b8b59){var _0x136928=_0x72bb68;const _0x58cc69='/universer-api/snapshot/'+_0x1b8b59['type']+'/unit/'+_0x1b8b59[_0x136928(0x211)]+_0x136928(0x2c7);return(await this[_0x136928(0x367)][_0x136928(0x283)](_0x58cc69,{'params':{'resourceId':JSON[_0x136928(0x384)](_0x1b8b59[_0x136928(0x1db)])}}))[_0x136928(0x29f)];}[_0x72bb68(0x27e)](){var _0x5bccdd=_0x72bb68;throw new Error(_0x5bccdd(0x93));}[_0x72bb68(0x37f)](){var _0x47db80=_0x72bb68;throw new Error(_0x47db80(0x93));}['saveSheetBlock'](){var _0x12ec90=_0x72bb68;throw new Error(_0x12ec90(0x93));}[_0x72bb68(0x18f)](){var _0xd2a74e=_0x72bb68;throw new Error(_0xd2a74e(0x93));}[_0x72bb68(0xff)](){var _0x2d5a3b=_0x72bb68;throw new Error(_0x2d5a3b(0x93));}[_0x72bb68(0x343)](){var _0x2c298c=_0x72bb68;throw new Error(_0x2c298c(0x93));}};Ot=or([oi(0x0,_0x19233d),oi(0x1,_0x41311f(_0x4fe417))],Ot);var cr=Object[_0x72bb68(0x159)],hr=(_0x1dda40,_0x1d6e63,_0x67c62f,_0x35e3a3)=>{for(var _0x3d54ab=_0x35e3a3>0x1?void 0x0:_0x35e3a3?cr(_0x1d6e63,_0x67c62f):_0x1d6e63,_0x2d73c7=_0x1dda40['length']-0x1,_0x53e669;_0x2d73c7>=0x0;_0x2d73c7--)(_0x53e669=_0x1dda40[_0x2d73c7])&&(_0x3d54ab=_0x53e669(_0x3d54ab)||_0x3d54ab);return _0x3d54ab;},we=(_0x1b93de,_0x106c9d)=>(_0x1747d6,_0x87d57f)=>_0x106c9d(_0x1747d6,_0x87d57f,_0x1b93de);let yt=class extends _0x5b5dbe{constructor(_0x1b0a5f,_0x54c1b7,_0x196fd8,_0x455ece,_0x3f90f0){var _0x3051e7=_0x72bb68;super(_0x1b0a5f,_0x54c1b7,_0x196fd8),this[_0x3051e7(0x23a)]=_0x455ece,this[_0x3051e7(0xde)]=_0x3f90f0;}[_0x72bb68(0x83)](_0x33033b,_0xbb7699){var _0x316c4f=_0x72bb68;const _0x1f8202=this[_0x316c4f(0x25c)](_0x33033b);if(_0x1f8202)try{const _0x5556e2=this[_0x316c4f(0x137)](_0x1f8202,_0xbb7699);this['_substituteUndoStack'](_0x33033b,_0x5556e2);}catch(_0x48e4da){this[_0x316c4f(0xde)]['error'](_0x316c4f(0xbf),_0x48e4da),this['_clearUndo'](_0x33033b);}const _0x5639d3=this[_0x316c4f(0x241)](_0x33033b);if(_0x5639d3)try{const _0x5590b7=this[_0x316c4f(0x137)](_0x5639d3,_0xbb7699);this['_substituteRedoStack'](_0x33033b,_0x5590b7);}catch(_0x2b1672){this[_0x316c4f(0xde)][_0x316c4f(0x32f)](_0x2b1672),this[_0x316c4f(0x35d)](_0x33033b);}}[_0x72bb68(0xd7)](_0x4bde36){var _0x24c768=_0x72bb68;const _0x421117=this[_0x24c768(0x25c)](_0x4bde36);_0x421117&&(_0x421117[_0x24c768(0x182)]=0x0,this[_0x24c768(0x189)]());}['_clearRedo'](_0x1b2c15){var _0xb028b8=_0x72bb68;const _0x55cfe2=this[_0xb028b8(0x241)](_0x1b2c15);_0x55cfe2&&(_0x55cfe2['length']=0x0,this[_0xb028b8(0x189)]());}[_0x72bb68(0x2ae)](_0x1f5aa9,_0x3097c8){var _0x4614a3=_0x72bb68;this[_0x4614a3(0xd8)][_0x4614a3(0x1c2)](_0x1f5aa9,_0x3097c8),this[_0x4614a3(0x189)]();}[_0x72bb68(0x192)](_0x236006,_0x2ac3d4){var _0x2a73e5=_0x72bb68;this[_0x2a73e5(0x261)][_0x2a73e5(0x1c2)](_0x236006,_0x2ac3d4),this['_updateStatus']();}[_0x72bb68(0x137)](_0x443494,_0x19f593){var _0x577091=_0x72bb68;const _0x3f5229=[];let _0x576f0f=_0x19f593,_0x10813c=_0x19f593;for(let _0x348959=_0x443494[_0x577091(0x182)]-0x1;_0x348959>=0x0;_0x348959--){const {unitID:_0x280bcf,undoMutations:_0x5b8acf,redoMutations:_0x29d863}=_0x443494[_0x348959],_0x2026ef=this['_transformService']['transformMutationsWithChangeset'](_0x576f0f,_0x5b8acf),_0x4c2e06=this['_transformService'][_0x577091(0x16f)](_0x10813c,_0x29d863);if(_0x162bf7(_0x2026ef)||_0x162bf7(_0x4c2e06)){this[_0x577091(0xde)][_0x577091(0x32f)]('[CollaborationUndoRedoService]',_0x577091(0x266),_0x2026ef,_0x4c2e06);break;}_0x576f0f=_0x2026ef[_0x577091(0xf2)],_0x10813c=_0x4c2e06[_0x577091(0xf2)],_0x3f5229[_0x577091(0xe7)]({'unitID':_0x280bcf,'undoMutations':_0x2026ef[_0x577091(0x1df)],'redoMutations':_0x4c2e06[_0x577091(0x1df)]});}return _0x3f5229[_0x577091(0x1d3)]();}};yt=hr([we(0x0,_0x4aee63),we(0x1,_0xe29ee9),we(0x2,_0x27aafd),we(0x3,_0x13d105),we(0x4,_0x39af9e)],yt);var _r=Object['defineProperty'],lr=Object[_0x72bb68(0x159)],ur=(_0x5870e3,_0x1bbf51,_0x5e50a4)=>_0x1bbf51 in _0x5870e3?_r(_0x5870e3,_0x1bbf51,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e50a4}):_0x5870e3[_0x1bbf51]=_0x5e50a4,dr=(_0x3e0b6b,_0xc31c7c,_0x4f132c,_0xd5d430)=>{var _0x50f905=_0x72bb68;for(var _0x26ea1e=_0xd5d430>0x1?void 0x0:_0xd5d430?lr(_0xc31c7c,_0x4f132c):_0xc31c7c,_0x144428=_0x3e0b6b[_0x50f905(0x182)]-0x1,_0x4cb2c4;_0x144428>=0x0;_0x144428--)(_0x4cb2c4=_0x3e0b6b[_0x144428])&&(_0x26ea1e=_0x4cb2c4(_0x26ea1e)||_0x26ea1e);return _0x26ea1e;},mt=(_0x20ce02,_0x30b7ec)=>(_0x58a30e,_0x1c9a15)=>_0x30b7ec(_0x58a30e,_0x1c9a15,_0x20ce02),fr=(_0x549561,_0x480a32,_0x21f8af)=>ur(_0x549561,_0x480a32+'',_0x21f8af);const vr=_0x72bb68(0x218);let Nt=class extends _0x71670f{constructor(_0x183a74,_0x36c42c,_0x5183ab,_0x26fd9c){var _0x11c65b=_0x72bb68;super(),N(this,'_config'),(this[_0x11c65b(0xde)]=_0x36c42c,this[_0x11c65b(0x37c)]=_0x5183ab,this['_configService']=_0x26fd9c);const {..._0x41d188}=_0x262291({},Ds,_0x183a74);if(!_0x41d188[_0x11c65b(0x129)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x11c65b(0x2e4)]=_0x41d188,this[_0x11c65b(0x184)]['setConfig'](K,_0x41d188);}['onStarting'](){var _0x6a3f50=_0x72bb68;this[_0x6a3f50(0x9c)](),this['_initDependencies']();}[_0x72bb68(0x9c)](){var _0x5377e0=_0x72bb68,_0x469f10,_0x39a023;this[_0x5377e0(0x37c)][_0x5377e0(0xc9)](_0x1032f6)&&this[_0x5377e0(0xde)]['error'](_0x5377e0(0x172),_0x5377e0(0x2a4));const _0xa81583=_0x3bbf66([[_0x1032f6,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x5377e0(0x2e4)][_0x5377e0(0x129)]}],[_0x58f01b,{'useClass':Ot}],[_0x443b62,{'useClass':Tt}],[_0x47bf4f,{'useClass':Rt}],[_0x1a925e,{'useClass':bt}],[nt],[It]],(_0x469f10=this[_0x5377e0(0x2e4)])==null?void 0x0:_0x469f10['override']);if(!((_0x39a023=this[_0x5377e0(0x2e4)])!=null&&_0x39a023[_0x5377e0(0x183)])){const _0x1e4531=_0xa81583[_0x5377e0(0x323)](([_0xc4c699])=>_0xc4c699===ht);_0x1e4531!==-0x1&&_0xa81583[_0x5377e0(0xd5)](_0x1e4531,0x1);}_0x21f56c(this['_injector'],_0xa81583);}[_0x72bb68(0x17e)](){var _0x5cce9f=_0x72bb68,_0x210cc9,_0x2660fd,_0x5ea1be;this[_0x5cce9f(0x37c)][_0x5cce9f(0x283)](_0x4fe417)[_0x5cce9f(0x147)]({'priority':0x14,'interceptor':_0x46408f({'maxParallel':0x6})}),(_0x210cc9=this['_config'])!=null&&_0x210cc9[_0x5cce9f(0x249)]||(_0x2660fd=this[_0x5cce9f(0x37c)][_0x5cce9f(0x283)](J,_0x1a5943[_0x5cce9f(0x35c)]))==null||_0x2660fd['disableLocalCache'](),(_0x5ea1be=this[_0x5cce9f(0x2e4)])!=null&&_0x5ea1be[_0x5cce9f(0x2a9)]&&_0x4a48db(this[_0x5cce9f(0x37c)],[[rt]]),_0x4a48db(this[_0x5cce9f(0x37c)],[[at],[nt],[ot]]);}};fr(Nt,_0x72bb68(0x29e),vr),Nt=dr([_0x4e7c3d(_0x43fd45,_0x21ec6a),mt(0x1,_0x39af9e),mt(0x2,_0x41311f(_0x4cac68)),mt(0x3,_0x19233d)],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 _0x1f410c=_0x27f1;(function(_0x4c6095,_0x2d43f8){var _0x177829=_0x27f1,_0x3c8a0a=_0x4c6095();while(!![]){try{var _0x5d9ba3=parseInt(_0x177829(0x392))/0x1+-parseInt(_0x177829(0x3ad))/0x2*(-parseInt(_0x177829(0x46d))/0x3)+-parseInt(_0x177829(0x47a))/0x4+parseInt(_0x177829(0x441))/0x5+-parseInt(_0x177829(0x3c5))/0x6*(-parseInt(_0x177829(0x2ec))/0x7)+-parseInt(_0x177829(0x22c))/0x8*(-parseInt(_0x177829(0x340))/0x9)+-parseInt(_0x177829(0x409))/0xa;if(_0x5d9ba3===_0x2d43f8)break;else _0x3c8a0a['push'](_0x3c8a0a['shift']());}catch(_0x2a07aa){_0x3c8a0a['push'](_0x3c8a0a['shift']());}}}(_0x4034,0x4fdea));var Di=Object[_0x1f410c(0x3b4)],Ui=(_0x368d73,_0x34ae21,_0x273259)=>_0x34ae21 in _0x368d73?Di(_0x368d73,_0x34ae21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x273259}):_0x368d73[_0x34ae21]=_0x273259,N=(_0x1d0518,_0x3f9c6b,_0x563e3d)=>Ui(_0x1d0518,typeof _0x3f9c6b!='symbol'?_0x3f9c6b+'':_0x3f9c6b,_0x563e3d);import{createIdentifier as _0x2b7bcb,Inject as _0x1d307d,Injector as _0x1f649f,IConfigService as _0x22f7d3,ILogService as _0x419223,Disposable as _0x2d82af,DisposableCollection as _0x231f11,toDisposable as _0x381912,IUniverInstanceService as _0x505288,UserManagerService as _0x2e6851,UniverInstanceType as _0xd9e05c,LocaleService as _0x4c667f,Optional as _0x1c555d,RxDisposable as _0x2296f2,Tools as _0x888782,Rectangle as _0x2480d1,ICommandService as _0x435e17,JSONX as _0x1607d8,CommandType as _0x496c2c,IUndoRedoService as _0x2aacb6,IPermissionService as _0x42cef7,sequenceExecute as _0x377b5c,Workbook as _0x2fc179,MentionType as _0x48eb78,isInternalEditorID as _0x1e8b05,LocalUndoRedoService as _0x374b3a,IContextService as _0x5bc123,DependentOn as _0x55a2dc,Plugin as _0xd01ba0,merge as _0x5a7505,mergeOverrideWithDependencies as _0x160589,IAuthzIoService as _0x2f52c6,IMentionIOService as _0x2fad51,registerDependencies as _0x309664,Quantity as _0x4f4b83,touchDependencies as _0x4fb74e}from'@univerjs/core';import{Subject as _0x12df33,merge as _0x3da0cd,of as _0x512995,BehaviorSubject as _0x3ad19d,takeUntil as _0x3fc9bb,ReplaySubject as _0x47f35c,take as _0x16a73a,map as _0x440c6b,shareReplay as _0x233441,firstValueFrom as _0x37d6a0,concatMap as _0x37fff4}from'rxjs';import{map as _0x5a3746,take as _0x30f56f,filter as _0x3bc823,delay as _0x3c8a64,takeUntil as _0x5bf295}from'rxjs/operators';import{CollaborationEvent as _0x3c0371,ISnapshotServerService as _0x3c9739,parseChangesetToProtocol as _0x5b0ef9,ITransformService as _0x402e01,isTransformMutationsWithChangesetSuccess as _0x20cff5,mapDocumentTypeToUniverType as _0x56f215,RevisionService as _0xd49e7,isTransformChangesetsSuccess as _0xeee444,CompressMutationService as _0x3da6ce,parseProtocolChangeset as _0x28f714,uuidv4 as _0x4f4bda,SnapshotService as _0x1772ac,textEncoder as _0x336e25,b64DecodeUnicode as _0x372aa0,isTransformMutationsWithChangesetFailure as _0x59d287,UniverCollaborationPlugin as _0x131076}from'@univerjs-pro/collaboration';import{HTTPService as _0x23fee9,ISocketService as _0x45de68,MergeInterceptorFactory as _0x450f07,HTTPRequest as _0x566b0e,UniverNetworkPlugin as _0x1059b9,ThresholdInterceptorFactory as _0x311a92}from'@univerjs/network';import{ITelemetryService as _0x3b3ebe}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4b50f8}from'@univerjs/docs';import{SheetsSelectionsService as _0x793bad,SetSelectionsOperation as _0x33a069,InsertSheetMutation as _0x30ade4,EmptyMutation as _0x292b4e,WorkbookEditablePermission as _0x44663c,SheetPermissionInitController as _0x4fc439}from'@univerjs/sheets';import{ImageSourceType as _0x2ab728,ImageUploadStatusType as _0x44c606,IImageIoService as _0x1284da}from'@univerjs/drawing';import{getGlobalObject as _0x48d3ae}from'@univerjs-pro/license';const fs=_0x1f410c(0x3d4),vs=_0x1f410c(0x468),ps=_0x1f410c(0x215),yr=_0x1f410c(0x44a),ms=0x7d0,gs=_0x1f410c(0x1f1),Ss=_0x1f410c(0x1a9),Nr=_0x1f410c(0x381),Es=_0x1f410c(0x38f),Is=0x7530,fi=_0x1f410c(0x3d6),vi=0x4e20,Ts=0x4e20,Cs=_0x1f410c(0x2d2),Rs=0x3,Dr=_0x1f410c(0x2fa),Ur=0x3e8,bs=_0x1f410c(0x24f),Os='/universer-api/comb',ys='LOGIN_URL_KEY',Ns=_0x1f410c(0x44d),Ar='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',wr='/universer-api/uniscript';var pi=(_0x3bef62=>(_0x3bef62[_0x3bef62[_0x1f410c(0x1d2)]=0x0]=_0x1f410c(0x1d2),_0x3bef62[_0x3bef62['OK']=0x1]='OK',_0x3bef62[_0x3bef62[_0x1f410c(0x3c7)]=0x2]='INTERNAL_ERROR',_0x3bef62[_0x3bef62['PERMISSION_DENIED']=0x3]=_0x1f410c(0x2ff),_0x3bef62[_0x3bef62[_0x1f410c(0x471)]=0x4]=_0x1f410c(0x471),_0x3bef62[_0x3bef62[_0x1f410c(0x2a6)]=0x5]=_0x1f410c(0x2a6),_0x3bef62[_0x3bef62[_0x1f410c(0x31e)]=0x6]=_0x1f410c(0x31e),_0x3bef62[_0x3bef62[_0x1f410c(0x19e)]=0x7]=_0x1f410c(0x19e),_0x3bef62[_0x3bef62[_0x1f410c(0x47e)]=0x8]='TOO_MANY_REQUESTS',_0x3bef62[_0x3bef62['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x3bef62[_0x3bef62[_0x1f410c(0x39d)]=0xa]=_0x1f410c(0x39d),_0x3bef62[_0x3bef62[_0x1f410c(0x33a)]=0x1389]=_0x1f410c(0x33a),_0x3bef62[_0x3bef62[_0x1f410c(0x232)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3bef62[_0x3bef62[_0x1f410c(0x2bf)]=0x1772]=_0x1f410c(0x2bf),_0x3bef62[_0x3bef62[_0x1f410c(0x2f2)]=0x1773]=_0x1f410c(0x2f2),_0x3bef62[_0x3bef62[_0x1f410c(0x430)]=0x1b59]=_0x1f410c(0x430),_0x3bef62[_0x3bef62[_0x1f410c(0x45a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3bef62[_0x3bef62['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1f410c(0x3c4),_0x3bef62[_0x3bef62['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1f410c(0x469),_0x3bef62[_0x3bef62[_0x1f410c(0x3d5)]=0x1b5d]=_0x1f410c(0x3d5),_0x3bef62[_0x3bef62[_0x1f410c(0x224)]=0x1f41]=_0x1f410c(0x224),_0x3bef62[_0x3bef62[_0x1f410c(0x24a)]=0x2329]=_0x1f410c(0x24a),_0x3bef62[_0x3bef62[_0x1f410c(0x278)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3bef62[_0x3bef62[_0x1f410c(0x33f)]=0x232b]=_0x1f410c(0x33f),_0x3bef62[_0x3bef62['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3bef62[_0x3bef62['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x3bef62[_0x3bef62[_0x1f410c(0x201)]=0x2711]=_0x1f410c(0x201),_0x3bef62[_0x3bef62[_0x1f410c(0x37f)]=0x2712]=_0x1f410c(0x37f),_0x3bef62[_0x3bef62['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1f410c(0x2fd),_0x3bef62[_0x3bef62[_0x1f410c(0x324)]=0x2714]=_0x1f410c(0x324),_0x3bef62[_0x3bef62['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1f410c(0x217),_0x3bef62[_0x3bef62[_0x1f410c(0x314)]=0x271b]=_0x1f410c(0x314),_0x3bef62[_0x3bef62[_0x1f410c(0x30c)]=0x271c]=_0x1f410c(0x30c),_0x3bef62[_0x3bef62[_0x1f410c(0x302)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3bef62[_0x3bef62[_0x1f410c(0x36c)]=0x271e]=_0x1f410c(0x36c),_0x3bef62[_0x3bef62[_0x1f410c(0x3ef)]=0x271f]=_0x1f410c(0x3ef),_0x3bef62[_0x3bef62[_0x1f410c(0x460)]=0x2af9]=_0x1f410c(0x460),_0x3bef62[_0x3bef62[_0x1f410c(0x291)]=0x2ee1]=_0x1f410c(0x291),_0x3bef62[_0x3bef62['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x3bef62[_0x3bef62[_0x1f410c(0x432)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3bef62[_0x3bef62['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1f410c(0x2c3),_0x3bef62[_0x3bef62[_0x1f410c(0x306)]=0x2ee5]=_0x1f410c(0x306),_0x3bef62[_0x3bef62[_0x1f410c(0x334)]=0x32c9]=_0x1f410c(0x334),_0x3bef62[_0x3bef62[_0x1f410c(0x287)]=0x32ca]=_0x1f410c(0x287),_0x3bef62[_0x3bef62[_0x1f410c(0x40f)]=0x32cb]=_0x1f410c(0x40f),_0x3bef62[_0x3bef62[_0x1f410c(0x3c9)]=-0x1]='UNRECOGNIZED',_0x3bef62))(pi||{}),Z=(_0x4e44de=>(_0x4e44de[_0x4e44de[_0x1f410c(0x28e)]=0x0]=_0x1f410c(0x28e),_0x4e44de[_0x4e44de[_0x1f410c(0x212)]=0x1]=_0x1f410c(0x212),_0x4e44de[_0x4e44de['UNIVER_SHEET']=0x2]=_0x1f410c(0x3af),_0x4e44de[_0x4e44de[_0x1f410c(0x1f9)]=0x3]=_0x1f410c(0x1f9),_0x4e44de[_0x4e44de['UNIVER_PROJECT']=0x4]=_0x1f410c(0x470),_0x4e44de[_0x4e44de[_0x1f410c(0x3c9)]=-0x1]='UNRECOGNIZED',_0x4e44de))(Z||{}),F=(_0x507a67=>(_0x507a67[_0x507a67[_0x1f410c(0x374)]=0x0]='UNKNOWN_CMD',_0x507a67[_0x507a67[_0x1f410c(0x1b2)]=0x1]=_0x1f410c(0x1b2),_0x507a67[_0x507a67[_0x1f410c(0x186)]=0x2]=_0x1f410c(0x186),_0x507a67[_0x507a67[_0x1f410c(0x2e7)]=0x3]=_0x1f410c(0x2e7),_0x507a67[_0x507a67['INGEST']=0x4]=_0x1f410c(0x275),_0x507a67[_0x507a67[_0x1f410c(0x472)]=0x5]=_0x1f410c(0x472),_0x507a67[_0x507a67[_0x1f410c(0x3a2)]=0x6]=_0x1f410c(0x3a2),_0x507a67[_0x507a67[_0x1f410c(0x3c9)]=-0x1]='UNRECOGNIZED',_0x507a67))(F||{}),me=(_0x5d3f7c=>(_0x5d3f7c[_0x5d3f7c[_0x1f410c(0x35d)]=0x0]='UNKNOWN_CODE',_0x5d3f7c[_0x5d3f7c['OK']=0x1]='OK',_0x5d3f7c[_0x5d3f7c[_0x1f410c(0x2ce)]=0x2]=_0x1f410c(0x2ce),_0x5d3f7c[_0x5d3f7c[_0x1f410c(0x24d)]=0x3e9]=_0x1f410c(0x24d),_0x5d3f7c[_0x5d3f7c['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x1f410c(0x45d),_0x5d3f7c[_0x5d3f7c['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x1f410c(0x2fb),_0x5d3f7c[_0x5d3f7c['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x1f410c(0x32e),_0x5d3f7c[_0x5d3f7c[_0x1f410c(0x3c9)]=-0x1]=_0x1f410c(0x3c9),_0x5d3f7c))(me||{}),mi=(_0xcec4f7=>(_0xcec4f7[_0xcec4f7[_0x1f410c(0x1c6)]=0x0]=_0x1f410c(0x1c6),_0xcec4f7[_0xcec4f7[_0x1f410c(0x2d5)]=0x1]=_0x1f410c(0x2d5),_0xcec4f7[_0xcec4f7[_0x1f410c(0x3ae)]=0x2]=_0x1f410c(0x3ae),_0xcec4f7[_0xcec4f7['UnitEmbedded']=0x3]=_0x1f410c(0x2b9),_0xcec4f7[_0xcec4f7[_0x1f410c(0x243)]=0x4]=_0x1f410c(0x243),_0xcec4f7[_0xcec4f7[_0x1f410c(0x28a)]=0x5]=_0x1f410c(0x28a),_0xcec4f7[_0xcec4f7[_0x1f410c(0x3c9)]=-0x1]=_0x1f410c(0x3c9),_0xcec4f7))(mi||{});const K=_0x1f410c(0x240),Ds={};var ne=(_0x152388=>(_0x152388[_0x1f410c(0x39f)]=_0x1f410c(0x39f),_0x152388[_0x1f410c(0x2ff)]=_0x1f410c(0x2ff),_0x152388[_0x1f410c(0x2f0)]=_0x1f410c(0x2f0),_0x152388[_0x1f410c(0x2ed)]=_0x1f410c(0x2ed),_0x152388['JOIN_ROOM_FAILED']=_0x1f410c(0x37e),_0x152388['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x152388['SOCKET_FAILED']='SOCKET_FAILED',_0x152388[_0x1f410c(0x45b)]=_0x1f410c(0x45b),_0x152388))(ne||{});class ve{constructor(){var _0x2d6075=_0x1f410c;N(this,_0x2d6075(0x437),new _0x12df33()),N(this,'event$',this['_event$'][_0x2d6075(0x18b)]());}['emitEvent'](_0x4256c7){var _0x4daffb=_0x1f410c;this[_0x4daffb(0x437)][_0x4daffb(0x252)](_0x4256c7);}}const Us=_0x2b7bcb(_0x1f410c(0x426));function As(_0x48341d){var _0x22af20=_0x1f410c,_0x2e2af8,_0x1ad4b1,_0x5baad6,_0x4f5f93,_0x466473;const _0x28c7bc=_0x48341d[_0x22af20(0x2ad)],_0x56cbfa=JSON['parse'](_0x28c7bc);switch(_0x56cbfa[_0x22af20(0x1cd)]){case F[_0x22af20(0x472)]:case F['HELLO']:{const _0x16887c=_0x56cbfa[_0x22af20(0x3db)];return{..._0x56cbfa,'data':_0x16887c,'cmd':_0x56cbfa[_0x22af20(0x1cd)]};}case F[_0x22af20(0x186)]:{const _0x2a6c89=_0x56cbfa['joinRsp'];return{..._0x56cbfa,'data':_0x2a6c89,'cmd':_0x56cbfa['cmd']};}case F[_0x22af20(0x3a2)]:{const _0xf39a07=_0x56cbfa[_0x22af20(0x1a1)];switch(_0xf39a07['eventID']){case _0x3c0371['PERMISSION_REJ']:return{..._0x56cbfa,'data':{..._0xf39a07,'data':(_0x2e2af8=_0xf39a07[_0x22af20(0x19b)])==null?void 0x0:_0x2e2af8['cs']},'cmd':_0x56cbfa['cmd']};case _0x3c0371['CHANGESET_ACK']:return{..._0x56cbfa,'data':{..._0xf39a07,'data':(_0x1ad4b1=_0xf39a07['csAckEvent'])==null?void 0x0:_0x1ad4b1['cs']},'cmd':_0x56cbfa['cmd']};case _0x3c0371[_0x22af20(0x449)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':(_0x5baad6=_0xf39a07[_0x22af20(0x1a5)])==null?void 0x0:_0x5baad6['cs']},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x36d)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':(_0x4f5f93=_0xf39a07['csRejEvent'])==null?void 0x0:_0x4f5f93['cs']},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x35b)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':(_0x466473=_0xf39a07[_0x22af20(0x21f)])==null?void 0x0:_0x466473['cs']},'cmd':_0x56cbfa['cmd']};case _0x3c0371[_0x22af20(0x192)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x2b6)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371['USERS_ENTER']:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07['joinEvent']},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x44e)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07['leaveEvent']},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x323)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x358)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x229)]:case _0x3c0371[_0x22af20(0x219)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x387)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371['LIVESHARE_TERMINATE']:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x358)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371['MSG_FOR_ERROR']:return{..._0x56cbfa,'data':_0xf39a07,'cmd':_0x56cbfa['cmd']};case _0x3c0371[_0x22af20(0x301)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x417)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x299)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07['updatePermissionObjEvent']},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x421)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x25e)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};case _0x3c0371[_0x22af20(0x3be)]:return{..._0x56cbfa,'data':{..._0xf39a07,'data':_0xf39a07[_0x22af20(0x362)]},'cmd':_0x56cbfa[_0x22af20(0x1cd)]};default:return _0x56cbfa;}}default:return _0x56cbfa;}}function ws(_0x5c8866){var _0x24c01a=_0x1f410c;switch(_0x5c8866[_0x24c01a(0x1cd)]){case F[_0x24c01a(0x472)]:case F[_0x24c01a(0x1b2)]:return JSON[_0x24c01a(0x322)]({'cmd':_0x5c8866[_0x24c01a(0x1cd)],'routeKey':_0x5c8866[_0x24c01a(0x230)]});case F[_0x24c01a(0x275)]:{let _0x1cd5d5;switch(_0x5c8866['data'][_0x24c01a(0x1a8)]){case _0x3c0371['UPDATE_CURSOR']:{_0x1cd5d5={'eventID':_0x3c0371['UPDATE_CURSOR'],'updateCursorEvent':_0x5c8866[_0x24c01a(0x2ad)][_0x24c01a(0x2ad)]};break;}case _0x3c0371[_0x24c01a(0x44e)]:{_0x1cd5d5={'eventID':_0x3c0371[_0x24c01a(0x44e)],'leaveEvent':_0x5c8866['data']['data']};break;}case _0x3c0371['USERS_ENTER']:{_0x1cd5d5={'eventID':_0x3c0371[_0x24c01a(0x363)],'joinEvent':_0x5c8866[_0x24c01a(0x2ad)][_0x24c01a(0x2ad)]};break;}case _0x3c0371[_0x24c01a(0x323)]:{_0x1cd5d5={'eventID':_0x3c0371[_0x24c01a(0x323)],'liveShareNewHost':_0x5c8866['data'][_0x24c01a(0x2ad)]};break;}case _0x3c0371[_0x24c01a(0x219)]:{_0x1cd5d5={'eventID':_0x3c0371[_0x24c01a(0x219)],'liveShareOperation':_0x5c8866[_0x24c01a(0x2ad)][_0x24c01a(0x2ad)]};break;}case _0x3c0371[_0x24c01a(0x2f8)]:{_0x1cd5d5={'eventID':_0x3c0371[_0x24c01a(0x2f8)],'liveShareTerminate':_0x5c8866[_0x24c01a(0x2ad)][_0x24c01a(0x2ad)]};break;}case _0x3c0371[_0x24c01a(0x250)]:{_0x1cd5d5={'eventID':_0x3c0371[_0x24c01a(0x250)],'liveShareRequestHost':_0x5c8866[_0x24c01a(0x2ad)][_0x24c01a(0x2ad)]};break;}case _0x3c0371['LIVESHARE_FETCH_OPERATIONS']:{_0x1cd5d5={'eventID':_0x3c0371['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1cd5d5={'eventID':_0x5c8866[_0x24c01a(0x2ad)][_0x24c01a(0x1a8)]};}return JSON[_0x24c01a(0x322)]({'cmd':_0x5c8866[_0x24c01a(0x1cd)],'routeKey':_0x5c8866[_0x24c01a(0x230)],'collaMsg':_0x1cd5d5});}case F['JOIN']:return JSON[_0x24c01a(0x322)]({'cmd':_0x5c8866[_0x24c01a(0x1cd)],'routeKey':_0x5c8866[_0x24c01a(0x230)],'joinReq':_0x5c8866[_0x24c01a(0x2ad)]});case F[_0x24c01a(0x2e7)]:return JSON[_0x24c01a(0x322)]({'cmd':_0x5c8866[_0x24c01a(0x1cd)],'routeKey':_0x5c8866[_0x24c01a(0x230)],'leaveReq':_0x5c8866[_0x24c01a(0x2ad)]});default:throw new Error(_0x24c01a(0x45e));}}var Ps=Object[_0x1f410c(0x2a4)],Ls=(_0x22f02b,_0x3b7368,_0xe7f106,_0x164f06)=>{for(var _0x3b2640=_0x164f06>0x1?void 0x0:_0x164f06?Ps(_0x3b7368,_0xe7f106):_0x3b7368,_0x4c104f=_0x22f02b['length']-0x1,_0x4cfd20;_0x4c104f>=0x0;_0x4c104f--)(_0x4cfd20=_0x22f02b[_0x4c104f])&&(_0x3b2640=_0x4cfd20(_0x3b2640)||_0x3b2640);return _0x3b2640;},Ue=(_0x445f13,_0x2fd1b5)=>(_0x2ffcca,_0x3363db)=>_0x2fd1b5(_0x2ffcca,_0x3363db,_0x445f13);const gi=_0x2b7bcb(_0x1f410c(0x1d9));function Ms(_0x3dbb06,_0xc51e57,_0x13626c){var _0x294057=_0x1f410c;return _0x3dbb06+'/'+_0xc51e57+'/unit/'+_0x13626c+_0x294057(0x3e3);}let Ft=class extends _0x2d82af{constructor(_0x6e0b60,_0x5ae5e7,_0x5be064,_0xcf36d0,_0x3d40de){var _0x3ddc22=_0x1f410c;super(),this['_injector']=_0x6e0b60,this[_0x3ddc22(0x395)]=_0x5ae5e7,this['_configService']=_0x5be064,this['_logService']=_0xcf36d0,this[_0x3ddc22(0x22d)]=_0x3d40de;}[_0x1f410c(0x300)](_0x61a4c5){var _0x2e7fe2=_0x1f410c;const _0x477da7=this[_0x2e7fe2(0x3e9)][_0x2e7fe2(0x1f6)](_0x45de68);if(!_0x477da7)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0xf0d768=_0x477da7['createSocket'](_0x61a4c5);if(!_0xf0d768)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0xecbe9e=new _0x231f11(),_0x170133=new _0x12df33();_0xecbe9e[_0x2e7fe2(0x203)](_0xf0d768[_0x2e7fe2(0x279)]['subscribe'](_0x2d782b=>_0x170133[_0x2e7fe2(0x252)](_0x2d782b))),_0xecbe9e[_0x2e7fe2(0x203)](_0x381912(()=>_0x170133[_0x2e7fe2(0x1d3)]()));const _0xf8439b=new _0x12df33();_0xecbe9e[_0x2e7fe2(0x203)](_0xf0d768[_0x2e7fe2(0x1fc)][_0x2e7fe2(0x2f1)](_0x39731=>_0xf8439b['next'](_0x39731))),_0xecbe9e[_0x2e7fe2(0x203)](_0x381912(()=>_0xf8439b['complete']()));const _0x11cf58=new _0x12df33();_0xecbe9e[_0x2e7fe2(0x203)](_0xf0d768[_0x2e7fe2(0x394)]['subscribe'](_0x1d6031=>{var _0x268ceb=_0x2e7fe2;const _0x2cda4b=As(_0x1d6031);_0x11cf58[_0x268ceb(0x252)](_0x2cda4b);})),_0xecbe9e[_0x2e7fe2(0x203)](_0x381912(()=>_0x11cf58[_0x2e7fe2(0x1d3)]()));let _0x425966;const _0x1f4082=()=>{var _0x286ee9=_0x2e7fe2;_0xf8439b['next'](new Event(_0x286ee9(0x39a))),_0x170133[_0x286ee9(0x252)](new Event('connection\x20error')),_0x425966['close']();};return _0x425966={'memberID':'','close$':_0x170133[_0x2e7fe2(0x18b)](),'error$':_0xf8439b['asObservable'](),'open$':_0xf0d768[_0x2e7fe2(0x3e6)],'message$':_0x11cf58[_0x2e7fe2(0x18b)](),'send':_0xf6ee42=>{var _0x157450=_0x2e7fe2;if(_0xf6ee42[_0x157450(0x1cd)]===F[_0x157450(0x275)]){if(_0xf6ee42[_0x157450(0x2ad)][_0x157450(0x1a8)]===_0x3c0371[_0x157450(0x410)]){this[_0x157450(0x332)](_0x425966,_0xf6ee42[_0x157450(0x2ad)])[_0x157450(0x427)](_0x1d68a4=>{var _0x32676c=_0x157450;this[_0x32676c(0x320)]['error'](_0x1d68a4),_0x1f4082();});return;}if(_0xf6ee42['data']['eventID']===_0x3c0371[_0x157450(0x39c)]){const _0x337a62=_0xf6ee42[_0x157450(0x2ad)];this['_fetchMissChangesets'](_0x337a62)['then'](_0x90bc47=>{var _0x30666c=_0x157450;_0x11cf58[_0x30666c(0x252)]({'cmd':F[_0x30666c(0x3a2)],'code':me['OK'],'routeKey':_0x337a62[_0x30666c(0x2ad)][_0x30666c(0x47c)],'routeType':'','data':{'eventID':_0x3c0371[_0x30666c(0x41b)],'data':{'changesets':_0x90bc47}}});})[_0x157450(0x427)](_0x489049=>{var _0x1f130a=_0x157450;this[_0x1f130a(0x320)][_0x1f130a(0x1a2)](_0x489049),_0x1f4082();});return;}}_0xf0d768[_0x157450(0x266)](ws(_0xf6ee42));},'close':()=>{var _0x3f0bad=_0x2e7fe2;_0xf0d768[_0x3f0bad(0x3bb)](),_0xecbe9e[_0x3f0bad(0x30a)]();}},_0x425966;}async['_submitChangeset'](_0x562ce5,_0x379b73){var _0x5082b6=_0x1f410c,_0x487655,_0x2a8340;const {unitType:_0x36e652,unitID:_0x28e657,changeset:_0x17abee}=_0x379b73[_0x5082b6(0x2ad)],_0x8c64ca={'unitID':_0x28e657,'memberID':_0x562ce5[_0x5082b6(0x42e)],'type':_0x36e652,'changeset':_0x5b0ef9(_0x17abee)},_0x503dfe=this[_0x5082b6(0x3bc)][_0x5082b6(0x1e6)](bs),_0x3cb95a=this[_0x5082b6(0x3bc)]['getConfig'](K),_0x37beae=Ms((_0x2a8340=(_0x487655=_0x3cb95a==null?void 0x0:_0x3cb95a[_0x5082b6(0x26a)])!=null?_0x487655:_0x503dfe)!=null?_0x2a8340:Os,_0x36e652,_0x28e657);try{await this[_0x5082b6(0x395)]['post'](_0x37beae,{'body':_0x8c64ca});}catch(_0x2b5518){throw this['_logService'][_0x5082b6(0x1a2)](_0x5082b6(0x19d),_0x5082b6(0x402)),_0x2b5518;}}async[_0x1f410c(0x286)](_0x38c64d){var _0x131431=_0x1f410c;const {unitID:_0x545549,from:_0x119af6,to:_0x58dd2e,unitType:_0x3e7ec3}=_0x38c64d[_0x131431(0x2ad)];return(await this[_0x131431(0x22d)][_0x131431(0x47d)]({'metadata':void 0x0},{'unitID':_0x545549,'type':_0x3e7ec3,'from':_0x119af6,'to':_0x58dd2e}))[_0x131431(0x3ce)];}};Ft=Ls([Ue(0x0,_0x1d307d(_0x1f649f)),Ue(0x1,_0x1d307d(_0x23fee9)),Ue(0x2,_0x22f7d3),Ue(0x3,_0x419223),Ue(0x4,_0x3c9739)],Ft);const xs=_0x1f410c(0x1df);function ks(_0x5c0e69){var _0x176abb=_0x1f410c;return JSON['stringify'](_0x5c0e69)[_0x176abb(0x380)];}class Si{constructor(){var _0x36a0f0=_0x1f410c;N(this,_0x36a0f0(0x2c4),new _0x12df33()),N(this,_0x36a0f0(0x2ee),this[_0x36a0f0(0x2c4)][_0x36a0f0(0x18b)]());}[_0x1f410c(0x3a7)](_0x2b1106){var _0x2fe1df=_0x1f410c;this[_0x2fe1df(0x2c4)][_0x2fe1df(0x252)](_0x2b1106);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x3d5eac,_0x5428ba,_0x1ca013,_0x381523)=>{var _0x36e0f9=_0x1f410c;for(var _0x1e2720=_0x381523>0x1?void 0x0:_0x381523?$s(_0x5428ba,_0x1ca013):_0x5428ba,_0x3b4ff0=_0x3d5eac[_0x36e0f9(0x380)]-0x1,_0x1d2803;_0x3b4ff0>=0x0;_0x3b4ff0--)(_0x1d2803=_0x3d5eac[_0x3b4ff0])&&(_0x1e2720=_0x1d2803(_0x1e2720)||_0x1e2720);return _0x1e2720;},Vt=(_0x345f12,_0x7ddced)=>(_0x161bf9,_0x49542d)=>_0x7ddced(_0x161bf9,_0x49542d,_0x345f12);let Pe=class extends _0x2d82af{constructor(_0x56e12e,_0x3a8aef){var _0x2c51fd=_0x1f410c;super(),N(this,_0x2c51fd(0x180),new Map()),N(this,'_roomCreated$',new _0x12df33()),(this[_0x2c51fd(0x181)]=_0x56e12e,this[_0x2c51fd(0x416)]=_0x3a8aef,this['disposeWithMe'](_0x3da0cd(this[_0x2c51fd(0x181)]['getTypeOfUnitDisposed$'](_0xd9e05c['UNIVER_SHEET'])[_0x2c51fd(0x2c5)](_0x5a3746(_0x3a49f3=>_0x3a49f3[_0x2c51fd(0x31c)]())),this['_univerInstanceService'][_0x2c51fd(0x446)](_0xd9e05c['UNIVER_DOC'])[_0x2c51fd(0x2c5)](_0x5a3746(_0x451308=>_0x451308[_0x2c51fd(0x31c)]())),this[_0x2c51fd(0x181)][_0x2c51fd(0x446)](_0xd9e05c[_0x2c51fd(0x1f9)])['pipe'](_0x5a3746(_0x596360=>_0x596360['getUnitId']())))[_0x2c51fd(0x2f1)](_0x3f5154=>this[_0x2c51fd(0x3bd)](_0x3f5154))));}['waitForRoom$'](_0x3c93ac){var _0x744de3=_0x1f410c;return this['_roomMembers']['has'](_0x3c93ac)?_0x512995(this[_0x744de3(0x180)][_0x744de3(0x1f6)](_0x3c93ac)):this['_roomCreated$'][_0x744de3(0x2c5)](_0x5a3746(_0x434331=>{var _0x449e80=_0x744de3;if(_0x434331===_0x3c93ac)return this[_0x449e80(0x180)][_0x449e80(0x1f6)](_0x434331);}));}[_0x1f410c(0x39b)](_0x4ffa32){var _0x347d64=_0x1f410c;this[_0x347d64(0x416)]['setCurrentUser'](_0x4ffa32);}[_0x1f410c(0x407)](){var _0x540e4b=_0x1f410c;return this['_userManagerService'][_0x540e4b(0x407)]();}[_0x1f410c(0x330)](_0x1f8b34,_0x40d60f){var _0x5c6739=_0x1f410c;let _0x5ed45c=this[_0x5c6739(0x180)][_0x5c6739(0x1f6)](_0x1f8b34);_0x5ed45c||(_0x5ed45c=new Bs(),this[_0x5c6739(0x180)][_0x5c6739(0x32a)](_0x1f8b34,_0x5ed45c),this[_0x5c6739(0x220)][_0x5c6739(0x252)](_0x1f8b34)),_0x5ed45c[_0x5c6739(0x330)](_0x40d60f);}[_0x1f410c(0x473)](_0x35d6df,_0x1cde22){var _0x3ed6c3=_0x1f410c;const _0x7aa5d=this[_0x3ed6c3(0x180)][_0x3ed6c3(0x1f6)](_0x35d6df);_0x7aa5d&&_0x7aa5d[_0x3ed6c3(0x473)](_0x1cde22);}[_0x1f410c(0x29a)](_0x109ee0){var _0x233fe0=_0x1f410c;return this[_0x233fe0(0x180)][_0x233fe0(0x1f6)](_0x109ee0);}[_0x1f410c(0x1ef)](_0x1c5cb7,_0x1585af){var _0x3911df=_0x1f410c;const _0x4502ea=this['_roomMembers'][_0x3911df(0x1f6)](_0x1c5cb7);if(_0x4502ea)return _0x4502ea[_0x3911df(0x1ef)](_0x1585af);}[_0x1f410c(0x3bd)](_0x2c989d){var _0x3a799a=_0x1f410c;const _0x1ab604=this[_0x3a799a(0x180)][_0x3a799a(0x1f6)](_0x2c989d);_0x1ab604&&(_0x1ab604['dispose'](),this[_0x3a799a(0x180)][_0x3a799a(0x41d)](_0x2c989d));}['dispose'](){var _0x1a93b1=_0x1f410c;this[_0x1a93b1(0x180)][_0x1a93b1(0x2c8)](_0x1c5ef0=>_0x1c5ef0[_0x1a93b1(0x30a)]()),this['_roomMembers'][_0x1a93b1(0x34d)](),this['_roomCreated$'][_0x1a93b1(0x1d3)]();}};Pe=Hs([Vt(0x0,_0x505288),Vt(0x1,_0x1d307d(_0x2e6851))],Pe);class Bs extends _0x2d82af{constructor(){var _0x2bed5f=_0x1f410c;super(...arguments),N(this,_0x2bed5f(0x46e),new Map()),N(this,_0x2bed5f(0x268),new _0x3ad19d(this[_0x2bed5f(0x46e)])),N(this,_0x2bed5f(0x22f),this[_0x2bed5f(0x268)]['asObservable']());}['dispose'](){var _0xdc8836=_0x1f410c;this[_0xdc8836(0x46e)][_0xdc8836(0x34d)]();}[_0x1f410c(0x330)](_0x163556){var _0x1d0a2f=_0x1f410c;this[_0x1d0a2f(0x46e)]['set'](_0x163556[_0x1d0a2f(0x42e)],_0x163556),this['_emitMembers']();}[_0x1f410c(0x473)](_0x49cebe){var _0x2d1cf0=_0x1f410c;this[_0x2d1cf0(0x46e)]['delete'](_0x49cebe);}[_0x1f410c(0x1ef)](_0x3e67d7){var _0x2de575=_0x1f410c;return this[_0x2de575(0x46e)][_0x2de575(0x1f6)](_0x3e67d7);}[_0x1f410c(0x265)](){var _0x40c96d=_0x1f410c;return Array[_0x40c96d(0x20b)](this['_members']['values']());}[_0x1f410c(0x241)](){var _0x136fd8=_0x1f410c;this[_0x136fd8(0x268)][_0x136fd8(0x252)](this[_0x136fd8(0x46e)]);}}var js=Object[_0x1f410c(0x2a4)],Fs=(_0x2af964,_0x2dacf4,_0x70bb89,_0x5265f5)=>{for(var _0x10ca7e=_0x5265f5>0x1?void 0x0:_0x5265f5?js(_0x2dacf4,_0x70bb89):_0x2dacf4,_0x3a7f17=_0x2af964['length']-0x1,_0x2ac676;_0x3a7f17>=0x0;_0x3a7f17--)(_0x2ac676=_0x2af964[_0x3a7f17])&&(_0x10ca7e=_0x2ac676(_0x10ca7e)||_0x10ca7e);return _0x10ca7e;},pe=(_0x4b1739,_0x330658)=>(_0x258a65,_0x442cc9)=>_0x330658(_0x258a65,_0x442cc9,_0x4b1739),Se=(_0x434f3d=>(_0x434f3d[_0x434f3d[_0x1f410c(0x1de)]=0x0]='IDLE',_0x434f3d[_0x434f3d['JOINING']=0x1]='JOINING',_0x434f3d[_0x434f3d[_0x1f410c(0x1bc)]=0x2]='OFFLINE',_0x434f3d[_0x434f3d[_0x1f410c(0x384)]=0x3]=_0x1f410c(0x384),_0x434f3d))(Se||{});const Gt={[me[_0x1f410c(0x2ce)]]:'session.join-failed',[me[_0x1f410c(0x24d)]]:_0x1f410c(0x445),[me[_0x1f410c(0x45d)]]:_0x1f410c(0x40a),[me['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[me[_0x1f410c(0x32e)]]:_0x1f410c(0x1f5)};let gt=class extends _0x2296f2{constructor(_0x1095e2,_0x2d6abf,_0x1846fd,_0x19c698,_0x2196d1,_0x59705e,_0x415945,_0x153486,_0x26a3fa){var _0x4ace42=_0x1f410c;super(),N(this,_0x4ace42(0x1d0),new _0x3ad19d(0x0)),N(this,_0x4ace42(0x27b),this[_0x4ace42(0x1d0)][_0x4ace42(0x18b)]()),N(this,_0x4ace42(0x437),new _0x12df33()),N(this,_0x4ace42(0x38c),this[_0x4ace42(0x437)][_0x4ace42(0x18b)]()),N(this,_0x4ace42(0x1b1)),N(this,_0x4ace42(0x42c)),N(this,'_collaborationTimeoutTimer'),N(this,_0x4ace42(0x378),!0x1),N(this,'_telemetryInfo',null),(this[_0x4ace42(0x401)]=_0x1095e2,this[_0x4ace42(0x320)]=_0x1846fd,this[_0x4ace42(0x3bc)]=_0x19c698,this[_0x4ace42(0x249)]=_0x2196d1,this[_0x4ace42(0x434)]=_0x59705e,this[_0x4ace42(0x2cf)]=_0x415945,this[_0x4ace42(0x425)]=_0x153486,this[_0x4ace42(0x478)]=_0x26a3fa,this[_0x4ace42(0x378)]=!!this['_telemetryService'],_0x2d6abf[_0x4ace42(0x2c5)](_0x3fc9bb(this[_0x4ace42(0x36b)]))[_0x4ace42(0x2f1)](_0x139567=>{var _0xd507bc=_0x4ace42,_0x1988fa;typeof _0x139567>'u'||(this[_0xd507bc(0x1b1)]=_0x139567,_0x139567?(this['_joinRoom'](_0x139567),this[_0xd507bc(0x42c)]=_0x139567[_0xd507bc(0x394)]['subscribe'](_0x284759=>{var _0x47ec9d=_0xd507bc;_0x284759[_0x47ec9d(0x230)]===this[_0x47ec9d(0x401)]&&this['_onCombEvent'](_0x284759);})):(this[_0xd507bc(0x1bf)](),this[_0xd507bc(0x1d0)][_0xd507bc(0x252)](0x2),(_0x1988fa=this[_0xd507bc(0x42c)])==null||_0x1988fa['unsubscribe'](),this[_0xd507bc(0x42c)]=null));}));}get['sessionStatus'](){var _0x2e15ec=_0x1f410c;return this[_0x2e15ec(0x1d0)]['getValue']();}[_0x1f410c(0x2dd)](){var _0x4690ca=_0x1f410c,_0x182dd9,_0x3567c4;return(_0x3567c4=(_0x182dd9=this[_0x4690ca(0x1b1)])==null?void 0x0:_0x182dd9['memberID'])!=null?_0x3567c4:null;}[_0x1f410c(0x30a)](){var _0x13391a=_0x1f410c;super[_0x13391a(0x30a)](),this['dispose$'][_0x13391a(0x252)](),this['dispose$'][_0x13391a(0x1d3)]();}[_0x1f410c(0x3bb)](){var _0x2cd517=_0x1f410c,_0x3fb423,_0x2e4b2e;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3fb423=this[_0x2cd517(0x1b1)])==null||_0x3fb423[_0x2cd517(0x266)]({'cmd':F[_0x2cd517(0x2e7)],'data':{'roomID':this[_0x2cd517(0x401)]}}),(_0x2e4b2e=this[_0x2cd517(0x1b1)])==null||_0x2e4b2e[_0x2cd517(0x3bb)](),this['_event$'][_0x2cd517(0x1d3)](),this[_0x2cd517(0x1d0)]['complete'](),this[_0x2cd517(0x30a)]();}['_onCombEvent'](_0x25d681){var _0x111968=_0x1f410c;_0x25d681[_0x111968(0x1cd)]===F[_0x111968(0x186)]?this[_0x111968(0x474)](_0x25d681):_0x25d681[_0x111968(0x1cd)]===F['RECV']&&this[_0x111968(0x440)](_0x25d681);}['_joinRoom'](_0x4752a5){var _0x15fb97=_0x1f410c;this[_0x15fb97(0x1d0)]['next'](0x1),_0x4752a5[_0x15fb97(0x266)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x15fb97(0x401)]}]}});}[_0x1f410c(0x474)](_0x2e38bc){var _0x2e6725=_0x1f410c,_0x38d4a2;if(_0x2e38bc[_0x2e6725(0x2a7)]in Gt){this[_0x2e6725(0x425)]['emitEvent']({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x2e38bc[_0x2e6725(0x2a7)]]}),this['_sessionStatus$'][_0x2e6725(0x252)](0x2);return;}this[_0x2e6725(0x1d0)][_0x2e6725(0x252)](0x3);const _0x33171c=(_0x38d4a2=_0x2e38bc[_0x2e6725(0x2ad)][_0x2e6725(0x29d)][this[_0x2e6725(0x401)]])==null?void 0x0:_0x38d4a2[_0x2e6725(0x36e)];_0x33171c&&_0x33171c[_0x2e6725(0x2c8)](_0x2cc923=>this[_0x2e6725(0x434)][_0x2e6725(0x330)](this[_0x2e6725(0x401)],_0x2cc923));}[_0x1f410c(0x440)](_0x1889a0){var _0x171d8f=_0x1f410c;try{const _0xb67f41=_0x1889a0[_0x171d8f(0x2ad)];switch(_0xb67f41['eventID']){case _0x3c0371[_0x171d8f(0x363)]:this['_onUserJoin'](_0xb67f41),this[_0x171d8f(0x437)][_0x171d8f(0x252)](_0xb67f41);break;case _0x3c0371['USERS_LEAVE']:this[_0x171d8f(0x31d)](_0xb67f41),this[_0x171d8f(0x437)]['next'](_0xb67f41);break;case _0x3c0371[_0x171d8f(0x183)]:case _0x3c0371[_0x171d8f(0x35b)]:this[_0x171d8f(0x38a)](),this[_0x171d8f(0x475)](),this[_0x171d8f(0x437)][_0x171d8f(0x252)](_0xb67f41);break;case _0x3c0371[_0x171d8f(0x465)]:this[_0x171d8f(0x320)]['error'](_0x171d8f(0x2b8)+JSON[_0x171d8f(0x322)](_0xb67f41)),this[_0x171d8f(0x437)]['next'](_0xb67f41);break;case _0x3c0371[_0x171d8f(0x301)]:this[_0x171d8f(0x2cf)][_0x171d8f(0x3a7)](_0xb67f41[_0x171d8f(0x2ad)]),this['_event$'][_0x171d8f(0x252)](_0xb67f41);break;default:this[_0x171d8f(0x437)]['next'](_0xb67f41);}}catch(_0x24866b){this[_0x171d8f(0x320)][_0x171d8f(0x1a2)](_0x24866b,_0x1889a0);}}[_0x1f410c(0x2d4)](_0x4a7d8b){var _0x8acad1=_0x1f410c;this['_memberService'][_0x8acad1(0x330)](this[_0x8acad1(0x401)],_0x4a7d8b['data']);}[_0x1f410c(0x31d)](_0x10fbcb){var _0x401292=_0x1f410c;this[_0x401292(0x434)]['removeMember'](this[_0x401292(0x401)],_0x10fbcb[_0x401292(0x2ad)][_0x401292(0x42e)]);}async[_0x1f410c(0x266)](_0x379a06,_0x28de7d){var _0x7f62b7=_0x1f410c;if(this[_0x7f62b7(0x18d)]!==0x3||!this['_socket'])throw new Error(_0x7f62b7(0x423));try{_0x379a06[_0x7f62b7(0x1a8)]===_0x3c0371[_0x7f62b7(0x410)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x7f62b7(0x263)](_0x379a06)),this[_0x7f62b7(0x1b1)][_0x7f62b7(0x266)]({'cmd':F[_0x7f62b7(0x275)],'routeKey':_0x28de7d,'routeType':'','data':_0x379a06});}catch(_0x102010){this[_0x7f62b7(0x320)]['error'](_0x102010);}}[_0x1f410c(0x2af)](){var _0x1f6a8d=_0x1f410c,_0x486c42;this[_0x1f6a8d(0x2bc)]=setTimeout(()=>{var _0x47494c=_0x1f6a8d;this[_0x47494c(0x2bc)]=null,this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x47494c(0x45b)]});},(_0x486c42=this['_configService'][_0x1f6a8d(0x1e6)](fi))!=null?_0x486c42:vi);}[_0x1f410c(0x475)](){var _0x2a6edf=_0x1f410c;this[_0x2a6edf(0x2bc)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x1f410c(0x263)](_0x571524){var _0x1469fc=_0x1f410c;if(!this[_0x1469fc(0x378)])return;const {data:_0x3fca4a}=_0x571524,{unitID:_0x23c421,changeset:_0x657424}=_0x3fca4a,{mutations:_0x15c3ed,type:_0x234a6b}=_0x657424;this['_telemetryInfo']={'unitId':_0x23c421,'type':_0x234a6b,'startTime':performance[_0x1469fc(0x3de)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x15c3ed)};}[_0x1f410c(0x38a)](){var _0x5d08c4=_0x1f410c;if(this[_0x5d08c4(0x378)]){if(!this[_0x5d08c4(0x3f7)]){this[_0x5d08c4(0x320)]['error']('[CollaborationSession]',_0x5d08c4(0x398));return;}this[_0x5d08c4(0x3f7)][_0x5d08c4(0x461)]=performance['now'](),this[_0x5d08c4(0x3f7)][_0x5d08c4(0x22e)]=this[_0x5d08c4(0x3f7)]['stopTime']-this[_0x5d08c4(0x3f7)]['startTime'],this['_telemetryService'][_0x5d08c4(0x273)](xs,this[_0x5d08c4(0x3f7)]),this[_0x5d08c4(0x3f7)]=null;}}[_0x1f410c(0x1bf)](){this['_telemetryInfo']=null;}};gt=Fs([pe(0x2,_0x419223),pe(0x3,_0x22f7d3),pe(0x4,_0x1d307d(_0x4c667f)),pe(0x5,_0x1d307d(Pe)),pe(0x6,_0x1d307d(Si)),pe(0x7,_0x1d307d(ve)),pe(0x8,_0x1c555d(_0x3b3ebe))],gt);var Vs=Object['getOwnPropertyDescriptor'],Gs=(_0x230b34,_0x9e8aa5,_0xfd246c,_0x17c163)=>{var _0x5a8c8d=_0x1f410c;for(var _0x329f93=_0x17c163>0x1?void 0x0:_0x17c163?Vs(_0x9e8aa5,_0xfd246c):_0x9e8aa5,_0x3c091c=_0x230b34[_0x5a8c8d(0x380)]-0x1,_0x5da34b;_0x3c091c>=0x0;_0x3c091c--)(_0x5da34b=_0x230b34[_0x3c091c])&&(_0x329f93=_0x5da34b(_0x329f93)||_0x329f93);return _0x329f93;},Re=(_0x5cd7ab,_0x2a949e)=>(_0x3d84cf,_0x49744f)=>_0x2a949e(_0x3d84cf,_0x49744f,_0x5cd7ab);let Le=class extends _0x2d82af{constructor(_0x4dd7b4,_0x3411a4,_0x26563a,_0x367df3,_0x4c542b,_0x262f63){var _0x5f0963=_0x1f410c;super(),N(this,'_socket$',new _0x3ad19d(void 0x0)),N(this,_0x5f0963(0x310),this[_0x5f0963(0x1e5)]['asObservable']()),N(this,_0x5f0963(0x352),null),N(this,_0x5f0963(0x357),new Map()),N(this,'_status$',new _0x3ad19d(Se[_0x5f0963(0x1de)])),N(this,'status$',this[_0x5f0963(0x304)][_0x5f0963(0x18b)]()),N(this,_0x5f0963(0x368),!0x1),N(this,_0x5f0963(0x2f9)),N(this,_0x5f0963(0x335),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this['_injector']=_0x4dd7b4,this[_0x5f0963(0x320)]=_0x3411a4,this[_0x5f0963(0x3bc)]=_0x26563a,this[_0x5f0963(0x3fc)]=_0x367df3,this[_0x5f0963(0x425)]=_0x4c542b,this[_0x5f0963(0x1da)]=_0x262f63,this[_0x5f0963(0x247)]());}get['_socket'](){var _0xcec492=_0x1f410c;return this[_0xcec492(0x1e5)]['getValue']();}[_0x1f410c(0x247)](){var _0x458dc8=_0x1f410c;this[_0x458dc8(0x1da)]&&this[_0x458dc8(0x1b4)](this[_0x458dc8(0x1da)][_0x458dc8(0x414)][_0x458dc8(0x2f1)](_0x305a82=>{var _0x3a132f=_0x458dc8;_0x305a82&&!this[_0x3a132f(0x1b1)]&&this[_0x3a132f(0x290)](),_0x305a82||this[_0x3a132f(0x2c9)]();}));}[_0x1f410c(0x30a)](){var _0x51fc82=_0x1f410c;super[_0x51fc82(0x30a)](),this[_0x51fc82(0x1a7)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this['_sessions']['forEach'](_0x40947d=>_0x40947d[_0x51fc82(0x30a)]()),this[_0x51fc82(0x357)]['clear'](),this['_status$']['complete']();}async['requireSession'](_0x5660ea){var _0x429dcd=_0x1f410c;if(this[_0x429dcd(0x357)]['has'](_0x5660ea))return this[_0x429dcd(0x357)]['get'](_0x5660ea);this[_0x429dcd(0x452)]();const _0x421353=this[_0x429dcd(0x3e9)][_0x429dcd(0x40e)](gt,_0x5660ea,this[_0x429dcd(0x1e5)]['asObservable']());return this['_sessions'][_0x429dcd(0x32a)](_0x5660ea,_0x421353),_0x421353;}[_0x1f410c(0x38d)](_0x5bdb24){var _0x818944=_0x1f410c,_0x4a8274;const _0x1ebc28=this[_0x818944(0x357)]['get'](_0x5bdb24);_0x1ebc28&&(this[_0x818944(0x357)][_0x818944(0x41d)](_0x5bdb24),_0x1ebc28['close']()),this[_0x818944(0x357)][_0x818944(0x34f)]||(_0x4a8274=this[_0x818944(0x1b1)])==null||_0x4a8274[_0x818944(0x3bb)]();}['reconnect'](){var _0x231ff7=_0x1f410c;this[_0x231ff7(0x335)]=0x0,this[_0x231ff7(0x1a7)](),this[_0x231ff7(0x3a3)]();}[_0x1f410c(0x1a7)](){var _0x465181=_0x1f410c;this[_0x465181(0x2f9)]!=null&&(clearTimeout(this[_0x465181(0x2f9)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x53e648=_0x1f410c,_0xe8bbe9,_0x5c03a6;const _0x1d76a4=this[_0x53e648(0x3bc)][_0x53e648(0x1e6)](gs),_0x23d97a=this[_0x53e648(0x3bc)]['getConfig'](K),_0x5777d5=(_0x5c03a6=(_0xe8bbe9=_0x23d97a==null?void 0x0:_0x23d97a[_0x53e648(0x2ea)])!=null?_0xe8bbe9:_0x1d76a4)!=null?_0x5c03a6:Ss,_0x26fe7b=await this[_0x53e648(0x3fc)][_0x53e648(0x1b5)](_0x5777d5);return this['_candidateSocket']=_0x26fe7b,_0x26fe7b;}async[_0x1f410c(0x452)](){var _0x3d6f1e=_0x1f410c,_0x254c63,_0x173741;try{const _0x238295=(_0x173741=(_0x254c63=this['_socket'])!=null?_0x254c63:this[_0x3d6f1e(0x352)])!=null?_0x173741:await this[_0x3d6f1e(0x1e2)]();if(_0x238295){const _0x4fc8e9=_0x238295[_0x3d6f1e(0x266)];_0x238295['send']=_0x4417da=>(this[_0x3d6f1e(0x431)](),_0x4fc8e9['apply'](_0x238295,[_0x4417da])),_0x238295[_0x3d6f1e(0x394)][_0x3d6f1e(0x2f1)](_0x3a1d0f=>this[_0x3d6f1e(0x3f8)](_0x238295,_0x3a1d0f)),_0x238295[_0x3d6f1e(0x1fc)][_0x3d6f1e(0x2c5)](_0x30f56f(0x1))[_0x3d6f1e(0x2f1)](_0x3776f8=>this[_0x3d6f1e(0x320)][_0x3d6f1e(0x1a2)]('[CollaborationSessionService]:\x20socket\x20error',_0x3776f8)),_0x238295['open$'][_0x3d6f1e(0x2c5)](_0x30f56f(0x1))['subscribe'](()=>{var _0x5dc9ec=_0x3d6f1e;this[_0x5dc9ec(0x1aa)](_0x238295);}),_0x238295[_0x3d6f1e(0x279)][_0x3d6f1e(0x2c5)](_0x30f56f(0x1))['subscribe'](_0x20889c=>{var _0xaa993b=_0x3d6f1e;this[_0xaa993b(0x320)]['debug'](_0xaa993b(0x32b),_0xaa993b(0x1ca),_0x20889c),this[_0xaa993b(0x26b)]();});}}catch(_0x43969a){this[_0x3d6f1e(0x320)][_0x3d6f1e(0x1a2)](_0x43969a),this['_onConnectionFailed']();}}[_0x1f410c(0x1aa)](_0x4eec15){var _0x40a543=_0x1f410c;this[_0x40a543(0x320)][_0x40a543(0x25c)](_0x40a543(0x32b),_0x40a543(0x457)),_0x4eec15[_0x40a543(0x266)]({'cmd':F['HELLO']}),this[_0x40a543(0x431)]();}['_onOffline'](){var _0x2919e5=_0x1f410c;this['_socketReady']=!0x1,this[_0x2919e5(0x352)]=null,this[_0x2919e5(0x304)][_0x2919e5(0x252)](Se['OFFLINE']),this[_0x2919e5(0x1e5)][_0x2919e5(0x252)](null),this['_clearTimeoutTimer'](),this[_0x2919e5(0x1d8)]();}[_0x1f410c(0x26b)](){var _0x3d664d=_0x1f410c,_0x4fc982;this[_0x3d664d(0x2c9)](),this[_0x3d664d(0x335)]<((_0x4fc982=this[_0x3d664d(0x3bc)]['getConfig'](Cs))!=null?_0x4fc982:Rs)?(this['_collaborationUIEventService'][_0x3d664d(0x1bb)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x3d664d(0x3a3)]()):this[_0x3d664d(0x425)]['emitEvent']({'id':ne['SOCKET_FAILED']});}[_0x1f410c(0x3a3)](){var _0x3f01c0=_0x1f410c,_0xfbed90;const _0x2e5291=this[_0x3f01c0(0x335)],_0x2d7feb=this[_0x3f01c0(0x3bc)][_0x3f01c0(0x1e6)](K),_0x7a22ee=_0x2e5291===0x0?0x0:((_0xfbed90=_0x2d7feb==null?void 0x0:_0x2d7feb[_0x3f01c0(0x35a)])!=null?_0xfbed90:Ts)*0x2**_0x2e5291;this[_0x3f01c0(0x2f9)]=setTimeout(()=>{var _0x585bf7=_0x3f01c0;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x585bf7(0x452)]();},_0x7a22ee),this[_0x3f01c0(0x335)]+=0x1;}[_0x1f410c(0x3f8)](_0x32cf06,_0x451603){var _0x40951d=_0x1f410c;const {cmd:_0x54ec4a}=_0x451603;_0x54ec4a===F[_0x40951d(0x1b2)]&&!this[_0x40951d(0x368)]&&(_0x32cf06[_0x40951d(0x42e)]=_0x451603['data']['memberID'],this['_socket$'][_0x40951d(0x252)](_0x32cf06),this[_0x40951d(0x304)][_0x40951d(0x252)](Se['ONLINE']),this[_0x40951d(0x368)]=!0x0,this['_candidateSocket']=null),_0x54ec4a===F[_0x40951d(0x472)]&&this[_0x40951d(0x18f)](),this['_rescheduleHeartbeat']();}[_0x1f410c(0x431)](){var _0x25951e=_0x1f410c,_0x3123d5;this[_0x25951e(0x1d8)](),this[_0x25951e(0x1ae)]=setTimeout(()=>this[_0x25951e(0x2ab)](),(_0x3123d5=this[_0x25951e(0x3bc)][_0x25951e(0x1e6)](Es))!=null?_0x3123d5:Is);}[_0x1f410c(0x2ab)](){var _0x16be8a=_0x1f410c;this[_0x16be8a(0x1b1)][_0x16be8a(0x266)]({'cmd':F[_0x16be8a(0x472)]}),this[_0x16be8a(0x1ba)]();}[_0x1f410c(0x1ba)](){var _0xa6ef60=_0x1f410c,_0x28c94e;this['_timeoutTimer']=setTimeout(()=>this[_0xa6ef60(0x26b)](),(_0x28c94e=this['_configService']['getConfig'](fi))!=null?_0x28c94e:vi);}[_0x1f410c(0x1d8)](){var _0x367527=_0x1f410c;this[_0x367527(0x1ae)]!=null&&(clearTimeout(this[_0x367527(0x1ae)]),this[_0x367527(0x1ae)]=null);}[_0x1f410c(0x18f)](){var _0x518a73=_0x1f410c;this[_0x518a73(0x443)]!=null&&(clearTimeout(this[_0x518a73(0x443)]),this[_0x518a73(0x443)]=null);}};Le=Gs([Re(0x0,_0x1d307d(_0x1f649f)),Re(0x1,_0x419223),Re(0x2,_0x22f7d3),Re(0x3,gi),Re(0x4,_0x1d307d(ve)),Re(0x5,_0x1c555d(Us))],Le);const J=_0x2b7bcb(_0x1f410c(0x2ac));function Pr(_0x50a693){var _0x10b503=_0x1f410c;return _0x10b503(0x3d9)+_0x50a693;}var Ws=Object[_0x1f410c(0x2a4)],Ys=(_0x43502f,_0x32883d,_0x40e923,_0x2e3e38)=>{var _0x1c6f78=_0x1f410c;for(var _0x23ff35=_0x2e3e38>0x1?void 0x0:_0x2e3e38?Ws(_0x32883d,_0x40e923):_0x32883d,_0x29dcdf=_0x43502f[_0x1c6f78(0x380)]-0x1,_0x201cf1;_0x29dcdf>=0x0;_0x29dcdf--)(_0x201cf1=_0x43502f[_0x29dcdf])&&(_0x23ff35=_0x201cf1(_0x23ff35)||_0x23ff35);return _0x23ff35;},ut=(_0x255344,_0x25d02c)=>(_0x46e2f9,_0xf7125)=>_0x25d02c(_0x46e2f9,_0xf7125,_0x255344);function Ks(_0x18720b){var _0x55a786=_0x1f410c;const {unitID:_0x3c279e,mutations:_0x446afd}=_0x18720b;return{'unitId':_0x3c279e,'subUnitId':_0x446afd[0x0]['params'][_0x55a786(0x476)]};}let it=class{constructor(_0x4b0562,_0x171bf3,_0x5009b5){var _0x39a40e=_0x1f410c;this[_0x39a40e(0x3e9)]=_0x4b0562,this[_0x39a40e(0x228)]=_0x171bf3,this['_instanceService']=_0x5009b5;}[_0x1f410c(0x189)](_0x16da39){var _0x590ee2=_0x1f410c,_0x4d63bf,_0x3a923a,_0x4b6d59,_0x271970;const _0x1eab9f=this[_0x590ee2(0x3e9)]['get'](_0x793bad),{unitId:_0x3e18bb,subUnitId:_0x5c4bf7}=Ks(_0x16da39),_0x4d07d7=_0x1eab9f==null?void 0x0:_0x1eab9f[_0x590ee2(0x20a)](_0x3e18bb)['getCurrentSelections'](),_0x192e24=(_0x3a923a=(_0x4d63bf=this[_0x590ee2(0x45c)]['getUnit'](_0x3e18bb))==null?void 0x0:_0x4d63bf[_0x590ee2(0x295)]())==null?void 0x0:_0x3a923a[_0x590ee2(0x261)]();if(_0x4d07d7['length']===0x0||!_0x3e18bb||!_0x5c4bf7)return;const _0x1d89a3=[{'id':_0x33a069['id'],'params':{'unitId':_0x3e18bb,'subUnitId':_0x192e24,'selections':_0x888782[_0x590ee2(0x1be)](_0x4d07d7)}}],_0x52ee81=this[_0x590ee2(0x228)][_0x590ee2(0x3f1)](_0x16da39,_0x1d89a3);if(!_0x20cff5(_0x52ee81))throw _0x52ee81[_0x590ee2(0x1a2)];const _0x56d965=(_0x271970=(_0x4b6d59=_0x52ee81[_0x590ee2(0x277)][0x0])==null?void 0x0:_0x4b6d59['params'])==null?void 0x0:_0x271970[_0x590ee2(0x317)];if(Array[_0x590ee2(0x2c6)](_0x56d965)&&_0x56d965[_0x590ee2(0x380)]){if(_0x56d965[_0x590ee2(0x380)]===_0x1d89a3[0x0][_0x590ee2(0x41f)][_0x590ee2(0x317)]['length']&&_0x56d965[_0x590ee2(0x21d)]((_0x12109c,_0x86b130)=>_0x2480d1[_0x590ee2(0x296)](_0x12109c[_0x590ee2(0x33e)],_0x1d89a3[0x0][_0x590ee2(0x41f)][_0x590ee2(0x317)][_0x86b130]['range'])))return;this[_0x590ee2(0x3e9)][_0x590ee2(0x1f6)](_0x435e17)[_0x590ee2(0x2d3)](_0x33a069['id'],{'unitId':_0x3e18bb,'subUnitId':_0x192e24,'selections':_0x56d965});}}};it=Ys([ut(0x0,_0x1d307d(_0x1f649f)),ut(0x1,_0x402e01),ut(0x2,_0x505288)],it);const ht=_0x2b7bcb('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0x55d9e0=>(_0x55d9e0[_0x55d9e0[_0x1f410c(0x3b1)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x55d9e0[_0x55d9e0[_0x1f410c(0x36f)]=0x1]=_0x1f410c(0x36f),_0x55d9e0))(Ei||{});const qs=new Set([_0x30ade4['id']]);function Wt(_0x589805,_0x2edc5e,_0x45443e,_0x308d17,_0x590dbf){var _0x511fb4=_0x1f410c,_0x25619a,_0x57cb9d,_0x50345f,_0x280c00;const _0xbd6a22=[];for(const _0x2d50e9 of _0x589805)if(qs['has'](_0x2d50e9['id'])){if(_0xbd6a22['length']>0x0)break;_0xbd6a22[_0x511fb4(0x2dc)](_0x2d50e9);break;}else _0xbd6a22[_0x511fb4(0x2dc)](_0x2d50e9);const _0x2c440a=(_0x57cb9d=(_0x25619a=_0x590dbf[_0x511fb4(0x407)]())==null?void 0x0:_0x25619a[_0x511fb4(0x355)])!=null?_0x57cb9d:_0x511fb4(0x2db),_0xcdfc0a=(_0x280c00=(_0x50345f=_0x590dbf[_0x511fb4(0x407)]())==null?void 0x0:_0x50345f[_0x511fb4(0x42e)])!=null?_0x280c00:_0x511fb4(0x2db);return{'changeset':{'unitID':_0x2edc5e,'type':_0x56f215(_0x45443e[_0x511fb4(0x3d7)](_0x2edc5e)),'baseRev':_0x308d17[_0x511fb4(0x47f)](_0x2edc5e),'revision':0x0,'userID':_0x2c440a,'memberID':_0xcdfc0a,'mutations':_0xbd6a22},'pendingMutations':_0x589805[_0x511fb4(0x30e)](_0xbd6a22['length'])};}function zs(_0x2b6ba8,_0x5d98a6,_0x16d59e,_0x2981d7,_0x84ade2){var _0xcb0f7=_0x1f410c,_0x559438,_0x5be43d,_0x1fbb95,_0xce0825;const _0x5b2e10=[_0x2b6ba8['reduce']((_0x31aec4,_0x475443)=>{var _0x105a54=_0x27f1,_0x115487;const {id:_0x24dd67}=_0x31aec4,{id:_0x318d6c,type:_0x3e71be}=_0x475443,_0x4ccba4=(_0x115487=_0x31aec4['params'])!=null?_0x115487:{'actions':null},_0x42e097=_0x475443[_0x105a54(0x41f)];if(_0x24dd67&&_0x24dd67!==_0x318d6c)throw new Error(_0x105a54(0x32c)+_0x24dd67+'\x20-\x20'+_0x318d6c+'.');return{..._0x31aec4,'id':_0x318d6c,'type':_0x3e71be,'params':{'unitId':_0x42e097[_0x105a54(0x391)],'textRanges':_0x42e097[_0x105a54(0x260)],'actions':_0x1607d8[_0x105a54(0x2aa)](_0x4ccba4[_0x105a54(0x1e3)],_0x42e097['actions'])}};},{})],_0x2ae782=(_0x5be43d=(_0x559438=_0x84ade2[_0xcb0f7(0x407)]())==null?void 0x0:_0x559438[_0xcb0f7(0x355)])!=null?_0x5be43d:_0xcb0f7(0x2db),_0x4de960=(_0xce0825=(_0x1fbb95=_0x84ade2[_0xcb0f7(0x407)]())==null?void 0x0:_0x1fbb95['memberID'])!=null?_0xce0825:_0xcb0f7(0x2db);return{'changeset':{'unitID':_0x5d98a6,'type':_0x56f215(_0x16d59e['getUnitType'](_0x5d98a6)),'baseRev':_0x2981d7[_0xcb0f7(0x47f)](_0x5d98a6),'revision':0x0,'userID':_0x2ae782,'memberID':_0x4de960,'mutations':_0x5b2e10},'pendingMutations':[]};}function Ii(_0x4b04cf,_0x28e84c){var _0x2c793d=_0x1f410c;const _0x41bf21=new _0x47f35c(0x1);return setTimeout(()=>_0x41bf21[_0x2c793d(0x252)](_0x28e84c),_0x4b04cf),_0x41bf21[_0x2c793d(0x18b)]()[_0x2c793d(0x2c5)](_0x16a73a(0x1));}const Js={'id':_0x292b4e['id'],'type':_0x496c2c[_0x1f410c(0x200)],'params':{}};var Xs=Object[_0x1f410c(0x2a4)],Ie=(_0x3cef1e,_0x23380a,_0x512de6,_0x570a9e)=>{var _0xbe7259=_0x1f410c;for(var _0x570355=_0x570a9e>0x1?void 0x0:_0x570a9e?Xs(_0x23380a,_0x512de6):_0x23380a,_0x39611a=_0x3cef1e[_0xbe7259(0x380)]-0x1,_0x145d04;_0x39611a>=0x0;_0x39611a--)(_0x145d04=_0x3cef1e[_0x39611a])&&(_0x570355=_0x145d04(_0x570355)||_0x570355);return _0x570355;},P=(_0x47c8da,_0x21be02)=>(_0x24f73e,_0x3c88fa)=>_0x21be02(_0x24f73e,_0x3c88fa,_0x47c8da),Ti=(_0x1130fc=>(_0x1130fc[_0x1f410c(0x3ca)]=_0x1f410c(0x206),_0x1130fc['SYNCED']=_0x1f410c(0x210),_0x1130fc[_0x1f410c(0x1ce)]=_0x1f410c(0x213),_0x1130fc['AWAITING']=_0x1f410c(0x2d0),_0x1130fc[_0x1f410c(0x373)]=_0x1f410c(0x44c),_0x1130fc[_0x1f410c(0x227)]=_0x1f410c(0x262),_0x1130fc[_0x1f410c(0x2f0)]=_0x1f410c(0x46a),_0x1130fc['OFFLINE']=_0x1f410c(0x480),_0x1130fc))(Ti||{});const Ci=0xea60;class Te{constructor(_0x53c210,_0x2bae4d,_0x11efad,_0x4061f5,_0x27b89d,_0x4f65d2,_0x34b8f5,_0x458c00,_0x5d4972){var _0x4e6788=_0x1f410c;N(this,_0x4e6788(0x389),null),N(this,'_pendingMutations',[]),(this[_0x4e6788(0x47c)]=_0x53c210,this[_0x4e6788(0x37c)]=_0x2bae4d,this[_0x4e6788(0x385)]=_0x27b89d,this[_0x4e6788(0x191)]=_0x4f65d2,this[_0x4e6788(0x329)]=_0x34b8f5,this[_0x4e6788(0x3fb)]=_0x458c00,this[_0x4e6788(0x2a0)]=_0x5d4972,this['_awaitingChangeset']=_0x11efad,this[_0x4e6788(0x303)]=_0x4061f5);}[_0x1f410c(0x23f)](_0x6c2a61){var _0x610a0c=_0x1f410c;const _0x4ea1c8=this[_0x610a0c(0x3fb)]['getCurrentRevOfUnit'](this['unitID']);return _0x6c2a61[_0x610a0c(0x462)]>_0x4ea1c8+0x1?(this['_handler'][_0x610a0c(0x400)]({'from':_0x4ea1c8,'to':_0x6c2a61['revision']-0x1}),!0x0):!0x1;}[_0x1f410c(0x27c)](_0x2d2c38){var _0x2d007a=_0x1f410c;this['_undoRedoService'][_0x2d007a(0x1c8)](this[_0x2d007a(0x47c)],_0x2d2c38);}[_0x1f410c(0x34b)](_0x5149e1){var _0x423f84,_0x4bc7c6;(_0x4bc7c6=(_0x423f84=this['_handler'])['onTransformSelections'])==null||_0x4bc7c6['call'](_0x423f84,_0x5149e1);}['_transformIMECache'](_0x327cc8){var _0x2b96a2=_0x1f410c,_0x450293,_0x319b68;return(_0x319b68=(_0x450293=this[_0x2b96a2(0x385)])[_0x2b96a2(0x369)])==null?void 0x0:_0x319b68[_0x2b96a2(0x208)](_0x450293,_0x327cc8);}[_0x1f410c(0x3a9)](_0x3ab607){var _0x581a6a=_0x1f410c,_0x18bb11,_0x4fe19f;return(_0x4fe19f=(_0x18bb11=this['_handler'])['onTransformState'])==null?void 0x0:_0x4fe19f[_0x581a6a(0x208)](_0x18bb11,_0x3ab607);}['_transformRemoteChangesetByIMECache'](_0x4cb404){var _0x1d5b2d=_0x1f410c,_0x51e7f1,_0x4b6ac3,_0x40d9e2;return(_0x40d9e2=(_0x4b6ac3=(_0x51e7f1=this[_0x1d5b2d(0x385)])[_0x1d5b2d(0x288)])==null?void 0x0:_0x4b6ac3['call'](_0x51e7f1,_0x4cb404))!=null?_0x40d9e2:_0x4cb404;}['_transformRemoteChangesetByStateCache'](_0x17087e){var _0x190398=_0x1f410c,_0x216638,_0x6ab5bf,_0x8e1be;return(_0x8e1be=(_0x6ab5bf=(_0x216638=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x6ab5bf[_0x190398(0x208)](_0x216638,_0x17087e))!=null?_0x8e1be:_0x17087e;}[_0x1f410c(0x28b)](_0x37403c){var _0x4a6373=_0x1f410c,_0x4fc3f7,_0x287142;if(this['type']===Z[_0x4a6373(0x212)]){const {unitID:_0x59d772,mutations:_0x26c958,memberID:_0x3955e2}=_0x37403c,_0x1314d3=_0x26c958[0x0][_0x4a6373(0x41f)][_0x4a6373(0x260)];Array[_0x4a6373(0x2c6)](_0x1314d3)&&_0x1314d3[_0x4a6373(0x380)]>0x0&&((_0x287142=(_0x4fc3f7=this[_0x4a6373(0x385)])['onSyncEditingCollabCursor'])==null||_0x287142[_0x4a6373(0x208)](_0x4fc3f7,{'unitID':_0x59d772,'memberID':_0x3955e2,'textRanges':_0x1314d3}));}}[_0x1f410c(0x283)](){var _0x13d27b=_0x1f410c,_0x3b8395;(_0x3b8395=this[_0x13d27b(0x2a0)])==null||_0x3b8395[_0x13d27b(0x38e)](this[_0x13d27b(0x47c)],this[_0x13d27b(0x37c)],this[_0x13d27b(0x389)],this[_0x13d27b(0x303)]);}['_getCurrentRevision'](){var _0x50d68f=_0x1f410c;return this['_revisionService'][_0x50d68f(0x47f)](this['unitID']);}['_incrementRevisionNumber'](){var _0x247f61=_0x1f410c;this['_revisionService'][_0x247f61(0x3f2)](this[_0x247f61(0x47c)]);}[_0x1f410c(0x284)](_0x22b6ef){var _0x5c0c1e=_0x1f410c,_0x13d067;let _0x49290e=this['_transformRemoteChangesetByIMECache'](_0x22b6ef);_0x49290e=this[_0x5c0c1e(0x182)](_0x49290e);const _0x3b51f4=_0x377b5c(_0x49290e[_0x5c0c1e(0x2c2)],this['_commandService'],{'fromCollab':!0x0});if(!_0x3b51f4[_0x5c0c1e(0x419)])throw _0x3b51f4[_0x5c0c1e(0x1a2)]instanceof Error?_0x3b51f4[_0x5c0c1e(0x1a2)]:new Error((_0x13d067=_0x3b51f4['error'])!=null?_0x13d067:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x49290e),this[_0x5c0c1e(0x3a9)](_0x49290e),this[_0x5c0c1e(0x27c)](_0x22b6ef),this['_transformSelections'](_0x49290e),this[_0x5c0c1e(0x28b)](_0x49290e),this[_0x5c0c1e(0x264)]();}}let ye=class extends Te{constructor(_0xcbd81,_0x23b9ae,_0x41d687,_0x2a2f75,_0x1ae47d,_0x521ff6,_0x27ce71,_0x27a8b9,_0x4e042b,_0x1c56b6){var _0x2f6914=_0x1f410c;super(_0xcbd81,_0x23b9ae,null,[],_0x41d687,_0x27ce71,_0x521ff6,_0x2a2f75,_0x1c56b6),N(this,'status',_0x2f6914(0x210)),(this['_injector']=_0x1ae47d,this[_0x2f6914(0x320)]=_0x27a8b9,this[_0x2f6914(0x228)]=_0x4e042b,this['localCacheService']=_0x1c56b6);}[_0x1f410c(0x1d5)](_0xe1316e){var _0x36891f=_0x1f410c;const _0x31c6b7=this['_injector'][_0x36891f(0x40e)](re,this[_0x36891f(0x47c)],this[_0x36891f(0x37c)],[_0xe1316e],this[_0x36891f(0x385)]);return _0x31c6b7[_0x36891f(0x216)](),_0x31c6b7[_0x36891f(0x283)](),_0x31c6b7;}[_0x1f410c(0x198)](_0x2674ac){var _0x5b07d8=_0x1f410c;if(this['_checkMissing'](_0x2674ac))return this[_0x5b07d8(0x3e9)]['createInstance'](Q,this[_0x5b07d8(0x47c)],this['type'],null,[],null,[_0x2674ac],this[_0x5b07d8(0x385)]);try{const _0x1146b8=this[_0x5b07d8(0x228)][_0x5b07d8(0x3f1)](_0x2674ac,[Js]);if(_0x20cff5(_0x1146b8)){const {c1Prime:_0x22e843}=_0x1146b8;return this[_0x5b07d8(0x284)](_0x22e843),this;}throw _0x1146b8[_0x5b07d8(0x1a2)];}catch(_0x45e46e){return this[_0x5b07d8(0x320)][_0x5b07d8(0x1a2)](_0x45e46e),this[_0x5b07d8(0x27a)](!0x1);}}['_onConflict'](_0x3877b3){var _0x50b6c4=_0x1f410c;return this[_0x50b6c4(0x3e9)]['createInstance'](le,this[_0x50b6c4(0x47c)],this['type'],null,[],this[_0x50b6c4(0x385)],_0x3877b3);}[_0x1f410c(0x333)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x1217ec=_0x1f410c;throw new Error(_0x1217ec(0x348));}[_0x1f410c(0x346)](){return this;}[_0x1f410c(0x2d8)](){var _0x242946=_0x1f410c;return this[_0x242946(0x3e9)][_0x242946(0x40e)](ue,this[_0x242946(0x47c)],this[_0x242946(0x37c)],null,[],this[_0x242946(0x385)]);}[_0x1f410c(0x3b6)](){return this;}[_0x1f410c(0x477)](){var _0x20bf45=_0x1f410c;throw new Error(_0x20bf45(0x345));}['fetchMiss'](){var _0x4ae40b=_0x1f410c;const _0x484f63=this[_0x4ae40b(0x3fb)][_0x4ae40b(0x47f)](this[_0x4ae40b(0x47c)]);return this[_0x4ae40b(0x385)][_0x4ae40b(0x400)]({'from':_0x484f63,'to':0x0}),this['_injector'][_0x4ae40b(0x40e)](Q,this['unitID'],this[_0x4ae40b(0x37c)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x1d307d(_0xd49e7)),P(0x4,_0x1d307d(_0x1f649f)),P(0x5,_0x2aacb6),P(0x6,_0x435e17),P(0x7,_0x419223),P(0x8,_0x402e01),P(0x9,_0x1c555d(J))],ye);let re=class extends Te{constructor(_0x48ff1b,_0x4b1c2e,_0x336b03,_0x158dcf,_0x4b2c94,_0x5b0e9f,_0xc41851,_0x4e0cd4,_0x116295,_0x30e81a,_0x1f9edc,_0x1f49a9,_0x1d6414,_0x2ac2a5){var _0x46a255=_0x1f410c;super(_0x48ff1b,_0x4b1c2e,null,_0x336b03,_0x158dcf,_0x116295,_0x1d6414,_0x5b0e9f,_0x2ac2a5),N(this,_0x46a255(0x256),_0x46a255(0x213)),N(this,_0x46a255(0x2b4),null),N(this,'_sendingTimer',null),(this['_injector']=_0x4b2c94,this[_0x46a255(0x434)]=_0xc41851,this[_0x46a255(0x320)]=_0x4e0cd4,this[_0x46a255(0x3bc)]=_0x30e81a,this[_0x46a255(0x228)]=_0x1f9edc,this[_0x46a255(0x181)]=_0x1f49a9);}[_0x1f410c(0x1d5)](_0x1ed82a){var _0x40224f=_0x1f410c;return this[_0x40224f(0x303)][_0x40224f(0x2dc)](_0x1ed82a),this[_0x40224f(0x283)](),this;}[_0x1f410c(0x198)](_0x4ac767){var _0x1e9746=_0x1f410c;if(this['_checkMissing'](_0x4ac767))return this[_0x1e9746(0x2f7)](),this['_injector'][_0x1e9746(0x40e)](Q,this[_0x1e9746(0x47c)],this[_0x1e9746(0x37c)],null,this[_0x1e9746(0x303)],null,[_0x4ac767],this[_0x1e9746(0x385)]);try{const _0x3cbec3=this[_0x1e9746(0x228)][_0x1e9746(0x3f1)](_0x4ac767,this[_0x1e9746(0x303)]);if(_0x20cff5(_0x3cbec3)){const {c1Prime:_0x5765ed,m2Prime:_0x41bc21}=_0x3cbec3;this[_0x1e9746(0x284)](_0x5765ed);const _0x44e312=this['_injector']['createInstance'](re,this[_0x1e9746(0x47c)],this['type'],_0x41bc21,this[_0x1e9746(0x385)]);this[_0x1e9746(0x2f7)]();const _0x5b6198=new Date()[_0x1e9746(0x187)](),_0x2340ea=this[_0x1e9746(0x2b4)]?Math['max'](this[_0x1e9746(0x2b4)]-_0x5b6198,0x0):this['_getSendChangesetTimeout']();return _0x44e312[_0x1e9746(0x216)](_0x2340ea),_0x44e312;}throw _0x3cbec3[_0x1e9746(0x1a2)];}catch(_0x5279fe){return this[_0x1e9746(0x320)][_0x1e9746(0x1a2)](_0x5279fe),this[_0x1e9746(0x27a)](!0x1);}}[_0x1f410c(0x333)](){var _0x2fac82=_0x1f410c;throw new Error(_0x2fac82(0x3b5));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1f410c(0x2d8)](){var _0xb65ea1=_0x1f410c;return this[_0xb65ea1(0x2f7)](),this[_0xb65ea1(0x3e9)][_0xb65ea1(0x40e)](ue,this[_0xb65ea1(0x47c)],this['type'],null,this[_0xb65ea1(0x303)],this['_handler']);}['toggleOnline'](){return this;}[_0x1f410c(0x216)](_0x45f6e0){var _0x2e1249=_0x1f410c;const _0x6b6e78=_0x45f6e0!=null?_0x45f6e0:this[_0x2e1249(0x274)]();this[_0x2e1249(0x2b4)]=new Date()['getTime']()+_0x6b6e78,this[_0x2e1249(0x2e2)]=setTimeout(()=>{var _0x19bff0=_0x2e1249;this[_0x19bff0(0x2f7)]();let _0x20159f=null;switch(this[_0x19bff0(0x37c)]){case Z['UNIVER_SHEET']:{_0x20159f=Wt(this['_pendingMutations'],this[_0x19bff0(0x47c)],this[_0x19bff0(0x181)],this[_0x19bff0(0x3fb)],this[_0x19bff0(0x434)]);break;}case Z[_0x19bff0(0x212)]:{this[_0x19bff0(0x303)][_0x19bff0(0x21d)](_0x3e42b1=>_0x3e42b1['id']===_0x4b50f8['id'])?_0x20159f=zs(this[_0x19bff0(0x303)],this[_0x19bff0(0x47c)],this['_univerInstanceService'],this[_0x19bff0(0x3fb)],this[_0x19bff0(0x434)]):_0x20159f=Wt(this[_0x19bff0(0x303)],this[_0x19bff0(0x47c)],this[_0x19bff0(0x181)],this[_0x19bff0(0x3fb)],this['_memberService']);break;}default:throw new Error(_0x19bff0(0x451)+this[_0x19bff0(0x37c)]+'\x20in\x20_schedule.');}const {changeset:_0x2d3a0f,pendingMutations:_0x3530fd}=_0x20159f;this[_0x19bff0(0x385)][_0x19bff0(0x342)](_0x2d3a0f);const _0x29d419=_0x3530fd['length']?this['_injector'][_0x19bff0(0x40e)](ae,this[_0x19bff0(0x47c)],this[_0x19bff0(0x37c)],_0x2d3a0f,_0x3530fd,this[_0x19bff0(0x385)],void 0x0):this[_0x19bff0(0x3e9)][_0x19bff0(0x40e)](_e,this[_0x19bff0(0x47c)],this[_0x19bff0(0x37c)],_0x2d3a0f,this[_0x19bff0(0x385)]);_0x29d419[_0x19bff0(0x283)](),this[_0x19bff0(0x385)]['onStateChange'](this,_0x29d419);},_0x6b6e78);}[_0x1f410c(0x274)](){var _0x13e518=_0x1f410c,_0x3c6e09;const _0x4818ff=this['_configService'][_0x13e518(0x1e6)](K);return(_0x3c6e09=_0x4818ff==null?void 0x0:_0x4818ff[_0x13e518(0x24e)])!=null?_0x3c6e09:ms;}[_0x1f410c(0x477)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x3e4e91=_0x1f410c;this[_0x3e4e91(0x2e2)]!=null&&(clearTimeout(this[_0x3e4e91(0x2e2)]),this[_0x3e4e91(0x2e2)]=null);}['_onConflict'](_0x2c4790){var _0x1b4e77=_0x1f410c;return this[_0x1b4e77(0x2f7)](),this[_0x1b4e77(0x3e9)]['createInstance'](le,this[_0x1b4e77(0x47c)],this['type'],null,this[_0x1b4e77(0x303)],this['_handler'],_0x2c4790);}};re=Ie([P(0x4,_0x1d307d(_0x1f649f)),P(0x5,_0x1d307d(_0xd49e7)),P(0x6,_0x1d307d(Pe)),P(0x7,_0x419223),P(0x8,_0x435e17),P(0x9,_0x22f7d3),P(0xa,_0x402e01),P(0xb,_0x505288),P(0xc,_0x2aacb6),P(0xd,_0x1c555d(J))],re);let _e=class extends Te{constructor(_0x2ef56c,_0x1ee82c,_0x212132,_0x163b25,_0x1f827e,_0x4b7e42,_0x241921,_0x51e6bb,_0x4cc28a,_0x450257,_0xd427c){var _0x1b3509=_0x1f410c;super(_0x2ef56c,_0x1ee82c,_0x212132,[],_0x163b25,_0x241921,_0x450257,_0x4b7e42,_0xd427c),N(this,'status',_0x1b3509(0x2d0)),N(this,_0x1b3509(0x3a8),0x0),N(this,_0x1b3509(0x214)),N(this,_0x1b3509(0x1e9)),(this[_0x1b3509(0x3e9)]=_0x1f827e,this[_0x1b3509(0x320)]=_0x51e6bb,this[_0x1b3509(0x228)]=_0x4cc28a);}[_0x1f410c(0x1d5)](_0x22e440){var _0xd59ad3=_0x1f410c;this[_0xd59ad3(0x2f7)]();const _0x1f04bf=this[_0xd59ad3(0x3e9)][_0xd59ad3(0x40e)](ae,this[_0xd59ad3(0x47c)],this[_0xd59ad3(0x37c)],this[_0xd59ad3(0x389)],[_0x22e440],this[_0xd59ad3(0x385)],this[_0xd59ad3(0x214)]);return _0x1f04bf[_0xd59ad3(0x283)](),_0x1f04bf;}[_0x1f410c(0x198)](_0x40dabe){var _0x2cbf76=_0x1f410c;if(this[_0x2cbf76(0x23f)](_0x40dabe))return this[_0x2cbf76(0x2f7)](),this[_0x2cbf76(0x3e9)]['createInstance'](Q,this[_0x2cbf76(0x47c)],this['type'],this['_awaitingChangeset'],[],null,[_0x40dabe],this[_0x2cbf76(0x385)]);try{const _0x1c83e1=this[_0x2cbf76(0x228)][_0x2cbf76(0x3e0)]([_0x40dabe],[this[_0x2cbf76(0x389)]],!0x1);if(_0xeee444(_0x1c83e1)){const {c1Prime:_0x573a63,c2Prime:_0x5a66b5}=_0x1c83e1;this['_executeRemoteChangeset'](_0x573a63[0x0]),_0x5a66b5[0x0][_0x2cbf76(0x254)]=this[_0x2cbf76(0x3e4)](),this[_0x2cbf76(0x2f7)]();const _0x1e1a75=this['_injector'][_0x2cbf76(0x40e)](_e,this['unitID'],this['type'],_0x5a66b5[0x0],this[_0x2cbf76(0x385)]);return _0x1e1a75[_0x2cbf76(0x283)](),_0x1e1a75;}return this['_onConflict'](!0x1);}catch(_0x2c11b4){return this[_0x2cbf76(0x320)][_0x2cbf76(0x1a2)](_0x2c11b4),this[_0x2cbf76(0x27a)](!0x1);}}['onRemoteAck'](_0x213116){var _0x5ade48=_0x1f410c;this[_0x5ade48(0x2f7)]();const _0x34666=this[_0x5ade48(0x3fb)]['getCurrentRevOfUnit'](this[_0x5ade48(0x47c)]);if(_0x213116[_0x5ade48(0x462)]<_0x34666-0x1)return this;if(this[_0x5ade48(0x23f)](_0x213116))return this[_0x5ade48(0x3e9)]['createInstance'](Q,this[_0x5ade48(0x47c)],this['type'],null,[],this[_0x5ade48(0x389)],[],this['_handler']);this[_0x5ade48(0x264)]();const _0x29340c=this['_injector'][_0x5ade48(0x40e)](ye,this['unitID'],this['type'],this[_0x5ade48(0x385)]);return _0x29340c[_0x5ade48(0x283)](),_0x29340c;}[_0x1f410c(0x2a1)](_0x46bce9){var _0x222db7=_0x1f410c;return this[_0x222db7(0x27a)](!!(_0x46bce9!=null&&_0x46bce9['isPermissionRej']));}[_0x1f410c(0x346)](_0x1cbc68){var _0x3e9a6f=_0x1f410c;return this[_0x3e9a6f(0x3a8)]>Ci?this[_0x3e9a6f(0x2d8)]():(this[_0x3e9a6f(0x214)]=Ii(this[_0x3e9a6f(0x3a8)],{'timeout':this['_resendTimeout'],'reqId':_0x1cbc68[_0x3e9a6f(0x3d1)]}),this[_0x3e9a6f(0x1e9)]=this[_0x3e9a6f(0x214)][_0x3e9a6f(0x2f1)](({reqId:_0x52d5f8,timeout:_0x40556e})=>{var _0x2e3132=_0x3e9a6f;this[_0x2e3132(0x1a0)](_0x52d5f8,_0x40556e);}),this);}['toggleOffline'](){var _0xbe1230=_0x1f410c;return this[_0xbe1230(0x2f7)](),this[_0xbe1230(0x3e9)]['createInstance'](ue,this[_0xbe1230(0x47c)],this[_0xbe1230(0x37c)],this['_awaitingChangeset'],[],this[_0xbe1230(0x385)]);}[_0x1f410c(0x3b6)](){return this;}['resend'](){var _0x4dfa6e=_0x1f410c;this[_0x4dfa6e(0x385)][_0x4dfa6e(0x342)](this[_0x4dfa6e(0x389)]);}[_0x1f410c(0x27a)](_0x54810c){var _0x49fd88=_0x1f410c;return this[_0x49fd88(0x2f7)](),this[_0x49fd88(0x3e9)][_0x49fd88(0x40e)](le,this[_0x49fd88(0x47c)],this['type'],this[_0x49fd88(0x389)],[],this[_0x49fd88(0x385)],_0x54810c);}[_0x1f410c(0x1a0)](_0x46f655,_0x2ae8af){var _0x386110=_0x1f410c,_0x66f603;_0x46f655===((_0x66f603=this[_0x386110(0x389)])==null?void 0x0:_0x66f603[_0x386110(0x3d1)])&&(this[_0x386110(0x477)](),this[_0x386110(0x3a8)]=_0x2ae8af===0x0?0x3e8:_0x2ae8af*0x2);}[_0x1f410c(0x2f7)](){var _0x1df0ee=_0x1f410c,_0x1394c6;(_0x1394c6=this[_0x1df0ee(0x1e9)])==null||_0x1394c6['unsubscribe'](),this[_0x1df0ee(0x3a8)]=0x0;}};_e=Ie([P(0x4,_0x1d307d(_0x1f649f)),P(0x5,_0x1d307d(_0xd49e7)),P(0x6,_0x435e17),P(0x7,_0x419223),P(0x8,_0x402e01),P(0x9,_0x2aacb6),P(0xa,_0x1c555d(J))],_e);let ae=class extends Te{constructor(_0x3329ee,_0x4946f8,_0x317201,_0x5a24d9,_0x577bac,_0x43aa3d,_0x521bcc,_0x55b6b2,_0x156efa,_0x2f4d83,_0x13e943,_0x17da51,_0x36e5b7){var _0x4e0b97=_0x1f410c;super(_0x3329ee,_0x4946f8,_0x317201,_0x5a24d9,_0x577bac,_0x156efa,_0x17da51,_0x55b6b2,_0x36e5b7),N(this,_0x4e0b97(0x256),_0x4e0b97(0x44c)),N(this,_0x4e0b97(0x3a8),0x0),N(this,_0x4e0b97(0x214)),N(this,_0x4e0b97(0x1e9)),(this[_0x4e0b97(0x3e9)]=_0x521bcc,this[_0x4e0b97(0x320)]=_0x2f4d83,this['_transformService']=_0x13e943,this[_0x4e0b97(0x1e7)]=_0x36e5b7,_0x43aa3d&&(this[_0x4e0b97(0x214)]=_0x43aa3d,this['_sender']=this[_0x4e0b97(0x214)]['subscribe'](({reqId:_0x113baa,timeout:_0x2e5a88})=>{var _0x795118=_0x4e0b97;this[_0x795118(0x1a0)](_0x113baa,_0x2e5a88);})));}['appendMutation'](_0x4081e1){var _0x303e89=_0x1f410c;return this[_0x303e89(0x303)]['push'](_0x4081e1),this;}[_0x1f410c(0x198)](_0x547144){var _0x5c6b67=_0x1f410c;if(this[_0x5c6b67(0x23f)](_0x547144))return this['_clearScheduledTask'](),this[_0x5c6b67(0x3e9)]['createInstance'](Q,this[_0x5c6b67(0x47c)],this[_0x5c6b67(0x37c)],this[_0x5c6b67(0x389)],this['_pendingMutations'],null,[_0x547144],this[_0x5c6b67(0x385)]);try{const _0x2347d9=this[_0x5c6b67(0x228)][_0x5c6b67(0x3e0)]([_0x547144],[this['_awaitingChangeset']],!0x1);if(_0xeee444(_0x2347d9)){const {c1Prime:_0x5c2007,c2Prime:_0x152bec}=_0x2347d9,_0x374a0b=this[_0x5c6b67(0x228)][_0x5c6b67(0x3f1)](_0x5c2007[0x0],this[_0x5c6b67(0x303)]);if(_0x20cff5(_0x374a0b)){const {c1Prime:_0xb1740f,m2Prime:_0xedf255}=_0x374a0b;return this[_0x5c6b67(0x284)](_0xb1740f),_0x152bec[0x0][_0x5c6b67(0x254)]=this[_0x5c6b67(0x3e4)](),this[_0x5c6b67(0x2f7)](),this[_0x5c6b67(0x3e9)][_0x5c6b67(0x40e)](ae,this[_0x5c6b67(0x47c)],this[_0x5c6b67(0x37c)],_0x152bec[0x0],_0xedf255,this[_0x5c6b67(0x385)],void 0x0);}throw _0x374a0b[_0x5c6b67(0x1a2)];}throw _0x2347d9[_0x5c6b67(0x1a2)];}catch(_0x2ea98e){return this[_0x5c6b67(0x320)][_0x5c6b67(0x1a2)](_0x2ea98e),this['_onConflict'](!0x1);}}['onRemoteAck'](_0xdf23fe){var _0x15114d=_0x1f410c;if(this[_0x15114d(0x2f7)](),this[_0x15114d(0x23f)](_0xdf23fe))return this[_0x15114d(0x3e9)]['createInstance'](Q,this[_0x15114d(0x47c)],this[_0x15114d(0x37c)],null,this[_0x15114d(0x303)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x391e1c=this[_0x15114d(0x3e9)][_0x15114d(0x40e)](re,this[_0x15114d(0x47c)],this['type'],this['_pendingMutations'],this[_0x15114d(0x385)]);return _0x391e1c[_0x15114d(0x216)](),_0x391e1c[_0x15114d(0x283)](),_0x391e1c;}[_0x1f410c(0x2a1)](_0x3504d3){var _0x50d3de=_0x1f410c;return this[_0x50d3de(0x27a)](!!(_0x3504d3!=null&&_0x3504d3[_0x50d3de(0x3f3)]));}[_0x1f410c(0x346)](_0x274db7){var _0x470f08=_0x1f410c;return this[_0x470f08(0x3a8)]>Ci?this[_0x470f08(0x2d8)]():(this[_0x470f08(0x214)]=Ii(this['_resendTimeout'],{'timeout':this[_0x470f08(0x3a8)],'reqId':_0x274db7[_0x470f08(0x3d1)]}),this['_sender']=this['_resendTimer'][_0x470f08(0x2f1)](({reqId:_0x14433f,timeout:_0x1f7b37})=>{var _0x185a92=_0x470f08;this[_0x185a92(0x1a0)](_0x14433f,_0x1f7b37);}),this);}[_0x1f410c(0x2d8)](){var _0x2868a1=_0x1f410c;return this[_0x2868a1(0x2f7)](),this[_0x2868a1(0x3e9)]['createInstance'](ue,this[_0x2868a1(0x47c)],this[_0x2868a1(0x37c)],this[_0x2868a1(0x389)],this[_0x2868a1(0x303)],this[_0x2868a1(0x385)]);}[_0x1f410c(0x3b6)](){return this;}[_0x1f410c(0x477)](){var _0x3a33cb=_0x1f410c;this[_0x3a33cb(0x385)][_0x3a33cb(0x342)](this[_0x3a33cb(0x389)]);}[_0x1f410c(0x27a)](_0x5ae314){var _0x419367=_0x1f410c;return this[_0x419367(0x2f7)](),this[_0x419367(0x3e9)]['createInstance'](le,this[_0x419367(0x47c)],this[_0x419367(0x37c)],null,this[_0x419367(0x303)],this['_handler'],_0x5ae314);}[_0x1f410c(0x1a0)](_0x12a936,_0x31a474){var _0x315060=_0x1f410c,_0x54b0df;_0x12a936===((_0x54b0df=this['_awaitingChangeset'])==null?void 0x0:_0x54b0df[_0x315060(0x3d1)])&&(this[_0x315060(0x477)](),this[_0x315060(0x3a8)]=_0x31a474===0x0?0x3e8:_0x31a474*0x2);}[_0x1f410c(0x2f7)](){var _0x573da4=_0x1f410c,_0x52c6eb;(_0x52c6eb=this[_0x573da4(0x1e9)])==null||_0x52c6eb[_0x573da4(0x1fa)](),this[_0x573da4(0x3a8)]=0x0;}};ae=Ie([P(0x6,_0x1d307d(_0x1f649f)),P(0x7,_0x1d307d(_0xd49e7)),P(0x8,_0x435e17),P(0x9,_0x419223),P(0xa,_0x402e01),P(0xb,_0x2aacb6),P(0xc,_0x1c555d(J))],ae);let le=class extends Te{constructor(_0x1d93e5,_0xf4c2b4,_0x46bd7f,_0x326bf8,_0x3d93f1,_0x342e79=!0x1,_0x2400ce,_0x34602d,_0x5a9dfc,_0x4561d5,_0xc86f7f,_0x45e27d,_0x3ba633){var _0x23cb64=_0x1f410c;super(_0x1d93e5,_0xf4c2b4,_0x46bd7f,_0x326bf8,_0x3d93f1,_0x34602d,_0x5a9dfc,_0x4561d5,_0x3ba633),N(this,_0x23cb64(0x256),_0x23cb64(0x46a)),(this[_0x23cb64(0x43c)]=_0x342e79,this[_0x23cb64(0x259)]=_0x2400ce,this[_0x23cb64(0x249)]=_0xc86f7f,this[_0x23cb64(0x425)]=_0x45e27d,this[_0x23cb64(0x1e7)]=_0x3ba633,this['_showConflictNotification'](),this[_0x23cb64(0x194)](),this[_0x23cb64(0x3b3)]());}[_0x1f410c(0x1d5)](){return this;}[_0x1f410c(0x198)](){return this;}[_0x1f410c(0x333)](){return this;}['onRemoteRej'](){return this;}[_0x1f410c(0x346)](){return this;}[_0x1f410c(0x2d8)](){return this;}[_0x1f410c(0x3b6)](){return this;}[_0x1f410c(0x477)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1f410c(0x194)](){var _0x8ccca1=_0x1f410c,_0x2fd2d9;(_0x2fd2d9=this[_0x8ccca1(0x2a0)])==null||_0x2fd2d9[_0x8ccca1(0x38e)](this[_0x8ccca1(0x47c)],this[_0x8ccca1(0x37c)],null,[]);}[_0x1f410c(0x2d6)](){var _0x4565bb=_0x1f410c;this[_0x4565bb(0x43c)]?this['_collaborationUIEventService'][_0x4565bb(0x1bb)]({'id':ne[_0x4565bb(0x2ff)]}):this[_0x4565bb(0x425)][_0x4565bb(0x1bb)]({'id':ne['CONFLICT']});}['_disableEditing'](){var _0x1403cd=_0x1f410c;this[_0x1403cd(0x259)]['updatePermissionPoint'](new _0x44663c(this[_0x1403cd(0x47c)])['id'],!0x1);}};le=Ie([P(0x6,_0x1d307d(_0x42cef7)),P(0x7,_0x435e17),P(0x8,_0x2aacb6),P(0x9,_0x1d307d(_0xd49e7)),P(0xa,_0x1d307d(_0x4c667f)),P(0xb,_0x1d307d(ve)),P(0xc,_0x1c555d(J))],le);let ue=class extends Te{constructor(_0x74c926,_0x31f53a,_0x4fb64e,_0x2a041b,_0x1039db,_0x4cb1f2,_0x2f2469,_0xab5eb5,_0x295535,_0x295cea){var _0xccc404=_0x1f410c;super(_0x74c926,_0x31f53a,_0x4fb64e,_0x2a041b,_0x1039db,_0xab5eb5,_0x295535,_0x2f2469,_0x295cea),N(this,_0xccc404(0x256),_0xccc404(0x480)),this['_injector']=_0x4cb1f2;}['appendMutation'](_0x4fbd11){var _0x4e7a1b=_0x1f410c;return this[_0x4e7a1b(0x303)][_0x4e7a1b(0x2dc)](_0x4fbd11),this[_0x4e7a1b(0x283)](),this;}[_0x1f410c(0x198)](_0x3aa0b8){var _0x327ddb=_0x1f410c;throw new Error(_0x327ddb(0x1dc));}[_0x1f410c(0x333)](){var _0x580a21=_0x1f410c;throw new Error(_0x580a21(0x272));}[_0x1f410c(0x2a1)](){var _0x1c7b02=_0x1f410c;throw new Error(_0x1c7b02(0x30b));}[_0x1f410c(0x346)](){return this;}['toggleOffline'](){return this;}[_0x1f410c(0x3b6)](){var _0x217cbd=_0x1f410c;const {_injector:_0x568c21,_pendingMutations:_0x56a921,_awaitingChangeset:_0x393b13,unitID:_0x365fd6,_handler:_0x46ec06,type:_0x363728}=this,_0x3fbf80=Ri(_0x568c21,_0x365fd6,_0x363728,_0x393b13,_0x56a921,_0x46ec06);return _0x3fbf80 instanceof re?_0x3fbf80['_schedule']():(_0x3fbf80 instanceof ae||_0x3fbf80 instanceof _e)&&_0x3fbf80[_0x217cbd(0x477)](),_0x3fbf80;}[_0x1f410c(0x477)](){var _0x4a068e=_0x1f410c;throw new Error(_0x4a068e(0x422));}};ue=Ie([P(0x5,_0x1d307d(_0x1f649f)),P(0x6,_0x1d307d(_0xd49e7)),P(0x7,_0x435e17),P(0x8,_0x2aacb6),P(0x9,_0x1c555d(J))],ue);let Q=class extends Te{constructor(_0x1e8159,_0x104e4e,_0x801ded,_0x58f115,_0xec463e,_0x5542cc,_0x55cce0,_0x53244d,_0x179452,_0x533c8c,_0x6ad707,_0x2e179a,_0x1932f0,_0xff328d){var _0x34aaad=_0x1f410c;super(_0x1e8159,_0x104e4e,_0x801ded,_0x58f115,_0x55cce0,_0x6ad707,_0x2e179a,_0x179452,_0xff328d),N(this,_0x34aaad(0x256),_0x34aaad(0x262)),(this[_0x34aaad(0x2a8)]=_0xec463e,this[_0x34aaad(0x29f)]=_0x5542cc,this[_0x34aaad(0x3e9)]=_0x53244d,this[_0x34aaad(0x320)]=_0x533c8c,this[_0x34aaad(0x228)]=_0x1932f0,this[_0x34aaad(0x1e7)]=_0xff328d);}['onMissedChangesetFetched'](_0x3a3c4d){var _0x5d78e8=_0x1f410c;try{const _0x483395=[..._0x3a3c4d,...this[_0x5d78e8(0x29f)]],_0x305afd=[this[_0x5d78e8(0x389)]||this['_acknowledgedAwaitingChangeset']][_0x5d78e8(0x32f)](_0x4dc08=>!!_0x4dc08);let _0x5a822f,_0x4743b9;if(_0x305afd[_0x5d78e8(0x380)]){const _0xb0c353=this[_0x5d78e8(0x228)][_0x5d78e8(0x3e0)](_0x483395,_0x305afd,!0x1);if(!_0xeee444(_0xb0c353))throw _0xb0c353[_0x5d78e8(0x1a2)];_0x5a822f=_0xb0c353[_0x5d78e8(0x444)],_0x4743b9=_0xb0c353[_0x5d78e8(0x405)];}else _0x5a822f=_0x483395,_0x4743b9=[];let _0x36e8c5=this['_pendingMutations'];_0x5a822f['forEach'](_0x2347b0=>{var _0x14c7dd=_0x5d78e8;let _0x2bf543;if(_0x36e8c5[_0x14c7dd(0x380)]){const _0x2d7aab=this[_0x14c7dd(0x228)][_0x14c7dd(0x3f1)](_0x2347b0,_0x36e8c5);if(!_0x20cff5(_0x2d7aab))throw _0x2d7aab[_0x14c7dd(0x1a2)];_0x2bf543=_0x2d7aab[_0x14c7dd(0x444)],_0x36e8c5=_0x2d7aab[_0x14c7dd(0x277)];}else _0x2bf543=_0x2347b0;this[_0x14c7dd(0x284)](_0x2bf543);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5d78e8(0x264)](),this[_0x5d78e8(0x389)]&&_0x4743b9[_0x5d78e8(0x380)]&&(_0x4743b9[0x0][_0x5d78e8(0x254)]=this[_0x5d78e8(0x3e4)]());let _0x61e2a9;if(this[_0x5d78e8(0x389)]&&_0x36e8c5[_0x5d78e8(0x380)]!==0x0)_0x61e2a9=this[_0x5d78e8(0x3e9)][_0x5d78e8(0x40e)](ae,this[_0x5d78e8(0x47c)],this[_0x5d78e8(0x37c)],_0x4743b9[0x0],_0x36e8c5,this[_0x5d78e8(0x385)],void 0x0);else{if(this[_0x5d78e8(0x389)]&&_0x36e8c5[_0x5d78e8(0x380)]===0x0)_0x4743b9[0x0][_0x5d78e8(0x254)]=this[_0x5d78e8(0x3e4)](),_0x61e2a9=this['_injector']['createInstance'](_e,this[_0x5d78e8(0x47c)],this[_0x5d78e8(0x37c)],_0x4743b9[0x0],this['_handler']);else{if(_0x36e8c5['length']!==0x0){const _0x191b1=this[_0x5d78e8(0x3e9)]['createInstance'](re,this[_0x5d78e8(0x47c)],this[_0x5d78e8(0x37c)],_0x36e8c5,this['_handler']);_0x191b1[_0x5d78e8(0x216)](),_0x61e2a9=_0x191b1;}else _0x61e2a9=this[_0x5d78e8(0x3e9)][_0x5d78e8(0x40e)](ye,this[_0x5d78e8(0x47c)],this[_0x5d78e8(0x37c)],this[_0x5d78e8(0x385)]);}}return _0x61e2a9[_0x5d78e8(0x283)](),_0x61e2a9;}catch(_0x247168){return this[_0x5d78e8(0x320)][_0x5d78e8(0x1a2)](_0x5d78e8(0x388),_0x5d78e8(0x23a),_0x247168),this['_injector'][_0x5d78e8(0x40e)](le,this[_0x5d78e8(0x47c)],this['type'],this[_0x5d78e8(0x389)],this[_0x5d78e8(0x303)],this[_0x5d78e8(0x385)],!0x1);}}[_0x1f410c(0x477)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x4bc603){var _0x4769c9=_0x1f410c;return this[_0x4769c9(0x303)][_0x4769c9(0x2dc)](_0x4bc603),this;}[_0x1f410c(0x198)](_0x59e6b7){var _0x3fb723=_0x1f410c;return this[_0x3fb723(0x29f)][_0x3fb723(0x2dc)](_0x59e6b7),this;}[_0x1f410c(0x333)](_0x3968e1){var _0x1c43c8=_0x1f410c;if(this[_0x1c43c8(0x389)])return this[_0x1c43c8(0x2a8)]=this['_awaitingChangeset'],this[_0x1c43c8(0x389)]=null,this;throw new Error(_0x1c43c8(0x372));}['onRemoteRej'](_0x273951){var _0x547d5a=_0x1f410c;return this[_0x547d5a(0x27a)](!!(_0x273951!=null&&_0x273951[_0x547d5a(0x3f3)]));}[_0x1f410c(0x346)](){return this;}['toggleOffline'](){var _0x528ead=_0x1f410c;return this['_injector'][_0x528ead(0x40e)](ue,this[_0x528ead(0x47c)],this[_0x528ead(0x37c)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x528ead(0x385)]);}[_0x1f410c(0x3b6)](){return this;}[_0x1f410c(0x27a)](_0x222801){var _0x47fd79=_0x1f410c;return this[_0x47fd79(0x3e9)][_0x47fd79(0x40e)](le,this[_0x47fd79(0x47c)],this[_0x47fd79(0x37c)],this[_0x47fd79(0x389)],this[_0x47fd79(0x303)],this[_0x47fd79(0x385)],_0x222801);}};Q=Ie([P(0x7,_0x1d307d(_0x1f649f)),P(0x8,_0x1d307d(_0xd49e7)),P(0x9,_0x419223),P(0xa,_0x435e17),P(0xb,_0x2aacb6),P(0xc,_0x402e01),P(0xd,_0x1c555d(J))],Q);function Ri(_0x3dcb78,_0x2317e8,_0x465fce,_0x53b680,_0x5d1c0a,_0x579059){var _0x808963=_0x1f410c;return _0x53b680&&_0x5d1c0a[_0x808963(0x380)]?_0x3dcb78[_0x808963(0x40e)](ae,_0x2317e8,_0x465fce,_0x53b680,_0x5d1c0a,_0x579059,void 0x0):_0x53b680?_0x3dcb78['createInstance'](_e,_0x2317e8,_0x465fce,_0x53b680,_0x579059):_0x5d1c0a['length']?_0x3dcb78[_0x808963(0x40e)](re,_0x2317e8,_0x465fce,_0x5d1c0a,_0x579059):_0x3dcb78['createInstance'](ye,_0x2317e8,_0x465fce,_0x579059);}var Zs=Object[_0x1f410c(0x2a4)],wt=(_0x15f476,_0x3327e0,_0x4bde69,_0x5214e6)=>{var _0x5e030a=_0x1f410c;for(var _0x27089e=_0x5214e6>0x1?void 0x0:_0x5214e6?Zs(_0x3327e0,_0x4bde69):_0x3327e0,_0x50bf7c=_0x15f476[_0x5e030a(0x380)]-0x1,_0x369b4a;_0x50bf7c>=0x0;_0x50bf7c--)(_0x369b4a=_0x15f476[_0x50bf7c])&&(_0x27089e=_0x369b4a(_0x27089e)||_0x27089e);return _0x27089e;},H=(_0x369bd4,_0x457dd2)=>(_0x2210f,_0x1e7015)=>_0x457dd2(_0x2210f,_0x1e7015,_0x369bd4);let st=class extends _0x2296f2{constructor(_0x4648c8,_0x1ebf1e,_0x440848,_0x561746,_0x3e31ba,_0x432c62,_0x3e5cae,_0x1f0da8,_0x36942a,_0x1952ec,_0x39fe64,_0x352509,_0x4d07fd){var _0x4e1b54=_0x1f410c;super(),N(this,_0x4e1b54(0x2ca),new _0x3ad19d(null)),N(this,_0x4e1b54(0x31b),this[_0x4e1b54(0x2ca)][_0x4e1b54(0x18b)]()),N(this,_0x4e1b54(0x38b)),N(this,_0x4e1b54(0x3e8),!0x1),N(this,_0x4e1b54(0x428),''),N(this,'_changesetReqId',0x0),N(this,_0x4e1b54(0x390),this[_0x4e1b54(0x31b)][_0x4e1b54(0x2c5)](_0x440c6b(_0x47f377=>_0x47f377?_0x47f377[_0x4e1b54(0x256)]:Ti[_0x4e1b54(0x1bc)]),_0x233441(0x1))),N(this,_0x4e1b54(0x2a3),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x4e1b54(0x47c)]=_0x4648c8,this[_0x4e1b54(0x36a)]=_0x1ebf1e,this[_0x4e1b54(0x294)]=_0x440848,this[_0x4e1b54(0x3e9)]=_0x561746,this[_0x4e1b54(0x2b1)]=_0x3e31ba,this[_0x4e1b54(0x249)]=_0x432c62,this[_0x4e1b54(0x3fb)]=_0x3e5cae,this[_0x4e1b54(0x429)]=_0x1f0da8,this[_0x4e1b54(0x320)]=_0x36942a,this[_0x4e1b54(0x191)]=_0x1952ec,this['_permissionService']=_0x39fe64,this['_singleActiveUnitService']=_0x352509,this['_localCacheService']=_0x4d07fd);}get[_0x1f410c(0x1ac)](){var _0xe8eddf=_0x1f410c;return this[_0xe8eddf(0x38b)];}async[_0x1f410c(0x3ac)](){var _0x594436=_0x1f410c;if(this[_0x594436(0x1ac)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x594436(0x442)]();}['pauseCollaboration'](){var _0xd6d5b1=_0x1f410c;return this[_0xd6d5b1(0x3e8)]=!0x0,_0x381912(()=>{var _0x21ca61=_0xd6d5b1;this[_0x21ca61(0x3e8)]=!0x1,this[_0x21ca61(0x40b)]();});}[_0x1f410c(0x28f)](_0x29d5ed){this['_onLocalMutation'](_0x29d5ed);}[_0x1f410c(0x424)](_0x1a3edf){var _0xcae50f=_0x1f410c;this[_0xcae50f(0x38b)]=_0x1a3edf,this[_0xcae50f(0x2ca)][_0xcae50f(0x252)](_0x1a3edf);}async[_0x1f410c(0x442)](){var _0x5bc328=_0x1f410c,_0x59e98d;this[_0x5bc328(0x424)](await this[_0x5bc328(0x3ab)]()),this[_0x5bc328(0x22a)]&&((_0x59e98d=this[_0x5bc328(0x22a)])==null||_0x59e98d[_0x5bc328(0x26f)](this['unitID']),this[_0x5bc328(0x1b4)](this[_0x5bc328(0x22a)][_0x5bc328(0x285)](this[_0x5bc328(0x47c)])[_0x5bc328(0x2f1)](_0x4138e9=>{var _0x4296c3=_0x5bc328;this[_0x4296c3(0x320)]['debug'](_0x4296c3(0x218),_0x4296c3(0x19c),_0x4138e9),_0x4138e9===Ei[_0x4296c3(0x36f)]?(this[_0x4296c3(0x429)][_0x4296c3(0x1bb)]({'id':ne[_0x4296c3(0x39f)]}),this[_0x4296c3(0x259)]['updatePermissionPoint'](new _0x44663c(this[_0x4296c3(0x47c)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x4296c3(0x259)][_0x4296c3(0x308)](new _0x44663c(this['unitID'])['id'],!0x0),this[_0x4296c3(0x259)][_0x4296c3(0x1e4)](!0x0));})));let _0x7afa71=!0x1;return this[_0x5bc328(0x1b4)](this[_0x5bc328(0x36a)][_0x5bc328(0x27b)][_0x5bc328(0x2f1)](_0x1d52ca=>{var _0x5e1ea8=_0x5bc328;_0x1d52ca===Se['ONLINE']?this[_0x5e1ea8(0x30f)](_0x7afa71):_0x1d52ca===Se[_0x5e1ea8(0x1bc)]&&(_0x7afa71=!0x0,this[_0x5e1ea8(0x3e2)]());})),this[_0x5bc328(0x1b4)](this['session'][_0x5bc328(0x38c)]['subscribe'](_0xc1ac6d=>{var _0x25ca0c=_0x5bc328;try{switch(_0xc1ac6d[_0x25ca0c(0x1a8)]){case _0x3c0371['NEW_CHANGESETS']:{this[_0x25ca0c(0x1d6)](_0x28f714(_0xc1ac6d[_0x25ca0c(0x2ad)]));break;}case _0x3c0371[_0x25ca0c(0x183)]:{this['_onRemoteACK'](_0xc1ac6d[_0x25ca0c(0x2ad)]);break;}case _0x3c0371[_0x25ca0c(0x36d)]:{this[_0x25ca0c(0x321)]();break;}case _0x3c0371[_0x25ca0c(0x35b)]:{this[_0x25ca0c(0x1f3)](_0xc1ac6d['data']);break;}case _0x3c0371[_0x25ca0c(0x41b)]:{this[_0x25ca0c(0x3d0)](_0xc1ac6d[_0x25ca0c(0x2ad)][_0x25ca0c(0x3ce)][_0x25ca0c(0x382)](_0x2104d7=>_0x28f714(_0x2104d7)));break;}case _0x3c0371[_0x25ca0c(0x366)]:{this[_0x25ca0c(0x321)]({'isPermissionRej':!0x0});break;}case _0x3c0371[_0x25ca0c(0x3be)]:break;}}catch(_0x29e207){throw console['error']('Error\x20on\x20receiving\x20event',_0x29e207),_0x29e207;}})),this[_0x5bc328(0x38b)];}[_0x1f410c(0x305)](){var _0x4f0106=_0x1f410c;this[_0x4f0106(0x2a3)]=!0x1;}['_lockTransition'](){var _0x15333a=_0x1f410c;if(this[_0x15333a(0x2a3)])throw new Error(_0x15333a(0x309));this[_0x15333a(0x2a3)]=!0x0;}['_onLocalMutation'](_0x5dd5f5){var _0x21d024=_0x1f410c;this[_0x21d024(0x3a4)](),this['_updateState'](this[_0x21d024(0x38b)]['appendMutation'](_0x5dd5f5)),this[_0x21d024(0x305)]();}[_0x1f410c(0x1d6)](_0x2f1a3a){var _0xed977=_0x1f410c;if(!(_0x2f1a3a[_0xed977(0x462)]<=this[_0xed977(0x3fb)][_0xed977(0x47f)](this[_0xed977(0x47c)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x2f1a3a);return;}this[_0xed977(0x3cd)](_0x2f1a3a);}}['_exhaustRemoteChangesetQueue'](){var _0x1c4465=_0x1f410c;this[_0x1c4465(0x1e1)]['forEach'](_0x523a7d=>this[_0x1c4465(0x3cd)](_0x523a7d)),this[_0x1c4465(0x1e1)]=[];}['_applyRemoteChangeset'](_0x9fc0c5){var _0x171701=_0x1f410c;const _0x4d04c2=this[_0x171701(0x2b1)][_0x171701(0x270)][_0x171701(0x1c4)](this[_0x171701(0x2b1)][_0x171701(0x270)][_0x171701(0x455)]()[_0x171701(0x2cd)])(_0x9fc0c5[_0x171701(0x2c2)],null)||_0x9fc0c5['mutations'],_0x4ed8f3={..._0x9fc0c5,'mutations':_0x4d04c2};this['_lockTransition'](),this[_0x171701(0x424)](this[_0x171701(0x38b)][_0x171701(0x198)](_0x4ed8f3)),this[_0x171701(0x305)]();}[_0x1f410c(0x3ff)](_0x42cbbf){var _0x2d2c2b=_0x1f410c;this[_0x2d2c2b(0x3a4)](),this[_0x2d2c2b(0x424)](this[_0x2d2c2b(0x38b)][_0x2d2c2b(0x333)](_0x42cbbf)),this[_0x2d2c2b(0x305)]();}[_0x1f410c(0x321)](_0x4e117b){var _0x506021=_0x1f410c;this[_0x506021(0x3a4)](),this[_0x506021(0x424)](this['_state'][_0x506021(0x2a1)](_0x4e117b)),this['_unlockTransition']();}['_onRemoteRetry'](_0x26d4fe){var _0x5e988d=_0x1f410c;this[_0x5e988d(0x3a4)](),this[_0x5e988d(0x424)](this[_0x5e988d(0x38b)][_0x5e988d(0x346)](_0x26d4fe)),this['_unlockTransition']();}[_0x1f410c(0x3d0)](_0x142aad){var _0x181afa=_0x1f410c;if(!(this[_0x181afa(0x38b)]instanceof Q))throw new TypeError(_0x181afa(0x26e));const _0x1d8af5=_0x142aad['map'](_0x357876=>{var _0x553d6f=_0x181afa;const _0x34ef39=this['_compressMutationService'][_0x553d6f(0x270)][_0x553d6f(0x1c4)](this[_0x553d6f(0x2b1)][_0x553d6f(0x270)][_0x553d6f(0x455)]()[_0x553d6f(0x2cd)])(_0x357876[_0x553d6f(0x2c2)],null)||_0x357876[_0x553d6f(0x2c2)];return{..._0x357876,'mutations':_0x34ef39};});this[_0x181afa(0x3a4)](),this['_updateState'](this[_0x181afa(0x38b)][_0x181afa(0x2bb)](_0x1d8af5)),this['_unlockTransition']();}[_0x1f410c(0x3e2)](){var _0x2c06cc=_0x1f410c;this[_0x2c06cc(0x3a4)](),this[_0x2c06cc(0x424)](this[_0x2c06cc(0x38b)][_0x2c06cc(0x2d8)]()),this[_0x2c06cc(0x305)]();}[_0x1f410c(0x30f)](_0x3aacc6=!0x1){var _0x393ea3=_0x1f410c;this[_0x393ea3(0x3a4)](),this[_0x393ea3(0x424)](this[_0x393ea3(0x38b)][_0x393ea3(0x3b6)]()),this[_0x393ea3(0x305)]();const _0x1061ed=this['_state'];_0x3aacc6&&_0x1061ed instanceof ye&&(this[_0x393ea3(0x3a4)](),this[_0x393ea3(0x424)](_0x1061ed[_0x393ea3(0x235)]()),this[_0x393ea3(0x305)]());}async[_0x1f410c(0x3ab)](){return new Promise(_0x443ba3=>{var _0xd881af=_0x27f1;this[_0xd881af(0x36a)][_0xd881af(0x27b)][_0xd881af(0x2c5)](_0x16a73a(0x1))['subscribe'](async _0x529665=>{var _0xc82b5d=_0xd881af;_0x443ba3(await this[_0xc82b5d(0x436)](_0x529665===Se[_0xc82b5d(0x384)]));});});}[_0x1f410c(0x204)](){var _0x39c2af=_0x1f410c;const _0x18bb10=this[_0x39c2af(0x47c)];return{'onStateChange':(_0x5ecbb1,_0x3f2bec)=>{var _0x5c19f9=_0x39c2af;if(_0x5ecbb1!==this[_0x5c19f9(0x38b)])throw new Error(_0x5c19f9(0x2cc)+_0x5ecbb1[_0x5c19f9(0x256)]+_0x5c19f9(0x454)+_0x3f2bec['status']+_0x5c19f9(0x318)+this['_state'][_0x5c19f9(0x256)]);this['_updateState'](_0x3f2bec);},'onSendChangeset':_0x40ece3=>{var _0x253adc=_0x39c2af;_0x40ece3[_0x253adc(0x3b7)]||(_0x40ece3['sid']=this['_changesetSessionId'],_0x40ece3[_0x253adc(0x3d1)]=++this[_0x253adc(0x3ee)]);const _0x512a8b={'eventID':_0x3c0371[_0x253adc(0x410)],'data':{'unitID':_0x40ece3[_0x253adc(0x47c)],'unitType':this[_0x253adc(0x294)],'changeset':_0x40ece3,'memberID':this[_0x253adc(0x36a)][_0x253adc(0x2dd)]()}};this['session']['send'](_0x512a8b,this[_0x253adc(0x47c)]);},'onMissingChangesets':({from:_0x2bf10a,to:_0x33c271})=>{var _0x40ad1f=_0x39c2af;this[_0x40ad1f(0x320)]['debug'](_0x40ad1f(0x218),_0x40ad1f(0x2f5)+_0x2bf10a+_0x40ad1f(0x43a)+_0x33c271);const _0x21f23e={'eventID':_0x3c0371[_0x40ad1f(0x39c)],'data':{'unitID':_0x18bb10,'unitType':this[_0x40ad1f(0x294)],'from':_0x2bf10a,'to':_0x33c271}};this[_0x40ad1f(0x36a)]['send'](_0x21f23e,this[_0x40ad1f(0x47c)]);}};}async[_0x1f410c(0x436)](_0x92805f){var _0xd6428e=_0x1f410c,_0x3a05fd,_0x881e94,_0x5de856;const _0x18e86c=await((_0x3a05fd=this[_0xd6428e(0x2a0)])==null?void 0x0:_0x3a05fd[_0xd6428e(0x207)](this[_0xd6428e(0x47c)])),_0x104def=(_0x881e94=_0x18e86c==null?void 0x0:_0x18e86c[_0xd6428e(0x2c2)])!=null?_0x881e94:[],_0x1f3f31=(_0x5de856=_0x18e86c==null?void 0x0:_0x18e86c['awaitingChangeset'])!=null?_0x5de856:null,_0x520c86=!!(_0x1f3f31!=null&&_0x1f3f31[_0xd6428e(0x3b7)])&&!!(_0x1f3f31!=null&&_0x1f3f31[_0xd6428e(0x3d1)]);this['_changesetSessionId']=_0x520c86?_0x1f3f31[_0xd6428e(0x3b7)]:_0x4f4bda(),this[_0xd6428e(0x3ee)]=_0x520c86?_0x1f3f31[_0xd6428e(0x3d1)]:0x0;const _0x287f3=this[_0xd6428e(0x47c)];try{this['_replayCachedMutations'](_0x1f3f31,_0x104def);}catch(_0x51c521){this['_logService']['error'](_0x51c521);}const _0x50d763=this[_0xd6428e(0x204)]();if(_0x92805f){const _0x27ef97=Ri(this[_0xd6428e(0x3e9)],_0x287f3,this[_0xd6428e(0x294)],_0x1f3f31,_0x104def,_0x50d763);return _0x27ef97 instanceof re?_0x27ef97['_schedule']():(_0x27ef97 instanceof ae||_0x27ef97 instanceof _e)&&_0x27ef97['resend'](),_0x27ef97;}return this[_0xd6428e(0x3e9)][_0xd6428e(0x40e)](ue,_0x287f3,this['_type'],_0x1f3f31,_0x104def,_0x50d763);}[_0x1f410c(0x42f)](_0x41348c,_0x5cea6b){var _0x436bbe=_0x1f410c,_0x2b30ed,_0x5b9b28;const _0x3c67bb=this[_0x436bbe(0x2b1)][_0x436bbe(0x270)][_0x436bbe(0x1c4)](this[_0x436bbe(0x2b1)][_0x436bbe(0x270)][_0x436bbe(0x455)]()[_0x436bbe(0x2cd)]);(_0x2b30ed=_0x3c67bb((_0x41348c==null?void 0x0:_0x41348c[_0x436bbe(0x2c2)])||[],null))==null||_0x2b30ed[_0x436bbe(0x2c8)](_0xe108e6=>this[_0x436bbe(0x191)][_0x436bbe(0x2d3)](_0xe108e6['id'],_0xe108e6[_0x436bbe(0x41f)])),(_0x5b9b28=_0x3c67bb(_0x5cea6b||[],null))==null||_0x5b9b28[_0x436bbe(0x2c8)](_0x3850f5=>this[_0x436bbe(0x191)][_0x436bbe(0x2d3)](_0x3850f5['id'],_0x3850f5[_0x436bbe(0x41f)]));}};st=wt([H(0x3,_0x1d307d(_0x1f649f)),H(0x4,_0x1d307d(_0x3da6ce)),H(0x5,_0x1d307d(_0x4c667f)),H(0x6,_0x1d307d(_0xd49e7)),H(0x7,_0x1d307d(ve)),H(0x8,_0x419223),H(0x9,_0x435e17),H(0xa,_0x42cef7),H(0xb,_0x1c555d(ht)),H(0xc,_0x1c555d(J))],st);let St=class extends st{constructor(_0x57d503,_0x1dd951,_0x14403e,_0x557463,_0x48c91a,_0x280bf4,_0x555e9e,_0x240938,_0x3bc08e,_0x38ce4b,_0x162bdc,_0x5e2ee7,_0x2f48b8){var _0x2a2eab=_0x1f410c;super(_0x57d503,_0x14403e,_0x1dd951,_0x557463,_0x48c91a,_0x280bf4,_0x555e9e,_0x240938,_0x3bc08e,_0x38ce4b,_0x162bdc,_0x5e2ee7,_0x2f48b8),N(this,'_handlerCallback',null),(this[_0x2a2eab(0x47c)]=_0x57d503,this[_0x2a2eab(0x37c)]=_0x1dd951);}[_0x1f410c(0x370)](_0x1925a7){var _0x5afb39=_0x1f410c;this[_0x5afb39(0x35f)]=_0x1925a7;}['dispose'](){var _0x100e23=_0x1f410c;this[_0x100e23(0x35f)]=null,super['dispose']();}['_createHandler'](){var _0x1dabb3=_0x1f410c;const _0x210857=super['_createHandler']();return _0x210857[_0x1dabb3(0x369)]=_0x2d2c07=>{var _0x1feae3=_0x1dabb3,_0x5ecc7b,_0x2c3967;return(_0x2c3967=(_0x5ecc7b=this[_0x1feae3(0x35f)])==null?void 0x0:_0x5ecc7b[_0x1feae3(0x369)])==null?void 0x0:_0x2c3967[_0x1feae3(0x208)](_0x5ecc7b,_0x2d2c07);},_0x210857[_0x1dabb3(0x1c5)]=_0xe1575f=>{var _0x40fd5f=_0x1dabb3,_0x170a34,_0xfabf19;return(_0xfabf19=(_0x170a34=this['_handlerCallback'])==null?void 0x0:_0x170a34[_0x40fd5f(0x1c5)])==null?void 0x0:_0xfabf19[_0x40fd5f(0x208)](_0x170a34,_0xe1575f);},_0x210857[_0x1dabb3(0x464)]=_0x3be3cc=>{var _0xc308a5=_0x1dabb3,_0x30c0a8,_0x1aeed4;return(_0x1aeed4=(_0x30c0a8=this[_0xc308a5(0x35f)])==null?void 0x0:_0x30c0a8[_0xc308a5(0x464)])==null?void 0x0:_0x1aeed4[_0xc308a5(0x208)](_0x30c0a8,_0x3be3cc);},_0x210857['onSyncEditingCollabCursor']=_0x4880c2=>{var _0x590d2a=_0x1dabb3,_0x1719c2,_0x1b7fe1;return(_0x1b7fe1=(_0x1719c2=this[_0x590d2a(0x35f)])==null?void 0x0:_0x1719c2[_0x590d2a(0x199)])==null?void 0x0:_0x1b7fe1[_0x590d2a(0x208)](_0x1719c2,_0x4880c2);},_0x210857[_0x1dabb3(0x288)]=_0xc85faf=>{var _0x5acd64=_0x1dabb3,_0x51fca5,_0x442339,_0x57acb1;if(!((_0x51fca5=this[_0x5acd64(0x35f)])!=null&&_0x51fca5['onTransformRemoteChangesetByIMECache']))throw new Error(_0x5acd64(0x3bf));return(_0x57acb1=(_0x442339=this[_0x5acd64(0x35f)])==null?void 0x0:_0x442339[_0x5acd64(0x288)])==null?void 0x0:_0x57acb1[_0x5acd64(0x208)](_0x442339,_0xc85faf);},_0x210857[_0x1dabb3(0x27d)]=_0x9f9ee8=>{var _0x5c48c2=_0x1dabb3,_0x11434c,_0x4af9dc,_0x43ebf6;if(!((_0x11434c=this['_handlerCallback'])!=null&&_0x11434c[_0x5c48c2(0x27d)]))throw new Error(_0x5c48c2(0x1ab));return(_0x43ebf6=(_0x4af9dc=this[_0x5c48c2(0x35f)])==null?void 0x0:_0x4af9dc['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x43ebf6['call'](_0x4af9dc,_0x9f9ee8);},_0x210857;}async[_0x1f410c(0x442)](){var _0x4c0b34=_0x1f410c;const _0x36801a=await super[_0x4c0b34(0x442)]();return this[_0x4c0b34(0x1b4)](this[_0x4c0b34(0x191)][_0x4c0b34(0x1cb)]((_0x5177b8,_0x441f41)=>{var _0x543fbb=_0x4c0b34;if(_0x5177b8[_0x543fbb(0x37c)]!==_0x496c2c[_0x543fbb(0x200)]||_0x441f41!=null&&_0x441f41[_0x543fbb(0x393)]||_0x441f41!=null&&_0x441f41['onlyLocal']||_0x5177b8['id']===_0x4b50f8['id'])return;const _0x2e655e=_0x5177b8[_0x543fbb(0x41f)];if((_0x2e655e==null?void 0x0:_0x2e655e[_0x543fbb(0x391)])!==this[_0x543fbb(0x47c)])return;const _0x54607f=_0x5177b8,_0xbae9e9=this[_0x543fbb(0x2b1)]['interceptor']['fetchThroughInterceptors'](this[_0x543fbb(0x2b1)]['interceptor']['getInterceptPoints']()[_0x543fbb(0x450)])([_0x54607f],null)||[_0x54607f];this['_onLocalMutation'](_0xbae9e9[0x0]);})),_0x36801a;}};St=wt([H(0x3,_0x1d307d(_0x1f649f)),H(0x4,_0x1d307d(_0x3da6ce)),H(0x5,_0x1d307d(_0x4c667f)),H(0x6,_0x1d307d(_0xd49e7)),H(0x7,_0x1d307d(ve)),H(0x8,_0x419223),H(0x9,_0x435e17),H(0xa,_0x42cef7),H(0xb,_0x1c555d(ht)),H(0xc,_0x1c555d(J))],St);let Et=class extends st{constructor(_0x21008c,_0x56390d,_0x4ba043,_0x16f21a,_0x35db38,_0x1d0026,_0x15c294,_0x14c3f6,_0x1af28c,_0x59e1b1,_0x1bea1b,_0x436007,_0x24a59f,_0x56c80a){var _0x594c5a=_0x1f410c;super(_0x21008c,_0x4ba043,_0x56390d,_0x16f21a,_0x35db38,_0x1d0026,_0x15c294,_0x1af28c,_0x59e1b1,_0x1bea1b,_0x436007,_0x24a59f,_0x56c80a),this[_0x594c5a(0x47c)]=_0x21008c,this[_0x594c5a(0x37c)]=_0x56390d,this['_sheetTransformSelectionsService']=_0x14c3f6;}[_0x1f410c(0x204)](){var _0x1a8b9f=_0x1f410c;const _0x2680da=super[_0x1a8b9f(0x204)]();return _0x2680da[_0x1a8b9f(0x464)]=_0x4b8b01=>this[_0x1a8b9f(0x353)][_0x1a8b9f(0x189)](_0x4b8b01),_0x2680da;}async['_init'](){var _0x18612a=_0x1f410c;const _0x424bc0=await super[_0x18612a(0x442)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x4aa38a,_0x4ab393)=>{var _0x135e53=_0x18612a;if(_0x4aa38a[_0x135e53(0x37c)]!==_0x496c2c[_0x135e53(0x200)]||_0x4ab393!=null&&_0x4ab393[_0x135e53(0x393)]||_0x4ab393!=null&&_0x4ab393[_0x135e53(0x3f0)])return;const _0x4c3f5e=_0x4aa38a[_0x135e53(0x41f)];if((_0x4c3f5e==null?void 0x0:_0x4c3f5e['unitId'])!==this[_0x135e53(0x47c)])return;const _0x1d99a2=_0x4aa38a,_0x42e7dd=this[_0x135e53(0x2b1)][_0x135e53(0x270)][_0x135e53(0x1c4)](this['_compressMutationService'][_0x135e53(0x270)][_0x135e53(0x455)]()['COMPRESS_MUTATION_SEND'])([_0x1d99a2],null)||[_0x1d99a2];this[_0x135e53(0x293)](_0x42e7dd[0x0]);})),_0x424bc0;}};Et=wt([H(0x3,_0x1d307d(_0x1f649f)),H(0x4,_0x1d307d(_0x3da6ce)),H(0x5,_0x1d307d(_0x4c667f)),H(0x6,_0x1d307d(_0xd49e7)),H(0x7,_0x1d307d(it)),H(0x8,_0x1d307d(ve)),H(0x9,_0x419223),H(0xa,_0x435e17),H(0xb,_0x42cef7),H(0xc,_0x1c555d(ht)),H(0xd,_0x1c555d(J))],Et);var Qs=Object[_0x1f410c(0x2a4)],en=(_0x4c2134,_0x10e34e,_0x746a54,_0x22d954)=>{for(var _0x12dd8d=_0x22d954>0x1?void 0x0:_0x22d954?Qs(_0x10e34e,_0x746a54):_0x10e34e,_0x2cf26a=_0x4c2134['length']-0x1,_0xb1108b;_0x2cf26a>=0x0;_0x2cf26a--)(_0xb1108b=_0x4c2134[_0x2cf26a])&&(_0x12dd8d=_0xb1108b(_0x12dd8d)||_0x12dd8d);return _0x12dd8d;},Be=(_0x17fdd3,_0x15122e)=>(_0x3e6d4e,_0x32b9d1)=>_0x15122e(_0x3e6d4e,_0x32b9d1,_0x17fdd3);let nt=class extends _0x2296f2{constructor(_0xe19817,_0x34255a,_0x3742c5,_0x1b9da8){var _0x4ca621=_0x1f410c,_0x5e9866;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x12df33()),N(this,_0x4ca621(0x315),this['_entityInit$']['asObservable']()),(this[_0x4ca621(0x3e9)]=_0xe19817,this['_collabSessionService']=_0x34255a,this['_configService']=_0x3742c5,this[_0x4ca621(0x181)]=_0x1b9da8,((_0x5e9866=this[_0x4ca621(0x3bc)][_0x4ca621(0x1e6)](K))==null?void 0x0:_0x5e9866[_0x4ca621(0x40d)])!==!0x1&&this[_0x4ca621(0x442)]());}[_0x1f410c(0x30a)](){var _0x3115b5=_0x1f410c;super[_0x3115b5(0x30a)](),this[_0x3115b5(0x23b)]['forEach'](_0x462727=>_0x462727['dispose']()),this['_entities']['clear']();}[_0x1f410c(0x311)](_0x5a8d90){var _0x4418b9=_0x1f410c,_0x273161;return(_0x273161=this['_entities'][_0x4418b9(0x1f6)](_0x5a8d90))!=null?_0x273161:null;}[_0x1f410c(0x1db)](_0x306a08){var _0x146d89=_0x1f410c;const _0x42341b=this['getCollabEntity'](_0x306a08);return _0x42341b?_0x512995(_0x42341b):this['_entityInit$'][_0x146d89(0x2c5)](_0x3bc823(_0x93a40d=>_0x93a40d[_0x146d89(0x47c)]===_0x306a08));}[_0x1f410c(0x1b3)](_0x581ade){var _0x4348eb=_0x1f410c;return _0x37d6a0(this['getCollabEntity$'](_0x581ade)[_0x4348eb(0x2c5)](_0x5a3746(()=>{})));}[_0x1f410c(0x442)](){var _0x23403b=_0x1f410c;this[_0x23403b(0x181)][_0x23403b(0x459)](_0xd9e05c[_0x23403b(0x3af)])['pipe'](_0x3fc9bb(this[_0x23403b(0x36b)]),_0x3c8a64(0x10))[_0x23403b(0x2f1)](async _0x537aa6=>{var _0x6a7355=_0x23403b;const _0xc3434=_0x537aa6[_0x6a7355(0x31c)](),_0xceafec=await this[_0x6a7355(0x397)](_0xc3434,Z[_0x6a7355(0x3af)]);this[_0x6a7355(0x23b)]['set'](_0xc3434,_0xceafec);}),this[_0x23403b(0x181)]['getTypeOfUnitAdded$'](_0xd9e05c[_0x23403b(0x212)])['pipe'](_0x3fc9bb(this[_0x23403b(0x36b)]),_0x3c8a64(0x10))[_0x23403b(0x2c5)](_0x3bc823(_0x252fb7=>!_0x252fb7['getUnitId']()[_0x23403b(0x319)]('__')))['subscribe'](async _0x5a9754=>{var _0x2a757e=_0x23403b;const _0x560223=_0x5a9754['getUnitId'](),_0x4b5fc4=await this[_0x2a757e(0x397)](_0x560223,Z['UNIVER_DOC']);this[_0x2a757e(0x23b)][_0x2a757e(0x32a)](_0x560223,_0x4b5fc4);}),_0x3da0cd(this[_0x23403b(0x181)][_0x23403b(0x446)](_0xd9e05c[_0x23403b(0x3af)]),this[_0x23403b(0x181)][_0x23403b(0x446)](_0xd9e05c['UNIVER_DOC']))[_0x23403b(0x2c5)](_0x3fc9bb(this[_0x23403b(0x36b)]))[_0x23403b(0x2f1)](_0x1b6427=>{var _0x573b07=_0x23403b;const _0x244e98=_0x1b6427[_0x573b07(0x31c)](),_0x1d0124=this[_0x573b07(0x23b)][_0x573b07(0x1f6)](_0x244e98);_0x1d0124&&(_0x1d0124[_0x573b07(0x30a)](),this[_0x573b07(0x23b)]['delete'](_0x244e98));});}async[_0x1f410c(0x397)](_0x1f623a,_0xf073ea){var _0x3d4b8d=_0x1f410c;const _0x5bef59=await this['_collabSessionService'][_0x3d4b8d(0x2b0)](_0x1f623a),_0x314c72=this['_injector']['createInstance'](this[_0x3d4b8d(0x3d2)](_0xf073ea),_0x1f623a,_0xf073ea,_0x5bef59);return await _0x314c72[_0x3d4b8d(0x3ac)](),this[_0x3d4b8d(0x406)]['next'](_0x314c72),_0x314c72;}['_getCtorByUniverType'](_0x24875a){var _0x4cc4c1=_0x1f410c;switch(_0x24875a){case Z[_0x4cc4c1(0x212)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0x4cc4c1(0x2a2)+_0x24875a);}}};nt=en([Be(0x0,_0x1d307d(_0x1f649f)),Be(0x1,_0x1d307d(Le)),Be(0x2,_0x22f7d3),Be(0x3,_0x505288)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x3e6cf8,_0x2136d3,_0x59de3d,_0x54eef3)=>{var _0x2f14eb=_0x1f410c;for(var _0x5a13fb=_0x54eef3>0x1?void 0x0:_0x54eef3?tn(_0x2136d3,_0x59de3d):_0x2136d3,_0x498d8f=_0x3e6cf8[_0x2f14eb(0x380)]-0x1,_0x55b00f;_0x498d8f>=0x0;_0x498d8f--)(_0x55b00f=_0x3e6cf8[_0x498d8f])&&(_0x5a13fb=_0x55b00f(_0x5a13fb)||_0x5a13fb);return _0x5a13fb;},Yt=(_0x36a3c0,_0x2e20d8)=>(_0x6d79c0,_0x333416)=>_0x2e20d8(_0x6d79c0,_0x333416,_0x36a3c0);const nn=_0x1f410c(0x37b),rn='Univer';let It=class extends _0x2d82af{constructor(_0x1dbdb9,_0x54f679){var _0x6c825b=_0x1f410c;super(),this['_univerInstanceService']=_0x1dbdb9,this[_0x6c825b(0x3bc)]=_0x54f679,this[_0x6c825b(0x442)]();}[_0x1f410c(0x442)](){var _0x745baf=_0x1f410c;this['disposeWithMe'](this[_0x745baf(0x181)]['focused$'][_0x745baf(0x2f1)](()=>{var _0x10a67e=_0x745baf,_0x52a275;const _0x42098b=this[_0x10a67e(0x181)]['getFocusedUnit']();let _0x182b50=(_0x52a275=this[_0x10a67e(0x3bc)][_0x10a67e(0x1e6)](nn))!=null?_0x52a275:rn;_0x42098b instanceof _0x2fc179&&(_0x182b50=_0x42098b[_0x10a67e(0x242)]),document['title']=_0x182b50;}));}};It=sn([Yt(0x0,_0x505288),Yt(0x1,_0x22f7d3)],It);var an=Object['getOwnPropertyDescriptor'],on=(_0x4efc46,_0x4704e4,_0x5f5d13,_0x2cc6c9)=>{var _0x2a7624=_0x1f410c;for(var _0x3fe61f=_0x2cc6c9>0x1?void 0x0:_0x2cc6c9?an(_0x4704e4,_0x5f5d13):_0x4704e4,_0x554959=_0x4efc46[_0x2a7624(0x380)]-0x1,_0x417af9;_0x554959>=0x0;_0x554959--)(_0x417af9=_0x4efc46[_0x554959])&&(_0x3fe61f=_0x417af9(_0x3fe61f)||_0x3fe61f);return _0x3fe61f;},dt=(_0x14a44b,_0x10c3be)=>(_0x43cfea,_0x3b3425)=>_0x10c3be(_0x43cfea,_0x3b3425,_0x14a44b);let rt=class{constructor(_0x35f736,_0x4cff62,_0x342ee7){var _0x19d42a=_0x1f410c;this[_0x19d42a(0x3bc)]=_0x35f736,this['_httpService']=_0x4cff62,this[_0x19d42a(0x3c8)]=_0x342ee7,this['init']();}[_0x1f410c(0x3ac)](){var _0x1fec4=_0x1f410c;this[_0x1fec4(0x395)][_0x1fec4(0x18e)]({'priority':0x1,'interceptor':(_0x110c4a,_0x1155af)=>_0x1155af(_0x110c4a)[_0x1fec4(0x2c5)](_0x37fff4(async _0x107d7e=>{var _0x4a1296=_0x1fec4;const _0x3dc46d=_0x107d7e;if(_0x3dc46d[_0x4a1296(0x256)]===0x191){if(typeof window>'u')throw new Error(_0x4a1296(0x3dd));if(window[_0x4a1296(0x1c1)](this[_0x4a1296(0x3c8)]['t'](_0x4a1296(0x2e8)))){const _0x5bf7ec=window[_0x4a1296(0x3cf)](window['location'][_0x4a1296(0x244)]);window[_0x4a1296(0x231)][_0x4a1296(0x244)]=this[_0x4a1296(0x367)]()+_0x4a1296(0x19a)+_0x5bf7ec;}}return _0x3dc46d;}))});}[_0x1f410c(0x367)](){var _0x3ac18a=_0x1f410c,_0xf884d4,_0x382242;const _0x54a988=this[_0x3ac18a(0x3bc)][_0x3ac18a(0x1e6)](ys),_0x4552ab=this[_0x3ac18a(0x3bc)][_0x3ac18a(0x1e6)](K);return(_0x382242=(_0xf884d4=_0x4552ab==null?void 0x0:_0x4552ab[_0x3ac18a(0x297)])!=null?_0xf884d4:_0x54a988)!=null?_0x382242:Ns;}};function _0x27f1(_0x6ce5db,_0x4a9152){var _0x403475=_0x4034();return _0x27f1=function(_0x27f123,_0x17ccab){_0x27f123=_0x27f123-0x180;var _0x54df23=_0x403475[_0x27f123];return _0x54df23;},_0x27f1(_0x6ce5db,_0x4a9152);}rt=on([dt(0x0,_0x22f7d3),dt(0x1,_0x1d307d(_0x23fee9)),dt(0x2,_0x1d307d(_0x4c667f))],rt);var cn=Object[_0x1f410c(0x2a4)],hn=(_0x9d66c1,_0x3e9250,_0x51f53a,_0x1fe04b)=>{var _0x33595f=_0x1f410c;for(var _0x8371df=_0x1fe04b>0x1?void 0x0:_0x1fe04b?cn(_0x3e9250,_0x51f53a):_0x3e9250,_0x2fa55e=_0x9d66c1[_0x33595f(0x380)]-0x1,_0x59e5d2;_0x2fa55e>=0x0;_0x2fa55e--)(_0x59e5d2=_0x9d66c1[_0x2fa55e])&&(_0x8371df=_0x59e5d2(_0x8371df)||_0x8371df);return _0x8371df;},Kt=(_0x574e52,_0x14a07b)=>(_0x49def6,_0x512eaf)=>_0x14a07b(_0x49def6,_0x512eaf,_0x574e52);const bi=_0x1f410c(0x467),_n=_0x1f410c(0x46b);let Tt=class extends _0x2d82af{constructor(_0x43e450,_0x327646){var _0x16fd11=_0x1f410c;super(),this['_HTTPService']=_0x43e450,this[_0x16fd11(0x3bc)]=_0x327646,this[_0x16fd11(0x25f)]();}['_initMergeInterceptor'](){var _0x1eca96=_0x1f410c;const _0x63c4b7=this;this[_0x1eca96(0x1b4)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x450f07({'isMatch'(_0x2e8ce6){var _0xee0e99=_0x1eca96,_0x435e64;if(_0x2e8ce6['method']===_0xee0e99(0x42a)&&((_0x435e64=_0x2e8ce6[_0xee0e99(0x354)])!=null&&_0x435e64[_0xee0e99(0x3b9)])){const {objectID:_0x3afa81,objectType:_0x4ca719}=_0x2e8ce6['requestParams']['body']||{};if(!_0x3afa81||_0x4ca719===void 0x0)return!0x1;const _0x40fa26=_0x63c4b7[_0xee0e99(0x221)]()+'/'+_0x4ca719+'/object/'+_0x3afa81+_0xee0e99(0x1f0);if(_0x2e8ce6[_0xee0e99(0x1f7)]===_0x40fa26)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x500438){var _0x13ac13=_0x1eca96,_0xd4e7cb;return(_0xd4e7cb=_0x500438[_0x13ac13(0x354)])==null?void 0x0:_0xd4e7cb['body'];},'mergeParamsToRequest'(_0x527059,_0x34609c){var _0x2d1872=_0x1eca96;const _0x105008=_0x63c4b7[_0x2d1872(0x221)]()+_0x2d1872(0x280),_0x2c2593=_0x527059['reduce']((_0x4f8402,_0x590035)=>{const {unitID:_0x511be8,objectID:_0x40260b,objectType:_0xed7a7e,actions:_0x42fc4a}=_0x590035;return _0x4f8402[_0x511be8]||(_0x4f8402[_0x511be8]={}),_0x4f8402[_0x511be8][_0x40260b]||(_0x4f8402[_0x511be8][_0x40260b]={'objectID':_0x40260b,'objectType':_0xed7a7e,'actions':[]}),_0x4f8402[_0x511be8][_0x40260b]['actions']['push'](..._0x42fc4a),_0x4f8402;},{}),_0x4f34ab=[];for(const _0x2560ad in _0x2c2593)for(const _0x3d1e3b in _0x2c2593[_0x2560ad]){const {actions:_0x9d9d3d,objectType:_0x14406c}=_0x2c2593[_0x2560ad][_0x3d1e3b],_0x34e0b2=[...new Set(_0x9d9d3d)];_0x4f34ab['push']({'unitID':_0x2560ad,'objectID':_0x3d1e3b,'objectType':_0x14406c,'actions':_0x34e0b2});}return new _0x566b0e(_0x2d1872(0x42a),_0x105008,{'headers':_0x34609c[_0x2d1872(0x2be)],'withCredentials':_0x34609c[_0x2d1872(0x19f)],'responseType':_0x34609c[_0x2d1872(0x1fd)],'body':{'requests':_0x4f34ab}});}},{'distributeResult'(_0x1e15aa,_0x2af336){var _0x51b5dc=_0x1eca96;const {objectActions:_0x50449d}=_0x1e15aa;return _0x2af336[_0x51b5dc(0x382)](_0x44274d=>{var _0x570bec=_0x51b5dc;const {unitID:_0x20f10a,objectID:_0x15cd9e,actions:_0x5046db}=_0x44274d,_0x5331d9=_0x50449d['find'](_0x3ef516=>_0x3ef516[_0x570bec(0x47c)]===_0x20f10a&&_0x3ef516[_0x570bec(0x3b0)]===_0x15cd9e),_0x2e4b7d=_0x5046db[_0x570bec(0x382)](_0x517956=>_0x5331d9==null?void 0x0:_0x5331d9[_0x570bec(0x1e3)][_0x570bec(0x2e0)](_0x5594fe=>_0x5594fe['action']===_0x517956))['filter'](_0x13a6f5=>!!_0x13a6f5);return{'config':_0x44274d,'result':{'actions':_0x2e4b7d,'error':_0x1e15aa['error']}};});}})}));}[_0x1f410c(0x221)](){var _0x898653=_0x1f410c,_0x4e4720,_0x4d306a;const _0xa30cf3=this[_0x898653(0x3bc)][_0x898653(0x1e6)](bi),_0x4f4b39=this[_0x898653(0x3bc)]['getConfig'](K);return(_0x4d306a=(_0x4e4720=_0x4f4b39==null?void 0x0:_0x4f4b39[_0x898653(0x42b)])!=null?_0x4e4720:_0xa30cf3)!=null?_0x4d306a:_n;}async[_0x1f410c(0x2fc)](_0x3bde48){var _0x4d7b40=_0x1f410c;const _0x4fb112=this[_0x4d7b40(0x221)]()+'/'+_0x3bde48[_0x4d7b40(0x20f)]+_0x4d7b40(0x1f8);return(await this[_0x4d7b40(0x43e)][_0x4d7b40(0x1b0)](_0x4fb112,{'body':_0x3bde48}))['body'][_0x4d7b40(0x3b0)]||'';}async[_0x1f410c(0x37d)](_0x3a84f6){var _0x2785a8=_0x1f410c;const _0x3edc46=this['_getAPIPrefixPath']()+_0x2785a8(0x3a6);return(await this[_0x2785a8(0x43e)][_0x2785a8(0x1b0)](_0x3edc46,{'body':_0x3a84f6}))[_0x2785a8(0x3b9)][_0x2785a8(0x399)];}async[_0x1f410c(0x188)](_0x45dbbb){var _0x1bfeed=_0x1f410c,_0x439a75,_0x486c2c;const _0x556c78=this[_0x1bfeed(0x221)]()+'/'+_0x45dbbb[_0x1bfeed(0x20f)]+_0x1bfeed(0x479)+_0x45dbbb[_0x1bfeed(0x3b0)],_0x3003a9=await this[_0x1bfeed(0x43e)][_0x1bfeed(0x238)](_0x556c78,{'body':_0x45dbbb});if(((_0x486c2c=(_0x439a75=_0x3003a9==null?void 0x0:_0x3003a9['body'])==null?void 0x0:_0x439a75[_0x1bfeed(0x1a2)])==null?void 0x0:_0x486c2c[_0x1bfeed(0x2a7)])!==0x1)throw new Error(_0x1bfeed(0x3e1));}async[_0x1f410c(0x1ad)](_0x524dec){var _0xb6859d=_0x1f410c;const _0x570ce2=this[_0xb6859d(0x221)]()+'/'+_0x524dec['objectType']+'/object/'+_0x524dec[_0xb6859d(0x3b0)]+_0xb6859d(0x1f0);return(await this[_0xb6859d(0x43e)]['post'](_0x570ce2,{'body':_0x524dec}))['body'][_0xb6859d(0x1e3)];}async[_0x1f410c(0x466)](_0x48ee01){var _0x697953=_0x1f410c;const _0x4d093d=this['_getAPIPrefixPath']()+_0x697953(0x280);return(await this[_0x697953(0x43e)][_0x697953(0x1b0)](_0x4d093d,{'body':{'requests':_0x48ee01}}))['body'][_0x697953(0x1cc)];}async[_0x1f410c(0x223)](_0x3a95ff){var _0x962105=_0x1f410c;const _0x2cbe44=this['_getAPIPrefixPath']()+'/'+_0x3a95ff[_0x962105(0x20f)]+_0x962105(0x2e1),_0x2da6f6=await this[_0x962105(0x43e)][_0x962105(0x1b0)](_0x2cbe44,{'body':_0x3a95ff});return{'roles':_0x2da6f6[_0x962105(0x3b9)][_0x962105(0x292)],'actions':_0x2da6f6[_0x962105(0x3b9)]['actions']};}async[_0x1f410c(0x1ee)](_0x364acd){var _0xb46b41=_0x1f410c;const _0x59e8c5=this[_0xb46b41(0x221)]()+_0xb46b41(0x327);await this['_HTTPService'][_0xb46b41(0x41d)](_0x59e8c5,{'params':{'collaboratorID':_0x364acd[_0xb46b41(0x20d)],'objectID':_0x364acd[_0xb46b41(0x3b0)],'unitID':_0x364acd[_0xb46b41(0x47c)]}});}async[_0x1f410c(0x413)](_0x3bcb20){var _0x4d131e=_0x1f410c;const _0x208888=this[_0x4d131e(0x221)]()+_0x4d131e(0x327);await this['_HTTPService']['patch'](_0x208888,{'body':_0x3bcb20});}async[_0x1f410c(0x44f)](_0x1e116c){var _0x500cca=_0x1f410c;const _0x17324b=this[_0x500cca(0x221)]()+_0x500cca(0x327);await this['_HTTPService'][_0x500cca(0x1b0)](_0x17324b,{'body':_0x1e116c});}async['listCollaborators'](_0x59e633){var _0x6a3cc5=_0x1f410c;const _0x21b4f9=this[_0x6a3cc5(0x221)]()+'/collaborator';return(await this[_0x6a3cc5(0x43e)]['get'](_0x21b4f9,{'params':{'objectID':_0x59e633[_0x6a3cc5(0x3b0)],'unitID':_0x59e633[_0x6a3cc5(0x47c)]}}))[_0x6a3cc5(0x3b9)][_0x6a3cc5(0x3ed)];}async[_0x1f410c(0x202)](_0x374c00){var _0xfc6116=_0x1f410c;const _0x518405=this[_0xfc6116(0x221)]()+_0xfc6116(0x327);await this[_0xfc6116(0x43e)][_0xfc6116(0x238)](_0x518405,{'body':_0x374c00});}};Tt=hn([Kt(0x0,_0x1d307d(_0x23fee9)),Kt(0x1,_0x1d307d(_0x22f7d3))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x303c20){var _0x472868=_0x1f410c;return _0x303c20&&_0x303c20['__esModule']&&Object[_0x472868(0x21e)][_0x472868(0x2fe)]['call'](_0x303c20,_0x472868(0x1c3))?_0x303c20['default']:_0x303c20;}var Ve={'exports':{}};function ln(_0x5a3941){var _0x537519=_0x1f410c;throw new Error(_0x537519(0x412)+_0x5a3941+_0x537519(0x185));}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){return qt||(qt=0x1,function(_0x3c6031,_0x3bac8d){(function(_0x547fe4,_0x3b40b6){_0x3c6031['exports']=_0x3b40b6();}(un,function(){var _0x2a6e38=_0x2a6e38||function(_0x1713af,_0x54ab79){var _0x595bbd=_0x27f1,_0x13993c;if(typeof window<'u'&&window['crypto']&&(_0x13993c=window[_0x595bbd(0x351)]),typeof self<'u'&&self[_0x595bbd(0x351)]&&(_0x13993c=self['crypto']),typeof globalThis<'u'&&globalThis[_0x595bbd(0x351)]&&(_0x13993c=globalThis['crypto']),!_0x13993c&&typeof window<'u'&&window['msCrypto']&&(_0x13993c=window[_0x595bbd(0x226)]),!_0x13993c&&typeof ft<'u'&&ft[_0x595bbd(0x351)]&&(_0x13993c=ft[_0x595bbd(0x351)]),!_0x13993c&&typeof ln==_0x595bbd(0x418))try{_0x13993c=require('crypto');}catch{}var _0x39454c=function(){var _0x248a63=_0x595bbd;if(_0x13993c){if(typeof _0x13993c[_0x248a63(0x350)]==_0x248a63(0x418))try{return _0x13993c[_0x248a63(0x350)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x13993c[_0x248a63(0x233)]=='function')try{return _0x13993c[_0x248a63(0x233)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2c00d5=Object['create']||(function(){function _0x3ac955(){}return function(_0xeea3f7){var _0x2efb77=_0x27f1,_0x178bd7;return _0x3ac955[_0x2efb77(0x21e)]=_0xeea3f7,_0x178bd7=new _0x3ac955(),_0x3ac955[_0x2efb77(0x21e)]=null,_0x178bd7;};}()),_0x500570={},_0x495cb2=_0x500570['lib']={},_0x38e4f5=_0x495cb2[_0x595bbd(0x2df)]=(function(){return{'extend':function(_0x59b89c){var _0x289e19=_0x27f1,_0x512113=_0x2c00d5(this);return _0x59b89c&&_0x512113[_0x289e19(0x197)](_0x59b89c),(!_0x512113[_0x289e19(0x2fe)]('init')||this[_0x289e19(0x3ac)]===_0x512113[_0x289e19(0x3ac)])&&(_0x512113[_0x289e19(0x3ac)]=function(){var _0x38f25a=_0x289e19;_0x512113[_0x38f25a(0x316)][_0x38f25a(0x3ac)]['apply'](this,arguments);}),_0x512113['init'][_0x289e19(0x21e)]=_0x512113,_0x512113['$super']=this,_0x512113;},'create':function(){var _0x41900e=_0x27f1,_0x9258a8=this[_0x41900e(0x184)]();return _0x9258a8['init']['apply'](_0x9258a8,arguments),_0x9258a8;},'init':function(){},'mixIn':function(_0x4dfff1){var _0x1d5365=_0x27f1;for(var _0x3b1608 in _0x4dfff1)_0x4dfff1['hasOwnProperty'](_0x3b1608)&&(this[_0x3b1608]=_0x4dfff1[_0x3b1608]);_0x4dfff1[_0x1d5365(0x2fe)](_0x1d5365(0x33b))&&(this[_0x1d5365(0x33b)]=_0x4dfff1[_0x1d5365(0x33b)]);},'clone':function(){var _0x3ad517=_0x27f1;return this[_0x3ad517(0x3ac)]['prototype'][_0x3ad517(0x184)](this);}};}()),_0x4ff3eb=_0x495cb2[_0x595bbd(0x225)]=_0x38e4f5[_0x595bbd(0x184)]({'init':function(_0x2d95a1,_0x31a6c6){var _0x5cc0d3=_0x595bbd;_0x2d95a1=this['words']=_0x2d95a1||[],_0x31a6c6!=_0x54ab79?this[_0x5cc0d3(0x3c0)]=_0x31a6c6:this[_0x5cc0d3(0x3c0)]=_0x2d95a1['length']*0x4;},'toString':function(_0x21a656){var _0x564b6e=_0x595bbd;return(_0x21a656||_0x25f146)[_0x564b6e(0x322)](this);},'concat':function(_0xbbc475){var _0x2a3b1a=_0x595bbd,_0x2e7bf8=this['words'],_0x3d96f7=_0xbbc475[_0x2a3b1a(0x1dd)],_0x274f8c=this[_0x2a3b1a(0x3c0)],_0x2dddd4=_0xbbc475[_0x2a3b1a(0x3c0)];if(this['clamp'](),_0x274f8c%0x4)for(var _0x5bf826=0x0;_0x5bf826<_0x2dddd4;_0x5bf826++){var _0x47389a=_0x3d96f7[_0x5bf826>>>0x2]>>>0x18-_0x5bf826%0x4*0x8&0xff;_0x2e7bf8[_0x274f8c+_0x5bf826>>>0x2]|=_0x47389a<<0x18-(_0x274f8c+_0x5bf826)%0x4*0x8;}else{for(var _0x3fc74d=0x0;_0x3fc74d<_0x2dddd4;_0x3fc74d+=0x4)_0x2e7bf8[_0x274f8c+_0x3fc74d>>>0x2]=_0x3d96f7[_0x3fc74d>>>0x2];}return this[_0x2a3b1a(0x3c0)]+=_0x2dddd4,this;},'clamp':function(){var _0x2c7573=_0x595bbd,_0x2ea601=this[_0x2c7573(0x1dd)],_0x2e7fbd=this[_0x2c7573(0x3c0)];_0x2ea601[_0x2e7fbd>>>0x2]&=0xffffffff<<0x20-_0x2e7fbd%0x4*0x8,_0x2ea601['length']=_0x1713af['ceil'](_0x2e7fbd/0x4);},'clone':function(){var _0x4768fd=_0x595bbd,_0x2da0bf=_0x38e4f5[_0x4768fd(0x349)]['call'](this);return _0x2da0bf[_0x4768fd(0x1dd)]=this[_0x4768fd(0x1dd)][_0x4768fd(0x30e)](0x0),_0x2da0bf;},'random':function(_0x16a811){var _0x1abde7=_0x595bbd;for(var _0x19c4d3=[],_0x7d3a57=0x0;_0x7d3a57<_0x16a811;_0x7d3a57+=0x4)_0x19c4d3[_0x1abde7(0x2dc)](_0x39454c());return new _0x4ff3eb['init'](_0x19c4d3,_0x16a811);}}),_0x517b97=_0x500570[_0x595bbd(0x339)]={},_0x25f146=_0x517b97['Hex']={'stringify':function(_0x19dae4){var _0x226091=_0x595bbd;for(var _0xd556a6=_0x19dae4['words'],_0x3f0838=_0x19dae4[_0x226091(0x3c0)],_0x27e7f8=[],_0x562902=0x0;_0x562902<_0x3f0838;_0x562902++){var _0x5c6b53=_0xd556a6[_0x562902>>>0x2]>>>0x18-_0x562902%0x4*0x8&0xff;_0x27e7f8[_0x226091(0x2dc)]((_0x5c6b53>>>0x4)['toString'](0x10)),_0x27e7f8[_0x226091(0x2dc)]((_0x5c6b53&0xf)[_0x226091(0x33b)](0x10));}return _0x27e7f8['join']('');},'parse':function(_0x5c752e){var _0xf441dc=_0x595bbd;for(var _0xb40fb1=_0x5c752e[_0xf441dc(0x380)],_0x32dd86=[],_0x766350=0x0;_0x766350<_0xb40fb1;_0x766350+=0x2)_0x32dd86[_0x766350>>>0x3]|=parseInt(_0x5c752e[_0xf441dc(0x3df)](_0x766350,0x2),0x10)<<0x18-_0x766350%0x8*0x4;return new _0x4ff3eb[(_0xf441dc(0x3ac))](_0x32dd86,_0xb40fb1/0x2);}},_0x1de7fa=_0x517b97[_0x595bbd(0x21a)]={'stringify':function(_0x4cea0b){var _0x25cbfc=_0x595bbd;for(var _0x1f26c9=_0x4cea0b[_0x25cbfc(0x1dd)],_0x10f1a6=_0x4cea0b[_0x25cbfc(0x3c0)],_0x18920f=[],_0xdf7b87=0x0;_0xdf7b87<_0x10f1a6;_0xdf7b87++){var _0x414d57=_0x1f26c9[_0xdf7b87>>>0x2]>>>0x18-_0xdf7b87%0x4*0x8&0xff;_0x18920f['push'](String[_0x25cbfc(0x3f4)](_0x414d57));}return _0x18920f[_0x25cbfc(0x1a3)]('');},'parse':function(_0x150425){var _0x4b4978=_0x595bbd;for(var _0x31f356=_0x150425[_0x4b4978(0x380)],_0x231f52=[],_0x3e0eb0=0x0;_0x3e0eb0<_0x31f356;_0x3e0eb0++)_0x231f52[_0x3e0eb0>>>0x2]|=(_0x150425[_0x4b4978(0x2eb)](_0x3e0eb0)&0xff)<<0x18-_0x3e0eb0%0x4*0x8;return new _0x4ff3eb[(_0x4b4978(0x3ac))](_0x231f52,_0x31f356);}},_0x402f78=_0x517b97['Utf8']={'stringify':function(_0x17f922){var _0x495350=_0x595bbd;try{return decodeURIComponent(escape(_0x1de7fa[_0x495350(0x322)](_0x17f922)));}catch{throw new Error(_0x495350(0x271));}},'parse':function(_0x3203f7){var _0x30b658=_0x595bbd;return _0x1de7fa[_0x30b658(0x2b7)](unescape(encodeURIComponent(_0x3203f7)));}},_0xac82fd=_0x495cb2[_0x595bbd(0x27e)]=_0x38e4f5[_0x595bbd(0x184)]({'reset':function(){var _0x4aa917=_0x595bbd;this[_0x4aa917(0x190)]=new _0x4ff3eb[(_0x4aa917(0x3ac))](),this[_0x4aa917(0x298)]=0x0;},'_append':function(_0x1f87a3){var _0x5afcfe=_0x595bbd;typeof _0x1f87a3==_0x5afcfe(0x3a5)&&(_0x1f87a3=_0x402f78[_0x5afcfe(0x2b7)](_0x1f87a3)),this[_0x5afcfe(0x190)]['concat'](_0x1f87a3),this[_0x5afcfe(0x298)]+=_0x1f87a3[_0x5afcfe(0x3c0)];},'_process':function(_0x2e0dc3){var _0x30ec09=_0x595bbd,_0x48b213,_0x45d8b6=this[_0x30ec09(0x190)],_0x4eafc3=_0x45d8b6[_0x30ec09(0x1dd)],_0xa43b0a=_0x45d8b6[_0x30ec09(0x3c0)],_0x36a545=this[_0x30ec09(0x234)],_0x13aa34=_0x36a545*0x4,_0x5870d2=_0xa43b0a/_0x13aa34;_0x2e0dc3?_0x5870d2=_0x1713af[_0x30ec09(0x257)](_0x5870d2):_0x5870d2=_0x1713af[_0x30ec09(0x236)]((_0x5870d2|0x0)-this['_minBufferSize'],0x0);var _0xc50a19=_0x5870d2*_0x36a545,_0x17de97=_0x1713af[_0x30ec09(0x3c2)](_0xc50a19*0x4,_0xa43b0a);if(_0xc50a19){for(var _0x1676ac=0x0;_0x1676ac<_0xc50a19;_0x1676ac+=_0x36a545)this[_0x30ec09(0x47b)](_0x4eafc3,_0x1676ac);_0x48b213=_0x4eafc3[_0x30ec09(0x23c)](0x0,_0xc50a19),_0x45d8b6[_0x30ec09(0x3c0)]-=_0x17de97;}return new _0x4ff3eb[(_0x30ec09(0x3ac))](_0x48b213,_0x17de97);},'clone':function(){var _0x41e3dc=_0x595bbd,_0x9ee3ba=_0x38e4f5['clone'][_0x41e3dc(0x208)](this);return _0x9ee3ba[_0x41e3dc(0x190)]=this['_data'][_0x41e3dc(0x349)](),_0x9ee3ba;},'_minBufferSize':0x0});_0x495cb2[_0x595bbd(0x2cb)]=_0xac82fd[_0x595bbd(0x184)]({'cfg':_0x38e4f5['extend'](),'init':function(_0x10e8dc){var _0x58808e=_0x595bbd;this[_0x58808e(0x2ba)]=this[_0x58808e(0x2ba)][_0x58808e(0x184)](_0x10e8dc),this[_0x58808e(0x2f4)]();},'reset':function(){var _0x3a1258=_0x595bbd;_0xac82fd[_0x3a1258(0x2f4)][_0x3a1258(0x208)](this),this['_doReset']();},'update':function(_0x1046a1){var _0x536064=_0x595bbd;return this[_0x536064(0x1b9)](_0x1046a1),this[_0x536064(0x361)](),this;},'finalize':function(_0x44244b){var _0x59017d=_0x595bbd;_0x44244b&&this['_append'](_0x44244b);var _0x5323fc=this[_0x59017d(0x1af)]();return _0x5323fc;},'blockSize':0x10,'_createHelper':function(_0x595243){return function(_0x4351d5,_0x12f90a){var _0x1fb24a=_0x27f1;return new _0x595243[(_0x1fb24a(0x3ac))](_0x12f90a)[_0x1fb24a(0x33c)](_0x4351d5);};},'_createHmacHelper':function(_0x2789a2){return function(_0x3641e5,_0x4b384e){var _0x11aa4c=_0x27f1;return new _0x2a52be['HMAC'][(_0x11aa4c(0x3ac))](_0x2789a2,_0x4b384e)[_0x11aa4c(0x33c)](_0x3641e5);};}});var _0x2a52be=_0x500570['algo']={};return _0x500570;}(Math);return _0x2a6e38;}));}(Ge)),Ge['exports'];}var We={'exports':{}},dn=We[_0x1f410c(0x3c3)],zt;function Oi(){return zt||(zt=0x1,function(_0x2fc1c5,_0x22847a){(function(_0x495bca,_0x599a12){var _0x190dad=_0x27f1;_0x2fc1c5[_0x190dad(0x3c3)]=_0x599a12(te());}(dn,function(_0x263fa9){var _0x207805=_0x27f1;return(function(){var _0x28a2cf=_0x27f1,_0x4bb453=_0x263fa9,_0x2bdcc3=_0x4bb453['lib'],_0x2dc18b=_0x2bdcc3[_0x28a2cf(0x225)],_0x517380=_0x4bb453[_0x28a2cf(0x339)];_0x517380[_0x28a2cf(0x420)]={'stringify':function(_0x35bc69){var _0x97bbe8=_0x28a2cf,_0x1c48be=_0x35bc69[_0x97bbe8(0x1dd)],_0x137333=_0x35bc69[_0x97bbe8(0x3c0)],_0x4fd7b7=this['_map'];_0x35bc69[_0x97bbe8(0x3aa)]();for(var _0x10fbd5=[],_0x48a71d=0x0;_0x48a71d<_0x137333;_0x48a71d+=0x3)for(var _0x9af064=_0x1c48be[_0x48a71d>>>0x2]>>>0x18-_0x48a71d%0x4*0x8&0xff,_0x34d556=_0x1c48be[_0x48a71d+0x1>>>0x2]>>>0x18-(_0x48a71d+0x1)%0x4*0x8&0xff,_0x21dfb6=_0x1c48be[_0x48a71d+0x2>>>0x2]>>>0x18-(_0x48a71d+0x2)%0x4*0x8&0xff,_0x288036=_0x9af064<<0x10|_0x34d556<<0x8|_0x21dfb6,_0x4edf1b=0x0;_0x4edf1b<0x4&&_0x48a71d+_0x4edf1b*0.75<_0x137333;_0x4edf1b++)_0x10fbd5[_0x97bbe8(0x2dc)](_0x4fd7b7[_0x97bbe8(0x2c1)](_0x288036>>>0x6*(0x3-_0x4edf1b)&0x3f));var _0x517e35=_0x4fd7b7['charAt'](0x40);if(_0x517e35){for(;_0x10fbd5[_0x97bbe8(0x380)]%0x4;)_0x10fbd5['push'](_0x517e35);}return _0x10fbd5['join']('');},'parse':function(_0x1d5423){var _0x3bb44e=_0x28a2cf,_0x51f997=_0x1d5423[_0x3bb44e(0x380)],_0x22fe12=this[_0x3bb44e(0x408)],_0x33b549=this[_0x3bb44e(0x447)];if(!_0x33b549){_0x33b549=this['_reverseMap']=[];for(var _0x4615a1=0x0;_0x4615a1<_0x22fe12[_0x3bb44e(0x380)];_0x4615a1++)_0x33b549[_0x22fe12['charCodeAt'](_0x4615a1)]=_0x4615a1;}var _0x35ac3d=_0x22fe12['charAt'](0x40);if(_0x35ac3d){var _0x30696d=_0x1d5423[_0x3bb44e(0x35e)](_0x35ac3d);_0x30696d!==-0x1&&(_0x51f997=_0x30696d);}return _0x2e849b(_0x1d5423,_0x51f997,_0x33b549);},'_map':_0x28a2cf(0x42d)};function _0x2e849b(_0x13e14e,_0x3c613d,_0x5b35dc){for(var _0x54e72d=[],_0x1910de=0x0,_0xf8dd2e=0x0;_0xf8dd2e<_0x3c613d;_0xf8dd2e++)if(_0xf8dd2e%0x4){var _0x1f7ca2=_0x5b35dc[_0x13e14e['charCodeAt'](_0xf8dd2e-0x1)]<<_0xf8dd2e%0x4*0x2,_0x2cab52=_0x5b35dc[_0x13e14e['charCodeAt'](_0xf8dd2e)]>>>0x6-_0xf8dd2e%0x4*0x2,_0x35a3f7=_0x1f7ca2|_0x2cab52;_0x54e72d[_0x1910de>>>0x2]|=_0x35a3f7<<0x18-_0x1910de%0x4*0x8,_0x1910de++;}return _0x2dc18b['create'](_0x54e72d,_0x1910de);}}()),_0x263fa9[_0x207805(0x339)][_0x207805(0x420)];}));}(We)),We['exports'];}var Ye={'exports':{}},fn=Ye[_0x1f410c(0x3c3)],Jt;function vn(){var _0x35c8ce=_0x1f410c;return Jt||(Jt=0x1,function(_0x449fce,_0x4a6060){(function(_0x481a3e,_0x16e68a){var _0x28ffb9=_0x27f1;_0x449fce[_0x28ffb9(0x3c3)]=_0x16e68a(te());}(fn,function(_0xce7197){return function(_0xe8a12a){var _0x1bff29=_0x27f1,_0x192c15=_0xce7197,_0x5d6b90=_0x192c15[_0x1bff29(0x1d1)],_0x4240ef=_0x5d6b90[_0x1bff29(0x225)],_0x3abb4a=_0x5d6b90[_0x1bff29(0x2cb)],_0x14f6f8=_0x192c15[_0x1bff29(0x211)],_0x36d38e=[];(function(){var _0x4e6691=_0x1bff29;for(var _0x20a552=0x0;_0x20a552<0x40;_0x20a552++)_0x36d38e[_0x20a552]=_0xe8a12a[_0x4e6691(0x1ea)](_0xe8a12a[_0x4e6691(0x3c6)](_0x20a552+0x1))*0x100000000|0x0;}());var _0x4c2e32=_0x14f6f8[_0x1bff29(0x3fe)]=_0x3abb4a[_0x1bff29(0x184)]({'_doReset':function(){var _0x26111d=_0x1bff29;this[_0x26111d(0x3dc)]=new _0x4240ef[(_0x26111d(0x3ac))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3fb632,_0xa4fcf7){var _0x714335=_0x1bff29;for(var _0x3e38f1=0x0;_0x3e38f1<0x10;_0x3e38f1++){var _0x918c35=_0xa4fcf7+_0x3e38f1,_0x5672e7=_0x3fb632[_0x918c35];_0x3fb632[_0x918c35]=(_0x5672e7<<0x8|_0x5672e7>>>0x18)&0xff00ff|(_0x5672e7<<0x18|_0x5672e7>>>0x8)&0xff00ff00;}var _0xa997d9=this[_0x714335(0x3dc)][_0x714335(0x1dd)],_0x24dc4e=_0x3fb632[_0xa4fcf7+0x0],_0x46a0aa=_0x3fb632[_0xa4fcf7+0x1],_0x3281c1=_0x3fb632[_0xa4fcf7+0x2],_0x52f5c9=_0x3fb632[_0xa4fcf7+0x3],_0x388c01=_0x3fb632[_0xa4fcf7+0x4],_0x2d5908=_0x3fb632[_0xa4fcf7+0x5],_0x3510b3=_0x3fb632[_0xa4fcf7+0x6],_0x36ec0e=_0x3fb632[_0xa4fcf7+0x7],_0x5c2efe=_0x3fb632[_0xa4fcf7+0x8],_0x4d3c80=_0x3fb632[_0xa4fcf7+0x9],_0x37dc12=_0x3fb632[_0xa4fcf7+0xa],_0x33ccf9=_0x3fb632[_0xa4fcf7+0xb],_0x3af2c4=_0x3fb632[_0xa4fcf7+0xc],_0x589902=_0x3fb632[_0xa4fcf7+0xd],_0x231faf=_0x3fb632[_0xa4fcf7+0xe],_0x4abb24=_0x3fb632[_0xa4fcf7+0xf],_0x436aa6=_0xa997d9[0x0],_0x2e56db=_0xa997d9[0x1],_0x2061d1=_0xa997d9[0x2],_0x1b5fdd=_0xa997d9[0x3];_0x436aa6=_0x39a928(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x24dc4e,0x7,_0x36d38e[0x0]),_0x1b5fdd=_0x39a928(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x46a0aa,0xc,_0x36d38e[0x1]),_0x2061d1=_0x39a928(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x3281c1,0x11,_0x36d38e[0x2]),_0x2e56db=_0x39a928(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x52f5c9,0x16,_0x36d38e[0x3]),_0x436aa6=_0x39a928(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x388c01,0x7,_0x36d38e[0x4]),_0x1b5fdd=_0x39a928(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x2d5908,0xc,_0x36d38e[0x5]),_0x2061d1=_0x39a928(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x3510b3,0x11,_0x36d38e[0x6]),_0x2e56db=_0x39a928(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x36ec0e,0x16,_0x36d38e[0x7]),_0x436aa6=_0x39a928(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x5c2efe,0x7,_0x36d38e[0x8]),_0x1b5fdd=_0x39a928(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x4d3c80,0xc,_0x36d38e[0x9]),_0x2061d1=_0x39a928(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x37dc12,0x11,_0x36d38e[0xa]),_0x2e56db=_0x39a928(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x33ccf9,0x16,_0x36d38e[0xb]),_0x436aa6=_0x39a928(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x3af2c4,0x7,_0x36d38e[0xc]),_0x1b5fdd=_0x39a928(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x589902,0xc,_0x36d38e[0xd]),_0x2061d1=_0x39a928(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x231faf,0x11,_0x36d38e[0xe]),_0x2e56db=_0x39a928(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x4abb24,0x16,_0x36d38e[0xf]),_0x436aa6=_0x293038(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x46a0aa,0x5,_0x36d38e[0x10]),_0x1b5fdd=_0x293038(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x3510b3,0x9,_0x36d38e[0x11]),_0x2061d1=_0x293038(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x33ccf9,0xe,_0x36d38e[0x12]),_0x2e56db=_0x293038(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x24dc4e,0x14,_0x36d38e[0x13]),_0x436aa6=_0x293038(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x2d5908,0x5,_0x36d38e[0x14]),_0x1b5fdd=_0x293038(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x37dc12,0x9,_0x36d38e[0x15]),_0x2061d1=_0x293038(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x4abb24,0xe,_0x36d38e[0x16]),_0x2e56db=_0x293038(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x388c01,0x14,_0x36d38e[0x17]),_0x436aa6=_0x293038(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x4d3c80,0x5,_0x36d38e[0x18]),_0x1b5fdd=_0x293038(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x231faf,0x9,_0x36d38e[0x19]),_0x2061d1=_0x293038(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x52f5c9,0xe,_0x36d38e[0x1a]),_0x2e56db=_0x293038(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x5c2efe,0x14,_0x36d38e[0x1b]),_0x436aa6=_0x293038(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x589902,0x5,_0x36d38e[0x1c]),_0x1b5fdd=_0x293038(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x3281c1,0x9,_0x36d38e[0x1d]),_0x2061d1=_0x293038(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x36ec0e,0xe,_0x36d38e[0x1e]),_0x2e56db=_0x293038(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x3af2c4,0x14,_0x36d38e[0x1f]),_0x436aa6=_0x31a49a(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x2d5908,0x4,_0x36d38e[0x20]),_0x1b5fdd=_0x31a49a(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x5c2efe,0xb,_0x36d38e[0x21]),_0x2061d1=_0x31a49a(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x33ccf9,0x10,_0x36d38e[0x22]),_0x2e56db=_0x31a49a(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x231faf,0x17,_0x36d38e[0x23]),_0x436aa6=_0x31a49a(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x46a0aa,0x4,_0x36d38e[0x24]),_0x1b5fdd=_0x31a49a(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x388c01,0xb,_0x36d38e[0x25]),_0x2061d1=_0x31a49a(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x36ec0e,0x10,_0x36d38e[0x26]),_0x2e56db=_0x31a49a(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x37dc12,0x17,_0x36d38e[0x27]),_0x436aa6=_0x31a49a(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x589902,0x4,_0x36d38e[0x28]),_0x1b5fdd=_0x31a49a(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x24dc4e,0xb,_0x36d38e[0x29]),_0x2061d1=_0x31a49a(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x52f5c9,0x10,_0x36d38e[0x2a]),_0x2e56db=_0x31a49a(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x3510b3,0x17,_0x36d38e[0x2b]),_0x436aa6=_0x31a49a(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x4d3c80,0x4,_0x36d38e[0x2c]),_0x1b5fdd=_0x31a49a(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x3af2c4,0xb,_0x36d38e[0x2d]),_0x2061d1=_0x31a49a(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x4abb24,0x10,_0x36d38e[0x2e]),_0x2e56db=_0x31a49a(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x3281c1,0x17,_0x36d38e[0x2f]),_0x436aa6=_0x2b9a24(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x24dc4e,0x6,_0x36d38e[0x30]),_0x1b5fdd=_0x2b9a24(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x36ec0e,0xa,_0x36d38e[0x31]),_0x2061d1=_0x2b9a24(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x231faf,0xf,_0x36d38e[0x32]),_0x2e56db=_0x2b9a24(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2d5908,0x15,_0x36d38e[0x33]),_0x436aa6=_0x2b9a24(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x3af2c4,0x6,_0x36d38e[0x34]),_0x1b5fdd=_0x2b9a24(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x52f5c9,0xa,_0x36d38e[0x35]),_0x2061d1=_0x2b9a24(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x37dc12,0xf,_0x36d38e[0x36]),_0x2e56db=_0x2b9a24(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x46a0aa,0x15,_0x36d38e[0x37]),_0x436aa6=_0x2b9a24(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x5c2efe,0x6,_0x36d38e[0x38]),_0x1b5fdd=_0x2b9a24(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x4abb24,0xa,_0x36d38e[0x39]),_0x2061d1=_0x2b9a24(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x3510b3,0xf,_0x36d38e[0x3a]),_0x2e56db=_0x2b9a24(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x589902,0x15,_0x36d38e[0x3b]),_0x436aa6=_0x2b9a24(_0x436aa6,_0x2e56db,_0x2061d1,_0x1b5fdd,_0x388c01,0x6,_0x36d38e[0x3c]),_0x1b5fdd=_0x2b9a24(_0x1b5fdd,_0x436aa6,_0x2e56db,_0x2061d1,_0x33ccf9,0xa,_0x36d38e[0x3d]),_0x2061d1=_0x2b9a24(_0x2061d1,_0x1b5fdd,_0x436aa6,_0x2e56db,_0x3281c1,0xf,_0x36d38e[0x3e]),_0x2e56db=_0x2b9a24(_0x2e56db,_0x2061d1,_0x1b5fdd,_0x436aa6,_0x4d3c80,0x15,_0x36d38e[0x3f]),_0xa997d9[0x0]=_0xa997d9[0x0]+_0x436aa6|0x0,_0xa997d9[0x1]=_0xa997d9[0x1]+_0x2e56db|0x0,_0xa997d9[0x2]=_0xa997d9[0x2]+_0x2061d1|0x0,_0xa997d9[0x3]=_0xa997d9[0x3]+_0x1b5fdd|0x0;},'_doFinalize':function(){var _0x552b0e=_0x1bff29,_0xff29d0=this[_0x552b0e(0x190)],_0x575346=_0xff29d0[_0x552b0e(0x1dd)],_0x5ba582=this[_0x552b0e(0x298)]*0x8,_0x3dda49=_0xff29d0['sigBytes']*0x8;_0x575346[_0x3dda49>>>0x5]|=0x80<<0x18-_0x3dda49%0x20;var _0xb4217f=_0xe8a12a[_0x552b0e(0x411)](_0x5ba582/0x100000000),_0x5986be=_0x5ba582;_0x575346[(_0x3dda49+0x40>>>0x9<<0x4)+0xf]=(_0xb4217f<<0x8|_0xb4217f>>>0x18)&0xff00ff|(_0xb4217f<<0x18|_0xb4217f>>>0x8)&0xff00ff00,_0x575346[(_0x3dda49+0x40>>>0x9<<0x4)+0xe]=(_0x5986be<<0x8|_0x5986be>>>0x18)&0xff00ff|(_0x5986be<<0x18|_0x5986be>>>0x8)&0xff00ff00,_0xff29d0[_0x552b0e(0x3c0)]=(_0x575346['length']+0x1)*0x4,this['_process']();for(var _0x1c0a84=this['_hash'],_0x17e09a=_0x1c0a84[_0x552b0e(0x1dd)],_0xd3df83=0x0;_0xd3df83<0x4;_0xd3df83++){var _0x20104d=_0x17e09a[_0xd3df83];_0x17e09a[_0xd3df83]=(_0x20104d<<0x8|_0x20104d>>>0x18)&0xff00ff|(_0x20104d<<0x18|_0x20104d>>>0x8)&0xff00ff00;}return _0x1c0a84;},'clone':function(){var _0x435ac4=_0x1bff29,_0x547eac=_0x3abb4a[_0x435ac4(0x349)][_0x435ac4(0x208)](this);return _0x547eac[_0x435ac4(0x3dc)]=this[_0x435ac4(0x3dc)][_0x435ac4(0x349)](),_0x547eac;}});function _0x39a928(_0x33b2ae,_0x1cfc2c,_0x98d044,_0x29e0fa,_0x3eb44e,_0xd07c,_0x3e1ee3){var _0x22258b=_0x33b2ae+(_0x1cfc2c&_0x98d044|~_0x1cfc2c&_0x29e0fa)+_0x3eb44e+_0x3e1ee3;return(_0x22258b<<_0xd07c|_0x22258b>>>0x20-_0xd07c)+_0x1cfc2c;}function _0x293038(_0x47d63c,_0x238e3c,_0x52d7ec,_0xbea386,_0x2171a8,_0x56b4a0,_0x19ac98){var _0x3d76dd=_0x47d63c+(_0x238e3c&_0xbea386|_0x52d7ec&~_0xbea386)+_0x2171a8+_0x19ac98;return(_0x3d76dd<<_0x56b4a0|_0x3d76dd>>>0x20-_0x56b4a0)+_0x238e3c;}function _0x31a49a(_0x257c68,_0x48ed46,_0x11b913,_0x2a7af2,_0x17de51,_0xfaaf43,_0xbc6b78){var _0x3fc051=_0x257c68+(_0x48ed46^_0x11b913^_0x2a7af2)+_0x17de51+_0xbc6b78;return(_0x3fc051<<_0xfaaf43|_0x3fc051>>>0x20-_0xfaaf43)+_0x48ed46;}function _0x2b9a24(_0x2a77f3,_0x5227ee,_0x512903,_0x1e5b51,_0x2bf6ef,_0x53895b,_0x1a7735){var _0x460967=_0x2a77f3+(_0x512903^(_0x5227ee|~_0x1e5b51))+_0x2bf6ef+_0x1a7735;return(_0x460967<<_0x53895b|_0x460967>>>0x20-_0x53895b)+_0x5227ee;}_0x192c15[_0x1bff29(0x3fe)]=_0x3abb4a[_0x1bff29(0x2e4)](_0x4c2e32),_0x192c15[_0x1bff29(0x2b2)]=_0x3abb4a[_0x1bff29(0x2e3)](_0x4c2e32);}(Math),_0xce7197['MD5'];}));}(Ye)),Ye[_0x35c8ce(0x3c3)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x1f410c(0x3c3)],Xt;function mn(){return Xt||(Xt=0x1,function(_0x3ccb05,_0x21ce36){(function(_0x13d7bf,_0x4d2bdc){var _0xfb0be9=_0x27f1;_0x3ccb05[_0xfb0be9(0x3c3)]=_0x4d2bdc(te());}(pn,function(_0x446188){var _0x1c4749=_0x27f1;return(function(){var _0x549fef=_0x27f1,_0x2d3c67=_0x446188,_0xea06a9=_0x2d3c67[_0x549fef(0x1d1)],_0x14320b=_0xea06a9[_0x549fef(0x225)],_0x2e1815=_0xea06a9[_0x549fef(0x2cb)],_0x2b3a3b=_0x2d3c67['algo'],_0x1b7305=[],_0x45f135=_0x2b3a3b[_0x549fef(0x1b6)]=_0x2e1815[_0x549fef(0x184)]({'_doReset':function(){var _0x139097=_0x549fef;this[_0x139097(0x3dc)]=new _0x14320b[(_0x139097(0x3ac))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x15cea2,_0x53d564){var _0x556d2b=_0x549fef;for(var _0x52c129=this[_0x556d2b(0x3dc)]['words'],_0x8a419b=_0x52c129[0x0],_0x316976=_0x52c129[0x1],_0x5bb4db=_0x52c129[0x2],_0x56fee7=_0x52c129[0x3],_0x1ac97a=_0x52c129[0x4],_0x206c32=0x0;_0x206c32<0x50;_0x206c32++){if(_0x206c32<0x10)_0x1b7305[_0x206c32]=_0x15cea2[_0x53d564+_0x206c32]|0x0;else{var _0x22b0e5=_0x1b7305[_0x206c32-0x3]^_0x1b7305[_0x206c32-0x8]^_0x1b7305[_0x206c32-0xe]^_0x1b7305[_0x206c32-0x10];_0x1b7305[_0x206c32]=_0x22b0e5<<0x1|_0x22b0e5>>>0x1f;}var _0x7be335=(_0x8a419b<<0x5|_0x8a419b>>>0x1b)+_0x1ac97a+_0x1b7305[_0x206c32];_0x206c32<0x14?_0x7be335+=(_0x316976&_0x5bb4db|~_0x316976&_0x56fee7)+0x5a827999:_0x206c32<0x28?_0x7be335+=(_0x316976^_0x5bb4db^_0x56fee7)+0x6ed9eba1:_0x206c32<0x3c?_0x7be335+=(_0x316976&_0x5bb4db|_0x316976&_0x56fee7|_0x5bb4db&_0x56fee7)-0x70e44324:_0x7be335+=(_0x316976^_0x5bb4db^_0x56fee7)-0x359d3e2a,_0x1ac97a=_0x56fee7,_0x56fee7=_0x5bb4db,_0x5bb4db=_0x316976<<0x1e|_0x316976>>>0x2,_0x316976=_0x8a419b,_0x8a419b=_0x7be335;}_0x52c129[0x0]=_0x52c129[0x0]+_0x8a419b|0x0,_0x52c129[0x1]=_0x52c129[0x1]+_0x316976|0x0,_0x52c129[0x2]=_0x52c129[0x2]+_0x5bb4db|0x0,_0x52c129[0x3]=_0x52c129[0x3]+_0x56fee7|0x0,_0x52c129[0x4]=_0x52c129[0x4]+_0x1ac97a|0x0;},'_doFinalize':function(){var _0x59badc=_0x549fef,_0x9bcef8=this[_0x59badc(0x190)],_0x5398e5=_0x9bcef8[_0x59badc(0x1dd)],_0x31fe7b=this[_0x59badc(0x298)]*0x8,_0x1cda29=_0x9bcef8[_0x59badc(0x3c0)]*0x8;return _0x5398e5[_0x1cda29>>>0x5]|=0x80<<0x18-_0x1cda29%0x20,_0x5398e5[(_0x1cda29+0x40>>>0x9<<0x4)+0xe]=Math[_0x59badc(0x411)](_0x31fe7b/0x100000000),_0x5398e5[(_0x1cda29+0x40>>>0x9<<0x4)+0xf]=_0x31fe7b,_0x9bcef8[_0x59badc(0x3c0)]=_0x5398e5[_0x59badc(0x380)]*0x4,this[_0x59badc(0x361)](),this[_0x59badc(0x3dc)];},'clone':function(){var _0x4042de=_0x549fef,_0x562107=_0x2e1815['clone']['call'](this);return _0x562107[_0x4042de(0x3dc)]=this[_0x4042de(0x3dc)]['clone'](),_0x562107;}});_0x2d3c67[_0x549fef(0x1b6)]=_0x2e1815[_0x549fef(0x2e4)](_0x45f135),_0x2d3c67[_0x549fef(0x41c)]=_0x2e1815[_0x549fef(0x2e3)](_0x45f135);}()),_0x446188[_0x1c4749(0x1b6)];}));}(qe)),qe['exports'];}var ze={'exports':{}},gn=ze[_0x1f410c(0x3c3)],Zt;function Sn(){var _0x463870=_0x1f410c;return Zt||(Zt=0x1,function(_0x4a4468,_0x2dc5c6){(function(_0x1b7486,_0x278856){var _0x24b5e0=_0x27f1;_0x4a4468[_0x24b5e0(0x3c3)]=_0x278856(te());}(gn,function(_0xb261b0){(function(){var _0x2a3d75=_0x27f1,_0x3c0310=_0xb261b0,_0x1b7304=_0x3c0310['lib'],_0x11b8b9=_0x1b7304[_0x2a3d75(0x2df)],_0x5893db=_0x3c0310['enc'],_0x3e485d=_0x5893db[_0x2a3d75(0x2a9)],_0x49b0ba=_0x3c0310[_0x2a3d75(0x211)];_0x49b0ba[_0x2a3d75(0x3e5)]=_0x11b8b9[_0x2a3d75(0x184)]({'init':function(_0x55828a,_0x1e3f37){var _0x1ff9ed=_0x2a3d75;_0x55828a=this[_0x1ff9ed(0x31a)]=new _0x55828a[(_0x1ff9ed(0x3ac))](),typeof _0x1e3f37==_0x1ff9ed(0x3a5)&&(_0x1e3f37=_0x3e485d[_0x1ff9ed(0x2b7)](_0x1e3f37));var _0x294813=_0x55828a[_0x1ff9ed(0x234)],_0x1e3d6c=_0x294813*0x4;_0x1e3f37[_0x1ff9ed(0x3c0)]>_0x1e3d6c&&(_0x1e3f37=_0x55828a[_0x1ff9ed(0x33c)](_0x1e3f37)),_0x1e3f37['clamp']();for(var _0x3ce7af=this['_oKey']=_0x1e3f37[_0x1ff9ed(0x349)](),_0x100861=this[_0x1ff9ed(0x2ae)]=_0x1e3f37[_0x1ff9ed(0x349)](),_0x37f4e2=_0x3ce7af[_0x1ff9ed(0x1dd)],_0x7651bb=_0x100861[_0x1ff9ed(0x1dd)],_0x509c5a=0x0;_0x509c5a<_0x294813;_0x509c5a++)_0x37f4e2[_0x509c5a]^=0x5c5c5c5c,_0x7651bb[_0x509c5a]^=0x36363636;_0x3ce7af['sigBytes']=_0x100861['sigBytes']=_0x1e3d6c,this[_0x1ff9ed(0x2f4)]();},'reset':function(){var _0x6f4982=_0x2a3d75,_0x4c40ec=this[_0x6f4982(0x31a)];_0x4c40ec['reset'](),_0x4c40ec['update'](this[_0x6f4982(0x2ae)]);},'update':function(_0x130e82){var _0x220459=_0x2a3d75;return this['_hasher'][_0x220459(0x188)](_0x130e82),this;},'finalize':function(_0x4887a0){var _0x1bc5fe=_0x2a3d75,_0x32b25a=this[_0x1bc5fe(0x31a)],_0x334aaf=_0x32b25a[_0x1bc5fe(0x33c)](_0x4887a0);_0x32b25a[_0x1bc5fe(0x2f4)]();var _0x584abe=_0x32b25a[_0x1bc5fe(0x33c)](this[_0x1bc5fe(0x46f)][_0x1bc5fe(0x349)]()[_0x1bc5fe(0x2c0)](_0x334aaf));return _0x584abe;}});}());}));}(ze)),ze[_0x463870(0x3c3)];}var En=Ke['exports'],Qt;function yi(){var _0x3b0e6a=_0x1f410c;return Qt||(Qt=0x1,function(_0xb7f408,_0x4c160e){(function(_0x4d5111,_0x585b1f,_0x1e4f31){_0xb7f408['exports']=_0x585b1f(te(),mn(),Sn());}(En,function(_0x4dafb9){var _0x447340=_0x27f1;return(function(){var _0x19c7f9=_0x27f1,_0x54b51f=_0x4dafb9,_0x35d20e=_0x54b51f[_0x19c7f9(0x1d1)],_0x400e3a=_0x35d20e[_0x19c7f9(0x2df)],_0x11e40c=_0x35d20e[_0x19c7f9(0x225)],_0x6eff9c=_0x54b51f[_0x19c7f9(0x211)],_0x390b3c=_0x6eff9c[_0x19c7f9(0x3fe)],_0xdc9a1a=_0x6eff9c['EvpKDF']=_0x400e3a[_0x19c7f9(0x184)]({'cfg':_0x400e3a[_0x19c7f9(0x184)]({'keySize':0x80/0x20,'hasher':_0x390b3c,'iterations':0x1}),'init':function(_0xcd8ca2){var _0x25b814=_0x19c7f9;this[_0x25b814(0x2ba)]=this[_0x25b814(0x2ba)][_0x25b814(0x184)](_0xcd8ca2);},'compute':function(_0x3b06bf,_0x7ff7c1){var _0x2b6855=_0x19c7f9;for(var _0x2ad800,_0x3511d4=this['cfg'],_0x23c533=_0x3511d4['hasher'][_0x2b6855(0x2fc)](),_0x5b37fb=_0x11e40c[_0x2b6855(0x2fc)](),_0x316e6b=_0x5b37fb['words'],_0x36f730=_0x3511d4['keySize'],_0x168942=_0x3511d4['iterations'];_0x316e6b['length']<_0x36f730;){_0x2ad800&&_0x23c533[_0x2b6855(0x188)](_0x2ad800),_0x2ad800=_0x23c533[_0x2b6855(0x188)](_0x3b06bf)[_0x2b6855(0x33c)](_0x7ff7c1),_0x23c533['reset']();for(var _0x90f199=0x1;_0x90f199<_0x168942;_0x90f199++)_0x2ad800=_0x23c533[_0x2b6855(0x33c)](_0x2ad800),_0x23c533[_0x2b6855(0x2f4)]();_0x5b37fb[_0x2b6855(0x2c0)](_0x2ad800);}return _0x5b37fb[_0x2b6855(0x3c0)]=_0x36f730*0x4,_0x5b37fb;}});_0x54b51f[_0x19c7f9(0x337)]=function(_0x45b597,_0x50dfb8,_0x5c7daf){var _0x16b14d=_0x19c7f9;return _0xdc9a1a[_0x16b14d(0x2fc)](_0x5c7daf)['compute'](_0x45b597,_0x50dfb8);};}()),_0x4dafb9[_0x447340(0x337)];}));}(Ke)),Ke[_0x3b0e6a(0x3c3)];}var Je={'exports':{}},In=Je[_0x1f410c(0x3c3)],ei;function Ni(){var _0x374e8c=_0x1f410c;return ei||(ei=0x1,function(_0x10ea45,_0x2a9369){(function(_0x2c3d8f,_0x4400e2,_0x31f2ac){_0x10ea45['exports']=_0x4400e2(te(),yi());}(In,function(_0xcacf58){var _0xf32538=_0x27f1;_0xcacf58['lib'][_0xf32538(0x281)]||function(_0x5c1b9b){var _0x4e411b=_0xf32538,_0x50f1f2=_0xcacf58,_0x2d6d33=_0x50f1f2[_0x4e411b(0x1d1)],_0x50e8a1=_0x2d6d33[_0x4e411b(0x2df)],_0x477bb0=_0x2d6d33[_0x4e411b(0x225)],_0x14eb60=_0x2d6d33[_0x4e411b(0x27e)],_0x5995de=_0x50f1f2[_0x4e411b(0x339)];_0x5995de[_0x4e411b(0x2a9)];var _0x3765cb=_0x5995de[_0x4e411b(0x420)],_0x4585fd=_0x50f1f2[_0x4e411b(0x211)],_0x30e314=_0x4585fd[_0x4e411b(0x337)],_0x592c26=_0x2d6d33['Cipher']=_0x14eb60['extend']({'cfg':_0x50e8a1[_0x4e411b(0x184)](),'createEncryptor':function(_0x568cd8,_0x3ed96c){var _0x1a1450=_0x4e411b;return this[_0x1a1450(0x2fc)](this['_ENC_XFORM_MODE'],_0x568cd8,_0x3ed96c);},'createDecryptor':function(_0x12f8ee,_0x473234){var _0x518fdc=_0x4e411b;return this[_0x518fdc(0x2fc)](this['_DEC_XFORM_MODE'],_0x12f8ee,_0x473234);},'init':function(_0x12d161,_0x3dcbc2,_0x837175){var _0x1769a1=_0x4e411b;this[_0x1769a1(0x2ba)]=this[_0x1769a1(0x2ba)][_0x1769a1(0x184)](_0x837175),this[_0x1769a1(0x34a)]=_0x12d161,this[_0x1769a1(0x1e8)]=_0x3dcbc2,this[_0x1769a1(0x2f4)]();},'reset':function(){var _0x57b4a6=_0x4e411b;_0x14eb60[_0x57b4a6(0x2f4)]['call'](this),this[_0x57b4a6(0x39e)]();},'process':function(_0x3b4d9a){var _0x12afd3=_0x4e411b;return this['_append'](_0x3b4d9a),this[_0x12afd3(0x361)]();},'finalize':function(_0xe47bd){var _0x1089e1=_0x4e411b;_0xe47bd&&this[_0x1089e1(0x1b9)](_0xe47bd);var _0x534fb6=this[_0x1089e1(0x1af)]();return _0x534fb6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5d74dd(_0x2d19a4){var _0x2b7fc6=_0x27f1;return typeof _0x2d19a4==_0x2b7fc6(0x3a5)?_0x29b0b5:_0x187a2c;}return function(_0xb984c){return{'encrypt':function(_0x5e8f78,_0x2baf30,_0x576c9e){var _0x1b9294=_0x27f1;return _0x5d74dd(_0x2baf30)[_0x1b9294(0x33d)](_0xb984c,_0x5e8f78,_0x2baf30,_0x576c9e);},'decrypt':function(_0x1027fc,_0x3e6585,_0x372f36){var _0x357c88=_0x27f1;return _0x5d74dd(_0x3e6585)[_0x357c88(0x196)](_0xb984c,_0x1027fc,_0x3e6585,_0x372f36);}};};}())});_0x2d6d33[_0x4e411b(0x1fe)]=_0x592c26['extend']({'_doFinalize':function(){var _0x5a86b4=_0x4e411b,_0x4dacb8=this[_0x5a86b4(0x361)](!0x0);return _0x4dacb8;},'blockSize':0x1});var _0x38be30=_0x50f1f2['mode']={},_0x2d6594=_0x2d6d33['BlockCipherMode']=_0x50e8a1[_0x4e411b(0x184)]({'createEncryptor':function(_0x420497,_0x326f6f){var _0x53a92e=_0x4e411b;return this[_0x53a92e(0x209)]['create'](_0x420497,_0x326f6f);},'createDecryptor':function(_0x3c9fa1,_0x78d2e0){var _0x9045da=_0x4e411b;return this[_0x9045da(0x43f)][_0x9045da(0x2fc)](_0x3c9fa1,_0x78d2e0);},'init':function(_0x31b1bf,_0x911b7d){var _0x28ae22=_0x4e411b;this[_0x28ae22(0x28d)]=_0x31b1bf,this['_iv']=_0x911b7d;}}),_0x305eda=_0x38be30['CBC']=(function(){var _0x4ea960=_0x4e411b,_0x4f1a34=_0x2d6594['extend']();_0x4f1a34[_0x4ea960(0x209)]=_0x4f1a34[_0x4ea960(0x184)]({'processBlock':function(_0x13832f,_0xd6b6fa){var _0x58e2c7=_0x4ea960,_0x2e5438=this[_0x58e2c7(0x28d)],_0x313156=_0x2e5438['blockSize'];_0x31390e[_0x58e2c7(0x208)](this,_0x13832f,_0xd6b6fa,_0x313156),_0x2e5438[_0x58e2c7(0x3ba)](_0x13832f,_0xd6b6fa),this['_prevBlock']=_0x13832f['slice'](_0xd6b6fa,_0xd6b6fa+_0x313156);}}),_0x4f1a34[_0x4ea960(0x43f)]=_0x4f1a34[_0x4ea960(0x184)]({'processBlock':function(_0x49f1bd,_0x23faf9){var _0x45f92d=_0x4ea960,_0x4f2de8=this[_0x45f92d(0x28d)],_0x571004=_0x4f2de8[_0x45f92d(0x234)],_0x4d6023=_0x49f1bd['slice'](_0x23faf9,_0x23faf9+_0x571004);_0x4f2de8[_0x45f92d(0x307)](_0x49f1bd,_0x23faf9),_0x31390e[_0x45f92d(0x208)](this,_0x49f1bd,_0x23faf9,_0x571004),this[_0x45f92d(0x246)]=_0x4d6023;}});function _0x31390e(_0x12c2e2,_0x512e1f,_0x2d8fc4){var _0x381de0=_0x4ea960,_0x32bfa5,_0x58c8a7=this[_0x381de0(0x336)];_0x58c8a7?(_0x32bfa5=_0x58c8a7,this['_iv']=_0x5c1b9b):_0x32bfa5=this[_0x381de0(0x246)];for(var _0x3b6f32=0x0;_0x3b6f32<_0x2d8fc4;_0x3b6f32++)_0x12c2e2[_0x512e1f+_0x3b6f32]^=_0x32bfa5[_0x3b6f32];}return _0x4f1a34;}()),_0x1de174=_0x50f1f2[_0x4e411b(0x1c2)]={},_0x1d2a8b=_0x1de174[_0x4e411b(0x375)]={'pad':function(_0x14fd6d,_0x39b264){var _0x26a1e3=_0x4e411b;for(var _0x568b72=_0x39b264*0x4,_0x2ac7c7=_0x568b72-_0x14fd6d[_0x26a1e3(0x3c0)]%_0x568b72,_0x8bf880=_0x2ac7c7<<0x18|_0x2ac7c7<<0x10|_0x2ac7c7<<0x8|_0x2ac7c7,_0x569bdc=[],_0x208590=0x0;_0x208590<_0x2ac7c7;_0x208590+=0x4)_0x569bdc['push'](_0x8bf880);var _0x3cf81a=_0x477bb0[_0x26a1e3(0x2fc)](_0x569bdc,_0x2ac7c7);_0x14fd6d['concat'](_0x3cf81a);},'unpad':function(_0x2b0c1a){var _0x2615a3=_0x4e411b,_0xc85b82=_0x2b0c1a[_0x2615a3(0x1dd)][_0x2b0c1a[_0x2615a3(0x3c0)]-0x1>>>0x2]&0xff;_0x2b0c1a[_0x2615a3(0x3c0)]-=_0xc85b82;}};_0x2d6d33[_0x4e411b(0x453)]=_0x592c26[_0x4e411b(0x184)]({'cfg':_0x592c26[_0x4e411b(0x2ba)][_0x4e411b(0x184)]({'mode':_0x305eda,'padding':_0x1d2a8b}),'reset':function(){var _0x165e61=_0x4e411b,_0x6b7954;_0x592c26[_0x165e61(0x2f4)][_0x165e61(0x208)](this);var _0x132601=this[_0x165e61(0x2ba)],_0x55a8c9=_0x132601['iv'],_0x3e33a0=_0x132601['mode'];this['_xformMode']==this[_0x165e61(0x276)]?_0x6b7954=_0x3e33a0[_0x165e61(0x29e)]:(_0x6b7954=_0x3e33a0[_0x165e61(0x338)],this['_minBufferSize']=0x1),this[_0x165e61(0x344)]&&this[_0x165e61(0x344)][_0x165e61(0x377)]==_0x6b7954?this[_0x165e61(0x344)][_0x165e61(0x3ac)](this,_0x55a8c9&&_0x55a8c9[_0x165e61(0x1dd)]):(this[_0x165e61(0x344)]=_0x6b7954['call'](_0x3e33a0,this,_0x55a8c9&&_0x55a8c9[_0x165e61(0x1dd)]),this[_0x165e61(0x344)][_0x165e61(0x377)]=_0x6b7954);},'_doProcessBlock':function(_0x15a2a7,_0x431c83){var _0xf422f=_0x4e411b;this['_mode'][_0xf422f(0x1eb)](_0x15a2a7,_0x431c83);},'_doFinalize':function(){var _0x31c306=_0x4e411b,_0x38dbc4,_0x34c0c3=this[_0x31c306(0x2ba)][_0x31c306(0x2a5)];return this[_0x31c306(0x34a)]==this[_0x31c306(0x276)]?(_0x34c0c3[_0x31c306(0x1c2)](this[_0x31c306(0x190)],this['blockSize']),_0x38dbc4=this[_0x31c306(0x361)](!0x0)):(_0x38dbc4=this[_0x31c306(0x361)](!0x0),_0x34c0c3[_0x31c306(0x269)](_0x38dbc4)),_0x38dbc4;},'blockSize':0x80/0x20});var _0x25634c=_0x2d6d33[_0x4e411b(0x448)]=_0x50e8a1[_0x4e411b(0x184)]({'init':function(_0xfa7901){var _0xccc317=_0x4e411b;this[_0xccc317(0x197)](_0xfa7901);},'toString':function(_0xfb4ca1){var _0x2b068b=_0x4e411b;return(_0xfb4ca1||this[_0x2b068b(0x2d1)])[_0x2b068b(0x322)](this);}}),_0x4c21c6=_0x50f1f2[_0x4e411b(0x37a)]={},_0x39a6c1=_0x4c21c6[_0x4e411b(0x3f5)]={'stringify':function(_0x412c2c){var _0x128069=_0x4e411b,_0x587d55,_0x22a665=_0x412c2c['ciphertext'],_0x1155c3=_0x412c2c[_0x128069(0x3f9)];return _0x1155c3?_0x587d55=_0x477bb0[_0x128069(0x2fc)]([0x53616c74,0x65645f5f])[_0x128069(0x2c0)](_0x1155c3)['concat'](_0x22a665):_0x587d55=_0x22a665,_0x587d55['toString'](_0x3765cb);},'parse':function(_0x4c2d70){var _0x341d17=_0x4e411b,_0x359c1e,_0x45aebf=_0x3765cb['parse'](_0x4c2d70),_0x14dd82=_0x45aebf[_0x341d17(0x1dd)];return _0x14dd82[0x0]==0x53616c74&&_0x14dd82[0x1]==0x65645f5f&&(_0x359c1e=_0x477bb0['create'](_0x14dd82[_0x341d17(0x30e)](0x2,0x4)),_0x14dd82['splice'](0x0,0x4),_0x45aebf[_0x341d17(0x3c0)]-=0x10),_0x25634c[_0x341d17(0x2fc)]({'ciphertext':_0x45aebf,'salt':_0x359c1e});}},_0x187a2c=_0x2d6d33['SerializableCipher']=_0x50e8a1[_0x4e411b(0x184)]({'cfg':_0x50e8a1[_0x4e411b(0x184)]({'format':_0x39a6c1}),'encrypt':function(_0x2ac6e3,_0x474e5a,_0x4e24e8,_0x145db4){var _0x56b0a7=_0x4e411b;_0x145db4=this[_0x56b0a7(0x2ba)][_0x56b0a7(0x184)](_0x145db4);var _0x22fc95=_0x2ac6e3[_0x56b0a7(0x29e)](_0x4e24e8,_0x145db4),_0x13cabd=_0x22fc95['finalize'](_0x474e5a),_0x2b6872=_0x22fc95[_0x56b0a7(0x2ba)];return _0x25634c[_0x56b0a7(0x2fc)]({'ciphertext':_0x13cabd,'key':_0x4e24e8,'iv':_0x2b6872['iv'],'algorithm':_0x2ac6e3,'mode':_0x2b6872[_0x56b0a7(0x20c)],'padding':_0x2b6872['padding'],'blockSize':_0x2ac6e3[_0x56b0a7(0x234)],'formatter':_0x145db4[_0x56b0a7(0x37a)]});},'decrypt':function(_0x46b519,_0x15fd06,_0x4fdd1d,_0x5286d2){var _0x2b315e=_0x4e411b;_0x5286d2=this[_0x2b315e(0x2ba)][_0x2b315e(0x184)](_0x5286d2),_0x15fd06=this[_0x2b315e(0x379)](_0x15fd06,_0x5286d2[_0x2b315e(0x37a)]);var _0x5d3c70=_0x46b519[_0x2b315e(0x338)](_0x4fdd1d,_0x5286d2)[_0x2b315e(0x33c)](_0x15fd06[_0x2b315e(0x2e6)]);return _0x5d3c70;},'_parse':function(_0x387b42,_0x274aba){var _0x1dd7ae=_0x4e411b;return typeof _0x387b42=='string'?_0x274aba[_0x1dd7ae(0x2b7)](_0x387b42,this):_0x387b42;}}),_0x468780=_0x50f1f2[_0x4e411b(0x3eb)]={},_0x43a7e3=_0x468780[_0x4e411b(0x3f5)]={'execute':function(_0x339e99,_0xa9a410,_0x377180,_0x23de76,_0x107b16){var _0x1ac6c4=_0x4e411b;if(_0x23de76||(_0x23de76=_0x477bb0[_0x1ac6c4(0x35c)](0x40/0x8)),_0x107b16)var _0x1d6a73=_0x30e314['create']({'keySize':_0xa9a410+_0x377180,'hasher':_0x107b16})['compute'](_0x339e99,_0x23de76);else var _0x1d6a73=_0x30e314[_0x1ac6c4(0x2fc)]({'keySize':_0xa9a410+_0x377180})['compute'](_0x339e99,_0x23de76);var _0x438382=_0x477bb0['create'](_0x1d6a73[_0x1ac6c4(0x1dd)][_0x1ac6c4(0x30e)](_0xa9a410),_0x377180*0x4);return _0x1d6a73[_0x1ac6c4(0x3c0)]=_0xa9a410*0x4,_0x25634c[_0x1ac6c4(0x2fc)]({'key':_0x1d6a73,'iv':_0x438382,'salt':_0x23de76});}},_0x29b0b5=_0x2d6d33[_0x4e411b(0x3a0)]=_0x187a2c[_0x4e411b(0x184)]({'cfg':_0x187a2c[_0x4e411b(0x2ba)][_0x4e411b(0x184)]({'kdf':_0x43a7e3}),'encrypt':function(_0x1104b6,_0x388d4c,_0x443887,_0x1c0f5d){var _0xcf3b84=_0x4e411b;_0x1c0f5d=this[_0xcf3b84(0x2ba)][_0xcf3b84(0x184)](_0x1c0f5d);var _0x4abe70=_0x1c0f5d[_0xcf3b84(0x3eb)]['execute'](_0x443887,_0x1104b6[_0xcf3b84(0x245)],_0x1104b6['ivSize'],_0x1c0f5d[_0xcf3b84(0x3f9)],_0x1c0f5d[_0xcf3b84(0x433)]);_0x1c0f5d['iv']=_0x4abe70['iv'];var _0x409450=_0x187a2c[_0xcf3b84(0x33d)][_0xcf3b84(0x208)](this,_0x1104b6,_0x388d4c,_0x4abe70[_0xcf3b84(0x267)],_0x1c0f5d);return _0x409450[_0xcf3b84(0x197)](_0x4abe70),_0x409450;},'decrypt':function(_0x1511fa,_0x4e610d,_0x3c6fff,_0x27511c){var _0x523a16=_0x4e411b;_0x27511c=this[_0x523a16(0x2ba)][_0x523a16(0x184)](_0x27511c),_0x4e610d=this[_0x523a16(0x379)](_0x4e610d,_0x27511c['format']);var _0x3f6fca=_0x27511c[_0x523a16(0x3eb)][_0x523a16(0x253)](_0x3c6fff,_0x1511fa[_0x523a16(0x245)],_0x1511fa[_0x523a16(0x3b8)],_0x4e610d['salt'],_0x27511c[_0x523a16(0x433)]);_0x27511c['iv']=_0x3f6fca['iv'];var _0x2ab314=_0x187a2c['decrypt'][_0x523a16(0x208)](this,_0x1511fa,_0x4e610d,_0x3f6fca[_0x523a16(0x267)],_0x27511c);return _0x2ab314;}});}();}));}(Je)),Je[_0x374e8c(0x3c3)];}var Tn=Ve[_0x1f410c(0x3c3)],ti;function Cn(){return ti||(ti=0x1,function(_0x331e6c,_0x3c9f3){(function(_0x50051b,_0x19f4c5,_0x5b1874){var _0x22c836=_0x27f1;_0x331e6c[_0x22c836(0x3c3)]=_0x19f4c5(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0xa4f5d2){var _0x516833=_0x27f1;return(function(){var _0xffdf2f=_0x27f1,_0x18986f=_0xa4f5d2,_0x35c28e=_0x18986f['lib'],_0x4a4a17=_0x35c28e[_0xffdf2f(0x453)],_0x352b35=_0x18986f['algo'],_0x4eab13=[],_0x30001f=[],_0xebaa09=[],_0xd9981d=[],_0x1fcf35=[],_0x4f6c60=[],_0x586a1d=[],_0x4e266c=[],_0x38fadb=[],_0x507d3d=[];(function(){for(var _0x3ced15=[],_0x4c1640=0x0;_0x4c1640<0x100;_0x4c1640++)_0x4c1640<0x80?_0x3ced15[_0x4c1640]=_0x4c1640<<0x1:_0x3ced15[_0x4c1640]=_0x4c1640<<0x1^0x11b;for(var _0x174419=0x0,_0x39040e=0x0,_0x4c1640=0x0;_0x4c1640<0x100;_0x4c1640++){var _0x4f934f=_0x39040e^_0x39040e<<0x1^_0x39040e<<0x2^_0x39040e<<0x3^_0x39040e<<0x4;_0x4f934f=_0x4f934f>>>0x8^_0x4f934f&0xff^0x63,_0x4eab13[_0x174419]=_0x4f934f,_0x30001f[_0x4f934f]=_0x174419;var _0x4bf9cd=_0x3ced15[_0x174419],_0x57839e=_0x3ced15[_0x4bf9cd],_0x1edf59=_0x3ced15[_0x57839e],_0x5d137f=_0x3ced15[_0x4f934f]*0x101^_0x4f934f*0x1010100;_0xebaa09[_0x174419]=_0x5d137f<<0x18|_0x5d137f>>>0x8,_0xd9981d[_0x174419]=_0x5d137f<<0x10|_0x5d137f>>>0x10,_0x1fcf35[_0x174419]=_0x5d137f<<0x8|_0x5d137f>>>0x18,_0x4f6c60[_0x174419]=_0x5d137f;var _0x5d137f=_0x1edf59*0x1010101^_0x57839e*0x10001^_0x4bf9cd*0x101^_0x174419*0x1010100;_0x586a1d[_0x4f934f]=_0x5d137f<<0x18|_0x5d137f>>>0x8,_0x4e266c[_0x4f934f]=_0x5d137f<<0x10|_0x5d137f>>>0x10,_0x38fadb[_0x4f934f]=_0x5d137f<<0x8|_0x5d137f>>>0x18,_0x507d3d[_0x4f934f]=_0x5d137f,_0x174419?(_0x174419=_0x4bf9cd^_0x3ced15[_0x3ced15[_0x3ced15[_0x1edf59^_0x4bf9cd]]],_0x39040e^=_0x3ced15[_0x3ced15[_0x39040e]]):_0x174419=_0x39040e=0x1;}}());var _0x1d69ce=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x43a906=_0x352b35[_0xffdf2f(0x415)]=_0x4a4a17['extend']({'_doReset':function(){var _0x1ed942=_0xffdf2f,_0x25b3e0;if(!(this[_0x1ed942(0x40c)]&&this[_0x1ed942(0x3d8)]===this[_0x1ed942(0x1e8)])){for(var _0x5c77f9=this[_0x1ed942(0x3d8)]=this[_0x1ed942(0x1e8)],_0x1c1efd=_0x5c77f9['words'],_0x22c179=_0x5c77f9[_0x1ed942(0x3c0)]/0x4,_0x56d004=this[_0x1ed942(0x40c)]=_0x22c179+0x6,_0x3b857f=(_0x56d004+0x1)*0x4,_0x437571=this['_keySchedule']=[],_0x4148e5=0x0;_0x4148e5<_0x3b857f;_0x4148e5++)_0x4148e5<_0x22c179?_0x437571[_0x4148e5]=_0x1c1efd[_0x4148e5]:(_0x25b3e0=_0x437571[_0x4148e5-0x1],_0x4148e5%_0x22c179?_0x22c179>0x6&&_0x4148e5%_0x22c179==0x4&&(_0x25b3e0=_0x4eab13[_0x25b3e0>>>0x18]<<0x18|_0x4eab13[_0x25b3e0>>>0x10&0xff]<<0x10|_0x4eab13[_0x25b3e0>>>0x8&0xff]<<0x8|_0x4eab13[_0x25b3e0&0xff]):(_0x25b3e0=_0x25b3e0<<0x8|_0x25b3e0>>>0x18,_0x25b3e0=_0x4eab13[_0x25b3e0>>>0x18]<<0x18|_0x4eab13[_0x25b3e0>>>0x10&0xff]<<0x10|_0x4eab13[_0x25b3e0>>>0x8&0xff]<<0x8|_0x4eab13[_0x25b3e0&0xff],_0x25b3e0^=_0x1d69ce[_0x4148e5/_0x22c179|0x0]<<0x18),_0x437571[_0x4148e5]=_0x437571[_0x4148e5-_0x22c179]^_0x25b3e0);for(var _0x14a0b1=this[_0x1ed942(0x328)]=[],_0x2fad33=0x0;_0x2fad33<_0x3b857f;_0x2fad33++){var _0x4148e5=_0x3b857f-_0x2fad33;if(_0x2fad33%0x4)var _0x25b3e0=_0x437571[_0x4148e5];else var _0x25b3e0=_0x437571[_0x4148e5-0x4];_0x2fad33<0x4||_0x4148e5<=0x4?_0x14a0b1[_0x2fad33]=_0x25b3e0:_0x14a0b1[_0x2fad33]=_0x586a1d[_0x4eab13[_0x25b3e0>>>0x18]]^_0x4e266c[_0x4eab13[_0x25b3e0>>>0x10&0xff]]^_0x38fadb[_0x4eab13[_0x25b3e0>>>0x8&0xff]]^_0x507d3d[_0x4eab13[_0x25b3e0&0xff]];}}},'encryptBlock':function(_0x49674d,_0x1ed6a6){var _0x430836=_0xffdf2f;this[_0x430836(0x251)](_0x49674d,_0x1ed6a6,this['_keySchedule'],_0xebaa09,_0xd9981d,_0x1fcf35,_0x4f6c60,_0x4eab13);},'decryptBlock':function(_0x4e1216,_0x35f5d3){var _0xe337d3=_0xffdf2f,_0x470d53=_0x4e1216[_0x35f5d3+0x1];_0x4e1216[_0x35f5d3+0x1]=_0x4e1216[_0x35f5d3+0x3],_0x4e1216[_0x35f5d3+0x3]=_0x470d53,this[_0xe337d3(0x251)](_0x4e1216,_0x35f5d3,this[_0xe337d3(0x328)],_0x586a1d,_0x4e266c,_0x38fadb,_0x507d3d,_0x30001f);var _0x470d53=_0x4e1216[_0x35f5d3+0x1];_0x4e1216[_0x35f5d3+0x1]=_0x4e1216[_0x35f5d3+0x3],_0x4e1216[_0x35f5d3+0x3]=_0x470d53;},'_doCryptBlock':function(_0x47c584,_0xa65a1d,_0xc267fc,_0x36ca25,_0x312850,_0x498c11,_0x3ff04b,_0x5bc19b){var _0x774511=_0xffdf2f;for(var _0x184e4f=this[_0x774511(0x40c)],_0x2c19af=_0x47c584[_0xa65a1d]^_0xc267fc[0x0],_0x26fb72=_0x47c584[_0xa65a1d+0x1]^_0xc267fc[0x1],_0x55160e=_0x47c584[_0xa65a1d+0x2]^_0xc267fc[0x2],_0x4d1f02=_0x47c584[_0xa65a1d+0x3]^_0xc267fc[0x3],_0x372ef4=0x4,_0x20e429=0x1;_0x20e429<_0x184e4f;_0x20e429++){var _0x55504e=_0x36ca25[_0x2c19af>>>0x18]^_0x312850[_0x26fb72>>>0x10&0xff]^_0x498c11[_0x55160e>>>0x8&0xff]^_0x3ff04b[_0x4d1f02&0xff]^_0xc267fc[_0x372ef4++],_0x8973f=_0x36ca25[_0x26fb72>>>0x18]^_0x312850[_0x55160e>>>0x10&0xff]^_0x498c11[_0x4d1f02>>>0x8&0xff]^_0x3ff04b[_0x2c19af&0xff]^_0xc267fc[_0x372ef4++],_0x15d320=_0x36ca25[_0x55160e>>>0x18]^_0x312850[_0x4d1f02>>>0x10&0xff]^_0x498c11[_0x2c19af>>>0x8&0xff]^_0x3ff04b[_0x26fb72&0xff]^_0xc267fc[_0x372ef4++],_0x1b3755=_0x36ca25[_0x4d1f02>>>0x18]^_0x312850[_0x2c19af>>>0x10&0xff]^_0x498c11[_0x26fb72>>>0x8&0xff]^_0x3ff04b[_0x55160e&0xff]^_0xc267fc[_0x372ef4++];_0x2c19af=_0x55504e,_0x26fb72=_0x8973f,_0x55160e=_0x15d320,_0x4d1f02=_0x1b3755;}var _0x55504e=(_0x5bc19b[_0x2c19af>>>0x18]<<0x18|_0x5bc19b[_0x26fb72>>>0x10&0xff]<<0x10|_0x5bc19b[_0x55160e>>>0x8&0xff]<<0x8|_0x5bc19b[_0x4d1f02&0xff])^_0xc267fc[_0x372ef4++],_0x8973f=(_0x5bc19b[_0x26fb72>>>0x18]<<0x18|_0x5bc19b[_0x55160e>>>0x10&0xff]<<0x10|_0x5bc19b[_0x4d1f02>>>0x8&0xff]<<0x8|_0x5bc19b[_0x2c19af&0xff])^_0xc267fc[_0x372ef4++],_0x15d320=(_0x5bc19b[_0x55160e>>>0x18]<<0x18|_0x5bc19b[_0x4d1f02>>>0x10&0xff]<<0x10|_0x5bc19b[_0x2c19af>>>0x8&0xff]<<0x8|_0x5bc19b[_0x26fb72&0xff])^_0xc267fc[_0x372ef4++],_0x1b3755=(_0x5bc19b[_0x4d1f02>>>0x18]<<0x18|_0x5bc19b[_0x2c19af>>>0x10&0xff]<<0x10|_0x5bc19b[_0x26fb72>>>0x8&0xff]<<0x8|_0x5bc19b[_0x55160e&0xff])^_0xc267fc[_0x372ef4++];_0x47c584[_0xa65a1d]=_0x55504e,_0x47c584[_0xa65a1d+0x1]=_0x8973f,_0x47c584[_0xa65a1d+0x2]=_0x15d320,_0x47c584[_0xa65a1d+0x3]=_0x1b3755;},'keySize':0x100/0x20});_0x18986f[_0xffdf2f(0x415)]=_0x4a4a17[_0xffdf2f(0x2e4)](_0x43a906);}()),_0xa4f5d2[_0x516833(0x415)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x1f410c(0x3c3)],si;function Nn(){var _0x46cf1d=_0x1f410c;return si||(si=0x1,function(_0x29badc,_0x4ec9f7){(function(_0x3b3017,_0x55e7f4){_0x29badc['exports']=_0x55e7f4(te());}(yn,function(_0x1db26){var _0x577d6d=_0x27f1;return _0x1db26[_0x577d6d(0x339)]['Utf8'];}));}(Xe)),Xe[_0x46cf1d(0x3c3)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze['exports'],ni;function wn(){return ni||(ni=0x1,function(_0x40098b,_0x3b92a8){(function(_0x6485c,_0xd0d8ff){_0x40098b['exports']=_0xd0d8ff(te());}(An,function(_0x15edca){var _0x58e71a=_0x27f1;return(function(){var _0x410034=_0x27f1;if(typeof ArrayBuffer==_0x410034(0x418)){var _0x3e22c7=_0x15edca,_0x10316d=_0x3e22c7[_0x410034(0x1d1)],_0x7e9915=_0x10316d[_0x410034(0x225)],_0x30b3c8=_0x7e9915[_0x410034(0x3ac)],_0x3763f6=_0x7e9915[_0x410034(0x3ac)]=function(_0x113e45){var _0x444397=_0x410034;if(_0x113e45 instanceof ArrayBuffer&&(_0x113e45=new Uint8Array(_0x113e45)),(_0x113e45 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x113e45 instanceof Uint8ClampedArray||_0x113e45 instanceof Int16Array||_0x113e45 instanceof Uint16Array||_0x113e45 instanceof Int32Array||_0x113e45 instanceof Uint32Array||_0x113e45 instanceof Float32Array||_0x113e45 instanceof Float64Array)&&(_0x113e45=new Uint8Array(_0x113e45['buffer'],_0x113e45[_0x444397(0x1cf)],_0x113e45[_0x444397(0x3cb)])),_0x113e45 instanceof Uint8Array){for(var _0x100df3=_0x113e45[_0x444397(0x3cb)],_0xe74035=[],_0xdc43f6=0x0;_0xdc43f6<_0x100df3;_0xdc43f6++)_0xe74035[_0xdc43f6>>>0x2]|=_0x113e45[_0xdc43f6]<<0x18-_0xdc43f6%0x4*0x8;_0x30b3c8['call'](this,_0xe74035,_0x100df3);}else _0x30b3c8[_0x444397(0x2e5)](this,arguments);};_0x3763f6[_0x410034(0x21e)]=_0x7e9915;}}()),_0x15edca[_0x58e71a(0x1d1)]['WordArray'];}));}(Ze)),Ze['exports'];}var Pn=wn();function _0x4034(){var _0xbcab4e=['PSEUDO_FETCH_MISSING_RESULT','HmacSHA1','delete','/rev/','params','Base64','SHOULD_CLOSE_CONN','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_updateState','_collaborationUIEventService','univer-pro.collaboration-client.network-condition.service','catch','_changesetSessionId','_eventService','POST','authzUrl','_socketMessageSubscription','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','memberID','_replayCachedMutations','APPLY_REJECT','_rescheduleHeartbeat','INVITE_CODE_REQUIRED','hasher','_memberService','_updateStatus','_createInitialStateImpl','_event$','_replaceFileID','saveSheetBlock','\x20to\x20','signUrlServerUrl','_isPermissionRej','_undoStacks','_HTTPService','Decryptor','_onRecvEvent','3013240iLBBqQ','_init','_timeoutTimer','c1Prime','session.room-full','getTypeOfUnitDisposed$','_reverseMap','CipherParams','NEW_CHANGESETS','SEND_CHANGESET_TIMEOUT','image/png','awaiting_with_pending','/universer-api/oidc/authpage','USERS_LEAVE','createCollaborator','COMPRESS_MUTATION_SEND','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_tryEnsureSocket','BlockCipher','\x0aAfter:\x20','getInterceptPoints','_clearRedo','socket\x20open.','loadSheet','getTypeOfUnitAdded$','APPLY_NON_SEQUENTIAL_REVISION','SUBMIT_CHANGESET_TIMEOUT','_instanceService','JOIN_ROOM_NOT_EXISTS','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_registerDependencies','PY_RUNTIME_SCRIPT_ERROR','stopTime','revision','UNIVER_COLLABORATION_CLIENT_PLUGIN','onTransformSelections','MSG_FOR_ERROR','batchAllowed','AUTHZ_URL_KEY','/universer-api/snapshot','APPLY_PERMISSION_DENIED','conflict','/universer-api/authz','setWaitCount','1737HYYvpD','_members','_oKey','UNIVER_PROJECT','NOT_FOUND','HEARTBEAT','removeMember','_onJoinRoomEvent','_clearCollaborationTimeoutTimer','subUnitId','resend','_telemetryService','/object/','2346684likyeN','_doProcessBlock','unitID','fetchMissingChangesets','TOO_MANY_REQUESTS','getCurrentRevOfUnit','offline','_roomMembers','_univerInstanceService','_transformRemoteChangesetByStateCache','CHANGESET_ACK','extend','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','JOIN','getTime','update','transformSelections','&source=','asObservable','?size=','sessionStatus','registerHTTPInterceptor','_clearTimeoutTimer','_data','_commandService','UPDATE_CURSOR','_getUploadFileURL','_clearLocalCache','PERSON','decrypt','mixIn','onRemoteChangeset','onSyncEditingCollabCursor','?url=','permissionRejEvent','editing\x20status\x20changed\x20to','[CollaborationSession]','INVALID_ARGUMENT','withCredentials','_resendWithTimeout','collaMsg','error','join','file','newCsEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_clearRetryConnectingTimer','eventID','ws://127.0.0.1:8000/universer-api/comb/connect','_onConnectionOpen','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','state','allowed','_sendHeartbeatTimer','_doFinalize','post','_socket','HELLO','readyForCollab','disposeWithMe','createSocket','SHA1','onload','disableLocalCache','_append','_waitForHeartbeatResponse','emitEvent','OFFLINE','_getSignURL','deepClone','_throwTelemetryCollaborationNewChangeset','_initCloseConn','confirm','pad','default','fetchThroughInterceptors','onTransformState','Undefined','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','transformUndoRedo','reverse','socket\x20close','onCommandExecuted','objectActions','cmd','PENDING','byteOffset','_sessionStatus$','lib','UNDEFINED','complete','[CollaborationUndoRedoService]','appendMutation','_onRemoteChangeset','enableAuthServer','_clearHeartbeatTimer','univer-pro.collaboration-client-socket-service','_networkConditionService','getCollabEntity$','[OfflineState]:\x20received\x20changeset.','words','IDLE','collaboration_new_changeset','/universer-api/stream/file/upload','_remoteChangesetQueue','_createSocket','actions','setShowComponents','_socket$','getConfig','localCacheService','_key','_sender','abs','processBlock','_initRequestHeader','enableOfflineEditing','deleteCollaborator','getMember','/allowed','COLLAB_WEB_SOCKET_URL','replace','_onRemoteRetry','findIndex','session.room-cnt-exceeds','get','url','/object','UNIVER_SLIDE','unsubscribe','FileId','error$','responseType','StreamCipher','_config','MUTATION','YUUMI_UNABLE_LOAD_URL','putCollaborators','add','_createHandler','/resources','not_collab','loadOfflineData','call','Encryptor','getWorkbookSelections','from','mode','collaboratorID','BASE64','objectType','synced','algo','UNIVER_DOC','pending','_resendTimer','SNAPSHOT_URL_KEY','_schedule','YUUMI_NO_CUBOID_FOR_QUESTION','[CollaborationEntity]','LIVESHARE_OPERATION','Latin1','_waitCount','target','every','prototype','csShouldRetryEvent','_roomCreated$','_getAPIPrefixPath','/block/','listRoles','CONNECTOR_DATA_TOO_LARGE','WordArray','msCrypto','FETCH_MISS','_transformService','LIVESHARE_FETCH_OPERATIONS','_singleActiveUnitService','[UniverCollaborationClientPlugin]','8zJDwJf','_snapshotServerService','duration','members$','routeKey','location','SNAPSHOT_INVALID_SNAPSHOT','randomBytes','blockSize','fetchMiss','max','_substituteRedoStack','put','loadUnitOfRevision','failed\x20to\x20apply\x20missed\x20changesets!','_entities','splice','rev','getImage','_checkMissing','collaboration-client.config','_emitMembers','name','UnitSnapshot','href','keySize','_prevBlock','_listenToNetworkCondition','getSnapshotAPIPath','_localeService','LICENSE_MAX_UNITS_EXCEEDED','ERROR_IMAGE','transformStack\x20failed!','JOIN_ROOM_FULL','sendChangesetTimeout','COLLAB_SUBMIT_CHANGESET_URL','LIVESHARE_REQUEST_HOST','_doCryptBlock','next','execute','baseRev','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','status','ceil','saveImage','_permissionService','/universer-api/file/{fileID}/sign-url','_change$','debug','initWorkbookPermissionChange','shouldCloseConn','_initMergeInterceptor','textRanges','getSheetId','fetch_missing','_startTelemetryCollaborationNewChangeset','_incrementRevisionNumber','getAllMembers','send','key','_members$','unpad','collabSubmitChangesetUrl','_onConnectionFailed','_collaborationSessionService','_snapshotService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','editingUnit','interceptor','Malformed\x20UTF-8\x20data','[OfflineState]:\x20received\x20acknowledgement.','capture','_getSendChangesetTimeout','INGEST','_ENC_XFORM_MODE','m2Prime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','close$','_onConflict','sessionStatus$','_transformUndoredo','onTransformRemoteChangesetByStateCache','BufferedBlockAlgorithm','avatar','/-/object/-/batch_allowed','Cipher','addImageSourceCache','_updateLocalCache','_executeRemoteChangeset','getUnitStatus$','_fetchMissChangesets','MOBILE_HAS_BEEN_BOUND','onTransformRemoteChangesetByIMECache','EXCHANGE_SIGN_URL_SERVER_URL_KEY','UserProfileImg','_syncEditingCollabCursor','readAsDataURL','_cipher','UNIVER_UNKNOWN','onLocalMutation','reconnect','INVITE_CODE_HAS_BEEN_UES','roles','_onLocalMutation','_type','getActiveSheet','equals','loginUrlKey','_nDataBytes','UPDATE_PERMISSION_OBJ','getRoom','_getDownloadEndpointURL','NoPadding','roomInfos','createEncryptor','_queuedRemoteChangesets','_localCacheService','onRemoteRej','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_transitionLocked','getOwnPropertyDescriptor','padding','UNAUTHENTICATED','code','_acknowledgedAwaitingChangeset','Utf8','compose','_sendHeartbeat','collaboration-client.local-cache-service','data','_iKey','_scheduleCollaborationTimeoutTimer','requireSession','_compressMutationService','HmacMD5','getImageSourceCache','_scheduleCompleteTimestamp','socketService','updateCursorEvent','parse','save\x20fail\x20reason\x20is\x20','UnitEmbedded','cfg','onMissedChangesetFetched','_collaborationTimeoutTimer','{fileID}','headers','SNAPSHOT_HAS_BEEN_REMOVED','concat','charAt','mutations','USER_NOT_INVITED_CODE','_commentUpdate$','pipe','isArray','x-univer-host','forEach','_onOffline','_state$','Hasher','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','COMPRESS_MUTATION_APPLY','FAIL','_commentService','awaiting','formatter','RETRY_CONNECTING_MAX_COUNT','executeCommand','_onUserJoin','HttpImport','_showConflictNotification','append','toggleOffline','_getRedoStack','loadUnit','unknown','push','getMemberID','change$','Base','find','/role','_sendingTimer','_createHmacHelper','_createHelper','apply','ciphertext','LEAVE','auth.needGotoLoginAlert','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','collabWebSocketUrl','charCodeAt','7KIgzRw','CLOSE_ROOM','commentUpdate$','OPTIONAL','CONFLICT','subscribe','ENSURE_SNAPSHOT_EXECUTION','originalMeta','reset','fetching\x20missing\x20changesets\x20from\x20','encode','_clearScheduledTask','LIVESHARE_TERMINATE','_retryConnectingTimer','LOCAL_CACHE_INTERVAL','JOIN_ROOM_PERMISSION_DENIED','create','YUUMI_RATE_OVER_LIMIT','hasOwnProperty','PERMISSION_DENIED','_doCreateSocket','COMMENT_UPDATE','YUUMI_ALL_TABLES_IS_INVALID','_pendingMutations','_status$','_unlockTransition','INVITE_CODE_ALREADY_BOUND','decryptBlock','updatePermissionPoint','[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.','dispose','[OfflineState]:\x20received\x20rejection.','YUUMI_TABLE_NOT_FOUND_IN_UNIT','has','slice','_toggleOnline','socket$','getCollabEntity','_initDependencies','pluginName','YUUMI_ASYNCIO_CANCELLED','entityInit$','$super','selections','\x0aCurrent:\x20','startsWith','_hasher','state$','getUnitId','_onUserLeave','ALREADY_EXISTS','uploadFileServerUrl','_logService','_onRemoteRejected','stringify','LIVESHARE_NEW_HOST','YUUMI_SUBSCRIPTION_NOT_FOUND','_unitInfo$','ERROR_IMAGE_TYPE','/collaborator','_invKeySchedule','_undoRedoService','set','[CollaborationSessionService]','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_getUndoStack','GLOBAL_ROOMS_CNT_EXCEEDS','filter','updateMember','_clearUndo','_submitChangeset','onRemoteAck','WECHAT_HAS_BEEN_BOUND','_retryCount','_iv','EvpKDF','createDecryptor','enc','CHANGESET_REVISION_CONFILICT','toString','finalize','encrypt','range','LICENSE_IMPORT_SIZE_EXCEEDED','3024774vnACqt','[DataLoaderService]','onSendChangeset','onStarting','_mode','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteRetry','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[SyncedState]:\x20received\x20rejection.','clone','_xformMode','_transformSelections','image/jpeg','clear','reject','size','getRandomValues','crypto','_candidateSocket','_sheetTransformSelectionsService','requestParams','userID','loadDoc','_sessions','liveShareNewHost','entries','retryConnectingInterval','CHANGESET_SHOULD_RETRY','random','UNKNOWN_CODE','indexOf','_handlerCallback','&assign=','_process','uniscriptRunEvent','USERS_ENTER','workbook','image/bmp','PERMISSION_REJ','_getLoginPath','_socketReady','onTransformIME','session','dispose$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CHANGESET_REJ','members','OTHER_CLIENTS_EDITING','addHandlerCallback','_transformStack','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','AWAITING_WITH_PENDING','UNKNOWN_CMD','Pkcs7','_imageSourceCache','__creator','_shouldReportTelemetry','_parse','format','DEFAULT_FILE_NAME','type','list','JOIN_ROOM_FAILED','YUUMI_URL_COL_OUT_OF_RANGE','length','/universer-api/user/session-ticket','map','getLatestCsReqIdBySid','ONLINE','_handler','setConfig','liveShareOperation','[FetchMissState]','_awaitingChangeset','_stopTelemetryCollaborationNewChangeset','_state','event$','closeSession','updateOfflineData','HEARTBEAT_INTERVAL','status$','unitId','100463IfKuxD','fromCollab','message$','_httpService','origin','_startCollaboration','telemetry\x20info\x20is\x20not\x20initialized','objects','connection\x20error','setCurrentUser','FETCH_MISSING','LOGIN_FAILED','_doReset','OTHER_CLIENT_EDITING','PasswordBasedCipher','override','RECV','_tryReconnect','_lockTransition','string','/-/object/list','onCommentUpdate','_resendTimeout','_transformStateCache','clamp','_createInitialState','init','68onwmgx','HttpExport','UNIVER_SHEET','objectID','NO_OTHER_CLIENTS_EDITING','_getAPIPrefix','_disableEditing','defineProperty','[PendingState]:\x20received\x20acknowledgement.','toggleOnline','sid','ivSize','body','encryptBlock','close','_configService','_removeRoom','UNISCRIPT_RUN','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','sigBytes','/unit/','min','exports','APPLY_REVISION_CONFILICT','2990796undceq','sin','INTERNAL_ERROR','localeService','UNRECOGNIZED','NOT_COLLAB','byteLength','_initUnitPermissionChange','_applyRemoteChangeset','changesets','encodeURIComponent','_onFetchMissResult','reqId','_getCtorByUniverType','downloadEndpointUrl','SNAPSHOT_SERVER_URL_KEY','APPLY_DUPLICATED','HEARTBEAT_TIMEOUT','getUnitType','_keyPriorReset','unit-cache-','includes','infoRsp','_hash','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','now','substr','transformChangesets','Failed\x20to\x20update\x20permission\x20point','_toggleOffline','/new_changes','_getCurrentRevision','HMAC','open$','awaitingChangeset','_collaborationPaused','_injector','ERROR_EXCEED_SIZE','kdf','_decreaseWaiting','collaborators','_changesetReqId','YUUMI_AI_RUN_FAILED','onlyLocal','transformMutationsWithChangeset','incrementRevOfUnit','isPermissionRej','fromCharCode','OpenSSL','/fetchmissing?from=','_telemetryInfo','_onMessage','salt','snapshotServerUrl','_revisionService','_socketService','saveSnapshot','MD5','_onRemoteACK','onMissingChangesets','_unitID','submit\x20changeset\x20error!','snapshot','__Key__','c2Prime','_entityInit$','getCurrentUser','_map','6435320DXxlql','session.room-not-exists','_exhaustRemoteChangesetQueue','_nRounds','enableCollaboration','createInstance','EMAIL_HAS_BEEN_BOUND','SUBMIT_CHANGESET','floor','Could\x20not\x20dynamically\x20require\x20\x22','updateCollaborator','online$','AES','_userManagerService','commentUpdateEvent','function','result','subject'];_0x4034=function(){return _0xbcab4e;};return _0x4034();}const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x1f410c(0x3c3)],ri;function xn(){var _0x36b515=_0x1f410c;return ri||(ri=0x1,function(_0x53bdd2,_0x387308){(function(_0xe1341a,_0x5428b4,_0x367502){var _0x1342d1=_0x27f1;_0x53bdd2[_0x1342d1(0x3c3)]=_0x5428b4(te(),Ni());}(Mn,function(_0x581e3f){var _0x2ab318=_0x27f1;return _0x581e3f[_0x2ab318(0x1c2)][_0x2ab318(0x29c)]={'pad':function(){},'unpad':function(){}},_0x581e3f[_0x2ab318(0x1c2)][_0x2ab318(0x29c)];}));}(Qe)),Qe[_0x36b515(0x3c3)];}var kn=xn();const $n=$e(kn);function Hn(_0x238b5f,_0x2b84a1){var _0x26a553=_0x1f410c;const _0x9c551c=_0x2b84a1-_0x238b5f[_0x26a553(0x380)]%_0x2b84a1,_0x4ea00d=String[_0x26a553(0x3f4)](_0x9c551c)['repeat'](_0x9c551c);return _0x238b5f+_0x4ea00d;}function Bn(_0x4f7241,_0x33a461){var _0x1c5a96=_0x1f410c;const _0x277a88=Ln[_0x1c5a96(0x35c)](0x10),_0x232b81=Hn(_0x4f7241,0x10),_0x20e47b=bn['encrypt'](Un[_0x1c5a96(0x2b7)](_0x232b81),ii[_0x1c5a96(0x2b7)](_0x33a461),{'iv':_0x277a88,'padding':$n});return _0x277a88[_0x1c5a96(0x2c0)](_0x20e47b[_0x1c5a96(0x2e6)])[_0x1c5a96(0x33b)](ii);}function jn(){var _0x59d3bf=_0x1f410c;const _0x4ad8bc=_0x48d3ae()[_0x59d3bf(0x404)];if(_0x4ad8bc){const _0x3f06cf={'time':Math[_0x59d3bf(0x411)](Date[_0x59d3bf(0x3de)]()/0x3e8),'domain':location['hostname']};return Bn(JSON['stringify'](_0x3f06cf),_0x4ad8bc);}}var Fn=Object[_0x1f410c(0x2a4)],Vn=(_0x44c75d,_0x18e4aa,_0x2c433f,_0x57fb11)=>{for(var _0x1ce327=_0x57fb11>0x1?void 0x0:_0x57fb11?Fn(_0x18e4aa,_0x2c433f):_0x18e4aa,_0x154538=_0x44c75d['length']-0x1,_0x3ff1d1;_0x154538>=0x0;_0x154538--)(_0x3ff1d1=_0x44c75d[_0x154538])&&(_0x1ce327=_0x3ff1d1(_0x1ce327)||_0x1ce327);return _0x1ce327;},Gn=(_0x212d74,_0x4ebe32)=>(_0xf8ca25,_0x34cbb3)=>_0x4ebe32(_0xf8ca25,_0x34cbb3,_0x212d74);let at=class{constructor(_0x11dbae){var _0x10d58a=_0x1f410c;this[_0x10d58a(0x395)]=_0x11dbae,this[_0x10d58a(0x1ec)]();}[_0x1f410c(0x1ec)](){var _0x59b51c=_0x1f410c;this['_httpService'][_0x59b51c(0x18e)]({'interceptor':(_0x4e0352,_0x1a7c4d)=>{var _0x2a2c4a=_0x59b51c;const _0x676c00=_0x4e0352['headers'],_0x225b74=jn();return _0x225b74&&_0x676c00[_0x2a2c4a(0x32a)](_0x2a2c4a(0x2c7),_0x225b74),_0x1a7c4d(_0x4e0352);}});}};at=Vn([Gn(0x0,_0x1d307d(_0x23fee9))],at);var Wn=Object[_0x1f410c(0x2a4)],Yn=(_0x2c1a61,_0x34347e,_0x2cf67a,_0x121551)=>{for(var _0x386e1d=_0x121551>0x1?void 0x0:_0x121551?Wn(_0x34347e,_0x2cf67a):_0x34347e,_0x3d13a5=_0x2c1a61['length']-0x1,_0x2c0fd8;_0x3d13a5>=0x0;_0x3d13a5--)(_0x2c0fd8=_0x2c1a61[_0x3d13a5])&&(_0x386e1d=_0x2c0fd8(_0x386e1d)||_0x386e1d);return _0x386e1d;},vt=(_0x37b191,_0x121683)=>(_0x3b0b90,_0x221622)=>_0x121683(_0x3b0b90,_0x221622,_0x37b191);let Ct=class extends _0x2296f2{constructor(_0x242b4d,_0x54a4f2,_0x53a818){var _0x57f27b=_0x1f410c;super(),N(this,'_unitInfo$',new _0x3ad19d(null)),N(this,'unitInfo$',this[_0x57f27b(0x325)]['asObservable']()),(this['_logService']=_0x242b4d,this['_snapshotService']=_0x54a4f2,this[_0x57f27b(0x2a0)]=_0x53a818);}async['loadUnitOfRevision'](_0x54e69f,_0x261152,_0x364c18){var _0x42a3d4=_0x1f410c;this['_unitInfo$'][_0x42a3d4(0x252)]({'unitId':_0x54e69f,'type':_0x261152});let _0x2921b6=null;switch(_0x261152){case Z[_0x42a3d4(0x3af)]:{_0x2921b6=await this[_0x42a3d4(0x26d)][_0x42a3d4(0x458)](_0x54e69f,_0x364c18);break;}case Z[_0x42a3d4(0x212)]:{_0x2921b6=await this[_0x42a3d4(0x26d)][_0x42a3d4(0x356)](_0x54e69f,_0x364c18);break;}default:{this[_0x42a3d4(0x320)][_0x42a3d4(0x1a2)](_0x42a3d4(0x341),_0x42a3d4(0x1a6));break;}}return _0x2921b6;}async[_0x1f410c(0x2da)](_0x57d7e4,_0x4eb7b6,_0x10e543){var _0x11be4b=_0x1f410c,_0x2d4754;this[_0x11be4b(0x325)][_0x11be4b(0x252)]({'unitId':_0x57d7e4,'type':_0x4eb7b6,'subUnitId':_0x10e543});let _0x3c6200=0x0;const _0x153276=await((_0x2d4754=this[_0x11be4b(0x2a0)])==null?void 0x0:_0x2d4754[_0x11be4b(0x207)](_0x57d7e4));return _0x153276&&(_0x153276[_0x11be4b(0x3e7)]||_0x153276[_0x11be4b(0x2c2)][_0x11be4b(0x380)]!==0x0)&&(_0x3c6200=_0x153276[_0x11be4b(0x23d)]),_0x3c6200===0x0&&this['_logService'][_0x11be4b(0x25c)](_0x11be4b(0x341),_0x11be4b(0x1c7)),this[_0x11be4b(0x239)](_0x57d7e4,_0x4eb7b6,_0x3c6200);}};Ct=Yn([vt(0x0,_0x419223),vt(0x1,_0x1d307d(_0x1772ac)),vt(0x2,_0x1c555d(J))],Ct);var Kn=Object[_0x1f410c(0x2a4)],qn=(_0x36e0fb,_0x12e391,_0x147a8f,_0x483ebe)=>{var _0x5551f7=_0x1f410c;for(var _0x3d0092=_0x483ebe>0x1?void 0x0:_0x483ebe?Kn(_0x12e391,_0x147a8f):_0x12e391,_0x55533c=_0x36e0fb[_0x5551f7(0x380)]-0x1,_0x502cc8;_0x55533c>=0x0;_0x55533c--)(_0x502cc8=_0x36e0fb[_0x55533c])&&(_0x3d0092=_0x502cc8(_0x3d0092)||_0x3d0092);return _0x3d0092;},pt=(_0x59eb5,_0x9d9ab3)=>(_0x44bf25,_0x5bb630)=>_0x9d9ab3(_0x44bf25,_0x5bb630,_0x59eb5);const zn=[_0x1f410c(0x44b),_0x1f410c(0x34c),'image/jpg','image/gif',_0x1f410c(0x365)],Jn=0x5*0x400*0x400,Xn=_0x1f410c(0x2e9),Zn=_0x1f410c(0x1e0),Qn=_0x1f410c(0x289),er=_0x1f410c(0x25a);let Rt=class{constructor(_0x309873,_0x3cf44c,_0x3afdd0){var _0x231362=_0x1f410c;N(this,_0x231362(0x21b),0x0),N(this,'_change$',new _0x12df33()),N(this,_0x231362(0x2de),this[_0x231362(0x25b)]),N(this,_0x231362(0x376),new Map()),(this[_0x231362(0x395)]=_0x309873,this[_0x231362(0x3bc)]=_0x3cf44c,this[_0x231362(0x181)]=_0x3afdd0);}[_0x1f410c(0x46c)](_0x4db20c){var _0x251d48=_0x1f410c;this[_0x251d48(0x21b)]=_0x4db20c,this[_0x251d48(0x25b)][_0x251d48(0x252)](_0x4db20c);}[_0x1f410c(0x2b3)](_0x95c6e2,_0x411451){var _0x127924=_0x1f410c;if(_0x411451===_0x2ab728['BASE64']){const _0x245205=new Image();return _0x245205['src']=_0x95c6e2,_0x245205;}return this['_imageSourceCache'][_0x127924(0x1f6)](_0x95c6e2);}[_0x1f410c(0x282)](_0x4a3bbc,_0x38cd7d,_0x2f29fd){var _0x2da878=_0x1f410c;_0x38cd7d===_0x2ab728[_0x2da878(0x20e)]||_0x2f29fd==null||this[_0x2da878(0x376)][_0x2da878(0x32a)](_0x4a3bbc,_0x2f29fd);}async[_0x1f410c(0x23e)](_0x285d6f){var _0x4387a1=_0x1f410c;try{const _0xd47dca=this[_0x4387a1(0x438)](this['_getSignURL'](),''+_0x285d6f),_0x539c83=(await this['_httpService'][_0x4387a1(0x1f6)](_0xd47dca))[_0x4387a1(0x3b9)];if(_0x539c83[_0x4387a1(0x1a2)]&&_0x539c83[_0x4387a1(0x1a2)][_0x4387a1(0x2a7)]===pi['OK']){const _0x52cb45=new URL(_0x539c83[_0x4387a1(0x1f7)],this[_0x4387a1(0x29b)]())[_0x4387a1(0x33b)]();return Promise['resolve'](_0x52cb45);}return Promise['reject'](_0x539c83[_0x4387a1(0x1a2)]);}catch(_0x3aaffe){return Promise[_0x4387a1(0x34e)](_0x3aaffe);}}async[_0x1f410c(0x258)](_0xd1f869){var _0x657794=_0x1f410c;let _0x5071c7='';if(!zn[_0x657794(0x3da)](_0xd1f869[_0x657794(0x37c)]))return this[_0x657794(0x3ec)](),Promise[_0x657794(0x34e)](new Error(_0x44c606[_0x657794(0x326)]));if(_0xd1f869['size']>Jn)return this[_0x657794(0x3ec)](),Promise[_0x657794(0x34e)](new Error(_0x44c606[_0x657794(0x3ea)]));try{const _0x229233=new FormData();_0x229233[_0x657794(0x2d7)](_0x657794(0x1a4),_0xd1f869);const _0x4aab77=this[_0x657794(0x181)]['getFocusedUnit'](),_0x8ce993=_0x4aab77==null?void 0x0:_0x4aab77[_0x657794(0x31c)]();if(!_0x8ce993)throw new Error('unitId\x20is\x20not\x20found');const _0x6c96b6=this[_0x657794(0x193)]()+_0x657794(0x18c)+_0xd1f869[_0x657794(0x34f)]['toString']()+_0x657794(0x18a)+mi['UnitEmbedded']+_0x657794(0x360)+encodeURIComponent(_0x8ce993),_0x160ca0={'body':_0x229233},_0x589acd=(await this[_0x657794(0x395)]['post'](_0x6c96b6,_0x160ca0))['body'];if(typeof _0x589acd[_0x657794(0x1fb)]!=_0x657794(0x3a5))return this[_0x657794(0x3ec)](),Promise[_0x657794(0x34e)](new Error(_0x44c606[_0x657794(0x24b)]));_0x5071c7=_0x589acd[_0x657794(0x1fb)];}catch{return this[_0x657794(0x3ec)](),Promise[_0x657794(0x34e)](new Error(_0x44c606[_0x657794(0x24b)]));}return new Promise((_0x268759,_0x22226a)=>{var _0xd442f8=_0x657794;const _0x3c8b4f=new FileReader();_0x3c8b4f[_0xd442f8(0x28c)](_0xd1f869),_0x3c8b4f[_0xd442f8(0x1b7)]=_0x446ba7=>{var _0x4b3302=_0xd442f8,_0x1e1758;const _0x3764b1=(_0x1e1758=_0x446ba7[_0x4b3302(0x21c)])==null?void 0x0:_0x1e1758[_0x4b3302(0x419)];if(_0x3764b1==null){this[_0x4b3302(0x3ec)](),_0x22226a(new Error(_0x44c606[_0x4b3302(0x24b)]));return;}const _0xf5ba6a=_0x888782['generateRandomId'](0x6);_0x268759({'imageId':_0xf5ba6a,'imageSourceType':_0x2ab728['UUID'],'source':_0x5071c7,'base64Cache':_0x3764b1,'status':_0x44c606['SUCCUSS']}),this[_0x4b3302(0x3ec)]();};});}[_0x1f410c(0x193)](){var _0x39b40f=_0x1f410c,_0x4084c9,_0x15bbae;const _0xe7bdd0=this['_configService'][_0x39b40f(0x1e6)](Xn),_0x5ec27d=this[_0x39b40f(0x3bc)][_0x39b40f(0x1e6)](K);return(_0x15bbae=(_0x4084c9=_0x5ec27d==null?void 0x0:_0x5ec27d[_0x39b40f(0x31f)])!=null?_0x4084c9:_0xe7bdd0)!=null?_0x15bbae:Zn;}[_0x1f410c(0x1bd)](){var _0x8814b3=_0x1f410c,_0x29db1d,_0x5666e4;const _0x232005=this[_0x8814b3(0x3bc)][_0x8814b3(0x1e6)](Qn),_0x52c295=this[_0x8814b3(0x3bc)][_0x8814b3(0x1e6)](K);return(_0x5666e4=(_0x29db1d=_0x52c295==null?void 0x0:_0x52c295[_0x8814b3(0x43b)])!=null?_0x29db1d:_0x232005)!=null?_0x5666e4:er;}[_0x1f410c(0x29b)](){var _0x616e86=_0x1f410c,_0xfd3f6b;const _0x54398c=this[_0x616e86(0x3bc)][_0x616e86(0x1e6)](K);return(_0xfd3f6b=_0x54398c==null?void 0x0:_0x54398c[_0x616e86(0x3d3)])!=null?_0xfd3f6b:location[_0x616e86(0x396)];}[_0x1f410c(0x438)](_0x32b3be,_0x13f522){var _0x2b212e=_0x1f410c;return _0x32b3be[_0x2b212e(0x1f2)](_0x2b212e(0x2bd),_0x13f522);}[_0x1f410c(0x3ec)](){var _0x5bfdf7=_0x1f410c;this[_0x5bfdf7(0x21b)]-=0x1,this[_0x5bfdf7(0x25b)]['next'](this['_waitCount']);}};Rt=qn([pt(0x0,_0x1d307d(_0x23fee9)),pt(0x1,_0x22f7d3),pt(0x2,_0x1d307d(_0x505288))],Rt);var tr=Object[_0x1f410c(0x2a4)],ir=(_0x5752fc,_0x2e3a5b,_0xfe3606,_0x106374)=>{var _0x5090b9=_0x1f410c;for(var _0x299212=_0x106374>0x1?void 0x0:_0x106374?tr(_0x2e3a5b,_0xfe3606):_0x2e3a5b,_0x5b5568=_0x5752fc[_0x5090b9(0x380)]-0x1,_0x2a561b;_0x5b5568>=0x0;_0x5b5568--)(_0x2a561b=_0x5752fc[_0x5b5568])&&(_0x299212=_0x2a561b(_0x299212)||_0x299212);return _0x299212;},ai=(_0x572f4e,_0x3a29f3)=>(_0x5c14c5,_0x34efed)=>_0x3a29f3(_0x5c14c5,_0x34efed,_0x572f4e);const sr=_0x1f410c(0x46b);let bt=class{constructor(_0x178f99,_0x27a76a){var _0x35e066=_0x1f410c;this[_0x35e066(0x3bc)]=_0x178f99,this[_0x35e066(0x43e)]=_0x27a76a;}[_0x1f410c(0x221)](){var _0x5c8426=_0x1f410c,_0x54f497,_0x27d9bc;const _0x340bb6=this[_0x5c8426(0x3bc)][_0x5c8426(0x1e6)](bi),_0x15dbdf=this[_0x5c8426(0x3bc)][_0x5c8426(0x1e6)](K);return(_0x27d9bc=(_0x54f497=_0x15dbdf==null?void 0x0:_0x15dbdf[_0x5c8426(0x42b)])!=null?_0x54f497:_0x340bb6)!=null?_0x27d9bc:sr;}async[_0x1f410c(0x37d)](_0x26992b){var _0x4e7690=_0x1f410c;const _0x6619f2=this[_0x4e7690(0x221)]()+_0x4e7690(0x327);return{'list':[{'title':'People','mentions':(await this[_0x4e7690(0x43e)][_0x4e7690(0x1f6)](_0x6619f2,{'params':{'objectID':_0x26992b[_0x4e7690(0x391)],'unitID':_0x26992b[_0x4e7690(0x391)]}}))[_0x4e7690(0x3b9)][_0x4e7690(0x3ed)][_0x4e7690(0x382)](_0x5cc38f=>({'objectId':_0x5cc38f['id'],'name':_0x5cc38f[_0x4e7690(0x41a)][_0x4e7690(0x242)],'metadata':{'icon':_0x5cc38f[_0x4e7690(0x41a)][_0x4e7690(0x27f)]},'label':_0x5cc38f[_0x4e7690(0x41a)]['name'],'objectType':_0x48eb78[_0x4e7690(0x195)]})),'metadata':{},'type':_0x48eb78[_0x4e7690(0x195)]}]};}};bt=ir([ai(0x0,_0x1d307d(_0x22f7d3)),ai(0x1,_0x1d307d(_0x23fee9))],bt);var nr=Object[_0x1f410c(0x2a4)],rr=(_0x4d27f1,_0x1113a9,_0x49c2e7,_0x19d5f0)=>{var _0x9469a1=_0x1f410c;for(var _0x1ba2f9=_0x19d5f0>0x1?void 0x0:_0x19d5f0?nr(_0x1113a9,_0x49c2e7):_0x1113a9,_0x300d26=_0x4d27f1[_0x9469a1(0x380)]-0x1,_0x1ad477;_0x300d26>=0x0;_0x300d26--)(_0x1ad477=_0x4d27f1[_0x300d26])&&(_0x1ba2f9=_0x1ad477(_0x1ba2f9)||_0x1ba2f9);return _0x1ba2f9;},Ae=(_0x4d210c,_0x3d7b87)=>(_0x32684c,_0x4ebddf)=>_0x3d7b87(_0x32684c,_0x4ebddf,_0x4d210c);let ot=class extends _0x2296f2{constructor(_0x21f227,_0x44c19b,_0x4d90c9,_0x2f59dd,_0x373bc3){var _0x568b7f=_0x1f410c;super(),this['_injector']=_0x21f227,this[_0x568b7f(0x181)]=_0x44c19b,this['_permissionService']=_0x4d90c9,this['_collaborationSessionService']=_0x2f59dd,this['_collaborationUIEventService']=_0x373bc3,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x1f410c(0x1c0)](){var _0x61e5d7=_0x1f410c;const _0x1067a9=async _0x4b24fb=>{var _0x6d8e2a=_0x27f1;(await this[_0x6d8e2a(0x26c)][_0x6d8e2a(0x2b0)](_0x4b24fb))['event$'][_0x6d8e2a(0x2c5)](_0x3bc823(_0x383539=>_0x383539[_0x6d8e2a(0x1a8)]===_0x3c0371[_0x6d8e2a(0x421)]),_0x5bf295(this[_0x6d8e2a(0x36b)]))[_0x6d8e2a(0x2f1)](_0x7e9f7b=>{var _0x2dc2eb=_0x6d8e2a;const _0x6e6c20=_0x7e9f7b,{reason:_0x4b1b3c}=_0x6e6c20[_0x2dc2eb(0x2ad)];this[_0x2dc2eb(0x425)][_0x2dc2eb(0x1bb)]({'id':ne['CLOSE_ROOM'],'data':_0x4b1b3c}),this[_0x2dc2eb(0x259)][_0x2dc2eb(0x308)](new _0x44663c(_0x4b24fb)['id'],!0x1),this[_0x2dc2eb(0x26c)][_0x2dc2eb(0x38d)](_0x4b24fb);});};_0x3da0cd(this[_0x61e5d7(0x181)][_0x61e5d7(0x459)](_0xd9e05c[_0x61e5d7(0x3af)]),this[_0x61e5d7(0x181)][_0x61e5d7(0x459)](_0xd9e05c[_0x61e5d7(0x212)]))[_0x61e5d7(0x2c5)](_0x5a3746(_0xd485d6=>_0xd485d6[_0x61e5d7(0x31c)]()),_0x3bc823(_0x3fe588=>!_0x1e8b05(_0x3fe588)),_0x5bf295(this[_0x61e5d7(0x36b)]))[_0x61e5d7(0x2f1)](_0x47ccec=>{_0x1067a9(_0x47ccec);});}[_0x1f410c(0x3cc)](){var _0x498768=_0x1f410c;const _0x3e7dfe=async _0x4e8e09=>{var _0x5398ca=_0x27f1;const _0x27435e=await this[_0x5398ca(0x26c)][_0x5398ca(0x2b0)](_0x4e8e09),_0x5c1117=this['_injector'][_0x5398ca(0x1f6)](_0x4fc439);_0x27435e['event$']['pipe'](_0x3bc823(_0x98ae68=>_0x98ae68[_0x5398ca(0x1a8)]===_0x3c0371[_0x5398ca(0x299)]),_0x5bf295(this[_0x5398ca(0x36b)]))['subscribe'](_0x5719e9=>{var _0x6376fb=_0x5398ca;const _0x76c335=_0x5719e9,{objectId:_0x36fc16}=_0x76c335[_0x6376fb(0x2ad)];_0x36fc16===_0x4e8e09?_0x5c1117[_0x6376fb(0x25d)](_0x4e8e09):_0x5c1117['refreshPermission'](_0x4e8e09,_0x36fc16);});};_0x3da0cd(this[_0x498768(0x181)][_0x498768(0x459)](_0xd9e05c['UNIVER_SHEET']))[_0x498768(0x2c5)](_0x5a3746(_0x5a388a=>_0x5a388a[_0x498768(0x31c)]()),_0x3bc823(_0x11974b=>!_0x1e8b05(_0x11974b)),_0x5bf295(this['dispose$']))[_0x498768(0x2f1)](_0x587b77=>{_0x3e7dfe(_0x587b77);});}};ot=rr([Ae(0x0,_0x1d307d(_0x1f649f)),Ae(0x1,_0x505288),Ae(0x2,_0x42cef7),Ae(0x3,_0x1d307d(Le)),Ae(0x4,_0x1d307d(ve))],ot);var ar=Object[_0x1f410c(0x2a4)],or=(_0xe6ac5d,_0x2b6f14,_0x5d04ea,_0x4f8af9)=>{var _0xc8fd43=_0x1f410c;for(var _0x1cabb8=_0x4f8af9>0x1?void 0x0:_0x4f8af9?ar(_0x2b6f14,_0x5d04ea):_0x2b6f14,_0x4c3eb1=_0xe6ac5d[_0xc8fd43(0x380)]-0x1,_0x331163;_0x4c3eb1>=0x0;_0x4c3eb1--)(_0x331163=_0xe6ac5d[_0x4c3eb1])&&(_0x1cabb8=_0x331163(_0x1cabb8)||_0x1cabb8);return _0x1cabb8;},oi=(_0x5aef5d,_0x4cf485)=>(_0x396722,_0x13e14d)=>_0x4cf485(_0x396722,_0x13e14d,_0x5aef5d);let Ot=class{constructor(_0x1df26a,_0x366be7){var _0x5a3375=_0x1f410c;this[_0x5a3375(0x3bc)]=_0x1df26a,this[_0x5a3375(0x395)]=_0x366be7;}async['getUnitOnRev'](_0x3ac05b,_0x10d1ea){var _0x418bf0=_0x1f410c,_0x2af249;const {unitID:_0x2d59cd,type:_0x188fdf,revision:_0x2b8b64=0x0}=_0x10d1ea,_0x1c9a1c=this[_0x418bf0(0x248)]()+'/'+_0x188fdf+_0x418bf0(0x3c1)+_0x2d59cd+_0x418bf0(0x41e)+_0x2b8b64,_0x15e6e8=(await this[_0x418bf0(0x395)][_0x418bf0(0x1f6)](_0x1c9a1c))[_0x418bf0(0x3b9)],_0x12859b=(_0x2af249=_0x15e6e8[_0x418bf0(0x403)])==null?void 0x0:_0x2af249[_0x418bf0(0x364)];if(_0x12859b){const _0x3962aa=_0x12859b==null?void 0x0:_0x12859b[_0x418bf0(0x2f3)],_0x318e42=_0x336e25[_0x418bf0(0x2f6)](_0x372aa0(_0x3962aa));_0x12859b[_0x418bf0(0x2f3)]=_0x318e42,Object[_0x418bf0(0x359)](_0x12859b['sheets'])[_0x418bf0(0x2c8)](([,_0x45a925])=>{var _0x380f4a=_0x418bf0;const _0x5f4608=_0x45a925[_0x380f4a(0x2f3)],_0x5ce9c4=_0x336e25[_0x380f4a(0x2f6)](_0x372aa0(_0x5f4608));_0x45a925[_0x380f4a(0x2f3)]=_0x5ce9c4;});}return _0x15e6e8;}async['getSheetBlock'](_0x491238,_0x3129c9){var _0x4beabb=_0x1f410c;const {unitID:_0x4809e7,type:_0x4f2b5d,blockID:_0x19a22a}=_0x3129c9,_0x19b857=this[_0x4beabb(0x3b2)]()+'/'+_0x4f2b5d+_0x4beabb(0x3c1)+_0x4809e7+'/block/'+_0x19a22a;return(await this[_0x4beabb(0x395)]['get'](_0x19b857))[_0x4beabb(0x3b9)];}async['getDeserializedSheetBlock'](_0x23b082,_0x58b0c8){var _0x3d3edc=_0x1f410c;const {unitID:_0x5c4bea,type:_0x63013,blockID:_0xff7fc6}=_0x58b0c8,_0x26b5d4=this['_getAPIPrefix']()+_0x3d3edc(0x222)+_0x63013+_0x3d3edc(0x3c1)+_0x5c4bea+_0x3d3edc(0x222)+_0xff7fc6;return(await this[_0x3d3edc(0x395)][_0x3d3edc(0x1f6)](_0x26b5d4))['body'];}async[_0x1f410c(0x47d)](_0x1a2db9,_0x2aa1ea){var _0xda4779=_0x1f410c;const {unitID:_0x1bd8d1,type:_0x86b1f8,from:_0x19a76f,to:_0x1effa4}=_0x2aa1ea,_0x469947=this[_0xda4779(0x3b2)]()+'/'+_0x86b1f8+_0xda4779(0x3c1)+_0x1bd8d1+_0xda4779(0x3f6)+_0x19a76f+'&to='+_0x1effa4;return(await this['_httpService'][_0xda4779(0x1f6)](_0x469947))[_0xda4779(0x3b9)];}[_0x1f410c(0x248)](){var _0x3f4197=_0x1f410c,_0x5bd190;return(_0x5bd190=this[_0x3f4197(0x3bc)][_0x3f4197(0x1e6)](ps))!=null?_0x5bd190:this[_0x3f4197(0x3b2)]();}[_0x1f410c(0x3b2)](){var _0x434085=_0x1f410c,_0x40087b,_0x32419e;const _0x2a7218=this[_0x434085(0x3bc)][_0x434085(0x1e6)](fs),_0x3b6c1f=this['_configService'][_0x434085(0x1e6)](K);return(_0x32419e=(_0x40087b=_0x3b6c1f==null?void 0x0:_0x3b6c1f[_0x434085(0x3fa)])!=null?_0x40087b:_0x2a7218)!=null?_0x32419e:vs;}async['getResourcesRequest'](_0x2ca8f2,_0x22f9be){var _0x4af849=_0x1f410c;const _0x132085='/universer-api/snapshot/'+_0x22f9be['type']+_0x4af849(0x3c1)+_0x22f9be[_0x4af849(0x47c)]+_0x4af849(0x205);return(await this[_0x4af849(0x395)][_0x4af849(0x1f6)](_0x132085,{'params':{'resourceId':JSON[_0x4af849(0x322)](_0x22f9be['resourceIDs'])}}))['body'];}[_0x1f410c(0x3fd)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x2b942d=_0x1f410c;throw new Error(_0x2b942d(0x347));}[_0x1f410c(0x439)](){var _0x1f2ad2=_0x1f410c;throw new Error(_0x1f2ad2(0x347));}['saveChangeset'](){var _0x10443f=_0x1f410c;throw new Error(_0x10443f(0x347));}['copyFileMeta'](){var _0x53927a=_0x1f410c;throw new Error(_0x53927a(0x347));}[_0x1f410c(0x383)](){var _0x43f8a0=_0x1f410c;throw new Error(_0x43f8a0(0x347));}};Ot=or([oi(0x0,_0x22f7d3),oi(0x1,_0x1d307d(_0x23fee9))],Ot);var cr=Object[_0x1f410c(0x2a4)],hr=(_0x22b62b,_0x4d5427,_0x3475cb,_0x16742c)=>{var _0x47e679=_0x1f410c;for(var _0x458da3=_0x16742c>0x1?void 0x0:_0x16742c?cr(_0x4d5427,_0x3475cb):_0x4d5427,_0x20d52a=_0x22b62b[_0x47e679(0x380)]-0x1,_0x3eeabf;_0x20d52a>=0x0;_0x20d52a--)(_0x3eeabf=_0x22b62b[_0x20d52a])&&(_0x458da3=_0x3eeabf(_0x458da3)||_0x458da3);return _0x458da3;},we=(_0x3900b0,_0x321486)=>(_0x530042,_0x551819)=>_0x321486(_0x530042,_0x551819,_0x3900b0);let yt=class extends _0x374b3a{constructor(_0x1b9191,_0x1c06c3,_0x3360c3,_0x396034,_0x4a2da2){var _0x168d53=_0x1f410c;super(_0x1b9191,_0x1c06c3,_0x3360c3),this[_0x168d53(0x228)]=_0x396034,this[_0x168d53(0x320)]=_0x4a2da2;}['transformUndoRedo'](_0x309a8c,_0x4f268a){var _0x45b2b3=_0x1f410c;const _0x2083cb=this[_0x45b2b3(0x32d)](_0x309a8c);if(_0x2083cb)try{const _0x431e8b=this[_0x45b2b3(0x371)](_0x2083cb,_0x4f268a);this['_substituteUndoStack'](_0x309a8c,_0x431e8b);}catch(_0x1824b4){this[_0x45b2b3(0x320)][_0x45b2b3(0x1a2)]('[CollaborationUndoRedoService]',_0x1824b4),this[_0x45b2b3(0x331)](_0x309a8c);}const _0x3e580b=this[_0x45b2b3(0x2d9)](_0x309a8c);if(_0x3e580b)try{const _0x2e77bd=this[_0x45b2b3(0x371)](_0x3e580b,_0x4f268a);this[_0x45b2b3(0x237)](_0x309a8c,_0x2e77bd);}catch(_0x1485e5){this[_0x45b2b3(0x320)][_0x45b2b3(0x1a2)](_0x1485e5),this[_0x45b2b3(0x456)](_0x309a8c);}}['_clearUndo'](_0x3d5614){var _0x5c04ce=_0x1f410c;const _0x4bd1a3=this[_0x5c04ce(0x32d)](_0x3d5614);_0x4bd1a3&&(_0x4bd1a3['length']=0x0,this[_0x5c04ce(0x435)]());}['_clearRedo'](_0x26d63d){var _0x2d6dd3=_0x1f410c;const _0x1a0396=this[_0x2d6dd3(0x2d9)](_0x26d63d);_0x1a0396&&(_0x1a0396['length']=0x0,this[_0x2d6dd3(0x435)]());}['_substituteUndoStack'](_0x256db1,_0x1c1b41){var _0x3f758f=_0x1f410c;this[_0x3f758f(0x43d)][_0x3f758f(0x32a)](_0x256db1,_0x1c1b41),this[_0x3f758f(0x435)]();}[_0x1f410c(0x237)](_0x48301d,_0x203538){var _0x5ed9cd=_0x1f410c;this['_redoStacks'][_0x5ed9cd(0x32a)](_0x48301d,_0x203538),this[_0x5ed9cd(0x435)]();}['_transformStack'](_0x173860,_0x343fdc){var _0x224757=_0x1f410c;const _0x25cb17=[];let _0x4da53e=_0x343fdc,_0x136d6a=_0x343fdc;for(let _0x10acc3=_0x173860[_0x224757(0x380)]-0x1;_0x10acc3>=0x0;_0x10acc3--){const {unitID:_0x490eaa,undoMutations:_0x10fe08,redoMutations:_0x3bdd2c}=_0x173860[_0x10acc3],_0x543616=this['_transformService'][_0x224757(0x3f1)](_0x4da53e,_0x10fe08),_0xb6710a=this[_0x224757(0x228)][_0x224757(0x3f1)](_0x136d6a,_0x3bdd2c);if(_0x59d287(_0x543616)||_0x59d287(_0xb6710a)){this['_logService'][_0x224757(0x1a2)](_0x224757(0x1d4),_0x224757(0x24c),_0x543616,_0xb6710a);break;}_0x4da53e=_0x543616['c1Prime'],_0x136d6a=_0xb6710a[_0x224757(0x444)],_0x25cb17[_0x224757(0x2dc)]({'unitID':_0x490eaa,'undoMutations':_0x543616[_0x224757(0x277)],'redoMutations':_0xb6710a[_0x224757(0x277)]});}return _0x25cb17[_0x224757(0x1c9)]();}};yt=hr([we(0x0,_0x505288),we(0x1,_0x435e17),we(0x2,_0x5bc123),we(0x3,_0x402e01),we(0x4,_0x419223)],yt);var _r=Object[_0x1f410c(0x3b4)],lr=Object[_0x1f410c(0x2a4)],ur=(_0x361416,_0x56dc38,_0x157572)=>_0x56dc38 in _0x361416?_r(_0x361416,_0x56dc38,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x157572}):_0x361416[_0x56dc38]=_0x157572,dr=(_0x30e735,_0x3948c1,_0x32267b,_0x365b10)=>{for(var _0x36bb68=_0x365b10>0x1?void 0x0:_0x365b10?lr(_0x3948c1,_0x32267b):_0x3948c1,_0x116281=_0x30e735['length']-0x1,_0x2b3157;_0x116281>=0x0;_0x116281--)(_0x2b3157=_0x30e735[_0x116281])&&(_0x36bb68=_0x2b3157(_0x36bb68)||_0x36bb68);return _0x36bb68;},mt=(_0x3bc62f,_0x413362)=>(_0x420c5b,_0x16e8cf)=>_0x413362(_0x420c5b,_0x16e8cf,_0x3bc62f),fr=(_0x5121e5,_0x170fc9,_0x296743)=>ur(_0x5121e5,_0x170fc9+'',_0x296743);const vr=_0x1f410c(0x463);let Nt=class extends _0xd01ba0{constructor(_0x53c1e7,_0x44197e,_0x2f7899,_0x37ad7a){var _0x46ccba=_0x1f410c;super(),N(this,'_config'),(this[_0x46ccba(0x320)]=_0x44197e,this[_0x46ccba(0x3e9)]=_0x2f7899,this[_0x46ccba(0x3bc)]=_0x37ad7a);const {..._0x34b085}=_0x5a7505({},Ds,_0x53c1e7);if(!_0x34b085[_0x46ccba(0x2b5)])throw new Error(_0x46ccba(0x255));this['_config']=_0x34b085,this[_0x46ccba(0x3bc)][_0x46ccba(0x386)](K,_0x34b085);}[_0x1f410c(0x343)](){var _0x38cd3f=_0x1f410c;this[_0x38cd3f(0x45f)](),this[_0x38cd3f(0x312)]();}[_0x1f410c(0x45f)](){var _0x5226dc=_0x1f410c,_0x3d8578,_0x5438c1;this[_0x5226dc(0x3e9)][_0x5226dc(0x30d)](_0x2aacb6)&&this[_0x5226dc(0x320)][_0x5226dc(0x1a2)](_0x5226dc(0x22b),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x56e6cc=_0x160589([[_0x2aacb6,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x5226dc(0x1ff)][_0x5226dc(0x2b5)]}],[_0x3c9739,{'useClass':Ot}],[_0x2f52c6,{'useClass':Tt}],[_0x1284da,{'useClass':Rt}],[_0x2fad51,{'useClass':bt}],[nt],[It]],(_0x3d8578=this[_0x5226dc(0x1ff)])==null?void 0x0:_0x3d8578[_0x5226dc(0x3a1)]);if(!((_0x5438c1=this['_config'])!=null&&_0x5438c1['enableSingleActiveInstanceLock'])){const _0x1359c2=_0x56e6cc[_0x5226dc(0x1f4)](([_0x110340])=>_0x110340===ht);_0x1359c2!==-0x1&&_0x56e6cc[_0x5226dc(0x23c)](_0x1359c2,0x1);}_0x309664(this[_0x5226dc(0x3e9)],_0x56e6cc);}['_initDependencies'](){var _0x66c47e=_0x1f410c,_0x558754,_0x4c4a1a,_0x2567f3;this[_0x66c47e(0x3e9)][_0x66c47e(0x1f6)](_0x23fee9)[_0x66c47e(0x18e)]({'priority':0x14,'interceptor':_0x311a92({'maxParallel':0x6})}),(_0x558754=this[_0x66c47e(0x1ff)])!=null&&_0x558754[_0x66c47e(0x1ed)]||(_0x4c4a1a=this[_0x66c47e(0x3e9)]['get'](J,_0x4f4b83[_0x66c47e(0x2ef)]))==null||_0x4c4a1a[_0x66c47e(0x1b8)](),(_0x2567f3=this[_0x66c47e(0x1ff)])!=null&&_0x2567f3[_0x66c47e(0x1d7)]&&_0x4fb74e(this[_0x66c47e(0x3e9)],[[rt]]),_0x4fb74e(this[_0x66c47e(0x3e9)],[[at],[nt],[ot]]);}};fr(Nt,_0x1f410c(0x313),vr),Nt=dr([_0x55a2dc(_0x131076,_0x1059b9),mt(0x1,_0x419223),mt(0x2,_0x1d307d(_0x1f649f)),mt(0x3,_0x22f7d3)],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};