@univerjs-pro/collaboration-client 0.6.0-nightly.202502121606 → 0.6.0-nightly.202502131606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x57ea30=_0x30c3;(function(_0x6038b8,_0x4fe0a6){var _0x2ceb44=_0x30c3,_0x5341dc=_0x6038b8();while(!![]){try{var _0x701cd0=-parseInt(_0x2ceb44(0x339))/0x1*(parseInt(_0x2ceb44(0x467))/0x2)+parseInt(_0x2ceb44(0x453))/0x3*(parseInt(_0x2ceb44(0x189))/0x4)+parseInt(_0x2ceb44(0x1b4))/0x5+-parseInt(_0x2ceb44(0x1d0))/0x6*(parseInt(_0x2ceb44(0x201))/0x7)+-parseInt(_0x2ceb44(0x160))/0x8*(parseInt(_0x2ceb44(0x22d))/0x9)+parseInt(_0x2ceb44(0x1a7))/0xa*(-parseInt(_0x2ceb44(0x40c))/0xb)+-parseInt(_0x2ceb44(0x2f5))/0xc*(-parseInt(_0x2ceb44(0x322))/0xd);if(_0x701cd0===_0x4fe0a6)break;else _0x5341dc['push'](_0x5341dc['shift']());}catch(_0xe081a2){_0x5341dc['push'](_0x5341dc['shift']());}}}(_0x2a30,0x53290));var Li=Object[_0x57ea30(0x2ab)],Mi=(_0x2dfad2,_0x1169d9,_0x50f10d)=>_0x1169d9 in _0x2dfad2?Li(_0x2dfad2,_0x1169d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50f10d}):_0x2dfad2[_0x1169d9]=_0x50f10d,N=(_0x131089,_0x231ff5,_0x791da3)=>Mi(_0x131089,typeof _0x231ff5!=_0x57ea30(0x468)?_0x231ff5+'':_0x231ff5,_0x791da3);import{createIdentifier as _0x7c5cb6,Inject as _0x121c70,Injector as _0x49358f,Disposable as _0x232634,DisposableCollection as _0x32c698,toDisposable as _0x3ab410,IConfigService as _0x5a8f33,ILogService as _0x410aea,UserManagerService as _0x38aba0,UniverInstanceType as _0x33b7bd,IUniverInstanceService as _0x3b1049,LocaleService as _0x5931b1,Optional as _0x1d8841,RxDisposable as _0x577131,Tools as _0xb8971a,Rectangle as _0x118fc4,ICommandService as _0x39c537,JSONX as _0x3b4f97,CommandType as _0x530150,IPermissionService as _0x8b7349,IUndoRedoService as _0x2cf6cb,sequenceExecute as _0x34ed06,Workbook as _0x5d02c2,MentionType as _0xce523b,IAuthzIoService as _0xce0ee1,isInternalEditorID as _0x213a90,LocalUndoRedoService as _0x4339c9,IContextService as _0x1b919b,DependentOn as _0x21b86b,Plugin as _0x802d0b,merge as _0x136c0d,mergeOverrideWithDependencies as _0x3795e4,IMentionIOService as _0x34756c,registerDependencies as _0xdc2135,Quantity as _0x2b20f2,touchDependencies as _0x571d99}from'@univerjs/core';import{Subject as _0x378d79,merge as _0x20f86f,of as _0x36584b,BehaviorSubject as _0x21aea0,takeUntil as _0x306370,ReplaySubject as _0x5c77e9,take as _0x3bfa1c,map as _0x3b1b76,shareReplay as _0x30f542,firstValueFrom as _0xfcf877,concatMap as _0x518cb9}from'rxjs';import{map as _0x18d76c,take as _0x1ef3e9,filter as _0x4d1c41,delay as _0x26959e,takeUntil as _0x5c07a4}from'rxjs/operators';import{HTTPService as _0x457bbb,ISocketService as _0xd47339,MergeInterceptorFactory as _0x522fe1,HTTPRequest as _0x109246,UniverNetworkPlugin as _0xf16f04,ThresholdInterceptorFactory as _0x2e84f0}from'@univerjs/network';import{CollaborationEvent as _0x50f10f,parseChangesetToProtocol as _0x2432a9,ISnapshotServerService as _0x1a1ac3,isTransformMutationsWithChangesetSuccess as _0x37c03b,ITransformService as _0x4877b5,mapDocumentTypeToUniverType as _0x36f9a0,RevisionService as _0x117310,isTransformChangesetsSuccess as _0x14716a,CompressMutationService as _0x17c2e2,parseProtocolChangeset as _0x40afb4,SnapshotService as _0x2a96f5,textEncoder as _0x29ae7b,b64DecodeUnicode as _0x4da21e,isTransformMutationsWithChangesetFailure as _0x2fe811,UniverCollaborationPlugin as _0x4b4955}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xb3d731}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x36d8f7}from'@univerjs/docs';import{SheetsSelectionsService as _0x16b3f3,SetSelectionsOperation as _0x1de0ec,InsertSheetMutation as _0x15c4f3,EmptyMutation as _0x3a834d,WorkbookEditablePermission as _0x4f0669,SheetPermissionInitController as _0x50561b,UniverSheetsPlugin as _0x1ca7f4}from'@univerjs/sheets';import{ImageSourceType as _0x3aee31,ImageUploadStatusType as _0x57e7c3,IImageIoService as _0x1b3fb2}from'@univerjs/drawing';import{getGlobalObject as _0x27997a}from'@univerjs-pro/license';const En=_0x57ea30(0x40e),In=_0x57ea30(0x311),Tn='SNAPSHOT_URL_KEY',eo=_0x57ea30(0x2cb),Cn=0x7d0,Rn=_0x57ea30(0x249),bn=_0x57ea30(0x32a),On=_0x57ea30(0x1db),yn=_0x57ea30(0x3ef),Nn=0x7530,Si=_0x57ea30(0x178),Ei=0x4e20,Dn=0x4e20,Pn=_0x57ea30(0x2a5),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x57ea30(0x412),An=_0x57ea30(0x27e),xn=_0x57ea30(0x1bc),Ln=_0x57ea30(0x3ff),no=_0x57ea30(0x1dc),ro='/universer-api/uniscript';var Ii=(_0x531e4b=>(_0x531e4b[_0x531e4b[_0x57ea30(0x3e9)]=0x0]=_0x57ea30(0x3e9),_0x531e4b[_0x531e4b['OK']=0x1]='OK',_0x531e4b[_0x531e4b['INTERNAL_ERROR']=0x2]=_0x57ea30(0x2f2),_0x531e4b[_0x531e4b[_0x57ea30(0x424)]=0x3]=_0x57ea30(0x424),_0x531e4b[_0x531e4b[_0x57ea30(0x46d)]=0x4]='NOT_FOUND',_0x531e4b[_0x531e4b[_0x57ea30(0x38c)]=0x5]=_0x57ea30(0x38c),_0x531e4b[_0x531e4b[_0x57ea30(0x38e)]=0x6]=_0x57ea30(0x38e),_0x531e4b[_0x531e4b[_0x57ea30(0x46a)]=0x7]=_0x57ea30(0x46a),_0x531e4b[_0x531e4b[_0x57ea30(0x167)]=0x8]=_0x57ea30(0x167),_0x531e4b[_0x531e4b[_0x57ea30(0x287)]=0x9]=_0x57ea30(0x287),_0x531e4b[_0x531e4b[_0x57ea30(0x452)]=0x1389]=_0x57ea30(0x452),_0x531e4b[_0x531e4b[_0x57ea30(0x2fa)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x531e4b[_0x531e4b[_0x57ea30(0x44f)]=0x1772]=_0x57ea30(0x44f),_0x531e4b[_0x531e4b[_0x57ea30(0x215)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x531e4b[_0x531e4b[_0x57ea30(0x1f1)]=0x1b59]=_0x57ea30(0x1f1),_0x531e4b[_0x531e4b[_0x57ea30(0x2f4)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x531e4b[_0x531e4b[_0x57ea30(0x1e0)]=0x1b5b]=_0x57ea30(0x1e0),_0x531e4b[_0x531e4b[_0x57ea30(0x422)]=0x1b5c]=_0x57ea30(0x422),_0x531e4b[_0x531e4b[_0x57ea30(0x440)]=0x1b5d]=_0x57ea30(0x440),_0x531e4b[_0x531e4b[_0x57ea30(0x2df)]=0x1f41]=_0x57ea30(0x2df),_0x531e4b[_0x531e4b[_0x57ea30(0x3f7)]=0x2329]=_0x57ea30(0x3f7),_0x531e4b[_0x531e4b[_0x57ea30(0x473)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x531e4b[_0x531e4b[_0x57ea30(0x27c)]=0x232b]=_0x57ea30(0x27c),_0x531e4b[_0x531e4b[_0x57ea30(0x31e)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x531e4b[_0x531e4b[_0x57ea30(0x1bf)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x531e4b[_0x531e4b[_0x57ea30(0x345)]=0x2711]=_0x57ea30(0x345),_0x531e4b[_0x531e4b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x57ea30(0x2dc),_0x531e4b[_0x531e4b[_0x57ea30(0x3f3)]=0x2713]=_0x57ea30(0x3f3),_0x531e4b[_0x531e4b[_0x57ea30(0x404)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x531e4b[_0x531e4b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x57ea30(0x24c),_0x531e4b[_0x531e4b[_0x57ea30(0x22f)]=-0x1]=_0x57ea30(0x22f),_0x531e4b))(Ii||{}),Q=(_0x8f19de=>(_0x8f19de[_0x8f19de[_0x57ea30(0x1e1)]=0x0]=_0x57ea30(0x1e1),_0x8f19de[_0x8f19de[_0x57ea30(0x44d)]=0x1]=_0x57ea30(0x44d),_0x8f19de[_0x8f19de['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x8f19de[_0x8f19de['UNIVER_SLIDE']=0x3]=_0x57ea30(0x34a),_0x8f19de[_0x8f19de['UNIVER_PROJECT']=0x4]=_0x57ea30(0x434),_0x8f19de[_0x8f19de[_0x57ea30(0x22f)]=-0x1]=_0x57ea30(0x22f),_0x8f19de))(Q||{}),F=(_0x521ceb=>(_0x521ceb[_0x521ceb[_0x57ea30(0x2bd)]=0x0]=_0x57ea30(0x2bd),_0x521ceb[_0x521ceb['HELLO']=0x1]='HELLO',_0x521ceb[_0x521ceb[_0x57ea30(0x3cc)]=0x2]=_0x57ea30(0x3cc),_0x521ceb[_0x521ceb[_0x57ea30(0x330)]=0x3]=_0x57ea30(0x330),_0x521ceb[_0x521ceb[_0x57ea30(0x24a)]=0x4]=_0x57ea30(0x24a),_0x521ceb[_0x521ceb[_0x57ea30(0x30e)]=0x5]=_0x57ea30(0x30e),_0x521ceb[_0x521ceb[_0x57ea30(0x240)]=0x6]='RECV',_0x521ceb[_0x521ceb[_0x57ea30(0x22f)]=-0x1]=_0x57ea30(0x22f),_0x521ceb))(F||{}),Ee=(_0x38c74f=>(_0x38c74f[_0x38c74f[_0x57ea30(0x210)]=0x0]=_0x57ea30(0x210),_0x38c74f[_0x38c74f['OK']=0x1]='OK',_0x38c74f[_0x38c74f['FAIL']=0x2]=_0x57ea30(0x3ba),_0x38c74f[_0x38c74f[_0x57ea30(0x224)]=0x3e9]='JOIN_ROOM_FULL',_0x38c74f[_0x38c74f[_0x57ea30(0x1ca)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x38c74f[_0x38c74f[_0x57ea30(0x227)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x38c74f[_0x38c74f[_0x57ea30(0x1f3)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x38c74f[_0x38c74f[_0x57ea30(0x22f)]=-0x1]=_0x57ea30(0x22f),_0x38c74f))(Ee||{}),Ti=(_0x387ae6=>(_0x387ae6[_0x387ae6[_0x57ea30(0x226)]=0x0]=_0x57ea30(0x226),_0x387ae6[_0x387ae6[_0x57ea30(0x277)]=0x1]=_0x57ea30(0x277),_0x387ae6[_0x387ae6[_0x57ea30(0x1eb)]=0x2]='HttpExport',_0x387ae6[_0x387ae6['UnitEmbedded']=0x3]=_0x57ea30(0x33e),_0x387ae6[_0x387ae6[_0x57ea30(0x22e)]=0x4]=_0x57ea30(0x22e),_0x387ae6[_0x387ae6['UNRECOGNIZED']=-0x1]=_0x57ea30(0x22f),_0x387ae6))(Ti||{});const q=_0x57ea30(0x354),Wt={};var se=(_0x5f102f=>(_0x5f102f[_0x57ea30(0x320)]=_0x57ea30(0x320),_0x5f102f[_0x57ea30(0x424)]=_0x57ea30(0x424),_0x5f102f[_0x57ea30(0x3ad)]='CONFLICT',_0x5f102f[_0x57ea30(0x2da)]=_0x57ea30(0x2da),_0x5f102f[_0x57ea30(0x3bf)]='JOIN_ROOM_FAILED',_0x5f102f['SOCKET_FAILED_RETRY']=_0x57ea30(0x3bd),_0x5f102f[_0x57ea30(0x2a2)]=_0x57ea30(0x2a2),_0x5f102f[_0x57ea30(0x225)]=_0x57ea30(0x225),_0x5f102f))(se||{});class pe{constructor(){var _0x26303c=_0x57ea30;N(this,_0x26303c(0x291),new _0x378d79()),N(this,'event$',this[_0x26303c(0x291)][_0x26303c(0x271)]());}[_0x57ea30(0x21a)](_0x54c629){var _0x3ee9f8=_0x57ea30;this['_event$'][_0x3ee9f8(0x205)](_0x54c629);}}const Mn=_0x7c5cb6(_0x57ea30(0x237));function $n(_0x35bc47){var _0x458908=_0x57ea30,_0x5e402f,_0x4b6022,_0xf6fa4d,_0x5dd189,_0x5ba141;const _0x1f26ff=_0x35bc47['data'],_0x4f4cfb=JSON['parse'](_0x1f26ff);switch(_0x4f4cfb[_0x458908(0x32d)]){case F[_0x458908(0x30e)]:case F[_0x458908(0x3d9)]:{const _0x56a95d=_0x4f4cfb[_0x458908(0x443)];return{..._0x4f4cfb,'data':_0x56a95d,'cmd':_0x4f4cfb[_0x458908(0x32d)]};}case F[_0x458908(0x3cc)]:{const _0x2d1dbe=_0x4f4cfb['joinRsp'];return{..._0x4f4cfb,'data':_0x2d1dbe,'cmd':_0x4f4cfb['cmd']};}case F['RECV']:{const _0x4e0100=_0x4f4cfb[_0x458908(0x3bc)];switch(_0x4e0100['eventID']){case _0x50f10f[_0x458908(0x43e)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0x5e402f=_0x4e0100[_0x458908(0x37c)])==null?void 0x0:_0x5e402f['cs']},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x458)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0x4b6022=_0x4e0100[_0x458908(0x166)])==null?void 0x0:_0x4b6022['cs']},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x414)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0xf6fa4d=_0x4e0100[_0x458908(0x461)])==null?void 0x0:_0xf6fa4d['cs']},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f['CHANGESET_REJ']:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0x5dd189=_0x4e0100['csRejEvent'])==null?void 0x0:_0x5dd189['cs']},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x30b)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':(_0x5ba141=_0x4e0100[_0x458908(0x3cd)])==null?void 0x0:_0x5ba141['cs']},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x30c)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100['updateCursorEvent']},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f['USERS_ENTER']:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x26e)]},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f['USERS_LEAVE']:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x421)]},'cmd':_0x4f4cfb['cmd']};case _0x50f10f['LIVESHARE_NEW_HOST']:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100['liveShareNewHost']},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x3ab)]:case _0x50f10f[_0x458908(0x306)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x29f)]},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x28c)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x2c1)]},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x451)]:return{..._0x4f4cfb,'data':_0x4e0100,'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x31d)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x3da)]},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x418)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x438)]},'cmd':_0x4f4cfb['cmd']};case _0x50f10f[_0x458908(0x3e1)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x1e5)]},'cmd':_0x4f4cfb[_0x458908(0x32d)]};case _0x50f10f[_0x458908(0x370)]:return{..._0x4f4cfb,'data':{..._0x4e0100,'data':_0x4e0100[_0x458908(0x2d8)]},'cmd':_0x4f4cfb['cmd']};default:return _0x4f4cfb;}}default:return _0x4f4cfb;}}function Hn(_0x3be9ca){var _0x17dfad=_0x57ea30;switch(_0x3be9ca[_0x17dfad(0x32d)]){case F[_0x17dfad(0x30e)]:case F[_0x17dfad(0x3d9)]:return JSON[_0x17dfad(0x3ea)]({'cmd':_0x3be9ca[_0x17dfad(0x32d)],'routeKey':_0x3be9ca[_0x17dfad(0x419)]});case F['INGEST']:{let _0x553483;switch(_0x3be9ca['data'][_0x17dfad(0x2a1)]){case _0x50f10f[_0x17dfad(0x30c)]:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x30c)],'updateCursorEvent':_0x3be9ca['data'][_0x17dfad(0x34c)]};break;}case _0x50f10f['USERS_LEAVE']:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x470)],'leaveEvent':_0x3be9ca['data'][_0x17dfad(0x34c)]};break;}case _0x50f10f['USERS_ENTER']:{_0x553483={'eventID':_0x50f10f['USERS_ENTER'],'joinEvent':_0x3be9ca['data']['data']};break;}case _0x50f10f['LIVESHARE_NEW_HOST']:{_0x553483={'eventID':_0x50f10f['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3be9ca['data'][_0x17dfad(0x34c)]};break;}case _0x50f10f['LIVESHARE_OPERATION']:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x306)],'liveShareOperation':_0x3be9ca[_0x17dfad(0x34c)][_0x17dfad(0x34c)]};break;}case _0x50f10f['LIVESHARE_TERMINATE']:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x28c)],'liveShareTerminate':_0x3be9ca[_0x17dfad(0x34c)][_0x17dfad(0x34c)]};break;}case _0x50f10f[_0x17dfad(0x40f)]:{_0x553483={'eventID':_0x50f10f[_0x17dfad(0x40f)],'liveShareRequestHost':_0x3be9ca[_0x17dfad(0x34c)][_0x17dfad(0x34c)]};break;}case _0x50f10f[_0x17dfad(0x3ab)]:{_0x553483={'eventID':_0x50f10f['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x553483={'eventID':_0x3be9ca[_0x17dfad(0x34c)][_0x17dfad(0x2a1)]};}return JSON[_0x17dfad(0x3ea)]({'cmd':_0x3be9ca[_0x17dfad(0x32d)],'routeKey':_0x3be9ca[_0x17dfad(0x419)],'collaMsg':_0x553483});}case F['JOIN']:return JSON['stringify']({'cmd':_0x3be9ca[_0x17dfad(0x32d)],'routeKey':_0x3be9ca[_0x17dfad(0x419)],'joinReq':_0x3be9ca[_0x17dfad(0x34c)]});case F[_0x17dfad(0x330)]:return JSON['stringify']({'cmd':_0x3be9ca[_0x17dfad(0x32d)],'routeKey':_0x3be9ca[_0x17dfad(0x419)],'leaveReq':_0x3be9ca[_0x17dfad(0x34c)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x57ea30(0x2ab)],jn=Object['getOwnPropertyDescriptor'],Bn=(_0x2e3c47,_0x2dfe3a,_0x265b72,_0x16fe15)=>{var _0x55be21=_0x57ea30;for(var _0x3859e6=_0x16fe15>0x1?void 0x0:_0x16fe15?jn(_0x2dfe3a,_0x265b72):_0x2dfe3a,_0x52c460=_0x2e3c47[_0x55be21(0x1d3)]-0x1,_0x3585a8;_0x52c460>=0x0;_0x52c460--)(_0x3585a8=_0x2e3c47[_0x52c460])&&(_0x3859e6=(_0x16fe15?_0x3585a8(_0x2dfe3a,_0x265b72,_0x3859e6):_0x3585a8(_0x3859e6))||_0x3859e6);return _0x16fe15&&_0x3859e6&&kn(_0x2dfe3a,_0x265b72,_0x3859e6),_0x3859e6;},Ue=(_0x433c69,_0x5d631a)=>(_0x20fc94,_0x39612a)=>_0x5d631a(_0x20fc94,_0x39612a,_0x433c69);const Ci=_0x7c5cb6(_0x57ea30(0x406));function Fn(_0x4d93fe,_0x2b3a3a,_0x475c33){var _0x131cbb=_0x57ea30;return _0x4d93fe+'/'+_0x2b3a3a+_0x131cbb(0x2e8)+_0x475c33+_0x131cbb(0x436);}let Et=class extends _0x232634{constructor(_0x36bf79,_0x462c2a,_0x5de746,_0x33a9a1,_0x32f1e9){var _0x48c804=_0x57ea30;super(),this[_0x48c804(0x3ec)]=_0x36bf79,this[_0x48c804(0x281)]=_0x462c2a,this[_0x48c804(0x276)]=_0x5de746,this[_0x48c804(0x26f)]=_0x33a9a1,this['_snapshotServerService']=_0x32f1e9;}[_0x57ea30(0x1ce)](_0x3e03cb){var _0x23f545=_0x57ea30;const _0x1fda63=this[_0x23f545(0x3ec)][_0x23f545(0x17b)](_0xd47339);if(!_0x1fda63)throw new Error(_0x23f545(0x2c0));const _0x177abc=_0x1fda63[_0x23f545(0x1ce)](_0x3e03cb);if(!_0x177abc)throw new Error(_0x23f545(0x1af));const _0x15694a=new _0x32c698(),_0x2d1df9=new _0x378d79();_0x15694a[_0x23f545(0x289)](_0x177abc[_0x23f545(0x3fd)][_0x23f545(0x179)](_0x52dbf4=>_0x2d1df9[_0x23f545(0x205)](_0x52dbf4))),_0x15694a[_0x23f545(0x289)](_0x3ab410(()=>_0x2d1df9[_0x23f545(0x46c)]()));const _0x4cc686=new _0x378d79();_0x15694a['add'](_0x177abc[_0x23f545(0x3bb)]['subscribe'](_0x47638e=>_0x4cc686[_0x23f545(0x205)](_0x47638e))),_0x15694a[_0x23f545(0x289)](_0x3ab410(()=>_0x4cc686['complete']()));const _0xbc15f7=new _0x378d79();_0x15694a[_0x23f545(0x289)](_0x177abc[_0x23f545(0x344)][_0x23f545(0x179)](_0x10350c=>{var _0x3023e5=_0x23f545;const _0x53aac8=$n(_0x10350c);_0xbc15f7[_0x3023e5(0x205)](_0x53aac8);})),_0x15694a[_0x23f545(0x289)](_0x3ab410(()=>_0xbc15f7[_0x23f545(0x46c)]()));let _0xe2ab19;const _0x5e1559=()=>{var _0x5c6300=_0x23f545;_0x4cc686[_0x5c6300(0x205)](new Event(_0x5c6300(0x32b))),_0x2d1df9[_0x5c6300(0x205)](new CloseEvent(_0x5c6300(0x32b))),_0xe2ab19['close']();};return _0xe2ab19={'memberID':'','close$':_0x2d1df9[_0x23f545(0x271)](),'error$':_0x4cc686['asObservable'](),'open$':_0x177abc[_0x23f545(0x2db)],'message$':_0xbc15f7['asObservable'](),'send':_0x5eb17d=>{var _0x2070e1=_0x23f545;if(_0x5eb17d['cmd']===F[_0x2070e1(0x24a)]){if(_0x5eb17d['data'][_0x2070e1(0x2a1)]===_0x50f10f[_0x2070e1(0x34e)]){this[_0x2070e1(0x2e9)](_0xe2ab19,_0x5eb17d[_0x2070e1(0x34c)])[_0x2070e1(0x268)](_0x2de131=>{var _0x59e89d=_0x2070e1;this[_0x59e89d(0x26f)][_0x59e89d(0x24b)](_0x2de131),_0x5e1559();});return;}if(_0x5eb17d[_0x2070e1(0x34c)][_0x2070e1(0x2a1)]===_0x50f10f[_0x2070e1(0x182)]){const _0xd95e7=_0x5eb17d['data'];this[_0x2070e1(0x36b)](_0xd95e7)[_0x2070e1(0x172)](_0x36bec9=>{var _0x20cc30=_0x2070e1;_0xbc15f7[_0x20cc30(0x205)]({'cmd':F[_0x20cc30(0x240)],'code':Ee['OK'],'routeKey':_0xd95e7[_0x20cc30(0x34c)][_0x20cc30(0x239)],'routeType':'','data':{'eventID':_0x50f10f[_0x20cc30(0x26c)],'data':{'changesets':_0x36bec9}}});})[_0x2070e1(0x268)](_0x315310=>{var _0x298454=_0x2070e1;this[_0x298454(0x26f)][_0x298454(0x24b)](_0x315310),_0x5e1559();});return;}}_0x177abc[_0x2070e1(0x36c)](Hn(_0x5eb17d));},'close':()=>{var _0x44e5bb=_0x23f545;_0x177abc['close'](),_0x15694a[_0x44e5bb(0x214)]();}},_0xe2ab19;}async[_0x57ea30(0x2e9)](_0x219817,_0x1b31ff){var _0x4c05af=_0x57ea30,_0x345516,_0x345b3e;const {unitType:_0x27979b,unitID:_0x114953,changeset:_0x109f76}=_0x1b31ff[_0x4c05af(0x34c)],_0xa6908d={'unitID':_0x114953,'memberID':_0x219817[_0x4c05af(0x19c)],'type':_0x27979b,'changeset':_0x2432a9(_0x109f76)},_0x59a1a0=this['_configService'][_0x4c05af(0x341)](Un),_0x21237c=this['_configService'][_0x4c05af(0x341)](q),_0x1a3d2e=Fn((_0x345b3e=(_0x345516=_0x21237c==null?void 0x0:_0x21237c[_0x4c05af(0x3b3)])!=null?_0x345516:_0x59a1a0)!=null?_0x345b3e:An,_0x27979b,_0x114953);try{await this[_0x4c05af(0x281)][_0x4c05af(0x405)](_0x1a3d2e,{'body':_0xa6908d});}catch(_0x50a5cf){throw this['_logService'][_0x4c05af(0x24b)](_0x4c05af(0x427),'submit\x20changeset\x20error!'),_0x50a5cf;}}async[_0x57ea30(0x36b)](_0x11e01d){var _0x147087=_0x57ea30;const {unitID:_0x4ec36b,from:_0x59641d,to:_0x52ce1a,unitType:_0x2112bc}=_0x11e01d[_0x147087(0x34c)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4ec36b,'type':_0x2112bc,'from':_0x59641d,'to':_0x52ce1a}))[_0x147087(0x36d)];}};Et=Bn([Ue(0x0,_0x121c70(_0x49358f)),Ue(0x1,_0x121c70(_0x457bbb)),Ue(0x2,_0x5a8f33),Ue(0x3,_0x410aea),Ue(0x4,_0x1a1ac3)],Et);const Vn=_0x57ea30(0x35b);function Gn(_0x13df05){var _0xc5f1aa=_0x57ea30;return JSON[_0xc5f1aa(0x3ea)](_0x13df05)[_0xc5f1aa(0x1d3)];}class Ri{constructor(){var _0x1bcd8b=_0x57ea30;N(this,_0x1bcd8b(0x45a),new _0x378d79()),N(this,_0x1bcd8b(0x28a),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0x43e084){var _0x3556b2=_0x57ea30;this[_0x3556b2(0x45a)][_0x3556b2(0x205)](_0x43e084);}}var Wn=Object[_0x57ea30(0x2ab)],Kn=Object[_0x57ea30(0x457)],Yn=(_0x6ea946,_0x2ef6f1,_0xa13db7,_0x530270)=>{var _0x42a6fa=_0x57ea30;for(var _0x23b313=_0x530270>0x1?void 0x0:_0x530270?Kn(_0x2ef6f1,_0xa13db7):_0x2ef6f1,_0x441379=_0x6ea946[_0x42a6fa(0x1d3)]-0x1,_0x239176;_0x441379>=0x0;_0x441379--)(_0x239176=_0x6ea946[_0x441379])&&(_0x23b313=(_0x530270?_0x239176(_0x2ef6f1,_0xa13db7,_0x23b313):_0x239176(_0x23b313))||_0x23b313);return _0x530270&&_0x23b313&&Wn(_0x2ef6f1,_0xa13db7,_0x23b313),_0x23b313;},Kt=(_0x5e1035,_0x14a8cc)=>(_0x3dda4d,_0x46c583)=>_0x14a8cc(_0x3dda4d,_0x46c583,_0x5e1035);let xe=class extends _0x232634{constructor(_0x2c32eb,_0x554bc8){var _0x1cb8ff=_0x57ea30;super(),N(this,_0x1cb8ff(0x25a),new Map()),N(this,_0x1cb8ff(0x365),new _0x378d79()),(this[_0x1cb8ff(0x46f)]=_0x2c32eb,this[_0x1cb8ff(0x272)]=_0x554bc8,this[_0x1cb8ff(0x2fd)](_0x20f86f(this[_0x1cb8ff(0x46f)][_0x1cb8ff(0x383)](_0x33b7bd['UNIVER_SHEET'])['pipe'](_0x18d76c(_0x2433e8=>_0x2433e8[_0x1cb8ff(0x377)]())),this[_0x1cb8ff(0x46f)]['getTypeOfUnitDisposed$'](_0x33b7bd[_0x1cb8ff(0x44d)])[_0x1cb8ff(0x197)](_0x18d76c(_0xf65cd3=>_0xf65cd3[_0x1cb8ff(0x377)]())),this[_0x1cb8ff(0x46f)][_0x1cb8ff(0x383)](_0x33b7bd[_0x1cb8ff(0x34a)])[_0x1cb8ff(0x197)](_0x18d76c(_0x455c11=>_0x455c11['getUnitId']())))[_0x1cb8ff(0x179)](_0x9c41dd=>this[_0x1cb8ff(0x1f0)](_0x9c41dd))));}[_0x57ea30(0x340)](_0x34a282){var _0x3b67ff=_0x57ea30;return this[_0x3b67ff(0x25a)]['has'](_0x34a282)?_0x36584b(this[_0x3b67ff(0x25a)][_0x3b67ff(0x17b)](_0x34a282)):this['_roomCreated$'][_0x3b67ff(0x197)](_0x18d76c(_0x2bf615=>{var _0x1f4d4b=_0x3b67ff;if(_0x2bf615===_0x34a282)return this[_0x1f4d4b(0x25a)][_0x1f4d4b(0x17b)](_0x2bf615);}));}[_0x57ea30(0x213)](_0x232bce){var _0x3e8cce=_0x57ea30;this[_0x3e8cce(0x272)][_0x3e8cce(0x213)](_0x232bce);}['getCurrentUser'](){var _0x1dbe84=_0x57ea30;return this['_userManagerService'][_0x1dbe84(0x2ba)]();}[_0x57ea30(0x425)](_0xf9abe8,_0x4f98e1){var _0xc36f60=_0x57ea30;let _0x4f432a=this[_0xc36f60(0x25a)][_0xc36f60(0x17b)](_0xf9abe8);_0x4f432a||(_0x4f432a=new qn(),this[_0xc36f60(0x25a)][_0xc36f60(0x44b)](_0xf9abe8,_0x4f432a),this[_0xc36f60(0x365)][_0xc36f60(0x205)](_0xf9abe8)),_0x4f432a[_0xc36f60(0x425)](_0x4f98e1);}[_0x57ea30(0x270)](_0xb078c,_0x595210){var _0x4f1109=_0x57ea30;const _0x50369e=this[_0x4f1109(0x25a)][_0x4f1109(0x17b)](_0xb078c);_0x50369e&&_0x50369e[_0x4f1109(0x270)](_0x595210);}[_0x57ea30(0x356)](_0x21f8c5){var _0x59b3cc=_0x57ea30;return this[_0x59b3cc(0x25a)]['get'](_0x21f8c5);}[_0x57ea30(0x2dd)](_0x5e4108,_0x441753){var _0x4db69e=_0x57ea30;const _0x5f3c1=this[_0x4db69e(0x25a)]['get'](_0x5e4108);if(_0x5f3c1)return _0x5f3c1[_0x4db69e(0x2dd)](_0x441753);}[_0x57ea30(0x1f0)](_0x39ed7c){var _0x4ef4b8=_0x57ea30;const _0x3021f6=this[_0x4ef4b8(0x25a)]['get'](_0x39ed7c);_0x3021f6&&(_0x3021f6[_0x4ef4b8(0x214)](),this[_0x4ef4b8(0x25a)][_0x4ef4b8(0x2d3)](_0x39ed7c));}[_0x57ea30(0x214)](){var _0x54d05a=_0x57ea30;this['_roomMembers']['forEach'](_0x345bd6=>_0x345bd6['dispose']()),this[_0x54d05a(0x25a)][_0x54d05a(0x2fb)](),this[_0x54d05a(0x365)][_0x54d05a(0x46c)]();}};xe=Yn([Kt(0x0,_0x3b1049),Kt(0x1,_0x121c70(_0x38aba0))],xe);class qn extends _0x232634{constructor(){var _0x47c598=_0x57ea30;super(...arguments),N(this,_0x47c598(0x1e8),new Map()),N(this,'_members$',new _0x21aea0(this[_0x47c598(0x1e8)])),N(this,_0x47c598(0x2b9),this[_0x47c598(0x21e)][_0x47c598(0x271)]());}['dispose'](){var _0x2f89f0=_0x57ea30;this[_0x2f89f0(0x1e8)]['clear']();}[_0x57ea30(0x425)](_0xe00339){var _0x2e9d3c=_0x57ea30;this[_0x2e9d3c(0x1e8)]['set'](_0xe00339[_0x2e9d3c(0x19c)],_0xe00339),this[_0x2e9d3c(0x309)]();}[_0x57ea30(0x270)](_0x4c5de7){var _0xc3817d=_0x57ea30;this[_0xc3817d(0x1e8)][_0xc3817d(0x2d3)](_0x4c5de7);}[_0x57ea30(0x2dd)](_0x53800c){var _0x4366e0=_0x57ea30;return this[_0x4366e0(0x1e8)][_0x4366e0(0x17b)](_0x53800c);}[_0x57ea30(0x16c)](){var _0x29f1ac=_0x57ea30;return Array[_0x29f1ac(0x1de)](this[_0x29f1ac(0x1e8)][_0x29f1ac(0x181)]());}[_0x57ea30(0x309)](){var _0x52f722=_0x57ea30;this['_members$'][_0x52f722(0x205)](this[_0x52f722(0x1e8)]);}}var zn=Object['defineProperty'],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x44b929,_0x2d3282,_0x38fa4c,_0x440c66)=>{var _0x23e44e=_0x57ea30;for(var _0x12a2ce=_0x440c66>0x1?void 0x0:_0x440c66?Jn(_0x2d3282,_0x38fa4c):_0x2d3282,_0x45a72f=_0x44b929[_0x23e44e(0x1d3)]-0x1,_0x539d18;_0x45a72f>=0x0;_0x45a72f--)(_0x539d18=_0x44b929[_0x45a72f])&&(_0x12a2ce=(_0x440c66?_0x539d18(_0x2d3282,_0x38fa4c,_0x12a2ce):_0x539d18(_0x12a2ce))||_0x12a2ce);return _0x440c66&&_0x12a2ce&&zn(_0x2d3282,_0x38fa4c,_0x12a2ce),_0x12a2ce;},me=(_0x8011da,_0x5468a0)=>(_0x50032c,_0x7e1eb1)=>_0x5468a0(_0x50032c,_0x7e1eb1,_0x8011da),Te=(_0x3f812f=>(_0x3f812f[_0x3f812f[_0x57ea30(0x3a4)]=0x0]=_0x57ea30(0x3a4),_0x3f812f[_0x3f812f[_0x57ea30(0x3a0)]=0x1]=_0x57ea30(0x3a0),_0x3f812f[_0x3f812f[_0x57ea30(0x349)]=0x2]=_0x57ea30(0x349),_0x3f812f[_0x3f812f[_0x57ea30(0x449)]=0x3]=_0x57ea30(0x449),_0x3f812f))(Te||{});const Yt={[Ee[_0x57ea30(0x3ba)]]:_0x57ea30(0x1bb),[Ee[_0x57ea30(0x224)]]:_0x57ea30(0x266),[Ee[_0x57ea30(0x1ca)]]:_0x57ea30(0x18a),[Ee[_0x57ea30(0x227)]]:_0x57ea30(0x283),[Ee[_0x57ea30(0x1f3)]]:_0x57ea30(0x3e6)};let It=class extends _0x577131{constructor(_0x159b27,_0x59f52e,_0x4bca88,_0x5820ad,_0x35bd13,_0x580cab,_0x65e6a6,_0x3f515,_0x1bc8de){var _0x50074c=_0x57ea30;super(),N(this,_0x50074c(0x41d),new _0x21aea0(0x0)),N(this,'sessionStatus$',this[_0x50074c(0x41d)][_0x50074c(0x271)]()),N(this,_0x50074c(0x291),new _0x378d79()),N(this,_0x50074c(0x2b3),this['_event$'][_0x50074c(0x271)]()),N(this,_0x50074c(0x39c)),N(this,_0x50074c(0x2a8)),N(this,'_collaborationTimeoutTimer'),N(this,_0x50074c(0x1d8),!0x1),N(this,_0x50074c(0x348),null),(this[_0x50074c(0x2ea)]=_0x159b27,this[_0x50074c(0x26f)]=_0x4bca88,this[_0x50074c(0x276)]=_0x5820ad,this[_0x50074c(0x3d3)]=_0x35bd13,this[_0x50074c(0x293)]=_0x580cab,this['_commentService']=_0x65e6a6,this[_0x50074c(0x41b)]=_0x3f515,this[_0x50074c(0x251)]=_0x1bc8de,this[_0x50074c(0x1d8)]=!!this[_0x50074c(0x251)],_0x59f52e[_0x50074c(0x197)](_0x306370(this[_0x50074c(0x1c4)]))[_0x50074c(0x179)](_0x60ca1b=>{var _0x28b85c=_0x50074c,_0x3491b6;typeof _0x60ca1b>'u'||(this[_0x28b85c(0x39c)]=_0x60ca1b,_0x60ca1b?(this[_0x28b85c(0x21c)](_0x60ca1b),this[_0x28b85c(0x2a8)]=_0x60ca1b[_0x28b85c(0x344)]['subscribe'](_0x1e13ca=>{var _0x4f201d=_0x28b85c;_0x1e13ca[_0x4f201d(0x419)]===this[_0x4f201d(0x2ea)]&&this[_0x4f201d(0x2e1)](_0x1e13ca);})):(this[_0x28b85c(0x29a)](),this[_0x28b85c(0x41d)][_0x28b85c(0x205)](0x2),(_0x3491b6=this['_socketMessageSubscription'])==null||_0x3491b6[_0x28b85c(0x46b)](),this[_0x28b85c(0x2a8)]=null));}));}get[_0x57ea30(0x28d)](){var _0x43e942=_0x57ea30;return this[_0x43e942(0x41d)]['getValue']();}['getMemberID'](){var _0x2f6bfb=_0x57ea30,_0x3cb0a6,_0x361eab;return(_0x361eab=(_0x3cb0a6=this[_0x2f6bfb(0x39c)])==null?void 0x0:_0x3cb0a6[_0x2f6bfb(0x19c)])!=null?_0x361eab:null;}[_0x57ea30(0x214)](){var _0x2b1cc3=_0x57ea30;super[_0x2b1cc3(0x214)](),this[_0x2b1cc3(0x1c4)][_0x2b1cc3(0x205)](),this[_0x2b1cc3(0x1c4)]['complete']();}[_0x57ea30(0x312)](){var _0x503ad6=_0x57ea30,_0x28cc6b,_0x354ba7;this[_0x503ad6(0x29a)](),(_0x28cc6b=this[_0x503ad6(0x39c)])==null||_0x28cc6b[_0x503ad6(0x36c)]({'cmd':F[_0x503ad6(0x330)],'data':{'roomID':this[_0x503ad6(0x2ea)]}}),(_0x354ba7=this['_socket'])==null||_0x354ba7['close'](),this[_0x503ad6(0x291)]['complete'](),this[_0x503ad6(0x41d)][_0x503ad6(0x46c)](),this[_0x503ad6(0x214)]();}[_0x57ea30(0x2e1)](_0x48a8bd){var _0xf29b11=_0x57ea30;_0x48a8bd[_0xf29b11(0x32d)]===F[_0xf29b11(0x3cc)]?this[_0xf29b11(0x3b6)](_0x48a8bd):_0x48a8bd['cmd']===F[_0xf29b11(0x240)]&&this[_0xf29b11(0x211)](_0x48a8bd);}[_0x57ea30(0x21c)](_0x4bfedd){var _0x316625=_0x57ea30;this[_0x316625(0x41d)][_0x316625(0x205)](0x1),_0x4bfedd[_0x316625(0x36c)]({'cmd':F[_0x316625(0x3cc)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x316625(0x2ea)]}]}});}['_onJoinRoomEvent'](_0x1d3c22){var _0x509478=_0x57ea30,_0x5b9c6b;if(_0x1d3c22[_0x509478(0x1d2)]in Yt){this[_0x509478(0x41b)][_0x509478(0x21a)]({'id':se[_0x509478(0x3bf)],'data':Yt[_0x1d3c22['code']]}),this[_0x509478(0x41d)]['next'](0x2);return;}this['_sessionStatus$'][_0x509478(0x205)](0x3);const _0x14c1e0=(_0x5b9c6b=_0x1d3c22['data'][_0x509478(0x463)][this[_0x509478(0x2ea)]])==null?void 0x0:_0x5b9c6b[_0x509478(0x403)];_0x14c1e0&&_0x14c1e0[_0x509478(0x337)](_0x538374=>this[_0x509478(0x293)][_0x509478(0x425)](this[_0x509478(0x2ea)],_0x538374));}[_0x57ea30(0x211)](_0x389bee){var _0x2b1c3e=_0x57ea30;try{const _0x46bbd7=_0x389bee[_0x2b1c3e(0x34c)];switch(_0x46bbd7[_0x2b1c3e(0x2a1)]){case _0x50f10f[_0x2b1c3e(0x2b7)]:this[_0x2b1c3e(0x3d8)](_0x46bbd7),this[_0x2b1c3e(0x291)][_0x2b1c3e(0x205)](_0x46bbd7);break;case _0x50f10f[_0x2b1c3e(0x470)]:this[_0x2b1c3e(0x2f7)](_0x46bbd7),this['_event$'][_0x2b1c3e(0x205)](_0x46bbd7);break;case _0x50f10f[_0x2b1c3e(0x458)]:case _0x50f10f[_0x2b1c3e(0x30b)]:this[_0x2b1c3e(0x388)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2b1c3e(0x291)]['next'](_0x46bbd7);break;case _0x50f10f[_0x2b1c3e(0x451)]:this['_logService'][_0x2b1c3e(0x24b)](_0x2b1c3e(0x30a)+JSON[_0x2b1c3e(0x3ea)](_0x46bbd7)),this[_0x2b1c3e(0x291)][_0x2b1c3e(0x205)](_0x46bbd7);break;case _0x50f10f[_0x2b1c3e(0x31d)]:this[_0x2b1c3e(0x3b1)][_0x2b1c3e(0x2f6)](_0x46bbd7[_0x2b1c3e(0x34c)]),this[_0x2b1c3e(0x291)][_0x2b1c3e(0x205)](_0x46bbd7);break;default:this[_0x2b1c3e(0x291)][_0x2b1c3e(0x205)](_0x46bbd7);}}catch(_0x389e23){this['_logService'][_0x2b1c3e(0x24b)](_0x389e23,_0x389bee);}}[_0x57ea30(0x3d8)](_0x5095c0){var _0x56d74a=_0x57ea30;this['_memberService'][_0x56d74a(0x425)](this['_unitID'],_0x5095c0[_0x56d74a(0x34c)]);}[_0x57ea30(0x2f7)](_0x255deb){var _0xc826e7=_0x57ea30;this[_0xc826e7(0x293)][_0xc826e7(0x270)](this[_0xc826e7(0x2ea)],_0x255deb['data'][_0xc826e7(0x19c)]);}async['send'](_0x5b6aaa,_0x376aae){var _0x2a15f3=_0x57ea30;if(this['sessionStatus']!==0x3||!this[_0x2a15f3(0x39c)])throw new Error(_0x2a15f3(0x184));try{_0x5b6aaa[_0x2a15f3(0x2a1)]===_0x50f10f[_0x2a15f3(0x34e)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x2a15f3(0x460)](_0x5b6aaa)),this[_0x2a15f3(0x39c)]['send']({'cmd':F['INGEST'],'routeKey':_0x376aae,'routeType':'','data':_0x5b6aaa});}catch(_0x1d2bd5){this[_0x2a15f3(0x26f)]['error'](_0x1d2bd5);}}[_0x57ea30(0x3dd)](){var _0x173c53=_0x57ea30,_0xb4177a;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x19f40c=_0x30c3;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x19f40c(0x21a)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0xb4177a=this[_0x173c53(0x276)][_0x173c53(0x341)](Si))!=null?_0xb4177a:Ei);}[_0x57ea30(0x410)](){var _0x406ccc=_0x57ea30;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x406ccc(0x32c)]),this[_0x406ccc(0x32c)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x178a10){var _0x631044=_0x57ea30;if(!this[_0x631044(0x1d8)])return;const {data:_0x263f24}=_0x178a10,{unitID:_0x4edc09,changeset:_0x532ece}=_0x263f24,{mutations:_0x49d848,type:_0x211747}=_0x532ece;this['_telemetryInfo']={'unitId':_0x4edc09,'type':_0x211747,'startTime':performance[_0x631044(0x362)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x49d848)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x2f8970=_0x57ea30;if(this[_0x2f8970(0x1d8)]){if(!this[_0x2f8970(0x348)]){this['_logService'][_0x2f8970(0x24b)](_0x2f8970(0x427),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2f8970(0x348)][_0x2f8970(0x38b)]=performance[_0x2f8970(0x362)](),this[_0x2f8970(0x348)]['duration']=this[_0x2f8970(0x348)]['stopTime']-this['_telemetryInfo'][_0x2f8970(0x202)],this[_0x2f8970(0x251)][_0x2f8970(0x1d9)](Vn,this[_0x2f8970(0x348)]),this[_0x2f8970(0x348)]=null;}}[_0x57ea30(0x29a)](){var _0x439982=_0x57ea30;this[_0x439982(0x348)]=null;}};It=Xn([me(0x2,_0x410aea),me(0x3,_0x5a8f33),me(0x4,_0x121c70(_0x5931b1)),me(0x5,_0x121c70(xe)),me(0x6,_0x121c70(Ri)),me(0x7,_0x121c70(pe)),me(0x8,_0x1d8841(_0xb3d731))],It);var Zn=Object[_0x57ea30(0x2ab)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x5300f3,_0x34045a,_0x4da03f,_0x18fffc)=>{var _0x2581e3=_0x57ea30;for(var _0x2dfb16=_0x18fffc>0x1?void 0x0:_0x18fffc?Qn(_0x34045a,_0x4da03f):_0x34045a,_0x34be21=_0x5300f3[_0x2581e3(0x1d3)]-0x1,_0x3fe2b8;_0x34be21>=0x0;_0x34be21--)(_0x3fe2b8=_0x5300f3[_0x34be21])&&(_0x2dfb16=(_0x18fffc?_0x3fe2b8(_0x34045a,_0x4da03f,_0x2dfb16):_0x3fe2b8(_0x2dfb16))||_0x2dfb16);return _0x18fffc&&_0x2dfb16&&Zn(_0x34045a,_0x4da03f,_0x2dfb16),_0x2dfb16;},ge=(_0x4dc98b,_0x1b7d88)=>(_0x33bd69,_0x23c828)=>_0x1b7d88(_0x33bd69,_0x23c828,_0x4dc98b);let Le=class extends _0x232634{constructor(_0x1b368c,_0x159c82,_0x14b9fb,_0x539fca,_0x5078c0,_0x366ff0,_0x1df2ac){var _0x4da4e7=_0x57ea30;super(),N(this,'_socket$',new _0x21aea0(void 0x0)),N(this,'socket$',this[_0x4da4e7(0x3be)][_0x4da4e7(0x271)]()),N(this,_0x4da4e7(0x231),null),N(this,_0x4da4e7(0x1d4),new Map()),N(this,'_status$',new _0x21aea0(Te[_0x4da4e7(0x3a4)])),N(this,_0x4da4e7(0x45d),this[_0x4da4e7(0x2f3)][_0x4da4e7(0x271)]()),N(this,_0x4da4e7(0x16f),!0x1),N(this,_0x4da4e7(0x2bb)),N(this,_0x4da4e7(0x358),0x0),N(this,_0x4da4e7(0x2c8)),N(this,_0x4da4e7(0x3ee)),(this[_0x4da4e7(0x3ec)]=_0x1b368c,this[_0x4da4e7(0x26f)]=_0x159c82,this[_0x4da4e7(0x276)]=_0x14b9fb,this[_0x4da4e7(0x22c)]=_0x539fca,this[_0x4da4e7(0x2ec)]=_0x5078c0,this[_0x4da4e7(0x41b)]=_0x366ff0,this['_networkConditionService']=_0x1df2ac,this[_0x4da4e7(0x355)]());}get[_0x57ea30(0x39c)](){var _0x35638b=_0x57ea30;return this[_0x35638b(0x3be)][_0x35638b(0x236)]();}['_listenToNetworkCondition'](){var _0x399f90=_0x57ea30;this[_0x399f90(0x301)]&&this[_0x399f90(0x2fd)](this['_networkConditionService']['online$'][_0x399f90(0x179)](_0x44aa20=>{var _0x4fca73=_0x399f90;_0x44aa20&&!this[_0x4fca73(0x39c)]&&this[_0x4fca73(0x3f0)](),_0x44aa20||this[_0x4fca73(0x2bf)]();}));}['dispose'](){var _0x508c4c=_0x57ea30;super[_0x508c4c(0x214)](),this[_0x508c4c(0x1d4)][_0x508c4c(0x337)](_0x8f93eb=>_0x8f93eb[_0x508c4c(0x214)]()),this[_0x508c4c(0x1d4)][_0x508c4c(0x2fb)](),this[_0x508c4c(0x2f3)]['complete']();}async['requireSession'](_0x400b62){var _0x1ae96b=_0x57ea30;if(this[_0x1ae96b(0x1d4)][_0x1ae96b(0x41c)](_0x400b62))return this[_0x1ae96b(0x1d4)][_0x1ae96b(0x17b)](_0x400b62);this[_0x1ae96b(0x3a5)]();const _0x348862=this['_injector'][_0x1ae96b(0x298)](It,_0x400b62,this['_socket$'][_0x1ae96b(0x271)]());return this[_0x1ae96b(0x1d4)][_0x1ae96b(0x44b)](_0x400b62,_0x348862),_0x348862;}[_0x57ea30(0x194)](_0x422a4f){var _0x2fbf1a=_0x57ea30,_0x571c47;const _0x5d289c=this[_0x2fbf1a(0x1d4)][_0x2fbf1a(0x17b)](_0x422a4f);_0x5d289c&&(this[_0x2fbf1a(0x1d4)][_0x2fbf1a(0x2d3)](_0x422a4f),_0x5d289c['close']()),this[_0x2fbf1a(0x1d4)][_0x2fbf1a(0x192)]||(_0x571c47=this[_0x2fbf1a(0x39c)])==null||_0x571c47['close']();}[_0x57ea30(0x3f0)](){var _0x23f018=_0x57ea30;this[_0x23f018(0x358)]=0x0,this[_0x23f018(0x2bb)]!=null&&(clearTimeout(this[_0x23f018(0x2bb)]),this[_0x23f018(0x2bb)]=null),this['_tryReconnect']();}async[_0x57ea30(0x1c7)](){var _0x2efa27=_0x57ea30,_0x56ba7b,_0x4f4cf9,_0x23fc36;const _0x315480=this[_0x2efa27(0x276)][_0x2efa27(0x341)](q),_0x1e1ab4=(_0x56ba7b=_0x315480==null?void 0x0:_0x315480[_0x2efa27(0x3b5)])!=null?_0x56ba7b:On;return(_0x23fc36=(_0x4f4cf9=(await this['_httpService'][_0x2efa27(0x17b)](_0x1e1ab4,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x4f4cf9['ticket'])!=null?_0x23fc36:'';}[_0x57ea30(0x3d4)](_0x412f34){var _0x2c4924=_0x57ea30,_0x249668,_0x3b68bf;const _0x572096=this[_0x2c4924(0x276)]['getConfig'](Rn),_0x10e6d9=this[_0x2c4924(0x276)][_0x2c4924(0x341)](q),_0x4d3251=(_0x3b68bf=(_0x249668=_0x10e6d9==null?void 0x0:_0x10e6d9[_0x2c4924(0x259)])!=null?_0x249668:_0x572096)!=null?_0x3b68bf:bn,_0x158880=typeof window>'u'?new URL(_0x4d3251):new URL(_0x4d3251,window[_0x2c4924(0x198)][_0x2c4924(0x29d)]);_0x158880[_0x2c4924(0x1fe)][_0x2c4924(0x44b)](_0x2c4924(0x1e3),_0x412f34);const _0x437794=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2c4924(0x407)]);return _0x437794[_0x2c4924(0x17b)](_0x2c4924(0x307))&&_0x158880[_0x2c4924(0x1fe)][_0x2c4924(0x44b)]('runId',_0x437794['get'](_0x2c4924(0x307))),_0x158880['toString']();}async[_0x57ea30(0x188)](){var _0x93ba8f=_0x57ea30;const _0xa1c8a=await this['_getSessionTicket'](),_0x4733a2=this[_0x93ba8f(0x3d4)](_0xa1c8a),_0x5e3d08=this['_socketService'][_0x93ba8f(0x1ce)](_0x4733a2);return this[_0x93ba8f(0x231)]=_0x5e3d08,_0x5e3d08;}async[_0x57ea30(0x3a5)](){var _0x16f7b1=_0x57ea30,_0xe1dd10,_0x184892;try{const _0x23d460=(_0x184892=(_0xe1dd10=this['_socket'])!=null?_0xe1dd10:this[_0x16f7b1(0x231)])!=null?_0x184892:await this[_0x16f7b1(0x188)]();if(_0x23d460){const _0x29d599=_0x23d460['send'];_0x23d460[_0x16f7b1(0x36c)]=_0xaa0933=>(this['_rescheduleHeartbeat'](),_0x29d599[_0x16f7b1(0x3a8)](_0x23d460,[_0xaa0933])),_0x23d460[_0x16f7b1(0x344)][_0x16f7b1(0x179)](_0x10d7b4=>this['_onMessage'](_0x23d460,_0x10d7b4)),_0x23d460['error$']['pipe'](_0x1ef3e9(0x1))['subscribe'](_0x5813cc=>this[_0x16f7b1(0x26f)][_0x16f7b1(0x24b)](_0x16f7b1(0x417),_0x5813cc)),_0x23d460[_0x16f7b1(0x2db)][_0x16f7b1(0x197)](_0x1ef3e9(0x1))['subscribe'](()=>{var _0x57b90b=_0x16f7b1;this[_0x57b90b(0x2a6)](_0x23d460);}),_0x23d460['close$'][_0x16f7b1(0x197)](_0x1ef3e9(0x1))['subscribe'](_0x7d7429=>{var _0x486c28=_0x16f7b1;this['_logService'][_0x486c28(0x243)](_0x486c28(0x176),_0x486c28(0x1c0),_0x7d7429),this[_0x486c28(0x2a4)]();});}}catch(_0x23d36c){this[_0x16f7b1(0x26f)][_0x16f7b1(0x24b)](_0x23d36c),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x2239c5){var _0x2b1ea0=_0x57ea30;this[_0x2b1ea0(0x26f)]['debug']('[CollaborationSessionService]','socket\x20open.'),_0x2239c5['send']({'cmd':F[_0x2b1ea0(0x3d9)]}),this[_0x2b1ea0(0x2d2)]();}[_0x57ea30(0x2bf)](){var _0x49dd8a=_0x57ea30;this[_0x49dd8a(0x16f)]=!0x1,this[_0x49dd8a(0x231)]=null,this[_0x49dd8a(0x2f3)][_0x49dd8a(0x205)](Te['OFFLINE']),this[_0x49dd8a(0x3be)][_0x49dd8a(0x205)](null),this['_clearTimeoutTimer'](),this[_0x49dd8a(0x428)]();}[_0x57ea30(0x2a4)](){var _0x4edab8=_0x57ea30,_0x1052d8;this[_0x4edab8(0x2bf)](),this[_0x4edab8(0x358)]<((_0x1052d8=this[_0x4edab8(0x276)]['getConfig'](Pn))!=null?_0x1052d8:wn)?(this[_0x4edab8(0x41b)]['emitEvent']({'id':se['SOCKET_FAILED_RETRY']}),this[_0x4edab8(0x238)]()):this[_0x4edab8(0x41b)][_0x4edab8(0x21a)]({'id':se['SOCKET_FAILED']});}[_0x57ea30(0x238)](){var _0x57f174=_0x57ea30,_0xf37c93;const _0x49f7d3=this[_0x57f174(0x358)],_0x313551=this['_configService'][_0x57f174(0x341)](q),_0x151185=_0x49f7d3===0x0?0x0:((_0xf37c93=_0x313551==null?void 0x0:_0x313551[_0x57f174(0x282)])!=null?_0xf37c93:Dn)*0x2**_0x49f7d3;this[_0x57f174(0x2bb)]=setTimeout(()=>{var _0x459c94=_0x57f174;clearTimeout(this[_0x459c94(0x2bb)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x151185),this[_0x57f174(0x358)]+=0x1;}['_onMessage'](_0x439c52,_0x3a8218){var _0x44773b=_0x57ea30;const {cmd:_0x43f920}=_0x3a8218;_0x43f920===F[_0x44773b(0x3d9)]&&!this[_0x44773b(0x16f)]&&(_0x439c52[_0x44773b(0x19c)]=_0x3a8218[_0x44773b(0x34c)]['memberID'],this['_socket$'][_0x44773b(0x205)](_0x439c52),this[_0x44773b(0x2f3)]['next'](Te[_0x44773b(0x449)]),this[_0x44773b(0x16f)]=!0x0,this[_0x44773b(0x231)]=null),_0x43f920===F['HEARTBEAT']&&this[_0x44773b(0x29e)](),this[_0x44773b(0x2d2)]();}[_0x57ea30(0x2d2)](){var _0x43f7bb=_0x57ea30,_0x432b0c;this['_clearHeartbeatTimer'](),this[_0x43f7bb(0x2c8)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x432b0c=this[_0x43f7bb(0x276)]['getConfig'](yn))!=null?_0x432b0c:Nn);}[_0x57ea30(0x212)](){var _0x1e64a6=_0x57ea30;this[_0x1e64a6(0x39c)]['send']({'cmd':F[_0x1e64a6(0x30e)]}),this['_waitForHeartbeatResponse']();}[_0x57ea30(0x1d1)](){var _0x3da2f3=_0x57ea30,_0x264142;this[_0x3da2f3(0x3ee)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x264142=this[_0x3da2f3(0x276)]['getConfig'](Si))!=null?_0x264142:Ei);}[_0x57ea30(0x428)](){var _0x42925a=_0x57ea30;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x42925a(0x2c8)]=null);}['_clearTimeoutTimer'](){var _0x4e8f54=_0x57ea30;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x4e8f54(0x3ee)]),this[_0x4e8f54(0x3ee)]=null);}};Le=er([ge(0x0,_0x121c70(_0x49358f)),ge(0x1,_0x410aea),ge(0x2,_0x5a8f33),ge(0x3,Ci),ge(0x4,_0x121c70(_0x457bbb)),ge(0x5,_0x121c70(pe)),ge(0x6,_0x1d8841(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x57ea30(0x1d7)]((n+0x100)[_0x57ea30(0x416)](0x10)[_0x57ea30(0x1b1)](0x1));function tr(_0x311b7b,_0x352ab7=0x0){var _0x372115=_0x57ea30;return(V[_0x311b7b[_0x352ab7+0x0]]+V[_0x311b7b[_0x352ab7+0x1]]+V[_0x311b7b[_0x352ab7+0x2]]+V[_0x311b7b[_0x352ab7+0x3]]+'-'+V[_0x311b7b[_0x352ab7+0x4]]+V[_0x311b7b[_0x352ab7+0x5]]+'-'+V[_0x311b7b[_0x352ab7+0x6]]+V[_0x311b7b[_0x352ab7+0x7]]+'-'+V[_0x311b7b[_0x352ab7+0x8]]+V[_0x311b7b[_0x352ab7+0x9]]+'-'+V[_0x311b7b[_0x352ab7+0xa]]+V[_0x311b7b[_0x352ab7+0xb]]+V[_0x311b7b[_0x352ab7+0xc]]+V[_0x311b7b[_0x352ab7+0xd]]+V[_0x311b7b[_0x352ab7+0xe]]+V[_0x311b7b[_0x352ab7+0xf]])[_0x372115(0x1a9)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x281126=_0x57ea30;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x281126(0x22b));ut=crypto['getRandomValues'][_0x281126(0x44e)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x57ea30(0x37f)]&&crypto[_0x57ea30(0x37f)][_0x57ea30(0x44e)](crypto),qt={'randomUUID':rr};function sr(_0x1a3fc8,_0x402a61,_0x382188){var _0x340824=_0x57ea30,_0x141b11,_0x103183,_0x11099f;if(qt[_0x340824(0x37f)]&&!_0x1a3fc8)return qt['randomUUID']();_0x1a3fc8=_0x1a3fc8||{};const _0x27541e=(_0x11099f=(_0x103183=_0x1a3fc8[_0x340824(0x32f)])!=null?_0x103183:(_0x141b11=_0x1a3fc8[_0x340824(0x26a)])==null?void 0x0:_0x141b11[_0x340824(0x209)](_0x1a3fc8))!=null?_0x11099f:nr();if(_0x27541e[_0x340824(0x1d3)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x27541e[0x6]=_0x27541e[0x6]&0xf|0x40,_0x27541e[0x8]=_0x27541e[0x8]&0x3f|0x80,tr(_0x27541e);}const J=_0x7c5cb6(_0x57ea30(0x295));function so(_0x3f7427){var _0x38dd98=_0x57ea30;return _0x38dd98(0x3d2)+_0x3f7427;}var or=Object[_0x57ea30(0x2ab)],ar=Object[_0x57ea30(0x457)],cr=(_0x27d356,_0x42c7bd,_0x206043,_0x36ad10)=>{var _0x998c69=_0x57ea30;for(var _0x941f80=_0x36ad10>0x1?void 0x0:_0x36ad10?ar(_0x42c7bd,_0x206043):_0x42c7bd,_0x24c3bb=_0x27d356[_0x998c69(0x1d3)]-0x1,_0x19cb87;_0x24c3bb>=0x0;_0x24c3bb--)(_0x19cb87=_0x27d356[_0x24c3bb])&&(_0x941f80=(_0x36ad10?_0x19cb87(_0x42c7bd,_0x206043,_0x941f80):_0x19cb87(_0x941f80))||_0x941f80);return _0x36ad10&&_0x941f80&&or(_0x42c7bd,_0x206043,_0x941f80),_0x941f80;},dt=(_0x4b4ad6,_0x55ba3c)=>(_0x3aa60e,_0x5b6e5d)=>_0x55ba3c(_0x3aa60e,_0x5b6e5d,_0x4b4ad6);function hr(_0x50a87b){var _0x507f03=_0x57ea30;const {unitID:_0x3f9a6e,mutations:_0x54c0a9}=_0x50a87b;return{'unitId':_0x3f9a6e,'subUnitId':_0x54c0a9[0x0][_0x507f03(0x302)][_0x507f03(0x376)]};}let it=class{constructor(_0x121f20,_0x4a09be,_0x5143cb){var _0x35f72c=_0x57ea30;this[_0x35f72c(0x3ec)]=_0x121f20,this[_0x35f72c(0x464)]=_0x4a09be,this[_0x35f72c(0x474)]=_0x5143cb;}[_0x57ea30(0x28e)](_0x16722e){var _0x5c5c54=_0x57ea30,_0x3985c5,_0x30d4d4,_0x4d9ad5,_0x491429;const _0xda573a=this['_injector'][_0x5c5c54(0x17b)](_0x16b3f3),{unitId:_0x49a188,subUnitId:_0x22c284}=hr(_0x16722e),_0x488015=_0xda573a==null?void 0x0:_0xda573a[_0x5c5c54(0x3ed)](_0x49a188)[_0x5c5c54(0x252)](),_0x36a578=(_0x30d4d4=(_0x3985c5=this[_0x5c5c54(0x474)][_0x5c5c54(0x41e)](_0x49a188))==null?void 0x0:_0x3985c5['getActiveSheet']())==null?void 0x0:_0x30d4d4['getSheetId']();if(_0x488015[_0x5c5c54(0x1d3)]===0x0||!_0x49a188||!_0x22c284)return;const _0x59fe62=[{'id':_0x1de0ec['id'],'params':{'unitId':_0x49a188,'subUnitId':_0x36a578,'selections':_0xb8971a[_0x5c5c54(0x274)](_0x488015)}}],_0x592e46=this[_0x5c5c54(0x464)]['transformMutationsWithChangeset'](_0x16722e,_0x59fe62);if(!_0x37c03b(_0x592e46))throw _0x592e46[_0x5c5c54(0x24b)];const _0x41980c=(_0x491429=(_0x4d9ad5=_0x592e46['m2Prime'][0x0])==null?void 0x0:_0x4d9ad5[_0x5c5c54(0x302)])==null?void 0x0:_0x491429[_0x5c5c54(0x20a)];if(Array['isArray'](_0x41980c)&&_0x41980c['length']){if(_0x41980c[_0x5c5c54(0x1d3)]===_0x59fe62[0x0]['params'][_0x5c5c54(0x20a)][_0x5c5c54(0x1d3)]&&_0x41980c[_0x5c5c54(0x3df)]((_0x1f1938,_0x3f9704)=>_0x118fc4[_0x5c5c54(0x203)](_0x1f1938[_0x5c5c54(0x273)],_0x59fe62[0x0][_0x5c5c54(0x302)][_0x5c5c54(0x20a)][_0x3f9704][_0x5c5c54(0x273)])))return;this[_0x5c5c54(0x3ec)][_0x5c5c54(0x17b)](_0x39c537)[_0x5c5c54(0x415)](_0x1de0ec['id'],{'unitId':_0x49a188,'subUnitId':_0x36a578,'selections':_0x41980c});}}};it=cr([dt(0x0,_0x121c70(_0x49358f)),dt(0x1,_0x4877b5),dt(0x2,_0x3b1049)],it);const ht=_0x7c5cb6(_0x57ea30(0x1a0));var bi=(_0x15f256=>(_0x15f256[_0x15f256['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x57ea30(0x41a),_0x15f256[_0x15f256['OTHER_CLIENTS_EDITING']=0x1]=_0x57ea30(0x15a),_0x15f256))(bi||{});const _r=new Set([_0x15c4f3['id']]);function zt(_0x5df467,_0x5a54ec,_0x18c8e0,_0x356584,_0x36db21){var _0x493316=_0x57ea30,_0x39fa39,_0x337286,_0x40ea23,_0x282408;const _0x523879=[];for(const _0x1a1bd1 of _0x5df467)if(_r[_0x493316(0x41c)](_0x1a1bd1['id'])){if(_0x523879['length']>0x0)break;_0x523879['push'](_0x1a1bd1);break;}else _0x523879[_0x493316(0x1d7)](_0x1a1bd1);const _0x5b35ed=(_0x337286=(_0x39fa39=_0x36db21['getCurrentUser']())==null?void 0x0:_0x39fa39['userID'])!=null?_0x337286:_0x493316(0x36f),_0x398b5a=(_0x282408=(_0x40ea23=_0x36db21[_0x493316(0x2ba)]())==null?void 0x0:_0x40ea23[_0x493316(0x19c)])!=null?_0x282408:'unknown';return{'changeset':{'unitID':_0x5a54ec,'type':_0x36f9a0(_0x18c8e0['getUnitType'](_0x5a54ec)),'baseRev':_0x356584[_0x493316(0x3f4)](_0x5a54ec),'revision':0x0,'userID':_0x5b35ed,'memberID':_0x398b5a,'mutations':_0x523879},'pendingMutations':_0x5df467[_0x493316(0x1b1)](_0x523879[_0x493316(0x1d3)])};}function lr(_0x57b643,_0x5f0bbe,_0x20bb51,_0x18967c,_0x11add5){var _0x40c4d7=_0x57ea30,_0x361db0,_0x1b09e7,_0x558d15,_0x458c33;const _0x48dacd=[_0x57b643['reduce']((_0x148340,_0x1dc474)=>{var _0x53bf8c=_0x30c3,_0x48f210;const {id:_0x3f0c78}=_0x148340,{id:_0x2d863b,type:_0x504d54}=_0x1dc474,_0x2a95dd=(_0x48f210=_0x148340['params'])!=null?_0x48f210:{'actions':null},_0x1e21d6=_0x1dc474[_0x53bf8c(0x302)];if(_0x3f0c78&&_0x3f0c78!==_0x2d863b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3f0c78+_0x53bf8c(0x40d)+_0x2d863b+'.');return{..._0x148340,'id':_0x2d863b,'type':_0x504d54,'params':{'unitId':_0x1e21d6[_0x53bf8c(0x288)],'textRanges':_0x1e21d6[_0x53bf8c(0x233)],'actions':_0x3b4f97[_0x53bf8c(0x1c2)](_0x2a95dd[_0x53bf8c(0x196)],_0x1e21d6['actions'])}};},{})],_0x2099df=(_0x1b09e7=(_0x361db0=_0x11add5[_0x40c4d7(0x2ba)]())==null?void 0x0:_0x361db0[_0x40c4d7(0x1b9)])!=null?_0x1b09e7:'unknown',_0x1a798e=(_0x458c33=(_0x558d15=_0x11add5[_0x40c4d7(0x2ba)]())==null?void 0x0:_0x558d15[_0x40c4d7(0x19c)])!=null?_0x458c33:'unknown';return{'changeset':{'unitID':_0x5f0bbe,'type':_0x36f9a0(_0x20bb51[_0x40c4d7(0x382)](_0x5f0bbe)),'baseRev':_0x18967c['getCurrentRevOfUnit'](_0x5f0bbe),'revision':0x0,'userID':_0x2099df,'memberID':_0x1a798e,'mutations':_0x48dacd},'pendingMutations':[]};}function Oi(_0x568722,_0x5458da){var _0x37d100=_0x57ea30;const _0x41903b=new _0x5c77e9(0x1);return setTimeout(()=>_0x41903b[_0x37d100(0x205)](_0x5458da),_0x568722),_0x41903b['asObservable']()['pipe'](_0x3bfa1c(0x1));}const ur={'id':_0x3a834d['id'],'type':_0x530150['MUTATION'],'params':{}};var dr=Object['defineProperty'],fr=Object['getOwnPropertyDescriptor'],Re=(_0x585af8,_0x473bdb,_0x1f193a,_0x2fc9ff)=>{var _0x2b8fba=_0x57ea30;for(var _0x37be82=_0x2fc9ff>0x1?void 0x0:_0x2fc9ff?fr(_0x473bdb,_0x1f193a):_0x473bdb,_0x3f064d=_0x585af8[_0x2b8fba(0x1d3)]-0x1,_0x34e628;_0x3f064d>=0x0;_0x3f064d--)(_0x34e628=_0x585af8[_0x3f064d])&&(_0x37be82=(_0x2fc9ff?_0x34e628(_0x473bdb,_0x1f193a,_0x37be82):_0x34e628(_0x37be82))||_0x37be82);return _0x2fc9ff&&_0x37be82&&dr(_0x473bdb,_0x1f193a,_0x37be82),_0x37be82;},A=(_0x32bcfa,_0x21f6ea)=>(_0x1e91c1,_0x1684b0)=>_0x21f6ea(_0x1e91c1,_0x1684b0,_0x32bcfa),yi=(_0x1046b5=>(_0x1046b5[_0x57ea30(0x30f)]=_0x57ea30(0x279),_0x1046b5[_0x57ea30(0x297)]=_0x57ea30(0x161),_0x1046b5['PENDING']=_0x57ea30(0x361),_0x1046b5[_0x57ea30(0x346)]=_0x57ea30(0x17c),_0x1046b5['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x1046b5[_0x57ea30(0x3fc)]=_0x57ea30(0x244),_0x1046b5['CONFLICT']='conflict',_0x1046b5[_0x57ea30(0x349)]='offline',_0x1046b5))(yi||{});const Ni=0xea60;class be{constructor(_0x1a61e6,_0x26c675,_0x431d9b,_0x59f702,_0x5104b4,_0x263a0a,_0x5c74b1,_0x1b593,_0x384414){var _0x59eafd=_0x57ea30;N(this,_0x59eafd(0x1ec),null),N(this,'_pendingMutations',[]),(this[_0x59eafd(0x239)]=_0x1a61e6,this['type']=_0x26c675,this['_handler']=_0x5104b4,this[_0x59eafd(0x336)]=_0x263a0a,this[_0x59eafd(0x25e)]=_0x5c74b1,this[_0x59eafd(0x31c)]=_0x1b593,this['_localCacheService']=_0x384414,this[_0x59eafd(0x1ec)]=_0x431d9b,this['_pendingMutations']=_0x59f702);}[_0x57ea30(0x31a)](_0x10d5a0){var _0x1de334=_0x57ea30;const _0x1066a5=this[_0x1de334(0x31c)]['getCurrentRevOfUnit'](this['unitID']);return _0x10d5a0[_0x1de334(0x35e)]>_0x1066a5+0x1?(this['_handler'][_0x1de334(0x229)]({'from':_0x1066a5,'to':_0x10d5a0[_0x1de334(0x35e)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1fba6c){var _0x41faaf=_0x57ea30;this[_0x41faaf(0x25e)]['transformUndoRedo'](this[_0x41faaf(0x239)],_0x1fba6c);}['_transformSelections'](_0x15feec){var _0x3711dc=_0x57ea30,_0x132545,_0x39b50a;(_0x39b50a=(_0x132545=this[_0x3711dc(0x359)])['onTransformSelections'])==null||_0x39b50a[_0x3711dc(0x209)](_0x132545,_0x15feec);}[_0x57ea30(0x3a1)](_0xae44be){var _0x3a8267=_0x57ea30,_0x5b5a11,_0x2bf3cc;return(_0x2bf3cc=(_0x5b5a11=this[_0x3a8267(0x359)])[_0x3a8267(0x258)])==null?void 0x0:_0x2bf3cc[_0x3a8267(0x209)](_0x5b5a11,_0xae44be);}['_transformStateCache'](_0x183e7b){var _0x361c89=_0x57ea30,_0x32084f,_0x4fec69;return(_0x4fec69=(_0x32084f=this[_0x361c89(0x359)])[_0x361c89(0x17d)])==null?void 0x0:_0x4fec69[_0x361c89(0x209)](_0x32084f,_0x183e7b);}[_0x57ea30(0x29c)](_0x9f4c41){var _0x113cf9=_0x57ea30,_0x2d55ad,_0x4198df,_0x41dbd3;return(_0x41dbd3=(_0x4198df=(_0x2d55ad=this[_0x113cf9(0x359)])[_0x113cf9(0x3f6)])==null?void 0x0:_0x4198df['call'](_0x2d55ad,_0x9f4c41))!=null?_0x41dbd3:_0x9f4c41;}[_0x57ea30(0x19d)](_0x480729){var _0x458dee=_0x57ea30,_0x6d2fb6,_0x45c6e5,_0x25f018;return(_0x25f018=(_0x45c6e5=(_0x6d2fb6=this[_0x458dee(0x359)])[_0x458dee(0x335)])==null?void 0x0:_0x45c6e5[_0x458dee(0x209)](_0x6d2fb6,_0x480729))!=null?_0x25f018:_0x480729;}['_syncEditingCollabCursor'](_0x9cfe91){var _0x4bc65f=_0x57ea30,_0xce1fca,_0x14e1f0;if(this['type']===Q[_0x4bc65f(0x44d)]){const {unitID:_0x2d7209,mutations:_0x286865,memberID:_0x44fd8a}=_0x9cfe91,_0xc861=_0x286865[0x0][_0x4bc65f(0x302)][_0x4bc65f(0x233)];Array[_0x4bc65f(0x33a)](_0xc861)&&_0xc861[_0x4bc65f(0x1d3)]>0x0&&((_0x14e1f0=(_0xce1fca=this['_handler'])[_0x4bc65f(0x1a4)])==null||_0x14e1f0[_0x4bc65f(0x209)](_0xce1fca,{'unitID':_0x2d7209,'memberID':_0x44fd8a,'textRanges':_0xc861}));}}[_0x57ea30(0x327)](){var _0x4e5406=_0x57ea30,_0x5361b8;(_0x5361b8=this[_0x4e5406(0x42d)])==null||_0x5361b8[_0x4e5406(0x456)](this[_0x4e5406(0x239)],this['type'],this['_awaitingChangeset'],this[_0x4e5406(0x278)]);}['_getCurrentRevision'](){var _0x40506b=_0x57ea30;return this[_0x40506b(0x31c)][_0x40506b(0x3f4)](this['unitID']);}['_incrementRevisionNumber'](){var _0x6ad665=_0x57ea30;this[_0x6ad665(0x31c)][_0x6ad665(0x1ba)](this[_0x6ad665(0x239)]);}[_0x57ea30(0x2b8)](_0x401453){var _0xd78c87=_0x57ea30,_0x2821d3;let _0x1e49b6=this[_0xd78c87(0x29c)](_0x401453);_0x1e49b6=this[_0xd78c87(0x19d)](_0x1e49b6);const _0x7e1010=_0x34ed06(_0x1e49b6[_0xd78c87(0x409)],this[_0xd78c87(0x336)],{'fromCollab':!0x0});if(!_0x7e1010[_0xd78c87(0x2e3)])throw _0x7e1010[_0xd78c87(0x24b)]instanceof Error?_0x7e1010['error']:new Error((_0x2821d3=_0x7e1010[_0xd78c87(0x24b)])!=null?_0x2821d3:_0xd78c87(0x2b5));this[_0xd78c87(0x3a1)](_0x1e49b6),this[_0xd78c87(0x41f)](_0x1e49b6),this[_0xd78c87(0x3fa)](_0x401453),this[_0xd78c87(0x20b)](_0x1e49b6),this[_0xd78c87(0x15b)](_0x1e49b6),this[_0xd78c87(0x42c)]();}}let De=class extends be{constructor(_0x17a783,_0x51401a,_0x4b3f49,_0x56c320,_0x34546b,_0xa70d79,_0x29a56c,_0x3d7929,_0x205b99,_0xf5c2b0){var _0xe40a3=_0x57ea30;super(_0x17a783,_0x51401a,null,[],_0x4b3f49,_0x29a56c,_0xa70d79,_0x56c320,_0xf5c2b0),N(this,_0xe40a3(0x1be),'synced'),(this[_0xe40a3(0x3ec)]=_0x34546b,this[_0xe40a3(0x26f)]=_0x3d7929,this[_0xe40a3(0x464)]=_0x205b99,this[_0xe40a3(0x26d)]=_0xf5c2b0);}['appendMutation'](_0x50297f){var _0x5820bb=_0x57ea30;const _0x8a5b5a=this[_0x5820bb(0x3ec)][_0x5820bb(0x298)](oe,this[_0x5820bb(0x239)],this[_0x5820bb(0x466)],[_0x50297f],this[_0x5820bb(0x359)]);return _0x8a5b5a[_0x5820bb(0x3e8)](),_0x8a5b5a['_updateLocalCache'](),_0x8a5b5a;}[_0x57ea30(0x269)](_0x1c466d){var _0x33c02b=_0x57ea30;if(this['_checkMissing'](_0x1c466d))return this[_0x33c02b(0x3ec)]['createInstance'](te,this[_0x33c02b(0x239)],this[_0x33c02b(0x466)],null,[],null,[_0x1c466d],this[_0x33c02b(0x359)]);try{const _0xcf4ca1=this[_0x33c02b(0x464)]['transformMutationsWithChangeset'](_0x1c466d,[ur]);if(_0x37c03b(_0xcf4ca1)){const {c1Prime:_0x4e8b66}=_0xcf4ca1;return this['_executeRemoteChangeset'](_0x4e8b66),this;}throw _0xcf4ca1[_0x33c02b(0x24b)];}catch(_0x2a9afb){return this[_0x33c02b(0x26f)][_0x33c02b(0x24b)](_0x2a9afb),this['_onConflict'](!0x1);}}['_onConflict'](_0x51ed28){var _0x57b7c5=_0x57ea30;return this['_injector'][_0x57b7c5(0x298)](de,this[_0x57b7c5(0x239)],this[_0x57b7c5(0x466)],null,[],this[_0x57b7c5(0x359)],_0x51ed28);}['onRemoteAck'](){var _0x428fbf=_0x57ea30;throw new Error(_0x428fbf(0x261));}[_0x57ea30(0x1ab)](){var _0x5bd8c9=_0x57ea30;throw new Error(_0x5bd8c9(0x308));}[_0x57ea30(0x20d)](){return this;}['toggleOffline'](){var _0x4089b2=_0x57ea30;return this[_0x4089b2(0x3ec)][_0x4089b2(0x298)](fe,this[_0x4089b2(0x239)],this[_0x4089b2(0x466)],null,[],this[_0x4089b2(0x359)]);}[_0x57ea30(0x420)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x57ea30(0x33b)](){var _0x1365e2=_0x57ea30;const _0x32602e=this[_0x1365e2(0x31c)][_0x1365e2(0x3f4)](this[_0x1365e2(0x239)]);return this['_handler'][_0x1365e2(0x229)]({'from':_0x32602e,'to':0x0}),this[_0x1365e2(0x3ec)][_0x1365e2(0x298)](te,this['unitID'],this[_0x1365e2(0x466)],null,[],null,[],this[_0x1365e2(0x359)]);}};De=Re([A(0x3,_0x121c70(_0x117310)),A(0x4,_0x121c70(_0x49358f)),A(0x5,_0x2cf6cb),A(0x6,_0x39c537),A(0x7,_0x410aea),A(0x8,_0x4877b5),A(0x9,_0x1d8841(J))],De);let oe=class extends be{constructor(_0x2943ee,_0x8fd51b,_0xe403b3,_0x413b44,_0x34d267,_0x2d251a,_0x47ec03,_0x30b80f,_0x352bc5,_0x26386c,_0x2a41ea,_0x5ae7a9,_0x384a42,_0x46e702){var _0x401ea6=_0x57ea30;super(_0x2943ee,_0x8fd51b,null,_0xe403b3,_0x413b44,_0x352bc5,_0x384a42,_0x2d251a,_0x46e702),N(this,_0x401ea6(0x1be),_0x401ea6(0x361)),N(this,_0x401ea6(0x2e0),null),N(this,_0x401ea6(0x328),null),(this[_0x401ea6(0x3ec)]=_0x34d267,this[_0x401ea6(0x293)]=_0x47ec03,this[_0x401ea6(0x26f)]=_0x30b80f,this[_0x401ea6(0x276)]=_0x26386c,this['_transformService']=_0x2a41ea,this[_0x401ea6(0x46f)]=_0x5ae7a9);}['appendMutation'](_0x5d80fc){var _0x4fe383=_0x57ea30;return this[_0x4fe383(0x278)][_0x4fe383(0x1d7)](_0x5d80fc),this[_0x4fe383(0x327)](),this;}[_0x57ea30(0x269)](_0x4ff23f){var _0xa81e77=_0x57ea30;if(this[_0xa81e77(0x31a)](_0x4ff23f))return this[_0xa81e77(0x27d)](),this[_0xa81e77(0x3ec)][_0xa81e77(0x298)](te,this[_0xa81e77(0x239)],this[_0xa81e77(0x466)],null,this[_0xa81e77(0x278)],null,[_0x4ff23f],this[_0xa81e77(0x359)]);try{const _0x372d88=this[_0xa81e77(0x464)]['transformMutationsWithChangeset'](_0x4ff23f,this['_pendingMutations']);if(_0x37c03b(_0x372d88)){const {c1Prime:_0x1d8ec6,m2Prime:_0x15d27d}=_0x372d88;this['_executeRemoteChangeset'](_0x1d8ec6);const _0x56c79a=this[_0xa81e77(0x3ec)][_0xa81e77(0x298)](oe,this['unitID'],this[_0xa81e77(0x466)],_0x15d27d,this['_handler']);this[_0xa81e77(0x27d)]();const _0x1e4afc=new Date()['getTime'](),_0x3dfff1=this[_0xa81e77(0x2e0)]?Math[_0xa81e77(0x217)](this['_scheduleCompleteTimestamp']-_0x1e4afc,0x0):this['_getSendChangesetTimeout']();return _0x56c79a[_0xa81e77(0x3e8)](_0x3dfff1),_0x56c79a;}throw _0x372d88['error'];}catch(_0x130218){return this[_0xa81e77(0x26f)][_0xa81e77(0x24b)](_0x130218),this[_0xa81e77(0x241)](!0x1);}}[_0x57ea30(0x162)](){var _0x1fc5a5=_0x57ea30;throw new Error(_0x1fc5a5(0x401));}['onRemoteRej'](){var _0x9643f7=_0x57ea30;throw new Error(_0x9643f7(0x27a));}['onRemoteRetry'](){return this;}[_0x57ea30(0x19e)](){var _0x46f9b1=_0x57ea30;return this[_0x46f9b1(0x27d)](),this[_0x46f9b1(0x3ec)][_0x46f9b1(0x298)](fe,this[_0x46f9b1(0x239)],this[_0x46f9b1(0x466)],null,this[_0x46f9b1(0x278)],this[_0x46f9b1(0x359)]);}[_0x57ea30(0x420)](){return this;}[_0x57ea30(0x3e8)](_0x5ed567){var _0x9bf825=_0x57ea30;const _0x49e10d=_0x5ed567!=null?_0x5ed567:this[_0x9bf825(0x23f)]();this[_0x9bf825(0x2e0)]=new Date()[_0x9bf825(0x381)]()+_0x49e10d,this[_0x9bf825(0x328)]=setTimeout(()=>{var _0x5c1e58=_0x9bf825;this[_0x5c1e58(0x27d)]();let _0x878b7f=null;switch(this['type']){case Q[_0x5c1e58(0x2d1)]:{_0x878b7f=zt(this[_0x5c1e58(0x278)],this['unitID'],this[_0x5c1e58(0x46f)],this['_revisionService'],this['_memberService']);break;}case Q[_0x5c1e58(0x44d)]:{this[_0x5c1e58(0x278)]['every'](_0x1051fb=>_0x1051fb['id']===_0x36d8f7['id'])?_0x878b7f=lr(this['_pendingMutations'],this[_0x5c1e58(0x239)],this[_0x5c1e58(0x46f)],this[_0x5c1e58(0x31c)],this[_0x5c1e58(0x293)]):_0x878b7f=zt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x5c1e58(0x31c)],this[_0x5c1e58(0x293)]);break;}default:throw new Error(_0x5c1e58(0x18d)+this[_0x5c1e58(0x466)]+_0x5c1e58(0x1df));}const {changeset:_0x30c499,pendingMutations:_0x588819}=_0x878b7f;this[_0x5c1e58(0x359)][_0x5c1e58(0x1c6)](_0x30c499);const _0xf93045=_0x588819['length']?this[_0x5c1e58(0x3ec)][_0x5c1e58(0x298)](ae,this[_0x5c1e58(0x239)],this['type'],_0x30c499,_0x588819,this['_handler'],void 0x0):this[_0x5c1e58(0x3ec)][_0x5c1e58(0x298)](ue,this[_0x5c1e58(0x239)],this[_0x5c1e58(0x466)],_0x30c499,this[_0x5c1e58(0x359)]);_0xf93045[_0x5c1e58(0x327)](),this[_0x5c1e58(0x359)]['onStateChange'](this,_0xf93045);},_0x49e10d);}[_0x57ea30(0x23f)](){var _0x17e351=_0x57ea30,_0x29338f;const _0x5e8227=this['_configService'][_0x17e351(0x341)](q);return(_0x29338f=_0x5e8227==null?void 0x0:_0x5e8227[_0x17e351(0x36e)])!=null?_0x29338f:Cn;}[_0x57ea30(0x286)](){var _0x592466=_0x57ea30;throw new Error(_0x592466(0x21d));}[_0x57ea30(0x27d)](){var _0x27bab1=_0x57ea30;this[_0x27bab1(0x328)]!=null&&(clearTimeout(this[_0x27bab1(0x328)]),this[_0x27bab1(0x328)]=null);}[_0x57ea30(0x241)](_0x46e8fd){var _0xdad78f=_0x57ea30;return this[_0xdad78f(0x27d)](),this[_0xdad78f(0x3ec)][_0xdad78f(0x298)](de,this[_0xdad78f(0x239)],this[_0xdad78f(0x466)],null,this['_pendingMutations'],this['_handler'],_0x46e8fd);}};oe=Re([A(0x4,_0x121c70(_0x49358f)),A(0x5,_0x121c70(_0x117310)),A(0x6,_0x121c70(xe)),A(0x7,_0x410aea),A(0x8,_0x39c537),A(0x9,_0x5a8f33),A(0xa,_0x4877b5),A(0xb,_0x3b1049),A(0xc,_0x2cf6cb),A(0xd,_0x1d8841(J))],oe);let ue=class extends be{constructor(_0x37d9cc,_0x27ff85,_0x2db4aa,_0x155f1a,_0x2910be,_0x255d8a,_0x223c12,_0x2674eb,_0x17c6c6,_0xe1262,_0x4f78ed){var _0x4860b5=_0x57ea30;super(_0x37d9cc,_0x27ff85,_0x2db4aa,[],_0x155f1a,_0x223c12,_0xe1262,_0x255d8a,_0x4f78ed),N(this,_0x4860b5(0x1be),_0x4860b5(0x17c)),N(this,_0x4860b5(0x472),0x0),N(this,_0x4860b5(0x25f)),N(this,_0x4860b5(0x2ca)),(this['_injector']=_0x2910be,this[_0x4860b5(0x26f)]=_0x2674eb,this[_0x4860b5(0x464)]=_0x17c6c6);}[_0x57ea30(0x1d6)](_0x4ac373){var _0x3d89ea=_0x57ea30;this[_0x3d89ea(0x27d)]();const _0x19ab14=this[_0x3d89ea(0x3ec)][_0x3d89ea(0x298)](ae,this[_0x3d89ea(0x239)],this[_0x3d89ea(0x466)],this[_0x3d89ea(0x1ec)],[_0x4ac373],this[_0x3d89ea(0x359)],this[_0x3d89ea(0x25f)]);return _0x19ab14[_0x3d89ea(0x327)](),_0x19ab14;}['onRemoteChangeset'](_0x6c5dde){var _0x962089=_0x57ea30;if(this[_0x962089(0x31a)](_0x6c5dde))return this['_clearScheduledTask'](),this[_0x962089(0x3ec)][_0x962089(0x298)](te,this[_0x962089(0x239)],this['type'],this['_awaitingChangeset'],[],null,[_0x6c5dde],this['_handler']);try{const _0x34366b=this['_transformService'][_0x962089(0x3f5)]([_0x6c5dde],[this[_0x962089(0x1ec)]],!0x1);if(_0x14716a(_0x34366b)){const {c1Prime:_0x2e489d,c2Prime:_0x15286f}=_0x34366b;this[_0x962089(0x2b8)](_0x2e489d[0x0]),_0x15286f[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x962089(0x27d)]();const _0x2ea48d=this[_0x962089(0x3ec)][_0x962089(0x298)](ue,this['unitID'],this[_0x962089(0x466)],_0x15286f[0x0],this['_handler']);return _0x2ea48d['_updateLocalCache'](),_0x2ea48d;}return this[_0x962089(0x241)](!0x1);}catch(_0x35a431){return this[_0x962089(0x26f)]['error'](_0x35a431),this[_0x962089(0x241)](!0x1);}}[_0x57ea30(0x162)](_0x12d25a){var _0x1cf97c=_0x57ea30;this['_clearScheduledTask']();const _0x126645=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1cf97c(0x239)]);if(_0x12d25a[_0x1cf97c(0x35e)]<_0x126645-0x1)return this;if(this['_checkMissing'](_0x12d25a))return this[_0x1cf97c(0x3ec)][_0x1cf97c(0x298)](te,this[_0x1cf97c(0x239)],this[_0x1cf97c(0x466)],null,[],this[_0x1cf97c(0x1ec)],[],this[_0x1cf97c(0x359)]);this['_incrementRevisionNumber']();const _0x31e955=this[_0x1cf97c(0x3ec)][_0x1cf97c(0x298)](De,this[_0x1cf97c(0x239)],this[_0x1cf97c(0x466)],this[_0x1cf97c(0x359)]);return _0x31e955[_0x1cf97c(0x327)](),_0x31e955;}['onRemoteRej'](_0x4b8159){return this['_onConflict'](!!(_0x4b8159!=null&&_0x4b8159['isPermissionRej']));}['onRemoteRetry'](_0xff7b1d){var _0x416786=_0x57ea30;return this[_0x416786(0x472)]>Ni?this[_0x416786(0x19e)]():(this[_0x416786(0x25f)]=Oi(this['_resendTimeout'],{'timeout':this[_0x416786(0x472)],'reqId':_0xff7b1d[_0x416786(0x1b6)]}),this[_0x416786(0x2ca)]=this[_0x416786(0x25f)]['subscribe'](({reqId:_0xf9feee,timeout:_0x193679})=>{var _0x1033a8=_0x416786;this[_0x1033a8(0x2e4)](_0xf9feee,_0x193679);}),this);}[_0x57ea30(0x19e)](){var _0x5caebe=_0x57ea30;return this[_0x5caebe(0x27d)](),this[_0x5caebe(0x3ec)][_0x5caebe(0x298)](fe,this[_0x5caebe(0x239)],this['type'],this[_0x5caebe(0x1ec)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x57ea30(0x286)](){var _0x546ac6=_0x57ea30;this[_0x546ac6(0x359)][_0x546ac6(0x1c6)](this[_0x546ac6(0x1ec)]);}[_0x57ea30(0x241)](_0x3c1672){var _0x59cd3c=_0x57ea30;return this['_clearScheduledTask'](),this[_0x59cd3c(0x3ec)]['createInstance'](de,this['unitID'],this[_0x59cd3c(0x466)],this[_0x59cd3c(0x1ec)],[],this[_0x59cd3c(0x359)],_0x3c1672);}[_0x57ea30(0x2e4)](_0xe0a116,_0x4383ef){var _0x5b8728=_0x57ea30,_0x42051c;_0xe0a116===((_0x42051c=this[_0x5b8728(0x1ec)])==null?void 0x0:_0x42051c[_0x5b8728(0x1b6)])&&(this['resend'](),this[_0x5b8728(0x472)]=_0x4383ef===0x0?0x3e8:_0x4383ef*0x2);}[_0x57ea30(0x27d)](){var _0x8d22a2=_0x57ea30,_0x5d4176;(_0x5d4176=this['_sender'])==null||_0x5d4176[_0x8d22a2(0x46b)](),this[_0x8d22a2(0x472)]=0x0;}};ue=Re([A(0x4,_0x121c70(_0x49358f)),A(0x5,_0x121c70(_0x117310)),A(0x6,_0x39c537),A(0x7,_0x410aea),A(0x8,_0x4877b5),A(0x9,_0x2cf6cb),A(0xa,_0x1d8841(J))],ue);let ae=class extends be{constructor(_0x1b5c0c,_0x339772,_0x3f1193,_0x1d537f,_0x7a7b66,_0x1d0a2d,_0x88434c,_0x187eda,_0x305d2c,_0x3f3f56,_0x3a1a2f,_0x5ca726,_0xe8e25f){var _0x5b572e=_0x57ea30;super(_0x1b5c0c,_0x339772,_0x3f1193,_0x1d537f,_0x7a7b66,_0x305d2c,_0x5ca726,_0x187eda,_0xe8e25f),N(this,'status',_0x5b572e(0x3c7)),N(this,_0x5b572e(0x472),0x0),N(this,'_resendTimer'),N(this,_0x5b572e(0x2ca)),(this['_injector']=_0x88434c,this[_0x5b572e(0x26f)]=_0x3f3f56,this['_transformService']=_0x3a1a2f,this['localCacheService']=_0xe8e25f,_0x1d0a2d&&(this['_resendTimer']=_0x1d0a2d,this[_0x5b572e(0x2ca)]=this[_0x5b572e(0x25f)]['subscribe'](({reqId:_0x31c7c0,timeout:_0x372340})=>{var _0x1b457d=_0x5b572e;this[_0x1b457d(0x2e4)](_0x31c7c0,_0x372340);})));}[_0x57ea30(0x1d6)](_0xaed73c){var _0x204b33=_0x57ea30;return this[_0x204b33(0x278)]['push'](_0xaed73c),this;}[_0x57ea30(0x269)](_0x30888c){var _0x52d3c4=_0x57ea30;if(this[_0x52d3c4(0x31a)](_0x30888c))return this['_clearScheduledTask'](),this[_0x52d3c4(0x3ec)][_0x52d3c4(0x298)](te,this['unitID'],this[_0x52d3c4(0x466)],this['_awaitingChangeset'],this[_0x52d3c4(0x278)],null,[_0x30888c],this[_0x52d3c4(0x359)]);try{const _0x104761=this[_0x52d3c4(0x464)][_0x52d3c4(0x3f5)]([_0x30888c],[this[_0x52d3c4(0x1ec)]],!0x1);if(_0x14716a(_0x104761)){const {c1Prime:_0xe6151f,c2Prime:_0x6439ac}=_0x104761,_0x5ce626=this[_0x52d3c4(0x464)][_0x52d3c4(0x34d)](_0xe6151f[0x0],this['_pendingMutations']);if(_0x37c03b(_0x5ce626)){const {c1Prime:_0x5e949f,m2Prime:_0x57f659}=_0x5ce626;return this['_executeRemoteChangeset'](_0x5e949f),_0x6439ac[0x0][_0x52d3c4(0x1ae)]=this[_0x52d3c4(0x25d)](),this['_clearScheduledTask'](),this[_0x52d3c4(0x3ec)]['createInstance'](ae,this[_0x52d3c4(0x239)],this[_0x52d3c4(0x466)],_0x6439ac[0x0],_0x57f659,this[_0x52d3c4(0x359)],void 0x0);}throw _0x5ce626[_0x52d3c4(0x24b)];}throw _0x104761['error'];}catch(_0x586bb2){return this[_0x52d3c4(0x26f)][_0x52d3c4(0x24b)](_0x586bb2),this[_0x52d3c4(0x241)](!0x1);}}[_0x57ea30(0x162)](_0x8d04ac){var _0x4fc17e=_0x57ea30;if(this[_0x4fc17e(0x27d)](),this['_checkMissing'](_0x8d04ac))return this['_injector']['createInstance'](te,this[_0x4fc17e(0x239)],this[_0x4fc17e(0x466)],null,this[_0x4fc17e(0x278)],this[_0x4fc17e(0x1ec)],[],this[_0x4fc17e(0x359)]);this[_0x4fc17e(0x42c)]();const _0x56edac=this[_0x4fc17e(0x3ec)]['createInstance'](oe,this[_0x4fc17e(0x239)],this[_0x4fc17e(0x466)],this[_0x4fc17e(0x278)],this[_0x4fc17e(0x359)]);return _0x56edac[_0x4fc17e(0x3e8)](),_0x56edac['_updateLocalCache'](),_0x56edac;}[_0x57ea30(0x1ab)](_0x59cf04){var _0x393dc6=_0x57ea30;return this[_0x393dc6(0x241)](!!(_0x59cf04!=null&&_0x59cf04[_0x393dc6(0x3f8)]));}['onRemoteRetry'](_0x50705c){var _0x573816=_0x57ea30;return this[_0x573816(0x472)]>Ni?this[_0x573816(0x19e)]():(this[_0x573816(0x25f)]=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x50705c[_0x573816(0x1b6)]}),this[_0x573816(0x2ca)]=this[_0x573816(0x25f)][_0x573816(0x179)](({reqId:_0x497eb0,timeout:_0x4b72a5})=>{var _0x1e0675=_0x573816;this[_0x1e0675(0x2e4)](_0x497eb0,_0x4b72a5);}),this);}[_0x57ea30(0x19e)](){var _0xc26f52=_0x57ea30;return this[_0xc26f52(0x27d)](),this[_0xc26f52(0x3ec)][_0xc26f52(0x298)](fe,this[_0xc26f52(0x239)],this[_0xc26f52(0x466)],this[_0xc26f52(0x1ec)],this[_0xc26f52(0x278)],this[_0xc26f52(0x359)]);}[_0x57ea30(0x420)](){return this;}[_0x57ea30(0x286)](){var _0x3f1c37=_0x57ea30;this['_handler']['onSendChangeset'](this[_0x3f1c37(0x1ec)]);}['_onConflict'](_0x31372b){var _0x48b28c=_0x57ea30;return this[_0x48b28c(0x27d)](),this[_0x48b28c(0x3ec)][_0x48b28c(0x298)](de,this['unitID'],this['type'],null,this[_0x48b28c(0x278)],this[_0x48b28c(0x359)],_0x31372b);}[_0x57ea30(0x2e4)](_0x23c504,_0x526321){var _0x4bed00=_0x57ea30,_0x5c96c8;_0x23c504===((_0x5c96c8=this[_0x4bed00(0x1ec)])==null?void 0x0:_0x5c96c8['reqId'])&&(this[_0x4bed00(0x286)](),this[_0x4bed00(0x472)]=_0x526321===0x0?0x3e8:_0x526321*0x2);}[_0x57ea30(0x27d)](){var _0xb1bcc0=_0x57ea30,_0x36971c;(_0x36971c=this['_sender'])==null||_0x36971c[_0xb1bcc0(0x46b)](),this[_0xb1bcc0(0x472)]=0x0;}};ae=Re([A(0x6,_0x121c70(_0x49358f)),A(0x7,_0x121c70(_0x117310)),A(0x8,_0x39c537),A(0x9,_0x410aea),A(0xa,_0x4877b5),A(0xb,_0x2cf6cb),A(0xc,_0x1d8841(J))],ae);let de=class extends be{constructor(_0x5921fa,_0x21237e,_0x4adebe,_0x4c72f1,_0xb18d23,_0x35941f=!0x1,_0x3adfaa,_0x2c632a,_0x2cd80e,_0x422417,_0x28dbee,_0x1904b9,_0x55a780){var _0x12cfd5=_0x57ea30;super(_0x5921fa,_0x21237e,_0x4adebe,_0x4c72f1,_0xb18d23,_0x2c632a,_0x2cd80e,_0x422417,_0x55a780),N(this,'status',_0x12cfd5(0x471)),(this[_0x12cfd5(0x3f9)]=_0x35941f,this[_0x12cfd5(0x1f5)]=_0x3adfaa,this['_localeService']=_0x28dbee,this[_0x12cfd5(0x41b)]=_0x1904b9,this[_0x12cfd5(0x26d)]=_0x55a780,this[_0x12cfd5(0x3cb)](),this[_0x12cfd5(0x19b)](),this[_0x12cfd5(0x32e)]());}[_0x57ea30(0x1d6)](){return this;}[_0x57ea30(0x269)](){return this;}[_0x57ea30(0x162)](){return this;}[_0x57ea30(0x1ab)](){return this;}['onRemoteRetry'](){return this;}[_0x57ea30(0x19e)](){return this;}[_0x57ea30(0x420)](){return this;}['resend'](){var _0x5ef84d=_0x57ea30;throw new Error(_0x5ef84d(0x2de));}[_0x57ea30(0x19b)](){var _0xf36335=_0x57ea30,_0x3c584e;(_0x3c584e=this[_0xf36335(0x42d)])==null||_0x3c584e[_0xf36335(0x456)](this[_0xf36335(0x239)],this[_0xf36335(0x466)],null,[]);}[_0x57ea30(0x3cb)](){var _0x2d08e7=_0x57ea30;this[_0x2d08e7(0x3f9)]?this['_collaborationUIEventService']['emitEvent']({'id':se['PERMISSION_DENIED']}):this[_0x2d08e7(0x41b)][_0x2d08e7(0x21a)]({'id':se['CONFLICT']});}[_0x57ea30(0x32e)](){var _0x3ea479=_0x57ea30;this[_0x3ea479(0x1f5)]['updatePermissionPoint'](new _0x4f0669(this[_0x3ea479(0x239)])['id'],!0x1);}};de=Re([A(0x6,_0x121c70(_0x8b7349)),A(0x7,_0x39c537),A(0x8,_0x2cf6cb),A(0x9,_0x121c70(_0x117310)),A(0xa,_0x121c70(_0x5931b1)),A(0xb,_0x121c70(pe)),A(0xc,_0x1d8841(J))],de);let fe=class extends be{constructor(_0x47602d,_0x4d3178,_0x12f68f,_0x47b884,_0xb9fc6d,_0x4a81b9,_0x45ded3,_0x4bda70,_0x5c54eb,_0x374145){var _0x49a774=_0x57ea30;super(_0x47602d,_0x4d3178,_0x12f68f,_0x47b884,_0xb9fc6d,_0x4bda70,_0x5c54eb,_0x45ded3,_0x374145),N(this,'status',_0x49a774(0x1ee)),this['_injector']=_0x4a81b9;}[_0x57ea30(0x1d6)](_0x1194b8){var _0x539888=_0x57ea30;return this[_0x539888(0x278)]['push'](_0x1194b8),this['_updateLocalCache'](),this;}[_0x57ea30(0x269)](_0x3829ec){var _0x4987f0=_0x57ea30;throw new Error(_0x4987f0(0x385));}['onRemoteAck'](){var _0x58f6e2=_0x57ea30;throw new Error(_0x58f6e2(0x2a7));}[_0x57ea30(0x1ab)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x57ea30(0x420)](){var _0x149c9a=_0x57ea30;const {_injector:_0x4abccb,_pendingMutations:_0x467b65,_awaitingChangeset:_0x678aa0,unitID:_0x164077,_handler:_0x5d1798,type:_0x52fce0}=this,_0x3f87c9=Di(_0x4abccb,_0x164077,_0x52fce0,_0x678aa0,_0x467b65,_0x5d1798);return _0x3f87c9 instanceof oe?_0x3f87c9[_0x149c9a(0x3e8)]():(_0x3f87c9 instanceof ae||_0x3f87c9 instanceof ue)&&_0x3f87c9['resend'](),_0x3f87c9;}[_0x57ea30(0x286)](){var _0x3ef61f=_0x57ea30;throw new Error(_0x3ef61f(0x1e7));}};fe=Re([A(0x5,_0x121c70(_0x49358f)),A(0x6,_0x121c70(_0x117310)),A(0x7,_0x39c537),A(0x8,_0x2cf6cb),A(0x9,_0x1d8841(J))],fe);let te=class extends be{constructor(_0x4c9f9c,_0xe9928,_0xca798d,_0x30acb1,_0x5948b1,_0x53742d,_0x1ac4f6,_0xf7e8b1,_0x547dab,_0x552165,_0xe9dc8e,_0x4c03c,_0x1d9b87,_0x547a2d){var _0x1141cd=_0x57ea30;super(_0x4c9f9c,_0xe9928,_0xca798d,_0x30acb1,_0x1ac4f6,_0xe9dc8e,_0x4c03c,_0x547dab,_0x547a2d),N(this,'status',_0x1141cd(0x244)),(this['_acknowledgedAwaitingChangeset']=_0x5948b1,this[_0x1141cd(0x1f2)]=_0x53742d,this[_0x1141cd(0x3ec)]=_0xf7e8b1,this['_logService']=_0x552165,this[_0x1141cd(0x464)]=_0x1d9b87,this[_0x1141cd(0x26d)]=_0x547a2d);}[_0x57ea30(0x1c3)](_0x25655f){var _0x568c89=_0x57ea30;try{const _0x3e49dc=[..._0x25655f,...this[_0x568c89(0x1f2)]],_0xc94f68=[this[_0x568c89(0x1ec)]||this['_acknowledgedAwaitingChangeset']][_0x568c89(0x1ed)](_0x4d7f66=>!!_0x4d7f66);let _0xb1c743,_0x1b3401;if(_0xc94f68['length']){const _0x295b74=this[_0x568c89(0x464)]['transformChangesets'](_0x3e49dc,_0xc94f68,!0x1);if(!_0x14716a(_0x295b74))throw _0x295b74[_0x568c89(0x24b)];_0xb1c743=_0x295b74[_0x568c89(0x190)],_0x1b3401=_0x295b74[_0x568c89(0x310)];}else _0xb1c743=_0x3e49dc,_0x1b3401=[];let _0x2299a0=this[_0x568c89(0x278)];_0xb1c743[_0x568c89(0x337)](_0x2f6f79=>{var _0xeb5291=_0x568c89;let _0x5b8c8d;if(_0x2299a0[_0xeb5291(0x1d3)]){const _0x1a6286=this['_transformService'][_0xeb5291(0x34d)](_0x2f6f79,_0x2299a0);if(!_0x37c03b(_0x1a6286))throw _0x1a6286['error'];_0x5b8c8d=_0x1a6286[_0xeb5291(0x190)],_0x2299a0=_0x1a6286[_0xeb5291(0x255)];}else _0x5b8c8d=_0x2f6f79;this[_0xeb5291(0x2b8)](_0x5b8c8d);}),this[_0x568c89(0x206)]&&this[_0x568c89(0x42c)](),this['_awaitingChangeset']&&_0x1b3401['length']&&(_0x1b3401[0x0][_0x568c89(0x1ae)]=this[_0x568c89(0x25d)]());let _0x127471;if(this['_awaitingChangeset']&&_0x2299a0[_0x568c89(0x1d3)]!==0x0)_0x127471=this[_0x568c89(0x3ec)][_0x568c89(0x298)](ae,this[_0x568c89(0x239)],this[_0x568c89(0x466)],_0x1b3401[0x0],_0x2299a0,this[_0x568c89(0x359)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2299a0[_0x568c89(0x1d3)]===0x0)_0x1b3401[0x0][_0x568c89(0x1ae)]=this[_0x568c89(0x25d)](),_0x127471=this['_injector']['createInstance'](ue,this[_0x568c89(0x239)],this[_0x568c89(0x466)],_0x1b3401[0x0],this[_0x568c89(0x359)]);else{if(_0x2299a0[_0x568c89(0x1d3)]!==0x0){const _0x492529=this['_injector'][_0x568c89(0x298)](oe,this[_0x568c89(0x239)],this[_0x568c89(0x466)],_0x2299a0,this[_0x568c89(0x359)]);_0x492529[_0x568c89(0x3e8)](),_0x127471=_0x492529;}else _0x127471=this[_0x568c89(0x3ec)][_0x568c89(0x298)](De,this[_0x568c89(0x239)],this['type'],this[_0x568c89(0x359)]);}}return _0x127471[_0x568c89(0x327)](),_0x127471;}catch(_0x5f116f){return this[_0x568c89(0x26f)][_0x568c89(0x24b)](_0x568c89(0x175),_0x568c89(0x15c),_0x5f116f),this[_0x568c89(0x3ec)][_0x568c89(0x298)](de,this[_0x568c89(0x239)],this['type'],this[_0x568c89(0x1ec)],this['_pendingMutations'],this[_0x568c89(0x359)],!0x1);}}['resend'](){var _0x9215d0=_0x57ea30;throw new Error(_0x9215d0(0x1e9));}[_0x57ea30(0x1d6)](_0x2f8b1e){var _0x52ce36=_0x57ea30;return this['_pendingMutations'][_0x52ce36(0x1d7)](_0x2f8b1e),this;}[_0x57ea30(0x269)](_0x10183d){var _0x3b1848=_0x57ea30;return this[_0x3b1848(0x1f2)][_0x3b1848(0x1d7)](_0x10183d),this;}['onRemoteAck'](_0x517af8){var _0x15ba02=_0x57ea30;if(this[_0x15ba02(0x1ec)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x15ba02(0x321));}[_0x57ea30(0x1ab)](_0x559bb4){var _0x24717a=_0x57ea30;return this[_0x24717a(0x241)](!!(_0x559bb4!=null&&_0x559bb4[_0x24717a(0x3f8)]));}['onRemoteRetry'](){return this;}[_0x57ea30(0x19e)](){var _0x17d0d0=_0x57ea30;return this[_0x17d0d0(0x3ec)][_0x17d0d0(0x298)](fe,this[_0x17d0d0(0x239)],this['type'],this[_0x17d0d0(0x1ec)],this[_0x17d0d0(0x278)],this[_0x17d0d0(0x359)]);}[_0x57ea30(0x420)](){return this;}['_onConflict'](_0x87d397){var _0x26c85d=_0x57ea30;return this['_injector']['createInstance'](de,this[_0x26c85d(0x239)],this[_0x26c85d(0x466)],this['_awaitingChangeset'],this[_0x26c85d(0x278)],this['_handler'],_0x87d397);}};te=Re([A(0x7,_0x121c70(_0x49358f)),A(0x8,_0x121c70(_0x117310)),A(0x9,_0x410aea),A(0xa,_0x39c537),A(0xb,_0x2cf6cb),A(0xc,_0x4877b5),A(0xd,_0x1d8841(J))],te);function Di(_0x15ffb8,_0x146bce,_0x1d5504,_0x5afb12,_0x171299,_0x130d2d){var _0x5bb720=_0x57ea30;return _0x5afb12&&_0x171299[_0x5bb720(0x1d3)]?_0x15ffb8[_0x5bb720(0x298)](ae,_0x146bce,_0x1d5504,_0x5afb12,_0x171299,_0x130d2d,void 0x0):_0x5afb12?_0x15ffb8[_0x5bb720(0x298)](ue,_0x146bce,_0x1d5504,_0x5afb12,_0x130d2d):_0x171299['length']?_0x15ffb8[_0x5bb720(0x298)](oe,_0x146bce,_0x1d5504,_0x171299,_0x130d2d):_0x15ffb8['createInstance'](De,_0x146bce,_0x1d5504,_0x130d2d);}var vr=Object[_0x57ea30(0x2ab)],pr=Object[_0x57ea30(0x457)],Lt=(_0x16e605,_0x53b2b5,_0x27b09e,_0x217e65)=>{var _0x55b266=_0x57ea30;for(var _0x1800ea=_0x217e65>0x1?void 0x0:_0x217e65?pr(_0x53b2b5,_0x27b09e):_0x53b2b5,_0xec9625=_0x16e605[_0x55b266(0x1d3)]-0x1,_0x4c538e;_0xec9625>=0x0;_0xec9625--)(_0x4c538e=_0x16e605[_0xec9625])&&(_0x1800ea=(_0x217e65?_0x4c538e(_0x53b2b5,_0x27b09e,_0x1800ea):_0x4c538e(_0x1800ea))||_0x1800ea);return _0x217e65&&_0x1800ea&&vr(_0x53b2b5,_0x27b09e,_0x1800ea),_0x1800ea;},k=(_0x4f7467,_0xb29187)=>(_0x3b1b18,_0x52ecb9)=>_0xb29187(_0x3b1b18,_0x52ecb9,_0x4f7467);let nt=class extends _0x577131{constructor(_0x11b53b,_0x2ff3d4,_0x5ba79a,_0x3fd3e2,_0x8c30e5,_0x5d4c52,_0x2c2d0e,_0xc3d05d,_0x2e48ba,_0x3840a2,_0x4cf10c,_0x225002,_0x41b08d){var _0x3c0d60=_0x57ea30;super(),N(this,_0x3c0d60(0x1f7),new _0x21aea0(null)),N(this,_0x3c0d60(0x333),this[_0x3c0d60(0x1f7)]['asObservable']()),N(this,_0x3c0d60(0x37b)),N(this,_0x3c0d60(0x3b4),!0x1),N(this,_0x3c0d60(0x3d1),''),N(this,_0x3c0d60(0x235),0x0),N(this,_0x3c0d60(0x45d),this[_0x3c0d60(0x333)][_0x3c0d60(0x197)](_0x3b1b76(_0x2d97ad=>_0x2d97ad?_0x2d97ad[_0x3c0d60(0x1be)]:yi[_0x3c0d60(0x349)]),_0x30f542(0x1))),N(this,_0x3c0d60(0x45e),!0x1),N(this,_0x3c0d60(0x285),[]),(this['unitID']=_0x11b53b,this[_0x3c0d60(0x159)]=_0x2ff3d4,this[_0x3c0d60(0x44c)]=_0x5ba79a,this[_0x3c0d60(0x3ec)]=_0x3fd3e2,this[_0x3c0d60(0x375)]=_0x8c30e5,this[_0x3c0d60(0x3d3)]=_0x5d4c52,this[_0x3c0d60(0x31c)]=_0x2c2d0e,this[_0x3c0d60(0x39f)]=_0xc3d05d,this[_0x3c0d60(0x26f)]=_0x2e48ba,this[_0x3c0d60(0x336)]=_0x3840a2,this['_permissionService']=_0x4cf10c,this['_singleActiveUnitService']=_0x225002,this['_localCacheService']=_0x41b08d);}get[_0x57ea30(0x40b)](){return this['_state'];}async[_0x57ea30(0x1b3)](){var _0x28967d=_0x57ea30;if(this[_0x28967d(0x40b)])throw new Error(_0x28967d(0x284));await this[_0x28967d(0x2e7)]();}[_0x57ea30(0x384)](){var _0x46ac08=_0x57ea30;return this[_0x46ac08(0x3b4)]=!0x0,_0x3ab410(()=>{var _0x5d9cb5=_0x46ac08;this['_collaborationPaused']=!0x1,this[_0x5d9cb5(0x1ac)]();});}[_0x57ea30(0x22a)](_0x38de90){this['_onLocalMutation'](_0x38de90);}[_0x57ea30(0x1aa)](_0x221ac2){var _0x133650=_0x57ea30;this[_0x133650(0x37b)]=_0x221ac2,this[_0x133650(0x1f7)][_0x133650(0x205)](_0x221ac2);}async[_0x57ea30(0x2e7)](){var _0x47fd59=_0x57ea30,_0x24d1a6;this[_0x47fd59(0x1aa)](await this['_createInitialState']()),this[_0x47fd59(0x314)]&&((_0x24d1a6=this['_singleActiveUnitService'])==null||_0x24d1a6[_0x47fd59(0x216)](this[_0x47fd59(0x239)]),this[_0x47fd59(0x2fd)](this[_0x47fd59(0x314)][_0x47fd59(0x1a2)](this[_0x47fd59(0x239)])['subscribe'](_0x5aabf8=>{var _0x374098=_0x47fd59;this[_0x374098(0x26f)]['debug']('[CollaborationEntity]',_0x374098(0x33f),_0x5aabf8),_0x5aabf8===bi['OTHER_CLIENTS_EDITING']?(this[_0x374098(0x39f)][_0x374098(0x21a)]({'id':se[_0x374098(0x320)]}),this['_permissionService'][_0x374098(0x39a)](new _0x4f0669(this['unitID'])['id'],!0x1),this[_0x374098(0x1f5)]['setShowComponents'](!0x1)):(this[_0x374098(0x1f5)][_0x374098(0x39a)](new _0x4f0669(this['unitID'])['id'],!0x0),this[_0x374098(0x1f5)][_0x374098(0x27f)](!0x0));})));let _0x50b33d=!0x1;return this['disposeWithMe'](this[_0x47fd59(0x159)][_0x47fd59(0x35d)][_0x47fd59(0x179)](_0x56465e=>{var _0x258635=_0x47fd59;_0x56465e===Te['ONLINE']?this[_0x258635(0x3c1)](_0x50b33d):_0x56465e===Te[_0x258635(0x349)]&&(_0x50b33d=!0x0,this[_0x258635(0x1f8)]());})),this[_0x47fd59(0x2fd)](this[_0x47fd59(0x159)][_0x47fd59(0x2b3)][_0x47fd59(0x179)](_0x1f01b6=>{var _0x134a70=_0x47fd59;try{switch(_0x1f01b6['eventID']){case _0x50f10f[_0x134a70(0x414)]:{this['_onRemoteChangeset'](_0x40afb4(_0x1f01b6[_0x134a70(0x34c)]));break;}case _0x50f10f['CHANGESET_ACK']:{this[_0x134a70(0x3e5)](_0x1f01b6[_0x134a70(0x34c)]);break;}case _0x50f10f[_0x134a70(0x23b)]:{this['_onRemoteRejected']();break;}case _0x50f10f[_0x134a70(0x30b)]:{this[_0x134a70(0x389)](_0x1f01b6[_0x134a70(0x34c)]);break;}case _0x50f10f[_0x134a70(0x26c)]:{this[_0x134a70(0x392)](_0x1f01b6[_0x134a70(0x34c)][_0x134a70(0x36d)]['map'](_0x5bafc3=>_0x40afb4(_0x5bafc3)));break;}case _0x50f10f[_0x134a70(0x43e)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x50f10f[_0x134a70(0x370)]:break;}}catch(_0x6fa379){throw console[_0x134a70(0x24b)]('Error\x20on\x20receiving\x20event',_0x6fa379),_0x6fa379;}})),this[_0x47fd59(0x37b)];}[_0x57ea30(0x462)](){var _0x30d569=_0x57ea30;this[_0x30d569(0x45e)]=!0x1;}[_0x57ea30(0x364)](){var _0x21ae79=_0x57ea30;if(this[_0x21ae79(0x45e)])throw new Error(_0x21ae79(0x45c));this[_0x21ae79(0x45e)]=!0x0;}['_onLocalMutation'](_0x50e819){var _0x19b73d=_0x57ea30;this[_0x19b73d(0x364)](),this[_0x19b73d(0x1aa)](this[_0x19b73d(0x37b)][_0x19b73d(0x1d6)](_0x50e819)),this['_unlockTransition']();}[_0x57ea30(0x207)](_0x2f516c){var _0x1a327f=_0x57ea30;if(!(_0x2f516c[_0x1a327f(0x35e)]<=this[_0x1a327f(0x31c)][_0x1a327f(0x3f4)](this[_0x1a327f(0x239)]))){if(this[_0x1a327f(0x3b4)]){this['_remoteChangesetQueue']['push'](_0x2f516c);return;}this[_0x1a327f(0x23a)](_0x2f516c);}}[_0x57ea30(0x1ac)](){var _0x4c7ffb=_0x57ea30;this['_remoteChangesetQueue'][_0x4c7ffb(0x337)](_0x2bb936=>this[_0x4c7ffb(0x23a)](_0x2bb936)),this[_0x4c7ffb(0x285)]=[];}[_0x57ea30(0x23a)](_0x973a70){var _0x38d68e=_0x57ea30;const _0x40a53c=this[_0x38d68e(0x375)][_0x38d68e(0x36a)][_0x38d68e(0x2f9)](this[_0x38d68e(0x375)][_0x38d68e(0x36a)]['getInterceptPoints']()[_0x38d68e(0x218)])(_0x973a70[_0x38d68e(0x409)],null)||_0x973a70[_0x38d68e(0x409)],_0x51ba8c={..._0x973a70,'mutations':_0x40a53c};this['_lockTransition'](),this[_0x38d68e(0x1aa)](this['_state'][_0x38d68e(0x269)](_0x51ba8c)),this[_0x38d68e(0x462)]();}[_0x57ea30(0x3e5)](_0x1d0582){var _0x4fa81a=_0x57ea30;this[_0x4fa81a(0x364)](),this[_0x4fa81a(0x1aa)](this[_0x4fa81a(0x37b)][_0x4fa81a(0x162)](_0x1d0582)),this[_0x4fa81a(0x462)]();}[_0x57ea30(0x445)](_0x161b62){var _0x3d32d0=_0x57ea30;this[_0x3d32d0(0x364)](),this[_0x3d32d0(0x1aa)](this['_state'][_0x3d32d0(0x1ab)](_0x161b62)),this[_0x3d32d0(0x462)]();}['_onRemoteRetry'](_0x20dace){var _0x1b95a2=_0x57ea30;this[_0x1b95a2(0x364)](),this[_0x1b95a2(0x1aa)](this[_0x1b95a2(0x37b)][_0x1b95a2(0x20d)](_0x20dace)),this[_0x1b95a2(0x462)]();}['_onFetchMissResult'](_0x6cc018){var _0x59094d=_0x57ea30;if(!(this[_0x59094d(0x37b)]instanceof te))throw new TypeError(_0x59094d(0x17f));const _0x3a020f=_0x6cc018[_0x59094d(0x2c9)](_0x5393ff=>{var _0x4a0b56=_0x59094d;const _0x361999=this[_0x4a0b56(0x375)][_0x4a0b56(0x36a)]['fetchThroughInterceptors'](this[_0x4a0b56(0x375)]['interceptor']['getInterceptPoints']()[_0x4a0b56(0x218)])(_0x5393ff[_0x4a0b56(0x409)],null)||_0x5393ff[_0x4a0b56(0x409)];return{..._0x5393ff,'mutations':_0x361999};});this[_0x59094d(0x364)](),this[_0x59094d(0x1aa)](this[_0x59094d(0x37b)]['onMissedChangesetFetched'](_0x3a020f)),this[_0x59094d(0x462)]();}['_toggleOffline'](){var _0x4ac1ff=_0x57ea30;this[_0x4ac1ff(0x364)](),this[_0x4ac1ff(0x1aa)](this[_0x4ac1ff(0x37b)][_0x4ac1ff(0x19e)]()),this[_0x4ac1ff(0x462)]();}['_toggleOnline'](_0x3d3ccf=!0x1){var _0x454fad=_0x57ea30;this['_lockTransition'](),this['_updateState'](this[_0x454fad(0x37b)][_0x454fad(0x420)]()),this[_0x454fad(0x462)]();const _0x16d4bf=this[_0x454fad(0x37b)];_0x3d3ccf&&_0x16d4bf instanceof De&&(this[_0x454fad(0x364)](),this[_0x454fad(0x1aa)](_0x16d4bf[_0x454fad(0x33b)]()),this['_unlockTransition']());}async[_0x57ea30(0x3ac)](){return new Promise(_0x41aad9=>{var _0x3f7d7e=_0x30c3;this[_0x3f7d7e(0x159)][_0x3f7d7e(0x35d)][_0x3f7d7e(0x197)](_0x3bfa1c(0x1))[_0x3f7d7e(0x179)](async _0x534662=>{var _0x43dea9=_0x3f7d7e;_0x41aad9(await this['_createInitialStateImpl'](_0x534662===Te[_0x43dea9(0x449)]));});});}[_0x57ea30(0x329)](){var _0x166395=_0x57ea30;const _0x4e5b97=this[_0x166395(0x239)];return{'onStateChange':(_0x175de5,_0x2e180b)=>{var _0x34510e=_0x166395;if(_0x175de5!==this[_0x34510e(0x37b)])throw new Error(_0x34510e(0x20c)+_0x175de5[_0x34510e(0x1be)]+_0x34510e(0x1ef)+_0x2e180b[_0x34510e(0x1be)]+'\x0aCurrent:\x20'+this[_0x34510e(0x37b)][_0x34510e(0x1be)]);this[_0x34510e(0x1aa)](_0x2e180b);},'onSendChangeset':_0x3e5704=>{var _0x432f31=_0x166395;_0x3e5704[_0x432f31(0x247)]||(_0x3e5704[_0x432f31(0x247)]=this[_0x432f31(0x3d1)],_0x3e5704[_0x432f31(0x1b6)]=++this[_0x432f31(0x235)]);const _0x4ac5ef={'eventID':_0x50f10f['SUBMIT_CHANGESET'],'data':{'unitID':_0x3e5704[_0x432f31(0x239)],'unitType':this['_type'],'changeset':_0x3e5704,'memberID':this[_0x432f31(0x159)][_0x432f31(0x3a7)]()}};this[_0x432f31(0x159)][_0x432f31(0x36c)](_0x4ac5ef,this[_0x432f31(0x239)]);},'onMissingChangesets':({from:_0x3afa9e,to:_0x448353})=>{var _0x4d710b=_0x166395;this[_0x4d710b(0x26f)][_0x4d710b(0x243)]('[CollaborationEntity]',_0x4d710b(0x260)+_0x3afa9e+_0x4d710b(0x391)+_0x448353);const _0xd6086d={'eventID':_0x50f10f[_0x4d710b(0x182)],'data':{'unitID':_0x4e5b97,'unitType':this[_0x4d710b(0x44c)],'from':_0x3afa9e,'to':_0x448353}};this[_0x4d710b(0x159)]['send'](_0xd6086d,this[_0x4d710b(0x239)]);}};}async[_0x57ea30(0x168)](_0x7b1153){var _0x5a32f6=_0x57ea30,_0x538ce0,_0x56e884,_0x249869;const _0x938593=await((_0x538ce0=this['_localCacheService'])==null?void 0x0:_0x538ce0[_0x5a32f6(0x323)](this['unitID'])),_0x165caf=(_0x56e884=_0x938593==null?void 0x0:_0x938593['mutations'])!=null?_0x56e884:[],_0xf2e221=(_0x249869=_0x938593==null?void 0x0:_0x938593['awaitingChangeset'])!=null?_0x249869:null,_0x21c2d9=!!(_0xf2e221!=null&&_0xf2e221['sid'])&&!!(_0xf2e221!=null&&_0xf2e221[_0x5a32f6(0x1b6)]);this[_0x5a32f6(0x3d1)]=_0x21c2d9?_0xf2e221['sid']:sr(),this[_0x5a32f6(0x235)]=_0x21c2d9?_0xf2e221[_0x5a32f6(0x1b6)]:0x0;const _0x367ea4=this[_0x5a32f6(0x239)];try{this[_0x5a32f6(0x18c)](_0xf2e221,_0x165caf);}catch(_0x5a9081){this[_0x5a32f6(0x26f)][_0x5a32f6(0x24b)](_0x5a9081);}const _0x5494db=this[_0x5a32f6(0x329)]();if(_0x7b1153){const _0x390caa=Di(this['_injector'],_0x367ea4,this[_0x5a32f6(0x44c)],_0xf2e221,_0x165caf,_0x5494db);return _0x390caa instanceof oe?_0x390caa[_0x5a32f6(0x3e8)]():(_0x390caa instanceof ae||_0x390caa instanceof ue)&&_0x390caa['resend'](),_0x390caa;}return this[_0x5a32f6(0x3ec)][_0x5a32f6(0x298)](fe,_0x367ea4,this[_0x5a32f6(0x44c)],_0xf2e221,_0x165caf,_0x5494db);}['_replayCachedMutations'](_0x7a8b04,_0x2d1f16){var _0x572565=_0x57ea30,_0x175a3b,_0x409991;const _0x76e0e=this['_compressMutationService']['interceptor'][_0x572565(0x2f9)](this[_0x572565(0x375)][_0x572565(0x36a)]['getInterceptPoints']()[_0x572565(0x218)]);(_0x175a3b=_0x76e0e((_0x7a8b04==null?void 0x0:_0x7a8b04[_0x572565(0x409)])||[],null))==null||_0x175a3b[_0x572565(0x337)](_0x3da758=>this[_0x572565(0x336)][_0x572565(0x415)](_0x3da758['id'],_0x3da758[_0x572565(0x302)])),(_0x409991=_0x76e0e(_0x2d1f16||[],null))==null||_0x409991[_0x572565(0x337)](_0x5644c2=>this[_0x572565(0x336)]['executeCommand'](_0x5644c2['id'],_0x5644c2[_0x572565(0x302)]));}};nt=Lt([k(0x3,_0x121c70(_0x49358f)),k(0x4,_0x121c70(_0x17c2e2)),k(0x5,_0x121c70(_0x5931b1)),k(0x6,_0x121c70(_0x117310)),k(0x7,_0x121c70(pe)),k(0x8,_0x410aea),k(0x9,_0x39c537),k(0xa,_0x8b7349),k(0xb,_0x1d8841(ht)),k(0xc,_0x1d8841(J))],nt);let Tt=class extends nt{constructor(_0x15cd10,_0x10d8e3,_0x297752,_0x1db944,_0x28588c,_0x520e5c,_0x3f6403,_0x2402d3,_0x29d65b,_0x3cbe0f,_0x288457,_0x2d4ec5,_0x538210){var _0x1dab40=_0x57ea30;super(_0x15cd10,_0x297752,_0x10d8e3,_0x1db944,_0x28588c,_0x520e5c,_0x3f6403,_0x2402d3,_0x29d65b,_0x3cbe0f,_0x288457,_0x2d4ec5,_0x538210),N(this,_0x1dab40(0x290),null),(this[_0x1dab40(0x239)]=_0x15cd10,this['type']=_0x10d8e3);}[_0x57ea30(0x2a3)](_0x105427){var _0xc57520=_0x57ea30;this[_0xc57520(0x290)]=_0x105427;}[_0x57ea30(0x214)](){var _0x5e5ba4=_0x57ea30;this[_0x5e5ba4(0x290)]=null,super[_0x5e5ba4(0x214)]();}[_0x57ea30(0x329)](){var _0x5dba09=_0x57ea30;const _0x2f4d8b=super[_0x5dba09(0x329)]();return _0x2f4d8b[_0x5dba09(0x258)]=_0x4d639c=>{var _0x3a33b8=_0x5dba09,_0x3051fd,_0x2d9d9a;return(_0x2d9d9a=(_0x3051fd=this[_0x3a33b8(0x290)])==null?void 0x0:_0x3051fd[_0x3a33b8(0x258)])==null?void 0x0:_0x2d9d9a[_0x3a33b8(0x209)](_0x3051fd,_0x4d639c);},_0x2f4d8b[_0x5dba09(0x17d)]=_0x39b0c8=>{var _0x3f6577=_0x5dba09,_0x32e3ce,_0x30d50b;return(_0x30d50b=(_0x32e3ce=this['_handlerCallback'])==null?void 0x0:_0x32e3ce[_0x3f6577(0x17d)])==null?void 0x0:_0x30d50b['call'](_0x32e3ce,_0x39b0c8);},_0x2f4d8b[_0x5dba09(0x2ac)]=_0x3c1825=>{var _0x21e28a=_0x5dba09,_0x2be3b2,_0x196dd8;return(_0x196dd8=(_0x2be3b2=this[_0x21e28a(0x290)])==null?void 0x0:_0x2be3b2['onTransformSelections'])==null?void 0x0:_0x196dd8[_0x21e28a(0x209)](_0x2be3b2,_0x3c1825);},_0x2f4d8b[_0x5dba09(0x1a4)]=_0x4c3c40=>{var _0x3e13d8=_0x5dba09,_0x1280f1,_0xa83b43;return(_0xa83b43=(_0x1280f1=this[_0x3e13d8(0x290)])==null?void 0x0:_0x1280f1[_0x3e13d8(0x1a4)])==null?void 0x0:_0xa83b43[_0x3e13d8(0x209)](_0x1280f1,_0x4c3c40);},_0x2f4d8b[_0x5dba09(0x3f6)]=_0x23a2c5=>{var _0x5d62bb=_0x5dba09,_0x12e67f,_0x2cfafc,_0x490698;if(!((_0x12e67f=this[_0x5d62bb(0x290)])!=null&&_0x12e67f[_0x5d62bb(0x3f6)]))throw new Error(_0x5d62bb(0x379));return(_0x490698=(_0x2cfafc=this[_0x5d62bb(0x290)])==null?void 0x0:_0x2cfafc['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x490698[_0x5d62bb(0x209)](_0x2cfafc,_0x23a2c5);},_0x2f4d8b[_0x5dba09(0x335)]=_0x49855f=>{var _0x453dee=_0x5dba09,_0x29a5e4,_0x46cd0b,_0x49f084;if(!((_0x29a5e4=this[_0x453dee(0x290)])!=null&&_0x29a5e4[_0x453dee(0x335)]))throw new Error(_0x453dee(0x408));return(_0x49f084=(_0x46cd0b=this[_0x453dee(0x290)])==null?void 0x0:_0x46cd0b[_0x453dee(0x335)])==null?void 0x0:_0x49f084[_0x453dee(0x209)](_0x46cd0b,_0x49855f);},_0x2f4d8b;}async[_0x57ea30(0x2e7)](){var _0x413c2b=_0x57ea30;const _0x49afaf=await super[_0x413c2b(0x2e7)]();return this[_0x413c2b(0x2fd)](this['_commandService'][_0x413c2b(0x2b0)]((_0x15bc43,_0x161d21)=>{var _0x34090c=_0x413c2b;if(_0x15bc43[_0x34090c(0x466)]!==_0x530150[_0x34090c(0x1b2)]||_0x161d21!=null&&_0x161d21[_0x34090c(0x2cf)]||_0x161d21!=null&&_0x161d21[_0x34090c(0x222)]||_0x15bc43['id']===_0x36d8f7['id'])return;const _0x558123=_0x15bc43[_0x34090c(0x302)];if((_0x558123==null?void 0x0:_0x558123[_0x34090c(0x288)])!==this[_0x34090c(0x239)])return;const _0x4172d6=_0x15bc43,_0x4102c6=this[_0x34090c(0x375)][_0x34090c(0x36a)][_0x34090c(0x2f9)](this['_compressMutationService'][_0x34090c(0x36a)][_0x34090c(0x165)]()[_0x34090c(0x3c8)])([_0x4172d6],null)||[_0x4172d6];this[_0x34090c(0x3fb)](_0x4102c6[0x0]);})),_0x49afaf;}};Tt=Lt([k(0x3,_0x121c70(_0x49358f)),k(0x4,_0x121c70(_0x17c2e2)),k(0x5,_0x121c70(_0x5931b1)),k(0x6,_0x121c70(_0x117310)),k(0x7,_0x121c70(pe)),k(0x8,_0x410aea),k(0x9,_0x39c537),k(0xa,_0x8b7349),k(0xb,_0x1d8841(ht)),k(0xc,_0x1d8841(J))],Tt);let Ct=class extends nt{constructor(_0x2489fe,_0x480b72,_0x3d12b5,_0x5f412d,_0x55d244,_0x43a188,_0x748da5,_0x56a7e3,_0x23419c,_0x53fb4c,_0x3bfca4,_0x3e5e12,_0x2e954d,_0x3e8aab){var _0x559330=_0x57ea30;super(_0x2489fe,_0x3d12b5,_0x480b72,_0x5f412d,_0x55d244,_0x43a188,_0x748da5,_0x23419c,_0x53fb4c,_0x3bfca4,_0x3e5e12,_0x2e954d,_0x3e8aab),this[_0x559330(0x239)]=_0x2489fe,this['type']=_0x480b72,this['_sheetTransformSelectionsService']=_0x56a7e3;}[_0x57ea30(0x329)](){var _0x297679=_0x57ea30;const _0x2089ba=super[_0x297679(0x329)]();return _0x2089ba[_0x297679(0x2ac)]=_0x141414=>this['_sheetTransformSelectionsService'][_0x297679(0x28e)](_0x141414),_0x2089ba;}async[_0x57ea30(0x2e7)](){var _0x40234c=_0x57ea30;const _0x16b053=await super[_0x40234c(0x2e7)]();return this[_0x40234c(0x2fd)](this[_0x40234c(0x336)]['onCommandExecuted']((_0x14168d,_0x18e81c)=>{var _0x54529d=_0x40234c;if(_0x14168d[_0x54529d(0x466)]!==_0x530150[_0x54529d(0x1b2)]||_0x18e81c!=null&&_0x18e81c['fromCollab']||_0x18e81c!=null&&_0x18e81c[_0x54529d(0x222)])return;const _0x42403d=_0x14168d[_0x54529d(0x302)];if((_0x42403d==null?void 0x0:_0x42403d[_0x54529d(0x288)])!==this['unitID'])return;const _0x16c923=_0x14168d,_0x1e8f96=this[_0x54529d(0x375)][_0x54529d(0x36a)]['fetchThroughInterceptors'](this[_0x54529d(0x375)][_0x54529d(0x36a)][_0x54529d(0x165)]()['COMPRESS_MUTATION_SEND'])([_0x16c923],null)||[_0x16c923];this['_onLocalMutation'](_0x1e8f96[0x0]);})),_0x16b053;}};Ct=Lt([k(0x3,_0x121c70(_0x49358f)),k(0x4,_0x121c70(_0x17c2e2)),k(0x5,_0x121c70(_0x5931b1)),k(0x6,_0x121c70(_0x117310)),k(0x7,_0x121c70(it)),k(0x8,_0x121c70(pe)),k(0x9,_0x410aea),k(0xa,_0x39c537),k(0xb,_0x8b7349),k(0xc,_0x1d8841(ht)),k(0xd,_0x1d8841(J))],Ct);var mr=Object[_0x57ea30(0x2ab)],gr=Object[_0x57ea30(0x457)],Sr=(_0x27c353,_0x517c05,_0x1da5a5,_0x42c6e3)=>{var _0x2f5767=_0x57ea30;for(var _0x201064=_0x42c6e3>0x1?void 0x0:_0x42c6e3?gr(_0x517c05,_0x1da5a5):_0x517c05,_0x239829=_0x27c353[_0x2f5767(0x1d3)]-0x1,_0x220048;_0x239829>=0x0;_0x239829--)(_0x220048=_0x27c353[_0x239829])&&(_0x201064=(_0x42c6e3?_0x220048(_0x517c05,_0x1da5a5,_0x201064):_0x220048(_0x201064))||_0x201064);return _0x42c6e3&&_0x201064&&mr(_0x517c05,_0x1da5a5,_0x201064),_0x201064;},ft=(_0x59226b,_0x38c2be)=>(_0x255cf0,_0xb92044)=>_0x38c2be(_0x255cf0,_0xb92044,_0x59226b);let rt=class extends _0x577131{constructor(_0x229a99,_0x32af91,_0x26d1ce){var _0xbba94d=_0x57ea30;super(),N(this,'_entities',new Map()),N(this,_0xbba94d(0x446),new _0x378d79()),N(this,'entityInit$',this['_entityInit$'][_0xbba94d(0x271)]()),(this[_0xbba94d(0x3ec)]=_0x229a99,this['_collabSessionService']=_0x32af91,this['_univerInstanceService']=_0x26d1ce,this[_0xbba94d(0x2e7)]());}['dispose'](){var _0x22a03a=_0x57ea30;super[_0x22a03a(0x214)](),this[_0x22a03a(0x315)][_0x22a03a(0x337)](_0x3cba6f=>_0x3cba6f['dispose']()),this[_0x22a03a(0x315)][_0x22a03a(0x2fb)]();}[_0x57ea30(0x455)](_0x447ca0){var _0xb7888c=_0x57ea30,_0x4ccf3c;return(_0x4ccf3c=this['_entities'][_0xb7888c(0x17b)](_0x447ca0))!=null?_0x4ccf3c:null;}[_0x57ea30(0x296)](_0x44b4da){var _0x4c4ef6=_0x57ea30;const _0x36cac0=this[_0x4c4ef6(0x455)](_0x44b4da);return _0x36cac0?_0x36584b(_0x36cac0):this[_0x4c4ef6(0x446)][_0x4c4ef6(0x197)](_0x4d1c41(_0x546311=>_0x546311['unitID']===_0x44b4da));}['readyForCollab'](_0x5ad2a0){var _0x124d3e=_0x57ea30;return _0xfcf877(this[_0x124d3e(0x296)](_0x5ad2a0)['pipe'](_0x18d76c(()=>{})));}[_0x57ea30(0x2e7)](){var _0x43646c=_0x57ea30;this[_0x43646c(0x46f)]['getTypeOfUnitAdded$'](_0x33b7bd['UNIVER_SHEET'])[_0x43646c(0x197)](_0x306370(this[_0x43646c(0x1c4)]),_0x26959e(0x10))['subscribe'](async _0x47627d=>{var _0x37c16b=_0x43646c;const _0x3df616=_0x47627d[_0x37c16b(0x377)](),_0x212eb4=await this[_0x37c16b(0x2d9)](_0x3df616,Q[_0x37c16b(0x2d1)]);this[_0x37c16b(0x315)][_0x37c16b(0x44b)](_0x3df616,_0x212eb4);}),this[_0x43646c(0x46f)][_0x43646c(0x3a3)](_0x33b7bd[_0x43646c(0x44d)])['pipe'](_0x306370(this['dispose$']),_0x26959e(0x10))[_0x43646c(0x197)](_0x4d1c41(_0x8308d4=>!_0x8308d4[_0x43646c(0x377)]()[_0x43646c(0x29b)]('__')))[_0x43646c(0x179)](async _0x55884c=>{var _0x436307=_0x43646c;const _0x4f87db=_0x55884c[_0x436307(0x377)](),_0x1fc439=await this[_0x436307(0x2d9)](_0x4f87db,Q[_0x436307(0x44d)]);this[_0x436307(0x315)][_0x436307(0x44b)](_0x4f87db,_0x1fc439);}),_0x20f86f(this[_0x43646c(0x46f)][_0x43646c(0x383)](_0x33b7bd[_0x43646c(0x2d1)]),this[_0x43646c(0x46f)][_0x43646c(0x383)](_0x33b7bd[_0x43646c(0x44d)]))['pipe'](_0x306370(this[_0x43646c(0x1c4)]))[_0x43646c(0x179)](_0x44d8b=>{var _0x7a45dd=_0x43646c;const _0x2d5a38=_0x44d8b[_0x7a45dd(0x377)](),_0x160ad5=this[_0x7a45dd(0x315)][_0x7a45dd(0x17b)](_0x2d5a38);_0x160ad5&&(_0x160ad5[_0x7a45dd(0x214)](),this[_0x7a45dd(0x315)][_0x7a45dd(0x2d3)](_0x2d5a38));});}async[_0x57ea30(0x2d9)](_0x4078e4,_0x797d8f){var _0x5362cd=_0x57ea30;const _0xec5687=await this['_collabSessionService']['requireSession'](_0x4078e4),_0x4dd77e=this[_0x5362cd(0x3ec)][_0x5362cd(0x298)](this[_0x5362cd(0x177)](_0x797d8f),_0x4078e4,_0x797d8f,_0xec5687);return await _0x4dd77e[_0x5362cd(0x1b3)](),this[_0x5362cd(0x446)][_0x5362cd(0x205)](_0x4dd77e),_0x4dd77e;}[_0x57ea30(0x177)](_0x103bf2){var _0x510b25=_0x57ea30;switch(_0x103bf2){case Q['UNIVER_DOC']:return Tt;case Q[_0x510b25(0x2d1)]:return Ct;default:throw new Error(_0x510b25(0x469)+_0x103bf2);}}};function _0x30c3(_0x3204f3,_0x3af440){var _0x2a3067=_0x2a30();return _0x30c3=function(_0x30c345,_0x3826e3){_0x30c345=_0x30c345-0x159;var _0x26fb8e=_0x2a3067[_0x30c345];return _0x26fb8e;},_0x30c3(_0x3204f3,_0x3af440);}rt=Sr([ft(0x0,_0x121c70(_0x49358f)),ft(0x1,_0x121c70(Le)),ft(0x2,_0x3b1049)],rt);var Er=Object[_0x57ea30(0x2ab)],Ir=Object[_0x57ea30(0x457)],Tr=(_0x4a1949,_0x52b92f,_0x3eaa35,_0x2c8873)=>{var _0x2dfc2b=_0x57ea30;for(var _0x15020e=_0x2c8873>0x1?void 0x0:_0x2c8873?Ir(_0x52b92f,_0x3eaa35):_0x52b92f,_0x1bdf62=_0x4a1949[_0x2dfc2b(0x1d3)]-0x1,_0x48c9b1;_0x1bdf62>=0x0;_0x1bdf62--)(_0x48c9b1=_0x4a1949[_0x1bdf62])&&(_0x15020e=(_0x2c8873?_0x48c9b1(_0x52b92f,_0x3eaa35,_0x15020e):_0x48c9b1(_0x15020e))||_0x15020e);return _0x2c8873&&_0x15020e&&Er(_0x52b92f,_0x3eaa35,_0x15020e),_0x15020e;},Jt=(_0x33751b,_0x46d36a)=>(_0x5a4361,_0x4b4f0c)=>_0x46d36a(_0x5a4361,_0x4b4f0c,_0x33751b);const Cr='DEFAULT_FILE_NAME',Rr='Univer';let Rt=class extends _0x232634{constructor(_0x5634c6,_0x409c9d){super(),this['_univerInstanceService']=_0x5634c6,this['_configService']=_0x409c9d,this['_init']();}[_0x57ea30(0x2e7)](){var _0x36fc5b=_0x57ea30;this[_0x36fc5b(0x2fd)](this[_0x36fc5b(0x46f)][_0x36fc5b(0x186)][_0x36fc5b(0x179)](()=>{var _0x1e5d1a=_0x36fc5b,_0x44969b;const _0x5f3c05=this['_univerInstanceService'][_0x1e5d1a(0x393)]();let _0x45bbb3=(_0x44969b=this[_0x1e5d1a(0x276)][_0x1e5d1a(0x341)](Cr))!=null?_0x44969b:Rr;_0x5f3c05 instanceof _0x5d02c2&&(_0x45bbb3=_0x5f3c05[_0x1e5d1a(0x2ce)]),document[_0x1e5d1a(0x3f1)]=_0x45bbb3;}));}};Rt=Tr([Jt(0x0,_0x3b1049),Jt(0x1,_0x5a8f33)],Rt);var br=Object[_0x57ea30(0x2ab)],Or=Object[_0x57ea30(0x457)],yr=(_0x1715cf,_0x25e937,_0x449354,_0x343806)=>{var _0x589e35=_0x57ea30;for(var _0x930e4d=_0x343806>0x1?void 0x0:_0x343806?Or(_0x25e937,_0x449354):_0x25e937,_0x4dc3e8=_0x1715cf[_0x589e35(0x1d3)]-0x1,_0xc90e25;_0x4dc3e8>=0x0;_0x4dc3e8--)(_0xc90e25=_0x1715cf[_0x4dc3e8])&&(_0x930e4d=(_0x343806?_0xc90e25(_0x25e937,_0x449354,_0x930e4d):_0xc90e25(_0x930e4d))||_0x930e4d);return _0x343806&&_0x930e4d&&br(_0x25e937,_0x449354,_0x930e4d),_0x930e4d;},vt=(_0x21e7d1,_0x56136e)=>(_0xc69f83,_0x5c37c3)=>_0x56136e(_0xc69f83,_0x5c37c3,_0x21e7d1);let st=class{constructor(_0x23d8b2,_0x413ebf,_0x14d573){var _0xcf0127=_0x57ea30;this['_configService']=_0x23d8b2,this[_0xcf0127(0x2ec)]=_0x413ebf,this[_0xcf0127(0x25b)]=_0x14d573,this[_0xcf0127(0x1b3)]();}['init'](){var _0x282d1e=_0x57ea30;this[_0x282d1e(0x2ec)][_0x282d1e(0x18f)]({'priority':0x1,'interceptor':(_0x9264c6,_0x15e244)=>_0x15e244(_0x9264c6)[_0x282d1e(0x197)](_0x518cb9(async _0x41333d=>{var _0x2e9310=_0x282d1e;const _0x24dfb7=_0x41333d;if(_0x24dfb7[_0x2e9310(0x1be)]===0x191){if(typeof window>'u')throw new Error(_0x2e9310(0x2c6));if(window[_0x2e9310(0x1c5)](this[_0x2e9310(0x25b)]['t'](_0x2e9310(0x342)))){const _0x55e02a=window['encodeURIComponent'](window['location']['href']);window[_0x2e9310(0x198)][_0x2e9310(0x3f2)]=this[_0x2e9310(0x1a8)]()+_0x2e9310(0x18e)+_0x55e02a;}}return _0x24dfb7;}))});}[_0x57ea30(0x1a8)](){var _0x1d2f4c=_0x57ea30,_0xef9ab1,_0x582a5e;const _0xe68cfc=this['_configService']['getConfig'](xn),_0x50ce26=this['_configService'][_0x1d2f4c(0x341)](q);return(_0x582a5e=(_0xef9ab1=_0x50ce26==null?void 0x0:_0x50ce26['loginUrlKey'])!=null?_0xef9ab1:_0xe68cfc)!=null?_0x582a5e:Ln;}};st=yr([vt(0x0,_0x5a8f33),vt(0x1,_0x121c70(_0x457bbb)),vt(0x2,_0x121c70(_0x5931b1))],st);var Nr=Object[_0x57ea30(0x2ab)],Dr=Object[_0x57ea30(0x457)],Pr=(_0x4b65dd,_0x5f2c2e,_0x26b374,_0x5f3de5)=>{var _0x57bb82=_0x57ea30;for(var _0xfbf5d2=_0x5f3de5>0x1?void 0x0:_0x5f3de5?Dr(_0x5f2c2e,_0x26b374):_0x5f2c2e,_0x515f37=_0x4b65dd[_0x57bb82(0x1d3)]-0x1,_0x38c5d7;_0x515f37>=0x0;_0x515f37--)(_0x38c5d7=_0x4b65dd[_0x515f37])&&(_0xfbf5d2=(_0x5f3de5?_0x38c5d7(_0x5f2c2e,_0x26b374,_0xfbf5d2):_0x38c5d7(_0xfbf5d2))||_0xfbf5d2);return _0x5f3de5&&_0xfbf5d2&&Nr(_0x5f2c2e,_0x26b374,_0xfbf5d2),_0xfbf5d2;},Xt=(_0x330fe8,_0x250f14)=>(_0x1bd651,_0x44e499)=>_0x250f14(_0x1bd651,_0x44e499,_0x330fe8);const Pi='AUTHZ_URL_KEY',wr=_0x57ea30(0x30d);let bt=class extends _0x232634{constructor(_0x4c0d70,_0x4c8136){var _0x19ddfe=_0x57ea30;super(),this['_HTTPService']=_0x4c0d70,this[_0x19ddfe(0x276)]=_0x4c8136,this['_initMergeInterceptor']();}[_0x57ea30(0x1a1)](){var _0x4535fc=_0x57ea30;const _0x34e9ef=this;this[_0x4535fc(0x2fd)](this[_0x4535fc(0x35c)][_0x4535fc(0x18f)]({'priority':0x3e7,'interceptor':_0x522fe1({'isMatch'(_0x5163fd){var _0x28f815=_0x4535fc,_0x4b6518;if(_0x5163fd[_0x28f815(0x2ff)]===_0x28f815(0x257)&&((_0x4b6518=_0x5163fd['requestParams'])!=null&&_0x4b6518[_0x28f815(0x3d6)])){const {objectID:_0x3c1601,objectType:_0x662f5}=_0x5163fd[_0x28f815(0x331)][_0x28f815(0x3d6)]||{};if(!_0x3c1601||_0x662f5===void 0x0)return!0x1;const _0x5f54f3=_0x34e9ef['_getAPIPrefixPath']()+'/'+_0x662f5+_0x28f815(0x1fb)+_0x3c1601+_0x28f815(0x2d0);if(_0x5163fd[_0x28f815(0x199)]===_0x5f54f3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x575144){var _0x186498=_0x4535fc,_0x311d4c;return(_0x311d4c=_0x575144[_0x186498(0x331)])==null?void 0x0:_0x311d4c[_0x186498(0x3d6)];},'mergeParamsToRequest'(_0x50cf7d,_0x5eb196){var _0x58d1f5=_0x4535fc;const _0x4721f8=_0x34e9ef[_0x58d1f5(0x256)]()+'/-/object/-/batch_allowed',_0x2dd9e6=_0x50cf7d[_0x58d1f5(0x398)]((_0x13cfba,_0x5e8590)=>{const {unitID:_0x2be708,objectID:_0x1584a1,objectType:_0x98d9c8,actions:_0x90b976}=_0x5e8590;return _0x13cfba[_0x2be708]||(_0x13cfba[_0x2be708]={}),_0x13cfba[_0x2be708][_0x1584a1]||(_0x13cfba[_0x2be708][_0x1584a1]={'objectID':_0x1584a1,'objectType':_0x98d9c8,'actions':[]}),_0x13cfba[_0x2be708][_0x1584a1]['actions']['push'](..._0x90b976),_0x13cfba;},{}),_0x3b68f8=[];for(const _0xacebcf in _0x2dd9e6)for(const _0x1beab8 in _0x2dd9e6[_0xacebcf]){const {actions:_0x5724cb,objectType:_0x4f811d}=_0x2dd9e6[_0xacebcf][_0x1beab8],_0xc469b8=[...new Set(_0x5724cb)];_0x3b68f8[_0x58d1f5(0x1d7)]({'unitID':_0xacebcf,'objectID':_0x1beab8,'objectType':_0x4f811d,'actions':_0xc469b8});}return new _0x109246(_0x58d1f5(0x257),_0x4721f8,{'headers':_0x5eb196['headers'],'withCredentials':_0x5eb196[_0x58d1f5(0x2c7)],'responseType':_0x5eb196['responseType'],'body':{'requests':_0x3b68f8}});}},{'distributeResult'(_0x2b0c54,_0x22ce9a){var _0x23974d=_0x4535fc;const {objectActions:_0x24c03f}=_0x2b0c54;return _0x22ce9a[_0x23974d(0x2c9)](_0x4e6bd6=>{var _0xa902f5=_0x23974d;const {unitID:_0x4071c2,objectID:_0x52c099,actions:_0x46deed}=_0x4e6bd6,_0x1a6ce9=_0x24c03f['find'](_0x4f963a=>_0x4f963a[_0xa902f5(0x239)]===_0x4071c2&&_0x4f963a['objectID']===_0x52c099),_0x2b5736=_0x46deed[_0xa902f5(0x2c9)](_0x1a23d5=>_0x1a6ce9==null?void 0x0:_0x1a6ce9[_0xa902f5(0x196)][_0xa902f5(0x369)](_0x1c39a8=>_0x1c39a8['action']===_0x1a23d5))[_0xa902f5(0x1ed)](_0x1d51f9=>!!_0x1d51f9);return{'config':_0x4e6bd6,'result':{'actions':_0x2b5736,'error':_0x2b0c54[_0xa902f5(0x24b)]}};});}})}));}[_0x57ea30(0x256)](){var _0x7918b5=_0x57ea30,_0x40c487,_0x2c5ad0;const _0x38cf98=this[_0x7918b5(0x276)][_0x7918b5(0x341)](Pi),_0x58c64e=this['_configService']['getConfig'](q);return(_0x2c5ad0=(_0x40c487=_0x58c64e==null?void 0x0:_0x58c64e[_0x7918b5(0x1e6)])!=null?_0x40c487:_0x38cf98)!=null?_0x2c5ad0:wr;}async[_0x57ea30(0x1ea)](_0x2bed0b){var _0x5eb745=_0x57ea30;const _0x5bf7ef=this[_0x5eb745(0x256)]()+'/'+_0x2bed0b['objectType']+_0x5eb745(0x3e2);return(await this[_0x5eb745(0x35c)]['post'](_0x5bf7ef,{'body':_0x2bed0b}))[_0x5eb745(0x3d6)][_0x5eb745(0x305)]||'';}async[_0x57ea30(0x386)](_0x218ceb){var _0x2f9a14=_0x57ea30;const _0x599ec7=this[_0x2f9a14(0x256)]()+_0x2f9a14(0x221);return(await this[_0x2f9a14(0x35c)][_0x2f9a14(0x405)](_0x599ec7,{'body':_0x218ceb}))[_0x2f9a14(0x3d6)][_0x2f9a14(0x2c4)];}async[_0x57ea30(0x16a)](_0x201ba2){var _0xf5076b=_0x57ea30;const _0x298268=this['_getAPIPrefixPath']()+'/'+_0x201ba2[_0xf5076b(0x448)]+_0xf5076b(0x1fb)+_0x201ba2[_0xf5076b(0x305)];await this['_HTTPService'][_0xf5076b(0x3c2)](_0x298268,{'body':_0x201ba2});}async[_0x57ea30(0x37a)](_0x228611){var _0x3e047e=_0x57ea30;const _0x59184a=this[_0x3e047e(0x256)]()+'/'+_0x228611['objectType']+_0x3e047e(0x1fb)+_0x228611[_0x3e047e(0x305)]+_0x3e047e(0x2d0);return(await this[_0x3e047e(0x35c)]['post'](_0x59184a,{'body':_0x228611}))[_0x3e047e(0x3d6)][_0x3e047e(0x196)];}async[_0x57ea30(0x350)](_0x546345){var _0x34a3e6=_0x57ea30;const _0x548365=this[_0x34a3e6(0x256)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x34a3e6(0x405)](_0x548365,{'body':{'requests':_0x546345}}))[_0x34a3e6(0x3d6)][_0x34a3e6(0x180)];}async[_0x57ea30(0x1bd)](_0x7a07e2){var _0x595710=_0x57ea30;const _0x3f77ed=this['_getAPIPrefixPath']()+'/'+_0x7a07e2[_0x595710(0x448)]+_0x595710(0x2e6),_0x3f2639=await this['_HTTPService']['post'](_0x3f77ed,{'body':_0x7a07e2});return{'roles':_0x3f2639['body'][_0x595710(0x1cc)],'actions':_0x3f2639['body'][_0x595710(0x196)]};}async[_0x57ea30(0x437)](_0xfa1c77){var _0x2106c4=_0x57ea30;const _0x5945e1=this[_0x2106c4(0x256)]()+_0x2106c4(0x45f);await this['_HTTPService'][_0x2106c4(0x2d3)](_0x5945e1,{'params':{'collaboratorID':_0xfa1c77['collaboratorID'],'objectID':_0xfa1c77[_0x2106c4(0x305)],'unitID':_0xfa1c77['unitID']}});}async[_0x57ea30(0x265)](_0x432094){var _0x2dd773=_0x57ea30;const _0x347f6a=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2dd773(0x35c)][_0x2dd773(0x23e)](_0x347f6a,{'body':_0x432094});}async[_0x57ea30(0x3eb)](_0x571bbb){var _0x425032=_0x57ea30;const _0x194783=this[_0x425032(0x256)]()+_0x425032(0x45f);await this[_0x425032(0x35c)]['post'](_0x194783,{'body':_0x571bbb});}async[_0x57ea30(0x435)](_0x3be617){var _0x1437c5=_0x57ea30;const _0x146a50=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x1437c5(0x17b)](_0x146a50,{'params':{'objectID':_0x3be617[_0x1437c5(0x305)],'unitID':_0x3be617['unitID']}}))[_0x1437c5(0x3d6)]['collaborators'];}async['putCollaborators'](_0x2bacdf){var _0x75a969=_0x57ea30;const _0x2f1dee=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x75a969(0x35c)][_0x75a969(0x3c2)](_0x2f1dee,{'body':_0x2bacdf});}};bt=Pr([Xt(0x0,_0x121c70(_0x457bbb)),Xt(0x1,_0x121c70(_0x5a8f33))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x96d740){var _0xc1343d=_0x57ea30;return _0x96d740&&_0x96d740['__esModule']&&Object[_0xc1343d(0x33d)][_0xc1343d(0x423)][_0xc1343d(0x209)](_0x96d740,_0xc1343d(0x23d))?_0x96d740[_0xc1343d(0x23d)]:_0x96d740;}var Ve={'exports':{}};function Ur(_0x20a703){var _0x727a7e=_0x57ea30;throw new Error(_0x727a7e(0x324)+_0x20a703+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x57ea30(0x294)],Zt;function ne(){return Zt||(Zt=0x1,function(_0x30d24f,_0x35f334){(function(_0x2e1110,_0x4e0029){var _0x361e99=_0x30c3;_0x30d24f[_0x361e99(0x294)]=_0x4e0029();}(Ar,function(){var _0x416e6c=_0x416e6c||function(_0x3d5fd7,_0x466fa0){var _0x2ea687=_0x30c3,_0x2b2528;if(typeof window<'u'&&window['crypto']&&(_0x2b2528=window[_0x2ea687(0x3a9)]),typeof self<'u'&&self[_0x2ea687(0x3a9)]&&(_0x2b2528=self[_0x2ea687(0x3a9)]),typeof globalThis<'u'&&globalThis[_0x2ea687(0x3a9)]&&(_0x2b2528=globalThis[_0x2ea687(0x3a9)]),!_0x2b2528&&typeof window<'u'&&window[_0x2ea687(0x16d)]&&(_0x2b2528=window[_0x2ea687(0x16d)]),!_0x2b2528&&typeof pt<'u'&&pt[_0x2ea687(0x3a9)]&&(_0x2b2528=pt[_0x2ea687(0x3a9)]),!_0x2b2528&&typeof Ur==_0x2ea687(0x2d6))try{_0x2b2528=require('crypto');}catch{}var _0x50f489=function(){var _0x15416a=_0x2ea687;if(_0x2b2528){if(typeof _0x2b2528[_0x15416a(0x400)]=='function')try{return _0x2b2528['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b2528[_0x15416a(0x26b)]==_0x15416a(0x2d6))try{return _0x2b2528[_0x15416a(0x26b)](0x4)[_0x15416a(0x2a9)]();}catch{}}throw new Error(_0x15416a(0x3b0));},_0x1bfbe0=Object[_0x2ea687(0x1ea)]||(function(){function _0xe688fd(){}return function(_0x58ddab){var _0x2019e9=_0x30c3,_0x4c2e2a;return _0xe688fd[_0x2019e9(0x33d)]=_0x58ddab,_0x4c2e2a=new _0xe688fd(),_0xe688fd[_0x2019e9(0x33d)]=null,_0x4c2e2a;};}()),_0x2694ac={},_0x44f9ee=_0x2694ac[_0x2ea687(0x1f4)]={},_0x30c857=_0x44f9ee[_0x2ea687(0x1c8)]=(function(){return{'extend':function(_0xcd66d0){var _0x5ba66c=_0x30c3,_0x41b57a=_0x1bfbe0(this);return _0xcd66d0&&_0x41b57a[_0x5ba66c(0x3b9)](_0xcd66d0),(!_0x41b57a[_0x5ba66c(0x423)](_0x5ba66c(0x1b3))||this['init']===_0x41b57a[_0x5ba66c(0x1b3)])&&(_0x41b57a['init']=function(){_0x41b57a['$super']['init']['apply'](this,arguments);}),_0x41b57a[_0x5ba66c(0x1b3)][_0x5ba66c(0x33d)]=_0x41b57a,_0x41b57a[_0x5ba66c(0x3c6)]=this,_0x41b57a;},'create':function(){var _0x18024d=_0x30c3,_0x5a9d4b=this[_0x18024d(0x1fa)]();return _0x5a9d4b[_0x18024d(0x1b3)]['apply'](_0x5a9d4b,arguments),_0x5a9d4b;},'init':function(){},'mixIn':function(_0x4a1dce){var _0x1a787f=_0x30c3;for(var _0x4a7f46 in _0x4a1dce)_0x4a1dce[_0x1a787f(0x423)](_0x4a7f46)&&(this[_0x4a7f46]=_0x4a1dce[_0x4a7f46]);_0x4a1dce['hasOwnProperty'](_0x1a787f(0x416))&&(this[_0x1a787f(0x416)]=_0x4a1dce['toString']);},'clone':function(){var _0x46370b=_0x30c3;return this[_0x46370b(0x1b3)][_0x46370b(0x33d)][_0x46370b(0x1fa)](this);}};}()),_0x3a671c=_0x44f9ee['WordArray']=_0x30c857['extend']({'init':function(_0x5d9b84,_0x46a857){var _0x9cf103=_0x2ea687;_0x5d9b84=this[_0x9cf103(0x164)]=_0x5d9b84||[],_0x46a857!=_0x466fa0?this['sigBytes']=_0x46a857:this[_0x9cf103(0x2be)]=_0x5d9b84[_0x9cf103(0x1d3)]*0x4;},'toString':function(_0x45d16b){var _0x65a0c0=_0x2ea687;return(_0x45d16b||_0x338dc7)[_0x65a0c0(0x3ea)](this);},'concat':function(_0x21f6ed){var _0x5cd03a=_0x2ea687,_0x4238ff=this[_0x5cd03a(0x164)],_0x2f3eb5=_0x21f6ed[_0x5cd03a(0x164)],_0x3b536b=this['sigBytes'],_0x15b87a=_0x21f6ed[_0x5cd03a(0x2be)];if(this['clamp'](),_0x3b536b%0x4)for(var _0xa7ff9a=0x0;_0xa7ff9a<_0x15b87a;_0xa7ff9a++){var _0x225eca=_0x2f3eb5[_0xa7ff9a>>>0x2]>>>0x18-_0xa7ff9a%0x4*0x8&0xff;_0x4238ff[_0x3b536b+_0xa7ff9a>>>0x2]|=_0x225eca<<0x18-(_0x3b536b+_0xa7ff9a)%0x4*0x8;}else{for(var _0x2d905b=0x0;_0x2d905b<_0x15b87a;_0x2d905b+=0x4)_0x4238ff[_0x3b536b+_0x2d905b>>>0x2]=_0x2f3eb5[_0x2d905b>>>0x2];}return this[_0x5cd03a(0x2be)]+=_0x15b87a,this;},'clamp':function(){var _0x4515f6=_0x2ea687,_0x4c080d=this['words'],_0x1fbf2a=this['sigBytes'];_0x4c080d[_0x1fbf2a>>>0x2]&=0xffffffff<<0x20-_0x1fbf2a%0x4*0x8,_0x4c080d[_0x4515f6(0x1d3)]=_0x3d5fd7[_0x4515f6(0x42e)](_0x1fbf2a/0x4);},'clone':function(){var _0x5144ef=_0x2ea687,_0x42b870=_0x30c857[_0x5144ef(0x426)]['call'](this);return _0x42b870[_0x5144ef(0x164)]=this[_0x5144ef(0x164)][_0x5144ef(0x1b1)](0x0),_0x42b870;},'random':function(_0x7e6e07){var _0x528cb2=_0x2ea687;for(var _0x54c0be=[],_0x3bb40b=0x0;_0x3bb40b<_0x7e6e07;_0x3bb40b+=0x4)_0x54c0be[_0x528cb2(0x1d7)](_0x50f489());return new _0x3a671c[(_0x528cb2(0x1b3))](_0x54c0be,_0x7e6e07);}}),_0x93a309=_0x2694ac[_0x2ea687(0x374)]={},_0x338dc7=_0x93a309[_0x2ea687(0x2bc)]={'stringify':function(_0x46c6be){var _0x3abd00=_0x2ea687;for(var _0x49e4c7=_0x46c6be[_0x3abd00(0x164)],_0x3107ef=_0x46c6be[_0x3abd00(0x2be)],_0x23830d=[],_0x168318=0x0;_0x168318<_0x3107ef;_0x168318++){var _0x195c12=_0x49e4c7[_0x168318>>>0x2]>>>0x18-_0x168318%0x4*0x8&0xff;_0x23830d[_0x3abd00(0x1d7)]((_0x195c12>>>0x4)[_0x3abd00(0x416)](0x10)),_0x23830d[_0x3abd00(0x1d7)]((_0x195c12&0xf)[_0x3abd00(0x416)](0x10));}return _0x23830d[_0x3abd00(0x31f)]('');},'parse':function(_0x3b6ef2){var _0x49acd9=_0x2ea687;for(var _0x5ae5d3=_0x3b6ef2[_0x49acd9(0x1d3)],_0x916dae=[],_0x16f1b3=0x0;_0x16f1b3<_0x5ae5d3;_0x16f1b3+=0x2)_0x916dae[_0x16f1b3>>>0x3]|=parseInt(_0x3b6ef2[_0x49acd9(0x25c)](_0x16f1b3,0x2),0x10)<<0x18-_0x16f1b3%0x8*0x4;return new _0x3a671c[(_0x49acd9(0x1b3))](_0x916dae,_0x5ae5d3/0x2);}},_0x51d43d=_0x93a309['Latin1']={'stringify':function(_0x3fcfb0){var _0x37eb25=_0x2ea687;for(var _0x3311a3=_0x3fcfb0[_0x37eb25(0x164)],_0x66bdef=_0x3fcfb0[_0x37eb25(0x2be)],_0x4571ff=[],_0x2c5d82=0x0;_0x2c5d82<_0x66bdef;_0x2c5d82++){var _0x3bab32=_0x3311a3[_0x2c5d82>>>0x2]>>>0x18-_0x2c5d82%0x4*0x8&0xff;_0x4571ff[_0x37eb25(0x1d7)](String[_0x37eb25(0x187)](_0x3bab32));}return _0x4571ff[_0x37eb25(0x31f)]('');},'parse':function(_0x13fdfa){var _0x14bcfe=_0x2ea687;for(var _0x77969e=_0x13fdfa[_0x14bcfe(0x1d3)],_0x58b78b=[],_0x2ed0b1=0x0;_0x2ed0b1<_0x77969e;_0x2ed0b1++)_0x58b78b[_0x2ed0b1>>>0x2]|=(_0x13fdfa[_0x14bcfe(0x318)](_0x2ed0b1)&0xff)<<0x18-_0x2ed0b1%0x4*0x8;return new _0x3a671c[(_0x14bcfe(0x1b3))](_0x58b78b,_0x77969e);}},_0x29c220=_0x93a309[_0x2ea687(0x3d0)]={'stringify':function(_0x476002){var _0x201739=_0x2ea687;try{return decodeURIComponent(escape(_0x51d43d[_0x201739(0x3ea)](_0x476002)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x5b4410){var _0x75446f=_0x2ea687;return _0x51d43d[_0x75446f(0x228)](unescape(encodeURIComponent(_0x5b4410)));}},_0x53a5a8=_0x44f9ee[_0x2ea687(0x2cc)]=_0x30c857[_0x2ea687(0x1fa)]({'reset':function(){var _0x27b602=_0x2ea687;this['_data']=new _0x3a671c[(_0x27b602(0x1b3))](),this[_0x27b602(0x459)]=0x0;},'_append':function(_0x7178ca){var _0x5a128d=_0x2ea687;typeof _0x7178ca==_0x5a128d(0x3e0)&&(_0x7178ca=_0x29c220[_0x5a128d(0x228)](_0x7178ca)),this[_0x5a128d(0x267)][_0x5a128d(0x397)](_0x7178ca),this[_0x5a128d(0x459)]+=_0x7178ca[_0x5a128d(0x2be)];},'_process':function(_0x5d85b8){var _0x4b66aa=_0x2ea687,_0x1c77a6,_0x356eb3=this[_0x4b66aa(0x267)],_0x10bbb2=_0x356eb3[_0x4b66aa(0x164)],_0x26f5e0=_0x356eb3[_0x4b66aa(0x2be)],_0x1e3ab4=this[_0x4b66aa(0x3d7)],_0x36aa60=_0x1e3ab4*0x4,_0x5ad20b=_0x26f5e0/_0x36aa60;_0x5d85b8?_0x5ad20b=_0x3d5fd7[_0x4b66aa(0x42e)](_0x5ad20b):_0x5ad20b=_0x3d5fd7[_0x4b66aa(0x217)]((_0x5ad20b|0x0)-this[_0x4b66aa(0x200)],0x0);var _0x519ee6=_0x5ad20b*_0x1e3ab4,_0x318f7f=_0x3d5fd7[_0x4b66aa(0x1ad)](_0x519ee6*0x4,_0x26f5e0);if(_0x519ee6){for(var _0x834cca=0x0;_0x834cca<_0x519ee6;_0x834cca+=_0x1e3ab4)this[_0x4b66aa(0x2e2)](_0x10bbb2,_0x834cca);_0x1c77a6=_0x10bbb2['splice'](0x0,_0x519ee6),_0x356eb3['sigBytes']-=_0x318f7f;}return new _0x3a671c[(_0x4b66aa(0x1b3))](_0x1c77a6,_0x318f7f);},'clone':function(){var _0x1bb5e9=_0x2ea687,_0x53adca=_0x30c857[_0x1bb5e9(0x426)][_0x1bb5e9(0x209)](this);return _0x53adca['_data']=this['_data'][_0x1bb5e9(0x426)](),_0x53adca;},'_minBufferSize':0x0});_0x44f9ee[_0x2ea687(0x2c2)]=_0x53a5a8[_0x2ea687(0x1fa)]({'cfg':_0x30c857[_0x2ea687(0x1fa)](),'init':function(_0x39aa62){var _0x460752=_0x2ea687;this[_0x460752(0x280)]=this[_0x460752(0x280)][_0x460752(0x1fa)](_0x39aa62),this[_0x460752(0x3c3)]();},'reset':function(){var _0x696b1a=_0x2ea687;_0x53a5a8['reset'][_0x696b1a(0x209)](this),this[_0x696b1a(0x357)]();},'update':function(_0x1fbd69){var _0x2f6e91=_0x2ea687;return this[_0x2f6e91(0x254)](_0x1fbd69),this['_process'](),this;},'finalize':function(_0x19cd4b){var _0x594142=_0x2ea687;_0x19cd4b&&this[_0x594142(0x254)](_0x19cd4b);var _0x59feb9=this[_0x594142(0x39d)]();return _0x59feb9;},'blockSize':0x10,'_createHelper':function(_0x5cfb7a){return function(_0x5df4da,_0x5a0c22){var _0x27fd24=_0x30c3;return new _0x5cfb7a[(_0x27fd24(0x1b3))](_0x5a0c22)[_0x27fd24(0x19a)](_0x5df4da);};},'_createHmacHelper':function(_0x255eca){return function(_0x111f37,_0x425328){var _0x3c9a27=_0x30c3;return new _0x28d12a[(_0x3c9a27(0x2b2))][(_0x3c9a27(0x1b3))](_0x255eca,_0x425328)[_0x3c9a27(0x19a)](_0x111f37);};}});var _0x28d12a=_0x2694ac[_0x2ea687(0x174)]={};return _0x2694ac;}(Math);return _0x416e6c;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x57ea30(0x294)],Qt;function wi(){var _0x20d6ce=_0x57ea30;return Qt||(Qt=0x1,function(_0x26a1be,_0x3734a1){(function(_0x32c966,_0x5c4020){var _0x51c4c0=_0x30c3;_0x26a1be[_0x51c4c0(0x294)]=_0x5c4020(ne());}(xr,function(_0x4b000c){var _0xaf2e11=_0x30c3;return(function(){var _0x4cad48=_0x30c3,_0x343403=_0x4b000c,_0x45a3a3=_0x343403['lib'],_0x444bb0=_0x45a3a3[_0x4cad48(0x2c3)],_0x2fc7b7=_0x343403[_0x4cad48(0x374)];_0x2fc7b7[_0x4cad48(0x373)]={'stringify':function(_0x476fae){var _0x29f90b=_0x4cad48,_0x5b4716=_0x476fae[_0x29f90b(0x164)],_0x2789ac=_0x476fae[_0x29f90b(0x2be)],_0x10a418=this[_0x29f90b(0x253)];_0x476fae[_0x29f90b(0x230)]();for(var _0x4a817b=[],_0x8b8452=0x0;_0x8b8452<_0x2789ac;_0x8b8452+=0x3)for(var _0x2375b4=_0x5b4716[_0x8b8452>>>0x2]>>>0x18-_0x8b8452%0x4*0x8&0xff,_0x539ec4=_0x5b4716[_0x8b8452+0x1>>>0x2]>>>0x18-(_0x8b8452+0x1)%0x4*0x8&0xff,_0x5b8dd6=_0x5b4716[_0x8b8452+0x2>>>0x2]>>>0x18-(_0x8b8452+0x2)%0x4*0x8&0xff,_0x33a994=_0x2375b4<<0x10|_0x539ec4<<0x8|_0x5b8dd6,_0x37ec90=0x0;_0x37ec90<0x4&&_0x8b8452+_0x37ec90*0.75<_0x2789ac;_0x37ec90++)_0x4a817b[_0x29f90b(0x1d7)](_0x10a418['charAt'](_0x33a994>>>0x6*(0x3-_0x37ec90)&0x3f));var _0x2fda10=_0x10a418[_0x29f90b(0x334)](0x40);if(_0x2fda10){for(;_0x4a817b[_0x29f90b(0x1d3)]%0x4;)_0x4a817b[_0x29f90b(0x1d7)](_0x2fda10);}return _0x4a817b[_0x29f90b(0x31f)]('');},'parse':function(_0x5e4205){var _0x3d12bd=_0x4cad48,_0x5a64c3=_0x5e4205[_0x3d12bd(0x1d3)],_0x1b8686=this[_0x3d12bd(0x253)],_0x500b3d=this[_0x3d12bd(0x17e)];if(!_0x500b3d){_0x500b3d=this[_0x3d12bd(0x17e)]=[];for(var _0x393e15=0x0;_0x393e15<_0x1b8686[_0x3d12bd(0x1d3)];_0x393e15++)_0x500b3d[_0x1b8686[_0x3d12bd(0x318)](_0x393e15)]=_0x393e15;}var _0x57853a=_0x1b8686[_0x3d12bd(0x334)](0x40);if(_0x57853a){var _0x2fe9b9=_0x5e4205[_0x3d12bd(0x450)](_0x57853a);_0x2fe9b9!==-0x1&&(_0x5a64c3=_0x2fe9b9);}return _0x15170b(_0x5e4205,_0x5a64c3,_0x500b3d);},'_map':_0x4cad48(0x402)};function _0x15170b(_0x32ce22,_0x77495a,_0x5400be){var _0x3425de=_0x4cad48;for(var _0x1ec0de=[],_0xc77bde=0x0,_0x12114c=0x0;_0x12114c<_0x77495a;_0x12114c++)if(_0x12114c%0x4){var _0xee4a29=_0x5400be[_0x32ce22[_0x3425de(0x318)](_0x12114c-0x1)]<<_0x12114c%0x4*0x2,_0x2dc5db=_0x5400be[_0x32ce22[_0x3425de(0x318)](_0x12114c)]>>>0x6-_0x12114c%0x4*0x2,_0x192856=_0xee4a29|_0x2dc5db;_0x1ec0de[_0xc77bde>>>0x2]|=_0x192856<<0x18-_0xc77bde%0x4*0x8,_0xc77bde++;}return _0x444bb0[_0x3425de(0x1ea)](_0x1ec0de,_0xc77bde);}}()),_0x4b000c[_0xaf2e11(0x374)][_0xaf2e11(0x373)];}));}(We)),We[_0x20d6ce(0x294)];}var Ke={'exports':{}},Lr=Ke[_0x57ea30(0x294)],ei;function Mr(){var _0x115903=_0x57ea30;return ei||(ei=0x1,function(_0x51e5fc,_0x200d85){(function(_0x336477,_0x373036){var _0x9f0e9b=_0x30c3;_0x51e5fc[_0x9f0e9b(0x294)]=_0x373036(ne());}(Lr,function(_0x2250ca){var _0x1e1dfa=_0x30c3;return function(_0x50c9e7){var _0xd08139=_0x30c3,_0x1600af=_0x2250ca,_0xc9d6df=_0x1600af[_0xd08139(0x1f4)],_0x223a3b=_0xc9d6df[_0xd08139(0x2c3)],_0x4c01bf=_0xc9d6df[_0xd08139(0x2c2)],_0x500c88=_0x1600af['algo'],_0x17c531=[];(function(){var _0x1d6747=_0xd08139;for(var _0x14541e=0x0;_0x14541e<0x40;_0x14541e++)_0x17c531[_0x14541e]=_0x50c9e7[_0x1d6747(0x234)](_0x50c9e7['sin'](_0x14541e+0x1))*0x100000000|0x0;}());var _0x390570=_0x500c88[_0xd08139(0x35f)]=_0x4c01bf[_0xd08139(0x1fa)]({'_doReset':function(){var _0x29f32c=_0xd08139;this[_0x29f32c(0x195)]=new _0x223a3b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4d26d7,_0x100115){var _0x512da6=_0xd08139;for(var _0x1c808d=0x0;_0x1c808d<0x10;_0x1c808d++){var _0x297ef0=_0x100115+_0x1c808d,_0x4b2a01=_0x4d26d7[_0x297ef0];_0x4d26d7[_0x297ef0]=(_0x4b2a01<<0x8|_0x4b2a01>>>0x18)&0xff00ff|(_0x4b2a01<<0x18|_0x4b2a01>>>0x8)&0xff00ff00;}var _0x391718=this[_0x512da6(0x195)][_0x512da6(0x164)],_0x3bb08b=_0x4d26d7[_0x100115+0x0],_0x5bbf37=_0x4d26d7[_0x100115+0x1],_0x298ccc=_0x4d26d7[_0x100115+0x2],_0x2531dd=_0x4d26d7[_0x100115+0x3],_0x34f9c0=_0x4d26d7[_0x100115+0x4],_0x26b3c4=_0x4d26d7[_0x100115+0x5],_0x1e2886=_0x4d26d7[_0x100115+0x6],_0x55ee2a=_0x4d26d7[_0x100115+0x7],_0x249b43=_0x4d26d7[_0x100115+0x8],_0x23d873=_0x4d26d7[_0x100115+0x9],_0x5e6541=_0x4d26d7[_0x100115+0xa],_0x2cfb94=_0x4d26d7[_0x100115+0xb],_0x584dbd=_0x4d26d7[_0x100115+0xc],_0x479b1e=_0x4d26d7[_0x100115+0xd],_0x17caad=_0x4d26d7[_0x100115+0xe],_0x542e96=_0x4d26d7[_0x100115+0xf],_0x59494f=_0x391718[0x0],_0x23e4b2=_0x391718[0x1],_0x260bea=_0x391718[0x2],_0x5ec29e=_0x391718[0x3];_0x59494f=_0xe41216(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x3bb08b,0x7,_0x17c531[0x0]),_0x5ec29e=_0xe41216(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x5bbf37,0xc,_0x17c531[0x1]),_0x260bea=_0xe41216(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x298ccc,0x11,_0x17c531[0x2]),_0x23e4b2=_0xe41216(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x2531dd,0x16,_0x17c531[0x3]),_0x59494f=_0xe41216(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x34f9c0,0x7,_0x17c531[0x4]),_0x5ec29e=_0xe41216(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x26b3c4,0xc,_0x17c531[0x5]),_0x260bea=_0xe41216(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x1e2886,0x11,_0x17c531[0x6]),_0x23e4b2=_0xe41216(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x55ee2a,0x16,_0x17c531[0x7]),_0x59494f=_0xe41216(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x249b43,0x7,_0x17c531[0x8]),_0x5ec29e=_0xe41216(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x23d873,0xc,_0x17c531[0x9]),_0x260bea=_0xe41216(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x5e6541,0x11,_0x17c531[0xa]),_0x23e4b2=_0xe41216(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x2cfb94,0x16,_0x17c531[0xb]),_0x59494f=_0xe41216(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x584dbd,0x7,_0x17c531[0xc]),_0x5ec29e=_0xe41216(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x479b1e,0xc,_0x17c531[0xd]),_0x260bea=_0xe41216(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x17caad,0x11,_0x17c531[0xe]),_0x23e4b2=_0xe41216(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x542e96,0x16,_0x17c531[0xf]),_0x59494f=_0x151243(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x5bbf37,0x5,_0x17c531[0x10]),_0x5ec29e=_0x151243(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x1e2886,0x9,_0x17c531[0x11]),_0x260bea=_0x151243(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x2cfb94,0xe,_0x17c531[0x12]),_0x23e4b2=_0x151243(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x3bb08b,0x14,_0x17c531[0x13]),_0x59494f=_0x151243(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x26b3c4,0x5,_0x17c531[0x14]),_0x5ec29e=_0x151243(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x5e6541,0x9,_0x17c531[0x15]),_0x260bea=_0x151243(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x542e96,0xe,_0x17c531[0x16]),_0x23e4b2=_0x151243(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x34f9c0,0x14,_0x17c531[0x17]),_0x59494f=_0x151243(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x23d873,0x5,_0x17c531[0x18]),_0x5ec29e=_0x151243(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x17caad,0x9,_0x17c531[0x19]),_0x260bea=_0x151243(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x2531dd,0xe,_0x17c531[0x1a]),_0x23e4b2=_0x151243(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x249b43,0x14,_0x17c531[0x1b]),_0x59494f=_0x151243(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x479b1e,0x5,_0x17c531[0x1c]),_0x5ec29e=_0x151243(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x298ccc,0x9,_0x17c531[0x1d]),_0x260bea=_0x151243(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x55ee2a,0xe,_0x17c531[0x1e]),_0x23e4b2=_0x151243(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x584dbd,0x14,_0x17c531[0x1f]),_0x59494f=_0x226869(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x26b3c4,0x4,_0x17c531[0x20]),_0x5ec29e=_0x226869(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x249b43,0xb,_0x17c531[0x21]),_0x260bea=_0x226869(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x2cfb94,0x10,_0x17c531[0x22]),_0x23e4b2=_0x226869(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x17caad,0x17,_0x17c531[0x23]),_0x59494f=_0x226869(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x5bbf37,0x4,_0x17c531[0x24]),_0x5ec29e=_0x226869(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x34f9c0,0xb,_0x17c531[0x25]),_0x260bea=_0x226869(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x55ee2a,0x10,_0x17c531[0x26]),_0x23e4b2=_0x226869(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x5e6541,0x17,_0x17c531[0x27]),_0x59494f=_0x226869(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x479b1e,0x4,_0x17c531[0x28]),_0x5ec29e=_0x226869(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x3bb08b,0xb,_0x17c531[0x29]),_0x260bea=_0x226869(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x2531dd,0x10,_0x17c531[0x2a]),_0x23e4b2=_0x226869(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x1e2886,0x17,_0x17c531[0x2b]),_0x59494f=_0x226869(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x23d873,0x4,_0x17c531[0x2c]),_0x5ec29e=_0x226869(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x584dbd,0xb,_0x17c531[0x2d]),_0x260bea=_0x226869(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x542e96,0x10,_0x17c531[0x2e]),_0x23e4b2=_0x226869(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x298ccc,0x17,_0x17c531[0x2f]),_0x59494f=_0xb2fd0e(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x3bb08b,0x6,_0x17c531[0x30]),_0x5ec29e=_0xb2fd0e(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x55ee2a,0xa,_0x17c531[0x31]),_0x260bea=_0xb2fd0e(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x17caad,0xf,_0x17c531[0x32]),_0x23e4b2=_0xb2fd0e(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x26b3c4,0x15,_0x17c531[0x33]),_0x59494f=_0xb2fd0e(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x584dbd,0x6,_0x17c531[0x34]),_0x5ec29e=_0xb2fd0e(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x2531dd,0xa,_0x17c531[0x35]),_0x260bea=_0xb2fd0e(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x5e6541,0xf,_0x17c531[0x36]),_0x23e4b2=_0xb2fd0e(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x5bbf37,0x15,_0x17c531[0x37]),_0x59494f=_0xb2fd0e(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x249b43,0x6,_0x17c531[0x38]),_0x5ec29e=_0xb2fd0e(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x542e96,0xa,_0x17c531[0x39]),_0x260bea=_0xb2fd0e(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x1e2886,0xf,_0x17c531[0x3a]),_0x23e4b2=_0xb2fd0e(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x479b1e,0x15,_0x17c531[0x3b]),_0x59494f=_0xb2fd0e(_0x59494f,_0x23e4b2,_0x260bea,_0x5ec29e,_0x34f9c0,0x6,_0x17c531[0x3c]),_0x5ec29e=_0xb2fd0e(_0x5ec29e,_0x59494f,_0x23e4b2,_0x260bea,_0x2cfb94,0xa,_0x17c531[0x3d]),_0x260bea=_0xb2fd0e(_0x260bea,_0x5ec29e,_0x59494f,_0x23e4b2,_0x298ccc,0xf,_0x17c531[0x3e]),_0x23e4b2=_0xb2fd0e(_0x23e4b2,_0x260bea,_0x5ec29e,_0x59494f,_0x23d873,0x15,_0x17c531[0x3f]),_0x391718[0x0]=_0x391718[0x0]+_0x59494f|0x0,_0x391718[0x1]=_0x391718[0x1]+_0x23e4b2|0x0,_0x391718[0x2]=_0x391718[0x2]+_0x260bea|0x0,_0x391718[0x3]=_0x391718[0x3]+_0x5ec29e|0x0;},'_doFinalize':function(){var _0x122987=_0xd08139,_0x5d0d39=this[_0x122987(0x267)],_0x3ca6d7=_0x5d0d39[_0x122987(0x164)],_0x559b1c=this[_0x122987(0x459)]*0x8,_0x47871f=_0x5d0d39[_0x122987(0x2be)]*0x8;_0x3ca6d7[_0x47871f>>>0x5]|=0x80<<0x18-_0x47871f%0x20;var _0x14fee6=_0x50c9e7[_0x122987(0x1f9)](_0x559b1c/0x100000000),_0x5d6821=_0x559b1c;_0x3ca6d7[(_0x47871f+0x40>>>0x9<<0x4)+0xf]=(_0x14fee6<<0x8|_0x14fee6>>>0x18)&0xff00ff|(_0x14fee6<<0x18|_0x14fee6>>>0x8)&0xff00ff00,_0x3ca6d7[(_0x47871f+0x40>>>0x9<<0x4)+0xe]=(_0x5d6821<<0x8|_0x5d6821>>>0x18)&0xff00ff|(_0x5d6821<<0x18|_0x5d6821>>>0x8)&0xff00ff00,_0x5d0d39[_0x122987(0x2be)]=(_0x3ca6d7['length']+0x1)*0x4,this[_0x122987(0x2b6)]();for(var _0x534fd4=this['_hash'],_0x1e73d7=_0x534fd4['words'],_0x13921b=0x0;_0x13921b<0x4;_0x13921b++){var _0x27ac50=_0x1e73d7[_0x13921b];_0x1e73d7[_0x13921b]=(_0x27ac50<<0x8|_0x27ac50>>>0x18)&0xff00ff|(_0x27ac50<<0x18|_0x27ac50>>>0x8)&0xff00ff00;}return _0x534fd4;},'clone':function(){var _0x944299=_0xd08139,_0x44a23b=_0x4c01bf[_0x944299(0x426)][_0x944299(0x209)](this);return _0x44a23b[_0x944299(0x195)]=this[_0x944299(0x195)]['clone'](),_0x44a23b;}});function _0xe41216(_0x2c2f9e,_0x5024ad,_0x3be956,_0x2fde95,_0x4afbf6,_0x5ac54d,_0x49d1ee){var _0x2389b6=_0x2c2f9e+(_0x5024ad&_0x3be956|~_0x5024ad&_0x2fde95)+_0x4afbf6+_0x49d1ee;return(_0x2389b6<<_0x5ac54d|_0x2389b6>>>0x20-_0x5ac54d)+_0x5024ad;}function _0x151243(_0x1310fc,_0x5b1497,_0x41cb48,_0x2e1b2e,_0xb94b96,_0x54107d,_0x21fee1){var _0x14cebf=_0x1310fc+(_0x5b1497&_0x2e1b2e|_0x41cb48&~_0x2e1b2e)+_0xb94b96+_0x21fee1;return(_0x14cebf<<_0x54107d|_0x14cebf>>>0x20-_0x54107d)+_0x5b1497;}function _0x226869(_0x11e4bd,_0xda20e,_0x194caa,_0x2df22f,_0x5011dd,_0x307c5f,_0x1260d3){var _0x187295=_0x11e4bd+(_0xda20e^_0x194caa^_0x2df22f)+_0x5011dd+_0x1260d3;return(_0x187295<<_0x307c5f|_0x187295>>>0x20-_0x307c5f)+_0xda20e;}function _0xb2fd0e(_0x2a2d56,_0x47adac,_0x31ec36,_0x4e5106,_0x11e69f,_0x564606,_0x3ac394){var _0x29ee17=_0x2a2d56+(_0x31ec36^(_0x47adac|~_0x4e5106))+_0x11e69f+_0x3ac394;return(_0x29ee17<<_0x564606|_0x29ee17>>>0x20-_0x564606)+_0x47adac;}_0x1600af[_0xd08139(0x35f)]=_0x4c01bf[_0xd08139(0x40a)](_0x390570),_0x1600af[_0xd08139(0x394)]=_0x4c01bf['_createHmacHelper'](_0x390570);}(Math),_0x2250ca[_0x1e1dfa(0x35f)];}));}(Ke)),Ke[_0x115903(0x294)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x57ea30(0x294)],ti;function Hr(){var _0xccd80f=_0x57ea30;return ti||(ti=0x1,function(_0x2e1426,_0x877e31){(function(_0x2efb7e,_0x1c6d6d){var _0x31247a=_0x30c3;_0x2e1426[_0x31247a(0x294)]=_0x1c6d6d(ne());}($r,function(_0x38a3e1){var _0x14cefb=_0x30c3;return(function(){var _0x132af6=_0x30c3,_0x712e5a=_0x38a3e1,_0x505d08=_0x712e5a[_0x132af6(0x1f4)],_0x30ee17=_0x505d08[_0x132af6(0x2c3)],_0x4f733c=_0x505d08[_0x132af6(0x2c2)],_0x3312be=_0x712e5a[_0x132af6(0x174)],_0x3f8443=[],_0x4dca57=_0x3312be['SHA1']=_0x4f733c[_0x132af6(0x1fa)]({'_doReset':function(){var _0x4e8c37=_0x132af6;this[_0x4e8c37(0x195)]=new _0x30ee17[(_0x4e8c37(0x1b3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2c459e,_0x281d6c){var _0x47dd2b=_0x132af6;for(var _0xa9854a=this['_hash'][_0x47dd2b(0x164)],_0x4690f1=_0xa9854a[0x0],_0x2d559d=_0xa9854a[0x1],_0x53c37b=_0xa9854a[0x2],_0xa3adea=_0xa9854a[0x3],_0x28e20a=_0xa9854a[0x4],_0x247d3d=0x0;_0x247d3d<0x50;_0x247d3d++){if(_0x247d3d<0x10)_0x3f8443[_0x247d3d]=_0x2c459e[_0x281d6c+_0x247d3d]|0x0;else{var _0x2305fb=_0x3f8443[_0x247d3d-0x3]^_0x3f8443[_0x247d3d-0x8]^_0x3f8443[_0x247d3d-0xe]^_0x3f8443[_0x247d3d-0x10];_0x3f8443[_0x247d3d]=_0x2305fb<<0x1|_0x2305fb>>>0x1f;}var _0xc511fa=(_0x4690f1<<0x5|_0x4690f1>>>0x1b)+_0x28e20a+_0x3f8443[_0x247d3d];_0x247d3d<0x14?_0xc511fa+=(_0x2d559d&_0x53c37b|~_0x2d559d&_0xa3adea)+0x5a827999:_0x247d3d<0x28?_0xc511fa+=(_0x2d559d^_0x53c37b^_0xa3adea)+0x6ed9eba1:_0x247d3d<0x3c?_0xc511fa+=(_0x2d559d&_0x53c37b|_0x2d559d&_0xa3adea|_0x53c37b&_0xa3adea)-0x70e44324:_0xc511fa+=(_0x2d559d^_0x53c37b^_0xa3adea)-0x359d3e2a,_0x28e20a=_0xa3adea,_0xa3adea=_0x53c37b,_0x53c37b=_0x2d559d<<0x1e|_0x2d559d>>>0x2,_0x2d559d=_0x4690f1,_0x4690f1=_0xc511fa;}_0xa9854a[0x0]=_0xa9854a[0x0]+_0x4690f1|0x0,_0xa9854a[0x1]=_0xa9854a[0x1]+_0x2d559d|0x0,_0xa9854a[0x2]=_0xa9854a[0x2]+_0x53c37b|0x0,_0xa9854a[0x3]=_0xa9854a[0x3]+_0xa3adea|0x0,_0xa9854a[0x4]=_0xa9854a[0x4]+_0x28e20a|0x0;},'_doFinalize':function(){var _0x4cbedc=_0x132af6,_0xa8df9f=this[_0x4cbedc(0x267)],_0x5360b1=_0xa8df9f[_0x4cbedc(0x164)],_0x3c3cff=this[_0x4cbedc(0x459)]*0x8,_0x147865=_0xa8df9f[_0x4cbedc(0x2be)]*0x8;return _0x5360b1[_0x147865>>>0x5]|=0x80<<0x18-_0x147865%0x20,_0x5360b1[(_0x147865+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3c3cff/0x100000000),_0x5360b1[(_0x147865+0x40>>>0x9<<0x4)+0xf]=_0x3c3cff,_0xa8df9f[_0x4cbedc(0x2be)]=_0x5360b1[_0x4cbedc(0x1d3)]*0x4,this['_process'](),this[_0x4cbedc(0x195)];},'clone':function(){var _0x345e29=_0x132af6,_0x1686d5=_0x4f733c[_0x345e29(0x426)][_0x345e29(0x209)](this);return _0x1686d5[_0x345e29(0x195)]=this['_hash'][_0x345e29(0x426)](),_0x1686d5;}});_0x712e5a[_0x132af6(0x20f)]=_0x4f733c['_createHelper'](_0x4dca57),_0x712e5a[_0x132af6(0x263)]=_0x4f733c[_0x132af6(0x1b7)](_0x4dca57);}()),_0x38a3e1[_0x14cefb(0x20f)];}));}(qe)),qe[_0xccd80f(0x294)];}var ze={'exports':{}},kr=ze[_0x57ea30(0x294)],ii;function jr(){var _0x5b4fa2=_0x57ea30;return ii||(ii=0x1,function(_0x552e66,_0x58cf5c){(function(_0x35024c,_0x5a255d){var _0x27f354=_0x30c3;_0x552e66[_0x27f354(0x294)]=_0x5a255d(ne());}(kr,function(_0x5dca0c){(function(){var _0x568bf6=_0x30c3,_0xcdb7c7=_0x5dca0c,_0x23652d=_0xcdb7c7['lib'],_0x30495a=_0x23652d['Base'],_0x4abd72=_0xcdb7c7[_0x568bf6(0x374)],_0x36715d=_0x4abd72['Utf8'],_0x56d327=_0xcdb7c7[_0x568bf6(0x174)];_0x56d327['HMAC']=_0x30495a['extend']({'init':function(_0x197c60,_0xd1fbd){var _0x3108b3=_0x568bf6;_0x197c60=this[_0x3108b3(0x447)]=new _0x197c60[(_0x3108b3(0x1b3))](),typeof _0xd1fbd=='string'&&(_0xd1fbd=_0x36715d[_0x3108b3(0x228)](_0xd1fbd));var _0x1708c9=_0x197c60[_0x3108b3(0x3d7)],_0x1759a2=_0x1708c9*0x4;_0xd1fbd[_0x3108b3(0x2be)]>_0x1759a2&&(_0xd1fbd=_0x197c60[_0x3108b3(0x19a)](_0xd1fbd)),_0xd1fbd[_0x3108b3(0x230)]();for(var _0x2539f7=this[_0x3108b3(0x3cf)]=_0xd1fbd['clone'](),_0x543510=this['_iKey']=_0xd1fbd[_0x3108b3(0x426)](),_0x4ac8b0=_0x2539f7[_0x3108b3(0x164)],_0x17d10e=_0x543510[_0x3108b3(0x164)],_0x2465ec=0x0;_0x2465ec<_0x1708c9;_0x2465ec++)_0x4ac8b0[_0x2465ec]^=0x5c5c5c5c,_0x17d10e[_0x2465ec]^=0x36363636;_0x2539f7['sigBytes']=_0x543510[_0x3108b3(0x2be)]=_0x1759a2,this[_0x3108b3(0x3c3)]();},'reset':function(){var _0x32fe4b=_0x568bf6,_0x10e786=this[_0x32fe4b(0x447)];_0x10e786[_0x32fe4b(0x3c3)](),_0x10e786['update'](this[_0x32fe4b(0x2ee)]);},'update':function(_0x3a0235){var _0x8626c1=_0x568bf6;return this['_hasher'][_0x8626c1(0x16a)](_0x3a0235),this;},'finalize':function(_0x41a264){var _0x34f90a=_0x568bf6,_0x5eeeea=this['_hasher'],_0x2e9646=_0x5eeeea[_0x34f90a(0x19a)](_0x41a264);_0x5eeeea['reset']();var _0x390c21=_0x5eeeea[_0x34f90a(0x19a)](this[_0x34f90a(0x3cf)][_0x34f90a(0x426)]()['concat'](_0x2e9646));return _0x390c21;}});}());}));}(ze)),ze[_0x5b4fa2(0x294)];}var Br=Ye[_0x57ea30(0x294)],ni;function Ui(){var _0x153b57=_0x57ea30;return ni||(ni=0x1,function(_0x57d24c,_0x21e60e){(function(_0x1af515,_0x27b7df,_0x5f071a){_0x57d24c['exports']=_0x27b7df(ne(),Hr(),jr());}(Br,function(_0x162f1f){var _0x1f1af3=_0x30c3;return(function(){var _0x30aa42=_0x30c3,_0x56370f=_0x162f1f,_0x52634f=_0x56370f['lib'],_0x259932=_0x52634f['Base'],_0x34b461=_0x52634f['WordArray'],_0x2b550a=_0x56370f[_0x30aa42(0x174)],_0x497cb8=_0x2b550a[_0x30aa42(0x35f)],_0x3de2f7=_0x2b550a['EvpKDF']=_0x259932[_0x30aa42(0x1fa)]({'cfg':_0x259932['extend']({'keySize':0x80/0x20,'hasher':_0x497cb8,'iterations':0x1}),'init':function(_0xdcc9b9){var _0x35f773=_0x30aa42;this[_0x35f773(0x280)]=this[_0x35f773(0x280)]['extend'](_0xdcc9b9);},'compute':function(_0x33e286,_0x47d61a){var _0x247b23=_0x30aa42;for(var _0x26c7b0,_0x33a819=this[_0x247b23(0x280)],_0x1e2245=_0x33a819['hasher'][_0x247b23(0x1ea)](),_0x17ca05=_0x34b461['create'](),_0x514329=_0x17ca05[_0x247b23(0x164)],_0x1baf4c=_0x33a819[_0x247b23(0x429)],_0x35aa9f=_0x33a819[_0x247b23(0x304)];_0x514329[_0x247b23(0x1d3)]<_0x1baf4c;){_0x26c7b0&&_0x1e2245[_0x247b23(0x16a)](_0x26c7b0),_0x26c7b0=_0x1e2245[_0x247b23(0x16a)](_0x33e286)[_0x247b23(0x19a)](_0x47d61a),_0x1e2245[_0x247b23(0x3c3)]();for(var _0x339319=0x1;_0x339319<_0x35aa9f;_0x339319++)_0x26c7b0=_0x1e2245[_0x247b23(0x19a)](_0x26c7b0),_0x1e2245['reset']();_0x17ca05[_0x247b23(0x397)](_0x26c7b0);}return _0x17ca05['sigBytes']=_0x1baf4c*0x4,_0x17ca05;}});_0x56370f[_0x30aa42(0x31b)]=function(_0x52a128,_0x51cef5,_0x3afe9){var _0x2080d5=_0x30aa42;return _0x3de2f7[_0x2080d5(0x1ea)](_0x3afe9)[_0x2080d5(0x1e4)](_0x52a128,_0x51cef5);};}()),_0x162f1f[_0x1f1af3(0x31b)];}));}(Ye)),Ye[_0x153b57(0x294)];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0x4ff1cb=_0x57ea30;return ri||(ri=0x1,function(_0x2dbf4e,_0x328db3){(function(_0xa4c310,_0x2b3c9a,_0x32c24b){_0x2dbf4e['exports']=_0x2b3c9a(ne(),Ui());}(Fr,function(_0x206321){var _0x39ebd4=_0x30c3;_0x206321[_0x39ebd4(0x1f4)]['Cipher']||function(_0x350d2d){var _0x3e7ac3=_0x39ebd4,_0xd6c5ea=_0x206321,_0x952988=_0xd6c5ea[_0x3e7ac3(0x1f4)],_0x35db50=_0x952988[_0x3e7ac3(0x1c8)],_0x5b4dc8=_0x952988['WordArray'],_0x6006fe=_0x952988[_0x3e7ac3(0x2cc)],_0x528530=_0xd6c5ea[_0x3e7ac3(0x374)];_0x528530[_0x3e7ac3(0x3d0)];var _0x59859a=_0x528530[_0x3e7ac3(0x373)],_0xb93b49=_0xd6c5ea[_0x3e7ac3(0x174)],_0x3aea00=_0xb93b49[_0x3e7ac3(0x31b)],_0xb3363e=_0x952988[_0x3e7ac3(0x185)]=_0x6006fe[_0x3e7ac3(0x1fa)]({'cfg':_0x35db50[_0x3e7ac3(0x1fa)](),'createEncryptor':function(_0x2aaff2,_0x195586){var _0x10f1e2=_0x3e7ac3;return this[_0x10f1e2(0x1ea)](this[_0x10f1e2(0x171)],_0x2aaff2,_0x195586);},'createDecryptor':function(_0x15585b,_0x335e3a){var _0x1d678f=_0x3e7ac3;return this[_0x1d678f(0x1ea)](this['_DEC_XFORM_MODE'],_0x15585b,_0x335e3a);},'init':function(_0x28cc5a,_0x535f91,_0x3d0e06){var _0x205ca6=_0x3e7ac3;this[_0x205ca6(0x280)]=this[_0x205ca6(0x280)][_0x205ca6(0x1fa)](_0x3d0e06),this['_xformMode']=_0x28cc5a,this['_key']=_0x535f91,this[_0x205ca6(0x3c3)]();},'reset':function(){var _0xf435b2=_0x3e7ac3;_0x6006fe[_0xf435b2(0x3c3)]['call'](this),this['_doReset']();},'process':function(_0x4f0339){return this['_append'](_0x4f0339),this['_process']();},'finalize':function(_0x56deb8){var _0x27f0fa=_0x3e7ac3;_0x56deb8&&this[_0x27f0fa(0x254)](_0x56deb8);var _0x5905b5=this[_0x27f0fa(0x39d)]();return _0x5905b5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x152aaa(_0x483813){var _0x1a0351=_0x30c3;return typeof _0x483813==_0x1a0351(0x3e0)?_0x3de0c2:_0x38206e;}return function(_0x493ed8){return{'encrypt':function(_0x18a168,_0xd52bf,_0x361843){return _0x152aaa(_0xd52bf)['encrypt'](_0x493ed8,_0x18a168,_0xd52bf,_0x361843);},'decrypt':function(_0x777f5,_0x5c1dd2,_0x26327c){return _0x152aaa(_0x5c1dd2)['decrypt'](_0x493ed8,_0x777f5,_0x5c1dd2,_0x26327c);}};};}())});_0x952988[_0x3e7ac3(0x34f)]=_0xb3363e['extend']({'_doFinalize':function(){var _0x252215=_0x3e7ac3,_0x41e525=this[_0x252215(0x2b6)](!0x0);return _0x41e525;},'blockSize':0x1});var _0x42759f=_0xd6c5ea[_0x3e7ac3(0x2aa)]={},_0x383f3d=_0x952988['BlockCipherMode']=_0x35db50[_0x3e7ac3(0x1fa)]({'createEncryptor':function(_0x3d61b8,_0x51c171){var _0x2c00f2=_0x3e7ac3;return this[_0x2c00f2(0x1a5)][_0x2c00f2(0x1ea)](_0x3d61b8,_0x51c171);},'createDecryptor':function(_0x27ace5,_0x5c8a6e){return this['Decryptor']['create'](_0x27ace5,_0x5c8a6e);},'init':function(_0x735cb5,_0x392c30){var _0x5d0e23=_0x3e7ac3;this[_0x5d0e23(0x2d7)]=_0x735cb5,this['_iv']=_0x392c30;}}),_0x149dad=_0x42759f[_0x3e7ac3(0x3aa)]=(function(){var _0x3079f2=_0x3e7ac3,_0x241024=_0x383f3d['extend']();_0x241024[_0x3079f2(0x1a5)]=_0x241024['extend']({'processBlock':function(_0x4995cb,_0x5cee44){var _0xd8342f=_0x3079f2,_0x10d728=this[_0xd8342f(0x2d7)],_0x16d6f6=_0x10d728[_0xd8342f(0x3d7)];_0x56fbca[_0xd8342f(0x209)](this,_0x4995cb,_0x5cee44,_0x16d6f6),_0x10d728[_0xd8342f(0x351)](_0x4995cb,_0x5cee44),this[_0xd8342f(0x16b)]=_0x4995cb[_0xd8342f(0x1b1)](_0x5cee44,_0x5cee44+_0x16d6f6);}}),_0x241024['Decryptor']=_0x241024[_0x3079f2(0x1fa)]({'processBlock':function(_0xbd2d80,_0x548a6a){var _0x33ae97=_0x3079f2,_0x4d82b5=this['_cipher'],_0x35af6e=_0x4d82b5[_0x33ae97(0x3d7)],_0x33ecf6=_0xbd2d80[_0x33ae97(0x1b1)](_0x548a6a,_0x548a6a+_0x35af6e);_0x4d82b5[_0x33ae97(0x24d)](_0xbd2d80,_0x548a6a),_0x56fbca[_0x33ae97(0x209)](this,_0xbd2d80,_0x548a6a,_0x35af6e),this[_0x33ae97(0x16b)]=_0x33ecf6;}});function _0x56fbca(_0x58bf40,_0x50cc35,_0x5d1ba0){var _0x1b3b32=_0x3079f2,_0x4f0549,_0x46b9bb=this[_0x1b3b32(0x220)];_0x46b9bb?(_0x4f0549=_0x46b9bb,this['_iv']=_0x350d2d):_0x4f0549=this[_0x1b3b32(0x16b)];for(var _0x2fbab5=0x0;_0x2fbab5<_0x5d1ba0;_0x2fbab5++)_0x58bf40[_0x50cc35+_0x2fbab5]^=_0x4f0549[_0x2fbab5];}return _0x241024;}()),_0x3f9f59=_0xd6c5ea[_0x3e7ac3(0x396)]={},_0x458dd1=_0x3f9f59[_0x3e7ac3(0x42a)]={'pad':function(_0x48537c,_0x3baea8){var _0x48eb01=_0x3e7ac3;for(var _0x1f5bf2=_0x3baea8*0x4,_0x2154dc=_0x1f5bf2-_0x48537c['sigBytes']%_0x1f5bf2,_0x4f834f=_0x2154dc<<0x18|_0x2154dc<<0x10|_0x2154dc<<0x8|_0x2154dc,_0xdae7d3=[],_0x59c30f=0x0;_0x59c30f<_0x2154dc;_0x59c30f+=0x4)_0xdae7d3[_0x48eb01(0x1d7)](_0x4f834f);var _0x200f36=_0x5b4dc8['create'](_0xdae7d3,_0x2154dc);_0x48537c['concat'](_0x200f36);},'unpad':function(_0x28e2ed){var _0x38f989=_0x3e7ac3,_0x5595a8=_0x28e2ed[_0x38f989(0x164)][_0x28e2ed[_0x38f989(0x2be)]-0x1>>>0x2]&0xff;_0x28e2ed['sigBytes']-=_0x5595a8;}};_0x952988[_0x3e7ac3(0x3b8)]=_0xb3363e['extend']({'cfg':_0xb3363e[_0x3e7ac3(0x280)]['extend']({'mode':_0x149dad,'padding':_0x458dd1}),'reset':function(){var _0x1659e5=_0x3e7ac3,_0x3b6c36;_0xb3363e[_0x1659e5(0x3c3)][_0x1659e5(0x209)](this);var _0xcbe973=this[_0x1659e5(0x280)],_0xa08b93=_0xcbe973['iv'],_0x58d6ca=_0xcbe973['mode'];this[_0x1659e5(0x316)]==this[_0x1659e5(0x171)]?_0x3b6c36=_0x58d6ca['createEncryptor']:(_0x3b6c36=_0x58d6ca[_0x1659e5(0x368)],this['_minBufferSize']=0x1),this[_0x1659e5(0x441)]&&this[_0x1659e5(0x441)][_0x1659e5(0x2d4)]==_0x3b6c36?this[_0x1659e5(0x441)]['init'](this,_0xa08b93&&_0xa08b93['words']):(this[_0x1659e5(0x441)]=_0x3b6c36[_0x1659e5(0x209)](_0x58d6ca,this,_0xa08b93&&_0xa08b93['words']),this[_0x1659e5(0x441)]['__creator']=_0x3b6c36);},'_doProcessBlock':function(_0x2e0c7a,_0xf20e27){var _0x5e64f3=_0x3e7ac3;this[_0x5e64f3(0x441)][_0x5e64f3(0x2cd)](_0x2e0c7a,_0xf20e27);},'_doFinalize':function(){var _0x81c40d=_0x3e7ac3,_0x51839f,_0x4de858=this[_0x81c40d(0x280)][_0x81c40d(0x303)];return this['_xformMode']==this[_0x81c40d(0x171)]?(_0x4de858[_0x81c40d(0x396)](this[_0x81c40d(0x267)],this[_0x81c40d(0x3d7)]),_0x51839f=this[_0x81c40d(0x2b6)](!0x0)):(_0x51839f=this[_0x81c40d(0x2b6)](!0x0),_0x4de858[_0x81c40d(0x319)](_0x51839f)),_0x51839f;},'blockSize':0x80/0x20});var _0x386fd7=_0x952988[_0x3e7ac3(0x24f)]=_0x35db50['extend']({'init':function(_0x13a2cc){var _0x125de0=_0x3e7ac3;this[_0x125de0(0x3b9)](_0x13a2cc);},'toString':function(_0x523bbb){var _0x1fcc85=_0x3e7ac3;return(_0x523bbb||this['formatter'])[_0x1fcc85(0x3ea)](this);}}),_0x14bdf5=_0xd6c5ea['format']={},_0x23f619=_0x14bdf5[_0x3e7ac3(0x246)]={'stringify':function(_0x305467){var _0x3f040e=_0x3e7ac3,_0x3d84a9,_0x2337cb=_0x305467[_0x3f040e(0x2d5)],_0x1eebbe=_0x305467[_0x3f040e(0x43c)];return _0x1eebbe?_0x3d84a9=_0x5b4dc8['create']([0x53616c74,0x65645f5f])[_0x3f040e(0x397)](_0x1eebbe)['concat'](_0x2337cb):_0x3d84a9=_0x2337cb,_0x3d84a9[_0x3f040e(0x416)](_0x59859a);},'parse':function(_0x185e62){var _0x5459c5=_0x3e7ac3,_0x1fd4c7,_0x51a764=_0x59859a[_0x5459c5(0x228)](_0x185e62),_0x4bd153=_0x51a764[_0x5459c5(0x164)];return _0x4bd153[0x0]==0x53616c74&&_0x4bd153[0x1]==0x65645f5f&&(_0x1fd4c7=_0x5b4dc8[_0x5459c5(0x1ea)](_0x4bd153[_0x5459c5(0x1b1)](0x2,0x4)),_0x4bd153[_0x5459c5(0x387)](0x0,0x4),_0x51a764[_0x5459c5(0x2be)]-=0x10),_0x386fd7['create']({'ciphertext':_0x51a764,'salt':_0x1fd4c7});}},_0x38206e=_0x952988['SerializableCipher']=_0x35db50[_0x3e7ac3(0x1fa)]({'cfg':_0x35db50[_0x3e7ac3(0x1fa)]({'format':_0x23f619}),'encrypt':function(_0x1edc93,_0x161c74,_0x42c8a9,_0x533c3b){var _0x8389ed=_0x3e7ac3;_0x533c3b=this['cfg']['extend'](_0x533c3b);var _0xe0a9b8=_0x1edc93[_0x8389ed(0x43f)](_0x42c8a9,_0x533c3b),_0x2b645d=_0xe0a9b8[_0x8389ed(0x19a)](_0x161c74),_0x169bcc=_0xe0a9b8[_0x8389ed(0x280)];return _0x386fd7[_0x8389ed(0x1ea)]({'ciphertext':_0x2b645d,'key':_0x42c8a9,'iv':_0x169bcc['iv'],'algorithm':_0x1edc93,'mode':_0x169bcc[_0x8389ed(0x2aa)],'padding':_0x169bcc[_0x8389ed(0x303)],'blockSize':_0x1edc93[_0x8389ed(0x3d7)],'formatter':_0x533c3b[_0x8389ed(0x432)]});},'decrypt':function(_0x1f2df6,_0x3febb4,_0x576575,_0x57bd7c){var _0x155c4e=_0x3e7ac3;_0x57bd7c=this[_0x155c4e(0x280)]['extend'](_0x57bd7c),_0x3febb4=this[_0x155c4e(0x413)](_0x3febb4,_0x57bd7c[_0x155c4e(0x432)]);var _0x1a0bf3=_0x1f2df6[_0x155c4e(0x368)](_0x576575,_0x57bd7c)[_0x155c4e(0x19a)](_0x3febb4[_0x155c4e(0x2d5)]);return _0x1a0bf3;},'_parse':function(_0x42b74e,_0x12667c){var _0x493974=_0x3e7ac3;return typeof _0x42b74e==_0x493974(0x3e0)?_0x12667c[_0x493974(0x228)](_0x42b74e,this):_0x42b74e;}}),_0x479690=_0xd6c5ea[_0x3e7ac3(0x38d)]={},_0x41bae4=_0x479690[_0x3e7ac3(0x246)]={'execute':function(_0x4ae0a8,_0x18f940,_0xf01f04,_0x152f05,_0x83c78a){var _0xb61f13=_0x3e7ac3;if(_0x152f05||(_0x152f05=_0x5b4dc8[_0xb61f13(0x32f)](0x40/0x8)),_0x83c78a)var _0x51d770=_0x3aea00[_0xb61f13(0x1ea)]({'keySize':_0x18f940+_0xf01f04,'hasher':_0x83c78a})[_0xb61f13(0x1e4)](_0x4ae0a8,_0x152f05);else var _0x51d770=_0x3aea00[_0xb61f13(0x1ea)]({'keySize':_0x18f940+_0xf01f04})[_0xb61f13(0x1e4)](_0x4ae0a8,_0x152f05);var _0x14b93b=_0x5b4dc8[_0xb61f13(0x1ea)](_0x51d770[_0xb61f13(0x164)][_0xb61f13(0x1b1)](_0x18f940),_0xf01f04*0x4);return _0x51d770[_0xb61f13(0x2be)]=_0x18f940*0x4,_0x386fd7[_0xb61f13(0x1ea)]({'key':_0x51d770,'iv':_0x14b93b,'salt':_0x152f05});}},_0x3de0c2=_0x952988['PasswordBasedCipher']=_0x38206e[_0x3e7ac3(0x1fa)]({'cfg':_0x38206e[_0x3e7ac3(0x280)]['extend']({'kdf':_0x41bae4}),'encrypt':function(_0x448ebc,_0x55608e,_0x86af25,_0x5bb4b2){var _0x3dab1d=_0x3e7ac3;_0x5bb4b2=this[_0x3dab1d(0x280)][_0x3dab1d(0x1fa)](_0x5bb4b2);var _0x218739=_0x5bb4b2[_0x3dab1d(0x38d)][_0x3dab1d(0x17a)](_0x86af25,_0x448ebc['keySize'],_0x448ebc[_0x3dab1d(0x232)],_0x5bb4b2[_0x3dab1d(0x43c)],_0x5bb4b2[_0x3dab1d(0x42b)]);_0x5bb4b2['iv']=_0x218739['iv'];var _0x256949=_0x38206e[_0x3dab1d(0x1c1)][_0x3dab1d(0x209)](this,_0x448ebc,_0x55608e,_0x218739[_0x3dab1d(0x275)],_0x5bb4b2);return _0x256949[_0x3dab1d(0x3b9)](_0x218739),_0x256949;},'decrypt':function(_0x2015cd,_0x2adcf0,_0x51877a,_0x433006){var _0x349fa1=_0x3e7ac3;_0x433006=this[_0x349fa1(0x280)][_0x349fa1(0x1fa)](_0x433006),_0x2adcf0=this[_0x349fa1(0x413)](_0x2adcf0,_0x433006[_0x349fa1(0x432)]);var _0x37628e=_0x433006[_0x349fa1(0x38d)]['execute'](_0x51877a,_0x2015cd['keySize'],_0x2015cd[_0x349fa1(0x232)],_0x2adcf0['salt'],_0x433006[_0x349fa1(0x42b)]);_0x433006['iv']=_0x37628e['iv'];var _0x2f20a5=_0x38206e[_0x349fa1(0x1cf)][_0x349fa1(0x209)](this,_0x2015cd,_0x2adcf0,_0x37628e[_0x349fa1(0x275)],_0x433006);return _0x2f20a5;}});}();}));}(Je)),Je[_0x4ff1cb(0x294)];}var Vr=Ve[_0x57ea30(0x294)],si;function Gr(){var _0x522583=_0x57ea30;return si||(si=0x1,function(_0x1d5cbe,_0x34059e){(function(_0xe95eee,_0x28cf7a,_0x5be5ee){var _0x415059=_0x30c3;_0x1d5cbe[_0x415059(0x294)]=_0x28cf7a(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x48a192){var _0x55d263=_0x30c3;return(function(){var _0x5eb22c=_0x30c3,_0x37fa4b=_0x48a192,_0x18620a=_0x37fa4b[_0x5eb22c(0x1f4)],_0x227fb3=_0x18620a[_0x5eb22c(0x3b8)],_0x5652b2=_0x37fa4b[_0x5eb22c(0x174)],_0x1d8196=[],_0x176665=[],_0xed3c80=[],_0x3c44f7=[],_0x260e08=[],_0x6e6208=[],_0x2d80fb=[],_0x4c808c=[],_0x2972b3=[],_0x3ccac2=[];(function(){for(var _0x586e15=[],_0x382741=0x0;_0x382741<0x100;_0x382741++)_0x382741<0x80?_0x586e15[_0x382741]=_0x382741<<0x1:_0x586e15[_0x382741]=_0x382741<<0x1^0x11b;for(var _0x1a91c8=0x0,_0x26398d=0x0,_0x382741=0x0;_0x382741<0x100;_0x382741++){var _0x3d3000=_0x26398d^_0x26398d<<0x1^_0x26398d<<0x2^_0x26398d<<0x3^_0x26398d<<0x4;_0x3d3000=_0x3d3000>>>0x8^_0x3d3000&0xff^0x63,_0x1d8196[_0x1a91c8]=_0x3d3000,_0x176665[_0x3d3000]=_0x1a91c8;var _0x2cbac4=_0x586e15[_0x1a91c8],_0x5572c1=_0x586e15[_0x2cbac4],_0x504dfa=_0x586e15[_0x5572c1],_0x340df7=_0x586e15[_0x3d3000]*0x101^_0x3d3000*0x1010100;_0xed3c80[_0x1a91c8]=_0x340df7<<0x18|_0x340df7>>>0x8,_0x3c44f7[_0x1a91c8]=_0x340df7<<0x10|_0x340df7>>>0x10,_0x260e08[_0x1a91c8]=_0x340df7<<0x8|_0x340df7>>>0x18,_0x6e6208[_0x1a91c8]=_0x340df7;var _0x340df7=_0x504dfa*0x1010101^_0x5572c1*0x10001^_0x2cbac4*0x101^_0x1a91c8*0x1010100;_0x2d80fb[_0x3d3000]=_0x340df7<<0x18|_0x340df7>>>0x8,_0x4c808c[_0x3d3000]=_0x340df7<<0x10|_0x340df7>>>0x10,_0x2972b3[_0x3d3000]=_0x340df7<<0x8|_0x340df7>>>0x18,_0x3ccac2[_0x3d3000]=_0x340df7,_0x1a91c8?(_0x1a91c8=_0x2cbac4^_0x586e15[_0x586e15[_0x586e15[_0x504dfa^_0x2cbac4]]],_0x26398d^=_0x586e15[_0x586e15[_0x26398d]]):_0x1a91c8=_0x26398d=0x1;}}());var _0x10470d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xf76294=_0x5652b2['AES']=_0x227fb3[_0x5eb22c(0x1fa)]({'_doReset':function(){var _0xf439a6=_0x5eb22c,_0x361d0a;if(!(this[_0xf439a6(0x245)]&&this[_0xf439a6(0x325)]===this[_0xf439a6(0x27b)])){for(var _0x3bb19c=this[_0xf439a6(0x325)]=this[_0xf439a6(0x27b)],_0x278e7f=_0x3bb19c[_0xf439a6(0x164)],_0x330621=_0x3bb19c[_0xf439a6(0x2be)]/0x4,_0x35cf97=this[_0xf439a6(0x245)]=_0x330621+0x6,_0x2fe6d6=(_0x35cf97+0x1)*0x4,_0x540594=this[_0xf439a6(0x21b)]=[],_0x463977=0x0;_0x463977<_0x2fe6d6;_0x463977++)_0x463977<_0x330621?_0x540594[_0x463977]=_0x278e7f[_0x463977]:(_0x361d0a=_0x540594[_0x463977-0x1],_0x463977%_0x330621?_0x330621>0x6&&_0x463977%_0x330621==0x4&&(_0x361d0a=_0x1d8196[_0x361d0a>>>0x18]<<0x18|_0x1d8196[_0x361d0a>>>0x10&0xff]<<0x10|_0x1d8196[_0x361d0a>>>0x8&0xff]<<0x8|_0x1d8196[_0x361d0a&0xff]):(_0x361d0a=_0x361d0a<<0x8|_0x361d0a>>>0x18,_0x361d0a=_0x1d8196[_0x361d0a>>>0x18]<<0x18|_0x1d8196[_0x361d0a>>>0x10&0xff]<<0x10|_0x1d8196[_0x361d0a>>>0x8&0xff]<<0x8|_0x1d8196[_0x361d0a&0xff],_0x361d0a^=_0x10470d[_0x463977/_0x330621|0x0]<<0x18),_0x540594[_0x463977]=_0x540594[_0x463977-_0x330621]^_0x361d0a);for(var _0x2f5078=this[_0xf439a6(0x3db)]=[],_0x1ee2be=0x0;_0x1ee2be<_0x2fe6d6;_0x1ee2be++){var _0x463977=_0x2fe6d6-_0x1ee2be;if(_0x1ee2be%0x4)var _0x361d0a=_0x540594[_0x463977];else var _0x361d0a=_0x540594[_0x463977-0x4];_0x1ee2be<0x4||_0x463977<=0x4?_0x2f5078[_0x1ee2be]=_0x361d0a:_0x2f5078[_0x1ee2be]=_0x2d80fb[_0x1d8196[_0x361d0a>>>0x18]]^_0x4c808c[_0x1d8196[_0x361d0a>>>0x10&0xff]]^_0x2972b3[_0x1d8196[_0x361d0a>>>0x8&0xff]]^_0x3ccac2[_0x1d8196[_0x361d0a&0xff]];}}},'encryptBlock':function(_0x21c274,_0x2b5f5e){var _0x52c4ba=_0x5eb22c;this['_doCryptBlock'](_0x21c274,_0x2b5f5e,this[_0x52c4ba(0x21b)],_0xed3c80,_0x3c44f7,_0x260e08,_0x6e6208,_0x1d8196);},'decryptBlock':function(_0x3ca4f4,_0x541ea1){var _0x26d164=_0x5eb22c,_0x3ee9e1=_0x3ca4f4[_0x541ea1+0x1];_0x3ca4f4[_0x541ea1+0x1]=_0x3ca4f4[_0x541ea1+0x3],_0x3ca4f4[_0x541ea1+0x3]=_0x3ee9e1,this[_0x26d164(0x2eb)](_0x3ca4f4,_0x541ea1,this[_0x26d164(0x3db)],_0x2d80fb,_0x4c808c,_0x2972b3,_0x3ccac2,_0x176665);var _0x3ee9e1=_0x3ca4f4[_0x541ea1+0x1];_0x3ca4f4[_0x541ea1+0x1]=_0x3ca4f4[_0x541ea1+0x3],_0x3ca4f4[_0x541ea1+0x3]=_0x3ee9e1;},'_doCryptBlock':function(_0x3751e5,_0x5e76ac,_0x5bd5c3,_0x287eef,_0x5bd8ee,_0x5c56fc,_0x31d1a4,_0x34cf63){var _0x33ec3d=_0x5eb22c;for(var _0x5d383a=this[_0x33ec3d(0x245)],_0x556323=_0x3751e5[_0x5e76ac]^_0x5bd5c3[0x0],_0x87e227=_0x3751e5[_0x5e76ac+0x1]^_0x5bd5c3[0x1],_0x3ceb9b=_0x3751e5[_0x5e76ac+0x2]^_0x5bd5c3[0x2],_0x5c26ee=_0x3751e5[_0x5e76ac+0x3]^_0x5bd5c3[0x3],_0x360a82=0x4,_0x4ff944=0x1;_0x4ff944<_0x5d383a;_0x4ff944++){var _0x514fd2=_0x287eef[_0x556323>>>0x18]^_0x5bd8ee[_0x87e227>>>0x10&0xff]^_0x5c56fc[_0x3ceb9b>>>0x8&0xff]^_0x31d1a4[_0x5c26ee&0xff]^_0x5bd5c3[_0x360a82++],_0xae1874=_0x287eef[_0x87e227>>>0x18]^_0x5bd8ee[_0x3ceb9b>>>0x10&0xff]^_0x5c56fc[_0x5c26ee>>>0x8&0xff]^_0x31d1a4[_0x556323&0xff]^_0x5bd5c3[_0x360a82++],_0x12604e=_0x287eef[_0x3ceb9b>>>0x18]^_0x5bd8ee[_0x5c26ee>>>0x10&0xff]^_0x5c56fc[_0x556323>>>0x8&0xff]^_0x31d1a4[_0x87e227&0xff]^_0x5bd5c3[_0x360a82++],_0x524db2=_0x287eef[_0x5c26ee>>>0x18]^_0x5bd8ee[_0x556323>>>0x10&0xff]^_0x5c56fc[_0x87e227>>>0x8&0xff]^_0x31d1a4[_0x3ceb9b&0xff]^_0x5bd5c3[_0x360a82++];_0x556323=_0x514fd2,_0x87e227=_0xae1874,_0x3ceb9b=_0x12604e,_0x5c26ee=_0x524db2;}var _0x514fd2=(_0x34cf63[_0x556323>>>0x18]<<0x18|_0x34cf63[_0x87e227>>>0x10&0xff]<<0x10|_0x34cf63[_0x3ceb9b>>>0x8&0xff]<<0x8|_0x34cf63[_0x5c26ee&0xff])^_0x5bd5c3[_0x360a82++],_0xae1874=(_0x34cf63[_0x87e227>>>0x18]<<0x18|_0x34cf63[_0x3ceb9b>>>0x10&0xff]<<0x10|_0x34cf63[_0x5c26ee>>>0x8&0xff]<<0x8|_0x34cf63[_0x556323&0xff])^_0x5bd5c3[_0x360a82++],_0x12604e=(_0x34cf63[_0x3ceb9b>>>0x18]<<0x18|_0x34cf63[_0x5c26ee>>>0x10&0xff]<<0x10|_0x34cf63[_0x556323>>>0x8&0xff]<<0x8|_0x34cf63[_0x87e227&0xff])^_0x5bd5c3[_0x360a82++],_0x524db2=(_0x34cf63[_0x5c26ee>>>0x18]<<0x18|_0x34cf63[_0x556323>>>0x10&0xff]<<0x10|_0x34cf63[_0x87e227>>>0x8&0xff]<<0x8|_0x34cf63[_0x3ceb9b&0xff])^_0x5bd5c3[_0x360a82++];_0x3751e5[_0x5e76ac]=_0x514fd2,_0x3751e5[_0x5e76ac+0x1]=_0xae1874,_0x3751e5[_0x5e76ac+0x2]=_0x12604e,_0x3751e5[_0x5e76ac+0x3]=_0x524db2;},'keySize':0x100/0x20});_0x37fa4b['AES']=_0x227fb3[_0x5eb22c(0x40a)](_0xf76294);}()),_0x48a192[_0x55d263(0x390)];}));}(Ve)),Ve[_0x522583(0x294)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x57ea30(0x294)],ai;function zr(){var _0x4090da=_0x57ea30;return ai||(ai=0x1,function(_0x2df0a3,_0x1f3996){(function(_0x4aa056,_0x42badf){var _0x50d0f8=_0x30c3;_0x2df0a3[_0x50d0f8(0x294)]=_0x42badf(ne());}(qr,function(_0xcaa399){var _0x85d15c=_0x30c3;return _0xcaa399[_0x85d15c(0x374)][_0x85d15c(0x3d0)];}));}(Xe)),Xe[_0x4090da(0x294)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){var _0x35be6b=_0x57ea30;return ci||(ci=0x1,function(_0x4c873a,_0x5cb069){(function(_0x4081f5,_0x337ca5){var _0x3a145c=_0x30c3;_0x4c873a[_0x3a145c(0x294)]=_0x337ca5(ne());}(Zr,function(_0x18a038){var _0x11451a=_0x30c3;return(function(){var _0x447ffe=_0x30c3;if(typeof ArrayBuffer==_0x447ffe(0x2d6)){var _0x1624ff=_0x18a038,_0x46f88c=_0x1624ff[_0x447ffe(0x1f4)],_0x4fca5d=_0x46f88c[_0x447ffe(0x2c3)],_0x373894=_0x4fca5d[_0x447ffe(0x1b3)],_0x960acd=_0x4fca5d['init']=function(_0x414107){var _0x486e75=_0x447ffe;if(_0x414107 instanceof ArrayBuffer&&(_0x414107=new Uint8Array(_0x414107)),(_0x414107 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x414107 instanceof Uint8ClampedArray||_0x414107 instanceof Int16Array||_0x414107 instanceof Uint16Array||_0x414107 instanceof Int32Array||_0x414107 instanceof Uint32Array||_0x414107 instanceof Float32Array||_0x414107 instanceof Float64Array)&&(_0x414107=new Uint8Array(_0x414107[_0x486e75(0x43d)],_0x414107[_0x486e75(0x1d5)],_0x414107[_0x486e75(0x1cb)])),_0x414107 instanceof Uint8Array){for(var _0x670779=_0x414107[_0x486e75(0x1cb)],_0x578cb6=[],_0x14cc78=0x0;_0x14cc78<_0x670779;_0x14cc78++)_0x578cb6[_0x14cc78>>>0x2]|=_0x414107[_0x14cc78]<<0x18-_0x14cc78%0x4*0x8;_0x373894[_0x486e75(0x209)](this,_0x578cb6,_0x670779);}else _0x373894['apply'](this,arguments);};_0x960acd[_0x447ffe(0x33d)]=_0x4fca5d;}}()),_0x18a038[_0x11451a(0x1f4)][_0x11451a(0x2c3)];}));}(Ze)),Ze[_0x35be6b(0x294)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x57ea30(0x294)],hi;function ns(){var _0x7ed198=_0x57ea30;return hi||(hi=0x1,function(_0x5cabce,_0x7b440e){(function(_0x37927a,_0x3b22b1,_0x53be73){var _0x57bd4d=_0x30c3;_0x5cabce[_0x57bd4d(0x294)]=_0x3b22b1(ne(),Ai());}(is,function(_0x20bc0e){var _0x3fa20a=_0x30c3;return _0x20bc0e[_0x3fa20a(0x396)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x20bc0e[_0x3fa20a(0x396)][_0x3fa20a(0x21f)];}));}(Qe)),Qe[_0x7ed198(0x294)];}var rs=ns();const ss=ke(rs);function os(_0x3e57ad,_0x201861){var _0x11c2de=_0x57ea30;const _0x1931dc=_0x201861-_0x3e57ad[_0x11c2de(0x1d3)]%_0x201861,_0x3150f8=String[_0x11c2de(0x187)](_0x1931dc)[_0x11c2de(0x378)](_0x1931dc);return _0x3e57ad+_0x3150f8;}function as(_0x25c005,_0x54bde7){var _0xc15db=_0x57ea30;const _0x10f795=ts[_0xc15db(0x32f)](0x10),_0x581b1f=os(_0x25c005,0x10),_0x32cc0f=Kr[_0xc15db(0x1c1)](Xr[_0xc15db(0x228)](_0x581b1f),oi[_0xc15db(0x228)](_0x54bde7),{'iv':_0x10f795,'padding':ss});return _0x10f795['concat'](_0x32cc0f[_0xc15db(0x2d5)])['toString'](oi);}function cs(){var _0x5c8aab=_0x57ea30;const _0x1a2520=_0x27997a()[_0x5c8aab(0x170)];if(_0x1a2520){const _0x561ab1={'time':Math[_0x5c8aab(0x1f9)](Date['now']()/0x3e8),'domain':location[_0x5c8aab(0x163)]};return as(JSON[_0x5c8aab(0x3ea)](_0x561ab1),_0x1a2520);}}var hs=Object[_0x57ea30(0x2ab)],_s=Object[_0x57ea30(0x457)],ls=(_0x2ceb30,_0x4b0a83,_0x411066,_0x92e341)=>{var _0x38d1d7=_0x57ea30;for(var _0xa67bc=_0x92e341>0x1?void 0x0:_0x92e341?_s(_0x4b0a83,_0x411066):_0x4b0a83,_0x3f1ecb=_0x2ceb30[_0x38d1d7(0x1d3)]-0x1,_0x477b6d;_0x3f1ecb>=0x0;_0x3f1ecb--)(_0x477b6d=_0x2ceb30[_0x3f1ecb])&&(_0xa67bc=(_0x92e341?_0x477b6d(_0x4b0a83,_0x411066,_0xa67bc):_0x477b6d(_0xa67bc))||_0xa67bc);return _0x92e341&&_0xa67bc&&hs(_0x4b0a83,_0x411066,_0xa67bc),_0xa67bc;},us=(_0x15ef62,_0x1e472a)=>(_0x10d898,_0x443f36)=>_0x1e472a(_0x10d898,_0x443f36,_0x15ef62);let ot=class{constructor(_0x36ec2a){var _0xdda260=_0x57ea30;this[_0xdda260(0x2ec)]=_0x36ec2a,this['_initRequestHeader']();}[_0x57ea30(0x1fd)](){var _0x375a80=_0x57ea30;this['_httpService'][_0x375a80(0x18f)]({'interceptor':(_0xd36374,_0x21b74b)=>{var _0x3e5edb=_0x375a80;const _0x167896=_0xd36374[_0x3e5edb(0x444)],_0x3da07f=cs();return _0x3da07f&&_0x167896[_0x3e5edb(0x44b)](_0x3e5edb(0x313),_0x3da07f),_0x21b74b(_0xd36374);}});}};ot=ls([us(0x0,_0x121c70(_0x457bbb))],ot);var ds=Object[_0x57ea30(0x2ab)],fs=Object[_0x57ea30(0x457)],vs=(_0x1abc06,_0x1f810c,_0x390d37,_0x1994a9)=>{for(var _0x260705=_0x1994a9>0x1?void 0x0:_0x1994a9?fs(_0x1f810c,_0x390d37):_0x1f810c,_0x2a7bc1=_0x1abc06['length']-0x1,_0x17305e;_0x2a7bc1>=0x0;_0x2a7bc1--)(_0x17305e=_0x1abc06[_0x2a7bc1])&&(_0x260705=(_0x1994a9?_0x17305e(_0x1f810c,_0x390d37,_0x260705):_0x17305e(_0x260705))||_0x260705);return _0x1994a9&&_0x260705&&ds(_0x1f810c,_0x390d37,_0x260705),_0x260705;},mt=(_0x52c57a,_0x12d007)=>(_0x2e3847,_0x3393bd)=>_0x12d007(_0x2e3847,_0x3393bd,_0x52c57a);let Ot=class extends _0x577131{constructor(_0x655f53,_0x40c5c5,_0xf05122){var _0x3c3f4b=_0x57ea30;super(),N(this,_0x3c3f4b(0x43a),new _0x21aea0(null)),N(this,_0x3c3f4b(0x2ae),this[_0x3c3f4b(0x43a)][_0x3c3f4b(0x271)]()),(this[_0x3c3f4b(0x26f)]=_0x655f53,this[_0x3c3f4b(0x38a)]=_0x40c5c5,this[_0x3c3f4b(0x42d)]=_0xf05122);}async[_0x57ea30(0x411)](_0x474ec3,_0x4e71d1,_0x249b95){var _0xc6d8b7=_0x57ea30;this['_unitInfo$'][_0xc6d8b7(0x205)]({'unitId':_0x474ec3,'type':_0x4e71d1,'subUnitId':_0x249b95});let _0x31c129=null;switch(_0x4e71d1){case Q[_0xc6d8b7(0x2d1)]:{_0x31c129=await this[_0xc6d8b7(0x34b)](_0x474ec3);break;}case Q[_0xc6d8b7(0x44d)]:{_0x31c129=await this[_0xc6d8b7(0x338)](_0x474ec3);break;}default:{this[_0xc6d8b7(0x26f)]['error'](_0xc6d8b7(0x352),_0xc6d8b7(0x42f));break;}}return _0x31c129;}async[_0x57ea30(0x34b)](_0x2bc8af){var _0x1ac279=_0x57ea30,_0x53370e;let _0x3fb610=0x0;const _0x31e39f=await((_0x53370e=this[_0x1ac279(0x42d)])==null?void 0x0:_0x53370e[_0x1ac279(0x323)](_0x2bc8af));return _0x31e39f&&(_0x31e39f[_0x1ac279(0x366)]||_0x31e39f[_0x1ac279(0x409)][_0x1ac279(0x1d3)]!==0x0)&&(_0x3fb610=_0x31e39f['rev']),_0x3fb610===0x0&&this[_0x1ac279(0x26f)]['debug'](_0x1ac279(0x352),_0x1ac279(0x3b7)),this[_0x1ac279(0x38a)][_0x1ac279(0x3e3)](_0x2bc8af,_0x3fb610);}async['_loadDoc'](_0x1c96c5){var _0x3dd5fc=_0x57ea30,_0x2ef512;let _0x3da2b6=0x0;const _0x4ba457=await((_0x2ef512=this['_localCacheService'])==null?void 0x0:_0x2ef512[_0x3dd5fc(0x323)](_0x1c96c5));return _0x4ba457&&(_0x4ba457['awaitingChangeset']||_0x4ba457[_0x3dd5fc(0x409)][_0x3dd5fc(0x1d3)]!==0x0)&&(_0x3da2b6=_0x4ba457['rev']),_0x3da2b6===0x0&&this[_0x3dd5fc(0x26f)][_0x3dd5fc(0x243)](_0x3dd5fc(0x352),_0x3dd5fc(0x3b7)),this['_snapshotService'][_0x3dd5fc(0x431)](_0x1c96c5,_0x3da2b6);}};Ot=vs([mt(0x0,_0x410aea),mt(0x1,_0x121c70(_0x2a96f5)),mt(0x2,_0x1d8841(J))],Ot);var ps=Object[_0x57ea30(0x2ab)],ms=Object[_0x57ea30(0x457)],gs=(_0xbb5666,_0x33d763,_0x1a4287,_0x3493cf)=>{var _0x10a924=_0x57ea30;for(var _0x20617f=_0x3493cf>0x1?void 0x0:_0x3493cf?ms(_0x33d763,_0x1a4287):_0x33d763,_0x367872=_0xbb5666[_0x10a924(0x1d3)]-0x1,_0x4820e8;_0x367872>=0x0;_0x367872--)(_0x4820e8=_0xbb5666[_0x367872])&&(_0x20617f=(_0x3493cf?_0x4820e8(_0x33d763,_0x1a4287,_0x20617f):_0x4820e8(_0x20617f))||_0x20617f);return _0x3493cf&&_0x20617f&&ps(_0x33d763,_0x1a4287,_0x20617f),_0x20617f;},gt=(_0x5ad240,_0x4a6f29)=>(_0x3e03e4,_0x2c6110)=>_0x4a6f29(_0x3e03e4,_0x2c6110,_0x5ad240);const Ss=[_0x57ea30(0x3de),_0x57ea30(0x332),_0x57ea30(0x3a2),_0x57ea30(0x16e),_0x57ea30(0x242)],Es=0x5*0x400*0x400,Is=_0x57ea30(0x3c5),Ts=_0x57ea30(0x2f0),Cs=_0x57ea30(0x1ff),Rs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x314128,_0x1d9275,_0x56e20a){var _0xec4ccf=_0x57ea30;N(this,'_waitCount',0x0),N(this,_0xec4ccf(0x326),new _0x378d79()),N(this,_0xec4ccf(0x2c5),this[_0xec4ccf(0x326)]),N(this,_0xec4ccf(0x360),new Map()),(this['_httpService']=_0x314128,this[_0xec4ccf(0x276)]=_0x1d9275,this[_0xec4ccf(0x46f)]=_0x56e20a);}[_0x57ea30(0x23c)](_0x2054f5){var _0x51c7b8=_0x57ea30;this[_0x51c7b8(0x20e)]=_0x2054f5,this[_0x51c7b8(0x326)]['next'](_0x2054f5);}[_0x57ea30(0x454)](_0x56d71b,_0xfaf81){var _0x3a2a48=_0x57ea30;if(_0xfaf81===_0x3aee31['BASE64']){const _0x2af99e=new Image();return _0x2af99e[_0x3a2a48(0x37d)]=_0x56d71b,_0x2af99e;}return this[_0x3a2a48(0x360)]['get'](_0x56d71b);}[_0x57ea30(0x2fc)](_0x518858,_0x3f8ba0,_0x48ad81){var _0x4ddbf5=_0x57ea30;_0x3f8ba0===_0x3aee31['BASE64']||_0x48ad81==null||this[_0x4ddbf5(0x360)][_0x4ddbf5(0x44b)](_0x518858,_0x48ad81);}async[_0x57ea30(0x15f)](_0x2a895b){var _0x3e2b1b=_0x57ea30;try{const _0xa9e620=this[_0x3e2b1b(0x44a)](this[_0x3e2b1b(0x3ca)](),''+_0x2a895b),_0x4ce792=(await this[_0x3e2b1b(0x2ec)][_0x3e2b1b(0x17b)](_0xa9e620))[_0x3e2b1b(0x3d6)];if(_0x4ce792[_0x3e2b1b(0x24b)]&&_0x4ce792[_0x3e2b1b(0x24b)]['code']===Ii['OK']){const _0x35f490=new URL(_0x4ce792['url'],this[_0x3e2b1b(0x3e4)]())['toString']();return Promise[_0x3e2b1b(0x1c9)](_0x35f490);}return Promise['reject'](_0x4ce792['error']);}catch(_0xc1677d){return Promise[_0x3e2b1b(0x2ed)](_0xc1677d);}}async[_0x57ea30(0x173)](_0x211fa0){var _0x4383f9=_0x57ea30;let _0x236ada='';if(!Ss[_0x4383f9(0x39b)](_0x211fa0[_0x4383f9(0x466)]))return this[_0x4383f9(0x433)](),Promise[_0x4383f9(0x2ed)](new Error(_0x57e7c3['ERROR_IMAGE_TYPE']));if(_0x211fa0['size']>Es)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x57e7c3['ERROR_EXCEED_SIZE']));try{const _0x2d4713=new FormData();_0x2d4713['append'](_0x4383f9(0x299),_0x211fa0);const _0x3a5fe9=this[_0x4383f9(0x46f)][_0x4383f9(0x393)](),_0x265228=_0x3a5fe9==null?void 0x0:_0x3a5fe9[_0x4383f9(0x377)]();if(!_0x265228)throw new Error(_0x4383f9(0x3d5));const _0x4a3882=this[_0x4383f9(0x1da)]()+_0x4383f9(0x37e)+_0x211fa0['size'][_0x4383f9(0x416)]()+_0x4383f9(0x35a)+Ti[_0x4383f9(0x33e)]+_0x4383f9(0x292)+encodeURIComponent(_0x265228),_0x562137=await(await fetch(_0x4a3882,{'method':'POST','body':_0x2d4713}))[_0x4383f9(0x38f)]();if(typeof _0x562137[_0x4383f9(0x19f)]!=_0x4383f9(0x3e0))return this[_0x4383f9(0x433)](),Promise['reject'](new Error(_0x57e7c3[_0x4383f9(0x3af)]));_0x236ada=_0x562137['FileId'];}catch{return this[_0x4383f9(0x433)](),Promise[_0x4383f9(0x2ed)](new Error(_0x57e7c3[_0x4383f9(0x3af)]));}return new Promise((_0x3bf61e,_0xbfc3eb)=>{var _0x3071f6=_0x4383f9;const _0x3f3034=new FileReader();_0x3f3034['readAsDataURL'](_0x211fa0),_0x3f3034[_0x3071f6(0x3c9)]=_0x17afeb=>{var _0x4597f3=_0x3071f6,_0x5d1e14;const _0x4464ca=(_0x5d1e14=_0x17afeb[_0x4597f3(0x39e)])==null?void 0x0:_0x5d1e14[_0x4597f3(0x2e3)];if(_0x4464ca==null){this[_0x4597f3(0x433)](),_0xbfc3eb(new Error(_0x57e7c3[_0x4597f3(0x3af)]));return;}const _0x15853e=_0xb8971a[_0x4597f3(0x3ae)](0x6);_0x3bf61e({'imageId':_0x15853e,'imageSourceType':_0x3aee31[_0x4597f3(0x264)],'source':_0x236ada,'base64Cache':_0x4464ca,'status':_0x57e7c3[_0x4597f3(0x18b)]}),this[_0x4597f3(0x433)]();};});}['_getUploadFileURL'](){var _0x26ece1=_0x57ea30,_0x3638b3,_0x55b94b;const _0x544409=this[_0x26ece1(0x276)][_0x26ece1(0x341)](Is),_0x7b55da=this[_0x26ece1(0x276)][_0x26ece1(0x341)](q);return(_0x55b94b=(_0x3638b3=_0x7b55da==null?void 0x0:_0x7b55da[_0x26ece1(0x380)])!=null?_0x3638b3:_0x544409)!=null?_0x55b94b:Ts;}['_getSignURL'](){var _0x4d2ced=_0x57ea30,_0x320204,_0x255059;const _0x3a1ff5=this[_0x4d2ced(0x276)][_0x4d2ced(0x341)](Cs),_0x15b9e6=this[_0x4d2ced(0x276)][_0x4d2ced(0x341)](q);return(_0x255059=(_0x320204=_0x15b9e6==null?void 0x0:_0x15b9e6['signUrlServerUrl'])!=null?_0x320204:_0x3a1ff5)!=null?_0x255059:Rs;}[_0x57ea30(0x3e4)](){var _0x1fa135=_0x57ea30,_0xa3986d;const _0x70360e=this[_0x1fa135(0x276)][_0x1fa135(0x341)](q);return(_0xa3986d=_0x70360e==null?void 0x0:_0x70360e[_0x1fa135(0x208)])!=null?_0xa3986d:location['origin'];}['_replaceFileID'](_0x518ca1,_0x4dfd82){var _0x3d4bc6=_0x57ea30;return _0x518ca1[_0x3d4bc6(0x395)](_0x3d4bc6(0x3fe),_0x4dfd82);}[_0x57ea30(0x433)](){var _0x4bf470=_0x57ea30;this['_waitCount']-=0x1,this[_0x4bf470(0x326)]['next'](this[_0x4bf470(0x20e)]);}};function _0x2a30(){var _0x1a7081=['getCollabEntity$','SYNCED','createInstance','file','_throwTelemetryCollaborationNewChangeset','startsWith','_transformRemoteChangesetByIMECache','origin','_clearTimeoutTimer','liveShareOperation','disableLocalCache','eventID','SOCKET_FAILED','addHandlerCallback','_onConnectionFailed','RETRY_CONNECTING_MAX_COUNT','_onConnectionOpen','[OfflineState]:\x20received\x20acknowledgement.','_socketMessageSubscription','readInt32LE','mode','defineProperty','onTransformSelections','/fetchmissing?from=','unitInfo$','_substituteRedoStack','onCommandExecuted','enableOfflineEditing','HMAC','event$','PERSON','[CollaborationState]:\x20apply\x20error!','_process','USERS_ENTER','_executeRemoteChangeset','members$','getCurrentUser','_retryConnectingTimer','Hex','UNKNOWN_CMD','sigBytes','_onOffline','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','liveShareNewHost','Hasher','WordArray','objects','change$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','withCredentials','_sendHeartbeatTimer','map','_sender','SEND_CHANGESET_TIMEOUT','BufferedBlockAlgorithm','processBlock','name','fromCollab','/allowed','UNIVER_SHEET','_rescheduleHeartbeat','delete','__creator','ciphertext','function','_cipher','uniscriptRunEvent','_startCollaboration','CLOSE_ROOM','open$','YUUMI_URL_COL_OUT_OF_RANGE','getMember','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CONNECTOR_DATA_TOO_LARGE','_scheduleCompleteTimestamp','_onCombEvent','_doProcessBlock','result','_resendWithTimeout','UNIVER_COLLABORATION_CLIENT_PLUGIN','/role','_init','/unit/','_submitChangeset','_unitID','_doCryptBlock','_httpService','reject','_iKey','_getAPIPrefix','/universer-api/stream/file/upload','getResourcesRequest','INTERNAL_ERROR','_status$','APPLY_NON_SEQUENTIAL_REVISION','1748436UByNzv','onCommentUpdate','_onUserLeave','/rev/','fetchThroughInterceptors','SNAPSHOT_INVALID_SNAPSHOT','clear','addImageSourceCache','disposeWithMe','collaborators','method','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_networkConditionService','params','padding','iterations','objectID','LIVESHARE_OPERATION','runId','[SyncedState]:\x20received\x20rejection.','_emitMembers','save\x20fail\x20reason\x20is\x20','CHANGESET_SHOULD_RETRY','UPDATE_CURSOR','/universer-api/authz','HEARTBEAT','NOT_COLLAB','c2Prime','/universer-api/snapshot','close','x-univer-host','_singleActiveUnitService','_entities','_xformMode','pluginName','charCodeAt','unpad','_checkMissing','EvpKDF','_revisionService','COMMENT_UPDATE','LICENSE_EXPORT_SIZE_EXCEEDED','join','OTHER_CLIENT_EDITING','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','195vUvXPo','loadOfflineData','Could\x20not\x20dynamically\x20require\x20\x22','_keyPriorReset','_change$','_updateLocalCache','_sendingTimer','_createHandler','ws://127.0.0.1:8000/universer-api/comb/connect','connection\x20error','_collaborationTimeoutTimer','cmd','_disableEditing','random','LEAVE','requestParams','image/jpeg','state$','charAt','onTransformRemoteChangesetByStateCache','_commandService','forEach','_loadDoc','62YlTjmP','isArray','fetchMiss','enableSingleActiveInstanceLock','prototype','UnitEmbedded','editing\x20status\x20changed\x20to','waitForRoom$','getConfig','auth.needGotoLoginAlert','getUnitOnRev','message$','YUUMI_UNABLE_LOAD_URL','AWAITING','_getUndoStack','_telemetryInfo','OFFLINE','UNIVER_SLIDE','_loadSheet','data','transformMutationsWithChangeset','SUBMIT_CHANGESET','StreamCipher','batchAllowed','encryptBlock','[DataLoaderService]','workbook','collaboration-client.config','_listenToNetworkCondition','getRoom','_doReset','_retryCount','_handler','&source=','collaboration_new_changeset','_HTTPService','sessionStatus$','revision','MD5','_imageSourceCache','pending','now','_clearRedo','_lockTransition','_roomCreated$','awaitingChangeset','_initDependencies','createDecryptor','find','interceptor','_fetchMissChangesets','send','changesets','sendChangesetTimeout','unknown','UNISCRIPT_RUN','onStarting','/universer-api/snapshot/','Base64','enc','_compressMutationService','subUnitId','getUnitId','repeat','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','allowed','_state','permissionRejEvent','src','?size=','randomUUID','uploadFileServerUrl','getTime','getUnitType','getTypeOfUnitDisposed$','pauseCollaboration','[OfflineState]:\x20received\x20changeset.','list','splice','_stopTelemetryCollaborationNewChangeset','_onRemoteRetry','_snapshotService','stopTime','UNAUTHENTICATED','kdf','ALREADY_EXISTS','json','AES','\x20to\x20','_onFetchMissResult','getFocusedUnit','HmacMD5','replace','pad','concat','reduce','originalMeta','updatePermissionPoint','includes','_socket','_doFinalize','target','_eventService','JOINING','_transformIMECache','image/jpg','getTypeOfUnitAdded$','IDLE','_tryEnsureSocket','snapshot','getMemberID','apply','crypto','CBC','LIVESHARE_FETCH_OPERATIONS','_createInitialState','CONFLICT','generateRandomId','ERROR_IMAGE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_commentService','refreshPermission','collabSubmitChangesetUrl','_collaborationPaused','wsSessionTicketUrl','_onJoinRoomEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','BlockCipher','mixIn','FAIL','error$','collaMsg','SOCKET_FAILED_RETRY','_socket$','JOIN_ROOM_FAILED','getSnapshotAPIPath','_toggleOnline','put','reset','_config','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','$super','awaiting_with_pending','COMPRESS_MUTATION_SEND','onload','_getSignURL','_showConflictNotification','JOIN','csShouldRetryEvent','socketService','_oKey','Utf8','_changesetSessionId','unit-cache-','_localeService','_createSocketURL','unitId\x20is\x20not\x20found','body','blockSize','_onUserJoin','HELLO','commentUpdateEvent','_invKeySchedule','saveSnapshot','_scheduleCollaborationTimeoutTimer','image/png','every','string','SHOULD_CLOSE_CONN','/object','loadSheet','_getDownloadEndpointURL','_onRemoteACK','session.room-cnt-exceeds','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_schedule','UNDEFINED','stringify','createCollaborator','_injector','getWorkbookSelections','_timeoutTimer','HEARTBEAT_INTERVAL','reconnect','title','href','YUUMI_RATE_OVER_LIMIT','getCurrentRevOfUnit','transformChangesets','onTransformRemoteChangesetByIMECache','LICENSE_MAX_UNITS_EXCEEDED','isPermissionRej','_isPermissionRej','_transformUndoredo','_onLocalMutation','FETCH_MISS','close$','{fileID}','/universer-api/oidc/authpage','getRandomValues','[PendingState]:\x20received\x20acknowledgement.','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','members','YUUMI_SUBSCRIPTION_NOT_FOUND','post','univer-pro.collaboration-client-socket-service','search','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','mutations','_createHelper','state','12848AKESkW','\x20-\x20','SNAPSHOT_SERVER_URL_KEY','LIVESHARE_REQUEST_HOST','_clearCollaborationTimeoutTimer','loadUnit','COLLAB_SUBMIT_CHANGESET_URL','_parse','NEW_CHANGESETS','executeCommand','toString','[CollaborationSessionService]:\x20socket\x20error','UPDATE_PERMISSION_OBJ','routeKey','NO_OTHER_CLIENTS_EDITING','_collaborationUIEventService','has','_sessionStatus$','getUnit','_transformStateCache','toggleOnline','leaveEvent','APPLY_PERMISSION_DENIED','hasOwnProperty','PERMISSION_DENIED','updateMember','clone','[CollaborationSession]','_clearHeartbeatTimer','keySize','Pkcs7','hasher','_incrementRevisionNumber','_localCacheService','ceil','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','requireSession','loadDoc','format','_decreaseWaiting','UNIVER_PROJECT','listCollaborators','/new_changes','deleteCollaborator','updatePermissionObjEvent','entries','_unitInfo$','_initCloseConn','salt','buffer','PERMISSION_REJ','createEncryptor','APPLY_DUPLICATED','_mode','encode','infoRsp','headers','_onRemoteRejected','_entityInit$','_hasher','objectType','ONLINE','_replaceFileID','set','_type','UNIVER_DOC','bind','SNAPSHOT_HAS_BEEN_REMOVED','indexOf','MSG_FOR_ERROR','CHANGESET_REVISION_CONFILICT','75RoWUzJ','getImageSourceCache','getCollabEntity','updateOfflineData','getOwnPropertyDescriptor','CHANGESET_ACK','_nDataBytes','_commentUpdate$','override','[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.','status$','_transitionLocked','/collaborator','_startTelemetryCollaborationNewChangeset','newCsEvent','_unlockTransition','roomInfos','_transformService','_authzIoService','type','19904mPzqeO','symbol','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','INVALID_ARGUMENT','unsubscribe','complete','NOT_FOUND','[UniverCollaborationClientPlugin]','_univerInstanceService','USERS_LEAVE','conflict','_resendTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_instanceService','session','OTHER_CLIENTS_EDITING','_syncEditingCollabCursor','failed\x20to\x20apply\x20missed\x20changesets!','_registerDependencies','transformStack\x20failed!','getImage','24saKQiB','synced','onRemoteAck','hostname','words','getInterceptPoints','csAckEvent','TOO_MANY_REQUESTS','_createInitialStateImpl','_transformStack','update','_prevBlock','getAllMembers','msCrypto','image/gif','_socketReady','__Key__','_ENC_XFORM_MODE','then','saveImage','algo','[FetchMissState]','[CollaborationSessionService]','_getCtorByUniverType','HEARTBEAT_TIMEOUT','subscribe','execute','get','awaiting','onTransformState','_reverseMap','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','objectActions','values','FETCH_MISSING','[CollaborationUndoRedoService]','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Cipher','focused$','fromCharCode','_createSocket','45268wgXznV','session.room-not-exists','SUCCUSS','_replayCachedMutations','[PendingState]:\x20unhandled\x20univer\x20type:\x20','?url=','registerHTTPInterceptor','c1Prime','getSheetBlock','size','_redoStacks','closeSession','_hash','actions','pipe','location','url','finalize','_clearLocalCache','memberID','_transformRemoteChangesetByStateCache','toggleOffline','FileId','univer-pro.collaboration-client.single-active-unit-service','_initMergeInterceptor','getUnitStatus$','_clearUndo','onSyncEditingCollabCursor','Encryptor','/block/','5540YvuDVq','_getLoginPath','toLowerCase','_updateState','onRemoteRej','_exhaustRemoteChangesetQueue','min','baseRev','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','enableAuthServer','slice','MUTATION','init','469285hNKibq','_getRedoStack','reqId','_createHmacHelper','getDeserializedSheetBlock','userID','incrementRevOfUnit','session.join-failed','LOGIN_URL_KEY','listRoles','status','LICENSE_DISTRO_REJECTED','socket\x20close','encrypt','compose','onMissedChangesetFetched','dispose$','confirm','onSendChangeset','_getSessionTicket','Base','resolve','JOIN_ROOM_NOT_EXISTS','byteLength','roles','People','createSocket','decrypt','6GEJjfj','_waitForHeartbeatResponse','code','length','_sessions','byteOffset','appendMutation','push','_shouldReportTelemetry','capture','_getUploadFileURL','/universer-api/user/session-ticket','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_updateStatus','from','\x20in\x20_schedule.','APPLY_REVISION_CONFILICT','UNIVER_UNKNOWN','saveSheetBlock','sessionTicket','compute','shouldCloseConn','authzUrl','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_members','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','create','HttpExport','_awaitingChangeset','filter','offline','\x0aAfter:\x20','_removeRoom','APPLY_REJECT','_queuedRemoteChangesets','GLOBAL_ROOMS_CNT_EXCEEDS','lib','_permissionService','saveChangeset','_state$','_toggleOffline','floor','extend','/object/','&to=','_initRequestHeader','searchParams','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_minBufferSize','3831667lQDRjR','startTime','equals','_collaborationSessionService','next','_acknowledgedAwaitingChangeset','_onRemoteChangeset','downloadEndpointUrl','call','selections','_transformSelections','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onRemoteRetry','_waitCount','SHA1','UNKNOWN_CODE','_onRecvEvent','_sendHeartbeat','setCurrentUser','dispose','ENSURE_SNAPSHOT_EXECUTION','editingUnit','max','COMPRESS_MUTATION_APPLY','getLatestCsReqIdBySid','emitEvent','_keySchedule','_joinRoom','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_members$','NoPadding','_iv','/-/object/list','onlyLocal','_substituteUndoStack','JOIN_ROOM_FULL','SUBMIT_CHANGESET_TIMEOUT','Undefined','JOIN_ROOM_PERMISSION_DENIED','parse','onMissingChangesets','onLocalMutation','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_socketService','1230678xUwlDL','UnitSnapshot','UNRECOGNIZED','clamp','_candidateSocket','ivSize','textRanges','abs','_changesetReqId','getValue','univer-pro.collaboration-client.network-condition.service','_tryReconnect','unitID','_applyRemoteChangeset','CHANGESET_REJ','setWaitCount','default','patch','_getSendChangesetTimeout','RECV','_onConflict','image/bmp','debug','fetch_missing','_nRounds','OpenSSL','sid','subject','COLLAB_WEB_SOCKET_URL','INGEST','error','PY_RUNTIME_SCRIPT_ERROR','decryptBlock','snapshotServerUrl','CipherParams','_initUnitPermissionChange','_telemetryService','getCurrentSelections','_map','_append','m2Prime','_getAPIPrefixPath','POST','onTransformIME','collabWebSocketUrl','_roomMembers','localeService','substr','_getCurrentRevision','_undoRedoService','_resendTimer','fetching\x20missing\x20changesets\x20from\x20','[SyncedState]:\x20received\x20acknowledgement.','resourceIDs','HmacSHA1','UUID','updateCollaborator','session.room-full','_data','catch','onRemoteChangeset','rng','randomBytes','PSEUDO_FETCH_MISSING_RESULT','localCacheService','joinEvent','_logService','removeMember','asObservable','_userManagerService','range','deepClone','key','_configService','HttpImport','_pendingMutations','not_collab','[PendingState]:\x20received\x20rejection.','_key','LICENSE_IMPORT_SIZE_EXCEEDED','_clearScheduledTask','/universer-api/comb','setShowComponents','cfg','_http','retryConnectingInterval','session.room-permission-denied','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_remoteChangesetQueue','resend','COMPLETION_FINISHED','unitId','add','commentUpdate$','avatar','LIVESHARE_TERMINATE','sessionStatus','transformSelections','fetchMissingChangesets','_handlerCallback','_event$','&assign=','_memberService','exports','collaboration-client.local-cache-service'];_0x2a30=function(){return _0x1a7081;};return _0x2a30();}yt=gs([gt(0x0,_0x121c70(_0x457bbb)),gt(0x1,_0x5a8f33),gt(0x2,_0x121c70(_0x3b1049))],yt);var bs=Object[_0x57ea30(0x2ab)],Os=Object[_0x57ea30(0x457)],ys=(_0x2cfc9a,_0x361039,_0x5da77d,_0x39008b)=>{var _0x4bc045=_0x57ea30;for(var _0x9edbdd=_0x39008b>0x1?void 0x0:_0x39008b?Os(_0x361039,_0x5da77d):_0x361039,_0x8493e0=_0x2cfc9a[_0x4bc045(0x1d3)]-0x1,_0x5cd991;_0x8493e0>=0x0;_0x8493e0--)(_0x5cd991=_0x2cfc9a[_0x8493e0])&&(_0x9edbdd=(_0x39008b?_0x5cd991(_0x361039,_0x5da77d,_0x9edbdd):_0x5cd991(_0x9edbdd))||_0x9edbdd);return _0x39008b&&_0x9edbdd&&bs(_0x361039,_0x5da77d,_0x9edbdd),_0x9edbdd;},_i=(_0x206d85,_0x2dc00c)=>(_0x252806,_0x50c96f)=>_0x2dc00c(_0x252806,_0x50c96f,_0x206d85);const Ns='/universer-api/authz';let Nt=class{constructor(_0x31f4f6,_0x2d7150){var _0x5cb769=_0x57ea30;this[_0x5cb769(0x276)]=_0x31f4f6,this[_0x5cb769(0x35c)]=_0x2d7150;}['_getAPIPrefixPath'](){var _0x2e7490=_0x57ea30,_0x52d30c,_0x50b71b;const _0x21e389=this[_0x2e7490(0x276)][_0x2e7490(0x341)](Pi),_0x5e0bd2=this[_0x2e7490(0x276)][_0x2e7490(0x341)](q);return(_0x50b71b=(_0x52d30c=_0x5e0bd2==null?void 0x0:_0x5e0bd2[_0x2e7490(0x1e6)])!=null?_0x52d30c:_0x21e389)!=null?_0x50b71b:Ns;}async[_0x57ea30(0x386)](_0xa3fbdc){var _0x4e77b1=_0x57ea30;const _0x2c6250=this['_getAPIPrefixPath']()+_0x4e77b1(0x45f);return{'list':[{'title':_0x4e77b1(0x1cd),'mentions':(await this[_0x4e77b1(0x35c)][_0x4e77b1(0x17b)](_0x2c6250,{'params':{'objectID':_0xa3fbdc[_0x4e77b1(0x288)],'unitID':_0xa3fbdc[_0x4e77b1(0x288)]}}))['body'][_0x4e77b1(0x2fe)][_0x4e77b1(0x2c9)](_0x2e6c75=>({'objectId':_0x2e6c75['id'],'name':_0x2e6c75[_0x4e77b1(0x248)][_0x4e77b1(0x2ce)],'metadata':{'icon':_0x2e6c75[_0x4e77b1(0x248)][_0x4e77b1(0x28b)]},'label':_0x2e6c75[_0x4e77b1(0x248)][_0x4e77b1(0x2ce)],'objectType':_0xce523b['PERSON']})),'metadata':{},'type':_0xce523b[_0x4e77b1(0x2b4)]}]};}};Nt=ys([_i(0x0,_0x121c70(_0x5a8f33)),_i(0x1,_0x121c70(_0x457bbb))],Nt);var Ds=Object['defineProperty'],Ps=Object[_0x57ea30(0x457)],ws=(_0x527ba2,_0x21eb19,_0x1a101e,_0x33b6fb)=>{for(var _0x18f7c3=_0x33b6fb>0x1?void 0x0:_0x33b6fb?Ps(_0x21eb19,_0x1a101e):_0x21eb19,_0x4bc380=_0x527ba2['length']-0x1,_0x1e129b;_0x4bc380>=0x0;_0x4bc380--)(_0x1e129b=_0x527ba2[_0x4bc380])&&(_0x18f7c3=(_0x33b6fb?_0x1e129b(_0x21eb19,_0x1a101e,_0x18f7c3):_0x1e129b(_0x18f7c3))||_0x18f7c3);return _0x33b6fb&&_0x18f7c3&&Ds(_0x21eb19,_0x1a101e,_0x18f7c3),_0x18f7c3;},Se=(_0x5d2951,_0x599151)=>(_0x48714a,_0x4ad88e)=>_0x599151(_0x48714a,_0x4ad88e,_0x5d2951);let at=class extends _0x577131{constructor(_0x58c8f9,_0x513403,_0x3a95c3,_0x11e320,_0xd4d968,_0x334b70,_0x7a5193){var _0x3097d7=_0x57ea30;super(),this[_0x3097d7(0x3ec)]=_0x58c8f9,this['_univerInstanceService']=_0x513403,this[_0x3097d7(0x1f5)]=_0x3a95c3,this[_0x3097d7(0x204)]=_0x11e320,this[_0x3097d7(0x41b)]=_0xd4d968,this[_0x3097d7(0x465)]=_0x334b70,this[_0x3097d7(0x25e)]=_0x7a5193,this[_0x3097d7(0x250)](),this['_initCloseConn']();}[_0x57ea30(0x43b)](){var _0x1802c1=_0x57ea30;const _0x3f3746=async _0x15d0b0=>{var _0x9bdef5=_0x30c3;(await this[_0x9bdef5(0x204)][_0x9bdef5(0x430)](_0x15d0b0))[_0x9bdef5(0x2b3)][_0x9bdef5(0x197)](_0x4d1c41(_0x453fbd=>_0x453fbd[_0x9bdef5(0x2a1)]===_0x50f10f['SHOULD_CLOSE_CONN']),_0x5c07a4(this[_0x9bdef5(0x1c4)]))[_0x9bdef5(0x179)](_0x119b60=>{var _0x4f61fb=_0x9bdef5;const _0x377f3a=_0x119b60,{reason:_0x4e3932}=_0x377f3a[_0x4f61fb(0x34c)];this['_collaborationUIEventService']['emitEvent']({'id':se[_0x4f61fb(0x2da)],'data':_0x4e3932}),this[_0x4f61fb(0x1f5)][_0x4f61fb(0x39a)](new _0x4f0669(_0x15d0b0)['id'],!0x1),this['_collaborationSessionService'][_0x4f61fb(0x194)](_0x15d0b0);});};_0x20f86f(this['_univerInstanceService'][_0x1802c1(0x3a3)](_0x33b7bd['UNIVER_SHEET']),this[_0x1802c1(0x46f)]['getTypeOfUnitAdded$'](_0x33b7bd[_0x1802c1(0x44d)]))[_0x1802c1(0x197)](_0x18d76c(_0x19355c=>_0x19355c[_0x1802c1(0x377)]()),_0x4d1c41(_0x5535fd=>!_0x213a90(_0x5535fd)),_0x5c07a4(this[_0x1802c1(0x1c4)]))[_0x1802c1(0x179)](_0x14dfc4=>{_0x3f3746(_0x14dfc4);});}[_0x57ea30(0x250)](){var _0x4c4353=_0x57ea30;const _0x244d38=async _0x27ad56=>{var _0x3f8661=_0x30c3;const _0x84c5f9=await this[_0x3f8661(0x204)][_0x3f8661(0x430)](_0x27ad56),_0x26a682=this[_0x3f8661(0x3ec)]['get'](_0x50561b);_0x84c5f9['event$'][_0x3f8661(0x197)](_0x4d1c41(_0x2f5feb=>_0x2f5feb['eventID']===_0x50f10f[_0x3f8661(0x418)]),_0x5c07a4(this[_0x3f8661(0x1c4)]))['subscribe'](_0x1b1652=>{var _0x3786e1=_0x3f8661;const _0x516d99=_0x1b1652,{objectId:_0x5399a2}=_0x516d99['data'];_0x5399a2===_0x27ad56?_0x26a682['initWorkbookPermissionChange'](_0x27ad56):_0x26a682[_0x3786e1(0x3b2)](_0x27ad56,_0x5399a2);});};_0x20f86f(this[_0x4c4353(0x46f)][_0x4c4353(0x3a3)](_0x33b7bd[_0x4c4353(0x2d1)]),this['_univerInstanceService'][_0x4c4353(0x3a3)](_0x33b7bd[_0x4c4353(0x44d)]))['pipe'](_0x18d76c(_0x3ec885=>_0x3ec885[_0x4c4353(0x377)]()),_0x4d1c41(_0x24180f=>!_0x213a90(_0x24180f)),_0x5c07a4(this['dispose$']))[_0x4c4353(0x179)](_0x16780b=>{_0x244d38(_0x16780b);});}};at=ws([Se(0x0,_0x121c70(_0x49358f)),Se(0x1,_0x3b1049),Se(0x2,_0x8b7349),Se(0x3,_0x121c70(Le)),Se(0x4,_0x121c70(pe)),Se(0x5,_0xce0ee1),Se(0x6,_0x2cf6cb)],at);var Us=Object[_0x57ea30(0x2ab)],As=Object[_0x57ea30(0x457)],xs=(_0x14205b,_0x390628,_0x49172c,_0x26b541)=>{var _0x1e7326=_0x57ea30;for(var _0x415b33=_0x26b541>0x1?void 0x0:_0x26b541?As(_0x390628,_0x49172c):_0x390628,_0x1c5bb0=_0x14205b[_0x1e7326(0x1d3)]-0x1,_0x3fd370;_0x1c5bb0>=0x0;_0x1c5bb0--)(_0x3fd370=_0x14205b[_0x1c5bb0])&&(_0x415b33=(_0x26b541?_0x3fd370(_0x390628,_0x49172c,_0x415b33):_0x3fd370(_0x415b33))||_0x415b33);return _0x26b541&&_0x415b33&&Us(_0x390628,_0x49172c,_0x415b33),_0x415b33;},li=(_0x32764b,_0x44226c)=>(_0x1ad8a3,_0x16f10d)=>_0x44226c(_0x1ad8a3,_0x16f10d,_0x32764b);let Dt=class{constructor(_0x258363,_0x5d8115){var _0x4fb48c=_0x57ea30;this[_0x4fb48c(0x276)]=_0x258363,this[_0x4fb48c(0x2ec)]=_0x5d8115;}async[_0x57ea30(0x343)](_0x30c4e7,_0x2877f1){var _0x5f0643=_0x57ea30,_0x3ec527;const {unitID:_0xc24fc4,type:_0x318c49,revision:_0x3d2185=0x0}=_0x2877f1,_0x27642d=this[_0x5f0643(0x3c0)]()+'/'+_0x318c49+_0x5f0643(0x2e8)+_0xc24fc4+_0x5f0643(0x2f8)+_0x3d2185,_0x354e37=(await this[_0x5f0643(0x2ec)]['get'](_0x27642d))[_0x5f0643(0x3d6)],_0x3e730e=(_0x3ec527=_0x354e37[_0x5f0643(0x3a6)])==null?void 0x0:_0x3ec527[_0x5f0643(0x353)];if(_0x3e730e){const _0x58a853=_0x3e730e==null?void 0x0:_0x3e730e['originalMeta'],_0x455b02=_0x29ae7b[_0x5f0643(0x442)](_0x4da21e(_0x58a853));_0x3e730e[_0x5f0643(0x399)]=_0x455b02,Object[_0x5f0643(0x439)](_0x3e730e['sheets'])['forEach'](([,_0x185877])=>{var _0x5ce745=_0x5f0643;const _0x371fa9=_0x185877['originalMeta'],_0x2f32c3=_0x29ae7b[_0x5ce745(0x442)](_0x4da21e(_0x371fa9));_0x185877[_0x5ce745(0x399)]=_0x2f32c3;});}return _0x354e37;}async[_0x57ea30(0x191)](_0x527d55,_0x4ee1dd){var _0x58e4ca=_0x57ea30;const {unitID:_0x175fa6,type:_0x113b91,blockID:_0x204639}=_0x4ee1dd,_0x490b6d=this[_0x58e4ca(0x2ef)]()+'/'+_0x113b91+_0x58e4ca(0x2e8)+_0x175fa6+_0x58e4ca(0x1a6)+_0x204639;return(await this['_httpService']['get'](_0x490b6d))['body'];}async[_0x57ea30(0x1b8)](_0x3120c7,_0x121940){var _0x4e5834=_0x57ea30;const {unitID:_0x51342b,type:_0x861706,blockID:_0x42ab43}=_0x121940,_0xbf47c7=this[_0x4e5834(0x2ef)]()+'/block/'+_0x861706+'/unit/'+_0x51342b+_0x4e5834(0x1a6)+_0x42ab43;return(await this[_0x4e5834(0x2ec)]['get'](_0xbf47c7))[_0x4e5834(0x3d6)];}async[_0x57ea30(0x28f)](_0x4ac70e,_0x2b6441){var _0x29b481=_0x57ea30;const {unitID:_0x1a3559,type:_0x58bf34,from:_0x5d5dd9,to:_0x136750}=_0x2b6441,_0x31dd10=this['_getAPIPrefix']()+'/'+_0x58bf34+_0x29b481(0x2e8)+_0x1a3559+_0x29b481(0x2ad)+_0x5d5dd9+_0x29b481(0x1fc)+_0x136750;return(await this[_0x29b481(0x2ec)][_0x29b481(0x17b)](_0x31dd10))[_0x29b481(0x3d6)];}['getSnapshotAPIPath'](){var _0x43676f=_0x57ea30,_0x1751be;return(_0x1751be=this['_configService'][_0x43676f(0x341)](Tn))!=null?_0x1751be:this[_0x43676f(0x2ef)]();}[_0x57ea30(0x2ef)](){var _0x194767=_0x57ea30,_0x4df49d,_0x292db7;const _0x56fa2d=this[_0x194767(0x276)][_0x194767(0x341)](En),_0x5d55d5=this[_0x194767(0x276)][_0x194767(0x341)](q);return(_0x292db7=(_0x4df49d=_0x5d55d5==null?void 0x0:_0x5d55d5[_0x194767(0x24e)])!=null?_0x4df49d:_0x56fa2d)!=null?_0x292db7:In;}async[_0x57ea30(0x2f1)](_0xaff98d,_0x2ef1b6){var _0x3e6a1b=_0x57ea30;const _0x1739c7=_0x3e6a1b(0x372)+_0x2ef1b6['type']+_0x3e6a1b(0x2e8)+_0x2ef1b6[_0x3e6a1b(0x239)]+'/resources';return(await this[_0x3e6a1b(0x2ec)]['get'](_0x1739c7,{'params':{'resourceId':JSON[_0x3e6a1b(0x3ea)](_0x2ef1b6[_0x3e6a1b(0x262)])}}))[_0x3e6a1b(0x3d6)];}[_0x57ea30(0x3dc)](){var _0x1acb9b=_0x57ea30;throw new Error(_0x1acb9b(0x3e7));}[_0x57ea30(0x1e2)](){var _0x686ee7=_0x57ea30;throw new Error(_0x686ee7(0x3e7));}[_0x57ea30(0x1f6)](){var _0x4c4097=_0x57ea30;throw new Error(_0x4c4097(0x3e7));}['copyFileMeta'](){var _0x5c279c=_0x57ea30;throw new Error(_0x5c279c(0x3e7));}[_0x57ea30(0x219)](){var _0x6c969c=_0x57ea30;throw new Error(_0x6c969c(0x3e7));}};Dt=xs([li(0x0,_0x5a8f33),li(0x1,_0x121c70(_0x457bbb))],Dt);var Ls=Object[_0x57ea30(0x2ab)],Ms=Object[_0x57ea30(0x457)],$s=(_0x1dca69,_0x34d851,_0x5c9a8f,_0x9bdda2)=>{var _0x41f480=_0x57ea30;for(var _0x5e5c0d=_0x9bdda2>0x1?void 0x0:_0x9bdda2?Ms(_0x34d851,_0x5c9a8f):_0x34d851,_0x20c5ed=_0x1dca69[_0x41f480(0x1d3)]-0x1,_0xc978a3;_0x20c5ed>=0x0;_0x20c5ed--)(_0xc978a3=_0x1dca69[_0x20c5ed])&&(_0x5e5c0d=(_0x9bdda2?_0xc978a3(_0x34d851,_0x5c9a8f,_0x5e5c0d):_0xc978a3(_0x5e5c0d))||_0x5e5c0d);return _0x9bdda2&&_0x5e5c0d&&Ls(_0x34d851,_0x5c9a8f,_0x5e5c0d),_0x5e5c0d;},Ae=(_0x56afa8,_0x181d4b)=>(_0xf951cf,_0x430c70)=>_0x181d4b(_0xf951cf,_0x430c70,_0x56afa8);let Pt=class extends _0x4339c9{constructor(_0x5e42e9,_0x2d1e50,_0x3c7031,_0x408881,_0x5a3e27){var _0x6f5ef5=_0x57ea30;super(_0x5e42e9,_0x2d1e50,_0x3c7031),this[_0x6f5ef5(0x464)]=_0x408881,this[_0x6f5ef5(0x26f)]=_0x5a3e27;}['transformUndoRedo'](_0x3bec32,_0x3a1347){var _0x28c4e6=_0x57ea30;const _0x28dbb5=this['_getUndoStack'](_0x3bec32);if(_0x28dbb5)try{const _0x4fd25c=this[_0x28c4e6(0x169)](_0x28dbb5,_0x3a1347);this['_substituteUndoStack'](_0x3bec32,_0x4fd25c);}catch(_0x118bfc){this['_logService']['error'](_0x28c4e6(0x183),_0x118bfc),this['_clearUndo'](_0x3bec32);}const _0x5e4d0d=this[_0x28c4e6(0x1b5)](_0x3bec32);if(_0x5e4d0d)try{const _0x5083f8=this[_0x28c4e6(0x169)](_0x5e4d0d,_0x3a1347);this[_0x28c4e6(0x2af)](_0x3bec32,_0x5083f8);}catch(_0x45441e){this[_0x28c4e6(0x26f)][_0x28c4e6(0x24b)](_0x45441e),this[_0x28c4e6(0x363)](_0x3bec32);}}[_0x57ea30(0x1a3)](_0x1d4ea7){var _0x12f433=_0x57ea30;const _0x4e37e5=this[_0x12f433(0x347)](_0x1d4ea7);_0x4e37e5&&(_0x4e37e5['length']=0x0,this[_0x12f433(0x1dd)]());}[_0x57ea30(0x363)](_0x537efd){var _0x1a9ad0=_0x57ea30;const _0x5c26c6=this[_0x1a9ad0(0x1b5)](_0x537efd);_0x5c26c6&&(_0x5c26c6['length']=0x0,this['_updateStatus']());}[_0x57ea30(0x223)](_0x34fa03,_0x151343){var _0x36a7b1=_0x57ea30;this['_undoStacks'][_0x36a7b1(0x44b)](_0x34fa03,_0x151343),this[_0x36a7b1(0x1dd)]();}[_0x57ea30(0x2af)](_0x4ab065,_0x184a52){var _0x1278a7=_0x57ea30;this[_0x1278a7(0x193)]['set'](_0x4ab065,_0x184a52),this[_0x1278a7(0x1dd)]();}[_0x57ea30(0x169)](_0x518616,_0x398fef){var _0x3585ca=_0x57ea30;const _0x532b28=[];let _0x5f3e08=_0x398fef,_0x422390=_0x398fef;for(let _0x45f915=_0x518616[_0x3585ca(0x1d3)]-0x1;_0x45f915>=0x0;_0x45f915--){const {unitID:_0xca7e05,undoMutations:_0x23409c,redoMutations:_0x1da53a}=_0x518616[_0x45f915],_0x424f5c=this[_0x3585ca(0x464)][_0x3585ca(0x34d)](_0x5f3e08,_0x23409c),_0x50b4f1=this[_0x3585ca(0x464)][_0x3585ca(0x34d)](_0x422390,_0x1da53a);if(_0x2fe811(_0x424f5c)||_0x2fe811(_0x50b4f1)){this[_0x3585ca(0x26f)][_0x3585ca(0x24b)](_0x3585ca(0x183),_0x3585ca(0x15e),_0x424f5c,_0x50b4f1);break;}_0x5f3e08=_0x424f5c[_0x3585ca(0x190)],_0x422390=_0x50b4f1['c1Prime'],_0x532b28[_0x3585ca(0x1d7)]({'unitID':_0xca7e05,'undoMutations':_0x424f5c[_0x3585ca(0x255)],'redoMutations':_0x50b4f1[_0x3585ca(0x255)]});}return _0x532b28['reverse']();}};Pt=$s([Ae(0x0,_0x3b1049),Ae(0x1,_0x39c537),Ae(0x2,_0x1b919b),Ae(0x3,_0x4877b5),Ae(0x4,_0x410aea)],Pt);var xi=Object[_0x57ea30(0x2ab)],Hs=Object[_0x57ea30(0x457)],ks=(_0x11e106,_0x19bd0c,_0x1138c5)=>_0x19bd0c in _0x11e106?xi(_0x11e106,_0x19bd0c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1138c5}):_0x11e106[_0x19bd0c]=_0x1138c5,js=(_0x37bec7,_0x3a0788,_0x3678a7,_0x6f0de8)=>{for(var _0xd575c1=_0x6f0de8>0x1?void 0x0:_0x6f0de8?Hs(_0x3a0788,_0x3678a7):_0x3a0788,_0x3b32aa=_0x37bec7['length']-0x1,_0x5820dc;_0x3b32aa>=0x0;_0x3b32aa--)(_0x5820dc=_0x37bec7[_0x3b32aa])&&(_0xd575c1=(_0x6f0de8?_0x5820dc(_0x3a0788,_0x3678a7,_0xd575c1):_0x5820dc(_0xd575c1))||_0xd575c1);return _0x6f0de8&&_0xd575c1&&xi(_0x3a0788,_0x3678a7,_0xd575c1),_0xd575c1;},St=(_0x20dc7a,_0x2bd821)=>(_0x40edd2,_0x14492a)=>_0x2bd821(_0x40edd2,_0x14492a,_0x20dc7a),Bs=(_0x1869d5,_0x51b32a,_0x10e8da)=>ks(_0x1869d5,_0x51b32a+'',_0x10e8da);const Fs=_0x57ea30(0x2e5);let wt=class extends _0x802d0b{constructor(_0x31d50e=Wt,_0x550719,_0x4cfbfd,_0x839f16){var _0x54c9dd=_0x57ea30;super(),this[_0x54c9dd(0x3c4)]=_0x31d50e,this[_0x54c9dd(0x26f)]=_0x550719,this[_0x54c9dd(0x3ec)]=_0x4cfbfd,this[_0x54c9dd(0x276)]=_0x839f16;const {..._0x5d0e3b}=_0x136c0d({},Wt,this[_0x54c9dd(0x3c4)]);this['_configService']['setConfig'](q,_0x5d0e3b);}[_0x57ea30(0x371)](){var _0x49beef=_0x57ea30;this[_0x49beef(0x15d)](),this[_0x49beef(0x367)]();}[_0x57ea30(0x15d)](){var _0x405d35=_0x57ea30,_0x323632,_0x1b5188,_0x4bf022,_0x137bd8;this[_0x405d35(0x3ec)][_0x405d35(0x41c)](_0x2cf6cb)&&this[_0x405d35(0x26f)]['error'](_0x405d35(0x46e),_0x405d35(0x300));const _0x2c5847=_0x3795e4([[_0x2cf6cb,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x1b5188=(_0x323632=this['_config'])==null?void 0x0:_0x323632[_0x405d35(0x3ce)])!=null?_0x1b5188:Et}],[_0x1a1ac3,{'useClass':Dt}],[_0xce0ee1,{'useClass':bt}],[_0x1b3fb2,{'useClass':yt}],[_0x34756c,{'useClass':Nt}],[rt],[Rt]],(_0x4bf022=this['_config'])==null?void 0x0:_0x4bf022[_0x405d35(0x45b)]);if(!((_0x137bd8=this['_config'])!=null&&_0x137bd8[_0x405d35(0x33c)])){const _0x1bfdfe=_0x2c5847['findIndex'](([_0x23fe0b])=>_0x23fe0b===ht);_0x1bfdfe!==-0x1&&_0x2c5847[_0x405d35(0x387)](_0x1bfdfe,0x1);}_0xdc2135(this[_0x405d35(0x3ec)],_0x2c5847);}['_initDependencies'](){var _0x4eb9b7=_0x57ea30,_0x21e536,_0x5b8de0,_0x26fd87;this[_0x4eb9b7(0x3ec)][_0x4eb9b7(0x17b)](_0x457bbb)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2e84f0({'maxParallel':0x6})}),(_0x21e536=this[_0x4eb9b7(0x3c4)])!=null&&_0x21e536[_0x4eb9b7(0x2b1)]||(_0x5b8de0=this['_injector'][_0x4eb9b7(0x17b)](J,_0x2b20f2['OPTIONAL']))==null||_0x5b8de0[_0x4eb9b7(0x2a0)](),(_0x26fd87=this[_0x4eb9b7(0x3c4)])!=null&&_0x26fd87[_0x4eb9b7(0x1b0)]&&_0x571d99(this['_injector'],[[st]]),_0x571d99(this[_0x4eb9b7(0x3ec)],[[ot],[rt],[at]]);}};Bs(wt,_0x57ea30(0x317),Fs),wt=js([_0x21b86b(_0x4b4955,_0x1ca7f4,_0xf16f04),St(0x1,_0x410aea),St(0x2,_0x121c70(_0x49358f)),St(0x3,_0x5a8f33)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
1
+ var _0x228894=_0x326f;(function(_0x649008,_0x52626c){var _0xe6b24d=_0x326f,_0x1e9317=_0x649008();while(!![]){try{var _0xdf2122=-parseInt(_0xe6b24d(0x422))/0x1*(-parseInt(_0xe6b24d(0x41b))/0x2)+-parseInt(_0xe6b24d(0x3dc))/0x3+-parseInt(_0xe6b24d(0x3f1))/0x4*(-parseInt(_0xe6b24d(0x380))/0x5)+parseInt(_0xe6b24d(0x318))/0x6*(-parseInt(_0xe6b24d(0x12d))/0x7)+-parseInt(_0xe6b24d(0x155))/0x8+parseInt(_0xe6b24d(0x346))/0x9*(parseInt(_0xe6b24d(0x280))/0xa)+-parseInt(_0xe6b24d(0x42f))/0xb;if(_0xdf2122===_0x52626c)break;else _0x1e9317['push'](_0x1e9317['shift']());}catch(_0x16b9a7){_0x1e9317['push'](_0x1e9317['shift']());}}}(_0x2844,0xdcf70));var Ai=Object[_0x228894(0x436)],Pi=(_0x571207,_0x22f894,_0x20427a)=>_0x22f894 in _0x571207?Ai(_0x571207,_0x22f894,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20427a}):_0x571207[_0x22f894]=_0x20427a,N=(_0x3f7fda,_0x5b29f1,_0x15d98a)=>Pi(_0x3f7fda,typeof _0x5b29f1!=_0x228894(0x163)?_0x5b29f1+'':_0x5b29f1,_0x15d98a);import{createIdentifier as _0x3235fa,Inject as _0x7e1ee1,Injector as _0xa32491,IConfigService as _0x7ee467,ILogService as _0x3cc2bd,Disposable as _0x5c5031,DisposableCollection as _0x44cbce,toDisposable as _0x483b1d,IUniverInstanceService as _0xffe073,UserManagerService as _0x293594,UniverInstanceType as _0x6cb10f,LocaleService as _0x421b51,Optional as _0x1d58e6,RxDisposable as _0x4d64f7,Tools as _0x1b891a,Rectangle as _0x43bf4e,ICommandService as _0x50ec3e,JSONX as _0xac861d,CommandType as _0x2ffda7,IUndoRedoService as _0x15c881,IPermissionService as _0x18d44c,sequenceExecute as _0x531c58,Workbook as _0xd202b5,MentionType as _0x270089,isInternalEditorID as _0x5d1d2a,LocalUndoRedoService as _0x3d2d2f,IContextService as _0x5bd258,DependentOn as _0x331e67,Plugin as _0x5a64fe,merge as _0x444ec8,mergeOverrideWithDependencies as _0x4d8dd9,IAuthzIoService as _0x25ae31,IMentionIOService as _0x2aaf3e,registerDependencies as _0xd419ce,Quantity as _0x2545e1,touchDependencies as _0x3943a1}from'@univerjs/core';import{Subject as _0xe00b19,merge as _0x5bc9c1,of as _0x5bf531,BehaviorSubject as _0x35002d,takeUntil as _0x3c9bb5,ReplaySubject as _0x342735,take as _0x314bc2,map as _0x244e5d,shareReplay as _0x15b5bd,firstValueFrom as _0x1a1add,concatMap as _0x32d840}from'rxjs';import{map as _0x54f33d,take as _0x264a5f,filter as _0x28db24,delay as _0x2c3f4d,takeUntil as _0x3fb4d5}from'rxjs/operators';import{CollaborationEvent as _0x20f032,ISnapshotServerService as _0x5d1003,parseChangesetToProtocol as _0x4bfe76,ITransformService as _0x3ece4b,isTransformMutationsWithChangesetSuccess as _0x5d1283,mapDocumentTypeToUniverType as _0x34fd4b,RevisionService as _0x34da5f,isTransformChangesetsSuccess as _0x3a66cd,CompressMutationService as _0x48f8e4,parseProtocolChangeset as _0x5554e5,SnapshotService as _0x433de0,textEncoder as _0x243e8b,b64DecodeUnicode as _0x5cd51b,isTransformMutationsWithChangesetFailure as _0xa69dee,UniverCollaborationPlugin as _0x1316fd}from'@univerjs-pro/collaboration';import{HTTPService as _0x5daba1,ISocketService as _0x261fa4,MergeInterceptorFactory as _0x305ef5,HTTPRequest as _0x417fa3,UniverNetworkPlugin as _0x59ac87,ThresholdInterceptorFactory as _0x304424}from'@univerjs/network';import{ITelemetryService as _0x1e5b04}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x43f4f3}from'@univerjs/docs';import{SheetsSelectionsService as _0x4d88bf,SetSelectionsOperation as _0x36f082,InsertSheetMutation as _0x1f4325,EmptyMutation as _0x569059,WorkbookEditablePermission as _0x255943,SheetPermissionInitController as _0x3f922a,UniverSheetsPlugin as _0x46dba4}from'@univerjs/sheets';import{ImageSourceType as _0x425200,ImageUploadStatusType as _0x5ca9c8,IImageIoService as _0x3ed98c}from'@univerjs/drawing';import{getGlobalObject as _0x4c6156}from'@univerjs-pro/license';const mr=_0x228894(0x328),gr=_0x228894(0x275),Sr='SNAPSHOT_URL_KEY',Ls=_0x228894(0x1b3),Er=0x7d0,Ir=_0x228894(0x230),Tr=_0x228894(0x360),Ms=_0x228894(0x2be),Cr=_0x228894(0x2bd),Rr=0x7530,mi=_0x228894(0x2fa),gi=0x4e20,br=0x4e20,yr=_0x228894(0x2fc),Or=0x3,ks='LOCAL_CACHE_INTERVAL',$s=0x3e8,Nr=_0x228894(0x1b0),Dr=_0x228894(0x232),Ur=_0x228894(0x39d),wr=_0x228894(0x286),Hs=_0x228894(0x1ea),Bs=_0x228894(0x3e0);var Si=(_0x21fb1c=>(_0x21fb1c[_0x21fb1c['UNDEFINED']=0x0]=_0x228894(0x3dd),_0x21fb1c[_0x21fb1c['OK']=0x1]='OK',_0x21fb1c[_0x21fb1c[_0x228894(0x32e)]=0x2]=_0x228894(0x32e),_0x21fb1c[_0x21fb1c[_0x228894(0x438)]=0x3]=_0x228894(0x438),_0x21fb1c[_0x21fb1c['NOT_FOUND']=0x4]='NOT_FOUND',_0x21fb1c[_0x21fb1c[_0x228894(0x306)]=0x5]='UNAUTHENTICATED',_0x21fb1c[_0x21fb1c[_0x228894(0x420)]=0x6]=_0x228894(0x420),_0x21fb1c[_0x21fb1c['INVALID_ARGUMENT']=0x7]=_0x228894(0x364),_0x21fb1c[_0x21fb1c[_0x228894(0x13c)]=0x8]=_0x228894(0x13c),_0x21fb1c[_0x21fb1c['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x21fb1c[_0x21fb1c[_0x228894(0x148)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x21fb1c[_0x21fb1c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x21fb1c[_0x21fb1c[_0x228894(0x1d4)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x21fb1c[_0x21fb1c[_0x228894(0x290)]=0x1773]=_0x228894(0x290),_0x21fb1c[_0x21fb1c[_0x228894(0x2a4)]=0x1b59]=_0x228894(0x2a4),_0x21fb1c[_0x21fb1c[_0x228894(0x19e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x21fb1c[_0x21fb1c[_0x228894(0x3a9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x21fb1c[_0x21fb1c[_0x228894(0x288)]=0x1b5c]=_0x228894(0x288),_0x21fb1c[_0x21fb1c[_0x228894(0x226)]=0x1b5d]=_0x228894(0x226),_0x21fb1c[_0x21fb1c[_0x228894(0x335)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x21fb1c[_0x21fb1c[_0x228894(0x1f4)]=0x2329]=_0x228894(0x1f4),_0x21fb1c[_0x21fb1c[_0x228894(0x2a1)]=0x232a]=_0x228894(0x2a1),_0x21fb1c[_0x21fb1c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x228894(0x3aa),_0x21fb1c[_0x21fb1c[_0x228894(0x19a)]=0x232c]=_0x228894(0x19a),_0x21fb1c[_0x21fb1c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x228894(0x1dd),_0x21fb1c[_0x21fb1c[_0x228894(0x1b4)]=0x2711]=_0x228894(0x1b4),_0x21fb1c[_0x21fb1c[_0x228894(0x150)]=0x2712]=_0x228894(0x150),_0x21fb1c[_0x21fb1c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x228894(0x1d5),_0x21fb1c[_0x21fb1c[_0x228894(0x41c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x21fb1c[_0x21fb1c[_0x228894(0x294)]=0x2af9]=_0x228894(0x294),_0x21fb1c[_0x21fb1c['UNRECOGNIZED']=-0x1]=_0x228894(0x1a6),_0x21fb1c))(Si||{}),Q=(_0x594383=>(_0x594383[_0x594383[_0x228894(0x222)]=0x0]=_0x228894(0x222),_0x594383[_0x594383[_0x228894(0x273)]=0x1]='UNIVER_DOC',_0x594383[_0x594383[_0x228894(0x24c)]=0x2]=_0x228894(0x24c),_0x594383[_0x594383[_0x228894(0x2b1)]=0x3]=_0x228894(0x2b1),_0x594383[_0x594383['UNIVER_PROJECT']=0x4]=_0x228894(0x37e),_0x594383[_0x594383[_0x228894(0x1a6)]=-0x1]=_0x228894(0x1a6),_0x594383))(Q||{}),F=(_0x1a09aa=>(_0x1a09aa[_0x1a09aa[_0x228894(0x2f2)]=0x0]=_0x228894(0x2f2),_0x1a09aa[_0x1a09aa[_0x228894(0x33e)]=0x1]=_0x228894(0x33e),_0x1a09aa[_0x1a09aa['JOIN']=0x2]=_0x228894(0x202),_0x1a09aa[_0x1a09aa[_0x228894(0x430)]=0x3]=_0x228894(0x430),_0x1a09aa[_0x1a09aa['INGEST']=0x4]='INGEST',_0x1a09aa[_0x1a09aa['HEARTBEAT']=0x5]=_0x228894(0x333),_0x1a09aa[_0x1a09aa['RECV']=0x6]='RECV',_0x1a09aa[_0x1a09aa[_0x228894(0x1a6)]=-0x1]=_0x228894(0x1a6),_0x1a09aa))(F||{}),ge=(_0x5b8fae=>(_0x5b8fae[_0x5b8fae[_0x228894(0x1b9)]=0x0]=_0x228894(0x1b9),_0x5b8fae[_0x5b8fae['OK']=0x1]='OK',_0x5b8fae[_0x5b8fae[_0x228894(0x2ff)]=0x2]=_0x228894(0x2ff),_0x5b8fae[_0x5b8fae[_0x228894(0x385)]=0x3e9]=_0x228894(0x385),_0x5b8fae[_0x5b8fae[_0x228894(0x36e)]=0x3ea]=_0x228894(0x36e),_0x5b8fae[_0x5b8fae['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5b8fae[_0x5b8fae[_0x228894(0x32b)]=0x3ec]=_0x228894(0x32b),_0x5b8fae[_0x5b8fae[_0x228894(0x1a6)]=-0x1]=_0x228894(0x1a6),_0x5b8fae))(ge||{}),Ei=(_0x1b2e06=>(_0x1b2e06[_0x1b2e06['Undefined']=0x0]=_0x228894(0x201),_0x1b2e06[_0x1b2e06[_0x228894(0x38a)]=0x1]='HttpImport',_0x1b2e06[_0x1b2e06[_0x228894(0x378)]=0x2]='HttpExport',_0x1b2e06[_0x1b2e06['UnitEmbedded']=0x3]='UnitEmbedded',_0x1b2e06[_0x1b2e06['UnitSnapshot']=0x4]=_0x228894(0x26a),_0x1b2e06[_0x1b2e06[_0x228894(0x1a6)]=-0x1]=_0x228894(0x1a6),_0x1b2e06))(Ei||{});const q=_0x228894(0x1ff),Ar={};var se=(_0x35637f=>(_0x35637f[_0x228894(0x426)]='OTHER_CLIENT_EDITING',_0x35637f[_0x228894(0x438)]=_0x228894(0x438),_0x35637f[_0x228894(0x3d9)]=_0x228894(0x3d9),_0x35637f[_0x228894(0x3f5)]=_0x228894(0x3f5),_0x35637f[_0x228894(0x303)]='JOIN_ROOM_FAILED',_0x35637f[_0x228894(0x21a)]=_0x228894(0x21a),_0x35637f['SOCKET_FAILED']='SOCKET_FAILED',_0x35637f['SUBMIT_CHANGESET_TIMEOUT']=_0x228894(0x261),_0x35637f))(se||{});class pe{constructor(){var _0x4b1d39=_0x228894;N(this,_0x4b1d39(0x2b8),new _0xe00b19()),N(this,_0x4b1d39(0x25f),this[_0x4b1d39(0x2b8)][_0x4b1d39(0x2ca)]());}[_0x228894(0x241)](_0x43b7a6){var _0x4168cb=_0x228894;this[_0x4168cb(0x2b8)][_0x4168cb(0x167)](_0x43b7a6);}}const Pr=_0x3235fa(_0x228894(0x3eb));function xr(_0x199e36){var _0x8350c0=_0x228894,_0x551ba1,_0x5d6f02,_0x48c146,_0x1f0155,_0x399ecc;const _0x2b3bfb=_0x199e36[_0x8350c0(0x41f)],_0x1eb8ba=JSON[_0x8350c0(0x3e4)](_0x2b3bfb);switch(_0x1eb8ba[_0x8350c0(0x2c8)]){case F[_0x8350c0(0x333)]:case F[_0x8350c0(0x33e)]:{const _0x5ebe09=_0x1eb8ba[_0x8350c0(0x416)];return{..._0x1eb8ba,'data':_0x5ebe09,'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};}case F[_0x8350c0(0x202)]:{const _0x129ce4=_0x1eb8ba['joinRsp'];return{..._0x1eb8ba,'data':_0x129ce4,'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};}case F[_0x8350c0(0x15c)]:{const _0x20d931=_0x1eb8ba[_0x8350c0(0x3b1)];switch(_0x20d931[_0x8350c0(0x423)]){case _0x20f032[_0x8350c0(0x181)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':(_0x551ba1=_0x20d931['permissionRejEvent'])==null?void 0x0:_0x551ba1['cs']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x227)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':(_0x5d6f02=_0x20d931[_0x8350c0(0x388)])==null?void 0x0:_0x5d6f02['cs']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x419)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':(_0x48c146=_0x20d931['newCsEvent'])==null?void 0x0:_0x48c146['cs']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x130)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':(_0x1f0155=_0x20d931[_0x8350c0(0x277)])==null?void 0x0:_0x1f0155['cs']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032['CHANGESET_SHOULD_RETRY']:return{..._0x1eb8ba,'data':{..._0x20d931,'data':(_0x399ecc=_0x20d931[_0x8350c0(0x191)])==null?void 0x0:_0x399ecc['cs']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x1cf)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931['updateCursorEvent']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032['USERS_ENTER']:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x2d6)]},'cmd':_0x1eb8ba['cmd']};case _0x20f032[_0x8350c0(0x3d3)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x3ed)]},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x18b)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x312)]},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x3a4)]:case _0x20f032[_0x8350c0(0x428)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931['liveShareOperation']},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x30d)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x312)]},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x35b)]:return{..._0x1eb8ba,'data':_0x20d931,'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x376)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x2cd)]},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x348)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x2cf)]},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};case _0x20f032[_0x8350c0(0x2ce)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x38e)]},'cmd':_0x1eb8ba['cmd']};case _0x20f032[_0x8350c0(0x219)]:return{..._0x1eb8ba,'data':{..._0x20d931,'data':_0x20d931[_0x8350c0(0x1fd)]},'cmd':_0x1eb8ba[_0x8350c0(0x2c8)]};default:return _0x1eb8ba;}}default:return _0x1eb8ba;}}function Lr(_0x43a90f){var _0x9b4353=_0x228894;switch(_0x43a90f[_0x9b4353(0x2c8)]){case F[_0x9b4353(0x333)]:case F[_0x9b4353(0x33e)]:return JSON[_0x9b4353(0x26d)]({'cmd':_0x43a90f[_0x9b4353(0x2c8)],'routeKey':_0x43a90f[_0x9b4353(0x272)]});case F[_0x9b4353(0x2c9)]:{let _0x318ca6;switch(_0x43a90f[_0x9b4353(0x41f)][_0x9b4353(0x423)]){case _0x20f032['UPDATE_CURSOR']:{_0x318ca6={'eventID':_0x20f032['UPDATE_CURSOR'],'updateCursorEvent':_0x43a90f[_0x9b4353(0x41f)]['data']};break;}case _0x20f032['USERS_LEAVE']:{_0x318ca6={'eventID':_0x20f032[_0x9b4353(0x3d3)],'leaveEvent':_0x43a90f['data']['data']};break;}case _0x20f032[_0x9b4353(0x400)]:{_0x318ca6={'eventID':_0x20f032['USERS_ENTER'],'joinEvent':_0x43a90f['data']['data']};break;}case _0x20f032['LIVESHARE_NEW_HOST']:{_0x318ca6={'eventID':_0x20f032[_0x9b4353(0x18b)],'liveShareNewHost':_0x43a90f[_0x9b4353(0x41f)]['data']};break;}case _0x20f032[_0x9b4353(0x428)]:{_0x318ca6={'eventID':_0x20f032['LIVESHARE_OPERATION'],'liveShareOperation':_0x43a90f[_0x9b4353(0x41f)][_0x9b4353(0x41f)]};break;}case _0x20f032[_0x9b4353(0x30d)]:{_0x318ca6={'eventID':_0x20f032[_0x9b4353(0x30d)],'liveShareTerminate':_0x43a90f[_0x9b4353(0x41f)]['data']};break;}case _0x20f032['LIVESHARE_REQUEST_HOST']:{_0x318ca6={'eventID':_0x20f032[_0x9b4353(0x409)],'liveShareRequestHost':_0x43a90f[_0x9b4353(0x41f)][_0x9b4353(0x41f)]};break;}case _0x20f032[_0x9b4353(0x3a4)]:{_0x318ca6={'eventID':_0x20f032[_0x9b4353(0x3a4)]};break;}default:_0x318ca6={'eventID':_0x43a90f[_0x9b4353(0x41f)]['eventID']};}return JSON[_0x9b4353(0x26d)]({'cmd':_0x43a90f[_0x9b4353(0x2c8)],'routeKey':_0x43a90f[_0x9b4353(0x272)],'collaMsg':_0x318ca6});}case F['JOIN']:return JSON[_0x9b4353(0x26d)]({'cmd':_0x43a90f['cmd'],'routeKey':_0x43a90f['routeKey'],'joinReq':_0x43a90f['data']});case F[_0x9b4353(0x430)]:return JSON[_0x9b4353(0x26d)]({'cmd':_0x43a90f[_0x9b4353(0x2c8)],'routeKey':_0x43a90f[_0x9b4353(0x272)],'leaveReq':_0x43a90f[_0x9b4353(0x41f)]});default:throw new Error(_0x9b4353(0x21d));}}var Mr=Object[_0x228894(0x20c)],kr=(_0x24c59f,_0x3dfc74,_0x12798a,_0x3de3d7)=>{var _0x4e3ec2=_0x228894;for(var _0x3bcc3f=_0x3de3d7>0x1?void 0x0:_0x3de3d7?Mr(_0x3dfc74,_0x12798a):_0x3dfc74,_0x42f1d5=_0x24c59f[_0x4e3ec2(0x1d8)]-0x1,_0x3e958b;_0x42f1d5>=0x0;_0x42f1d5--)(_0x3e958b=_0x24c59f[_0x42f1d5])&&(_0x3bcc3f=_0x3e958b(_0x3bcc3f)||_0x3bcc3f);return _0x3bcc3f;},we=(_0x4a9df3,_0x3553fc)=>(_0x201fb7,_0x5650e5)=>_0x3553fc(_0x201fb7,_0x5650e5,_0x4a9df3);const Ii=_0x3235fa(_0x228894(0x1db));function $r(_0x86b81e,_0x10d0d0,_0x507139){var _0x169f8a=_0x228894;return _0x86b81e+'/'+_0x10d0d0+_0x169f8a(0x136)+_0x507139+_0x169f8a(0x170);}let Gt=class extends _0x5c5031{constructor(_0x1c309d,_0x9ff161,_0x58f849,_0x2f7be4,_0x461225){var _0x79ab82=_0x228894;super(),this[_0x79ab82(0x165)]=_0x1c309d,this['_httpService']=_0x9ff161,this['_configService']=_0x58f849,this[_0x79ab82(0x144)]=_0x2f7be4,this[_0x79ab82(0x3cf)]=_0x461225;}[_0x228894(0x131)](_0x1374b0){var _0x159c7e=_0x228894;const _0x38a5b8=this[_0x159c7e(0x165)][_0x159c7e(0x42d)](_0x261fa4);if(!_0x38a5b8)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x4f921c=_0x38a5b8[_0x159c7e(0x310)](_0x1374b0);if(!_0x4f921c)throw new Error(_0x159c7e(0x198));const _0x23027f=new _0x44cbce(),_0x2745dd=new _0xe00b19();_0x23027f[_0x159c7e(0x22c)](_0x4f921c[_0x159c7e(0x30e)][_0x159c7e(0x24e)](_0x252970=>_0x2745dd[_0x159c7e(0x167)](_0x252970))),_0x23027f[_0x159c7e(0x22c)](_0x483b1d(()=>_0x2745dd['complete']()));const _0x4e78d0=new _0xe00b19();_0x23027f['add'](_0x4f921c[_0x159c7e(0x2a2)][_0x159c7e(0x24e)](_0x5951b1=>_0x4e78d0['next'](_0x5951b1))),_0x23027f[_0x159c7e(0x22c)](_0x483b1d(()=>_0x4e78d0['complete']()));const _0x242e34=new _0xe00b19();_0x23027f['add'](_0x4f921c[_0x159c7e(0x15b)][_0x159c7e(0x24e)](_0x23b272=>{var _0x1072cf=_0x159c7e;const _0x215d65=xr(_0x23b272);_0x242e34[_0x1072cf(0x167)](_0x215d65);})),_0x23027f['add'](_0x483b1d(()=>_0x242e34[_0x159c7e(0x184)]()));let _0x3cce30;const _0x18066e=()=>{var _0x2f674b=_0x159c7e;_0x4e78d0[_0x2f674b(0x167)](new Event(_0x2f674b(0x30c))),_0x2745dd[_0x2f674b(0x167)](new Event('connection\x20error')),_0x3cce30['close']();};return _0x3cce30={'memberID':'','close$':_0x2745dd[_0x159c7e(0x2ca)](),'error$':_0x4e78d0[_0x159c7e(0x2ca)](),'open$':_0x4f921c[_0x159c7e(0x354)],'message$':_0x242e34[_0x159c7e(0x2ca)](),'send':_0x5ad1f8=>{var _0x387eb0=_0x159c7e;if(_0x5ad1f8[_0x387eb0(0x2c8)]===F['INGEST']){if(_0x5ad1f8[_0x387eb0(0x41f)]['eventID']===_0x20f032[_0x387eb0(0x413)]){this[_0x387eb0(0x25e)](_0x3cce30,_0x5ad1f8[_0x387eb0(0x41f)])[_0x387eb0(0x2c0)](_0x5a5aa4=>{var _0x509caf=_0x387eb0;this[_0x509caf(0x144)][_0x509caf(0x16d)](_0x5a5aa4),_0x18066e();});return;}if(_0x5ad1f8[_0x387eb0(0x41f)]['eventID']===_0x20f032[_0x387eb0(0x30b)]){const _0x18b974=_0x5ad1f8[_0x387eb0(0x41f)];this[_0x387eb0(0x350)](_0x18b974)[_0x387eb0(0x3a0)](_0x1b379f=>{var _0x2d5320=_0x387eb0;_0x242e34['next']({'cmd':F[_0x2d5320(0x15c)],'code':ge['OK'],'routeKey':_0x18b974[_0x2d5320(0x41f)][_0x2d5320(0x215)],'routeType':'','data':{'eventID':_0x20f032[_0x2d5320(0x433)],'data':{'changesets':_0x1b379f}}});})[_0x387eb0(0x2c0)](_0x303ae2=>{var _0x67dce9=_0x387eb0;this[_0x67dce9(0x144)][_0x67dce9(0x16d)](_0x303ae2),_0x18066e();});return;}}_0x4f921c[_0x387eb0(0x2f6)](Lr(_0x5ad1f8));},'close':()=>{var _0x42f17e=_0x159c7e;_0x4f921c[_0x42f17e(0x3e1)](),_0x23027f['dispose']();}},_0x3cce30;}async[_0x228894(0x25e)](_0x32ee40,_0x2763c3){var _0x1663ca=_0x228894,_0x52c80a,_0x3a5704;const {unitType:_0x21bac7,unitID:_0x467d00,changeset:_0x207757}=_0x2763c3[_0x1663ca(0x41f)],_0x56004b={'unitID':_0x467d00,'memberID':_0x32ee40[_0x1663ca(0x35c)],'type':_0x21bac7,'changeset':_0x4bfe76(_0x207757)},_0x2e800a=this[_0x1663ca(0x36d)]['getConfig'](Nr),_0x579cc8=this[_0x1663ca(0x36d)][_0x1663ca(0x429)](q),_0x123e2b=$r((_0x3a5704=(_0x52c80a=_0x579cc8==null?void 0x0:_0x579cc8[_0x1663ca(0x412)])!=null?_0x52c80a:_0x2e800a)!=null?_0x3a5704:Dr,_0x21bac7,_0x467d00);try{await this[_0x1663ca(0x2ef)][_0x1663ca(0x1c8)](_0x123e2b,{'body':_0x56004b});}catch(_0x2d75a8){throw this['_logService'][_0x1663ca(0x16d)](_0x1663ca(0x3d4),_0x1663ca(0x1ec)),_0x2d75a8;}}async[_0x228894(0x350)](_0x3af327){var _0x37ee44=_0x228894;const {unitID:_0x3483e0,from:_0x5bdb38,to:_0x469784,unitType:_0x1fc735}=_0x3af327['data'];return(await this[_0x37ee44(0x3cf)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3483e0,'type':_0x1fc735,'from':_0x5bdb38,'to':_0x469784}))[_0x37ee44(0x40a)];}};Gt=kr([we(0x0,_0x7e1ee1(_0xa32491)),we(0x1,_0x7e1ee1(_0x5daba1)),we(0x2,_0x7ee467),we(0x3,_0x3cc2bd),we(0x4,_0x5d1003)],Gt);const Hr=_0x228894(0x132);function Br(_0x1725f8){var _0x2fbaf7=_0x228894;return JSON['stringify'](_0x1725f8)[_0x2fbaf7(0x1d8)];}class Ti{constructor(){var _0x8021c5=_0x228894;N(this,_0x8021c5(0x12c),new _0xe00b19()),N(this,_0x8021c5(0x2dd),this['_commentUpdate$']['asObservable']());}[_0x228894(0x408)](_0x3bf9bb){var _0x54d75a=_0x228894;this[_0x54d75a(0x12c)]['next'](_0x3bf9bb);}}var jr=Object[_0x228894(0x20c)],Fr=(_0x51127c,_0x85b26a,_0x21a8c7,_0x151dd8)=>{var _0x315a19=_0x228894;for(var _0x2c186a=_0x151dd8>0x1?void 0x0:_0x151dd8?jr(_0x85b26a,_0x21a8c7):_0x85b26a,_0x10dc27=_0x51127c[_0x315a19(0x1d8)]-0x1,_0x3370e5;_0x10dc27>=0x0;_0x10dc27--)(_0x3370e5=_0x51127c[_0x10dc27])&&(_0x2c186a=_0x3370e5(_0x2c186a)||_0x2c186a);return _0x2c186a;},Wt=(_0xf871d,_0x4b9f29)=>(_0x2b7d5c,_0x5def1a)=>_0x4b9f29(_0x2b7d5c,_0x5def1a,_0xf871d);let xe=class extends _0x5c5031{constructor(_0xf750e0,_0x408460){var _0x39b222=_0x228894;super(),N(this,_0x39b222(0x295),new Map()),N(this,_0x39b222(0x168),new _0xe00b19()),(this['_univerInstanceService']=_0xf750e0,this[_0x39b222(0x20f)]=_0x408460,this['disposeWithMe'](_0x5bc9c1(this[_0x39b222(0x41d)]['getTypeOfUnitDisposed$'](_0x6cb10f[_0x39b222(0x24c)])['pipe'](_0x54f33d(_0x1ec354=>_0x1ec354[_0x39b222(0x2aa)]())),this['_univerInstanceService'][_0x39b222(0x2b3)](_0x6cb10f[_0x39b222(0x273)])[_0x39b222(0x3a7)](_0x54f33d(_0x15c504=>_0x15c504[_0x39b222(0x2aa)]())),this[_0x39b222(0x41d)][_0x39b222(0x2b3)](_0x6cb10f[_0x39b222(0x2b1)])[_0x39b222(0x3a7)](_0x54f33d(_0x11b695=>_0x11b695[_0x39b222(0x2aa)]())))[_0x39b222(0x24e)](_0x3ce792=>this[_0x39b222(0x3f0)](_0x3ce792))));}['waitForRoom$'](_0x142f13){var _0x21e947=_0x228894;return this['_roomMembers'][_0x21e947(0x162)](_0x142f13)?_0x5bf531(this[_0x21e947(0x295)][_0x21e947(0x42d)](_0x142f13)):this['_roomCreated$'][_0x21e947(0x3a7)](_0x54f33d(_0x43ae47=>{var _0x3fc0b5=_0x21e947;if(_0x43ae47===_0x142f13)return this[_0x3fc0b5(0x295)][_0x3fc0b5(0x42d)](_0x43ae47);}));}[_0x228894(0x411)](_0x56634d){var _0x5f235e=_0x228894;this[_0x5f235e(0x20f)][_0x5f235e(0x411)](_0x56634d);}[_0x228894(0x32f)](){var _0x51f5ce=_0x228894;return this['_userManagerService'][_0x51f5ce(0x32f)]();}[_0x228894(0x250)](_0x9d9ed7,_0x4b8000){var _0x514e73=_0x228894;let _0x3c3edc=this[_0x514e73(0x295)][_0x514e73(0x42d)](_0x9d9ed7);_0x3c3edc||(_0x3c3edc=new Vr(),this[_0x514e73(0x295)]['set'](_0x9d9ed7,_0x3c3edc),this['_roomCreated$'][_0x514e73(0x167)](_0x9d9ed7)),_0x3c3edc[_0x514e73(0x250)](_0x4b8000);}['removeMember'](_0x49ec58,_0x5c085d){var _0xd30201=_0x228894;const _0x3776f3=this[_0xd30201(0x295)][_0xd30201(0x42d)](_0x49ec58);_0x3776f3&&_0x3776f3[_0xd30201(0x3c4)](_0x5c085d);}['getRoom'](_0x56de78){var _0x37cdcd=_0x228894;return this[_0x37cdcd(0x295)][_0x37cdcd(0x42d)](_0x56de78);}['getMember'](_0x4575a3,_0xcb52b6){var _0x356f57=_0x228894;const _0x496387=this[_0x356f57(0x295)][_0x356f57(0x42d)](_0x4575a3);if(_0x496387)return _0x496387[_0x356f57(0x3fc)](_0xcb52b6);}[_0x228894(0x3f0)](_0x2ea2d0){var _0x2159a0=_0x228894;const _0x473691=this[_0x2159a0(0x295)]['get'](_0x2ea2d0);_0x473691&&(_0x473691['dispose'](),this[_0x2159a0(0x295)][_0x2159a0(0x329)](_0x2ea2d0));}[_0x228894(0x23b)](){var _0x2baa6c=_0x228894;this[_0x2baa6c(0x295)][_0x2baa6c(0x3b6)](_0x1b1946=>_0x1b1946[_0x2baa6c(0x23b)]()),this[_0x2baa6c(0x295)][_0x2baa6c(0x2f0)](),this[_0x2baa6c(0x168)][_0x2baa6c(0x184)]();}};xe=Fr([Wt(0x0,_0xffe073),Wt(0x1,_0x7e1ee1(_0x293594))],xe);class Vr extends _0x5c5031{constructor(){var _0x5f08f1=_0x228894;super(...arguments),N(this,_0x5f08f1(0x1e7),new Map()),N(this,'_members$',new _0x35002d(this[_0x5f08f1(0x1e7)])),N(this,_0x5f08f1(0x417),this['_members$'][_0x5f08f1(0x2ca)]());}['dispose'](){var _0x42bfe8=_0x228894;this[_0x42bfe8(0x1e7)][_0x42bfe8(0x2f0)]();}['updateMember'](_0x4bdc7b){var _0x246cbd=_0x228894;this[_0x246cbd(0x1e7)]['set'](_0x4bdc7b[_0x246cbd(0x35c)],_0x4bdc7b),this[_0x246cbd(0x18f)]();}[_0x228894(0x3c4)](_0x311cdf){this['_members']['delete'](_0x311cdf);}[_0x228894(0x3fc)](_0x13452b){var _0x1790c8=_0x228894;return this[_0x1790c8(0x1e7)]['get'](_0x13452b);}[_0x228894(0x2f5)](){var _0x4dc027=_0x228894;return Array[_0x4dc027(0x1ed)](this['_members'][_0x4dc027(0x257)]());}[_0x228894(0x18f)](){var _0x52d76f=_0x228894;this[_0x52d76f(0x3ae)]['next'](this['_members']);}}var Gr=Object[_0x228894(0x20c)],Wr=(_0x5c54fb,_0x532be7,_0x1b3edf,_0x287133)=>{for(var _0x1c24a7=_0x287133>0x1?void 0x0:_0x287133?Gr(_0x532be7,_0x1b3edf):_0x532be7,_0x16bcbd=_0x5c54fb['length']-0x1,_0x189621;_0x16bcbd>=0x0;_0x16bcbd--)(_0x189621=_0x5c54fb[_0x16bcbd])&&(_0x1c24a7=_0x189621(_0x1c24a7)||_0x1c24a7);return _0x1c24a7;},me=(_0x509c8d,_0x204bdc)=>(_0x37ce6f,_0x5a53ac)=>_0x204bdc(_0x37ce6f,_0x5a53ac,_0x509c8d),Ee=(_0x4bd568=>(_0x4bd568[_0x4bd568[_0x228894(0x38c)]=0x0]=_0x228894(0x38c),_0x4bd568[_0x4bd568['JOINING']=0x1]=_0x228894(0x231),_0x4bd568[_0x4bd568['OFFLINE']=0x2]=_0x228894(0x262),_0x4bd568[_0x4bd568[_0x228894(0x32d)]=0x3]=_0x228894(0x32d),_0x4bd568))(Ee||{});const Kt={[ge[_0x228894(0x2ff)]]:_0x228894(0x2b0),[ge['JOIN_ROOM_FULL']]:_0x228894(0x3a1),[ge['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[ge[_0x228894(0x1ac)]]:_0x228894(0x1a8),[ge[_0x228894(0x32b)]]:_0x228894(0x1c7)};let Et=class extends _0x4d64f7{constructor(_0x4a3e8e,_0x428ff4,_0x135d1e,_0x21cd3c,_0x243b0b,_0x21017a,_0x508378,_0xbfcc04,_0x394435){var _0x51df8a=_0x228894;super(),N(this,'_sessionStatus$',new _0x35002d(0x0)),N(this,_0x51df8a(0x3f2),this['_sessionStatus$'][_0x51df8a(0x2ca)]()),N(this,_0x51df8a(0x2b8),new _0xe00b19()),N(this,_0x51df8a(0x25f),this[_0x51df8a(0x2b8)]['asObservable']()),N(this,_0x51df8a(0x260)),N(this,_0x51df8a(0x29b)),N(this,_0x51df8a(0x418)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x51df8a(0x1f0),null),(this[_0x51df8a(0x334)]=_0x4a3e8e,this[_0x51df8a(0x144)]=_0x135d1e,this[_0x51df8a(0x36d)]=_0x21cd3c,this['_localeService']=_0x243b0b,this[_0x51df8a(0x2bb)]=_0x21017a,this[_0x51df8a(0x25b)]=_0x508378,this['_collaborationUIEventService']=_0xbfcc04,this[_0x51df8a(0x2e4)]=_0x394435,this[_0x51df8a(0x35d)]=!!this[_0x51df8a(0x2e4)],_0x428ff4[_0x51df8a(0x3a7)](_0x3c9bb5(this['dispose$']))[_0x51df8a(0x24e)](_0x41f194=>{var _0x499e34=_0x51df8a,_0x1954ac;typeof _0x41f194>'u'||(this[_0x499e34(0x260)]=_0x41f194,_0x41f194?(this['_joinRoom'](_0x41f194),this[_0x499e34(0x29b)]=_0x41f194[_0x499e34(0x15b)][_0x499e34(0x24e)](_0x2f4326=>{var _0x3b0210=_0x499e34;_0x2f4326[_0x3b0210(0x272)]===this[_0x3b0210(0x334)]&&this[_0x3b0210(0x40f)](_0x2f4326);})):(this[_0x499e34(0x256)](),this[_0x499e34(0x164)][_0x499e34(0x167)](0x2),(_0x1954ac=this[_0x499e34(0x29b)])==null||_0x1954ac[_0x499e34(0x16b)](),this[_0x499e34(0x29b)]=null));}));}get['sessionStatus'](){var _0x4f2849=_0x228894;return this[_0x4f2849(0x164)][_0x4f2849(0x330)]();}['getMemberID'](){var _0xe3e11b=_0x228894,_0x25b0c0,_0x45bc57;return(_0x45bc57=(_0x25b0c0=this[_0xe3e11b(0x260)])==null?void 0x0:_0x25b0c0[_0xe3e11b(0x35c)])!=null?_0x45bc57:null;}['dispose'](){var _0x3ea8dc=_0x228894;super[_0x3ea8dc(0x23b)](),this[_0x3ea8dc(0x174)][_0x3ea8dc(0x167)](),this['dispose$'][_0x3ea8dc(0x184)]();}[_0x228894(0x3e1)](){var _0x3d5e53=_0x228894,_0x549366,_0x46a3c8;this[_0x3d5e53(0x256)](),(_0x549366=this[_0x3d5e53(0x260)])==null||_0x549366[_0x3d5e53(0x2f6)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x3d5e53(0x334)]}}),(_0x46a3c8=this['_socket'])==null||_0x46a3c8[_0x3d5e53(0x3e1)](),this[_0x3d5e53(0x2b8)][_0x3d5e53(0x184)](),this[_0x3d5e53(0x164)][_0x3d5e53(0x184)](),this[_0x3d5e53(0x23b)]();}[_0x228894(0x40f)](_0x1dea82){var _0x14d7df=_0x228894;_0x1dea82['cmd']===F[_0x14d7df(0x202)]?this['_onJoinRoomEvent'](_0x1dea82):_0x1dea82[_0x14d7df(0x2c8)]===F[_0x14d7df(0x15c)]&&this[_0x14d7df(0x14a)](_0x1dea82);}[_0x228894(0x224)](_0x2dcf30){var _0x25df64=_0x228894;this[_0x25df64(0x164)][_0x25df64(0x167)](0x1),_0x2dcf30[_0x25df64(0x2f6)]({'cmd':F[_0x25df64(0x202)],'routeKey':this[_0x25df64(0x334)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x228894(0x35f)](_0x43c67f){var _0x3e9cf9=_0x228894,_0x264727;if(_0x43c67f['code']in Kt){this[_0x3e9cf9(0x1eb)][_0x3e9cf9(0x241)]({'id':se[_0x3e9cf9(0x303)],'data':Kt[_0x43c67f[_0x3e9cf9(0x3e5)]]}),this[_0x3e9cf9(0x164)][_0x3e9cf9(0x167)](0x2);return;}this['_sessionStatus$'][_0x3e9cf9(0x167)](0x3);const _0x12b3e7=(_0x264727=_0x43c67f[_0x3e9cf9(0x41f)][_0x3e9cf9(0x3ad)][this[_0x3e9cf9(0x334)]])==null?void 0x0:_0x264727[_0x3e9cf9(0x1a5)];_0x12b3e7&&_0x12b3e7['forEach'](_0xedd241=>this[_0x3e9cf9(0x2bb)][_0x3e9cf9(0x250)](this[_0x3e9cf9(0x334)],_0xedd241));}[_0x228894(0x14a)](_0x36c349){var _0x20cba5=_0x228894;try{const _0x484cd5=_0x36c349[_0x20cba5(0x41f)];switch(_0x484cd5[_0x20cba5(0x423)]){case _0x20f032[_0x20cba5(0x400)]:this[_0x20cba5(0x1d3)](_0x484cd5),this[_0x20cba5(0x2b8)][_0x20cba5(0x167)](_0x484cd5);break;case _0x20f032['USERS_LEAVE']:this[_0x20cba5(0x248)](_0x484cd5),this['_event$'][_0x20cba5(0x167)](_0x484cd5);break;case _0x20f032['CHANGESET_ACK']:case _0x20f032[_0x20cba5(0x19b)]:this[_0x20cba5(0x274)](),this[_0x20cba5(0x425)](),this['_event$'][_0x20cba5(0x167)](_0x484cd5);break;case _0x20f032[_0x20cba5(0x35b)]:this['_logService']['error'](_0x20cba5(0x3ec)+JSON[_0x20cba5(0x26d)](_0x484cd5)),this['_event$'][_0x20cba5(0x167)](_0x484cd5);break;case _0x20f032['COMMENT_UPDATE']:this[_0x20cba5(0x25b)][_0x20cba5(0x408)](_0x484cd5[_0x20cba5(0x41f)]),this['_event$'][_0x20cba5(0x167)](_0x484cd5);break;default:this[_0x20cba5(0x2b8)]['next'](_0x484cd5);}}catch(_0xf9f9fe){this['_logService']['error'](_0xf9f9fe,_0x36c349);}}['_onUserJoin'](_0x133e7e){var _0x35ab27=_0x228894;this[_0x35ab27(0x2bb)][_0x35ab27(0x250)](this[_0x35ab27(0x334)],_0x133e7e[_0x35ab27(0x41f)]);}[_0x228894(0x248)](_0x38bd12){var _0x175e64=_0x228894;this[_0x175e64(0x2bb)][_0x175e64(0x3c4)](this[_0x175e64(0x334)],_0x38bd12[_0x175e64(0x41f)][_0x175e64(0x35c)]);}async[_0x228894(0x2f6)](_0x38fa59,_0x8a2dc1){var _0x51a13c=_0x228894;if(this['sessionStatus']!==0x3||!this[_0x51a13c(0x260)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x38fa59['eventID']===_0x20f032[_0x51a13c(0x413)]&&(this[_0x51a13c(0x2a7)](),this[_0x51a13c(0x2d1)](_0x38fa59)),this['_socket'][_0x51a13c(0x2f6)]({'cmd':F[_0x51a13c(0x2c9)],'routeKey':_0x8a2dc1,'routeType':'','data':_0x38fa59});}catch(_0x101ea6){this['_logService'][_0x51a13c(0x16d)](_0x101ea6);}}['_scheduleCollaborationTimeoutTimer'](){var _0x1f1069;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x1f6fb1=_0x326f;this[_0x1f6fb1(0x418)]=null,this[_0x1f6fb1(0x1eb)]['emitEvent']({'id':se[_0x1f6fb1(0x261)]});},(_0x1f1069=this['_configService']['getConfig'](mi))!=null?_0x1f1069:gi);}['_clearCollaborationTimeoutTimer'](){var _0x21702c=_0x228894;this[_0x21702c(0x418)]&&(clearTimeout(this[_0x21702c(0x418)]),this[_0x21702c(0x418)]=null);}[_0x228894(0x2d1)](_0x530841){var _0x538dab=_0x228894;if(!this[_0x538dab(0x35d)])return;const {data:_0x310a35}=_0x530841,{unitID:_0x18ff6a,changeset:_0x3e9ae8}=_0x310a35,{mutations:_0x1c5be4,type:_0x15eb15}=_0x3e9ae8;this['_telemetryInfo']={'unitId':_0x18ff6a,'type':_0x15eb15,'startTime':performance[_0x538dab(0x435)](),'stopTime':0x0,'duration':0x0,'size':Br(_0x1c5be4)};}[_0x228894(0x274)](){var _0x532091=_0x228894;if(this[_0x532091(0x35d)]){if(!this[_0x532091(0x1f0)]){this['_logService'][_0x532091(0x16d)](_0x532091(0x3d4),_0x532091(0x406));return;}this[_0x532091(0x1f0)][_0x532091(0x1be)]=performance[_0x532091(0x435)](),this[_0x532091(0x1f0)][_0x532091(0x427)]=this[_0x532091(0x1f0)][_0x532091(0x1be)]-this[_0x532091(0x1f0)][_0x532091(0x212)],this[_0x532091(0x2e4)]['capture'](Hr,this[_0x532091(0x1f0)]),this[_0x532091(0x1f0)]=null;}}[_0x228894(0x256)](){var _0x2c3a23=_0x228894;this[_0x2c3a23(0x1f0)]=null;}};Et=Wr([me(0x2,_0x3cc2bd),me(0x3,_0x7ee467),me(0x4,_0x7e1ee1(_0x421b51)),me(0x5,_0x7e1ee1(xe)),me(0x6,_0x7e1ee1(Ti)),me(0x7,_0x7e1ee1(pe)),me(0x8,_0x1d58e6(_0x1e5b04))],Et);var Kr=Object[_0x228894(0x20c)],Yr=(_0x44a75e,_0x28527d,_0x1bdd3e,_0x294a76)=>{var _0x20b64a=_0x228894;for(var _0x275873=_0x294a76>0x1?void 0x0:_0x294a76?Kr(_0x28527d,_0x1bdd3e):_0x28527d,_0x4e9a86=_0x44a75e[_0x20b64a(0x1d8)]-0x1,_0x217456;_0x4e9a86>=0x0;_0x4e9a86--)(_0x217456=_0x44a75e[_0x4e9a86])&&(_0x275873=_0x217456(_0x275873)||_0x275873);return _0x275873;},be=(_0x707775,_0x62c9ad)=>(_0x3888f1,_0x112f7f)=>_0x62c9ad(_0x3888f1,_0x112f7f,_0x707775);let Le=class extends _0x5c5031{constructor(_0x5ddb13,_0x5d380e,_0x1a8edc,_0x3cb064,_0x570929,_0x459bcc){var _0x496d1c=_0x228894;super(),N(this,_0x496d1c(0x18d),new _0x35002d(void 0x0)),N(this,_0x496d1c(0x24f),this[_0x496d1c(0x18d)][_0x496d1c(0x2ca)]()),N(this,_0x496d1c(0x1e8),null),N(this,_0x496d1c(0x396),new Map()),N(this,_0x496d1c(0x37f),new _0x35002d(Ee['IDLE'])),N(this,_0x496d1c(0x28c),this[_0x496d1c(0x37f)][_0x496d1c(0x2ca)]()),N(this,'_socketReady',!0x1),N(this,_0x496d1c(0x18c)),N(this,_0x496d1c(0x1fb),0x0),N(this,_0x496d1c(0x31b)),N(this,_0x496d1c(0x2b7)),(this[_0x496d1c(0x165)]=_0x5ddb13,this['_logService']=_0x5d380e,this[_0x496d1c(0x36d)]=_0x1a8edc,this[_0x496d1c(0x20e)]=_0x3cb064,this[_0x496d1c(0x1eb)]=_0x570929,this[_0x496d1c(0x35e)]=_0x459bcc,this[_0x496d1c(0x2de)]());}get[_0x228894(0x260)](){var _0x33a02e=_0x228894;return this['_socket$'][_0x33a02e(0x330)]();}[_0x228894(0x2de)](){var _0x435c91=_0x228894;this[_0x435c91(0x35e)]&&this[_0x435c91(0x22a)](this['_networkConditionService'][_0x435c91(0x3b3)][_0x435c91(0x24e)](_0x5951fd=>{var _0x12ee71=_0x435c91;_0x5951fd&&!this[_0x12ee71(0x260)]&&this[_0x12ee71(0x190)](),_0x5951fd||this[_0x12ee71(0x296)]();}));}[_0x228894(0x23b)](){var _0xd5f1eb=_0x228894;super['dispose'](),this[_0xd5f1eb(0x396)][_0xd5f1eb(0x3b6)](_0x56112d=>_0x56112d[_0xd5f1eb(0x23b)]()),this['_sessions'][_0xd5f1eb(0x2f0)](),this[_0xd5f1eb(0x37f)][_0xd5f1eb(0x184)]();}async['requireSession'](_0x2963b2){var _0x36109b=_0x228894;if(this[_0x36109b(0x396)][_0x36109b(0x162)](_0x2963b2))return this[_0x36109b(0x396)][_0x36109b(0x42d)](_0x2963b2);this[_0x36109b(0x138)]();const _0x3fb6e2=this['_injector'][_0x36109b(0x158)](Et,_0x2963b2,this[_0x36109b(0x18d)][_0x36109b(0x2ca)]());return this['_sessions'][_0x36109b(0x21b)](_0x2963b2,_0x3fb6e2),_0x3fb6e2;}[_0x228894(0x394)](_0x1a332e){var _0x3e9090=_0x228894,_0x12b261;const _0x3fff6c=this[_0x3e9090(0x396)][_0x3e9090(0x42d)](_0x1a332e);_0x3fff6c&&(this[_0x3e9090(0x396)]['delete'](_0x1a332e),_0x3fff6c[_0x3e9090(0x3e1)]()),this[_0x3e9090(0x396)][_0x3e9090(0x156)]||(_0x12b261=this[_0x3e9090(0x260)])==null||_0x12b261[_0x3e9090(0x3e1)]();}[_0x228894(0x190)](){var _0xe594da=_0x228894;this['_retryCount']=0x0,this[_0xe594da(0x18c)]!=null&&(clearTimeout(this[_0xe594da(0x18c)]),this[_0xe594da(0x18c)]=null),this[_0xe594da(0x254)]();}async['_createSocket'](){var _0x97c45d=_0x228894,_0x242426,_0x1a9f91;const _0x313892=this[_0x97c45d(0x36d)][_0x97c45d(0x429)](Ir),_0x14498c=this[_0x97c45d(0x36d)][_0x97c45d(0x429)](q),_0x3dc4ba=(_0x1a9f91=(_0x242426=_0x14498c==null?void 0x0:_0x14498c[_0x97c45d(0x1ab)])!=null?_0x242426:_0x313892)!=null?_0x1a9f91:Tr,_0x382870=await this[_0x97c45d(0x20e)][_0x97c45d(0x310)](_0x3dc4ba);return this[_0x97c45d(0x1e8)]=_0x382870,_0x382870;}async[_0x228894(0x138)](){var _0x547007=_0x228894,_0x491787,_0x468f19;try{const _0x4b326=(_0x468f19=(_0x491787=this['_socket'])!=null?_0x491787:this['_candidateSocket'])!=null?_0x468f19:await this['_createSocket']();if(_0x4b326){const _0x59370c=_0x4b326[_0x547007(0x2f6)];_0x4b326[_0x547007(0x2f6)]=_0x36e0a6=>(this[_0x547007(0x1fe)](),_0x59370c[_0x547007(0x1d1)](_0x4b326,[_0x36e0a6])),_0x4b326[_0x547007(0x15b)][_0x547007(0x24e)](_0x2d728a=>this['_onMessage'](_0x4b326,_0x2d728a)),_0x4b326['error$'][_0x547007(0x3a7)](_0x264a5f(0x1))[_0x547007(0x24e)](_0x535a03=>this[_0x547007(0x144)][_0x547007(0x16d)]('[CollaborationSessionService]:\x20socket\x20error',_0x535a03)),_0x4b326[_0x547007(0x354)][_0x547007(0x3a7)](_0x264a5f(0x1))[_0x547007(0x24e)](()=>{var _0x5f4659=_0x547007;this[_0x5f4659(0x143)](_0x4b326);}),_0x4b326[_0x547007(0x30e)][_0x547007(0x3a7)](_0x264a5f(0x1))[_0x547007(0x24e)](_0x1cabb5=>{var _0x4dc885=_0x547007;this[_0x4dc885(0x144)]['debug'](_0x4dc885(0x353),_0x4dc885(0x3cb),_0x1cabb5),this[_0x4dc885(0x175)]();});}}catch(_0x517f14){this['_logService'][_0x547007(0x16d)](_0x517f14),this['_onConnectionFailed']();}}[_0x228894(0x143)](_0x83fc46){var _0x52a8db=_0x228894;this[_0x52a8db(0x144)][_0x52a8db(0x326)](_0x52a8db(0x353),_0x52a8db(0x278)),_0x83fc46[_0x52a8db(0x2f6)]({'cmd':F[_0x52a8db(0x33e)]}),this[_0x52a8db(0x1fe)]();}[_0x228894(0x296)](){var _0x599265=_0x228894;this[_0x599265(0x299)]=!0x1,this[_0x599265(0x1e8)]=null,this[_0x599265(0x37f)][_0x599265(0x167)](Ee['OFFLINE']),this['_socket$']['next'](null),this[_0x599265(0x3fe)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0xf2907f=_0x228894,_0x13638a;this['_onOffline'](),this[_0xf2907f(0x1fb)]<((_0x13638a=this[_0xf2907f(0x36d)][_0xf2907f(0x429)](yr))!=null?_0x13638a:Or)?(this[_0xf2907f(0x1eb)]['emitEvent']({'id':se[_0xf2907f(0x21a)]}),this[_0xf2907f(0x254)]()):this[_0xf2907f(0x1eb)][_0xf2907f(0x241)]({'id':se[_0xf2907f(0x1a3)]});}['_tryReconnect'](){var _0x513c73=_0x228894,_0x4e79be;const _0x59d85f=this[_0x513c73(0x1fb)],_0x28d549=this[_0x513c73(0x36d)][_0x513c73(0x429)](q),_0xa7af52=_0x59d85f===0x0?0x0:((_0x4e79be=_0x28d549==null?void 0x0:_0x28d549[_0x513c73(0x20b)])!=null?_0x4e79be:br)*0x2**_0x59d85f;this[_0x513c73(0x18c)]=setTimeout(()=>{var _0x2c38a3=_0x513c73;clearTimeout(this[_0x2c38a3(0x18c)]),this[_0x2c38a3(0x18c)]=null,this['_tryEnsureSocket']();},_0xa7af52),this[_0x513c73(0x1fb)]+=0x1;}[_0x228894(0x3f6)](_0xbffe9f,_0x147ae1){var _0x1d9cbd=_0x228894;const {cmd:_0x2ec494}=_0x147ae1;_0x2ec494===F[_0x1d9cbd(0x33e)]&&!this[_0x1d9cbd(0x299)]&&(_0xbffe9f[_0x1d9cbd(0x35c)]=_0x147ae1[_0x1d9cbd(0x41f)][_0x1d9cbd(0x35c)],this[_0x1d9cbd(0x18d)][_0x1d9cbd(0x167)](_0xbffe9f),this[_0x1d9cbd(0x37f)]['next'](Ee[_0x1d9cbd(0x32d)]),this[_0x1d9cbd(0x299)]=!0x0,this[_0x1d9cbd(0x1e8)]=null),_0x2ec494===F['HEARTBEAT']&&this[_0x1d9cbd(0x3fe)](),this['_rescheduleHeartbeat']();}[_0x228894(0x1fe)](){var _0xcdf134=_0x228894,_0x510dbe;this[_0xcdf134(0x27d)](),this[_0xcdf134(0x31b)]=setTimeout(()=>this[_0xcdf134(0x14e)](),(_0x510dbe=this[_0xcdf134(0x36d)][_0xcdf134(0x429)](Cr))!=null?_0x510dbe:Rr);}['_sendHeartbeat'](){var _0x3f7226=_0x228894;this['_socket']['send']({'cmd':F[_0x3f7226(0x333)]}),this[_0x3f7226(0x2d2)]();}[_0x228894(0x2d2)](){var _0x145c17=_0x228894,_0x1ebbeb;this[_0x145c17(0x2b7)]=setTimeout(()=>this[_0x145c17(0x175)](),(_0x1ebbeb=this[_0x145c17(0x36d)][_0x145c17(0x429)](mi))!=null?_0x1ebbeb:gi);}[_0x228894(0x27d)](){var _0x56997c=_0x228894;this[_0x56997c(0x31b)]!=null&&(clearTimeout(this[_0x56997c(0x31b)]),this['_sendHeartbeatTimer']=null);}[_0x228894(0x3fe)](){var _0x475589=_0x228894;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x475589(0x2b7)]),this['_timeoutTimer']=null);}};Le=Yr([be(0x0,_0x7e1ee1(_0xa32491)),be(0x1,_0x3cc2bd),be(0x2,_0x7ee467),be(0x3,Ii),be(0x4,_0x7e1ee1(pe)),be(0x5,_0x1d58e6(Pr))],Le);const V=[];for(let i=0x0;i<0x100;++i)V[_0x228894(0x403)]((i+0x100)[_0x228894(0x39c)](0x10)[_0x228894(0x171)](0x1));function qr(_0x1c019d,_0x3111ba=0x0){return(V[_0x1c019d[_0x3111ba+0x0]]+V[_0x1c019d[_0x3111ba+0x1]]+V[_0x1c019d[_0x3111ba+0x2]]+V[_0x1c019d[_0x3111ba+0x3]]+'-'+V[_0x1c019d[_0x3111ba+0x4]]+V[_0x1c019d[_0x3111ba+0x5]]+'-'+V[_0x1c019d[_0x3111ba+0x6]]+V[_0x1c019d[_0x3111ba+0x7]]+'-'+V[_0x1c019d[_0x3111ba+0x8]]+V[_0x1c019d[_0x3111ba+0x9]]+'-'+V[_0x1c019d[_0x3111ba+0xa]]+V[_0x1c019d[_0x3111ba+0xb]]+V[_0x1c019d[_0x3111ba+0xc]]+V[_0x1c019d[_0x3111ba+0xd]]+V[_0x1c019d[_0x3111ba+0xe]]+V[_0x1c019d[_0x3111ba+0xf]])['toLowerCase']();}let ut;const zr=new Uint8Array(0x10);function Jr(){var _0x30951b=_0x228894;if(!ut){if(typeof crypto>'u'||!crypto[_0x30951b(0x16f)])throw new Error(_0x30951b(0x40c));ut=crypto[_0x30951b(0x16f)][_0x30951b(0x2d7)](crypto);}return ut(zr);}const Xr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x228894(0x2d7)](crypto),Yt={'randomUUID':Xr};function Zr(_0x2eb60f,_0x57bd9b,_0x4dfcfb){var _0xedf759=_0x228894,_0xd06759,_0x6e720c,_0x410869;if(Yt['randomUUID']&&!_0x2eb60f)return Yt[_0xedf759(0x21c)]();_0x2eb60f=_0x2eb60f||{};const _0x3c5b4a=(_0x410869=(_0x6e720c=_0x2eb60f['random'])!=null?_0x6e720c:(_0xd06759=_0x2eb60f['rng'])==null?void 0x0:_0xd06759[_0xedf759(0x17a)](_0x2eb60f))!=null?_0x410869:Jr();if(_0x3c5b4a['length']<0x10)throw new Error(_0xedf759(0x1ba));return _0x3c5b4a[0x6]=_0x3c5b4a[0x6]&0xf|0x40,_0x3c5b4a[0x8]=_0x3c5b4a[0x8]&0x3f|0x80,qr(_0x3c5b4a);}const J=_0x3235fa('collaboration-client.local-cache-service');function js(_0x17b343){return'unit-cache-'+_0x17b343;}var Qr=Object[_0x228894(0x20c)],en=(_0x4ff592,_0x482492,_0x176a88,_0x4b74ca)=>{for(var _0x17f1fb=_0x4b74ca>0x1?void 0x0:_0x4b74ca?Qr(_0x482492,_0x176a88):_0x482492,_0x28e188=_0x4ff592['length']-0x1,_0x100ff1;_0x28e188>=0x0;_0x28e188--)(_0x100ff1=_0x4ff592[_0x28e188])&&(_0x17f1fb=_0x100ff1(_0x17f1fb)||_0x17f1fb);return _0x17f1fb;},dt=(_0x527db3,_0x124f4d)=>(_0x53c5ec,_0x343c5c)=>_0x124f4d(_0x53c5ec,_0x343c5c,_0x527db3);function tn(_0x4f0c65){var _0x19b39d=_0x228894;const {unitID:_0x4996d9,mutations:_0x41df45}=_0x4f0c65;return{'unitId':_0x4996d9,'subUnitId':_0x41df45[0x0][_0x19b39d(0x2e9)]['subUnitId']};}let it=class{constructor(_0x150953,_0x478f5c,_0x270476){var _0x8aa192=_0x228894;this[_0x8aa192(0x165)]=_0x150953,this[_0x8aa192(0x172)]=_0x478f5c,this[_0x8aa192(0x3ac)]=_0x270476;}[_0x228894(0x374)](_0xbac276){var _0x71aab7=_0x228894,_0x25f35e,_0x5eda65,_0x45fa98,_0x566099;const _0x59f78e=this[_0x71aab7(0x165)][_0x71aab7(0x42d)](_0x4d88bf),{unitId:_0x5434c8,subUnitId:_0x40ff71}=tn(_0xbac276),_0x57c032=_0x59f78e==null?void 0x0:_0x59f78e[_0x71aab7(0x242)](_0x5434c8)[_0x71aab7(0x2f3)](),_0xd0d579=(_0x5eda65=(_0x25f35e=this[_0x71aab7(0x3ac)][_0x71aab7(0x1e0)](_0x5434c8))==null?void 0x0:_0x25f35e['getActiveSheet']())==null?void 0x0:_0x5eda65[_0x71aab7(0x2d5)]();if(_0x57c032['length']===0x0||!_0x5434c8||!_0x40ff71)return;const _0x1b8122=[{'id':_0x36f082['id'],'params':{'unitId':_0x5434c8,'subUnitId':_0xd0d579,'selections':_0x1b891a[_0x71aab7(0x2fb)](_0x57c032)}}],_0x570378=this[_0x71aab7(0x172)][_0x71aab7(0x204)](_0xbac276,_0x1b8122);if(!_0x5d1283(_0x570378))throw _0x570378['error'];const _0x2852c6=(_0x566099=(_0x45fa98=_0x570378[_0x71aab7(0x209)][0x0])==null?void 0x0:_0x45fa98[_0x71aab7(0x2e9)])==null?void 0x0:_0x566099[_0x71aab7(0x1c1)];if(Array[_0x71aab7(0x381)](_0x2852c6)&&_0x2852c6[_0x71aab7(0x1d8)]){if(_0x2852c6[_0x71aab7(0x1d8)]===_0x1b8122[0x0]['params'][_0x71aab7(0x1c1)][_0x71aab7(0x1d8)]&&_0x2852c6[_0x71aab7(0x153)]((_0x3d1cd8,_0x47dafe)=>_0x43bf4e[_0x71aab7(0x24b)](_0x3d1cd8[_0x71aab7(0x1bc)],_0x1b8122[0x0]['params'][_0x71aab7(0x1c1)][_0x47dafe]['range'])))return;this[_0x71aab7(0x165)][_0x71aab7(0x42d)](_0x50ec3e)[_0x71aab7(0x2a8)](_0x36f082['id'],{'unitId':_0x5434c8,'subUnitId':_0xd0d579,'selections':_0x2852c6});}}};it=en([dt(0x0,_0x7e1ee1(_0xa32491)),dt(0x1,_0x3ece4b),dt(0x2,_0xffe073)],it);const ht=_0x3235fa(_0x228894(0x225));var Ci=(_0x5905d4=>(_0x5905d4[_0x5905d4[_0x228894(0x268)]=0x0]=_0x228894(0x268),_0x5905d4[_0x5905d4['OTHER_CLIENTS_EDITING']=0x1]=_0x228894(0x314),_0x5905d4))(Ci||{});const rn=new Set([_0x1f4325['id']]);function qt(_0xb8ec7b,_0x2309a0,_0x12f42e,_0x435c5f,_0xc11e62){var _0x5cb3ac=_0x228894,_0x41f38d,_0x309c4b,_0x452e30,_0x43cece;const _0x4e4b5f=[];for(const _0x556085 of _0xb8ec7b)if(rn[_0x5cb3ac(0x162)](_0x556085['id'])){if(_0x4e4b5f[_0x5cb3ac(0x1d8)]>0x0)break;_0x4e4b5f['push'](_0x556085);break;}else _0x4e4b5f[_0x5cb3ac(0x403)](_0x556085);const _0x4b5885=(_0x309c4b=(_0x41f38d=_0xc11e62[_0x5cb3ac(0x32f)]())==null?void 0x0:_0x41f38d['userID'])!=null?_0x309c4b:_0x5cb3ac(0x29e),_0x1ba722=(_0x43cece=(_0x452e30=_0xc11e62[_0x5cb3ac(0x32f)]())==null?void 0x0:_0x452e30['memberID'])!=null?_0x43cece:_0x5cb3ac(0x29e);return{'changeset':{'unitID':_0x2309a0,'type':_0x34fd4b(_0x12f42e[_0x5cb3ac(0x199)](_0x2309a0)),'baseRev':_0x435c5f['getCurrentRevOfUnit'](_0x2309a0),'revision':0x0,'userID':_0x4b5885,'memberID':_0x1ba722,'mutations':_0x4e4b5f},'pendingMutations':_0xb8ec7b[_0x5cb3ac(0x171)](_0x4e4b5f[_0x5cb3ac(0x1d8)])};}function nn(_0x39aa47,_0x559bfa,_0x1b0db1,_0x56d38c,_0x4d1cd6){var _0x3379ae=_0x228894,_0x1cb86e,_0x103987,_0x22a392,_0x18b3c4;const _0x598ade=[_0x39aa47[_0x3379ae(0x13a)]((_0x21fe22,_0x3c760c)=>{var _0x1bf1c4=_0x3379ae,_0x521745;const {id:_0x5eb6bc}=_0x21fe22,{id:_0x3bea90,type:_0x3b6295}=_0x3c760c,_0x13a1a7=(_0x521745=_0x21fe22['params'])!=null?_0x521745:{'actions':null},_0x2abdce=_0x3c760c[_0x1bf1c4(0x2e9)];if(_0x5eb6bc&&_0x5eb6bc!==_0x3bea90)throw new Error(_0x1bf1c4(0x134)+_0x5eb6bc+_0x1bf1c4(0x347)+_0x3bea90+'.');return{..._0x21fe22,'id':_0x3bea90,'type':_0x3b6295,'params':{'unitId':_0x2abdce['unitId'],'textRanges':_0x2abdce[_0x1bf1c4(0x3fb)],'actions':_0xac861d[_0x1bf1c4(0x22d)](_0x13a1a7[_0x1bf1c4(0x237)],_0x2abdce[_0x1bf1c4(0x237)])}};},{})],_0x39c193=(_0x103987=(_0x1cb86e=_0x4d1cd6[_0x3379ae(0x32f)]())==null?void 0x0:_0x1cb86e['userID'])!=null?_0x103987:'unknown',_0x89c06=(_0x18b3c4=(_0x22a392=_0x4d1cd6[_0x3379ae(0x32f)]())==null?void 0x0:_0x22a392['memberID'])!=null?_0x18b3c4:_0x3379ae(0x29e);return{'changeset':{'unitID':_0x559bfa,'type':_0x34fd4b(_0x1b0db1[_0x3379ae(0x199)](_0x559bfa)),'baseRev':_0x56d38c['getCurrentRevOfUnit'](_0x559bfa),'revision':0x0,'userID':_0x39c193,'memberID':_0x89c06,'mutations':_0x598ade},'pendingMutations':[]};}function Ri(_0x5f33e9,_0x107f35){var _0x3904d0=_0x228894;const _0x3236d3=new _0x342735(0x1);return setTimeout(()=>_0x3236d3[_0x3904d0(0x167)](_0x107f35),_0x5f33e9),_0x3236d3[_0x3904d0(0x2ca)]()['pipe'](_0x314bc2(0x1));}const sn={'id':_0x569059['id'],'type':_0x2ffda7[_0x228894(0x14b)],'params':{}};var on=Object['getOwnPropertyDescriptor'],Te=(_0x218f84,_0x52f294,_0x552efc,_0x271eb6)=>{var _0x5ef1d8=_0x228894;for(var _0x52c402=_0x271eb6>0x1?void 0x0:_0x271eb6?on(_0x52f294,_0x552efc):_0x52f294,_0x1ddd21=_0x218f84[_0x5ef1d8(0x1d8)]-0x1,_0x463d5a;_0x1ddd21>=0x0;_0x1ddd21--)(_0x463d5a=_0x218f84[_0x1ddd21])&&(_0x52c402=_0x463d5a(_0x52c402)||_0x52c402);return _0x52c402;},P=(_0x28e65a,_0x2dd87f)=>(_0x3f1351,_0x4ad1e2)=>_0x2dd87f(_0x3f1351,_0x4ad1e2,_0x28e65a),bi=(_0x4adcb6=>(_0x4adcb6[_0x228894(0x269)]=_0x228894(0x338),_0x4adcb6[_0x228894(0x389)]=_0x228894(0x1af),_0x4adcb6[_0x228894(0x279)]=_0x228894(0x2d0),_0x4adcb6[_0x228894(0x293)]=_0x228894(0x3d7),_0x4adcb6[_0x228894(0x315)]=_0x228894(0x289),_0x4adcb6[_0x228894(0x205)]=_0x228894(0x359),_0x4adcb6[_0x228894(0x3d9)]='conflict',_0x4adcb6[_0x228894(0x262)]=_0x228894(0x377),_0x4adcb6))(bi||{});const yi=0xea60;class Ce{constructor(_0x5788d8,_0x435a40,_0x272701,_0x3896f7,_0x82a183,_0x2d5d3e,_0x44538b,_0x5427c9,_0x5a6506){var _0x522ff5=_0x228894;N(this,_0x522ff5(0x1f3),null),N(this,_0x522ff5(0x233),[]),(this['unitID']=_0x5788d8,this[_0x522ff5(0x2bf)]=_0x435a40,this[_0x522ff5(0x3b9)]=_0x82a183,this[_0x522ff5(0x2ed)]=_0x2d5d3e,this[_0x522ff5(0x387)]=_0x44538b,this[_0x522ff5(0x34e)]=_0x5427c9,this['_localCacheService']=_0x5a6506,this['_awaitingChangeset']=_0x272701,this[_0x522ff5(0x233)]=_0x3896f7);}['_checkMissing'](_0x4d0802){var _0x13045f=_0x228894;const _0x1e0227=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x4d0802[_0x13045f(0x2ba)]>_0x1e0227+0x1?(this[_0x13045f(0x3b9)]['onMissingChangesets']({'from':_0x1e0227,'to':_0x4d0802[_0x13045f(0x2ba)]-0x1}),!0x0):!0x1;}[_0x228894(0x2c7)](_0x1af792){var _0x32607b=_0x228894;this[_0x32607b(0x387)][_0x32607b(0x178)](this[_0x32607b(0x215)],_0x1af792);}[_0x228894(0x37c)](_0xfd500){var _0x179b6a=_0x228894,_0x34b800,_0x2c2d98;(_0x2c2d98=(_0x34b800=this[_0x179b6a(0x3b9)])[_0x179b6a(0x1a7)])==null||_0x2c2d98[_0x179b6a(0x17a)](_0x34b800,_0xfd500);}[_0x228894(0x2a9)](_0xa382d3){var _0x48127f=_0x228894,_0x4e1c7a,_0x1388fe;return(_0x1388fe=(_0x4e1c7a=this[_0x48127f(0x3b9)])[_0x48127f(0x3be)])==null?void 0x0:_0x1388fe[_0x48127f(0x17a)](_0x4e1c7a,_0xa382d3);}['_transformStateCache'](_0x1c1c48){var _0x3cb7cb=_0x228894,_0x3ea089,_0x2de9fd;return(_0x2de9fd=(_0x3ea089=this[_0x3cb7cb(0x3b9)])['onTransformState'])==null?void 0x0:_0x2de9fd[_0x3cb7cb(0x17a)](_0x3ea089,_0x1c1c48);}[_0x228894(0x33a)](_0x3db103){var _0x3766b5=_0x228894,_0x1d7a0f,_0x40edf0,_0x58895b;return(_0x58895b=(_0x40edf0=(_0x1d7a0f=this['_handler'])[_0x3766b5(0x25a)])==null?void 0x0:_0x40edf0[_0x3766b5(0x17a)](_0x1d7a0f,_0x3db103))!=null?_0x58895b:_0x3db103;}[_0x228894(0x3e7)](_0x2652ba){var _0x5435f7=_0x228894,_0x3fabf3,_0x30f73d,_0x12f388;return(_0x12f388=(_0x30f73d=(_0x3fabf3=this['_handler'])[_0x5435f7(0x375)])==null?void 0x0:_0x30f73d[_0x5435f7(0x17a)](_0x3fabf3,_0x2652ba))!=null?_0x12f388:_0x2652ba;}[_0x228894(0x3e3)](_0x4e0d14){var _0xc457b2=_0x228894,_0x1314ad,_0x32eb11;if(this[_0xc457b2(0x2bf)]===Q['UNIVER_DOC']){const {unitID:_0x448ca6,mutations:_0xc5e924,memberID:_0x5c55eb}=_0x4e0d14,_0x4b0547=_0xc5e924[0x0]['params'][_0xc457b2(0x3fb)];Array[_0xc457b2(0x381)](_0x4b0547)&&_0x4b0547['length']>0x0&&((_0x32eb11=(_0x1314ad=this['_handler'])[_0xc457b2(0x26b)])==null||_0x32eb11[_0xc457b2(0x17a)](_0x1314ad,{'unitID':_0x448ca6,'memberID':_0x5c55eb,'textRanges':_0x4b0547}));}}['_updateLocalCache'](){var _0x25e954=_0x228894,_0x5eeebe;(_0x5eeebe=this[_0x25e954(0x301)])==null||_0x5eeebe[_0x25e954(0x291)](this[_0x25e954(0x215)],this[_0x25e954(0x2bf)],this[_0x25e954(0x1f3)],this[_0x25e954(0x233)]);}['_getCurrentRevision'](){var _0x4c04af=_0x228894;return this[_0x4c04af(0x34e)][_0x4c04af(0x1d2)](this[_0x4c04af(0x215)]);}[_0x228894(0x1cc)](){var _0x3c2dcd=_0x228894;this['_revisionService'][_0x3c2dcd(0x39a)](this[_0x3c2dcd(0x215)]);}[_0x228894(0x1e2)](_0x4075bc){var _0x55adcd=_0x228894,_0x139934;let _0x1f08a1=this[_0x55adcd(0x33a)](_0x4075bc);_0x1f08a1=this[_0x55adcd(0x3e7)](_0x1f08a1);const _0x12e71d=_0x531c58(_0x1f08a1[_0x55adcd(0x3f7)],this[_0x55adcd(0x2ed)],{'fromCollab':!0x0});if(!_0x12e71d[_0x55adcd(0x169)])throw _0x12e71d[_0x55adcd(0x16d)]instanceof Error?_0x12e71d['error']:new Error((_0x139934=_0x12e71d[_0x55adcd(0x16d)])!=null?_0x139934:'[CollaborationState]:\x20apply\x20error!');this[_0x55adcd(0x2a9)](_0x1f08a1),this['_transformStateCache'](_0x1f08a1),this[_0x55adcd(0x2c7)](_0x4075bc),this[_0x55adcd(0x37c)](_0x1f08a1),this[_0x55adcd(0x3e3)](_0x1f08a1),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x428b05,_0x5e16d3,_0x39b512,_0x27b953,_0x5c0ad0,_0x56fc51,_0x411f9c,_0x2f06aa,_0x5d4c6c,_0x3110f4){var _0x5246ca=_0x228894;super(_0x428b05,_0x5e16d3,null,[],_0x39b512,_0x411f9c,_0x56fc51,_0x27b953,_0x3110f4),N(this,'status',_0x5246ca(0x1af)),(this[_0x5246ca(0x165)]=_0x5c0ad0,this[_0x5246ca(0x144)]=_0x2f06aa,this['_transformService']=_0x5d4c6c,this[_0x5246ca(0x36b)]=_0x3110f4);}[_0x228894(0x367)](_0x57064c){var _0x2c5598=_0x228894;const _0x412870=this['_injector'][_0x2c5598(0x158)](oe,this['unitID'],this[_0x2c5598(0x2bf)],[_0x57064c],this[_0x2c5598(0x3b9)]);return _0x412870[_0x2c5598(0x238)](),_0x412870[_0x2c5598(0x1e5)](),_0x412870;}[_0x228894(0x185)](_0xdb7b8a){var _0x4fa519=_0x228894;if(this['_checkMissing'](_0xdb7b8a))return this[_0x4fa519(0x165)][_0x4fa519(0x158)](ee,this['unitID'],this[_0x4fa519(0x2bf)],null,[],null,[_0xdb7b8a],this[_0x4fa519(0x3b9)]);try{const _0x457631=this[_0x4fa519(0x172)][_0x4fa519(0x204)](_0xdb7b8a,[sn]);if(_0x5d1283(_0x457631)){const {c1Prime:_0x426d97}=_0x457631;return this[_0x4fa519(0x1e2)](_0x426d97),this;}throw _0x457631[_0x4fa519(0x16d)];}catch(_0x39b62d){return this[_0x4fa519(0x144)][_0x4fa519(0x16d)](_0x39b62d),this[_0x4fa519(0x2e7)](!0x1);}}[_0x228894(0x2e7)](_0x57b1aa){var _0x31933f=_0x228894;return this[_0x31933f(0x165)][_0x31933f(0x158)](ue,this[_0x31933f(0x215)],this['type'],null,[],this[_0x31933f(0x3b9)],_0x57b1aa);}[_0x228894(0x142)](){var _0x5261a1=_0x228894;throw new Error(_0x5261a1(0x141));}[_0x228894(0x3ce)](){var _0x51ca76=_0x228894;throw new Error(_0x51ca76(0x30f));}[_0x228894(0x392)](){return this;}[_0x228894(0x253)](){var _0xd9ef07=_0x228894;return this[_0xd9ef07(0x165)]['createInstance'](de,this[_0xd9ef07(0x215)],this[_0xd9ef07(0x2bf)],null,[],this[_0xd9ef07(0x3b9)]);}[_0x228894(0x28a)](){return this;}[_0x228894(0x211)](){var _0x374867=_0x228894;throw new Error(_0x374867(0x16c));}[_0x228894(0x32a)](){var _0xecce87=_0x228894;const _0x52ede5=this[_0xecce87(0x34e)][_0xecce87(0x1d2)](this[_0xecce87(0x215)]);return this['_handler'][_0xecce87(0x3ab)]({'from':_0x52ede5,'to':0x0}),this['_injector']['createInstance'](ee,this[_0xecce87(0x215)],this['type'],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x7e1ee1(_0x34da5f)),P(0x4,_0x7e1ee1(_0xa32491)),P(0x5,_0x15c881),P(0x6,_0x50ec3e),P(0x7,_0x3cc2bd),P(0x8,_0x3ece4b),P(0x9,_0x1d58e6(J))],Ne);let oe=class extends Ce{constructor(_0x11d3d5,_0x3ec559,_0x21a38f,_0x43c8a6,_0x4154b6,_0x542f7b,_0x4d6a95,_0x23d4a9,_0x5aeff1,_0x2c3e6e,_0x32cc83,_0x1faff1,_0x1336d2,_0x410b50){var _0x502119=_0x228894;super(_0x11d3d5,_0x3ec559,null,_0x21a38f,_0x43c8a6,_0x5aeff1,_0x1336d2,_0x542f7b,_0x410b50),N(this,_0x502119(0x159),_0x502119(0x2d0)),N(this,_0x502119(0x245),null),N(this,_0x502119(0x2f8),null),(this[_0x502119(0x165)]=_0x4154b6,this[_0x502119(0x2bb)]=_0x4d6a95,this['_logService']=_0x23d4a9,this[_0x502119(0x36d)]=_0x2c3e6e,this[_0x502119(0x172)]=_0x32cc83,this[_0x502119(0x41d)]=_0x1faff1);}[_0x228894(0x367)](_0x256f5d){var _0xeaabbf=_0x228894;return this[_0xeaabbf(0x233)][_0xeaabbf(0x403)](_0x256f5d),this[_0xeaabbf(0x1e5)](),this;}['onRemoteChangeset'](_0x1d00a0){var _0x4be4a6=_0x228894;if(this[_0x4be4a6(0x1f9)](_0x1d00a0))return this[_0x4be4a6(0x3c5)](),this['_injector']['createInstance'](ee,this[_0x4be4a6(0x215)],this[_0x4be4a6(0x2bf)],null,this[_0x4be4a6(0x233)],null,[_0x1d00a0],this[_0x4be4a6(0x3b9)]);try{const _0x96780a=this['_transformService'][_0x4be4a6(0x204)](_0x1d00a0,this[_0x4be4a6(0x233)]);if(_0x5d1283(_0x96780a)){const {c1Prime:_0x57aa1e,m2Prime:_0x3e7bcc}=_0x96780a;this[_0x4be4a6(0x1e2)](_0x57aa1e);const _0xf11f9b=this['_injector'][_0x4be4a6(0x158)](oe,this[_0x4be4a6(0x215)],this[_0x4be4a6(0x2bf)],_0x3e7bcc,this['_handler']);this[_0x4be4a6(0x3c5)]();const _0x57c611=new Date()['getTime'](),_0x15eb29=this['_scheduleCompleteTimestamp']?Math[_0x4be4a6(0x2d8)](this[_0x4be4a6(0x245)]-_0x57c611,0x0):this[_0x4be4a6(0x383)]();return _0xf11f9b[_0x4be4a6(0x238)](_0x15eb29),_0xf11f9b;}throw _0x96780a[_0x4be4a6(0x16d)];}catch(_0x44e976){return this[_0x4be4a6(0x144)][_0x4be4a6(0x16d)](_0x44e976),this[_0x4be4a6(0x2e7)](!0x1);}}[_0x228894(0x142)](){var _0x3adb07=_0x228894;throw new Error(_0x3adb07(0x195));}[_0x228894(0x3ce)](){var _0xbf9a8a=_0x228894;throw new Error(_0xbf9a8a(0x3ee));}[_0x228894(0x392)](){return this;}['toggleOffline'](){var _0xb8fc55=_0x228894;return this[_0xb8fc55(0x3c5)](),this[_0xb8fc55(0x165)][_0xb8fc55(0x158)](de,this['unitID'],this[_0xb8fc55(0x2bf)],null,this['_pendingMutations'],this['_handler']);}[_0x228894(0x28a)](){return this;}[_0x228894(0x238)](_0x47a5fd){var _0x39b927=_0x228894;const _0x4ae1df=_0x47a5fd!=null?_0x47a5fd:this[_0x39b927(0x383)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x4ae1df,this[_0x39b927(0x2f8)]=setTimeout(()=>{var _0x503758=_0x39b927;this['_clearScheduledTask']();let _0x29d5b8=null;switch(this[_0x503758(0x2bf)]){case Q[_0x503758(0x24c)]:{_0x29d5b8=qt(this[_0x503758(0x233)],this[_0x503758(0x215)],this['_univerInstanceService'],this[_0x503758(0x34e)],this[_0x503758(0x2bb)]);break;}case Q[_0x503758(0x273)]:{this[_0x503758(0x233)][_0x503758(0x153)](_0x428e1e=>_0x428e1e['id']===_0x43f4f3['id'])?_0x29d5b8=nn(this[_0x503758(0x233)],this[_0x503758(0x215)],this['_univerInstanceService'],this[_0x503758(0x34e)],this[_0x503758(0x2bb)]):_0x29d5b8=qt(this[_0x503758(0x233)],this[_0x503758(0x215)],this[_0x503758(0x41d)],this['_revisionService'],this[_0x503758(0x2bb)]);break;}default:throw new Error(_0x503758(0x236)+this[_0x503758(0x2bf)]+_0x503758(0x13d));}const {changeset:_0x4bd676,pendingMutations:_0x4fc259}=_0x29d5b8;this[_0x503758(0x3b9)][_0x503758(0x27b)](_0x4bd676);const _0x2029e5=_0x4fc259[_0x503758(0x1d8)]?this['_injector'][_0x503758(0x158)](ae,this[_0x503758(0x215)],this[_0x503758(0x2bf)],_0x4bd676,_0x4fc259,this[_0x503758(0x3b9)],void 0x0):this[_0x503758(0x165)]['createInstance'](le,this['unitID'],this[_0x503758(0x2bf)],_0x4bd676,this[_0x503758(0x3b9)]);_0x2029e5['_updateLocalCache'](),this['_handler'][_0x503758(0x308)](this,_0x2029e5);},_0x4ae1df);}[_0x228894(0x383)](){var _0x565847=_0x228894,_0x24ac0e;const _0x44973c=this[_0x565847(0x36d)]['getConfig'](q);return(_0x24ac0e=_0x44973c==null?void 0x0:_0x44973c[_0x565847(0x1f2)])!=null?_0x24ac0e:Er;}[_0x228894(0x211)](){var _0x390a26=_0x228894;throw new Error(_0x390a26(0x271));}[_0x228894(0x3c5)](){var _0x18fd40=_0x228894;this[_0x18fd40(0x2f8)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x228894(0x2e7)](_0x26d547){var _0x3711a5=_0x228894;return this[_0x3711a5(0x3c5)](),this['_injector'][_0x3711a5(0x158)](ue,this['unitID'],this[_0x3711a5(0x2bf)],null,this['_pendingMutations'],this[_0x3711a5(0x3b9)],_0x26d547);}};oe=Te([P(0x4,_0x7e1ee1(_0xa32491)),P(0x5,_0x7e1ee1(_0x34da5f)),P(0x6,_0x7e1ee1(xe)),P(0x7,_0x3cc2bd),P(0x8,_0x50ec3e),P(0x9,_0x7ee467),P(0xa,_0x3ece4b),P(0xb,_0xffe073),P(0xc,_0x15c881),P(0xd,_0x1d58e6(J))],oe);let le=class extends Ce{constructor(_0x191aae,_0x4e6a21,_0x3c05aa,_0xaeed69,_0x750124,_0x23d1b4,_0x2c4261,_0xb248dd,_0x3b5311,_0x329b7f,_0x45454d){var _0x54b5fe=_0x228894;super(_0x191aae,_0x4e6a21,_0x3c05aa,[],_0xaeed69,_0x2c4261,_0x329b7f,_0x23d1b4,_0x45454d),N(this,'status',_0x54b5fe(0x3d7)),N(this,_0x54b5fe(0x1a0),0x0),N(this,_0x54b5fe(0x13b)),N(this,'_sender'),(this[_0x54b5fe(0x165)]=_0x750124,this['_logService']=_0xb248dd,this[_0x54b5fe(0x172)]=_0x3b5311);}['appendMutation'](_0x3e9531){var _0x4a5943=_0x228894;this['_clearScheduledTask']();const _0x5b40d3=this['_injector'][_0x4a5943(0x158)](ae,this[_0x4a5943(0x215)],this['type'],this['_awaitingChangeset'],[_0x3e9531],this[_0x4a5943(0x3b9)],this[_0x4a5943(0x13b)]);return _0x5b40d3['_updateLocalCache'](),_0x5b40d3;}[_0x228894(0x185)](_0x40d1b0){var _0x13cded=_0x228894;if(this['_checkMissing'](_0x40d1b0))return this[_0x13cded(0x3c5)](),this[_0x13cded(0x165)][_0x13cded(0x158)](ee,this[_0x13cded(0x215)],this[_0x13cded(0x2bf)],this[_0x13cded(0x1f3)],[],null,[_0x40d1b0],this[_0x13cded(0x3b9)]);try{const _0x49f414=this[_0x13cded(0x172)][_0x13cded(0x404)]([_0x40d1b0],[this[_0x13cded(0x1f3)]],!0x1);if(_0x3a66cd(_0x49f414)){const {c1Prime:_0x33f500,c2Prime:_0x45dd7e}=_0x49f414;this[_0x13cded(0x1e2)](_0x33f500[0x0]),_0x45dd7e[0x0]['baseRev']=this[_0x13cded(0x23d)](),this[_0x13cded(0x3c5)]();const _0x1e709d=this['_injector'][_0x13cded(0x158)](le,this['unitID'],this[_0x13cded(0x2bf)],_0x45dd7e[0x0],this['_handler']);return _0x1e709d['_updateLocalCache'](),_0x1e709d;}return this[_0x13cded(0x2e7)](!0x1);}catch(_0x32d4b2){return this[_0x13cded(0x144)][_0x13cded(0x16d)](_0x32d4b2),this[_0x13cded(0x2e7)](!0x1);}}[_0x228894(0x142)](_0x212d7e){var _0x4ce6fd=_0x228894;this['_clearScheduledTask']();const _0x2bcd2b=this[_0x4ce6fd(0x34e)][_0x4ce6fd(0x1d2)](this[_0x4ce6fd(0x215)]);if(_0x212d7e[_0x4ce6fd(0x2ba)]<_0x2bcd2b-0x1)return this;if(this['_checkMissing'](_0x212d7e))return this[_0x4ce6fd(0x165)][_0x4ce6fd(0x158)](ee,this[_0x4ce6fd(0x215)],this[_0x4ce6fd(0x2bf)],null,[],this['_awaitingChangeset'],[],this[_0x4ce6fd(0x3b9)]);this['_incrementRevisionNumber']();const _0x82e113=this[_0x4ce6fd(0x165)][_0x4ce6fd(0x158)](Ne,this['unitID'],this['type'],this['_handler']);return _0x82e113[_0x4ce6fd(0x1e5)](),_0x82e113;}[_0x228894(0x3ce)](_0x48d3da){var _0x5bd772=_0x228894;return this[_0x5bd772(0x2e7)](!!(_0x48d3da!=null&&_0x48d3da[_0x5bd772(0x19d)]));}[_0x228894(0x392)](_0x306e33){var _0x2f9110=_0x228894;return this[_0x2f9110(0x1a0)]>yi?this[_0x2f9110(0x253)]():(this[_0x2f9110(0x13b)]=Ri(this[_0x2f9110(0x1a0)],{'timeout':this[_0x2f9110(0x1a0)],'reqId':_0x306e33[_0x2f9110(0x331)]}),this['_sender']=this[_0x2f9110(0x13b)]['subscribe'](({reqId:_0x32f525,timeout:_0x2b0293})=>{var _0x442752=_0x2f9110;this[_0x442752(0x1a9)](_0x32f525,_0x2b0293);}),this);}[_0x228894(0x253)](){var _0x108757=_0x228894;return this[_0x108757(0x3c5)](),this[_0x108757(0x165)][_0x108757(0x158)](de,this[_0x108757(0x215)],this['type'],this[_0x108757(0x1f3)],[],this['_handler']);}[_0x228894(0x28a)](){return this;}[_0x228894(0x211)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x4575a6){var _0x385474=_0x228894;return this[_0x385474(0x3c5)](),this[_0x385474(0x165)]['createInstance'](ue,this['unitID'],this[_0x385474(0x2bf)],this['_awaitingChangeset'],[],this[_0x385474(0x3b9)],_0x4575a6);}[_0x228894(0x1a9)](_0x298396,_0x5b0cce){var _0x38952f=_0x228894,_0x214b6f;_0x298396===((_0x214b6f=this[_0x38952f(0x1f3)])==null?void 0x0:_0x214b6f[_0x38952f(0x331)])&&(this[_0x38952f(0x211)](),this[_0x38952f(0x1a0)]=_0x5b0cce===0x0?0x3e8:_0x5b0cce*0x2);}[_0x228894(0x3c5)](){var _0xa4dbca=_0x228894,_0x32fd8c;(_0x32fd8c=this[_0xa4dbca(0x2ac)])==null||_0x32fd8c[_0xa4dbca(0x16b)](),this[_0xa4dbca(0x1a0)]=0x0;}};le=Te([P(0x4,_0x7e1ee1(_0xa32491)),P(0x5,_0x7e1ee1(_0x34da5f)),P(0x6,_0x50ec3e),P(0x7,_0x3cc2bd),P(0x8,_0x3ece4b),P(0x9,_0x15c881),P(0xa,_0x1d58e6(J))],le);let ae=class extends Ce{constructor(_0x470da5,_0x4595f,_0x571659,_0x576fa3,_0x1a39bc,_0x597748,_0x228b6d,_0xc0b874,_0x1f8014,_0x250091,_0x3d281a,_0x442fd6,_0x289fb9){var _0x514b52=_0x228894;super(_0x470da5,_0x4595f,_0x571659,_0x576fa3,_0x1a39bc,_0x1f8014,_0x442fd6,_0xc0b874,_0x289fb9),N(this,'status',_0x514b52(0x289)),N(this,_0x514b52(0x1a0),0x0),N(this,_0x514b52(0x13b)),N(this,_0x514b52(0x2ac)),(this['_injector']=_0x228b6d,this['_logService']=_0x250091,this[_0x514b52(0x172)]=_0x3d281a,this['localCacheService']=_0x289fb9,_0x597748&&(this[_0x514b52(0x13b)]=_0x597748,this[_0x514b52(0x2ac)]=this['_resendTimer'][_0x514b52(0x24e)](({reqId:_0x5944d0,timeout:_0x1ec56f})=>{this['_resendWithTimeout'](_0x5944d0,_0x1ec56f);})));}[_0x228894(0x367)](_0x5d1eba){var _0x215481=_0x228894;return this[_0x215481(0x233)][_0x215481(0x403)](_0x5d1eba),this;}[_0x228894(0x185)](_0x47f341){var _0x148eeb=_0x228894;if(this[_0x148eeb(0x1f9)](_0x47f341))return this[_0x148eeb(0x3c5)](),this['_injector'][_0x148eeb(0x158)](ee,this[_0x148eeb(0x215)],this[_0x148eeb(0x2bf)],this[_0x148eeb(0x1f3)],this[_0x148eeb(0x233)],null,[_0x47f341],this[_0x148eeb(0x3b9)]);try{const _0x5f0fea=this[_0x148eeb(0x172)][_0x148eeb(0x404)]([_0x47f341],[this[_0x148eeb(0x1f3)]],!0x1);if(_0x3a66cd(_0x5f0fea)){const {c1Prime:_0x570383,c2Prime:_0x19bb64}=_0x5f0fea,_0x13fb8f=this['_transformService']['transformMutationsWithChangeset'](_0x570383[0x0],this[_0x148eeb(0x233)]);if(_0x5d1283(_0x13fb8f)){const {c1Prime:_0x2c2caf,m2Prime:_0x5e3ce8}=_0x13fb8f;return this[_0x148eeb(0x1e2)](_0x2c2caf),_0x19bb64[0x0][_0x148eeb(0x1bf)]=this[_0x148eeb(0x23d)](),this['_clearScheduledTask'](),this[_0x148eeb(0x165)][_0x148eeb(0x158)](ae,this[_0x148eeb(0x215)],this['type'],_0x19bb64[0x0],_0x5e3ce8,this[_0x148eeb(0x3b9)],void 0x0);}throw _0x13fb8f[_0x148eeb(0x16d)];}throw _0x5f0fea['error'];}catch(_0x1df245){return this['_logService'][_0x148eeb(0x16d)](_0x1df245),this[_0x148eeb(0x2e7)](!0x1);}}[_0x228894(0x142)](_0x3372f4){var _0x29f5f5=_0x228894;if(this[_0x29f5f5(0x3c5)](),this[_0x29f5f5(0x1f9)](_0x3372f4))return this[_0x29f5f5(0x165)][_0x29f5f5(0x158)](ee,this[_0x29f5f5(0x215)],this[_0x29f5f5(0x2bf)],null,this[_0x29f5f5(0x233)],this[_0x29f5f5(0x1f3)],[],this['_handler']);this[_0x29f5f5(0x1cc)]();const _0x237bf9=this[_0x29f5f5(0x165)][_0x29f5f5(0x158)](oe,this[_0x29f5f5(0x215)],this[_0x29f5f5(0x2bf)],this[_0x29f5f5(0x233)],this[_0x29f5f5(0x3b9)]);return _0x237bf9[_0x29f5f5(0x238)](),_0x237bf9[_0x29f5f5(0x1e5)](),_0x237bf9;}[_0x228894(0x3ce)](_0x276f96){var _0x23136f=_0x228894;return this[_0x23136f(0x2e7)](!!(_0x276f96!=null&&_0x276f96[_0x23136f(0x19d)]));}[_0x228894(0x392)](_0x4813a9){var _0x1389fa=_0x228894;return this[_0x1389fa(0x1a0)]>yi?this[_0x1389fa(0x253)]():(this[_0x1389fa(0x13b)]=Ri(this[_0x1389fa(0x1a0)],{'timeout':this[_0x1389fa(0x1a0)],'reqId':_0x4813a9[_0x1389fa(0x331)]}),this['_sender']=this[_0x1389fa(0x13b)][_0x1389fa(0x24e)](({reqId:_0x13439e,timeout:_0x2ec0a7})=>{this['_resendWithTimeout'](_0x13439e,_0x2ec0a7);}),this);}[_0x228894(0x253)](){var _0x2e5068=_0x228894;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x2e5068(0x215)],this[_0x2e5068(0x2bf)],this[_0x2e5068(0x1f3)],this['_pendingMutations'],this['_handler']);}[_0x228894(0x28a)](){return this;}[_0x228894(0x211)](){var _0x5276ab=_0x228894;this[_0x5276ab(0x3b9)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x3361ea){var _0x4d57fe=_0x228894;return this[_0x4d57fe(0x3c5)](),this['_injector'][_0x4d57fe(0x158)](ue,this[_0x4d57fe(0x215)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x3361ea);}[_0x228894(0x1a9)](_0x5bc008,_0x318476){var _0x2a4add=_0x228894,_0x4b4ccb;_0x5bc008===((_0x4b4ccb=this[_0x2a4add(0x1f3)])==null?void 0x0:_0x4b4ccb[_0x2a4add(0x331)])&&(this[_0x2a4add(0x211)](),this[_0x2a4add(0x1a0)]=_0x318476===0x0?0x3e8:_0x318476*0x2);}[_0x228894(0x3c5)](){var _0x448da4=_0x228894,_0x46dc99;(_0x46dc99=this[_0x448da4(0x2ac)])==null||_0x46dc99[_0x448da4(0x16b)](),this[_0x448da4(0x1a0)]=0x0;}};ae=Te([P(0x6,_0x7e1ee1(_0xa32491)),P(0x7,_0x7e1ee1(_0x34da5f)),P(0x8,_0x50ec3e),P(0x9,_0x3cc2bd),P(0xa,_0x3ece4b),P(0xb,_0x15c881),P(0xc,_0x1d58e6(J))],ae);let ue=class extends Ce{constructor(_0x5ab9de,_0x41cbcd,_0x3b2fa2,_0x3dd225,_0xf1fe1c,_0x575570=!0x1,_0x3dbbed,_0x5441e9,_0x2b856a,_0x532183,_0x47b778,_0x2e3cc2,_0x110022){var _0x5a822c=_0x228894;super(_0x5ab9de,_0x41cbcd,_0x3b2fa2,_0x3dd225,_0xf1fe1c,_0x5441e9,_0x2b856a,_0x532183,_0x110022),N(this,'status',_0x5a822c(0x1ca)),(this['_isPermissionRej']=_0x575570,this[_0x5a822c(0x3da)]=_0x3dbbed,this[_0x5a822c(0x2fd)]=_0x47b778,this['_collaborationUIEventService']=_0x2e3cc2,this[_0x5a822c(0x36b)]=_0x110022,this[_0x5a822c(0x23c)](),this[_0x5a822c(0x368)](),this[_0x5a822c(0x38f)]());}[_0x228894(0x367)](){return this;}['onRemoteChangeset'](){return this;}[_0x228894(0x142)](){return this;}[_0x228894(0x3ce)](){return this;}[_0x228894(0x392)](){return this;}['toggleOffline'](){return this;}[_0x228894(0x28a)](){return this;}[_0x228894(0x211)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x228894(0x368)](){var _0x3aa1ec=_0x228894,_0x34e218;(_0x34e218=this['_localCacheService'])==null||_0x34e218[_0x3aa1ec(0x291)](this[_0x3aa1ec(0x215)],this[_0x3aa1ec(0x2bf)],null,[]);}[_0x228894(0x23c)](){var _0x295ab9=_0x228894;this[_0x295ab9(0x276)]?this[_0x295ab9(0x1eb)][_0x295ab9(0x241)]({'id':se[_0x295ab9(0x438)]}):this[_0x295ab9(0x1eb)][_0x295ab9(0x241)]({'id':se[_0x295ab9(0x3d9)]});}[_0x228894(0x38f)](){var _0x2fd949=_0x228894;this[_0x2fd949(0x3da)][_0x2fd949(0x137)](new _0x255943(this[_0x2fd949(0x215)])['id'],!0x1);}};ue=Te([P(0x6,_0x7e1ee1(_0x18d44c)),P(0x7,_0x50ec3e),P(0x8,_0x15c881),P(0x9,_0x7e1ee1(_0x34da5f)),P(0xa,_0x7e1ee1(_0x421b51)),P(0xb,_0x7e1ee1(pe)),P(0xc,_0x1d58e6(J))],ue);let de=class extends Ce{constructor(_0x590816,_0x5838c7,_0x1d5d33,_0x372055,_0x4ae73a,_0x2656b6,_0x16dc09,_0x18d6c4,_0x1b0c5a,_0x37fb4c){var _0x45159f=_0x228894;super(_0x590816,_0x5838c7,_0x1d5d33,_0x372055,_0x4ae73a,_0x18d6c4,_0x1b0c5a,_0x16dc09,_0x37fb4c),N(this,_0x45159f(0x159),_0x45159f(0x377)),this[_0x45159f(0x165)]=_0x2656b6;}[_0x228894(0x367)](_0x4b64d5){var _0x2bfb15=_0x228894;return this[_0x2bfb15(0x233)][_0x2bfb15(0x403)](_0x4b64d5),this[_0x2bfb15(0x1e5)](),this;}['onRemoteChangeset'](_0x1b6866){var _0x37d61a=_0x228894;throw new Error(_0x37d61a(0x220));}[_0x228894(0x142)](){var _0x22df0a=_0x228894;throw new Error(_0x22df0a(0x43a));}[_0x228894(0x3ce)](){var _0x21104d=_0x228894;throw new Error(_0x21104d(0x1c0));}[_0x228894(0x392)](){return this;}[_0x228894(0x253)](){return this;}[_0x228894(0x28a)](){var _0x3ac5b8=_0x228894;const {_injector:_0x16bf78,_pendingMutations:_0x11f7f5,_awaitingChangeset:_0x50afd1,unitID:_0x104422,_handler:_0x4d9d7f,type:_0x5c3089}=this,_0x1cf692=Oi(_0x16bf78,_0x104422,_0x5c3089,_0x50afd1,_0x11f7f5,_0x4d9d7f);return _0x1cf692 instanceof oe?_0x1cf692[_0x3ac5b8(0x238)]():(_0x1cf692 instanceof ae||_0x1cf692 instanceof le)&&_0x1cf692[_0x3ac5b8(0x211)](),_0x1cf692;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x7e1ee1(_0xa32491)),P(0x6,_0x7e1ee1(_0x34da5f)),P(0x7,_0x50ec3e),P(0x8,_0x15c881),P(0x9,_0x1d58e6(J))],de);let ee=class extends Ce{constructor(_0x565a7b,_0x4ffef3,_0x130f42,_0x2a3e17,_0xed8373,_0x3a84cd,_0x496b1a,_0x13dbe9,_0x254ac7,_0x3c3984,_0x5b026f,_0x11af90,_0x1f1798,_0x4d49f5){var _0x5b7a55=_0x228894;super(_0x565a7b,_0x4ffef3,_0x130f42,_0x2a3e17,_0x496b1a,_0x5b026f,_0x11af90,_0x254ac7,_0x4d49f5),N(this,'status',_0x5b7a55(0x359)),(this[_0x5b7a55(0x402)]=_0xed8373,this[_0x5b7a55(0x322)]=_0x3a84cd,this['_injector']=_0x13dbe9,this['_logService']=_0x3c3984,this['_transformService']=_0x1f1798,this[_0x5b7a55(0x36b)]=_0x4d49f5);}[_0x228894(0x41a)](_0x2d157a){var _0x45cc2e=_0x228894;try{const _0x4c46ae=[..._0x2d157a,...this['_queuedRemoteChangesets']],_0x552036=[this[_0x45cc2e(0x1f3)]||this['_acknowledgedAwaitingChangeset']][_0x45cc2e(0x200)](_0x13b290=>!!_0x13b290);let _0x20e455,_0x5cc56d;if(_0x552036[_0x45cc2e(0x1d8)]){const _0x4961af=this[_0x45cc2e(0x172)][_0x45cc2e(0x404)](_0x4c46ae,_0x552036,!0x1);if(!_0x3a66cd(_0x4961af))throw _0x4961af[_0x45cc2e(0x16d)];_0x20e455=_0x4961af['c1Prime'],_0x5cc56d=_0x4961af[_0x45cc2e(0x2a5)];}else _0x20e455=_0x4c46ae,_0x5cc56d=[];let _0x2512fa=this[_0x45cc2e(0x233)];_0x20e455[_0x45cc2e(0x3b6)](_0x1ca804=>{var _0x31cc6f=_0x45cc2e;let _0x4bba1d;if(_0x2512fa[_0x31cc6f(0x1d8)]){const _0x35f09a=this[_0x31cc6f(0x172)][_0x31cc6f(0x204)](_0x1ca804,_0x2512fa);if(!_0x5d1283(_0x35f09a))throw _0x35f09a[_0x31cc6f(0x16d)];_0x4bba1d=_0x35f09a[_0x31cc6f(0x382)],_0x2512fa=_0x35f09a[_0x31cc6f(0x209)];}else _0x4bba1d=_0x1ca804;this[_0x31cc6f(0x1e2)](_0x4bba1d);}),this[_0x45cc2e(0x402)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x5cc56d[_0x45cc2e(0x1d8)]&&(_0x5cc56d[0x0][_0x45cc2e(0x1bf)]=this[_0x45cc2e(0x23d)]());let _0x2b41da;if(this['_awaitingChangeset']&&_0x2512fa[_0x45cc2e(0x1d8)]!==0x0)_0x2b41da=this[_0x45cc2e(0x165)][_0x45cc2e(0x158)](ae,this['unitID'],this['type'],_0x5cc56d[0x0],_0x2512fa,this[_0x45cc2e(0x3b9)],void 0x0);else{if(this[_0x45cc2e(0x1f3)]&&_0x2512fa['length']===0x0)_0x5cc56d[0x0][_0x45cc2e(0x1bf)]=this[_0x45cc2e(0x23d)](),_0x2b41da=this[_0x45cc2e(0x165)][_0x45cc2e(0x158)](le,this[_0x45cc2e(0x215)],this[_0x45cc2e(0x2bf)],_0x5cc56d[0x0],this['_handler']);else{if(_0x2512fa[_0x45cc2e(0x1d8)]!==0x0){const _0x457629=this['_injector'][_0x45cc2e(0x158)](oe,this[_0x45cc2e(0x215)],this[_0x45cc2e(0x2bf)],_0x2512fa,this[_0x45cc2e(0x3b9)]);_0x457629[_0x45cc2e(0x238)](),_0x2b41da=_0x457629;}else _0x2b41da=this[_0x45cc2e(0x165)]['createInstance'](Ne,this['unitID'],this[_0x45cc2e(0x2bf)],this[_0x45cc2e(0x3b9)]);}}return _0x2b41da[_0x45cc2e(0x1e5)](),_0x2b41da;}catch(_0x3c741a){return this['_logService'][_0x45cc2e(0x16d)](_0x45cc2e(0x35a),_0x45cc2e(0x2a0),_0x3c741a),this[_0x45cc2e(0x165)][_0x45cc2e(0x158)](ue,this['unitID'],this[_0x45cc2e(0x2bf)],this[_0x45cc2e(0x1f3)],this[_0x45cc2e(0x233)],this[_0x45cc2e(0x3b9)],!0x1);}}[_0x228894(0x211)](){var _0x12d57c=_0x228894;throw new Error(_0x12d57c(0x3ca));}['appendMutation'](_0xc45525){var _0x5c08bb=_0x228894;return this[_0x5c08bb(0x233)][_0x5c08bb(0x403)](_0xc45525),this;}[_0x228894(0x185)](_0x2c7e1a){var _0xc3999=_0x228894;return this[_0xc3999(0x322)][_0xc3999(0x403)](_0x2c7e1a),this;}[_0x228894(0x142)](_0x44ad92){var _0x3656d5=_0x228894;if(this[_0x3656d5(0x1f3)])return this[_0x3656d5(0x402)]=this['_awaitingChangeset'],this[_0x3656d5(0x1f3)]=null,this;throw new Error(_0x3656d5(0x28b));}[_0x228894(0x3ce)](_0x4f0bd0){var _0x1afd2b=_0x228894;return this[_0x1afd2b(0x2e7)](!!(_0x4f0bd0!=null&&_0x4f0bd0[_0x1afd2b(0x19d)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0xe4aa16=_0x228894;return this[_0xe4aa16(0x165)][_0xe4aa16(0x158)](de,this[_0xe4aa16(0x215)],this[_0xe4aa16(0x2bf)],this[_0xe4aa16(0x1f3)],this['_pendingMutations'],this[_0xe4aa16(0x3b9)]);}[_0x228894(0x28a)](){return this;}[_0x228894(0x2e7)](_0x241a55){var _0x46af3a=_0x228894;return this['_injector'][_0x46af3a(0x158)](ue,this[_0x46af3a(0x215)],this['type'],this[_0x46af3a(0x1f3)],this[_0x46af3a(0x233)],this[_0x46af3a(0x3b9)],_0x241a55);}};ee=Te([P(0x7,_0x7e1ee1(_0xa32491)),P(0x8,_0x7e1ee1(_0x34da5f)),P(0x9,_0x3cc2bd),P(0xa,_0x50ec3e),P(0xb,_0x15c881),P(0xc,_0x3ece4b),P(0xd,_0x1d58e6(J))],ee);function Oi(_0x20de23,_0x372bdb,_0x2731d1,_0x51f7ea,_0x17032a,_0x44eb57){var _0x3c5fcb=_0x228894;return _0x51f7ea&&_0x17032a[_0x3c5fcb(0x1d8)]?_0x20de23[_0x3c5fcb(0x158)](ae,_0x372bdb,_0x2731d1,_0x51f7ea,_0x17032a,_0x44eb57,void 0x0):_0x51f7ea?_0x20de23[_0x3c5fcb(0x158)](le,_0x372bdb,_0x2731d1,_0x51f7ea,_0x44eb57):_0x17032a[_0x3c5fcb(0x1d8)]?_0x20de23[_0x3c5fcb(0x158)](oe,_0x372bdb,_0x2731d1,_0x17032a,_0x44eb57):_0x20de23['createInstance'](Ne,_0x372bdb,_0x2731d1,_0x44eb57);}var an=Object[_0x228894(0x20c)],xt=(_0x4e8f13,_0x1e8152,_0x114426,_0x4e0082)=>{for(var _0x4af948=_0x4e0082>0x1?void 0x0:_0x4e0082?an(_0x1e8152,_0x114426):_0x1e8152,_0x5f0470=_0x4e8f13['length']-0x1,_0x29c442;_0x5f0470>=0x0;_0x5f0470--)(_0x29c442=_0x4e8f13[_0x5f0470])&&(_0x4af948=_0x29c442(_0x4af948)||_0x4af948);return _0x4af948;},H=(_0xd2cb31,_0x91c431)=>(_0x36a351,_0x2a29da)=>_0x91c431(_0x36a351,_0x2a29da,_0xd2cb31);let rt=class extends _0x4d64f7{constructor(_0x44c782,_0x46ba89,_0x460aaf,_0x3d8ebb,_0x20a26c,_0x7f9b1c,_0x4f5170,_0x35ed67,_0x43d3d7,_0x4a82ab,_0x4e7dfb,_0x55e244,_0x3c776e){var _0xb99bdd=_0x228894;super(),N(this,_0xb99bdd(0x1b8),new _0x35002d(null)),N(this,_0xb99bdd(0x22f),this[_0xb99bdd(0x1b8)][_0xb99bdd(0x2ca)]()),N(this,_0xb99bdd(0x39b)),N(this,_0xb99bdd(0x2b4),!0x1),N(this,'_changesetSessionId',''),N(this,'_changesetReqId',0x0),N(this,_0xb99bdd(0x28c),this[_0xb99bdd(0x22f)]['pipe'](_0x244e5d(_0x2f65ed=>_0x2f65ed?_0x2f65ed[_0xb99bdd(0x159)]:bi[_0xb99bdd(0x262)]),_0x15b5bd(0x1))),N(this,_0xb99bdd(0x2fe),!0x1),N(this,_0xb99bdd(0x33c),[]),(this[_0xb99bdd(0x215)]=_0x44c782,this[_0xb99bdd(0x149)]=_0x46ba89,this[_0xb99bdd(0x210)]=_0x460aaf,this['_injector']=_0x3d8ebb,this[_0xb99bdd(0x349)]=_0x20a26c,this[_0xb99bdd(0x2fd)]=_0x7f9b1c,this[_0xb99bdd(0x34e)]=_0x4f5170,this[_0xb99bdd(0x1e9)]=_0x35ed67,this['_logService']=_0x43d3d7,this[_0xb99bdd(0x2ed)]=_0x4a82ab,this[_0xb99bdd(0x3da)]=_0x4e7dfb,this[_0xb99bdd(0x3a6)]=_0x55e244,this[_0xb99bdd(0x301)]=_0x3c776e);}get['state'](){var _0x5926a8=_0x228894;return this[_0x5926a8(0x39b)];}async['init'](){var _0x3c66e6=_0x228894;if(this[_0x3c66e6(0x439)])throw new Error(_0x3c66e6(0x390));await this[_0x3c66e6(0x1dc)]();}[_0x228894(0x345)](){return this['_collaborationPaused']=!0x0,_0x483b1d(()=>{var _0x10c6d3=_0x326f;this[_0x10c6d3(0x2b4)]=!0x1,this[_0x10c6d3(0x1f6)]();});}[_0x228894(0x313)](_0x5bb84f){var _0x3d394f=_0x228894;this[_0x3d394f(0x183)](_0x5bb84f);}['_updateState'](_0x61282){var _0x22eceb=_0x228894;this['_state']=_0x61282,this[_0x22eceb(0x1b8)][_0x22eceb(0x167)](_0x61282);}async[_0x228894(0x1dc)](){var _0x97397b=_0x228894,_0x248712;this['_updateState'](await this[_0x97397b(0x3c6)]()),this[_0x97397b(0x3a6)]&&((_0x248712=this['_singleActiveUnitService'])==null||_0x248712[_0x97397b(0x342)](this[_0x97397b(0x215)]),this[_0x97397b(0x22a)](this[_0x97397b(0x3a6)][_0x97397b(0x246)](this['unitID'])['subscribe'](_0x2e583f=>{var _0x155ed0=_0x97397b;this[_0x155ed0(0x144)][_0x155ed0(0x326)]('[CollaborationEntity]',_0x155ed0(0x3ff),_0x2e583f),_0x2e583f===Ci['OTHER_CLIENTS_EDITING']?(this[_0x155ed0(0x1e9)][_0x155ed0(0x241)]({'id':se[_0x155ed0(0x426)]}),this[_0x155ed0(0x3da)]['updatePermissionPoint'](new _0x255943(this[_0x155ed0(0x215)])['id'],!0x1),this[_0x155ed0(0x3da)][_0x155ed0(0x40e)](!0x1)):(this[_0x155ed0(0x3da)][_0x155ed0(0x137)](new _0x255943(this['unitID'])['id'],!0x0),this[_0x155ed0(0x3da)]['setShowComponents'](!0x0));})));let _0x49355c=!0x1;return this['disposeWithMe'](this[_0x97397b(0x149)][_0x97397b(0x3f2)][_0x97397b(0x24e)](_0x3a365=>{var _0xd3ea28=_0x97397b;_0x3a365===Ee[_0xd3ea28(0x32d)]?this[_0xd3ea28(0x365)](_0x49355c):_0x3a365===Ee[_0xd3ea28(0x262)]&&(_0x49355c=!0x0,this['_toggleOffline']());})),this[_0x97397b(0x22a)](this[_0x97397b(0x149)][_0x97397b(0x25f)][_0x97397b(0x24e)](_0x3783bb=>{var _0x1d1841=_0x97397b;try{switch(_0x3783bb['eventID']){case _0x20f032[_0x1d1841(0x419)]:{this[_0x1d1841(0x34b)](_0x5554e5(_0x3783bb[_0x1d1841(0x41f)]));break;}case _0x20f032['CHANGESET_ACK']:{this[_0x1d1841(0x186)](_0x3783bb[_0x1d1841(0x41f)]);break;}case _0x20f032[_0x1d1841(0x130)]:{this[_0x1d1841(0x23f)]();break;}case _0x20f032[_0x1d1841(0x19b)]:{this[_0x1d1841(0x414)](_0x3783bb['data']);break;}case _0x20f032[_0x1d1841(0x433)]:{this[_0x1d1841(0x3d8)](_0x3783bb['data'][_0x1d1841(0x40a)][_0x1d1841(0x265)](_0x3343f5=>_0x5554e5(_0x3343f5)));break;}case _0x20f032[_0x1d1841(0x181)]:{this[_0x1d1841(0x23f)]({'isPermissionRej':!0x0});break;}case _0x20f032[_0x1d1841(0x219)]:break;}}catch(_0x5dd961){throw console[_0x1d1841(0x16d)](_0x1d1841(0x3bb),_0x5dd961),_0x5dd961;}})),this['_state'];}[_0x228894(0x146)](){var _0xa576ae=_0x228894;this[_0xa576ae(0x2fe)]=!0x1;}[_0x228894(0x40d)](){var _0xe172cc=_0x228894;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0xe172cc(0x2fe)]=!0x0;}['_onLocalMutation'](_0xe55054){var _0x275320=_0x228894;this[_0x275320(0x40d)](),this[_0x275320(0x188)](this[_0x275320(0x39b)][_0x275320(0x367)](_0xe55054)),this[_0x275320(0x146)]();}[_0x228894(0x34b)](_0x1b88f8){var _0x5a9f5c=_0x228894;if(!(_0x1b88f8['revision']<=this[_0x5a9f5c(0x34e)][_0x5a9f5c(0x1d2)](this[_0x5a9f5c(0x215)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x1b88f8);return;}this[_0x5a9f5c(0x401)](_0x1b88f8);}}[_0x228894(0x1f6)](){var _0x2af27f=_0x228894;this[_0x2af27f(0x33c)][_0x2af27f(0x3b6)](_0x3b8d94=>this[_0x2af27f(0x401)](_0x3b8d94)),this[_0x2af27f(0x33c)]=[];}[_0x228894(0x401)](_0x46e581){var _0x225cd3=_0x228894;const _0x143ff3=this[_0x225cd3(0x349)][_0x225cd3(0x37d)]['fetchThroughInterceptors'](this[_0x225cd3(0x349)][_0x225cd3(0x37d)]['getInterceptPoints']()[_0x225cd3(0x13f)])(_0x46e581['mutations'],null)||_0x46e581[_0x225cd3(0x3f7)],_0x230ac4={..._0x46e581,'mutations':_0x143ff3};this[_0x225cd3(0x40d)](),this['_updateState'](this[_0x225cd3(0x39b)][_0x225cd3(0x185)](_0x230ac4)),this[_0x225cd3(0x146)]();}[_0x228894(0x186)](_0x4510ee){var _0x3b4aaf=_0x228894;this[_0x3b4aaf(0x40d)](),this[_0x3b4aaf(0x188)](this[_0x3b4aaf(0x39b)][_0x3b4aaf(0x142)](_0x4510ee)),this[_0x3b4aaf(0x146)]();}[_0x228894(0x23f)](_0x53df0d){var _0x39f28c=_0x228894;this[_0x39f28c(0x40d)](),this[_0x39f28c(0x188)](this[_0x39f28c(0x39b)][_0x39f28c(0x3ce)](_0x53df0d)),this[_0x39f28c(0x146)]();}[_0x228894(0x414)](_0x53623a){var _0x5d1b0d=_0x228894;this[_0x5d1b0d(0x40d)](),this[_0x5d1b0d(0x188)](this[_0x5d1b0d(0x39b)]['onRemoteRetry'](_0x53623a)),this[_0x5d1b0d(0x146)]();}['_onFetchMissResult'](_0xde444c){var _0x2a0c7b=_0x228894;if(!(this[_0x2a0c7b(0x39b)]instanceof ee))throw new TypeError(_0x2a0c7b(0x18a));const _0x51ecec=_0xde444c[_0x2a0c7b(0x265)](_0x4da2fa=>{var _0x4c5012=_0x2a0c7b;const _0x92cdca=this[_0x4c5012(0x349)][_0x4c5012(0x37d)][_0x4c5012(0x3b2)](this[_0x4c5012(0x349)][_0x4c5012(0x37d)][_0x4c5012(0x3c7)]()[_0x4c5012(0x13f)])(_0x4da2fa[_0x4c5012(0x3f7)],null)||_0x4da2fa[_0x4c5012(0x3f7)];return{..._0x4da2fa,'mutations':_0x92cdca};});this[_0x2a0c7b(0x40d)](),this['_updateState'](this['_state'][_0x2a0c7b(0x41a)](_0x51ecec)),this['_unlockTransition']();}[_0x228894(0x1cd)](){var _0x3cc0f1=_0x228894;this[_0x3cc0f1(0x40d)](),this['_updateState'](this[_0x3cc0f1(0x39b)][_0x3cc0f1(0x253)]()),this[_0x3cc0f1(0x146)]();}[_0x228894(0x365)](_0x3156de=!0x1){var _0x36c736=_0x228894;this[_0x36c736(0x40d)](),this[_0x36c736(0x188)](this[_0x36c736(0x39b)]['toggleOnline']()),this[_0x36c736(0x146)]();const _0xe14c8=this[_0x36c736(0x39b)];_0x3156de&&_0xe14c8 instanceof Ne&&(this['_lockTransition'](),this[_0x36c736(0x188)](_0xe14c8[_0x36c736(0x32a)]()),this[_0x36c736(0x146)]());}async[_0x228894(0x3c6)](){return new Promise(_0xcc9ad0=>{var _0x2f9787=_0x326f;this['session'][_0x2f9787(0x3f2)][_0x2f9787(0x3a7)](_0x314bc2(0x1))[_0x2f9787(0x24e)](async _0x35d254=>{var _0x2e56b4=_0x2f9787;_0xcc9ad0(await this[_0x2e56b4(0x3c2)](_0x35d254===Ee[_0x2e56b4(0x32d)]));});});}['_createHandler'](){var _0x244e68=_0x228894;const _0x2a42ab=this[_0x244e68(0x215)];return{'onStateChange':(_0x48af41,_0x220b8f)=>{var _0x5b119c=_0x244e68;if(_0x48af41!==this[_0x5b119c(0x39b)])throw new Error(_0x5b119c(0x192)+_0x48af41['status']+_0x5b119c(0x22e)+_0x220b8f[_0x5b119c(0x159)]+_0x5b119c(0x305)+this['_state']['status']);this[_0x5b119c(0x188)](_0x220b8f);},'onSendChangeset':_0x1db9f9=>{var _0x5b0640=_0x244e68;_0x1db9f9[_0x5b0640(0x34a)]||(_0x1db9f9[_0x5b0640(0x34a)]=this['_changesetSessionId'],_0x1db9f9[_0x5b0640(0x331)]=++this[_0x5b0640(0x1e1)]);const _0x3f1734={'eventID':_0x20f032[_0x5b0640(0x413)],'data':{'unitID':_0x1db9f9[_0x5b0640(0x215)],'unitType':this[_0x5b0640(0x210)],'changeset':_0x1db9f9,'memberID':this[_0x5b0640(0x149)][_0x5b0640(0x23e)]()}};this['session'][_0x5b0640(0x2f6)](_0x3f1734,this[_0x5b0640(0x215)]);},'onMissingChangesets':({from:_0x48e1e3,to:_0x6d8519})=>{var _0x3447fc=_0x244e68;this[_0x3447fc(0x144)]['debug'](_0x3447fc(0x3c0),_0x3447fc(0x2ee)+_0x48e1e3+_0x3447fc(0x2ad)+_0x6d8519);const _0x1347ba={'eventID':_0x20f032[_0x3447fc(0x30b)],'data':{'unitID':_0x2a42ab,'unitType':this[_0x3447fc(0x210)],'from':_0x48e1e3,'to':_0x6d8519}};this[_0x3447fc(0x149)][_0x3447fc(0x2f6)](_0x1347ba,this[_0x3447fc(0x215)]);}};}async[_0x228894(0x3c2)](_0x38b4c2){var _0x205e79=_0x228894,_0x41d84f,_0x31e5a6,_0x2b4e60;const _0x2fbc8b=await((_0x41d84f=this[_0x205e79(0x301)])==null?void 0x0:_0x41d84f['loadOfflineData'](this['unitID'])),_0xe264e4=(_0x31e5a6=_0x2fbc8b==null?void 0x0:_0x2fbc8b['mutations'])!=null?_0x31e5a6:[],_0x3a5561=(_0x2b4e60=_0x2fbc8b==null?void 0x0:_0x2fbc8b[_0x205e79(0x2e2)])!=null?_0x2b4e60:null,_0x3ee1fa=!!(_0x3a5561!=null&&_0x3a5561['sid'])&&!!(_0x3a5561!=null&&_0x3a5561[_0x205e79(0x331)]);this[_0x205e79(0x206)]=_0x3ee1fa?_0x3a5561['sid']:Zr(),this[_0x205e79(0x1e1)]=_0x3ee1fa?_0x3a5561['reqId']:0x0;const _0x1613d2=this['unitID'];try{this[_0x205e79(0x2cb)](_0x3a5561,_0xe264e4);}catch(_0x3978bc){this[_0x205e79(0x144)][_0x205e79(0x16d)](_0x3978bc);}const _0x31de89=this[_0x205e79(0x264)]();if(_0x38b4c2){const _0x228a9d=Oi(this['_injector'],_0x1613d2,this[_0x205e79(0x210)],_0x3a5561,_0xe264e4,_0x31de89);return _0x228a9d instanceof oe?_0x228a9d[_0x205e79(0x238)]():(_0x228a9d instanceof ae||_0x228a9d instanceof le)&&_0x228a9d[_0x205e79(0x211)](),_0x228a9d;}return this[_0x205e79(0x165)]['createInstance'](de,_0x1613d2,this['_type'],_0x3a5561,_0xe264e4,_0x31de89);}[_0x228894(0x2cb)](_0x595d68,_0x5179b5){var _0x4cff6f=_0x228894,_0x3868c9,_0x20dbdf;const _0x3a2b79=this[_0x4cff6f(0x349)][_0x4cff6f(0x37d)][_0x4cff6f(0x3b2)](this[_0x4cff6f(0x349)][_0x4cff6f(0x37d)][_0x4cff6f(0x3c7)]()[_0x4cff6f(0x13f)]);(_0x3868c9=_0x3a2b79((_0x595d68==null?void 0x0:_0x595d68[_0x4cff6f(0x3f7)])||[],null))==null||_0x3868c9[_0x4cff6f(0x3b6)](_0x2d52a2=>this['_commandService'][_0x4cff6f(0x2a8)](_0x2d52a2['id'],_0x2d52a2[_0x4cff6f(0x2e9)])),(_0x20dbdf=_0x3a2b79(_0x5179b5||[],null))==null||_0x20dbdf[_0x4cff6f(0x3b6)](_0x4ff363=>this[_0x4cff6f(0x2ed)][_0x4cff6f(0x2a8)](_0x4ff363['id'],_0x4ff363[_0x4cff6f(0x2e9)]));}};rt=xt([H(0x3,_0x7e1ee1(_0xa32491)),H(0x4,_0x7e1ee1(_0x48f8e4)),H(0x5,_0x7e1ee1(_0x421b51)),H(0x6,_0x7e1ee1(_0x34da5f)),H(0x7,_0x7e1ee1(pe)),H(0x8,_0x3cc2bd),H(0x9,_0x50ec3e),H(0xa,_0x18d44c),H(0xb,_0x1d58e6(ht)),H(0xc,_0x1d58e6(J))],rt);let It=class extends rt{constructor(_0x2bc801,_0x3edfc2,_0x360d94,_0x167096,_0x55f251,_0x3a381f,_0x14e693,_0x328413,_0x56ae3a,_0x3f5d1f,_0x1187de,_0x5cecda,_0x69d047){var _0x5b9b80=_0x228894;super(_0x2bc801,_0x360d94,_0x3edfc2,_0x167096,_0x55f251,_0x3a381f,_0x14e693,_0x328413,_0x56ae3a,_0x3f5d1f,_0x1187de,_0x5cecda,_0x69d047),N(this,_0x5b9b80(0x324),null),(this[_0x5b9b80(0x215)]=_0x2bc801,this['type']=_0x3edfc2);}[_0x228894(0x2d3)](_0x2d7a4d){var _0x52ee57=_0x228894;this[_0x52ee57(0x324)]=_0x2d7a4d;}['dispose'](){var _0x23b2d7=_0x228894;this[_0x23b2d7(0x324)]=null,super[_0x23b2d7(0x23b)]();}[_0x228894(0x264)](){var _0x31d00b=_0x228894;const _0x2abac1=super[_0x31d00b(0x264)]();return _0x2abac1[_0x31d00b(0x3be)]=_0x462397=>{var _0x7f8199=_0x31d00b,_0x206364,_0xfc7925;return(_0xfc7925=(_0x206364=this[_0x7f8199(0x324)])==null?void 0x0:_0x206364['onTransformIME'])==null?void 0x0:_0xfc7925[_0x7f8199(0x17a)](_0x206364,_0x462397);},_0x2abac1['onTransformState']=_0x58d1ff=>{var _0x3aaf61=_0x31d00b,_0xd06b99,_0x369b7b;return(_0x369b7b=(_0xd06b99=this['_handlerCallback'])==null?void 0x0:_0xd06b99[_0x3aaf61(0x239)])==null?void 0x0:_0x369b7b[_0x3aaf61(0x17a)](_0xd06b99,_0x58d1ff);},_0x2abac1[_0x31d00b(0x1a7)]=_0x579171=>{var _0x39c97d=_0x31d00b,_0x582e4c,_0x55f02a;return(_0x55f02a=(_0x582e4c=this[_0x39c97d(0x324)])==null?void 0x0:_0x582e4c[_0x39c97d(0x1a7)])==null?void 0x0:_0x55f02a[_0x39c97d(0x17a)](_0x582e4c,_0x579171);},_0x2abac1['onSyncEditingCollabCursor']=_0x5472a9=>{var _0x41a939=_0x31d00b,_0x39024d,_0x4e9c16;return(_0x4e9c16=(_0x39024d=this[_0x41a939(0x324)])==null?void 0x0:_0x39024d[_0x41a939(0x26b)])==null?void 0x0:_0x4e9c16[_0x41a939(0x17a)](_0x39024d,_0x5472a9);},_0x2abac1[_0x31d00b(0x25a)]=_0x70a0c7=>{var _0x1ef51c=_0x31d00b,_0x461884,_0x2539d8,_0x5ba6bc;if(!((_0x461884=this[_0x1ef51c(0x324)])!=null&&_0x461884[_0x1ef51c(0x25a)]))throw new Error(_0x1ef51c(0x405));return(_0x5ba6bc=(_0x2539d8=this['_handlerCallback'])==null?void 0x0:_0x2539d8[_0x1ef51c(0x25a)])==null?void 0x0:_0x5ba6bc[_0x1ef51c(0x17a)](_0x2539d8,_0x70a0c7);},_0x2abac1[_0x31d00b(0x375)]=_0x3aa947=>{var _0x58830e=_0x31d00b,_0x35dfb4,_0x5ddcfb,_0x5c8257;if(!((_0x35dfb4=this[_0x58830e(0x324)])!=null&&_0x35dfb4[_0x58830e(0x375)]))throw new Error(_0x58830e(0x340));return(_0x5c8257=(_0x5ddcfb=this[_0x58830e(0x324)])==null?void 0x0:_0x5ddcfb[_0x58830e(0x375)])==null?void 0x0:_0x5c8257[_0x58830e(0x17a)](_0x5ddcfb,_0x3aa947);},_0x2abac1;}async[_0x228894(0x1dc)](){var _0x42d031=_0x228894;const _0x32d83c=await super[_0x42d031(0x1dc)]();return this[_0x42d031(0x22a)](this[_0x42d031(0x2ed)]['onCommandExecuted']((_0x2f717e,_0x34e2b9)=>{var _0x738a82=_0x42d031;if(_0x2f717e['type']!==_0x2ffda7['MUTATION']||_0x34e2b9!=null&&_0x34e2b9[_0x738a82(0x2ab)]||_0x34e2b9!=null&&_0x34e2b9[_0x738a82(0x26f)]||_0x2f717e['id']===_0x43f4f3['id'])return;const _0x93f1cc=_0x2f717e[_0x738a82(0x2e9)];if((_0x93f1cc==null?void 0x0:_0x93f1cc[_0x738a82(0x283)])!==this[_0x738a82(0x215)])return;const _0x1dc731=_0x2f717e,_0x3671c1=this[_0x738a82(0x349)][_0x738a82(0x37d)][_0x738a82(0x3b2)](this['_compressMutationService']['interceptor'][_0x738a82(0x3c7)]()[_0x738a82(0x151)])([_0x1dc731],null)||[_0x1dc731];this[_0x738a82(0x183)](_0x3671c1[0x0]);})),_0x32d83c;}};It=xt([H(0x3,_0x7e1ee1(_0xa32491)),H(0x4,_0x7e1ee1(_0x48f8e4)),H(0x5,_0x7e1ee1(_0x421b51)),H(0x6,_0x7e1ee1(_0x34da5f)),H(0x7,_0x7e1ee1(pe)),H(0x8,_0x3cc2bd),H(0x9,_0x50ec3e),H(0xa,_0x18d44c),H(0xb,_0x1d58e6(ht)),H(0xc,_0x1d58e6(J))],It);let Tt=class extends rt{constructor(_0x58bfa7,_0x73cc1a,_0x439f5d,_0x420ace,_0x22c82e,_0x156e93,_0x494c2d,_0x422f30,_0x4f2eed,_0x5c53d6,_0x5b3b59,_0x43040e,_0x476b24,_0x3cee3e){var _0x43d503=_0x228894;super(_0x58bfa7,_0x439f5d,_0x73cc1a,_0x420ace,_0x22c82e,_0x156e93,_0x494c2d,_0x4f2eed,_0x5c53d6,_0x5b3b59,_0x43040e,_0x476b24,_0x3cee3e),this['unitID']=_0x58bfa7,this[_0x43d503(0x2bf)]=_0x73cc1a,this[_0x43d503(0x166)]=_0x422f30;}[_0x228894(0x264)](){var _0x4c6160=_0x228894;const _0x339e2e=super[_0x4c6160(0x264)]();return _0x339e2e[_0x4c6160(0x1a7)]=_0x65c757=>this[_0x4c6160(0x166)]['transformSelections'](_0x65c757),_0x339e2e;}async[_0x228894(0x1dc)](){var _0x25c5f1=_0x228894;const _0x554c74=await super['_init']();return this[_0x25c5f1(0x22a)](this[_0x25c5f1(0x2ed)][_0x25c5f1(0x33f)]((_0x5bd38b,_0x28e506)=>{var _0x2f0dfd=_0x25c5f1;if(_0x5bd38b[_0x2f0dfd(0x2bf)]!==_0x2ffda7[_0x2f0dfd(0x14b)]||_0x28e506!=null&&_0x28e506[_0x2f0dfd(0x2ab)]||_0x28e506!=null&&_0x28e506['onlyLocal'])return;const _0x547c13=_0x5bd38b[_0x2f0dfd(0x2e9)];if((_0x547c13==null?void 0x0:_0x547c13[_0x2f0dfd(0x283)])!==this[_0x2f0dfd(0x215)])return;const _0x1e3968=_0x5bd38b,_0x1e2b94=this[_0x2f0dfd(0x349)][_0x2f0dfd(0x37d)][_0x2f0dfd(0x3b2)](this[_0x2f0dfd(0x349)][_0x2f0dfd(0x37d)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x1e3968],null)||[_0x1e3968];this[_0x2f0dfd(0x183)](_0x1e2b94[0x0]);})),_0x554c74;}};Tt=xt([H(0x3,_0x7e1ee1(_0xa32491)),H(0x4,_0x7e1ee1(_0x48f8e4)),H(0x5,_0x7e1ee1(_0x421b51)),H(0x6,_0x7e1ee1(_0x34da5f)),H(0x7,_0x7e1ee1(it)),H(0x8,_0x7e1ee1(pe)),H(0x9,_0x3cc2bd),H(0xa,_0x50ec3e),H(0xb,_0x18d44c),H(0xc,_0x1d58e6(ht)),H(0xd,_0x1d58e6(J))],Tt);var cn=Object[_0x228894(0x20c)],hn=(_0x2dce3b,_0x4e780f,_0x35a531,_0x3c7fa6)=>{var _0x56920b=_0x228894;for(var _0xb48cda=_0x3c7fa6>0x1?void 0x0:_0x3c7fa6?cn(_0x4e780f,_0x35a531):_0x4e780f,_0x8cfb4b=_0x2dce3b[_0x56920b(0x1d8)]-0x1,_0x16a6eb;_0x8cfb4b>=0x0;_0x8cfb4b--)(_0x16a6eb=_0x2dce3b[_0x8cfb4b])&&(_0xb48cda=_0x16a6eb(_0xb48cda)||_0xb48cda);return _0xb48cda;},ft=(_0x1aea46,_0x4563b8)=>(_0x44350a,_0x3dfacc)=>_0x4563b8(_0x44350a,_0x3dfacc,_0x1aea46);let nt=class extends _0x4d64f7{constructor(_0x1fd110,_0x376c63,_0x551f80){var _0x57835b=_0x228894;super(),N(this,_0x57835b(0x259),new Map()),N(this,_0x57835b(0x2d4),new _0xe00b19()),N(this,_0x57835b(0x2ea),this[_0x57835b(0x2d4)][_0x57835b(0x2ca)]()),(this[_0x57835b(0x165)]=_0x1fd110,this[_0x57835b(0x284)]=_0x376c63,this['_univerInstanceService']=_0x551f80,this['_init']());}['dispose'](){var _0x44b8b9=_0x228894;super[_0x44b8b9(0x23b)](),this[_0x44b8b9(0x259)][_0x44b8b9(0x3b6)](_0x54f601=>_0x54f601[_0x44b8b9(0x23b)]()),this[_0x44b8b9(0x259)][_0x44b8b9(0x2f0)]();}[_0x228894(0x28e)](_0x498e7e){var _0x39e084=_0x228894,_0x130d07;return(_0x130d07=this[_0x39e084(0x259)]['get'](_0x498e7e))!=null?_0x130d07:null;}['getCollabEntity$'](_0xa5c530){var _0x45b32c=_0x228894;const _0x3cfb8d=this[_0x45b32c(0x28e)](_0xa5c530);return _0x3cfb8d?_0x5bf531(_0x3cfb8d):this['_entityInit$'][_0x45b32c(0x3a7)](_0x28db24(_0x206744=>_0x206744['unitID']===_0xa5c530));}[_0x228894(0x1e6)](_0x23e403){var _0x335f31=_0x228894;return _0x1a1add(this[_0x335f31(0x218)](_0x23e403)[_0x335f31(0x3a7)](_0x54f33d(()=>{})));}[_0x228894(0x1dc)](){var _0x270f8f=_0x228894;this[_0x270f8f(0x41d)][_0x270f8f(0x1e3)](_0x6cb10f['UNIVER_SHEET'])[_0x270f8f(0x3a7)](_0x3c9bb5(this[_0x270f8f(0x174)]),_0x2c3f4d(0x10))[_0x270f8f(0x24e)](async _0x144b13=>{var _0x1adf1f=_0x270f8f;const _0x409f84=_0x144b13[_0x1adf1f(0x2aa)](),_0x48a160=await this[_0x1adf1f(0x3d2)](_0x409f84,Q[_0x1adf1f(0x24c)]);this[_0x1adf1f(0x259)][_0x1adf1f(0x21b)](_0x409f84,_0x48a160);}),this[_0x270f8f(0x41d)]['getTypeOfUnitAdded$'](_0x6cb10f[_0x270f8f(0x273)])[_0x270f8f(0x3a7)](_0x3c9bb5(this['dispose$']),_0x2c3f4d(0x10))[_0x270f8f(0x3a7)](_0x28db24(_0x3e0915=>!_0x3e0915[_0x270f8f(0x2aa)]()[_0x270f8f(0x1df)]('__')))[_0x270f8f(0x24e)](async _0x1cfb3b=>{var _0x190796=_0x270f8f;const _0x4c7d57=_0x1cfb3b[_0x190796(0x2aa)](),_0x163ae3=await this[_0x190796(0x3d2)](_0x4c7d57,Q['UNIVER_DOC']);this[_0x190796(0x259)]['set'](_0x4c7d57,_0x163ae3);}),_0x5bc9c1(this[_0x270f8f(0x41d)][_0x270f8f(0x2b3)](_0x6cb10f[_0x270f8f(0x24c)]),this[_0x270f8f(0x41d)][_0x270f8f(0x2b3)](_0x6cb10f['UNIVER_DOC']))[_0x270f8f(0x3a7)](_0x3c9bb5(this[_0x270f8f(0x174)]))['subscribe'](_0x508deb=>{var _0x1d7b2c=_0x270f8f;const _0x1bdd58=_0x508deb[_0x1d7b2c(0x2aa)](),_0x6837ed=this['_entities'][_0x1d7b2c(0x42d)](_0x1bdd58);_0x6837ed&&(_0x6837ed[_0x1d7b2c(0x23b)](),this['_entities'][_0x1d7b2c(0x329)](_0x1bdd58));});}async[_0x228894(0x3d2)](_0xbc4481,_0x24a9ee){var _0x49b4cb=_0x228894;const _0x35199d=await this[_0x49b4cb(0x284)]['requireSession'](_0xbc4481),_0x120e78=this[_0x49b4cb(0x165)][_0x49b4cb(0x158)](this[_0x49b4cb(0x197)](_0x24a9ee),_0xbc4481,_0x24a9ee,_0x35199d);return await _0x120e78[_0x49b4cb(0x1b2)](),this[_0x49b4cb(0x2d4)]['next'](_0x120e78),_0x120e78;}[_0x228894(0x197)](_0x32fa46){var _0x37c162=_0x228894;switch(_0x32fa46){case Q[_0x37c162(0x273)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x37c162(0x297)+_0x32fa46);}}};nt=hn([ft(0x0,_0x7e1ee1(_0xa32491)),ft(0x1,_0x7e1ee1(Le)),ft(0x2,_0xffe073)],nt);var _n=Object[_0x228894(0x20c)],ln=(_0x2eb224,_0x5ed6af,_0x2d6142,_0x54c931)=>{var _0x2f243b=_0x228894;for(var _0x3d04aa=_0x54c931>0x1?void 0x0:_0x54c931?_n(_0x5ed6af,_0x2d6142):_0x5ed6af,_0x3453ea=_0x2eb224[_0x2f243b(0x1d8)]-0x1,_0x59874c;_0x3453ea>=0x0;_0x3453ea--)(_0x59874c=_0x2eb224[_0x3453ea])&&(_0x3d04aa=_0x59874c(_0x3d04aa)||_0x3d04aa);return _0x3d04aa;},zt=(_0x55e4d2,_0x36d6d2)=>(_0x577646,_0x343bed)=>_0x36d6d2(_0x577646,_0x343bed,_0x55e4d2);const un=_0x228894(0x214),dn='Univer';function _0x326f(_0x1f36c0,_0x48818f){var _0x28449f=_0x2844();return _0x326f=function(_0x326f35,_0x50249c){_0x326f35=_0x326f35-0x12a;var _0x5e17ef=_0x28449f[_0x326f35];return _0x5e17ef;},_0x326f(_0x1f36c0,_0x48818f);}let Ct=class extends _0x5c5031{constructor(_0x1f4260,_0x17fba3){var _0x5acae7=_0x228894;super(),this[_0x5acae7(0x41d)]=_0x1f4260,this[_0x5acae7(0x36d)]=_0x17fba3,this[_0x5acae7(0x1dc)]();}[_0x228894(0x1dc)](){var _0x44d0dd=_0x228894;this[_0x44d0dd(0x22a)](this[_0x44d0dd(0x41d)][_0x44d0dd(0x3ba)][_0x44d0dd(0x24e)](()=>{var _0x5855b8=_0x44d0dd,_0x594378;const _0x282264=this[_0x5855b8(0x41d)][_0x5855b8(0x247)]();let _0x53487d=(_0x594378=this[_0x5855b8(0x36d)][_0x5855b8(0x429)](un))!=null?_0x594378:dn;_0x282264 instanceof _0xd202b5&&(_0x53487d=_0x282264[_0x5855b8(0x42e)]),document[_0x5855b8(0x40b)]=_0x53487d;}));}};Ct=ln([zt(0x0,_0xffe073),zt(0x1,_0x7ee467)],Ct);var fn=Object[_0x228894(0x20c)],vn=(_0x5dc591,_0x384a4f,_0x30220a,_0x72f19)=>{var _0x3737f0=_0x228894;for(var _0x2124a0=_0x72f19>0x1?void 0x0:_0x72f19?fn(_0x384a4f,_0x30220a):_0x384a4f,_0x163a93=_0x5dc591[_0x3737f0(0x1d8)]-0x1,_0x27deb5;_0x163a93>=0x0;_0x163a93--)(_0x27deb5=_0x5dc591[_0x163a93])&&(_0x2124a0=_0x27deb5(_0x2124a0)||_0x2124a0);return _0x2124a0;},vt=(_0x59dc2d,_0xa2bf4c)=>(_0x1a23eb,_0x1caaab)=>_0xa2bf4c(_0x1a23eb,_0x1caaab,_0x59dc2d);let st=class{constructor(_0x506cad,_0x1d4e2a,_0x5a672c){var _0x25a850=_0x228894;this['_configService']=_0x506cad,this['_httpService']=_0x1d4e2a,this[_0x25a850(0x36f)]=_0x5a672c,this[_0x25a850(0x1b2)]();}['init'](){var _0x558466=_0x228894;this[_0x558466(0x2ef)][_0x558466(0x1b5)]({'priority':0x1,'interceptor':(_0x1a4e4f,_0x51c119)=>_0x51c119(_0x1a4e4f)[_0x558466(0x3a7)](_0x32d840(async _0x13f80f=>{var _0x33a183=_0x558466;const _0x3909e8=_0x13f80f;if(_0x3909e8[_0x33a183(0x159)]===0x191){if(typeof window>'u')throw new Error(_0x33a183(0x317));if(window['confirm'](this[_0x33a183(0x36f)]['t']('auth.needGotoLoginAlert'))){const _0x4ff588=window[_0x33a183(0x3fd)](window[_0x33a183(0x3b5)][_0x33a183(0x20d)]);window[_0x33a183(0x3b5)][_0x33a183(0x20d)]=this[_0x33a183(0x372)]()+_0x33a183(0x2e0)+_0x4ff588;}}return _0x3909e8;}))});}[_0x228894(0x372)](){var _0x4e3f49=_0x228894,_0x43486e,_0x1857fe;const _0x155326=this[_0x4e3f49(0x36d)][_0x4e3f49(0x429)](Ur),_0x281a3e=this[_0x4e3f49(0x36d)][_0x4e3f49(0x429)](q);return(_0x1857fe=(_0x43486e=_0x281a3e==null?void 0x0:_0x281a3e[_0x4e3f49(0x147)])!=null?_0x43486e:_0x155326)!=null?_0x1857fe:wr;}};st=vn([vt(0x0,_0x7ee467),vt(0x1,_0x7e1ee1(_0x5daba1)),vt(0x2,_0x7e1ee1(_0x421b51))],st);var pn=Object[_0x228894(0x20c)],mn=(_0xbe4338,_0x4231a2,_0x21687a,_0x4a393b)=>{var _0x5aba17=_0x228894;for(var _0x3e1b6e=_0x4a393b>0x1?void 0x0:_0x4a393b?pn(_0x4231a2,_0x21687a):_0x4231a2,_0x530564=_0xbe4338[_0x5aba17(0x1d8)]-0x1,_0x2a7b60;_0x530564>=0x0;_0x530564--)(_0x2a7b60=_0xbe4338[_0x530564])&&(_0x3e1b6e=_0x2a7b60(_0x3e1b6e)||_0x3e1b6e);return _0x3e1b6e;},Jt=(_0x1469b7,_0x441d7f)=>(_0x152e84,_0x5fc20b)=>_0x441d7f(_0x152e84,_0x5fc20b,_0x1469b7);const Ni=_0x228894(0x337),gn=_0x228894(0x12f);let Rt=class extends _0x5c5031{constructor(_0x5df24c,_0x2d0c8f){var _0x286f70=_0x228894;super(),this[_0x286f70(0x17f)]=_0x5df24c,this[_0x286f70(0x36d)]=_0x2d0c8f,this[_0x286f70(0x16a)]();}['_initMergeInterceptor'](){var _0x47bfb2=_0x228894;const _0x1b4b87=this;this[_0x47bfb2(0x22a)](this[_0x47bfb2(0x17f)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x305ef5({'isMatch'(_0x511c48){var _0x57248b=_0x47bfb2,_0x177b07;if(_0x511c48[_0x57248b(0x1fc)]===_0x57248b(0x29f)&&((_0x177b07=_0x511c48[_0x57248b(0x391)])!=null&&_0x177b07[_0x57248b(0x2cc)])){const {objectID:_0x3353e5,objectType:_0x2e0cdc}=_0x511c48[_0x57248b(0x391)]['body']||{};if(!_0x3353e5||_0x2e0cdc===void 0x0)return!0x1;const _0x496cbf=_0x1b4b87['_getAPIPrefixPath']()+'/'+_0x2e0cdc+'/object/'+_0x3353e5+_0x57248b(0x173);if(_0x511c48['url']===_0x496cbf)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5c59a3){var _0x32acb1=_0x47bfb2,_0x461021;return(_0x461021=_0x5c59a3[_0x32acb1(0x391)])==null?void 0x0:_0x461021[_0x32acb1(0x2cc)];},'mergeParamsToRequest'(_0x29b4b7,_0x4e9fce){var _0x30b270=_0x47bfb2;const _0x5bed06=_0x1b4b87['_getAPIPrefixPath']()+_0x30b270(0x21f),_0x42189b=_0x29b4b7['reduce']((_0xcb8fbe,_0x3a94ed)=>{var _0x213e42=_0x30b270;const {unitID:_0x292b74,objectID:_0x263c64,objectType:_0xcbcabd,actions:_0x319db8}=_0x3a94ed;return _0xcb8fbe[_0x292b74]||(_0xcb8fbe[_0x292b74]={}),_0xcb8fbe[_0x292b74][_0x263c64]||(_0xcb8fbe[_0x292b74][_0x263c64]={'objectID':_0x263c64,'objectType':_0xcbcabd,'actions':[]}),_0xcb8fbe[_0x292b74][_0x263c64][_0x213e42(0x237)][_0x213e42(0x403)](..._0x319db8),_0xcb8fbe;},{}),_0x40c3b7=[];for(const _0x11ff49 in _0x42189b)for(const _0x33a584 in _0x42189b[_0x11ff49]){const {actions:_0x2329b7,objectType:_0x2c02bc}=_0x42189b[_0x11ff49][_0x33a584],_0x1ff694=[...new Set(_0x2329b7)];_0x40c3b7[_0x30b270(0x403)]({'unitID':_0x11ff49,'objectID':_0x33a584,'objectType':_0x2c02bc,'actions':_0x1ff694});}return new _0x417fa3(_0x30b270(0x29f),_0x5bed06,{'headers':_0x4e9fce['headers'],'withCredentials':_0x4e9fce[_0x30b270(0x216)],'responseType':_0x4e9fce[_0x30b270(0x2e5)],'body':{'requests':_0x40c3b7}});}},{'distributeResult'(_0x213cf9,_0x10fb7b){var _0x3e69a0=_0x47bfb2;const {objectActions:_0x33ee8b}=_0x213cf9;return _0x10fb7b[_0x3e69a0(0x265)](_0x54f5f0=>{var _0x33f33a=_0x3e69a0;const {unitID:_0x46cd2f,objectID:_0xe85c46,actions:_0x53aad0}=_0x54f5f0,_0x50a60c=_0x33ee8b[_0x33f33a(0x244)](_0x1eb4db=>_0x1eb4db['unitID']===_0x46cd2f&&_0x1eb4db[_0x33f33a(0x351)]===_0xe85c46),_0x5daad1=_0x53aad0[_0x33f33a(0x265)](_0x193c98=>_0x50a60c==null?void 0x0:_0x50a60c['actions'][_0x33f33a(0x244)](_0x4b4bf5=>_0x4b4bf5[_0x33f33a(0x145)]===_0x193c98))[_0x33f33a(0x200)](_0x3a5218=>!!_0x3a5218);return{'config':_0x54f5f0,'result':{'actions':_0x5daad1,'error':_0x213cf9[_0x33f33a(0x16d)]}};});}})}));}['_getAPIPrefixPath'](){var _0x18038f=_0x228894,_0x58c0a2,_0x2fd2e7;const _0x1ec777=this[_0x18038f(0x36d)][_0x18038f(0x429)](Ni),_0x5305b9=this[_0x18038f(0x36d)][_0x18038f(0x429)](q);return(_0x2fd2e7=(_0x58c0a2=_0x5305b9==null?void 0x0:_0x5305b9[_0x18038f(0x255)])!=null?_0x58c0a2:_0x1ec777)!=null?_0x2fd2e7:gn;}async[_0x228894(0x1a4)](_0x3010e6){var _0x354b0e=_0x228894;const _0x35ae57=this[_0x354b0e(0x25d)]()+'/'+_0x3010e6['objectType']+_0x354b0e(0x27f);return(await this[_0x354b0e(0x17f)][_0x354b0e(0x1c8)](_0x35ae57,{'body':_0x3010e6}))[_0x354b0e(0x2cc)][_0x354b0e(0x351)]||'';}async[_0x228894(0x39f)](_0x3ed773){var _0x5b8454=_0x228894;const _0x4ece7=this[_0x5b8454(0x25d)]()+_0x5b8454(0x221);return(await this[_0x5b8454(0x17f)][_0x5b8454(0x1c8)](_0x4ece7,{'body':_0x3ed773}))[_0x5b8454(0x2cc)][_0x5b8454(0x1d6)];}async['update'](_0x19f4ce){var _0x550eea=_0x228894;const _0x18440f=this[_0x550eea(0x25d)]()+'/'+_0x19f4ce[_0x550eea(0x193)]+_0x550eea(0x3f3)+_0x19f4ce[_0x550eea(0x351)];await this[_0x550eea(0x17f)][_0x550eea(0x27e)](_0x18440f,{'body':_0x19f4ce});}async[_0x228894(0x3b7)](_0xf7d4a0){var _0x1516e7=_0x228894;const _0x53b9e0=this[_0x1516e7(0x25d)]()+'/'+_0xf7d4a0['objectType']+_0x1516e7(0x3f3)+_0xf7d4a0[_0x1516e7(0x351)]+_0x1516e7(0x173);return(await this['_HTTPService'][_0x1516e7(0x1c8)](_0x53b9e0,{'body':_0xf7d4a0}))[_0x1516e7(0x2cc)]['actions'];}async[_0x228894(0x33b)](_0x1743d){var _0x28ec53=_0x228894;const _0x2d5cc1=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x28ec53(0x17f)][_0x28ec53(0x1c8)](_0x2d5cc1,{'body':{'requests':_0x1743d}}))['body'][_0x28ec53(0x29a)];}async[_0x228894(0x187)](_0x2d225a){var _0xd8c771=_0x228894;const _0x38f56f=this[_0xd8c771(0x25d)]()+'/'+_0x2d225a[_0xd8c771(0x193)]+'/role',_0x27ef53=await this[_0xd8c771(0x17f)][_0xd8c771(0x1c8)](_0x38f56f,{'body':_0x2d225a});return{'roles':_0x27ef53[_0xd8c771(0x2cc)][_0xd8c771(0x133)],'actions':_0x27ef53[_0xd8c771(0x2cc)][_0xd8c771(0x237)]};}async[_0x228894(0x384)](_0x28534f){var _0x39e1fd=_0x228894;const _0x5deac0=this[_0x39e1fd(0x25d)]()+_0x39e1fd(0x17e);await this[_0x39e1fd(0x17f)]['delete'](_0x5deac0,{'params':{'collaboratorID':_0x28534f[_0x39e1fd(0x37a)],'objectID':_0x28534f['objectID'],'unitID':_0x28534f[_0x39e1fd(0x215)]}});}async['updateCollaborator'](_0x588118){var _0x5dc088=_0x228894;const _0x36f4b0=this['_getAPIPrefixPath']()+_0x5dc088(0x17e);await this['_HTTPService'][_0x5dc088(0x355)](_0x36f4b0,{'body':_0x588118});}async['createCollaborator'](_0x229ff7){var _0x3c939e=_0x228894;const _0x6ce48b=this[_0x3c939e(0x25d)]()+_0x3c939e(0x17e);await this['_HTTPService'][_0x3c939e(0x1c8)](_0x6ce48b,{'body':_0x229ff7});}async[_0x228894(0x421)](_0x66458a){var _0x5e045c=_0x228894;const _0x195a11=this[_0x5e045c(0x25d)]()+_0x5e045c(0x17e);return(await this[_0x5e045c(0x17f)]['get'](_0x195a11,{'params':{'objectID':_0x66458a[_0x5e045c(0x351)],'unitID':_0x66458a[_0x5e045c(0x215)]}}))[_0x5e045c(0x2cc)][_0x5e045c(0x39e)];}async[_0x228894(0x33d)](_0x23a7d1){var _0x28bbfa=_0x228894;const _0x2a86cd=this[_0x28bbfa(0x25d)]()+_0x28bbfa(0x17e);await this[_0x28bbfa(0x17f)][_0x28bbfa(0x27e)](_0x2a86cd,{'body':_0x23a7d1});}};Rt=mn([Jt(0x0,_0x7e1ee1(_0x5daba1)),Jt(0x1,_0x7e1ee1(_0x7ee467))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x246225){var _0x35a65f=_0x228894;return _0x246225&&_0x246225[_0x35a65f(0x2f1)]&&Object[_0x35a65f(0x14d)][_0x35a65f(0x3d1)][_0x35a65f(0x17a)](_0x246225,_0x35a65f(0x213))?_0x246225[_0x35a65f(0x213)]:_0x246225;}var Ve={'exports':{}};function Sn(_0x2ae937){var _0x280f49=_0x228894;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2ae937+_0x280f49(0x154));}var Ge={'exports':{}},En=Ge[_0x228894(0x3db)],Xt;function ie(){var _0x52a505=_0x228894;return Xt||(Xt=0x1,function(_0x53a8b9,_0xd1c831){(function(_0x43a2ac,_0x5ac749){_0x53a8b9['exports']=_0x5ac749();}(En,function(){var _0x48d8af=_0x48d8af||function(_0x55ceb2,_0x3b30a5){var _0x20f916=_0x326f,_0x1df636;if(typeof window<'u'&&window['crypto']&&(_0x1df636=window[_0x20f916(0x1b7)]),typeof self<'u'&&self[_0x20f916(0x1b7)]&&(_0x1df636=self[_0x20f916(0x1b7)]),typeof globalThis<'u'&&globalThis[_0x20f916(0x1b7)]&&(_0x1df636=globalThis['crypto']),!_0x1df636&&typeof window<'u'&&window[_0x20f916(0x1bd)]&&(_0x1df636=window[_0x20f916(0x1bd)]),!_0x1df636&&typeof pt<'u'&&pt[_0x20f916(0x1b7)]&&(_0x1df636=pt[_0x20f916(0x1b7)]),!_0x1df636&&typeof Sn=='function')try{_0x1df636=require('crypto');}catch{}var _0x57b98f=function(){var _0x52df32=_0x20f916;if(_0x1df636){if(typeof _0x1df636['getRandomValues']=='function')try{return _0x1df636['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1df636['randomBytes']=='function')try{return _0x1df636[_0x52df32(0x182)](0x4)[_0x52df32(0x1e4)]();}catch{}}throw new Error(_0x52df32(0x2c5));},_0x2e430b=Object[_0x20f916(0x1a4)]||(function(){function _0xa9e08(){}return function(_0x518abc){var _0x5e0782=_0x326f,_0x4c1f46;return _0xa9e08[_0x5e0782(0x14d)]=_0x518abc,_0x4c1f46=new _0xa9e08(),_0xa9e08[_0x5e0782(0x14d)]=null,_0x4c1f46;};}()),_0x5e1fe0={},_0x1391fe=_0x5e1fe0[_0x20f916(0x424)]={},_0x4b4f14=_0x1391fe[_0x20f916(0x304)]=(function(){return{'extend':function(_0x11194e){var _0x183104=_0x326f,_0x498b1d=_0x2e430b(this);return _0x11194e&&_0x498b1d[_0x183104(0x19c)](_0x11194e),(!_0x498b1d[_0x183104(0x3d1)](_0x183104(0x1b2))||this[_0x183104(0x1b2)]===_0x498b1d[_0x183104(0x1b2)])&&(_0x498b1d[_0x183104(0x1b2)]=function(){var _0x1c8648=_0x183104;_0x498b1d['$super'][_0x1c8648(0x1b2)][_0x1c8648(0x1d1)](this,arguments);}),_0x498b1d[_0x183104(0x1b2)][_0x183104(0x14d)]=_0x498b1d,_0x498b1d[_0x183104(0x20a)]=this,_0x498b1d;},'create':function(){var _0x1a3f15=_0x326f,_0x11480e=this[_0x1a3f15(0x2ec)]();return _0x11480e[_0x1a3f15(0x1b2)][_0x1a3f15(0x1d1)](_0x11480e,arguments),_0x11480e;},'init':function(){},'mixIn':function(_0x13e76a){var _0x12cdd0=_0x326f;for(var _0x4d7315 in _0x13e76a)_0x13e76a[_0x12cdd0(0x3d1)](_0x4d7315)&&(this[_0x4d7315]=_0x13e76a[_0x4d7315]);_0x13e76a[_0x12cdd0(0x3d1)](_0x12cdd0(0x39c))&&(this[_0x12cdd0(0x39c)]=_0x13e76a[_0x12cdd0(0x39c)]);},'clone':function(){var _0x2b36bb=_0x326f;return this[_0x2b36bb(0x1b2)][_0x2b36bb(0x14d)]['extend'](this);}};}()),_0x2552e8=_0x1391fe[_0x20f916(0x1cb)]=_0x4b4f14['extend']({'init':function(_0x3030f3,_0x4197a2){var _0x4cee48=_0x20f916;_0x3030f3=this[_0x4cee48(0x177)]=_0x3030f3||[],_0x4197a2!=_0x3b30a5?this[_0x4cee48(0x266)]=_0x4197a2:this[_0x4cee48(0x266)]=_0x3030f3['length']*0x4;},'toString':function(_0x29e5ac){var _0x507a77=_0x20f916;return(_0x29e5ac||_0x579dc7)[_0x507a77(0x26d)](this);},'concat':function(_0x9f4f94){var _0x14cf3c=_0x20f916,_0x4a61fb=this['words'],_0x519e89=_0x9f4f94['words'],_0x51d8c5=this[_0x14cf3c(0x266)],_0x1b1b5c=_0x9f4f94[_0x14cf3c(0x266)];if(this[_0x14cf3c(0x2e1)](),_0x51d8c5%0x4)for(var _0x1ccad6=0x0;_0x1ccad6<_0x1b1b5c;_0x1ccad6++){var _0x30beb2=_0x519e89[_0x1ccad6>>>0x2]>>>0x18-_0x1ccad6%0x4*0x8&0xff;_0x4a61fb[_0x51d8c5+_0x1ccad6>>>0x2]|=_0x30beb2<<0x18-(_0x51d8c5+_0x1ccad6)%0x4*0x8;}else{for(var _0x15fc6a=0x0;_0x15fc6a<_0x1b1b5c;_0x15fc6a+=0x4)_0x4a61fb[_0x51d8c5+_0x15fc6a>>>0x2]=_0x519e89[_0x15fc6a>>>0x2];}return this[_0x14cf3c(0x266)]+=_0x1b1b5c,this;},'clamp':function(){var _0x11c836=_0x20f916,_0x1aa5ab=this[_0x11c836(0x177)],_0x298148=this[_0x11c836(0x266)];_0x1aa5ab[_0x298148>>>0x2]&=0xffffffff<<0x20-_0x298148%0x4*0x8,_0x1aa5ab[_0x11c836(0x1d8)]=_0x55ceb2[_0x11c836(0x15e)](_0x298148/0x4);},'clone':function(){var _0x7a7dc5=_0x20f916,_0x4ffa77=_0x4b4f14[_0x7a7dc5(0x399)][_0x7a7dc5(0x17a)](this);return _0x4ffa77[_0x7a7dc5(0x177)]=this[_0x7a7dc5(0x177)][_0x7a7dc5(0x171)](0x0),_0x4ffa77;},'random':function(_0x1051ab){var _0x1a7e0a=_0x20f916;for(var _0x2be580=[],_0x45c7e8=0x0;_0x45c7e8<_0x1051ab;_0x45c7e8+=0x4)_0x2be580['push'](_0x57b98f());return new _0x2552e8[(_0x1a7e0a(0x1b2))](_0x2be580,_0x1051ab);}}),_0x281d18=_0x5e1fe0['enc']={},_0x579dc7=_0x281d18[_0x20f916(0x2c1)]={'stringify':function(_0x1f6c93){var _0x201e63=_0x20f916;for(var _0x465d0d=_0x1f6c93[_0x201e63(0x177)],_0x17acfe=_0x1f6c93[_0x201e63(0x266)],_0x4d4fce=[],_0x21d470=0x0;_0x21d470<_0x17acfe;_0x21d470++){var _0x1d2f87=_0x465d0d[_0x21d470>>>0x2]>>>0x18-_0x21d470%0x4*0x8&0xff;_0x4d4fce[_0x201e63(0x403)]((_0x1d2f87>>>0x4)[_0x201e63(0x39c)](0x10)),_0x4d4fce[_0x201e63(0x403)]((_0x1d2f87&0xf)['toString'](0x10));}return _0x4d4fce[_0x201e63(0x152)]('');},'parse':function(_0x3e7a7d){var _0x45bca3=_0x20f916;for(var _0x522265=_0x3e7a7d[_0x45bca3(0x1d8)],_0x3a0035=[],_0x23edd8=0x0;_0x23edd8<_0x522265;_0x23edd8+=0x2)_0x3a0035[_0x23edd8>>>0x3]|=parseInt(_0x3e7a7d[_0x45bca3(0x3e9)](_0x23edd8,0x2),0x10)<<0x18-_0x23edd8%0x8*0x4;return new _0x2552e8[(_0x45bca3(0x1b2))](_0x3a0035,_0x522265/0x2);}},_0x2060cb=_0x281d18[_0x20f916(0x32c)]={'stringify':function(_0x12e217){var _0x1ae775=_0x20f916;for(var _0x5acae=_0x12e217[_0x1ae775(0x177)],_0x10851d=_0x12e217[_0x1ae775(0x266)],_0xca9e78=[],_0x12de41=0x0;_0x12de41<_0x10851d;_0x12de41++){var _0x49b2f8=_0x5acae[_0x12de41>>>0x2]>>>0x18-_0x12de41%0x4*0x8&0xff;_0xca9e78[_0x1ae775(0x403)](String['fromCharCode'](_0x49b2f8));}return _0xca9e78['join']('');},'parse':function(_0x8fe37b){var _0x21d1fa=_0x20f916;for(var _0x3b2ffc=_0x8fe37b[_0x21d1fa(0x1d8)],_0x238c41=[],_0x147ed2=0x0;_0x147ed2<_0x3b2ffc;_0x147ed2++)_0x238c41[_0x147ed2>>>0x2]|=(_0x8fe37b[_0x21d1fa(0x2eb)](_0x147ed2)&0xff)<<0x18-_0x147ed2%0x4*0x8;return new _0x2552e8[(_0x21d1fa(0x1b2))](_0x238c41,_0x3b2ffc);}},_0x7b5e5c=_0x281d18[_0x20f916(0x3de)]={'stringify':function(_0x3851ff){var _0x1a6a15=_0x20f916;try{return decodeURIComponent(escape(_0x2060cb[_0x1a6a15(0x26d)](_0x3851ff)));}catch{throw new Error(_0x1a6a15(0x2dc));}},'parse':function(_0xb167bc){return _0x2060cb['parse'](unescape(encodeURIComponent(_0xb167bc)));}},_0x245367=_0x1391fe[_0x20f916(0x160)]=_0x4b4f14['extend']({'reset':function(){var _0x3513a5=_0x20f916;this[_0x3513a5(0x24d)]=new _0x2552e8[(_0x3513a5(0x1b2))](),this[_0x3513a5(0x1f1)]=0x0;},'_append':function(_0x75dd15){var _0x48c776=_0x20f916;typeof _0x75dd15==_0x48c776(0x336)&&(_0x75dd15=_0x7b5e5c[_0x48c776(0x3e4)](_0x75dd15)),this[_0x48c776(0x24d)][_0x48c776(0x196)](_0x75dd15),this[_0x48c776(0x1f1)]+=_0x75dd15[_0x48c776(0x266)];},'_process':function(_0x33b2db){var _0x1f5816=_0x20f916,_0x47bfba,_0x5ef937=this[_0x1f5816(0x24d)],_0x2fc510=_0x5ef937[_0x1f5816(0x177)],_0x14c60e=_0x5ef937['sigBytes'],_0x253da8=this[_0x1f5816(0x15d)],_0xf9a996=_0x253da8*0x4,_0x103284=_0x14c60e/_0xf9a996;_0x33b2db?_0x103284=_0x55ceb2['ceil'](_0x103284):_0x103284=_0x55ceb2[_0x1f5816(0x2d8)]((_0x103284|0x0)-this['_minBufferSize'],0x0);var _0x21ef02=_0x103284*_0x253da8,_0x16b2aa=_0x55ceb2[_0x1f5816(0x139)](_0x21ef02*0x4,_0x14c60e);if(_0x21ef02){for(var _0x389861=0x0;_0x389861<_0x21ef02;_0x389861+=_0x253da8)this[_0x1f5816(0x1de)](_0x2fc510,_0x389861);_0x47bfba=_0x2fc510[_0x1f5816(0x332)](0x0,_0x21ef02),_0x5ef937[_0x1f5816(0x266)]-=_0x16b2aa;}return new _0x2552e8[(_0x1f5816(0x1b2))](_0x47bfba,_0x16b2aa);},'clone':function(){var _0x37537e=_0x20f916,_0x510b98=_0x4b4f14[_0x37537e(0x399)][_0x37537e(0x17a)](this);return _0x510b98['_data']=this[_0x37537e(0x24d)]['clone'](),_0x510b98;},'_minBufferSize':0x0});_0x1391fe[_0x20f916(0x320)]=_0x245367[_0x20f916(0x2ec)]({'cfg':_0x4b4f14[_0x20f916(0x2ec)](),'init':function(_0x23be8e){var _0x3672d7=_0x20f916;this[_0x3672d7(0x323)]=this[_0x3672d7(0x323)][_0x3672d7(0x2ec)](_0x23be8e),this[_0x3672d7(0x1d0)]();},'reset':function(){var _0xf7d68f=_0x20f916;_0x245367[_0xf7d68f(0x1d0)][_0xf7d68f(0x17a)](this),this[_0xf7d68f(0x28f)]();},'update':function(_0x1bb349){var _0x5d6361=_0x20f916;return this['_append'](_0x1bb349),this[_0x5d6361(0x28d)](),this;},'finalize':function(_0x4507f5){var _0x56d532=_0x20f916;_0x4507f5&&this['_append'](_0x4507f5);var _0x8a7b32=this[_0x56d532(0x37b)]();return _0x8a7b32;},'blockSize':0x10,'_createHelper':function(_0x28b3b1){return function(_0x4eef02,_0x367d4b){var _0x4d8201=_0x326f;return new _0x28b3b1[(_0x4d8201(0x1b2))](_0x367d4b)[_0x4d8201(0x12a)](_0x4eef02);};},'_createHmacHelper':function(_0x441ebd){return function(_0xf39cff,_0x29b12b){var _0x27c0b2=_0x326f;return new _0x1256f4[(_0x27c0b2(0x36a))]['init'](_0x441ebd,_0x29b12b)[_0x27c0b2(0x12a)](_0xf39cff);};}});var _0x1256f4=_0x5e1fe0[_0x20f916(0x3c3)]={};return _0x5e1fe0;}(Math);return _0x48d8af;}));}(Ge)),Ge[_0x52a505(0x3db)];}var We={'exports':{}},In=We[_0x228894(0x3db)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x274b96,_0x4eb291){(function(_0x1e9dc4,_0xa15356){var _0x27939c=_0x326f;_0x274b96[_0x27939c(0x3db)]=_0xa15356(ie());}(In,function(_0x2aa823){var _0xfee21d=_0x326f;return(function(){var _0x1d3c82=_0x326f,_0x17fa0d=_0x2aa823,_0x5c5774=_0x17fa0d[_0x1d3c82(0x424)],_0x4326f3=_0x5c5774[_0x1d3c82(0x1cb)],_0x4a9174=_0x17fa0d[_0x1d3c82(0x2e3)];_0x4a9174[_0x1d3c82(0x2c3)]={'stringify':function(_0x2b4d84){var _0x3170d2=_0x1d3c82,_0x1a8988=_0x2b4d84[_0x3170d2(0x177)],_0x45bf5e=_0x2b4d84[_0x3170d2(0x266)],_0x39ce97=this[_0x3170d2(0x25c)];_0x2b4d84['clamp']();for(var _0x5ac426=[],_0xe6d532=0x0;_0xe6d532<_0x45bf5e;_0xe6d532+=0x3)for(var _0x29ae55=_0x1a8988[_0xe6d532>>>0x2]>>>0x18-_0xe6d532%0x4*0x8&0xff,_0x414559=_0x1a8988[_0xe6d532+0x1>>>0x2]>>>0x18-(_0xe6d532+0x1)%0x4*0x8&0xff,_0x15ceb9=_0x1a8988[_0xe6d532+0x2>>>0x2]>>>0x18-(_0xe6d532+0x2)%0x4*0x8&0xff,_0x24b8d4=_0x29ae55<<0x10|_0x414559<<0x8|_0x15ceb9,_0x404499=0x0;_0x404499<0x4&&_0xe6d532+_0x404499*0.75<_0x45bf5e;_0x404499++)_0x5ac426['push'](_0x39ce97['charAt'](_0x24b8d4>>>0x6*(0x3-_0x404499)&0x3f));var _0x55347d=_0x39ce97[_0x3170d2(0x327)](0x40);if(_0x55347d){for(;_0x5ac426[_0x3170d2(0x1d8)]%0x4;)_0x5ac426['push'](_0x55347d);}return _0x5ac426[_0x3170d2(0x152)]('');},'parse':function(_0x50afe2){var _0x487a7a=_0x1d3c82,_0x424b0a=_0x50afe2['length'],_0x2711c0=this[_0x487a7a(0x25c)],_0x1996ce=this[_0x487a7a(0x1c2)];if(!_0x1996ce){_0x1996ce=this[_0x487a7a(0x1c2)]=[];for(var _0x193bfc=0x0;_0x193bfc<_0x2711c0['length'];_0x193bfc++)_0x1996ce[_0x2711c0[_0x487a7a(0x2eb)](_0x193bfc)]=_0x193bfc;}var _0x19b6da=_0x2711c0['charAt'](0x40);if(_0x19b6da){var _0x52bde1=_0x50afe2[_0x487a7a(0x31a)](_0x19b6da);_0x52bde1!==-0x1&&(_0x424b0a=_0x52bde1);}return _0x5f24ef(_0x50afe2,_0x424b0a,_0x1996ce);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x5f24ef(_0x2ab63e,_0x50645a,_0x125f7f){var _0x3152d9=_0x1d3c82;for(var _0x2c3320=[],_0x33839f=0x0,_0x1fbb16=0x0;_0x1fbb16<_0x50645a;_0x1fbb16++)if(_0x1fbb16%0x4){var _0x40f62f=_0x125f7f[_0x2ab63e[_0x3152d9(0x2eb)](_0x1fbb16-0x1)]<<_0x1fbb16%0x4*0x2,_0x8138d6=_0x125f7f[_0x2ab63e['charCodeAt'](_0x1fbb16)]>>>0x6-_0x1fbb16%0x4*0x2,_0xfbfd05=_0x40f62f|_0x8138d6;_0x2c3320[_0x33839f>>>0x2]|=_0xfbfd05<<0x18-_0x33839f%0x4*0x8,_0x33839f++;}return _0x4326f3[_0x3152d9(0x1a4)](_0x2c3320,_0x33839f);}}()),_0x2aa823['enc'][_0xfee21d(0x2c3)];}));}(We)),We['exports'];}var Ke={'exports':{}},Tn=Ke[_0x228894(0x3db)],Qt;function Cn(){var _0x24dda6=_0x228894;return Qt||(Qt=0x1,function(_0x5a8a6a,_0x5c2a55){(function(_0x1d89c9,_0x1ef8d6){_0x5a8a6a['exports']=_0x1ef8d6(ie());}(Tn,function(_0xd5c703){var _0x588a45=_0x326f;return function(_0x1ab594){var _0x3ece9c=_0x326f,_0x595f2f=_0xd5c703,_0x40837d=_0x595f2f['lib'],_0x403f34=_0x40837d['WordArray'],_0x480aeb=_0x40837d[_0x3ece9c(0x320)],_0x430a81=_0x595f2f[_0x3ece9c(0x3c3)],_0x5e5093=[];(function(){var _0x2aec3f=_0x3ece9c;for(var _0x122c7a=0x0;_0x122c7a<0x40;_0x122c7a++)_0x5e5093[_0x122c7a]=_0x1ab594[_0x2aec3f(0x19f)](_0x1ab594[_0x2aec3f(0x179)](_0x122c7a+0x1))*0x100000000|0x0;}());var _0x59cda9=_0x430a81[_0x3ece9c(0x1c5)]=_0x480aeb[_0x3ece9c(0x2ec)]({'_doReset':function(){var _0x2088c5=_0x3ece9c;this[_0x2088c5(0x22b)]=new _0x403f34[(_0x2088c5(0x1b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4c7a83,_0x55a0ea){var _0x4a5566=_0x3ece9c;for(var _0x2790fb=0x0;_0x2790fb<0x10;_0x2790fb++){var _0x3c1094=_0x55a0ea+_0x2790fb,_0x255ccf=_0x4c7a83[_0x3c1094];_0x4c7a83[_0x3c1094]=(_0x255ccf<<0x8|_0x255ccf>>>0x18)&0xff00ff|(_0x255ccf<<0x18|_0x255ccf>>>0x8)&0xff00ff00;}var _0x463ba4=this['_hash'][_0x4a5566(0x177)],_0x30c7ef=_0x4c7a83[_0x55a0ea+0x0],_0x1470b9=_0x4c7a83[_0x55a0ea+0x1],_0x33623b=_0x4c7a83[_0x55a0ea+0x2],_0x3699e9=_0x4c7a83[_0x55a0ea+0x3],_0x49d134=_0x4c7a83[_0x55a0ea+0x4],_0x1e2926=_0x4c7a83[_0x55a0ea+0x5],_0x4cbfd6=_0x4c7a83[_0x55a0ea+0x6],_0x189ccd=_0x4c7a83[_0x55a0ea+0x7],_0x2d49c6=_0x4c7a83[_0x55a0ea+0x8],_0xd67503=_0x4c7a83[_0x55a0ea+0x9],_0x52604f=_0x4c7a83[_0x55a0ea+0xa],_0x4d4ed4=_0x4c7a83[_0x55a0ea+0xb],_0x3010ac=_0x4c7a83[_0x55a0ea+0xc],_0x3f50e3=_0x4c7a83[_0x55a0ea+0xd],_0x347771=_0x4c7a83[_0x55a0ea+0xe],_0x11377b=_0x4c7a83[_0x55a0ea+0xf],_0x1c4b1f=_0x463ba4[0x0],_0x1f4057=_0x463ba4[0x1],_0x33867c=_0x463ba4[0x2],_0x333342=_0x463ba4[0x3];_0x1c4b1f=_0x2023a9(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x30c7ef,0x7,_0x5e5093[0x0]),_0x333342=_0x2023a9(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x1470b9,0xc,_0x5e5093[0x1]),_0x33867c=_0x2023a9(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x33623b,0x11,_0x5e5093[0x2]),_0x1f4057=_0x2023a9(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x3699e9,0x16,_0x5e5093[0x3]),_0x1c4b1f=_0x2023a9(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x49d134,0x7,_0x5e5093[0x4]),_0x333342=_0x2023a9(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x1e2926,0xc,_0x5e5093[0x5]),_0x33867c=_0x2023a9(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x4cbfd6,0x11,_0x5e5093[0x6]),_0x1f4057=_0x2023a9(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x189ccd,0x16,_0x5e5093[0x7]),_0x1c4b1f=_0x2023a9(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x2d49c6,0x7,_0x5e5093[0x8]),_0x333342=_0x2023a9(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0xd67503,0xc,_0x5e5093[0x9]),_0x33867c=_0x2023a9(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x52604f,0x11,_0x5e5093[0xa]),_0x1f4057=_0x2023a9(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x4d4ed4,0x16,_0x5e5093[0xb]),_0x1c4b1f=_0x2023a9(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x3010ac,0x7,_0x5e5093[0xc]),_0x333342=_0x2023a9(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x3f50e3,0xc,_0x5e5093[0xd]),_0x33867c=_0x2023a9(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x347771,0x11,_0x5e5093[0xe]),_0x1f4057=_0x2023a9(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x11377b,0x16,_0x5e5093[0xf]),_0x1c4b1f=_0x3513f4(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x1470b9,0x5,_0x5e5093[0x10]),_0x333342=_0x3513f4(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x4cbfd6,0x9,_0x5e5093[0x11]),_0x33867c=_0x3513f4(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x4d4ed4,0xe,_0x5e5093[0x12]),_0x1f4057=_0x3513f4(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x30c7ef,0x14,_0x5e5093[0x13]),_0x1c4b1f=_0x3513f4(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x1e2926,0x5,_0x5e5093[0x14]),_0x333342=_0x3513f4(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x52604f,0x9,_0x5e5093[0x15]),_0x33867c=_0x3513f4(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x11377b,0xe,_0x5e5093[0x16]),_0x1f4057=_0x3513f4(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x49d134,0x14,_0x5e5093[0x17]),_0x1c4b1f=_0x3513f4(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0xd67503,0x5,_0x5e5093[0x18]),_0x333342=_0x3513f4(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x347771,0x9,_0x5e5093[0x19]),_0x33867c=_0x3513f4(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x3699e9,0xe,_0x5e5093[0x1a]),_0x1f4057=_0x3513f4(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x2d49c6,0x14,_0x5e5093[0x1b]),_0x1c4b1f=_0x3513f4(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x3f50e3,0x5,_0x5e5093[0x1c]),_0x333342=_0x3513f4(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x33623b,0x9,_0x5e5093[0x1d]),_0x33867c=_0x3513f4(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x189ccd,0xe,_0x5e5093[0x1e]),_0x1f4057=_0x3513f4(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x3010ac,0x14,_0x5e5093[0x1f]),_0x1c4b1f=_0x1aeedb(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x1e2926,0x4,_0x5e5093[0x20]),_0x333342=_0x1aeedb(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x2d49c6,0xb,_0x5e5093[0x21]),_0x33867c=_0x1aeedb(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x4d4ed4,0x10,_0x5e5093[0x22]),_0x1f4057=_0x1aeedb(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x347771,0x17,_0x5e5093[0x23]),_0x1c4b1f=_0x1aeedb(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x1470b9,0x4,_0x5e5093[0x24]),_0x333342=_0x1aeedb(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x49d134,0xb,_0x5e5093[0x25]),_0x33867c=_0x1aeedb(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x189ccd,0x10,_0x5e5093[0x26]),_0x1f4057=_0x1aeedb(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x52604f,0x17,_0x5e5093[0x27]),_0x1c4b1f=_0x1aeedb(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x3f50e3,0x4,_0x5e5093[0x28]),_0x333342=_0x1aeedb(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x30c7ef,0xb,_0x5e5093[0x29]),_0x33867c=_0x1aeedb(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x3699e9,0x10,_0x5e5093[0x2a]),_0x1f4057=_0x1aeedb(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x4cbfd6,0x17,_0x5e5093[0x2b]),_0x1c4b1f=_0x1aeedb(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0xd67503,0x4,_0x5e5093[0x2c]),_0x333342=_0x1aeedb(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x3010ac,0xb,_0x5e5093[0x2d]),_0x33867c=_0x1aeedb(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x11377b,0x10,_0x5e5093[0x2e]),_0x1f4057=_0x1aeedb(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x33623b,0x17,_0x5e5093[0x2f]),_0x1c4b1f=_0x63a6ee(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x30c7ef,0x6,_0x5e5093[0x30]),_0x333342=_0x63a6ee(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x189ccd,0xa,_0x5e5093[0x31]),_0x33867c=_0x63a6ee(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x347771,0xf,_0x5e5093[0x32]),_0x1f4057=_0x63a6ee(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x1e2926,0x15,_0x5e5093[0x33]),_0x1c4b1f=_0x63a6ee(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x3010ac,0x6,_0x5e5093[0x34]),_0x333342=_0x63a6ee(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x3699e9,0xa,_0x5e5093[0x35]),_0x33867c=_0x63a6ee(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x52604f,0xf,_0x5e5093[0x36]),_0x1f4057=_0x63a6ee(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x1470b9,0x15,_0x5e5093[0x37]),_0x1c4b1f=_0x63a6ee(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x2d49c6,0x6,_0x5e5093[0x38]),_0x333342=_0x63a6ee(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x11377b,0xa,_0x5e5093[0x39]),_0x33867c=_0x63a6ee(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x4cbfd6,0xf,_0x5e5093[0x3a]),_0x1f4057=_0x63a6ee(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0x3f50e3,0x15,_0x5e5093[0x3b]),_0x1c4b1f=_0x63a6ee(_0x1c4b1f,_0x1f4057,_0x33867c,_0x333342,_0x49d134,0x6,_0x5e5093[0x3c]),_0x333342=_0x63a6ee(_0x333342,_0x1c4b1f,_0x1f4057,_0x33867c,_0x4d4ed4,0xa,_0x5e5093[0x3d]),_0x33867c=_0x63a6ee(_0x33867c,_0x333342,_0x1c4b1f,_0x1f4057,_0x33623b,0xf,_0x5e5093[0x3e]),_0x1f4057=_0x63a6ee(_0x1f4057,_0x33867c,_0x333342,_0x1c4b1f,_0xd67503,0x15,_0x5e5093[0x3f]),_0x463ba4[0x0]=_0x463ba4[0x0]+_0x1c4b1f|0x0,_0x463ba4[0x1]=_0x463ba4[0x1]+_0x1f4057|0x0,_0x463ba4[0x2]=_0x463ba4[0x2]+_0x33867c|0x0,_0x463ba4[0x3]=_0x463ba4[0x3]+_0x333342|0x0;},'_doFinalize':function(){var _0x4b469f=_0x3ece9c,_0x3caf91=this[_0x4b469f(0x24d)],_0x199d64=_0x3caf91['words'],_0x1fadb1=this[_0x4b469f(0x1f1)]*0x8,_0x29474f=_0x3caf91[_0x4b469f(0x266)]*0x8;_0x199d64[_0x29474f>>>0x5]|=0x80<<0x18-_0x29474f%0x20;var _0x9aeefd=_0x1ab594['floor'](_0x1fadb1/0x100000000),_0x11779a=_0x1fadb1;_0x199d64[(_0x29474f+0x40>>>0x9<<0x4)+0xf]=(_0x9aeefd<<0x8|_0x9aeefd>>>0x18)&0xff00ff|(_0x9aeefd<<0x18|_0x9aeefd>>>0x8)&0xff00ff00,_0x199d64[(_0x29474f+0x40>>>0x9<<0x4)+0xe]=(_0x11779a<<0x8|_0x11779a>>>0x18)&0xff00ff|(_0x11779a<<0x18|_0x11779a>>>0x8)&0xff00ff00,_0x3caf91['sigBytes']=(_0x199d64['length']+0x1)*0x4,this[_0x4b469f(0x28d)]();for(var _0x2c37ee=this[_0x4b469f(0x22b)],_0x21228d=_0x2c37ee['words'],_0x1ddeed=0x0;_0x1ddeed<0x4;_0x1ddeed++){var _0xed65d3=_0x21228d[_0x1ddeed];_0x21228d[_0x1ddeed]=(_0xed65d3<<0x8|_0xed65d3>>>0x18)&0xff00ff|(_0xed65d3<<0x18|_0xed65d3>>>0x8)&0xff00ff00;}return _0x2c37ee;},'clone':function(){var _0x5b87bc=_0x3ece9c,_0x281e6c=_0x480aeb['clone'][_0x5b87bc(0x17a)](this);return _0x281e6c[_0x5b87bc(0x22b)]=this[_0x5b87bc(0x22b)][_0x5b87bc(0x399)](),_0x281e6c;}});function _0x2023a9(_0x14ef84,_0x4a06e1,_0x382638,_0x19d7aa,_0x372d71,_0xf68f02,_0x451c7c){var _0x441db9=_0x14ef84+(_0x4a06e1&_0x382638|~_0x4a06e1&_0x19d7aa)+_0x372d71+_0x451c7c;return(_0x441db9<<_0xf68f02|_0x441db9>>>0x20-_0xf68f02)+_0x4a06e1;}function _0x3513f4(_0x37e622,_0x1b01a6,_0x14a22e,_0x3044dc,_0xa13d0f,_0x75a127,_0xcc1c34){var _0x36672f=_0x37e622+(_0x1b01a6&_0x3044dc|_0x14a22e&~_0x3044dc)+_0xa13d0f+_0xcc1c34;return(_0x36672f<<_0x75a127|_0x36672f>>>0x20-_0x75a127)+_0x1b01a6;}function _0x1aeedb(_0x53e6a9,_0x395c59,_0x5ed94f,_0x214fc8,_0x2f00a7,_0x510e43,_0x116282){var _0x4b1d62=_0x53e6a9+(_0x395c59^_0x5ed94f^_0x214fc8)+_0x2f00a7+_0x116282;return(_0x4b1d62<<_0x510e43|_0x4b1d62>>>0x20-_0x510e43)+_0x395c59;}function _0x63a6ee(_0x484801,_0x407188,_0xb93653,_0x168590,_0x46b03f,_0x1610f0,_0x2af4a0){var _0x25fb71=_0x484801+(_0xb93653^(_0x407188|~_0x168590))+_0x46b03f+_0x2af4a0;return(_0x25fb71<<_0x1610f0|_0x25fb71>>>0x20-_0x1610f0)+_0x407188;}_0x595f2f[_0x3ece9c(0x1c5)]=_0x480aeb[_0x3ece9c(0x2d9)](_0x59cda9),_0x595f2f[_0x3ece9c(0x15f)]=_0x480aeb[_0x3ece9c(0x287)](_0x59cda9);}(Math),_0xd5c703[_0x588a45(0x1c5)];}));}(Ke)),Ke[_0x24dda6(0x3db)];}var Ye={'exports':{}},qe={'exports':{}},Rn=qe['exports'],ei;function bn(){return ei||(ei=0x1,function(_0x4759e8,_0x2ddbe6){(function(_0x481284,_0x4e201b){var _0x49ebb6=_0x326f;_0x4759e8[_0x49ebb6(0x3db)]=_0x4e201b(ie());}(Rn,function(_0x40b6c9){return(function(){var _0x39067d=_0x326f,_0x2b21f3=_0x40b6c9,_0x16606d=_0x2b21f3[_0x39067d(0x424)],_0x540426=_0x16606d[_0x39067d(0x1cb)],_0x5ef132=_0x16606d[_0x39067d(0x320)],_0x460c31=_0x2b21f3['algo'],_0x5d7865=[],_0x17c39d=_0x460c31[_0x39067d(0x3c9)]=_0x5ef132[_0x39067d(0x2ec)]({'_doReset':function(){var _0x24f4fe=_0x39067d;this[_0x24f4fe(0x22b)]=new _0x540426[(_0x24f4fe(0x1b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1cf19d,_0x37a4fd){var _0x1d3032=_0x39067d;for(var _0x2cfd76=this[_0x1d3032(0x22b)][_0x1d3032(0x177)],_0x2ee1ef=_0x2cfd76[0x0],_0x1f85da=_0x2cfd76[0x1],_0x1e69f5=_0x2cfd76[0x2],_0x398585=_0x2cfd76[0x3],_0x171985=_0x2cfd76[0x4],_0x470bc7=0x0;_0x470bc7<0x50;_0x470bc7++){if(_0x470bc7<0x10)_0x5d7865[_0x470bc7]=_0x1cf19d[_0x37a4fd+_0x470bc7]|0x0;else{var _0x39744e=_0x5d7865[_0x470bc7-0x3]^_0x5d7865[_0x470bc7-0x8]^_0x5d7865[_0x470bc7-0xe]^_0x5d7865[_0x470bc7-0x10];_0x5d7865[_0x470bc7]=_0x39744e<<0x1|_0x39744e>>>0x1f;}var _0x4cfe99=(_0x2ee1ef<<0x5|_0x2ee1ef>>>0x1b)+_0x171985+_0x5d7865[_0x470bc7];_0x470bc7<0x14?_0x4cfe99+=(_0x1f85da&_0x1e69f5|~_0x1f85da&_0x398585)+0x5a827999:_0x470bc7<0x28?_0x4cfe99+=(_0x1f85da^_0x1e69f5^_0x398585)+0x6ed9eba1:_0x470bc7<0x3c?_0x4cfe99+=(_0x1f85da&_0x1e69f5|_0x1f85da&_0x398585|_0x1e69f5&_0x398585)-0x70e44324:_0x4cfe99+=(_0x1f85da^_0x1e69f5^_0x398585)-0x359d3e2a,_0x171985=_0x398585,_0x398585=_0x1e69f5,_0x1e69f5=_0x1f85da<<0x1e|_0x1f85da>>>0x2,_0x1f85da=_0x2ee1ef,_0x2ee1ef=_0x4cfe99;}_0x2cfd76[0x0]=_0x2cfd76[0x0]+_0x2ee1ef|0x0,_0x2cfd76[0x1]=_0x2cfd76[0x1]+_0x1f85da|0x0,_0x2cfd76[0x2]=_0x2cfd76[0x2]+_0x1e69f5|0x0,_0x2cfd76[0x3]=_0x2cfd76[0x3]+_0x398585|0x0,_0x2cfd76[0x4]=_0x2cfd76[0x4]+_0x171985|0x0;},'_doFinalize':function(){var _0x171627=_0x39067d,_0x321d9d=this['_data'],_0x583589=_0x321d9d['words'],_0x26be33=this[_0x171627(0x1f1)]*0x8,_0x1da99a=_0x321d9d['sigBytes']*0x8;return _0x583589[_0x1da99a>>>0x5]|=0x80<<0x18-_0x1da99a%0x20,_0x583589[(_0x1da99a+0x40>>>0x9<<0x4)+0xe]=Math[_0x171627(0x434)](_0x26be33/0x100000000),_0x583589[(_0x1da99a+0x40>>>0x9<<0x4)+0xf]=_0x26be33,_0x321d9d[_0x171627(0x266)]=_0x583589[_0x171627(0x1d8)]*0x4,this[_0x171627(0x28d)](),this['_hash'];},'clone':function(){var _0x339c41=_0x39067d,_0x9e9b4f=_0x5ef132['clone'][_0x339c41(0x17a)](this);return _0x9e9b4f['_hash']=this[_0x339c41(0x22b)][_0x339c41(0x399)](),_0x9e9b4f;}});_0x2b21f3[_0x39067d(0x3c9)]=_0x5ef132['_createHelper'](_0x17c39d),_0x2b21f3[_0x39067d(0x42b)]=_0x5ef132[_0x39067d(0x287)](_0x17c39d);}()),_0x40b6c9['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},yn=ze[_0x228894(0x3db)],ti;function On(){var _0x154be6=_0x228894;return ti||(ti=0x1,function(_0x5beb43,_0x453917){(function(_0x2d2e87,_0x317e55){var _0x5a33a3=_0x326f;_0x5beb43[_0x5a33a3(0x3db)]=_0x317e55(ie());}(yn,function(_0x55b0a8){(function(){var _0x2cafeb=_0x326f,_0x29ca77=_0x55b0a8,_0x1b919b=_0x29ca77['lib'],_0x14b674=_0x1b919b[_0x2cafeb(0x304)],_0x40cfe7=_0x29ca77['enc'],_0x7ac483=_0x40cfe7[_0x2cafeb(0x3de)],_0x2e747f=_0x29ca77[_0x2cafeb(0x3c3)];_0x2e747f[_0x2cafeb(0x36a)]=_0x14b674[_0x2cafeb(0x2ec)]({'init':function(_0x5c1b4b,_0x4df9a3){var _0x5c2d38=_0x2cafeb;_0x5c1b4b=this[_0x5c2d38(0x321)]=new _0x5c1b4b[(_0x5c2d38(0x1b2))](),typeof _0x4df9a3==_0x5c2d38(0x336)&&(_0x4df9a3=_0x7ac483[_0x5c2d38(0x3e4)](_0x4df9a3));var _0x5ea41e=_0x5c1b4b[_0x5c2d38(0x15d)],_0x3aaf83=_0x5ea41e*0x4;_0x4df9a3[_0x5c2d38(0x266)]>_0x3aaf83&&(_0x4df9a3=_0x5c1b4b[_0x5c2d38(0x12a)](_0x4df9a3)),_0x4df9a3[_0x5c2d38(0x2e1)]();for(var _0x42a322=this['_oKey']=_0x4df9a3[_0x5c2d38(0x399)](),_0x250137=this[_0x5c2d38(0x3d0)]=_0x4df9a3['clone'](),_0x10cdf5=_0x42a322[_0x5c2d38(0x177)],_0x21a717=_0x250137[_0x5c2d38(0x177)],_0x5371a2=0x0;_0x5371a2<_0x5ea41e;_0x5371a2++)_0x10cdf5[_0x5371a2]^=0x5c5c5c5c,_0x21a717[_0x5371a2]^=0x36363636;_0x42a322[_0x5c2d38(0x266)]=_0x250137[_0x5c2d38(0x266)]=_0x3aaf83,this[_0x5c2d38(0x1d0)]();},'reset':function(){var _0x37b700=_0x2cafeb,_0x2dea8f=this['_hasher'];_0x2dea8f[_0x37b700(0x1d0)](),_0x2dea8f[_0x37b700(0x431)](this[_0x37b700(0x3d0)]);},'update':function(_0x342075){var _0x14e847=_0x2cafeb;return this[_0x14e847(0x321)]['update'](_0x342075),this;},'finalize':function(_0x4a08af){var _0x5e1076=_0x2cafeb,_0x47a2ce=this['_hasher'],_0x415b6d=_0x47a2ce[_0x5e1076(0x12a)](_0x4a08af);_0x47a2ce['reset']();var _0x171f34=_0x47a2ce[_0x5e1076(0x12a)](this[_0x5e1076(0x161)][_0x5e1076(0x399)]()[_0x5e1076(0x196)](_0x415b6d));return _0x171f34;}});}());}));}(ze)),ze[_0x154be6(0x3db)];}var Nn=Ye['exports'],ii;function Ui(){var _0x3061c8=_0x228894;return ii||(ii=0x1,function(_0xd3f7ed,_0xfd4bee){(function(_0x1d3c4d,_0x2c67bf,_0x57b634){_0xd3f7ed['exports']=_0x2c67bf(ie(),bn(),On());}(Nn,function(_0x4a6b0a){var _0x20d3b9=_0x326f;return(function(){var _0x4fbd49=_0x326f,_0x4fef74=_0x4a6b0a,_0x14dd29=_0x4fef74[_0x4fbd49(0x424)],_0x5c27b9=_0x14dd29[_0x4fbd49(0x304)],_0x3a1315=_0x14dd29[_0x4fbd49(0x1cb)],_0x5042fd=_0x4fef74['algo'],_0x59b812=_0x5042fd[_0x4fbd49(0x1c5)],_0x466c9f=_0x5042fd['EvpKDF']=_0x5c27b9['extend']({'cfg':_0x5c27b9[_0x4fbd49(0x2ec)]({'keySize':0x80/0x20,'hasher':_0x59b812,'iterations':0x1}),'init':function(_0x3fd5e8){var _0x18b906=_0x4fbd49;this[_0x18b906(0x323)]=this[_0x18b906(0x323)]['extend'](_0x3fd5e8);},'compute':function(_0x306d4e,_0x54c72d){var _0x5bc156=_0x4fbd49;for(var _0xbf860a,_0x1c718e=this['cfg'],_0x5586fe=_0x1c718e['hasher'][_0x5bc156(0x1a4)](),_0x46b07a=_0x3a1315[_0x5bc156(0x1a4)](),_0x52c58a=_0x46b07a[_0x5bc156(0x177)],_0xfdb035=_0x1c718e['keySize'],_0x6b08ef=_0x1c718e[_0x5bc156(0x29d)];_0x52c58a[_0x5bc156(0x1d8)]<_0xfdb035;){_0xbf860a&&_0x5586fe['update'](_0xbf860a),_0xbf860a=_0x5586fe[_0x5bc156(0x431)](_0x306d4e)[_0x5bc156(0x12a)](_0x54c72d),_0x5586fe['reset']();for(var _0x38c706=0x1;_0x38c706<_0x6b08ef;_0x38c706++)_0xbf860a=_0x5586fe['finalize'](_0xbf860a),_0x5586fe[_0x5bc156(0x1d0)]();_0x46b07a['concat'](_0xbf860a);}return _0x46b07a[_0x5bc156(0x266)]=_0xfdb035*0x4,_0x46b07a;}});_0x4fef74['EvpKDF']=function(_0x80925f,_0x1b95a2,_0x5f21f6){return _0x466c9f['create'](_0x5f21f6)['compute'](_0x80925f,_0x1b95a2);};}()),_0x4a6b0a[_0x20d3b9(0x17c)];}));}(Ye)),Ye[_0x3061c8(0x3db)];}var Je={'exports':{}},Dn=Je[_0x228894(0x3db)],ri;function wi(){var _0x1d71d7=_0x228894;return ri||(ri=0x1,function(_0xaf1b4b,_0x20cb8a){(function(_0x5471cc,_0x440382,_0x479747){_0xaf1b4b['exports']=_0x440382(ie(),Ui());}(Dn,function(_0x59069d){var _0x2bcd77=_0x326f;_0x59069d['lib'][_0x2bcd77(0x1c4)]||function(_0x7347b2){var _0x2d4dba=_0x2bcd77,_0x31afea=_0x59069d,_0x2506d3=_0x31afea[_0x2d4dba(0x424)],_0x284612=_0x2506d3[_0x2d4dba(0x304)],_0x28e2ed=_0x2506d3[_0x2d4dba(0x1cb)],_0x1924c5=_0x2506d3['BufferedBlockAlgorithm'],_0x356cc9=_0x31afea[_0x2d4dba(0x2e3)];_0x356cc9[_0x2d4dba(0x3de)];var _0x19f571=_0x356cc9[_0x2d4dba(0x2c3)],_0x3ddef1=_0x31afea[_0x2d4dba(0x3c3)],_0x289ecd=_0x3ddef1[_0x2d4dba(0x17c)],_0x253a14=_0x2506d3[_0x2d4dba(0x1c4)]=_0x1924c5[_0x2d4dba(0x2ec)]({'cfg':_0x284612[_0x2d4dba(0x2ec)](),'createEncryptor':function(_0x5cb276,_0x576b1a){var _0x2aca39=_0x2d4dba;return this[_0x2aca39(0x1a4)](this[_0x2aca39(0x249)],_0x5cb276,_0x576b1a);},'createDecryptor':function(_0x47c766,_0x5c18b1){var _0x1349b6=_0x2d4dba;return this[_0x1349b6(0x1a4)](this['_DEC_XFORM_MODE'],_0x47c766,_0x5c18b1);},'init':function(_0x16a766,_0x105f4c,_0x45de92){var _0x28c7fc=_0x2d4dba;this[_0x28c7fc(0x323)]=this['cfg'][_0x28c7fc(0x2ec)](_0x45de92),this['_xformMode']=_0x16a766,this[_0x28c7fc(0x14f)]=_0x105f4c,this['reset']();},'reset':function(){var _0x2ab88f=_0x2d4dba;_0x1924c5[_0x2ab88f(0x1d0)]['call'](this),this['_doReset']();},'process':function(_0x5a5a05){var _0x20f27a=_0x2d4dba;return this[_0x20f27a(0x3a3)](_0x5a5a05),this[_0x20f27a(0x28d)]();},'finalize':function(_0x4764c4){_0x4764c4&&this['_append'](_0x4764c4);var _0x5bf4e1=this['_doFinalize']();return _0x5bf4e1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1565e5(_0x21497e){var _0x48ce54=_0x326f;return typeof _0x21497e==_0x48ce54(0x336)?_0x5cdecc:_0x224e9a;}return function(_0x247a58){return{'encrypt':function(_0x21768e,_0x18fc63,_0x9ffd7){var _0x54de44=_0x326f;return _0x1565e5(_0x18fc63)[_0x54de44(0x2a3)](_0x247a58,_0x21768e,_0x18fc63,_0x9ffd7);},'decrypt':function(_0x17767c,_0x489101,_0x48bca8){var _0x3b1c57=_0x326f;return _0x1565e5(_0x489101)[_0x3b1c57(0x371)](_0x247a58,_0x17767c,_0x489101,_0x48bca8);}};};}())});_0x2506d3['StreamCipher']=_0x253a14[_0x2d4dba(0x2ec)]({'_doFinalize':function(){var _0x529293=_0x2d4dba,_0x84832f=this[_0x529293(0x28d)](!0x0);return _0x84832f;},'blockSize':0x1});var _0x554c55=_0x31afea[_0x2d4dba(0x1da)]={},_0x34a4be=_0x2506d3[_0x2d4dba(0x31c)]=_0x284612[_0x2d4dba(0x2ec)]({'createEncryptor':function(_0x55ba9c,_0x3852bb){var _0x2b2e3e=_0x2d4dba;return this[_0x2b2e3e(0x298)]['create'](_0x55ba9c,_0x3852bb);},'createDecryptor':function(_0x2f229f,_0x1ff1da){var _0x5565be=_0x2d4dba;return this['Decryptor'][_0x5565be(0x1a4)](_0x2f229f,_0x1ff1da);},'init':function(_0xdc6ce0,_0x2dbb40){var _0x4d3b83=_0x2d4dba;this['_cipher']=_0xdc6ce0,this[_0x4d3b83(0x1ce)]=_0x2dbb40;}}),_0x2a02ef=_0x554c55[_0x2d4dba(0x42c)]=(function(){var _0x5bb30e=_0x2d4dba,_0x512b2b=_0x34a4be[_0x5bb30e(0x2ec)]();_0x512b2b['Encryptor']=_0x512b2b[_0x5bb30e(0x2ec)]({'processBlock':function(_0x257b92,_0x336d13){var _0x22f875=_0x5bb30e,_0x44b44c=this[_0x22f875(0x361)],_0x1fc13c=_0x44b44c[_0x22f875(0x15d)];_0x136455[_0x22f875(0x17a)](this,_0x257b92,_0x336d13,_0x1fc13c),_0x44b44c[_0x22f875(0x2bc)](_0x257b92,_0x336d13),this[_0x22f875(0x2af)]=_0x257b92[_0x22f875(0x171)](_0x336d13,_0x336d13+_0x1fc13c);}}),_0x512b2b[_0x5bb30e(0x3df)]=_0x512b2b[_0x5bb30e(0x2ec)]({'processBlock':function(_0x523c2c,_0x106ef0){var _0x5071fe=_0x5bb30e,_0x36d10b=this['_cipher'],_0x176e77=_0x36d10b[_0x5071fe(0x15d)],_0x5dd59c=_0x523c2c[_0x5071fe(0x171)](_0x106ef0,_0x106ef0+_0x176e77);_0x36d10b[_0x5071fe(0x397)](_0x523c2c,_0x106ef0),_0x136455['call'](this,_0x523c2c,_0x106ef0,_0x176e77),this[_0x5071fe(0x2af)]=_0x5dd59c;}});function _0x136455(_0xf0932,_0x390126,_0x3f02b4){var _0x1d9130=_0x5bb30e,_0x451cbc,_0x57010d=this[_0x1d9130(0x1ce)];_0x57010d?(_0x451cbc=_0x57010d,this['_iv']=_0x7347b2):_0x451cbc=this['_prevBlock'];for(var _0x5263c0=0x0;_0x5263c0<_0x3f02b4;_0x5263c0++)_0xf0932[_0x390126+_0x5263c0]^=_0x451cbc[_0x5263c0];}return _0x512b2b;}()),_0x3d098b=_0x31afea[_0x2d4dba(0x415)]={},_0x51f8ab=_0x3d098b['Pkcs7']={'pad':function(_0x3ed271,_0x33249c){var _0x33bf23=_0x2d4dba;for(var _0x58d8fa=_0x33249c*0x4,_0x47c61f=_0x58d8fa-_0x3ed271[_0x33bf23(0x266)]%_0x58d8fa,_0x1cf834=_0x47c61f<<0x18|_0x47c61f<<0x10|_0x47c61f<<0x8|_0x47c61f,_0x44803b=[],_0x1b824d=0x0;_0x1b824d<_0x47c61f;_0x1b824d+=0x4)_0x44803b[_0x33bf23(0x403)](_0x1cf834);var _0x5ebb67=_0x28e2ed['create'](_0x44803b,_0x47c61f);_0x3ed271[_0x33bf23(0x196)](_0x5ebb67);},'unpad':function(_0x59a803){var _0x5475d4=_0x2d4dba,_0x149c4e=_0x59a803[_0x5475d4(0x177)][_0x59a803[_0x5475d4(0x266)]-0x1>>>0x2]&0xff;_0x59a803[_0x5475d4(0x266)]-=_0x149c4e;}};_0x2506d3[_0x2d4dba(0x13e)]=_0x253a14[_0x2d4dba(0x2ec)]({'cfg':_0x253a14[_0x2d4dba(0x323)][_0x2d4dba(0x2ec)]({'mode':_0x2a02ef,'padding':_0x51f8ab}),'reset':function(){var _0x2f9831=_0x2d4dba,_0x5a9129;_0x253a14['reset'][_0x2f9831(0x17a)](this);var _0x58056d=this[_0x2f9831(0x323)],_0x113a36=_0x58056d['iv'],_0xd7eee8=_0x58056d[_0x2f9831(0x1da)];this[_0x2f9831(0x34c)]==this[_0x2f9831(0x249)]?_0x5a9129=_0xd7eee8['createEncryptor']:(_0x5a9129=_0xd7eee8[_0x2f9831(0x223)],this[_0x2f9831(0x3e2)]=0x1),this[_0x2f9831(0x319)]&&this[_0x2f9831(0x319)][_0x2f9831(0x1c3)]==_0x5a9129?this[_0x2f9831(0x319)][_0x2f9831(0x1b2)](this,_0x113a36&&_0x113a36['words']):(this['_mode']=_0x5a9129['call'](_0xd7eee8,this,_0x113a36&&_0x113a36[_0x2f9831(0x177)]),this[_0x2f9831(0x319)][_0x2f9831(0x1c3)]=_0x5a9129);},'_doProcessBlock':function(_0x5be4ca,_0x7d6902){this['_mode']['processBlock'](_0x5be4ca,_0x7d6902);},'_doFinalize':function(){var _0x280946=_0x2d4dba,_0x28c923,_0x410e5b=this[_0x280946(0x323)][_0x280946(0x29c)];return this['_xformMode']==this[_0x280946(0x249)]?(_0x410e5b[_0x280946(0x415)](this[_0x280946(0x24d)],this['blockSize']),_0x28c923=this[_0x280946(0x28d)](!0x0)):(_0x28c923=this[_0x280946(0x28d)](!0x0),_0x410e5b[_0x280946(0x3bf)](_0x28c923)),_0x28c923;},'blockSize':0x80/0x20});var _0x5b777c=_0x2506d3[_0x2d4dba(0x311)]=_0x284612[_0x2d4dba(0x2ec)]({'init':function(_0x282ca6){var _0x262c8f=_0x2d4dba;this[_0x262c8f(0x19c)](_0x282ca6);},'toString':function(_0x497163){var _0x4b919d=_0x2d4dba;return(_0x497163||this[_0x4b919d(0x3ef)])[_0x4b919d(0x26d)](this);}}),_0x3e8720=_0x31afea[_0x2d4dba(0x3c1)]={},_0x3e6ff7=_0x3e8720[_0x2d4dba(0x285)]={'stringify':function(_0x1c84b5){var _0x5817b7=_0x2d4dba,_0x24ff72,_0x270e0f=_0x1c84b5[_0x5817b7(0x300)],_0x54d3d8=_0x1c84b5['salt'];return _0x54d3d8?_0x24ff72=_0x28e2ed[_0x5817b7(0x1a4)]([0x53616c74,0x65645f5f])[_0x5817b7(0x196)](_0x54d3d8)[_0x5817b7(0x196)](_0x270e0f):_0x24ff72=_0x270e0f,_0x24ff72['toString'](_0x19f571);},'parse':function(_0x3f8936){var _0x907ee3=_0x2d4dba,_0x558d40,_0x415682=_0x19f571['parse'](_0x3f8936),_0x50c5e3=_0x415682[_0x907ee3(0x177)];return _0x50c5e3[0x0]==0x53616c74&&_0x50c5e3[0x1]==0x65645f5f&&(_0x558d40=_0x28e2ed[_0x907ee3(0x1a4)](_0x50c5e3['slice'](0x2,0x4)),_0x50c5e3[_0x907ee3(0x332)](0x0,0x4),_0x415682['sigBytes']-=0x10),_0x5b777c[_0x907ee3(0x1a4)]({'ciphertext':_0x415682,'salt':_0x558d40});}},_0x224e9a=_0x2506d3[_0x2d4dba(0x12e)]=_0x284612['extend']({'cfg':_0x284612['extend']({'format':_0x3e6ff7}),'encrypt':function(_0x167bd4,_0x44a637,_0x5b3bb5,_0xbfdf7d){var _0x448c48=_0x2d4dba;_0xbfdf7d=this[_0x448c48(0x323)][_0x448c48(0x2ec)](_0xbfdf7d);var _0xdd0ba6=_0x167bd4[_0x448c48(0x18e)](_0x5b3bb5,_0xbfdf7d),_0x4fea73=_0xdd0ba6['finalize'](_0x44a637),_0x41ceb8=_0xdd0ba6[_0x448c48(0x323)];return _0x5b777c[_0x448c48(0x1a4)]({'ciphertext':_0x4fea73,'key':_0x5b3bb5,'iv':_0x41ceb8['iv'],'algorithm':_0x167bd4,'mode':_0x41ceb8[_0x448c48(0x1da)],'padding':_0x41ceb8[_0x448c48(0x29c)],'blockSize':_0x167bd4[_0x448c48(0x15d)],'formatter':_0xbfdf7d[_0x448c48(0x3c1)]});},'decrypt':function(_0x117e67,_0x32440a,_0x1a2a4f,_0x97741d){var _0x1f4c30=_0x2d4dba;_0x97741d=this['cfg']['extend'](_0x97741d),_0x32440a=this['_parse'](_0x32440a,_0x97741d['format']);var _0x31f11f=_0x117e67[_0x1f4c30(0x223)](_0x1a2a4f,_0x97741d)[_0x1f4c30(0x12a)](_0x32440a[_0x1f4c30(0x300)]);return _0x31f11f;},'_parse':function(_0x4eabd9,_0x369c36){var _0x3c46e6=_0x2d4dba;return typeof _0x4eabd9==_0x3c46e6(0x336)?_0x369c36[_0x3c46e6(0x3e4)](_0x4eabd9,this):_0x4eabd9;}}),_0x5cf4c5=_0x31afea[_0x2d4dba(0x2db)]={},_0x202962=_0x5cf4c5[_0x2d4dba(0x285)]={'execute':function(_0x46a963,_0x3a54ec,_0x1e10cc,_0x12821c,_0x3e36a8){var _0x4b05d5=_0x2d4dba;if(_0x12821c||(_0x12821c=_0x28e2ed['random'](0x40/0x8)),_0x3e36a8)var _0x1d5abb=_0x289ecd['create']({'keySize':_0x3a54ec+_0x1e10cc,'hasher':_0x3e36a8})[_0x4b05d5(0x3b0)](_0x46a963,_0x12821c);else var _0x1d5abb=_0x289ecd['create']({'keySize':_0x3a54ec+_0x1e10cc})[_0x4b05d5(0x3b0)](_0x46a963,_0x12821c);var _0x2c13ef=_0x28e2ed['create'](_0x1d5abb['words'][_0x4b05d5(0x171)](_0x3a54ec),_0x1e10cc*0x4);return _0x1d5abb['sigBytes']=_0x3a54ec*0x4,_0x5b777c[_0x4b05d5(0x1a4)]({'key':_0x1d5abb,'iv':_0x2c13ef,'salt':_0x12821c});}},_0x5cdecc=_0x2506d3[_0x2d4dba(0x2c2)]=_0x224e9a['extend']({'cfg':_0x224e9a[_0x2d4dba(0x323)][_0x2d4dba(0x2ec)]({'kdf':_0x202962}),'encrypt':function(_0x11b084,_0x23ae19,_0x5115ca,_0x5315c7){var _0x5e03bf=_0x2d4dba;_0x5315c7=this[_0x5e03bf(0x323)][_0x5e03bf(0x2ec)](_0x5315c7);var _0x2f854b=_0x5315c7['kdf']['execute'](_0x5115ca,_0x11b084[_0x5e03bf(0x437)],_0x11b084['ivSize'],_0x5315c7[_0x5e03bf(0x258)],_0x5315c7[_0x5e03bf(0x34f)]);_0x5315c7['iv']=_0x2f854b['iv'];var _0x30bc95=_0x224e9a[_0x5e03bf(0x2a3)]['call'](this,_0x11b084,_0x23ae19,_0x2f854b['key'],_0x5315c7);return _0x30bc95[_0x5e03bf(0x19c)](_0x2f854b),_0x30bc95;},'decrypt':function(_0x58aced,_0x120bdd,_0x43b705,_0x2848ba){var _0x16f071=_0x2d4dba;_0x2848ba=this['cfg'][_0x16f071(0x2ec)](_0x2848ba),_0x120bdd=this[_0x16f071(0x41e)](_0x120bdd,_0x2848ba[_0x16f071(0x3c1)]);var _0x239d78=_0x2848ba[_0x16f071(0x2db)][_0x16f071(0x3bd)](_0x43b705,_0x58aced[_0x16f071(0x437)],_0x58aced['ivSize'],_0x120bdd[_0x16f071(0x258)],_0x2848ba[_0x16f071(0x34f)]);_0x2848ba['iv']=_0x239d78['iv'];var _0xaabd4=_0x224e9a[_0x16f071(0x371)]['call'](this,_0x58aced,_0x120bdd,_0x239d78[_0x16f071(0x203)],_0x2848ba);return _0xaabd4;}});}();}));}(Je)),Je[_0x1d71d7(0x3db)];}var Un=Ve[_0x228894(0x3db)],ni;function wn(){var _0x1cad6c=_0x228894;return ni||(ni=0x1,function(_0x5e9d78,_0x4b5d9c){(function(_0x183941,_0x194f5f,_0x16f92e){var _0x3946e0=_0x326f;_0x5e9d78[_0x3946e0(0x3db)]=_0x194f5f(ie(),Di(),Cn(),Ui(),wi());}(Un,function(_0x3777e1){var _0xf3fa6a=_0x326f;return(function(){var _0x5961b8=_0x326f,_0x250133=_0x3777e1,_0xbc7c09=_0x250133[_0x5961b8(0x424)],_0x34a53c=_0xbc7c09[_0x5961b8(0x13e)],_0x18f983=_0x250133[_0x5961b8(0x3c3)],_0x3f06e1=[],_0x227479=[],_0x4d7a37=[],_0xf4119d=[],_0x1d57fe=[],_0x3e0ef7=[],_0x4d026b=[],_0xd466f2=[],_0x21b979=[],_0x2c6cba=[];(function(){for(var _0x433f65=[],_0x53f7e7=0x0;_0x53f7e7<0x100;_0x53f7e7++)_0x53f7e7<0x80?_0x433f65[_0x53f7e7]=_0x53f7e7<<0x1:_0x433f65[_0x53f7e7]=_0x53f7e7<<0x1^0x11b;for(var _0x3087bd=0x0,_0x349320=0x0,_0x53f7e7=0x0;_0x53f7e7<0x100;_0x53f7e7++){var _0xa58cd0=_0x349320^_0x349320<<0x1^_0x349320<<0x2^_0x349320<<0x3^_0x349320<<0x4;_0xa58cd0=_0xa58cd0>>>0x8^_0xa58cd0&0xff^0x63,_0x3f06e1[_0x3087bd]=_0xa58cd0,_0x227479[_0xa58cd0]=_0x3087bd;var _0x345d53=_0x433f65[_0x3087bd],_0x113191=_0x433f65[_0x345d53],_0x2273e7=_0x433f65[_0x113191],_0x903afc=_0x433f65[_0xa58cd0]*0x101^_0xa58cd0*0x1010100;_0x4d7a37[_0x3087bd]=_0x903afc<<0x18|_0x903afc>>>0x8,_0xf4119d[_0x3087bd]=_0x903afc<<0x10|_0x903afc>>>0x10,_0x1d57fe[_0x3087bd]=_0x903afc<<0x8|_0x903afc>>>0x18,_0x3e0ef7[_0x3087bd]=_0x903afc;var _0x903afc=_0x2273e7*0x1010101^_0x113191*0x10001^_0x345d53*0x101^_0x3087bd*0x1010100;_0x4d026b[_0xa58cd0]=_0x903afc<<0x18|_0x903afc>>>0x8,_0xd466f2[_0xa58cd0]=_0x903afc<<0x10|_0x903afc>>>0x10,_0x21b979[_0xa58cd0]=_0x903afc<<0x8|_0x903afc>>>0x18,_0x2c6cba[_0xa58cd0]=_0x903afc,_0x3087bd?(_0x3087bd=_0x345d53^_0x433f65[_0x433f65[_0x433f65[_0x2273e7^_0x345d53]]],_0x349320^=_0x433f65[_0x433f65[_0x349320]]):_0x3087bd=_0x349320=0x1;}}());var _0x385cbf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x182a88=_0x18f983['AES']=_0x34a53c[_0x5961b8(0x2ec)]({'_doReset':function(){var _0x555e03=_0x5961b8,_0x201427;if(!(this[_0x555e03(0x140)]&&this['_keyPriorReset']===this[_0x555e03(0x14f)])){for(var _0x51c7e2=this[_0x555e03(0x240)]=this[_0x555e03(0x14f)],_0x9c4e25=_0x51c7e2['words'],_0x3d4106=_0x51c7e2[_0x555e03(0x266)]/0x4,_0x503e80=this[_0x555e03(0x140)]=_0x3d4106+0x6,_0x52af70=(_0x503e80+0x1)*0x4,_0x3aba83=this['_keySchedule']=[],_0x5e349c=0x0;_0x5e349c<_0x52af70;_0x5e349c++)_0x5e349c<_0x3d4106?_0x3aba83[_0x5e349c]=_0x9c4e25[_0x5e349c]:(_0x201427=_0x3aba83[_0x5e349c-0x1],_0x5e349c%_0x3d4106?_0x3d4106>0x6&&_0x5e349c%_0x3d4106==0x4&&(_0x201427=_0x3f06e1[_0x201427>>>0x18]<<0x18|_0x3f06e1[_0x201427>>>0x10&0xff]<<0x10|_0x3f06e1[_0x201427>>>0x8&0xff]<<0x8|_0x3f06e1[_0x201427&0xff]):(_0x201427=_0x201427<<0x8|_0x201427>>>0x18,_0x201427=_0x3f06e1[_0x201427>>>0x18]<<0x18|_0x3f06e1[_0x201427>>>0x10&0xff]<<0x10|_0x3f06e1[_0x201427>>>0x8&0xff]<<0x8|_0x3f06e1[_0x201427&0xff],_0x201427^=_0x385cbf[_0x5e349c/_0x3d4106|0x0]<<0x18),_0x3aba83[_0x5e349c]=_0x3aba83[_0x5e349c-_0x3d4106]^_0x201427);for(var _0x2c6baf=this[_0x555e03(0x363)]=[],_0x594b21=0x0;_0x594b21<_0x52af70;_0x594b21++){var _0x5e349c=_0x52af70-_0x594b21;if(_0x594b21%0x4)var _0x201427=_0x3aba83[_0x5e349c];else var _0x201427=_0x3aba83[_0x5e349c-0x4];_0x594b21<0x4||_0x5e349c<=0x4?_0x2c6baf[_0x594b21]=_0x201427:_0x2c6baf[_0x594b21]=_0x4d026b[_0x3f06e1[_0x201427>>>0x18]]^_0xd466f2[_0x3f06e1[_0x201427>>>0x10&0xff]]^_0x21b979[_0x3f06e1[_0x201427>>>0x8&0xff]]^_0x2c6cba[_0x3f06e1[_0x201427&0xff]];}}},'encryptBlock':function(_0x359adc,_0x223270){var _0x2a0821=_0x5961b8;this[_0x2a0821(0x26e)](_0x359adc,_0x223270,this['_keySchedule'],_0x4d7a37,_0xf4119d,_0x1d57fe,_0x3e0ef7,_0x3f06e1);},'decryptBlock':function(_0x36c087,_0x2c09c8){var _0x232cdc=_0x5961b8,_0x49a548=_0x36c087[_0x2c09c8+0x1];_0x36c087[_0x2c09c8+0x1]=_0x36c087[_0x2c09c8+0x3],_0x36c087[_0x2c09c8+0x3]=_0x49a548,this[_0x232cdc(0x26e)](_0x36c087,_0x2c09c8,this[_0x232cdc(0x363)],_0x4d026b,_0xd466f2,_0x21b979,_0x2c6cba,_0x227479);var _0x49a548=_0x36c087[_0x2c09c8+0x1];_0x36c087[_0x2c09c8+0x1]=_0x36c087[_0x2c09c8+0x3],_0x36c087[_0x2c09c8+0x3]=_0x49a548;},'_doCryptBlock':function(_0x2ee90e,_0x4cee22,_0x3617ab,_0x5b0346,_0x3b1792,_0x113e1e,_0x3fa15c,_0x5e92dd){var _0x2553f4=_0x5961b8;for(var _0x4b18ae=this[_0x2553f4(0x140)],_0x240c34=_0x2ee90e[_0x4cee22]^_0x3617ab[0x0],_0x3edf67=_0x2ee90e[_0x4cee22+0x1]^_0x3617ab[0x1],_0x2472ca=_0x2ee90e[_0x4cee22+0x2]^_0x3617ab[0x2],_0x42cc20=_0x2ee90e[_0x4cee22+0x3]^_0x3617ab[0x3],_0x51a026=0x4,_0x4a5d40=0x1;_0x4a5d40<_0x4b18ae;_0x4a5d40++){var _0x10252a=_0x5b0346[_0x240c34>>>0x18]^_0x3b1792[_0x3edf67>>>0x10&0xff]^_0x113e1e[_0x2472ca>>>0x8&0xff]^_0x3fa15c[_0x42cc20&0xff]^_0x3617ab[_0x51a026++],_0x462253=_0x5b0346[_0x3edf67>>>0x18]^_0x3b1792[_0x2472ca>>>0x10&0xff]^_0x113e1e[_0x42cc20>>>0x8&0xff]^_0x3fa15c[_0x240c34&0xff]^_0x3617ab[_0x51a026++],_0x46ea94=_0x5b0346[_0x2472ca>>>0x18]^_0x3b1792[_0x42cc20>>>0x10&0xff]^_0x113e1e[_0x240c34>>>0x8&0xff]^_0x3fa15c[_0x3edf67&0xff]^_0x3617ab[_0x51a026++],_0x48f758=_0x5b0346[_0x42cc20>>>0x18]^_0x3b1792[_0x240c34>>>0x10&0xff]^_0x113e1e[_0x3edf67>>>0x8&0xff]^_0x3fa15c[_0x2472ca&0xff]^_0x3617ab[_0x51a026++];_0x240c34=_0x10252a,_0x3edf67=_0x462253,_0x2472ca=_0x46ea94,_0x42cc20=_0x48f758;}var _0x10252a=(_0x5e92dd[_0x240c34>>>0x18]<<0x18|_0x5e92dd[_0x3edf67>>>0x10&0xff]<<0x10|_0x5e92dd[_0x2472ca>>>0x8&0xff]<<0x8|_0x5e92dd[_0x42cc20&0xff])^_0x3617ab[_0x51a026++],_0x462253=(_0x5e92dd[_0x3edf67>>>0x18]<<0x18|_0x5e92dd[_0x2472ca>>>0x10&0xff]<<0x10|_0x5e92dd[_0x42cc20>>>0x8&0xff]<<0x8|_0x5e92dd[_0x240c34&0xff])^_0x3617ab[_0x51a026++],_0x46ea94=(_0x5e92dd[_0x2472ca>>>0x18]<<0x18|_0x5e92dd[_0x42cc20>>>0x10&0xff]<<0x10|_0x5e92dd[_0x240c34>>>0x8&0xff]<<0x8|_0x5e92dd[_0x3edf67&0xff])^_0x3617ab[_0x51a026++],_0x48f758=(_0x5e92dd[_0x42cc20>>>0x18]<<0x18|_0x5e92dd[_0x240c34>>>0x10&0xff]<<0x10|_0x5e92dd[_0x3edf67>>>0x8&0xff]<<0x8|_0x5e92dd[_0x2472ca&0xff])^_0x3617ab[_0x51a026++];_0x2ee90e[_0x4cee22]=_0x10252a,_0x2ee90e[_0x4cee22+0x1]=_0x462253,_0x2ee90e[_0x4cee22+0x2]=_0x46ea94,_0x2ee90e[_0x4cee22+0x3]=_0x48f758;},'keySize':0x100/0x20});_0x250133[_0x5961b8(0x3b8)]=_0x34a53c[_0x5961b8(0x2d9)](_0x182a88);}()),_0x3777e1[_0xf3fa6a(0x3b8)];}));}(Ve)),Ve[_0x1cad6c(0x3db)];}var An=wn();const Pn=He(An);var xn=Di();const si=He(xn);var Xe={'exports':{}},Ln=Xe[_0x228894(0x3db)],oi;function Mn(){var _0x2145bb=_0x228894;return oi||(oi=0x1,function(_0x40d740,_0x1560cb){(function(_0x1829e0,_0x43b91d){_0x40d740['exports']=_0x43b91d(ie());}(Ln,function(_0x2ece87){var _0x2dc45a=_0x326f;return _0x2ece87[_0x2dc45a(0x2e3)]['Utf8'];}));}(Xe)),Xe[_0x2145bb(0x3db)];}var kn=Mn();const $n=He(kn);var Ze={'exports':{}},Hn=Ze[_0x228894(0x3db)],ai;function Bn(){var _0x93cfa2=_0x228894;return ai||(ai=0x1,function(_0x30e883,_0x38382c){(function(_0x140e56,_0x208061){var _0x397be0=_0x326f;_0x30e883[_0x397be0(0x3db)]=_0x208061(ie());}(Hn,function(_0x13a959){var _0x416d89=_0x326f;return(function(){var _0x19eea6=_0x326f;if(typeof ArrayBuffer==_0x19eea6(0x344)){var _0x56ce81=_0x13a959,_0x61b518=_0x56ce81[_0x19eea6(0x424)],_0x14da62=_0x61b518[_0x19eea6(0x1cb)],_0x4c3f23=_0x14da62[_0x19eea6(0x1b2)],_0x14dbec=_0x14da62['init']=function(_0x1ac829){var _0x35b6d2=_0x19eea6;if(_0x1ac829 instanceof ArrayBuffer&&(_0x1ac829=new Uint8Array(_0x1ac829)),(_0x1ac829 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1ac829 instanceof Uint8ClampedArray||_0x1ac829 instanceof Int16Array||_0x1ac829 instanceof Uint16Array||_0x1ac829 instanceof Int32Array||_0x1ac829 instanceof Uint32Array||_0x1ac829 instanceof Float32Array||_0x1ac829 instanceof Float64Array)&&(_0x1ac829=new Uint8Array(_0x1ac829[_0x35b6d2(0x3cd)],_0x1ac829[_0x35b6d2(0x243)],_0x1ac829['byteLength'])),_0x1ac829 instanceof Uint8Array){for(var _0x107ec5=_0x1ac829[_0x35b6d2(0x43c)],_0x110332=[],_0x1c7bda=0x0;_0x1c7bda<_0x107ec5;_0x1c7bda++)_0x110332[_0x1c7bda>>>0x2]|=_0x1ac829[_0x1c7bda]<<0x18-_0x1c7bda%0x4*0x8;_0x4c3f23[_0x35b6d2(0x17a)](this,_0x110332,_0x107ec5);}else _0x4c3f23[_0x35b6d2(0x1d1)](this,arguments);};_0x14dbec[_0x19eea6(0x14d)]=_0x14da62;}}()),_0x13a959[_0x416d89(0x424)]['WordArray'];}));}(Ze)),Ze[_0x93cfa2(0x3db)];}var jn=Bn();const Fn=He(jn);var Qe={'exports':{}},Vn=Qe[_0x228894(0x3db)],ci;function Gn(){return ci||(ci=0x1,function(_0x5d9285,_0x3da81f){(function(_0x297a57,_0x2f8590,_0x5a922f){var _0x403752=_0x326f;_0x5d9285[_0x403752(0x3db)]=_0x2f8590(ie(),wi());}(Vn,function(_0x21dbb1){var _0x3f4e3a=_0x326f;return _0x21dbb1['pad'][_0x3f4e3a(0x2f9)]={'pad':function(){},'unpad':function(){}},_0x21dbb1[_0x3f4e3a(0x415)][_0x3f4e3a(0x2f9)];}));}(Qe)),Qe['exports'];}var Wn=Gn();const Kn=He(Wn);function Yn(_0x2c7ae3,_0xa5b369){var _0x3a26a6=_0x228894;const _0x577610=_0xa5b369-_0x2c7ae3['length']%_0xa5b369,_0x4dd4f9=String[_0x3a26a6(0x208)](_0x577610)[_0x3a26a6(0x2b5)](_0x577610);return _0x2c7ae3+_0x4dd4f9;}function qn(_0x5ca118,_0x20ac56){var _0x1308d1=_0x228894;const _0x43b7c8=Fn[_0x1308d1(0x42a)](0x10),_0x690c33=Yn(_0x5ca118,0x10),_0x5183dd=Pn['encrypt']($n[_0x1308d1(0x3e4)](_0x690c33),si[_0x1308d1(0x3e4)](_0x20ac56),{'iv':_0x43b7c8,'padding':Kn});return _0x43b7c8[_0x1308d1(0x196)](_0x5183dd[_0x1308d1(0x300)])[_0x1308d1(0x39c)](si);}function zn(){var _0x510ea9=_0x228894;const _0x65151d=_0x4c6156()[_0x510ea9(0x366)];if(_0x65151d){const _0x3e28d7={'time':Math[_0x510ea9(0x434)](Date[_0x510ea9(0x435)]()/0x3e8),'domain':location[_0x510ea9(0x30a)]};return qn(JSON['stringify'](_0x3e28d7),_0x65151d);}}var Jn=Object[_0x228894(0x20c)],Xn=(_0x5ae3ef,_0x5ce7b8,_0x4db26f,_0x504d32)=>{var _0x1bfb08=_0x228894;for(var _0x392858=_0x504d32>0x1?void 0x0:_0x504d32?Jn(_0x5ce7b8,_0x4db26f):_0x5ce7b8,_0x46f9b7=_0x5ae3ef[_0x1bfb08(0x1d8)]-0x1,_0x6fa4de;_0x46f9b7>=0x0;_0x46f9b7--)(_0x6fa4de=_0x5ae3ef[_0x46f9b7])&&(_0x392858=_0x6fa4de(_0x392858)||_0x392858);return _0x392858;},Zn=(_0x2a21fa,_0xa024f6)=>(_0xe5a12c,_0x21ba3a)=>_0xa024f6(_0xe5a12c,_0x21ba3a,_0x2a21fa);let ot=class{constructor(_0x21f704){var _0x4b69c9=_0x228894;this[_0x4b69c9(0x2ef)]=_0x21f704,this[_0x4b69c9(0x3cc)]();}['_initRequestHeader'](){var _0x44d6bd=_0x228894;this[_0x44d6bd(0x2ef)][_0x44d6bd(0x1b5)]({'interceptor':(_0x335191,_0x34904e)=>{var _0x397a1e=_0x44d6bd;const _0x3eecd8=_0x335191[_0x397a1e(0x1a1)],_0x19f197=zn();return _0x19f197&&_0x3eecd8[_0x397a1e(0x21b)](_0x397a1e(0x228),_0x19f197),_0x34904e(_0x335191);}});}};ot=Xn([Zn(0x0,_0x7e1ee1(_0x5daba1))],ot);var Qn=Object[_0x228894(0x20c)],es=(_0x586fb5,_0x37c554,_0x2f19a9,_0x37561b)=>{var _0xc58895=_0x228894;for(var _0x2e6930=_0x37561b>0x1?void 0x0:_0x37561b?Qn(_0x37c554,_0x2f19a9):_0x37c554,_0x548df8=_0x586fb5[_0xc58895(0x1d8)]-0x1,_0x363e23;_0x548df8>=0x0;_0x548df8--)(_0x363e23=_0x586fb5[_0x548df8])&&(_0x2e6930=_0x363e23(_0x2e6930)||_0x2e6930);return _0x2e6930;},mt=(_0x494133,_0x693865)=>(_0x30f15c,_0x528626)=>_0x693865(_0x30f15c,_0x528626,_0x494133);let bt=class extends _0x4d64f7{constructor(_0x45d8a0,_0x21916a,_0x3486a6){var _0xb3a744=_0x228894;super(),N(this,_0xb3a744(0x369),new _0x35002d(null)),N(this,_0xb3a744(0x407),this[_0xb3a744(0x369)][_0xb3a744(0x2ca)]()),(this[_0xb3a744(0x144)]=_0x45d8a0,this[_0xb3a744(0x339)]=_0x21916a,this['_localCacheService']=_0x3486a6);}async[_0x228894(0x3d6)](_0x530034,_0x47b5dd,_0x5a1d8e){var _0x570b9b=_0x228894;this['_unitInfo$'][_0x570b9b(0x167)]({'unitId':_0x530034,'type':_0x47b5dd,'subUnitId':_0x5a1d8e});let _0x386312=null;switch(_0x47b5dd){case Q[_0x570b9b(0x24c)]:{_0x386312=await this['_loadSheet'](_0x530034);break;}case Q['UNIVER_DOC']:{_0x386312=await this[_0x570b9b(0x3f4)](_0x530034);break;}default:{this[_0x570b9b(0x144)][_0x570b9b(0x16d)](_0x570b9b(0x263),_0x570b9b(0x358));break;}}return _0x386312;}async[_0x228894(0x194)](_0x3cfe59){var _0x4bafb3=_0x228894,_0xd44e14;let _0x5d23e9=0x0;const _0x2c9989=await((_0xd44e14=this['_localCacheService'])==null?void 0x0:_0xd44e14[_0x4bafb3(0x27a)](_0x3cfe59));return _0x2c9989&&(_0x2c9989['awaitingChangeset']||_0x2c9989[_0x4bafb3(0x3f7)][_0x4bafb3(0x1d8)]!==0x0)&&(_0x5d23e9=_0x2c9989[_0x4bafb3(0x17b)]),_0x5d23e9===0x0&&this[_0x4bafb3(0x144)][_0x4bafb3(0x326)](_0x4bafb3(0x263),_0x4bafb3(0x309)),this[_0x4bafb3(0x339)]['loadSheet'](_0x3cfe59,_0x5d23e9);}async['_loadDoc'](_0x2ea7e7){var _0x159eb8=_0x228894,_0x52f932;let _0x47580c=0x0;const _0x19c808=await((_0x52f932=this['_localCacheService'])==null?void 0x0:_0x52f932[_0x159eb8(0x27a)](_0x2ea7e7));return _0x19c808&&(_0x19c808[_0x159eb8(0x2e2)]||_0x19c808[_0x159eb8(0x3f7)]['length']!==0x0)&&(_0x47580c=_0x19c808[_0x159eb8(0x17b)]),_0x47580c===0x0&&this['_logService']['debug'](_0x159eb8(0x263),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x159eb8(0x339)]['loadDoc'](_0x2ea7e7,_0x47580c);}};bt=es([mt(0x0,_0x3cc2bd),mt(0x1,_0x7e1ee1(_0x433de0)),mt(0x2,_0x1d58e6(J))],bt);var ts=Object['getOwnPropertyDescriptor'],is=(_0xdd4cc,_0x17755c,_0x3350b9,_0x4718a0)=>{var _0x1d4a4a=_0x228894;for(var _0x3676e4=_0x4718a0>0x1?void 0x0:_0x4718a0?ts(_0x17755c,_0x3350b9):_0x17755c,_0x1e7326=_0xdd4cc[_0x1d4a4a(0x1d8)]-0x1,_0x4d0b7d;_0x1e7326>=0x0;_0x1e7326--)(_0x4d0b7d=_0xdd4cc[_0x1e7326])&&(_0x3676e4=_0x4d0b7d(_0x3676e4)||_0x3676e4);return _0x3676e4;},gt=(_0xe64383,_0x58b764)=>(_0x56fd91,_0x5b1da4)=>_0x58b764(_0x56fd91,_0x5b1da4,_0xe64383);const rs=[_0x228894(0x307),_0x228894(0x270),_0x228894(0x1ef),_0x228894(0x352),_0x228894(0x3f8)],ns=0x5*0x400*0x400,ss=_0x228894(0x370),os=_0x228894(0x2c6),as='EXCHANGE_SIGN_URL_SERVER_URL_KEY',cs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x47917e,_0x2b94a1,_0x53f323){var _0x112163=_0x228894;N(this,_0x112163(0x302),0x0),N(this,_0x112163(0x3c8),new _0xe00b19()),N(this,_0x112163(0x1b6),this[_0x112163(0x3c8)]),N(this,_0x112163(0x2f7),new Map()),(this['_httpService']=_0x47917e,this['_configService']=_0x2b94a1,this[_0x112163(0x41d)]=_0x53f323);}['setWaitCount'](_0x56e57b){var _0x41b3d5=_0x228894;this[_0x41b3d5(0x302)]=_0x56e57b,this[_0x41b3d5(0x3c8)][_0x41b3d5(0x167)](_0x56e57b);}[_0x228894(0x251)](_0x546673,_0x271747){var _0x100868=_0x228894;if(_0x271747===_0x425200[_0x100868(0x267)]){const _0x45b203=new Image();return _0x45b203['src']=_0x546673,_0x45b203;}return this[_0x100868(0x2f7)][_0x100868(0x42d)](_0x546673);}[_0x228894(0x3d5)](_0x322396,_0x13cb55,_0x3f873f){var _0x58c271=_0x228894;_0x13cb55===_0x425200[_0x58c271(0x267)]||_0x3f873f==null||this['_imageSourceCache'][_0x58c271(0x21b)](_0x322396,_0x3f873f);}async[_0x228894(0x1ad)](_0x283671){var _0x2cf19c=_0x228894;try{const _0x11e5e1=this[_0x2cf19c(0x356)](this[_0x2cf19c(0x3bc)](),''+_0x283671),_0x7c5778=(await this['_httpService'][_0x2cf19c(0x42d)](_0x11e5e1))['body'];if(_0x7c5778[_0x2cf19c(0x16d)]&&_0x7c5778['error'][_0x2cf19c(0x3e5)]===Si['OK']){const _0x16038=new URL(_0x7c5778[_0x2cf19c(0x3af)],this[_0x2cf19c(0x410)]())[_0x2cf19c(0x39c)]();return Promise[_0x2cf19c(0x343)](_0x16038);}return Promise[_0x2cf19c(0x3e8)](_0x7c5778[_0x2cf19c(0x16d)]);}catch(_0x3419fe){return Promise['reject'](_0x3419fe);}}async[_0x228894(0x26c)](_0x16d9a4){var _0x99f626=_0x228894;let _0x342d72='';if(!rs['includes'](_0x16d9a4[_0x99f626(0x2bf)]))return this[_0x99f626(0x235)](),Promise[_0x99f626(0x3e8)](new Error(_0x5ca9c8[_0x99f626(0x357)]));if(_0x16d9a4[_0x99f626(0x156)]>ns)return this[_0x99f626(0x235)](),Promise[_0x99f626(0x3e8)](new Error(_0x5ca9c8[_0x99f626(0x176)]));try{const _0x38b006=new FormData();_0x38b006[_0x99f626(0x1ae)](_0x99f626(0x17d),_0x16d9a4);const _0x196876=this[_0x99f626(0x41d)][_0x99f626(0x247)](),_0x39a737=_0x196876==null?void 0x0:_0x196876[_0x99f626(0x2aa)]();if(!_0x39a737)throw new Error('unitId\x20is\x20not\x20found');const _0x322af1=this[_0x99f626(0x207)]()+'?size='+_0x16d9a4[_0x99f626(0x156)]['toString']()+_0x99f626(0x3a5)+Ei[_0x99f626(0x180)]+'&assign='+encodeURIComponent(_0x39a737),_0x20b26c=await(await fetch(_0x322af1,{'method':_0x99f626(0x29f),'body':_0x38b006}))['json']();if(typeof _0x20b26c[_0x99f626(0x21e)]!=_0x99f626(0x336))return this[_0x99f626(0x235)](),Promise[_0x99f626(0x3e8)](new Error(_0x5ca9c8[_0x99f626(0x1fa)]));_0x342d72=_0x20b26c[_0x99f626(0x21e)];}catch{return this['_decreaseWaiting'](),Promise[_0x99f626(0x3e8)](new Error(_0x5ca9c8['ERROR_IMAGE']));}return new Promise((_0x576c45,_0x21c7e1)=>{var _0x5d22ea=_0x99f626;const _0x324f25=new FileReader();_0x324f25[_0x5d22ea(0x341)](_0x16d9a4),_0x324f25['onload']=_0x48ab5b=>{var _0x1eeed4=_0x5d22ea,_0x1bf917;const _0x1ec858=(_0x1bf917=_0x48ab5b[_0x1eeed4(0x252)])==null?void 0x0:_0x1bf917[_0x1eeed4(0x169)];if(_0x1ec858==null){this[_0x1eeed4(0x235)](),_0x21c7e1(new Error(_0x5ca9c8[_0x1eeed4(0x1fa)]));return;}const _0x4e8dfb=_0x1b891a['generateRandomId'](0x6);_0x576c45({'imageId':_0x4e8dfb,'imageSourceType':_0x425200[_0x1eeed4(0x1d7)],'source':_0x342d72,'base64Cache':_0x1ec858,'status':_0x5ca9c8[_0x1eeed4(0x2e8)]}),this[_0x1eeed4(0x235)]();};});}[_0x228894(0x207)](){var _0x40b105=_0x228894,_0x48a749,_0x4a9fe5;const _0x25bb5c=this[_0x40b105(0x36d)][_0x40b105(0x429)](ss),_0xb924e3=this[_0x40b105(0x36d)][_0x40b105(0x429)](q);return(_0x4a9fe5=(_0x48a749=_0xb924e3==null?void 0x0:_0xb924e3[_0x40b105(0x2b2)])!=null?_0x48a749:_0x25bb5c)!=null?_0x4a9fe5:os;}[_0x228894(0x3bc)](){var _0x39cc2d=_0x228894,_0x3bcfd6,_0x41332e;const _0x29509a=this['_configService']['getConfig'](as),_0x23d86f=this[_0x39cc2d(0x36d)][_0x39cc2d(0x429)](q);return(_0x41332e=(_0x3bcfd6=_0x23d86f==null?void 0x0:_0x23d86f[_0x39cc2d(0x31e)])!=null?_0x3bcfd6:_0x29509a)!=null?_0x41332e:cs;}[_0x228894(0x410)](){var _0x45fd55=_0x228894,_0x1b530d;const _0x47457e=this['_configService'][_0x45fd55(0x429)](q);return(_0x1b530d=_0x47457e==null?void 0x0:_0x47457e[_0x45fd55(0x1d9)])!=null?_0x1b530d:location['origin'];}[_0x228894(0x356)](_0x1e91d8,_0x1f1c2f){var _0x5a2645=_0x228894;return _0x1e91d8[_0x5a2645(0x2df)](_0x5a2645(0x1ee),_0x1f1c2f);}['_decreaseWaiting'](){var _0x3354a2=_0x228894;this[_0x3354a2(0x302)]-=0x1,this[_0x3354a2(0x3c8)][_0x3354a2(0x167)](this[_0x3354a2(0x302)]);}};yt=is([gt(0x0,_0x7e1ee1(_0x5daba1)),gt(0x1,_0x7ee467),gt(0x2,_0x7e1ee1(_0xffe073))],yt);var hs=Object[_0x228894(0x20c)],_s=(_0x53cb86,_0x1941fb,_0x5a99df,_0x35bc5f)=>{var _0x2a27d8=_0x228894;for(var _0x38cace=_0x35bc5f>0x1?void 0x0:_0x35bc5f?hs(_0x1941fb,_0x5a99df):_0x1941fb,_0x3716f6=_0x53cb86[_0x2a27d8(0x1d8)]-0x1,_0x1686cc;_0x3716f6>=0x0;_0x3716f6--)(_0x1686cc=_0x53cb86[_0x3716f6])&&(_0x38cace=_0x1686cc(_0x38cace)||_0x38cace);return _0x38cace;},hi=(_0xe48973,_0x5a0ffd)=>(_0x17976d,_0x358f52)=>_0x5a0ffd(_0x17976d,_0x358f52,_0xe48973);const ls='/universer-api/authz';let Ot=class{constructor(_0x5d062b,_0x1a5d77){var _0x5bdff8=_0x228894;this[_0x5bdff8(0x36d)]=_0x5d062b,this[_0x5bdff8(0x17f)]=_0x1a5d77;}[_0x228894(0x25d)](){var _0x5df38a=_0x228894,_0x3f166d,_0x558dbe;const _0x3a8a74=this[_0x5df38a(0x36d)]['getConfig'](Ni),_0x527c50=this['_configService']['getConfig'](q);return(_0x558dbe=(_0x3f166d=_0x527c50==null?void 0x0:_0x527c50[_0x5df38a(0x255)])!=null?_0x3f166d:_0x3a8a74)!=null?_0x558dbe:ls;}async['list'](_0x38982e){var _0x2a281a=_0x228894;const _0x3c4f16=this['_getAPIPrefixPath']()+_0x2a281a(0x17e);return{'list':[{'title':_0x2a281a(0x2b6),'mentions':(await this[_0x2a281a(0x17f)][_0x2a281a(0x42d)](_0x3c4f16,{'params':{'objectID':_0x38982e[_0x2a281a(0x283)],'unitID':_0x38982e['unitId']}}))[_0x2a281a(0x2cc)][_0x2a281a(0x39e)][_0x2a281a(0x265)](_0x540d4a=>({'objectId':_0x540d4a['id'],'name':_0x540d4a[_0x2a281a(0x31f)][_0x2a281a(0x42e)],'metadata':{'icon':_0x540d4a[_0x2a281a(0x31f)][_0x2a281a(0x1f8)]},'label':_0x540d4a[_0x2a281a(0x31f)][_0x2a281a(0x42e)],'objectType':_0x270089[_0x2a281a(0x432)]})),'metadata':{},'type':_0x270089['PERSON']}]};}};Ot=_s([hi(0x0,_0x7e1ee1(_0x7ee467)),hi(0x1,_0x7e1ee1(_0x5daba1))],Ot);var us=Object[_0x228894(0x20c)],ds=(_0x208b2a,_0xc787a0,_0x335c4f,_0x12d2da)=>{for(var _0x2ef288=_0x12d2da>0x1?void 0x0:_0x12d2da?us(_0xc787a0,_0x335c4f):_0xc787a0,_0x1cf1a1=_0x208b2a['length']-0x1,_0x147ed3;_0x1cf1a1>=0x0;_0x1cf1a1--)(_0x147ed3=_0x208b2a[_0x1cf1a1])&&(_0x2ef288=_0x147ed3(_0x2ef288)||_0x2ef288);return _0x2ef288;},Ae=(_0x500718,_0x4f49c6)=>(_0x58b1d1,_0x43705c)=>_0x4f49c6(_0x58b1d1,_0x43705c,_0x500718);let at=class extends _0x4d64f7{constructor(_0x1de46b,_0x29984f,_0xa9f4d,_0x4317f1,_0x2e5d28){var _0x312ff2=_0x228894;super(),this[_0x312ff2(0x165)]=_0x1de46b,this['_univerInstanceService']=_0x29984f,this[_0x312ff2(0x3da)]=_0xa9f4d,this[_0x312ff2(0x14c)]=_0x4317f1,this[_0x312ff2(0x1eb)]=_0x2e5d28,this[_0x312ff2(0x1bb)](),this[_0x312ff2(0x379)]();}[_0x228894(0x379)](){var _0x2c742b=_0x228894;const _0x669302=async _0x3032ab=>{var _0x151268=_0x326f;(await this[_0x151268(0x14c)][_0x151268(0x157)](_0x3032ab))[_0x151268(0x25f)][_0x151268(0x3a7)](_0x28db24(_0x21ba5d=>_0x21ba5d[_0x151268(0x423)]===_0x20f032['SHOULD_CLOSE_CONN']),_0x3fb4d5(this['dispose$']))[_0x151268(0x24e)](_0x51068d=>{var _0x4ef28f=_0x151268;const _0xa36edc=_0x51068d,{reason:_0x39a94e}=_0xa36edc[_0x4ef28f(0x41f)];this['_collaborationUIEventService'][_0x4ef28f(0x241)]({'id':se['CLOSE_ROOM'],'data':_0x39a94e}),this['_permissionService']['updatePermissionPoint'](new _0x255943(_0x3032ab)['id'],!0x1),this[_0x4ef28f(0x14c)][_0x4ef28f(0x394)](_0x3032ab);});};_0x5bc9c1(this[_0x2c742b(0x41d)]['getTypeOfUnitAdded$'](_0x6cb10f['UNIVER_SHEET']),this[_0x2c742b(0x41d)][_0x2c742b(0x1e3)](_0x6cb10f[_0x2c742b(0x273)]))[_0x2c742b(0x3a7)](_0x54f33d(_0x5a1b29=>_0x5a1b29[_0x2c742b(0x2aa)]()),_0x28db24(_0x278d51=>!_0x5d1d2a(_0x278d51)),_0x3fb4d5(this[_0x2c742b(0x174)]))[_0x2c742b(0x24e)](_0x331feb=>{_0x669302(_0x331feb);});}['_initUnitPermissionChange'](){var _0x4a918e=_0x228894;const _0x3d4e8c=async _0x2e7746=>{var _0x42a50e=_0x326f;const _0x2eb4a0=await this[_0x42a50e(0x14c)][_0x42a50e(0x157)](_0x2e7746),_0xe8855b=this[_0x42a50e(0x165)]['get'](_0x3f922a);_0x2eb4a0['event$'][_0x42a50e(0x3a7)](_0x28db24(_0x2e74b1=>_0x2e74b1[_0x42a50e(0x423)]===_0x20f032[_0x42a50e(0x348)]),_0x3fb4d5(this['dispose$']))[_0x42a50e(0x24e)](_0x29caa4=>{var _0x403cce=_0x42a50e;const _0x1bb8b5=_0x29caa4,{objectId:_0x1ab73b}=_0x1bb8b5[_0x403cce(0x41f)];_0x1ab73b===_0x2e7746?_0xe8855b[_0x403cce(0x23a)](_0x2e7746):_0xe8855b[_0x403cce(0x3b4)](_0x2e7746,_0x1ab73b);});};_0x5bc9c1(this[_0x4a918e(0x41d)][_0x4a918e(0x1e3)](_0x6cb10f[_0x4a918e(0x24c)]),this[_0x4a918e(0x41d)]['getTypeOfUnitAdded$'](_0x6cb10f[_0x4a918e(0x273)]))[_0x4a918e(0x3a7)](_0x54f33d(_0x4d6754=>_0x4d6754[_0x4a918e(0x2aa)]()),_0x28db24(_0x1272a2=>!_0x5d1d2a(_0x1272a2)),_0x3fb4d5(this[_0x4a918e(0x174)]))[_0x4a918e(0x24e)](_0x5873bf=>{_0x3d4e8c(_0x5873bf);});}};at=ds([Ae(0x0,_0x7e1ee1(_0xa32491)),Ae(0x1,_0xffe073),Ae(0x2,_0x18d44c),Ae(0x3,_0x7e1ee1(Le)),Ae(0x4,_0x7e1ee1(pe))],at);var fs=Object[_0x228894(0x20c)],vs=(_0xe21432,_0xdf4a87,_0x1051ce,_0x5a3cde)=>{for(var _0x4f11ca=_0x5a3cde>0x1?void 0x0:_0x5a3cde?fs(_0xdf4a87,_0x1051ce):_0xdf4a87,_0x269983=_0xe21432['length']-0x1,_0x6d2a1d;_0x269983>=0x0;_0x269983--)(_0x6d2a1d=_0xe21432[_0x269983])&&(_0x4f11ca=_0x6d2a1d(_0x4f11ca)||_0x4f11ca);return _0x4f11ca;},_i=(_0x411c7d,_0x3ac815)=>(_0x423d0f,_0x279fc8)=>_0x3ac815(_0x423d0f,_0x279fc8,_0x411c7d);let Nt=class{constructor(_0x1d3bb0,_0x40f132){var _0x21354c=_0x228894;this[_0x21354c(0x36d)]=_0x1d3bb0,this[_0x21354c(0x2ef)]=_0x40f132;}async[_0x228894(0x393)](_0x5775e0,_0x5f381b){var _0x2a8625=_0x228894,_0x4c426c;const {unitID:_0x1bfe32,type:_0x362419,revision:_0x53360e=0x0}=_0x5f381b,_0x138310=this['getSnapshotAPIPath']()+'/'+_0x362419+'/unit/'+_0x1bfe32+_0x2a8625(0x1f5)+_0x53360e,_0x4cf95a=(await this[_0x2a8625(0x2ef)]['get'](_0x138310))[_0x2a8625(0x2cc)],_0x32ec7c=(_0x4c426c=_0x4cf95a['snapshot'])==null?void 0x0:_0x4c426c[_0x2a8625(0x229)];if(_0x32ec7c){const _0x4e4b01=_0x32ec7c==null?void 0x0:_0x32ec7c[_0x2a8625(0x34d)],_0x3c9508=_0x243e8b['encode'](_0x5cd51b(_0x4e4b01));_0x32ec7c[_0x2a8625(0x34d)]=_0x3c9508,Object[_0x2a8625(0x3a8)](_0x32ec7c['sheets'])[_0x2a8625(0x3b6)](([,_0x54568b])=>{var _0x50b5a5=_0x2a8625;const _0x116521=_0x54568b[_0x50b5a5(0x34d)],_0x337e96=_0x243e8b['encode'](_0x5cd51b(_0x116521));_0x54568b[_0x50b5a5(0x34d)]=_0x337e96;});}return _0x4cf95a;}async[_0x228894(0x38b)](_0x286074,_0x36b999){var _0x47dc91=_0x228894;const {unitID:_0x274d52,type:_0x43f17d,blockID:_0x3dccd5}=_0x36b999,_0x5cd002=this['_getAPIPrefix']()+'/'+_0x43f17d+'/unit/'+_0x274d52+_0x47dc91(0x1c6)+_0x3dccd5;return(await this[_0x47dc91(0x2ef)][_0x47dc91(0x42d)](_0x5cd002))[_0x47dc91(0x2cc)];}async[_0x228894(0x395)](_0x1d4114,_0x281cef){var _0x107fba=_0x228894;const {unitID:_0x54eca3,type:_0x30605d,blockID:_0x6f9470}=_0x281cef,_0x132e76=this['_getAPIPrefix']()+'/block/'+_0x30605d+_0x107fba(0x136)+_0x54eca3+'/block/'+_0x6f9470;return(await this[_0x107fba(0x2ef)][_0x107fba(0x42d)](_0x132e76))[_0x107fba(0x2cc)];}async[_0x228894(0x2b9)](_0x68dc97,_0x4589b2){var _0x30a962=_0x228894;const {unitID:_0x4d6ce5,type:_0x37e3e2,from:_0x43f185,to:_0x1c2d7d}=_0x4589b2,_0xd11f66=this[_0x30a962(0x189)]()+'/'+_0x37e3e2+_0x30a962(0x136)+_0x4d6ce5+_0x30a962(0x386)+_0x43f185+_0x30a962(0x1c9)+_0x1c2d7d;return(await this[_0x30a962(0x2ef)][_0x30a962(0x42d)](_0xd11f66))[_0x30a962(0x2cc)];}[_0x228894(0x398)](){var _0x72e43f=_0x228894,_0x19e997;return(_0x19e997=this['_configService'][_0x72e43f(0x429)](Sr))!=null?_0x19e997:this[_0x72e43f(0x189)]();}['_getAPIPrefix'](){var _0x2ac170=_0x228894,_0x2b251f,_0x207eee;const _0xeec894=this[_0x2ac170(0x36d)][_0x2ac170(0x429)](mr),_0x1259de=this[_0x2ac170(0x36d)][_0x2ac170(0x429)](q);return(_0x207eee=(_0x2b251f=_0x1259de==null?void 0x0:_0x1259de[_0x2ac170(0x3ea)])!=null?_0x2b251f:_0xeec894)!=null?_0x207eee:gr;}async[_0x228894(0x281)](_0x11e81b,_0x4d2c84){var _0x37071f=_0x228894;const _0x4bf4ae=_0x37071f(0x3a2)+_0x4d2c84[_0x37071f(0x2bf)]+'/unit/'+_0x4d2c84[_0x37071f(0x215)]+_0x37071f(0x2c4);return(await this[_0x37071f(0x2ef)]['get'](_0x4bf4ae,{'params':{'resourceId':JSON[_0x37071f(0x26d)](_0x4d2c84[_0x37071f(0x2da)])}}))[_0x37071f(0x2cc)];}[_0x228894(0x3fa)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x228894(0x1a2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x228894(0x316)](){var _0x41600e=_0x228894;throw new Error(_0x41600e(0x43b));}[_0x228894(0x3e6)](){var _0x585388=_0x228894;throw new Error(_0x585388(0x43b));}[_0x228894(0x373)](){var _0xec720=_0x228894;throw new Error(_0xec720(0x43b));}};Nt=vs([_i(0x0,_0x7ee467),_i(0x1,_0x7e1ee1(_0x5daba1))],Nt);var ps=Object[_0x228894(0x20c)],ms=(_0x572970,_0x30e595,_0x37c2a7,_0x3e3673)=>{var _0x344d67=_0x228894;for(var _0x40bf34=_0x3e3673>0x1?void 0x0:_0x3e3673?ps(_0x30e595,_0x37c2a7):_0x30e595,_0x1e5e1c=_0x572970[_0x344d67(0x1d8)]-0x1,_0x1bdda9;_0x1e5e1c>=0x0;_0x1e5e1c--)(_0x1bdda9=_0x572970[_0x1e5e1c])&&(_0x40bf34=_0x1bdda9(_0x40bf34)||_0x40bf34);return _0x40bf34;},Pe=(_0x128d05,_0x4f4251)=>(_0x18ca4d,_0x3b154e)=>_0x4f4251(_0x18ca4d,_0x3b154e,_0x128d05);let Dt=class extends _0x3d2d2f{constructor(_0xd5c992,_0x2a4b5d,_0x54c35a,_0x5d06d8,_0x247c43){var _0x2c82df=_0x228894;super(_0xd5c992,_0x2a4b5d,_0x54c35a),this[_0x2c82df(0x172)]=_0x5d06d8,this[_0x2c82df(0x144)]=_0x247c43;}[_0x228894(0x178)](_0x36221c,_0x682cdf){var _0x207b92=_0x228894;const _0x2d9d77=this['_getUndoStack'](_0x36221c);if(_0x2d9d77)try{const _0x425c01=this[_0x207b92(0x325)](_0x2d9d77,_0x682cdf);this[_0x207b92(0x36c)](_0x36221c,_0x425c01);}catch(_0x44d2f0){this[_0x207b92(0x144)][_0x207b92(0x16d)](_0x207b92(0x12b),_0x44d2f0),this[_0x207b92(0x1f7)](_0x36221c);}const _0x29f915=this[_0x207b92(0x292)](_0x36221c);if(_0x29f915)try{const _0x2f05fe=this['_transformStack'](_0x29f915,_0x682cdf);this[_0x207b92(0x2e6)](_0x36221c,_0x2f05fe);}catch(_0x3d27d3){this[_0x207b92(0x144)]['error'](_0x3d27d3),this[_0x207b92(0x2f4)](_0x36221c);}}[_0x228894(0x1f7)](_0x78906f){var _0x4e4f3a=_0x228894;const _0x5eb693=this[_0x4e4f3a(0x31d)](_0x78906f);_0x5eb693&&(_0x5eb693[_0x4e4f3a(0x1d8)]=0x0,this[_0x4e4f3a(0x38d)]());}[_0x228894(0x2f4)](_0x356b65){var _0x15173f=_0x228894;const _0x1c1eb6=this[_0x15173f(0x292)](_0x356b65);_0x1c1eb6&&(_0x1c1eb6['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x38ff58,_0x23eb1e){var _0x51a8a6=_0x228894;this[_0x51a8a6(0x2a6)][_0x51a8a6(0x21b)](_0x38ff58,_0x23eb1e),this[_0x51a8a6(0x38d)]();}[_0x228894(0x2e6)](_0x127a53,_0x101a89){var _0x5bb5c0=_0x228894;this['_redoStacks'][_0x5bb5c0(0x21b)](_0x127a53,_0x101a89),this[_0x5bb5c0(0x38d)]();}[_0x228894(0x325)](_0x4d696a,_0x12ed71){var _0x45fb98=_0x228894;const _0x22420c=[];let _0x2ae08b=_0x12ed71,_0x407500=_0x12ed71;for(let _0x58e3bb=_0x4d696a[_0x45fb98(0x1d8)]-0x1;_0x58e3bb>=0x0;_0x58e3bb--){const {unitID:_0x457ad5,undoMutations:_0x1ab321,redoMutations:_0x43c22e}=_0x4d696a[_0x58e3bb],_0x4ffdc5=this[_0x45fb98(0x172)][_0x45fb98(0x204)](_0x2ae08b,_0x1ab321),_0x2e1ee8=this[_0x45fb98(0x172)][_0x45fb98(0x204)](_0x407500,_0x43c22e);if(_0xa69dee(_0x4ffdc5)||_0xa69dee(_0x2e1ee8)){this[_0x45fb98(0x144)]['error'](_0x45fb98(0x12b),_0x45fb98(0x217),_0x4ffdc5,_0x2e1ee8);break;}_0x2ae08b=_0x4ffdc5[_0x45fb98(0x382)],_0x407500=_0x2e1ee8[_0x45fb98(0x382)],_0x22420c[_0x45fb98(0x403)]({'unitID':_0x457ad5,'undoMutations':_0x4ffdc5['m2Prime'],'redoMutations':_0x2e1ee8[_0x45fb98(0x209)]});}return _0x22420c[_0x45fb98(0x234)]();}};function _0x2844(){var _0x53e8c8=['getImageSourceCache','target','toggleOffline','_tryReconnect','authzUrl','_throwTelemetryCollaborationNewChangeset','values','salt','_entities','onTransformRemoteChangesetByIMECache','_commentService','_map','_getAPIPrefixPath','_submitChangeset','event$','_socket','SUBMIT_CHANGESET_TIMEOUT','OFFLINE','[DataLoaderService]','_createHandler','map','sigBytes','BASE64','NO_OTHER_CLIENTS_EDITING','NOT_COLLAB','UnitSnapshot','onSyncEditingCollabCursor','saveImage','stringify','_doCryptBlock','onlyLocal','image/jpeg','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','routeKey','UNIVER_DOC','_stopTelemetryCollaborationNewChangeset','/universer-api/snapshot','_isPermissionRej','csRejEvent','socket\x20open.','PENDING','loadOfflineData','onSendChangeset','enableAuthServer','_clearHeartbeatTimer','put','/object','17933840Epwsqw','getResourcesRequest','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','unitId','_collabSessionService','OpenSSL','/universer-api/oidc/authpage','_createHmacHelper','APPLY_PERMISSION_DENIED','awaiting_with_pending','toggleOnline','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','status$','_process','getCollabEntity','_doReset','ENSURE_SNAPSHOT_EXECUTION','updateOfflineData','_getRedoStack','AWAITING','PY_RUNTIME_SCRIPT_ERROR','_roomMembers','_onOffline','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Encryptor','_socketReady','objectActions','_socketMessageSubscription','padding','iterations','unknown','POST','failed\x20to\x20apply\x20missed\x20changesets!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','error$','encrypt','APPLY_REJECT','c2Prime','_undoStacks','_scheduleCollaborationTimeoutTimer','executeCommand','_transformIMECache','getUnitId','fromCollab','_sender','\x20to\x20','_registerDependencies','_prevBlock','session.join-failed','UNIVER_SLIDE','uploadFileServerUrl','getTypeOfUnitDisposed$','_collaborationPaused','repeat','People','_timeoutTimer','_event$','fetchMissingChangesets','revision','_memberService','encryptBlock','HEARTBEAT_INTERVAL','/universer-api/user/session-ticket','type','catch','Hex','PasswordBasedCipher','Base64','/resources','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/universer-api/stream/file/upload','_transformUndoredo','cmd','INGEST','asObservable','_replayCachedMutations','body','commentUpdateEvent','SHOULD_CLOSE_CONN','updatePermissionObjEvent','pending','_startTelemetryCollaborationNewChangeset','_waitForHeartbeatResponse','addHandlerCallback','_entityInit$','getSheetId','joinEvent','bind','max','_createHelper','resourceIDs','kdf','Malformed\x20UTF-8\x20data','commentUpdate$','_listenToNetworkCondition','replace','?url=','clamp','awaitingChangeset','enc','_telemetryService','responseType','_substituteRedoStack','_onConflict','SUCCUSS','params','entityInit$','charCodeAt','extend','_commandService','fetching\x20missing\x20changesets\x20from\x20','_httpService','clear','__esModule','UNKNOWN_CMD','getCurrentSelections','_clearRedo','getAllMembers','send','_imageSourceCache','_sendingTimer','NoPadding','HEARTBEAT_TIMEOUT','deepClone','RETRY_CONNECTING_MAX_COUNT','_localeService','_transitionLocked','FAIL','ciphertext','_localCacheService','_waitCount','JOIN_ROOM_FAILED','Base','\x0aCurrent:\x20','UNAUTHENTICATED','image/png','onStateChange','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','hostname','FETCH_MISSING','connection\x20error','LIVESHARE_TERMINATE','close$','[SyncedState]:\x20received\x20rejection.','createSocket','CipherParams','liveShareNewHost','onLocalMutation','OTHER_CLIENTS_EDITING','AWAITING_WITH_PENDING','saveChangeset','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','18ihBqdf','_mode','indexOf','_sendHeartbeatTimer','BlockCipherMode','_getUndoStack','signUrlServerUrl','subject','Hasher','_hasher','_queuedRemoteChangesets','cfg','_handlerCallback','_transformStack','debug','charAt','SNAPSHOT_SERVER_URL_KEY','delete','fetchMiss','GLOBAL_ROOMS_CNT_EXCEEDS','Latin1','ONLINE','INTERNAL_ERROR','getCurrentUser','getValue','reqId','splice','HEARTBEAT','_unitID','CONNECTOR_DATA_TOO_LARGE','string','AUTHZ_URL_KEY','not_collab','_snapshotService','_transformRemoteChangesetByIMECache','batchAllowed','_remoteChangesetQueue','putCollaborators','HELLO','onCommandExecuted','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','readAsDataURL','editingUnit','resolve','function','pauseCollaboration','9GrpWpp','\x20-\x20','UPDATE_PERMISSION_OBJ','_compressMutationService','sid','_onRemoteChangeset','_xformMode','originalMeta','_revisionService','hasher','_fetchMissChangesets','objectID','image/gif','[CollaborationSessionService]','open$','patch','_replaceFileID','ERROR_IMAGE_TYPE','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fetch_missing','[FetchMissState]','MSG_FOR_ERROR','memberID','_shouldReportTelemetry','_networkConditionService','_onJoinRoomEvent','ws://127.0.0.1:8000/universer-api/comb/connect','_cipher','OPTIONAL','_invKeySchedule','INVALID_ARGUMENT','_toggleOnline','__Key__','appendMutation','_clearLocalCache','_unitInfo$','HMAC','localCacheService','_substituteUndoStack','_configService','JOIN_ROOM_NOT_EXISTS','localeService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','decrypt','_getLoginPath','getLatestCsReqIdBySid','transformSelections','onTransformRemoteChangesetByStateCache','COMMENT_UPDATE','offline','HttpExport','_initCloseConn','collaboratorID','_doFinalize','_transformSelections','interceptor','UNIVER_PROJECT','_status$','6970UfHFTX','isArray','c1Prime','_getSendChangesetTimeout','deleteCollaborator','JOIN_ROOM_FULL','/fetchmissing?from=','_undoRedoService','csAckEvent','SYNCED','HttpImport','getSheetBlock','IDLE','_updateStatus','shouldCloseConn','_disableEditing','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','requestParams','onRemoteRetry','getUnitOnRev','closeSession','getDeserializedSheetBlock','_sessions','decryptBlock','getSnapshotAPIPath','clone','incrementRevOfUnit','_state','toString','LOGIN_URL_KEY','collaborators','list','then','session.room-full','/universer-api/snapshot/','_append','LIVESHARE_FETCH_OPERATIONS','&source=','_singleActiveUnitService','pipe','entries','APPLY_REVISION_CONFILICT','LICENSE_IMPORT_SIZE_EXCEEDED','onMissingChangesets','_instanceService','roomInfos','_members$','url','compute','collaMsg','fetchThroughInterceptors','online$','refreshPermission','location','forEach','allowed','AES','_handler','focused$','Error\x20on\x20receiving\x20event','_getSignURL','execute','onTransformIME','unpad','[CollaborationEntity]','format','_createInitialStateImpl','algo','removeMember','_clearScheduledTask','_createInitialState','getInterceptPoints','_change$','SHA1','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','socket\x20close','_initRequestHeader','buffer','onRemoteRej','_snapshotServerService','_iKey','hasOwnProperty','_startCollaboration','USERS_LEAVE','[CollaborationSession]','addImageSourceCache','loadUnit','awaiting','_onFetchMissResult','CONFLICT','_permissionService','exports','365766biaSIO','UNDEFINED','Utf8','Decryptor','/universer-api/uniscript','close','_minBufferSize','_syncEditingCollabCursor','parse','code','copyFileMeta','_transformRemoteChangesetByStateCache','reject','substr','snapshotServerUrl','univer-pro.collaboration-client.network-condition.service','save\x20fail\x20reason\x20is\x20','leaveEvent','[PendingState]:\x20received\x20rejection.','formatter','_removeRoom','4528fuFDDh','sessionStatus$','/object/','_loadDoc','CLOSE_ROOM','_onMessage','mutations','image/bmp','enableOfflineEditing','saveSnapshot','textRanges','getMember','encodeURIComponent','_clearTimeoutTimer','editing\x20status\x20changed\x20to','USERS_ENTER','_applyRemoteChangeset','_acknowledgedAwaitingChangeset','push','transformChangesets','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','telemetry\x20info\x20is\x20not\x20initialized','unitInfo$','onCommentUpdate','LIVESHARE_REQUEST_HOST','changesets','title','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_lockTransition','setShowComponents','_onCombEvent','_getDownloadEndpointURL','setCurrentUser','collabSubmitChangesetUrl','SUBMIT_CHANGESET','_onRemoteRetry','pad','infoRsp','members$','_collaborationTimeoutTimer','NEW_CHANGESETS','onMissedChangesetFetched','4nwBccn','YUUMI_SUBSCRIPTION_NOT_FOUND','_univerInstanceService','_parse','data','ALREADY_EXISTS','listCollaborators','61801rRltgn','eventID','lib','_clearCollaborationTimeoutTimer','OTHER_CLIENT_EDITING','duration','LIVESHARE_OPERATION','getConfig','random','HmacSHA1','CBC','get','name','25123901VRJwKN','LEAVE','update','PERSON','PSEUDO_FETCH_MISSING_RESULT','floor','now','defineProperty','keySize','PERMISSION_DENIED','state','[OfflineState]:\x20received\x20acknowledgement.','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','byteLength','finalize','[CollaborationUndoRedoService]','_commentUpdate$','189483RYsSGw','SerializableCipher','/universer-api/authz','CHANGESET_REJ','_doCreateSocket','collaboration_new_changeset','roles','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_initDependencies','/unit/','updatePermissionPoint','_tryEnsureSocket','min','reduce','_resendTimer','TOO_MANY_REQUESTS','\x20in\x20_schedule.','BlockCipher','COMPRESS_MUTATION_APPLY','_nRounds','[SyncedState]:\x20received\x20acknowledgement.','onRemoteAck','_onConnectionOpen','_logService','action','_unlockTransition','loginUrlKey','CHANGESET_REVISION_CONFILICT','session','_onRecvEvent','MUTATION','_collaborationSessionService','prototype','_sendHeartbeat','_key','YUUMI_URL_COL_OUT_OF_RANGE','COMPRESS_MUTATION_SEND','join','every','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','822416jZVLZH','size','requireSession','createInstance','status','onStarting','message$','RECV','blockSize','ceil','HmacMD5','BufferedBlockAlgorithm','_oKey','has','symbol','_sessionStatus$','_injector','_sheetTransformSelectionsService','next','_roomCreated$','result','_initMergeInterceptor','unsubscribe','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','error','pluginName','getRandomValues','/new_changes','slice','_transformService','/allowed','dispose$','_onConnectionFailed','ERROR_EXCEED_SIZE','words','transformUndoRedo','sin','call','rev','EvpKDF','file','/collaborator','_HTTPService','UnitEmbedded','PERMISSION_REJ','randomBytes','_onLocalMutation','complete','onRemoteChangeset','_onRemoteACK','listRoles','_updateState','_getAPIPrefix','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','LIVESHARE_NEW_HOST','_retryConnectingTimer','_socket$','createEncryptor','_emitMembers','reconnect','csShouldRetryEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','objectType','_loadSheet','[PendingState]:\x20received\x20acknowledgement.','concat','_getCtorByUniverType','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getUnitType','LICENSE_EXPORT_SIZE_EXCEEDED','CHANGESET_SHOULD_RETRY','mixIn','isPermissionRej','APPLY_NON_SEQUENTIAL_REVISION','abs','_resendTimeout','headers','saveSheetBlock','SOCKET_FAILED','create','members','UNRECOGNIZED','onTransformSelections','session.room-permission-denied','_resendWithTimeout','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','collabWebSocketUrl','JOIN_ROOM_PERMISSION_DENIED','getImage','append','synced','COLLAB_SUBMIT_CHANGESET_URL','_config','init','SEND_CHANGESET_TIMEOUT','YUUMI_UNABLE_LOAD_URL','registerHTTPInterceptor','change$','crypto','_state$','UNKNOWN_CODE','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_initUnitPermissionChange','range','msCrypto','stopTime','baseRev','[OfflineState]:\x20received\x20rejection.','selections','_reverseMap','__creator','Cipher','MD5','/block/','session.room-cnt-exceeds','post','&to=','conflict','WordArray','_incrementRevisionNumber','_toggleOffline','_iv','UPDATE_CURSOR','reset','apply','getCurrentRevOfUnit','_onUserJoin','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_RATE_OVER_LIMIT','objects','UUID','length','downloadEndpointUrl','mode','univer-pro.collaboration-client-socket-service','_init','LICENSE_DISTRO_REJECTED','_doProcessBlock','startsWith','getUnit','_changesetReqId','_executeRemoteChangeset','getTypeOfUnitAdded$','readInt32LE','_updateLocalCache','readyForCollab','_members','_candidateSocket','_eventService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collaborationUIEventService','submit\x20changeset\x20error!','from','{fileID}','image/jpg','_telemetryInfo','_nDataBytes','sendChangesetTimeout','_awaitingChangeset','LICENSE_MAX_UNITS_EXCEEDED','/rev/','_exhaustRemoteChangesetQueue','_clearUndo','avatar','_checkMissing','ERROR_IMAGE','_retryCount','method','uniscriptRunEvent','_rescheduleHeartbeat','collaboration-client.config','filter','Undefined','JOIN','key','transformMutationsWithChangeset','FETCH_MISS','_changesetSessionId','_getUploadFileURL','fromCharCode','m2Prime','$super','retryConnectingInterval','getOwnPropertyDescriptor','href','_socketService','_userManagerService','_type','resend','startTime','default','DEFAULT_FILE_NAME','unitID','withCredentials','transformStack\x20failed!','getCollabEntity$','UNISCRIPT_RUN','SOCKET_FAILED_RETRY','set','randomUUID','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','FileId','/-/object/-/batch_allowed','[OfflineState]:\x20received\x20changeset.','/-/object/list','UNIVER_UNKNOWN','createDecryptor','_joinRoom','univer-pro.collaboration-client.single-active-unit-service','APPLY_DUPLICATED','CHANGESET_ACK','x-univer-host','workbook','disposeWithMe','_hash','add','compose','\x0aAfter:\x20','state$','COLLAB_WEB_SOCKET_URL','JOINING','/universer-api/comb','_pendingMutations','reverse','_decreaseWaiting','[PendingState]:\x20unhandled\x20univer\x20type:\x20','actions','_schedule','onTransformState','initWorkbookPermissionChange','dispose','_showConflictNotification','_getCurrentRevision','getMemberID','_onRemoteRejected','_keyPriorReset','emitEvent','getWorkbookSelections','byteOffset','find','_scheduleCompleteTimestamp','getUnitStatus$','getFocusedUnit','_onUserLeave','_ENC_XFORM_MODE','findIndex','equals','UNIVER_SHEET','_data','subscribe','socket$','updateMember'];_0x2844=function(){return _0x53e8c8;};return _0x2844();}Dt=ms([Pe(0x0,_0xffe073),Pe(0x1,_0x50ec3e),Pe(0x2,_0x5bd258),Pe(0x3,_0x3ece4b),Pe(0x4,_0x3cc2bd)],Dt);var gs=Object[_0x228894(0x436)],Ss=Object['getOwnPropertyDescriptor'],Es=(_0x55992b,_0x5b669e,_0x557ca0)=>_0x5b669e in _0x55992b?gs(_0x55992b,_0x5b669e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x557ca0}):_0x55992b[_0x5b669e]=_0x557ca0,Is=(_0x170c93,_0xca0b7b,_0x49b086,_0x5cd50b)=>{var _0x12aa2f=_0x228894;for(var _0x21f9fd=_0x5cd50b>0x1?void 0x0:_0x5cd50b?Ss(_0xca0b7b,_0x49b086):_0xca0b7b,_0x455ac3=_0x170c93[_0x12aa2f(0x1d8)]-0x1,_0x5b1137;_0x455ac3>=0x0;_0x455ac3--)(_0x5b1137=_0x170c93[_0x455ac3])&&(_0x21f9fd=_0x5b1137(_0x21f9fd)||_0x21f9fd);return _0x21f9fd;},St=(_0x2b5c31,_0x4bf15)=>(_0x42442d,_0x2b6069)=>_0x4bf15(_0x42442d,_0x2b6069,_0x2b5c31),Ts=(_0x218b66,_0x594e5a,_0x444e28)=>Es(_0x218b66,_0x594e5a+'',_0x444e28);const Cs='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x5a64fe{constructor(_0x5ac7d3,_0x3e1707,_0x265699,_0x122057){var _0x8517f4=_0x228894;super(),N(this,_0x8517f4(0x1b1)),(this[_0x8517f4(0x144)]=_0x3e1707,this[_0x8517f4(0x165)]=_0x265699,this[_0x8517f4(0x36d)]=_0x122057);const {..._0x522d22}=_0x444ec8({},Ar,_0x5ac7d3);if(!_0x522d22['socketService'])throw new Error(_0x8517f4(0x282));this['_config']=_0x522d22,this[_0x8517f4(0x36d)]['setConfig'](q,_0x522d22);}[_0x228894(0x15a)](){var _0x136b3b=_0x228894;this['_registerDependencies'](),this[_0x136b3b(0x135)]();}[_0x228894(0x2ae)](){var _0x489573=_0x228894,_0xfb26f8,_0x37df41;this[_0x489573(0x165)][_0x489573(0x162)](_0x15c881)&&this[_0x489573(0x144)][_0x489573(0x16d)]('[UniverCollaborationClientPlugin]',_0x489573(0x1aa));const _0x38b757=_0x4d8dd9([[_0x15c881,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this['_config']['socketService']}],[_0x5d1003,{'useClass':Nt}],[_0x25ae31,{'useClass':Rt}],[_0x3ed98c,{'useClass':yt}],[_0x2aaf3e,{'useClass':Ot}],[nt],[Ct]],(_0xfb26f8=this['_config'])==null?void 0x0:_0xfb26f8['override']);if(!((_0x37df41=this[_0x489573(0x1b1)])!=null&&_0x37df41['enableSingleActiveInstanceLock'])){const _0x4b7e67=_0x38b757[_0x489573(0x24a)](([_0x1abc4e])=>_0x1abc4e===ht);_0x4b7e67!==-0x1&&_0x38b757['splice'](_0x4b7e67,0x1);}_0xd419ce(this[_0x489573(0x165)],_0x38b757);}[_0x228894(0x135)](){var _0x1780ce=_0x228894,_0x1d43c6,_0x6e5855,_0x2c72d3;this['_injector'][_0x1780ce(0x42d)](_0x5daba1)[_0x1780ce(0x1b5)]({'priority':0x14,'interceptor':_0x304424({'maxParallel':0x6})}),(_0x1d43c6=this['_config'])!=null&&_0x1d43c6[_0x1780ce(0x3f9)]||(_0x6e5855=this[_0x1780ce(0x165)][_0x1780ce(0x42d)](J,_0x2545e1[_0x1780ce(0x362)]))==null||_0x6e5855['disableLocalCache'](),(_0x2c72d3=this[_0x1780ce(0x1b1)])!=null&&_0x2c72d3[_0x1780ce(0x27c)]&&_0x3943a1(this['_injector'],[[st]]),_0x3943a1(this[_0x1780ce(0x165)],[[ot],[nt],[at]]);}};Ts(Ut,_0x228894(0x16e),Cs),Ut=Is([_0x331e67(_0x1316fd,_0x46dba4,_0x59ac87),St(0x1,_0x3cc2bd),St(0x2,_0x7e1ee1(_0xa32491)),St(0x3,_0x7ee467)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nr as COLLAB_SUBMIT_CHANGESET_URL_KEY,Ir as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tr as DEFAULT_COLLAB_WEB_SOCKET_URL,Bs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ms as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pr as INetworkConditionService,ht as ISingleActiveUnitService,$s as LOCAL_CACHE_INTERVAL,ks as LOCAL_CACHE_INTERVAL_KEY,Ur as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,Hs as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yr as RETRY_CONNECTING_MAX_COUNT_KEY,Ls as SEND_CHANGESET_TIMEOUT_KEY,mr as SNAPSHOT_SERVER_URL_KEY,Sr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xr as deserializeToCombResponse,js as getLocalCacheKey,Lr as serializeCombRequest};