@univerjs-pro/collaboration-client 0.8.0-nightly.202505281606 → 0.8.0-nightly.202505291607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x1cf15a=_0x59f7;(function(_0x12b212,_0x165f9a){var _0x3d3417=_0x59f7,_0x481ffe=_0x12b212();while(!![]){try{var _0x3198d4=-parseInt(_0x3d3417(0x3d6))/0x1*(parseInt(_0x3d3417(0x14e))/0x2)+parseInt(_0x3d3417(0x34e))/0x3*(parseInt(_0x3d3417(0x34d))/0x4)+parseInt(_0x3d3417(0x332))/0x5+parseInt(_0x3d3417(0x380))/0x6*(parseInt(_0x3d3417(0x2eb))/0x7)+-parseInt(_0x3d3417(0x297))/0x8*(-parseInt(_0x3d3417(0x320))/0x9)+-parseInt(_0x3d3417(0x2c6))/0xa*(-parseInt(_0x3d3417(0x16c))/0xb)+-parseInt(_0x3d3417(0x25f))/0xc;if(_0x3198d4===_0x165f9a)break;else _0x481ffe['push'](_0x481ffe['shift']());}catch(_0x480f83){_0x481ffe['push'](_0x481ffe['shift']());}}}(_0x3299,0x99d7e));var Di=Object[_0x1cf15a(0x3f8)],Ui=(_0x62f1eb,_0x9948d7,_0x3de306)=>_0x9948d7 in _0x62f1eb?Di(_0x62f1eb,_0x9948d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3de306}):_0x62f1eb[_0x9948d7]=_0x3de306,N=(_0x36c54a,_0x81b8d6,_0x83d1d8)=>Ui(_0x36c54a,typeof _0x81b8d6!=_0x1cf15a(0x344)?_0x81b8d6+'':_0x81b8d6,_0x83d1d8);import{createIdentifier as _0x5e399a,Inject as _0x4395c3,Injector as _0xac3c15,IConfigService as _0x149db4,ILogService as _0x1ffba8,Disposable as _0x4c47e9,DisposableCollection as _0x1165e4,toDisposable as _0x40427e,IUniverInstanceService as _0x125d03,UserManagerService as _0x1209a8,UniverInstanceType as _0x1dfda5,LocaleService as _0x58db33,Optional as _0x3ede3c,RxDisposable as _0x18f2f0,Tools as _0x43b5c0,Rectangle as _0x378739,ICommandService as _0x751d12,JSONX as _0x166e50,CommandType as _0x1b7bc7,IUndoRedoService as _0x1ed94f,IPermissionService as _0x4b2793,sequenceExecute as _0x4e92f0,Workbook as _0x37b7a4,MentionType as _0x4e719d,isInternalEditorID as _0x1be6f8,LocalUndoRedoService as _0x50e5c7,IContextService as _0x450583,DependentOn as _0x2f84f5,Plugin as _0x5ebafa,merge as _0x270510,mergeOverrideWithDependencies as _0x1e1085,IAuthzIoService as _0x378d3e,IMentionIOService as _0x36d935,registerDependencies as _0x42f2c7,Quantity as _0x334508,touchDependencies as _0x26668f}from'@univerjs/core';import{Subject as _0x2f0731,merge as _0xf55bf,of as _0x1aced1,BehaviorSubject as _0x16d07d,takeUntil as _0x110672,ReplaySubject as _0x3d8e59,take as _0x47a6dd,map as _0x1e88a7,shareReplay as _0xbd9f34,firstValueFrom as _0x56179c,concatMap as _0x458142}from'rxjs';import{map as _0x1baf73,take as _0x59231f,filter as _0x46e42e,delay as _0x3c2d30,takeUntil as _0x3ae062}from'rxjs/operators';import{CollaborationEvent as _0x29bafd,ISnapshotServerService as _0x38de54,parseChangesetToProtocol as _0x433f55,ITransformService as _0x3226d7,isTransformMutationsWithChangesetSuccess as _0x4923e4,mapDocumentTypeToUniverType as _0x7cb32e,RevisionService as _0x471d83,isTransformChangesetsSuccess as _0x40451d,CompressMutationService as _0x10c1b2,parseProtocolChangeset as _0x6a586,uuidv4 as _0x5a0cbf,SnapshotService as _0x5e4500,textEncoder as _0x53d43c,b64DecodeUnicode as _0x55eb2a,isTransformMutationsWithChangesetFailure as _0x5f28cd,UniverCollaborationPlugin as _0x2a7d00}from'@univerjs-pro/collaboration';import{HTTPService as _0x3099c1,ISocketService as _0x93a07b,MergeInterceptorFactory as _0x437f45,HTTPRequest as _0x175622,UniverNetworkPlugin as _0x3b2df8,ThresholdInterceptorFactory as _0x28334d}from'@univerjs/network';import{ITelemetryService as _0x1c3a1b}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x9099a8}from'@univerjs/docs';import{SheetsSelectionsService as _0x11e3f7,SetSelectionsOperation as _0x248468,InsertSheetMutation as _0x5016c6,EmptyMutation as _0x5da75f,WorkbookEditablePermission as _0x56b723,SheetPermissionInitController as _0x23aad7}from'@univerjs/sheets';import{ImageSourceType as _0x32420f,ImageUploadStatusType as _0x36b5c1,IImageIoService as _0x4dfa58}from'@univerjs/drawing';import{getGlobalObject as _0x1f17fb}from'@univerjs-pro/license';const fs=_0x1cf15a(0x18e),vs=_0x1cf15a(0x358),ps='SNAPSHOT_URL_KEY',yr=_0x1cf15a(0x18d),ms=0x7d0,gs=_0x1cf15a(0x373),Ss=_0x1cf15a(0x179),Nr=_0x1cf15a(0x338),Es='HEARTBEAT_INTERVAL',Is=0x7530,fi=_0x1cf15a(0x225),vi=0x4e20,Ts=0x4e20,Cs=_0x1cf15a(0x1c7),Rs=0x3,Dr=_0x1cf15a(0x368),Ur=0x3e8,bs=_0x1cf15a(0x145),Os=_0x1cf15a(0x178),ys='LOGIN_URL_KEY',Ns='/universer-api/oidc/authpage',Ar='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',wr=_0x1cf15a(0x18f);var pi=(_0x5f3ef0=>(_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x343)]=0x0]='UNDEFINED',_0x5f3ef0[_0x5f3ef0['OK']=0x1]='OK',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x3c0)]=0x2]=_0x1cf15a(0x3c0),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x383)]=0x3]=_0x1cf15a(0x383),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x424)]=0x4]=_0x1cf15a(0x424),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x1b6)]=0x5]=_0x1cf15a(0x1b6),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x24b)]=0x6]='ALREADY_EXISTS',_0x5f3ef0[_0x5f3ef0['INVALID_ARGUMENT']=0x7]=_0x1cf15a(0x39b),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x1e1)]=0x8]=_0x1cf15a(0x1e1),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x174)]=0x9]=_0x1cf15a(0x174),_0x5f3ef0[_0x5f3ef0['LOGIN_FAILED']=0xa]=_0x1cf15a(0x31d),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x43f)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x323)]=0x1771]=_0x1cf15a(0x323),_0x5f3ef0[_0x5f3ef0['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1cf15a(0x226),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x35c)]=0x1773]=_0x1cf15a(0x35c),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x29d)]=0x1b59]=_0x1cf15a(0x29d),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x2b7)]=0x1b5a]=_0x1cf15a(0x2b7),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x293)]=0x1b5b]=_0x1cf15a(0x293),_0x5f3ef0[_0x5f3ef0['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x437)]=0x1b5d]='APPLY_DUPLICATED',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x1cb)]=0x1f41]=_0x1cf15a(0x1cb),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x428)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x149)]=0x232a]=_0x1cf15a(0x149),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x33a)]=0x232b]=_0x1cf15a(0x33a),_0x5f3ef0[_0x5f3ef0['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x2da)]=0x232d]=_0x1cf15a(0x2da),_0x5f3ef0[_0x5f3ef0['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1cf15a(0x23d),_0x5f3ef0[_0x5f3ef0['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x30c)]=0x2713]=_0x1cf15a(0x30c),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x2bb)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x2a7)]=0x271a]=_0x1cf15a(0x2a7),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x2ce)]=0x271b]=_0x1cf15a(0x2ce),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x440)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5f3ef0[_0x5f3ef0['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5f3ef0[_0x5f3ef0['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1cf15a(0x194),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x3ac)]=0x271f]=_0x1cf15a(0x3ac),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x23f)]=0x2af9]=_0x1cf15a(0x23f),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x32e)]=0x2ee1]=_0x1cf15a(0x32e),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x257)]=0x2ee2]=_0x1cf15a(0x257),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x268)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x1a6)]=0x2ee4]=_0x1cf15a(0x1a6),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x1ec)]=0x2ee5]=_0x1cf15a(0x1ec),_0x5f3ef0[_0x5f3ef0['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1cf15a(0x3f5),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x37d)]=0x32ca]=_0x1cf15a(0x37d),_0x5f3ef0[_0x5f3ef0['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1cf15a(0x199),_0x5f3ef0[_0x5f3ef0['UNRECOGNIZED']=-0x1]=_0x1cf15a(0x3d3),_0x5f3ef0))(pi||{}),Z=(_0x3122fb=>(_0x3122fb[_0x3122fb[_0x1cf15a(0x442)]=0x0]='UNIVER_UNKNOWN',_0x3122fb[_0x3122fb[_0x1cf15a(0x22a)]=0x1]=_0x1cf15a(0x22a),_0x3122fb[_0x3122fb[_0x1cf15a(0x355)]=0x2]=_0x1cf15a(0x355),_0x3122fb[_0x3122fb[_0x1cf15a(0x3fa)]=0x3]='UNIVER_SLIDE',_0x3122fb[_0x3122fb[_0x1cf15a(0x1b8)]=0x4]='UNIVER_PROJECT',_0x3122fb[_0x3122fb[_0x1cf15a(0x3d3)]=-0x1]=_0x1cf15a(0x3d3),_0x3122fb))(Z||{}),F=(_0x21b100=>(_0x21b100[_0x21b100['UNKNOWN_CMD']=0x0]=_0x1cf15a(0x39f),_0x21b100[_0x21b100[_0x1cf15a(0x231)]=0x1]='HELLO',_0x21b100[_0x21b100[_0x1cf15a(0x2d4)]=0x2]=_0x1cf15a(0x2d4),_0x21b100[_0x21b100[_0x1cf15a(0x362)]=0x3]=_0x1cf15a(0x362),_0x21b100[_0x21b100[_0x1cf15a(0x1c3)]=0x4]='INGEST',_0x21b100[_0x21b100[_0x1cf15a(0x3fd)]=0x5]=_0x1cf15a(0x3fd),_0x21b100[_0x21b100[_0x1cf15a(0x40e)]=0x6]=_0x1cf15a(0x40e),_0x21b100[_0x21b100[_0x1cf15a(0x3d3)]=-0x1]=_0x1cf15a(0x3d3),_0x21b100))(F||{}),me=(_0x4037f0=>(_0x4037f0[_0x4037f0[_0x1cf15a(0x1dc)]=0x0]=_0x1cf15a(0x1dc),_0x4037f0[_0x4037f0['OK']=0x1]='OK',_0x4037f0[_0x4037f0[_0x1cf15a(0x3e9)]=0x2]=_0x1cf15a(0x3e9),_0x4037f0[_0x4037f0[_0x1cf15a(0x2b8)]=0x3e9]=_0x1cf15a(0x2b8),_0x4037f0[_0x4037f0[_0x1cf15a(0x43c)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x4037f0[_0x4037f0[_0x1cf15a(0x28d)]=0x3eb]=_0x1cf15a(0x28d),_0x4037f0[_0x4037f0[_0x1cf15a(0x21d)]=0x3ec]=_0x1cf15a(0x21d),_0x4037f0[_0x4037f0['UNRECOGNIZED']=-0x1]=_0x1cf15a(0x3d3),_0x4037f0))(me||{}),mi=(_0x53cee5=>(_0x53cee5[_0x53cee5[_0x1cf15a(0x28c)]=0x0]=_0x1cf15a(0x28c),_0x53cee5[_0x53cee5[_0x1cf15a(0x189)]=0x1]=_0x1cf15a(0x189),_0x53cee5[_0x53cee5['HttpExport']=0x2]=_0x1cf15a(0x284),_0x53cee5[_0x53cee5[_0x1cf15a(0x410)]=0x3]=_0x1cf15a(0x410),_0x53cee5[_0x53cee5[_0x1cf15a(0x426)]=0x4]=_0x1cf15a(0x426),_0x53cee5[_0x53cee5[_0x1cf15a(0x2a0)]=0x5]=_0x1cf15a(0x2a0),_0x53cee5[_0x53cee5[_0x1cf15a(0x3d3)]=-0x1]=_0x1cf15a(0x3d3),_0x53cee5))(mi||{});const K=_0x1cf15a(0x21c),Ds={};var ne=(_0x5847c9=>(_0x5847c9[_0x1cf15a(0x2ed)]='OTHER_CLIENT_EDITING',_0x5847c9[_0x1cf15a(0x383)]=_0x1cf15a(0x383),_0x5847c9[_0x1cf15a(0x286)]=_0x1cf15a(0x286),_0x5847c9['CLOSE_ROOM']=_0x1cf15a(0x143),_0x5847c9[_0x1cf15a(0x3a9)]=_0x1cf15a(0x3a9),_0x5847c9[_0x1cf15a(0x2f5)]=_0x1cf15a(0x2f5),_0x5847c9['SOCKET_FAILED']=_0x1cf15a(0x371),_0x5847c9[_0x1cf15a(0x2df)]=_0x1cf15a(0x2df),_0x5847c9))(ne||{});class ve{constructor(){var _0x5ab4ac=_0x1cf15a;N(this,'_event$',new _0x2f0731()),N(this,_0x5ab4ac(0x2cf),this['_event$'][_0x5ab4ac(0x17c)]());}[_0x1cf15a(0x301)](_0xea1f45){var _0x5499f0=_0x1cf15a;this[_0x5499f0(0x161)][_0x5499f0(0x200)](_0xea1f45);}}const Us=_0x5e399a(_0x1cf15a(0x197));function As(_0xbbfdb5){var _0x9da07c=_0x1cf15a,_0x37b4cc,_0xc5d011,_0x1e06c1,_0x38daef,_0x54b613;const _0x3acb1b=_0xbbfdb5['data'],_0x1d7d48=JSON[_0x9da07c(0x401)](_0x3acb1b);switch(_0x1d7d48[_0x9da07c(0x407)]){case F[_0x9da07c(0x3fd)]:case F[_0x9da07c(0x231)]:{const _0x415986=_0x1d7d48[_0x9da07c(0x3ed)];return{..._0x1d7d48,'data':_0x415986,'cmd':_0x1d7d48[_0x9da07c(0x407)]};}case F['JOIN']:{const _0x1e7d86=_0x1d7d48['joinRsp'];return{..._0x1d7d48,'data':_0x1e7d86,'cmd':_0x1d7d48[_0x9da07c(0x407)]};}case F[_0x9da07c(0x40e)]:{const _0x3aba29=_0x1d7d48['collaMsg'];switch(_0x3aba29[_0x9da07c(0x19a)]){case _0x29bafd[_0x9da07c(0x306)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':(_0x37b4cc=_0x3aba29[_0x9da07c(0x395)])==null?void 0x0:_0x37b4cc['cs']},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x3e3)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':(_0xc5d011=_0x3aba29[_0x9da07c(0x3cc)])==null?void 0x0:_0xc5d011['cs']},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x234)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':(_0x1e06c1=_0x3aba29[_0x9da07c(0x26c)])==null?void 0x0:_0x1e06c1['cs']},'cmd':_0x1d7d48['cmd']};case _0x29bafd[_0x9da07c(0x27b)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':(_0x38daef=_0x3aba29['csRejEvent'])==null?void 0x0:_0x38daef['cs']},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x302)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':(_0x54b613=_0x3aba29['csShouldRetryEvent'])==null?void 0x0:_0x54b613['cs']},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x248)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x20b)]},'cmd':_0x1d7d48['cmd']};case _0x29bafd[_0x9da07c(0x38e)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x375)]},'cmd':_0x1d7d48['cmd']};case _0x29bafd[_0x9da07c(0x265)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x205)]},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x214)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x32c)]},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x228)]:case _0x29bafd['LIVESHARE_OPERATION']:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x21f)]},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd['LIVESHARE_TERMINATE']:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29['liveShareNewHost']},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x165)]:return{..._0x1d7d48,'data':_0x3aba29,'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x33f)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x270)]},'cmd':_0x1d7d48['cmd']};case _0x29bafd[_0x9da07c(0x32a)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x3aa)]},'cmd':_0x1d7d48['cmd']};case _0x29bafd[_0x9da07c(0x2ea)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29['shouldCloseConn']},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x245)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x324)]},'cmd':_0x1d7d48[_0x9da07c(0x407)]};default:return _0x1d7d48;}}default:return _0x1d7d48;}}function ws(_0x86ca17){var _0x58f448=_0x1cf15a;switch(_0x86ca17[_0x58f448(0x407)]){case F['HEARTBEAT']:case F[_0x58f448(0x231)]:return JSON[_0x58f448(0x160)]({'cmd':_0x86ca17[_0x58f448(0x407)],'routeKey':_0x86ca17[_0x58f448(0x2fb)]});case F[_0x58f448(0x1c3)]:{let _0x44f07b;switch(_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x19a)]){case _0x29bafd[_0x58f448(0x248)]:{_0x44f07b={'eventID':_0x29bafd[_0x58f448(0x248)],'updateCursorEvent':_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x31c)]};break;}case _0x29bafd[_0x58f448(0x265)]:{_0x44f07b={'eventID':_0x29bafd[_0x58f448(0x265)],'leaveEvent':_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x31c)]};break;}case _0x29bafd[_0x58f448(0x38e)]:{_0x44f07b={'eventID':_0x29bafd[_0x58f448(0x38e)],'joinEvent':_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x31c)]};break;}case _0x29bafd[_0x58f448(0x214)]:{_0x44f07b={'eventID':_0x29bafd[_0x58f448(0x214)],'liveShareNewHost':_0x86ca17[_0x58f448(0x31c)]['data']};break;}case _0x29bafd['LIVESHARE_OPERATION']:{_0x44f07b={'eventID':_0x29bafd['LIVESHARE_OPERATION'],'liveShareOperation':_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x31c)]};break;}case _0x29bafd['LIVESHARE_TERMINATE']:{_0x44f07b={'eventID':_0x29bafd[_0x58f448(0x153)],'liveShareTerminate':_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x31c)]};break;}case _0x29bafd[_0x58f448(0x2d1)]:{_0x44f07b={'eventID':_0x29bafd[_0x58f448(0x2d1)],'liveShareRequestHost':_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x31c)]};break;}case _0x29bafd[_0x58f448(0x228)]:{_0x44f07b={'eventID':_0x29bafd['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x44f07b={'eventID':_0x86ca17['data']['eventID']};}return JSON[_0x58f448(0x160)]({'cmd':_0x86ca17['cmd'],'routeKey':_0x86ca17['routeKey'],'collaMsg':_0x44f07b});}case F[_0x58f448(0x2d4)]:return JSON['stringify']({'cmd':_0x86ca17[_0x58f448(0x407)],'routeKey':_0x86ca17['routeKey'],'joinReq':_0x86ca17[_0x58f448(0x31c)]});case F[_0x58f448(0x362)]:return JSON[_0x58f448(0x160)]({'cmd':_0x86ca17[_0x58f448(0x407)],'routeKey':_0x86ca17[_0x58f448(0x2fb)],'leaveReq':_0x86ca17[_0x58f448(0x31c)]});default:throw new Error(_0x58f448(0x1c0));}}var Ps=Object[_0x1cf15a(0x2fc)],Ls=(_0x2dbbf0,_0x313770,_0x49ac83,_0x5e895e)=>{for(var _0x25bede=_0x5e895e>0x1?void 0x0:_0x5e895e?Ps(_0x313770,_0x49ac83):_0x313770,_0x59eb8d=_0x2dbbf0['length']-0x1,_0x479695;_0x59eb8d>=0x0;_0x59eb8d--)(_0x479695=_0x2dbbf0[_0x59eb8d])&&(_0x25bede=_0x479695(_0x25bede)||_0x25bede);return _0x25bede;},Ue=(_0x2db412,_0x5323e6)=>(_0x9fe04b,_0x383196)=>_0x5323e6(_0x9fe04b,_0x383196,_0x2db412);const gi=_0x5e399a(_0x1cf15a(0x392));function Ms(_0x1284c8,_0x1320a6,_0x2dd0f2){var _0x9a568e=_0x1cf15a;return _0x1284c8+'/'+_0x1320a6+_0x9a568e(0x147)+_0x2dd0f2+_0x9a568e(0x290);}let Ft=class extends _0x4c47e9{constructor(_0x5da972,_0xb99b4c,_0x91a903,_0x15e6f6,_0x3a1062){var _0x3eaf54=_0x1cf15a;super(),this[_0x3eaf54(0x1bb)]=_0x5da972,this[_0x3eaf54(0x2b5)]=_0xb99b4c,this['_configService']=_0x91a903,this[_0x3eaf54(0x353)]=_0x15e6f6,this[_0x3eaf54(0x3f4)]=_0x3a1062;}['_doCreateSocket'](_0xf23a16){var _0x341ae7=_0x1cf15a;const _0x29833a=this['_injector'][_0x341ae7(0x340)](_0x93a07b);if(!_0x29833a)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1b61be=_0x29833a[_0x341ae7(0x3be)](_0xf23a16);if(!_0x1b61be)throw new Error(_0x341ae7(0x2cb));const _0x447cc8=new _0x1165e4(),_0x1694dc=new _0x2f0731();_0x447cc8['add'](_0x1b61be[_0x341ae7(0x40f)][_0x341ae7(0x41f)](_0x2599a2=>_0x1694dc[_0x341ae7(0x200)](_0x2599a2))),_0x447cc8[_0x341ae7(0x31f)](_0x40427e(()=>_0x1694dc[_0x341ae7(0x233)]()));const _0x6bf281=new _0x2f0731();_0x447cc8[_0x341ae7(0x31f)](_0x1b61be[_0x341ae7(0x37c)][_0x341ae7(0x41f)](_0xd6100b=>_0x6bf281[_0x341ae7(0x200)](_0xd6100b))),_0x447cc8[_0x341ae7(0x31f)](_0x40427e(()=>_0x6bf281['complete']()));const _0x144a5b=new _0x2f0731();_0x447cc8[_0x341ae7(0x31f)](_0x1b61be[_0x341ae7(0x37e)]['subscribe'](_0xbd5e2=>{var _0x48a4bc=_0x341ae7;const _0x58880f=As(_0xbd5e2);_0x144a5b[_0x48a4bc(0x200)](_0x58880f);})),_0x447cc8[_0x341ae7(0x31f)](_0x40427e(()=>_0x144a5b['complete']()));let _0x35bc10;const _0x2b3744=()=>{var _0x3ba62f=_0x341ae7;_0x6bf281[_0x3ba62f(0x200)](new Event(_0x3ba62f(0x43d))),_0x1694dc[_0x3ba62f(0x200)](new Event(_0x3ba62f(0x43d))),_0x35bc10[_0x3ba62f(0x29e)]();};return _0x35bc10={'memberID':'','close$':_0x1694dc['asObservable'](),'error$':_0x6bf281[_0x341ae7(0x17c)](),'open$':_0x1b61be['open$'],'message$':_0x144a5b[_0x341ae7(0x17c)](),'send':_0x49787f=>{var _0xd447a9=_0x341ae7;if(_0x49787f[_0xd447a9(0x407)]===F[_0xd447a9(0x1c3)]){if(_0x49787f[_0xd447a9(0x31c)][_0xd447a9(0x19a)]===_0x29bafd['SUBMIT_CHANGESET']){this[_0xd447a9(0x43e)](_0x35bc10,_0x49787f[_0xd447a9(0x31c)])[_0xd447a9(0x216)](_0x388165=>{var _0x31b7b9=_0xd447a9;this['_logService'][_0x31b7b9(0x335)](_0x388165),_0x2b3744();});return;}if(_0x49787f[_0xd447a9(0x31c)][_0xd447a9(0x19a)]===_0x29bafd[_0xd447a9(0x3dc)]){const _0x597aed=_0x49787f['data'];this[_0xd447a9(0x1aa)](_0x597aed)['then'](_0x576fb8=>{var _0x1e266e=_0xd447a9;_0x144a5b[_0x1e266e(0x200)]({'cmd':F[_0x1e266e(0x40e)],'code':me['OK'],'routeKey':_0x597aed[_0x1e266e(0x31c)][_0x1e266e(0x1df)],'routeType':'','data':{'eventID':_0x29bafd[_0x1e266e(0x38a)],'data':{'changesets':_0x576fb8}}});})[_0xd447a9(0x216)](_0x1c189b=>{var _0x2c0133=_0xd447a9;this[_0x2c0133(0x353)][_0x2c0133(0x335)](_0x1c189b),_0x2b3744();});return;}}_0x1b61be[_0xd447a9(0x441)](ws(_0x49787f));},'close':()=>{var _0x4701ea=_0x341ae7;_0x1b61be[_0x4701ea(0x29e)](),_0x447cc8['dispose']();}},_0x35bc10;}async[_0x1cf15a(0x43e)](_0x572966,_0x11726b){var _0x1ef669=_0x1cf15a,_0x35d5c7,_0xf962b8;const {unitType:_0x58f635,unitID:_0xe0194,changeset:_0x399143}=_0x11726b[_0x1ef669(0x31c)],_0x270b63={'unitID':_0xe0194,'memberID':_0x572966['memberID'],'type':_0x58f635,'changeset':_0x433f55(_0x399143)},_0x18588d=this[_0x1ef669(0x40d)][_0x1ef669(0x2bf)](bs),_0x58b66a=this[_0x1ef669(0x40d)][_0x1ef669(0x2bf)](K),_0x3d79c9=Ms((_0xf962b8=(_0x35d5c7=_0x58b66a==null?void 0x0:_0x58b66a['collabSubmitChangesetUrl'])!=null?_0x35d5c7:_0x18588d)!=null?_0xf962b8:Os,_0x58f635,_0xe0194);try{await this[_0x1ef669(0x2b5)][_0x1ef669(0x2ba)](_0x3d79c9,{'body':_0x270b63});}catch(_0x31f1e8){throw this['_logService'][_0x1ef669(0x335)](_0x1ef669(0x1fb),_0x1ef669(0x1a2)),_0x31f1e8;}}async[_0x1cf15a(0x1aa)](_0x39b44a){var _0x3eb5a8=_0x1cf15a;const {unitID:_0x28480f,from:_0x43299b,to:_0x12cb2f,unitType:_0x53ea4d}=_0x39b44a[_0x3eb5a8(0x31c)];return(await this['_snapshotServerService'][_0x3eb5a8(0x387)]({'metadata':void 0x0},{'unitID':_0x28480f,'type':_0x53ea4d,'from':_0x43299b,'to':_0x12cb2f}))['changesets'];}};Ft=Ls([Ue(0x0,_0x4395c3(_0xac3c15)),Ue(0x1,_0x4395c3(_0x3099c1)),Ue(0x2,_0x149db4),Ue(0x3,_0x1ffba8),Ue(0x4,_0x38de54)],Ft);const xs=_0x1cf15a(0x402);function ks(_0x4aa08f){var _0x1f9bb7=_0x1cf15a;return JSON[_0x1f9bb7(0x160)](_0x4aa08f)[_0x1f9bb7(0x25a)];}class Si{constructor(){var _0x1b240c=_0x1cf15a;N(this,_0x1b240c(0x339),new _0x2f0731()),N(this,_0x1b240c(0x2ca),this[_0x1b240c(0x339)][_0x1b240c(0x17c)]());}['onCommentUpdate'](_0xdf030c){var _0x261d7f=_0x1cf15a;this[_0x261d7f(0x339)][_0x261d7f(0x200)](_0xdf030c);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x548ee3,_0x4689ce,_0x2a0164,_0x237972)=>{var _0x149c14=_0x1cf15a;for(var _0x4e652f=_0x237972>0x1?void 0x0:_0x237972?$s(_0x4689ce,_0x2a0164):_0x4689ce,_0x5156d4=_0x548ee3[_0x149c14(0x25a)]-0x1,_0x14591f;_0x5156d4>=0x0;_0x5156d4--)(_0x14591f=_0x548ee3[_0x5156d4])&&(_0x4e652f=_0x14591f(_0x4e652f)||_0x4e652f);return _0x4e652f;},Vt=(_0x42ac1e,_0x220493)=>(_0x327919,_0x17dc09)=>_0x220493(_0x327919,_0x17dc09,_0x42ac1e);let Pe=class extends _0x4c47e9{constructor(_0x2fdcdc,_0x283685){var _0x19721a=_0x1cf15a;super(),N(this,_0x19721a(0x3e8),new Map()),N(this,_0x19721a(0x187),new _0x2f0731()),(this[_0x19721a(0x2d9)]=_0x2fdcdc,this['_userManagerService']=_0x283685,this[_0x19721a(0x212)](_0xf55bf(this[_0x19721a(0x2d9)][_0x19721a(0x2c9)](_0x1dfda5[_0x19721a(0x355)])[_0x19721a(0x295)](_0x1baf73(_0x8cba6d=>_0x8cba6d[_0x19721a(0x2ae)]())),this['_univerInstanceService'][_0x19721a(0x2c9)](_0x1dfda5['UNIVER_DOC'])[_0x19721a(0x295)](_0x1baf73(_0x40d311=>_0x40d311[_0x19721a(0x2ae)]())),this['_univerInstanceService'][_0x19721a(0x2c9)](_0x1dfda5[_0x19721a(0x3fa)])[_0x19721a(0x295)](_0x1baf73(_0x92a94b=>_0x92a94b[_0x19721a(0x2ae)]())))[_0x19721a(0x41f)](_0x22227c=>this[_0x19721a(0x267)](_0x22227c))));}['waitForRoom$'](_0x4a687d){var _0x5eeb41=_0x1cf15a;return this[_0x5eeb41(0x3e8)]['has'](_0x4a687d)?_0x1aced1(this[_0x5eeb41(0x3e8)][_0x5eeb41(0x340)](_0x4a687d)):this['_roomCreated$'][_0x5eeb41(0x295)](_0x1baf73(_0x412b37=>{var _0x44ea64=_0x5eeb41;if(_0x412b37===_0x4a687d)return this[_0x44ea64(0x3e8)][_0x44ea64(0x340)](_0x412b37);}));}['setCurrentUser'](_0x484f90){var _0xa68ceb=_0x1cf15a;this[_0xa68ceb(0x22d)][_0xa68ceb(0x1c4)](_0x484f90);}[_0x1cf15a(0x386)](){var _0x176e85=_0x1cf15a;return this[_0x176e85(0x22d)]['getCurrentUser']();}[_0x1cf15a(0x2c0)](_0x3801eb,_0x4809f3){var _0xfe5e67=_0x1cf15a;let _0xe2402c=this[_0xfe5e67(0x3e8)]['get'](_0x3801eb);_0xe2402c||(_0xe2402c=new Bs(),this['_roomMembers'][_0xfe5e67(0x310)](_0x3801eb,_0xe2402c),this[_0xfe5e67(0x187)][_0xfe5e67(0x200)](_0x3801eb)),_0xe2402c['updateMember'](_0x4809f3);}[_0x1cf15a(0x1e6)](_0x1895fe,_0x34aac0){var _0x134399=_0x1cf15a;const _0x50dad2=this['_roomMembers'][_0x134399(0x340)](_0x1895fe);_0x50dad2&&_0x50dad2[_0x134399(0x1e6)](_0x34aac0);}['getRoom'](_0x2407d5){var _0x5613c2=_0x1cf15a;return this[_0x5613c2(0x3e8)]['get'](_0x2407d5);}['getMember'](_0x28ed4c,_0x6971f0){var _0x2fba65=_0x1cf15a;const _0x17bc09=this[_0x2fba65(0x3e8)][_0x2fba65(0x340)](_0x28ed4c);if(_0x17bc09)return _0x17bc09[_0x2fba65(0x3e7)](_0x6971f0);}['_removeRoom'](_0x4733fa){var _0x854c9a=_0x1cf15a;const _0x58d4ed=this[_0x854c9a(0x3e8)][_0x854c9a(0x340)](_0x4733fa);_0x58d4ed&&(_0x58d4ed[_0x854c9a(0x367)](),this['_roomMembers'][_0x854c9a(0x17d)](_0x4733fa));}[_0x1cf15a(0x367)](){var _0x132f3a=_0x1cf15a;this[_0x132f3a(0x3e8)][_0x132f3a(0x1ea)](_0xb2e52b=>_0xb2e52b[_0x132f3a(0x367)]()),this['_roomMembers'][_0x132f3a(0x316)](),this[_0x132f3a(0x187)][_0x132f3a(0x233)]();}};Pe=Hs([Vt(0x0,_0x125d03),Vt(0x1,_0x4395c3(_0x1209a8))],Pe);class Bs extends _0x4c47e9{constructor(){var _0x560353=_0x1cf15a;super(...arguments),N(this,_0x560353(0x35a),new Map()),N(this,'_members$',new _0x16d07d(this[_0x560353(0x35a)])),N(this,'members$',this[_0x560353(0x264)][_0x560353(0x17c)]());}['dispose'](){var _0x25c3c1=_0x1cf15a;this[_0x25c3c1(0x35a)][_0x25c3c1(0x316)]();}['updateMember'](_0xe6f0a1){var _0x35e295=_0x1cf15a;this[_0x35e295(0x35a)]['set'](_0xe6f0a1[_0x35e295(0x185)],_0xe6f0a1),this[_0x35e295(0x430)]();}[_0x1cf15a(0x1e6)](_0x52b088){var _0x5490aa=_0x1cf15a;this[_0x5490aa(0x35a)][_0x5490aa(0x17d)](_0x52b088);}[_0x1cf15a(0x3e7)](_0x50fbd9){var _0x4432f4=_0x1cf15a;return this[_0x4432f4(0x35a)]['get'](_0x50fbd9);}['getAllMembers'](){var _0x440724=_0x1cf15a;return Array['from'](this['_members'][_0x440724(0x36a)]());}[_0x1cf15a(0x430)](){var _0x57f0ba=_0x1cf15a;this[_0x57f0ba(0x264)][_0x57f0ba(0x200)](this[_0x57f0ba(0x35a)]);}}var js=Object[_0x1cf15a(0x2fc)],Fs=(_0x3885ba,_0x411abf,_0x392b2c,_0x205cbf)=>{var _0x29d510=_0x1cf15a;for(var _0x5d9355=_0x205cbf>0x1?void 0x0:_0x205cbf?js(_0x411abf,_0x392b2c):_0x411abf,_0x5d3c02=_0x3885ba[_0x29d510(0x25a)]-0x1,_0xb99d5c;_0x5d3c02>=0x0;_0x5d3c02--)(_0xb99d5c=_0x3885ba[_0x5d3c02])&&(_0x5d9355=_0xb99d5c(_0x5d9355)||_0x5d9355);return _0x5d9355;},pe=(_0x485ff2,_0x36ba8a)=>(_0x207dec,_0x546370)=>_0x36ba8a(_0x207dec,_0x546370,_0x485ff2),Se=(_0x54e2d1=>(_0x54e2d1[_0x54e2d1['IDLE']=0x0]=_0x1cf15a(0x38f),_0x54e2d1[_0x54e2d1[_0x1cf15a(0x206)]=0x1]=_0x1cf15a(0x206),_0x54e2d1[_0x54e2d1[_0x1cf15a(0x2be)]=0x2]=_0x1cf15a(0x2be),_0x54e2d1[_0x54e2d1[_0x1cf15a(0x400)]=0x3]='ONLINE',_0x54e2d1))(Se||{});const Gt={[me['FAIL']]:_0x1cf15a(0x1a1),[me['JOIN_ROOM_FULL']]:_0x1cf15a(0x26b),[me[_0x1cf15a(0x43c)]]:_0x1cf15a(0x374),[me[_0x1cf15a(0x28d)]]:'session.room-permission-denied',[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let gt=class extends _0x18f2f0{constructor(_0x122c47,_0x5ec9a5,_0x27ec7c,_0x436165,_0x1a5b4a,_0x55b7df,_0x5dba64,_0x1e962c,_0x2535ec){var _0x287ae8=_0x1cf15a;super(),N(this,_0x287ae8(0x17e),new _0x16d07d(0x0)),N(this,_0x287ae8(0x3b4),this['_sessionStatus$'][_0x287ae8(0x17c)]()),N(this,_0x287ae8(0x161),new _0x2f0731()),N(this,_0x287ae8(0x2cf),this[_0x287ae8(0x161)][_0x287ae8(0x17c)]()),N(this,'_socket'),N(this,_0x287ae8(0x2bc)),N(this,'_collaborationTimeoutTimer'),N(this,_0x287ae8(0x152),!0x1),N(this,_0x287ae8(0x397),null),(this[_0x287ae8(0x2af)]=_0x122c47,this[_0x287ae8(0x353)]=_0x27ec7c,this[_0x287ae8(0x40d)]=_0x436165,this['_localeService']=_0x1a5b4a,this[_0x287ae8(0x1f2)]=_0x55b7df,this[_0x287ae8(0x3ec)]=_0x5dba64,this[_0x287ae8(0x1b4)]=_0x1e962c,this[_0x287ae8(0x296)]=_0x2535ec,this[_0x287ae8(0x152)]=!!this['_telemetryService'],_0x5ec9a5[_0x287ae8(0x295)](_0x110672(this[_0x287ae8(0x277)]))[_0x287ae8(0x41f)](_0x3900fe=>{var _0x470447=_0x287ae8,_0x21f4d0;typeof _0x3900fe>'u'||(this['_socket']=_0x3900fe,_0x3900fe?(this[_0x470447(0x1f8)](_0x3900fe),this[_0x470447(0x2bc)]=_0x3900fe[_0x470447(0x37e)][_0x470447(0x41f)](_0x1621ea=>{var _0x5e8336=_0x470447;_0x1621ea['routeKey']===this[_0x5e8336(0x2af)]&&this[_0x5e8336(0x342)](_0x1621ea);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x470447(0x17e)][_0x470447(0x200)](0x2),(_0x21f4d0=this[_0x470447(0x2bc)])==null||_0x21f4d0['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x1cf15a(0x34c)](){var _0x3cc1ad=_0x1cf15a;return this[_0x3cc1ad(0x17e)][_0x3cc1ad(0x25e)]();}[_0x1cf15a(0x30b)](){var _0x52a9e1=_0x1cf15a,_0x1fe652,_0x2d9c9b;return(_0x2d9c9b=(_0x1fe652=this[_0x52a9e1(0x232)])==null?void 0x0:_0x1fe652[_0x52a9e1(0x185)])!=null?_0x2d9c9b:null;}['dispose'](){var _0xcc0e90=_0x1cf15a;super[_0xcc0e90(0x367)](),this[_0xcc0e90(0x277)]['next'](),this[_0xcc0e90(0x277)][_0xcc0e90(0x233)]();}['close'](){var _0x201263=_0x1cf15a,_0x4bd7a6,_0x2fa98d;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4bd7a6=this[_0x201263(0x232)])==null||_0x4bd7a6['send']({'cmd':F[_0x201263(0x362)],'data':{'roomID':this[_0x201263(0x2af)]}}),(_0x2fa98d=this[_0x201263(0x232)])==null||_0x2fa98d[_0x201263(0x29e)](),this['_event$'][_0x201263(0x233)](),this[_0x201263(0x17e)]['complete'](),this[_0x201263(0x367)]();}[_0x1cf15a(0x342)](_0x2cf526){var _0x5edf3b=_0x1cf15a;_0x2cf526[_0x5edf3b(0x407)]===F[_0x5edf3b(0x2d4)]?this[_0x5edf3b(0x186)](_0x2cf526):_0x2cf526[_0x5edf3b(0x407)]===F[_0x5edf3b(0x40e)]&&this[_0x5edf3b(0x3c9)](_0x2cf526);}[_0x1cf15a(0x1f8)](_0x4e1094){var _0x54c1ec=_0x1cf15a;this[_0x54c1ec(0x17e)][_0x54c1ec(0x200)](0x1),_0x4e1094[_0x54c1ec(0x441)]({'cmd':F[_0x54c1ec(0x2d4)],'routeKey':this[_0x54c1ec(0x2af)],'routeType':'','data':{'rooms':[{'roomID':this[_0x54c1ec(0x2af)]}]}});}['_onJoinRoomEvent'](_0x9b6f0d){var _0x407027=_0x1cf15a,_0x52f6ec;if(_0x9b6f0d[_0x407027(0x163)]in Gt){this['_collaborationUIEventService'][_0x407027(0x301)]({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x9b6f0d['code']]}),this[_0x407027(0x17e)][_0x407027(0x200)](0x2);return;}this[_0x407027(0x17e)][_0x407027(0x200)](0x3);const _0x5286ae=(_0x52f6ec=_0x9b6f0d['data'][_0x407027(0x36f)][this[_0x407027(0x2af)]])==null?void 0x0:_0x52f6ec[_0x407027(0x36d)];_0x5286ae&&_0x5286ae[_0x407027(0x1ea)](_0xe06f69=>this[_0x407027(0x1f2)]['updateMember'](this['_unitID'],_0xe06f69));}[_0x1cf15a(0x3c9)](_0x114ea2){var _0x16cf04=_0x1cf15a;try{const _0x4f654a=_0x114ea2['data'];switch(_0x4f654a['eventID']){case _0x29bafd[_0x16cf04(0x38e)]:this[_0x16cf04(0x1b1)](_0x4f654a),this[_0x16cf04(0x161)]['next'](_0x4f654a);break;case _0x29bafd[_0x16cf04(0x265)]:this['_onUserLeave'](_0x4f654a),this[_0x16cf04(0x161)][_0x16cf04(0x200)](_0x4f654a);break;case _0x29bafd['CHANGESET_ACK']:case _0x29bafd[_0x16cf04(0x302)]:this[_0x16cf04(0x425)](),this[_0x16cf04(0x3da)](),this[_0x16cf04(0x161)][_0x16cf04(0x200)](_0x4f654a);break;case _0x29bafd[_0x16cf04(0x165)]:this[_0x16cf04(0x353)][_0x16cf04(0x335)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x4f654a)),this[_0x16cf04(0x161)][_0x16cf04(0x200)](_0x4f654a);break;case _0x29bafd[_0x16cf04(0x33f)]:this['_commentService'][_0x16cf04(0x263)](_0x4f654a[_0x16cf04(0x31c)]),this['_event$']['next'](_0x4f654a);break;default:this[_0x16cf04(0x161)][_0x16cf04(0x200)](_0x4f654a);}}catch(_0x4b99a3){this[_0x16cf04(0x353)][_0x16cf04(0x335)](_0x4b99a3,_0x114ea2);}}[_0x1cf15a(0x1b1)](_0x294a4f){var _0x50ff81=_0x1cf15a;this[_0x50ff81(0x1f2)][_0x50ff81(0x2c0)](this[_0x50ff81(0x2af)],_0x294a4f[_0x50ff81(0x31c)]);}[_0x1cf15a(0x3f7)](_0x1c4cd7){var _0x34bcc5=_0x1cf15a;this[_0x34bcc5(0x1f2)][_0x34bcc5(0x1e6)](this['_unitID'],_0x1c4cd7['data']['memberID']);}async[_0x1cf15a(0x441)](_0x3f4383,_0x5c1c84){var _0x17d3e6=_0x1cf15a;if(this['sessionStatus']!==0x3||!this[_0x17d3e6(0x232)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3f4383[_0x17d3e6(0x19a)]===_0x29bafd['SUBMIT_CHANGESET']&&(this[_0x17d3e6(0x3b7)](),this['_startTelemetryCollaborationNewChangeset'](_0x3f4383)),this['_socket']['send']({'cmd':F[_0x17d3e6(0x1c3)],'routeKey':_0x5c1c84,'routeType':'','data':_0x3f4383});}catch(_0x49111a){this[_0x17d3e6(0x353)][_0x17d3e6(0x335)](_0x49111a);}}['_scheduleCollaborationTimeoutTimer'](){var _0x55a476=_0x1cf15a,_0x2dc00f;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x29e3b2=_0x59f7;this[_0x29e3b2(0x420)]=null,this[_0x29e3b2(0x1b4)]['emitEvent']({'id':ne[_0x29e3b2(0x2df)]});},(_0x2dc00f=this['_configService'][_0x55a476(0x2bf)](fi))!=null?_0x2dc00f:vi);}[_0x1cf15a(0x3da)](){var _0x217a12=_0x1cf15a;this[_0x217a12(0x420)]&&(clearTimeout(this[_0x217a12(0x420)]),this[_0x217a12(0x420)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x163eeb){var _0x40adcb=_0x1cf15a;if(!this[_0x40adcb(0x152)])return;const {data:_0x2aa402}=_0x163eeb,{unitID:_0x2520e9,changeset:_0x2aa3c5}=_0x2aa402,{mutations:_0x5cfb19,type:_0xe0d941}=_0x2aa3c5;this[_0x40adcb(0x397)]={'unitId':_0x2520e9,'type':_0xe0d941,'startTime':performance[_0x40adcb(0x3e0)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x5cfb19)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x259c0f=_0x1cf15a;if(this[_0x259c0f(0x152)]){if(!this[_0x259c0f(0x397)]){this[_0x259c0f(0x353)]['error']('[CollaborationSession]',_0x259c0f(0x170));return;}this[_0x259c0f(0x397)][_0x259c0f(0x2c1)]=performance['now'](),this[_0x259c0f(0x397)]['duration']=this['_telemetryInfo'][_0x259c0f(0x2c1)]-this['_telemetryInfo'][_0x259c0f(0x2dd)],this[_0x259c0f(0x296)][_0x259c0f(0x307)](xs,this[_0x259c0f(0x397)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x410b05=_0x1cf15a;this[_0x410b05(0x397)]=null;}};gt=Fs([pe(0x2,_0x1ffba8),pe(0x3,_0x149db4),pe(0x4,_0x4395c3(_0x58db33)),pe(0x5,_0x4395c3(Pe)),pe(0x6,_0x4395c3(Si)),pe(0x7,_0x4395c3(ve)),pe(0x8,_0x3ede3c(_0x1c3a1b))],gt);var Vs=Object[_0x1cf15a(0x2fc)],Gs=(_0x351402,_0x5b0f54,_0x91919c,_0x788f42)=>{var _0x5ecd80=_0x1cf15a;for(var _0x26e1f0=_0x788f42>0x1?void 0x0:_0x788f42?Vs(_0x5b0f54,_0x91919c):_0x5b0f54,_0x144b08=_0x351402[_0x5ecd80(0x25a)]-0x1,_0x268dfa;_0x144b08>=0x0;_0x144b08--)(_0x268dfa=_0x351402[_0x144b08])&&(_0x26e1f0=_0x268dfa(_0x26e1f0)||_0x26e1f0);return _0x26e1f0;},Re=(_0x5a8266,_0x5af476)=>(_0x4ccca8,_0x178f7b)=>_0x5af476(_0x4ccca8,_0x178f7b,_0x5a8266);let Le=class extends _0x4c47e9{constructor(_0x9a5233,_0x103d4a,_0x2f0b1d,_0xd6d128,_0x180055,_0xfd538b){var _0x2c2210=_0x1cf15a;super(),N(this,_0x2c2210(0x291),new _0x16d07d(void 0x0)),N(this,'socket$',this[_0x2c2210(0x291)][_0x2c2210(0x17c)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,_0x2c2210(0x325),new _0x16d07d(Se[_0x2c2210(0x38f)])),N(this,_0x2c2210(0x404),this['_status$'][_0x2c2210(0x17c)]()),N(this,_0x2c2210(0x363),!0x1),N(this,_0x2c2210(0x1b3)),N(this,_0x2c2210(0x239),0x0),N(this,_0x2c2210(0x3f2)),N(this,_0x2c2210(0x2d7)),(this['_injector']=_0x9a5233,this['_logService']=_0x103d4a,this[_0x2c2210(0x40d)]=_0x2f0b1d,this[_0x2c2210(0x413)]=_0xd6d128,this[_0x2c2210(0x1b4)]=_0x180055,this[_0x2c2210(0x21a)]=_0xfd538b,this['_listenToNetworkCondition']());}get[_0x1cf15a(0x232)](){return this['_socket$']['getValue']();}['_listenToNetworkCondition'](){var _0x31c8ea=_0x1cf15a;this[_0x31c8ea(0x21a)]&&this[_0x31c8ea(0x212)](this['_networkConditionService']['online$'][_0x31c8ea(0x41f)](_0x1f8c21=>{var _0x19ef9b=_0x31c8ea;_0x1f8c21&&!this[_0x19ef9b(0x232)]&&this[_0x19ef9b(0x3df)](),_0x1f8c21||this[_0x19ef9b(0x26f)]();}));}[_0x1cf15a(0x367)](){var _0x1ad51b=_0x1cf15a;super['dispose'](),this[_0x1ad51b(0x29c)](),this[_0x1ad51b(0x1a3)](),this[_0x1ad51b(0x30d)](),this[_0x1ad51b(0x16b)][_0x1ad51b(0x1ea)](_0x14ed54=>_0x14ed54[_0x1ad51b(0x367)]()),this[_0x1ad51b(0x16b)][_0x1ad51b(0x316)](),this[_0x1ad51b(0x325)][_0x1ad51b(0x233)]();}async['requireSession'](_0x730962){var _0x221299=_0x1cf15a;if(this['_sessions'][_0x221299(0x171)](_0x730962))return this[_0x221299(0x16b)][_0x221299(0x340)](_0x730962);this[_0x221299(0x432)]();const _0x4e6ac4=this['_injector'][_0x221299(0x176)](gt,_0x730962,this['_socket$'][_0x221299(0x17c)]());return this[_0x221299(0x16b)]['set'](_0x730962,_0x4e6ac4),_0x4e6ac4;}[_0x1cf15a(0x443)](_0x2578a8){var _0x12a357=_0x1cf15a,_0x181c32;const _0x281e1b=this[_0x12a357(0x16b)][_0x12a357(0x340)](_0x2578a8);_0x281e1b&&(this['_sessions'][_0x12a357(0x17d)](_0x2578a8),_0x281e1b[_0x12a357(0x29e)]()),this['_sessions'][_0x12a357(0x419)]||(_0x181c32=this[_0x12a357(0x232)])==null||_0x181c32[_0x12a357(0x29e)]();}[_0x1cf15a(0x3df)](){var _0x1a764d=_0x1cf15a;this[_0x1a764d(0x239)]=0x0,this[_0x1a764d(0x29c)](),this[_0x1a764d(0x28e)]();}[_0x1cf15a(0x29c)](){var _0x536c82=_0x1cf15a;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x536c82(0x1b3)]),this[_0x536c82(0x1b3)]=null);}async[_0x1cf15a(0x1e0)](){var _0x5331e1=_0x1cf15a,_0x43dc56,_0x2ff985;const _0x5358a1=this['_configService'][_0x5331e1(0x2bf)](gs),_0x466ffe=this['_configService'][_0x5331e1(0x2bf)](K),_0x11deb4=(_0x2ff985=(_0x43dc56=_0x466ffe==null?void 0x0:_0x466ffe[_0x5331e1(0x15e)])!=null?_0x43dc56:_0x5358a1)!=null?_0x2ff985:Ss,_0x11d26f=await this['_socketService'][_0x5331e1(0x3be)](_0x11deb4);return this['_candidateSocket']=_0x11d26f,_0x11d26f;}async[_0x1cf15a(0x432)](){var _0x584007=_0x1cf15a,_0x4c5b49,_0x5d9789;try{const _0x2a3adc=(_0x5d9789=(_0x4c5b49=this[_0x584007(0x232)])!=null?_0x4c5b49:this[_0x584007(0x14f)])!=null?_0x5d9789:await this[_0x584007(0x1e0)]();if(_0x2a3adc){const _0x50fd1e=_0x2a3adc[_0x584007(0x441)];_0x2a3adc[_0x584007(0x441)]=_0x42734b=>(this[_0x584007(0x3c4)](),_0x50fd1e[_0x584007(0x436)](_0x2a3adc,[_0x42734b])),_0x2a3adc[_0x584007(0x37e)][_0x584007(0x41f)](_0xdd8a54=>this[_0x584007(0x1ff)](_0x2a3adc,_0xdd8a54)),_0x2a3adc[_0x584007(0x37c)]['pipe'](_0x59231f(0x1))[_0x584007(0x41f)](_0x5c8213=>this[_0x584007(0x353)][_0x584007(0x335)](_0x584007(0x3a6),_0x5c8213)),_0x2a3adc[_0x584007(0x16e)][_0x584007(0x295)](_0x59231f(0x1))[_0x584007(0x41f)](()=>{var _0x1ade67=_0x584007;this[_0x1ade67(0x38c)](_0x2a3adc);}),_0x2a3adc['close$']['pipe'](_0x59231f(0x1))[_0x584007(0x41f)](_0x278d66=>{var _0x35c3c8=_0x584007;this['_logService'][_0x35c3c8(0x222)]('[CollaborationSessionService]',_0x35c3c8(0x3c7),_0x278d66),this['_onConnectionFailed']();});}}catch(_0x4633f8){this[_0x584007(0x353)]['error'](_0x4633f8),this['_onConnectionFailed']();}}[_0x1cf15a(0x38c)](_0x189333){var _0x39b96d=_0x1cf15a;this[_0x39b96d(0x353)][_0x39b96d(0x222)](_0x39b96d(0x42b),'socket\x20open.'),_0x189333[_0x39b96d(0x441)]({'cmd':F[_0x39b96d(0x231)]}),this[_0x39b96d(0x3c4)]();}[_0x1cf15a(0x26f)](){var _0x10813b=_0x1cf15a;this[_0x10813b(0x363)]=!0x1,this[_0x10813b(0x14f)]=null,this[_0x10813b(0x325)][_0x10813b(0x200)](Se['OFFLINE']),this['_socket$'][_0x10813b(0x200)](null),this[_0x10813b(0x1a3)](),this[_0x10813b(0x30d)]();}[_0x1cf15a(0x2b0)](){var _0x5bc9e6=_0x1cf15a,_0x500097;this[_0x5bc9e6(0x26f)](),this[_0x5bc9e6(0x239)]<((_0x500097=this['_configService']['getConfig'](Cs))!=null?_0x500097:Rs)?(this[_0x5bc9e6(0x1b4)]['emitEvent']({'id':ne[_0x5bc9e6(0x2f5)]}),this[_0x5bc9e6(0x28e)]()):this[_0x5bc9e6(0x1b4)][_0x5bc9e6(0x301)]({'id':ne[_0x5bc9e6(0x371)]});}[_0x1cf15a(0x28e)](){var _0x4b833e=_0x1cf15a,_0x276e3f;const _0x38f564=this[_0x4b833e(0x239)],_0x5df563=this[_0x4b833e(0x40d)][_0x4b833e(0x2bf)](K),_0x52bf78=_0x38f564===0x0?0x0:((_0x276e3f=_0x5df563==null?void 0x0:_0x5df563[_0x4b833e(0x417)])!=null?_0x276e3f:Ts)*0x2**_0x38f564;this[_0x4b833e(0x1b3)]=setTimeout(()=>{var _0x594e8c=_0x4b833e;clearTimeout(this[_0x594e8c(0x1b3)]),this['_retryConnectingTimer']=null,this[_0x594e8c(0x432)]();},_0x52bf78),this[_0x4b833e(0x239)]+=0x1;}['_onMessage'](_0x15491e,_0x4d8c82){var _0x2c400e=_0x1cf15a;const {cmd:_0x35a22f}=_0x4d8c82;_0x35a22f===F[_0x2c400e(0x231)]&&!this[_0x2c400e(0x363)]&&(_0x15491e[_0x2c400e(0x185)]=_0x4d8c82[_0x2c400e(0x31c)][_0x2c400e(0x185)],this[_0x2c400e(0x291)][_0x2c400e(0x200)](_0x15491e),this['_status$'][_0x2c400e(0x200)](Se['ONLINE']),this[_0x2c400e(0x363)]=!0x0,this[_0x2c400e(0x14f)]=null),_0x35a22f===F[_0x2c400e(0x3fd)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x1cf15a(0x3c4)](){var _0x4f33d5=_0x1cf15a,_0xb88921;this['_clearHeartbeatTimer'](),this[_0x4f33d5(0x3f2)]=setTimeout(()=>this[_0x4f33d5(0x1c5)](),(_0xb88921=this[_0x4f33d5(0x40d)]['getConfig'](Es))!=null?_0xb88921:Is);}[_0x1cf15a(0x1c5)](){var _0x46eb82=_0x1cf15a;this['_socket'][_0x46eb82(0x441)]({'cmd':F[_0x46eb82(0x3fd)]}),this[_0x46eb82(0x309)]();}[_0x1cf15a(0x309)](){var _0x4feb42=_0x1cf15a,_0x5650a8;this[_0x4feb42(0x2d7)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x5650a8=this[_0x4feb42(0x40d)][_0x4feb42(0x2bf)](fi))!=null?_0x5650a8:vi);}[_0x1cf15a(0x30d)](){var _0x547dde=_0x1cf15a;this[_0x547dde(0x3f2)]!=null&&(clearTimeout(this[_0x547dde(0x3f2)]),this['_sendHeartbeatTimer']=null);}[_0x1cf15a(0x1a3)](){var _0x5c42db=_0x1cf15a;this[_0x5c42db(0x2d7)]!=null&&(clearTimeout(this[_0x5c42db(0x2d7)]),this[_0x5c42db(0x2d7)]=null);}};Le=Gs([Re(0x0,_0x4395c3(_0xac3c15)),Re(0x1,_0x1ffba8),Re(0x2,_0x149db4),Re(0x3,gi),Re(0x4,_0x4395c3(ve)),Re(0x5,_0x3ede3c(Us))],Le);const J=_0x5e399a('collaboration-client.local-cache-service');function Pr(_0x1c496f){var _0x2bb2a6=_0x1cf15a;return _0x2bb2a6(0x235)+_0x1c496f;}var Ws=Object['getOwnPropertyDescriptor'],Ys=(_0x3f88f2,_0x1da59c,_0x5f517a,_0x2b92d9)=>{var _0x56c0c3=_0x1cf15a;for(var _0x2b0761=_0x2b92d9>0x1?void 0x0:_0x2b92d9?Ws(_0x1da59c,_0x5f517a):_0x1da59c,_0x28fe4f=_0x3f88f2[_0x56c0c3(0x25a)]-0x1,_0xfa2b1;_0x28fe4f>=0x0;_0x28fe4f--)(_0xfa2b1=_0x3f88f2[_0x28fe4f])&&(_0x2b0761=_0xfa2b1(_0x2b0761)||_0x2b0761);return _0x2b0761;},ut=(_0x49028a,_0x3eeb5c)=>(_0x16308a,_0x1888cf)=>_0x3eeb5c(_0x16308a,_0x1888cf,_0x49028a);function Ks(_0x202c15){var _0x4f3af6=_0x1cf15a;const {unitID:_0x3790e0,mutations:_0x4e0492}=_0x202c15;return{'unitId':_0x3790e0,'subUnitId':_0x4e0492[0x0][_0x4f3af6(0x3bc)][_0x4f3af6(0x243)]};}let it=class{constructor(_0x3e767f,_0x250b02,_0x23e396){var _0x4c9edf=_0x1cf15a;this[_0x4c9edf(0x1bb)]=_0x3e767f,this[_0x4c9edf(0x2e2)]=_0x250b02,this['_instanceService']=_0x23e396;}['transformSelections'](_0x3d8495){var _0x35507d=_0x1cf15a,_0x19e012,_0x106078,_0x3c746d,_0x10dd9c;const _0x179673=this[_0x35507d(0x1bb)]['get'](_0x11e3f7),{unitId:_0x872ee8,subUnitId:_0x7b7220}=Ks(_0x3d8495),_0x239840=_0x179673==null?void 0x0:_0x179673[_0x35507d(0x396)](_0x872ee8)[_0x35507d(0x15d)](),_0x26a0d2=(_0x106078=(_0x19e012=this[_0x35507d(0x240)]['getUnit'](_0x872ee8))==null?void 0x0:_0x19e012['getActiveSheet']())==null?void 0x0:_0x106078[_0x35507d(0x258)]();if(_0x239840['length']===0x0||!_0x872ee8||!_0x7b7220)return;const _0x50b0a3=[{'id':_0x248468['id'],'params':{'unitId':_0x872ee8,'subUnitId':_0x26a0d2,'selections':_0x43b5c0[_0x35507d(0x3d2)](_0x239840)}}],_0x4e9570=this[_0x35507d(0x2e2)][_0x35507d(0x17b)](_0x3d8495,_0x50b0a3);if(!_0x4923e4(_0x4e9570))throw _0x4e9570[_0x35507d(0x335)];const _0x460983=(_0x10dd9c=(_0x3c746d=_0x4e9570[_0x35507d(0x33d)][0x0])==null?void 0x0:_0x3c746d[_0x35507d(0x3bc)])==null?void 0x0:_0x10dd9c[_0x35507d(0x330)];if(Array[_0x35507d(0x328)](_0x460983)&&_0x460983['length']){if(_0x460983['length']===_0x50b0a3[0x0]['params'][_0x35507d(0x330)]['length']&&_0x460983[_0x35507d(0x203)]((_0x39d289,_0x28cf84)=>_0x378739[_0x35507d(0x414)](_0x39d289[_0x35507d(0x3f0)],_0x50b0a3[0x0][_0x35507d(0x3bc)][_0x35507d(0x330)][_0x28cf84]['range'])))return;this[_0x35507d(0x1bb)][_0x35507d(0x340)](_0x751d12)[_0x35507d(0x1f7)](_0x248468['id'],{'unitId':_0x872ee8,'subUnitId':_0x26a0d2,'selections':_0x460983});}}};it=Ys([ut(0x0,_0x4395c3(_0xac3c15)),ut(0x1,_0x3226d7),ut(0x2,_0x125d03)],it);const ht=_0x5e399a(_0x1cf15a(0x439));var Ei=(_0x3aa966=>(_0x3aa966[_0x3aa966[_0x1cf15a(0x21b)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3aa966[_0x3aa966[_0x1cf15a(0x1ee)]=0x1]='OTHER_CLIENTS_EDITING',_0x3aa966))(Ei||{});const qs=new Set([_0x5016c6['id']]);function Wt(_0x1c9b56,_0x14adac,_0x4b7d42,_0x1735f9,_0x588bef){var _0xb2fe8a=_0x1cf15a,_0x2b511d,_0x5dd269,_0x385d54,_0x19ee60;const _0x2a931a=[];for(const _0x75cab5 of _0x1c9b56)if(qs[_0xb2fe8a(0x171)](_0x75cab5['id'])){if(_0x2a931a['length']>0x0)break;_0x2a931a[_0xb2fe8a(0x39c)](_0x75cab5);break;}else _0x2a931a[_0xb2fe8a(0x39c)](_0x75cab5);const _0x5b7c26=(_0x5dd269=(_0x2b511d=_0x588bef[_0xb2fe8a(0x386)]())==null?void 0x0:_0x2b511d[_0xb2fe8a(0x1e7)])!=null?_0x5dd269:'unknown',_0x36dd82=(_0x19ee60=(_0x385d54=_0x588bef[_0xb2fe8a(0x386)]())==null?void 0x0:_0x385d54[_0xb2fe8a(0x185)])!=null?_0x19ee60:'unknown';return{'changeset':{'unitID':_0x14adac,'type':_0x7cb32e(_0x4b7d42[_0xb2fe8a(0x204)](_0x14adac)),'baseRev':_0x1735f9[_0xb2fe8a(0x198)](_0x14adac),'revision':0x0,'userID':_0x5b7c26,'memberID':_0x36dd82,'mutations':_0x2a931a},'pendingMutations':_0x1c9b56[_0xb2fe8a(0x22c)](_0x2a931a[_0xb2fe8a(0x25a)])};}function zs(_0x1e2225,_0x559b41,_0x3f7206,_0x4c6a5c,_0x129b30){var _0x47b18e=_0x1cf15a,_0x38417c,_0x2efda3,_0x5a03b9,_0x4021c2;const _0x4c6616=[_0x1e2225[_0x47b18e(0x15b)]((_0x31bdbd,_0x50ad53)=>{var _0x73676f=_0x47b18e,_0x5d4c4d;const {id:_0x494110}=_0x31bdbd,{id:_0x22832a,type:_0x52c2f6}=_0x50ad53,_0xe372b4=(_0x5d4c4d=_0x31bdbd[_0x73676f(0x3bc)])!=null?_0x5d4c4d:{'actions':null},_0x18ce1c=_0x50ad53[_0x73676f(0x3bc)];if(_0x494110&&_0x494110!==_0x22832a)throw new Error(_0x73676f(0x1fd)+_0x494110+'\x20-\x20'+_0x22832a+'.');return{..._0x31bdbd,'id':_0x22832a,'type':_0x52c2f6,'params':{'unitId':_0x18ce1c[_0x73676f(0x1a9)],'textRanges':_0x18ce1c[_0x73676f(0x15a)],'actions':_0x166e50[_0x73676f(0x1b2)](_0xe372b4[_0x73676f(0x384)],_0x18ce1c[_0x73676f(0x384)])}};},{})],_0x36d0bd=(_0x2efda3=(_0x38417c=_0x129b30['getCurrentUser']())==null?void 0x0:_0x38417c[_0x47b18e(0x1e7)])!=null?_0x2efda3:_0x47b18e(0x20a),_0x16ce96=(_0x4021c2=(_0x5a03b9=_0x129b30[_0x47b18e(0x386)]())==null?void 0x0:_0x5a03b9[_0x47b18e(0x185)])!=null?_0x4021c2:_0x47b18e(0x20a);return{'changeset':{'unitID':_0x559b41,'type':_0x7cb32e(_0x3f7206[_0x47b18e(0x204)](_0x559b41)),'baseRev':_0x4c6a5c[_0x47b18e(0x198)](_0x559b41),'revision':0x0,'userID':_0x36d0bd,'memberID':_0x16ce96,'mutations':_0x4c6616},'pendingMutations':[]};}function Ii(_0x329103,_0x1a471a){var _0x3d12d4=_0x1cf15a;const _0x559c2d=new _0x3d8e59(0x1);return setTimeout(()=>_0x559c2d[_0x3d12d4(0x200)](_0x1a471a),_0x329103),_0x559c2d[_0x3d12d4(0x17c)]()[_0x3d12d4(0x295)](_0x47a6dd(0x1));}const Js={'id':_0x5da75f['id'],'type':_0x1b7bc7['MUTATION'],'params':{}};var Xs=Object['getOwnPropertyDescriptor'],Ie=(_0x4427e8,_0x29a225,_0x5b221e,_0x3be5ee)=>{for(var _0xc7366=_0x3be5ee>0x1?void 0x0:_0x3be5ee?Xs(_0x29a225,_0x5b221e):_0x29a225,_0x3c42c6=_0x4427e8['length']-0x1,_0x74b9e2;_0x3c42c6>=0x0;_0x3c42c6--)(_0x74b9e2=_0x4427e8[_0x3c42c6])&&(_0xc7366=_0x74b9e2(_0xc7366)||_0xc7366);return _0xc7366;},P=(_0x50cfc5,_0x429ff0)=>(_0x5535b8,_0xf2dc93)=>_0x429ff0(_0x5535b8,_0xf2dc93,_0x50cfc5),Ti=(_0x28c3cb=>(_0x28c3cb[_0x1cf15a(0x318)]=_0x1cf15a(0x287),_0x28c3cb['SYNCED']=_0x1cf15a(0x1de),_0x28c3cb['PENDING']=_0x1cf15a(0x18c),_0x28c3cb['AWAITING']='awaiting',_0x28c3cb['AWAITING_WITH_PENDING']=_0x1cf15a(0x431),_0x28c3cb[_0x1cf15a(0x2e3)]='fetch_missing',_0x28c3cb[_0x1cf15a(0x286)]=_0x1cf15a(0x2bd),_0x28c3cb[_0x1cf15a(0x2be)]='offline',_0x28c3cb))(Ti||{});const Ci=0xea60;class Te{constructor(_0xf4053,_0x5b01da,_0x839098,_0x34684b,_0x2523cd,_0x1c6371,_0xe54436,_0x3178b4,_0x2d4996){var _0x312fca=_0x1cf15a;N(this,'_awaitingChangeset',null),N(this,_0x312fca(0x1dd),[]),(this['unitID']=_0xf4053,this[_0x312fca(0x220)]=_0x5b01da,this[_0x312fca(0x3ab)]=_0x2523cd,this[_0x312fca(0x3bd)]=_0x1c6371,this[_0x312fca(0x28a)]=_0xe54436,this['_revisionService']=_0x3178b4,this['_localCacheService']=_0x2d4996,this[_0x312fca(0x3eb)]=_0x839098,this[_0x312fca(0x1dd)]=_0x34684b);}[_0x1cf15a(0x22f)](_0x579c50){var _0xc5dbc5=_0x1cf15a;const _0x2f5bec=this['_revisionService'][_0xc5dbc5(0x198)](this['unitID']);return _0x579c50['revision']>_0x2f5bec+0x1?(this[_0xc5dbc5(0x3ab)][_0xc5dbc5(0x42d)]({'from':_0x2f5bec,'to':_0x579c50[_0xc5dbc5(0x317)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1ddfe7){var _0x57625e=_0x1cf15a;this[_0x57625e(0x28a)]['transformUndoRedo'](this[_0x57625e(0x1df)],_0x1ddfe7);}['_transformSelections'](_0x1c0be2){var _0x521dd2=_0x1cf15a,_0x550a93,_0x168ebb;(_0x168ebb=(_0x550a93=this[_0x521dd2(0x3ab)])[_0x521dd2(0x2a9)])==null||_0x168ebb['call'](_0x550a93,_0x1c0be2);}[_0x1cf15a(0x357)](_0x27167a){var _0x508da9=_0x1cf15a,_0x13cb1e,_0x2c6523;return(_0x2c6523=(_0x13cb1e=this[_0x508da9(0x3ab)])[_0x508da9(0x202)])==null?void 0x0:_0x2c6523[_0x508da9(0x2ee)](_0x13cb1e,_0x27167a);}[_0x1cf15a(0x38d)](_0x25c25d){var _0x5ecf36=_0x1cf15a,_0x3defdb,_0x1e7843;return(_0x1e7843=(_0x3defdb=this['_handler'])[_0x5ecf36(0x385)])==null?void 0x0:_0x1e7843[_0x5ecf36(0x2ee)](_0x3defdb,_0x25c25d);}[_0x1cf15a(0x274)](_0x359dfb){var _0x45e002=_0x1cf15a,_0x21cee0,_0x527936,_0x1b08ca;return(_0x1b08ca=(_0x527936=(_0x21cee0=this['_handler'])[_0x45e002(0x434)])==null?void 0x0:_0x527936[_0x45e002(0x2ee)](_0x21cee0,_0x359dfb))!=null?_0x1b08ca:_0x359dfb;}['_transformRemoteChangesetByStateCache'](_0x364988){var _0x57883c=_0x1cf15a,_0x2044b6,_0x43cd2c,_0xf84f5c;return(_0xf84f5c=(_0x43cd2c=(_0x2044b6=this[_0x57883c(0x3ab)])[_0x57883c(0x18b)])==null?void 0x0:_0x43cd2c[_0x57883c(0x2ee)](_0x2044b6,_0x364988))!=null?_0xf84f5c:_0x364988;}[_0x1cf15a(0x388)](_0x339943){var _0x3c8b5f=_0x1cf15a,_0x95b327,_0x120c3d;if(this[_0x3c8b5f(0x220)]===Z[_0x3c8b5f(0x22a)]){const {unitID:_0x55393b,mutations:_0x1a451c,memberID:_0x134a6c}=_0x339943,_0x4476d8=_0x1a451c[0x0][_0x3c8b5f(0x3bc)]['textRanges'];Array['isArray'](_0x4476d8)&&_0x4476d8[_0x3c8b5f(0x25a)]>0x0&&((_0x120c3d=(_0x95b327=this['_handler'])[_0x3c8b5f(0x259)])==null||_0x120c3d[_0x3c8b5f(0x2ee)](_0x95b327,{'unitID':_0x55393b,'memberID':_0x134a6c,'textRanges':_0x4476d8}));}}['_updateLocalCache'](){var _0x5ad557=_0x1cf15a,_0x2bbf05;(_0x2bbf05=this['_localCacheService'])==null||_0x2bbf05[_0x5ad557(0x1ed)](this[_0x5ad557(0x1df)],this[_0x5ad557(0x220)],this[_0x5ad557(0x3eb)],this[_0x5ad557(0x1dd)]);}[_0x1cf15a(0x31b)](){var _0x5a1e22=_0x1cf15a;return this[_0x5a1e22(0x229)][_0x5a1e22(0x198)](this[_0x5a1e22(0x1df)]);}[_0x1cf15a(0x41d)](){var _0x27298a=_0x1cf15a;this['_revisionService']['incrementRevOfUnit'](this[_0x27298a(0x1df)]);}[_0x1cf15a(0x26a)](_0x2f1446){var _0xd5e877=_0x1cf15a,_0x4d1485;let _0x39cf71=this[_0xd5e877(0x274)](_0x2f1446);_0x39cf71=this[_0xd5e877(0x288)](_0x39cf71);const _0x1d804c=_0x4e92f0(_0x39cf71[_0xd5e877(0x3ff)],this[_0xd5e877(0x3bd)],{'fromCollab':!0x0});if(!_0x1d804c[_0xd5e877(0x262)])throw _0x1d804c['error']instanceof Error?_0x1d804c[_0xd5e877(0x335)]:new Error((_0x4d1485=_0x1d804c[_0xd5e877(0x335)])!=null?_0x4d1485:_0xd5e877(0x164));this[_0xd5e877(0x357)](_0x39cf71),this[_0xd5e877(0x38d)](_0x39cf71),this[_0xd5e877(0x244)](_0x2f1446),this[_0xd5e877(0x1c1)](_0x39cf71),this[_0xd5e877(0x388)](_0x39cf71),this[_0xd5e877(0x41d)]();}}function _0x59f7(_0x16fa48,_0x16df44){var _0x32992a=_0x3299();return _0x59f7=function(_0x59f7ed,_0x3614ec){_0x59f7ed=_0x59f7ed-0x141;var _0x53cec0=_0x32992a[_0x59f7ed];return _0x53cec0;},_0x59f7(_0x16fa48,_0x16df44);}let ye=class extends Te{constructor(_0x402805,_0x4a795d,_0x4a4c3a,_0x5496a4,_0x5339ea,_0x596fa2,_0x54545b,_0x2187ee,_0x1daf66,_0x126a5a){var _0x2f229d=_0x1cf15a;super(_0x402805,_0x4a795d,null,[],_0x4a4c3a,_0x54545b,_0x596fa2,_0x5496a4,_0x126a5a),N(this,_0x2f229d(0x1bc),_0x2f229d(0x1de)),(this[_0x2f229d(0x1bb)]=_0x5339ea,this[_0x2f229d(0x353)]=_0x2187ee,this['_transformService']=_0x1daf66,this[_0x2f229d(0x2de)]=_0x126a5a);}[_0x1cf15a(0x292)](_0x5dfe56){var _0x403fb1=_0x1cf15a;const _0x143f56=this[_0x403fb1(0x1bb)]['createInstance'](re,this[_0x403fb1(0x1df)],this[_0x403fb1(0x220)],[_0x5dfe56],this[_0x403fb1(0x3ab)]);return _0x143f56[_0x403fb1(0x159)](),_0x143f56[_0x403fb1(0x23e)](),_0x143f56;}[_0x1cf15a(0x319)](_0x5db10b){var _0x3f53c0=_0x1cf15a;if(this[_0x3f53c0(0x22f)](_0x5db10b))return this[_0x3f53c0(0x1bb)][_0x3f53c0(0x176)](Q,this[_0x3f53c0(0x1df)],this[_0x3f53c0(0x220)],null,[],null,[_0x5db10b],this[_0x3f53c0(0x3ab)]);try{const _0x4ec3eb=this['_transformService'][_0x3f53c0(0x17b)](_0x5db10b,[Js]);if(_0x4923e4(_0x4ec3eb)){const {c1Prime:_0x13d391}=_0x4ec3eb;return this[_0x3f53c0(0x26a)](_0x13d391),this;}throw _0x4ec3eb[_0x3f53c0(0x335)];}catch(_0x529519){return this[_0x3f53c0(0x353)]['error'](_0x529519),this[_0x3f53c0(0x406)](!0x1);}}[_0x1cf15a(0x406)](_0x37fe27){var _0x2ab637=_0x1cf15a;return this[_0x2ab637(0x1bb)]['createInstance'](le,this[_0x2ab637(0x1df)],this['type'],null,[],this[_0x2ab637(0x3ab)],_0x37fe27);}[_0x1cf15a(0x379)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1cf15a(0x38b)](){var _0x5b37b2=_0x1cf15a;throw new Error(_0x5b37b2(0x30e));}[_0x1cf15a(0x333)](){return this;}[_0x1cf15a(0x223)](){var _0x45901e=_0x1cf15a;return this[_0x45901e(0x1bb)][_0x45901e(0x176)](ue,this[_0x45901e(0x1df)],this[_0x45901e(0x220)],null,[],this[_0x45901e(0x3ab)]);}[_0x1cf15a(0x183)](){return this;}[_0x1cf15a(0x3fb)](){var _0x3e069c=_0x1cf15a;throw new Error(_0x3e069c(0x337));}[_0x1cf15a(0x2c4)](){var _0x340312=_0x1cf15a;const _0x5aa4c0=this[_0x340312(0x229)][_0x340312(0x198)](this[_0x340312(0x1df)]);return this[_0x340312(0x3ab)][_0x340312(0x42d)]({'from':_0x5aa4c0,'to':0x0}),this[_0x340312(0x1bb)]['createInstance'](Q,this[_0x340312(0x1df)],this['type'],null,[],null,[],this[_0x340312(0x3ab)]);}};ye=Ie([P(0x3,_0x4395c3(_0x471d83)),P(0x4,_0x4395c3(_0xac3c15)),P(0x5,_0x1ed94f),P(0x6,_0x751d12),P(0x7,_0x1ffba8),P(0x8,_0x3226d7),P(0x9,_0x3ede3c(J))],ye);let re=class extends Te{constructor(_0x3c951a,_0x1b3e2b,_0xb4fd49,_0x5ea54a,_0x14421d,_0x317bc3,_0x17c417,_0x18edb8,_0x207de3,_0x1487ff,_0x39d32b,_0x53cb42,_0x4e7d49,_0x9a5a){var _0xb92587=_0x1cf15a;super(_0x3c951a,_0x1b3e2b,null,_0xb4fd49,_0x5ea54a,_0x207de3,_0x4e7d49,_0x317bc3,_0x9a5a),N(this,_0xb92587(0x1bc),_0xb92587(0x18c)),N(this,_0xb92587(0x336),null),N(this,'_sendingTimer',null),(this[_0xb92587(0x1bb)]=_0x14421d,this[_0xb92587(0x1f2)]=_0x17c417,this[_0xb92587(0x353)]=_0x18edb8,this[_0xb92587(0x40d)]=_0x1487ff,this[_0xb92587(0x2e2)]=_0x39d32b,this['_univerInstanceService']=_0x53cb42);}[_0x1cf15a(0x292)](_0x671099){var _0x320e4c=_0x1cf15a;return this[_0x320e4c(0x1dd)][_0x320e4c(0x39c)](_0x671099),this[_0x320e4c(0x23e)](),this;}['onRemoteChangeset'](_0x5b6541){var _0x388adc=_0x1cf15a;if(this[_0x388adc(0x22f)](_0x5b6541))return this['_clearScheduledTask'](),this[_0x388adc(0x1bb)]['createInstance'](Q,this[_0x388adc(0x1df)],this[_0x388adc(0x220)],null,this[_0x388adc(0x1dd)],null,[_0x5b6541],this['_handler']);try{const _0x239e80=this['_transformService'][_0x388adc(0x17b)](_0x5b6541,this[_0x388adc(0x1dd)]);if(_0x4923e4(_0x239e80)){const {c1Prime:_0x1c0896,m2Prime:_0x5b9adc}=_0x239e80;this[_0x388adc(0x26a)](_0x1c0896);const _0x46f1f7=this['_injector'][_0x388adc(0x176)](re,this[_0x388adc(0x1df)],this[_0x388adc(0x220)],_0x5b9adc,this[_0x388adc(0x3ab)]);this[_0x388adc(0x360)]();const _0xb0916=new Date()[_0x388adc(0x41e)](),_0x5d9f44=this[_0x388adc(0x336)]?Math['max'](this[_0x388adc(0x336)]-_0xb0916,0x0):this[_0x388adc(0x3cb)]();return _0x46f1f7[_0x388adc(0x159)](_0x5d9f44),_0x46f1f7;}throw _0x239e80[_0x388adc(0x335)];}catch(_0x28a26d){return this[_0x388adc(0x353)][_0x388adc(0x335)](_0x28a26d),this['_onConflict'](!0x1);}}[_0x1cf15a(0x379)](){var _0x5e5cf3=_0x1cf15a;throw new Error(_0x5e5cf3(0x184));}[_0x1cf15a(0x38b)](){var _0x4d3674=_0x1cf15a;throw new Error(_0x4d3674(0x3a3));}[_0x1cf15a(0x333)](){return this;}[_0x1cf15a(0x223)](){var _0x1aba70=_0x1cf15a;return this[_0x1aba70(0x360)](),this[_0x1aba70(0x1bb)][_0x1aba70(0x176)](ue,this[_0x1aba70(0x1df)],this[_0x1aba70(0x220)],null,this['_pendingMutations'],this[_0x1aba70(0x3ab)]);}[_0x1cf15a(0x183)](){return this;}[_0x1cf15a(0x159)](_0x47ba40){var _0x358414=_0x1cf15a;const _0x21fc28=_0x47ba40!=null?_0x47ba40:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x358414(0x41e)]()+_0x21fc28,this[_0x358414(0x26d)]=setTimeout(()=>{var _0x56a2b1=_0x358414;this[_0x56a2b1(0x360)]();let _0x2b8749=null;switch(this[_0x56a2b1(0x220)]){case Z[_0x56a2b1(0x355)]:{_0x2b8749=Wt(this[_0x56a2b1(0x1dd)],this[_0x56a2b1(0x1df)],this['_univerInstanceService'],this[_0x56a2b1(0x229)],this[_0x56a2b1(0x1f2)]);break;}case Z['UNIVER_DOC']:{this[_0x56a2b1(0x1dd)][_0x56a2b1(0x203)](_0x10ff1e=>_0x10ff1e['id']===_0x9099a8['id'])?_0x2b8749=zs(this[_0x56a2b1(0x1dd)],this[_0x56a2b1(0x1df)],this[_0x56a2b1(0x2d9)],this[_0x56a2b1(0x229)],this[_0x56a2b1(0x1f2)]):_0x2b8749=Wt(this['_pendingMutations'],this[_0x56a2b1(0x1df)],this[_0x56a2b1(0x2d9)],this['_revisionService'],this[_0x56a2b1(0x1f2)]);break;}default:throw new Error(_0x56a2b1(0x313)+this[_0x56a2b1(0x220)]+_0x56a2b1(0x294));}const {changeset:_0x281e6e,pendingMutations:_0x1f9e10}=_0x2b8749;this[_0x56a2b1(0x3ab)]['onSendChangeset'](_0x281e6e);const _0x49d185=_0x1f9e10[_0x56a2b1(0x25a)]?this['_injector'][_0x56a2b1(0x176)](ae,this[_0x56a2b1(0x1df)],this[_0x56a2b1(0x220)],_0x281e6e,_0x1f9e10,this['_handler'],void 0x0):this[_0x56a2b1(0x1bb)][_0x56a2b1(0x176)](_e,this[_0x56a2b1(0x1df)],this[_0x56a2b1(0x220)],_0x281e6e,this[_0x56a2b1(0x3ab)]);_0x49d185[_0x56a2b1(0x23e)](),this[_0x56a2b1(0x3ab)][_0x56a2b1(0x1d0)](this,_0x49d185);},_0x21fc28);}[_0x1cf15a(0x3cb)](){var _0x5abcb6=_0x1cf15a,_0x1b5936;const _0xac9253=this[_0x5abcb6(0x40d)][_0x5abcb6(0x2bf)](K);return(_0x1b5936=_0xac9253==null?void 0x0:_0xac9253[_0x5abcb6(0x255)])!=null?_0x1b5936:ms;}[_0x1cf15a(0x3fb)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1cf15a(0x360)](){var _0x12b260=_0x1cf15a;this[_0x12b260(0x26d)]!=null&&(clearTimeout(this[_0x12b260(0x26d)]),this[_0x12b260(0x26d)]=null);}[_0x1cf15a(0x406)](_0x45af17){var _0x48c5c9=_0x1cf15a;return this[_0x48c5c9(0x360)](),this[_0x48c5c9(0x1bb)][_0x48c5c9(0x176)](le,this[_0x48c5c9(0x1df)],this[_0x48c5c9(0x220)],null,this['_pendingMutations'],this[_0x48c5c9(0x3ab)],_0x45af17);}};re=Ie([P(0x4,_0x4395c3(_0xac3c15)),P(0x5,_0x4395c3(_0x471d83)),P(0x6,_0x4395c3(Pe)),P(0x7,_0x1ffba8),P(0x8,_0x751d12),P(0x9,_0x149db4),P(0xa,_0x3226d7),P(0xb,_0x125d03),P(0xc,_0x1ed94f),P(0xd,_0x3ede3c(J))],re);let _e=class extends Te{constructor(_0x356b49,_0x16a34b,_0x25d215,_0x575898,_0x1663b4,_0x5cb195,_0x5b6899,_0x482629,_0x324233,_0x4f6ade,_0x3e0252){var _0xd639d6=_0x1cf15a;super(_0x356b49,_0x16a34b,_0x25d215,[],_0x575898,_0x5b6899,_0x4f6ade,_0x5cb195,_0x3e0252),N(this,_0xd639d6(0x1bc),_0xd639d6(0x1ce)),N(this,_0xd639d6(0x1ad),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this['_injector']=_0x1663b4,this[_0xd639d6(0x353)]=_0x482629,this[_0xd639d6(0x2e2)]=_0x324233);}['appendMutation'](_0x2e520e){var _0x33bd4c=_0x1cf15a;this[_0x33bd4c(0x360)]();const _0x16977b=this[_0x33bd4c(0x1bb)][_0x33bd4c(0x176)](ae,this[_0x33bd4c(0x1df)],this[_0x33bd4c(0x220)],this['_awaitingChangeset'],[_0x2e520e],this['_handler'],this['_resendTimer']);return _0x16977b[_0x33bd4c(0x23e)](),_0x16977b;}[_0x1cf15a(0x319)](_0x4321cb){var _0x51502b=_0x1cf15a;if(this[_0x51502b(0x22f)](_0x4321cb))return this[_0x51502b(0x360)](),this['_injector']['createInstance'](Q,this[_0x51502b(0x1df)],this[_0x51502b(0x220)],this[_0x51502b(0x3eb)],[],null,[_0x4321cb],this[_0x51502b(0x3ab)]);try{const _0x2165a9=this[_0x51502b(0x2e2)][_0x51502b(0x17f)]([_0x4321cb],[this[_0x51502b(0x3eb)]],!0x1);if(_0x40451d(_0x2165a9)){const {c1Prime:_0x517e6c,c2Prime:_0x61b891}=_0x2165a9;this['_executeRemoteChangeset'](_0x517e6c[0x0]),_0x61b891[0x0][_0x51502b(0x346)]=this[_0x51502b(0x31b)](),this[_0x51502b(0x360)]();const _0x4297f8=this['_injector'][_0x51502b(0x176)](_e,this[_0x51502b(0x1df)],this[_0x51502b(0x220)],_0x61b891[0x0],this['_handler']);return _0x4297f8[_0x51502b(0x23e)](),_0x4297f8;}return this[_0x51502b(0x406)](!0x1);}catch(_0x538d87){return this[_0x51502b(0x353)][_0x51502b(0x335)](_0x538d87),this[_0x51502b(0x406)](!0x1);}}[_0x1cf15a(0x379)](_0xfd14d2){var _0x17881d=_0x1cf15a;this[_0x17881d(0x360)]();const _0x308814=this[_0x17881d(0x229)][_0x17881d(0x198)](this[_0x17881d(0x1df)]);if(_0xfd14d2['revision']<_0x308814-0x1)return this;if(this[_0x17881d(0x22f)](_0xfd14d2))return this[_0x17881d(0x1bb)]['createInstance'](Q,this['unitID'],this['type'],null,[],this[_0x17881d(0x3eb)],[],this['_handler']);this[_0x17881d(0x41d)]();const _0x2b22b6=this[_0x17881d(0x1bb)][_0x17881d(0x176)](ye,this[_0x17881d(0x1df)],this[_0x17881d(0x220)],this[_0x17881d(0x3ab)]);return _0x2b22b6[_0x17881d(0x23e)](),_0x2b22b6;}[_0x1cf15a(0x38b)](_0x5cafd6){var _0x9fc729=_0x1cf15a;return this[_0x9fc729(0x406)](!!(_0x5cafd6!=null&&_0x5cafd6[_0x9fc729(0x39a)]));}[_0x1cf15a(0x333)](_0x506bdd){var _0x16a895=_0x1cf15a;return this['_resendTimeout']>Ci?this['toggleOffline']():(this[_0x16a895(0x2b3)]=Ii(this[_0x16a895(0x1ad)],{'timeout':this[_0x16a895(0x1ad)],'reqId':_0x506bdd[_0x16a895(0x1d4)]}),this['_sender']=this['_resendTimer'][_0x16a895(0x41f)](({reqId:_0x296031,timeout:_0xc4d5f3})=>{var _0x12c30d=_0x16a895;this[_0x12c30d(0x2fe)](_0x296031,_0xc4d5f3);}),this);}['toggleOffline'](){var _0x51b965=_0x1cf15a;return this[_0x51b965(0x360)](),this['_injector'][_0x51b965(0x176)](ue,this[_0x51b965(0x1df)],this[_0x51b965(0x220)],this['_awaitingChangeset'],[],this['_handler']);}[_0x1cf15a(0x183)](){return this;}[_0x1cf15a(0x3fb)](){var _0x31ab06=_0x1cf15a;this[_0x31ab06(0x3ab)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x1cf15a(0x406)](_0x417ef0){var _0x583a47=_0x1cf15a;return this[_0x583a47(0x360)](),this[_0x583a47(0x1bb)][_0x583a47(0x176)](le,this[_0x583a47(0x1df)],this[_0x583a47(0x220)],this['_awaitingChangeset'],[],this['_handler'],_0x417ef0);}[_0x1cf15a(0x2fe)](_0xcb0248,_0x682477){var _0x3e1868=_0x1cf15a,_0x405bd9;_0xcb0248===((_0x405bd9=this[_0x3e1868(0x3eb)])==null?void 0x0:_0x405bd9[_0x3e1868(0x1d4)])&&(this[_0x3e1868(0x3fb)](),this[_0x3e1868(0x1ad)]=_0x682477===0x0?0x3e8:_0x682477*0x2);}[_0x1cf15a(0x360)](){var _0x25db60=_0x1cf15a,_0x424eaf;(_0x424eaf=this[_0x25db60(0x1e8)])==null||_0x424eaf[_0x25db60(0x224)](),this[_0x25db60(0x1ad)]=0x0;}};_e=Ie([P(0x4,_0x4395c3(_0xac3c15)),P(0x5,_0x4395c3(_0x471d83)),P(0x6,_0x751d12),P(0x7,_0x1ffba8),P(0x8,_0x3226d7),P(0x9,_0x1ed94f),P(0xa,_0x3ede3c(J))],_e);let ae=class extends Te{constructor(_0x2489d9,_0x3a736c,_0x1cb250,_0xbede5b,_0x53339d,_0x28692d,_0x11647f,_0x2d2ef1,_0x48b330,_0x4c2c2a,_0x26425f,_0x351d89,_0x38158a){var _0x39d870=_0x1cf15a;super(_0x2489d9,_0x3a736c,_0x1cb250,_0xbede5b,_0x53339d,_0x48b330,_0x351d89,_0x2d2ef1,_0x38158a),N(this,_0x39d870(0x1bc),_0x39d870(0x431)),N(this,_0x39d870(0x1ad),0x0),N(this,_0x39d870(0x2b3)),N(this,_0x39d870(0x1e8)),(this[_0x39d870(0x1bb)]=_0x11647f,this[_0x39d870(0x353)]=_0x4c2c2a,this['_transformService']=_0x26425f,this[_0x39d870(0x2de)]=_0x38158a,_0x28692d&&(this[_0x39d870(0x2b3)]=_0x28692d,this[_0x39d870(0x1e8)]=this[_0x39d870(0x2b3)]['subscribe'](({reqId:_0x566605,timeout:_0xd2c7a7})=>{this['_resendWithTimeout'](_0x566605,_0xd2c7a7);})));}[_0x1cf15a(0x292)](_0x242a56){var _0x3b6af3=_0x1cf15a;return this[_0x3b6af3(0x1dd)]['push'](_0x242a56),this;}[_0x1cf15a(0x319)](_0x321799){var _0x10486f=_0x1cf15a;if(this['_checkMissing'](_0x321799))return this[_0x10486f(0x360)](),this['_injector']['createInstance'](Q,this['unitID'],this[_0x10486f(0x220)],this[_0x10486f(0x3eb)],this[_0x10486f(0x1dd)],null,[_0x321799],this['_handler']);try{const _0x28e167=this[_0x10486f(0x2e2)][_0x10486f(0x17f)]([_0x321799],[this[_0x10486f(0x3eb)]],!0x1);if(_0x40451d(_0x28e167)){const {c1Prime:_0x1de378,c2Prime:_0x45acf5}=_0x28e167,_0x3e7e7d=this[_0x10486f(0x2e2)][_0x10486f(0x17b)](_0x1de378[0x0],this[_0x10486f(0x1dd)]);if(_0x4923e4(_0x3e7e7d)){const {c1Prime:_0x1fbc4d,m2Prime:_0x912bf0}=_0x3e7e7d;return this['_executeRemoteChangeset'](_0x1fbc4d),_0x45acf5[0x0][_0x10486f(0x346)]=this[_0x10486f(0x31b)](),this[_0x10486f(0x360)](),this['_injector'][_0x10486f(0x176)](ae,this[_0x10486f(0x1df)],this[_0x10486f(0x220)],_0x45acf5[0x0],_0x912bf0,this[_0x10486f(0x3ab)],void 0x0);}throw _0x3e7e7d[_0x10486f(0x335)];}throw _0x28e167[_0x10486f(0x335)];}catch(_0x5ee5cc){return this[_0x10486f(0x353)][_0x10486f(0x335)](_0x5ee5cc),this['_onConflict'](!0x1);}}[_0x1cf15a(0x379)](_0x3b2e52){var _0x16cadb=_0x1cf15a;if(this[_0x16cadb(0x360)](),this[_0x16cadb(0x22f)](_0x3b2e52))return this['_injector'][_0x16cadb(0x176)](Q,this['unitID'],this[_0x16cadb(0x220)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x16cadb(0x3ab)]);this['_incrementRevisionNumber']();const _0x22b29f=this[_0x16cadb(0x1bb)]['createInstance'](re,this[_0x16cadb(0x1df)],this[_0x16cadb(0x220)],this[_0x16cadb(0x1dd)],this['_handler']);return _0x22b29f[_0x16cadb(0x159)](),_0x22b29f[_0x16cadb(0x23e)](),_0x22b29f;}[_0x1cf15a(0x38b)](_0x2f5ca0){var _0x3ca4ee=_0x1cf15a;return this[_0x3ca4ee(0x406)](!!(_0x2f5ca0!=null&&_0x2f5ca0[_0x3ca4ee(0x39a)]));}[_0x1cf15a(0x333)](_0x116c9d){var _0x49d300=_0x1cf15a;return this['_resendTimeout']>Ci?this[_0x49d300(0x223)]():(this[_0x49d300(0x2b3)]=Ii(this[_0x49d300(0x1ad)],{'timeout':this[_0x49d300(0x1ad)],'reqId':_0x116c9d[_0x49d300(0x1d4)]}),this['_sender']=this[_0x49d300(0x2b3)]['subscribe'](({reqId:_0x42c684,timeout:_0x90d827})=>{var _0x575fae=_0x49d300;this[_0x575fae(0x2fe)](_0x42c684,_0x90d827);}),this);}[_0x1cf15a(0x223)](){var _0x5d2e72=_0x1cf15a;return this[_0x5d2e72(0x360)](),this[_0x5d2e72(0x1bb)][_0x5d2e72(0x176)](ue,this[_0x5d2e72(0x1df)],this[_0x5d2e72(0x220)],this[_0x5d2e72(0x3eb)],this[_0x5d2e72(0x1dd)],this[_0x5d2e72(0x3ab)]);}[_0x1cf15a(0x183)](){return this;}[_0x1cf15a(0x3fb)](){var _0x89e75=_0x1cf15a;this['_handler'][_0x89e75(0x1f0)](this[_0x89e75(0x3eb)]);}[_0x1cf15a(0x406)](_0x299bad){var _0x54025b=_0x1cf15a;return this[_0x54025b(0x360)](),this[_0x54025b(0x1bb)]['createInstance'](le,this[_0x54025b(0x1df)],this[_0x54025b(0x220)],null,this[_0x54025b(0x1dd)],this[_0x54025b(0x3ab)],_0x299bad);}[_0x1cf15a(0x2fe)](_0x33ef4e,_0x1f10ee){var _0xb48cf8=_0x1cf15a,_0x474c41;_0x33ef4e===((_0x474c41=this[_0xb48cf8(0x3eb)])==null?void 0x0:_0x474c41[_0xb48cf8(0x1d4)])&&(this[_0xb48cf8(0x3fb)](),this[_0xb48cf8(0x1ad)]=_0x1f10ee===0x0?0x3e8:_0x1f10ee*0x2);}['_clearScheduledTask'](){var _0x511343=_0x1cf15a,_0x25c40e;(_0x25c40e=this[_0x511343(0x1e8)])==null||_0x25c40e[_0x511343(0x224)](),this[_0x511343(0x1ad)]=0x0;}};ae=Ie([P(0x6,_0x4395c3(_0xac3c15)),P(0x7,_0x4395c3(_0x471d83)),P(0x8,_0x751d12),P(0x9,_0x1ffba8),P(0xa,_0x3226d7),P(0xb,_0x1ed94f),P(0xc,_0x3ede3c(J))],ae);let le=class extends Te{constructor(_0x59eb1b,_0x1a070f,_0x11f01e,_0x4d2abb,_0x2fae2f,_0x2789f6=!0x1,_0x3cf414,_0x398d48,_0x145b35,_0x3cea29,_0x5306c5,_0x56fca8,_0xe9b3e0){var _0x53f430=_0x1cf15a;super(_0x59eb1b,_0x1a070f,_0x11f01e,_0x4d2abb,_0x2fae2f,_0x398d48,_0x145b35,_0x3cea29,_0xe9b3e0),N(this,_0x53f430(0x1bc),_0x53f430(0x2bd)),(this[_0x53f430(0x3ba)]=_0x2789f6,this['_permissionService']=_0x3cf414,this[_0x53f430(0x341)]=_0x5306c5,this[_0x53f430(0x1b4)]=_0x56fca8,this[_0x53f430(0x2de)]=_0xe9b3e0,this[_0x53f430(0x1b5)](),this[_0x53f430(0x40a)](),this[_0x53f430(0x2f2)]());}[_0x1cf15a(0x292)](){return this;}[_0x1cf15a(0x319)](){return this;}[_0x1cf15a(0x379)](){return this;}[_0x1cf15a(0x38b)](){return this;}['onRemoteRetry'](){return this;}[_0x1cf15a(0x223)](){return this;}[_0x1cf15a(0x183)](){return this;}[_0x1cf15a(0x3fb)](){var _0x5da55d=_0x1cf15a;throw new Error(_0x5da55d(0x1d6));}['_clearLocalCache'](){var _0x14c002=_0x1cf15a,_0x2462ed;(_0x2462ed=this[_0x14c002(0x37f)])==null||_0x2462ed[_0x14c002(0x1ed)](this[_0x14c002(0x1df)],this['type'],null,[]);}[_0x1cf15a(0x1b5)](){var _0x187f52=_0x1cf15a;this[_0x187f52(0x3ba)]?this[_0x187f52(0x1b4)]['emitEvent']({'id':ne[_0x187f52(0x383)]}):this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x187f52(0x286)]});}[_0x1cf15a(0x2f2)](){var _0x47a38e=_0x1cf15a;this[_0x47a38e(0x435)][_0x47a38e(0x3de)](new _0x56b723(this[_0x47a38e(0x1df)])['id'],!0x1);}};le=Ie([P(0x6,_0x4395c3(_0x4b2793)),P(0x7,_0x751d12),P(0x8,_0x1ed94f),P(0x9,_0x4395c3(_0x471d83)),P(0xa,_0x4395c3(_0x58db33)),P(0xb,_0x4395c3(ve)),P(0xc,_0x3ede3c(J))],le);let ue=class extends Te{constructor(_0x1ba063,_0x3eb4d9,_0x268ef7,_0x47d115,_0x2d5da1,_0xd27eae,_0x4fae14,_0x4b1dae,_0x290a5a,_0x2dad1c){var _0x6311c1=_0x1cf15a;super(_0x1ba063,_0x3eb4d9,_0x268ef7,_0x47d115,_0x2d5da1,_0x4b1dae,_0x290a5a,_0x4fae14,_0x2dad1c),N(this,_0x6311c1(0x1bc),'offline'),this[_0x6311c1(0x1bb)]=_0xd27eae;}[_0x1cf15a(0x292)](_0x1ee9aa){var _0x29add6=_0x1cf15a;return this[_0x29add6(0x1dd)][_0x29add6(0x39c)](_0x1ee9aa),this[_0x29add6(0x23e)](),this;}[_0x1cf15a(0x319)](_0x15b041){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1cf15a(0x379)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x1cf15a(0x38b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x1cf15a(0x333)](){return this;}['toggleOffline'](){return this;}[_0x1cf15a(0x183)](){var _0x1db930=_0x1cf15a;const {_injector:_0x1a7fe0,_pendingMutations:_0x1cc778,_awaitingChangeset:_0x59e123,unitID:_0x3ff6ac,_handler:_0x2b0cb9,type:_0x5e9a85}=this,_0x4fab6b=Ri(_0x1a7fe0,_0x3ff6ac,_0x5e9a85,_0x59e123,_0x1cc778,_0x2b0cb9);return _0x4fab6b instanceof re?_0x4fab6b[_0x1db930(0x159)]():(_0x4fab6b instanceof ae||_0x4fab6b instanceof _e)&&_0x4fab6b[_0x1db930(0x3fb)](),_0x4fab6b;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0x4395c3(_0xac3c15)),P(0x6,_0x4395c3(_0x471d83)),P(0x7,_0x751d12),P(0x8,_0x1ed94f),P(0x9,_0x3ede3c(J))],ue);let Q=class extends Te{constructor(_0x222e61,_0x2360e0,_0x540bc1,_0x419a98,_0x19900d,_0x29a203,_0x5b569c,_0x3a3088,_0x1455bb,_0x59cdfa,_0x2b3768,_0x54d70e,_0x37b93d,_0x9647fa){var _0x539aae=_0x1cf15a;super(_0x222e61,_0x2360e0,_0x540bc1,_0x419a98,_0x5b569c,_0x2b3768,_0x54d70e,_0x1455bb,_0x9647fa),N(this,_0x539aae(0x1bc),_0x539aae(0x3b6)),(this['_acknowledgedAwaitingChangeset']=_0x19900d,this[_0x539aae(0x3f1)]=_0x29a203,this[_0x539aae(0x1bb)]=_0x3a3088,this[_0x539aae(0x353)]=_0x59cdfa,this[_0x539aae(0x2e2)]=_0x37b93d,this[_0x539aae(0x2de)]=_0x9647fa);}['onMissedChangesetFetched'](_0x172263){var _0x40b244=_0x1cf15a;try{const _0x221a22=[..._0x172263,...this['_queuedRemoteChangesets']],_0x23d1b8=[this[_0x40b244(0x3eb)]||this[_0x40b244(0x30f)]]['filter'](_0x4503d1=>!!_0x4503d1);let _0x248773,_0x122b5f;if(_0x23d1b8['length']){const _0x2a6af=this['_transformService'][_0x40b244(0x17f)](_0x221a22,_0x23d1b8,!0x1);if(!_0x40451d(_0x2a6af))throw _0x2a6af[_0x40b244(0x335)];_0x248773=_0x2a6af['c1Prime'],_0x122b5f=_0x2a6af['c2Prime'];}else _0x248773=_0x221a22,_0x122b5f=[];let _0x1142b7=this['_pendingMutations'];_0x248773[_0x40b244(0x1ea)](_0x2824f3=>{var _0x32f094=_0x40b244;let _0x4b7078;if(_0x1142b7[_0x32f094(0x25a)]){const _0x5d4faf=this[_0x32f094(0x2e2)][_0x32f094(0x17b)](_0x2824f3,_0x1142b7);if(!_0x4923e4(_0x5d4faf))throw _0x5d4faf[_0x32f094(0x335)];_0x4b7078=_0x5d4faf[_0x32f094(0x2e7)],_0x1142b7=_0x5d4faf[_0x32f094(0x33d)];}else _0x4b7078=_0x2824f3;this[_0x32f094(0x26a)](_0x4b7078);}),this[_0x40b244(0x30f)]&&this[_0x40b244(0x41d)](),this[_0x40b244(0x3eb)]&&_0x122b5f[_0x40b244(0x25a)]&&(_0x122b5f[0x0][_0x40b244(0x346)]=this[_0x40b244(0x31b)]());let _0x5e71fc;if(this[_0x40b244(0x3eb)]&&_0x1142b7[_0x40b244(0x25a)]!==0x0)_0x5e71fc=this[_0x40b244(0x1bb)][_0x40b244(0x176)](ae,this[_0x40b244(0x1df)],this[_0x40b244(0x220)],_0x122b5f[0x0],_0x1142b7,this['_handler'],void 0x0);else{if(this[_0x40b244(0x3eb)]&&_0x1142b7[_0x40b244(0x25a)]===0x0)_0x122b5f[0x0]['baseRev']=this[_0x40b244(0x31b)](),_0x5e71fc=this['_injector'][_0x40b244(0x176)](_e,this[_0x40b244(0x1df)],this[_0x40b244(0x220)],_0x122b5f[0x0],this[_0x40b244(0x3ab)]);else{if(_0x1142b7[_0x40b244(0x25a)]!==0x0){const _0x193ae4=this['_injector'][_0x40b244(0x176)](re,this[_0x40b244(0x1df)],this[_0x40b244(0x220)],_0x1142b7,this[_0x40b244(0x3ab)]);_0x193ae4[_0x40b244(0x159)](),_0x5e71fc=_0x193ae4;}else _0x5e71fc=this[_0x40b244(0x1bb)]['createInstance'](ye,this[_0x40b244(0x1df)],this[_0x40b244(0x220)],this[_0x40b244(0x3ab)]);}}return _0x5e71fc[_0x40b244(0x23e)](),_0x5e71fc;}catch(_0x313629){return this[_0x40b244(0x353)][_0x40b244(0x335)](_0x40b244(0x2b2),_0x40b244(0x41b),_0x313629),this[_0x40b244(0x1bb)]['createInstance'](le,this[_0x40b244(0x1df)],this[_0x40b244(0x220)],this['_awaitingChangeset'],this[_0x40b244(0x1dd)],this[_0x40b244(0x3ab)],!0x1);}}[_0x1cf15a(0x3fb)](){var _0x1b3ce2=_0x1cf15a;throw new Error(_0x1b3ce2(0x308));}[_0x1cf15a(0x292)](_0x4f8297){return this['_pendingMutations']['push'](_0x4f8297),this;}[_0x1cf15a(0x319)](_0x4ab12b){var _0x5d7a9b=_0x1cf15a;return this[_0x5d7a9b(0x3f1)][_0x5d7a9b(0x39c)](_0x4ab12b),this;}[_0x1cf15a(0x379)](_0x2ed30a){var _0x473655=_0x1cf15a;if(this[_0x473655(0x3eb)])return this[_0x473655(0x30f)]=this['_awaitingChangeset'],this[_0x473655(0x3eb)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x408794){var _0x1fca6f=_0x1cf15a;return this[_0x1fca6f(0x406)](!!(_0x408794!=null&&_0x408794[_0x1fca6f(0x39a)]));}[_0x1cf15a(0x333)](){return this;}[_0x1cf15a(0x223)](){var _0x3e5e06=_0x1cf15a;return this[_0x3e5e06(0x1bb)][_0x3e5e06(0x176)](ue,this[_0x3e5e06(0x1df)],this['type'],this[_0x3e5e06(0x3eb)],this[_0x3e5e06(0x1dd)],this[_0x3e5e06(0x3ab)]);}[_0x1cf15a(0x183)](){return this;}[_0x1cf15a(0x406)](_0x414fd1){var _0xb41b47=_0x1cf15a;return this[_0xb41b47(0x1bb)]['createInstance'](le,this[_0xb41b47(0x1df)],this['type'],this[_0xb41b47(0x3eb)],this[_0xb41b47(0x1dd)],this[_0xb41b47(0x3ab)],_0x414fd1);}};Q=Ie([P(0x7,_0x4395c3(_0xac3c15)),P(0x8,_0x4395c3(_0x471d83)),P(0x9,_0x1ffba8),P(0xa,_0x751d12),P(0xb,_0x1ed94f),P(0xc,_0x3226d7),P(0xd,_0x3ede3c(J))],Q);function Ri(_0x56ec63,_0x4c78c3,_0x46027a,_0x405d60,_0x16c4c3,_0x2849c5){var _0x2f0ea7=_0x1cf15a;return _0x405d60&&_0x16c4c3[_0x2f0ea7(0x25a)]?_0x56ec63[_0x2f0ea7(0x176)](ae,_0x4c78c3,_0x46027a,_0x405d60,_0x16c4c3,_0x2849c5,void 0x0):_0x405d60?_0x56ec63['createInstance'](_e,_0x4c78c3,_0x46027a,_0x405d60,_0x2849c5):_0x16c4c3['length']?_0x56ec63[_0x2f0ea7(0x176)](re,_0x4c78c3,_0x46027a,_0x16c4c3,_0x2849c5):_0x56ec63['createInstance'](ye,_0x4c78c3,_0x46027a,_0x2849c5);}var Zs=Object['getOwnPropertyDescriptor'],wt=(_0xa612ab,_0x14d88f,_0x54eb36,_0x4a7c09)=>{for(var _0x260e84=_0x4a7c09>0x1?void 0x0:_0x4a7c09?Zs(_0x14d88f,_0x54eb36):_0x14d88f,_0x1f7d49=_0xa612ab['length']-0x1,_0x19d136;_0x1f7d49>=0x0;_0x1f7d49--)(_0x19d136=_0xa612ab[_0x1f7d49])&&(_0x260e84=_0x19d136(_0x260e84)||_0x260e84);return _0x260e84;},H=(_0x227a30,_0x485ce7)=>(_0xd77e8d,_0x51c85e)=>_0x485ce7(_0xd77e8d,_0x51c85e,_0x227a30);let st=class extends _0x18f2f0{constructor(_0x2f6fc9,_0x3c7824,_0x57bfc8,_0x33f4b8,_0x1a5025,_0x5cfb60,_0x478c0d,_0x9e850e,_0x48eab0,_0xc91429,_0x31f290,_0x479c6a,_0x39e499){var _0x4969e1=_0x1cf15a;super(),N(this,_0x4969e1(0x304),new _0x16d07d(null)),N(this,'state$',this['_state$'][_0x4969e1(0x17c)]()),N(this,_0x4969e1(0x42c)),N(this,'_collaborationPaused',!0x1),N(this,_0x4969e1(0x2a1),''),N(this,_0x4969e1(0x39d),0x0),N(this,_0x4969e1(0x404),this[_0x4969e1(0x144)][_0x4969e1(0x295)](_0x1e88a7(_0x2e28d8=>_0x2e28d8?_0x2e28d8[_0x4969e1(0x1bc)]:Ti[_0x4969e1(0x2be)]),_0xbd9f34(0x1))),N(this,_0x4969e1(0x2b1),!0x1),N(this,_0x4969e1(0x305),[]),(this[_0x4969e1(0x1df)]=_0x2f6fc9,this[_0x4969e1(0x35e)]=_0x3c7824,this[_0x4969e1(0x181)]=_0x57bfc8,this[_0x4969e1(0x1bb)]=_0x33f4b8,this['_compressMutationService']=_0x1a5025,this[_0x4969e1(0x341)]=_0x5cfb60,this[_0x4969e1(0x229)]=_0x478c0d,this['_eventService']=_0x9e850e,this[_0x4969e1(0x353)]=_0x48eab0,this[_0x4969e1(0x3bd)]=_0xc91429,this['_permissionService']=_0x31f290,this['_singleActiveUnitService']=_0x479c6a,this[_0x4969e1(0x37f)]=_0x39e499);}get['state'](){var _0x1f557c=_0x1cf15a;return this[_0x1f557c(0x42c)];}async[_0x1cf15a(0x348)](){var _0x5ed690=_0x1cf15a;if(this[_0x5ed690(0x2a3)])throw new Error(_0x5ed690(0x1ae));await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x40427e(()=>{var _0x254ced=_0x59f7;this[_0x254ced(0x21e)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x1cf15a(0x256)](_0x44c242){var _0x33b175=_0x1cf15a;this[_0x33b175(0x24d)](_0x44c242);}[_0x1cf15a(0x218)](_0x5c2b5a){var _0x2bd966=_0x1cf15a;this[_0x2bd966(0x42c)]=_0x5c2b5a,this[_0x2bd966(0x304)][_0x2bd966(0x200)](_0x5c2b5a);}async[_0x1cf15a(0x3d7)](){var _0x2a9084=_0x1cf15a,_0x2bf293;this['_updateState'](await this[_0x2a9084(0x3b9)]()),this['_singleActiveUnitService']&&((_0x2bf293=this[_0x2a9084(0x1d8)])==null||_0x2bf293[_0x2a9084(0x3bb)](this['unitID']),this[_0x2a9084(0x212)](this[_0x2a9084(0x1d8)][_0x2a9084(0x3d9)](this['unitID'])[_0x2a9084(0x41f)](_0x422fa2=>{var _0x823f34=_0x2a9084;this[_0x823f34(0x353)][_0x823f34(0x222)](_0x823f34(0x2b9),_0x823f34(0x24f),_0x422fa2),_0x422fa2===Ei[_0x823f34(0x1ee)]?(this[_0x823f34(0x1f9)][_0x823f34(0x301)]({'id':ne[_0x823f34(0x2ed)]}),this[_0x823f34(0x435)]['updatePermissionPoint'](new _0x56b723(this[_0x823f34(0x1df)])['id'],!0x1),this[_0x823f34(0x435)]['setShowComponents'](!0x1)):(this[_0x823f34(0x435)][_0x823f34(0x3de)](new _0x56b723(this[_0x823f34(0x1df)])['id'],!0x0),this[_0x823f34(0x435)][_0x823f34(0x283)](!0x0));})));let _0x5f24a9=!0x1;return this[_0x2a9084(0x212)](this['session'][_0x2a9084(0x3b4)]['subscribe'](_0x2717bf=>{var _0x2b3eec=_0x2a9084;_0x2717bf===Se[_0x2b3eec(0x400)]?this[_0x2b3eec(0x1da)](_0x5f24a9):_0x2717bf===Se['OFFLINE']&&(_0x5f24a9=!0x0,this[_0x2b3eec(0x221)]());})),this[_0x2a9084(0x212)](this['session'][_0x2a9084(0x2cf)]['subscribe'](_0x44bcf7=>{var _0x4d7a27=_0x2a9084;try{switch(_0x44bcf7['eventID']){case _0x29bafd[_0x4d7a27(0x234)]:{this[_0x4d7a27(0x3ef)](_0x6a586(_0x44bcf7['data']));break;}case _0x29bafd['CHANGESET_ACK']:{this[_0x4d7a27(0x266)](_0x44bcf7[_0x4d7a27(0x31c)]);break;}case _0x29bafd[_0x4d7a27(0x27b)]:{this[_0x4d7a27(0x36c)]();break;}case _0x29bafd[_0x4d7a27(0x302)]:{this[_0x4d7a27(0x364)](_0x44bcf7[_0x4d7a27(0x31c)]);break;}case _0x29bafd[_0x4d7a27(0x38a)]:{this['_onFetchMissResult'](_0x44bcf7[_0x4d7a27(0x31c)][_0x4d7a27(0x2c8)][_0x4d7a27(0x2d6)](_0x59303b=>_0x6a586(_0x59303b)));break;}case _0x29bafd[_0x4d7a27(0x306)]:{this[_0x4d7a27(0x36c)]({'isPermissionRej':!0x0});break;}case _0x29bafd[_0x4d7a27(0x245)]:break;}}catch(_0x411eaa){throw console[_0x4d7a27(0x335)](_0x4d7a27(0x303),_0x411eaa),_0x411eaa;}})),this[_0x2a9084(0x42c)];}['_unlockTransition'](){var _0x3832c4=_0x1cf15a;this[_0x3832c4(0x2b1)]=!0x1;}[_0x1cf15a(0x298)](){var _0x50e49d=_0x1cf15a;if(this[_0x50e49d(0x2b1)])throw new Error(_0x50e49d(0x168));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x2481f1){var _0x1e5258=_0x1cf15a;this[_0x1e5258(0x298)](),this[_0x1e5258(0x218)](this[_0x1e5258(0x42c)]['appendMutation'](_0x2481f1)),this[_0x1e5258(0x24c)]();}[_0x1cf15a(0x3ef)](_0x4ff4bf){var _0x458db2=_0x1cf15a;if(!(_0x4ff4bf[_0x458db2(0x317)]<=this[_0x458db2(0x229)][_0x458db2(0x198)](this[_0x458db2(0x1df)]))){if(this['_collaborationPaused']){this[_0x458db2(0x305)][_0x458db2(0x39c)](_0x4ff4bf);return;}this[_0x458db2(0x30a)](_0x4ff4bf);}}[_0x1cf15a(0x2a4)](){var _0x126323=_0x1cf15a;this[_0x126323(0x305)][_0x126323(0x1ea)](_0x5f5134=>this[_0x126323(0x30a)](_0x5f5134)),this[_0x126323(0x305)]=[];}[_0x1cf15a(0x30a)](_0x1b5304){var _0x26cd56=_0x1cf15a;const _0x1638ea=this['_compressMutationService']['interceptor'][_0x26cd56(0x2f0)](this[_0x26cd56(0x40c)][_0x26cd56(0x2ad)][_0x26cd56(0x195)]()[_0x26cd56(0x271)])(_0x1b5304['mutations'],null)||_0x1b5304[_0x26cd56(0x3ff)],_0x4af1ac={..._0x1b5304,'mutations':_0x1638ea};this[_0x26cd56(0x298)](),this[_0x26cd56(0x218)](this['_state']['onRemoteChangeset'](_0x4af1ac)),this['_unlockTransition']();}[_0x1cf15a(0x266)](_0x3c41ae){var _0x5f29d9=_0x1cf15a;this[_0x5f29d9(0x298)](),this[_0x5f29d9(0x218)](this[_0x5f29d9(0x42c)]['onRemoteAck'](_0x3c41ae)),this[_0x5f29d9(0x24c)]();}[_0x1cf15a(0x36c)](_0x184ed3){var _0x3d56af=_0x1cf15a;this['_lockTransition'](),this['_updateState'](this[_0x3d56af(0x42c)]['onRemoteRej'](_0x184ed3)),this[_0x3d56af(0x24c)]();}[_0x1cf15a(0x364)](_0x59a871){var _0x2a54c3=_0x1cf15a;this[_0x2a54c3(0x298)](),this[_0x2a54c3(0x218)](this[_0x2a54c3(0x42c)][_0x2a54c3(0x333)](_0x59a871)),this[_0x2a54c3(0x24c)]();}[_0x1cf15a(0x2b4)](_0x18bf58){var _0x63a60a=_0x1cf15a;if(!(this[_0x63a60a(0x42c)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x29e6d7=_0x18bf58['map'](_0x200547=>{var _0x15b2dc=_0x63a60a;const _0x313075=this[_0x15b2dc(0x40c)][_0x15b2dc(0x2ad)][_0x15b2dc(0x2f0)](this['_compressMutationService'][_0x15b2dc(0x2ad)][_0x15b2dc(0x195)]()['COMPRESS_MUTATION_APPLY'])(_0x200547[_0x15b2dc(0x3ff)],null)||_0x200547['mutations'];return{..._0x200547,'mutations':_0x313075};});this[_0x63a60a(0x298)](),this[_0x63a60a(0x218)](this['_state']['onMissedChangesetFetched'](_0x29e6d7)),this[_0x63a60a(0x24c)]();}[_0x1cf15a(0x221)](){var _0x2ab3de=_0x1cf15a;this[_0x2ab3de(0x298)](),this[_0x2ab3de(0x218)](this[_0x2ab3de(0x42c)]['toggleOffline']()),this['_unlockTransition']();}[_0x1cf15a(0x1da)](_0x42828c=!0x1){var _0x268ae9=_0x1cf15a;this[_0x268ae9(0x298)](),this[_0x268ae9(0x218)](this[_0x268ae9(0x42c)][_0x268ae9(0x183)]()),this['_unlockTransition']();const _0xaff9ee=this['_state'];_0x42828c&&_0xaff9ee instanceof ye&&(this[_0x268ae9(0x298)](),this[_0x268ae9(0x218)](_0xaff9ee[_0x268ae9(0x2c4)]()),this['_unlockTransition']());}async[_0x1cf15a(0x3b9)](){return new Promise(_0x2ef514=>{var _0x27d07a=_0x59f7;this[_0x27d07a(0x35e)][_0x27d07a(0x3b4)]['pipe'](_0x47a6dd(0x1))[_0x27d07a(0x41f)](async _0x4e276c=>{var _0x5e2eaf=_0x27d07a;_0x2ef514(await this['_createInitialStateImpl'](_0x4e276c===Se[_0x5e2eaf(0x400)]));});});}[_0x1cf15a(0x14c)](){var _0x2ffd71=_0x1cf15a;const _0x6ea537=this[_0x2ffd71(0x1df)];return{'onStateChange':(_0x3d4893,_0x15517e)=>{var _0x52d03c=_0x2ffd71;if(_0x3d4893!==this[_0x52d03c(0x42c)])throw new Error(_0x52d03c(0x2c7)+_0x3d4893[_0x52d03c(0x1bc)]+'\x0aAfter:\x20'+_0x15517e[_0x52d03c(0x1bc)]+_0x52d03c(0x3a1)+this[_0x52d03c(0x42c)][_0x52d03c(0x1bc)]);this[_0x52d03c(0x218)](_0x15517e);},'onSendChangeset':_0x3db516=>{var _0x367642=_0x2ffd71;_0x3db516[_0x367642(0x366)]||(_0x3db516[_0x367642(0x366)]=this[_0x367642(0x2a1)],_0x3db516[_0x367642(0x1d4)]=++this[_0x367642(0x39d)]);const _0x45dac6={'eventID':_0x29bafd[_0x367642(0x253)],'data':{'unitID':_0x3db516[_0x367642(0x1df)],'unitType':this['_type'],'changeset':_0x3db516,'memberID':this[_0x367642(0x35e)][_0x367642(0x30b)]()}};this['session'][_0x367642(0x441)](_0x45dac6,this[_0x367642(0x1df)]);},'onMissingChangesets':({from:_0x10e56d,to:_0x3a4084})=>{var _0x52074c=_0x2ffd71;this[_0x52074c(0x353)]['debug'](_0x52074c(0x2b9),_0x52074c(0x2cc)+_0x10e56d+'\x20to\x20'+_0x3a4084);const _0x2346b4={'eventID':_0x29bafd['FETCH_MISSING'],'data':{'unitID':_0x6ea537,'unitType':this[_0x52074c(0x181)],'from':_0x10e56d,'to':_0x3a4084}};this[_0x52074c(0x35e)]['send'](_0x2346b4,this[_0x52074c(0x1df)]);}};}async['_createInitialStateImpl'](_0x20c84c){var _0x127ab4=_0x1cf15a,_0x5b0694,_0xe381b7,_0x5f10ef;const _0x344a90=await((_0x5b0694=this[_0x127ab4(0x37f)])==null?void 0x0:_0x5b0694[_0x127ab4(0x28f)](this[_0x127ab4(0x1df)])),_0x25fb8b=(_0xe381b7=_0x344a90==null?void 0x0:_0x344a90['mutations'])!=null?_0xe381b7:[],_0x42b930=(_0x5f10ef=_0x344a90==null?void 0x0:_0x344a90[_0x127ab4(0x23a)])!=null?_0x5f10ef:null,_0x4a849a=!!(_0x42b930!=null&&_0x42b930[_0x127ab4(0x366)])&&!!(_0x42b930!=null&&_0x42b930['reqId']);this[_0x127ab4(0x2a1)]=_0x4a849a?_0x42b930['sid']:_0x5a0cbf(),this[_0x127ab4(0x39d)]=_0x4a849a?_0x42b930[_0x127ab4(0x1d4)]:0x0;const _0x47a4e0=this[_0x127ab4(0x1df)];try{this[_0x127ab4(0x2fa)](_0x42b930,_0x25fb8b);}catch(_0x2e3f49){this[_0x127ab4(0x353)][_0x127ab4(0x335)](_0x2e3f49);}const _0x20eca2=this[_0x127ab4(0x14c)]();if(_0x20c84c){const _0x47a983=Ri(this[_0x127ab4(0x1bb)],_0x47a4e0,this[_0x127ab4(0x181)],_0x42b930,_0x25fb8b,_0x20eca2);return _0x47a983 instanceof re?_0x47a983[_0x127ab4(0x159)]():(_0x47a983 instanceof ae||_0x47a983 instanceof _e)&&_0x47a983[_0x127ab4(0x3fb)](),_0x47a983;}return this[_0x127ab4(0x1bb)][_0x127ab4(0x176)](ue,_0x47a4e0,this[_0x127ab4(0x181)],_0x42b930,_0x25fb8b,_0x20eca2);}[_0x1cf15a(0x2fa)](_0x401a08,_0x3496c1){var _0x23e308=_0x1cf15a,_0x5777b7,_0x42d7c5;const _0x491d17=this[_0x23e308(0x40c)][_0x23e308(0x2ad)][_0x23e308(0x2f0)](this[_0x23e308(0x40c)]['interceptor'][_0x23e308(0x195)]()[_0x23e308(0x271)]);(_0x5777b7=_0x491d17((_0x401a08==null?void 0x0:_0x401a08[_0x23e308(0x3ff)])||[],null))==null||_0x5777b7[_0x23e308(0x1ea)](_0x375cfd=>this[_0x23e308(0x3bd)][_0x23e308(0x1f7)](_0x375cfd['id'],_0x375cfd[_0x23e308(0x3bc)])),(_0x42d7c5=_0x491d17(_0x3496c1||[],null))==null||_0x42d7c5[_0x23e308(0x1ea)](_0x5238de=>this['_commandService'][_0x23e308(0x1f7)](_0x5238de['id'],_0x5238de[_0x23e308(0x3bc)]));}};st=wt([H(0x3,_0x4395c3(_0xac3c15)),H(0x4,_0x4395c3(_0x10c1b2)),H(0x5,_0x4395c3(_0x58db33)),H(0x6,_0x4395c3(_0x471d83)),H(0x7,_0x4395c3(ve)),H(0x8,_0x1ffba8),H(0x9,_0x751d12),H(0xa,_0x4b2793),H(0xb,_0x3ede3c(ht)),H(0xc,_0x3ede3c(J))],st);let St=class extends st{constructor(_0x182e78,_0x13b3ff,_0x1d9db8,_0x47afcd,_0xf11409,_0x12e9cc,_0x23cbf4,_0x1b9a93,_0x149e94,_0x9ab8e4,_0x3cc2be,_0x12b5d6,_0x545926){var _0x10aeee=_0x1cf15a;super(_0x182e78,_0x1d9db8,_0x13b3ff,_0x47afcd,_0xf11409,_0x12e9cc,_0x23cbf4,_0x1b9a93,_0x149e94,_0x9ab8e4,_0x3cc2be,_0x12b5d6,_0x545926),N(this,'_handlerCallback',null),(this[_0x10aeee(0x1df)]=_0x182e78,this[_0x10aeee(0x220)]=_0x13b3ff);}[_0x1cf15a(0x3a7)](_0x8a2362){var _0x1f5f34=_0x1cf15a;this[_0x1f5f34(0x215)]=_0x8a2362;}['dispose'](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x579cda=_0x1cf15a;const _0x5cedf6=super['_createHandler']();return _0x5cedf6['onTransformIME']=_0x4f7b77=>{var _0x17fc9e=_0x59f7,_0xfaec79,_0x1324d3;return(_0x1324d3=(_0xfaec79=this[_0x17fc9e(0x215)])==null?void 0x0:_0xfaec79[_0x17fc9e(0x202)])==null?void 0x0:_0x1324d3['call'](_0xfaec79,_0x4f7b77);},_0x5cedf6[_0x579cda(0x385)]=_0x543ba6=>{var _0x4bec6b=_0x579cda,_0x2c3b0e,_0x3c199d;return(_0x3c199d=(_0x2c3b0e=this[_0x4bec6b(0x215)])==null?void 0x0:_0x2c3b0e[_0x4bec6b(0x385)])==null?void 0x0:_0x3c199d[_0x4bec6b(0x2ee)](_0x2c3b0e,_0x543ba6);},_0x5cedf6[_0x579cda(0x2a9)]=_0x774c2b=>{var _0x2db4e6=_0x579cda,_0x467801,_0x3ad4d0;return(_0x3ad4d0=(_0x467801=this[_0x2db4e6(0x215)])==null?void 0x0:_0x467801['onTransformSelections'])==null?void 0x0:_0x3ad4d0[_0x2db4e6(0x2ee)](_0x467801,_0x774c2b);},_0x5cedf6['onSyncEditingCollabCursor']=_0x56c415=>{var _0x370030=_0x579cda,_0x8b2193,_0x1d0537;return(_0x1d0537=(_0x8b2193=this[_0x370030(0x215)])==null?void 0x0:_0x8b2193[_0x370030(0x259)])==null?void 0x0:_0x1d0537['call'](_0x8b2193,_0x56c415);},_0x5cedf6['onTransformRemoteChangesetByIMECache']=_0x3fe980=>{var _0x3d5702=_0x579cda,_0x27ddd3,_0xb5a92,_0x1dbc04;if(!((_0x27ddd3=this[_0x3d5702(0x215)])!=null&&_0x27ddd3[_0x3d5702(0x434)]))throw new Error(_0x3d5702(0x246));return(_0x1dbc04=(_0xb5a92=this[_0x3d5702(0x215)])==null?void 0x0:_0xb5a92[_0x3d5702(0x434)])==null?void 0x0:_0x1dbc04['call'](_0xb5a92,_0x3fe980);},_0x5cedf6[_0x579cda(0x18b)]=_0x5ab9b3=>{var _0x56be9c=_0x579cda,_0x5dd87b,_0x2f937f,_0x5d5844;if(!((_0x5dd87b=this[_0x56be9c(0x215)])!=null&&_0x5dd87b[_0x56be9c(0x18b)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5d5844=(_0x2f937f=this[_0x56be9c(0x215)])==null?void 0x0:_0x2f937f['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5d5844['call'](_0x2f937f,_0x5ab9b3);},_0x5cedf6;}async[_0x1cf15a(0x3d7)](){var _0x1550a3=_0x1cf15a;const _0x187b8e=await super[_0x1550a3(0x3d7)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x925e09,_0x546be2)=>{var _0x4c0ed7=_0x1550a3;if(_0x925e09[_0x4c0ed7(0x220)]!==_0x1b7bc7['MUTATION']||_0x546be2!=null&&_0x546be2[_0x4c0ed7(0x25b)]||_0x546be2!=null&&_0x546be2[_0x4c0ed7(0x327)]||_0x925e09['id']===_0x9099a8['id'])return;const _0x259b59=_0x925e09['params'];if((_0x259b59==null?void 0x0:_0x259b59['unitId'])!==this[_0x4c0ed7(0x1df)])return;const _0x1ecb4f=_0x925e09,_0x41505c=this[_0x4c0ed7(0x40c)]['interceptor'][_0x4c0ed7(0x2f0)](this['_compressMutationService'][_0x4c0ed7(0x2ad)][_0x4c0ed7(0x195)]()[_0x4c0ed7(0x42f)])([_0x1ecb4f],null)||[_0x1ecb4f];this[_0x4c0ed7(0x24d)](_0x41505c[0x0]);})),_0x187b8e;}};St=wt([H(0x3,_0x4395c3(_0xac3c15)),H(0x4,_0x4395c3(_0x10c1b2)),H(0x5,_0x4395c3(_0x58db33)),H(0x6,_0x4395c3(_0x471d83)),H(0x7,_0x4395c3(ve)),H(0x8,_0x1ffba8),H(0x9,_0x751d12),H(0xa,_0x4b2793),H(0xb,_0x3ede3c(ht)),H(0xc,_0x3ede3c(J))],St);function _0x3299(){var _0x26e524=['_isPermissionRej','editingUnit','params','_commandService','createSocket','string','INTERNAL_ERROR','key','pad','enableSingleActiveInstanceLock','_rescheduleHeartbeat','subject','PERSON','socket\x20close','originalMeta','_onRecvEvent','BASE64','_getSendChangesetTimeout','csAckEvent','saveSnapshot','setConfig','addImageSourceCache','SHA1','includes','deepClone','UNRECOGNIZED','workbook','/object','2oLZdVM','_init','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getUnitStatus$','_clearCollaborationTimeoutTimer','_registerDependencies','FETCH_MISSING','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','updatePermissionPoint','reconnect','now','/universer-api/authz','_substituteRedoStack','CHANGESET_ACK','decryptBlock','encryptBlock','x-univer-host','getMember','_roomMembers','FAIL','Univer','_awaitingChangeset','_commentService','infoRsp','getSnapshotAPIPath','_onRemoteChangeset','range','_queuedRemoteChangesets','_sendHeartbeatTimer','ERROR_IMAGE','_snapshotServerService','WECHAT_HAS_BEEN_BOUND','/allowed','_onUserLeave','defineProperty','crypto','UNIVER_SLIDE','resend','[CollaborationUndoRedoService]','HEARTBEAT','getImage','mutations','ONLINE','parse','collaboration_new_changeset','/-/object/list','status$','name','_onConflict','cmd','image/jpg','splice','_clearLocalCache','_initCloseConn','_compressMutationService','_configService','RECV','close$','UnitEmbedded','Failed\x20to\x20update\x20permission\x20point','HmacMD5','_socketService','equals','_key','_waitCount','retryConnectingInterval','enableAuthServer','size','repeat','failed\x20to\x20apply\x20missed\x20changesets!','_replaceFileID','_incrementRevisionNumber','getTime','subscribe','_collaborationTimeoutTimer','_data','_decreaseWaiting','entityInit$','NOT_FOUND','_stopTelemetryCollaborationNewChangeset','UnitSnapshot','updateSnapshot','LICENSE_MAX_UNITS_EXCEEDED','override','WordArray','[CollaborationSessionService]','_state','onMissingChangesets','copyFileMeta','COMPRESS_MUTATION_SEND','_emitMembers','awaiting_with_pending','_tryEnsureSocket','resolve','onTransformRemoteChangesetByIMECache','_permissionService','apply','APPLY_DUPLICATED','enc','univer-pro.collaboration-client.single-active-unit-service','reject','sigBytes','JOIN_ROOM_NOT_EXISTS','connection\x20error','_submitChangeset','CHANGESET_REVISION_CONFILICT','YUUMI_TABLE_NOT_FOUND_IN_UNIT','send','UNIVER_UNKNOWN','closeSession','$super','loadUnit','_getAPIPrefix','CLOSE_ROOM','state$','COLLAB_SUBMIT_CHANGESET_URL','extend','/unit/','getFocusedUnit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','encode','_createHandler','EXCHANGE_SIGN_URL_SERVER_URL_KEY','821146wcJxUm','_candidateSocket','_unitInfo$','update','_shouldReportTelemetry','LIVESHARE_TERMINATE','ivSize','_minBufferSize','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','onload','_iv','_schedule','textRanges','reduce','_keyPriorReset','getCurrentSelections','collabWebSocketUrl','/rev/','stringify','_event$','allowed','code','[CollaborationState]:\x20apply\x20error!','MSG_FOR_ERROR','collaborators','find','[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.','Base','objectType','_sessions','10931679kdDrMg','hasher','open$','listRoles','telemetry\x20info\x20is\x20not\x20initialized','has','execute','charAt','COMPLETION_FINISHED','saveSheetBlock','createInstance','format','/universer-api/comb','ws://127.0.0.1:8000/universer-api/comb/connect','_mode','transformMutationsWithChangeset','asObservable','delete','_sessionStatus$','transformChangesets','href','_type','requestParams','toggleOnline','[PendingState]:\x20received\x20acknowledgement.','memberID','_onJoinRoomEvent','_roomCreated$','_DEC_XFORM_MODE','HttpImport','/collaborator','onTransformRemoteChangesetByStateCache','pending','SEND_CHANGESET_TIMEOUT','SNAPSHOT_SERVER_URL_KEY','/universer-api/uniscript','registerHTTPInterceptor','_clearUndo','clamp','change$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getInterceptPoints','_reverseMap','univer-pro.collaboration-client.network-condition.service','getCurrentRevOfUnit','EMAIL_HAS_BEEN_BOUND','eventID','objectID','createEncryptor','file','AES','salt','HmacSHA1','session.join-failed','submit\x20changeset\x20error!','_clearTimeoutTimer','SUCCUSS','lib','USER_NOT_INVITED_CODE','kdf','?size=','unitId','_fetchMissChangesets','_process','mode','_resendTimeout','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','deleteCollaborator','iterations','_onUserJoin','compose','_retryConnectingTimer','_collaborationUIEventService','_showConflictNotification','UNAUTHENTICATED','_undoStacks','UNIVER_PROJECT','ERROR_EXCEED_SIZE','_getSignURL','_injector','status','buffer','_parse','append','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_transformSelections','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','INGEST','setCurrentUser','_sendHeartbeat','_clearRedo','RETRY_CONNECTING_MAX_COUNT','/universer-api/stream/file/upload','prototype','unitId\x20is\x20not\x20found','CONNECTOR_DATA_TOO_LARGE','getLatestCsReqIdBySid','_getRedoStack','awaiting','pluginName','onStateChange','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_entityInit$','Cipher','reqId','_config','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','padding','_singleActiveUnitService','_getCtorByUniverType','_toggleOnline','toString','UNKNOWN_CODE','_pendingMutations','synced','unitID','_createSocket','TOO_MANY_REQUESTS','enableCollaboration','readyForCollab','_nRounds','indexOf','removeMember','userID','_sender','location','forEach','authzUrl','INVITE_CODE_ALREADY_BOUND','updateOfflineData','OTHER_CLIENTS_EDITING','filter','onSendChangeset','ciphertext','_memberService','image/jpeg','createCollaborator','compute','StreamCipher','executeCommand','_joinRoom','_eventService','getImageSourceCache','[CollaborationSession]','/universer-api/snapshot/','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','responseType','_onMessage','next','disableLocalCache','onTransformIME','every','getUnitType','leaveEvent','JOINING','/object/','formatter','exports','unknown','updateCursorEvent','loadUnitOfRevision','method','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_cipher','onCommandExecuted','getTypeOfUnitAdded$','disposeWithMe','Base64','LIVESHARE_NEW_HOST','_handlerCallback','catch','_prevBlock','_updateState','put','_networkConditionService','NO_OTHER_CLIENTS_EDITING','collaboration-client.config','GLOBAL_ROOMS_CNT_EXCEEDS','_collaborationPaused','liveShareOperation','type','_toggleOffline','debug','toggleOffline','unsubscribe','HEARTBEAT_TIMEOUT','SNAPSHOT_HAS_BEEN_REMOVED','fromCharCode','LIVESHARE_FETCH_OPERATIONS','_revisionService','UNIVER_DOC','transformStack\x20failed!','slice','_userManagerService','body','_checkMissing','snapshotServerUrl','HELLO','_socket','complete','NEW_CHANGESETS','unit-cache-','create','refreshPermission','MD5','_retryCount','awaitingChangeset','mixIn','finalize','YUUMI_UNABLE_LOAD_URL','_updateLocalCache','PY_RUNTIME_SCRIPT_ERROR','_instanceService','sin','random','subUnitId','_transformUndoredo','UNISCRIPT_RUN','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','list','UPDATE_CURSOR','socketService','avatar','ALREADY_EXISTS','_unlockTransition','_onLocalMutation','__esModule','editing\x20status\x20changed\x20to','generateRandomId','_createHmacHelper','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','SUBMIT_CHANGESET','join','sendChangesetTimeout','onLocalMutation','INVALID_INVITE_CODE','getSheetId','onSyncEditingCollabCursor','length','fromCollab','_hasher','_updateStatus','getValue','31660260KHnbrJ','_xformMode','_ENC_XFORM_MODE','result','onCommentUpdate','_members$','USERS_LEAVE','_onRemoteACK','_removeRoom','INVITE_CODE_REQUIRED','/role','_executeRemoteChangeset','session.room-full','newCsEvent','_sendingTimer','objectActions','_onOffline','commentUpdateEvent','COMPRESS_MUTATION_APPLY','POST','UUID','_transformRemoteChangesetByIMECache','getCollabEntity','getUnitOnRev','dispose$','saveImage','DEFAULT_FILE_NAME','hostname','CHANGESET_REJ','max','BlockCipherMode','BufferedBlockAlgorithm','transformUndoRedo','_getUndoStack','CBC','_transformStack','setShowComponents','HttpExport','Malformed\x20UTF-8\x20data','CONFLICT','not_collab','_transformRemoteChangesetByStateCache','readInt32LE','_undoRedoService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Undefined','JOIN_ROOM_PERMISSION_DENIED','_tryReconnect','loadOfflineData','/new_changes','_socket$','appendMutation','APPLY_REVISION_CONFILICT','\x20in\x20_schedule.','pipe','_telemetryService','223624wcTxiM','_lockTransition','entries','_doCryptBlock','/fetchmissing?from=','_clearRetryConnectingTimer','APPLY_REJECT','close','_oKey','UserProfileImg','_changesetSessionId','MUTATION','state','_exhaustRemoteChangesetQueue','randomBytes','&assign=','YUUMI_NO_CUBOID_FOR_QUESTION','enableOfflineEditing','onTransformSelections','decrypt','[DataLoaderService]','resourceIDs','interceptor','getUnitId','_unitID','_onConnectionFailed','_transitionLocked','[FetchMissState]','_resendTimer','_onFetchMissResult','_httpService','OpenSSL','APPLY_NON_SEQUENTIAL_REVISION','JOIN_ROOM_FULL','[CollaborationEntity]','post','YUUMI_SUBSCRIPTION_NOT_FOUND','_socketMessageSubscription','conflict','OFFLINE','getConfig','updateMember','stopTime','_doReset','clone','fetchMiss','/block/','10RbsKQN','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','changesets','getTypeOfUnitDisposed$','commentUpdate$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','fetching\x20missing\x20changesets\x20from\x20','snapshot','YUUMI_ASYNCIO_CANCELLED','event$','BlockCipher','LIVESHARE_REQUEST_HOST','_imageSourceCache','_initMergeInterceptor','JOIN','startsWith','map','_timeoutTimer','function','_univerInstanceService','LICENSE_DISTRO_REJECTED','concat','_nDataBytes','startTime','localCacheService','SUBMIT_CHANGESET_TIMEOUT','_HTTPService','FileId','_transformService','FETCH_MISS','_createHelper','_change$','onStarting','c1Prime','auth.needGotoLoginAlert','abs','SHOULD_CLOSE_CONN','14GEOgVP','__Key__','OTHER_CLIENT_EDITING','call','OPTIONAL','fetchThroughInterceptors','_substituteUndoStack','_disableEditing','uploadFileServerUrl','charCodeAt','SOCKET_FAILED_RETRY','_initRequestHeader','algo','_doProcessBlock','createDecryptor','_replayCachedMutations','routeKey','getOwnPropertyDescriptor','_getUploadFileURL','_resendWithTimeout','saveChangeset','Pkcs7','emitEvent','CHANGESET_SHOULD_RETRY','Error\x20on\x20receiving\x20event','_state$','_remoteChangesetQueue','PERMISSION_REJ','capture','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_waitForHeartbeatResponse','_applyRemoteChangeset','getMemberID','YUUMI_RATE_OVER_LIMIT','_clearHeartbeatTimer','[SyncedState]:\x20received\x20rejection.','_acknowledgedAwaitingChangeset','set','reset','ceil','[PendingState]:\x20unhandled\x20univer\x20type:\x20','headers','_collabSessionService','clear','revision','NOT_COLLAB','onRemoteChangeset','_collaborationSessionService','_getCurrentRevision','data','LOGIN_FAILED','_getLoginPath','add','387srLIoW','Hasher','min','SNAPSHOT_INVALID_SNAPSHOT','uniscriptRunEvent','_status$','Decryptor','onlyLocal','isArray','?url=','UPDATE_PERMISSION_OBJ','/-/object/-/batch_allowed','liveShareNewHost','cfg','INVITE_CODE_HAS_BEEN_UES','listCollaborators','selections','getRandomValues','3850185fVPvlI','onRemoteRetry','blockSize','error','_scheduleCompleteTimestamp','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/user/session-ticket','_commentUpdate$','LICENSE_IMPORT_SIZE_EXCEEDED','image/bmp','downloadEndpointUrl','m2Prime','__creator','COMMENT_UPDATE','get','_localeService','_onCombEvent','UNDEFINED','symbol','url','baseRev','image/gif','init','words','AUTHZ_URL_KEY','_entities','sessionStatus','425316ztXPIA','18HKJSOC','image/png','_keySchedule','msCrypto','substr','_logService','Utf8','UNIVER_SHEET','encrypt','_transformIMECache','/universer-api/snapshot','getCollabEntity$','_members','origin','ENSURE_SNAPSHOT_EXECUTION','_getAPIPrefixPath','session','_hash','_clearScheduledTask','_invKeySchedule','LEAVE','_socketReady','_onRemoteRetry','NoPadding','sid','dispose','LOCAL_CACHE_INTERVAL','Latin1','values','/universer-api/file/{fileID}/sign-url','_onRemoteRejected','members','CipherParams','roomInfos','keySize','SOCKET_FAILED','withCredentials','COLLAB_WEB_SOCKET_URL','session.room-not-exists','joinEvent','target','_initUnitPermissionChange','encodeURIComponent','onRemoteAck','_startCollaboration','_snapshotService','error$','MOBILE_HAS_BEEN_BOUND','message$','_localCacheService','1457592QbdGij','loadSheet','loginUrlKey','PERMISSION_DENIED','actions','onTransformState','getCurrentUser','fetchMissingChangesets','_syncEditingCollabCursor','_doFinalize','PSEUDO_FETCH_MISSING_RESULT','onRemoteRej','_onConnectionOpen','_transformStateCache','USERS_ENTER','IDLE','Encryptor','patch','univer-pro.collaboration-client-socket-service','hasOwnProperty','byteOffset','permissionRejEvent','getWorkbookSelections','_telemetryInfo','requireSession','floor','isPermissionRej','INVALID_ARGUMENT','push','_changesetReqId','Could\x20not\x20dynamically\x20require\x20\x22','UNKNOWN_CMD','signUrlServerUrl','\x0aCurrent:\x20','unitInfo$','[PendingState]:\x20received\x20rejection.','transformSelections','default','[CollaborationSessionService]:\x20socket\x20error','addHandlerCallback','_append','JOIN_ROOM_FAILED','updatePermissionObjEvent','_handler','YUUMI_AI_RUN_FAILED','_sheetTransformSelectionsService','localeService','SerializableCipher','EvpKDF','focused$','findIndex','_map','sessionStatus$','HMAC','fetch_missing','_scheduleCollaborationTimeoutTimer','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_createInitialState'];_0x3299=function(){return _0x26e524;};return _0x3299();}let Et=class extends st{constructor(_0x35cbd3,_0x530fce,_0x4c6377,_0x582817,_0x2b9f8f,_0xbe4b7c,_0xfae664,_0x55673c,_0x30ef7f,_0x1b7e29,_0x5e256d,_0x51d301,_0x338380,_0x1ce79a){var _0x4363c5=_0x1cf15a;super(_0x35cbd3,_0x4c6377,_0x530fce,_0x582817,_0x2b9f8f,_0xbe4b7c,_0xfae664,_0x30ef7f,_0x1b7e29,_0x5e256d,_0x51d301,_0x338380,_0x1ce79a),this[_0x4363c5(0x1df)]=_0x35cbd3,this[_0x4363c5(0x220)]=_0x530fce,this[_0x4363c5(0x3ad)]=_0x55673c;}[_0x1cf15a(0x14c)](){var _0xb1ebdc=_0x1cf15a;const _0x42497b=super[_0xb1ebdc(0x14c)]();return _0x42497b[_0xb1ebdc(0x2a9)]=_0x11cf4b=>this[_0xb1ebdc(0x3ad)][_0xb1ebdc(0x3a4)](_0x11cf4b),_0x42497b;}async[_0x1cf15a(0x3d7)](){var _0x2b5208=_0x1cf15a;const _0x24f92f=await super[_0x2b5208(0x3d7)]();return this[_0x2b5208(0x212)](this[_0x2b5208(0x3bd)][_0x2b5208(0x210)]((_0x4e08d6,_0x3e91ea)=>{var _0x2602ec=_0x2b5208;if(_0x4e08d6[_0x2602ec(0x220)]!==_0x1b7bc7[_0x2602ec(0x2a2)]||_0x3e91ea!=null&&_0x3e91ea['fromCollab']||_0x3e91ea!=null&&_0x3e91ea[_0x2602ec(0x327)])return;const _0x4448d1=_0x4e08d6['params'];if((_0x4448d1==null?void 0x0:_0x4448d1[_0x2602ec(0x1a9)])!==this[_0x2602ec(0x1df)])return;const _0xa9847=_0x4e08d6,_0x556f2b=this[_0x2602ec(0x40c)][_0x2602ec(0x2ad)]['fetchThroughInterceptors'](this[_0x2602ec(0x40c)][_0x2602ec(0x2ad)]['getInterceptPoints']()[_0x2602ec(0x42f)])([_0xa9847],null)||[_0xa9847];this[_0x2602ec(0x24d)](_0x556f2b[0x0]);})),_0x24f92f;}};Et=wt([H(0x3,_0x4395c3(_0xac3c15)),H(0x4,_0x4395c3(_0x10c1b2)),H(0x5,_0x4395c3(_0x58db33)),H(0x6,_0x4395c3(_0x471d83)),H(0x7,_0x4395c3(it)),H(0x8,_0x4395c3(ve)),H(0x9,_0x1ffba8),H(0xa,_0x751d12),H(0xb,_0x4b2793),H(0xc,_0x3ede3c(ht)),H(0xd,_0x3ede3c(J))],Et);var Qs=Object[_0x1cf15a(0x2fc)],en=(_0x16e733,_0x5448ed,_0x271a4f,_0x2d7a21)=>{for(var _0x1518cf=_0x2d7a21>0x1?void 0x0:_0x2d7a21?Qs(_0x5448ed,_0x271a4f):_0x5448ed,_0x278fc7=_0x16e733['length']-0x1,_0x50e9bd;_0x278fc7>=0x0;_0x278fc7--)(_0x50e9bd=_0x16e733[_0x278fc7])&&(_0x1518cf=_0x50e9bd(_0x1518cf)||_0x1518cf);return _0x1518cf;},Be=(_0x1f0564,_0x492535)=>(_0x153748,_0x2b2dbc)=>_0x492535(_0x153748,_0x2b2dbc,_0x1f0564);let nt=class extends _0x18f2f0{constructor(_0x40eb24,_0x48f6bd,_0x40ab7f,_0x32fade){var _0x6de7a8=_0x1cf15a,_0x5466b6;super(),N(this,_0x6de7a8(0x34b),new Map()),N(this,'_entityInit$',new _0x2f0731()),N(this,_0x6de7a8(0x423),this[_0x6de7a8(0x1d2)][_0x6de7a8(0x17c)]()),(this['_injector']=_0x40eb24,this[_0x6de7a8(0x315)]=_0x48f6bd,this[_0x6de7a8(0x40d)]=_0x40ab7f,this[_0x6de7a8(0x2d9)]=_0x32fade,((_0x5466b6=this['_configService'][_0x6de7a8(0x2bf)](K))==null?void 0x0:_0x5466b6[_0x6de7a8(0x1e2)])!==!0x1&&this[_0x6de7a8(0x3d7)]());}[_0x1cf15a(0x367)](){var _0x5ccc67=_0x1cf15a;super['dispose'](),this[_0x5ccc67(0x34b)]['forEach'](_0x450c79=>_0x450c79['dispose']()),this['_entities'][_0x5ccc67(0x316)]();}[_0x1cf15a(0x275)](_0x1dfa0e){var _0x1bc39f=_0x1cf15a,_0x16ebd5;return(_0x16ebd5=this[_0x1bc39f(0x34b)][_0x1bc39f(0x340)](_0x1dfa0e))!=null?_0x16ebd5:null;}[_0x1cf15a(0x359)](_0x36df53){var _0x4dd9f2=_0x1cf15a;const _0x39ca58=this[_0x4dd9f2(0x275)](_0x36df53);return _0x39ca58?_0x1aced1(_0x39ca58):this[_0x4dd9f2(0x1d2)]['pipe'](_0x46e42e(_0x15db09=>_0x15db09[_0x4dd9f2(0x1df)]===_0x36df53));}[_0x1cf15a(0x1e3)](_0x54a215){var _0x24d5e8=_0x1cf15a;return _0x56179c(this[_0x24d5e8(0x359)](_0x54a215)[_0x24d5e8(0x295)](_0x1baf73(()=>{})));}[_0x1cf15a(0x3d7)](){var _0x35da42=_0x1cf15a;this[_0x35da42(0x2d9)][_0x35da42(0x211)](_0x1dfda5[_0x35da42(0x355)])[_0x35da42(0x295)](_0x110672(this['dispose$']),_0x3c2d30(0x10))[_0x35da42(0x41f)](async _0x53261f=>{var _0x231ad8=_0x35da42;const _0x4c61a2=_0x53261f[_0x231ad8(0x2ae)](),_0x2cc2da=await this[_0x231ad8(0x37a)](_0x4c61a2,Z[_0x231ad8(0x355)]);this[_0x231ad8(0x34b)][_0x231ad8(0x310)](_0x4c61a2,_0x2cc2da);}),this[_0x35da42(0x2d9)][_0x35da42(0x211)](_0x1dfda5[_0x35da42(0x22a)])[_0x35da42(0x295)](_0x110672(this[_0x35da42(0x277)]),_0x3c2d30(0x10))[_0x35da42(0x295)](_0x46e42e(_0x125f6f=>!_0x125f6f[_0x35da42(0x2ae)]()[_0x35da42(0x2d5)]('__')))[_0x35da42(0x41f)](async _0x2c4fdb=>{var _0x2940be=_0x35da42;const _0x4709f9=_0x2c4fdb[_0x2940be(0x2ae)](),_0x22dd3f=await this[_0x2940be(0x37a)](_0x4709f9,Z[_0x2940be(0x22a)]);this['_entities']['set'](_0x4709f9,_0x22dd3f);}),_0xf55bf(this[_0x35da42(0x2d9)][_0x35da42(0x2c9)](_0x1dfda5[_0x35da42(0x355)]),this[_0x35da42(0x2d9)][_0x35da42(0x2c9)](_0x1dfda5[_0x35da42(0x22a)]))[_0x35da42(0x295)](_0x110672(this[_0x35da42(0x277)]))[_0x35da42(0x41f)](_0x37525e=>{var _0x1c703b=_0x35da42;const _0x5a2c6a=_0x37525e['getUnitId'](),_0x333624=this[_0x1c703b(0x34b)][_0x1c703b(0x340)](_0x5a2c6a);_0x333624&&(_0x333624['dispose'](),this['_entities'][_0x1c703b(0x17d)](_0x5a2c6a));});}async[_0x1cf15a(0x37a)](_0xca6e9,_0x4fe3d1){var _0x2a33da=_0x1cf15a;const _0x463f59=await this[_0x2a33da(0x315)][_0x2a33da(0x398)](_0xca6e9),_0x359cae=this[_0x2a33da(0x1bb)][_0x2a33da(0x176)](this['_getCtorByUniverType'](_0x4fe3d1),_0xca6e9,_0x4fe3d1,_0x463f59);return await _0x359cae[_0x2a33da(0x348)](),this['_entityInit$'][_0x2a33da(0x200)](_0x359cae),_0x359cae;}[_0x1cf15a(0x1d9)](_0x5dd624){var _0x4edc6a=_0x1cf15a;switch(_0x5dd624){case Z['UNIVER_DOC']:return St;case Z[_0x4edc6a(0x355)]:return Et;default:throw new Error(_0x4edc6a(0x14a)+_0x5dd624);}}};nt=en([Be(0x0,_0x4395c3(_0xac3c15)),Be(0x1,_0x4395c3(Le)),Be(0x2,_0x149db4),Be(0x3,_0x125d03)],nt);var tn=Object[_0x1cf15a(0x2fc)],sn=(_0x26d093,_0x5ed538,_0x104493,_0x4db23c)=>{var _0x1673fd=_0x1cf15a;for(var _0x1f924f=_0x4db23c>0x1?void 0x0:_0x4db23c?tn(_0x5ed538,_0x104493):_0x5ed538,_0x162852=_0x26d093[_0x1673fd(0x25a)]-0x1,_0x305715;_0x162852>=0x0;_0x162852--)(_0x305715=_0x26d093[_0x162852])&&(_0x1f924f=_0x305715(_0x1f924f)||_0x1f924f);return _0x1f924f;},Yt=(_0xb585eb,_0x9cccb2)=>(_0x2003aa,_0x2d63ab)=>_0x9cccb2(_0x2003aa,_0x2d63ab,_0xb585eb);const nn=_0x1cf15a(0x279),rn=_0x1cf15a(0x3ea);let It=class extends _0x4c47e9{constructor(_0x543ccc,_0x2fad76){var _0x5c1650=_0x1cf15a;super(),this[_0x5c1650(0x2d9)]=_0x543ccc,this['_configService']=_0x2fad76,this[_0x5c1650(0x3d7)]();}[_0x1cf15a(0x3d7)](){var _0x1b3371=_0x1cf15a;this[_0x1b3371(0x212)](this[_0x1b3371(0x2d9)][_0x1b3371(0x3b1)][_0x1b3371(0x41f)](()=>{var _0x14a338=_0x1b3371,_0x466c65;const _0x371f94=this[_0x14a338(0x2d9)][_0x14a338(0x148)]();let _0x33c9af=(_0x466c65=this['_configService']['getConfig'](nn))!=null?_0x466c65:rn;_0x371f94 instanceof _0x37b7a4&&(_0x33c9af=_0x371f94[_0x14a338(0x405)]),document['title']=_0x33c9af;}));}};It=sn([Yt(0x0,_0x125d03),Yt(0x1,_0x149db4)],It);var an=Object[_0x1cf15a(0x2fc)],on=(_0x3f3069,_0x1d8ac8,_0x1f45b8,_0x3e2b74)=>{for(var _0x41059c=_0x3e2b74>0x1?void 0x0:_0x3e2b74?an(_0x1d8ac8,_0x1f45b8):_0x1d8ac8,_0x48635c=_0x3f3069['length']-0x1,_0x3847aa;_0x48635c>=0x0;_0x48635c--)(_0x3847aa=_0x3f3069[_0x48635c])&&(_0x41059c=_0x3847aa(_0x41059c)||_0x41059c);return _0x41059c;},dt=(_0x4fadf1,_0x3b4f70)=>(_0x4214e7,_0x311dd8)=>_0x3b4f70(_0x4214e7,_0x311dd8,_0x4fadf1);let rt=class{constructor(_0x205eb9,_0x4f9228,_0x2b6bde){var _0x3a1892=_0x1cf15a;this[_0x3a1892(0x40d)]=_0x205eb9,this[_0x3a1892(0x2b5)]=_0x4f9228,this[_0x3a1892(0x3ae)]=_0x2b6bde,this[_0x3a1892(0x348)]();}[_0x1cf15a(0x348)](){var _0x5eca43=_0x1cf15a;this[_0x5eca43(0x2b5)][_0x5eca43(0x190)]({'priority':0x1,'interceptor':(_0x500ad0,_0x286cf8)=>_0x286cf8(_0x500ad0)[_0x5eca43(0x295)](_0x458142(async _0x3f6a55=>{var _0x24f636=_0x5eca43;const _0x5a49cd=_0x3f6a55;if(_0x5a49cd['status']===0x191){if(typeof window>'u')throw new Error(_0x24f636(0x28b));if(window['confirm'](this[_0x24f636(0x3ae)]['t'](_0x24f636(0x2e8)))){const _0x4630f6=window[_0x24f636(0x378)](window[_0x24f636(0x1e9)][_0x24f636(0x180)]);window[_0x24f636(0x1e9)][_0x24f636(0x180)]=this['_getLoginPath']()+_0x24f636(0x329)+_0x4630f6;}}return _0x5a49cd;}))});}[_0x1cf15a(0x31e)](){var _0x1912ea=_0x1cf15a,_0x77c30d,_0x362164;const _0xb844af=this['_configService'][_0x1912ea(0x2bf)](ys),_0x5ae9e3=this[_0x1912ea(0x40d)][_0x1912ea(0x2bf)](K);return(_0x362164=(_0x77c30d=_0x5ae9e3==null?void 0x0:_0x5ae9e3[_0x1912ea(0x382)])!=null?_0x77c30d:_0xb844af)!=null?_0x362164:Ns;}};rt=on([dt(0x0,_0x149db4),dt(0x1,_0x4395c3(_0x3099c1)),dt(0x2,_0x4395c3(_0x58db33))],rt);var cn=Object[_0x1cf15a(0x2fc)],hn=(_0x342219,_0x2a8a9d,_0x47f1c0,_0xc09792)=>{var _0x42ef1f=_0x1cf15a;for(var _0x5c1ec9=_0xc09792>0x1?void 0x0:_0xc09792?cn(_0x2a8a9d,_0x47f1c0):_0x2a8a9d,_0x41dba3=_0x342219[_0x42ef1f(0x25a)]-0x1,_0x30ba0e;_0x41dba3>=0x0;_0x41dba3--)(_0x30ba0e=_0x342219[_0x41dba3])&&(_0x5c1ec9=_0x30ba0e(_0x5c1ec9)||_0x5c1ec9);return _0x5c1ec9;},Kt=(_0x1e2946,_0x6677b8)=>(_0x30752e,_0x1a27fe)=>_0x6677b8(_0x30752e,_0x1a27fe,_0x1e2946);const bi=_0x1cf15a(0x34a),_n=_0x1cf15a(0x3e1);let Tt=class extends _0x4c47e9{constructor(_0x342a3c,_0x1114d5){var _0x5198e0=_0x1cf15a;super(),this[_0x5198e0(0x2e0)]=_0x342a3c,this['_configService']=_0x1114d5,this[_0x5198e0(0x2d3)]();}[_0x1cf15a(0x2d3)](){var _0x1dd493=_0x1cf15a;const _0x45c46e=this;this[_0x1dd493(0x212)](this[_0x1dd493(0x2e0)][_0x1dd493(0x190)]({'priority':0x3e7,'interceptor':_0x437f45({'isMatch'(_0x41d5d4){var _0x2ce18b=_0x1dd493,_0x5b39ff;if(_0x41d5d4[_0x2ce18b(0x20d)]===_0x2ce18b(0x272)&&((_0x5b39ff=_0x41d5d4[_0x2ce18b(0x182)])!=null&&_0x5b39ff[_0x2ce18b(0x22e)])){const {objectID:_0x332461,objectType:_0x53c75e}=_0x41d5d4[_0x2ce18b(0x182)]['body']||{};if(!_0x332461||_0x53c75e===void 0x0)return!0x1;const _0x5767fe=_0x45c46e[_0x2ce18b(0x35d)]()+'/'+_0x53c75e+_0x2ce18b(0x207)+_0x332461+_0x2ce18b(0x3f6);if(_0x41d5d4['url']===_0x5767fe)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xa44083){var _0x3f1996;return(_0x3f1996=_0xa44083['requestParams'])==null?void 0x0:_0x3f1996['body'];},'mergeParamsToRequest'(_0x1f5567,_0x44c101){var _0x5b4ba7=_0x1dd493;const _0x359434=_0x45c46e['_getAPIPrefixPath']()+_0x5b4ba7(0x32b),_0x1d9864=_0x1f5567['reduce']((_0x3cf3d8,_0x2b23f8)=>{var _0x3f9def=_0x5b4ba7;const {unitID:_0x250c50,objectID:_0x3d8275,objectType:_0x248462,actions:_0x456624}=_0x2b23f8;return _0x3cf3d8[_0x250c50]||(_0x3cf3d8[_0x250c50]={}),_0x3cf3d8[_0x250c50][_0x3d8275]||(_0x3cf3d8[_0x250c50][_0x3d8275]={'objectID':_0x3d8275,'objectType':_0x248462,'actions':[]}),_0x3cf3d8[_0x250c50][_0x3d8275][_0x3f9def(0x384)]['push'](..._0x456624),_0x3cf3d8;},{}),_0x598aac=[];for(const _0xd1460b in _0x1d9864)for(const _0x36af30 in _0x1d9864[_0xd1460b]){const {actions:_0x47657d,objectType:_0x4b165f}=_0x1d9864[_0xd1460b][_0x36af30],_0x480829=[...new Set(_0x47657d)];_0x598aac['push']({'unitID':_0xd1460b,'objectID':_0x36af30,'objectType':_0x4b165f,'actions':_0x480829});}return new _0x175622(_0x5b4ba7(0x272),_0x359434,{'headers':_0x44c101[_0x5b4ba7(0x314)],'withCredentials':_0x44c101[_0x5b4ba7(0x372)],'responseType':_0x44c101[_0x5b4ba7(0x1fe)],'body':{'requests':_0x598aac}});}},{'distributeResult'(_0x7111a2,_0x330885){var _0x5082d0=_0x1dd493;const {objectActions:_0x314d99}=_0x7111a2;return _0x330885[_0x5082d0(0x2d6)](_0x475c80=>{var _0x5a562d=_0x5082d0;const {unitID:_0x5a15b4,objectID:_0x31bfd4,actions:_0x51e61d}=_0x475c80,_0x524391=_0x314d99[_0x5a562d(0x167)](_0x341746=>_0x341746[_0x5a562d(0x1df)]===_0x5a15b4&&_0x341746[_0x5a562d(0x19b)]===_0x31bfd4),_0x4e22e9=_0x51e61d['map'](_0x940249=>_0x524391==null?void 0x0:_0x524391[_0x5a562d(0x384)][_0x5a562d(0x167)](_0x1857f8=>_0x1857f8['action']===_0x940249))[_0x5a562d(0x1ef)](_0x53b942=>!!_0x53b942);return{'config':_0x475c80,'result':{'actions':_0x4e22e9,'error':_0x7111a2[_0x5a562d(0x335)]}};});}})}));}[_0x1cf15a(0x35d)](){var _0xf6411=_0x1cf15a,_0x578aea,_0x1d3169;const _0x1df38f=this[_0xf6411(0x40d)][_0xf6411(0x2bf)](bi),_0xf8c85=this[_0xf6411(0x40d)][_0xf6411(0x2bf)](K);return(_0x1d3169=(_0x578aea=_0xf8c85==null?void 0x0:_0xf8c85[_0xf6411(0x1eb)])!=null?_0x578aea:_0x1df38f)!=null?_0x1d3169:_n;}async[_0x1cf15a(0x236)](_0x1da4ac){var _0x2a0d8a=_0x1cf15a;const _0x481e11=this[_0x2a0d8a(0x35d)]()+'/'+_0x1da4ac[_0x2a0d8a(0x16a)]+_0x2a0d8a(0x3d5);return(await this[_0x2a0d8a(0x2e0)][_0x2a0d8a(0x2ba)](_0x481e11,{'body':_0x1da4ac}))['body']['objectID']||'';}async[_0x1cf15a(0x247)](_0x2c909d){var _0x5d27f6=_0x1cf15a;const _0x5b1ee1=this[_0x5d27f6(0x35d)]()+_0x5d27f6(0x403);return(await this[_0x5d27f6(0x2e0)][_0x5d27f6(0x2ba)](_0x5b1ee1,{'body':_0x2c909d}))[_0x5d27f6(0x22e)]['objects'];}async['update'](_0x564fb4){var _0x3bd062=_0x1cf15a,_0x47dc20,_0x62837a;const _0xbb1bb5=this[_0x3bd062(0x35d)]()+'/'+_0x564fb4[_0x3bd062(0x16a)]+_0x3bd062(0x207)+_0x564fb4[_0x3bd062(0x19b)],_0x12c4cf=await this['_HTTPService'][_0x3bd062(0x219)](_0xbb1bb5,{'body':_0x564fb4});if(((_0x62837a=(_0x47dc20=_0x12c4cf==null?void 0x0:_0x12c4cf[_0x3bd062(0x22e)])==null?void 0x0:_0x47dc20[_0x3bd062(0x335)])==null?void 0x0:_0x62837a[_0x3bd062(0x163)])!==0x1)throw new Error(_0x3bd062(0x411));}async[_0x1cf15a(0x162)](_0x59fca3){var _0x32c19c=_0x1cf15a;const _0x53d1bc=this[_0x32c19c(0x35d)]()+'/'+_0x59fca3[_0x32c19c(0x16a)]+_0x32c19c(0x207)+_0x59fca3[_0x32c19c(0x19b)]+'/allowed';return(await this[_0x32c19c(0x2e0)]['post'](_0x53d1bc,{'body':_0x59fca3}))['body'][_0x32c19c(0x384)];}async['batchAllowed'](_0x199681){var _0x129a66=_0x1cf15a;const _0x409e47=this['_getAPIPrefixPath']()+_0x129a66(0x32b);return(await this['_HTTPService'][_0x129a66(0x2ba)](_0x409e47,{'body':{'requests':_0x199681}}))[_0x129a66(0x22e)][_0x129a66(0x26e)];}async[_0x1cf15a(0x16f)](_0x8214d){var _0x1b6eb1=_0x1cf15a;const _0x3e3afe=this[_0x1b6eb1(0x35d)]()+'/'+_0x8214d[_0x1b6eb1(0x16a)]+_0x1b6eb1(0x269),_0x7e8068=await this[_0x1b6eb1(0x2e0)][_0x1b6eb1(0x2ba)](_0x3e3afe,{'body':_0x8214d});return{'roles':_0x7e8068[_0x1b6eb1(0x22e)]['roles'],'actions':_0x7e8068[_0x1b6eb1(0x22e)][_0x1b6eb1(0x384)]};}async[_0x1cf15a(0x1af)](_0x4b06fd){var _0x3431ff=_0x1cf15a;const _0x3d3d29=this['_getAPIPrefixPath']()+_0x3431ff(0x18a);await this[_0x3431ff(0x2e0)][_0x3431ff(0x17d)](_0x3d3d29,{'params':{'collaboratorID':_0x4b06fd['collaboratorID'],'objectID':_0x4b06fd[_0x3431ff(0x19b)],'unitID':_0x4b06fd['unitID']}});}async['updateCollaborator'](_0x2a77ca){var _0x5f36f9=_0x1cf15a;const _0x115875=this[_0x5f36f9(0x35d)]()+'/collaborator';await this[_0x5f36f9(0x2e0)][_0x5f36f9(0x391)](_0x115875,{'body':_0x2a77ca});}async[_0x1cf15a(0x1f4)](_0x5404ee){var _0x444c35=_0x1cf15a;const _0x7f5dbb=this[_0x444c35(0x35d)]()+_0x444c35(0x18a);await this[_0x444c35(0x2e0)][_0x444c35(0x2ba)](_0x7f5dbb,{'body':_0x5404ee});}async[_0x1cf15a(0x32f)](_0x11c55e){var _0x50ac64=_0x1cf15a;const _0x5c2e47=this[_0x50ac64(0x35d)]()+_0x50ac64(0x18a);return(await this[_0x50ac64(0x2e0)]['get'](_0x5c2e47,{'params':{'objectID':_0x11c55e[_0x50ac64(0x19b)],'unitID':_0x11c55e['unitID']}}))[_0x50ac64(0x22e)][_0x50ac64(0x166)];}async['putCollaborators'](_0x1f693f){var _0xa6744d=_0x1cf15a;const _0x473887=this[_0xa6744d(0x35d)]()+_0xa6744d(0x18a);await this[_0xa6744d(0x2e0)][_0xa6744d(0x219)](_0x473887,{'body':_0x1f693f});}};Tt=hn([Kt(0x0,_0x4395c3(_0x3099c1)),Kt(0x1,_0x4395c3(_0x149db4))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x3c39ec){var _0x593b78=_0x1cf15a;return _0x3c39ec&&_0x3c39ec[_0x593b78(0x24e)]&&Object[_0x593b78(0x1c9)][_0x593b78(0x393)][_0x593b78(0x2ee)](_0x3c39ec,'default')?_0x3c39ec[_0x593b78(0x3a5)]:_0x3c39ec;}var Ve={'exports':{}};function ln(_0x101ce0){var _0x2f3ec8=_0x1cf15a;throw new Error(_0x2f3ec8(0x39e)+_0x101ce0+_0x2f3ec8(0x3d8));}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){var _0x4cd10a=_0x1cf15a;return qt||(qt=0x1,function(_0x4b45bc,_0x7732a8){(function(_0x3b7d11,_0x101acc){_0x4b45bc['exports']=_0x101acc();}(un,function(){var _0x53edb2=_0x53edb2||function(_0x5d22b6,_0x4a7423){var _0x2bdea7=_0x59f7,_0x25cc33;if(typeof window<'u'&&window[_0x2bdea7(0x3f9)]&&(_0x25cc33=window[_0x2bdea7(0x3f9)]),typeof self<'u'&&self['crypto']&&(_0x25cc33=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2bdea7(0x3f9)]&&(_0x25cc33=globalThis[_0x2bdea7(0x3f9)]),!_0x25cc33&&typeof window<'u'&&window['msCrypto']&&(_0x25cc33=window[_0x2bdea7(0x351)]),!_0x25cc33&&typeof ft<'u'&&ft[_0x2bdea7(0x3f9)]&&(_0x25cc33=ft[_0x2bdea7(0x3f9)]),!_0x25cc33&&typeof ln==_0x2bdea7(0x2d8))try{_0x25cc33=require(_0x2bdea7(0x3f9));}catch{}var _0xbfa7cc=function(){var _0x420a3d=_0x2bdea7;if(_0x25cc33){if(typeof _0x25cc33[_0x420a3d(0x331)]==_0x420a3d(0x2d8))try{return _0x25cc33['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x25cc33[_0x420a3d(0x2a5)]==_0x420a3d(0x2d8))try{return _0x25cc33[_0x420a3d(0x2a5)](0x4)[_0x420a3d(0x289)]();}catch{}}throw new Error(_0x420a3d(0x3b8));},_0x260561=Object[_0x2bdea7(0x236)]||(function(){function _0x55d996(){}return function(_0x97cdf8){var _0x4832c1=_0x59f7,_0x5600b5;return _0x55d996[_0x4832c1(0x1c9)]=_0x97cdf8,_0x5600b5=new _0x55d996(),_0x55d996[_0x4832c1(0x1c9)]=null,_0x5600b5;};}()),_0x48588d={},_0x47fca1=_0x48588d['lib']={},_0x3d9c4e=_0x47fca1['Base']=(function(){return{'extend':function(_0x387cc0){var _0x5f4bec=_0x59f7,_0x1dcd11=_0x260561(this);return _0x387cc0&&_0x1dcd11[_0x5f4bec(0x23b)](_0x387cc0),(!_0x1dcd11[_0x5f4bec(0x393)](_0x5f4bec(0x348))||this[_0x5f4bec(0x348)]===_0x1dcd11[_0x5f4bec(0x348)])&&(_0x1dcd11[_0x5f4bec(0x348)]=function(){var _0x679e04=_0x5f4bec;_0x1dcd11[_0x679e04(0x444)]['init'][_0x679e04(0x436)](this,arguments);}),_0x1dcd11[_0x5f4bec(0x348)][_0x5f4bec(0x1c9)]=_0x1dcd11,_0x1dcd11['$super']=this,_0x1dcd11;},'create':function(){var _0x4283ac=_0x59f7,_0xcb281c=this[_0x4283ac(0x146)]();return _0xcb281c[_0x4283ac(0x348)][_0x4283ac(0x436)](_0xcb281c,arguments),_0xcb281c;},'init':function(){},'mixIn':function(_0x149827){var _0x69492=_0x59f7;for(var _0x556bfb in _0x149827)_0x149827[_0x69492(0x393)](_0x556bfb)&&(this[_0x556bfb]=_0x149827[_0x556bfb]);_0x149827[_0x69492(0x393)](_0x69492(0x1db))&&(this[_0x69492(0x1db)]=_0x149827[_0x69492(0x1db)]);},'clone':function(){var _0x44ee86=_0x59f7;return this[_0x44ee86(0x348)][_0x44ee86(0x1c9)][_0x44ee86(0x146)](this);}};}()),_0x36be22=_0x47fca1['WordArray']=_0x3d9c4e[_0x2bdea7(0x146)]({'init':function(_0x4fdeab,_0x4726c5){var _0x2f33a7=_0x2bdea7;_0x4fdeab=this[_0x2f33a7(0x349)]=_0x4fdeab||[],_0x4726c5!=_0x4a7423?this[_0x2f33a7(0x43b)]=_0x4726c5:this[_0x2f33a7(0x43b)]=_0x4fdeab[_0x2f33a7(0x25a)]*0x4;},'toString':function(_0x432d3a){return(_0x432d3a||_0x229d3b)['stringify'](this);},'concat':function(_0x17efca){var _0x31f5a1=_0x2bdea7,_0x38efea=this[_0x31f5a1(0x349)],_0x34d8c9=_0x17efca[_0x31f5a1(0x349)],_0x5d60db=this[_0x31f5a1(0x43b)],_0x195d8d=_0x17efca[_0x31f5a1(0x43b)];if(this['clamp'](),_0x5d60db%0x4)for(var _0x540bfd=0x0;_0x540bfd<_0x195d8d;_0x540bfd++){var _0x9b9f9c=_0x34d8c9[_0x540bfd>>>0x2]>>>0x18-_0x540bfd%0x4*0x8&0xff;_0x38efea[_0x5d60db+_0x540bfd>>>0x2]|=_0x9b9f9c<<0x18-(_0x5d60db+_0x540bfd)%0x4*0x8;}else{for(var _0x22082f=0x0;_0x22082f<_0x195d8d;_0x22082f+=0x4)_0x38efea[_0x5d60db+_0x22082f>>>0x2]=_0x34d8c9[_0x22082f>>>0x2];}return this[_0x31f5a1(0x43b)]+=_0x195d8d,this;},'clamp':function(){var _0x12f5c5=_0x2bdea7,_0x4aaf95=this[_0x12f5c5(0x349)],_0x8c818a=this[_0x12f5c5(0x43b)];_0x4aaf95[_0x8c818a>>>0x2]&=0xffffffff<<0x20-_0x8c818a%0x4*0x8,_0x4aaf95[_0x12f5c5(0x25a)]=_0x5d22b6[_0x12f5c5(0x312)](_0x8c818a/0x4);},'clone':function(){var _0x19e367=_0x2bdea7,_0x2ecd7f=_0x3d9c4e[_0x19e367(0x2c3)][_0x19e367(0x2ee)](this);return _0x2ecd7f[_0x19e367(0x349)]=this[_0x19e367(0x349)][_0x19e367(0x22c)](0x0),_0x2ecd7f;},'random':function(_0x167eb8){var _0x588c4e=_0x2bdea7;for(var _0x489adf=[],_0x2e353e=0x0;_0x2e353e<_0x167eb8;_0x2e353e+=0x4)_0x489adf['push'](_0xbfa7cc());return new _0x36be22[(_0x588c4e(0x348))](_0x489adf,_0x167eb8);}}),_0x2d3fec=_0x48588d['enc']={},_0x229d3b=_0x2d3fec['Hex']={'stringify':function(_0x14eab4){var _0x5ab8f7=_0x2bdea7;for(var _0xade84f=_0x14eab4[_0x5ab8f7(0x349)],_0x177ab6=_0x14eab4[_0x5ab8f7(0x43b)],_0x2ae688=[],_0x47d492=0x0;_0x47d492<_0x177ab6;_0x47d492++){var _0x54e41a=_0xade84f[_0x47d492>>>0x2]>>>0x18-_0x47d492%0x4*0x8&0xff;_0x2ae688[_0x5ab8f7(0x39c)]((_0x54e41a>>>0x4)[_0x5ab8f7(0x1db)](0x10)),_0x2ae688[_0x5ab8f7(0x39c)]((_0x54e41a&0xf)[_0x5ab8f7(0x1db)](0x10));}return _0x2ae688[_0x5ab8f7(0x254)]('');},'parse':function(_0x5f0542){var _0x9838ab=_0x2bdea7;for(var _0x22370f=_0x5f0542[_0x9838ab(0x25a)],_0x461247=[],_0x5511c6=0x0;_0x5511c6<_0x22370f;_0x5511c6+=0x2)_0x461247[_0x5511c6>>>0x3]|=parseInt(_0x5f0542[_0x9838ab(0x352)](_0x5511c6,0x2),0x10)<<0x18-_0x5511c6%0x8*0x4;return new _0x36be22['init'](_0x461247,_0x22370f/0x2);}},_0xf129d3=_0x2d3fec[_0x2bdea7(0x369)]={'stringify':function(_0x22f9ac){var _0x56b213=_0x2bdea7;for(var _0x5b8335=_0x22f9ac[_0x56b213(0x349)],_0x548f40=_0x22f9ac[_0x56b213(0x43b)],_0x321955=[],_0x7bc08e=0x0;_0x7bc08e<_0x548f40;_0x7bc08e++){var _0x2e4705=_0x5b8335[_0x7bc08e>>>0x2]>>>0x18-_0x7bc08e%0x4*0x8&0xff;_0x321955[_0x56b213(0x39c)](String[_0x56b213(0x227)](_0x2e4705));}return _0x321955[_0x56b213(0x254)]('');},'parse':function(_0x4cf360){var _0x9618e5=_0x2bdea7;for(var _0x2e3248=_0x4cf360[_0x9618e5(0x25a)],_0x5ce5cc=[],_0x2c2560=0x0;_0x2c2560<_0x2e3248;_0x2c2560++)_0x5ce5cc[_0x2c2560>>>0x2]|=(_0x4cf360['charCodeAt'](_0x2c2560)&0xff)<<0x18-_0x2c2560%0x4*0x8;return new _0x36be22[(_0x9618e5(0x348))](_0x5ce5cc,_0x2e3248);}},_0x4bda6d=_0x2d3fec[_0x2bdea7(0x354)]={'stringify':function(_0x3e4c46){var _0x11bdd8=_0x2bdea7;try{return decodeURIComponent(escape(_0xf129d3[_0x11bdd8(0x160)](_0x3e4c46)));}catch{throw new Error(_0x11bdd8(0x285));}},'parse':function(_0x272a3e){var _0x12c0f7=_0x2bdea7;return _0xf129d3[_0x12c0f7(0x401)](unescape(encodeURIComponent(_0x272a3e)));}},_0x1bed76=_0x47fca1['BufferedBlockAlgorithm']=_0x3d9c4e['extend']({'reset':function(){var _0x294438=_0x2bdea7;this['_data']=new _0x36be22[(_0x294438(0x348))](),this[_0x294438(0x2dc)]=0x0;},'_append':function(_0x46470f){var _0xabe1cf=_0x2bdea7;typeof _0x46470f==_0xabe1cf(0x3bf)&&(_0x46470f=_0x4bda6d[_0xabe1cf(0x401)](_0x46470f)),this['_data'][_0xabe1cf(0x2db)](_0x46470f),this[_0xabe1cf(0x2dc)]+=_0x46470f[_0xabe1cf(0x43b)];},'_process':function(_0x1d7054){var _0x18ffaa=_0x2bdea7,_0x5065f5,_0x3e0d0a=this[_0x18ffaa(0x421)],_0x283d27=_0x3e0d0a[_0x18ffaa(0x349)],_0x12bb2d=_0x3e0d0a[_0x18ffaa(0x43b)],_0x22cf92=this[_0x18ffaa(0x334)],_0x3da73c=_0x22cf92*0x4,_0x297670=_0x12bb2d/_0x3da73c;_0x1d7054?_0x297670=_0x5d22b6['ceil'](_0x297670):_0x297670=_0x5d22b6[_0x18ffaa(0x27c)]((_0x297670|0x0)-this[_0x18ffaa(0x155)],0x0);var _0x58ffc6=_0x297670*_0x22cf92,_0x540b74=_0x5d22b6[_0x18ffaa(0x322)](_0x58ffc6*0x4,_0x12bb2d);if(_0x58ffc6){for(var _0x2563e3=0x0;_0x2563e3<_0x58ffc6;_0x2563e3+=_0x22cf92)this[_0x18ffaa(0x2f8)](_0x283d27,_0x2563e3);_0x5065f5=_0x283d27[_0x18ffaa(0x409)](0x0,_0x58ffc6),_0x3e0d0a[_0x18ffaa(0x43b)]-=_0x540b74;}return new _0x36be22[(_0x18ffaa(0x348))](_0x5065f5,_0x540b74);},'clone':function(){var _0x2d46a0=_0x2bdea7,_0x56a886=_0x3d9c4e[_0x2d46a0(0x2c3)][_0x2d46a0(0x2ee)](this);return _0x56a886[_0x2d46a0(0x421)]=this['_data']['clone'](),_0x56a886;},'_minBufferSize':0x0});_0x47fca1[_0x2bdea7(0x321)]=_0x1bed76[_0x2bdea7(0x146)]({'cfg':_0x3d9c4e[_0x2bdea7(0x146)](),'init':function(_0x5c71d4){var _0x57e8c2=_0x2bdea7;this[_0x57e8c2(0x32d)]=this[_0x57e8c2(0x32d)][_0x57e8c2(0x146)](_0x5c71d4),this[_0x57e8c2(0x311)]();},'reset':function(){var _0x4cd49a=_0x2bdea7;_0x1bed76['reset'][_0x4cd49a(0x2ee)](this),this[_0x4cd49a(0x2c2)]();},'update':function(_0x2150a0){var _0x4f31d0=_0x2bdea7;return this[_0x4f31d0(0x3a8)](_0x2150a0),this['_process'](),this;},'finalize':function(_0x110d9c){_0x110d9c&&this['_append'](_0x110d9c);var _0xe3a799=this['_doFinalize']();return _0xe3a799;},'blockSize':0x10,'_createHelper':function(_0x5720e5){return function(_0xb876af,_0x119510){var _0x366a2f=_0x59f7;return new _0x5720e5[(_0x366a2f(0x348))](_0x119510)[_0x366a2f(0x23c)](_0xb876af);};},'_createHmacHelper':function(_0x3a6b6b){return function(_0x5662ad,_0x523113){var _0x2d2824=_0x59f7;return new _0x4604ea[(_0x2d2824(0x3b5))][(_0x2d2824(0x348))](_0x3a6b6b,_0x523113)[_0x2d2824(0x23c)](_0x5662ad);};}});var _0x4604ea=_0x48588d[_0x2bdea7(0x2f7)]={};return _0x48588d;}(Math);return _0x53edb2;}));}(Ge)),Ge[_0x4cd10a(0x209)];}var We={'exports':{}},dn=We['exports'],zt;function Oi(){var _0x4597e1=_0x1cf15a;return zt||(zt=0x1,function(_0x1c8c81,_0x27b8f2){(function(_0x17e75f,_0x939554){var _0x2bda67=_0x59f7;_0x1c8c81[_0x2bda67(0x209)]=_0x939554(te());}(dn,function(_0x23cc4e){var _0xe85e1a=_0x59f7;return(function(){var _0x4e368b=_0x59f7,_0x271e4a=_0x23cc4e,_0x44b6e7=_0x271e4a['lib'],_0x4ddb23=_0x44b6e7['WordArray'],_0x3f521e=_0x271e4a['enc'];_0x3f521e[_0x4e368b(0x213)]={'stringify':function(_0x1d6de8){var _0x1733e4=_0x4e368b,_0x2e6346=_0x1d6de8[_0x1733e4(0x349)],_0x4f489d=_0x1d6de8[_0x1733e4(0x43b)],_0x191e29=this[_0x1733e4(0x3b3)];_0x1d6de8[_0x1733e4(0x192)]();for(var _0x486911=[],_0x229e33=0x0;_0x229e33<_0x4f489d;_0x229e33+=0x3)for(var _0x577b06=_0x2e6346[_0x229e33>>>0x2]>>>0x18-_0x229e33%0x4*0x8&0xff,_0x25fa1f=_0x2e6346[_0x229e33+0x1>>>0x2]>>>0x18-(_0x229e33+0x1)%0x4*0x8&0xff,_0x50164b=_0x2e6346[_0x229e33+0x2>>>0x2]>>>0x18-(_0x229e33+0x2)%0x4*0x8&0xff,_0x333936=_0x577b06<<0x10|_0x25fa1f<<0x8|_0x50164b,_0x74ab0c=0x0;_0x74ab0c<0x4&&_0x229e33+_0x74ab0c*0.75<_0x4f489d;_0x74ab0c++)_0x486911['push'](_0x191e29[_0x1733e4(0x173)](_0x333936>>>0x6*(0x3-_0x74ab0c)&0x3f));var _0x2cbdee=_0x191e29['charAt'](0x40);if(_0x2cbdee){for(;_0x486911[_0x1733e4(0x25a)]%0x4;)_0x486911[_0x1733e4(0x39c)](_0x2cbdee);}return _0x486911[_0x1733e4(0x254)]('');},'parse':function(_0x5a9326){var _0x26ab77=_0x4e368b,_0x14b589=_0x5a9326[_0x26ab77(0x25a)],_0x3a5707=this['_map'],_0x20a1f3=this['_reverseMap'];if(!_0x20a1f3){_0x20a1f3=this[_0x26ab77(0x196)]=[];for(var _0x3782ef=0x0;_0x3782ef<_0x3a5707[_0x26ab77(0x25a)];_0x3782ef++)_0x20a1f3[_0x3a5707[_0x26ab77(0x2f4)](_0x3782ef)]=_0x3782ef;}var _0x2444c6=_0x3a5707['charAt'](0x40);if(_0x2444c6){var _0x315220=_0x5a9326[_0x26ab77(0x1e5)](_0x2444c6);_0x315220!==-0x1&&(_0x14b589=_0x315220);}return _0x3a780c(_0x5a9326,_0x14b589,_0x20a1f3);},'_map':_0x4e368b(0x3dd)};function _0x3a780c(_0xdb723b,_0xc1abd,_0x412750){var _0x181825=_0x4e368b;for(var _0x3f8561=[],_0x4aab30=0x0,_0x4bba22=0x0;_0x4bba22<_0xc1abd;_0x4bba22++)if(_0x4bba22%0x4){var _0x5e2dd1=_0x412750[_0xdb723b[_0x181825(0x2f4)](_0x4bba22-0x1)]<<_0x4bba22%0x4*0x2,_0x365321=_0x412750[_0xdb723b[_0x181825(0x2f4)](_0x4bba22)]>>>0x6-_0x4bba22%0x4*0x2,_0x5260ed=_0x5e2dd1|_0x365321;_0x3f8561[_0x4aab30>>>0x2]|=_0x5260ed<<0x18-_0x4aab30%0x4*0x8,_0x4aab30++;}return _0x4ddb23[_0x181825(0x236)](_0x3f8561,_0x4aab30);}}()),_0x23cc4e[_0xe85e1a(0x438)][_0xe85e1a(0x213)];}));}(We)),We[_0x4597e1(0x209)];}var Ye={'exports':{}},fn=Ye[_0x1cf15a(0x209)],Jt;function vn(){var _0x4def44=_0x1cf15a;return Jt||(Jt=0x1,function(_0x59353b,_0x21ecb2){(function(_0x40b38b,_0x2c7f01){var _0x33d333=_0x59f7;_0x59353b[_0x33d333(0x209)]=_0x2c7f01(te());}(fn,function(_0x392475){var _0x44ec65=_0x59f7;return function(_0x33f882){var _0xa88c8f=_0x59f7,_0x26632a=_0x392475,_0x403ea1=_0x26632a[_0xa88c8f(0x1a5)],_0x9d3825=_0x403ea1[_0xa88c8f(0x42a)],_0x5d953f=_0x403ea1[_0xa88c8f(0x321)],_0x77532e=_0x26632a['algo'],_0x289735=[];(function(){var _0x2b169f=_0xa88c8f;for(var _0x366dce=0x0;_0x366dce<0x40;_0x366dce++)_0x289735[_0x366dce]=_0x33f882[_0x2b169f(0x2e9)](_0x33f882[_0x2b169f(0x241)](_0x366dce+0x1))*0x100000000|0x0;}());var _0x2094a6=_0x77532e['MD5']=_0x5d953f['extend']({'_doReset':function(){var _0x50c59b=_0xa88c8f;this[_0x50c59b(0x35f)]=new _0x9d3825['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xef70c2,_0x5dfe26){var _0x226de1=_0xa88c8f;for(var _0x98528c=0x0;_0x98528c<0x10;_0x98528c++){var _0x405dff=_0x5dfe26+_0x98528c,_0x4c6c71=_0xef70c2[_0x405dff];_0xef70c2[_0x405dff]=(_0x4c6c71<<0x8|_0x4c6c71>>>0x18)&0xff00ff|(_0x4c6c71<<0x18|_0x4c6c71>>>0x8)&0xff00ff00;}var _0x5474f7=this[_0x226de1(0x35f)][_0x226de1(0x349)],_0x5d3f30=_0xef70c2[_0x5dfe26+0x0],_0x391461=_0xef70c2[_0x5dfe26+0x1],_0x5b334d=_0xef70c2[_0x5dfe26+0x2],_0x46669a=_0xef70c2[_0x5dfe26+0x3],_0x4a083b=_0xef70c2[_0x5dfe26+0x4],_0x25ff1f=_0xef70c2[_0x5dfe26+0x5],_0x2c8475=_0xef70c2[_0x5dfe26+0x6],_0xa66268=_0xef70c2[_0x5dfe26+0x7],_0x1221ad=_0xef70c2[_0x5dfe26+0x8],_0xbfe583=_0xef70c2[_0x5dfe26+0x9],_0x22b73f=_0xef70c2[_0x5dfe26+0xa],_0x5331c1=_0xef70c2[_0x5dfe26+0xb],_0x15210a=_0xef70c2[_0x5dfe26+0xc],_0x4287b4=_0xef70c2[_0x5dfe26+0xd],_0x424535=_0xef70c2[_0x5dfe26+0xe],_0x74f6cb=_0xef70c2[_0x5dfe26+0xf],_0x3e8b21=_0x5474f7[0x0],_0x3210cc=_0x5474f7[0x1],_0x23553f=_0x5474f7[0x2],_0x32a087=_0x5474f7[0x3];_0x3e8b21=_0x656306(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x5d3f30,0x7,_0x289735[0x0]),_0x32a087=_0x656306(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x391461,0xc,_0x289735[0x1]),_0x23553f=_0x656306(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x5b334d,0x11,_0x289735[0x2]),_0x3210cc=_0x656306(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x46669a,0x16,_0x289735[0x3]),_0x3e8b21=_0x656306(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x4a083b,0x7,_0x289735[0x4]),_0x32a087=_0x656306(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x25ff1f,0xc,_0x289735[0x5]),_0x23553f=_0x656306(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x2c8475,0x11,_0x289735[0x6]),_0x3210cc=_0x656306(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0xa66268,0x16,_0x289735[0x7]),_0x3e8b21=_0x656306(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x1221ad,0x7,_0x289735[0x8]),_0x32a087=_0x656306(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0xbfe583,0xc,_0x289735[0x9]),_0x23553f=_0x656306(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x22b73f,0x11,_0x289735[0xa]),_0x3210cc=_0x656306(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x5331c1,0x16,_0x289735[0xb]),_0x3e8b21=_0x656306(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x15210a,0x7,_0x289735[0xc]),_0x32a087=_0x656306(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x4287b4,0xc,_0x289735[0xd]),_0x23553f=_0x656306(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x424535,0x11,_0x289735[0xe]),_0x3210cc=_0x656306(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x74f6cb,0x16,_0x289735[0xf]),_0x3e8b21=_0x4a9409(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x391461,0x5,_0x289735[0x10]),_0x32a087=_0x4a9409(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x2c8475,0x9,_0x289735[0x11]),_0x23553f=_0x4a9409(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x5331c1,0xe,_0x289735[0x12]),_0x3210cc=_0x4a9409(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x5d3f30,0x14,_0x289735[0x13]),_0x3e8b21=_0x4a9409(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x25ff1f,0x5,_0x289735[0x14]),_0x32a087=_0x4a9409(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x22b73f,0x9,_0x289735[0x15]),_0x23553f=_0x4a9409(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x74f6cb,0xe,_0x289735[0x16]),_0x3210cc=_0x4a9409(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x4a083b,0x14,_0x289735[0x17]),_0x3e8b21=_0x4a9409(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0xbfe583,0x5,_0x289735[0x18]),_0x32a087=_0x4a9409(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x424535,0x9,_0x289735[0x19]),_0x23553f=_0x4a9409(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x46669a,0xe,_0x289735[0x1a]),_0x3210cc=_0x4a9409(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x1221ad,0x14,_0x289735[0x1b]),_0x3e8b21=_0x4a9409(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x4287b4,0x5,_0x289735[0x1c]),_0x32a087=_0x4a9409(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x5b334d,0x9,_0x289735[0x1d]),_0x23553f=_0x4a9409(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0xa66268,0xe,_0x289735[0x1e]),_0x3210cc=_0x4a9409(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x15210a,0x14,_0x289735[0x1f]),_0x3e8b21=_0x509623(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x25ff1f,0x4,_0x289735[0x20]),_0x32a087=_0x509623(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x1221ad,0xb,_0x289735[0x21]),_0x23553f=_0x509623(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x5331c1,0x10,_0x289735[0x22]),_0x3210cc=_0x509623(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x424535,0x17,_0x289735[0x23]),_0x3e8b21=_0x509623(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x391461,0x4,_0x289735[0x24]),_0x32a087=_0x509623(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x4a083b,0xb,_0x289735[0x25]),_0x23553f=_0x509623(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0xa66268,0x10,_0x289735[0x26]),_0x3210cc=_0x509623(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x22b73f,0x17,_0x289735[0x27]),_0x3e8b21=_0x509623(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x4287b4,0x4,_0x289735[0x28]),_0x32a087=_0x509623(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x5d3f30,0xb,_0x289735[0x29]),_0x23553f=_0x509623(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x46669a,0x10,_0x289735[0x2a]),_0x3210cc=_0x509623(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x2c8475,0x17,_0x289735[0x2b]),_0x3e8b21=_0x509623(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0xbfe583,0x4,_0x289735[0x2c]),_0x32a087=_0x509623(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x15210a,0xb,_0x289735[0x2d]),_0x23553f=_0x509623(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x74f6cb,0x10,_0x289735[0x2e]),_0x3210cc=_0x509623(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x5b334d,0x17,_0x289735[0x2f]),_0x3e8b21=_0x44ab96(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x5d3f30,0x6,_0x289735[0x30]),_0x32a087=_0x44ab96(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0xa66268,0xa,_0x289735[0x31]),_0x23553f=_0x44ab96(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x424535,0xf,_0x289735[0x32]),_0x3210cc=_0x44ab96(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x25ff1f,0x15,_0x289735[0x33]),_0x3e8b21=_0x44ab96(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x15210a,0x6,_0x289735[0x34]),_0x32a087=_0x44ab96(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x46669a,0xa,_0x289735[0x35]),_0x23553f=_0x44ab96(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x22b73f,0xf,_0x289735[0x36]),_0x3210cc=_0x44ab96(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x391461,0x15,_0x289735[0x37]),_0x3e8b21=_0x44ab96(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x1221ad,0x6,_0x289735[0x38]),_0x32a087=_0x44ab96(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x74f6cb,0xa,_0x289735[0x39]),_0x23553f=_0x44ab96(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x2c8475,0xf,_0x289735[0x3a]),_0x3210cc=_0x44ab96(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x4287b4,0x15,_0x289735[0x3b]),_0x3e8b21=_0x44ab96(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x4a083b,0x6,_0x289735[0x3c]),_0x32a087=_0x44ab96(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x5331c1,0xa,_0x289735[0x3d]),_0x23553f=_0x44ab96(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x5b334d,0xf,_0x289735[0x3e]),_0x3210cc=_0x44ab96(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0xbfe583,0x15,_0x289735[0x3f]),_0x5474f7[0x0]=_0x5474f7[0x0]+_0x3e8b21|0x0,_0x5474f7[0x1]=_0x5474f7[0x1]+_0x3210cc|0x0,_0x5474f7[0x2]=_0x5474f7[0x2]+_0x23553f|0x0,_0x5474f7[0x3]=_0x5474f7[0x3]+_0x32a087|0x0;},'_doFinalize':function(){var _0x466c7f=_0xa88c8f,_0x65c6ce=this['_data'],_0x2c8cfb=_0x65c6ce['words'],_0x439c75=this[_0x466c7f(0x2dc)]*0x8,_0x2e6996=_0x65c6ce['sigBytes']*0x8;_0x2c8cfb[_0x2e6996>>>0x5]|=0x80<<0x18-_0x2e6996%0x20;var _0x270eaa=_0x33f882[_0x466c7f(0x399)](_0x439c75/0x100000000),_0x54646e=_0x439c75;_0x2c8cfb[(_0x2e6996+0x40>>>0x9<<0x4)+0xf]=(_0x270eaa<<0x8|_0x270eaa>>>0x18)&0xff00ff|(_0x270eaa<<0x18|_0x270eaa>>>0x8)&0xff00ff00,_0x2c8cfb[(_0x2e6996+0x40>>>0x9<<0x4)+0xe]=(_0x54646e<<0x8|_0x54646e>>>0x18)&0xff00ff|(_0x54646e<<0x18|_0x54646e>>>0x8)&0xff00ff00,_0x65c6ce[_0x466c7f(0x43b)]=(_0x2c8cfb[_0x466c7f(0x25a)]+0x1)*0x4,this[_0x466c7f(0x1ab)]();for(var _0x4ef8bd=this[_0x466c7f(0x35f)],_0x40689a=_0x4ef8bd[_0x466c7f(0x349)],_0x37aaad=0x0;_0x37aaad<0x4;_0x37aaad++){var _0x1f808f=_0x40689a[_0x37aaad];_0x40689a[_0x37aaad]=(_0x1f808f<<0x8|_0x1f808f>>>0x18)&0xff00ff|(_0x1f808f<<0x18|_0x1f808f>>>0x8)&0xff00ff00;}return _0x4ef8bd;},'clone':function(){var _0x3e59f4=_0xa88c8f,_0x4964fb=_0x5d953f[_0x3e59f4(0x2c3)]['call'](this);return _0x4964fb[_0x3e59f4(0x35f)]=this[_0x3e59f4(0x35f)]['clone'](),_0x4964fb;}});function _0x656306(_0x53111d,_0x53e3df,_0x388612,_0x58392d,_0x406c62,_0x3a596b,_0x13b91f){var _0x6a2842=_0x53111d+(_0x53e3df&_0x388612|~_0x53e3df&_0x58392d)+_0x406c62+_0x13b91f;return(_0x6a2842<<_0x3a596b|_0x6a2842>>>0x20-_0x3a596b)+_0x53e3df;}function _0x4a9409(_0x359e4b,_0x2b2aa5,_0x41c004,_0x211c82,_0x22b60e,_0x550ef1,_0x3ab76f){var _0x39ec49=_0x359e4b+(_0x2b2aa5&_0x211c82|_0x41c004&~_0x211c82)+_0x22b60e+_0x3ab76f;return(_0x39ec49<<_0x550ef1|_0x39ec49>>>0x20-_0x550ef1)+_0x2b2aa5;}function _0x509623(_0x53fa05,_0x52f026,_0x4e972c,_0x40e231,_0x2f69a4,_0x3d5fa3,_0x4cb887){var _0x2e3fe3=_0x53fa05+(_0x52f026^_0x4e972c^_0x40e231)+_0x2f69a4+_0x4cb887;return(_0x2e3fe3<<_0x3d5fa3|_0x2e3fe3>>>0x20-_0x3d5fa3)+_0x52f026;}function _0x44ab96(_0x84d15d,_0x2d7ec6,_0x93a451,_0x46495e,_0x23fbd1,_0xea56f0,_0x5e0e40){var _0x3ba993=_0x84d15d+(_0x93a451^(_0x2d7ec6|~_0x46495e))+_0x23fbd1+_0x5e0e40;return(_0x3ba993<<_0xea56f0|_0x3ba993>>>0x20-_0xea56f0)+_0x2d7ec6;}_0x26632a[_0xa88c8f(0x238)]=_0x5d953f['_createHelper'](_0x2094a6),_0x26632a[_0xa88c8f(0x412)]=_0x5d953f[_0xa88c8f(0x251)](_0x2094a6);}(Math),_0x392475[_0x44ec65(0x238)];}));}(Ye)),Ye[_0x4def44(0x209)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe['exports'],Xt;function mn(){var _0x5bdfa6=_0x1cf15a;return Xt||(Xt=0x1,function(_0x2303c1,_0x596793){(function(_0x42fa2a,_0x10319b){var _0x166b2f=_0x59f7;_0x2303c1[_0x166b2f(0x209)]=_0x10319b(te());}(pn,function(_0x1403cf){var _0x4bbe2e=_0x59f7;return(function(){var _0x2cd126=_0x59f7,_0xcfecac=_0x1403cf,_0x6d9799=_0xcfecac[_0x2cd126(0x1a5)],_0x3b9020=_0x6d9799[_0x2cd126(0x42a)],_0x2c6081=_0x6d9799[_0x2cd126(0x321)],_0xc7bf=_0xcfecac[_0x2cd126(0x2f7)],_0x51c426=[],_0x6e2a38=_0xc7bf['SHA1']=_0x2c6081[_0x2cd126(0x146)]({'_doReset':function(){var _0x3c6459=_0x2cd126;this[_0x3c6459(0x35f)]=new _0x3b9020[(_0x3c6459(0x348))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1492ae,_0x2f9a86){var _0x56dfc4=_0x2cd126;for(var _0x3e3e90=this[_0x56dfc4(0x35f)][_0x56dfc4(0x349)],_0x5a7e7b=_0x3e3e90[0x0],_0x4781b3=_0x3e3e90[0x1],_0x13e503=_0x3e3e90[0x2],_0x5b9da2=_0x3e3e90[0x3],_0x93bad8=_0x3e3e90[0x4],_0x38b1f1=0x0;_0x38b1f1<0x50;_0x38b1f1++){if(_0x38b1f1<0x10)_0x51c426[_0x38b1f1]=_0x1492ae[_0x2f9a86+_0x38b1f1]|0x0;else{var _0x17f48c=_0x51c426[_0x38b1f1-0x3]^_0x51c426[_0x38b1f1-0x8]^_0x51c426[_0x38b1f1-0xe]^_0x51c426[_0x38b1f1-0x10];_0x51c426[_0x38b1f1]=_0x17f48c<<0x1|_0x17f48c>>>0x1f;}var _0xbd6307=(_0x5a7e7b<<0x5|_0x5a7e7b>>>0x1b)+_0x93bad8+_0x51c426[_0x38b1f1];_0x38b1f1<0x14?_0xbd6307+=(_0x4781b3&_0x13e503|~_0x4781b3&_0x5b9da2)+0x5a827999:_0x38b1f1<0x28?_0xbd6307+=(_0x4781b3^_0x13e503^_0x5b9da2)+0x6ed9eba1:_0x38b1f1<0x3c?_0xbd6307+=(_0x4781b3&_0x13e503|_0x4781b3&_0x5b9da2|_0x13e503&_0x5b9da2)-0x70e44324:_0xbd6307+=(_0x4781b3^_0x13e503^_0x5b9da2)-0x359d3e2a,_0x93bad8=_0x5b9da2,_0x5b9da2=_0x13e503,_0x13e503=_0x4781b3<<0x1e|_0x4781b3>>>0x2,_0x4781b3=_0x5a7e7b,_0x5a7e7b=_0xbd6307;}_0x3e3e90[0x0]=_0x3e3e90[0x0]+_0x5a7e7b|0x0,_0x3e3e90[0x1]=_0x3e3e90[0x1]+_0x4781b3|0x0,_0x3e3e90[0x2]=_0x3e3e90[0x2]+_0x13e503|0x0,_0x3e3e90[0x3]=_0x3e3e90[0x3]+_0x5b9da2|0x0,_0x3e3e90[0x4]=_0x3e3e90[0x4]+_0x93bad8|0x0;},'_doFinalize':function(){var _0x51cc16=_0x2cd126,_0x356f8f=this['_data'],_0x13accc=_0x356f8f[_0x51cc16(0x349)],_0x4b2a94=this[_0x51cc16(0x2dc)]*0x8,_0x2a4d9f=_0x356f8f['sigBytes']*0x8;return _0x13accc[_0x2a4d9f>>>0x5]|=0x80<<0x18-_0x2a4d9f%0x20,_0x13accc[(_0x2a4d9f+0x40>>>0x9<<0x4)+0xe]=Math[_0x51cc16(0x399)](_0x4b2a94/0x100000000),_0x13accc[(_0x2a4d9f+0x40>>>0x9<<0x4)+0xf]=_0x4b2a94,_0x356f8f['sigBytes']=_0x13accc['length']*0x4,this[_0x51cc16(0x1ab)](),this['_hash'];},'clone':function(){var _0x3243aa=_0x2cd126,_0x3eac25=_0x2c6081[_0x3243aa(0x2c3)]['call'](this);return _0x3eac25[_0x3243aa(0x35f)]=this[_0x3243aa(0x35f)][_0x3243aa(0x2c3)](),_0x3eac25;}});_0xcfecac['SHA1']=_0x2c6081[_0x2cd126(0x2e4)](_0x6e2a38),_0xcfecac[_0x2cd126(0x1a0)]=_0x2c6081['_createHmacHelper'](_0x6e2a38);}()),_0x1403cf[_0x4bbe2e(0x3d0)];}));}(qe)),qe[_0x5bdfa6(0x209)];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){var _0x304abf=_0x1cf15a;return Zt||(Zt=0x1,function(_0x45ec28,_0x1d57d6){(function(_0x204c69,_0x28338c){var _0x5298fa=_0x59f7;_0x45ec28[_0x5298fa(0x209)]=_0x28338c(te());}(gn,function(_0x2aacd4){(function(){var _0x3bef56=_0x59f7,_0x397e16=_0x2aacd4,_0x49ee09=_0x397e16['lib'],_0x2870dd=_0x49ee09[_0x3bef56(0x169)],_0x4a728b=_0x397e16[_0x3bef56(0x438)],_0x50b3e3=_0x4a728b[_0x3bef56(0x354)],_0x5a0ae9=_0x397e16[_0x3bef56(0x2f7)];_0x5a0ae9[_0x3bef56(0x3b5)]=_0x2870dd[_0x3bef56(0x146)]({'init':function(_0x49881a,_0x32284c){var _0x45c82f=_0x3bef56;_0x49881a=this['_hasher']=new _0x49881a[(_0x45c82f(0x348))](),typeof _0x32284c==_0x45c82f(0x3bf)&&(_0x32284c=_0x50b3e3[_0x45c82f(0x401)](_0x32284c));var _0x279329=_0x49881a[_0x45c82f(0x334)],_0x406829=_0x279329*0x4;_0x32284c[_0x45c82f(0x43b)]>_0x406829&&(_0x32284c=_0x49881a[_0x45c82f(0x23c)](_0x32284c)),_0x32284c[_0x45c82f(0x192)]();for(var _0x2ede45=this['_oKey']=_0x32284c[_0x45c82f(0x2c3)](),_0xb28eb3=this['_iKey']=_0x32284c[_0x45c82f(0x2c3)](),_0x390347=_0x2ede45[_0x45c82f(0x349)],_0x39a564=_0xb28eb3['words'],_0x34ccbb=0x0;_0x34ccbb<_0x279329;_0x34ccbb++)_0x390347[_0x34ccbb]^=0x5c5c5c5c,_0x39a564[_0x34ccbb]^=0x36363636;_0x2ede45[_0x45c82f(0x43b)]=_0xb28eb3['sigBytes']=_0x406829,this[_0x45c82f(0x311)]();},'reset':function(){var _0x43b986=_0x3bef56,_0x1d67b3=this[_0x43b986(0x25c)];_0x1d67b3[_0x43b986(0x311)](),_0x1d67b3[_0x43b986(0x151)](this['_iKey']);},'update':function(_0x42a235){var _0x1a173d=_0x3bef56;return this['_hasher'][_0x1a173d(0x151)](_0x42a235),this;},'finalize':function(_0x22e4c2){var _0x3aff0c=_0x3bef56,_0x1739ca=this['_hasher'],_0xd7c1c9=_0x1739ca['finalize'](_0x22e4c2);_0x1739ca[_0x3aff0c(0x311)]();var _0x478dda=_0x1739ca[_0x3aff0c(0x23c)](this[_0x3aff0c(0x29f)][_0x3aff0c(0x2c3)]()[_0x3aff0c(0x2db)](_0xd7c1c9));return _0x478dda;}});}());}));}(ze)),ze[_0x304abf(0x209)];}var En=Ke['exports'],Qt;function yi(){var _0x6bb33a=_0x1cf15a;return Qt||(Qt=0x1,function(_0xb6d19f,_0x2f5aad){(function(_0x14a970,_0x428426,_0x5bf59e){_0xb6d19f['exports']=_0x428426(te(),mn(),Sn());}(En,function(_0xbf1554){var _0x1fc92e=_0x59f7;return(function(){var _0x3d8d8b=_0x59f7,_0x16a8c4=_0xbf1554,_0x41947b=_0x16a8c4[_0x3d8d8b(0x1a5)],_0x508139=_0x41947b[_0x3d8d8b(0x169)],_0xab2f5b=_0x41947b[_0x3d8d8b(0x42a)],_0x55d591=_0x16a8c4[_0x3d8d8b(0x2f7)],_0x3efb73=_0x55d591[_0x3d8d8b(0x238)],_0x5e02e8=_0x55d591[_0x3d8d8b(0x3b0)]=_0x508139[_0x3d8d8b(0x146)]({'cfg':_0x508139[_0x3d8d8b(0x146)]({'keySize':0x80/0x20,'hasher':_0x3efb73,'iterations':0x1}),'init':function(_0x35cff6){var _0x3996ed=_0x3d8d8b;this['cfg']=this[_0x3996ed(0x32d)][_0x3996ed(0x146)](_0x35cff6);},'compute':function(_0xf3d728,_0x15b56f){var _0x2eca8d=_0x3d8d8b;for(var _0x9571d4,_0x555dee=this[_0x2eca8d(0x32d)],_0x3d9b9e=_0x555dee[_0x2eca8d(0x16d)]['create'](),_0x2c4204=_0xab2f5b[_0x2eca8d(0x236)](),_0x1d6c9c=_0x2c4204['words'],_0x5c33f6=_0x555dee[_0x2eca8d(0x370)],_0x113d77=_0x555dee[_0x2eca8d(0x1b0)];_0x1d6c9c[_0x2eca8d(0x25a)]<_0x5c33f6;){_0x9571d4&&_0x3d9b9e[_0x2eca8d(0x151)](_0x9571d4),_0x9571d4=_0x3d9b9e[_0x2eca8d(0x151)](_0xf3d728)[_0x2eca8d(0x23c)](_0x15b56f),_0x3d9b9e[_0x2eca8d(0x311)]();for(var _0x2bc57a=0x1;_0x2bc57a<_0x113d77;_0x2bc57a++)_0x9571d4=_0x3d9b9e[_0x2eca8d(0x23c)](_0x9571d4),_0x3d9b9e[_0x2eca8d(0x311)]();_0x2c4204[_0x2eca8d(0x2db)](_0x9571d4);}return _0x2c4204[_0x2eca8d(0x43b)]=_0x5c33f6*0x4,_0x2c4204;}});_0x16a8c4[_0x3d8d8b(0x3b0)]=function(_0x5f1316,_0x546898,_0x13259d){var _0x1c1c3d=_0x3d8d8b;return _0x5e02e8['create'](_0x13259d)[_0x1c1c3d(0x1f5)](_0x5f1316,_0x546898);};}()),_0xbf1554[_0x1fc92e(0x3b0)];}));}(Ke)),Ke[_0x6bb33a(0x209)];}var Je={'exports':{}},In=Je['exports'],ei;function Ni(){var _0x3898f9=_0x1cf15a;return ei||(ei=0x1,function(_0xf40555,_0x47cf45){(function(_0x4d2af9,_0x59d436,_0x29b0ca){_0xf40555['exports']=_0x59d436(te(),yi());}(In,function(_0x450fbc){var _0x204eeb=_0x59f7;_0x450fbc['lib'][_0x204eeb(0x1d3)]||function(_0x394b55){var _0xd29c37=_0x204eeb,_0x1039aa=_0x450fbc,_0x5bd40b=_0x1039aa[_0xd29c37(0x1a5)],_0xc4343d=_0x5bd40b[_0xd29c37(0x169)],_0x518bbb=_0x5bd40b[_0xd29c37(0x42a)],_0x1affc3=_0x5bd40b[_0xd29c37(0x27e)],_0x33e15e=_0x1039aa['enc'];_0x33e15e[_0xd29c37(0x354)];var _0x562cf8=_0x33e15e[_0xd29c37(0x213)],_0x3c1d75=_0x1039aa[_0xd29c37(0x2f7)],_0x1dd907=_0x3c1d75['EvpKDF'],_0x18ecf9=_0x5bd40b[_0xd29c37(0x1d3)]=_0x1affc3[_0xd29c37(0x146)]({'cfg':_0xc4343d[_0xd29c37(0x146)](),'createEncryptor':function(_0x43ed30,_0x269939){var _0x419b0d=_0xd29c37;return this[_0x419b0d(0x236)](this[_0x419b0d(0x261)],_0x43ed30,_0x269939);},'createDecryptor':function(_0x3f4f69,_0x3f2248){var _0x566009=_0xd29c37;return this[_0x566009(0x236)](this[_0x566009(0x188)],_0x3f4f69,_0x3f2248);},'init':function(_0x5085e9,_0x558c68,_0x13f8ad){var _0x236b24=_0xd29c37;this[_0x236b24(0x32d)]=this[_0x236b24(0x32d)][_0x236b24(0x146)](_0x13f8ad),this[_0x236b24(0x260)]=_0x5085e9,this[_0x236b24(0x415)]=_0x558c68,this[_0x236b24(0x311)]();},'reset':function(){var _0x2ea42c=_0xd29c37;_0x1affc3[_0x2ea42c(0x311)][_0x2ea42c(0x2ee)](this),this[_0x2ea42c(0x2c2)]();},'process':function(_0x13a938){var _0x59a2d5=_0xd29c37;return this[_0x59a2d5(0x3a8)](_0x13a938),this[_0x59a2d5(0x1ab)]();},'finalize':function(_0x2b7097){var _0x3ab5c7=_0xd29c37;_0x2b7097&&this[_0x3ab5c7(0x3a8)](_0x2b7097);var _0xba8bad=this[_0x3ab5c7(0x389)]();return _0xba8bad;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x25ce91(_0x40c393){var _0x2ae71b=_0x59f7;return typeof _0x40c393==_0x2ae71b(0x3bf)?_0x353c73:_0x45ab24;}return function(_0x167fe4){return{'encrypt':function(_0x57a550,_0x2bb0e3,_0x10a809){return _0x25ce91(_0x2bb0e3)['encrypt'](_0x167fe4,_0x57a550,_0x2bb0e3,_0x10a809);},'decrypt':function(_0x37d0fc,_0x13e384,_0x167449){var _0x2196e0=_0x59f7;return _0x25ce91(_0x13e384)[_0x2196e0(0x2aa)](_0x167fe4,_0x37d0fc,_0x13e384,_0x167449);}};};}())});_0x5bd40b[_0xd29c37(0x1f6)]=_0x18ecf9['extend']({'_doFinalize':function(){var _0x573262=_0xd29c37,_0x38a05f=this[_0x573262(0x1ab)](!0x0);return _0x38a05f;},'blockSize':0x1});var _0x4bd0a0=_0x1039aa[_0xd29c37(0x1ac)]={},_0x3b037c=_0x5bd40b[_0xd29c37(0x27d)]=_0xc4343d[_0xd29c37(0x146)]({'createEncryptor':function(_0x5649af,_0x285578){return this['Encryptor']['create'](_0x5649af,_0x285578);},'createDecryptor':function(_0x48a450,_0x13b803){var _0x179f26=_0xd29c37;return this['Decryptor'][_0x179f26(0x236)](_0x48a450,_0x13b803);},'init':function(_0x1696e6,_0xd7fa51){this['_cipher']=_0x1696e6,this['_iv']=_0xd7fa51;}}),_0x370f16=_0x4bd0a0[_0xd29c37(0x281)]=(function(){var _0x597020=_0xd29c37,_0x1e9c99=_0x3b037c['extend']();_0x1e9c99[_0x597020(0x390)]=_0x1e9c99[_0x597020(0x146)]({'processBlock':function(_0x1b1133,_0x2a846){var _0x21ac4a=_0x597020,_0x183756=this[_0x21ac4a(0x20f)],_0x29851d=_0x183756[_0x21ac4a(0x334)];_0x123997[_0x21ac4a(0x2ee)](this,_0x1b1133,_0x2a846,_0x29851d),_0x183756[_0x21ac4a(0x3e5)](_0x1b1133,_0x2a846),this['_prevBlock']=_0x1b1133['slice'](_0x2a846,_0x2a846+_0x29851d);}}),_0x1e9c99[_0x597020(0x326)]=_0x1e9c99[_0x597020(0x146)]({'processBlock':function(_0x22623c,_0x5bf498){var _0x2d85d6=_0x597020,_0x4f8bd5=this[_0x2d85d6(0x20f)],_0x3332fd=_0x4f8bd5[_0x2d85d6(0x334)],_0xeb4790=_0x22623c[_0x2d85d6(0x22c)](_0x5bf498,_0x5bf498+_0x3332fd);_0x4f8bd5[_0x2d85d6(0x3e4)](_0x22623c,_0x5bf498),_0x123997[_0x2d85d6(0x2ee)](this,_0x22623c,_0x5bf498,_0x3332fd),this[_0x2d85d6(0x217)]=_0xeb4790;}});function _0x123997(_0x58252b,_0xd4eaff,_0x392163){var _0x5a00a6=_0x597020,_0x4e0c20,_0x4430e6=this[_0x5a00a6(0x158)];_0x4430e6?(_0x4e0c20=_0x4430e6,this[_0x5a00a6(0x158)]=_0x394b55):_0x4e0c20=this[_0x5a00a6(0x217)];for(var _0x382f2e=0x0;_0x382f2e<_0x392163;_0x382f2e++)_0x58252b[_0xd4eaff+_0x382f2e]^=_0x4e0c20[_0x382f2e];}return _0x1e9c99;}()),_0x237f28=_0x1039aa[_0xd29c37(0x3c2)]={},_0x598e15=_0x237f28[_0xd29c37(0x300)]={'pad':function(_0x15aeda,_0x5adcb5){var _0x58582a=_0xd29c37;for(var _0x302c1f=_0x5adcb5*0x4,_0x559a58=_0x302c1f-_0x15aeda[_0x58582a(0x43b)]%_0x302c1f,_0x18c1c3=_0x559a58<<0x18|_0x559a58<<0x10|_0x559a58<<0x8|_0x559a58,_0xd87d00=[],_0x5b1d68=0x0;_0x5b1d68<_0x559a58;_0x5b1d68+=0x4)_0xd87d00[_0x58582a(0x39c)](_0x18c1c3);var _0x331f4c=_0x518bbb['create'](_0xd87d00,_0x559a58);_0x15aeda[_0x58582a(0x2db)](_0x331f4c);},'unpad':function(_0x1f4b19){var _0x2b9f30=_0xd29c37,_0x250cd8=_0x1f4b19[_0x2b9f30(0x349)][_0x1f4b19[_0x2b9f30(0x43b)]-0x1>>>0x2]&0xff;_0x1f4b19['sigBytes']-=_0x250cd8;}};_0x5bd40b[_0xd29c37(0x2d0)]=_0x18ecf9[_0xd29c37(0x146)]({'cfg':_0x18ecf9[_0xd29c37(0x32d)][_0xd29c37(0x146)]({'mode':_0x370f16,'padding':_0x598e15}),'reset':function(){var _0x4cda4e=_0xd29c37,_0x1d0aff;_0x18ecf9['reset'][_0x4cda4e(0x2ee)](this);var _0xe69889=this['cfg'],_0x1240f0=_0xe69889['iv'],_0x1a8e99=_0xe69889[_0x4cda4e(0x1ac)];this[_0x4cda4e(0x260)]==this[_0x4cda4e(0x261)]?_0x1d0aff=_0x1a8e99[_0x4cda4e(0x19c)]:(_0x1d0aff=_0x1a8e99[_0x4cda4e(0x2f9)],this[_0x4cda4e(0x155)]=0x1),this['_mode']&&this[_0x4cda4e(0x17a)][_0x4cda4e(0x33e)]==_0x1d0aff?this[_0x4cda4e(0x17a)][_0x4cda4e(0x348)](this,_0x1240f0&&_0x1240f0[_0x4cda4e(0x349)]):(this[_0x4cda4e(0x17a)]=_0x1d0aff[_0x4cda4e(0x2ee)](_0x1a8e99,this,_0x1240f0&&_0x1240f0[_0x4cda4e(0x349)]),this[_0x4cda4e(0x17a)]['__creator']=_0x1d0aff);},'_doProcessBlock':function(_0x39dbaa,_0x567820){var _0x1f49fe=_0xd29c37;this[_0x1f49fe(0x17a)]['processBlock'](_0x39dbaa,_0x567820);},'_doFinalize':function(){var _0x667029=_0xd29c37,_0x442574,_0x7fbcd1=this['cfg'][_0x667029(0x1d7)];return this[_0x667029(0x260)]==this['_ENC_XFORM_MODE']?(_0x7fbcd1[_0x667029(0x3c2)](this[_0x667029(0x421)],this[_0x667029(0x334)]),_0x442574=this[_0x667029(0x1ab)](!0x0)):(_0x442574=this[_0x667029(0x1ab)](!0x0),_0x7fbcd1['unpad'](_0x442574)),_0x442574;},'blockSize':0x80/0x20});var _0x23c8b0=_0x5bd40b[_0xd29c37(0x36e)]=_0xc4343d['extend']({'init':function(_0x5527aa){var _0x1269fd=_0xd29c37;this[_0x1269fd(0x23b)](_0x5527aa);},'toString':function(_0x40cd0c){var _0x1d80ee=_0xd29c37;return(_0x40cd0c||this[_0x1d80ee(0x208)])[_0x1d80ee(0x160)](this);}}),_0x25a4a6=_0x1039aa[_0xd29c37(0x177)]={},_0x308fe4=_0x25a4a6[_0xd29c37(0x2b6)]={'stringify':function(_0x3c0238){var _0x454b60=_0xd29c37,_0x212f3f,_0x444936=_0x3c0238[_0x454b60(0x1f1)],_0x3d04cb=_0x3c0238['salt'];return _0x3d04cb?_0x212f3f=_0x518bbb[_0x454b60(0x236)]([0x53616c74,0x65645f5f])[_0x454b60(0x2db)](_0x3d04cb)[_0x454b60(0x2db)](_0x444936):_0x212f3f=_0x444936,_0x212f3f[_0x454b60(0x1db)](_0x562cf8);},'parse':function(_0x7e2740){var _0x474348=_0xd29c37,_0x3d9f53,_0x252d5e=_0x562cf8['parse'](_0x7e2740),_0x321a68=_0x252d5e['words'];return _0x321a68[0x0]==0x53616c74&&_0x321a68[0x1]==0x65645f5f&&(_0x3d9f53=_0x518bbb['create'](_0x321a68[_0x474348(0x22c)](0x2,0x4)),_0x321a68['splice'](0x0,0x4),_0x252d5e[_0x474348(0x43b)]-=0x10),_0x23c8b0['create']({'ciphertext':_0x252d5e,'salt':_0x3d9f53});}},_0x45ab24=_0x5bd40b[_0xd29c37(0x3af)]=_0xc4343d['extend']({'cfg':_0xc4343d[_0xd29c37(0x146)]({'format':_0x308fe4}),'encrypt':function(_0x571f0e,_0x56b0f2,_0xe8e8fd,_0x3e6b67){var _0x4426cc=_0xd29c37;_0x3e6b67=this['cfg'][_0x4426cc(0x146)](_0x3e6b67);var _0x383e3e=_0x571f0e['createEncryptor'](_0xe8e8fd,_0x3e6b67),_0x3476bf=_0x383e3e[_0x4426cc(0x23c)](_0x56b0f2),_0x549902=_0x383e3e['cfg'];return _0x23c8b0[_0x4426cc(0x236)]({'ciphertext':_0x3476bf,'key':_0xe8e8fd,'iv':_0x549902['iv'],'algorithm':_0x571f0e,'mode':_0x549902[_0x4426cc(0x1ac)],'padding':_0x549902[_0x4426cc(0x1d7)],'blockSize':_0x571f0e[_0x4426cc(0x334)],'formatter':_0x3e6b67[_0x4426cc(0x177)]});},'decrypt':function(_0x4229a3,_0x22b0d6,_0x323662,_0x51e17c){var _0xc78ff4=_0xd29c37;_0x51e17c=this['cfg'][_0xc78ff4(0x146)](_0x51e17c),_0x22b0d6=this[_0xc78ff4(0x1be)](_0x22b0d6,_0x51e17c[_0xc78ff4(0x177)]);var _0x233403=_0x4229a3[_0xc78ff4(0x2f9)](_0x323662,_0x51e17c)['finalize'](_0x22b0d6[_0xc78ff4(0x1f1)]);return _0x233403;},'_parse':function(_0x2e53bd,_0x5b2cce){var _0x335db4=_0xd29c37;return typeof _0x2e53bd==_0x335db4(0x3bf)?_0x5b2cce['parse'](_0x2e53bd,this):_0x2e53bd;}}),_0x26e88c=_0x1039aa[_0xd29c37(0x1a7)]={},_0x51a770=_0x26e88c[_0xd29c37(0x2b6)]={'execute':function(_0x5cae49,_0x30f43f,_0x551b96,_0x333dd4,_0x22d0d6){var _0x35b248=_0xd29c37;if(_0x333dd4||(_0x333dd4=_0x518bbb[_0x35b248(0x242)](0x40/0x8)),_0x22d0d6)var _0x2002c6=_0x1dd907[_0x35b248(0x236)]({'keySize':_0x30f43f+_0x551b96,'hasher':_0x22d0d6})[_0x35b248(0x1f5)](_0x5cae49,_0x333dd4);else var _0x2002c6=_0x1dd907['create']({'keySize':_0x30f43f+_0x551b96})[_0x35b248(0x1f5)](_0x5cae49,_0x333dd4);var _0x42e00b=_0x518bbb['create'](_0x2002c6[_0x35b248(0x349)][_0x35b248(0x22c)](_0x30f43f),_0x551b96*0x4);return _0x2002c6[_0x35b248(0x43b)]=_0x30f43f*0x4,_0x23c8b0[_0x35b248(0x236)]({'key':_0x2002c6,'iv':_0x42e00b,'salt':_0x333dd4});}},_0x353c73=_0x5bd40b['PasswordBasedCipher']=_0x45ab24['extend']({'cfg':_0x45ab24[_0xd29c37(0x32d)][_0xd29c37(0x146)]({'kdf':_0x51a770}),'encrypt':function(_0xbe6227,_0x3f18c0,_0x2b73a7,_0x362579){var _0x196f27=_0xd29c37;_0x362579=this[_0x196f27(0x32d)][_0x196f27(0x146)](_0x362579);var _0x1ac359=_0x362579[_0x196f27(0x1a7)]['execute'](_0x2b73a7,_0xbe6227[_0x196f27(0x370)],_0xbe6227[_0x196f27(0x154)],_0x362579[_0x196f27(0x19f)],_0x362579[_0x196f27(0x16d)]);_0x362579['iv']=_0x1ac359['iv'];var _0x397434=_0x45ab24[_0x196f27(0x356)][_0x196f27(0x2ee)](this,_0xbe6227,_0x3f18c0,_0x1ac359['key'],_0x362579);return _0x397434['mixIn'](_0x1ac359),_0x397434;},'decrypt':function(_0x205a6e,_0xea24f8,_0x4595ef,_0x323865){var _0x4f4b8a=_0xd29c37;_0x323865=this['cfg']['extend'](_0x323865),_0xea24f8=this[_0x4f4b8a(0x1be)](_0xea24f8,_0x323865['format']);var _0x51f204=_0x323865[_0x4f4b8a(0x1a7)][_0x4f4b8a(0x172)](_0x4595ef,_0x205a6e[_0x4f4b8a(0x370)],_0x205a6e[_0x4f4b8a(0x154)],_0xea24f8[_0x4f4b8a(0x19f)],_0x323865['hasher']);_0x323865['iv']=_0x51f204['iv'];var _0x420c7e=_0x45ab24[_0x4f4b8a(0x2aa)][_0x4f4b8a(0x2ee)](this,_0x205a6e,_0xea24f8,_0x51f204[_0x4f4b8a(0x3c1)],_0x323865);return _0x420c7e;}});}();}));}(Je)),Je[_0x3898f9(0x209)];}var Tn=Ve['exports'],ti;function Cn(){var _0x2a0bd7=_0x1cf15a;return ti||(ti=0x1,function(_0x3d9f09,_0x487aa5){(function(_0x4d894e,_0x5e951f,_0x23eaf8){var _0x5166a6=_0x59f7;_0x3d9f09[_0x5166a6(0x209)]=_0x5e951f(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x9266de){var _0x3d33ca=_0x59f7;return(function(){var _0x5f5cc5=_0x59f7,_0x10ed11=_0x9266de,_0x4cb409=_0x10ed11[_0x5f5cc5(0x1a5)],_0x3732d8=_0x4cb409[_0x5f5cc5(0x2d0)],_0x3fce46=_0x10ed11[_0x5f5cc5(0x2f7)],_0x21bd26=[],_0x5e544b=[],_0xd0a5f5=[],_0x5c897f=[],_0x11b898=[],_0x179efa=[],_0x4a0af1=[],_0xb415=[],_0x97f0ee=[],_0x21d9b2=[];(function(){for(var _0x1f2737=[],_0x1169a4=0x0;_0x1169a4<0x100;_0x1169a4++)_0x1169a4<0x80?_0x1f2737[_0x1169a4]=_0x1169a4<<0x1:_0x1f2737[_0x1169a4]=_0x1169a4<<0x1^0x11b;for(var _0x108634=0x0,_0x5946f4=0x0,_0x1169a4=0x0;_0x1169a4<0x100;_0x1169a4++){var _0x2515cd=_0x5946f4^_0x5946f4<<0x1^_0x5946f4<<0x2^_0x5946f4<<0x3^_0x5946f4<<0x4;_0x2515cd=_0x2515cd>>>0x8^_0x2515cd&0xff^0x63,_0x21bd26[_0x108634]=_0x2515cd,_0x5e544b[_0x2515cd]=_0x108634;var _0x155c46=_0x1f2737[_0x108634],_0x3b54ba=_0x1f2737[_0x155c46],_0x25f620=_0x1f2737[_0x3b54ba],_0x3d8017=_0x1f2737[_0x2515cd]*0x101^_0x2515cd*0x1010100;_0xd0a5f5[_0x108634]=_0x3d8017<<0x18|_0x3d8017>>>0x8,_0x5c897f[_0x108634]=_0x3d8017<<0x10|_0x3d8017>>>0x10,_0x11b898[_0x108634]=_0x3d8017<<0x8|_0x3d8017>>>0x18,_0x179efa[_0x108634]=_0x3d8017;var _0x3d8017=_0x25f620*0x1010101^_0x3b54ba*0x10001^_0x155c46*0x101^_0x108634*0x1010100;_0x4a0af1[_0x2515cd]=_0x3d8017<<0x18|_0x3d8017>>>0x8,_0xb415[_0x2515cd]=_0x3d8017<<0x10|_0x3d8017>>>0x10,_0x97f0ee[_0x2515cd]=_0x3d8017<<0x8|_0x3d8017>>>0x18,_0x21d9b2[_0x2515cd]=_0x3d8017,_0x108634?(_0x108634=_0x155c46^_0x1f2737[_0x1f2737[_0x1f2737[_0x25f620^_0x155c46]]],_0x5946f4^=_0x1f2737[_0x1f2737[_0x5946f4]]):_0x108634=_0x5946f4=0x1;}}());var _0x16c762=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5a610b=_0x3fce46['AES']=_0x3732d8[_0x5f5cc5(0x146)]({'_doReset':function(){var _0x4ad31d=_0x5f5cc5,_0x34b1e2;if(!(this[_0x4ad31d(0x1e4)]&&this[_0x4ad31d(0x15c)]===this[_0x4ad31d(0x415)])){for(var _0x113f91=this[_0x4ad31d(0x15c)]=this[_0x4ad31d(0x415)],_0x582af8=_0x113f91[_0x4ad31d(0x349)],_0x1c9a98=_0x113f91[_0x4ad31d(0x43b)]/0x4,_0x37b8d3=this[_0x4ad31d(0x1e4)]=_0x1c9a98+0x6,_0x489d0a=(_0x37b8d3+0x1)*0x4,_0x317b49=this[_0x4ad31d(0x350)]=[],_0x530861=0x0;_0x530861<_0x489d0a;_0x530861++)_0x530861<_0x1c9a98?_0x317b49[_0x530861]=_0x582af8[_0x530861]:(_0x34b1e2=_0x317b49[_0x530861-0x1],_0x530861%_0x1c9a98?_0x1c9a98>0x6&&_0x530861%_0x1c9a98==0x4&&(_0x34b1e2=_0x21bd26[_0x34b1e2>>>0x18]<<0x18|_0x21bd26[_0x34b1e2>>>0x10&0xff]<<0x10|_0x21bd26[_0x34b1e2>>>0x8&0xff]<<0x8|_0x21bd26[_0x34b1e2&0xff]):(_0x34b1e2=_0x34b1e2<<0x8|_0x34b1e2>>>0x18,_0x34b1e2=_0x21bd26[_0x34b1e2>>>0x18]<<0x18|_0x21bd26[_0x34b1e2>>>0x10&0xff]<<0x10|_0x21bd26[_0x34b1e2>>>0x8&0xff]<<0x8|_0x21bd26[_0x34b1e2&0xff],_0x34b1e2^=_0x16c762[_0x530861/_0x1c9a98|0x0]<<0x18),_0x317b49[_0x530861]=_0x317b49[_0x530861-_0x1c9a98]^_0x34b1e2);for(var _0x5437b2=this[_0x4ad31d(0x361)]=[],_0x2a9268=0x0;_0x2a9268<_0x489d0a;_0x2a9268++){var _0x530861=_0x489d0a-_0x2a9268;if(_0x2a9268%0x4)var _0x34b1e2=_0x317b49[_0x530861];else var _0x34b1e2=_0x317b49[_0x530861-0x4];_0x2a9268<0x4||_0x530861<=0x4?_0x5437b2[_0x2a9268]=_0x34b1e2:_0x5437b2[_0x2a9268]=_0x4a0af1[_0x21bd26[_0x34b1e2>>>0x18]]^_0xb415[_0x21bd26[_0x34b1e2>>>0x10&0xff]]^_0x97f0ee[_0x21bd26[_0x34b1e2>>>0x8&0xff]]^_0x21d9b2[_0x21bd26[_0x34b1e2&0xff]];}}},'encryptBlock':function(_0x2f5226,_0x39c192){var _0x5f3019=_0x5f5cc5;this[_0x5f3019(0x29a)](_0x2f5226,_0x39c192,this[_0x5f3019(0x350)],_0xd0a5f5,_0x5c897f,_0x11b898,_0x179efa,_0x21bd26);},'decryptBlock':function(_0xe60ef2,_0x1c663a){var _0x4013d8=_0x5f5cc5,_0x14dbd1=_0xe60ef2[_0x1c663a+0x1];_0xe60ef2[_0x1c663a+0x1]=_0xe60ef2[_0x1c663a+0x3],_0xe60ef2[_0x1c663a+0x3]=_0x14dbd1,this[_0x4013d8(0x29a)](_0xe60ef2,_0x1c663a,this[_0x4013d8(0x361)],_0x4a0af1,_0xb415,_0x97f0ee,_0x21d9b2,_0x5e544b);var _0x14dbd1=_0xe60ef2[_0x1c663a+0x1];_0xe60ef2[_0x1c663a+0x1]=_0xe60ef2[_0x1c663a+0x3],_0xe60ef2[_0x1c663a+0x3]=_0x14dbd1;},'_doCryptBlock':function(_0x5c8362,_0x26941f,_0x2b9c8b,_0x502e8c,_0x4479cd,_0x1bdec4,_0x55db26,_0x291ad1){var _0x473e69=_0x5f5cc5;for(var _0x47f1e5=this[_0x473e69(0x1e4)],_0x29a3a9=_0x5c8362[_0x26941f]^_0x2b9c8b[0x0],_0x34c8f3=_0x5c8362[_0x26941f+0x1]^_0x2b9c8b[0x1],_0x2bf76a=_0x5c8362[_0x26941f+0x2]^_0x2b9c8b[0x2],_0x5201ff=_0x5c8362[_0x26941f+0x3]^_0x2b9c8b[0x3],_0x322fc9=0x4,_0xa8831f=0x1;_0xa8831f<_0x47f1e5;_0xa8831f++){var _0x2f364f=_0x502e8c[_0x29a3a9>>>0x18]^_0x4479cd[_0x34c8f3>>>0x10&0xff]^_0x1bdec4[_0x2bf76a>>>0x8&0xff]^_0x55db26[_0x5201ff&0xff]^_0x2b9c8b[_0x322fc9++],_0x5c1d01=_0x502e8c[_0x34c8f3>>>0x18]^_0x4479cd[_0x2bf76a>>>0x10&0xff]^_0x1bdec4[_0x5201ff>>>0x8&0xff]^_0x55db26[_0x29a3a9&0xff]^_0x2b9c8b[_0x322fc9++],_0x3257cd=_0x502e8c[_0x2bf76a>>>0x18]^_0x4479cd[_0x5201ff>>>0x10&0xff]^_0x1bdec4[_0x29a3a9>>>0x8&0xff]^_0x55db26[_0x34c8f3&0xff]^_0x2b9c8b[_0x322fc9++],_0x31384c=_0x502e8c[_0x5201ff>>>0x18]^_0x4479cd[_0x29a3a9>>>0x10&0xff]^_0x1bdec4[_0x34c8f3>>>0x8&0xff]^_0x55db26[_0x2bf76a&0xff]^_0x2b9c8b[_0x322fc9++];_0x29a3a9=_0x2f364f,_0x34c8f3=_0x5c1d01,_0x2bf76a=_0x3257cd,_0x5201ff=_0x31384c;}var _0x2f364f=(_0x291ad1[_0x29a3a9>>>0x18]<<0x18|_0x291ad1[_0x34c8f3>>>0x10&0xff]<<0x10|_0x291ad1[_0x2bf76a>>>0x8&0xff]<<0x8|_0x291ad1[_0x5201ff&0xff])^_0x2b9c8b[_0x322fc9++],_0x5c1d01=(_0x291ad1[_0x34c8f3>>>0x18]<<0x18|_0x291ad1[_0x2bf76a>>>0x10&0xff]<<0x10|_0x291ad1[_0x5201ff>>>0x8&0xff]<<0x8|_0x291ad1[_0x29a3a9&0xff])^_0x2b9c8b[_0x322fc9++],_0x3257cd=(_0x291ad1[_0x2bf76a>>>0x18]<<0x18|_0x291ad1[_0x5201ff>>>0x10&0xff]<<0x10|_0x291ad1[_0x29a3a9>>>0x8&0xff]<<0x8|_0x291ad1[_0x34c8f3&0xff])^_0x2b9c8b[_0x322fc9++],_0x31384c=(_0x291ad1[_0x5201ff>>>0x18]<<0x18|_0x291ad1[_0x29a3a9>>>0x10&0xff]<<0x10|_0x291ad1[_0x34c8f3>>>0x8&0xff]<<0x8|_0x291ad1[_0x2bf76a&0xff])^_0x2b9c8b[_0x322fc9++];_0x5c8362[_0x26941f]=_0x2f364f,_0x5c8362[_0x26941f+0x1]=_0x5c1d01,_0x5c8362[_0x26941f+0x2]=_0x3257cd,_0x5c8362[_0x26941f+0x3]=_0x31384c;},'keySize':0x100/0x20});_0x10ed11['AES']=_0x3732d8[_0x5f5cc5(0x2e4)](_0x5a610b);}()),_0x9266de[_0x3d33ca(0x19e)];}));}(Ve)),Ve[_0x2a0bd7(0x209)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x1cf15a(0x209)],si;function Nn(){return si||(si=0x1,function(_0xced7b2,_0x366ba0){(function(_0x42c3e6,_0x2b38c9){var _0x2ba8e9=_0x59f7;_0xced7b2[_0x2ba8e9(0x209)]=_0x2b38c9(te());}(yn,function(_0x571e9b){var _0x1d4cc4=_0x59f7;return _0x571e9b[_0x1d4cc4(0x438)][_0x1d4cc4(0x354)];}));}(Xe)),Xe['exports'];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x1cf15a(0x209)],ni;function wn(){var _0x238f63=_0x1cf15a;return ni||(ni=0x1,function(_0x1f8bed,_0x3809d9){(function(_0x224e09,_0x2fb302){_0x1f8bed['exports']=_0x2fb302(te());}(An,function(_0x281570){var _0x594f99=_0x59f7;return(function(){var _0x553ef8=_0x59f7;if(typeof ArrayBuffer==_0x553ef8(0x2d8)){var _0x489ab9=_0x281570,_0xbdb342=_0x489ab9['lib'],_0x171bda=_0xbdb342[_0x553ef8(0x42a)],_0x212369=_0x171bda[_0x553ef8(0x348)],_0x501f5e=_0x171bda[_0x553ef8(0x348)]=function(_0x1375e9){var _0x35c1d5=_0x553ef8;if(_0x1375e9 instanceof ArrayBuffer&&(_0x1375e9=new Uint8Array(_0x1375e9)),(_0x1375e9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1375e9 instanceof Uint8ClampedArray||_0x1375e9 instanceof Int16Array||_0x1375e9 instanceof Uint16Array||_0x1375e9 instanceof Int32Array||_0x1375e9 instanceof Uint32Array||_0x1375e9 instanceof Float32Array||_0x1375e9 instanceof Float64Array)&&(_0x1375e9=new Uint8Array(_0x1375e9[_0x35c1d5(0x1bd)],_0x1375e9[_0x35c1d5(0x394)],_0x1375e9['byteLength'])),_0x1375e9 instanceof Uint8Array){for(var _0x1fc943=_0x1375e9['byteLength'],_0x44b8df=[],_0x208212=0x0;_0x208212<_0x1fc943;_0x208212++)_0x44b8df[_0x208212>>>0x2]|=_0x1375e9[_0x208212]<<0x18-_0x208212%0x4*0x8;_0x212369['call'](this,_0x44b8df,_0x1fc943);}else _0x212369[_0x35c1d5(0x436)](this,arguments);};_0x501f5e[_0x553ef8(0x1c9)]=_0x171bda;}}()),_0x281570[_0x594f99(0x1a5)]['WordArray'];}));}(Ze)),Ze[_0x238f63(0x209)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe['exports'],ri;function xn(){var _0x210a51=_0x1cf15a;return ri||(ri=0x1,function(_0x3308b7,_0x41d025){(function(_0x42b3ee,_0x4c43ec,_0x322f3c){var _0x3df9e0=_0x59f7;_0x3308b7[_0x3df9e0(0x209)]=_0x4c43ec(te(),Ni());}(Mn,function(_0x43fcce){var _0x111076=_0x59f7;return _0x43fcce['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x43fcce['pad'][_0x111076(0x365)];}));}(Qe)),Qe[_0x210a51(0x209)];}var kn=xn();const $n=$e(kn);function Hn(_0x11dcb5,_0x452e00){var _0x2558c1=_0x1cf15a;const _0x58e089=_0x452e00-_0x11dcb5[_0x2558c1(0x25a)]%_0x452e00,_0x4e2e82=String[_0x2558c1(0x227)](_0x58e089)[_0x2558c1(0x41a)](_0x58e089);return _0x11dcb5+_0x4e2e82;}function Bn(_0x573add,_0x4e8393){var _0x2079ea=_0x1cf15a;const _0x570433=Ln[_0x2079ea(0x242)](0x10),_0x3ad27b=Hn(_0x573add,0x10),_0x1ea385=bn[_0x2079ea(0x356)](Un['parse'](_0x3ad27b),ii['parse'](_0x4e8393),{'iv':_0x570433,'padding':$n});return _0x570433[_0x2079ea(0x2db)](_0x1ea385[_0x2079ea(0x1f1)])[_0x2079ea(0x1db)](ii);}function jn(){var _0x28b78d=_0x1cf15a;const _0x4b020c=_0x1f17fb()[_0x28b78d(0x2ec)];if(_0x4b020c){const _0x3529e6={'time':Math[_0x28b78d(0x399)](Date['now']()/0x3e8),'domain':location[_0x28b78d(0x27a)]};return Bn(JSON['stringify'](_0x3529e6),_0x4b020c);}}var Fn=Object[_0x1cf15a(0x2fc)],Vn=(_0x4a0155,_0x5de3f2,_0xc2df9f,_0x4af841)=>{var _0x32903b=_0x1cf15a;for(var _0x1ef5ed=_0x4af841>0x1?void 0x0:_0x4af841?Fn(_0x5de3f2,_0xc2df9f):_0x5de3f2,_0x57a7a1=_0x4a0155[_0x32903b(0x25a)]-0x1,_0x3667e0;_0x57a7a1>=0x0;_0x57a7a1--)(_0x3667e0=_0x4a0155[_0x57a7a1])&&(_0x1ef5ed=_0x3667e0(_0x1ef5ed)||_0x1ef5ed);return _0x1ef5ed;},Gn=(_0x478563,_0x37f646)=>(_0x37ff34,_0x4c2e46)=>_0x37f646(_0x37ff34,_0x4c2e46,_0x478563);let at=class{constructor(_0xfda1d0){var _0x2df247=_0x1cf15a;this[_0x2df247(0x2b5)]=_0xfda1d0,this[_0x2df247(0x2f6)]();}[_0x1cf15a(0x2f6)](){var _0x10c7c9=_0x1cf15a;this['_httpService'][_0x10c7c9(0x190)]({'interceptor':(_0x5a9fc5,_0x427bef)=>{var _0x20b555=_0x10c7c9;const _0x4c2189=_0x5a9fc5['headers'],_0x194560=jn();return _0x194560&&_0x4c2189['set'](_0x20b555(0x3e6),_0x194560),_0x427bef(_0x5a9fc5);}});}};at=Vn([Gn(0x0,_0x4395c3(_0x3099c1))],at);var Wn=Object['getOwnPropertyDescriptor'],Yn=(_0x2de322,_0x5f16d7,_0x5e6b31,_0x29232e)=>{for(var _0x424e91=_0x29232e>0x1?void 0x0:_0x29232e?Wn(_0x5f16d7,_0x5e6b31):_0x5f16d7,_0x417dd3=_0x2de322['length']-0x1,_0x576891;_0x417dd3>=0x0;_0x417dd3--)(_0x576891=_0x2de322[_0x417dd3])&&(_0x424e91=_0x576891(_0x424e91)||_0x424e91);return _0x424e91;},vt=(_0x20c898,_0x4c07eb)=>(_0x38b5b4,_0x3a8b57)=>_0x4c07eb(_0x38b5b4,_0x3a8b57,_0x20c898);let Ct=class extends _0x18f2f0{constructor(_0x41d938,_0x9976d9,_0x3714d4){var _0x42b446=_0x1cf15a;super(),N(this,_0x42b446(0x150),new _0x16d07d(null)),N(this,_0x42b446(0x3a2),this['_unitInfo$']['asObservable']()),(this[_0x42b446(0x353)]=_0x41d938,this[_0x42b446(0x37b)]=_0x9976d9,this['_localCacheService']=_0x3714d4);}async[_0x1cf15a(0x20c)](_0x2e3fa3,_0x515771,_0x189cc0){var _0x4dc82b=_0x1cf15a;this[_0x4dc82b(0x150)][_0x4dc82b(0x200)]({'unitId':_0x2e3fa3,'type':_0x515771});let _0x5dbf5d=null;switch(_0x515771){case Z[_0x4dc82b(0x355)]:{_0x5dbf5d=await this['_snapshotService'][_0x4dc82b(0x381)](_0x2e3fa3,_0x189cc0);break;}case Z['UNIVER_DOC']:{_0x5dbf5d=await this['_snapshotService']['loadDoc'](_0x2e3fa3,_0x189cc0);break;}default:{this[_0x4dc82b(0x353)][_0x4dc82b(0x335)](_0x4dc82b(0x2ab),_0x4dc82b(0x20e));break;}}return _0x5dbf5d;}async[_0x1cf15a(0x141)](_0x5e1737,_0x3d860f,_0xa46d52){var _0x1eec45=_0x1cf15a,_0x1921da;this[_0x1eec45(0x150)]['next']({'unitId':_0x5e1737,'type':_0x3d860f,'subUnitId':_0xa46d52});let _0x3e944c=0x0;const _0x2b381d=await((_0x1921da=this[_0x1eec45(0x37f)])==null?void 0x0:_0x1921da['loadOfflineData'](_0x5e1737));return _0x2b381d&&(_0x2b381d[_0x1eec45(0x23a)]||_0x2b381d[_0x1eec45(0x3ff)][_0x1eec45(0x25a)]!==0x0)&&(_0x3e944c=_0x2b381d['rev']),_0x3e944c===0x0&&this[_0x1eec45(0x353)][_0x1eec45(0x222)](_0x1eec45(0x2ab),_0x1eec45(0x156)),this['loadUnitOfRevision'](_0x5e1737,_0x3d860f,_0x3e944c);}};Ct=Yn([vt(0x0,_0x1ffba8),vt(0x1,_0x4395c3(_0x5e4500)),vt(0x2,_0x3ede3c(J))],Ct);var Kn=Object['getOwnPropertyDescriptor'],qn=(_0x35f0d8,_0x1b7966,_0x2c8f9b,_0x5bf12f)=>{for(var _0x56b76f=_0x5bf12f>0x1?void 0x0:_0x5bf12f?Kn(_0x1b7966,_0x2c8f9b):_0x1b7966,_0x350af5=_0x35f0d8['length']-0x1,_0x47088a;_0x350af5>=0x0;_0x350af5--)(_0x47088a=_0x35f0d8[_0x350af5])&&(_0x56b76f=_0x47088a(_0x56b76f)||_0x56b76f);return _0x56b76f;},pt=(_0x38317c,_0x4fd10d)=>(_0x5619eb,_0x46c28d)=>_0x4fd10d(_0x5619eb,_0x46c28d,_0x38317c);const zn=[_0x1cf15a(0x34f),_0x1cf15a(0x1f3),_0x1cf15a(0x408),_0x1cf15a(0x347),_0x1cf15a(0x33b)],Jn=0x5*0x400*0x400,Xn=_0x1cf15a(0x1d1),Zn=_0x1cf15a(0x1c8),Qn=_0x1cf15a(0x14d),er=_0x1cf15a(0x36b);let Rt=class{constructor(_0x465932,_0x42b92f,_0x58002e){var _0x2ec07c=_0x1cf15a;N(this,_0x2ec07c(0x416),0x0),N(this,_0x2ec07c(0x2e5),new _0x2f0731()),N(this,_0x2ec07c(0x193),this['_change$']),N(this,_0x2ec07c(0x2d2),new Map()),(this[_0x2ec07c(0x2b5)]=_0x465932,this[_0x2ec07c(0x40d)]=_0x42b92f,this[_0x2ec07c(0x2d9)]=_0x58002e);}['setWaitCount'](_0x375af4){var _0x27f27d=_0x1cf15a;this[_0x27f27d(0x416)]=_0x375af4,this[_0x27f27d(0x2e5)][_0x27f27d(0x200)](_0x375af4);}[_0x1cf15a(0x1fa)](_0x11e14a,_0x44fbcd){var _0xe02a45=_0x1cf15a;if(_0x44fbcd===_0x32420f[_0xe02a45(0x3ca)]){const _0x1c2aed=new Image();return _0x1c2aed['src']=_0x11e14a,_0x1c2aed;}return this[_0xe02a45(0x2d2)][_0xe02a45(0x340)](_0x11e14a);}[_0x1cf15a(0x3cf)](_0x1b4ce1,_0x356dcd,_0x3ed3e8){var _0x351eeb=_0x1cf15a;_0x356dcd===_0x32420f[_0x351eeb(0x3ca)]||_0x3ed3e8==null||this[_0x351eeb(0x2d2)]['set'](_0x1b4ce1,_0x3ed3e8);}async[_0x1cf15a(0x3fe)](_0x515de8){var _0x436579=_0x1cf15a;try{const _0x48f0ac=this['_replaceFileID'](this[_0x436579(0x1ba)](),''+_0x515de8),_0x1560db=(await this[_0x436579(0x2b5)]['get'](_0x48f0ac))['body'];if(_0x1560db[_0x436579(0x335)]&&_0x1560db['error'][_0x436579(0x163)]===pi['OK']){const _0x2e2ec1=new URL(_0x1560db[_0x436579(0x345)],this['_getDownloadEndpointURL']())[_0x436579(0x1db)]();return Promise[_0x436579(0x433)](_0x2e2ec1);}return Promise['reject'](_0x1560db['error']);}catch(_0x204608){return Promise[_0x436579(0x43a)](_0x204608);}}async[_0x1cf15a(0x278)](_0x260585){var _0x3ffd41=_0x1cf15a;let _0x4bc6d4='';if(!zn[_0x3ffd41(0x3d1)](_0x260585[_0x3ffd41(0x220)]))return this[_0x3ffd41(0x422)](),Promise[_0x3ffd41(0x43a)](new Error(_0x36b5c1['ERROR_IMAGE_TYPE']));if(_0x260585['size']>Jn)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x36b5c1[_0x3ffd41(0x1b9)]));try{const _0x5e7d11=new FormData();_0x5e7d11[_0x3ffd41(0x1bf)](_0x3ffd41(0x19d),_0x260585);const _0xf6ea83=this[_0x3ffd41(0x2d9)][_0x3ffd41(0x148)](),_0x5d4d27=_0xf6ea83==null?void 0x0:_0xf6ea83[_0x3ffd41(0x2ae)]();if(!_0x5d4d27)throw new Error(_0x3ffd41(0x1ca));const _0x127960=this[_0x3ffd41(0x2fd)]()+_0x3ffd41(0x1a8)+_0x260585[_0x3ffd41(0x419)][_0x3ffd41(0x1db)]()+'&source='+mi['UnitEmbedded']+_0x3ffd41(0x2a6)+encodeURIComponent(_0x5d4d27),_0x3cd58c={'body':_0x5e7d11},_0x5c6664=(await this[_0x3ffd41(0x2b5)][_0x3ffd41(0x2ba)](_0x127960,_0x3cd58c))[_0x3ffd41(0x22e)];if(typeof _0x5c6664[_0x3ffd41(0x2e1)]!=_0x3ffd41(0x3bf))return this['_decreaseWaiting'](),Promise[_0x3ffd41(0x43a)](new Error(_0x36b5c1[_0x3ffd41(0x3f3)]));_0x4bc6d4=_0x5c6664[_0x3ffd41(0x2e1)];}catch{return this[_0x3ffd41(0x422)](),Promise['reject'](new Error(_0x36b5c1['ERROR_IMAGE']));}return new Promise((_0x4ba351,_0x5ab973)=>{var _0x15b20e=_0x3ffd41;const _0x2bb7f9=new FileReader();_0x2bb7f9['readAsDataURL'](_0x260585),_0x2bb7f9[_0x15b20e(0x157)]=_0x36b7db=>{var _0x441f50=_0x15b20e,_0x38501c;const _0x228d9c=(_0x38501c=_0x36b7db[_0x441f50(0x376)])==null?void 0x0:_0x38501c[_0x441f50(0x262)];if(_0x228d9c==null){this['_decreaseWaiting'](),_0x5ab973(new Error(_0x36b5c1[_0x441f50(0x3f3)]));return;}const _0x21355b=_0x43b5c0[_0x441f50(0x250)](0x6);_0x4ba351({'imageId':_0x21355b,'imageSourceType':_0x32420f[_0x441f50(0x273)],'source':_0x4bc6d4,'base64Cache':_0x228d9c,'status':_0x36b5c1[_0x441f50(0x1a4)]}),this['_decreaseWaiting']();};});}[_0x1cf15a(0x2fd)](){var _0x10700d=_0x1cf15a,_0x19bafb,_0xeeff5d;const _0x2bdc7a=this[_0x10700d(0x40d)]['getConfig'](Xn),_0x158c21=this[_0x10700d(0x40d)][_0x10700d(0x2bf)](K);return(_0xeeff5d=(_0x19bafb=_0x158c21==null?void 0x0:_0x158c21[_0x10700d(0x2f3)])!=null?_0x19bafb:_0x2bdc7a)!=null?_0xeeff5d:Zn;}[_0x1cf15a(0x1ba)](){var _0x38f98b=_0x1cf15a,_0x4d1b16,_0x31da6e;const _0x5c3457=this['_configService'][_0x38f98b(0x2bf)](Qn),_0x552805=this[_0x38f98b(0x40d)][_0x38f98b(0x2bf)](K);return(_0x31da6e=(_0x4d1b16=_0x552805==null?void 0x0:_0x552805[_0x38f98b(0x3a0)])!=null?_0x4d1b16:_0x5c3457)!=null?_0x31da6e:er;}['_getDownloadEndpointURL'](){var _0x456090=_0x1cf15a,_0x4e8587;const _0x4b086d=this[_0x456090(0x40d)][_0x456090(0x2bf)](K);return(_0x4e8587=_0x4b086d==null?void 0x0:_0x4b086d[_0x456090(0x33c)])!=null?_0x4e8587:location[_0x456090(0x35b)];}[_0x1cf15a(0x41c)](_0x9f7899,_0x213605){return _0x9f7899['replace']('{fileID}',_0x213605);}['_decreaseWaiting'](){var _0x22c9b5=_0x1cf15a;this[_0x22c9b5(0x416)]-=0x1,this['_change$'][_0x22c9b5(0x200)](this[_0x22c9b5(0x416)]);}};Rt=qn([pt(0x0,_0x4395c3(_0x3099c1)),pt(0x1,_0x149db4),pt(0x2,_0x4395c3(_0x125d03))],Rt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x22504b,_0x18395d,_0x4ccee7,_0x38eebe)=>{for(var _0x498c07=_0x38eebe>0x1?void 0x0:_0x38eebe?tr(_0x18395d,_0x4ccee7):_0x18395d,_0x405f08=_0x22504b['length']-0x1,_0x230c17;_0x405f08>=0x0;_0x405f08--)(_0x230c17=_0x22504b[_0x405f08])&&(_0x498c07=_0x230c17(_0x498c07)||_0x498c07);return _0x498c07;},ai=(_0x3b4e9a,_0x14f156)=>(_0x2fc354,_0x33b7fd)=>_0x14f156(_0x2fc354,_0x33b7fd,_0x3b4e9a);const sr='/universer-api/authz';let bt=class{constructor(_0x2c37aa,_0x39614e){var _0x3ffa09=_0x1cf15a;this['_configService']=_0x2c37aa,this[_0x3ffa09(0x2e0)]=_0x39614e;}[_0x1cf15a(0x35d)](){var _0x705cc5=_0x1cf15a,_0x14170f,_0x54cad2;const _0x130344=this['_configService'][_0x705cc5(0x2bf)](bi),_0x200316=this[_0x705cc5(0x40d)]['getConfig'](K);return(_0x54cad2=(_0x14170f=_0x200316==null?void 0x0:_0x200316[_0x705cc5(0x1eb)])!=null?_0x14170f:_0x130344)!=null?_0x54cad2:sr;}async['list'](_0x41f9d6){var _0x158d9d=_0x1cf15a;const _0x350e20=this[_0x158d9d(0x35d)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x350e20,{'params':{'objectID':_0x41f9d6['unitId'],'unitID':_0x41f9d6['unitId']}}))[_0x158d9d(0x22e)][_0x158d9d(0x166)]['map'](_0x50b355=>({'objectId':_0x50b355['id'],'name':_0x50b355[_0x158d9d(0x3c5)][_0x158d9d(0x405)],'metadata':{'icon':_0x50b355[_0x158d9d(0x3c5)][_0x158d9d(0x24a)]},'label':_0x50b355[_0x158d9d(0x3c5)][_0x158d9d(0x405)],'objectType':_0x4e719d[_0x158d9d(0x3c6)]})),'metadata':{},'type':_0x4e719d[_0x158d9d(0x3c6)]}]};}};bt=ir([ai(0x0,_0x4395c3(_0x149db4)),ai(0x1,_0x4395c3(_0x3099c1))],bt);var nr=Object[_0x1cf15a(0x2fc)],rr=(_0x22128c,_0x41edeb,_0x4ea416,_0x13818f)=>{var _0x34b920=_0x1cf15a;for(var _0x355277=_0x13818f>0x1?void 0x0:_0x13818f?nr(_0x41edeb,_0x4ea416):_0x41edeb,_0x4c2edf=_0x22128c[_0x34b920(0x25a)]-0x1,_0x52d564;_0x4c2edf>=0x0;_0x4c2edf--)(_0x52d564=_0x22128c[_0x4c2edf])&&(_0x355277=_0x52d564(_0x355277)||_0x355277);return _0x355277;},Ae=(_0x3e0aa3,_0x139072)=>(_0x171198,_0x1f664f)=>_0x139072(_0x171198,_0x1f664f,_0x3e0aa3);let ot=class extends _0x18f2f0{constructor(_0x51e6fd,_0x1b1779,_0x28a5e5,_0x586690,_0x36ceac){var _0x2c7f8c=_0x1cf15a;super(),this['_injector']=_0x51e6fd,this['_univerInstanceService']=_0x1b1779,this[_0x2c7f8c(0x435)]=_0x28a5e5,this[_0x2c7f8c(0x31a)]=_0x586690,this[_0x2c7f8c(0x1b4)]=_0x36ceac,this[_0x2c7f8c(0x377)](),this[_0x2c7f8c(0x40b)]();}[_0x1cf15a(0x40b)](){var _0x4ed1e3=_0x1cf15a;const _0x3629cf=async _0x5867ad=>{var _0x504045=_0x59f7;(await this['_collaborationSessionService']['requireSession'](_0x5867ad))[_0x504045(0x2cf)][_0x504045(0x295)](_0x46e42e(_0x587f7a=>_0x587f7a[_0x504045(0x19a)]===_0x29bafd[_0x504045(0x2ea)]),_0x3ae062(this['dispose$']))[_0x504045(0x41f)](_0x1991ab=>{var _0x5015f7=_0x504045;const _0x52a628=_0x1991ab,{reason:_0x599a63}=_0x52a628[_0x5015f7(0x31c)];this[_0x5015f7(0x1b4)][_0x5015f7(0x301)]({'id':ne['CLOSE_ROOM'],'data':_0x599a63}),this['_permissionService'][_0x5015f7(0x3de)](new _0x56b723(_0x5867ad)['id'],!0x1),this[_0x5015f7(0x31a)]['closeSession'](_0x5867ad);});};_0xf55bf(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1dfda5[_0x4ed1e3(0x355)]),this[_0x4ed1e3(0x2d9)][_0x4ed1e3(0x211)](_0x1dfda5[_0x4ed1e3(0x22a)]))['pipe'](_0x1baf73(_0x52416f=>_0x52416f[_0x4ed1e3(0x2ae)]()),_0x46e42e(_0x5e8d12=>!_0x1be6f8(_0x5e8d12)),_0x3ae062(this[_0x4ed1e3(0x277)]))[_0x4ed1e3(0x41f)](_0x32747d=>{_0x3629cf(_0x32747d);});}[_0x1cf15a(0x377)](){var _0x2c2645=_0x1cf15a;const _0x252c40=async _0x5f3b58=>{var _0x41a722=_0x59f7;const _0x53a5b2=await this[_0x41a722(0x31a)][_0x41a722(0x398)](_0x5f3b58),_0x3b403e=this[_0x41a722(0x1bb)][_0x41a722(0x340)](_0x23aad7);_0x53a5b2[_0x41a722(0x2cf)][_0x41a722(0x295)](_0x46e42e(_0x53006a=>_0x53006a[_0x41a722(0x19a)]===_0x29bafd[_0x41a722(0x32a)]),_0x3ae062(this[_0x41a722(0x277)]))[_0x41a722(0x41f)](_0x54b8b6=>{var _0x5e571b=_0x41a722;const _0x15a6bd=_0x54b8b6,{objectId:_0x33db03}=_0x15a6bd['data'];_0x33db03===_0x5f3b58?_0x3b403e['initWorkbookPermissionChange'](_0x5f3b58):_0x3b403e[_0x5e571b(0x237)](_0x5f3b58,_0x33db03);});};_0xf55bf(this['_univerInstanceService'][_0x2c2645(0x211)](_0x1dfda5[_0x2c2645(0x355)]))[_0x2c2645(0x295)](_0x1baf73(_0x4631b6=>_0x4631b6[_0x2c2645(0x2ae)]()),_0x46e42e(_0x2a70b4=>!_0x1be6f8(_0x2a70b4)),_0x3ae062(this['dispose$']))['subscribe'](_0x1553be=>{_0x252c40(_0x1553be);});}};ot=rr([Ae(0x0,_0x4395c3(_0xac3c15)),Ae(0x1,_0x125d03),Ae(0x2,_0x4b2793),Ae(0x3,_0x4395c3(Le)),Ae(0x4,_0x4395c3(ve))],ot);var ar=Object[_0x1cf15a(0x2fc)],or=(_0x3cf65c,_0xe04d89,_0x525839,_0x3455f3)=>{var _0x362e3b=_0x1cf15a;for(var _0x18a45e=_0x3455f3>0x1?void 0x0:_0x3455f3?ar(_0xe04d89,_0x525839):_0xe04d89,_0x4687e7=_0x3cf65c[_0x362e3b(0x25a)]-0x1,_0x22331a;_0x4687e7>=0x0;_0x4687e7--)(_0x22331a=_0x3cf65c[_0x4687e7])&&(_0x18a45e=_0x22331a(_0x18a45e)||_0x18a45e);return _0x18a45e;},oi=(_0x5b8e78,_0x1fcea5)=>(_0x183978,_0x1d4b8f)=>_0x1fcea5(_0x183978,_0x1d4b8f,_0x5b8e78);let Ot=class{constructor(_0x5cedff,_0x488a18){var _0x58e20c=_0x1cf15a;this[_0x58e20c(0x40d)]=_0x5cedff,this[_0x58e20c(0x2b5)]=_0x488a18;}async[_0x1cf15a(0x276)](_0x1f13ad,_0x2678a9){var _0x363cf1=_0x1cf15a,_0x56886f;const {unitID:_0x29c0c3,type:_0x5375d4,revision:_0x164f2e=0x0}=_0x2678a9,_0x3de4ed=this['getSnapshotAPIPath']()+'/'+_0x5375d4+_0x363cf1(0x147)+_0x29c0c3+_0x363cf1(0x15f)+_0x164f2e,_0x46771b=(await this['_httpService'][_0x363cf1(0x340)](_0x3de4ed))[_0x363cf1(0x22e)],_0x14db16=(_0x56886f=_0x46771b[_0x363cf1(0x2cd)])==null?void 0x0:_0x56886f[_0x363cf1(0x3d4)];if(_0x14db16){const _0x35669e=_0x14db16==null?void 0x0:_0x14db16[_0x363cf1(0x3c8)],_0x2f2aa1=_0x53d43c['encode'](_0x55eb2a(_0x35669e));_0x14db16[_0x363cf1(0x3c8)]=_0x2f2aa1,Object[_0x363cf1(0x299)](_0x14db16['sheets'])[_0x363cf1(0x1ea)](([,_0x1349fc])=>{var _0x22c8c6=_0x363cf1;const _0x4e5876=_0x1349fc['originalMeta'],_0x442432=_0x53d43c[_0x22c8c6(0x14b)](_0x55eb2a(_0x4e5876));_0x1349fc[_0x22c8c6(0x3c8)]=_0x442432;});}return _0x46771b;}async['getSheetBlock'](_0xf76388,_0xe1e710){var _0x458c15=_0x1cf15a;const {unitID:_0x38208a,type:_0x59e20e,blockID:_0x58d52a}=_0xe1e710,_0x6ec914=this[_0x458c15(0x142)]()+'/'+_0x59e20e+_0x458c15(0x147)+_0x38208a+'/block/'+_0x58d52a;return(await this[_0x458c15(0x2b5)][_0x458c15(0x340)](_0x6ec914))[_0x458c15(0x22e)];}async['getDeserializedSheetBlock'](_0x2d0502,_0x5340ce){var _0x5c1ad9=_0x1cf15a;const {unitID:_0x59b1a6,type:_0x2b9648,blockID:_0x39e246}=_0x5340ce,_0x4adcba=this['_getAPIPrefix']()+_0x5c1ad9(0x2c5)+_0x2b9648+'/unit/'+_0x59b1a6+_0x5c1ad9(0x2c5)+_0x39e246;return(await this[_0x5c1ad9(0x2b5)][_0x5c1ad9(0x340)](_0x4adcba))[_0x5c1ad9(0x22e)];}async[_0x1cf15a(0x387)](_0x35190c,_0x412b72){var _0x370486=_0x1cf15a;const {unitID:_0x3f10fa,type:_0x3fb319,from:_0x5acba4,to:_0xde02b3}=_0x412b72,_0x4e5c34=this[_0x370486(0x142)]()+'/'+_0x3fb319+_0x370486(0x147)+_0x3f10fa+_0x370486(0x29b)+_0x5acba4+'&to='+_0xde02b3;return(await this[_0x370486(0x2b5)][_0x370486(0x340)](_0x4e5c34))['body'];}[_0x1cf15a(0x3ee)](){var _0x40afd0=_0x1cf15a,_0x6080a5;return(_0x6080a5=this[_0x40afd0(0x40d)][_0x40afd0(0x2bf)](ps))!=null?_0x6080a5:this[_0x40afd0(0x142)]();}[_0x1cf15a(0x142)](){var _0x5486f1=_0x1cf15a,_0x49c58d,_0x4e12f2;const _0xdb5078=this['_configService']['getConfig'](fs),_0x3e1ffa=this[_0x5486f1(0x40d)]['getConfig'](K);return(_0x4e12f2=(_0x49c58d=_0x3e1ffa==null?void 0x0:_0x3e1ffa[_0x5486f1(0x230)])!=null?_0x49c58d:_0xdb5078)!=null?_0x4e12f2:vs;}async['getResourcesRequest'](_0x54edb5,_0x26732d){var _0x27a520=_0x1cf15a;const _0x4a3c1d=_0x27a520(0x1fc)+_0x26732d[_0x27a520(0x220)]+_0x27a520(0x147)+_0x26732d['unitID']+'/resources';return(await this['_httpService'][_0x27a520(0x340)](_0x4a3c1d,{'params':{'resourceId':JSON[_0x27a520(0x160)](_0x26732d[_0x27a520(0x2ac)])}}))[_0x27a520(0x22e)];}[_0x1cf15a(0x3cd)](){var _0x3cee93=_0x1cf15a;throw new Error(_0x3cee93(0x1c2));}[_0x1cf15a(0x427)](){var _0x243685=_0x1cf15a;throw new Error(_0x243685(0x1c2));}[_0x1cf15a(0x175)](){var _0x423338=_0x1cf15a;throw new Error(_0x423338(0x1c2));}[_0x1cf15a(0x2ff)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1cf15a(0x42e)](){var _0x3e9c27=_0x1cf15a;throw new Error(_0x3e9c27(0x1c2));}[_0x1cf15a(0x1cc)](){var _0x1a8cf9=_0x1cf15a;throw new Error(_0x1a8cf9(0x1c2));}};Ot=or([oi(0x0,_0x149db4),oi(0x1,_0x4395c3(_0x3099c1))],Ot);var cr=Object[_0x1cf15a(0x2fc)],hr=(_0x4d3900,_0x4252e9,_0x13762d,_0x1ce3f6)=>{var _0x7dbc21=_0x1cf15a;for(var _0x47c934=_0x1ce3f6>0x1?void 0x0:_0x1ce3f6?cr(_0x4252e9,_0x13762d):_0x4252e9,_0x15cde3=_0x4d3900[_0x7dbc21(0x25a)]-0x1,_0x5ed048;_0x15cde3>=0x0;_0x15cde3--)(_0x5ed048=_0x4d3900[_0x15cde3])&&(_0x47c934=_0x5ed048(_0x47c934)||_0x47c934);return _0x47c934;},we=(_0x10c5c1,_0x2cafae)=>(_0x57d2b1,_0x41658b)=>_0x2cafae(_0x57d2b1,_0x41658b,_0x10c5c1);let yt=class extends _0x50e5c7{constructor(_0x3c5662,_0x235a83,_0x393095,_0x34e8c0,_0x5bc0fd){var _0x2e65ee=_0x1cf15a;super(_0x3c5662,_0x235a83,_0x393095),this[_0x2e65ee(0x2e2)]=_0x34e8c0,this[_0x2e65ee(0x353)]=_0x5bc0fd;}[_0x1cf15a(0x27f)](_0x2c71e0,_0x56336e){var _0x2bcb5f=_0x1cf15a;const _0x54f6ef=this[_0x2bcb5f(0x280)](_0x2c71e0);if(_0x54f6ef)try{const _0x2607b4=this[_0x2bcb5f(0x282)](_0x54f6ef,_0x56336e);this[_0x2bcb5f(0x2f1)](_0x2c71e0,_0x2607b4);}catch(_0x58a0d2){this[_0x2bcb5f(0x353)]['error'](_0x2bcb5f(0x3fc),_0x58a0d2),this[_0x2bcb5f(0x191)](_0x2c71e0);}const _0xa92459=this[_0x2bcb5f(0x1cd)](_0x2c71e0);if(_0xa92459)try{const _0x2939da=this['_transformStack'](_0xa92459,_0x56336e);this[_0x2bcb5f(0x3e2)](_0x2c71e0,_0x2939da);}catch(_0x2cdde4){this[_0x2bcb5f(0x353)][_0x2bcb5f(0x335)](_0x2cdde4),this[_0x2bcb5f(0x1c6)](_0x2c71e0);}}[_0x1cf15a(0x191)](_0x490594){var _0x252c86=_0x1cf15a;const _0x3569a5=this[_0x252c86(0x280)](_0x490594);_0x3569a5&&(_0x3569a5[_0x252c86(0x25a)]=0x0,this[_0x252c86(0x25d)]());}[_0x1cf15a(0x1c6)](_0x5848bf){var _0x26a2a5=_0x1cf15a;const _0x35a023=this['_getRedoStack'](_0x5848bf);_0x35a023&&(_0x35a023[_0x26a2a5(0x25a)]=0x0,this[_0x26a2a5(0x25d)]());}[_0x1cf15a(0x2f1)](_0x26f6d2,_0x40cee2){var _0x4d405a=_0x1cf15a;this[_0x4d405a(0x1b7)][_0x4d405a(0x310)](_0x26f6d2,_0x40cee2),this[_0x4d405a(0x25d)]();}[_0x1cf15a(0x3e2)](_0xba606a,_0x5069b1){var _0x325c8b=_0x1cf15a;this['_redoStacks']['set'](_0xba606a,_0x5069b1),this[_0x325c8b(0x25d)]();}[_0x1cf15a(0x282)](_0x404982,_0x40ce5f){var _0xd3d860=_0x1cf15a;const _0x32c98f=[];let _0x33c790=_0x40ce5f,_0x5286f8=_0x40ce5f;for(let _0x547bfb=_0x404982['length']-0x1;_0x547bfb>=0x0;_0x547bfb--){const {unitID:_0x187c01,undoMutations:_0x14a729,redoMutations:_0x784d26}=_0x404982[_0x547bfb],_0x47f285=this[_0xd3d860(0x2e2)][_0xd3d860(0x17b)](_0x33c790,_0x14a729),_0x3e1010=this[_0xd3d860(0x2e2)]['transformMutationsWithChangeset'](_0x5286f8,_0x784d26);if(_0x5f28cd(_0x47f285)||_0x5f28cd(_0x3e1010)){this[_0xd3d860(0x353)][_0xd3d860(0x335)](_0xd3d860(0x3fc),_0xd3d860(0x22b),_0x47f285,_0x3e1010);break;}_0x33c790=_0x47f285[_0xd3d860(0x2e7)],_0x5286f8=_0x3e1010[_0xd3d860(0x2e7)],_0x32c98f[_0xd3d860(0x39c)]({'unitID':_0x187c01,'undoMutations':_0x47f285['m2Prime'],'redoMutations':_0x3e1010[_0xd3d860(0x33d)]});}return _0x32c98f['reverse']();}};yt=hr([we(0x0,_0x125d03),we(0x1,_0x751d12),we(0x2,_0x450583),we(0x3,_0x3226d7),we(0x4,_0x1ffba8)],yt);var _r=Object['defineProperty'],lr=Object[_0x1cf15a(0x2fc)],ur=(_0x5de558,_0x1433ec,_0x202559)=>_0x1433ec in _0x5de558?_r(_0x5de558,_0x1433ec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x202559}):_0x5de558[_0x1433ec]=_0x202559,dr=(_0x46004a,_0xc6ef19,_0xa88636,_0x1fbb59)=>{var _0x54d57e=_0x1cf15a;for(var _0x55dd7f=_0x1fbb59>0x1?void 0x0:_0x1fbb59?lr(_0xc6ef19,_0xa88636):_0xc6ef19,_0x4f3cf4=_0x46004a[_0x54d57e(0x25a)]-0x1,_0x36bf17;_0x4f3cf4>=0x0;_0x4f3cf4--)(_0x36bf17=_0x46004a[_0x4f3cf4])&&(_0x55dd7f=_0x36bf17(_0x55dd7f)||_0x55dd7f);return _0x55dd7f;},mt=(_0xd4703f,_0x491ba6)=>(_0x468d60,_0x18bb5b)=>_0x491ba6(_0x468d60,_0x18bb5b,_0xd4703f),fr=(_0x274f67,_0x45a092,_0x36fa2d)=>ur(_0x274f67,_0x45a092+'',_0x36fa2d);const vr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Nt=class extends _0x5ebafa{constructor(_0x26d0ca,_0x11f5ff,_0x26d8ee,_0x450a8c){var _0x2e8656=_0x1cf15a;super(),N(this,_0x2e8656(0x1d5)),(this[_0x2e8656(0x353)]=_0x11f5ff,this[_0x2e8656(0x1bb)]=_0x26d8ee,this[_0x2e8656(0x40d)]=_0x450a8c);const {..._0x10aa10}=_0x270510({},Ds,_0x26d0ca);if(!_0x10aa10[_0x2e8656(0x249)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2e8656(0x1d5)]=_0x10aa10,this[_0x2e8656(0x40d)][_0x2e8656(0x3ce)](K,_0x10aa10);}[_0x1cf15a(0x2e6)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1cf15a(0x3db)](){var _0x1245f3=_0x1cf15a,_0x4287cd,_0x1afd32;this[_0x1245f3(0x1bb)][_0x1245f3(0x171)](_0x1ed94f)&&this['_logService']['error']('[UniverCollaborationClientPlugin]',_0x1245f3(0x252));const _0x4ce9bb=_0x1e1085([[_0x1ed94f,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x1245f3(0x1d5)][_0x1245f3(0x249)]}],[_0x38de54,{'useClass':Ot}],[_0x378d3e,{'useClass':Tt}],[_0x4dfa58,{'useClass':Rt}],[_0x36d935,{'useClass':bt}],[nt],[It]],(_0x4287cd=this[_0x1245f3(0x1d5)])==null?void 0x0:_0x4287cd[_0x1245f3(0x429)]);if(!((_0x1afd32=this[_0x1245f3(0x1d5)])!=null&&_0x1afd32[_0x1245f3(0x3c3)])){const _0x14e79d=_0x4ce9bb[_0x1245f3(0x3b2)](([_0x13e51a])=>_0x13e51a===ht);_0x14e79d!==-0x1&&_0x4ce9bb[_0x1245f3(0x409)](_0x14e79d,0x1);}_0x42f2c7(this[_0x1245f3(0x1bb)],_0x4ce9bb);}['_initDependencies'](){var _0x5cc3da=_0x1cf15a,_0x41e87e,_0x1f7dbd,_0x18bd10;this['_injector'][_0x5cc3da(0x340)](_0x3099c1)[_0x5cc3da(0x190)]({'priority':0x14,'interceptor':_0x28334d({'maxParallel':0x6})}),(_0x41e87e=this[_0x5cc3da(0x1d5)])!=null&&_0x41e87e[_0x5cc3da(0x2a8)]||(_0x1f7dbd=this[_0x5cc3da(0x1bb)][_0x5cc3da(0x340)](J,_0x334508[_0x5cc3da(0x2ef)]))==null||_0x1f7dbd[_0x5cc3da(0x201)](),(_0x18bd10=this[_0x5cc3da(0x1d5)])!=null&&_0x18bd10[_0x5cc3da(0x418)]&&_0x26668f(this[_0x5cc3da(0x1bb)],[[rt]]),_0x26668f(this[_0x5cc3da(0x1bb)],[[at],[nt],[ot]]);}};fr(Nt,_0x1cf15a(0x1cf),vr),Nt=dr([_0x2f84f5(_0x2a7d00,_0x3b2df8),mt(0x1,_0x1ffba8),mt(0x2,_0x4395c3(_0xac3c15)),mt(0x3,_0x149db4)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
1
+ var _0x1ce106=_0x654c;(function(_0x228350,_0x3cc68e){var _0x3c8b1d=_0x654c,_0x1ab18e=_0x228350();while(!![]){try{var _0x3d1e1a=parseInt(_0x3c8b1d(0x19c))/0x1+parseInt(_0x3c8b1d(0x24e))/0x2+-parseInt(_0x3c8b1d(0x316))/0x3+parseInt(_0x3c8b1d(0x2c6))/0x4*(-parseInt(_0x3c8b1d(0x321))/0x5)+-parseInt(_0x3c8b1d(0x221))/0x6+-parseInt(_0x3c8b1d(0x2ac))/0x7+parseInt(_0x3c8b1d(0x36e))/0x8*(parseInt(_0x3c8b1d(0x1c4))/0x9);if(_0x3d1e1a===_0x3cc68e)break;else _0x1ab18e['push'](_0x1ab18e['shift']());}catch(_0x5d89b6){_0x1ab18e['push'](_0x1ab18e['shift']());}}}(_0x3648,0xd383d));var Di=Object[_0x1ce106(0x306)],Ui=(_0x237a80,_0x1d8837,_0xea01d1)=>_0x1d8837 in _0x237a80?Di(_0x237a80,_0x1d8837,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xea01d1}):_0x237a80[_0x1d8837]=_0xea01d1,N=(_0x5b6bec,_0x423432,_0x5e5cc9)=>Ui(_0x5b6bec,typeof _0x423432!=_0x1ce106(0x2c8)?_0x423432+'':_0x423432,_0x5e5cc9);import{createIdentifier as _0x4073c0,Inject as _0x462e36,Injector as _0x454bc4,IConfigService as _0x4a5014,ILogService as _0x103e27,Disposable as _0x17d42d,DisposableCollection as _0xe4dc93,toDisposable as _0x1d8015,IUniverInstanceService as _0x1f74c9,UserManagerService as _0x29dca9,UniverInstanceType as _0x3e7358,LocaleService as _0x263ef2,Optional as _0x26bebd,RxDisposable as _0x589295,Tools as _0x40a632,Rectangle as _0x32edc0,ICommandService as _0x5a4b18,JSONX as _0x23b5a0,CommandType as _0x59c115,IUndoRedoService as _0x49d306,IPermissionService as _0x26f4a9,sequenceExecute as _0x196ae8,Workbook as _0x28e34f,MentionType as _0x57b54,isInternalEditorID as _0x25ac5e,LocalUndoRedoService as _0x10900d,IContextService as _0x15f5fd,DependentOn as _0x28b519,Plugin as _0x34e70b,merge as _0x27cbe2,mergeOverrideWithDependencies as _0x266831,IAuthzIoService as _0x3d56a1,IMentionIOService as _0x18db13,registerDependencies as _0x4b970a,Quantity as _0x56f761,touchDependencies as _0x4b931f}from'@univerjs/core';import{Subject as _0x38504a,merge as _0x43d5e8,of as _0x2ce6f0,BehaviorSubject as _0x88e997,takeUntil as _0x39fb4e,ReplaySubject as _0x3b11f3,take as _0x54a276,map as _0x2a9118,shareReplay as _0x282109,firstValueFrom as _0x51e09f,concatMap as _0x2d4b5a}from'rxjs';import{map as _0x4c135a,take as _0x5ee7ee,filter as _0xc72917,delay as _0x1ae872,takeUntil as _0x27e70f}from'rxjs/operators';import{CollaborationEvent as _0x10c22b,ISnapshotServerService as _0x49f086,parseChangesetToProtocol as _0x3b1831,ITransformService as _0x9cb7ab,isTransformMutationsWithChangesetSuccess as _0x227c39,mapDocumentTypeToUniverType as _0x52ea29,RevisionService as _0x5c44a5,isTransformChangesetsSuccess as _0x493bfc,CompressMutationService as _0x182158,parseProtocolChangeset as _0x1f35c6,uuidv4 as _0x4c02dc,SnapshotService as _0x1892f8,textEncoder as _0x26cb04,b64DecodeUnicode as _0x341349,isTransformMutationsWithChangesetFailure as _0x5d980c,UniverCollaborationPlugin as _0x5838d6}from'@univerjs-pro/collaboration';import{HTTPService as _0x91e7e9,ISocketService as _0x43dea3,MergeInterceptorFactory as _0x456d40,HTTPRequest as _0x3734ec,UniverNetworkPlugin as _0x145b4f,ThresholdInterceptorFactory as _0x50fc9a}from'@univerjs/network';import{ITelemetryService as _0x57861e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5d5c10}from'@univerjs/docs';import{SheetsSelectionsService as _0x3a2196,SetSelectionsOperation as _0x18af86,InsertSheetMutation as _0x273dcc,EmptyMutation as _0x3ef308,WorkbookEditablePermission as _0x2b88e9,SheetPermissionInitController as _0x175c27}from'@univerjs/sheets';import{ImageSourceType as _0x30a9da,ImageUploadStatusType as _0x34863b,IImageIoService as _0x4bc34d}from'@univerjs/drawing';import{getGlobalObject as _0x183ff6}from'@univerjs-pro/license';function _0x3648(){var _0xc433ca=['Cipher','getUnitStatus$','Failed\x20to\x20update\x20permission\x20point','floor','996868SEibIZ','[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.','symbol','ciphertext','unsubscribe','JOIN','_waitCount','_substituteUndoStack','format','UNKNOWN_CMD','_localeService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','LIVESHARE_TERMINATE','sid','encryptBlock','_onConflict','Undefined','/fetchmissing?from=','_univerInstanceService','_sheetTransformSelectionsService','actions','PERMISSION_DENIED','unpad','_collaborationPaused','unit-cache-','__esModule','_clearHeartbeatTimer','target','[CollaborationUndoRedoService]','HMAC','_transformStateCache','requestParams','compose','data','_resendTimeout','ALREADY_EXISTS','file','UNIVER_DOC','_clearCollaborationTimeoutTimer','_undoRedoService','INTERNAL_ERROR','confirm','joinEvent','_toggleOffline','IDLE','_checkMissing','_state','getTime','state$','_initRequestHeader','_pendingMutations','GLOBAL_ROOMS_CNT_EXCEEDS','_commentUpdate$','objectType','_acknowledgedAwaitingChangeset','_getCtorByUniverType','SEND_CHANGESET_TIMEOUT','createCollaborator','_updateStatus','selections','copyFileMeta','resend','update','csShouldRetryEvent','defineProperty','INGEST','_createHmacHelper','getTypeOfUnitDisposed$','SUCCUSS','userID','updateCursorEvent','_listenToNetworkCondition','addHandlerCallback','_map','processBlock','isPermissionRej','_socketMessageSubscription','encode','_roomMembers','_joinRoom','4141389PYNgwK','_onJoinRoomEvent','msCrypto','fromCollab','_getSendChangesetTimeout','from','_transformUndoredo','_entityInit$','FAIL','SNAPSHOT_SERVER_URL_KEY','[CollaborationState]:\x20apply\x20error!','15fjvvmX','_sessionStatus$','unitID','AWAITING','put','WordArray','YUUMI_ALL_TABLES_IS_INVALID','SUBMIT_CHANGESET','OTHER_CLIENT_EDITING','retryConnectingInterval','members$','BufferedBlockAlgorithm','onTransformState','/unit/','FETCH_MISSING','awaitingChangeset','_logService','onTransformRemoteChangesetByIMECache','_sessions','/new_changes','/role','failed\x20to\x20apply\x20missed\x20changesets!','closeSession','\x20in\x20_schedule.','updateCollaborator','pending','unitId','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','state','submit\x20changeset\x20error!','_snapshotService','getInterceptPoints','ERROR_EXCEED_SIZE','_transformService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getRandomValues','univer-pro.collaboration-client-socket-service','APPLY_REJECT','_eventService','transformMutationsWithChangeset','getAllMembers','push','MOBILE_HAS_BEEN_BOUND','SHOULD_CLOSE_CONN','leaveEvent','COMPRESS_MUTATION_APPLY','fetchMiss','_doFinalize','_changesetReqId','getCollabEntity','COMPLETION_FINISHED','setShowComponents','result','transformChangesets','_updateState','localCacheService','YUUMI_NO_CUBOID_FOR_QUESTION','image/jpeg','_getAPIPrefix','memberID','stopTime','UserProfileImg','init','sigBytes','LOGIN_URL_KEY','_waitForHeartbeatResponse','INVITE_CODE_ALREADY_BOUND','body','ERROR_IMAGE','resourceIDs','_telemetryInfo','socket\x20open.','reduce','_getDownloadEndpointURL','[FetchMissState]','_reverseMap','get','30793024xvXeSE','_change$','_telemetryService','EvpKDF','batchAllowed','_transformStack','onMissingChangesets','getResourcesRequest','_memberService','interceptor','_createInitialState','POST','_changesetSessionId','_handlerCallback','save\x20fail\x20reason\x20is\x20','Hasher','_getRedoStack','generateRandomId','onLocalMutation','title','collabSubmitChangesetUrl','session.room-full','COMMENT_UPDATE','_instanceService','fetchMissingChangesets','_syncEditingCollabCursor','collaborators','[SyncedState]:\x20received\x20rejection.','_onConnectionFailed','[CollaborationEntity]','downloadEndpointUrl','_candidateSocket','_getSignURL','_scheduleCompleteTimestamp','YUUMI_UNABLE_LOAD_URL','socketService','_getAPIPrefixPath','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','includes','_members$','NOT_COLLAB','avatar','_clearLocalCache','YUUMI_AI_RUN_FAILED','CLOSE_ROOM','charCodeAt','event$','padding','TOO_MANY_REQUESTS','status$','_initUnitPermissionChange','\x20-\x20','subscribe','image/bmp','loadDoc','RETRY_CONNECTING_MAX_COUNT','slice','onTransformSelections','[SyncedState]:\x20received\x20acknowledgement.','_handler','_compressMutationService','_socketReady','removeMember','&source=','_collaborationUIEventService','_stopTelemetryCollaborationNewChangeset','iterations','clear','transformUndoRedo','getFocusedUnit','waitForRoom$','authzUrl','_clearRedo','[OfflineState]:\x20received\x20acknowledgement.','_createHandler','words','collaboration-client.config','findIndex','clamp','encodeURIComponent','LICENSE_DISTRO_REJECTED','_init','_doCreateSocket','onTransformRemoteChangesetByStateCache','exports','loadUnit','_clearTimeoutTimer','reverse','_mode','[CollaborationSessionService]','fromCharCode','hasher','UNRECOGNIZED','origin','rev','randomBytes','UNIVER_PROJECT','LOCAL_CACHE_INTERVAL','abs','APPLY_DUPLICATED','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','status','pipe','entityInit$','enableOfflineEditing','_showConflictNotification','__creator','_onRemoteChangeset','_status$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','MSG_FOR_ERROR','splice','_revisionService','setWaitCount','collaboration-client.local-cache-service','changesets','_createInitialStateImpl','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_RATE_OVER_LIMIT','_snapshotServerService','deepClone','onRemoteAck','_schedule','_disableEditing','complete','INVITE_CODE_HAS_BEEN_UES','_tryReconnect','readInt32LE','updateOfflineData','BlockCipherMode','CONNECTOR_DATA_TOO_LARGE','post','_state$','url','getUnit','updatePermissionObjEvent','session.room-permission-denied','href','loadSheet','NOT_FOUND','_nRounds','_decreaseWaiting','CHANGESET_ACK','toggleOnline','_commandService','isArray','_throwTelemetryCollaborationNewChangeset','close$','_userManagerService','string','getUnitType','_injector','code','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','reconnect','requireSession','snapshot','Decryptor','WECHAT_HAS_BEEN_BOUND','COLLAB_SUBMIT_CHANGESET_URL','_networkConditionService','EMAIL_HAS_BEEN_BOUND','APPLY_NON_SEQUENTIAL_REVISION','_onRemoteACK','UNIVER_SHEET','HEARTBEAT_INTERVAL','onSyncEditingCollabCursor','Base','_retryCount','_append','name','_onCombEvent','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_retryConnectingTimer','onRemoteRej','onCommandExecuted','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getUnitId','_resendTimer','UNIVER_UNKNOWN','_timeoutTimer','USERS_LEAVE','objectID','SHA1','set','encrypt','_keySchedule','_iv','/-/object/-/batch_allowed','/rev/','originalMeta','updatePermissionPoint','_tryEnsureSocket','error$','textRanges','\x20to\x20','_onFetchMissResult','LIVESHARE_FETCH_OPERATIONS','HELLO','_emitMembers','LOGIN_FAILED','executeCommand','UNISCRIPT_RUN','_getCurrentRevision','signUrlServerUrl','OpenSSL','_oKey','_event$','hasOwnProperty','SNAPSHOT_INVALID_SNAPSHOT','INVALID_ARGUMENT','saveChangeset','reset','UnitSnapshot','addImageSourceCache','uploadFileServerUrl','filter','UNIVER_COLLABORATION_CLIENT_PLUGIN','key','LIVESHARE_NEW_HOST','asObservable','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','disableLocalCache','getMemberID','_onUserLeave','send','roomInfos','substr','unknown','LICENSE_MAX_UNITS_EXCEEDED','enableCollaboration','equals','focused$','c2Prime','_exhaustRemoteChangesetQueue','UNKNOWN_CODE','NoPadding','_members','_parse','subUnitId','JOIN_ROOM_FAILED','_ENC_XFORM_MODE','synced','function','LIVESHARE_REQUEST_HOST','SOCKET_FAILED_RETRY','createInstance','_config','getCollabEntity$','HttpImport','_lockTransition','_data','mixIn','_doCryptBlock','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','/allowed','incrementRevOfUnit','CHANGESET_SHOULD_RETRY','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','createEncryptor','_entities','_clearRetryConnectingTimer','c1Prime','disposeWithMe','_transformRemoteChangesetByIMECache','finalize','_replayCachedMutations','getSheetBlock','map','call','?url=','/universer-api/comb','[OfflineState]:\x20received\x20changeset.','JOIN_ROOM_NOT_EXISTS','_resendWithTimeout','_onConnectionOpen','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_type','dispose$','_executeRemoteChangeset','sessionStatus','\x0aAfter:\x20','eventID','transformSelections','getConfig','startsWith','reject','getSnapshotAPIPath','getTypeOfUnitAdded$','_getLoginPath','ENSURE_SNAPSHOT_EXECUTION','catch','getLatestCsReqIdBySid','FETCH_MISS','add','loadUnitOfRevision','LIVESHARE_OPERATION','_transitionLocked','append','_substituteRedoStack','_updateLocalCache','_HTTPService','477261UDxoNY','values','_queuedRemoteChangesets','HEARTBEAT_TIMEOUT','OFFLINE','LICENSE_EXPORT_SIZE_EXCEEDED','__Key__','_clearScheduledTask','Base64','dispose','lib','concat','toggleOffline','collaMsg','objectActions','setConfig','fetch_missing','onMissedChangesetFetched','_sendHeartbeat','_scheduleCollaborationTimeoutTimer','routeKey','_onOffline','_isPermissionRej','getValue','[CollaborationSession]','_initCloseConn','_httpService','_onRemoteRetry','allowed','baseRev','_redoStacks','YUUMI_TABLE_NOT_FOUND_IN_UNIT','has','buffer','?size=','_sendHeartbeatTimer','awaiting_with_pending','registerHTTPInterceptor','repeat','session.join-failed','9QNRIol','getMember','/collaborator','_prevBlock','createSocket','deleteCollaborator','prototype','shouldCloseConn','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','socket\x20close','AES','CONFLICT','Utf8','charAt','_permissionService','_collaborationTimeoutTimer','/universer-api/snapshot/','kdf','listCollaborators','APPLY_PERMISSION_DENIED','close','_transformSelections','create','APPLY_REVISION_CONFILICT','action','_registerDependencies','_toggleOnline','_getUploadFileURL','INVITE_CODE_REQUIRED','$super','_unitInfo$','CipherParams','HEARTBEAT','_nDataBytes','/object','onSendChangeset','UNAUTHENTICATED','BlockCipher','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','commentUpdateEvent','now','clone','JOINING','pluginName','_onLocalMutation','refreshPermission','JOIN_ROOM_FULL','fetchThroughInterceptors','conflict','awaiting','sin','startTime','AUTHZ_URL_KEY','_onRecvEvent','objects','members','ivSize','algo','_shouldReportTelemetry','then','YUUMI_SUBSCRIPTION_NOT_FOUND','message$','ONLINE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','formatter','onlyLocal','_incrementRevisionNumber','_doReset','AWAITING_WITH_PENDING','session.room-cnt-exceeds','decrypt','_commentService','_onRemoteRejected','FileId','workbook','UPDATE_CURSOR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','error','loadOfflineData','crypto','cfg','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','join','PERSON','sessionStatus$','/-/object/list','_remoteChangesetQueue','collaboration_new_changeset','replace','withCredentials','onload','_transformRemoteChangesetByStateCache','getCurrentRevOfUnit','83826bWPxQF','initWorkbookPermissionChange','_imageSourceCache','session','PERMISSION_REJ','open$','stringify','parse','Error\x20on\x20receiving\x20event','PSEUDO_FETCH_MISSING_RESULT','salt','m2Prime','_doProcessBlock','_createHelper','editing\x20status\x20changed\x20to','/block/','_hash','_fetchMissChangesets','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','USERS_ENTER','_startTelemetryCollaborationNewChangeset','enc','emitEvent','params','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','size','reqId','infoRsp','_initDependencies','SNAPSHOT_URL_KEY','_configService','People','_cipher','connection\x20error','_singleActiveUnitService','headers','/universer-api/authz','_unitID','Hex','onTransformIME','range','_sendingTimer','_awaitingChangeset','random','mutations','352948nZyOmf','SUBMIT_CHANGESET_TIMEOUT','method','LEAVE','next','_minBufferSize','getCurrentUser','PasswordBasedCipher','ceil','_socket','collaboratorID','_process','blockSize','/universer-api/user/session-ticket','RECV','_getUndoStack','[CollaborationSessionService]:\x20socket\x20error','_sender','type','_replaceFileID','delete','image/png','DEFAULT_FILE_NAME','univer-pro.collaboration-client.network-condition.service','_socket$','NEW_CHANGESETS','_initMergeInterceptor','pad','online$','UNIVER_SLIDE','list','length','Encryptor','SOCKET_FAILED','onRemoteRetry','cmd','_roomCreated$','roles','USER_NOT_INVITED_CODE','find','UNDEFINED','mode','UnitEmbedded','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearUndo','_hasher','forEach','apply','csRejEvent','extend','max','_onUserJoin','_collaborationSessionService','unitId\x20is\x20not\x20found','ERROR_IMAGE_TYPE','byteLength','_socketService','getDeserializedSheetBlock','socket$','StreamCipher','compute','responseType','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getUnitOnRev','_unlockTransition','SNAPSHOT_HAS_BEEN_REMOVED','_applyRemoteChangeset','updateMember','indexOf','debug','_rescheduleHeartbeat','/universer-api/oidc/authpage','override','MD5','HmacMD5','_transformIMECache','CBC','appendMutation','_createSocket','getOwnPropertyDescriptor','YUUMI_ASYNCIO_CANCELLED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_startCollaboration','decryptBlock','setCurrentUser','revision','_key','capture','CHANGESET_REJ','saveSnapshot','_localCacheService','pauseCollaboration','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[PendingState]:\x20received\x20rejection.','10460891NNiItP','INVALID_INVITE_CODE','csAckEvent','liveShareOperation','OTHER_CLIENTS_EDITING','HttpExport','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','localeService','_xformMode','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_keyPriorReset','updateSnapshot','toString','onRemoteChangeset','CHANGESET_REVISION_CONFILICT','subject','MUTATION','_submitChangeset','UUID','image/gif','JOIN_ROOM_PERMISSION_DENIED','snapshotServerUrl'];_0x3648=function(){return _0xc433ca;};return _0x3648();}const fs=_0x1ce106(0x31f),vs='/universer-api/snapshot',ps=_0x1ce106(0x23e),yr=_0x1ce106(0x2fe),ms=0x7d0,gs='COLLAB_WEB_SOCKET_URL',Ss='ws://127.0.0.1:8000/universer-api/comb/connect',Nr=_0x1ce106(0x25b),Es=_0x1ce106(0x113),Is=0x7530,fi=_0x1ce106(0x19f),vi=0x4e20,Ts=0x4e20,Cs=_0x1ce106(0xa5),Rs=0x3,Dr=_0x1ce106(0xcf),Ur=0x3e8,bs=_0x1ce106(0x10d),Os=_0x1ce106(0x17d),ys=_0x1ce106(0x361),Ns=_0x1ce106(0x295),Ar=_0x1ce106(0x1ea),wr='/universer-api/uniscript';var pi=(_0x8a9203=>(_0x8a9203[_0x8a9203[_0x1ce106(0x276)]=0x0]=_0x1ce106(0x276),_0x8a9203[_0x8a9203['OK']=0x1]='OK',_0x8a9203[_0x8a9203['INTERNAL_ERROR']=0x2]=_0x1ce106(0x2ee),_0x8a9203[_0x8a9203['PERMISSION_DENIED']=0x3]=_0x1ce106(0x2db),_0x8a9203[_0x8a9203[_0x1ce106(0xf9)]=0x4]='NOT_FOUND',_0x8a9203[_0x8a9203[_0x1ce106(0x1e8)]=0x5]=_0x1ce106(0x1e8),_0x8a9203[_0x8a9203[_0x1ce106(0x2e9)]=0x6]='ALREADY_EXISTS',_0x8a9203[_0x8a9203['INVALID_ARGUMENT']=0x7]=_0x1ce106(0x140),_0x8a9203[_0x8a9203[_0x1ce106(0x9e)]=0x8]='TOO_MANY_REQUESTS',_0x8a9203[_0x8a9203[_0x1ce106(0x353)]=0x9]=_0x1ce106(0x353),_0x8a9203[_0x8a9203[_0x1ce106(0x136)]=0xa]=_0x1ce106(0x136),_0x8a9203[_0x8a9203[_0x1ce106(0x2ba)]=0x1389]=_0x1ce106(0x2ba),_0x8a9203[_0x8a9203[_0x1ce106(0x13f)]=0x1771]=_0x1ce106(0x13f),_0x8a9203[_0x8a9203[_0x1ce106(0x28f)]=0x1772]=_0x1ce106(0x28f),_0x8a9203[_0x8a9203[_0x1ce106(0x190)]=0x1773]=_0x1ce106(0x190),_0x8a9203[_0x8a9203['APPLY_REJECT']=0x1b59]=_0x1ce106(0x346),_0x8a9203[_0x8a9203[_0x1ce106(0x110)]=0x1b5a]=_0x1ce106(0x110),_0x8a9203[_0x8a9203[_0x1ce106(0x1db)]=0x1b5b]=_0x1ce106(0x1db),_0x8a9203[_0x8a9203[_0x1ce106(0x1d7)]=0x1b5c]=_0x1ce106(0x1d7),_0x8a9203[_0x8a9203[_0x1ce106(0xd1)]=0x1b5d]=_0x1ce106(0xd1),_0x8a9203[_0x8a9203[_0x1ce106(0xf0)]=0x1f41]=_0x1ce106(0xf0),_0x8a9203[_0x8a9203[_0x1ce106(0x153)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x8a9203[_0x8a9203[_0x1ce106(0x210)]=0x232a]=_0x1ce106(0x210),_0x8a9203[_0x8a9203['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x8a9203[_0x8a9203[_0x1ce106(0x1a1)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x8a9203[_0x8a9203[_0x1ce106(0xbe)]=0x232d]=_0x1ce106(0xbe),_0x8a9203[_0x8a9203[_0x1ce106(0x390)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x8a9203[_0x8a9203[_0x1ce106(0xe3)]=0x2712]=_0x1ce106(0xe3),_0x8a9203[_0x8a9203['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1ce106(0xe4),_0x8a9203[_0x8a9203[_0x1ce106(0x200)]=0x2714]=_0x1ce106(0x200),_0x8a9203[_0x8a9203[_0x1ce106(0x359)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x8a9203[_0x8a9203[_0x1ce106(0x29e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x8a9203[_0x8a9203['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1ce106(0x1bb),_0x8a9203[_0x8a9203[_0x1ce106(0x327)]=0x271d]=_0x1ce106(0x327),_0x8a9203[_0x8a9203['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x8a9203[_0x8a9203[_0x1ce106(0x99)]=0x271f]=_0x1ce106(0x99),_0x8a9203[_0x8a9203['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x8a9203[_0x8a9203[_0x1ce106(0xeb)]=0x2ee1]=_0x1ce106(0xeb),_0x8a9203[_0x8a9203[_0x1ce106(0x2ad)]=0x2ee2]=_0x1ce106(0x2ad),_0x8a9203[_0x8a9203[_0x1ce106(0x1e0)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x8a9203[_0x8a9203[_0x1ce106(0x274)]=0x2ee4]=_0x1ce106(0x274),_0x8a9203[_0x8a9203['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1ce106(0x363),_0x8a9203[_0x8a9203[_0x1ce106(0x10c)]=0x32c9]=_0x1ce106(0x10c),_0x8a9203[_0x8a9203['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1ce106(0x34b),_0x8a9203[_0x8a9203[_0x1ce106(0x10f)]=0x32cb]=_0x1ce106(0x10f),_0x8a9203[_0x8a9203[_0x1ce106(0xca)]=-0x1]='UNRECOGNIZED',_0x8a9203))(pi||{}),Z=(_0x505a27=>(_0x505a27[_0x505a27[_0x1ce106(0x121)]=0x0]=_0x1ce106(0x121),_0x505a27[_0x505a27[_0x1ce106(0x2eb)]=0x1]=_0x1ce106(0x2eb),_0x505a27[_0x505a27[_0x1ce106(0x112)]=0x2]=_0x1ce106(0x112),_0x505a27[_0x505a27['UNIVER_SLIDE']=0x3]=_0x1ce106(0x26b),_0x505a27[_0x505a27[_0x1ce106(0xce)]=0x4]=_0x1ce106(0xce),_0x505a27[_0x505a27[_0x1ce106(0xca)]=-0x1]='UNRECOGNIZED',_0x505a27))(Z||{}),F=(_0x41d216=>(_0x41d216[_0x41d216[_0x1ce106(0x2cf)]=0x0]='UNKNOWN_CMD',_0x41d216[_0x41d216[_0x1ce106(0x134)]=0x1]=_0x1ce106(0x134),_0x41d216[_0x41d216[_0x1ce106(0x2cb)]=0x2]='JOIN',_0x41d216[_0x41d216['LEAVE']=0x3]=_0x1ce106(0x251),_0x41d216[_0x41d216[_0x1ce106(0x307)]=0x4]=_0x1ce106(0x307),_0x41d216[_0x41d216[_0x1ce106(0x1e4)]=0x5]=_0x1ce106(0x1e4),_0x41d216[_0x41d216[_0x1ce106(0x25c)]=0x6]=_0x1ce106(0x25c),_0x41d216[_0x41d216[_0x1ce106(0xca)]=-0x1]='UNRECOGNIZED',_0x41d216))(F||{}),me=(_0x556dd4=>(_0x556dd4[_0x556dd4['UNKNOWN_CODE']=0x0]=_0x1ce106(0x159),_0x556dd4[_0x556dd4['OK']=0x1]='OK',_0x556dd4[_0x556dd4[_0x1ce106(0x31e)]=0x2]=_0x1ce106(0x31e),_0x556dd4[_0x556dd4['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x556dd4[_0x556dd4['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x1ce106(0x17f),_0x556dd4[_0x556dd4[_0x1ce106(0x2c0)]=0x3eb]=_0x1ce106(0x2c0),_0x556dd4[_0x556dd4[_0x1ce106(0x2f9)]=0x3ec]=_0x1ce106(0x2f9),_0x556dd4[_0x556dd4[_0x1ce106(0xca)]=-0x1]=_0x1ce106(0xca),_0x556dd4))(me||{}),mi=(_0x1078c2=>(_0x1078c2[_0x1078c2[_0x1ce106(0x2d6)]=0x0]=_0x1ce106(0x2d6),_0x1078c2[_0x1078c2[_0x1ce106(0x167)]=0x1]=_0x1ce106(0x167),_0x1078c2[_0x1078c2[_0x1ce106(0x2b1)]=0x2]='HttpExport',_0x1078c2[_0x1078c2[_0x1ce106(0x278)]=0x3]=_0x1ce106(0x278),_0x1078c2[_0x1078c2[_0x1ce106(0x143)]=0x4]=_0x1ce106(0x143),_0x1078c2[_0x1078c2[_0x1ce106(0x35e)]=0x5]=_0x1ce106(0x35e),_0x1078c2[_0x1078c2[_0x1ce106(0xca)]=-0x1]=_0x1ce106(0xca),_0x1078c2))(mi||{});const K=_0x1ce106(0xba),Ds={};var ne=(_0x32948e=>(_0x32948e[_0x1ce106(0x329)]=_0x1ce106(0x329),_0x32948e[_0x1ce106(0x2db)]=_0x1ce106(0x2db),_0x32948e[_0x1ce106(0x1cf)]=_0x1ce106(0x1cf),_0x32948e[_0x1ce106(0x9a)]='CLOSE_ROOM',_0x32948e['JOIN_ROOM_FAILED']=_0x1ce106(0x15e),_0x32948e[_0x1ce106(0x163)]=_0x1ce106(0x163),_0x32948e[_0x1ce106(0x26f)]=_0x1ce106(0x26f),_0x32948e[_0x1ce106(0x24f)]=_0x1ce106(0x24f),_0x32948e))(ne||{});class ve{constructor(){var _0x2d276a=_0x1ce106;N(this,_0x2d276a(0x13d),new _0x38504a()),N(this,_0x2d276a(0x9c),this[_0x2d276a(0x13d)]['asObservable']());}[_0x1ce106(0x237)](_0x50d045){var _0x50a9a5=_0x1ce106;this[_0x50a9a5(0x13d)][_0x50a9a5(0x252)](_0x50d045);}}const Us=_0x4073c0(_0x1ce106(0x265));function As(_0x23fb28){var _0x363666=_0x1ce106,_0x1919a3,_0x2aa812,_0x695432,_0x33bcfc,_0x489866;const _0x400ed8=_0x23fb28[_0x363666(0x2e7)],_0x2e093b=JSON['parse'](_0x400ed8);switch(_0x2e093b['cmd']){case F[_0x363666(0x1e4)]:case F[_0x363666(0x134)]:{const _0x56c0f3=_0x2e093b[_0x363666(0x23c)];return{..._0x2e093b,'data':_0x56c0f3,'cmd':_0x2e093b[_0x363666(0x271)]};}case F[_0x363666(0x2cb)]:{const _0x1c6295=_0x2e093b['joinRsp'];return{..._0x2e093b,'data':_0x1c6295,'cmd':_0x2e093b[_0x363666(0x271)]};}case F[_0x363666(0x25c)]:{const _0x190d2b=_0x2e093b[_0x363666(0x1a9)];switch(_0x190d2b[_0x363666(0x188)]){case _0x10c22b[_0x363666(0x225)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':(_0x1919a3=_0x190d2b['permissionRejEvent'])==null?void 0x0:_0x1919a3['cs']},'cmd':_0x2e093b['cmd']};case _0x10c22b[_0x363666(0xfc)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':(_0x2aa812=_0x190d2b[_0x363666(0x2ae)])==null?void 0x0:_0x2aa812['cs']},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x267)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':(_0x695432=_0x190d2b['newCsEvent'])==null?void 0x0:_0x695432['cs']},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x2a6)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':(_0x33bcfc=_0x190d2b[_0x363666(0x27e)])==null?void 0x0:_0x33bcfc['cs']},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x16f)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':(_0x489866=_0x190d2b[_0x363666(0x305)])==null?void 0x0:_0x489866['cs']},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x20f)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0x30c)]},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b['USERS_ENTER']:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0x2f0)]},'cmd':_0x2e093b['cmd']};case _0x10c22b['USERS_LEAVE']:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0x34d)]},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x149)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b['liveShareNewHost']},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x133)]:case _0x10c22b[_0x363666(0x196)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0x2af)]},'cmd':_0x2e093b['cmd']};case _0x10c22b[_0x363666(0x2d2)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b['liveShareNewHost']},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0xdc)]:return{..._0x2e093b,'data':_0x190d2b,'cmd':_0x2e093b['cmd']};case _0x10c22b['COMMENT_UPDATE']:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0x1eb)]},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b['UPDATE_PERMISSION_OBJ']:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0xf5)]},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x34c)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0x1cb)]},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x138)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b['uniscriptRunEvent']},'cmd':_0x2e093b[_0x363666(0x271)]};default:return _0x2e093b;}}default:return _0x2e093b;}}function ws(_0xc05d99){var _0x35a463=_0x1ce106;switch(_0xc05d99['cmd']){case F[_0x35a463(0x1e4)]:case F[_0x35a463(0x134)]:return JSON[_0x35a463(0x227)]({'cmd':_0xc05d99[_0x35a463(0x271)],'routeKey':_0xc05d99['routeKey']});case F[_0x35a463(0x307)]:{let _0x446a63;switch(_0xc05d99['data'][_0x35a463(0x188)]){case _0x10c22b[_0x35a463(0x20f)]:{_0x446a63={'eventID':_0x10c22b[_0x35a463(0x20f)],'updateCursorEvent':_0xc05d99[_0x35a463(0x2e7)]['data']};break;}case _0x10c22b[_0x35a463(0x123)]:{_0x446a63={'eventID':_0x10c22b[_0x35a463(0x123)],'leaveEvent':_0xc05d99[_0x35a463(0x2e7)][_0x35a463(0x2e7)]};break;}case _0x10c22b['USERS_ENTER']:{_0x446a63={'eventID':_0x10c22b[_0x35a463(0x234)],'joinEvent':_0xc05d99[_0x35a463(0x2e7)][_0x35a463(0x2e7)]};break;}case _0x10c22b[_0x35a463(0x149)]:{_0x446a63={'eventID':_0x10c22b[_0x35a463(0x149)],'liveShareNewHost':_0xc05d99[_0x35a463(0x2e7)]['data']};break;}case _0x10c22b[_0x35a463(0x196)]:{_0x446a63={'eventID':_0x10c22b['LIVESHARE_OPERATION'],'liveShareOperation':_0xc05d99[_0x35a463(0x2e7)]['data']};break;}case _0x10c22b[_0x35a463(0x2d2)]:{_0x446a63={'eventID':_0x10c22b['LIVESHARE_TERMINATE'],'liveShareTerminate':_0xc05d99[_0x35a463(0x2e7)][_0x35a463(0x2e7)]};break;}case _0x10c22b[_0x35a463(0x162)]:{_0x446a63={'eventID':_0x10c22b[_0x35a463(0x162)],'liveShareRequestHost':_0xc05d99[_0x35a463(0x2e7)]['data']};break;}case _0x10c22b['LIVESHARE_FETCH_OPERATIONS']:{_0x446a63={'eventID':_0x10c22b['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x446a63={'eventID':_0xc05d99[_0x35a463(0x2e7)]['eventID']};}return JSON['stringify']({'cmd':_0xc05d99['cmd'],'routeKey':_0xc05d99[_0x35a463(0x1b0)],'collaMsg':_0x446a63});}case F[_0x35a463(0x2cb)]:return JSON[_0x35a463(0x227)]({'cmd':_0xc05d99[_0x35a463(0x271)],'routeKey':_0xc05d99[_0x35a463(0x1b0)],'joinReq':_0xc05d99['data']});case F['LEAVE']:return JSON[_0x35a463(0x227)]({'cmd':_0xc05d99[_0x35a463(0x271)],'routeKey':_0xc05d99[_0x35a463(0x1b0)],'leaveReq':_0xc05d99[_0x35a463(0x2e7)]});default:throw new Error(_0x35a463(0x28c));}}var Ps=Object[_0x1ce106(0x29d)],Ls=(_0x184072,_0x407769,_0x4cae36,_0x2cde83)=>{var _0xade7ee=_0x1ce106;for(var _0x368ffe=_0x2cde83>0x1?void 0x0:_0x2cde83?Ps(_0x407769,_0x4cae36):_0x407769,_0x19a8d8=_0x184072[_0xade7ee(0x26d)]-0x1,_0x34f37c;_0x19a8d8>=0x0;_0x19a8d8--)(_0x34f37c=_0x184072[_0x19a8d8])&&(_0x368ffe=_0x34f37c(_0x368ffe)||_0x368ffe);return _0x368ffe;},Ue=(_0x481e83,_0xefa38f)=>(_0x1aff36,_0x33ad5d)=>_0xefa38f(_0x1aff36,_0x33ad5d,_0x481e83);const gi=_0x4073c0(_0x1ce106(0x345));function Ms(_0x95e178,_0x5270de,_0x5ef431){var _0x175e62=_0x1ce106;return _0x95e178+'/'+_0x5270de+_0x175e62(0x32e)+_0x5ef431+_0x175e62(0x334);}let Ft=class extends _0x17d42d{constructor(_0x31350a,_0x53f4b1,_0xa75d93,_0x550bec,_0x4c3e55){var _0x534a88=_0x1ce106;super(),this['_injector']=_0x31350a,this['_httpService']=_0x53f4b1,this['_configService']=_0xa75d93,this['_logService']=_0x550bec,this[_0x534a88(0xe5)]=_0x4c3e55;}[_0x1ce106(0xc0)](_0x97c049){var _0x3ed0bf=_0x1ce106;const _0x409786=this[_0x3ed0bf(0x105)]['get'](_0x43dea3);if(!_0x409786)throw new Error(_0x3ed0bf(0x14b));const _0x1c2f37=_0x409786[_0x3ed0bf(0x1c8)](_0x97c049);if(!_0x1c2f37)throw new Error(_0x3ed0bf(0x343));const _0x283e02=new _0xe4dc93(),_0x18ce54=new _0x38504a();_0x283e02['add'](_0x1c2f37[_0x3ed0bf(0x101)][_0x3ed0bf(0xa2)](_0x1294ae=>_0x18ce54[_0x3ed0bf(0x252)](_0x1294ae))),_0x283e02['add'](_0x1d8015(()=>_0x18ce54['complete']()));const _0x1e950b=new _0x38504a();_0x283e02['add'](_0x1c2f37[_0x3ed0bf(0x12f)]['subscribe'](_0x199195=>_0x1e950b[_0x3ed0bf(0x252)](_0x199195))),_0x283e02['add'](_0x1d8015(()=>_0x1e950b['complete']()));const _0x4c430a=new _0x38504a();_0x283e02['add'](_0x1c2f37[_0x3ed0bf(0x201)][_0x3ed0bf(0xa2)](_0x559b5f=>{var _0x30b165=_0x3ed0bf;const _0x21f48d=As(_0x559b5f);_0x4c430a[_0x30b165(0x252)](_0x21f48d);})),_0x283e02[_0x3ed0bf(0x194)](_0x1d8015(()=>_0x4c430a['complete']()));let _0x3186e6;const _0x363139=()=>{var _0x1aabd4=_0x3ed0bf;_0x1e950b['next'](new Event(_0x1aabd4(0x242))),_0x18ce54['next'](new Event(_0x1aabd4(0x242))),_0x3186e6['close']();};return _0x3186e6={'memberID':'','close$':_0x18ce54[_0x3ed0bf(0x14a)](),'error$':_0x1e950b[_0x3ed0bf(0x14a)](),'open$':_0x1c2f37[_0x3ed0bf(0x226)],'message$':_0x4c430a['asObservable'](),'send':_0x4235b4=>{var _0x58d7a7=_0x3ed0bf;if(_0x4235b4['cmd']===F[_0x58d7a7(0x307)]){if(_0x4235b4[_0x58d7a7(0x2e7)][_0x58d7a7(0x188)]===_0x10c22b[_0x58d7a7(0x328)]){this[_0x58d7a7(0x2bd)](_0x3186e6,_0x4235b4[_0x58d7a7(0x2e7)])[_0x58d7a7(0x191)](_0x1bfea9=>{var _0xc19713=_0x58d7a7;this[_0xc19713(0x331)][_0xc19713(0x211)](_0x1bfea9),_0x363139();});return;}if(_0x4235b4['data']['eventID']===_0x10c22b['FETCH_MISSING']){const _0x1e8ee8=_0x4235b4[_0x58d7a7(0x2e7)];this[_0x58d7a7(0x232)](_0x1e8ee8)[_0x58d7a7(0x1ff)](_0x2efd46=>{var _0x2c7741=_0x58d7a7;_0x4c430a[_0x2c7741(0x252)]({'cmd':F[_0x2c7741(0x25c)],'code':me['OK'],'routeKey':_0x1e8ee8[_0x2c7741(0x2e7)][_0x2c7741(0x323)],'routeType':'','data':{'eventID':_0x10c22b[_0x2c7741(0x22a)],'data':{'changesets':_0x2efd46}}});})[_0x58d7a7(0x191)](_0x34e644=>{var _0x495b06=_0x58d7a7;this[_0x495b06(0x331)][_0x495b06(0x211)](_0x34e644),_0x363139();});return;}}_0x1c2f37['send'](ws(_0x4235b4));},'close':()=>{var _0x45bda8=_0x3ed0bf;_0x1c2f37[_0x45bda8(0x1d8)](),_0x283e02[_0x45bda8(0x1a5)]();}},_0x3186e6;}async[_0x1ce106(0x2bd)](_0x21461f,_0x2e264a){var _0x1f964d=_0x1ce106,_0x508f8d,_0x18fe10;const {unitType:_0x548e0b,unitID:_0x17851e,changeset:_0x3ae13a}=_0x2e264a[_0x1f964d(0x2e7)],_0x136cf6={'unitID':_0x17851e,'memberID':_0x21461f['memberID'],'type':_0x548e0b,'changeset':_0x3b1831(_0x3ae13a)},_0x512f23=this['_configService'][_0x1f964d(0x18a)](bs),_0x5ebee7=this[_0x1f964d(0x23f)][_0x1f964d(0x18a)](K),_0x55cbaf=Ms((_0x18fe10=(_0x508f8d=_0x5ebee7==null?void 0x0:_0x5ebee7[_0x1f964d(0x382)])!=null?_0x508f8d:_0x512f23)!=null?_0x18fe10:Os,_0x548e0b,_0x17851e);try{await this[_0x1f964d(0x1b6)][_0x1f964d(0xf1)](_0x55cbaf,{'body':_0x136cf6});}catch(_0x21fa81){throw this['_logService'][_0x1f964d(0x211)](_0x1f964d(0x1b4),_0x1f964d(0x33e)),_0x21fa81;}}async[_0x1ce106(0x232)](_0x583d0b){var _0x2de1f2=_0x1ce106;const {unitID:_0x142d36,from:_0xea47c3,to:_0x4b395e,unitType:_0x858aa2}=_0x583d0b['data'];return(await this[_0x2de1f2(0xe5)][_0x2de1f2(0x386)]({'metadata':void 0x0},{'unitID':_0x142d36,'type':_0x858aa2,'from':_0xea47c3,'to':_0x4b395e}))[_0x2de1f2(0xe1)];}};Ft=Ls([Ue(0x0,_0x462e36(_0x454bc4)),Ue(0x1,_0x462e36(_0x91e7e9)),Ue(0x2,_0x4a5014),Ue(0x3,_0x103e27),Ue(0x4,_0x49f086)],Ft);const xs=_0x1ce106(0x21b);function ks(_0x352a27){var _0x13b591=_0x1ce106;return JSON[_0x13b591(0x227)](_0x352a27)[_0x13b591(0x26d)];}class Si{constructor(){var _0x23e567=_0x1ce106;N(this,_0x23e567(0x2fa),new _0x38504a()),N(this,'commentUpdate$',this['_commentUpdate$'][_0x23e567(0x14a)]());}['onCommentUpdate'](_0x43e3f1){var _0x435525=_0x1ce106;this['_commentUpdate$'][_0x435525(0x252)](_0x43e3f1);}}var $s=Object[_0x1ce106(0x29d)],Hs=(_0x14f801,_0x5101e3,_0x2c4723,_0x4e287c)=>{var _0x48d801=_0x1ce106;for(var _0x2c1228=_0x4e287c>0x1?void 0x0:_0x4e287c?$s(_0x5101e3,_0x2c4723):_0x5101e3,_0x1ce8d0=_0x14f801[_0x48d801(0x26d)]-0x1,_0x3c3723;_0x1ce8d0>=0x0;_0x1ce8d0--)(_0x3c3723=_0x14f801[_0x1ce8d0])&&(_0x2c1228=_0x3c3723(_0x2c1228)||_0x2c1228);return _0x2c1228;},Vt=(_0xfef389,_0x406958)=>(_0x3c206e,_0x1ba66a)=>_0x406958(_0x3c206e,_0x1ba66a,_0xfef389);let Pe=class extends _0x17d42d{constructor(_0x1e98bc,_0x3dd154){var _0x3bf365=_0x1ce106;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x38504a()),(this[_0x3bf365(0x2d8)]=_0x1e98bc,this[_0x3bf365(0x102)]=_0x3dd154,this[_0x3bf365(0x175)](_0x43d5e8(this['_univerInstanceService'][_0x3bf365(0x309)](_0x3e7358[_0x3bf365(0x112)])[_0x3bf365(0xd4)](_0x4c135a(_0x2368a5=>_0x2368a5[_0x3bf365(0x11f)]())),this[_0x3bf365(0x2d8)][_0x3bf365(0x309)](_0x3e7358['UNIVER_DOC'])[_0x3bf365(0xd4)](_0x4c135a(_0x4e9270=>_0x4e9270[_0x3bf365(0x11f)]())),this[_0x3bf365(0x2d8)][_0x3bf365(0x309)](_0x3e7358[_0x3bf365(0x26b)])[_0x3bf365(0xd4)](_0x4c135a(_0x5c957d=>_0x5c957d[_0x3bf365(0x11f)]())))[_0x3bf365(0xa2)](_0x468331=>this['_removeRoom'](_0x468331))));}[_0x1ce106(0xb4)](_0x49e8b9){var _0xba272=_0x1ce106;return this[_0xba272(0x314)]['has'](_0x49e8b9)?_0x2ce6f0(this[_0xba272(0x314)]['get'](_0x49e8b9)):this['_roomCreated$'][_0xba272(0xd4)](_0x4c135a(_0x476c21=>{var _0x15309a=_0xba272;if(_0x476c21===_0x49e8b9)return this[_0x15309a(0x314)][_0x15309a(0x36d)](_0x476c21);}));}['setCurrentUser'](_0x4c16a3){var _0x597fca=_0x1ce106;this[_0x597fca(0x102)][_0x597fca(0x2a2)](_0x4c16a3);}[_0x1ce106(0x254)](){var _0x4caff0=_0x1ce106;return this[_0x4caff0(0x102)][_0x4caff0(0x254)]();}[_0x1ce106(0x291)](_0x105b63,_0x294906){var _0x44ad6d=_0x1ce106;let _0x1e1abe=this['_roomMembers'][_0x44ad6d(0x36d)](_0x105b63);_0x1e1abe||(_0x1e1abe=new Bs(),this['_roomMembers'][_0x44ad6d(0x126)](_0x105b63,_0x1e1abe),this[_0x44ad6d(0x272)][_0x44ad6d(0x252)](_0x105b63)),_0x1e1abe['updateMember'](_0x294906);}[_0x1ce106(0xac)](_0x55b07a,_0x23b948){var _0x4caf8a=_0x1ce106;const _0x356e71=this[_0x4caf8a(0x314)][_0x4caf8a(0x36d)](_0x55b07a);_0x356e71&&_0x356e71[_0x4caf8a(0xac)](_0x23b948);}['getRoom'](_0x1070ab){var _0x76adc1=_0x1ce106;return this[_0x76adc1(0x314)][_0x76adc1(0x36d)](_0x1070ab);}[_0x1ce106(0x1c5)](_0x4b8dee,_0x10f943){var _0x143875=_0x1ce106;const _0x48826d=this[_0x143875(0x314)][_0x143875(0x36d)](_0x4b8dee);if(_0x48826d)return _0x48826d[_0x143875(0x1c5)](_0x10f943);}['_removeRoom'](_0x3baa53){var _0x3fee5b=_0x1ce106;const _0x46b5dd=this[_0x3fee5b(0x314)][_0x3fee5b(0x36d)](_0x3baa53);_0x46b5dd&&(_0x46b5dd[_0x3fee5b(0x1a5)](),this[_0x3fee5b(0x314)][_0x3fee5b(0x262)](_0x3baa53));}['dispose'](){var _0x5d97b7=_0x1ce106;this[_0x5d97b7(0x314)][_0x5d97b7(0x27c)](_0x4b5a8a=>_0x4b5a8a[_0x5d97b7(0x1a5)]()),this[_0x5d97b7(0x314)]['clear'](),this['_roomCreated$'][_0x5d97b7(0xea)]();}};Pe=Hs([Vt(0x0,_0x1f74c9),Vt(0x1,_0x462e36(_0x29dca9))],Pe);class Bs extends _0x17d42d{constructor(){var _0x254f1e=_0x1ce106;super(...arguments),N(this,_0x254f1e(0x15b),new Map()),N(this,_0x254f1e(0x95),new _0x88e997(this[_0x254f1e(0x15b)])),N(this,_0x254f1e(0x32b),this[_0x254f1e(0x95)]['asObservable']());}['dispose'](){var _0x28c30e=_0x1ce106;this[_0x28c30e(0x15b)][_0x28c30e(0xb1)]();}[_0x1ce106(0x291)](_0x8515e4){var _0x372ba7=_0x1ce106;this['_members'][_0x372ba7(0x126)](_0x8515e4['memberID'],_0x8515e4),this[_0x372ba7(0x135)]();}[_0x1ce106(0xac)](_0x4f0170){var _0x46ee03=_0x1ce106;this[_0x46ee03(0x15b)][_0x46ee03(0x262)](_0x4f0170);}['getMember'](_0x228688){var _0x1e7d2d=_0x1ce106;return this[_0x1e7d2d(0x15b)][_0x1e7d2d(0x36d)](_0x228688);}[_0x1ce106(0x349)](){var _0x5a5a4b=_0x1ce106;return Array[_0x5a5a4b(0x31b)](this[_0x5a5a4b(0x15b)][_0x5a5a4b(0x19d)]());}[_0x1ce106(0x135)](){var _0x3689e8=_0x1ce106;this[_0x3689e8(0x95)][_0x3689e8(0x252)](this['_members']);}}var js=Object[_0x1ce106(0x29d)],Fs=(_0x55f086,_0x4cb025,_0xd30f86,_0x320d27)=>{for(var _0x28b298=_0x320d27>0x1?void 0x0:_0x320d27?js(_0x4cb025,_0xd30f86):_0x4cb025,_0x48396b=_0x55f086['length']-0x1,_0x2da6fe;_0x48396b>=0x0;_0x48396b--)(_0x2da6fe=_0x55f086[_0x48396b])&&(_0x28b298=_0x2da6fe(_0x28b298)||_0x28b298);return _0x28b298;},pe=(_0x3d9fca,_0x54fe95)=>(_0x26a937,_0x282e3a)=>_0x54fe95(_0x26a937,_0x282e3a,_0x3d9fca),Se=(_0xce9390=>(_0xce9390[_0xce9390[_0x1ce106(0x2f2)]=0x0]=_0x1ce106(0x2f2),_0xce9390[_0xce9390[_0x1ce106(0x1ee)]=0x1]=_0x1ce106(0x1ee),_0xce9390[_0xce9390['OFFLINE']=0x2]='OFFLINE',_0xce9390[_0xce9390[_0x1ce106(0x202)]=0x3]=_0x1ce106(0x202),_0xce9390))(Se||{});const Gt={[me[_0x1ce106(0x31e)]]:_0x1ce106(0x1c3),[me[_0x1ce106(0x1f2)]]:_0x1ce106(0x383),[me[_0x1ce106(0x17f)]]:'session.room-not-exists',[me[_0x1ce106(0x2c0)]]:_0x1ce106(0xf6),[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x1ce106(0x209)};let gt=class extends _0x589295{constructor(_0x4d2f6d,_0x5b353e,_0x2d9c2c,_0x1eb374,_0x4b0232,_0x3c3ae6,_0x579209,_0x12e8a3,_0x28e3b9){var _0x41270f=_0x1ce106;super(),N(this,_0x41270f(0x322),new _0x88e997(0x0)),N(this,_0x41270f(0x218),this['_sessionStatus$'][_0x41270f(0x14a)]()),N(this,'_event$',new _0x38504a()),N(this,_0x41270f(0x9c),this[_0x41270f(0x13d)][_0x41270f(0x14a)]()),N(this,_0x41270f(0x257)),N(this,'_socketMessageSubscription'),N(this,_0x41270f(0x1d3)),N(this,_0x41270f(0x1fe),!0x1),N(this,'_telemetryInfo',null),(this[_0x41270f(0x246)]=_0x4d2f6d,this['_logService']=_0x2d9c2c,this['_configService']=_0x1eb374,this[_0x41270f(0x2d0)]=_0x4b0232,this[_0x41270f(0x376)]=_0x3c3ae6,this[_0x41270f(0x20b)]=_0x579209,this[_0x41270f(0xae)]=_0x12e8a3,this[_0x41270f(0x370)]=_0x28e3b9,this[_0x41270f(0x1fe)]=!!this[_0x41270f(0x370)],_0x5b353e[_0x41270f(0xd4)](_0x39fb4e(this['dispose$']))[_0x41270f(0xa2)](_0x18f1ea=>{var _0x4cfbfe=_0x41270f,_0x303e90;typeof _0x18f1ea>'u'||(this[_0x4cfbfe(0x257)]=_0x18f1ea,_0x18f1ea?(this[_0x4cfbfe(0x315)](_0x18f1ea),this[_0x4cfbfe(0x312)]=_0x18f1ea[_0x4cfbfe(0x201)][_0x4cfbfe(0xa2)](_0x57079b=>{var _0x557356=_0x4cfbfe;_0x57079b[_0x557356(0x1b0)]===this[_0x557356(0x246)]&&this['_onCombEvent'](_0x57079b);})):(this[_0x4cfbfe(0x100)](),this[_0x4cfbfe(0x322)][_0x4cfbfe(0x252)](0x2),(_0x303e90=this[_0x4cfbfe(0x312)])==null||_0x303e90['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x1ce106(0x186)](){var _0x81cc11=_0x1ce106;return this['_sessionStatus$'][_0x81cc11(0x1b3)]();}[_0x1ce106(0x14d)](){var _0x49ead6,_0x42a1cc;return(_0x42a1cc=(_0x49ead6=this['_socket'])==null?void 0x0:_0x49ead6['memberID'])!=null?_0x42a1cc:null;}[_0x1ce106(0x1a5)](){var _0x12b447=_0x1ce106;super['dispose'](),this[_0x12b447(0x184)][_0x12b447(0x252)](),this[_0x12b447(0x184)][_0x12b447(0xea)]();}['close'](){var _0x21ab77=_0x1ce106,_0x1cbc78,_0xcfc6c5;this[_0x21ab77(0x100)](),(_0x1cbc78=this[_0x21ab77(0x257)])==null||_0x1cbc78['send']({'cmd':F[_0x21ab77(0x251)],'data':{'roomID':this[_0x21ab77(0x246)]}}),(_0xcfc6c5=this[_0x21ab77(0x257)])==null||_0xcfc6c5[_0x21ab77(0x1d8)](),this[_0x21ab77(0x13d)][_0x21ab77(0xea)](),this[_0x21ab77(0x322)][_0x21ab77(0xea)](),this[_0x21ab77(0x1a5)]();}[_0x1ce106(0x119)](_0x3ffdbc){var _0x5e11d0=_0x1ce106;_0x3ffdbc[_0x5e11d0(0x271)]===F[_0x5e11d0(0x2cb)]?this['_onJoinRoomEvent'](_0x3ffdbc):_0x3ffdbc['cmd']===F[_0x5e11d0(0x25c)]&&this[_0x5e11d0(0x1f9)](_0x3ffdbc);}[_0x1ce106(0x315)](_0x52d739){var _0x30163a=_0x1ce106;this[_0x30163a(0x322)][_0x30163a(0x252)](0x1),_0x52d739['send']({'cmd':F[_0x30163a(0x2cb)],'routeKey':this[_0x30163a(0x246)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x1ce106(0x317)](_0xd0ffc3){var _0x5842b0=_0x1ce106,_0x474972;if(_0xd0ffc3[_0x5842b0(0x106)]in Gt){this[_0x5842b0(0xae)][_0x5842b0(0x237)]({'id':ne[_0x5842b0(0x15e)],'data':Gt[_0xd0ffc3[_0x5842b0(0x106)]]}),this['_sessionStatus$'][_0x5842b0(0x252)](0x2);return;}this['_sessionStatus$'][_0x5842b0(0x252)](0x3);const _0x1eff1f=(_0x474972=_0xd0ffc3[_0x5842b0(0x2e7)][_0x5842b0(0x150)][this[_0x5842b0(0x246)]])==null?void 0x0:_0x474972[_0x5842b0(0x1fb)];_0x1eff1f&&_0x1eff1f[_0x5842b0(0x27c)](_0x52a0de=>this[_0x5842b0(0x376)][_0x5842b0(0x291)](this[_0x5842b0(0x246)],_0x52a0de));}[_0x1ce106(0x1f9)](_0x122121){var _0x3b5349=_0x1ce106;try{const _0x211b3b=_0x122121[_0x3b5349(0x2e7)];switch(_0x211b3b[_0x3b5349(0x188)]){case _0x10c22b[_0x3b5349(0x234)]:this[_0x3b5349(0x281)](_0x211b3b),this[_0x3b5349(0x13d)][_0x3b5349(0x252)](_0x211b3b);break;case _0x10c22b[_0x3b5349(0x123)]:this[_0x3b5349(0x14e)](_0x211b3b),this[_0x3b5349(0x13d)][_0x3b5349(0x252)](_0x211b3b);break;case _0x10c22b['CHANGESET_ACK']:case _0x10c22b['CHANGESET_SHOULD_RETRY']:this[_0x3b5349(0xaf)](),this[_0x3b5349(0x2ec)](),this[_0x3b5349(0x13d)][_0x3b5349(0x252)](_0x211b3b);break;case _0x10c22b[_0x3b5349(0xdc)]:this[_0x3b5349(0x331)]['error'](_0x3b5349(0x37c)+JSON[_0x3b5349(0x227)](_0x211b3b)),this[_0x3b5349(0x13d)][_0x3b5349(0x252)](_0x211b3b);break;case _0x10c22b[_0x3b5349(0x384)]:this[_0x3b5349(0x20b)]['onCommentUpdate'](_0x211b3b[_0x3b5349(0x2e7)]),this['_event$'][_0x3b5349(0x252)](_0x211b3b);break;default:this['_event$'][_0x3b5349(0x252)](_0x211b3b);}}catch(_0x36ea87){this[_0x3b5349(0x331)][_0x3b5349(0x211)](_0x36ea87,_0x122121);}}[_0x1ce106(0x281)](_0x1208b2){var _0x245e6a=_0x1ce106;this['_memberService'][_0x245e6a(0x291)](this[_0x245e6a(0x246)],_0x1208b2[_0x245e6a(0x2e7)]);}[_0x1ce106(0x14e)](_0x3af62b){var _0x1d1833=_0x1ce106;this['_memberService']['removeMember'](this[_0x1d1833(0x246)],_0x3af62b[_0x1d1833(0x2e7)][_0x1d1833(0x35c)]);}async[_0x1ce106(0x14f)](_0x47d8df,_0x238e56){var _0x19e534=_0x1ce106;if(this[_0x19e534(0x186)]!==0x3||!this[_0x19e534(0x257)])throw new Error(_0x19e534(0xd2));try{_0x47d8df[_0x19e534(0x188)]===_0x10c22b[_0x19e534(0x328)]&&(this[_0x19e534(0x1af)](),this[_0x19e534(0x235)](_0x47d8df)),this[_0x19e534(0x257)][_0x19e534(0x14f)]({'cmd':F[_0x19e534(0x307)],'routeKey':_0x238e56,'routeType':'','data':_0x47d8df});}catch(_0x55be36){this['_logService'][_0x19e534(0x211)](_0x55be36);}}[_0x1ce106(0x1af)](){var _0x51a89f=_0x1ce106,_0x5a4663;this[_0x51a89f(0x1d3)]=setTimeout(()=>{var _0x2e4002=_0x51a89f;this[_0x2e4002(0x1d3)]=null,this[_0x2e4002(0xae)][_0x2e4002(0x237)]({'id':ne[_0x2e4002(0x24f)]});},(_0x5a4663=this[_0x51a89f(0x23f)][_0x51a89f(0x18a)](fi))!=null?_0x5a4663:vi);}['_clearCollaborationTimeoutTimer'](){var _0x449edf=_0x1ce106;this[_0x449edf(0x1d3)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x449edf(0x1d3)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x3b6740){var _0xd37861=_0x1ce106;if(!this[_0xd37861(0x1fe)])return;const {data:_0x2f69a9}=_0x3b6740,{unitID:_0x351e99,changeset:_0x38680d}=_0x2f69a9,{mutations:_0x455889,type:_0x35eb2e}=_0x38680d;this[_0xd37861(0x367)]={'unitId':_0x351e99,'type':_0x35eb2e,'startTime':performance[_0xd37861(0x1ec)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x455889)};}[_0x1ce106(0xaf)](){var _0xc1ff50=_0x1ce106;if(this[_0xc1ff50(0x1fe)]){if(!this[_0xc1ff50(0x367)]){this['_logService'][_0xc1ff50(0x211)](_0xc1ff50(0x1b4),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xc1ff50(0x367)][_0xc1ff50(0x35d)]=performance['now'](),this[_0xc1ff50(0x367)]['duration']=this[_0xc1ff50(0x367)][_0xc1ff50(0x35d)]-this[_0xc1ff50(0x367)][_0xc1ff50(0x1f7)],this[_0xc1ff50(0x370)][_0xc1ff50(0x2a5)](xs,this[_0xc1ff50(0x367)]),this[_0xc1ff50(0x367)]=null;}}[_0x1ce106(0x100)](){var _0x155b28=_0x1ce106;this[_0x155b28(0x367)]=null;}};gt=Fs([pe(0x2,_0x103e27),pe(0x3,_0x4a5014),pe(0x4,_0x462e36(_0x263ef2)),pe(0x5,_0x462e36(Pe)),pe(0x6,_0x462e36(Si)),pe(0x7,_0x462e36(ve)),pe(0x8,_0x26bebd(_0x57861e))],gt);var Vs=Object[_0x1ce106(0x29d)],Gs=(_0x568d1c,_0x5f233b,_0x351983,_0x121d6e)=>{for(var _0x429a3a=_0x121d6e>0x1?void 0x0:_0x121d6e?Vs(_0x5f233b,_0x351983):_0x5f233b,_0x1af0d1=_0x568d1c['length']-0x1,_0x6093b2;_0x1af0d1>=0x0;_0x1af0d1--)(_0x6093b2=_0x568d1c[_0x1af0d1])&&(_0x429a3a=_0x6093b2(_0x429a3a)||_0x429a3a);return _0x429a3a;},Re=(_0x2d056d,_0x2924f4)=>(_0x5c7c0d,_0x4e6a61)=>_0x2924f4(_0x5c7c0d,_0x4e6a61,_0x2d056d);let Le=class extends _0x17d42d{constructor(_0x5cba12,_0x54f124,_0x294a01,_0x3ce37a,_0x1fb398,_0x19d171){var _0x192be6=_0x1ce106;super(),N(this,_0x192be6(0x266),new _0x88e997(void 0x0)),N(this,_0x192be6(0x288),this[_0x192be6(0x266)]['asObservable']()),N(this,_0x192be6(0x38d),null),N(this,_0x192be6(0x333),new Map()),N(this,_0x192be6(0xda),new _0x88e997(Se[_0x192be6(0x2f2)])),N(this,_0x192be6(0x9f),this[_0x192be6(0xda)][_0x192be6(0x14a)]()),N(this,_0x192be6(0xab),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x192be6(0x116),0x0),N(this,_0x192be6(0x1bf)),N(this,'_timeoutTimer'),(this['_injector']=_0x5cba12,this[_0x192be6(0x331)]=_0x54f124,this[_0x192be6(0x23f)]=_0x294a01,this[_0x192be6(0x286)]=_0x3ce37a,this['_collaborationUIEventService']=_0x1fb398,this[_0x192be6(0x10e)]=_0x19d171,this[_0x192be6(0x30d)]());}get[_0x1ce106(0x257)](){var _0x116b4a=_0x1ce106;return this['_socket$'][_0x116b4a(0x1b3)]();}[_0x1ce106(0x30d)](){var _0x2907d6=_0x1ce106;this['_networkConditionService']&&this[_0x2907d6(0x175)](this[_0x2907d6(0x10e)][_0x2907d6(0x26a)][_0x2907d6(0xa2)](_0x408268=>{var _0x4d4f0e=_0x2907d6;_0x408268&&!this[_0x4d4f0e(0x257)]&&this[_0x4d4f0e(0x108)](),_0x408268||this[_0x4d4f0e(0x1b1)]();}));}[_0x1ce106(0x1a5)](){var _0x40b125=_0x1ce106;super[_0x40b125(0x1a5)](),this[_0x40b125(0x173)](),this[_0x40b125(0xc4)](),this[_0x40b125(0x2e0)](),this[_0x40b125(0x333)][_0x40b125(0x27c)](_0x321d7c=>_0x321d7c['dispose']()),this[_0x40b125(0x333)][_0x40b125(0xb1)](),this[_0x40b125(0xda)][_0x40b125(0xea)]();}async['requireSession'](_0x35659f){var _0x14fe66=_0x1ce106;if(this[_0x14fe66(0x333)][_0x14fe66(0x1bc)](_0x35659f))return this[_0x14fe66(0x333)][_0x14fe66(0x36d)](_0x35659f);this[_0x14fe66(0x12e)]();const _0x957f22=this['_injector'][_0x14fe66(0x164)](gt,_0x35659f,this[_0x14fe66(0x266)][_0x14fe66(0x14a)]());return this[_0x14fe66(0x333)]['set'](_0x35659f,_0x957f22),_0x957f22;}[_0x1ce106(0x337)](_0x546a10){var _0x458d3c=_0x1ce106,_0x27178a;const _0x5db114=this[_0x458d3c(0x333)][_0x458d3c(0x36d)](_0x546a10);_0x5db114&&(this[_0x458d3c(0x333)][_0x458d3c(0x262)](_0x546a10),_0x5db114['close']()),this[_0x458d3c(0x333)][_0x458d3c(0x23a)]||(_0x27178a=this[_0x458d3c(0x257)])==null||_0x27178a[_0x458d3c(0x1d8)]();}['reconnect'](){var _0x283d22=_0x1ce106;this[_0x283d22(0x116)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x1ce106(0x173)](){var _0x2f3c85=_0x1ce106;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2f3c85(0x11b)]),this['_retryConnectingTimer']=null);}async[_0x1ce106(0x29c)](){var _0x69bbfc=_0x1ce106,_0x5357f6,_0x3a34aa;const _0x28fcea=this['_configService']['getConfig'](gs),_0x54e993=this[_0x69bbfc(0x23f)]['getConfig'](K),_0x34188d=(_0x3a34aa=(_0x5357f6=_0x54e993==null?void 0x0:_0x54e993['collabWebSocketUrl'])!=null?_0x5357f6:_0x28fcea)!=null?_0x3a34aa:Ss,_0xa6172e=await this[_0x69bbfc(0x286)][_0x69bbfc(0x1c8)](_0x34188d);return this[_0x69bbfc(0x38d)]=_0xa6172e,_0xa6172e;}async[_0x1ce106(0x12e)](){var _0x465b21=_0x1ce106,_0xdfc6b1,_0x453216;try{const _0x141eb5=(_0x453216=(_0xdfc6b1=this[_0x465b21(0x257)])!=null?_0xdfc6b1:this[_0x465b21(0x38d)])!=null?_0x453216:await this[_0x465b21(0x29c)]();if(_0x141eb5){const _0x18512c=_0x141eb5[_0x465b21(0x14f)];_0x141eb5[_0x465b21(0x14f)]=_0x3c1990=>(this[_0x465b21(0x294)](),_0x18512c[_0x465b21(0x27d)](_0x141eb5,[_0x3c1990])),_0x141eb5[_0x465b21(0x201)]['subscribe'](_0x120d6f=>this['_onMessage'](_0x141eb5,_0x120d6f)),_0x141eb5[_0x465b21(0x12f)]['pipe'](_0x5ee7ee(0x1))[_0x465b21(0xa2)](_0x3d24e2=>this[_0x465b21(0x331)]['error'](_0x465b21(0x25e),_0x3d24e2)),_0x141eb5[_0x465b21(0x226)]['pipe'](_0x5ee7ee(0x1))[_0x465b21(0xa2)](()=>{var _0x3d46a3=_0x465b21;this[_0x3d46a3(0x181)](_0x141eb5);}),_0x141eb5[_0x465b21(0x101)][_0x465b21(0xd4)](_0x5ee7ee(0x1))[_0x465b21(0xa2)](_0x16e5c0=>{var _0x43caee=_0x465b21;this[_0x43caee(0x331)][_0x43caee(0x293)](_0x43caee(0xc7),_0x43caee(0x1cd),_0x16e5c0),this[_0x43caee(0x38a)]();});}}catch(_0x486812){this[_0x465b21(0x331)][_0x465b21(0x211)](_0x486812),this['_onConnectionFailed']();}}[_0x1ce106(0x181)](_0x37367e){var _0x5826c1=_0x1ce106;this[_0x5826c1(0x331)][_0x5826c1(0x293)](_0x5826c1(0xc7),_0x5826c1(0x368)),_0x37367e[_0x5826c1(0x14f)]({'cmd':F[_0x5826c1(0x134)]}),this[_0x5826c1(0x294)]();}[_0x1ce106(0x1b1)](){var _0x4de144=_0x1ce106;this[_0x4de144(0xab)]=!0x1,this[_0x4de144(0x38d)]=null,this[_0x4de144(0xda)][_0x4de144(0x252)](Se[_0x4de144(0x1a0)]),this[_0x4de144(0x266)][_0x4de144(0x252)](null),this[_0x4de144(0xc4)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x5be27d=_0x1ce106,_0xa59acc;this[_0x5be27d(0x1b1)](),this[_0x5be27d(0x116)]<((_0xa59acc=this[_0x5be27d(0x23f)][_0x5be27d(0x18a)](Cs))!=null?_0xa59acc:Rs)?(this[_0x5be27d(0xae)][_0x5be27d(0x237)]({'id':ne[_0x5be27d(0x163)]}),this[_0x5be27d(0xec)]()):this[_0x5be27d(0xae)]['emitEvent']({'id':ne[_0x5be27d(0x26f)]});}['_tryReconnect'](){var _0x54fde0=_0x1ce106,_0x5b0ffd;const _0x293143=this[_0x54fde0(0x116)],_0x10a641=this['_configService'][_0x54fde0(0x18a)](K),_0x81c298=_0x293143===0x0?0x0:((_0x5b0ffd=_0x10a641==null?void 0x0:_0x10a641[_0x54fde0(0x32a)])!=null?_0x5b0ffd:Ts)*0x2**_0x293143;this[_0x54fde0(0x11b)]=setTimeout(()=>{var _0x2c3480=_0x54fde0;clearTimeout(this['_retryConnectingTimer']),this[_0x2c3480(0x11b)]=null,this['_tryEnsureSocket']();},_0x81c298),this[_0x54fde0(0x116)]+=0x1;}['_onMessage'](_0x74bd72,_0x572f5a){var _0x535a15=_0x1ce106;const {cmd:_0x418baa}=_0x572f5a;_0x418baa===F[_0x535a15(0x134)]&&!this[_0x535a15(0xab)]&&(_0x74bd72[_0x535a15(0x35c)]=_0x572f5a[_0x535a15(0x2e7)][_0x535a15(0x35c)],this[_0x535a15(0x266)]['next'](_0x74bd72),this['_status$'][_0x535a15(0x252)](Se['ONLINE']),this[_0x535a15(0xab)]=!0x0,this[_0x535a15(0x38d)]=null),_0x418baa===F[_0x535a15(0x1e4)]&&this[_0x535a15(0xc4)](),this['_rescheduleHeartbeat']();}[_0x1ce106(0x294)](){var _0x2379b2=_0x1ce106,_0x206dae;this[_0x2379b2(0x2e0)](),this[_0x2379b2(0x1bf)]=setTimeout(()=>this[_0x2379b2(0x1ae)](),(_0x206dae=this[_0x2379b2(0x23f)]['getConfig'](Es))!=null?_0x206dae:Is);}[_0x1ce106(0x1ae)](){var _0x15b11a=_0x1ce106;this[_0x15b11a(0x257)][_0x15b11a(0x14f)]({'cmd':F[_0x15b11a(0x1e4)]}),this[_0x15b11a(0x362)]();}[_0x1ce106(0x362)](){var _0x333c9c=_0x1ce106,_0x3cb371;this[_0x333c9c(0x122)]=setTimeout(()=>this[_0x333c9c(0x38a)](),(_0x3cb371=this[_0x333c9c(0x23f)]['getConfig'](fi))!=null?_0x3cb371:vi);}[_0x1ce106(0x2e0)](){var _0x2e0513=_0x1ce106;this[_0x2e0513(0x1bf)]!=null&&(clearTimeout(this[_0x2e0513(0x1bf)]),this['_sendHeartbeatTimer']=null);}[_0x1ce106(0xc4)](){var _0x58d742=_0x1ce106;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x58d742(0x122)]),this[_0x58d742(0x122)]=null);}};Le=Gs([Re(0x0,_0x462e36(_0x454bc4)),Re(0x1,_0x103e27),Re(0x2,_0x4a5014),Re(0x3,gi),Re(0x4,_0x462e36(ve)),Re(0x5,_0x26bebd(Us))],Le);const J=_0x4073c0(_0x1ce106(0xe0));function Pr(_0x29e3ed){var _0x5240e6=_0x1ce106;return _0x5240e6(0x2de)+_0x29e3ed;}var Ws=Object['getOwnPropertyDescriptor'],Ys=(_0x54c896,_0x399ea6,_0x59638a,_0x3724ee)=>{var _0x5cc0bf=_0x1ce106;for(var _0xf89617=_0x3724ee>0x1?void 0x0:_0x3724ee?Ws(_0x399ea6,_0x59638a):_0x399ea6,_0x30a08b=_0x54c896[_0x5cc0bf(0x26d)]-0x1,_0x31440b;_0x30a08b>=0x0;_0x30a08b--)(_0x31440b=_0x54c896[_0x30a08b])&&(_0xf89617=_0x31440b(_0xf89617)||_0xf89617);return _0xf89617;},ut=(_0x2f1c3c,_0x302ffa)=>(_0x368dea,_0x358bff)=>_0x302ffa(_0x368dea,_0x358bff,_0x2f1c3c);function Ks(_0x2a46a9){var _0x35a745=_0x1ce106;const {unitID:_0x4998ff,mutations:_0x337ca9}=_0x2a46a9;return{'unitId':_0x4998ff,'subUnitId':_0x337ca9[0x0][_0x35a745(0x238)][_0x35a745(0x15d)]};}let it=class{constructor(_0x34a495,_0x4bbd83,_0x57c375){var _0x1c4286=_0x1ce106;this[_0x1c4286(0x105)]=_0x34a495,this['_transformService']=_0x4bbd83,this['_instanceService']=_0x57c375;}[_0x1ce106(0x189)](_0x3ebaaf){var _0x55fef8=_0x1ce106,_0x2c0a7e,_0x141c17,_0x472524,_0x3bcce2;const _0x13d658=this[_0x55fef8(0x105)]['get'](_0x3a2196),{unitId:_0x1fdf2b,subUnitId:_0x5c44b0}=Ks(_0x3ebaaf),_0x81cc1=_0x13d658==null?void 0x0:_0x13d658['getWorkbookSelections'](_0x1fdf2b)['getCurrentSelections'](),_0x37be8a=(_0x141c17=(_0x2c0a7e=this[_0x55fef8(0x385)][_0x55fef8(0xf4)](_0x1fdf2b))==null?void 0x0:_0x2c0a7e['getActiveSheet']())==null?void 0x0:_0x141c17['getSheetId']();if(_0x81cc1[_0x55fef8(0x26d)]===0x0||!_0x1fdf2b||!_0x5c44b0)return;const _0xa244e3=[{'id':_0x18af86['id'],'params':{'unitId':_0x1fdf2b,'subUnitId':_0x37be8a,'selections':_0x40a632[_0x55fef8(0xe6)](_0x81cc1)}}],_0x4f80a8=this[_0x55fef8(0x342)][_0x55fef8(0x348)](_0x3ebaaf,_0xa244e3);if(!_0x227c39(_0x4f80a8))throw _0x4f80a8['error'];const _0x124e0f=(_0x3bcce2=(_0x472524=_0x4f80a8[_0x55fef8(0x22c)][0x0])==null?void 0x0:_0x472524[_0x55fef8(0x238)])==null?void 0x0:_0x3bcce2[_0x55fef8(0x301)];if(Array[_0x55fef8(0xff)](_0x124e0f)&&_0x124e0f[_0x55fef8(0x26d)]){if(_0x124e0f['length']===_0xa244e3[0x0][_0x55fef8(0x238)][_0x55fef8(0x301)][_0x55fef8(0x26d)]&&_0x124e0f['every']((_0xd72d1a,_0x18a48f)=>_0x32edc0[_0x55fef8(0x155)](_0xd72d1a[_0x55fef8(0x249)],_0xa244e3[0x0][_0x55fef8(0x238)]['selections'][_0x18a48f][_0x55fef8(0x249)])))return;this[_0x55fef8(0x105)][_0x55fef8(0x36d)](_0x5a4b18)[_0x55fef8(0x137)](_0x18af86['id'],{'unitId':_0x1fdf2b,'subUnitId':_0x37be8a,'selections':_0x124e0f});}}};it=Ys([ut(0x0,_0x462e36(_0x454bc4)),ut(0x1,_0x9cb7ab),ut(0x2,_0x1f74c9)],it);const ht=_0x4073c0('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0x23ddc2=>(_0x23ddc2[_0x23ddc2['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x23ddc2[_0x23ddc2[_0x1ce106(0x2b0)]=0x1]=_0x1ce106(0x2b0),_0x23ddc2))(Ei||{});const qs=new Set([_0x273dcc['id']]);function Wt(_0x5a401e,_0x3cc639,_0x4b82ad,_0x487370,_0x4832d0){var _0x318856=_0x1ce106,_0x62a551,_0x18257f,_0x3c7314,_0x2a2345;const _0x4a2bc3=[];for(const _0x3c3556 of _0x5a401e)if(qs[_0x318856(0x1bc)](_0x3c3556['id'])){if(_0x4a2bc3[_0x318856(0x26d)]>0x0)break;_0x4a2bc3['push'](_0x3c3556);break;}else _0x4a2bc3[_0x318856(0x34a)](_0x3c3556);const _0x5d2f67=(_0x18257f=(_0x62a551=_0x4832d0[_0x318856(0x254)]())==null?void 0x0:_0x62a551[_0x318856(0x30b)])!=null?_0x18257f:'unknown',_0xe1c801=(_0x2a2345=(_0x3c7314=_0x4832d0[_0x318856(0x254)]())==null?void 0x0:_0x3c7314[_0x318856(0x35c)])!=null?_0x2a2345:'unknown';return{'changeset':{'unitID':_0x3cc639,'type':_0x52ea29(_0x4b82ad[_0x318856(0x104)](_0x3cc639)),'baseRev':_0x487370[_0x318856(0x220)](_0x3cc639),'revision':0x0,'userID':_0x5d2f67,'memberID':_0xe1c801,'mutations':_0x4a2bc3},'pendingMutations':_0x5a401e['slice'](_0x4a2bc3[_0x318856(0x26d)])};}function zs(_0x28018c,_0x50c934,_0x4bb6de,_0x199319,_0x5200cf){var _0x32a500=_0x1ce106,_0x19d3a3,_0x2f98b7,_0x219c69,_0x8a7c8a;const _0x1420b5=[_0x28018c['reduce']((_0xfbd3b7,_0x3c6d6d)=>{var _0x3ad892=_0x654c,_0x9c222e;const {id:_0x5c47e0}=_0xfbd3b7,{id:_0x310228,type:_0x1929db}=_0x3c6d6d,_0x58e20c=(_0x9c222e=_0xfbd3b7[_0x3ad892(0x238)])!=null?_0x9c222e:{'actions':null},_0x37224a=_0x3c6d6d[_0x3ad892(0x238)];if(_0x5c47e0&&_0x5c47e0!==_0x310228)throw new Error(_0x3ad892(0x2b2)+_0x5c47e0+_0x3ad892(0xa1)+_0x310228+'.');return{..._0xfbd3b7,'id':_0x310228,'type':_0x1929db,'params':{'unitId':_0x37224a['unitId'],'textRanges':_0x37224a[_0x3ad892(0x130)],'actions':_0x23b5a0[_0x3ad892(0x2e6)](_0x58e20c[_0x3ad892(0x2da)],_0x37224a[_0x3ad892(0x2da)])}};},{})],_0x635cef=(_0x2f98b7=(_0x19d3a3=_0x5200cf['getCurrentUser']())==null?void 0x0:_0x19d3a3[_0x32a500(0x30b)])!=null?_0x2f98b7:_0x32a500(0x152),_0x5e7a9d=(_0x8a7c8a=(_0x219c69=_0x5200cf['getCurrentUser']())==null?void 0x0:_0x219c69[_0x32a500(0x35c)])!=null?_0x8a7c8a:_0x32a500(0x152);return{'changeset':{'unitID':_0x50c934,'type':_0x52ea29(_0x4bb6de[_0x32a500(0x104)](_0x50c934)),'baseRev':_0x199319['getCurrentRevOfUnit'](_0x50c934),'revision':0x0,'userID':_0x635cef,'memberID':_0x5e7a9d,'mutations':_0x1420b5},'pendingMutations':[]};}function Ii(_0x1a2358,_0x47348b){var _0x13686a=_0x1ce106;const _0x54b609=new _0x3b11f3(0x1);return setTimeout(()=>_0x54b609[_0x13686a(0x252)](_0x47348b),_0x1a2358),_0x54b609['asObservable']()[_0x13686a(0xd4)](_0x54a276(0x1));}const Js={'id':_0x3ef308['id'],'type':_0x59c115[_0x1ce106(0x2bc)],'params':{}};var Xs=Object[_0x1ce106(0x29d)],Ie=(_0x5a7a83,_0x2b25c5,_0x5c398b,_0x12aa2f)=>{var _0x1fa34=_0x1ce106;for(var _0x364611=_0x12aa2f>0x1?void 0x0:_0x12aa2f?Xs(_0x2b25c5,_0x5c398b):_0x2b25c5,_0x5a37b5=_0x5a7a83[_0x1fa34(0x26d)]-0x1,_0x304185;_0x5a37b5>=0x0;_0x5a37b5--)(_0x304185=_0x5a7a83[_0x5a37b5])&&(_0x364611=_0x304185(_0x364611)||_0x364611);return _0x364611;},P=(_0x246ece,_0x199fff)=>(_0x5d6426,_0x3cef8c)=>_0x199fff(_0x5d6426,_0x3cef8c,_0x246ece),Ti=(_0x2922da=>(_0x2922da[_0x1ce106(0x96)]='not_collab',_0x2922da['SYNCED']='synced',_0x2922da['PENDING']=_0x1ce106(0x33a),_0x2922da[_0x1ce106(0x324)]=_0x1ce106(0x1f5),_0x2922da[_0x1ce106(0x208)]=_0x1ce106(0x1c0),_0x2922da[_0x1ce106(0x193)]=_0x1ce106(0x1ac),_0x2922da['CONFLICT']=_0x1ce106(0x1f4),_0x2922da[_0x1ce106(0x1a0)]='offline',_0x2922da))(Ti||{});const Ci=0xea60;class Te{constructor(_0x3a3ed8,_0x195e7e,_0x49e772,_0x260f75,_0x1503bb,_0x57322c,_0x3edfbc,_0x13adb,_0x1ad2b8){var _0x5cf51e=_0x1ce106;N(this,'_awaitingChangeset',null),N(this,_0x5cf51e(0x2f8),[]),(this[_0x5cf51e(0x323)]=_0x3a3ed8,this[_0x5cf51e(0x260)]=_0x195e7e,this[_0x5cf51e(0xa9)]=_0x1503bb,this['_commandService']=_0x57322c,this['_undoRedoService']=_0x3edfbc,this[_0x5cf51e(0xde)]=_0x13adb,this['_localCacheService']=_0x1ad2b8,this[_0x5cf51e(0x24b)]=_0x49e772,this[_0x5cf51e(0x2f8)]=_0x260f75);}[_0x1ce106(0x2f3)](_0xdefc1d){var _0x3ecfbf=_0x1ce106;const _0x345cac=this[_0x3ecfbf(0xde)][_0x3ecfbf(0x220)](this['unitID']);return _0xdefc1d[_0x3ecfbf(0x2a3)]>_0x345cac+0x1?(this[_0x3ecfbf(0xa9)][_0x3ecfbf(0x374)]({'from':_0x345cac,'to':_0xdefc1d[_0x3ecfbf(0x2a3)]-0x1}),!0x0):!0x1;}[_0x1ce106(0x31c)](_0x229501){var _0x1f23c2=_0x1ce106;this[_0x1f23c2(0x2ed)][_0x1f23c2(0xb2)](this[_0x1f23c2(0x323)],_0x229501);}[_0x1ce106(0x1d9)](_0x520df7){var _0x57cb76=_0x1ce106,_0x436b95,_0x239c9b;(_0x239c9b=(_0x436b95=this[_0x57cb76(0xa9)])[_0x57cb76(0xa7)])==null||_0x239c9b[_0x57cb76(0x17b)](_0x436b95,_0x520df7);}[_0x1ce106(0x299)](_0x4cbe16){var _0xeee6c9=_0x1ce106,_0x52b2c3,_0x49f84a;return(_0x49f84a=(_0x52b2c3=this[_0xeee6c9(0xa9)])['onTransformIME'])==null?void 0x0:_0x49f84a[_0xeee6c9(0x17b)](_0x52b2c3,_0x4cbe16);}[_0x1ce106(0x2e4)](_0x7f4dc8){var _0x40b3c3=_0x1ce106,_0x30a0f5,_0x307a1f;return(_0x307a1f=(_0x30a0f5=this[_0x40b3c3(0xa9)])[_0x40b3c3(0x32d)])==null?void 0x0:_0x307a1f[_0x40b3c3(0x17b)](_0x30a0f5,_0x7f4dc8);}['_transformRemoteChangesetByIMECache'](_0x68b765){var _0x1523bf=_0x1ce106,_0x115f7f,_0x4fce69,_0x13bc0c;return(_0x13bc0c=(_0x4fce69=(_0x115f7f=this[_0x1523bf(0xa9)])[_0x1523bf(0x332)])==null?void 0x0:_0x4fce69['call'](_0x115f7f,_0x68b765))!=null?_0x13bc0c:_0x68b765;}[_0x1ce106(0x21f)](_0xb0d50a){var _0x312783=_0x1ce106,_0x1b29ad,_0x339e34,_0x3f0a31;return(_0x3f0a31=(_0x339e34=(_0x1b29ad=this[_0x312783(0xa9)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x339e34['call'](_0x1b29ad,_0xb0d50a))!=null?_0x3f0a31:_0xb0d50a;}[_0x1ce106(0x387)](_0x39dd4b){var _0x4a89d8=_0x1ce106,_0x57e54b,_0x210513;if(this[_0x4a89d8(0x260)]===Z['UNIVER_DOC']){const {unitID:_0x501488,mutations:_0x38a17a,memberID:_0x23c8e7}=_0x39dd4b,_0x54d4a4=_0x38a17a[0x0]['params'][_0x4a89d8(0x130)];Array[_0x4a89d8(0xff)](_0x54d4a4)&&_0x54d4a4[_0x4a89d8(0x26d)]>0x0&&((_0x210513=(_0x57e54b=this[_0x4a89d8(0xa9)])[_0x4a89d8(0x114)])==null||_0x210513[_0x4a89d8(0x17b)](_0x57e54b,{'unitID':_0x501488,'memberID':_0x23c8e7,'textRanges':_0x54d4a4}));}}[_0x1ce106(0x19a)](){var _0x5245dc=_0x1ce106,_0x6182cf;(_0x6182cf=this['_localCacheService'])==null||_0x6182cf['updateOfflineData'](this[_0x5245dc(0x323)],this[_0x5245dc(0x260)],this[_0x5245dc(0x24b)],this[_0x5245dc(0x2f8)]);}['_getCurrentRevision'](){var _0x597452=_0x1ce106;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x597452(0x323)]);}[_0x1ce106(0x206)](){var _0x284fca=_0x1ce106;this[_0x284fca(0xde)][_0x284fca(0x16e)](this['unitID']);}['_executeRemoteChangeset'](_0x27f914){var _0x5a270a=_0x1ce106,_0x13e52b;let _0x54994e=this[_0x5a270a(0x176)](_0x27f914);_0x54994e=this['_transformRemoteChangesetByStateCache'](_0x54994e);const _0x5a4b0b=_0x196ae8(_0x54994e['mutations'],this[_0x5a270a(0xfe)],{'fromCollab':!0x0});if(!_0x5a4b0b[_0x5a270a(0x355)])throw _0x5a4b0b[_0x5a270a(0x211)]instanceof Error?_0x5a4b0b[_0x5a270a(0x211)]:new Error((_0x13e52b=_0x5a4b0b['error'])!=null?_0x13e52b:_0x5a270a(0x320));this[_0x5a270a(0x299)](_0x54994e),this[_0x5a270a(0x2e4)](_0x54994e),this['_transformUndoredo'](_0x27f914),this[_0x5a270a(0x1d9)](_0x54994e),this[_0x5a270a(0x387)](_0x54994e),this[_0x5a270a(0x206)]();}}let ye=class extends Te{constructor(_0x43138c,_0x109dcf,_0x3fdc37,_0x336ee1,_0x412718,_0x29cde7,_0x50c051,_0x1d4558,_0x166afb,_0x57c11c){var _0x11b566=_0x1ce106;super(_0x43138c,_0x109dcf,null,[],_0x3fdc37,_0x50c051,_0x29cde7,_0x336ee1,_0x57c11c),N(this,_0x11b566(0xd3),_0x11b566(0x160)),(this[_0x11b566(0x105)]=_0x412718,this[_0x11b566(0x331)]=_0x1d4558,this[_0x11b566(0x342)]=_0x166afb,this[_0x11b566(0x358)]=_0x57c11c);}[_0x1ce106(0x29b)](_0x2e6bb4){var _0x1aa7c2=_0x1ce106;const _0xe10805=this[_0x1aa7c2(0x105)][_0x1aa7c2(0x164)](re,this[_0x1aa7c2(0x323)],this[_0x1aa7c2(0x260)],[_0x2e6bb4],this[_0x1aa7c2(0xa9)]);return _0xe10805[_0x1aa7c2(0xe8)](),_0xe10805['_updateLocalCache'](),_0xe10805;}[_0x1ce106(0x2b9)](_0x3fd5de){var _0x27577b=_0x1ce106;if(this['_checkMissing'](_0x3fd5de))return this[_0x27577b(0x105)][_0x27577b(0x164)](Q,this['unitID'],this[_0x27577b(0x260)],null,[],null,[_0x3fd5de],this[_0x27577b(0xa9)]);try{const _0x101525=this[_0x27577b(0x342)][_0x27577b(0x348)](_0x3fd5de,[Js]);if(_0x227c39(_0x101525)){const {c1Prime:_0x46f061}=_0x101525;return this[_0x27577b(0x185)](_0x46f061),this;}throw _0x101525[_0x27577b(0x211)];}catch(_0x50deaa){return this[_0x27577b(0x331)][_0x27577b(0x211)](_0x50deaa),this['_onConflict'](!0x1);}}[_0x1ce106(0x2d5)](_0x1ceadc){var _0xda978=_0x1ce106;return this[_0xda978(0x105)][_0xda978(0x164)](le,this[_0xda978(0x323)],this['type'],null,[],this[_0xda978(0xa9)],_0x1ceadc);}[_0x1ce106(0xe7)](){var _0x26d04b=_0x1ce106;throw new Error(_0x26d04b(0xa8));}['onRemoteRej'](){var _0x19896d=_0x1ce106;throw new Error(_0x19896d(0x389));}['onRemoteRetry'](){return this;}[_0x1ce106(0x1a8)](){var _0x1443b2=_0x1ce106;return this[_0x1443b2(0x105)][_0x1443b2(0x164)](ue,this[_0x1443b2(0x323)],this['type'],null,[],this[_0x1443b2(0xa9)]);}[_0x1ce106(0xfd)](){return this;}[_0x1ce106(0x303)](){var _0x2cacb2=_0x1ce106;throw new Error(_0x2cacb2(0x279));}['fetchMiss'](){var _0x4d0c75=_0x1ce106;const _0x421731=this['_revisionService'][_0x4d0c75(0x220)](this['unitID']);return this[_0x4d0c75(0xa9)][_0x4d0c75(0x374)]({'from':_0x421731,'to':0x0}),this[_0x4d0c75(0x105)]['createInstance'](Q,this[_0x4d0c75(0x323)],this[_0x4d0c75(0x260)],null,[],null,[],this[_0x4d0c75(0xa9)]);}};ye=Ie([P(0x3,_0x462e36(_0x5c44a5)),P(0x4,_0x462e36(_0x454bc4)),P(0x5,_0x49d306),P(0x6,_0x5a4b18),P(0x7,_0x103e27),P(0x8,_0x9cb7ab),P(0x9,_0x26bebd(J))],ye);let re=class extends Te{constructor(_0x59fdcd,_0x1664be,_0x569cc0,_0x1f431f,_0x446d13,_0x4a1567,_0x551e6d,_0x3c8fab,_0x73724d,_0x404722,_0x1bdbff,_0x39e20b,_0x5aef34,_0x387f98){var _0x3c1070=_0x1ce106;super(_0x59fdcd,_0x1664be,null,_0x569cc0,_0x1f431f,_0x73724d,_0x5aef34,_0x4a1567,_0x387f98),N(this,_0x3c1070(0xd3),_0x3c1070(0x33a)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x3c1070(0x24a),null),(this[_0x3c1070(0x105)]=_0x446d13,this[_0x3c1070(0x376)]=_0x551e6d,this['_logService']=_0x3c8fab,this[_0x3c1070(0x23f)]=_0x404722,this[_0x3c1070(0x342)]=_0x1bdbff,this[_0x3c1070(0x2d8)]=_0x39e20b);}['appendMutation'](_0x5e3ad6){var _0x299612=_0x1ce106;return this[_0x299612(0x2f8)][_0x299612(0x34a)](_0x5e3ad6),this[_0x299612(0x19a)](),this;}['onRemoteChangeset'](_0x442a5d){var _0x3a5ea9=_0x1ce106;if(this[_0x3a5ea9(0x2f3)](_0x442a5d))return this[_0x3a5ea9(0x1a3)](),this[_0x3a5ea9(0x105)][_0x3a5ea9(0x164)](Q,this[_0x3a5ea9(0x323)],this['type'],null,this[_0x3a5ea9(0x2f8)],null,[_0x442a5d],this['_handler']);try{const _0xfbf319=this['_transformService'][_0x3a5ea9(0x348)](_0x442a5d,this[_0x3a5ea9(0x2f8)]);if(_0x227c39(_0xfbf319)){const {c1Prime:_0x5e632a,m2Prime:_0x2a2f85}=_0xfbf319;this[_0x3a5ea9(0x185)](_0x5e632a);const _0x2a7a84=this[_0x3a5ea9(0x105)][_0x3a5ea9(0x164)](re,this[_0x3a5ea9(0x323)],this[_0x3a5ea9(0x260)],_0x2a2f85,this[_0x3a5ea9(0xa9)]);this[_0x3a5ea9(0x1a3)]();const _0x26a396=new Date()['getTime'](),_0x4c13e3=this['_scheduleCompleteTimestamp']?Math[_0x3a5ea9(0x280)](this[_0x3a5ea9(0x38f)]-_0x26a396,0x0):this['_getSendChangesetTimeout']();return _0x2a7a84[_0x3a5ea9(0xe8)](_0x4c13e3),_0x2a7a84;}throw _0xfbf319[_0x3a5ea9(0x211)];}catch(_0x5e32e0){return this[_0x3a5ea9(0x331)][_0x3a5ea9(0x211)](_0x5e32e0),this[_0x3a5ea9(0x2d5)](!0x1);}}[_0x1ce106(0xe7)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0xab8268=_0x1ce106;throw new Error(_0xab8268(0x2ab));}['onRemoteRetry'](){return this;}[_0x1ce106(0x1a8)](){var _0x3f3df2=_0x1ce106;return this['_clearScheduledTask'](),this[_0x3f3df2(0x105)][_0x3f3df2(0x164)](ue,this[_0x3f3df2(0x323)],this['type'],null,this[_0x3f3df2(0x2f8)],this[_0x3f3df2(0xa9)]);}[_0x1ce106(0xfd)](){return this;}['_schedule'](_0x241b31){var _0x177190=_0x1ce106;const _0x4c795a=_0x241b31!=null?_0x241b31:this[_0x177190(0x31a)]();this[_0x177190(0x38f)]=new Date()[_0x177190(0x2f5)]()+_0x4c795a,this[_0x177190(0x24a)]=setTimeout(()=>{var _0x53e0db=_0x177190;this[_0x53e0db(0x1a3)]();let _0x1e6d64=null;switch(this[_0x53e0db(0x260)]){case Z[_0x53e0db(0x112)]:{_0x1e6d64=Wt(this[_0x53e0db(0x2f8)],this['unitID'],this[_0x53e0db(0x2d8)],this[_0x53e0db(0xde)],this[_0x53e0db(0x376)]);break;}case Z['UNIVER_DOC']:{this[_0x53e0db(0x2f8)]['every'](_0x2f25da=>_0x2f25da['id']===_0x5d5c10['id'])?_0x1e6d64=zs(this['_pendingMutations'],this[_0x53e0db(0x323)],this[_0x53e0db(0x2d8)],this[_0x53e0db(0xde)],this[_0x53e0db(0x376)]):_0x1e6d64=Wt(this[_0x53e0db(0x2f8)],this[_0x53e0db(0x323)],this[_0x53e0db(0x2d8)],this[_0x53e0db(0xde)],this['_memberService']);break;}default:throw new Error(_0x53e0db(0xdb)+this['type']+_0x53e0db(0x338));}const {changeset:_0x39637b,pendingMutations:_0x4c3118}=_0x1e6d64;this[_0x53e0db(0xa9)][_0x53e0db(0x1e7)](_0x39637b);const _0x4933cb=_0x4c3118[_0x53e0db(0x26d)]?this[_0x53e0db(0x105)][_0x53e0db(0x164)](ae,this[_0x53e0db(0x323)],this['type'],_0x39637b,_0x4c3118,this[_0x53e0db(0xa9)],void 0x0):this[_0x53e0db(0x105)]['createInstance'](_e,this[_0x53e0db(0x323)],this[_0x53e0db(0x260)],_0x39637b,this['_handler']);_0x4933cb[_0x53e0db(0x19a)](),this[_0x53e0db(0xa9)]['onStateChange'](this,_0x4933cb);},_0x4c795a);}[_0x1ce106(0x31a)](){var _0x3d89e5=_0x1ce106,_0x2e4d57;const _0x4d2feb=this[_0x3d89e5(0x23f)][_0x3d89e5(0x18a)](K);return(_0x2e4d57=_0x4d2feb==null?void 0x0:_0x4d2feb['sendChangesetTimeout'])!=null?_0x2e4d57:ms;}[_0x1ce106(0x303)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ce106(0x1a3)](){var _0x5cdb06=_0x1ce106;this[_0x5cdb06(0x24a)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x5cdb06(0x24a)]=null);}[_0x1ce106(0x2d5)](_0x5ce795){var _0x59c9af=_0x1ce106;return this[_0x59c9af(0x1a3)](),this[_0x59c9af(0x105)][_0x59c9af(0x164)](le,this[_0x59c9af(0x323)],this[_0x59c9af(0x260)],null,this[_0x59c9af(0x2f8)],this[_0x59c9af(0xa9)],_0x5ce795);}};re=Ie([P(0x4,_0x462e36(_0x454bc4)),P(0x5,_0x462e36(_0x5c44a5)),P(0x6,_0x462e36(Pe)),P(0x7,_0x103e27),P(0x8,_0x5a4b18),P(0x9,_0x4a5014),P(0xa,_0x9cb7ab),P(0xb,_0x1f74c9),P(0xc,_0x49d306),P(0xd,_0x26bebd(J))],re);let _e=class extends Te{constructor(_0x51c178,_0x11674e,_0x9ef3c5,_0x4b9299,_0x35f91f,_0x4b0189,_0x251cdd,_0x32670,_0x234103,_0x3b70a9,_0x52fe2f){var _0xb4d05e=_0x1ce106;super(_0x51c178,_0x11674e,_0x9ef3c5,[],_0x4b9299,_0x251cdd,_0x3b70a9,_0x4b0189,_0x52fe2f),N(this,_0xb4d05e(0xd3),'awaiting'),N(this,_0xb4d05e(0x2e8),0x0),N(this,_0xb4d05e(0x120)),N(this,_0xb4d05e(0x25f)),(this['_injector']=_0x35f91f,this[_0xb4d05e(0x331)]=_0x32670,this[_0xb4d05e(0x342)]=_0x234103);}[_0x1ce106(0x29b)](_0x41b2de){var _0x1651b2=_0x1ce106;this['_clearScheduledTask']();const _0x41ca3e=this[_0x1651b2(0x105)][_0x1651b2(0x164)](ae,this['unitID'],this[_0x1651b2(0x260)],this[_0x1651b2(0x24b)],[_0x41b2de],this[_0x1651b2(0xa9)],this[_0x1651b2(0x120)]);return _0x41ca3e[_0x1651b2(0x19a)](),_0x41ca3e;}[_0x1ce106(0x2b9)](_0x558590){var _0xa52366=_0x1ce106;if(this['_checkMissing'](_0x558590))return this[_0xa52366(0x1a3)](),this[_0xa52366(0x105)]['createInstance'](Q,this[_0xa52366(0x323)],this['type'],this[_0xa52366(0x24b)],[],null,[_0x558590],this[_0xa52366(0xa9)]);try{const _0x29c826=this[_0xa52366(0x342)][_0xa52366(0x356)]([_0x558590],[this[_0xa52366(0x24b)]],!0x1);if(_0x493bfc(_0x29c826)){const {c1Prime:_0x305cdd,c2Prime:_0x4f6f01}=_0x29c826;this[_0xa52366(0x185)](_0x305cdd[0x0]),_0x4f6f01[0x0][_0xa52366(0x1b9)]=this[_0xa52366(0x139)](),this[_0xa52366(0x1a3)]();const _0x257649=this[_0xa52366(0x105)][_0xa52366(0x164)](_e,this['unitID'],this[_0xa52366(0x260)],_0x4f6f01[0x0],this[_0xa52366(0xa9)]);return _0x257649[_0xa52366(0x19a)](),_0x257649;}return this['_onConflict'](!0x1);}catch(_0x1a2844){return this['_logService']['error'](_0x1a2844),this[_0xa52366(0x2d5)](!0x1);}}[_0x1ce106(0xe7)](_0x447db7){var _0x29c40b=_0x1ce106;this[_0x29c40b(0x1a3)]();const _0x44d445=this[_0x29c40b(0xde)][_0x29c40b(0x220)](this[_0x29c40b(0x323)]);if(_0x447db7[_0x29c40b(0x2a3)]<_0x44d445-0x1)return this;if(this[_0x29c40b(0x2f3)](_0x447db7))return this['_injector']['createInstance'](Q,this['unitID'],this[_0x29c40b(0x260)],null,[],this['_awaitingChangeset'],[],this[_0x29c40b(0xa9)]);this[_0x29c40b(0x206)]();const _0x4589b1=this[_0x29c40b(0x105)][_0x29c40b(0x164)](ye,this[_0x29c40b(0x323)],this[_0x29c40b(0x260)],this['_handler']);return _0x4589b1[_0x29c40b(0x19a)](),_0x4589b1;}['onRemoteRej'](_0x3c285f){var _0xed693=_0x1ce106;return this[_0xed693(0x2d5)](!!(_0x3c285f!=null&&_0x3c285f[_0xed693(0x311)]));}['onRemoteRetry'](_0x56907c){var _0x4c9a21=_0x1ce106;return this['_resendTimeout']>Ci?this[_0x4c9a21(0x1a8)]():(this['_resendTimer']=Ii(this[_0x4c9a21(0x2e8)],{'timeout':this[_0x4c9a21(0x2e8)],'reqId':_0x56907c[_0x4c9a21(0x23b)]}),this[_0x4c9a21(0x25f)]=this[_0x4c9a21(0x120)][_0x4c9a21(0xa2)](({reqId:_0x4334bc,timeout:_0x272866})=>{var _0x2b1a78=_0x4c9a21;this[_0x2b1a78(0x180)](_0x4334bc,_0x272866);}),this);}[_0x1ce106(0x1a8)](){var _0x2bee9c=_0x1ce106;return this['_clearScheduledTask'](),this[_0x2bee9c(0x105)][_0x2bee9c(0x164)](ue,this[_0x2bee9c(0x323)],this['type'],this[_0x2bee9c(0x24b)],[],this[_0x2bee9c(0xa9)]);}[_0x1ce106(0xfd)](){return this;}['resend'](){var _0x3caa7b=_0x1ce106;this[_0x3caa7b(0xa9)][_0x3caa7b(0x1e7)](this[_0x3caa7b(0x24b)]);}['_onConflict'](_0x5b6dd0){var _0x3fc63b=_0x1ce106;return this['_clearScheduledTask'](),this[_0x3fc63b(0x105)][_0x3fc63b(0x164)](le,this[_0x3fc63b(0x323)],this['type'],this['_awaitingChangeset'],[],this[_0x3fc63b(0xa9)],_0x5b6dd0);}[_0x1ce106(0x180)](_0x34af2f,_0x262af4){var _0x2938a2=_0x1ce106,_0x5742b2;_0x34af2f===((_0x5742b2=this[_0x2938a2(0x24b)])==null?void 0x0:_0x5742b2['reqId'])&&(this[_0x2938a2(0x303)](),this['_resendTimeout']=_0x262af4===0x0?0x3e8:_0x262af4*0x2);}[_0x1ce106(0x1a3)](){var _0x17f3fe=_0x1ce106,_0x6b5980;(_0x6b5980=this['_sender'])==null||_0x6b5980['unsubscribe'](),this[_0x17f3fe(0x2e8)]=0x0;}};_e=Ie([P(0x4,_0x462e36(_0x454bc4)),P(0x5,_0x462e36(_0x5c44a5)),P(0x6,_0x5a4b18),P(0x7,_0x103e27),P(0x8,_0x9cb7ab),P(0x9,_0x49d306),P(0xa,_0x26bebd(J))],_e);let ae=class extends Te{constructor(_0x48e0b3,_0xe07e8b,_0x1bfadd,_0x15b8d2,_0x395a95,_0x408b2d,_0x2eec45,_0x58e39b,_0x5a32c3,_0x2748ad,_0x3a099d,_0x4ff78b,_0x23eca2){var _0x2fb25d=_0x1ce106;super(_0x48e0b3,_0xe07e8b,_0x1bfadd,_0x15b8d2,_0x395a95,_0x5a32c3,_0x4ff78b,_0x58e39b,_0x23eca2),N(this,'status',_0x2fb25d(0x1c0)),N(this,'_resendTimeout',0x0),N(this,_0x2fb25d(0x120)),N(this,'_sender'),(this['_injector']=_0x2eec45,this['_logService']=_0x2748ad,this[_0x2fb25d(0x342)]=_0x3a099d,this['localCacheService']=_0x23eca2,_0x408b2d&&(this[_0x2fb25d(0x120)]=_0x408b2d,this[_0x2fb25d(0x25f)]=this[_0x2fb25d(0x120)]['subscribe'](({reqId:_0x4d1133,timeout:_0x3f3fda})=>{var _0x250d26=_0x2fb25d;this[_0x250d26(0x180)](_0x4d1133,_0x3f3fda);})));}[_0x1ce106(0x29b)](_0x2c4f7c){var _0x298224=_0x1ce106;return this[_0x298224(0x2f8)][_0x298224(0x34a)](_0x2c4f7c),this;}[_0x1ce106(0x2b9)](_0xbf45db){var _0x5433e9=_0x1ce106;if(this['_checkMissing'](_0xbf45db))return this[_0x5433e9(0x1a3)](),this[_0x5433e9(0x105)][_0x5433e9(0x164)](Q,this['unitID'],this[_0x5433e9(0x260)],this['_awaitingChangeset'],this[_0x5433e9(0x2f8)],null,[_0xbf45db],this[_0x5433e9(0xa9)]);try{const _0x5c725f=this[_0x5433e9(0x342)]['transformChangesets']([_0xbf45db],[this[_0x5433e9(0x24b)]],!0x1);if(_0x493bfc(_0x5c725f)){const {c1Prime:_0x21e76e,c2Prime:_0x54a24e}=_0x5c725f,_0x170367=this[_0x5433e9(0x342)][_0x5433e9(0x348)](_0x21e76e[0x0],this[_0x5433e9(0x2f8)]);if(_0x227c39(_0x170367)){const {c1Prime:_0x522d2e,m2Prime:_0x7b3565}=_0x170367;return this[_0x5433e9(0x185)](_0x522d2e),_0x54a24e[0x0][_0x5433e9(0x1b9)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x5433e9(0x105)][_0x5433e9(0x164)](ae,this['unitID'],this[_0x5433e9(0x260)],_0x54a24e[0x0],_0x7b3565,this[_0x5433e9(0xa9)],void 0x0);}throw _0x170367[_0x5433e9(0x211)];}throw _0x5c725f[_0x5433e9(0x211)];}catch(_0x2104c8){return this['_logService']['error'](_0x2104c8),this[_0x5433e9(0x2d5)](!0x1);}}['onRemoteAck'](_0x163e4a){var _0x114b7d=_0x1ce106;if(this[_0x114b7d(0x1a3)](),this[_0x114b7d(0x2f3)](_0x163e4a))return this[_0x114b7d(0x105)]['createInstance'](Q,this[_0x114b7d(0x323)],this[_0x114b7d(0x260)],null,this[_0x114b7d(0x2f8)],this[_0x114b7d(0x24b)],[],this[_0x114b7d(0xa9)]);this['_incrementRevisionNumber']();const _0xdfe138=this['_injector'][_0x114b7d(0x164)](re,this[_0x114b7d(0x323)],this['type'],this[_0x114b7d(0x2f8)],this[_0x114b7d(0xa9)]);return _0xdfe138[_0x114b7d(0xe8)](),_0xdfe138[_0x114b7d(0x19a)](),_0xdfe138;}[_0x1ce106(0x11c)](_0x3c735b){var _0x5a1071=_0x1ce106;return this[_0x5a1071(0x2d5)](!!(_0x3c735b!=null&&_0x3c735b['isPermissionRej']));}[_0x1ce106(0x270)](_0x421ec8){var _0x166611=_0x1ce106;return this[_0x166611(0x2e8)]>Ci?this['toggleOffline']():(this['_resendTimer']=Ii(this[_0x166611(0x2e8)],{'timeout':this[_0x166611(0x2e8)],'reqId':_0x421ec8['reqId']}),this[_0x166611(0x25f)]=this['_resendTimer'][_0x166611(0xa2)](({reqId:_0x376935,timeout:_0x1ebabc})=>{this['_resendWithTimeout'](_0x376935,_0x1ebabc);}),this);}['toggleOffline'](){var _0x5a494a=_0x1ce106;return this[_0x5a494a(0x1a3)](),this[_0x5a494a(0x105)]['createInstance'](ue,this[_0x5a494a(0x323)],this[_0x5a494a(0x260)],this['_awaitingChangeset'],this[_0x5a494a(0x2f8)],this['_handler']);}[_0x1ce106(0xfd)](){return this;}[_0x1ce106(0x303)](){var _0x52ec6d=_0x1ce106;this['_handler']['onSendChangeset'](this[_0x52ec6d(0x24b)]);}[_0x1ce106(0x2d5)](_0x279204){var _0x3bfe5a=_0x1ce106;return this[_0x3bfe5a(0x1a3)](),this[_0x3bfe5a(0x105)][_0x3bfe5a(0x164)](le,this[_0x3bfe5a(0x323)],this[_0x3bfe5a(0x260)],null,this[_0x3bfe5a(0x2f8)],this[_0x3bfe5a(0xa9)],_0x279204);}[_0x1ce106(0x180)](_0x20056c,_0x147193){var _0x224dea=_0x1ce106,_0x244d7a;_0x20056c===((_0x244d7a=this[_0x224dea(0x24b)])==null?void 0x0:_0x244d7a['reqId'])&&(this[_0x224dea(0x303)](),this[_0x224dea(0x2e8)]=_0x147193===0x0?0x3e8:_0x147193*0x2);}[_0x1ce106(0x1a3)](){var _0x4f51ce=_0x1ce106,_0x50d6ff;(_0x50d6ff=this['_sender'])==null||_0x50d6ff[_0x4f51ce(0x2ca)](),this[_0x4f51ce(0x2e8)]=0x0;}};ae=Ie([P(0x6,_0x462e36(_0x454bc4)),P(0x7,_0x462e36(_0x5c44a5)),P(0x8,_0x5a4b18),P(0x9,_0x103e27),P(0xa,_0x9cb7ab),P(0xb,_0x49d306),P(0xc,_0x26bebd(J))],ae);let le=class extends Te{constructor(_0x356472,_0x2ebf05,_0x437ae0,_0x41d107,_0x17ac8d,_0x504bf5=!0x1,_0x377078,_0x5bb461,_0x39459f,_0x1866f2,_0x3e4966,_0x18c88c,_0x411b24){var _0x4a1b4c=_0x1ce106;super(_0x356472,_0x2ebf05,_0x437ae0,_0x41d107,_0x17ac8d,_0x5bb461,_0x39459f,_0x1866f2,_0x411b24),N(this,_0x4a1b4c(0xd3),_0x4a1b4c(0x1f4)),(this[_0x4a1b4c(0x1b2)]=_0x504bf5,this['_permissionService']=_0x377078,this[_0x4a1b4c(0x2d0)]=_0x3e4966,this[_0x4a1b4c(0xae)]=_0x18c88c,this['localCacheService']=_0x411b24,this[_0x4a1b4c(0xd7)](),this[_0x4a1b4c(0x98)](),this[_0x4a1b4c(0xe9)]());}[_0x1ce106(0x29b)](){return this;}['onRemoteChangeset'](){return this;}[_0x1ce106(0xe7)](){return this;}[_0x1ce106(0x11c)](){return this;}['onRemoteRetry'](){return this;}[_0x1ce106(0x1a8)](){return this;}[_0x1ce106(0xfd)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ce106(0x98)](){var _0x55d01f=_0x1ce106,_0x2f4323;(_0x2f4323=this['_localCacheService'])==null||_0x2f4323[_0x55d01f(0xee)](this[_0x55d01f(0x323)],this[_0x55d01f(0x260)],null,[]);}['_showConflictNotification'](){var _0x1f9f26=_0x1ce106;this[_0x1f9f26(0x1b2)]?this[_0x1f9f26(0xae)][_0x1f9f26(0x237)]({'id':ne[_0x1f9f26(0x2db)]}):this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x1f9f26(0x1cf)]});}['_disableEditing'](){var _0x58a186=_0x1ce106;this[_0x58a186(0x1d2)]['updatePermissionPoint'](new _0x2b88e9(this['unitID'])['id'],!0x1);}};le=Ie([P(0x6,_0x462e36(_0x26f4a9)),P(0x7,_0x5a4b18),P(0x8,_0x49d306),P(0x9,_0x462e36(_0x5c44a5)),P(0xa,_0x462e36(_0x263ef2)),P(0xb,_0x462e36(ve)),P(0xc,_0x26bebd(J))],le);let ue=class extends Te{constructor(_0x321530,_0x114bba,_0x542409,_0x1ebbb5,_0x4ec6c4,_0x51adc7,_0x31e248,_0x2452e7,_0x5f53e7,_0x5acf7a){var _0x2b2736=_0x1ce106;super(_0x321530,_0x114bba,_0x542409,_0x1ebbb5,_0x4ec6c4,_0x2452e7,_0x5f53e7,_0x31e248,_0x5acf7a),N(this,_0x2b2736(0xd3),'offline'),this[_0x2b2736(0x105)]=_0x51adc7;}[_0x1ce106(0x29b)](_0x39ed42){var _0x13e7e7=_0x1ce106;return this['_pendingMutations']['push'](_0x39ed42),this[_0x13e7e7(0x19a)](),this;}[_0x1ce106(0x2b9)](_0x157eb9){var _0x41cee1=_0x1ce106;throw new Error(_0x41cee1(0x17e));}[_0x1ce106(0xe7)](){var _0x3477d1=_0x1ce106;throw new Error(_0x3477d1(0xb7));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1ce106(0x1a8)](){return this;}[_0x1ce106(0xfd)](){var _0xabce71=_0x1ce106;const {_injector:_0x1b501f,_pendingMutations:_0x45490b,_awaitingChangeset:_0x47684a,unitID:_0x5abe40,_handler:_0x255a94,type:_0x12d0e8}=this,_0x366f52=Ri(_0x1b501f,_0x5abe40,_0x12d0e8,_0x47684a,_0x45490b,_0x255a94);return _0x366f52 instanceof re?_0x366f52[_0xabce71(0xe8)]():(_0x366f52 instanceof ae||_0x366f52 instanceof _e)&&_0x366f52[_0xabce71(0x303)](),_0x366f52;}[_0x1ce106(0x303)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0x462e36(_0x454bc4)),P(0x6,_0x462e36(_0x5c44a5)),P(0x7,_0x5a4b18),P(0x8,_0x49d306),P(0x9,_0x26bebd(J))],ue);let Q=class extends Te{constructor(_0x4c4ec4,_0x4b92a5,_0x436f77,_0x387bc5,_0x57fb0f,_0x40c9e8,_0x21f539,_0x235966,_0x2b37a8,_0x292e5f,_0x4f037f,_0x5eff46,_0x5dc4fa,_0x2e09ab){var _0x5e30d9=_0x1ce106;super(_0x4c4ec4,_0x4b92a5,_0x436f77,_0x387bc5,_0x21f539,_0x4f037f,_0x5eff46,_0x2b37a8,_0x2e09ab),N(this,'status','fetch_missing'),(this[_0x5e30d9(0x2fc)]=_0x57fb0f,this[_0x5e30d9(0x19e)]=_0x40c9e8,this[_0x5e30d9(0x105)]=_0x235966,this[_0x5e30d9(0x331)]=_0x292e5f,this[_0x5e30d9(0x342)]=_0x5dc4fa,this[_0x5e30d9(0x358)]=_0x2e09ab);}[_0x1ce106(0x1ad)](_0x594a0c){var _0x296f8b=_0x1ce106;try{const _0x5b1343=[..._0x594a0c,...this[_0x296f8b(0x19e)]],_0xb31936=[this[_0x296f8b(0x24b)]||this[_0x296f8b(0x2fc)]][_0x296f8b(0x146)](_0x40d1d7=>!!_0x40d1d7);let _0x235048,_0x496295;if(_0xb31936[_0x296f8b(0x26d)]){const _0x55c352=this[_0x296f8b(0x342)][_0x296f8b(0x356)](_0x5b1343,_0xb31936,!0x1);if(!_0x493bfc(_0x55c352))throw _0x55c352[_0x296f8b(0x211)];_0x235048=_0x55c352[_0x296f8b(0x174)],_0x496295=_0x55c352[_0x296f8b(0x157)];}else _0x235048=_0x5b1343,_0x496295=[];let _0x419d75=this[_0x296f8b(0x2f8)];_0x235048[_0x296f8b(0x27c)](_0x4656dd=>{var _0x18f2b8=_0x296f8b;let _0x471782;if(_0x419d75[_0x18f2b8(0x26d)]){const _0x12e78f=this[_0x18f2b8(0x342)][_0x18f2b8(0x348)](_0x4656dd,_0x419d75);if(!_0x227c39(_0x12e78f))throw _0x12e78f['error'];_0x471782=_0x12e78f[_0x18f2b8(0x174)],_0x419d75=_0x12e78f['m2Prime'];}else _0x471782=_0x4656dd;this[_0x18f2b8(0x185)](_0x471782);}),this[_0x296f8b(0x2fc)]&&this['_incrementRevisionNumber'](),this[_0x296f8b(0x24b)]&&_0x496295['length']&&(_0x496295[0x0][_0x296f8b(0x1b9)]=this[_0x296f8b(0x139)]());let _0x185313;if(this['_awaitingChangeset']&&_0x419d75[_0x296f8b(0x26d)]!==0x0)_0x185313=this[_0x296f8b(0x105)][_0x296f8b(0x164)](ae,this[_0x296f8b(0x323)],this[_0x296f8b(0x260)],_0x496295[0x0],_0x419d75,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x419d75[_0x296f8b(0x26d)]===0x0)_0x496295[0x0]['baseRev']=this[_0x296f8b(0x139)](),_0x185313=this[_0x296f8b(0x105)]['createInstance'](_e,this[_0x296f8b(0x323)],this[_0x296f8b(0x260)],_0x496295[0x0],this[_0x296f8b(0xa9)]);else{if(_0x419d75[_0x296f8b(0x26d)]!==0x0){const _0x89ebfa=this[_0x296f8b(0x105)][_0x296f8b(0x164)](re,this['unitID'],this[_0x296f8b(0x260)],_0x419d75,this[_0x296f8b(0xa9)]);_0x89ebfa[_0x296f8b(0xe8)](),_0x185313=_0x89ebfa;}else _0x185313=this[_0x296f8b(0x105)][_0x296f8b(0x164)](ye,this['unitID'],this['type'],this[_0x296f8b(0xa9)]);}}return _0x185313['_updateLocalCache'](),_0x185313;}catch(_0x18b9fa){return this[_0x296f8b(0x331)][_0x296f8b(0x211)](_0x296f8b(0x36b),_0x296f8b(0x336),_0x18b9fa),this[_0x296f8b(0x105)]['createInstance'](le,this[_0x296f8b(0x323)],this[_0x296f8b(0x260)],this[_0x296f8b(0x24b)],this[_0x296f8b(0x2f8)],this['_handler'],!0x1);}}[_0x1ce106(0x303)](){var _0x230248=_0x1ce106;throw new Error(_0x230248(0x233));}[_0x1ce106(0x29b)](_0x51db01){return this['_pendingMutations']['push'](_0x51db01),this;}['onRemoteChangeset'](_0x264739){var _0x2972cd=_0x1ce106;return this[_0x2972cd(0x19e)][_0x2972cd(0x34a)](_0x264739),this;}['onRemoteAck'](_0x3cd98e){var _0x505708=_0x1ce106;if(this[_0x505708(0x24b)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x505708(0x24b)]=null,this;throw new Error(_0x505708(0x11a));}['onRemoteRej'](_0x41d19a){var _0x1093ca=_0x1ce106;return this[_0x1093ca(0x2d5)](!!(_0x41d19a!=null&&_0x41d19a[_0x1093ca(0x311)]));}[_0x1ce106(0x270)](){return this;}[_0x1ce106(0x1a8)](){var _0x15231b=_0x1ce106;return this[_0x15231b(0x105)]['createInstance'](ue,this[_0x15231b(0x323)],this[_0x15231b(0x260)],this['_awaitingChangeset'],this[_0x15231b(0x2f8)],this[_0x15231b(0xa9)]);}[_0x1ce106(0xfd)](){return this;}[_0x1ce106(0x2d5)](_0x3bba59){var _0x33ee60=_0x1ce106;return this[_0x33ee60(0x105)]['createInstance'](le,this[_0x33ee60(0x323)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x33ee60(0xa9)],_0x3bba59);}};Q=Ie([P(0x7,_0x462e36(_0x454bc4)),P(0x8,_0x462e36(_0x5c44a5)),P(0x9,_0x103e27),P(0xa,_0x5a4b18),P(0xb,_0x49d306),P(0xc,_0x9cb7ab),P(0xd,_0x26bebd(J))],Q);function Ri(_0x31955f,_0x3feee0,_0x2584b7,_0x18fb5e,_0x3b842b,_0xbc8c0){var _0x5df863=_0x1ce106;return _0x18fb5e&&_0x3b842b[_0x5df863(0x26d)]?_0x31955f[_0x5df863(0x164)](ae,_0x3feee0,_0x2584b7,_0x18fb5e,_0x3b842b,_0xbc8c0,void 0x0):_0x18fb5e?_0x31955f['createInstance'](_e,_0x3feee0,_0x2584b7,_0x18fb5e,_0xbc8c0):_0x3b842b['length']?_0x31955f[_0x5df863(0x164)](re,_0x3feee0,_0x2584b7,_0x3b842b,_0xbc8c0):_0x31955f[_0x5df863(0x164)](ye,_0x3feee0,_0x2584b7,_0xbc8c0);}var Zs=Object[_0x1ce106(0x29d)],wt=(_0x2720af,_0x341514,_0x23cc78,_0x50a39d)=>{var _0x29bedb=_0x1ce106;for(var _0x41ad80=_0x50a39d>0x1?void 0x0:_0x50a39d?Zs(_0x341514,_0x23cc78):_0x341514,_0x127b83=_0x2720af[_0x29bedb(0x26d)]-0x1,_0x31ba9b;_0x127b83>=0x0;_0x127b83--)(_0x31ba9b=_0x2720af[_0x127b83])&&(_0x41ad80=_0x31ba9b(_0x41ad80)||_0x41ad80);return _0x41ad80;},H=(_0x580d0a,_0x3d79dd)=>(_0x15e614,_0x140099)=>_0x3d79dd(_0x15e614,_0x140099,_0x580d0a);let st=class extends _0x589295{constructor(_0xcd8ee5,_0x536715,_0x566716,_0x1f5544,_0x24b1d7,_0x889c5a,_0x141c0c,_0x5aa4cb,_0x1eb49f,_0x37d9ea,_0x73e071,_0x37b0f7,_0x4b74ba){var _0x93862b=_0x1ce106;super(),N(this,_0x93862b(0xf2),new _0x88e997(null)),N(this,_0x93862b(0x2f6),this[_0x93862b(0xf2)]['asObservable']()),N(this,_0x93862b(0x2f4)),N(this,_0x93862b(0x2dd),!0x1),N(this,_0x93862b(0x37a),''),N(this,_0x93862b(0x351),0x0),N(this,'status$',this[_0x93862b(0x2f6)][_0x93862b(0xd4)](_0x2a9118(_0x3d742b=>_0x3d742b?_0x3d742b['status']:Ti[_0x93862b(0x1a0)]),_0x282109(0x1))),N(this,_0x93862b(0x197),!0x1),N(this,_0x93862b(0x21a),[]),(this[_0x93862b(0x323)]=_0xcd8ee5,this[_0x93862b(0x224)]=_0x536715,this[_0x93862b(0x183)]=_0x566716,this['_injector']=_0x1f5544,this[_0x93862b(0xaa)]=_0x24b1d7,this['_localeService']=_0x889c5a,this[_0x93862b(0xde)]=_0x141c0c,this[_0x93862b(0x347)]=_0x5aa4cb,this[_0x93862b(0x331)]=_0x1eb49f,this[_0x93862b(0xfe)]=_0x37d9ea,this[_0x93862b(0x1d2)]=_0x73e071,this[_0x93862b(0x243)]=_0x37b0f7,this[_0x93862b(0x2a8)]=_0x4b74ba);}get['state'](){var _0x27c7a5=_0x1ce106;return this[_0x27c7a5(0x2f4)];}async[_0x1ce106(0x35f)](){var _0x8f5532=_0x1ce106;if(this[_0x8f5532(0x33d)])throw new Error(_0x8f5532(0x93));await this[_0x8f5532(0xbf)]();}[_0x1ce106(0x2a9)](){var _0xb57ec6=_0x1ce106;return this[_0xb57ec6(0x2dd)]=!0x0,_0x1d8015(()=>{var _0xa20575=_0xb57ec6;this[_0xa20575(0x2dd)]=!0x1,this[_0xa20575(0x158)]();});}[_0x1ce106(0x380)](_0x23c810){var _0x4a51fd=_0x1ce106;this[_0x4a51fd(0x1f0)](_0x23c810);}[_0x1ce106(0x357)](_0x465bee){var _0xc7f381=_0x1ce106;this[_0xc7f381(0x2f4)]=_0x465bee,this[_0xc7f381(0xf2)][_0xc7f381(0x252)](_0x465bee);}async[_0x1ce106(0xbf)](){var _0x90a22e=_0x1ce106,_0x16b4a2;this[_0x90a22e(0x357)](await this[_0x90a22e(0x378)]()),this[_0x90a22e(0x243)]&&((_0x16b4a2=this[_0x90a22e(0x243)])==null||_0x16b4a2['editingUnit'](this['unitID']),this[_0x90a22e(0x175)](this[_0x90a22e(0x243)][_0x90a22e(0x2c3)](this[_0x90a22e(0x323)])[_0x90a22e(0xa2)](_0x19b108=>{var _0x39cc6c=_0x90a22e;this['_logService'][_0x39cc6c(0x293)](_0x39cc6c(0x38b),_0x39cc6c(0x22f),_0x19b108),_0x19b108===Ei[_0x39cc6c(0x2b0)]?(this[_0x39cc6c(0x347)]['emitEvent']({'id':ne['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x39cc6c(0x12d)](new _0x2b88e9(this[_0x39cc6c(0x323)])['id'],!0x1),this[_0x39cc6c(0x1d2)][_0x39cc6c(0x354)](!0x1)):(this[_0x39cc6c(0x1d2)][_0x39cc6c(0x12d)](new _0x2b88e9(this[_0x39cc6c(0x323)])['id'],!0x0),this[_0x39cc6c(0x1d2)][_0x39cc6c(0x354)](!0x0));})));let _0x8b7439=!0x1;return this[_0x90a22e(0x175)](this[_0x90a22e(0x224)][_0x90a22e(0x218)][_0x90a22e(0xa2)](_0x14f151=>{var _0x1af4f1=_0x90a22e;_0x14f151===Se['ONLINE']?this[_0x1af4f1(0x1de)](_0x8b7439):_0x14f151===Se[_0x1af4f1(0x1a0)]&&(_0x8b7439=!0x0,this[_0x1af4f1(0x2f1)]());})),this[_0x90a22e(0x175)](this[_0x90a22e(0x224)]['event$'][_0x90a22e(0xa2)](_0x5e6799=>{var _0x5037af=_0x90a22e;try{switch(_0x5e6799[_0x5037af(0x188)]){case _0x10c22b[_0x5037af(0x267)]:{this[_0x5037af(0xd9)](_0x1f35c6(_0x5e6799[_0x5037af(0x2e7)]));break;}case _0x10c22b[_0x5037af(0xfc)]:{this[_0x5037af(0x111)](_0x5e6799[_0x5037af(0x2e7)]);break;}case _0x10c22b['CHANGESET_REJ']:{this[_0x5037af(0x20c)]();break;}case _0x10c22b[_0x5037af(0x16f)]:{this[_0x5037af(0x1b7)](_0x5e6799[_0x5037af(0x2e7)]);break;}case _0x10c22b[_0x5037af(0x22a)]:{this[_0x5037af(0x132)](_0x5e6799[_0x5037af(0x2e7)][_0x5037af(0xe1)][_0x5037af(0x17a)](_0x21d83b=>_0x1f35c6(_0x21d83b)));break;}case _0x10c22b['PERMISSION_REJ']:{this[_0x5037af(0x20c)]({'isPermissionRej':!0x0});break;}case _0x10c22b[_0x5037af(0x138)]:break;}}catch(_0x8d5614){throw console['error'](_0x5037af(0x229),_0x8d5614),_0x8d5614;}})),this[_0x90a22e(0x2f4)];}[_0x1ce106(0x28e)](){var _0x2b75d2=_0x1ce106;this[_0x2b75d2(0x197)]=!0x1;}[_0x1ce106(0x168)](){var _0x57df1d=_0x1ce106;if(this[_0x57df1d(0x197)])throw new Error(_0x57df1d(0x2c7));this[_0x57df1d(0x197)]=!0x0;}[_0x1ce106(0x1f0)](_0x46ca24){var _0x52f39e=_0x1ce106;this[_0x52f39e(0x168)](),this['_updateState'](this[_0x52f39e(0x2f4)][_0x52f39e(0x29b)](_0x46ca24)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x3cab5c){var _0x339000=_0x1ce106;if(!(_0x3cab5c[_0x339000(0x2a3)]<=this['_revisionService'][_0x339000(0x220)](this[_0x339000(0x323)]))){if(this[_0x339000(0x2dd)]){this[_0x339000(0x21a)][_0x339000(0x34a)](_0x3cab5c);return;}this[_0x339000(0x290)](_0x3cab5c);}}[_0x1ce106(0x158)](){var _0x391866=_0x1ce106;this[_0x391866(0x21a)][_0x391866(0x27c)](_0xdbbd2e=>this['_applyRemoteChangeset'](_0xdbbd2e)),this[_0x391866(0x21a)]=[];}[_0x1ce106(0x290)](_0x1d5c6d){var _0x26c8c9=_0x1ce106;const _0x515189=this[_0x26c8c9(0xaa)][_0x26c8c9(0x377)][_0x26c8c9(0x1f3)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x26c8c9(0x34e)])(_0x1d5c6d[_0x26c8c9(0x24d)],null)||_0x1d5c6d[_0x26c8c9(0x24d)],_0x28d58c={..._0x1d5c6d,'mutations':_0x515189};this['_lockTransition'](),this[_0x26c8c9(0x357)](this['_state'][_0x26c8c9(0x2b9)](_0x28d58c)),this[_0x26c8c9(0x28e)]();}['_onRemoteACK'](_0xbc7773){var _0x398da3=_0x1ce106;this[_0x398da3(0x168)](),this[_0x398da3(0x357)](this[_0x398da3(0x2f4)][_0x398da3(0xe7)](_0xbc7773)),this[_0x398da3(0x28e)]();}['_onRemoteRejected'](_0x5762c7){var _0x3f7a6a=_0x1ce106;this['_lockTransition'](),this[_0x3f7a6a(0x357)](this['_state'][_0x3f7a6a(0x11c)](_0x5762c7)),this['_unlockTransition']();}[_0x1ce106(0x1b7)](_0x2e4f4c){var _0x3e737f=_0x1ce106;this[_0x3e737f(0x168)](),this[_0x3e737f(0x357)](this[_0x3e737f(0x2f4)][_0x3e737f(0x270)](_0x2e4f4c)),this['_unlockTransition']();}[_0x1ce106(0x132)](_0x3810f3){var _0x249382=_0x1ce106;if(!(this['_state']instanceof Q))throw new TypeError(_0x249382(0x239));const _0x445cc5=_0x3810f3['map'](_0x2600c6=>{var _0x4c02c0=_0x249382;const _0x589d5e=this['_compressMutationService']['interceptor'][_0x4c02c0(0x1f3)](this[_0x4c02c0(0xaa)][_0x4c02c0(0x377)][_0x4c02c0(0x340)]()[_0x4c02c0(0x34e)])(_0x2600c6[_0x4c02c0(0x24d)],null)||_0x2600c6[_0x4c02c0(0x24d)];return{..._0x2600c6,'mutations':_0x589d5e};});this[_0x249382(0x168)](),this['_updateState'](this[_0x249382(0x2f4)][_0x249382(0x1ad)](_0x445cc5)),this['_unlockTransition']();}['_toggleOffline'](){var _0x10d1c1=_0x1ce106;this[_0x10d1c1(0x168)](),this[_0x10d1c1(0x357)](this[_0x10d1c1(0x2f4)][_0x10d1c1(0x1a8)]()),this[_0x10d1c1(0x28e)]();}[_0x1ce106(0x1de)](_0x493f1f=!0x1){var _0x5d5261=_0x1ce106;this[_0x5d5261(0x168)](),this['_updateState'](this[_0x5d5261(0x2f4)][_0x5d5261(0xfd)]()),this[_0x5d5261(0x28e)]();const _0x5a148b=this[_0x5d5261(0x2f4)];_0x493f1f&&_0x5a148b instanceof ye&&(this['_lockTransition'](),this[_0x5d5261(0x357)](_0x5a148b[_0x5d5261(0x34f)]()),this['_unlockTransition']());}async[_0x1ce106(0x378)](){return new Promise(_0x44ca0d=>{var _0x21bf67=_0x654c;this[_0x21bf67(0x224)][_0x21bf67(0x218)][_0x21bf67(0xd4)](_0x54a276(0x1))[_0x21bf67(0xa2)](async _0xa23cef=>{var _0x2f3031=_0x21bf67;_0x44ca0d(await this[_0x2f3031(0xe2)](_0xa23cef===Se[_0x2f3031(0x202)]));});});}[_0x1ce106(0xb8)](){var _0x37b4bf=_0x1ce106;const _0x423ed8=this[_0x37b4bf(0x323)];return{'onStateChange':(_0x43d952,_0x40ccc5)=>{var _0x4c83f0=_0x37b4bf;if(_0x43d952!==this[_0x4c83f0(0x2f4)])throw new Error(_0x4c83f0(0x170)+_0x43d952[_0x4c83f0(0xd3)]+_0x4c83f0(0x187)+_0x40ccc5[_0x4c83f0(0xd3)]+'\x0aCurrent:\x20'+this['_state'][_0x4c83f0(0xd3)]);this[_0x4c83f0(0x357)](_0x40ccc5);},'onSendChangeset':_0xfd175a=>{var _0x2d5813=_0x37b4bf;_0xfd175a['sid']||(_0xfd175a[_0x2d5813(0x2d3)]=this['_changesetSessionId'],_0xfd175a['reqId']=++this['_changesetReqId']);const _0x52aefa={'eventID':_0x10c22b[_0x2d5813(0x328)],'data':{'unitID':_0xfd175a[_0x2d5813(0x323)],'unitType':this[_0x2d5813(0x183)],'changeset':_0xfd175a,'memberID':this['session'][_0x2d5813(0x14d)]()}};this[_0x2d5813(0x224)][_0x2d5813(0x14f)](_0x52aefa,this[_0x2d5813(0x323)]);},'onMissingChangesets':({from:_0x2f7ca2,to:_0x2ed867})=>{var _0x5a6a58=_0x37b4bf;this['_logService']['debug']('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x2f7ca2+_0x5a6a58(0x131)+_0x2ed867);const _0x82ce6b={'eventID':_0x10c22b[_0x5a6a58(0x32f)],'data':{'unitID':_0x423ed8,'unitType':this[_0x5a6a58(0x183)],'from':_0x2f7ca2,'to':_0x2ed867}};this[_0x5a6a58(0x224)][_0x5a6a58(0x14f)](_0x82ce6b,this[_0x5a6a58(0x323)]);}};}async[_0x1ce106(0xe2)](_0x4d4a9b){var _0x14c0cc=_0x1ce106,_0x3f2db6,_0x491eaf,_0x3fb7c2;const _0xd7da32=await((_0x3f2db6=this[_0x14c0cc(0x2a8)])==null?void 0x0:_0x3f2db6['loadOfflineData'](this[_0x14c0cc(0x323)])),_0x540394=(_0x491eaf=_0xd7da32==null?void 0x0:_0xd7da32[_0x14c0cc(0x24d)])!=null?_0x491eaf:[],_0x10702c=(_0x3fb7c2=_0xd7da32==null?void 0x0:_0xd7da32[_0x14c0cc(0x330)])!=null?_0x3fb7c2:null,_0xad0c2a=!!(_0x10702c!=null&&_0x10702c['sid'])&&!!(_0x10702c!=null&&_0x10702c['reqId']);this['_changesetSessionId']=_0xad0c2a?_0x10702c[_0x14c0cc(0x2d3)]:_0x4c02dc(),this[_0x14c0cc(0x351)]=_0xad0c2a?_0x10702c[_0x14c0cc(0x23b)]:0x0;const _0x8a2517=this[_0x14c0cc(0x323)];try{this[_0x14c0cc(0x178)](_0x10702c,_0x540394);}catch(_0x431a30){this[_0x14c0cc(0x331)][_0x14c0cc(0x211)](_0x431a30);}const _0x2a07a3=this['_createHandler']();if(_0x4d4a9b){const _0x16c5e0=Ri(this['_injector'],_0x8a2517,this['_type'],_0x10702c,_0x540394,_0x2a07a3);return _0x16c5e0 instanceof re?_0x16c5e0[_0x14c0cc(0xe8)]():(_0x16c5e0 instanceof ae||_0x16c5e0 instanceof _e)&&_0x16c5e0[_0x14c0cc(0x303)](),_0x16c5e0;}return this[_0x14c0cc(0x105)]['createInstance'](ue,_0x8a2517,this['_type'],_0x10702c,_0x540394,_0x2a07a3);}[_0x1ce106(0x178)](_0x5c2baa,_0x275af0){var _0x123c2d=_0x1ce106,_0x1c66e5,_0x1bf8a4;const _0x2f9c29=this[_0x123c2d(0xaa)][_0x123c2d(0x377)][_0x123c2d(0x1f3)](this[_0x123c2d(0xaa)][_0x123c2d(0x377)][_0x123c2d(0x340)]()[_0x123c2d(0x34e)]);(_0x1c66e5=_0x2f9c29((_0x5c2baa==null?void 0x0:_0x5c2baa[_0x123c2d(0x24d)])||[],null))==null||_0x1c66e5['forEach'](_0x57775a=>this[_0x123c2d(0xfe)][_0x123c2d(0x137)](_0x57775a['id'],_0x57775a[_0x123c2d(0x238)])),(_0x1bf8a4=_0x2f9c29(_0x275af0||[],null))==null||_0x1bf8a4[_0x123c2d(0x27c)](_0x2fea31=>this[_0x123c2d(0xfe)][_0x123c2d(0x137)](_0x2fea31['id'],_0x2fea31[_0x123c2d(0x238)]));}};st=wt([H(0x3,_0x462e36(_0x454bc4)),H(0x4,_0x462e36(_0x182158)),H(0x5,_0x462e36(_0x263ef2)),H(0x6,_0x462e36(_0x5c44a5)),H(0x7,_0x462e36(ve)),H(0x8,_0x103e27),H(0x9,_0x5a4b18),H(0xa,_0x26f4a9),H(0xb,_0x26bebd(ht)),H(0xc,_0x26bebd(J))],st);let St=class extends st{constructor(_0x82a2ee,_0x581990,_0x293f2d,_0x274a53,_0x25326a,_0x26586c,_0xd9e632,_0x31c888,_0x468c48,_0x25ff4d,_0x1fbf92,_0x1a200d,_0x3895e4){var _0xc1991f=_0x1ce106;super(_0x82a2ee,_0x293f2d,_0x581990,_0x274a53,_0x25326a,_0x26586c,_0xd9e632,_0x31c888,_0x468c48,_0x25ff4d,_0x1fbf92,_0x1a200d,_0x3895e4),N(this,_0xc1991f(0x37b),null),(this[_0xc1991f(0x323)]=_0x82a2ee,this[_0xc1991f(0x260)]=_0x581990);}[_0x1ce106(0x30e)](_0x4acd6c){var _0x44f80b=_0x1ce106;this[_0x44f80b(0x37b)]=_0x4acd6c;}['dispose'](){var _0xe0ca72=_0x1ce106;this[_0xe0ca72(0x37b)]=null,super[_0xe0ca72(0x1a5)]();}['_createHandler'](){var _0x2ccbd0=_0x1ce106;const _0x378671=super[_0x2ccbd0(0xb8)]();return _0x378671[_0x2ccbd0(0x248)]=_0x9aed27=>{var _0x3817e6=_0x2ccbd0,_0xba65ad,_0xe74b3b;return(_0xe74b3b=(_0xba65ad=this[_0x3817e6(0x37b)])==null?void 0x0:_0xba65ad['onTransformIME'])==null?void 0x0:_0xe74b3b['call'](_0xba65ad,_0x9aed27);},_0x378671[_0x2ccbd0(0x32d)]=_0x58d2e0=>{var _0x1ca3a1=_0x2ccbd0,_0x502fa8,_0x4607ef;return(_0x4607ef=(_0x502fa8=this[_0x1ca3a1(0x37b)])==null?void 0x0:_0x502fa8['onTransformState'])==null?void 0x0:_0x4607ef[_0x1ca3a1(0x17b)](_0x502fa8,_0x58d2e0);},_0x378671[_0x2ccbd0(0xa7)]=_0x26afc4=>{var _0x8c92a6=_0x2ccbd0,_0x18017d,_0x4e2a2f;return(_0x4e2a2f=(_0x18017d=this[_0x8c92a6(0x37b)])==null?void 0x0:_0x18017d[_0x8c92a6(0xa7)])==null?void 0x0:_0x4e2a2f[_0x8c92a6(0x17b)](_0x18017d,_0x26afc4);},_0x378671[_0x2ccbd0(0x114)]=_0x28eea4=>{var _0x45fc13=_0x2ccbd0,_0x12fbe1,_0x22cade;return(_0x22cade=(_0x12fbe1=this[_0x45fc13(0x37b)])==null?void 0x0:_0x12fbe1[_0x45fc13(0x114)])==null?void 0x0:_0x22cade[_0x45fc13(0x17b)](_0x12fbe1,_0x28eea4);},_0x378671[_0x2ccbd0(0x332)]=_0x7d03fd=>{var _0x1403df=_0x2ccbd0,_0x41c134,_0x80fede,_0x7f95d0;if(!((_0x41c134=this[_0x1403df(0x37b)])!=null&&_0x41c134['onTransformRemoteChangesetByIMECache']))throw new Error(_0x1403df(0x215));return(_0x7f95d0=(_0x80fede=this[_0x1403df(0x37b)])==null?void 0x0:_0x80fede[_0x1403df(0x332)])==null?void 0x0:_0x7f95d0[_0x1403df(0x17b)](_0x80fede,_0x7d03fd);},_0x378671[_0x2ccbd0(0xc1)]=_0x49ba4b=>{var _0x5a2da3=_0x2ccbd0,_0x20cf14,_0x11c5dc,_0xe1ac4d;if(!((_0x20cf14=this[_0x5a2da3(0x37b)])!=null&&_0x20cf14[_0x5a2da3(0xc1)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xe1ac4d=(_0x11c5dc=this['_handlerCallback'])==null?void 0x0:_0x11c5dc[_0x5a2da3(0xc1)])==null?void 0x0:_0xe1ac4d[_0x5a2da3(0x17b)](_0x11c5dc,_0x49ba4b);},_0x378671;}async[_0x1ce106(0xbf)](){var _0x2ee427=_0x1ce106;const _0x3095fe=await super[_0x2ee427(0xbf)]();return this[_0x2ee427(0x175)](this[_0x2ee427(0xfe)][_0x2ee427(0x11d)]((_0x1a6062,_0x52ac53)=>{var _0x2e0628=_0x2ee427;if(_0x1a6062[_0x2e0628(0x260)]!==_0x59c115[_0x2e0628(0x2bc)]||_0x52ac53!=null&&_0x52ac53[_0x2e0628(0x319)]||_0x52ac53!=null&&_0x52ac53[_0x2e0628(0x205)]||_0x1a6062['id']===_0x5d5c10['id'])return;const _0x4b4bc8=_0x1a6062[_0x2e0628(0x238)];if((_0x4b4bc8==null?void 0x0:_0x4b4bc8[_0x2e0628(0x33b)])!==this['unitID'])return;const _0x2423cb=_0x1a6062,_0x2ff982=this['_compressMutationService'][_0x2e0628(0x377)][_0x2e0628(0x1f3)](this[_0x2e0628(0xaa)][_0x2e0628(0x377)][_0x2e0628(0x340)]()['COMPRESS_MUTATION_SEND'])([_0x2423cb],null)||[_0x2423cb];this[_0x2e0628(0x1f0)](_0x2ff982[0x0]);})),_0x3095fe;}};St=wt([H(0x3,_0x462e36(_0x454bc4)),H(0x4,_0x462e36(_0x182158)),H(0x5,_0x462e36(_0x263ef2)),H(0x6,_0x462e36(_0x5c44a5)),H(0x7,_0x462e36(ve)),H(0x8,_0x103e27),H(0x9,_0x5a4b18),H(0xa,_0x26f4a9),H(0xb,_0x26bebd(ht)),H(0xc,_0x26bebd(J))],St);let Et=class extends st{constructor(_0x56e00a,_0x47e9b3,_0x204c21,_0x51518,_0xe4235a,_0x102f3d,_0x2a2d7b,_0x4dffc5,_0x496641,_0x500f40,_0x55d489,_0x430100,_0x281d81,_0x7a5172){var _0xabd83=_0x1ce106;super(_0x56e00a,_0x204c21,_0x47e9b3,_0x51518,_0xe4235a,_0x102f3d,_0x2a2d7b,_0x496641,_0x500f40,_0x55d489,_0x430100,_0x281d81,_0x7a5172),this['unitID']=_0x56e00a,this[_0xabd83(0x260)]=_0x47e9b3,this[_0xabd83(0x2d9)]=_0x4dffc5;}[_0x1ce106(0xb8)](){var _0x412196=_0x1ce106;const _0x3e2291=super[_0x412196(0xb8)]();return _0x3e2291[_0x412196(0xa7)]=_0x75d214=>this[_0x412196(0x2d9)][_0x412196(0x189)](_0x75d214),_0x3e2291;}async[_0x1ce106(0xbf)](){var _0x49544f=_0x1ce106;const _0x55fd5a=await super[_0x49544f(0xbf)]();return this[_0x49544f(0x175)](this[_0x49544f(0xfe)][_0x49544f(0x11d)]((_0x3cf935,_0x504b61)=>{var _0x91e773=_0x49544f;if(_0x3cf935['type']!==_0x59c115[_0x91e773(0x2bc)]||_0x504b61!=null&&_0x504b61[_0x91e773(0x319)]||_0x504b61!=null&&_0x504b61[_0x91e773(0x205)])return;const _0x44fce0=_0x3cf935[_0x91e773(0x238)];if((_0x44fce0==null?void 0x0:_0x44fce0[_0x91e773(0x33b)])!==this[_0x91e773(0x323)])return;const _0x3e01cc=_0x3cf935,_0x4c4f62=this[_0x91e773(0xaa)]['interceptor']['fetchThroughInterceptors'](this[_0x91e773(0xaa)][_0x91e773(0x377)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x3e01cc],null)||[_0x3e01cc];this[_0x91e773(0x1f0)](_0x4c4f62[0x0]);})),_0x55fd5a;}};Et=wt([H(0x3,_0x462e36(_0x454bc4)),H(0x4,_0x462e36(_0x182158)),H(0x5,_0x462e36(_0x263ef2)),H(0x6,_0x462e36(_0x5c44a5)),H(0x7,_0x462e36(it)),H(0x8,_0x462e36(ve)),H(0x9,_0x103e27),H(0xa,_0x5a4b18),H(0xb,_0x26f4a9),H(0xc,_0x26bebd(ht)),H(0xd,_0x26bebd(J))],Et);function _0x654c(_0x30da33,_0xdbaca){var _0x36486d=_0x3648();return _0x654c=function(_0x654c3c,_0x2a147f){_0x654c3c=_0x654c3c-0x93;var _0x2be59b=_0x36486d[_0x654c3c];return _0x2be59b;},_0x654c(_0x30da33,_0xdbaca);}var Qs=Object['getOwnPropertyDescriptor'],en=(_0x496091,_0x566672,_0x17edc1,_0x3f8052)=>{var _0x28e2c7=_0x1ce106;for(var _0x2a3e41=_0x3f8052>0x1?void 0x0:_0x3f8052?Qs(_0x566672,_0x17edc1):_0x566672,_0x209439=_0x496091[_0x28e2c7(0x26d)]-0x1,_0x5e5794;_0x209439>=0x0;_0x209439--)(_0x5e5794=_0x496091[_0x209439])&&(_0x2a3e41=_0x5e5794(_0x2a3e41)||_0x2a3e41);return _0x2a3e41;},Be=(_0x27ea6f,_0x25a990)=>(_0x388dcb,_0x20ae2f)=>_0x25a990(_0x388dcb,_0x20ae2f,_0x27ea6f);let nt=class extends _0x589295{constructor(_0x223804,_0x34242d,_0x4eea9f,_0x135750){var _0x29370d=_0x1ce106,_0x175518;super(),N(this,_0x29370d(0x172),new Map()),N(this,_0x29370d(0x31d),new _0x38504a()),N(this,_0x29370d(0xd5),this[_0x29370d(0x31d)][_0x29370d(0x14a)]()),(this[_0x29370d(0x105)]=_0x223804,this['_collabSessionService']=_0x34242d,this[_0x29370d(0x23f)]=_0x4eea9f,this['_univerInstanceService']=_0x135750,((_0x175518=this[_0x29370d(0x23f)][_0x29370d(0x18a)](K))==null?void 0x0:_0x175518[_0x29370d(0x154)])!==!0x1&&this[_0x29370d(0xbf)]());}[_0x1ce106(0x1a5)](){var _0x2ae9f6=_0x1ce106;super[_0x2ae9f6(0x1a5)](),this['_entities']['forEach'](_0xaba581=>_0xaba581[_0x2ae9f6(0x1a5)]()),this[_0x2ae9f6(0x172)][_0x2ae9f6(0xb1)]();}[_0x1ce106(0x352)](_0x5c1cea){var _0x13a20e=_0x1ce106,_0xdb9092;return(_0xdb9092=this[_0x13a20e(0x172)][_0x13a20e(0x36d)](_0x5c1cea))!=null?_0xdb9092:null;}[_0x1ce106(0x166)](_0x20782d){var _0x296ed0=_0x1ce106;const _0x3adcf8=this[_0x296ed0(0x352)](_0x20782d);return _0x3adcf8?_0x2ce6f0(_0x3adcf8):this['_entityInit$'][_0x296ed0(0xd4)](_0xc72917(_0x48f97f=>_0x48f97f[_0x296ed0(0x323)]===_0x20782d));}['readyForCollab'](_0x1eab81){var _0x116b35=_0x1ce106;return _0x51e09f(this[_0x116b35(0x166)](_0x1eab81)['pipe'](_0x4c135a(()=>{})));}[_0x1ce106(0xbf)](){var _0x51acd8=_0x1ce106;this[_0x51acd8(0x2d8)][_0x51acd8(0x18e)](_0x3e7358[_0x51acd8(0x112)])[_0x51acd8(0xd4)](_0x39fb4e(this[_0x51acd8(0x184)]),_0x1ae872(0x10))[_0x51acd8(0xa2)](async _0x39c2ed=>{var _0x587a59=_0x51acd8;const _0xfcba10=_0x39c2ed[_0x587a59(0x11f)](),_0x2a13ba=await this[_0x587a59(0x2a0)](_0xfcba10,Z[_0x587a59(0x112)]);this['_entities'][_0x587a59(0x126)](_0xfcba10,_0x2a13ba);}),this[_0x51acd8(0x2d8)][_0x51acd8(0x18e)](_0x3e7358[_0x51acd8(0x2eb)])[_0x51acd8(0xd4)](_0x39fb4e(this['dispose$']),_0x1ae872(0x10))['pipe'](_0xc72917(_0x552952=>!_0x552952[_0x51acd8(0x11f)]()[_0x51acd8(0x18b)]('__')))[_0x51acd8(0xa2)](async _0x221146=>{var _0x1fefeb=_0x51acd8;const _0xce0804=_0x221146['getUnitId'](),_0x3cb5f5=await this[_0x1fefeb(0x2a0)](_0xce0804,Z[_0x1fefeb(0x2eb)]);this[_0x1fefeb(0x172)][_0x1fefeb(0x126)](_0xce0804,_0x3cb5f5);}),_0x43d5e8(this['_univerInstanceService'][_0x51acd8(0x309)](_0x3e7358['UNIVER_SHEET']),this[_0x51acd8(0x2d8)][_0x51acd8(0x309)](_0x3e7358[_0x51acd8(0x2eb)]))[_0x51acd8(0xd4)](_0x39fb4e(this[_0x51acd8(0x184)]))[_0x51acd8(0xa2)](_0x2af024=>{var _0x58c23d=_0x51acd8;const _0x581914=_0x2af024[_0x58c23d(0x11f)](),_0x4783a2=this[_0x58c23d(0x172)][_0x58c23d(0x36d)](_0x581914);_0x4783a2&&(_0x4783a2['dispose'](),this['_entities'][_0x58c23d(0x262)](_0x581914));});}async[_0x1ce106(0x2a0)](_0x12a929,_0x18918d){var _0x86f262=_0x1ce106;const _0x59af5d=await this['_collabSessionService']['requireSession'](_0x12a929),_0x573ca4=this[_0x86f262(0x105)][_0x86f262(0x164)](this[_0x86f262(0x2fd)](_0x18918d),_0x12a929,_0x18918d,_0x59af5d);return await _0x573ca4[_0x86f262(0x35f)](),this['_entityInit$'][_0x86f262(0x252)](_0x573ca4),_0x573ca4;}[_0x1ce106(0x2fd)](_0x790aba){var _0x5c5179=_0x1ce106;switch(_0x790aba){case Z[_0x5c5179(0x2eb)]:return St;case Z[_0x5c5179(0x112)]:return Et;default:throw new Error(_0x5c5179(0x203)+_0x790aba);}}};nt=en([Be(0x0,_0x462e36(_0x454bc4)),Be(0x1,_0x462e36(Le)),Be(0x2,_0x4a5014),Be(0x3,_0x1f74c9)],nt);var tn=Object[_0x1ce106(0x29d)],sn=(_0x5e5748,_0x40ec81,_0x204863,_0x324c48)=>{var _0x2d5deb=_0x1ce106;for(var _0x40ff60=_0x324c48>0x1?void 0x0:_0x324c48?tn(_0x40ec81,_0x204863):_0x40ec81,_0x545fd9=_0x5e5748[_0x2d5deb(0x26d)]-0x1,_0x592a87;_0x545fd9>=0x0;_0x545fd9--)(_0x592a87=_0x5e5748[_0x545fd9])&&(_0x40ff60=_0x592a87(_0x40ff60)||_0x40ff60);return _0x40ff60;},Yt=(_0x4ec4a8,_0x1ff415)=>(_0x450dae,_0x460375)=>_0x1ff415(_0x450dae,_0x460375,_0x4ec4a8);const nn=_0x1ce106(0x264),rn='Univer';let It=class extends _0x17d42d{constructor(_0xf3356c,_0x45ced1){var _0x3e46f7=_0x1ce106;super(),this[_0x3e46f7(0x2d8)]=_0xf3356c,this['_configService']=_0x45ced1,this['_init']();}[_0x1ce106(0xbf)](){var _0x1b8b81=_0x1ce106;this['disposeWithMe'](this['_univerInstanceService'][_0x1b8b81(0x156)][_0x1b8b81(0xa2)](()=>{var _0x168b58=_0x1b8b81,_0x8cb9;const _0x5ae50d=this[_0x168b58(0x2d8)][_0x168b58(0xb3)]();let _0x573657=(_0x8cb9=this[_0x168b58(0x23f)][_0x168b58(0x18a)](nn))!=null?_0x8cb9:rn;_0x5ae50d instanceof _0x28e34f&&(_0x573657=_0x5ae50d[_0x168b58(0x118)]),document[_0x168b58(0x381)]=_0x573657;}));}};It=sn([Yt(0x0,_0x1f74c9),Yt(0x1,_0x4a5014)],It);var an=Object[_0x1ce106(0x29d)],on=(_0x453e5e,_0x5924fb,_0xe426fb,_0x4f23a8)=>{var _0x2f9836=_0x1ce106;for(var _0x4aba01=_0x4f23a8>0x1?void 0x0:_0x4f23a8?an(_0x5924fb,_0xe426fb):_0x5924fb,_0x1a1bef=_0x453e5e[_0x2f9836(0x26d)]-0x1,_0x133ce0;_0x1a1bef>=0x0;_0x1a1bef--)(_0x133ce0=_0x453e5e[_0x1a1bef])&&(_0x4aba01=_0x133ce0(_0x4aba01)||_0x4aba01);return _0x4aba01;},dt=(_0x312a36,_0x24368e)=>(_0x2f209a,_0x3c9a0e)=>_0x24368e(_0x2f209a,_0x3c9a0e,_0x312a36);let rt=class{constructor(_0x3e200f,_0x390095,_0x5a7be3){var _0x10d80b=_0x1ce106;this[_0x10d80b(0x23f)]=_0x3e200f,this['_httpService']=_0x390095,this['localeService']=_0x5a7be3,this[_0x10d80b(0x35f)]();}[_0x1ce106(0x35f)](){var _0x346040=_0x1ce106;this[_0x346040(0x1b6)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x48aab8,_0x3f6a5b)=>_0x3f6a5b(_0x48aab8)[_0x346040(0xd4)](_0x2d4b5a(async _0x426f82=>{var _0x422968=_0x346040;const _0x548ef7=_0x426f82;if(_0x548ef7[_0x422968(0xd3)]===0x191){if(typeof window>'u')throw new Error(_0x422968(0x182));if(window[_0x422968(0x2ef)](this[_0x422968(0x2b3)]['t']('auth.needGotoLoginAlert'))){const _0x28fb0b=window[_0x422968(0xbd)](window['location'][_0x422968(0xf7)]);window['location'][_0x422968(0xf7)]=this[_0x422968(0x18f)]()+_0x422968(0x17c)+_0x28fb0b;}}return _0x548ef7;}))});}['_getLoginPath'](){var _0x2e241b=_0x1ce106,_0x589b08,_0x143b01;const _0x2dd830=this[_0x2e241b(0x23f)][_0x2e241b(0x18a)](ys),_0x1e0bb2=this[_0x2e241b(0x23f)][_0x2e241b(0x18a)](K);return(_0x143b01=(_0x589b08=_0x1e0bb2==null?void 0x0:_0x1e0bb2['loginUrlKey'])!=null?_0x589b08:_0x2dd830)!=null?_0x143b01:Ns;}};rt=on([dt(0x0,_0x4a5014),dt(0x1,_0x462e36(_0x91e7e9)),dt(0x2,_0x462e36(_0x263ef2))],rt);var cn=Object[_0x1ce106(0x29d)],hn=(_0x22bd7f,_0x2aedd3,_0x4cfb8a,_0x223013)=>{var _0x1cd584=_0x1ce106;for(var _0x4e7f03=_0x223013>0x1?void 0x0:_0x223013?cn(_0x2aedd3,_0x4cfb8a):_0x2aedd3,_0x4b51f7=_0x22bd7f[_0x1cd584(0x26d)]-0x1,_0x21888f;_0x4b51f7>=0x0;_0x4b51f7--)(_0x21888f=_0x22bd7f[_0x4b51f7])&&(_0x4e7f03=_0x21888f(_0x4e7f03)||_0x4e7f03);return _0x4e7f03;},Kt=(_0xaf5a5f,_0x2c715a)=>(_0x358d93,_0x4b9681)=>_0x2c715a(_0x358d93,_0x4b9681,_0xaf5a5f);const bi=_0x1ce106(0x1f8),_n=_0x1ce106(0x245);let Tt=class extends _0x17d42d{constructor(_0x128f33,_0x40a68f){var _0x303c1d=_0x1ce106;super(),this[_0x303c1d(0x19b)]=_0x128f33,this[_0x303c1d(0x23f)]=_0x40a68f,this[_0x303c1d(0x268)]();}[_0x1ce106(0x268)](){var _0x255f5a=_0x1ce106;const _0x1c412b=this;this[_0x255f5a(0x175)](this[_0x255f5a(0x19b)][_0x255f5a(0x1c1)]({'priority':0x3e7,'interceptor':_0x456d40({'isMatch'(_0x21f442){var _0x385548=_0x255f5a,_0x37dbe2;if(_0x21f442[_0x385548(0x250)]==='POST'&&((_0x37dbe2=_0x21f442[_0x385548(0x2e5)])!=null&&_0x37dbe2[_0x385548(0x364)])){const {objectID:_0x3b857e,objectType:_0x441e6b}=_0x21f442['requestParams'][_0x385548(0x364)]||{};if(!_0x3b857e||_0x441e6b===void 0x0)return!0x1;const _0x19ff31=_0x1c412b[_0x385548(0x392)]()+'/'+_0x441e6b+'/object/'+_0x3b857e+'/allowed';if(_0x21f442[_0x385548(0xf3)]===_0x19ff31)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x29bef2){var _0x21c1d4=_0x255f5a,_0x1dda7b;return(_0x1dda7b=_0x29bef2[_0x21c1d4(0x2e5)])==null?void 0x0:_0x1dda7b[_0x21c1d4(0x364)];},'mergeParamsToRequest'(_0x18a519,_0x32b62f){var _0x4728f5=_0x255f5a;const _0x5da415=_0x1c412b[_0x4728f5(0x392)]()+_0x4728f5(0x12a),_0x3d58b6=_0x18a519[_0x4728f5(0x369)]((_0x6036ed,_0x2427cd)=>{var _0x344251=_0x4728f5;const {unitID:_0x3bec8f,objectID:_0x4dbdbd,objectType:_0x5cb0ed,actions:_0x1e9620}=_0x2427cd;return _0x6036ed[_0x3bec8f]||(_0x6036ed[_0x3bec8f]={}),_0x6036ed[_0x3bec8f][_0x4dbdbd]||(_0x6036ed[_0x3bec8f][_0x4dbdbd]={'objectID':_0x4dbdbd,'objectType':_0x5cb0ed,'actions':[]}),_0x6036ed[_0x3bec8f][_0x4dbdbd][_0x344251(0x2da)][_0x344251(0x34a)](..._0x1e9620),_0x6036ed;},{}),_0x18c21f=[];for(const _0x19ec59 in _0x3d58b6)for(const _0x205e34 in _0x3d58b6[_0x19ec59]){const {actions:_0x5f0908,objectType:_0x27db4a}=_0x3d58b6[_0x19ec59][_0x205e34],_0x20e1a4=[...new Set(_0x5f0908)];_0x18c21f[_0x4728f5(0x34a)]({'unitID':_0x19ec59,'objectID':_0x205e34,'objectType':_0x27db4a,'actions':_0x20e1a4});}return new _0x3734ec(_0x4728f5(0x379),_0x5da415,{'headers':_0x32b62f[_0x4728f5(0x244)],'withCredentials':_0x32b62f[_0x4728f5(0x21d)],'responseType':_0x32b62f[_0x4728f5(0x28b)],'body':{'requests':_0x18c21f}});}},{'distributeResult'(_0x59e30b,_0x13fa42){var _0x249035=_0x255f5a;const {objectActions:_0x2c5721}=_0x59e30b;return _0x13fa42[_0x249035(0x17a)](_0x175f32=>{var _0x21a348=_0x249035;const {unitID:_0x977466,objectID:_0x43d00c,actions:_0x21b126}=_0x175f32,_0x1f818e=_0x2c5721[_0x21a348(0x275)](_0x5ad835=>_0x5ad835[_0x21a348(0x323)]===_0x977466&&_0x5ad835[_0x21a348(0x124)]===_0x43d00c),_0x2ab4cd=_0x21b126[_0x21a348(0x17a)](_0x5ec0f0=>_0x1f818e==null?void 0x0:_0x1f818e['actions']['find'](_0x470903=>_0x470903[_0x21a348(0x1dc)]===_0x5ec0f0))['filter'](_0xd47b30=>!!_0xd47b30);return{'config':_0x175f32,'result':{'actions':_0x2ab4cd,'error':_0x59e30b[_0x21a348(0x211)]}};});}})}));}[_0x1ce106(0x392)](){var _0x1ab3d0=_0x1ce106,_0x10c904,_0x198402;const _0x4586e9=this['_configService'][_0x1ab3d0(0x18a)](bi),_0xf19825=this[_0x1ab3d0(0x23f)][_0x1ab3d0(0x18a)](K);return(_0x198402=(_0x10c904=_0xf19825==null?void 0x0:_0xf19825['authzUrl'])!=null?_0x10c904:_0x4586e9)!=null?_0x198402:_n;}async[_0x1ce106(0x1da)](_0x619269){var _0x4cde30=_0x1ce106;const _0x38000d=this[_0x4cde30(0x392)]()+'/'+_0x619269['objectType']+_0x4cde30(0x1e6);return(await this[_0x4cde30(0x19b)][_0x4cde30(0xf1)](_0x38000d,{'body':_0x619269}))[_0x4cde30(0x364)][_0x4cde30(0x124)]||'';}async[_0x1ce106(0x26c)](_0x1d3257){var _0xeb0fae=_0x1ce106;const _0x1964b3=this[_0xeb0fae(0x392)]()+_0xeb0fae(0x219);return(await this[_0xeb0fae(0x19b)][_0xeb0fae(0xf1)](_0x1964b3,{'body':_0x1d3257}))[_0xeb0fae(0x364)][_0xeb0fae(0x1fa)];}async[_0x1ce106(0x304)](_0x3faece){var _0x295227=_0x1ce106,_0x22eee7,_0x23fe3d;const _0x55b8cb=this[_0x295227(0x392)]()+'/'+_0x3faece[_0x295227(0x2fb)]+'/object/'+_0x3faece[_0x295227(0x124)],_0x48ec4c=await this[_0x295227(0x19b)][_0x295227(0x325)](_0x55b8cb,{'body':_0x3faece});if(((_0x23fe3d=(_0x22eee7=_0x48ec4c==null?void 0x0:_0x48ec4c[_0x295227(0x364)])==null?void 0x0:_0x22eee7[_0x295227(0x211)])==null?void 0x0:_0x23fe3d[_0x295227(0x106)])!==0x1)throw new Error(_0x295227(0x2c4));}async[_0x1ce106(0x1b8)](_0x37a0c8){var _0x50ae1a=_0x1ce106;const _0x6bd346=this['_getAPIPrefixPath']()+'/'+_0x37a0c8[_0x50ae1a(0x2fb)]+'/object/'+_0x37a0c8['objectID']+_0x50ae1a(0x16d);return(await this[_0x50ae1a(0x19b)][_0x50ae1a(0xf1)](_0x6bd346,{'body':_0x37a0c8}))['body'][_0x50ae1a(0x2da)];}async[_0x1ce106(0x372)](_0x5a4018){var _0x4a0f17=_0x1ce106;const _0x3e1e03=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x4a0f17(0xf1)](_0x3e1e03,{'body':{'requests':_0x5a4018}}))[_0x4a0f17(0x364)][_0x4a0f17(0x1aa)];}async['listRoles'](_0x2cd223){var _0x41bba4=_0x1ce106;const _0x4547f3=this[_0x41bba4(0x392)]()+'/'+_0x2cd223[_0x41bba4(0x2fb)]+_0x41bba4(0x335),_0x2ef6af=await this[_0x41bba4(0x19b)][_0x41bba4(0xf1)](_0x4547f3,{'body':_0x2cd223});return{'roles':_0x2ef6af[_0x41bba4(0x364)][_0x41bba4(0x273)],'actions':_0x2ef6af['body'][_0x41bba4(0x2da)]};}async[_0x1ce106(0x1c9)](_0x2822f3){var _0x2b0326=_0x1ce106;const _0xb36b87=this[_0x2b0326(0x392)]()+_0x2b0326(0x1c6);await this[_0x2b0326(0x19b)][_0x2b0326(0x262)](_0xb36b87,{'params':{'collaboratorID':_0x2822f3[_0x2b0326(0x258)],'objectID':_0x2822f3[_0x2b0326(0x124)],'unitID':_0x2822f3[_0x2b0326(0x323)]}});}async[_0x1ce106(0x339)](_0x55a46e){var _0x381bc7=_0x1ce106;const _0x1709fd=this[_0x381bc7(0x392)]()+_0x381bc7(0x1c6);await this[_0x381bc7(0x19b)]['patch'](_0x1709fd,{'body':_0x55a46e});}async[_0x1ce106(0x2ff)](_0x49c20d){var _0x442101=_0x1ce106;const _0x17e997=this[_0x442101(0x392)]()+_0x442101(0x1c6);await this[_0x442101(0x19b)][_0x442101(0xf1)](_0x17e997,{'body':_0x49c20d});}async[_0x1ce106(0x1d6)](_0x3efb83){var _0xd5e32d=_0x1ce106;const _0x36d74b=this[_0xd5e32d(0x392)]()+'/collaborator';return(await this[_0xd5e32d(0x19b)][_0xd5e32d(0x36d)](_0x36d74b,{'params':{'objectID':_0x3efb83[_0xd5e32d(0x124)],'unitID':_0x3efb83[_0xd5e32d(0x323)]}}))['body'][_0xd5e32d(0x388)];}async['putCollaborators'](_0x3b80c3){var _0x10bda1=_0x1ce106;const _0x4daa1f=this[_0x10bda1(0x392)]()+_0x10bda1(0x1c6);await this[_0x10bda1(0x19b)][_0x10bda1(0x325)](_0x4daa1f,{'body':_0x3b80c3});}};Tt=hn([Kt(0x0,_0x462e36(_0x91e7e9)),Kt(0x1,_0x462e36(_0x4a5014))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x1d5ae0){var _0xa54703=_0x1ce106;return _0x1d5ae0&&_0x1d5ae0[_0xa54703(0x2df)]&&Object[_0xa54703(0x1ca)]['hasOwnProperty']['call'](_0x1d5ae0,'default')?_0x1d5ae0['default']:_0x1d5ae0;}var Ve={'exports':{}};function ln(_0x51937c){var _0x4c972d=_0x1ce106;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x51937c+_0x4c972d(0x11e));}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){var _0x197079=_0x1ce106;return qt||(qt=0x1,function(_0x4f9695,_0x195544){(function(_0x3c2f87,_0x45bdf5){var _0x135d7d=_0x654c;_0x4f9695[_0x135d7d(0xc2)]=_0x45bdf5();}(un,function(){var _0x4f05ac=_0x4f05ac||function(_0x1f095e,_0x42b37e){var _0x4eb7ea=_0x654c,_0xb3d361;if(typeof window<'u'&&window[_0x4eb7ea(0x213)]&&(_0xb3d361=window[_0x4eb7ea(0x213)]),typeof self<'u'&&self[_0x4eb7ea(0x213)]&&(_0xb3d361=self['crypto']),typeof globalThis<'u'&&globalThis[_0x4eb7ea(0x213)]&&(_0xb3d361=globalThis[_0x4eb7ea(0x213)]),!_0xb3d361&&typeof window<'u'&&window['msCrypto']&&(_0xb3d361=window[_0x4eb7ea(0x318)]),!_0xb3d361&&typeof ft<'u'&&ft[_0x4eb7ea(0x213)]&&(_0xb3d361=ft[_0x4eb7ea(0x213)]),!_0xb3d361&&typeof ln==_0x4eb7ea(0x161))try{_0xb3d361=require(_0x4eb7ea(0x213));}catch{}var _0x2ea151=function(){var _0x2c869a=_0x4eb7ea;if(_0xb3d361){if(typeof _0xb3d361[_0x2c869a(0x344)]=='function')try{return _0xb3d361[_0x2c869a(0x344)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb3d361[_0x2c869a(0xcd)]=='function')try{return _0xb3d361[_0x2c869a(0xcd)](0x4)[_0x2c869a(0xed)]();}catch{}}throw new Error(_0x2c869a(0x2aa));},_0x5ba829=Object[_0x4eb7ea(0x1da)]||(function(){function _0x241375(){}return function(_0x2ff30b){var _0x441dd8=_0x654c,_0x4d8e3e;return _0x241375[_0x441dd8(0x1ca)]=_0x2ff30b,_0x4d8e3e=new _0x241375(),_0x241375[_0x441dd8(0x1ca)]=null,_0x4d8e3e;};}()),_0x51274c={},_0x3d365d=_0x51274c[_0x4eb7ea(0x1a6)]={},_0x6ffdf5=_0x3d365d[_0x4eb7ea(0x115)]=(function(){return{'extend':function(_0x2fdc5e){var _0x2f2a5e=_0x654c,_0x21ceea=_0x5ba829(this);return _0x2fdc5e&&_0x21ceea[_0x2f2a5e(0x16a)](_0x2fdc5e),(!_0x21ceea['hasOwnProperty'](_0x2f2a5e(0x35f))||this[_0x2f2a5e(0x35f)]===_0x21ceea[_0x2f2a5e(0x35f)])&&(_0x21ceea[_0x2f2a5e(0x35f)]=function(){var _0x5f2bbf=_0x2f2a5e;_0x21ceea[_0x5f2bbf(0x1e1)][_0x5f2bbf(0x35f)][_0x5f2bbf(0x27d)](this,arguments);}),_0x21ceea[_0x2f2a5e(0x35f)][_0x2f2a5e(0x1ca)]=_0x21ceea,_0x21ceea[_0x2f2a5e(0x1e1)]=this,_0x21ceea;},'create':function(){var _0xb0b35a=_0x654c,_0x2f11a1=this[_0xb0b35a(0x27f)]();return _0x2f11a1['init'][_0xb0b35a(0x27d)](_0x2f11a1,arguments),_0x2f11a1;},'init':function(){},'mixIn':function(_0x16c8c1){var _0x2dba9a=_0x654c;for(var _0x308544 in _0x16c8c1)_0x16c8c1[_0x2dba9a(0x13e)](_0x308544)&&(this[_0x308544]=_0x16c8c1[_0x308544]);_0x16c8c1[_0x2dba9a(0x13e)]('toString')&&(this['toString']=_0x16c8c1[_0x2dba9a(0x2b8)]);},'clone':function(){var _0xa6f8d5=_0x654c;return this[_0xa6f8d5(0x35f)]['prototype'][_0xa6f8d5(0x27f)](this);}};}()),_0x597601=_0x3d365d[_0x4eb7ea(0x326)]=_0x6ffdf5[_0x4eb7ea(0x27f)]({'init':function(_0x4c2c6a,_0x181dbc){var _0x571093=_0x4eb7ea;_0x4c2c6a=this[_0x571093(0xb9)]=_0x4c2c6a||[],_0x181dbc!=_0x42b37e?this[_0x571093(0x360)]=_0x181dbc:this['sigBytes']=_0x4c2c6a['length']*0x4;},'toString':function(_0x42788f){var _0x478864=_0x4eb7ea;return(_0x42788f||_0x1f2467)[_0x478864(0x227)](this);},'concat':function(_0x4e7e77){var _0x3ea4dc=_0x4eb7ea,_0x33e615=this['words'],_0xce2045=_0x4e7e77[_0x3ea4dc(0xb9)],_0x52b651=this[_0x3ea4dc(0x360)],_0x57f423=_0x4e7e77[_0x3ea4dc(0x360)];if(this['clamp'](),_0x52b651%0x4)for(var _0x4eea5c=0x0;_0x4eea5c<_0x57f423;_0x4eea5c++){var _0x184978=_0xce2045[_0x4eea5c>>>0x2]>>>0x18-_0x4eea5c%0x4*0x8&0xff;_0x33e615[_0x52b651+_0x4eea5c>>>0x2]|=_0x184978<<0x18-(_0x52b651+_0x4eea5c)%0x4*0x8;}else{for(var _0x39f604=0x0;_0x39f604<_0x57f423;_0x39f604+=0x4)_0x33e615[_0x52b651+_0x39f604>>>0x2]=_0xce2045[_0x39f604>>>0x2];}return this[_0x3ea4dc(0x360)]+=_0x57f423,this;},'clamp':function(){var _0x5b2f38=_0x4eb7ea,_0x435f5f=this[_0x5b2f38(0xb9)],_0x402651=this[_0x5b2f38(0x360)];_0x435f5f[_0x402651>>>0x2]&=0xffffffff<<0x20-_0x402651%0x4*0x8,_0x435f5f[_0x5b2f38(0x26d)]=_0x1f095e[_0x5b2f38(0x256)](_0x402651/0x4);},'clone':function(){var _0x16b7a1=_0x4eb7ea,_0x2114f4=_0x6ffdf5[_0x16b7a1(0x1ed)][_0x16b7a1(0x17b)](this);return _0x2114f4[_0x16b7a1(0xb9)]=this[_0x16b7a1(0xb9)][_0x16b7a1(0xa6)](0x0),_0x2114f4;},'random':function(_0x504b52){var _0x388a0d=_0x4eb7ea;for(var _0x5d89ef=[],_0x2dac88=0x0;_0x2dac88<_0x504b52;_0x2dac88+=0x4)_0x5d89ef[_0x388a0d(0x34a)](_0x2ea151());return new _0x597601[(_0x388a0d(0x35f))](_0x5d89ef,_0x504b52);}}),_0x5aec17=_0x51274c[_0x4eb7ea(0x236)]={},_0x1f2467=_0x5aec17[_0x4eb7ea(0x247)]={'stringify':function(_0x47c429){var _0x199693=_0x4eb7ea;for(var _0x170b5f=_0x47c429['words'],_0x59fe4f=_0x47c429[_0x199693(0x360)],_0x420f82=[],_0x5cb645=0x0;_0x5cb645<_0x59fe4f;_0x5cb645++){var _0x4f8795=_0x170b5f[_0x5cb645>>>0x2]>>>0x18-_0x5cb645%0x4*0x8&0xff;_0x420f82['push']((_0x4f8795>>>0x4)['toString'](0x10)),_0x420f82[_0x199693(0x34a)]((_0x4f8795&0xf)[_0x199693(0x2b8)](0x10));}return _0x420f82[_0x199693(0x216)]('');},'parse':function(_0x1256bb){var _0xaa4fc9=_0x4eb7ea;for(var _0x4fa9bd=_0x1256bb[_0xaa4fc9(0x26d)],_0x3a5d15=[],_0x363ef0=0x0;_0x363ef0<_0x4fa9bd;_0x363ef0+=0x2)_0x3a5d15[_0x363ef0>>>0x3]|=parseInt(_0x1256bb[_0xaa4fc9(0x151)](_0x363ef0,0x2),0x10)<<0x18-_0x363ef0%0x8*0x4;return new _0x597601[(_0xaa4fc9(0x35f))](_0x3a5d15,_0x4fa9bd/0x2);}},_0x372438=_0x5aec17['Latin1']={'stringify':function(_0x6db39e){var _0x8e8429=_0x4eb7ea;for(var _0x161730=_0x6db39e['words'],_0x11c739=_0x6db39e['sigBytes'],_0x1a299e=[],_0xe695dd=0x0;_0xe695dd<_0x11c739;_0xe695dd++){var _0x11a352=_0x161730[_0xe695dd>>>0x2]>>>0x18-_0xe695dd%0x4*0x8&0xff;_0x1a299e[_0x8e8429(0x34a)](String[_0x8e8429(0xc8)](_0x11a352));}return _0x1a299e[_0x8e8429(0x216)]('');},'parse':function(_0x5d1087){var _0x26ef36=_0x4eb7ea;for(var _0x3fabd4=_0x5d1087[_0x26ef36(0x26d)],_0x4870e2=[],_0x64a9a5=0x0;_0x64a9a5<_0x3fabd4;_0x64a9a5++)_0x4870e2[_0x64a9a5>>>0x2]|=(_0x5d1087['charCodeAt'](_0x64a9a5)&0xff)<<0x18-_0x64a9a5%0x4*0x8;return new _0x597601['init'](_0x4870e2,_0x3fabd4);}},_0x5bf8d1=_0x5aec17['Utf8']={'stringify':function(_0x65df4e){try{return decodeURIComponent(escape(_0x372438['stringify'](_0x65df4e)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x509fd6){var _0x3dfdf4=_0x4eb7ea;return _0x372438[_0x3dfdf4(0x228)](unescape(encodeURIComponent(_0x509fd6)));}},_0x2f72a8=_0x3d365d[_0x4eb7ea(0x32c)]=_0x6ffdf5[_0x4eb7ea(0x27f)]({'reset':function(){var _0xb1483c=_0x4eb7ea;this[_0xb1483c(0x169)]=new _0x597601[(_0xb1483c(0x35f))](),this[_0xb1483c(0x1e5)]=0x0;},'_append':function(_0x2841c0){var _0x1f18fd=_0x4eb7ea;typeof _0x2841c0==_0x1f18fd(0x103)&&(_0x2841c0=_0x5bf8d1[_0x1f18fd(0x228)](_0x2841c0)),this[_0x1f18fd(0x169)][_0x1f18fd(0x1a7)](_0x2841c0),this[_0x1f18fd(0x1e5)]+=_0x2841c0[_0x1f18fd(0x360)];},'_process':function(_0x2fd62b){var _0xe9f6c3=_0x4eb7ea,_0x1483e3,_0x57f0f2=this[_0xe9f6c3(0x169)],_0x236620=_0x57f0f2[_0xe9f6c3(0xb9)],_0x3f7882=_0x57f0f2['sigBytes'],_0x4419ff=this[_0xe9f6c3(0x25a)],_0x5153cc=_0x4419ff*0x4,_0x48abc5=_0x3f7882/_0x5153cc;_0x2fd62b?_0x48abc5=_0x1f095e['ceil'](_0x48abc5):_0x48abc5=_0x1f095e[_0xe9f6c3(0x280)]((_0x48abc5|0x0)-this[_0xe9f6c3(0x253)],0x0);var _0x39a0b3=_0x48abc5*_0x4419ff,_0x307cfe=_0x1f095e['min'](_0x39a0b3*0x4,_0x3f7882);if(_0x39a0b3){for(var _0x571f27=0x0;_0x571f27<_0x39a0b3;_0x571f27+=_0x4419ff)this[_0xe9f6c3(0x22d)](_0x236620,_0x571f27);_0x1483e3=_0x236620[_0xe9f6c3(0xdd)](0x0,_0x39a0b3),_0x57f0f2[_0xe9f6c3(0x360)]-=_0x307cfe;}return new _0x597601[(_0xe9f6c3(0x35f))](_0x1483e3,_0x307cfe);},'clone':function(){var _0x42eda1=_0x4eb7ea,_0x1f6e7f=_0x6ffdf5['clone'][_0x42eda1(0x17b)](this);return _0x1f6e7f[_0x42eda1(0x169)]=this[_0x42eda1(0x169)][_0x42eda1(0x1ed)](),_0x1f6e7f;},'_minBufferSize':0x0});_0x3d365d[_0x4eb7ea(0x37d)]=_0x2f72a8[_0x4eb7ea(0x27f)]({'cfg':_0x6ffdf5[_0x4eb7ea(0x27f)](),'init':function(_0x1a65d0){var _0x9e5d2a=_0x4eb7ea;this[_0x9e5d2a(0x214)]=this['cfg']['extend'](_0x1a65d0),this[_0x9e5d2a(0x142)]();},'reset':function(){var _0x1a5210=_0x4eb7ea;_0x2f72a8[_0x1a5210(0x142)][_0x1a5210(0x17b)](this),this[_0x1a5210(0x207)]();},'update':function(_0x1a25e7){var _0xcbc7e5=_0x4eb7ea;return this[_0xcbc7e5(0x117)](_0x1a25e7),this[_0xcbc7e5(0x259)](),this;},'finalize':function(_0x58cb03){var _0x1a0ab7=_0x4eb7ea;_0x58cb03&&this[_0x1a0ab7(0x117)](_0x58cb03);var _0x5b6bb1=this[_0x1a0ab7(0x350)]();return _0x5b6bb1;},'blockSize':0x10,'_createHelper':function(_0x913e8a){return function(_0x2b650b,_0x5636c2){var _0x4c1add=_0x654c;return new _0x913e8a[(_0x4c1add(0x35f))](_0x5636c2)[_0x4c1add(0x177)](_0x2b650b);};},'_createHmacHelper':function(_0x2bd647){return function(_0x2a0ca6,_0x238788){var _0x20bc53=_0x654c;return new _0x39cacc[(_0x20bc53(0x2e3))][(_0x20bc53(0x35f))](_0x2bd647,_0x238788)[_0x20bc53(0x177)](_0x2a0ca6);};}});var _0x39cacc=_0x51274c[_0x4eb7ea(0x1fd)]={};return _0x51274c;}(Math);return _0x4f05ac;}));}(Ge)),Ge[_0x197079(0xc2)];}var We={'exports':{}},dn=We['exports'],zt;function Oi(){var _0x39508f=_0x1ce106;return zt||(zt=0x1,function(_0x4823da,_0x12dd66){(function(_0x4f8b91,_0xf545f9){_0x4823da['exports']=_0xf545f9(te());}(dn,function(_0x19f90f){var _0x1ac491=_0x654c;return(function(){var _0x5cd933=_0x654c,_0x5c1579=_0x19f90f,_0x26b003=_0x5c1579[_0x5cd933(0x1a6)],_0x4855a6=_0x26b003['WordArray'],_0x547a46=_0x5c1579[_0x5cd933(0x236)];_0x547a46[_0x5cd933(0x1a4)]={'stringify':function(_0x3c6ced){var _0x218f4b=_0x5cd933,_0x284462=_0x3c6ced['words'],_0x167223=_0x3c6ced[_0x218f4b(0x360)],_0x249c9d=this['_map'];_0x3c6ced[_0x218f4b(0xbc)]();for(var _0x340f79=[],_0x4f1234=0x0;_0x4f1234<_0x167223;_0x4f1234+=0x3)for(var _0x3e7f45=_0x284462[_0x4f1234>>>0x2]>>>0x18-_0x4f1234%0x4*0x8&0xff,_0x34d8c1=_0x284462[_0x4f1234+0x1>>>0x2]>>>0x18-(_0x4f1234+0x1)%0x4*0x8&0xff,_0x4ddee2=_0x284462[_0x4f1234+0x2>>>0x2]>>>0x18-(_0x4f1234+0x2)%0x4*0x8&0xff,_0x3a2f10=_0x3e7f45<<0x10|_0x34d8c1<<0x8|_0x4ddee2,_0x5b3ae3=0x0;_0x5b3ae3<0x4&&_0x4f1234+_0x5b3ae3*0.75<_0x167223;_0x5b3ae3++)_0x340f79[_0x218f4b(0x34a)](_0x249c9d[_0x218f4b(0x1d1)](_0x3a2f10>>>0x6*(0x3-_0x5b3ae3)&0x3f));var _0x3a9f44=_0x249c9d[_0x218f4b(0x1d1)](0x40);if(_0x3a9f44){for(;_0x340f79['length']%0x4;)_0x340f79[_0x218f4b(0x34a)](_0x3a9f44);}return _0x340f79[_0x218f4b(0x216)]('');},'parse':function(_0x15a41a){var _0x50f630=_0x5cd933,_0x393b54=_0x15a41a[_0x50f630(0x26d)],_0x2a9625=this[_0x50f630(0x30f)],_0x46c23c=this[_0x50f630(0x36c)];if(!_0x46c23c){_0x46c23c=this[_0x50f630(0x36c)]=[];for(var _0x310dd6=0x0;_0x310dd6<_0x2a9625['length'];_0x310dd6++)_0x46c23c[_0x2a9625[_0x50f630(0x9b)](_0x310dd6)]=_0x310dd6;}var _0x2735f9=_0x2a9625['charAt'](0x40);if(_0x2735f9){var _0x4786e6=_0x15a41a[_0x50f630(0x292)](_0x2735f9);_0x4786e6!==-0x1&&(_0x393b54=_0x4786e6);}return _0x132cb5(_0x15a41a,_0x393b54,_0x46c23c);},'_map':_0x5cd933(0x29f)};function _0x132cb5(_0x2a93e8,_0x25470f,_0x5e0ddd){var _0x3cedf0=_0x5cd933;for(var _0x3a488d=[],_0x2293de=0x0,_0x2a1824=0x0;_0x2a1824<_0x25470f;_0x2a1824++)if(_0x2a1824%0x4){var _0x22c45a=_0x5e0ddd[_0x2a93e8[_0x3cedf0(0x9b)](_0x2a1824-0x1)]<<_0x2a1824%0x4*0x2,_0x6900b3=_0x5e0ddd[_0x2a93e8[_0x3cedf0(0x9b)](_0x2a1824)]>>>0x6-_0x2a1824%0x4*0x2,_0x295fc5=_0x22c45a|_0x6900b3;_0x3a488d[_0x2293de>>>0x2]|=_0x295fc5<<0x18-_0x2293de%0x4*0x8,_0x2293de++;}return _0x4855a6[_0x3cedf0(0x1da)](_0x3a488d,_0x2293de);}}()),_0x19f90f[_0x1ac491(0x236)][_0x1ac491(0x1a4)];}));}(We)),We[_0x39508f(0xc2)];}var Ye={'exports':{}},fn=Ye[_0x1ce106(0xc2)],Jt;function vn(){var _0x328259=_0x1ce106;return Jt||(Jt=0x1,function(_0x229353,_0x44f312){(function(_0x340b67,_0x5d13a1){var _0x3de04e=_0x654c;_0x229353[_0x3de04e(0xc2)]=_0x5d13a1(te());}(fn,function(_0x4caeb5){var _0xd2f4a8=_0x654c;return function(_0x235ffb){var _0x43d776=_0x654c,_0x288d0a=_0x4caeb5,_0x3de481=_0x288d0a[_0x43d776(0x1a6)],_0x3abc4b=_0x3de481[_0x43d776(0x326)],_0x484771=_0x3de481['Hasher'],_0x19b83e=_0x288d0a[_0x43d776(0x1fd)],_0x551edd=[];(function(){var _0x35070b=_0x43d776;for(var _0x219c37=0x0;_0x219c37<0x40;_0x219c37++)_0x551edd[_0x219c37]=_0x235ffb[_0x35070b(0xd0)](_0x235ffb[_0x35070b(0x1f6)](_0x219c37+0x1))*0x100000000|0x0;}());var _0x329a6c=_0x19b83e['MD5']=_0x484771[_0x43d776(0x27f)]({'_doReset':function(){var _0x1d6aeb=_0x43d776;this[_0x1d6aeb(0x231)]=new _0x3abc4b[(_0x1d6aeb(0x35f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3939fa,_0x925a33){var _0x367e1d=_0x43d776;for(var _0x3d3435=0x0;_0x3d3435<0x10;_0x3d3435++){var _0x4c522b=_0x925a33+_0x3d3435,_0x51e827=_0x3939fa[_0x4c522b];_0x3939fa[_0x4c522b]=(_0x51e827<<0x8|_0x51e827>>>0x18)&0xff00ff|(_0x51e827<<0x18|_0x51e827>>>0x8)&0xff00ff00;}var _0x5bf6cf=this[_0x367e1d(0x231)][_0x367e1d(0xb9)],_0x54c18d=_0x3939fa[_0x925a33+0x0],_0x248a97=_0x3939fa[_0x925a33+0x1],_0x57aa90=_0x3939fa[_0x925a33+0x2],_0x5712e2=_0x3939fa[_0x925a33+0x3],_0x3549f8=_0x3939fa[_0x925a33+0x4],_0x39132d=_0x3939fa[_0x925a33+0x5],_0x274751=_0x3939fa[_0x925a33+0x6],_0xf73d57=_0x3939fa[_0x925a33+0x7],_0x56a1e8=_0x3939fa[_0x925a33+0x8],_0x533f4d=_0x3939fa[_0x925a33+0x9],_0x4fe540=_0x3939fa[_0x925a33+0xa],_0x2588c2=_0x3939fa[_0x925a33+0xb],_0x4f5b4e=_0x3939fa[_0x925a33+0xc],_0x15756c=_0x3939fa[_0x925a33+0xd],_0x5a5cb4=_0x3939fa[_0x925a33+0xe],_0x2125c8=_0x3939fa[_0x925a33+0xf],_0x4d4a54=_0x5bf6cf[0x0],_0x511f0f=_0x5bf6cf[0x1],_0x57e569=_0x5bf6cf[0x2],_0x1b1136=_0x5bf6cf[0x3];_0x4d4a54=_0x44c849(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x54c18d,0x7,_0x551edd[0x0]),_0x1b1136=_0x44c849(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x248a97,0xc,_0x551edd[0x1]),_0x57e569=_0x44c849(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x57aa90,0x11,_0x551edd[0x2]),_0x511f0f=_0x44c849(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x5712e2,0x16,_0x551edd[0x3]),_0x4d4a54=_0x44c849(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x3549f8,0x7,_0x551edd[0x4]),_0x1b1136=_0x44c849(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x39132d,0xc,_0x551edd[0x5]),_0x57e569=_0x44c849(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x274751,0x11,_0x551edd[0x6]),_0x511f0f=_0x44c849(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0xf73d57,0x16,_0x551edd[0x7]),_0x4d4a54=_0x44c849(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x56a1e8,0x7,_0x551edd[0x8]),_0x1b1136=_0x44c849(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x533f4d,0xc,_0x551edd[0x9]),_0x57e569=_0x44c849(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x4fe540,0x11,_0x551edd[0xa]),_0x511f0f=_0x44c849(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x2588c2,0x16,_0x551edd[0xb]),_0x4d4a54=_0x44c849(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x4f5b4e,0x7,_0x551edd[0xc]),_0x1b1136=_0x44c849(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x15756c,0xc,_0x551edd[0xd]),_0x57e569=_0x44c849(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x5a5cb4,0x11,_0x551edd[0xe]),_0x511f0f=_0x44c849(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x2125c8,0x16,_0x551edd[0xf]),_0x4d4a54=_0x274c7b(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x248a97,0x5,_0x551edd[0x10]),_0x1b1136=_0x274c7b(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x274751,0x9,_0x551edd[0x11]),_0x57e569=_0x274c7b(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x2588c2,0xe,_0x551edd[0x12]),_0x511f0f=_0x274c7b(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x54c18d,0x14,_0x551edd[0x13]),_0x4d4a54=_0x274c7b(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x39132d,0x5,_0x551edd[0x14]),_0x1b1136=_0x274c7b(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x4fe540,0x9,_0x551edd[0x15]),_0x57e569=_0x274c7b(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x2125c8,0xe,_0x551edd[0x16]),_0x511f0f=_0x274c7b(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x3549f8,0x14,_0x551edd[0x17]),_0x4d4a54=_0x274c7b(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x533f4d,0x5,_0x551edd[0x18]),_0x1b1136=_0x274c7b(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x5a5cb4,0x9,_0x551edd[0x19]),_0x57e569=_0x274c7b(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x5712e2,0xe,_0x551edd[0x1a]),_0x511f0f=_0x274c7b(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x56a1e8,0x14,_0x551edd[0x1b]),_0x4d4a54=_0x274c7b(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x15756c,0x5,_0x551edd[0x1c]),_0x1b1136=_0x274c7b(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x57aa90,0x9,_0x551edd[0x1d]),_0x57e569=_0x274c7b(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0xf73d57,0xe,_0x551edd[0x1e]),_0x511f0f=_0x274c7b(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x4f5b4e,0x14,_0x551edd[0x1f]),_0x4d4a54=_0x42c532(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x39132d,0x4,_0x551edd[0x20]),_0x1b1136=_0x42c532(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x56a1e8,0xb,_0x551edd[0x21]),_0x57e569=_0x42c532(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x2588c2,0x10,_0x551edd[0x22]),_0x511f0f=_0x42c532(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x5a5cb4,0x17,_0x551edd[0x23]),_0x4d4a54=_0x42c532(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x248a97,0x4,_0x551edd[0x24]),_0x1b1136=_0x42c532(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x3549f8,0xb,_0x551edd[0x25]),_0x57e569=_0x42c532(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0xf73d57,0x10,_0x551edd[0x26]),_0x511f0f=_0x42c532(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x4fe540,0x17,_0x551edd[0x27]),_0x4d4a54=_0x42c532(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x15756c,0x4,_0x551edd[0x28]),_0x1b1136=_0x42c532(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x54c18d,0xb,_0x551edd[0x29]),_0x57e569=_0x42c532(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x5712e2,0x10,_0x551edd[0x2a]),_0x511f0f=_0x42c532(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x274751,0x17,_0x551edd[0x2b]),_0x4d4a54=_0x42c532(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x533f4d,0x4,_0x551edd[0x2c]),_0x1b1136=_0x42c532(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x4f5b4e,0xb,_0x551edd[0x2d]),_0x57e569=_0x42c532(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x2125c8,0x10,_0x551edd[0x2e]),_0x511f0f=_0x42c532(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x57aa90,0x17,_0x551edd[0x2f]),_0x4d4a54=_0x280838(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x54c18d,0x6,_0x551edd[0x30]),_0x1b1136=_0x280838(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0xf73d57,0xa,_0x551edd[0x31]),_0x57e569=_0x280838(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x5a5cb4,0xf,_0x551edd[0x32]),_0x511f0f=_0x280838(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x39132d,0x15,_0x551edd[0x33]),_0x4d4a54=_0x280838(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x4f5b4e,0x6,_0x551edd[0x34]),_0x1b1136=_0x280838(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x5712e2,0xa,_0x551edd[0x35]),_0x57e569=_0x280838(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x4fe540,0xf,_0x551edd[0x36]),_0x511f0f=_0x280838(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x248a97,0x15,_0x551edd[0x37]),_0x4d4a54=_0x280838(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x56a1e8,0x6,_0x551edd[0x38]),_0x1b1136=_0x280838(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x2125c8,0xa,_0x551edd[0x39]),_0x57e569=_0x280838(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x274751,0xf,_0x551edd[0x3a]),_0x511f0f=_0x280838(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x15756c,0x15,_0x551edd[0x3b]),_0x4d4a54=_0x280838(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x3549f8,0x6,_0x551edd[0x3c]),_0x1b1136=_0x280838(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x2588c2,0xa,_0x551edd[0x3d]),_0x57e569=_0x280838(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x57aa90,0xf,_0x551edd[0x3e]),_0x511f0f=_0x280838(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x533f4d,0x15,_0x551edd[0x3f]),_0x5bf6cf[0x0]=_0x5bf6cf[0x0]+_0x4d4a54|0x0,_0x5bf6cf[0x1]=_0x5bf6cf[0x1]+_0x511f0f|0x0,_0x5bf6cf[0x2]=_0x5bf6cf[0x2]+_0x57e569|0x0,_0x5bf6cf[0x3]=_0x5bf6cf[0x3]+_0x1b1136|0x0;},'_doFinalize':function(){var _0x21bab1=_0x43d776,_0x2b3b90=this['_data'],_0x4454df=_0x2b3b90[_0x21bab1(0xb9)],_0x4322fe=this[_0x21bab1(0x1e5)]*0x8,_0x33c3d7=_0x2b3b90['sigBytes']*0x8;_0x4454df[_0x33c3d7>>>0x5]|=0x80<<0x18-_0x33c3d7%0x20;var _0x411886=_0x235ffb[_0x21bab1(0x2c5)](_0x4322fe/0x100000000),_0x1708a7=_0x4322fe;_0x4454df[(_0x33c3d7+0x40>>>0x9<<0x4)+0xf]=(_0x411886<<0x8|_0x411886>>>0x18)&0xff00ff|(_0x411886<<0x18|_0x411886>>>0x8)&0xff00ff00,_0x4454df[(_0x33c3d7+0x40>>>0x9<<0x4)+0xe]=(_0x1708a7<<0x8|_0x1708a7>>>0x18)&0xff00ff|(_0x1708a7<<0x18|_0x1708a7>>>0x8)&0xff00ff00,_0x2b3b90[_0x21bab1(0x360)]=(_0x4454df[_0x21bab1(0x26d)]+0x1)*0x4,this[_0x21bab1(0x259)]();for(var _0x4ba229=this['_hash'],_0x293d50=_0x4ba229[_0x21bab1(0xb9)],_0x443953=0x0;_0x443953<0x4;_0x443953++){var _0x162c1e=_0x293d50[_0x443953];_0x293d50[_0x443953]=(_0x162c1e<<0x8|_0x162c1e>>>0x18)&0xff00ff|(_0x162c1e<<0x18|_0x162c1e>>>0x8)&0xff00ff00;}return _0x4ba229;},'clone':function(){var _0x54e178=_0x43d776,_0x969b0=_0x484771[_0x54e178(0x1ed)][_0x54e178(0x17b)](this);return _0x969b0['_hash']=this[_0x54e178(0x231)][_0x54e178(0x1ed)](),_0x969b0;}});function _0x44c849(_0x506964,_0x1da1fb,_0x213dae,_0x41d681,_0x4c2dcf,_0x286cf2,_0x4cf508){var _0x4b91e1=_0x506964+(_0x1da1fb&_0x213dae|~_0x1da1fb&_0x41d681)+_0x4c2dcf+_0x4cf508;return(_0x4b91e1<<_0x286cf2|_0x4b91e1>>>0x20-_0x286cf2)+_0x1da1fb;}function _0x274c7b(_0x5df8f4,_0xf35716,_0x173f91,_0x19608a,_0xd703f4,_0x120d44,_0x28b1c6){var _0x41a780=_0x5df8f4+(_0xf35716&_0x19608a|_0x173f91&~_0x19608a)+_0xd703f4+_0x28b1c6;return(_0x41a780<<_0x120d44|_0x41a780>>>0x20-_0x120d44)+_0xf35716;}function _0x42c532(_0x53ff53,_0x58ee9a,_0x10a913,_0x5be580,_0x32b2ba,_0x2483d0,_0x17ac78){var _0x6dadf9=_0x53ff53+(_0x58ee9a^_0x10a913^_0x5be580)+_0x32b2ba+_0x17ac78;return(_0x6dadf9<<_0x2483d0|_0x6dadf9>>>0x20-_0x2483d0)+_0x58ee9a;}function _0x280838(_0x56f530,_0x1d797c,_0x404a52,_0x206b07,_0x1f63e9,_0x5e8224,_0x4fd2bc){var _0x16c11d=_0x56f530+(_0x404a52^(_0x1d797c|~_0x206b07))+_0x1f63e9+_0x4fd2bc;return(_0x16c11d<<_0x5e8224|_0x16c11d>>>0x20-_0x5e8224)+_0x1d797c;}_0x288d0a[_0x43d776(0x297)]=_0x484771['_createHelper'](_0x329a6c),_0x288d0a[_0x43d776(0x298)]=_0x484771['_createHmacHelper'](_0x329a6c);}(Math),_0x4caeb5[_0xd2f4a8(0x297)];}));}(Ye)),Ye[_0x328259(0xc2)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe['exports'],Xt;function mn(){var _0x3d76da=_0x1ce106;return Xt||(Xt=0x1,function(_0x447595,_0x31257f){(function(_0x1af8c0,_0xb9d8d9){_0x447595['exports']=_0xb9d8d9(te());}(pn,function(_0x57380f){var _0xdd97da=_0x654c;return(function(){var _0x251095=_0x654c,_0x5cf6cc=_0x57380f,_0x4815a2=_0x5cf6cc['lib'],_0x50265c=_0x4815a2[_0x251095(0x326)],_0x44421=_0x4815a2['Hasher'],_0x1e28a8=_0x5cf6cc[_0x251095(0x1fd)],_0x3e6c28=[],_0x311c4a=_0x1e28a8[_0x251095(0x125)]=_0x44421[_0x251095(0x27f)]({'_doReset':function(){var _0x374934=_0x251095;this[_0x374934(0x231)]=new _0x50265c[(_0x374934(0x35f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2cab0f,_0x3e1a2b){var _0x3ddfbd=_0x251095;for(var _0x3b0bca=this['_hash'][_0x3ddfbd(0xb9)],_0x1274f1=_0x3b0bca[0x0],_0x2c6483=_0x3b0bca[0x1],_0x890ff2=_0x3b0bca[0x2],_0x4c966a=_0x3b0bca[0x3],_0x3d045a=_0x3b0bca[0x4],_0x31977b=0x0;_0x31977b<0x50;_0x31977b++){if(_0x31977b<0x10)_0x3e6c28[_0x31977b]=_0x2cab0f[_0x3e1a2b+_0x31977b]|0x0;else{var _0x4f2e30=_0x3e6c28[_0x31977b-0x3]^_0x3e6c28[_0x31977b-0x8]^_0x3e6c28[_0x31977b-0xe]^_0x3e6c28[_0x31977b-0x10];_0x3e6c28[_0x31977b]=_0x4f2e30<<0x1|_0x4f2e30>>>0x1f;}var _0x214ba9=(_0x1274f1<<0x5|_0x1274f1>>>0x1b)+_0x3d045a+_0x3e6c28[_0x31977b];_0x31977b<0x14?_0x214ba9+=(_0x2c6483&_0x890ff2|~_0x2c6483&_0x4c966a)+0x5a827999:_0x31977b<0x28?_0x214ba9+=(_0x2c6483^_0x890ff2^_0x4c966a)+0x6ed9eba1:_0x31977b<0x3c?_0x214ba9+=(_0x2c6483&_0x890ff2|_0x2c6483&_0x4c966a|_0x890ff2&_0x4c966a)-0x70e44324:_0x214ba9+=(_0x2c6483^_0x890ff2^_0x4c966a)-0x359d3e2a,_0x3d045a=_0x4c966a,_0x4c966a=_0x890ff2,_0x890ff2=_0x2c6483<<0x1e|_0x2c6483>>>0x2,_0x2c6483=_0x1274f1,_0x1274f1=_0x214ba9;}_0x3b0bca[0x0]=_0x3b0bca[0x0]+_0x1274f1|0x0,_0x3b0bca[0x1]=_0x3b0bca[0x1]+_0x2c6483|0x0,_0x3b0bca[0x2]=_0x3b0bca[0x2]+_0x890ff2|0x0,_0x3b0bca[0x3]=_0x3b0bca[0x3]+_0x4c966a|0x0,_0x3b0bca[0x4]=_0x3b0bca[0x4]+_0x3d045a|0x0;},'_doFinalize':function(){var _0x11e1ac=_0x251095,_0x2e7348=this[_0x11e1ac(0x169)],_0x438603=_0x2e7348[_0x11e1ac(0xb9)],_0x11cde5=this['_nDataBytes']*0x8,_0x3c0af0=_0x2e7348[_0x11e1ac(0x360)]*0x8;return _0x438603[_0x3c0af0>>>0x5]|=0x80<<0x18-_0x3c0af0%0x20,_0x438603[(_0x3c0af0+0x40>>>0x9<<0x4)+0xe]=Math[_0x11e1ac(0x2c5)](_0x11cde5/0x100000000),_0x438603[(_0x3c0af0+0x40>>>0x9<<0x4)+0xf]=_0x11cde5,_0x2e7348[_0x11e1ac(0x360)]=_0x438603[_0x11e1ac(0x26d)]*0x4,this['_process'](),this[_0x11e1ac(0x231)];},'clone':function(){var _0x115017=_0x251095,_0x408c11=_0x44421[_0x115017(0x1ed)][_0x115017(0x17b)](this);return _0x408c11['_hash']=this[_0x115017(0x231)][_0x115017(0x1ed)](),_0x408c11;}});_0x5cf6cc[_0x251095(0x125)]=_0x44421[_0x251095(0x22e)](_0x311c4a),_0x5cf6cc['HmacSHA1']=_0x44421[_0x251095(0x308)](_0x311c4a);}()),_0x57380f[_0xdd97da(0x125)];}));}(qe)),qe[_0x3d76da(0xc2)];}var ze={'exports':{}},gn=ze[_0x1ce106(0xc2)],Zt;function Sn(){return Zt||(Zt=0x1,function(_0x448e2b,_0x82cdf4){(function(_0x50abb1,_0x446c48){var _0x2ac4df=_0x654c;_0x448e2b[_0x2ac4df(0xc2)]=_0x446c48(te());}(gn,function(_0x7f61fc){(function(){var _0x18ed06=_0x654c,_0x109529=_0x7f61fc,_0x1cc619=_0x109529['lib'],_0x30a4e2=_0x1cc619[_0x18ed06(0x115)],_0x28b673=_0x109529['enc'],_0x25a8ff=_0x28b673[_0x18ed06(0x1d0)],_0x359ec8=_0x109529['algo'];_0x359ec8[_0x18ed06(0x2e3)]=_0x30a4e2['extend']({'init':function(_0x400981,_0x575891){var _0x8b0c80=_0x18ed06;_0x400981=this[_0x8b0c80(0x27b)]=new _0x400981[(_0x8b0c80(0x35f))](),typeof _0x575891==_0x8b0c80(0x103)&&(_0x575891=_0x25a8ff[_0x8b0c80(0x228)](_0x575891));var _0x19692a=_0x400981['blockSize'],_0x27e9e6=_0x19692a*0x4;_0x575891['sigBytes']>_0x27e9e6&&(_0x575891=_0x400981[_0x8b0c80(0x177)](_0x575891)),_0x575891[_0x8b0c80(0xbc)]();for(var _0x47daab=this[_0x8b0c80(0x13c)]=_0x575891[_0x8b0c80(0x1ed)](),_0x26763d=this['_iKey']=_0x575891['clone'](),_0x5145e1=_0x47daab['words'],_0x45ec27=_0x26763d['words'],_0x5692b8=0x0;_0x5692b8<_0x19692a;_0x5692b8++)_0x5145e1[_0x5692b8]^=0x5c5c5c5c,_0x45ec27[_0x5692b8]^=0x36363636;_0x47daab[_0x8b0c80(0x360)]=_0x26763d['sigBytes']=_0x27e9e6,this[_0x8b0c80(0x142)]();},'reset':function(){var _0x2401bf=_0x18ed06,_0x2cf989=this['_hasher'];_0x2cf989[_0x2401bf(0x142)](),_0x2cf989[_0x2401bf(0x304)](this['_iKey']);},'update':function(_0x14681d){var _0x47298f=_0x18ed06;return this['_hasher'][_0x47298f(0x304)](_0x14681d),this;},'finalize':function(_0x17760a){var _0x66ced8=_0x18ed06,_0x30bfe8=this['_hasher'],_0x221c3c=_0x30bfe8[_0x66ced8(0x177)](_0x17760a);_0x30bfe8['reset']();var _0x2a505f=_0x30bfe8[_0x66ced8(0x177)](this[_0x66ced8(0x13c)][_0x66ced8(0x1ed)]()[_0x66ced8(0x1a7)](_0x221c3c));return _0x2a505f;}});}());}));}(ze)),ze['exports'];}var En=Ke[_0x1ce106(0xc2)],Qt;function yi(){var _0x96e46f=_0x1ce106;return Qt||(Qt=0x1,function(_0x473bb3,_0x53869b){(function(_0x2922a4,_0x2cf9dc,_0x2b9727){var _0x47b5eb=_0x654c;_0x473bb3[_0x47b5eb(0xc2)]=_0x2cf9dc(te(),mn(),Sn());}(En,function(_0x1891c2){return(function(){var _0xdd0da7=_0x654c,_0x593603=_0x1891c2,_0xc5d1f3=_0x593603[_0xdd0da7(0x1a6)],_0x51c341=_0xc5d1f3[_0xdd0da7(0x115)],_0x1a1077=_0xc5d1f3[_0xdd0da7(0x326)],_0x1af34b=_0x593603[_0xdd0da7(0x1fd)],_0x234b41=_0x1af34b[_0xdd0da7(0x297)],_0x392b66=_0x1af34b['EvpKDF']=_0x51c341[_0xdd0da7(0x27f)]({'cfg':_0x51c341['extend']({'keySize':0x80/0x20,'hasher':_0x234b41,'iterations':0x1}),'init':function(_0x1e9e78){var _0x5c6d9f=_0xdd0da7;this['cfg']=this[_0x5c6d9f(0x214)][_0x5c6d9f(0x27f)](_0x1e9e78);},'compute':function(_0x46b1d6,_0x919c8c){var _0x316a05=_0xdd0da7;for(var _0x11d6ee,_0x4574cb=this[_0x316a05(0x214)],_0xd4ecc2=_0x4574cb['hasher']['create'](),_0x5170c5=_0x1a1077[_0x316a05(0x1da)](),_0x21ef84=_0x5170c5[_0x316a05(0xb9)],_0x19ba3a=_0x4574cb['keySize'],_0x4aa38a=_0x4574cb[_0x316a05(0xb0)];_0x21ef84[_0x316a05(0x26d)]<_0x19ba3a;){_0x11d6ee&&_0xd4ecc2[_0x316a05(0x304)](_0x11d6ee),_0x11d6ee=_0xd4ecc2[_0x316a05(0x304)](_0x46b1d6)[_0x316a05(0x177)](_0x919c8c),_0xd4ecc2[_0x316a05(0x142)]();for(var _0x5f22d1=0x1;_0x5f22d1<_0x4aa38a;_0x5f22d1++)_0x11d6ee=_0xd4ecc2['finalize'](_0x11d6ee),_0xd4ecc2[_0x316a05(0x142)]();_0x5170c5[_0x316a05(0x1a7)](_0x11d6ee);}return _0x5170c5[_0x316a05(0x360)]=_0x19ba3a*0x4,_0x5170c5;}});_0x593603[_0xdd0da7(0x371)]=function(_0x465f35,_0x56dddd,_0xaa4c32){var _0x41a9dc=_0xdd0da7;return _0x392b66[_0x41a9dc(0x1da)](_0xaa4c32)[_0x41a9dc(0x28a)](_0x465f35,_0x56dddd);};}()),_0x1891c2['EvpKDF'];}));}(Ke)),Ke[_0x96e46f(0xc2)];}var Je={'exports':{}},In=Je[_0x1ce106(0xc2)],ei;function Ni(){var _0x47fa12=_0x1ce106;return ei||(ei=0x1,function(_0x109eeb,_0x4833f0){(function(_0x16179e,_0x41de19,_0x370f99){var _0x2c60cd=_0x654c;_0x109eeb[_0x2c60cd(0xc2)]=_0x41de19(te(),yi());}(In,function(_0x2d8bec){var _0x42f57c=_0x654c;_0x2d8bec[_0x42f57c(0x1a6)][_0x42f57c(0x2c2)]||function(_0x2fa638){var _0x55f2a6=_0x42f57c,_0x25eb99=_0x2d8bec,_0x3d0a02=_0x25eb99['lib'],_0x5e0928=_0x3d0a02[_0x55f2a6(0x115)],_0x338c55=_0x3d0a02[_0x55f2a6(0x326)],_0x538856=_0x3d0a02['BufferedBlockAlgorithm'],_0x2eecfd=_0x25eb99[_0x55f2a6(0x236)];_0x2eecfd['Utf8'];var _0x20f39f=_0x2eecfd[_0x55f2a6(0x1a4)],_0x2be8a7=_0x25eb99[_0x55f2a6(0x1fd)],_0x3ea177=_0x2be8a7[_0x55f2a6(0x371)],_0x467b6b=_0x3d0a02[_0x55f2a6(0x2c2)]=_0x538856[_0x55f2a6(0x27f)]({'cfg':_0x5e0928[_0x55f2a6(0x27f)](),'createEncryptor':function(_0x58e4cd,_0x418ae4){var _0xb1ab78=_0x55f2a6;return this[_0xb1ab78(0x1da)](this['_ENC_XFORM_MODE'],_0x58e4cd,_0x418ae4);},'createDecryptor':function(_0x110bf8,_0x29de0c){var _0x3e6811=_0x55f2a6;return this[_0x3e6811(0x1da)](this['_DEC_XFORM_MODE'],_0x110bf8,_0x29de0c);},'init':function(_0x26d172,_0x5d62a9,_0x11c5d2){var _0x3373ff=_0x55f2a6;this[_0x3373ff(0x214)]=this[_0x3373ff(0x214)]['extend'](_0x11c5d2),this[_0x3373ff(0x2b4)]=_0x26d172,this[_0x3373ff(0x2a4)]=_0x5d62a9,this[_0x3373ff(0x142)]();},'reset':function(){var _0x2e1d23=_0x55f2a6;_0x538856[_0x2e1d23(0x142)][_0x2e1d23(0x17b)](this),this[_0x2e1d23(0x207)]();},'process':function(_0xb008e0){var _0x203a4f=_0x55f2a6;return this[_0x203a4f(0x117)](_0xb008e0),this[_0x203a4f(0x259)]();},'finalize':function(_0x10413d){var _0xce0165=_0x55f2a6;_0x10413d&&this[_0xce0165(0x117)](_0x10413d);var _0x4a90aa=this['_doFinalize']();return _0x4a90aa;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x562cb9(_0x3105b0){var _0x1975f2=_0x654c;return typeof _0x3105b0==_0x1975f2(0x103)?_0x52c003:_0x65683e;}return function(_0x5c6575){return{'encrypt':function(_0x3d66ba,_0x5cd710,_0x38a3d7){var _0x1f9e78=_0x654c;return _0x562cb9(_0x5cd710)[_0x1f9e78(0x127)](_0x5c6575,_0x3d66ba,_0x5cd710,_0x38a3d7);},'decrypt':function(_0x5defc0,_0x31129e,_0x1544fa){var _0x36165c=_0x654c;return _0x562cb9(_0x31129e)[_0x36165c(0x20a)](_0x5c6575,_0x5defc0,_0x31129e,_0x1544fa);}};};}())});_0x3d0a02[_0x55f2a6(0x289)]=_0x467b6b['extend']({'_doFinalize':function(){var _0x4aa7b2=_0x55f2a6,_0x4c15a1=this[_0x4aa7b2(0x259)](!0x0);return _0x4c15a1;},'blockSize':0x1});var _0x1fedbd=_0x25eb99[_0x55f2a6(0x277)]={},_0x4ae130=_0x3d0a02[_0x55f2a6(0xef)]=_0x5e0928[_0x55f2a6(0x27f)]({'createEncryptor':function(_0x1fcb5a,_0x296ab0){var _0x1f29e4=_0x55f2a6;return this[_0x1f29e4(0x26e)]['create'](_0x1fcb5a,_0x296ab0);},'createDecryptor':function(_0x306a82,_0x494e8e){var _0x5dcde6=_0x55f2a6;return this[_0x5dcde6(0x10b)][_0x5dcde6(0x1da)](_0x306a82,_0x494e8e);},'init':function(_0x13d762,_0x52d893){var _0x1a3495=_0x55f2a6;this[_0x1a3495(0x241)]=_0x13d762,this[_0x1a3495(0x129)]=_0x52d893;}}),_0x39862b=_0x1fedbd[_0x55f2a6(0x29a)]=(function(){var _0x3eb0ca=_0x55f2a6,_0x5618ef=_0x4ae130[_0x3eb0ca(0x27f)]();_0x5618ef[_0x3eb0ca(0x26e)]=_0x5618ef[_0x3eb0ca(0x27f)]({'processBlock':function(_0x4411c3,_0x521e9e){var _0x167673=_0x3eb0ca,_0x1ce9c1=this['_cipher'],_0x38f95b=_0x1ce9c1[_0x167673(0x25a)];_0x321ec3[_0x167673(0x17b)](this,_0x4411c3,_0x521e9e,_0x38f95b),_0x1ce9c1[_0x167673(0x2d4)](_0x4411c3,_0x521e9e),this[_0x167673(0x1c7)]=_0x4411c3[_0x167673(0xa6)](_0x521e9e,_0x521e9e+_0x38f95b);}}),_0x5618ef['Decryptor']=_0x5618ef[_0x3eb0ca(0x27f)]({'processBlock':function(_0x4333c4,_0x20bb87){var _0x30a022=_0x3eb0ca,_0x328b34=this['_cipher'],_0x3c4671=_0x328b34[_0x30a022(0x25a)],_0x5aad87=_0x4333c4[_0x30a022(0xa6)](_0x20bb87,_0x20bb87+_0x3c4671);_0x328b34[_0x30a022(0x2a1)](_0x4333c4,_0x20bb87),_0x321ec3[_0x30a022(0x17b)](this,_0x4333c4,_0x20bb87,_0x3c4671),this[_0x30a022(0x1c7)]=_0x5aad87;}});function _0x321ec3(_0x1dcdbf,_0x422f9d,_0x3340c0){var _0x1c3b95=_0x3eb0ca,_0x5e5698,_0x4a65f7=this[_0x1c3b95(0x129)];_0x4a65f7?(_0x5e5698=_0x4a65f7,this[_0x1c3b95(0x129)]=_0x2fa638):_0x5e5698=this['_prevBlock'];for(var _0x552dd7=0x0;_0x552dd7<_0x3340c0;_0x552dd7++)_0x1dcdbf[_0x422f9d+_0x552dd7]^=_0x5e5698[_0x552dd7];}return _0x5618ef;}()),_0x108064=_0x25eb99[_0x55f2a6(0x269)]={},_0x5d2980=_0x108064['Pkcs7']={'pad':function(_0x40e37b,_0x4bddfd){var _0x37fb45=_0x55f2a6;for(var _0x5a6084=_0x4bddfd*0x4,_0x395aec=_0x5a6084-_0x40e37b[_0x37fb45(0x360)]%_0x5a6084,_0x2d7ddc=_0x395aec<<0x18|_0x395aec<<0x10|_0x395aec<<0x8|_0x395aec,_0x3fcfcc=[],_0x39dd78=0x0;_0x39dd78<_0x395aec;_0x39dd78+=0x4)_0x3fcfcc[_0x37fb45(0x34a)](_0x2d7ddc);var _0x224fc7=_0x338c55[_0x37fb45(0x1da)](_0x3fcfcc,_0x395aec);_0x40e37b[_0x37fb45(0x1a7)](_0x224fc7);},'unpad':function(_0xdbc875){var _0x51bd2f=_0x55f2a6,_0x24359f=_0xdbc875['words'][_0xdbc875[_0x51bd2f(0x360)]-0x1>>>0x2]&0xff;_0xdbc875[_0x51bd2f(0x360)]-=_0x24359f;}};_0x3d0a02[_0x55f2a6(0x1e9)]=_0x467b6b['extend']({'cfg':_0x467b6b[_0x55f2a6(0x214)]['extend']({'mode':_0x39862b,'padding':_0x5d2980}),'reset':function(){var _0x5e6deb=_0x55f2a6,_0x438aca;_0x467b6b[_0x5e6deb(0x142)]['call'](this);var _0x539232=this[_0x5e6deb(0x214)],_0x36e3ae=_0x539232['iv'],_0x5bbca9=_0x539232[_0x5e6deb(0x277)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x438aca=_0x5bbca9[_0x5e6deb(0x171)]:(_0x438aca=_0x5bbca9['createDecryptor'],this['_minBufferSize']=0x1),this[_0x5e6deb(0xc6)]&&this[_0x5e6deb(0xc6)][_0x5e6deb(0xd8)]==_0x438aca?this['_mode']['init'](this,_0x36e3ae&&_0x36e3ae['words']):(this[_0x5e6deb(0xc6)]=_0x438aca['call'](_0x5bbca9,this,_0x36e3ae&&_0x36e3ae['words']),this['_mode'][_0x5e6deb(0xd8)]=_0x438aca);},'_doProcessBlock':function(_0x55d6ea,_0x287930){var _0x3c24e4=_0x55f2a6;this[_0x3c24e4(0xc6)][_0x3c24e4(0x310)](_0x55d6ea,_0x287930);},'_doFinalize':function(){var _0x365299=_0x55f2a6,_0xe05d6e,_0x15cae9=this[_0x365299(0x214)][_0x365299(0x9d)];return this[_0x365299(0x2b4)]==this[_0x365299(0x15f)]?(_0x15cae9[_0x365299(0x269)](this[_0x365299(0x169)],this['blockSize']),_0xe05d6e=this[_0x365299(0x259)](!0x0)):(_0xe05d6e=this[_0x365299(0x259)](!0x0),_0x15cae9[_0x365299(0x2dc)](_0xe05d6e)),_0xe05d6e;},'blockSize':0x80/0x20});var _0x39423e=_0x3d0a02[_0x55f2a6(0x1e3)]=_0x5e0928[_0x55f2a6(0x27f)]({'init':function(_0x1b8b27){var _0x4befb8=_0x55f2a6;this[_0x4befb8(0x16a)](_0x1b8b27);},'toString':function(_0x52f978){var _0xd1267=_0x55f2a6;return(_0x52f978||this[_0xd1267(0x204)])[_0xd1267(0x227)](this);}}),_0x17d325=_0x25eb99[_0x55f2a6(0x2ce)]={},_0x447d85=_0x17d325[_0x55f2a6(0x13b)]={'stringify':function(_0x1d2b91){var _0xd3c4d0=_0x55f2a6,_0x4c71cd,_0x20d04a=_0x1d2b91['ciphertext'],_0x6725f6=_0x1d2b91['salt'];return _0x6725f6?_0x4c71cd=_0x338c55[_0xd3c4d0(0x1da)]([0x53616c74,0x65645f5f])[_0xd3c4d0(0x1a7)](_0x6725f6)['concat'](_0x20d04a):_0x4c71cd=_0x20d04a,_0x4c71cd[_0xd3c4d0(0x2b8)](_0x20f39f);},'parse':function(_0x114c67){var _0x53b901=_0x55f2a6,_0x21ea57,_0x1e02b0=_0x20f39f[_0x53b901(0x228)](_0x114c67),_0x5ce327=_0x1e02b0[_0x53b901(0xb9)];return _0x5ce327[0x0]==0x53616c74&&_0x5ce327[0x1]==0x65645f5f&&(_0x21ea57=_0x338c55[_0x53b901(0x1da)](_0x5ce327[_0x53b901(0xa6)](0x2,0x4)),_0x5ce327['splice'](0x0,0x4),_0x1e02b0['sigBytes']-=0x10),_0x39423e[_0x53b901(0x1da)]({'ciphertext':_0x1e02b0,'salt':_0x21ea57});}},_0x65683e=_0x3d0a02['SerializableCipher']=_0x5e0928[_0x55f2a6(0x27f)]({'cfg':_0x5e0928[_0x55f2a6(0x27f)]({'format':_0x447d85}),'encrypt':function(_0x274215,_0x16d9b8,_0x191c59,_0x42fb61){var _0x4346fa=_0x55f2a6;_0x42fb61=this['cfg'][_0x4346fa(0x27f)](_0x42fb61);var _0x15686b=_0x274215['createEncryptor'](_0x191c59,_0x42fb61),_0x194a7e=_0x15686b['finalize'](_0x16d9b8),_0x489b42=_0x15686b[_0x4346fa(0x214)];return _0x39423e[_0x4346fa(0x1da)]({'ciphertext':_0x194a7e,'key':_0x191c59,'iv':_0x489b42['iv'],'algorithm':_0x274215,'mode':_0x489b42[_0x4346fa(0x277)],'padding':_0x489b42[_0x4346fa(0x9d)],'blockSize':_0x274215[_0x4346fa(0x25a)],'formatter':_0x42fb61[_0x4346fa(0x2ce)]});},'decrypt':function(_0x4a5642,_0xfdc2af,_0x11bb25,_0x148ec2){var _0x3188c0=_0x55f2a6;_0x148ec2=this[_0x3188c0(0x214)][_0x3188c0(0x27f)](_0x148ec2),_0xfdc2af=this[_0x3188c0(0x15c)](_0xfdc2af,_0x148ec2[_0x3188c0(0x2ce)]);var _0x3a8796=_0x4a5642['createDecryptor'](_0x11bb25,_0x148ec2)[_0x3188c0(0x177)](_0xfdc2af['ciphertext']);return _0x3a8796;},'_parse':function(_0x3adcda,_0x2f513c){var _0x4bbe3a=_0x55f2a6;return typeof _0x3adcda==_0x4bbe3a(0x103)?_0x2f513c[_0x4bbe3a(0x228)](_0x3adcda,this):_0x3adcda;}}),_0x25f035=_0x25eb99[_0x55f2a6(0x1d5)]={},_0x4fdf60=_0x25f035[_0x55f2a6(0x13b)]={'execute':function(_0x1453bc,_0xcd03cf,_0x1981f6,_0x318b14,_0x48f25b){var _0x619a32=_0x55f2a6;if(_0x318b14||(_0x318b14=_0x338c55[_0x619a32(0x24c)](0x40/0x8)),_0x48f25b)var _0x5ad6a4=_0x3ea177['create']({'keySize':_0xcd03cf+_0x1981f6,'hasher':_0x48f25b})[_0x619a32(0x28a)](_0x1453bc,_0x318b14);else var _0x5ad6a4=_0x3ea177['create']({'keySize':_0xcd03cf+_0x1981f6})[_0x619a32(0x28a)](_0x1453bc,_0x318b14);var _0x2778b2=_0x338c55['create'](_0x5ad6a4['words'][_0x619a32(0xa6)](_0xcd03cf),_0x1981f6*0x4);return _0x5ad6a4[_0x619a32(0x360)]=_0xcd03cf*0x4,_0x39423e['create']({'key':_0x5ad6a4,'iv':_0x2778b2,'salt':_0x318b14});}},_0x52c003=_0x3d0a02[_0x55f2a6(0x255)]=_0x65683e[_0x55f2a6(0x27f)]({'cfg':_0x65683e[_0x55f2a6(0x214)][_0x55f2a6(0x27f)]({'kdf':_0x4fdf60}),'encrypt':function(_0x4e82d1,_0xeaeca3,_0x5a5001,_0x456b2d){var _0x59bc7f=_0x55f2a6;_0x456b2d=this['cfg'][_0x59bc7f(0x27f)](_0x456b2d);var _0x41ce53=_0x456b2d['kdf']['execute'](_0x5a5001,_0x4e82d1['keySize'],_0x4e82d1[_0x59bc7f(0x1fc)],_0x456b2d[_0x59bc7f(0x22b)],_0x456b2d[_0x59bc7f(0xc9)]);_0x456b2d['iv']=_0x41ce53['iv'];var _0x46c2d0=_0x65683e[_0x59bc7f(0x127)][_0x59bc7f(0x17b)](this,_0x4e82d1,_0xeaeca3,_0x41ce53[_0x59bc7f(0x148)],_0x456b2d);return _0x46c2d0[_0x59bc7f(0x16a)](_0x41ce53),_0x46c2d0;},'decrypt':function(_0x3827d5,_0x378b66,_0x347868,_0x2e4a5f){var _0x18a006=_0x55f2a6;_0x2e4a5f=this[_0x18a006(0x214)][_0x18a006(0x27f)](_0x2e4a5f),_0x378b66=this[_0x18a006(0x15c)](_0x378b66,_0x2e4a5f[_0x18a006(0x2ce)]);var _0x519107=_0x2e4a5f[_0x18a006(0x1d5)]['execute'](_0x347868,_0x3827d5['keySize'],_0x3827d5[_0x18a006(0x1fc)],_0x378b66['salt'],_0x2e4a5f[_0x18a006(0xc9)]);_0x2e4a5f['iv']=_0x519107['iv'];var _0x33d0bb=_0x65683e[_0x18a006(0x20a)][_0x18a006(0x17b)](this,_0x3827d5,_0x378b66,_0x519107[_0x18a006(0x148)],_0x2e4a5f);return _0x33d0bb;}});}();}));}(Je)),Je[_0x47fa12(0xc2)];}var Tn=Ve[_0x1ce106(0xc2)],ti;function Cn(){var _0x532798=_0x1ce106;return ti||(ti=0x1,function(_0x125b95,_0x57d3b2){(function(_0x138f7a,_0x4d8c7e,_0x4b1e48){var _0x33d6fe=_0x654c;_0x125b95[_0x33d6fe(0xc2)]=_0x4d8c7e(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x36c17b){var _0x5d676f=_0x654c;return(function(){var _0x370d1e=_0x654c,_0x4352ed=_0x36c17b,_0x1868bf=_0x4352ed[_0x370d1e(0x1a6)],_0x2f2f02=_0x1868bf[_0x370d1e(0x1e9)],_0x1aa718=_0x4352ed[_0x370d1e(0x1fd)],_0x28ba1e=[],_0x423c41=[],_0x257fce=[],_0x21f7ce=[],_0x45be47=[],_0x954f1d=[],_0x5ac43b=[],_0x2ff8a8=[],_0x22b205=[],_0x17c3ba=[];(function(){for(var _0x45cd08=[],_0x42f2e4=0x0;_0x42f2e4<0x100;_0x42f2e4++)_0x42f2e4<0x80?_0x45cd08[_0x42f2e4]=_0x42f2e4<<0x1:_0x45cd08[_0x42f2e4]=_0x42f2e4<<0x1^0x11b;for(var _0x384dd6=0x0,_0x2d4f41=0x0,_0x42f2e4=0x0;_0x42f2e4<0x100;_0x42f2e4++){var _0x3bf81e=_0x2d4f41^_0x2d4f41<<0x1^_0x2d4f41<<0x2^_0x2d4f41<<0x3^_0x2d4f41<<0x4;_0x3bf81e=_0x3bf81e>>>0x8^_0x3bf81e&0xff^0x63,_0x28ba1e[_0x384dd6]=_0x3bf81e,_0x423c41[_0x3bf81e]=_0x384dd6;var _0x1a7ed2=_0x45cd08[_0x384dd6],_0x285407=_0x45cd08[_0x1a7ed2],_0x189af3=_0x45cd08[_0x285407],_0x5e46c5=_0x45cd08[_0x3bf81e]*0x101^_0x3bf81e*0x1010100;_0x257fce[_0x384dd6]=_0x5e46c5<<0x18|_0x5e46c5>>>0x8,_0x21f7ce[_0x384dd6]=_0x5e46c5<<0x10|_0x5e46c5>>>0x10,_0x45be47[_0x384dd6]=_0x5e46c5<<0x8|_0x5e46c5>>>0x18,_0x954f1d[_0x384dd6]=_0x5e46c5;var _0x5e46c5=_0x189af3*0x1010101^_0x285407*0x10001^_0x1a7ed2*0x101^_0x384dd6*0x1010100;_0x5ac43b[_0x3bf81e]=_0x5e46c5<<0x18|_0x5e46c5>>>0x8,_0x2ff8a8[_0x3bf81e]=_0x5e46c5<<0x10|_0x5e46c5>>>0x10,_0x22b205[_0x3bf81e]=_0x5e46c5<<0x8|_0x5e46c5>>>0x18,_0x17c3ba[_0x3bf81e]=_0x5e46c5,_0x384dd6?(_0x384dd6=_0x1a7ed2^_0x45cd08[_0x45cd08[_0x45cd08[_0x189af3^_0x1a7ed2]]],_0x2d4f41^=_0x45cd08[_0x45cd08[_0x2d4f41]]):_0x384dd6=_0x2d4f41=0x1;}}());var _0x519b23=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x343203=_0x1aa718[_0x370d1e(0x1ce)]=_0x2f2f02[_0x370d1e(0x27f)]({'_doReset':function(){var _0x1b5779=_0x370d1e,_0xbc2a57;if(!(this[_0x1b5779(0xfa)]&&this[_0x1b5779(0x2b6)]===this[_0x1b5779(0x2a4)])){for(var _0x4e2f1e=this[_0x1b5779(0x2b6)]=this['_key'],_0x4a2c27=_0x4e2f1e[_0x1b5779(0xb9)],_0x44ba8d=_0x4e2f1e[_0x1b5779(0x360)]/0x4,_0x233136=this[_0x1b5779(0xfa)]=_0x44ba8d+0x6,_0x2bba44=(_0x233136+0x1)*0x4,_0x52f8c4=this['_keySchedule']=[],_0x203373=0x0;_0x203373<_0x2bba44;_0x203373++)_0x203373<_0x44ba8d?_0x52f8c4[_0x203373]=_0x4a2c27[_0x203373]:(_0xbc2a57=_0x52f8c4[_0x203373-0x1],_0x203373%_0x44ba8d?_0x44ba8d>0x6&&_0x203373%_0x44ba8d==0x4&&(_0xbc2a57=_0x28ba1e[_0xbc2a57>>>0x18]<<0x18|_0x28ba1e[_0xbc2a57>>>0x10&0xff]<<0x10|_0x28ba1e[_0xbc2a57>>>0x8&0xff]<<0x8|_0x28ba1e[_0xbc2a57&0xff]):(_0xbc2a57=_0xbc2a57<<0x8|_0xbc2a57>>>0x18,_0xbc2a57=_0x28ba1e[_0xbc2a57>>>0x18]<<0x18|_0x28ba1e[_0xbc2a57>>>0x10&0xff]<<0x10|_0x28ba1e[_0xbc2a57>>>0x8&0xff]<<0x8|_0x28ba1e[_0xbc2a57&0xff],_0xbc2a57^=_0x519b23[_0x203373/_0x44ba8d|0x0]<<0x18),_0x52f8c4[_0x203373]=_0x52f8c4[_0x203373-_0x44ba8d]^_0xbc2a57);for(var _0x3cffe0=this['_invKeySchedule']=[],_0x406965=0x0;_0x406965<_0x2bba44;_0x406965++){var _0x203373=_0x2bba44-_0x406965;if(_0x406965%0x4)var _0xbc2a57=_0x52f8c4[_0x203373];else var _0xbc2a57=_0x52f8c4[_0x203373-0x4];_0x406965<0x4||_0x203373<=0x4?_0x3cffe0[_0x406965]=_0xbc2a57:_0x3cffe0[_0x406965]=_0x5ac43b[_0x28ba1e[_0xbc2a57>>>0x18]]^_0x2ff8a8[_0x28ba1e[_0xbc2a57>>>0x10&0xff]]^_0x22b205[_0x28ba1e[_0xbc2a57>>>0x8&0xff]]^_0x17c3ba[_0x28ba1e[_0xbc2a57&0xff]];}}},'encryptBlock':function(_0x41b858,_0xf61abf){var _0x2223da=_0x370d1e;this['_doCryptBlock'](_0x41b858,_0xf61abf,this[_0x2223da(0x128)],_0x257fce,_0x21f7ce,_0x45be47,_0x954f1d,_0x28ba1e);},'decryptBlock':function(_0x56a465,_0x371693){var _0x4cb192=_0x370d1e,_0x5952a2=_0x56a465[_0x371693+0x1];_0x56a465[_0x371693+0x1]=_0x56a465[_0x371693+0x3],_0x56a465[_0x371693+0x3]=_0x5952a2,this[_0x4cb192(0x16b)](_0x56a465,_0x371693,this['_invKeySchedule'],_0x5ac43b,_0x2ff8a8,_0x22b205,_0x17c3ba,_0x423c41);var _0x5952a2=_0x56a465[_0x371693+0x1];_0x56a465[_0x371693+0x1]=_0x56a465[_0x371693+0x3],_0x56a465[_0x371693+0x3]=_0x5952a2;},'_doCryptBlock':function(_0x440b4c,_0x4fbdf3,_0x3a428f,_0x1f3bd7,_0x55172a,_0x561641,_0x450352,_0x55014b){for(var _0x5c1bd2=this['_nRounds'],_0x48bcb3=_0x440b4c[_0x4fbdf3]^_0x3a428f[0x0],_0x10c1d8=_0x440b4c[_0x4fbdf3+0x1]^_0x3a428f[0x1],_0x199bc2=_0x440b4c[_0x4fbdf3+0x2]^_0x3a428f[0x2],_0x29581e=_0x440b4c[_0x4fbdf3+0x3]^_0x3a428f[0x3],_0x16f040=0x4,_0x4922cf=0x1;_0x4922cf<_0x5c1bd2;_0x4922cf++){var _0x122486=_0x1f3bd7[_0x48bcb3>>>0x18]^_0x55172a[_0x10c1d8>>>0x10&0xff]^_0x561641[_0x199bc2>>>0x8&0xff]^_0x450352[_0x29581e&0xff]^_0x3a428f[_0x16f040++],_0xa246a5=_0x1f3bd7[_0x10c1d8>>>0x18]^_0x55172a[_0x199bc2>>>0x10&0xff]^_0x561641[_0x29581e>>>0x8&0xff]^_0x450352[_0x48bcb3&0xff]^_0x3a428f[_0x16f040++],_0x1b1102=_0x1f3bd7[_0x199bc2>>>0x18]^_0x55172a[_0x29581e>>>0x10&0xff]^_0x561641[_0x48bcb3>>>0x8&0xff]^_0x450352[_0x10c1d8&0xff]^_0x3a428f[_0x16f040++],_0x4b44ff=_0x1f3bd7[_0x29581e>>>0x18]^_0x55172a[_0x48bcb3>>>0x10&0xff]^_0x561641[_0x10c1d8>>>0x8&0xff]^_0x450352[_0x199bc2&0xff]^_0x3a428f[_0x16f040++];_0x48bcb3=_0x122486,_0x10c1d8=_0xa246a5,_0x199bc2=_0x1b1102,_0x29581e=_0x4b44ff;}var _0x122486=(_0x55014b[_0x48bcb3>>>0x18]<<0x18|_0x55014b[_0x10c1d8>>>0x10&0xff]<<0x10|_0x55014b[_0x199bc2>>>0x8&0xff]<<0x8|_0x55014b[_0x29581e&0xff])^_0x3a428f[_0x16f040++],_0xa246a5=(_0x55014b[_0x10c1d8>>>0x18]<<0x18|_0x55014b[_0x199bc2>>>0x10&0xff]<<0x10|_0x55014b[_0x29581e>>>0x8&0xff]<<0x8|_0x55014b[_0x48bcb3&0xff])^_0x3a428f[_0x16f040++],_0x1b1102=(_0x55014b[_0x199bc2>>>0x18]<<0x18|_0x55014b[_0x29581e>>>0x10&0xff]<<0x10|_0x55014b[_0x48bcb3>>>0x8&0xff]<<0x8|_0x55014b[_0x10c1d8&0xff])^_0x3a428f[_0x16f040++],_0x4b44ff=(_0x55014b[_0x29581e>>>0x18]<<0x18|_0x55014b[_0x48bcb3>>>0x10&0xff]<<0x10|_0x55014b[_0x10c1d8>>>0x8&0xff]<<0x8|_0x55014b[_0x199bc2&0xff])^_0x3a428f[_0x16f040++];_0x440b4c[_0x4fbdf3]=_0x122486,_0x440b4c[_0x4fbdf3+0x1]=_0xa246a5,_0x440b4c[_0x4fbdf3+0x2]=_0x1b1102,_0x440b4c[_0x4fbdf3+0x3]=_0x4b44ff;},'keySize':0x100/0x20});_0x4352ed[_0x370d1e(0x1ce)]=_0x2f2f02[_0x370d1e(0x22e)](_0x343203);}()),_0x36c17b[_0x5d676f(0x1ce)];}));}(Ve)),Ve[_0x532798(0xc2)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe['exports'],si;function Nn(){var _0x5ea586=_0x1ce106;return si||(si=0x1,function(_0x1ba319,_0x13d303){(function(_0x4cdfcb,_0x4c4279){var _0x2441f4=_0x654c;_0x1ba319[_0x2441f4(0xc2)]=_0x4c4279(te());}(yn,function(_0x8bd268){var _0x2f5362=_0x654c;return _0x8bd268[_0x2f5362(0x236)][_0x2f5362(0x1d0)];}));}(Xe)),Xe[_0x5ea586(0xc2)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x1ce106(0xc2)],ni;function wn(){var _0x59705a=_0x1ce106;return ni||(ni=0x1,function(_0x463250,_0x59d4dc){(function(_0x4f390a,_0x5ca245){var _0x42ebde=_0x654c;_0x463250[_0x42ebde(0xc2)]=_0x5ca245(te());}(An,function(_0x1e073a){var _0x272f62=_0x654c;return(function(){var _0x1f61a1=_0x654c;if(typeof ArrayBuffer=='function'){var _0x121b9a=_0x1e073a,_0x33d22f=_0x121b9a['lib'],_0x3929ee=_0x33d22f[_0x1f61a1(0x326)],_0x4756d4=_0x3929ee[_0x1f61a1(0x35f)],_0x1d2745=_0x3929ee[_0x1f61a1(0x35f)]=function(_0x3f166a){var _0x32a068=_0x1f61a1;if(_0x3f166a instanceof ArrayBuffer&&(_0x3f166a=new Uint8Array(_0x3f166a)),(_0x3f166a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3f166a instanceof Uint8ClampedArray||_0x3f166a instanceof Int16Array||_0x3f166a instanceof Uint16Array||_0x3f166a instanceof Int32Array||_0x3f166a instanceof Uint32Array||_0x3f166a instanceof Float32Array||_0x3f166a instanceof Float64Array)&&(_0x3f166a=new Uint8Array(_0x3f166a[_0x32a068(0x1bd)],_0x3f166a['byteOffset'],_0x3f166a['byteLength'])),_0x3f166a instanceof Uint8Array){for(var _0x1b64c5=_0x3f166a[_0x32a068(0x285)],_0x42fadb=[],_0x2c8e0a=0x0;_0x2c8e0a<_0x1b64c5;_0x2c8e0a++)_0x42fadb[_0x2c8e0a>>>0x2]|=_0x3f166a[_0x2c8e0a]<<0x18-_0x2c8e0a%0x4*0x8;_0x4756d4['call'](this,_0x42fadb,_0x1b64c5);}else _0x4756d4[_0x32a068(0x27d)](this,arguments);};_0x1d2745['prototype']=_0x3929ee;}}()),_0x1e073a[_0x272f62(0x1a6)][_0x272f62(0x326)];}));}(Ze)),Ze[_0x59705a(0xc2)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x1ce106(0xc2)],ri;function xn(){var _0x5e16d6=_0x1ce106;return ri||(ri=0x1,function(_0xed53eb,_0xeee98b){(function(_0x168006,_0x3d5ddf,_0x37fdec){var _0x3ecacd=_0x654c;_0xed53eb[_0x3ecacd(0xc2)]=_0x3d5ddf(te(),Ni());}(Mn,function(_0x601c59){var _0x4a474a=_0x654c;return _0x601c59[_0x4a474a(0x269)][_0x4a474a(0x15a)]={'pad':function(){},'unpad':function(){}},_0x601c59['pad'][_0x4a474a(0x15a)];}));}(Qe)),Qe[_0x5e16d6(0xc2)];}var kn=xn();const $n=$e(kn);function Hn(_0x3ee506,_0xed2b3f){var _0x5816a4=_0x1ce106;const _0x9c186f=_0xed2b3f-_0x3ee506[_0x5816a4(0x26d)]%_0xed2b3f,_0x1bd2d5=String['fromCharCode'](_0x9c186f)[_0x5816a4(0x1c2)](_0x9c186f);return _0x3ee506+_0x1bd2d5;}function Bn(_0x52a794,_0x446286){var _0x5cb1e2=_0x1ce106;const _0x6dca1e=Ln[_0x5cb1e2(0x24c)](0x10),_0x4ed3b8=Hn(_0x52a794,0x10),_0x43d553=bn[_0x5cb1e2(0x127)](Un[_0x5cb1e2(0x228)](_0x4ed3b8),ii[_0x5cb1e2(0x228)](_0x446286),{'iv':_0x6dca1e,'padding':$n});return _0x6dca1e['concat'](_0x43d553[_0x5cb1e2(0x2c9)])['toString'](ii);}function jn(){var _0x24e5c2=_0x1ce106;const _0x3b4929=_0x183ff6()[_0x24e5c2(0x1a2)];if(_0x3b4929){const _0x1415b4={'time':Math[_0x24e5c2(0x2c5)](Date[_0x24e5c2(0x1ec)]()/0x3e8),'domain':location['hostname']};return Bn(JSON[_0x24e5c2(0x227)](_0x1415b4),_0x3b4929);}}var Fn=Object[_0x1ce106(0x29d)],Vn=(_0x2e4818,_0x1cff44,_0x22ad42,_0x4e3acf)=>{var _0x40e2d1=_0x1ce106;for(var _0x1a5c1a=_0x4e3acf>0x1?void 0x0:_0x4e3acf?Fn(_0x1cff44,_0x22ad42):_0x1cff44,_0x12d097=_0x2e4818[_0x40e2d1(0x26d)]-0x1,_0x1bfad9;_0x12d097>=0x0;_0x12d097--)(_0x1bfad9=_0x2e4818[_0x12d097])&&(_0x1a5c1a=_0x1bfad9(_0x1a5c1a)||_0x1a5c1a);return _0x1a5c1a;},Gn=(_0x2cd9aa,_0x5657fe)=>(_0x2bb313,_0x16f208)=>_0x5657fe(_0x2bb313,_0x16f208,_0x2cd9aa);let at=class{constructor(_0x4b7425){var _0xaea1d4=_0x1ce106;this[_0xaea1d4(0x1b6)]=_0x4b7425,this[_0xaea1d4(0x2f7)]();}[_0x1ce106(0x2f7)](){var _0x476e4d=_0x1ce106;this[_0x476e4d(0x1b6)][_0x476e4d(0x1c1)]({'interceptor':(_0x32884b,_0x283294)=>{var _0x45cca6=_0x476e4d;const _0x320106=_0x32884b[_0x45cca6(0x244)],_0x4a47e5=jn();return _0x4a47e5&&_0x320106[_0x45cca6(0x126)]('x-univer-host',_0x4a47e5),_0x283294(_0x32884b);}});}};at=Vn([Gn(0x0,_0x462e36(_0x91e7e9))],at);var Wn=Object[_0x1ce106(0x29d)],Yn=(_0x5136f1,_0xa44c7a,_0x3e8114,_0x18a254)=>{var _0x54e315=_0x1ce106;for(var _0x43ca9b=_0x18a254>0x1?void 0x0:_0x18a254?Wn(_0xa44c7a,_0x3e8114):_0xa44c7a,_0x2daab9=_0x5136f1[_0x54e315(0x26d)]-0x1,_0x1e6439;_0x2daab9>=0x0;_0x2daab9--)(_0x1e6439=_0x5136f1[_0x2daab9])&&(_0x43ca9b=_0x1e6439(_0x43ca9b)||_0x43ca9b);return _0x43ca9b;},vt=(_0x55e428,_0xa2f61)=>(_0xe900df,_0x179d75)=>_0xa2f61(_0xe900df,_0x179d75,_0x55e428);let Ct=class extends _0x589295{constructor(_0x3b372b,_0x3742cc,_0x2818b0){var _0x19d0db=_0x1ce106;super(),N(this,'_unitInfo$',new _0x88e997(null)),N(this,'unitInfo$',this[_0x19d0db(0x1e2)][_0x19d0db(0x14a)]()),(this['_logService']=_0x3b372b,this['_snapshotService']=_0x3742cc,this[_0x19d0db(0x2a8)]=_0x2818b0);}async[_0x1ce106(0x195)](_0x5790ee,_0x5a8be1,_0x521b4f){var _0x1dda56=_0x1ce106;this[_0x1dda56(0x1e2)][_0x1dda56(0x252)]({'unitId':_0x5790ee,'type':_0x5a8be1});let _0x3bda4d=null;switch(_0x5a8be1){case Z[_0x1dda56(0x112)]:{_0x3bda4d=await this[_0x1dda56(0x33f)][_0x1dda56(0xf8)](_0x5790ee,_0x521b4f);break;}case Z[_0x1dda56(0x2eb)]:{_0x3bda4d=await this[_0x1dda56(0x33f)][_0x1dda56(0xa4)](_0x5790ee,_0x521b4f);break;}default:{this[_0x1dda56(0x331)][_0x1dda56(0x211)]('[DataLoaderService]',_0x1dda56(0x2b5));break;}}return _0x3bda4d;}async[_0x1ce106(0xc3)](_0x459b46,_0x2c89a9,_0x325658){var _0x245371=_0x1ce106,_0xb20b12;this['_unitInfo$'][_0x245371(0x252)]({'unitId':_0x459b46,'type':_0x2c89a9,'subUnitId':_0x325658});let _0xa9e70f=0x0;const _0xe186c8=await((_0xb20b12=this[_0x245371(0x2a8)])==null?void 0x0:_0xb20b12[_0x245371(0x212)](_0x459b46));return _0xe186c8&&(_0xe186c8[_0x245371(0x330)]||_0xe186c8[_0x245371(0x24d)][_0x245371(0x26d)]!==0x0)&&(_0xa9e70f=_0xe186c8[_0x245371(0xcc)]),_0xa9e70f===0x0&&this[_0x245371(0x331)][_0x245371(0x293)]('[DataLoaderService]',_0x245371(0x33c)),this[_0x245371(0x195)](_0x459b46,_0x2c89a9,_0xa9e70f);}};Ct=Yn([vt(0x0,_0x103e27),vt(0x1,_0x462e36(_0x1892f8)),vt(0x2,_0x26bebd(J))],Ct);var Kn=Object[_0x1ce106(0x29d)],qn=(_0x156cc2,_0x37a015,_0x135110,_0x21708d)=>{var _0x297364=_0x1ce106;for(var _0x42a6b1=_0x21708d>0x1?void 0x0:_0x21708d?Kn(_0x37a015,_0x135110):_0x37a015,_0x258b04=_0x156cc2[_0x297364(0x26d)]-0x1,_0x5e507c;_0x258b04>=0x0;_0x258b04--)(_0x5e507c=_0x156cc2[_0x258b04])&&(_0x42a6b1=_0x5e507c(_0x42a6b1)||_0x42a6b1);return _0x42a6b1;},pt=(_0x4a8bcc,_0xc05150)=>(_0x202d89,_0x1375c2)=>_0xc05150(_0x202d89,_0x1375c2,_0x4a8bcc);const zn=[_0x1ce106(0x263),_0x1ce106(0x35a),'image/jpg',_0x1ce106(0x2bf),_0x1ce106(0xa3)],Jn=0x5*0x400*0x400,Xn=_0x1ce106(0x16c),Zn='/universer-api/stream/file/upload',Qn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',er='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x9478cd,_0x46db11,_0x1e1d69){var _0x2bebdf=_0x1ce106;N(this,'_waitCount',0x0),N(this,'_change$',new _0x38504a()),N(this,'change$',this[_0x2bebdf(0x36f)]),N(this,_0x2bebdf(0x223),new Map()),(this[_0x2bebdf(0x1b6)]=_0x9478cd,this[_0x2bebdf(0x23f)]=_0x46db11,this[_0x2bebdf(0x2d8)]=_0x1e1d69);}[_0x1ce106(0xdf)](_0x30a6ce){var _0xa7ac15=_0x1ce106;this[_0xa7ac15(0x2cc)]=_0x30a6ce,this[_0xa7ac15(0x36f)][_0xa7ac15(0x252)](_0x30a6ce);}['getImageSourceCache'](_0x563089,_0x8a0aa1){var _0x98d675=_0x1ce106;if(_0x8a0aa1===_0x30a9da['BASE64']){const _0x14969f=new Image();return _0x14969f['src']=_0x563089,_0x14969f;}return this['_imageSourceCache'][_0x98d675(0x36d)](_0x563089);}[_0x1ce106(0x144)](_0x8822b1,_0x34f0b1,_0x1a28d5){var _0x4a7578=_0x1ce106;_0x34f0b1===_0x30a9da['BASE64']||_0x1a28d5==null||this[_0x4a7578(0x223)][_0x4a7578(0x126)](_0x8822b1,_0x1a28d5);}async['getImage'](_0x443cf){var _0x34edf6=_0x1ce106;try{const _0x57dcb5=this[_0x34edf6(0x261)](this[_0x34edf6(0x38e)](),''+_0x443cf),_0x1316e6=(await this['_httpService']['get'](_0x57dcb5))['body'];if(_0x1316e6['error']&&_0x1316e6[_0x34edf6(0x211)]['code']===pi['OK']){const _0x46561a=new URL(_0x1316e6[_0x34edf6(0xf3)],this[_0x34edf6(0x36a)]())[_0x34edf6(0x2b8)]();return Promise['resolve'](_0x46561a);}return Promise[_0x34edf6(0x18c)](_0x1316e6['error']);}catch(_0x120b3f){return Promise['reject'](_0x120b3f);}}async['saveImage'](_0x42f2ae){var _0x26d475=_0x1ce106;let _0x213473='';if(!zn[_0x26d475(0x94)](_0x42f2ae[_0x26d475(0x260)]))return this[_0x26d475(0xfb)](),Promise[_0x26d475(0x18c)](new Error(_0x34863b[_0x26d475(0x284)]));if(_0x42f2ae[_0x26d475(0x23a)]>Jn)return this[_0x26d475(0xfb)](),Promise[_0x26d475(0x18c)](new Error(_0x34863b[_0x26d475(0x341)]));try{const _0x5bcf83=new FormData();_0x5bcf83[_0x26d475(0x198)](_0x26d475(0x2ea),_0x42f2ae);const _0x115e81=this[_0x26d475(0x2d8)][_0x26d475(0xb3)](),_0x13c358=_0x115e81==null?void 0x0:_0x115e81[_0x26d475(0x11f)]();if(!_0x13c358)throw new Error(_0x26d475(0x283));const _0x5465e8=this[_0x26d475(0x1df)]()+_0x26d475(0x1be)+_0x42f2ae[_0x26d475(0x23a)][_0x26d475(0x2b8)]()+_0x26d475(0xad)+mi[_0x26d475(0x278)]+'&assign='+encodeURIComponent(_0x13c358),_0x3a24fa={'body':_0x5bcf83},_0x1a46e6=(await this[_0x26d475(0x1b6)][_0x26d475(0xf1)](_0x5465e8,_0x3a24fa))[_0x26d475(0x364)];if(typeof _0x1a46e6[_0x26d475(0x20d)]!='string')return this['_decreaseWaiting'](),Promise[_0x26d475(0x18c)](new Error(_0x34863b['ERROR_IMAGE']));_0x213473=_0x1a46e6[_0x26d475(0x20d)];}catch{return this[_0x26d475(0xfb)](),Promise['reject'](new Error(_0x34863b[_0x26d475(0x365)]));}return new Promise((_0x5c78fb,_0x1aa7f8)=>{var _0x17ff44=_0x26d475;const _0xe6a8a3=new FileReader();_0xe6a8a3['readAsDataURL'](_0x42f2ae),_0xe6a8a3[_0x17ff44(0x21e)]=_0x4ad124=>{var _0x3dadf7=_0x17ff44,_0x469394;const _0x26c60d=(_0x469394=_0x4ad124[_0x3dadf7(0x2e1)])==null?void 0x0:_0x469394[_0x3dadf7(0x355)];if(_0x26c60d==null){this['_decreaseWaiting'](),_0x1aa7f8(new Error(_0x34863b['ERROR_IMAGE']));return;}const _0x227505=_0x40a632[_0x3dadf7(0x37f)](0x6);_0x5c78fb({'imageId':_0x227505,'imageSourceType':_0x30a9da[_0x3dadf7(0x2be)],'source':_0x213473,'base64Cache':_0x26c60d,'status':_0x34863b[_0x3dadf7(0x30a)]}),this['_decreaseWaiting']();};});}[_0x1ce106(0x1df)](){var _0x41115c=_0x1ce106,_0x416747,_0x9233ae;const _0x13b936=this[_0x41115c(0x23f)][_0x41115c(0x18a)](Xn),_0x5478e8=this[_0x41115c(0x23f)]['getConfig'](K);return(_0x9233ae=(_0x416747=_0x5478e8==null?void 0x0:_0x5478e8[_0x41115c(0x145)])!=null?_0x416747:_0x13b936)!=null?_0x9233ae:Zn;}['_getSignURL'](){var _0xb1aae6=_0x1ce106,_0x111bc5,_0x40fdce;const _0x279871=this[_0xb1aae6(0x23f)][_0xb1aae6(0x18a)](Qn),_0x317491=this[_0xb1aae6(0x23f)][_0xb1aae6(0x18a)](K);return(_0x40fdce=(_0x111bc5=_0x317491==null?void 0x0:_0x317491[_0xb1aae6(0x13a)])!=null?_0x111bc5:_0x279871)!=null?_0x40fdce:er;}[_0x1ce106(0x36a)](){var _0x2644fc=_0x1ce106,_0x16234a;const _0x56eeb9=this['_configService'][_0x2644fc(0x18a)](K);return(_0x16234a=_0x56eeb9==null?void 0x0:_0x56eeb9[_0x2644fc(0x38c)])!=null?_0x16234a:location[_0x2644fc(0xcb)];}['_replaceFileID'](_0x156dbb,_0x5b184a){var _0xbdcb86=_0x1ce106;return _0x156dbb[_0xbdcb86(0x21c)]('{fileID}',_0x5b184a);}['_decreaseWaiting'](){var _0x4c4ded=_0x1ce106;this[_0x4c4ded(0x2cc)]-=0x1,this[_0x4c4ded(0x36f)]['next'](this['_waitCount']);}};Rt=qn([pt(0x0,_0x462e36(_0x91e7e9)),pt(0x1,_0x4a5014),pt(0x2,_0x462e36(_0x1f74c9))],Rt);var tr=Object[_0x1ce106(0x29d)],ir=(_0x16f867,_0x26956c,_0xef531,_0x567da8)=>{for(var _0x597c4d=_0x567da8>0x1?void 0x0:_0x567da8?tr(_0x26956c,_0xef531):_0x26956c,_0x3c1009=_0x16f867['length']-0x1,_0x1ea1d5;_0x3c1009>=0x0;_0x3c1009--)(_0x1ea1d5=_0x16f867[_0x3c1009])&&(_0x597c4d=_0x1ea1d5(_0x597c4d)||_0x597c4d);return _0x597c4d;},ai=(_0x4b9ef2,_0x5c1226)=>(_0x33c192,_0x5cbde8)=>_0x5c1226(_0x33c192,_0x5cbde8,_0x4b9ef2);const sr=_0x1ce106(0x245);let bt=class{constructor(_0x5b560f,_0x3d5e3c){var _0x3c4b7a=_0x1ce106;this['_configService']=_0x5b560f,this[_0x3c4b7a(0x19b)]=_0x3d5e3c;}[_0x1ce106(0x392)](){var _0x2251ef=_0x1ce106,_0xc1255f,_0x3ec532;const _0x6f0e04=this['_configService'][_0x2251ef(0x18a)](bi),_0x57c7a7=this[_0x2251ef(0x23f)]['getConfig'](K);return(_0x3ec532=(_0xc1255f=_0x57c7a7==null?void 0x0:_0x57c7a7[_0x2251ef(0xb5)])!=null?_0xc1255f:_0x6f0e04)!=null?_0x3ec532:sr;}async[_0x1ce106(0x26c)](_0x1bad5f){var _0x127949=_0x1ce106;const _0x1deb3a=this[_0x127949(0x392)]()+_0x127949(0x1c6);return{'list':[{'title':_0x127949(0x240),'mentions':(await this['_HTTPService'][_0x127949(0x36d)](_0x1deb3a,{'params':{'objectID':_0x1bad5f['unitId'],'unitID':_0x1bad5f[_0x127949(0x33b)]}}))[_0x127949(0x364)][_0x127949(0x388)][_0x127949(0x17a)](_0x144622=>({'objectId':_0x144622['id'],'name':_0x144622[_0x127949(0x2bb)][_0x127949(0x118)],'metadata':{'icon':_0x144622['subject'][_0x127949(0x97)]},'label':_0x144622[_0x127949(0x2bb)][_0x127949(0x118)],'objectType':_0x57b54[_0x127949(0x217)]})),'metadata':{},'type':_0x57b54[_0x127949(0x217)]}]};}};bt=ir([ai(0x0,_0x462e36(_0x4a5014)),ai(0x1,_0x462e36(_0x91e7e9))],bt);var nr=Object[_0x1ce106(0x29d)],rr=(_0x37f17b,_0x6713f1,_0x5d8255,_0x390997)=>{var _0x2df09a=_0x1ce106;for(var _0x219804=_0x390997>0x1?void 0x0:_0x390997?nr(_0x6713f1,_0x5d8255):_0x6713f1,_0x43ed3f=_0x37f17b[_0x2df09a(0x26d)]-0x1,_0x1c8988;_0x43ed3f>=0x0;_0x43ed3f--)(_0x1c8988=_0x37f17b[_0x43ed3f])&&(_0x219804=_0x1c8988(_0x219804)||_0x219804);return _0x219804;},Ae=(_0x5b7a6e,_0x2080a2)=>(_0x46ea2b,_0x1f8b3b)=>_0x2080a2(_0x46ea2b,_0x1f8b3b,_0x5b7a6e);let ot=class extends _0x589295{constructor(_0xa2b61a,_0x354701,_0x4d3578,_0xff20e1,_0x1a4912){var _0x27e4e0=_0x1ce106;super(),this[_0x27e4e0(0x105)]=_0xa2b61a,this['_univerInstanceService']=_0x354701,this[_0x27e4e0(0x1d2)]=_0x4d3578,this[_0x27e4e0(0x282)]=_0xff20e1,this[_0x27e4e0(0xae)]=_0x1a4912,this[_0x27e4e0(0xa0)](),this[_0x27e4e0(0x1b5)]();}[_0x1ce106(0x1b5)](){var _0x1775ac=_0x1ce106;const _0x231f49=async _0x44ad79=>{var _0x2c27d3=_0x654c;(await this[_0x2c27d3(0x282)][_0x2c27d3(0x109)](_0x44ad79))['event$'][_0x2c27d3(0xd4)](_0xc72917(_0x2a19c5=>_0x2a19c5['eventID']===_0x10c22b['SHOULD_CLOSE_CONN']),_0x27e70f(this['dispose$']))[_0x2c27d3(0xa2)](_0x56cbf4=>{var _0x24a356=_0x2c27d3;const _0x1130af=_0x56cbf4,{reason:_0x1d68d9}=_0x1130af[_0x24a356(0x2e7)];this[_0x24a356(0xae)][_0x24a356(0x237)]({'id':ne[_0x24a356(0x9a)],'data':_0x1d68d9}),this['_permissionService'][_0x24a356(0x12d)](new _0x2b88e9(_0x44ad79)['id'],!0x1),this[_0x24a356(0x282)][_0x24a356(0x337)](_0x44ad79);});};_0x43d5e8(this[_0x1775ac(0x2d8)][_0x1775ac(0x18e)](_0x3e7358['UNIVER_SHEET']),this[_0x1775ac(0x2d8)][_0x1775ac(0x18e)](_0x3e7358['UNIVER_DOC']))[_0x1775ac(0xd4)](_0x4c135a(_0x505fa7=>_0x505fa7[_0x1775ac(0x11f)]()),_0xc72917(_0x3e8f7a=>!_0x25ac5e(_0x3e8f7a)),_0x27e70f(this[_0x1775ac(0x184)]))['subscribe'](_0x2535ee=>{_0x231f49(_0x2535ee);});}[_0x1ce106(0xa0)](){var _0x1efa66=_0x1ce106;const _0x2c0edc=async _0x5a6ada=>{var _0x237375=_0x654c;const _0x386604=await this[_0x237375(0x282)][_0x237375(0x109)](_0x5a6ada),_0x1c76d4=this[_0x237375(0x105)][_0x237375(0x36d)](_0x175c27);_0x386604[_0x237375(0x9c)]['pipe'](_0xc72917(_0x28e974=>_0x28e974[_0x237375(0x188)]===_0x10c22b['UPDATE_PERMISSION_OBJ']),_0x27e70f(this['dispose$']))[_0x237375(0xa2)](_0x4cddde=>{var _0x26b2f9=_0x237375;const _0x3801f1=_0x4cddde,{objectId:_0x4e280c}=_0x3801f1['data'];_0x4e280c===_0x5a6ada?_0x1c76d4[_0x26b2f9(0x222)](_0x5a6ada):_0x1c76d4[_0x26b2f9(0x1f1)](_0x5a6ada,_0x4e280c);});};_0x43d5e8(this[_0x1efa66(0x2d8)][_0x1efa66(0x18e)](_0x3e7358[_0x1efa66(0x112)]))[_0x1efa66(0xd4)](_0x4c135a(_0x1c30c2=>_0x1c30c2['getUnitId']()),_0xc72917(_0xec4943=>!_0x25ac5e(_0xec4943)),_0x27e70f(this[_0x1efa66(0x184)]))[_0x1efa66(0xa2)](_0x297dbf=>{_0x2c0edc(_0x297dbf);});}};ot=rr([Ae(0x0,_0x462e36(_0x454bc4)),Ae(0x1,_0x1f74c9),Ae(0x2,_0x26f4a9),Ae(0x3,_0x462e36(Le)),Ae(0x4,_0x462e36(ve))],ot);var ar=Object[_0x1ce106(0x29d)],or=(_0x36e465,_0xf7e33a,_0x293df8,_0x3d39a1)=>{for(var _0x3c4f83=_0x3d39a1>0x1?void 0x0:_0x3d39a1?ar(_0xf7e33a,_0x293df8):_0xf7e33a,_0x13a141=_0x36e465['length']-0x1,_0x400fec;_0x13a141>=0x0;_0x13a141--)(_0x400fec=_0x36e465[_0x13a141])&&(_0x3c4f83=_0x400fec(_0x3c4f83)||_0x3c4f83);return _0x3c4f83;},oi=(_0x2579b3,_0x19ee82)=>(_0x1a690b,_0x254c4e)=>_0x19ee82(_0x1a690b,_0x254c4e,_0x2579b3);let Ot=class{constructor(_0x281c2b,_0x15742c){var _0x2f95ab=_0x1ce106;this['_configService']=_0x281c2b,this[_0x2f95ab(0x1b6)]=_0x15742c;}async[_0x1ce106(0x28d)](_0x42503d,_0x11de56){var _0x4fc53f=_0x1ce106,_0x589988;const {unitID:_0x449950,type:_0x228e54,revision:_0x3a8252=0x0}=_0x11de56,_0x46936f=this[_0x4fc53f(0x18d)]()+'/'+_0x228e54+_0x4fc53f(0x32e)+_0x449950+_0x4fc53f(0x12b)+_0x3a8252,_0x9a5c44=(await this[_0x4fc53f(0x1b6)][_0x4fc53f(0x36d)](_0x46936f))[_0x4fc53f(0x364)],_0x57117b=(_0x589988=_0x9a5c44[_0x4fc53f(0x10a)])==null?void 0x0:_0x589988[_0x4fc53f(0x20e)];if(_0x57117b){const _0x3fdd66=_0x57117b==null?void 0x0:_0x57117b[_0x4fc53f(0x12c)],_0x344de1=_0x26cb04[_0x4fc53f(0x313)](_0x341349(_0x3fdd66));_0x57117b[_0x4fc53f(0x12c)]=_0x344de1,Object['entries'](_0x57117b['sheets'])[_0x4fc53f(0x27c)](([,_0x3107e2])=>{var _0x31f00a=_0x4fc53f;const _0x3df1b0=_0x3107e2[_0x31f00a(0x12c)],_0x3f3ab5=_0x26cb04[_0x31f00a(0x313)](_0x341349(_0x3df1b0));_0x3107e2[_0x31f00a(0x12c)]=_0x3f3ab5;});}return _0x9a5c44;}async[_0x1ce106(0x179)](_0x2a723d,_0x294f03){var _0x11524f=_0x1ce106;const {unitID:_0x2fc46e,type:_0xa733cc,blockID:_0x2d81ed}=_0x294f03,_0x46cfee=this[_0x11524f(0x35b)]()+'/'+_0xa733cc+_0x11524f(0x32e)+_0x2fc46e+'/block/'+_0x2d81ed;return(await this['_httpService'][_0x11524f(0x36d)](_0x46cfee))[_0x11524f(0x364)];}async[_0x1ce106(0x287)](_0x2bd741,_0x3c658f){var _0x4fdac9=_0x1ce106;const {unitID:_0x6ab70e,type:_0xc04d5a,blockID:_0x86d1da}=_0x3c658f,_0xc5a0de=this[_0x4fdac9(0x35b)]()+_0x4fdac9(0x230)+_0xc04d5a+'/unit/'+_0x6ab70e+_0x4fdac9(0x230)+_0x86d1da;return(await this[_0x4fdac9(0x1b6)]['get'](_0xc5a0de))['body'];}async['fetchMissingChangesets'](_0x54cfea,_0x39aade){var _0xb6849b=_0x1ce106;const {unitID:_0x5059b1,type:_0x2b7492,from:_0x588b6a,to:_0xa3b0ae}=_0x39aade,_0x22887a=this['_getAPIPrefix']()+'/'+_0x2b7492+'/unit/'+_0x5059b1+_0xb6849b(0x2d7)+_0x588b6a+'&to='+_0xa3b0ae;return(await this[_0xb6849b(0x1b6)][_0xb6849b(0x36d)](_0x22887a))[_0xb6849b(0x364)];}[_0x1ce106(0x18d)](){var _0xf6f17e=_0x1ce106,_0x2dd183;return(_0x2dd183=this['_configService'][_0xf6f17e(0x18a)](ps))!=null?_0x2dd183:this[_0xf6f17e(0x35b)]();}['_getAPIPrefix'](){var _0x2b36fb=_0x1ce106,_0x5370dd,_0xa5c7a7;const _0x587025=this[_0x2b36fb(0x23f)]['getConfig'](fs),_0x4f334f=this[_0x2b36fb(0x23f)][_0x2b36fb(0x18a)](K);return(_0xa5c7a7=(_0x5370dd=_0x4f334f==null?void 0x0:_0x4f334f[_0x2b36fb(0x2c1)])!=null?_0x5370dd:_0x587025)!=null?_0xa5c7a7:vs;}async[_0x1ce106(0x375)](_0x1799aa,_0x4e24cc){var _0x1c8e94=_0x1ce106;const _0x576cbe=_0x1c8e94(0x1d4)+_0x4e24cc[_0x1c8e94(0x260)]+'/unit/'+_0x4e24cc[_0x1c8e94(0x323)]+'/resources';return(await this[_0x1c8e94(0x1b6)][_0x1c8e94(0x36d)](_0x576cbe,{'params':{'resourceId':JSON[_0x1c8e94(0x227)](_0x4e24cc[_0x1c8e94(0x366)])}}))['body'];}[_0x1ce106(0x2a7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1ce106(0x2b7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x2ab2ac=_0x1ce106;throw new Error(_0x2ab2ac(0x1cc));}[_0x1ce106(0x141)](){var _0x37e3e3=_0x1ce106;throw new Error(_0x37e3e3(0x1cc));}[_0x1ce106(0x302)](){var _0x650975=_0x1ce106;throw new Error(_0x650975(0x1cc));}[_0x1ce106(0x192)](){var _0x2fe00e=_0x1ce106;throw new Error(_0x2fe00e(0x1cc));}};Ot=or([oi(0x0,_0x4a5014),oi(0x1,_0x462e36(_0x91e7e9))],Ot);var cr=Object[_0x1ce106(0x29d)],hr=(_0x24200c,_0x48b6fe,_0x4a3c82,_0x1fc5fe)=>{var _0xc32b20=_0x1ce106;for(var _0x8d935a=_0x1fc5fe>0x1?void 0x0:_0x1fc5fe?cr(_0x48b6fe,_0x4a3c82):_0x48b6fe,_0x2ebcc5=_0x24200c[_0xc32b20(0x26d)]-0x1,_0x18a92e;_0x2ebcc5>=0x0;_0x2ebcc5--)(_0x18a92e=_0x24200c[_0x2ebcc5])&&(_0x8d935a=_0x18a92e(_0x8d935a)||_0x8d935a);return _0x8d935a;},we=(_0x3c654c,_0x59f1d2)=>(_0x150a3c,_0x1c6641)=>_0x59f1d2(_0x150a3c,_0x1c6641,_0x3c654c);let yt=class extends _0x10900d{constructor(_0x3061e1,_0x3f1730,_0x1d1a4b,_0x39252b,_0x2f23c8){var _0x38c18f=_0x1ce106;super(_0x3061e1,_0x3f1730,_0x1d1a4b),this[_0x38c18f(0x342)]=_0x39252b,this[_0x38c18f(0x331)]=_0x2f23c8;}[_0x1ce106(0xb2)](_0x3e0231,_0xa094c8){var _0x3a462b=_0x1ce106;const _0x41eed6=this['_getUndoStack'](_0x3e0231);if(_0x41eed6)try{const _0x37950d=this[_0x3a462b(0x373)](_0x41eed6,_0xa094c8);this[_0x3a462b(0x2cd)](_0x3e0231,_0x37950d);}catch(_0x1fd9dc){this[_0x3a462b(0x331)]['error']('[CollaborationUndoRedoService]',_0x1fd9dc),this[_0x3a462b(0x27a)](_0x3e0231);}const _0x4a7f92=this[_0x3a462b(0x37e)](_0x3e0231);if(_0x4a7f92)try{const _0x2af749=this['_transformStack'](_0x4a7f92,_0xa094c8);this[_0x3a462b(0x199)](_0x3e0231,_0x2af749);}catch(_0x21db1f){this[_0x3a462b(0x331)][_0x3a462b(0x211)](_0x21db1f),this['_clearRedo'](_0x3e0231);}}['_clearUndo'](_0x59aced){var _0x411857=_0x1ce106;const _0x4ce09a=this[_0x411857(0x25d)](_0x59aced);_0x4ce09a&&(_0x4ce09a[_0x411857(0x26d)]=0x0,this[_0x411857(0x300)]());}[_0x1ce106(0xb6)](_0x4018e0){var _0x49fcd5=_0x1ce106;const _0x27b690=this[_0x49fcd5(0x37e)](_0x4018e0);_0x27b690&&(_0x27b690[_0x49fcd5(0x26d)]=0x0,this['_updateStatus']());}[_0x1ce106(0x2cd)](_0x2f2bbb,_0x5cabe3){var _0x121cc0=_0x1ce106;this['_undoStacks'][_0x121cc0(0x126)](_0x2f2bbb,_0x5cabe3),this[_0x121cc0(0x300)]();}[_0x1ce106(0x199)](_0x3b843a,_0x31c382){var _0x3801bd=_0x1ce106;this[_0x3801bd(0x1ba)][_0x3801bd(0x126)](_0x3b843a,_0x31c382),this['_updateStatus']();}['_transformStack'](_0x350264,_0x134f3a){var _0x37b31f=_0x1ce106;const _0x103f38=[];let _0x2aa6fb=_0x134f3a,_0x57e699=_0x134f3a;for(let _0x432bfc=_0x350264[_0x37b31f(0x26d)]-0x1;_0x432bfc>=0x0;_0x432bfc--){const {unitID:_0x2d9033,undoMutations:_0x53614f,redoMutations:_0x28b6a4}=_0x350264[_0x432bfc],_0x54c47b=this[_0x37b31f(0x342)][_0x37b31f(0x348)](_0x2aa6fb,_0x53614f),_0x28e2b6=this['_transformService'][_0x37b31f(0x348)](_0x57e699,_0x28b6a4);if(_0x5d980c(_0x54c47b)||_0x5d980c(_0x28e2b6)){this['_logService']['error'](_0x37b31f(0x2e2),'transformStack\x20failed!',_0x54c47b,_0x28e2b6);break;}_0x2aa6fb=_0x54c47b[_0x37b31f(0x174)],_0x57e699=_0x28e2b6['c1Prime'],_0x103f38[_0x37b31f(0x34a)]({'unitID':_0x2d9033,'undoMutations':_0x54c47b['m2Prime'],'redoMutations':_0x28e2b6[_0x37b31f(0x22c)]});}return _0x103f38[_0x37b31f(0xc5)]();}};yt=hr([we(0x0,_0x1f74c9),we(0x1,_0x5a4b18),we(0x2,_0x15f5fd),we(0x3,_0x9cb7ab),we(0x4,_0x103e27)],yt);var _r=Object['defineProperty'],lr=Object[_0x1ce106(0x29d)],ur=(_0x55455a,_0x596b6f,_0xe48e05)=>_0x596b6f in _0x55455a?_r(_0x55455a,_0x596b6f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe48e05}):_0x55455a[_0x596b6f]=_0xe48e05,dr=(_0x1ff625,_0x298d7e,_0x1b2d4b,_0x4d2e82)=>{var _0x3788dd=_0x1ce106;for(var _0x24e9a7=_0x4d2e82>0x1?void 0x0:_0x4d2e82?lr(_0x298d7e,_0x1b2d4b):_0x298d7e,_0x1a531c=_0x1ff625[_0x3788dd(0x26d)]-0x1,_0x4b927d;_0x1a531c>=0x0;_0x1a531c--)(_0x4b927d=_0x1ff625[_0x1a531c])&&(_0x24e9a7=_0x4b927d(_0x24e9a7)||_0x24e9a7);return _0x24e9a7;},mt=(_0x19a4d,_0x21786b)=>(_0x31a244,_0x1e8274)=>_0x21786b(_0x31a244,_0x1e8274,_0x19a4d),fr=(_0x18545f,_0x1b2f05,_0x3ebc58)=>ur(_0x18545f,_0x1b2f05+'',_0x3ebc58);const vr=_0x1ce106(0x147);let Nt=class extends _0x34e70b{constructor(_0x38297a,_0x468910,_0x39f637,_0x29996f){var _0x1706cc=_0x1ce106;super(),N(this,_0x1706cc(0x165)),(this[_0x1706cc(0x331)]=_0x468910,this['_injector']=_0x39f637,this[_0x1706cc(0x23f)]=_0x29996f);const {..._0x2aa076}=_0x27cbe2({},Ds,_0x38297a);if(!_0x2aa076['socketService'])throw new Error(_0x1706cc(0x2d1));this[_0x1706cc(0x165)]=_0x2aa076,this[_0x1706cc(0x23f)][_0x1706cc(0x1ab)](K,_0x2aa076);}['onStarting'](){var _0x535e3d=_0x1ce106;this[_0x535e3d(0x1dd)](),this['_initDependencies']();}[_0x1ce106(0x1dd)](){var _0x461350=_0x1ce106,_0x517716,_0x11afb9;this[_0x461350(0x105)][_0x461350(0x1bc)](_0x49d306)&&this[_0x461350(0x331)][_0x461350(0x211)]('[UniverCollaborationClientPlugin]',_0x461350(0x107));const _0x477ffd=_0x266831([[_0x49d306,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this['_config'][_0x461350(0x391)]}],[_0x49f086,{'useClass':Ot}],[_0x3d56a1,{'useClass':Tt}],[_0x4bc34d,{'useClass':Rt}],[_0x18db13,{'useClass':bt}],[nt],[It]],(_0x517716=this[_0x461350(0x165)])==null?void 0x0:_0x517716[_0x461350(0x296)]);if(!((_0x11afb9=this[_0x461350(0x165)])!=null&&_0x11afb9['enableSingleActiveInstanceLock'])){const _0x571b31=_0x477ffd[_0x461350(0xbb)](([_0x43650b])=>_0x43650b===ht);_0x571b31!==-0x1&&_0x477ffd[_0x461350(0xdd)](_0x571b31,0x1);}_0x4b970a(this[_0x461350(0x105)],_0x477ffd);}[_0x1ce106(0x23d)](){var _0x284892=_0x1ce106,_0x7de4b3,_0x3389ba,_0x15f6f0;this[_0x284892(0x105)][_0x284892(0x36d)](_0x91e7e9)[_0x284892(0x1c1)]({'priority':0x14,'interceptor':_0x50fc9a({'maxParallel':0x6})}),(_0x7de4b3=this[_0x284892(0x165)])!=null&&_0x7de4b3[_0x284892(0xd6)]||(_0x3389ba=this[_0x284892(0x105)][_0x284892(0x36d)](J,_0x56f761['OPTIONAL']))==null||_0x3389ba[_0x284892(0x14c)](),(_0x15f6f0=this[_0x284892(0x165)])!=null&&_0x15f6f0['enableAuthServer']&&_0x4b931f(this[_0x284892(0x105)],[[rt]]),_0x4b931f(this['_injector'],[[at],[nt],[ot]]);}};fr(Nt,_0x1ce106(0x1ef),vr),Nt=dr([_0x28b519(_0x5838d6,_0x145b4f),mt(0x1,_0x103e27),mt(0x2,_0x462e36(_0x454bc4)),mt(0x3,_0x4a5014)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};