@univerjs-pro/collaboration-client 0.5.1-nightly.202412090925 → 0.5.1-nightly.202412100649

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 _0x7744bf=_0x186f;(function(_0x5a6834,_0x51c2b2){var _0x44e57a=_0x186f,_0x2c1aca=_0x5a6834();while(!![]){try{var _0xf759c1=-parseInt(_0x44e57a(0x21d))/0x1+-parseInt(_0x44e57a(0x374))/0x2*(-parseInt(_0x44e57a(0x1e3))/0x3)+-parseInt(_0x44e57a(0x2f2))/0x4+-parseInt(_0x44e57a(0x236))/0x5*(-parseInt(_0x44e57a(0x4b1))/0x6)+parseInt(_0x44e57a(0x3b4))/0x7+-parseInt(_0x44e57a(0x46c))/0x8+-parseInt(_0x44e57a(0x2e2))/0x9;if(_0xf759c1===_0x51c2b2)break;else _0x2c1aca['push'](_0x2c1aca['shift']());}catch(_0x58cade){_0x2c1aca['push'](_0x2c1aca['shift']());}}}(_0x37d6,0xe57ee));var Li=Object[_0x7744bf(0x467)],Mi=(_0x36f7d2,_0x420002,_0x32720b)=>_0x420002 in _0x36f7d2?Li(_0x36f7d2,_0x420002,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32720b}):_0x36f7d2[_0x420002]=_0x32720b,D=(_0x310b18,_0x5a2980,_0x462e3c)=>Mi(_0x310b18,typeof _0x5a2980!=_0x7744bf(0x2ea)?_0x5a2980+'':_0x5a2980,_0x462e3c);import{createIdentifier as _0x1a6a69,Inject as _0x46f2f9,Injector as _0x6d28a0,Disposable as _0x3a9433,DisposableCollection as _0x50421a,toDisposable as _0x52f3e6,IConfigService as _0x387952,ILogService as _0x36e00a,UserManagerService as _0x1b5f6d,UniverInstanceType as _0x2a4642,IUniverInstanceService as _0x464ce2,LocaleService as _0x12cbe1,Optional as _0x49cb22,RxDisposable as _0x2bcc2a,Tools as _0x5e5c0f,Rectangle as _0x39d323,ICommandService as _0x516aa5,JSONX as _0x5df531,CommandType as _0x144f12,IPermissionService as _0x13c615,IUndoRedoService as _0x9d8c79,sequenceExecute as _0x5c4007,Workbook as _0x350e40,MentionType as _0x327ba5,IAuthzIoService as _0x1ee191,isInternalEditorID as _0x2f8e06,LocalUndoRedoService as _0xf0a0f5,IContextService as _0x23fef3,DependentOn as _0x5cb19f,Plugin as _0x52b996,mergeOverrideWithDependencies as _0x1d2c77,IMentionIOService as _0x58ab21,registerDependencies as _0x2ea877,Quantity as _0x979c86,touchDependencies as _0xf35e8a}from'@univerjs/core';import{Subject as _0x14ccc3,merge as _0x2a7ebf,takeUntil as _0x31e53b,BehaviorSubject as _0xb58407,ReplaySubject as _0x54f6c6,take as _0x7624a7,map as _0xbab8e0,shareReplay as _0x170902,of as _0x1431f5,firstValueFrom as _0x22410a,concatMap as _0x18e9f5}from'rxjs';import{map as _0x30311a,take as _0x5efdec,filter as _0x43efb4,delay as _0x344cd0,takeUntil as _0x95d7f9}from'rxjs/operators';import{HTTPService as _0x381081,ISocketService as _0x45bfe5,MergeInterceptorFactory as _0x28263,HTTPRequest as _0x1b1026,UniverNetworkPlugin as _0xfa3287,ThresholdInterceptorFactory as _0x3356b4}from'@univerjs/network';import{CollaborationEvent as _0x51c9a6,parseChangesetToProtocol as _0x27f427,ISnapshotServerService as _0x1f721a,isTransformMutationsWithChangesetSuccess as _0x17cb2d,ITransformService as _0x58398b,mapDocumentTypeToUniverType as _0x2f4300,RevisionService as _0x4d4128,isTransformChangesetsSuccess as _0xee5c1,CompressMutationService as _0xac8eba,parseProtocolChangeset as _0x35a1d5,SnapshotService as _0x1907ed,textEncoder as _0x76656b,b64DecodeUnicode as _0x2f6335,isTransformMutationsWithChangesetFailure as _0x39d485,UniverCollaborationPlugin as _0xf79136}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xc6cc18}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2814bb}from'@univerjs/docs';import{SheetsSelectionsService as _0x406fca,SetSelectionsOperation as _0x2f169f,InsertSheetMutation as _0x1d24a8,EmptyMutation as _0x7de1c0,WorkbookEditablePermission as _0x5a0758,UnitObject as _0x9bd791,defaultWorkbookPermissionPoints as _0x592193,getAllWorkbookPermissionPoint as _0x37d376,WorksheetProtectionRuleModel as _0x363773,baseProtectionActions as _0x2ab551,getAllWorksheetPermissionPoint as _0x575e9e,WorksheetProtectionPointModel as _0x409b8a,defaultWorksheetPermissionPoint as _0x215618,getAllWorksheetPermissionPointByPointPanel as _0x45b1a2,RangeProtectionRuleModel as _0x453f5e,getAllRangePermissionPoint as _0x47ec90,UniverSheetsPlugin as _0x1c5226}from'@univerjs/sheets';import{ImageSourceType as _0x2483ce,ImageUploadStatusType as _0xf0db03,IImageIoService as _0x3ee0a8}from'@univerjs/drawing';import{getGlobalObject as _0x45cd4f}from'@univerjs-pro/license';const Pn=_0x7744bf(0x3af),Nn=_0x7744bf(0x327),Dn=_0x7744bf(0x350),ho=_0x7744bf(0x1e9),wn=0x7d0,Un=_0x7744bf(0x354),An=_0x7744bf(0x304),xn=_0x7744bf(0x4ac),Ln=_0x7744bf(0x1c7),Mn=0x7530,Si=_0x7744bf(0x3d4),Ei=0x4e20,$n=0x4e20,Hn=_0x7744bf(0x35b),kn=0x3,_o=_0x7744bf(0x2ae),lo=0x3e8,jn=_0x7744bf(0x22d),Bn=_0x7744bf(0x376),Fn=_0x7744bf(0x201),Vn=_0x7744bf(0x426);var Ii=(_0x4e09b8=>(_0x4e09b8[_0x4e09b8[_0x7744bf(0x314)]=0x0]='UNDEFINED',_0x4e09b8[_0x4e09b8['OK']=0x1]='OK',_0x4e09b8[_0x4e09b8[_0x7744bf(0x212)]=0x2]='INTERNAL_ERROR',_0x4e09b8[_0x4e09b8[_0x7744bf(0x343)]=0x3]=_0x7744bf(0x343),_0x4e09b8[_0x4e09b8['NOT_FOUND']=0x4]=_0x7744bf(0x38a),_0x4e09b8[_0x4e09b8[_0x7744bf(0x4b2)]=0x5]=_0x7744bf(0x4b2),_0x4e09b8[_0x4e09b8[_0x7744bf(0x3ab)]=0x6]=_0x7744bf(0x3ab),_0x4e09b8[_0x4e09b8[_0x7744bf(0x32e)]=0x7]='INVALID_ARGUMENT',_0x4e09b8[_0x4e09b8[_0x7744bf(0x33c)]=0x8]=_0x7744bf(0x33c),_0x4e09b8[_0x4e09b8[_0x7744bf(0x48f)]=0x9]=_0x7744bf(0x48f),_0x4e09b8[_0x4e09b8[_0x7744bf(0x215)]=0x1389]=_0x7744bf(0x215),_0x4e09b8[_0x4e09b8[_0x7744bf(0x20b)]=0x1771]=_0x7744bf(0x20b),_0x4e09b8[_0x4e09b8[_0x7744bf(0x43e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4e09b8[_0x4e09b8[_0x7744bf(0x2b9)]=0x1773]=_0x7744bf(0x2b9),_0x4e09b8[_0x4e09b8[_0x7744bf(0x203)]=0x1b59]='APPLY_REJECT',_0x4e09b8[_0x4e09b8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4e09b8[_0x4e09b8['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x7744bf(0x288),_0x4e09b8[_0x4e09b8[_0x7744bf(0x36c)]=0x1b5c]=_0x7744bf(0x36c),_0x4e09b8[_0x4e09b8[_0x7744bf(0x295)]=0x1b5d]=_0x7744bf(0x295),_0x4e09b8[_0x4e09b8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4e09b8[_0x4e09b8[_0x7744bf(0x2eb)]=0x2329]=_0x7744bf(0x2eb),_0x4e09b8[_0x4e09b8['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x7744bf(0x406),_0x4e09b8[_0x4e09b8[_0x7744bf(0x291)]=0x232b]=_0x7744bf(0x291),_0x4e09b8[_0x4e09b8[_0x7744bf(0x2b1)]=0x232c]=_0x7744bf(0x2b1),_0x4e09b8[_0x4e09b8[_0x7744bf(0x24f)]=0x232d]=_0x7744bf(0x24f),_0x4e09b8[_0x4e09b8[_0x7744bf(0x2fb)]=0x2711]=_0x7744bf(0x2fb),_0x4e09b8[_0x4e09b8[_0x7744bf(0x4ab)]=0x2712]=_0x7744bf(0x4ab),_0x4e09b8[_0x4e09b8[_0x7744bf(0x284)]=0x2713]=_0x7744bf(0x284),_0x4e09b8[_0x4e09b8[_0x7744bf(0x4ad)]=0x2714]=_0x7744bf(0x4ad),_0x4e09b8[_0x4e09b8[_0x7744bf(0x25b)]=-0x1]=_0x7744bf(0x25b),_0x4e09b8))(Ii||{}),Q=(_0x1b7949=>(_0x1b7949[_0x1b7949[_0x7744bf(0x275)]=0x0]=_0x7744bf(0x275),_0x1b7949[_0x1b7949['UNIVER_DOC']=0x1]=_0x7744bf(0x457),_0x1b7949[_0x1b7949[_0x7744bf(0x49a)]=0x2]=_0x7744bf(0x49a),_0x1b7949[_0x1b7949[_0x7744bf(0x3b8)]=0x3]=_0x7744bf(0x3b8),_0x1b7949[_0x1b7949[_0x7744bf(0x1fc)]=0x4]=_0x7744bf(0x1fc),_0x1b7949[_0x1b7949[_0x7744bf(0x25b)]=-0x1]='UNRECOGNIZED',_0x1b7949))(Q||{}),F=(_0x69103c=>(_0x69103c[_0x69103c[_0x7744bf(0x23f)]=0x0]=_0x7744bf(0x23f),_0x69103c[_0x69103c[_0x7744bf(0x281)]=0x1]=_0x7744bf(0x281),_0x69103c[_0x69103c[_0x7744bf(0x2c4)]=0x2]='JOIN',_0x69103c[_0x69103c[_0x7744bf(0x394)]=0x3]=_0x7744bf(0x394),_0x69103c[_0x69103c[_0x7744bf(0x3aa)]=0x4]=_0x7744bf(0x3aa),_0x69103c[_0x69103c[_0x7744bf(0x320)]=0x5]=_0x7744bf(0x320),_0x69103c[_0x69103c[_0x7744bf(0x310)]=0x6]='RECV',_0x69103c[_0x69103c[_0x7744bf(0x25b)]=-0x1]=_0x7744bf(0x25b),_0x69103c))(F||{}),Ee=(_0x8accc6=>(_0x8accc6[_0x8accc6[_0x7744bf(0x31c)]=0x0]=_0x7744bf(0x31c),_0x8accc6[_0x8accc6['OK']=0x1]='OK',_0x8accc6[_0x8accc6['FAIL']=0x2]=_0x7744bf(0x1bb),_0x8accc6[_0x8accc6['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x8accc6[_0x8accc6[_0x7744bf(0x4b0)]=0x3ea]=_0x7744bf(0x4b0),_0x8accc6[_0x8accc6[_0x7744bf(0x1fa)]=0x3eb]=_0x7744bf(0x1fa),_0x8accc6[_0x8accc6[_0x7744bf(0x2d3)]=0x3ec]=_0x7744bf(0x2d3),_0x8accc6[_0x8accc6[_0x7744bf(0x25b)]=-0x1]=_0x7744bf(0x25b),_0x8accc6))(Ee||{}),Ti=(_0x277ea0=>(_0x277ea0[_0x277ea0[_0x7744bf(0x293)]=0x0]='Undefined',_0x277ea0[_0x277ea0[_0x7744bf(0x228)]=0x1]=_0x7744bf(0x228),_0x277ea0[_0x277ea0[_0x7744bf(0x415)]=0x2]=_0x7744bf(0x415),_0x277ea0[_0x277ea0[_0x7744bf(0x393)]=0x3]=_0x7744bf(0x393),_0x277ea0[_0x277ea0[_0x7744bf(0x492)]=0x4]=_0x7744bf(0x492),_0x277ea0[_0x277ea0[_0x7744bf(0x25b)]=-0x1]=_0x7744bf(0x25b),_0x277ea0))(Ti||{});const Y=_0x7744bf(0x3c7),Wn={};var se=(_0x5832b1=>(_0x5832b1['OTHER_CLIENT_EDITING']=_0x7744bf(0x464),_0x5832b1[_0x7744bf(0x343)]=_0x7744bf(0x343),_0x5832b1[_0x7744bf(0x408)]='CONFLICT',_0x5832b1[_0x7744bf(0x4a0)]=_0x7744bf(0x4a0),_0x5832b1[_0x7744bf(0x2e8)]=_0x7744bf(0x2e8),_0x5832b1[_0x7744bf(0x39c)]=_0x7744bf(0x39c),_0x5832b1[_0x7744bf(0x346)]=_0x7744bf(0x346),_0x5832b1[_0x7744bf(0x1d7)]=_0x7744bf(0x1d7),_0x5832b1))(se||{});class pe{constructor(){var _0x268956=_0x7744bf;D(this,'_event$',new _0x14ccc3()),D(this,'event$',this[_0x268956(0x3ed)]['asObservable']());}[_0x7744bf(0x32a)](_0x2cdef0){var _0x71414c=_0x7744bf;this[_0x71414c(0x3ed)]['next'](_0x2cdef0);}}const Gn=_0x1a6a69(_0x7744bf(0x22a));function Kn(_0x387442){var _0x5de0f0=_0x7744bf,_0x575304,_0x3ccd0a,_0x360668,_0x2dd983,_0x1319d2;const _0x5acda6=_0x387442[_0x5de0f0(0x432)],_0x1d36d1=JSON[_0x5de0f0(0x429)](_0x5acda6);switch(_0x1d36d1[_0x5de0f0(0x240)]){case F[_0x5de0f0(0x320)]:case F[_0x5de0f0(0x281)]:{const _0x58c210=_0x1d36d1[_0x5de0f0(0x3df)];return{..._0x1d36d1,'data':_0x58c210,'cmd':_0x1d36d1['cmd']};}case F[_0x5de0f0(0x2c4)]:{const _0x4b90cc=_0x1d36d1[_0x5de0f0(0x449)];return{..._0x1d36d1,'data':_0x4b90cc,'cmd':_0x1d36d1[_0x5de0f0(0x240)]};}case F[_0x5de0f0(0x310)]:{const _0x422194=_0x1d36d1[_0x5de0f0(0x321)];switch(_0x422194['eventID']){case _0x51c9a6[_0x5de0f0(0x2af)]:return{..._0x1d36d1,'data':{..._0x422194,'data':(_0x575304=_0x422194[_0x5de0f0(0x340)])==null?void 0x0:_0x575304['cs']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x401)]:return{..._0x1d36d1,'data':{..._0x422194,'data':(_0x3ccd0a=_0x422194['csAckEvent'])==null?void 0x0:_0x3ccd0a['cs']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x45e)]:return{..._0x1d36d1,'data':{..._0x422194,'data':(_0x360668=_0x422194['newCsEvent'])==null?void 0x0:_0x360668['cs']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x2f7)]:return{..._0x1d36d1,'data':{..._0x422194,'data':(_0x2dd983=_0x422194[_0x5de0f0(0x44f)])==null?void 0x0:_0x2dd983['cs']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x2dc)]:return{..._0x1d36d1,'data':{..._0x422194,'data':(_0x1319d2=_0x422194[_0x5de0f0(0x36f)])==null?void 0x0:_0x1319d2['cs']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6['UPDATE_CURSOR']:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194['updateCursorEvent']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x29b)]:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194[_0x5de0f0(0x3e6)]},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x2ce)]:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194[_0x5de0f0(0x469)]},'cmd':_0x1d36d1['cmd']};case _0x51c9a6['LIVESHARE_NEW_HOST']:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194[_0x5de0f0(0x29e)]},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x315)]:case _0x51c9a6[_0x5de0f0(0x2a8)]:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194[_0x5de0f0(0x474)]},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x3e8)]:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194['liveShareNewHost']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x251)]:return{..._0x1d36d1,'data':_0x422194,'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x202)]:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194[_0x5de0f0(0x45d)]},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6[_0x5de0f0(0x2a1)]:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194[_0x5de0f0(0x1b4)]},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};case _0x51c9a6['SHOULD_CLOSE_CONN']:return{..._0x1d36d1,'data':{..._0x422194,'data':_0x422194['shouldCloseConn']},'cmd':_0x1d36d1[_0x5de0f0(0x240)]};default:return _0x1d36d1;}}default:return _0x1d36d1;}}function zn(_0x10920f){var _0x2f4552=_0x7744bf;switch(_0x10920f['cmd']){case F[_0x2f4552(0x320)]:case F['HELLO']:return JSON[_0x2f4552(0x48c)]({'cmd':_0x10920f[_0x2f4552(0x240)],'routeKey':_0x10920f[_0x2f4552(0x27b)]});case F[_0x2f4552(0x3aa)]:{let _0xff65f2;switch(_0x10920f[_0x2f4552(0x432)][_0x2f4552(0x1e1)]){case _0x51c9a6['UPDATE_CURSOR']:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x44c)],'updateCursorEvent':_0x10920f[_0x2f4552(0x432)][_0x2f4552(0x432)]};break;}case _0x51c9a6[_0x2f4552(0x2ce)]:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x2ce)],'leaveEvent':_0x10920f[_0x2f4552(0x432)][_0x2f4552(0x432)]};break;}case _0x51c9a6[_0x2f4552(0x29b)]:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x29b)],'joinEvent':_0x10920f['data'][_0x2f4552(0x432)]};break;}case _0x51c9a6[_0x2f4552(0x47c)]:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x47c)],'liveShareNewHost':_0x10920f[_0x2f4552(0x432)]['data']};break;}case _0x51c9a6['LIVESHARE_OPERATION']:{_0xff65f2={'eventID':_0x51c9a6['LIVESHARE_OPERATION'],'liveShareOperation':_0x10920f[_0x2f4552(0x432)][_0x2f4552(0x432)]};break;}case _0x51c9a6['LIVESHARE_TERMINATE']:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x3e8)],'liveShareTerminate':_0x10920f[_0x2f4552(0x432)][_0x2f4552(0x432)]};break;}case _0x51c9a6[_0x2f4552(0x477)]:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x477)],'liveShareRequestHost':_0x10920f[_0x2f4552(0x432)]['data']};break;}case _0x51c9a6[_0x2f4552(0x315)]:{_0xff65f2={'eventID':_0x51c9a6[_0x2f4552(0x315)]};break;}default:_0xff65f2={'eventID':_0x10920f[_0x2f4552(0x432)][_0x2f4552(0x1e1)]};}return JSON['stringify']({'cmd':_0x10920f[_0x2f4552(0x240)],'routeKey':_0x10920f[_0x2f4552(0x27b)],'collaMsg':_0xff65f2});}case F['JOIN']:return JSON[_0x2f4552(0x48c)]({'cmd':_0x10920f['cmd'],'routeKey':_0x10920f['routeKey'],'joinReq':_0x10920f[_0x2f4552(0x432)]});case F[_0x2f4552(0x394)]:return JSON['stringify']({'cmd':_0x10920f[_0x2f4552(0x240)],'routeKey':_0x10920f[_0x2f4552(0x27b)],'leaveReq':_0x10920f[_0x2f4552(0x432)]});default:throw new Error(_0x2f4552(0x28d));}}var Yn=Object[_0x7744bf(0x467)],qn=Object[_0x7744bf(0x1c0)],Jn=(_0x2df000,_0xd0fc79,_0x4c6cad,_0x487cd2)=>{var _0x4e47dd=_0x7744bf;for(var _0x2526af=_0x487cd2>0x1?void 0x0:_0x487cd2?qn(_0xd0fc79,_0x4c6cad):_0xd0fc79,_0x578b26=_0x2df000[_0x4e47dd(0x1db)]-0x1,_0x21024b;_0x578b26>=0x0;_0x578b26--)(_0x21024b=_0x2df000[_0x578b26])&&(_0x2526af=(_0x487cd2?_0x21024b(_0xd0fc79,_0x4c6cad,_0x2526af):_0x21024b(_0x2526af))||_0x2526af);return _0x487cd2&&_0x2526af&&Yn(_0xd0fc79,_0x4c6cad,_0x2526af),_0x2526af;},we=(_0x212c93,_0x33db03)=>(_0x15251d,_0x351a8d)=>_0x33db03(_0x15251d,_0x351a8d,_0x212c93);const Ci=_0x1a6a69(_0x7744bf(0x33e));function Xn(_0x18079e,_0x211d22,_0x5a015c){var _0x304faa=_0x7744bf;return _0x18079e+'/'+_0x211d22+_0x304faa(0x210)+_0x5a015c+_0x304faa(0x2e0);}let It=class extends _0x3a9433{constructor(_0x61f112,_0x4e096c,_0x3cbbce,_0x121401,_0x440321){var _0x3d0154=_0x7744bf;super(),this['_injector']=_0x61f112,this[_0x3d0154(0x392)]=_0x4e096c,this[_0x3d0154(0x1f1)]=_0x3cbbce,this[_0x3d0154(0x21a)]=_0x121401,this[_0x3d0154(0x482)]=_0x440321;}[_0x7744bf(0x396)](_0x273451){var _0x21212f=_0x7744bf;const _0x42969a=this[_0x21212f(0x1d9)]['get'](_0x45bfe5);if(!_0x42969a)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1a0edf=_0x42969a[_0x21212f(0x396)](_0x273451);if(!_0x1a0edf)throw new Error(_0x21212f(0x257));const _0x5e06ac=new _0x50421a(),_0x2f749c=new _0x14ccc3();_0x5e06ac['add'](_0x1a0edf['close$'][_0x21212f(0x447)](_0x21a363=>_0x2f749c[_0x21212f(0x3a5)](_0x21a363))),_0x5e06ac[_0x21212f(0x324)](_0x52f3e6(()=>_0x2f749c[_0x21212f(0x35f)]()));const _0x147751=new _0x14ccc3();_0x5e06ac[_0x21212f(0x324)](_0x1a0edf[_0x21212f(0x40d)][_0x21212f(0x447)](_0x56d909=>_0x147751['next'](_0x56d909))),_0x5e06ac[_0x21212f(0x324)](_0x52f3e6(()=>_0x147751[_0x21212f(0x35f)]()));const _0x1f97d5=new _0x14ccc3();_0x5e06ac[_0x21212f(0x324)](_0x1a0edf[_0x21212f(0x31f)][_0x21212f(0x447)](_0xc9c999=>{var _0x2f13d7=_0x21212f;const _0x25aa33=Kn(_0xc9c999);_0x1f97d5[_0x2f13d7(0x3a5)](_0x25aa33);})),_0x5e06ac[_0x21212f(0x324)](_0x52f3e6(()=>_0x1f97d5[_0x21212f(0x35f)]()));let _0x4d788b;const _0x471a3e=()=>{var _0x107d62=_0x21212f;_0x147751[_0x107d62(0x3a5)](new Event(_0x107d62(0x260))),_0x2f749c['next'](new CloseEvent(_0x107d62(0x260))),_0x4d788b[_0x107d62(0x2b5)]();};return _0x4d788b={'memberID':'','close$':_0x2f749c[_0x21212f(0x463)](),'error$':_0x147751[_0x21212f(0x463)](),'open$':_0x1a0edf[_0x21212f(0x300)],'message$':_0x1f97d5['asObservable'](),'send':_0x2e12d8=>{var _0x713d80=_0x21212f;if(_0x2e12d8[_0x713d80(0x240)]===F[_0x713d80(0x3aa)]){if(_0x2e12d8['data'][_0x713d80(0x1e1)]===_0x51c9a6[_0x713d80(0x2f3)]){this['_submitChangeset'](_0x4d788b,_0x2e12d8[_0x713d80(0x432)])['catch'](_0x34630b=>{var _0x2419b9=_0x713d80;this[_0x2419b9(0x21a)]['error'](_0x34630b),_0x471a3e();});return;}if(_0x2e12d8['data'][_0x713d80(0x1e1)]===_0x51c9a6[_0x713d80(0x33a)]){const _0x459a5e=_0x2e12d8[_0x713d80(0x432)];this[_0x713d80(0x347)](_0x459a5e)['then'](_0x4f2f1b=>{var _0x9d4e71=_0x713d80;_0x1f97d5[_0x9d4e71(0x3a5)]({'cmd':F[_0x9d4e71(0x310)],'code':Ee['OK'],'routeKey':_0x459a5e[_0x9d4e71(0x432)][_0x9d4e71(0x277)],'routeType':'','data':{'eventID':_0x51c9a6[_0x9d4e71(0x338)],'data':{'changesets':_0x4f2f1b}}});})[_0x713d80(0x290)](_0x36145c=>{var _0x237c5e=_0x713d80;this[_0x237c5e(0x21a)][_0x237c5e(0x44a)](_0x36145c),_0x471a3e();});return;}}_0x1a0edf['send'](zn(_0x2e12d8));},'close':()=>{var _0x39a954=_0x21212f;_0x1a0edf['close'](),_0x5e06ac[_0x39a954(0x348)]();}},_0x4d788b;}async['_submitChangeset'](_0x3189ec,_0x58f29f){var _0x1cb4e0=_0x7744bf,_0x818068,_0x5f52eb;const {unitType:_0xa363d,unitID:_0x28d0ad,changeset:_0x2d5a72}=_0x58f29f[_0x1cb4e0(0x432)],_0xfa547b={'unitID':_0x28d0ad,'memberID':_0x3189ec['memberID'],'type':_0xa363d,'changeset':_0x27f427(_0x2d5a72)},_0x57c5c7=this[_0x1cb4e0(0x1f1)][_0x1cb4e0(0x3e9)](jn),_0x3bc4d5=this[_0x1cb4e0(0x1f1)][_0x1cb4e0(0x3e9)](Y),_0x4c1bf5=Xn((_0x5f52eb=(_0x818068=_0x3bc4d5==null?void 0x0:_0x3bc4d5[_0x1cb4e0(0x3de)])!=null?_0x818068:_0x57c5c7)!=null?_0x5f52eb:Bn,_0xa363d,_0x28d0ad);try{await this[_0x1cb4e0(0x392)]['post'](_0x4c1bf5,{'body':_0xfa547b});}catch(_0x4ac08f){throw this[_0x1cb4e0(0x21a)][_0x1cb4e0(0x44a)](_0x1cb4e0(0x2d2),'submit\x20changeset\x20error!'),_0x4ac08f;}}async[_0x7744bf(0x347)](_0x548148){var _0x12c43d=_0x7744bf;const {unitID:_0x5e2ab6,from:_0x4bdd11,to:_0x414746,unitType:_0x15ec14}=_0x548148[_0x12c43d(0x432)];return(await this['_snapshotServerService'][_0x12c43d(0x3ad)]({'metadata':void 0x0},{'unitID':_0x5e2ab6,'type':_0x15ec14,'from':_0x4bdd11,'to':_0x414746}))[_0x12c43d(0x496)];}};It=Jn([we(0x0,_0x46f2f9(_0x6d28a0)),we(0x1,_0x46f2f9(_0x381081)),we(0x2,_0x387952),we(0x3,_0x36e00a),we(0x4,_0x1f721a)],It);function _0x37d6(){var _0x465795=['_xformMode','getTypeOfUnitDisposed$','_pendingMutations','COLLAB_WEB_SOCKET_URL','selections','_initUnitPermissionChange','subject','isPermissionRej','_doCryptBlock','onSyncEditingCollabCursor','RETRY_CONNECTING_MAX_COUNT','sid','[CollaborationEntity]','action','complete','filter','exports','from','event$','_init','forEach','_sessionStatus$','OPTIONAL','append','updatePermissionPoint','getDeserializedSheetBlock','reject','APPLY_PERMISSION_DENIED','getAllMembers','refreshPermission','csShouldRetryEvent','batchAllowed','_resendWithTimeout','getValue','resolve','3508662QGXmZZ','roomInfos','/universer-api/comb','removeMember','format','\x20to\x20','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Encryptor','_type','objects','pauseCollaboration','status$','algo','univer-pro.collaboration-client.single-active-unit-service','UUID','\x20-\x20','post','includes','/fetchmissing?from=','_DEC_XFORM_MODE','/universer-api/authz','min','NOT_FOUND','_undoStacks','_toggleOnline','unitId\x20is\x20not\x20found','_disableEditing','readInt32LE','onTransformState','_candidateSocket','_http','UnitEmbedded','LEAVE','fetch_missing','createSocket','finalize','requireSession','Hasher','ciphertext','IDLE','SOCKET_FAILED_RETRY','_unlockTransition','src','_process','_localCacheService','crypto','unpad','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','objectActions','next','readyForCollab','collaborators','compose','listRoles','INGEST','ALREADY_EXISTS','Decryptor','fetchMissingChangesets','getUnitStatus$','SNAPSHOT_SERVER_URL_KEY','confirm','HMAC','kdf','deleteCollaborator','11344305aEHtFg','/-/object/list','_initRequestHeader','ruleRefresh','UNIVER_SLIDE','_resendTimeout','now','BufferedBlockAlgorithm','retryConnectingInterval','_toggleOffline','DEFAULT_FILE_NAME','ONLINE','range','onStateChange','allowed','_getCurrentRevision','disposeWithMe','_getAPIPrefix','session.join-failed','collaboration-client.config','setConfig','fetchMiss','NOT_COLLAB','_telemetryService','_shouldReportTelemetry','PasswordBasedCipher','_socketReady','conflict','&assign=','_syncEditingCollabCursor','_mode','BlockCipherMode','HEARTBEAT_TIMEOUT','_scheduleCollaborationTimeoutTimer','reset','bind','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','socket\x20close','/object','_getSessionTicket','loadSheet','value','collabSubmitChangesetUrl','infoRsp','target','OFFLINE','getTargetByPermissionId','_ENC_XFORM_MODE','_getCtorByUniverType','onStarting','joinEvent','_sendHeartbeatTimer','LIVESHARE_TERMINATE','getConfig','_acknowledgedAwaitingChangeset','_undoRedoService','_showConflictNotification','_event$','socket$','byteLength','_entities','_updateLocalCache','getUnitType','cfg','NO_OTHER_CLIENTS_EDITING','compute','_getAPIPrefixPath','onTransformIME','_changesetReqId','_HTTPService','_executeRemoteChangeset','_singleActiveUnitService','_sessions','getImage','\x0aCurrent:\x20','onRemoteChangeset','Latin1','CHANGESET_ACK','_changesetSessionId','_univerInstanceService','_onFetchMissResult','{fileID}','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','title','CONFLICT','__creator','POST','sendChangesetTimeout','m2Prime','error$','map','getInterceptPoints','create','online$','clear','_doProcessBlock','fetchThroughInterceptors','HttpExport','NoPadding','snapshot','_imageSourceCache','objectID','_updateState','[OfflineState]:\x20received\x20changeset.','_loadDoc','[SyncedState]:\x20received\x20rejection.','[UniverCollaborationClientPlugin]','_onLocalMutation','EvpKDF','getMemberID','get','saveImage','processBlock','set','/universer-api/oidc/authpage','onMissedChangesetFetched','_joinRoom','parse','extend','disableLocalCache','enableSingleActiveInstanceLock','_collaborationTimeoutTimer','formatter','appendMutation','session.room-cnt-exceeds','createInstance','data','saveSheetBlock','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','pending','wsSessionTicketUrl','ceil','onTransformRemoteChangesetByStateCache','StreamCipher','_createHelper','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','isArray','find','SNAPSHOT_HAS_BEEN_REMOVED','charCodeAt','_clearTimeoutTimer','_onUserLeave','baseRev','clearUndoRedo','Hex','__esModule','not_collab','subscribe','_state$','joinRsp','error','ivSize','UPDATE_CURSOR','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','MUTATION','csRejEvent','_commandService','getFocusedUnit','_clearScheduledTask','_getDownloadEndpointURL','hasOwnProperty','updateMember','/universer-api/stream/file/upload','UNIVER_DOC','COMPRESS_MUTATION_SEND','function','delete','getUnitOnRev','_parse','commentUpdateEvent','NEW_CHANGESETS','mixIn','/block/','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','asObservable','OTHER_CLIENT_EDITING','failed\x20to\x20apply\x20missed\x20changesets!','session.room-not-exists','defineProperty','randomUUID','leaveEvent','call','_hasher','3324304NJHien','loadUnit','_unitInfo$','ERROR_IMAGE','_resendTimer','editingUnit','editing\x20status\x20changed\x20to','_handlerCallback','liveShareOperation','init','onCommandExecuted','LIVESHARE_REQUEST_HOST','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','?size=','createEncryptor','enc','LIVESHARE_NEW_HOST','_tryEnsureSocket','toggleOnline','sessionStatus$','/rev/','_tryReconnect','_snapshotServerService','transformSelections','_sheetTransformSelectionsService','_stopTelemetryCollaborationNewChangeset','entries','_prevBlock','transformStack\x20failed!','_iKey','collabWebSocketUrl','getUnitId','stringify','[CollaborationState]:\x20apply\x20error!','getRandomValues','COMPLETION_FINISHED','subType','saveChangeset','UnitSnapshot','sigBytes','_onConnectionOpen','salt','changesets','json','capture','_startCollaboration','UNIVER_SHEET','_config','keySize','replace','saveSnapshot','CBC','CLOSE_ROOM','pluginName','_httpService','clamp','slice','[DataLoaderService]','reconnect','_getSendChangesetTimeout','memberID','onRemoteAck','_transformRemoteChangesetByIMECache','YUUMI_URL_COL_OUT_OF_RANGE','/universer-api/user/session-ticket','YUUMI_SUBSCRIPTION_NOT_FOUND','_createSocketURL','encrypt','JOIN_ROOM_NOT_EXISTS','185082CrZuEZ','UNAUTHENTICATED','Malformed\x20UTF-8\x20data','send','requestParams','has','_onUserJoin','FileId','apply','WordArray','updatePermissionObjEvent','createCollaborator','close$','list','userID','Univer','session','FAIL','image/gif','_data','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SUCCUSS','getOwnPropertyDescriptor','_updateStatus','_clearCollaborationTimeoutTimer','_telemetryInfo','[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.','_transformSelections','awaitingChangeset','HEARTBEAT_INTERVAL','_schedule','_instanceService','withCredentials','onSendChangeset','SHA1','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_nDataBytes','pipe','location','_onRemoteRetry','_iv','SHOULD_CLOSE_CONN','_authzIoService','loadDoc','_retryConnectingTimer','SUBMIT_CHANGESET_TIMEOUT','resend','_injector','awaiting_with_pending','length','_getRedoStack','startsWith','splice','getLatestCsReqIdBySid','onTransformSelections','eventID','startTime','3SwDNiE','_onRecvEvent','findIndex','getPermissionPoint','_keyPriorReset','_change$','SEND_CHANGESET_TIMEOUT','_sendingTimer','_applyRemoteChangeset','\x0aAfter:\x20','equals','_commentService','_keySchedule','textRanges','_configService','_createHandler','fromCollab','_collabSessionService','_transformStack','_clearLocalCache','_entityInit$','getSheetBlock','_redoStacks','JOIN_ROOM_PERMISSION_DENIED','href','UNIVER_PROJECT','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','charAt','transformUndoRedo','_transformUndoredo','LOGIN_URL_KEY','COMMENT_UPDATE','APPLY_REJECT','decrypt','_getSignURL','/universer-api/file/{fileID}/sign-url','_createInitialStateImpl','_createHmacHelper','resourceIDs','_awaitingChangeset','SNAPSHOT_INVALID_SNAPSHOT','max','state$','_isPermissionRej','repeat','/unit/','onTransformRemoteChangesetByIMECache','INTERNAL_ERROR','getCurrentUser','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CHANGESET_REVISION_CONFILICT','originalMeta','unsubscribe','debug','concat','_logService','setWaitCount','_sendHeartbeat','111059WPrjGz','string','onRemoteRej','origin','msCrypto','push','_transformRemoteChangesetByStateCache','_decreaseWaiting','/resources','mutations','HmacSHA1','HttpImport','floor','univer-pro.collaboration-client.network-condition.service','_revisionService','_onConnectionFailed','COLLAB_SUBMIT_CHANGESET_URL','OTHER_CLIENTS_EDITING','body','blockSize','_onJoinRoomEvent','_checkMissing','_throwTelemetryCollaborationNewChangeset','actions','_unitID','80mYpwNB','_socketMessageSubscription','size','prototype','getTime','addImageSourceCache','searchParams','_registerDependencies','getTypeOfUnitAdded$','UNKNOWN_CMD','cmd','code','[PendingState]:\x20received\x20acknowledgement.','_waitCount','localCacheService','name','_createSocket','closeSession','randomBytes','_hash','initWorkbookPermissionChange','AES','_onOffline','listCollaborators','collaboration-client.local-cache-service','LICENSE_DISTRO_REJECTED','unit-cache-','MSG_FOR_ERROR','getCurrentUnitForType','iterations','members','_incrementRevisionNumber','_transformStateCache','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_map','transformMutationsWithChangeset','_clearUndo','UNRECOGNIZED','_collaborationPaused','_status$','_onRemoteACK','/object/','connection\x20error','indexOf','_transitionLocked','execute','save\x20fail\x20reason\x20is\x20','getSheetId','result','toString','_listenToNetworkCondition','sessionStatus','_handler','interceptor','_invKeySchedule','_doReset','/allowed','_substituteRedoStack','_state','\x20in\x20_schedule.','_replayCachedMutations','getCurrentRevOfUnit','params','UNIVER_UNKNOWN','_key','unitID','_queuedRemoteChangesets','_permissionService','_sender','routeKey','clone','getImageSourceCache','sheets','setShowComponents','collaboration_new_changeset','HELLO','getMember','getSnapshotAPIPath','YUUMI_RATE_OVER_LIMIT','sessionTicket','byteOffset','subUnitId','APPLY_REVISION_CONFILICT','onRemoteRetry','key','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','toLowerCase','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[CollaborationSessionService]:\x20socket\x20error','method','catch','LICENSE_IMPORT_SIZE_EXCEEDED','loadOfflineData','Undefined','getCollabEntity$','APPLY_DUPLICATED','_cipher','Cipher','Base','readAsDataURL','BlockCipher','USERS_ENTER','createDecryptor','image/jpeg','liveShareNewHost','awaiting','_append','UPDATE_PERMISSION_OBJ','buffer','_startTelemetryCollaborationNewChangeset','pad','_members','padding','rng','LIVESHARE_OPERATION','headers','_minBufferSize','/collaborator','_onCombEvent','signUrlServerUrl','LOCAL_CACHE_INTERVAL','PERMISSION_REJ','_lockTransition','LICENSE_EXPORT_SIZE_EXCEEDED','OpenSSL','update','PERSON','close','_rescheduleHeartbeat','_retryCount','synced','ENSURE_SNAPSHOT_EXECUTION','_clearHeartbeatTimer','abs','random','type','url','_waitForHeartbeatResponse','reqId','hasher','_timeoutTimer','status','JOIN','Utf8','_socket$','_onRemoteRejected','onLocalMutation','image/jpg','Could\x20not\x20dynamically\x20require\x20\x22','onCommentUpdate','?url=','workbook','USERS_LEAVE','SYNCED','JOINING','decryptBlock','[CollaborationSession]','GLOBAL_ROOMS_CNT_EXCEEDS','/universer-api/snapshot/','uploadFileServerUrl','executeCommand','unknown','_collaborationUIEventService','_nRounds','dispose$','ERROR_IMAGE_TYPE','CHANGESET_SHOULD_RETRY','_getUploadFileURL','socket\x20open.','encodeURIComponent','/new_changes','MD5','8623143FkWojL','Error\x20on\x20receiving\x20event','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','reduce','_commentUpdate$','_onRemoteChangeset','JOIN_ROOM_FAILED','[OfflineState]:\x20received\x20rejection.','symbol','LICENSE_MAX_UNITS_EXCEEDED','_collaborationSessionService','collaboratorID','enableAuthServer','onload','_memberService','_getUndoStack','5775040YJgvlM','SUBMIT_CHANGESET','authzUrl','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','registerHTTPInterceptor','CHANGESET_REJ','patch','_substituteUndoStack','Base64','YUUMI_UNABLE_LOAD_URL','_networkConditionService','COMPRESS_MUTATION_APPLY','hostname','AUTHZ_URL_KEY','open$','state','encode','avatar','ws://127.0.0.1:8000/universer-api/comb/connect','onlyLocal','_createInitialState','getResourcesRequest','_initCloseConn','getCollabEntity','_eventService','_replaceFileID','$super','socketService','stopTime','localeService','RECV','_snapshotService','SelectRange','c1Prime','UNDEFINED','LIVESHARE_FETCH_OPERATIONS','offline','_socket','transformChangesets','words','_compressMutationService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNKNOWN_CODE','_loadSheet','_clearRedo','message$','HEARTBEAT','collaMsg','_getLoginPath','objectType','add','setCurrentUser','join','/universer-api/snapshot','then','&to=','emitEvent','lib','_remoteChangesetQueue','[FetchMissState]','INVALID_ARGUMENT','substr','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_userManagerService','revision','getUnit','rev','/-/object/-/batch_allowed','_scheduleTimestamp','getRoom','PSEUDO_FETCH_MISSING_RESULT','_reverseMap','FETCH_MISSING','_doFinalize','TOO_MANY_REQUESTS','_roomMembers','univer-pro.collaboration-client-socket-service','EXCHANGE_SIGN_URL_SERVER_URL_KEY','permissionRejEvent','_transformService','_socketService','PERMISSION_DENIED','_transformIMECache','_localeService','SOCKET_FAILED','_fetchMissChangesets','dispose','encryptBlock','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_onConflict','unitId','toggleOffline','[CollaborationUndoRedoService]','onMissingChangesets','SNAPSHOT_URL_KEY'];_0x37d6=function(){return _0x465795;};return _0x37d6();}function _0x186f(_0x44d050,_0xbd8fc0){var _0x37d6fc=_0x37d6();return _0x186f=function(_0x186f95,_0x4e885e){_0x186f95=_0x186f95-0x1b0;var _0xa6ac58=_0x37d6fc[_0x186f95];return _0xa6ac58;},_0x186f(_0x44d050,_0xbd8fc0);}const Zn=_0x7744bf(0x280);function Qn(_0x2b9779){var _0x1f8e75=_0x7744bf;return JSON[_0x1f8e75(0x48c)](_0x2b9779)[_0x1f8e75(0x1db)];}class bi{constructor(){var _0x59c4d1=_0x7744bf;D(this,_0x59c4d1(0x2e6),new _0x14ccc3()),D(this,'commentUpdate$',this[_0x59c4d1(0x2e6)]['asObservable']());}[_0x7744bf(0x2cb)](_0x1a4264){var _0x846e93=_0x7744bf;this[_0x846e93(0x2e6)][_0x846e93(0x3a5)](_0x1a4264);}}var es=Object[_0x7744bf(0x467)],ts=Object[_0x7744bf(0x1c0)],is=(_0x48ff66,_0x4e9496,_0x91a1c0,_0x4c1e1d)=>{var _0x3bf932=_0x7744bf;for(var _0x12ea44=_0x4c1e1d>0x1?void 0x0:_0x4c1e1d?ts(_0x4e9496,_0x91a1c0):_0x4e9496,_0x50e7f5=_0x48ff66[_0x3bf932(0x1db)]-0x1,_0x3f4069;_0x50e7f5>=0x0;_0x50e7f5--)(_0x3f4069=_0x48ff66[_0x50e7f5])&&(_0x12ea44=(_0x4c1e1d?_0x3f4069(_0x4e9496,_0x91a1c0,_0x12ea44):_0x3f4069(_0x12ea44))||_0x12ea44);return _0x4c1e1d&&_0x12ea44&&es(_0x4e9496,_0x91a1c0,_0x12ea44),_0x12ea44;},zt=(_0x380743,_0x5329b7)=>(_0x53d266,_0x6a286c)=>_0x5329b7(_0x53d266,_0x6a286c,_0x380743);let Le=class extends _0x3a9433{constructor(_0x16d6b4,_0x5576c6){var _0x2c59e0=_0x7744bf;super(),D(this,_0x2c59e0(0x33d),new Map()),(this['_univerInstanceService']=_0x16d6b4,this['_userManagerService']=_0x5576c6,this[_0x2c59e0(0x3c4)](_0x52f3e6(_0x2a7ebf(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2a4642[_0x2c59e0(0x49a)])['pipe'](_0x30311a(_0x1150e5=>_0x1150e5[_0x2c59e0(0x48b)]())),this['_univerInstanceService'][_0x2c59e0(0x352)](_0x2a4642[_0x2c59e0(0x457)])['pipe'](_0x30311a(_0x2da16a=>_0x2da16a[_0x2c59e0(0x48b)]())),this[_0x2c59e0(0x403)][_0x2c59e0(0x352)](_0x2a4642[_0x2c59e0(0x3b8)])['pipe'](_0x30311a(_0x2653f6=>_0x2653f6[_0x2c59e0(0x48b)]())))[_0x2c59e0(0x447)](_0xc9677d=>this['_removeRoom'](_0xc9677d)))));}[_0x7744bf(0x325)](_0x35bdeb){var _0x570107=_0x7744bf;this[_0x570107(0x331)][_0x570107(0x325)](_0x35bdeb);}[_0x7744bf(0x213)](){var _0xdded9f=_0x7744bf;return this[_0xdded9f(0x331)]['getCurrentUser']();}[_0x7744bf(0x455)](_0x37cb05,_0x3793b8){var _0x368464=_0x7744bf;let _0x179ea4=this['_roomMembers'][_0x368464(0x422)](_0x37cb05);_0x179ea4||(_0x179ea4=new ns(),this[_0x368464(0x33d)][_0x368464(0x425)](_0x37cb05,_0x179ea4)),_0x179ea4[_0x368464(0x455)](_0x3793b8);}[_0x7744bf(0x377)](_0x1a4ef3,_0x5a409e){var _0x389770=_0x7744bf;const _0x564c68=this[_0x389770(0x33d)][_0x389770(0x422)](_0x1a4ef3);_0x564c68&&_0x564c68[_0x389770(0x377)](_0x5a409e);}[_0x7744bf(0x337)](_0x3c22ab){return this['_roomMembers']['get'](_0x3c22ab);}[_0x7744bf(0x282)](_0x12eea3,_0x535184){var _0x2f48fb=_0x7744bf;const _0x6f2929=this[_0x2f48fb(0x33d)][_0x2f48fb(0x422)](_0x12eea3);if(_0x6f2929)return _0x6f2929[_0x2f48fb(0x282)](_0x535184);}['_removeRoom'](_0x34f708){var _0x763e47=_0x7744bf;const _0x36213f=this[_0x763e47(0x33d)][_0x763e47(0x422)](_0x34f708);_0x36213f&&(_0x36213f['dispose'](),this[_0x763e47(0x33d)]['delete'](_0x34f708));}[_0x7744bf(0x348)](){var _0x36c50c=_0x7744bf;this['_roomMembers'][_0x36c50c(0x365)](_0x113ab4=>_0x113ab4['dispose']()),this['_roomMembers'][_0x36c50c(0x412)]();}};Le=is([zt(0x0,_0x464ce2),zt(0x1,_0x46f2f9(_0x1b5f6d))],Le);class ns extends _0x3a9433{constructor(){var _0x5640a7=_0x7744bf;super(...arguments),D(this,_0x5640a7(0x2a5),new Map());}['dispose'](){var _0x3f2827=_0x7744bf;this['_members'][_0x3f2827(0x412)]();}[_0x7744bf(0x455)](_0x37b153){var _0x39a5a8=_0x7744bf;this[_0x39a5a8(0x2a5)][_0x39a5a8(0x425)](_0x37b153[_0x39a5a8(0x4a8)],_0x37b153);}[_0x7744bf(0x377)](_0x3bb371){var _0x3e123d=_0x7744bf;this[_0x3e123d(0x2a5)][_0x3e123d(0x45a)](_0x3bb371);}[_0x7744bf(0x282)](_0x406c9b){var _0xab4401=_0x7744bf;return this['_members'][_0xab4401(0x422)](_0x406c9b);}[_0x7744bf(0x36d)](){var _0x57c88c=_0x7744bf;return Array[_0x57c88c(0x362)](this[_0x57c88c(0x2a5)]['values']());}}var ss=Object[_0x7744bf(0x467)],rs=Object['getOwnPropertyDescriptor'],os=(_0x5dead0,_0x1c63be,_0x2b2b93,_0x116037)=>{for(var _0x563389=_0x116037>0x1?void 0x0:_0x116037?rs(_0x1c63be,_0x2b2b93):_0x1c63be,_0x46a71c=_0x5dead0['length']-0x1,_0x27f306;_0x46a71c>=0x0;_0x46a71c--)(_0x27f306=_0x5dead0[_0x46a71c])&&(_0x563389=(_0x116037?_0x27f306(_0x1c63be,_0x2b2b93,_0x563389):_0x27f306(_0x563389))||_0x563389);return _0x116037&&_0x563389&&ss(_0x1c63be,_0x2b2b93,_0x563389),_0x563389;},ge=(_0x273f46,_0x4de12f)=>(_0x7ad8a4,_0x14596e)=>_0x4de12f(_0x7ad8a4,_0x14596e,_0x273f46),Ie=(_0xf5d9e6=>(_0xf5d9e6[_0xf5d9e6[_0x7744bf(0x39b)]=0x0]=_0x7744bf(0x39b),_0xf5d9e6[_0xf5d9e6[_0x7744bf(0x2d0)]=0x1]=_0x7744bf(0x2d0),_0xf5d9e6[_0xf5d9e6[_0x7744bf(0x3e1)]=0x2]=_0x7744bf(0x3e1),_0xf5d9e6[_0xf5d9e6['ONLINE']=0x3]='ONLINE',_0xf5d9e6))(Ie||{});const Yt={[Ee['FAIL']]:_0x7744bf(0x3c6),[Ee['JOIN_ROOM_FULL']]:'session.room-full',[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x7744bf(0x466),[Ee[_0x7744bf(0x1fa)]]:'session.room-permission-denied',[Ee[_0x7744bf(0x2d3)]]:_0x7744bf(0x430)};let Tt=class extends _0x2bcc2a{constructor(_0x2fe612,_0x56dd00,_0x4b6d95,_0x37962d,_0x1945c2,_0x1c1645,_0x2bcaea,_0x3a9ba9,_0x528064){var _0x2bed39=_0x7744bf;super(),D(this,_0x2bed39(0x366),new _0xb58407(0x0)),D(this,_0x2bed39(0x47f),this[_0x2bed39(0x366)][_0x2bed39(0x463)]()),D(this,'_event$',new _0x14ccc3()),D(this,_0x2bed39(0x363),this['_event$'][_0x2bed39(0x463)]()),D(this,_0x2bed39(0x317)),D(this,_0x2bed39(0x237)),D(this,_0x2bed39(0x42d)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x2bed39(0x1c3),null),(this['_unitID']=_0x2fe612,this[_0x2bed39(0x21a)]=_0x4b6d95,this[_0x2bed39(0x1f1)]=_0x37962d,this[_0x2bed39(0x345)]=_0x1945c2,this[_0x2bed39(0x2f0)]=_0x1c1645,this[_0x2bed39(0x1ee)]=_0x2bcaea,this[_0x2bed39(0x2d8)]=_0x3a9ba9,this[_0x2bed39(0x3cb)]=_0x528064,this[_0x2bed39(0x3cc)]=!!this['_telemetryService'],_0x56dd00[_0x2bed39(0x1cf)](_0x31e53b(this[_0x2bed39(0x2da)]))['subscribe'](_0xc01a2f=>{var _0x5875d6=_0x2bed39,_0x4ae2a0;typeof _0xc01a2f>'u'||(this[_0x5875d6(0x317)]=_0xc01a2f,_0xc01a2f?(this[_0x5875d6(0x428)](_0xc01a2f),this['_socketMessageSubscription']=_0xc01a2f[_0x5875d6(0x31f)][_0x5875d6(0x447)](_0x2287f6=>{var _0x268bff=_0x5875d6;_0x2287f6[_0x268bff(0x27b)]===this['_unitID']&&this[_0x268bff(0x2ac)](_0x2287f6);})):(this[_0x5875d6(0x233)](),this[_0x5875d6(0x366)][_0x5875d6(0x3a5)](0x2),(_0x4ae2a0=this[_0x5875d6(0x237)])==null||_0x4ae2a0[_0x5875d6(0x217)](),this[_0x5875d6(0x237)]=null));}));}get[_0x7744bf(0x269)](){var _0x42ccd4=_0x7744bf;return this[_0x42ccd4(0x366)]['getValue']();}[_0x7744bf(0x421)](){var _0x4c6d35=_0x7744bf,_0x3af9cc,_0x5d8446;return(_0x5d8446=(_0x3af9cc=this['_socket'])==null?void 0x0:_0x3af9cc[_0x4c6d35(0x4a8)])!=null?_0x5d8446:null;}[_0x7744bf(0x348)](){var _0x38ec8c=_0x7744bf;super['dispose'](),this['dispose$']['next'](),this[_0x38ec8c(0x2da)][_0x38ec8c(0x35f)]();}[_0x7744bf(0x2b5)](){var _0x198469=_0x7744bf,_0x2e2c5f,_0x32e1b4;this[_0x198469(0x233)](),(_0x2e2c5f=this[_0x198469(0x317)])==null||_0x2e2c5f['send']({'cmd':F[_0x198469(0x394)],'data':{'roomID':this['_unitID']}}),(_0x32e1b4=this[_0x198469(0x317)])==null||_0x32e1b4[_0x198469(0x2b5)](),this[_0x198469(0x3ed)]['complete'](),this[_0x198469(0x366)][_0x198469(0x35f)](),this['dispose']();}[_0x7744bf(0x2ac)](_0x357987){var _0x5bd971=_0x7744bf;_0x357987['cmd']===F[_0x5bd971(0x2c4)]?this['_onJoinRoomEvent'](_0x357987):_0x357987[_0x5bd971(0x240)]===F[_0x5bd971(0x310)]&&this[_0x5bd971(0x1e4)](_0x357987);}[_0x7744bf(0x428)](_0x1aa7c3){var _0x29ef97=_0x7744bf;this[_0x29ef97(0x366)][_0x29ef97(0x3a5)](0x1),_0x1aa7c3[_0x29ef97(0x4b4)]({'cmd':F[_0x29ef97(0x2c4)],'routeKey':this[_0x29ef97(0x235)],'routeType':'','data':{'rooms':[{'roomID':this[_0x29ef97(0x235)]}]}});}[_0x7744bf(0x231)](_0x2d1ec4){var _0x2ec24e=_0x7744bf,_0x5ba0ff;if(_0x2d1ec4['code']in Yt){this[_0x2ec24e(0x2d8)][_0x2ec24e(0x32a)]({'id':se[_0x2ec24e(0x2e8)],'data':Yt[_0x2d1ec4[_0x2ec24e(0x241)]]}),this[_0x2ec24e(0x366)][_0x2ec24e(0x3a5)](0x2);return;}this[_0x2ec24e(0x366)][_0x2ec24e(0x3a5)](0x3);const _0xb409ab=(_0x5ba0ff=_0x2d1ec4[_0x2ec24e(0x432)][_0x2ec24e(0x375)][this[_0x2ec24e(0x235)]])==null?void 0x0:_0x5ba0ff[_0x2ec24e(0x254)];_0xb409ab&&_0xb409ab[_0x2ec24e(0x365)](_0x5ad44e=>this[_0x2ec24e(0x2f0)]['updateMember'](this[_0x2ec24e(0x235)],_0x5ad44e));}[_0x7744bf(0x1e4)](_0x28911c){var _0x5ee4cc=_0x7744bf;try{const _0xd6dda0=_0x28911c[_0x5ee4cc(0x432)];switch(_0xd6dda0[_0x5ee4cc(0x1e1)]){case _0x51c9a6[_0x5ee4cc(0x29b)]:this['_onUserJoin'](_0xd6dda0),this[_0x5ee4cc(0x3ed)][_0x5ee4cc(0x3a5)](_0xd6dda0);break;case _0x51c9a6['USERS_LEAVE']:this['_onUserLeave'](_0xd6dda0),this['_event$'][_0x5ee4cc(0x3a5)](_0xd6dda0);break;case _0x51c9a6[_0x5ee4cc(0x401)]:case _0x51c9a6[_0x5ee4cc(0x2dc)]:this[_0x5ee4cc(0x485)](),this[_0x5ee4cc(0x1c2)](),this[_0x5ee4cc(0x3ed)][_0x5ee4cc(0x3a5)](_0xd6dda0);break;case _0x51c9a6[_0x5ee4cc(0x251)]:this[_0x5ee4cc(0x21a)][_0x5ee4cc(0x44a)](_0x5ee4cc(0x264)+JSON[_0x5ee4cc(0x48c)](_0xd6dda0)),this[_0x5ee4cc(0x3ed)][_0x5ee4cc(0x3a5)](_0xd6dda0);break;case _0x51c9a6['COMMENT_UPDATE']:this[_0x5ee4cc(0x1ee)][_0x5ee4cc(0x2cb)](_0xd6dda0[_0x5ee4cc(0x432)]),this[_0x5ee4cc(0x3ed)][_0x5ee4cc(0x3a5)](_0xd6dda0);break;default:this[_0x5ee4cc(0x3ed)]['next'](_0xd6dda0);}}catch(_0x6735c6){this[_0x5ee4cc(0x21a)]['error'](_0x6735c6,_0x28911c);}}[_0x7744bf(0x1b0)](_0x29e862){var _0x5f30de=_0x7744bf;this[_0x5f30de(0x2f0)][_0x5f30de(0x455)](this[_0x5f30de(0x235)],_0x29e862[_0x5f30de(0x432)]);}[_0x7744bf(0x441)](_0xd305ad){var _0x932091=_0x7744bf;this[_0x932091(0x2f0)][_0x932091(0x377)](this[_0x932091(0x235)],_0xd305ad[_0x932091(0x432)][_0x932091(0x4a8)]);}async['send'](_0x53f669,_0x30ac4f){var _0x5ddc98=_0x7744bf;if(this[_0x5ddc98(0x269)]!==0x3||!this[_0x5ddc98(0x317)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x53f669['eventID']===_0x51c9a6[_0x5ddc98(0x2f3)]&&(this[_0x5ddc98(0x3d5)](),this['_startTelemetryCollaborationNewChangeset'](_0x53f669)),this[_0x5ddc98(0x317)][_0x5ddc98(0x4b4)]({'cmd':F[_0x5ddc98(0x3aa)],'routeKey':_0x30ac4f,'routeType':'','data':_0x53f669});}catch(_0x5a37a4){this[_0x5ddc98(0x21a)][_0x5ddc98(0x44a)](_0x5a37a4);}}['_scheduleCollaborationTimeoutTimer'](){var _0x24bcdd=_0x7744bf,_0x539256;this[_0x24bcdd(0x42d)]=setTimeout(()=>{var _0x1fe8ad=_0x24bcdd;this[_0x1fe8ad(0x42d)]=null,this[_0x1fe8ad(0x2d8)][_0x1fe8ad(0x32a)]({'id':se[_0x1fe8ad(0x1d7)]});},(_0x539256=this['_configService'][_0x24bcdd(0x3e9)](Si))!=null?_0x539256:Ei);}[_0x7744bf(0x1c2)](){var _0x1d840a=_0x7744bf;this[_0x1d840a(0x42d)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x1d840a(0x42d)]=null);}[_0x7744bf(0x2a3)](_0x315dc1){var _0x5a3f24=_0x7744bf;if(!this['_shouldReportTelemetry'])return;const {data:_0x5819a7}=_0x315dc1,{unitID:_0x35085f,changeset:_0x179832}=_0x5819a7,{mutations:_0x224edd,type:_0x38d5a0}=_0x179832;this[_0x5a3f24(0x1c3)]={'unitId':_0x35085f,'type':_0x38d5a0,'startTime':performance[_0x5a3f24(0x3ba)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x224edd)};}[_0x7744bf(0x485)](){var _0x3666d5=_0x7744bf;if(this['_shouldReportTelemetry']){if(!this[_0x3666d5(0x1c3)]){this[_0x3666d5(0x21a)][_0x3666d5(0x44a)](_0x3666d5(0x2d2),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3666d5(0x1c3)][_0x3666d5(0x30e)]=performance[_0x3666d5(0x3ba)](),this[_0x3666d5(0x1c3)]['duration']=this['_telemetryInfo'][_0x3666d5(0x30e)]-this['_telemetryInfo'][_0x3666d5(0x1e2)],this[_0x3666d5(0x3cb)][_0x3666d5(0x498)](Zn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x7744bf(0x233)](){var _0x1a4d0a=_0x7744bf;this[_0x1a4d0a(0x1c3)]=null;}};Tt=os([ge(0x2,_0x36e00a),ge(0x3,_0x387952),ge(0x4,_0x46f2f9(_0x12cbe1)),ge(0x5,_0x46f2f9(Le)),ge(0x6,_0x46f2f9(bi)),ge(0x7,_0x46f2f9(pe)),ge(0x8,_0x49cb22(_0xc6cc18))],Tt);var as=Object[_0x7744bf(0x467)],cs=Object[_0x7744bf(0x1c0)],hs=(_0xa75cf6,_0xd61429,_0x3fa9e9,_0x57f11e)=>{for(var _0x3d7abf=_0x57f11e>0x1?void 0x0:_0x57f11e?cs(_0xd61429,_0x3fa9e9):_0xd61429,_0x50e508=_0xa75cf6['length']-0x1,_0x328878;_0x50e508>=0x0;_0x50e508--)(_0x328878=_0xa75cf6[_0x50e508])&&(_0x3d7abf=(_0x57f11e?_0x328878(_0xd61429,_0x3fa9e9,_0x3d7abf):_0x328878(_0x3d7abf))||_0x3d7abf);return _0x57f11e&&_0x3d7abf&&as(_0xd61429,_0x3fa9e9,_0x3d7abf),_0x3d7abf;},me=(_0x569092,_0x5d9654)=>(_0x36f15f,_0x163602)=>_0x5d9654(_0x36f15f,_0x163602,_0x569092);let Me=class extends _0x3a9433{constructor(_0x122292,_0x57d2cc,_0x2c474f,_0x4d2b36,_0x42f088,_0x4a873e,_0x45273c){var _0x15e7ce=_0x7744bf;super(),D(this,_0x15e7ce(0x2c6),new _0xb58407(void 0x0)),D(this,_0x15e7ce(0x3ee),this[_0x15e7ce(0x2c6)][_0x15e7ce(0x463)]()),D(this,_0x15e7ce(0x391),null),D(this,'_sessions',new Map()),D(this,_0x15e7ce(0x25d),new _0xb58407(Ie['IDLE'])),D(this,'status$',this[_0x15e7ce(0x25d)][_0x15e7ce(0x463)]()),D(this,_0x15e7ce(0x3ce),!0x1),D(this,_0x15e7ce(0x1d6)),D(this,_0x15e7ce(0x2b7),0x0),D(this,_0x15e7ce(0x3e7)),D(this,_0x15e7ce(0x2c2)),(this['_injector']=_0x122292,this[_0x15e7ce(0x21a)]=_0x57d2cc,this[_0x15e7ce(0x1f1)]=_0x2c474f,this[_0x15e7ce(0x342)]=_0x4d2b36,this['_httpService']=_0x42f088,this['_collaborationUIEventService']=_0x4a873e,this[_0x15e7ce(0x2fc)]=_0x45273c,this[_0x15e7ce(0x268)]());}get[_0x7744bf(0x317)](){var _0xb5ea50=_0x7744bf;return this['_socket$'][_0xb5ea50(0x372)]();}[_0x7744bf(0x268)](){var _0x502b45=_0x7744bf;this[_0x502b45(0x2fc)]&&this['disposeWithMe'](this[_0x502b45(0x2fc)][_0x502b45(0x411)]['subscribe'](_0xa09678=>{var _0xce96ec=_0x502b45;_0xa09678&&!this[_0xce96ec(0x317)]&&this[_0xce96ec(0x4a6)](),_0xa09678||this[_0xce96ec(0x24c)]();}));}[_0x7744bf(0x348)](){var _0x3cdc37=_0x7744bf;super[_0x3cdc37(0x348)](),this[_0x3cdc37(0x3fc)][_0x3cdc37(0x365)](_0x3de227=>_0x3de227['dispose']()),this[_0x3cdc37(0x3fc)][_0x3cdc37(0x412)](),this[_0x3cdc37(0x25d)][_0x3cdc37(0x35f)]();}async[_0x7744bf(0x398)](_0x5c818d){var _0x44e701=_0x7744bf;if(this[_0x44e701(0x3fc)][_0x44e701(0x4b6)](_0x5c818d))return this[_0x44e701(0x3fc)][_0x44e701(0x422)](_0x5c818d);this[_0x44e701(0x47d)]();const _0x370074=this[_0x44e701(0x1d9)][_0x44e701(0x431)](Tt,_0x5c818d,this['_socket$']['asObservable']());return this['_sessions'][_0x44e701(0x425)](_0x5c818d,_0x370074),_0x370074;}[_0x7744bf(0x247)](_0x5b8df3){var _0x549706=_0x7744bf,_0x3d268a;const _0x3ebb23=this[_0x549706(0x3fc)][_0x549706(0x422)](_0x5b8df3);_0x3ebb23&&(this[_0x549706(0x3fc)]['delete'](_0x5b8df3),_0x3ebb23[_0x549706(0x2b5)]()),this[_0x549706(0x3fc)][_0x549706(0x238)]||(_0x3d268a=this[_0x549706(0x317)])==null||_0x3d268a[_0x549706(0x2b5)]();}[_0x7744bf(0x4a6)](){var _0x1d5c83=_0x7744bf;this[_0x1d5c83(0x2b7)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1d5c83(0x1d6)]),this[_0x1d5c83(0x1d6)]=null),this['_tryReconnect']();}async[_0x7744bf(0x3db)](){var _0x1cefdf=_0x7744bf,_0x5226f4,_0x2c472b,_0x470d87;const _0x55e25f=this['_configService']['getConfig'](Y),_0x99e75f=(_0x5226f4=_0x55e25f==null?void 0x0:_0x55e25f[_0x1cefdf(0x436)])!=null?_0x5226f4:xn;return(_0x470d87=(_0x2c472b=(await this[_0x1cefdf(0x4a2)][_0x1cefdf(0x422)](_0x99e75f,{'headers':{'Content-Type':'application/json'}}))[_0x1cefdf(0x22f)])==null?void 0x0:_0x2c472b['ticket'])!=null?_0x470d87:'';}[_0x7744bf(0x4ae)](_0xa9a586){var _0x2fc8e4=_0x7744bf,_0x282856,_0x5004ab;const _0x3f6cc0=this[_0x2fc8e4(0x1f1)]['getConfig'](Un),_0x21dfef=this[_0x2fc8e4(0x1f1)][_0x2fc8e4(0x3e9)](Y),_0x27f291=(_0x5004ab=(_0x282856=_0x21dfef==null?void 0x0:_0x21dfef[_0x2fc8e4(0x48a)])!=null?_0x282856:_0x3f6cc0)!=null?_0x5004ab:An,_0x43c118=typeof window>'u'?new URL(_0x27f291):new URL(_0x27f291,window[_0x2fc8e4(0x1d0)][_0x2fc8e4(0x220)]);return _0x43c118[_0x2fc8e4(0x23c)][_0x2fc8e4(0x425)](_0x2fc8e4(0x285),_0xa9a586),_0x43c118[_0x2fc8e4(0x267)]();}async[_0x7744bf(0x246)](){var _0x160ce8=_0x7744bf;const _0x10471a=await this[_0x160ce8(0x3db)](),_0x18ec28=this[_0x160ce8(0x4ae)](_0x10471a),_0xca89f5=this['_socketService'][_0x160ce8(0x396)](_0x18ec28);return this[_0x160ce8(0x391)]=_0xca89f5,_0xca89f5;}async[_0x7744bf(0x47d)](){var _0x40667e=_0x7744bf,_0x116fd5,_0x9cf1f4;try{const _0x5e6ce2=(_0x9cf1f4=(_0x116fd5=this['_socket'])!=null?_0x116fd5:this['_candidateSocket'])!=null?_0x9cf1f4:await this[_0x40667e(0x246)]();if(_0x5e6ce2){const _0x431948=_0x5e6ce2[_0x40667e(0x4b4)];_0x5e6ce2[_0x40667e(0x4b4)]=_0x444380=>(this['_rescheduleHeartbeat'](),_0x431948[_0x40667e(0x1b2)](_0x5e6ce2,[_0x444380])),_0x5e6ce2[_0x40667e(0x31f)]['subscribe'](_0xd83811=>this['_onMessage'](_0x5e6ce2,_0xd83811)),_0x5e6ce2['error$'][_0x40667e(0x1cf)](_0x5efdec(0x1))[_0x40667e(0x447)](_0x5401c2=>this[_0x40667e(0x21a)][_0x40667e(0x44a)](_0x40667e(0x28e),_0x5401c2)),_0x5e6ce2['open$'][_0x40667e(0x1cf)](_0x5efdec(0x1))['subscribe'](()=>{var _0x5dfc61=_0x40667e;this[_0x5dfc61(0x494)](_0x5e6ce2);}),_0x5e6ce2[_0x40667e(0x1b6)][_0x40667e(0x1cf)](_0x5efdec(0x1))[_0x40667e(0x447)](_0x193112=>{var _0x280d2c=_0x40667e;this[_0x280d2c(0x21a)][_0x280d2c(0x218)]('[CollaborationSessionService]',_0x280d2c(0x3d9),_0x193112),this[_0x280d2c(0x22c)]();});}}catch(_0x2f4b8e){this[_0x40667e(0x21a)]['error'](_0x2f4b8e),this[_0x40667e(0x22c)]();}}['_onConnectionOpen'](_0x4a0172){var _0x3e440d=_0x7744bf;this['_logService'][_0x3e440d(0x218)]('[CollaborationSessionService]',_0x3e440d(0x2de)),_0x4a0172['send']({'cmd':F[_0x3e440d(0x281)]}),this[_0x3e440d(0x2b6)]();}[_0x7744bf(0x24c)](){var _0x52b2c4=_0x7744bf;this[_0x52b2c4(0x3ce)]=!0x1,this[_0x52b2c4(0x391)]=null,this[_0x52b2c4(0x25d)]['next'](Ie[_0x52b2c4(0x3e1)]),this[_0x52b2c4(0x2c6)][_0x52b2c4(0x3a5)](null),this[_0x52b2c4(0x440)](),this[_0x52b2c4(0x2ba)]();}[_0x7744bf(0x22c)](){var _0x284fe7=_0x7744bf,_0x4cf7c6;this[_0x284fe7(0x24c)](),this['_retryCount']<((_0x4cf7c6=this[_0x284fe7(0x1f1)][_0x284fe7(0x3e9)](Hn))!=null?_0x4cf7c6:kn)?(this[_0x284fe7(0x2d8)][_0x284fe7(0x32a)]({'id':se[_0x284fe7(0x39c)]}),this[_0x284fe7(0x481)]()):this[_0x284fe7(0x2d8)][_0x284fe7(0x32a)]({'id':se[_0x284fe7(0x346)]});}['_tryReconnect'](){var _0x450ff3=_0x7744bf,_0x1b2b45;const _0x34cab5=this[_0x450ff3(0x2b7)],_0x533969=this['_configService'][_0x450ff3(0x3e9)](Y),_0x2083fa=_0x34cab5===0x0?0x0:((_0x1b2b45=_0x533969==null?void 0x0:_0x533969[_0x450ff3(0x3bc)])!=null?_0x1b2b45:$n)*0x2**_0x34cab5;this[_0x450ff3(0x1d6)]=setTimeout(()=>{var _0x384949=_0x450ff3;clearTimeout(this[_0x384949(0x1d6)]),this[_0x384949(0x1d6)]=null,this[_0x384949(0x47d)]();},_0x2083fa),this[_0x450ff3(0x2b7)]+=0x1;}['_onMessage'](_0x6097a9,_0x53c782){var _0x2926d3=_0x7744bf;const {cmd:_0x15385d}=_0x53c782;_0x15385d===F[_0x2926d3(0x281)]&&!this['_socketReady']&&(_0x6097a9[_0x2926d3(0x4a8)]=_0x53c782[_0x2926d3(0x432)][_0x2926d3(0x4a8)],this[_0x2926d3(0x2c6)][_0x2926d3(0x3a5)](_0x6097a9),this[_0x2926d3(0x25d)][_0x2926d3(0x3a5)](Ie['ONLINE']),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x15385d===F[_0x2926d3(0x320)]&&this['_clearTimeoutTimer'](),this[_0x2926d3(0x2b6)]();}[_0x7744bf(0x2b6)](){var _0xff32c5=_0x7744bf,_0x2b77f3;this[_0xff32c5(0x2ba)](),this[_0xff32c5(0x3e7)]=setTimeout(()=>this[_0xff32c5(0x21c)](),(_0x2b77f3=this['_configService'][_0xff32c5(0x3e9)](Ln))!=null?_0x2b77f3:Mn);}[_0x7744bf(0x21c)](){var _0x2d3b4e=_0x7744bf;this[_0x2d3b4e(0x317)][_0x2d3b4e(0x4b4)]({'cmd':F[_0x2d3b4e(0x320)]}),this['_waitForHeartbeatResponse']();}[_0x7744bf(0x2bf)](){var _0x43befd=_0x7744bf,_0x19fe3c;this[_0x43befd(0x2c2)]=setTimeout(()=>this[_0x43befd(0x22c)](),(_0x19fe3c=this[_0x43befd(0x1f1)][_0x43befd(0x3e9)](Si))!=null?_0x19fe3c:Ei);}[_0x7744bf(0x2ba)](){var _0x5f1ace=_0x7744bf;this[_0x5f1ace(0x3e7)]!=null&&(clearTimeout(this[_0x5f1ace(0x3e7)]),this[_0x5f1ace(0x3e7)]=null);}['_clearTimeoutTimer'](){var _0x49b332=_0x7744bf;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x49b332(0x2c2)]),this[_0x49b332(0x2c2)]=null);}};Me=hs([me(0x0,_0x46f2f9(_0x6d28a0)),me(0x1,_0x36e00a),me(0x2,_0x387952),me(0x3,Ci),me(0x4,_0x46f2f9(_0x381081)),me(0x5,_0x46f2f9(pe)),me(0x6,_0x49cb22(Gn))],Me);const V=[];for(let n=0x0;n<0x100;++n)V[_0x7744bf(0x222)]((n+0x100)[_0x7744bf(0x267)](0x10)['slice'](0x1));function _s(_0xa6e259,_0x438ce4=0x0){var _0x31df0a=_0x7744bf;return(V[_0xa6e259[_0x438ce4+0x0]]+V[_0xa6e259[_0x438ce4+0x1]]+V[_0xa6e259[_0x438ce4+0x2]]+V[_0xa6e259[_0x438ce4+0x3]]+'-'+V[_0xa6e259[_0x438ce4+0x4]]+V[_0xa6e259[_0x438ce4+0x5]]+'-'+V[_0xa6e259[_0x438ce4+0x6]]+V[_0xa6e259[_0x438ce4+0x7]]+'-'+V[_0xa6e259[_0x438ce4+0x8]]+V[_0xa6e259[_0x438ce4+0x9]]+'-'+V[_0xa6e259[_0x438ce4+0xa]]+V[_0xa6e259[_0x438ce4+0xb]]+V[_0xa6e259[_0x438ce4+0xc]]+V[_0xa6e259[_0x438ce4+0xd]]+V[_0xa6e259[_0x438ce4+0xe]]+V[_0xa6e259[_0x438ce4+0xf]])[_0x31df0a(0x28c)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x4c21f4=_0x7744bf;if(!dt){if(typeof crypto>'u'||!crypto[_0x4c21f4(0x48e)])throw new Error(_0x4c21f4(0x434));dt=crypto['getRandomValues'][_0x4c21f4(0x3d7)](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x7744bf(0x468)]&&crypto[_0x7744bf(0x468)]['bind'](crypto),qt={'randomUUID':ds};function fs(_0x588638,_0x244801,_0x45facc){var _0x19afda=_0x7744bf;if(qt[_0x19afda(0x468)]&&!_0x244801&&!_0x588638)return qt[_0x19afda(0x468)]();_0x588638=_0x588638||{};const _0x2a237d=_0x588638['random']||(_0x588638[_0x19afda(0x2a7)]||us)();return _0x2a237d[0x6]=_0x2a237d[0x6]&0xf|0x40,_0x2a237d[0x8]=_0x2a237d[0x8]&0x3f|0x80,_s(_0x2a237d);}const X=_0x1a6a69(_0x7744bf(0x24e));function uo(_0x5a2384){var _0x32045a=_0x7744bf;return _0x32045a(0x250)+_0x5a2384;}var vs=Object['defineProperty'],ps=Object[_0x7744bf(0x1c0)],gs=(_0x596bb5,_0x21aa40,_0x59e26e,_0x4b064e)=>{var _0x14a83b=_0x7744bf;for(var _0x369168=_0x4b064e>0x1?void 0x0:_0x4b064e?ps(_0x21aa40,_0x59e26e):_0x21aa40,_0x439d03=_0x596bb5[_0x14a83b(0x1db)]-0x1,_0x59be1d;_0x439d03>=0x0;_0x439d03--)(_0x59be1d=_0x596bb5[_0x439d03])&&(_0x369168=(_0x4b064e?_0x59be1d(_0x21aa40,_0x59e26e,_0x369168):_0x59be1d(_0x369168))||_0x369168);return _0x4b064e&&_0x369168&&vs(_0x21aa40,_0x59e26e,_0x369168),_0x369168;},ft=(_0x299660,_0x2f2b60)=>(_0x3ce006,_0x4b0167)=>_0x2f2b60(_0x3ce006,_0x4b0167,_0x299660);function ms(_0x2add97){var _0x5da86=_0x7744bf;const {unitID:_0x37af1f,mutations:_0x11c480}=_0x2add97;return{'unitId':_0x37af1f,'subUnitId':_0x11c480[0x0]['params'][_0x5da86(0x287)]};}let nt=class{constructor(_0x1ef661,_0x3e930c,_0x4863e7){var _0x5b1b4d=_0x7744bf;this[_0x5b1b4d(0x1d9)]=_0x1ef661,this[_0x5b1b4d(0x341)]=_0x3e930c,this[_0x5b1b4d(0x1c9)]=_0x4863e7;}[_0x7744bf(0x483)](_0x24ffec){var _0x52adb6=_0x7744bf,_0x23febf,_0x28b381,_0x1d3589,_0x4cacc3;const _0x1c0c4b=this[_0x52adb6(0x1d9)]['get'](_0x406fca),{unitId:_0x86a096,subUnitId:_0x4accc0}=ms(_0x24ffec),_0x173f77=_0x1c0c4b==null?void 0x0:_0x1c0c4b['getWorkbookSelections'](_0x86a096)['getCurrentSelections'](),_0x2f6b0c=(_0x28b381=(_0x23febf=this[_0x52adb6(0x1c9)][_0x52adb6(0x333)](_0x86a096))==null?void 0x0:_0x23febf['getActiveSheet']())==null?void 0x0:_0x28b381[_0x52adb6(0x265)]();if(_0x173f77[_0x52adb6(0x1db)]===0x0||!_0x86a096||!_0x4accc0)return;const _0x1a9e54=[{'id':_0x2f169f['id'],'params':{'unitId':_0x86a096,'subUnitId':_0x2f6b0c,'selections':_0x5e5c0f['deepClone'](_0x173f77)}}],_0x580a43=this[_0x52adb6(0x341)][_0x52adb6(0x259)](_0x24ffec,_0x1a9e54);if(!_0x17cb2d(_0x580a43))throw _0x580a43[_0x52adb6(0x44a)];const _0x3ba176=(_0x4cacc3=(_0x1d3589=_0x580a43[_0x52adb6(0x40c)][0x0])==null?void 0x0:_0x1d3589[_0x52adb6(0x274)])==null?void 0x0:_0x4cacc3['selections'];if(Array[_0x52adb6(0x43c)](_0x3ba176)&&_0x3ba176[_0x52adb6(0x1db)]){if(_0x3ba176[_0x52adb6(0x1db)]===_0x1a9e54[0x0][_0x52adb6(0x274)][_0x52adb6(0x355)]['length']&&_0x3ba176['every']((_0x1793c8,_0x4de858)=>_0x39d323[_0x52adb6(0x1ed)](_0x1793c8['range'],_0x1a9e54[0x0][_0x52adb6(0x274)][_0x52adb6(0x355)][_0x4de858][_0x52adb6(0x3c0)])))return;this['_injector'][_0x52adb6(0x422)](_0x516aa5)[_0x52adb6(0x2d6)](_0x2f169f['id'],{'unitId':_0x86a096,'subUnitId':_0x2f6b0c,'selections':_0x3ba176});}}};nt=gs([ft(0x0,_0x46f2f9(_0x6d28a0)),ft(0x1,_0x58398b),ft(0x2,_0x464ce2)],nt);const _t=_0x1a6a69(_0x7744bf(0x381));var Ri=(_0x1f6d84=>(_0x1f6d84[_0x1f6d84[_0x7744bf(0x3f4)]=0x0]=_0x7744bf(0x3f4),_0x1f6d84[_0x1f6d84[_0x7744bf(0x22e)]=0x1]='OTHER_CLIENTS_EDITING',_0x1f6d84))(Ri||{});const Ss=new Set([_0x1d24a8['id']]);function Jt(_0x19d3ef,_0xe7c604,_0x52c4c5,_0x46cd9a,_0x2bf79a){var _0x28bd6c=_0x7744bf,_0x3fe66b,_0x369151,_0xf31e35,_0x4ccca7;const _0x4a0aa3=[];for(const _0x29815b of _0x19d3ef)if(Ss[_0x28bd6c(0x4b6)](_0x29815b['id'])){if(_0x4a0aa3[_0x28bd6c(0x1db)]>0x0)break;_0x4a0aa3[_0x28bd6c(0x222)](_0x29815b);break;}else _0x4a0aa3[_0x28bd6c(0x222)](_0x29815b);const _0x48e117=(_0x369151=(_0x3fe66b=_0x2bf79a[_0x28bd6c(0x213)]())==null?void 0x0:_0x3fe66b[_0x28bd6c(0x1b8)])!=null?_0x369151:'unknown',_0x1bc90d=(_0x4ccca7=(_0xf31e35=_0x2bf79a[_0x28bd6c(0x213)]())==null?void 0x0:_0xf31e35[_0x28bd6c(0x4a8)])!=null?_0x4ccca7:_0x28bd6c(0x2d7);return{'changeset':{'unitID':_0xe7c604,'type':_0x2f4300(_0x52c4c5[_0x28bd6c(0x3f2)](_0xe7c604)),'baseRev':_0x46cd9a[_0x28bd6c(0x273)](_0xe7c604),'revision':0x0,'userID':_0x48e117,'memberID':_0x1bc90d,'mutations':_0x4a0aa3},'pendingMutations':_0x19d3ef[_0x28bd6c(0x4a4)](_0x4a0aa3['length'])};}function Es(_0x52bfcb,_0x42fea3,_0x50738b,_0x3cd690,_0x41a9b0){var _0x207dd9=_0x7744bf,_0x117d85,_0x1fcca6,_0x3619d8,_0x2da86a;const _0x3ac6bb=[_0x52bfcb[_0x207dd9(0x2e5)]((_0x36d7b8,_0x38d15b)=>{var _0x496dc6=_0x207dd9,_0x324b97;const {id:_0xfa2aca}=_0x36d7b8,{id:_0x4aea76,type:_0x1ed2ab}=_0x38d15b,_0x2b1bb3=(_0x324b97=_0x36d7b8[_0x496dc6(0x274)])!=null?_0x324b97:{'actions':null},_0x322fd6=_0x38d15b[_0x496dc6(0x274)];if(_0xfa2aca&&_0xfa2aca!==_0x4aea76)throw new Error(_0x496dc6(0x330)+_0xfa2aca+_0x496dc6(0x383)+_0x4aea76+'.');return{..._0x36d7b8,'id':_0x4aea76,'type':_0x1ed2ab,'params':{'unitId':_0x322fd6[_0x496dc6(0x34c)],'textRanges':_0x322fd6[_0x496dc6(0x1f0)],'actions':_0x5df531[_0x496dc6(0x3a8)](_0x2b1bb3[_0x496dc6(0x234)],_0x322fd6['actions'])}};},{})],_0x20e1c0=(_0x1fcca6=(_0x117d85=_0x41a9b0['getCurrentUser']())==null?void 0x0:_0x117d85['userID'])!=null?_0x1fcca6:_0x207dd9(0x2d7),_0x3bcff7=(_0x2da86a=(_0x3619d8=_0x41a9b0[_0x207dd9(0x213)]())==null?void 0x0:_0x3619d8[_0x207dd9(0x4a8)])!=null?_0x2da86a:'unknown';return{'changeset':{'unitID':_0x42fea3,'type':_0x2f4300(_0x50738b['getUnitType'](_0x42fea3)),'baseRev':_0x3cd690['getCurrentRevOfUnit'](_0x42fea3),'revision':0x0,'userID':_0x20e1c0,'memberID':_0x3bcff7,'mutations':_0x3ac6bb},'pendingMutations':[]};}function yi(_0x1cd0b1,_0x58348a){var _0xe63c7c=_0x7744bf;const _0x3ab123=new _0x54f6c6(0x1);return setTimeout(()=>_0x3ab123[_0xe63c7c(0x3a5)](_0x58348a),_0x1cd0b1),_0x3ab123['asObservable']()['pipe'](_0x7624a7(0x1));}const Is={'id':_0x7de1c0['id'],'type':_0x144f12['MUTATION'],'params':{}};var Ts=Object[_0x7744bf(0x467)],Cs=Object['getOwnPropertyDescriptor'],Ce=(_0x3ee657,_0x387229,_0x208401,_0x27062d)=>{var _0x181a9f=_0x7744bf;for(var _0x2d5f1f=_0x27062d>0x1?void 0x0:_0x27062d?Cs(_0x387229,_0x208401):_0x387229,_0x2414f2=_0x3ee657[_0x181a9f(0x1db)]-0x1,_0x4c7fdf;_0x2414f2>=0x0;_0x2414f2--)(_0x4c7fdf=_0x3ee657[_0x2414f2])&&(_0x2d5f1f=(_0x27062d?_0x4c7fdf(_0x387229,_0x208401,_0x2d5f1f):_0x4c7fdf(_0x2d5f1f))||_0x2d5f1f);return _0x27062d&&_0x2d5f1f&&Ts(_0x387229,_0x208401,_0x2d5f1f),_0x2d5f1f;},A=(_0x2ab94f,_0x34fe93)=>(_0x48988c,_0x35c628)=>_0x34fe93(_0x48988c,_0x35c628,_0x2ab94f),Oi=(_0x4ea34f=>(_0x4ea34f[_0x7744bf(0x3ca)]=_0x7744bf(0x446),_0x4ea34f[_0x7744bf(0x2cf)]=_0x7744bf(0x2b8),_0x4ea34f['PENDING']=_0x7744bf(0x435),_0x4ea34f['AWAITING']=_0x7744bf(0x29f),_0x4ea34f['AWAITING_WITH_PENDING']=_0x7744bf(0x1da),_0x4ea34f['FETCH_MISS']=_0x7744bf(0x395),_0x4ea34f[_0x7744bf(0x408)]=_0x7744bf(0x3cf),_0x4ea34f['OFFLINE']=_0x7744bf(0x316),_0x4ea34f))(Oi||{});const Pi=0xea60;class be{constructor(_0x2477da,_0x53d55e,_0xe5336,_0x10c114,_0x169e32,_0x2217a1,_0x1d5105,_0x2e5fa7,_0x3ed87a){var _0x41a661=_0x7744bf;D(this,_0x41a661(0x20a),null),D(this,'_pendingMutations',[]),(this[_0x41a661(0x277)]=_0x2477da,this['type']=_0x53d55e,this[_0x41a661(0x26a)]=_0x169e32,this[_0x41a661(0x450)]=_0x2217a1,this[_0x41a661(0x3eb)]=_0x1d5105,this[_0x41a661(0x22b)]=_0x2e5fa7,this[_0x41a661(0x3a0)]=_0x3ed87a,this['_awaitingChangeset']=_0xe5336,this[_0x41a661(0x353)]=_0x10c114);}['_checkMissing'](_0x5ef0b9){var _0x5d635d=_0x7744bf;const _0x1a6314=this[_0x5d635d(0x22b)][_0x5d635d(0x273)](this[_0x5d635d(0x277)]);return _0x5ef0b9[_0x5d635d(0x332)]>_0x1a6314+0x1?(this[_0x5d635d(0x26a)]['onMissingChangesets']({'from':_0x1a6314,'to':_0x5ef0b9[_0x5d635d(0x332)]-0x1}),!0x0):!0x1;}[_0x7744bf(0x200)](_0x31d104){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x31d104);}[_0x7744bf(0x1c5)](_0x3d7cd8){var _0x19854f=_0x7744bf,_0x1a2386,_0x2a0255;(_0x2a0255=(_0x1a2386=this[_0x19854f(0x26a)])[_0x19854f(0x1e0)])==null||_0x2a0255[_0x19854f(0x46a)](_0x1a2386,_0x3d7cd8);}[_0x7744bf(0x344)](_0x52742a){var _0xcc8aed=_0x7744bf,_0x25d09f,_0x3c4c17;return(_0x3c4c17=(_0x25d09f=this[_0xcc8aed(0x26a)])[_0xcc8aed(0x3f7)])==null?void 0x0:_0x3c4c17[_0xcc8aed(0x46a)](_0x25d09f,_0x52742a);}[_0x7744bf(0x256)](_0x289f0f){var _0x2e4873=_0x7744bf,_0x13d9b5,_0x312e84;return(_0x312e84=(_0x13d9b5=this['_handler'])[_0x2e4873(0x390)])==null?void 0x0:_0x312e84[_0x2e4873(0x46a)](_0x13d9b5,_0x289f0f);}[_0x7744bf(0x4aa)](_0x532e9e){var _0x516ded=_0x7744bf,_0x111980,_0x483cfa,_0x52013f;return(_0x52013f=(_0x483cfa=(_0x111980=this[_0x516ded(0x26a)])[_0x516ded(0x211)])==null?void 0x0:_0x483cfa[_0x516ded(0x46a)](_0x111980,_0x532e9e))!=null?_0x52013f:_0x532e9e;}[_0x7744bf(0x223)](_0x27f21f){var _0x546df8=_0x7744bf,_0x7165a9,_0x2edc88,_0x45a458;return(_0x45a458=(_0x2edc88=(_0x7165a9=this['_handler'])[_0x546df8(0x438)])==null?void 0x0:_0x2edc88['call'](_0x7165a9,_0x27f21f))!=null?_0x45a458:_0x27f21f;}[_0x7744bf(0x3d1)](_0x246cac){var _0x1ac37c=_0x7744bf,_0x32e955,_0x2d5888;if(this[_0x1ac37c(0x2bd)]===Q[_0x1ac37c(0x457)]){const {unitID:_0x32c265,mutations:_0x2aa6c6,memberID:_0x3fc71e}=_0x246cac,_0xaff434=_0x2aa6c6[0x0]['params'][_0x1ac37c(0x1f0)];Array[_0x1ac37c(0x43c)](_0xaff434)&&_0xaff434['length']>0x0&&((_0x2d5888=(_0x32e955=this[_0x1ac37c(0x26a)])[_0x1ac37c(0x35a)])==null||_0x2d5888[_0x1ac37c(0x46a)](_0x32e955,{'unitID':_0x32c265,'memberID':_0x3fc71e,'textRanges':_0xaff434}));}}[_0x7744bf(0x3f1)](){var _0x4cc5aa=_0x7744bf,_0x500085;(_0x500085=this[_0x4cc5aa(0x3a0)])==null||_0x500085['updateOfflineData'](this['unitID'],this[_0x4cc5aa(0x2bd)],this[_0x4cc5aa(0x20a)],this[_0x4cc5aa(0x353)]);}[_0x7744bf(0x3c3)](){var _0x10cd55=_0x7744bf;return this[_0x10cd55(0x22b)][_0x10cd55(0x273)](this[_0x10cd55(0x277)]);}[_0x7744bf(0x255)](){var _0x22721a=_0x7744bf;this[_0x22721a(0x22b)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x3118b6){var _0x40e7e9=_0x7744bf,_0x5f5246;let _0x4657a1=this['_transformRemoteChangesetByIMECache'](_0x3118b6);_0x4657a1=this[_0x40e7e9(0x223)](_0x4657a1);const _0x15ad1d=_0x5c4007(_0x4657a1[_0x40e7e9(0x226)],this[_0x40e7e9(0x450)],{'fromCollab':!0x0});if(!_0x15ad1d['result'])throw _0x15ad1d[_0x40e7e9(0x44a)]instanceof Error?_0x15ad1d[_0x40e7e9(0x44a)]:new Error((_0x5f5246=_0x15ad1d[_0x40e7e9(0x44a)])!=null?_0x5f5246:_0x40e7e9(0x48d));this[_0x40e7e9(0x344)](_0x4657a1),this[_0x40e7e9(0x256)](_0x4657a1),this['_transformUndoredo'](_0x3118b6),this['_transformSelections'](_0x4657a1),this[_0x40e7e9(0x3d1)](_0x4657a1),this[_0x40e7e9(0x255)]();}}let Pe=class extends be{constructor(_0x51b13a,_0x110dae,_0x37c5b6,_0x53e9ee,_0x1c8d17,_0x41679c,_0x3f973b,_0x32c54e,_0xd4ba7a,_0x1d14cb){var _0xcb1f06=_0x7744bf;super(_0x51b13a,_0x110dae,null,[],_0x37c5b6,_0x3f973b,_0x41679c,_0x53e9ee,_0x1d14cb),D(this,_0xcb1f06(0x2c3),_0xcb1f06(0x2b8)),(this[_0xcb1f06(0x1d9)]=_0x1c8d17,this[_0xcb1f06(0x21a)]=_0x32c54e,this[_0xcb1f06(0x341)]=_0xd4ba7a,this[_0xcb1f06(0x244)]=_0x1d14cb);}['appendMutation'](_0x1ff109){var _0xa55205=_0x7744bf;const _0x577b16=this[_0xa55205(0x1d9)][_0xa55205(0x431)](re,this[_0xa55205(0x277)],this[_0xa55205(0x2bd)],[_0x1ff109],this[_0xa55205(0x26a)]);return _0x577b16['_schedule'](),_0x577b16['_updateLocalCache'](),_0x577b16;}[_0x7744bf(0x3ff)](_0x1d5b8b){var _0x235262=_0x7744bf;if(this[_0x235262(0x232)](_0x1d5b8b))return this[_0x235262(0x1d9)]['createInstance'](te,this[_0x235262(0x277)],this[_0x235262(0x2bd)],null,[],null,[_0x1d5b8b],this[_0x235262(0x26a)]);try{const _0x122932=this['_transformService']['transformMutationsWithChangeset'](_0x1d5b8b,[Is]);if(_0x17cb2d(_0x122932)){const {c1Prime:_0x2123a6}=_0x122932;return this[_0x235262(0x3fa)](_0x2123a6),this;}throw _0x122932[_0x235262(0x44a)];}catch(_0x11c059){return this['_logService'][_0x235262(0x44a)](_0x11c059),this[_0x235262(0x34b)](!0x1);}}[_0x7744bf(0x34b)](_0x4e71a7){var _0x2e7b8a=_0x7744bf;return this[_0x2e7b8a(0x1d9)][_0x2e7b8a(0x431)](de,this['unitID'],this['type'],null,[],this[_0x2e7b8a(0x26a)],_0x4e71a7);}[_0x7744bf(0x4a9)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x228bd9=_0x7744bf;throw new Error(_0x228bd9(0x41d));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x3e36d4=_0x7744bf;return this[_0x3e36d4(0x1d9)][_0x3e36d4(0x431)](fe,this[_0x3e36d4(0x277)],this[_0x3e36d4(0x2bd)],null,[],this[_0x3e36d4(0x26a)]);}[_0x7744bf(0x47e)](){return this;}[_0x7744bf(0x1d8)](){var _0x2067eb=_0x7744bf;throw new Error(_0x2067eb(0x34a));}[_0x7744bf(0x3c9)](){var _0x45d963=_0x7744bf;const _0x452d4f=this[_0x45d963(0x22b)][_0x45d963(0x273)](this[_0x45d963(0x277)]);return this[_0x45d963(0x26a)][_0x45d963(0x34f)]({'from':_0x452d4f,'to':0x0}),this['_injector'][_0x45d963(0x431)](te,this['unitID'],this['type'],null,[],null,[],this[_0x45d963(0x26a)]);}};Pe=Ce([A(0x3,_0x46f2f9(_0x4d4128)),A(0x4,_0x46f2f9(_0x6d28a0)),A(0x5,_0x9d8c79),A(0x6,_0x516aa5),A(0x7,_0x36e00a),A(0x8,_0x58398b),A(0x9,_0x49cb22(X))],Pe);let re=class extends be{constructor(_0x51b744,_0x225cab,_0x31d511,_0x332e02,_0x290044,_0x195000,_0x10d8ac,_0x14672f,_0xd83ef4,_0x457e17,_0x38bca7,_0x2de41e,_0x8a31f1,_0x51efed){var _0x17dedb=_0x7744bf;super(_0x51b744,_0x225cab,null,_0x31d511,_0x332e02,_0xd83ef4,_0x8a31f1,_0x195000,_0x51efed),D(this,_0x17dedb(0x2c3),_0x17dedb(0x435)),D(this,_0x17dedb(0x336),null),D(this,_0x17dedb(0x1ea),null),(this[_0x17dedb(0x1d9)]=_0x290044,this['_memberService']=_0x10d8ac,this['_logService']=_0x14672f,this[_0x17dedb(0x1f1)]=_0x457e17,this[_0x17dedb(0x341)]=_0x38bca7,this['_univerInstanceService']=_0x2de41e);}['appendMutation'](_0x380bd3){var _0x474ca0=_0x7744bf;return this[_0x474ca0(0x353)][_0x474ca0(0x222)](_0x380bd3),this[_0x474ca0(0x3f1)](),this;}['onRemoteChangeset'](_0xc81cb){var _0x532506=_0x7744bf;if(this[_0x532506(0x232)](_0xc81cb))return this[_0x532506(0x452)](),this[_0x532506(0x1d9)][_0x532506(0x431)](te,this[_0x532506(0x277)],this[_0x532506(0x2bd)],null,this['_pendingMutations'],null,[_0xc81cb],this[_0x532506(0x26a)]);try{const _0x800484=this[_0x532506(0x341)][_0x532506(0x259)](_0xc81cb,this['_pendingMutations']);if(_0x17cb2d(_0x800484)){const {c1Prime:_0x3b4d75,m2Prime:_0x11c094}=_0x800484;this[_0x532506(0x3fa)](_0x3b4d75);const _0x136a56=this[_0x532506(0x1d9)][_0x532506(0x431)](re,this['unitID'],this[_0x532506(0x2bd)],_0x11c094,this[_0x532506(0x26a)]);return this['_clearScheduledTask'](),_0x136a56['_schedule'](this[_0x532506(0x336)]?Math['max'](0x0,new Date()[_0x532506(0x23a)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x136a56;}throw _0x800484['error'];}catch(_0x1a1e85){return this[_0x532506(0x21a)][_0x532506(0x44a)](_0x1a1e85),this[_0x532506(0x34b)](!0x1);}}[_0x7744bf(0x4a9)](){var _0x156ba2=_0x7744bf;throw new Error(_0x156ba2(0x242));}[_0x7744bf(0x21f)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x7744bf(0x289)](){return this;}['toggleOffline'](){var _0x4ef03d=_0x7744bf;return this[_0x4ef03d(0x452)](),this[_0x4ef03d(0x1d9)]['createInstance'](fe,this[_0x4ef03d(0x277)],this[_0x4ef03d(0x2bd)],null,this[_0x4ef03d(0x353)],this['_handler']);}[_0x7744bf(0x47e)](){return this;}['_schedule'](_0x1f6fce){var _0x484598=_0x7744bf;const _0x221fe3=_0x1f6fce!=null?_0x1f6fce:this[_0x484598(0x4a7)]();this[_0x484598(0x336)]=new Date()[_0x484598(0x23a)](),this[_0x484598(0x1ea)]=setTimeout(()=>{var _0x1b4502=_0x484598;this['_clearScheduledTask']();let _0x2c53ed=null;switch(this['type']){case Q[_0x1b4502(0x49a)]:{_0x2c53ed=Jt(this[_0x1b4502(0x353)],this[_0x1b4502(0x277)],this[_0x1b4502(0x403)],this[_0x1b4502(0x22b)],this[_0x1b4502(0x2f0)]);break;}case Q[_0x1b4502(0x457)]:{this[_0x1b4502(0x353)]['every'](_0x6b00bd=>_0x6b00bd['id']===_0x2814bb['id'])?_0x2c53ed=Es(this[_0x1b4502(0x353)],this[_0x1b4502(0x277)],this['_univerInstanceService'],this[_0x1b4502(0x22b)],this[_0x1b4502(0x2f0)]):_0x2c53ed=Jt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x1b4502(0x22b)],this[_0x1b4502(0x2f0)]);break;}default:throw new Error(_0x1b4502(0x214)+this[_0x1b4502(0x2bd)]+_0x1b4502(0x271));}const {changeset:_0x259511,pendingMutations:_0x167e73}=_0x2c53ed;this['_handler'][_0x1b4502(0x1cb)](_0x259511);const _0x1441dc=_0x167e73[_0x1b4502(0x1db)]?this[_0x1b4502(0x1d9)][_0x1b4502(0x431)](oe,this[_0x1b4502(0x277)],this[_0x1b4502(0x2bd)],_0x259511,_0x167e73,this['_handler'],void 0x0):this[_0x1b4502(0x1d9)][_0x1b4502(0x431)](ue,this[_0x1b4502(0x277)],this[_0x1b4502(0x2bd)],_0x259511,this[_0x1b4502(0x26a)]);_0x1441dc[_0x1b4502(0x3f1)](),this[_0x1b4502(0x26a)][_0x1b4502(0x3c1)](this,_0x1441dc);},_0x221fe3);}[_0x7744bf(0x4a7)](){var _0x4af3af=_0x7744bf,_0x3299fe;const _0x1e8d18=this[_0x4af3af(0x1f1)][_0x4af3af(0x3e9)](Y);return(_0x3299fe=_0x1e8d18==null?void 0x0:_0x1e8d18[_0x4af3af(0x40b)])!=null?_0x3299fe:wn;}[_0x7744bf(0x1d8)](){var _0x47e554=_0x7744bf;throw new Error(_0x47e554(0x43b));}[_0x7744bf(0x452)](){var _0x50b7e1=_0x7744bf;this[_0x50b7e1(0x1ea)]!=null&&(clearTimeout(this[_0x50b7e1(0x1ea)]),this[_0x50b7e1(0x1ea)]=null);}['_onConflict'](_0x4f12eb){var _0x130926=_0x7744bf;return this[_0x130926(0x452)](),this[_0x130926(0x1d9)][_0x130926(0x431)](de,this[_0x130926(0x277)],this[_0x130926(0x2bd)],null,this['_pendingMutations'],this['_handler'],_0x4f12eb);}};re=Ce([A(0x4,_0x46f2f9(_0x6d28a0)),A(0x5,_0x46f2f9(_0x4d4128)),A(0x6,_0x46f2f9(Le)),A(0x7,_0x36e00a),A(0x8,_0x516aa5),A(0x9,_0x387952),A(0xa,_0x58398b),A(0xb,_0x464ce2),A(0xc,_0x9d8c79),A(0xd,_0x49cb22(X))],re);let ue=class extends be{constructor(_0x2b16cb,_0x5eeda8,_0x3be4f8,_0x143fba,_0x58b375,_0x41c99a,_0x184f7b,_0x22cd99,_0x4c3789,_0x360af5,_0x124136){var _0xd9b355=_0x7744bf;super(_0x2b16cb,_0x5eeda8,_0x3be4f8,[],_0x143fba,_0x184f7b,_0x360af5,_0x41c99a,_0x124136),D(this,_0xd9b355(0x2c3),_0xd9b355(0x29f)),D(this,_0xd9b355(0x3b9),0x0),D(this,_0xd9b355(0x470)),D(this,_0xd9b355(0x27a)),(this[_0xd9b355(0x1d9)]=_0x58b375,this[_0xd9b355(0x21a)]=_0x22cd99,this['_transformService']=_0x4c3789);}['appendMutation'](_0x1edcc6){var _0x51a724=_0x7744bf;this[_0x51a724(0x452)]();const _0x32f574=this[_0x51a724(0x1d9)][_0x51a724(0x431)](oe,this[_0x51a724(0x277)],this[_0x51a724(0x2bd)],this[_0x51a724(0x20a)],[_0x1edcc6],this[_0x51a724(0x26a)],this[_0x51a724(0x470)]);return _0x32f574[_0x51a724(0x3f1)](),_0x32f574;}[_0x7744bf(0x3ff)](_0x4d741a){var _0x5005d2=_0x7744bf;if(this[_0x5005d2(0x232)](_0x4d741a))return this[_0x5005d2(0x452)](),this[_0x5005d2(0x1d9)][_0x5005d2(0x431)](te,this[_0x5005d2(0x277)],this[_0x5005d2(0x2bd)],this['_awaitingChangeset'],[],null,[_0x4d741a],this[_0x5005d2(0x26a)]);try{const _0x1928ea=this[_0x5005d2(0x341)][_0x5005d2(0x318)]([_0x4d741a],[this[_0x5005d2(0x20a)]],!0x1);if(_0xee5c1(_0x1928ea)){const {c1Prime:_0x303723,c2Prime:_0x4b52b5}=_0x1928ea;this[_0x5005d2(0x3fa)](_0x303723[0x0]),_0x4b52b5[0x0]['baseRev']=this[_0x5005d2(0x3c3)](),this[_0x5005d2(0x452)]();const _0x59598b=this[_0x5005d2(0x1d9)]['createInstance'](ue,this[_0x5005d2(0x277)],this[_0x5005d2(0x2bd)],_0x4b52b5[0x0],this[_0x5005d2(0x26a)]);return _0x59598b['_updateLocalCache'](),_0x59598b;}return this[_0x5005d2(0x34b)](!0x1);}catch(_0x4274e3){return this[_0x5005d2(0x21a)]['error'](_0x4274e3),this['_onConflict'](!0x1);}}[_0x7744bf(0x4a9)](_0x42cd36){var _0x5befd4=_0x7744bf;this[_0x5befd4(0x452)]();const _0x2bec80=this[_0x5befd4(0x22b)]['getCurrentRevOfUnit'](this['unitID']);if(_0x42cd36['revision']<_0x2bec80-0x1)return this;if(this[_0x5befd4(0x232)](_0x42cd36))return this[_0x5befd4(0x1d9)][_0x5befd4(0x431)](te,this[_0x5befd4(0x277)],this[_0x5befd4(0x2bd)],null,[],this[_0x5befd4(0x20a)],[],this[_0x5befd4(0x26a)]);this[_0x5befd4(0x255)]();const _0x2d3c11=this[_0x5befd4(0x1d9)]['createInstance'](Pe,this[_0x5befd4(0x277)],this[_0x5befd4(0x2bd)],this['_handler']);return _0x2d3c11[_0x5befd4(0x3f1)](),_0x2d3c11;}[_0x7744bf(0x21f)](_0x3e708c){var _0x12038d=_0x7744bf;return this[_0x12038d(0x34b)](!!(_0x3e708c!=null&&_0x3e708c['isPermissionRej']));}[_0x7744bf(0x289)](_0x12ae1a){var _0x327c11=_0x7744bf;return this[_0x327c11(0x3b9)]>Pi?this[_0x327c11(0x34d)]():(this[_0x327c11(0x470)]=yi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x12ae1a[_0x327c11(0x2c0)]}),this['_sender']=this['_resendTimer'][_0x327c11(0x447)](({reqId:_0x2f4c4c,timeout:_0x318e0b})=>{var _0x230a74=_0x327c11;this[_0x230a74(0x371)](_0x2f4c4c,_0x318e0b);}),this);}[_0x7744bf(0x34d)](){var _0x55f88c=_0x7744bf;return this[_0x55f88c(0x452)](),this[_0x55f88c(0x1d9)][_0x55f88c(0x431)](fe,this['unitID'],this[_0x55f88c(0x2bd)],this[_0x55f88c(0x20a)],[],this[_0x55f88c(0x26a)]);}[_0x7744bf(0x47e)](){return this;}[_0x7744bf(0x1d8)](){var _0x141142=_0x7744bf;this[_0x141142(0x26a)][_0x141142(0x1cb)](this[_0x141142(0x20a)]);}['_onConflict'](_0x1705a0){var _0x15f071=_0x7744bf;return this[_0x15f071(0x452)](),this[_0x15f071(0x1d9)]['createInstance'](de,this[_0x15f071(0x277)],this['type'],this[_0x15f071(0x20a)],[],this[_0x15f071(0x26a)],_0x1705a0);}[_0x7744bf(0x371)](_0x37ff05,_0x357e38){var _0x5bd77c=_0x7744bf,_0xb59881;_0x37ff05===((_0xb59881=this[_0x5bd77c(0x20a)])==null?void 0x0:_0xb59881[_0x5bd77c(0x2c0)])&&(this['resend'](),this['_resendTimeout']=_0x357e38===0x0?0x3e8:_0x357e38*0x2);}['_clearScheduledTask'](){var _0x513fff=_0x7744bf,_0x5f0b02;(_0x5f0b02=this[_0x513fff(0x27a)])==null||_0x5f0b02[_0x513fff(0x217)](),this[_0x513fff(0x3b9)]=0x0;}};ue=Ce([A(0x4,_0x46f2f9(_0x6d28a0)),A(0x5,_0x46f2f9(_0x4d4128)),A(0x6,_0x516aa5),A(0x7,_0x36e00a),A(0x8,_0x58398b),A(0x9,_0x9d8c79),A(0xa,_0x49cb22(X))],ue);let oe=class extends be{constructor(_0x186e8d,_0x20afe3,_0x4e648a,_0x1a7679,_0x56dac6,_0x2a4490,_0x52ead7,_0x16bffe,_0x706e31,_0x301c62,_0x56b49c,_0x5e4502,_0x3ebe9e){var _0x22ab26=_0x7744bf;super(_0x186e8d,_0x20afe3,_0x4e648a,_0x1a7679,_0x56dac6,_0x706e31,_0x5e4502,_0x16bffe,_0x3ebe9e),D(this,_0x22ab26(0x2c3),_0x22ab26(0x1da)),D(this,'_resendTimeout',0x0),D(this,_0x22ab26(0x470)),D(this,_0x22ab26(0x27a)),(this[_0x22ab26(0x1d9)]=_0x52ead7,this['_logService']=_0x301c62,this[_0x22ab26(0x341)]=_0x56b49c,this[_0x22ab26(0x244)]=_0x3ebe9e,_0x2a4490&&(this[_0x22ab26(0x470)]=_0x2a4490,this[_0x22ab26(0x27a)]=this['_resendTimer'][_0x22ab26(0x447)](({reqId:_0x17af5b,timeout:_0x32b4f0})=>{var _0x31eefa=_0x22ab26;this[_0x31eefa(0x371)](_0x17af5b,_0x32b4f0);})));}['appendMutation'](_0x1f33b4){var _0x2e77c5=_0x7744bf;return this['_pendingMutations'][_0x2e77c5(0x222)](_0x1f33b4),this;}[_0x7744bf(0x3ff)](_0x1ca08b){var _0x50d697=_0x7744bf;if(this[_0x50d697(0x232)](_0x1ca08b))return this[_0x50d697(0x452)](),this[_0x50d697(0x1d9)]['createInstance'](te,this[_0x50d697(0x277)],this[_0x50d697(0x2bd)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1ca08b],this['_handler']);try{const _0x198a05=this[_0x50d697(0x341)]['transformChangesets']([_0x1ca08b],[this[_0x50d697(0x20a)]],!0x1);if(_0xee5c1(_0x198a05)){const {c1Prime:_0x418182,c2Prime:_0x51cc80}=_0x198a05,_0x1677eb=this[_0x50d697(0x341)][_0x50d697(0x259)](_0x418182[0x0],this[_0x50d697(0x353)]);if(_0x17cb2d(_0x1677eb)){const {c1Prime:_0x25c714,m2Prime:_0x35a518}=_0x1677eb;return this[_0x50d697(0x3fa)](_0x25c714),_0x51cc80[0x0][_0x50d697(0x442)]=this[_0x50d697(0x3c3)](),this['_clearScheduledTask'](),this[_0x50d697(0x1d9)][_0x50d697(0x431)](oe,this[_0x50d697(0x277)],this[_0x50d697(0x2bd)],_0x51cc80[0x0],_0x35a518,this[_0x50d697(0x26a)],void 0x0);}throw _0x1677eb['error'];}throw _0x198a05['error'];}catch(_0x5ed030){return this[_0x50d697(0x21a)][_0x50d697(0x44a)](_0x5ed030),this[_0x50d697(0x34b)](!0x1);}}[_0x7744bf(0x4a9)](_0x2c4b46){var _0x46e902=_0x7744bf;if(this[_0x46e902(0x452)](),this[_0x46e902(0x232)](_0x2c4b46))return this[_0x46e902(0x1d9)][_0x46e902(0x431)](te,this['unitID'],this['type'],null,this[_0x46e902(0x353)],this[_0x46e902(0x20a)],[],this['_handler']);this[_0x46e902(0x255)]();const _0xdfc652=this[_0x46e902(0x1d9)][_0x46e902(0x431)](re,this[_0x46e902(0x277)],this[_0x46e902(0x2bd)],this[_0x46e902(0x353)],this['_handler']);return _0xdfc652[_0x46e902(0x1c8)](),_0xdfc652[_0x46e902(0x3f1)](),_0xdfc652;}[_0x7744bf(0x21f)](_0x51074d){var _0x53fa48=_0x7744bf;return this[_0x53fa48(0x34b)](!!(_0x51074d!=null&&_0x51074d['isPermissionRej']));}[_0x7744bf(0x289)](_0x209165){var _0x540f8f=_0x7744bf;return this[_0x540f8f(0x3b9)]>Pi?this['toggleOffline']():(this[_0x540f8f(0x470)]=yi(this[_0x540f8f(0x3b9)],{'timeout':this[_0x540f8f(0x3b9)],'reqId':_0x209165['reqId']}),this[_0x540f8f(0x27a)]=this[_0x540f8f(0x470)][_0x540f8f(0x447)](({reqId:_0x3d98f3,timeout:_0x2a68dd})=>{var _0x344b68=_0x540f8f;this[_0x344b68(0x371)](_0x3d98f3,_0x2a68dd);}),this);}[_0x7744bf(0x34d)](){var _0x5553ec=_0x7744bf;return this[_0x5553ec(0x452)](),this[_0x5553ec(0x1d9)][_0x5553ec(0x431)](fe,this[_0x5553ec(0x277)],this[_0x5553ec(0x2bd)],this['_awaitingChangeset'],this[_0x5553ec(0x353)],this[_0x5553ec(0x26a)]);}['toggleOnline'](){return this;}[_0x7744bf(0x1d8)](){var _0x330a50=_0x7744bf;this[_0x330a50(0x26a)]['onSendChangeset'](this[_0x330a50(0x20a)]);}[_0x7744bf(0x34b)](_0x425498){var _0x50eb84=_0x7744bf;return this[_0x50eb84(0x452)](),this['_injector'][_0x50eb84(0x431)](de,this[_0x50eb84(0x277)],this[_0x50eb84(0x2bd)],null,this[_0x50eb84(0x353)],this['_handler'],_0x425498);}[_0x7744bf(0x371)](_0x3bd28b,_0x13d446){var _0x37d6a8=_0x7744bf,_0x2f907b;_0x3bd28b===((_0x2f907b=this['_awaitingChangeset'])==null?void 0x0:_0x2f907b[_0x37d6a8(0x2c0)])&&(this['resend'](),this[_0x37d6a8(0x3b9)]=_0x13d446===0x0?0x3e8:_0x13d446*0x2);}[_0x7744bf(0x452)](){var _0x137e1b=_0x7744bf,_0x402026;(_0x402026=this[_0x137e1b(0x27a)])==null||_0x402026['unsubscribe'](),this[_0x137e1b(0x3b9)]=0x0;}};oe=Ce([A(0x6,_0x46f2f9(_0x6d28a0)),A(0x7,_0x46f2f9(_0x4d4128)),A(0x8,_0x516aa5),A(0x9,_0x36e00a),A(0xa,_0x58398b),A(0xb,_0x9d8c79),A(0xc,_0x49cb22(X))],oe);let de=class extends be{constructor(_0x1f09f1,_0x29e1ca,_0x2eec6f,_0xca462e,_0x40ad0b,_0x56fa21=!0x1,_0x440013,_0x4dbb41,_0x46103d,_0x3cc5b4,_0x4734f7,_0xeb2192,_0x572842){var _0x5c60c8=_0x7744bf;super(_0x1f09f1,_0x29e1ca,_0x2eec6f,_0xca462e,_0x40ad0b,_0x4dbb41,_0x46103d,_0x3cc5b4,_0x572842),D(this,_0x5c60c8(0x2c3),_0x5c60c8(0x3cf)),(this[_0x5c60c8(0x20e)]=_0x56fa21,this['_permissionService']=_0x440013,this['_localeService']=_0x4734f7,this['_collaborationUIEventService']=_0xeb2192,this[_0x5c60c8(0x244)]=_0x572842,this[_0x5c60c8(0x3ec)](),this[_0x5c60c8(0x1f6)](),this[_0x5c60c8(0x38e)]());}[_0x7744bf(0x42f)](){return this;}['onRemoteChangeset'](){return this;}[_0x7744bf(0x4a9)](){return this;}[_0x7744bf(0x21f)](){return this;}['onRemoteRetry'](){return this;}[_0x7744bf(0x34d)](){return this;}[_0x7744bf(0x47e)](){return this;}[_0x7744bf(0x1d8)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x7744bf(0x1f6)](){var _0x443696=_0x7744bf,_0xd6af8d;(_0xd6af8d=this['_localCacheService'])==null||_0xd6af8d['updateOfflineData'](this[_0x443696(0x277)],this[_0x443696(0x2bd)],null,[]);}[_0x7744bf(0x3ec)](){var _0x5bd393=_0x7744bf;this[_0x5bd393(0x20e)]?this['_collaborationUIEventService'][_0x5bd393(0x32a)]({'id':se['PERMISSION_DENIED']}):this[_0x5bd393(0x2d8)]['emitEvent']({'id':se[_0x5bd393(0x408)]});}[_0x7744bf(0x38e)](){var _0x148a83=_0x7744bf;this[_0x148a83(0x279)][_0x148a83(0x369)](new _0x5a0758(this[_0x148a83(0x277)])['id'],!0x1);}};de=Ce([A(0x6,_0x46f2f9(_0x13c615)),A(0x7,_0x516aa5),A(0x8,_0x9d8c79),A(0x9,_0x46f2f9(_0x4d4128)),A(0xa,_0x46f2f9(_0x12cbe1)),A(0xb,_0x46f2f9(pe)),A(0xc,_0x49cb22(X))],de);let fe=class extends be{constructor(_0x4b9009,_0x256bb5,_0x55f3e6,_0x1203ad,_0x2ba89b,_0x3c2860,_0x5a080d,_0x15baa7,_0xaab21a,_0x11b944){var _0xe7e5d5=_0x7744bf;super(_0x4b9009,_0x256bb5,_0x55f3e6,_0x1203ad,_0x2ba89b,_0x15baa7,_0xaab21a,_0x5a080d,_0x11b944),D(this,'status','offline'),this[_0xe7e5d5(0x1d9)]=_0x3c2860;}[_0x7744bf(0x42f)](_0x3d0052){var _0x11df23=_0x7744bf;return this[_0x11df23(0x353)]['push'](_0x3d0052),this[_0x11df23(0x3f1)](),this;}[_0x7744bf(0x3ff)](_0x30ab7c){var _0x3a05e5=_0x7744bf;throw new Error(_0x3a05e5(0x41b));}[_0x7744bf(0x4a9)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x3d46f9=_0x7744bf;throw new Error(_0x3d46f9(0x2e9));}[_0x7744bf(0x289)](){return this;}['toggleOffline'](){return this;}[_0x7744bf(0x47e)](){const {_injector:_0x421405,_pendingMutations:_0x11d0c4,_awaitingChangeset:_0x3cf099,unitID:_0xfc97df,_handler:_0x22043a,type:_0x36fa66}=this,_0x223754=Ni(_0x421405,_0xfc97df,_0x36fa66,_0x3cf099,_0x11d0c4,_0x22043a);return _0x223754 instanceof re?_0x223754['_schedule']():(_0x223754 instanceof oe||_0x223754 instanceof ue)&&_0x223754['resend'](),_0x223754;}[_0x7744bf(0x1d8)](){var _0x395004=_0x7744bf;throw new Error(_0x395004(0x37a));}};fe=Ce([A(0x5,_0x46f2f9(_0x6d28a0)),A(0x6,_0x46f2f9(_0x4d4128)),A(0x7,_0x516aa5),A(0x8,_0x9d8c79),A(0x9,_0x49cb22(X))],fe);let te=class extends be{constructor(_0x2db1b7,_0x6e571a,_0x1a9bc4,_0x227d78,_0x2a9d5d,_0x221f88,_0x4374e6,_0x5a68d4,_0x530131,_0x1b905c,_0x5430e5,_0xdc9579,_0x343206,_0x5b9b3e){var _0x4542c2=_0x7744bf;super(_0x2db1b7,_0x6e571a,_0x1a9bc4,_0x227d78,_0x4374e6,_0x5430e5,_0xdc9579,_0x530131,_0x5b9b3e),D(this,_0x4542c2(0x2c3),_0x4542c2(0x395)),(this[_0x4542c2(0x3ea)]=_0x2a9d5d,this[_0x4542c2(0x278)]=_0x221f88,this[_0x4542c2(0x1d9)]=_0x5a68d4,this['_logService']=_0x1b905c,this[_0x4542c2(0x341)]=_0x343206,this[_0x4542c2(0x244)]=_0x5b9b3e);}[_0x7744bf(0x427)](_0x467bd8){var _0x43e27d=_0x7744bf;try{const _0x49c45=[..._0x467bd8,...this[_0x43e27d(0x278)]],_0x574122=[this[_0x43e27d(0x20a)]||this[_0x43e27d(0x3ea)]][_0x43e27d(0x360)](_0x52f314=>!!_0x52f314);let _0x15c48b,_0x4a28f4;if(_0x574122[_0x43e27d(0x1db)]){const _0x491f5e=this[_0x43e27d(0x341)]['transformChangesets'](_0x49c45,_0x574122,!0x1);if(!_0xee5c1(_0x491f5e))throw _0x491f5e['error'];_0x15c48b=_0x491f5e[_0x43e27d(0x313)],_0x4a28f4=_0x491f5e['c2Prime'];}else _0x15c48b=_0x49c45,_0x4a28f4=[];let _0x492a10=this[_0x43e27d(0x353)];_0x15c48b['forEach'](_0x462d9c=>{var _0x553165=_0x43e27d;let _0x285311;if(_0x492a10[_0x553165(0x1db)]){const _0x50e28d=this[_0x553165(0x341)][_0x553165(0x259)](_0x462d9c,_0x492a10);if(!_0x17cb2d(_0x50e28d))throw _0x50e28d[_0x553165(0x44a)];_0x285311=_0x50e28d[_0x553165(0x313)],_0x492a10=_0x50e28d['m2Prime'];}else _0x285311=_0x462d9c;this[_0x553165(0x3fa)](_0x285311);}),this[_0x43e27d(0x3ea)]&&this['_incrementRevisionNumber'](),this[_0x43e27d(0x20a)]&&_0x4a28f4[_0x43e27d(0x1db)]&&(_0x4a28f4[0x0][_0x43e27d(0x442)]=this[_0x43e27d(0x3c3)]());let _0x12b48a;if(this[_0x43e27d(0x20a)]&&_0x492a10[_0x43e27d(0x1db)]!==0x0)_0x12b48a=this[_0x43e27d(0x1d9)]['createInstance'](oe,this['unitID'],this[_0x43e27d(0x2bd)],_0x4a28f4[0x0],_0x492a10,this[_0x43e27d(0x26a)],void 0x0);else{if(this[_0x43e27d(0x20a)]&&_0x492a10['length']===0x0)_0x4a28f4[0x0][_0x43e27d(0x442)]=this[_0x43e27d(0x3c3)](),_0x12b48a=this['_injector'][_0x43e27d(0x431)](ue,this[_0x43e27d(0x277)],this['type'],_0x4a28f4[0x0],this['_handler']);else{if(_0x492a10[_0x43e27d(0x1db)]!==0x0){const _0x369d1b=this[_0x43e27d(0x1d9)][_0x43e27d(0x431)](re,this[_0x43e27d(0x277)],this[_0x43e27d(0x2bd)],_0x492a10,this[_0x43e27d(0x26a)]);_0x369d1b[_0x43e27d(0x1c8)](),_0x12b48a=_0x369d1b;}else _0x12b48a=this[_0x43e27d(0x1d9)][_0x43e27d(0x431)](Pe,this[_0x43e27d(0x277)],this[_0x43e27d(0x2bd)],this[_0x43e27d(0x26a)]);}}return _0x12b48a[_0x43e27d(0x3f1)](),_0x12b48a;}catch(_0x3c3baf){return this[_0x43e27d(0x21a)][_0x43e27d(0x44a)](_0x43e27d(0x32d),_0x43e27d(0x465),_0x3c3baf),this[_0x43e27d(0x1d9)][_0x43e27d(0x431)](de,this[_0x43e27d(0x277)],this[_0x43e27d(0x2bd)],this['_awaitingChangeset'],this[_0x43e27d(0x353)],this[_0x43e27d(0x26a)],!0x1);}}[_0x7744bf(0x1d8)](){var _0x5cc078=_0x7744bf;throw new Error(_0x5cc078(0x28b));}[_0x7744bf(0x42f)](_0x3b2d81){var _0x3af7b6=_0x7744bf;return this[_0x3af7b6(0x353)]['push'](_0x3b2d81),this;}[_0x7744bf(0x3ff)](_0x1351a1){var _0x513df6=_0x7744bf;return this[_0x513df6(0x278)][_0x513df6(0x222)](_0x1351a1),this;}[_0x7744bf(0x4a9)](_0x1d6920){var _0x5a952e=_0x7744bf;if(this[_0x5a952e(0x20a)])return this[_0x5a952e(0x3ea)]=this[_0x5a952e(0x20a)],this[_0x5a952e(0x20a)]=null,this;throw new Error(_0x5a952e(0x462));}['onRemoteRej'](_0x425616){var _0x2b8640=_0x7744bf;return this['_onConflict'](!!(_0x425616!=null&&_0x425616[_0x2b8640(0x358)]));}['onRemoteRetry'](){return this;}[_0x7744bf(0x34d)](){var _0x19e523=_0x7744bf;return this[_0x19e523(0x1d9)][_0x19e523(0x431)](fe,this[_0x19e523(0x277)],this[_0x19e523(0x2bd)],this['_awaitingChangeset'],this[_0x19e523(0x353)],this[_0x19e523(0x26a)]);}[_0x7744bf(0x47e)](){return this;}['_onConflict'](_0x23ebdd){var _0x11557b=_0x7744bf;return this[_0x11557b(0x1d9)][_0x11557b(0x431)](de,this['unitID'],this[_0x11557b(0x2bd)],this[_0x11557b(0x20a)],this[_0x11557b(0x353)],this[_0x11557b(0x26a)],_0x23ebdd);}};te=Ce([A(0x7,_0x46f2f9(_0x6d28a0)),A(0x8,_0x46f2f9(_0x4d4128)),A(0x9,_0x36e00a),A(0xa,_0x516aa5),A(0xb,_0x9d8c79),A(0xc,_0x58398b),A(0xd,_0x49cb22(X))],te);function Ni(_0x3c8475,_0x28f06b,_0x22119e,_0x5c4b3b,_0x50ad96,_0x32c690){var _0x22bf5b=_0x7744bf;return _0x5c4b3b&&_0x50ad96['length']?_0x3c8475['createInstance'](oe,_0x28f06b,_0x22119e,_0x5c4b3b,_0x50ad96,_0x32c690,void 0x0):_0x5c4b3b?_0x3c8475[_0x22bf5b(0x431)](ue,_0x28f06b,_0x22119e,_0x5c4b3b,_0x32c690):_0x50ad96[_0x22bf5b(0x1db)]?_0x3c8475[_0x22bf5b(0x431)](re,_0x28f06b,_0x22119e,_0x50ad96,_0x32c690):_0x3c8475[_0x22bf5b(0x431)](Pe,_0x28f06b,_0x22119e,_0x32c690);}var bs=Object[_0x7744bf(0x467)],Rs=Object['getOwnPropertyDescriptor'],Mt=(_0x17f3fa,_0x1cd7c4,_0x3caa38,_0xb94490)=>{var _0x55f321=_0x7744bf;for(var _0x1b1834=_0xb94490>0x1?void 0x0:_0xb94490?Rs(_0x1cd7c4,_0x3caa38):_0x1cd7c4,_0xfa493c=_0x17f3fa[_0x55f321(0x1db)]-0x1,_0x1f3220;_0xfa493c>=0x0;_0xfa493c--)(_0x1f3220=_0x17f3fa[_0xfa493c])&&(_0x1b1834=(_0xb94490?_0x1f3220(_0x1cd7c4,_0x3caa38,_0x1b1834):_0x1f3220(_0x1b1834))||_0x1b1834);return _0xb94490&&_0x1b1834&&bs(_0x1cd7c4,_0x3caa38,_0x1b1834),_0x1b1834;},k=(_0x2be627,_0x4665e5)=>(_0x2313c3,_0x2fc177)=>_0x4665e5(_0x2313c3,_0x2fc177,_0x2be627);let st=class extends _0x2bcc2a{constructor(_0x161740,_0x577afa,_0x7c444c,_0x41193f,_0x1ca63e,_0x797f11,_0x1028c8,_0x3c5aa0,_0x52c4c7,_0x24ea1d,_0x4f53a3,_0x3dca84,_0x9c44ac){var _0x517ad2=_0x7744bf;super(),D(this,_0x517ad2(0x448),new _0xb58407(null)),D(this,_0x517ad2(0x20d),this[_0x517ad2(0x448)][_0x517ad2(0x463)]()),D(this,'_state'),D(this,_0x517ad2(0x25c),!0x1),D(this,_0x517ad2(0x402),''),D(this,_0x517ad2(0x3f8),0x0),D(this,_0x517ad2(0x37f),this['state$'][_0x517ad2(0x1cf)](_0xbab8e0(_0x3a8f30=>_0x3a8f30?_0x3a8f30['status']:Oi[_0x517ad2(0x3e1)]),_0x170902(0x1))),D(this,_0x517ad2(0x262),!0x1),D(this,_0x517ad2(0x32c),[]),(this[_0x517ad2(0x277)]=_0x161740,this['session']=_0x577afa,this[_0x517ad2(0x37c)]=_0x7c444c,this[_0x517ad2(0x1d9)]=_0x41193f,this[_0x517ad2(0x31a)]=_0x1ca63e,this[_0x517ad2(0x345)]=_0x797f11,this['_revisionService']=_0x1028c8,this[_0x517ad2(0x30a)]=_0x3c5aa0,this[_0x517ad2(0x21a)]=_0x52c4c7,this[_0x517ad2(0x450)]=_0x24ea1d,this[_0x517ad2(0x279)]=_0x4f53a3,this[_0x517ad2(0x3fb)]=_0x3dca84,this['_localCacheService']=_0x9c44ac);}get[_0x7744bf(0x301)](){var _0x439d3c=_0x7744bf;return this[_0x439d3c(0x270)];}async[_0x7744bf(0x475)](){var _0x10383c=_0x7744bf;if(this[_0x10383c(0x301)])throw new Error(_0x10383c(0x44d));await this[_0x10383c(0x364)]();}[_0x7744bf(0x37e)](){var _0x47045b=_0x7744bf;return this[_0x47045b(0x25c)]=!0x0,_0x52f3e6(()=>{var _0x44d26c=_0x47045b;this[_0x44d26c(0x25c)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x7744bf(0x2c8)](_0x22c83e){var _0x237655=_0x7744bf;this[_0x237655(0x41f)](_0x22c83e);}[_0x7744bf(0x41a)](_0x2ac90f){var _0x1f33a7=_0x7744bf;this['_state']=_0x2ac90f,this['_state$'][_0x1f33a7(0x3a5)](_0x2ac90f);}async[_0x7744bf(0x364)](){var _0xedbb09=_0x7744bf,_0x4a835e;this['_updateState'](await this[_0xedbb09(0x306)]()),this[_0xedbb09(0x3fb)]&&((_0x4a835e=this[_0xedbb09(0x3fb)])==null||_0x4a835e[_0xedbb09(0x471)](this['unitID']),this[_0xedbb09(0x3c4)](this[_0xedbb09(0x3fb)][_0xedbb09(0x3ae)](this[_0xedbb09(0x277)])[_0xedbb09(0x447)](_0x834d5b=>{var _0x4ce6fd=_0xedbb09;this['_logService'][_0x4ce6fd(0x218)](_0x4ce6fd(0x35d),_0x4ce6fd(0x472),_0x834d5b),_0x834d5b===Ri[_0x4ce6fd(0x22e)]?(this['_eventService'][_0x4ce6fd(0x32a)]({'id':se['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x4ce6fd(0x369)](new _0x5a0758(this[_0x4ce6fd(0x277)])['id'],!0x1),this['_permissionService'][_0x4ce6fd(0x27f)](!0x1)):(this[_0x4ce6fd(0x279)][_0x4ce6fd(0x369)](new _0x5a0758(this[_0x4ce6fd(0x277)])['id'],!0x0),this[_0x4ce6fd(0x279)][_0x4ce6fd(0x27f)](!0x0));})));let _0x8076eb=!0x1;return this['disposeWithMe'](this['session'][_0xedbb09(0x47f)][_0xedbb09(0x447)](_0x5001fb=>{var _0x4bef5e=_0xedbb09;_0x5001fb===Ie[_0x4bef5e(0x3bf)]?this[_0x4bef5e(0x38c)](_0x8076eb):_0x5001fb===Ie['OFFLINE']&&(_0x8076eb=!0x0,this[_0x4bef5e(0x3bd)]());})),this[_0xedbb09(0x3c4)](this['session'][_0xedbb09(0x363)]['subscribe'](_0x5d1fe0=>{var _0x411409=_0xedbb09;try{switch(_0x5d1fe0[_0x411409(0x1e1)]){case _0x51c9a6['NEW_CHANGESETS']:{this[_0x411409(0x2e7)](_0x35a1d5(_0x5d1fe0[_0x411409(0x432)]));break;}case _0x51c9a6['CHANGESET_ACK']:{this[_0x411409(0x25e)](_0x5d1fe0[_0x411409(0x432)]);break;}case _0x51c9a6[_0x411409(0x2f7)]:{this[_0x411409(0x2c7)]();break;}case _0x51c9a6[_0x411409(0x2dc)]:{this[_0x411409(0x1d1)](_0x5d1fe0['data']);break;}case _0x51c9a6['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x5d1fe0[_0x411409(0x432)][_0x411409(0x496)]['map'](_0x3d870a=>_0x35a1d5(_0x3d870a)));break;}case _0x51c9a6[_0x411409(0x2af)]:this[_0x411409(0x2c7)]({'isPermissionRej':!0x0});}}catch(_0x573151){throw console[_0x411409(0x44a)](_0x411409(0x2e3),_0x573151),_0x573151;}})),this[_0xedbb09(0x270)];}['_unlockTransition'](){var _0x142d50=_0x7744bf;this[_0x142d50(0x262)]=!0x1;}[_0x7744bf(0x2b0)](){var _0x5e72a2=_0x7744bf;if(this[_0x5e72a2(0x262)])throw new Error(_0x5e72a2(0x1c4));this[_0x5e72a2(0x262)]=!0x0;}['_onLocalMutation'](_0x90d045){var _0x33ed9b=_0x7744bf;this[_0x33ed9b(0x2b0)](),this[_0x33ed9b(0x41a)](this[_0x33ed9b(0x270)][_0x33ed9b(0x42f)](_0x90d045)),this[_0x33ed9b(0x39d)]();}[_0x7744bf(0x2e7)](_0x30af47){var _0x55eb45=_0x7744bf;if(!(_0x30af47[_0x55eb45(0x332)]<=this[_0x55eb45(0x22b)]['getCurrentRevOfUnit'](this[_0x55eb45(0x277)]))){if(this[_0x55eb45(0x25c)]){this[_0x55eb45(0x32c)]['push'](_0x30af47);return;}this['_applyRemoteChangeset'](_0x30af47);}}['_exhaustRemoteChangesetQueue'](){var _0x2f2c51=_0x7744bf;this['_remoteChangesetQueue'][_0x2f2c51(0x365)](_0x43a101=>this[_0x2f2c51(0x1eb)](_0x43a101)),this[_0x2f2c51(0x32c)]=[];}[_0x7744bf(0x1eb)](_0x434660){var _0x5f5d14=_0x7744bf;const _0x105834=this[_0x5f5d14(0x31a)][_0x5f5d14(0x26b)][_0x5f5d14(0x414)](this[_0x5f5d14(0x31a)][_0x5f5d14(0x26b)][_0x5f5d14(0x40f)]()['COMPRESS_MUTATION_APPLY'])(_0x434660['mutations'],null)||_0x434660[_0x5f5d14(0x226)],_0x3ac656={..._0x434660,'mutations':_0x105834};this[_0x5f5d14(0x2b0)](),this[_0x5f5d14(0x41a)](this[_0x5f5d14(0x270)][_0x5f5d14(0x3ff)](_0x3ac656)),this[_0x5f5d14(0x39d)]();}[_0x7744bf(0x25e)](_0x20670f){var _0x5f9c54=_0x7744bf;this['_lockTransition'](),this['_updateState'](this[_0x5f9c54(0x270)]['onRemoteAck'](_0x20670f)),this[_0x5f9c54(0x39d)]();}[_0x7744bf(0x2c7)](_0x1e4e35){var _0x251fde=_0x7744bf;this[_0x251fde(0x2b0)](),this[_0x251fde(0x41a)](this[_0x251fde(0x270)][_0x251fde(0x21f)](_0x1e4e35)),this[_0x251fde(0x39d)]();}['_onRemoteRetry'](_0x503cc6){var _0x7267fe=_0x7744bf;this[_0x7267fe(0x2b0)](),this['_updateState'](this['_state'][_0x7267fe(0x289)](_0x503cc6)),this[_0x7267fe(0x39d)]();}[_0x7744bf(0x404)](_0x225b10){var _0x351d9e=_0x7744bf;if(!(this['_state']instanceof te))throw new TypeError(_0x351d9e(0x3a3));const _0x2b9698=_0x225b10[_0x351d9e(0x40e)](_0x2a3801=>{var _0x4a3692=_0x351d9e;const _0x322e7d=this[_0x4a3692(0x31a)][_0x4a3692(0x26b)]['fetchThroughInterceptors'](this[_0x4a3692(0x31a)][_0x4a3692(0x26b)][_0x4a3692(0x40f)]()['COMPRESS_MUTATION_APPLY'])(_0x2a3801['mutations'],null)||_0x2a3801['mutations'];return{..._0x2a3801,'mutations':_0x322e7d};});this['_lockTransition'](),this[_0x351d9e(0x41a)](this[_0x351d9e(0x270)]['onMissedChangesetFetched'](_0x2b9698)),this[_0x351d9e(0x39d)]();}[_0x7744bf(0x3bd)](){var _0x373888=_0x7744bf;this[_0x373888(0x2b0)](),this[_0x373888(0x41a)](this[_0x373888(0x270)][_0x373888(0x34d)]()),this['_unlockTransition']();}['_toggleOnline'](_0x452200=!0x1){var _0x35ad0c=_0x7744bf;this[_0x35ad0c(0x2b0)](),this[_0x35ad0c(0x41a)](this[_0x35ad0c(0x270)][_0x35ad0c(0x47e)]()),this[_0x35ad0c(0x39d)]();const _0xd8d42e=this[_0x35ad0c(0x270)];_0x452200&&_0xd8d42e instanceof Pe&&(this[_0x35ad0c(0x2b0)](),this[_0x35ad0c(0x41a)](_0xd8d42e['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x1220fa=>{var _0x2ee770=_0x186f;this[_0x2ee770(0x1ba)][_0x2ee770(0x47f)][_0x2ee770(0x1cf)](_0x7624a7(0x1))['subscribe'](async _0x30b267=>{var _0x53887b=_0x2ee770;_0x1220fa(await this[_0x53887b(0x207)](_0x30b267===Ie['ONLINE']));});});}[_0x7744bf(0x1f2)](){var _0x18d6bb=_0x7744bf;const _0x47178f=this[_0x18d6bb(0x277)];return{'onStateChange':(_0xa09965,_0x41a066)=>{var _0x14b740=_0x18d6bb;if(_0xa09965!==this['_state'])throw new Error(_0x14b740(0x1fd)+_0xa09965[_0x14b740(0x2c3)]+_0x14b740(0x1ec)+_0x41a066['status']+_0x14b740(0x3fe)+this[_0x14b740(0x270)][_0x14b740(0x2c3)]);this[_0x14b740(0x41a)](_0x41a066);},'onSendChangeset':_0x40e5a2=>{var _0x56430f=_0x18d6bb;_0x40e5a2['sid']||(_0x40e5a2[_0x56430f(0x35c)]=this[_0x56430f(0x402)],_0x40e5a2[_0x56430f(0x2c0)]=++this[_0x56430f(0x3f8)]);const _0x705575={'eventID':_0x51c9a6[_0x56430f(0x2f3)],'data':{'unitID':_0x40e5a2['unitID'],'unitType':this[_0x56430f(0x37c)],'changeset':_0x40e5a2,'memberID':this[_0x56430f(0x1ba)][_0x56430f(0x421)]()}};this['session'][_0x56430f(0x4b4)](_0x705575,this[_0x56430f(0x277)]);},'onMissingChangesets':({from:_0x535f0a,to:_0x3379bd})=>{var _0x98cc22=_0x18d6bb;this[_0x98cc22(0x21a)]['debug'](_0x98cc22(0x35d),'fetching\x20missing\x20changesets\x20from\x20'+_0x535f0a+_0x98cc22(0x379)+_0x3379bd);const _0x76120={'eventID':_0x51c9a6[_0x98cc22(0x33a)],'data':{'unitID':_0x47178f,'unitType':this[_0x98cc22(0x37c)],'from':_0x535f0a,'to':_0x3379bd}};this['session'][_0x98cc22(0x4b4)](_0x76120,this['unitID']);}};}async['_createInitialStateImpl'](_0x2579c9){var _0x8da4b9=_0x7744bf,_0x2facbe,_0x377b7f,_0x664f18;const _0x157c16=await((_0x2facbe=this[_0x8da4b9(0x3a0)])==null?void 0x0:_0x2facbe[_0x8da4b9(0x292)](this['unitID'])),_0x1b4749=(_0x377b7f=_0x157c16==null?void 0x0:_0x157c16[_0x8da4b9(0x226)])!=null?_0x377b7f:[],_0x1f9460=(_0x664f18=_0x157c16==null?void 0x0:_0x157c16['awaitingChangeset'])!=null?_0x664f18:null,_0x18f10a=!!(_0x1f9460!=null&&_0x1f9460[_0x8da4b9(0x35c)])&&!!(_0x1f9460!=null&&_0x1f9460[_0x8da4b9(0x2c0)]);this[_0x8da4b9(0x402)]=_0x18f10a?_0x1f9460['sid']:fs(),this[_0x8da4b9(0x3f8)]=_0x18f10a?_0x1f9460['reqId']:0x0;const _0x9747c2=this['unitID'];try{this[_0x8da4b9(0x272)](_0x1f9460,_0x1b4749);}catch(_0xce3833){this[_0x8da4b9(0x21a)]['error'](_0xce3833);}const _0x567fc8=this['_createHandler']();if(_0x2579c9){const _0x163201=Ni(this['_injector'],_0x9747c2,this[_0x8da4b9(0x37c)],_0x1f9460,_0x1b4749,_0x567fc8);return _0x163201 instanceof re?_0x163201[_0x8da4b9(0x1c8)]():(_0x163201 instanceof oe||_0x163201 instanceof ue)&&_0x163201['resend'](),_0x163201;}return this[_0x8da4b9(0x1d9)][_0x8da4b9(0x431)](fe,_0x9747c2,this[_0x8da4b9(0x37c)],_0x1f9460,_0x1b4749,_0x567fc8);}['_replayCachedMutations'](_0xae21c8,_0x1df277){var _0x1d0865=_0x7744bf,_0x5bd578,_0x2840a5;const _0x414b8e=this[_0x1d0865(0x31a)][_0x1d0865(0x26b)][_0x1d0865(0x414)](this[_0x1d0865(0x31a)][_0x1d0865(0x26b)][_0x1d0865(0x40f)]()[_0x1d0865(0x2fd)]);(_0x5bd578=_0x414b8e((_0xae21c8==null?void 0x0:_0xae21c8[_0x1d0865(0x226)])||[],null))==null||_0x5bd578[_0x1d0865(0x365)](_0x10b6b2=>this['_commandService'][_0x1d0865(0x2d6)](_0x10b6b2['id'],_0x10b6b2['params'])),(_0x2840a5=_0x414b8e(_0x1df277||[],null))==null||_0x2840a5[_0x1d0865(0x365)](_0x467d3d=>this[_0x1d0865(0x450)][_0x1d0865(0x2d6)](_0x467d3d['id'],_0x467d3d[_0x1d0865(0x274)]));}};st=Mt([k(0x3,_0x46f2f9(_0x6d28a0)),k(0x4,_0x46f2f9(_0xac8eba)),k(0x5,_0x46f2f9(_0x12cbe1)),k(0x6,_0x46f2f9(_0x4d4128)),k(0x7,_0x46f2f9(pe)),k(0x8,_0x36e00a),k(0x9,_0x516aa5),k(0xa,_0x13c615),k(0xb,_0x49cb22(_t)),k(0xc,_0x49cb22(X))],st);let Ct=class extends st{constructor(_0x3fe560,_0x33d7a4,_0x46ee7a,_0x3ae63e,_0x1defcc,_0x24f89e,_0x2d3520,_0x43b162,_0x437fe6,_0x169bef,_0x5f5dec,_0x39b688,_0x52f9e7){var _0x46aa1a=_0x7744bf;super(_0x3fe560,_0x46ee7a,_0x33d7a4,_0x3ae63e,_0x1defcc,_0x24f89e,_0x2d3520,_0x43b162,_0x437fe6,_0x169bef,_0x5f5dec,_0x39b688,_0x52f9e7),D(this,'_handlerCallback',null),(this[_0x46aa1a(0x277)]=_0x3fe560,this['type']=_0x33d7a4);}['addHandlerCallback'](_0xe1fffa){this['_handlerCallback']=_0xe1fffa;}['dispose'](){var _0x5c31d8=_0x7744bf;this[_0x5c31d8(0x473)]=null,super[_0x5c31d8(0x348)]();}[_0x7744bf(0x1f2)](){var _0x1b9d68=_0x7744bf;const _0x37648d=super[_0x1b9d68(0x1f2)]();return _0x37648d[_0x1b9d68(0x3f7)]=_0x2e054c=>{var _0x2a77b3=_0x1b9d68,_0x570726,_0x485db6;return(_0x485db6=(_0x570726=this['_handlerCallback'])==null?void 0x0:_0x570726[_0x2a77b3(0x3f7)])==null?void 0x0:_0x485db6[_0x2a77b3(0x46a)](_0x570726,_0x2e054c);},_0x37648d[_0x1b9d68(0x390)]=_0x38bc0c=>{var _0x747be8=_0x1b9d68,_0x582399,_0x109b42;return(_0x109b42=(_0x582399=this['_handlerCallback'])==null?void 0x0:_0x582399[_0x747be8(0x390)])==null?void 0x0:_0x109b42['call'](_0x582399,_0x38bc0c);},_0x37648d[_0x1b9d68(0x1e0)]=_0x26ea28=>{var _0x10c5ed=_0x1b9d68,_0x2bb617,_0x12c4d3;return(_0x12c4d3=(_0x2bb617=this['_handlerCallback'])==null?void 0x0:_0x2bb617[_0x10c5ed(0x1e0)])==null?void 0x0:_0x12c4d3[_0x10c5ed(0x46a)](_0x2bb617,_0x26ea28);},_0x37648d['onSyncEditingCollabCursor']=_0x41e5fe=>{var _0x117a68=_0x1b9d68,_0x3c2ef5,_0xf01a10;return(_0xf01a10=(_0x3c2ef5=this[_0x117a68(0x473)])==null?void 0x0:_0x3c2ef5[_0x117a68(0x35a)])==null?void 0x0:_0xf01a10[_0x117a68(0x46a)](_0x3c2ef5,_0x41e5fe);},_0x37648d[_0x1b9d68(0x211)]=_0xd852a1=>{var _0x82f497=_0x1b9d68,_0x4e1174,_0x325610,_0x447ac7;if(!((_0x4e1174=this[_0x82f497(0x473)])!=null&&_0x4e1174[_0x82f497(0x211)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x447ac7=(_0x325610=this[_0x82f497(0x473)])==null?void 0x0:_0x325610['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x447ac7[_0x82f497(0x46a)](_0x325610,_0xd852a1);},_0x37648d[_0x1b9d68(0x438)]=_0x4132da=>{var _0x2509ef=_0x1b9d68,_0x1986e1,_0x26c43a,_0x439259;if(!((_0x1986e1=this[_0x2509ef(0x473)])!=null&&_0x1986e1[_0x2509ef(0x438)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x439259=(_0x26c43a=this['_handlerCallback'])==null?void 0x0:_0x26c43a['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x439259['call'](_0x26c43a,_0x4132da);},_0x37648d;}async[_0x7744bf(0x364)](){var _0x320c70=_0x7744bf;const _0x4f7bef=await super[_0x320c70(0x364)]();return this[_0x320c70(0x3c4)](this[_0x320c70(0x450)][_0x320c70(0x476)]((_0x17a15c,_0x19feef)=>{var _0x3a1aa5=_0x320c70;if(_0x17a15c[_0x3a1aa5(0x2bd)]!==_0x144f12[_0x3a1aa5(0x44e)]||_0x19feef!=null&&_0x19feef[_0x3a1aa5(0x1f3)]||_0x19feef!=null&&_0x19feef[_0x3a1aa5(0x305)]||_0x17a15c['id']===_0x2814bb['id'])return;const _0x23d899=_0x17a15c[_0x3a1aa5(0x274)];if((_0x23d899==null?void 0x0:_0x23d899[_0x3a1aa5(0x34c)])!==this['unitID'])return;const _0xaec2bd=_0x17a15c,_0x5217ed=this[_0x3a1aa5(0x31a)][_0x3a1aa5(0x26b)]['fetchThroughInterceptors'](this[_0x3a1aa5(0x31a)]['interceptor']['getInterceptPoints']()[_0x3a1aa5(0x458)])([_0xaec2bd],null)||[_0xaec2bd];this[_0x3a1aa5(0x41f)](_0x5217ed[0x0]);})),_0x4f7bef;}};Ct=Mt([k(0x3,_0x46f2f9(_0x6d28a0)),k(0x4,_0x46f2f9(_0xac8eba)),k(0x5,_0x46f2f9(_0x12cbe1)),k(0x6,_0x46f2f9(_0x4d4128)),k(0x7,_0x46f2f9(pe)),k(0x8,_0x36e00a),k(0x9,_0x516aa5),k(0xa,_0x13c615),k(0xb,_0x49cb22(_t)),k(0xc,_0x49cb22(X))],Ct);let bt=class extends st{constructor(_0x427d54,_0x614fed,_0x36182f,_0x5760c4,_0x419238,_0x12f1c6,_0x3ec3c9,_0x28f613,_0x3a77b1,_0x2512a1,_0x2d724d,_0x4f9bfc,_0x2bacea,_0x51536d){var _0x3dd5e1=_0x7744bf;super(_0x427d54,_0x36182f,_0x614fed,_0x5760c4,_0x419238,_0x12f1c6,_0x3ec3c9,_0x3a77b1,_0x2512a1,_0x2d724d,_0x4f9bfc,_0x2bacea,_0x51536d),this[_0x3dd5e1(0x277)]=_0x427d54,this[_0x3dd5e1(0x2bd)]=_0x614fed,this[_0x3dd5e1(0x484)]=_0x28f613;}[_0x7744bf(0x1f2)](){var _0x5e8ce7=_0x7744bf;const _0x585817=super[_0x5e8ce7(0x1f2)]();return _0x585817[_0x5e8ce7(0x1e0)]=_0x5c5586=>this[_0x5e8ce7(0x484)]['transformSelections'](_0x5c5586),_0x585817;}async['_init'](){var _0x4f4b2b=_0x7744bf;const _0x515d73=await super['_init']();return this[_0x4f4b2b(0x3c4)](this[_0x4f4b2b(0x450)]['onCommandExecuted']((_0x21fe75,_0x291037)=>{var _0x5424c8=_0x4f4b2b;if(_0x21fe75[_0x5424c8(0x2bd)]!==_0x144f12[_0x5424c8(0x44e)]||_0x291037!=null&&_0x291037[_0x5424c8(0x1f3)]||_0x291037!=null&&_0x291037[_0x5424c8(0x305)])return;const _0x16572f=_0x21fe75[_0x5424c8(0x274)];if((_0x16572f==null?void 0x0:_0x16572f[_0x5424c8(0x34c)])!==this[_0x5424c8(0x277)])return;const _0x5f5b91=_0x21fe75,_0x36b084=this[_0x5424c8(0x31a)][_0x5424c8(0x26b)][_0x5424c8(0x414)](this[_0x5424c8(0x31a)]['interceptor'][_0x5424c8(0x40f)]()['COMPRESS_MUTATION_SEND'])([_0x5f5b91],null)||[_0x5f5b91];this[_0x5424c8(0x41f)](_0x36b084[0x0]);})),_0x515d73;}};bt=Mt([k(0x3,_0x46f2f9(_0x6d28a0)),k(0x4,_0x46f2f9(_0xac8eba)),k(0x5,_0x46f2f9(_0x12cbe1)),k(0x6,_0x46f2f9(_0x4d4128)),k(0x7,_0x46f2f9(nt)),k(0x8,_0x46f2f9(pe)),k(0x9,_0x36e00a),k(0xa,_0x516aa5),k(0xb,_0x13c615),k(0xc,_0x49cb22(_t)),k(0xd,_0x49cb22(X))],bt);var ys=Object[_0x7744bf(0x467)],Os=Object[_0x7744bf(0x1c0)],Ps=(_0x4d0e93,_0x59c000,_0xcc39ca,_0x65476c)=>{var _0x484b28=_0x7744bf;for(var _0xcd331b=_0x65476c>0x1?void 0x0:_0x65476c?Os(_0x59c000,_0xcc39ca):_0x59c000,_0x49a06b=_0x4d0e93[_0x484b28(0x1db)]-0x1,_0x48ed30;_0x49a06b>=0x0;_0x49a06b--)(_0x48ed30=_0x4d0e93[_0x49a06b])&&(_0xcd331b=(_0x65476c?_0x48ed30(_0x59c000,_0xcc39ca,_0xcd331b):_0x48ed30(_0xcd331b))||_0xcd331b);return _0x65476c&&_0xcd331b&&ys(_0x59c000,_0xcc39ca,_0xcd331b),_0xcd331b;},vt=(_0x599198,_0x5d9da7)=>(_0x39ffb2,_0x2fed35)=>_0x5d9da7(_0x39ffb2,_0x2fed35,_0x599198);let rt=class extends _0x2bcc2a{constructor(_0x8fa8ac,_0x1683be,_0x1629a9){var _0x5bed8a=_0x7744bf;super(),D(this,_0x5bed8a(0x3f0),new Map()),D(this,_0x5bed8a(0x1f7),new _0x14ccc3()),D(this,'entityInit$',this['_entityInit$'][_0x5bed8a(0x463)]()),(this[_0x5bed8a(0x1d9)]=_0x8fa8ac,this[_0x5bed8a(0x1f4)]=_0x1683be,this[_0x5bed8a(0x403)]=_0x1629a9,this[_0x5bed8a(0x364)]());}['dispose'](){var _0x3e805c=_0x7744bf;super['dispose'](),this[_0x3e805c(0x3f0)][_0x3e805c(0x365)](_0x53295d=>_0x53295d['dispose']()),this[_0x3e805c(0x3f0)][_0x3e805c(0x412)]();}[_0x7744bf(0x309)](_0x51d745){var _0x262004=_0x7744bf,_0x302a6e;return(_0x302a6e=this[_0x262004(0x3f0)][_0x262004(0x422)](_0x51d745))!=null?_0x302a6e:null;}[_0x7744bf(0x294)](_0x413051){var _0x2d121a=_0x7744bf;const _0x1703b6=this[_0x2d121a(0x309)](_0x413051);return _0x1703b6?_0x1431f5(_0x1703b6):this[_0x2d121a(0x1f7)][_0x2d121a(0x1cf)](_0x43efb4(_0x6024f0=>_0x6024f0[_0x2d121a(0x277)]===_0x413051));}[_0x7744bf(0x3a6)](_0xcb30e3){return _0x22410a(this['getCollabEntity$'](_0xcb30e3)['pipe'](_0x30311a(()=>{})));}[_0x7744bf(0x364)](){var _0x319ee8=_0x7744bf;this[_0x319ee8(0x403)][_0x319ee8(0x23e)](_0x2a4642[_0x319ee8(0x49a)])['pipe'](_0x31e53b(this['dispose$']),_0x344cd0(0x10))[_0x319ee8(0x447)](async _0x3edbd2=>{var _0x3d9f81=_0x319ee8;const _0x1ff407=_0x3edbd2[_0x3d9f81(0x48b)](),_0x5079ab=await this[_0x3d9f81(0x499)](_0x1ff407,Q['UNIVER_SHEET']);this[_0x3d9f81(0x3f0)][_0x3d9f81(0x425)](_0x1ff407,_0x5079ab);}),this[_0x319ee8(0x403)]['getTypeOfUnitAdded$'](_0x2a4642['UNIVER_DOC'])[_0x319ee8(0x1cf)](_0x31e53b(this[_0x319ee8(0x2da)]),_0x344cd0(0x10))['pipe'](_0x43efb4(_0x160567=>!_0x160567['getUnitId']()[_0x319ee8(0x1dd)]('__')))[_0x319ee8(0x447)](async _0x133d84=>{var _0x309a55=_0x319ee8;const _0x3d96bd=_0x133d84[_0x309a55(0x48b)](),_0x200eaf=await this['_startCollaboration'](_0x3d96bd,Q[_0x309a55(0x457)]);this[_0x309a55(0x3f0)][_0x309a55(0x425)](_0x3d96bd,_0x200eaf);}),_0x2a7ebf(this[_0x319ee8(0x403)][_0x319ee8(0x352)](_0x2a4642[_0x319ee8(0x49a)]),this[_0x319ee8(0x403)][_0x319ee8(0x352)](_0x2a4642[_0x319ee8(0x457)]))[_0x319ee8(0x1cf)](_0x31e53b(this[_0x319ee8(0x2da)]))[_0x319ee8(0x447)](_0x31d295=>{var _0x20163d=_0x319ee8;const _0x2d623b=_0x31d295[_0x20163d(0x48b)](),_0x6f0713=this[_0x20163d(0x3f0)]['get'](_0x2d623b);_0x6f0713&&(_0x6f0713[_0x20163d(0x348)](),this[_0x20163d(0x3f0)][_0x20163d(0x45a)](_0x2d623b));});}async[_0x7744bf(0x499)](_0x4e34f6,_0xf9c8a6){var _0x5cef09=_0x7744bf;const _0x34d342=await this[_0x5cef09(0x1f4)][_0x5cef09(0x398)](_0x4e34f6),_0x5491d8=this['_injector'][_0x5cef09(0x431)](this[_0x5cef09(0x3e4)](_0xf9c8a6),_0x4e34f6,_0xf9c8a6,_0x34d342);return await _0x5491d8[_0x5cef09(0x475)](),this[_0x5cef09(0x1f7)]['next'](_0x5491d8),_0x5491d8;}[_0x7744bf(0x3e4)](_0x117e83){var _0x2f8190=_0x7744bf;switch(_0x117e83){case Q['UNIVER_DOC']:return Ct;case Q[_0x2f8190(0x49a)]:return bt;default:throw new Error(_0x2f8190(0x461)+_0x117e83);}}};rt=Ps([vt(0x0,_0x46f2f9(_0x6d28a0)),vt(0x1,_0x46f2f9(Me)),vt(0x2,_0x464ce2)],rt);var Ns=Object[_0x7744bf(0x467)],Ds=Object['getOwnPropertyDescriptor'],ws=(_0x5dd246,_0x20d231,_0x40f4c7,_0xf96a0b)=>{var _0x5d01f3=_0x7744bf;for(var _0x3b722a=_0xf96a0b>0x1?void 0x0:_0xf96a0b?Ds(_0x20d231,_0x40f4c7):_0x20d231,_0x21c2e7=_0x5dd246[_0x5d01f3(0x1db)]-0x1,_0x1e6fad;_0x21c2e7>=0x0;_0x21c2e7--)(_0x1e6fad=_0x5dd246[_0x21c2e7])&&(_0x3b722a=(_0xf96a0b?_0x1e6fad(_0x20d231,_0x40f4c7,_0x3b722a):_0x1e6fad(_0x3b722a))||_0x3b722a);return _0xf96a0b&&_0x3b722a&&Ns(_0x20d231,_0x40f4c7,_0x3b722a),_0x3b722a;},Xt=(_0x2f84de,_0x2c786e)=>(_0x5e6f57,_0x16be8a)=>_0x2c786e(_0x5e6f57,_0x16be8a,_0x2f84de);const Us=_0x7744bf(0x3be),As=_0x7744bf(0x1b9);let Rt=class extends _0x3a9433{constructor(_0x5489fe,_0x204984){var _0x35d285=_0x7744bf;super(),this[_0x35d285(0x403)]=_0x5489fe,this[_0x35d285(0x1f1)]=_0x204984,this[_0x35d285(0x364)]();}['_init'](){var _0x50a029=_0x7744bf;this['disposeWithMe'](this[_0x50a029(0x403)]['focused$'][_0x50a029(0x447)](()=>{var _0x574809=_0x50a029,_0x587803;const _0x2bac61=this[_0x574809(0x403)][_0x574809(0x451)]();let _0x4008ce=(_0x587803=this[_0x574809(0x1f1)][_0x574809(0x3e9)](Us))!=null?_0x587803:As;_0x2bac61 instanceof _0x350e40&&(_0x4008ce=_0x2bac61[_0x574809(0x245)]),document[_0x574809(0x407)]=_0x4008ce;}));}};Rt=ws([Xt(0x0,_0x464ce2),Xt(0x1,_0x387952)],Rt);var xs=Object['defineProperty'],Ls=Object[_0x7744bf(0x1c0)],Ms=(_0x121323,_0x24ed55,_0x3346b6,_0x4f550f)=>{var _0x3cdbda=_0x7744bf;for(var _0x3a1d11=_0x4f550f>0x1?void 0x0:_0x4f550f?Ls(_0x24ed55,_0x3346b6):_0x24ed55,_0x5ab388=_0x121323[_0x3cdbda(0x1db)]-0x1,_0x161f2e;_0x5ab388>=0x0;_0x5ab388--)(_0x161f2e=_0x121323[_0x5ab388])&&(_0x3a1d11=(_0x4f550f?_0x161f2e(_0x24ed55,_0x3346b6,_0x3a1d11):_0x161f2e(_0x3a1d11))||_0x3a1d11);return _0x4f550f&&_0x3a1d11&&xs(_0x24ed55,_0x3346b6,_0x3a1d11),_0x3a1d11;},pt=(_0x547eae,_0x260ef1)=>(_0x15c01b,_0x428b25)=>_0x260ef1(_0x15c01b,_0x428b25,_0x547eae);let ot=class{constructor(_0x19421c,_0x44dcc4,_0x416e8c){var _0x3120bc=_0x7744bf;this[_0x3120bc(0x1f1)]=_0x19421c,this[_0x3120bc(0x4a2)]=_0x44dcc4,this[_0x3120bc(0x30f)]=_0x416e8c,this[_0x3120bc(0x475)]();}[_0x7744bf(0x475)](){var _0x1b8ca2=_0x7744bf;this[_0x1b8ca2(0x4a2)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x215438,_0x3fb6e2)=>_0x3fb6e2(_0x215438)[_0x1b8ca2(0x1cf)](_0x18e9f5(async _0x2647fb=>{var _0x54c3aa=_0x1b8ca2;const _0x167e4a=_0x2647fb;if(_0x167e4a[_0x54c3aa(0x2c3)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x54c3aa(0x3b0)](this[_0x54c3aa(0x30f)]['t']('auth.needGotoLoginAlert'))){const _0x44d499=window[_0x54c3aa(0x2df)](window[_0x54c3aa(0x1d0)][_0x54c3aa(0x1fb)]);window['location']['href']=this['_getLoginPath']()+_0x54c3aa(0x2cc)+_0x44d499;}}return _0x167e4a;}))});}[_0x7744bf(0x322)](){var _0x43f1ee=_0x7744bf,_0x2b44e0,_0x2cec79;const _0x4550f1=this[_0x43f1ee(0x1f1)][_0x43f1ee(0x3e9)](Fn),_0x1c5863=this[_0x43f1ee(0x1f1)]['getConfig'](Y);return(_0x2cec79=(_0x2b44e0=_0x1c5863==null?void 0x0:_0x1c5863['loginUrlKey'])!=null?_0x2b44e0:_0x4550f1)!=null?_0x2cec79:Vn;}};ot=Ms([pt(0x0,_0x387952),pt(0x1,_0x46f2f9(_0x381081)),pt(0x2,_0x46f2f9(_0x12cbe1))],ot);var $s=Object[_0x7744bf(0x467)],Hs=Object[_0x7744bf(0x1c0)],ks=(_0x578d9f,_0x451913,_0x37149c,_0x4f0182)=>{var _0x29180a=_0x7744bf;for(var _0x4078f5=_0x4f0182>0x1?void 0x0:_0x4f0182?Hs(_0x451913,_0x37149c):_0x451913,_0xb920b3=_0x578d9f[_0x29180a(0x1db)]-0x1,_0x1eec3b;_0xb920b3>=0x0;_0xb920b3--)(_0x1eec3b=_0x578d9f[_0xb920b3])&&(_0x4078f5=(_0x4f0182?_0x1eec3b(_0x451913,_0x37149c,_0x4078f5):_0x1eec3b(_0x4078f5))||_0x4078f5);return _0x4f0182&&_0x4078f5&&$s(_0x451913,_0x37149c,_0x4078f5),_0x4078f5;},Zt=(_0x2de3dd,_0x20c389)=>(_0x265479,_0xa3e4c7)=>_0x20c389(_0x265479,_0xa3e4c7,_0x2de3dd);const Di=_0x7744bf(0x2ff),js=_0x7744bf(0x388);let yt=class extends _0x3a9433{constructor(_0x537b09,_0x4fca9d){var _0x3e6418=_0x7744bf;super(),this[_0x3e6418(0x3f9)]=_0x537b09,this[_0x3e6418(0x1f1)]=_0x4fca9d,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x5e9d12=_0x7744bf;const _0x2f0e73=this;this[_0x5e9d12(0x3c4)](this[_0x5e9d12(0x3f9)][_0x5e9d12(0x2f6)]({'priority':0x3e7,'interceptor':_0x28263({'isMatch'(_0x16f3b0){var _0x4fc18b=_0x5e9d12,_0xb65e8a;if(_0x16f3b0[_0x4fc18b(0x28f)]===_0x4fc18b(0x40a)&&((_0xb65e8a=_0x16f3b0['requestParams'])!=null&&_0xb65e8a[_0x4fc18b(0x22f)])){const {objectID:_0x1270d9,objectType:_0x5a27de}=_0x16f3b0[_0x4fc18b(0x4b5)]['body']||{};if(!_0x1270d9||_0x5a27de===void 0x0)return!0x1;const _0x410a87=_0x2f0e73[_0x4fc18b(0x3f6)]()+'/'+_0x5a27de+_0x4fc18b(0x25f)+_0x1270d9+_0x4fc18b(0x26e);if(_0x16f3b0[_0x4fc18b(0x2be)]===_0x410a87)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x23f27f){var _0x34cc79=_0x5e9d12,_0x1908e7;return(_0x1908e7=_0x23f27f[_0x34cc79(0x4b5)])==null?void 0x0:_0x1908e7[_0x34cc79(0x22f)];},'mergeParamsToRequest'(_0x435e26,_0x428cfc){var _0x3cbbc4=_0x5e9d12;const _0x5844a7=_0x2f0e73[_0x3cbbc4(0x3f6)]()+_0x3cbbc4(0x335),_0x3a772f=_0x435e26[_0x3cbbc4(0x2e5)]((_0x166e4a,_0x48d089)=>{var _0x675bc5=_0x3cbbc4;const {unitID:_0x60cbd7,objectID:_0x3f9c2c,objectType:_0x56fda0,actions:_0x14b5b1}=_0x48d089;return _0x166e4a[_0x60cbd7]||(_0x166e4a[_0x60cbd7]={}),_0x166e4a[_0x60cbd7][_0x3f9c2c]||(_0x166e4a[_0x60cbd7][_0x3f9c2c]={'objectID':_0x3f9c2c,'objectType':_0x56fda0,'actions':[]}),_0x166e4a[_0x60cbd7][_0x3f9c2c][_0x675bc5(0x234)][_0x675bc5(0x222)](..._0x14b5b1),_0x166e4a;},{}),_0x53d397=[];for(const _0xa93596 in _0x3a772f)for(const _0x3c8d7a in _0x3a772f[_0xa93596]){const {actions:_0x395e76,objectType:_0x3462c5}=_0x3a772f[_0xa93596][_0x3c8d7a],_0x3e4adc=[...new Set(_0x395e76)];_0x53d397[_0x3cbbc4(0x222)]({'unitID':_0xa93596,'objectID':_0x3c8d7a,'objectType':_0x3462c5,'actions':_0x3e4adc});}return new _0x1b1026('POST',_0x5844a7,{'headers':_0x428cfc['headers'],'withCredentials':_0x428cfc[_0x3cbbc4(0x1ca)],'responseType':_0x428cfc['responseType'],'body':{'requests':_0x53d397}});}},{'distributeResult'(_0x53caf3,_0x405925){var _0x41925e=_0x5e9d12;const {objectActions:_0x10fa8d}=_0x53caf3;return _0x405925[_0x41925e(0x40e)](_0x38ab51=>{var _0x6a4bd2=_0x41925e;const {unitID:_0x581e88,objectID:_0x462ba1,actions:_0x404906}=_0x38ab51,_0x4ee35f=_0x10fa8d[_0x6a4bd2(0x43d)](_0x1101c3=>_0x1101c3['unitID']===_0x581e88&&_0x1101c3[_0x6a4bd2(0x419)]===_0x462ba1),_0x5a295a=_0x404906[_0x6a4bd2(0x40e)](_0x3ea697=>_0x4ee35f==null?void 0x0:_0x4ee35f['actions'][_0x6a4bd2(0x43d)](_0x1cd22b=>_0x1cd22b[_0x6a4bd2(0x35e)]===_0x3ea697))['filter'](_0x4e9f8c=>!!_0x4e9f8c);return{'config':_0x38ab51,'result':{'actions':_0x5a295a,'error':_0x53caf3[_0x6a4bd2(0x44a)]}};});}})}));}['_getAPIPrefixPath'](){var _0x23b9ea=_0x7744bf,_0x1e2783,_0x33f691;const _0x113af4=this[_0x23b9ea(0x1f1)][_0x23b9ea(0x3e9)](Di),_0x168566=this['_configService'][_0x23b9ea(0x3e9)](Y);return(_0x33f691=(_0x1e2783=_0x168566==null?void 0x0:_0x168566[_0x23b9ea(0x2f4)])!=null?_0x1e2783:_0x113af4)!=null?_0x33f691:js;}async[_0x7744bf(0x410)](_0x3ba92f){var _0x26be88=_0x7744bf;const _0x2cb183=this['_getAPIPrefixPath']()+'/'+_0x3ba92f['objectType']+_0x26be88(0x3da);return(await this[_0x26be88(0x3f9)][_0x26be88(0x384)](_0x2cb183,{'body':_0x3ba92f}))[_0x26be88(0x22f)][_0x26be88(0x419)]||'';}async['list'](_0x54408a){var _0x453929=_0x7744bf;const _0x21a173=this[_0x453929(0x3f6)]()+_0x453929(0x3b5);return(await this[_0x453929(0x3f9)]['post'](_0x21a173,{'body':_0x54408a}))[_0x453929(0x22f)][_0x453929(0x37d)];}async[_0x7744bf(0x2b3)](_0x45e37f){var _0x48d203=_0x7744bf;const _0x1c3cf2=this[_0x48d203(0x3f6)]()+'/'+_0x45e37f[_0x48d203(0x323)]+'/object/'+_0x45e37f['objectID'];await this[_0x48d203(0x3f9)]['put'](_0x1c3cf2,{'body':_0x45e37f});}async['allowed'](_0x54e4f4){var _0x2b9e6a=_0x7744bf;const _0x270936=this['_getAPIPrefixPath']()+'/'+_0x54e4f4[_0x2b9e6a(0x323)]+_0x2b9e6a(0x25f)+_0x54e4f4['objectID']+_0x2b9e6a(0x26e);return(await this[_0x2b9e6a(0x3f9)]['post'](_0x270936,{'body':_0x54e4f4}))[_0x2b9e6a(0x22f)][_0x2b9e6a(0x234)];}async[_0x7744bf(0x370)](_0x3fd742){var _0x38a109=_0x7744bf;const _0x542eaf=this[_0x38a109(0x3f6)]()+_0x38a109(0x335);return(await this[_0x38a109(0x3f9)][_0x38a109(0x384)](_0x542eaf,{'body':{'requests':_0x3fd742}}))[_0x38a109(0x22f)][_0x38a109(0x3a4)];}async[_0x7744bf(0x3a9)](_0xd8cff8){var _0x3e435f=_0x7744bf;const _0x6d0b29=this[_0x3e435f(0x3f6)]()+'/'+_0xd8cff8[_0x3e435f(0x323)]+'/role',_0x243b9e=await this['_HTTPService'][_0x3e435f(0x384)](_0x6d0b29,{'body':_0xd8cff8});return{'roles':_0x243b9e[_0x3e435f(0x22f)]['roles'],'actions':_0x243b9e['body'][_0x3e435f(0x234)]};}async[_0x7744bf(0x3b3)](_0x4c3d11){var _0x1c534d=_0x7744bf;const _0x237cb0=this[_0x1c534d(0x3f6)]()+_0x1c534d(0x2ab);await this[_0x1c534d(0x3f9)][_0x1c534d(0x45a)](_0x237cb0,{'params':{'collaboratorID':_0x4c3d11[_0x1c534d(0x2ed)],'objectID':_0x4c3d11[_0x1c534d(0x419)],'unitID':_0x4c3d11[_0x1c534d(0x277)]}});}async['updateCollaborator'](_0x486c2c){var _0x32ddef=_0x7744bf;const _0x4db8a5=this['_getAPIPrefixPath']()+_0x32ddef(0x2ab);await this[_0x32ddef(0x3f9)][_0x32ddef(0x2f8)](_0x4db8a5,{'body':_0x486c2c});}async[_0x7744bf(0x1b5)](_0x253a76){var _0x2058e4=_0x7744bf;const _0x4fcccc=this[_0x2058e4(0x3f6)]()+_0x2058e4(0x2ab);await this[_0x2058e4(0x3f9)]['post'](_0x4fcccc,{'body':_0x253a76});}async[_0x7744bf(0x24d)](_0x1fb68b){var _0x2f7151=_0x7744bf;const _0x374584=this['_getAPIPrefixPath']()+_0x2f7151(0x2ab);return(await this['_HTTPService']['get'](_0x374584,{'params':{'objectID':_0x1fb68b['objectID'],'unitID':_0x1fb68b[_0x2f7151(0x277)]}}))['body'][_0x2f7151(0x3a7)];}async['putCollaborators'](_0x248d5e){var _0x596c95=_0x7744bf;const _0x42cb99=this[_0x596c95(0x3f6)]()+'/collaborator';await this[_0x596c95(0x3f9)]['put'](_0x42cb99,{'body':_0x248d5e});}};yt=ks([Zt(0x0,_0x46f2f9(_0x381081)),Zt(0x1,_0x46f2f9(_0x387952))],yt);var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x2e5213){var _0x191623=_0x7744bf;return _0x2e5213&&_0x2e5213[_0x191623(0x445)]&&Object[_0x191623(0x239)]['hasOwnProperty']['call'](_0x2e5213,'default')?_0x2e5213['default']:_0x2e5213;}var We={'exports':{}};function Bs(_0x204733){var _0x1606cf=_0x7744bf;throw new Error(_0x1606cf(0x2ca)+_0x204733+_0x1606cf(0x2e4));}var Ge={'exports':{}},Fs=Ge[_0x7744bf(0x361)],Qt;function ne(){return Qt||(Qt=0x1,function(_0x200918,_0x490aa4){(function(_0x1e05ba,_0x3f2a35){var _0x9fb14d=_0x186f;_0x200918[_0x9fb14d(0x361)]=_0x3f2a35();}(Fs,function(){var _0x48e491=_0x48e491||function(_0x303bfb,_0x5f592c){var _0x464dc6=_0x186f,_0x80f166;if(typeof window<'u'&&window[_0x464dc6(0x3a1)]&&(_0x80f166=window[_0x464dc6(0x3a1)]),typeof self<'u'&&self[_0x464dc6(0x3a1)]&&(_0x80f166=self[_0x464dc6(0x3a1)]),typeof globalThis<'u'&&globalThis[_0x464dc6(0x3a1)]&&(_0x80f166=globalThis['crypto']),!_0x80f166&&typeof window<'u'&&window['msCrypto']&&(_0x80f166=window[_0x464dc6(0x221)]),!_0x80f166&&typeof gt<'u'&&gt[_0x464dc6(0x3a1)]&&(_0x80f166=gt[_0x464dc6(0x3a1)]),!_0x80f166&&typeof Bs==_0x464dc6(0x459))try{_0x80f166=require(_0x464dc6(0x3a1));}catch{}var _0x6b0abc=function(){var _0x55c14f=_0x464dc6;if(_0x80f166){if(typeof _0x80f166[_0x55c14f(0x48e)]==_0x55c14f(0x459))try{return _0x80f166['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x80f166[_0x55c14f(0x248)]==_0x55c14f(0x459))try{return _0x80f166['randomBytes'](0x4)[_0x55c14f(0x38f)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1ad553=Object[_0x464dc6(0x410)]||(function(){function _0x500574(){}return function(_0x3facae){var _0x21ae13=_0x186f,_0x4783e8;return _0x500574[_0x21ae13(0x239)]=_0x3facae,_0x4783e8=new _0x500574(),_0x500574[_0x21ae13(0x239)]=null,_0x4783e8;};}()),_0xb33492={},_0x499597=_0xb33492[_0x464dc6(0x32b)]={},_0x30967e=_0x499597[_0x464dc6(0x298)]=(function(){return{'extend':function(_0x46dc02){var _0xb955ac=_0x186f,_0x431ae9=_0x1ad553(this);return _0x46dc02&&_0x431ae9[_0xb955ac(0x45f)](_0x46dc02),(!_0x431ae9[_0xb955ac(0x454)](_0xb955ac(0x475))||this['init']===_0x431ae9[_0xb955ac(0x475)])&&(_0x431ae9[_0xb955ac(0x475)]=function(){var _0x475272=_0xb955ac;_0x431ae9[_0x475272(0x30c)][_0x475272(0x475)]['apply'](this,arguments);}),_0x431ae9['init'][_0xb955ac(0x239)]=_0x431ae9,_0x431ae9[_0xb955ac(0x30c)]=this,_0x431ae9;},'create':function(){var _0x2778c8=_0x186f,_0x598781=this[_0x2778c8(0x42a)]();return _0x598781[_0x2778c8(0x475)][_0x2778c8(0x1b2)](_0x598781,arguments),_0x598781;},'init':function(){},'mixIn':function(_0x16e7fc){var _0x193e7c=_0x186f;for(var _0x4acc72 in _0x16e7fc)_0x16e7fc[_0x193e7c(0x454)](_0x4acc72)&&(this[_0x4acc72]=_0x16e7fc[_0x4acc72]);_0x16e7fc[_0x193e7c(0x454)](_0x193e7c(0x267))&&(this['toString']=_0x16e7fc[_0x193e7c(0x267)]);},'clone':function(){var _0x172f45=_0x186f;return this[_0x172f45(0x475)]['prototype']['extend'](this);}};}()),_0x52152e=_0x499597[_0x464dc6(0x1b3)]=_0x30967e[_0x464dc6(0x42a)]({'init':function(_0x45c7d9,_0x628a6){var _0x3a6557=_0x464dc6;_0x45c7d9=this['words']=_0x45c7d9||[],_0x628a6!=_0x5f592c?this[_0x3a6557(0x493)]=_0x628a6:this['sigBytes']=_0x45c7d9[_0x3a6557(0x1db)]*0x4;},'toString':function(_0x5e525c){var _0x3db942=_0x464dc6;return(_0x5e525c||_0x1dd5bd)[_0x3db942(0x48c)](this);},'concat':function(_0x42aab6){var _0x208cc0=_0x464dc6,_0x5b6c44=this[_0x208cc0(0x319)],_0x473e8e=_0x42aab6[_0x208cc0(0x319)],_0x3a5ecc=this[_0x208cc0(0x493)],_0x12c8a3=_0x42aab6[_0x208cc0(0x493)];if(this[_0x208cc0(0x4a3)](),_0x3a5ecc%0x4)for(var _0x1a6be9=0x0;_0x1a6be9<_0x12c8a3;_0x1a6be9++){var _0x293469=_0x473e8e[_0x1a6be9>>>0x2]>>>0x18-_0x1a6be9%0x4*0x8&0xff;_0x5b6c44[_0x3a5ecc+_0x1a6be9>>>0x2]|=_0x293469<<0x18-(_0x3a5ecc+_0x1a6be9)%0x4*0x8;}else{for(var _0xc8eff4=0x0;_0xc8eff4<_0x12c8a3;_0xc8eff4+=0x4)_0x5b6c44[_0x3a5ecc+_0xc8eff4>>>0x2]=_0x473e8e[_0xc8eff4>>>0x2];}return this['sigBytes']+=_0x12c8a3,this;},'clamp':function(){var _0x2f4fc5=_0x464dc6,_0x384bc8=this[_0x2f4fc5(0x319)],_0x43ea7b=this['sigBytes'];_0x384bc8[_0x43ea7b>>>0x2]&=0xffffffff<<0x20-_0x43ea7b%0x4*0x8,_0x384bc8['length']=_0x303bfb[_0x2f4fc5(0x437)](_0x43ea7b/0x4);},'clone':function(){var _0x1f688b=_0x464dc6,_0x5582b5=_0x30967e['clone'][_0x1f688b(0x46a)](this);return _0x5582b5[_0x1f688b(0x319)]=this[_0x1f688b(0x319)]['slice'](0x0),_0x5582b5;},'random':function(_0x412298){var _0x454ea3=_0x464dc6;for(var _0x4437d8=[],_0x56c1da=0x0;_0x56c1da<_0x412298;_0x56c1da+=0x4)_0x4437d8[_0x454ea3(0x222)](_0x6b0abc());return new _0x52152e[(_0x454ea3(0x475))](_0x4437d8,_0x412298);}}),_0x582c81=_0xb33492[_0x464dc6(0x47b)]={},_0x1dd5bd=_0x582c81[_0x464dc6(0x444)]={'stringify':function(_0x346d16){var _0x2c8371=_0x464dc6;for(var _0x13afbe=_0x346d16[_0x2c8371(0x319)],_0x401309=_0x346d16['sigBytes'],_0x26473a=[],_0x2ac710=0x0;_0x2ac710<_0x401309;_0x2ac710++){var _0xb84e86=_0x13afbe[_0x2ac710>>>0x2]>>>0x18-_0x2ac710%0x4*0x8&0xff;_0x26473a[_0x2c8371(0x222)]((_0xb84e86>>>0x4)[_0x2c8371(0x267)](0x10)),_0x26473a[_0x2c8371(0x222)]((_0xb84e86&0xf)[_0x2c8371(0x267)](0x10));}return _0x26473a[_0x2c8371(0x326)]('');},'parse':function(_0x8f9c8e){var _0x14d390=_0x464dc6;for(var _0x5e0207=_0x8f9c8e[_0x14d390(0x1db)],_0x3666a1=[],_0x39f942=0x0;_0x39f942<_0x5e0207;_0x39f942+=0x2)_0x3666a1[_0x39f942>>>0x3]|=parseInt(_0x8f9c8e[_0x14d390(0x32f)](_0x39f942,0x2),0x10)<<0x18-_0x39f942%0x8*0x4;return new _0x52152e[(_0x14d390(0x475))](_0x3666a1,_0x5e0207/0x2);}},_0x442089=_0x582c81[_0x464dc6(0x400)]={'stringify':function(_0x3c6292){var _0xd3dba6=_0x464dc6;for(var _0x3033dd=_0x3c6292[_0xd3dba6(0x319)],_0x4e4ce3=_0x3c6292['sigBytes'],_0xb2d87d=[],_0x32f48b=0x0;_0x32f48b<_0x4e4ce3;_0x32f48b++){var _0x342818=_0x3033dd[_0x32f48b>>>0x2]>>>0x18-_0x32f48b%0x4*0x8&0xff;_0xb2d87d[_0xd3dba6(0x222)](String['fromCharCode'](_0x342818));}return _0xb2d87d[_0xd3dba6(0x326)]('');},'parse':function(_0xeb0fd9){var _0x3948d7=_0x464dc6;for(var _0x37fe1b=_0xeb0fd9['length'],_0x2f9303=[],_0x341c6e=0x0;_0x341c6e<_0x37fe1b;_0x341c6e++)_0x2f9303[_0x341c6e>>>0x2]|=(_0xeb0fd9[_0x3948d7(0x43f)](_0x341c6e)&0xff)<<0x18-_0x341c6e%0x4*0x8;return new _0x52152e[(_0x3948d7(0x475))](_0x2f9303,_0x37fe1b);}},_0x1c2745=_0x582c81[_0x464dc6(0x2c5)]={'stringify':function(_0x5325ad){var _0x3f357d=_0x464dc6;try{return decodeURIComponent(escape(_0x442089['stringify'](_0x5325ad)));}catch{throw new Error(_0x3f357d(0x4b3));}},'parse':function(_0x563e7b){var _0x237059=_0x464dc6;return _0x442089[_0x237059(0x429)](unescape(encodeURIComponent(_0x563e7b)));}},_0x24eb94=_0x499597['BufferedBlockAlgorithm']=_0x30967e[_0x464dc6(0x42a)]({'reset':function(){var _0x385ebf=_0x464dc6;this['_data']=new _0x52152e['init'](),this[_0x385ebf(0x1ce)]=0x0;},'_append':function(_0x17e378){var _0x41442b=_0x464dc6;typeof _0x17e378==_0x41442b(0x21e)&&(_0x17e378=_0x1c2745[_0x41442b(0x429)](_0x17e378)),this[_0x41442b(0x1bd)]['concat'](_0x17e378),this[_0x41442b(0x1ce)]+=_0x17e378[_0x41442b(0x493)];},'_process':function(_0x23811e){var _0x46bda7=_0x464dc6,_0x305220,_0x4f6bb4=this[_0x46bda7(0x1bd)],_0x44d69e=_0x4f6bb4['words'],_0x205a9c=_0x4f6bb4[_0x46bda7(0x493)],_0x3122bc=this[_0x46bda7(0x230)],_0x59d94e=_0x3122bc*0x4,_0x5cf562=_0x205a9c/_0x59d94e;_0x23811e?_0x5cf562=_0x303bfb[_0x46bda7(0x437)](_0x5cf562):_0x5cf562=_0x303bfb[_0x46bda7(0x20c)]((_0x5cf562|0x0)-this[_0x46bda7(0x2aa)],0x0);var _0x1557e8=_0x5cf562*_0x3122bc,_0xc0996=_0x303bfb[_0x46bda7(0x389)](_0x1557e8*0x4,_0x205a9c);if(_0x1557e8){for(var _0x1b232c=0x0;_0x1b232c<_0x1557e8;_0x1b232c+=_0x3122bc)this[_0x46bda7(0x413)](_0x44d69e,_0x1b232c);_0x305220=_0x44d69e[_0x46bda7(0x1de)](0x0,_0x1557e8),_0x4f6bb4[_0x46bda7(0x493)]-=_0xc0996;}return new _0x52152e[(_0x46bda7(0x475))](_0x305220,_0xc0996);},'clone':function(){var _0x3be32a=_0x464dc6,_0x230c59=_0x30967e[_0x3be32a(0x27c)]['call'](this);return _0x230c59[_0x3be32a(0x1bd)]=this[_0x3be32a(0x1bd)]['clone'](),_0x230c59;},'_minBufferSize':0x0});_0x499597['Hasher']=_0x24eb94['extend']({'cfg':_0x30967e[_0x464dc6(0x42a)](),'init':function(_0x91bed){var _0x8cb00a=_0x464dc6;this[_0x8cb00a(0x3f3)]=this[_0x8cb00a(0x3f3)][_0x8cb00a(0x42a)](_0x91bed),this[_0x8cb00a(0x3d6)]();},'reset':function(){var _0x51a7ed=_0x464dc6;_0x24eb94[_0x51a7ed(0x3d6)][_0x51a7ed(0x46a)](this),this[_0x51a7ed(0x26d)]();},'update':function(_0x34ad9a){var _0x26f309=_0x464dc6;return this[_0x26f309(0x2a0)](_0x34ad9a),this[_0x26f309(0x39f)](),this;},'finalize':function(_0x23a808){var _0x25f69e=_0x464dc6;_0x23a808&&this['_append'](_0x23a808);var _0x24779c=this[_0x25f69e(0x33b)]();return _0x24779c;},'blockSize':0x10,'_createHelper':function(_0x59eaaf){return function(_0x214d08,_0x278664){var _0x5df985=_0x186f;return new _0x59eaaf[(_0x5df985(0x475))](_0x278664)[_0x5df985(0x397)](_0x214d08);};},'_createHmacHelper':function(_0x4b2b0a){return function(_0x252382,_0x4d4d02){var _0x4db8d1=_0x186f;return new _0x53cb50[(_0x4db8d1(0x3b1))][(_0x4db8d1(0x475))](_0x4b2b0a,_0x4d4d02)[_0x4db8d1(0x397)](_0x252382);};}});var _0x53cb50=_0xb33492[_0x464dc6(0x380)]={};return _0xb33492;}(Math);return _0x48e491;}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Vs=Ke[_0x7744bf(0x361)],ei;function wi(){return ei||(ei=0x1,function(_0x3cffab,_0x2b0207){(function(_0x5290e5,_0x1214a6){var _0x1d1c3c=_0x186f;_0x3cffab[_0x1d1c3c(0x361)]=_0x1214a6(ne());}(Vs,function(_0x2f141e){var _0x4b55bc=_0x186f;return(function(){var _0x1bf3ae=_0x186f,_0x219793=_0x2f141e,_0x2a974f=_0x219793[_0x1bf3ae(0x32b)],_0x2b7df0=_0x2a974f[_0x1bf3ae(0x1b3)],_0x4aa6de=_0x219793[_0x1bf3ae(0x47b)];_0x4aa6de[_0x1bf3ae(0x2fa)]={'stringify':function(_0xe49f96){var _0x5bfdfd=_0x1bf3ae,_0x29c85b=_0xe49f96['words'],_0x2543b4=_0xe49f96[_0x5bfdfd(0x493)],_0x58dc3e=this[_0x5bfdfd(0x258)];_0xe49f96[_0x5bfdfd(0x4a3)]();for(var _0x3aaa14=[],_0x21aafe=0x0;_0x21aafe<_0x2543b4;_0x21aafe+=0x3)for(var _0x4512c7=_0x29c85b[_0x21aafe>>>0x2]>>>0x18-_0x21aafe%0x4*0x8&0xff,_0xb1d7e8=_0x29c85b[_0x21aafe+0x1>>>0x2]>>>0x18-(_0x21aafe+0x1)%0x4*0x8&0xff,_0x78eff5=_0x29c85b[_0x21aafe+0x2>>>0x2]>>>0x18-(_0x21aafe+0x2)%0x4*0x8&0xff,_0x5b635e=_0x4512c7<<0x10|_0xb1d7e8<<0x8|_0x78eff5,_0x1d2d26=0x0;_0x1d2d26<0x4&&_0x21aafe+_0x1d2d26*0.75<_0x2543b4;_0x1d2d26++)_0x3aaa14[_0x5bfdfd(0x222)](_0x58dc3e[_0x5bfdfd(0x1fe)](_0x5b635e>>>0x6*(0x3-_0x1d2d26)&0x3f));var _0x553c59=_0x58dc3e[_0x5bfdfd(0x1fe)](0x40);if(_0x553c59){for(;_0x3aaa14[_0x5bfdfd(0x1db)]%0x4;)_0x3aaa14[_0x5bfdfd(0x222)](_0x553c59);}return _0x3aaa14['join']('');},'parse':function(_0x12872c){var _0x44418f=_0x1bf3ae,_0x5096d3=_0x12872c[_0x44418f(0x1db)],_0xb39898=this[_0x44418f(0x258)],_0x3fb3d4=this[_0x44418f(0x339)];if(!_0x3fb3d4){_0x3fb3d4=this[_0x44418f(0x339)]=[];for(var _0x1d0bde=0x0;_0x1d0bde<_0xb39898[_0x44418f(0x1db)];_0x1d0bde++)_0x3fb3d4[_0xb39898[_0x44418f(0x43f)](_0x1d0bde)]=_0x1d0bde;}var _0x49ddeb=_0xb39898[_0x44418f(0x1fe)](0x40);if(_0x49ddeb){var _0x2e355c=_0x12872c[_0x44418f(0x261)](_0x49ddeb);_0x2e355c!==-0x1&&(_0x5096d3=_0x2e355c);}return _0x4cf938(_0x12872c,_0x5096d3,_0x3fb3d4);},'_map':_0x1bf3ae(0x1be)};function _0x4cf938(_0x1d8808,_0x1de5e0,_0x3ae645){var _0xa2bd5a=_0x1bf3ae;for(var _0x22224c=[],_0x9d3eed=0x0,_0x4c6c06=0x0;_0x4c6c06<_0x1de5e0;_0x4c6c06++)if(_0x4c6c06%0x4){var _0x52a284=_0x3ae645[_0x1d8808[_0xa2bd5a(0x43f)](_0x4c6c06-0x1)]<<_0x4c6c06%0x4*0x2,_0x1315b3=_0x3ae645[_0x1d8808[_0xa2bd5a(0x43f)](_0x4c6c06)]>>>0x6-_0x4c6c06%0x4*0x2,_0x57f610=_0x52a284|_0x1315b3;_0x22224c[_0x9d3eed>>>0x2]|=_0x57f610<<0x18-_0x9d3eed%0x4*0x8,_0x9d3eed++;}return _0x2b7df0[_0xa2bd5a(0x410)](_0x22224c,_0x9d3eed);}}()),_0x2f141e[_0x4b55bc(0x47b)]['Base64'];}));}(Ke)),Ke['exports'];}var ze={'exports':{}},Ws=ze[_0x7744bf(0x361)],ti;function Gs(){return ti||(ti=0x1,function(_0x5d05d5,_0x530b0d){(function(_0xa9fec0,_0x155f53){var _0x52772f=_0x186f;_0x5d05d5[_0x52772f(0x361)]=_0x155f53(ne());}(Ws,function(_0x5a4887){return function(_0x444613){var _0x4a7364=_0x186f,_0x45bac0=_0x5a4887,_0x2cf9e7=_0x45bac0[_0x4a7364(0x32b)],_0x4f933f=_0x2cf9e7[_0x4a7364(0x1b3)],_0xb838fe=_0x2cf9e7['Hasher'],_0x7dc355=_0x45bac0[_0x4a7364(0x380)],_0x424f8d=[];(function(){var _0x27659b=_0x4a7364;for(var _0x552ef0=0x0;_0x552ef0<0x40;_0x552ef0++)_0x424f8d[_0x552ef0]=_0x444613[_0x27659b(0x2bb)](_0x444613['sin'](_0x552ef0+0x1))*0x100000000|0x0;}());var _0x1c8876=_0x7dc355[_0x4a7364(0x2e1)]=_0xb838fe[_0x4a7364(0x42a)]({'_doReset':function(){var _0x72024e=_0x4a7364;this[_0x72024e(0x249)]=new _0x4f933f[(_0x72024e(0x475))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xe5e162,_0x4b8cc2){var _0x1207b4=_0x4a7364;for(var _0x2feec2=0x0;_0x2feec2<0x10;_0x2feec2++){var _0x601d3a=_0x4b8cc2+_0x2feec2,_0x263996=_0xe5e162[_0x601d3a];_0xe5e162[_0x601d3a]=(_0x263996<<0x8|_0x263996>>>0x18)&0xff00ff|(_0x263996<<0x18|_0x263996>>>0x8)&0xff00ff00;}var _0x3daaa3=this[_0x1207b4(0x249)]['words'],_0x8c1a8a=_0xe5e162[_0x4b8cc2+0x0],_0x520e16=_0xe5e162[_0x4b8cc2+0x1],_0x34db23=_0xe5e162[_0x4b8cc2+0x2],_0x2be0e3=_0xe5e162[_0x4b8cc2+0x3],_0x533cb5=_0xe5e162[_0x4b8cc2+0x4],_0x42ddcf=_0xe5e162[_0x4b8cc2+0x5],_0x3fe995=_0xe5e162[_0x4b8cc2+0x6],_0x7b1561=_0xe5e162[_0x4b8cc2+0x7],_0x449f29=_0xe5e162[_0x4b8cc2+0x8],_0x427003=_0xe5e162[_0x4b8cc2+0x9],_0x2c5fd6=_0xe5e162[_0x4b8cc2+0xa],_0x34cbc1=_0xe5e162[_0x4b8cc2+0xb],_0x1c3a23=_0xe5e162[_0x4b8cc2+0xc],_0x1afc69=_0xe5e162[_0x4b8cc2+0xd],_0x5a704f=_0xe5e162[_0x4b8cc2+0xe],_0xa52ff3=_0xe5e162[_0x4b8cc2+0xf],_0x49bec7=_0x3daaa3[0x0],_0x446302=_0x3daaa3[0x1],_0x43a84d=_0x3daaa3[0x2],_0x2fabf7=_0x3daaa3[0x3];_0x49bec7=_0x36122d(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x8c1a8a,0x7,_0x424f8d[0x0]),_0x2fabf7=_0x36122d(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x520e16,0xc,_0x424f8d[0x1]),_0x43a84d=_0x36122d(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x34db23,0x11,_0x424f8d[0x2]),_0x446302=_0x36122d(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x2be0e3,0x16,_0x424f8d[0x3]),_0x49bec7=_0x36122d(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x533cb5,0x7,_0x424f8d[0x4]),_0x2fabf7=_0x36122d(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x42ddcf,0xc,_0x424f8d[0x5]),_0x43a84d=_0x36122d(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x3fe995,0x11,_0x424f8d[0x6]),_0x446302=_0x36122d(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x7b1561,0x16,_0x424f8d[0x7]),_0x49bec7=_0x36122d(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x449f29,0x7,_0x424f8d[0x8]),_0x2fabf7=_0x36122d(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x427003,0xc,_0x424f8d[0x9]),_0x43a84d=_0x36122d(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x2c5fd6,0x11,_0x424f8d[0xa]),_0x446302=_0x36122d(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x34cbc1,0x16,_0x424f8d[0xb]),_0x49bec7=_0x36122d(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x1c3a23,0x7,_0x424f8d[0xc]),_0x2fabf7=_0x36122d(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x1afc69,0xc,_0x424f8d[0xd]),_0x43a84d=_0x36122d(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x5a704f,0x11,_0x424f8d[0xe]),_0x446302=_0x36122d(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0xa52ff3,0x16,_0x424f8d[0xf]),_0x49bec7=_0x489b76(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x520e16,0x5,_0x424f8d[0x10]),_0x2fabf7=_0x489b76(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x3fe995,0x9,_0x424f8d[0x11]),_0x43a84d=_0x489b76(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x34cbc1,0xe,_0x424f8d[0x12]),_0x446302=_0x489b76(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x8c1a8a,0x14,_0x424f8d[0x13]),_0x49bec7=_0x489b76(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x42ddcf,0x5,_0x424f8d[0x14]),_0x2fabf7=_0x489b76(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x2c5fd6,0x9,_0x424f8d[0x15]),_0x43a84d=_0x489b76(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0xa52ff3,0xe,_0x424f8d[0x16]),_0x446302=_0x489b76(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x533cb5,0x14,_0x424f8d[0x17]),_0x49bec7=_0x489b76(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x427003,0x5,_0x424f8d[0x18]),_0x2fabf7=_0x489b76(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x5a704f,0x9,_0x424f8d[0x19]),_0x43a84d=_0x489b76(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x2be0e3,0xe,_0x424f8d[0x1a]),_0x446302=_0x489b76(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x449f29,0x14,_0x424f8d[0x1b]),_0x49bec7=_0x489b76(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x1afc69,0x5,_0x424f8d[0x1c]),_0x2fabf7=_0x489b76(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x34db23,0x9,_0x424f8d[0x1d]),_0x43a84d=_0x489b76(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x7b1561,0xe,_0x424f8d[0x1e]),_0x446302=_0x489b76(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x1c3a23,0x14,_0x424f8d[0x1f]),_0x49bec7=_0x360b63(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x42ddcf,0x4,_0x424f8d[0x20]),_0x2fabf7=_0x360b63(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x449f29,0xb,_0x424f8d[0x21]),_0x43a84d=_0x360b63(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x34cbc1,0x10,_0x424f8d[0x22]),_0x446302=_0x360b63(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x5a704f,0x17,_0x424f8d[0x23]),_0x49bec7=_0x360b63(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x520e16,0x4,_0x424f8d[0x24]),_0x2fabf7=_0x360b63(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x533cb5,0xb,_0x424f8d[0x25]),_0x43a84d=_0x360b63(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x7b1561,0x10,_0x424f8d[0x26]),_0x446302=_0x360b63(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x2c5fd6,0x17,_0x424f8d[0x27]),_0x49bec7=_0x360b63(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x1afc69,0x4,_0x424f8d[0x28]),_0x2fabf7=_0x360b63(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x8c1a8a,0xb,_0x424f8d[0x29]),_0x43a84d=_0x360b63(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x2be0e3,0x10,_0x424f8d[0x2a]),_0x446302=_0x360b63(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x3fe995,0x17,_0x424f8d[0x2b]),_0x49bec7=_0x360b63(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x427003,0x4,_0x424f8d[0x2c]),_0x2fabf7=_0x360b63(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x1c3a23,0xb,_0x424f8d[0x2d]),_0x43a84d=_0x360b63(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0xa52ff3,0x10,_0x424f8d[0x2e]),_0x446302=_0x360b63(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x34db23,0x17,_0x424f8d[0x2f]),_0x49bec7=_0x3cf144(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x8c1a8a,0x6,_0x424f8d[0x30]),_0x2fabf7=_0x3cf144(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x7b1561,0xa,_0x424f8d[0x31]),_0x43a84d=_0x3cf144(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x5a704f,0xf,_0x424f8d[0x32]),_0x446302=_0x3cf144(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x42ddcf,0x15,_0x424f8d[0x33]),_0x49bec7=_0x3cf144(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x1c3a23,0x6,_0x424f8d[0x34]),_0x2fabf7=_0x3cf144(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x2be0e3,0xa,_0x424f8d[0x35]),_0x43a84d=_0x3cf144(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x2c5fd6,0xf,_0x424f8d[0x36]),_0x446302=_0x3cf144(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x520e16,0x15,_0x424f8d[0x37]),_0x49bec7=_0x3cf144(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x449f29,0x6,_0x424f8d[0x38]),_0x2fabf7=_0x3cf144(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0xa52ff3,0xa,_0x424f8d[0x39]),_0x43a84d=_0x3cf144(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x3fe995,0xf,_0x424f8d[0x3a]),_0x446302=_0x3cf144(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x1afc69,0x15,_0x424f8d[0x3b]),_0x49bec7=_0x3cf144(_0x49bec7,_0x446302,_0x43a84d,_0x2fabf7,_0x533cb5,0x6,_0x424f8d[0x3c]),_0x2fabf7=_0x3cf144(_0x2fabf7,_0x49bec7,_0x446302,_0x43a84d,_0x34cbc1,0xa,_0x424f8d[0x3d]),_0x43a84d=_0x3cf144(_0x43a84d,_0x2fabf7,_0x49bec7,_0x446302,_0x34db23,0xf,_0x424f8d[0x3e]),_0x446302=_0x3cf144(_0x446302,_0x43a84d,_0x2fabf7,_0x49bec7,_0x427003,0x15,_0x424f8d[0x3f]),_0x3daaa3[0x0]=_0x3daaa3[0x0]+_0x49bec7|0x0,_0x3daaa3[0x1]=_0x3daaa3[0x1]+_0x446302|0x0,_0x3daaa3[0x2]=_0x3daaa3[0x2]+_0x43a84d|0x0,_0x3daaa3[0x3]=_0x3daaa3[0x3]+_0x2fabf7|0x0;},'_doFinalize':function(){var _0x132591=_0x4a7364,_0x40335d=this[_0x132591(0x1bd)],_0x59ac53=_0x40335d[_0x132591(0x319)],_0xe899b2=this[_0x132591(0x1ce)]*0x8,_0x370741=_0x40335d[_0x132591(0x493)]*0x8;_0x59ac53[_0x370741>>>0x5]|=0x80<<0x18-_0x370741%0x20;var _0xfd6dab=_0x444613[_0x132591(0x229)](_0xe899b2/0x100000000),_0x43f852=_0xe899b2;_0x59ac53[(_0x370741+0x40>>>0x9<<0x4)+0xf]=(_0xfd6dab<<0x8|_0xfd6dab>>>0x18)&0xff00ff|(_0xfd6dab<<0x18|_0xfd6dab>>>0x8)&0xff00ff00,_0x59ac53[(_0x370741+0x40>>>0x9<<0x4)+0xe]=(_0x43f852<<0x8|_0x43f852>>>0x18)&0xff00ff|(_0x43f852<<0x18|_0x43f852>>>0x8)&0xff00ff00,_0x40335d['sigBytes']=(_0x59ac53[_0x132591(0x1db)]+0x1)*0x4,this[_0x132591(0x39f)]();for(var _0x45e56f=this[_0x132591(0x249)],_0x29cbe5=_0x45e56f[_0x132591(0x319)],_0x1db71b=0x0;_0x1db71b<0x4;_0x1db71b++){var _0x37053d=_0x29cbe5[_0x1db71b];_0x29cbe5[_0x1db71b]=(_0x37053d<<0x8|_0x37053d>>>0x18)&0xff00ff|(_0x37053d<<0x18|_0x37053d>>>0x8)&0xff00ff00;}return _0x45e56f;},'clone':function(){var _0x51e8cb=_0x4a7364,_0x16a791=_0xb838fe[_0x51e8cb(0x27c)][_0x51e8cb(0x46a)](this);return _0x16a791[_0x51e8cb(0x249)]=this['_hash']['clone'](),_0x16a791;}});function _0x36122d(_0xf67388,_0x15a6bf,_0x11b5fa,_0x6e1652,_0x3740b1,_0x939bdd,_0x4df329){var _0x452d83=_0xf67388+(_0x15a6bf&_0x11b5fa|~_0x15a6bf&_0x6e1652)+_0x3740b1+_0x4df329;return(_0x452d83<<_0x939bdd|_0x452d83>>>0x20-_0x939bdd)+_0x15a6bf;}function _0x489b76(_0x227f6d,_0x3fccc3,_0x38c53d,_0x56e26b,_0x3d2deb,_0x53f61f,_0xea4aa){var _0x26938a=_0x227f6d+(_0x3fccc3&_0x56e26b|_0x38c53d&~_0x56e26b)+_0x3d2deb+_0xea4aa;return(_0x26938a<<_0x53f61f|_0x26938a>>>0x20-_0x53f61f)+_0x3fccc3;}function _0x360b63(_0x2185fe,_0x1b91c2,_0x535f4a,_0x294f40,_0x65edbb,_0x2f1e65,_0x3286a7){var _0x424a3d=_0x2185fe+(_0x1b91c2^_0x535f4a^_0x294f40)+_0x65edbb+_0x3286a7;return(_0x424a3d<<_0x2f1e65|_0x424a3d>>>0x20-_0x2f1e65)+_0x1b91c2;}function _0x3cf144(_0x211745,_0x11af91,_0x241ecd,_0x5d20f0,_0x52b513,_0x194d68,_0x510c41){var _0x5afb4a=_0x211745+(_0x241ecd^(_0x11af91|~_0x5d20f0))+_0x52b513+_0x510c41;return(_0x5afb4a<<_0x194d68|_0x5afb4a>>>0x20-_0x194d68)+_0x11af91;}_0x45bac0['MD5']=_0xb838fe[_0x4a7364(0x43a)](_0x1c8876),_0x45bac0['HmacMD5']=_0xb838fe[_0x4a7364(0x208)](_0x1c8876);}(Math),_0x5a4887['MD5'];}));}(ze)),ze['exports'];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x7744bf(0x361)],ii;function zs(){var _0x38791b=_0x7744bf;return ii||(ii=0x1,function(_0x356eb2,_0x49dd3f){(function(_0x222087,_0x1a9418){_0x356eb2['exports']=_0x1a9418(ne());}(Ks,function(_0x26a41){return(function(){var _0x15fc78=_0x186f,_0x3409ee=_0x26a41,_0x9cb7f2=_0x3409ee[_0x15fc78(0x32b)],_0x1a601b=_0x9cb7f2['WordArray'],_0x491062=_0x9cb7f2[_0x15fc78(0x399)],_0xe8ca96=_0x3409ee[_0x15fc78(0x380)],_0x22d483=[],_0x395be9=_0xe8ca96[_0x15fc78(0x1cc)]=_0x491062[_0x15fc78(0x42a)]({'_doReset':function(){var _0x9ad352=_0x15fc78;this[_0x9ad352(0x249)]=new _0x1a601b[(_0x9ad352(0x475))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xd8e8f,_0x4ad4e5){var _0x38b105=_0x15fc78;for(var _0x5c82b7=this['_hash'][_0x38b105(0x319)],_0x36d986=_0x5c82b7[0x0],_0x4ea9ea=_0x5c82b7[0x1],_0x8055e4=_0x5c82b7[0x2],_0x16ebe3=_0x5c82b7[0x3],_0x4a0816=_0x5c82b7[0x4],_0x28186d=0x0;_0x28186d<0x50;_0x28186d++){if(_0x28186d<0x10)_0x22d483[_0x28186d]=_0xd8e8f[_0x4ad4e5+_0x28186d]|0x0;else{var _0x2f41c5=_0x22d483[_0x28186d-0x3]^_0x22d483[_0x28186d-0x8]^_0x22d483[_0x28186d-0xe]^_0x22d483[_0x28186d-0x10];_0x22d483[_0x28186d]=_0x2f41c5<<0x1|_0x2f41c5>>>0x1f;}var _0x57eb09=(_0x36d986<<0x5|_0x36d986>>>0x1b)+_0x4a0816+_0x22d483[_0x28186d];_0x28186d<0x14?_0x57eb09+=(_0x4ea9ea&_0x8055e4|~_0x4ea9ea&_0x16ebe3)+0x5a827999:_0x28186d<0x28?_0x57eb09+=(_0x4ea9ea^_0x8055e4^_0x16ebe3)+0x6ed9eba1:_0x28186d<0x3c?_0x57eb09+=(_0x4ea9ea&_0x8055e4|_0x4ea9ea&_0x16ebe3|_0x8055e4&_0x16ebe3)-0x70e44324:_0x57eb09+=(_0x4ea9ea^_0x8055e4^_0x16ebe3)-0x359d3e2a,_0x4a0816=_0x16ebe3,_0x16ebe3=_0x8055e4,_0x8055e4=_0x4ea9ea<<0x1e|_0x4ea9ea>>>0x2,_0x4ea9ea=_0x36d986,_0x36d986=_0x57eb09;}_0x5c82b7[0x0]=_0x5c82b7[0x0]+_0x36d986|0x0,_0x5c82b7[0x1]=_0x5c82b7[0x1]+_0x4ea9ea|0x0,_0x5c82b7[0x2]=_0x5c82b7[0x2]+_0x8055e4|0x0,_0x5c82b7[0x3]=_0x5c82b7[0x3]+_0x16ebe3|0x0,_0x5c82b7[0x4]=_0x5c82b7[0x4]+_0x4a0816|0x0;},'_doFinalize':function(){var _0x37befd=_0x15fc78,_0xbeea9d=this[_0x37befd(0x1bd)],_0x31d2f7=_0xbeea9d[_0x37befd(0x319)],_0x15bfe=this[_0x37befd(0x1ce)]*0x8,_0x3922f3=_0xbeea9d[_0x37befd(0x493)]*0x8;return _0x31d2f7[_0x3922f3>>>0x5]|=0x80<<0x18-_0x3922f3%0x20,_0x31d2f7[(_0x3922f3+0x40>>>0x9<<0x4)+0xe]=Math[_0x37befd(0x229)](_0x15bfe/0x100000000),_0x31d2f7[(_0x3922f3+0x40>>>0x9<<0x4)+0xf]=_0x15bfe,_0xbeea9d[_0x37befd(0x493)]=_0x31d2f7[_0x37befd(0x1db)]*0x4,this['_process'](),this[_0x37befd(0x249)];},'clone':function(){var _0x50f74f=_0x15fc78,_0x3bf13a=_0x491062[_0x50f74f(0x27c)][_0x50f74f(0x46a)](this);return _0x3bf13a['_hash']=this['_hash'][_0x50f74f(0x27c)](),_0x3bf13a;}});_0x3409ee['SHA1']=_0x491062[_0x15fc78(0x43a)](_0x395be9),_0x3409ee[_0x15fc78(0x227)]=_0x491062[_0x15fc78(0x208)](_0x395be9);}()),_0x26a41['SHA1'];}));}(qe)),qe[_0x38791b(0x361)];}var Je={'exports':{}},Ys=Je[_0x7744bf(0x361)],ni;function qs(){var _0x4542ff=_0x7744bf;return ni||(ni=0x1,function(_0x4227ea,_0x5ab02c){(function(_0x106f21,_0x512b0d){var _0x13422c=_0x186f;_0x4227ea[_0x13422c(0x361)]=_0x512b0d(ne());}(Ys,function(_0xa9c07d){(function(){var _0x3c19f8=_0x186f,_0xf7969e=_0xa9c07d,_0x4a0eb2=_0xf7969e[_0x3c19f8(0x32b)],_0x421981=_0x4a0eb2[_0x3c19f8(0x298)],_0x134d8b=_0xf7969e[_0x3c19f8(0x47b)],_0x1fce79=_0x134d8b[_0x3c19f8(0x2c5)],_0x3e6090=_0xf7969e[_0x3c19f8(0x380)];_0x3e6090[_0x3c19f8(0x3b1)]=_0x421981['extend']({'init':function(_0x3c8bda,_0x5a0e02){var _0x12e743=_0x3c19f8;_0x3c8bda=this['_hasher']=new _0x3c8bda[(_0x12e743(0x475))](),typeof _0x5a0e02==_0x12e743(0x21e)&&(_0x5a0e02=_0x1fce79[_0x12e743(0x429)](_0x5a0e02));var _0x708d9d=_0x3c8bda['blockSize'],_0xfa81da=_0x708d9d*0x4;_0x5a0e02[_0x12e743(0x493)]>_0xfa81da&&(_0x5a0e02=_0x3c8bda[_0x12e743(0x397)](_0x5a0e02)),_0x5a0e02[_0x12e743(0x4a3)]();for(var _0x489e35=this['_oKey']=_0x5a0e02['clone'](),_0x28e330=this['_iKey']=_0x5a0e02['clone'](),_0x560997=_0x489e35[_0x12e743(0x319)],_0x4af9c8=_0x28e330['words'],_0x24b06d=0x0;_0x24b06d<_0x708d9d;_0x24b06d++)_0x560997[_0x24b06d]^=0x5c5c5c5c,_0x4af9c8[_0x24b06d]^=0x36363636;_0x489e35[_0x12e743(0x493)]=_0x28e330[_0x12e743(0x493)]=_0xfa81da,this[_0x12e743(0x3d6)]();},'reset':function(){var _0x39af08=_0x3c19f8,_0x1d14c8=this[_0x39af08(0x46b)];_0x1d14c8['reset'](),_0x1d14c8[_0x39af08(0x2b3)](this[_0x39af08(0x489)]);},'update':function(_0x4f4e94){var _0x4646b8=_0x3c19f8;return this[_0x4646b8(0x46b)][_0x4646b8(0x2b3)](_0x4f4e94),this;},'finalize':function(_0x253e28){var _0x4ea96c=_0x3c19f8,_0x27cf24=this[_0x4ea96c(0x46b)],_0x1aca43=_0x27cf24[_0x4ea96c(0x397)](_0x253e28);_0x27cf24[_0x4ea96c(0x3d6)]();var _0x48be96=_0x27cf24[_0x4ea96c(0x397)](this['_oKey'][_0x4ea96c(0x27c)]()['concat'](_0x1aca43));return _0x48be96;}});}());}));}(Je)),Je[_0x4542ff(0x361)];}var Js=Ye[_0x7744bf(0x361)],si;function Ui(){return si||(si=0x1,function(_0x3f4fa0,_0x4e989f){(function(_0x4c1156,_0x5c91e4,_0x112570){var _0x5c84ca=_0x186f;_0x3f4fa0[_0x5c84ca(0x361)]=_0x5c91e4(ne(),zs(),qs());}(Js,function(_0x4ed355){return(function(){var _0x47bbe2=_0x186f,_0x567d3f=_0x4ed355,_0xd4b661=_0x567d3f[_0x47bbe2(0x32b)],_0x2c1297=_0xd4b661['Base'],_0x59084a=_0xd4b661[_0x47bbe2(0x1b3)],_0x1ee1b9=_0x567d3f[_0x47bbe2(0x380)],_0x35bd1c=_0x1ee1b9[_0x47bbe2(0x2e1)],_0x4bfa51=_0x1ee1b9[_0x47bbe2(0x420)]=_0x2c1297[_0x47bbe2(0x42a)]({'cfg':_0x2c1297['extend']({'keySize':0x80/0x20,'hasher':_0x35bd1c,'iterations':0x1}),'init':function(_0x4eb207){var _0x598ea7=_0x47bbe2;this[_0x598ea7(0x3f3)]=this[_0x598ea7(0x3f3)]['extend'](_0x4eb207);},'compute':function(_0x22e185,_0xef5fba){var _0x5023fc=_0x47bbe2;for(var _0x219500,_0x4dd3f2=this[_0x5023fc(0x3f3)],_0x4a55e9=_0x4dd3f2[_0x5023fc(0x2c1)]['create'](),_0x5a38d7=_0x59084a[_0x5023fc(0x410)](),_0x2c1334=_0x5a38d7[_0x5023fc(0x319)],_0x2eeae9=_0x4dd3f2[_0x5023fc(0x49c)],_0x366aab=_0x4dd3f2[_0x5023fc(0x253)];_0x2c1334[_0x5023fc(0x1db)]<_0x2eeae9;){_0x219500&&_0x4a55e9['update'](_0x219500),_0x219500=_0x4a55e9[_0x5023fc(0x2b3)](_0x22e185)[_0x5023fc(0x397)](_0xef5fba),_0x4a55e9[_0x5023fc(0x3d6)]();for(var _0x2e6fa6=0x1;_0x2e6fa6<_0x366aab;_0x2e6fa6++)_0x219500=_0x4a55e9[_0x5023fc(0x397)](_0x219500),_0x4a55e9['reset']();_0x5a38d7[_0x5023fc(0x219)](_0x219500);}return _0x5a38d7[_0x5023fc(0x493)]=_0x2eeae9*0x4,_0x5a38d7;}});_0x567d3f[_0x47bbe2(0x420)]=function(_0x2ce474,_0x3af6d2,_0x5be8ef){var _0x6a4c07=_0x47bbe2;return _0x4bfa51[_0x6a4c07(0x410)](_0x5be8ef)[_0x6a4c07(0x3f5)](_0x2ce474,_0x3af6d2);};}()),_0x4ed355['EvpKDF'];}));}(Ye)),Ye['exports'];}var Xe={'exports':{}},Xs=Xe[_0x7744bf(0x361)],ri;function Ai(){var _0x23b6cf=_0x7744bf;return ri||(ri=0x1,function(_0x28b366,_0x269e1a){(function(_0x5601ca,_0x115758,_0x7cb38){_0x28b366['exports']=_0x115758(ne(),Ui());}(Xs,function(_0x4bedfd){_0x4bedfd['lib']['Cipher']||function(_0x249636){var _0x4f132d=_0x186f,_0x581201=_0x4bedfd,_0x7bed94=_0x581201[_0x4f132d(0x32b)],_0x2ea2b2=_0x7bed94[_0x4f132d(0x298)],_0x133da2=_0x7bed94['WordArray'],_0x58a7e2=_0x7bed94[_0x4f132d(0x3bb)],_0x21958c=_0x581201[_0x4f132d(0x47b)];_0x21958c[_0x4f132d(0x2c5)];var _0x9e4988=_0x21958c[_0x4f132d(0x2fa)],_0x1b4ace=_0x581201['algo'],_0x18af1f=_0x1b4ace['EvpKDF'],_0x4e8f98=_0x7bed94[_0x4f132d(0x297)]=_0x58a7e2['extend']({'cfg':_0x2ea2b2['extend'](),'createEncryptor':function(_0x3e0326,_0x1fd0ce){var _0x24dbd0=_0x4f132d;return this['create'](this[_0x24dbd0(0x3e3)],_0x3e0326,_0x1fd0ce);},'createDecryptor':function(_0x268783,_0x3b0953){var _0x4cecb7=_0x4f132d;return this[_0x4cecb7(0x410)](this[_0x4cecb7(0x387)],_0x268783,_0x3b0953);},'init':function(_0x2752a1,_0x54e093,_0x11d21d){var _0x42e5aa=_0x4f132d;this['cfg']=this['cfg']['extend'](_0x11d21d),this[_0x42e5aa(0x351)]=_0x2752a1,this['_key']=_0x54e093,this['reset']();},'reset':function(){var _0x5d6219=_0x4f132d;_0x58a7e2[_0x5d6219(0x3d6)][_0x5d6219(0x46a)](this),this[_0x5d6219(0x26d)]();},'process':function(_0x591dc8){var _0xc6bbf4=_0x4f132d;return this[_0xc6bbf4(0x2a0)](_0x591dc8),this[_0xc6bbf4(0x39f)]();},'finalize':function(_0x1996f5){var _0x2b1f06=_0x4f132d;_0x1996f5&&this[_0x2b1f06(0x2a0)](_0x1996f5);var _0x4d5312=this['_doFinalize']();return _0x4d5312;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x48b3f7(_0xd65fff){return typeof _0xd65fff=='string'?_0x20bc8f:_0x5bc12e;}return function(_0x1869c9){return{'encrypt':function(_0x331e29,_0x346bb3,_0x17bb2e){var _0x3c6696=_0x186f;return _0x48b3f7(_0x346bb3)[_0x3c6696(0x4af)](_0x1869c9,_0x331e29,_0x346bb3,_0x17bb2e);},'decrypt':function(_0x5d0e2d,_0xe40a2,_0x4c384b){var _0xd7a6b2=_0x186f;return _0x48b3f7(_0xe40a2)[_0xd7a6b2(0x204)](_0x1869c9,_0x5d0e2d,_0xe40a2,_0x4c384b);}};};}())});_0x7bed94[_0x4f132d(0x439)]=_0x4e8f98[_0x4f132d(0x42a)]({'_doFinalize':function(){var _0x25d822=_0x4f132d,_0x317354=this[_0x25d822(0x39f)](!0x0);return _0x317354;},'blockSize':0x1});var _0x42434c=_0x581201['mode']={},_0x4d60ef=_0x7bed94[_0x4f132d(0x3d3)]=_0x2ea2b2[_0x4f132d(0x42a)]({'createEncryptor':function(_0x48f0f4,_0x5a4f75){var _0x2fdd6a=_0x4f132d;return this[_0x2fdd6a(0x37b)][_0x2fdd6a(0x410)](_0x48f0f4,_0x5a4f75);},'createDecryptor':function(_0x3c114f,_0x504904){var _0x56d6d9=_0x4f132d;return this['Decryptor'][_0x56d6d9(0x410)](_0x3c114f,_0x504904);},'init':function(_0x4f5495,_0x3a1968){var _0x5460e4=_0x4f132d;this[_0x5460e4(0x296)]=_0x4f5495,this[_0x5460e4(0x1d2)]=_0x3a1968;}}),_0x26e3c4=_0x42434c[_0x4f132d(0x49f)]=(function(){var _0x22a064=_0x4f132d,_0x4cf4ee=_0x4d60ef[_0x22a064(0x42a)]();_0x4cf4ee['Encryptor']=_0x4cf4ee[_0x22a064(0x42a)]({'processBlock':function(_0x3593e4,_0x288ffb){var _0x1b34fd=_0x22a064,_0x151ecd=this[_0x1b34fd(0x296)],_0x47dfe2=_0x151ecd['blockSize'];_0x2bc863[_0x1b34fd(0x46a)](this,_0x3593e4,_0x288ffb,_0x47dfe2),_0x151ecd[_0x1b34fd(0x349)](_0x3593e4,_0x288ffb),this['_prevBlock']=_0x3593e4[_0x1b34fd(0x4a4)](_0x288ffb,_0x288ffb+_0x47dfe2);}}),_0x4cf4ee[_0x22a064(0x3ac)]=_0x4cf4ee[_0x22a064(0x42a)]({'processBlock':function(_0xaed2d8,_0x283262){var _0xe11f40=_0x22a064,_0x2b3a80=this[_0xe11f40(0x296)],_0x50c8fb=_0x2b3a80[_0xe11f40(0x230)],_0xcdd4f=_0xaed2d8['slice'](_0x283262,_0x283262+_0x50c8fb);_0x2b3a80[_0xe11f40(0x2d1)](_0xaed2d8,_0x283262),_0x2bc863[_0xe11f40(0x46a)](this,_0xaed2d8,_0x283262,_0x50c8fb),this[_0xe11f40(0x487)]=_0xcdd4f;}});function _0x2bc863(_0x21cd5a,_0x2f9195,_0x5b19a9){var _0x2badf0=_0x22a064,_0x37b9ae,_0x1a8396=this[_0x2badf0(0x1d2)];_0x1a8396?(_0x37b9ae=_0x1a8396,this[_0x2badf0(0x1d2)]=_0x249636):_0x37b9ae=this[_0x2badf0(0x487)];for(var _0x166615=0x0;_0x166615<_0x5b19a9;_0x166615++)_0x21cd5a[_0x2f9195+_0x166615]^=_0x37b9ae[_0x166615];}return _0x4cf4ee;}()),_0x305477=_0x581201[_0x4f132d(0x2a4)]={},_0x22eb0c=_0x305477['Pkcs7']={'pad':function(_0x4983ee,_0xfa59c4){var _0x332803=_0x4f132d;for(var _0x17e6d7=_0xfa59c4*0x4,_0x32d54b=_0x17e6d7-_0x4983ee[_0x332803(0x493)]%_0x17e6d7,_0x407cdd=_0x32d54b<<0x18|_0x32d54b<<0x10|_0x32d54b<<0x8|_0x32d54b,_0x5be1a4=[],_0xa4c912=0x0;_0xa4c912<_0x32d54b;_0xa4c912+=0x4)_0x5be1a4[_0x332803(0x222)](_0x407cdd);var _0x9c4c4f=_0x133da2[_0x332803(0x410)](_0x5be1a4,_0x32d54b);_0x4983ee[_0x332803(0x219)](_0x9c4c4f);},'unpad':function(_0x581da0){var _0x36d48d=_0x4f132d,_0x434fd7=_0x581da0[_0x36d48d(0x319)][_0x581da0[_0x36d48d(0x493)]-0x1>>>0x2]&0xff;_0x581da0[_0x36d48d(0x493)]-=_0x434fd7;}};_0x7bed94[_0x4f132d(0x29a)]=_0x4e8f98['extend']({'cfg':_0x4e8f98[_0x4f132d(0x3f3)]['extend']({'mode':_0x26e3c4,'padding':_0x22eb0c}),'reset':function(){var _0x4305f9=_0x4f132d,_0x589478;_0x4e8f98[_0x4305f9(0x3d6)][_0x4305f9(0x46a)](this);var _0x126d23=this['cfg'],_0x429e7a=_0x126d23['iv'],_0xc3040c=_0x126d23['mode'];this[_0x4305f9(0x351)]==this[_0x4305f9(0x3e3)]?_0x589478=_0xc3040c[_0x4305f9(0x47a)]:(_0x589478=_0xc3040c[_0x4305f9(0x29c)],this[_0x4305f9(0x2aa)]=0x1),this[_0x4305f9(0x3d2)]&&this['_mode'][_0x4305f9(0x409)]==_0x589478?this[_0x4305f9(0x3d2)]['init'](this,_0x429e7a&&_0x429e7a['words']):(this['_mode']=_0x589478['call'](_0xc3040c,this,_0x429e7a&&_0x429e7a[_0x4305f9(0x319)]),this[_0x4305f9(0x3d2)][_0x4305f9(0x409)]=_0x589478);},'_doProcessBlock':function(_0x353eda,_0x1590a3){var _0x4ff419=_0x4f132d;this[_0x4ff419(0x3d2)][_0x4ff419(0x424)](_0x353eda,_0x1590a3);},'_doFinalize':function(){var _0x255eb9=_0x4f132d,_0x76fdc,_0x52bda8=this[_0x255eb9(0x3f3)][_0x255eb9(0x2a6)];return this['_xformMode']==this[_0x255eb9(0x3e3)]?(_0x52bda8[_0x255eb9(0x2a4)](this[_0x255eb9(0x1bd)],this[_0x255eb9(0x230)]),_0x76fdc=this[_0x255eb9(0x39f)](!0x0)):(_0x76fdc=this['_process'](!0x0),_0x52bda8[_0x255eb9(0x3a2)](_0x76fdc)),_0x76fdc;},'blockSize':0x80/0x20});var _0xd2ebe9=_0x7bed94['CipherParams']=_0x2ea2b2[_0x4f132d(0x42a)]({'init':function(_0x349242){var _0x59f35a=_0x4f132d;this[_0x59f35a(0x45f)](_0x349242);},'toString':function(_0x5e5c0d){var _0x4166fd=_0x4f132d;return(_0x5e5c0d||this[_0x4166fd(0x42e)])[_0x4166fd(0x48c)](this);}}),_0x35ed76=_0x581201[_0x4f132d(0x378)]={},_0x5d0db6=_0x35ed76['OpenSSL']={'stringify':function(_0xd573fc){var _0x1d2a6a=_0x4f132d,_0x12d1cf,_0x2ef67a=_0xd573fc[_0x1d2a6a(0x39a)],_0x1354d6=_0xd573fc[_0x1d2a6a(0x495)];return _0x1354d6?_0x12d1cf=_0x133da2[_0x1d2a6a(0x410)]([0x53616c74,0x65645f5f])[_0x1d2a6a(0x219)](_0x1354d6)[_0x1d2a6a(0x219)](_0x2ef67a):_0x12d1cf=_0x2ef67a,_0x12d1cf[_0x1d2a6a(0x267)](_0x9e4988);},'parse':function(_0x4ea7bd){var _0x2b5040=_0x4f132d,_0x1b101b,_0x29d61e=_0x9e4988[_0x2b5040(0x429)](_0x4ea7bd),_0x42ae22=_0x29d61e[_0x2b5040(0x319)];return _0x42ae22[0x0]==0x53616c74&&_0x42ae22[0x1]==0x65645f5f&&(_0x1b101b=_0x133da2[_0x2b5040(0x410)](_0x42ae22[_0x2b5040(0x4a4)](0x2,0x4)),_0x42ae22[_0x2b5040(0x1de)](0x0,0x4),_0x29d61e[_0x2b5040(0x493)]-=0x10),_0xd2ebe9[_0x2b5040(0x410)]({'ciphertext':_0x29d61e,'salt':_0x1b101b});}},_0x5bc12e=_0x7bed94['SerializableCipher']=_0x2ea2b2[_0x4f132d(0x42a)]({'cfg':_0x2ea2b2[_0x4f132d(0x42a)]({'format':_0x5d0db6}),'encrypt':function(_0x1b1eea,_0x2d1f46,_0xc9a713,_0xf73578){var _0x2d9608=_0x4f132d;_0xf73578=this[_0x2d9608(0x3f3)][_0x2d9608(0x42a)](_0xf73578);var _0x5f2596=_0x1b1eea[_0x2d9608(0x47a)](_0xc9a713,_0xf73578),_0x56e3d1=_0x5f2596[_0x2d9608(0x397)](_0x2d1f46),_0x208e23=_0x5f2596['cfg'];return _0xd2ebe9[_0x2d9608(0x410)]({'ciphertext':_0x56e3d1,'key':_0xc9a713,'iv':_0x208e23['iv'],'algorithm':_0x1b1eea,'mode':_0x208e23['mode'],'padding':_0x208e23[_0x2d9608(0x2a6)],'blockSize':_0x1b1eea[_0x2d9608(0x230)],'formatter':_0xf73578[_0x2d9608(0x378)]});},'decrypt':function(_0x219e8d,_0x1bc9db,_0x5cc65f,_0x327ca5){var _0x39cf2c=_0x4f132d;_0x327ca5=this[_0x39cf2c(0x3f3)]['extend'](_0x327ca5),_0x1bc9db=this[_0x39cf2c(0x45c)](_0x1bc9db,_0x327ca5['format']);var _0x295514=_0x219e8d[_0x39cf2c(0x29c)](_0x5cc65f,_0x327ca5)[_0x39cf2c(0x397)](_0x1bc9db[_0x39cf2c(0x39a)]);return _0x295514;},'_parse':function(_0x5de0ce,_0x4d883e){var _0x4505d3=_0x4f132d;return typeof _0x5de0ce==_0x4505d3(0x21e)?_0x4d883e['parse'](_0x5de0ce,this):_0x5de0ce;}}),_0x15fa91=_0x581201[_0x4f132d(0x3b2)]={},_0x340534=_0x15fa91[_0x4f132d(0x2b2)]={'execute':function(_0x5f1b40,_0x43c3b1,_0x3e2f24,_0x287457,_0x39829e){var _0x3f58ba=_0x4f132d;if(_0x287457||(_0x287457=_0x133da2[_0x3f58ba(0x2bc)](0x40/0x8)),_0x39829e)var _0x5a8307=_0x18af1f['create']({'keySize':_0x43c3b1+_0x3e2f24,'hasher':_0x39829e})[_0x3f58ba(0x3f5)](_0x5f1b40,_0x287457);else var _0x5a8307=_0x18af1f[_0x3f58ba(0x410)]({'keySize':_0x43c3b1+_0x3e2f24})[_0x3f58ba(0x3f5)](_0x5f1b40,_0x287457);var _0x543bdd=_0x133da2[_0x3f58ba(0x410)](_0x5a8307[_0x3f58ba(0x319)][_0x3f58ba(0x4a4)](_0x43c3b1),_0x3e2f24*0x4);return _0x5a8307[_0x3f58ba(0x493)]=_0x43c3b1*0x4,_0xd2ebe9[_0x3f58ba(0x410)]({'key':_0x5a8307,'iv':_0x543bdd,'salt':_0x287457});}},_0x20bc8f=_0x7bed94[_0x4f132d(0x3cd)]=_0x5bc12e[_0x4f132d(0x42a)]({'cfg':_0x5bc12e['cfg'][_0x4f132d(0x42a)]({'kdf':_0x340534}),'encrypt':function(_0x104c3a,_0x2d8465,_0x19acd4,_0x3777e7){var _0x134682=_0x4f132d;_0x3777e7=this[_0x134682(0x3f3)][_0x134682(0x42a)](_0x3777e7);var _0x19dd1a=_0x3777e7[_0x134682(0x3b2)][_0x134682(0x263)](_0x19acd4,_0x104c3a[_0x134682(0x49c)],_0x104c3a[_0x134682(0x44b)],_0x3777e7[_0x134682(0x495)],_0x3777e7['hasher']);_0x3777e7['iv']=_0x19dd1a['iv'];var _0x39822e=_0x5bc12e[_0x134682(0x4af)][_0x134682(0x46a)](this,_0x104c3a,_0x2d8465,_0x19dd1a[_0x134682(0x28a)],_0x3777e7);return _0x39822e[_0x134682(0x45f)](_0x19dd1a),_0x39822e;},'decrypt':function(_0x9d2ee5,_0x61238b,_0x5a986e,_0x3a4cb2){var _0xb611c=_0x4f132d;_0x3a4cb2=this[_0xb611c(0x3f3)][_0xb611c(0x42a)](_0x3a4cb2),_0x61238b=this[_0xb611c(0x45c)](_0x61238b,_0x3a4cb2[_0xb611c(0x378)]);var _0x22777e=_0x3a4cb2[_0xb611c(0x3b2)][_0xb611c(0x263)](_0x5a986e,_0x9d2ee5[_0xb611c(0x49c)],_0x9d2ee5[_0xb611c(0x44b)],_0x61238b['salt'],_0x3a4cb2[_0xb611c(0x2c1)]);_0x3a4cb2['iv']=_0x22777e['iv'];var _0x4779d8=_0x5bc12e[_0xb611c(0x204)][_0xb611c(0x46a)](this,_0x9d2ee5,_0x61238b,_0x22777e[_0xb611c(0x28a)],_0x3a4cb2);return _0x4779d8;}});}();}));}(Xe)),Xe[_0x23b6cf(0x361)];}var Zs=We[_0x7744bf(0x361)],oi;function Qs(){return oi||(oi=0x1,function(_0x271810,_0x107502){(function(_0x3b8ec0,_0x518cd4,_0x30a78d){_0x271810['exports']=_0x518cd4(ne(),wi(),Gs(),Ui(),Ai());}(Zs,function(_0x37cba3){var _0x5e1252=_0x186f;return(function(){var _0x4e1146=_0x186f,_0x33ca9b=_0x37cba3,_0x5d5076=_0x33ca9b[_0x4e1146(0x32b)],_0xf22649=_0x5d5076[_0x4e1146(0x29a)],_0x5137e9=_0x33ca9b[_0x4e1146(0x380)],_0x14ec0e=[],_0x185c6a=[],_0x23fb7b=[],_0x120e4f=[],_0x51ef91=[],_0x23a95e=[],_0x509a2c=[],_0x5160eb=[],_0x2a5293=[],_0x533aef=[];(function(){for(var _0x3c9b3b=[],_0x14c74a=0x0;_0x14c74a<0x100;_0x14c74a++)_0x14c74a<0x80?_0x3c9b3b[_0x14c74a]=_0x14c74a<<0x1:_0x3c9b3b[_0x14c74a]=_0x14c74a<<0x1^0x11b;for(var _0x88f757=0x0,_0x16f546=0x0,_0x14c74a=0x0;_0x14c74a<0x100;_0x14c74a++){var _0x7cb011=_0x16f546^_0x16f546<<0x1^_0x16f546<<0x2^_0x16f546<<0x3^_0x16f546<<0x4;_0x7cb011=_0x7cb011>>>0x8^_0x7cb011&0xff^0x63,_0x14ec0e[_0x88f757]=_0x7cb011,_0x185c6a[_0x7cb011]=_0x88f757;var _0x37ff34=_0x3c9b3b[_0x88f757],_0x239a7b=_0x3c9b3b[_0x37ff34],_0x4d7974=_0x3c9b3b[_0x239a7b],_0xcee083=_0x3c9b3b[_0x7cb011]*0x101^_0x7cb011*0x1010100;_0x23fb7b[_0x88f757]=_0xcee083<<0x18|_0xcee083>>>0x8,_0x120e4f[_0x88f757]=_0xcee083<<0x10|_0xcee083>>>0x10,_0x51ef91[_0x88f757]=_0xcee083<<0x8|_0xcee083>>>0x18,_0x23a95e[_0x88f757]=_0xcee083;var _0xcee083=_0x4d7974*0x1010101^_0x239a7b*0x10001^_0x37ff34*0x101^_0x88f757*0x1010100;_0x509a2c[_0x7cb011]=_0xcee083<<0x18|_0xcee083>>>0x8,_0x5160eb[_0x7cb011]=_0xcee083<<0x10|_0xcee083>>>0x10,_0x2a5293[_0x7cb011]=_0xcee083<<0x8|_0xcee083>>>0x18,_0x533aef[_0x7cb011]=_0xcee083,_0x88f757?(_0x88f757=_0x37ff34^_0x3c9b3b[_0x3c9b3b[_0x3c9b3b[_0x4d7974^_0x37ff34]]],_0x16f546^=_0x3c9b3b[_0x3c9b3b[_0x16f546]]):_0x88f757=_0x16f546=0x1;}}());var _0x324f00=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3556c0=_0x5137e9[_0x4e1146(0x24b)]=_0xf22649['extend']({'_doReset':function(){var _0x4200ea=_0x4e1146,_0x1bb052;if(!(this[_0x4200ea(0x2d9)]&&this[_0x4200ea(0x1e7)]===this[_0x4200ea(0x276)])){for(var _0x8cc3a3=this['_keyPriorReset']=this['_key'],_0x3fa2ee=_0x8cc3a3[_0x4200ea(0x319)],_0x5c1d23=_0x8cc3a3[_0x4200ea(0x493)]/0x4,_0x1b4f18=this[_0x4200ea(0x2d9)]=_0x5c1d23+0x6,_0x3c1e60=(_0x1b4f18+0x1)*0x4,_0x5f0de8=this['_keySchedule']=[],_0x4bf930=0x0;_0x4bf930<_0x3c1e60;_0x4bf930++)_0x4bf930<_0x5c1d23?_0x5f0de8[_0x4bf930]=_0x3fa2ee[_0x4bf930]:(_0x1bb052=_0x5f0de8[_0x4bf930-0x1],_0x4bf930%_0x5c1d23?_0x5c1d23>0x6&&_0x4bf930%_0x5c1d23==0x4&&(_0x1bb052=_0x14ec0e[_0x1bb052>>>0x18]<<0x18|_0x14ec0e[_0x1bb052>>>0x10&0xff]<<0x10|_0x14ec0e[_0x1bb052>>>0x8&0xff]<<0x8|_0x14ec0e[_0x1bb052&0xff]):(_0x1bb052=_0x1bb052<<0x8|_0x1bb052>>>0x18,_0x1bb052=_0x14ec0e[_0x1bb052>>>0x18]<<0x18|_0x14ec0e[_0x1bb052>>>0x10&0xff]<<0x10|_0x14ec0e[_0x1bb052>>>0x8&0xff]<<0x8|_0x14ec0e[_0x1bb052&0xff],_0x1bb052^=_0x324f00[_0x4bf930/_0x5c1d23|0x0]<<0x18),_0x5f0de8[_0x4bf930]=_0x5f0de8[_0x4bf930-_0x5c1d23]^_0x1bb052);for(var _0x1c0788=this[_0x4200ea(0x26c)]=[],_0x89347c=0x0;_0x89347c<_0x3c1e60;_0x89347c++){var _0x4bf930=_0x3c1e60-_0x89347c;if(_0x89347c%0x4)var _0x1bb052=_0x5f0de8[_0x4bf930];else var _0x1bb052=_0x5f0de8[_0x4bf930-0x4];_0x89347c<0x4||_0x4bf930<=0x4?_0x1c0788[_0x89347c]=_0x1bb052:_0x1c0788[_0x89347c]=_0x509a2c[_0x14ec0e[_0x1bb052>>>0x18]]^_0x5160eb[_0x14ec0e[_0x1bb052>>>0x10&0xff]]^_0x2a5293[_0x14ec0e[_0x1bb052>>>0x8&0xff]]^_0x533aef[_0x14ec0e[_0x1bb052&0xff]];}}},'encryptBlock':function(_0xdef948,_0x1ccdb2){var _0x46c7cd=_0x4e1146;this[_0x46c7cd(0x359)](_0xdef948,_0x1ccdb2,this[_0x46c7cd(0x1ef)],_0x23fb7b,_0x120e4f,_0x51ef91,_0x23a95e,_0x14ec0e);},'decryptBlock':function(_0x536b06,_0x2d41cb){var _0x265350=_0x4e1146,_0x349822=_0x536b06[_0x2d41cb+0x1];_0x536b06[_0x2d41cb+0x1]=_0x536b06[_0x2d41cb+0x3],_0x536b06[_0x2d41cb+0x3]=_0x349822,this[_0x265350(0x359)](_0x536b06,_0x2d41cb,this['_invKeySchedule'],_0x509a2c,_0x5160eb,_0x2a5293,_0x533aef,_0x185c6a);var _0x349822=_0x536b06[_0x2d41cb+0x1];_0x536b06[_0x2d41cb+0x1]=_0x536b06[_0x2d41cb+0x3],_0x536b06[_0x2d41cb+0x3]=_0x349822;},'_doCryptBlock':function(_0x5926a5,_0x374026,_0x5a736b,_0x210c14,_0x1fb027,_0x3c84f9,_0x3feca5,_0x4877ac){var _0x4ac3be=_0x4e1146;for(var _0x1ecf42=this[_0x4ac3be(0x2d9)],_0x38e617=_0x5926a5[_0x374026]^_0x5a736b[0x0],_0xf07712=_0x5926a5[_0x374026+0x1]^_0x5a736b[0x1],_0xac7d7a=_0x5926a5[_0x374026+0x2]^_0x5a736b[0x2],_0x2a34cd=_0x5926a5[_0x374026+0x3]^_0x5a736b[0x3],_0x21a894=0x4,_0x50281e=0x1;_0x50281e<_0x1ecf42;_0x50281e++){var _0x290bf0=_0x210c14[_0x38e617>>>0x18]^_0x1fb027[_0xf07712>>>0x10&0xff]^_0x3c84f9[_0xac7d7a>>>0x8&0xff]^_0x3feca5[_0x2a34cd&0xff]^_0x5a736b[_0x21a894++],_0x35a7bc=_0x210c14[_0xf07712>>>0x18]^_0x1fb027[_0xac7d7a>>>0x10&0xff]^_0x3c84f9[_0x2a34cd>>>0x8&0xff]^_0x3feca5[_0x38e617&0xff]^_0x5a736b[_0x21a894++],_0x3bcc42=_0x210c14[_0xac7d7a>>>0x18]^_0x1fb027[_0x2a34cd>>>0x10&0xff]^_0x3c84f9[_0x38e617>>>0x8&0xff]^_0x3feca5[_0xf07712&0xff]^_0x5a736b[_0x21a894++],_0x30d5b4=_0x210c14[_0x2a34cd>>>0x18]^_0x1fb027[_0x38e617>>>0x10&0xff]^_0x3c84f9[_0xf07712>>>0x8&0xff]^_0x3feca5[_0xac7d7a&0xff]^_0x5a736b[_0x21a894++];_0x38e617=_0x290bf0,_0xf07712=_0x35a7bc,_0xac7d7a=_0x3bcc42,_0x2a34cd=_0x30d5b4;}var _0x290bf0=(_0x4877ac[_0x38e617>>>0x18]<<0x18|_0x4877ac[_0xf07712>>>0x10&0xff]<<0x10|_0x4877ac[_0xac7d7a>>>0x8&0xff]<<0x8|_0x4877ac[_0x2a34cd&0xff])^_0x5a736b[_0x21a894++],_0x35a7bc=(_0x4877ac[_0xf07712>>>0x18]<<0x18|_0x4877ac[_0xac7d7a>>>0x10&0xff]<<0x10|_0x4877ac[_0x2a34cd>>>0x8&0xff]<<0x8|_0x4877ac[_0x38e617&0xff])^_0x5a736b[_0x21a894++],_0x3bcc42=(_0x4877ac[_0xac7d7a>>>0x18]<<0x18|_0x4877ac[_0x2a34cd>>>0x10&0xff]<<0x10|_0x4877ac[_0x38e617>>>0x8&0xff]<<0x8|_0x4877ac[_0xf07712&0xff])^_0x5a736b[_0x21a894++],_0x30d5b4=(_0x4877ac[_0x2a34cd>>>0x18]<<0x18|_0x4877ac[_0x38e617>>>0x10&0xff]<<0x10|_0x4877ac[_0xf07712>>>0x8&0xff]<<0x8|_0x4877ac[_0xac7d7a&0xff])^_0x5a736b[_0x21a894++];_0x5926a5[_0x374026]=_0x290bf0,_0x5926a5[_0x374026+0x1]=_0x35a7bc,_0x5926a5[_0x374026+0x2]=_0x3bcc42,_0x5926a5[_0x374026+0x3]=_0x30d5b4;},'keySize':0x100/0x20});_0x33ca9b['AES']=_0xf22649['_createHelper'](_0x3556c0);}()),_0x37cba3[_0x5e1252(0x24b)];}));}(We)),We['exports'];}var er=Qs();const tr=je(er);var ir=wi();const ai=je(ir);var Ze={'exports':{}},nr=Ze[_0x7744bf(0x361)],ci;function sr(){var _0x53b50a=_0x7744bf;return ci||(ci=0x1,function(_0x4496e6,_0x4ea874){(function(_0x19e023,_0x4c7adc){var _0xc3fc7d=_0x186f;_0x4496e6[_0xc3fc7d(0x361)]=_0x4c7adc(ne());}(nr,function(_0x38a05e){var _0x5f39d7=_0x186f;return _0x38a05e[_0x5f39d7(0x47b)]['Utf8'];}));}(Ze)),Ze[_0x53b50a(0x361)];}var rr=sr();const or=je(rr);var Qe={'exports':{}},ar=Qe[_0x7744bf(0x361)],hi;function cr(){return hi||(hi=0x1,function(_0x3aab70,_0x440434){(function(_0x5df21b,_0x5b80a4){var _0x3a79e0=_0x186f;_0x3aab70[_0x3a79e0(0x361)]=_0x5b80a4(ne());}(ar,function(_0x5c5a25){var _0x4c9ae2=_0x186f;return(function(){var _0x46f4d9=_0x186f;if(typeof ArrayBuffer=='function'){var _0x9b17dc=_0x5c5a25,_0x290c8f=_0x9b17dc[_0x46f4d9(0x32b)],_0x2c8341=_0x290c8f['WordArray'],_0x525a26=_0x2c8341[_0x46f4d9(0x475)],_0x4cab4d=_0x2c8341[_0x46f4d9(0x475)]=function(_0x1aba73){var _0x434e25=_0x46f4d9;if(_0x1aba73 instanceof ArrayBuffer&&(_0x1aba73=new Uint8Array(_0x1aba73)),(_0x1aba73 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1aba73 instanceof Uint8ClampedArray||_0x1aba73 instanceof Int16Array||_0x1aba73 instanceof Uint16Array||_0x1aba73 instanceof Int32Array||_0x1aba73 instanceof Uint32Array||_0x1aba73 instanceof Float32Array||_0x1aba73 instanceof Float64Array)&&(_0x1aba73=new Uint8Array(_0x1aba73[_0x434e25(0x2a2)],_0x1aba73[_0x434e25(0x286)],_0x1aba73['byteLength'])),_0x1aba73 instanceof Uint8Array){for(var _0x5bc0f6=_0x1aba73[_0x434e25(0x3ef)],_0x32751f=[],_0x9ccaf4=0x0;_0x9ccaf4<_0x5bc0f6;_0x9ccaf4++)_0x32751f[_0x9ccaf4>>>0x2]|=_0x1aba73[_0x9ccaf4]<<0x18-_0x9ccaf4%0x4*0x8;_0x525a26[_0x434e25(0x46a)](this,_0x32751f,_0x5bc0f6);}else _0x525a26[_0x434e25(0x1b2)](this,arguments);};_0x4cab4d[_0x46f4d9(0x239)]=_0x2c8341;}}()),_0x5c5a25[_0x4c9ae2(0x32b)]['WordArray'];}));}(Qe)),Qe['exports'];}var hr=cr();const _r=je(hr);var et={'exports':{}},lr=et['exports'],_i;function ur(){var _0x3e97bd=_0x7744bf;return _i||(_i=0x1,function(_0x3b4cb3,_0x40689d){(function(_0x2de31d,_0x46f1b9,_0x41e453){var _0x474c2c=_0x186f;_0x3b4cb3[_0x474c2c(0x361)]=_0x46f1b9(ne(),Ai());}(lr,function(_0x56774d){var _0x28416a=_0x186f;return _0x56774d[_0x28416a(0x2a4)][_0x28416a(0x416)]={'pad':function(){},'unpad':function(){}},_0x56774d['pad'][_0x28416a(0x416)];}));}(et)),et[_0x3e97bd(0x361)];}var dr=ur();const fr=je(dr);function vr(_0x2d4430,_0x45f987){var _0x263fe3=_0x7744bf;const _0x36b5c4=_0x45f987-_0x2d4430['length']%_0x45f987,_0x316254=String['fromCharCode'](_0x36b5c4)[_0x263fe3(0x20f)](_0x36b5c4);return _0x2d4430+_0x316254;}function pr(_0x196ab6,_0x1b5703){var _0x1c31b9=_0x7744bf;const _0x2425dd=_r['random'](0x10),_0x119856=vr(_0x196ab6,0x10),_0x2299c9=tr[_0x1c31b9(0x4af)](or[_0x1c31b9(0x429)](_0x119856),ai[_0x1c31b9(0x429)](_0x1b5703),{'iv':_0x2425dd,'padding':fr});return _0x2425dd[_0x1c31b9(0x219)](_0x2299c9[_0x1c31b9(0x39a)])['toString'](ai);}function gr(){var _0x11f325=_0x7744bf;const _0x28b6d6=_0x45cd4f()['__Key__'];if(_0x28b6d6){const _0x2f582b={'time':Math['floor'](Date[_0x11f325(0x3ba)]()/0x3e8),'domain':location[_0x11f325(0x2fe)]};return pr(JSON['stringify'](_0x2f582b),_0x28b6d6);}}var mr=Object[_0x7744bf(0x467)],Sr=Object[_0x7744bf(0x1c0)],Er=(_0x4484aa,_0x539a03,_0x165214,_0x14346b)=>{var _0x4e99c2=_0x7744bf;for(var _0x5e0f22=_0x14346b>0x1?void 0x0:_0x14346b?Sr(_0x539a03,_0x165214):_0x539a03,_0x27c0ed=_0x4484aa[_0x4e99c2(0x1db)]-0x1,_0x3166e6;_0x27c0ed>=0x0;_0x27c0ed--)(_0x3166e6=_0x4484aa[_0x27c0ed])&&(_0x5e0f22=(_0x14346b?_0x3166e6(_0x539a03,_0x165214,_0x5e0f22):_0x3166e6(_0x5e0f22))||_0x5e0f22);return _0x14346b&&_0x5e0f22&&mr(_0x539a03,_0x165214,_0x5e0f22),_0x5e0f22;},Ir=(_0x4e06a4,_0x438300)=>(_0x4d87cb,_0x5a0477)=>_0x438300(_0x4d87cb,_0x5a0477,_0x4e06a4);let at=class{constructor(_0x49c103){var _0x29969d=_0x7744bf;this['_httpService']=_0x49c103,this[_0x29969d(0x3b6)]();}['_initRequestHeader'](){var _0x454e02=_0x7744bf;this[_0x454e02(0x4a2)][_0x454e02(0x2f6)]({'interceptor':(_0x374303,_0x147659)=>{var _0x2ddbfb=_0x454e02;const _0x4e273d=_0x374303[_0x2ddbfb(0x2a9)],_0x156913=gr();return _0x156913&&_0x4e273d[_0x2ddbfb(0x425)]('x-univer-host',_0x156913),_0x147659(_0x374303);}});}};at=Er([Ir(0x0,_0x46f2f9(_0x381081))],at);var Tr=Object[_0x7744bf(0x467)],Cr=Object[_0x7744bf(0x1c0)],br=(_0x2cd8e9,_0x1835b1,_0x1dc2a0,_0x47fbdf)=>{for(var _0x23173c=_0x47fbdf>0x1?void 0x0:_0x47fbdf?Cr(_0x1835b1,_0x1dc2a0):_0x1835b1,_0x2462fa=_0x2cd8e9['length']-0x1,_0x3058e6;_0x2462fa>=0x0;_0x2462fa--)(_0x3058e6=_0x2cd8e9[_0x2462fa])&&(_0x23173c=(_0x47fbdf?_0x3058e6(_0x1835b1,_0x1dc2a0,_0x23173c):_0x3058e6(_0x23173c))||_0x23173c);return _0x47fbdf&&_0x23173c&&Tr(_0x1835b1,_0x1dc2a0,_0x23173c),_0x23173c;},mt=(_0x431426,_0x2a00dd)=>(_0x2cc13e,_0x597ed6)=>_0x2a00dd(_0x2cc13e,_0x597ed6,_0x431426);let Ot=class extends _0x2bcc2a{constructor(_0x390927,_0xf97ae9,_0x16742b){var _0x18038b=_0x7744bf;super(),D(this,_0x18038b(0x46e),new _0xb58407(null)),D(this,'unitInfo$',this[_0x18038b(0x46e)][_0x18038b(0x463)]()),(this['_logService']=_0x390927,this[_0x18038b(0x311)]=_0xf97ae9,this[_0x18038b(0x3a0)]=_0x16742b);}async[_0x7744bf(0x46d)](_0x115e7b,_0x35ebaa,_0x1ebf3e){var _0x313055=_0x7744bf;this[_0x313055(0x46e)]['next']({'unitId':_0x115e7b,'type':_0x35ebaa,'subUnitId':_0x1ebf3e});let _0x39c891=null;switch(_0x35ebaa){case Q[_0x313055(0x49a)]:{_0x39c891=await this[_0x313055(0x31d)](_0x115e7b);break;}case Q[_0x313055(0x457)]:{_0x39c891=await this[_0x313055(0x41c)](_0x115e7b);break;}default:{this[_0x313055(0x21a)][_0x313055(0x44a)]('[DataLoaderService]',_0x313055(0x478));break;}}return _0x39c891;}async['_loadSheet'](_0x573e19){var _0x595093=_0x7744bf,_0x18dcfa;let _0x108cd1=0x0;const _0x451f5f=await((_0x18dcfa=this['_localCacheService'])==null?void 0x0:_0x18dcfa['loadOfflineData'](_0x573e19));return _0x451f5f&&(_0x451f5f[_0x595093(0x1c6)]||_0x451f5f['mutations'][_0x595093(0x1db)]!==0x0)&&(_0x108cd1=_0x451f5f['rev']),_0x108cd1===0x0&&this[_0x595093(0x21a)][_0x595093(0x218)](_0x595093(0x4a5),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x595093(0x311)][_0x595093(0x3dc)](_0x573e19,_0x108cd1);}async[_0x7744bf(0x41c)](_0x4089b0){var _0xbf990d=_0x7744bf,_0x4a3211;let _0x46814a=0x0;const _0x429be5=await((_0x4a3211=this[_0xbf990d(0x3a0)])==null?void 0x0:_0x4a3211[_0xbf990d(0x292)](_0x4089b0));return _0x429be5&&(_0x429be5[_0xbf990d(0x1c6)]||_0x429be5[_0xbf990d(0x226)][_0xbf990d(0x1db)]!==0x0)&&(_0x46814a=_0x429be5[_0xbf990d(0x334)]),_0x46814a===0x0&&this['_logService'][_0xbf990d(0x218)](_0xbf990d(0x4a5),_0xbf990d(0x2f5)),this['_snapshotService'][_0xbf990d(0x1d5)](_0x4089b0,_0x46814a);}};Ot=br([mt(0x0,_0x36e00a),mt(0x1,_0x46f2f9(_0x1907ed)),mt(0x2,_0x49cb22(X))],Ot);var Rr=Object[_0x7744bf(0x467)],yr=Object[_0x7744bf(0x1c0)],Or=(_0x1e551e,_0x10e9ff,_0x40af04,_0x18e1ac)=>{var _0x1b2ecf=_0x7744bf;for(var _0x504288=_0x18e1ac>0x1?void 0x0:_0x18e1ac?yr(_0x10e9ff,_0x40af04):_0x10e9ff,_0x41336d=_0x1e551e[_0x1b2ecf(0x1db)]-0x1,_0x34ba4e;_0x41336d>=0x0;_0x41336d--)(_0x34ba4e=_0x1e551e[_0x41336d])&&(_0x504288=(_0x18e1ac?_0x34ba4e(_0x10e9ff,_0x40af04,_0x504288):_0x34ba4e(_0x504288))||_0x504288);return _0x18e1ac&&_0x504288&&Rr(_0x10e9ff,_0x40af04,_0x504288),_0x504288;},St=(_0x387754,_0x263753)=>(_0x276531,_0x26cbf3)=>_0x263753(_0x276531,_0x26cbf3,_0x387754);const Pr=['image/png',_0x7744bf(0x29d),_0x7744bf(0x2c9),_0x7744bf(0x1bc),'image/bmp'],Nr=0x5*0x400*0x400,Dr=_0x7744bf(0x1cd),wr=_0x7744bf(0x456),Ur=_0x7744bf(0x33f),Ar=_0x7744bf(0x206);let Pt=class{constructor(_0x418bf6,_0x84fcf8,_0x27c69d){var _0x7acdf3=_0x7744bf;D(this,'_waitCount',0x0),D(this,'_change$',new _0x14ccc3()),D(this,'change$',this[_0x7acdf3(0x1e8)]),D(this,_0x7acdf3(0x418),new Map()),(this[_0x7acdf3(0x4a2)]=_0x418bf6,this[_0x7acdf3(0x1f1)]=_0x84fcf8,this[_0x7acdf3(0x403)]=_0x27c69d);}[_0x7744bf(0x21b)](_0xc3e7a){var _0x158482=_0x7744bf;this[_0x158482(0x243)]=_0xc3e7a,this['_change$'][_0x158482(0x3a5)](_0xc3e7a);}[_0x7744bf(0x27d)](_0x4a3573,_0x5d70c9){var _0x24c237=_0x7744bf;if(_0x5d70c9===_0x2483ce['BASE64']){const _0x394200=new Image();return _0x394200[_0x24c237(0x39e)]=_0x4a3573,_0x394200;}return this[_0x24c237(0x418)]['get'](_0x4a3573);}[_0x7744bf(0x23b)](_0xbc9fbe,_0x3546e2,_0x24ade9){var _0x5172a8=_0x7744bf;_0x3546e2===_0x2483ce['BASE64']||_0x24ade9==null||this['_imageSourceCache'][_0x5172a8(0x425)](_0xbc9fbe,_0x24ade9);}async[_0x7744bf(0x3fd)](_0x3d3ae5){var _0x5bb370=_0x7744bf;try{const _0x4a65e2=this[_0x5bb370(0x30b)](this[_0x5bb370(0x205)](),''+_0x3d3ae5),_0xf10901=(await this[_0x5bb370(0x4a2)]['get'](_0x4a65e2))[_0x5bb370(0x22f)];if(_0xf10901[_0x5bb370(0x44a)]&&_0xf10901[_0x5bb370(0x44a)][_0x5bb370(0x241)]===Ii['OK']){const _0x45e525=new URL(_0xf10901[_0x5bb370(0x2be)],this[_0x5bb370(0x453)]())[_0x5bb370(0x267)]();return Promise[_0x5bb370(0x373)](_0x45e525);}return Promise['reject'](_0xf10901['error']);}catch(_0x23b3ed){return Promise[_0x5bb370(0x36b)](_0x23b3ed);}}async[_0x7744bf(0x423)](_0x6c722d){var _0x5440db=_0x7744bf;let _0x539e66='';if(!Pr[_0x5440db(0x385)](_0x6c722d[_0x5440db(0x2bd)]))return this[_0x5440db(0x224)](),Promise['reject'](new Error(_0xf0db03[_0x5440db(0x2db)]));if(_0x6c722d[_0x5440db(0x238)]>Nr)return this[_0x5440db(0x224)](),Promise['reject'](new Error(_0xf0db03['ERROR_EXCEED_SIZE']));try{const _0x3123bb=new FormData();_0x3123bb[_0x5440db(0x368)]('file',_0x6c722d);const _0x4e7024=this[_0x5440db(0x403)][_0x5440db(0x451)](),_0x2cf395=_0x4e7024==null?void 0x0:_0x4e7024[_0x5440db(0x48b)]();if(!_0x2cf395)throw new Error(_0x5440db(0x38d));const _0x551754=this['_getUploadFileURL']()+_0x5440db(0x479)+_0x6c722d[_0x5440db(0x238)][_0x5440db(0x267)]()+'&source='+Ti['UnitEmbedded']+_0x5440db(0x3d0)+encodeURIComponent(_0x2cf395),_0x398703=await(await fetch(_0x551754,{'method':'POST','body':_0x3123bb}))[_0x5440db(0x497)]();if(typeof _0x398703['FileId']!=_0x5440db(0x21e))return this[_0x5440db(0x224)](),Promise[_0x5440db(0x36b)](new Error(_0xf0db03[_0x5440db(0x46f)]));_0x539e66=_0x398703[_0x5440db(0x1b1)];}catch{return this[_0x5440db(0x224)](),Promise[_0x5440db(0x36b)](new Error(_0xf0db03[_0x5440db(0x46f)]));}return new Promise((_0x2cf80c,_0x6c9934)=>{var _0x1cc169=_0x5440db;const _0x26c3e6=new FileReader();_0x26c3e6[_0x1cc169(0x299)](_0x6c722d),_0x26c3e6[_0x1cc169(0x2ef)]=_0xbe7ebf=>{var _0x55e952=_0x1cc169,_0x430a37;const _0x508212=(_0x430a37=_0xbe7ebf[_0x55e952(0x3e0)])==null?void 0x0:_0x430a37[_0x55e952(0x266)];if(_0x508212==null){this[_0x55e952(0x224)](),_0x6c9934(new Error(_0xf0db03['ERROR_IMAGE']));return;}const _0x478791=_0x5e5c0f['generateRandomId'](0x6);_0x2cf80c({'imageId':_0x478791,'imageSourceType':_0x2483ce[_0x55e952(0x382)],'source':_0x539e66,'base64Cache':_0x508212,'status':_0xf0db03[_0x55e952(0x1bf)]}),this['_decreaseWaiting']();};});}[_0x7744bf(0x2dd)](){var _0x599e57=_0x7744bf,_0x566346,_0xe5bd79;const _0x42d328=this[_0x599e57(0x1f1)]['getConfig'](Dr),_0x28a352=this[_0x599e57(0x1f1)][_0x599e57(0x3e9)](Y);return(_0xe5bd79=(_0x566346=_0x28a352==null?void 0x0:_0x28a352[_0x599e57(0x2d5)])!=null?_0x566346:_0x42d328)!=null?_0xe5bd79:wr;}['_getSignURL'](){var _0x472dec=_0x7744bf,_0xf05b4b,_0xe1bb0d;const _0x2fcc6c=this[_0x472dec(0x1f1)][_0x472dec(0x3e9)](Ur),_0x5a8901=this[_0x472dec(0x1f1)]['getConfig'](Y);return(_0xe1bb0d=(_0xf05b4b=_0x5a8901==null?void 0x0:_0x5a8901[_0x472dec(0x2ad)])!=null?_0xf05b4b:_0x2fcc6c)!=null?_0xe1bb0d:Ar;}[_0x7744bf(0x453)](){var _0x56fb27=_0x7744bf,_0x3a8f6b;const _0x9e5543=this[_0x56fb27(0x1f1)][_0x56fb27(0x3e9)](Y);return(_0x3a8f6b=_0x9e5543==null?void 0x0:_0x9e5543['downloadEndpointUrl'])!=null?_0x3a8f6b:location[_0x56fb27(0x220)];}['_replaceFileID'](_0x3ea3b0,_0x700feb){var _0xcd3ef8=_0x7744bf;return _0x3ea3b0[_0xcd3ef8(0x49d)](_0xcd3ef8(0x405),_0x700feb);}[_0x7744bf(0x224)](){var _0x617c31=_0x7744bf;this[_0x617c31(0x243)]-=0x1,this[_0x617c31(0x1e8)][_0x617c31(0x3a5)](this['_waitCount']);}};Pt=Or([St(0x0,_0x46f2f9(_0x381081)),St(0x1,_0x387952),St(0x2,_0x46f2f9(_0x464ce2))],Pt);var xr=Object[_0x7744bf(0x467)],Lr=Object[_0x7744bf(0x1c0)],Mr=(_0x345029,_0x1b0c6b,_0x1dffa7,_0x20d83e)=>{var _0x1c9462=_0x7744bf;for(var _0x4cae85=_0x20d83e>0x1?void 0x0:_0x20d83e?Lr(_0x1b0c6b,_0x1dffa7):_0x1b0c6b,_0x174d7d=_0x345029[_0x1c9462(0x1db)]-0x1,_0x25eb96;_0x174d7d>=0x0;_0x174d7d--)(_0x25eb96=_0x345029[_0x174d7d])&&(_0x4cae85=(_0x20d83e?_0x25eb96(_0x1b0c6b,_0x1dffa7,_0x4cae85):_0x25eb96(_0x4cae85))||_0x4cae85);return _0x20d83e&&_0x4cae85&&xr(_0x1b0c6b,_0x1dffa7,_0x4cae85),_0x4cae85;},li=(_0x305058,_0x5146cb)=>(_0x515cb3,_0x4db14e)=>_0x5146cb(_0x515cb3,_0x4db14e,_0x305058);const $r='/universer-api/authz';let Nt=class{constructor(_0x17ca2b,_0x54616f){var _0x2846c1=_0x7744bf;this[_0x2846c1(0x1f1)]=_0x17ca2b,this[_0x2846c1(0x3f9)]=_0x54616f;}[_0x7744bf(0x3f6)](){var _0xc22fc7=_0x7744bf,_0x4d9c65,_0xc25595;const _0x3c462d=this['_configService'][_0xc22fc7(0x3e9)](Di),_0x897b78=this[_0xc22fc7(0x1f1)][_0xc22fc7(0x3e9)](Y);return(_0xc25595=(_0x4d9c65=_0x897b78==null?void 0x0:_0x897b78['authzUrl'])!=null?_0x4d9c65:_0x3c462d)!=null?_0xc25595:$r;}async[_0x7744bf(0x1b7)](_0x5139c5){var _0x199bc9=_0x7744bf;const _0x40fa6e=this[_0x199bc9(0x3f6)]()+_0x199bc9(0x2ab);return{'list':[{'title':'People','mentions':(await this[_0x199bc9(0x3f9)][_0x199bc9(0x422)](_0x40fa6e,{'params':{'objectID':_0x5139c5['unitId'],'unitID':_0x5139c5['unitId']}}))[_0x199bc9(0x22f)][_0x199bc9(0x3a7)][_0x199bc9(0x40e)](_0xd7600e=>({'objectId':_0xd7600e['id'],'name':_0xd7600e[_0x199bc9(0x357)][_0x199bc9(0x245)],'metadata':{'icon':_0xd7600e[_0x199bc9(0x357)][_0x199bc9(0x303)]},'label':_0xd7600e[_0x199bc9(0x357)]['name'],'objectType':_0x327ba5[_0x199bc9(0x2b4)]})),'metadata':{},'type':_0x327ba5['PERSON']}]};}};Nt=Mr([li(0x0,_0x46f2f9(_0x387952)),li(0x1,_0x46f2f9(_0x381081))],Nt);var Hr=Object[_0x7744bf(0x467)],kr=Object[_0x7744bf(0x1c0)],jr=(_0x466d9e,_0x8458b4,_0x50ad20,_0x6f5bb)=>{for(var _0x1de361=_0x6f5bb>0x1?void 0x0:_0x6f5bb?kr(_0x8458b4,_0x50ad20):_0x8458b4,_0x503a6e=_0x466d9e['length']-0x1,_0x168bf2;_0x503a6e>=0x0;_0x503a6e--)(_0x168bf2=_0x466d9e[_0x503a6e])&&(_0x1de361=(_0x6f5bb?_0x168bf2(_0x8458b4,_0x50ad20,_0x1de361):_0x168bf2(_0x1de361))||_0x1de361);return _0x6f5bb&&_0x1de361&&Hr(_0x8458b4,_0x50ad20,_0x1de361),_0x1de361;},Se=(_0x5285ae,_0x119aad)=>(_0x348acc,_0x15eb2c)=>_0x119aad(_0x348acc,_0x15eb2c,_0x5285ae);let ct=class extends _0x2bcc2a{constructor(_0x178e52,_0x58673e,_0x1940a3,_0x157946,_0x35fa6d,_0x4c4d9a,_0x19c3ea){var _0x58b6dc=_0x7744bf;super(),this['_injector']=_0x178e52,this[_0x58b6dc(0x403)]=_0x58673e,this['_permissionService']=_0x1940a3,this['_collaborationSessionService']=_0x157946,this[_0x58b6dc(0x2d8)]=_0x35fa6d,this['_authzIoService']=_0x4c4d9a,this['_undoRedoService']=_0x19c3ea,this[_0x58b6dc(0x356)](),this[_0x58b6dc(0x308)]();}[_0x7744bf(0x308)](){var _0x27d589=_0x7744bf;const _0x47ad2e=async _0x5672b2=>{var _0x12c4cc=_0x186f;(await this[_0x12c4cc(0x2ec)][_0x12c4cc(0x398)](_0x5672b2))[_0x12c4cc(0x363)][_0x12c4cc(0x1cf)](_0x43efb4(_0x4ba9e0=>_0x4ba9e0['eventID']===_0x51c9a6[_0x12c4cc(0x1d3)]),_0x95d7f9(this['dispose$']))[_0x12c4cc(0x447)](_0xe4cb2c=>{var _0x128a97=_0x12c4cc;const _0x3eaa6a=_0xe4cb2c,{reason:_0x43117a}=_0x3eaa6a[_0x128a97(0x432)];this[_0x128a97(0x2d8)][_0x128a97(0x32a)]({'id':se[_0x128a97(0x4a0)],'data':_0x43117a}),this['_permissionService'][_0x128a97(0x369)](new _0x5a0758(_0x5672b2)['id'],!0x1),this['_collaborationSessionService'][_0x128a97(0x247)](_0x5672b2);});};_0x2a7ebf(this['_univerInstanceService'][_0x27d589(0x23e)](_0x2a4642[_0x27d589(0x49a)]),this[_0x27d589(0x403)][_0x27d589(0x23e)](_0x2a4642[_0x27d589(0x457)]))[_0x27d589(0x1cf)](_0x30311a(_0x2d4e15=>_0x2d4e15['getUnitId']()),_0x43efb4(_0x1afc5c=>!_0x2f8e06(_0x1afc5c)),_0x95d7f9(this[_0x27d589(0x2da)]))['subscribe'](_0x1c6ed1=>{_0x47ad2e(_0x1c6ed1);});}['_initUnitPermissionChange'](){var _0x23a9eb=_0x7744bf;const _0x1c7801=async _0x510e2c=>{var _0x30806f=_0x186f;(await this[_0x30806f(0x2ec)][_0x30806f(0x398)](_0x510e2c))[_0x30806f(0x363)][_0x30806f(0x1cf)](_0x43efb4(_0x288ee9=>_0x288ee9[_0x30806f(0x1e1)]===_0x51c9a6[_0x30806f(0x2a1)]),_0x95d7f9(this[_0x30806f(0x2da)]))['subscribe'](_0x430e61=>{var _0x39bd76=_0x30806f;const _0x444196=_0x430e61,{objectId:_0x1bf664}=_0x444196[_0x39bd76(0x432)];_0x1bf664===_0x510e2c?this[_0x39bd76(0x24a)](_0x510e2c):this['refreshPermission'](_0x510e2c,_0x1bf664);});};_0x2a7ebf(this[_0x23a9eb(0x403)][_0x23a9eb(0x23e)](_0x2a4642['UNIVER_SHEET']),this[_0x23a9eb(0x403)][_0x23a9eb(0x23e)](_0x2a4642[_0x23a9eb(0x457)]))['pipe'](_0x30311a(_0x26e475=>_0x26e475[_0x23a9eb(0x48b)]()),_0x43efb4(_0x339315=>!_0x2f8e06(_0x339315)),_0x95d7f9(this[_0x23a9eb(0x2da)]))[_0x23a9eb(0x447)](_0x42dc9c=>{_0x1c7801(_0x42dc9c);});}async[_0x7744bf(0x24a)](_0x21a25a){var _0xf07759=_0x7744bf,_0x18c67c;const _0xc5f83e=_0x21a25a||((_0x18c67c=this[_0xf07759(0x403)][_0xf07759(0x252)](_0x2a4642[_0xf07759(0x49a)]))==null?void 0x0:_0x18c67c[_0xf07759(0x48b)]());_0xc5f83e&&this[_0xf07759(0x1d4)]['allowed']({'objectID':_0xc5f83e,'objectType':_0x9bd791['Workbook'],'unitID':_0xc5f83e,'actions':_0x592193})[_0xf07759(0x328)](_0xd26a6=>{var _0x4c92c8=_0xf07759;_0x37d376()[_0x4c92c8(0x365)](_0x49be39=>{var _0x2f61e2=_0x4c92c8;const _0x4c72af=new _0x49be39(_0xc5f83e),_0x813868=_0x4c72af['subType'],_0x2dce1f=_0xd26a6[_0x2f61e2(0x43d)](_0x47eda1=>_0x47eda1['action']===_0x813868);_0x2dce1f&&this['_permissionService'][_0x2f61e2(0x369)](_0x4c72af['id'],_0x2dce1f[_0x2f61e2(0x3c2)]);});});}[_0x7744bf(0x36e)](_0x23b9a2,_0x1cd1b6){var _0x48a7d4=_0x7744bf;const _0xace62a=this[_0x48a7d4(0x1d9)]['get'](_0x363773),_0x148afd=_0xace62a['getTargetByPermissionId'](_0x23b9a2,_0x1cd1b6);let _0xea5686=!0x1;if(_0x148afd){const [_0x512bbc,_0x88e53]=_0x148afd;this[_0x48a7d4(0x1d4)][_0x48a7d4(0x3c2)]({'objectID':_0x1cd1b6,'unitID':_0x23b9a2,'objectType':_0x9bd791['Worksheet'],'actions':_0x2ab551})[_0x48a7d4(0x328)](_0x29fa76=>{var _0x555941=_0x48a7d4;let _0x42d1ad='';_0x575e9e()[_0x555941(0x365)](_0x106f1b=>{var _0x1d2bd6=_0x555941,_0xd2ac5a;const _0x25176b=new _0x106f1b(_0x23b9a2,_0x88e53),_0x558d41=_0x25176b[_0x1d2bd6(0x490)],_0x21317f=_0x29fa76[_0x1d2bd6(0x43d)](_0x4e3234=>_0x4e3234[_0x1d2bd6(0x35e)]===_0x558d41);_0x21317f&&(((_0xd2ac5a=this['_permissionService'][_0x1d2bd6(0x1e6)](_0x25176b['id']))==null?void 0x0:_0xd2ac5a[_0x1d2bd6(0x3dd)])!==_0x21317f[_0x1d2bd6(0x3c2)]&&(_0xea5686=!0x0),this[_0x1d2bd6(0x279)][_0x1d2bd6(0x369)](_0x25176b['id'],_0x21317f[_0x1d2bd6(0x3c2)]),_0x42d1ad+=_0x21317f[_0x1d2bd6(0x35e)]+'_'+_0x21317f['allowed']);}),_0xace62a[_0x555941(0x3b7)](_0x1cd1b6+'_'+_0x42d1ad),_0xea5686&&this[_0x555941(0x3eb)][_0x555941(0x443)](_0x23b9a2);});}const _0x5d9ef7=this[_0x48a7d4(0x1d9)]['get'](_0x409b8a)[_0x48a7d4(0x3e2)](_0x23b9a2,_0x1cd1b6);if(_0x5d9ef7){const [_0x51403f,_0x2792a0]=_0x5d9ef7;this[_0x48a7d4(0x1d4)][_0x48a7d4(0x3c2)]({'objectID':_0x1cd1b6,'unitID':_0x23b9a2,'objectType':_0x9bd791['Worksheet'],'actions':_0x215618})[_0x48a7d4(0x328)](_0x178160=>{var _0x583982=_0x48a7d4;_0x45b1a2()['forEach'](_0x154e9d=>{var _0x38c024=_0x186f,_0x43f5f1;const _0x37ec2e=new _0x154e9d(_0x23b9a2,_0x2792a0),_0xe74f6e=_0x37ec2e[_0x38c024(0x490)],_0x5b1a61=_0x178160[_0x38c024(0x43d)](_0xf77475=>_0xf77475[_0x38c024(0x35e)]===_0xe74f6e);_0x5b1a61&&(((_0x43f5f1=this['_permissionService'][_0x38c024(0x1e6)](_0x37ec2e['id']))==null?void 0x0:_0x43f5f1[_0x38c024(0x3dd)])!==_0x5b1a61[_0x38c024(0x3c2)]&&(_0xea5686=!0x0),this['_permissionService'][_0x38c024(0x369)](_0x37ec2e['id'],_0x5b1a61['allowed']));}),_0xea5686&&this['_undoRedoService'][_0x583982(0x443)](_0x23b9a2);});}const _0x3bad0f=this[_0x48a7d4(0x1d9)][_0x48a7d4(0x422)](_0x453f5e),_0x197438=_0x3bad0f[_0x48a7d4(0x3e2)](_0x23b9a2,_0x1cd1b6);if(_0x197438){const [_0x38ef4c,_0x25e7e6]=_0x197438;this[_0x48a7d4(0x1d4)][_0x48a7d4(0x3c2)]({'objectID':_0x1cd1b6,'unitID':_0x23b9a2,'objectType':_0x9bd791[_0x48a7d4(0x312)],'actions':_0x2ab551})[_0x48a7d4(0x328)](_0x1932d4=>{var _0x545c68=_0x48a7d4;let _0x17e31d='';_0x47ec90()[_0x545c68(0x365)](_0x5484c8=>{var _0x3c02e5=_0x545c68,_0x4bc2fc;const _0x21d631=new _0x5484c8(_0x23b9a2,_0x25e7e6,_0x1cd1b6),_0x1b047b=_0x21d631['subType'],_0x6115b5=_0x1932d4[_0x3c02e5(0x43d)](_0x5d809a=>_0x5d809a[_0x3c02e5(0x35e)]===_0x1b047b);_0x6115b5&&(((_0x4bc2fc=this[_0x3c02e5(0x279)]['getPermissionPoint'](_0x21d631['id']))==null?void 0x0:_0x4bc2fc[_0x3c02e5(0x3dd)])!==_0x6115b5[_0x3c02e5(0x3c2)]&&(_0xea5686=!0x0),this[_0x3c02e5(0x279)][_0x3c02e5(0x369)](_0x21d631['id'],_0x6115b5['allowed']),_0x17e31d+=_0x6115b5[_0x3c02e5(0x35e)]+'_'+_0x6115b5['allowed']);}),_0x3bad0f[_0x545c68(0x3b7)](_0x1cd1b6+'_'+_0x17e31d),_0xea5686&&this[_0x545c68(0x3eb)][_0x545c68(0x443)](_0x23b9a2);});}}};ct=jr([Se(0x0,_0x46f2f9(_0x6d28a0)),Se(0x1,_0x464ce2),Se(0x2,_0x13c615),Se(0x3,_0x46f2f9(Me)),Se(0x4,_0x46f2f9(pe)),Se(0x5,_0x1ee191),Se(0x6,_0x9d8c79)],ct);var Br=Object[_0x7744bf(0x467)],Fr=Object[_0x7744bf(0x1c0)],Vr=(_0x3fc408,_0x3c4606,_0x3dd2b5,_0x1f7761)=>{var _0x1a1e11=_0x7744bf;for(var _0x2bf547=_0x1f7761>0x1?void 0x0:_0x1f7761?Fr(_0x3c4606,_0x3dd2b5):_0x3c4606,_0x49b54c=_0x3fc408[_0x1a1e11(0x1db)]-0x1,_0x4aa79b;_0x49b54c>=0x0;_0x49b54c--)(_0x4aa79b=_0x3fc408[_0x49b54c])&&(_0x2bf547=(_0x1f7761?_0x4aa79b(_0x3c4606,_0x3dd2b5,_0x2bf547):_0x4aa79b(_0x2bf547))||_0x2bf547);return _0x1f7761&&_0x2bf547&&Br(_0x3c4606,_0x3dd2b5,_0x2bf547),_0x2bf547;},ui=(_0x301be2,_0x106659)=>(_0x31ae9b,_0x173e88)=>_0x106659(_0x31ae9b,_0x173e88,_0x301be2);let Dt=class{constructor(_0x1c6b26,_0x418888){var _0x54d988=_0x7744bf;this[_0x54d988(0x1f1)]=_0x1c6b26,this[_0x54d988(0x4a2)]=_0x418888;}async[_0x7744bf(0x45b)](_0x3f295f,_0x4afd2b){var _0x5b504c=_0x7744bf,_0xb5f94b;const {unitID:_0x1317c7,type:_0x50b179,revision:_0x4e8948=0x0}=_0x4afd2b,_0xe0ee28=this['getSnapshotAPIPath']()+'/'+_0x50b179+_0x5b504c(0x210)+_0x1317c7+_0x5b504c(0x480)+_0x4e8948,_0x1cfe01=(await this['_httpService'][_0x5b504c(0x422)](_0xe0ee28))[_0x5b504c(0x22f)],_0x3c20ab=(_0xb5f94b=_0x1cfe01[_0x5b504c(0x417)])==null?void 0x0:_0xb5f94b[_0x5b504c(0x2cd)];if(_0x3c20ab){const _0x3bd90c=_0x3c20ab==null?void 0x0:_0x3c20ab[_0x5b504c(0x216)],_0x293baa=_0x76656b[_0x5b504c(0x302)](_0x2f6335(_0x3bd90c));_0x3c20ab['originalMeta']=_0x293baa,Object[_0x5b504c(0x486)](_0x3c20ab[_0x5b504c(0x27e)])['forEach'](([,_0x32a680])=>{var _0x3d8164=_0x5b504c;const _0x474116=_0x32a680['originalMeta'],_0x4a3d38=_0x76656b[_0x3d8164(0x302)](_0x2f6335(_0x474116));_0x32a680[_0x3d8164(0x216)]=_0x4a3d38;});}return _0x1cfe01;}async[_0x7744bf(0x1f8)](_0x207602,_0x1beae0){var _0x54f484=_0x7744bf;const {unitID:_0x28eaf8,type:_0x115dc3,blockID:_0x3d7c2b}=_0x1beae0,_0x3a7930=this[_0x54f484(0x3c5)]()+'/'+_0x115dc3+_0x54f484(0x210)+_0x28eaf8+_0x54f484(0x460)+_0x3d7c2b;return(await this[_0x54f484(0x4a2)][_0x54f484(0x422)](_0x3a7930))[_0x54f484(0x22f)];}async[_0x7744bf(0x36a)](_0x48dae8,_0x267df4){var _0x405ccd=_0x7744bf;const {unitID:_0x352fbe,type:_0x211877,blockID:_0x24da8b}=_0x267df4,_0x48efe2=this['_getAPIPrefix']()+_0x405ccd(0x460)+_0x211877+_0x405ccd(0x210)+_0x352fbe+_0x405ccd(0x460)+_0x24da8b;return(await this[_0x405ccd(0x4a2)][_0x405ccd(0x422)](_0x48efe2))[_0x405ccd(0x22f)];}async[_0x7744bf(0x3ad)](_0x2203ca,_0xd10b00){var _0x3a7f94=_0x7744bf;const {unitID:_0x11374f,type:_0x179a7c,from:_0xba5d6f,to:_0x145eca}=_0xd10b00,_0xebdb56=this[_0x3a7f94(0x3c5)]()+'/'+_0x179a7c+_0x3a7f94(0x210)+_0x11374f+_0x3a7f94(0x386)+_0xba5d6f+_0x3a7f94(0x329)+_0x145eca;return(await this['_httpService']['get'](_0xebdb56))[_0x3a7f94(0x22f)];}[_0x7744bf(0x283)](){var _0x41e04f=_0x7744bf,_0x3b1305;return(_0x3b1305=this[_0x41e04f(0x1f1)][_0x41e04f(0x3e9)](Dn))!=null?_0x3b1305:this[_0x41e04f(0x3c5)]();}[_0x7744bf(0x3c5)](){var _0x44d835=_0x7744bf,_0x53e2bc,_0x1a3706;const _0x2e7e88=this[_0x44d835(0x1f1)][_0x44d835(0x3e9)](Pn),_0x555473=this[_0x44d835(0x1f1)][_0x44d835(0x3e9)](Y);return(_0x1a3706=(_0x53e2bc=_0x555473==null?void 0x0:_0x555473['snapshotServerUrl'])!=null?_0x53e2bc:_0x2e7e88)!=null?_0x1a3706:Nn;}async[_0x7744bf(0x307)](_0x112b27,_0x1540e8){var _0x26ba2b=_0x7744bf;const _0x566331=_0x26ba2b(0x2d4)+_0x1540e8[_0x26ba2b(0x2bd)]+_0x26ba2b(0x210)+_0x1540e8[_0x26ba2b(0x277)]+_0x26ba2b(0x225);return(await this['_httpService']['get'](_0x566331,{'params':{'resourceId':JSON[_0x26ba2b(0x48c)](_0x1540e8[_0x26ba2b(0x209)])}}))[_0x26ba2b(0x22f)];}[_0x7744bf(0x49e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x7744bf(0x433)](){var _0x1a24ba=_0x7744bf;throw new Error(_0x1a24ba(0x31b));}[_0x7744bf(0x491)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x7744bf(0x1df)](){var _0x46331f=_0x7744bf;throw new Error(_0x46331f(0x31b));}};Dt=Vr([ui(0x0,_0x387952),ui(0x1,_0x46f2f9(_0x381081))],Dt);var Wr=Object[_0x7744bf(0x467)],Gr=Object[_0x7744bf(0x1c0)],Kr=(_0x50016e,_0x3a45d4,_0x23c57a,_0x262cbd)=>{for(var _0x8f5942=_0x262cbd>0x1?void 0x0:_0x262cbd?Gr(_0x3a45d4,_0x23c57a):_0x3a45d4,_0xa6fea2=_0x50016e['length']-0x1,_0x49c6d5;_0xa6fea2>=0x0;_0xa6fea2--)(_0x49c6d5=_0x50016e[_0xa6fea2])&&(_0x8f5942=(_0x262cbd?_0x49c6d5(_0x3a45d4,_0x23c57a,_0x8f5942):_0x49c6d5(_0x8f5942))||_0x8f5942);return _0x262cbd&&_0x8f5942&&Wr(_0x3a45d4,_0x23c57a,_0x8f5942),_0x8f5942;},Ue=(_0x11c8df,_0xb67794)=>(_0x12718c,_0x5ef016)=>_0xb67794(_0x12718c,_0x5ef016,_0x11c8df);let wt=class extends _0xf0a0f5{constructor(_0x59e67a,_0x2ebf8a,_0x250360,_0x35e79f,_0x52e6ce){var _0x15aebf=_0x7744bf;super(_0x59e67a,_0x2ebf8a,_0x250360),this[_0x15aebf(0x341)]=_0x35e79f,this[_0x15aebf(0x21a)]=_0x52e6ce;}[_0x7744bf(0x1ff)](_0x271324,_0x4f452d){var _0x353af5=_0x7744bf;const _0x1ad2f2=this[_0x353af5(0x2f1)](_0x271324);if(_0x1ad2f2)try{const _0x293c22=this[_0x353af5(0x1f5)](_0x1ad2f2,_0x4f452d);this[_0x353af5(0x2f9)](_0x271324,_0x293c22);}catch(_0x583108){this[_0x353af5(0x21a)][_0x353af5(0x44a)](_0x353af5(0x34e),_0x583108),this[_0x353af5(0x25a)](_0x271324);}const _0x5e76cf=this[_0x353af5(0x1dc)](_0x271324);if(_0x5e76cf)try{const _0x4298f7=this[_0x353af5(0x1f5)](_0x5e76cf,_0x4f452d);this['_substituteRedoStack'](_0x271324,_0x4298f7);}catch(_0x291af0){this[_0x353af5(0x21a)][_0x353af5(0x44a)](_0x291af0),this[_0x353af5(0x31e)](_0x271324);}}[_0x7744bf(0x25a)](_0x4a89fe){const _0x4dc304=this['_getUndoStack'](_0x4a89fe);_0x4dc304&&(_0x4dc304['length']=0x0,this['_updateStatus']());}['_clearRedo'](_0x246b60){var _0x2f7f2e=_0x7744bf;const _0x5ba923=this[_0x2f7f2e(0x1dc)](_0x246b60);_0x5ba923&&(_0x5ba923[_0x2f7f2e(0x1db)]=0x0,this[_0x2f7f2e(0x1c1)]());}['_substituteUndoStack'](_0x4661c5,_0x5db4a2){var _0xfcd937=_0x7744bf;this[_0xfcd937(0x38b)][_0xfcd937(0x425)](_0x4661c5,_0x5db4a2),this[_0xfcd937(0x1c1)]();}[_0x7744bf(0x26f)](_0x3a3b96,_0x58373d){var _0x14bc7a=_0x7744bf;this[_0x14bc7a(0x1f9)][_0x14bc7a(0x425)](_0x3a3b96,_0x58373d),this[_0x14bc7a(0x1c1)]();}[_0x7744bf(0x1f5)](_0x5353a5,_0x3dbd89){var _0x45da53=_0x7744bf;const _0x320483=[];let _0x520152=_0x3dbd89,_0x58dc53=_0x3dbd89;for(let _0x2c89cd=_0x5353a5['length']-0x1;_0x2c89cd>=0x0;_0x2c89cd--){const {unitID:_0x154ed1,undoMutations:_0x53083a,redoMutations:_0x4b602f}=_0x5353a5[_0x2c89cd],_0x2e770e=this[_0x45da53(0x341)][_0x45da53(0x259)](_0x520152,_0x53083a),_0x4129ca=this['_transformService'][_0x45da53(0x259)](_0x58dc53,_0x4b602f);if(_0x39d485(_0x2e770e)||_0x39d485(_0x4129ca)){this[_0x45da53(0x21a)][_0x45da53(0x44a)](_0x45da53(0x34e),_0x45da53(0x488),_0x2e770e,_0x4129ca);break;}_0x520152=_0x2e770e[_0x45da53(0x313)],_0x58dc53=_0x4129ca[_0x45da53(0x313)],_0x320483[_0x45da53(0x222)]({'unitID':_0x154ed1,'undoMutations':_0x2e770e[_0x45da53(0x40c)],'redoMutations':_0x4129ca[_0x45da53(0x40c)]});}return _0x320483['reverse']();}};wt=Kr([Ue(0x0,_0x464ce2),Ue(0x1,_0x516aa5),Ue(0x2,_0x23fef3),Ue(0x3,_0x58398b),Ue(0x4,_0x36e00a)],wt);var xi=Object['defineProperty'],zr=Object[_0x7744bf(0x1c0)],Yr=(_0x3cf2e2,_0x5c4511,_0x16ddcd)=>_0x5c4511 in _0x3cf2e2?xi(_0x3cf2e2,_0x5c4511,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16ddcd}):_0x3cf2e2[_0x5c4511]=_0x16ddcd,qr=(_0x24da42,_0x5785b5,_0x57adbc,_0x5839a5)=>{var _0x3af1ad=_0x7744bf;for(var _0x3c2e75=_0x5839a5>0x1?void 0x0:_0x5839a5?zr(_0x5785b5,_0x57adbc):_0x5785b5,_0x39ff48=_0x24da42[_0x3af1ad(0x1db)]-0x1,_0x42f5fb;_0x39ff48>=0x0;_0x39ff48--)(_0x42f5fb=_0x24da42[_0x39ff48])&&(_0x3c2e75=(_0x5839a5?_0x42f5fb(_0x5785b5,_0x57adbc,_0x3c2e75):_0x42f5fb(_0x3c2e75))||_0x3c2e75);return _0x5839a5&&_0x3c2e75&&xi(_0x5785b5,_0x57adbc,_0x3c2e75),_0x3c2e75;},Et=(_0x4cf961,_0x4545aa)=>(_0x45c8fb,_0x5cfd5c)=>_0x4545aa(_0x45c8fb,_0x5cfd5c,_0x4cf961),Jr=(_0x444128,_0x1cd68a,_0x2b9f67)=>Yr(_0x444128,_0x1cd68a+'',_0x2b9f67);const Xr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x52b996{constructor(_0x4cbb57=Wn,_0x487d49,_0x3bb854,_0x2ed73f){var _0xbb72e8=_0x7744bf;super(),this[_0xbb72e8(0x49b)]=_0x4cbb57,this[_0xbb72e8(0x21a)]=_0x487d49,this[_0xbb72e8(0x1d9)]=_0x3bb854,this[_0xbb72e8(0x1f1)]=_0x2ed73f;const {..._0x5d267d}=this[_0xbb72e8(0x49b)];this[_0xbb72e8(0x1f1)][_0xbb72e8(0x3c8)](Y,_0x5d267d);}[_0x7744bf(0x3e5)](){var _0x19a927=_0x7744bf;this[_0x19a927(0x23d)](),this['_initDependencies']();}[_0x7744bf(0x23d)](){var _0x4fb8b2=_0x7744bf,_0x59537f,_0x2df36b,_0xa99d35,_0xc0b375;this[_0x4fb8b2(0x1d9)][_0x4fb8b2(0x4b6)](_0x9d8c79)&&this[_0x4fb8b2(0x21a)][_0x4fb8b2(0x44a)](_0x4fb8b2(0x41e),_0x4fb8b2(0x3d8));const _0x305d15=_0x1d2c77([[_0x9d8c79,{'useClass':wt}],[Me],[Le],[nt],[ot],[at],[bi],[ct],[pe],[Ot],[Ci,{'useClass':(_0x2df36b=(_0x59537f=this['_config'])==null?void 0x0:_0x59537f[_0x4fb8b2(0x30d)])!=null?_0x2df36b:It}],[_0x1f721a,{'useClass':Dt}],[_0x1ee191,{'useClass':yt}],[_0x3ee0a8,{'useClass':Pt}],[_0x58ab21,{'useClass':Nt}],[rt],[Rt]],(_0xa99d35=this['_config'])==null?void 0x0:_0xa99d35['override']);if(!((_0xc0b375=this['_config'])!=null&&_0xc0b375[_0x4fb8b2(0x42c)])){const _0x5ee0da=_0x305d15[_0x4fb8b2(0x1e5)](([_0x4331cc])=>_0x4331cc===_t);_0x5ee0da!==-0x1&&_0x305d15[_0x4fb8b2(0x1de)](_0x5ee0da,0x1);}_0x2ea877(this[_0x4fb8b2(0x1d9)],_0x305d15);}['_initDependencies'](){var _0x180a83=_0x7744bf,_0x47d3da,_0x39b017,_0x5519ac;this[_0x180a83(0x1d9)][_0x180a83(0x422)](_0x381081)[_0x180a83(0x2f6)]({'priority':0x14,'interceptor':_0x3356b4({'maxParallel':0x6})}),(_0x47d3da=this[_0x180a83(0x49b)])!=null&&_0x47d3da['enableOfflineEditing']||(_0x39b017=this[_0x180a83(0x1d9)][_0x180a83(0x422)](X,_0x979c86[_0x180a83(0x367)]))==null||_0x39b017[_0x180a83(0x42b)](),(_0x5519ac=this[_0x180a83(0x49b)])!=null&&_0x5519ac[_0x180a83(0x2ee)]&&_0xf35e8a(this[_0x180a83(0x1d9)],[[ot]]),_0xf35e8a(this[_0x180a83(0x1d9)],[[at],[rt],[ct]]);}};Jr(Ut,_0x7744bf(0x4a1),Xr),Ut=qr([_0x5cb19f(_0xf79136,_0x1c5226,_0xfa3287),Et(0x1,_0x36e00a),Et(0x2,_0x46f2f9(_0x6d28a0)),Et(0x3,_0x387952)],Ut);export{Di as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Me as CollaborationSessionService,It as CollaborationSocketService,Oi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,Le as MemberService,Nt as MentionIoHttpService,fe as OfflineState,re as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Ie as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Ri as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};
1
+ function _0x94fa(){var _0x87cdcf=['slice','open$','buffer','LEAVE','ONLINE','push','loadSheet','allowed','_process','_createHandler','_cipher','copyFileMeta','/object/','univer-pro.collaboration-client.network-condition.service','CONNECTOR_DATA_TOO_LARGE','getTargetByPermissionId','UNIVER_DOC','_sendingTimer','_tryEnsureSocket','onSyncEditingCollabCursor','MD5','SelectRange','_onOffline','_candidateSocket','has','ciphertext','UNIVER_PROJECT','HEARTBEAT_TIMEOUT','getMemberID','getTypeOfUnitAdded$','_loadDoc','sendChangesetTimeout','UPDATE_PERMISSION_OBJ','SHOULD_CLOSE_CONN','_snapshotService','addHandlerCallback','clamp','encodeURIComponent','UnitEmbedded','_resendWithTimeout','LIVESHARE_FETCH_OPERATIONS','_handlerCallback','addImageSourceCache','selections','_status$','&assign=','sessionStatus$','_acknowledgedAwaitingChangeset','from','getCollabEntity$','routeKey','changesets','_updateStatus','random','compute','JOINING','getActiveSheet','session.room-permission-denied','_transformStack','snapshot','decrypt','LIVESHARE_NEW_HOST','_memberService','getValue','StreamCipher','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UNKNOWN_CMD','ivSize','workbook','_eventService','byteOffset','_socket$','_localeService','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_RATE_OVER_LIMIT','_toggleOffline','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','action','getRandomValues','fromCollab','_data','headers','APPLY_DUPLICATED','_onCombEvent','signUrlServerUrl','_substituteRedoStack','_append','url','People','_getUploadFileURL','_singleActiveUnitService','removeMember','_localCacheService','next','_sheetTransformSelectionsService','OpenSSL','disposeWithMe','delete','csAckEvent','NO_OTHER_CLIENTS_EDITING','_httpService','collaborators','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_checkMissing','_revisionService','_entities','_stopTelemetryCollaborationNewChangeset','capture','prototype','_initDependencies','COLLAB_SUBMIT_CHANGESET_URL','abs','add','isPermissionRej','_mode','clearUndoRedo','OTHER_CLIENT_EDITING','UPDATE_CURSOR','stopTime','_socketReady','fetchMiss','_entityInit$','_createSocketURL','updateCursorEvent','Cipher','sigBytes','dispose','getUnitId','[OfflineState]:\x20received\x20rejection.','PSEUDO_FETCH_MISSING_RESULT','subType','onTransformIME','_rescheduleHeartbeat','_loadSheet','INVALID_ARGUMENT','textRanges','_unitID','onRemoteAck','joinEvent','_executeRemoteChangeset','fetching\x20missing\x20changesets\x20from\x20','PasswordBasedCipher','?url=','_clearTimeoutTimer','registerHTTPInterceptor','_getCtorByUniverType','socket\x20close','{fileID}','setConfig','[CollaborationUndoRedoService]','USERS_LEAVE','set','NoPadding','Error\x20on\x20receiving\x20event','UNKNOWN_CODE','members','cfg','_applyRemoteChangeset','c2Prime','UNAUTHENTICATED','_transformStateCache','Decryptor','_init','body','SOCKET_FAILED_RETRY','_onUserJoin','readInt32LE','_event$','min','conflict','_replaceFileID','_collaborationTimeoutTimer','_ENC_XFORM_MODE','_createSocket','collabWebSocketUrl','_exhaustRemoteChangesetQueue','readyForCollab','_retryConnectingTimer','HmacMD5','transformMutationsWithChangeset','downloadEndpointUrl','localeService','processBlock','onRemoteChangeset','ERROR_IMAGE','equals','_retryCount','APPLY_PERMISSION_DENIED','send','pending','ruleRefresh','transformSelections','salt','getUnitOnRev','RETRY_CONNECTING_MAX_COUNT','collaboration_new_changeset','enc','_reverseMap','collabSubmitChangesetUrl','error$','ws://127.0.0.1:8000/universer-api/comb/connect','LICENSE_IMPORT_SIZE_EXCEEDED','getUnitType','permissionRejEvent','actions','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_throwTelemetryCollaborationNewChangeset','toggleOnline','FETCH_MISS','_undoRedoService','unitId\x20is\x20not\x20found','_initRequestHeader','telemetry\x20info\x20is\x20not\x20initialized','CHANGESET_REJ','clone','AUTHZ_URL_KEY','JOIN_ROOM_FAILED','complete','PERMISSION_DENIED','padding','getUnit','OPTIONAL','charAt','/collaborator','encode','readAsDataURL','_keyPriorReset','/universer-api/comb','floor','transformChangesets','memberID','retryConnectingInterval','BASE64','_remoteChangesetQueue','__esModule','Hasher','sheets','_snapshotServerService','PERMISSION_REJ','_onRemoteACK','bind','869925dQPNtF','_scheduleTimestamp','_onRemoteChangeset','authzUrl','_commentService','responseType','baseRev','224292deRdfh','_getSendChangesetTimeout','_fetchMissChangesets','/unit/','uploadFileServerUrl','close$','emitEvent','_transformUndoredo','entityInit$','OTHER_CLIENTS_EDITING','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_clearUndo','_onRemoteRejected','every','_telemetryService','cmd','_logService','_compressMutationService','_changesetSessionId','_doCryptBlock','_invKeySchedule','_onMessage','unitID','onTransformState','_getSignURL','GLOBAL_ROOMS_CNT_EXCEEDS','FAIL','error','localCacheService','target','_telemetryInfo','INGEST','editing\x20status\x20changed\x20to','create','onCommentUpdate','value','key','_getCurrentRevision','JOIN_ROOM_NOT_EXISTS','hasher','APPLY_REVISION_CONFILICT','iterations','CipherParams','_sessionStatus$','LICENSE_EXPORT_SIZE_EXCEEDED','m2Prime','_substituteUndoStack','[SyncedState]:\x20received\x20rejection.','subject','ERROR_EXCEED_SIZE','href','then','appendMutation','_syncEditingCollabCursor','MSG_FOR_ERROR','createInstance','rng','7PlassB','MUTATION','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_startCollaboration','length','COMPRESS_MUTATION_APPLY','_collaborationPaused','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_DEC_XFORM_MODE','FETCH_MISSING','UNRECOGNIZED','getMember','createDecryptor','__creator','append','status$','userID','values','commentUpdate$','_clearHeartbeatTimer','avatar','$super','awaitingChangeset','_awaitingChangeset','UUID','getSheetId','Undefined','image/jpeg','JOIN','_transformService','concat','_onRecvEvent','/universer-api/authz','liveShareNewHost','dispose$','HEARTBEAT_INTERVAL','/-/object/-/batch_allowed','_networkConditionService','885748Rwneme','_getLoginPath','_listenToNetworkCondition','__Key__','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','/universer-api/snapshot','_instanceService','CONFLICT','hasOwnProperty','LIVESHARE_OPERATION','[DataLoaderService]','reject','status','parse','pluginName','YUUMI_SUBSCRIPTION_NOT_FOUND','join','_parse','unsubscribe','name','_http','LOCAL_CACHE_INTERVAL','_sessions','loginUrlKey','_members','reqId','getInterceptPoints','_collaborationSessionService','_decreaseWaiting','Base64','type','finalize','method','HEARTBEAT','algo','_onConflict','SNAPSHOT_URL_KEY','[CollaborationState]:\x20apply\x20error!','SUBMIT_CHANGESET_TIMEOUT','_resendTimer','entries','_sendHeartbeat','symbol','SHA1','ERROR_IMAGE_TYPE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','rev','debug','_injector','_updateState','_onJoinRoomEvent','1240307CIeLte','image/png','get','toggleOffline','YUUMI_URL_COL_OUT_OF_RANGE','mutations','joinRsp','_getDownloadEndpointURL','socketService','stringify','post','origin','substr','decryptBlock','toString','roomInfos','_config','_timeoutTimer','_waitCount','put','_hash','25MLlltE','_joinRoom','encryptBlock','_imageSourceCache','list','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_userManagerService','onTransformRemoteChangesetByStateCache','executeCommand','getRoom','_createHelper','JOIN_ROOM_PERMISSION_DENIED','_unlockTransition','?size=','SUCCUSS','FileId','compose','_initUnitPermissionChange','getOwnPropertyDescriptor','onRemoteRetry','LICENSE_MAX_UNITS_EXCEEDED','_transformRemoteChangesetByStateCache','_state$','updatePermissionPoint','code','_univerInstanceService','UNIVER_SLIDE','DEFAULT_FILE_NAME','session.join-failed','_transformSelections','_createHmacHelper','_replayCachedMutations','_nRounds','infoRsp','setWaitCount','updateMember','image/jpg','/resources','_createInitialStateImpl','_commentUpdate$','function','getDeserializedSheetBlock','AWAITING','onTransformSelections','\x20-\x20','params','_doProcessBlock','Malformed\x20UTF-8\x20data','_change$','encrypt','interceptor','default','getFocusedUnit','_isPermissionRej','connection\x20error','LICENSE_DISTRO_REJECTED','sid','CLOSE_ROOM','getLatestCsReqIdBySid','JOIN_ROOM_FULL','NOT_FOUND','originalMeta','patch','subscribe','change$','_clearRedo','_clearScheduledTask','APPLY_REJECT','_waitForHeartbeatResponse','2982104zbkNvC','[CollaborationSession]','Worksheet','_submitChangeset','_state','27DNwbQF','session.room-not-exists','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_sender','call','resourceIDs','HttpExport','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','unitId','size','location','/rev/','lib','_prevBlock','closeSession','/allowed','startsWith','LIVESHARE_TERMINATE','_registerDependencies','transformStack\x20failed!','exports','_nDataBytes','/-/object/list','repeat','7069680Vudcmo','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','execute','_socket','filter','csRejEvent','pipe','eventID','state','NEW_CHANGESETS','[PendingState]:\x20received\x20rejection.','TOO_MANY_REQUESTS','csShouldRetryEvent','mode','focused$','PERSON','data','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','AES','ALREADY_EXISTS','_keySchedule','SNAPSHOT_INVALID_SNAPSHOT','liveShareOperation','CHANGESET_REVISION_CONFILICT','objectID','byteLength','max','wsSessionTicketUrl','OFFLINE','_disableEditing','json','loadUnit','_showConflictNotification','loadDoc','sin','getSnapshotAPIPath','\x20in\x20_schedule.','application/json','COMPRESS_MUTATION_SEND','refreshPermission','_onConnectionOpen','_createInitialState','_onConnectionFailed','_collaborationUIEventService','onStarting','_socketMessageSubscription','randomBytes','/universer-api/oidc/authpage','_startTelemetryCollaborationNewChangeset','createCollaborator','image/bmp','_getUndoStack','updatePermissionObjEvent','update','getImageSourceCache','getUnitStatus$','keySize','[CollaborationEntity]','catch','defineProperty','_pendingMutations','onSendChangeset','not_collab','_key','_incrementRevisionNumber','newCsEvent','includes','requireSession','ceil','_getAPIPrefix','forEach','setShowComponents','_handler','_hasher','result','createEncryptor','/block/','session.room-cnt-exceeds','requestParams','[PendingState]:\x20received\x20acknowledgement.','onStateChange','_xformMode','extend','charCodeAt','sessionStatus','fetchMissingChangesets','searchParams','_initMergeInterceptor','startTime','_minBufferSize','HttpImport','_authzIoService','_HTTPService','HMAC','reduce','CBC','synced','enableSingleActiveInstanceLock','now','onMissedChangesetFetched','COMMENT_UPDATE','transformUndoRedo','INTERNAL_ERROR','SNAPSHOT_HAS_BEEN_REMOVED','SUBMIT_CHANGESET','pad','onRemoteRej','unknown','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_changesetReqId','mixIn','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','getImage','_updateLocalCache','_onFetchMissResult','_onLocalMutation','_getAPIPrefixPath','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','awaiting_with_pending','createSocket','_transitionLocked','message$','_redoStacks','_shouldReportTelemetry','USERS_ENTER','_getSessionTicket','crypto','session','format','onLocalMutation','collaboration-client.config','x-univer-host','WordArray','saveChangeset','_permissionService','splice','formatter','objectType','/fetchmissing?from=','_commandService','_doReset','&source=','_clearLocalCache','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','find','_onUserLeave','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CHANGESET_SHOULD_RETRY','_unitInfo$','_initCloseConn','_transformRemoteChangesetByIMECache','close','NOT_COLLAB','POST','getCurrentRevOfUnit','_onRemoteRetry','image/gif','shouldCloseConn','COLLAB_WEB_SOCKET_URL','words','subUnitId','saveSheetBlock','confirm','BufferedBlockAlgorithm','disableLocalCache','getTypeOfUnitDisposed$','getPermissionPoint','_tryReconnect','_roomMembers','UNDEFINED','_sendHeartbeatTimer','UNIVER_SHEET','initWorkbookPermissionChange','CHANGESET_ACK','unitInfo$','apply','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','setCurrentUser','_lockTransition','getCurrentUser','Workbook','generateRandomId','resend','findIndex','event$','507306glJsoP','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_getRedoStack','[CollaborationSessionService]','c1Prime','LOGIN_URL_KEY','_map','online$','LIVESHARE_REQUEST_HOST','SNAPSHOT_SERVER_URL_KEY','putCollaborators','Encryptor','replace','title','randomUUID','msCrypto','kdf','_clearCollaborationTimeoutTimer','socket\x20open.','/new_changes','asObservable','YUUMI_UNABLE_LOAD_URL','_toggleOnline','toLowerCase','_schedule','_removeRoom','revision','range','COMPLETION_FINISHED','[CollaborationSessionService]:\x20socket\x20error','UNIVER_COLLABORATION_CLIENT_PLUGIN','batchAllowed','init','EvpKDF','updateOfflineData','\x20to\x20','_transformIMECache','getCollabEntity','loadOfflineData','BlockCipherMode','string','offline','/object','onTransformRemoteChangesetByIMECache','ticket','clear','onMissingChangesets','Utf8','ENSURE_SNAPSHOT_EXECUTION','awaiting','HELLO','_type','override','_iKey','_oKey','map','Univer','onCommandExecuted','getSheetBlock','fetchThroughInterceptors','_configService','_resendTimeout','UNIVER_UNKNOWN','_collabSessionService','SOCKET_FAILED','[UniverCollaborationClientPlugin]','fetch_missing','saveImage','/universer-api/stream/file/upload','_queuedRemoteChangesets','reset','UnitSnapshot','_socketService','blockSize','Base','getConfig','indexOf','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','RECV','state$'];_0x94fa=function(){return _0x87cdcf;};return _0x94fa();}var _0x311346=_0x30a1;(function(_0x5885d9,_0x9c31ef){var _0x3a6eeb=_0x30a1,_0xf23db4=_0x5885d9();while(!![]){try{var _0x402403=-parseInt(_0x3a6eeb(0xfb))/0x1+-parseInt(_0x3a6eeb(0xc8))/0x2+parseInt(_0x3a6eeb(0x36c))/0x3+parseInt(_0x3a6eeb(0x373))/0x4*(parseInt(_0x3a6eeb(0x110))/0x5)+parseInt(_0x3a6eeb(0x22b))/0x6*(-parseInt(_0x3a6eeb(0xa2))/0x7)+-parseInt(_0x3a6eeb(0x155))/0x8*(-parseInt(_0x3a6eeb(0x15a))/0x9)+parseInt(_0x3a6eeb(0x172))/0xa;if(_0x402403===_0x9c31ef)break;else _0xf23db4['push'](_0xf23db4['shift']());}catch(_0x3097cd){_0xf23db4['push'](_0xf23db4['shift']());}}}(_0x94fa,0x99499));var Li=Object[_0x311346(0x1ad)],Mi=(_0x2da90c,_0x273338,_0x36b5f9)=>_0x273338 in _0x2da90c?Li(_0x2da90c,_0x273338,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36b5f9}):_0x2da90c[_0x273338]=_0x36b5f9,D=(_0x2aa6d0,_0x524378,_0xe07a8f)=>Mi(_0x2aa6d0,typeof _0x524378!=_0x311346(0xf2)?_0x524378+'':_0x524378,_0xe07a8f);import{createIdentifier as _0x479cae,Inject as _0x558686,Injector as _0x398a6e,Disposable as _0x3ca25e,DisposableCollection as _0xd434d3,toDisposable as _0x3845e9,IConfigService as _0xd9deb0,ILogService as _0x131104,UserManagerService as _0x22b63b,UniverInstanceType as _0x284db2,IUniverInstanceService as _0x255145,LocaleService as _0x171710,Optional as _0x36723f,RxDisposable as _0xb2416e,Tools as _0x11538a,Rectangle as _0x53d542,ICommandService as _0x288e4d,JSONX as _0x57a588,CommandType as _0x25bb9a,IPermissionService as _0x5ea19c,IUndoRedoService as _0x395d87,sequenceExecute as _0x4be59b,Workbook as _0x59af06,MentionType as _0x29d7f1,IAuthzIoService as _0xab6ef3,isInternalEditorID as _0x4534fa,LocalUndoRedoService as _0x567faf,IContextService as _0x8cddee,DependentOn as _0x286702,Plugin as _0xe4edd9,mergeOverrideWithDependencies as _0x2f9a09,IMentionIOService as _0x2b9b17,registerDependencies as _0x350f03,Quantity as _0xa0d1f5,touchDependencies as _0x1341a5}from'@univerjs/core';import{Subject as _0x8ea31a,merge as _0x171772,takeUntil as _0x193c85,BehaviorSubject as _0x36e308,ReplaySubject as _0x4d5084,take as _0x37ee7a,map as _0x44fd13,shareReplay as _0x56ed84,of as _0x28e80b,firstValueFrom as _0x150a11,concatMap as _0x5793a7}from'rxjs';import{map as _0x339470,take as _0x30258e,filter as _0x12fce4,delay as _0x234125,takeUntil as _0x2fa096}from'rxjs/operators';import{HTTPService as _0x44812c,ISocketService as _0x44d9a2,MergeInterceptorFactory as _0x16efc0,HTTPRequest as _0x3707e8,UniverNetworkPlugin as _0x2edb36,ThresholdInterceptorFactory as _0x3d9d47}from'@univerjs/network';import{CollaborationEvent as _0x554366,parseChangesetToProtocol as _0x5d3dc3,ISnapshotServerService as _0x4707d8,isTransformMutationsWithChangesetSuccess as _0x25344d,ITransformService as _0x93f0ad,mapDocumentTypeToUniverType as _0x432b39,RevisionService as _0x42fee1,isTransformChangesetsSuccess as _0x3fc527,CompressMutationService as _0x2f9061,parseProtocolChangeset as _0x3f2c9d,SnapshotService as _0x193173,textEncoder as _0x46aef8,b64DecodeUnicode as _0x5a7936,isTransformMutationsWithChangesetFailure as _0x12c761,UniverCollaborationPlugin as _0x2f637b}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x46ba93}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5001f4}from'@univerjs/docs';import{SheetsSelectionsService as _0x4ced8b,SetSelectionsOperation as _0x89b5a1,InsertSheetMutation as _0x47eccd,EmptyMutation as _0x37a3a3,WorkbookEditablePermission as _0x445c74,UnitObject as _0x1d7182,defaultWorkbookPermissionPoints as _0x5a2337,getAllWorkbookPermissionPoint as _0x532be7,WorksheetProtectionRuleModel as _0x2b9171,baseProtectionActions as _0x5a1c70,getAllWorksheetPermissionPoint as _0x1f3f4e,WorksheetProtectionPointModel as _0x18bbb4,defaultWorksheetPermissionPoint as _0x57357b,getAllWorksheetPermissionPointByPointPanel as _0x3c3e71,RangeProtectionRuleModel as _0x1e6809,getAllRangePermissionPoint as _0x577638,UniverSheetsPlugin as _0x4520cd}from'@univerjs/sheets';import{ImageSourceType as _0x15b436,ImageUploadStatusType as _0xb6b07f,IImageIoService as _0x43a6d5}from'@univerjs/drawing';import{getGlobalObject as _0x7f7889}from'@univerjs-pro/license';const Pn=_0x311346(0x234),Nn=_0x311346(0xcd),Dn=_0x311346(0xec),ho='SEND_CHANGESET_TIMEOUT',wn=0x7d0,Un=_0x311346(0x210),An=_0x311346(0x343),xn='/universer-api/user/session-ticket',Ln=_0x311346(0xc5),Mn=0x7530,Si=_0x311346(0x296),Ei=0x4e20,$n=0x4e20,Hn=_0x311346(0x33d),kn=0x3,_o=_0x311346(0xdd),lo=0x3e8,jn=_0x311346(0x2e9),Bn=_0x311346(0x35e),Fn=_0x311346(0x230),Vn=_0x311346(0x1a1);var Ii=(_0x3d544e=>(_0x3d544e[_0x3d544e['UNDEFINED']=0x0]=_0x311346(0x21b),_0x3d544e[_0x3d544e['OK']=0x1]='OK',_0x3d544e[_0x3d544e[_0x311346(0x1d8)]=0x2]='INTERNAL_ERROR',_0x3d544e[_0x3d544e['PERMISSION_DENIED']=0x3]=_0x311346(0x355),_0x3d544e[_0x3d544e[_0x311346(0x14c)]=0x4]='NOT_FOUND',_0x3d544e[_0x3d544e['UNAUTHENTICATED']=0x5]=_0x311346(0x31a),_0x3d544e[_0x3d544e[_0x311346(0x185)]=0x6]=_0x311346(0x185),_0x3d544e[_0x3d544e[_0x311346(0x301)]=0x7]=_0x311346(0x301),_0x3d544e[_0x3d544e[_0x311346(0x17d)]=0x8]=_0x311346(0x17d),_0x3d544e[_0x3d544e[_0x311346(0x247)]=0x9]='COMPLETION_FINISHED',_0x3d544e[_0x3d544e[_0x311346(0x189)]=0x1389]=_0x311346(0x189),_0x3d544e[_0x3d544e[_0x311346(0x187)]=0x1771]=_0x311346(0x187),_0x3d544e[_0x3d544e[_0x311346(0x1d9)]=0x1772]=_0x311346(0x1d9),_0x3d544e[_0x3d544e[_0x311346(0x25b)]=0x1773]=_0x311346(0x25b),_0x3d544e[_0x3d544e[_0x311346(0x153)]=0x1b59]=_0x311346(0x153),_0x3d544e[_0x3d544e[_0x311346(0x2c4)]=0x1b5a]=_0x311346(0x2c4),_0x3d544e[_0x3d544e[_0x311346(0x39b)]=0x1b5b]=_0x311346(0x39b),_0x3d544e[_0x3d544e[_0x311346(0x336)]=0x1b5c]=_0x311346(0x336),_0x3d544e[_0x3d544e[_0x311346(0x2cd)]=0x1b5d]='APPLY_DUPLICATED',_0x3d544e[_0x3d544e['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x311346(0x289),_0x3d544e[_0x3d544e[_0x311346(0x124)]=0x2329]=_0x311346(0x124),_0x3d544e[_0x3d544e[_0x311346(0x204)]=0x232a]=_0x311346(0x204),_0x3d544e[_0x3d544e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x311346(0x344),_0x3d544e[_0x3d544e[_0x311346(0x39f)]=0x232c]=_0x311346(0x39f),_0x3d544e[_0x3d544e[_0x311346(0x147)]=0x232d]=_0x311346(0x147),_0x3d544e[_0x3d544e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x311346(0x240),_0x3d544e[_0x3d544e[_0x311346(0xff)]=0x2712]=_0x311346(0xff),_0x3d544e[_0x3d544e[_0x311346(0x2c5)]=0x2713]=_0x311346(0x2c5),_0x3d544e[_0x3d544e[_0x311346(0xd7)]=0x2714]=_0x311346(0xd7),_0x3d544e[_0x3d544e[_0x311346(0xac)]=-0x1]=_0x311346(0xac),_0x3d544e))(Ii||{}),Q=(_0x2259e5=>(_0x2259e5[_0x2259e5[_0x311346(0x269)]=0x0]='UNIVER_UNKNOWN',_0x2259e5[_0x2259e5[_0x311346(0x28b)]=0x1]=_0x311346(0x28b),_0x2259e5[_0x2259e5[_0x311346(0x21d)]=0x2]=_0x311346(0x21d),_0x2259e5[_0x2259e5[_0x311346(0x12a)]=0x3]=_0x311346(0x12a),_0x2259e5[_0x2259e5[_0x311346(0x295)]=0x4]='UNIVER_PROJECT',_0x2259e5[_0x2259e5[_0x311346(0xac)]=-0x1]=_0x311346(0xac),_0x2259e5))(Q||{}),F=(_0x18c498=>(_0x18c498[_0x18c498['UNKNOWN_CMD']=0x0]=_0x311346(0x2bd),_0x18c498[_0x18c498[_0x311346(0x25d)]=0x1]=_0x311346(0x25d),_0x18c498[_0x18c498[_0x311346(0xbe)]=0x2]=_0x311346(0xbe),_0x18c498[_0x18c498['LEAVE']=0x3]=_0x311346(0x27e),_0x18c498[_0x18c498[_0x311346(0x392)]=0x4]=_0x311346(0x392),_0x18c498[_0x18c498[_0x311346(0xe9)]=0x5]=_0x311346(0xe9),_0x18c498[_0x18c498[_0x311346(0x279)]=0x6]=_0x311346(0x279),_0x18c498[_0x18c498['UNRECOGNIZED']=-0x1]=_0x311346(0xac),_0x18c498))(F||{}),Ee=(_0x542dbb=>(_0x542dbb[_0x542dbb[_0x311346(0x315)]=0x0]=_0x311346(0x315),_0x542dbb[_0x542dbb['OK']=0x1]='OK',_0x542dbb[_0x542dbb[_0x311346(0x38d)]=0x2]=_0x311346(0x38d),_0x542dbb[_0x542dbb['JOIN_ROOM_FULL']=0x3e9]=_0x311346(0x14b),_0x542dbb[_0x542dbb['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x311346(0x399),_0x542dbb[_0x542dbb[_0x311346(0x11b)]=0x3eb]=_0x311346(0x11b),_0x542dbb[_0x542dbb[_0x311346(0x38c)]=0x3ec]=_0x311346(0x38c),_0x542dbb[_0x542dbb[_0x311346(0xac)]=-0x1]=_0x311346(0xac),_0x542dbb))(Ee||{}),Ti=(_0x2ef6f8=>(_0x2ef6f8[_0x2ef6f8[_0x311346(0xbc)]=0x0]=_0x311346(0xbc),_0x2ef6f8[_0x2ef6f8[_0x311346(0x1cc)]=0x1]='HttpImport',_0x2ef6f8[_0x2ef6f8[_0x311346(0x160)]=0x2]=_0x311346(0x160),_0x2ef6f8[_0x2ef6f8[_0x311346(0x2a1)]=0x3]=_0x311346(0x2a1),_0x2ef6f8[_0x2ef6f8[_0x311346(0x272)]=0x4]=_0x311346(0x272),_0x2ef6f8[_0x2ef6f8['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2ef6f8))(Ti||{});const Y=_0x311346(0x1f4),Wn={};var se=(_0x249fd3=>(_0x249fd3[_0x311346(0x2ef)]=_0x311346(0x2ef),_0x249fd3['PERMISSION_DENIED']='PERMISSION_DENIED',_0x249fd3[_0x311346(0xcf)]='CONFLICT',_0x249fd3[_0x311346(0x149)]=_0x311346(0x149),_0x249fd3['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x249fd3[_0x311346(0x31f)]=_0x311346(0x31f),_0x249fd3[_0x311346(0x26b)]='SOCKET_FAILED',_0x249fd3[_0x311346(0xee)]=_0x311346(0xee),_0x249fd3))(se||{});class pe{constructor(){var _0x289a4a=_0x311346;D(this,_0x289a4a(0x322),new _0x8ea31a()),D(this,_0x289a4a(0x22a),this['_event$']['asObservable']());}[_0x311346(0x379)](_0x149987){var _0x33981c=_0x311346;this[_0x33981c(0x322)][_0x33981c(0x2d8)](_0x149987);}}const Gn=_0x479cae(_0x311346(0x288));function Kn(_0xe6786d){var _0x41c57a=_0x311346,_0x3a61ab,_0x556bbc,_0x23d3f6,_0xf8cff5,_0x471497;const _0x3043ee=_0xe6786d[_0x41c57a(0x182)],_0x21b8fa=JSON[_0x41c57a(0xd5)](_0x3043ee);switch(_0x21b8fa[_0x41c57a(0x382)]){case F['HEARTBEAT']:case F[_0x41c57a(0x25d)]:{const _0x4d70a2=_0x21b8fa[_0x41c57a(0x131)];return{..._0x21b8fa,'data':_0x4d70a2,'cmd':_0x21b8fa['cmd']};}case F[_0x41c57a(0xbe)]:{const _0x36b378=_0x21b8fa[_0x41c57a(0x101)];return{..._0x21b8fa,'data':_0x36b378,'cmd':_0x21b8fa[_0x41c57a(0x382)]};}case F[_0x41c57a(0x279)]:{const _0x1fec77=_0x21b8fa['collaMsg'];switch(_0x1fec77['eventID']){case _0x554366['PERMISSION_REJ']:return{..._0x21b8fa,'data':{..._0x1fec77,'data':(_0x3a61ab=_0x1fec77[_0x41c57a(0x346)])==null?void 0x0:_0x3a61ab['cs']},'cmd':_0x21b8fa[_0x41c57a(0x382)]};case _0x554366[_0x41c57a(0x21f)]:return{..._0x21b8fa,'data':{..._0x1fec77,'data':(_0x556bbc=_0x1fec77[_0x41c57a(0x2dd)])==null?void 0x0:_0x556bbc['cs']},'cmd':_0x21b8fa['cmd']};case _0x554366[_0x41c57a(0x17b)]:return{..._0x21b8fa,'data':{..._0x1fec77,'data':(_0x23d3f6=_0x1fec77[_0x41c57a(0x1b3)])==null?void 0x0:_0x23d3f6['cs']},'cmd':_0x21b8fa[_0x41c57a(0x382)]};case _0x554366[_0x41c57a(0x350)]:return{..._0x21b8fa,'data':{..._0x1fec77,'data':(_0xf8cff5=_0x1fec77[_0x41c57a(0x177)])==null?void 0x0:_0xf8cff5['cs']},'cmd':_0x21b8fa[_0x41c57a(0x382)]};case _0x554366[_0x41c57a(0x205)]:return{..._0x21b8fa,'data':{..._0x1fec77,'data':(_0x471497=_0x1fec77[_0x41c57a(0x17e)])==null?void 0x0:_0x471497['cs']},'cmd':_0x21b8fa[_0x41c57a(0x382)]};case _0x554366[_0x41c57a(0x2f0)]:return{..._0x21b8fa,'data':{..._0x1fec77,'data':_0x1fec77[_0x41c57a(0x2f6)]},'cmd':_0x21b8fa[_0x41c57a(0x382)]};case _0x554366[_0x41c57a(0x1ee)]:return{..._0x21b8fa,'data':{..._0x1fec77,'data':_0x1fec77[_0x41c57a(0x305)]},'cmd':_0x21b8fa['cmd']};case _0x554366['USERS_LEAVE']:return{..._0x21b8fa,'data':{..._0x1fec77,'data':_0x1fec77['leaveEvent']},'cmd':_0x21b8fa[_0x41c57a(0x382)]};case _0x554366[_0x41c57a(0x2b8)]:return{..._0x21b8fa,'data':{..._0x1fec77,'data':_0x1fec77['liveShareNewHost']},'cmd':_0x21b8fa[_0x41c57a(0x382)]};case _0x554366['LIVESHARE_FETCH_OPERATIONS']:case _0x554366[_0x41c57a(0xd1)]:return{..._0x21b8fa,'data':{..._0x1fec77,'data':_0x1fec77[_0x41c57a(0x188)]},'cmd':_0x21b8fa[_0x41c57a(0x382)]};case _0x554366[_0x41c57a(0x16b)]:return{..._0x21b8fa,'data':{..._0x1fec77,'data':_0x1fec77[_0x41c57a(0xc3)]},'cmd':_0x21b8fa[_0x41c57a(0x382)]};case _0x554366[_0x41c57a(0x9f)]:return{..._0x21b8fa,'data':_0x1fec77,'cmd':_0x21b8fa[_0x41c57a(0x382)]};case _0x554366[_0x41c57a(0x1d6)]:return{..._0x21b8fa,'data':{..._0x1fec77,'data':_0x1fec77['commentUpdateEvent']},'cmd':_0x21b8fa[_0x41c57a(0x382)]};case _0x554366[_0x41c57a(0x29b)]:return{..._0x21b8fa,'data':{..._0x1fec77,'data':_0x1fec77[_0x41c57a(0x1a6)]},'cmd':_0x21b8fa[_0x41c57a(0x382)]};case _0x554366[_0x41c57a(0x29c)]:return{..._0x21b8fa,'data':{..._0x1fec77,'data':_0x1fec77[_0x41c57a(0x20f)]},'cmd':_0x21b8fa[_0x41c57a(0x382)]};default:return _0x21b8fa;}}default:return _0x21b8fa;}}function zn(_0x41bb9c){var _0x8e8d06=_0x311346;switch(_0x41bb9c[_0x8e8d06(0x382)]){case F['HEARTBEAT']:case F[_0x8e8d06(0x25d)]:return JSON[_0x8e8d06(0x104)]({'cmd':_0x41bb9c[_0x8e8d06(0x382)],'routeKey':_0x41bb9c[_0x8e8d06(0x2ad)]});case F[_0x8e8d06(0x392)]:{let _0x3e958f;switch(_0x41bb9c['data'][_0x8e8d06(0x179)]){case _0x554366[_0x8e8d06(0x2f0)]:{_0x3e958f={'eventID':_0x554366[_0x8e8d06(0x2f0)],'updateCursorEvent':_0x41bb9c[_0x8e8d06(0x182)][_0x8e8d06(0x182)]};break;}case _0x554366[_0x8e8d06(0x311)]:{_0x3e958f={'eventID':_0x554366[_0x8e8d06(0x311)],'leaveEvent':_0x41bb9c[_0x8e8d06(0x182)]['data']};break;}case _0x554366[_0x8e8d06(0x1ee)]:{_0x3e958f={'eventID':_0x554366[_0x8e8d06(0x1ee)],'joinEvent':_0x41bb9c['data'][_0x8e8d06(0x182)]};break;}case _0x554366[_0x8e8d06(0x2b8)]:{_0x3e958f={'eventID':_0x554366['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x41bb9c['data'][_0x8e8d06(0x182)]};break;}case _0x554366['LIVESHARE_OPERATION']:{_0x3e958f={'eventID':_0x554366[_0x8e8d06(0xd1)],'liveShareOperation':_0x41bb9c['data'][_0x8e8d06(0x182)]};break;}case _0x554366['LIVESHARE_TERMINATE']:{_0x3e958f={'eventID':_0x554366[_0x8e8d06(0x16b)],'liveShareTerminate':_0x41bb9c[_0x8e8d06(0x182)][_0x8e8d06(0x182)]};break;}case _0x554366['LIVESHARE_REQUEST_HOST']:{_0x3e958f={'eventID':_0x554366[_0x8e8d06(0x233)],'liveShareRequestHost':_0x41bb9c[_0x8e8d06(0x182)]['data']};break;}case _0x554366[_0x8e8d06(0x2a3)]:{_0x3e958f={'eventID':_0x554366[_0x8e8d06(0x2a3)]};break;}default:_0x3e958f={'eventID':_0x41bb9c[_0x8e8d06(0x182)]['eventID']};}return JSON['stringify']({'cmd':_0x41bb9c[_0x8e8d06(0x382)],'routeKey':_0x41bb9c['routeKey'],'collaMsg':_0x3e958f});}case F['JOIN']:return JSON[_0x8e8d06(0x104)]({'cmd':_0x41bb9c['cmd'],'routeKey':_0x41bb9c[_0x8e8d06(0x2ad)],'joinReq':_0x41bb9c[_0x8e8d06(0x182)]});case F[_0x8e8d06(0x27e)]:return JSON[_0x8e8d06(0x104)]({'cmd':_0x41bb9c['cmd'],'routeKey':_0x41bb9c['routeKey'],'leaveReq':_0x41bb9c[_0x8e8d06(0x182)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Yn=Object['defineProperty'],qn=Object[_0x311346(0x122)],Jn=(_0xea9e74,_0x5ae66c,_0x468fe1,_0x10e7e0)=>{var _0x69f28e=_0x311346;for(var _0x256734=_0x10e7e0>0x1?void 0x0:_0x10e7e0?qn(_0x5ae66c,_0x468fe1):_0x5ae66c,_0x63eab4=_0xea9e74[_0x69f28e(0xa6)]-0x1,_0x3e9dc1;_0x63eab4>=0x0;_0x63eab4--)(_0x3e9dc1=_0xea9e74[_0x63eab4])&&(_0x256734=(_0x10e7e0?_0x3e9dc1(_0x5ae66c,_0x468fe1,_0x256734):_0x3e9dc1(_0x256734))||_0x256734);return _0x10e7e0&&_0x256734&&Yn(_0x5ae66c,_0x468fe1,_0x256734),_0x256734;},we=(_0x411d71,_0x52ea36)=>(_0x227665,_0xca7da5)=>_0x52ea36(_0x227665,_0xca7da5,_0x411d71);const Ci=_0x479cae('univer-pro.collaboration-client-socket-service');function Xn(_0x2617ca,_0x3a5d76,_0x3501b7){var _0x12f8c3=_0x311346;return _0x2617ca+'/'+_0x3a5d76+_0x12f8c3(0x376)+_0x3501b7+_0x12f8c3(0x23e);}let It=class extends _0x3ca25e{constructor(_0x479148,_0x3b74e2,_0x4d5129,_0x33d629,_0x2bb48a){var _0x7422f4=_0x311346;super(),this[_0x7422f4(0xf8)]=_0x479148,this['_http']=_0x3b74e2,this[_0x7422f4(0x267)]=_0x4d5129,this[_0x7422f4(0x383)]=_0x33d629,this[_0x7422f4(0x368)]=_0x2bb48a;}[_0x311346(0x1e9)](_0xb59cf6){var _0x2a8252=_0x311346;const _0x68f64=this[_0x2a8252(0xf8)][_0x2a8252(0xfd)](_0x44d9a2);if(!_0x68f64)throw new Error(_0x2a8252(0x201));const _0x1e4fa4=_0x68f64[_0x2a8252(0x1e9)](_0xb59cf6);if(!_0x1e4fa4)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x30ed0d=new _0xd434d3(),_0x2430ac=new _0x8ea31a();_0x30ed0d['add'](_0x1e4fa4[_0x2a8252(0x378)][_0x2a8252(0x14f)](_0x34193f=>_0x2430ac[_0x2a8252(0x2d8)](_0x34193f))),_0x30ed0d[_0x2a8252(0x2eb)](_0x3845e9(()=>_0x2430ac[_0x2a8252(0x354)]()));const _0x5afd31=new _0x8ea31a();_0x30ed0d[_0x2a8252(0x2eb)](_0x1e4fa4[_0x2a8252(0x342)][_0x2a8252(0x14f)](_0x491103=>_0x5afd31[_0x2a8252(0x2d8)](_0x491103))),_0x30ed0d[_0x2a8252(0x2eb)](_0x3845e9(()=>_0x5afd31[_0x2a8252(0x354)]()));const _0x4362c4=new _0x8ea31a();_0x30ed0d[_0x2a8252(0x2eb)](_0x1e4fa4[_0x2a8252(0x1eb)][_0x2a8252(0x14f)](_0x1bc82a=>{var _0x5184a3=_0x2a8252;const _0x32eae9=Kn(_0x1bc82a);_0x4362c4[_0x5184a3(0x2d8)](_0x32eae9);})),_0x30ed0d[_0x2a8252(0x2eb)](_0x3845e9(()=>_0x4362c4['complete']()));let _0x174a88;const _0x26b90e=()=>{var _0x22d196=_0x2a8252;_0x5afd31['next'](new Event(_0x22d196(0x146))),_0x2430ac[_0x22d196(0x2d8)](new CloseEvent('connection\x20error')),_0x174a88[_0x22d196(0x209)]();};return _0x174a88={'memberID':'','close$':_0x2430ac[_0x2a8252(0x23f)](),'error$':_0x5afd31[_0x2a8252(0x23f)](),'open$':_0x1e4fa4['open$'],'message$':_0x4362c4[_0x2a8252(0x23f)](),'send':_0x183fff=>{var _0xa1fb38=_0x2a8252;if(_0x183fff[_0xa1fb38(0x382)]===F[_0xa1fb38(0x392)]){if(_0x183fff[_0xa1fb38(0x182)][_0xa1fb38(0x179)]===_0x554366[_0xa1fb38(0x1da)]){this[_0xa1fb38(0x158)](_0x174a88,_0x183fff[_0xa1fb38(0x182)])[_0xa1fb38(0x1ac)](_0xb4ad7d=>{this['_logService']['error'](_0xb4ad7d),_0x26b90e();});return;}if(_0x183fff[_0xa1fb38(0x182)][_0xa1fb38(0x179)]===_0x554366[_0xa1fb38(0xab)]){const _0x11b821=_0x183fff[_0xa1fb38(0x182)];this[_0xa1fb38(0x375)](_0x11b821)[_0xa1fb38(0x3a6)](_0x494907=>{var _0x29e2f5=_0xa1fb38;_0x4362c4[_0x29e2f5(0x2d8)]({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x11b821[_0x29e2f5(0x182)][_0x29e2f5(0x389)],'routeType':'','data':{'eventID':_0x554366[_0x29e2f5(0x2fc)],'data':{'changesets':_0x494907}}});})[_0xa1fb38(0x1ac)](_0x4932c9=>{var _0x4dbc23=_0xa1fb38;this['_logService'][_0x4dbc23(0x38e)](_0x4932c9),_0x26b90e();});return;}}_0x1e4fa4[_0xa1fb38(0x337)](zn(_0x183fff));},'close':()=>{var _0x32819b=_0x2a8252;_0x1e4fa4[_0x32819b(0x209)](),_0x30ed0d[_0x32819b(0x2f9)]();}},_0x174a88;}async[_0x311346(0x158)](_0x47f77e,_0x5d0b04){var _0x3aa2fd=_0x311346,_0x4677f4,_0x1db1f1;const {unitType:_0x1c221d,unitID:_0x45d82c,changeset:_0x3b496b}=_0x5d0b04[_0x3aa2fd(0x182)],_0xcb66b6={'unitID':_0x45d82c,'memberID':_0x47f77e[_0x3aa2fd(0x361)],'type':_0x1c221d,'changeset':_0x5d3dc3(_0x3b496b)},_0x74803e=this['_configService']['getConfig'](jn),_0x31cb89=this[_0x3aa2fd(0x267)][_0x3aa2fd(0x276)](Y),_0x4cd05f=Xn((_0x1db1f1=(_0x4677f4=_0x31cb89==null?void 0x0:_0x31cb89[_0x3aa2fd(0x341)])!=null?_0x4677f4:_0x74803e)!=null?_0x1db1f1:Bn,_0x1c221d,_0x45d82c);try{await this[_0x3aa2fd(0xdc)]['post'](_0x4cd05f,{'body':_0xcb66b6});}catch(_0x50277f){throw this[_0x3aa2fd(0x383)]['error'](_0x3aa2fd(0x156),'submit\x20changeset\x20error!'),_0x50277f;}}async[_0x311346(0x375)](_0x1c56ca){var _0x8661df=_0x311346;const {unitID:_0x463af3,from:_0x3095c0,to:_0x179e7e,unitType:_0x49e28c}=_0x1c56ca[_0x8661df(0x182)];return(await this[_0x8661df(0x368)][_0x8661df(0x1c7)]({'metadata':void 0x0},{'unitID':_0x463af3,'type':_0x49e28c,'from':_0x3095c0,'to':_0x179e7e}))[_0x8661df(0x2ae)];}};It=Jn([we(0x0,_0x558686(_0x398a6e)),we(0x1,_0x558686(_0x44812c)),we(0x2,_0xd9deb0),we(0x3,_0x131104),we(0x4,_0x4707d8)],It);const Zn=_0x311346(0x33e);function Qn(_0x2d8341){var _0x306061=_0x311346;return JSON['stringify'](_0x2d8341)[_0x306061(0xa6)];}class bi{constructor(){var _0x1393cb=_0x311346;D(this,_0x1393cb(0x137),new _0x8ea31a()),D(this,_0x1393cb(0xb4),this[_0x1393cb(0x137)]['asObservable']());}['onCommentUpdate'](_0x46ca45){this['_commentUpdate$']['next'](_0x46ca45);}}var es=Object[_0x311346(0x1ad)],ts=Object[_0x311346(0x122)],is=(_0x5d2f2d,_0x30715d,_0x1945af,_0x3836a9)=>{var _0xa4cee1=_0x311346;for(var _0x3c9346=_0x3836a9>0x1?void 0x0:_0x3836a9?ts(_0x30715d,_0x1945af):_0x30715d,_0x5b0f39=_0x5d2f2d[_0xa4cee1(0xa6)]-0x1,_0x52ce63;_0x5b0f39>=0x0;_0x5b0f39--)(_0x52ce63=_0x5d2f2d[_0x5b0f39])&&(_0x3c9346=(_0x3836a9?_0x52ce63(_0x30715d,_0x1945af,_0x3c9346):_0x52ce63(_0x3c9346))||_0x3c9346);return _0x3836a9&&_0x3c9346&&es(_0x30715d,_0x1945af,_0x3c9346),_0x3c9346;},zt=(_0x3ecb77,_0x58f13d)=>(_0x530d8b,_0x4d6a53)=>_0x58f13d(_0x530d8b,_0x4d6a53,_0x3ecb77);let Le=class extends _0x3ca25e{constructor(_0x3084da,_0x13912f){var _0x541812=_0x311346;super(),D(this,_0x541812(0x21a),new Map()),(this[_0x541812(0x129)]=_0x3084da,this[_0x541812(0x116)]=_0x13912f,this[_0x541812(0x2db)](_0x3845e9(_0x171772(this[_0x541812(0x129)][_0x541812(0x217)](_0x284db2[_0x541812(0x21d)])[_0x541812(0x178)](_0x339470(_0x24335b=>_0x24335b[_0x541812(0x2fa)]())),this[_0x541812(0x129)]['getTypeOfUnitDisposed$'](_0x284db2[_0x541812(0x28b)])[_0x541812(0x178)](_0x339470(_0x11789b=>_0x11789b[_0x541812(0x2fa)]())),this[_0x541812(0x129)]['getTypeOfUnitDisposed$'](_0x284db2['UNIVER_SLIDE'])[_0x541812(0x178)](_0x339470(_0x1e740f=>_0x1e740f[_0x541812(0x2fa)]())))[_0x541812(0x14f)](_0x51033f=>this[_0x541812(0x244)](_0x51033f)))));}[_0x311346(0x223)](_0x5b7c83){var _0x362186=_0x311346;this[_0x362186(0x116)][_0x362186(0x223)](_0x5b7c83);}[_0x311346(0x225)](){var _0x2b14ac=_0x311346;return this[_0x2b14ac(0x116)][_0x2b14ac(0x225)]();}[_0x311346(0x133)](_0x2ce849,_0x1e3282){var _0x1db7ca=_0x311346;let _0x59c84b=this[_0x1db7ca(0x21a)][_0x1db7ca(0xfd)](_0x2ce849);_0x59c84b||(_0x59c84b=new ns(),this[_0x1db7ca(0x21a)]['set'](_0x2ce849,_0x59c84b)),_0x59c84b[_0x1db7ca(0x133)](_0x1e3282);}['removeMember'](_0x1b6233,_0x146ae6){const _0x4b5041=this['_roomMembers']['get'](_0x1b6233);_0x4b5041&&_0x4b5041['removeMember'](_0x146ae6);}[_0x311346(0x119)](_0xecd32a){var _0x534fbe=_0x311346;return this[_0x534fbe(0x21a)]['get'](_0xecd32a);}[_0x311346(0xad)](_0x247136,_0x3c1d87){var _0x38659c=_0x311346;const _0x4c33cd=this[_0x38659c(0x21a)]['get'](_0x247136);if(_0x4c33cd)return _0x4c33cd[_0x38659c(0xad)](_0x3c1d87);}[_0x311346(0x244)](_0x41028f){var _0x243db0=_0x311346;const _0x21d845=this[_0x243db0(0x21a)][_0x243db0(0xfd)](_0x41028f);_0x21d845&&(_0x21d845[_0x243db0(0x2f9)](),this[_0x243db0(0x21a)][_0x243db0(0x2dc)](_0x41028f));}[_0x311346(0x2f9)](){var _0x5a7b30=_0x311346;this[_0x5a7b30(0x21a)][_0x5a7b30(0x1b8)](_0xa295a=>_0xa295a[_0x5a7b30(0x2f9)]()),this[_0x5a7b30(0x21a)][_0x5a7b30(0x258)]();}};Le=is([zt(0x0,_0x255145),zt(0x1,_0x558686(_0x22b63b))],Le);class ns extends _0x3ca25e{constructor(){var _0x5e882b=_0x311346;super(...arguments),D(this,_0x5e882b(0xe0),new Map());}[_0x311346(0x2f9)](){var _0x5e1a9f=_0x311346;this[_0x5e1a9f(0xe0)][_0x5e1a9f(0x258)]();}[_0x311346(0x133)](_0x502b4d){var _0x2522ad=_0x311346;this[_0x2522ad(0xe0)][_0x2522ad(0x312)](_0x502b4d[_0x2522ad(0x361)],_0x502b4d);}[_0x311346(0x2d6)](_0xa9996f){var _0x2912c0=_0x311346;this[_0x2912c0(0xe0)][_0x2912c0(0x2dc)](_0xa9996f);}[_0x311346(0xad)](_0x1af9bd){var _0x35652b=_0x311346;return this[_0x35652b(0xe0)][_0x35652b(0xfd)](_0x1af9bd);}['getAllMembers'](){var _0xd7c1df=_0x311346;return Array[_0xd7c1df(0x2ab)](this[_0xd7c1df(0xe0)][_0xd7c1df(0xb3)]());}}var ss=Object[_0x311346(0x1ad)],rs=Object[_0x311346(0x122)],os=(_0x30e08c,_0x22f789,_0x1ef419,_0x5ddc15)=>{var _0x5b9cd3=_0x311346;for(var _0x56f863=_0x5ddc15>0x1?void 0x0:_0x5ddc15?rs(_0x22f789,_0x1ef419):_0x22f789,_0x360739=_0x30e08c[_0x5b9cd3(0xa6)]-0x1,_0x544c2e;_0x360739>=0x0;_0x360739--)(_0x544c2e=_0x30e08c[_0x360739])&&(_0x56f863=(_0x5ddc15?_0x544c2e(_0x22f789,_0x1ef419,_0x56f863):_0x544c2e(_0x56f863))||_0x56f863);return _0x5ddc15&&_0x56f863&&ss(_0x22f789,_0x1ef419,_0x56f863),_0x56f863;},ge=(_0x51b822,_0x833b22)=>(_0x151de5,_0x3a8488)=>_0x833b22(_0x151de5,_0x3a8488,_0x51b822),Ie=(_0x360e4f=>(_0x360e4f[_0x360e4f['IDLE']=0x0]='IDLE',_0x360e4f[_0x360e4f[_0x311346(0x2b2)]=0x1]=_0x311346(0x2b2),_0x360e4f[_0x360e4f['OFFLINE']=0x2]=_0x311346(0x18e),_0x360e4f[_0x360e4f['ONLINE']=0x3]=_0x311346(0x27f),_0x360e4f))(Ie||{});const Yt={[Ee['FAIL']]:_0x311346(0x12c),[Ee[_0x311346(0x14b)]]:'session.room-full',[Ee[_0x311346(0x399)]]:_0x311346(0x15b),[Ee[_0x311346(0x11b)]]:_0x311346(0x2b4),[Ee[_0x311346(0x38c)]]:_0x311346(0x1bf)};let Tt=class extends _0xb2416e{constructor(_0x5b3dfc,_0x57ba70,_0x2f9aa2,_0x2365c3,_0x5d9b21,_0x418d04,_0x43ec07,_0xf6a55c,_0x4fcaca){var _0x36b8c4=_0x311346;super(),D(this,'_sessionStatus$',new _0x36e308(0x0)),D(this,_0x36b8c4(0x2a9),this['_sessionStatus$'][_0x36b8c4(0x23f)]()),D(this,_0x36b8c4(0x322),new _0x8ea31a()),D(this,_0x36b8c4(0x22a),this[_0x36b8c4(0x322)][_0x36b8c4(0x23f)]()),D(this,_0x36b8c4(0x175)),D(this,_0x36b8c4(0x19f)),D(this,_0x36b8c4(0x326)),D(this,_0x36b8c4(0x1ed),!0x1),D(this,_0x36b8c4(0x391),null),(this['_unitID']=_0x5b3dfc,this[_0x36b8c4(0x383)]=_0x2f9aa2,this['_configService']=_0x2365c3,this[_0x36b8c4(0x2c3)]=_0x5d9b21,this[_0x36b8c4(0x2b9)]=_0x418d04,this[_0x36b8c4(0x370)]=_0x43ec07,this[_0x36b8c4(0x19d)]=_0xf6a55c,this[_0x36b8c4(0x381)]=_0x4fcaca,this[_0x36b8c4(0x1ed)]=!!this[_0x36b8c4(0x381)],_0x57ba70[_0x36b8c4(0x178)](_0x193c85(this['dispose$']))[_0x36b8c4(0x14f)](_0x549149=>{var _0xda3a69=_0x36b8c4,_0x4253d7;typeof _0x549149>'u'||(this[_0xda3a69(0x175)]=_0x549149,_0x549149?(this[_0xda3a69(0x111)](_0x549149),this[_0xda3a69(0x19f)]=_0x549149[_0xda3a69(0x1eb)][_0xda3a69(0x14f)](_0x4117d1=>{var _0x387595=_0xda3a69;_0x4117d1['routeKey']===this[_0x387595(0x303)]&&this[_0x387595(0x2ce)](_0x4117d1);})):(this[_0xda3a69(0x349)](),this[_0xda3a69(0x39e)]['next'](0x2),(_0x4253d7=this[_0xda3a69(0x19f)])==null||_0x4253d7[_0xda3a69(0xda)](),this[_0xda3a69(0x19f)]=null));}));}get[_0x311346(0x1c6)](){var _0x3a4799=_0x311346;return this[_0x3a4799(0x39e)][_0x3a4799(0x2ba)]();}['getMemberID'](){var _0x32a880=_0x311346,_0x57f411,_0x3d1602;return(_0x3d1602=(_0x57f411=this[_0x32a880(0x175)])==null?void 0x0:_0x57f411['memberID'])!=null?_0x3d1602:null;}[_0x311346(0x2f9)](){var _0x4688c7=_0x311346;super[_0x4688c7(0x2f9)](),this[_0x4688c7(0xc4)][_0x4688c7(0x2d8)](),this[_0x4688c7(0xc4)]['complete']();}[_0x311346(0x209)](){var _0x2156e3=_0x311346,_0x423b01,_0x387aed;this[_0x2156e3(0x349)](),(_0x423b01=this['_socket'])==null||_0x423b01[_0x2156e3(0x337)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x2156e3(0x303)]}}),(_0x387aed=this['_socket'])==null||_0x387aed[_0x2156e3(0x209)](),this[_0x2156e3(0x322)][_0x2156e3(0x354)](),this[_0x2156e3(0x39e)]['complete'](),this[_0x2156e3(0x2f9)]();}['_onCombEvent'](_0x3fff8a){var _0x1a921c=_0x311346;_0x3fff8a[_0x1a921c(0x382)]===F[_0x1a921c(0xbe)]?this[_0x1a921c(0xfa)](_0x3fff8a):_0x3fff8a[_0x1a921c(0x382)]===F[_0x1a921c(0x279)]&&this[_0x1a921c(0xc1)](_0x3fff8a);}[_0x311346(0x111)](_0x5831b2){var _0x466bc2=_0x311346;this[_0x466bc2(0x39e)][_0x466bc2(0x2d8)](0x1),_0x5831b2[_0x466bc2(0x337)]({'cmd':F[_0x466bc2(0xbe)],'routeKey':this[_0x466bc2(0x303)],'routeType':'','data':{'rooms':[{'roomID':this[_0x466bc2(0x303)]}]}});}['_onJoinRoomEvent'](_0x3dec91){var _0x640485=_0x311346,_0x4aca6f;if(_0x3dec91[_0x640485(0x128)]in Yt){this[_0x640485(0x19d)][_0x640485(0x379)]({'id':se[_0x640485(0x353)],'data':Yt[_0x3dec91['code']]}),this[_0x640485(0x39e)][_0x640485(0x2d8)](0x2);return;}this[_0x640485(0x39e)][_0x640485(0x2d8)](0x3);const _0xec14ce=(_0x4aca6f=_0x3dec91[_0x640485(0x182)][_0x640485(0x10a)][this[_0x640485(0x303)]])==null?void 0x0:_0x4aca6f[_0x640485(0x316)];_0xec14ce&&_0xec14ce[_0x640485(0x1b8)](_0x156c7b=>this[_0x640485(0x2b9)][_0x640485(0x133)](this['_unitID'],_0x156c7b));}['_onRecvEvent'](_0x3f4172){var _0x3363fc=_0x311346;try{const _0x4796b6=_0x3f4172[_0x3363fc(0x182)];switch(_0x4796b6['eventID']){case _0x554366[_0x3363fc(0x1ee)]:this[_0x3363fc(0x320)](_0x4796b6),this[_0x3363fc(0x322)][_0x3363fc(0x2d8)](_0x4796b6);break;case _0x554366[_0x3363fc(0x311)]:this['_onUserLeave'](_0x4796b6),this['_event$'][_0x3363fc(0x2d8)](_0x4796b6);break;case _0x554366[_0x3363fc(0x21f)]:case _0x554366[_0x3363fc(0x205)]:this[_0x3363fc(0x2e5)](),this[_0x3363fc(0x23c)](),this[_0x3363fc(0x322)][_0x3363fc(0x2d8)](_0x4796b6);break;case _0x554366[_0x3363fc(0x9f)]:this[_0x3363fc(0x383)][_0x3363fc(0x38e)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x4796b6)),this[_0x3363fc(0x322)][_0x3363fc(0x2d8)](_0x4796b6);break;case _0x554366[_0x3363fc(0x1d6)]:this[_0x3363fc(0x370)][_0x3363fc(0x395)](_0x4796b6[_0x3363fc(0x182)]),this[_0x3363fc(0x322)][_0x3363fc(0x2d8)](_0x4796b6);break;default:this[_0x3363fc(0x322)][_0x3363fc(0x2d8)](_0x4796b6);}}catch(_0x44814b){this[_0x3363fc(0x383)][_0x3363fc(0x38e)](_0x44814b,_0x3f4172);}}[_0x311346(0x320)](_0x55761b){var _0x5f543f=_0x311346;this[_0x5f543f(0x2b9)][_0x5f543f(0x133)](this['_unitID'],_0x55761b[_0x5f543f(0x182)]);}[_0x311346(0x203)](_0x2facc8){var _0x4fa7e2=_0x311346;this[_0x4fa7e2(0x2b9)][_0x4fa7e2(0x2d6)](this[_0x4fa7e2(0x303)],_0x2facc8[_0x4fa7e2(0x182)]['memberID']);}async[_0x311346(0x337)](_0x1fbbd7,_0x36e8ce){var _0x317c51=_0x311346;if(this[_0x317c51(0x1c6)]!==0x3||!this[_0x317c51(0x175)])throw new Error(_0x317c51(0x115));try{_0x1fbbd7[_0x317c51(0x179)]===_0x554366[_0x317c51(0x1da)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x317c51(0x1a2)](_0x1fbbd7)),this[_0x317c51(0x175)][_0x317c51(0x337)]({'cmd':F['INGEST'],'routeKey':_0x36e8ce,'routeType':'','data':_0x1fbbd7});}catch(_0x27e94e){this[_0x317c51(0x383)]['error'](_0x27e94e);}}['_scheduleCollaborationTimeoutTimer'](){var _0x15d2f0=_0x311346,_0x46828e;this[_0x15d2f0(0x326)]=setTimeout(()=>{var _0x571fb1=_0x15d2f0;this[_0x571fb1(0x326)]=null,this[_0x571fb1(0x19d)]['emitEvent']({'id':se[_0x571fb1(0xee)]});},(_0x46828e=this['_configService'][_0x15d2f0(0x276)](Si))!=null?_0x46828e:Ei);}['_clearCollaborationTimeoutTimer'](){var _0x2c6fe1=_0x311346;this[_0x2c6fe1(0x326)]&&(clearTimeout(this[_0x2c6fe1(0x326)]),this['_collaborationTimeoutTimer']=null);}[_0x311346(0x1a2)](_0x181e94){var _0x34cc23=_0x311346;if(!this['_shouldReportTelemetry'])return;const {data:_0x1bb40b}=_0x181e94,{unitID:_0x2dc2f1,changeset:_0x1b2045}=_0x1bb40b,{mutations:_0x339fed,type:_0x11a39c}=_0x1b2045;this[_0x34cc23(0x391)]={'unitId':_0x2dc2f1,'type':_0x11a39c,'startTime':performance[_0x34cc23(0x1d4)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x339fed)};}[_0x311346(0x2e5)](){var _0x5a6868=_0x311346;if(this[_0x5a6868(0x1ed)]){if(!this[_0x5a6868(0x391)]){this[_0x5a6868(0x383)]['error'](_0x5a6868(0x156),_0x5a6868(0x34f));return;}this['_telemetryInfo']['stopTime']=performance[_0x5a6868(0x1d4)](),this[_0x5a6868(0x391)]['duration']=this[_0x5a6868(0x391)][_0x5a6868(0x2f1)]-this['_telemetryInfo'][_0x5a6868(0x1ca)],this[_0x5a6868(0x381)][_0x5a6868(0x2e6)](Zn,this[_0x5a6868(0x391)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x515962=_0x311346;this[_0x515962(0x391)]=null;}};Tt=os([ge(0x2,_0x131104),ge(0x3,_0xd9deb0),ge(0x4,_0x558686(_0x171710)),ge(0x5,_0x558686(Le)),ge(0x6,_0x558686(bi)),ge(0x7,_0x558686(pe)),ge(0x8,_0x36723f(_0x46ba93))],Tt);var as=Object['defineProperty'],cs=Object['getOwnPropertyDescriptor'],hs=(_0x322848,_0x36a10c,_0x2881ad,_0x29e1b5)=>{var _0x2b054f=_0x311346;for(var _0x2dba73=_0x29e1b5>0x1?void 0x0:_0x29e1b5?cs(_0x36a10c,_0x2881ad):_0x36a10c,_0x46659a=_0x322848[_0x2b054f(0xa6)]-0x1,_0x207261;_0x46659a>=0x0;_0x46659a--)(_0x207261=_0x322848[_0x46659a])&&(_0x2dba73=(_0x29e1b5?_0x207261(_0x36a10c,_0x2881ad,_0x2dba73):_0x207261(_0x2dba73))||_0x2dba73);return _0x29e1b5&&_0x2dba73&&as(_0x36a10c,_0x2881ad,_0x2dba73),_0x2dba73;},me=(_0x4d6677,_0x21e231)=>(_0x4737f3,_0x3e3678)=>_0x21e231(_0x4737f3,_0x3e3678,_0x4d6677);let Me=class extends _0x3ca25e{constructor(_0x28a6bb,_0x2f2e3d,_0x46d45d,_0x16cb72,_0x5f51f3,_0x4e3aa4,_0x3beab0){var _0x553d28=_0x311346;super(),D(this,_0x553d28(0x2c2),new _0x36e308(void 0x0)),D(this,'socket$',this[_0x553d28(0x2c2)][_0x553d28(0x23f)]()),D(this,_0x553d28(0x292),null),D(this,'_sessions',new Map()),D(this,_0x553d28(0x2a7),new _0x36e308(Ie['IDLE'])),D(this,_0x553d28(0xb1),this['_status$'][_0x553d28(0x23f)]()),D(this,_0x553d28(0x2f2),!0x1),D(this,_0x553d28(0x32c)),D(this,_0x553d28(0x335),0x0),D(this,_0x553d28(0x21c)),D(this,'_timeoutTimer'),(this[_0x553d28(0xf8)]=_0x28a6bb,this[_0x553d28(0x383)]=_0x2f2e3d,this['_configService']=_0x46d45d,this['_socketService']=_0x16cb72,this[_0x553d28(0x2df)]=_0x5f51f3,this[_0x553d28(0x19d)]=_0x4e3aa4,this['_networkConditionService']=_0x3beab0,this[_0x553d28(0xca)]());}get[_0x311346(0x175)](){var _0xebbf25=_0x311346;return this[_0xebbf25(0x2c2)]['getValue']();}[_0x311346(0xca)](){var _0x5e2943=_0x311346;this[_0x5e2943(0xc7)]&&this[_0x5e2943(0x2db)](this[_0x5e2943(0xc7)][_0x5e2943(0x232)][_0x5e2943(0x14f)](_0x55d653=>{var _0x502348=_0x5e2943;_0x55d653&&!this[_0x502348(0x175)]&&this['reconnect'](),_0x55d653||this[_0x502348(0x291)]();}));}[_0x311346(0x2f9)](){var _0x599547=_0x311346;super['dispose'](),this[_0x599547(0xde)]['forEach'](_0x37dc75=>_0x37dc75['dispose']()),this['_sessions'][_0x599547(0x258)](),this[_0x599547(0x2a7)][_0x599547(0x354)]();}async[_0x311346(0x1b5)](_0x208a21){var _0x25f048=_0x311346;if(this[_0x25f048(0xde)][_0x25f048(0x293)](_0x208a21))return this['_sessions'][_0x25f048(0xfd)](_0x208a21);this[_0x25f048(0x28d)]();const _0x499428=this[_0x25f048(0xf8)][_0x25f048(0xa0)](Tt,_0x208a21,this[_0x25f048(0x2c2)][_0x25f048(0x23f)]());return this[_0x25f048(0xde)][_0x25f048(0x312)](_0x208a21,_0x499428),_0x499428;}[_0x311346(0x168)](_0x1a2c95){var _0x1265ff=_0x311346,_0x19db53;const _0x4524a6=this[_0x1265ff(0xde)]['get'](_0x1a2c95);_0x4524a6&&(this[_0x1265ff(0xde)][_0x1265ff(0x2dc)](_0x1a2c95),_0x4524a6[_0x1265ff(0x209)]()),this[_0x1265ff(0xde)][_0x1265ff(0x163)]||(_0x19db53=this[_0x1265ff(0x175)])==null||_0x19db53[_0x1265ff(0x209)]();}['reconnect'](){var _0x38a2d9=_0x311346;this['_retryCount']=0x0,this[_0x38a2d9(0x32c)]!=null&&(clearTimeout(this[_0x38a2d9(0x32c)]),this[_0x38a2d9(0x32c)]=null),this['_tryReconnect']();}async['_getSessionTicket'](){var _0x521890=_0x311346,_0x35daf2,_0x41a055,_0x4f2672;const _0x13b749=this[_0x521890(0x267)]['getConfig'](Y),_0x342490=(_0x35daf2=_0x13b749==null?void 0x0:_0x13b749[_0x521890(0x18d)])!=null?_0x35daf2:xn;return(_0x4f2672=(_0x41a055=(await this[_0x521890(0x2df)][_0x521890(0xfd)](_0x342490,{'headers':{'Content-Type':_0x521890(0x197)}}))['body'])==null?void 0x0:_0x41a055[_0x521890(0x257)])!=null?_0x4f2672:'';}[_0x311346(0x2f5)](_0x596aa2){var _0x10da8e=_0x311346,_0x5407d2,_0x45a659;const _0x5414cd=this[_0x10da8e(0x267)][_0x10da8e(0x276)](Un),_0x5b5498=this['_configService'][_0x10da8e(0x276)](Y),_0x29c76e=(_0x45a659=(_0x5407d2=_0x5b5498==null?void 0x0:_0x5b5498[_0x10da8e(0x329)])!=null?_0x5407d2:_0x5414cd)!=null?_0x45a659:An,_0x2d2f94=typeof window>'u'?new URL(_0x29c76e):new URL(_0x29c76e,window['location']['origin']);return _0x2d2f94[_0x10da8e(0x1c8)][_0x10da8e(0x312)]('sessionTicket',_0x596aa2),_0x2d2f94[_0x10da8e(0x109)]();}async['_createSocket'](){var _0x5bc39e=_0x311346;const _0x3e42de=await this[_0x5bc39e(0x1ef)](),_0x5319ce=this['_createSocketURL'](_0x3e42de),_0x161730=this[_0x5bc39e(0x273)][_0x5bc39e(0x1e9)](_0x5319ce);return this[_0x5bc39e(0x292)]=_0x161730,_0x161730;}async[_0x311346(0x28d)](){var _0x5ad90e=_0x311346,_0x110f81,_0x35e790;try{const _0x1bbfe1=(_0x35e790=(_0x110f81=this[_0x5ad90e(0x175)])!=null?_0x110f81:this[_0x5ad90e(0x292)])!=null?_0x35e790:await this[_0x5ad90e(0x328)]();if(_0x1bbfe1){const _0x30dab5=_0x1bbfe1['send'];_0x1bbfe1[_0x5ad90e(0x337)]=_0x4ee6c1=>(this[_0x5ad90e(0x2ff)](),_0x30dab5[_0x5ad90e(0x221)](_0x1bbfe1,[_0x4ee6c1])),_0x1bbfe1[_0x5ad90e(0x1eb)]['subscribe'](_0x4f366c=>this[_0x5ad90e(0x388)](_0x1bbfe1,_0x4f366c)),_0x1bbfe1[_0x5ad90e(0x342)][_0x5ad90e(0x178)](_0x30258e(0x1))[_0x5ad90e(0x14f)](_0x501108=>this[_0x5ad90e(0x383)][_0x5ad90e(0x38e)](_0x5ad90e(0x248),_0x501108)),_0x1bbfe1[_0x5ad90e(0x27c)][_0x5ad90e(0x178)](_0x30258e(0x1))[_0x5ad90e(0x14f)](()=>{var _0x474b56=_0x5ad90e;this[_0x474b56(0x19a)](_0x1bbfe1);}),_0x1bbfe1[_0x5ad90e(0x378)][_0x5ad90e(0x178)](_0x30258e(0x1))['subscribe'](_0x43cde1=>{var _0x4c68d=_0x5ad90e;this[_0x4c68d(0x383)][_0x4c68d(0xf7)](_0x4c68d(0x22e),_0x4c68d(0x30d),_0x43cde1),this[_0x4c68d(0x19c)]();});}}catch(_0x1f4710){this[_0x5ad90e(0x383)][_0x5ad90e(0x38e)](_0x1f4710),this['_onConnectionFailed']();}}[_0x311346(0x19a)](_0x4e09d9){var _0x3c052c=_0x311346;this[_0x3c052c(0x383)]['debug'](_0x3c052c(0x22e),_0x3c052c(0x23d)),_0x4e09d9[_0x3c052c(0x337)]({'cmd':F[_0x3c052c(0x25d)]}),this[_0x3c052c(0x2ff)]();}['_onOffline'](){var _0x3887b6=_0x311346;this[_0x3887b6(0x2f2)]=!0x1,this[_0x3887b6(0x292)]=null,this['_status$'][_0x3887b6(0x2d8)](Ie['OFFLINE']),this[_0x3887b6(0x2c2)][_0x3887b6(0x2d8)](null),this[_0x3887b6(0x30a)](),this[_0x3887b6(0xb5)]();}[_0x311346(0x19c)](){var _0x440c37=_0x311346,_0x1800f3;this['_onOffline'](),this[_0x440c37(0x335)]<((_0x1800f3=this['_configService']['getConfig'](Hn))!=null?_0x1800f3:kn)?(this[_0x440c37(0x19d)][_0x440c37(0x379)]({'id':se[_0x440c37(0x31f)]}),this[_0x440c37(0x219)]()):this[_0x440c37(0x19d)][_0x440c37(0x379)]({'id':se['SOCKET_FAILED']});}[_0x311346(0x219)](){var _0x6ee55e=_0x311346,_0x5f5cca;const _0x315c9d=this['_retryCount'],_0x1e3805=this['_configService']['getConfig'](Y),_0x1d9685=_0x315c9d===0x0?0x0:((_0x5f5cca=_0x1e3805==null?void 0x0:_0x1e3805[_0x6ee55e(0x362)])!=null?_0x5f5cca:$n)*0x2**_0x315c9d;this[_0x6ee55e(0x32c)]=setTimeout(()=>{var _0x1b04a9=_0x6ee55e;clearTimeout(this['_retryConnectingTimer']),this[_0x1b04a9(0x32c)]=null,this[_0x1b04a9(0x28d)]();},_0x1d9685),this[_0x6ee55e(0x335)]+=0x1;}['_onMessage'](_0x47f64d,_0x5d14cf){var _0x28fc15=_0x311346;const {cmd:_0x424475}=_0x5d14cf;_0x424475===F['HELLO']&&!this['_socketReady']&&(_0x47f64d[_0x28fc15(0x361)]=_0x5d14cf[_0x28fc15(0x182)]['memberID'],this[_0x28fc15(0x2c2)]['next'](_0x47f64d),this[_0x28fc15(0x2a7)][_0x28fc15(0x2d8)](Ie[_0x28fc15(0x27f)]),this['_socketReady']=!0x0,this[_0x28fc15(0x292)]=null),_0x424475===F[_0x28fc15(0xe9)]&&this[_0x28fc15(0x30a)](),this[_0x28fc15(0x2ff)]();}[_0x311346(0x2ff)](){var _0xe2aaf=_0x311346,_0x5bd09f;this[_0xe2aaf(0xb5)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0xe2aaf(0xf1)](),(_0x5bd09f=this[_0xe2aaf(0x267)][_0xe2aaf(0x276)](Ln))!=null?_0x5bd09f:Mn);}[_0x311346(0xf1)](){var _0x3b949d=_0x311346;this['_socket']['send']({'cmd':F[_0x3b949d(0xe9)]}),this['_waitForHeartbeatResponse']();}[_0x311346(0x154)](){var _0x386dc4=_0x311346,_0x46af47;this['_timeoutTimer']=setTimeout(()=>this[_0x386dc4(0x19c)](),(_0x46af47=this['_configService'][_0x386dc4(0x276)](Si))!=null?_0x46af47:Ei);}['_clearHeartbeatTimer'](){var _0x4e3331=_0x311346;this[_0x4e3331(0x21c)]!=null&&(clearTimeout(this[_0x4e3331(0x21c)]),this[_0x4e3331(0x21c)]=null);}[_0x311346(0x30a)](){var _0x1c1280=_0x311346;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1c1280(0x10c)]),this[_0x1c1280(0x10c)]=null);}};Me=hs([me(0x0,_0x558686(_0x398a6e)),me(0x1,_0x131104),me(0x2,_0xd9deb0),me(0x3,Ci),me(0x4,_0x558686(_0x44812c)),me(0x5,_0x558686(pe)),me(0x6,_0x36723f(Gn))],Me);const V=[];for(let n=0x0;n<0x100;++n)V[_0x311346(0x280)]((n+0x100)[_0x311346(0x109)](0x10)['slice'](0x1));function _s(_0x4d0192,_0x4e31e7=0x0){var _0x530c4c=_0x311346;return(V[_0x4d0192[_0x4e31e7+0x0]]+V[_0x4d0192[_0x4e31e7+0x1]]+V[_0x4d0192[_0x4e31e7+0x2]]+V[_0x4d0192[_0x4e31e7+0x3]]+'-'+V[_0x4d0192[_0x4e31e7+0x4]]+V[_0x4d0192[_0x4e31e7+0x5]]+'-'+V[_0x4d0192[_0x4e31e7+0x6]]+V[_0x4d0192[_0x4e31e7+0x7]]+'-'+V[_0x4d0192[_0x4e31e7+0x8]]+V[_0x4d0192[_0x4e31e7+0x9]]+'-'+V[_0x4d0192[_0x4e31e7+0xa]]+V[_0x4d0192[_0x4e31e7+0xb]]+V[_0x4d0192[_0x4e31e7+0xc]]+V[_0x4d0192[_0x4e31e7+0xd]]+V[_0x4d0192[_0x4e31e7+0xe]]+V[_0x4d0192[_0x4e31e7+0xf]])[_0x530c4c(0x242)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x2e87e2=_0x311346;if(!dt){if(typeof crypto>'u'||!crypto[_0x2e87e2(0x2c9)])throw new Error(_0x2e87e2(0x2c7));dt=crypto['getRandomValues']['bind'](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x311346(0x239)]&&crypto['randomUUID'][_0x311346(0x36b)](crypto),qt={'randomUUID':ds};function fs(_0x27028a,_0x563357,_0xfe39d9){var _0x68cea7=_0x311346;if(qt['randomUUID']&&!_0x563357&&!_0x27028a)return qt[_0x68cea7(0x239)]();_0x27028a=_0x27028a||{};const _0x2b61bb=_0x27028a[_0x68cea7(0x2b0)]||(_0x27028a[_0x68cea7(0xa1)]||us)();return _0x2b61bb[0x6]=_0x2b61bb[0x6]&0xf|0x40,_0x2b61bb[0x8]=_0x2b61bb[0x8]&0x3f|0x80,_s(_0x2b61bb);}const X=_0x479cae('collaboration-client.local-cache-service');function uo(_0x476c7d){return'unit-cache-'+_0x476c7d;}var vs=Object[_0x311346(0x1ad)],ps=Object['getOwnPropertyDescriptor'],gs=(_0x1f060b,_0x349b48,_0x52ccf1,_0x4244a3)=>{var _0x590ea4=_0x311346;for(var _0x66f984=_0x4244a3>0x1?void 0x0:_0x4244a3?ps(_0x349b48,_0x52ccf1):_0x349b48,_0x53f574=_0x1f060b[_0x590ea4(0xa6)]-0x1,_0x4ede4c;_0x53f574>=0x0;_0x53f574--)(_0x4ede4c=_0x1f060b[_0x53f574])&&(_0x66f984=(_0x4244a3?_0x4ede4c(_0x349b48,_0x52ccf1,_0x66f984):_0x4ede4c(_0x66f984))||_0x66f984);return _0x4244a3&&_0x66f984&&vs(_0x349b48,_0x52ccf1,_0x66f984),_0x66f984;},ft=(_0x325b0d,_0x1cc2fb)=>(_0x2cdc32,_0x2e8fd5)=>_0x1cc2fb(_0x2cdc32,_0x2e8fd5,_0x325b0d);function ms(_0x317364){var _0x59dbcc=_0x311346;const {unitID:_0x3fb33b,mutations:_0x5d566b}=_0x317364;return{'unitId':_0x3fb33b,'subUnitId':_0x5d566b[0x0][_0x59dbcc(0x13d)][_0x59dbcc(0x212)]};}let nt=class{constructor(_0x44cdd0,_0xdd1ac7,_0x1fd1c9){var _0x487413=_0x311346;this['_injector']=_0x44cdd0,this['_transformService']=_0xdd1ac7,this[_0x487413(0xce)]=_0x1fd1c9;}[_0x311346(0x33a)](_0x44b2a1){var _0x116d4e=_0x311346,_0x3e7495,_0x309d92,_0x17e7bd,_0xea230e;const _0x1a24da=this[_0x116d4e(0xf8)][_0x116d4e(0xfd)](_0x4ced8b),{unitId:_0x3ff9d3,subUnitId:_0x3a8d0a}=ms(_0x44b2a1),_0x13d181=_0x1a24da==null?void 0x0:_0x1a24da['getWorkbookSelections'](_0x3ff9d3)['getCurrentSelections'](),_0x254d31=(_0x309d92=(_0x3e7495=this[_0x116d4e(0xce)][_0x116d4e(0x357)](_0x3ff9d3))==null?void 0x0:_0x3e7495[_0x116d4e(0x2b3)]())==null?void 0x0:_0x309d92[_0x116d4e(0xbb)]();if(_0x13d181[_0x116d4e(0xa6)]===0x0||!_0x3ff9d3||!_0x3a8d0a)return;const _0x5ce233=[{'id':_0x89b5a1['id'],'params':{'unitId':_0x3ff9d3,'subUnitId':_0x254d31,'selections':_0x11538a['deepClone'](_0x13d181)}}],_0x355c70=this[_0x116d4e(0xbf)]['transformMutationsWithChangeset'](_0x44b2a1,_0x5ce233);if(!_0x25344d(_0x355c70))throw _0x355c70[_0x116d4e(0x38e)];const _0x231bbc=(_0xea230e=(_0x17e7bd=_0x355c70[_0x116d4e(0x3a0)][0x0])==null?void 0x0:_0x17e7bd['params'])==null?void 0x0:_0xea230e[_0x116d4e(0x2a6)];if(Array['isArray'](_0x231bbc)&&_0x231bbc[_0x116d4e(0xa6)]){if(_0x231bbc[_0x116d4e(0xa6)]===_0x5ce233[0x0][_0x116d4e(0x13d)]['selections']['length']&&_0x231bbc[_0x116d4e(0x380)]((_0x1d3ce5,_0x49f2fa)=>_0x53d542[_0x116d4e(0x334)](_0x1d3ce5[_0x116d4e(0x246)],_0x5ce233[0x0][_0x116d4e(0x13d)]['selections'][_0x49f2fa]['range'])))return;this['_injector'][_0x116d4e(0xfd)](_0x288e4d)[_0x116d4e(0x118)](_0x89b5a1['id'],{'unitId':_0x3ff9d3,'subUnitId':_0x254d31,'selections':_0x231bbc});}}};nt=gs([ft(0x0,_0x558686(_0x398a6e)),ft(0x1,_0x93f0ad),ft(0x2,_0x255145)],nt);const _t=_0x479cae('univer-pro.collaboration-client.single-active-unit-service');var Ri=(_0x21df5d=>(_0x21df5d[_0x21df5d['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x311346(0x2de),_0x21df5d[_0x21df5d['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x21df5d))(Ri||{});const Ss=new Set([_0x47eccd['id']]);function Jt(_0x27598a,_0x1f730a,_0xfeb1b3,_0x5222ad,_0x30eb92){var _0x5e22a2=_0x311346,_0x3cbc97,_0x25e907,_0x509026,_0x4422d5;const _0x19cd08=[];for(const _0x208ca9 of _0x27598a)if(Ss[_0x5e22a2(0x293)](_0x208ca9['id'])){if(_0x19cd08[_0x5e22a2(0xa6)]>0x0)break;_0x19cd08[_0x5e22a2(0x280)](_0x208ca9);break;}else _0x19cd08[_0x5e22a2(0x280)](_0x208ca9);const _0x5b436c=(_0x25e907=(_0x3cbc97=_0x30eb92[_0x5e22a2(0x225)]())==null?void 0x0:_0x3cbc97[_0x5e22a2(0xb2)])!=null?_0x25e907:'unknown',_0x51ac98=(_0x4422d5=(_0x509026=_0x30eb92[_0x5e22a2(0x225)]())==null?void 0x0:_0x509026[_0x5e22a2(0x361)])!=null?_0x4422d5:_0x5e22a2(0x1dd);return{'changeset':{'unitID':_0x1f730a,'type':_0x432b39(_0xfeb1b3[_0x5e22a2(0x345)](_0x1f730a)),'baseRev':_0x5222ad[_0x5e22a2(0x20c)](_0x1f730a),'revision':0x0,'userID':_0x5b436c,'memberID':_0x51ac98,'mutations':_0x19cd08},'pendingMutations':_0x27598a[_0x5e22a2(0x27b)](_0x19cd08['length'])};}function Es(_0x371900,_0x5c217f,_0x2574c7,_0x392650,_0x122110){var _0x214aa5=_0x311346,_0x24a202,_0x2ef435,_0x170157,_0x58f964;const _0x515d5e=[_0x371900[_0x214aa5(0x1d0)]((_0x318a29,_0x41f5a2)=>{var _0x47b2e3=_0x214aa5,_0x2390da;const {id:_0x595916}=_0x318a29,{id:_0x669b1b,type:_0xee24aa}=_0x41f5a2,_0x262107=(_0x2390da=_0x318a29[_0x47b2e3(0x13d)])!=null?_0x2390da:{'actions':null},_0x1f1faf=_0x41f5a2[_0x47b2e3(0x13d)];if(_0x595916&&_0x595916!==_0x669b1b)throw new Error(_0x47b2e3(0xa4)+_0x595916+_0x47b2e3(0x13c)+_0x669b1b+'.');return{..._0x318a29,'id':_0x669b1b,'type':_0xee24aa,'params':{'unitId':_0x1f1faf[_0x47b2e3(0x162)],'textRanges':_0x1f1faf[_0x47b2e3(0x302)],'actions':_0x57a588[_0x47b2e3(0x120)](_0x262107[_0x47b2e3(0x347)],_0x1f1faf[_0x47b2e3(0x347)])}};},{})],_0x953ef5=(_0x2ef435=(_0x24a202=_0x122110[_0x214aa5(0x225)]())==null?void 0x0:_0x24a202[_0x214aa5(0xb2)])!=null?_0x2ef435:_0x214aa5(0x1dd),_0x131992=(_0x58f964=(_0x170157=_0x122110['getCurrentUser']())==null?void 0x0:_0x170157['memberID'])!=null?_0x58f964:'unknown';return{'changeset':{'unitID':_0x5c217f,'type':_0x432b39(_0x2574c7[_0x214aa5(0x345)](_0x5c217f)),'baseRev':_0x392650[_0x214aa5(0x20c)](_0x5c217f),'revision':0x0,'userID':_0x953ef5,'memberID':_0x131992,'mutations':_0x515d5e},'pendingMutations':[]};}function yi(_0x5ab471,_0x508a4f){var _0x165d07=_0x311346;const _0x54bb8c=new _0x4d5084(0x1);return setTimeout(()=>_0x54bb8c[_0x165d07(0x2d8)](_0x508a4f),_0x5ab471),_0x54bb8c[_0x165d07(0x23f)]()[_0x165d07(0x178)](_0x37ee7a(0x1));}const Is={'id':_0x37a3a3['id'],'type':_0x25bb9a[_0x311346(0xa3)],'params':{}};var Ts=Object[_0x311346(0x1ad)],Cs=Object[_0x311346(0x122)],Ce=(_0x3ecc10,_0x5eb982,_0x5eaa7f,_0x2e0363)=>{var _0x5d35d9=_0x311346;for(var _0x182ecc=_0x2e0363>0x1?void 0x0:_0x2e0363?Cs(_0x5eb982,_0x5eaa7f):_0x5eb982,_0x152978=_0x3ecc10[_0x5d35d9(0xa6)]-0x1,_0x21ca4c;_0x152978>=0x0;_0x152978--)(_0x21ca4c=_0x3ecc10[_0x152978])&&(_0x182ecc=(_0x2e0363?_0x21ca4c(_0x5eb982,_0x5eaa7f,_0x182ecc):_0x21ca4c(_0x182ecc))||_0x182ecc);return _0x2e0363&&_0x182ecc&&Ts(_0x5eb982,_0x5eaa7f,_0x182ecc),_0x182ecc;},A=(_0x207b6a,_0x190eb4)=>(_0xbb0d10,_0x20286d)=>_0x190eb4(_0xbb0d10,_0x20286d,_0x207b6a),Oi=(_0x35401f=>(_0x35401f[_0x311346(0x20a)]=_0x311346(0x1b0),_0x35401f['SYNCED']='synced',_0x35401f['PENDING']=_0x311346(0x338),_0x35401f[_0x311346(0x13a)]=_0x311346(0x25c),_0x35401f['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x35401f[_0x311346(0x34b)]=_0x311346(0x26d),_0x35401f[_0x311346(0xcf)]=_0x311346(0x324),_0x35401f[_0x311346(0x18e)]='offline',_0x35401f))(Oi||{});const Pi=0xea60;class be{constructor(_0x2fc2d5,_0x323079,_0x3b2a70,_0x40cc8b,_0x37ae67,_0x1c9f60,_0x2a922a,_0x558784,_0x2aaa34){var _0x4bb62b=_0x311346;D(this,_0x4bb62b(0xb9),null),D(this,'_pendingMutations',[]),(this[_0x4bb62b(0x389)]=_0x2fc2d5,this['type']=_0x323079,this[_0x4bb62b(0x1ba)]=_0x37ae67,this[_0x4bb62b(0x1fd)]=_0x1c9f60,this[_0x4bb62b(0x34c)]=_0x2a922a,this['_revisionService']=_0x558784,this[_0x4bb62b(0x2d7)]=_0x2aaa34,this[_0x4bb62b(0xb9)]=_0x3b2a70,this[_0x4bb62b(0x1ae)]=_0x40cc8b);}[_0x311346(0x2e2)](_0x1690c1){var _0x5cf1e6=_0x311346;const _0x38c1e8=this[_0x5cf1e6(0x2e3)][_0x5cf1e6(0x20c)](this[_0x5cf1e6(0x389)]);return _0x1690c1[_0x5cf1e6(0x245)]>_0x38c1e8+0x1?(this['_handler']['onMissingChangesets']({'from':_0x38c1e8,'to':_0x1690c1[_0x5cf1e6(0x245)]-0x1}),!0x0):!0x1;}[_0x311346(0x37a)](_0x2f4147){var _0x4b1926=_0x311346;this['_undoRedoService'][_0x4b1926(0x1d7)](this[_0x4b1926(0x389)],_0x2f4147);}[_0x311346(0x12d)](_0x543b40){var _0x132c0d=_0x311346,_0x41c597,_0x40e1da;(_0x40e1da=(_0x41c597=this[_0x132c0d(0x1ba)])[_0x132c0d(0x13b)])==null||_0x40e1da[_0x132c0d(0x15e)](_0x41c597,_0x543b40);}[_0x311346(0x24f)](_0xd8674e){var _0x26f07f=_0x311346,_0x13bf8f,_0x2fa491;return(_0x2fa491=(_0x13bf8f=this['_handler'])['onTransformIME'])==null?void 0x0:_0x2fa491[_0x26f07f(0x15e)](_0x13bf8f,_0xd8674e);}[_0x311346(0x31b)](_0x2a6cff){var _0x16b164=_0x311346,_0x23102c,_0x5975b7;return(_0x5975b7=(_0x23102c=this[_0x16b164(0x1ba)])[_0x16b164(0x38a)])==null?void 0x0:_0x5975b7[_0x16b164(0x15e)](_0x23102c,_0x2a6cff);}['_transformRemoteChangesetByIMECache'](_0x3465be){var _0x378250=_0x311346,_0x434213,_0x52cfa4,_0x275799;return(_0x275799=(_0x52cfa4=(_0x434213=this[_0x378250(0x1ba)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x52cfa4[_0x378250(0x15e)](_0x434213,_0x3465be))!=null?_0x275799:_0x3465be;}[_0x311346(0x125)](_0x283e10){var _0x2c881f,_0x3d48e6,_0x13f47b;return(_0x13f47b=(_0x3d48e6=(_0x2c881f=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3d48e6['call'](_0x2c881f,_0x283e10))!=null?_0x13f47b:_0x283e10;}[_0x311346(0x3a8)](_0x39916a){var _0x20cf2c=_0x311346,_0x19e27b,_0x139478;if(this[_0x20cf2c(0xe6)]===Q[_0x20cf2c(0x28b)]){const {unitID:_0x12e5bf,mutations:_0x11cac5,memberID:_0x1f241e}=_0x39916a,_0x58ec7d=_0x11cac5[0x0][_0x20cf2c(0x13d)][_0x20cf2c(0x302)];Array['isArray'](_0x58ec7d)&&_0x58ec7d['length']>0x0&&((_0x139478=(_0x19e27b=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x139478['call'](_0x19e27b,{'unitID':_0x12e5bf,'memberID':_0x1f241e,'textRanges':_0x58ec7d}));}}[_0x311346(0x1e3)](){var _0x4d5ab3=_0x311346,_0x294c86;(_0x294c86=this[_0x4d5ab3(0x2d7)])==null||_0x294c86[_0x4d5ab3(0x24d)](this[_0x4d5ab3(0x389)],this[_0x4d5ab3(0xe6)],this[_0x4d5ab3(0xb9)],this[_0x4d5ab3(0x1ae)]);}[_0x311346(0x398)](){var _0x2bd1b5=_0x311346;return this[_0x2bd1b5(0x2e3)]['getCurrentRevOfUnit'](this[_0x2bd1b5(0x389)]);}[_0x311346(0x1b2)](){var _0x147807=_0x311346;this['_revisionService']['incrementRevOfUnit'](this[_0x147807(0x389)]);}[_0x311346(0x306)](_0x46b3e9){var _0xfd1335=_0x311346,_0x5c22da;let _0x3f7d50=this[_0xfd1335(0x208)](_0x46b3e9);_0x3f7d50=this[_0xfd1335(0x125)](_0x3f7d50);const _0x18f3ce=_0x4be59b(_0x3f7d50[_0xfd1335(0x100)],this[_0xfd1335(0x1fd)],{'fromCollab':!0x0});if(!_0x18f3ce[_0xfd1335(0x1bc)])throw _0x18f3ce[_0xfd1335(0x38e)]instanceof Error?_0x18f3ce['error']:new Error((_0x5c22da=_0x18f3ce[_0xfd1335(0x38e)])!=null?_0x5c22da:_0xfd1335(0xed));this[_0xfd1335(0x24f)](_0x3f7d50),this['_transformStateCache'](_0x3f7d50),this[_0xfd1335(0x37a)](_0x46b3e9),this['_transformSelections'](_0x3f7d50),this[_0xfd1335(0x3a8)](_0x3f7d50),this[_0xfd1335(0x1b2)]();}}let Pe=class extends be{constructor(_0xa9f53,_0x20fdcb,_0x1e466d,_0x3b8deb,_0x4b270e,_0x455396,_0x14f330,_0x4ff421,_0x10b8b9,_0xf87bf8){var _0x4085c8=_0x311346;super(_0xa9f53,_0x20fdcb,null,[],_0x1e466d,_0x14f330,_0x455396,_0x3b8deb,_0xf87bf8),D(this,'status',_0x4085c8(0x1d2)),(this[_0x4085c8(0xf8)]=_0x4b270e,this['_logService']=_0x4ff421,this[_0x4085c8(0xbf)]=_0x10b8b9,this[_0x4085c8(0x38f)]=_0xf87bf8);}['appendMutation'](_0x34d774){var _0x4b3ba6=_0x311346;const _0x213937=this[_0x4b3ba6(0xf8)][_0x4b3ba6(0xa0)](re,this['unitID'],this[_0x4b3ba6(0xe6)],[_0x34d774],this[_0x4b3ba6(0x1ba)]);return _0x213937[_0x4b3ba6(0x243)](),_0x213937['_updateLocalCache'](),_0x213937;}[_0x311346(0x332)](_0x3f0c0d){var _0x4107d3=_0x311346;if(this[_0x4107d3(0x2e2)](_0x3f0c0d))return this[_0x4107d3(0xf8)]['createInstance'](te,this['unitID'],this['type'],null,[],null,[_0x3f0c0d],this[_0x4107d3(0x1ba)]);try{const _0x209210=this[_0x4107d3(0xbf)][_0x4107d3(0x32e)](_0x3f0c0d,[Is]);if(_0x25344d(_0x209210)){const {c1Prime:_0x253551}=_0x209210;return this[_0x4107d3(0x306)](_0x253551),this;}throw _0x209210['error'];}catch(_0x237a30){return this['_logService'][_0x4107d3(0x38e)](_0x237a30),this['_onConflict'](!0x1);}}['_onConflict'](_0xdd49b7){var _0x4e22b3=_0x311346;return this[_0x4e22b3(0xf8)][_0x4e22b3(0xa0)](de,this[_0x4e22b3(0x389)],this[_0x4e22b3(0xe6)],null,[],this[_0x4e22b3(0x1ba)],_0xdd49b7);}[_0x311346(0x304)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x311346(0x1dc)](){var _0xcc9e74=_0x311346;throw new Error(_0xcc9e74(0x3a2));}[_0x311346(0x123)](){return this;}[_0x311346(0xfe)](){var _0x3e6629=_0x311346;return this[_0x3e6629(0xf8)][_0x3e6629(0xa0)](fe,this[_0x3e6629(0x389)],this[_0x3e6629(0xe6)],null,[],this[_0x3e6629(0x1ba)]);}[_0x311346(0x34a)](){return this;}[_0x311346(0x228)](){var _0x34408f=_0x311346;throw new Error(_0x34408f(0x2e1));}[_0x311346(0x2f3)](){var _0x5445ea=_0x311346;const _0x21f862=this[_0x5445ea(0x2e3)][_0x5445ea(0x20c)](this[_0x5445ea(0x389)]);return this[_0x5445ea(0x1ba)][_0x5445ea(0x259)]({'from':_0x21f862,'to':0x0}),this[_0x5445ea(0xf8)][_0x5445ea(0xa0)](te,this[_0x5445ea(0x389)],this['type'],null,[],null,[],this[_0x5445ea(0x1ba)]);}};Pe=Ce([A(0x3,_0x558686(_0x42fee1)),A(0x4,_0x558686(_0x398a6e)),A(0x5,_0x395d87),A(0x6,_0x288e4d),A(0x7,_0x131104),A(0x8,_0x93f0ad),A(0x9,_0x36723f(X))],Pe);let re=class extends be{constructor(_0x4a0d0e,_0x1bd43a,_0x2d02e6,_0x58683f,_0x3d7b84,_0x24f9b9,_0x15d118,_0x4b2f9c,_0x1af611,_0x5a87d0,_0x36c185,_0x30c39a,_0x2ae31b,_0x33ec3f){var _0x2aedf8=_0x311346;super(_0x4a0d0e,_0x1bd43a,null,_0x2d02e6,_0x58683f,_0x1af611,_0x2ae31b,_0x24f9b9,_0x33ec3f),D(this,_0x2aedf8(0xd4),_0x2aedf8(0x338)),D(this,_0x2aedf8(0x36d),null),D(this,_0x2aedf8(0x28c),null),(this[_0x2aedf8(0xf8)]=_0x3d7b84,this[_0x2aedf8(0x2b9)]=_0x15d118,this[_0x2aedf8(0x383)]=_0x4b2f9c,this[_0x2aedf8(0x267)]=_0x5a87d0,this['_transformService']=_0x36c185,this[_0x2aedf8(0x129)]=_0x30c39a);}[_0x311346(0x3a7)](_0x303fae){var _0x43d92d=_0x311346;return this['_pendingMutations']['push'](_0x303fae),this[_0x43d92d(0x1e3)](),this;}[_0x311346(0x332)](_0x4f03e3){var _0x538717=_0x311346;if(this[_0x538717(0x2e2)](_0x4f03e3))return this[_0x538717(0x152)](),this[_0x538717(0xf8)][_0x538717(0xa0)](te,this['unitID'],this['type'],null,this[_0x538717(0x1ae)],null,[_0x4f03e3],this[_0x538717(0x1ba)]);try{const _0x5ea2e2=this['_transformService'][_0x538717(0x32e)](_0x4f03e3,this[_0x538717(0x1ae)]);if(_0x25344d(_0x5ea2e2)){const {c1Prime:_0x202efc,m2Prime:_0x152710}=_0x5ea2e2;this[_0x538717(0x306)](_0x202efc);const _0x5b0fe8=this[_0x538717(0xf8)][_0x538717(0xa0)](re,this[_0x538717(0x389)],this[_0x538717(0xe6)],_0x152710,this['_handler']);return this[_0x538717(0x152)](),_0x5b0fe8[_0x538717(0x243)](this[_0x538717(0x36d)]?Math[_0x538717(0x18c)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x538717(0x374)]()),_0x5b0fe8;}throw _0x5ea2e2[_0x538717(0x38e)];}catch(_0x4115ac){return this[_0x538717(0x383)][_0x538717(0x38e)](_0x4115ac),this[_0x538717(0xeb)](!0x1);}}['onRemoteAck'](){var _0x37f59=_0x311346;throw new Error(_0x37f59(0x1c1));}[_0x311346(0x1dc)](){var _0x763fbc=_0x311346;throw new Error(_0x763fbc(0x17c));}[_0x311346(0x123)](){return this;}[_0x311346(0xfe)](){var _0x314d29=_0x311346;return this[_0x314d29(0x152)](),this[_0x314d29(0xf8)][_0x314d29(0xa0)](fe,this[_0x314d29(0x389)],this['type'],null,this[_0x314d29(0x1ae)],this[_0x314d29(0x1ba)]);}['toggleOnline'](){return this;}[_0x311346(0x243)](_0xe5f9cb){var _0x1060bc=_0x311346;const _0xc1a972=_0xe5f9cb!=null?_0xe5f9cb:this['_getSendChangesetTimeout']();this[_0x1060bc(0x36d)]=new Date()['getTime'](),this[_0x1060bc(0x28c)]=setTimeout(()=>{var _0x3407f7=_0x1060bc;this[_0x3407f7(0x152)]();let _0x2346b4=null;switch(this[_0x3407f7(0xe6)]){case Q[_0x3407f7(0x21d)]:{_0x2346b4=Jt(this['_pendingMutations'],this[_0x3407f7(0x389)],this[_0x3407f7(0x129)],this[_0x3407f7(0x2e3)],this[_0x3407f7(0x2b9)]);break;}case Q[_0x3407f7(0x28b)]:{this[_0x3407f7(0x1ae)][_0x3407f7(0x380)](_0x328bd9=>_0x328bd9['id']===_0x5001f4['id'])?_0x2346b4=Es(this['_pendingMutations'],this[_0x3407f7(0x389)],this['_univerInstanceService'],this[_0x3407f7(0x2e3)],this[_0x3407f7(0x2b9)]):_0x2346b4=Jt(this[_0x3407f7(0x1ae)],this[_0x3407f7(0x389)],this[_0x3407f7(0x129)],this[_0x3407f7(0x2e3)],this[_0x3407f7(0x2b9)]);break;}default:throw new Error(_0x3407f7(0xf5)+this['type']+_0x3407f7(0x196));}const {changeset:_0x657b8c,pendingMutations:_0x57b4f8}=_0x2346b4;this[_0x3407f7(0x1ba)][_0x3407f7(0x1af)](_0x657b8c);const _0x2db8e7=_0x57b4f8[_0x3407f7(0xa6)]?this[_0x3407f7(0xf8)][_0x3407f7(0xa0)](oe,this[_0x3407f7(0x389)],this[_0x3407f7(0xe6)],_0x657b8c,_0x57b4f8,this[_0x3407f7(0x1ba)],void 0x0):this['_injector'][_0x3407f7(0xa0)](ue,this[_0x3407f7(0x389)],this[_0x3407f7(0xe6)],_0x657b8c,this[_0x3407f7(0x1ba)]);_0x2db8e7[_0x3407f7(0x1e3)](),this[_0x3407f7(0x1ba)][_0x3407f7(0x1c2)](this,_0x2db8e7);},_0xc1a972);}[_0x311346(0x374)](){var _0x1024c1=_0x311346,_0x4918fa;const _0x28a9b0=this[_0x1024c1(0x267)][_0x1024c1(0x276)](Y);return(_0x4918fa=_0x28a9b0==null?void 0x0:_0x28a9b0[_0x1024c1(0x29a)])!=null?_0x4918fa:wn;}[_0x311346(0x228)](){var _0x58ac5f=_0x311346;throw new Error(_0x58ac5f(0x1de));}[_0x311346(0x152)](){var _0xbf02af=_0x311346;this[_0xbf02af(0x28c)]!=null&&(clearTimeout(this[_0xbf02af(0x28c)]),this[_0xbf02af(0x28c)]=null);}['_onConflict'](_0x2c1e88){var _0x3c8185=_0x311346;return this[_0x3c8185(0x152)](),this['_injector']['createInstance'](de,this['unitID'],this[_0x3c8185(0xe6)],null,this['_pendingMutations'],this[_0x3c8185(0x1ba)],_0x2c1e88);}};re=Ce([A(0x4,_0x558686(_0x398a6e)),A(0x5,_0x558686(_0x42fee1)),A(0x6,_0x558686(Le)),A(0x7,_0x131104),A(0x8,_0x288e4d),A(0x9,_0xd9deb0),A(0xa,_0x93f0ad),A(0xb,_0x255145),A(0xc,_0x395d87),A(0xd,_0x36723f(X))],re);let ue=class extends be{constructor(_0x40b171,_0x12e5a5,_0xf7ad2a,_0x3fc8c1,_0x2e9986,_0x442ddf,_0x4d4cdb,_0x1aff4b,_0x5c66bf,_0x523486,_0x6133ba){var _0x5322cf=_0x311346;super(_0x40b171,_0x12e5a5,_0xf7ad2a,[],_0x3fc8c1,_0x4d4cdb,_0x523486,_0x442ddf,_0x6133ba),D(this,_0x5322cf(0xd4),'awaiting'),D(this,_0x5322cf(0x268),0x0),D(this,_0x5322cf(0xef)),D(this,_0x5322cf(0x15d)),(this[_0x5322cf(0xf8)]=_0x2e9986,this[_0x5322cf(0x383)]=_0x1aff4b,this[_0x5322cf(0xbf)]=_0x5c66bf);}[_0x311346(0x3a7)](_0x424559){var _0x304fd8=_0x311346;this[_0x304fd8(0x152)]();const _0x2babae=this['_injector'][_0x304fd8(0xa0)](oe,this[_0x304fd8(0x389)],this[_0x304fd8(0xe6)],this[_0x304fd8(0xb9)],[_0x424559],this[_0x304fd8(0x1ba)],this['_resendTimer']);return _0x2babae[_0x304fd8(0x1e3)](),_0x2babae;}[_0x311346(0x332)](_0x16e4b0){var _0x58bf59=_0x311346;if(this['_checkMissing'](_0x16e4b0))return this[_0x58bf59(0x152)](),this[_0x58bf59(0xf8)][_0x58bf59(0xa0)](te,this[_0x58bf59(0x389)],this['type'],this[_0x58bf59(0xb9)],[],null,[_0x16e4b0],this[_0x58bf59(0x1ba)]);try{const _0xe21b76=this[_0x58bf59(0xbf)]['transformChangesets']([_0x16e4b0],[this[_0x58bf59(0xb9)]],!0x1);if(_0x3fc527(_0xe21b76)){const {c1Prime:_0x2dd358,c2Prime:_0x7490fc}=_0xe21b76;this[_0x58bf59(0x306)](_0x2dd358[0x0]),_0x7490fc[0x0][_0x58bf59(0x372)]=this[_0x58bf59(0x398)](),this[_0x58bf59(0x152)]();const _0x4bcc21=this['_injector'][_0x58bf59(0xa0)](ue,this[_0x58bf59(0x389)],this[_0x58bf59(0xe6)],_0x7490fc[0x0],this[_0x58bf59(0x1ba)]);return _0x4bcc21[_0x58bf59(0x1e3)](),_0x4bcc21;}return this[_0x58bf59(0xeb)](!0x1);}catch(_0x3f980d){return this[_0x58bf59(0x383)]['error'](_0x3f980d),this[_0x58bf59(0xeb)](!0x1);}}[_0x311346(0x304)](_0x4c5d8f){var _0x1b7f7f=_0x311346;this[_0x1b7f7f(0x152)]();const _0x36547f=this[_0x1b7f7f(0x2e3)]['getCurrentRevOfUnit'](this[_0x1b7f7f(0x389)]);if(_0x4c5d8f[_0x1b7f7f(0x245)]<_0x36547f-0x1)return this;if(this[_0x1b7f7f(0x2e2)](_0x4c5d8f))return this['_injector'][_0x1b7f7f(0xa0)](te,this['unitID'],this[_0x1b7f7f(0xe6)],null,[],this['_awaitingChangeset'],[],this[_0x1b7f7f(0x1ba)]);this[_0x1b7f7f(0x1b2)]();const _0x47763f=this[_0x1b7f7f(0xf8)]['createInstance'](Pe,this[_0x1b7f7f(0x389)],this[_0x1b7f7f(0xe6)],this['_handler']);return _0x47763f[_0x1b7f7f(0x1e3)](),_0x47763f;}[_0x311346(0x1dc)](_0x39aa9c){var _0x4919b7=_0x311346;return this[_0x4919b7(0xeb)](!!(_0x39aa9c!=null&&_0x39aa9c[_0x4919b7(0x2ec)]));}['onRemoteRetry'](_0x238135){var _0x1fcc2a=_0x311346;return this[_0x1fcc2a(0x268)]>Pi?this['toggleOffline']():(this[_0x1fcc2a(0xef)]=yi(this[_0x1fcc2a(0x268)],{'timeout':this[_0x1fcc2a(0x268)],'reqId':_0x238135['reqId']}),this[_0x1fcc2a(0x15d)]=this[_0x1fcc2a(0xef)][_0x1fcc2a(0x14f)](({reqId:_0x496fee,timeout:_0x2c7fc9})=>{var _0x36f457=_0x1fcc2a;this[_0x36f457(0x2a2)](_0x496fee,_0x2c7fc9);}),this);}[_0x311346(0xfe)](){var _0x3bc5f5=_0x311346;return this[_0x3bc5f5(0x152)](),this['_injector'][_0x3bc5f5(0xa0)](fe,this[_0x3bc5f5(0x389)],this['type'],this[_0x3bc5f5(0xb9)],[],this[_0x3bc5f5(0x1ba)]);}[_0x311346(0x34a)](){return this;}[_0x311346(0x228)](){var _0x42ce3b=_0x311346;this['_handler'][_0x42ce3b(0x1af)](this[_0x42ce3b(0xb9)]);}[_0x311346(0xeb)](_0x1b2b04){var _0x9e2007=_0x311346;return this['_clearScheduledTask'](),this[_0x9e2007(0xf8)][_0x9e2007(0xa0)](de,this[_0x9e2007(0x389)],this[_0x9e2007(0xe6)],this[_0x9e2007(0xb9)],[],this['_handler'],_0x1b2b04);}[_0x311346(0x2a2)](_0x58d88f,_0x2a9290){var _0x5d545d=_0x311346,_0x7b6b6b;_0x58d88f===((_0x7b6b6b=this['_awaitingChangeset'])==null?void 0x0:_0x7b6b6b[_0x5d545d(0xe1)])&&(this[_0x5d545d(0x228)](),this['_resendTimeout']=_0x2a9290===0x0?0x3e8:_0x2a9290*0x2);}[_0x311346(0x152)](){var _0x8b0dbd=_0x311346,_0x24fea2;(_0x24fea2=this[_0x8b0dbd(0x15d)])==null||_0x24fea2[_0x8b0dbd(0xda)](),this[_0x8b0dbd(0x268)]=0x0;}};ue=Ce([A(0x4,_0x558686(_0x398a6e)),A(0x5,_0x558686(_0x42fee1)),A(0x6,_0x288e4d),A(0x7,_0x131104),A(0x8,_0x93f0ad),A(0x9,_0x395d87),A(0xa,_0x36723f(X))],ue);let oe=class extends be{constructor(_0x15e117,_0xc98ffe,_0x563e22,_0x4e32e3,_0x58a05c,_0x47ec9c,_0x363ed4,_0x9b1a17,_0x3224ca,_0x158ac3,_0x852bdf,_0x7307f6,_0xc2ef7f){var _0x1a599c=_0x311346;super(_0x15e117,_0xc98ffe,_0x563e22,_0x4e32e3,_0x58a05c,_0x3224ca,_0x7307f6,_0x9b1a17,_0xc2ef7f),D(this,_0x1a599c(0xd4),_0x1a599c(0x1e8)),D(this,_0x1a599c(0x268),0x0),D(this,_0x1a599c(0xef)),D(this,'_sender'),(this[_0x1a599c(0xf8)]=_0x363ed4,this[_0x1a599c(0x383)]=_0x158ac3,this['_transformService']=_0x852bdf,this[_0x1a599c(0x38f)]=_0xc2ef7f,_0x47ec9c&&(this['_resendTimer']=_0x47ec9c,this[_0x1a599c(0x15d)]=this[_0x1a599c(0xef)][_0x1a599c(0x14f)](({reqId:_0x126b7d,timeout:_0x11f917})=>{var _0x593862=_0x1a599c;this[_0x593862(0x2a2)](_0x126b7d,_0x11f917);})));}[_0x311346(0x3a7)](_0x38d9fd){var _0x1f428f=_0x311346;return this[_0x1f428f(0x1ae)][_0x1f428f(0x280)](_0x38d9fd),this;}[_0x311346(0x332)](_0x34f0f8){var _0x5d7c3a=_0x311346;if(this['_checkMissing'](_0x34f0f8))return this[_0x5d7c3a(0x152)](),this[_0x5d7c3a(0xf8)][_0x5d7c3a(0xa0)](te,this[_0x5d7c3a(0x389)],this['type'],this[_0x5d7c3a(0xb9)],this['_pendingMutations'],null,[_0x34f0f8],this[_0x5d7c3a(0x1ba)]);try{const _0x1e5e5c=this[_0x5d7c3a(0xbf)][_0x5d7c3a(0x360)]([_0x34f0f8],[this['_awaitingChangeset']],!0x1);if(_0x3fc527(_0x1e5e5c)){const {c1Prime:_0x4c5209,c2Prime:_0x4ccf95}=_0x1e5e5c,_0x1692b6=this[_0x5d7c3a(0xbf)][_0x5d7c3a(0x32e)](_0x4c5209[0x0],this[_0x5d7c3a(0x1ae)]);if(_0x25344d(_0x1692b6)){const {c1Prime:_0x561e8d,m2Prime:_0xb9b2f4}=_0x1692b6;return this[_0x5d7c3a(0x306)](_0x561e8d),_0x4ccf95[0x0][_0x5d7c3a(0x372)]=this[_0x5d7c3a(0x398)](),this[_0x5d7c3a(0x152)](),this[_0x5d7c3a(0xf8)]['createInstance'](oe,this[_0x5d7c3a(0x389)],this[_0x5d7c3a(0xe6)],_0x4ccf95[0x0],_0xb9b2f4,this[_0x5d7c3a(0x1ba)],void 0x0);}throw _0x1692b6[_0x5d7c3a(0x38e)];}throw _0x1e5e5c['error'];}catch(_0x3515d0){return this['_logService'][_0x5d7c3a(0x38e)](_0x3515d0),this[_0x5d7c3a(0xeb)](!0x1);}}['onRemoteAck'](_0x464108){var _0x300b6b=_0x311346;if(this[_0x300b6b(0x152)](),this[_0x300b6b(0x2e2)](_0x464108))return this[_0x300b6b(0xf8)][_0x300b6b(0xa0)](te,this[_0x300b6b(0x389)],this[_0x300b6b(0xe6)],null,this[_0x300b6b(0x1ae)],this[_0x300b6b(0xb9)],[],this['_handler']);this[_0x300b6b(0x1b2)]();const _0x50642a=this[_0x300b6b(0xf8)][_0x300b6b(0xa0)](re,this[_0x300b6b(0x389)],this[_0x300b6b(0xe6)],this['_pendingMutations'],this['_handler']);return _0x50642a[_0x300b6b(0x243)](),_0x50642a[_0x300b6b(0x1e3)](),_0x50642a;}[_0x311346(0x1dc)](_0x2b5a3d){var _0x3b656d=_0x311346;return this[_0x3b656d(0xeb)](!!(_0x2b5a3d!=null&&_0x2b5a3d['isPermissionRej']));}['onRemoteRetry'](_0x546bb1){var _0x2404a3=_0x311346;return this[_0x2404a3(0x268)]>Pi?this[_0x2404a3(0xfe)]():(this[_0x2404a3(0xef)]=yi(this['_resendTimeout'],{'timeout':this[_0x2404a3(0x268)],'reqId':_0x546bb1[_0x2404a3(0xe1)]}),this[_0x2404a3(0x15d)]=this['_resendTimer']['subscribe'](({reqId:_0x1ef0ef,timeout:_0x967a92})=>{var _0x215823=_0x2404a3;this[_0x215823(0x2a2)](_0x1ef0ef,_0x967a92);}),this);}['toggleOffline'](){var _0x448db9=_0x311346;return this[_0x448db9(0x152)](),this[_0x448db9(0xf8)][_0x448db9(0xa0)](fe,this[_0x448db9(0x389)],this[_0x448db9(0xe6)],this[_0x448db9(0xb9)],this['_pendingMutations'],this[_0x448db9(0x1ba)]);}['toggleOnline'](){return this;}[_0x311346(0x228)](){var _0xc6d436=_0x311346;this[_0xc6d436(0x1ba)][_0xc6d436(0x1af)](this[_0xc6d436(0xb9)]);}[_0x311346(0xeb)](_0x54fc50){var _0x5b70da=_0x311346;return this['_clearScheduledTask'](),this[_0x5b70da(0xf8)]['createInstance'](de,this[_0x5b70da(0x389)],this[_0x5b70da(0xe6)],null,this[_0x5b70da(0x1ae)],this[_0x5b70da(0x1ba)],_0x54fc50);}['_resendWithTimeout'](_0xd201cf,_0x974683){var _0x693912=_0x311346,_0x2950d6;_0xd201cf===((_0x2950d6=this[_0x693912(0xb9)])==null?void 0x0:_0x2950d6['reqId'])&&(this['resend'](),this[_0x693912(0x268)]=_0x974683===0x0?0x3e8:_0x974683*0x2);}[_0x311346(0x152)](){var _0x3e9ed5=_0x311346,_0x49b59d;(_0x49b59d=this['_sender'])==null||_0x49b59d[_0x3e9ed5(0xda)](),this['_resendTimeout']=0x0;}};oe=Ce([A(0x6,_0x558686(_0x398a6e)),A(0x7,_0x558686(_0x42fee1)),A(0x8,_0x288e4d),A(0x9,_0x131104),A(0xa,_0x93f0ad),A(0xb,_0x395d87),A(0xc,_0x36723f(X))],oe);let de=class extends be{constructor(_0x20e2d9,_0x140bfd,_0x19aae4,_0x129720,_0x44976f,_0x15e16d=!0x1,_0x48d130,_0x3faabd,_0x591c2c,_0x42c413,_0x16c674,_0xd84739,_0x199162){var _0x4a6dee=_0x311346;super(_0x20e2d9,_0x140bfd,_0x19aae4,_0x129720,_0x44976f,_0x3faabd,_0x591c2c,_0x42c413,_0x199162),D(this,_0x4a6dee(0xd4),_0x4a6dee(0x324)),(this[_0x4a6dee(0x145)]=_0x15e16d,this[_0x4a6dee(0x1f8)]=_0x48d130,this[_0x4a6dee(0x2c3)]=_0x16c674,this['_collaborationUIEventService']=_0xd84739,this[_0x4a6dee(0x38f)]=_0x199162,this['_showConflictNotification'](),this[_0x4a6dee(0x200)](),this['_disableEditing']());}[_0x311346(0x3a7)](){return this;}[_0x311346(0x332)](){return this;}[_0x311346(0x304)](){return this;}[_0x311346(0x1dc)](){return this;}['onRemoteRetry'](){return this;}[_0x311346(0xfe)](){return this;}[_0x311346(0x34a)](){return this;}[_0x311346(0x228)](){var _0x51482b=_0x311346;throw new Error(_0x51482b(0x22c));}[_0x311346(0x200)](){var _0x10432a=_0x311346,_0x409314;(_0x409314=this[_0x10432a(0x2d7)])==null||_0x409314[_0x10432a(0x24d)](this[_0x10432a(0x389)],this[_0x10432a(0xe6)],null,[]);}[_0x311346(0x192)](){var _0x461b2a=_0x311346;this['_isPermissionRej']?this[_0x461b2a(0x19d)][_0x461b2a(0x379)]({'id':se[_0x461b2a(0x355)]}):this[_0x461b2a(0x19d)][_0x461b2a(0x379)]({'id':se[_0x461b2a(0xcf)]});}[_0x311346(0x18f)](){var _0x57b351=_0x311346;this[_0x57b351(0x1f8)]['updatePermissionPoint'](new _0x445c74(this[_0x57b351(0x389)])['id'],!0x1);}};de=Ce([A(0x6,_0x558686(_0x5ea19c)),A(0x7,_0x288e4d),A(0x8,_0x395d87),A(0x9,_0x558686(_0x42fee1)),A(0xa,_0x558686(_0x171710)),A(0xb,_0x558686(pe)),A(0xc,_0x36723f(X))],de);let fe=class extends be{constructor(_0x39a5cc,_0x12b4a5,_0xf4f400,_0x2053a0,_0x58b6f0,_0x190b40,_0x1cd58e,_0x47280f,_0x48640e,_0x222717){var _0x55f36e=_0x311346;super(_0x39a5cc,_0x12b4a5,_0xf4f400,_0x2053a0,_0x58b6f0,_0x47280f,_0x48640e,_0x1cd58e,_0x222717),D(this,'status',_0x55f36e(0x254)),this[_0x55f36e(0xf8)]=_0x190b40;}['appendMutation'](_0x58ec0f){var _0x19ff7c=_0x311346;return this['_pendingMutations'][_0x19ff7c(0x280)](_0x58ec0f),this[_0x19ff7c(0x1e3)](),this;}[_0x311346(0x332)](_0x183a68){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x311346(0x304)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x311346(0x1dc)](){var _0x4f6ada=_0x311346;throw new Error(_0x4f6ada(0x2fb));}[_0x311346(0x123)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x5373ea=_0x311346;const {_injector:_0x13e263,_pendingMutations:_0x431b67,_awaitingChangeset:_0x4c5e8b,unitID:_0xb9d699,_handler:_0xeffbb0,type:_0x9bd7c4}=this,_0x58c139=Ni(_0x13e263,_0xb9d699,_0x9bd7c4,_0x4c5e8b,_0x431b67,_0xeffbb0);return _0x58c139 instanceof re?_0x58c139[_0x5373ea(0x243)]():(_0x58c139 instanceof oe||_0x58c139 instanceof ue)&&_0x58c139['resend'](),_0x58c139;}[_0x311346(0x228)](){var _0x2e7cfe=_0x311346;throw new Error(_0x2e7cfe(0x2bc));}};fe=Ce([A(0x5,_0x558686(_0x398a6e)),A(0x6,_0x558686(_0x42fee1)),A(0x7,_0x288e4d),A(0x8,_0x395d87),A(0x9,_0x36723f(X))],fe);let te=class extends be{constructor(_0x10d23d,_0x3ef997,_0x2e9bca,_0x1f7f6e,_0x2d333c,_0x595a1e,_0x4b8bb2,_0x5edeeb,_0x12e201,_0x274992,_0x4d369c,_0x2c07ac,_0x517fff,_0x78eb40){var _0x4e7fb6=_0x311346;super(_0x10d23d,_0x3ef997,_0x2e9bca,_0x1f7f6e,_0x4b8bb2,_0x4d369c,_0x2c07ac,_0x12e201,_0x78eb40),D(this,_0x4e7fb6(0xd4),'fetch_missing'),(this[_0x4e7fb6(0x2aa)]=_0x2d333c,this[_0x4e7fb6(0x270)]=_0x595a1e,this[_0x4e7fb6(0xf8)]=_0x5edeeb,this['_logService']=_0x274992,this[_0x4e7fb6(0xbf)]=_0x517fff,this[_0x4e7fb6(0x38f)]=_0x78eb40);}[_0x311346(0x1d5)](_0x9f5630){var _0x4a2b11=_0x311346;try{const _0x438130=[..._0x9f5630,...this['_queuedRemoteChangesets']],_0x2bba48=[this['_awaitingChangeset']||this[_0x4a2b11(0x2aa)]][_0x4a2b11(0x176)](_0x47bfd0=>!!_0x47bfd0);let _0x385c4d,_0x534fb8;if(_0x2bba48['length']){const _0x5d9040=this[_0x4a2b11(0xbf)][_0x4a2b11(0x360)](_0x438130,_0x2bba48,!0x1);if(!_0x3fc527(_0x5d9040))throw _0x5d9040['error'];_0x385c4d=_0x5d9040[_0x4a2b11(0x22f)],_0x534fb8=_0x5d9040[_0x4a2b11(0x319)];}else _0x385c4d=_0x438130,_0x534fb8=[];let _0x5bc705=this[_0x4a2b11(0x1ae)];_0x385c4d[_0x4a2b11(0x1b8)](_0x3c98a1=>{var _0x6726e6=_0x4a2b11;let _0xf3004;if(_0x5bc705['length']){const _0x10f604=this[_0x6726e6(0xbf)][_0x6726e6(0x32e)](_0x3c98a1,_0x5bc705);if(!_0x25344d(_0x10f604))throw _0x10f604[_0x6726e6(0x38e)];_0xf3004=_0x10f604[_0x6726e6(0x22f)],_0x5bc705=_0x10f604['m2Prime'];}else _0xf3004=_0x3c98a1;this[_0x6726e6(0x306)](_0xf3004);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x534fb8[_0x4a2b11(0xa6)]&&(_0x534fb8[0x0][_0x4a2b11(0x372)]=this[_0x4a2b11(0x398)]());let _0x13129f;if(this[_0x4a2b11(0xb9)]&&_0x5bc705[_0x4a2b11(0xa6)]!==0x0)_0x13129f=this[_0x4a2b11(0xf8)][_0x4a2b11(0xa0)](oe,this[_0x4a2b11(0x389)],this[_0x4a2b11(0xe6)],_0x534fb8[0x0],_0x5bc705,this['_handler'],void 0x0);else{if(this[_0x4a2b11(0xb9)]&&_0x5bc705[_0x4a2b11(0xa6)]===0x0)_0x534fb8[0x0][_0x4a2b11(0x372)]=this[_0x4a2b11(0x398)](),_0x13129f=this['_injector']['createInstance'](ue,this['unitID'],this[_0x4a2b11(0xe6)],_0x534fb8[0x0],this[_0x4a2b11(0x1ba)]);else{if(_0x5bc705[_0x4a2b11(0xa6)]!==0x0){const _0x39991b=this[_0x4a2b11(0xf8)][_0x4a2b11(0xa0)](re,this[_0x4a2b11(0x389)],this[_0x4a2b11(0xe6)],_0x5bc705,this[_0x4a2b11(0x1ba)]);_0x39991b[_0x4a2b11(0x243)](),_0x13129f=_0x39991b;}else _0x13129f=this['_injector']['createInstance'](Pe,this['unitID'],this['type'],this[_0x4a2b11(0x1ba)]);}}return _0x13129f['_updateLocalCache'](),_0x13129f;}catch(_0x1ea270){return this[_0x4a2b11(0x383)][_0x4a2b11(0x38e)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x1ea270),this[_0x4a2b11(0xf8)]['createInstance'](de,this[_0x4a2b11(0x389)],this[_0x4a2b11(0xe6)],this[_0x4a2b11(0xb9)],this['_pendingMutations'],this[_0x4a2b11(0x1ba)],!0x1);}}['resend'](){var _0x13f51e=_0x311346;throw new Error(_0x13f51e(0xa9));}[_0x311346(0x3a7)](_0xcb01c1){var _0x377c56=_0x311346;return this[_0x377c56(0x1ae)]['push'](_0xcb01c1),this;}[_0x311346(0x332)](_0x28aaf2){return this['_queuedRemoteChangesets']['push'](_0x28aaf2),this;}['onRemoteAck'](_0x495fbf){var _0x293ff3=_0x311346;if(this[_0x293ff3(0xb9)])return this[_0x293ff3(0x2aa)]=this[_0x293ff3(0xb9)],this[_0x293ff3(0xb9)]=null,this;throw new Error(_0x293ff3(0x161));}['onRemoteRej'](_0x5781e3){var _0x430914=_0x311346;return this[_0x430914(0xeb)](!!(_0x5781e3!=null&&_0x5781e3[_0x430914(0x2ec)]));}['onRemoteRetry'](){return this;}[_0x311346(0xfe)](){var _0x52e0cf=_0x311346;return this['_injector'][_0x52e0cf(0xa0)](fe,this['unitID'],this[_0x52e0cf(0xe6)],this['_awaitingChangeset'],this[_0x52e0cf(0x1ae)],this[_0x52e0cf(0x1ba)]);}[_0x311346(0x34a)](){return this;}[_0x311346(0xeb)](_0x14ca98){var _0x55e1f0=_0x311346;return this[_0x55e1f0(0xf8)]['createInstance'](de,this['unitID'],this[_0x55e1f0(0xe6)],this[_0x55e1f0(0xb9)],this['_pendingMutations'],this['_handler'],_0x14ca98);}};te=Ce([A(0x7,_0x558686(_0x398a6e)),A(0x8,_0x558686(_0x42fee1)),A(0x9,_0x131104),A(0xa,_0x288e4d),A(0xb,_0x395d87),A(0xc,_0x93f0ad),A(0xd,_0x36723f(X))],te);function Ni(_0x26d7ca,_0x58df71,_0x4cee87,_0x4a945e,_0x30371b,_0x2323d5){var _0x215054=_0x311346;return _0x4a945e&&_0x30371b[_0x215054(0xa6)]?_0x26d7ca['createInstance'](oe,_0x58df71,_0x4cee87,_0x4a945e,_0x30371b,_0x2323d5,void 0x0):_0x4a945e?_0x26d7ca[_0x215054(0xa0)](ue,_0x58df71,_0x4cee87,_0x4a945e,_0x2323d5):_0x30371b[_0x215054(0xa6)]?_0x26d7ca['createInstance'](re,_0x58df71,_0x4cee87,_0x30371b,_0x2323d5):_0x26d7ca['createInstance'](Pe,_0x58df71,_0x4cee87,_0x2323d5);}var bs=Object['defineProperty'],Rs=Object[_0x311346(0x122)],Mt=(_0x1c624f,_0x374787,_0x2f996c,_0xb4059a)=>{var _0x3b3954=_0x311346;for(var _0x235de1=_0xb4059a>0x1?void 0x0:_0xb4059a?Rs(_0x374787,_0x2f996c):_0x374787,_0x3f8d6e=_0x1c624f[_0x3b3954(0xa6)]-0x1,_0x8b8994;_0x3f8d6e>=0x0;_0x3f8d6e--)(_0x8b8994=_0x1c624f[_0x3f8d6e])&&(_0x235de1=(_0xb4059a?_0x8b8994(_0x374787,_0x2f996c,_0x235de1):_0x8b8994(_0x235de1))||_0x235de1);return _0xb4059a&&_0x235de1&&bs(_0x374787,_0x2f996c,_0x235de1),_0x235de1;},k=(_0x47d33c,_0x128508)=>(_0xf23ddf,_0x174291)=>_0x128508(_0xf23ddf,_0x174291,_0x47d33c);let st=class extends _0xb2416e{constructor(_0xdd486d,_0x384c3e,_0x1b9cb6,_0x4136ca,_0x81451d,_0x330fe0,_0xb302fd,_0x1d01ec,_0x5b8118,_0x29e04f,_0x5771c5,_0x131d81,_0x125eb2){var _0x53467c=_0x311346;super(),D(this,'_state$',new _0x36e308(null)),D(this,'state$',this[_0x53467c(0x126)][_0x53467c(0x23f)]()),D(this,_0x53467c(0x159)),D(this,_0x53467c(0xa8),!0x1),D(this,'_changesetSessionId',''),D(this,'_changesetReqId',0x0),D(this,_0x53467c(0xb1),this[_0x53467c(0x27a)]['pipe'](_0x44fd13(_0x318f0f=>_0x318f0f?_0x318f0f[_0x53467c(0xd4)]:Oi[_0x53467c(0x18e)]),_0x56ed84(0x1))),D(this,_0x53467c(0x1ea),!0x1),D(this,_0x53467c(0x364),[]),(this[_0x53467c(0x389)]=_0xdd486d,this[_0x53467c(0x1f1)]=_0x384c3e,this[_0x53467c(0x25e)]=_0x1b9cb6,this['_injector']=_0x4136ca,this[_0x53467c(0x384)]=_0x81451d,this['_localeService']=_0x330fe0,this[_0x53467c(0x2e3)]=_0xb302fd,this[_0x53467c(0x2c0)]=_0x1d01ec,this['_logService']=_0x5b8118,this[_0x53467c(0x1fd)]=_0x29e04f,this[_0x53467c(0x1f8)]=_0x5771c5,this[_0x53467c(0x2d5)]=_0x131d81,this[_0x53467c(0x2d7)]=_0x125eb2);}get[_0x311346(0x17a)](){var _0x584c12=_0x311346;return this[_0x584c12(0x159)];}async[_0x311346(0x24b)](){var _0x4f75d8=_0x311346;if(this['state'])throw new Error(_0x4f75d8(0x37d));await this[_0x4f75d8(0x31d)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x3845e9(()=>{var _0x5402cc=_0x30a1;this[_0x5402cc(0xa8)]=!0x1,this[_0x5402cc(0x32a)]();});}[_0x311346(0x1f3)](_0x28778b){this['_onLocalMutation'](_0x28778b);}['_updateState'](_0x1244dc){var _0x4e0350=_0x311346;this[_0x4e0350(0x159)]=_0x1244dc,this[_0x4e0350(0x126)][_0x4e0350(0x2d8)](_0x1244dc);}async[_0x311346(0x31d)](){var _0x101184=_0x311346,_0x453e80;this[_0x101184(0xf9)](await this[_0x101184(0x19b)]()),this[_0x101184(0x2d5)]&&((_0x453e80=this[_0x101184(0x2d5)])==null||_0x453e80['editingUnit'](this[_0x101184(0x389)]),this['disposeWithMe'](this[_0x101184(0x2d5)][_0x101184(0x1a9)](this[_0x101184(0x389)])[_0x101184(0x14f)](_0x33a38f=>{var _0x3be387=_0x101184;this[_0x3be387(0x383)][_0x3be387(0xf7)](_0x3be387(0x1ab),_0x3be387(0x393),_0x33a38f),_0x33a38f===Ri[_0x3be387(0x37c)]?(this['_eventService'][_0x3be387(0x379)]({'id':se[_0x3be387(0x2ef)]}),this['_permissionService'][_0x3be387(0x127)](new _0x445c74(this[_0x3be387(0x389)])['id'],!0x1),this['_permissionService'][_0x3be387(0x1b9)](!0x1)):(this[_0x3be387(0x1f8)][_0x3be387(0x127)](new _0x445c74(this[_0x3be387(0x389)])['id'],!0x0),this['_permissionService'][_0x3be387(0x1b9)](!0x0));})));let _0x5ddc97=!0x1;return this['disposeWithMe'](this['session']['sessionStatus$'][_0x101184(0x14f)](_0x4b6f0d=>{var _0x492513=_0x101184;_0x4b6f0d===Ie['ONLINE']?this['_toggleOnline'](_0x5ddc97):_0x4b6f0d===Ie[_0x492513(0x18e)]&&(_0x5ddc97=!0x0,this['_toggleOffline']());})),this[_0x101184(0x2db)](this['session']['event$'][_0x101184(0x14f)](_0x2a9910=>{var _0x6274ea=_0x101184;try{switch(_0x2a9910[_0x6274ea(0x179)]){case _0x554366[_0x6274ea(0x17b)]:{this[_0x6274ea(0x36e)](_0x3f2c9d(_0x2a9910['data']));break;}case _0x554366[_0x6274ea(0x21f)]:{this[_0x6274ea(0x36a)](_0x2a9910[_0x6274ea(0x182)]);break;}case _0x554366[_0x6274ea(0x350)]:{this[_0x6274ea(0x37f)]();break;}case _0x554366[_0x6274ea(0x205)]:{this[_0x6274ea(0x20d)](_0x2a9910[_0x6274ea(0x182)]);break;}case _0x554366[_0x6274ea(0x2fc)]:{this[_0x6274ea(0x1e4)](_0x2a9910[_0x6274ea(0x182)][_0x6274ea(0x2ae)][_0x6274ea(0x262)](_0x5d0e51=>_0x3f2c9d(_0x5d0e51)));break;}case _0x554366[_0x6274ea(0x369)]:this[_0x6274ea(0x37f)]({'isPermissionRej':!0x0});}}catch(_0xc1684f){throw console['error'](_0x6274ea(0x314),_0xc1684f),_0xc1684f;}})),this[_0x101184(0x159)];}['_unlockTransition'](){var _0x328c8c=_0x311346;this[_0x328c8c(0x1ea)]=!0x1;}[_0x311346(0x224)](){var _0x33c095=_0x311346;if(this[_0x33c095(0x1ea)])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[_0x33c095(0x1ea)]=!0x0;}[_0x311346(0x1e5)](_0x4d60e1){var _0x4c72dc=_0x311346;this[_0x4c72dc(0x224)](),this[_0x4c72dc(0xf9)](this[_0x4c72dc(0x159)]['appendMutation'](_0x4d60e1)),this[_0x4c72dc(0x11c)]();}[_0x311346(0x36e)](_0x57bd80){var _0x393f30=_0x311346;if(!(_0x57bd80[_0x393f30(0x245)]<=this['_revisionService'][_0x393f30(0x20c)](this[_0x393f30(0x389)]))){if(this[_0x393f30(0xa8)]){this[_0x393f30(0x364)][_0x393f30(0x280)](_0x57bd80);return;}this[_0x393f30(0x318)](_0x57bd80);}}[_0x311346(0x32a)](){var _0x4d53b8=_0x311346;this[_0x4d53b8(0x364)][_0x4d53b8(0x1b8)](_0x2daf9f=>this['_applyRemoteChangeset'](_0x2daf9f)),this[_0x4d53b8(0x364)]=[];}[_0x311346(0x318)](_0x160d7c){var _0x43ae18=_0x311346;const _0x5d64d8=this[_0x43ae18(0x384)][_0x43ae18(0x142)][_0x43ae18(0x266)](this[_0x43ae18(0x384)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x160d7c[_0x43ae18(0x100)],null)||_0x160d7c[_0x43ae18(0x100)],_0x332c11={..._0x160d7c,'mutations':_0x5d64d8};this[_0x43ae18(0x224)](),this['_updateState'](this[_0x43ae18(0x159)][_0x43ae18(0x332)](_0x332c11)),this[_0x43ae18(0x11c)]();}[_0x311346(0x36a)](_0x4744f9){var _0x16b513=_0x311346;this[_0x16b513(0x224)](),this[_0x16b513(0xf9)](this['_state']['onRemoteAck'](_0x4744f9)),this['_unlockTransition']();}[_0x311346(0x37f)](_0x59b4f4){var _0x37a46c=_0x311346;this[_0x37a46c(0x224)](),this[_0x37a46c(0xf9)](this[_0x37a46c(0x159)]['onRemoteRej'](_0x59b4f4)),this[_0x37a46c(0x11c)]();}[_0x311346(0x20d)](_0x504a1f){var _0xd80ed1=_0x311346;this['_lockTransition'](),this['_updateState'](this[_0xd80ed1(0x159)][_0xd80ed1(0x123)](_0x504a1f)),this[_0xd80ed1(0x11c)]();}[_0x311346(0x1e4)](_0x2a2dab){var _0x498231=_0x311346;if(!(this[_0x498231(0x159)]instanceof te))throw new TypeError(_0x498231(0x183));const _0x4e70b2=_0x2a2dab[_0x498231(0x262)](_0x1d24bc=>{var _0x421370=_0x498231;const _0x56e5fd=this[_0x421370(0x384)][_0x421370(0x142)][_0x421370(0x266)](this[_0x421370(0x384)][_0x421370(0x142)][_0x421370(0xe2)]()[_0x421370(0xa7)])(_0x1d24bc[_0x421370(0x100)],null)||_0x1d24bc[_0x421370(0x100)];return{..._0x1d24bc,'mutations':_0x56e5fd};});this[_0x498231(0x224)](),this[_0x498231(0xf9)](this[_0x498231(0x159)]['onMissedChangesetFetched'](_0x4e70b2)),this[_0x498231(0x11c)]();}[_0x311346(0x2c6)](){var _0x5503c2=_0x311346;this['_lockTransition'](),this[_0x5503c2(0xf9)](this['_state'][_0x5503c2(0xfe)]()),this['_unlockTransition']();}[_0x311346(0x241)](_0x348f62=!0x1){var _0x3ecf87=_0x311346;this[_0x3ecf87(0x224)](),this[_0x3ecf87(0xf9)](this[_0x3ecf87(0x159)][_0x3ecf87(0x34a)]()),this[_0x3ecf87(0x11c)]();const _0x4579f4=this[_0x3ecf87(0x159)];_0x348f62&&_0x4579f4 instanceof Pe&&(this['_lockTransition'](),this['_updateState'](_0x4579f4[_0x3ecf87(0x2f3)]()),this[_0x3ecf87(0x11c)]());}async[_0x311346(0x19b)](){return new Promise(_0x39e4f8=>{var _0x55c8fd=_0x30a1;this[_0x55c8fd(0x1f1)][_0x55c8fd(0x2a9)][_0x55c8fd(0x178)](_0x37ee7a(0x1))[_0x55c8fd(0x14f)](async _0x3a2aca=>{var _0x1f4d0c=_0x55c8fd;_0x39e4f8(await this[_0x1f4d0c(0x136)](_0x3a2aca===Ie[_0x1f4d0c(0x27f)]));});});}[_0x311346(0x284)](){var _0xdfb70b=_0x311346;const _0x240fed=this[_0xdfb70b(0x389)];return{'onStateChange':(_0x34337f,_0x5b9077)=>{var _0x1d4453=_0xdfb70b;if(_0x34337f!==this[_0x1d4453(0x159)])throw new Error(_0x1d4453(0xcc)+_0x34337f[_0x1d4453(0xd4)]+'\x0aAfter:\x20'+_0x5b9077[_0x1d4453(0xd4)]+'\x0aCurrent:\x20'+this[_0x1d4453(0x159)][_0x1d4453(0xd4)]);this['_updateState'](_0x5b9077);},'onSendChangeset':_0x4dd0a6=>{var _0x49f1b0=_0xdfb70b;_0x4dd0a6[_0x49f1b0(0x148)]||(_0x4dd0a6[_0x49f1b0(0x148)]=this['_changesetSessionId'],_0x4dd0a6['reqId']=++this[_0x49f1b0(0x1df)]);const _0x4e323f={'eventID':_0x554366[_0x49f1b0(0x1da)],'data':{'unitID':_0x4dd0a6[_0x49f1b0(0x389)],'unitType':this['_type'],'changeset':_0x4dd0a6,'memberID':this['session'][_0x49f1b0(0x297)]()}};this[_0x49f1b0(0x1f1)]['send'](_0x4e323f,this[_0x49f1b0(0x389)]);},'onMissingChangesets':({from:_0x4fc300,to:_0x545201})=>{var _0x33bcca=_0xdfb70b;this[_0x33bcca(0x383)][_0x33bcca(0xf7)](_0x33bcca(0x1ab),_0x33bcca(0x307)+_0x4fc300+_0x33bcca(0x24e)+_0x545201);const _0x80b12f={'eventID':_0x554366[_0x33bcca(0xab)],'data':{'unitID':_0x240fed,'unitType':this['_type'],'from':_0x4fc300,'to':_0x545201}};this['session'][_0x33bcca(0x337)](_0x80b12f,this[_0x33bcca(0x389)]);}};}async[_0x311346(0x136)](_0x351a66){var _0xeeabe7=_0x311346,_0x29a51a,_0x4c1cea,_0x523869;const _0x5f0915=await((_0x29a51a=this['_localCacheService'])==null?void 0x0:_0x29a51a[_0xeeabe7(0x251)](this[_0xeeabe7(0x389)])),_0x46a135=(_0x4c1cea=_0x5f0915==null?void 0x0:_0x5f0915[_0xeeabe7(0x100)])!=null?_0x4c1cea:[],_0x40b063=(_0x523869=_0x5f0915==null?void 0x0:_0x5f0915['awaitingChangeset'])!=null?_0x523869:null,_0x2af0a1=!!(_0x40b063!=null&&_0x40b063['sid'])&&!!(_0x40b063!=null&&_0x40b063[_0xeeabe7(0xe1)]);this[_0xeeabe7(0x385)]=_0x2af0a1?_0x40b063[_0xeeabe7(0x148)]:fs(),this['_changesetReqId']=_0x2af0a1?_0x40b063['reqId']:0x0;const _0x37d71a=this[_0xeeabe7(0x389)];try{this[_0xeeabe7(0x12f)](_0x40b063,_0x46a135);}catch(_0x549903){this[_0xeeabe7(0x383)][_0xeeabe7(0x38e)](_0x549903);}const _0x4d24f1=this[_0xeeabe7(0x284)]();if(_0x351a66){const _0xef7e50=Ni(this[_0xeeabe7(0xf8)],_0x37d71a,this[_0xeeabe7(0x25e)],_0x40b063,_0x46a135,_0x4d24f1);return _0xef7e50 instanceof re?_0xef7e50[_0xeeabe7(0x243)]():(_0xef7e50 instanceof oe||_0xef7e50 instanceof ue)&&_0xef7e50['resend'](),_0xef7e50;}return this[_0xeeabe7(0xf8)]['createInstance'](fe,_0x37d71a,this[_0xeeabe7(0x25e)],_0x40b063,_0x46a135,_0x4d24f1);}[_0x311346(0x12f)](_0xe80c1c,_0x317375){var _0x392b33=_0x311346,_0x5d7a13,_0x3d1b26;const _0x27c07e=this[_0x392b33(0x384)]['interceptor'][_0x392b33(0x266)](this[_0x392b33(0x384)][_0x392b33(0x142)][_0x392b33(0xe2)]()[_0x392b33(0xa7)]);(_0x5d7a13=_0x27c07e((_0xe80c1c==null?void 0x0:_0xe80c1c[_0x392b33(0x100)])||[],null))==null||_0x5d7a13[_0x392b33(0x1b8)](_0x3c1bee=>this[_0x392b33(0x1fd)]['executeCommand'](_0x3c1bee['id'],_0x3c1bee[_0x392b33(0x13d)])),(_0x3d1b26=_0x27c07e(_0x317375||[],null))==null||_0x3d1b26[_0x392b33(0x1b8)](_0x706d28=>this[_0x392b33(0x1fd)][_0x392b33(0x118)](_0x706d28['id'],_0x706d28[_0x392b33(0x13d)]));}};st=Mt([k(0x3,_0x558686(_0x398a6e)),k(0x4,_0x558686(_0x2f9061)),k(0x5,_0x558686(_0x171710)),k(0x6,_0x558686(_0x42fee1)),k(0x7,_0x558686(pe)),k(0x8,_0x131104),k(0x9,_0x288e4d),k(0xa,_0x5ea19c),k(0xb,_0x36723f(_t)),k(0xc,_0x36723f(X))],st);let Ct=class extends st{constructor(_0x2d73a6,_0x450303,_0x966a43,_0x21311e,_0x1cf434,_0x560a6b,_0x30b204,_0x2f388c,_0x587877,_0x43b48c,_0x2ed065,_0x2704d6,_0x57769f){var _0x58cff8=_0x311346;super(_0x2d73a6,_0x966a43,_0x450303,_0x21311e,_0x1cf434,_0x560a6b,_0x30b204,_0x2f388c,_0x587877,_0x43b48c,_0x2ed065,_0x2704d6,_0x57769f),D(this,_0x58cff8(0x2a4),null),(this[_0x58cff8(0x389)]=_0x2d73a6,this[_0x58cff8(0xe6)]=_0x450303);}[_0x311346(0x29e)](_0xcac7ac){this['_handlerCallback']=_0xcac7ac;}['dispose'](){var _0x10f272=_0x311346;this[_0x10f272(0x2a4)]=null,super[_0x10f272(0x2f9)]();}['_createHandler'](){var _0x3aa774=_0x311346;const _0x5edca0=super[_0x3aa774(0x284)]();return _0x5edca0[_0x3aa774(0x2fe)]=_0x5b0aa1=>{var _0x273fff=_0x3aa774,_0x3149c6,_0x54bd79;return(_0x54bd79=(_0x3149c6=this[_0x273fff(0x2a4)])==null?void 0x0:_0x3149c6['onTransformIME'])==null?void 0x0:_0x54bd79[_0x273fff(0x15e)](_0x3149c6,_0x5b0aa1);},_0x5edca0[_0x3aa774(0x38a)]=_0x2d91e9=>{var _0x9ea813=_0x3aa774,_0x5d3db7,_0x5893dc;return(_0x5893dc=(_0x5d3db7=this['_handlerCallback'])==null?void 0x0:_0x5d3db7[_0x9ea813(0x38a)])==null?void 0x0:_0x5893dc[_0x9ea813(0x15e)](_0x5d3db7,_0x2d91e9);},_0x5edca0[_0x3aa774(0x13b)]=_0x5718fe=>{var _0x1b540e=_0x3aa774,_0x5a8467,_0x177271;return(_0x177271=(_0x5a8467=this[_0x1b540e(0x2a4)])==null?void 0x0:_0x5a8467[_0x1b540e(0x13b)])==null?void 0x0:_0x177271['call'](_0x5a8467,_0x5718fe);},_0x5edca0[_0x3aa774(0x28e)]=_0xa7dc71=>{var _0x3d42d2=_0x3aa774,_0x395153,_0x59e8fe;return(_0x59e8fe=(_0x395153=this[_0x3d42d2(0x2a4)])==null?void 0x0:_0x395153['onSyncEditingCollabCursor'])==null?void 0x0:_0x59e8fe[_0x3d42d2(0x15e)](_0x395153,_0xa7dc71);},_0x5edca0[_0x3aa774(0x256)]=_0x517446=>{var _0x17a426=_0x3aa774,_0x4418ce,_0x170a94,_0x15f8f2;if(!((_0x4418ce=this[_0x17a426(0x2a4)])!=null&&_0x4418ce[_0x17a426(0x256)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x15f8f2=(_0x170a94=this[_0x17a426(0x2a4)])==null?void 0x0:_0x170a94['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x15f8f2[_0x17a426(0x15e)](_0x170a94,_0x517446);},_0x5edca0[_0x3aa774(0x117)]=_0x3f15eb=>{var _0x130472=_0x3aa774,_0x5ed2c2,_0x24cb2b,_0x15fd99;if(!((_0x5ed2c2=this['_handlerCallback'])!=null&&_0x5ed2c2[_0x130472(0x117)]))throw new Error(_0x130472(0x1e1));return(_0x15fd99=(_0x24cb2b=this['_handlerCallback'])==null?void 0x0:_0x24cb2b[_0x130472(0x117)])==null?void 0x0:_0x15fd99[_0x130472(0x15e)](_0x24cb2b,_0x3f15eb);},_0x5edca0;}async['_init'](){var _0x2ec02e=_0x311346;const _0x12f389=await super[_0x2ec02e(0x31d)]();return this[_0x2ec02e(0x2db)](this[_0x2ec02e(0x1fd)]['onCommandExecuted']((_0x1443ad,_0x2b6462)=>{var _0x5041ed=_0x2ec02e;if(_0x1443ad['type']!==_0x25bb9a[_0x5041ed(0xa3)]||_0x2b6462!=null&&_0x2b6462[_0x5041ed(0x2ca)]||_0x2b6462!=null&&_0x2b6462['onlyLocal']||_0x1443ad['id']===_0x5001f4['id'])return;const _0x37c1c0=_0x1443ad[_0x5041ed(0x13d)];if((_0x37c1c0==null?void 0x0:_0x37c1c0[_0x5041ed(0x162)])!==this[_0x5041ed(0x389)])return;const _0xde6b76=_0x1443ad,_0x1cc67b=this['_compressMutationService'][_0x5041ed(0x142)][_0x5041ed(0x266)](this[_0x5041ed(0x384)]['interceptor']['getInterceptPoints']()[_0x5041ed(0x198)])([_0xde6b76],null)||[_0xde6b76];this[_0x5041ed(0x1e5)](_0x1cc67b[0x0]);})),_0x12f389;}};Ct=Mt([k(0x3,_0x558686(_0x398a6e)),k(0x4,_0x558686(_0x2f9061)),k(0x5,_0x558686(_0x171710)),k(0x6,_0x558686(_0x42fee1)),k(0x7,_0x558686(pe)),k(0x8,_0x131104),k(0x9,_0x288e4d),k(0xa,_0x5ea19c),k(0xb,_0x36723f(_t)),k(0xc,_0x36723f(X))],Ct);let bt=class extends st{constructor(_0x57c1d8,_0x209b06,_0x5cd805,_0x15bae6,_0x21df6c,_0x34c8c2,_0x342b95,_0x1c55e2,_0x2b9a4b,_0x324810,_0x55031b,_0x3c5b7f,_0xd2bc27,_0x304fd3){var _0x4b082f=_0x311346;super(_0x57c1d8,_0x5cd805,_0x209b06,_0x15bae6,_0x21df6c,_0x34c8c2,_0x342b95,_0x2b9a4b,_0x324810,_0x55031b,_0x3c5b7f,_0xd2bc27,_0x304fd3),this['unitID']=_0x57c1d8,this[_0x4b082f(0xe6)]=_0x209b06,this[_0x4b082f(0x2d9)]=_0x1c55e2;}[_0x311346(0x284)](){var _0x3d6e46=_0x311346;const _0x8a2e20=super[_0x3d6e46(0x284)]();return _0x8a2e20[_0x3d6e46(0x13b)]=_0x23415b=>this[_0x3d6e46(0x2d9)]['transformSelections'](_0x23415b),_0x8a2e20;}async[_0x311346(0x31d)](){var _0x2e2ba2=_0x311346;const _0x371074=await super[_0x2e2ba2(0x31d)]();return this[_0x2e2ba2(0x2db)](this[_0x2e2ba2(0x1fd)][_0x2e2ba2(0x264)]((_0x46694e,_0x136169)=>{var _0xde2ed2=_0x2e2ba2;if(_0x46694e[_0xde2ed2(0xe6)]!==_0x25bb9a['MUTATION']||_0x136169!=null&&_0x136169['fromCollab']||_0x136169!=null&&_0x136169['onlyLocal'])return;const _0x419904=_0x46694e[_0xde2ed2(0x13d)];if((_0x419904==null?void 0x0:_0x419904[_0xde2ed2(0x162)])!==this['unitID'])return;const _0x38519b=_0x46694e,_0xc478cb=this[_0xde2ed2(0x384)][_0xde2ed2(0x142)][_0xde2ed2(0x266)](this['_compressMutationService'][_0xde2ed2(0x142)][_0xde2ed2(0xe2)]()[_0xde2ed2(0x198)])([_0x38519b],null)||[_0x38519b];this[_0xde2ed2(0x1e5)](_0xc478cb[0x0]);})),_0x371074;}};bt=Mt([k(0x3,_0x558686(_0x398a6e)),k(0x4,_0x558686(_0x2f9061)),k(0x5,_0x558686(_0x171710)),k(0x6,_0x558686(_0x42fee1)),k(0x7,_0x558686(nt)),k(0x8,_0x558686(pe)),k(0x9,_0x131104),k(0xa,_0x288e4d),k(0xb,_0x5ea19c),k(0xc,_0x36723f(_t)),k(0xd,_0x36723f(X))],bt);var ys=Object[_0x311346(0x1ad)],Os=Object[_0x311346(0x122)],Ps=(_0x1e4bc9,_0x146bc6,_0x29dde3,_0x3eac07)=>{var _0x104e5a=_0x311346;for(var _0x5c89c2=_0x3eac07>0x1?void 0x0:_0x3eac07?Os(_0x146bc6,_0x29dde3):_0x146bc6,_0x375a99=_0x1e4bc9[_0x104e5a(0xa6)]-0x1,_0x15cccc;_0x375a99>=0x0;_0x375a99--)(_0x15cccc=_0x1e4bc9[_0x375a99])&&(_0x5c89c2=(_0x3eac07?_0x15cccc(_0x146bc6,_0x29dde3,_0x5c89c2):_0x15cccc(_0x5c89c2))||_0x5c89c2);return _0x3eac07&&_0x5c89c2&&ys(_0x146bc6,_0x29dde3,_0x5c89c2),_0x5c89c2;},vt=(_0x5478d9,_0x4e12d3)=>(_0xede5c5,_0x2d5a0b)=>_0x4e12d3(_0xede5c5,_0x2d5a0b,_0x5478d9);let rt=class extends _0xb2416e{constructor(_0x59b762,_0x4cc46f,_0x188b63){var _0x14268e=_0x311346;super(),D(this,_0x14268e(0x2e4),new Map()),D(this,'_entityInit$',new _0x8ea31a()),D(this,_0x14268e(0x37b),this[_0x14268e(0x2f4)][_0x14268e(0x23f)]()),(this[_0x14268e(0xf8)]=_0x59b762,this[_0x14268e(0x26a)]=_0x4cc46f,this[_0x14268e(0x129)]=_0x188b63,this[_0x14268e(0x31d)]());}[_0x311346(0x2f9)](){var _0x4dbaf2=_0x311346;super['dispose'](),this[_0x4dbaf2(0x2e4)][_0x4dbaf2(0x1b8)](_0x16b449=>_0x16b449[_0x4dbaf2(0x2f9)]()),this[_0x4dbaf2(0x2e4)][_0x4dbaf2(0x258)]();}[_0x311346(0x250)](_0x46ef83){var _0x346f89=_0x311346,_0xbf8e58;return(_0xbf8e58=this['_entities'][_0x346f89(0xfd)](_0x46ef83))!=null?_0xbf8e58:null;}[_0x311346(0x2ac)](_0x46836b){var _0x4c815c=_0x311346;const _0x331c39=this['getCollabEntity'](_0x46836b);return _0x331c39?_0x28e80b(_0x331c39):this[_0x4c815c(0x2f4)]['pipe'](_0x12fce4(_0x4ff80e=>_0x4ff80e[_0x4c815c(0x389)]===_0x46836b));}[_0x311346(0x32b)](_0x4d1be1){var _0x43ec66=_0x311346;return _0x150a11(this[_0x43ec66(0x2ac)](_0x4d1be1)[_0x43ec66(0x178)](_0x339470(()=>{})));}['_init'](){var _0xaf3ead=_0x311346;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x284db2['UNIVER_SHEET'])[_0xaf3ead(0x178)](_0x193c85(this['dispose$']),_0x234125(0x10))[_0xaf3ead(0x14f)](async _0x2e0dad=>{var _0x3d0a68=_0xaf3ead;const _0x32c394=_0x2e0dad[_0x3d0a68(0x2fa)](),_0x387e2c=await this[_0x3d0a68(0xa5)](_0x32c394,Q[_0x3d0a68(0x21d)]);this[_0x3d0a68(0x2e4)][_0x3d0a68(0x312)](_0x32c394,_0x387e2c);}),this[_0xaf3ead(0x129)]['getTypeOfUnitAdded$'](_0x284db2[_0xaf3ead(0x28b)])['pipe'](_0x193c85(this['dispose$']),_0x234125(0x10))[_0xaf3ead(0x178)](_0x12fce4(_0x417999=>!_0x417999[_0xaf3ead(0x2fa)]()[_0xaf3ead(0x16a)]('__')))[_0xaf3ead(0x14f)](async _0x37707e=>{var _0x44a7f3=_0xaf3ead;const _0x495a77=_0x37707e[_0x44a7f3(0x2fa)](),_0x16b84c=await this['_startCollaboration'](_0x495a77,Q[_0x44a7f3(0x28b)]);this['_entities']['set'](_0x495a77,_0x16b84c);}),_0x171772(this[_0xaf3ead(0x129)]['getTypeOfUnitDisposed$'](_0x284db2['UNIVER_SHEET']),this[_0xaf3ead(0x129)]['getTypeOfUnitDisposed$'](_0x284db2[_0xaf3ead(0x28b)]))[_0xaf3ead(0x178)](_0x193c85(this[_0xaf3ead(0xc4)]))[_0xaf3ead(0x14f)](_0x269f17=>{var _0x3b1521=_0xaf3ead;const _0x171ca6=_0x269f17[_0x3b1521(0x2fa)](),_0x465563=this[_0x3b1521(0x2e4)][_0x3b1521(0xfd)](_0x171ca6);_0x465563&&(_0x465563[_0x3b1521(0x2f9)](),this[_0x3b1521(0x2e4)][_0x3b1521(0x2dc)](_0x171ca6));});}async[_0x311346(0xa5)](_0x469437,_0x1a10ac){var _0x2d7fa0=_0x311346;const _0x3cf1e8=await this['_collabSessionService']['requireSession'](_0x469437),_0x4cb79f=this[_0x2d7fa0(0xf8)][_0x2d7fa0(0xa0)](this[_0x2d7fa0(0x30c)](_0x1a10ac),_0x469437,_0x1a10ac,_0x3cf1e8);return await _0x4cb79f[_0x2d7fa0(0x24b)](),this[_0x2d7fa0(0x2f4)]['next'](_0x4cb79f),_0x4cb79f;}[_0x311346(0x30c)](_0x5ba04f){var _0xedf522=_0x311346;switch(_0x5ba04f){case Q['UNIVER_DOC']:return Ct;case Q[_0xedf522(0x21d)]:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5ba04f);}}};rt=Ps([vt(0x0,_0x558686(_0x398a6e)),vt(0x1,_0x558686(Me)),vt(0x2,_0x255145)],rt);var Ns=Object[_0x311346(0x1ad)],Ds=Object[_0x311346(0x122)],ws=(_0x394db9,_0x1bc1c3,_0x4b7c58,_0x42ecc3)=>{var _0x19e663=_0x311346;for(var _0x538e03=_0x42ecc3>0x1?void 0x0:_0x42ecc3?Ds(_0x1bc1c3,_0x4b7c58):_0x1bc1c3,_0x330686=_0x394db9[_0x19e663(0xa6)]-0x1,_0x53d255;_0x330686>=0x0;_0x330686--)(_0x53d255=_0x394db9[_0x330686])&&(_0x538e03=(_0x42ecc3?_0x53d255(_0x1bc1c3,_0x4b7c58,_0x538e03):_0x53d255(_0x538e03))||_0x538e03);return _0x42ecc3&&_0x538e03&&Ns(_0x1bc1c3,_0x4b7c58,_0x538e03),_0x538e03;},Xt=(_0x256630,_0x51e41d)=>(_0x5542f7,_0x39f108)=>_0x51e41d(_0x5542f7,_0x39f108,_0x256630);const Us=_0x311346(0x12b),As=_0x311346(0x263);let Rt=class extends _0x3ca25e{constructor(_0x3639d3,_0x545626){var _0x114b19=_0x311346;super(),this[_0x114b19(0x129)]=_0x3639d3,this['_configService']=_0x545626,this[_0x114b19(0x31d)]();}['_init'](){var _0x56680b=_0x311346;this[_0x56680b(0x2db)](this[_0x56680b(0x129)][_0x56680b(0x180)]['subscribe'](()=>{var _0x585ea0=_0x56680b,_0xccb34d;const _0x47b384=this['_univerInstanceService'][_0x585ea0(0x144)]();let _0x511d87=(_0xccb34d=this['_configService'][_0x585ea0(0x276)](Us))!=null?_0xccb34d:As;_0x47b384 instanceof _0x59af06&&(_0x511d87=_0x47b384[_0x585ea0(0xdb)]),document[_0x585ea0(0x238)]=_0x511d87;}));}};function _0x30a1(_0x53bd49,_0x19c827){var _0x94fafb=_0x94fa();return _0x30a1=function(_0x30a1cc,_0x1b41af){_0x30a1cc=_0x30a1cc-0x9f;var _0x450bad=_0x94fafb[_0x30a1cc];return _0x450bad;},_0x30a1(_0x53bd49,_0x19c827);}Rt=ws([Xt(0x0,_0x255145),Xt(0x1,_0xd9deb0)],Rt);var xs=Object[_0x311346(0x1ad)],Ls=Object[_0x311346(0x122)],Ms=(_0x43becb,_0x33d3f2,_0x579ae6,_0x5982bc)=>{for(var _0x24ab19=_0x5982bc>0x1?void 0x0:_0x5982bc?Ls(_0x33d3f2,_0x579ae6):_0x33d3f2,_0x2ddbfb=_0x43becb['length']-0x1,_0x339359;_0x2ddbfb>=0x0;_0x2ddbfb--)(_0x339359=_0x43becb[_0x2ddbfb])&&(_0x24ab19=(_0x5982bc?_0x339359(_0x33d3f2,_0x579ae6,_0x24ab19):_0x339359(_0x24ab19))||_0x24ab19);return _0x5982bc&&_0x24ab19&&xs(_0x33d3f2,_0x579ae6,_0x24ab19),_0x24ab19;},pt=(_0x9707b6,_0x57b7d3)=>(_0x13c172,_0x180889)=>_0x57b7d3(_0x13c172,_0x180889,_0x9707b6);let ot=class{constructor(_0x467716,_0x1325fa,_0x405599){var _0x2cc7f3=_0x311346;this['_configService']=_0x467716,this['_httpService']=_0x1325fa,this[_0x2cc7f3(0x330)]=_0x405599,this[_0x2cc7f3(0x24b)]();}[_0x311346(0x24b)](){var _0x1f87bd=_0x311346;this[_0x1f87bd(0x2df)][_0x1f87bd(0x30b)]({'priority':0x1,'interceptor':(_0x2a6f60,_0x44c5c0)=>_0x44c5c0(_0x2a6f60)['pipe'](_0x5793a7(async _0x5dd2ca=>{var _0x31ced8=_0x1f87bd;const _0x65c82d=_0x5dd2ca;if(_0x65c82d['status']===0x191){if(typeof window>'u')throw new Error(_0x31ced8(0x278));if(window[_0x31ced8(0x214)](this[_0x31ced8(0x330)]['t']('auth.needGotoLoginAlert'))){const _0x21add1=window[_0x31ced8(0x2a0)](window[_0x31ced8(0x164)][_0x31ced8(0x3a5)]);window[_0x31ced8(0x164)]['href']=this[_0x31ced8(0xc9)]()+_0x31ced8(0x309)+_0x21add1;}}return _0x65c82d;}))});}[_0x311346(0xc9)](){var _0x496846=_0x311346,_0x15a7b1,_0x2afcbf;const _0x20b04d=this[_0x496846(0x267)][_0x496846(0x276)](Fn),_0x1b38b1=this['_configService'][_0x496846(0x276)](Y);return(_0x2afcbf=(_0x15a7b1=_0x1b38b1==null?void 0x0:_0x1b38b1[_0x496846(0xdf)])!=null?_0x15a7b1:_0x20b04d)!=null?_0x2afcbf:Vn;}};ot=Ms([pt(0x0,_0xd9deb0),pt(0x1,_0x558686(_0x44812c)),pt(0x2,_0x558686(_0x171710))],ot);var $s=Object[_0x311346(0x1ad)],Hs=Object[_0x311346(0x122)],ks=(_0x4753a0,_0x5a931e,_0x516d7a,_0x2458b1)=>{var _0x509790=_0x311346;for(var _0x3ed566=_0x2458b1>0x1?void 0x0:_0x2458b1?Hs(_0x5a931e,_0x516d7a):_0x5a931e,_0x4ec2f2=_0x4753a0[_0x509790(0xa6)]-0x1,_0x1ed136;_0x4ec2f2>=0x0;_0x4ec2f2--)(_0x1ed136=_0x4753a0[_0x4ec2f2])&&(_0x3ed566=(_0x2458b1?_0x1ed136(_0x5a931e,_0x516d7a,_0x3ed566):_0x1ed136(_0x3ed566))||_0x3ed566);return _0x2458b1&&_0x3ed566&&$s(_0x5a931e,_0x516d7a,_0x3ed566),_0x3ed566;},Zt=(_0x4fb938,_0x166d3d)=>(_0x3bc3c9,_0x1a8653)=>_0x166d3d(_0x3bc3c9,_0x1a8653,_0x4fb938);const Di=_0x311346(0x352),js=_0x311346(0xc2);let yt=class extends _0x3ca25e{constructor(_0x51a041,_0x447263){var _0x537eaf=_0x311346;super(),this[_0x537eaf(0x1ce)]=_0x51a041,this[_0x537eaf(0x267)]=_0x447263,this[_0x537eaf(0x1c9)]();}[_0x311346(0x1c9)](){var _0x4f5e35=_0x311346;const _0x4aa4ef=this;this[_0x4f5e35(0x2db)](this['_HTTPService'][_0x4f5e35(0x30b)]({'priority':0x3e7,'interceptor':_0x16efc0({'isMatch'(_0x53a031){var _0x5b97f4=_0x4f5e35,_0x3f8456;if(_0x53a031[_0x5b97f4(0xe8)]===_0x5b97f4(0x20b)&&((_0x3f8456=_0x53a031[_0x5b97f4(0x1c0)])!=null&&_0x3f8456['body'])){const {objectID:_0x44e5a1,objectType:_0x10820e}=_0x53a031[_0x5b97f4(0x1c0)][_0x5b97f4(0x31e)]||{};if(!_0x44e5a1||_0x10820e===void 0x0)return!0x1;const _0x19227d=_0x4aa4ef['_getAPIPrefixPath']()+'/'+_0x10820e+_0x5b97f4(0x287)+_0x44e5a1+_0x5b97f4(0x169);if(_0x53a031[_0x5b97f4(0x2d2)]===_0x19227d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4cff3d){var _0x5cf617=_0x4f5e35,_0xe38fa4;return(_0xe38fa4=_0x4cff3d[_0x5cf617(0x1c0)])==null?void 0x0:_0xe38fa4[_0x5cf617(0x31e)];},'mergeParamsToRequest'(_0x457ae4,_0x135618){var _0x299d1d=_0x4f5e35;const _0x3e955e=_0x4aa4ef[_0x299d1d(0x1e6)]()+_0x299d1d(0xc6),_0xe773c8=_0x457ae4[_0x299d1d(0x1d0)]((_0xe603ce,_0x8eba3e)=>{var _0x1a5173=_0x299d1d;const {unitID:_0x5b072e,objectID:_0x5e39d9,objectType:_0x3f2c19,actions:_0x18b005}=_0x8eba3e;return _0xe603ce[_0x5b072e]||(_0xe603ce[_0x5b072e]={}),_0xe603ce[_0x5b072e][_0x5e39d9]||(_0xe603ce[_0x5b072e][_0x5e39d9]={'objectID':_0x5e39d9,'objectType':_0x3f2c19,'actions':[]}),_0xe603ce[_0x5b072e][_0x5e39d9][_0x1a5173(0x347)][_0x1a5173(0x280)](..._0x18b005),_0xe603ce;},{}),_0x43fb77=[];for(const _0x5bfcea in _0xe773c8)for(const _0x391604 in _0xe773c8[_0x5bfcea]){const {actions:_0x553268,objectType:_0x103b2f}=_0xe773c8[_0x5bfcea][_0x391604],_0x5345b4=[...new Set(_0x553268)];_0x43fb77[_0x299d1d(0x280)]({'unitID':_0x5bfcea,'objectID':_0x391604,'objectType':_0x103b2f,'actions':_0x5345b4});}return new _0x3707e8('POST',_0x3e955e,{'headers':_0x135618[_0x299d1d(0x2cc)],'withCredentials':_0x135618['withCredentials'],'responseType':_0x135618[_0x299d1d(0x371)],'body':{'requests':_0x43fb77}});}},{'distributeResult'(_0x3c787c,_0x5da2a5){var _0x1c2901=_0x4f5e35;const {objectActions:_0xd62865}=_0x3c787c;return _0x5da2a5[_0x1c2901(0x262)](_0x44f9cb=>{var _0x261232=_0x1c2901;const {unitID:_0x51aec2,objectID:_0x22440d,actions:_0x141b66}=_0x44f9cb,_0x324e1b=_0xd62865[_0x261232(0x202)](_0x14e433=>_0x14e433['unitID']===_0x51aec2&&_0x14e433[_0x261232(0x18a)]===_0x22440d),_0x231ae8=_0x141b66[_0x261232(0x262)](_0x57bad3=>_0x324e1b==null?void 0x0:_0x324e1b[_0x261232(0x347)][_0x261232(0x202)](_0x29283d=>_0x29283d['action']===_0x57bad3))['filter'](_0x3d0be0=>!!_0x3d0be0);return{'config':_0x44f9cb,'result':{'actions':_0x231ae8,'error':_0x3c787c[_0x261232(0x38e)]}};});}})}));}[_0x311346(0x1e6)](){var _0x4462a0=_0x311346,_0x8d593,_0x5886bb;const _0x2857a5=this[_0x4462a0(0x267)][_0x4462a0(0x276)](Di),_0x543d34=this[_0x4462a0(0x267)][_0x4462a0(0x276)](Y);return(_0x5886bb=(_0x8d593=_0x543d34==null?void 0x0:_0x543d34[_0x4462a0(0x36f)])!=null?_0x8d593:_0x2857a5)!=null?_0x5886bb:js;}async[_0x311346(0x394)](_0x2f617d){var _0x47025e=_0x311346;const _0x2357e5=this['_getAPIPrefixPath']()+'/'+_0x2f617d[_0x47025e(0x1fb)]+_0x47025e(0x255);return(await this['_HTTPService'][_0x47025e(0x105)](_0x2357e5,{'body':_0x2f617d}))['body'][_0x47025e(0x18a)]||'';}async[_0x311346(0x114)](_0x742b46){var _0x43ab00=_0x311346;const _0x1da526=this[_0x43ab00(0x1e6)]()+_0x43ab00(0x170);return(await this['_HTTPService'][_0x43ab00(0x105)](_0x1da526,{'body':_0x742b46}))[_0x43ab00(0x31e)]['objects'];}async[_0x311346(0x1a7)](_0x162bbf){var _0x4b8086=_0x311346;const _0x175754=this[_0x4b8086(0x1e6)]()+'/'+_0x162bbf[_0x4b8086(0x1fb)]+_0x4b8086(0x287)+_0x162bbf[_0x4b8086(0x18a)];await this['_HTTPService'][_0x4b8086(0x10e)](_0x175754,{'body':_0x162bbf});}async[_0x311346(0x282)](_0x5b1679){var _0x58b5d9=_0x311346;const _0x2f00d8=this[_0x58b5d9(0x1e6)]()+'/'+_0x5b1679[_0x58b5d9(0x1fb)]+'/object/'+_0x5b1679[_0x58b5d9(0x18a)]+'/allowed';return(await this[_0x58b5d9(0x1ce)][_0x58b5d9(0x105)](_0x2f00d8,{'body':_0x5b1679}))[_0x58b5d9(0x31e)][_0x58b5d9(0x347)];}async[_0x311346(0x24a)](_0x1ace67){var _0x12ea7f=_0x311346;const _0x55170b=this['_getAPIPrefixPath']()+_0x12ea7f(0xc6);return(await this[_0x12ea7f(0x1ce)][_0x12ea7f(0x105)](_0x55170b,{'body':{'requests':_0x1ace67}}))[_0x12ea7f(0x31e)]['objectActions'];}async['listRoles'](_0x3df315){var _0x31eb7e=_0x311346;const _0x3bb746=this['_getAPIPrefixPath']()+'/'+_0x3df315['objectType']+'/role',_0x475cc4=await this[_0x31eb7e(0x1ce)][_0x31eb7e(0x105)](_0x3bb746,{'body':_0x3df315});return{'roles':_0x475cc4['body']['roles'],'actions':_0x475cc4[_0x31eb7e(0x31e)][_0x31eb7e(0x347)]};}async['deleteCollaborator'](_0x2e2c66){var _0x307e56=_0x311346;const _0x3a8e83=this[_0x307e56(0x1e6)]()+_0x307e56(0x35a);await this[_0x307e56(0x1ce)][_0x307e56(0x2dc)](_0x3a8e83,{'params':{'collaboratorID':_0x2e2c66['collaboratorID'],'objectID':_0x2e2c66[_0x307e56(0x18a)],'unitID':_0x2e2c66[_0x307e56(0x389)]}});}async['updateCollaborator'](_0x4392f4){var _0x1f24ce=_0x311346;const _0x5228bf=this[_0x1f24ce(0x1e6)]()+_0x1f24ce(0x35a);await this['_HTTPService'][_0x1f24ce(0x14e)](_0x5228bf,{'body':_0x4392f4});}async[_0x311346(0x1a3)](_0x262ce6){var _0x304802=_0x311346;const _0x231d9b=this[_0x304802(0x1e6)]()+_0x304802(0x35a);await this[_0x304802(0x1ce)][_0x304802(0x105)](_0x231d9b,{'body':_0x262ce6});}async['listCollaborators'](_0x8a1d0e){var _0x23915d=_0x311346;const _0x7ae410=this[_0x23915d(0x1e6)]()+_0x23915d(0x35a);return(await this[_0x23915d(0x1ce)][_0x23915d(0xfd)](_0x7ae410,{'params':{'objectID':_0x8a1d0e[_0x23915d(0x18a)],'unitID':_0x8a1d0e[_0x23915d(0x389)]}}))[_0x23915d(0x31e)][_0x23915d(0x2e0)];}async[_0x311346(0x235)](_0x154066){var _0x4f888b=_0x311346;const _0x1137b8=this[_0x4f888b(0x1e6)]()+'/collaborator';await this[_0x4f888b(0x1ce)][_0x4f888b(0x10e)](_0x1137b8,{'body':_0x154066});}};yt=ks([Zt(0x0,_0x558686(_0x44812c)),Zt(0x1,_0x558686(_0xd9deb0))],yt);var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x7a33f2){var _0x46d46e=_0x311346;return _0x7a33f2&&_0x7a33f2[_0x46d46e(0x365)]&&Object[_0x46d46e(0x2e7)][_0x46d46e(0xd0)]['call'](_0x7a33f2,_0x46d46e(0x143))?_0x7a33f2['default']:_0x7a33f2;}var We={'exports':{}};function Bs(_0x1cf361){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1cf361+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Fs=Ge[_0x311346(0x16e)],Qt;function ne(){var _0x1b2a97=_0x311346;return Qt||(Qt=0x1,function(_0x267d54,_0x44a840){(function(_0xd7f918,_0x2cb3ef){var _0x158fcc=_0x30a1;_0x267d54[_0x158fcc(0x16e)]=_0x2cb3ef();}(Fs,function(){var _0x2d9ae4=_0x2d9ae4||function(_0x32d72c,_0x3fdef2){var _0x3d4684=_0x30a1,_0x1ab121;if(typeof window<'u'&&window['crypto']&&(_0x1ab121=window[_0x3d4684(0x1f0)]),typeof self<'u'&&self[_0x3d4684(0x1f0)]&&(_0x1ab121=self[_0x3d4684(0x1f0)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1ab121=globalThis[_0x3d4684(0x1f0)]),!_0x1ab121&&typeof window<'u'&&window[_0x3d4684(0x23a)]&&(_0x1ab121=window[_0x3d4684(0x23a)]),!_0x1ab121&&typeof gt<'u'&&gt[_0x3d4684(0x1f0)]&&(_0x1ab121=gt['crypto']),!_0x1ab121&&typeof Bs=='function')try{_0x1ab121=require(_0x3d4684(0x1f0));}catch{}var _0x2783cb=function(){var _0x21cd16=_0x3d4684;if(_0x1ab121){if(typeof _0x1ab121[_0x21cd16(0x2c9)]==_0x21cd16(0x138))try{return _0x1ab121[_0x21cd16(0x2c9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1ab121['randomBytes']=='function')try{return _0x1ab121[_0x21cd16(0x1a0)](0x4)[_0x21cd16(0x321)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x31a350=Object[_0x3d4684(0x394)]||(function(){function _0x45241c(){}return function(_0x51f150){var _0x1663ee=_0x30a1,_0x9a9732;return _0x45241c[_0x1663ee(0x2e7)]=_0x51f150,_0x9a9732=new _0x45241c(),_0x45241c[_0x1663ee(0x2e7)]=null,_0x9a9732;};}()),_0x4e10c8={},_0xeaeb95=_0x4e10c8['lib']={},_0x38d912=_0xeaeb95[_0x3d4684(0x275)]=(function(){return{'extend':function(_0x1cbc12){var _0xb3eadf=_0x30a1,_0x397eb0=_0x31a350(this);return _0x1cbc12&&_0x397eb0[_0xb3eadf(0x1e0)](_0x1cbc12),(!_0x397eb0[_0xb3eadf(0xd0)](_0xb3eadf(0x24b))||this['init']===_0x397eb0[_0xb3eadf(0x24b)])&&(_0x397eb0['init']=function(){var _0x2c55ac=_0xb3eadf;_0x397eb0[_0x2c55ac(0xb7)]['init'][_0x2c55ac(0x221)](this,arguments);}),_0x397eb0[_0xb3eadf(0x24b)][_0xb3eadf(0x2e7)]=_0x397eb0,_0x397eb0['$super']=this,_0x397eb0;},'create':function(){var _0x399bbe=_0x30a1,_0x244fe4=this['extend']();return _0x244fe4[_0x399bbe(0x24b)][_0x399bbe(0x221)](_0x244fe4,arguments),_0x244fe4;},'init':function(){},'mixIn':function(_0x82a39c){var _0x29115e=_0x30a1;for(var _0x32e5a2 in _0x82a39c)_0x82a39c[_0x29115e(0xd0)](_0x32e5a2)&&(this[_0x32e5a2]=_0x82a39c[_0x32e5a2]);_0x82a39c['hasOwnProperty'](_0x29115e(0x109))&&(this[_0x29115e(0x109)]=_0x82a39c[_0x29115e(0x109)]);},'clone':function(){var _0x402df3=_0x30a1;return this[_0x402df3(0x24b)][_0x402df3(0x2e7)][_0x402df3(0x1c4)](this);}};}()),_0x2d9b65=_0xeaeb95[_0x3d4684(0x1f6)]=_0x38d912['extend']({'init':function(_0x5f28ea,_0x2735c8){var _0x564bdc=_0x3d4684;_0x5f28ea=this[_0x564bdc(0x211)]=_0x5f28ea||[],_0x2735c8!=_0x3fdef2?this[_0x564bdc(0x2f8)]=_0x2735c8:this[_0x564bdc(0x2f8)]=_0x5f28ea[_0x564bdc(0xa6)]*0x4;},'toString':function(_0x213bb8){return(_0x213bb8||_0x5d6710)['stringify'](this);},'concat':function(_0x8c33da){var _0xfd9151=_0x3d4684,_0x1d7aa7=this[_0xfd9151(0x211)],_0x4672df=_0x8c33da[_0xfd9151(0x211)],_0x34137a=this[_0xfd9151(0x2f8)],_0x34d443=_0x8c33da[_0xfd9151(0x2f8)];if(this[_0xfd9151(0x29f)](),_0x34137a%0x4)for(var _0x34f4ff=0x0;_0x34f4ff<_0x34d443;_0x34f4ff++){var _0x5bea3e=_0x4672df[_0x34f4ff>>>0x2]>>>0x18-_0x34f4ff%0x4*0x8&0xff;_0x1d7aa7[_0x34137a+_0x34f4ff>>>0x2]|=_0x5bea3e<<0x18-(_0x34137a+_0x34f4ff)%0x4*0x8;}else{for(var _0x3e95a2=0x0;_0x3e95a2<_0x34d443;_0x3e95a2+=0x4)_0x1d7aa7[_0x34137a+_0x3e95a2>>>0x2]=_0x4672df[_0x3e95a2>>>0x2];}return this['sigBytes']+=_0x34d443,this;},'clamp':function(){var _0x3d9603=_0x3d4684,_0x45364d=this['words'],_0x108ba3=this[_0x3d9603(0x2f8)];_0x45364d[_0x108ba3>>>0x2]&=0xffffffff<<0x20-_0x108ba3%0x4*0x8,_0x45364d[_0x3d9603(0xa6)]=_0x32d72c[_0x3d9603(0x1b6)](_0x108ba3/0x4);},'clone':function(){var _0x248019=_0x3d4684,_0x1e8109=_0x38d912[_0x248019(0x351)][_0x248019(0x15e)](this);return _0x1e8109[_0x248019(0x211)]=this['words'][_0x248019(0x27b)](0x0),_0x1e8109;},'random':function(_0x1a2864){var _0x1baf06=_0x3d4684;for(var _0x1e4860=[],_0x4859ed=0x0;_0x4859ed<_0x1a2864;_0x4859ed+=0x4)_0x1e4860[_0x1baf06(0x280)](_0x2783cb());return new _0x2d9b65[(_0x1baf06(0x24b))](_0x1e4860,_0x1a2864);}}),_0x399f6f=_0x4e10c8[_0x3d4684(0x33f)]={},_0x5d6710=_0x399f6f['Hex']={'stringify':function(_0x39cb80){var _0xa2fede=_0x3d4684;for(var _0x49008a=_0x39cb80[_0xa2fede(0x211)],_0x3762ae=_0x39cb80[_0xa2fede(0x2f8)],_0x508d16=[],_0x4c7acb=0x0;_0x4c7acb<_0x3762ae;_0x4c7acb++){var _0x12d994=_0x49008a[_0x4c7acb>>>0x2]>>>0x18-_0x4c7acb%0x4*0x8&0xff;_0x508d16[_0xa2fede(0x280)]((_0x12d994>>>0x4)[_0xa2fede(0x109)](0x10)),_0x508d16[_0xa2fede(0x280)]((_0x12d994&0xf)[_0xa2fede(0x109)](0x10));}return _0x508d16[_0xa2fede(0xd8)]('');},'parse':function(_0x57fd1c){var _0x35e5e1=_0x3d4684;for(var _0x703ca0=_0x57fd1c[_0x35e5e1(0xa6)],_0x368c0b=[],_0x315dec=0x0;_0x315dec<_0x703ca0;_0x315dec+=0x2)_0x368c0b[_0x315dec>>>0x3]|=parseInt(_0x57fd1c[_0x35e5e1(0x107)](_0x315dec,0x2),0x10)<<0x18-_0x315dec%0x8*0x4;return new _0x2d9b65[(_0x35e5e1(0x24b))](_0x368c0b,_0x703ca0/0x2);}},_0xadf1fa=_0x399f6f['Latin1']={'stringify':function(_0x364f79){var _0x317dec=_0x3d4684;for(var _0x224ec7=_0x364f79[_0x317dec(0x211)],_0x509e1b=_0x364f79['sigBytes'],_0x518dba=[],_0xd67953=0x0;_0xd67953<_0x509e1b;_0xd67953++){var _0x16b7f7=_0x224ec7[_0xd67953>>>0x2]>>>0x18-_0xd67953%0x4*0x8&0xff;_0x518dba['push'](String['fromCharCode'](_0x16b7f7));}return _0x518dba[_0x317dec(0xd8)]('');},'parse':function(_0x576914){var _0x114286=_0x3d4684;for(var _0x123e29=_0x576914[_0x114286(0xa6)],_0xbfe567=[],_0xad8c4d=0x0;_0xad8c4d<_0x123e29;_0xad8c4d++)_0xbfe567[_0xad8c4d>>>0x2]|=(_0x576914[_0x114286(0x1c5)](_0xad8c4d)&0xff)<<0x18-_0xad8c4d%0x4*0x8;return new _0x2d9b65[(_0x114286(0x24b))](_0xbfe567,_0x123e29);}},_0x3fd23a=_0x399f6f[_0x3d4684(0x25a)]={'stringify':function(_0x300287){var _0x58cb2b=_0x3d4684;try{return decodeURIComponent(escape(_0xadf1fa[_0x58cb2b(0x104)](_0x300287)));}catch{throw new Error(_0x58cb2b(0x13f));}},'parse':function(_0xa35a85){var _0x4fbed8=_0x3d4684;return _0xadf1fa[_0x4fbed8(0xd5)](unescape(encodeURIComponent(_0xa35a85)));}},_0x58ead8=_0xeaeb95['BufferedBlockAlgorithm']=_0x38d912['extend']({'reset':function(){var _0x5db923=_0x3d4684;this[_0x5db923(0x2cb)]=new _0x2d9b65[(_0x5db923(0x24b))](),this[_0x5db923(0x16f)]=0x0;},'_append':function(_0x1ff193){var _0x20d3d4=_0x3d4684;typeof _0x1ff193==_0x20d3d4(0x253)&&(_0x1ff193=_0x3fd23a[_0x20d3d4(0xd5)](_0x1ff193)),this[_0x20d3d4(0x2cb)]['concat'](_0x1ff193),this[_0x20d3d4(0x16f)]+=_0x1ff193[_0x20d3d4(0x2f8)];},'_process':function(_0x5c54b8){var _0x7a5a4f=_0x3d4684,_0x534ea3,_0xf2e83a=this[_0x7a5a4f(0x2cb)],_0x12ca52=_0xf2e83a[_0x7a5a4f(0x211)],_0x46fa12=_0xf2e83a[_0x7a5a4f(0x2f8)],_0x372ea9=this[_0x7a5a4f(0x274)],_0x5d1dfb=_0x372ea9*0x4,_0x283a77=_0x46fa12/_0x5d1dfb;_0x5c54b8?_0x283a77=_0x32d72c[_0x7a5a4f(0x1b6)](_0x283a77):_0x283a77=_0x32d72c[_0x7a5a4f(0x18c)]((_0x283a77|0x0)-this['_minBufferSize'],0x0);var _0x3fde00=_0x283a77*_0x372ea9,_0x493a67=_0x32d72c[_0x7a5a4f(0x323)](_0x3fde00*0x4,_0x46fa12);if(_0x3fde00){for(var _0x1be8a0=0x0;_0x1be8a0<_0x3fde00;_0x1be8a0+=_0x372ea9)this[_0x7a5a4f(0x13e)](_0x12ca52,_0x1be8a0);_0x534ea3=_0x12ca52[_0x7a5a4f(0x1f9)](0x0,_0x3fde00),_0xf2e83a[_0x7a5a4f(0x2f8)]-=_0x493a67;}return new _0x2d9b65[(_0x7a5a4f(0x24b))](_0x534ea3,_0x493a67);},'clone':function(){var _0x1583ac=_0x3d4684,_0x4907fc=_0x38d912[_0x1583ac(0x351)][_0x1583ac(0x15e)](this);return _0x4907fc[_0x1583ac(0x2cb)]=this[_0x1583ac(0x2cb)]['clone'](),_0x4907fc;},'_minBufferSize':0x0});_0xeaeb95['Hasher']=_0x58ead8[_0x3d4684(0x1c4)]({'cfg':_0x38d912['extend'](),'init':function(_0x872553){var _0x2e0e54=_0x3d4684;this[_0x2e0e54(0x317)]=this[_0x2e0e54(0x317)]['extend'](_0x872553),this[_0x2e0e54(0x271)]();},'reset':function(){var _0x3bd2b7=_0x3d4684;_0x58ead8[_0x3bd2b7(0x271)][_0x3bd2b7(0x15e)](this),this[_0x3bd2b7(0x1fe)]();},'update':function(_0x1ead03){var _0x4bd8cb=_0x3d4684;return this[_0x4bd8cb(0x2d1)](_0x1ead03),this[_0x4bd8cb(0x283)](),this;},'finalize':function(_0x22e0e0){var _0x1386c7=_0x3d4684;_0x22e0e0&&this[_0x1386c7(0x2d1)](_0x22e0e0);var _0x355ad3=this['_doFinalize']();return _0x355ad3;},'blockSize':0x10,'_createHelper':function(_0x6acd1c){return function(_0x29cbc0,_0x236ce2){var _0x1a1678=_0x30a1;return new _0x6acd1c[(_0x1a1678(0x24b))](_0x236ce2)[_0x1a1678(0xe7)](_0x29cbc0);};},'_createHmacHelper':function(_0x352b48){return function(_0x3f0568,_0x53af9f){var _0x259e22=_0x30a1;return new _0x2e1562[(_0x259e22(0x1cf))][(_0x259e22(0x24b))](_0x352b48,_0x53af9f)[_0x259e22(0xe7)](_0x3f0568);};}});var _0x2e1562=_0x4e10c8[_0x3d4684(0xea)]={};return _0x4e10c8;}(Math);return _0x2d9ae4;}));}(Ge)),Ge[_0x1b2a97(0x16e)];}var Ke={'exports':{}},Vs=Ke[_0x311346(0x16e)],ei;function wi(){var _0x371d36=_0x311346;return ei||(ei=0x1,function(_0x342884,_0x10a2d6){(function(_0x300db7,_0x3c6ad8){var _0x298a59=_0x30a1;_0x342884[_0x298a59(0x16e)]=_0x3c6ad8(ne());}(Vs,function(_0x1ea4cc){return(function(){var _0x9a5ee0=_0x30a1,_0x52bbff=_0x1ea4cc,_0x574f97=_0x52bbff[_0x9a5ee0(0x166)],_0x162710=_0x574f97[_0x9a5ee0(0x1f6)],_0x169684=_0x52bbff[_0x9a5ee0(0x33f)];_0x169684['Base64']={'stringify':function(_0x3343a9){var _0x2d5771=_0x9a5ee0,_0x51b19b=_0x3343a9[_0x2d5771(0x211)],_0x3d21b8=_0x3343a9[_0x2d5771(0x2f8)],_0x4e2e87=this[_0x2d5771(0x231)];_0x3343a9[_0x2d5771(0x29f)]();for(var _0x59abef=[],_0x1b448d=0x0;_0x1b448d<_0x3d21b8;_0x1b448d+=0x3)for(var _0x36cc99=_0x51b19b[_0x1b448d>>>0x2]>>>0x18-_0x1b448d%0x4*0x8&0xff,_0x1c578f=_0x51b19b[_0x1b448d+0x1>>>0x2]>>>0x18-(_0x1b448d+0x1)%0x4*0x8&0xff,_0x2a64bb=_0x51b19b[_0x1b448d+0x2>>>0x2]>>>0x18-(_0x1b448d+0x2)%0x4*0x8&0xff,_0xf92844=_0x36cc99<<0x10|_0x1c578f<<0x8|_0x2a64bb,_0x3742fd=0x0;_0x3742fd<0x4&&_0x1b448d+_0x3742fd*0.75<_0x3d21b8;_0x3742fd++)_0x59abef[_0x2d5771(0x280)](_0x4e2e87['charAt'](_0xf92844>>>0x6*(0x3-_0x3742fd)&0x3f));var _0x50ffd6=_0x4e2e87[_0x2d5771(0x359)](0x40);if(_0x50ffd6){for(;_0x59abef['length']%0x4;)_0x59abef[_0x2d5771(0x280)](_0x50ffd6);}return _0x59abef[_0x2d5771(0xd8)]('');},'parse':function(_0x451ab2){var _0x41091a=_0x9a5ee0,_0x525cb5=_0x451ab2[_0x41091a(0xa6)],_0x15d833=this[_0x41091a(0x231)],_0x3aeaa4=this[_0x41091a(0x340)];if(!_0x3aeaa4){_0x3aeaa4=this[_0x41091a(0x340)]=[];for(var _0x54a31c=0x0;_0x54a31c<_0x15d833[_0x41091a(0xa6)];_0x54a31c++)_0x3aeaa4[_0x15d833['charCodeAt'](_0x54a31c)]=_0x54a31c;}var _0x2a5b6b=_0x15d833['charAt'](0x40);if(_0x2a5b6b){var _0x18a854=_0x451ab2[_0x41091a(0x277)](_0x2a5b6b);_0x18a854!==-0x1&&(_0x525cb5=_0x18a854);}return _0x225abb(_0x451ab2,_0x525cb5,_0x3aeaa4);},'_map':_0x9a5ee0(0x222)};function _0x225abb(_0x11cbd6,_0x1bf276,_0x25ff93){var _0x4698b1=_0x9a5ee0;for(var _0xa7d6bb=[],_0x3ce987=0x0,_0x2ca8af=0x0;_0x2ca8af<_0x1bf276;_0x2ca8af++)if(_0x2ca8af%0x4){var _0x5c8119=_0x25ff93[_0x11cbd6[_0x4698b1(0x1c5)](_0x2ca8af-0x1)]<<_0x2ca8af%0x4*0x2,_0x275b17=_0x25ff93[_0x11cbd6[_0x4698b1(0x1c5)](_0x2ca8af)]>>>0x6-_0x2ca8af%0x4*0x2,_0x2a3da5=_0x5c8119|_0x275b17;_0xa7d6bb[_0x3ce987>>>0x2]|=_0x2a3da5<<0x18-_0x3ce987%0x4*0x8,_0x3ce987++;}return _0x162710['create'](_0xa7d6bb,_0x3ce987);}}()),_0x1ea4cc['enc']['Base64'];}));}(Ke)),Ke[_0x371d36(0x16e)];}var ze={'exports':{}},Ws=ze[_0x311346(0x16e)],ti;function Gs(){var _0x4cbe4c=_0x311346;return ti||(ti=0x1,function(_0x36fa64,_0xd300dd){(function(_0x3a3b77,_0x4306c0){var _0x5d43f4=_0x30a1;_0x36fa64[_0x5d43f4(0x16e)]=_0x4306c0(ne());}(Ws,function(_0x33711f){var _0x402eb5=_0x30a1;return function(_0x350d42){var _0x434648=_0x30a1,_0x1eae3d=_0x33711f,_0x85f091=_0x1eae3d[_0x434648(0x166)],_0x24668c=_0x85f091['WordArray'],_0x11fe37=_0x85f091[_0x434648(0x366)],_0x110708=_0x1eae3d['algo'],_0x1685a7=[];(function(){var _0x17c18f=_0x434648;for(var _0x48fa99=0x0;_0x48fa99<0x40;_0x48fa99++)_0x1685a7[_0x48fa99]=_0x350d42[_0x17c18f(0x2ea)](_0x350d42[_0x17c18f(0x194)](_0x48fa99+0x1))*0x100000000|0x0;}());var _0x21c084=_0x110708[_0x434648(0x28f)]=_0x11fe37[_0x434648(0x1c4)]({'_doReset':function(){var _0x53eda1=_0x434648;this['_hash']=new _0x24668c[(_0x53eda1(0x24b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x6bef0a,_0x14fc33){var _0x1ae266=_0x434648;for(var _0xca0f1e=0x0;_0xca0f1e<0x10;_0xca0f1e++){var _0x2e580b=_0x14fc33+_0xca0f1e,_0x456517=_0x6bef0a[_0x2e580b];_0x6bef0a[_0x2e580b]=(_0x456517<<0x8|_0x456517>>>0x18)&0xff00ff|(_0x456517<<0x18|_0x456517>>>0x8)&0xff00ff00;}var _0x2e1704=this[_0x1ae266(0x10f)]['words'],_0x3bd94d=_0x6bef0a[_0x14fc33+0x0],_0x2dc2b4=_0x6bef0a[_0x14fc33+0x1],_0x21cc3b=_0x6bef0a[_0x14fc33+0x2],_0x62fcc0=_0x6bef0a[_0x14fc33+0x3],_0x13de97=_0x6bef0a[_0x14fc33+0x4],_0x1c38c7=_0x6bef0a[_0x14fc33+0x5],_0x110db3=_0x6bef0a[_0x14fc33+0x6],_0x2546f9=_0x6bef0a[_0x14fc33+0x7],_0x3b945b=_0x6bef0a[_0x14fc33+0x8],_0x16e25a=_0x6bef0a[_0x14fc33+0x9],_0x2e6bf5=_0x6bef0a[_0x14fc33+0xa],_0x4295e8=_0x6bef0a[_0x14fc33+0xb],_0x2ec4b3=_0x6bef0a[_0x14fc33+0xc],_0x4c112d=_0x6bef0a[_0x14fc33+0xd],_0x44effd=_0x6bef0a[_0x14fc33+0xe],_0x592e35=_0x6bef0a[_0x14fc33+0xf],_0x498787=_0x2e1704[0x0],_0x445678=_0x2e1704[0x1],_0x29d142=_0x2e1704[0x2],_0x16495b=_0x2e1704[0x3];_0x498787=_0x3e7e34(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x3bd94d,0x7,_0x1685a7[0x0]),_0x16495b=_0x3e7e34(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x2dc2b4,0xc,_0x1685a7[0x1]),_0x29d142=_0x3e7e34(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x21cc3b,0x11,_0x1685a7[0x2]),_0x445678=_0x3e7e34(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x62fcc0,0x16,_0x1685a7[0x3]),_0x498787=_0x3e7e34(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x13de97,0x7,_0x1685a7[0x4]),_0x16495b=_0x3e7e34(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x1c38c7,0xc,_0x1685a7[0x5]),_0x29d142=_0x3e7e34(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x110db3,0x11,_0x1685a7[0x6]),_0x445678=_0x3e7e34(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x2546f9,0x16,_0x1685a7[0x7]),_0x498787=_0x3e7e34(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x3b945b,0x7,_0x1685a7[0x8]),_0x16495b=_0x3e7e34(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x16e25a,0xc,_0x1685a7[0x9]),_0x29d142=_0x3e7e34(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x2e6bf5,0x11,_0x1685a7[0xa]),_0x445678=_0x3e7e34(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x4295e8,0x16,_0x1685a7[0xb]),_0x498787=_0x3e7e34(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x2ec4b3,0x7,_0x1685a7[0xc]),_0x16495b=_0x3e7e34(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x4c112d,0xc,_0x1685a7[0xd]),_0x29d142=_0x3e7e34(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x44effd,0x11,_0x1685a7[0xe]),_0x445678=_0x3e7e34(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x592e35,0x16,_0x1685a7[0xf]),_0x498787=_0x52a4e2(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x2dc2b4,0x5,_0x1685a7[0x10]),_0x16495b=_0x52a4e2(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x110db3,0x9,_0x1685a7[0x11]),_0x29d142=_0x52a4e2(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x4295e8,0xe,_0x1685a7[0x12]),_0x445678=_0x52a4e2(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x3bd94d,0x14,_0x1685a7[0x13]),_0x498787=_0x52a4e2(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x1c38c7,0x5,_0x1685a7[0x14]),_0x16495b=_0x52a4e2(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x2e6bf5,0x9,_0x1685a7[0x15]),_0x29d142=_0x52a4e2(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x592e35,0xe,_0x1685a7[0x16]),_0x445678=_0x52a4e2(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x13de97,0x14,_0x1685a7[0x17]),_0x498787=_0x52a4e2(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x16e25a,0x5,_0x1685a7[0x18]),_0x16495b=_0x52a4e2(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x44effd,0x9,_0x1685a7[0x19]),_0x29d142=_0x52a4e2(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x62fcc0,0xe,_0x1685a7[0x1a]),_0x445678=_0x52a4e2(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x3b945b,0x14,_0x1685a7[0x1b]),_0x498787=_0x52a4e2(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x4c112d,0x5,_0x1685a7[0x1c]),_0x16495b=_0x52a4e2(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x21cc3b,0x9,_0x1685a7[0x1d]),_0x29d142=_0x52a4e2(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x2546f9,0xe,_0x1685a7[0x1e]),_0x445678=_0x52a4e2(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x2ec4b3,0x14,_0x1685a7[0x1f]),_0x498787=_0x548f79(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x1c38c7,0x4,_0x1685a7[0x20]),_0x16495b=_0x548f79(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x3b945b,0xb,_0x1685a7[0x21]),_0x29d142=_0x548f79(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x4295e8,0x10,_0x1685a7[0x22]),_0x445678=_0x548f79(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x44effd,0x17,_0x1685a7[0x23]),_0x498787=_0x548f79(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x2dc2b4,0x4,_0x1685a7[0x24]),_0x16495b=_0x548f79(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x13de97,0xb,_0x1685a7[0x25]),_0x29d142=_0x548f79(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x2546f9,0x10,_0x1685a7[0x26]),_0x445678=_0x548f79(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x2e6bf5,0x17,_0x1685a7[0x27]),_0x498787=_0x548f79(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x4c112d,0x4,_0x1685a7[0x28]),_0x16495b=_0x548f79(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x3bd94d,0xb,_0x1685a7[0x29]),_0x29d142=_0x548f79(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x62fcc0,0x10,_0x1685a7[0x2a]),_0x445678=_0x548f79(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x110db3,0x17,_0x1685a7[0x2b]),_0x498787=_0x548f79(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x16e25a,0x4,_0x1685a7[0x2c]),_0x16495b=_0x548f79(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x2ec4b3,0xb,_0x1685a7[0x2d]),_0x29d142=_0x548f79(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x592e35,0x10,_0x1685a7[0x2e]),_0x445678=_0x548f79(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x21cc3b,0x17,_0x1685a7[0x2f]),_0x498787=_0x2e70a0(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x3bd94d,0x6,_0x1685a7[0x30]),_0x16495b=_0x2e70a0(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x2546f9,0xa,_0x1685a7[0x31]),_0x29d142=_0x2e70a0(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x44effd,0xf,_0x1685a7[0x32]),_0x445678=_0x2e70a0(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x1c38c7,0x15,_0x1685a7[0x33]),_0x498787=_0x2e70a0(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x2ec4b3,0x6,_0x1685a7[0x34]),_0x16495b=_0x2e70a0(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x62fcc0,0xa,_0x1685a7[0x35]),_0x29d142=_0x2e70a0(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x2e6bf5,0xf,_0x1685a7[0x36]),_0x445678=_0x2e70a0(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x2dc2b4,0x15,_0x1685a7[0x37]),_0x498787=_0x2e70a0(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x3b945b,0x6,_0x1685a7[0x38]),_0x16495b=_0x2e70a0(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x592e35,0xa,_0x1685a7[0x39]),_0x29d142=_0x2e70a0(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x110db3,0xf,_0x1685a7[0x3a]),_0x445678=_0x2e70a0(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x4c112d,0x15,_0x1685a7[0x3b]),_0x498787=_0x2e70a0(_0x498787,_0x445678,_0x29d142,_0x16495b,_0x13de97,0x6,_0x1685a7[0x3c]),_0x16495b=_0x2e70a0(_0x16495b,_0x498787,_0x445678,_0x29d142,_0x4295e8,0xa,_0x1685a7[0x3d]),_0x29d142=_0x2e70a0(_0x29d142,_0x16495b,_0x498787,_0x445678,_0x21cc3b,0xf,_0x1685a7[0x3e]),_0x445678=_0x2e70a0(_0x445678,_0x29d142,_0x16495b,_0x498787,_0x16e25a,0x15,_0x1685a7[0x3f]),_0x2e1704[0x0]=_0x2e1704[0x0]+_0x498787|0x0,_0x2e1704[0x1]=_0x2e1704[0x1]+_0x445678|0x0,_0x2e1704[0x2]=_0x2e1704[0x2]+_0x29d142|0x0,_0x2e1704[0x3]=_0x2e1704[0x3]+_0x16495b|0x0;},'_doFinalize':function(){var _0x16c885=_0x434648,_0x577774=this[_0x16c885(0x2cb)],_0x238001=_0x577774[_0x16c885(0x211)],_0x1842c9=this[_0x16c885(0x16f)]*0x8,_0x47b4b3=_0x577774[_0x16c885(0x2f8)]*0x8;_0x238001[_0x47b4b3>>>0x5]|=0x80<<0x18-_0x47b4b3%0x20;var _0x5f42ae=_0x350d42[_0x16c885(0x35f)](_0x1842c9/0x100000000),_0x82a4c6=_0x1842c9;_0x238001[(_0x47b4b3+0x40>>>0x9<<0x4)+0xf]=(_0x5f42ae<<0x8|_0x5f42ae>>>0x18)&0xff00ff|(_0x5f42ae<<0x18|_0x5f42ae>>>0x8)&0xff00ff00,_0x238001[(_0x47b4b3+0x40>>>0x9<<0x4)+0xe]=(_0x82a4c6<<0x8|_0x82a4c6>>>0x18)&0xff00ff|(_0x82a4c6<<0x18|_0x82a4c6>>>0x8)&0xff00ff00,_0x577774['sigBytes']=(_0x238001[_0x16c885(0xa6)]+0x1)*0x4,this[_0x16c885(0x283)]();for(var _0x140944=this[_0x16c885(0x10f)],_0x6edd6a=_0x140944[_0x16c885(0x211)],_0x20050c=0x0;_0x20050c<0x4;_0x20050c++){var _0x445508=_0x6edd6a[_0x20050c];_0x6edd6a[_0x20050c]=(_0x445508<<0x8|_0x445508>>>0x18)&0xff00ff|(_0x445508<<0x18|_0x445508>>>0x8)&0xff00ff00;}return _0x140944;},'clone':function(){var _0x514cc5=_0x434648,_0x39fd06=_0x11fe37[_0x514cc5(0x351)][_0x514cc5(0x15e)](this);return _0x39fd06['_hash']=this[_0x514cc5(0x10f)]['clone'](),_0x39fd06;}});function _0x3e7e34(_0x5ebae0,_0x3512da,_0x1c1305,_0x33be4e,_0x400da4,_0x2d8794,_0x47fdd6){var _0x212d60=_0x5ebae0+(_0x3512da&_0x1c1305|~_0x3512da&_0x33be4e)+_0x400da4+_0x47fdd6;return(_0x212d60<<_0x2d8794|_0x212d60>>>0x20-_0x2d8794)+_0x3512da;}function _0x52a4e2(_0x5e904e,_0xae4a82,_0x1219bb,_0x3d415a,_0x2f3efa,_0x2eb4b0,_0x698071){var _0x4526d8=_0x5e904e+(_0xae4a82&_0x3d415a|_0x1219bb&~_0x3d415a)+_0x2f3efa+_0x698071;return(_0x4526d8<<_0x2eb4b0|_0x4526d8>>>0x20-_0x2eb4b0)+_0xae4a82;}function _0x548f79(_0x1d74ac,_0x26319f,_0x1a0381,_0x3b0827,_0x563295,_0x39044d,_0x20fc02){var _0x72dcf1=_0x1d74ac+(_0x26319f^_0x1a0381^_0x3b0827)+_0x563295+_0x20fc02;return(_0x72dcf1<<_0x39044d|_0x72dcf1>>>0x20-_0x39044d)+_0x26319f;}function _0x2e70a0(_0x40ab70,_0x4a178a,_0x2ee8d4,_0x3ed457,_0xb4e77,_0x4003a3,_0x39b86c){var _0x4b099f=_0x40ab70+(_0x2ee8d4^(_0x4a178a|~_0x3ed457))+_0xb4e77+_0x39b86c;return(_0x4b099f<<_0x4003a3|_0x4b099f>>>0x20-_0x4003a3)+_0x4a178a;}_0x1eae3d[_0x434648(0x28f)]=_0x11fe37[_0x434648(0x11a)](_0x21c084),_0x1eae3d[_0x434648(0x32d)]=_0x11fe37[_0x434648(0x12e)](_0x21c084);}(Math),_0x33711f[_0x402eb5(0x28f)];}));}(ze)),ze[_0x4cbe4c(0x16e)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe['exports'],ii;function zs(){var _0x196e27=_0x311346;return ii||(ii=0x1,function(_0x28106e,_0x300e2c){(function(_0x127e32,_0x544f05){var _0xc03178=_0x30a1;_0x28106e[_0xc03178(0x16e)]=_0x544f05(ne());}(Ks,function(_0x239090){var _0x5d6faa=_0x30a1;return(function(){var _0x18d325=_0x30a1,_0x310d79=_0x239090,_0x296e2a=_0x310d79[_0x18d325(0x166)],_0x537e44=_0x296e2a['WordArray'],_0x1e72df=_0x296e2a[_0x18d325(0x366)],_0x47412e=_0x310d79[_0x18d325(0xea)],_0x3e5da5=[],_0x4a899b=_0x47412e[_0x18d325(0xf3)]=_0x1e72df[_0x18d325(0x1c4)]({'_doReset':function(){var _0x5a1e74=_0x18d325;this['_hash']=new _0x537e44[(_0x5a1e74(0x24b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5a2cf4,_0x28559a){var _0x33f592=_0x18d325;for(var _0xc35c83=this[_0x33f592(0x10f)][_0x33f592(0x211)],_0x3ccdc4=_0xc35c83[0x0],_0x2b3de2=_0xc35c83[0x1],_0x5af2e5=_0xc35c83[0x2],_0x55d246=_0xc35c83[0x3],_0x58d848=_0xc35c83[0x4],_0x864f62=0x0;_0x864f62<0x50;_0x864f62++){if(_0x864f62<0x10)_0x3e5da5[_0x864f62]=_0x5a2cf4[_0x28559a+_0x864f62]|0x0;else{var _0x46b7eb=_0x3e5da5[_0x864f62-0x3]^_0x3e5da5[_0x864f62-0x8]^_0x3e5da5[_0x864f62-0xe]^_0x3e5da5[_0x864f62-0x10];_0x3e5da5[_0x864f62]=_0x46b7eb<<0x1|_0x46b7eb>>>0x1f;}var _0x278f4f=(_0x3ccdc4<<0x5|_0x3ccdc4>>>0x1b)+_0x58d848+_0x3e5da5[_0x864f62];_0x864f62<0x14?_0x278f4f+=(_0x2b3de2&_0x5af2e5|~_0x2b3de2&_0x55d246)+0x5a827999:_0x864f62<0x28?_0x278f4f+=(_0x2b3de2^_0x5af2e5^_0x55d246)+0x6ed9eba1:_0x864f62<0x3c?_0x278f4f+=(_0x2b3de2&_0x5af2e5|_0x2b3de2&_0x55d246|_0x5af2e5&_0x55d246)-0x70e44324:_0x278f4f+=(_0x2b3de2^_0x5af2e5^_0x55d246)-0x359d3e2a,_0x58d848=_0x55d246,_0x55d246=_0x5af2e5,_0x5af2e5=_0x2b3de2<<0x1e|_0x2b3de2>>>0x2,_0x2b3de2=_0x3ccdc4,_0x3ccdc4=_0x278f4f;}_0xc35c83[0x0]=_0xc35c83[0x0]+_0x3ccdc4|0x0,_0xc35c83[0x1]=_0xc35c83[0x1]+_0x2b3de2|0x0,_0xc35c83[0x2]=_0xc35c83[0x2]+_0x5af2e5|0x0,_0xc35c83[0x3]=_0xc35c83[0x3]+_0x55d246|0x0,_0xc35c83[0x4]=_0xc35c83[0x4]+_0x58d848|0x0;},'_doFinalize':function(){var _0x4c2712=_0x18d325,_0x574020=this['_data'],_0x44e025=_0x574020[_0x4c2712(0x211)],_0x3a82ad=this[_0x4c2712(0x16f)]*0x8,_0x4e8e96=_0x574020[_0x4c2712(0x2f8)]*0x8;return _0x44e025[_0x4e8e96>>>0x5]|=0x80<<0x18-_0x4e8e96%0x20,_0x44e025[(_0x4e8e96+0x40>>>0x9<<0x4)+0xe]=Math[_0x4c2712(0x35f)](_0x3a82ad/0x100000000),_0x44e025[(_0x4e8e96+0x40>>>0x9<<0x4)+0xf]=_0x3a82ad,_0x574020[_0x4c2712(0x2f8)]=_0x44e025[_0x4c2712(0xa6)]*0x4,this[_0x4c2712(0x283)](),this[_0x4c2712(0x10f)];},'clone':function(){var _0x2c272b=_0x18d325,_0x4197ad=_0x1e72df[_0x2c272b(0x351)][_0x2c272b(0x15e)](this);return _0x4197ad['_hash']=this['_hash'][_0x2c272b(0x351)](),_0x4197ad;}});_0x310d79[_0x18d325(0xf3)]=_0x1e72df[_0x18d325(0x11a)](_0x4a899b),_0x310d79['HmacSHA1']=_0x1e72df[_0x18d325(0x12e)](_0x4a899b);}()),_0x239090[_0x5d6faa(0xf3)];}));}(qe)),qe[_0x196e27(0x16e)];}var Je={'exports':{}},Ys=Je[_0x311346(0x16e)],ni;function qs(){var _0x36759b=_0x311346;return ni||(ni=0x1,function(_0x35a8c1,_0x517fd5){(function(_0xbf6b5d,_0x8800a5){_0x35a8c1['exports']=_0x8800a5(ne());}(Ys,function(_0x1ec5bf){(function(){var _0x293f62=_0x30a1,_0x228588=_0x1ec5bf,_0xf5a6cc=_0x228588[_0x293f62(0x166)],_0x25d994=_0xf5a6cc[_0x293f62(0x275)],_0x322aa7=_0x228588['enc'],_0x2b8861=_0x322aa7[_0x293f62(0x25a)],_0x313048=_0x228588[_0x293f62(0xea)];_0x313048[_0x293f62(0x1cf)]=_0x25d994[_0x293f62(0x1c4)]({'init':function(_0x2f4c6d,_0x1a1005){var _0x48bdd3=_0x293f62;_0x2f4c6d=this[_0x48bdd3(0x1bb)]=new _0x2f4c6d[(_0x48bdd3(0x24b))](),typeof _0x1a1005==_0x48bdd3(0x253)&&(_0x1a1005=_0x2b8861[_0x48bdd3(0xd5)](_0x1a1005));var _0x3f52c0=_0x2f4c6d['blockSize'],_0x5c1c97=_0x3f52c0*0x4;_0x1a1005[_0x48bdd3(0x2f8)]>_0x5c1c97&&(_0x1a1005=_0x2f4c6d[_0x48bdd3(0xe7)](_0x1a1005)),_0x1a1005['clamp']();for(var _0x69fc=this[_0x48bdd3(0x261)]=_0x1a1005['clone'](),_0x312bda=this[_0x48bdd3(0x260)]=_0x1a1005[_0x48bdd3(0x351)](),_0x35ceea=_0x69fc[_0x48bdd3(0x211)],_0x4427bf=_0x312bda[_0x48bdd3(0x211)],_0x2a95ae=0x0;_0x2a95ae<_0x3f52c0;_0x2a95ae++)_0x35ceea[_0x2a95ae]^=0x5c5c5c5c,_0x4427bf[_0x2a95ae]^=0x36363636;_0x69fc[_0x48bdd3(0x2f8)]=_0x312bda[_0x48bdd3(0x2f8)]=_0x5c1c97,this[_0x48bdd3(0x271)]();},'reset':function(){var _0x33817f=_0x293f62,_0x317bdf=this[_0x33817f(0x1bb)];_0x317bdf[_0x33817f(0x271)](),_0x317bdf[_0x33817f(0x1a7)](this[_0x33817f(0x260)]);},'update':function(_0x569b6b){var _0x3f22e5=_0x293f62;return this[_0x3f22e5(0x1bb)][_0x3f22e5(0x1a7)](_0x569b6b),this;},'finalize':function(_0x40f878){var _0x5791fe=_0x293f62,_0x4af73c=this[_0x5791fe(0x1bb)],_0x2906d8=_0x4af73c[_0x5791fe(0xe7)](_0x40f878);_0x4af73c[_0x5791fe(0x271)]();var _0x517632=_0x4af73c[_0x5791fe(0xe7)](this[_0x5791fe(0x261)][_0x5791fe(0x351)]()[_0x5791fe(0xc0)](_0x2906d8));return _0x517632;}});}());}));}(Je)),Je[_0x36759b(0x16e)];}var Js=Ye[_0x311346(0x16e)],si;function Ui(){var _0x2ca595=_0x311346;return si||(si=0x1,function(_0x15ee91,_0xb07750){(function(_0x342bff,_0x4629ce,_0x1d6ad6){var _0x2994d0=_0x30a1;_0x15ee91[_0x2994d0(0x16e)]=_0x4629ce(ne(),zs(),qs());}(Js,function(_0x3adbd8){var _0x413b62=_0x30a1;return(function(){var _0x415d40=_0x30a1,_0x3f6b63=_0x3adbd8,_0x58a26c=_0x3f6b63[_0x415d40(0x166)],_0x3839c5=_0x58a26c[_0x415d40(0x275)],_0x5178ac=_0x58a26c[_0x415d40(0x1f6)],_0x26e243=_0x3f6b63[_0x415d40(0xea)],_0x3a1484=_0x26e243[_0x415d40(0x28f)],_0x12e104=_0x26e243[_0x415d40(0x24c)]=_0x3839c5[_0x415d40(0x1c4)]({'cfg':_0x3839c5[_0x415d40(0x1c4)]({'keySize':0x80/0x20,'hasher':_0x3a1484,'iterations':0x1}),'init':function(_0x51347f){var _0x7d36be=_0x415d40;this[_0x7d36be(0x317)]=this[_0x7d36be(0x317)][_0x7d36be(0x1c4)](_0x51347f);},'compute':function(_0x333dc1,_0x310dae){var _0x11df80=_0x415d40;for(var _0x38318d,_0x4fc5a8=this['cfg'],_0x61b063=_0x4fc5a8['hasher'][_0x11df80(0x394)](),_0x458948=_0x5178ac[_0x11df80(0x394)](),_0x1e7d8d=_0x458948[_0x11df80(0x211)],_0x3492d5=_0x4fc5a8[_0x11df80(0x1aa)],_0xddbec8=_0x4fc5a8[_0x11df80(0x39c)];_0x1e7d8d[_0x11df80(0xa6)]<_0x3492d5;){_0x38318d&&_0x61b063[_0x11df80(0x1a7)](_0x38318d),_0x38318d=_0x61b063[_0x11df80(0x1a7)](_0x333dc1)[_0x11df80(0xe7)](_0x310dae),_0x61b063[_0x11df80(0x271)]();for(var _0x967084=0x1;_0x967084<_0xddbec8;_0x967084++)_0x38318d=_0x61b063[_0x11df80(0xe7)](_0x38318d),_0x61b063[_0x11df80(0x271)]();_0x458948[_0x11df80(0xc0)](_0x38318d);}return _0x458948[_0x11df80(0x2f8)]=_0x3492d5*0x4,_0x458948;}});_0x3f6b63[_0x415d40(0x24c)]=function(_0x2d3d76,_0x5139b5,_0x18a638){var _0x4a8a17=_0x415d40;return _0x12e104[_0x4a8a17(0x394)](_0x18a638)['compute'](_0x2d3d76,_0x5139b5);};}()),_0x3adbd8[_0x413b62(0x24c)];}));}(Ye)),Ye[_0x2ca595(0x16e)];}var Xe={'exports':{}},Xs=Xe[_0x311346(0x16e)],ri;function Ai(){var _0x4876f9=_0x311346;return ri||(ri=0x1,function(_0x154014,_0x24c9c3){(function(_0x31c071,_0x1aa1f2,_0x38ac9d){var _0x4e7aba=_0x30a1;_0x154014[_0x4e7aba(0x16e)]=_0x1aa1f2(ne(),Ui());}(Xs,function(_0x43bac6){var _0x205c53=_0x30a1;_0x43bac6[_0x205c53(0x166)][_0x205c53(0x2f7)]||function(_0x691186){var _0x3e9c9c=_0x205c53,_0xb67756=_0x43bac6,_0x51e7cb=_0xb67756[_0x3e9c9c(0x166)],_0x16e0d7=_0x51e7cb['Base'],_0x17b3c7=_0x51e7cb[_0x3e9c9c(0x1f6)],_0x3670d0=_0x51e7cb[_0x3e9c9c(0x215)],_0x94c2a9=_0xb67756[_0x3e9c9c(0x33f)];_0x94c2a9['Utf8'];var _0x571a09=_0x94c2a9[_0x3e9c9c(0xe5)],_0x45891a=_0xb67756['algo'],_0xebb1a0=_0x45891a['EvpKDF'],_0x5dca2a=_0x51e7cb[_0x3e9c9c(0x2f7)]=_0x3670d0[_0x3e9c9c(0x1c4)]({'cfg':_0x16e0d7[_0x3e9c9c(0x1c4)](),'createEncryptor':function(_0x3bcab1,_0x2a42bb){var _0x3c7317=_0x3e9c9c;return this[_0x3c7317(0x394)](this[_0x3c7317(0x327)],_0x3bcab1,_0x2a42bb);},'createDecryptor':function(_0x5435fb,_0x519615){var _0x43bfb3=_0x3e9c9c;return this['create'](this[_0x43bfb3(0xaa)],_0x5435fb,_0x519615);},'init':function(_0x508e2e,_0x22e1de,_0x48443f){var _0x31945b=_0x3e9c9c;this[_0x31945b(0x317)]=this[_0x31945b(0x317)][_0x31945b(0x1c4)](_0x48443f),this[_0x31945b(0x1c3)]=_0x508e2e,this[_0x31945b(0x1b1)]=_0x22e1de,this['reset']();},'reset':function(){var _0x4cb373=_0x3e9c9c;_0x3670d0[_0x4cb373(0x271)][_0x4cb373(0x15e)](this),this['_doReset']();},'process':function(_0x1476b7){var _0x13ff73=_0x3e9c9c;return this[_0x13ff73(0x2d1)](_0x1476b7),this[_0x13ff73(0x283)]();},'finalize':function(_0x1cf7a1){var _0x18eb02=_0x3e9c9c;_0x1cf7a1&&this[_0x18eb02(0x2d1)](_0x1cf7a1);var _0x111b17=this['_doFinalize']();return _0x111b17;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x371345(_0x36f2bf){var _0x524288=_0x30a1;return typeof _0x36f2bf==_0x524288(0x253)?_0x142cab:_0x44897a;}return function(_0x1be9e9){return{'encrypt':function(_0xd69b59,_0x45f587,_0x1baf3d){var _0x1b0b36=_0x30a1;return _0x371345(_0x45f587)[_0x1b0b36(0x141)](_0x1be9e9,_0xd69b59,_0x45f587,_0x1baf3d);},'decrypt':function(_0x5bb60a,_0x264491,_0x7813b6){var _0x5138a0=_0x30a1;return _0x371345(_0x264491)[_0x5138a0(0x2b7)](_0x1be9e9,_0x5bb60a,_0x264491,_0x7813b6);}};};}())});_0x51e7cb[_0x3e9c9c(0x2bb)]=_0x5dca2a[_0x3e9c9c(0x1c4)]({'_doFinalize':function(){var _0x205847=_0x3e9c9c,_0x962871=this[_0x205847(0x283)](!0x0);return _0x962871;},'blockSize':0x1});var _0x3ac3e7=_0xb67756[_0x3e9c9c(0x17f)]={},_0x53e760=_0x51e7cb[_0x3e9c9c(0x252)]=_0x16e0d7[_0x3e9c9c(0x1c4)]({'createEncryptor':function(_0x4094eb,_0x3fe598){var _0x1a977b=_0x3e9c9c;return this[_0x1a977b(0x236)][_0x1a977b(0x394)](_0x4094eb,_0x3fe598);},'createDecryptor':function(_0x423d35,_0x4a42d9){var _0x1d712e=_0x3e9c9c;return this['Decryptor'][_0x1d712e(0x394)](_0x423d35,_0x4a42d9);},'init':function(_0x410889,_0x34bf12){this['_cipher']=_0x410889,this['_iv']=_0x34bf12;}}),_0x206023=_0x3ac3e7[_0x3e9c9c(0x1d1)]=(function(){var _0x312107=_0x3e9c9c,_0x4c676e=_0x53e760['extend']();_0x4c676e[_0x312107(0x236)]=_0x4c676e[_0x312107(0x1c4)]({'processBlock':function(_0x4d6ebe,_0x223389){var _0x1f1884=_0x312107,_0x26fe05=this[_0x1f1884(0x285)],_0x4f192f=_0x26fe05[_0x1f1884(0x274)];_0x548397[_0x1f1884(0x15e)](this,_0x4d6ebe,_0x223389,_0x4f192f),_0x26fe05[_0x1f1884(0x112)](_0x4d6ebe,_0x223389),this[_0x1f1884(0x167)]=_0x4d6ebe[_0x1f1884(0x27b)](_0x223389,_0x223389+_0x4f192f);}}),_0x4c676e[_0x312107(0x31c)]=_0x4c676e['extend']({'processBlock':function(_0x4c48ac,_0x57e995){var _0x4fd025=_0x312107,_0x849be=this[_0x4fd025(0x285)],_0x2d1e42=_0x849be[_0x4fd025(0x274)],_0x3dcd87=_0x4c48ac[_0x4fd025(0x27b)](_0x57e995,_0x57e995+_0x2d1e42);_0x849be[_0x4fd025(0x108)](_0x4c48ac,_0x57e995),_0x548397[_0x4fd025(0x15e)](this,_0x4c48ac,_0x57e995,_0x2d1e42),this['_prevBlock']=_0x3dcd87;}});function _0x548397(_0xb9728b,_0x491bf4,_0x5d0e3c){var _0x30bca3,_0x436efb=this['_iv'];_0x436efb?(_0x30bca3=_0x436efb,this['_iv']=_0x691186):_0x30bca3=this['_prevBlock'];for(var _0x3f4b1a=0x0;_0x3f4b1a<_0x5d0e3c;_0x3f4b1a++)_0xb9728b[_0x491bf4+_0x3f4b1a]^=_0x30bca3[_0x3f4b1a];}return _0x4c676e;}()),_0x5685bf=_0xb67756[_0x3e9c9c(0x1db)]={},_0x176c96=_0x5685bf['Pkcs7']={'pad':function(_0x27fb12,_0x7ff4db){var _0x24f516=_0x3e9c9c;for(var _0x21b4a9=_0x7ff4db*0x4,_0x305d75=_0x21b4a9-_0x27fb12[_0x24f516(0x2f8)]%_0x21b4a9,_0x2666d1=_0x305d75<<0x18|_0x305d75<<0x10|_0x305d75<<0x8|_0x305d75,_0x16d10a=[],_0x3aa0a5=0x0;_0x3aa0a5<_0x305d75;_0x3aa0a5+=0x4)_0x16d10a['push'](_0x2666d1);var _0x55f65d=_0x17b3c7[_0x24f516(0x394)](_0x16d10a,_0x305d75);_0x27fb12[_0x24f516(0xc0)](_0x55f65d);},'unpad':function(_0x4902ed){var _0xcf876=_0x3e9c9c,_0x43cad6=_0x4902ed[_0xcf876(0x211)][_0x4902ed[_0xcf876(0x2f8)]-0x1>>>0x2]&0xff;_0x4902ed[_0xcf876(0x2f8)]-=_0x43cad6;}};_0x51e7cb['BlockCipher']=_0x5dca2a['extend']({'cfg':_0x5dca2a[_0x3e9c9c(0x317)]['extend']({'mode':_0x206023,'padding':_0x176c96}),'reset':function(){var _0x185a6e=_0x3e9c9c,_0x4a4281;_0x5dca2a['reset'][_0x185a6e(0x15e)](this);var _0x16f191=this[_0x185a6e(0x317)],_0x290b77=_0x16f191['iv'],_0x5bcd33=_0x16f191[_0x185a6e(0x17f)];this[_0x185a6e(0x1c3)]==this[_0x185a6e(0x327)]?_0x4a4281=_0x5bcd33[_0x185a6e(0x1bd)]:(_0x4a4281=_0x5bcd33[_0x185a6e(0xae)],this[_0x185a6e(0x1cb)]=0x1),this[_0x185a6e(0x2ed)]&&this[_0x185a6e(0x2ed)][_0x185a6e(0xaf)]==_0x4a4281?this['_mode'][_0x185a6e(0x24b)](this,_0x290b77&&_0x290b77[_0x185a6e(0x211)]):(this[_0x185a6e(0x2ed)]=_0x4a4281[_0x185a6e(0x15e)](_0x5bcd33,this,_0x290b77&&_0x290b77[_0x185a6e(0x211)]),this[_0x185a6e(0x2ed)][_0x185a6e(0xaf)]=_0x4a4281);},'_doProcessBlock':function(_0x4bddb6,_0x10f5d5){var _0x43beec=_0x3e9c9c;this[_0x43beec(0x2ed)][_0x43beec(0x331)](_0x4bddb6,_0x10f5d5);},'_doFinalize':function(){var _0x11f04a=_0x3e9c9c,_0x49f46d,_0x25c322=this['cfg'][_0x11f04a(0x356)];return this[_0x11f04a(0x1c3)]==this['_ENC_XFORM_MODE']?(_0x25c322['pad'](this['_data'],this[_0x11f04a(0x274)]),_0x49f46d=this[_0x11f04a(0x283)](!0x0)):(_0x49f46d=this['_process'](!0x0),_0x25c322['unpad'](_0x49f46d)),_0x49f46d;},'blockSize':0x80/0x20});var _0x10d632=_0x51e7cb[_0x3e9c9c(0x39d)]=_0x16e0d7[_0x3e9c9c(0x1c4)]({'init':function(_0x2efe09){var _0x3fabc7=_0x3e9c9c;this[_0x3fabc7(0x1e0)](_0x2efe09);},'toString':function(_0x5cf68c){var _0x4b102a=_0x3e9c9c;return(_0x5cf68c||this[_0x4b102a(0x1fa)])[_0x4b102a(0x104)](this);}}),_0x1f5006=_0xb67756[_0x3e9c9c(0x1f2)]={},_0x26fece=_0x1f5006['OpenSSL']={'stringify':function(_0x16dddb){var _0x334453=_0x3e9c9c,_0x3d68e7,_0x723f9b=_0x16dddb[_0x334453(0x294)],_0xd22934=_0x16dddb[_0x334453(0x33b)];return _0xd22934?_0x3d68e7=_0x17b3c7[_0x334453(0x394)]([0x53616c74,0x65645f5f])[_0x334453(0xc0)](_0xd22934)[_0x334453(0xc0)](_0x723f9b):_0x3d68e7=_0x723f9b,_0x3d68e7[_0x334453(0x109)](_0x571a09);},'parse':function(_0x498b5c){var _0x35f516=_0x3e9c9c,_0x120f53,_0x2aa143=_0x571a09[_0x35f516(0xd5)](_0x498b5c),_0x5ac32f=_0x2aa143[_0x35f516(0x211)];return _0x5ac32f[0x0]==0x53616c74&&_0x5ac32f[0x1]==0x65645f5f&&(_0x120f53=_0x17b3c7[_0x35f516(0x394)](_0x5ac32f[_0x35f516(0x27b)](0x2,0x4)),_0x5ac32f['splice'](0x0,0x4),_0x2aa143[_0x35f516(0x2f8)]-=0x10),_0x10d632['create']({'ciphertext':_0x2aa143,'salt':_0x120f53});}},_0x44897a=_0x51e7cb['SerializableCipher']=_0x16e0d7[_0x3e9c9c(0x1c4)]({'cfg':_0x16e0d7[_0x3e9c9c(0x1c4)]({'format':_0x26fece}),'encrypt':function(_0xd0de3d,_0x173f46,_0x456ffd,_0x45768d){var _0x635e24=_0x3e9c9c;_0x45768d=this[_0x635e24(0x317)]['extend'](_0x45768d);var _0x1af59e=_0xd0de3d[_0x635e24(0x1bd)](_0x456ffd,_0x45768d),_0x393730=_0x1af59e[_0x635e24(0xe7)](_0x173f46),_0x1906fa=_0x1af59e[_0x635e24(0x317)];return _0x10d632[_0x635e24(0x394)]({'ciphertext':_0x393730,'key':_0x456ffd,'iv':_0x1906fa['iv'],'algorithm':_0xd0de3d,'mode':_0x1906fa[_0x635e24(0x17f)],'padding':_0x1906fa['padding'],'blockSize':_0xd0de3d[_0x635e24(0x274)],'formatter':_0x45768d[_0x635e24(0x1f2)]});},'decrypt':function(_0x2e78bf,_0x57c723,_0x25e0b8,_0x4df7f1){var _0x58c08f=_0x3e9c9c;_0x4df7f1=this['cfg'][_0x58c08f(0x1c4)](_0x4df7f1),_0x57c723=this['_parse'](_0x57c723,_0x4df7f1[_0x58c08f(0x1f2)]);var _0xf6f981=_0x2e78bf[_0x58c08f(0xae)](_0x25e0b8,_0x4df7f1)['finalize'](_0x57c723[_0x58c08f(0x294)]);return _0xf6f981;},'_parse':function(_0x5e48d2,_0x726c40){var _0x13bbc9=_0x3e9c9c;return typeof _0x5e48d2=='string'?_0x726c40[_0x13bbc9(0xd5)](_0x5e48d2,this):_0x5e48d2;}}),_0x33e224=_0xb67756['kdf']={},_0x26fd16=_0x33e224[_0x3e9c9c(0x2da)]={'execute':function(_0x17749f,_0x1c7b4b,_0x5a743f,_0x2b8b7a,_0x342bd4){var _0x5b9101=_0x3e9c9c;if(_0x2b8b7a||(_0x2b8b7a=_0x17b3c7[_0x5b9101(0x2b0)](0x40/0x8)),_0x342bd4)var _0x530419=_0xebb1a0['create']({'keySize':_0x1c7b4b+_0x5a743f,'hasher':_0x342bd4})[_0x5b9101(0x2b1)](_0x17749f,_0x2b8b7a);else var _0x530419=_0xebb1a0[_0x5b9101(0x394)]({'keySize':_0x1c7b4b+_0x5a743f})[_0x5b9101(0x2b1)](_0x17749f,_0x2b8b7a);var _0x34a4af=_0x17b3c7['create'](_0x530419['words'][_0x5b9101(0x27b)](_0x1c7b4b),_0x5a743f*0x4);return _0x530419['sigBytes']=_0x1c7b4b*0x4,_0x10d632[_0x5b9101(0x394)]({'key':_0x530419,'iv':_0x34a4af,'salt':_0x2b8b7a});}},_0x142cab=_0x51e7cb[_0x3e9c9c(0x308)]=_0x44897a['extend']({'cfg':_0x44897a[_0x3e9c9c(0x317)][_0x3e9c9c(0x1c4)]({'kdf':_0x26fd16}),'encrypt':function(_0x5b2251,_0x128e0c,_0x2714e4,_0x46f636){var _0x4e92b7=_0x3e9c9c;_0x46f636=this['cfg'][_0x4e92b7(0x1c4)](_0x46f636);var _0x4819c6=_0x46f636[_0x4e92b7(0x23b)][_0x4e92b7(0x174)](_0x2714e4,_0x5b2251[_0x4e92b7(0x1aa)],_0x5b2251[_0x4e92b7(0x2be)],_0x46f636['salt'],_0x46f636[_0x4e92b7(0x39a)]);_0x46f636['iv']=_0x4819c6['iv'];var _0x268194=_0x44897a[_0x4e92b7(0x141)]['call'](this,_0x5b2251,_0x128e0c,_0x4819c6[_0x4e92b7(0x397)],_0x46f636);return _0x268194[_0x4e92b7(0x1e0)](_0x4819c6),_0x268194;},'decrypt':function(_0x1c68cd,_0x4a3fab,_0x1d1878,_0x4625b3){var _0x13b934=_0x3e9c9c;_0x4625b3=this[_0x13b934(0x317)][_0x13b934(0x1c4)](_0x4625b3),_0x4a3fab=this[_0x13b934(0xd9)](_0x4a3fab,_0x4625b3[_0x13b934(0x1f2)]);var _0x27413a=_0x4625b3[_0x13b934(0x23b)][_0x13b934(0x174)](_0x1d1878,_0x1c68cd[_0x13b934(0x1aa)],_0x1c68cd[_0x13b934(0x2be)],_0x4a3fab[_0x13b934(0x33b)],_0x4625b3[_0x13b934(0x39a)]);_0x4625b3['iv']=_0x27413a['iv'];var _0x154c4c=_0x44897a[_0x13b934(0x2b7)][_0x13b934(0x15e)](this,_0x1c68cd,_0x4a3fab,_0x27413a[_0x13b934(0x397)],_0x4625b3);return _0x154c4c;}});}();}));}(Xe)),Xe[_0x4876f9(0x16e)];}var Zs=We[_0x311346(0x16e)],oi;function Qs(){var _0x197709=_0x311346;return oi||(oi=0x1,function(_0x241393,_0x2454a7){(function(_0x1f3c6d,_0x714176,_0x3c6218){var _0x3123ac=_0x30a1;_0x241393[_0x3123ac(0x16e)]=_0x714176(ne(),wi(),Gs(),Ui(),Ai());}(Zs,function(_0x3e3ba1){var _0x3a0e49=_0x30a1;return(function(){var _0x44dbd7=_0x30a1,_0x325294=_0x3e3ba1,_0x239e98=_0x325294[_0x44dbd7(0x166)],_0x395336=_0x239e98['BlockCipher'],_0x2cf4e6=_0x325294['algo'],_0x1ff0db=[],_0x5d5084=[],_0x2a622a=[],_0x16c460=[],_0x81abc2=[],_0x3d264a=[],_0xabf015=[],_0x3114d3=[],_0x19aee9=[],_0x30dda1=[];(function(){for(var _0x2e908f=[],_0x46e46b=0x0;_0x46e46b<0x100;_0x46e46b++)_0x46e46b<0x80?_0x2e908f[_0x46e46b]=_0x46e46b<<0x1:_0x2e908f[_0x46e46b]=_0x46e46b<<0x1^0x11b;for(var _0x49823b=0x0,_0x5c6959=0x0,_0x46e46b=0x0;_0x46e46b<0x100;_0x46e46b++){var _0x37ebd6=_0x5c6959^_0x5c6959<<0x1^_0x5c6959<<0x2^_0x5c6959<<0x3^_0x5c6959<<0x4;_0x37ebd6=_0x37ebd6>>>0x8^_0x37ebd6&0xff^0x63,_0x1ff0db[_0x49823b]=_0x37ebd6,_0x5d5084[_0x37ebd6]=_0x49823b;var _0x39cf2b=_0x2e908f[_0x49823b],_0x44e168=_0x2e908f[_0x39cf2b],_0x1200b7=_0x2e908f[_0x44e168],_0x37772f=_0x2e908f[_0x37ebd6]*0x101^_0x37ebd6*0x1010100;_0x2a622a[_0x49823b]=_0x37772f<<0x18|_0x37772f>>>0x8,_0x16c460[_0x49823b]=_0x37772f<<0x10|_0x37772f>>>0x10,_0x81abc2[_0x49823b]=_0x37772f<<0x8|_0x37772f>>>0x18,_0x3d264a[_0x49823b]=_0x37772f;var _0x37772f=_0x1200b7*0x1010101^_0x44e168*0x10001^_0x39cf2b*0x101^_0x49823b*0x1010100;_0xabf015[_0x37ebd6]=_0x37772f<<0x18|_0x37772f>>>0x8,_0x3114d3[_0x37ebd6]=_0x37772f<<0x10|_0x37772f>>>0x10,_0x19aee9[_0x37ebd6]=_0x37772f<<0x8|_0x37772f>>>0x18,_0x30dda1[_0x37ebd6]=_0x37772f,_0x49823b?(_0x49823b=_0x39cf2b^_0x2e908f[_0x2e908f[_0x2e908f[_0x1200b7^_0x39cf2b]]],_0x5c6959^=_0x2e908f[_0x2e908f[_0x5c6959]]):_0x49823b=_0x5c6959=0x1;}}());var _0x2dd50e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xbc0c6d=_0x2cf4e6[_0x44dbd7(0x184)]=_0x395336[_0x44dbd7(0x1c4)]({'_doReset':function(){var _0x315683=_0x44dbd7,_0x55cf1c;if(!(this[_0x315683(0x130)]&&this[_0x315683(0x35d)]===this['_key'])){for(var _0x289861=this[_0x315683(0x35d)]=this[_0x315683(0x1b1)],_0x31b154=_0x289861[_0x315683(0x211)],_0x43eda9=_0x289861['sigBytes']/0x4,_0x257de9=this[_0x315683(0x130)]=_0x43eda9+0x6,_0x152c11=(_0x257de9+0x1)*0x4,_0x23c2b2=this[_0x315683(0x186)]=[],_0xbfdac=0x0;_0xbfdac<_0x152c11;_0xbfdac++)_0xbfdac<_0x43eda9?_0x23c2b2[_0xbfdac]=_0x31b154[_0xbfdac]:(_0x55cf1c=_0x23c2b2[_0xbfdac-0x1],_0xbfdac%_0x43eda9?_0x43eda9>0x6&&_0xbfdac%_0x43eda9==0x4&&(_0x55cf1c=_0x1ff0db[_0x55cf1c>>>0x18]<<0x18|_0x1ff0db[_0x55cf1c>>>0x10&0xff]<<0x10|_0x1ff0db[_0x55cf1c>>>0x8&0xff]<<0x8|_0x1ff0db[_0x55cf1c&0xff]):(_0x55cf1c=_0x55cf1c<<0x8|_0x55cf1c>>>0x18,_0x55cf1c=_0x1ff0db[_0x55cf1c>>>0x18]<<0x18|_0x1ff0db[_0x55cf1c>>>0x10&0xff]<<0x10|_0x1ff0db[_0x55cf1c>>>0x8&0xff]<<0x8|_0x1ff0db[_0x55cf1c&0xff],_0x55cf1c^=_0x2dd50e[_0xbfdac/_0x43eda9|0x0]<<0x18),_0x23c2b2[_0xbfdac]=_0x23c2b2[_0xbfdac-_0x43eda9]^_0x55cf1c);for(var _0x257115=this['_invKeySchedule']=[],_0x4621e6=0x0;_0x4621e6<_0x152c11;_0x4621e6++){var _0xbfdac=_0x152c11-_0x4621e6;if(_0x4621e6%0x4)var _0x55cf1c=_0x23c2b2[_0xbfdac];else var _0x55cf1c=_0x23c2b2[_0xbfdac-0x4];_0x4621e6<0x4||_0xbfdac<=0x4?_0x257115[_0x4621e6]=_0x55cf1c:_0x257115[_0x4621e6]=_0xabf015[_0x1ff0db[_0x55cf1c>>>0x18]]^_0x3114d3[_0x1ff0db[_0x55cf1c>>>0x10&0xff]]^_0x19aee9[_0x1ff0db[_0x55cf1c>>>0x8&0xff]]^_0x30dda1[_0x1ff0db[_0x55cf1c&0xff]];}}},'encryptBlock':function(_0x126d21,_0x37d185){var _0x2ae063=_0x44dbd7;this[_0x2ae063(0x386)](_0x126d21,_0x37d185,this[_0x2ae063(0x186)],_0x2a622a,_0x16c460,_0x81abc2,_0x3d264a,_0x1ff0db);},'decryptBlock':function(_0xfa0592,_0x37454a){var _0x1b6c1e=_0x44dbd7,_0x374261=_0xfa0592[_0x37454a+0x1];_0xfa0592[_0x37454a+0x1]=_0xfa0592[_0x37454a+0x3],_0xfa0592[_0x37454a+0x3]=_0x374261,this[_0x1b6c1e(0x386)](_0xfa0592,_0x37454a,this[_0x1b6c1e(0x387)],_0xabf015,_0x3114d3,_0x19aee9,_0x30dda1,_0x5d5084);var _0x374261=_0xfa0592[_0x37454a+0x1];_0xfa0592[_0x37454a+0x1]=_0xfa0592[_0x37454a+0x3],_0xfa0592[_0x37454a+0x3]=_0x374261;},'_doCryptBlock':function(_0x1b4589,_0x1e7806,_0x404fb4,_0x537cd4,_0x27512d,_0x3fe76a,_0x48cd72,_0x2b184f){var _0x4da748=_0x44dbd7;for(var _0x395c7f=this[_0x4da748(0x130)],_0x1f35b1=_0x1b4589[_0x1e7806]^_0x404fb4[0x0],_0x21d5e4=_0x1b4589[_0x1e7806+0x1]^_0x404fb4[0x1],_0x25621b=_0x1b4589[_0x1e7806+0x2]^_0x404fb4[0x2],_0x234842=_0x1b4589[_0x1e7806+0x3]^_0x404fb4[0x3],_0x4a5646=0x4,_0x587a99=0x1;_0x587a99<_0x395c7f;_0x587a99++){var _0x1ff7dc=_0x537cd4[_0x1f35b1>>>0x18]^_0x27512d[_0x21d5e4>>>0x10&0xff]^_0x3fe76a[_0x25621b>>>0x8&0xff]^_0x48cd72[_0x234842&0xff]^_0x404fb4[_0x4a5646++],_0x216326=_0x537cd4[_0x21d5e4>>>0x18]^_0x27512d[_0x25621b>>>0x10&0xff]^_0x3fe76a[_0x234842>>>0x8&0xff]^_0x48cd72[_0x1f35b1&0xff]^_0x404fb4[_0x4a5646++],_0x15a5d1=_0x537cd4[_0x25621b>>>0x18]^_0x27512d[_0x234842>>>0x10&0xff]^_0x3fe76a[_0x1f35b1>>>0x8&0xff]^_0x48cd72[_0x21d5e4&0xff]^_0x404fb4[_0x4a5646++],_0x560112=_0x537cd4[_0x234842>>>0x18]^_0x27512d[_0x1f35b1>>>0x10&0xff]^_0x3fe76a[_0x21d5e4>>>0x8&0xff]^_0x48cd72[_0x25621b&0xff]^_0x404fb4[_0x4a5646++];_0x1f35b1=_0x1ff7dc,_0x21d5e4=_0x216326,_0x25621b=_0x15a5d1,_0x234842=_0x560112;}var _0x1ff7dc=(_0x2b184f[_0x1f35b1>>>0x18]<<0x18|_0x2b184f[_0x21d5e4>>>0x10&0xff]<<0x10|_0x2b184f[_0x25621b>>>0x8&0xff]<<0x8|_0x2b184f[_0x234842&0xff])^_0x404fb4[_0x4a5646++],_0x216326=(_0x2b184f[_0x21d5e4>>>0x18]<<0x18|_0x2b184f[_0x25621b>>>0x10&0xff]<<0x10|_0x2b184f[_0x234842>>>0x8&0xff]<<0x8|_0x2b184f[_0x1f35b1&0xff])^_0x404fb4[_0x4a5646++],_0x15a5d1=(_0x2b184f[_0x25621b>>>0x18]<<0x18|_0x2b184f[_0x234842>>>0x10&0xff]<<0x10|_0x2b184f[_0x1f35b1>>>0x8&0xff]<<0x8|_0x2b184f[_0x21d5e4&0xff])^_0x404fb4[_0x4a5646++],_0x560112=(_0x2b184f[_0x234842>>>0x18]<<0x18|_0x2b184f[_0x1f35b1>>>0x10&0xff]<<0x10|_0x2b184f[_0x21d5e4>>>0x8&0xff]<<0x8|_0x2b184f[_0x25621b&0xff])^_0x404fb4[_0x4a5646++];_0x1b4589[_0x1e7806]=_0x1ff7dc,_0x1b4589[_0x1e7806+0x1]=_0x216326,_0x1b4589[_0x1e7806+0x2]=_0x15a5d1,_0x1b4589[_0x1e7806+0x3]=_0x560112;},'keySize':0x100/0x20});_0x325294[_0x44dbd7(0x184)]=_0x395336['_createHelper'](_0xbc0c6d);}()),_0x3e3ba1[_0x3a0e49(0x184)];}));}(We)),We[_0x197709(0x16e)];}var er=Qs();const tr=je(er);var ir=wi();const ai=je(ir);var Ze={'exports':{}},nr=Ze[_0x311346(0x16e)],ci;function sr(){var _0x2823fe=_0x311346;return ci||(ci=0x1,function(_0x305e75,_0x23daeb){(function(_0xe5352d,_0x2d0d2b){var _0x92cc17=_0x30a1;_0x305e75[_0x92cc17(0x16e)]=_0x2d0d2b(ne());}(nr,function(_0x55f4d0){var _0x2b81a=_0x30a1;return _0x55f4d0[_0x2b81a(0x33f)][_0x2b81a(0x25a)];}));}(Ze)),Ze[_0x2823fe(0x16e)];}var rr=sr();const or=je(rr);var Qe={'exports':{}},ar=Qe[_0x311346(0x16e)],hi;function cr(){var _0x2e0efe=_0x311346;return hi||(hi=0x1,function(_0x46d28b,_0x775cf2){(function(_0x3cedbb,_0x8faa63){_0x46d28b['exports']=_0x8faa63(ne());}(ar,function(_0x4b2df2){var _0x202891=_0x30a1;return(function(){var _0x2b53c0=_0x30a1;if(typeof ArrayBuffer==_0x2b53c0(0x138)){var _0x124ae2=_0x4b2df2,_0x215a44=_0x124ae2['lib'],_0x21de85=_0x215a44[_0x2b53c0(0x1f6)],_0x4c997f=_0x21de85[_0x2b53c0(0x24b)],_0x1bb597=_0x21de85['init']=function(_0x24bc9f){var _0x3137b8=_0x2b53c0;if(_0x24bc9f instanceof ArrayBuffer&&(_0x24bc9f=new Uint8Array(_0x24bc9f)),(_0x24bc9f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x24bc9f instanceof Uint8ClampedArray||_0x24bc9f instanceof Int16Array||_0x24bc9f instanceof Uint16Array||_0x24bc9f instanceof Int32Array||_0x24bc9f instanceof Uint32Array||_0x24bc9f instanceof Float32Array||_0x24bc9f instanceof Float64Array)&&(_0x24bc9f=new Uint8Array(_0x24bc9f[_0x3137b8(0x27d)],_0x24bc9f[_0x3137b8(0x2c1)],_0x24bc9f[_0x3137b8(0x18b)])),_0x24bc9f instanceof Uint8Array){for(var _0x15ad23=_0x24bc9f[_0x3137b8(0x18b)],_0x463e70=[],_0x671ff1=0x0;_0x671ff1<_0x15ad23;_0x671ff1++)_0x463e70[_0x671ff1>>>0x2]|=_0x24bc9f[_0x671ff1]<<0x18-_0x671ff1%0x4*0x8;_0x4c997f[_0x3137b8(0x15e)](this,_0x463e70,_0x15ad23);}else _0x4c997f[_0x3137b8(0x221)](this,arguments);};_0x1bb597[_0x2b53c0(0x2e7)]=_0x21de85;}}()),_0x4b2df2[_0x202891(0x166)][_0x202891(0x1f6)];}));}(Qe)),Qe[_0x2e0efe(0x16e)];}var hr=cr();const _r=je(hr);var et={'exports':{}},lr=et[_0x311346(0x16e)],_i;function ur(){var _0x1128d7=_0x311346;return _i||(_i=0x1,function(_0x4983d4,_0x522630){(function(_0x1ebc8f,_0x38e368,_0x2b1a49){var _0x539241=_0x30a1;_0x4983d4[_0x539241(0x16e)]=_0x38e368(ne(),Ai());}(lr,function(_0x5d25f1){var _0x54d3a1=_0x30a1;return _0x5d25f1['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5d25f1[_0x54d3a1(0x1db)][_0x54d3a1(0x313)];}));}(et)),et[_0x1128d7(0x16e)];}var dr=ur();const fr=je(dr);function vr(_0x42b834,_0x1cdddf){var _0x148c12=_0x311346;const _0x51205d=_0x1cdddf-_0x42b834['length']%_0x1cdddf,_0x45c3e5=String['fromCharCode'](_0x51205d)[_0x148c12(0x171)](_0x51205d);return _0x42b834+_0x45c3e5;}function pr(_0x139e7e,_0x1ab4a6){var _0x567f99=_0x311346;const _0x150845=_r['random'](0x10),_0x160dd6=vr(_0x139e7e,0x10),_0x5cb71f=tr['encrypt'](or[_0x567f99(0xd5)](_0x160dd6),ai[_0x567f99(0xd5)](_0x1ab4a6),{'iv':_0x150845,'padding':fr});return _0x150845['concat'](_0x5cb71f[_0x567f99(0x294)])[_0x567f99(0x109)](ai);}function gr(){var _0x4e7d3d=_0x311346;const _0x34fb10=_0x7f7889()[_0x4e7d3d(0xcb)];if(_0x34fb10){const _0x2753a4={'time':Math[_0x4e7d3d(0x35f)](Date[_0x4e7d3d(0x1d4)]()/0x3e8),'domain':location['hostname']};return pr(JSON[_0x4e7d3d(0x104)](_0x2753a4),_0x34fb10);}}var mr=Object[_0x311346(0x1ad)],Sr=Object['getOwnPropertyDescriptor'],Er=(_0x265a3e,_0x45f356,_0x10586a,_0x426be7)=>{var _0x180445=_0x311346;for(var _0x3e7800=_0x426be7>0x1?void 0x0:_0x426be7?Sr(_0x45f356,_0x10586a):_0x45f356,_0x237bb6=_0x265a3e[_0x180445(0xa6)]-0x1,_0x3876a2;_0x237bb6>=0x0;_0x237bb6--)(_0x3876a2=_0x265a3e[_0x237bb6])&&(_0x3e7800=(_0x426be7?_0x3876a2(_0x45f356,_0x10586a,_0x3e7800):_0x3876a2(_0x3e7800))||_0x3e7800);return _0x426be7&&_0x3e7800&&mr(_0x45f356,_0x10586a,_0x3e7800),_0x3e7800;},Ir=(_0x1253a8,_0x5a2ff6)=>(_0x1def92,_0x4e741c)=>_0x5a2ff6(_0x1def92,_0x4e741c,_0x1253a8);let at=class{constructor(_0x2d1d57){var _0x126e98=_0x311346;this[_0x126e98(0x2df)]=_0x2d1d57,this[_0x126e98(0x34e)]();}[_0x311346(0x34e)](){var _0x46d4a9=_0x311346;this['_httpService'][_0x46d4a9(0x30b)]({'interceptor':(_0x301fda,_0xe1aa3f)=>{var _0x338b3b=_0x46d4a9;const _0x358eeb=_0x301fda['headers'],_0x3a6d88=gr();return _0x3a6d88&&_0x358eeb['set'](_0x338b3b(0x1f5),_0x3a6d88),_0xe1aa3f(_0x301fda);}});}};at=Er([Ir(0x0,_0x558686(_0x44812c))],at);var Tr=Object['defineProperty'],Cr=Object[_0x311346(0x122)],br=(_0x163a43,_0x5e1098,_0xce2f8,_0x44e24d)=>{var _0x52341e=_0x311346;for(var _0x3256eb=_0x44e24d>0x1?void 0x0:_0x44e24d?Cr(_0x5e1098,_0xce2f8):_0x5e1098,_0x1cda54=_0x163a43[_0x52341e(0xa6)]-0x1,_0x4380d5;_0x1cda54>=0x0;_0x1cda54--)(_0x4380d5=_0x163a43[_0x1cda54])&&(_0x3256eb=(_0x44e24d?_0x4380d5(_0x5e1098,_0xce2f8,_0x3256eb):_0x4380d5(_0x3256eb))||_0x3256eb);return _0x44e24d&&_0x3256eb&&Tr(_0x5e1098,_0xce2f8,_0x3256eb),_0x3256eb;},mt=(_0x5984ef,_0x35dfec)=>(_0x25bcdb,_0x1a7781)=>_0x35dfec(_0x25bcdb,_0x1a7781,_0x5984ef);let Ot=class extends _0xb2416e{constructor(_0x429759,_0xd906f0,_0x41feb9){var _0x461a16=_0x311346;super(),D(this,_0x461a16(0x206),new _0x36e308(null)),D(this,_0x461a16(0x220),this[_0x461a16(0x206)][_0x461a16(0x23f)]()),(this[_0x461a16(0x383)]=_0x429759,this[_0x461a16(0x29d)]=_0xd906f0,this[_0x461a16(0x2d7)]=_0x41feb9);}async[_0x311346(0x191)](_0x5089b9,_0x20971a,_0x17017c){var _0x207e4e=_0x311346;this[_0x207e4e(0x206)][_0x207e4e(0x2d8)]({'unitId':_0x5089b9,'type':_0x20971a,'subUnitId':_0x17017c});let _0x1f130c=null;switch(_0x20971a){case Q[_0x207e4e(0x21d)]:{_0x1f130c=await this['_loadSheet'](_0x5089b9);break;}case Q[_0x207e4e(0x28b)]:{_0x1f130c=await this['_loadDoc'](_0x5089b9);break;}default:{this[_0x207e4e(0x383)][_0x207e4e(0x38e)]('[DataLoaderService]',_0x207e4e(0x348));break;}}return _0x1f130c;}async[_0x311346(0x300)](_0x4b3912){var _0x335016=_0x311346,_0xd2ebc8;let _0x5cd8f6=0x0;const _0x4a2219=await((_0xd2ebc8=this[_0x335016(0x2d7)])==null?void 0x0:_0xd2ebc8['loadOfflineData'](_0x4b3912));return _0x4a2219&&(_0x4a2219[_0x335016(0xb8)]||_0x4a2219[_0x335016(0x100)][_0x335016(0xa6)]!==0x0)&&(_0x5cd8f6=_0x4a2219[_0x335016(0xf6)]),_0x5cd8f6===0x0&&this['_logService'][_0x335016(0xf7)](_0x335016(0xd2),_0x335016(0x173)),this[_0x335016(0x29d)][_0x335016(0x281)](_0x4b3912,_0x5cd8f6);}async[_0x311346(0x299)](_0xc31335){var _0x17b3ba=_0x311346,_0x379111;let _0x5cb6c3=0x0;const _0xec32de=await((_0x379111=this[_0x17b3ba(0x2d7)])==null?void 0x0:_0x379111[_0x17b3ba(0x251)](_0xc31335));return _0xec32de&&(_0xec32de[_0x17b3ba(0xb8)]||_0xec32de[_0x17b3ba(0x100)]['length']!==0x0)&&(_0x5cb6c3=_0xec32de['rev']),_0x5cb6c3===0x0&&this[_0x17b3ba(0x383)][_0x17b3ba(0xf7)](_0x17b3ba(0xd2),_0x17b3ba(0x173)),this[_0x17b3ba(0x29d)][_0x17b3ba(0x193)](_0xc31335,_0x5cb6c3);}};Ot=br([mt(0x0,_0x131104),mt(0x1,_0x558686(_0x193173)),mt(0x2,_0x36723f(X))],Ot);var Rr=Object[_0x311346(0x1ad)],yr=Object['getOwnPropertyDescriptor'],Or=(_0x195626,_0xe8394e,_0x47b757,_0x5b8a56)=>{for(var _0x5e8cdd=_0x5b8a56>0x1?void 0x0:_0x5b8a56?yr(_0xe8394e,_0x47b757):_0xe8394e,_0x154c8e=_0x195626['length']-0x1,_0x26196a;_0x154c8e>=0x0;_0x154c8e--)(_0x26196a=_0x195626[_0x154c8e])&&(_0x5e8cdd=(_0x5b8a56?_0x26196a(_0xe8394e,_0x47b757,_0x5e8cdd):_0x26196a(_0x5e8cdd))||_0x5e8cdd);return _0x5b8a56&&_0x5e8cdd&&Rr(_0xe8394e,_0x47b757,_0x5e8cdd),_0x5e8cdd;},St=(_0x2e177b,_0x3806c0)=>(_0xc68f58,_0x329c3d)=>_0x3806c0(_0xc68f58,_0x329c3d,_0x2e177b);const Pr=[_0x311346(0xfc),_0x311346(0xbd),_0x311346(0x134),_0x311346(0x20e),_0x311346(0x1a4)],Nr=0x5*0x400*0x400,Dr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',wr=_0x311346(0x26f),Ur=_0x311346(0x15c),Ar='/universer-api/file/{fileID}/sign-url';let Pt=class{constructor(_0x84243e,_0x5704f4,_0x4dcf47){var _0x209e35=_0x311346;D(this,_0x209e35(0x10d),0x0),D(this,_0x209e35(0x140),new _0x8ea31a()),D(this,_0x209e35(0x150),this['_change$']),D(this,_0x209e35(0x113),new Map()),(this[_0x209e35(0x2df)]=_0x84243e,this[_0x209e35(0x267)]=_0x5704f4,this[_0x209e35(0x129)]=_0x4dcf47);}[_0x311346(0x132)](_0x33025d){var _0xf29524=_0x311346;this[_0xf29524(0x10d)]=_0x33025d,this[_0xf29524(0x140)][_0xf29524(0x2d8)](_0x33025d);}[_0x311346(0x1a8)](_0x21797e,_0xc5d90a){var _0x192de1=_0x311346;if(_0xc5d90a===_0x15b436[_0x192de1(0x363)]){const _0x702be1=new Image();return _0x702be1['src']=_0x21797e,_0x702be1;}return this[_0x192de1(0x113)][_0x192de1(0xfd)](_0x21797e);}[_0x311346(0x2a5)](_0x14b1f5,_0x3e1e35,_0x3649e0){var _0x3928e3=_0x311346;_0x3e1e35===_0x15b436[_0x3928e3(0x363)]||_0x3649e0==null||this[_0x3928e3(0x113)][_0x3928e3(0x312)](_0x14b1f5,_0x3649e0);}async[_0x311346(0x1e2)](_0x4c64bd){var _0x52fd44=_0x311346;try{const _0x258df1=this['_replaceFileID'](this['_getSignURL'](),''+_0x4c64bd),_0x85f419=(await this['_httpService'][_0x52fd44(0xfd)](_0x258df1))[_0x52fd44(0x31e)];if(_0x85f419[_0x52fd44(0x38e)]&&_0x85f419[_0x52fd44(0x38e)][_0x52fd44(0x128)]===Ii['OK']){const _0x284f8b=new URL(_0x85f419[_0x52fd44(0x2d2)],this[_0x52fd44(0x102)]())[_0x52fd44(0x109)]();return Promise['resolve'](_0x284f8b);}return Promise['reject'](_0x85f419[_0x52fd44(0x38e)]);}catch(_0x3c785e){return Promise[_0x52fd44(0xd3)](_0x3c785e);}}async[_0x311346(0x26e)](_0x17885d){var _0x21b908=_0x311346;let _0x341ce1='';if(!Pr[_0x21b908(0x1b4)](_0x17885d['type']))return this[_0x21b908(0xe4)](),Promise[_0x21b908(0xd3)](new Error(_0xb6b07f[_0x21b908(0xf4)]));if(_0x17885d[_0x21b908(0x163)]>Nr)return this[_0x21b908(0xe4)](),Promise[_0x21b908(0xd3)](new Error(_0xb6b07f[_0x21b908(0x3a4)]));try{const _0x81b6e6=new FormData();_0x81b6e6[_0x21b908(0xb0)]('file',_0x17885d);const _0x35ca16=this[_0x21b908(0x129)][_0x21b908(0x144)](),_0x7c9deb=_0x35ca16==null?void 0x0:_0x35ca16[_0x21b908(0x2fa)]();if(!_0x7c9deb)throw new Error(_0x21b908(0x34d));const _0x489a39=this['_getUploadFileURL']()+_0x21b908(0x11d)+_0x17885d['size'][_0x21b908(0x109)]()+_0x21b908(0x1ff)+Ti['UnitEmbedded']+_0x21b908(0x2a8)+encodeURIComponent(_0x7c9deb),_0x14c53f=await(await fetch(_0x489a39,{'method':_0x21b908(0x20b),'body':_0x81b6e6}))[_0x21b908(0x190)]();if(typeof _0x14c53f[_0x21b908(0x11f)]!=_0x21b908(0x253))return this[_0x21b908(0xe4)](),Promise['reject'](new Error(_0xb6b07f[_0x21b908(0x333)]));_0x341ce1=_0x14c53f['FileId'];}catch{return this[_0x21b908(0xe4)](),Promise['reject'](new Error(_0xb6b07f[_0x21b908(0x333)]));}return new Promise((_0x3f0408,_0x2b7098)=>{var _0x445b08=_0x21b908;const _0x1f315e=new FileReader();_0x1f315e[_0x445b08(0x35c)](_0x17885d),_0x1f315e['onload']=_0x35e16b=>{var _0x37bd86=_0x445b08,_0x3caf8a;const _0x34ab0d=(_0x3caf8a=_0x35e16b[_0x37bd86(0x390)])==null?void 0x0:_0x3caf8a[_0x37bd86(0x1bc)];if(_0x34ab0d==null){this[_0x37bd86(0xe4)](),_0x2b7098(new Error(_0xb6b07f[_0x37bd86(0x333)]));return;}const _0x4510fc=_0x11538a[_0x37bd86(0x227)](0x6);_0x3f0408({'imageId':_0x4510fc,'imageSourceType':_0x15b436[_0x37bd86(0xba)],'source':_0x341ce1,'base64Cache':_0x34ab0d,'status':_0xb6b07f[_0x37bd86(0x11e)]}),this[_0x37bd86(0xe4)]();};});}[_0x311346(0x2d4)](){var _0x47eca1=_0x311346,_0x16344f,_0xe0a7b8;const _0x41df06=this['_configService'][_0x47eca1(0x276)](Dr),_0x4ab363=this[_0x47eca1(0x267)][_0x47eca1(0x276)](Y);return(_0xe0a7b8=(_0x16344f=_0x4ab363==null?void 0x0:_0x4ab363[_0x47eca1(0x377)])!=null?_0x16344f:_0x41df06)!=null?_0xe0a7b8:wr;}[_0x311346(0x38b)](){var _0x1a5432=_0x311346,_0x4a0007,_0x5f16de;const _0x27509b=this[_0x1a5432(0x267)]['getConfig'](Ur),_0x8e4386=this[_0x1a5432(0x267)][_0x1a5432(0x276)](Y);return(_0x5f16de=(_0x4a0007=_0x8e4386==null?void 0x0:_0x8e4386[_0x1a5432(0x2cf)])!=null?_0x4a0007:_0x27509b)!=null?_0x5f16de:Ar;}[_0x311346(0x102)](){var _0x191fc5=_0x311346,_0x18c68c;const _0x30ed9a=this[_0x191fc5(0x267)][_0x191fc5(0x276)](Y);return(_0x18c68c=_0x30ed9a==null?void 0x0:_0x30ed9a[_0x191fc5(0x32f)])!=null?_0x18c68c:location[_0x191fc5(0x106)];}[_0x311346(0x325)](_0x3a9e9e,_0xda8470){var _0xea2a7f=_0x311346;return _0x3a9e9e[_0xea2a7f(0x237)](_0xea2a7f(0x30e),_0xda8470);}[_0x311346(0xe4)](){var _0x3381d6=_0x311346;this[_0x3381d6(0x10d)]-=0x1,this[_0x3381d6(0x140)]['next'](this[_0x3381d6(0x10d)]);}};Pt=Or([St(0x0,_0x558686(_0x44812c)),St(0x1,_0xd9deb0),St(0x2,_0x558686(_0x255145))],Pt);var xr=Object['defineProperty'],Lr=Object[_0x311346(0x122)],Mr=(_0x1ec762,_0x3fdb1b,_0x5a1a8,_0x16604a)=>{var _0x461bbc=_0x311346;for(var _0x139057=_0x16604a>0x1?void 0x0:_0x16604a?Lr(_0x3fdb1b,_0x5a1a8):_0x3fdb1b,_0x3c02d6=_0x1ec762[_0x461bbc(0xa6)]-0x1,_0x9dd57f;_0x3c02d6>=0x0;_0x3c02d6--)(_0x9dd57f=_0x1ec762[_0x3c02d6])&&(_0x139057=(_0x16604a?_0x9dd57f(_0x3fdb1b,_0x5a1a8,_0x139057):_0x9dd57f(_0x139057))||_0x139057);return _0x16604a&&_0x139057&&xr(_0x3fdb1b,_0x5a1a8,_0x139057),_0x139057;},li=(_0x187fe9,_0x1a71de)=>(_0x10ada2,_0x54c9fe)=>_0x1a71de(_0x10ada2,_0x54c9fe,_0x187fe9);const $r='/universer-api/authz';let Nt=class{constructor(_0x24dbc9,_0x1dbeee){var _0x241f15=_0x311346;this[_0x241f15(0x267)]=_0x24dbc9,this[_0x241f15(0x1ce)]=_0x1dbeee;}['_getAPIPrefixPath'](){var _0x1cd1e7=_0x311346,_0x1400c1,_0xa063bc;const _0x1ba26e=this[_0x1cd1e7(0x267)][_0x1cd1e7(0x276)](Di),_0x54c32e=this[_0x1cd1e7(0x267)][_0x1cd1e7(0x276)](Y);return(_0xa063bc=(_0x1400c1=_0x54c32e==null?void 0x0:_0x54c32e[_0x1cd1e7(0x36f)])!=null?_0x1400c1:_0x1ba26e)!=null?_0xa063bc:$r;}async[_0x311346(0x114)](_0x586bc7){var _0xcbba26=_0x311346;const _0x158d11=this[_0xcbba26(0x1e6)]()+_0xcbba26(0x35a);return{'list':[{'title':_0xcbba26(0x2d3),'mentions':(await this[_0xcbba26(0x1ce)][_0xcbba26(0xfd)](_0x158d11,{'params':{'objectID':_0x586bc7['unitId'],'unitID':_0x586bc7[_0xcbba26(0x162)]}}))[_0xcbba26(0x31e)][_0xcbba26(0x2e0)]['map'](_0x3cb626=>({'objectId':_0x3cb626['id'],'name':_0x3cb626['subject'][_0xcbba26(0xdb)],'metadata':{'icon':_0x3cb626['subject'][_0xcbba26(0xb6)]},'label':_0x3cb626[_0xcbba26(0x3a3)][_0xcbba26(0xdb)],'objectType':_0x29d7f1[_0xcbba26(0x181)]})),'metadata':{},'type':_0x29d7f1[_0xcbba26(0x181)]}]};}};Nt=Mr([li(0x0,_0x558686(_0xd9deb0)),li(0x1,_0x558686(_0x44812c))],Nt);var Hr=Object['defineProperty'],kr=Object[_0x311346(0x122)],jr=(_0x16398a,_0x201ddb,_0x5e91e9,_0x201775)=>{var _0x173f06=_0x311346;for(var _0x162a16=_0x201775>0x1?void 0x0:_0x201775?kr(_0x201ddb,_0x5e91e9):_0x201ddb,_0x5c609d=_0x16398a[_0x173f06(0xa6)]-0x1,_0x3dc1fa;_0x5c609d>=0x0;_0x5c609d--)(_0x3dc1fa=_0x16398a[_0x5c609d])&&(_0x162a16=(_0x201775?_0x3dc1fa(_0x201ddb,_0x5e91e9,_0x162a16):_0x3dc1fa(_0x162a16))||_0x162a16);return _0x201775&&_0x162a16&&Hr(_0x201ddb,_0x5e91e9,_0x162a16),_0x162a16;},Se=(_0x3472b3,_0x168364)=>(_0x2556d1,_0x444db9)=>_0x168364(_0x2556d1,_0x444db9,_0x3472b3);let ct=class extends _0xb2416e{constructor(_0x29978a,_0x37c5d7,_0x1ceeca,_0x1da4fe,_0x2506d4,_0x40a29d,_0x452db3){var _0x4dfb9e=_0x311346;super(),this[_0x4dfb9e(0xf8)]=_0x29978a,this[_0x4dfb9e(0x129)]=_0x37c5d7,this[_0x4dfb9e(0x1f8)]=_0x1ceeca,this[_0x4dfb9e(0xe3)]=_0x1da4fe,this[_0x4dfb9e(0x19d)]=_0x2506d4,this['_authzIoService']=_0x40a29d,this[_0x4dfb9e(0x34c)]=_0x452db3,this[_0x4dfb9e(0x121)](),this[_0x4dfb9e(0x207)]();}[_0x311346(0x207)](){var _0x225b8b=_0x311346;const _0x57dea8=async _0x449e7c=>{var _0x5e2ed5=_0x30a1;(await this['_collaborationSessionService'][_0x5e2ed5(0x1b5)](_0x449e7c))[_0x5e2ed5(0x22a)][_0x5e2ed5(0x178)](_0x12fce4(_0x83a751=>_0x83a751[_0x5e2ed5(0x179)]===_0x554366[_0x5e2ed5(0x29c)]),_0x2fa096(this[_0x5e2ed5(0xc4)]))[_0x5e2ed5(0x14f)](_0x3c69e0=>{var _0x445894=_0x5e2ed5;const _0x5e0218=_0x3c69e0,{reason:_0x46942c}=_0x5e0218['data'];this['_collaborationUIEventService'][_0x445894(0x379)]({'id':se['CLOSE_ROOM'],'data':_0x46942c}),this[_0x445894(0x1f8)][_0x445894(0x127)](new _0x445c74(_0x449e7c)['id'],!0x1),this[_0x445894(0xe3)][_0x445894(0x168)](_0x449e7c);});};_0x171772(this[_0x225b8b(0x129)][_0x225b8b(0x298)](_0x284db2[_0x225b8b(0x21d)]),this[_0x225b8b(0x129)]['getTypeOfUnitAdded$'](_0x284db2['UNIVER_DOC']))[_0x225b8b(0x178)](_0x339470(_0x105539=>_0x105539[_0x225b8b(0x2fa)]()),_0x12fce4(_0x13919f=>!_0x4534fa(_0x13919f)),_0x2fa096(this[_0x225b8b(0xc4)]))[_0x225b8b(0x14f)](_0x3a7fe5=>{_0x57dea8(_0x3a7fe5);});}['_initUnitPermissionChange'](){var _0x27ec9b=_0x311346;const _0x4f7051=async _0x234f7d=>{var _0x13eb53=_0x30a1;(await this[_0x13eb53(0xe3)]['requireSession'](_0x234f7d))[_0x13eb53(0x22a)][_0x13eb53(0x178)](_0x12fce4(_0x3dd991=>_0x3dd991['eventID']===_0x554366[_0x13eb53(0x29b)]),_0x2fa096(this[_0x13eb53(0xc4)]))[_0x13eb53(0x14f)](_0x236b74=>{var _0x530c4a=_0x13eb53;const _0x450558=_0x236b74,{objectId:_0x51a508}=_0x450558[_0x530c4a(0x182)];_0x51a508===_0x234f7d?this[_0x530c4a(0x21e)](_0x234f7d):this['refreshPermission'](_0x234f7d,_0x51a508);});};_0x171772(this[_0x27ec9b(0x129)][_0x27ec9b(0x298)](_0x284db2[_0x27ec9b(0x21d)]),this['_univerInstanceService'][_0x27ec9b(0x298)](_0x284db2[_0x27ec9b(0x28b)]))[_0x27ec9b(0x178)](_0x339470(_0x372588=>_0x372588[_0x27ec9b(0x2fa)]()),_0x12fce4(_0xe3c271=>!_0x4534fa(_0xe3c271)),_0x2fa096(this[_0x27ec9b(0xc4)]))['subscribe'](_0x5cefab=>{_0x4f7051(_0x5cefab);});}async[_0x311346(0x21e)](_0x424f16){var _0x5dbffd=_0x311346,_0x309fc8;const _0x4f1d0e=_0x424f16||((_0x309fc8=this[_0x5dbffd(0x129)]['getCurrentUnitForType'](_0x284db2[_0x5dbffd(0x21d)]))==null?void 0x0:_0x309fc8[_0x5dbffd(0x2fa)]());_0x4f1d0e&&this['_authzIoService']['allowed']({'objectID':_0x4f1d0e,'objectType':_0x1d7182[_0x5dbffd(0x226)],'unitID':_0x4f1d0e,'actions':_0x5a2337})['then'](_0x295db2=>{var _0x2b2397=_0x5dbffd;_0x532be7()[_0x2b2397(0x1b8)](_0x5992af=>{var _0x5acebc=_0x2b2397;const _0x1a437a=new _0x5992af(_0x4f1d0e),_0x502896=_0x1a437a[_0x5acebc(0x2fd)],_0x4a593d=_0x295db2[_0x5acebc(0x202)](_0x585384=>_0x585384[_0x5acebc(0x2c8)]===_0x502896);_0x4a593d&&this['_permissionService']['updatePermissionPoint'](_0x1a437a['id'],_0x4a593d[_0x5acebc(0x282)]);});});}[_0x311346(0x199)](_0x5f0098,_0xa67f45){var _0x367ee2=_0x311346;const _0x225749=this[_0x367ee2(0xf8)][_0x367ee2(0xfd)](_0x2b9171),_0x365f13=_0x225749[_0x367ee2(0x28a)](_0x5f0098,_0xa67f45);let _0x148e9d=!0x1;if(_0x365f13){const [_0x3a1a69,_0x1e66fa]=_0x365f13;this['_authzIoService'][_0x367ee2(0x282)]({'objectID':_0xa67f45,'unitID':_0x5f0098,'objectType':_0x1d7182['Worksheet'],'actions':_0x5a1c70})[_0x367ee2(0x3a6)](_0x252d2a=>{var _0x86ffab=_0x367ee2;let _0x407ca1='';_0x1f3f4e()[_0x86ffab(0x1b8)](_0x2a0c8c=>{var _0x77502e=_0x86ffab,_0x344ee1;const _0x2bc849=new _0x2a0c8c(_0x5f0098,_0x1e66fa),_0x2f519a=_0x2bc849[_0x77502e(0x2fd)],_0x39b6d5=_0x252d2a[_0x77502e(0x202)](_0x373d37=>_0x373d37[_0x77502e(0x2c8)]===_0x2f519a);_0x39b6d5&&(((_0x344ee1=this[_0x77502e(0x1f8)][_0x77502e(0x218)](_0x2bc849['id']))==null?void 0x0:_0x344ee1[_0x77502e(0x396)])!==_0x39b6d5['allowed']&&(_0x148e9d=!0x0),this[_0x77502e(0x1f8)][_0x77502e(0x127)](_0x2bc849['id'],_0x39b6d5[_0x77502e(0x282)]),_0x407ca1+=_0x39b6d5[_0x77502e(0x2c8)]+'_'+_0x39b6d5[_0x77502e(0x282)]);}),_0x225749[_0x86ffab(0x339)](_0xa67f45+'_'+_0x407ca1),_0x148e9d&&this[_0x86ffab(0x34c)][_0x86ffab(0x2ee)](_0x5f0098);});}const _0x1ecbdf=this[_0x367ee2(0xf8)][_0x367ee2(0xfd)](_0x18bbb4)['getTargetByPermissionId'](_0x5f0098,_0xa67f45);if(_0x1ecbdf){const [_0x13a995,_0x5aefee]=_0x1ecbdf;this['_authzIoService']['allowed']({'objectID':_0xa67f45,'unitID':_0x5f0098,'objectType':_0x1d7182[_0x367ee2(0x157)],'actions':_0x57357b})[_0x367ee2(0x3a6)](_0x4c288a=>{var _0x5e9dd0=_0x367ee2;_0x3c3e71()['forEach'](_0x132388=>{var _0x289956=_0x30a1,_0x2fe61c;const _0x3a2b9a=new _0x132388(_0x5f0098,_0x5aefee),_0x5f38c6=_0x3a2b9a['subType'],_0x50f17b=_0x4c288a['find'](_0x463f07=>_0x463f07[_0x289956(0x2c8)]===_0x5f38c6);_0x50f17b&&(((_0x2fe61c=this[_0x289956(0x1f8)][_0x289956(0x218)](_0x3a2b9a['id']))==null?void 0x0:_0x2fe61c['value'])!==_0x50f17b[_0x289956(0x282)]&&(_0x148e9d=!0x0),this[_0x289956(0x1f8)]['updatePermissionPoint'](_0x3a2b9a['id'],_0x50f17b[_0x289956(0x282)]));}),_0x148e9d&&this[_0x5e9dd0(0x34c)][_0x5e9dd0(0x2ee)](_0x5f0098);});}const _0x482f84=this[_0x367ee2(0xf8)][_0x367ee2(0xfd)](_0x1e6809),_0x3cbe5b=_0x482f84[_0x367ee2(0x28a)](_0x5f0098,_0xa67f45);if(_0x3cbe5b){const [_0x434816,_0x38acd9]=_0x3cbe5b;this[_0x367ee2(0x1cd)]['allowed']({'objectID':_0xa67f45,'unitID':_0x5f0098,'objectType':_0x1d7182[_0x367ee2(0x290)],'actions':_0x5a1c70})[_0x367ee2(0x3a6)](_0x48e41f=>{var _0xfc5203=_0x367ee2;let _0x153235='';_0x577638()['forEach'](_0x2f7b7c=>{var _0x4b2b35=_0x30a1,_0x117814;const _0x5b642b=new _0x2f7b7c(_0x5f0098,_0x38acd9,_0xa67f45),_0x5c6a88=_0x5b642b[_0x4b2b35(0x2fd)],_0x2b6cba=_0x48e41f[_0x4b2b35(0x202)](_0x6effc5=>_0x6effc5['action']===_0x5c6a88);_0x2b6cba&&(((_0x117814=this[_0x4b2b35(0x1f8)]['getPermissionPoint'](_0x5b642b['id']))==null?void 0x0:_0x117814['value'])!==_0x2b6cba[_0x4b2b35(0x282)]&&(_0x148e9d=!0x0),this['_permissionService'][_0x4b2b35(0x127)](_0x5b642b['id'],_0x2b6cba[_0x4b2b35(0x282)]),_0x153235+=_0x2b6cba['action']+'_'+_0x2b6cba[_0x4b2b35(0x282)]);}),_0x482f84[_0xfc5203(0x339)](_0xa67f45+'_'+_0x153235),_0x148e9d&&this['_undoRedoService']['clearUndoRedo'](_0x5f0098);});}}};ct=jr([Se(0x0,_0x558686(_0x398a6e)),Se(0x1,_0x255145),Se(0x2,_0x5ea19c),Se(0x3,_0x558686(Me)),Se(0x4,_0x558686(pe)),Se(0x5,_0xab6ef3),Se(0x6,_0x395d87)],ct);var Br=Object[_0x311346(0x1ad)],Fr=Object[_0x311346(0x122)],Vr=(_0x589e84,_0x37e771,_0x3c2339,_0x290a16)=>{var _0x5472b4=_0x311346;for(var _0x1b3136=_0x290a16>0x1?void 0x0:_0x290a16?Fr(_0x37e771,_0x3c2339):_0x37e771,_0x1eb925=_0x589e84[_0x5472b4(0xa6)]-0x1,_0x2b265f;_0x1eb925>=0x0;_0x1eb925--)(_0x2b265f=_0x589e84[_0x1eb925])&&(_0x1b3136=(_0x290a16?_0x2b265f(_0x37e771,_0x3c2339,_0x1b3136):_0x2b265f(_0x1b3136))||_0x1b3136);return _0x290a16&&_0x1b3136&&Br(_0x37e771,_0x3c2339,_0x1b3136),_0x1b3136;},ui=(_0x4a5607,_0x3942ca)=>(_0x53461d,_0x5f0beb)=>_0x3942ca(_0x53461d,_0x5f0beb,_0x4a5607);let Dt=class{constructor(_0x48ca84,_0x4873a8){var _0x102930=_0x311346;this[_0x102930(0x267)]=_0x48ca84,this[_0x102930(0x2df)]=_0x4873a8;}async[_0x311346(0x33c)](_0x59d588,_0x1660e9){var _0x114db1=_0x311346,_0x1245a0;const {unitID:_0x19d8d9,type:_0x398112,revision:_0x1dfa73=0x0}=_0x1660e9,_0x19bcf1=this['getSnapshotAPIPath']()+'/'+_0x398112+_0x114db1(0x376)+_0x19d8d9+_0x114db1(0x165)+_0x1dfa73,_0x1a3aa0=(await this[_0x114db1(0x2df)][_0x114db1(0xfd)](_0x19bcf1))[_0x114db1(0x31e)],_0x25b32d=(_0x1245a0=_0x1a3aa0[_0x114db1(0x2b6)])==null?void 0x0:_0x1245a0[_0x114db1(0x2bf)];if(_0x25b32d){const _0x1b7993=_0x25b32d==null?void 0x0:_0x25b32d[_0x114db1(0x14d)],_0x3f9b0a=_0x46aef8[_0x114db1(0x35b)](_0x5a7936(_0x1b7993));_0x25b32d['originalMeta']=_0x3f9b0a,Object[_0x114db1(0xf0)](_0x25b32d[_0x114db1(0x367)])[_0x114db1(0x1b8)](([,_0x21e583])=>{var _0x3ad60d=_0x114db1;const _0x213514=_0x21e583[_0x3ad60d(0x14d)],_0x21fc04=_0x46aef8['encode'](_0x5a7936(_0x213514));_0x21e583[_0x3ad60d(0x14d)]=_0x21fc04;});}return _0x1a3aa0;}async[_0x311346(0x265)](_0xfaa653,_0x33e555){var _0x286da0=_0x311346;const {unitID:_0x2c9a35,type:_0x1d2a7e,blockID:_0x203b4d}=_0x33e555,_0x29ae9f=this['_getAPIPrefix']()+'/'+_0x1d2a7e+_0x286da0(0x376)+_0x2c9a35+_0x286da0(0x1be)+_0x203b4d;return(await this[_0x286da0(0x2df)]['get'](_0x29ae9f))[_0x286da0(0x31e)];}async[_0x311346(0x139)](_0x4e4c8e,_0x5a2e33){var _0x14b540=_0x311346;const {unitID:_0xe6db7a,type:_0x4049b2,blockID:_0x9bfca9}=_0x5a2e33,_0x284051=this['_getAPIPrefix']()+_0x14b540(0x1be)+_0x4049b2+_0x14b540(0x376)+_0xe6db7a+_0x14b540(0x1be)+_0x9bfca9;return(await this['_httpService'][_0x14b540(0xfd)](_0x284051))[_0x14b540(0x31e)];}async[_0x311346(0x1c7)](_0x1dde6e,_0x2b85a0){var _0x78eddb=_0x311346;const {unitID:_0x27594e,type:_0x29b482,from:_0x1ccd73,to:_0x2e55a2}=_0x2b85a0,_0x37b49a=this[_0x78eddb(0x1b7)]()+'/'+_0x29b482+'/unit/'+_0x27594e+_0x78eddb(0x1fc)+_0x1ccd73+'&to='+_0x2e55a2;return(await this['_httpService'][_0x78eddb(0xfd)](_0x37b49a))[_0x78eddb(0x31e)];}[_0x311346(0x195)](){var _0x2ff422=_0x311346,_0x3a5384;return(_0x3a5384=this[_0x2ff422(0x267)]['getConfig'](Dn))!=null?_0x3a5384:this[_0x2ff422(0x1b7)]();}[_0x311346(0x1b7)](){var _0x18fea7=_0x311346,_0x569fce,_0x9a62c0;const _0xff1da2=this[_0x18fea7(0x267)][_0x18fea7(0x276)](Pn),_0x5f8a4a=this[_0x18fea7(0x267)][_0x18fea7(0x276)](Y);return(_0x9a62c0=(_0x569fce=_0x5f8a4a==null?void 0x0:_0x5f8a4a['snapshotServerUrl'])!=null?_0x569fce:_0xff1da2)!=null?_0x9a62c0:Nn;}async['getResourcesRequest'](_0xf3340e,_0x6ef193){var _0x24d086=_0x311346;const _0x1df90d='/universer-api/snapshot/'+_0x6ef193[_0x24d086(0xe6)]+'/unit/'+_0x6ef193[_0x24d086(0x389)]+_0x24d086(0x135);return(await this[_0x24d086(0x2df)]['get'](_0x1df90d,{'params':{'resourceId':JSON[_0x24d086(0x104)](_0x6ef193[_0x24d086(0x15f)])}}))['body'];}['saveSnapshot'](){var _0x4ef141=_0x311346;throw new Error(_0x4ef141(0x1e7));}[_0x311346(0x213)](){var _0x1b58c2=_0x311346;throw new Error(_0x1b58c2(0x1e7));}[_0x311346(0x1f7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x311346(0x286)](){var _0x46011e=_0x311346;throw new Error(_0x46011e(0x1e7));}[_0x311346(0x14a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=Vr([ui(0x0,_0xd9deb0),ui(0x1,_0x558686(_0x44812c))],Dt);var Wr=Object[_0x311346(0x1ad)],Gr=Object[_0x311346(0x122)],Kr=(_0x3b34aa,_0x3380ab,_0x3f9600,_0x116b09)=>{var _0x3063fd=_0x311346;for(var _0xff1d1a=_0x116b09>0x1?void 0x0:_0x116b09?Gr(_0x3380ab,_0x3f9600):_0x3380ab,_0x3e21e3=_0x3b34aa[_0x3063fd(0xa6)]-0x1,_0x3da54f;_0x3e21e3>=0x0;_0x3e21e3--)(_0x3da54f=_0x3b34aa[_0x3e21e3])&&(_0xff1d1a=(_0x116b09?_0x3da54f(_0x3380ab,_0x3f9600,_0xff1d1a):_0x3da54f(_0xff1d1a))||_0xff1d1a);return _0x116b09&&_0xff1d1a&&Wr(_0x3380ab,_0x3f9600,_0xff1d1a),_0xff1d1a;},Ue=(_0x2f1585,_0x24283a)=>(_0x2227a4,_0x23a453)=>_0x24283a(_0x2227a4,_0x23a453,_0x2f1585);let wt=class extends _0x567faf{constructor(_0x5e9101,_0x4c9cc1,_0x59730d,_0x325c21,_0xf2acd9){var _0x3b8d55=_0x311346;super(_0x5e9101,_0x4c9cc1,_0x59730d),this[_0x3b8d55(0xbf)]=_0x325c21,this[_0x3b8d55(0x383)]=_0xf2acd9;}['transformUndoRedo'](_0x2ded7c,_0x2908e4){var _0x69f584=_0x311346;const _0x2491c5=this['_getUndoStack'](_0x2ded7c);if(_0x2491c5)try{const _0x8986af=this[_0x69f584(0x2b5)](_0x2491c5,_0x2908e4);this[_0x69f584(0x3a1)](_0x2ded7c,_0x8986af);}catch(_0x317e68){this[_0x69f584(0x383)][_0x69f584(0x38e)](_0x69f584(0x310),_0x317e68),this[_0x69f584(0x37e)](_0x2ded7c);}const _0x57d02e=this[_0x69f584(0x22d)](_0x2ded7c);if(_0x57d02e)try{const _0x30a24b=this[_0x69f584(0x2b5)](_0x57d02e,_0x2908e4);this['_substituteRedoStack'](_0x2ded7c,_0x30a24b);}catch(_0x4f1250){this[_0x69f584(0x383)][_0x69f584(0x38e)](_0x4f1250),this[_0x69f584(0x151)](_0x2ded7c);}}['_clearUndo'](_0x18568a){var _0x2aa512=_0x311346;const _0x1f4e32=this[_0x2aa512(0x1a5)](_0x18568a);_0x1f4e32&&(_0x1f4e32[_0x2aa512(0xa6)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x3b57af){var _0x468474=_0x311346;const _0x2e63b4=this[_0x468474(0x22d)](_0x3b57af);_0x2e63b4&&(_0x2e63b4[_0x468474(0xa6)]=0x0,this[_0x468474(0x2af)]());}[_0x311346(0x3a1)](_0x125295,_0x3d5e43){var _0x21305d=_0x311346;this['_undoStacks']['set'](_0x125295,_0x3d5e43),this[_0x21305d(0x2af)]();}[_0x311346(0x2d0)](_0x2fdf38,_0xe14c17){var _0x19197c=_0x311346;this[_0x19197c(0x1ec)][_0x19197c(0x312)](_0x2fdf38,_0xe14c17),this['_updateStatus']();}['_transformStack'](_0x2ef61,_0x3b6aca){var _0x2d89d7=_0x311346;const _0x23cf4b=[];let _0x20e669=_0x3b6aca,_0x4955ee=_0x3b6aca;for(let _0x2275e9=_0x2ef61[_0x2d89d7(0xa6)]-0x1;_0x2275e9>=0x0;_0x2275e9--){const {unitID:_0x1e3ee3,undoMutations:_0x1205c6,redoMutations:_0x18601a}=_0x2ef61[_0x2275e9],_0x3e4745=this[_0x2d89d7(0xbf)][_0x2d89d7(0x32e)](_0x20e669,_0x1205c6),_0x590712=this[_0x2d89d7(0xbf)][_0x2d89d7(0x32e)](_0x4955ee,_0x18601a);if(_0x12c761(_0x3e4745)||_0x12c761(_0x590712)){this[_0x2d89d7(0x383)][_0x2d89d7(0x38e)]('[CollaborationUndoRedoService]',_0x2d89d7(0x16d),_0x3e4745,_0x590712);break;}_0x20e669=_0x3e4745['c1Prime'],_0x4955ee=_0x590712['c1Prime'],_0x23cf4b[_0x2d89d7(0x280)]({'unitID':_0x1e3ee3,'undoMutations':_0x3e4745['m2Prime'],'redoMutations':_0x590712['m2Prime']});}return _0x23cf4b['reverse']();}};wt=Kr([Ue(0x0,_0x255145),Ue(0x1,_0x288e4d),Ue(0x2,_0x8cddee),Ue(0x3,_0x93f0ad),Ue(0x4,_0x131104)],wt);var xi=Object[_0x311346(0x1ad)],zr=Object[_0x311346(0x122)],Yr=(_0x1643c2,_0x5c6619,_0x2148d7)=>_0x5c6619 in _0x1643c2?xi(_0x1643c2,_0x5c6619,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2148d7}):_0x1643c2[_0x5c6619]=_0x2148d7,qr=(_0x25bf2d,_0x49327e,_0x33c787,_0x5ad144)=>{var _0x10bf99=_0x311346;for(var _0x59a34e=_0x5ad144>0x1?void 0x0:_0x5ad144?zr(_0x49327e,_0x33c787):_0x49327e,_0x480461=_0x25bf2d[_0x10bf99(0xa6)]-0x1,_0x3b6f98;_0x480461>=0x0;_0x480461--)(_0x3b6f98=_0x25bf2d[_0x480461])&&(_0x59a34e=(_0x5ad144?_0x3b6f98(_0x49327e,_0x33c787,_0x59a34e):_0x3b6f98(_0x59a34e))||_0x59a34e);return _0x5ad144&&_0x59a34e&&xi(_0x49327e,_0x33c787,_0x59a34e),_0x59a34e;},Et=(_0x12a69a,_0x464c12)=>(_0x5a9c4f,_0x353ab4)=>_0x464c12(_0x5a9c4f,_0x353ab4,_0x12a69a),Jr=(_0x352f8f,_0x1dfc60,_0x24ca7e)=>Yr(_0x352f8f,_0x1dfc60+'',_0x24ca7e);const Xr=_0x311346(0x249);let Ut=class extends _0xe4edd9{constructor(_0xb95880=Wn,_0x49ece9,_0x5f5a16,_0x24060c){var _0x35fb90=_0x311346;super(),this[_0x35fb90(0x10b)]=_0xb95880,this[_0x35fb90(0x383)]=_0x49ece9,this[_0x35fb90(0xf8)]=_0x5f5a16,this[_0x35fb90(0x267)]=_0x24060c;const {..._0x1bcecd}=this[_0x35fb90(0x10b)];this[_0x35fb90(0x267)][_0x35fb90(0x30f)](Y,_0x1bcecd);}[_0x311346(0x19e)](){var _0x2956e3=_0x311346;this[_0x2956e3(0x16c)](),this[_0x2956e3(0x2e8)]();}[_0x311346(0x16c)](){var _0x116381=_0x311346,_0x475f6e,_0x3e2788,_0x5ac839,_0x309c2c;this[_0x116381(0xf8)][_0x116381(0x293)](_0x395d87)&&this[_0x116381(0x383)][_0x116381(0x38e)](_0x116381(0x26c),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2e8293=_0x2f9a09([[_0x395d87,{'useClass':wt}],[Me],[Le],[nt],[ot],[at],[bi],[ct],[pe],[Ot],[Ci,{'useClass':(_0x3e2788=(_0x475f6e=this[_0x116381(0x10b)])==null?void 0x0:_0x475f6e[_0x116381(0x103)])!=null?_0x3e2788:It}],[_0x4707d8,{'useClass':Dt}],[_0xab6ef3,{'useClass':yt}],[_0x43a6d5,{'useClass':Pt}],[_0x2b9b17,{'useClass':Nt}],[rt],[Rt]],(_0x5ac839=this[_0x116381(0x10b)])==null?void 0x0:_0x5ac839[_0x116381(0x25f)]);if(!((_0x309c2c=this[_0x116381(0x10b)])!=null&&_0x309c2c[_0x116381(0x1d3)])){const _0x295813=_0x2e8293[_0x116381(0x229)](([_0x3886d2])=>_0x3886d2===_t);_0x295813!==-0x1&&_0x2e8293[_0x116381(0x1f9)](_0x295813,0x1);}_0x350f03(this[_0x116381(0xf8)],_0x2e8293);}['_initDependencies'](){var _0x108b64=_0x311346,_0x4d5af9,_0x5a69d3,_0x9f7e34;this['_injector'][_0x108b64(0xfd)](_0x44812c)[_0x108b64(0x30b)]({'priority':0x14,'interceptor':_0x3d9d47({'maxParallel':0x6})}),(_0x4d5af9=this['_config'])!=null&&_0x4d5af9['enableOfflineEditing']||(_0x5a69d3=this[_0x108b64(0xf8)]['get'](X,_0xa0d1f5[_0x108b64(0x358)]))==null||_0x5a69d3[_0x108b64(0x216)](),(_0x9f7e34=this['_config'])!=null&&_0x9f7e34['enableAuthServer']&&_0x1341a5(this[_0x108b64(0xf8)],[[ot]]),_0x1341a5(this[_0x108b64(0xf8)],[[at],[rt],[ct]]);}};Jr(Ut,_0x311346(0xd6),Xr),Ut=qr([_0x286702(_0x2f637b,_0x4520cd,_0x2edb36),Et(0x1,_0x131104),Et(0x2,_0x558686(_0x398a6e)),Et(0x3,_0xd9deb0)],Ut);export{Di as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Me as CollaborationSessionService,It as CollaborationSocketService,Oi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,Le as MemberService,Nt as MentionIoHttpService,fe as OfflineState,re as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Ie as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Ri as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};