@univerjs-pro/collaboration-client 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-experimental.20250418-8830bd4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x40e481=_0x1459;(function(_0x5adee3,_0x1adb96){var _0x2b0f82=_0x1459,_0x315396=_0x5adee3();while(!![]){try{var _0x1c9df4=parseInt(_0x2b0f82(0x3a2))/0x1+-parseInt(_0x2b0f82(0x303))/0x2+-parseInt(_0x2b0f82(0x3a0))/0x3+parseInt(_0x2b0f82(0x339))/0x4*(-parseInt(_0x2b0f82(0x22a))/0x5)+parseInt(_0x2b0f82(0x39e))/0x6*(parseInt(_0x2b0f82(0x28b))/0x7)+parseInt(_0x2b0f82(0x28c))/0x8+-parseInt(_0x2b0f82(0xe6))/0x9;if(_0x1c9df4===_0x1adb96)break;else _0x315396['push'](_0x315396['shift']());}catch(_0x3b74e9){_0x315396['push'](_0x315396['shift']());}}}(_0x5f35,0x22342));var wi=Object[_0x40e481(0x21a)],Pi=(_0x8722d7,_0x101f9b,_0x54f56a)=>_0x101f9b in _0x8722d7?wi(_0x8722d7,_0x101f9b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54f56a}):_0x8722d7[_0x101f9b]=_0x54f56a,N=(_0x10e9a1,_0x50ebe6,_0x1eacd6)=>Pi(_0x10e9a1,typeof _0x50ebe6!=_0x40e481(0x278)?_0x50ebe6+'':_0x50ebe6,_0x1eacd6);import{createIdentifier as _0x392ccb,Inject as _0x41febc,Injector as _0x414ea7,IConfigService as _0x1356ee,ILogService as _0xcdb88,Disposable as _0x484e8c,DisposableCollection as _0x27fc27,toDisposable as _0x2c0721,IUniverInstanceService as _0x26a8c2,UserManagerService as _0x49b9a0,UniverInstanceType as _0x596901,LocaleService as _0x5ceb9f,Optional as _0x397f30,RxDisposable as _0x2dee07,Tools as _0x456a73,Rectangle as _0x1df3ab,ICommandService as _0x2f806f,JSONX as _0x278209,CommandType as _0xe7c659,IUndoRedoService as _0x47f0e4,IPermissionService as _0x372d75,sequenceExecute as _0x280d62,Workbook as _0x485333,MentionType as _0x4f203d,isInternalEditorID as _0x52f6ea,LocalUndoRedoService as _0x1a4901,IContextService as _0x18a9d3,DependentOn as _0x570937,Plugin as _0x33a101,merge as _0x57512e,mergeOverrideWithDependencies as _0x139878,IAuthzIoService as _0x51a334,IMentionIOService as _0x53963b,registerDependencies as _0x1f7c45,Quantity as _0x573acf,touchDependencies as _0x45206c}from'@univerjs/core';import{Subject as _0xba51b2,merge as _0x1cc183,of as _0x29c1e2,BehaviorSubject as _0x21691d,takeUntil as _0x338d32,ReplaySubject as _0x3314aa,take as _0x48d365,map as _0x5f33f7,shareReplay as _0x8c0763,firstValueFrom as _0x327c79,concatMap as _0x5cca15}from'rxjs';import{map as _0x3b053e,take as _0x1935b8,filter as _0xe0b521,delay as _0x52bbcc,takeUntil as _0x3c76cd}from'rxjs/operators';import{CollaborationEvent as _0x3c9809,ISnapshotServerService as _0x348bba,parseChangesetToProtocol as _0x1225e4,ITransformService as _0x671f8c,isTransformMutationsWithChangesetSuccess as _0x2f923c,mapDocumentTypeToUniverType as _0x16fc42,RevisionService as _0x1de1e7,isTransformChangesetsSuccess as _0x40f543,CompressMutationService as _0x48e687,parseProtocolChangeset as _0x28e2c6,SnapshotService as _0x163755,textEncoder as _0x4746e7,b64DecodeUnicode as _0x42a91f,isTransformMutationsWithChangesetFailure as _0x269671,UniverCollaborationPlugin as _0x9e1780}from'@univerjs-pro/collaboration';import{HTTPService as _0x30b709,ISocketService as _0x41470c,MergeInterceptorFactory as _0x2e6923,HTTPRequest as _0x543717,UniverNetworkPlugin as _0x226205,ThresholdInterceptorFactory as _0x44a925}from'@univerjs/network';import{ITelemetryService as _0x337e91}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3a29dc}from'@univerjs/docs';import{SheetsSelectionsService as _0x30f1af,SetSelectionsOperation as _0x11ff75,InsertSheetMutation as _0x4a110e,EmptyMutation as _0x258c66,WorkbookEditablePermission as _0x4d71f4,SheetPermissionInitController as _0x1c9bfd}from'@univerjs/sheets';import{ImageSourceType as _0x45f636,ImageUploadStatusType as _0x31ebd9,IImageIoService as _0x3a7abf}from'@univerjs/drawing';import{getGlobalObject as _0x32cfe3}from'@univerjs-pro/license';const mn=_0x40e481(0x132),gn=_0x40e481(0x1cb),Sn=_0x40e481(0x207),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In='COLLAB_WEB_SOCKET_URL',Tn=_0x40e481(0x29e),xr=_0x40e481(0x3a3),Cn=_0x40e481(0x18e),Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,yn='RETRY_CONNECTING_MAX_COUNT',On=0x3,Mr=_0x40e481(0x2dc),kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x40e481(0x384),Un='LOGIN_URL_KEY',An=_0x40e481(0x201),$r=_0x40e481(0x2c2),Hr=_0x40e481(0x399);var Si=(_0xadbdbf=>(_0xadbdbf[_0xadbdbf[_0x40e481(0x148)]=0x0]=_0x40e481(0x148),_0xadbdbf[_0xadbdbf['OK']=0x1]='OK',_0xadbdbf[_0xadbdbf[_0x40e481(0x386)]=0x2]=_0x40e481(0x386),_0xadbdbf[_0xadbdbf['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0xadbdbf[_0xadbdbf['NOT_FOUND']=0x4]='NOT_FOUND',_0xadbdbf[_0xadbdbf[_0x40e481(0x2b8)]=0x5]=_0x40e481(0x2b8),_0xadbdbf[_0xadbdbf[_0x40e481(0x1c9)]=0x6]=_0x40e481(0x1c9),_0xadbdbf[_0xadbdbf[_0x40e481(0x22d)]=0x7]=_0x40e481(0x22d),_0xadbdbf[_0xadbdbf[_0x40e481(0x15e)]=0x8]=_0x40e481(0x15e),_0xadbdbf[_0xadbdbf['COMPLETION_FINISHED']=0x9]=_0x40e481(0x140),_0xadbdbf[_0xadbdbf[_0x40e481(0x3cf)]=0xa]=_0x40e481(0x3cf),_0xadbdbf[_0xadbdbf['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x40e481(0x137),_0xadbdbf[_0xadbdbf[_0x40e481(0x306)]=0x1771]=_0x40e481(0x306),_0xadbdbf[_0xadbdbf[_0x40e481(0x107)]=0x1772]=_0x40e481(0x107),_0xadbdbf[_0xadbdbf[_0x40e481(0x180)]=0x1773]=_0x40e481(0x180),_0xadbdbf[_0xadbdbf['APPLY_REJECT']=0x1b59]=_0x40e481(0x3d6),_0xadbdbf[_0xadbdbf[_0x40e481(0x14b)]=0x1b5a]=_0x40e481(0x14b),_0xadbdbf[_0xadbdbf[_0x40e481(0x3dd)]=0x1b5b]=_0x40e481(0x3dd),_0xadbdbf[_0xadbdbf[_0x40e481(0x21f)]=0x1b5c]=_0x40e481(0x21f),_0xadbdbf[_0xadbdbf[_0x40e481(0x2cf)]=0x1b5d]='APPLY_DUPLICATED',_0xadbdbf[_0xadbdbf[_0x40e481(0x168)]=0x1f41]=_0x40e481(0x168),_0xadbdbf[_0xadbdbf[_0x40e481(0x28e)]=0x2329]=_0x40e481(0x28e),_0xadbdbf[_0xadbdbf[_0x40e481(0x220)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xadbdbf[_0xadbdbf['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x40e481(0x14f),_0xadbdbf[_0xadbdbf['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x40e481(0x321),_0xadbdbf[_0xadbdbf[_0x40e481(0x251)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xadbdbf[_0xadbdbf['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x40e481(0x195),_0xadbdbf[_0xadbdbf[_0x40e481(0x1f3)]=0x2712]=_0x40e481(0x1f3),_0xadbdbf[_0xadbdbf[_0x40e481(0x261)]=0x2713]=_0x40e481(0x261),_0xadbdbf[_0xadbdbf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x40e481(0x3d8),_0xadbdbf[_0xadbdbf[_0x40e481(0x269)]=0x2af9]=_0x40e481(0x269),_0xadbdbf[_0xadbdbf[_0x40e481(0x31e)]=0x2ee1]=_0x40e481(0x31e),_0xadbdbf[_0xadbdbf[_0x40e481(0x2e2)]=0x2ee2]='INVALID_INVITE_CODE',_0xadbdbf[_0xadbdbf['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0xadbdbf[_0xadbdbf[_0x40e481(0x27c)]=0x2ee4]=_0x40e481(0x27c),_0xadbdbf[_0xadbdbf['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x40e481(0x10a),_0xadbdbf[_0xadbdbf['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x40e481(0xe2),_0xadbdbf[_0xadbdbf[_0x40e481(0x17d)]=0x32ca]=_0x40e481(0x17d),_0xadbdbf[_0xadbdbf[_0x40e481(0x164)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xadbdbf[_0xadbdbf[_0x40e481(0x1a6)]=-0x1]=_0x40e481(0x1a6),_0xadbdbf))(Si||{}),Q=(_0x501d9a=>(_0x501d9a[_0x501d9a['UNIVER_UNKNOWN']=0x0]=_0x40e481(0x35c),_0x501d9a[_0x501d9a[_0x40e481(0x316)]=0x1]=_0x40e481(0x316),_0x501d9a[_0x501d9a[_0x40e481(0x358)]=0x2]=_0x40e481(0x358),_0x501d9a[_0x501d9a[_0x40e481(0x356)]=0x3]=_0x40e481(0x356),_0x501d9a[_0x501d9a['UNIVER_PROJECT']=0x4]=_0x40e481(0x218),_0x501d9a[_0x501d9a[_0x40e481(0x1a6)]=-0x1]='UNRECOGNIZED',_0x501d9a))(Q||{}),F=(_0x2deae8=>(_0x2deae8[_0x2deae8[_0x40e481(0x28f)]=0x0]=_0x40e481(0x28f),_0x2deae8[_0x2deae8[_0x40e481(0x3a4)]=0x1]=_0x40e481(0x3a4),_0x2deae8[_0x2deae8['JOIN']=0x2]=_0x40e481(0x385),_0x2deae8[_0x2deae8['LEAVE']=0x3]=_0x40e481(0x1c6),_0x2deae8[_0x2deae8[_0x40e481(0x115)]=0x4]=_0x40e481(0x115),_0x2deae8[_0x2deae8['HEARTBEAT']=0x5]=_0x40e481(0x1a1),_0x2deae8[_0x2deae8[_0x40e481(0xfb)]=0x6]=_0x40e481(0xfb),_0x2deae8[_0x2deae8[_0x40e481(0x1a6)]=-0x1]=_0x40e481(0x1a6),_0x2deae8))(F||{}),ge=(_0x531742=>(_0x531742[_0x531742[_0x40e481(0xfd)]=0x0]='UNKNOWN_CODE',_0x531742[_0x531742['OK']=0x1]='OK',_0x531742[_0x531742[_0x40e481(0x1b7)]=0x2]=_0x40e481(0x1b7),_0x531742[_0x531742[_0x40e481(0x2ad)]=0x3e9]=_0x40e481(0x2ad),_0x531742[_0x531742[_0x40e481(0x198)]=0x3ea]=_0x40e481(0x198),_0x531742[_0x531742[_0x40e481(0x2f5)]=0x3eb]=_0x40e481(0x2f5),_0x531742[_0x531742['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x40e481(0x10d),_0x531742[_0x531742[_0x40e481(0x1a6)]=-0x1]=_0x40e481(0x1a6),_0x531742))(ge||{}),Ei=(_0x317d18=>(_0x317d18[_0x317d18[_0x40e481(0x28a)]=0x0]=_0x40e481(0x28a),_0x317d18[_0x317d18[_0x40e481(0x2c7)]=0x1]=_0x40e481(0x2c7),_0x317d18[_0x317d18[_0x40e481(0x2e8)]=0x2]=_0x40e481(0x2e8),_0x317d18[_0x317d18[_0x40e481(0x291)]=0x3]=_0x40e481(0x291),_0x317d18[_0x317d18[_0x40e481(0x29c)]=0x4]=_0x40e481(0x29c),_0x317d18[_0x317d18[_0x40e481(0x245)]=0x5]=_0x40e481(0x245),_0x317d18[_0x317d18['UNRECOGNIZED']=-0x1]=_0x40e481(0x1a6),_0x317d18))(Ei||{});const q='collaboration-client.config',wn={};var re=(_0x13762f=>(_0x13762f[_0x40e481(0x2b2)]=_0x40e481(0x2b2),_0x13762f['PERMISSION_DENIED']='PERMISSION_DENIED',_0x13762f[_0x40e481(0x282)]='CONFLICT',_0x13762f['CLOSE_ROOM']=_0x40e481(0x2b6),_0x13762f[_0x40e481(0x105)]=_0x40e481(0x105),_0x13762f[_0x40e481(0x172)]=_0x40e481(0x172),_0x13762f[_0x40e481(0x309)]='SOCKET_FAILED',_0x13762f[_0x40e481(0x380)]='SUBMIT_CHANGESET_TIMEOUT',_0x13762f))(re||{});class pe{constructor(){var _0x5bde3c=_0x40e481;N(this,'_event$',new _0xba51b2()),N(this,'event$',this[_0x5bde3c(0x344)][_0x5bde3c(0x1b9)]());}['emitEvent'](_0x1e2f77){var _0x32eecd=_0x40e481;this['_event$'][_0x32eecd(0x377)](_0x1e2f77);}}const Pn=_0x392ccb(_0x40e481(0x108));function Ln(_0x3ec8e0){var _0x4380e2=_0x40e481,_0x2af99b,_0x1c3282,_0x12d3b9,_0x567770,_0x3a3ea4;const _0x10b90a=_0x3ec8e0['data'],_0x1d7ae2=JSON[_0x4380e2(0x2e4)](_0x10b90a);switch(_0x1d7ae2[_0x4380e2(0x2d7)]){case F['HEARTBEAT']:case F[_0x4380e2(0x3a4)]:{const _0x456ead=_0x1d7ae2[_0x4380e2(0x264)];return{..._0x1d7ae2,'data':_0x456ead,'cmd':_0x1d7ae2['cmd']};}case F[_0x4380e2(0x385)]:{const _0x46115a=_0x1d7ae2[_0x4380e2(0x14a)];return{..._0x1d7ae2,'data':_0x46115a,'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};}case F['RECV']:{const _0x2c8b24=_0x1d7ae2['collaMsg'];switch(_0x2c8b24[_0x4380e2(0x24c)]){case _0x3c9809[_0x4380e2(0x213)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':(_0x2af99b=_0x2c8b24[_0x4380e2(0x216)])==null?void 0x0:_0x2af99b['cs']},'cmd':_0x1d7ae2['cmd']};case _0x3c9809[_0x4380e2(0x219)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':(_0x1c3282=_0x2c8b24[_0x4380e2(0x1de)])==null?void 0x0:_0x1c3282['cs']},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x333)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':(_0x12d3b9=_0x2c8b24[_0x4380e2(0x2ca)])==null?void 0x0:_0x12d3b9['cs']},'cmd':_0x1d7ae2['cmd']};case _0x3c9809[_0x4380e2(0x116)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':(_0x567770=_0x2c8b24[_0x4380e2(0x24e)])==null?void 0x0:_0x567770['cs']},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x262)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':(_0x3a3ea4=_0x2c8b24[_0x4380e2(0x21e)])==null?void 0x0:_0x3a3ea4['cs']},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x33b)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x17f)]},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x294)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0xee)]},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x280)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x1a7)]},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x21b)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x36e)]},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x349)]:case _0x3c9809[_0x4380e2(0x3bb)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x2ce)]},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x35a)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x36e)]},'cmd':_0x1d7ae2['cmd']};case _0x3c9809[_0x4380e2(0x32b)]:return{..._0x1d7ae2,'data':_0x2c8b24,'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809[_0x4380e2(0x104)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24['commentUpdateEvent']},'cmd':_0x1d7ae2['cmd']};case _0x3c9809[_0x4380e2(0x326)]:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x332)]},'cmd':_0x1d7ae2[_0x4380e2(0x2d7)]};case _0x3c9809['SHOULD_CLOSE_CONN']:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x1fb)]},'cmd':_0x1d7ae2['cmd']};case _0x3c9809['UNISCRIPT_RUN']:return{..._0x1d7ae2,'data':{..._0x2c8b24,'data':_0x2c8b24[_0x4380e2(0x25c)]},'cmd':_0x1d7ae2['cmd']};default:return _0x1d7ae2;}}default:return _0x1d7ae2;}}function xn(_0x163898){var _0x203a44=_0x40e481;switch(_0x163898[_0x203a44(0x2d7)]){case F['HEARTBEAT']:case F[_0x203a44(0x3a4)]:return JSON[_0x203a44(0x353)]({'cmd':_0x163898['cmd'],'routeKey':_0x163898[_0x203a44(0x151)]});case F[_0x203a44(0x115)]:{let _0x2a35ec;switch(_0x163898[_0x203a44(0x3a1)][_0x203a44(0x24c)]){case _0x3c9809[_0x203a44(0x33b)]:{_0x2a35ec={'eventID':_0x3c9809['UPDATE_CURSOR'],'updateCursorEvent':_0x163898[_0x203a44(0x3a1)][_0x203a44(0x3a1)]};break;}case _0x3c9809['USERS_LEAVE']:{_0x2a35ec={'eventID':_0x3c9809[_0x203a44(0x280)],'leaveEvent':_0x163898[_0x203a44(0x3a1)][_0x203a44(0x3a1)]};break;}case _0x3c9809['USERS_ENTER']:{_0x2a35ec={'eventID':_0x3c9809['USERS_ENTER'],'joinEvent':_0x163898[_0x203a44(0x3a1)]['data']};break;}case _0x3c9809[_0x203a44(0x21b)]:{_0x2a35ec={'eventID':_0x3c9809[_0x203a44(0x21b)],'liveShareNewHost':_0x163898[_0x203a44(0x3a1)][_0x203a44(0x3a1)]};break;}case _0x3c9809[_0x203a44(0x3bb)]:{_0x2a35ec={'eventID':_0x3c9809[_0x203a44(0x3bb)],'liveShareOperation':_0x163898[_0x203a44(0x3a1)]['data']};break;}case _0x3c9809['LIVESHARE_TERMINATE']:{_0x2a35ec={'eventID':_0x3c9809[_0x203a44(0x35a)],'liveShareTerminate':_0x163898[_0x203a44(0x3a1)]['data']};break;}case _0x3c9809[_0x203a44(0x372)]:{_0x2a35ec={'eventID':_0x3c9809[_0x203a44(0x372)],'liveShareRequestHost':_0x163898[_0x203a44(0x3a1)][_0x203a44(0x3a1)]};break;}case _0x3c9809[_0x203a44(0x349)]:{_0x2a35ec={'eventID':_0x3c9809[_0x203a44(0x349)]};break;}default:_0x2a35ec={'eventID':_0x163898[_0x203a44(0x3a1)][_0x203a44(0x24c)]};}return JSON[_0x203a44(0x353)]({'cmd':_0x163898[_0x203a44(0x2d7)],'routeKey':_0x163898[_0x203a44(0x151)],'collaMsg':_0x2a35ec});}case F[_0x203a44(0x385)]:return JSON[_0x203a44(0x353)]({'cmd':_0x163898[_0x203a44(0x2d7)],'routeKey':_0x163898[_0x203a44(0x151)],'joinReq':_0x163898['data']});case F[_0x203a44(0x1c6)]:return JSON['stringify']({'cmd':_0x163898[_0x203a44(0x2d7)],'routeKey':_0x163898['routeKey'],'leaveReq':_0x163898[_0x203a44(0x3a1)]});default:throw new Error(_0x203a44(0x2f6));}}var Mn=Object[_0x40e481(0x237)],kn=(_0x3917c7,_0x2dff12,_0x28083f,_0x188e0a)=>{var _0x2af164=_0x40e481;for(var _0x5903d6=_0x188e0a>0x1?void 0x0:_0x188e0a?Mn(_0x2dff12,_0x28083f):_0x2dff12,_0x1000a2=_0x3917c7[_0x2af164(0x299)]-0x1,_0x22bdb9;_0x1000a2>=0x0;_0x1000a2--)(_0x22bdb9=_0x3917c7[_0x1000a2])&&(_0x5903d6=_0x22bdb9(_0x5903d6)||_0x5903d6);return _0x5903d6;},Ae=(_0x320af3,_0x1717e1)=>(_0x1c9026,_0x2c8dbe)=>_0x1717e1(_0x1c9026,_0x2c8dbe,_0x320af3);const Ii=_0x392ccb(_0x40e481(0x274));function $n(_0x247e75,_0x42d082,_0x1855b4){var _0x1bea16=_0x40e481;return _0x247e75+'/'+_0x42d082+'/unit/'+_0x1855b4+_0x1bea16(0x234);}let Gt=class extends _0x484e8c{constructor(_0x25be04,_0x50e05e,_0x439ef0,_0x5495b3,_0x59c848){var _0x40c5c2=_0x40e481;super(),this[_0x40c5c2(0x2bb)]=_0x25be04,this[_0x40c5c2(0x15a)]=_0x50e05e,this[_0x40c5c2(0x221)]=_0x439ef0,this[_0x40c5c2(0x13c)]=_0x5495b3,this[_0x40c5c2(0x298)]=_0x59c848;}[_0x40e481(0x1a8)](_0x376378){var _0xaef29b=_0x40e481;const _0x22aeb0=this[_0xaef29b(0x2bb)][_0xaef29b(0x1da)](_0x41470c);if(!_0x22aeb0)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x254e8e=_0x22aeb0[_0xaef29b(0x2ac)](_0x376378);if(!_0x254e8e)throw new Error(_0xaef29b(0x315));const _0xe66406=new _0x27fc27(),_0x575b1d=new _0xba51b2();_0xe66406[_0xaef29b(0x1c4)](_0x254e8e['close$'][_0xaef29b(0x38c)](_0x1bb764=>_0x575b1d['next'](_0x1bb764))),_0xe66406[_0xaef29b(0x1c4)](_0x2c0721(()=>_0x575b1d[_0xaef29b(0x3b9)]()));const _0x441650=new _0xba51b2();_0xe66406[_0xaef29b(0x1c4)](_0x254e8e['error$']['subscribe'](_0x50f15a=>_0x441650[_0xaef29b(0x377)](_0x50f15a))),_0xe66406['add'](_0x2c0721(()=>_0x441650[_0xaef29b(0x3b9)]()));const _0xf0ebed=new _0xba51b2();_0xe66406[_0xaef29b(0x1c4)](_0x254e8e[_0xaef29b(0x106)]['subscribe'](_0x493f38=>{var _0x388882=_0xaef29b;const _0x5f0a2d=Ln(_0x493f38);_0xf0ebed[_0x388882(0x377)](_0x5f0a2d);})),_0xe66406[_0xaef29b(0x1c4)](_0x2c0721(()=>_0xf0ebed[_0xaef29b(0x3b9)]()));let _0x9d1c1a;const _0x246b55=()=>{var _0x1c4840=_0xaef29b;_0x441650['next'](new Event(_0x1c4840(0x211))),_0x575b1d[_0x1c4840(0x377)](new Event(_0x1c4840(0x211))),_0x9d1c1a[_0x1c4840(0x185)]();};return _0x9d1c1a={'memberID':'','close$':_0x575b1d[_0xaef29b(0x1b9)](),'error$':_0x441650[_0xaef29b(0x1b9)](),'open$':_0x254e8e['open$'],'message$':_0xf0ebed[_0xaef29b(0x1b9)](),'send':_0x440c7a=>{var _0x5bc00e=_0xaef29b;if(_0x440c7a[_0x5bc00e(0x2d7)]===F['INGEST']){if(_0x440c7a[_0x5bc00e(0x3a1)]['eventID']===_0x3c9809[_0x5bc00e(0x3ac)]){this[_0x5bc00e(0x122)](_0x9d1c1a,_0x440c7a['data'])[_0x5bc00e(0x383)](_0x4b411c=>{var _0xb4a568=_0x5bc00e;this[_0xb4a568(0x13c)]['error'](_0x4b411c),_0x246b55();});return;}if(_0x440c7a['data'][_0x5bc00e(0x24c)]===_0x3c9809[_0x5bc00e(0x1ca)]){const _0x550538=_0x440c7a[_0x5bc00e(0x3a1)];this[_0x5bc00e(0x370)](_0x550538)[_0x5bc00e(0x1c2)](_0x42f26b=>{var _0x3d0c5c=_0x5bc00e;_0xf0ebed[_0x3d0c5c(0x377)]({'cmd':F[_0x3d0c5c(0xfb)],'code':ge['OK'],'routeKey':_0x550538['data']['unitID'],'routeType':'','data':{'eventID':_0x3c9809['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x42f26b}}});})['catch'](_0x1fa766=>{var _0x4f8916=_0x5bc00e;this[_0x4f8916(0x13c)][_0x4f8916(0x30a)](_0x1fa766),_0x246b55();});return;}}_0x254e8e[_0x5bc00e(0x119)](xn(_0x440c7a));},'close':()=>{_0x254e8e['close'](),_0xe66406['dispose']();}},_0x9d1c1a;}async['_submitChangeset'](_0x153198,_0x10529){var _0x1202dd=_0x40e481,_0x52979a,_0x1b68fa;const {unitType:_0xeddc76,unitID:_0x30b066,changeset:_0xdc6ad9}=_0x10529[_0x1202dd(0x3a1)],_0x22332a={'unitID':_0x30b066,'memberID':_0x153198[_0x1202dd(0x229)],'type':_0xeddc76,'changeset':_0x1225e4(_0xdc6ad9)},_0x1f9e88=this[_0x1202dd(0x221)][_0x1202dd(0x3da)](Nn),_0x29afe2=this['_configService'][_0x1202dd(0x3da)](q),_0x4be5df=$n((_0x1b68fa=(_0x52979a=_0x29afe2==null?void 0x0:_0x29afe2['collabSubmitChangesetUrl'])!=null?_0x52979a:_0x1f9e88)!=null?_0x1b68fa:Dn,_0xeddc76,_0x30b066);try{await this[_0x1202dd(0x15a)][_0x1202dd(0x1bb)](_0x4be5df,{'body':_0x22332a});}catch(_0x3433d4){throw this[_0x1202dd(0x13c)]['error']('[CollaborationSession]',_0x1202dd(0xed)),_0x3433d4;}}async[_0x40e481(0x370)](_0x185671){var _0x1727c4=_0x40e481;const {unitID:_0x236b65,from:_0x1cb67f,to:_0x29fd3e,unitType:_0xd290d9}=_0x185671[_0x1727c4(0x3a1)];return(await this[_0x1727c4(0x298)][_0x1727c4(0x169)]({'metadata':void 0x0},{'unitID':_0x236b65,'type':_0xd290d9,'from':_0x1cb67f,'to':_0x29fd3e}))[_0x1727c4(0x1f2)];}};Gt=kn([Ae(0x0,_0x41febc(_0x414ea7)),Ae(0x1,_0x41febc(_0x30b709)),Ae(0x2,_0x1356ee),Ae(0x3,_0xcdb88),Ae(0x4,_0x348bba)],Gt);const Hn=_0x40e481(0x388);function Bn(_0x28fc2f){var _0x2148ac=_0x40e481;return JSON[_0x2148ac(0x353)](_0x28fc2f)[_0x2148ac(0x299)];}class Ti{constructor(){var _0x1c075b=_0x40e481;N(this,_0x1c075b(0x1df),new _0xba51b2()),N(this,_0x1c075b(0x145),this[_0x1c075b(0x1df)][_0x1c075b(0x1b9)]());}['onCommentUpdate'](_0x4d0bb9){var _0xbe1f96=_0x40e481;this[_0xbe1f96(0x1df)][_0xbe1f96(0x377)](_0x4d0bb9);}}var jn=Object[_0x40e481(0x237)],Fn=(_0xa27691,_0x2a23cc,_0x481599,_0x103adb)=>{var _0x4e4c94=_0x40e481;for(var _0x54d2e5=_0x103adb>0x1?void 0x0:_0x103adb?jn(_0x2a23cc,_0x481599):_0x2a23cc,_0x54f14c=_0xa27691[_0x4e4c94(0x299)]-0x1,_0x48f285;_0x54f14c>=0x0;_0x54f14c--)(_0x48f285=_0xa27691[_0x54f14c])&&(_0x54d2e5=_0x48f285(_0x54d2e5)||_0x54d2e5);return _0x54d2e5;},Wt=(_0x1371e5,_0x358b92)=>(_0xec211b,_0x56f709)=>_0x358b92(_0xec211b,_0x56f709,_0x1371e5);let Le=class extends _0x484e8c{constructor(_0x598a30,_0x28b9ff){var _0x5768bb=_0x40e481;super(),N(this,_0x5768bb(0x28d),new Map()),N(this,_0x5768bb(0x1c8),new _0xba51b2()),(this['_univerInstanceService']=_0x598a30,this[_0x5768bb(0x1d6)]=_0x28b9ff,this[_0x5768bb(0x3aa)](_0x1cc183(this['_univerInstanceService'][_0x5768bb(0x2f4)](_0x596901['UNIVER_SHEET'])['pipe'](_0x3b053e(_0x44833c=>_0x44833c[_0x5768bb(0x382)]())),this[_0x5768bb(0x18b)][_0x5768bb(0x2f4)](_0x596901[_0x5768bb(0x316)])[_0x5768bb(0x30c)](_0x3b053e(_0x451952=>_0x451952[_0x5768bb(0x382)]())),this[_0x5768bb(0x18b)][_0x5768bb(0x2f4)](_0x596901[_0x5768bb(0x356)])[_0x5768bb(0x30c)](_0x3b053e(_0x2f2f9f=>_0x2f2f9f[_0x5768bb(0x382)]())))['subscribe'](_0x36a17a=>this[_0x5768bb(0x1f6)](_0x36a17a))));}['waitForRoom$'](_0x836cd8){var _0x1770b7=_0x40e481;return this['_roomMembers']['has'](_0x836cd8)?_0x29c1e2(this[_0x1770b7(0x28d)][_0x1770b7(0x1da)](_0x836cd8)):this['_roomCreated$'][_0x1770b7(0x30c)](_0x3b053e(_0x26ab6d=>{var _0x1d46d1=_0x1770b7;if(_0x26ab6d===_0x836cd8)return this[_0x1d46d1(0x28d)][_0x1d46d1(0x1da)](_0x26ab6d);}));}[_0x40e481(0x1a2)](_0x28ddd2){var _0x54b384=_0x40e481;this[_0x54b384(0x1d6)][_0x54b384(0x1a2)](_0x28ddd2);}['getCurrentUser'](){var _0x463325=_0x40e481;return this[_0x463325(0x1d6)][_0x463325(0x2d4)]();}[_0x40e481(0x17c)](_0x1f0171,_0x2e2c76){var _0x2d8260=_0x40e481;let _0x5d97a5=this['_roomMembers'][_0x2d8260(0x1da)](_0x1f0171);_0x5d97a5||(_0x5d97a5=new Vn(),this[_0x2d8260(0x28d)]['set'](_0x1f0171,_0x5d97a5),this['_roomCreated$'][_0x2d8260(0x377)](_0x1f0171)),_0x5d97a5[_0x2d8260(0x17c)](_0x2e2c76);}[_0x40e481(0x19a)](_0x1f006f,_0xc38055){var _0x106ec1=_0x40e481;const _0x1907a7=this[_0x106ec1(0x28d)]['get'](_0x1f006f);_0x1907a7&&_0x1907a7[_0x106ec1(0x19a)](_0xc38055);}[_0x40e481(0x176)](_0x37a45f){var _0x5b49d7=_0x40e481;return this[_0x5b49d7(0x28d)][_0x5b49d7(0x1da)](_0x37a45f);}[_0x40e481(0x293)](_0x3a8ac5,_0xeef399){var _0x1da325=_0x40e481;const _0x5a6973=this['_roomMembers'][_0x1da325(0x1da)](_0x3a8ac5);if(_0x5a6973)return _0x5a6973[_0x1da325(0x293)](_0xeef399);}[_0x40e481(0x1f6)](_0x705c47){var _0x8e1394=_0x40e481;const _0x5567f0=this[_0x8e1394(0x28d)][_0x8e1394(0x1da)](_0x705c47);_0x5567f0&&(_0x5567f0[_0x8e1394(0x205)](),this[_0x8e1394(0x28d)][_0x8e1394(0x233)](_0x705c47));}[_0x40e481(0x205)](){var _0x3a8570=_0x40e481;this[_0x3a8570(0x28d)][_0x3a8570(0x109)](_0x27f9c7=>_0x27f9c7[_0x3a8570(0x205)]()),this[_0x3a8570(0x28d)][_0x3a8570(0x111)](),this['_roomCreated$'][_0x3a8570(0x3b9)]();}};Le=Fn([Wt(0x0,_0x26a8c2),Wt(0x1,_0x41febc(_0x49b9a0))],Le);class Vn extends _0x484e8c{constructor(){var _0x3f0c5e=_0x40e481;super(...arguments),N(this,_0x3f0c5e(0x3c2),new Map()),N(this,_0x3f0c5e(0x23b),new _0x21691d(this[_0x3f0c5e(0x3c2)])),N(this,_0x3f0c5e(0x193),this[_0x3f0c5e(0x23b)][_0x3f0c5e(0x1b9)]());}['dispose'](){var _0x270c41=_0x40e481;this[_0x270c41(0x3c2)][_0x270c41(0x111)]();}[_0x40e481(0x17c)](_0x341136){var _0x264aaa=_0x40e481;this[_0x264aaa(0x3c2)]['set'](_0x341136[_0x264aaa(0x229)],_0x341136),this[_0x264aaa(0x135)]();}[_0x40e481(0x19a)](_0x1822a5){var _0x58457a=_0x40e481;this[_0x58457a(0x3c2)][_0x58457a(0x233)](_0x1822a5);}[_0x40e481(0x293)](_0x78094){var _0x3a5f09=_0x40e481;return this[_0x3a5f09(0x3c2)][_0x3a5f09(0x1da)](_0x78094);}[_0x40e481(0x312)](){var _0x1eebfc=_0x40e481;return Array[_0x1eebfc(0x304)](this[_0x1eebfc(0x3c2)][_0x1eebfc(0x284)]());}[_0x40e481(0x135)](){var _0xb2576e=_0x40e481;this[_0xb2576e(0x23b)][_0xb2576e(0x377)](this['_members']);}}var Gn=Object[_0x40e481(0x237)],Wn=(_0x5e8c28,_0x103f98,_0x4b33d4,_0x4ac47f)=>{var _0x187cc0=_0x40e481;for(var _0x44eec5=_0x4ac47f>0x1?void 0x0:_0x4ac47f?Gn(_0x103f98,_0x4b33d4):_0x103f98,_0x20b027=_0x5e8c28[_0x187cc0(0x299)]-0x1,_0x3ffee6;_0x20b027>=0x0;_0x20b027--)(_0x3ffee6=_0x5e8c28[_0x20b027])&&(_0x44eec5=_0x3ffee6(_0x44eec5)||_0x44eec5);return _0x44eec5;},me=(_0x11a1e3,_0x5b10de)=>(_0x103ef5,_0x236892)=>_0x5b10de(_0x103ef5,_0x236892,_0x11a1e3),Ee=(_0x488a60=>(_0x488a60[_0x488a60[_0x40e481(0x335)]=0x0]='IDLE',_0x488a60[_0x488a60[_0x40e481(0x3cc)]=0x1]='JOINING',_0x488a60[_0x488a60[_0x40e481(0x374)]=0x2]=_0x40e481(0x374),_0x488a60[_0x488a60[_0x40e481(0x2e6)]=0x3]=_0x40e481(0x2e6),_0x488a60))(Ee||{});const Kt={[ge[_0x40e481(0x1b7)]]:_0x40e481(0x270),[ge[_0x40e481(0x2ad)]]:_0x40e481(0x15f),[ge[_0x40e481(0x198)]]:_0x40e481(0x239),[ge[_0x40e481(0x2f5)]]:'session.room-permission-denied',[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let Et=class extends _0x2dee07{constructor(_0x55965e,_0x219af0,_0x264df4,_0x3ed525,_0x3c0bf6,_0x3a43d1,_0x3be39e,_0x1b6341,_0x62b701){var _0x37337f=_0x40e481;super(),N(this,_0x37337f(0x249),new _0x21691d(0x0)),N(this,_0x37337f(0x250),this[_0x37337f(0x249)]['asObservable']()),N(this,_0x37337f(0x344),new _0xba51b2()),N(this,'event$',this[_0x37337f(0x344)][_0x37337f(0x1b9)]()),N(this,_0x37337f(0x1e7)),N(this,_0x37337f(0x3ab)),N(this,_0x37337f(0x342)),N(this,_0x37337f(0x397),!0x1),N(this,'_telemetryInfo',null),(this[_0x37337f(0x1ef)]=_0x55965e,this[_0x37337f(0x13c)]=_0x264df4,this[_0x37337f(0x221)]=_0x3ed525,this[_0x37337f(0x375)]=_0x3c0bf6,this[_0x37337f(0x33a)]=_0x3a43d1,this[_0x37337f(0x319)]=_0x3be39e,this[_0x37337f(0x3df)]=_0x1b6341,this[_0x37337f(0x203)]=_0x62b701,this[_0x37337f(0x397)]=!!this[_0x37337f(0x203)],_0x219af0[_0x37337f(0x30c)](_0x338d32(this[_0x37337f(0x1cd)]))[_0x37337f(0x38c)](_0x22d659=>{var _0x5af282=_0x37337f,_0x3601ad;typeof _0x22d659>'u'||(this[_0x5af282(0x1e7)]=_0x22d659,_0x22d659?(this[_0x5af282(0x317)](_0x22d659),this[_0x5af282(0x3ab)]=_0x22d659['message$']['subscribe'](_0x42fcf7=>{var _0x4e3ff2=_0x5af282;_0x42fcf7['routeKey']===this[_0x4e3ff2(0x1ef)]&&this['_onCombEvent'](_0x42fcf7);})):(this[_0x5af282(0x2aa)](),this[_0x5af282(0x249)][_0x5af282(0x377)](0x2),(_0x3601ad=this[_0x5af282(0x3ab)])==null||_0x3601ad[_0x5af282(0x1e6)](),this['_socketMessageSubscription']=null));}));}get[_0x40e481(0x2d1)](){return this['_sessionStatus$']['getValue']();}[_0x40e481(0x1c3)](){var _0x5aba01=_0x40e481,_0x14b56b,_0x562dcb;return(_0x562dcb=(_0x14b56b=this[_0x5aba01(0x1e7)])==null?void 0x0:_0x14b56b[_0x5aba01(0x229)])!=null?_0x562dcb:null;}['dispose'](){var _0x4c97af=_0x40e481;super[_0x4c97af(0x205)](),this[_0x4c97af(0x1cd)][_0x4c97af(0x377)](),this[_0x4c97af(0x1cd)][_0x4c97af(0x3b9)]();}[_0x40e481(0x185)](){var _0x351e3b=_0x40e481,_0x8d95a1,_0x4c4037;this[_0x351e3b(0x2aa)](),(_0x8d95a1=this['_socket'])==null||_0x8d95a1[_0x351e3b(0x119)]({'cmd':F[_0x351e3b(0x1c6)],'data':{'roomID':this[_0x351e3b(0x1ef)]}}),(_0x4c4037=this['_socket'])==null||_0x4c4037[_0x351e3b(0x185)](),this['_event$'][_0x351e3b(0x3b9)](),this[_0x351e3b(0x249)][_0x351e3b(0x3b9)](),this[_0x351e3b(0x205)]();}['_onCombEvent'](_0x454177){var _0x4bfb9c=_0x40e481;_0x454177[_0x4bfb9c(0x2d7)]===F[_0x4bfb9c(0x385)]?this[_0x4bfb9c(0x2b5)](_0x454177):_0x454177[_0x4bfb9c(0x2d7)]===F[_0x4bfb9c(0xfb)]&&this[_0x4bfb9c(0x16e)](_0x454177);}[_0x40e481(0x317)](_0x43b427){var _0x16dbff=_0x40e481;this['_sessionStatus$'][_0x16dbff(0x377)](0x1),_0x43b427[_0x16dbff(0x119)]({'cmd':F[_0x16dbff(0x385)],'routeKey':this[_0x16dbff(0x1ef)],'routeType':'','data':{'rooms':[{'roomID':this[_0x16dbff(0x1ef)]}]}});}[_0x40e481(0x2b5)](_0x200349){var _0x626a00=_0x40e481,_0x439c8a;if(_0x200349[_0x626a00(0x313)]in Kt){this[_0x626a00(0x3df)][_0x626a00(0x258)]({'id':re['JOIN_ROOM_FAILED'],'data':Kt[_0x200349['code']]}),this[_0x626a00(0x249)]['next'](0x2);return;}this[_0x626a00(0x249)]['next'](0x3);const _0x25934d=(_0x439c8a=_0x200349[_0x626a00(0x3a1)][_0x626a00(0x31d)][this['_unitID']])==null?void 0x0:_0x439c8a[_0x626a00(0x19f)];_0x25934d&&_0x25934d[_0x626a00(0x109)](_0x3d5640=>this[_0x626a00(0x33a)]['updateMember'](this[_0x626a00(0x1ef)],_0x3d5640));}[_0x40e481(0x16e)](_0x1ee9f9){var _0x123bcf=_0x40e481;try{const _0x5d4394=_0x1ee9f9[_0x123bcf(0x3a1)];switch(_0x5d4394[_0x123bcf(0x24c)]){case _0x3c9809[_0x123bcf(0x294)]:this[_0x123bcf(0x355)](_0x5d4394),this[_0x123bcf(0x344)][_0x123bcf(0x377)](_0x5d4394);break;case _0x3c9809['USERS_LEAVE']:this[_0x123bcf(0x310)](_0x5d4394),this[_0x123bcf(0x344)]['next'](_0x5d4394);break;case _0x3c9809[_0x123bcf(0x219)]:case _0x3c9809[_0x123bcf(0x262)]:this[_0x123bcf(0x20f)](),this[_0x123bcf(0x314)](),this[_0x123bcf(0x344)][_0x123bcf(0x377)](_0x5d4394);break;case _0x3c9809[_0x123bcf(0x32b)]:this['_logService'][_0x123bcf(0x30a)](_0x123bcf(0x30f)+JSON['stringify'](_0x5d4394)),this[_0x123bcf(0x344)]['next'](_0x5d4394);break;case _0x3c9809[_0x123bcf(0x104)]:this[_0x123bcf(0x319)][_0x123bcf(0x103)](_0x5d4394['data']),this[_0x123bcf(0x344)][_0x123bcf(0x377)](_0x5d4394);break;default:this['_event$'][_0x123bcf(0x377)](_0x5d4394);}}catch(_0x237d5c){this[_0x123bcf(0x13c)][_0x123bcf(0x30a)](_0x237d5c,_0x1ee9f9);}}[_0x40e481(0x355)](_0x3e9321){var _0x45aafc=_0x40e481;this[_0x45aafc(0x33a)][_0x45aafc(0x17c)](this[_0x45aafc(0x1ef)],_0x3e9321[_0x45aafc(0x3a1)]);}[_0x40e481(0x310)](_0x34659e){var _0x18e1e0=_0x40e481;this[_0x18e1e0(0x33a)][_0x18e1e0(0x19a)](this[_0x18e1e0(0x1ef)],_0x34659e[_0x18e1e0(0x3a1)][_0x18e1e0(0x229)]);}async['send'](_0x2c30a4,_0x5b6078){var _0x91913c=_0x40e481;if(this[_0x91913c(0x2d1)]!==0x3||!this[_0x91913c(0x1e7)])throw new Error(_0x91913c(0x1d0));try{_0x2c30a4[_0x91913c(0x24c)]===_0x3c9809[_0x91913c(0x3ac)]&&(this[_0x91913c(0x241)](),this[_0x91913c(0x3bc)](_0x2c30a4)),this[_0x91913c(0x1e7)][_0x91913c(0x119)]({'cmd':F[_0x91913c(0x115)],'routeKey':_0x5b6078,'routeType':'','data':_0x2c30a4});}catch(_0x20f168){this[_0x91913c(0x13c)][_0x91913c(0x30a)](_0x20f168);}}['_scheduleCollaborationTimeoutTimer'](){var _0x246997=_0x40e481,_0xbe2fd4;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x485ec2=_0x1459;this[_0x485ec2(0x342)]=null,this['_collaborationUIEventService'][_0x485ec2(0x258)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0xbe2fd4=this[_0x246997(0x221)]['getConfig'](mi))!=null?_0xbe2fd4:gi);}[_0x40e481(0x314)](){var _0x1fb724=_0x40e481;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x1fb724(0x342)]),this[_0x1fb724(0x342)]=null);}[_0x40e481(0x3bc)](_0x2843b1){var _0xd30d4e=_0x40e481;if(!this[_0xd30d4e(0x397)])return;const {data:_0x17159e}=_0x2843b1,{unitID:_0x38e74e,changeset:_0x378f52}=_0x17159e,{mutations:_0x287a03,type:_0x1f3c37}=_0x378f52;this[_0xd30d4e(0x3e0)]={'unitId':_0x38e74e,'type':_0x1f3c37,'startTime':performance[_0xd30d4e(0x32d)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x287a03)};}[_0x40e481(0x20f)](){var _0x52600e=_0x40e481;if(this[_0x52600e(0x397)]){if(!this['_telemetryInfo']){this[_0x52600e(0x13c)][_0x52600e(0x30a)](_0x52600e(0x228),_0x52600e(0x24f));return;}this[_0x52600e(0x3e0)][_0x52600e(0x12f)]=performance[_0x52600e(0x32d)](),this[_0x52600e(0x3e0)]['duration']=this['_telemetryInfo'][_0x52600e(0x12f)]-this[_0x52600e(0x3e0)]['startTime'],this[_0x52600e(0x203)]['capture'](Hn,this[_0x52600e(0x3e0)]),this[_0x52600e(0x3e0)]=null;}}[_0x40e481(0x2aa)](){var _0x9433f3=_0x40e481;this[_0x9433f3(0x3e0)]=null;}};Et=Wn([me(0x2,_0xcdb88),me(0x3,_0x1356ee),me(0x4,_0x41febc(_0x5ceb9f)),me(0x5,_0x41febc(Le)),me(0x6,_0x41febc(Ti)),me(0x7,_0x41febc(pe)),me(0x8,_0x397f30(_0x337e91))],Et);var Kn=Object[_0x40e481(0x237)],Yn=(_0x5b22db,_0x1b69b2,_0x46bf70,_0x2b34cb)=>{for(var _0x4ab422=_0x2b34cb>0x1?void 0x0:_0x2b34cb?Kn(_0x1b69b2,_0x46bf70):_0x1b69b2,_0x2987a2=_0x5b22db['length']-0x1,_0x5ae5e9;_0x2987a2>=0x0;_0x2987a2--)(_0x5ae5e9=_0x5b22db[_0x2987a2])&&(_0x4ab422=_0x5ae5e9(_0x4ab422)||_0x4ab422);return _0x4ab422;},be=(_0x29e496,_0x236f9b)=>(_0x209a12,_0x77f2b6)=>_0x236f9b(_0x209a12,_0x77f2b6,_0x29e496);let xe=class extends _0x484e8c{constructor(_0xb7be12,_0x1fceb2,_0x4c61b8,_0x178733,_0x23d90e,_0x41911a){var _0x5b5a60=_0x40e481;super(),N(this,_0x5b5a60(0x152),new _0x21691d(void 0x0)),N(this,'socket$',this[_0x5b5a60(0x152)][_0x5b5a60(0x1b9)]()),N(this,_0x5b5a60(0x123),null),N(this,_0x5b5a60(0x3b5),new Map()),N(this,_0x5b5a60(0x13b),new _0x21691d(Ee[_0x5b5a60(0x335)])),N(this,_0x5b5a60(0x268),this[_0x5b5a60(0x13b)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,_0x5b5a60(0x38a),0x0),N(this,_0x5b5a60(0x1c0)),N(this,_0x5b5a60(0x173)),(this[_0x5b5a60(0x2bb)]=_0xb7be12,this[_0x5b5a60(0x13c)]=_0x1fceb2,this[_0x5b5a60(0x221)]=_0x4c61b8,this['_socketService']=_0x178733,this[_0x5b5a60(0x3df)]=_0x23d90e,this['_networkConditionService']=_0x41911a,this[_0x5b5a60(0x1ec)]());}get[_0x40e481(0x1e7)](){var _0x5d8700=_0x40e481;return this[_0x5d8700(0x152)][_0x5d8700(0x186)]();}[_0x40e481(0x1ec)](){var _0x1a171f=_0x40e481;this[_0x1a171f(0x1b8)]&&this[_0x1a171f(0x3aa)](this[_0x1a171f(0x1b8)][_0x1a171f(0x118)][_0x1a171f(0x38c)](_0x43678e=>{var _0x57fd27=_0x1a171f;_0x43678e&&!this[_0x57fd27(0x1e7)]&&this['reconnect'](),_0x43678e||this[_0x57fd27(0x1d5)]();}));}['dispose'](){var _0x13c8a2=_0x40e481;super[_0x13c8a2(0x205)](),this[_0x13c8a2(0x1a5)](),this[_0x13c8a2(0x39a)](),this[_0x13c8a2(0x149)](),this[_0x13c8a2(0x3b5)][_0x13c8a2(0x109)](_0x29e046=>_0x29e046[_0x13c8a2(0x205)]()),this[_0x13c8a2(0x3b5)]['clear'](),this['_status$'][_0x13c8a2(0x3b9)]();}async[_0x40e481(0x134)](_0x4cfb11){var _0x212b7d=_0x40e481;if(this[_0x212b7d(0x3b5)][_0x212b7d(0x15b)](_0x4cfb11))return this[_0x212b7d(0x3b5)][_0x212b7d(0x1da)](_0x4cfb11);this[_0x212b7d(0x36c)]();const _0x12f0f1=this[_0x212b7d(0x2bb)][_0x212b7d(0x3ae)](Et,_0x4cfb11,this[_0x212b7d(0x152)][_0x212b7d(0x1b9)]());return this[_0x212b7d(0x3b5)]['set'](_0x4cfb11,_0x12f0f1),_0x12f0f1;}['closeSession'](_0xe40026){var _0x1cbf55=_0x40e481,_0x2aaf23;const _0x37bf22=this['_sessions']['get'](_0xe40026);_0x37bf22&&(this[_0x1cbf55(0x3b5)][_0x1cbf55(0x233)](_0xe40026),_0x37bf22[_0x1cbf55(0x185)]()),this[_0x1cbf55(0x3b5)]['size']||(_0x2aaf23=this[_0x1cbf55(0x1e7)])==null||_0x2aaf23[_0x1cbf55(0x185)]();}[_0x40e481(0x1ad)](){var _0x579a4b=_0x40e481;this[_0x579a4b(0x38a)]=0x0,this[_0x579a4b(0x1a5)](),this[_0x579a4b(0x2bc)]();}[_0x40e481(0x1a5)](){var _0x3622ff=_0x40e481;this[_0x3622ff(0xf4)]!=null&&(clearTimeout(this[_0x3622ff(0xf4)]),this[_0x3622ff(0xf4)]=null);}async[_0x40e481(0x2d2)](){var _0x32be01=_0x40e481,_0x4143da,_0x3fab59;const _0x38c4e4=this[_0x32be01(0x221)][_0x32be01(0x3da)](In),_0x95509b=this[_0x32be01(0x221)]['getConfig'](q),_0x3cbbc7=(_0x3fab59=(_0x4143da=_0x95509b==null?void 0x0:_0x95509b['collabWebSocketUrl'])!=null?_0x4143da:_0x38c4e4)!=null?_0x3fab59:Tn,_0x23cb55=await this[_0x32be01(0x285)][_0x32be01(0x2ac)](_0x3cbbc7);return this['_candidateSocket']=_0x23cb55,_0x23cb55;}async['_tryEnsureSocket'](){var _0x4e0728=_0x40e481,_0x518939,_0x477c93;try{const _0x4cad93=(_0x477c93=(_0x518939=this[_0x4e0728(0x1e7)])!=null?_0x518939:this[_0x4e0728(0x123)])!=null?_0x477c93:await this['_createSocket']();if(_0x4cad93){const _0x141878=_0x4cad93['send'];_0x4cad93['send']=_0x3c9299=>(this['_rescheduleHeartbeat'](),_0x141878['apply'](_0x4cad93,[_0x3c9299])),_0x4cad93[_0x4e0728(0x106)]['subscribe'](_0x442d59=>this[_0x4e0728(0x1ae)](_0x4cad93,_0x442d59)),_0x4cad93[_0x4e0728(0x27e)][_0x4e0728(0x30c)](_0x1935b8(0x1))['subscribe'](_0xb333b2=>this['_logService']['error'](_0x4e0728(0xf1),_0xb333b2)),_0x4cad93[_0x4e0728(0x2df)]['pipe'](_0x1935b8(0x1))[_0x4e0728(0x38c)](()=>{this['_onConnectionOpen'](_0x4cad93);}),_0x4cad93[_0x4e0728(0x1ee)][_0x4e0728(0x30c)](_0x1935b8(0x1))[_0x4e0728(0x38c)](_0x498eed=>{var _0x1d4214=_0x4e0728;this[_0x1d4214(0x13c)][_0x1d4214(0x21c)]('[CollaborationSessionService]',_0x1d4214(0x26b),_0x498eed),this[_0x1d4214(0x281)]();});}}catch(_0x589fb8){this[_0x4e0728(0x13c)][_0x4e0728(0x30a)](_0x589fb8),this[_0x4e0728(0x281)]();}}[_0x40e481(0xff)](_0x29c5cf){var _0x478373=_0x40e481;this[_0x478373(0x13c)]['debug'](_0x478373(0x266),'socket\x20open.'),_0x29c5cf['send']({'cmd':F[_0x478373(0x3a4)]}),this[_0x478373(0x18d)]();}[_0x40e481(0x1d5)](){var _0x4e2bb1=_0x40e481;this[_0x4e2bb1(0x1e4)]=!0x1,this[_0x4e2bb1(0x123)]=null,this[_0x4e2bb1(0x13b)][_0x4e2bb1(0x377)](Ee[_0x4e2bb1(0x374)]),this[_0x4e2bb1(0x152)][_0x4e2bb1(0x377)](null),this[_0x4e2bb1(0x39a)](),this['_clearHeartbeatTimer']();}[_0x40e481(0x281)](){var _0x4725d9=_0x40e481,_0x4d629b;this[_0x4725d9(0x1d5)](),this[_0x4725d9(0x38a)]<((_0x4d629b=this[_0x4725d9(0x221)][_0x4725d9(0x3da)](yn))!=null?_0x4d629b:On)?(this[_0x4725d9(0x3df)][_0x4725d9(0x258)]({'id':re[_0x4725d9(0x172)]}),this[_0x4725d9(0x2bc)]()):this[_0x4725d9(0x3df)]['emitEvent']({'id':re[_0x4725d9(0x309)]});}[_0x40e481(0x2bc)](){var _0x462215=_0x40e481,_0x120bc0;const _0x40d9ab=this[_0x462215(0x38a)],_0x1daf0c=this[_0x462215(0x221)][_0x462215(0x3da)](q),_0x2baf8a=_0x40d9ab===0x0?0x0:((_0x120bc0=_0x1daf0c==null?void 0x0:_0x1daf0c[_0x462215(0x359)])!=null?_0x120bc0:bn)*0x2**_0x40d9ab;this[_0x462215(0xf4)]=setTimeout(()=>{var _0x346b9b=_0x462215;clearTimeout(this[_0x346b9b(0xf4)]),this[_0x346b9b(0xf4)]=null,this[_0x346b9b(0x36c)]();},_0x2baf8a),this[_0x462215(0x38a)]+=0x1;}['_onMessage'](_0x2813af,_0x1106ce){var _0x271d06=_0x40e481;const {cmd:_0x97677d}=_0x1106ce;_0x97677d===F['HELLO']&&!this[_0x271d06(0x1e4)]&&(_0x2813af[_0x271d06(0x229)]=_0x1106ce['data'][_0x271d06(0x229)],this[_0x271d06(0x152)][_0x271d06(0x377)](_0x2813af),this[_0x271d06(0x13b)][_0x271d06(0x377)](Ee[_0x271d06(0x2e6)]),this['_socketReady']=!0x0,this[_0x271d06(0x123)]=null),_0x97677d===F[_0x271d06(0x1a1)]&&this[_0x271d06(0x39a)](),this[_0x271d06(0x18d)]();}[_0x40e481(0x18d)](){var _0x35d6d3=_0x40e481,_0x513e84;this['_clearHeartbeatTimer'](),this[_0x35d6d3(0x1c0)]=setTimeout(()=>this[_0x35d6d3(0x1bd)](),(_0x513e84=this[_0x35d6d3(0x221)][_0x35d6d3(0x3da)](Cn))!=null?_0x513e84:Rn);}[_0x40e481(0x1bd)](){var _0x1898b1=_0x40e481;this[_0x1898b1(0x1e7)][_0x1898b1(0x119)]({'cmd':F[_0x1898b1(0x1a1)]}),this[_0x1898b1(0x1ac)]();}[_0x40e481(0x1ac)](){var _0x35264f=_0x40e481,_0x591d54;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x591d54=this[_0x35264f(0x221)][_0x35264f(0x3da)](mi))!=null?_0x591d54:gi);}['_clearHeartbeatTimer'](){var _0x5cd997=_0x40e481;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5cd997(0x1c0)]=null);}[_0x40e481(0x39a)](){var _0x199ce6=_0x40e481;this[_0x199ce6(0x173)]!=null&&(clearTimeout(this[_0x199ce6(0x173)]),this['_timeoutTimer']=null);}};xe=Yn([be(0x0,_0x41febc(_0x414ea7)),be(0x1,_0xcdb88),be(0x2,_0x1356ee),be(0x3,Ii),be(0x4,_0x41febc(pe)),be(0x5,_0x397f30(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x40e481(0xeb)]((t+0x100)[_0x40e481(0x3ba)](0x10)[_0x40e481(0x238)](0x1));function qn(_0xfa8959,_0x3ac44c=0x0){return(V[_0xfa8959[_0x3ac44c+0x0]]+V[_0xfa8959[_0x3ac44c+0x1]]+V[_0xfa8959[_0x3ac44c+0x2]]+V[_0xfa8959[_0x3ac44c+0x3]]+'-'+V[_0xfa8959[_0x3ac44c+0x4]]+V[_0xfa8959[_0x3ac44c+0x5]]+'-'+V[_0xfa8959[_0x3ac44c+0x6]]+V[_0xfa8959[_0x3ac44c+0x7]]+'-'+V[_0xfa8959[_0x3ac44c+0x8]]+V[_0xfa8959[_0x3ac44c+0x9]]+'-'+V[_0xfa8959[_0x3ac44c+0xa]]+V[_0xfa8959[_0x3ac44c+0xb]]+V[_0xfa8959[_0x3ac44c+0xc]]+V[_0xfa8959[_0x3ac44c+0xd]]+V[_0xfa8959[_0x3ac44c+0xe]]+V[_0xfa8959[_0x3ac44c+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x472e10=_0x40e481;if(!ut){if(typeof crypto>'u'||!crypto[_0x472e10(0x2da)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x472e10(0x2da)][_0x472e10(0x1cc)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x40e481(0x324)]&&crypto['randomUUID'][_0x40e481(0x1cc)](crypto),Yt={'randomUUID':Xn};function Zn(_0x3b88c6,_0x52def9,_0x30e80a){var _0x27755b=_0x40e481,_0x2874db,_0x2d5a88,_0x434bb6;if(Yt['randomUUID']&&!_0x3b88c6)return Yt[_0x27755b(0x324)]();_0x3b88c6=_0x3b88c6||{};const _0x3bb9f2=(_0x434bb6=(_0x2d5a88=_0x3b88c6[_0x27755b(0x37f)])!=null?_0x2d5a88:(_0x2874db=_0x3b88c6[_0x27755b(0xef)])==null?void 0x0:_0x2874db['call'](_0x3b88c6))!=null?_0x434bb6:Jn();if(_0x3bb9f2[_0x27755b(0x299)]<0x10)throw new Error(_0x27755b(0xf6));return _0x3bb9f2[0x6]=_0x3bb9f2[0x6]&0xf|0x40,_0x3bb9f2[0x8]=_0x3bb9f2[0x8]&0x3f|0x80,qn(_0x3bb9f2);}const J=_0x392ccb('collaboration-client.local-cache-service');function Br(_0x220795){return'unit-cache-'+_0x220795;}var Qn=Object[_0x40e481(0x237)],es=(_0xa309b5,_0x3bcc21,_0x24883e,_0x2eb547)=>{for(var _0x236c1b=_0x2eb547>0x1?void 0x0:_0x2eb547?Qn(_0x3bcc21,_0x24883e):_0x3bcc21,_0x1d9346=_0xa309b5['length']-0x1,_0x5f3bb8;_0x1d9346>=0x0;_0x1d9346--)(_0x5f3bb8=_0xa309b5[_0x1d9346])&&(_0x236c1b=_0x5f3bb8(_0x236c1b)||_0x236c1b);return _0x236c1b;},dt=(_0x4cfbc5,_0x46af59)=>(_0x1ad8b8,_0x2d3de0)=>_0x46af59(_0x1ad8b8,_0x2d3de0,_0x4cfbc5);function ts(_0x581dfb){var _0x1f1680=_0x40e481;const {unitID:_0x15bac4,mutations:_0x316296}=_0x581dfb;return{'unitId':_0x15bac4,'subUnitId':_0x316296[0x0][_0x1f1680(0x1eb)]['subUnitId']};}let it=class{constructor(_0x4819eb,_0x2c0f23,_0x299a41){this['_injector']=_0x4819eb,this['_transformService']=_0x2c0f23,this['_instanceService']=_0x299a41;}[_0x40e481(0x2a9)](_0xbec02c){var _0xc0ebd5=_0x40e481,_0x5dfbc8,_0x1d85ec,_0x496679,_0x5cf9c0;const _0x52f116=this[_0xc0ebd5(0x2bb)][_0xc0ebd5(0x1da)](_0x30f1af),{unitId:_0x3b2139,subUnitId:_0x68ec3e}=ts(_0xbec02c),_0x2e4410=_0x52f116==null?void 0x0:_0x52f116[_0xc0ebd5(0x246)](_0x3b2139)['getCurrentSelections'](),_0x1e2595=(_0x1d85ec=(_0x5dfbc8=this[_0xc0ebd5(0x327)][_0xc0ebd5(0x16a)](_0x3b2139))==null?void 0x0:_0x5dfbc8[_0xc0ebd5(0x1d7)]())==null?void 0x0:_0x1d85ec[_0xc0ebd5(0x23d)]();if(_0x2e4410[_0xc0ebd5(0x299)]===0x0||!_0x3b2139||!_0x68ec3e)return;const _0x467ec7=[{'id':_0x11ff75['id'],'params':{'unitId':_0x3b2139,'subUnitId':_0x1e2595,'selections':_0x456a73[_0xc0ebd5(0x202)](_0x2e4410)}}],_0x5b82b6=this[_0xc0ebd5(0x1b5)][_0xc0ebd5(0x1dd)](_0xbec02c,_0x467ec7);if(!_0x2f923c(_0x5b82b6))throw _0x5b82b6[_0xc0ebd5(0x30a)];const _0x3ea711=(_0x5cf9c0=(_0x496679=_0x5b82b6[_0xc0ebd5(0x113)][0x0])==null?void 0x0:_0x496679[_0xc0ebd5(0x1eb)])==null?void 0x0:_0x5cf9c0[_0xc0ebd5(0x302)];if(Array['isArray'](_0x3ea711)&&_0x3ea711[_0xc0ebd5(0x299)]){if(_0x3ea711[_0xc0ebd5(0x299)]===_0x467ec7[0x0][_0xc0ebd5(0x1eb)][_0xc0ebd5(0x302)][_0xc0ebd5(0x299)]&&_0x3ea711[_0xc0ebd5(0x286)]((_0x30af5b,_0x51c013)=>_0x1df3ab['equals'](_0x30af5b[_0xc0ebd5(0x271)],_0x467ec7[0x0][_0xc0ebd5(0x1eb)][_0xc0ebd5(0x302)][_0x51c013]['range'])))return;this[_0xc0ebd5(0x2bb)]['get'](_0x2f806f)['executeCommand'](_0x11ff75['id'],{'unitId':_0x3b2139,'subUnitId':_0x1e2595,'selections':_0x3ea711});}}};it=es([dt(0x0,_0x41febc(_0x414ea7)),dt(0x1,_0x671f8c),dt(0x2,_0x26a8c2)],it);const ht=_0x392ccb('univer-pro.collaboration-client.single-active-unit-service');function _0x5f35(){var _0x245598=['slice','session.room-not-exists','StreamCipher','_members$','_executeRemoteChangeset','getSheetId','sendChangesetTimeout','location','collaboratorID','_scheduleCollaborationTimeoutTimer','_cipher','_waitCount','session','UserProfileImg','getWorkbookSelections','AWAITING','signUrlServerUrl','_sessionStatus$','UUID','status','eventID','mutations','csRejEvent','telemetry\x20info\x20is\x20not\x20initialized','sessionStatus$','LICENSE_DISTRO_REJECTED','ERROR_EXCEED_SIZE','fetchMiss','Pkcs7','/block/','onRemoteAck','_exhaustRemoteChangesetQueue','emitEvent','onTransformRemoteChangesetByIMECache','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onSendChangeset','uniscriptRunEvent','snapshot','json','interceptor','WordArray','YUUMI_RATE_OVER_LIMIT','CHANGESET_SHOULD_RETRY','event$','infoRsp','onRemoteChangeset','[CollaborationSessionService]','onSyncEditingCollabCursor','status$','PY_RUNTIME_SCRIPT_ERROR','_mode','socket\x20close','onRemoteRetry','&source=','string','_collabSessionService','session.join-failed','range','salt','[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.','univer-pro.collaboration-client-socket-service','deleteCollaborator','unknown','_isPermissionRej','symbol','closeSession','_xformMode','uploadFileServerUrl','USER_NOT_INVITED_CODE','processBlock','error$','cfg','USERS_LEAVE','_onConnectionFailed','CONFLICT','[SyncedState]:\x20received\x20rejection.','values','_socketService','every','append','_collaborationSessionService','name','Undefined','2989zWeSXu','429440ztZabZ','_roomMembers','LICENSE_MAX_UNITS_EXCEEDED','UNKNOWN_CMD','onload','UnitEmbedded','awaitingChangeset','getMember','USERS_ENTER','baseRev','offline','[CollaborationUndoRedoService]','_snapshotServerService','length','NO_OTHER_CLIENTS_EDITING','_hasher','UnitSnapshot','_data','ws://127.0.0.1:8000/universer-api/comb/connect','getUnitStatus$','objectID','transformStack\x20failed!','startsWith','_init','_initUnitPermissionChange','onRemoteRej','_updateLocalCache','pending','{fileID}','transformSelections','_throwTelemetryCollaborationNewChangeset','Latin1','createSocket','JOIN_ROOM_FULL','charAt','_sendingTimer','clone','synced','OTHER_CLIENT_EDITING','_minBufferSize','Could\x20not\x20dynamically\x20require\x20\x22','_onJoinRoomEvent','CLOSE_ROOM','enableAuthServer','UNAUTHENTICATED','confirm','[PendingState]:\x20received\x20rejection.','_injector','_tryReconnect','updatePermissionPoint','onMissingChangesets','_createHelper','reject','resourceIDs','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_transformIMECache','_state','ERROR_IMAGE_TYPE','/-/object/list','HttpImport','_HTTPService','update','newCsEvent','awaiting','/universer-api/stream/file/upload','_keyPriorReset','liveShareOperation','APPLY_DUPLICATED','_undoRedoService','sessionStatus','_createSocket','_clearScheduledTask','getCurrentUser','fetchThroughInterceptors','getCollabEntity$','cmd','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Base64','getRandomValues','_getDownloadEndpointURL','LOCAL_CACHE_INTERVAL','getTime','unitId','open$','_snapshotService','_awaitingChangeset','INVALID_INVITE_CODE','readAsDataURL','parse','workbook','ONLINE','repeat','HttpExport','getUnitType','blockSize','_clearUndo','ivSize','PENDING','not_collab','/allowed','_map','registerHTTPInterceptor','AWAITING_WITH_PENDING','key','getTypeOfUnitDisposed$','JOIN_ROOM_PERMISSION_DENIED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','loginUrlKey','editing\x20status\x20changed\x20to','origin','failed\x20to\x20apply\x20missed\x20changesets!','_resendTimer','put','fetching\x20missing\x20changesets\x20from\x20','hostname','[CollaborationState]:\x20apply\x20error!','[PendingState]:\x20unhandled\x20univer\x20type:\x20','resend','selections','168466aodiks','from','__Key__','SNAPSHOT_INVALID_SNAPSHOT','_lockTransition','_permissionService','SOCKET_FAILED','error','prototype','pipe','type','image/jpeg','save\x20fail\x20reason\x20is\x20','_onUserLeave','SHOULD_CLOSE_CONN','getAllMembers','code','_clearCollaborationTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNIVER_DOC','_joinRoom','_registerDependencies','_commentService','OTHER_CLIENTS_EDITING','getInterceptPoints','_changesetReqId','roomInfos','INVITE_CODE_HAS_BEEN_UES','Decryptor','loadSheet','LICENSE_EXPORT_SIZE_EXCEEDED','image/png','splice','randomUUID','enableOfflineEditing','UPDATE_PERMISSION_OBJ','_instanceService','clamp','_getUndoStack','_onRemoteRejected','MSG_FOR_ERROR','DEFAULT_FILE_NAME','now','objectType','_hash','Error\x20on\x20receiving\x20event','UNIVER_COLLABORATION_CLIENT_PLUGIN','updatePermissionObjEvent','NEW_CHANGESETS','override','IDLE','_localCacheService','_sender','unpad','55856TYgNhk','_memberService','UPDATE_CURSOR','byteLength','_showConflictNotification','_remoteChangesetQueue','charCodeAt','_invKeySchedule','_transformRemoteChangesetByStateCache','_collaborationTimeoutTimer','[DataLoaderService]','_event$','x-univer-host','POST','_handlerCallback','buffer','LIVESHARE_FETCH_OPERATIONS','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','appendMutation','_unlockTransition','?size=','EvpKDF','conflict','&assign=','_syncEditingCollabCursor','originalMeta','stringify','_change$','_onUserJoin','UNIVER_SLIDE','SUCCUSS','UNIVER_SHEET','retryConnectingInterval','LIVESHARE_TERMINATE','default','UNIVER_UNKNOWN','getCollabEntity','_clearLocalCache','[SyncedState]:\x20received\x20acknowledgement.','sigBytes','batchAllowed','_loadDoc','exports','transformChangesets','__esModule','createDecryptor','_getRedoStack','_transformRemoteChangesetByIMECache','reqId','_append','c1Prime','_tryEnsureSocket','_substituteRedoStack','liveShareNewHost','hasher','_fetchMissChangesets','BASE64','LIVESHARE_REQUEST_HOST','transformUndoRedo','OFFLINE','_localeService','reset','next','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','ERROR_IMAGE','Malformed\x20UTF-8\x20data','_initDependencies','getImage','onlyLocal','url','random','SUBMIT_CHANGESET_TIMEOUT','localCacheService','getUnitId','catch','/universer-api/comb','JOIN','INTERNAL_ERROR','concat','collaboration_new_changeset','_oKey','_retryCount','/object','subscribe','set','__creator','_state$','_reverseMap','HmacMD5','floor','patch','editingUnit','loadDoc','state$','_shouldReportTelemetry','encryptBlock','/universer-api/uniscript','_clearTimeoutTimer','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_unitInfo$','_parse','2454swBbWp','href','31347TZcgND','data','273210sFndpJ','/universer-api/user/session-ticket','HELLO','method','snapshotServerUrl','_schedule','toggleOffline','HmacSHA1','disposeWithMe','_socketMessageSubscription','SUBMIT_CHANGESET','findIndex','createInstance','src','\x0aCurrent:\x20','_doReset','AES','image/gif','copyFileMeta','_sessions','_onRemoteChangeset','isPermissionRej','_createHmacHelper','complete','toString','LIVESHARE_OPERATION','_startTelemetryCollaborationNewChangeset','keySize','execute','PSEUDO_FETCH_MISSING_RESULT','extend','encrypt','_members','headers','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','sin','_iKey','_initRequestHeader','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','updateCollaborator','sid','_updateState','JOINING','_clearRedo','FileId','LOGIN_FAILED','createCollaborator','PasswordBasedCipher','iterations','/collaborator','_handler','_scheduleCompleteTimestamp','APPLY_REJECT','_initCloseConn','YUUMI_SUBSCRIPTION_NOT_FOUND','_replaceFileID','getConfig','list','_keySchedule','APPLY_REVISION_CONFILICT','HMAC','_collaborationUIEventService','_telemetryInfo','[FetchMissState]','saveChangeset','onCommandExecuted','WECHAT_HAS_BEEN_BOUND','refreshPermission','substr','_toggleOnline','1395369QJwgBO','requestParams','isArray','onTransformIME','/universer-api/authz','push','NoPadding','submit\x20changeset\x20error!','joinEvent','rng','filter','[CollaborationSessionService]:\x20socket\x20error','_transformStack','_transitionLocked','_retryConnectingTimer','_onLocalMutation','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','onTransformSelections','SerializableCipher','reverse','_replayCachedMutations','RECV','People','UNKNOWN_CODE','words','_onConnectionOpen','_getCurrentRevision','onMissedChangesetFetched','_sheetTransformSelectionsService','onCommentUpdate','COMMENT_UPDATE','JOIN_ROOM_FAILED','message$','SNAPSHOT_HAS_BEEN_REMOVED','univer-pro.collaboration-client.network-condition.service','forEach','INVITE_CODE_ALREADY_BOUND','COMPRESS_MUTATION_SEND','_iv','GLOBAL_ROOMS_CNT_EXCEEDS','crypto','file','[CollaborationEntity]','clear','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','m2Prime','getResourcesRequest','INGEST','CHANGESET_REJ','_onConflict','online$','send','getSheetBlock','entries','_decreaseWaiting','image/bmp','_getCtorByUniverType','saveSnapshot','OPTIONAL','_undoStacks','_submitChangeset','_candidateSocket','_toggleOffline','getCurrentRevOfUnit','result','init','_incrementRevisionNumber','localeService','rev','getUnitOnRev','_getAPIPrefix','map','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','stopTime','onTransformRemoteChangesetByStateCache','COMPRESS_MUTATION_APPLY','SNAPSHOT_SERVER_URL_KEY','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','requireSession','_emitMembers','saveImage','CHANGESET_REVISION_CONFILICT','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','compute','socketService','_status$','_logService','_applyRemoteChangeset','authzUrl','_singleActiveUnitService','COMPLETION_FINISHED','abs','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_doCryptBlock','\x20in\x20_schedule.','commentUpdate$','getFocusedUnit','setShowComponents','UNDEFINED','_clearHeartbeatTimer','joinRsp','APPLY_NON_SEQUENTIAL_REVISION','BlockCipher','_onRemoteRetry','/unit/','LICENSE_IMPORT_SIZE_EXCEEDED','_doFinalize','routeKey','_socket$','enc','avatar','textRanges','objectActions','MUTATION','updateOfflineData','body','_httpService','has','_changesetSessionId','algo','TOO_MANY_REQUESTS','session.room-full','createEncryptor','fetch_missing','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/resources','EMAIL_HAS_BEEN_BOUND','/-/object/-/batch_allowed','collaborators','_updateStatus','CONNECTOR_DATA_TOO_LARGE','fetchMissingChangesets','getUnit','Cipher','_entityInit$','/fetchmissing?from=','_onRecvEvent','Utf8','reduce','function','SOCKET_FAILED_RETRY','_timeoutTimer','pauseCollaboration','size','getRoom','getSnapshotAPIPath','_transformSelections','_acknowledgedAwaitingChangeset','_resendWithTimeout','msCrypto','updateMember','MOBILE_HAS_BEEN_BOUND','randomBytes','updateCursorEvent','ENSURE_SNAPSHOT_EXECUTION','state','focused$','Univer','_config','close','getValue','/role','_createInitialState','_onRemoteACK','\x0aAfter:\x20','_univerInstanceService','_revisionService','_rescheduleHeartbeat','HEARTBEAT_INTERVAL','&to=','addImageSourceCache','_compressMutationService','userID','members$','apply','YUUMI_UNABLE_LOAD_URL','Hasher','_commandService','JOIN_ROOM_NOT_EXISTS','_prevBlock','removeMember','_getAPIPrefixPath','_entities','_startCollaboration','setConfig','members','[PendingState]:\x20received\x20acknowledgement.','HEARTBEAT','setCurrentUser','hasOwnProperty','_nDataBytes','_clearRetryConnectingTimer','UNRECOGNIZED','leaveEvent','_doCreateSocket','getLatestCsReqIdBySid','saveSheetBlock','_getSignURL','_waitForHeartbeatResponse','reconnect','_onMessage','_ENC_XFORM_MODE','fromCharCode','downloadEndpointUrl','_initMergeInterceptor','_doProcessBlock','auth.needGotoLoginAlert','_transformService','pad','FAIL','_networkConditionService','asObservable','Hex','post','onStarting','_sendHeartbeat','onTransformState','ceil','_sendHeartbeatTimer','SHA1','then','getMemberID','add','_queuedRemoteChangesets','LEAVE','format','_roomCreated$','ALREADY_EXISTS','FETCH_MISSING','/universer-api/snapshot','bind','dispose$','formatter','awaiting_with_pending','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','MD5','create','_pendingMutations','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_onOffline','_userManagerService','getActiveSheet','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_getSendChangesetTimeout','get','_DEC_XFORM_MODE','[UniverCollaborationClientPlugin]','transformMutationsWithChangeset','csAckEvent','_commentUpdate$','kdf','generateRandomId','encode','/universer-api/file/{fileID}/sign-url','_socketReady','revision','unsubscribe','_socket','_type','_checkMissing','resolve','params','_listenToNetworkCondition','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','close$','_unitID','actions','fromCollab','changesets','YUUMI_URL_COL_OUT_OF_RANGE','_transformStateCache','initWorkbookPermissionChange','_removeRoom','finalize','_createInitialStateImpl','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_getLoginPath','shouldCloseConn','_imageSourceCache','title','Encryptor','Base','enableSingleActiveInstanceLock','/universer-api/oidc/authpage','deepClone','_telemetryService','unitID','dispose','toggleOnline','SNAPSHOT_URL_KEY','subject','max','withCredentials','call','image/jpg','onLocalMutation','listCollaborators','_stopTelemetryCollaborationNewChangeset','action','connection\x20error','_onFetchMissResult','PERMISSION_REJ','UNISCRIPT_RUN','_getUploadFileURL','permissionRejEvent','PERSON','UNIVER_PROJECT','CHANGESET_ACK','defineProperty','LIVESHARE_NEW_HOST','debug','_createHandler','csShouldRetryEvent','APPLY_PERMISSION_DENIED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_configService','OpenSSL','$super','_resendTimeout','replace','unitId\x20is\x20not\x20found','_collaborationPaused','[CollaborationSession]','memberID','40XGwQFL','join','_nRounds','INVALID_ARGUMENT','_key','lib','getTypeOfUnitAdded$','_process','allowed','delete','/new_changes','decrypt','byteOffset','getOwnPropertyDescriptor'];_0x5f35=function(){return _0x245598;};return _0x5f35();}var Ci=(_0x50955a=>(_0x50955a[_0x50955a[_0x40e481(0x29a)]=0x0]=_0x40e481(0x29a),_0x50955a[_0x50955a[_0x40e481(0x31a)]=0x1]='OTHER_CLIENTS_EDITING',_0x50955a))(Ci||{});const is=new Set([_0x4a110e['id']]);function qt(_0x5040eb,_0x1c07bd,_0x351504,_0x534d1c,_0x5579c6){var _0x17a4f0=_0x40e481,_0x192d73,_0x442060,_0x49f984,_0x416421;const _0x2915bc=[];for(const _0x455295 of _0x5040eb)if(is[_0x17a4f0(0x15b)](_0x455295['id'])){if(_0x2915bc[_0x17a4f0(0x299)]>0x0)break;_0x2915bc[_0x17a4f0(0xeb)](_0x455295);break;}else _0x2915bc[_0x17a4f0(0xeb)](_0x455295);const _0x3a3616=(_0x442060=(_0x192d73=_0x5579c6['getCurrentUser']())==null?void 0x0:_0x192d73[_0x17a4f0(0x192)])!=null?_0x442060:_0x17a4f0(0x276),_0x456c3e=(_0x416421=(_0x49f984=_0x5579c6[_0x17a4f0(0x2d4)]())==null?void 0x0:_0x49f984[_0x17a4f0(0x229)])!=null?_0x416421:'unknown';return{'changeset':{'unitID':_0x1c07bd,'type':_0x16fc42(_0x351504[_0x17a4f0(0x2e9)](_0x1c07bd)),'baseRev':_0x534d1c[_0x17a4f0(0x125)](_0x1c07bd),'revision':0x0,'userID':_0x3a3616,'memberID':_0x456c3e,'mutations':_0x2915bc},'pendingMutations':_0x5040eb[_0x17a4f0(0x238)](_0x2915bc['length'])};}function ns(_0xf43c36,_0x25e14d,_0x1b3fbb,_0x169dc7,_0x346a09){var _0x2e6079=_0x40e481,_0x240674,_0x4e8f86,_0x3c4ea3,_0x53fd74;const _0x32d8c5=[_0xf43c36[_0x2e6079(0x170)]((_0x5130bd,_0x209aa5)=>{var _0x3c3360=_0x2e6079,_0x3b0f2e;const {id:_0x562942}=_0x5130bd,{id:_0x33fa41,type:_0x406073}=_0x209aa5,_0x103f10=(_0x3b0f2e=_0x5130bd[_0x3c3360(0x1eb)])!=null?_0x3b0f2e:{'actions':null},_0x3ec249=_0x209aa5[_0x3c3360(0x1eb)];if(_0x562942&&_0x562942!==_0x33fa41)throw new Error(_0x3c3360(0x142)+_0x562942+'\x20-\x20'+_0x33fa41+'.');return{..._0x5130bd,'id':_0x33fa41,'type':_0x406073,'params':{'unitId':_0x3ec249[_0x3c3360(0x2de)],'textRanges':_0x3ec249[_0x3c3360(0x155)],'actions':_0x278209['compose'](_0x103f10[_0x3c3360(0x1f0)],_0x3ec249['actions'])}};},{})],_0x17546f=(_0x4e8f86=(_0x240674=_0x346a09[_0x2e6079(0x2d4)]())==null?void 0x0:_0x240674[_0x2e6079(0x192)])!=null?_0x4e8f86:'unknown',_0x5399bf=(_0x53fd74=(_0x3c4ea3=_0x346a09[_0x2e6079(0x2d4)]())==null?void 0x0:_0x3c4ea3[_0x2e6079(0x229)])!=null?_0x53fd74:_0x2e6079(0x276);return{'changeset':{'unitID':_0x25e14d,'type':_0x16fc42(_0x1b3fbb['getUnitType'](_0x25e14d)),'baseRev':_0x169dc7[_0x2e6079(0x125)](_0x25e14d),'revision':0x0,'userID':_0x17546f,'memberID':_0x5399bf,'mutations':_0x32d8c5},'pendingMutations':[]};}function Ri(_0xe66e8a,_0x5f3c22){var _0x3783cd=_0x40e481;const _0x23acdf=new _0x3314aa(0x1);return setTimeout(()=>_0x23acdf['next'](_0x5f3c22),_0xe66e8a),_0x23acdf[_0x3783cd(0x1b9)]()[_0x3783cd(0x30c)](_0x48d365(0x1));}const ss={'id':_0x258c66['id'],'type':_0xe7c659['MUTATION'],'params':{}};var rs=Object[_0x40e481(0x237)],Te=(_0x523ffa,_0x20b4c1,_0x51849d,_0x3a9b23)=>{var _0x3c9189=_0x40e481;for(var _0x15c373=_0x3a9b23>0x1?void 0x0:_0x3a9b23?rs(_0x20b4c1,_0x51849d):_0x20b4c1,_0x54a922=_0x523ffa[_0x3c9189(0x299)]-0x1,_0x28402;_0x54a922>=0x0;_0x54a922--)(_0x28402=_0x523ffa[_0x54a922])&&(_0x15c373=_0x28402(_0x15c373)||_0x15c373);return _0x15c373;},P=(_0x485353,_0x572ad6)=>(_0x48887c,_0xb1eba4)=>_0x572ad6(_0x48887c,_0xb1eba4,_0x485353),bi=(_0x4c202f=>(_0x4c202f['NOT_COLLAB']=_0x40e481(0x2ee),_0x4c202f['SYNCED']=_0x40e481(0x2b1),_0x4c202f[_0x40e481(0x2ed)]='pending',_0x4c202f[_0x40e481(0x247)]=_0x40e481(0x2cb),_0x4c202f[_0x40e481(0x2f2)]=_0x40e481(0x1cf),_0x4c202f['FETCH_MISS']=_0x40e481(0x161),_0x4c202f[_0x40e481(0x282)]=_0x40e481(0x34f),_0x4c202f[_0x40e481(0x374)]=_0x40e481(0x296),_0x4c202f))(bi||{});const yi=0xea60;class Ce{constructor(_0x3fb436,_0x4a19de,_0x39a43b,_0x2aeb31,_0x33e80c,_0x27776f,_0x39a064,_0x28afd9,_0x4c382a){var _0x3829f5=_0x40e481;N(this,_0x3829f5(0x2e1),null),N(this,_0x3829f5(0x1d3),[]),(this['unitID']=_0x3fb436,this['type']=_0x4a19de,this[_0x3829f5(0x3d4)]=_0x33e80c,this[_0x3829f5(0x197)]=_0x27776f,this[_0x3829f5(0x2d0)]=_0x39a064,this[_0x3829f5(0x18c)]=_0x28afd9,this[_0x3829f5(0x336)]=_0x4c382a,this[_0x3829f5(0x2e1)]=_0x39a43b,this[_0x3829f5(0x1d3)]=_0x2aeb31);}[_0x40e481(0x1e9)](_0x2aaade){var _0xca091d=_0x40e481;const _0x149c4c=this[_0xca091d(0x18c)][_0xca091d(0x125)](this['unitID']);return _0x2aaade['revision']>_0x149c4c+0x1?(this[_0xca091d(0x3d4)][_0xca091d(0x2be)]({'from':_0x149c4c,'to':_0x2aaade[_0xca091d(0x1e5)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x2a7830){var _0x3176e3=_0x40e481;this[_0x3176e3(0x2d0)][_0x3176e3(0x373)](this['unitID'],_0x2a7830);}[_0x40e481(0x178)](_0x52d5d1){var _0x421316=_0x40e481,_0x109166,_0x5823d7;(_0x5823d7=(_0x109166=this[_0x421316(0x3d4)])[_0x421316(0xf7)])==null||_0x5823d7[_0x421316(0x20b)](_0x109166,_0x52d5d1);}[_0x40e481(0x2c3)](_0xe2bdd){var _0x4e88b9=_0x40e481,_0x118ce5,_0x372e37;return(_0x372e37=(_0x118ce5=this[_0x4e88b9(0x3d4)])[_0x4e88b9(0xe9)])==null?void 0x0:_0x372e37[_0x4e88b9(0x20b)](_0x118ce5,_0xe2bdd);}[_0x40e481(0x1f4)](_0x4763c9){var _0x2f1252=_0x40e481,_0x3dbdcb,_0x207efd;return(_0x207efd=(_0x3dbdcb=this[_0x2f1252(0x3d4)])['onTransformState'])==null?void 0x0:_0x207efd[_0x2f1252(0x20b)](_0x3dbdcb,_0x4763c9);}['_transformRemoteChangesetByIMECache'](_0x2aab12){var _0x28e982=_0x40e481,_0x31db14,_0xd3071b,_0x379c06;return(_0x379c06=(_0xd3071b=(_0x31db14=this[_0x28e982(0x3d4)])[_0x28e982(0x259)])==null?void 0x0:_0xd3071b['call'](_0x31db14,_0x2aab12))!=null?_0x379c06:_0x2aab12;}['_transformRemoteChangesetByStateCache'](_0x477ff9){var _0x5b3f37=_0x40e481,_0xe21333,_0xfc9b2e,_0xd8848f;return(_0xd8848f=(_0xfc9b2e=(_0xe21333=this[_0x5b3f37(0x3d4)])[_0x5b3f37(0x130)])==null?void 0x0:_0xfc9b2e[_0x5b3f37(0x20b)](_0xe21333,_0x477ff9))!=null?_0xd8848f:_0x477ff9;}['_syncEditingCollabCursor'](_0x243cff){var _0x29848a=_0x40e481,_0x1f6ec7,_0x4a9678;if(this[_0x29848a(0x30d)]===Q[_0x29848a(0x316)]){const {unitID:_0x3392a5,mutations:_0x4f5f27,memberID:_0x40d42f}=_0x243cff,_0x244c01=_0x4f5f27[0x0]['params'][_0x29848a(0x155)];Array[_0x29848a(0xe8)](_0x244c01)&&_0x244c01[_0x29848a(0x299)]>0x0&&((_0x4a9678=(_0x1f6ec7=this[_0x29848a(0x3d4)])[_0x29848a(0x267)])==null||_0x4a9678['call'](_0x1f6ec7,{'unitID':_0x3392a5,'memberID':_0x40d42f,'textRanges':_0x244c01}));}}[_0x40e481(0x2a6)](){var _0x5f2cd4=_0x40e481,_0x4ea446;(_0x4ea446=this[_0x5f2cd4(0x336)])==null||_0x4ea446[_0x5f2cd4(0x158)](this['unitID'],this[_0x5f2cd4(0x30d)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x39ed97=_0x40e481;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x39ed97(0x204)]);}[_0x40e481(0x128)](){var _0x5bd554=_0x40e481;this[_0x5bd554(0x18c)]['incrementRevOfUnit'](this[_0x5bd554(0x204)]);}['_executeRemoteChangeset'](_0x44fa61){var _0x5c359a=_0x40e481,_0x9ff35b;let _0x28187c=this[_0x5c359a(0x368)](_0x44fa61);_0x28187c=this[_0x5c359a(0x341)](_0x28187c);const _0x18ee79=_0x280d62(_0x28187c[_0x5c359a(0x24d)],this[_0x5c359a(0x197)],{'fromCollab':!0x0});if(!_0x18ee79[_0x5c359a(0x126)])throw _0x18ee79[_0x5c359a(0x30a)]instanceof Error?_0x18ee79['error']:new Error((_0x9ff35b=_0x18ee79['error'])!=null?_0x9ff35b:_0x5c359a(0x2ff));this['_transformIMECache'](_0x28187c),this['_transformStateCache'](_0x28187c),this['_transformUndoredo'](_0x44fa61),this[_0x5c359a(0x178)](_0x28187c),this[_0x5c359a(0x351)](_0x28187c),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x1cb355,_0x41b41d,_0x369306,_0x279b2f,_0x175805,_0x3f4e06,_0x542916,_0xce6cdd,_0x4945b3,_0x1e8d07){var _0x24cc00=_0x40e481;super(_0x1cb355,_0x41b41d,null,[],_0x369306,_0x542916,_0x3f4e06,_0x279b2f,_0x1e8d07),N(this,_0x24cc00(0x24b),_0x24cc00(0x2b1)),(this[_0x24cc00(0x2bb)]=_0x175805,this['_logService']=_0xce6cdd,this[_0x24cc00(0x1b5)]=_0x4945b3,this[_0x24cc00(0x381)]=_0x1e8d07);}[_0x40e481(0x34b)](_0x1b5d1c){var _0x3bde29=_0x40e481;const _0x336643=this['_injector'][_0x3bde29(0x3ae)](ae,this['unitID'],this[_0x3bde29(0x30d)],[_0x1b5d1c],this[_0x3bde29(0x3d4)]);return _0x336643['_schedule'](),_0x336643[_0x3bde29(0x2a6)](),_0x336643;}['onRemoteChangeset'](_0x2077b1){var _0x413b36=_0x40e481;if(this[_0x413b36(0x1e9)](_0x2077b1))return this[_0x413b36(0x2bb)]['createInstance'](ee,this[_0x413b36(0x204)],this[_0x413b36(0x30d)],null,[],null,[_0x2077b1],this[_0x413b36(0x3d4)]);try{const _0x5ad08c=this[_0x413b36(0x1b5)]['transformMutationsWithChangeset'](_0x2077b1,[ss]);if(_0x2f923c(_0x5ad08c)){const {c1Prime:_0x1ea827}=_0x5ad08c;return this['_executeRemoteChangeset'](_0x1ea827),this;}throw _0x5ad08c[_0x413b36(0x30a)];}catch(_0x51c8f7){return this[_0x413b36(0x13c)][_0x413b36(0x30a)](_0x51c8f7),this[_0x413b36(0x117)](!0x1);}}[_0x40e481(0x117)](_0x290eea){var _0x33272a=_0x40e481;return this['_injector'][_0x33272a(0x3ae)](ue,this[_0x33272a(0x204)],this[_0x33272a(0x30d)],null,[],this[_0x33272a(0x3d4)],_0x290eea);}[_0x40e481(0x256)](){var _0x3e3f61=_0x40e481;throw new Error(_0x3e3f61(0x35f));}[_0x40e481(0x2a5)](){var _0x4eeed9=_0x40e481;throw new Error(_0x4eeed9(0x283));}[_0x40e481(0x26c)](){return this;}[_0x40e481(0x3a8)](){var _0x8e3b34=_0x40e481;return this[_0x8e3b34(0x2bb)]['createInstance'](de,this['unitID'],this[_0x8e3b34(0x30d)],null,[],this[_0x8e3b34(0x3d4)]);}['toggleOnline'](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x40e481(0x253)](){var _0x522bb1=_0x40e481;const _0x1d1ca2=this[_0x522bb1(0x18c)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x522bb1(0x3d4)][_0x522bb1(0x2be)]({'from':_0x1d1ca2,'to':0x0}),this[_0x522bb1(0x2bb)][_0x522bb1(0x3ae)](ee,this[_0x522bb1(0x204)],this['type'],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x41febc(_0x1de1e7)),P(0x4,_0x41febc(_0x414ea7)),P(0x5,_0x47f0e4),P(0x6,_0x2f806f),P(0x7,_0xcdb88),P(0x8,_0x671f8c),P(0x9,_0x397f30(J))],Ne);let ae=class extends Ce{constructor(_0x309980,_0x243ba9,_0x36abaa,_0x355a05,_0x3ef100,_0x9b2b29,_0x4ec14c,_0x2574b0,_0x38b8ed,_0x316b91,_0x5a3afa,_0x10de2e,_0x20518a,_0x110a1d){var _0x5f53be=_0x40e481;super(_0x309980,_0x243ba9,null,_0x36abaa,_0x355a05,_0x38b8ed,_0x20518a,_0x9b2b29,_0x110a1d),N(this,_0x5f53be(0x24b),_0x5f53be(0x2a7)),N(this,_0x5f53be(0x3d5),null),N(this,_0x5f53be(0x2af),null),(this[_0x5f53be(0x2bb)]=_0x3ef100,this[_0x5f53be(0x33a)]=_0x4ec14c,this[_0x5f53be(0x13c)]=_0x2574b0,this[_0x5f53be(0x221)]=_0x316b91,this[_0x5f53be(0x1b5)]=_0x5a3afa,this[_0x5f53be(0x18b)]=_0x10de2e);}[_0x40e481(0x34b)](_0x499305){var _0x39f7b8=_0x40e481;return this['_pendingMutations']['push'](_0x499305),this[_0x39f7b8(0x2a6)](),this;}['onRemoteChangeset'](_0x216dee){var _0x588017=_0x40e481;if(this[_0x588017(0x1e9)](_0x216dee))return this['_clearScheduledTask'](),this[_0x588017(0x2bb)][_0x588017(0x3ae)](ee,this[_0x588017(0x204)],this[_0x588017(0x30d)],null,this['_pendingMutations'],null,[_0x216dee],this[_0x588017(0x3d4)]);try{const _0x11dc37=this['_transformService'][_0x588017(0x1dd)](_0x216dee,this[_0x588017(0x1d3)]);if(_0x2f923c(_0x11dc37)){const {c1Prime:_0x35b413,m2Prime:_0x3b3645}=_0x11dc37;this['_executeRemoteChangeset'](_0x35b413);const _0x351e89=this[_0x588017(0x2bb)][_0x588017(0x3ae)](ae,this['unitID'],this[_0x588017(0x30d)],_0x3b3645,this[_0x588017(0x3d4)]);this[_0x588017(0x2d3)]();const _0x103e43=new Date()[_0x588017(0x2dd)](),_0x41a58f=this[_0x588017(0x3d5)]?Math[_0x588017(0x209)](this[_0x588017(0x3d5)]-_0x103e43,0x0):this[_0x588017(0x1d9)]();return _0x351e89['_schedule'](_0x41a58f),_0x351e89;}throw _0x11dc37['error'];}catch(_0x1ad97e){return this[_0x588017(0x13c)]['error'](_0x1ad97e),this[_0x588017(0x117)](!0x1);}}['onRemoteAck'](){var _0x33462b=_0x40e481;throw new Error(_0x33462b(0x1a0));}[_0x40e481(0x2a5)](){var _0x2b75b7=_0x40e481;throw new Error(_0x2b75b7(0x2ba));}[_0x40e481(0x26c)](){return this;}[_0x40e481(0x3a8)](){var _0x5332ec=_0x40e481;return this[_0x5332ec(0x2d3)](),this[_0x5332ec(0x2bb)][_0x5332ec(0x3ae)](de,this[_0x5332ec(0x204)],this[_0x5332ec(0x30d)],null,this[_0x5332ec(0x1d3)],this['_handler']);}['toggleOnline'](){return this;}[_0x40e481(0x3a7)](_0x8730cf){var _0x2c79f2=_0x40e481;const _0x191db4=_0x8730cf!=null?_0x8730cf:this['_getSendChangesetTimeout']();this[_0x2c79f2(0x3d5)]=new Date()[_0x2c79f2(0x2dd)]()+_0x191db4,this[_0x2c79f2(0x2af)]=setTimeout(()=>{var _0xe10844=_0x2c79f2;this['_clearScheduledTask']();let _0x47cb36=null;switch(this[_0xe10844(0x30d)]){case Q['UNIVER_SHEET']:{_0x47cb36=qt(this['_pendingMutations'],this[_0xe10844(0x204)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}case Q[_0xe10844(0x316)]:{this['_pendingMutations'][_0xe10844(0x286)](_0x2cac4d=>_0x2cac4d['id']===_0x3a29dc['id'])?_0x47cb36=ns(this[_0xe10844(0x1d3)],this[_0xe10844(0x204)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x47cb36=qt(this['_pendingMutations'],this[_0xe10844(0x204)],this[_0xe10844(0x18b)],this['_revisionService'],this[_0xe10844(0x33a)]);break;}default:throw new Error(_0xe10844(0x300)+this['type']+_0xe10844(0x144));}const {changeset:_0xd32df0,pendingMutations:_0x1409e9}=_0x47cb36;this['_handler'][_0xe10844(0x25b)](_0xd32df0);const _0x36295f=_0x1409e9[_0xe10844(0x299)]?this[_0xe10844(0x2bb)][_0xe10844(0x3ae)](oe,this[_0xe10844(0x204)],this[_0xe10844(0x30d)],_0xd32df0,_0x1409e9,this[_0xe10844(0x3d4)],void 0x0):this['_injector'][_0xe10844(0x3ae)](le,this['unitID'],this[_0xe10844(0x30d)],_0xd32df0,this[_0xe10844(0x3d4)]);_0x36295f[_0xe10844(0x2a6)](),this[_0xe10844(0x3d4)]['onStateChange'](this,_0x36295f);},_0x191db4);}[_0x40e481(0x1d9)](){var _0x284b33=_0x40e481,_0x5d47ac;const _0x2b311a=this['_configService'][_0x284b33(0x3da)](q);return(_0x5d47ac=_0x2b311a==null?void 0x0:_0x2b311a[_0x284b33(0x23e)])!=null?_0x5d47ac:En;}[_0x40e481(0x301)](){var _0x40325f=_0x40e481;throw new Error(_0x40325f(0x1ed));}[_0x40e481(0x2d3)](){var _0x270ba1=_0x40e481;this[_0x270ba1(0x2af)]!=null&&(clearTimeout(this[_0x270ba1(0x2af)]),this['_sendingTimer']=null);}[_0x40e481(0x117)](_0x29300e){var _0x3fc240=_0x40e481;return this[_0x3fc240(0x2d3)](),this[_0x3fc240(0x2bb)]['createInstance'](ue,this['unitID'],this['type'],null,this[_0x3fc240(0x1d3)],this['_handler'],_0x29300e);}};ae=Te([P(0x4,_0x41febc(_0x414ea7)),P(0x5,_0x41febc(_0x1de1e7)),P(0x6,_0x41febc(Le)),P(0x7,_0xcdb88),P(0x8,_0x2f806f),P(0x9,_0x1356ee),P(0xa,_0x671f8c),P(0xb,_0x26a8c2),P(0xc,_0x47f0e4),P(0xd,_0x397f30(J))],ae);let le=class extends Ce{constructor(_0x4ebb80,_0x56c2d4,_0x38aaa1,_0x3b869c,_0x29f84e,_0x5ace40,_0xa6b651,_0x3bc0ae,_0x82e099,_0x1a564c,_0x33380c){var _0x324ac7=_0x40e481;super(_0x4ebb80,_0x56c2d4,_0x38aaa1,[],_0x3b869c,_0xa6b651,_0x1a564c,_0x5ace40,_0x33380c),N(this,'status',_0x324ac7(0x2cb)),N(this,'_resendTimeout',0x0),N(this,_0x324ac7(0x2fb)),N(this,_0x324ac7(0x337)),(this['_injector']=_0x29f84e,this[_0x324ac7(0x13c)]=_0x3bc0ae,this[_0x324ac7(0x1b5)]=_0x82e099);}[_0x40e481(0x34b)](_0xfce8a5){var _0x58f26f=_0x40e481;this[_0x58f26f(0x2d3)]();const _0x2c09f0=this[_0x58f26f(0x2bb)]['createInstance'](oe,this['unitID'],this[_0x58f26f(0x30d)],this[_0x58f26f(0x2e1)],[_0xfce8a5],this[_0x58f26f(0x3d4)],this[_0x58f26f(0x2fb)]);return _0x2c09f0[_0x58f26f(0x2a6)](),_0x2c09f0;}[_0x40e481(0x265)](_0x1be1b6){var _0x4959af=_0x40e481;if(this[_0x4959af(0x1e9)](_0x1be1b6))return this[_0x4959af(0x2d3)](),this[_0x4959af(0x2bb)][_0x4959af(0x3ae)](ee,this[_0x4959af(0x204)],this[_0x4959af(0x30d)],this[_0x4959af(0x2e1)],[],null,[_0x1be1b6],this[_0x4959af(0x3d4)]);try{const _0x18d5b6=this['_transformService']['transformChangesets']([_0x1be1b6],[this[_0x4959af(0x2e1)]],!0x1);if(_0x40f543(_0x18d5b6)){const {c1Prime:_0x40cd69,c2Prime:_0x153de9}=_0x18d5b6;this['_executeRemoteChangeset'](_0x40cd69[0x0]),_0x153de9[0x0][_0x4959af(0x295)]=this[_0x4959af(0x100)](),this[_0x4959af(0x2d3)]();const _0x51df39=this['_injector']['createInstance'](le,this[_0x4959af(0x204)],this[_0x4959af(0x30d)],_0x153de9[0x0],this[_0x4959af(0x3d4)]);return _0x51df39[_0x4959af(0x2a6)](),_0x51df39;}return this[_0x4959af(0x117)](!0x1);}catch(_0x55b09a){return this['_logService'][_0x4959af(0x30a)](_0x55b09a),this[_0x4959af(0x117)](!0x1);}}[_0x40e481(0x256)](_0x3a3336){var _0x560491=_0x40e481;this[_0x560491(0x2d3)]();const _0x2474fa=this[_0x560491(0x18c)][_0x560491(0x125)](this[_0x560491(0x204)]);if(_0x3a3336['revision']<_0x2474fa-0x1)return this;if(this[_0x560491(0x1e9)](_0x3a3336))return this[_0x560491(0x2bb)][_0x560491(0x3ae)](ee,this[_0x560491(0x204)],this[_0x560491(0x30d)],null,[],this[_0x560491(0x2e1)],[],this[_0x560491(0x3d4)]);this[_0x560491(0x128)]();const _0x1c360e=this['_injector'][_0x560491(0x3ae)](Ne,this[_0x560491(0x204)],this['type'],this['_handler']);return _0x1c360e[_0x560491(0x2a6)](),_0x1c360e;}[_0x40e481(0x2a5)](_0x31b9ec){var _0x56eb15=_0x40e481;return this[_0x56eb15(0x117)](!!(_0x31b9ec!=null&&_0x31b9ec[_0x56eb15(0x3b7)]));}[_0x40e481(0x26c)](_0xe7bad0){var _0x313c3e=_0x40e481;return this[_0x313c3e(0x224)]>yi?this[_0x313c3e(0x3a8)]():(this[_0x313c3e(0x2fb)]=Ri(this[_0x313c3e(0x224)],{'timeout':this[_0x313c3e(0x224)],'reqId':_0xe7bad0[_0x313c3e(0x369)]}),this[_0x313c3e(0x337)]=this[_0x313c3e(0x2fb)][_0x313c3e(0x38c)](({reqId:_0x1c36c7,timeout:_0x5e5b53})=>{this['_resendWithTimeout'](_0x1c36c7,_0x5e5b53);}),this);}[_0x40e481(0x3a8)](){var _0x11eda7=_0x40e481;return this[_0x11eda7(0x2d3)](),this[_0x11eda7(0x2bb)]['createInstance'](de,this['unitID'],this[_0x11eda7(0x30d)],this[_0x11eda7(0x2e1)],[],this[_0x11eda7(0x3d4)]);}[_0x40e481(0x206)](){return this;}[_0x40e481(0x301)](){var _0x1cd45e=_0x40e481;this[_0x1cd45e(0x3d4)][_0x1cd45e(0x25b)](this[_0x1cd45e(0x2e1)]);}['_onConflict'](_0x15490c){var _0x2c1e7a=_0x40e481;return this[_0x2c1e7a(0x2d3)](),this['_injector'][_0x2c1e7a(0x3ae)](ue,this['unitID'],this[_0x2c1e7a(0x30d)],this[_0x2c1e7a(0x2e1)],[],this['_handler'],_0x15490c);}['_resendWithTimeout'](_0x39c471,_0x4e6d8a){var _0x44ee2b=_0x40e481,_0x3d753c;_0x39c471===((_0x3d753c=this['_awaitingChangeset'])==null?void 0x0:_0x3d753c[_0x44ee2b(0x369)])&&(this['resend'](),this[_0x44ee2b(0x224)]=_0x4e6d8a===0x0?0x3e8:_0x4e6d8a*0x2);}[_0x40e481(0x2d3)](){var _0x2f328b=_0x40e481,_0x3ef5e6;(_0x3ef5e6=this[_0x2f328b(0x337)])==null||_0x3ef5e6['unsubscribe'](),this[_0x2f328b(0x224)]=0x0;}};le=Te([P(0x4,_0x41febc(_0x414ea7)),P(0x5,_0x41febc(_0x1de1e7)),P(0x6,_0x2f806f),P(0x7,_0xcdb88),P(0x8,_0x671f8c),P(0x9,_0x47f0e4),P(0xa,_0x397f30(J))],le);let oe=class extends Ce{constructor(_0x38b158,_0x2ca6c0,_0x3d8ee4,_0x400dfa,_0x46eab9,_0xf19680,_0x4b623f,_0x203e40,_0xbb4f90,_0x3c31ca,_0x4d84ab,_0xfe6f59,_0x3da3df){var _0x3da8f4=_0x40e481;super(_0x38b158,_0x2ca6c0,_0x3d8ee4,_0x400dfa,_0x46eab9,_0xbb4f90,_0xfe6f59,_0x203e40,_0x3da3df),N(this,'status',_0x3da8f4(0x1cf)),N(this,_0x3da8f4(0x224),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x3da8f4(0x2bb)]=_0x4b623f,this[_0x3da8f4(0x13c)]=_0x3c31ca,this[_0x3da8f4(0x1b5)]=_0x4d84ab,this['localCacheService']=_0x3da3df,_0xf19680&&(this[_0x3da8f4(0x2fb)]=_0xf19680,this[_0x3da8f4(0x337)]=this[_0x3da8f4(0x2fb)][_0x3da8f4(0x38c)](({reqId:_0x438420,timeout:_0x9f4ff6})=>{var _0x2852bd=_0x3da8f4;this[_0x2852bd(0x17a)](_0x438420,_0x9f4ff6);})));}[_0x40e481(0x34b)](_0x27b473){var _0x4dfcc2=_0x40e481;return this[_0x4dfcc2(0x1d3)][_0x4dfcc2(0xeb)](_0x27b473),this;}[_0x40e481(0x265)](_0x8071e){var _0x1047ff=_0x40e481;if(this['_checkMissing'](_0x8071e))return this[_0x1047ff(0x2d3)](),this[_0x1047ff(0x2bb)][_0x1047ff(0x3ae)](ee,this[_0x1047ff(0x204)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x8071e],this[_0x1047ff(0x3d4)]);try{const _0x2386ff=this[_0x1047ff(0x1b5)][_0x1047ff(0x364)]([_0x8071e],[this['_awaitingChangeset']],!0x1);if(_0x40f543(_0x2386ff)){const {c1Prime:_0x28f065,c2Prime:_0x16592c}=_0x2386ff,_0x2fa20b=this[_0x1047ff(0x1b5)][_0x1047ff(0x1dd)](_0x28f065[0x0],this[_0x1047ff(0x1d3)]);if(_0x2f923c(_0x2fa20b)){const {c1Prime:_0x53a56c,m2Prime:_0x1f4dfb}=_0x2fa20b;return this[_0x1047ff(0x23c)](_0x53a56c),_0x16592c[0x0][_0x1047ff(0x295)]=this['_getCurrentRevision'](),this[_0x1047ff(0x2d3)](),this[_0x1047ff(0x2bb)][_0x1047ff(0x3ae)](oe,this[_0x1047ff(0x204)],this[_0x1047ff(0x30d)],_0x16592c[0x0],_0x1f4dfb,this[_0x1047ff(0x3d4)],void 0x0);}throw _0x2fa20b[_0x1047ff(0x30a)];}throw _0x2386ff[_0x1047ff(0x30a)];}catch(_0x12eda2){return this[_0x1047ff(0x13c)][_0x1047ff(0x30a)](_0x12eda2),this[_0x1047ff(0x117)](!0x1);}}[_0x40e481(0x256)](_0x28f127){var _0x1f9e98=_0x40e481;if(this['_clearScheduledTask'](),this[_0x1f9e98(0x1e9)](_0x28f127))return this['_injector'][_0x1f9e98(0x3ae)](ee,this[_0x1f9e98(0x204)],this[_0x1f9e98(0x30d)],null,this[_0x1f9e98(0x1d3)],this[_0x1f9e98(0x2e1)],[],this[_0x1f9e98(0x3d4)]);this[_0x1f9e98(0x128)]();const _0x83960b=this['_injector'][_0x1f9e98(0x3ae)](ae,this[_0x1f9e98(0x204)],this[_0x1f9e98(0x30d)],this['_pendingMutations'],this[_0x1f9e98(0x3d4)]);return _0x83960b['_schedule'](),_0x83960b[_0x1f9e98(0x2a6)](),_0x83960b;}[_0x40e481(0x2a5)](_0x2a83d6){var _0x3309a0=_0x40e481;return this[_0x3309a0(0x117)](!!(_0x2a83d6!=null&&_0x2a83d6[_0x3309a0(0x3b7)]));}[_0x40e481(0x26c)](_0x5c5d5e){var _0x55d1d3=_0x40e481;return this[_0x55d1d3(0x224)]>yi?this[_0x55d1d3(0x3a8)]():(this[_0x55d1d3(0x2fb)]=Ri(this[_0x55d1d3(0x224)],{'timeout':this[_0x55d1d3(0x224)],'reqId':_0x5c5d5e[_0x55d1d3(0x369)]}),this[_0x55d1d3(0x337)]=this[_0x55d1d3(0x2fb)]['subscribe'](({reqId:_0x448b22,timeout:_0x369d8d})=>{var _0x22a886=_0x55d1d3;this[_0x22a886(0x17a)](_0x448b22,_0x369d8d);}),this);}[_0x40e481(0x3a8)](){var _0x1c6ad4=_0x40e481;return this['_clearScheduledTask'](),this[_0x1c6ad4(0x2bb)][_0x1c6ad4(0x3ae)](de,this[_0x1c6ad4(0x204)],this[_0x1c6ad4(0x30d)],this['_awaitingChangeset'],this[_0x1c6ad4(0x1d3)],this[_0x1c6ad4(0x3d4)]);}[_0x40e481(0x206)](){return this;}['resend'](){var _0x11ff7f=_0x40e481;this[_0x11ff7f(0x3d4)][_0x11ff7f(0x25b)](this[_0x11ff7f(0x2e1)]);}[_0x40e481(0x117)](_0x2a8185){var _0x17e976=_0x40e481;return this['_clearScheduledTask'](),this[_0x17e976(0x2bb)]['createInstance'](ue,this[_0x17e976(0x204)],this[_0x17e976(0x30d)],null,this[_0x17e976(0x1d3)],this[_0x17e976(0x3d4)],_0x2a8185);}[_0x40e481(0x17a)](_0x211819,_0x1433e6){var _0x58dfec=_0x40e481,_0xecf135;_0x211819===((_0xecf135=this[_0x58dfec(0x2e1)])==null?void 0x0:_0xecf135[_0x58dfec(0x369)])&&(this[_0x58dfec(0x301)](),this[_0x58dfec(0x224)]=_0x1433e6===0x0?0x3e8:_0x1433e6*0x2);}['_clearScheduledTask'](){var _0x5955dd=_0x40e481,_0x361bb2;(_0x361bb2=this[_0x5955dd(0x337)])==null||_0x361bb2[_0x5955dd(0x1e6)](),this[_0x5955dd(0x224)]=0x0;}};oe=Te([P(0x6,_0x41febc(_0x414ea7)),P(0x7,_0x41febc(_0x1de1e7)),P(0x8,_0x2f806f),P(0x9,_0xcdb88),P(0xa,_0x671f8c),P(0xb,_0x47f0e4),P(0xc,_0x397f30(J))],oe);let ue=class extends Ce{constructor(_0x18aa76,_0x21a490,_0x41fcc9,_0x20d2b1,_0x3ce0bc,_0x16d645=!0x1,_0x41f1db,_0x78da1e,_0x3374ad,_0x259061,_0x1d1f77,_0x5dc410,_0x5da5c6){var _0x571738=_0x40e481;super(_0x18aa76,_0x21a490,_0x41fcc9,_0x20d2b1,_0x3ce0bc,_0x78da1e,_0x3374ad,_0x259061,_0x5da5c6),N(this,_0x571738(0x24b),_0x571738(0x34f)),(this[_0x571738(0x277)]=_0x16d645,this[_0x571738(0x308)]=_0x41f1db,this[_0x571738(0x375)]=_0x1d1f77,this['_collaborationUIEventService']=_0x5dc410,this[_0x571738(0x381)]=_0x5da5c6,this[_0x571738(0x33d)](),this[_0x571738(0x35e)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x40e481(0x265)](){return this;}[_0x40e481(0x256)](){return this;}['onRemoteRej'](){return this;}[_0x40e481(0x26c)](){return this;}['toggleOffline'](){return this;}[_0x40e481(0x206)](){return this;}[_0x40e481(0x301)](){var _0x1855d8=_0x40e481;throw new Error(_0x1855d8(0x34a));}['_clearLocalCache'](){var _0x589e3b=_0x40e481,_0x2a9f23;(_0x2a9f23=this['_localCacheService'])==null||_0x2a9f23[_0x589e3b(0x158)](this[_0x589e3b(0x204)],this['type'],null,[]);}['_showConflictNotification'](){var _0x1a5027=_0x40e481;this[_0x1a5027(0x277)]?this[_0x1a5027(0x3df)][_0x1a5027(0x258)]({'id':re['PERMISSION_DENIED']}):this['_collaborationUIEventService']['emitEvent']({'id':re[_0x1a5027(0x282)]});}['_disableEditing'](){var _0x2fb860=_0x40e481;this[_0x2fb860(0x308)][_0x2fb860(0x2bd)](new _0x4d71f4(this[_0x2fb860(0x204)])['id'],!0x1);}};ue=Te([P(0x6,_0x41febc(_0x372d75)),P(0x7,_0x2f806f),P(0x8,_0x47f0e4),P(0x9,_0x41febc(_0x1de1e7)),P(0xa,_0x41febc(_0x5ceb9f)),P(0xb,_0x41febc(pe)),P(0xc,_0x397f30(J))],ue);let de=class extends Ce{constructor(_0xb21e47,_0x11584f,_0x492521,_0x5791a4,_0x27825e,_0x4e4c85,_0x218efb,_0x5603d2,_0x3c203b,_0x27a2f5){var _0x50b24f=_0x40e481;super(_0xb21e47,_0x11584f,_0x492521,_0x5791a4,_0x27825e,_0x5603d2,_0x3c203b,_0x218efb,_0x27a2f5),N(this,'status',_0x50b24f(0x296)),this[_0x50b24f(0x2bb)]=_0x4e4c85;}[_0x40e481(0x34b)](_0x3d0508){var _0x291659=_0x40e481;return this[_0x291659(0x1d3)][_0x291659(0xeb)](_0x3d0508),this[_0x291659(0x2a6)](),this;}[_0x40e481(0x265)](_0x2883a4){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x40e481(0x256)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x40e481(0x26c)](){return this;}[_0x40e481(0x3a8)](){return this;}[_0x40e481(0x206)](){var _0x18118d=_0x40e481;const {_injector:_0x3a97a7,_pendingMutations:_0x29567b,_awaitingChangeset:_0x1c1c2c,unitID:_0x55b98a,_handler:_0x5003b2,type:_0x12ed7e}=this,_0x364206=Oi(_0x3a97a7,_0x55b98a,_0x12ed7e,_0x1c1c2c,_0x29567b,_0x5003b2);return _0x364206 instanceof ae?_0x364206[_0x18118d(0x3a7)]():(_0x364206 instanceof oe||_0x364206 instanceof le)&&_0x364206[_0x18118d(0x301)](),_0x364206;}[_0x40e481(0x301)](){var _0x3d2c9b=_0x40e481;throw new Error(_0x3d2c9b(0x378));}};de=Te([P(0x5,_0x41febc(_0x414ea7)),P(0x6,_0x41febc(_0x1de1e7)),P(0x7,_0x2f806f),P(0x8,_0x47f0e4),P(0x9,_0x397f30(J))],de);let ee=class extends Ce{constructor(_0x2ce56d,_0xf54ddd,_0x27a92f,_0x4c577c,_0x2ff708,_0x432a23,_0x19a3b0,_0x16766e,_0x166168,_0x493fdf,_0x56dba5,_0x5ee94c,_0x549186,_0x5e30d1){var _0x318647=_0x40e481;super(_0x2ce56d,_0xf54ddd,_0x27a92f,_0x4c577c,_0x19a3b0,_0x56dba5,_0x5ee94c,_0x166168,_0x5e30d1),N(this,_0x318647(0x24b),_0x318647(0x161)),(this['_acknowledgedAwaitingChangeset']=_0x2ff708,this[_0x318647(0x1c5)]=_0x432a23,this['_injector']=_0x16766e,this[_0x318647(0x13c)]=_0x493fdf,this[_0x318647(0x1b5)]=_0x549186,this[_0x318647(0x381)]=_0x5e30d1);}[_0x40e481(0x101)](_0x2d23a3){var _0x40d9c7=_0x40e481;try{const _0x35538c=[..._0x2d23a3,...this[_0x40d9c7(0x1c5)]],_0x3faf0b=[this[_0x40d9c7(0x2e1)]||this[_0x40d9c7(0x179)]][_0x40d9c7(0xf0)](_0x5eb695=>!!_0x5eb695);let _0x433542,_0x1b0927;if(_0x3faf0b[_0x40d9c7(0x299)]){const _0x48bcdc=this[_0x40d9c7(0x1b5)][_0x40d9c7(0x364)](_0x35538c,_0x3faf0b,!0x1);if(!_0x40f543(_0x48bcdc))throw _0x48bcdc[_0x40d9c7(0x30a)];_0x433542=_0x48bcdc[_0x40d9c7(0x36b)],_0x1b0927=_0x48bcdc['c2Prime'];}else _0x433542=_0x35538c,_0x1b0927=[];let _0x21133a=this[_0x40d9c7(0x1d3)];_0x433542[_0x40d9c7(0x109)](_0x1093ce=>{var _0x29d088=_0x40d9c7;let _0xf6769;if(_0x21133a[_0x29d088(0x299)]){const _0x4f8aad=this[_0x29d088(0x1b5)][_0x29d088(0x1dd)](_0x1093ce,_0x21133a);if(!_0x2f923c(_0x4f8aad))throw _0x4f8aad[_0x29d088(0x30a)];_0xf6769=_0x4f8aad[_0x29d088(0x36b)],_0x21133a=_0x4f8aad['m2Prime'];}else _0xf6769=_0x1093ce;this['_executeRemoteChangeset'](_0xf6769);}),this[_0x40d9c7(0x179)]&&this[_0x40d9c7(0x128)](),this['_awaitingChangeset']&&_0x1b0927['length']&&(_0x1b0927[0x0]['baseRev']=this[_0x40d9c7(0x100)]());let _0x1a5993;if(this[_0x40d9c7(0x2e1)]&&_0x21133a[_0x40d9c7(0x299)]!==0x0)_0x1a5993=this[_0x40d9c7(0x2bb)][_0x40d9c7(0x3ae)](oe,this['unitID'],this[_0x40d9c7(0x30d)],_0x1b0927[0x0],_0x21133a,this[_0x40d9c7(0x3d4)],void 0x0);else{if(this['_awaitingChangeset']&&_0x21133a['length']===0x0)_0x1b0927[0x0][_0x40d9c7(0x295)]=this[_0x40d9c7(0x100)](),_0x1a5993=this[_0x40d9c7(0x2bb)][_0x40d9c7(0x3ae)](le,this[_0x40d9c7(0x204)],this['type'],_0x1b0927[0x0],this['_handler']);else{if(_0x21133a[_0x40d9c7(0x299)]!==0x0){const _0x3659af=this[_0x40d9c7(0x2bb)][_0x40d9c7(0x3ae)](ae,this[_0x40d9c7(0x204)],this['type'],_0x21133a,this[_0x40d9c7(0x3d4)]);_0x3659af[_0x40d9c7(0x3a7)](),_0x1a5993=_0x3659af;}else _0x1a5993=this[_0x40d9c7(0x2bb)][_0x40d9c7(0x3ae)](Ne,this[_0x40d9c7(0x204)],this['type'],this['_handler']);}}return _0x1a5993[_0x40d9c7(0x2a6)](),_0x1a5993;}catch(_0x511ec8){return this['_logService'][_0x40d9c7(0x30a)](_0x40d9c7(0x3e1),_0x40d9c7(0x2fa),_0x511ec8),this['_injector'][_0x40d9c7(0x3ae)](ue,this[_0x40d9c7(0x204)],this[_0x40d9c7(0x30d)],this[_0x40d9c7(0x2e1)],this[_0x40d9c7(0x1d3)],this[_0x40d9c7(0x3d4)],!0x1);}}[_0x40e481(0x301)](){var _0x55a97e=_0x40e481;throw new Error(_0x55a97e(0x3c4));}[_0x40e481(0x34b)](_0xa7cf3e){var _0x3432b0=_0x40e481;return this[_0x3432b0(0x1d3)][_0x3432b0(0xeb)](_0xa7cf3e),this;}[_0x40e481(0x265)](_0xedf61){var _0x565a85=_0x40e481;return this[_0x565a85(0x1c5)][_0x565a85(0xeb)](_0xedf61),this;}[_0x40e481(0x256)](_0x2467d5){var _0x427330=_0x40e481;if(this[_0x427330(0x2e1)])return this[_0x427330(0x179)]=this[_0x427330(0x2e1)],this[_0x427330(0x2e1)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x40e481(0x2a5)](_0x46fb3e){var _0xd0157a=_0x40e481;return this[_0xd0157a(0x117)](!!(_0x46fb3e!=null&&_0x46fb3e[_0xd0157a(0x3b7)]));}[_0x40e481(0x26c)](){return this;}[_0x40e481(0x3a8)](){var _0x5a3465=_0x40e481;return this[_0x5a3465(0x2bb)]['createInstance'](de,this[_0x5a3465(0x204)],this[_0x5a3465(0x30d)],this['_awaitingChangeset'],this[_0x5a3465(0x1d3)],this[_0x5a3465(0x3d4)]);}['toggleOnline'](){return this;}[_0x40e481(0x117)](_0x524e09){var _0x1d2ca8=_0x40e481;return this[_0x1d2ca8(0x2bb)][_0x1d2ca8(0x3ae)](ue,this[_0x1d2ca8(0x204)],this[_0x1d2ca8(0x30d)],this[_0x1d2ca8(0x2e1)],this[_0x1d2ca8(0x1d3)],this[_0x1d2ca8(0x3d4)],_0x524e09);}};ee=Te([P(0x7,_0x41febc(_0x414ea7)),P(0x8,_0x41febc(_0x1de1e7)),P(0x9,_0xcdb88),P(0xa,_0x2f806f),P(0xb,_0x47f0e4),P(0xc,_0x671f8c),P(0xd,_0x397f30(J))],ee);function Oi(_0x396bfb,_0x35cc3b,_0x50e75a,_0x11e2c2,_0x48f136,_0xea1975){var _0x198d8e=_0x40e481;return _0x11e2c2&&_0x48f136[_0x198d8e(0x299)]?_0x396bfb[_0x198d8e(0x3ae)](oe,_0x35cc3b,_0x50e75a,_0x11e2c2,_0x48f136,_0xea1975,void 0x0):_0x11e2c2?_0x396bfb[_0x198d8e(0x3ae)](le,_0x35cc3b,_0x50e75a,_0x11e2c2,_0xea1975):_0x48f136[_0x198d8e(0x299)]?_0x396bfb['createInstance'](ae,_0x35cc3b,_0x50e75a,_0x48f136,_0xea1975):_0x396bfb[_0x198d8e(0x3ae)](Ne,_0x35cc3b,_0x50e75a,_0xea1975);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x287232,_0x47bc87,_0x30e174,_0x19a31f)=>{var _0x1f1013=_0x40e481;for(var _0x3de359=_0x19a31f>0x1?void 0x0:_0x19a31f?as(_0x47bc87,_0x30e174):_0x47bc87,_0x54f693=_0x287232[_0x1f1013(0x299)]-0x1,_0x1c7e9f;_0x54f693>=0x0;_0x54f693--)(_0x1c7e9f=_0x287232[_0x54f693])&&(_0x3de359=_0x1c7e9f(_0x3de359)||_0x3de359);return _0x3de359;},H=(_0x548d2e,_0x30990d)=>(_0x5075ce,_0x56cd68)=>_0x30990d(_0x5075ce,_0x56cd68,_0x548d2e);let nt=class extends _0x2dee07{constructor(_0xbe06db,_0x4b21d7,_0x227bf4,_0x5ca5a6,_0x583af5,_0x3a2d55,_0x1ac6c1,_0x5ef5ee,_0x4ce822,_0x48226f,_0x322f09,_0x1e5903,_0x5d1126){var _0x4f2f20=_0x40e481;super(),N(this,_0x4f2f20(0x38f),new _0x21691d(null)),N(this,_0x4f2f20(0x396),this[_0x4f2f20(0x38f)][_0x4f2f20(0x1b9)]()),N(this,_0x4f2f20(0x2c4)),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x4f2f20(0x31c),0x0),N(this,_0x4f2f20(0x268),this[_0x4f2f20(0x396)][_0x4f2f20(0x30c)](_0x5f33f7(_0x35aa52=>_0x35aa52?_0x35aa52[_0x4f2f20(0x24b)]:bi['OFFLINE']),_0x8c0763(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x4f2f20(0x33e),[]),(this[_0x4f2f20(0x204)]=_0xbe06db,this['session']=_0x4b21d7,this[_0x4f2f20(0x1e8)]=_0x227bf4,this['_injector']=_0x5ca5a6,this[_0x4f2f20(0x191)]=_0x583af5,this[_0x4f2f20(0x375)]=_0x3a2d55,this[_0x4f2f20(0x18c)]=_0x1ac6c1,this['_eventService']=_0x5ef5ee,this[_0x4f2f20(0x13c)]=_0x4ce822,this[_0x4f2f20(0x197)]=_0x48226f,this['_permissionService']=_0x322f09,this[_0x4f2f20(0x13f)]=_0x1e5903,this['_localCacheService']=_0x5d1126);}get[_0x40e481(0x181)](){return this['_state'];}async[_0x40e481(0x127)](){var _0x2fa0cb=_0x40e481;if(this[_0x2fa0cb(0x181)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x2fa0cb(0x2a3)]();}[_0x40e481(0x174)](){var _0x287ce3=_0x40e481;return this[_0x287ce3(0x227)]=!0x0,_0x2c0721(()=>{var _0x2d37ee=_0x287ce3;this[_0x2d37ee(0x227)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x40e481(0x20d)](_0x1506ce){var _0x2b7349=_0x40e481;this[_0x2b7349(0xf5)](_0x1506ce);}['_updateState'](_0x2fca44){var _0x1b5c4e=_0x40e481;this[_0x1b5c4e(0x2c4)]=_0x2fca44,this[_0x1b5c4e(0x38f)][_0x1b5c4e(0x377)](_0x2fca44);}async[_0x40e481(0x2a3)](){var _0x3320fd=_0x40e481,_0x242785;this[_0x3320fd(0x3cb)](await this[_0x3320fd(0x188)]()),this[_0x3320fd(0x13f)]&&((_0x242785=this[_0x3320fd(0x13f)])==null||_0x242785[_0x3320fd(0x394)](this[_0x3320fd(0x204)]),this[_0x3320fd(0x3aa)](this['_singleActiveUnitService'][_0x3320fd(0x29f)](this[_0x3320fd(0x204)])[_0x3320fd(0x38c)](_0x375c7f=>{var _0x339800=_0x3320fd;this['_logService'][_0x339800(0x21c)](_0x339800(0x110),_0x339800(0x2f8),_0x375c7f),_0x375c7f===Ci[_0x339800(0x31a)]?(this['_eventService'][_0x339800(0x258)]({'id':re[_0x339800(0x2b2)]}),this[_0x339800(0x308)]['updatePermissionPoint'](new _0x4d71f4(this['unitID'])['id'],!0x1),this['_permissionService'][_0x339800(0x147)](!0x1)):(this[_0x339800(0x308)][_0x339800(0x2bd)](new _0x4d71f4(this['unitID'])['id'],!0x0),this[_0x339800(0x308)][_0x339800(0x147)](!0x0));})));let _0x3d4cce=!0x1;return this[_0x3320fd(0x3aa)](this[_0x3320fd(0x244)][_0x3320fd(0x250)][_0x3320fd(0x38c)](_0x527dde=>{var _0x4d2127=_0x3320fd;_0x527dde===Ee[_0x4d2127(0x2e6)]?this[_0x4d2127(0xe5)](_0x3d4cce):_0x527dde===Ee['OFFLINE']&&(_0x3d4cce=!0x0,this[_0x4d2127(0x124)]());})),this[_0x3320fd(0x3aa)](this['session'][_0x3320fd(0x263)][_0x3320fd(0x38c)](_0x1d1041=>{var _0x5c09cd=_0x3320fd;try{switch(_0x1d1041[_0x5c09cd(0x24c)]){case _0x3c9809['NEW_CHANGESETS']:{this[_0x5c09cd(0x3b6)](_0x28e2c6(_0x1d1041[_0x5c09cd(0x3a1)]));break;}case _0x3c9809[_0x5c09cd(0x219)]:{this[_0x5c09cd(0x189)](_0x1d1041[_0x5c09cd(0x3a1)]);break;}case _0x3c9809[_0x5c09cd(0x116)]:{this[_0x5c09cd(0x32a)]();break;}case _0x3c9809[_0x5c09cd(0x262)]:{this[_0x5c09cd(0x14d)](_0x1d1041['data']);break;}case _0x3c9809[_0x5c09cd(0x3bf)]:{this[_0x5c09cd(0x212)](_0x1d1041['data']['changesets']['map'](_0x4787ca=>_0x28e2c6(_0x4787ca)));break;}case _0x3c9809[_0x5c09cd(0x213)]:{this[_0x5c09cd(0x32a)]({'isPermissionRej':!0x0});break;}case _0x3c9809[_0x5c09cd(0x214)]:break;}}catch(_0x238299){throw console[_0x5c09cd(0x30a)](_0x5c09cd(0x330),_0x238299),_0x238299;}})),this['_state'];}[_0x40e481(0x34c)](){var _0xecf0d3=_0x40e481;this[_0xecf0d3(0xf3)]=!0x1;}[_0x40e481(0x307)](){var _0x5b713b=_0x40e481;if(this[_0x5b713b(0xf3)])throw new Error(_0x5b713b(0x273));this[_0x5b713b(0xf3)]=!0x0;}['_onLocalMutation'](_0x5e62a0){var _0x38e1a0=_0x40e481;this['_lockTransition'](),this[_0x38e1a0(0x3cb)](this[_0x38e1a0(0x2c4)]['appendMutation'](_0x5e62a0)),this[_0x38e1a0(0x34c)]();}['_onRemoteChangeset'](_0x2752bd){var _0x573cd3=_0x40e481;if(!(_0x2752bd[_0x573cd3(0x1e5)]<=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x573cd3(0x227)]){this['_remoteChangesetQueue'][_0x573cd3(0xeb)](_0x2752bd);return;}this[_0x573cd3(0x13d)](_0x2752bd);}}[_0x40e481(0x257)](){var _0x5642b7=_0x40e481;this['_remoteChangesetQueue']['forEach'](_0x1d4009=>this[_0x5642b7(0x13d)](_0x1d4009)),this[_0x5642b7(0x33e)]=[];}[_0x40e481(0x13d)](_0x344286){var _0x3d29fc=_0x40e481;const _0x28e52f=this[_0x3d29fc(0x191)]['interceptor'][_0x3d29fc(0x2d5)](this[_0x3d29fc(0x191)][_0x3d29fc(0x25f)][_0x3d29fc(0x31b)]()['COMPRESS_MUTATION_APPLY'])(_0x344286['mutations'],null)||_0x344286[_0x3d29fc(0x24d)],_0x500c22={..._0x344286,'mutations':_0x28e52f};this[_0x3d29fc(0x307)](),this[_0x3d29fc(0x3cb)](this[_0x3d29fc(0x2c4)][_0x3d29fc(0x265)](_0x500c22)),this['_unlockTransition']();}['_onRemoteACK'](_0x26fa9d){var _0x217286=_0x40e481;this[_0x217286(0x307)](),this['_updateState'](this['_state']['onRemoteAck'](_0x26fa9d)),this[_0x217286(0x34c)]();}[_0x40e481(0x32a)](_0x48776e){var _0x334d3e=_0x40e481;this['_lockTransition'](),this['_updateState'](this[_0x334d3e(0x2c4)][_0x334d3e(0x2a5)](_0x48776e)),this[_0x334d3e(0x34c)]();}[_0x40e481(0x14d)](_0x452eaa){var _0x5639ea=_0x40e481;this['_lockTransition'](),this['_updateState'](this[_0x5639ea(0x2c4)][_0x5639ea(0x26c)](_0x452eaa)),this[_0x5639ea(0x34c)]();}[_0x40e481(0x212)](_0x306301){var _0x36021a=_0x40e481;if(!(this['_state']instanceof ee))throw new TypeError(_0x36021a(0x162));const _0x54d4e=_0x306301[_0x36021a(0x12d)](_0x6f9a3f=>{var _0x1ce468=_0x36021a;const _0x579710=this[_0x1ce468(0x191)][_0x1ce468(0x25f)][_0x1ce468(0x2d5)](this[_0x1ce468(0x191)][_0x1ce468(0x25f)]['getInterceptPoints']()[_0x1ce468(0x131)])(_0x6f9a3f[_0x1ce468(0x24d)],null)||_0x6f9a3f[_0x1ce468(0x24d)];return{..._0x6f9a3f,'mutations':_0x579710};});this['_lockTransition'](),this['_updateState'](this[_0x36021a(0x2c4)][_0x36021a(0x101)](_0x54d4e)),this['_unlockTransition']();}['_toggleOffline'](){var _0x2e6d91=_0x40e481;this['_lockTransition'](),this[_0x2e6d91(0x3cb)](this['_state'][_0x2e6d91(0x3a8)]()),this[_0x2e6d91(0x34c)]();}[_0x40e481(0xe5)](_0x4975ec=!0x1){var _0x1175f3=_0x40e481;this['_lockTransition'](),this[_0x1175f3(0x3cb)](this['_state'][_0x1175f3(0x206)]()),this[_0x1175f3(0x34c)]();const _0x5260f1=this[_0x1175f3(0x2c4)];_0x4975ec&&_0x5260f1 instanceof Ne&&(this['_lockTransition'](),this[_0x1175f3(0x3cb)](_0x5260f1[_0x1175f3(0x253)]()),this[_0x1175f3(0x34c)]());}async['_createInitialState'](){return new Promise(_0xbd199e=>{var _0x5a59a8=_0x1459;this[_0x5a59a8(0x244)][_0x5a59a8(0x250)][_0x5a59a8(0x30c)](_0x48d365(0x1))[_0x5a59a8(0x38c)](async _0x2f43f2=>{var _0x3ea234=_0x5a59a8;_0xbd199e(await this[_0x3ea234(0x1f8)](_0x2f43f2===Ee[_0x3ea234(0x2e6)]));});});}[_0x40e481(0x21d)](){var _0x30a117=_0x40e481;const _0x1d4450=this[_0x30a117(0x204)];return{'onStateChange':(_0x2cd228,_0x1da86f)=>{var _0x493267=_0x30a117;if(_0x2cd228!==this['_state'])throw new Error(_0x493267(0x1d4)+_0x2cd228[_0x493267(0x24b)]+_0x493267(0x18a)+_0x1da86f[_0x493267(0x24b)]+_0x493267(0x3b0)+this['_state'][_0x493267(0x24b)]);this[_0x493267(0x3cb)](_0x1da86f);},'onSendChangeset':_0x39536f=>{var _0x407c11=_0x30a117;_0x39536f['sid']||(_0x39536f[_0x407c11(0x3ca)]=this[_0x407c11(0x15c)],_0x39536f[_0x407c11(0x369)]=++this[_0x407c11(0x31c)]);const _0x25764b={'eventID':_0x3c9809[_0x407c11(0x3ac)],'data':{'unitID':_0x39536f['unitID'],'unitType':this[_0x407c11(0x1e8)],'changeset':_0x39536f,'memberID':this[_0x407c11(0x244)]['getMemberID']()}};this[_0x407c11(0x244)][_0x407c11(0x119)](_0x25764b,this['unitID']);},'onMissingChangesets':({from:_0x3ee535,to:_0x4d08fd})=>{var _0x4f6bd0=_0x30a117;this[_0x4f6bd0(0x13c)][_0x4f6bd0(0x21c)]('[CollaborationEntity]',_0x4f6bd0(0x2fd)+_0x3ee535+'\x20to\x20'+_0x4d08fd);const _0x372e1a={'eventID':_0x3c9809[_0x4f6bd0(0x1ca)],'data':{'unitID':_0x1d4450,'unitType':this[_0x4f6bd0(0x1e8)],'from':_0x3ee535,'to':_0x4d08fd}};this[_0x4f6bd0(0x244)][_0x4f6bd0(0x119)](_0x372e1a,this[_0x4f6bd0(0x204)]);}};}async[_0x40e481(0x1f8)](_0x53f8c0){var _0x3c151a=_0x40e481,_0x6122e9,_0x15fee4,_0x191b08;const _0x561c51=await((_0x6122e9=this[_0x3c151a(0x336)])==null?void 0x0:_0x6122e9['loadOfflineData'](this[_0x3c151a(0x204)])),_0x19214e=(_0x15fee4=_0x561c51==null?void 0x0:_0x561c51[_0x3c151a(0x24d)])!=null?_0x15fee4:[],_0x58f905=(_0x191b08=_0x561c51==null?void 0x0:_0x561c51[_0x3c151a(0x292)])!=null?_0x191b08:null,_0x3d7167=!!(_0x58f905!=null&&_0x58f905[_0x3c151a(0x3ca)])&&!!(_0x58f905!=null&&_0x58f905[_0x3c151a(0x369)]);this[_0x3c151a(0x15c)]=_0x3d7167?_0x58f905[_0x3c151a(0x3ca)]:Zn(),this[_0x3c151a(0x31c)]=_0x3d7167?_0x58f905[_0x3c151a(0x369)]:0x0;const _0x33f4bc=this[_0x3c151a(0x204)];try{this[_0x3c151a(0xfa)](_0x58f905,_0x19214e);}catch(_0x5a0d3a){this[_0x3c151a(0x13c)][_0x3c151a(0x30a)](_0x5a0d3a);}const _0x48830f=this[_0x3c151a(0x21d)]();if(_0x53f8c0){const _0x4d5b37=Oi(this[_0x3c151a(0x2bb)],_0x33f4bc,this[_0x3c151a(0x1e8)],_0x58f905,_0x19214e,_0x48830f);return _0x4d5b37 instanceof ae?_0x4d5b37['_schedule']():(_0x4d5b37 instanceof oe||_0x4d5b37 instanceof le)&&_0x4d5b37[_0x3c151a(0x301)](),_0x4d5b37;}return this[_0x3c151a(0x2bb)][_0x3c151a(0x3ae)](de,_0x33f4bc,this[_0x3c151a(0x1e8)],_0x58f905,_0x19214e,_0x48830f);}['_replayCachedMutations'](_0x2a770f,_0x4339b4){var _0x44d6bb=_0x40e481,_0x4223a0,_0x57c6a8;const _0x162863=this[_0x44d6bb(0x191)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x44d6bb(0x25f)][_0x44d6bb(0x31b)]()[_0x44d6bb(0x131)]);(_0x4223a0=_0x162863((_0x2a770f==null?void 0x0:_0x2a770f[_0x44d6bb(0x24d)])||[],null))==null||_0x4223a0['forEach'](_0x1a06b8=>this[_0x44d6bb(0x197)]['executeCommand'](_0x1a06b8['id'],_0x1a06b8[_0x44d6bb(0x1eb)])),(_0x57c6a8=_0x162863(_0x4339b4||[],null))==null||_0x57c6a8[_0x44d6bb(0x109)](_0x8fc22d=>this[_0x44d6bb(0x197)]['executeCommand'](_0x8fc22d['id'],_0x8fc22d[_0x44d6bb(0x1eb)]));}};nt=Lt([H(0x3,_0x41febc(_0x414ea7)),H(0x4,_0x41febc(_0x48e687)),H(0x5,_0x41febc(_0x5ceb9f)),H(0x6,_0x41febc(_0x1de1e7)),H(0x7,_0x41febc(pe)),H(0x8,_0xcdb88),H(0x9,_0x2f806f),H(0xa,_0x372d75),H(0xb,_0x397f30(ht)),H(0xc,_0x397f30(J))],nt);let It=class extends nt{constructor(_0x2cacd2,_0x3449f0,_0x21251a,_0x8dc1c3,_0x1af047,_0xa25754,_0x560d9b,_0x2c23f2,_0x15c221,_0x2422cc,_0x73485d,_0x13838d,_0x34277a){var _0x1ff87a=_0x40e481;super(_0x2cacd2,_0x21251a,_0x3449f0,_0x8dc1c3,_0x1af047,_0xa25754,_0x560d9b,_0x2c23f2,_0x15c221,_0x2422cc,_0x73485d,_0x13838d,_0x34277a),N(this,_0x1ff87a(0x347),null),(this[_0x1ff87a(0x204)]=_0x2cacd2,this[_0x1ff87a(0x30d)]=_0x3449f0);}['addHandlerCallback'](_0x3f21b8){var _0x560089=_0x40e481;this[_0x560089(0x347)]=_0x3f21b8;}[_0x40e481(0x205)](){this['_handlerCallback']=null,super['dispose']();}[_0x40e481(0x21d)](){var _0x255241=_0x40e481;const _0x24e863=super[_0x255241(0x21d)]();return _0x24e863[_0x255241(0xe9)]=_0xef2f5e=>{var _0x2d2c63,_0x555c74;return(_0x555c74=(_0x2d2c63=this['_handlerCallback'])==null?void 0x0:_0x2d2c63['onTransformIME'])==null?void 0x0:_0x555c74['call'](_0x2d2c63,_0xef2f5e);},_0x24e863['onTransformState']=_0x5ee01d=>{var _0x5c0783=_0x255241,_0x41b10a,_0x2d6395;return(_0x2d6395=(_0x41b10a=this[_0x5c0783(0x347)])==null?void 0x0:_0x41b10a[_0x5c0783(0x1be)])==null?void 0x0:_0x2d6395[_0x5c0783(0x20b)](_0x41b10a,_0x5ee01d);},_0x24e863['onTransformSelections']=_0x4c0026=>{var _0x21253e=_0x255241,_0xc3d800,_0x335e4c;return(_0x335e4c=(_0xc3d800=this[_0x21253e(0x347)])==null?void 0x0:_0xc3d800[_0x21253e(0xf7)])==null?void 0x0:_0x335e4c[_0x21253e(0x20b)](_0xc3d800,_0x4c0026);},_0x24e863[_0x255241(0x267)]=_0x184caa=>{var _0x248566=_0x255241,_0x2e4bf6,_0x21a7d6;return(_0x21a7d6=(_0x2e4bf6=this[_0x248566(0x347)])==null?void 0x0:_0x2e4bf6['onSyncEditingCollabCursor'])==null?void 0x0:_0x21a7d6[_0x248566(0x20b)](_0x2e4bf6,_0x184caa);},_0x24e863[_0x255241(0x259)]=_0x322cc9=>{var _0x2f1ae5=_0x255241,_0x53d19c,_0x407f30,_0x400c84;if(!((_0x53d19c=this['_handlerCallback'])!=null&&_0x53d19c[_0x2f1ae5(0x259)]))throw new Error(_0x2f1ae5(0x138));return(_0x400c84=(_0x407f30=this[_0x2f1ae5(0x347)])==null?void 0x0:_0x407f30[_0x2f1ae5(0x259)])==null?void 0x0:_0x400c84[_0x2f1ae5(0x20b)](_0x407f30,_0x322cc9);},_0x24e863[_0x255241(0x130)]=_0x5e5c6a=>{var _0xcfc02c=_0x255241,_0x2ae6c0,_0x4f6a6b,_0x2143a2;if(!((_0x2ae6c0=this[_0xcfc02c(0x347)])!=null&&_0x2ae6c0['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2143a2=(_0x4f6a6b=this[_0xcfc02c(0x347)])==null?void 0x0:_0x4f6a6b['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2143a2[_0xcfc02c(0x20b)](_0x4f6a6b,_0x5e5c6a);},_0x24e863;}async[_0x40e481(0x2a3)](){var _0x402d80=_0x40e481;const _0x3f1df5=await super[_0x402d80(0x2a3)]();return this[_0x402d80(0x3aa)](this[_0x402d80(0x197)][_0x402d80(0x3e3)]((_0x361b6c,_0x3fc49a)=>{var _0x23780e=_0x402d80;if(_0x361b6c[_0x23780e(0x30d)]!==_0xe7c659[_0x23780e(0x157)]||_0x3fc49a!=null&&_0x3fc49a[_0x23780e(0x1f1)]||_0x3fc49a!=null&&_0x3fc49a['onlyLocal']||_0x361b6c['id']===_0x3a29dc['id'])return;const _0x2c71d3=_0x361b6c['params'];if((_0x2c71d3==null?void 0x0:_0x2c71d3[_0x23780e(0x2de)])!==this[_0x23780e(0x204)])return;const _0x32649a=_0x361b6c,_0xd18bf1=this['_compressMutationService'][_0x23780e(0x25f)]['fetchThroughInterceptors'](this[_0x23780e(0x191)][_0x23780e(0x25f)]['getInterceptPoints']()[_0x23780e(0x10b)])([_0x32649a],null)||[_0x32649a];this[_0x23780e(0xf5)](_0xd18bf1[0x0]);})),_0x3f1df5;}};It=Lt([H(0x3,_0x41febc(_0x414ea7)),H(0x4,_0x41febc(_0x48e687)),H(0x5,_0x41febc(_0x5ceb9f)),H(0x6,_0x41febc(_0x1de1e7)),H(0x7,_0x41febc(pe)),H(0x8,_0xcdb88),H(0x9,_0x2f806f),H(0xa,_0x372d75),H(0xb,_0x397f30(ht)),H(0xc,_0x397f30(J))],It);let Tt=class extends nt{constructor(_0xde08a7,_0x40543e,_0x3b19fc,_0x52b453,_0x331dd1,_0x1e9afc,_0x1f3353,_0x2a3c3d,_0x370617,_0x58ba13,_0xec66b2,_0xd6d24a,_0x54ec5a,_0x304c15){var _0x318b95=_0x40e481;super(_0xde08a7,_0x3b19fc,_0x40543e,_0x52b453,_0x331dd1,_0x1e9afc,_0x1f3353,_0x370617,_0x58ba13,_0xec66b2,_0xd6d24a,_0x54ec5a,_0x304c15),this['unitID']=_0xde08a7,this['type']=_0x40543e,this[_0x318b95(0x102)]=_0x2a3c3d;}['_createHandler'](){var _0xe0ed20=_0x40e481;const _0xe87cc2=super[_0xe0ed20(0x21d)]();return _0xe87cc2[_0xe0ed20(0xf7)]=_0xe2257c=>this[_0xe0ed20(0x102)][_0xe0ed20(0x2a9)](_0xe2257c),_0xe87cc2;}async[_0x40e481(0x2a3)](){var _0x1e2279=_0x40e481;const _0x2c7db3=await super['_init']();return this[_0x1e2279(0x3aa)](this[_0x1e2279(0x197)][_0x1e2279(0x3e3)]((_0x2649c1,_0x1136ac)=>{var _0x12c3cd=_0x1e2279;if(_0x2649c1[_0x12c3cd(0x30d)]!==_0xe7c659[_0x12c3cd(0x157)]||_0x1136ac!=null&&_0x1136ac['fromCollab']||_0x1136ac!=null&&_0x1136ac[_0x12c3cd(0x37d)])return;const _0x482db9=_0x2649c1[_0x12c3cd(0x1eb)];if((_0x482db9==null?void 0x0:_0x482db9['unitId'])!==this[_0x12c3cd(0x204)])return;const _0x40fc50=_0x2649c1,_0x2d55aa=this[_0x12c3cd(0x191)][_0x12c3cd(0x25f)][_0x12c3cd(0x2d5)](this[_0x12c3cd(0x191)][_0x12c3cd(0x25f)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x40fc50],null)||[_0x40fc50];this[_0x12c3cd(0xf5)](_0x2d55aa[0x0]);})),_0x2c7db3;}};Tt=Lt([H(0x3,_0x41febc(_0x414ea7)),H(0x4,_0x41febc(_0x48e687)),H(0x5,_0x41febc(_0x5ceb9f)),H(0x6,_0x41febc(_0x1de1e7)),H(0x7,_0x41febc(it)),H(0x8,_0x41febc(pe)),H(0x9,_0xcdb88),H(0xa,_0x2f806f),H(0xb,_0x372d75),H(0xc,_0x397f30(ht)),H(0xd,_0x397f30(J))],Tt);var os=Object[_0x40e481(0x237)],cs=(_0x14b3db,_0x1e5069,_0x25b131,_0x483b62)=>{for(var _0x2e1d56=_0x483b62>0x1?void 0x0:_0x483b62?os(_0x1e5069,_0x25b131):_0x1e5069,_0x51b639=_0x14b3db['length']-0x1,_0x39680d;_0x51b639>=0x0;_0x51b639--)(_0x39680d=_0x14b3db[_0x51b639])&&(_0x2e1d56=_0x39680d(_0x2e1d56)||_0x2e1d56);return _0x2e1d56;},ft=(_0x517ada,_0xc8ca9b)=>(_0x2b655c,_0xf7bad2)=>_0xc8ca9b(_0x2b655c,_0xf7bad2,_0x517ada);let st=class extends _0x2dee07{constructor(_0x7fa364,_0x24ee66,_0x4d9c0e){var _0x5afee5=_0x40e481;super(),N(this,_0x5afee5(0x19c),new Map()),N(this,_0x5afee5(0x16c),new _0xba51b2()),N(this,'entityInit$',this[_0x5afee5(0x16c)]['asObservable']()),(this[_0x5afee5(0x2bb)]=_0x7fa364,this[_0x5afee5(0x26f)]=_0x24ee66,this[_0x5afee5(0x18b)]=_0x4d9c0e,this[_0x5afee5(0x2a3)]());}[_0x40e481(0x205)](){var _0x30f7ef=_0x40e481;super[_0x30f7ef(0x205)](),this[_0x30f7ef(0x19c)][_0x30f7ef(0x109)](_0x29586e=>_0x29586e[_0x30f7ef(0x205)]()),this[_0x30f7ef(0x19c)]['clear']();}[_0x40e481(0x35d)](_0x9cb9c){var _0x1a4bf1=_0x40e481,_0x2b44f5;return(_0x2b44f5=this[_0x1a4bf1(0x19c)][_0x1a4bf1(0x1da)](_0x9cb9c))!=null?_0x2b44f5:null;}[_0x40e481(0x2d6)](_0x27ffb2){var _0xde31dd=_0x40e481;const _0x3fff59=this[_0xde31dd(0x35d)](_0x27ffb2);return _0x3fff59?_0x29c1e2(_0x3fff59):this[_0xde31dd(0x16c)][_0xde31dd(0x30c)](_0xe0b521(_0x128089=>_0x128089[_0xde31dd(0x204)]===_0x27ffb2));}['readyForCollab'](_0x192a4a){var _0x155b97=_0x40e481;return _0x327c79(this['getCollabEntity$'](_0x192a4a)[_0x155b97(0x30c)](_0x3b053e(()=>{})));}[_0x40e481(0x2a3)](){var _0x1e47e5=_0x40e481;this[_0x1e47e5(0x18b)][_0x1e47e5(0x230)](_0x596901[_0x1e47e5(0x358)])['pipe'](_0x338d32(this['dispose$']),_0x52bbcc(0x10))[_0x1e47e5(0x38c)](async _0x5279e2=>{var _0x3f499e=_0x1e47e5;const _0xd034c3=_0x5279e2[_0x3f499e(0x382)](),_0x11a4d3=await this['_startCollaboration'](_0xd034c3,Q[_0x3f499e(0x358)]);this[_0x3f499e(0x19c)][_0x3f499e(0x38d)](_0xd034c3,_0x11a4d3);}),this[_0x1e47e5(0x18b)][_0x1e47e5(0x230)](_0x596901[_0x1e47e5(0x316)])[_0x1e47e5(0x30c)](_0x338d32(this[_0x1e47e5(0x1cd)]),_0x52bbcc(0x10))['pipe'](_0xe0b521(_0x3c641e=>!_0x3c641e[_0x1e47e5(0x382)]()[_0x1e47e5(0x2a2)]('__')))[_0x1e47e5(0x38c)](async _0x3ce296=>{var _0x39ce34=_0x1e47e5;const _0x445115=_0x3ce296[_0x39ce34(0x382)](),_0x556770=await this[_0x39ce34(0x19d)](_0x445115,Q[_0x39ce34(0x316)]);this[_0x39ce34(0x19c)]['set'](_0x445115,_0x556770);}),_0x1cc183(this[_0x1e47e5(0x18b)]['getTypeOfUnitDisposed$'](_0x596901[_0x1e47e5(0x358)]),this['_univerInstanceService'][_0x1e47e5(0x2f4)](_0x596901[_0x1e47e5(0x316)]))['pipe'](_0x338d32(this['dispose$']))[_0x1e47e5(0x38c)](_0x2f3639=>{var _0x5bf7d5=_0x1e47e5;const _0x44318b=_0x2f3639['getUnitId'](),_0x263ead=this[_0x5bf7d5(0x19c)][_0x5bf7d5(0x1da)](_0x44318b);_0x263ead&&(_0x263ead[_0x5bf7d5(0x205)](),this['_entities'][_0x5bf7d5(0x233)](_0x44318b));});}async[_0x40e481(0x19d)](_0x54235f,_0x3b437b){var _0x4e9815=_0x40e481;const _0x41693e=await this['_collabSessionService'][_0x4e9815(0x134)](_0x54235f),_0x599f26=this[_0x4e9815(0x2bb)][_0x4e9815(0x3ae)](this[_0x4e9815(0x11e)](_0x3b437b),_0x54235f,_0x3b437b,_0x41693e);return await _0x599f26['init'](),this[_0x4e9815(0x16c)][_0x4e9815(0x377)](_0x599f26),_0x599f26;}['_getCtorByUniverType'](_0x528f34){var _0x46be40=_0x40e481;switch(_0x528f34){case Q['UNIVER_DOC']:return It;case Q[_0x46be40(0x358)]:return Tt;default:throw new Error(_0x46be40(0x3c8)+_0x528f34);}}};st=cs([ft(0x0,_0x41febc(_0x414ea7)),ft(0x1,_0x41febc(xe)),ft(0x2,_0x26a8c2)],st);var hs=Object[_0x40e481(0x237)],_s=(_0x1b0637,_0x33dd9b,_0x3fee5f,_0x409605)=>{for(var _0x86ffb7=_0x409605>0x1?void 0x0:_0x409605?hs(_0x33dd9b,_0x3fee5f):_0x33dd9b,_0xd232c7=_0x1b0637['length']-0x1,_0x43fbc5;_0xd232c7>=0x0;_0xd232c7--)(_0x43fbc5=_0x1b0637[_0xd232c7])&&(_0x86ffb7=_0x43fbc5(_0x86ffb7)||_0x86ffb7);return _0x86ffb7;},zt=(_0x9dad06,_0x44d1ab)=>(_0x28c0e5,_0x2e6b04)=>_0x44d1ab(_0x28c0e5,_0x2e6b04,_0x9dad06);const ls=_0x40e481(0x32c),us=_0x40e481(0x183);let Ct=class extends _0x484e8c{constructor(_0x3bd55a,_0x593ceb){var _0x2b9b4e=_0x40e481;super(),this[_0x2b9b4e(0x18b)]=_0x3bd55a,this[_0x2b9b4e(0x221)]=_0x593ceb,this[_0x2b9b4e(0x2a3)]();}[_0x40e481(0x2a3)](){var _0x355dad=_0x40e481;this[_0x355dad(0x3aa)](this[_0x355dad(0x18b)][_0x355dad(0x182)][_0x355dad(0x38c)](()=>{var _0x4c1df8=_0x355dad,_0x2ab75d;const _0x521db7=this[_0x4c1df8(0x18b)][_0x4c1df8(0x146)]();let _0x2024f8=(_0x2ab75d=this[_0x4c1df8(0x221)][_0x4c1df8(0x3da)](ls))!=null?_0x2ab75d:us;_0x521db7 instanceof _0x485333&&(_0x2024f8=_0x521db7[_0x4c1df8(0x289)]),document[_0x4c1df8(0x1fd)]=_0x2024f8;}));}};Ct=_s([zt(0x0,_0x26a8c2),zt(0x1,_0x1356ee)],Ct);var ds=Object[_0x40e481(0x237)],fs=(_0x54c931,_0x1bf273,_0x50f956,_0xf574c5)=>{var _0x577696=_0x40e481;for(var _0x3a4c12=_0xf574c5>0x1?void 0x0:_0xf574c5?ds(_0x1bf273,_0x50f956):_0x1bf273,_0x1ac105=_0x54c931[_0x577696(0x299)]-0x1,_0x27d2b7;_0x1ac105>=0x0;_0x1ac105--)(_0x27d2b7=_0x54c931[_0x1ac105])&&(_0x3a4c12=_0x27d2b7(_0x3a4c12)||_0x3a4c12);return _0x3a4c12;},vt=(_0x463922,_0x36b1d9)=>(_0x1e12c8,_0x3d7032)=>_0x36b1d9(_0x1e12c8,_0x3d7032,_0x463922);let rt=class{constructor(_0x2071e0,_0x422ae3,_0x16b478){var _0x3aeba9=_0x40e481;this[_0x3aeba9(0x221)]=_0x2071e0,this['_httpService']=_0x422ae3,this[_0x3aeba9(0x129)]=_0x16b478,this[_0x3aeba9(0x127)]();}[_0x40e481(0x127)](){var _0x21eb03=_0x40e481;this['_httpService'][_0x21eb03(0x2f1)]({'priority':0x1,'interceptor':(_0x531015,_0x51c92f)=>_0x51c92f(_0x531015)[_0x21eb03(0x30c)](_0x5cca15(async _0x1d6aec=>{var _0x5d5add=_0x21eb03;const _0x2f3987=_0x1d6aec;if(_0x2f3987['status']===0x191){if(typeof window>'u')throw new Error(_0x5d5add(0x112));if(window[_0x5d5add(0x2b9)](this[_0x5d5add(0x129)]['t'](_0x5d5add(0x1b4)))){const _0x4a84b2=window['encodeURIComponent'](window[_0x5d5add(0x23f)][_0x5d5add(0x39f)]);window[_0x5d5add(0x23f)][_0x5d5add(0x39f)]=this[_0x5d5add(0x1fa)]()+'?url='+_0x4a84b2;}}return _0x2f3987;}))});}[_0x40e481(0x1fa)](){var _0x530a60=_0x40e481,_0xa128d2,_0x1aede3;const _0x1ffdf6=this[_0x530a60(0x221)]['getConfig'](Un),_0x35f272=this[_0x530a60(0x221)][_0x530a60(0x3da)](q);return(_0x1aede3=(_0xa128d2=_0x35f272==null?void 0x0:_0x35f272[_0x530a60(0x2f7)])!=null?_0xa128d2:_0x1ffdf6)!=null?_0x1aede3:An;}};rt=fs([vt(0x0,_0x1356ee),vt(0x1,_0x41febc(_0x30b709)),vt(0x2,_0x41febc(_0x5ceb9f))],rt);var vs=Object[_0x40e481(0x237)],ps=(_0x34c6d8,_0x441ab1,_0xff649a,_0x1b59d6)=>{for(var _0x4fe609=_0x1b59d6>0x1?void 0x0:_0x1b59d6?vs(_0x441ab1,_0xff649a):_0x441ab1,_0x1b59e9=_0x34c6d8['length']-0x1,_0x24f28b;_0x1b59e9>=0x0;_0x1b59e9--)(_0x24f28b=_0x34c6d8[_0x1b59e9])&&(_0x4fe609=_0x24f28b(_0x4fe609)||_0x4fe609);return _0x4fe609;},Jt=(_0x397b9d,_0x58548d)=>(_0x39f684,_0x2eb05e)=>_0x58548d(_0x39f684,_0x2eb05e,_0x397b9d);const Ni='AUTHZ_URL_KEY',ms=_0x40e481(0xea);let Rt=class extends _0x484e8c{constructor(_0x5e387b,_0x165b53){var _0x52dcda=_0x40e481;super(),this[_0x52dcda(0x2c8)]=_0x5e387b,this[_0x52dcda(0x221)]=_0x165b53,this[_0x52dcda(0x1b2)]();}[_0x40e481(0x1b2)](){var _0x5b9c99=_0x40e481;const _0x4a99bf=this;this['disposeWithMe'](this[_0x5b9c99(0x2c8)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2e6923({'isMatch'(_0x473043){var _0x39a760=_0x5b9c99,_0x5e5353;if(_0x473043[_0x39a760(0x3a5)]==='POST'&&((_0x5e5353=_0x473043['requestParams'])!=null&&_0x5e5353[_0x39a760(0x159)])){const {objectID:_0x220229,objectType:_0x2e12c1}=_0x473043[_0x39a760(0xe7)][_0x39a760(0x159)]||{};if(!_0x220229||_0x2e12c1===void 0x0)return!0x1;const _0x5520e3=_0x4a99bf[_0x39a760(0x19b)]()+'/'+_0x2e12c1+'/object/'+_0x220229+_0x39a760(0x2ef);if(_0x473043['url']===_0x5520e3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x372158){var _0x522e39=_0x5b9c99,_0x3a6e50;return(_0x3a6e50=_0x372158[_0x522e39(0xe7)])==null?void 0x0:_0x3a6e50[_0x522e39(0x159)];},'mergeParamsToRequest'(_0x2f392e,_0x501896){var _0x422298=_0x5b9c99;const _0x206a8b=_0x4a99bf[_0x422298(0x19b)]()+_0x422298(0x165),_0x3ebe44=_0x2f392e[_0x422298(0x170)]((_0x7ea986,_0xfb8c89)=>{var _0x2cd2fb=_0x422298;const {unitID:_0xb29041,objectID:_0x3c583c,objectType:_0x31f972,actions:_0x2c87de}=_0xfb8c89;return _0x7ea986[_0xb29041]||(_0x7ea986[_0xb29041]={}),_0x7ea986[_0xb29041][_0x3c583c]||(_0x7ea986[_0xb29041][_0x3c583c]={'objectID':_0x3c583c,'objectType':_0x31f972,'actions':[]}),_0x7ea986[_0xb29041][_0x3c583c][_0x2cd2fb(0x1f0)][_0x2cd2fb(0xeb)](..._0x2c87de),_0x7ea986;},{}),_0x264287=[];for(const _0x32334d in _0x3ebe44)for(const _0x3f6d3d in _0x3ebe44[_0x32334d]){const {actions:_0x5cdd2e,objectType:_0x4f9a13}=_0x3ebe44[_0x32334d][_0x3f6d3d],_0x4510b3=[...new Set(_0x5cdd2e)];_0x264287[_0x422298(0xeb)]({'unitID':_0x32334d,'objectID':_0x3f6d3d,'objectType':_0x4f9a13,'actions':_0x4510b3});}return new _0x543717(_0x422298(0x346),_0x206a8b,{'headers':_0x501896['headers'],'withCredentials':_0x501896[_0x422298(0x20a)],'responseType':_0x501896['responseType'],'body':{'requests':_0x264287}});}},{'distributeResult'(_0x151736,_0x1c14de){const {objectActions:_0x570347}=_0x151736;return _0x1c14de['map'](_0xea438b=>{var _0x4fe432=_0x1459;const {unitID:_0x13a8e4,objectID:_0x48a470,actions:_0x323f7f}=_0xea438b,_0x2d2574=_0x570347['find'](_0x609442=>_0x609442[_0x4fe432(0x204)]===_0x13a8e4&&_0x609442[_0x4fe432(0x2a0)]===_0x48a470),_0x1c5797=_0x323f7f['map'](_0x5d6411=>_0x2d2574==null?void 0x0:_0x2d2574['actions']['find'](_0x56cb18=>_0x56cb18[_0x4fe432(0x210)]===_0x5d6411))[_0x4fe432(0xf0)](_0x29879c=>!!_0x29879c);return{'config':_0xea438b,'result':{'actions':_0x1c5797,'error':_0x151736['error']}};});}})}));}[_0x40e481(0x19b)](){var _0x554138=_0x40e481,_0x534328,_0x979fff;const _0x313111=this[_0x554138(0x221)][_0x554138(0x3da)](Ni),_0x5e9b3a=this[_0x554138(0x221)][_0x554138(0x3da)](q);return(_0x979fff=(_0x534328=_0x5e9b3a==null?void 0x0:_0x5e9b3a[_0x554138(0x13e)])!=null?_0x534328:_0x313111)!=null?_0x979fff:ms;}async['create'](_0x255465){var _0x5127c5=_0x40e481;const _0x430777=this[_0x5127c5(0x19b)]()+'/'+_0x255465[_0x5127c5(0x32e)]+_0x5127c5(0x38b);return(await this[_0x5127c5(0x2c8)][_0x5127c5(0x1bb)](_0x430777,{'body':_0x255465}))[_0x5127c5(0x159)][_0x5127c5(0x2a0)]||'';}async[_0x40e481(0x3db)](_0x480fc0){var _0x17495f=_0x40e481;const _0x6e232a=this['_getAPIPrefixPath']()+_0x17495f(0x2c6);return(await this['_HTTPService']['post'](_0x6e232a,{'body':_0x480fc0}))[_0x17495f(0x159)]['objects'];}async[_0x40e481(0x2c9)](_0xf0f26f){var _0x2a1d14=_0x40e481,_0x1e804c,_0x3bccc7;const _0x5c8def=this[_0x2a1d14(0x19b)]()+'/'+_0xf0f26f[_0x2a1d14(0x32e)]+'/object/'+_0xf0f26f[_0x2a1d14(0x2a0)],_0x20ecc7=await this['_HTTPService'][_0x2a1d14(0x2fc)](_0x5c8def,{'body':_0xf0f26f});if(((_0x3bccc7=(_0x1e804c=_0x20ecc7==null?void 0x0:_0x20ecc7[_0x2a1d14(0x159)])==null?void 0x0:_0x1e804c['error'])==null?void 0x0:_0x3bccc7[_0x2a1d14(0x313)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x40e481(0x232)](_0x507428){var _0x1a0969=_0x40e481;const _0xf24634=this[_0x1a0969(0x19b)]()+'/'+_0x507428[_0x1a0969(0x32e)]+'/object/'+_0x507428[_0x1a0969(0x2a0)]+_0x1a0969(0x2ef);return(await this[_0x1a0969(0x2c8)]['post'](_0xf24634,{'body':_0x507428}))[_0x1a0969(0x159)][_0x1a0969(0x1f0)];}async[_0x40e481(0x361)](_0x7af411){var _0x5d8659=_0x40e481;const _0x304bb1=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x5d8659(0x2c8)]['post'](_0x304bb1,{'body':{'requests':_0x7af411}}))[_0x5d8659(0x159)][_0x5d8659(0x156)];}async['listRoles'](_0x125f12){var _0xb57f4f=_0x40e481;const _0x1dce52=this['_getAPIPrefixPath']()+'/'+_0x125f12[_0xb57f4f(0x32e)]+_0xb57f4f(0x187),_0x97ab39=await this[_0xb57f4f(0x2c8)][_0xb57f4f(0x1bb)](_0x1dce52,{'body':_0x125f12});return{'roles':_0x97ab39[_0xb57f4f(0x159)]['roles'],'actions':_0x97ab39[_0xb57f4f(0x159)]['actions']};}async[_0x40e481(0x275)](_0x3a9b53){var _0x93279e=_0x40e481;const _0x52a9ff=this[_0x93279e(0x19b)]()+'/collaborator';await this[_0x93279e(0x2c8)][_0x93279e(0x233)](_0x52a9ff,{'params':{'collaboratorID':_0x3a9b53[_0x93279e(0x240)],'objectID':_0x3a9b53[_0x93279e(0x2a0)],'unitID':_0x3a9b53[_0x93279e(0x204)]}});}async[_0x40e481(0x3c9)](_0x2a0bd1){var _0x172789=_0x40e481;const _0x184a58=this[_0x172789(0x19b)]()+_0x172789(0x3d3);await this['_HTTPService'][_0x172789(0x393)](_0x184a58,{'body':_0x2a0bd1});}async[_0x40e481(0x3d0)](_0xbdc378){var _0xe743b=_0x40e481;const _0x2fcd25=this[_0xe743b(0x19b)]()+_0xe743b(0x3d3);await this[_0xe743b(0x2c8)][_0xe743b(0x1bb)](_0x2fcd25,{'body':_0xbdc378});}async[_0x40e481(0x20e)](_0x216e99){var _0x4c498e=_0x40e481;const _0x592e3d=this[_0x4c498e(0x19b)]()+_0x4c498e(0x3d3);return(await this[_0x4c498e(0x2c8)]['get'](_0x592e3d,{'params':{'objectID':_0x216e99['objectID'],'unitID':_0x216e99[_0x4c498e(0x204)]}}))[_0x4c498e(0x159)]['collaborators'];}async['putCollaborators'](_0x239474){var _0x854fff=_0x40e481;const _0xc5216f=this['_getAPIPrefixPath']()+_0x854fff(0x3d3);await this[_0x854fff(0x2c8)][_0x854fff(0x2fc)](_0xc5216f,{'body':_0x239474});}};Rt=ps([Jt(0x0,_0x41febc(_0x30b709)),Jt(0x1,_0x41febc(_0x1356ee))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x3b1db2){var _0x5c9122=_0x40e481;return _0x3b1db2&&_0x3b1db2[_0x5c9122(0x365)]&&Object['prototype'][_0x5c9122(0x1a3)][_0x5c9122(0x20b)](_0x3b1db2,_0x5c9122(0x35b))?_0x3b1db2[_0x5c9122(0x35b)]:_0x3b1db2;}var Ve={'exports':{}};function gs(_0x12b3d4){var _0x2c49ca=_0x40e481;throw new Error(_0x2c49ca(0x2b4)+_0x12b3d4+_0x2c49ca(0x2d8));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x21a53c,_0x2ae17e){(function(_0x555115,_0x3ce573){var _0x32077d=_0x1459;_0x21a53c[_0x32077d(0x363)]=_0x3ce573();}(Ss,function(){var _0xb78605=_0xb78605||function(_0x64ea85,_0xfb00a9){var _0x501bae=_0x1459,_0x3477a3;if(typeof window<'u'&&window[_0x501bae(0x10e)]&&(_0x3477a3=window[_0x501bae(0x10e)]),typeof self<'u'&&self[_0x501bae(0x10e)]&&(_0x3477a3=self[_0x501bae(0x10e)]),typeof globalThis<'u'&&globalThis[_0x501bae(0x10e)]&&(_0x3477a3=globalThis[_0x501bae(0x10e)]),!_0x3477a3&&typeof window<'u'&&window['msCrypto']&&(_0x3477a3=window[_0x501bae(0x17b)]),!_0x3477a3&&typeof pt<'u'&&pt['crypto']&&(_0x3477a3=pt['crypto']),!_0x3477a3&&typeof gs==_0x501bae(0x171))try{_0x3477a3=require(_0x501bae(0x10e));}catch{}var _0x39de22=function(){var _0xc4e998=_0x501bae;if(_0x3477a3){if(typeof _0x3477a3[_0xc4e998(0x2da)]==_0xc4e998(0x171))try{return _0x3477a3[_0xc4e998(0x2da)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3477a3['randomBytes']=='function')try{return _0x3477a3[_0xc4e998(0x17e)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1fe7ff=Object[_0x501bae(0x1d2)]||(function(){function _0x537f04(){}return function(_0x41f0d2){var _0x1dedbd=_0x1459,_0x1199c1;return _0x537f04[_0x1dedbd(0x30b)]=_0x41f0d2,_0x1199c1=new _0x537f04(),_0x537f04[_0x1dedbd(0x30b)]=null,_0x1199c1;};}()),_0x3c4f94={},_0x2c1184=_0x3c4f94[_0x501bae(0x22f)]={},_0x594197=_0x2c1184[_0x501bae(0x1ff)]=(function(){return{'extend':function(_0x5339c9){var _0x3ed542=_0x1459,_0x2a16d7=_0x1fe7ff(this);return _0x5339c9&&_0x2a16d7['mixIn'](_0x5339c9),(!_0x2a16d7[_0x3ed542(0x1a3)](_0x3ed542(0x127))||this[_0x3ed542(0x127)]===_0x2a16d7[_0x3ed542(0x127)])&&(_0x2a16d7[_0x3ed542(0x127)]=function(){var _0x46f5f9=_0x3ed542;_0x2a16d7[_0x46f5f9(0x223)]['init'][_0x46f5f9(0x194)](this,arguments);}),_0x2a16d7[_0x3ed542(0x127)][_0x3ed542(0x30b)]=_0x2a16d7,_0x2a16d7[_0x3ed542(0x223)]=this,_0x2a16d7;},'create':function(){var _0x27520b=_0x1459,_0x26c57c=this[_0x27520b(0x3c0)]();return _0x26c57c[_0x27520b(0x127)][_0x27520b(0x194)](_0x26c57c,arguments),_0x26c57c;},'init':function(){},'mixIn':function(_0x54ac92){var _0x52f035=_0x1459;for(var _0x263294 in _0x54ac92)_0x54ac92[_0x52f035(0x1a3)](_0x263294)&&(this[_0x263294]=_0x54ac92[_0x263294]);_0x54ac92[_0x52f035(0x1a3)]('toString')&&(this[_0x52f035(0x3ba)]=_0x54ac92['toString']);},'clone':function(){var _0x257234=_0x1459;return this[_0x257234(0x127)]['prototype'][_0x257234(0x3c0)](this);}};}()),_0x59d0e4=_0x2c1184[_0x501bae(0x260)]=_0x594197[_0x501bae(0x3c0)]({'init':function(_0x4d8c5c,_0xc5ba99){var _0x2fcf35=_0x501bae;_0x4d8c5c=this['words']=_0x4d8c5c||[],_0xc5ba99!=_0xfb00a9?this['sigBytes']=_0xc5ba99:this['sigBytes']=_0x4d8c5c[_0x2fcf35(0x299)]*0x4;},'toString':function(_0x4a1c33){return(_0x4a1c33||_0x1d91fb)['stringify'](this);},'concat':function(_0x4b5000){var _0x4dc0e9=_0x501bae,_0xb5db42=this[_0x4dc0e9(0xfe)],_0x47cb23=_0x4b5000['words'],_0x1f1d89=this[_0x4dc0e9(0x360)],_0xa3f61c=_0x4b5000[_0x4dc0e9(0x360)];if(this['clamp'](),_0x1f1d89%0x4)for(var _0x18c95c=0x0;_0x18c95c<_0xa3f61c;_0x18c95c++){var _0x4f006=_0x47cb23[_0x18c95c>>>0x2]>>>0x18-_0x18c95c%0x4*0x8&0xff;_0xb5db42[_0x1f1d89+_0x18c95c>>>0x2]|=_0x4f006<<0x18-(_0x1f1d89+_0x18c95c)%0x4*0x8;}else{for(var _0x4f17a4=0x0;_0x4f17a4<_0xa3f61c;_0x4f17a4+=0x4)_0xb5db42[_0x1f1d89+_0x4f17a4>>>0x2]=_0x47cb23[_0x4f17a4>>>0x2];}return this[_0x4dc0e9(0x360)]+=_0xa3f61c,this;},'clamp':function(){var _0x3808c8=_0x501bae,_0x368bd1=this[_0x3808c8(0xfe)],_0x5ddc61=this[_0x3808c8(0x360)];_0x368bd1[_0x5ddc61>>>0x2]&=0xffffffff<<0x20-_0x5ddc61%0x4*0x8,_0x368bd1[_0x3808c8(0x299)]=_0x64ea85[_0x3808c8(0x1bf)](_0x5ddc61/0x4);},'clone':function(){var _0x25ebdf=_0x501bae,_0x3f09f5=_0x594197[_0x25ebdf(0x2b0)]['call'](this);return _0x3f09f5[_0x25ebdf(0xfe)]=this[_0x25ebdf(0xfe)][_0x25ebdf(0x238)](0x0),_0x3f09f5;},'random':function(_0x3e556c){var _0x36b908=_0x501bae;for(var _0x4f9a60=[],_0xff55d0=0x0;_0xff55d0<_0x3e556c;_0xff55d0+=0x4)_0x4f9a60[_0x36b908(0xeb)](_0x39de22());return new _0x59d0e4[(_0x36b908(0x127))](_0x4f9a60,_0x3e556c);}}),_0x18fc4c=_0x3c4f94[_0x501bae(0x153)]={},_0x1d91fb=_0x18fc4c[_0x501bae(0x1ba)]={'stringify':function(_0x441055){var _0x233659=_0x501bae;for(var _0x31cf78=_0x441055[_0x233659(0xfe)],_0x1ef9a4=_0x441055[_0x233659(0x360)],_0x2efbd4=[],_0x4aba31=0x0;_0x4aba31<_0x1ef9a4;_0x4aba31++){var _0x946224=_0x31cf78[_0x4aba31>>>0x2]>>>0x18-_0x4aba31%0x4*0x8&0xff;_0x2efbd4[_0x233659(0xeb)]((_0x946224>>>0x4)['toString'](0x10)),_0x2efbd4[_0x233659(0xeb)]((_0x946224&0xf)[_0x233659(0x3ba)](0x10));}return _0x2efbd4[_0x233659(0x22b)]('');},'parse':function(_0x561d30){var _0x90e4d2=_0x501bae;for(var _0xb028b1=_0x561d30[_0x90e4d2(0x299)],_0x17cde2=[],_0x25ba6a=0x0;_0x25ba6a<_0xb028b1;_0x25ba6a+=0x2)_0x17cde2[_0x25ba6a>>>0x3]|=parseInt(_0x561d30[_0x90e4d2(0xe4)](_0x25ba6a,0x2),0x10)<<0x18-_0x25ba6a%0x8*0x4;return new _0x59d0e4[(_0x90e4d2(0x127))](_0x17cde2,_0xb028b1/0x2);}},_0x52e68e=_0x18fc4c[_0x501bae(0x2ab)]={'stringify':function(_0x48ba38){var _0x261042=_0x501bae;for(var _0x1f95dd=_0x48ba38[_0x261042(0xfe)],_0x520b0b=_0x48ba38[_0x261042(0x360)],_0x129aa6=[],_0x3b00f4=0x0;_0x3b00f4<_0x520b0b;_0x3b00f4++){var _0x4e722b=_0x1f95dd[_0x3b00f4>>>0x2]>>>0x18-_0x3b00f4%0x4*0x8&0xff;_0x129aa6[_0x261042(0xeb)](String['fromCharCode'](_0x4e722b));}return _0x129aa6[_0x261042(0x22b)]('');},'parse':function(_0x5682e3){var _0x4c81d1=_0x501bae;for(var _0x5e7668=_0x5682e3[_0x4c81d1(0x299)],_0x5743dc=[],_0x536a13=0x0;_0x536a13<_0x5e7668;_0x536a13++)_0x5743dc[_0x536a13>>>0x2]|=(_0x5682e3[_0x4c81d1(0x33f)](_0x536a13)&0xff)<<0x18-_0x536a13%0x4*0x8;return new _0x59d0e4['init'](_0x5743dc,_0x5e7668);}},_0x4fdf0a=_0x18fc4c[_0x501bae(0x16f)]={'stringify':function(_0x47d99d){var _0x2f345f=_0x501bae;try{return decodeURIComponent(escape(_0x52e68e[_0x2f345f(0x353)](_0x47d99d)));}catch{throw new Error(_0x2f345f(0x37a));}},'parse':function(_0x5e4f6f){var _0x541297=_0x501bae;return _0x52e68e[_0x541297(0x2e4)](unescape(encodeURIComponent(_0x5e4f6f)));}},_0x99a715=_0x2c1184['BufferedBlockAlgorithm']=_0x594197[_0x501bae(0x3c0)]({'reset':function(){var _0x31e75c=_0x501bae;this[_0x31e75c(0x29d)]=new _0x59d0e4[(_0x31e75c(0x127))](),this[_0x31e75c(0x1a4)]=0x0;},'_append':function(_0x83577e){var _0x4ed889=_0x501bae;typeof _0x83577e==_0x4ed889(0x26e)&&(_0x83577e=_0x4fdf0a[_0x4ed889(0x2e4)](_0x83577e)),this[_0x4ed889(0x29d)][_0x4ed889(0x387)](_0x83577e),this[_0x4ed889(0x1a4)]+=_0x83577e[_0x4ed889(0x360)];},'_process':function(_0x4f4698){var _0x5af14c=_0x501bae,_0x30feb6,_0x7831f3=this[_0x5af14c(0x29d)],_0x2d4886=_0x7831f3[_0x5af14c(0xfe)],_0xaac485=_0x7831f3[_0x5af14c(0x360)],_0xf9887a=this[_0x5af14c(0x2ea)],_0xef2e83=_0xf9887a*0x4,_0x1dab40=_0xaac485/_0xef2e83;_0x4f4698?_0x1dab40=_0x64ea85[_0x5af14c(0x1bf)](_0x1dab40):_0x1dab40=_0x64ea85[_0x5af14c(0x209)]((_0x1dab40|0x0)-this[_0x5af14c(0x2b3)],0x0);var _0x3bfc2a=_0x1dab40*_0xf9887a,_0x279aab=_0x64ea85['min'](_0x3bfc2a*0x4,_0xaac485);if(_0x3bfc2a){for(var _0x266a2=0x0;_0x266a2<_0x3bfc2a;_0x266a2+=_0xf9887a)this[_0x5af14c(0x1b3)](_0x2d4886,_0x266a2);_0x30feb6=_0x2d4886[_0x5af14c(0x323)](0x0,_0x3bfc2a),_0x7831f3[_0x5af14c(0x360)]-=_0x279aab;}return new _0x59d0e4[(_0x5af14c(0x127))](_0x30feb6,_0x279aab);},'clone':function(){var _0x337442=_0x501bae,_0x136f63=_0x594197[_0x337442(0x2b0)][_0x337442(0x20b)](this);return _0x136f63['_data']=this[_0x337442(0x29d)]['clone'](),_0x136f63;},'_minBufferSize':0x0});_0x2c1184[_0x501bae(0x196)]=_0x99a715[_0x501bae(0x3c0)]({'cfg':_0x594197[_0x501bae(0x3c0)](),'init':function(_0x596100){var _0x42057a=_0x501bae;this[_0x42057a(0x27f)]=this[_0x42057a(0x27f)][_0x42057a(0x3c0)](_0x596100),this['reset']();},'reset':function(){var _0x4a0ebf=_0x501bae;_0x99a715[_0x4a0ebf(0x376)][_0x4a0ebf(0x20b)](this),this[_0x4a0ebf(0x3b1)]();},'update':function(_0x334a2c){var _0x40d686=_0x501bae;return this[_0x40d686(0x36a)](_0x334a2c),this[_0x40d686(0x231)](),this;},'finalize':function(_0x527eb4){var _0xbd155e=_0x501bae;_0x527eb4&&this[_0xbd155e(0x36a)](_0x527eb4);var _0x8f347c=this[_0xbd155e(0x150)]();return _0x8f347c;},'blockSize':0x10,'_createHelper':function(_0x1104fa){return function(_0xa08c1a,_0x2e3771){var _0xa475d6=_0x1459;return new _0x1104fa[(_0xa475d6(0x127))](_0x2e3771)[_0xa475d6(0x1f7)](_0xa08c1a);};},'_createHmacHelper':function(_0x1e6e31){return function(_0x3d7dc0,_0x48bebb){var _0x23ee1e=_0x1459;return new _0x4d08fa[(_0x23ee1e(0x3de))][(_0x23ee1e(0x127))](_0x1e6e31,_0x48bebb)['finalize'](_0x3d7dc0);};}});var _0x4d08fa=_0x3c4f94['algo']={};return _0x3c4f94;}(Math);return _0xb78605;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){var _0x554541=_0x40e481;return Zt||(Zt=0x1,function(_0x1e2f4e,_0xdac056){(function(_0xad1979,_0x5c3990){_0x1e2f4e['exports']=_0x5c3990(ie());}(Es,function(_0x4abc6e){var _0x72acf4=_0x1459;return(function(){var _0x24c868=_0x1459,_0x2fc237=_0x4abc6e,_0x13094c=_0x2fc237[_0x24c868(0x22f)],_0x3e25bf=_0x13094c[_0x24c868(0x260)],_0x15a4f0=_0x2fc237['enc'];_0x15a4f0[_0x24c868(0x2d9)]={'stringify':function(_0x43307f){var _0x1e6fd2=_0x24c868,_0xd12dd1=_0x43307f[_0x1e6fd2(0xfe)],_0x554320=_0x43307f['sigBytes'],_0x2e7c50=this['_map'];_0x43307f['clamp']();for(var _0xc77db8=[],_0x5e8cb3=0x0;_0x5e8cb3<_0x554320;_0x5e8cb3+=0x3)for(var _0x2e1464=_0xd12dd1[_0x5e8cb3>>>0x2]>>>0x18-_0x5e8cb3%0x4*0x8&0xff,_0x598de1=_0xd12dd1[_0x5e8cb3+0x1>>>0x2]>>>0x18-(_0x5e8cb3+0x1)%0x4*0x8&0xff,_0x3e9b29=_0xd12dd1[_0x5e8cb3+0x2>>>0x2]>>>0x18-(_0x5e8cb3+0x2)%0x4*0x8&0xff,_0x27c9e3=_0x2e1464<<0x10|_0x598de1<<0x8|_0x3e9b29,_0x4c579c=0x0;_0x4c579c<0x4&&_0x5e8cb3+_0x4c579c*0.75<_0x554320;_0x4c579c++)_0xc77db8['push'](_0x2e7c50[_0x1e6fd2(0x2ae)](_0x27c9e3>>>0x6*(0x3-_0x4c579c)&0x3f));var _0x25e15f=_0x2e7c50[_0x1e6fd2(0x2ae)](0x40);if(_0x25e15f){for(;_0xc77db8['length']%0x4;)_0xc77db8[_0x1e6fd2(0xeb)](_0x25e15f);}return _0xc77db8[_0x1e6fd2(0x22b)]('');},'parse':function(_0xf9a9e3){var _0x4c0de3=_0x24c868,_0xd11fc7=_0xf9a9e3[_0x4c0de3(0x299)],_0x51a683=this[_0x4c0de3(0x2f0)],_0x1a8bcb=this[_0x4c0de3(0x390)];if(!_0x1a8bcb){_0x1a8bcb=this[_0x4c0de3(0x390)]=[];for(var _0x4309ce=0x0;_0x4309ce<_0x51a683[_0x4c0de3(0x299)];_0x4309ce++)_0x1a8bcb[_0x51a683[_0x4c0de3(0x33f)](_0x4309ce)]=_0x4309ce;}var _0x4df97a=_0x51a683[_0x4c0de3(0x2ae)](0x40);if(_0x4df97a){var _0x4b1a7d=_0xf9a9e3['indexOf'](_0x4df97a);_0x4b1a7d!==-0x1&&(_0xd11fc7=_0x4b1a7d);}return _0x51976f(_0xf9a9e3,_0xd11fc7,_0x1a8bcb);},'_map':_0x24c868(0x1f9)};function _0x51976f(_0x37a67f,_0x218d8b,_0x3b254a){var _0x554403=_0x24c868;for(var _0x567c78=[],_0x4c58e0=0x0,_0x246c16=0x0;_0x246c16<_0x218d8b;_0x246c16++)if(_0x246c16%0x4){var _0x5d00f8=_0x3b254a[_0x37a67f[_0x554403(0x33f)](_0x246c16-0x1)]<<_0x246c16%0x4*0x2,_0x29367b=_0x3b254a[_0x37a67f[_0x554403(0x33f)](_0x246c16)]>>>0x6-_0x246c16%0x4*0x2,_0x98df71=_0x5d00f8|_0x29367b;_0x567c78[_0x4c58e0>>>0x2]|=_0x98df71<<0x18-_0x4c58e0%0x4*0x8,_0x4c58e0++;}return _0x3e25bf[_0x554403(0x1d2)](_0x567c78,_0x4c58e0);}}()),_0x4abc6e[_0x72acf4(0x153)][_0x72acf4(0x2d9)];}));}(We)),We[_0x554541(0x363)];}var Ke={'exports':{}},Is=Ke[_0x40e481(0x363)],Qt;function Ts(){return Qt||(Qt=0x1,function(_0xad664a,_0x3a3583){(function(_0x54a7b9,_0x5b1186){var _0xf8b9e1=_0x1459;_0xad664a[_0xf8b9e1(0x363)]=_0x5b1186(ie());}(Is,function(_0xc0ce3){return function(_0x4406a8){var _0x34f249=_0x1459,_0x394431=_0xc0ce3,_0x3cbd31=_0x394431[_0x34f249(0x22f)],_0x1d8e05=_0x3cbd31['WordArray'],_0x3cfaec=_0x3cbd31[_0x34f249(0x196)],_0x355387=_0x394431[_0x34f249(0x15d)],_0x4a06aa=[];(function(){var _0x221ebe=_0x34f249;for(var _0x39070f=0x0;_0x39070f<0x40;_0x39070f++)_0x4a06aa[_0x39070f]=_0x4406a8[_0x221ebe(0x141)](_0x4406a8[_0x221ebe(0x3c5)](_0x39070f+0x1))*0x100000000|0x0;}());var _0x18880a=_0x355387[_0x34f249(0x1d1)]=_0x3cfaec[_0x34f249(0x3c0)]({'_doReset':function(){var _0x4ccff0=_0x34f249;this['_hash']=new _0x1d8e05[(_0x4ccff0(0x127))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2b771f,_0x2ff4b7){var _0x414341=_0x34f249;for(var _0x180757=0x0;_0x180757<0x10;_0x180757++){var _0xc5796d=_0x2ff4b7+_0x180757,_0x16ad51=_0x2b771f[_0xc5796d];_0x2b771f[_0xc5796d]=(_0x16ad51<<0x8|_0x16ad51>>>0x18)&0xff00ff|(_0x16ad51<<0x18|_0x16ad51>>>0x8)&0xff00ff00;}var _0x361d3d=this[_0x414341(0x32f)][_0x414341(0xfe)],_0x2be33f=_0x2b771f[_0x2ff4b7+0x0],_0x431343=_0x2b771f[_0x2ff4b7+0x1],_0x9a61e0=_0x2b771f[_0x2ff4b7+0x2],_0x1c4628=_0x2b771f[_0x2ff4b7+0x3],_0x3afac6=_0x2b771f[_0x2ff4b7+0x4],_0x13f59f=_0x2b771f[_0x2ff4b7+0x5],_0x4374b2=_0x2b771f[_0x2ff4b7+0x6],_0x35fa00=_0x2b771f[_0x2ff4b7+0x7],_0x31d329=_0x2b771f[_0x2ff4b7+0x8],_0x5b78b9=_0x2b771f[_0x2ff4b7+0x9],_0x2df8bc=_0x2b771f[_0x2ff4b7+0xa],_0x574bf0=_0x2b771f[_0x2ff4b7+0xb],_0x8b2397=_0x2b771f[_0x2ff4b7+0xc],_0x3120a0=_0x2b771f[_0x2ff4b7+0xd],_0x240975=_0x2b771f[_0x2ff4b7+0xe],_0x57be2f=_0x2b771f[_0x2ff4b7+0xf],_0x42f753=_0x361d3d[0x0],_0x57782c=_0x361d3d[0x1],_0x17c75a=_0x361d3d[0x2],_0x183a21=_0x361d3d[0x3];_0x42f753=_0x862eb6(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x2be33f,0x7,_0x4a06aa[0x0]),_0x183a21=_0x862eb6(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x431343,0xc,_0x4a06aa[0x1]),_0x17c75a=_0x862eb6(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x9a61e0,0x11,_0x4a06aa[0x2]),_0x57782c=_0x862eb6(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x1c4628,0x16,_0x4a06aa[0x3]),_0x42f753=_0x862eb6(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x3afac6,0x7,_0x4a06aa[0x4]),_0x183a21=_0x862eb6(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x13f59f,0xc,_0x4a06aa[0x5]),_0x17c75a=_0x862eb6(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x4374b2,0x11,_0x4a06aa[0x6]),_0x57782c=_0x862eb6(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x35fa00,0x16,_0x4a06aa[0x7]),_0x42f753=_0x862eb6(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x31d329,0x7,_0x4a06aa[0x8]),_0x183a21=_0x862eb6(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x5b78b9,0xc,_0x4a06aa[0x9]),_0x17c75a=_0x862eb6(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x2df8bc,0x11,_0x4a06aa[0xa]),_0x57782c=_0x862eb6(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x574bf0,0x16,_0x4a06aa[0xb]),_0x42f753=_0x862eb6(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x8b2397,0x7,_0x4a06aa[0xc]),_0x183a21=_0x862eb6(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x3120a0,0xc,_0x4a06aa[0xd]),_0x17c75a=_0x862eb6(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x240975,0x11,_0x4a06aa[0xe]),_0x57782c=_0x862eb6(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x57be2f,0x16,_0x4a06aa[0xf]),_0x42f753=_0x19ae0f(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x431343,0x5,_0x4a06aa[0x10]),_0x183a21=_0x19ae0f(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x4374b2,0x9,_0x4a06aa[0x11]),_0x17c75a=_0x19ae0f(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x574bf0,0xe,_0x4a06aa[0x12]),_0x57782c=_0x19ae0f(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x2be33f,0x14,_0x4a06aa[0x13]),_0x42f753=_0x19ae0f(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x13f59f,0x5,_0x4a06aa[0x14]),_0x183a21=_0x19ae0f(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x2df8bc,0x9,_0x4a06aa[0x15]),_0x17c75a=_0x19ae0f(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x57be2f,0xe,_0x4a06aa[0x16]),_0x57782c=_0x19ae0f(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x3afac6,0x14,_0x4a06aa[0x17]),_0x42f753=_0x19ae0f(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x5b78b9,0x5,_0x4a06aa[0x18]),_0x183a21=_0x19ae0f(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x240975,0x9,_0x4a06aa[0x19]),_0x17c75a=_0x19ae0f(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x1c4628,0xe,_0x4a06aa[0x1a]),_0x57782c=_0x19ae0f(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x31d329,0x14,_0x4a06aa[0x1b]),_0x42f753=_0x19ae0f(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x3120a0,0x5,_0x4a06aa[0x1c]),_0x183a21=_0x19ae0f(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x9a61e0,0x9,_0x4a06aa[0x1d]),_0x17c75a=_0x19ae0f(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x35fa00,0xe,_0x4a06aa[0x1e]),_0x57782c=_0x19ae0f(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x8b2397,0x14,_0x4a06aa[0x1f]),_0x42f753=_0x499bed(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x13f59f,0x4,_0x4a06aa[0x20]),_0x183a21=_0x499bed(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x31d329,0xb,_0x4a06aa[0x21]),_0x17c75a=_0x499bed(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x574bf0,0x10,_0x4a06aa[0x22]),_0x57782c=_0x499bed(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x240975,0x17,_0x4a06aa[0x23]),_0x42f753=_0x499bed(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x431343,0x4,_0x4a06aa[0x24]),_0x183a21=_0x499bed(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x3afac6,0xb,_0x4a06aa[0x25]),_0x17c75a=_0x499bed(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x35fa00,0x10,_0x4a06aa[0x26]),_0x57782c=_0x499bed(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x2df8bc,0x17,_0x4a06aa[0x27]),_0x42f753=_0x499bed(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x3120a0,0x4,_0x4a06aa[0x28]),_0x183a21=_0x499bed(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x2be33f,0xb,_0x4a06aa[0x29]),_0x17c75a=_0x499bed(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x1c4628,0x10,_0x4a06aa[0x2a]),_0x57782c=_0x499bed(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x4374b2,0x17,_0x4a06aa[0x2b]),_0x42f753=_0x499bed(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x5b78b9,0x4,_0x4a06aa[0x2c]),_0x183a21=_0x499bed(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x8b2397,0xb,_0x4a06aa[0x2d]),_0x17c75a=_0x499bed(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x57be2f,0x10,_0x4a06aa[0x2e]),_0x57782c=_0x499bed(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x9a61e0,0x17,_0x4a06aa[0x2f]),_0x42f753=_0x28aec0(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x2be33f,0x6,_0x4a06aa[0x30]),_0x183a21=_0x28aec0(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x35fa00,0xa,_0x4a06aa[0x31]),_0x17c75a=_0x28aec0(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x240975,0xf,_0x4a06aa[0x32]),_0x57782c=_0x28aec0(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x13f59f,0x15,_0x4a06aa[0x33]),_0x42f753=_0x28aec0(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x8b2397,0x6,_0x4a06aa[0x34]),_0x183a21=_0x28aec0(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x1c4628,0xa,_0x4a06aa[0x35]),_0x17c75a=_0x28aec0(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x2df8bc,0xf,_0x4a06aa[0x36]),_0x57782c=_0x28aec0(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x431343,0x15,_0x4a06aa[0x37]),_0x42f753=_0x28aec0(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x31d329,0x6,_0x4a06aa[0x38]),_0x183a21=_0x28aec0(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x57be2f,0xa,_0x4a06aa[0x39]),_0x17c75a=_0x28aec0(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x4374b2,0xf,_0x4a06aa[0x3a]),_0x57782c=_0x28aec0(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x3120a0,0x15,_0x4a06aa[0x3b]),_0x42f753=_0x28aec0(_0x42f753,_0x57782c,_0x17c75a,_0x183a21,_0x3afac6,0x6,_0x4a06aa[0x3c]),_0x183a21=_0x28aec0(_0x183a21,_0x42f753,_0x57782c,_0x17c75a,_0x574bf0,0xa,_0x4a06aa[0x3d]),_0x17c75a=_0x28aec0(_0x17c75a,_0x183a21,_0x42f753,_0x57782c,_0x9a61e0,0xf,_0x4a06aa[0x3e]),_0x57782c=_0x28aec0(_0x57782c,_0x17c75a,_0x183a21,_0x42f753,_0x5b78b9,0x15,_0x4a06aa[0x3f]),_0x361d3d[0x0]=_0x361d3d[0x0]+_0x42f753|0x0,_0x361d3d[0x1]=_0x361d3d[0x1]+_0x57782c|0x0,_0x361d3d[0x2]=_0x361d3d[0x2]+_0x17c75a|0x0,_0x361d3d[0x3]=_0x361d3d[0x3]+_0x183a21|0x0;},'_doFinalize':function(){var _0x339b86=_0x34f249,_0x20dc7a=this['_data'],_0x40ed0c=_0x20dc7a[_0x339b86(0xfe)],_0x17e48c=this[_0x339b86(0x1a4)]*0x8,_0x876519=_0x20dc7a['sigBytes']*0x8;_0x40ed0c[_0x876519>>>0x5]|=0x80<<0x18-_0x876519%0x20;var _0x4b647c=_0x4406a8['floor'](_0x17e48c/0x100000000),_0xe509be=_0x17e48c;_0x40ed0c[(_0x876519+0x40>>>0x9<<0x4)+0xf]=(_0x4b647c<<0x8|_0x4b647c>>>0x18)&0xff00ff|(_0x4b647c<<0x18|_0x4b647c>>>0x8)&0xff00ff00,_0x40ed0c[(_0x876519+0x40>>>0x9<<0x4)+0xe]=(_0xe509be<<0x8|_0xe509be>>>0x18)&0xff00ff|(_0xe509be<<0x18|_0xe509be>>>0x8)&0xff00ff00,_0x20dc7a[_0x339b86(0x360)]=(_0x40ed0c['length']+0x1)*0x4,this[_0x339b86(0x231)]();for(var _0x586e93=this['_hash'],_0x39c62f=_0x586e93['words'],_0x2a0688=0x0;_0x2a0688<0x4;_0x2a0688++){var _0x474917=_0x39c62f[_0x2a0688];_0x39c62f[_0x2a0688]=(_0x474917<<0x8|_0x474917>>>0x18)&0xff00ff|(_0x474917<<0x18|_0x474917>>>0x8)&0xff00ff00;}return _0x586e93;},'clone':function(){var _0x35376c=_0x34f249,_0x42e439=_0x3cfaec[_0x35376c(0x2b0)][_0x35376c(0x20b)](this);return _0x42e439['_hash']=this[_0x35376c(0x32f)][_0x35376c(0x2b0)](),_0x42e439;}});function _0x862eb6(_0x1dfe90,_0x5582c7,_0x411e87,_0x11f3b7,_0x5c212f,_0x3bb69c,_0x4b99a3){var _0x10197d=_0x1dfe90+(_0x5582c7&_0x411e87|~_0x5582c7&_0x11f3b7)+_0x5c212f+_0x4b99a3;return(_0x10197d<<_0x3bb69c|_0x10197d>>>0x20-_0x3bb69c)+_0x5582c7;}function _0x19ae0f(_0x5dfc44,_0xe1dc1c,_0x218260,_0x45844e,_0x291758,_0x1290e2,_0x1fec2f){var _0x4a81ef=_0x5dfc44+(_0xe1dc1c&_0x45844e|_0x218260&~_0x45844e)+_0x291758+_0x1fec2f;return(_0x4a81ef<<_0x1290e2|_0x4a81ef>>>0x20-_0x1290e2)+_0xe1dc1c;}function _0x499bed(_0x1217df,_0x4377b8,_0x469358,_0x32aaee,_0x2e830a,_0x23709f,_0x2ba644){var _0x1b72ac=_0x1217df+(_0x4377b8^_0x469358^_0x32aaee)+_0x2e830a+_0x2ba644;return(_0x1b72ac<<_0x23709f|_0x1b72ac>>>0x20-_0x23709f)+_0x4377b8;}function _0x28aec0(_0xa563d6,_0x4116e8,_0x11dcc4,_0xe2cb6c,_0x26b517,_0x4c5b10,_0xdff67d){var _0x3e9ecf=_0xa563d6+(_0x11dcc4^(_0x4116e8|~_0xe2cb6c))+_0x26b517+_0xdff67d;return(_0x3e9ecf<<_0x4c5b10|_0x3e9ecf>>>0x20-_0x4c5b10)+_0x4116e8;}_0x394431[_0x34f249(0x1d1)]=_0x3cfaec[_0x34f249(0x2bf)](_0x18880a),_0x394431[_0x34f249(0x391)]=_0x3cfaec[_0x34f249(0x3b8)](_0x18880a);}(Math),_0xc0ce3['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x40e481(0x363)],ei;function Rs(){var _0x4cc459=_0x40e481;return ei||(ei=0x1,function(_0x11dc60,_0x1aedde){(function(_0x1bf943,_0x3afb63){var _0x441e21=_0x1459;_0x11dc60[_0x441e21(0x363)]=_0x3afb63(ie());}(Cs,function(_0x2d5b4f){var _0x37ba5e=_0x1459;return(function(){var _0x4a7864=_0x1459,_0x166d32=_0x2d5b4f,_0x4f2497=_0x166d32[_0x4a7864(0x22f)],_0x5b6fa4=_0x4f2497['WordArray'],_0x4dbfa7=_0x4f2497['Hasher'],_0x5abc03=_0x166d32['algo'],_0x569d9d=[],_0x54cf34=_0x5abc03['SHA1']=_0x4dbfa7['extend']({'_doReset':function(){var _0x116c67=_0x4a7864;this[_0x116c67(0x32f)]=new _0x5b6fa4[(_0x116c67(0x127))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x30d79f,_0x583ab9){var _0x217c2d=_0x4a7864;for(var _0x56ff4a=this['_hash'][_0x217c2d(0xfe)],_0x41bc27=_0x56ff4a[0x0],_0x1cc4e3=_0x56ff4a[0x1],_0x3eed70=_0x56ff4a[0x2],_0x10f346=_0x56ff4a[0x3],_0x4ba902=_0x56ff4a[0x4],_0x52ccc0=0x0;_0x52ccc0<0x50;_0x52ccc0++){if(_0x52ccc0<0x10)_0x569d9d[_0x52ccc0]=_0x30d79f[_0x583ab9+_0x52ccc0]|0x0;else{var _0x178880=_0x569d9d[_0x52ccc0-0x3]^_0x569d9d[_0x52ccc0-0x8]^_0x569d9d[_0x52ccc0-0xe]^_0x569d9d[_0x52ccc0-0x10];_0x569d9d[_0x52ccc0]=_0x178880<<0x1|_0x178880>>>0x1f;}var _0x51da20=(_0x41bc27<<0x5|_0x41bc27>>>0x1b)+_0x4ba902+_0x569d9d[_0x52ccc0];_0x52ccc0<0x14?_0x51da20+=(_0x1cc4e3&_0x3eed70|~_0x1cc4e3&_0x10f346)+0x5a827999:_0x52ccc0<0x28?_0x51da20+=(_0x1cc4e3^_0x3eed70^_0x10f346)+0x6ed9eba1:_0x52ccc0<0x3c?_0x51da20+=(_0x1cc4e3&_0x3eed70|_0x1cc4e3&_0x10f346|_0x3eed70&_0x10f346)-0x70e44324:_0x51da20+=(_0x1cc4e3^_0x3eed70^_0x10f346)-0x359d3e2a,_0x4ba902=_0x10f346,_0x10f346=_0x3eed70,_0x3eed70=_0x1cc4e3<<0x1e|_0x1cc4e3>>>0x2,_0x1cc4e3=_0x41bc27,_0x41bc27=_0x51da20;}_0x56ff4a[0x0]=_0x56ff4a[0x0]+_0x41bc27|0x0,_0x56ff4a[0x1]=_0x56ff4a[0x1]+_0x1cc4e3|0x0,_0x56ff4a[0x2]=_0x56ff4a[0x2]+_0x3eed70|0x0,_0x56ff4a[0x3]=_0x56ff4a[0x3]+_0x10f346|0x0,_0x56ff4a[0x4]=_0x56ff4a[0x4]+_0x4ba902|0x0;},'_doFinalize':function(){var _0x5af0ca=_0x4a7864,_0x397043=this['_data'],_0x2a0ef4=_0x397043['words'],_0x49207c=this[_0x5af0ca(0x1a4)]*0x8,_0x400c56=_0x397043[_0x5af0ca(0x360)]*0x8;return _0x2a0ef4[_0x400c56>>>0x5]|=0x80<<0x18-_0x400c56%0x20,_0x2a0ef4[(_0x400c56+0x40>>>0x9<<0x4)+0xe]=Math[_0x5af0ca(0x392)](_0x49207c/0x100000000),_0x2a0ef4[(_0x400c56+0x40>>>0x9<<0x4)+0xf]=_0x49207c,_0x397043[_0x5af0ca(0x360)]=_0x2a0ef4[_0x5af0ca(0x299)]*0x4,this['_process'](),this[_0x5af0ca(0x32f)];},'clone':function(){var _0x4a06ef=_0x4a7864,_0x12cc8f=_0x4dbfa7[_0x4a06ef(0x2b0)][_0x4a06ef(0x20b)](this);return _0x12cc8f[_0x4a06ef(0x32f)]=this[_0x4a06ef(0x32f)][_0x4a06ef(0x2b0)](),_0x12cc8f;}});_0x166d32[_0x4a7864(0x1c1)]=_0x4dbfa7[_0x4a7864(0x2bf)](_0x54cf34),_0x166d32[_0x4a7864(0x3a9)]=_0x4dbfa7[_0x4a7864(0x3b8)](_0x54cf34);}()),_0x2d5b4f[_0x37ba5e(0x1c1)];}));}(qe)),qe[_0x4cc459(0x363)];}var ze={'exports':{}},bs=ze[_0x40e481(0x363)],ti;function ys(){var _0x220fad=_0x40e481;return ti||(ti=0x1,function(_0x5b6062,_0x5201f5){(function(_0x11eb9f,_0x2b9800){var _0x4e50b9=_0x1459;_0x5b6062[_0x4e50b9(0x363)]=_0x2b9800(ie());}(bs,function(_0x26ba59){(function(){var _0x267a55=_0x1459,_0x5f3f9d=_0x26ba59,_0x255900=_0x5f3f9d[_0x267a55(0x22f)],_0x5c8dd9=_0x255900[_0x267a55(0x1ff)],_0xd05bcc=_0x5f3f9d[_0x267a55(0x153)],_0x2d56f4=_0xd05bcc['Utf8'],_0x6347ab=_0x5f3f9d[_0x267a55(0x15d)];_0x6347ab[_0x267a55(0x3de)]=_0x5c8dd9[_0x267a55(0x3c0)]({'init':function(_0x3bf72f,_0xf41bad){var _0x5a5a96=_0x267a55;_0x3bf72f=this[_0x5a5a96(0x29b)]=new _0x3bf72f[(_0x5a5a96(0x127))](),typeof _0xf41bad==_0x5a5a96(0x26e)&&(_0xf41bad=_0x2d56f4[_0x5a5a96(0x2e4)](_0xf41bad));var _0x434d78=_0x3bf72f[_0x5a5a96(0x2ea)],_0x2f448d=_0x434d78*0x4;_0xf41bad[_0x5a5a96(0x360)]>_0x2f448d&&(_0xf41bad=_0x3bf72f[_0x5a5a96(0x1f7)](_0xf41bad)),_0xf41bad[_0x5a5a96(0x328)]();for(var _0x19364d=this[_0x5a5a96(0x389)]=_0xf41bad[_0x5a5a96(0x2b0)](),_0x2bf6fa=this[_0x5a5a96(0x3c6)]=_0xf41bad[_0x5a5a96(0x2b0)](),_0x25ca43=_0x19364d[_0x5a5a96(0xfe)],_0x22bd0d=_0x2bf6fa[_0x5a5a96(0xfe)],_0x3b46fe=0x0;_0x3b46fe<_0x434d78;_0x3b46fe++)_0x25ca43[_0x3b46fe]^=0x5c5c5c5c,_0x22bd0d[_0x3b46fe]^=0x36363636;_0x19364d['sigBytes']=_0x2bf6fa[_0x5a5a96(0x360)]=_0x2f448d,this[_0x5a5a96(0x376)]();},'reset':function(){var _0x250be6=_0x267a55,_0x2da493=this[_0x250be6(0x29b)];_0x2da493[_0x250be6(0x376)](),_0x2da493['update'](this[_0x250be6(0x3c6)]);},'update':function(_0x2b1fc3){var _0x23b9f7=_0x267a55;return this[_0x23b9f7(0x29b)][_0x23b9f7(0x2c9)](_0x2b1fc3),this;},'finalize':function(_0x7b96f4){var _0x5a4419=_0x267a55,_0x114b7d=this['_hasher'],_0x42289b=_0x114b7d[_0x5a4419(0x1f7)](_0x7b96f4);_0x114b7d[_0x5a4419(0x376)]();var _0x4baf09=_0x114b7d['finalize'](this['_oKey'][_0x5a4419(0x2b0)]()[_0x5a4419(0x387)](_0x42289b));return _0x4baf09;}});}());}));}(ze)),ze[_0x220fad(0x363)];}var Os=Ye[_0x40e481(0x363)],ii;function Ui(){var _0x2b00cc=_0x40e481;return ii||(ii=0x1,function(_0x4639bf,_0x2ab41e){(function(_0x5147b4,_0x1efb01,_0x4e7338){var _0x110673=_0x1459;_0x4639bf[_0x110673(0x363)]=_0x1efb01(ie(),Rs(),ys());}(Os,function(_0x5ed97d){var _0x21c787=_0x1459;return(function(){var _0x32a508=_0x1459,_0x44bdd2=_0x5ed97d,_0x16747c=_0x44bdd2[_0x32a508(0x22f)],_0x4fdc41=_0x16747c[_0x32a508(0x1ff)],_0x274d67=_0x16747c[_0x32a508(0x260)],_0x5a6dde=_0x44bdd2[_0x32a508(0x15d)],_0x3adfb7=_0x5a6dde[_0x32a508(0x1d1)],_0x32a7e9=_0x5a6dde[_0x32a508(0x34e)]=_0x4fdc41[_0x32a508(0x3c0)]({'cfg':_0x4fdc41[_0x32a508(0x3c0)]({'keySize':0x80/0x20,'hasher':_0x3adfb7,'iterations':0x1}),'init':function(_0x32c96b){var _0x14c8e8=_0x32a508;this[_0x14c8e8(0x27f)]=this[_0x14c8e8(0x27f)][_0x14c8e8(0x3c0)](_0x32c96b);},'compute':function(_0xc38c38,_0x1055c4){var _0x2bb510=_0x32a508;for(var _0x1aff61,_0x3dc49f=this[_0x2bb510(0x27f)],_0x4306b9=_0x3dc49f['hasher'][_0x2bb510(0x1d2)](),_0x1d9951=_0x274d67[_0x2bb510(0x1d2)](),_0x3238cd=_0x1d9951[_0x2bb510(0xfe)],_0x4711ae=_0x3dc49f['keySize'],_0x2f1c83=_0x3dc49f[_0x2bb510(0x3d2)];_0x3238cd[_0x2bb510(0x299)]<_0x4711ae;){_0x1aff61&&_0x4306b9[_0x2bb510(0x2c9)](_0x1aff61),_0x1aff61=_0x4306b9[_0x2bb510(0x2c9)](_0xc38c38)[_0x2bb510(0x1f7)](_0x1055c4),_0x4306b9[_0x2bb510(0x376)]();for(var _0x53a6b1=0x1;_0x53a6b1<_0x2f1c83;_0x53a6b1++)_0x1aff61=_0x4306b9[_0x2bb510(0x1f7)](_0x1aff61),_0x4306b9[_0x2bb510(0x376)]();_0x1d9951[_0x2bb510(0x387)](_0x1aff61);}return _0x1d9951[_0x2bb510(0x360)]=_0x4711ae*0x4,_0x1d9951;}});_0x44bdd2[_0x32a508(0x34e)]=function(_0x411884,_0x5d02e2,_0x5e27b8){var _0x494ba0=_0x32a508;return _0x32a7e9[_0x494ba0(0x1d2)](_0x5e27b8)[_0x494ba0(0x139)](_0x411884,_0x5d02e2);};}()),_0x5ed97d[_0x21c787(0x34e)];}));}(Ye)),Ye[_0x2b00cc(0x363)];}var Je={'exports':{}},Ns=Je[_0x40e481(0x363)],ni;function Ai(){var _0x419ee7=_0x40e481;return ni||(ni=0x1,function(_0x4583b8,_0x270794){(function(_0x26b6da,_0x1db550,_0x2a099e){var _0x4dd6b4=_0x1459;_0x4583b8[_0x4dd6b4(0x363)]=_0x1db550(ie(),Ui());}(Ns,function(_0x503100){var _0xcfc360=_0x1459;_0x503100['lib'][_0xcfc360(0x16b)]||function(_0x13cf7e){var _0xdd61b0=_0xcfc360,_0x41173c=_0x503100,_0x56cd27=_0x41173c['lib'],_0x2fd4fd=_0x56cd27[_0xdd61b0(0x1ff)],_0x5baa5f=_0x56cd27[_0xdd61b0(0x260)],_0xacfc57=_0x56cd27['BufferedBlockAlgorithm'],_0x2f0d8c=_0x41173c[_0xdd61b0(0x153)];_0x2f0d8c[_0xdd61b0(0x16f)];var _0x36082a=_0x2f0d8c[_0xdd61b0(0x2d9)],_0x35d521=_0x41173c[_0xdd61b0(0x15d)],_0x1982c1=_0x35d521[_0xdd61b0(0x34e)],_0x34f2d3=_0x56cd27[_0xdd61b0(0x16b)]=_0xacfc57['extend']({'cfg':_0x2fd4fd[_0xdd61b0(0x3c0)](),'createEncryptor':function(_0x534ce3,_0x23d9d0){var _0xf9c5c5=_0xdd61b0;return this[_0xf9c5c5(0x1d2)](this[_0xf9c5c5(0x1af)],_0x534ce3,_0x23d9d0);},'createDecryptor':function(_0x45f4ad,_0x5266c1){var _0x59487d=_0xdd61b0;return this['create'](this[_0x59487d(0x1db)],_0x45f4ad,_0x5266c1);},'init':function(_0x127faf,_0xe96e0f,_0x48b3c8){var _0x3c6578=_0xdd61b0;this[_0x3c6578(0x27f)]=this['cfg'][_0x3c6578(0x3c0)](_0x48b3c8),this[_0x3c6578(0x27a)]=_0x127faf,this[_0x3c6578(0x22e)]=_0xe96e0f,this[_0x3c6578(0x376)]();},'reset':function(){var _0x4ccf7e=_0xdd61b0;_0xacfc57['reset'][_0x4ccf7e(0x20b)](this),this[_0x4ccf7e(0x3b1)]();},'process':function(_0x4c6baf){var _0x14c22b=_0xdd61b0;return this[_0x14c22b(0x36a)](_0x4c6baf),this['_process']();},'finalize':function(_0x36a4e6){_0x36a4e6&&this['_append'](_0x36a4e6);var _0x30ac10=this['_doFinalize']();return _0x30ac10;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1b1d79(_0x1eac98){var _0x39f4c5=_0x1459;return typeof _0x1eac98==_0x39f4c5(0x26e)?_0x47aeaf:_0x346df9;}return function(_0x3d26ed){return{'encrypt':function(_0x14c79c,_0x5374dc,_0xd15184){return _0x1b1d79(_0x5374dc)['encrypt'](_0x3d26ed,_0x14c79c,_0x5374dc,_0xd15184);},'decrypt':function(_0x368805,_0x17026a,_0x37a4a6){var _0x8f6358=_0x1459;return _0x1b1d79(_0x17026a)[_0x8f6358(0x235)](_0x3d26ed,_0x368805,_0x17026a,_0x37a4a6);}};};}())});_0x56cd27[_0xdd61b0(0x23a)]=_0x34f2d3[_0xdd61b0(0x3c0)]({'_doFinalize':function(){var _0x1a7f6a=this['_process'](!0x0);return _0x1a7f6a;},'blockSize':0x1});var _0x1bddee=_0x41173c['mode']={},_0x49c48f=_0x56cd27['BlockCipherMode']=_0x2fd4fd[_0xdd61b0(0x3c0)]({'createEncryptor':function(_0x106a59,_0x221c7c){var _0x22a69d=_0xdd61b0;return this['Encryptor'][_0x22a69d(0x1d2)](_0x106a59,_0x221c7c);},'createDecryptor':function(_0x37d632,_0x26ad91){var _0x32c7de=_0xdd61b0;return this[_0x32c7de(0x31f)][_0x32c7de(0x1d2)](_0x37d632,_0x26ad91);},'init':function(_0x11ee22,_0x26822e){this['_cipher']=_0x11ee22,this['_iv']=_0x26822e;}}),_0x109c66=_0x1bddee['CBC']=(function(){var _0x52d6e6=_0xdd61b0,_0x17c0c2=_0x49c48f['extend']();_0x17c0c2[_0x52d6e6(0x1fe)]=_0x17c0c2[_0x52d6e6(0x3c0)]({'processBlock':function(_0xba578b,_0x563270){var _0x5ed12e=_0x52d6e6,_0x49ad07=this[_0x5ed12e(0x242)],_0x1fad44=_0x49ad07['blockSize'];_0xce13d4[_0x5ed12e(0x20b)](this,_0xba578b,_0x563270,_0x1fad44),_0x49ad07[_0x5ed12e(0x398)](_0xba578b,_0x563270),this[_0x5ed12e(0x199)]=_0xba578b[_0x5ed12e(0x238)](_0x563270,_0x563270+_0x1fad44);}}),_0x17c0c2[_0x52d6e6(0x31f)]=_0x17c0c2[_0x52d6e6(0x3c0)]({'processBlock':function(_0x2aeaa5,_0x25718a){var _0x15b1c1=_0x52d6e6,_0x2a8b9a=this[_0x15b1c1(0x242)],_0x4f98bd=_0x2a8b9a['blockSize'],_0x5bebd1=_0x2aeaa5['slice'](_0x25718a,_0x25718a+_0x4f98bd);_0x2a8b9a['decryptBlock'](_0x2aeaa5,_0x25718a),_0xce13d4[_0x15b1c1(0x20b)](this,_0x2aeaa5,_0x25718a,_0x4f98bd),this[_0x15b1c1(0x199)]=_0x5bebd1;}});function _0xce13d4(_0x40478a,_0xeebb5c,_0x5bf57a){var _0x100e45=_0x52d6e6,_0x1ff941,_0x5db118=this[_0x100e45(0x10c)];_0x5db118?(_0x1ff941=_0x5db118,this['_iv']=_0x13cf7e):_0x1ff941=this[_0x100e45(0x199)];for(var _0x1dae40=0x0;_0x1dae40<_0x5bf57a;_0x1dae40++)_0x40478a[_0xeebb5c+_0x1dae40]^=_0x1ff941[_0x1dae40];}return _0x17c0c2;}()),_0x10d713=_0x41173c[_0xdd61b0(0x1b6)]={},_0x104f55=_0x10d713[_0xdd61b0(0x254)]={'pad':function(_0x39d23f,_0x3a8e26){var _0x4703cf=_0xdd61b0;for(var _0xa5a3d8=_0x3a8e26*0x4,_0x516b48=_0xa5a3d8-_0x39d23f['sigBytes']%_0xa5a3d8,_0x2e3f2=_0x516b48<<0x18|_0x516b48<<0x10|_0x516b48<<0x8|_0x516b48,_0x170202=[],_0x552a89=0x0;_0x552a89<_0x516b48;_0x552a89+=0x4)_0x170202[_0x4703cf(0xeb)](_0x2e3f2);var _0x23b240=_0x5baa5f[_0x4703cf(0x1d2)](_0x170202,_0x516b48);_0x39d23f['concat'](_0x23b240);},'unpad':function(_0x11a60c){var _0x15baec=_0xdd61b0,_0x9662e=_0x11a60c[_0x15baec(0xfe)][_0x11a60c[_0x15baec(0x360)]-0x1>>>0x2]&0xff;_0x11a60c[_0x15baec(0x360)]-=_0x9662e;}};_0x56cd27[_0xdd61b0(0x14c)]=_0x34f2d3[_0xdd61b0(0x3c0)]({'cfg':_0x34f2d3[_0xdd61b0(0x27f)]['extend']({'mode':_0x109c66,'padding':_0x104f55}),'reset':function(){var _0x4cb784=_0xdd61b0,_0x17611f;_0x34f2d3[_0x4cb784(0x376)][_0x4cb784(0x20b)](this);var _0x17b90a=this['cfg'],_0x19dfaf=_0x17b90a['iv'],_0x570017=_0x17b90a['mode'];this[_0x4cb784(0x27a)]==this[_0x4cb784(0x1af)]?_0x17611f=_0x570017[_0x4cb784(0x160)]:(_0x17611f=_0x570017[_0x4cb784(0x366)],this[_0x4cb784(0x2b3)]=0x1),this['_mode']&&this[_0x4cb784(0x26a)][_0x4cb784(0x38e)]==_0x17611f?this[_0x4cb784(0x26a)][_0x4cb784(0x127)](this,_0x19dfaf&&_0x19dfaf[_0x4cb784(0xfe)]):(this[_0x4cb784(0x26a)]=_0x17611f['call'](_0x570017,this,_0x19dfaf&&_0x19dfaf[_0x4cb784(0xfe)]),this[_0x4cb784(0x26a)][_0x4cb784(0x38e)]=_0x17611f);},'_doProcessBlock':function(_0x435ebb,_0x40ee3f){var _0x13adc0=_0xdd61b0;this[_0x13adc0(0x26a)][_0x13adc0(0x27d)](_0x435ebb,_0x40ee3f);},'_doFinalize':function(){var _0x158a30=_0xdd61b0,_0x447784,_0x27ac0c=this[_0x158a30(0x27f)]['padding'];return this['_xformMode']==this[_0x158a30(0x1af)]?(_0x27ac0c[_0x158a30(0x1b6)](this[_0x158a30(0x29d)],this[_0x158a30(0x2ea)]),_0x447784=this[_0x158a30(0x231)](!0x0)):(_0x447784=this[_0x158a30(0x231)](!0x0),_0x27ac0c[_0x158a30(0x338)](_0x447784)),_0x447784;},'blockSize':0x80/0x20});var _0x20bdbd=_0x56cd27['CipherParams']=_0x2fd4fd[_0xdd61b0(0x3c0)]({'init':function(_0x5d75a3){this['mixIn'](_0x5d75a3);},'toString':function(_0x196e4f){var _0x1500f0=_0xdd61b0;return(_0x196e4f||this[_0x1500f0(0x1ce)])[_0x1500f0(0x353)](this);}}),_0x240b18=_0x41173c[_0xdd61b0(0x1c7)]={},_0xae6f82=_0x240b18[_0xdd61b0(0x222)]={'stringify':function(_0x5bfddb){var _0x3bfd5d=_0xdd61b0,_0x2cefff,_0x34bc1c=_0x5bfddb['ciphertext'],_0x422827=_0x5bfddb[_0x3bfd5d(0x272)];return _0x422827?_0x2cefff=_0x5baa5f[_0x3bfd5d(0x1d2)]([0x53616c74,0x65645f5f])[_0x3bfd5d(0x387)](_0x422827)['concat'](_0x34bc1c):_0x2cefff=_0x34bc1c,_0x2cefff['toString'](_0x36082a);},'parse':function(_0x5f76e6){var _0x1e648a=_0xdd61b0,_0x46134d,_0x1466d3=_0x36082a[_0x1e648a(0x2e4)](_0x5f76e6),_0x1878a6=_0x1466d3[_0x1e648a(0xfe)];return _0x1878a6[0x0]==0x53616c74&&_0x1878a6[0x1]==0x65645f5f&&(_0x46134d=_0x5baa5f[_0x1e648a(0x1d2)](_0x1878a6[_0x1e648a(0x238)](0x2,0x4)),_0x1878a6[_0x1e648a(0x323)](0x0,0x4),_0x1466d3[_0x1e648a(0x360)]-=0x10),_0x20bdbd['create']({'ciphertext':_0x1466d3,'salt':_0x46134d});}},_0x346df9=_0x56cd27[_0xdd61b0(0xf8)]=_0x2fd4fd[_0xdd61b0(0x3c0)]({'cfg':_0x2fd4fd[_0xdd61b0(0x3c0)]({'format':_0xae6f82}),'encrypt':function(_0x3892a4,_0x2e843f,_0x655a60,_0x22b5f6){var _0x109c19=_0xdd61b0;_0x22b5f6=this[_0x109c19(0x27f)][_0x109c19(0x3c0)](_0x22b5f6);var _0x16bcac=_0x3892a4[_0x109c19(0x160)](_0x655a60,_0x22b5f6),_0x1dc7c3=_0x16bcac['finalize'](_0x2e843f),_0x29eece=_0x16bcac[_0x109c19(0x27f)];return _0x20bdbd[_0x109c19(0x1d2)]({'ciphertext':_0x1dc7c3,'key':_0x655a60,'iv':_0x29eece['iv'],'algorithm':_0x3892a4,'mode':_0x29eece['mode'],'padding':_0x29eece['padding'],'blockSize':_0x3892a4[_0x109c19(0x2ea)],'formatter':_0x22b5f6[_0x109c19(0x1c7)]});},'decrypt':function(_0xb78386,_0x57f9ac,_0x2fdac5,_0x349053){var _0xd39dd8=_0xdd61b0;_0x349053=this[_0xd39dd8(0x27f)][_0xd39dd8(0x3c0)](_0x349053),_0x57f9ac=this[_0xd39dd8(0x39d)](_0x57f9ac,_0x349053[_0xd39dd8(0x1c7)]);var _0x526762=_0xb78386['createDecryptor'](_0x2fdac5,_0x349053)['finalize'](_0x57f9ac['ciphertext']);return _0x526762;},'_parse':function(_0x402e25,_0x585dd7){var _0x486df2=_0xdd61b0;return typeof _0x402e25==_0x486df2(0x26e)?_0x585dd7[_0x486df2(0x2e4)](_0x402e25,this):_0x402e25;}}),_0x394b68=_0x41173c[_0xdd61b0(0x1e0)]={},_0x31c135=_0x394b68[_0xdd61b0(0x222)]={'execute':function(_0x533f92,_0x317b5a,_0x3025a8,_0x12cd3b,_0x2b565c){var _0x3ba4b1=_0xdd61b0;if(_0x12cd3b||(_0x12cd3b=_0x5baa5f['random'](0x40/0x8)),_0x2b565c)var _0x530bc1=_0x1982c1[_0x3ba4b1(0x1d2)]({'keySize':_0x317b5a+_0x3025a8,'hasher':_0x2b565c})['compute'](_0x533f92,_0x12cd3b);else var _0x530bc1=_0x1982c1[_0x3ba4b1(0x1d2)]({'keySize':_0x317b5a+_0x3025a8})[_0x3ba4b1(0x139)](_0x533f92,_0x12cd3b);var _0x5a91a7=_0x5baa5f['create'](_0x530bc1['words'][_0x3ba4b1(0x238)](_0x317b5a),_0x3025a8*0x4);return _0x530bc1['sigBytes']=_0x317b5a*0x4,_0x20bdbd[_0x3ba4b1(0x1d2)]({'key':_0x530bc1,'iv':_0x5a91a7,'salt':_0x12cd3b});}},_0x47aeaf=_0x56cd27[_0xdd61b0(0x3d1)]=_0x346df9[_0xdd61b0(0x3c0)]({'cfg':_0x346df9[_0xdd61b0(0x27f)]['extend']({'kdf':_0x31c135}),'encrypt':function(_0x566ddb,_0x5e2d44,_0x3ced88,_0x5f36c9){var _0x5fb0a5=_0xdd61b0;_0x5f36c9=this[_0x5fb0a5(0x27f)]['extend'](_0x5f36c9);var _0x4e9dd0=_0x5f36c9[_0x5fb0a5(0x1e0)]['execute'](_0x3ced88,_0x566ddb['keySize'],_0x566ddb[_0x5fb0a5(0x2ec)],_0x5f36c9[_0x5fb0a5(0x272)],_0x5f36c9[_0x5fb0a5(0x36f)]);_0x5f36c9['iv']=_0x4e9dd0['iv'];var _0x3fe462=_0x346df9[_0x5fb0a5(0x3c1)][_0x5fb0a5(0x20b)](this,_0x566ddb,_0x5e2d44,_0x4e9dd0[_0x5fb0a5(0x2f3)],_0x5f36c9);return _0x3fe462['mixIn'](_0x4e9dd0),_0x3fe462;},'decrypt':function(_0x4b5eb5,_0x413fd1,_0x4515b6,_0xb724c4){var _0x30dfca=_0xdd61b0;_0xb724c4=this[_0x30dfca(0x27f)]['extend'](_0xb724c4),_0x413fd1=this[_0x30dfca(0x39d)](_0x413fd1,_0xb724c4[_0x30dfca(0x1c7)]);var _0x282670=_0xb724c4[_0x30dfca(0x1e0)][_0x30dfca(0x3be)](_0x4515b6,_0x4b5eb5[_0x30dfca(0x3bd)],_0x4b5eb5[_0x30dfca(0x2ec)],_0x413fd1[_0x30dfca(0x272)],_0xb724c4[_0x30dfca(0x36f)]);_0xb724c4['iv']=_0x282670['iv'];var _0xa33cd0=_0x346df9[_0x30dfca(0x235)]['call'](this,_0x4b5eb5,_0x413fd1,_0x282670[_0x30dfca(0x2f3)],_0xb724c4);return _0xa33cd0;}});}();}));}(Je)),Je[_0x419ee7(0x363)];}var Ds=Ve['exports'],si;function Us(){var _0x25f5cc=_0x40e481;return si||(si=0x1,function(_0x1b2e90,_0x4ea11b){(function(_0x27105d,_0x3355c3,_0x18e74c){var _0x3192c7=_0x1459;_0x1b2e90[_0x3192c7(0x363)]=_0x3355c3(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x5cf7e9){return(function(){var _0x42b64c=_0x1459,_0x21bf93=_0x5cf7e9,_0x4c48a1=_0x21bf93['lib'],_0x56e048=_0x4c48a1[_0x42b64c(0x14c)],_0x4e6a1b=_0x21bf93[_0x42b64c(0x15d)],_0x42b48a=[],_0x400bc0=[],_0x3cad78=[],_0x3d5096=[],_0x39cb91=[],_0x1c4c86=[],_0x2db74c=[],_0x2a092f=[],_0xd6aa2a=[],_0x2e1e7d=[];(function(){for(var _0x2d4f9c=[],_0x34d5df=0x0;_0x34d5df<0x100;_0x34d5df++)_0x34d5df<0x80?_0x2d4f9c[_0x34d5df]=_0x34d5df<<0x1:_0x2d4f9c[_0x34d5df]=_0x34d5df<<0x1^0x11b;for(var _0xe050bf=0x0,_0x5bbd96=0x0,_0x34d5df=0x0;_0x34d5df<0x100;_0x34d5df++){var _0x45b80e=_0x5bbd96^_0x5bbd96<<0x1^_0x5bbd96<<0x2^_0x5bbd96<<0x3^_0x5bbd96<<0x4;_0x45b80e=_0x45b80e>>>0x8^_0x45b80e&0xff^0x63,_0x42b48a[_0xe050bf]=_0x45b80e,_0x400bc0[_0x45b80e]=_0xe050bf;var _0x516642=_0x2d4f9c[_0xe050bf],_0x6700f1=_0x2d4f9c[_0x516642],_0x1e5f1e=_0x2d4f9c[_0x6700f1],_0x1b9660=_0x2d4f9c[_0x45b80e]*0x101^_0x45b80e*0x1010100;_0x3cad78[_0xe050bf]=_0x1b9660<<0x18|_0x1b9660>>>0x8,_0x3d5096[_0xe050bf]=_0x1b9660<<0x10|_0x1b9660>>>0x10,_0x39cb91[_0xe050bf]=_0x1b9660<<0x8|_0x1b9660>>>0x18,_0x1c4c86[_0xe050bf]=_0x1b9660;var _0x1b9660=_0x1e5f1e*0x1010101^_0x6700f1*0x10001^_0x516642*0x101^_0xe050bf*0x1010100;_0x2db74c[_0x45b80e]=_0x1b9660<<0x18|_0x1b9660>>>0x8,_0x2a092f[_0x45b80e]=_0x1b9660<<0x10|_0x1b9660>>>0x10,_0xd6aa2a[_0x45b80e]=_0x1b9660<<0x8|_0x1b9660>>>0x18,_0x2e1e7d[_0x45b80e]=_0x1b9660,_0xe050bf?(_0xe050bf=_0x516642^_0x2d4f9c[_0x2d4f9c[_0x2d4f9c[_0x1e5f1e^_0x516642]]],_0x5bbd96^=_0x2d4f9c[_0x2d4f9c[_0x5bbd96]]):_0xe050bf=_0x5bbd96=0x1;}}());var _0x47718a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3bccac=_0x4e6a1b[_0x42b64c(0x3b2)]=_0x56e048[_0x42b64c(0x3c0)]({'_doReset':function(){var _0x4ebcc5=_0x42b64c,_0x5d9b52;if(!(this[_0x4ebcc5(0x22c)]&&this[_0x4ebcc5(0x2cd)]===this[_0x4ebcc5(0x22e)])){for(var _0x2d799e=this['_keyPriorReset']=this['_key'],_0x23c7f8=_0x2d799e[_0x4ebcc5(0xfe)],_0x44d8e3=_0x2d799e[_0x4ebcc5(0x360)]/0x4,_0x4d03dc=this[_0x4ebcc5(0x22c)]=_0x44d8e3+0x6,_0x255b1b=(_0x4d03dc+0x1)*0x4,_0x168802=this['_keySchedule']=[],_0x223084=0x0;_0x223084<_0x255b1b;_0x223084++)_0x223084<_0x44d8e3?_0x168802[_0x223084]=_0x23c7f8[_0x223084]:(_0x5d9b52=_0x168802[_0x223084-0x1],_0x223084%_0x44d8e3?_0x44d8e3>0x6&&_0x223084%_0x44d8e3==0x4&&(_0x5d9b52=_0x42b48a[_0x5d9b52>>>0x18]<<0x18|_0x42b48a[_0x5d9b52>>>0x10&0xff]<<0x10|_0x42b48a[_0x5d9b52>>>0x8&0xff]<<0x8|_0x42b48a[_0x5d9b52&0xff]):(_0x5d9b52=_0x5d9b52<<0x8|_0x5d9b52>>>0x18,_0x5d9b52=_0x42b48a[_0x5d9b52>>>0x18]<<0x18|_0x42b48a[_0x5d9b52>>>0x10&0xff]<<0x10|_0x42b48a[_0x5d9b52>>>0x8&0xff]<<0x8|_0x42b48a[_0x5d9b52&0xff],_0x5d9b52^=_0x47718a[_0x223084/_0x44d8e3|0x0]<<0x18),_0x168802[_0x223084]=_0x168802[_0x223084-_0x44d8e3]^_0x5d9b52);for(var _0x25fdbd=this[_0x4ebcc5(0x340)]=[],_0x3aa9c8=0x0;_0x3aa9c8<_0x255b1b;_0x3aa9c8++){var _0x223084=_0x255b1b-_0x3aa9c8;if(_0x3aa9c8%0x4)var _0x5d9b52=_0x168802[_0x223084];else var _0x5d9b52=_0x168802[_0x223084-0x4];_0x3aa9c8<0x4||_0x223084<=0x4?_0x25fdbd[_0x3aa9c8]=_0x5d9b52:_0x25fdbd[_0x3aa9c8]=_0x2db74c[_0x42b48a[_0x5d9b52>>>0x18]]^_0x2a092f[_0x42b48a[_0x5d9b52>>>0x10&0xff]]^_0xd6aa2a[_0x42b48a[_0x5d9b52>>>0x8&0xff]]^_0x2e1e7d[_0x42b48a[_0x5d9b52&0xff]];}}},'encryptBlock':function(_0x34bbf1,_0xd720f4){var _0x303d17=_0x42b64c;this[_0x303d17(0x143)](_0x34bbf1,_0xd720f4,this[_0x303d17(0x3dc)],_0x3cad78,_0x3d5096,_0x39cb91,_0x1c4c86,_0x42b48a);},'decryptBlock':function(_0xf29ba6,_0x388194){var _0xba097e=_0x42b64c,_0x207a2e=_0xf29ba6[_0x388194+0x1];_0xf29ba6[_0x388194+0x1]=_0xf29ba6[_0x388194+0x3],_0xf29ba6[_0x388194+0x3]=_0x207a2e,this[_0xba097e(0x143)](_0xf29ba6,_0x388194,this[_0xba097e(0x340)],_0x2db74c,_0x2a092f,_0xd6aa2a,_0x2e1e7d,_0x400bc0);var _0x207a2e=_0xf29ba6[_0x388194+0x1];_0xf29ba6[_0x388194+0x1]=_0xf29ba6[_0x388194+0x3],_0xf29ba6[_0x388194+0x3]=_0x207a2e;},'_doCryptBlock':function(_0x24e3c2,_0x4e7a16,_0x4cd5c1,_0x4ccf22,_0x53bb78,_0x18e45c,_0xa494fc,_0x102499){var _0x5728f5=_0x42b64c;for(var _0x221767=this[_0x5728f5(0x22c)],_0x5ef636=_0x24e3c2[_0x4e7a16]^_0x4cd5c1[0x0],_0x4f4160=_0x24e3c2[_0x4e7a16+0x1]^_0x4cd5c1[0x1],_0x47b718=_0x24e3c2[_0x4e7a16+0x2]^_0x4cd5c1[0x2],_0x55614d=_0x24e3c2[_0x4e7a16+0x3]^_0x4cd5c1[0x3],_0x4dcc3d=0x4,_0x30e44f=0x1;_0x30e44f<_0x221767;_0x30e44f++){var _0x57ca5c=_0x4ccf22[_0x5ef636>>>0x18]^_0x53bb78[_0x4f4160>>>0x10&0xff]^_0x18e45c[_0x47b718>>>0x8&0xff]^_0xa494fc[_0x55614d&0xff]^_0x4cd5c1[_0x4dcc3d++],_0x3bb802=_0x4ccf22[_0x4f4160>>>0x18]^_0x53bb78[_0x47b718>>>0x10&0xff]^_0x18e45c[_0x55614d>>>0x8&0xff]^_0xa494fc[_0x5ef636&0xff]^_0x4cd5c1[_0x4dcc3d++],_0x332226=_0x4ccf22[_0x47b718>>>0x18]^_0x53bb78[_0x55614d>>>0x10&0xff]^_0x18e45c[_0x5ef636>>>0x8&0xff]^_0xa494fc[_0x4f4160&0xff]^_0x4cd5c1[_0x4dcc3d++],_0x33121b=_0x4ccf22[_0x55614d>>>0x18]^_0x53bb78[_0x5ef636>>>0x10&0xff]^_0x18e45c[_0x4f4160>>>0x8&0xff]^_0xa494fc[_0x47b718&0xff]^_0x4cd5c1[_0x4dcc3d++];_0x5ef636=_0x57ca5c,_0x4f4160=_0x3bb802,_0x47b718=_0x332226,_0x55614d=_0x33121b;}var _0x57ca5c=(_0x102499[_0x5ef636>>>0x18]<<0x18|_0x102499[_0x4f4160>>>0x10&0xff]<<0x10|_0x102499[_0x47b718>>>0x8&0xff]<<0x8|_0x102499[_0x55614d&0xff])^_0x4cd5c1[_0x4dcc3d++],_0x3bb802=(_0x102499[_0x4f4160>>>0x18]<<0x18|_0x102499[_0x47b718>>>0x10&0xff]<<0x10|_0x102499[_0x55614d>>>0x8&0xff]<<0x8|_0x102499[_0x5ef636&0xff])^_0x4cd5c1[_0x4dcc3d++],_0x332226=(_0x102499[_0x47b718>>>0x18]<<0x18|_0x102499[_0x55614d>>>0x10&0xff]<<0x10|_0x102499[_0x5ef636>>>0x8&0xff]<<0x8|_0x102499[_0x4f4160&0xff])^_0x4cd5c1[_0x4dcc3d++],_0x33121b=(_0x102499[_0x55614d>>>0x18]<<0x18|_0x102499[_0x5ef636>>>0x10&0xff]<<0x10|_0x102499[_0x4f4160>>>0x8&0xff]<<0x8|_0x102499[_0x47b718&0xff])^_0x4cd5c1[_0x4dcc3d++];_0x24e3c2[_0x4e7a16]=_0x57ca5c,_0x24e3c2[_0x4e7a16+0x1]=_0x3bb802,_0x24e3c2[_0x4e7a16+0x2]=_0x332226,_0x24e3c2[_0x4e7a16+0x3]=_0x33121b;},'keySize':0x100/0x20});_0x21bf93[_0x42b64c(0x3b2)]=_0x56e048['_createHelper'](_0x3bccac);}()),_0x5cf7e9['AES'];}));}(Ve)),Ve[_0x25f5cc(0x363)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function xs(){var _0x50a78c=_0x40e481;return ai||(ai=0x1,function(_0x2837c8,_0x542e28){(function(_0x2ec8af,_0x5df1a5){var _0x2b34f8=_0x1459;_0x2837c8[_0x2b34f8(0x363)]=_0x5df1a5(ie());}(Ls,function(_0x27fd9f){var _0x436a1b=_0x1459;return _0x27fd9f[_0x436a1b(0x153)][_0x436a1b(0x16f)];}));}(Xe)),Xe[_0x50a78c(0x363)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x40e481(0x363)],oi;function Hs(){var _0x56a769=_0x40e481;return oi||(oi=0x1,function(_0x2c1f94,_0x2e034e){(function(_0x22264a,_0x5eece0){var _0x201c3a=_0x1459;_0x2c1f94[_0x201c3a(0x363)]=_0x5eece0(ie());}($s,function(_0x15a2a4){var _0x7adc92=_0x1459;return(function(){var _0x1488b0=_0x1459;if(typeof ArrayBuffer==_0x1488b0(0x171)){var _0x3e990f=_0x15a2a4,_0x21dedb=_0x3e990f[_0x1488b0(0x22f)],_0x55e64f=_0x21dedb[_0x1488b0(0x260)],_0x719546=_0x55e64f[_0x1488b0(0x127)],_0x43059f=_0x55e64f[_0x1488b0(0x127)]=function(_0x566e1c){var _0xa94a6d=_0x1488b0;if(_0x566e1c instanceof ArrayBuffer&&(_0x566e1c=new Uint8Array(_0x566e1c)),(_0x566e1c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x566e1c instanceof Uint8ClampedArray||_0x566e1c instanceof Int16Array||_0x566e1c instanceof Uint16Array||_0x566e1c instanceof Int32Array||_0x566e1c instanceof Uint32Array||_0x566e1c instanceof Float32Array||_0x566e1c instanceof Float64Array)&&(_0x566e1c=new Uint8Array(_0x566e1c[_0xa94a6d(0x348)],_0x566e1c[_0xa94a6d(0x236)],_0x566e1c[_0xa94a6d(0x33c)])),_0x566e1c instanceof Uint8Array){for(var _0x546cbc=_0x566e1c[_0xa94a6d(0x33c)],_0x3ded41=[],_0x4f3641=0x0;_0x4f3641<_0x546cbc;_0x4f3641++)_0x3ded41[_0x4f3641>>>0x2]|=_0x566e1c[_0x4f3641]<<0x18-_0x4f3641%0x4*0x8;_0x719546[_0xa94a6d(0x20b)](this,_0x3ded41,_0x546cbc);}else _0x719546[_0xa94a6d(0x194)](this,arguments);};_0x43059f[_0x1488b0(0x30b)]=_0x55e64f;}}()),_0x15a2a4['lib'][_0x7adc92(0x260)];}));}(Ze)),Ze[_0x56a769(0x363)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x40e481(0x363)],ci;function Vs(){var _0x30111c=_0x40e481;return ci||(ci=0x1,function(_0x24f40b,_0x42eecd){(function(_0x1599d3,_0x9b373,_0x2ba443){_0x24f40b['exports']=_0x9b373(ie(),Ai());}(Fs,function(_0x10a3d2){var _0x402d9d=_0x1459;return _0x10a3d2[_0x402d9d(0x1b6)][_0x402d9d(0xec)]={'pad':function(){},'unpad':function(){}},_0x10a3d2[_0x402d9d(0x1b6)]['NoPadding'];}));}(Qe)),Qe[_0x30111c(0x363)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x4413fb,_0x3bd8f7){var _0x53bb66=_0x40e481;const _0x249b48=_0x3bd8f7-_0x4413fb['length']%_0x3bd8f7,_0x36f73c=String[_0x53bb66(0x1b0)](_0x249b48)[_0x53bb66(0x2e7)](_0x249b48);return _0x4413fb+_0x36f73c;}function Ys(_0x1ea0df,_0x4e6a38){var _0xf418d7=_0x40e481;const _0x4ab760=js[_0xf418d7(0x37f)](0x10),_0x3ae079=Ks(_0x1ea0df,0x10),_0x1adeac=ws[_0xf418d7(0x3c1)](ks[_0xf418d7(0x2e4)](_0x3ae079),ri['parse'](_0x4e6a38),{'iv':_0x4ab760,'padding':Ws});return _0x4ab760['concat'](_0x1adeac['ciphertext'])[_0xf418d7(0x3ba)](ri);}function qs(){var _0x2b200b=_0x40e481;const _0x2e6edb=_0x32cfe3()[_0x2b200b(0x305)];if(_0x2e6edb){const _0xfdcdcd={'time':Math['floor'](Date[_0x2b200b(0x32d)]()/0x3e8),'domain':location[_0x2b200b(0x2fe)]};return Ys(JSON[_0x2b200b(0x353)](_0xfdcdcd),_0x2e6edb);}}var zs=Object[_0x40e481(0x237)],Js=(_0x4aaa9a,_0x284b37,_0x1b5c1a,_0x1b763e)=>{var _0x16b2bc=_0x40e481;for(var _0x58cd1a=_0x1b763e>0x1?void 0x0:_0x1b763e?zs(_0x284b37,_0x1b5c1a):_0x284b37,_0xd211ec=_0x4aaa9a[_0x16b2bc(0x299)]-0x1,_0x5e730b;_0xd211ec>=0x0;_0xd211ec--)(_0x5e730b=_0x4aaa9a[_0xd211ec])&&(_0x58cd1a=_0x5e730b(_0x58cd1a)||_0x58cd1a);return _0x58cd1a;},Xs=(_0x386a9e,_0x3f86cf)=>(_0x376bc7,_0x5d68ed)=>_0x3f86cf(_0x376bc7,_0x5d68ed,_0x386a9e);let at=class{constructor(_0x5ddb25){var _0x43c125=_0x40e481;this[_0x43c125(0x15a)]=_0x5ddb25,this[_0x43c125(0x3c7)]();}['_initRequestHeader'](){var _0x16cc66=_0x40e481;this[_0x16cc66(0x15a)][_0x16cc66(0x2f1)]({'interceptor':(_0x16b16d,_0x400b6a)=>{var _0x35e64a=_0x16cc66;const _0x19d762=_0x16b16d[_0x35e64a(0x3c3)],_0x1d6aff=qs();return _0x1d6aff&&_0x19d762[_0x35e64a(0x38d)](_0x35e64a(0x345),_0x1d6aff),_0x400b6a(_0x16b16d);}});}};at=Js([Xs(0x0,_0x41febc(_0x30b709))],at);var Zs=Object[_0x40e481(0x237)],Qs=(_0x5d7419,_0x4631aa,_0x10ccda,_0x51bd9b)=>{var _0x4219bd=_0x40e481;for(var _0x59abda=_0x51bd9b>0x1?void 0x0:_0x51bd9b?Zs(_0x4631aa,_0x10ccda):_0x4631aa,_0x2d3778=_0x5d7419[_0x4219bd(0x299)]-0x1,_0x398fd2;_0x2d3778>=0x0;_0x2d3778--)(_0x398fd2=_0x5d7419[_0x2d3778])&&(_0x59abda=_0x398fd2(_0x59abda)||_0x59abda);return _0x59abda;},mt=(_0xe3b542,_0x5617d6)=>(_0x2b11bb,_0x5c2ae5)=>_0x5617d6(_0x2b11bb,_0x5c2ae5,_0xe3b542);let bt=class extends _0x2dee07{constructor(_0x10fee0,_0x57d488,_0x4121bb){var _0x15e180=_0x40e481;super(),N(this,_0x15e180(0x39c),new _0x21691d(null)),N(this,'unitInfo$',this[_0x15e180(0x39c)][_0x15e180(0x1b9)]()),(this[_0x15e180(0x13c)]=_0x10fee0,this[_0x15e180(0x2e0)]=_0x57d488,this[_0x15e180(0x336)]=_0x4121bb);}async['loadUnit'](_0x54f8e2,_0x15ba4d,_0xd96fdd){var _0x7f42b4=_0x40e481;this[_0x7f42b4(0x39c)]['next']({'unitId':_0x54f8e2,'type':_0x15ba4d,'subUnitId':_0xd96fdd});let _0x3e4758=null;switch(_0x15ba4d){case Q[_0x7f42b4(0x358)]:{_0x3e4758=await this['_loadSheet'](_0x54f8e2);break;}case Q[_0x7f42b4(0x316)]:{_0x3e4758=await this[_0x7f42b4(0x362)](_0x54f8e2);break;}default:{this['_logService'][_0x7f42b4(0x30a)](_0x7f42b4(0x343),_0x7f42b4(0x39b));break;}}return _0x3e4758;}async['_loadSheet'](_0x534822){var _0x2f5624=_0x40e481,_0x10b60c;let _0x2c1198=0x0;const _0x3ddb7a=await((_0x10b60c=this['_localCacheService'])==null?void 0x0:_0x10b60c['loadOfflineData'](_0x534822));return _0x3ddb7a&&(_0x3ddb7a[_0x2f5624(0x292)]||_0x3ddb7a[_0x2f5624(0x24d)][_0x2f5624(0x299)]!==0x0)&&(_0x2c1198=_0x3ddb7a[_0x2f5624(0x12a)]),_0x2c1198===0x0&&this[_0x2f5624(0x13c)]['debug'](_0x2f5624(0x343),_0x2f5624(0x133)),this[_0x2f5624(0x2e0)][_0x2f5624(0x320)](_0x534822,_0x2c1198);}async[_0x40e481(0x362)](_0xf0a583){var _0x4057a1=_0x40e481,_0x1dae60;let _0x38d5d7=0x0;const _0x5d2783=await((_0x1dae60=this[_0x4057a1(0x336)])==null?void 0x0:_0x1dae60['loadOfflineData'](_0xf0a583));return _0x5d2783&&(_0x5d2783[_0x4057a1(0x292)]||_0x5d2783['mutations'][_0x4057a1(0x299)]!==0x0)&&(_0x38d5d7=_0x5d2783['rev']),_0x38d5d7===0x0&&this['_logService'][_0x4057a1(0x21c)]('[DataLoaderService]',_0x4057a1(0x133)),this[_0x4057a1(0x2e0)][_0x4057a1(0x395)](_0xf0a583,_0x38d5d7);}};bt=Qs([mt(0x0,_0xcdb88),mt(0x1,_0x41febc(_0x163755)),mt(0x2,_0x397f30(J))],bt);var er=Object[_0x40e481(0x237)],tr=(_0x43a5f9,_0x535ad6,_0x1292e6,_0x49d086)=>{var _0x441fa9=_0x40e481;for(var _0x149438=_0x49d086>0x1?void 0x0:_0x49d086?er(_0x535ad6,_0x1292e6):_0x535ad6,_0x49ccaf=_0x43a5f9[_0x441fa9(0x299)]-0x1,_0x494fb1;_0x49ccaf>=0x0;_0x49ccaf--)(_0x494fb1=_0x43a5f9[_0x49ccaf])&&(_0x149438=_0x494fb1(_0x149438)||_0x149438);return _0x149438;},gt=(_0x239c06,_0x1eeb18)=>(_0x563664,_0x451355)=>_0x1eeb18(_0x563664,_0x451355,_0x239c06);const ir=[_0x40e481(0x322),_0x40e481(0x30e),_0x40e481(0x20c),_0x40e481(0x3b3),_0x40e481(0x11d)],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr=_0x40e481(0x2cc),ar=_0x40e481(0x25a),or=_0x40e481(0x1e3);let yt=class{constructor(_0x33fab0,_0x180b7a,_0x2a8503){var _0x3ce25b=_0x40e481;N(this,_0x3ce25b(0x243),0x0),N(this,_0x3ce25b(0x354),new _0xba51b2()),N(this,'change$',this[_0x3ce25b(0x354)]),N(this,_0x3ce25b(0x1fc),new Map()),(this['_httpService']=_0x33fab0,this[_0x3ce25b(0x221)]=_0x180b7a,this[_0x3ce25b(0x18b)]=_0x2a8503);}['setWaitCount'](_0x3d43bd){var _0x2921e0=_0x40e481;this[_0x2921e0(0x243)]=_0x3d43bd,this[_0x2921e0(0x354)][_0x2921e0(0x377)](_0x3d43bd);}['getImageSourceCache'](_0x237d53,_0x11d523){var _0x224192=_0x40e481;if(_0x11d523===_0x45f636[_0x224192(0x371)]){const _0x318552=new Image();return _0x318552[_0x224192(0x3af)]=_0x237d53,_0x318552;}return this[_0x224192(0x1fc)][_0x224192(0x1da)](_0x237d53);}[_0x40e481(0x190)](_0x4ae8f7,_0x5d5255,_0x15245b){var _0x54a9a8=_0x40e481;_0x5d5255===_0x45f636[_0x54a9a8(0x371)]||_0x15245b==null||this[_0x54a9a8(0x1fc)][_0x54a9a8(0x38d)](_0x4ae8f7,_0x15245b);}async[_0x40e481(0x37c)](_0x4397ac){var _0x152452=_0x40e481;try{const _0x5b752f=this[_0x152452(0x3d9)](this['_getSignURL'](),''+_0x4397ac),_0x148432=(await this['_httpService'][_0x152452(0x1da)](_0x5b752f))[_0x152452(0x159)];if(_0x148432[_0x152452(0x30a)]&&_0x148432[_0x152452(0x30a)][_0x152452(0x313)]===Si['OK']){const _0x51ac2a=new URL(_0x148432[_0x152452(0x37e)],this[_0x152452(0x2db)]())[_0x152452(0x3ba)]();return Promise[_0x152452(0x1ea)](_0x51ac2a);}return Promise['reject'](_0x148432['error']);}catch(_0x4fb5a){return Promise['reject'](_0x4fb5a);}}async[_0x40e481(0x136)](_0x34bb46){var _0x5b4b45=_0x40e481;let _0x35106e='';if(!ir['includes'](_0x34bb46['type']))return this[_0x5b4b45(0x11c)](),Promise[_0x5b4b45(0x2c0)](new Error(_0x31ebd9[_0x5b4b45(0x2c5)]));if(_0x34bb46['size']>nr)return this[_0x5b4b45(0x11c)](),Promise[_0x5b4b45(0x2c0)](new Error(_0x31ebd9[_0x5b4b45(0x252)]));try{const _0x5274d2=new FormData();_0x5274d2[_0x5b4b45(0x287)](_0x5b4b45(0x10f),_0x34bb46);const _0x11c886=this[_0x5b4b45(0x18b)][_0x5b4b45(0x146)](),_0x387ec4=_0x11c886==null?void 0x0:_0x11c886['getUnitId']();if(!_0x387ec4)throw new Error(_0x5b4b45(0x226));const _0x1f553a=this[_0x5b4b45(0x215)]()+_0x5b4b45(0x34d)+_0x34bb46[_0x5b4b45(0x175)][_0x5b4b45(0x3ba)]()+_0x5b4b45(0x26d)+Ei['UnitEmbedded']+_0x5b4b45(0x350)+encodeURIComponent(_0x387ec4),_0x87d753=await(await fetch(_0x1f553a,{'method':_0x5b4b45(0x346),'body':_0x5274d2}))[_0x5b4b45(0x25e)]();if(typeof _0x87d753[_0x5b4b45(0x3ce)]!='string')return this['_decreaseWaiting'](),Promise[_0x5b4b45(0x2c0)](new Error(_0x31ebd9['ERROR_IMAGE']));_0x35106e=_0x87d753[_0x5b4b45(0x3ce)];}catch{return this['_decreaseWaiting'](),Promise[_0x5b4b45(0x2c0)](new Error(_0x31ebd9['ERROR_IMAGE']));}return new Promise((_0x4e17a5,_0x463b7d)=>{var _0x1ac06e=_0x5b4b45;const _0xf5e0fc=new FileReader();_0xf5e0fc[_0x1ac06e(0x2e3)](_0x34bb46),_0xf5e0fc[_0x1ac06e(0x290)]=_0x35e1ae=>{var _0x2dd81f=_0x1ac06e,_0x4a3a57;const _0x21cdc1=(_0x4a3a57=_0x35e1ae['target'])==null?void 0x0:_0x4a3a57[_0x2dd81f(0x126)];if(_0x21cdc1==null){this[_0x2dd81f(0x11c)](),_0x463b7d(new Error(_0x31ebd9[_0x2dd81f(0x379)]));return;}const _0x1734e2=_0x456a73[_0x2dd81f(0x1e1)](0x6);_0x4e17a5({'imageId':_0x1734e2,'imageSourceType':_0x45f636[_0x2dd81f(0x24a)],'source':_0x35106e,'base64Cache':_0x21cdc1,'status':_0x31ebd9[_0x2dd81f(0x357)]}),this['_decreaseWaiting']();};});}[_0x40e481(0x215)](){var _0x162e68=_0x40e481,_0x11536a,_0x10311d;const _0x58cfec=this[_0x162e68(0x221)][_0x162e68(0x3da)](sr),_0x33533d=this[_0x162e68(0x221)][_0x162e68(0x3da)](q);return(_0x10311d=(_0x11536a=_0x33533d==null?void 0x0:_0x33533d[_0x162e68(0x27b)])!=null?_0x11536a:_0x58cfec)!=null?_0x10311d:rr;}[_0x40e481(0x1ab)](){var _0x436ed4=_0x40e481,_0x2ad8fc,_0x5c1d6d;const _0xa9b339=this[_0x436ed4(0x221)][_0x436ed4(0x3da)](ar),_0x2e83b2=this[_0x436ed4(0x221)][_0x436ed4(0x3da)](q);return(_0x5c1d6d=(_0x2ad8fc=_0x2e83b2==null?void 0x0:_0x2e83b2[_0x436ed4(0x248)])!=null?_0x2ad8fc:_0xa9b339)!=null?_0x5c1d6d:or;}[_0x40e481(0x2db)](){var _0x49d22d=_0x40e481,_0xb4a651;const _0x16d057=this[_0x49d22d(0x221)]['getConfig'](q);return(_0xb4a651=_0x16d057==null?void 0x0:_0x16d057[_0x49d22d(0x1b1)])!=null?_0xb4a651:location[_0x49d22d(0x2f9)];}[_0x40e481(0x3d9)](_0x2fbee4,_0x14a297){var _0x140edf=_0x40e481;return _0x2fbee4[_0x140edf(0x225)](_0x140edf(0x2a8),_0x14a297);}['_decreaseWaiting'](){var _0x35cd02=_0x40e481;this[_0x35cd02(0x243)]-=0x1,this[_0x35cd02(0x354)][_0x35cd02(0x377)](this[_0x35cd02(0x243)]);}};yt=tr([gt(0x0,_0x41febc(_0x30b709)),gt(0x1,_0x1356ee),gt(0x2,_0x41febc(_0x26a8c2))],yt);var cr=Object[_0x40e481(0x237)],hr=(_0xce77bd,_0x6812f0,_0x41bbde,_0x219fb5)=>{var _0x23dd70=_0x40e481;for(var _0x3d551c=_0x219fb5>0x1?void 0x0:_0x219fb5?cr(_0x6812f0,_0x41bbde):_0x6812f0,_0xdd454f=_0xce77bd[_0x23dd70(0x299)]-0x1,_0xd7c6e5;_0xdd454f>=0x0;_0xdd454f--)(_0xd7c6e5=_0xce77bd[_0xdd454f])&&(_0x3d551c=_0xd7c6e5(_0x3d551c)||_0x3d551c);return _0x3d551c;},hi=(_0x65cc77,_0xf7ebd4)=>(_0x182ab8,_0x5c47b9)=>_0xf7ebd4(_0x182ab8,_0x5c47b9,_0x65cc77);const _r=_0x40e481(0xea);let Ot=class{constructor(_0x1aabbb,_0x548621){var _0x226ee9=_0x40e481;this[_0x226ee9(0x221)]=_0x1aabbb,this[_0x226ee9(0x2c8)]=_0x548621;}[_0x40e481(0x19b)](){var _0x51aa42=_0x40e481,_0x45ae11,_0x4bd091;const _0x44acc9=this[_0x51aa42(0x221)][_0x51aa42(0x3da)](Ni),_0x5ce224=this['_configService']['getConfig'](q);return(_0x4bd091=(_0x45ae11=_0x5ce224==null?void 0x0:_0x5ce224[_0x51aa42(0x13e)])!=null?_0x45ae11:_0x44acc9)!=null?_0x4bd091:_r;}async['list'](_0x17d7df){var _0x37ed9a=_0x40e481;const _0x36e0eb=this['_getAPIPrefixPath']()+_0x37ed9a(0x3d3);return{'list':[{'title':_0x37ed9a(0xfc),'mentions':(await this[_0x37ed9a(0x2c8)]['get'](_0x36e0eb,{'params':{'objectID':_0x17d7df[_0x37ed9a(0x2de)],'unitID':_0x17d7df['unitId']}}))[_0x37ed9a(0x159)][_0x37ed9a(0x166)][_0x37ed9a(0x12d)](_0x26d35d=>({'objectId':_0x26d35d['id'],'name':_0x26d35d['subject']['name'],'metadata':{'icon':_0x26d35d[_0x37ed9a(0x208)][_0x37ed9a(0x154)]},'label':_0x26d35d['subject']['name'],'objectType':_0x4f203d[_0x37ed9a(0x217)]})),'metadata':{},'type':_0x4f203d[_0x37ed9a(0x217)]}]};}};Ot=hr([hi(0x0,_0x41febc(_0x1356ee)),hi(0x1,_0x41febc(_0x30b709))],Ot);var lr=Object[_0x40e481(0x237)],ur=(_0x5e7852,_0x17e611,_0x4e8b1d,_0x3ab38f)=>{var _0x28f40f=_0x40e481;for(var _0x323099=_0x3ab38f>0x1?void 0x0:_0x3ab38f?lr(_0x17e611,_0x4e8b1d):_0x17e611,_0x35cc49=_0x5e7852[_0x28f40f(0x299)]-0x1,_0x1e2d61;_0x35cc49>=0x0;_0x35cc49--)(_0x1e2d61=_0x5e7852[_0x35cc49])&&(_0x323099=_0x1e2d61(_0x323099)||_0x323099);return _0x323099;},we=(_0x1eb2be,_0x4d8d3b)=>(_0x40e41c,_0x3c6d4c)=>_0x4d8d3b(_0x40e41c,_0x3c6d4c,_0x1eb2be);let ot=class extends _0x2dee07{constructor(_0x48793e,_0x9187ad,_0x1b9120,_0x4c9e4c,_0x3204ef){var _0x40a7ee=_0x40e481;super(),this['_injector']=_0x48793e,this[_0x40a7ee(0x18b)]=_0x9187ad,this[_0x40a7ee(0x308)]=_0x1b9120,this['_collaborationSessionService']=_0x4c9e4c,this[_0x40a7ee(0x3df)]=_0x3204ef,this[_0x40a7ee(0x2a4)](),this[_0x40a7ee(0x3d7)]();}[_0x40e481(0x3d7)](){var _0x52fd4f=_0x40e481;const _0x127d27=async _0x14a524=>{var _0x418395=_0x1459;(await this[_0x418395(0x288)][_0x418395(0x134)](_0x14a524))['event$'][_0x418395(0x30c)](_0xe0b521(_0x2df7af=>_0x2df7af[_0x418395(0x24c)]===_0x3c9809[_0x418395(0x311)]),_0x3c76cd(this[_0x418395(0x1cd)]))[_0x418395(0x38c)](_0x2bacbf=>{var _0x1b43bc=_0x418395;const _0x170146=_0x2bacbf,{reason:_0x227786}=_0x170146[_0x1b43bc(0x3a1)];this[_0x1b43bc(0x3df)]['emitEvent']({'id':re[_0x1b43bc(0x2b6)],'data':_0x227786}),this[_0x1b43bc(0x308)][_0x1b43bc(0x2bd)](new _0x4d71f4(_0x14a524)['id'],!0x1),this['_collaborationSessionService'][_0x1b43bc(0x279)](_0x14a524);});};_0x1cc183(this[_0x52fd4f(0x18b)][_0x52fd4f(0x230)](_0x596901[_0x52fd4f(0x358)]),this[_0x52fd4f(0x18b)][_0x52fd4f(0x230)](_0x596901[_0x52fd4f(0x316)]))[_0x52fd4f(0x30c)](_0x3b053e(_0x530e2c=>_0x530e2c[_0x52fd4f(0x382)]()),_0xe0b521(_0x27ac89=>!_0x52f6ea(_0x27ac89)),_0x3c76cd(this[_0x52fd4f(0x1cd)]))['subscribe'](_0x1581f2=>{_0x127d27(_0x1581f2);});}['_initUnitPermissionChange'](){var _0x275fc2=_0x40e481;const _0x2a2e24=async _0x338260=>{var _0x8f12f1=_0x1459;const _0x728f1=await this[_0x8f12f1(0x288)]['requireSession'](_0x338260),_0x29581b=this[_0x8f12f1(0x2bb)][_0x8f12f1(0x1da)](_0x1c9bfd);_0x728f1[_0x8f12f1(0x263)]['pipe'](_0xe0b521(_0x5155ac=>_0x5155ac[_0x8f12f1(0x24c)]===_0x3c9809['UPDATE_PERMISSION_OBJ']),_0x3c76cd(this[_0x8f12f1(0x1cd)]))[_0x8f12f1(0x38c)](_0x16c3f7=>{var _0x18204a=_0x8f12f1;const _0x799078=_0x16c3f7,{objectId:_0x30646e}=_0x799078['data'];_0x30646e===_0x338260?_0x29581b[_0x18204a(0x1f5)](_0x338260):_0x29581b[_0x18204a(0xe3)](_0x338260,_0x30646e);});};_0x1cc183(this[_0x275fc2(0x18b)][_0x275fc2(0x230)](_0x596901[_0x275fc2(0x358)]))['pipe'](_0x3b053e(_0x38905a=>_0x38905a[_0x275fc2(0x382)]()),_0xe0b521(_0x11a111=>!_0x52f6ea(_0x11a111)),_0x3c76cd(this['dispose$']))[_0x275fc2(0x38c)](_0x3275d3=>{_0x2a2e24(_0x3275d3);});}};ot=ur([we(0x0,_0x41febc(_0x414ea7)),we(0x1,_0x26a8c2),we(0x2,_0x372d75),we(0x3,_0x41febc(xe)),we(0x4,_0x41febc(pe))],ot);var dr=Object[_0x40e481(0x237)],fr=(_0x141483,_0x43efcd,_0x17d38c,_0x4400f5)=>{var _0xba3881=_0x40e481;for(var _0x44257a=_0x4400f5>0x1?void 0x0:_0x4400f5?dr(_0x43efcd,_0x17d38c):_0x43efcd,_0x3606fd=_0x141483[_0xba3881(0x299)]-0x1,_0x20eb3d;_0x3606fd>=0x0;_0x3606fd--)(_0x20eb3d=_0x141483[_0x3606fd])&&(_0x44257a=_0x20eb3d(_0x44257a)||_0x44257a);return _0x44257a;},_i=(_0x387444,_0x18200f)=>(_0x424e72,_0x3fa7cf)=>_0x18200f(_0x424e72,_0x3fa7cf,_0x387444);let Nt=class{constructor(_0x4d5e68,_0x61648b){var _0xeea86c=_0x40e481;this['_configService']=_0x4d5e68,this[_0xeea86c(0x15a)]=_0x61648b;}async[_0x40e481(0x12b)](_0x339d10,_0x4487e9){var _0xf464b6=_0x40e481,_0x132378;const {unitID:_0x548185,type:_0x23a918,revision:_0x2c2899=0x0}=_0x4487e9,_0x136782=this[_0xf464b6(0x177)]()+'/'+_0x23a918+_0xf464b6(0x14e)+_0x548185+'/rev/'+_0x2c2899,_0x3c705f=(await this[_0xf464b6(0x15a)][_0xf464b6(0x1da)](_0x136782))[_0xf464b6(0x159)],_0x260d88=(_0x132378=_0x3c705f[_0xf464b6(0x25d)])==null?void 0x0:_0x132378[_0xf464b6(0x2e5)];if(_0x260d88){const _0x2c129b=_0x260d88==null?void 0x0:_0x260d88[_0xf464b6(0x352)],_0x2400e9=_0x4746e7[_0xf464b6(0x1e2)](_0x42a91f(_0x2c129b));_0x260d88['originalMeta']=_0x2400e9,Object[_0xf464b6(0x11b)](_0x260d88['sheets'])[_0xf464b6(0x109)](([,_0x518a75])=>{var _0xc01588=_0xf464b6;const _0x2c7ac6=_0x518a75[_0xc01588(0x352)],_0x4cb9f8=_0x4746e7['encode'](_0x42a91f(_0x2c7ac6));_0x518a75['originalMeta']=_0x4cb9f8;});}return _0x3c705f;}async[_0x40e481(0x11a)](_0x3c44a4,_0x186f7c){var _0x2784ab=_0x40e481;const {unitID:_0x4dc1f4,type:_0x313871,blockID:_0x295ecc}=_0x186f7c,_0x58744b=this['_getAPIPrefix']()+'/'+_0x313871+_0x2784ab(0x14e)+_0x4dc1f4+_0x2784ab(0x255)+_0x295ecc;return(await this[_0x2784ab(0x15a)][_0x2784ab(0x1da)](_0x58744b))[_0x2784ab(0x159)];}async['getDeserializedSheetBlock'](_0x27b41d,_0x1ffe75){var _0x175740=_0x40e481;const {unitID:_0x4d80ca,type:_0xada8c6,blockID:_0x56ae28}=_0x1ffe75,_0x8b9308=this[_0x175740(0x12c)]()+_0x175740(0x255)+_0xada8c6+_0x175740(0x14e)+_0x4d80ca+'/block/'+_0x56ae28;return(await this[_0x175740(0x15a)][_0x175740(0x1da)](_0x8b9308))[_0x175740(0x159)];}async['fetchMissingChangesets'](_0x3f4a12,_0x41fb14){var _0x3d7892=_0x40e481;const {unitID:_0x1f6c90,type:_0x4538a1,from:_0x291302,to:_0x2467b6}=_0x41fb14,_0x548779=this[_0x3d7892(0x12c)]()+'/'+_0x4538a1+_0x3d7892(0x14e)+_0x1f6c90+_0x3d7892(0x16d)+_0x291302+_0x3d7892(0x18f)+_0x2467b6;return(await this[_0x3d7892(0x15a)][_0x3d7892(0x1da)](_0x548779))[_0x3d7892(0x159)];}[_0x40e481(0x177)](){var _0x367e06=_0x40e481,_0x3e8adb;return(_0x3e8adb=this[_0x367e06(0x221)][_0x367e06(0x3da)](Sn))!=null?_0x3e8adb:this[_0x367e06(0x12c)]();}[_0x40e481(0x12c)](){var _0x98de56=_0x40e481,_0x12c7f3,_0x509bd4;const _0x1ff83e=this[_0x98de56(0x221)][_0x98de56(0x3da)](mn),_0x29dbcd=this[_0x98de56(0x221)][_0x98de56(0x3da)](q);return(_0x509bd4=(_0x12c7f3=_0x29dbcd==null?void 0x0:_0x29dbcd[_0x98de56(0x3a6)])!=null?_0x12c7f3:_0x1ff83e)!=null?_0x509bd4:gn;}async[_0x40e481(0x114)](_0x4f46cf,_0x5083c5){var _0x1e018f=_0x40e481;const _0x2314f6='/universer-api/snapshot/'+_0x5083c5['type']+_0x1e018f(0x14e)+_0x5083c5['unitID']+_0x1e018f(0x163);return(await this[_0x1e018f(0x15a)]['get'](_0x2314f6,{'params':{'resourceId':JSON[_0x1e018f(0x353)](_0x5083c5[_0x1e018f(0x2c1)])}}))['body'];}[_0x40e481(0x11f)](){var _0x112816=_0x40e481;throw new Error(_0x112816(0x12e));}[_0x40e481(0x1aa)](){var _0xdb9f92=_0x40e481;throw new Error(_0xdb9f92(0x12e));}[_0x40e481(0x3e2)](){var _0x2b92f5=_0x40e481;throw new Error(_0x2b92f5(0x12e));}[_0x40e481(0x3b4)](){var _0xd7dc21=_0x40e481;throw new Error(_0xd7dc21(0x12e));}[_0x40e481(0x1a9)](){var _0xf9a00a=_0x40e481;throw new Error(_0xf9a00a(0x12e));}};Nt=fr([_i(0x0,_0x1356ee),_i(0x1,_0x41febc(_0x30b709))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x6a3055,_0x46567a,_0x52c22f,_0x51ca2e)=>{var _0x4ffc4c=_0x40e481;for(var _0x24565f=_0x51ca2e>0x1?void 0x0:_0x51ca2e?vr(_0x46567a,_0x52c22f):_0x46567a,_0x49b3a3=_0x6a3055[_0x4ffc4c(0x299)]-0x1,_0x45c1f2;_0x49b3a3>=0x0;_0x49b3a3--)(_0x45c1f2=_0x6a3055[_0x49b3a3])&&(_0x24565f=_0x45c1f2(_0x24565f)||_0x24565f);return _0x24565f;},Pe=(_0xe9cd1f,_0x2dc8b4)=>(_0x24b278,_0x1468fb)=>_0x2dc8b4(_0x24b278,_0x1468fb,_0xe9cd1f);let Dt=class extends _0x1a4901{constructor(_0xcb4a32,_0x12e6fa,_0x514d1d,_0x1c5fd3,_0x419027){var _0x4b5389=_0x40e481;super(_0xcb4a32,_0x12e6fa,_0x514d1d),this[_0x4b5389(0x1b5)]=_0x1c5fd3,this[_0x4b5389(0x13c)]=_0x419027;}[_0x40e481(0x373)](_0x26b904,_0xe4d1ef){var _0x30e9eb=_0x40e481;const _0x547512=this[_0x30e9eb(0x329)](_0x26b904);if(_0x547512)try{const _0x50e893=this[_0x30e9eb(0xf2)](_0x547512,_0xe4d1ef);this['_substituteUndoStack'](_0x26b904,_0x50e893);}catch(_0x4f0609){this[_0x30e9eb(0x13c)][_0x30e9eb(0x30a)](_0x30e9eb(0x297),_0x4f0609),this[_0x30e9eb(0x2eb)](_0x26b904);}const _0x1afcf9=this[_0x30e9eb(0x367)](_0x26b904);if(_0x1afcf9)try{const _0x29f014=this['_transformStack'](_0x1afcf9,_0xe4d1ef);this[_0x30e9eb(0x36d)](_0x26b904,_0x29f014);}catch(_0xa7ca72){this[_0x30e9eb(0x13c)][_0x30e9eb(0x30a)](_0xa7ca72),this[_0x30e9eb(0x3cd)](_0x26b904);}}[_0x40e481(0x2eb)](_0x4d2dc6){var _0x20c043=_0x40e481;const _0x3a9d8a=this[_0x20c043(0x329)](_0x4d2dc6);_0x3a9d8a&&(_0x3a9d8a[_0x20c043(0x299)]=0x0,this[_0x20c043(0x167)]());}['_clearRedo'](_0x21b136){var _0x10ae1a=_0x40e481;const _0x5a06ea=this[_0x10ae1a(0x367)](_0x21b136);_0x5a06ea&&(_0x5a06ea[_0x10ae1a(0x299)]=0x0,this[_0x10ae1a(0x167)]());}['_substituteUndoStack'](_0x26d41c,_0x49f1a6){var _0x19dd79=_0x40e481;this[_0x19dd79(0x121)][_0x19dd79(0x38d)](_0x26d41c,_0x49f1a6),this[_0x19dd79(0x167)]();}['_substituteRedoStack'](_0x1b9e67,_0x3eccfe){var _0x53bbc2=_0x40e481;this['_redoStacks'][_0x53bbc2(0x38d)](_0x1b9e67,_0x3eccfe),this['_updateStatus']();}[_0x40e481(0xf2)](_0x1d7f3b,_0x5942ab){var _0x9292ba=_0x40e481;const _0x45d76a=[];let _0x35aacd=_0x5942ab,_0x3d44c5=_0x5942ab;for(let _0x826cc2=_0x1d7f3b[_0x9292ba(0x299)]-0x1;_0x826cc2>=0x0;_0x826cc2--){const {unitID:_0x395dc0,undoMutations:_0x3a0028,redoMutations:_0x388dd8}=_0x1d7f3b[_0x826cc2],_0x1e39b3=this[_0x9292ba(0x1b5)][_0x9292ba(0x1dd)](_0x35aacd,_0x3a0028),_0x2173d7=this[_0x9292ba(0x1b5)][_0x9292ba(0x1dd)](_0x3d44c5,_0x388dd8);if(_0x269671(_0x1e39b3)||_0x269671(_0x2173d7)){this[_0x9292ba(0x13c)]['error']('[CollaborationUndoRedoService]',_0x9292ba(0x2a1),_0x1e39b3,_0x2173d7);break;}_0x35aacd=_0x1e39b3[_0x9292ba(0x36b)],_0x3d44c5=_0x2173d7[_0x9292ba(0x36b)],_0x45d76a[_0x9292ba(0xeb)]({'unitID':_0x395dc0,'undoMutations':_0x1e39b3[_0x9292ba(0x113)],'redoMutations':_0x2173d7[_0x9292ba(0x113)]});}return _0x45d76a[_0x9292ba(0xf9)]();}};function _0x1459(_0x44fbbc,_0x2899e4){var _0x5f35c9=_0x5f35();return _0x1459=function(_0x14593d,_0xe819a3){_0x14593d=_0x14593d-0xe2;var _0x4fddac=_0x5f35c9[_0x14593d];return _0x4fddac;},_0x1459(_0x44fbbc,_0x2899e4);}Dt=pr([Pe(0x0,_0x26a8c2),Pe(0x1,_0x2f806f),Pe(0x2,_0x18a9d3),Pe(0x3,_0x671f8c),Pe(0x4,_0xcdb88)],Dt);var mr=Object[_0x40e481(0x21a)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x491fe5,_0x510ab9,_0x5c0911)=>_0x510ab9 in _0x491fe5?mr(_0x491fe5,_0x510ab9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c0911}):_0x491fe5[_0x510ab9]=_0x5c0911,Er=(_0x17b622,_0x10b3ec,_0x2f131c,_0x36a3e4)=>{var _0x24f9c4=_0x40e481;for(var _0x4d2def=_0x36a3e4>0x1?void 0x0:_0x36a3e4?gr(_0x10b3ec,_0x2f131c):_0x10b3ec,_0x4a7022=_0x17b622[_0x24f9c4(0x299)]-0x1,_0x39324f;_0x4a7022>=0x0;_0x4a7022--)(_0x39324f=_0x17b622[_0x4a7022])&&(_0x4d2def=_0x39324f(_0x4d2def)||_0x4d2def);return _0x4d2def;},St=(_0x219787,_0x1b8a72)=>(_0x1d5cf1,_0x25bdde)=>_0x1b8a72(_0x1d5cf1,_0x25bdde,_0x219787),Ir=(_0x237cca,_0x27cef6,_0x2d559f)=>Sr(_0x237cca,_0x27cef6+'',_0x2d559f);const Tr=_0x40e481(0x331);let Ut=class extends _0x33a101{constructor(_0x386e4d,_0xe48c5c,_0x8b089f,_0x2a7e3e){var _0x368b2b=_0x40e481;super(),N(this,_0x368b2b(0x184)),(this[_0x368b2b(0x13c)]=_0xe48c5c,this[_0x368b2b(0x2bb)]=_0x8b089f,this[_0x368b2b(0x221)]=_0x2a7e3e);const {..._0x1ce840}=_0x57512e({},wn,_0x386e4d);if(!_0x1ce840[_0x368b2b(0x13a)])throw new Error(_0x368b2b(0x1d8));this['_config']=_0x1ce840,this['_configService'][_0x368b2b(0x19e)](q,_0x1ce840);}[_0x40e481(0x1bc)](){var _0x5bec3e=_0x40e481;this[_0x5bec3e(0x318)](),this[_0x5bec3e(0x37b)]();}[_0x40e481(0x318)](){var _0x294f4f=_0x40e481,_0x228460,_0x3fde35;this[_0x294f4f(0x2bb)][_0x294f4f(0x15b)](_0x47f0e4)&&this['_logService'][_0x294f4f(0x30a)](_0x294f4f(0x1dc),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x45505d=_0x139878([[_0x47f0e4,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x294f4f(0x184)][_0x294f4f(0x13a)]}],[_0x348bba,{'useClass':Nt}],[_0x51a334,{'useClass':Rt}],[_0x3a7abf,{'useClass':yt}],[_0x53963b,{'useClass':Ot}],[st],[Ct]],(_0x228460=this[_0x294f4f(0x184)])==null?void 0x0:_0x228460[_0x294f4f(0x334)]);if(!((_0x3fde35=this[_0x294f4f(0x184)])!=null&&_0x3fde35[_0x294f4f(0x200)])){const _0x12c784=_0x45505d[_0x294f4f(0x3ad)](([_0x5a1e99])=>_0x5a1e99===ht);_0x12c784!==-0x1&&_0x45505d['splice'](_0x12c784,0x1);}_0x1f7c45(this[_0x294f4f(0x2bb)],_0x45505d);}[_0x40e481(0x37b)](){var _0xcbdf9e=_0x40e481,_0x3e08f2,_0x43dda5,_0x1fc19c;this[_0xcbdf9e(0x2bb)]['get'](_0x30b709)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x44a925({'maxParallel':0x6})}),(_0x3e08f2=this['_config'])!=null&&_0x3e08f2[_0xcbdf9e(0x325)]||(_0x43dda5=this[_0xcbdf9e(0x2bb)]['get'](J,_0x573acf[_0xcbdf9e(0x120)]))==null||_0x43dda5['disableLocalCache'](),(_0x1fc19c=this['_config'])!=null&&_0x1fc19c[_0xcbdf9e(0x2b7)]&&_0x45206c(this[_0xcbdf9e(0x2bb)],[[rt]]),_0x45206c(this['_injector'],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x570937(_0x9e1780,_0x226205),St(0x1,_0xcdb88),St(0x2,_0x41febc(_0x414ea7)),St(0x3,_0x1356ee)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
1
+ var _0x30c97e=_0x5b64;(function(_0x18235c,_0x3819ad){var _0x2f529d=_0x5b64,_0x18412f=_0x18235c();while(!![]){try{var _0x3f7838=parseInt(_0x2f529d(0x138))/0x1*(parseInt(_0x2f529d(0x399))/0x2)+parseInt(_0x2f529d(0x13c))/0x3*(parseInt(_0x2f529d(0x178))/0x4)+-parseInt(_0x2f529d(0x369))/0x5*(-parseInt(_0x2f529d(0x3b1))/0x6)+parseInt(_0x2f529d(0x335))/0x7+-parseInt(_0x2f529d(0x386))/0x8+parseInt(_0x2f529d(0x156))/0x9+-parseInt(_0x2f529d(0x14d))/0xa;if(_0x3f7838===_0x3819ad)break;else _0x18412f['push'](_0x18412f['shift']());}catch(_0x10add5){_0x18412f['push'](_0x18412f['shift']());}}}(_0x43fe,0x8fdfb));var wi=Object[_0x30c97e(0x162)],Pi=(_0x5b34e7,_0x935734,_0xbe0efa)=>_0x935734 in _0x5b34e7?wi(_0x5b34e7,_0x935734,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbe0efa}):_0x5b34e7[_0x935734]=_0xbe0efa,N=(_0xdbfb50,_0xe71794,_0x6405a8)=>Pi(_0xdbfb50,typeof _0xe71794!='symbol'?_0xe71794+'':_0xe71794,_0x6405a8);import{createIdentifier as _0x3ae368,Inject as _0x1aab8b,Injector as _0x51f454,IConfigService as _0x322b89,ILogService as _0xf9bcb3,Disposable as _0x4d3873,DisposableCollection as _0x41d728,toDisposable as _0x2d5b8d,IUniverInstanceService as _0x31aedc,UserManagerService as _0xfdfb58,UniverInstanceType as _0x4f9465,LocaleService as _0x54440b,Optional as _0x596184,RxDisposable as _0x34ea91,Tools as _0x465d47,Rectangle as _0x280ca3,ICommandService as _0xb43912,JSONX as _0x4f1190,CommandType as _0x1018f9,IUndoRedoService as _0x3e575f,IPermissionService as _0x233307,sequenceExecute as _0x5a5a75,Workbook as _0x4d0187,MentionType as _0x2f59a8,isInternalEditorID as _0x1ed416,LocalUndoRedoService as _0x5d49bd,IContextService as _0x2189ff,DependentOn as _0x409131,Plugin as _0x4aa6c9,merge as _0x216ac4,mergeOverrideWithDependencies as _0x2aa5b6,IAuthzIoService as _0x184fd2,IMentionIOService as _0x11b9c7,registerDependencies as _0x2a2947,Quantity as _0x430d08,touchDependencies as _0x48c939}from'@univerjs/core';import{Subject as _0x52da68,merge as _0x4bebd7,of as _0x23c246,BehaviorSubject as _0x3d3430,takeUntil as _0x155287,ReplaySubject as _0x1fccdb,take as _0x1cbcf0,map as _0x3708ef,shareReplay as _0x461bfd,firstValueFrom as _0xb115ad,concatMap as _0x49bb13}from'rxjs';import{map as _0x122f91,take as _0x4e7a9b,filter as _0x1d479f,delay as _0x38c479,takeUntil as _0x3df66c}from'rxjs/operators';import{CollaborationEvent as _0x4b61f7,ISnapshotServerService as _0x2ad851,parseChangesetToProtocol as _0xe531f6,ITransformService as _0x19d1d9,isTransformMutationsWithChangesetSuccess as _0x3a4a2e,mapDocumentTypeToUniverType as _0x529f3a,RevisionService as _0x5e781e,isTransformChangesetsSuccess as _0x1a3035,CompressMutationService as _0x16301a,parseProtocolChangeset as _0x14ec53,SnapshotService as _0x11acc7,textEncoder as _0x43a3ad,b64DecodeUnicode as _0x5f393a,isTransformMutationsWithChangesetFailure as _0x113704,UniverCollaborationPlugin as _0x1c91a9}from'@univerjs-pro/collaboration';import{HTTPService as _0x43eb18,ISocketService as _0x32247c,MergeInterceptorFactory as _0x3cf77e,HTTPRequest as _0x12d65b,UniverNetworkPlugin as _0x2cdfed,ThresholdInterceptorFactory as _0x54b362}from'@univerjs/network';import{ITelemetryService as _0xeab857}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5c2334}from'@univerjs/docs';import{SheetsSelectionsService as _0x49675a,SetSelectionsOperation as _0x2891da,InsertSheetMutation as _0xc931c4,EmptyMutation as _0x3713ae,WorkbookEditablePermission as _0x263feb,SheetPermissionInitController as _0x2d541d}from'@univerjs/sheets';import{ImageSourceType as _0x29118a,ImageUploadStatusType as _0x29e9a0,IImageIoService as _0xd1c0a0}from'@univerjs/drawing';import{getGlobalObject as _0x4c7089}from'@univerjs-pro/license';const mn=_0x30c97e(0x408),gn='/universer-api/snapshot',Sn=_0x30c97e(0x201),Lr=_0x30c97e(0x25c),En=0x7d0,In=_0x30c97e(0x346),Tn=_0x30c97e(0x27b),xr=_0x30c97e(0x3e1),Cn=_0x30c97e(0x300),Rn=0x7530,mi=_0x30c97e(0x3a1),gi=0x4e20,bn=0x4e20,On=_0x30c97e(0x256),yn=0x3,Mr=_0x30c97e(0x1b9),kr=0x3e8,Nn=_0x30c97e(0x2c4),Dn='/universer-api/comb',Un=_0x30c97e(0x390),An='/universer-api/oidc/authpage',$r=_0x30c97e(0x233),Hr='/universer-api/uniscript';var Si=(_0x2494d2=>(_0x2494d2[_0x2494d2['UNDEFINED']=0x0]=_0x30c97e(0x1ec),_0x2494d2[_0x2494d2['OK']=0x1]='OK',_0x2494d2[_0x2494d2[_0x30c97e(0x3b6)]=0x2]=_0x30c97e(0x3b6),_0x2494d2[_0x2494d2[_0x30c97e(0x231)]=0x3]=_0x30c97e(0x231),_0x2494d2[_0x2494d2['NOT_FOUND']=0x4]='NOT_FOUND',_0x2494d2[_0x2494d2[_0x30c97e(0x20e)]=0x5]=_0x30c97e(0x20e),_0x2494d2[_0x2494d2['ALREADY_EXISTS']=0x6]=_0x30c97e(0x20d),_0x2494d2[_0x2494d2[_0x30c97e(0x326)]=0x7]=_0x30c97e(0x326),_0x2494d2[_0x2494d2[_0x30c97e(0x1d9)]=0x8]='TOO_MANY_REQUESTS',_0x2494d2[_0x2494d2[_0x30c97e(0x1bd)]=0x9]=_0x30c97e(0x1bd),_0x2494d2[_0x2494d2[_0x30c97e(0x1e3)]=0xa]=_0x30c97e(0x1e3),_0x2494d2[_0x2494d2[_0x30c97e(0x28f)]=0x1389]=_0x30c97e(0x28f),_0x2494d2[_0x2494d2[_0x30c97e(0x1fa)]=0x1771]=_0x30c97e(0x1fa),_0x2494d2[_0x2494d2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2494d2[_0x2494d2[_0x30c97e(0x3ec)]=0x1773]=_0x30c97e(0x3ec),_0x2494d2[_0x2494d2[_0x30c97e(0x142)]=0x1b59]=_0x30c97e(0x142),_0x2494d2[_0x2494d2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x30c97e(0x275),_0x2494d2[_0x2494d2['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x30c97e(0x20b),_0x2494d2[_0x2494d2[_0x30c97e(0x1a3)]=0x1b5c]=_0x30c97e(0x1a3),_0x2494d2[_0x2494d2[_0x30c97e(0x414)]=0x1b5d]=_0x30c97e(0x414),_0x2494d2[_0x2494d2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x30c97e(0x1b2),_0x2494d2[_0x2494d2[_0x30c97e(0x2f8)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2494d2[_0x2494d2[_0x30c97e(0x305)]=0x232a]=_0x30c97e(0x305),_0x2494d2[_0x2494d2[_0x30c97e(0x1a4)]=0x232b]=_0x30c97e(0x1a4),_0x2494d2[_0x2494d2[_0x30c97e(0x20c)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2494d2[_0x2494d2[_0x30c97e(0x2b5)]=0x232d]=_0x30c97e(0x2b5),_0x2494d2[_0x2494d2[_0x30c97e(0x3c9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2494d2[_0x2494d2[_0x30c97e(0x353)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2494d2[_0x2494d2['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x30c97e(0x2a0),_0x2494d2[_0x2494d2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2494d2[_0x2494d2[_0x30c97e(0x302)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2494d2[_0x2494d2[_0x30c97e(0x196)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2494d2[_0x2494d2[_0x30c97e(0x293)]=0x2af9]=_0x30c97e(0x293),_0x2494d2[_0x2494d2[_0x30c97e(0x33f)]=0x2ee1]=_0x30c97e(0x33f),_0x2494d2[_0x2494d2['INVALID_INVITE_CODE']=0x2ee2]=_0x30c97e(0x176),_0x2494d2[_0x2494d2['INVITE_CODE_REQUIRED']=0x2ee3]=_0x30c97e(0x1ac),_0x2494d2[_0x2494d2[_0x30c97e(0x2fb)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2494d2[_0x2494d2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x30c97e(0x143),_0x2494d2[_0x2494d2['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2494d2[_0x2494d2[_0x30c97e(0x1fe)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2494d2[_0x2494d2['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x30c97e(0x313),_0x2494d2[_0x2494d2[_0x30c97e(0x20a)]=-0x1]='UNRECOGNIZED',_0x2494d2))(Si||{}),Q=(_0x2c24cc=>(_0x2c24cc[_0x2c24cc[_0x30c97e(0x3fe)]=0x0]=_0x30c97e(0x3fe),_0x2c24cc[_0x2c24cc[_0x30c97e(0x1cd)]=0x1]=_0x30c97e(0x1cd),_0x2c24cc[_0x2c24cc[_0x30c97e(0x204)]=0x2]=_0x30c97e(0x204),_0x2c24cc[_0x2c24cc[_0x30c97e(0x28a)]=0x3]=_0x30c97e(0x28a),_0x2c24cc[_0x2c24cc[_0x30c97e(0x2f9)]=0x4]=_0x30c97e(0x2f9),_0x2c24cc[_0x2c24cc[_0x30c97e(0x20a)]=-0x1]=_0x30c97e(0x20a),_0x2c24cc))(Q||{}),F=(_0x51fd6a=>(_0x51fd6a[_0x51fd6a['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x51fd6a[_0x51fd6a[_0x30c97e(0x207)]=0x1]=_0x30c97e(0x207),_0x51fd6a[_0x51fd6a[_0x30c97e(0x3ab)]=0x2]=_0x30c97e(0x3ab),_0x51fd6a[_0x51fd6a[_0x30c97e(0x340)]=0x3]='LEAVE',_0x51fd6a[_0x51fd6a[_0x30c97e(0x3ad)]=0x4]=_0x30c97e(0x3ad),_0x51fd6a[_0x51fd6a[_0x30c97e(0x2c8)]=0x5]=_0x30c97e(0x2c8),_0x51fd6a[_0x51fd6a[_0x30c97e(0x3a8)]=0x6]=_0x30c97e(0x3a8),_0x51fd6a[_0x51fd6a[_0x30c97e(0x20a)]=-0x1]=_0x30c97e(0x20a),_0x51fd6a))(F||{}),ge=(_0x3015f1=>(_0x3015f1[_0x3015f1[_0x30c97e(0x1c5)]=0x0]=_0x30c97e(0x1c5),_0x3015f1[_0x3015f1['OK']=0x1]='OK',_0x3015f1[_0x3015f1[_0x30c97e(0x309)]=0x2]=_0x30c97e(0x309),_0x3015f1[_0x3015f1[_0x30c97e(0x163)]=0x3e9]=_0x30c97e(0x163),_0x3015f1[_0x3015f1[_0x30c97e(0x12c)]=0x3ea]=_0x30c97e(0x12c),_0x3015f1[_0x3015f1[_0x30c97e(0x38d)]=0x3eb]=_0x30c97e(0x38d),_0x3015f1[_0x3015f1[_0x30c97e(0x155)]=0x3ec]=_0x30c97e(0x155),_0x3015f1[_0x3015f1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3015f1))(ge||{}),Ei=(_0x375895=>(_0x375895[_0x375895[_0x30c97e(0x2eb)]=0x0]=_0x30c97e(0x2eb),_0x375895[_0x375895[_0x30c97e(0x2cc)]=0x1]='HttpImport',_0x375895[_0x375895['HttpExport']=0x2]='HttpExport',_0x375895[_0x375895['UnitEmbedded']=0x3]=_0x30c97e(0x118),_0x375895[_0x375895[_0x30c97e(0x2dc)]=0x4]='UnitSnapshot',_0x375895[_0x375895[_0x30c97e(0x3b2)]=0x5]='UserProfileImg',_0x375895[_0x375895['UNRECOGNIZED']=-0x1]=_0x30c97e(0x20a),_0x375895))(Ei||{});const q=_0x30c97e(0x150),wn={};var re=(_0x5a6cd8=>(_0x5a6cd8[_0x30c97e(0x2c9)]='OTHER_CLIENT_EDITING',_0x5a6cd8[_0x30c97e(0x231)]=_0x30c97e(0x231),_0x5a6cd8[_0x30c97e(0x126)]=_0x30c97e(0x126),_0x5a6cd8[_0x30c97e(0x2f1)]=_0x30c97e(0x2f1),_0x5a6cd8[_0x30c97e(0x16d)]='JOIN_ROOM_FAILED',_0x5a6cd8[_0x30c97e(0x131)]=_0x30c97e(0x131),_0x5a6cd8['SOCKET_FAILED']='SOCKET_FAILED',_0x5a6cd8['SUBMIT_CHANGESET_TIMEOUT']=_0x30c97e(0x2a5),_0x5a6cd8))(re||{});class pe{constructor(){var _0x314005=_0x30c97e;N(this,_0x314005(0x1e2),new _0x52da68()),N(this,_0x314005(0x376),this[_0x314005(0x1e2)][_0x314005(0x1cc)]());}['emitEvent'](_0x3c21c2){var _0x2c511b=_0x30c97e;this[_0x2c511b(0x1e2)][_0x2c511b(0x2c2)](_0x3c21c2);}}const Pn=_0x3ae368('univer-pro.collaboration-client.network-condition.service');function Ln(_0x47ce4a){var _0x20c947=_0x30c97e,_0x413dce,_0x3e3f57,_0x25708f,_0x9fdfcf,_0x16288d;const _0x26b467=_0x47ce4a[_0x20c947(0x3c2)],_0x1f5478=JSON[_0x20c947(0x2df)](_0x26b467);switch(_0x1f5478['cmd']){case F[_0x20c947(0x2c8)]:case F[_0x20c947(0x207)]:{const _0x1be5f9=_0x1f5478[_0x20c947(0x2e8)];return{..._0x1f5478,'data':_0x1be5f9,'cmd':_0x1f5478['cmd']};}case F[_0x20c947(0x3ab)]:{const _0x350b97=_0x1f5478[_0x20c947(0x33d)];return{..._0x1f5478,'data':_0x350b97,'cmd':_0x1f5478[_0x20c947(0x1ae)]};}case F['RECV']:{const _0x25d7b0=_0x1f5478[_0x20c947(0x2b6)];switch(_0x25d7b0[_0x20c947(0x29f)]){case _0x4b61f7[_0x20c947(0x40e)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':(_0x413dce=_0x25d7b0[_0x20c947(0x391)])==null?void 0x0:_0x413dce['cs']},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x38b)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':(_0x3e3f57=_0x25d7b0[_0x20c947(0x1db)])==null?void 0x0:_0x3e3f57['cs']},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x320)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':(_0x25708f=_0x25d7b0['newCsEvent'])==null?void 0x0:_0x25708f['cs']},'cmd':_0x1f5478['cmd']};case _0x4b61f7[_0x20c947(0x21e)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':(_0x9fdfcf=_0x25d7b0['csRejEvent'])==null?void 0x0:_0x9fdfcf['cs']},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x2d2)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':(_0x16288d=_0x25d7b0[_0x20c947(0x32a)])==null?void 0x0:_0x16288d['cs']},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7['UPDATE_CURSOR']:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x1e4)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x35c)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x253)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x31b)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x285)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x3bf)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x132)]},'cmd':_0x1f5478['cmd']};case _0x4b61f7[_0x20c947(0x3ef)]:case _0x4b61f7[_0x20c947(0x3f7)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x213)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x333)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x132)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x328)]:return{..._0x1f5478,'data':_0x25d7b0,'cmd':_0x1f5478['cmd']};case _0x4b61f7['COMMENT_UPDATE']:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x32e)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x34d)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0['updatePermissionObjEvent']},'cmd':_0x1f5478[_0x20c947(0x1ae)]};case _0x4b61f7[_0x20c947(0x1ce)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x3d1)]},'cmd':_0x1f5478['cmd']};case _0x4b61f7[_0x20c947(0x3f4)]:return{..._0x1f5478,'data':{..._0x25d7b0,'data':_0x25d7b0[_0x20c947(0x352)]},'cmd':_0x1f5478[_0x20c947(0x1ae)]};default:return _0x1f5478;}}default:return _0x1f5478;}}function xn(_0x15e61d){var _0x34b8b0=_0x30c97e;switch(_0x15e61d[_0x34b8b0(0x1ae)]){case F[_0x34b8b0(0x2c8)]:case F[_0x34b8b0(0x207)]:return JSON[_0x34b8b0(0x21f)]({'cmd':_0x15e61d[_0x34b8b0(0x1ae)],'routeKey':_0x15e61d[_0x34b8b0(0x1da)]});case F['INGEST']:{let _0x10e8ec;switch(_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x29f)]){case _0x4b61f7[_0x34b8b0(0x387)]:{_0x10e8ec={'eventID':_0x4b61f7['UPDATE_CURSOR'],'updateCursorEvent':_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7[_0x34b8b0(0x31b)]:{_0x10e8ec={'eventID':_0x4b61f7['USERS_LEAVE'],'leaveEvent':_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7[_0x34b8b0(0x35c)]:{_0x10e8ec={'eventID':_0x4b61f7[_0x34b8b0(0x35c)],'joinEvent':_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7[_0x34b8b0(0x3bf)]:{_0x10e8ec={'eventID':_0x4b61f7[_0x34b8b0(0x3bf)],'liveShareNewHost':_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7[_0x34b8b0(0x3f7)]:{_0x10e8ec={'eventID':_0x4b61f7[_0x34b8b0(0x3f7)],'liveShareOperation':_0x15e61d['data'][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7[_0x34b8b0(0x333)]:{_0x10e8ec={'eventID':_0x4b61f7[_0x34b8b0(0x333)],'liveShareTerminate':_0x15e61d['data'][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7[_0x34b8b0(0x3c3)]:{_0x10e8ec={'eventID':_0x4b61f7[_0x34b8b0(0x3c3)],'liveShareRequestHost':_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x3c2)]};break;}case _0x4b61f7['LIVESHARE_FETCH_OPERATIONS']:{_0x10e8ec={'eventID':_0x4b61f7['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x10e8ec={'eventID':_0x15e61d[_0x34b8b0(0x3c2)][_0x34b8b0(0x29f)]};}return JSON[_0x34b8b0(0x21f)]({'cmd':_0x15e61d[_0x34b8b0(0x1ae)],'routeKey':_0x15e61d[_0x34b8b0(0x1da)],'collaMsg':_0x10e8ec});}case F['JOIN']:return JSON[_0x34b8b0(0x21f)]({'cmd':_0x15e61d[_0x34b8b0(0x1ae)],'routeKey':_0x15e61d[_0x34b8b0(0x1da)],'joinReq':_0x15e61d[_0x34b8b0(0x3c2)]});case F[_0x34b8b0(0x340)]:return JSON[_0x34b8b0(0x21f)]({'cmd':_0x15e61d[_0x34b8b0(0x1ae)],'routeKey':_0x15e61d['routeKey'],'leaveReq':_0x15e61d['data']});default:throw new Error(_0x34b8b0(0x2ab));}}var Mn=Object[_0x30c97e(0x1eb)],kn=(_0x119f5b,_0x548149,_0x399fe1,_0x4081b9)=>{var _0x172839=_0x30c97e;for(var _0x1cc123=_0x4081b9>0x1?void 0x0:_0x4081b9?Mn(_0x548149,_0x399fe1):_0x548149,_0x3a3c05=_0x119f5b[_0x172839(0x338)]-0x1,_0x3172b1;_0x3a3c05>=0x0;_0x3a3c05--)(_0x3172b1=_0x119f5b[_0x3a3c05])&&(_0x1cc123=_0x3172b1(_0x1cc123)||_0x1cc123);return _0x1cc123;},Ae=(_0x3d2c88,_0x801633)=>(_0x52c0ce,_0x1b165e)=>_0x801633(_0x52c0ce,_0x1b165e,_0x3d2c88);const Ii=_0x3ae368(_0x30c97e(0x413));function $n(_0xa58629,_0x177285,_0x36dc37){return _0xa58629+'/'+_0x177285+'/unit/'+_0x36dc37+'/new_changes';}let Gt=class extends _0x4d3873{constructor(_0x2a8904,_0x49faf7,_0x959168,_0x9c72d4,_0x23edde){var _0x3821ed=_0x30c97e;super(),this[_0x3821ed(0x246)]=_0x2a8904,this[_0x3821ed(0x1dd)]=_0x49faf7,this[_0x3821ed(0x15e)]=_0x959168,this[_0x3821ed(0x247)]=_0x9c72d4,this[_0x3821ed(0x18c)]=_0x23edde;}[_0x30c97e(0x310)](_0x463996){var _0x4ef922=_0x30c97e;const _0x4c3d6e=this[_0x4ef922(0x246)][_0x4ef922(0x402)](_0x32247c);if(!_0x4c3d6e)throw new Error(_0x4ef922(0x24d));const _0x31d8c8=_0x4c3d6e[_0x4ef922(0x3a2)](_0x463996);if(!_0x31d8c8)throw new Error(_0x4ef922(0x1ba));const _0x432f0d=new _0x41d728(),_0x20aef0=new _0x52da68();_0x432f0d['add'](_0x31d8c8[_0x4ef922(0x1c7)][_0x4ef922(0x3c0)](_0x5735d3=>_0x20aef0[_0x4ef922(0x2c2)](_0x5735d3))),_0x432f0d[_0x4ef922(0x2ea)](_0x2d5b8d(()=>_0x20aef0[_0x4ef922(0x10e)]()));const _0xf6bd8b=new _0x52da68();_0x432f0d[_0x4ef922(0x2ea)](_0x31d8c8['error$'][_0x4ef922(0x3c0)](_0xd6eafe=>_0xf6bd8b[_0x4ef922(0x2c2)](_0xd6eafe))),_0x432f0d[_0x4ef922(0x2ea)](_0x2d5b8d(()=>_0xf6bd8b[_0x4ef922(0x10e)]()));const _0x50d39c=new _0x52da68();_0x432f0d[_0x4ef922(0x2ea)](_0x31d8c8[_0x4ef922(0x372)]['subscribe'](_0x3ac410=>{var _0x394d82=_0x4ef922;const _0x3a1aaf=Ln(_0x3ac410);_0x50d39c[_0x394d82(0x2c2)](_0x3a1aaf);})),_0x432f0d['add'](_0x2d5b8d(()=>_0x50d39c[_0x4ef922(0x10e)]()));let _0x6898c9;const _0x580a74=()=>{var _0x3e87fa=_0x4ef922;_0xf6bd8b[_0x3e87fa(0x2c2)](new Event(_0x3e87fa(0x1ad))),_0x20aef0['next'](new Event('connection\x20error')),_0x6898c9[_0x3e87fa(0x181)]();};return _0x6898c9={'memberID':'','close$':_0x20aef0[_0x4ef922(0x1cc)](),'error$':_0xf6bd8b[_0x4ef922(0x1cc)](),'open$':_0x31d8c8[_0x4ef922(0x2a9)],'message$':_0x50d39c[_0x4ef922(0x1cc)](),'send':_0xba23a3=>{var _0x52b525=_0x4ef922;if(_0xba23a3[_0x52b525(0x1ae)]===F['INGEST']){if(_0xba23a3['data']['eventID']===_0x4b61f7[_0x52b525(0x1f8)]){this[_0x52b525(0x202)](_0x6898c9,_0xba23a3[_0x52b525(0x3c2)])['catch'](_0x1bb628=>{var _0x456bb3=_0x52b525;this[_0x456bb3(0x247)]['error'](_0x1bb628),_0x580a74();});return;}if(_0xba23a3[_0x52b525(0x3c2)][_0x52b525(0x29f)]===_0x4b61f7[_0x52b525(0x1fc)]){const _0x3f187a=_0xba23a3[_0x52b525(0x3c2)];this[_0x52b525(0x174)](_0x3f187a)['then'](_0x3b45a4=>{var _0x262859=_0x52b525;_0x50d39c[_0x262859(0x2c2)]({'cmd':F[_0x262859(0x3a8)],'code':ge['OK'],'routeKey':_0x3f187a[_0x262859(0x3c2)][_0x262859(0x1c9)],'routeType':'','data':{'eventID':_0x4b61f7[_0x262859(0x1ea)],'data':{'changesets':_0x3b45a4}}});})[_0x52b525(0x122)](_0x1b6001=>{var _0x5ccb62=_0x52b525;this[_0x5ccb62(0x247)][_0x5ccb62(0x250)](_0x1b6001),_0x580a74();});return;}}_0x31d8c8[_0x52b525(0x35d)](xn(_0xba23a3));},'close':()=>{var _0x4bf9f0=_0x4ef922;_0x31d8c8[_0x4bf9f0(0x181)](),_0x432f0d[_0x4bf9f0(0x1ee)]();}},_0x6898c9;}async[_0x30c97e(0x202)](_0x46a280,_0x56423d){var _0x1b7f88=_0x30c97e,_0x2a1be6,_0x516081;const {unitType:_0x29e5c1,unitID:_0x569885,changeset:_0x566981}=_0x56423d[_0x1b7f88(0x3c2)],_0x570814={'unitID':_0x569885,'memberID':_0x46a280[_0x1b7f88(0x2d5)],'type':_0x29e5c1,'changeset':_0xe531f6(_0x566981)},_0x26e0db=this[_0x1b7f88(0x15e)][_0x1b7f88(0x230)](Nn),_0x32563c=this[_0x1b7f88(0x15e)]['getConfig'](q),_0x257202=$n((_0x516081=(_0x2a1be6=_0x32563c==null?void 0x0:_0x32563c[_0x1b7f88(0x2c3)])!=null?_0x2a1be6:_0x26e0db)!=null?_0x516081:Dn,_0x29e5c1,_0x569885);try{await this['_httpService'][_0x1b7f88(0x255)](_0x257202,{'body':_0x570814});}catch(_0x4031f7){throw this[_0x1b7f88(0x247)][_0x1b7f88(0x250)](_0x1b7f88(0x269),_0x1b7f88(0x26b)),_0x4031f7;}}async[_0x30c97e(0x174)](_0x246e52){const {unitID:_0x85dfb4,from:_0x2269e0,to:_0xbbf647,unitType:_0x503d9e}=_0x246e52['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x85dfb4,'type':_0x503d9e,'from':_0x2269e0,'to':_0xbbf647}))['changesets'];}};Gt=kn([Ae(0x0,_0x1aab8b(_0x51f454)),Ae(0x1,_0x1aab8b(_0x43eb18)),Ae(0x2,_0x322b89),Ae(0x3,_0xf9bcb3),Ae(0x4,_0x2ad851)],Gt);const Hn=_0x30c97e(0x2f5);function Bn(_0x16c8b3){var _0x1739a6=_0x30c97e;return JSON[_0x1739a6(0x21f)](_0x16c8b3)['length'];}class Ti{constructor(){N(this,'_commentUpdate$',new _0x52da68()),N(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0x30c97e(0x14b)](_0x1778c5){var _0x293900=_0x30c97e;this[_0x293900(0x21c)]['next'](_0x1778c5);}}var jn=Object[_0x30c97e(0x1eb)],Fn=(_0x5281a8,_0x5b8426,_0x6cfd09,_0x4fad67)=>{for(var _0x199238=_0x4fad67>0x1?void 0x0:_0x4fad67?jn(_0x5b8426,_0x6cfd09):_0x5b8426,_0x1d17ce=_0x5281a8['length']-0x1,_0x3054d1;_0x1d17ce>=0x0;_0x1d17ce--)(_0x3054d1=_0x5281a8[_0x1d17ce])&&(_0x199238=_0x3054d1(_0x199238)||_0x199238);return _0x199238;},Wt=(_0x31766d,_0x3febcb)=>(_0x12117b,_0x4e9e29)=>_0x3febcb(_0x12117b,_0x4e9e29,_0x31766d);let Le=class extends _0x4d3873{constructor(_0x39d8db,_0x59c713){var _0x286c2d=_0x30c97e;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x52da68()),(this['_univerInstanceService']=_0x39d8db,this[_0x286c2d(0x34c)]=_0x59c713,this[_0x286c2d(0x152)](_0x4bebd7(this[_0x286c2d(0x10d)][_0x286c2d(0x29b)](_0x4f9465[_0x286c2d(0x204)])['pipe'](_0x122f91(_0x6e59ad=>_0x6e59ad[_0x286c2d(0x2ed)]())),this['_univerInstanceService'][_0x286c2d(0x29b)](_0x4f9465[_0x286c2d(0x1cd)])[_0x286c2d(0x2a4)](_0x122f91(_0x29f021=>_0x29f021[_0x286c2d(0x2ed)]())),this['_univerInstanceService'][_0x286c2d(0x29b)](_0x4f9465[_0x286c2d(0x28a)])['pipe'](_0x122f91(_0x16b767=>_0x16b767[_0x286c2d(0x2ed)]())))[_0x286c2d(0x3c0)](_0x3fd3db=>this[_0x286c2d(0x3cf)](_0x3fd3db))));}[_0x30c97e(0x354)](_0x5d0c6a){var _0x4bb2d0=_0x30c97e;return this[_0x4bb2d0(0x280)][_0x4bb2d0(0x378)](_0x5d0c6a)?_0x23c246(this[_0x4bb2d0(0x280)][_0x4bb2d0(0x402)](_0x5d0c6a)):this[_0x4bb2d0(0x3d3)][_0x4bb2d0(0x2a4)](_0x122f91(_0x3df23f=>{var _0x337d3e=_0x4bb2d0;if(_0x3df23f===_0x5d0c6a)return this[_0x337d3e(0x280)]['get'](_0x3df23f);}));}[_0x30c97e(0x27e)](_0x3d37a2){var _0x7937c4=_0x30c97e;this[_0x7937c4(0x34c)]['setCurrentUser'](_0x3d37a2);}[_0x30c97e(0x2ad)](){var _0x50fc9d=_0x30c97e;return this[_0x50fc9d(0x34c)][_0x50fc9d(0x2ad)]();}[_0x30c97e(0x38e)](_0x3f852f,_0x396c47){var _0x5df3b5=_0x30c97e;let _0x5a993a=this[_0x5df3b5(0x280)]['get'](_0x3f852f);_0x5a993a||(_0x5a993a=new Vn(),this['_roomMembers']['set'](_0x3f852f,_0x5a993a),this[_0x5df3b5(0x3d3)][_0x5df3b5(0x2c2)](_0x3f852f)),_0x5a993a['updateMember'](_0x396c47);}[_0x30c97e(0x167)](_0x4377f8,_0x559a04){var _0xcc7e7b=_0x30c97e;const _0x5875b1=this[_0xcc7e7b(0x280)][_0xcc7e7b(0x402)](_0x4377f8);_0x5875b1&&_0x5875b1[_0xcc7e7b(0x167)](_0x559a04);}[_0x30c97e(0x37c)](_0x2fd274){var _0x82acc0=_0x30c97e;return this[_0x82acc0(0x280)][_0x82acc0(0x402)](_0x2fd274);}[_0x30c97e(0x134)](_0x2d85c5,_0x4796f3){var _0x230f30=_0x30c97e;const _0x56d5bc=this['_roomMembers'][_0x230f30(0x402)](_0x2d85c5);if(_0x56d5bc)return _0x56d5bc[_0x230f30(0x134)](_0x4796f3);}['_removeRoom'](_0x2aa835){var _0x396848=_0x30c97e;const _0x48537f=this[_0x396848(0x280)][_0x396848(0x402)](_0x2aa835);_0x48537f&&(_0x48537f[_0x396848(0x1ee)](),this[_0x396848(0x280)][_0x396848(0x3eb)](_0x2aa835));}[_0x30c97e(0x1ee)](){var _0x4b5b0f=_0x30c97e;this[_0x4b5b0f(0x280)]['forEach'](_0x136759=>_0x136759[_0x4b5b0f(0x1ee)]()),this[_0x4b5b0f(0x280)][_0x4b5b0f(0x1a8)](),this[_0x4b5b0f(0x3d3)][_0x4b5b0f(0x10e)]();}};Le=Fn([Wt(0x0,_0x31aedc),Wt(0x1,_0x1aab8b(_0xfdfb58))],Le);class Vn extends _0x4d3873{constructor(){var _0x155f69=_0x30c97e;super(...arguments),N(this,_0x155f69(0x158),new Map()),N(this,_0x155f69(0x184),new _0x3d3430(this['_members'])),N(this,_0x155f69(0x189),this['_members$'][_0x155f69(0x1cc)]());}['dispose'](){this['_members']['clear']();}[_0x30c97e(0x38e)](_0x45e617){var _0x412540=_0x30c97e;this[_0x412540(0x158)][_0x412540(0x3c8)](_0x45e617['memberID'],_0x45e617),this['_emitMembers']();}['removeMember'](_0x2edc78){var _0x357cea=_0x30c97e;this[_0x357cea(0x158)]['delete'](_0x2edc78);}[_0x30c97e(0x134)](_0x2971fa){var _0xe45f49=_0x30c97e;return this['_members'][_0xe45f49(0x402)](_0x2971fa);}[_0x30c97e(0x3aa)](){var _0x22fc11=_0x30c97e;return Array[_0x22fc11(0x1a9)](this[_0x22fc11(0x158)][_0x22fc11(0x260)]());}['_emitMembers'](){var _0x245f37=_0x30c97e;this['_members$']['next'](this[_0x245f37(0x158)]);}}var Gn=Object[_0x30c97e(0x1eb)],Wn=(_0x1c94b0,_0x4ce246,_0x25be8c,_0x4d3571)=>{var _0x146831=_0x30c97e;for(var _0x12c6b4=_0x4d3571>0x1?void 0x0:_0x4d3571?Gn(_0x4ce246,_0x25be8c):_0x4ce246,_0xd2acfa=_0x1c94b0[_0x146831(0x338)]-0x1,_0x203dc9;_0xd2acfa>=0x0;_0xd2acfa--)(_0x203dc9=_0x1c94b0[_0xd2acfa])&&(_0x12c6b4=_0x203dc9(_0x12c6b4)||_0x12c6b4);return _0x12c6b4;},me=(_0x16385e,_0x3c8f3b)=>(_0x568eba,_0x3f4f36)=>_0x3c8f3b(_0x568eba,_0x3f4f36,_0x16385e),Ee=(_0x3c8d02=>(_0x3c8d02[_0x3c8d02[_0x30c97e(0x344)]=0x0]=_0x30c97e(0x344),_0x3c8d02[_0x3c8d02[_0x30c97e(0x3c1)]=0x1]=_0x30c97e(0x3c1),_0x3c8d02[_0x3c8d02[_0x30c97e(0x358)]=0x2]='OFFLINE',_0x3c8d02[_0x3c8d02[_0x30c97e(0x39c)]=0x3]=_0x30c97e(0x39c),_0x3c8d02))(Ee||{});const Kt={[ge[_0x30c97e(0x309)]]:_0x30c97e(0x371),[ge[_0x30c97e(0x163)]]:_0x30c97e(0x23b),[ge[_0x30c97e(0x12c)]]:_0x30c97e(0x2bd),[ge[_0x30c97e(0x38d)]]:'session.room-permission-denied',[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x30c97e(0x29a)};let Et=class extends _0x34ea91{constructor(_0x2e1022,_0x3c5098,_0xcd5a14,_0x3313b6,_0x2254a5,_0x4ba5cf,_0x5683b5,_0x929d3b,_0x3adf54){var _0x2600b7=_0x30c97e;super(),N(this,'_sessionStatus$',new _0x3d3430(0x0)),N(this,_0x2600b7(0x153),this['_sessionStatus$'][_0x2600b7(0x1cc)]()),N(this,'_event$',new _0x52da68()),N(this,_0x2600b7(0x376),this[_0x2600b7(0x1e2)]['asObservable']()),N(this,_0x2600b7(0x214)),N(this,_0x2600b7(0x2d9)),N(this,_0x2600b7(0x11a)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x2600b7(0x2d6),null),(this[_0x2600b7(0x1be)]=_0x2e1022,this['_logService']=_0xcd5a14,this['_configService']=_0x3313b6,this[_0x2600b7(0x1b4)]=_0x2254a5,this['_memberService']=_0x4ba5cf,this[_0x2600b7(0x316)]=_0x5683b5,this['_collaborationUIEventService']=_0x929d3b,this['_telemetryService']=_0x3adf54,this[_0x2600b7(0x3dc)]=!!this['_telemetryService'],_0x3c5098[_0x2600b7(0x2a4)](_0x155287(this['dispose$']))['subscribe'](_0x59df20=>{var _0x23359c=_0x2600b7,_0x2e4a98;typeof _0x59df20>'u'||(this['_socket']=_0x59df20,_0x59df20?(this['_joinRoom'](_0x59df20),this[_0x23359c(0x2d9)]=_0x59df20[_0x23359c(0x372)][_0x23359c(0x3c0)](_0x5cc2d1=>{var _0x273380=_0x23359c;_0x5cc2d1['routeKey']===this['_unitID']&&this[_0x273380(0x2d3)](_0x5cc2d1);})):(this[_0x23359c(0x3d4)](),this['_sessionStatus$'][_0x23359c(0x2c2)](0x2),(_0x2e4a98=this[_0x23359c(0x2d9)])==null||_0x2e4a98[_0x23359c(0x3b5)](),this[_0x23359c(0x2d9)]=null));}));}get[_0x30c97e(0x261)](){var _0x42678d=_0x30c97e;return this[_0x42678d(0x12f)][_0x42678d(0x145)]();}['getMemberID'](){var _0x5f0575=_0x30c97e,_0x571d3d,_0x9f096a;return(_0x9f096a=(_0x571d3d=this[_0x5f0575(0x214)])==null?void 0x0:_0x571d3d[_0x5f0575(0x2d5)])!=null?_0x9f096a:null;}[_0x30c97e(0x1ee)](){var _0x370f34=_0x30c97e;super[_0x370f34(0x1ee)](),this['dispose$']['next'](),this[_0x370f34(0x363)]['complete']();}[_0x30c97e(0x181)](){var _0x473f11=_0x30c97e,_0x49de12,_0xac3d88;this[_0x473f11(0x3d4)](),(_0x49de12=this[_0x473f11(0x214)])==null||_0x49de12[_0x473f11(0x35d)]({'cmd':F[_0x473f11(0x340)],'data':{'roomID':this[_0x473f11(0x1be)]}}),(_0xac3d88=this[_0x473f11(0x214)])==null||_0xac3d88['close'](),this[_0x473f11(0x1e2)]['complete'](),this[_0x473f11(0x12f)][_0x473f11(0x10e)](),this['dispose']();}[_0x30c97e(0x2d3)](_0x1645f1){var _0xeaf039=_0x30c97e;_0x1645f1[_0xeaf039(0x1ae)]===F[_0xeaf039(0x3ab)]?this[_0xeaf039(0x3d7)](_0x1645f1):_0x1645f1[_0xeaf039(0x1ae)]===F[_0xeaf039(0x3a8)]&&this[_0xeaf039(0x3ce)](_0x1645f1);}['_joinRoom'](_0x5cbcec){var _0x3dbad9=_0x30c97e;this[_0x3dbad9(0x12f)][_0x3dbad9(0x2c2)](0x1),_0x5cbcec[_0x3dbad9(0x35d)]({'cmd':F[_0x3dbad9(0x3ab)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x30c97e(0x3d7)](_0x5efb40){var _0x53b81e=_0x30c97e,_0x3d1062;if(_0x5efb40[_0x53b81e(0x1c0)]in Kt){this[_0x53b81e(0x125)]['emitEvent']({'id':re[_0x53b81e(0x16d)],'data':Kt[_0x5efb40[_0x53b81e(0x1c0)]]}),this[_0x53b81e(0x12f)][_0x53b81e(0x2c2)](0x2);return;}this[_0x53b81e(0x12f)][_0x53b81e(0x2c2)](0x3);const _0x512eb2=(_0x3d1062=_0x5efb40['data'][_0x53b81e(0x331)][this[_0x53b81e(0x1be)]])==null?void 0x0:_0x3d1062[_0x53b81e(0x332)];_0x512eb2&&_0x512eb2['forEach'](_0x4c4860=>this[_0x53b81e(0x3c5)][_0x53b81e(0x38e)](this['_unitID'],_0x4c4860));}[_0x30c97e(0x3ce)](_0x359f2a){var _0x13d2cf=_0x30c97e;try{const _0x24769d=_0x359f2a['data'];switch(_0x24769d[_0x13d2cf(0x29f)]){case _0x4b61f7[_0x13d2cf(0x35c)]:this[_0x13d2cf(0x19f)](_0x24769d),this[_0x13d2cf(0x1e2)][_0x13d2cf(0x2c2)](_0x24769d);break;case _0x4b61f7[_0x13d2cf(0x31b)]:this[_0x13d2cf(0x31d)](_0x24769d),this['_event$'][_0x13d2cf(0x2c2)](_0x24769d);break;case _0x4b61f7[_0x13d2cf(0x38b)]:case _0x4b61f7[_0x13d2cf(0x2d2)]:this[_0x13d2cf(0x1f5)](),this[_0x13d2cf(0x407)](),this[_0x13d2cf(0x1e2)][_0x13d2cf(0x2c2)](_0x24769d);break;case _0x4b61f7[_0x13d2cf(0x328)]:this[_0x13d2cf(0x247)][_0x13d2cf(0x250)](_0x13d2cf(0x21a)+JSON[_0x13d2cf(0x21f)](_0x24769d)),this[_0x13d2cf(0x1e2)][_0x13d2cf(0x2c2)](_0x24769d);break;case _0x4b61f7[_0x13d2cf(0x396)]:this[_0x13d2cf(0x316)][_0x13d2cf(0x14b)](_0x24769d[_0x13d2cf(0x3c2)]),this[_0x13d2cf(0x1e2)][_0x13d2cf(0x2c2)](_0x24769d);break;default:this[_0x13d2cf(0x1e2)][_0x13d2cf(0x2c2)](_0x24769d);}}catch(_0x427069){this[_0x13d2cf(0x247)][_0x13d2cf(0x250)](_0x427069,_0x359f2a);}}[_0x30c97e(0x19f)](_0x13ea1b){var _0x2eae25=_0x30c97e;this[_0x2eae25(0x3c5)][_0x2eae25(0x38e)](this[_0x2eae25(0x1be)],_0x13ea1b[_0x2eae25(0x3c2)]);}[_0x30c97e(0x31d)](_0x28b102){var _0x3e7dca=_0x30c97e;this[_0x3e7dca(0x3c5)][_0x3e7dca(0x167)](this[_0x3e7dca(0x1be)],_0x28b102[_0x3e7dca(0x3c2)]['memberID']);}async[_0x30c97e(0x35d)](_0x335dc3,_0x38fc32){var _0x5e49ae=_0x30c97e;if(this[_0x5e49ae(0x261)]!==0x3||!this[_0x5e49ae(0x214)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x335dc3[_0x5e49ae(0x29f)]===_0x4b61f7[_0x5e49ae(0x1f8)]&&(this[_0x5e49ae(0x112)](),this['_startTelemetryCollaborationNewChangeset'](_0x335dc3)),this[_0x5e49ae(0x214)][_0x5e49ae(0x35d)]({'cmd':F[_0x5e49ae(0x3ad)],'routeKey':_0x38fc32,'routeType':'','data':_0x335dc3});}catch(_0x210bd4){this[_0x5e49ae(0x247)][_0x5e49ae(0x250)](_0x210bd4);}}[_0x30c97e(0x112)](){var _0x1ba45b;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x57fb3d=_0x5b64;this[_0x57fb3d(0x11a)]=null,this[_0x57fb3d(0x125)][_0x57fb3d(0x3cd)]({'id':re[_0x57fb3d(0x2a5)]});},(_0x1ba45b=this['_configService']['getConfig'](mi))!=null?_0x1ba45b:gi);}[_0x30c97e(0x407)](){var _0x5a2377=_0x30c97e;this[_0x5a2377(0x11a)]&&(clearTimeout(this[_0x5a2377(0x11a)]),this[_0x5a2377(0x11a)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4e547e){var _0x1703d7=_0x30c97e;if(!this[_0x1703d7(0x3dc)])return;const {data:_0x5e628b}=_0x4e547e,{unitID:_0x1fe663,changeset:_0x43e0bd}=_0x5e628b,{mutations:_0x454344,type:_0x3706d3}=_0x43e0bd;this['_telemetryInfo']={'unitId':_0x1fe663,'type':_0x3706d3,'startTime':performance[_0x1703d7(0x2a6)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x454344)};}[_0x30c97e(0x1f5)](){var _0x4ea33a=_0x30c97e;if(this[_0x4ea33a(0x3dc)]){if(!this[_0x4ea33a(0x2d6)]){this['_logService'][_0x4ea33a(0x250)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4ea33a(0x2d6)][_0x4ea33a(0x19e)]=performance[_0x4ea33a(0x2a6)](),this[_0x4ea33a(0x2d6)][_0x4ea33a(0x2e2)]=this[_0x4ea33a(0x2d6)][_0x4ea33a(0x19e)]-this[_0x4ea33a(0x2d6)]['startTime'],this[_0x4ea33a(0x252)][_0x4ea33a(0x191)](Hn,this['_telemetryInfo']),this[_0x4ea33a(0x2d6)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4180f8=_0x30c97e;this[_0x4180f8(0x2d6)]=null;}};Et=Wn([me(0x2,_0xf9bcb3),me(0x3,_0x322b89),me(0x4,_0x1aab8b(_0x54440b)),me(0x5,_0x1aab8b(Le)),me(0x6,_0x1aab8b(Ti)),me(0x7,_0x1aab8b(pe)),me(0x8,_0x596184(_0xeab857))],Et);var Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x5eaf64,_0x3d0c24,_0xe83c0a,_0x4fc432)=>{for(var _0x257db1=_0x4fc432>0x1?void 0x0:_0x4fc432?Kn(_0x3d0c24,_0xe83c0a):_0x3d0c24,_0x4c150f=_0x5eaf64['length']-0x1,_0x575b0e;_0x4c150f>=0x0;_0x4c150f--)(_0x575b0e=_0x5eaf64[_0x4c150f])&&(_0x257db1=_0x575b0e(_0x257db1)||_0x257db1);return _0x257db1;},be=(_0x12af1a,_0x44b620)=>(_0x417846,_0x2f0e07)=>_0x44b620(_0x417846,_0x2f0e07,_0x12af1a);let xe=class extends _0x4d3873{constructor(_0x5e15bb,_0x575065,_0x3962be,_0x599026,_0x4f333e,_0x19355c){var _0x44499d=_0x30c97e;super(),N(this,_0x44499d(0x22c),new _0x3d3430(void 0x0)),N(this,_0x44499d(0x2ec),this[_0x44499d(0x22c)][_0x44499d(0x1cc)]()),N(this,_0x44499d(0x188),null),N(this,_0x44499d(0x254),new Map()),N(this,_0x44499d(0x1cb),new _0x3d3430(Ee[_0x44499d(0x344)])),N(this,_0x44499d(0x218),this[_0x44499d(0x1cb)][_0x44499d(0x1cc)]()),N(this,_0x44499d(0x2a8),!0x1),N(this,_0x44499d(0x2cb)),N(this,'_retryCount',0x0),N(this,_0x44499d(0x3d9)),N(this,_0x44499d(0x3a5)),(this[_0x44499d(0x246)]=_0x5e15bb,this['_logService']=_0x575065,this[_0x44499d(0x15e)]=_0x3962be,this[_0x44499d(0x16b)]=_0x599026,this[_0x44499d(0x125)]=_0x4f333e,this['_networkConditionService']=_0x19355c,this[_0x44499d(0x394)]());}get['_socket'](){var _0x5e4b5a=_0x30c97e;return this[_0x5e4b5a(0x22c)][_0x5e4b5a(0x145)]();}[_0x30c97e(0x394)](){var _0x598f74=_0x30c97e;this['_networkConditionService']&&this['disposeWithMe'](this[_0x598f74(0x343)][_0x598f74(0x20f)][_0x598f74(0x3c0)](_0x16a3de=>{var _0x1591bb=_0x598f74;_0x16a3de&&!this[_0x1591bb(0x214)]&&this[_0x1591bb(0x192)](),_0x16a3de||this['_onOffline']();}));}['dispose'](){var _0x2cd5bc=_0x30c97e;super['dispose'](),this[_0x2cd5bc(0x2b7)](),this[_0x2cd5bc(0x3a7)](),this[_0x2cd5bc(0x2ce)](),this[_0x2cd5bc(0x254)][_0x2cd5bc(0x3b3)](_0x8944b9=>_0x8944b9['dispose']()),this['_sessions'][_0x2cd5bc(0x1a8)](),this['_status$'][_0x2cd5bc(0x10e)]();}async['requireSession'](_0x20282c){var _0x49f486=_0x30c97e;if(this[_0x49f486(0x254)][_0x49f486(0x378)](_0x20282c))return this[_0x49f486(0x254)][_0x49f486(0x402)](_0x20282c);this['_tryEnsureSocket']();const _0x29fe09=this['_injector'][_0x49f486(0x1d8)](Et,_0x20282c,this[_0x49f486(0x22c)]['asObservable']());return this[_0x49f486(0x254)][_0x49f486(0x3c8)](_0x20282c,_0x29fe09),_0x29fe09;}[_0x30c97e(0x3e3)](_0x5c4ec1){var _0x1e56c8=_0x30c97e,_0x46d702;const _0x5cf990=this[_0x1e56c8(0x254)]['get'](_0x5c4ec1);_0x5cf990&&(this[_0x1e56c8(0x254)][_0x1e56c8(0x3eb)](_0x5c4ec1),_0x5cf990[_0x1e56c8(0x181)]()),this['_sessions'][_0x1e56c8(0x32b)]||(_0x46d702=this[_0x1e56c8(0x214)])==null||_0x46d702[_0x1e56c8(0x181)]();}[_0x30c97e(0x192)](){var _0x52b22c=_0x30c97e;this['_retryCount']=0x0,this[_0x52b22c(0x2b7)](),this['_tryReconnect']();}[_0x30c97e(0x2b7)](){var _0x404ae8=_0x30c97e;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x404ae8(0x2cb)]),this[_0x404ae8(0x2cb)]=null);}async['_createSocket'](){var _0x50142f=_0x30c97e,_0x22cf99,_0x5b5f6e;const _0x3bfafb=this[_0x50142f(0x15e)][_0x50142f(0x230)](In),_0x200776=this[_0x50142f(0x15e)][_0x50142f(0x230)](q),_0x3978cc=(_0x5b5f6e=(_0x22cf99=_0x200776==null?void 0x0:_0x200776['collabWebSocketUrl'])!=null?_0x22cf99:_0x3bfafb)!=null?_0x5b5f6e:Tn,_0x2ab234=await this[_0x50142f(0x16b)]['createSocket'](_0x3978cc);return this[_0x50142f(0x188)]=_0x2ab234,_0x2ab234;}async[_0x30c97e(0x406)](){var _0x50032a=_0x30c97e,_0x51a7ff,_0x2d1883;try{const _0x412ca9=(_0x2d1883=(_0x51a7ff=this[_0x50032a(0x214)])!=null?_0x51a7ff:this[_0x50032a(0x188)])!=null?_0x2d1883:await this['_createSocket']();if(_0x412ca9){const _0x401ff8=_0x412ca9[_0x50032a(0x35d)];_0x412ca9['send']=_0x53c9bf=>(this[_0x50032a(0x1a0)](),_0x401ff8['apply'](_0x412ca9,[_0x53c9bf])),_0x412ca9[_0x50032a(0x372)][_0x50032a(0x3c0)](_0x137027=>this[_0x50032a(0x339)](_0x412ca9,_0x137027)),_0x412ca9[_0x50032a(0x36a)]['pipe'](_0x4e7a9b(0x1))['subscribe'](_0x46b262=>this[_0x50032a(0x247)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x46b262)),_0x412ca9[_0x50032a(0x2a9)]['pipe'](_0x4e7a9b(0x1))[_0x50032a(0x3c0)](()=>{this['_onConnectionOpen'](_0x412ca9);}),_0x412ca9[_0x50032a(0x1c7)][_0x50032a(0x2a4)](_0x4e7a9b(0x1))[_0x50032a(0x3c0)](_0x465286=>{var _0x18c129=_0x50032a;this[_0x18c129(0x247)]['debug'](_0x18c129(0x2be),_0x18c129(0x249),_0x465286),this[_0x18c129(0x11b)]();});}}catch(_0x38d05c){this[_0x50032a(0x247)][_0x50032a(0x250)](_0x38d05c),this[_0x50032a(0x11b)]();}}['_onConnectionOpen'](_0x5c3ca7){var _0x4b758d=_0x30c97e;this[_0x4b758d(0x247)]['debug'](_0x4b758d(0x2be),_0x4b758d(0x1d3)),_0x5c3ca7['send']({'cmd':F[_0x4b758d(0x207)]}),this[_0x4b758d(0x1a0)]();}[_0x30c97e(0x1f3)](){var _0x136de2=_0x30c97e;this[_0x136de2(0x2a8)]=!0x1,this['_candidateSocket']=null,this[_0x136de2(0x1cb)][_0x136de2(0x2c2)](Ee['OFFLINE']),this['_socket$'][_0x136de2(0x2c2)](null),this['_clearTimeoutTimer'](),this[_0x136de2(0x2ce)]();}[_0x30c97e(0x11b)](){var _0x131486=_0x30c97e,_0x59f9d4;this[_0x131486(0x1f3)](),this['_retryCount']<((_0x59f9d4=this['_configService'][_0x131486(0x230)](On))!=null?_0x59f9d4:yn)?(this[_0x131486(0x125)]['emitEvent']({'id':re[_0x131486(0x131)]}),this[_0x131486(0x173)]()):this['_collaborationUIEventService'][_0x131486(0x3cd)]({'id':re[_0x131486(0x22d)]});}[_0x30c97e(0x173)](){var _0x879d7=_0x30c97e,_0x5786ab;const _0x3f624c=this[_0x879d7(0x365)],_0x5e70ad=this[_0x879d7(0x15e)][_0x879d7(0x230)](q),_0x249f54=_0x3f624c===0x0?0x0:((_0x5786ab=_0x5e70ad==null?void 0x0:_0x5e70ad['retryConnectingInterval'])!=null?_0x5786ab:bn)*0x2**_0x3f624c;this[_0x879d7(0x2cb)]=setTimeout(()=>{var _0x2c8915=_0x879d7;clearTimeout(this[_0x2c8915(0x2cb)]),this[_0x2c8915(0x2cb)]=null,this[_0x2c8915(0x406)]();},_0x249f54),this[_0x879d7(0x365)]+=0x1;}['_onMessage'](_0x2ccfa1,_0x3d6905){var _0x56e484=_0x30c97e;const {cmd:_0x22594a}=_0x3d6905;_0x22594a===F['HELLO']&&!this['_socketReady']&&(_0x2ccfa1[_0x56e484(0x2d5)]=_0x3d6905[_0x56e484(0x3c2)][_0x56e484(0x2d5)],this[_0x56e484(0x22c)][_0x56e484(0x2c2)](_0x2ccfa1),this[_0x56e484(0x1cb)]['next'](Ee[_0x56e484(0x39c)]),this[_0x56e484(0x2a8)]=!0x0,this['_candidateSocket']=null),_0x22594a===F[_0x56e484(0x2c8)]&&this[_0x56e484(0x3a7)](),this['_rescheduleHeartbeat']();}[_0x30c97e(0x1a0)](){var _0x3eb18b=_0x30c97e,_0x15385b;this[_0x3eb18b(0x2ce)](),this[_0x3eb18b(0x3d9)]=setTimeout(()=>this[_0x3eb18b(0x362)](),(_0x15385b=this[_0x3eb18b(0x15e)][_0x3eb18b(0x230)](Cn))!=null?_0x15385b:Rn);}[_0x30c97e(0x362)](){var _0x41864b=_0x30c97e;this['_socket'][_0x41864b(0x35d)]({'cmd':F['HEARTBEAT']}),this[_0x41864b(0x2a7)]();}[_0x30c97e(0x2a7)](){var _0x3d532e=_0x30c97e,_0x534c7a;this[_0x3d532e(0x3a5)]=setTimeout(()=>this[_0x3d532e(0x11b)](),(_0x534c7a=this[_0x3d532e(0x15e)][_0x3d532e(0x230)](mi))!=null?_0x534c7a:gi);}[_0x30c97e(0x2ce)](){var _0x42c6ec=_0x30c97e;this[_0x42c6ec(0x3d9)]!=null&&(clearTimeout(this[_0x42c6ec(0x3d9)]),this['_sendHeartbeatTimer']=null);}[_0x30c97e(0x3a7)](){var _0x1ad03c=_0x30c97e;this[_0x1ad03c(0x3a5)]!=null&&(clearTimeout(this[_0x1ad03c(0x3a5)]),this[_0x1ad03c(0x3a5)]=null);}};xe=Yn([be(0x0,_0x1aab8b(_0x51f454)),be(0x1,_0xf9bcb3),be(0x2,_0x322b89),be(0x3,Ii),be(0x4,_0x1aab8b(pe)),be(0x5,_0x596184(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x30c97e(0x403)]((t+0x100)[_0x30c97e(0x15a)](0x10)['slice'](0x1));function _0x43fe(){var _0x2c75d3=['APPLY_NON_SEQUENTIAL_REVISION','string','resolve','_unitInfo$','COMPRESS_MUTATION_APPLY','processBlock','ws://127.0.0.1:8000/universer-api/comb/connect','disableLocalCache','updateOfflineData','setCurrentUser','loginUrlKey','_roomMembers','keySize','/universer-api/snapshot/','allowed','_iv','leaveEvent','_cipher','onMissedChangesetFetched','PasswordBasedCipher','_ENC_XFORM_MODE','UNIVER_SLIDE','_scheduleCompleteTimestamp','_parse','addHandlerCallback','_HTTPService','CHANGESET_REVISION_CONFILICT','_nRounds','Failed\x20to\x20update\x20permission\x20point','_entities','PY_RUNTIME_SCRIPT_ERROR','status','_onLocalMutation','_snapshotService','localeService','_handlerCallback','_substituteRedoStack','session.room-cnt-exceeds','getTypeOfUnitDisposed$','_transformStateCache','_decreaseWaiting','_collaborationSessionService','eventID','YUUMI_RATE_OVER_LIMIT','_resendTimeout','/-/object/list','CipherParams','pipe','SUBMIT_CHANGESET_TIMEOUT','now','_waitForHeartbeatResponse','_socketReady','open$','clone','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','headers','getCurrentUser','type','call','sendChangesetTimeout','Cipher','UUID','createDecryptor','unitInfo$','LICENSE_DISTRO_REJECTED','collaMsg','_clearRetryConnectingTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','encrypt','unit-cache-','name','DEFAULT_FILE_NAME','session.room-not-exists','[CollaborationSessionService]','padding','_loadDoc','_toggleOffline','next','collabSubmitChangesetUrl','COLLAB_SUBMIT_CHANGESET_URL','_getCurrentRevision','[FetchMissState]','not_collab','HEARTBEAT','OTHER_CLIENT_EDITING','_updateState','_retryConnectingTimer','HttpImport','href','_clearHeartbeatTimer','/universer-api/stream/file/upload','_changesetReqId','authzUrl','CHANGESET_SHOULD_RETRY','_onCombEvent','_compressMutationService','memberID','_telemetryInfo','collaboration-client.local-cache-service','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_socketMessageSubscription','_onRemoteACK','_transformStack','UnitSnapshot','getActiveSheet','actions','parse','getLatestCsReqIdBySid','COMPRESS_MUTATION_SEND','duration','_init','blockSize','SerializableCipher','enableOfflineEditing','collaboratorID','infoRsp','rev','add','Undefined','socket$','getUnitId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','enc','addImageSourceCache','CLOSE_ROOM','awaiting','WordArray','uploadFileServerUrl','collaboration_new_changeset','getUnitType','roles','LICENSE_MAX_UNITS_EXCEEDED','UNIVER_PROJECT','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','USER_NOT_INVITED_CODE','_hash','state$','HmacSHA1','_clearScheduledTask','HEARTBEAT_INTERVAL','__creator','YUUMI_NO_CUBOID_FOR_QUESTION','revision','[CollaborationUndoRedoService]','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_state','put','hostname','FAIL','_collaborationPaused','Could\x20not\x20dynamically\x20require\x20\x22','resend','onStateChange','reject','_changesetSessionId','_doCreateSocket','reduce','isArray','EMAIL_HAS_BEEN_BOUND','lib','[OfflineState]:\x20received\x20changeset.','_commentService','requireSession','/object','listRoles','_singleActiveUnitService','USERS_LEAVE','_getDownloadEndpointURL','_onUserLeave','BlockCipher','Encryptor','NEW_CHANGESETS','onSendChangeset','method','socketService','BlockCipherMode','decryptBlock','INVALID_ARGUMENT','_sender','MSG_FOR_ERROR','createCollaborator','csShouldRetryEvent','size','failed\x20to\x20apply\x20missed\x20changesets!','editingUnit','commentUpdateEvent','unpad','PENDING','roomInfos','members','LIVESHARE_TERMINATE','_applyRemoteChangeset','6957384jlQVfm','offline','decrypt','length','_onMessage','createEncryptor','ERROR_IMAGE','textRanges','joinRsp','_updateStatus','INVITE_CODE_HAS_BEEN_UES','LEAVE','_doFinalize','_exhaustRemoteChangesetQueue','_networkConditionService','IDLE','pluginName','COLLAB_WEB_SOCKET_URL','image/jpg','batchAllowed','_syncEditingCollabCursor','filter','crypto','_userManagerService','UPDATE_PERMISSION_OBJ','onSyncEditingCollabCursor','slice','EvpKDF','subUnitId','uniscriptRunEvent','YUUMI_URL_COL_OUT_OF_RANGE','waitForRoom$','cfg','apply','[CollaborationState]:\x20apply\x20error!','OFFLINE','map','awaitingChangeset','join','USERS_ENTER','send','buffer','session','onTransformState','_imageSourceCache','_sendHeartbeat','dispose$','prototype','_retryCount','_mode','_minBufferSize','Malformed\x20UTF-8\x20data','67205lEZhfD','error$','requestParams','_startCollaboration','/-/object/-/batch_allowed','_redoStacks','toggleOnline','url','session.join-failed','message$','/role','univer-pro.collaboration-client.single-active-unit-service','_instanceService','event$','floor','has','onRemoteRetry','_process','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getRoom','downloadEndpointUrl','randomUUID','fetchThroughInterceptors','_localCacheService','_onRemoteChangeset','HMAC','override','_createHandler','fromCharCode','2880832LDGFnw','UPDATE_CURSOR','OTHER_CLIENTS_EDITING','hasher','snapshot','CHANGESET_ACK','AES','JOIN_ROOM_PERMISSION_DENIED','updateMember','getInterceptPoints','LOGIN_URL_KEY','permissionRejEvent','_prevBlock','_transformIMECache','_listenToNetworkCondition','registerHTTPInterceptor','COMMENT_UPDATE','loadUnit','transformStack\x20failed!','2lFzufr','copyFileMeta','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ONLINE','_doCryptBlock','_transitionLocked','_initMergeInterceptor','mutations','HEARTBEAT_TIMEOUT','createSocket','objectType','Base64','_timeoutTimer','[PendingState]:\x20received\x20acknowledgement.','_clearTimeoutTimer','RECV','/universer-api/authz','getAllMembers','JOIN','onTransformRemoteChangesetByStateCache','INGEST','Latin1','{fileID}','_hasher','438EUJoUZ','UserProfileImg','forEach','/allowed','unsubscribe','INTERNAL_ERROR','objectID','_showConflictNotification','updatePermissionPoint','pending','setConfig','getUnitStatus$','includes','ERROR_EXCEED_SIZE','LIVESHARE_NEW_HOST','subscribe','JOINING','data','LIVESHARE_REQUEST_HOST','setWaitCount','_memberService','transformChangesets','_permissionService','set','YUUMI_UNABLE_LOAD_URL','loadOfflineData','_schedule','create','emitEvent','_onRecvEvent','_removeRoom','location','shouldCloseConn','encode','_roomCreated$','_throwTelemetryCollaborationNewChangeset','_key','POST','_onJoinRoomEvent','signUrlServerUrl','_sendHeartbeatTimer','sid','min','_shouldReportTelemetry','_clearLocalCache','find','StreamCipher','_sendingTimer','/universer-api/user/session-ticket','saveSheetBlock','closeSession','withCredentials','avatar','_lockTransition','formatter','pad','UNIVER_COLLABORATION_CLIENT_PLUGIN','words','delete','ENSURE_SNAPSHOT_EXECUTION','pauseCollaboration','generateRandomId','LIVESHARE_FETCH_OPERATIONS','synced','patch','_keySchedule','onTransformRemoteChangesetByIMECache','UNISCRIPT_RUN','unitId','getResourcesRequest','LIVESHARE_OPERATION','startsWith','charCodeAt','saveImage','execute','conflict','transformMutationsWithChangeset','UNIVER_UNKNOWN','subject','_loadSheet','Base','get','push','target','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_tryEnsureSocket','_clearCollaborationTimeoutTimer','SNAPSHOT_SERVER_URL_KEY','onTransformSelections','&source=','getCollabEntity$','_xformMode','saveChangeset','PERMISSION_REJ','executeCommand','randomBytes','baseRev','readInt32LE','univer-pro.collaboration-client-socket-service','APPLY_DUPLICATED','interceptor','random','_univerInstanceService','complete','onMissingChangesets','readAsDataURL','FileId','_scheduleCollaborationTimeoutTimer','workbook','_state$','[PendingState]:\x20received\x20rejection.','onRemoteAck','_append','UnitEmbedded','People','_collaborationTimeoutTimer','_onConnectionFailed','[DataLoaderService]','__esModule','awaiting_with_pending','_initUnitPermissionChange','_waitCount','reset','catch','_getUndoStack','_resendWithTimeout','_collaborationUIEventService','CONFLICT','_handler','Univer','BufferedBlockAlgorithm','exports','bind','JOIN_ROOM_NOT_EXISTS','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_incrementRevisionNumber','_sessionStatus$','PERSON','SOCKET_FAILED_RETRY','liveShareNewHost','getCurrentSelections','getMember','list','transformUndoRedo','mode','1167193ctzZiL','finalize','extend','_iKey','3daouow','unknown','_eventService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ERROR_IMAGE_TYPE','_awaitingChangeset','APPLY_REJECT','INVITE_CODE_ALREADY_BOUND','encodeURIComponent','getValue','_type','[UniverCollaborationClientPlugin]','isPermissionRej','FETCH_MISS','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onCommentUpdate','sin','30186320QMXoEF','_getLoginPath','_onRemoteRetry','collaboration-client.config','?url=','disposeWithMe','sessionStatus$','selections','GLOBAL_ROOMS_CNT_EXCEEDS','4656564cgMhSm','/unit/','_members','getMemberID','toString','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','byteLength','?size=','_configService','repeat','_createHmacHelper','_oKey','defineProperty','JOIN_ROOM_FULL','&assign=','_DEC_XFORM_MODE','incrementRevOfUnit','removeMember','_onConflict','$super','ivSize','_socketService','format','JOIN_ROOM_FAILED','getFocusedUnit','_undoRedoService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getCtorByUniverType','focused$','_tryReconnect','_fetchMissChangesets','image/bmp','INVALID_INVITE_CODE','image/png','1233396wsrpgb','AWAITING','getUnitOnRev','indexOf','hasOwnProperty','listCollaborators','fromCollab','onlyLocal','title','close','/universer-api/file/{fileID}/sign-url','result','_members$','toggleOffline','fetching\x20missing\x20changesets\x20from\x20','_getRedoStack','_candidateSocket','members$','NOT_COLLAB','_replayCachedMutations','_snapshotServerService','_reverseMap','fetch_missing','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','onStarting','capture','reconnect','[CollaborationEntity]','resourceIDs','unitId\x20is\x20not\x20found','YUUMI_ASYNCIO_CANCELLED','_sheetTransformSelectionsService','_remoteChangesetQueue','reqId','_acknowledgedAwaitingChangeset','_data','onload','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','stopTime','_onUserJoin','_rescheduleHeartbeat','NO_OTHER_CLIENTS_EDITING','_createInitialState','APPLY_PERMISSION_DENIED','LICENSE_IMPORT_SIZE_EXCEEDED','/object/','_map','_clearUndo','clear','from','_checkMissing','[SyncedState]:\x20received\x20rejection.','INVITE_CODE_REQUIRED','connection\x20error','cmd','SHA1','deleteCollaborator','\x0aCurrent:\x20','CONNECTOR_DATA_TOO_LARGE','clamp','_localeService','substr','_transformRemoteChangesetByIMECache','compute','init','LOCAL_CACHE_INTERVAL','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_change$','function','COMPLETION_FINISHED','_unitID','SUCCUSS','code','concat','_revisionService','sheets','putCollaborators','UNKNOWN_CODE','_queuedRemoteChangesets','close$','_getUploadFileURL','unitID','loadSheet','_status$','asObservable','UNIVER_DOC','SHOULD_CLOSE_CONN','default','reverse','_clearRedo','Utf8','socket\x20open.','getSheetBlock','OpenSSL','_getAPIPrefix','getCurrentRevOfUnit','createInstance','TOO_MANY_REQUESTS','routeKey','csAckEvent','iterations','_httpService','_onFetchMissResult','_unlockTransition','onLocalMutation','_config','_event$','LOGIN_FAILED','updateCursorEvent','mixIn','transformSelections','localCacheService','\x20to\x20','charAt','PSEUDO_FETCH_MISSING_RESULT','getOwnPropertyDescriptor','UNDEFINED','_toggleOnline','dispose','debug','onRemoteRej','entries','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onOffline','\x20in\x20_schedule.','_stopTelemetryCollaborationNewChangeset','compose','splice','SUBMIT_CHANGESET','onRemoteChangeset','SNAPSHOT_INVALID_SNAPSHOT','_keyPriorReset','FETCH_MISSING','_getSendChangesetTimeout','MOBILE_HAS_BEEN_BOUND','sigBytes','AUTHZ_URL_KEY','SNAPSHOT_URL_KEY','_submitChangeset','action','UNIVER_SHEET','msCrypto','_commandService','HELLO','_entityInit$','_doProcessBlock','UNRECOGNIZED','APPLY_REVISION_CONFILICT','LICENSE_EXPORT_SIZE_EXCEEDED','ALREADY_EXISTS','UNAUTHENTICATED','online$','ciphertext','c1Prime','file','liveShareOperation','_socket','body','_transformService','getDeserializedSheetBlock','status$','_substituteUndoStack','save\x20fail\x20reason\x20is\x20','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentUpdate$','auth.needGotoLoginAlert','CHANGESET_REJ','stringify','_updateLocalCache','every','byteOffset','/collaborator','readyForCollab','MD5','getTime','max','OPTIONAL','range','/resources','/block/','_socket$','SOCKET_FAILED','c2Prime','_transformSelections','getConfig','PERMISSION_DENIED','NoPadding','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','state','algo','_transformRemoteChangesetByStateCache','SYNCED','userID','refreshPermission','originalMeta','session.room-full','&to=','_createHelper','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','MUTATION','/rev/','_createInitialStateImpl','_transformUndoredo','onTransformIME','getSnapshotAPIPath','Hasher','_injector','_logService','_initDependencies','socket\x20close','params','image/gif','onCommandExecuted','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_getAPIPrefixPath','collaborators','error','salt','_telemetryService','joinEvent','_sessions','post','RETRY_CONNECTING_MAX_COUNT','getRandomValues','appendMutation','_invKeySchedule','ceil','_nDataBytes','SEND_CHANGESET_TIMEOUT','_isPermissionRej','rng','_executeRemoteChangeset','values','sessionStatus','getTypeOfUnitAdded$','_getSignURL','Decryptor','update','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_pendingMutations','setShowComponents','[CollaborationSession]','Pkcs7','submit\x20changeset\x20error!','updateCollaborator','AWAITING_WITH_PENDING','m2Prime','_onRemoteRejected','change$','_registerDependencies','_resendTimer','_collabSessionService','_replaceFileID'];_0x43fe=function(){return _0x2c75d3;};return _0x43fe();}function qn(_0x4bd768,_0x33eb37=0x0){return(V[_0x4bd768[_0x33eb37+0x0]]+V[_0x4bd768[_0x33eb37+0x1]]+V[_0x4bd768[_0x33eb37+0x2]]+V[_0x4bd768[_0x33eb37+0x3]]+'-'+V[_0x4bd768[_0x33eb37+0x4]]+V[_0x4bd768[_0x33eb37+0x5]]+'-'+V[_0x4bd768[_0x33eb37+0x6]]+V[_0x4bd768[_0x33eb37+0x7]]+'-'+V[_0x4bd768[_0x33eb37+0x8]]+V[_0x4bd768[_0x33eb37+0x9]]+'-'+V[_0x4bd768[_0x33eb37+0xa]]+V[_0x4bd768[_0x33eb37+0xb]]+V[_0x4bd768[_0x33eb37+0xc]]+V[_0x4bd768[_0x33eb37+0xd]]+V[_0x4bd768[_0x33eb37+0xe]]+V[_0x4bd768[_0x33eb37+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x547545=_0x30c97e;if(!ut){if(typeof crypto>'u'||!crypto[_0x547545(0x257)])throw new Error(_0x547545(0x15b));ut=crypto[_0x547545(0x257)][_0x547545(0x12b)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x30c97e(0x37e)]&&crypto[_0x30c97e(0x37e)][_0x30c97e(0x12b)](crypto),Yt={'randomUUID':Xn};function Zn(_0x15c3da,_0xdd2b8b,_0x2fdf7d){var _0x28992c=_0x30c97e,_0x6322fa,_0x134292,_0x38e758;if(Yt[_0x28992c(0x37e)]&&!_0x15c3da)return Yt[_0x28992c(0x37e)]();_0x15c3da=_0x15c3da||{};const _0x321584=(_0x38e758=(_0x134292=_0x15c3da['random'])!=null?_0x134292:(_0x6322fa=_0x15c3da[_0x28992c(0x25e)])==null?void 0x0:_0x6322fa['call'](_0x15c3da))!=null?_0x38e758:Jn();if(_0x321584['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x321584[0x6]=_0x321584[0x6]&0xf|0x40,_0x321584[0x8]=_0x321584[0x8]&0x3f|0x80,qn(_0x321584);}const J=_0x3ae368(_0x30c97e(0x2d7));function Br(_0x50d8b9){var _0x4d529b=_0x30c97e;return _0x4d529b(0x2ba)+_0x50d8b9;}var Qn=Object[_0x30c97e(0x1eb)],es=(_0x706087,_0x3d3bb2,_0x4854a0,_0xe96dab)=>{var _0x3a36d8=_0x30c97e;for(var _0x1623d9=_0xe96dab>0x1?void 0x0:_0xe96dab?Qn(_0x3d3bb2,_0x4854a0):_0x3d3bb2,_0x51e05a=_0x706087[_0x3a36d8(0x338)]-0x1,_0x4c56d0;_0x51e05a>=0x0;_0x51e05a--)(_0x4c56d0=_0x706087[_0x51e05a])&&(_0x1623d9=_0x4c56d0(_0x1623d9)||_0x1623d9);return _0x1623d9;},dt=(_0x1ba961,_0x46526a)=>(_0x3e0471,_0x5a6112)=>_0x46526a(_0x3e0471,_0x5a6112,_0x1ba961);function ts(_0x14c9d0){var _0x417bd6=_0x30c97e;const {unitID:_0x20174c,mutations:_0x2ccff7}=_0x14c9d0;return{'unitId':_0x20174c,'subUnitId':_0x2ccff7[0x0][_0x417bd6(0x24a)][_0x417bd6(0x351)]};}let it=class{constructor(_0x32b5d3,_0x1b2405,_0x34ca11){var _0x506171=_0x30c97e;this[_0x506171(0x246)]=_0x32b5d3,this[_0x506171(0x216)]=_0x1b2405,this[_0x506171(0x375)]=_0x34ca11;}[_0x30c97e(0x1e6)](_0x45eeab){var _0x2d890f=_0x30c97e,_0x9cb455,_0xeb6150,_0xefd88f,_0x13ecc0;const _0x2d7c9d=this[_0x2d890f(0x246)][_0x2d890f(0x402)](_0x49675a),{unitId:_0x27dcb1,subUnitId:_0x4fc973}=ts(_0x45eeab),_0x1dda27=_0x2d7c9d==null?void 0x0:_0x2d7c9d['getWorkbookSelections'](_0x27dcb1)[_0x2d890f(0x133)](),_0x4e0a2c=(_0xeb6150=(_0x9cb455=this[_0x2d890f(0x375)]['getUnit'](_0x27dcb1))==null?void 0x0:_0x9cb455[_0x2d890f(0x2dd)]())==null?void 0x0:_0xeb6150['getSheetId']();if(_0x1dda27[_0x2d890f(0x338)]===0x0||!_0x27dcb1||!_0x4fc973)return;const _0xc074d5=[{'id':_0x2891da['id'],'params':{'unitId':_0x27dcb1,'subUnitId':_0x4e0a2c,'selections':_0x465d47['deepClone'](_0x1dda27)}}],_0x46bed9=this[_0x2d890f(0x216)][_0x2d890f(0x3fd)](_0x45eeab,_0xc074d5);if(!_0x3a4a2e(_0x46bed9))throw _0x46bed9['error'];const _0x3192dd=(_0x13ecc0=(_0xefd88f=_0x46bed9[_0x2d890f(0x26e)][0x0])==null?void 0x0:_0xefd88f['params'])==null?void 0x0:_0x13ecc0[_0x2d890f(0x154)];if(Array[_0x2d890f(0x312)](_0x3192dd)&&_0x3192dd[_0x2d890f(0x338)]){if(_0x3192dd[_0x2d890f(0x338)]===_0xc074d5[0x0][_0x2d890f(0x24a)][_0x2d890f(0x154)]['length']&&_0x3192dd[_0x2d890f(0x221)]((_0x5e1cda,_0x24b9c0)=>_0x280ca3['equals'](_0x5e1cda['range'],_0xc074d5[0x0][_0x2d890f(0x24a)][_0x2d890f(0x154)][_0x24b9c0][_0x2d890f(0x229)])))return;this[_0x2d890f(0x246)][_0x2d890f(0x402)](_0xb43912)['executeCommand'](_0x2891da['id'],{'unitId':_0x27dcb1,'subUnitId':_0x4e0a2c,'selections':_0x3192dd});}}};it=es([dt(0x0,_0x1aab8b(_0x51f454)),dt(0x1,_0x19d1d9),dt(0x2,_0x31aedc)],it);const ht=_0x3ae368(_0x30c97e(0x374));var Ci=(_0x54b3ce=>(_0x54b3ce[_0x54b3ce[_0x30c97e(0x1a1)]=0x0]=_0x30c97e(0x1a1),_0x54b3ce[_0x54b3ce[_0x30c97e(0x388)]=0x1]='OTHER_CLIENTS_EDITING',_0x54b3ce))(Ci||{});const is=new Set([_0xc931c4['id']]);function qt(_0x9f018c,_0x46a2f1,_0x3390c0,_0x4efab4,_0x4f23fa){var _0x1541f4=_0x30c97e,_0x5bdc33,_0x109c49,_0x38498b,_0x37c683;const _0x562719=[];for(const _0x5cac51 of _0x9f018c)if(is[_0x1541f4(0x378)](_0x5cac51['id'])){if(_0x562719['length']>0x0)break;_0x562719[_0x1541f4(0x403)](_0x5cac51);break;}else _0x562719[_0x1541f4(0x403)](_0x5cac51);const _0xb64e2b=(_0x109c49=(_0x5bdc33=_0x4f23fa[_0x1541f4(0x2ad)]())==null?void 0x0:_0x5bdc33[_0x1541f4(0x238)])!=null?_0x109c49:_0x1541f4(0x13d),_0x16e415=(_0x37c683=(_0x38498b=_0x4f23fa[_0x1541f4(0x2ad)]())==null?void 0x0:_0x38498b[_0x1541f4(0x2d5)])!=null?_0x37c683:_0x1541f4(0x13d);return{'changeset':{'unitID':_0x46a2f1,'type':_0x529f3a(_0x3390c0[_0x1541f4(0x2f6)](_0x46a2f1)),'baseRev':_0x4efab4[_0x1541f4(0x1d7)](_0x46a2f1),'revision':0x0,'userID':_0xb64e2b,'memberID':_0x16e415,'mutations':_0x562719},'pendingMutations':_0x9f018c['slice'](_0x562719['length'])};}function ns(_0xcec266,_0xdcf55b,_0x3f3111,_0x5f3fb7,_0x18c84a){var _0x251a56=_0x30c97e,_0x3fa579,_0x523c6e,_0x4d376e,_0x5edafe;const _0x525bf2=[_0xcec266[_0x251a56(0x311)]((_0x201b5d,_0x4f1730)=>{var _0x501059=_0x251a56,_0x4bf606;const {id:_0x332861}=_0x201b5d,{id:_0x192419,type:_0x377f39}=_0x4f1730,_0x136ed9=(_0x4bf606=_0x201b5d[_0x501059(0x24a)])!=null?_0x4bf606:{'actions':null},_0x57caeb=_0x4f1730['params'];if(_0x332861&&_0x332861!==_0x192419)throw new Error(_0x501059(0x19d)+_0x332861+'\x20-\x20'+_0x192419+'.');return{..._0x201b5d,'id':_0x192419,'type':_0x377f39,'params':{'unitId':_0x57caeb[_0x501059(0x3f5)],'textRanges':_0x57caeb[_0x501059(0x33c)],'actions':_0x4f1190[_0x501059(0x1f6)](_0x136ed9['actions'],_0x57caeb[_0x501059(0x2de)])}};},{})],_0x3a532b=(_0x523c6e=(_0x3fa579=_0x18c84a['getCurrentUser']())==null?void 0x0:_0x3fa579[_0x251a56(0x238)])!=null?_0x523c6e:_0x251a56(0x13d),_0x1545d1=(_0x5edafe=(_0x4d376e=_0x18c84a[_0x251a56(0x2ad)]())==null?void 0x0:_0x4d376e[_0x251a56(0x2d5)])!=null?_0x5edafe:_0x251a56(0x13d);return{'changeset':{'unitID':_0xdcf55b,'type':_0x529f3a(_0x3f3111[_0x251a56(0x2f6)](_0xdcf55b)),'baseRev':_0x5f3fb7[_0x251a56(0x1d7)](_0xdcf55b),'revision':0x0,'userID':_0x3a532b,'memberID':_0x1545d1,'mutations':_0x525bf2},'pendingMutations':[]};}function Ri(_0x1dcd93,_0x33d1a9){var _0x53b758=_0x30c97e;const _0x4ce786=new _0x1fccdb(0x1);return setTimeout(()=>_0x4ce786['next'](_0x33d1a9),_0x1dcd93),_0x4ce786[_0x53b758(0x1cc)]()[_0x53b758(0x2a4)](_0x1cbcf0(0x1));}const ss={'id':_0x3713ae['id'],'type':_0x1018f9[_0x30c97e(0x23f)],'params':{}};var rs=Object[_0x30c97e(0x1eb)],Te=(_0x3bf48e,_0x50ff61,_0x35f90a,_0x3720f1)=>{var _0x2c8570=_0x30c97e;for(var _0x456dbf=_0x3720f1>0x1?void 0x0:_0x3720f1?rs(_0x50ff61,_0x35f90a):_0x50ff61,_0x42f5cc=_0x3bf48e[_0x2c8570(0x338)]-0x1,_0x2a14c4;_0x42f5cc>=0x0;_0x42f5cc--)(_0x2a14c4=_0x3bf48e[_0x42f5cc])&&(_0x456dbf=_0x2a14c4(_0x456dbf)||_0x456dbf);return _0x456dbf;},P=(_0xfdc87b,_0x2a605b)=>(_0x4ce54f,_0x219552)=>_0x2a605b(_0x4ce54f,_0x219552,_0xfdc87b),bi=(_0x5a83cc=>(_0x5a83cc[_0x30c97e(0x18a)]=_0x30c97e(0x2c7),_0x5a83cc[_0x30c97e(0x237)]=_0x30c97e(0x3f0),_0x5a83cc[_0x30c97e(0x330)]=_0x30c97e(0x3ba),_0x5a83cc[_0x30c97e(0x179)]=_0x30c97e(0x2f2),_0x5a83cc[_0x30c97e(0x26d)]='awaiting_with_pending',_0x5a83cc[_0x30c97e(0x149)]=_0x30c97e(0x18e),_0x5a83cc[_0x30c97e(0x126)]=_0x30c97e(0x3fc),_0x5a83cc[_0x30c97e(0x358)]=_0x30c97e(0x336),_0x5a83cc))(bi||{});const Oi=0xea60;class Ce{constructor(_0x5002c4,_0x40c583,_0x13d4a3,_0x13453b,_0xa7aacf,_0x2eace7,_0x405cfa,_0x5b25c9,_0x4a201b){var _0x2894f9=_0x30c97e;N(this,_0x2894f9(0x141),null),N(this,_0x2894f9(0x267),[]),(this[_0x2894f9(0x1c9)]=_0x5002c4,this['type']=_0x40c583,this['_handler']=_0xa7aacf,this[_0x2894f9(0x206)]=_0x2eace7,this[_0x2894f9(0x16f)]=_0x405cfa,this[_0x2894f9(0x1c2)]=_0x5b25c9,this[_0x2894f9(0x380)]=_0x4a201b,this[_0x2894f9(0x141)]=_0x13d4a3,this[_0x2894f9(0x267)]=_0x13453b);}[_0x30c97e(0x1aa)](_0x42e64b){var _0xacf5ff=_0x30c97e;const _0x3cac45=this[_0xacf5ff(0x1c2)]['getCurrentRevOfUnit'](this[_0xacf5ff(0x1c9)]);return _0x42e64b['revision']>_0x3cac45+0x1?(this[_0xacf5ff(0x127)][_0xacf5ff(0x10f)]({'from':_0x3cac45,'to':_0x42e64b[_0xacf5ff(0x303)]-0x1}),!0x0):!0x1;}[_0x30c97e(0x242)](_0x5c24cb){var _0x1c5a50=_0x30c97e;this[_0x1c5a50(0x16f)][_0x1c5a50(0x136)](this[_0x1c5a50(0x1c9)],_0x5c24cb);}[_0x30c97e(0x22f)](_0x5a1d34){var _0x5e7f01=_0x30c97e,_0x3603f4,_0x2e7dac;(_0x2e7dac=(_0x3603f4=this[_0x5e7f01(0x127)])[_0x5e7f01(0x409)])==null||_0x2e7dac[_0x5e7f01(0x2af)](_0x3603f4,_0x5a1d34);}['_transformIMECache'](_0x48262c){var _0x3ae0fe=_0x30c97e,_0x5a8b9c,_0x5f3acc;return(_0x5f3acc=(_0x5a8b9c=this[_0x3ae0fe(0x127)])[_0x3ae0fe(0x243)])==null?void 0x0:_0x5f3acc['call'](_0x5a8b9c,_0x48262c);}['_transformStateCache'](_0x5a5363){var _0x5a510a=_0x30c97e,_0x56e081,_0x1f77a5;return(_0x1f77a5=(_0x56e081=this[_0x5a510a(0x127)])[_0x5a510a(0x360)])==null?void 0x0:_0x1f77a5[_0x5a510a(0x2af)](_0x56e081,_0x5a5363);}[_0x30c97e(0x1b6)](_0xe68374){var _0x12238b=_0x30c97e,_0x18dd0f,_0xdfa26f,_0x5dc236;return(_0x5dc236=(_0xdfa26f=(_0x18dd0f=this[_0x12238b(0x127)])[_0x12238b(0x3f3)])==null?void 0x0:_0xdfa26f['call'](_0x18dd0f,_0xe68374))!=null?_0x5dc236:_0xe68374;}[_0x30c97e(0x236)](_0x47d7fd){var _0x365a91=_0x30c97e,_0x52aa1c,_0x286836,_0x41c44c;return(_0x41c44c=(_0x286836=(_0x52aa1c=this[_0x365a91(0x127)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x286836[_0x365a91(0x2af)](_0x52aa1c,_0x47d7fd))!=null?_0x41c44c:_0x47d7fd;}[_0x30c97e(0x349)](_0x4f5ecc){var _0x5f2542=_0x30c97e,_0x3ad0ee,_0x2c2391;if(this['type']===Q['UNIVER_DOC']){const {unitID:_0x2cd222,mutations:_0x1b483a,memberID:_0x4a646d}=_0x4f5ecc,_0x1f72cc=_0x1b483a[0x0]['params']['textRanges'];Array[_0x5f2542(0x312)](_0x1f72cc)&&_0x1f72cc[_0x5f2542(0x338)]>0x0&&((_0x2c2391=(_0x3ad0ee=this[_0x5f2542(0x127)])[_0x5f2542(0x34e)])==null||_0x2c2391[_0x5f2542(0x2af)](_0x3ad0ee,{'unitID':_0x2cd222,'memberID':_0x4a646d,'textRanges':_0x1f72cc}));}}[_0x30c97e(0x220)](){var _0xe519f=_0x30c97e,_0x21d7d0;(_0x21d7d0=this[_0xe519f(0x380)])==null||_0x21d7d0[_0xe519f(0x27d)](this[_0xe519f(0x1c9)],this['type'],this[_0xe519f(0x141)],this['_pendingMutations']);}[_0x30c97e(0x2c5)](){var _0xb7f7f4=_0x30c97e;return this['_revisionService'][_0xb7f7f4(0x1d7)](this[_0xb7f7f4(0x1c9)]);}[_0x30c97e(0x12e)](){var _0x23091d=_0x30c97e;this['_revisionService'][_0x23091d(0x166)](this[_0x23091d(0x1c9)]);}[_0x30c97e(0x25f)](_0x14d103){var _0x1fd11d=_0x30c97e,_0x4b4257;let _0x348256=this['_transformRemoteChangesetByIMECache'](_0x14d103);_0x348256=this[_0x1fd11d(0x236)](_0x348256);const _0x27c9c4=_0x5a5a75(_0x348256[_0x1fd11d(0x3a0)],this['_commandService'],{'fromCollab':!0x0});if(!_0x27c9c4[_0x1fd11d(0x183)])throw _0x27c9c4['error']instanceof Error?_0x27c9c4['error']:new Error((_0x4b4257=_0x27c9c4[_0x1fd11d(0x250)])!=null?_0x4b4257:_0x1fd11d(0x357));this[_0x1fd11d(0x393)](_0x348256),this[_0x1fd11d(0x29c)](_0x348256),this[_0x1fd11d(0x242)](_0x14d103),this['_transformSelections'](_0x348256),this['_syncEditingCollabCursor'](_0x348256),this[_0x1fd11d(0x12e)]();}}let Ne=class extends Ce{constructor(_0x27f6c2,_0x519f87,_0x3d5ed1,_0x418024,_0x73c3b1,_0xc4b84e,_0x598e54,_0x2f4c3a,_0x3be72d,_0xbfc209){var _0x4f233f=_0x30c97e;super(_0x27f6c2,_0x519f87,null,[],_0x3d5ed1,_0x598e54,_0xc4b84e,_0x418024,_0xbfc209),N(this,_0x4f233f(0x294),_0x4f233f(0x3f0)),(this[_0x4f233f(0x246)]=_0x73c3b1,this[_0x4f233f(0x247)]=_0x2f4c3a,this[_0x4f233f(0x216)]=_0x3be72d,this['localCacheService']=_0xbfc209);}[_0x30c97e(0x258)](_0xcf3c14){var _0x5f28ef=_0x30c97e;const _0x2fe655=this[_0x5f28ef(0x246)][_0x5f28ef(0x1d8)](ae,this[_0x5f28ef(0x1c9)],this[_0x5f28ef(0x2ae)],[_0xcf3c14],this[_0x5f28ef(0x127)]);return _0x2fe655[_0x5f28ef(0x3cb)](),_0x2fe655[_0x5f28ef(0x220)](),_0x2fe655;}[_0x30c97e(0x1f9)](_0x3de7e6){var _0x744143=_0x30c97e;if(this[_0x744143(0x1aa)](_0x3de7e6))return this['_injector'][_0x744143(0x1d8)](ee,this[_0x744143(0x1c9)],this['type'],null,[],null,[_0x3de7e6],this[_0x744143(0x127)]);try{const _0x357d43=this[_0x744143(0x216)][_0x744143(0x3fd)](_0x3de7e6,[ss]);if(_0x3a4a2e(_0x357d43)){const {c1Prime:_0x3cff94}=_0x357d43;return this['_executeRemoteChangeset'](_0x3cff94),this;}throw _0x357d43['error'];}catch(_0x636eb1){return this[_0x744143(0x247)][_0x744143(0x250)](_0x636eb1),this[_0x744143(0x168)](!0x1);}}[_0x30c97e(0x168)](_0x6ee184){var _0x59573e=_0x30c97e;return this[_0x59573e(0x246)][_0x59573e(0x1d8)](ue,this[_0x59573e(0x1c9)],this[_0x59573e(0x2ae)],null,[],this[_0x59573e(0x127)],_0x6ee184);}[_0x30c97e(0x116)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x30c97e(0x1f0)](){var _0x45cc79=_0x30c97e;throw new Error(_0x45cc79(0x1ab));}[_0x30c97e(0x379)](){return this;}[_0x30c97e(0x185)](){var _0x268df7=_0x30c97e;return this[_0x268df7(0x246)][_0x268df7(0x1d8)](de,this[_0x268df7(0x1c9)],this[_0x268df7(0x2ae)],null,[],this['_handler']);}[_0x30c97e(0x36f)](){return this;}[_0x30c97e(0x30c)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x5bdc54=_0x30c97e;const _0x30444c=this['_revisionService'][_0x5bdc54(0x1d7)](this['unitID']);return this['_handler'][_0x5bdc54(0x10f)]({'from':_0x30444c,'to':0x0}),this['_injector'][_0x5bdc54(0x1d8)](ee,this['unitID'],this[_0x5bdc54(0x2ae)],null,[],null,[],this[_0x5bdc54(0x127)]);}};Ne=Te([P(0x3,_0x1aab8b(_0x5e781e)),P(0x4,_0x1aab8b(_0x51f454)),P(0x5,_0x3e575f),P(0x6,_0xb43912),P(0x7,_0xf9bcb3),P(0x8,_0x19d1d9),P(0x9,_0x596184(J))],Ne);let ae=class extends Ce{constructor(_0x163207,_0x33821b,_0x169cb7,_0x12867b,_0x22b001,_0x3c3a6d,_0x14bca8,_0xf78e08,_0x4deb9e,_0x523a12,_0x29c569,_0x51ea8e,_0x5eab7a,_0xe6f8dd){var _0xc274f3=_0x30c97e;super(_0x163207,_0x33821b,null,_0x169cb7,_0x12867b,_0x4deb9e,_0x5eab7a,_0x3c3a6d,_0xe6f8dd),N(this,_0xc274f3(0x294),_0xc274f3(0x3ba)),N(this,'_scheduleCompleteTimestamp',null),N(this,'_sendingTimer',null),(this[_0xc274f3(0x246)]=_0x22b001,this[_0xc274f3(0x3c5)]=_0x14bca8,this[_0xc274f3(0x247)]=_0xf78e08,this['_configService']=_0x523a12,this['_transformService']=_0x29c569,this[_0xc274f3(0x10d)]=_0x51ea8e);}[_0x30c97e(0x258)](_0xc8d949){var _0x5f3b17=_0x30c97e;return this[_0x5f3b17(0x267)][_0x5f3b17(0x403)](_0xc8d949),this[_0x5f3b17(0x220)](),this;}['onRemoteChangeset'](_0x477be4){var _0xd6bc90=_0x30c97e;if(this['_checkMissing'](_0x477be4))return this[_0xd6bc90(0x2ff)](),this[_0xd6bc90(0x246)][_0xd6bc90(0x1d8)](ee,this['unitID'],this[_0xd6bc90(0x2ae)],null,this[_0xd6bc90(0x267)],null,[_0x477be4],this[_0xd6bc90(0x127)]);try{const _0x3f91a4=this[_0xd6bc90(0x216)][_0xd6bc90(0x3fd)](_0x477be4,this[_0xd6bc90(0x267)]);if(_0x3a4a2e(_0x3f91a4)){const {c1Prime:_0x4c93b3,m2Prime:_0x1064e1}=_0x3f91a4;this[_0xd6bc90(0x25f)](_0x4c93b3);const _0x231de2=this['_injector']['createInstance'](ae,this[_0xd6bc90(0x1c9)],this[_0xd6bc90(0x2ae)],_0x1064e1,this['_handler']);this[_0xd6bc90(0x2ff)]();const _0x574d31=new Date()[_0xd6bc90(0x226)](),_0x575b75=this[_0xd6bc90(0x28b)]?Math[_0xd6bc90(0x227)](this[_0xd6bc90(0x28b)]-_0x574d31,0x0):this[_0xd6bc90(0x1fd)]();return _0x231de2['_schedule'](_0x575b75),_0x231de2;}throw _0x3f91a4[_0xd6bc90(0x250)];}catch(_0x265977){return this[_0xd6bc90(0x247)][_0xd6bc90(0x250)](_0x265977),this['_onConflict'](!0x1);}}[_0x30c97e(0x116)](){var _0x2cea2=_0x30c97e;throw new Error(_0x2cea2(0x3a6));}[_0x30c97e(0x1f0)](){var _0x4194e8=_0x30c97e;throw new Error(_0x4194e8(0x115));}[_0x30c97e(0x379)](){return this;}[_0x30c97e(0x185)](){var _0x5841c9=_0x30c97e;return this[_0x5841c9(0x2ff)](),this[_0x5841c9(0x246)]['createInstance'](de,this[_0x5841c9(0x1c9)],this[_0x5841c9(0x2ae)],null,this[_0x5841c9(0x267)],this['_handler']);}[_0x30c97e(0x36f)](){return this;}[_0x30c97e(0x3cb)](_0x39ffd6){var _0x365ed4=_0x30c97e;const _0x352dd0=_0x39ffd6!=null?_0x39ffd6:this[_0x365ed4(0x1fd)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x352dd0,this['_sendingTimer']=setTimeout(()=>{var _0x531022=_0x365ed4;this[_0x531022(0x2ff)]();let _0x547123=null;switch(this[_0x531022(0x2ae)]){case Q[_0x531022(0x204)]:{_0x547123=qt(this['_pendingMutations'],this[_0x531022(0x1c9)],this[_0x531022(0x10d)],this[_0x531022(0x1c2)],this[_0x531022(0x3c5)]);break;}case Q[_0x531022(0x1cd)]:{this['_pendingMutations'][_0x531022(0x221)](_0x29f371=>_0x29f371['id']===_0x5c2334['id'])?_0x547123=ns(this[_0x531022(0x267)],this['unitID'],this[_0x531022(0x10d)],this[_0x531022(0x1c2)],this['_memberService']):_0x547123=qt(this[_0x531022(0x267)],this[_0x531022(0x1c9)],this['_univerInstanceService'],this['_revisionService'],this[_0x531022(0x3c5)]);break;}default:throw new Error(_0x531022(0x1f2)+this['type']+_0x531022(0x1f4));}const {changeset:_0x2f8403,pendingMutations:_0x604d92}=_0x547123;this[_0x531022(0x127)][_0x531022(0x321)](_0x2f8403);const _0xcecfb0=_0x604d92[_0x531022(0x338)]?this[_0x531022(0x246)][_0x531022(0x1d8)](oe,this[_0x531022(0x1c9)],this[_0x531022(0x2ae)],_0x2f8403,_0x604d92,this['_handler'],void 0x0):this[_0x531022(0x246)][_0x531022(0x1d8)](le,this[_0x531022(0x1c9)],this[_0x531022(0x2ae)],_0x2f8403,this[_0x531022(0x127)]);_0xcecfb0[_0x531022(0x220)](),this[_0x531022(0x127)][_0x531022(0x30d)](this,_0xcecfb0);},_0x352dd0);}[_0x30c97e(0x1fd)](){var _0x1bf055=_0x30c97e,_0x3c4d0f;const _0xbb64f4=this[_0x1bf055(0x15e)]['getConfig'](q);return(_0x3c4d0f=_0xbb64f4==null?void 0x0:_0xbb64f4[_0x1bf055(0x2b0)])!=null?_0x3c4d0f:En;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x30c97e(0x2ff)](){var _0x1abaa=_0x30c97e;this[_0x1abaa(0x3e0)]!=null&&(clearTimeout(this[_0x1abaa(0x3e0)]),this[_0x1abaa(0x3e0)]=null);}[_0x30c97e(0x168)](_0x101b29){var _0x45d897=_0x30c97e;return this[_0x45d897(0x2ff)](),this[_0x45d897(0x246)][_0x45d897(0x1d8)](ue,this['unitID'],this[_0x45d897(0x2ae)],null,this['_pendingMutations'],this[_0x45d897(0x127)],_0x101b29);}};ae=Te([P(0x4,_0x1aab8b(_0x51f454)),P(0x5,_0x1aab8b(_0x5e781e)),P(0x6,_0x1aab8b(Le)),P(0x7,_0xf9bcb3),P(0x8,_0xb43912),P(0x9,_0x322b89),P(0xa,_0x19d1d9),P(0xb,_0x31aedc),P(0xc,_0x3e575f),P(0xd,_0x596184(J))],ae);let le=class extends Ce{constructor(_0x3cfa40,_0x46691c,_0xe62a7f,_0x5d8e5c,_0x58a6fe,_0x1a545b,_0x154612,_0x5d3b6e,_0x4c5fbd,_0x2acd67,_0x4cc673){var _0xbc2bc3=_0x30c97e;super(_0x3cfa40,_0x46691c,_0xe62a7f,[],_0x5d8e5c,_0x154612,_0x2acd67,_0x1a545b,_0x4cc673),N(this,'status',_0xbc2bc3(0x2f2)),N(this,_0xbc2bc3(0x2a1),0x0),N(this,_0xbc2bc3(0x272)),N(this,_0xbc2bc3(0x327)),(this['_injector']=_0x58a6fe,this[_0xbc2bc3(0x247)]=_0x5d3b6e,this[_0xbc2bc3(0x216)]=_0x4c5fbd);}[_0x30c97e(0x258)](_0x496e97){var _0x4859ab=_0x30c97e;this[_0x4859ab(0x2ff)]();const _0x2e1c27=this[_0x4859ab(0x246)][_0x4859ab(0x1d8)](oe,this[_0x4859ab(0x1c9)],this[_0x4859ab(0x2ae)],this['_awaitingChangeset'],[_0x496e97],this[_0x4859ab(0x127)],this[_0x4859ab(0x272)]);return _0x2e1c27[_0x4859ab(0x220)](),_0x2e1c27;}[_0x30c97e(0x1f9)](_0x3e5d2e){var _0x3d7a7a=_0x30c97e;if(this[_0x3d7a7a(0x1aa)](_0x3e5d2e))return this['_clearScheduledTask'](),this['_injector'][_0x3d7a7a(0x1d8)](ee,this[_0x3d7a7a(0x1c9)],this['type'],this[_0x3d7a7a(0x141)],[],null,[_0x3e5d2e],this[_0x3d7a7a(0x127)]);try{const _0x4ee48e=this['_transformService'][_0x3d7a7a(0x3c6)]([_0x3e5d2e],[this[_0x3d7a7a(0x141)]],!0x1);if(_0x1a3035(_0x4ee48e)){const {c1Prime:_0x8405bd,c2Prime:_0x192273}=_0x4ee48e;this['_executeRemoteChangeset'](_0x8405bd[0x0]),_0x192273[0x0][_0x3d7a7a(0x411)]=this[_0x3d7a7a(0x2c5)](),this[_0x3d7a7a(0x2ff)]();const _0x1ff5e7=this[_0x3d7a7a(0x246)][_0x3d7a7a(0x1d8)](le,this[_0x3d7a7a(0x1c9)],this[_0x3d7a7a(0x2ae)],_0x192273[0x0],this[_0x3d7a7a(0x127)]);return _0x1ff5e7['_updateLocalCache'](),_0x1ff5e7;}return this[_0x3d7a7a(0x168)](!0x1);}catch(_0x533aed){return this[_0x3d7a7a(0x247)][_0x3d7a7a(0x250)](_0x533aed),this[_0x3d7a7a(0x168)](!0x1);}}[_0x30c97e(0x116)](_0x3f4bc3){var _0x4a27a4=_0x30c97e;this['_clearScheduledTask']();const _0x55319e=this['_revisionService'][_0x4a27a4(0x1d7)](this[_0x4a27a4(0x1c9)]);if(_0x3f4bc3['revision']<_0x55319e-0x1)return this;if(this[_0x4a27a4(0x1aa)](_0x3f4bc3))return this['_injector'][_0x4a27a4(0x1d8)](ee,this[_0x4a27a4(0x1c9)],this[_0x4a27a4(0x2ae)],null,[],this[_0x4a27a4(0x141)],[],this[_0x4a27a4(0x127)]);this['_incrementRevisionNumber']();const _0x3038a6=this[_0x4a27a4(0x246)][_0x4a27a4(0x1d8)](Ne,this['unitID'],this[_0x4a27a4(0x2ae)],this[_0x4a27a4(0x127)]);return _0x3038a6[_0x4a27a4(0x220)](),_0x3038a6;}[_0x30c97e(0x1f0)](_0x349f82){return this['_onConflict'](!!(_0x349f82!=null&&_0x349f82['isPermissionRej']));}[_0x30c97e(0x379)](_0x5844e5){var _0x120060=_0x30c97e;return this[_0x120060(0x2a1)]>Oi?this[_0x120060(0x185)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x5844e5[_0x120060(0x199)]}),this[_0x120060(0x327)]=this[_0x120060(0x272)]['subscribe'](({reqId:_0x1e975b,timeout:_0x221e21})=>{var _0x4af052=_0x120060;this[_0x4af052(0x124)](_0x1e975b,_0x221e21);}),this);}[_0x30c97e(0x185)](){var _0x5c06be=_0x30c97e;return this[_0x5c06be(0x2ff)](),this['_injector'][_0x5c06be(0x1d8)](de,this[_0x5c06be(0x1c9)],this[_0x5c06be(0x2ae)],this[_0x5c06be(0x141)],[],this[_0x5c06be(0x127)]);}['toggleOnline'](){return this;}[_0x30c97e(0x30c)](){var _0x40c4c1=_0x30c97e;this[_0x40c4c1(0x127)][_0x40c4c1(0x321)](this[_0x40c4c1(0x141)]);}[_0x30c97e(0x168)](_0x5398a8){var _0x2d0e26=_0x30c97e;return this[_0x2d0e26(0x2ff)](),this[_0x2d0e26(0x246)][_0x2d0e26(0x1d8)](ue,this['unitID'],this[_0x2d0e26(0x2ae)],this[_0x2d0e26(0x141)],[],this[_0x2d0e26(0x127)],_0x5398a8);}[_0x30c97e(0x124)](_0x44ce10,_0x3b7300){var _0x5249e9=_0x30c97e,_0x45fffa;_0x44ce10===((_0x45fffa=this[_0x5249e9(0x141)])==null?void 0x0:_0x45fffa['reqId'])&&(this[_0x5249e9(0x30c)](),this['_resendTimeout']=_0x3b7300===0x0?0x3e8:_0x3b7300*0x2);}['_clearScheduledTask'](){var _0x455bca=_0x30c97e,_0x535bc1;(_0x535bc1=this[_0x455bca(0x327)])==null||_0x535bc1['unsubscribe'](),this[_0x455bca(0x2a1)]=0x0;}};le=Te([P(0x4,_0x1aab8b(_0x51f454)),P(0x5,_0x1aab8b(_0x5e781e)),P(0x6,_0xb43912),P(0x7,_0xf9bcb3),P(0x8,_0x19d1d9),P(0x9,_0x3e575f),P(0xa,_0x596184(J))],le);let oe=class extends Ce{constructor(_0x5a4336,_0x50609d,_0x100d52,_0x3a815c,_0x2d10f8,_0x29d19b,_0xc10be2,_0x5dce3d,_0x4c1719,_0x267c8b,_0x1a8af2,_0x388599,_0x5a9862){var _0x1a14d9=_0x30c97e;super(_0x5a4336,_0x50609d,_0x100d52,_0x3a815c,_0x2d10f8,_0x4c1719,_0x388599,_0x5dce3d,_0x5a9862),N(this,_0x1a14d9(0x294),_0x1a14d9(0x11e)),N(this,_0x1a14d9(0x2a1),0x0),N(this,_0x1a14d9(0x272)),N(this,_0x1a14d9(0x327)),(this[_0x1a14d9(0x246)]=_0xc10be2,this[_0x1a14d9(0x247)]=_0x267c8b,this['_transformService']=_0x1a8af2,this[_0x1a14d9(0x1e7)]=_0x5a9862,_0x29d19b&&(this[_0x1a14d9(0x272)]=_0x29d19b,this[_0x1a14d9(0x327)]=this[_0x1a14d9(0x272)][_0x1a14d9(0x3c0)](({reqId:_0x484834,timeout:_0xd6e7e1})=>{var _0x20baac=_0x1a14d9;this[_0x20baac(0x124)](_0x484834,_0xd6e7e1);})));}[_0x30c97e(0x258)](_0xf0d0d){var _0x3d85ca=_0x30c97e;return this[_0x3d85ca(0x267)][_0x3d85ca(0x403)](_0xf0d0d),this;}['onRemoteChangeset'](_0x15816e){var _0x279d3b=_0x30c97e;if(this[_0x279d3b(0x1aa)](_0x15816e))return this['_clearScheduledTask'](),this[_0x279d3b(0x246)]['createInstance'](ee,this['unitID'],this[_0x279d3b(0x2ae)],this[_0x279d3b(0x141)],this[_0x279d3b(0x267)],null,[_0x15816e],this[_0x279d3b(0x127)]);try{const _0x15f2ab=this[_0x279d3b(0x216)][_0x279d3b(0x3c6)]([_0x15816e],[this['_awaitingChangeset']],!0x1);if(_0x1a3035(_0x15f2ab)){const {c1Prime:_0x1f71bf,c2Prime:_0x3edcd5}=_0x15f2ab,_0x3a941e=this['_transformService']['transformMutationsWithChangeset'](_0x1f71bf[0x0],this[_0x279d3b(0x267)]);if(_0x3a4a2e(_0x3a941e)){const {c1Prime:_0x404866,m2Prime:_0x571f40}=_0x3a941e;return this[_0x279d3b(0x25f)](_0x404866),_0x3edcd5[0x0][_0x279d3b(0x411)]=this[_0x279d3b(0x2c5)](),this[_0x279d3b(0x2ff)](),this[_0x279d3b(0x246)][_0x279d3b(0x1d8)](oe,this['unitID'],this['type'],_0x3edcd5[0x0],_0x571f40,this['_handler'],void 0x0);}throw _0x3a941e[_0x279d3b(0x250)];}throw _0x15f2ab[_0x279d3b(0x250)];}catch(_0x4833af){return this['_logService']['error'](_0x4833af),this[_0x279d3b(0x168)](!0x1);}}[_0x30c97e(0x116)](_0x5d6e9c){var _0x2aba25=_0x30c97e;if(this[_0x2aba25(0x2ff)](),this['_checkMissing'](_0x5d6e9c))return this['_injector']['createInstance'](ee,this[_0x2aba25(0x1c9)],this[_0x2aba25(0x2ae)],null,this[_0x2aba25(0x267)],this['_awaitingChangeset'],[],this[_0x2aba25(0x127)]);this['_incrementRevisionNumber']();const _0x4279cb=this['_injector'][_0x2aba25(0x1d8)](ae,this[_0x2aba25(0x1c9)],this[_0x2aba25(0x2ae)],this[_0x2aba25(0x267)],this['_handler']);return _0x4279cb[_0x2aba25(0x3cb)](),_0x4279cb[_0x2aba25(0x220)](),_0x4279cb;}[_0x30c97e(0x1f0)](_0x334fd0){var _0x5315f3=_0x30c97e;return this['_onConflict'](!!(_0x334fd0!=null&&_0x334fd0[_0x5315f3(0x148)]));}[_0x30c97e(0x379)](_0x514784){var _0x27ce85=_0x30c97e;return this[_0x27ce85(0x2a1)]>Oi?this[_0x27ce85(0x185)]():(this[_0x27ce85(0x272)]=Ri(this['_resendTimeout'],{'timeout':this[_0x27ce85(0x2a1)],'reqId':_0x514784['reqId']}),this['_sender']=this['_resendTimer'][_0x27ce85(0x3c0)](({reqId:_0x2fd5ff,timeout:_0x1a1578})=>{var _0x166130=_0x27ce85;this[_0x166130(0x124)](_0x2fd5ff,_0x1a1578);}),this);}['toggleOffline'](){var _0x4de93e=_0x30c97e;return this[_0x4de93e(0x2ff)](),this[_0x4de93e(0x246)]['createInstance'](de,this[_0x4de93e(0x1c9)],this[_0x4de93e(0x2ae)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x4de93e(0x127)]);}[_0x30c97e(0x36f)](){return this;}[_0x30c97e(0x30c)](){var _0x33e828=_0x30c97e;this[_0x33e828(0x127)]['onSendChangeset'](this[_0x33e828(0x141)]);}[_0x30c97e(0x168)](_0x411c3b){var _0xb4e5e=_0x30c97e;return this['_clearScheduledTask'](),this[_0xb4e5e(0x246)][_0xb4e5e(0x1d8)](ue,this['unitID'],this[_0xb4e5e(0x2ae)],null,this[_0xb4e5e(0x267)],this[_0xb4e5e(0x127)],_0x411c3b);}[_0x30c97e(0x124)](_0x3e5f5c,_0x3e37db){var _0x24f408=_0x30c97e,_0x14bcb7;_0x3e5f5c===((_0x14bcb7=this[_0x24f408(0x141)])==null?void 0x0:_0x14bcb7[_0x24f408(0x199)])&&(this[_0x24f408(0x30c)](),this['_resendTimeout']=_0x3e37db===0x0?0x3e8:_0x3e37db*0x2);}[_0x30c97e(0x2ff)](){var _0x39a1c6=_0x30c97e,_0x4a179e;(_0x4a179e=this[_0x39a1c6(0x327)])==null||_0x4a179e[_0x39a1c6(0x3b5)](),this[_0x39a1c6(0x2a1)]=0x0;}};oe=Te([P(0x6,_0x1aab8b(_0x51f454)),P(0x7,_0x1aab8b(_0x5e781e)),P(0x8,_0xb43912),P(0x9,_0xf9bcb3),P(0xa,_0x19d1d9),P(0xb,_0x3e575f),P(0xc,_0x596184(J))],oe);let ue=class extends Ce{constructor(_0x1fa0a0,_0x4d1313,_0x1d8d82,_0x4098eb,_0x313fb1,_0x480f76=!0x1,_0x126125,_0x2bb83c,_0x4da7f7,_0x2c3407,_0x5b73df,_0x214c43,_0x8fcc94){var _0x3070a5=_0x30c97e;super(_0x1fa0a0,_0x4d1313,_0x1d8d82,_0x4098eb,_0x313fb1,_0x2bb83c,_0x4da7f7,_0x2c3407,_0x8fcc94),N(this,'status',_0x3070a5(0x3fc)),(this[_0x3070a5(0x25d)]=_0x480f76,this['_permissionService']=_0x126125,this[_0x3070a5(0x1b4)]=_0x5b73df,this[_0x3070a5(0x125)]=_0x214c43,this[_0x3070a5(0x1e7)]=_0x8fcc94,this[_0x3070a5(0x3b8)](),this[_0x3070a5(0x3dd)](),this['_disableEditing']());}[_0x30c97e(0x258)](){return this;}[_0x30c97e(0x1f9)](){return this;}[_0x30c97e(0x116)](){return this;}[_0x30c97e(0x1f0)](){return this;}[_0x30c97e(0x379)](){return this;}['toggleOffline'](){return this;}[_0x30c97e(0x36f)](){return this;}[_0x30c97e(0x30c)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x30c97e(0x3dd)](){var _0x86237b=_0x30c97e,_0x5843c7;(_0x5843c7=this[_0x86237b(0x380)])==null||_0x5843c7['updateOfflineData'](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x1d59f3=_0x30c97e;this['_isPermissionRej']?this[_0x1d59f3(0x125)]['emitEvent']({'id':re['PERMISSION_DENIED']}):this[_0x1d59f3(0x125)][_0x1d59f3(0x3cd)]({'id':re['CONFLICT']});}['_disableEditing'](){var _0x5d82f9=_0x30c97e;this[_0x5d82f9(0x3c7)]['updatePermissionPoint'](new _0x263feb(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x1aab8b(_0x233307)),P(0x7,_0xb43912),P(0x8,_0x3e575f),P(0x9,_0x1aab8b(_0x5e781e)),P(0xa,_0x1aab8b(_0x54440b)),P(0xb,_0x1aab8b(pe)),P(0xc,_0x596184(J))],ue);let de=class extends Ce{constructor(_0x585d0f,_0x106f3d,_0x10b196,_0x405a55,_0x20b746,_0xac83bc,_0x3b12c1,_0x886df2,_0x13758a,_0xf966cc){var _0x504f24=_0x30c97e;super(_0x585d0f,_0x106f3d,_0x10b196,_0x405a55,_0x20b746,_0x886df2,_0x13758a,_0x3b12c1,_0xf966cc),N(this,_0x504f24(0x294),_0x504f24(0x336)),this[_0x504f24(0x246)]=_0xac83bc;}['appendMutation'](_0x383382){var _0x47d1c7=_0x30c97e;return this[_0x47d1c7(0x267)][_0x47d1c7(0x403)](_0x383382),this['_updateLocalCache'](),this;}[_0x30c97e(0x1f9)](_0x1974b6){var _0x3bd91c=_0x30c97e;throw new Error(_0x3bd91c(0x315));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x30c97e(0x379)](){return this;}[_0x30c97e(0x185)](){return this;}[_0x30c97e(0x36f)](){var _0x51b8fc=_0x30c97e;const {_injector:_0x5d7e95,_pendingMutations:_0x26d8ff,_awaitingChangeset:_0x208c4a,unitID:_0x174303,_handler:_0x31df82,type:_0x568dc7}=this,_0x1f4cdc=yi(_0x5d7e95,_0x174303,_0x568dc7,_0x208c4a,_0x26d8ff,_0x31df82);return _0x1f4cdc instanceof ae?_0x1f4cdc[_0x51b8fc(0x3cb)]():(_0x1f4cdc instanceof oe||_0x1f4cdc instanceof le)&&_0x1f4cdc[_0x51b8fc(0x30c)](),_0x1f4cdc;}[_0x30c97e(0x30c)](){var _0x1756eb=_0x30c97e;throw new Error(_0x1756eb(0x21b));}};de=Te([P(0x5,_0x1aab8b(_0x51f454)),P(0x6,_0x1aab8b(_0x5e781e)),P(0x7,_0xb43912),P(0x8,_0x3e575f),P(0x9,_0x596184(J))],de);let ee=class extends Ce{constructor(_0x42c03,_0xa2741e,_0x5d5ca2,_0x3b45ff,_0x36606f,_0x1c6642,_0x176a32,_0x55666c,_0x3e26c9,_0x1759da,_0x1d728b,_0x41c1ff,_0x42bc4c,_0x236681){var _0x315ae4=_0x30c97e;super(_0x42c03,_0xa2741e,_0x5d5ca2,_0x3b45ff,_0x176a32,_0x1d728b,_0x41c1ff,_0x3e26c9,_0x236681),N(this,_0x315ae4(0x294),_0x315ae4(0x18e)),(this[_0x315ae4(0x19a)]=_0x36606f,this[_0x315ae4(0x1c6)]=_0x1c6642,this[_0x315ae4(0x246)]=_0x55666c,this[_0x315ae4(0x247)]=_0x1759da,this[_0x315ae4(0x216)]=_0x42bc4c,this[_0x315ae4(0x1e7)]=_0x236681);}[_0x30c97e(0x287)](_0x3c9d20){var _0x23fcdc=_0x30c97e;try{const _0x56b51b=[..._0x3c9d20,...this[_0x23fcdc(0x1c6)]],_0x232e54=[this[_0x23fcdc(0x141)]||this[_0x23fcdc(0x19a)]][_0x23fcdc(0x34a)](_0x188495=>!!_0x188495);let _0x4e9379,_0x4ff7aa;if(_0x232e54[_0x23fcdc(0x338)]){const _0x157e4d=this[_0x23fcdc(0x216)][_0x23fcdc(0x3c6)](_0x56b51b,_0x232e54,!0x1);if(!_0x1a3035(_0x157e4d))throw _0x157e4d[_0x23fcdc(0x250)];_0x4e9379=_0x157e4d[_0x23fcdc(0x211)],_0x4ff7aa=_0x157e4d[_0x23fcdc(0x22e)];}else _0x4e9379=_0x56b51b,_0x4ff7aa=[];let _0x39366c=this[_0x23fcdc(0x267)];_0x4e9379[_0x23fcdc(0x3b3)](_0x7d2cb7=>{var _0x229e2f=_0x23fcdc;let _0x442b76;if(_0x39366c['length']){const _0x20108f=this['_transformService']['transformMutationsWithChangeset'](_0x7d2cb7,_0x39366c);if(!_0x3a4a2e(_0x20108f))throw _0x20108f[_0x229e2f(0x250)];_0x442b76=_0x20108f[_0x229e2f(0x211)],_0x39366c=_0x20108f[_0x229e2f(0x26e)];}else _0x442b76=_0x7d2cb7;this[_0x229e2f(0x25f)](_0x442b76);}),this['_acknowledgedAwaitingChangeset']&&this[_0x23fcdc(0x12e)](),this['_awaitingChangeset']&&_0x4ff7aa['length']&&(_0x4ff7aa[0x0][_0x23fcdc(0x411)]=this['_getCurrentRevision']());let _0x187748;if(this[_0x23fcdc(0x141)]&&_0x39366c[_0x23fcdc(0x338)]!==0x0)_0x187748=this['_injector'][_0x23fcdc(0x1d8)](oe,this[_0x23fcdc(0x1c9)],this[_0x23fcdc(0x2ae)],_0x4ff7aa[0x0],_0x39366c,this[_0x23fcdc(0x127)],void 0x0);else{if(this[_0x23fcdc(0x141)]&&_0x39366c[_0x23fcdc(0x338)]===0x0)_0x4ff7aa[0x0]['baseRev']=this[_0x23fcdc(0x2c5)](),_0x187748=this[_0x23fcdc(0x246)]['createInstance'](le,this[_0x23fcdc(0x1c9)],this[_0x23fcdc(0x2ae)],_0x4ff7aa[0x0],this[_0x23fcdc(0x127)]);else{if(_0x39366c[_0x23fcdc(0x338)]!==0x0){const _0x2588bb=this[_0x23fcdc(0x246)][_0x23fcdc(0x1d8)](ae,this['unitID'],this[_0x23fcdc(0x2ae)],_0x39366c,this[_0x23fcdc(0x127)]);_0x2588bb['_schedule'](),_0x187748=_0x2588bb;}else _0x187748=this[_0x23fcdc(0x246)]['createInstance'](Ne,this[_0x23fcdc(0x1c9)],this[_0x23fcdc(0x2ae)],this['_handler']);}}return _0x187748[_0x23fcdc(0x220)](),_0x187748;}catch(_0x501822){return this[_0x23fcdc(0x247)][_0x23fcdc(0x250)](_0x23fcdc(0x2c6),_0x23fcdc(0x32c),_0x501822),this['_injector']['createInstance'](ue,this['unitID'],this[_0x23fcdc(0x2ae)],this[_0x23fcdc(0x141)],this[_0x23fcdc(0x267)],this[_0x23fcdc(0x127)],!0x1);}}[_0x30c97e(0x30c)](){var _0x48a74e=_0x30c97e;throw new Error(_0x48a74e(0x2ee));}['appendMutation'](_0x40a77d){var _0x54b83c=_0x30c97e;return this[_0x54b83c(0x267)]['push'](_0x40a77d),this;}['onRemoteChangeset'](_0x3e5966){var _0x28e0a7=_0x30c97e;return this['_queuedRemoteChangesets'][_0x28e0a7(0x403)](_0x3e5966),this;}['onRemoteAck'](_0x5f275a){var _0x463872=_0x30c97e;if(this[_0x463872(0x141)])return this[_0x463872(0x19a)]=this[_0x463872(0x141)],this['_awaitingChangeset']=null,this;throw new Error(_0x463872(0x13f));}['onRemoteRej'](_0x27c496){var _0xc091cd=_0x30c97e;return this[_0xc091cd(0x168)](!!(_0x27c496!=null&&_0x27c496[_0xc091cd(0x148)]));}['onRemoteRetry'](){return this;}[_0x30c97e(0x185)](){var _0x1cb4ca=_0x30c97e;return this[_0x1cb4ca(0x246)][_0x1cb4ca(0x1d8)](de,this[_0x1cb4ca(0x1c9)],this[_0x1cb4ca(0x2ae)],this[_0x1cb4ca(0x141)],this['_pendingMutations'],this[_0x1cb4ca(0x127)]);}[_0x30c97e(0x36f)](){return this;}[_0x30c97e(0x168)](_0x2703ae){var _0x2edc5c=_0x30c97e;return this['_injector'][_0x2edc5c(0x1d8)](ue,this[_0x2edc5c(0x1c9)],this[_0x2edc5c(0x2ae)],this[_0x2edc5c(0x141)],this[_0x2edc5c(0x267)],this[_0x2edc5c(0x127)],_0x2703ae);}};ee=Te([P(0x7,_0x1aab8b(_0x51f454)),P(0x8,_0x1aab8b(_0x5e781e)),P(0x9,_0xf9bcb3),P(0xa,_0xb43912),P(0xb,_0x3e575f),P(0xc,_0x19d1d9),P(0xd,_0x596184(J))],ee);function yi(_0x1512b0,_0x383fee,_0x5897dd,_0x47956c,_0x4e5b6a,_0x62618a){var _0x49e362=_0x30c97e;return _0x47956c&&_0x4e5b6a[_0x49e362(0x338)]?_0x1512b0[_0x49e362(0x1d8)](oe,_0x383fee,_0x5897dd,_0x47956c,_0x4e5b6a,_0x62618a,void 0x0):_0x47956c?_0x1512b0[_0x49e362(0x1d8)](le,_0x383fee,_0x5897dd,_0x47956c,_0x62618a):_0x4e5b6a[_0x49e362(0x338)]?_0x1512b0[_0x49e362(0x1d8)](ae,_0x383fee,_0x5897dd,_0x4e5b6a,_0x62618a):_0x1512b0[_0x49e362(0x1d8)](Ne,_0x383fee,_0x5897dd,_0x62618a);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x4107e6,_0x4043e2,_0x251412,_0x4dcdc5)=>{for(var _0x9697b8=_0x4dcdc5>0x1?void 0x0:_0x4dcdc5?as(_0x4043e2,_0x251412):_0x4043e2,_0x706f31=_0x4107e6['length']-0x1,_0x8cf0a1;_0x706f31>=0x0;_0x706f31--)(_0x8cf0a1=_0x4107e6[_0x706f31])&&(_0x9697b8=_0x8cf0a1(_0x9697b8)||_0x9697b8);return _0x9697b8;},H=(_0x169429,_0x52b51d)=>(_0x355c7f,_0x3959bf)=>_0x52b51d(_0x355c7f,_0x3959bf,_0x169429);let nt=class extends _0x34ea91{constructor(_0x47b4e4,_0x5c4df7,_0x2abeee,_0x527a79,_0x41c153,_0x13204d,_0x5cb0ac,_0x4c49b1,_0x172fcf,_0x3aed62,_0x464f38,_0x3531c5,_0xfb8375){var _0x437177=_0x30c97e;super(),N(this,'_state$',new _0x3d3430(null)),N(this,'state$',this[_0x437177(0x114)][_0x437177(0x1cc)]()),N(this,_0x437177(0x306)),N(this,'_collaborationPaused',!0x1),N(this,_0x437177(0x30f),''),N(this,_0x437177(0x2d0),0x0),N(this,_0x437177(0x218),this[_0x437177(0x2fd)][_0x437177(0x2a4)](_0x3708ef(_0x379a12=>_0x379a12?_0x379a12[_0x437177(0x294)]:bi[_0x437177(0x358)]),_0x461bfd(0x1))),N(this,_0x437177(0x39e),!0x1),N(this,_0x437177(0x198),[]),(this[_0x437177(0x1c9)]=_0x47b4e4,this[_0x437177(0x35f)]=_0x5c4df7,this['_type']=_0x2abeee,this['_injector']=_0x527a79,this['_compressMutationService']=_0x41c153,this[_0x437177(0x1b4)]=_0x13204d,this[_0x437177(0x1c2)]=_0x5cb0ac,this[_0x437177(0x13e)]=_0x4c49b1,this[_0x437177(0x247)]=_0x172fcf,this[_0x437177(0x206)]=_0x3aed62,this[_0x437177(0x3c7)]=_0x464f38,this[_0x437177(0x31a)]=_0x3531c5,this[_0x437177(0x380)]=_0xfb8375);}get[_0x30c97e(0x234)](){var _0x11cd3c=_0x30c97e;return this[_0x11cd3c(0x306)];}async[_0x30c97e(0x1b8)](){var _0x392e44=_0x30c97e;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x392e44(0x2e3)]();}[_0x30c97e(0x3ed)](){return this['_collaborationPaused']=!0x0,_0x2d5b8d(()=>{var _0x56758e=_0x5b64;this[_0x56758e(0x30a)]=!0x1,this[_0x56758e(0x342)]();});}[_0x30c97e(0x1e0)](_0x46171c){var _0x1f2bf8=_0x30c97e;this[_0x1f2bf8(0x295)](_0x46171c);}[_0x30c97e(0x2ca)](_0x325f6b){var _0x2e6a08=_0x30c97e;this[_0x2e6a08(0x306)]=_0x325f6b,this['_state$'][_0x2e6a08(0x2c2)](_0x325f6b);}async['_init'](){var _0x44570d=_0x30c97e,_0x1ff364;this[_0x44570d(0x2ca)](await this[_0x44570d(0x1a2)]()),this[_0x44570d(0x31a)]&&((_0x1ff364=this[_0x44570d(0x31a)])==null||_0x1ff364[_0x44570d(0x32d)](this[_0x44570d(0x1c9)]),this[_0x44570d(0x152)](this[_0x44570d(0x31a)][_0x44570d(0x3bc)](this['unitID'])['subscribe'](_0x313db1=>{var _0x11914f=_0x44570d;this[_0x11914f(0x247)][_0x11914f(0x1ef)](_0x11914f(0x193),'editing\x20status\x20changed\x20to',_0x313db1),_0x313db1===Ci[_0x11914f(0x388)]?(this[_0x11914f(0x13e)][_0x11914f(0x3cd)]({'id':re[_0x11914f(0x2c9)]}),this[_0x11914f(0x3c7)][_0x11914f(0x3b9)](new _0x263feb(this[_0x11914f(0x1c9)])['id'],!0x1),this[_0x11914f(0x3c7)]['setShowComponents'](!0x1)):(this[_0x11914f(0x3c7)][_0x11914f(0x3b9)](new _0x263feb(this[_0x11914f(0x1c9)])['id'],!0x0),this[_0x11914f(0x3c7)][_0x11914f(0x268)](!0x0));})));let _0x3bdd7c=!0x1;return this[_0x44570d(0x152)](this[_0x44570d(0x35f)]['sessionStatus$'][_0x44570d(0x3c0)](_0x514857=>{var _0x5cbe8c=_0x44570d;_0x514857===Ee[_0x5cbe8c(0x39c)]?this[_0x5cbe8c(0x1ed)](_0x3bdd7c):_0x514857===Ee[_0x5cbe8c(0x358)]&&(_0x3bdd7c=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x44570d(0x35f)][_0x44570d(0x376)][_0x44570d(0x3c0)](_0x47c96c=>{var _0x629d04=_0x44570d;try{switch(_0x47c96c[_0x629d04(0x29f)]){case _0x4b61f7[_0x629d04(0x320)]:{this[_0x629d04(0x381)](_0x14ec53(_0x47c96c['data']));break;}case _0x4b61f7[_0x629d04(0x38b)]:{this['_onRemoteACK'](_0x47c96c[_0x629d04(0x3c2)]);break;}case _0x4b61f7[_0x629d04(0x21e)]:{this['_onRemoteRejected']();break;}case _0x4b61f7[_0x629d04(0x2d2)]:{this['_onRemoteRetry'](_0x47c96c['data']);break;}case _0x4b61f7[_0x629d04(0x1ea)]:{this['_onFetchMissResult'](_0x47c96c['data']['changesets'][_0x629d04(0x359)](_0x17d469=>_0x14ec53(_0x17d469)));break;}case _0x4b61f7['PERMISSION_REJ']:{this[_0x629d04(0x26f)]({'isPermissionRej':!0x0});break;}case _0x4b61f7[_0x629d04(0x3f4)]:break;}}catch(_0x5c2a23){throw console[_0x629d04(0x250)]('Error\x20on\x20receiving\x20event',_0x5c2a23),_0x5c2a23;}})),this['_state'];}[_0x30c97e(0x1df)](){var _0x4b8502=_0x30c97e;this[_0x4b8502(0x39e)]=!0x1;}[_0x30c97e(0x3e6)](){var _0x130e03=_0x30c97e;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x130e03(0x39e)]=!0x0;}[_0x30c97e(0x295)](_0x5ccfd4){var _0x9a503f=_0x30c97e;this['_lockTransition'](),this[_0x9a503f(0x2ca)](this[_0x9a503f(0x306)][_0x9a503f(0x258)](_0x5ccfd4)),this[_0x9a503f(0x1df)]();}['_onRemoteChangeset'](_0x2914a8){var _0x82d27=_0x30c97e;if(!(_0x2914a8[_0x82d27(0x303)]<=this[_0x82d27(0x1c2)][_0x82d27(0x1d7)](this[_0x82d27(0x1c9)]))){if(this[_0x82d27(0x30a)]){this[_0x82d27(0x198)][_0x82d27(0x403)](_0x2914a8);return;}this[_0x82d27(0x334)](_0x2914a8);}}[_0x30c97e(0x342)](){var _0x5e5feb=_0x30c97e;this['_remoteChangesetQueue'][_0x5e5feb(0x3b3)](_0x25e20d=>this[_0x5e5feb(0x334)](_0x25e20d)),this[_0x5e5feb(0x198)]=[];}['_applyRemoteChangeset'](_0x112286){var _0x2a4c77=_0x30c97e;const _0x32764f=this[_0x2a4c77(0x2d4)]['interceptor'][_0x2a4c77(0x37f)](this[_0x2a4c77(0x2d4)][_0x2a4c77(0x10b)]['getInterceptPoints']()[_0x2a4c77(0x279)])(_0x112286[_0x2a4c77(0x3a0)],null)||_0x112286[_0x2a4c77(0x3a0)],_0x582309={..._0x112286,'mutations':_0x32764f};this['_lockTransition'](),this[_0x2a4c77(0x2ca)](this[_0x2a4c77(0x306)][_0x2a4c77(0x1f9)](_0x582309)),this['_unlockTransition']();}[_0x30c97e(0x2da)](_0x2f814a){var _0x3aab40=_0x30c97e;this[_0x3aab40(0x3e6)](),this['_updateState'](this[_0x3aab40(0x306)][_0x3aab40(0x116)](_0x2f814a)),this[_0x3aab40(0x1df)]();}['_onRemoteRejected'](_0x2d5308){var _0x4c4570=_0x30c97e;this[_0x4c4570(0x3e6)](),this[_0x4c4570(0x2ca)](this['_state'][_0x4c4570(0x1f0)](_0x2d5308)),this['_unlockTransition']();}[_0x30c97e(0x14f)](_0x397e75){var _0x4db482=_0x30c97e;this[_0x4db482(0x3e6)](),this[_0x4db482(0x2ca)](this[_0x4db482(0x306)][_0x4db482(0x379)](_0x397e75)),this[_0x4db482(0x1df)]();}[_0x30c97e(0x1de)](_0x2d0b4c){var _0x3a4965=_0x30c97e;if(!(this[_0x3a4965(0x306)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x403de0=_0x2d0b4c[_0x3a4965(0x359)](_0x4044a7=>{var _0x41081f=_0x3a4965;const _0x1ca98c=this[_0x41081f(0x2d4)][_0x41081f(0x10b)][_0x41081f(0x37f)](this[_0x41081f(0x2d4)]['interceptor']['getInterceptPoints']()[_0x41081f(0x279)])(_0x4044a7[_0x41081f(0x3a0)],null)||_0x4044a7['mutations'];return{..._0x4044a7,'mutations':_0x1ca98c};});this['_lockTransition'](),this[_0x3a4965(0x2ca)](this[_0x3a4965(0x306)][_0x3a4965(0x287)](_0x403de0)),this[_0x3a4965(0x1df)]();}[_0x30c97e(0x2c1)](){var _0x3d7cca=_0x30c97e;this['_lockTransition'](),this[_0x3d7cca(0x2ca)](this[_0x3d7cca(0x306)]['toggleOffline']()),this[_0x3d7cca(0x1df)]();}[_0x30c97e(0x1ed)](_0x550742=!0x1){var _0x4dab5a=_0x30c97e;this[_0x4dab5a(0x3e6)](),this['_updateState'](this[_0x4dab5a(0x306)][_0x4dab5a(0x36f)]()),this['_unlockTransition']();const _0x38edb5=this[_0x4dab5a(0x306)];_0x550742&&_0x38edb5 instanceof Ne&&(this[_0x4dab5a(0x3e6)](),this['_updateState'](_0x38edb5['fetchMiss']()),this[_0x4dab5a(0x1df)]());}async[_0x30c97e(0x1a2)](){return new Promise(_0x28de0a=>{var _0x2461ea=_0x5b64;this[_0x2461ea(0x35f)][_0x2461ea(0x153)][_0x2461ea(0x2a4)](_0x1cbcf0(0x1))[_0x2461ea(0x3c0)](async _0x558025=>{var _0xb73197=_0x2461ea;_0x28de0a(await this[_0xb73197(0x241)](_0x558025===Ee[_0xb73197(0x39c)]));});});}['_createHandler'](){var _0x41583b=_0x30c97e;const _0x4ef2c4=this[_0x41583b(0x1c9)];return{'onStateChange':(_0xd4a0e4,_0x28ce22)=>{var _0x23ed9b=_0x41583b;if(_0xd4a0e4!==this['_state'])throw new Error(_0x23ed9b(0x39b)+_0xd4a0e4[_0x23ed9b(0x294)]+'\x0aAfter:\x20'+_0x28ce22[_0x23ed9b(0x294)]+_0x23ed9b(0x1b1)+this[_0x23ed9b(0x306)][_0x23ed9b(0x294)]);this[_0x23ed9b(0x2ca)](_0x28ce22);},'onSendChangeset':_0x315237=>{var _0x1224a8=_0x41583b;_0x315237[_0x1224a8(0x3da)]||(_0x315237[_0x1224a8(0x3da)]=this[_0x1224a8(0x30f)],_0x315237[_0x1224a8(0x199)]=++this['_changesetReqId']);const _0x3b86ea={'eventID':_0x4b61f7[_0x1224a8(0x1f8)],'data':{'unitID':_0x315237[_0x1224a8(0x1c9)],'unitType':this[_0x1224a8(0x146)],'changeset':_0x315237,'memberID':this[_0x1224a8(0x35f)][_0x1224a8(0x159)]()}};this[_0x1224a8(0x35f)]['send'](_0x3b86ea,this[_0x1224a8(0x1c9)]);},'onMissingChangesets':({from:_0x70757d,to:_0xa46d26})=>{var _0xa528c6=_0x41583b;this[_0xa528c6(0x247)][_0xa528c6(0x1ef)](_0xa528c6(0x193),_0xa528c6(0x186)+_0x70757d+_0xa528c6(0x1e8)+_0xa46d26);const _0x45c557={'eventID':_0x4b61f7[_0xa528c6(0x1fc)],'data':{'unitID':_0x4ef2c4,'unitType':this[_0xa528c6(0x146)],'from':_0x70757d,'to':_0xa46d26}};this[_0xa528c6(0x35f)][_0xa528c6(0x35d)](_0x45c557,this[_0xa528c6(0x1c9)]);}};}async[_0x30c97e(0x241)](_0x364caa){var _0x129572=_0x30c97e,_0x8d854f,_0x2809b4,_0x27a71d;const _0x3f7f3a=await((_0x8d854f=this[_0x129572(0x380)])==null?void 0x0:_0x8d854f[_0x129572(0x3ca)](this['unitID'])),_0x3fcfa0=(_0x2809b4=_0x3f7f3a==null?void 0x0:_0x3f7f3a[_0x129572(0x3a0)])!=null?_0x2809b4:[],_0x2a96d1=(_0x27a71d=_0x3f7f3a==null?void 0x0:_0x3f7f3a[_0x129572(0x35a)])!=null?_0x27a71d:null,_0x3cb0ab=!!(_0x2a96d1!=null&&_0x2a96d1[_0x129572(0x3da)])&&!!(_0x2a96d1!=null&&_0x2a96d1[_0x129572(0x199)]);this[_0x129572(0x30f)]=_0x3cb0ab?_0x2a96d1[_0x129572(0x3da)]:Zn(),this['_changesetReqId']=_0x3cb0ab?_0x2a96d1[_0x129572(0x199)]:0x0;const _0x245003=this[_0x129572(0x1c9)];try{this[_0x129572(0x18b)](_0x2a96d1,_0x3fcfa0);}catch(_0x317988){this[_0x129572(0x247)][_0x129572(0x250)](_0x317988);}const _0x105e57=this['_createHandler']();if(_0x364caa){const _0x9a6cad=yi(this[_0x129572(0x246)],_0x245003,this[_0x129572(0x146)],_0x2a96d1,_0x3fcfa0,_0x105e57);return _0x9a6cad instanceof ae?_0x9a6cad['_schedule']():(_0x9a6cad instanceof oe||_0x9a6cad instanceof le)&&_0x9a6cad['resend'](),_0x9a6cad;}return this[_0x129572(0x246)]['createInstance'](de,_0x245003,this[_0x129572(0x146)],_0x2a96d1,_0x3fcfa0,_0x105e57);}['_replayCachedMutations'](_0x6d625a,_0x4f1147){var _0x400e27=_0x30c97e,_0x1f6b9e,_0x5bdff3;const _0x548308=this[_0x400e27(0x2d4)][_0x400e27(0x10b)][_0x400e27(0x37f)](this[_0x400e27(0x2d4)][_0x400e27(0x10b)][_0x400e27(0x38f)]()[_0x400e27(0x279)]);(_0x1f6b9e=_0x548308((_0x6d625a==null?void 0x0:_0x6d625a[_0x400e27(0x3a0)])||[],null))==null||_0x1f6b9e[_0x400e27(0x3b3)](_0x2ad305=>this[_0x400e27(0x206)][_0x400e27(0x40f)](_0x2ad305['id'],_0x2ad305[_0x400e27(0x24a)])),(_0x5bdff3=_0x548308(_0x4f1147||[],null))==null||_0x5bdff3[_0x400e27(0x3b3)](_0x25d661=>this[_0x400e27(0x206)][_0x400e27(0x40f)](_0x25d661['id'],_0x25d661[_0x400e27(0x24a)]));}};nt=Lt([H(0x3,_0x1aab8b(_0x51f454)),H(0x4,_0x1aab8b(_0x16301a)),H(0x5,_0x1aab8b(_0x54440b)),H(0x6,_0x1aab8b(_0x5e781e)),H(0x7,_0x1aab8b(pe)),H(0x8,_0xf9bcb3),H(0x9,_0xb43912),H(0xa,_0x233307),H(0xb,_0x596184(ht)),H(0xc,_0x596184(J))],nt);let It=class extends nt{constructor(_0xc968ee,_0x10103e,_0x1af8f5,_0x1e2dfc,_0x4efac7,_0x19a210,_0x111035,_0x2fcd73,_0x12e30b,_0x5d0898,_0x3115ab,_0x34a644,_0x4e985c){var _0x3454e7=_0x30c97e;super(_0xc968ee,_0x1af8f5,_0x10103e,_0x1e2dfc,_0x4efac7,_0x19a210,_0x111035,_0x2fcd73,_0x12e30b,_0x5d0898,_0x3115ab,_0x34a644,_0x4e985c),N(this,_0x3454e7(0x298),null),(this[_0x3454e7(0x1c9)]=_0xc968ee,this['type']=_0x10103e);}[_0x30c97e(0x28d)](_0x40eb7c){this['_handlerCallback']=_0x40eb7c;}[_0x30c97e(0x1ee)](){var _0x1016ea=_0x30c97e;this[_0x1016ea(0x298)]=null,super[_0x1016ea(0x1ee)]();}[_0x30c97e(0x384)](){var _0x3f7847=_0x30c97e;const _0x3e9bd8=super['_createHandler']();return _0x3e9bd8[_0x3f7847(0x243)]=_0x51d251=>{var _0x159e09=_0x3f7847,_0x5635f1,_0x5b9137;return(_0x5b9137=(_0x5635f1=this[_0x159e09(0x298)])==null?void 0x0:_0x5635f1[_0x159e09(0x243)])==null?void 0x0:_0x5b9137['call'](_0x5635f1,_0x51d251);},_0x3e9bd8[_0x3f7847(0x360)]=_0x50bd69=>{var _0x5b130e=_0x3f7847,_0x54a004,_0x10be44;return(_0x10be44=(_0x54a004=this['_handlerCallback'])==null?void 0x0:_0x54a004[_0x5b130e(0x360)])==null?void 0x0:_0x10be44[_0x5b130e(0x2af)](_0x54a004,_0x50bd69);},_0x3e9bd8[_0x3f7847(0x409)]=_0x112763=>{var _0x24b9c8=_0x3f7847,_0x330682,_0x2f42cc;return(_0x2f42cc=(_0x330682=this['_handlerCallback'])==null?void 0x0:_0x330682[_0x24b9c8(0x409)])==null?void 0x0:_0x2f42cc[_0x24b9c8(0x2af)](_0x330682,_0x112763);},_0x3e9bd8[_0x3f7847(0x34e)]=_0xbb4702=>{var _0x537bfe=_0x3f7847,_0x4fb96a,_0xae0529;return(_0xae0529=(_0x4fb96a=this[_0x537bfe(0x298)])==null?void 0x0:_0x4fb96a['onSyncEditingCollabCursor'])==null?void 0x0:_0xae0529[_0x537bfe(0x2af)](_0x4fb96a,_0xbb4702);},_0x3e9bd8[_0x3f7847(0x3f3)]=_0x53d3db=>{var _0x50787d=_0x3f7847,_0x25760e,_0xfd43f7,_0x85d969;if(!((_0x25760e=this[_0x50787d(0x298)])!=null&&_0x25760e[_0x50787d(0x3f3)]))throw new Error(_0x50787d(0x2d8));return(_0x85d969=(_0xfd43f7=this[_0x50787d(0x298)])==null?void 0x0:_0xfd43f7[_0x50787d(0x3f3)])==null?void 0x0:_0x85d969[_0x50787d(0x2af)](_0xfd43f7,_0x53d3db);},_0x3e9bd8[_0x3f7847(0x3ac)]=_0xe2fedc=>{var _0x309564=_0x3f7847,_0x30ad17,_0x4f7f83,_0x581426;if(!((_0x30ad17=this[_0x309564(0x298)])!=null&&_0x30ad17['onTransformRemoteChangesetByStateCache']))throw new Error(_0x309564(0x405));return(_0x581426=(_0x4f7f83=this[_0x309564(0x298)])==null?void 0x0:_0x4f7f83[_0x309564(0x3ac)])==null?void 0x0:_0x581426[_0x309564(0x2af)](_0x4f7f83,_0xe2fedc);},_0x3e9bd8;}async[_0x30c97e(0x2e3)](){var _0x49f554=_0x30c97e;const _0x1c0e91=await super[_0x49f554(0x2e3)]();return this[_0x49f554(0x152)](this[_0x49f554(0x206)][_0x49f554(0x24c)]((_0x1262e0,_0x24c111)=>{var _0x2d791a=_0x49f554;if(_0x1262e0[_0x2d791a(0x2ae)]!==_0x1018f9[_0x2d791a(0x23f)]||_0x24c111!=null&&_0x24c111[_0x2d791a(0x17e)]||_0x24c111!=null&&_0x24c111[_0x2d791a(0x17f)]||_0x1262e0['id']===_0x5c2334['id'])return;const _0x3ff5c0=_0x1262e0['params'];if((_0x3ff5c0==null?void 0x0:_0x3ff5c0[_0x2d791a(0x3f5)])!==this[_0x2d791a(0x1c9)])return;const _0x42b748=_0x1262e0,_0x56e8e0=this[_0x2d791a(0x2d4)][_0x2d791a(0x10b)][_0x2d791a(0x37f)](this[_0x2d791a(0x2d4)][_0x2d791a(0x10b)][_0x2d791a(0x38f)]()['COMPRESS_MUTATION_SEND'])([_0x42b748],null)||[_0x42b748];this[_0x2d791a(0x295)](_0x56e8e0[0x0]);})),_0x1c0e91;}};It=Lt([H(0x3,_0x1aab8b(_0x51f454)),H(0x4,_0x1aab8b(_0x16301a)),H(0x5,_0x1aab8b(_0x54440b)),H(0x6,_0x1aab8b(_0x5e781e)),H(0x7,_0x1aab8b(pe)),H(0x8,_0xf9bcb3),H(0x9,_0xb43912),H(0xa,_0x233307),H(0xb,_0x596184(ht)),H(0xc,_0x596184(J))],It);let Tt=class extends nt{constructor(_0x4f56c0,_0x2c56d4,_0x3bf728,_0x4818e0,_0x9a7001,_0x3e302f,_0x309990,_0x4b90a3,_0x54b90e,_0x4ec9bc,_0x2b3066,_0x5cdfa3,_0x4b8f00,_0x173d3a){var _0x3ab4ff=_0x30c97e;super(_0x4f56c0,_0x3bf728,_0x2c56d4,_0x4818e0,_0x9a7001,_0x3e302f,_0x309990,_0x54b90e,_0x4ec9bc,_0x2b3066,_0x5cdfa3,_0x4b8f00,_0x173d3a),this['unitID']=_0x4f56c0,this['type']=_0x2c56d4,this[_0x3ab4ff(0x197)]=_0x4b90a3;}['_createHandler'](){var _0x206953=_0x30c97e;const _0x59a3f6=super['_createHandler']();return _0x59a3f6[_0x206953(0x409)]=_0x3dd788=>this[_0x206953(0x197)][_0x206953(0x1e6)](_0x3dd788),_0x59a3f6;}async[_0x30c97e(0x2e3)](){var _0x477723=_0x30c97e;const _0x4c7e84=await super[_0x477723(0x2e3)]();return this[_0x477723(0x152)](this['_commandService']['onCommandExecuted']((_0x7ced96,_0x32403e)=>{var _0x5dcd5d=_0x477723;if(_0x7ced96[_0x5dcd5d(0x2ae)]!==_0x1018f9[_0x5dcd5d(0x23f)]||_0x32403e!=null&&_0x32403e[_0x5dcd5d(0x17e)]||_0x32403e!=null&&_0x32403e[_0x5dcd5d(0x17f)])return;const _0x115df9=_0x7ced96['params'];if((_0x115df9==null?void 0x0:_0x115df9[_0x5dcd5d(0x3f5)])!==this[_0x5dcd5d(0x1c9)])return;const _0x29090f=_0x7ced96,_0x694be5=this[_0x5dcd5d(0x2d4)][_0x5dcd5d(0x10b)][_0x5dcd5d(0x37f)](this['_compressMutationService'][_0x5dcd5d(0x10b)][_0x5dcd5d(0x38f)]()[_0x5dcd5d(0x2e1)])([_0x29090f],null)||[_0x29090f];this[_0x5dcd5d(0x295)](_0x694be5[0x0]);})),_0x4c7e84;}};Tt=Lt([H(0x3,_0x1aab8b(_0x51f454)),H(0x4,_0x1aab8b(_0x16301a)),H(0x5,_0x1aab8b(_0x54440b)),H(0x6,_0x1aab8b(_0x5e781e)),H(0x7,_0x1aab8b(it)),H(0x8,_0x1aab8b(pe)),H(0x9,_0xf9bcb3),H(0xa,_0xb43912),H(0xb,_0x233307),H(0xc,_0x596184(ht)),H(0xd,_0x596184(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x1ee077,_0x1a5982,_0x5e7a4e,_0x471679)=>{var _0x1460e6=_0x30c97e;for(var _0xc8fc3c=_0x471679>0x1?void 0x0:_0x471679?os(_0x1a5982,_0x5e7a4e):_0x1a5982,_0x486f5a=_0x1ee077[_0x1460e6(0x338)]-0x1,_0x1ee269;_0x486f5a>=0x0;_0x486f5a--)(_0x1ee269=_0x1ee077[_0x486f5a])&&(_0xc8fc3c=_0x1ee269(_0xc8fc3c)||_0xc8fc3c);return _0xc8fc3c;},ft=(_0x7d2412,_0x4a232b)=>(_0x50ad83,_0x4b1351)=>_0x4a232b(_0x50ad83,_0x4b1351,_0x7d2412);let st=class extends _0x34ea91{constructor(_0xb84262,_0x3e1b07,_0xa92fd7){var _0x5eb22a=_0x30c97e;super(),N(this,_0x5eb22a(0x292),new Map()),N(this,_0x5eb22a(0x208),new _0x52da68()),N(this,'entityInit$',this[_0x5eb22a(0x208)][_0x5eb22a(0x1cc)]()),(this[_0x5eb22a(0x246)]=_0xb84262,this[_0x5eb22a(0x273)]=_0x3e1b07,this[_0x5eb22a(0x10d)]=_0xa92fd7,this[_0x5eb22a(0x2e3)]());}[_0x30c97e(0x1ee)](){var _0x1ec992=_0x30c97e;super[_0x1ec992(0x1ee)](),this[_0x1ec992(0x292)]['forEach'](_0x49bee1=>_0x49bee1[_0x1ec992(0x1ee)]()),this[_0x1ec992(0x292)]['clear']();}['getCollabEntity'](_0x444c95){var _0xf20e2a=_0x30c97e,_0x235e58;return(_0x235e58=this['_entities'][_0xf20e2a(0x402)](_0x444c95))!=null?_0x235e58:null;}[_0x30c97e(0x40b)](_0x23fcbc){var _0x53706f=_0x30c97e;const _0x24908f=this['getCollabEntity'](_0x23fcbc);return _0x24908f?_0x23c246(_0x24908f):this[_0x53706f(0x208)]['pipe'](_0x1d479f(_0x5c57e6=>_0x5c57e6['unitID']===_0x23fcbc));}[_0x30c97e(0x224)](_0x5c3e65){var _0x41adb2=_0x30c97e;return _0xb115ad(this[_0x41adb2(0x40b)](_0x5c3e65)[_0x41adb2(0x2a4)](_0x122f91(()=>{})));}[_0x30c97e(0x2e3)](){var _0x2b1578=_0x30c97e;this[_0x2b1578(0x10d)][_0x2b1578(0x262)](_0x4f9465[_0x2b1578(0x204)])[_0x2b1578(0x2a4)](_0x155287(this['dispose$']),_0x38c479(0x10))[_0x2b1578(0x3c0)](async _0x3e534a=>{var _0x220fc1=_0x2b1578;const _0x12d607=_0x3e534a[_0x220fc1(0x2ed)](),_0x22eb71=await this[_0x220fc1(0x36c)](_0x12d607,Q[_0x220fc1(0x204)]);this['_entities'][_0x220fc1(0x3c8)](_0x12d607,_0x22eb71);}),this[_0x2b1578(0x10d)]['getTypeOfUnitAdded$'](_0x4f9465[_0x2b1578(0x1cd)])[_0x2b1578(0x2a4)](_0x155287(this[_0x2b1578(0x363)]),_0x38c479(0x10))[_0x2b1578(0x2a4)](_0x1d479f(_0x380667=>!_0x380667[_0x2b1578(0x2ed)]()[_0x2b1578(0x3f8)]('__')))['subscribe'](async _0x26b212=>{var _0x1e8e94=_0x2b1578;const _0x3efbe3=_0x26b212[_0x1e8e94(0x2ed)](),_0x2d487b=await this['_startCollaboration'](_0x3efbe3,Q[_0x1e8e94(0x1cd)]);this[_0x1e8e94(0x292)][_0x1e8e94(0x3c8)](_0x3efbe3,_0x2d487b);}),_0x4bebd7(this[_0x2b1578(0x10d)]['getTypeOfUnitDisposed$'](_0x4f9465[_0x2b1578(0x204)]),this[_0x2b1578(0x10d)][_0x2b1578(0x29b)](_0x4f9465[_0x2b1578(0x1cd)]))[_0x2b1578(0x2a4)](_0x155287(this[_0x2b1578(0x363)]))[_0x2b1578(0x3c0)](_0x5ad14e=>{var _0x1b4b8f=_0x2b1578;const _0x2d940c=_0x5ad14e[_0x1b4b8f(0x2ed)](),_0x76f4ec=this['_entities'][_0x1b4b8f(0x402)](_0x2d940c);_0x76f4ec&&(_0x76f4ec[_0x1b4b8f(0x1ee)](),this[_0x1b4b8f(0x292)]['delete'](_0x2d940c));});}async[_0x30c97e(0x36c)](_0x583240,_0x124eb2){var _0x28d1c4=_0x30c97e;const _0x3a05e3=await this[_0x28d1c4(0x273)][_0x28d1c4(0x317)](_0x583240),_0x3e2f94=this[_0x28d1c4(0x246)][_0x28d1c4(0x1d8)](this[_0x28d1c4(0x171)](_0x124eb2),_0x583240,_0x124eb2,_0x3a05e3);return await _0x3e2f94[_0x28d1c4(0x1b8)](),this[_0x28d1c4(0x208)][_0x28d1c4(0x2c2)](_0x3e2f94),_0x3e2f94;}[_0x30c97e(0x171)](_0x1de154){var _0x304e50=_0x30c97e;switch(_0x1de154){case Q[_0x304e50(0x1cd)]:return It;case Q[_0x304e50(0x204)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1de154);}}};st=cs([ft(0x0,_0x1aab8b(_0x51f454)),ft(0x1,_0x1aab8b(xe)),ft(0x2,_0x31aedc)],st);var hs=Object[_0x30c97e(0x1eb)],_s=(_0x28a0c5,_0x5031f4,_0x5ba8e1,_0x1e1651)=>{for(var _0x24a99e=_0x1e1651>0x1?void 0x0:_0x1e1651?hs(_0x5031f4,_0x5ba8e1):_0x5031f4,_0x304bab=_0x28a0c5['length']-0x1,_0x3e3e61;_0x304bab>=0x0;_0x304bab--)(_0x3e3e61=_0x28a0c5[_0x304bab])&&(_0x24a99e=_0x3e3e61(_0x24a99e)||_0x24a99e);return _0x24a99e;},zt=(_0x34deac,_0x83b694)=>(_0x4ee011,_0x258f76)=>_0x83b694(_0x4ee011,_0x258f76,_0x34deac);const ls=_0x30c97e(0x2bc),us=_0x30c97e(0x128);let Ct=class extends _0x4d3873{constructor(_0x30bec5,_0x2a0d74){var _0x4094df=_0x30c97e;super(),this['_univerInstanceService']=_0x30bec5,this['_configService']=_0x2a0d74,this[_0x4094df(0x2e3)]();}[_0x30c97e(0x2e3)](){var _0x587815=_0x30c97e;this['disposeWithMe'](this[_0x587815(0x10d)][_0x587815(0x172)][_0x587815(0x3c0)](()=>{var _0xe933d8=_0x587815,_0x14a23a;const _0x245e17=this[_0xe933d8(0x10d)][_0xe933d8(0x16e)]();let _0x3d1646=(_0x14a23a=this['_configService'][_0xe933d8(0x230)](ls))!=null?_0x14a23a:us;_0x245e17 instanceof _0x4d0187&&(_0x3d1646=_0x245e17[_0xe933d8(0x2bb)]),document[_0xe933d8(0x180)]=_0x3d1646;}));}};Ct=_s([zt(0x0,_0x31aedc),zt(0x1,_0x322b89)],Ct);var ds=Object[_0x30c97e(0x1eb)],fs=(_0x19bf7f,_0x200575,_0x2d394f,_0x2255b6)=>{var _0x21e1f5=_0x30c97e;for(var _0x483828=_0x2255b6>0x1?void 0x0:_0x2255b6?ds(_0x200575,_0x2d394f):_0x200575,_0x20aecf=_0x19bf7f[_0x21e1f5(0x338)]-0x1,_0x236b61;_0x20aecf>=0x0;_0x20aecf--)(_0x236b61=_0x19bf7f[_0x20aecf])&&(_0x483828=_0x236b61(_0x483828)||_0x483828);return _0x483828;},vt=(_0x1b8591,_0x16b780)=>(_0x5922fe,_0x1f9a07)=>_0x16b780(_0x5922fe,_0x1f9a07,_0x1b8591);let rt=class{constructor(_0x3ed2e7,_0x1867c7,_0x439c6e){var _0x673130=_0x30c97e;this[_0x673130(0x15e)]=_0x3ed2e7,this[_0x673130(0x1dd)]=_0x1867c7,this[_0x673130(0x297)]=_0x439c6e,this[_0x673130(0x1b8)]();}[_0x30c97e(0x1b8)](){var _0x30ec4b=_0x30c97e;this[_0x30ec4b(0x1dd)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x21a2f0,_0x321493)=>_0x321493(_0x21a2f0)[_0x30ec4b(0x2a4)](_0x49bb13(async _0x5993b4=>{var _0x4a2f45=_0x30ec4b;const _0x3d7c50=_0x5993b4;if(_0x3d7c50[_0x4a2f45(0x294)]===0x191){if(typeof window>'u')throw new Error(_0x4a2f45(0x18f));if(window['confirm'](this[_0x4a2f45(0x297)]['t'](_0x4a2f45(0x21d)))){const _0x22fd72=window[_0x4a2f45(0x144)](window[_0x4a2f45(0x3d0)]['href']);window['location'][_0x4a2f45(0x2cd)]=this[_0x4a2f45(0x14e)]()+_0x4a2f45(0x151)+_0x22fd72;}}return _0x3d7c50;}))});}['_getLoginPath'](){var _0x5f4c22=_0x30c97e,_0x2ec0d2,_0x676a22;const _0x229220=this[_0x5f4c22(0x15e)][_0x5f4c22(0x230)](Un),_0x1a8dbb=this[_0x5f4c22(0x15e)][_0x5f4c22(0x230)](q);return(_0x676a22=(_0x2ec0d2=_0x1a8dbb==null?void 0x0:_0x1a8dbb[_0x5f4c22(0x27f)])!=null?_0x2ec0d2:_0x229220)!=null?_0x676a22:An;}};rt=fs([vt(0x0,_0x322b89),vt(0x1,_0x1aab8b(_0x43eb18)),vt(0x2,_0x1aab8b(_0x54440b))],rt);var vs=Object[_0x30c97e(0x1eb)],ps=(_0x303325,_0x193ab0,_0x27b3d2,_0x6dae0d)=>{var _0x477cc3=_0x30c97e;for(var _0x4bcb87=_0x6dae0d>0x1?void 0x0:_0x6dae0d?vs(_0x193ab0,_0x27b3d2):_0x193ab0,_0x5760bf=_0x303325[_0x477cc3(0x338)]-0x1,_0x56cc97;_0x5760bf>=0x0;_0x5760bf--)(_0x56cc97=_0x303325[_0x5760bf])&&(_0x4bcb87=_0x56cc97(_0x4bcb87)||_0x4bcb87);return _0x4bcb87;},Jt=(_0x343d6f,_0x3db1db)=>(_0x2d7841,_0x9eefe7)=>_0x3db1db(_0x2d7841,_0x9eefe7,_0x343d6f);const Ni=_0x30c97e(0x200),ms=_0x30c97e(0x3a9);let Rt=class extends _0x4d3873{constructor(_0x4e4bdb,_0x554b9d){var _0x4183e4=_0x30c97e;super(),this[_0x4183e4(0x28e)]=_0x4e4bdb,this[_0x4183e4(0x15e)]=_0x554b9d,this[_0x4183e4(0x39f)]();}['_initMergeInterceptor'](){var _0x3a020b=_0x30c97e;const _0x572a64=this;this[_0x3a020b(0x152)](this[_0x3a020b(0x28e)][_0x3a020b(0x395)]({'priority':0x3e7,'interceptor':_0x3cf77e({'isMatch'(_0x149a8d){var _0xc9932a=_0x3a020b,_0x53f0c2;if(_0x149a8d[_0xc9932a(0x322)]===_0xc9932a(0x3d6)&&((_0x53f0c2=_0x149a8d['requestParams'])!=null&&_0x53f0c2[_0xc9932a(0x215)])){const {objectID:_0x6f806c,objectType:_0x4b6f1b}=_0x149a8d[_0xc9932a(0x36b)][_0xc9932a(0x215)]||{};if(!_0x6f806c||_0x4b6f1b===void 0x0)return!0x1;const _0x5adc28=_0x572a64[_0xc9932a(0x24e)]()+'/'+_0x4b6f1b+_0xc9932a(0x1a5)+_0x6f806c+_0xc9932a(0x3b4);if(_0x149a8d[_0xc9932a(0x370)]===_0x5adc28)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3ad5ec){var _0x5e2ac6=_0x3a020b,_0x5e9335;return(_0x5e9335=_0x3ad5ec['requestParams'])==null?void 0x0:_0x5e9335[_0x5e2ac6(0x215)];},'mergeParamsToRequest'(_0x309e1e,_0x534153){var _0x3c1b28=_0x3a020b;const _0x4e8bc5=_0x572a64[_0x3c1b28(0x24e)]()+_0x3c1b28(0x36d),_0x4f6ef8=_0x309e1e[_0x3c1b28(0x311)]((_0x1a3c10,_0x1b128a)=>{var _0x525823=_0x3c1b28;const {unitID:_0x532293,objectID:_0x3e9dae,objectType:_0x360f0f,actions:_0x273e44}=_0x1b128a;return _0x1a3c10[_0x532293]||(_0x1a3c10[_0x532293]={}),_0x1a3c10[_0x532293][_0x3e9dae]||(_0x1a3c10[_0x532293][_0x3e9dae]={'objectID':_0x3e9dae,'objectType':_0x360f0f,'actions':[]}),_0x1a3c10[_0x532293][_0x3e9dae][_0x525823(0x2de)][_0x525823(0x403)](..._0x273e44),_0x1a3c10;},{}),_0x490d49=[];for(const _0x36d249 in _0x4f6ef8)for(const _0x193dda in _0x4f6ef8[_0x36d249]){const {actions:_0x11e26a,objectType:_0x256d30}=_0x4f6ef8[_0x36d249][_0x193dda],_0x34c57d=[...new Set(_0x11e26a)];_0x490d49['push']({'unitID':_0x36d249,'objectID':_0x193dda,'objectType':_0x256d30,'actions':_0x34c57d});}return new _0x12d65b('POST',_0x4e8bc5,{'headers':_0x534153['headers'],'withCredentials':_0x534153[_0x3c1b28(0x3e4)],'responseType':_0x534153['responseType'],'body':{'requests':_0x490d49}});}},{'distributeResult'(_0x102b3c,_0x20bee6){const {objectActions:_0x58008b}=_0x102b3c;return _0x20bee6['map'](_0x3ef530=>{var _0x5e99d1=_0x5b64;const {unitID:_0xe141ec,objectID:_0x3fe0d7,actions:_0x24872c}=_0x3ef530,_0x166f58=_0x58008b[_0x5e99d1(0x3de)](_0x5e0927=>_0x5e0927[_0x5e99d1(0x1c9)]===_0xe141ec&&_0x5e0927['objectID']===_0x3fe0d7),_0x3a52af=_0x24872c[_0x5e99d1(0x359)](_0x44cc90=>_0x166f58==null?void 0x0:_0x166f58[_0x5e99d1(0x2de)][_0x5e99d1(0x3de)](_0x1ccff5=>_0x1ccff5[_0x5e99d1(0x203)]===_0x44cc90))[_0x5e99d1(0x34a)](_0x17f5d5=>!!_0x17f5d5);return{'config':_0x3ef530,'result':{'actions':_0x3a52af,'error':_0x102b3c[_0x5e99d1(0x250)]}};});}})}));}[_0x30c97e(0x24e)](){var _0x19b062=_0x30c97e,_0x52f6b9,_0x3cb8a6;const _0x33e799=this['_configService'][_0x19b062(0x230)](Ni),_0x3ae8fb=this[_0x19b062(0x15e)][_0x19b062(0x230)](q);return(_0x3cb8a6=(_0x52f6b9=_0x3ae8fb==null?void 0x0:_0x3ae8fb[_0x19b062(0x2d1)])!=null?_0x52f6b9:_0x33e799)!=null?_0x3cb8a6:ms;}async[_0x30c97e(0x3cc)](_0x13c67d){var _0x34f58c=_0x30c97e;const _0x401a50=this[_0x34f58c(0x24e)]()+'/'+_0x13c67d[_0x34f58c(0x3a3)]+_0x34f58c(0x318);return(await this[_0x34f58c(0x28e)]['post'](_0x401a50,{'body':_0x13c67d}))['body']['objectID']||'';}async[_0x30c97e(0x135)](_0x3090d6){var _0x15b451=_0x30c97e;const _0x1c59db=this['_getAPIPrefixPath']()+_0x15b451(0x2a2);return(await this[_0x15b451(0x28e)][_0x15b451(0x255)](_0x1c59db,{'body':_0x3090d6}))[_0x15b451(0x215)]['objects'];}async[_0x30c97e(0x265)](_0xdda727){var _0x231b15=_0x30c97e,_0x221d43,_0x549271;const _0x15450f=this[_0x231b15(0x24e)]()+'/'+_0xdda727[_0x231b15(0x3a3)]+'/object/'+_0xdda727[_0x231b15(0x3b7)],_0x23a38e=await this[_0x231b15(0x28e)][_0x231b15(0x307)](_0x15450f,{'body':_0xdda727});if(((_0x549271=(_0x221d43=_0x23a38e==null?void 0x0:_0x23a38e[_0x231b15(0x215)])==null?void 0x0:_0x221d43[_0x231b15(0x250)])==null?void 0x0:_0x549271[_0x231b15(0x1c0)])!==0x1)throw new Error(_0x231b15(0x291));}async[_0x30c97e(0x283)](_0x51983d){var _0x4e1ec3=_0x30c97e;const _0x23afb1=this['_getAPIPrefixPath']()+'/'+_0x51983d['objectType']+'/object/'+_0x51983d[_0x4e1ec3(0x3b7)]+_0x4e1ec3(0x3b4);return(await this[_0x4e1ec3(0x28e)]['post'](_0x23afb1,{'body':_0x51983d}))[_0x4e1ec3(0x215)][_0x4e1ec3(0x2de)];}async[_0x30c97e(0x348)](_0x358789){var _0x1d09e8=_0x30c97e;const _0x3461c2=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x1d09e8(0x28e)][_0x1d09e8(0x255)](_0x3461c2,{'body':{'requests':_0x358789}}))[_0x1d09e8(0x215)]['objectActions'];}async[_0x30c97e(0x319)](_0x404028){var _0x43d5c2=_0x30c97e;const _0x5bef4b=this[_0x43d5c2(0x24e)]()+'/'+_0x404028[_0x43d5c2(0x3a3)]+_0x43d5c2(0x373),_0x38ade2=await this['_HTTPService'][_0x43d5c2(0x255)](_0x5bef4b,{'body':_0x404028});return{'roles':_0x38ade2['body'][_0x43d5c2(0x2f7)],'actions':_0x38ade2[_0x43d5c2(0x215)][_0x43d5c2(0x2de)]};}async[_0x30c97e(0x1b0)](_0x57a4ea){var _0x3e461b=_0x30c97e;const _0x4161eb=this[_0x3e461b(0x24e)]()+_0x3e461b(0x223);await this[_0x3e461b(0x28e)][_0x3e461b(0x3eb)](_0x4161eb,{'params':{'collaboratorID':_0x57a4ea[_0x3e461b(0x2e7)],'objectID':_0x57a4ea[_0x3e461b(0x3b7)],'unitID':_0x57a4ea[_0x3e461b(0x1c9)]}});}async[_0x30c97e(0x26c)](_0x3e287d){var _0x1f1b7c=_0x30c97e;const _0x4bfdc8=this['_getAPIPrefixPath']()+_0x1f1b7c(0x223);await this[_0x1f1b7c(0x28e)][_0x1f1b7c(0x3f1)](_0x4bfdc8,{'body':_0x3e287d});}async[_0x30c97e(0x329)](_0x351f91){var _0x52a897=_0x30c97e;const _0x1ca16e=this[_0x52a897(0x24e)]()+_0x52a897(0x223);await this[_0x52a897(0x28e)][_0x52a897(0x255)](_0x1ca16e,{'body':_0x351f91});}async[_0x30c97e(0x17d)](_0x15d9dc){var _0x170276=_0x30c97e;const _0x1bd673=this[_0x170276(0x24e)]()+_0x170276(0x223);return(await this['_HTTPService'][_0x170276(0x402)](_0x1bd673,{'params':{'objectID':_0x15d9dc['objectID'],'unitID':_0x15d9dc[_0x170276(0x1c9)]}}))[_0x170276(0x215)][_0x170276(0x24f)];}async[_0x30c97e(0x1c4)](_0x4c346a){var _0x1248c4=_0x30c97e;const _0x528dc5=this[_0x1248c4(0x24e)]()+'/collaborator';await this[_0x1248c4(0x28e)][_0x1248c4(0x307)](_0x528dc5,{'body':_0x4c346a});}};Rt=ps([Jt(0x0,_0x1aab8b(_0x43eb18)),Jt(0x1,_0x1aab8b(_0x322b89))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x203641){var _0x105dbe=_0x30c97e;return _0x203641&&_0x203641[_0x105dbe(0x11d)]&&Object[_0x105dbe(0x364)][_0x105dbe(0x17c)][_0x105dbe(0x2af)](_0x203641,_0x105dbe(0x1cf))?_0x203641['default']:_0x203641;}var Ve={'exports':{}};function gs(_0x3ab7e6){var _0x5b147c=_0x30c97e;throw new Error(_0x5b147c(0x30b)+_0x3ab7e6+_0x5b147c(0x2fa));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){var _0x2c7db7=_0x30c97e;return Xt||(Xt=0x1,function(_0x4adb60,_0x5247a6){(function(_0x3d2f98,_0x1ad019){var _0x191256=_0x5b64;_0x4adb60[_0x191256(0x12a)]=_0x1ad019();}(Ss,function(){var _0xdb8ff7=_0xdb8ff7||function(_0x34dcbd,_0x3de8c9){var _0x5f3bed=_0x5b64,_0x4e0a91;if(typeof window<'u'&&window['crypto']&&(_0x4e0a91=window['crypto']),typeof self<'u'&&self[_0x5f3bed(0x34b)]&&(_0x4e0a91=self['crypto']),typeof globalThis<'u'&&globalThis[_0x5f3bed(0x34b)]&&(_0x4e0a91=globalThis[_0x5f3bed(0x34b)]),!_0x4e0a91&&typeof window<'u'&&window[_0x5f3bed(0x205)]&&(_0x4e0a91=window['msCrypto']),!_0x4e0a91&&typeof pt<'u'&&pt[_0x5f3bed(0x34b)]&&(_0x4e0a91=pt[_0x5f3bed(0x34b)]),!_0x4e0a91&&typeof gs==_0x5f3bed(0x1bc))try{_0x4e0a91=require(_0x5f3bed(0x34b));}catch{}var _0x417be4=function(){var _0x58bd68=_0x5f3bed;if(_0x4e0a91){if(typeof _0x4e0a91[_0x58bd68(0x257)]=='function')try{return _0x4e0a91[_0x58bd68(0x257)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4e0a91[_0x58bd68(0x410)]==_0x58bd68(0x1bc))try{return _0x4e0a91[_0x58bd68(0x410)](0x4)[_0x58bd68(0x412)]();}catch{}}throw new Error(_0x58bd68(0x14a));},_0x4e2c1c=Object[_0x5f3bed(0x3cc)]||(function(){function _0x148afc(){}return function(_0x1c04f0){var _0x1bad92=_0x5b64,_0x2f0cf5;return _0x148afc[_0x1bad92(0x364)]=_0x1c04f0,_0x2f0cf5=new _0x148afc(),_0x148afc[_0x1bad92(0x364)]=null,_0x2f0cf5;};}()),_0x3aea29={},_0x2950db=_0x3aea29[_0x5f3bed(0x314)]={},_0x435471=_0x2950db[_0x5f3bed(0x401)]=(function(){return{'extend':function(_0x2c81dc){var _0x45ffa3=_0x5b64,_0x2396fd=_0x4e2c1c(this);return _0x2c81dc&&_0x2396fd['mixIn'](_0x2c81dc),(!_0x2396fd[_0x45ffa3(0x17c)](_0x45ffa3(0x1b8))||this[_0x45ffa3(0x1b8)]===_0x2396fd[_0x45ffa3(0x1b8)])&&(_0x2396fd['init']=function(){var _0x4fb640=_0x45ffa3;_0x2396fd[_0x4fb640(0x169)]['init'][_0x4fb640(0x356)](this,arguments);}),_0x2396fd[_0x45ffa3(0x1b8)]['prototype']=_0x2396fd,_0x2396fd[_0x45ffa3(0x169)]=this,_0x2396fd;},'create':function(){var _0x325f1c=_0x5b64,_0x9c6c1b=this[_0x325f1c(0x13a)]();return _0x9c6c1b['init'][_0x325f1c(0x356)](_0x9c6c1b,arguments),_0x9c6c1b;},'init':function(){},'mixIn':function(_0x2f873c){var _0x1087fb=_0x5b64;for(var _0x1136a9 in _0x2f873c)_0x2f873c['hasOwnProperty'](_0x1136a9)&&(this[_0x1136a9]=_0x2f873c[_0x1136a9]);_0x2f873c[_0x1087fb(0x17c)](_0x1087fb(0x15a))&&(this[_0x1087fb(0x15a)]=_0x2f873c[_0x1087fb(0x15a)]);},'clone':function(){var _0xcd0079=_0x5b64;return this[_0xcd0079(0x1b8)]['prototype'][_0xcd0079(0x13a)](this);}};}()),_0x39a007=_0x2950db[_0x5f3bed(0x2f3)]=_0x435471[_0x5f3bed(0x13a)]({'init':function(_0x5c166d,_0x59f2a8){var _0x5080a8=_0x5f3bed;_0x5c166d=this[_0x5080a8(0x3ea)]=_0x5c166d||[],_0x59f2a8!=_0x3de8c9?this[_0x5080a8(0x1ff)]=_0x59f2a8:this[_0x5080a8(0x1ff)]=_0x5c166d[_0x5080a8(0x338)]*0x4;},'toString':function(_0x4751e1){var _0x2e6f21=_0x5f3bed;return(_0x4751e1||_0x3e3a5f)[_0x2e6f21(0x21f)](this);},'concat':function(_0x374cdd){var _0x35af79=_0x5f3bed,_0xb658e2=this[_0x35af79(0x3ea)],_0x3b7d98=_0x374cdd[_0x35af79(0x3ea)],_0x98a298=this[_0x35af79(0x1ff)],_0x15c1c8=_0x374cdd[_0x35af79(0x1ff)];if(this[_0x35af79(0x1b3)](),_0x98a298%0x4)for(var _0x1e0b82=0x0;_0x1e0b82<_0x15c1c8;_0x1e0b82++){var _0x1320b7=_0x3b7d98[_0x1e0b82>>>0x2]>>>0x18-_0x1e0b82%0x4*0x8&0xff;_0xb658e2[_0x98a298+_0x1e0b82>>>0x2]|=_0x1320b7<<0x18-(_0x98a298+_0x1e0b82)%0x4*0x8;}else{for(var _0x5b1c27=0x0;_0x5b1c27<_0x15c1c8;_0x5b1c27+=0x4)_0xb658e2[_0x98a298+_0x5b1c27>>>0x2]=_0x3b7d98[_0x5b1c27>>>0x2];}return this[_0x35af79(0x1ff)]+=_0x15c1c8,this;},'clamp':function(){var _0x2a65fe=_0x5f3bed,_0x22a4ff=this['words'],_0x81c685=this['sigBytes'];_0x22a4ff[_0x81c685>>>0x2]&=0xffffffff<<0x20-_0x81c685%0x4*0x8,_0x22a4ff['length']=_0x34dcbd[_0x2a65fe(0x25a)](_0x81c685/0x4);},'clone':function(){var _0x55b0bd=_0x5f3bed,_0x5610f7=_0x435471[_0x55b0bd(0x2aa)][_0x55b0bd(0x2af)](this);return _0x5610f7['words']=this[_0x55b0bd(0x3ea)]['slice'](0x0),_0x5610f7;},'random':function(_0x5a9827){for(var _0x489f89=[],_0x45be9e=0x0;_0x45be9e<_0x5a9827;_0x45be9e+=0x4)_0x489f89['push'](_0x417be4());return new _0x39a007['init'](_0x489f89,_0x5a9827);}}),_0x497b84=_0x3aea29[_0x5f3bed(0x2ef)]={},_0x3e3a5f=_0x497b84['Hex']={'stringify':function(_0x38d1a4){var _0x445724=_0x5f3bed;for(var _0x13a5a3=_0x38d1a4[_0x445724(0x3ea)],_0x5af463=_0x38d1a4[_0x445724(0x1ff)],_0x513dec=[],_0x2230a4=0x0;_0x2230a4<_0x5af463;_0x2230a4++){var _0x3ff2fe=_0x13a5a3[_0x2230a4>>>0x2]>>>0x18-_0x2230a4%0x4*0x8&0xff;_0x513dec[_0x445724(0x403)]((_0x3ff2fe>>>0x4)['toString'](0x10)),_0x513dec[_0x445724(0x403)]((_0x3ff2fe&0xf)[_0x445724(0x15a)](0x10));}return _0x513dec[_0x445724(0x35b)]('');},'parse':function(_0x247814){var _0x543881=_0x5f3bed;for(var _0x23f32a=_0x247814[_0x543881(0x338)],_0x6b9421=[],_0x574252=0x0;_0x574252<_0x23f32a;_0x574252+=0x2)_0x6b9421[_0x574252>>>0x3]|=parseInt(_0x247814[_0x543881(0x1b5)](_0x574252,0x2),0x10)<<0x18-_0x574252%0x8*0x4;return new _0x39a007[(_0x543881(0x1b8))](_0x6b9421,_0x23f32a/0x2);}},_0x45ee32=_0x497b84[_0x5f3bed(0x3ae)]={'stringify':function(_0x2d88ff){var _0x829267=_0x5f3bed;for(var _0x128f0a=_0x2d88ff[_0x829267(0x3ea)],_0x491d6b=_0x2d88ff[_0x829267(0x1ff)],_0x1ea078=[],_0x4249c4=0x0;_0x4249c4<_0x491d6b;_0x4249c4++){var _0x29a117=_0x128f0a[_0x4249c4>>>0x2]>>>0x18-_0x4249c4%0x4*0x8&0xff;_0x1ea078[_0x829267(0x403)](String['fromCharCode'](_0x29a117));}return _0x1ea078[_0x829267(0x35b)]('');},'parse':function(_0x33bb67){var _0x2cd8f7=_0x5f3bed;for(var _0x1ab382=_0x33bb67['length'],_0x3c63a1=[],_0x4f56d5=0x0;_0x4f56d5<_0x1ab382;_0x4f56d5++)_0x3c63a1[_0x4f56d5>>>0x2]|=(_0x33bb67[_0x2cd8f7(0x3f9)](_0x4f56d5)&0xff)<<0x18-_0x4f56d5%0x4*0x8;return new _0x39a007[(_0x2cd8f7(0x1b8))](_0x3c63a1,_0x1ab382);}},_0x4c5f62=_0x497b84[_0x5f3bed(0x1d2)]={'stringify':function(_0x3999e8){var _0x2ce8f9=_0x5f3bed;try{return decodeURIComponent(escape(_0x45ee32[_0x2ce8f9(0x21f)](_0x3999e8)));}catch{throw new Error(_0x2ce8f9(0x368));}},'parse':function(_0x599542){var _0x793800=_0x5f3bed;return _0x45ee32[_0x793800(0x2df)](unescape(encodeURIComponent(_0x599542)));}},_0x33ee57=_0x2950db[_0x5f3bed(0x129)]=_0x435471[_0x5f3bed(0x13a)]({'reset':function(){var _0x50b7b1=_0x5f3bed;this['_data']=new _0x39a007[(_0x50b7b1(0x1b8))](),this[_0x50b7b1(0x25b)]=0x0;},'_append':function(_0x56496c){var _0x5b6398=_0x5f3bed;typeof _0x56496c==_0x5b6398(0x276)&&(_0x56496c=_0x4c5f62[_0x5b6398(0x2df)](_0x56496c)),this[_0x5b6398(0x19b)][_0x5b6398(0x1c1)](_0x56496c),this['_nDataBytes']+=_0x56496c[_0x5b6398(0x1ff)];},'_process':function(_0x28fe00){var _0x1af490=_0x5f3bed,_0x3eae20,_0x42ae75=this['_data'],_0x5cb4bc=_0x42ae75[_0x1af490(0x3ea)],_0x1c70fa=_0x42ae75['sigBytes'],_0x530ba6=this[_0x1af490(0x2e4)],_0x4006d0=_0x530ba6*0x4,_0x452da7=_0x1c70fa/_0x4006d0;_0x28fe00?_0x452da7=_0x34dcbd[_0x1af490(0x25a)](_0x452da7):_0x452da7=_0x34dcbd[_0x1af490(0x227)]((_0x452da7|0x0)-this[_0x1af490(0x367)],0x0);var _0x5e605f=_0x452da7*_0x530ba6,_0xb48e0=_0x34dcbd[_0x1af490(0x3db)](_0x5e605f*0x4,_0x1c70fa);if(_0x5e605f){for(var _0x369c8e=0x0;_0x369c8e<_0x5e605f;_0x369c8e+=_0x530ba6)this[_0x1af490(0x209)](_0x5cb4bc,_0x369c8e);_0x3eae20=_0x5cb4bc['splice'](0x0,_0x5e605f),_0x42ae75[_0x1af490(0x1ff)]-=_0xb48e0;}return new _0x39a007['init'](_0x3eae20,_0xb48e0);},'clone':function(){var _0x9dae2c=_0x5f3bed,_0x4992b6=_0x435471[_0x9dae2c(0x2aa)][_0x9dae2c(0x2af)](this);return _0x4992b6[_0x9dae2c(0x19b)]=this[_0x9dae2c(0x19b)]['clone'](),_0x4992b6;},'_minBufferSize':0x0});_0x2950db[_0x5f3bed(0x245)]=_0x33ee57[_0x5f3bed(0x13a)]({'cfg':_0x435471[_0x5f3bed(0x13a)](),'init':function(_0x1b44c9){var _0x4cc463=_0x5f3bed;this['cfg']=this['cfg'][_0x4cc463(0x13a)](_0x1b44c9),this['reset']();},'reset':function(){var _0x57b356=_0x5f3bed;_0x33ee57['reset'][_0x57b356(0x2af)](this),this['_doReset']();},'update':function(_0x35080a){var _0x314606=_0x5f3bed;return this[_0x314606(0x117)](_0x35080a),this[_0x314606(0x37a)](),this;},'finalize':function(_0x39ba8d){var _0x206794=_0x5f3bed;_0x39ba8d&&this[_0x206794(0x117)](_0x39ba8d);var _0x4fab9d=this['_doFinalize']();return _0x4fab9d;},'blockSize':0x10,'_createHelper':function(_0xf201fd){return function(_0x1a1b35,_0x48cc8a){var _0x2c5b69=_0x5b64;return new _0xf201fd[(_0x2c5b69(0x1b8))](_0x48cc8a)[_0x2c5b69(0x139)](_0x1a1b35);};},'_createHmacHelper':function(_0x1f09a3){return function(_0x99c3ba,_0x2bbe0a){var _0x71ea42=_0x5b64;return new _0x482bc9[(_0x71ea42(0x382))]['init'](_0x1f09a3,_0x2bbe0a)['finalize'](_0x99c3ba);};}});var _0x482bc9=_0x3aea29[_0x5f3bed(0x235)]={};return _0x3aea29;}(Math);return _0xdb8ff7;}));}(Ge)),Ge[_0x2c7db7(0x12a)];}var We={'exports':{}},Es=We[_0x30c97e(0x12a)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x3c0ff9,_0x10c8e9){(function(_0x35ceea,_0x1386d4){var _0x3a3a52=_0x5b64;_0x3c0ff9[_0x3a3a52(0x12a)]=_0x1386d4(ie());}(Es,function(_0x41f9cd){var _0x782758=_0x5b64;return(function(){var _0x2bb4bb=_0x5b64,_0x459277=_0x41f9cd,_0x42b4ab=_0x459277[_0x2bb4bb(0x314)],_0x16cb13=_0x42b4ab[_0x2bb4bb(0x2f3)],_0x1039ea=_0x459277['enc'];_0x1039ea[_0x2bb4bb(0x3a4)]={'stringify':function(_0x2db7df){var _0x3cf201=_0x2bb4bb,_0xba31ab=_0x2db7df['words'],_0x370994=_0x2db7df[_0x3cf201(0x1ff)],_0x4a710b=this[_0x3cf201(0x1a6)];_0x2db7df[_0x3cf201(0x1b3)]();for(var _0x5179ae=[],_0x4890aa=0x0;_0x4890aa<_0x370994;_0x4890aa+=0x3)for(var _0x5099b5=_0xba31ab[_0x4890aa>>>0x2]>>>0x18-_0x4890aa%0x4*0x8&0xff,_0x363fe3=_0xba31ab[_0x4890aa+0x1>>>0x2]>>>0x18-(_0x4890aa+0x1)%0x4*0x8&0xff,_0x24288f=_0xba31ab[_0x4890aa+0x2>>>0x2]>>>0x18-(_0x4890aa+0x2)%0x4*0x8&0xff,_0x54274b=_0x5099b5<<0x10|_0x363fe3<<0x8|_0x24288f,_0xac5f77=0x0;_0xac5f77<0x4&&_0x4890aa+_0xac5f77*0.75<_0x370994;_0xac5f77++)_0x5179ae[_0x3cf201(0x403)](_0x4a710b[_0x3cf201(0x1e9)](_0x54274b>>>0x6*(0x3-_0xac5f77)&0x3f));var _0x2a8755=_0x4a710b['charAt'](0x40);if(_0x2a8755){for(;_0x5179ae[_0x3cf201(0x338)]%0x4;)_0x5179ae['push'](_0x2a8755);}return _0x5179ae[_0x3cf201(0x35b)]('');},'parse':function(_0x167686){var _0x5d798c=_0x2bb4bb,_0x5d7252=_0x167686[_0x5d798c(0x338)],_0x1037c1=this[_0x5d798c(0x1a6)],_0x4a0168=this[_0x5d798c(0x18d)];if(!_0x4a0168){_0x4a0168=this[_0x5d798c(0x18d)]=[];for(var _0xf9513b=0x0;_0xf9513b<_0x1037c1[_0x5d798c(0x338)];_0xf9513b++)_0x4a0168[_0x1037c1['charCodeAt'](_0xf9513b)]=_0xf9513b;}var _0x3febf6=_0x1037c1['charAt'](0x40);if(_0x3febf6){var _0x2c401b=_0x167686[_0x5d798c(0x17b)](_0x3febf6);_0x2c401b!==-0x1&&(_0x5d7252=_0x2c401b);}return _0x11155c(_0x167686,_0x5d7252,_0x4a0168);},'_map':_0x2bb4bb(0x23e)};function _0x11155c(_0x448d2c,_0x22aee8,_0x12177d){var _0x1a8d5f=_0x2bb4bb;for(var _0x152d5c=[],_0x21e202=0x0,_0x2efd28=0x0;_0x2efd28<_0x22aee8;_0x2efd28++)if(_0x2efd28%0x4){var _0x257c2c=_0x12177d[_0x448d2c[_0x1a8d5f(0x3f9)](_0x2efd28-0x1)]<<_0x2efd28%0x4*0x2,_0x2753a3=_0x12177d[_0x448d2c[_0x1a8d5f(0x3f9)](_0x2efd28)]>>>0x6-_0x2efd28%0x4*0x2,_0xfc4fb1=_0x257c2c|_0x2753a3;_0x152d5c[_0x21e202>>>0x2]|=_0xfc4fb1<<0x18-_0x21e202%0x4*0x8,_0x21e202++;}return _0x16cb13['create'](_0x152d5c,_0x21e202);}}()),_0x41f9cd[_0x782758(0x2ef)][_0x782758(0x3a4)];}));}(We)),We['exports'];}var Ke={'exports':{}},Is=Ke[_0x30c97e(0x12a)],Qt;function Ts(){var _0x4d65cb=_0x30c97e;return Qt||(Qt=0x1,function(_0x209156,_0x33f718){(function(_0xc322ec,_0x5779c6){_0x209156['exports']=_0x5779c6(ie());}(Is,function(_0x22bf0f){var _0x4fcc57=_0x5b64;return function(_0x3d2b13){var _0x45d511=_0x5b64,_0x131baa=_0x22bf0f,_0x5b23be=_0x131baa[_0x45d511(0x314)],_0x1f0462=_0x5b23be[_0x45d511(0x2f3)],_0x4362d3=_0x5b23be[_0x45d511(0x245)],_0xdc6369=_0x131baa[_0x45d511(0x235)],_0x101564=[];(function(){var _0x3e8f8a=_0x45d511;for(var _0xb6a96e=0x0;_0xb6a96e<0x40;_0xb6a96e++)_0x101564[_0xb6a96e]=_0x3d2b13['abs'](_0x3d2b13[_0x3e8f8a(0x14c)](_0xb6a96e+0x1))*0x100000000|0x0;}());var _0xec9611=_0xdc6369[_0x45d511(0x225)]=_0x4362d3['extend']({'_doReset':function(){var _0x545833=_0x45d511;this[_0x545833(0x2fc)]=new _0x1f0462['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3f1808,_0x286457){var _0x1be49c=_0x45d511;for(var _0x3e3108=0x0;_0x3e3108<0x10;_0x3e3108++){var _0xbb8988=_0x286457+_0x3e3108,_0x38416c=_0x3f1808[_0xbb8988];_0x3f1808[_0xbb8988]=(_0x38416c<<0x8|_0x38416c>>>0x18)&0xff00ff|(_0x38416c<<0x18|_0x38416c>>>0x8)&0xff00ff00;}var _0x1b5f05=this[_0x1be49c(0x2fc)][_0x1be49c(0x3ea)],_0x4306f9=_0x3f1808[_0x286457+0x0],_0x50e6d8=_0x3f1808[_0x286457+0x1],_0x3ba9cb=_0x3f1808[_0x286457+0x2],_0x292412=_0x3f1808[_0x286457+0x3],_0x2474e3=_0x3f1808[_0x286457+0x4],_0x3586ee=_0x3f1808[_0x286457+0x5],_0x32e345=_0x3f1808[_0x286457+0x6],_0x4c0a8e=_0x3f1808[_0x286457+0x7],_0x399a8c=_0x3f1808[_0x286457+0x8],_0xb6743a=_0x3f1808[_0x286457+0x9],_0x4c6e19=_0x3f1808[_0x286457+0xa],_0x30b7bc=_0x3f1808[_0x286457+0xb],_0x9bfa8d=_0x3f1808[_0x286457+0xc],_0x204d1b=_0x3f1808[_0x286457+0xd],_0x59ac44=_0x3f1808[_0x286457+0xe],_0x1f449b=_0x3f1808[_0x286457+0xf],_0x8b6d77=_0x1b5f05[0x0],_0x67dcd=_0x1b5f05[0x1],_0x49644e=_0x1b5f05[0x2],_0x471434=_0x1b5f05[0x3];_0x8b6d77=_0x2a3e32(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x4306f9,0x7,_0x101564[0x0]),_0x471434=_0x2a3e32(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x50e6d8,0xc,_0x101564[0x1]),_0x49644e=_0x2a3e32(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x3ba9cb,0x11,_0x101564[0x2]),_0x67dcd=_0x2a3e32(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x292412,0x16,_0x101564[0x3]),_0x8b6d77=_0x2a3e32(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x2474e3,0x7,_0x101564[0x4]),_0x471434=_0x2a3e32(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x3586ee,0xc,_0x101564[0x5]),_0x49644e=_0x2a3e32(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x32e345,0x11,_0x101564[0x6]),_0x67dcd=_0x2a3e32(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x4c0a8e,0x16,_0x101564[0x7]),_0x8b6d77=_0x2a3e32(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x399a8c,0x7,_0x101564[0x8]),_0x471434=_0x2a3e32(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0xb6743a,0xc,_0x101564[0x9]),_0x49644e=_0x2a3e32(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x4c6e19,0x11,_0x101564[0xa]),_0x67dcd=_0x2a3e32(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x30b7bc,0x16,_0x101564[0xb]),_0x8b6d77=_0x2a3e32(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x9bfa8d,0x7,_0x101564[0xc]),_0x471434=_0x2a3e32(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x204d1b,0xc,_0x101564[0xd]),_0x49644e=_0x2a3e32(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x59ac44,0x11,_0x101564[0xe]),_0x67dcd=_0x2a3e32(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x1f449b,0x16,_0x101564[0xf]),_0x8b6d77=_0x354b23(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x50e6d8,0x5,_0x101564[0x10]),_0x471434=_0x354b23(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x32e345,0x9,_0x101564[0x11]),_0x49644e=_0x354b23(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x30b7bc,0xe,_0x101564[0x12]),_0x67dcd=_0x354b23(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x4306f9,0x14,_0x101564[0x13]),_0x8b6d77=_0x354b23(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x3586ee,0x5,_0x101564[0x14]),_0x471434=_0x354b23(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x4c6e19,0x9,_0x101564[0x15]),_0x49644e=_0x354b23(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x1f449b,0xe,_0x101564[0x16]),_0x67dcd=_0x354b23(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x2474e3,0x14,_0x101564[0x17]),_0x8b6d77=_0x354b23(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0xb6743a,0x5,_0x101564[0x18]),_0x471434=_0x354b23(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x59ac44,0x9,_0x101564[0x19]),_0x49644e=_0x354b23(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x292412,0xe,_0x101564[0x1a]),_0x67dcd=_0x354b23(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x399a8c,0x14,_0x101564[0x1b]),_0x8b6d77=_0x354b23(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x204d1b,0x5,_0x101564[0x1c]),_0x471434=_0x354b23(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x3ba9cb,0x9,_0x101564[0x1d]),_0x49644e=_0x354b23(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x4c0a8e,0xe,_0x101564[0x1e]),_0x67dcd=_0x354b23(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x9bfa8d,0x14,_0x101564[0x1f]),_0x8b6d77=_0x47c143(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x3586ee,0x4,_0x101564[0x20]),_0x471434=_0x47c143(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x399a8c,0xb,_0x101564[0x21]),_0x49644e=_0x47c143(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x30b7bc,0x10,_0x101564[0x22]),_0x67dcd=_0x47c143(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x59ac44,0x17,_0x101564[0x23]),_0x8b6d77=_0x47c143(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x50e6d8,0x4,_0x101564[0x24]),_0x471434=_0x47c143(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x2474e3,0xb,_0x101564[0x25]),_0x49644e=_0x47c143(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x4c0a8e,0x10,_0x101564[0x26]),_0x67dcd=_0x47c143(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x4c6e19,0x17,_0x101564[0x27]),_0x8b6d77=_0x47c143(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x204d1b,0x4,_0x101564[0x28]),_0x471434=_0x47c143(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x4306f9,0xb,_0x101564[0x29]),_0x49644e=_0x47c143(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x292412,0x10,_0x101564[0x2a]),_0x67dcd=_0x47c143(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x32e345,0x17,_0x101564[0x2b]),_0x8b6d77=_0x47c143(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0xb6743a,0x4,_0x101564[0x2c]),_0x471434=_0x47c143(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x9bfa8d,0xb,_0x101564[0x2d]),_0x49644e=_0x47c143(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x1f449b,0x10,_0x101564[0x2e]),_0x67dcd=_0x47c143(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x3ba9cb,0x17,_0x101564[0x2f]),_0x8b6d77=_0x23047b(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x4306f9,0x6,_0x101564[0x30]),_0x471434=_0x23047b(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x4c0a8e,0xa,_0x101564[0x31]),_0x49644e=_0x23047b(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x59ac44,0xf,_0x101564[0x32]),_0x67dcd=_0x23047b(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x3586ee,0x15,_0x101564[0x33]),_0x8b6d77=_0x23047b(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x9bfa8d,0x6,_0x101564[0x34]),_0x471434=_0x23047b(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x292412,0xa,_0x101564[0x35]),_0x49644e=_0x23047b(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x4c6e19,0xf,_0x101564[0x36]),_0x67dcd=_0x23047b(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x50e6d8,0x15,_0x101564[0x37]),_0x8b6d77=_0x23047b(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x399a8c,0x6,_0x101564[0x38]),_0x471434=_0x23047b(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x1f449b,0xa,_0x101564[0x39]),_0x49644e=_0x23047b(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x32e345,0xf,_0x101564[0x3a]),_0x67dcd=_0x23047b(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0x204d1b,0x15,_0x101564[0x3b]),_0x8b6d77=_0x23047b(_0x8b6d77,_0x67dcd,_0x49644e,_0x471434,_0x2474e3,0x6,_0x101564[0x3c]),_0x471434=_0x23047b(_0x471434,_0x8b6d77,_0x67dcd,_0x49644e,_0x30b7bc,0xa,_0x101564[0x3d]),_0x49644e=_0x23047b(_0x49644e,_0x471434,_0x8b6d77,_0x67dcd,_0x3ba9cb,0xf,_0x101564[0x3e]),_0x67dcd=_0x23047b(_0x67dcd,_0x49644e,_0x471434,_0x8b6d77,_0xb6743a,0x15,_0x101564[0x3f]),_0x1b5f05[0x0]=_0x1b5f05[0x0]+_0x8b6d77|0x0,_0x1b5f05[0x1]=_0x1b5f05[0x1]+_0x67dcd|0x0,_0x1b5f05[0x2]=_0x1b5f05[0x2]+_0x49644e|0x0,_0x1b5f05[0x3]=_0x1b5f05[0x3]+_0x471434|0x0;},'_doFinalize':function(){var _0x2474df=_0x45d511,_0x2bdbbb=this[_0x2474df(0x19b)],_0x42b426=_0x2bdbbb[_0x2474df(0x3ea)],_0x55503c=this['_nDataBytes']*0x8,_0xfba122=_0x2bdbbb[_0x2474df(0x1ff)]*0x8;_0x42b426[_0xfba122>>>0x5]|=0x80<<0x18-_0xfba122%0x20;var _0x221167=_0x3d2b13['floor'](_0x55503c/0x100000000),_0xb29da4=_0x55503c;_0x42b426[(_0xfba122+0x40>>>0x9<<0x4)+0xf]=(_0x221167<<0x8|_0x221167>>>0x18)&0xff00ff|(_0x221167<<0x18|_0x221167>>>0x8)&0xff00ff00,_0x42b426[(_0xfba122+0x40>>>0x9<<0x4)+0xe]=(_0xb29da4<<0x8|_0xb29da4>>>0x18)&0xff00ff|(_0xb29da4<<0x18|_0xb29da4>>>0x8)&0xff00ff00,_0x2bdbbb['sigBytes']=(_0x42b426[_0x2474df(0x338)]+0x1)*0x4,this[_0x2474df(0x37a)]();for(var _0x4857d4=this['_hash'],_0x5289c4=_0x4857d4['words'],_0x5af094=0x0;_0x5af094<0x4;_0x5af094++){var _0xa154d0=_0x5289c4[_0x5af094];_0x5289c4[_0x5af094]=(_0xa154d0<<0x8|_0xa154d0>>>0x18)&0xff00ff|(_0xa154d0<<0x18|_0xa154d0>>>0x8)&0xff00ff00;}return _0x4857d4;},'clone':function(){var _0x402761=_0x45d511,_0x4c6442=_0x4362d3[_0x402761(0x2aa)][_0x402761(0x2af)](this);return _0x4c6442['_hash']=this[_0x402761(0x2fc)][_0x402761(0x2aa)](),_0x4c6442;}});function _0x2a3e32(_0x2e8408,_0x2164cd,_0x45d353,_0x46241d,_0x27b6b5,_0x340f0a,_0x5087b3){var _0x2288b8=_0x2e8408+(_0x2164cd&_0x45d353|~_0x2164cd&_0x46241d)+_0x27b6b5+_0x5087b3;return(_0x2288b8<<_0x340f0a|_0x2288b8>>>0x20-_0x340f0a)+_0x2164cd;}function _0x354b23(_0x5c4c76,_0x5df9a0,_0x57caa9,_0x4f0b2f,_0x59dd9c,_0x40e7ec,_0x612bf1){var _0x2cddf1=_0x5c4c76+(_0x5df9a0&_0x4f0b2f|_0x57caa9&~_0x4f0b2f)+_0x59dd9c+_0x612bf1;return(_0x2cddf1<<_0x40e7ec|_0x2cddf1>>>0x20-_0x40e7ec)+_0x5df9a0;}function _0x47c143(_0x249a05,_0x1d736a,_0x5c3585,_0x4810fe,_0x116396,_0x5569ed,_0x22c165){var _0x4a5b78=_0x249a05+(_0x1d736a^_0x5c3585^_0x4810fe)+_0x116396+_0x22c165;return(_0x4a5b78<<_0x5569ed|_0x4a5b78>>>0x20-_0x5569ed)+_0x1d736a;}function _0x23047b(_0x20f418,_0x3deaf1,_0x2fafb9,_0x3928b1,_0xfdea6,_0x4d0ea2,_0x4a2dc4){var _0x3b00ed=_0x20f418+(_0x2fafb9^(_0x3deaf1|~_0x3928b1))+_0xfdea6+_0x4a2dc4;return(_0x3b00ed<<_0x4d0ea2|_0x3b00ed>>>0x20-_0x4d0ea2)+_0x3deaf1;}_0x131baa[_0x45d511(0x225)]=_0x4362d3['_createHelper'](_0xec9611),_0x131baa['HmacMD5']=_0x4362d3[_0x45d511(0x160)](_0xec9611);}(Math),_0x22bf0f[_0x4fcc57(0x225)];}));}(Ke)),Ke[_0x4d65cb(0x12a)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x30c97e(0x12a)],ei;function Rs(){var _0x232101=_0x30c97e;return ei||(ei=0x1,function(_0x3f2d5f,_0x1dbc91){(function(_0x1c30ee,_0x3701bd){var _0x457155=_0x5b64;_0x3f2d5f[_0x457155(0x12a)]=_0x3701bd(ie());}(Cs,function(_0xdfc9){var _0x311c29=_0x5b64;return(function(){var _0x5c0a20=_0x5b64,_0x5c97d9=_0xdfc9,_0xf50710=_0x5c97d9[_0x5c0a20(0x314)],_0x1297c3=_0xf50710[_0x5c0a20(0x2f3)],_0xe6f81d=_0xf50710['Hasher'],_0x3ab2a8=_0x5c97d9[_0x5c0a20(0x235)],_0x5b1b87=[],_0x724410=_0x3ab2a8['SHA1']=_0xe6f81d[_0x5c0a20(0x13a)]({'_doReset':function(){var _0x2cfe78=_0x5c0a20;this[_0x2cfe78(0x2fc)]=new _0x1297c3[(_0x2cfe78(0x1b8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x554203,_0x8ca85){var _0x173a7d=_0x5c0a20;for(var _0x4a8fef=this[_0x173a7d(0x2fc)]['words'],_0x503602=_0x4a8fef[0x0],_0xaadf4c=_0x4a8fef[0x1],_0x1de33c=_0x4a8fef[0x2],_0x2e6e47=_0x4a8fef[0x3],_0x352f12=_0x4a8fef[0x4],_0x26103f=0x0;_0x26103f<0x50;_0x26103f++){if(_0x26103f<0x10)_0x5b1b87[_0x26103f]=_0x554203[_0x8ca85+_0x26103f]|0x0;else{var _0x481389=_0x5b1b87[_0x26103f-0x3]^_0x5b1b87[_0x26103f-0x8]^_0x5b1b87[_0x26103f-0xe]^_0x5b1b87[_0x26103f-0x10];_0x5b1b87[_0x26103f]=_0x481389<<0x1|_0x481389>>>0x1f;}var _0x26c083=(_0x503602<<0x5|_0x503602>>>0x1b)+_0x352f12+_0x5b1b87[_0x26103f];_0x26103f<0x14?_0x26c083+=(_0xaadf4c&_0x1de33c|~_0xaadf4c&_0x2e6e47)+0x5a827999:_0x26103f<0x28?_0x26c083+=(_0xaadf4c^_0x1de33c^_0x2e6e47)+0x6ed9eba1:_0x26103f<0x3c?_0x26c083+=(_0xaadf4c&_0x1de33c|_0xaadf4c&_0x2e6e47|_0x1de33c&_0x2e6e47)-0x70e44324:_0x26c083+=(_0xaadf4c^_0x1de33c^_0x2e6e47)-0x359d3e2a,_0x352f12=_0x2e6e47,_0x2e6e47=_0x1de33c,_0x1de33c=_0xaadf4c<<0x1e|_0xaadf4c>>>0x2,_0xaadf4c=_0x503602,_0x503602=_0x26c083;}_0x4a8fef[0x0]=_0x4a8fef[0x0]+_0x503602|0x0,_0x4a8fef[0x1]=_0x4a8fef[0x1]+_0xaadf4c|0x0,_0x4a8fef[0x2]=_0x4a8fef[0x2]+_0x1de33c|0x0,_0x4a8fef[0x3]=_0x4a8fef[0x3]+_0x2e6e47|0x0,_0x4a8fef[0x4]=_0x4a8fef[0x4]+_0x352f12|0x0;},'_doFinalize':function(){var _0x4b7113=_0x5c0a20,_0xe06f31=this[_0x4b7113(0x19b)],_0x143fd0=_0xe06f31[_0x4b7113(0x3ea)],_0x1ba993=this[_0x4b7113(0x25b)]*0x8,_0x1e8b33=_0xe06f31['sigBytes']*0x8;return _0x143fd0[_0x1e8b33>>>0x5]|=0x80<<0x18-_0x1e8b33%0x20,_0x143fd0[(_0x1e8b33+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x1ba993/0x100000000),_0x143fd0[(_0x1e8b33+0x40>>>0x9<<0x4)+0xf]=_0x1ba993,_0xe06f31['sigBytes']=_0x143fd0[_0x4b7113(0x338)]*0x4,this[_0x4b7113(0x37a)](),this[_0x4b7113(0x2fc)];},'clone':function(){var _0x5c570b=_0x5c0a20,_0x2cd67f=_0xe6f81d[_0x5c570b(0x2aa)]['call'](this);return _0x2cd67f[_0x5c570b(0x2fc)]=this['_hash'][_0x5c570b(0x2aa)](),_0x2cd67f;}});_0x5c97d9[_0x5c0a20(0x1af)]=_0xe6f81d[_0x5c0a20(0x23d)](_0x724410),_0x5c97d9[_0x5c0a20(0x2fe)]=_0xe6f81d['_createHmacHelper'](_0x724410);}()),_0xdfc9[_0x311c29(0x1af)];}));}(qe)),qe[_0x232101(0x12a)];}var ze={'exports':{}},bs=ze[_0x30c97e(0x12a)],ti;function Os(){var _0x4f0e94=_0x30c97e;return ti||(ti=0x1,function(_0x370256,_0x379950){(function(_0x456b94,_0x482d45){var _0x10a59e=_0x5b64;_0x370256[_0x10a59e(0x12a)]=_0x482d45(ie());}(bs,function(_0x482ef8){(function(){var _0x484b58=_0x5b64,_0x36cf1e=_0x482ef8,_0x239c18=_0x36cf1e[_0x484b58(0x314)],_0x36aac2=_0x239c18['Base'],_0x2ce072=_0x36cf1e[_0x484b58(0x2ef)],_0x35b993=_0x2ce072['Utf8'],_0x368c6f=_0x36cf1e[_0x484b58(0x235)];_0x368c6f['HMAC']=_0x36aac2['extend']({'init':function(_0x42c67c,_0x2460c9){var _0x55354a=_0x484b58;_0x42c67c=this['_hasher']=new _0x42c67c[(_0x55354a(0x1b8))](),typeof _0x2460c9=='string'&&(_0x2460c9=_0x35b993[_0x55354a(0x2df)](_0x2460c9));var _0x427e70=_0x42c67c['blockSize'],_0x587a0c=_0x427e70*0x4;_0x2460c9[_0x55354a(0x1ff)]>_0x587a0c&&(_0x2460c9=_0x42c67c['finalize'](_0x2460c9)),_0x2460c9[_0x55354a(0x1b3)]();for(var _0x25d417=this['_oKey']=_0x2460c9[_0x55354a(0x2aa)](),_0xa03564=this[_0x55354a(0x13b)]=_0x2460c9[_0x55354a(0x2aa)](),_0x576eba=_0x25d417[_0x55354a(0x3ea)],_0x46eeeb=_0xa03564[_0x55354a(0x3ea)],_0x2059bb=0x0;_0x2059bb<_0x427e70;_0x2059bb++)_0x576eba[_0x2059bb]^=0x5c5c5c5c,_0x46eeeb[_0x2059bb]^=0x36363636;_0x25d417[_0x55354a(0x1ff)]=_0xa03564[_0x55354a(0x1ff)]=_0x587a0c,this[_0x55354a(0x121)]();},'reset':function(){var _0x222e0c=_0x484b58,_0x19c084=this[_0x222e0c(0x3b0)];_0x19c084[_0x222e0c(0x121)](),_0x19c084['update'](this[_0x222e0c(0x13b)]);},'update':function(_0x3d82ab){var _0x45403c=_0x484b58;return this[_0x45403c(0x3b0)][_0x45403c(0x265)](_0x3d82ab),this;},'finalize':function(_0x1a4fed){var _0x3648b2=_0x484b58,_0x31e2a8=this[_0x3648b2(0x3b0)],_0x63f952=_0x31e2a8['finalize'](_0x1a4fed);_0x31e2a8['reset']();var _0x150e08=_0x31e2a8[_0x3648b2(0x139)](this[_0x3648b2(0x161)][_0x3648b2(0x2aa)]()[_0x3648b2(0x1c1)](_0x63f952));return _0x150e08;}});}());}));}(ze)),ze[_0x4f0e94(0x12a)];}var ys=Ye[_0x30c97e(0x12a)],ii;function Ui(){var _0x22d08a=_0x30c97e;return ii||(ii=0x1,function(_0x1d9520,_0x56f2d3){(function(_0x3fa36d,_0xf9bff1,_0x3d3910){_0x1d9520['exports']=_0xf9bff1(ie(),Rs(),Os());}(ys,function(_0x28ec39){return(function(){var _0x429bdd=_0x5b64,_0x310797=_0x28ec39,_0x8524ba=_0x310797[_0x429bdd(0x314)],_0x4b244b=_0x8524ba[_0x429bdd(0x401)],_0x4c8db9=_0x8524ba[_0x429bdd(0x2f3)],_0x10e610=_0x310797[_0x429bdd(0x235)],_0x2d5f8a=_0x10e610[_0x429bdd(0x225)],_0x4d16b4=_0x10e610['EvpKDF']=_0x4b244b[_0x429bdd(0x13a)]({'cfg':_0x4b244b[_0x429bdd(0x13a)]({'keySize':0x80/0x20,'hasher':_0x2d5f8a,'iterations':0x1}),'init':function(_0x3cf772){var _0x31aec2=_0x429bdd;this[_0x31aec2(0x355)]=this[_0x31aec2(0x355)][_0x31aec2(0x13a)](_0x3cf772);},'compute':function(_0x15e991,_0x42967b){var _0x1042d8=_0x429bdd;for(var _0x330d2b,_0x375e3c=this[_0x1042d8(0x355)],_0x5cb822=_0x375e3c[_0x1042d8(0x389)][_0x1042d8(0x3cc)](),_0x4e8b58=_0x4c8db9[_0x1042d8(0x3cc)](),_0x769d03=_0x4e8b58['words'],_0x12b74f=_0x375e3c[_0x1042d8(0x281)],_0x35e25d=_0x375e3c[_0x1042d8(0x1dc)];_0x769d03[_0x1042d8(0x338)]<_0x12b74f;){_0x330d2b&&_0x5cb822[_0x1042d8(0x265)](_0x330d2b),_0x330d2b=_0x5cb822[_0x1042d8(0x265)](_0x15e991)['finalize'](_0x42967b),_0x5cb822[_0x1042d8(0x121)]();for(var _0x21965c=0x1;_0x21965c<_0x35e25d;_0x21965c++)_0x330d2b=_0x5cb822[_0x1042d8(0x139)](_0x330d2b),_0x5cb822['reset']();_0x4e8b58[_0x1042d8(0x1c1)](_0x330d2b);}return _0x4e8b58[_0x1042d8(0x1ff)]=_0x12b74f*0x4,_0x4e8b58;}});_0x310797[_0x429bdd(0x350)]=function(_0x25b33c,_0xd5d79,_0x504f1e){var _0x40b022=_0x429bdd;return _0x4d16b4[_0x40b022(0x3cc)](_0x504f1e)[_0x40b022(0x1b7)](_0x25b33c,_0xd5d79);};}()),_0x28ec39['EvpKDF'];}));}(Ye)),Ye[_0x22d08a(0x12a)];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x1c42f1=_0x30c97e;return ni||(ni=0x1,function(_0x1fb802,_0x4bbec9){(function(_0x75330c,_0x541554,_0x3be624){var _0x2c34ec=_0x5b64;_0x1fb802[_0x2c34ec(0x12a)]=_0x541554(ie(),Ui());}(Ns,function(_0x2e5179){var _0x5ad204=_0x5b64;_0x2e5179[_0x5ad204(0x314)]['Cipher']||function(_0x1d94de){var _0x206358=_0x5ad204,_0x33c33c=_0x2e5179,_0x4ccbf1=_0x33c33c[_0x206358(0x314)],_0x194e72=_0x4ccbf1[_0x206358(0x401)],_0x2b0b7d=_0x4ccbf1[_0x206358(0x2f3)],_0x2e0b24=_0x4ccbf1[_0x206358(0x129)],_0x1be7fc=_0x33c33c[_0x206358(0x2ef)];_0x1be7fc['Utf8'];var _0x6e2319=_0x1be7fc[_0x206358(0x3a4)],_0x5c48f1=_0x33c33c['algo'],_0x292d80=_0x5c48f1[_0x206358(0x350)],_0x3f6131=_0x4ccbf1[_0x206358(0x2b1)]=_0x2e0b24[_0x206358(0x13a)]({'cfg':_0x194e72[_0x206358(0x13a)](),'createEncryptor':function(_0x3d252d,_0x4d478d){var _0x5d4f42=_0x206358;return this['create'](this[_0x5d4f42(0x289)],_0x3d252d,_0x4d478d);},'createDecryptor':function(_0x19a411,_0x284354){var _0x390e4d=_0x206358;return this[_0x390e4d(0x3cc)](this[_0x390e4d(0x165)],_0x19a411,_0x284354);},'init':function(_0x3df085,_0x15d749,_0x5e2d91){var _0x36e8a9=_0x206358;this[_0x36e8a9(0x355)]=this['cfg'][_0x36e8a9(0x13a)](_0x5e2d91),this[_0x36e8a9(0x40c)]=_0x3df085,this[_0x36e8a9(0x3d5)]=_0x15d749,this[_0x36e8a9(0x121)]();},'reset':function(){var _0x950f34=_0x206358;_0x2e0b24[_0x950f34(0x121)][_0x950f34(0x2af)](this),this['_doReset']();},'process':function(_0x1ae8e4){var _0x5390ca=_0x206358;return this[_0x5390ca(0x117)](_0x1ae8e4),this[_0x5390ca(0x37a)]();},'finalize':function(_0x22e845){var _0x40bb16=_0x206358;_0x22e845&&this[_0x40bb16(0x117)](_0x22e845);var _0xf98ee=this[_0x40bb16(0x341)]();return _0xf98ee;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x8bcb11(_0xd0ea8){var _0x3366c6=_0x5b64;return typeof _0xd0ea8==_0x3366c6(0x276)?_0x297861:_0x1af0bf;}return function(_0x17acfd){return{'encrypt':function(_0xce90af,_0xc0723a,_0x59ee16){var _0xed89eb=_0x5b64;return _0x8bcb11(_0xc0723a)[_0xed89eb(0x2b9)](_0x17acfd,_0xce90af,_0xc0723a,_0x59ee16);},'decrypt':function(_0x44076f,_0x33d403,_0x55d958){var _0x26c558=_0x5b64;return _0x8bcb11(_0x33d403)[_0x26c558(0x337)](_0x17acfd,_0x44076f,_0x33d403,_0x55d958);}};};}())});_0x4ccbf1[_0x206358(0x3df)]=_0x3f6131[_0x206358(0x13a)]({'_doFinalize':function(){var _0x1e2a57=_0x206358,_0x3f5425=this[_0x1e2a57(0x37a)](!0x0);return _0x3f5425;},'blockSize':0x1});var _0x5a9ec7=_0x33c33c[_0x206358(0x137)]={},_0x434329=_0x4ccbf1[_0x206358(0x324)]=_0x194e72[_0x206358(0x13a)]({'createEncryptor':function(_0xcc3fc,_0x244175){var _0x2fc038=_0x206358;return this['Encryptor'][_0x2fc038(0x3cc)](_0xcc3fc,_0x244175);},'createDecryptor':function(_0x1442c6,_0x3501e7){var _0x2932b2=_0x206358;return this[_0x2932b2(0x264)][_0x2932b2(0x3cc)](_0x1442c6,_0x3501e7);},'init':function(_0x5dd84e,_0x56b9c9){var _0x2205a1=_0x206358;this[_0x2205a1(0x286)]=_0x5dd84e,this[_0x2205a1(0x284)]=_0x56b9c9;}}),_0x4869cb=_0x5a9ec7['CBC']=(function(){var _0x39650b=_0x206358,_0x178631=_0x434329[_0x39650b(0x13a)]();_0x178631[_0x39650b(0x31f)]=_0x178631[_0x39650b(0x13a)]({'processBlock':function(_0x4815c3,_0x7978f){var _0x479566=_0x39650b,_0x5186d5=this['_cipher'],_0x292b74=_0x5186d5['blockSize'];_0x2582ce[_0x479566(0x2af)](this,_0x4815c3,_0x7978f,_0x292b74),_0x5186d5['encryptBlock'](_0x4815c3,_0x7978f),this[_0x479566(0x392)]=_0x4815c3['slice'](_0x7978f,_0x7978f+_0x292b74);}}),_0x178631[_0x39650b(0x264)]=_0x178631['extend']({'processBlock':function(_0x513512,_0x2aed6f){var _0x60f0e3=_0x39650b,_0x47dff3=this[_0x60f0e3(0x286)],_0x127049=_0x47dff3['blockSize'],_0x527053=_0x513512[_0x60f0e3(0x34f)](_0x2aed6f,_0x2aed6f+_0x127049);_0x47dff3[_0x60f0e3(0x325)](_0x513512,_0x2aed6f),_0x2582ce[_0x60f0e3(0x2af)](this,_0x513512,_0x2aed6f,_0x127049),this[_0x60f0e3(0x392)]=_0x527053;}});function _0x2582ce(_0x113dbe,_0x5242a4,_0x4ee9d0){var _0x35f605=_0x39650b,_0x203b28,_0x227447=this[_0x35f605(0x284)];_0x227447?(_0x203b28=_0x227447,this[_0x35f605(0x284)]=_0x1d94de):_0x203b28=this[_0x35f605(0x392)];for(var _0x26bc7e=0x0;_0x26bc7e<_0x4ee9d0;_0x26bc7e++)_0x113dbe[_0x5242a4+_0x26bc7e]^=_0x203b28[_0x26bc7e];}return _0x178631;}()),_0x1875e6=_0x33c33c[_0x206358(0x3e8)]={},_0x1b0b86=_0x1875e6[_0x206358(0x26a)]={'pad':function(_0xeb8a64,_0x467b7b){var _0x2e904a=_0x206358;for(var _0x17f9f9=_0x467b7b*0x4,_0x2d67ce=_0x17f9f9-_0xeb8a64[_0x2e904a(0x1ff)]%_0x17f9f9,_0x2b50b8=_0x2d67ce<<0x18|_0x2d67ce<<0x10|_0x2d67ce<<0x8|_0x2d67ce,_0x3f93bb=[],_0x2eeaeb=0x0;_0x2eeaeb<_0x2d67ce;_0x2eeaeb+=0x4)_0x3f93bb[_0x2e904a(0x403)](_0x2b50b8);var _0x44f378=_0x2b0b7d['create'](_0x3f93bb,_0x2d67ce);_0xeb8a64[_0x2e904a(0x1c1)](_0x44f378);},'unpad':function(_0x2892c3){var _0x1a4bcc=_0x206358,_0x4083f0=_0x2892c3[_0x1a4bcc(0x3ea)][_0x2892c3[_0x1a4bcc(0x1ff)]-0x1>>>0x2]&0xff;_0x2892c3['sigBytes']-=_0x4083f0;}};_0x4ccbf1[_0x206358(0x31e)]=_0x3f6131[_0x206358(0x13a)]({'cfg':_0x3f6131[_0x206358(0x355)][_0x206358(0x13a)]({'mode':_0x4869cb,'padding':_0x1b0b86}),'reset':function(){var _0x3522f8=_0x206358,_0x4946a4;_0x3f6131[_0x3522f8(0x121)][_0x3522f8(0x2af)](this);var _0x570d67=this['cfg'],_0x6ac9f9=_0x570d67['iv'],_0x143dda=_0x570d67[_0x3522f8(0x137)];this[_0x3522f8(0x40c)]==this[_0x3522f8(0x289)]?_0x4946a4=_0x143dda[_0x3522f8(0x33a)]:(_0x4946a4=_0x143dda[_0x3522f8(0x2b3)],this[_0x3522f8(0x367)]=0x1),this[_0x3522f8(0x366)]&&this['_mode'][_0x3522f8(0x301)]==_0x4946a4?this['_mode'][_0x3522f8(0x1b8)](this,_0x6ac9f9&&_0x6ac9f9['words']):(this['_mode']=_0x4946a4[_0x3522f8(0x2af)](_0x143dda,this,_0x6ac9f9&&_0x6ac9f9['words']),this['_mode'][_0x3522f8(0x301)]=_0x4946a4);},'_doProcessBlock':function(_0x352307,_0x29d11d){var _0x2061bd=_0x206358;this['_mode'][_0x2061bd(0x27a)](_0x352307,_0x29d11d);},'_doFinalize':function(){var _0x5776af=_0x206358,_0x54e14e,_0x596f51=this['cfg'][_0x5776af(0x2bf)];return this[_0x5776af(0x40c)]==this[_0x5776af(0x289)]?(_0x596f51[_0x5776af(0x3e8)](this[_0x5776af(0x19b)],this[_0x5776af(0x2e4)]),_0x54e14e=this['_process'](!0x0)):(_0x54e14e=this[_0x5776af(0x37a)](!0x0),_0x596f51[_0x5776af(0x32f)](_0x54e14e)),_0x54e14e;},'blockSize':0x80/0x20});var _0xd95b09=_0x4ccbf1[_0x206358(0x2a3)]=_0x194e72[_0x206358(0x13a)]({'init':function(_0x89121c){this['mixIn'](_0x89121c);},'toString':function(_0x445cea){var _0xd00e04=_0x206358;return(_0x445cea||this[_0xd00e04(0x3e7)])[_0xd00e04(0x21f)](this);}}),_0x5dea27=_0x33c33c[_0x206358(0x16c)]={},_0xa9ab07=_0x5dea27[_0x206358(0x1d5)]={'stringify':function(_0x2b6512){var _0x335727=_0x206358,_0xc4880f,_0x127926=_0x2b6512[_0x335727(0x210)],_0x220336=_0x2b6512[_0x335727(0x251)];return _0x220336?_0xc4880f=_0x2b0b7d[_0x335727(0x3cc)]([0x53616c74,0x65645f5f])[_0x335727(0x1c1)](_0x220336)[_0x335727(0x1c1)](_0x127926):_0xc4880f=_0x127926,_0xc4880f['toString'](_0x6e2319);},'parse':function(_0x5395af){var _0x50c10f=_0x206358,_0x408e6f,_0x571565=_0x6e2319['parse'](_0x5395af),_0x1b30db=_0x571565[_0x50c10f(0x3ea)];return _0x1b30db[0x0]==0x53616c74&&_0x1b30db[0x1]==0x65645f5f&&(_0x408e6f=_0x2b0b7d['create'](_0x1b30db[_0x50c10f(0x34f)](0x2,0x4)),_0x1b30db[_0x50c10f(0x1f7)](0x0,0x4),_0x571565[_0x50c10f(0x1ff)]-=0x10),_0xd95b09[_0x50c10f(0x3cc)]({'ciphertext':_0x571565,'salt':_0x408e6f});}},_0x1af0bf=_0x4ccbf1[_0x206358(0x2e5)]=_0x194e72[_0x206358(0x13a)]({'cfg':_0x194e72['extend']({'format':_0xa9ab07}),'encrypt':function(_0x3c0a24,_0x3b2054,_0x162d88,_0x3192c8){var _0x1172c5=_0x206358;_0x3192c8=this[_0x1172c5(0x355)][_0x1172c5(0x13a)](_0x3192c8);var _0x2e7a90=_0x3c0a24[_0x1172c5(0x33a)](_0x162d88,_0x3192c8),_0x54bf97=_0x2e7a90[_0x1172c5(0x139)](_0x3b2054),_0x573401=_0x2e7a90[_0x1172c5(0x355)];return _0xd95b09[_0x1172c5(0x3cc)]({'ciphertext':_0x54bf97,'key':_0x162d88,'iv':_0x573401['iv'],'algorithm':_0x3c0a24,'mode':_0x573401['mode'],'padding':_0x573401[_0x1172c5(0x2bf)],'blockSize':_0x3c0a24[_0x1172c5(0x2e4)],'formatter':_0x3192c8[_0x1172c5(0x16c)]});},'decrypt':function(_0x3c18ba,_0x32460d,_0x2734e9,_0xcf12a1){var _0x4c283b=_0x206358;_0xcf12a1=this[_0x4c283b(0x355)][_0x4c283b(0x13a)](_0xcf12a1),_0x32460d=this['_parse'](_0x32460d,_0xcf12a1['format']);var _0x498a94=_0x3c18ba[_0x4c283b(0x2b3)](_0x2734e9,_0xcf12a1)[_0x4c283b(0x139)](_0x32460d['ciphertext']);return _0x498a94;},'_parse':function(_0x261e57,_0x2519b4){var _0xcbdbbb=_0x206358;return typeof _0x261e57==_0xcbdbbb(0x276)?_0x2519b4[_0xcbdbbb(0x2df)](_0x261e57,this):_0x261e57;}}),_0x3d25fd=_0x33c33c['kdf']={},_0x2aeefc=_0x3d25fd[_0x206358(0x1d5)]={'execute':function(_0x14cf13,_0x25ac9a,_0x1331a5,_0x2b7365,_0x58f441){var _0x1d86b5=_0x206358;if(_0x2b7365||(_0x2b7365=_0x2b0b7d['random'](0x40/0x8)),_0x58f441)var _0x5c9197=_0x292d80['create']({'keySize':_0x25ac9a+_0x1331a5,'hasher':_0x58f441})['compute'](_0x14cf13,_0x2b7365);else var _0x5c9197=_0x292d80[_0x1d86b5(0x3cc)]({'keySize':_0x25ac9a+_0x1331a5})[_0x1d86b5(0x1b7)](_0x14cf13,_0x2b7365);var _0x5b62b6=_0x2b0b7d['create'](_0x5c9197[_0x1d86b5(0x3ea)][_0x1d86b5(0x34f)](_0x25ac9a),_0x1331a5*0x4);return _0x5c9197[_0x1d86b5(0x1ff)]=_0x25ac9a*0x4,_0xd95b09[_0x1d86b5(0x3cc)]({'key':_0x5c9197,'iv':_0x5b62b6,'salt':_0x2b7365});}},_0x297861=_0x4ccbf1[_0x206358(0x288)]=_0x1af0bf[_0x206358(0x13a)]({'cfg':_0x1af0bf[_0x206358(0x355)][_0x206358(0x13a)]({'kdf':_0x2aeefc}),'encrypt':function(_0x2af25a,_0x563a14,_0x500738,_0x34573b){var _0x10b584=_0x206358;_0x34573b=this[_0x10b584(0x355)][_0x10b584(0x13a)](_0x34573b);var _0x2e52f4=_0x34573b['kdf'][_0x10b584(0x3fb)](_0x500738,_0x2af25a[_0x10b584(0x281)],_0x2af25a[_0x10b584(0x16a)],_0x34573b[_0x10b584(0x251)],_0x34573b[_0x10b584(0x389)]);_0x34573b['iv']=_0x2e52f4['iv'];var _0x258368=_0x1af0bf[_0x10b584(0x2b9)][_0x10b584(0x2af)](this,_0x2af25a,_0x563a14,_0x2e52f4['key'],_0x34573b);return _0x258368[_0x10b584(0x1e5)](_0x2e52f4),_0x258368;},'decrypt':function(_0x252358,_0x27e34e,_0x24566c,_0x5deb4f){var _0x32dfdd=_0x206358;_0x5deb4f=this['cfg']['extend'](_0x5deb4f),_0x27e34e=this[_0x32dfdd(0x28c)](_0x27e34e,_0x5deb4f[_0x32dfdd(0x16c)]);var _0x5704d5=_0x5deb4f['kdf'][_0x32dfdd(0x3fb)](_0x24566c,_0x252358['keySize'],_0x252358[_0x32dfdd(0x16a)],_0x27e34e[_0x32dfdd(0x251)],_0x5deb4f['hasher']);_0x5deb4f['iv']=_0x5704d5['iv'];var _0x141058=_0x1af0bf[_0x32dfdd(0x337)][_0x32dfdd(0x2af)](this,_0x252358,_0x27e34e,_0x5704d5['key'],_0x5deb4f);return _0x141058;}});}();}));}(Je)),Je[_0x1c42f1(0x12a)];}var Ds=Ve[_0x30c97e(0x12a)],si;function Us(){var _0x2c11e5=_0x30c97e;return si||(si=0x1,function(_0x947aae,_0x2e09e1){(function(_0x3870d8,_0xeefb20,_0x146f8b){var _0x44fe82=_0x5b64;_0x947aae[_0x44fe82(0x12a)]=_0xeefb20(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x61c716){var _0x4bb27b=_0x5b64;return(function(){var _0x5b6eea=_0x5b64,_0x7a489=_0x61c716,_0x46726e=_0x7a489[_0x5b6eea(0x314)],_0x5a81e4=_0x46726e['BlockCipher'],_0x52673b=_0x7a489[_0x5b6eea(0x235)],_0x174613=[],_0x23e02a=[],_0xf7b176=[],_0x55d8ad=[],_0x151297=[],_0x588acb=[],_0x21bfb3=[],_0x248646=[],_0x488461=[],_0x5d4d11=[];(function(){for(var _0x574a6a=[],_0x3c95d7=0x0;_0x3c95d7<0x100;_0x3c95d7++)_0x3c95d7<0x80?_0x574a6a[_0x3c95d7]=_0x3c95d7<<0x1:_0x574a6a[_0x3c95d7]=_0x3c95d7<<0x1^0x11b;for(var _0xc2a61a=0x0,_0x8ad208=0x0,_0x3c95d7=0x0;_0x3c95d7<0x100;_0x3c95d7++){var _0x196093=_0x8ad208^_0x8ad208<<0x1^_0x8ad208<<0x2^_0x8ad208<<0x3^_0x8ad208<<0x4;_0x196093=_0x196093>>>0x8^_0x196093&0xff^0x63,_0x174613[_0xc2a61a]=_0x196093,_0x23e02a[_0x196093]=_0xc2a61a;var _0x116163=_0x574a6a[_0xc2a61a],_0x181e11=_0x574a6a[_0x116163],_0x6dc73c=_0x574a6a[_0x181e11],_0x155a20=_0x574a6a[_0x196093]*0x101^_0x196093*0x1010100;_0xf7b176[_0xc2a61a]=_0x155a20<<0x18|_0x155a20>>>0x8,_0x55d8ad[_0xc2a61a]=_0x155a20<<0x10|_0x155a20>>>0x10,_0x151297[_0xc2a61a]=_0x155a20<<0x8|_0x155a20>>>0x18,_0x588acb[_0xc2a61a]=_0x155a20;var _0x155a20=_0x6dc73c*0x1010101^_0x181e11*0x10001^_0x116163*0x101^_0xc2a61a*0x1010100;_0x21bfb3[_0x196093]=_0x155a20<<0x18|_0x155a20>>>0x8,_0x248646[_0x196093]=_0x155a20<<0x10|_0x155a20>>>0x10,_0x488461[_0x196093]=_0x155a20<<0x8|_0x155a20>>>0x18,_0x5d4d11[_0x196093]=_0x155a20,_0xc2a61a?(_0xc2a61a=_0x116163^_0x574a6a[_0x574a6a[_0x574a6a[_0x6dc73c^_0x116163]]],_0x8ad208^=_0x574a6a[_0x574a6a[_0x8ad208]]):_0xc2a61a=_0x8ad208=0x1;}}());var _0x5c919c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2dab3b=_0x52673b[_0x5b6eea(0x38c)]=_0x5a81e4[_0x5b6eea(0x13a)]({'_doReset':function(){var _0x86b2cf=_0x5b6eea,_0x55a086;if(!(this[_0x86b2cf(0x290)]&&this[_0x86b2cf(0x1fb)]===this[_0x86b2cf(0x3d5)])){for(var _0x329c18=this[_0x86b2cf(0x1fb)]=this[_0x86b2cf(0x3d5)],_0x58dd16=_0x329c18[_0x86b2cf(0x3ea)],_0x22ceae=_0x329c18[_0x86b2cf(0x1ff)]/0x4,_0x3d3dca=this[_0x86b2cf(0x290)]=_0x22ceae+0x6,_0x285e32=(_0x3d3dca+0x1)*0x4,_0xc29367=this[_0x86b2cf(0x3f2)]=[],_0x3e10a9=0x0;_0x3e10a9<_0x285e32;_0x3e10a9++)_0x3e10a9<_0x22ceae?_0xc29367[_0x3e10a9]=_0x58dd16[_0x3e10a9]:(_0x55a086=_0xc29367[_0x3e10a9-0x1],_0x3e10a9%_0x22ceae?_0x22ceae>0x6&&_0x3e10a9%_0x22ceae==0x4&&(_0x55a086=_0x174613[_0x55a086>>>0x18]<<0x18|_0x174613[_0x55a086>>>0x10&0xff]<<0x10|_0x174613[_0x55a086>>>0x8&0xff]<<0x8|_0x174613[_0x55a086&0xff]):(_0x55a086=_0x55a086<<0x8|_0x55a086>>>0x18,_0x55a086=_0x174613[_0x55a086>>>0x18]<<0x18|_0x174613[_0x55a086>>>0x10&0xff]<<0x10|_0x174613[_0x55a086>>>0x8&0xff]<<0x8|_0x174613[_0x55a086&0xff],_0x55a086^=_0x5c919c[_0x3e10a9/_0x22ceae|0x0]<<0x18),_0xc29367[_0x3e10a9]=_0xc29367[_0x3e10a9-_0x22ceae]^_0x55a086);for(var _0x55b5a1=this['_invKeySchedule']=[],_0x4bb205=0x0;_0x4bb205<_0x285e32;_0x4bb205++){var _0x3e10a9=_0x285e32-_0x4bb205;if(_0x4bb205%0x4)var _0x55a086=_0xc29367[_0x3e10a9];else var _0x55a086=_0xc29367[_0x3e10a9-0x4];_0x4bb205<0x4||_0x3e10a9<=0x4?_0x55b5a1[_0x4bb205]=_0x55a086:_0x55b5a1[_0x4bb205]=_0x21bfb3[_0x174613[_0x55a086>>>0x18]]^_0x248646[_0x174613[_0x55a086>>>0x10&0xff]]^_0x488461[_0x174613[_0x55a086>>>0x8&0xff]]^_0x5d4d11[_0x174613[_0x55a086&0xff]];}}},'encryptBlock':function(_0x5b8bf4,_0x1219a1){var _0x44a0da=_0x5b6eea;this[_0x44a0da(0x39d)](_0x5b8bf4,_0x1219a1,this[_0x44a0da(0x3f2)],_0xf7b176,_0x55d8ad,_0x151297,_0x588acb,_0x174613);},'decryptBlock':function(_0x7a3a42,_0x25ed1f){var _0xe162c4=_0x5b6eea,_0x16b7fc=_0x7a3a42[_0x25ed1f+0x1];_0x7a3a42[_0x25ed1f+0x1]=_0x7a3a42[_0x25ed1f+0x3],_0x7a3a42[_0x25ed1f+0x3]=_0x16b7fc,this[_0xe162c4(0x39d)](_0x7a3a42,_0x25ed1f,this[_0xe162c4(0x259)],_0x21bfb3,_0x248646,_0x488461,_0x5d4d11,_0x23e02a);var _0x16b7fc=_0x7a3a42[_0x25ed1f+0x1];_0x7a3a42[_0x25ed1f+0x1]=_0x7a3a42[_0x25ed1f+0x3],_0x7a3a42[_0x25ed1f+0x3]=_0x16b7fc;},'_doCryptBlock':function(_0x1511ec,_0x80ded6,_0x4f37d1,_0xc95b26,_0x56b858,_0x1340e9,_0x41ddb5,_0x3e7c15){for(var _0x2d6369=this['_nRounds'],_0x8f4747=_0x1511ec[_0x80ded6]^_0x4f37d1[0x0],_0x3df4f0=_0x1511ec[_0x80ded6+0x1]^_0x4f37d1[0x1],_0x48fd51=_0x1511ec[_0x80ded6+0x2]^_0x4f37d1[0x2],_0x1589e9=_0x1511ec[_0x80ded6+0x3]^_0x4f37d1[0x3],_0x18d437=0x4,_0x342aaf=0x1;_0x342aaf<_0x2d6369;_0x342aaf++){var _0x2321c7=_0xc95b26[_0x8f4747>>>0x18]^_0x56b858[_0x3df4f0>>>0x10&0xff]^_0x1340e9[_0x48fd51>>>0x8&0xff]^_0x41ddb5[_0x1589e9&0xff]^_0x4f37d1[_0x18d437++],_0x239075=_0xc95b26[_0x3df4f0>>>0x18]^_0x56b858[_0x48fd51>>>0x10&0xff]^_0x1340e9[_0x1589e9>>>0x8&0xff]^_0x41ddb5[_0x8f4747&0xff]^_0x4f37d1[_0x18d437++],_0x350f6e=_0xc95b26[_0x48fd51>>>0x18]^_0x56b858[_0x1589e9>>>0x10&0xff]^_0x1340e9[_0x8f4747>>>0x8&0xff]^_0x41ddb5[_0x3df4f0&0xff]^_0x4f37d1[_0x18d437++],_0x3a8125=_0xc95b26[_0x1589e9>>>0x18]^_0x56b858[_0x8f4747>>>0x10&0xff]^_0x1340e9[_0x3df4f0>>>0x8&0xff]^_0x41ddb5[_0x48fd51&0xff]^_0x4f37d1[_0x18d437++];_0x8f4747=_0x2321c7,_0x3df4f0=_0x239075,_0x48fd51=_0x350f6e,_0x1589e9=_0x3a8125;}var _0x2321c7=(_0x3e7c15[_0x8f4747>>>0x18]<<0x18|_0x3e7c15[_0x3df4f0>>>0x10&0xff]<<0x10|_0x3e7c15[_0x48fd51>>>0x8&0xff]<<0x8|_0x3e7c15[_0x1589e9&0xff])^_0x4f37d1[_0x18d437++],_0x239075=(_0x3e7c15[_0x3df4f0>>>0x18]<<0x18|_0x3e7c15[_0x48fd51>>>0x10&0xff]<<0x10|_0x3e7c15[_0x1589e9>>>0x8&0xff]<<0x8|_0x3e7c15[_0x8f4747&0xff])^_0x4f37d1[_0x18d437++],_0x350f6e=(_0x3e7c15[_0x48fd51>>>0x18]<<0x18|_0x3e7c15[_0x1589e9>>>0x10&0xff]<<0x10|_0x3e7c15[_0x8f4747>>>0x8&0xff]<<0x8|_0x3e7c15[_0x3df4f0&0xff])^_0x4f37d1[_0x18d437++],_0x3a8125=(_0x3e7c15[_0x1589e9>>>0x18]<<0x18|_0x3e7c15[_0x8f4747>>>0x10&0xff]<<0x10|_0x3e7c15[_0x3df4f0>>>0x8&0xff]<<0x8|_0x3e7c15[_0x48fd51&0xff])^_0x4f37d1[_0x18d437++];_0x1511ec[_0x80ded6]=_0x2321c7,_0x1511ec[_0x80ded6+0x1]=_0x239075,_0x1511ec[_0x80ded6+0x2]=_0x350f6e,_0x1511ec[_0x80ded6+0x3]=_0x3a8125;},'keySize':0x100/0x20});_0x7a489['AES']=_0x5a81e4['_createHelper'](_0x2dab3b);}()),_0x61c716[_0x4bb27b(0x38c)];}));}(Ve)),Ve[_0x2c11e5(0x12a)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function xs(){return ai||(ai=0x1,function(_0x3c2647,_0x186d98){(function(_0x339557,_0x266a66){var _0x5dec02=_0x5b64;_0x3c2647[_0x5dec02(0x12a)]=_0x266a66(ie());}(Ls,function(_0x515a18){var _0x1513cf=_0x5b64;return _0x515a18[_0x1513cf(0x2ef)]['Utf8'];}));}(Xe)),Xe['exports'];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x30c97e(0x12a)],oi;function Hs(){var _0x3524bc=_0x30c97e;return oi||(oi=0x1,function(_0x2e4da2,_0x3139d4){(function(_0x569e36,_0x5191ce){var _0x986e73=_0x5b64;_0x2e4da2[_0x986e73(0x12a)]=_0x5191ce(ie());}($s,function(_0x2930b5){var _0x10fcb0=_0x5b64;return(function(){var _0x3d0019=_0x5b64;if(typeof ArrayBuffer==_0x3d0019(0x1bc)){var _0x1788a7=_0x2930b5,_0x39c87b=_0x1788a7['lib'],_0x1c7868=_0x39c87b[_0x3d0019(0x2f3)],_0x5ef619=_0x1c7868[_0x3d0019(0x1b8)],_0x278ce2=_0x1c7868[_0x3d0019(0x1b8)]=function(_0x2476fb){var _0x47c1a9=_0x3d0019;if(_0x2476fb instanceof ArrayBuffer&&(_0x2476fb=new Uint8Array(_0x2476fb)),(_0x2476fb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2476fb instanceof Uint8ClampedArray||_0x2476fb instanceof Int16Array||_0x2476fb instanceof Uint16Array||_0x2476fb instanceof Int32Array||_0x2476fb instanceof Uint32Array||_0x2476fb instanceof Float32Array||_0x2476fb instanceof Float64Array)&&(_0x2476fb=new Uint8Array(_0x2476fb[_0x47c1a9(0x35e)],_0x2476fb[_0x47c1a9(0x222)],_0x2476fb[_0x47c1a9(0x15c)])),_0x2476fb instanceof Uint8Array){for(var _0x2471ab=_0x2476fb[_0x47c1a9(0x15c)],_0x257898=[],_0x5c6003=0x0;_0x5c6003<_0x2471ab;_0x5c6003++)_0x257898[_0x5c6003>>>0x2]|=_0x2476fb[_0x5c6003]<<0x18-_0x5c6003%0x4*0x8;_0x5ef619['call'](this,_0x257898,_0x2471ab);}else _0x5ef619[_0x47c1a9(0x356)](this,arguments);};_0x278ce2[_0x3d0019(0x364)]=_0x1c7868;}}()),_0x2930b5[_0x10fcb0(0x314)][_0x10fcb0(0x2f3)];}));}(Ze)),Ze[_0x3524bc(0x12a)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x30c97e(0x12a)],ci;function Vs(){var _0x156517=_0x30c97e;return ci||(ci=0x1,function(_0x1c20c3,_0x4112a7){(function(_0x36a3b9,_0x4aba36,_0x56bd4c){var _0x547507=_0x5b64;_0x1c20c3[_0x547507(0x12a)]=_0x4aba36(ie(),Ai());}(Fs,function(_0x1aed86){var _0xfb3f5d=_0x5b64;return _0x1aed86[_0xfb3f5d(0x3e8)][_0xfb3f5d(0x232)]={'pad':function(){},'unpad':function(){}},_0x1aed86[_0xfb3f5d(0x3e8)][_0xfb3f5d(0x232)];}));}(Qe)),Qe[_0x156517(0x12a)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x3a4646,_0x225732){var _0x10917e=_0x30c97e;const _0x313c3d=_0x225732-_0x3a4646[_0x10917e(0x338)]%_0x225732,_0x10cc97=String[_0x10917e(0x385)](_0x313c3d)[_0x10917e(0x15f)](_0x313c3d);return _0x3a4646+_0x10cc97;}function Ys(_0x8673c7,_0x1821b8){var _0x367c0d=_0x30c97e;const _0x1af3c8=js[_0x367c0d(0x10c)](0x10),_0x46e084=Ks(_0x8673c7,0x10),_0x476d00=ws[_0x367c0d(0x2b9)](ks[_0x367c0d(0x2df)](_0x46e084),ri[_0x367c0d(0x2df)](_0x1821b8),{'iv':_0x1af3c8,'padding':Ws});return _0x1af3c8[_0x367c0d(0x1c1)](_0x476d00[_0x367c0d(0x210)])[_0x367c0d(0x15a)](ri);}function qs(){var _0x1bc417=_0x30c97e;const _0x2cd4b7=_0x4c7089()['__Key__'];if(_0x2cd4b7){const _0xedef7b={'time':Math[_0x1bc417(0x377)](Date[_0x1bc417(0x2a6)]()/0x3e8),'domain':location[_0x1bc417(0x308)]};return Ys(JSON[_0x1bc417(0x21f)](_0xedef7b),_0x2cd4b7);}}var zs=Object[_0x30c97e(0x1eb)],Js=(_0x1b217c,_0x720160,_0x1cf5f8,_0x54b558)=>{var _0x40d640=_0x30c97e;for(var _0x50fcb2=_0x54b558>0x1?void 0x0:_0x54b558?zs(_0x720160,_0x1cf5f8):_0x720160,_0x3b63c1=_0x1b217c[_0x40d640(0x338)]-0x1,_0x7cc871;_0x3b63c1>=0x0;_0x3b63c1--)(_0x7cc871=_0x1b217c[_0x3b63c1])&&(_0x50fcb2=_0x7cc871(_0x50fcb2)||_0x50fcb2);return _0x50fcb2;},Xs=(_0x45eca3,_0x7ae8ae)=>(_0x4eee72,_0x3707ba)=>_0x7ae8ae(_0x4eee72,_0x3707ba,_0x45eca3);let at=class{constructor(_0x5ca4b6){var _0x341b0b=_0x30c97e;this[_0x341b0b(0x1dd)]=_0x5ca4b6,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x57d9ff=_0x30c97e;this['_httpService'][_0x57d9ff(0x395)]({'interceptor':(_0x14bf3f,_0xb71216)=>{var _0x368d4b=_0x57d9ff;const _0x5b7cd5=_0x14bf3f[_0x368d4b(0x2ac)],_0xfd0761=qs();return _0xfd0761&&_0x5b7cd5['set']('x-univer-host',_0xfd0761),_0xb71216(_0x14bf3f);}});}};at=Js([Xs(0x0,_0x1aab8b(_0x43eb18))],at);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x4383f2,_0x5b6192,_0x552621,_0x2cc34a)=>{var _0x2ee07b=_0x30c97e;for(var _0x351ea0=_0x2cc34a>0x1?void 0x0:_0x2cc34a?Zs(_0x5b6192,_0x552621):_0x5b6192,_0x449686=_0x4383f2[_0x2ee07b(0x338)]-0x1,_0x340da2;_0x449686>=0x0;_0x449686--)(_0x340da2=_0x4383f2[_0x449686])&&(_0x351ea0=_0x340da2(_0x351ea0)||_0x351ea0);return _0x351ea0;},mt=(_0x182dbf,_0x44f6d3)=>(_0x15d7de,_0x341901)=>_0x44f6d3(_0x15d7de,_0x341901,_0x182dbf);let bt=class extends _0x34ea91{constructor(_0x1b5c38,_0x5f0d7f,_0x6c640e){var _0x208b87=_0x30c97e;super(),N(this,_0x208b87(0x278),new _0x3d3430(null)),N(this,_0x208b87(0x2b4),this['_unitInfo$']['asObservable']()),(this[_0x208b87(0x247)]=_0x1b5c38,this['_snapshotService']=_0x5f0d7f,this[_0x208b87(0x380)]=_0x6c640e);}async[_0x30c97e(0x397)](_0x3d0970,_0x13a8a6,_0x3f6e71){var _0x313a14=_0x30c97e;this[_0x313a14(0x278)][_0x313a14(0x2c2)]({'unitId':_0x3d0970,'type':_0x13a8a6,'subUnitId':_0x3f6e71});let _0x3de89f=null;switch(_0x13a8a6){case Q[_0x313a14(0x204)]:{_0x3de89f=await this[_0x313a14(0x400)](_0x3d0970);break;}case Q[_0x313a14(0x1cd)]:{_0x3de89f=await this[_0x313a14(0x2c0)](_0x3d0970);break;}default:{this[_0x313a14(0x247)][_0x313a14(0x250)](_0x313a14(0x11c),_0x313a14(0x12d));break;}}return _0x3de89f;}async['_loadSheet'](_0x16b4bd){var _0x1d21ad=_0x30c97e,_0xd85456;let _0x21b572=0x0;const _0x85eb9f=await((_0xd85456=this[_0x1d21ad(0x380)])==null?void 0x0:_0xd85456['loadOfflineData'](_0x16b4bd));return _0x85eb9f&&(_0x85eb9f['awaitingChangeset']||_0x85eb9f[_0x1d21ad(0x3a0)][_0x1d21ad(0x338)]!==0x0)&&(_0x21b572=_0x85eb9f[_0x1d21ad(0x2e9)]),_0x21b572===0x0&&this[_0x1d21ad(0x247)][_0x1d21ad(0x1ef)](_0x1d21ad(0x11c),_0x1d21ad(0x170)),this[_0x1d21ad(0x296)][_0x1d21ad(0x1ca)](_0x16b4bd,_0x21b572);}async[_0x30c97e(0x2c0)](_0x2e9acc){var _0x45a11b=_0x30c97e,_0x1ac82c;let _0x25a32c=0x0;const _0x1c3d73=await((_0x1ac82c=this['_localCacheService'])==null?void 0x0:_0x1ac82c[_0x45a11b(0x3ca)](_0x2e9acc));return _0x1c3d73&&(_0x1c3d73[_0x45a11b(0x35a)]||_0x1c3d73['mutations'][_0x45a11b(0x338)]!==0x0)&&(_0x25a32c=_0x1c3d73[_0x45a11b(0x2e9)]),_0x25a32c===0x0&&this['_logService'][_0x45a11b(0x1ef)]('[DataLoaderService]',_0x45a11b(0x170)),this[_0x45a11b(0x296)]['loadDoc'](_0x2e9acc,_0x25a32c);}};bt=Qs([mt(0x0,_0xf9bcb3),mt(0x1,_0x1aab8b(_0x11acc7)),mt(0x2,_0x596184(J))],bt);var er=Object[_0x30c97e(0x1eb)],tr=(_0x3d9af6,_0x516f3b,_0x3dc94b,_0x188dd8)=>{var _0x3b1124=_0x30c97e;for(var _0x541ba3=_0x188dd8>0x1?void 0x0:_0x188dd8?er(_0x516f3b,_0x3dc94b):_0x516f3b,_0x52f29b=_0x3d9af6[_0x3b1124(0x338)]-0x1,_0x33e090;_0x52f29b>=0x0;_0x52f29b--)(_0x33e090=_0x3d9af6[_0x52f29b])&&(_0x541ba3=_0x33e090(_0x541ba3)||_0x541ba3);return _0x541ba3;},gt=(_0x2cdd4b,_0x252fee)=>(_0x3fe42d,_0x3047f7)=>_0x252fee(_0x3fe42d,_0x3047f7,_0x2cdd4b);const ir=[_0x30c97e(0x177),'image/jpeg',_0x30c97e(0x347),_0x30c97e(0x24b),_0x30c97e(0x175)],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr=_0x30c97e(0x2cf),ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or=_0x30c97e(0x182);let Ot=class{constructor(_0x233167,_0xcc3b1d,_0x422e04){var _0x2dc47f=_0x30c97e;N(this,_0x2dc47f(0x120),0x0),N(this,'_change$',new _0x52da68()),N(this,_0x2dc47f(0x270),this['_change$']),N(this,_0x2dc47f(0x361),new Map()),(this[_0x2dc47f(0x1dd)]=_0x233167,this[_0x2dc47f(0x15e)]=_0xcc3b1d,this[_0x2dc47f(0x10d)]=_0x422e04);}[_0x30c97e(0x3c4)](_0x54c3c3){var _0x2eb7fe=_0x30c97e;this[_0x2eb7fe(0x120)]=_0x54c3c3,this[_0x2eb7fe(0x1bb)][_0x2eb7fe(0x2c2)](_0x54c3c3);}['getImageSourceCache'](_0x481eec,_0x2e9441){var _0x5bae71=_0x30c97e;if(_0x2e9441===_0x29118a['BASE64']){const _0x24391e=new Image();return _0x24391e['src']=_0x481eec,_0x24391e;}return this['_imageSourceCache'][_0x5bae71(0x402)](_0x481eec);}[_0x30c97e(0x2f0)](_0x2700bb,_0x3cd02f,_0x1c6f03){var _0x400d68=_0x30c97e;_0x3cd02f===_0x29118a['BASE64']||_0x1c6f03==null||this[_0x400d68(0x361)][_0x400d68(0x3c8)](_0x2700bb,_0x1c6f03);}async['getImage'](_0x5338c6){var _0x58d476=_0x30c97e;try{const _0x51d02c=this['_replaceFileID'](this[_0x58d476(0x263)](),''+_0x5338c6),_0x4820ec=(await this[_0x58d476(0x1dd)][_0x58d476(0x402)](_0x51d02c))['body'];if(_0x4820ec[_0x58d476(0x250)]&&_0x4820ec[_0x58d476(0x250)]['code']===Si['OK']){const _0x19d027=new URL(_0x4820ec[_0x58d476(0x370)],this[_0x58d476(0x31c)]())[_0x58d476(0x15a)]();return Promise[_0x58d476(0x277)](_0x19d027);}return Promise[_0x58d476(0x30e)](_0x4820ec[_0x58d476(0x250)]);}catch(_0x4acb28){return Promise[_0x58d476(0x30e)](_0x4acb28);}}async[_0x30c97e(0x3fa)](_0xd7d5ab){var _0x2ec0cb=_0x30c97e;let _0x8a846c='';if(!ir[_0x2ec0cb(0x3bd)](_0xd7d5ab[_0x2ec0cb(0x2ae)]))return this[_0x2ec0cb(0x29d)](),Promise['reject'](new Error(_0x29e9a0[_0x2ec0cb(0x140)]));if(_0xd7d5ab[_0x2ec0cb(0x32b)]>nr)return this[_0x2ec0cb(0x29d)](),Promise['reject'](new Error(_0x29e9a0[_0x2ec0cb(0x3be)]));try{const _0x2f5ebf=new FormData();_0x2f5ebf['append'](_0x2ec0cb(0x212),_0xd7d5ab);const _0x26b11a=this[_0x2ec0cb(0x10d)][_0x2ec0cb(0x16e)](),_0x5a134e=_0x26b11a==null?void 0x0:_0x26b11a[_0x2ec0cb(0x2ed)]();if(!_0x5a134e)throw new Error(_0x2ec0cb(0x195));const _0x3b4c2d=this['_getUploadFileURL']()+_0x2ec0cb(0x15d)+_0xd7d5ab['size'][_0x2ec0cb(0x15a)]()+_0x2ec0cb(0x40a)+Ei[_0x2ec0cb(0x118)]+_0x2ec0cb(0x164)+encodeURIComponent(_0x5a134e),_0x505ae1=await(await fetch(_0x3b4c2d,{'method':_0x2ec0cb(0x3d6),'body':_0x2f5ebf}))['json']();if(typeof _0x505ae1[_0x2ec0cb(0x111)]!=_0x2ec0cb(0x276))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x29e9a0['ERROR_IMAGE']));_0x8a846c=_0x505ae1['FileId'];}catch{return this[_0x2ec0cb(0x29d)](),Promise[_0x2ec0cb(0x30e)](new Error(_0x29e9a0[_0x2ec0cb(0x33b)]));}return new Promise((_0x557a19,_0x3fba03)=>{var _0x5147e7=_0x2ec0cb;const _0x48a34d=new FileReader();_0x48a34d[_0x5147e7(0x110)](_0xd7d5ab),_0x48a34d[_0x5147e7(0x19c)]=_0x5e62e4=>{var _0x3370f8=_0x5147e7,_0x428da0;const _0x1a3a8c=(_0x428da0=_0x5e62e4[_0x3370f8(0x404)])==null?void 0x0:_0x428da0['result'];if(_0x1a3a8c==null){this[_0x3370f8(0x29d)](),_0x3fba03(new Error(_0x29e9a0[_0x3370f8(0x33b)]));return;}const _0x240812=_0x465d47[_0x3370f8(0x3ee)](0x6);_0x557a19({'imageId':_0x240812,'imageSourceType':_0x29118a[_0x3370f8(0x2b2)],'source':_0x8a846c,'base64Cache':_0x1a3a8c,'status':_0x29e9a0[_0x3370f8(0x1bf)]}),this[_0x3370f8(0x29d)]();};});}[_0x30c97e(0x1c8)](){var _0x5d50d7=_0x30c97e,_0x49f103,_0x573d9b;const _0x3be6c5=this[_0x5d50d7(0x15e)]['getConfig'](sr),_0x4df7e=this['_configService'][_0x5d50d7(0x230)](q);return(_0x573d9b=(_0x49f103=_0x4df7e==null?void 0x0:_0x4df7e[_0x5d50d7(0x2f4)])!=null?_0x49f103:_0x3be6c5)!=null?_0x573d9b:rr;}[_0x30c97e(0x263)](){var _0x29c3b4=_0x30c97e,_0x1ff076,_0x2fb2c6;const _0x2176ce=this['_configService'][_0x29c3b4(0x230)](ar),_0x2a49f2=this[_0x29c3b4(0x15e)][_0x29c3b4(0x230)](q);return(_0x2fb2c6=(_0x1ff076=_0x2a49f2==null?void 0x0:_0x2a49f2[_0x29c3b4(0x3d8)])!=null?_0x1ff076:_0x2176ce)!=null?_0x2fb2c6:or;}['_getDownloadEndpointURL'](){var _0x309f2b=_0x30c97e,_0x58f647;const _0x21b59a=this['_configService'][_0x309f2b(0x230)](q);return(_0x58f647=_0x21b59a==null?void 0x0:_0x21b59a[_0x309f2b(0x37d)])!=null?_0x58f647:location['origin'];}[_0x30c97e(0x274)](_0xf8e11e,_0x27d2e0){var _0x3c1bb3=_0x30c97e;return _0xf8e11e['replace'](_0x3c1bb3(0x3af),_0x27d2e0);}[_0x30c97e(0x29d)](){var _0x294b61=_0x30c97e;this[_0x294b61(0x120)]-=0x1,this['_change$']['next'](this[_0x294b61(0x120)]);}};Ot=tr([gt(0x0,_0x1aab8b(_0x43eb18)),gt(0x1,_0x322b89),gt(0x2,_0x1aab8b(_0x31aedc))],Ot);var cr=Object[_0x30c97e(0x1eb)],hr=(_0x1878d1,_0x12848a,_0x445f34,_0x7908ed)=>{var _0x35e829=_0x30c97e;for(var _0x572f58=_0x7908ed>0x1?void 0x0:_0x7908ed?cr(_0x12848a,_0x445f34):_0x12848a,_0x5977c4=_0x1878d1[_0x35e829(0x338)]-0x1,_0x24f3c1;_0x5977c4>=0x0;_0x5977c4--)(_0x24f3c1=_0x1878d1[_0x5977c4])&&(_0x572f58=_0x24f3c1(_0x572f58)||_0x572f58);return _0x572f58;},hi=(_0x4557e1,_0x162499)=>(_0x4aab49,_0xf87a64)=>_0x162499(_0x4aab49,_0xf87a64,_0x4557e1);const _r=_0x30c97e(0x3a9);let yt=class{constructor(_0x8f4b88,_0x210eda){this['_configService']=_0x8f4b88,this['_HTTPService']=_0x210eda;}[_0x30c97e(0x24e)](){var _0x47d73f=_0x30c97e,_0x144296,_0x5ae59c;const _0x31edff=this[_0x47d73f(0x15e)][_0x47d73f(0x230)](Ni),_0x32a92f=this[_0x47d73f(0x15e)][_0x47d73f(0x230)](q);return(_0x5ae59c=(_0x144296=_0x32a92f==null?void 0x0:_0x32a92f[_0x47d73f(0x2d1)])!=null?_0x144296:_0x31edff)!=null?_0x5ae59c:_r;}async[_0x30c97e(0x135)](_0x70b964){var _0x393bf7=_0x30c97e;const _0x33236a=this['_getAPIPrefixPath']()+_0x393bf7(0x223);return{'list':[{'title':_0x393bf7(0x119),'mentions':(await this[_0x393bf7(0x28e)][_0x393bf7(0x402)](_0x33236a,{'params':{'objectID':_0x70b964[_0x393bf7(0x3f5)],'unitID':_0x70b964[_0x393bf7(0x3f5)]}}))[_0x393bf7(0x215)][_0x393bf7(0x24f)][_0x393bf7(0x359)](_0x196a92=>({'objectId':_0x196a92['id'],'name':_0x196a92[_0x393bf7(0x3ff)][_0x393bf7(0x2bb)],'metadata':{'icon':_0x196a92[_0x393bf7(0x3ff)][_0x393bf7(0x3e5)]},'label':_0x196a92[_0x393bf7(0x3ff)][_0x393bf7(0x2bb)],'objectType':_0x2f59a8['PERSON']})),'metadata':{},'type':_0x2f59a8[_0x393bf7(0x130)]}]};}};yt=hr([hi(0x0,_0x1aab8b(_0x322b89)),hi(0x1,_0x1aab8b(_0x43eb18))],yt);var lr=Object[_0x30c97e(0x1eb)],ur=(_0x290a29,_0x470d9e,_0x1cadec,_0x5b1d3a)=>{var _0x3d3a29=_0x30c97e;for(var _0x26c16b=_0x5b1d3a>0x1?void 0x0:_0x5b1d3a?lr(_0x470d9e,_0x1cadec):_0x470d9e,_0x5d4647=_0x290a29[_0x3d3a29(0x338)]-0x1,_0x9e9538;_0x5d4647>=0x0;_0x5d4647--)(_0x9e9538=_0x290a29[_0x5d4647])&&(_0x26c16b=_0x9e9538(_0x26c16b)||_0x26c16b);return _0x26c16b;},we=(_0x329d18,_0x4540e8)=>(_0xf95c72,_0x5cfa34)=>_0x4540e8(_0xf95c72,_0x5cfa34,_0x329d18);let ot=class extends _0x34ea91{constructor(_0x488fe1,_0x787572,_0x1ca9f7,_0x25c16e,_0x52a4f0){var _0x359f2d=_0x30c97e;super(),this[_0x359f2d(0x246)]=_0x488fe1,this[_0x359f2d(0x10d)]=_0x787572,this[_0x359f2d(0x3c7)]=_0x1ca9f7,this[_0x359f2d(0x29e)]=_0x25c16e,this[_0x359f2d(0x125)]=_0x52a4f0,this[_0x359f2d(0x11f)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x44a277=_0x30c97e;const _0x3eff85=async _0x38c9c2=>{var _0x40034f=_0x5b64;(await this['_collaborationSessionService'][_0x40034f(0x317)](_0x38c9c2))[_0x40034f(0x376)][_0x40034f(0x2a4)](_0x1d479f(_0x285065=>_0x285065[_0x40034f(0x29f)]===_0x4b61f7['SHOULD_CLOSE_CONN']),_0x3df66c(this[_0x40034f(0x363)]))[_0x40034f(0x3c0)](_0x9951ab=>{var _0x5f4a12=_0x40034f;const _0x5f32c=_0x9951ab,{reason:_0x179c72}=_0x5f32c[_0x5f4a12(0x3c2)];this[_0x5f4a12(0x125)][_0x5f4a12(0x3cd)]({'id':re['CLOSE_ROOM'],'data':_0x179c72}),this[_0x5f4a12(0x3c7)][_0x5f4a12(0x3b9)](new _0x263feb(_0x38c9c2)['id'],!0x1),this[_0x5f4a12(0x29e)][_0x5f4a12(0x3e3)](_0x38c9c2);});};_0x4bebd7(this[_0x44a277(0x10d)]['getTypeOfUnitAdded$'](_0x4f9465[_0x44a277(0x204)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4f9465['UNIVER_DOC']))[_0x44a277(0x2a4)](_0x122f91(_0x5b0f41=>_0x5b0f41[_0x44a277(0x2ed)]()),_0x1d479f(_0x3050a7=>!_0x1ed416(_0x3050a7)),_0x3df66c(this[_0x44a277(0x363)]))[_0x44a277(0x3c0)](_0x189244=>{_0x3eff85(_0x189244);});}[_0x30c97e(0x11f)](){var _0x3c9963=_0x30c97e;const _0xc114bf=async _0x35428f=>{var _0x5dc4ff=_0x5b64;const _0x5b1607=await this['_collaborationSessionService']['requireSession'](_0x35428f),_0x496b36=this['_injector'][_0x5dc4ff(0x402)](_0x2d541d);_0x5b1607[_0x5dc4ff(0x376)]['pipe'](_0x1d479f(_0x14c160=>_0x14c160[_0x5dc4ff(0x29f)]===_0x4b61f7[_0x5dc4ff(0x34d)]),_0x3df66c(this[_0x5dc4ff(0x363)]))[_0x5dc4ff(0x3c0)](_0x414d77=>{var _0x525bca=_0x5dc4ff;const _0x2f2585=_0x414d77,{objectId:_0x48b9df}=_0x2f2585[_0x525bca(0x3c2)];_0x48b9df===_0x35428f?_0x496b36['initWorkbookPermissionChange'](_0x35428f):_0x496b36[_0x525bca(0x239)](_0x35428f,_0x48b9df);});};_0x4bebd7(this[_0x3c9963(0x10d)]['getTypeOfUnitAdded$'](_0x4f9465[_0x3c9963(0x204)]))[_0x3c9963(0x2a4)](_0x122f91(_0x1d967e=>_0x1d967e[_0x3c9963(0x2ed)]()),_0x1d479f(_0xbaf487=>!_0x1ed416(_0xbaf487)),_0x3df66c(this[_0x3c9963(0x363)]))[_0x3c9963(0x3c0)](_0x1e79e3=>{_0xc114bf(_0x1e79e3);});}};ot=ur([we(0x0,_0x1aab8b(_0x51f454)),we(0x1,_0x31aedc),we(0x2,_0x233307),we(0x3,_0x1aab8b(xe)),we(0x4,_0x1aab8b(pe))],ot);var dr=Object[_0x30c97e(0x1eb)],fr=(_0x524437,_0x2eec3b,_0x1a0b42,_0x566a3f)=>{var _0x46687c=_0x30c97e;for(var _0x388ae3=_0x566a3f>0x1?void 0x0:_0x566a3f?dr(_0x2eec3b,_0x1a0b42):_0x2eec3b,_0x2bd5e7=_0x524437[_0x46687c(0x338)]-0x1,_0x5b6b35;_0x2bd5e7>=0x0;_0x2bd5e7--)(_0x5b6b35=_0x524437[_0x2bd5e7])&&(_0x388ae3=_0x5b6b35(_0x388ae3)||_0x388ae3);return _0x388ae3;},_i=(_0x34f28b,_0x486d4f)=>(_0x3649f0,_0x25434b)=>_0x486d4f(_0x3649f0,_0x25434b,_0x34f28b);let Nt=class{constructor(_0x3dd828,_0x1aef82){var _0x253bc7=_0x30c97e;this[_0x253bc7(0x15e)]=_0x3dd828,this[_0x253bc7(0x1dd)]=_0x1aef82;}async[_0x30c97e(0x17a)](_0x2f22cd,_0x3031a9){var _0x200f6f=_0x30c97e,_0xe51449;const {unitID:_0x61efbf,type:_0x3bbdd0,revision:_0x3ac472=0x0}=_0x3031a9,_0x593a21=this[_0x200f6f(0x244)]()+'/'+_0x3bbdd0+_0x200f6f(0x157)+_0x61efbf+_0x200f6f(0x240)+_0x3ac472,_0x129dd3=(await this[_0x200f6f(0x1dd)]['get'](_0x593a21))[_0x200f6f(0x215)],_0x27e979=(_0xe51449=_0x129dd3[_0x200f6f(0x38a)])==null?void 0x0:_0xe51449[_0x200f6f(0x113)];if(_0x27e979){const _0x11ddf3=_0x27e979==null?void 0x0:_0x27e979[_0x200f6f(0x23a)],_0x8467bd=_0x43a3ad[_0x200f6f(0x3d2)](_0x5f393a(_0x11ddf3));_0x27e979['originalMeta']=_0x8467bd,Object[_0x200f6f(0x1f1)](_0x27e979[_0x200f6f(0x1c3)])[_0x200f6f(0x3b3)](([,_0x558c4b])=>{var _0x3ed4f0=_0x200f6f;const _0x4d0e3d=_0x558c4b[_0x3ed4f0(0x23a)],_0x549d20=_0x43a3ad[_0x3ed4f0(0x3d2)](_0x5f393a(_0x4d0e3d));_0x558c4b[_0x3ed4f0(0x23a)]=_0x549d20;});}return _0x129dd3;}async[_0x30c97e(0x1d4)](_0x44b1f5,_0x4c8957){var _0x2df609=_0x30c97e;const {unitID:_0x1a0cca,type:_0x501af3,blockID:_0x1bad71}=_0x4c8957,_0x4c3fd8=this[_0x2df609(0x1d6)]()+'/'+_0x501af3+_0x2df609(0x157)+_0x1a0cca+_0x2df609(0x22b)+_0x1bad71;return(await this[_0x2df609(0x1dd)][_0x2df609(0x402)](_0x4c3fd8))[_0x2df609(0x215)];}async[_0x30c97e(0x217)](_0x17c541,_0x13f789){var _0x805f0c=_0x30c97e;const {unitID:_0x496c32,type:_0x15f70b,blockID:_0x3e9a18}=_0x13f789,_0x331d4b=this[_0x805f0c(0x1d6)]()+_0x805f0c(0x22b)+_0x15f70b+_0x805f0c(0x157)+_0x496c32+_0x805f0c(0x22b)+_0x3e9a18;return(await this[_0x805f0c(0x1dd)][_0x805f0c(0x402)](_0x331d4b))[_0x805f0c(0x215)];}async['fetchMissingChangesets'](_0x32b8ff,_0x3d3fe3){var _0x52f016=_0x30c97e;const {unitID:_0xa78d4c,type:_0x4c0831,from:_0xd84dfe,to:_0x407753}=_0x3d3fe3,_0x36b607=this[_0x52f016(0x1d6)]()+'/'+_0x4c0831+_0x52f016(0x157)+_0xa78d4c+'/fetchmissing?from='+_0xd84dfe+_0x52f016(0x23c)+_0x407753;return(await this[_0x52f016(0x1dd)][_0x52f016(0x402)](_0x36b607))[_0x52f016(0x215)];}[_0x30c97e(0x244)](){var _0x229595=_0x30c97e,_0x362c08;return(_0x362c08=this[_0x229595(0x15e)][_0x229595(0x230)](Sn))!=null?_0x362c08:this[_0x229595(0x1d6)]();}[_0x30c97e(0x1d6)](){var _0x355406=_0x30c97e,_0x3e0e3b,_0x10e8ca;const _0x584640=this['_configService'][_0x355406(0x230)](mn),_0x1b3b07=this[_0x355406(0x15e)][_0x355406(0x230)](q);return(_0x10e8ca=(_0x3e0e3b=_0x1b3b07==null?void 0x0:_0x1b3b07['snapshotServerUrl'])!=null?_0x3e0e3b:_0x584640)!=null?_0x10e8ca:gn;}async[_0x30c97e(0x3f6)](_0x2382d5,_0x15cb2f){var _0x698a34=_0x30c97e;const _0x1550cd=_0x698a34(0x282)+_0x15cb2f['type']+_0x698a34(0x157)+_0x15cb2f[_0x698a34(0x1c9)]+_0x698a34(0x22a);return(await this['_httpService'][_0x698a34(0x402)](_0x1550cd,{'params':{'resourceId':JSON[_0x698a34(0x21f)](_0x15cb2f[_0x698a34(0x194)])}}))[_0x698a34(0x215)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x30c97e(0x3e2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x30c97e(0x40d)](){var _0x32e860=_0x30c97e;throw new Error(_0x32e860(0x37b));}[_0x30c97e(0x39a)](){var _0x4a6dfd=_0x30c97e;throw new Error(_0x4a6dfd(0x37b));}[_0x30c97e(0x2e0)](){var _0xf8bb5b=_0x30c97e;throw new Error(_0xf8bb5b(0x37b));}};Nt=fr([_i(0x0,_0x322b89),_i(0x1,_0x1aab8b(_0x43eb18))],Nt);var vr=Object[_0x30c97e(0x1eb)],pr=(_0x9ea048,_0x317d6b,_0x2d7e99,_0x3c8657)=>{for(var _0x55d53e=_0x3c8657>0x1?void 0x0:_0x3c8657?vr(_0x317d6b,_0x2d7e99):_0x317d6b,_0xf4bf96=_0x9ea048['length']-0x1,_0x37fd23;_0xf4bf96>=0x0;_0xf4bf96--)(_0x37fd23=_0x9ea048[_0xf4bf96])&&(_0x55d53e=_0x37fd23(_0x55d53e)||_0x55d53e);return _0x55d53e;},Pe=(_0x567682,_0x1bbe13)=>(_0x25a7e0,_0x5b7ccb)=>_0x1bbe13(_0x25a7e0,_0x5b7ccb,_0x567682);let Dt=class extends _0x5d49bd{constructor(_0x456b74,_0x219f0c,_0x22dc44,_0x1bc97d,_0x2cddcb){var _0x18cb6c=_0x30c97e;super(_0x456b74,_0x219f0c,_0x22dc44),this[_0x18cb6c(0x216)]=_0x1bc97d,this[_0x18cb6c(0x247)]=_0x2cddcb;}[_0x30c97e(0x136)](_0x462811,_0x1fbba4){var _0x1a428e=_0x30c97e;const _0x12dafd=this[_0x1a428e(0x123)](_0x462811);if(_0x12dafd)try{const _0x1206c6=this[_0x1a428e(0x2db)](_0x12dafd,_0x1fbba4);this[_0x1a428e(0x219)](_0x462811,_0x1206c6);}catch(_0x3cf418){this['_logService'][_0x1a428e(0x250)]('[CollaborationUndoRedoService]',_0x3cf418),this[_0x1a428e(0x1a7)](_0x462811);}const _0x390b85=this[_0x1a428e(0x187)](_0x462811);if(_0x390b85)try{const _0x2ec915=this['_transformStack'](_0x390b85,_0x1fbba4);this[_0x1a428e(0x299)](_0x462811,_0x2ec915);}catch(_0x59d573){this['_logService']['error'](_0x59d573),this[_0x1a428e(0x1d1)](_0x462811);}}['_clearUndo'](_0x19cbb6){var _0x4d186d=_0x30c97e;const _0x347ae7=this['_getUndoStack'](_0x19cbb6);_0x347ae7&&(_0x347ae7[_0x4d186d(0x338)]=0x0,this[_0x4d186d(0x33e)]());}['_clearRedo'](_0x5391d5){var _0x3b75a5=_0x30c97e;const _0x1b00b6=this[_0x3b75a5(0x187)](_0x5391d5);_0x1b00b6&&(_0x1b00b6['length']=0x0,this['_updateStatus']());}[_0x30c97e(0x219)](_0x59928b,_0x41c566){var _0x349749=_0x30c97e;this['_undoStacks']['set'](_0x59928b,_0x41c566),this[_0x349749(0x33e)]();}[_0x30c97e(0x299)](_0x161ea4,_0x16e18f){var _0x3c5874=_0x30c97e;this[_0x3c5874(0x36e)]['set'](_0x161ea4,_0x16e18f),this[_0x3c5874(0x33e)]();}['_transformStack'](_0x1c47a1,_0x14e133){var _0x4fa0b7=_0x30c97e;const _0x3a5e31=[];let _0x139e5f=_0x14e133,_0x4179d4=_0x14e133;for(let _0x1068bf=_0x1c47a1[_0x4fa0b7(0x338)]-0x1;_0x1068bf>=0x0;_0x1068bf--){const {unitID:_0x2fa491,undoMutations:_0x13429b,redoMutations:_0x24124e}=_0x1c47a1[_0x1068bf],_0x335082=this[_0x4fa0b7(0x216)][_0x4fa0b7(0x3fd)](_0x139e5f,_0x13429b),_0x9ad0c3=this['_transformService'][_0x4fa0b7(0x3fd)](_0x4179d4,_0x24124e);if(_0x113704(_0x335082)||_0x113704(_0x9ad0c3)){this[_0x4fa0b7(0x247)]['error'](_0x4fa0b7(0x304),_0x4fa0b7(0x398),_0x335082,_0x9ad0c3);break;}_0x139e5f=_0x335082[_0x4fa0b7(0x211)],_0x4179d4=_0x9ad0c3[_0x4fa0b7(0x211)],_0x3a5e31[_0x4fa0b7(0x403)]({'unitID':_0x2fa491,'undoMutations':_0x335082[_0x4fa0b7(0x26e)],'redoMutations':_0x9ad0c3[_0x4fa0b7(0x26e)]});}return _0x3a5e31[_0x4fa0b7(0x1d0)]();}};Dt=pr([Pe(0x0,_0x31aedc),Pe(0x1,_0xb43912),Pe(0x2,_0x2189ff),Pe(0x3,_0x19d1d9),Pe(0x4,_0xf9bcb3)],Dt);var mr=Object[_0x30c97e(0x162)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x5865dc,_0x3d5932,_0x414a94)=>_0x3d5932 in _0x5865dc?mr(_0x5865dc,_0x3d5932,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x414a94}):_0x5865dc[_0x3d5932]=_0x414a94,Er=(_0x11d284,_0xdbbbdc,_0x597dd5,_0x13c055)=>{var _0x562f91=_0x30c97e;for(var _0x344080=_0x13c055>0x1?void 0x0:_0x13c055?gr(_0xdbbbdc,_0x597dd5):_0xdbbbdc,_0x512631=_0x11d284[_0x562f91(0x338)]-0x1,_0x38e63d;_0x512631>=0x0;_0x512631--)(_0x38e63d=_0x11d284[_0x512631])&&(_0x344080=_0x38e63d(_0x344080)||_0x344080);return _0x344080;},St=(_0x2c5e64,_0x518bf7)=>(_0x5d6ea7,_0x5148e6)=>_0x518bf7(_0x5d6ea7,_0x5148e6,_0x2c5e64),Ir=(_0x2b56af,_0x5b8751,_0x24dff4)=>Sr(_0x2b56af,_0x5b8751+'',_0x24dff4);const Tr=_0x30c97e(0x3e9);let Ut=class extends _0x4aa6c9{constructor(_0x2bdf77,_0x1707a3,_0x3f00cf,_0x547317){var _0x527656=_0x30c97e;super(),N(this,_0x527656(0x1e1)),(this[_0x527656(0x247)]=_0x1707a3,this['_injector']=_0x3f00cf,this['_configService']=_0x547317);const {..._0xe001ef}=_0x216ac4({},wn,_0x2bdf77);if(!_0xe001ef[_0x527656(0x323)])throw new Error(_0x527656(0x266));this[_0x527656(0x1e1)]=_0xe001ef,this[_0x527656(0x15e)][_0x527656(0x3bb)](q,_0xe001ef);}[_0x30c97e(0x190)](){var _0x30b9b4=_0x30c97e;this[_0x30b9b4(0x271)](),this[_0x30b9b4(0x248)]();}[_0x30c97e(0x271)](){var _0xad7ad4=_0x30c97e,_0x527f96,_0x36fd75;this[_0xad7ad4(0x246)][_0xad7ad4(0x378)](_0x3e575f)&&this[_0xad7ad4(0x247)][_0xad7ad4(0x250)](_0xad7ad4(0x147),_0xad7ad4(0x2b8));const _0x509433=_0x2aa5b6([[_0x3e575f,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0xad7ad4(0x1e1)][_0xad7ad4(0x323)]}],[_0x2ad851,{'useClass':Nt}],[_0x184fd2,{'useClass':Rt}],[_0xd1c0a0,{'useClass':Ot}],[_0x11b9c7,{'useClass':yt}],[st],[Ct]],(_0x527f96=this[_0xad7ad4(0x1e1)])==null?void 0x0:_0x527f96[_0xad7ad4(0x383)]);if(!((_0x36fd75=this[_0xad7ad4(0x1e1)])!=null&&_0x36fd75['enableSingleActiveInstanceLock'])){const _0x3a272f=_0x509433['findIndex'](([_0xc6f1f0])=>_0xc6f1f0===ht);_0x3a272f!==-0x1&&_0x509433[_0xad7ad4(0x1f7)](_0x3a272f,0x1);}_0x2a2947(this[_0xad7ad4(0x246)],_0x509433);}[_0x30c97e(0x248)](){var _0x23c987=_0x30c97e,_0x1ace09,_0x219f28,_0x3a5998;this[_0x23c987(0x246)][_0x23c987(0x402)](_0x43eb18)[_0x23c987(0x395)]({'priority':0x14,'interceptor':_0x54b362({'maxParallel':0x6})}),(_0x1ace09=this['_config'])!=null&&_0x1ace09[_0x23c987(0x2e6)]||(_0x219f28=this[_0x23c987(0x246)][_0x23c987(0x402)](J,_0x430d08[_0x23c987(0x228)]))==null||_0x219f28[_0x23c987(0x27c)](),(_0x3a5998=this['_config'])!=null&&_0x3a5998['enableAuthServer']&&_0x48c939(this[_0x23c987(0x246)],[[rt]]),_0x48c939(this[_0x23c987(0x246)],[[at],[st],[ot]]);}};function _0x5b64(_0x21a3f7,_0x1d3497){var _0x43fe86=_0x43fe();return _0x5b64=function(_0x5b64ac,_0x2c48dd){_0x5b64ac=_0x5b64ac-0x10b;var _0x1bae51=_0x43fe86[_0x5b64ac];return _0x1bae51;},_0x5b64(_0x21a3f7,_0x1d3497);}Ir(Ut,_0x30c97e(0x345),Tr),Ut=Er([_0x409131(_0x1c91a9,_0x2cdfed),St(0x1,_0xf9bcb3),St(0x2,_0x1aab8b(_0x51f454)),St(0x3,_0x322b89)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};