@univerjs-pro/collaboration-client 0.7.0-nightly.202505101606 → 0.7.0-nightly.202505121607

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 _0x2d44ac=_0x39a9;(function(_0x1ce3e5,_0x1d3b91){var _0x52e1f3=_0x39a9,_0x42698f=_0x1ce3e5();while(!![]){try{var _0xd46d5f=-parseInt(_0x52e1f3(0x34b))/0x1*(parseInt(_0x52e1f3(0x1c9))/0x2)+-parseInt(_0x52e1f3(0x19b))/0x3*(parseInt(_0x52e1f3(0x3c4))/0x4)+parseInt(_0x52e1f3(0x2bc))/0x5+parseInt(_0x52e1f3(0x262))/0x6*(-parseInt(_0x52e1f3(0x108))/0x7)+parseInt(_0x52e1f3(0x136))/0x8*(parseInt(_0x52e1f3(0x17e))/0x9)+parseInt(_0x52e1f3(0x186))/0xa+parseInt(_0x52e1f3(0xfe))/0xb;if(_0xd46d5f===_0x1d3b91)break;else _0x42698f['push'](_0x42698f['shift']());}catch(_0x2210e5){_0x42698f['push'](_0x42698f['shift']());}}}(_0x393f,0xe08ce));var wi=Object[_0x2d44ac(0x2bd)],Pi=(_0x3d4013,_0x423b76,_0x33a4b2)=>_0x423b76 in _0x3d4013?wi(_0x3d4013,_0x423b76,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33a4b2}):_0x3d4013[_0x423b76]=_0x33a4b2,N=(_0x389854,_0x473d47,_0x46a7c6)=>Pi(_0x389854,typeof _0x473d47!=_0x2d44ac(0x3c5)?_0x473d47+'':_0x473d47,_0x46a7c6);import{createIdentifier as _0x33148c,Inject as _0x3a18e9,Injector as _0x2eed8a,IConfigService as _0x462043,ILogService as _0x41bbc0,Disposable as _0x50932a,DisposableCollection as _0x4ca079,toDisposable as _0x411075,IUniverInstanceService as _0x2e2ca3,UserManagerService as _0x4fd4ba,UniverInstanceType as _0x34ccd3,LocaleService as _0x25b15a,Optional as _0x1f5a13,RxDisposable as _0x2f9470,Tools as _0x10fb77,Rectangle as _0x3be7f8,ICommandService as _0x326da6,JSONX as _0x575400,CommandType as _0x2707f2,IUndoRedoService as _0x46d3c0,IPermissionService as _0x1461bf,sequenceExecute as _0x4d2b7a,Workbook as _0x433510,MentionType as _0x97c634,isInternalEditorID as _0x5423ab,LocalUndoRedoService as _0x579d45,IContextService as _0x38dea7,DependentOn as _0x327176,Plugin as _0x210254,merge as _0x36ec5e,mergeOverrideWithDependencies as _0x581157,IAuthzIoService as _0xcc27c5,IMentionIOService as _0x55d716,registerDependencies as _0xa3cd39,Quantity as _0x5594c6,touchDependencies as _0x32fd4c}from'@univerjs/core';import{Subject as _0x42e7d7,merge as _0x5ac85e,of as _0x324682,BehaviorSubject as _0xa6b6e7,takeUntil as _0x4906df,ReplaySubject as _0x5d4224,take as _0x3d256e,map as _0xa964fc,shareReplay as _0x2ea2ae,firstValueFrom as _0x5039fe,concatMap as _0x4b76a7}from'rxjs';import{map as _0x4fc619,take as _0x16de2,filter as _0x24719a,delay as _0x291475,takeUntil as _0x5745eb}from'rxjs/operators';import{CollaborationEvent as _0x3d1bff,ISnapshotServerService as _0x3d2e4f,parseChangesetToProtocol as _0x1f7372,ITransformService as _0x157f6a,isTransformMutationsWithChangesetSuccess as _0x418fd2,mapDocumentTypeToUniverType as _0x3e9c01,RevisionService as _0x43b8da,isTransformChangesetsSuccess as _0x3d2c6a,CompressMutationService as _0x370cea,parseProtocolChangeset as _0xad3758,SnapshotService as _0x4194fe,textEncoder as _0x154489,b64DecodeUnicode as _0x1a97d4,isTransformMutationsWithChangesetFailure as _0x2f9aac,UniverCollaborationPlugin as _0x1baaeb}from'@univerjs-pro/collaboration';import{HTTPService as _0x477870,ISocketService as _0x119ba7,MergeInterceptorFactory as _0x8b4ced,HTTPRequest as _0x5235ed,UniverNetworkPlugin as _0x22fece,ThresholdInterceptorFactory as _0x6a2522}from'@univerjs/network';import{ITelemetryService as _0x365817}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3a517f}from'@univerjs/docs';import{SheetsSelectionsService as _0x33ec45,SetSelectionsOperation as _0x913cf0,InsertSheetMutation as _0x18815b,EmptyMutation as _0xf1efa,WorkbookEditablePermission as _0x457771,SheetPermissionInitController as _0x43a842}from'@univerjs/sheets';import{ImageSourceType as _0x371265,ImageUploadStatusType as _0x2e1ab9,IImageIoService as _0x4d6d8d}from'@univerjs/drawing';import{getGlobalObject as _0x4b29a2}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn='/universer-api/snapshot',Sn=_0x2d44ac(0x229),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0x2d44ac(0x319),Tn=_0x2d44ac(0x22c),Mr='/universer-api/user/session-ticket',Cn=_0x2d44ac(0x320),Rn=0x7530,mi=_0x2d44ac(0x2d5),gi=0x4e20,bn=0x4e20,On=_0x2d44ac(0x249),yn=0x3,xr=_0x2d44ac(0x38e),kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x2d44ac(0x100),Un=_0x2d44ac(0x296),An=_0x2d44ac(0x2f7),$r=_0x2d44ac(0x2bb),Hr=_0x2d44ac(0x3f3);var Si=(_0x1d2c51=>(_0x1d2c51[_0x1d2c51[_0x2d44ac(0x377)]=0x0]=_0x2d44ac(0x377),_0x1d2c51[_0x1d2c51['OK']=0x1]='OK',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x3ee)]=0x2]=_0x2d44ac(0x3ee),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x230)]=0x3]='PERMISSION_DENIED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x22d)]=0x4]='NOT_FOUND',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x15d)]=0x5]=_0x2d44ac(0x15d),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x18b)]=0x6]=_0x2d44ac(0x18b),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x308)]=0x7]=_0x2d44ac(0x308),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x30b)]=0x8]='TOO_MANY_REQUESTS',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x17c)]=0x9]=_0x2d44ac(0x17c),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x30e)]=0xa]=_0x2d44ac(0x30e),_0x1d2c51[_0x1d2c51['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x385)]=0x1771]=_0x2d44ac(0x385),_0x1d2c51[_0x1d2c51['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x164)]=0x1773]=_0x2d44ac(0x164),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x307)]=0x1b59]=_0x2d44ac(0x307),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x36b)]=0x1b5a]=_0x2d44ac(0x36b),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2c2)]=0x1b5b]=_0x2d44ac(0x2c2),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x147)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x20a)]=0x1b5d]=_0x2d44ac(0x20a),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2a0)]=0x1f41]=_0x2d44ac(0x2a0),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x310)]=0x2329]=_0x2d44ac(0x310),_0x1d2c51[_0x1d2c51[_0x2d44ac(0xfd)]=0x232a]=_0x2d44ac(0xfd),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2ac)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x1a3)]=0x232c]=_0x2d44ac(0x1a3),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x239)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x293)]=0x2711]=_0x2d44ac(0x293),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x157)]=0x2712]=_0x2d44ac(0x157),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2b1)]=0x2713]=_0x2d44ac(0x2b1),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x162)]=0x2714]=_0x2d44ac(0x162),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x30d)]=0x271a]=_0x2d44ac(0x30d),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x166)]=0x271b]=_0x2d44ac(0x166),_0x1d2c51[_0x1d2c51['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x2d44ac(0x1e5),_0x1d2c51[_0x1d2c51['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2d44ac(0x390),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x1fe)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1d2c51[_0x1d2c51['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x1d2c51[_0x1d2c51['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x17f)]=0x2ee1]=_0x2d44ac(0x17f),_0x1d2c51[_0x1d2c51['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x341)]=0x2ee3]=_0x2d44ac(0x341),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x298)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x1d2c51[_0x1d2c51['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x26b)]=0x32c9]=_0x2d44ac(0x26b),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x3d6)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2b8)]=0x32cb]=_0x2d44ac(0x2b8),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0x1d2c51))(Si||{}),Q=(_0x27e8fa=>(_0x27e8fa[_0x27e8fa['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x27e8fa[_0x27e8fa[_0x2d44ac(0x3f8)]=0x1]='UNIVER_DOC',_0x27e8fa[_0x27e8fa[_0x2d44ac(0x39a)]=0x2]=_0x2d44ac(0x39a),_0x27e8fa[_0x27e8fa['UNIVER_SLIDE']=0x3]=_0x2d44ac(0x3a0),_0x27e8fa[_0x27e8fa['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x27e8fa[_0x27e8fa[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0x27e8fa))(Q||{}),F=(_0x2897ad=>(_0x2897ad[_0x2897ad[_0x2d44ac(0x24a)]=0x0]=_0x2d44ac(0x24a),_0x2897ad[_0x2897ad[_0x2d44ac(0x396)]=0x1]='HELLO',_0x2897ad[_0x2897ad[_0x2d44ac(0x2c9)]=0x2]=_0x2d44ac(0x2c9),_0x2897ad[_0x2897ad[_0x2d44ac(0x2b4)]=0x3]='LEAVE',_0x2897ad[_0x2897ad[_0x2d44ac(0x107)]=0x4]=_0x2d44ac(0x107),_0x2897ad[_0x2897ad[_0x2d44ac(0x134)]=0x5]=_0x2d44ac(0x134),_0x2897ad[_0x2897ad[_0x2d44ac(0x392)]=0x6]=_0x2d44ac(0x392),_0x2897ad[_0x2897ad[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0x2897ad))(F||{}),ge=(_0xf183d8=>(_0xf183d8[_0xf183d8[_0x2d44ac(0x278)]=0x0]='UNKNOWN_CODE',_0xf183d8[_0xf183d8['OK']=0x1]='OK',_0xf183d8[_0xf183d8[_0x2d44ac(0x1b7)]=0x2]=_0x2d44ac(0x1b7),_0xf183d8[_0xf183d8[_0x2d44ac(0x31e)]=0x3e9]=_0x2d44ac(0x31e),_0xf183d8[_0xf183d8[_0x2d44ac(0x19e)]=0x3ea]=_0x2d44ac(0x19e),_0xf183d8[_0xf183d8[_0x2d44ac(0x3d8)]=0x3eb]=_0x2d44ac(0x3d8),_0xf183d8[_0xf183d8[_0x2d44ac(0x2c4)]=0x3ec]=_0x2d44ac(0x2c4),_0xf183d8[_0xf183d8[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0xf183d8))(ge||{}),Ei=(_0x51e447=>(_0x51e447[_0x51e447['Undefined']=0x0]=_0x2d44ac(0x285),_0x51e447[_0x51e447[_0x2d44ac(0x19f)]=0x1]=_0x2d44ac(0x19f),_0x51e447[_0x51e447['HttpExport']=0x2]=_0x2d44ac(0x333),_0x51e447[_0x51e447['UnitEmbedded']=0x3]=_0x2d44ac(0x237),_0x51e447[_0x51e447[_0x2d44ac(0x22f)]=0x4]='UnitSnapshot',_0x51e447[_0x51e447[_0x2d44ac(0x202)]=0x5]='UserProfileImg',_0x51e447[_0x51e447[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0x51e447))(Ei||{});const q=_0x2d44ac(0x31c),wn={};var re=(_0x3b2b46=>(_0x3b2b46[_0x2d44ac(0x11f)]='OTHER_CLIENT_EDITING',_0x3b2b46[_0x2d44ac(0x230)]=_0x2d44ac(0x230),_0x3b2b46['CONFLICT']=_0x2d44ac(0x3b3),_0x3b2b46['CLOSE_ROOM']=_0x2d44ac(0x3ec),_0x3b2b46[_0x2d44ac(0x3eb)]=_0x2d44ac(0x3eb),_0x3b2b46[_0x2d44ac(0x347)]=_0x2d44ac(0x347),_0x3b2b46[_0x2d44ac(0x2d9)]=_0x2d44ac(0x2d9),_0x3b2b46[_0x2d44ac(0x294)]='SUBMIT_CHANGESET_TIMEOUT',_0x3b2b46))(re||{});class pe{constructor(){var _0x4b4ae4=_0x2d44ac;N(this,_0x4b4ae4(0x3bf),new _0x42e7d7()),N(this,_0x4b4ae4(0x2ff),this['_event$'][_0x4b4ae4(0x2f1)]());}[_0x2d44ac(0x113)](_0x1b9d18){var _0x160c70=_0x2d44ac;this['_event$'][_0x160c70(0x26e)](_0x1b9d18);}}const Pn=_0x33148c(_0x2d44ac(0x245));function Ln(_0x512b91){var _0x40efde=_0x2d44ac,_0x4da8af,_0xb587b2,_0x40939c,_0x2e8529,_0x5e1a95;const _0x3fa897=_0x512b91[_0x40efde(0x18e)],_0x232b9e=JSON['parse'](_0x3fa897);switch(_0x232b9e[_0x40efde(0x2da)]){case F[_0x40efde(0x134)]:case F[_0x40efde(0x396)]:{const _0x55fc4f=_0x232b9e[_0x40efde(0x3de)];return{..._0x232b9e,'data':_0x55fc4f,'cmd':_0x232b9e['cmd']};}case F[_0x40efde(0x2c9)]:{const _0x291246=_0x232b9e[_0x40efde(0x236)];return{..._0x232b9e,'data':_0x291246,'cmd':_0x232b9e['cmd']};}case F[_0x40efde(0x392)]:{const _0x4e2f29=_0x232b9e[_0x40efde(0x3c9)];switch(_0x4e2f29['eventID']){case _0x3d1bff[_0x40efde(0x1a4)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0x4da8af=_0x4e2f29['permissionRejEvent'])==null?void 0x0:_0x4da8af['cs']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x34a)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0xb587b2=_0x4e2f29[_0x40efde(0x1a8)])==null?void 0x0:_0xb587b2['cs']},'cmd':_0x232b9e['cmd']};case _0x3d1bff[_0x40efde(0x381)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0x40939c=_0x4e2f29[_0x40efde(0x2a5)])==null?void 0x0:_0x40939c['cs']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x248)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0x2e8529=_0x4e2f29['csRejEvent'])==null?void 0x0:_0x2e8529['cs']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x1bd)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0x5e1a95=_0x4e2f29[_0x40efde(0x3ca)])==null?void 0x0:_0x5e1a95['cs']},'cmd':_0x232b9e['cmd']};case _0x3d1bff[_0x40efde(0x1f0)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x36a)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x401)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29['joinEvent']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x25e)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29['leaveEvent']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x367)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29['liveShareNewHost']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x240)]:case _0x3d1bff[_0x40efde(0x2f8)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x14f)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x2ef)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x3d9)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x37a)]:return{..._0x232b9e,'data':_0x4e2f29,'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x2ca)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x338)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x3cb)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x326)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x175)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x339)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x1c3)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x349)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};default:return _0x232b9e;}}default:return _0x232b9e;}}function Mn(_0x106188){var _0xf5f5f0=_0x2d44ac;switch(_0x106188[_0xf5f5f0(0x2da)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0xf5f5f0(0x2f2)]({'cmd':_0x106188['cmd'],'routeKey':_0x106188['routeKey']});case F[_0xf5f5f0(0x107)]:{let _0xeebb4c;switch(_0x106188[_0xf5f5f0(0x18e)]['eventID']){case _0x3d1bff['UPDATE_CURSOR']:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x1f0)],'updateCursorEvent':_0x106188[_0xf5f5f0(0x18e)]['data']};break;}case _0x3d1bff[_0xf5f5f0(0x25e)]:{_0xeebb4c={'eventID':_0x3d1bff['USERS_LEAVE'],'leaveEvent':_0x106188['data'][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff[_0xf5f5f0(0x401)]:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x401)],'joinEvent':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff[_0xf5f5f0(0x367)]:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x367)],'liveShareNewHost':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff[_0xf5f5f0(0x2f8)]:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x2f8)],'liveShareOperation':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff[_0xf5f5f0(0x2ef)]:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x2ef)],'liveShareTerminate':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff['LIVESHARE_REQUEST_HOST']:{_0xeebb4c={'eventID':_0x3d1bff['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff['LIVESHARE_FETCH_OPERATIONS']:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x240)]};break;}default:_0xeebb4c={'eventID':_0x106188['data'][_0xf5f5f0(0x3f7)]};}return JSON[_0xf5f5f0(0x2f2)]({'cmd':_0x106188[_0xf5f5f0(0x2da)],'routeKey':_0x106188['routeKey'],'collaMsg':_0xeebb4c});}case F[_0xf5f5f0(0x2c9)]:return JSON['stringify']({'cmd':_0x106188[_0xf5f5f0(0x2da)],'routeKey':_0x106188[_0xf5f5f0(0x335)],'joinReq':_0x106188[_0xf5f5f0(0x18e)]});case F[_0xf5f5f0(0x2b4)]:return JSON[_0xf5f5f0(0x2f2)]({'cmd':_0x106188[_0xf5f5f0(0x2da)],'routeKey':_0x106188[_0xf5f5f0(0x335)],'leaveReq':_0x106188[_0xf5f5f0(0x18e)]});default:throw new Error(_0xf5f5f0(0x101));}}var xn=Object[_0x2d44ac(0x2a3)],kn=(_0x51483e,_0x5c7c95,_0x51f265,_0x3b93af)=>{var _0x9e0220=_0x2d44ac;for(var _0x442b82=_0x3b93af>0x1?void 0x0:_0x3b93af?xn(_0x5c7c95,_0x51f265):_0x5c7c95,_0x9b297d=_0x51483e[_0x9e0220(0x1cc)]-0x1,_0x2f7bcf;_0x9b297d>=0x0;_0x9b297d--)(_0x2f7bcf=_0x51483e[_0x9b297d])&&(_0x442b82=_0x2f7bcf(_0x442b82)||_0x442b82);return _0x442b82;},Ae=(_0x41b85c,_0x25f3e5)=>(_0x1d0341,_0x57d032)=>_0x25f3e5(_0x1d0341,_0x57d032,_0x41b85c);const Ii=_0x33148c(_0x2d44ac(0x2b5));function $n(_0x502c80,_0x1a5a8d,_0x3a0ccc){var _0x12f018=_0x2d44ac;return _0x502c80+'/'+_0x1a5a8d+_0x12f018(0x2d7)+_0x3a0ccc+_0x12f018(0x1fd);}let Gt=class extends _0x50932a{constructor(_0x228193,_0x561321,_0x40debc,_0x4cb434,_0x35bbaf){var _0x39bf36=_0x2d44ac;super(),this[_0x39bf36(0x3d2)]=_0x228193,this[_0x39bf36(0x35c)]=_0x561321,this[_0x39bf36(0x375)]=_0x40debc,this[_0x39bf36(0x1d5)]=_0x4cb434,this[_0x39bf36(0x322)]=_0x35bbaf;}[_0x2d44ac(0x35f)](_0x498656){var _0x30b2b3=_0x2d44ac;const _0x5c0305=this['_injector'][_0x30b2b3(0x215)](_0x119ba7);if(!_0x5c0305)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x5c3005=_0x5c0305[_0x30b2b3(0x253)](_0x498656);if(!_0x5c3005)throw new Error(_0x30b2b3(0x32c));const _0x3b853f=new _0x4ca079(),_0x4be47d=new _0x42e7d7();_0x3b853f['add'](_0x5c3005['close$'][_0x30b2b3(0x128)](_0x361c0b=>_0x4be47d['next'](_0x361c0b))),_0x3b853f[_0x30b2b3(0x127)](_0x411075(()=>_0x4be47d[_0x30b2b3(0x172)]()));const _0x5007bb=new _0x42e7d7();_0x3b853f[_0x30b2b3(0x127)](_0x5c3005[_0x30b2b3(0x30c)]['subscribe'](_0x347a26=>_0x5007bb[_0x30b2b3(0x26e)](_0x347a26))),_0x3b853f[_0x30b2b3(0x127)](_0x411075(()=>_0x5007bb['complete']()));const _0x176f1b=new _0x42e7d7();_0x3b853f[_0x30b2b3(0x127)](_0x5c3005[_0x30b2b3(0x167)]['subscribe'](_0x4306f7=>{var _0x821b83=_0x30b2b3;const _0x4ee34d=Ln(_0x4306f7);_0x176f1b[_0x821b83(0x26e)](_0x4ee34d);})),_0x3b853f[_0x30b2b3(0x127)](_0x411075(()=>_0x176f1b[_0x30b2b3(0x172)]()));let _0x4622ec;const _0x112c6c=()=>{var _0x25ef38=_0x30b2b3;_0x5007bb[_0x25ef38(0x26e)](new Event(_0x25ef38(0x356))),_0x4be47d[_0x25ef38(0x26e)](new Event(_0x25ef38(0x356))),_0x4622ec[_0x25ef38(0x3a7)]();};return _0x4622ec={'memberID':'','close$':_0x4be47d['asObservable'](),'error$':_0x5007bb[_0x30b2b3(0x2f1)](),'open$':_0x5c3005[_0x30b2b3(0x23c)],'message$':_0x176f1b['asObservable'](),'send':_0x4bd608=>{var _0x4f288b=_0x30b2b3;if(_0x4bd608[_0x4f288b(0x2da)]===F['INGEST']){if(_0x4bd608[_0x4f288b(0x18e)][_0x4f288b(0x3f7)]===_0x3d1bff[_0x4f288b(0x1ab)]){this[_0x4f288b(0x13e)](_0x4622ec,_0x4bd608[_0x4f288b(0x18e)])[_0x4f288b(0x303)](_0x4bf82f=>{var _0x531399=_0x4f288b;this[_0x531399(0x1d5)]['error'](_0x4bf82f),_0x112c6c();});return;}if(_0x4bd608[_0x4f288b(0x18e)][_0x4f288b(0x3f7)]===_0x3d1bff[_0x4f288b(0x39c)]){const _0x2e989f=_0x4bd608[_0x4f288b(0x18e)];this[_0x4f288b(0x2dd)](_0x2e989f)[_0x4f288b(0x26d)](_0x173bda=>{var _0x168212=_0x4f288b;_0x176f1b['next']({'cmd':F[_0x168212(0x392)],'code':ge['OK'],'routeKey':_0x2e989f[_0x168212(0x18e)][_0x168212(0x1ff)],'routeType':'','data':{'eventID':_0x3d1bff[_0x168212(0x1a7)],'data':{'changesets':_0x173bda}}});})[_0x4f288b(0x303)](_0x45795f=>{var _0x2d6498=_0x4f288b;this[_0x2d6498(0x1d5)][_0x2d6498(0x274)](_0x45795f),_0x112c6c();});return;}}_0x5c3005[_0x4f288b(0x1f5)](Mn(_0x4bd608));},'close':()=>{var _0x9521da=_0x30b2b3;_0x5c3005['close'](),_0x3b853f[_0x9521da(0x141)]();}},_0x4622ec;}async[_0x2d44ac(0x13e)](_0x4648c5,_0x240da1){var _0x3596a6=_0x2d44ac,_0x42f84b,_0x35b5db;const {unitType:_0x52f15c,unitID:_0x208c53,changeset:_0x38c6f4}=_0x240da1[_0x3596a6(0x18e)],_0x4f82ed={'unitID':_0x208c53,'memberID':_0x4648c5['memberID'],'type':_0x52f15c,'changeset':_0x1f7372(_0x38c6f4)},_0x4dc4b6=this[_0x3596a6(0x375)][_0x3596a6(0x3fc)](Nn),_0x169fcf=this['_configService'][_0x3596a6(0x3fc)](q),_0x540254=$n((_0x35b5db=(_0x42f84b=_0x169fcf==null?void 0x0:_0x169fcf[_0x3596a6(0x24c)])!=null?_0x42f84b:_0x4dc4b6)!=null?_0x35b5db:Dn,_0x52f15c,_0x208c53);try{await this[_0x3596a6(0x35c)][_0x3596a6(0x3df)](_0x540254,{'body':_0x4f82ed});}catch(_0x330636){throw this[_0x3596a6(0x1d5)]['error'](_0x3596a6(0x15c),'submit\x20changeset\x20error!'),_0x330636;}}async['_fetchMissChangesets'](_0x1821d8){var _0x1d5815=_0x2d44ac;const {unitID:_0x31abb9,from:_0x4e6bad,to:_0x339285,unitType:_0x4edf4c}=_0x1821d8[_0x1d5815(0x18e)];return(await this['_snapshotServerService'][_0x1d5815(0x1b2)]({'metadata':void 0x0},{'unitID':_0x31abb9,'type':_0x4edf4c,'from':_0x4e6bad,'to':_0x339285}))[_0x1d5815(0x225)];}};Gt=kn([Ae(0x0,_0x3a18e9(_0x2eed8a)),Ae(0x1,_0x3a18e9(_0x477870)),Ae(0x2,_0x462043),Ae(0x3,_0x41bbc0),Ae(0x4,_0x3d2e4f)],Gt);const Hn=_0x2d44ac(0x38b);function Bn(_0x3cd045){var _0x44d440=_0x2d44ac;return JSON[_0x44d440(0x2f2)](_0x3cd045)[_0x44d440(0x1cc)];}class Ti{constructor(){var _0x5526d0=_0x2d44ac;N(this,'_commentUpdate$',new _0x42e7d7()),N(this,_0x5526d0(0x284),this[_0x5526d0(0x345)][_0x5526d0(0x2f1)]());}[_0x2d44ac(0x297)](_0x65e2d0){var _0xcf1620=_0x2d44ac;this['_commentUpdate$'][_0xcf1620(0x26e)](_0x65e2d0);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x3fdb14,_0x88db20,_0x53e324,_0x757f5)=>{for(var _0xedc437=_0x757f5>0x1?void 0x0:_0x757f5?jn(_0x88db20,_0x53e324):_0x88db20,_0x290d37=_0x3fdb14['length']-0x1,_0x1e4d32;_0x290d37>=0x0;_0x290d37--)(_0x1e4d32=_0x3fdb14[_0x290d37])&&(_0xedc437=_0x1e4d32(_0xedc437)||_0xedc437);return _0xedc437;},Wt=(_0x527fb1,_0x154eca)=>(_0x306801,_0xf9f3c4)=>_0x154eca(_0x306801,_0xf9f3c4,_0x527fb1);let Le=class extends _0x50932a{constructor(_0x14356,_0x43731c){var _0x52260c=_0x2d44ac;super(),N(this,_0x52260c(0x154),new Map()),N(this,_0x52260c(0x3ce),new _0x42e7d7()),(this['_univerInstanceService']=_0x14356,this['_userManagerService']=_0x43731c,this[_0x52260c(0x336)](_0x5ac85e(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x34ccd3[_0x52260c(0x39a)])['pipe'](_0x4fc619(_0xf110e3=>_0xf110e3['getUnitId']())),this[_0x52260c(0x3f5)]['getTypeOfUnitDisposed$'](_0x34ccd3['UNIVER_DOC'])[_0x52260c(0x11e)](_0x4fc619(_0x4f9d83=>_0x4f9d83[_0x52260c(0x29c)]())),this[_0x52260c(0x3f5)][_0x52260c(0x14e)](_0x34ccd3[_0x52260c(0x3a0)])[_0x52260c(0x11e)](_0x4fc619(_0x2e35b6=>_0x2e35b6['getUnitId']())))[_0x52260c(0x128)](_0x5a4881=>this['_removeRoom'](_0x5a4881))));}[_0x2d44ac(0x2a6)](_0xa00c12){var _0x442600=_0x2d44ac;return this[_0x442600(0x154)]['has'](_0xa00c12)?_0x324682(this[_0x442600(0x154)]['get'](_0xa00c12)):this[_0x442600(0x3ce)][_0x442600(0x11e)](_0x4fc619(_0x178daa=>{var _0xf5da6a=_0x442600;if(_0x178daa===_0xa00c12)return this[_0xf5da6a(0x154)][_0xf5da6a(0x215)](_0x178daa);}));}['setCurrentUser'](_0x53b964){var _0x26fc37=_0x2d44ac;this[_0x26fc37(0x2c6)][_0x26fc37(0x180)](_0x53b964);}[_0x2d44ac(0x37d)](){var _0x5ae6ac=_0x2d44ac;return this[_0x5ae6ac(0x2c6)][_0x5ae6ac(0x37d)]();}[_0x2d44ac(0xfc)](_0x118c51,_0x5d0888){var _0x4755c9=_0x2d44ac;let _0x14b267=this[_0x4755c9(0x154)][_0x4755c9(0x215)](_0x118c51);_0x14b267||(_0x14b267=new Vn(),this[_0x4755c9(0x154)][_0x4755c9(0x2d2)](_0x118c51,_0x14b267),this['_roomCreated$']['next'](_0x118c51)),_0x14b267[_0x4755c9(0xfc)](_0x5d0888);}['removeMember'](_0x55bb4c,_0x1041ff){const _0x1a8376=this['_roomMembers']['get'](_0x55bb4c);_0x1a8376&&_0x1a8376['removeMember'](_0x1041ff);}[_0x2d44ac(0x317)](_0x211f7a){var _0x23b942=_0x2d44ac;return this[_0x23b942(0x154)][_0x23b942(0x215)](_0x211f7a);}[_0x2d44ac(0x3a6)](_0x5ce984,_0x271679){var _0x42cff3=_0x2d44ac;const _0xc48832=this[_0x42cff3(0x154)][_0x42cff3(0x215)](_0x5ce984);if(_0xc48832)return _0xc48832['getMember'](_0x271679);}['_removeRoom'](_0x215ac2){var _0x27b756=_0x2d44ac;const _0x397a2f=this['_roomMembers'][_0x27b756(0x215)](_0x215ac2);_0x397a2f&&(_0x397a2f[_0x27b756(0x141)](),this[_0x27b756(0x154)][_0x27b756(0x318)](_0x215ac2));}[_0x2d44ac(0x141)](){var _0x21a3bb=_0x2d44ac;this[_0x21a3bb(0x154)]['forEach'](_0x31616d=>_0x31616d['dispose']()),this[_0x21a3bb(0x154)][_0x21a3bb(0x3b4)](),this['_roomCreated$'][_0x21a3bb(0x172)]();}};Le=Fn([Wt(0x0,_0x2e2ca3),Wt(0x1,_0x3a18e9(_0x4fd4ba))],Le);class Vn extends _0x50932a{constructor(){var _0x13ff3d=_0x2d44ac;super(...arguments),N(this,_0x13ff3d(0x133),new Map()),N(this,_0x13ff3d(0x2c1),new _0xa6b6e7(this[_0x13ff3d(0x133)])),N(this,_0x13ff3d(0x25b),this[_0x13ff3d(0x2c1)][_0x13ff3d(0x2f1)]());}['dispose'](){var _0x192731=_0x2d44ac;this[_0x192731(0x133)]['clear']();}[_0x2d44ac(0xfc)](_0x42e3e2){var _0x414cae=_0x2d44ac;this['_members'][_0x414cae(0x2d2)](_0x42e3e2[_0x414cae(0x3c6)],_0x42e3e2),this[_0x414cae(0x3fe)]();}[_0x2d44ac(0x3f0)](_0x3313d2){var _0x42fac0=_0x2d44ac;this[_0x42fac0(0x133)]['delete'](_0x3313d2);}[_0x2d44ac(0x3a6)](_0x71caff){var _0x38ded3=_0x2d44ac;return this[_0x38ded3(0x133)]['get'](_0x71caff);}[_0x2d44ac(0x391)](){var _0x1047f1=_0x2d44ac;return Array[_0x1047f1(0x33a)](this[_0x1047f1(0x133)][_0x1047f1(0xf9)]());}['_emitMembers'](){var _0x35e435=_0x2d44ac;this[_0x35e435(0x2c1)]['next'](this[_0x35e435(0x133)]);}}var Gn=Object[_0x2d44ac(0x2a3)],Wn=(_0x20c110,_0x44efe4,_0x3e698b,_0x1459a6)=>{for(var _0x3bebd4=_0x1459a6>0x1?void 0x0:_0x1459a6?Gn(_0x44efe4,_0x3e698b):_0x44efe4,_0x1a86ad=_0x20c110['length']-0x1,_0xb8be7a;_0x1a86ad>=0x0;_0x1a86ad--)(_0xb8be7a=_0x20c110[_0x1a86ad])&&(_0x3bebd4=_0xb8be7a(_0x3bebd4)||_0x3bebd4);return _0x3bebd4;},me=(_0x30a213,_0x44dbd9)=>(_0x1e7e05,_0x2a7d7e)=>_0x44dbd9(_0x1e7e05,_0x2a7d7e,_0x30a213),Ee=(_0x5a5b49=>(_0x5a5b49[_0x5a5b49[_0x2d44ac(0x36c)]=0x0]='IDLE',_0x5a5b49[_0x5a5b49['JOINING']=0x1]=_0x2d44ac(0x18f),_0x5a5b49[_0x5a5b49[_0x2d44ac(0x2e5)]=0x2]=_0x2d44ac(0x2e5),_0x5a5b49[_0x5a5b49['ONLINE']=0x3]=_0x2d44ac(0x177),_0x5a5b49))(Ee||{});const Yt={[ge[_0x2d44ac(0x1b7)]]:_0x2d44ac(0x111),[ge[_0x2d44ac(0x31e)]]:_0x2d44ac(0x11a),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x2d44ac(0x2f4),[ge[_0x2d44ac(0x3d8)]]:'session.room-permission-denied',[ge[_0x2d44ac(0x2c4)]]:_0x2d44ac(0x198)};let Et=class extends _0x2f9470{constructor(_0x48656f,_0x278b0b,_0x451aa4,_0x194a0b,_0x3af8fb,_0xe3aa34,_0x3cc605,_0x1ee78f,_0x4e7e43){var _0x713d9a=_0x2d44ac;super(),N(this,_0x713d9a(0x179),new _0xa6b6e7(0x0)),N(this,_0x713d9a(0x250),this[_0x713d9a(0x179)]['asObservable']()),N(this,_0x713d9a(0x3bf),new _0x42e7d7()),N(this,_0x713d9a(0x2ff),this[_0x713d9a(0x3bf)][_0x713d9a(0x2f1)]()),N(this,_0x713d9a(0x25c)),N(this,_0x713d9a(0x27b)),N(this,_0x713d9a(0x114)),N(this,_0x713d9a(0x2b2),!0x1),N(this,_0x713d9a(0x12d),null),(this[_0x713d9a(0x256)]=_0x48656f,this[_0x713d9a(0x1d5)]=_0x451aa4,this[_0x713d9a(0x375)]=_0x194a0b,this[_0x713d9a(0x309)]=_0x3af8fb,this[_0x713d9a(0xff)]=_0xe3aa34,this[_0x713d9a(0x241)]=_0x3cc605,this['_collaborationUIEventService']=_0x1ee78f,this[_0x713d9a(0x3f2)]=_0x4e7e43,this[_0x713d9a(0x2b2)]=!!this[_0x713d9a(0x3f2)],_0x278b0b[_0x713d9a(0x11e)](_0x4906df(this[_0x713d9a(0x115)]))['subscribe'](_0x2c85c0=>{var _0x30fbd7=_0x713d9a,_0x3610a1;typeof _0x2c85c0>'u'||(this[_0x30fbd7(0x25c)]=_0x2c85c0,_0x2c85c0?(this[_0x30fbd7(0x2e0)](_0x2c85c0),this[_0x30fbd7(0x27b)]=_0x2c85c0[_0x30fbd7(0x167)][_0x30fbd7(0x128)](_0x387708=>{var _0x17bae5=_0x30fbd7;_0x387708[_0x17bae5(0x335)]===this[_0x17bae5(0x256)]&&this[_0x17bae5(0x170)](_0x387708);})):(this[_0x30fbd7(0x10d)](),this[_0x30fbd7(0x179)]['next'](0x2),(_0x3610a1=this[_0x30fbd7(0x27b)])==null||_0x3610a1[_0x30fbd7(0x20c)](),this[_0x30fbd7(0x27b)]=null));}));}get[_0x2d44ac(0x125)](){var _0xff92fa=_0x2d44ac;return this[_0xff92fa(0x179)][_0xff92fa(0x2dc)]();}[_0x2d44ac(0x192)](){var _0x394a1e=_0x2d44ac,_0x3c1473,_0x3eac55;return(_0x3eac55=(_0x3c1473=this[_0x394a1e(0x25c)])==null?void 0x0:_0x3c1473[_0x394a1e(0x3c6)])!=null?_0x3eac55:null;}[_0x2d44ac(0x141)](){var _0x3f8495=_0x2d44ac;super['dispose'](),this[_0x3f8495(0x115)]['next'](),this[_0x3f8495(0x115)][_0x3f8495(0x172)]();}[_0x2d44ac(0x3a7)](){var _0xa73d4f=_0x2d44ac,_0x1465d8,_0x512683;this[_0xa73d4f(0x10d)](),(_0x1465d8=this[_0xa73d4f(0x25c)])==null||_0x1465d8[_0xa73d4f(0x1f5)]({'cmd':F[_0xa73d4f(0x2b4)],'data':{'roomID':this['_unitID']}}),(_0x512683=this[_0xa73d4f(0x25c)])==null||_0x512683[_0xa73d4f(0x3a7)](),this[_0xa73d4f(0x3bf)][_0xa73d4f(0x172)](),this['_sessionStatus$'][_0xa73d4f(0x172)](),this[_0xa73d4f(0x141)]();}[_0x2d44ac(0x170)](_0x461051){var _0x4ffd22=_0x2d44ac;_0x461051[_0x4ffd22(0x2da)]===F[_0x4ffd22(0x2c9)]?this[_0x4ffd22(0x124)](_0x461051):_0x461051[_0x4ffd22(0x2da)]===F[_0x4ffd22(0x392)]&&this[_0x4ffd22(0x2fd)](_0x461051);}[_0x2d44ac(0x2e0)](_0xfbf717){var _0x70b6fb=_0x2d44ac;this[_0x70b6fb(0x179)][_0x70b6fb(0x26e)](0x1),_0xfbf717['send']({'cmd':F['JOIN'],'routeKey':this[_0x70b6fb(0x256)],'routeType':'','data':{'rooms':[{'roomID':this[_0x70b6fb(0x256)]}]}});}['_onJoinRoomEvent'](_0x30cd9b){var _0x5cb1d5=_0x2d44ac,_0x87b433;if(_0x30cd9b[_0x5cb1d5(0x1ae)]in Yt){this[_0x5cb1d5(0xf4)][_0x5cb1d5(0x113)]({'id':re['JOIN_ROOM_FAILED'],'data':Yt[_0x30cd9b['code']]}),this[_0x5cb1d5(0x179)][_0x5cb1d5(0x26e)](0x2);return;}this['_sessionStatus$'][_0x5cb1d5(0x26e)](0x3);const _0x94e3a8=(_0x87b433=_0x30cd9b['data'][_0x5cb1d5(0x160)][this[_0x5cb1d5(0x256)]])==null?void 0x0:_0x87b433[_0x5cb1d5(0x196)];_0x94e3a8&&_0x94e3a8[_0x5cb1d5(0x2ea)](_0x193e2b=>this[_0x5cb1d5(0xff)]['updateMember'](this[_0x5cb1d5(0x256)],_0x193e2b));}[_0x2d44ac(0x2fd)](_0x25222b){var _0x2989e5=_0x2d44ac;try{const _0x270336=_0x25222b[_0x2989e5(0x18e)];switch(_0x270336['eventID']){case _0x3d1bff[_0x2989e5(0x401)]:this[_0x2989e5(0x3b8)](_0x270336),this[_0x2989e5(0x3bf)][_0x2989e5(0x26e)](_0x270336);break;case _0x3d1bff['USERS_LEAVE']:this[_0x2989e5(0x351)](_0x270336),this[_0x2989e5(0x3bf)][_0x2989e5(0x26e)](_0x270336);break;case _0x3d1bff[_0x2989e5(0x34a)]:case _0x3d1bff[_0x2989e5(0x1bd)]:this[_0x2989e5(0x279)](),this[_0x2989e5(0x378)](),this[_0x2989e5(0x3bf)][_0x2989e5(0x26e)](_0x270336);break;case _0x3d1bff['MSG_FOR_ERROR']:this[_0x2989e5(0x1d5)][_0x2989e5(0x274)](_0x2989e5(0x2b7)+JSON['stringify'](_0x270336)),this[_0x2989e5(0x3bf)]['next'](_0x270336);break;case _0x3d1bff[_0x2989e5(0x2ca)]:this[_0x2989e5(0x241)][_0x2989e5(0x297)](_0x270336['data']),this['_event$'][_0x2989e5(0x26e)](_0x270336);break;default:this[_0x2989e5(0x3bf)][_0x2989e5(0x26e)](_0x270336);}}catch(_0x2be92a){this[_0x2989e5(0x1d5)][_0x2989e5(0x274)](_0x2be92a,_0x25222b);}}['_onUserJoin'](_0x34a2fc){var _0x52b4af=_0x2d44ac;this[_0x52b4af(0xff)]['updateMember'](this[_0x52b4af(0x256)],_0x34a2fc[_0x52b4af(0x18e)]);}[_0x2d44ac(0x351)](_0x1ddbc9){var _0x5d3b6e=_0x2d44ac;this['_memberService'][_0x5d3b6e(0x3f0)](this['_unitID'],_0x1ddbc9['data'][_0x5d3b6e(0x3c6)]);}async[_0x2d44ac(0x1f5)](_0x1f7f3e,_0x2aee5d){var _0x55270e=_0x2d44ac;if(this['sessionStatus']!==0x3||!this[_0x55270e(0x25c)])throw new Error(_0x55270e(0x2f6));try{_0x1f7f3e[_0x55270e(0x3f7)]===_0x3d1bff[_0x55270e(0x1ab)]&&(this[_0x55270e(0x16c)](),this[_0x55270e(0x3c0)](_0x1f7f3e)),this['_socket']['send']({'cmd':F[_0x55270e(0x107)],'routeKey':_0x2aee5d,'routeType':'','data':_0x1f7f3e});}catch(_0x5606f9){this['_logService'][_0x55270e(0x274)](_0x5606f9);}}['_scheduleCollaborationTimeoutTimer'](){var _0x58e419=_0x2d44ac,_0xe44962;this[_0x58e419(0x114)]=setTimeout(()=>{var _0x2b35a4=_0x58e419;this['_collaborationTimeoutTimer']=null,this[_0x2b35a4(0xf4)][_0x2b35a4(0x113)]({'id':re[_0x2b35a4(0x294)]});},(_0xe44962=this[_0x58e419(0x375)][_0x58e419(0x3fc)](mi))!=null?_0xe44962:gi);}[_0x2d44ac(0x378)](){var _0x443a47=_0x2d44ac;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x443a47(0x114)]),this[_0x443a47(0x114)]=null);}[_0x2d44ac(0x3c0)](_0x2a8750){var _0x44b5e0=_0x2d44ac;if(!this[_0x44b5e0(0x2b2)])return;const {data:_0x5a816d}=_0x2a8750,{unitID:_0x4f811d,changeset:_0x1311cf}=_0x5a816d,{mutations:_0x1ffe1c,type:_0x4a4d97}=_0x1311cf;this[_0x44b5e0(0x12d)]={'unitId':_0x4f811d,'type':_0x4a4d97,'startTime':performance[_0x44b5e0(0x161)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x1ffe1c)};}[_0x2d44ac(0x279)](){var _0x3aceee=_0x2d44ac;if(this[_0x3aceee(0x2b2)]){if(!this[_0x3aceee(0x12d)]){this[_0x3aceee(0x1d5)][_0x3aceee(0x274)](_0x3aceee(0x15c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3aceee(0x12d)][_0x3aceee(0x203)]=performance[_0x3aceee(0x161)](),this['_telemetryInfo'][_0x3aceee(0x183)]=this['_telemetryInfo']['stopTime']-this[_0x3aceee(0x12d)][_0x3aceee(0x2c0)],this[_0x3aceee(0x3f2)][_0x3aceee(0x28b)](Hn,this[_0x3aceee(0x12d)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x41bbc0),me(0x3,_0x462043),me(0x4,_0x3a18e9(_0x25b15a)),me(0x5,_0x3a18e9(Le)),me(0x6,_0x3a18e9(Ti)),me(0x7,_0x3a18e9(pe)),me(0x8,_0x1f5a13(_0x365817))],Et);var Yn=Object[_0x2d44ac(0x2a3)],Kn=(_0xa1de2b,_0x1c0795,_0x2e1a94,_0x4f6d45)=>{var _0x28cf0b=_0x2d44ac;for(var _0x3c8e56=_0x4f6d45>0x1?void 0x0:_0x4f6d45?Yn(_0x1c0795,_0x2e1a94):_0x1c0795,_0x28cba9=_0xa1de2b[_0x28cf0b(0x1cc)]-0x1,_0x5ed11e;_0x28cba9>=0x0;_0x28cba9--)(_0x5ed11e=_0xa1de2b[_0x28cba9])&&(_0x3c8e56=_0x5ed11e(_0x3c8e56)||_0x3c8e56);return _0x3c8e56;},be=(_0xfcaecf,_0x4a8523)=>(_0x27f4f7,_0x710621)=>_0x4a8523(_0x27f4f7,_0x710621,_0xfcaecf);let Me=class extends _0x50932a{constructor(_0x147c73,_0x5795bb,_0x1bf399,_0x4e1b38,_0x4a73a2,_0xba8fe2){var _0x118265=_0x2d44ac;super(),N(this,_0x118265(0x316),new _0xa6b6e7(void 0x0)),N(this,'socket$',this[_0x118265(0x316)]['asObservable']()),N(this,_0x118265(0x120),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0xa6b6e7(Ee[_0x118265(0x36c)])),N(this,_0x118265(0x30a),this[_0x118265(0x3d3)]['asObservable']()),N(this,_0x118265(0x346),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x118265(0x2fe),0x0),N(this,_0x118265(0x362)),N(this,_0x118265(0x276)),(this[_0x118265(0x3d2)]=_0x147c73,this['_logService']=_0x5795bb,this[_0x118265(0x375)]=_0x1bf399,this[_0x118265(0x17b)]=_0x4e1b38,this['_collaborationUIEventService']=_0x4a73a2,this['_networkConditionService']=_0xba8fe2,this['_listenToNetworkCondition']());}get[_0x2d44ac(0x25c)](){var _0x2c17cf=_0x2d44ac;return this[_0x2c17cf(0x316)][_0x2c17cf(0x2dc)]();}[_0x2d44ac(0x105)](){var _0xce298b=_0x2d44ac;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService'][_0xce298b(0x110)][_0xce298b(0x128)](_0x53b236=>{var _0x1de92d=_0xce298b;_0x53b236&&!this[_0x1de92d(0x25c)]&&this[_0x1de92d(0x13a)](),_0x53b236||this[_0x1de92d(0x1e6)]();}));}[_0x2d44ac(0x141)](){var _0x544430=_0x2d44ac;super[_0x544430(0x141)](),this[_0x544430(0x393)](),this[_0x544430(0x152)](),this[_0x544430(0x374)](),this['_sessions'][_0x544430(0x2ea)](_0xe5c4c3=>_0xe5c4c3[_0x544430(0x141)]()),this[_0x544430(0x1cf)][_0x544430(0x3b4)](),this[_0x544430(0x3d3)]['complete']();}async['requireSession'](_0x310978){var _0x5584fd=_0x2d44ac;if(this[_0x5584fd(0x1cf)][_0x5584fd(0x311)](_0x310978))return this[_0x5584fd(0x1cf)]['get'](_0x310978);this[_0x5584fd(0x3f4)]();const _0x4c0d2b=this[_0x5584fd(0x3d2)][_0x5584fd(0x22e)](Et,_0x310978,this['_socket$']['asObservable']());return this['_sessions'][_0x5584fd(0x2d2)](_0x310978,_0x4c0d2b),_0x4c0d2b;}[_0x2d44ac(0x260)](_0xdb11e2){var _0x33acfe=_0x2d44ac,_0x2b7a9a;const _0x7fe319=this[_0x33acfe(0x1cf)][_0x33acfe(0x215)](_0xdb11e2);_0x7fe319&&(this['_sessions'][_0x33acfe(0x318)](_0xdb11e2),_0x7fe319[_0x33acfe(0x3a7)]()),this[_0x33acfe(0x1cf)][_0x33acfe(0x3cf)]||(_0x2b7a9a=this[_0x33acfe(0x25c)])==null||_0x2b7a9a['close']();}['reconnect'](){var _0x3e2e5e=_0x2d44ac;this[_0x3e2e5e(0x2fe)]=0x0,this[_0x3e2e5e(0x393)](),this[_0x3e2e5e(0x3fd)]();}[_0x2d44ac(0x393)](){var _0xaa9ffe=_0x2d44ac;this[_0xaa9ffe(0x3b9)]!=null&&(clearTimeout(this[_0xaa9ffe(0x3b9)]),this[_0xaa9ffe(0x3b9)]=null);}async[_0x2d44ac(0x2d3)](){var _0x9943eb=_0x2d44ac,_0xd68477,_0x578dbe;const _0x4b0546=this[_0x9943eb(0x375)]['getConfig'](In),_0x3133ba=this[_0x9943eb(0x375)][_0x9943eb(0x3fc)](q),_0xcd9e79=(_0x578dbe=(_0xd68477=_0x3133ba==null?void 0x0:_0x3133ba['collabWebSocketUrl'])!=null?_0xd68477:_0x4b0546)!=null?_0x578dbe:Tn,_0x602a9a=await this[_0x9943eb(0x17b)][_0x9943eb(0x253)](_0xcd9e79);return this[_0x9943eb(0x120)]=_0x602a9a,_0x602a9a;}async['_tryEnsureSocket'](){var _0x50be38=_0x2d44ac,_0x39731a,_0xf76402;try{const _0x1ac5b9=(_0xf76402=(_0x39731a=this[_0x50be38(0x25c)])!=null?_0x39731a:this['_candidateSocket'])!=null?_0xf76402:await this[_0x50be38(0x2d3)]();if(_0x1ac5b9){const _0x3ad656=_0x1ac5b9['send'];_0x1ac5b9['send']=_0x29739e=>(this[_0x50be38(0x3ea)](),_0x3ad656[_0x50be38(0x1d7)](_0x1ac5b9,[_0x29739e])),_0x1ac5b9[_0x50be38(0x167)][_0x50be38(0x128)](_0x5a7942=>this[_0x50be38(0x1cd)](_0x1ac5b9,_0x5a7942)),_0x1ac5b9[_0x50be38(0x30c)][_0x50be38(0x11e)](_0x16de2(0x1))[_0x50be38(0x128)](_0x3cc79f=>this[_0x50be38(0x1d5)][_0x50be38(0x274)](_0x50be38(0x280),_0x3cc79f)),_0x1ac5b9[_0x50be38(0x23c)][_0x50be38(0x11e)](_0x16de2(0x1))[_0x50be38(0x128)](()=>{this['_onConnectionOpen'](_0x1ac5b9);}),_0x1ac5b9['close$']['pipe'](_0x16de2(0x1))[_0x50be38(0x128)](_0x335428=>{var _0x14a765=_0x50be38;this[_0x14a765(0x1d5)][_0x14a765(0x2a2)](_0x14a765(0x14a),_0x14a765(0x28a),_0x335428),this['_onConnectionFailed']();});}}catch(_0x2ee56d){this[_0x50be38(0x1d5)][_0x50be38(0x274)](_0x2ee56d),this[_0x50be38(0x3c3)]();}}['_onConnectionOpen'](_0x2a5acc){var _0x537157=_0x2d44ac;this[_0x537157(0x1d5)][_0x537157(0x2a2)]('[CollaborationSessionService]',_0x537157(0x10c)),_0x2a5acc[_0x537157(0x1f5)]({'cmd':F[_0x537157(0x396)]}),this[_0x537157(0x3ea)]();}['_onOffline'](){var _0x5bb917=_0x2d44ac;this[_0x5bb917(0x346)]=!0x1,this[_0x5bb917(0x120)]=null,this[_0x5bb917(0x3d3)][_0x5bb917(0x26e)](Ee[_0x5bb917(0x2e5)]),this[_0x5bb917(0x316)][_0x5bb917(0x26e)](null),this[_0x5bb917(0x152)](),this['_clearHeartbeatTimer']();}[_0x2d44ac(0x3c3)](){var _0x185350=_0x2d44ac,_0x15f5cd;this[_0x185350(0x1e6)](),this[_0x185350(0x2fe)]<((_0x15f5cd=this['_configService']['getConfig'](On))!=null?_0x15f5cd:yn)?(this['_collaborationUIEventService'][_0x185350(0x113)]({'id':re[_0x185350(0x347)]}),this['_tryReconnect']()):this[_0x185350(0xf4)][_0x185350(0x113)]({'id':re[_0x185350(0x2d9)]});}[_0x2d44ac(0x3fd)](){var _0x3b6447=_0x2d44ac,_0x2b6d29;const _0x4c39db=this[_0x3b6447(0x2fe)],_0x54a9b1=this[_0x3b6447(0x375)][_0x3b6447(0x3fc)](q),_0x596c72=_0x4c39db===0x0?0x0:((_0x2b6d29=_0x54a9b1==null?void 0x0:_0x54a9b1[_0x3b6447(0x1f7)])!=null?_0x2b6d29:bn)*0x2**_0x4c39db;this[_0x3b6447(0x3b9)]=setTimeout(()=>{var _0x2612d6=_0x3b6447;clearTimeout(this[_0x2612d6(0x3b9)]),this[_0x2612d6(0x3b9)]=null,this[_0x2612d6(0x3f4)]();},_0x596c72),this[_0x3b6447(0x2fe)]+=0x1;}['_onMessage'](_0x161912,_0x39a327){var _0xb1d458=_0x2d44ac;const {cmd:_0x4fc92b}=_0x39a327;_0x4fc92b===F[_0xb1d458(0x396)]&&!this[_0xb1d458(0x346)]&&(_0x161912[_0xb1d458(0x3c6)]=_0x39a327[_0xb1d458(0x18e)][_0xb1d458(0x3c6)],this[_0xb1d458(0x316)][_0xb1d458(0x26e)](_0x161912),this[_0xb1d458(0x3d3)][_0xb1d458(0x26e)](Ee[_0xb1d458(0x177)]),this[_0xb1d458(0x346)]=!0x0,this[_0xb1d458(0x120)]=null),_0x4fc92b===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0xb1d458(0x3ea)]();}[_0x2d44ac(0x3ea)](){var _0x31adb0=_0x2d44ac,_0x1514e7;this[_0x31adb0(0x374)](),this[_0x31adb0(0x362)]=setTimeout(()=>this[_0x31adb0(0x1bf)](),(_0x1514e7=this[_0x31adb0(0x375)]['getConfig'](Cn))!=null?_0x1514e7:Rn);}[_0x2d44ac(0x1bf)](){var _0x3b907f=_0x2d44ac;this[_0x3b907f(0x25c)][_0x3b907f(0x1f5)]({'cmd':F[_0x3b907f(0x134)]}),this[_0x3b907f(0x353)]();}['_waitForHeartbeatResponse'](){var _0x5d4259=_0x2d44ac,_0x528b15;this[_0x5d4259(0x276)]=setTimeout(()=>this[_0x5d4259(0x3c3)](),(_0x528b15=this[_0x5d4259(0x375)][_0x5d4259(0x3fc)](mi))!=null?_0x528b15:gi);}['_clearHeartbeatTimer'](){var _0x20b91f=_0x2d44ac;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x20b91f(0x362)]),this['_sendHeartbeatTimer']=null);}[_0x2d44ac(0x152)](){var _0x29adac=_0x2d44ac;this[_0x29adac(0x276)]!=null&&(clearTimeout(this[_0x29adac(0x276)]),this[_0x29adac(0x276)]=null);}};Me=Kn([be(0x0,_0x3a18e9(_0x2eed8a)),be(0x1,_0x41bbc0),be(0x2,_0x462043),be(0x3,Ii),be(0x4,_0x3a18e9(pe)),be(0x5,_0x1f5a13(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x2d44ac(0x2ad)]((t+0x100)[_0x2d44ac(0x24e)](0x10)[_0x2d44ac(0x2ab)](0x1));function qn(_0x277832,_0x4a06f6=0x0){var _0x4a2bef=_0x2d44ac;return(V[_0x277832[_0x4a06f6+0x0]]+V[_0x277832[_0x4a06f6+0x1]]+V[_0x277832[_0x4a06f6+0x2]]+V[_0x277832[_0x4a06f6+0x3]]+'-'+V[_0x277832[_0x4a06f6+0x4]]+V[_0x277832[_0x4a06f6+0x5]]+'-'+V[_0x277832[_0x4a06f6+0x6]]+V[_0x277832[_0x4a06f6+0x7]]+'-'+V[_0x277832[_0x4a06f6+0x8]]+V[_0x277832[_0x4a06f6+0x9]]+'-'+V[_0x277832[_0x4a06f6+0xa]]+V[_0x277832[_0x4a06f6+0xb]]+V[_0x277832[_0x4a06f6+0xc]]+V[_0x277832[_0x4a06f6+0xd]]+V[_0x277832[_0x4a06f6+0xe]]+V[_0x277832[_0x4a06f6+0xf]])[_0x4a2bef(0x37c)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x3cbc0f=_0x2d44ac;if(!ut){if(typeof crypto>'u'||!crypto[_0x3cbc0f(0x3d1)])throw new Error(_0x3cbc0f(0x34f));ut=crypto['getRandomValues']['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto),Kt={'randomUUID':Xn};function Zn(_0x4295f7,_0x36e414,_0x2a3f4f){var _0x133d29=_0x2d44ac,_0x3a8206,_0x206aa1,_0x1d1fdc;if(Kt[_0x133d29(0x258)]&&!_0x4295f7)return Kt[_0x133d29(0x258)]();_0x4295f7=_0x4295f7||{};const _0x230602=(_0x1d1fdc=(_0x206aa1=_0x4295f7[_0x133d29(0x325)])!=null?_0x206aa1:(_0x3a8206=_0x4295f7[_0x133d29(0x271)])==null?void 0x0:_0x3a8206[_0x133d29(0x2fa)](_0x4295f7))!=null?_0x1d1fdc:Jn();if(_0x230602[_0x133d29(0x1cc)]<0x10)throw new Error(_0x133d29(0x1d0));return _0x230602[0x6]=_0x230602[0x6]&0xf|0x40,_0x230602[0x8]=_0x230602[0x8]&0x3f|0x80,qn(_0x230602);}const J=_0x33148c('collaboration-client.local-cache-service');function Br(_0x374acc){var _0x2686a1=_0x2d44ac;return _0x2686a1(0x331)+_0x374acc;}var Qn=Object[_0x2d44ac(0x2a3)],es=(_0x269ebb,_0x2540bb,_0x4957d2,_0x429045)=>{var _0x59ddbf=_0x2d44ac;for(var _0x1d4d28=_0x429045>0x1?void 0x0:_0x429045?Qn(_0x2540bb,_0x4957d2):_0x2540bb,_0x125f96=_0x269ebb[_0x59ddbf(0x1cc)]-0x1,_0x17aa29;_0x125f96>=0x0;_0x125f96--)(_0x17aa29=_0x269ebb[_0x125f96])&&(_0x1d4d28=_0x17aa29(_0x1d4d28)||_0x1d4d28);return _0x1d4d28;},dt=(_0x25d0cd,_0x58e369)=>(_0x1be0f2,_0x27d393)=>_0x58e369(_0x1be0f2,_0x27d393,_0x25d0cd);function ts(_0x139eb0){var _0x1ec296=_0x2d44ac;const {unitID:_0xc4ebe7,mutations:_0x4c5f9f}=_0x139eb0;return{'unitId':_0xc4ebe7,'subUnitId':_0x4c5f9f[0x0]['params'][_0x1ec296(0x158)]};}let it=class{constructor(_0x238588,_0x51553f,_0x10f5ef){var _0x4b22d5=_0x2d44ac;this['_injector']=_0x238588,this['_transformService']=_0x51553f,this[_0x4b22d5(0x383)]=_0x10f5ef;}['transformSelections'](_0x18efbb){var _0x18cdfd=_0x2d44ac,_0x543689,_0x4fa4c0,_0x29720f,_0x58c735;const _0x1d9f4f=this[_0x18cdfd(0x3d2)][_0x18cdfd(0x215)](_0x33ec45),{unitId:_0x1e7e3a,subUnitId:_0x276171}=ts(_0x18efbb),_0x4bb99b=_0x1d9f4f==null?void 0x0:_0x1d9f4f[_0x18cdfd(0x173)](_0x1e7e3a)[_0x18cdfd(0x20e)](),_0x45ef79=(_0x4fa4c0=(_0x543689=this[_0x18cdfd(0x383)][_0x18cdfd(0x255)](_0x1e7e3a))==null?void 0x0:_0x543689[_0x18cdfd(0x1c6)]())==null?void 0x0:_0x4fa4c0['getSheetId']();if(_0x4bb99b[_0x18cdfd(0x1cc)]===0x0||!_0x1e7e3a||!_0x276171)return;const _0xafe0c0=[{'id':_0x913cf0['id'],'params':{'unitId':_0x1e7e3a,'subUnitId':_0x45ef79,'selections':_0x10fb77[_0x18cdfd(0x2f9)](_0x4bb99b)}}],_0x5e072b=this[_0x18cdfd(0x380)][_0x18cdfd(0x2d8)](_0x18efbb,_0xafe0c0);if(!_0x418fd2(_0x5e072b))throw _0x5e072b[_0x18cdfd(0x274)];const _0x13bc6f=(_0x58c735=(_0x29720f=_0x5e072b['m2Prime'][0x0])==null?void 0x0:_0x29720f[_0x18cdfd(0x2d1)])==null?void 0x0:_0x58c735['selections'];if(Array[_0x18cdfd(0x33e)](_0x13bc6f)&&_0x13bc6f[_0x18cdfd(0x1cc)]){if(_0x13bc6f[_0x18cdfd(0x1cc)]===_0xafe0c0[0x0][_0x18cdfd(0x2d1)][_0x18cdfd(0x1eb)][_0x18cdfd(0x1cc)]&&_0x13bc6f['every']((_0x55410b,_0x47da96)=>_0x3be7f8[_0x18cdfd(0x210)](_0x55410b[_0x18cdfd(0x138)],_0xafe0c0[0x0][_0x18cdfd(0x2d1)][_0x18cdfd(0x1eb)][_0x47da96][_0x18cdfd(0x138)])))return;this[_0x18cdfd(0x3d2)]['get'](_0x326da6)[_0x18cdfd(0x1b1)](_0x913cf0['id'],{'unitId':_0x1e7e3a,'subUnitId':_0x45ef79,'selections':_0x13bc6f});}}};it=es([dt(0x0,_0x3a18e9(_0x2eed8a)),dt(0x1,_0x157f6a),dt(0x2,_0x2e2ca3)],it);const ht=_0x33148c(_0x2d44ac(0x1b9));var Ci=(_0x5bcb27=>(_0x5bcb27[_0x5bcb27[_0x2d44ac(0x270)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5bcb27[_0x5bcb27['OTHER_CLIENTS_EDITING']=0x1]=_0x2d44ac(0x234),_0x5bcb27))(Ci||{});const is=new Set([_0x18815b['id']]);function qt(_0x43c836,_0x5a0b37,_0x2fbc8a,_0x3da46d,_0x233a8a){var _0x52adc2=_0x2d44ac,_0xc0a57a,_0x47ef6c,_0x51703c,_0x530db0;const _0x146fea=[];for(const _0x296c62 of _0x43c836)if(is[_0x52adc2(0x311)](_0x296c62['id'])){if(_0x146fea[_0x52adc2(0x1cc)]>0x0)break;_0x146fea['push'](_0x296c62);break;}else _0x146fea[_0x52adc2(0x2ad)](_0x296c62);const _0x580b01=(_0x47ef6c=(_0xc0a57a=_0x233a8a[_0x52adc2(0x37d)]())==null?void 0x0:_0xc0a57a['userID'])!=null?_0x47ef6c:_0x52adc2(0x3e3),_0x4b93fa=(_0x530db0=(_0x51703c=_0x233a8a['getCurrentUser']())==null?void 0x0:_0x51703c['memberID'])!=null?_0x530db0:_0x52adc2(0x3e3);return{'changeset':{'unitID':_0x5a0b37,'type':_0x3e9c01(_0x2fbc8a[_0x52adc2(0x1f9)](_0x5a0b37)),'baseRev':_0x3da46d['getCurrentRevOfUnit'](_0x5a0b37),'revision':0x0,'userID':_0x580b01,'memberID':_0x4b93fa,'mutations':_0x146fea},'pendingMutations':_0x43c836['slice'](_0x146fea['length'])};}function ns(_0x2aa741,_0x20978a,_0x390425,_0x3eb4f4,_0x5a1bc2){var _0x4ae561=_0x2d44ac,_0x277274,_0x187a94,_0x49f601,_0x1b70ae;const _0x1051f9=[_0x2aa741[_0x4ae561(0x11d)]((_0x189100,_0x53ba6c)=>{var _0x4ed4dc=_0x4ae561,_0x1fe0af;const {id:_0x42e6bd}=_0x189100,{id:_0x2c6d35,type:_0x339614}=_0x53ba6c,_0x401dfb=(_0x1fe0af=_0x189100[_0x4ed4dc(0x2d1)])!=null?_0x1fe0af:{'actions':null},_0xd90839=_0x53ba6c[_0x4ed4dc(0x2d1)];if(_0x42e6bd&&_0x42e6bd!==_0x2c6d35)throw new Error(_0x4ed4dc(0x221)+_0x42e6bd+'\x20-\x20'+_0x2c6d35+'.');return{..._0x189100,'id':_0x2c6d35,'type':_0x339614,'params':{'unitId':_0xd90839[_0x4ed4dc(0x153)],'textRanges':_0xd90839['textRanges'],'actions':_0x575400['compose'](_0x401dfb[_0x4ed4dc(0x211)],_0xd90839['actions'])}};},{})],_0x568a2b=(_0x187a94=(_0x277274=_0x5a1bc2[_0x4ae561(0x37d)]())==null?void 0x0:_0x277274[_0x4ae561(0x395)])!=null?_0x187a94:'unknown',_0x5f4cdd=(_0x1b70ae=(_0x49f601=_0x5a1bc2['getCurrentUser']())==null?void 0x0:_0x49f601[_0x4ae561(0x3c6)])!=null?_0x1b70ae:'unknown';return{'changeset':{'unitID':_0x20978a,'type':_0x3e9c01(_0x390425['getUnitType'](_0x20978a)),'baseRev':_0x3eb4f4[_0x4ae561(0x1e1)](_0x20978a),'revision':0x0,'userID':_0x568a2b,'memberID':_0x5f4cdd,'mutations':_0x1051f9},'pendingMutations':[]};}function Ri(_0x52822c,_0x57acc0){var _0x57a1ce=_0x2d44ac;const _0x433f18=new _0x5d4224(0x1);return setTimeout(()=>_0x433f18[_0x57a1ce(0x26e)](_0x57acc0),_0x52822c),_0x433f18[_0x57a1ce(0x2f1)]()[_0x57a1ce(0x11e)](_0x3d256e(0x1));}function _0x39a9(_0x31bcd9,_0x579c95){var _0x393f0b=_0x393f();return _0x39a9=function(_0x39a9ad,_0x4ce26b){_0x39a9ad=_0x39a9ad-0xf4;var _0x5b1aba=_0x393f0b[_0x39a9ad];return _0x5b1aba;},_0x39a9(_0x31bcd9,_0x579c95);}const ss={'id':_0xf1efa['id'],'type':_0x2707f2['MUTATION'],'params':{}};var rs=Object[_0x2d44ac(0x2a3)],Te=(_0x106518,_0x3efbaf,_0x1d7393,_0x34b13b)=>{var _0x45a94a=_0x2d44ac;for(var _0x422152=_0x34b13b>0x1?void 0x0:_0x34b13b?rs(_0x3efbaf,_0x1d7393):_0x3efbaf,_0x4e7c8b=_0x106518[_0x45a94a(0x1cc)]-0x1,_0x23929a;_0x4e7c8b>=0x0;_0x4e7c8b--)(_0x23929a=_0x106518[_0x4e7c8b])&&(_0x422152=_0x23929a(_0x422152)||_0x422152);return _0x422152;},P=(_0x601404,_0x3305e8)=>(_0x24762b,_0xb9f179)=>_0x3305e8(_0x24762b,_0xb9f179,_0x601404),bi=(_0xab2018=>(_0xab2018[_0x2d44ac(0x2db)]='not_collab',_0xab2018[_0x2d44ac(0x155)]=_0x2d44ac(0x355),_0xab2018[_0x2d44ac(0x13f)]=_0x2d44ac(0x18d),_0xab2018[_0x2d44ac(0x29a)]=_0x2d44ac(0x3af),_0xab2018['AWAITING_WITH_PENDING']=_0x2d44ac(0x117),_0xab2018[_0x2d44ac(0x23d)]='fetch_missing',_0xab2018[_0x2d44ac(0x3b3)]=_0x2d44ac(0x38c),_0xab2018[_0x2d44ac(0x2e5)]='offline',_0xab2018))(bi||{});const Oi=0xea60;class Ce{constructor(_0x2be510,_0x21f8d1,_0x4f3969,_0x22b976,_0x8e7f15,_0x4910d4,_0x4b9d14,_0x3488fb,_0x34f75){var _0x5a220b=_0x2d44ac;N(this,'_awaitingChangeset',null),N(this,_0x5a220b(0x3da),[]),(this['unitID']=_0x2be510,this['type']=_0x21f8d1,this[_0x5a220b(0x219)]=_0x8e7f15,this[_0x5a220b(0x2be)]=_0x4910d4,this['_undoRedoService']=_0x4b9d14,this[_0x5a220b(0x29f)]=_0x3488fb,this[_0x5a220b(0x145)]=_0x34f75,this[_0x5a220b(0x174)]=_0x4f3969,this[_0x5a220b(0x3da)]=_0x22b976);}[_0x2d44ac(0x156)](_0x57b500){var _0x420cf8=_0x2d44ac;const _0x18d55b=this['_revisionService'][_0x420cf8(0x1e1)](this[_0x420cf8(0x1ff)]);return _0x57b500[_0x420cf8(0x344)]>_0x18d55b+0x1?(this[_0x420cf8(0x219)][_0x420cf8(0x1d9)]({'from':_0x18d55b,'to':_0x57b500[_0x420cf8(0x344)]-0x1}),!0x0):!0x1;}[_0x2d44ac(0x304)](_0x435387){var _0x565312=_0x2d44ac;this[_0x565312(0x2eb)][_0x565312(0x16d)](this[_0x565312(0x1ff)],_0x435387);}[_0x2d44ac(0x199)](_0x4c2b8c){var _0x4e7242=_0x2d44ac,_0x463dd4,_0x25334a;(_0x25334a=(_0x463dd4=this['_handler'])[_0x4e7242(0x1f3)])==null||_0x25334a[_0x4e7242(0x2fa)](_0x463dd4,_0x4c2b8c);}[_0x2d44ac(0x126)](_0x41a6b8){var _0x4a601f=_0x2d44ac,_0x5266c2,_0xf0ae07;return(_0xf0ae07=(_0x5266c2=this[_0x4a601f(0x219)])[_0x4a601f(0x3b7)])==null?void 0x0:_0xf0ae07[_0x4a601f(0x2fa)](_0x5266c2,_0x41a6b8);}['_transformStateCache'](_0x40697f){var _0x8ec00a=_0x2d44ac,_0x24ce12,_0x385e26;return(_0x385e26=(_0x24ce12=this['_handler'])[_0x8ec00a(0x31b)])==null?void 0x0:_0x385e26[_0x8ec00a(0x2fa)](_0x24ce12,_0x40697f);}[_0x2d44ac(0x2ed)](_0x2984a3){var _0x5a7012=_0x2d44ac,_0xb4455,_0x492af5,_0x4372d3;return(_0x4372d3=(_0x492af5=(_0xb4455=this[_0x5a7012(0x219)])[_0x5a7012(0x2f3)])==null?void 0x0:_0x492af5[_0x5a7012(0x2fa)](_0xb4455,_0x2984a3))!=null?_0x4372d3:_0x2984a3;}[_0x2d44ac(0x119)](_0x35e957){var _0x49d5c1=_0x2d44ac,_0x4a9185,_0x559da2,_0x33f1b4;return(_0x33f1b4=(_0x559da2=(_0x4a9185=this[_0x49d5c1(0x219)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x559da2[_0x49d5c1(0x2fa)](_0x4a9185,_0x35e957))!=null?_0x33f1b4:_0x35e957;}[_0x2d44ac(0x28e)](_0x3c20c){var _0x24a403=_0x2d44ac,_0x8f4aa6,_0x34652e;if(this[_0x24a403(0x23a)]===Q[_0x24a403(0x3f8)]){const {unitID:_0x10bebe,mutations:_0x143f24,memberID:_0x135d63}=_0x3c20c,_0xc6a477=_0x143f24[0x0]['params'][_0x24a403(0x1c4)];Array[_0x24a403(0x33e)](_0xc6a477)&&_0xc6a477[_0x24a403(0x1cc)]>0x0&&((_0x34652e=(_0x8f4aa6=this['_handler'])[_0x24a403(0x371)])==null||_0x34652e['call'](_0x8f4aa6,{'unitID':_0x10bebe,'memberID':_0x135d63,'textRanges':_0xc6a477}));}}[_0x2d44ac(0x3a9)](){var _0x5a66c2=_0x2d44ac,_0xeeec7c;(_0xeeec7c=this[_0x5a66c2(0x145)])==null||_0xeeec7c[_0x5a66c2(0x165)](this[_0x5a66c2(0x1ff)],this['type'],this[_0x5a66c2(0x174)],this[_0x5a66c2(0x3da)]);}['_getCurrentRevision'](){var _0x46ddd8=_0x2d44ac;return this[_0x46ddd8(0x29f)][_0x46ddd8(0x1e1)](this['unitID']);}[_0x2d44ac(0x2a4)](){var _0x290014=_0x2d44ac;this['_revisionService'][_0x290014(0x1da)](this['unitID']);}[_0x2d44ac(0x27c)](_0x37c77c){var _0x15aede=_0x2d44ac,_0x149c0e;let _0x4a0f38=this['_transformRemoteChangesetByIMECache'](_0x37c77c);_0x4a0f38=this[_0x15aede(0x119)](_0x4a0f38);const _0x19ed56=_0x4d2b7a(_0x4a0f38[_0x15aede(0x1c8)],this[_0x15aede(0x2be)],{'fromCollab':!0x0});if(!_0x19ed56['result'])throw _0x19ed56[_0x15aede(0x274)]instanceof Error?_0x19ed56['error']:new Error((_0x149c0e=_0x19ed56[_0x15aede(0x274)])!=null?_0x149c0e:_0x15aede(0x3ad));this[_0x15aede(0x126)](_0x4a0f38),this[_0x15aede(0x3f1)](_0x4a0f38),this[_0x15aede(0x304)](_0x37c77c),this[_0x15aede(0x199)](_0x4a0f38),this[_0x15aede(0x28e)](_0x4a0f38),this[_0x15aede(0x2a4)]();}}let Ne=class extends Ce{constructor(_0x3d6fba,_0x12afec,_0x29ed20,_0x41a463,_0x5417f1,_0x350010,_0xf5d55,_0x220cdd,_0x30b838,_0x245ed5){var _0xdf62d3=_0x2d44ac;super(_0x3d6fba,_0x12afec,null,[],_0x29ed20,_0xf5d55,_0x350010,_0x41a463,_0x245ed5),N(this,_0xdf62d3(0x389),_0xdf62d3(0x355)),(this['_injector']=_0x5417f1,this[_0xdf62d3(0x1d5)]=_0x220cdd,this['_transformService']=_0x30b838,this['localCacheService']=_0x245ed5);}[_0x2d44ac(0x18a)](_0x1d76b2){var _0x2d9614=_0x2d44ac;const _0x25b565=this[_0x2d9614(0x3d2)][_0x2d9614(0x22e)](ae,this[_0x2d9614(0x1ff)],this['type'],[_0x1d76b2],this['_handler']);return _0x25b565[_0x2d9614(0x358)](),_0x25b565[_0x2d9614(0x3a9)](),_0x25b565;}[_0x2d44ac(0x1ef)](_0x425159){var _0x2ff71b=_0x2d44ac;if(this[_0x2ff71b(0x156)](_0x425159))return this[_0x2ff71b(0x3d2)][_0x2ff71b(0x22e)](ee,this['unitID'],this[_0x2ff71b(0x23a)],null,[],null,[_0x425159],this[_0x2ff71b(0x219)]);try{const _0x11447c=this[_0x2ff71b(0x380)]['transformMutationsWithChangeset'](_0x425159,[ss]);if(_0x418fd2(_0x11447c)){const {c1Prime:_0x3f1a97}=_0x11447c;return this[_0x2ff71b(0x27c)](_0x3f1a97),this;}throw _0x11447c[_0x2ff71b(0x274)];}catch(_0x44f3d3){return this[_0x2ff71b(0x1d5)][_0x2ff71b(0x274)](_0x44f3d3),this[_0x2ff71b(0x2ce)](!0x1);}}[_0x2d44ac(0x2ce)](_0x308b7c){var _0x16923f=_0x2d44ac;return this[_0x16923f(0x3d2)][_0x16923f(0x22e)](ue,this[_0x16923f(0x1ff)],this['type'],null,[],this[_0x16923f(0x219)],_0x308b7c);}[_0x2d44ac(0x1fc)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2d44ac(0x1f6)](){var _0x46e47a=_0x2d44ac;throw new Error(_0x46e47a(0x24d));}['onRemoteRetry'](){return this;}[_0x2d44ac(0x10e)](){var _0x498768=_0x2d44ac;return this['_injector'][_0x498768(0x22e)](de,this[_0x498768(0x1ff)],this[_0x498768(0x23a)],null,[],this[_0x498768(0x219)]);}[_0x2d44ac(0x328)](){return this;}['resend'](){var _0x5b77c5=_0x2d44ac;throw new Error(_0x5b77c5(0x25a));}[_0x2d44ac(0x223)](){var _0x495e16=_0x2d44ac;const _0x1250cf=this[_0x495e16(0x29f)][_0x495e16(0x1e1)](this[_0x495e16(0x1ff)]);return this[_0x495e16(0x219)][_0x495e16(0x1d9)]({'from':_0x1250cf,'to':0x0}),this[_0x495e16(0x3d2)][_0x495e16(0x22e)](ee,this[_0x495e16(0x1ff)],this[_0x495e16(0x23a)],null,[],null,[],this[_0x495e16(0x219)]);}};Ne=Te([P(0x3,_0x3a18e9(_0x43b8da)),P(0x4,_0x3a18e9(_0x2eed8a)),P(0x5,_0x46d3c0),P(0x6,_0x326da6),P(0x7,_0x41bbc0),P(0x8,_0x157f6a),P(0x9,_0x1f5a13(J))],Ne);let ae=class extends Ce{constructor(_0x32cf3b,_0x405d8c,_0x53376d,_0x1196a6,_0x4dfecc,_0x4658ff,_0x44f6fd,_0x264641,_0x576133,_0x28975d,_0x208ee3,_0x2bc332,_0x26c492,_0x1d7f97){var _0x15533c=_0x2d44ac;super(_0x32cf3b,_0x405d8c,null,_0x53376d,_0x1196a6,_0x576133,_0x26c492,_0x4658ff,_0x1d7f97),N(this,'status',_0x15533c(0x18d)),N(this,_0x15533c(0x3b2),null),N(this,_0x15533c(0x28d),null),(this[_0x15533c(0x3d2)]=_0x4dfecc,this['_memberService']=_0x44f6fd,this[_0x15533c(0x1d5)]=_0x264641,this['_configService']=_0x28975d,this[_0x15533c(0x380)]=_0x208ee3,this[_0x15533c(0x3f5)]=_0x2bc332);}[_0x2d44ac(0x18a)](_0x2bb946){var _0x37fc31=_0x2d44ac;return this[_0x37fc31(0x3da)][_0x37fc31(0x2ad)](_0x2bb946),this[_0x37fc31(0x3a9)](),this;}[_0x2d44ac(0x1ef)](_0x3c4018){var _0x3bbd34=_0x2d44ac;if(this['_checkMissing'](_0x3c4018))return this[_0x3bbd34(0x17a)](),this['_injector']['createInstance'](ee,this[_0x3bbd34(0x1ff)],this[_0x3bbd34(0x23a)],null,this[_0x3bbd34(0x3da)],null,[_0x3c4018],this[_0x3bbd34(0x219)]);try{const _0x320463=this[_0x3bbd34(0x380)]['transformMutationsWithChangeset'](_0x3c4018,this[_0x3bbd34(0x3da)]);if(_0x418fd2(_0x320463)){const {c1Prime:_0x2ec4fd,m2Prime:_0x138b96}=_0x320463;this['_executeRemoteChangeset'](_0x2ec4fd);const _0x2f3e5c=this[_0x3bbd34(0x3d2)][_0x3bbd34(0x22e)](ae,this[_0x3bbd34(0x1ff)],this[_0x3bbd34(0x23a)],_0x138b96,this[_0x3bbd34(0x219)]);this[_0x3bbd34(0x17a)]();const _0x536c16=new Date()[_0x3bbd34(0x37b)](),_0x37f78f=this['_scheduleCompleteTimestamp']?Math[_0x3bbd34(0x121)](this['_scheduleCompleteTimestamp']-_0x536c16,0x0):this['_getSendChangesetTimeout']();return _0x2f3e5c['_schedule'](_0x37f78f),_0x2f3e5c;}throw _0x320463['error'];}catch(_0x4637d1){return this[_0x3bbd34(0x1d5)][_0x3bbd34(0x274)](_0x4637d1),this[_0x3bbd34(0x2ce)](!0x1);}}[_0x2d44ac(0x1fc)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2d44ac(0x1f6)](){var _0x10f4b8=_0x2d44ac;throw new Error(_0x10f4b8(0x232));}[_0x2d44ac(0x27e)](){return this;}[_0x2d44ac(0x10e)](){var _0x7023c=_0x2d44ac;return this[_0x7023c(0x17a)](),this['_injector'][_0x7023c(0x22e)](de,this[_0x7023c(0x1ff)],this['type'],null,this[_0x7023c(0x3da)],this['_handler']);}['toggleOnline'](){return this;}[_0x2d44ac(0x358)](_0x3d8ec3){var _0x12db44=_0x2d44ac;const _0x4967af=_0x3d8ec3!=null?_0x3d8ec3:this[_0x12db44(0x352)]();this['_scheduleCompleteTimestamp']=new Date()[_0x12db44(0x37b)]()+_0x4967af,this[_0x12db44(0x28d)]=setTimeout(()=>{var _0x4aa226=_0x12db44;this[_0x4aa226(0x17a)]();let _0x490905=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x490905=qt(this['_pendingMutations'],this[_0x4aa226(0x1ff)],this['_univerInstanceService'],this[_0x4aa226(0x29f)],this[_0x4aa226(0xff)]);break;}case Q[_0x4aa226(0x3f8)]:{this[_0x4aa226(0x3da)]['every'](_0xfe8193=>_0xfe8193['id']===_0x3a517f['id'])?_0x490905=ns(this[_0x4aa226(0x3da)],this[_0x4aa226(0x1ff)],this[_0x4aa226(0x3f5)],this[_0x4aa226(0x29f)],this[_0x4aa226(0xff)]):_0x490905=qt(this[_0x4aa226(0x3da)],this[_0x4aa226(0x1ff)],this[_0x4aa226(0x3f5)],this['_revisionService'],this[_0x4aa226(0xff)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x4aa226(0x3d4));}const {changeset:_0x15de45,pendingMutations:_0x270125}=_0x490905;this[_0x4aa226(0x219)][_0x4aa226(0x233)](_0x15de45);const _0x275300=_0x270125['length']?this[_0x4aa226(0x3d2)]['createInstance'](oe,this[_0x4aa226(0x1ff)],this[_0x4aa226(0x23a)],_0x15de45,_0x270125,this[_0x4aa226(0x219)],void 0x0):this[_0x4aa226(0x3d2)][_0x4aa226(0x22e)](le,this[_0x4aa226(0x1ff)],this[_0x4aa226(0x23a)],_0x15de45,this[_0x4aa226(0x219)]);_0x275300[_0x4aa226(0x3a9)](),this['_handler']['onStateChange'](this,_0x275300);},_0x4967af);}['_getSendChangesetTimeout'](){var _0x8a7d68;const _0x2e1e90=this['_configService']['getConfig'](q);return(_0x8a7d68=_0x2e1e90==null?void 0x0:_0x2e1e90['sendChangesetTimeout'])!=null?_0x8a7d68:En;}[_0x2d44ac(0x31d)](){var _0x448c77=_0x2d44ac;throw new Error(_0x448c77(0x146));}[_0x2d44ac(0x17a)](){var _0x55887c=_0x2d44ac;this[_0x55887c(0x28d)]!=null&&(clearTimeout(this[_0x55887c(0x28d)]),this['_sendingTimer']=null);}['_onConflict'](_0x474035){var _0x415823=_0x2d44ac;return this[_0x415823(0x17a)](),this['_injector']['createInstance'](ue,this[_0x415823(0x1ff)],this['type'],null,this[_0x415823(0x3da)],this[_0x415823(0x219)],_0x474035);}};ae=Te([P(0x4,_0x3a18e9(_0x2eed8a)),P(0x5,_0x3a18e9(_0x43b8da)),P(0x6,_0x3a18e9(Le)),P(0x7,_0x41bbc0),P(0x8,_0x326da6),P(0x9,_0x462043),P(0xa,_0x157f6a),P(0xb,_0x2e2ca3),P(0xc,_0x46d3c0),P(0xd,_0x1f5a13(J))],ae);let le=class extends Ce{constructor(_0x4f41e6,_0x46eb4f,_0x1f5169,_0x5c90cd,_0x31f489,_0x1e886f,_0x5a0942,_0x159d17,_0xda99fe,_0xb273f9,_0x273226){var _0x52e235=_0x2d44ac;super(_0x4f41e6,_0x46eb4f,_0x1f5169,[],_0x5c90cd,_0x5a0942,_0xb273f9,_0x1e886f,_0x273226),N(this,_0x52e235(0x389),_0x52e235(0x3af)),N(this,_0x52e235(0x116),0x0),N(this,'_resendTimer'),N(this,_0x52e235(0x1c7)),(this[_0x52e235(0x3d2)]=_0x31f489,this[_0x52e235(0x1d5)]=_0x159d17,this[_0x52e235(0x380)]=_0xda99fe);}[_0x2d44ac(0x18a)](_0x70dab3){var _0x1a5600=_0x2d44ac;this[_0x1a5600(0x17a)]();const _0xee9f25=this[_0x1a5600(0x3d2)][_0x1a5600(0x22e)](oe,this['unitID'],this[_0x1a5600(0x23a)],this[_0x1a5600(0x174)],[_0x70dab3],this['_handler'],this[_0x1a5600(0x2fc)]);return _0xee9f25[_0x1a5600(0x3a9)](),_0xee9f25;}[_0x2d44ac(0x1ef)](_0x31c32e){var _0x12c7ea=_0x2d44ac;if(this[_0x12c7ea(0x156)](_0x31c32e))return this[_0x12c7ea(0x17a)](),this[_0x12c7ea(0x3d2)][_0x12c7ea(0x22e)](ee,this['unitID'],this[_0x12c7ea(0x23a)],this[_0x12c7ea(0x174)],[],null,[_0x31c32e],this[_0x12c7ea(0x219)]);try{const _0x3e3c2b=this[_0x12c7ea(0x380)][_0x12c7ea(0x235)]([_0x31c32e],[this[_0x12c7ea(0x174)]],!0x1);if(_0x3d2c6a(_0x3e3c2b)){const {c1Prime:_0x24e83a,c2Prime:_0x46ae64}=_0x3e3c2b;this[_0x12c7ea(0x27c)](_0x24e83a[0x0]),_0x46ae64[0x0][_0x12c7ea(0x251)]=this['_getCurrentRevision'](),this[_0x12c7ea(0x17a)]();const _0x203888=this['_injector'][_0x12c7ea(0x22e)](le,this['unitID'],this[_0x12c7ea(0x23a)],_0x46ae64[0x0],this['_handler']);return _0x203888['_updateLocalCache'](),_0x203888;}return this[_0x12c7ea(0x2ce)](!0x1);}catch(_0x1ec8dc){return this[_0x12c7ea(0x1d5)][_0x12c7ea(0x274)](_0x1ec8dc),this[_0x12c7ea(0x2ce)](!0x1);}}[_0x2d44ac(0x1fc)](_0x494b84){var _0x57cde2=_0x2d44ac;this[_0x57cde2(0x17a)]();const _0x5b2a75=this[_0x57cde2(0x29f)]['getCurrentRevOfUnit'](this[_0x57cde2(0x1ff)]);if(_0x494b84['revision']<_0x5b2a75-0x1)return this;if(this[_0x57cde2(0x156)](_0x494b84))return this[_0x57cde2(0x3d2)][_0x57cde2(0x22e)](ee,this[_0x57cde2(0x1ff)],this[_0x57cde2(0x23a)],null,[],this[_0x57cde2(0x174)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x128b5c=this[_0x57cde2(0x3d2)][_0x57cde2(0x22e)](Ne,this['unitID'],this[_0x57cde2(0x23a)],this['_handler']);return _0x128b5c['_updateLocalCache'](),_0x128b5c;}[_0x2d44ac(0x1f6)](_0x3bdac1){var _0x10d4e3=_0x2d44ac;return this[_0x10d4e3(0x2ce)](!!(_0x3bdac1!=null&&_0x3bdac1[_0x10d4e3(0x3e9)]));}[_0x2d44ac(0x27e)](_0x32d625){var _0x3f5659=_0x2d44ac;return this[_0x3f5659(0x116)]>Oi?this[_0x3f5659(0x10e)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this[_0x3f5659(0x116)],'reqId':_0x32d625[_0x3f5659(0x39e)]}),this[_0x3f5659(0x1c7)]=this[_0x3f5659(0x2fc)][_0x3f5659(0x128)](({reqId:_0x54b4a4,timeout:_0x18075f})=>{var _0x31cc17=_0x3f5659;this[_0x31cc17(0x1ad)](_0x54b4a4,_0x18075f);}),this);}[_0x2d44ac(0x10e)](){var _0x5084df=_0x2d44ac;return this[_0x5084df(0x17a)](),this[_0x5084df(0x3d2)]['createInstance'](de,this[_0x5084df(0x1ff)],this[_0x5084df(0x23a)],this[_0x5084df(0x174)],[],this[_0x5084df(0x219)]);}[_0x2d44ac(0x328)](){return this;}[_0x2d44ac(0x31d)](){var _0x47d36b=_0x2d44ac;this['_handler']['onSendChangeset'](this[_0x47d36b(0x174)]);}[_0x2d44ac(0x2ce)](_0x2274c2){var _0xd05b29=_0x2d44ac;return this[_0xd05b29(0x17a)](),this[_0xd05b29(0x3d2)]['createInstance'](ue,this[_0xd05b29(0x1ff)],this[_0xd05b29(0x23a)],this[_0xd05b29(0x174)],[],this['_handler'],_0x2274c2);}['_resendWithTimeout'](_0x4a2601,_0x3286e3){var _0x57a9f8=_0x2d44ac,_0x38b657;_0x4a2601===((_0x38b657=this[_0x57a9f8(0x174)])==null?void 0x0:_0x38b657['reqId'])&&(this[_0x57a9f8(0x31d)](),this[_0x57a9f8(0x116)]=_0x3286e3===0x0?0x3e8:_0x3286e3*0x2);}[_0x2d44ac(0x17a)](){var _0x4ca0b0=_0x2d44ac,_0x354723;(_0x354723=this[_0x4ca0b0(0x1c7)])==null||_0x354723[_0x4ca0b0(0x20c)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x3a18e9(_0x2eed8a)),P(0x5,_0x3a18e9(_0x43b8da)),P(0x6,_0x326da6),P(0x7,_0x41bbc0),P(0x8,_0x157f6a),P(0x9,_0x46d3c0),P(0xa,_0x1f5a13(J))],le);let oe=class extends Ce{constructor(_0x12c809,_0x3f7f19,_0x4c8fba,_0x1f7ee3,_0x2d3923,_0x2b363d,_0x1e4a9f,_0x25f68a,_0x154943,_0x14accc,_0x496184,_0x18bd1e,_0x3a0f9f){var _0x2ec31c=_0x2d44ac;super(_0x12c809,_0x3f7f19,_0x4c8fba,_0x1f7ee3,_0x2d3923,_0x154943,_0x18bd1e,_0x25f68a,_0x3a0f9f),N(this,_0x2ec31c(0x389),_0x2ec31c(0x117)),N(this,_0x2ec31c(0x116),0x0),N(this,_0x2ec31c(0x2fc)),N(this,_0x2ec31c(0x1c7)),(this[_0x2ec31c(0x3d2)]=_0x1e4a9f,this[_0x2ec31c(0x1d5)]=_0x14accc,this[_0x2ec31c(0x380)]=_0x496184,this['localCacheService']=_0x3a0f9f,_0x2b363d&&(this[_0x2ec31c(0x2fc)]=_0x2b363d,this[_0x2ec31c(0x1c7)]=this['_resendTimer'][_0x2ec31c(0x128)](({reqId:_0x2ec759,timeout:_0x33618c})=>{var _0x2a8a2a=_0x2ec31c;this[_0x2a8a2a(0x1ad)](_0x2ec759,_0x33618c);})));}['appendMutation'](_0xf20166){var _0x2b3c1a=_0x2d44ac;return this[_0x2b3c1a(0x3da)][_0x2b3c1a(0x2ad)](_0xf20166),this;}[_0x2d44ac(0x1ef)](_0xa4d3d9){var _0xcb8412=_0x2d44ac;if(this[_0xcb8412(0x156)](_0xa4d3d9))return this[_0xcb8412(0x17a)](),this[_0xcb8412(0x3d2)][_0xcb8412(0x22e)](ee,this['unitID'],this[_0xcb8412(0x23a)],this['_awaitingChangeset'],this[_0xcb8412(0x3da)],null,[_0xa4d3d9],this[_0xcb8412(0x219)]);try{const _0x2f77cf=this[_0xcb8412(0x380)]['transformChangesets']([_0xa4d3d9],[this[_0xcb8412(0x174)]],!0x1);if(_0x3d2c6a(_0x2f77cf)){const {c1Prime:_0x56672f,c2Prime:_0x5cd50f}=_0x2f77cf,_0x2cd643=this[_0xcb8412(0x380)][_0xcb8412(0x2d8)](_0x56672f[0x0],this[_0xcb8412(0x3da)]);if(_0x418fd2(_0x2cd643)){const {c1Prime:_0x22c566,m2Prime:_0x16c2b9}=_0x2cd643;return this[_0xcb8412(0x27c)](_0x22c566),_0x5cd50f[0x0][_0xcb8412(0x251)]=this[_0xcb8412(0x2b6)](),this[_0xcb8412(0x17a)](),this['_injector'][_0xcb8412(0x22e)](oe,this[_0xcb8412(0x1ff)],this[_0xcb8412(0x23a)],_0x5cd50f[0x0],_0x16c2b9,this[_0xcb8412(0x219)],void 0x0);}throw _0x2cd643['error'];}throw _0x2f77cf['error'];}catch(_0x93659){return this[_0xcb8412(0x1d5)]['error'](_0x93659),this['_onConflict'](!0x1);}}[_0x2d44ac(0x1fc)](_0x34587a){var _0x3cae05=_0x2d44ac;if(this['_clearScheduledTask'](),this[_0x3cae05(0x156)](_0x34587a))return this[_0x3cae05(0x3d2)]['createInstance'](ee,this[_0x3cae05(0x1ff)],this[_0x3cae05(0x23a)],null,this[_0x3cae05(0x3da)],this[_0x3cae05(0x174)],[],this[_0x3cae05(0x219)]);this[_0x3cae05(0x2a4)]();const _0x3fd0b8=this[_0x3cae05(0x3d2)][_0x3cae05(0x22e)](ae,this[_0x3cae05(0x1ff)],this[_0x3cae05(0x23a)],this[_0x3cae05(0x3da)],this[_0x3cae05(0x219)]);return _0x3fd0b8[_0x3cae05(0x358)](),_0x3fd0b8['_updateLocalCache'](),_0x3fd0b8;}[_0x2d44ac(0x1f6)](_0xf674d2){var _0x47c1d2=_0x2d44ac;return this[_0x47c1d2(0x2ce)](!!(_0xf674d2!=null&&_0xf674d2[_0x47c1d2(0x3e9)]));}['onRemoteRetry'](_0x316d1b){var _0x251f95=_0x2d44ac;return this[_0x251f95(0x116)]>Oi?this[_0x251f95(0x10e)]():(this[_0x251f95(0x2fc)]=Ri(this[_0x251f95(0x116)],{'timeout':this[_0x251f95(0x116)],'reqId':_0x316d1b[_0x251f95(0x39e)]}),this['_sender']=this[_0x251f95(0x2fc)][_0x251f95(0x128)](({reqId:_0x5a741a,timeout:_0x146bac})=>{var _0xbd0708=_0x251f95;this[_0xbd0708(0x1ad)](_0x5a741a,_0x146bac);}),this);}['toggleOffline'](){var _0xa89fc5=_0x2d44ac;return this[_0xa89fc5(0x17a)](),this[_0xa89fc5(0x3d2)][_0xa89fc5(0x22e)](de,this[_0xa89fc5(0x1ff)],this['type'],this[_0xa89fc5(0x174)],this[_0xa89fc5(0x3da)],this[_0xa89fc5(0x219)]);}[_0x2d44ac(0x328)](){return this;}[_0x2d44ac(0x31d)](){var _0x3d079d=_0x2d44ac;this[_0x3d079d(0x219)][_0x3d079d(0x233)](this[_0x3d079d(0x174)]);}['_onConflict'](_0x5736c5){var _0x580f2c=_0x2d44ac;return this[_0x580f2c(0x17a)](),this[_0x580f2c(0x3d2)][_0x580f2c(0x22e)](ue,this[_0x580f2c(0x1ff)],this[_0x580f2c(0x23a)],null,this[_0x580f2c(0x3da)],this['_handler'],_0x5736c5);}[_0x2d44ac(0x1ad)](_0x43fa37,_0x23daaa){var _0x27e049=_0x2d44ac,_0x53493f;_0x43fa37===((_0x53493f=this[_0x27e049(0x174)])==null?void 0x0:_0x53493f[_0x27e049(0x39e)])&&(this['resend'](),this[_0x27e049(0x116)]=_0x23daaa===0x0?0x3e8:_0x23daaa*0x2);}[_0x2d44ac(0x17a)](){var _0x161049=_0x2d44ac,_0x4b0b89;(_0x4b0b89=this['_sender'])==null||_0x4b0b89[_0x161049(0x20c)](),this[_0x161049(0x116)]=0x0;}};oe=Te([P(0x6,_0x3a18e9(_0x2eed8a)),P(0x7,_0x3a18e9(_0x43b8da)),P(0x8,_0x326da6),P(0x9,_0x41bbc0),P(0xa,_0x157f6a),P(0xb,_0x46d3c0),P(0xc,_0x1f5a13(J))],oe);let ue=class extends Ce{constructor(_0x42b038,_0x21fa98,_0x464684,_0x5eadc5,_0x141ed0,_0x2afd0c=!0x1,_0x3fbe42,_0x10475f,_0x230017,_0x188743,_0x2ce95a,_0x287019,_0x4c4be0){var _0x1c78d4=_0x2d44ac;super(_0x42b038,_0x21fa98,_0x464684,_0x5eadc5,_0x141ed0,_0x10475f,_0x230017,_0x188743,_0x4c4be0),N(this,_0x1c78d4(0x389),'conflict'),(this[_0x1c78d4(0x208)]=_0x2afd0c,this[_0x1c78d4(0x3e4)]=_0x3fbe42,this[_0x1c78d4(0x309)]=_0x2ce95a,this[_0x1c78d4(0xf4)]=_0x287019,this[_0x1c78d4(0x3fb)]=_0x4c4be0,this[_0x1c78d4(0x1b8)](),this[_0x1c78d4(0x194)](),this[_0x1c78d4(0x19a)]());}[_0x2d44ac(0x18a)](){return this;}[_0x2d44ac(0x1ef)](){return this;}[_0x2d44ac(0x1fc)](){return this;}[_0x2d44ac(0x1f6)](){return this;}[_0x2d44ac(0x27e)](){return this;}[_0x2d44ac(0x10e)](){return this;}[_0x2d44ac(0x328)](){return this;}[_0x2d44ac(0x31d)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2d44ac(0x194)](){var _0x5d7201=_0x2d44ac,_0x547a26;(_0x547a26=this[_0x5d7201(0x145)])==null||_0x547a26[_0x5d7201(0x165)](this[_0x5d7201(0x1ff)],this[_0x5d7201(0x23a)],null,[]);}[_0x2d44ac(0x1b8)](){var _0xd974c4=_0x2d44ac;this[_0xd974c4(0x208)]?this['_collaborationUIEventService'][_0xd974c4(0x113)]({'id':re[_0xd974c4(0x230)]}):this['_collaborationUIEventService'][_0xd974c4(0x113)]({'id':re[_0xd974c4(0x3b3)]});}['_disableEditing'](){var _0x596077=_0x2d44ac;this[_0x596077(0x3e4)][_0x596077(0x109)](new _0x457771(this[_0x596077(0x1ff)])['id'],!0x1);}};ue=Te([P(0x6,_0x3a18e9(_0x1461bf)),P(0x7,_0x326da6),P(0x8,_0x46d3c0),P(0x9,_0x3a18e9(_0x43b8da)),P(0xa,_0x3a18e9(_0x25b15a)),P(0xb,_0x3a18e9(pe)),P(0xc,_0x1f5a13(J))],ue);let de=class extends Ce{constructor(_0x847fe3,_0x129f54,_0x1f41a5,_0x5925b1,_0x464cba,_0x4e84f2,_0x149dc9,_0x2e4473,_0x25902f,_0x3edd1e){super(_0x847fe3,_0x129f54,_0x1f41a5,_0x5925b1,_0x464cba,_0x2e4473,_0x25902f,_0x149dc9,_0x3edd1e),N(this,'status','offline'),this['_injector']=_0x4e84f2;}[_0x2d44ac(0x18a)](_0x1406f6){var _0x37a3c0=_0x2d44ac;return this[_0x37a3c0(0x3da)]['push'](_0x1406f6),this[_0x37a3c0(0x3a9)](),this;}[_0x2d44ac(0x1ef)](_0x56c80e){var _0x36dfbf=_0x2d44ac;throw new Error(_0x36dfbf(0x3bc));}['onRemoteAck'](){var _0x34b83d=_0x2d44ac;throw new Error(_0x34b83d(0x299));}[_0x2d44ac(0x1f6)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2d44ac(0x10e)](){return this;}[_0x2d44ac(0x328)](){var _0x3807aa=_0x2d44ac;const {_injector:_0x1be876,_pendingMutations:_0x450434,_awaitingChangeset:_0x37bb82,unitID:_0x364497,_handler:_0x42a4c4,type:_0x2df111}=this,_0x3d5ca8=yi(_0x1be876,_0x364497,_0x2df111,_0x37bb82,_0x450434,_0x42a4c4);return _0x3d5ca8 instanceof ae?_0x3d5ca8[_0x3807aa(0x358)]():(_0x3d5ca8 instanceof oe||_0x3d5ca8 instanceof le)&&_0x3d5ca8[_0x3807aa(0x31d)](),_0x3d5ca8;}['resend'](){var _0x90ce3c=_0x2d44ac;throw new Error(_0x90ce3c(0x2d0));}};de=Te([P(0x5,_0x3a18e9(_0x2eed8a)),P(0x6,_0x3a18e9(_0x43b8da)),P(0x7,_0x326da6),P(0x8,_0x46d3c0),P(0x9,_0x1f5a13(J))],de);let ee=class extends Ce{constructor(_0x2122d5,_0x470905,_0x2a7cd2,_0x1c5a89,_0x1bc64c,_0x3b3f13,_0x22c5b6,_0x319709,_0x3067ca,_0x148da5,_0x356ae8,_0xe9caf7,_0x2b74bb,_0x4ab9c2){var _0x2712dd=_0x2d44ac;super(_0x2122d5,_0x470905,_0x2a7cd2,_0x1c5a89,_0x22c5b6,_0x356ae8,_0xe9caf7,_0x3067ca,_0x4ab9c2),N(this,'status',_0x2712dd(0x3db)),(this[_0x2712dd(0x337)]=_0x1bc64c,this[_0x2712dd(0x2e4)]=_0x3b3f13,this['_injector']=_0x319709,this['_logService']=_0x148da5,this['_transformService']=_0x2b74bb,this['localCacheService']=_0x4ab9c2);}['onMissedChangesetFetched'](_0x1e3781){var _0x599ed7=_0x2d44ac;try{const _0x353a61=[..._0x1e3781,...this[_0x599ed7(0x2e4)]],_0xe96ff9=[this[_0x599ed7(0x174)]||this[_0x599ed7(0x337)]][_0x599ed7(0x231)](_0x3494d2=>!!_0x3494d2);let _0x4c8def,_0x5ee899;if(_0xe96ff9[_0x599ed7(0x1cc)]){const _0x5780e2=this[_0x599ed7(0x380)][_0x599ed7(0x235)](_0x353a61,_0xe96ff9,!0x1);if(!_0x3d2c6a(_0x5780e2))throw _0x5780e2[_0x599ed7(0x274)];_0x4c8def=_0x5780e2[_0x599ed7(0x243)],_0x5ee899=_0x5780e2[_0x599ed7(0x3c1)];}else _0x4c8def=_0x353a61,_0x5ee899=[];let _0x3ac89c=this[_0x599ed7(0x3da)];_0x4c8def['forEach'](_0x598dff=>{var _0x4c0717=_0x599ed7;let _0x55d615;if(_0x3ac89c[_0x4c0717(0x1cc)]){const _0x52a416=this[_0x4c0717(0x380)][_0x4c0717(0x2d8)](_0x598dff,_0x3ac89c);if(!_0x418fd2(_0x52a416))throw _0x52a416[_0x4c0717(0x274)];_0x55d615=_0x52a416[_0x4c0717(0x243)],_0x3ac89c=_0x52a416[_0x4c0717(0x29e)];}else _0x55d615=_0x598dff;this[_0x4c0717(0x27c)](_0x55d615);}),this[_0x599ed7(0x337)]&&this[_0x599ed7(0x2a4)](),this['_awaitingChangeset']&&_0x5ee899[_0x599ed7(0x1cc)]&&(_0x5ee899[0x0][_0x599ed7(0x251)]=this[_0x599ed7(0x2b6)]());let _0x5ea596;if(this[_0x599ed7(0x174)]&&_0x3ac89c[_0x599ed7(0x1cc)]!==0x0)_0x5ea596=this[_0x599ed7(0x3d2)][_0x599ed7(0x22e)](oe,this['unitID'],this[_0x599ed7(0x23a)],_0x5ee899[0x0],_0x3ac89c,this[_0x599ed7(0x219)],void 0x0);else{if(this[_0x599ed7(0x174)]&&_0x3ac89c[_0x599ed7(0x1cc)]===0x0)_0x5ee899[0x0][_0x599ed7(0x251)]=this[_0x599ed7(0x2b6)](),_0x5ea596=this[_0x599ed7(0x3d2)][_0x599ed7(0x22e)](le,this['unitID'],this[_0x599ed7(0x23a)],_0x5ee899[0x0],this['_handler']);else{if(_0x3ac89c[_0x599ed7(0x1cc)]!==0x0){const _0x3fea85=this[_0x599ed7(0x3d2)][_0x599ed7(0x22e)](ae,this['unitID'],this[_0x599ed7(0x23a)],_0x3ac89c,this[_0x599ed7(0x219)]);_0x3fea85['_schedule'](),_0x5ea596=_0x3fea85;}else _0x5ea596=this[_0x599ed7(0x3d2)][_0x599ed7(0x22e)](Ne,this[_0x599ed7(0x1ff)],this[_0x599ed7(0x23a)],this[_0x599ed7(0x219)]);}}return _0x5ea596[_0x599ed7(0x3a9)](),_0x5ea596;}catch(_0x25e881){return this[_0x599ed7(0x1d5)][_0x599ed7(0x274)](_0x599ed7(0x1b5),_0x599ed7(0x139),_0x25e881),this['_injector'][_0x599ed7(0x22e)](ue,this[_0x599ed7(0x1ff)],this['type'],this['_awaitingChangeset'],this[_0x599ed7(0x3da)],this[_0x599ed7(0x219)],!0x1);}}[_0x2d44ac(0x31d)](){var _0x44a275=_0x2d44ac;throw new Error(_0x44a275(0x33c));}['appendMutation'](_0x13d6a4){var _0x27390b=_0x2d44ac;return this[_0x27390b(0x3da)][_0x27390b(0x2ad)](_0x13d6a4),this;}[_0x2d44ac(0x1ef)](_0x15b6fd){var _0x189353=_0x2d44ac;return this[_0x189353(0x2e4)][_0x189353(0x2ad)](_0x15b6fd),this;}['onRemoteAck'](_0x41577a){var _0x29c9c4=_0x2d44ac;if(this[_0x29c9c4(0x174)])return this[_0x29c9c4(0x337)]=this['_awaitingChangeset'],this[_0x29c9c4(0x174)]=null,this;throw new Error(_0x29c9c4(0x2c8));}[_0x2d44ac(0x1f6)](_0x4bb061){var _0x332700=_0x2d44ac;return this[_0x332700(0x2ce)](!!(_0x4bb061!=null&&_0x4bb061[_0x332700(0x3e9)]));}[_0x2d44ac(0x27e)](){return this;}[_0x2d44ac(0x10e)](){var _0x3f800c=_0x2d44ac;return this[_0x3f800c(0x3d2)][_0x3f800c(0x22e)](de,this[_0x3f800c(0x1ff)],this[_0x3f800c(0x23a)],this['_awaitingChangeset'],this[_0x3f800c(0x3da)],this[_0x3f800c(0x219)]);}[_0x2d44ac(0x328)](){return this;}[_0x2d44ac(0x2ce)](_0x4e31af){var _0x1e5742=_0x2d44ac;return this[_0x1e5742(0x3d2)][_0x1e5742(0x22e)](ue,this[_0x1e5742(0x1ff)],this[_0x1e5742(0x23a)],this[_0x1e5742(0x174)],this[_0x1e5742(0x3da)],this[_0x1e5742(0x219)],_0x4e31af);}};ee=Te([P(0x7,_0x3a18e9(_0x2eed8a)),P(0x8,_0x3a18e9(_0x43b8da)),P(0x9,_0x41bbc0),P(0xa,_0x326da6),P(0xb,_0x46d3c0),P(0xc,_0x157f6a),P(0xd,_0x1f5a13(J))],ee);function yi(_0x556b1d,_0x554631,_0x557454,_0x618b56,_0x3499f4,_0xd822da){var _0x5a4efc=_0x2d44ac;return _0x618b56&&_0x3499f4[_0x5a4efc(0x1cc)]?_0x556b1d['createInstance'](oe,_0x554631,_0x557454,_0x618b56,_0x3499f4,_0xd822da,void 0x0):_0x618b56?_0x556b1d[_0x5a4efc(0x22e)](le,_0x554631,_0x557454,_0x618b56,_0xd822da):_0x3499f4[_0x5a4efc(0x1cc)]?_0x556b1d[_0x5a4efc(0x22e)](ae,_0x554631,_0x557454,_0x3499f4,_0xd822da):_0x556b1d[_0x5a4efc(0x22e)](Ne,_0x554631,_0x557454,_0xd822da);}var as=Object[_0x2d44ac(0x2a3)],Lt=(_0x24d81c,_0x5d0cfb,_0x146ac3,_0xba3c88)=>{var _0x34bc62=_0x2d44ac;for(var _0x588635=_0xba3c88>0x1?void 0x0:_0xba3c88?as(_0x5d0cfb,_0x146ac3):_0x5d0cfb,_0x34dbbc=_0x24d81c[_0x34bc62(0x1cc)]-0x1,_0x262d4e;_0x34dbbc>=0x0;_0x34dbbc--)(_0x262d4e=_0x24d81c[_0x34dbbc])&&(_0x588635=_0x262d4e(_0x588635)||_0x588635);return _0x588635;},H=(_0x5759d9,_0x391f40)=>(_0x315274,_0xef023)=>_0x391f40(_0x315274,_0xef023,_0x5759d9);let nt=class extends _0x2f9470{constructor(_0x4e9ed7,_0x128391,_0x13ddd2,_0x60cb5e,_0x2bd2d5,_0x2b490f,_0x96bd4f,_0x46e323,_0x518027,_0x5b69a0,_0x9822be,_0x5a77a4,_0x1a1046){var _0x338be5=_0x2d44ac;super(),N(this,_0x338be5(0x324),new _0xa6b6e7(null)),N(this,_0x338be5(0xf8),this['_state$'][_0x338be5(0x2f1)]()),N(this,_0x338be5(0x21d)),N(this,_0x338be5(0x330),!0x1),N(this,_0x338be5(0x122),''),N(this,_0x338be5(0x2ee),0x0),N(this,_0x338be5(0x30a),this[_0x338be5(0xf8)][_0x338be5(0x11e)](_0xa964fc(_0x5c546b=>_0x5c546b?_0x5c546b['status']:bi[_0x338be5(0x2e5)]),_0x2ea2ae(0x1))),N(this,_0x338be5(0x263),!0x1),N(this,_0x338be5(0x3dc),[]),(this[_0x338be5(0x1ff)]=_0x4e9ed7,this[_0x338be5(0x3c8)]=_0x128391,this['_type']=_0x13ddd2,this[_0x338be5(0x3d2)]=_0x60cb5e,this[_0x338be5(0x228)]=_0x2bd2d5,this[_0x338be5(0x309)]=_0x2b490f,this[_0x338be5(0x29f)]=_0x96bd4f,this[_0x338be5(0x354)]=_0x46e323,this[_0x338be5(0x1d5)]=_0x518027,this[_0x338be5(0x2be)]=_0x5b69a0,this[_0x338be5(0x3e4)]=_0x9822be,this[_0x338be5(0x16a)]=_0x5a77a4,this['_localCacheService']=_0x1a1046);}get[_0x2d44ac(0x370)](){var _0x26331f=_0x2d44ac;return this[_0x26331f(0x21d)];}async['init'](){var _0x2f752b=_0x2d44ac;if(this[_0x2f752b(0x370)])throw new Error(_0x2f752b(0x135));await this[_0x2f752b(0x321)]();}['pauseCollaboration'](){var _0x76da79=_0x2d44ac;return this[_0x76da79(0x330)]=!0x0,_0x411075(()=>{var _0x11474c=_0x76da79;this[_0x11474c(0x330)]=!0x1,this[_0x11474c(0x15f)]();});}[_0x2d44ac(0x246)](_0x11b54b){var _0x4ad0e1=_0x2d44ac;this[_0x4ad0e1(0x36e)](_0x11b54b);}[_0x2d44ac(0x3b1)](_0x414511){var _0x5428a2=_0x2d44ac;this[_0x5428a2(0x21d)]=_0x414511,this['_state$']['next'](_0x414511);}async[_0x2d44ac(0x321)](){var _0x253d17=_0x2d44ac,_0x283de3;this['_updateState'](await this['_createInitialState']()),this[_0x253d17(0x16a)]&&((_0x283de3=this[_0x253d17(0x16a)])==null||_0x283de3[_0x253d17(0x399)](this[_0x253d17(0x1ff)]),this[_0x253d17(0x336)](this['_singleActiveUnitService'][_0x253d17(0x327)](this['unitID'])['subscribe'](_0x274d7c=>{var _0x5d694c=_0x253d17;this[_0x5d694c(0x1d5)][_0x5d694c(0x2a2)](_0x5d694c(0x1dc),'editing\x20status\x20changed\x20to',_0x274d7c),_0x274d7c===Ci[_0x5d694c(0x234)]?(this[_0x5d694c(0x354)][_0x5d694c(0x113)]({'id':re[_0x5d694c(0x11f)]}),this[_0x5d694c(0x3e4)]['updatePermissionPoint'](new _0x457771(this[_0x5d694c(0x1ff)])['id'],!0x1),this[_0x5d694c(0x3e4)][_0x5d694c(0x3a4)](!0x1)):(this['_permissionService'][_0x5d694c(0x109)](new _0x457771(this[_0x5d694c(0x1ff)])['id'],!0x0),this[_0x5d694c(0x3e4)][_0x5d694c(0x3a4)](!0x0));})));let _0x393b48=!0x1;return this[_0x253d17(0x336)](this[_0x253d17(0x3c8)][_0x253d17(0x250)][_0x253d17(0x128)](_0x364c5d=>{var _0x57eed1=_0x253d17;_0x364c5d===Ee['ONLINE']?this[_0x57eed1(0x1dd)](_0x393b48):_0x364c5d===Ee[_0x57eed1(0x2e5)]&&(_0x393b48=!0x0,this[_0x57eed1(0x2af)]());})),this[_0x253d17(0x336)](this[_0x253d17(0x3c8)]['event$'][_0x253d17(0x128)](_0x4abddc=>{var _0x340955=_0x253d17;try{switch(_0x4abddc[_0x340955(0x3f7)]){case _0x3d1bff[_0x340955(0x381)]:{this[_0x340955(0x3bb)](_0xad3758(_0x4abddc['data']));break;}case _0x3d1bff[_0x340955(0x34a)]:{this[_0x340955(0x178)](_0x4abddc[_0x340955(0x18e)]);break;}case _0x3d1bff[_0x340955(0x248)]:{this[_0x340955(0x13d)]();break;}case _0x3d1bff[_0x340955(0x1bd)]:{this['_onRemoteRetry'](_0x4abddc[_0x340955(0x18e)]);break;}case _0x3d1bff[_0x340955(0x1a7)]:{this[_0x340955(0x3dd)](_0x4abddc[_0x340955(0x18e)][_0x340955(0x225)][_0x340955(0x1fa)](_0x4eccfe=>_0xad3758(_0x4eccfe)));break;}case _0x3d1bff[_0x340955(0x1a4)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x3d1bff['UNISCRIPT_RUN']:break;}}catch(_0x2f252e){throw console[_0x340955(0x274)]('Error\x20on\x20receiving\x20event',_0x2f252e),_0x2f252e;}})),this['_state'];}[_0x2d44ac(0x131)](){var _0x486336=_0x2d44ac;this[_0x486336(0x263)]=!0x1;}[_0x2d44ac(0x382)](){var _0xefbb1c=_0x2d44ac;if(this[_0xefbb1c(0x263)])throw new Error(_0xefbb1c(0x217));this[_0xefbb1c(0x263)]=!0x0;}[_0x2d44ac(0x36e)](_0x3fb60b){var _0xcaaa17=_0x2d44ac;this[_0xcaaa17(0x382)](),this[_0xcaaa17(0x3b1)](this['_state'][_0xcaaa17(0x18a)](_0x3fb60b)),this[_0xcaaa17(0x131)]();}[_0x2d44ac(0x3bb)](_0x434913){var _0x1dd6f0=_0x2d44ac;if(!(_0x434913[_0x1dd6f0(0x344)]<=this[_0x1dd6f0(0x29f)][_0x1dd6f0(0x1e1)](this[_0x1dd6f0(0x1ff)]))){if(this[_0x1dd6f0(0x330)]){this[_0x1dd6f0(0x3dc)]['push'](_0x434913);return;}this['_applyRemoteChangeset'](_0x434913);}}[_0x2d44ac(0x15f)](){var _0x4606b6=_0x2d44ac;this[_0x4606b6(0x3dc)][_0x4606b6(0x2ea)](_0x226f82=>this['_applyRemoteChangeset'](_0x226f82)),this[_0x4606b6(0x3dc)]=[];}[_0x2d44ac(0x1bb)](_0x37e0c1){var _0x3a4bb3=_0x2d44ac;const _0xaf8283=this[_0x3a4bb3(0x228)][_0x3a4bb3(0x265)][_0x3a4bb3(0x313)](this[_0x3a4bb3(0x228)][_0x3a4bb3(0x265)][_0x3a4bb3(0x360)]()['COMPRESS_MUTATION_APPLY'])(_0x37e0c1[_0x3a4bb3(0x1c8)],null)||_0x37e0c1[_0x3a4bb3(0x1c8)],_0x250ada={..._0x37e0c1,'mutations':_0xaf8283};this[_0x3a4bb3(0x382)](),this[_0x3a4bb3(0x3b1)](this[_0x3a4bb3(0x21d)]['onRemoteChangeset'](_0x250ada)),this[_0x3a4bb3(0x131)]();}[_0x2d44ac(0x178)](_0x34726b){var _0x45e81a=_0x2d44ac;this[_0x45e81a(0x382)](),this[_0x45e81a(0x3b1)](this[_0x45e81a(0x21d)][_0x45e81a(0x1fc)](_0x34726b)),this[_0x45e81a(0x131)]();}[_0x2d44ac(0x13d)](_0x503811){var _0x489fb7=_0x2d44ac;this[_0x489fb7(0x382)](),this[_0x489fb7(0x3b1)](this['_state'][_0x489fb7(0x1f6)](_0x503811)),this[_0x489fb7(0x131)]();}['_onRemoteRetry'](_0x1c7f56){var _0x8666fb=_0x2d44ac;this[_0x8666fb(0x382)](),this[_0x8666fb(0x3b1)](this[_0x8666fb(0x21d)][_0x8666fb(0x27e)](_0x1c7f56)),this['_unlockTransition']();}['_onFetchMissResult'](_0x182bf7){var _0x25be33=_0x2d44ac;if(!(this[_0x25be33(0x21d)]instanceof ee))throw new TypeError(_0x25be33(0x2a8));const _0x2f8448=_0x182bf7[_0x25be33(0x1fa)](_0x1e27b2=>{var _0x1076b4=_0x25be33;const _0x152065=this[_0x1076b4(0x228)][_0x1076b4(0x265)][_0x1076b4(0x313)](this[_0x1076b4(0x228)]['interceptor'][_0x1076b4(0x360)]()[_0x1076b4(0x1e2)])(_0x1e27b2['mutations'],null)||_0x1e27b2['mutations'];return{..._0x1e27b2,'mutations':_0x152065};});this['_lockTransition'](),this['_updateState'](this['_state'][_0x25be33(0x301)](_0x2f8448)),this[_0x25be33(0x131)]();}['_toggleOffline'](){var _0x4e0f6d=_0x2d44ac;this[_0x4e0f6d(0x382)](),this['_updateState'](this[_0x4e0f6d(0x21d)][_0x4e0f6d(0x10e)]()),this[_0x4e0f6d(0x131)]();}['_toggleOnline'](_0x398542=!0x1){var _0x28374a=_0x2d44ac;this[_0x28374a(0x382)](),this[_0x28374a(0x3b1)](this[_0x28374a(0x21d)]['toggleOnline']()),this[_0x28374a(0x131)]();const _0x4ef62e=this['_state'];_0x398542&&_0x4ef62e instanceof Ne&&(this[_0x28374a(0x382)](),this['_updateState'](_0x4ef62e['fetchMiss']()),this[_0x28374a(0x131)]());}async['_createInitialState'](){return new Promise(_0x57361a=>{var _0x20db56=_0x39a9;this[_0x20db56(0x3c8)][_0x20db56(0x250)][_0x20db56(0x11e)](_0x3d256e(0x1))[_0x20db56(0x128)](async _0x14e934=>{var _0x58c268=_0x20db56;_0x57361a(await this[_0x58c268(0x1f8)](_0x14e934===Ee[_0x58c268(0x177)]));});});}[_0x2d44ac(0x286)](){var _0x42dd83=_0x2d44ac;const _0x4bf1fd=this[_0x42dd83(0x1ff)];return{'onStateChange':(_0x13a8c8,_0x41794a)=>{var _0x3b22bd=_0x42dd83;if(_0x13a8c8!==this[_0x3b22bd(0x21d)])throw new Error(_0x3b22bd(0x20b)+_0x13a8c8[_0x3b22bd(0x389)]+'\x0aAfter:\x20'+_0x41794a[_0x3b22bd(0x389)]+_0x3b22bd(0xf6)+this['_state']['status']);this[_0x3b22bd(0x3b1)](_0x41794a);},'onSendChangeset':_0x59aa0e=>{var _0x3c3867=_0x42dd83;_0x59aa0e[_0x3c3867(0x379)]||(_0x59aa0e[_0x3c3867(0x379)]=this[_0x3c3867(0x122)],_0x59aa0e[_0x3c3867(0x39e)]=++this[_0x3c3867(0x2ee)]);const _0x3aaa4c={'eventID':_0x3d1bff[_0x3c3867(0x1ab)],'data':{'unitID':_0x59aa0e[_0x3c3867(0x1ff)],'unitType':this[_0x3c3867(0x28c)],'changeset':_0x59aa0e,'memberID':this[_0x3c3867(0x3c8)][_0x3c3867(0x192)]()}};this[_0x3c3867(0x3c8)][_0x3c3867(0x1f5)](_0x3aaa4c,this['unitID']);},'onMissingChangesets':({from:_0x458ab3,to:_0x4c3d34})=>{var _0x5f2d3e=_0x42dd83;this['_logService']['debug'](_0x5f2d3e(0x1dc),_0x5f2d3e(0x387)+_0x458ab3+_0x5f2d3e(0x3e0)+_0x4c3d34);const _0x2a3325={'eventID':_0x3d1bff[_0x5f2d3e(0x39c)],'data':{'unitID':_0x4bf1fd,'unitType':this[_0x5f2d3e(0x28c)],'from':_0x458ab3,'to':_0x4c3d34}};this['session'][_0x5f2d3e(0x1f5)](_0x2a3325,this['unitID']);}};}async[_0x2d44ac(0x1f8)](_0x500f0e){var _0x4f9b6e=_0x2d44ac,_0x239d24,_0xebd740,_0x544926;const _0x46eebb=await((_0x239d24=this[_0x4f9b6e(0x145)])==null?void 0x0:_0x239d24[_0x4f9b6e(0x35d)](this[_0x4f9b6e(0x1ff)])),_0x312413=(_0xebd740=_0x46eebb==null?void 0x0:_0x46eebb[_0x4f9b6e(0x1c8)])!=null?_0xebd740:[],_0x25359c=(_0x544926=_0x46eebb==null?void 0x0:_0x46eebb['awaitingChangeset'])!=null?_0x544926:null,_0x3dd37f=!!(_0x25359c!=null&&_0x25359c[_0x4f9b6e(0x379)])&&!!(_0x25359c!=null&&_0x25359c[_0x4f9b6e(0x39e)]);this[_0x4f9b6e(0x122)]=_0x3dd37f?_0x25359c[_0x4f9b6e(0x379)]:Zn(),this[_0x4f9b6e(0x2ee)]=_0x3dd37f?_0x25359c['reqId']:0x0;const _0x538739=this['unitID'];try{this[_0x4f9b6e(0x343)](_0x25359c,_0x312413);}catch(_0x17c45e){this[_0x4f9b6e(0x1d5)]['error'](_0x17c45e);}const _0xaaf4d4=this[_0x4f9b6e(0x286)]();if(_0x500f0e){const _0x178387=yi(this[_0x4f9b6e(0x3d2)],_0x538739,this['_type'],_0x25359c,_0x312413,_0xaaf4d4);return _0x178387 instanceof ae?_0x178387[_0x4f9b6e(0x358)]():(_0x178387 instanceof oe||_0x178387 instanceof le)&&_0x178387[_0x4f9b6e(0x31d)](),_0x178387;}return this[_0x4f9b6e(0x3d2)][_0x4f9b6e(0x22e)](de,_0x538739,this['_type'],_0x25359c,_0x312413,_0xaaf4d4);}[_0x2d44ac(0x343)](_0x5e0700,_0x48f4f5){var _0x29dbae=_0x2d44ac,_0x4358f6,_0x2dcd9a;const _0x437acc=this[_0x29dbae(0x228)][_0x29dbae(0x265)][_0x29dbae(0x313)](this[_0x29dbae(0x228)]['interceptor']['getInterceptPoints']()[_0x29dbae(0x1e2)]);(_0x4358f6=_0x437acc((_0x5e0700==null?void 0x0:_0x5e0700[_0x29dbae(0x1c8)])||[],null))==null||_0x4358f6[_0x29dbae(0x2ea)](_0x5c9bf7=>this[_0x29dbae(0x2be)][_0x29dbae(0x1b1)](_0x5c9bf7['id'],_0x5c9bf7[_0x29dbae(0x2d1)])),(_0x2dcd9a=_0x437acc(_0x48f4f5||[],null))==null||_0x2dcd9a[_0x29dbae(0x2ea)](_0x358e38=>this[_0x29dbae(0x2be)][_0x29dbae(0x1b1)](_0x358e38['id'],_0x358e38[_0x29dbae(0x2d1)]));}};nt=Lt([H(0x3,_0x3a18e9(_0x2eed8a)),H(0x4,_0x3a18e9(_0x370cea)),H(0x5,_0x3a18e9(_0x25b15a)),H(0x6,_0x3a18e9(_0x43b8da)),H(0x7,_0x3a18e9(pe)),H(0x8,_0x41bbc0),H(0x9,_0x326da6),H(0xa,_0x1461bf),H(0xb,_0x1f5a13(ht)),H(0xc,_0x1f5a13(J))],nt);let It=class extends nt{constructor(_0x36b968,_0x52acd6,_0x19a3a6,_0x4d4438,_0x404f57,_0x6661d0,_0x40671c,_0x2d15cb,_0x230e20,_0x1eabeb,_0x3d5943,_0x1cffbe,_0x5a1748){var _0x164181=_0x2d44ac;super(_0x36b968,_0x19a3a6,_0x52acd6,_0x4d4438,_0x404f57,_0x6661d0,_0x40671c,_0x2d15cb,_0x230e20,_0x1eabeb,_0x3d5943,_0x1cffbe,_0x5a1748),N(this,_0x164181(0x201),null),(this[_0x164181(0x1ff)]=_0x36b968,this[_0x164181(0x23a)]=_0x52acd6);}[_0x2d44ac(0x212)](_0x4db4b8){var _0xa4e280=_0x2d44ac;this[_0xa4e280(0x201)]=_0x4db4b8;}[_0x2d44ac(0x141)](){var _0x40592a=_0x2d44ac;this['_handlerCallback']=null,super[_0x40592a(0x141)]();}['_createHandler'](){var _0x444ffb=_0x2d44ac;const _0x29da37=super['_createHandler']();return _0x29da37[_0x444ffb(0x3b7)]=_0x342239=>{var _0x2f5b6f=_0x444ffb,_0x52fd28,_0x3cbc35;return(_0x3cbc35=(_0x52fd28=this['_handlerCallback'])==null?void 0x0:_0x52fd28[_0x2f5b6f(0x3b7)])==null?void 0x0:_0x3cbc35[_0x2f5b6f(0x2fa)](_0x52fd28,_0x342239);},_0x29da37['onTransformState']=_0x3d5d63=>{var _0x2500cb=_0x444ffb,_0x9010cb,_0x937713;return(_0x937713=(_0x9010cb=this['_handlerCallback'])==null?void 0x0:_0x9010cb[_0x2500cb(0x31b)])==null?void 0x0:_0x937713[_0x2500cb(0x2fa)](_0x9010cb,_0x3d5d63);},_0x29da37[_0x444ffb(0x1f3)]=_0x1fafe1=>{var _0x26e19e=_0x444ffb,_0xdc7cec,_0x572570;return(_0x572570=(_0xdc7cec=this[_0x26e19e(0x201)])==null?void 0x0:_0xdc7cec[_0x26e19e(0x1f3)])==null?void 0x0:_0x572570[_0x26e19e(0x2fa)](_0xdc7cec,_0x1fafe1);},_0x29da37[_0x444ffb(0x371)]=_0x38f004=>{var _0x171739=_0x444ffb,_0x1e756e,_0x2a7abe;return(_0x2a7abe=(_0x1e756e=this[_0x171739(0x201)])==null?void 0x0:_0x1e756e[_0x171739(0x371)])==null?void 0x0:_0x2a7abe[_0x171739(0x2fa)](_0x1e756e,_0x38f004);},_0x29da37[_0x444ffb(0x2f3)]=_0x38dfe4=>{var _0x568a9d=_0x444ffb,_0xb4fbb7,_0x17d321,_0x37dd0e;if(!((_0xb4fbb7=this[_0x568a9d(0x201)])!=null&&_0xb4fbb7[_0x568a9d(0x2f3)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x37dd0e=(_0x17d321=this[_0x568a9d(0x201)])==null?void 0x0:_0x17d321['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x37dd0e[_0x568a9d(0x2fa)](_0x17d321,_0x38dfe4);},_0x29da37[_0x444ffb(0x15b)]=_0x44c943=>{var _0x4faab2=_0x444ffb,_0x57acee,_0x533bc2,_0x310b93;if(!((_0x57acee=this['_handlerCallback'])!=null&&_0x57acee[_0x4faab2(0x15b)]))throw new Error(_0x4faab2(0x187));return(_0x310b93=(_0x533bc2=this[_0x4faab2(0x201)])==null?void 0x0:_0x533bc2[_0x4faab2(0x15b)])==null?void 0x0:_0x310b93[_0x4faab2(0x2fa)](_0x533bc2,_0x44c943);},_0x29da37;}async['_init'](){var _0x1ccd07=_0x2d44ac;const _0x25f071=await super[_0x1ccd07(0x321)]();return this[_0x1ccd07(0x336)](this[_0x1ccd07(0x2be)][_0x1ccd07(0xf7)]((_0x39ded9,_0xc8c97f)=>{var _0x3fc68a=_0x1ccd07;if(_0x39ded9[_0x3fc68a(0x23a)]!==_0x2707f2[_0x3fc68a(0x17d)]||_0xc8c97f!=null&&_0xc8c97f['fromCollab']||_0xc8c97f!=null&&_0xc8c97f[_0x3fc68a(0x32d)]||_0x39ded9['id']===_0x3a517f['id'])return;const _0x2dab80=_0x39ded9[_0x3fc68a(0x2d1)];if((_0x2dab80==null?void 0x0:_0x2dab80[_0x3fc68a(0x153)])!==this[_0x3fc68a(0x1ff)])return;const _0x21f503=_0x39ded9,_0xf01e96=this['_compressMutationService'][_0x3fc68a(0x265)][_0x3fc68a(0x313)](this['_compressMutationService'][_0x3fc68a(0x265)][_0x3fc68a(0x360)]()[_0x3fc68a(0x3ac)])([_0x21f503],null)||[_0x21f503];this[_0x3fc68a(0x36e)](_0xf01e96[0x0]);})),_0x25f071;}};It=Lt([H(0x3,_0x3a18e9(_0x2eed8a)),H(0x4,_0x3a18e9(_0x370cea)),H(0x5,_0x3a18e9(_0x25b15a)),H(0x6,_0x3a18e9(_0x43b8da)),H(0x7,_0x3a18e9(pe)),H(0x8,_0x41bbc0),H(0x9,_0x326da6),H(0xa,_0x1461bf),H(0xb,_0x1f5a13(ht)),H(0xc,_0x1f5a13(J))],It);let Tt=class extends nt{constructor(_0x3d5f32,_0x1fa5af,_0x288384,_0x386dbb,_0x343486,_0x18d0ce,_0x572053,_0x4d20d7,_0x2bc13e,_0x3a6533,_0x524888,_0x541ac1,_0x2d62fe,_0x5c7902){var _0x22f119=_0x2d44ac;super(_0x3d5f32,_0x288384,_0x1fa5af,_0x386dbb,_0x343486,_0x18d0ce,_0x572053,_0x2bc13e,_0x3a6533,_0x524888,_0x541ac1,_0x2d62fe,_0x5c7902),this[_0x22f119(0x1ff)]=_0x3d5f32,this['type']=_0x1fa5af,this[_0x22f119(0x254)]=_0x4d20d7;}[_0x2d44ac(0x286)](){var _0x560048=_0x2d44ac;const _0x1ca1be=super[_0x560048(0x286)]();return _0x1ca1be[_0x560048(0x1f3)]=_0x53a610=>this[_0x560048(0x254)]['transformSelections'](_0x53a610),_0x1ca1be;}async[_0x2d44ac(0x321)](){var _0x394b0e=_0x2d44ac;const _0x450637=await super[_0x394b0e(0x321)]();return this[_0x394b0e(0x336)](this['_commandService'][_0x394b0e(0xf7)]((_0x24e7be,_0x575359)=>{var _0x5f27c1=_0x394b0e;if(_0x24e7be[_0x5f27c1(0x23a)]!==_0x2707f2[_0x5f27c1(0x17d)]||_0x575359!=null&&_0x575359[_0x5f27c1(0x1ac)]||_0x575359!=null&&_0x575359['onlyLocal'])return;const _0x3c85d1=_0x24e7be[_0x5f27c1(0x2d1)];if((_0x3c85d1==null?void 0x0:_0x3c85d1['unitId'])!==this[_0x5f27c1(0x1ff)])return;const _0x4342f3=_0x24e7be,_0x99ea5c=this['_compressMutationService'][_0x5f27c1(0x265)][_0x5f27c1(0x313)](this[_0x5f27c1(0x228)]['interceptor']['getInterceptPoints']()[_0x5f27c1(0x3ac)])([_0x4342f3],null)||[_0x4342f3];this[_0x5f27c1(0x36e)](_0x99ea5c[0x0]);})),_0x450637;}};Tt=Lt([H(0x3,_0x3a18e9(_0x2eed8a)),H(0x4,_0x3a18e9(_0x370cea)),H(0x5,_0x3a18e9(_0x25b15a)),H(0x6,_0x3a18e9(_0x43b8da)),H(0x7,_0x3a18e9(it)),H(0x8,_0x3a18e9(pe)),H(0x9,_0x41bbc0),H(0xa,_0x326da6),H(0xb,_0x1461bf),H(0xc,_0x1f5a13(ht)),H(0xd,_0x1f5a13(J))],Tt);var os=Object[_0x2d44ac(0x2a3)],cs=(_0x47a44a,_0x43ee92,_0x17674d,_0x864d8)=>{var _0x1f60bc=_0x2d44ac;for(var _0xde10cf=_0x864d8>0x1?void 0x0:_0x864d8?os(_0x43ee92,_0x17674d):_0x43ee92,_0x4f57c8=_0x47a44a[_0x1f60bc(0x1cc)]-0x1,_0x2153fe;_0x4f57c8>=0x0;_0x4f57c8--)(_0x2153fe=_0x47a44a[_0x4f57c8])&&(_0xde10cf=_0x2153fe(_0xde10cf)||_0xde10cf);return _0xde10cf;},ft=(_0x46b888,_0x3f405f)=>(_0x4f7046,_0x41b53f)=>_0x3f405f(_0x4f7046,_0x41b53f,_0x46b888);let st=class extends _0x2f9470{constructor(_0x3bd0f2,_0xb372b2,_0x4badba){var _0x51acdf=_0x2d44ac;super(),N(this,'_entities',new Map()),N(this,_0x51acdf(0x103),new _0x42e7d7()),N(this,_0x51acdf(0x3a1),this[_0x51acdf(0x103)][_0x51acdf(0x2f1)]()),(this[_0x51acdf(0x3d2)]=_0x3bd0f2,this['_collabSessionService']=_0xb372b2,this['_univerInstanceService']=_0x4badba,this[_0x51acdf(0x321)]());}[_0x2d44ac(0x141)](){var _0x483ccb=_0x2d44ac;super[_0x483ccb(0x141)](),this[_0x483ccb(0x1df)][_0x483ccb(0x2ea)](_0x38cfa7=>_0x38cfa7[_0x483ccb(0x141)]()),this[_0x483ccb(0x1df)][_0x483ccb(0x3b4)]();}['getCollabEntity'](_0x4db4e5){var _0x59d6ad=_0x2d44ac,_0x7e6d6e;return(_0x7e6d6e=this[_0x59d6ad(0x1df)][_0x59d6ad(0x215)](_0x4db4e5))!=null?_0x7e6d6e:null;}[_0x2d44ac(0x188)](_0x4b21ff){var _0x104fc7=_0x2d44ac;const _0x5ed8c9=this[_0x104fc7(0x27d)](_0x4b21ff);return _0x5ed8c9?_0x324682(_0x5ed8c9):this['_entityInit$'][_0x104fc7(0x11e)](_0x24719a(_0x5afb8a=>_0x5afb8a['unitID']===_0x4b21ff));}[_0x2d44ac(0x1fb)](_0x292570){var _0x1a9b54=_0x2d44ac;return _0x5039fe(this[_0x1a9b54(0x188)](_0x292570)[_0x1a9b54(0x11e)](_0x4fc619(()=>{})));}[_0x2d44ac(0x321)](){var _0x1f4797=_0x2d44ac;this[_0x1f4797(0x3f5)][_0x1f4797(0x283)](_0x34ccd3[_0x1f4797(0x39a)])[_0x1f4797(0x11e)](_0x4906df(this[_0x1f4797(0x115)]),_0x291475(0x10))['subscribe'](async _0x40b0b9=>{var _0x38cf62=_0x1f4797;const _0x3eb602=_0x40b0b9[_0x38cf62(0x29c)](),_0x407d5d=await this['_startCollaboration'](_0x3eb602,Q[_0x38cf62(0x39a)]);this[_0x38cf62(0x1df)][_0x38cf62(0x2d2)](_0x3eb602,_0x407d5d);}),this[_0x1f4797(0x3f5)]['getTypeOfUnitAdded$'](_0x34ccd3['UNIVER_DOC'])[_0x1f4797(0x11e)](_0x4906df(this[_0x1f4797(0x115)]),_0x291475(0x10))[_0x1f4797(0x11e)](_0x24719a(_0x3f6a07=>!_0x3f6a07[_0x1f4797(0x29c)]()[_0x1f4797(0x359)]('__')))[_0x1f4797(0x128)](async _0x2c2014=>{var _0x569aee=_0x1f4797;const _0x47aa35=_0x2c2014[_0x569aee(0x29c)](),_0x4e2c97=await this[_0x569aee(0x12b)](_0x47aa35,Q[_0x569aee(0x3f8)]);this[_0x569aee(0x1df)][_0x569aee(0x2d2)](_0x47aa35,_0x4e2c97);}),_0x5ac85e(this[_0x1f4797(0x3f5)]['getTypeOfUnitDisposed$'](_0x34ccd3[_0x1f4797(0x39a)]),this['_univerInstanceService'][_0x1f4797(0x14e)](_0x34ccd3[_0x1f4797(0x3f8)]))[_0x1f4797(0x11e)](_0x4906df(this[_0x1f4797(0x115)]))[_0x1f4797(0x128)](_0x592e35=>{var _0x55e5b3=_0x1f4797;const _0x3b67ec=_0x592e35[_0x55e5b3(0x29c)](),_0x187270=this['_entities']['get'](_0x3b67ec);_0x187270&&(_0x187270[_0x55e5b3(0x141)](),this[_0x55e5b3(0x1df)][_0x55e5b3(0x318)](_0x3b67ec));});}async[_0x2d44ac(0x12b)](_0xa10e16,_0x19030e){var _0xbe3e68=_0x2d44ac;const _0x213701=await this[_0xbe3e68(0x2bf)]['requireSession'](_0xa10e16),_0x427e24=this[_0xbe3e68(0x3d2)][_0xbe3e68(0x22e)](this[_0xbe3e68(0x149)](_0x19030e),_0xa10e16,_0x19030e,_0x213701);return await _0x427e24[_0xbe3e68(0x16b)](),this[_0xbe3e68(0x103)][_0xbe3e68(0x26e)](_0x427e24),_0x427e24;}[_0x2d44ac(0x149)](_0x47925a){switch(_0x47925a){case Q['UNIVER_DOC']:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x47925a);}}};st=cs([ft(0x0,_0x3a18e9(_0x2eed8a)),ft(0x1,_0x3a18e9(Me)),ft(0x2,_0x2e2ca3)],st);var hs=Object[_0x2d44ac(0x2a3)],_s=(_0x3a19f5,_0x29cbda,_0x3e1768,_0x10913f)=>{var _0x30ed3d=_0x2d44ac;for(var _0x4ea937=_0x10913f>0x1?void 0x0:_0x10913f?hs(_0x29cbda,_0x3e1768):_0x29cbda,_0x5effbf=_0x3a19f5[_0x30ed3d(0x1cc)]-0x1,_0x52119a;_0x5effbf>=0x0;_0x5effbf--)(_0x52119a=_0x3a19f5[_0x5effbf])&&(_0x4ea937=_0x52119a(_0x4ea937)||_0x4ea937);return _0x4ea937;},zt=(_0x324e92,_0x5e257c)=>(_0x34351f,_0x4d0806)=>_0x5e257c(_0x34351f,_0x4d0806,_0x324e92);const ls=_0x2d44ac(0x1c0),us=_0x2d44ac(0x11c);let Ct=class extends _0x50932a{constructor(_0x299981,_0x17f187){super(),this['_univerInstanceService']=_0x299981,this['_configService']=_0x17f187,this['_init']();}[_0x2d44ac(0x321)](){var _0x498d68=_0x2d44ac;this[_0x498d68(0x336)](this[_0x498d68(0x3f5)][_0x498d68(0x2e2)][_0x498d68(0x128)](()=>{var _0x2e053c=_0x498d68,_0x51955b;const _0x545e51=this[_0x2e053c(0x3f5)][_0x2e053c(0x21f)]();let _0x3846cc=(_0x51955b=this[_0x2e053c(0x375)][_0x2e053c(0x3fc)](ls))!=null?_0x51955b:us;_0x545e51 instanceof _0x433510&&(_0x3846cc=_0x545e51[_0x2e053c(0x1bc)]),document[_0x2e053c(0x2cb)]=_0x3846cc;}));}};Ct=_s([zt(0x0,_0x2e2ca3),zt(0x1,_0x462043)],Ct);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x32a36c,_0x449dc5,_0x2c5cd7,_0x5ca3fe)=>{for(var _0x4eb45d=_0x5ca3fe>0x1?void 0x0:_0x5ca3fe?ds(_0x449dc5,_0x2c5cd7):_0x449dc5,_0xaee7bc=_0x32a36c['length']-0x1,_0x4f100d;_0xaee7bc>=0x0;_0xaee7bc--)(_0x4f100d=_0x32a36c[_0xaee7bc])&&(_0x4eb45d=_0x4f100d(_0x4eb45d)||_0x4eb45d);return _0x4eb45d;},vt=(_0x197c80,_0x302b90)=>(_0x1f9274,_0xa7ce3e)=>_0x302b90(_0x1f9274,_0xa7ce3e,_0x197c80);let rt=class{constructor(_0x55a6ae,_0x458cef,_0x696796){var _0x4b0df4=_0x2d44ac;this['_configService']=_0x55a6ae,this[_0x4b0df4(0x35c)]=_0x458cef,this[_0x4b0df4(0x129)]=_0x696796,this[_0x4b0df4(0x16b)]();}['init'](){var _0x23d78b=_0x2d44ac;this[_0x23d78b(0x35c)][_0x23d78b(0x206)]({'priority':0x1,'interceptor':(_0x1fc39e,_0x11fef3)=>_0x11fef3(_0x1fc39e)['pipe'](_0x4b76a7(async _0x139ee5=>{var _0x29d57a=_0x23d78b;const _0x34e927=_0x139ee5;if(_0x34e927[_0x29d57a(0x389)]===0x191){if(typeof window>'u')throw new Error(_0x29d57a(0x312));if(window[_0x29d57a(0x329)](this[_0x29d57a(0x129)]['t'](_0x29d57a(0x193)))){const _0x3b8983=window[_0x29d57a(0x3a2)](window['location'][_0x29d57a(0x14d)]);window['location'][_0x29d57a(0x14d)]=this[_0x29d57a(0x3ff)]()+_0x29d57a(0x2f5)+_0x3b8983;}}return _0x34e927;}))});}[_0x2d44ac(0x3ff)](){var _0x396183=_0x2d44ac,_0x26e75f,_0x553d5e;const _0x14d0fd=this[_0x396183(0x375)]['getConfig'](Un),_0x2f71fc=this[_0x396183(0x375)]['getConfig'](q);return(_0x553d5e=(_0x26e75f=_0x2f71fc==null?void 0x0:_0x2f71fc[_0x396183(0x281)])!=null?_0x26e75f:_0x14d0fd)!=null?_0x553d5e:An;}};rt=fs([vt(0x0,_0x462043),vt(0x1,_0x3a18e9(_0x477870)),vt(0x2,_0x3a18e9(_0x25b15a))],rt);var vs=Object[_0x2d44ac(0x2a3)],ps=(_0x5c19ed,_0x7437d8,_0x183234,_0x4c8150)=>{var _0x14d545=_0x2d44ac;for(var _0x5a84b0=_0x4c8150>0x1?void 0x0:_0x4c8150?vs(_0x7437d8,_0x183234):_0x7437d8,_0x51a68f=_0x5c19ed[_0x14d545(0x1cc)]-0x1,_0x24c298;_0x51a68f>=0x0;_0x51a68f--)(_0x24c298=_0x5c19ed[_0x51a68f])&&(_0x5a84b0=_0x24c298(_0x5a84b0)||_0x5a84b0);return _0x5a84b0;},Jt=(_0x33aee7,_0xbae78d)=>(_0x5cebee,_0x38dc9c)=>_0xbae78d(_0x5cebee,_0x38dc9c,_0x33aee7);const Ni='AUTHZ_URL_KEY',ms='/universer-api/authz';let Rt=class extends _0x50932a{constructor(_0x12963e,_0x528394){var _0x358f09=_0x2d44ac;super(),this[_0x358f09(0x292)]=_0x12963e,this[_0x358f09(0x375)]=_0x528394,this[_0x358f09(0x3a3)]();}[_0x2d44ac(0x3a3)](){var _0x1acc9e=_0x2d44ac;const _0x143c01=this;this['disposeWithMe'](this[_0x1acc9e(0x292)][_0x1acc9e(0x206)]({'priority':0x3e7,'interceptor':_0x8b4ced({'isMatch'(_0x1baa8b){var _0x56e83d=_0x1acc9e,_0x42fe24;if(_0x1baa8b[_0x56e83d(0x290)]===_0x56e83d(0x373)&&((_0x42fe24=_0x1baa8b['requestParams'])!=null&&_0x42fe24['body'])){const {objectID:_0x2c285c,objectType:_0x13983f}=_0x1baa8b[_0x56e83d(0x1a2)][_0x56e83d(0x302)]||{};if(!_0x2c285c||_0x13983f===void 0x0)return!0x1;const _0x4a5099=_0x143c01[_0x56e83d(0x14c)]()+'/'+_0x13983f+_0x56e83d(0x315)+_0x2c285c+_0x56e83d(0x32a);if(_0x1baa8b[_0x56e83d(0x33f)]===_0x4a5099)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1b58e4){var _0x5b7c8a=_0x1acc9e,_0x5cfd95;return(_0x5cfd95=_0x1b58e4[_0x5b7c8a(0x1a2)])==null?void 0x0:_0x5cfd95[_0x5b7c8a(0x302)];},'mergeParamsToRequest'(_0x44e6ba,_0x43aabf){var _0x4bf8ed=_0x1acc9e;const _0x1b46a5=_0x143c01[_0x4bf8ed(0x14c)]()+_0x4bf8ed(0x2ae),_0x32f9ad=_0x44e6ba[_0x4bf8ed(0x11d)]((_0x38f265,_0x46146d)=>{var _0xceecd7=_0x4bf8ed;const {unitID:_0x1185cd,objectID:_0x1e4275,objectType:_0x3c1266,actions:_0x29a4eb}=_0x46146d;return _0x38f265[_0x1185cd]||(_0x38f265[_0x1185cd]={}),_0x38f265[_0x1185cd][_0x1e4275]||(_0x38f265[_0x1185cd][_0x1e4275]={'objectID':_0x1e4275,'objectType':_0x3c1266,'actions':[]}),_0x38f265[_0x1185cd][_0x1e4275][_0xceecd7(0x211)][_0xceecd7(0x2ad)](..._0x29a4eb),_0x38f265;},{}),_0x2436de=[];for(const _0x13446e in _0x32f9ad)for(const _0x16af40 in _0x32f9ad[_0x13446e]){const {actions:_0x4e3b2,objectType:_0x26788e}=_0x32f9ad[_0x13446e][_0x16af40],_0x290700=[...new Set(_0x4e3b2)];_0x2436de[_0x4bf8ed(0x2ad)]({'unitID':_0x13446e,'objectID':_0x16af40,'objectType':_0x26788e,'actions':_0x290700});}return new _0x5235ed(_0x4bf8ed(0x373),_0x1b46a5,{'headers':_0x43aabf[_0x4bf8ed(0x259)],'withCredentials':_0x43aabf[_0x4bf8ed(0x140)],'responseType':_0x43aabf[_0x4bf8ed(0x39b)],'body':{'requests':_0x2436de}});}},{'distributeResult'(_0xe707ea,_0x8d81f2){var _0x63c827=_0x1acc9e;const {objectActions:_0x1de3bf}=_0xe707ea;return _0x8d81f2[_0x63c827(0x1fa)](_0x49e469=>{var _0x19c162=_0x63c827;const {unitID:_0x1c1cc9,objectID:_0x42e0f6,actions:_0xded836}=_0x49e469,_0x12e31d=_0x1de3bf[_0x19c162(0x21a)](_0x36a3af=>_0x36a3af['unitID']===_0x1c1cc9&&_0x36a3af[_0x19c162(0x1a0)]===_0x42e0f6),_0x319240=_0xded836['map'](_0x167474=>_0x12e31d==null?void 0x0:_0x12e31d[_0x19c162(0x211)][_0x19c162(0x21a)](_0x57395d=>_0x57395d[_0x19c162(0x1d1)]===_0x167474))[_0x19c162(0x231)](_0x1d96c5=>!!_0x1d96c5);return{'config':_0x49e469,'result':{'actions':_0x319240,'error':_0xe707ea[_0x19c162(0x274)]}};});}})}));}['_getAPIPrefixPath'](){var _0x17e553=_0x2d44ac,_0x205f6f,_0x51d4d6;const _0x82a51b=this[_0x17e553(0x375)][_0x17e553(0x3fc)](Ni),_0x5cc552=this[_0x17e553(0x375)]['getConfig'](q);return(_0x51d4d6=(_0x205f6f=_0x5cc552==null?void 0x0:_0x5cc552[_0x17e553(0x244)])!=null?_0x205f6f:_0x82a51b)!=null?_0x51d4d6:ms;}async[_0x2d44ac(0x1aa)](_0x595407){var _0x28adc3=_0x2d44ac;const _0x100a8e=this[_0x28adc3(0x14c)]()+'/'+_0x595407[_0x28adc3(0x222)]+_0x28adc3(0x1d2);return(await this['_HTTPService'][_0x28adc3(0x3df)](_0x100a8e,{'body':_0x595407}))['body'][_0x28adc3(0x1a0)]||'';}async[_0x2d44ac(0x332)](_0x53a4c5){var _0x33d1dd=_0x2d44ac;const _0x285fd5=this[_0x33d1dd(0x14c)]()+_0x33d1dd(0x20f);return(await this[_0x33d1dd(0x292)][_0x33d1dd(0x3df)](_0x285fd5,{'body':_0x53a4c5}))[_0x33d1dd(0x302)][_0x33d1dd(0x1d4)];}async[_0x2d44ac(0x104)](_0x24848b){var _0x4249d1=_0x2d44ac,_0x905530,_0x360173;const _0xe1b45f=this[_0x4249d1(0x14c)]()+'/'+_0x24848b[_0x4249d1(0x222)]+_0x4249d1(0x315)+_0x24848b['objectID'],_0x3ea8ca=await this[_0x4249d1(0x292)][_0x4249d1(0x2b0)](_0xe1b45f,{'body':_0x24848b});if(((_0x360173=(_0x905530=_0x3ea8ca==null?void 0x0:_0x3ea8ca['body'])==null?void 0x0:_0x905530[_0x4249d1(0x274)])==null?void 0x0:_0x360173[_0x4249d1(0x1ae)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x2d44ac(0x35e)](_0x26a755){var _0x41fdce=_0x2d44ac;const _0x32f21a=this[_0x41fdce(0x14c)]()+'/'+_0x26a755['objectType']+_0x41fdce(0x315)+_0x26a755[_0x41fdce(0x1a0)]+_0x41fdce(0x32a);return(await this['_HTTPService'][_0x41fdce(0x3df)](_0x32f21a,{'body':_0x26a755}))[_0x41fdce(0x302)]['actions'];}async[_0x2d44ac(0x31f)](_0x575d78){var _0x540ddd=_0x2d44ac;const _0x547c3a=this[_0x540ddd(0x14c)]()+'/-/object/-/batch_allowed';return(await this[_0x540ddd(0x292)]['post'](_0x547c3a,{'body':{'requests':_0x575d78}}))['body']['objectActions'];}async[_0x2d44ac(0xfb)](_0x1744fd){var _0x28dccf=_0x2d44ac;const _0x4a1c47=this[_0x28dccf(0x14c)]()+'/'+_0x1744fd[_0x28dccf(0x222)]+'/role',_0x3785f7=await this[_0x28dccf(0x292)]['post'](_0x4a1c47,{'body':_0x1744fd});return{'roles':_0x3785f7[_0x28dccf(0x302)][_0x28dccf(0x342)],'actions':_0x3785f7[_0x28dccf(0x302)][_0x28dccf(0x211)]};}async[_0x2d44ac(0x2fb)](_0x3fcc91){var _0x110855=_0x2d44ac;const _0x4a42b7=this['_getAPIPrefixPath']()+_0x110855(0x305);await this['_HTTPService']['delete'](_0x4a42b7,{'params':{'collaboratorID':_0x3fcc91['collaboratorID'],'objectID':_0x3fcc91['objectID'],'unitID':_0x3fcc91['unitID']}});}async['updateCollaborator'](_0x3767ef){var _0x1e2cf3=_0x2d44ac;const _0x524203=this[_0x1e2cf3(0x14c)]()+_0x1e2cf3(0x305);await this['_HTTPService'][_0x1e2cf3(0x39f)](_0x524203,{'body':_0x3767ef});}async['createCollaborator'](_0x1450c3){var _0x447585=_0x2d44ac;const _0x2aee17=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x447585(0x3df)](_0x2aee17,{'body':_0x1450c3});}async[_0x2d44ac(0x22a)](_0x29516c){var _0x665131=_0x2d44ac;const _0x3432ff=this[_0x665131(0x14c)]()+_0x665131(0x305);return(await this[_0x665131(0x292)][_0x665131(0x215)](_0x3432ff,{'params':{'objectID':_0x29516c[_0x665131(0x1a0)],'unitID':_0x29516c[_0x665131(0x1ff)]}}))[_0x665131(0x302)][_0x665131(0x24b)];}async[_0x2d44ac(0x132)](_0xf00088){var _0x492429=_0x2d44ac;const _0x12538f=this[_0x492429(0x14c)]()+'/collaborator';await this[_0x492429(0x292)][_0x492429(0x2b0)](_0x12538f,{'body':_0xf00088});}};Rt=ps([Jt(0x0,_0x3a18e9(_0x477870)),Jt(0x1,_0x3a18e9(_0x462043))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x2de046){var _0x34367c=_0x2d44ac;return _0x2de046&&_0x2de046[_0x34367c(0x195)]&&Object[_0x34367c(0x1a9)]['hasOwnProperty'][_0x34367c(0x2fa)](_0x2de046,_0x34367c(0x364))?_0x2de046[_0x34367c(0x364)]:_0x2de046;}var Ve={'exports':{}};function gs(_0x25f79a){var _0xe40686=_0x2d44ac;throw new Error(_0xe40686(0x144)+_0x25f79a+_0xe40686(0x200));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x2fdce6,_0x56257c){(function(_0x2855fd,_0x474f89){var _0x107774=_0x39a9;_0x2fdce6[_0x107774(0x1ce)]=_0x474f89();}(Ss,function(){var _0x231d57=_0x231d57||function(_0x2d7441,_0xe5a5a3){var _0x4e7484=_0x39a9,_0x4755f;if(typeof window<'u'&&window['crypto']&&(_0x4755f=window[_0x4e7484(0x268)]),typeof self<'u'&&self[_0x4e7484(0x268)]&&(_0x4755f=self[_0x4e7484(0x268)]),typeof globalThis<'u'&&globalThis[_0x4e7484(0x268)]&&(_0x4755f=globalThis[_0x4e7484(0x268)]),!_0x4755f&&typeof window<'u'&&window['msCrypto']&&(_0x4755f=window['msCrypto']),!_0x4755f&&typeof pt<'u'&&pt[_0x4e7484(0x268)]&&(_0x4755f=pt['crypto']),!_0x4755f&&typeof gs=='function')try{_0x4755f=require(_0x4e7484(0x268));}catch{}var _0x19d82e=function(){var _0xe9fcd=_0x4e7484;if(_0x4755f){if(typeof _0x4755f[_0xe9fcd(0x3d1)]==_0xe9fcd(0xf5))try{return _0x4755f[_0xe9fcd(0x3d1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4755f[_0xe9fcd(0x348)]==_0xe9fcd(0xf5))try{return _0x4755f[_0xe9fcd(0x348)](0x4)[_0xe9fcd(0x25d)]();}catch{}}throw new Error(_0xe9fcd(0x35b));},_0x2e2a34=Object[_0x4e7484(0x1aa)]||(function(){function _0x1b8341(){}return function(_0x2e5e78){var _0xdb02b4=_0x39a9,_0x2358f4;return _0x1b8341[_0xdb02b4(0x1a9)]=_0x2e5e78,_0x2358f4=new _0x1b8341(),_0x1b8341[_0xdb02b4(0x1a9)]=null,_0x2358f4;};}()),_0x419f59={},_0x463a71=_0x419f59[_0x4e7484(0x150)]={},_0x2b544f=_0x463a71[_0x4e7484(0x184)]=(function(){return{'extend':function(_0x44dfcc){var _0x1f5885=_0x39a9,_0x336c0f=_0x2e2a34(this);return _0x44dfcc&&_0x336c0f['mixIn'](_0x44dfcc),(!_0x336c0f['hasOwnProperty'](_0x1f5885(0x16b))||this[_0x1f5885(0x16b)]===_0x336c0f[_0x1f5885(0x16b)])&&(_0x336c0f[_0x1f5885(0x16b)]=function(){var _0x4a60fe=_0x1f5885;_0x336c0f['$super'][_0x4a60fe(0x16b)][_0x4a60fe(0x1d7)](this,arguments);}),_0x336c0f[_0x1f5885(0x16b)][_0x1f5885(0x1a9)]=_0x336c0f,_0x336c0f[_0x1f5885(0x369)]=this,_0x336c0f;},'create':function(){var _0x440857=_0x39a9,_0x22bb51=this['extend']();return _0x22bb51[_0x440857(0x16b)][_0x440857(0x1d7)](_0x22bb51,arguments),_0x22bb51;},'init':function(){},'mixIn':function(_0x1d2f5a){var _0x46bca8=_0x39a9;for(var _0x29854b in _0x1d2f5a)_0x1d2f5a[_0x46bca8(0x169)](_0x29854b)&&(this[_0x29854b]=_0x1d2f5a[_0x29854b]);_0x1d2f5a[_0x46bca8(0x169)](_0x46bca8(0x24e))&&(this[_0x46bca8(0x24e)]=_0x1d2f5a[_0x46bca8(0x24e)]);},'clone':function(){var _0xc5f61d=_0x39a9;return this[_0xc5f61d(0x16b)]['prototype'][_0xc5f61d(0x30f)](this);}};}()),_0x451d8f=_0x463a71['WordArray']=_0x2b544f[_0x4e7484(0x30f)]({'init':function(_0x38552d,_0x503f21){var _0x58d92b=_0x4e7484;_0x38552d=this[_0x58d92b(0x1c1)]=_0x38552d||[],_0x503f21!=_0xe5a5a3?this[_0x58d92b(0x366)]=_0x503f21:this[_0x58d92b(0x366)]=_0x38552d[_0x58d92b(0x1cc)]*0x4;},'toString':function(_0x288293){var _0x2b00de=_0x4e7484;return(_0x288293||_0x258065)[_0x2b00de(0x2f2)](this);},'concat':function(_0x286d68){var _0x3f189c=_0x4e7484,_0x34ea22=this[_0x3f189c(0x1c1)],_0x3cf11c=_0x286d68[_0x3f189c(0x1c1)],_0x375231=this[_0x3f189c(0x366)],_0x107027=_0x286d68['sigBytes'];if(this[_0x3f189c(0x1f2)](),_0x375231%0x4)for(var _0x360418=0x0;_0x360418<_0x107027;_0x360418++){var _0x268a59=_0x3cf11c[_0x360418>>>0x2]>>>0x18-_0x360418%0x4*0x8&0xff;_0x34ea22[_0x375231+_0x360418>>>0x2]|=_0x268a59<<0x18-(_0x375231+_0x360418)%0x4*0x8;}else{for(var _0x16b717=0x0;_0x16b717<_0x107027;_0x16b717+=0x4)_0x34ea22[_0x375231+_0x16b717>>>0x2]=_0x3cf11c[_0x16b717>>>0x2];}return this[_0x3f189c(0x366)]+=_0x107027,this;},'clamp':function(){var _0x763378=_0x4e7484,_0x244c64=this[_0x763378(0x1c1)],_0x3ee0bb=this[_0x763378(0x366)];_0x244c64[_0x3ee0bb>>>0x2]&=0xffffffff<<0x20-_0x3ee0bb%0x4*0x8,_0x244c64[_0x763378(0x1cc)]=_0x2d7441[_0x763378(0x10b)](_0x3ee0bb/0x4);},'clone':function(){var _0x2b6c5e=_0x4e7484,_0x1d3a2d=_0x2b544f[_0x2b6c5e(0x2e9)][_0x2b6c5e(0x2fa)](this);return _0x1d3a2d[_0x2b6c5e(0x1c1)]=this['words'][_0x2b6c5e(0x2ab)](0x0),_0x1d3a2d;},'random':function(_0x410a4d){var _0x73727e=_0x4e7484;for(var _0xf7f2b8=[],_0x29e57b=0x0;_0x29e57b<_0x410a4d;_0x29e57b+=0x4)_0xf7f2b8[_0x73727e(0x2ad)](_0x19d82e());return new _0x451d8f['init'](_0xf7f2b8,_0x410a4d);}}),_0x37fc98=_0x419f59[_0x4e7484(0x2cc)]={},_0x258065=_0x37fc98[_0x4e7484(0x35a)]={'stringify':function(_0x1afb11){var _0x4dc1a3=_0x4e7484;for(var _0x6e6839=_0x1afb11[_0x4dc1a3(0x1c1)],_0x1460be=_0x1afb11[_0x4dc1a3(0x366)],_0x33fe27=[],_0x2b947c=0x0;_0x2b947c<_0x1460be;_0x2b947c++){var _0xa9c476=_0x6e6839[_0x2b947c>>>0x2]>>>0x18-_0x2b947c%0x4*0x8&0xff;_0x33fe27[_0x4dc1a3(0x2ad)]((_0xa9c476>>>0x4)[_0x4dc1a3(0x24e)](0x10)),_0x33fe27[_0x4dc1a3(0x2ad)]((_0xa9c476&0xf)[_0x4dc1a3(0x24e)](0x10));}return _0x33fe27[_0x4dc1a3(0x252)]('');},'parse':function(_0x4c9e42){var _0x519bc1=_0x4e7484;for(var _0x3a7657=_0x4c9e42['length'],_0x2adf64=[],_0x35ae64=0x0;_0x35ae64<_0x3a7657;_0x35ae64+=0x2)_0x2adf64[_0x35ae64>>>0x3]|=parseInt(_0x4c9e42[_0x519bc1(0x2ec)](_0x35ae64,0x2),0x10)<<0x18-_0x35ae64%0x8*0x4;return new _0x451d8f['init'](_0x2adf64,_0x3a7657/0x2);}},_0x26d651=_0x37fc98[_0x4e7484(0x34c)]={'stringify':function(_0x203c37){var _0x2ada58=_0x4e7484;for(var _0x428105=_0x203c37['words'],_0x4a49c7=_0x203c37['sigBytes'],_0x33249e=[],_0x5b9987=0x0;_0x5b9987<_0x4a49c7;_0x5b9987++){var _0x27107f=_0x428105[_0x5b9987>>>0x2]>>>0x18-_0x5b9987%0x4*0x8&0xff;_0x33249e[_0x2ada58(0x2ad)](String[_0x2ada58(0x1b4)](_0x27107f));}return _0x33249e['join']('');},'parse':function(_0x2e0d0d){var _0x2ed4f0=_0x4e7484;for(var _0x14447c=_0x2e0d0d['length'],_0xdf13ad=[],_0x3f7214=0x0;_0x3f7214<_0x14447c;_0x3f7214++)_0xdf13ad[_0x3f7214>>>0x2]|=(_0x2e0d0d['charCodeAt'](_0x3f7214)&0xff)<<0x18-_0x3f7214%0x4*0x8;return new _0x451d8f[(_0x2ed4f0(0x16b))](_0xdf13ad,_0x14447c);}},_0x35fce5=_0x37fc98[_0x4e7484(0x1d8)]={'stringify':function(_0x309f1f){var _0x14bddc=_0x4e7484;try{return decodeURIComponent(escape(_0x26d651[_0x14bddc(0x2f2)](_0x309f1f)));}catch{throw new Error(_0x14bddc(0x23b));}},'parse':function(_0x4ca61b){return _0x26d651['parse'](unescape(encodeURIComponent(_0x4ca61b)));}},_0x8aec87=_0x463a71[_0x4e7484(0x2d4)]=_0x2b544f['extend']({'reset':function(){var _0x217bd3=_0x4e7484;this[_0x217bd3(0x1a6)]=new _0x451d8f[(_0x217bd3(0x16b))](),this[_0x217bd3(0x388)]=0x0;},'_append':function(_0x1faeb2){var _0xef85b4=_0x4e7484;typeof _0x1faeb2==_0xef85b4(0x197)&&(_0x1faeb2=_0x35fce5[_0xef85b4(0x1af)](_0x1faeb2)),this[_0xef85b4(0x1a6)]['concat'](_0x1faeb2),this[_0xef85b4(0x388)]+=_0x1faeb2[_0xef85b4(0x366)];},'_process':function(_0x249ab3){var _0x2c88d5=_0x4e7484,_0x513187,_0x268158=this[_0x2c88d5(0x1a6)],_0x5396f4=_0x268158[_0x2c88d5(0x1c1)],_0x597159=_0x268158[_0x2c88d5(0x366)],_0x55ee26=this[_0x2c88d5(0x3cd)],_0x12129f=_0x55ee26*0x4,_0x300613=_0x597159/_0x12129f;_0x249ab3?_0x300613=_0x2d7441[_0x2c88d5(0x10b)](_0x300613):_0x300613=_0x2d7441[_0x2c88d5(0x121)]((_0x300613|0x0)-this['_minBufferSize'],0x0);var _0x286f0c=_0x300613*_0x55ee26,_0x2e392e=_0x2d7441[_0x2c88d5(0x2f0)](_0x286f0c*0x4,_0x597159);if(_0x286f0c){for(var _0x123d73=0x0;_0x123d73<_0x286f0c;_0x123d73+=_0x55ee26)this[_0x2c88d5(0x12e)](_0x5396f4,_0x123d73);_0x513187=_0x5396f4[_0x2c88d5(0x27a)](0x0,_0x286f0c),_0x268158[_0x2c88d5(0x366)]-=_0x2e392e;}return new _0x451d8f[(_0x2c88d5(0x16b))](_0x513187,_0x2e392e);},'clone':function(){var _0x4d8947=_0x4e7484,_0x3973a3=_0x2b544f[_0x4d8947(0x2e9)][_0x4d8947(0x2fa)](this);return _0x3973a3['_data']=this[_0x4d8947(0x1a6)][_0x4d8947(0x2e9)](),_0x3973a3;},'_minBufferSize':0x0});_0x463a71[_0x4e7484(0x13c)]=_0x8aec87[_0x4e7484(0x30f)]({'cfg':_0x2b544f[_0x4e7484(0x30f)](),'init':function(_0x1f437b){var _0x442e61=_0x4e7484;this[_0x442e61(0x12c)]=this['cfg']['extend'](_0x1f437b),this[_0x442e61(0x26a)]();},'reset':function(){var _0x2d0765=_0x4e7484;_0x8aec87[_0x2d0765(0x26a)]['call'](this),this[_0x2d0765(0x112)]();},'update':function(_0xe5b1ac){var _0x283f63=_0x4e7484;return this['_append'](_0xe5b1ac),this[_0x283f63(0x216)](),this;},'finalize':function(_0x43ac16){var _0x55da25=_0x4e7484;_0x43ac16&&this['_append'](_0x43ac16);var _0x598795=this[_0x55da25(0x2b9)]();return _0x598795;},'blockSize':0x10,'_createHelper':function(_0x276389){return function(_0x398149,_0x32ea62){var _0x6202e0=_0x39a9;return new _0x276389[(_0x6202e0(0x16b))](_0x32ea62)[_0x6202e0(0x3d7)](_0x398149);};},'_createHmacHelper':function(_0x48e74c){return function(_0x267960,_0x3ed782){var _0x42b3dc=_0x39a9;return new _0x5d5b03['HMAC'][(_0x42b3dc(0x16b))](_0x48e74c,_0x3ed782)['finalize'](_0x267960);};}});var _0x5d5b03=_0x419f59[_0x4e7484(0x1e3)]={};return _0x419f59;}(Math);return _0x231d57;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Es=We[_0x2d44ac(0x1ce)],Zt;function Di(){var _0x2156e5=_0x2d44ac;return Zt||(Zt=0x1,function(_0x1e7ee9,_0x3752c6){(function(_0x1d4cde,_0x1cf622){var _0x26fd52=_0x39a9;_0x1e7ee9[_0x26fd52(0x1ce)]=_0x1cf622(ie());}(Es,function(_0x27c19b){var _0x27815d=_0x39a9;return(function(){var _0x18ad99=_0x39a9,_0x29d897=_0x27c19b,_0x5e612d=_0x29d897[_0x18ad99(0x150)],_0xc27576=_0x5e612d[_0x18ad99(0x357)],_0xf4e497=_0x29d897[_0x18ad99(0x2cc)];_0xf4e497[_0x18ad99(0x26c)]={'stringify':function(_0x3725cc){var _0x4948d7=_0x18ad99,_0x537e66=_0x3725cc[_0x4948d7(0x1c1)],_0x1ab0d1=_0x3725cc['sigBytes'],_0x110501=this['_map'];_0x3725cc['clamp']();for(var _0x15e75f=[],_0x5f1eec=0x0;_0x5f1eec<_0x1ab0d1;_0x5f1eec+=0x3)for(var _0x1b051b=_0x537e66[_0x5f1eec>>>0x2]>>>0x18-_0x5f1eec%0x4*0x8&0xff,_0x58ca26=_0x537e66[_0x5f1eec+0x1>>>0x2]>>>0x18-(_0x5f1eec+0x1)%0x4*0x8&0xff,_0x5e5c7f=_0x537e66[_0x5f1eec+0x2>>>0x2]>>>0x18-(_0x5f1eec+0x2)%0x4*0x8&0xff,_0x1c6c3e=_0x1b051b<<0x10|_0x58ca26<<0x8|_0x5e5c7f,_0xc75524=0x0;_0xc75524<0x4&&_0x5f1eec+_0xc75524*0.75<_0x1ab0d1;_0xc75524++)_0x15e75f['push'](_0x110501[_0x4948d7(0x1e7)](_0x1c6c3e>>>0x6*(0x3-_0xc75524)&0x3f));var _0xee387b=_0x110501[_0x4948d7(0x1e7)](0x40);if(_0xee387b){for(;_0x15e75f[_0x4948d7(0x1cc)]%0x4;)_0x15e75f[_0x4948d7(0x2ad)](_0xee387b);}return _0x15e75f[_0x4948d7(0x252)]('');},'parse':function(_0x1a7d7f){var _0x2fbb54=_0x18ad99,_0x14bd0d=_0x1a7d7f[_0x2fbb54(0x1cc)],_0x380d81=this['_map'],_0x1efc71=this['_reverseMap'];if(!_0x1efc71){_0x1efc71=this[_0x2fbb54(0x3c2)]=[];for(var _0x367f87=0x0;_0x367f87<_0x380d81[_0x2fbb54(0x1cc)];_0x367f87++)_0x1efc71[_0x380d81[_0x2fbb54(0x118)](_0x367f87)]=_0x367f87;}var _0x5426a2=_0x380d81[_0x2fbb54(0x1e7)](0x40);if(_0x5426a2){var _0x322043=_0x1a7d7f[_0x2fbb54(0x21e)](_0x5426a2);_0x322043!==-0x1&&(_0x14bd0d=_0x322043);}return _0x247b01(_0x1a7d7f,_0x14bd0d,_0x1efc71);},'_map':_0x18ad99(0x24f)};function _0x247b01(_0x162376,_0xba9b5d,_0x235371){var _0x472212=_0x18ad99;for(var _0x3d201a=[],_0x33a2c8=0x0,_0x233445=0x0;_0x233445<_0xba9b5d;_0x233445++)if(_0x233445%0x4){var _0x54faa5=_0x235371[_0x162376[_0x472212(0x118)](_0x233445-0x1)]<<_0x233445%0x4*0x2,_0xd6f3f5=_0x235371[_0x162376['charCodeAt'](_0x233445)]>>>0x6-_0x233445%0x4*0x2,_0x341a77=_0x54faa5|_0xd6f3f5;_0x3d201a[_0x33a2c8>>>0x2]|=_0x341a77<<0x18-_0x33a2c8%0x4*0x8,_0x33a2c8++;}return _0xc27576['create'](_0x3d201a,_0x33a2c8);}}()),_0x27c19b['enc'][_0x27815d(0x26c)];}));}(We)),We[_0x2156e5(0x1ce)];}var Ye={'exports':{}},Is=Ye[_0x2d44ac(0x1ce)],Qt;function Ts(){var _0x73080e=_0x2d44ac;return Qt||(Qt=0x1,function(_0x3957a5,_0xc5d058){(function(_0x19cf39,_0xca97ac){var _0x1722ae=_0x39a9;_0x3957a5[_0x1722ae(0x1ce)]=_0xca97ac(ie());}(Is,function(_0x1915ee){var _0x23e2e6=_0x39a9;return function(_0x5c21e0){var _0x128b03=_0x39a9,_0x2bdf87=_0x1915ee,_0x100968=_0x2bdf87[_0x128b03(0x150)],_0x5f3a05=_0x100968[_0x128b03(0x357)],_0x446d51=_0x100968['Hasher'],_0x815342=_0x2bdf87[_0x128b03(0x1e3)],_0x33cf7c=[];(function(){var _0x45d4e8=_0x128b03;for(var _0x200ba6=0x0;_0x200ba6<0x40;_0x200ba6++)_0x33cf7c[_0x200ba6]=_0x5c21e0[_0x45d4e8(0x16e)](_0x5c21e0[_0x45d4e8(0x176)](_0x200ba6+0x1))*0x100000000|0x0;}());var _0x39bf56=_0x815342[_0x128b03(0x272)]=_0x446d51[_0x128b03(0x30f)]({'_doReset':function(){var _0x184020=_0x128b03;this[_0x184020(0x34e)]=new _0x5f3a05[(_0x184020(0x16b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xfb601a,_0xf2ea57){var _0x13e599=_0x128b03;for(var _0xf6a58f=0x0;_0xf6a58f<0x10;_0xf6a58f++){var _0x5c7609=_0xf2ea57+_0xf6a58f,_0x181ec5=_0xfb601a[_0x5c7609];_0xfb601a[_0x5c7609]=(_0x181ec5<<0x8|_0x181ec5>>>0x18)&0xff00ff|(_0x181ec5<<0x18|_0x181ec5>>>0x8)&0xff00ff00;}var _0x1b355c=this['_hash'][_0x13e599(0x1c1)],_0x391f59=_0xfb601a[_0xf2ea57+0x0],_0x5113b5=_0xfb601a[_0xf2ea57+0x1],_0x225dd3=_0xfb601a[_0xf2ea57+0x2],_0x5efacd=_0xfb601a[_0xf2ea57+0x3],_0x358f76=_0xfb601a[_0xf2ea57+0x4],_0x3e27cc=_0xfb601a[_0xf2ea57+0x5],_0x32879f=_0xfb601a[_0xf2ea57+0x6],_0x483d83=_0xfb601a[_0xf2ea57+0x7],_0x310dea=_0xfb601a[_0xf2ea57+0x8],_0x370f3c=_0xfb601a[_0xf2ea57+0x9],_0x438f18=_0xfb601a[_0xf2ea57+0xa],_0x42630d=_0xfb601a[_0xf2ea57+0xb],_0x32385c=_0xfb601a[_0xf2ea57+0xc],_0x3d473b=_0xfb601a[_0xf2ea57+0xd],_0x4c45fd=_0xfb601a[_0xf2ea57+0xe],_0x15d827=_0xfb601a[_0xf2ea57+0xf],_0x150336=_0x1b355c[0x0],_0x21dcb5=_0x1b355c[0x1],_0x38ef0d=_0x1b355c[0x2],_0x2450ee=_0x1b355c[0x3];_0x150336=_0x5816aa(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x391f59,0x7,_0x33cf7c[0x0]),_0x2450ee=_0x5816aa(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x5113b5,0xc,_0x33cf7c[0x1]),_0x38ef0d=_0x5816aa(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x225dd3,0x11,_0x33cf7c[0x2]),_0x21dcb5=_0x5816aa(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x5efacd,0x16,_0x33cf7c[0x3]),_0x150336=_0x5816aa(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x358f76,0x7,_0x33cf7c[0x4]),_0x2450ee=_0x5816aa(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x3e27cc,0xc,_0x33cf7c[0x5]),_0x38ef0d=_0x5816aa(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x32879f,0x11,_0x33cf7c[0x6]),_0x21dcb5=_0x5816aa(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x483d83,0x16,_0x33cf7c[0x7]),_0x150336=_0x5816aa(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x310dea,0x7,_0x33cf7c[0x8]),_0x2450ee=_0x5816aa(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x370f3c,0xc,_0x33cf7c[0x9]),_0x38ef0d=_0x5816aa(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x438f18,0x11,_0x33cf7c[0xa]),_0x21dcb5=_0x5816aa(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x42630d,0x16,_0x33cf7c[0xb]),_0x150336=_0x5816aa(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x32385c,0x7,_0x33cf7c[0xc]),_0x2450ee=_0x5816aa(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x3d473b,0xc,_0x33cf7c[0xd]),_0x38ef0d=_0x5816aa(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x4c45fd,0x11,_0x33cf7c[0xe]),_0x21dcb5=_0x5816aa(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x15d827,0x16,_0x33cf7c[0xf]),_0x150336=_0x55eb24(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x5113b5,0x5,_0x33cf7c[0x10]),_0x2450ee=_0x55eb24(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x32879f,0x9,_0x33cf7c[0x11]),_0x38ef0d=_0x55eb24(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x42630d,0xe,_0x33cf7c[0x12]),_0x21dcb5=_0x55eb24(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x391f59,0x14,_0x33cf7c[0x13]),_0x150336=_0x55eb24(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x3e27cc,0x5,_0x33cf7c[0x14]),_0x2450ee=_0x55eb24(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x438f18,0x9,_0x33cf7c[0x15]),_0x38ef0d=_0x55eb24(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x15d827,0xe,_0x33cf7c[0x16]),_0x21dcb5=_0x55eb24(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x358f76,0x14,_0x33cf7c[0x17]),_0x150336=_0x55eb24(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x370f3c,0x5,_0x33cf7c[0x18]),_0x2450ee=_0x55eb24(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x4c45fd,0x9,_0x33cf7c[0x19]),_0x38ef0d=_0x55eb24(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x5efacd,0xe,_0x33cf7c[0x1a]),_0x21dcb5=_0x55eb24(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x310dea,0x14,_0x33cf7c[0x1b]),_0x150336=_0x55eb24(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x3d473b,0x5,_0x33cf7c[0x1c]),_0x2450ee=_0x55eb24(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x225dd3,0x9,_0x33cf7c[0x1d]),_0x38ef0d=_0x55eb24(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x483d83,0xe,_0x33cf7c[0x1e]),_0x21dcb5=_0x55eb24(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x32385c,0x14,_0x33cf7c[0x1f]),_0x150336=_0x15ab23(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x3e27cc,0x4,_0x33cf7c[0x20]),_0x2450ee=_0x15ab23(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x310dea,0xb,_0x33cf7c[0x21]),_0x38ef0d=_0x15ab23(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x42630d,0x10,_0x33cf7c[0x22]),_0x21dcb5=_0x15ab23(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x4c45fd,0x17,_0x33cf7c[0x23]),_0x150336=_0x15ab23(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x5113b5,0x4,_0x33cf7c[0x24]),_0x2450ee=_0x15ab23(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x358f76,0xb,_0x33cf7c[0x25]),_0x38ef0d=_0x15ab23(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x483d83,0x10,_0x33cf7c[0x26]),_0x21dcb5=_0x15ab23(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x438f18,0x17,_0x33cf7c[0x27]),_0x150336=_0x15ab23(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x3d473b,0x4,_0x33cf7c[0x28]),_0x2450ee=_0x15ab23(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x391f59,0xb,_0x33cf7c[0x29]),_0x38ef0d=_0x15ab23(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x5efacd,0x10,_0x33cf7c[0x2a]),_0x21dcb5=_0x15ab23(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x32879f,0x17,_0x33cf7c[0x2b]),_0x150336=_0x15ab23(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x370f3c,0x4,_0x33cf7c[0x2c]),_0x2450ee=_0x15ab23(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x32385c,0xb,_0x33cf7c[0x2d]),_0x38ef0d=_0x15ab23(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x15d827,0x10,_0x33cf7c[0x2e]),_0x21dcb5=_0x15ab23(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x225dd3,0x17,_0x33cf7c[0x2f]),_0x150336=_0x4f91a8(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x391f59,0x6,_0x33cf7c[0x30]),_0x2450ee=_0x4f91a8(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x483d83,0xa,_0x33cf7c[0x31]),_0x38ef0d=_0x4f91a8(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x4c45fd,0xf,_0x33cf7c[0x32]),_0x21dcb5=_0x4f91a8(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x3e27cc,0x15,_0x33cf7c[0x33]),_0x150336=_0x4f91a8(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x32385c,0x6,_0x33cf7c[0x34]),_0x2450ee=_0x4f91a8(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x5efacd,0xa,_0x33cf7c[0x35]),_0x38ef0d=_0x4f91a8(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x438f18,0xf,_0x33cf7c[0x36]),_0x21dcb5=_0x4f91a8(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x5113b5,0x15,_0x33cf7c[0x37]),_0x150336=_0x4f91a8(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x310dea,0x6,_0x33cf7c[0x38]),_0x2450ee=_0x4f91a8(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x15d827,0xa,_0x33cf7c[0x39]),_0x38ef0d=_0x4f91a8(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x32879f,0xf,_0x33cf7c[0x3a]),_0x21dcb5=_0x4f91a8(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x3d473b,0x15,_0x33cf7c[0x3b]),_0x150336=_0x4f91a8(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x358f76,0x6,_0x33cf7c[0x3c]),_0x2450ee=_0x4f91a8(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x42630d,0xa,_0x33cf7c[0x3d]),_0x38ef0d=_0x4f91a8(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x225dd3,0xf,_0x33cf7c[0x3e]),_0x21dcb5=_0x4f91a8(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x370f3c,0x15,_0x33cf7c[0x3f]),_0x1b355c[0x0]=_0x1b355c[0x0]+_0x150336|0x0,_0x1b355c[0x1]=_0x1b355c[0x1]+_0x21dcb5|0x0,_0x1b355c[0x2]=_0x1b355c[0x2]+_0x38ef0d|0x0,_0x1b355c[0x3]=_0x1b355c[0x3]+_0x2450ee|0x0;},'_doFinalize':function(){var _0x5e77a0=_0x128b03,_0x9a85bd=this[_0x5e77a0(0x1a6)],_0x55e96a=_0x9a85bd[_0x5e77a0(0x1c1)],_0x4ce9f1=this['_nDataBytes']*0x8,_0x203858=_0x9a85bd[_0x5e77a0(0x366)]*0x8;_0x55e96a[_0x203858>>>0x5]|=0x80<<0x18-_0x203858%0x20;var _0x283404=_0x5c21e0[_0x5e77a0(0x2e8)](_0x4ce9f1/0x100000000),_0x1f7b26=_0x4ce9f1;_0x55e96a[(_0x203858+0x40>>>0x9<<0x4)+0xf]=(_0x283404<<0x8|_0x283404>>>0x18)&0xff00ff|(_0x283404<<0x18|_0x283404>>>0x8)&0xff00ff00,_0x55e96a[(_0x203858+0x40>>>0x9<<0x4)+0xe]=(_0x1f7b26<<0x8|_0x1f7b26>>>0x18)&0xff00ff|(_0x1f7b26<<0x18|_0x1f7b26>>>0x8)&0xff00ff00,_0x9a85bd[_0x5e77a0(0x366)]=(_0x55e96a[_0x5e77a0(0x1cc)]+0x1)*0x4,this[_0x5e77a0(0x216)]();for(var _0x35f236=this['_hash'],_0x1ec512=_0x35f236[_0x5e77a0(0x1c1)],_0x426a92=0x0;_0x426a92<0x4;_0x426a92++){var _0x211c98=_0x1ec512[_0x426a92];_0x1ec512[_0x426a92]=(_0x211c98<<0x8|_0x211c98>>>0x18)&0xff00ff|(_0x211c98<<0x18|_0x211c98>>>0x8)&0xff00ff00;}return _0x35f236;},'clone':function(){var _0x2f6998=_0x128b03,_0x3658a7=_0x446d51[_0x2f6998(0x2e9)]['call'](this);return _0x3658a7[_0x2f6998(0x34e)]=this[_0x2f6998(0x34e)]['clone'](),_0x3658a7;}});function _0x5816aa(_0x415e4c,_0x495d49,_0x5c6788,_0x4b45bb,_0x49c670,_0x439633,_0x11043b){var _0x3fdf9a=_0x415e4c+(_0x495d49&_0x5c6788|~_0x495d49&_0x4b45bb)+_0x49c670+_0x11043b;return(_0x3fdf9a<<_0x439633|_0x3fdf9a>>>0x20-_0x439633)+_0x495d49;}function _0x55eb24(_0x25b31d,_0x327bdc,_0xcddc8e,_0x586122,_0xf37880,_0x558e5c,_0xbcad46){var _0x250b86=_0x25b31d+(_0x327bdc&_0x586122|_0xcddc8e&~_0x586122)+_0xf37880+_0xbcad46;return(_0x250b86<<_0x558e5c|_0x250b86>>>0x20-_0x558e5c)+_0x327bdc;}function _0x15ab23(_0xa32dd5,_0x48aaed,_0x2dfaf9,_0x193b92,_0x55dd82,_0x29fe6c,_0x531d43){var _0x216a75=_0xa32dd5+(_0x48aaed^_0x2dfaf9^_0x193b92)+_0x55dd82+_0x531d43;return(_0x216a75<<_0x29fe6c|_0x216a75>>>0x20-_0x29fe6c)+_0x48aaed;}function _0x4f91a8(_0x7129f1,_0x517e52,_0x6eb173,_0x5de188,_0x474c0e,_0x3a2623,_0x4d8975){var _0x2948a5=_0x7129f1+(_0x6eb173^(_0x517e52|~_0x5de188))+_0x474c0e+_0x4d8975;return(_0x2948a5<<_0x3a2623|_0x2948a5>>>0x20-_0x3a2623)+_0x517e52;}_0x2bdf87['MD5']=_0x446d51[_0x128b03(0x3b5)](_0x39bf56),_0x2bdf87[_0x128b03(0x273)]=_0x446d51['_createHmacHelper'](_0x39bf56);}(Math),_0x1915ee[_0x23e2e6(0x272)];}));}(Ye)),Ye[_0x73080e(0x1ce)];}var Ke={'exports':{}},qe={'exports':{}},Cs=qe['exports'],ei;function Rs(){var _0x3dad85=_0x2d44ac;return ei||(ei=0x1,function(_0x4fc37d,_0x4fd78f){(function(_0x236b33,_0xfd2b04){var _0x1df671=_0x39a9;_0x4fc37d[_0x1df671(0x1ce)]=_0xfd2b04(ie());}(Cs,function(_0x12c855){return(function(){var _0x202aac=_0x39a9,_0x35e2e6=_0x12c855,_0x322ea9=_0x35e2e6[_0x202aac(0x150)],_0x14018e=_0x322ea9[_0x202aac(0x357)],_0x4d9e03=_0x322ea9[_0x202aac(0x13c)],_0x50f687=_0x35e2e6[_0x202aac(0x1e3)],_0x3da21b=[],_0x3df4f6=_0x50f687[_0x202aac(0x277)]=_0x4d9e03['extend']({'_doReset':function(){this['_hash']=new _0x14018e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3f6964,_0x4cdbf8){var _0x114eb9=_0x202aac;for(var _0x215dfb=this[_0x114eb9(0x34e)][_0x114eb9(0x1c1)],_0x8f7a40=_0x215dfb[0x0],_0x3f77f2=_0x215dfb[0x1],_0x31d3bc=_0x215dfb[0x2],_0x191b91=_0x215dfb[0x3],_0xd2b463=_0x215dfb[0x4],_0x411c97=0x0;_0x411c97<0x50;_0x411c97++){if(_0x411c97<0x10)_0x3da21b[_0x411c97]=_0x3f6964[_0x4cdbf8+_0x411c97]|0x0;else{var _0x47374f=_0x3da21b[_0x411c97-0x3]^_0x3da21b[_0x411c97-0x8]^_0x3da21b[_0x411c97-0xe]^_0x3da21b[_0x411c97-0x10];_0x3da21b[_0x411c97]=_0x47374f<<0x1|_0x47374f>>>0x1f;}var _0xb38e3d=(_0x8f7a40<<0x5|_0x8f7a40>>>0x1b)+_0xd2b463+_0x3da21b[_0x411c97];_0x411c97<0x14?_0xb38e3d+=(_0x3f77f2&_0x31d3bc|~_0x3f77f2&_0x191b91)+0x5a827999:_0x411c97<0x28?_0xb38e3d+=(_0x3f77f2^_0x31d3bc^_0x191b91)+0x6ed9eba1:_0x411c97<0x3c?_0xb38e3d+=(_0x3f77f2&_0x31d3bc|_0x3f77f2&_0x191b91|_0x31d3bc&_0x191b91)-0x70e44324:_0xb38e3d+=(_0x3f77f2^_0x31d3bc^_0x191b91)-0x359d3e2a,_0xd2b463=_0x191b91,_0x191b91=_0x31d3bc,_0x31d3bc=_0x3f77f2<<0x1e|_0x3f77f2>>>0x2,_0x3f77f2=_0x8f7a40,_0x8f7a40=_0xb38e3d;}_0x215dfb[0x0]=_0x215dfb[0x0]+_0x8f7a40|0x0,_0x215dfb[0x1]=_0x215dfb[0x1]+_0x3f77f2|0x0,_0x215dfb[0x2]=_0x215dfb[0x2]+_0x31d3bc|0x0,_0x215dfb[0x3]=_0x215dfb[0x3]+_0x191b91|0x0,_0x215dfb[0x4]=_0x215dfb[0x4]+_0xd2b463|0x0;},'_doFinalize':function(){var _0x49a09c=_0x202aac,_0x562e8f=this['_data'],_0x4e717d=_0x562e8f['words'],_0x4fd9c6=this[_0x49a09c(0x388)]*0x8,_0x5c72fc=_0x562e8f[_0x49a09c(0x366)]*0x8;return _0x4e717d[_0x5c72fc>>>0x5]|=0x80<<0x18-_0x5c72fc%0x20,_0x4e717d[(_0x5c72fc+0x40>>>0x9<<0x4)+0xe]=Math[_0x49a09c(0x2e8)](_0x4fd9c6/0x100000000),_0x4e717d[(_0x5c72fc+0x40>>>0x9<<0x4)+0xf]=_0x4fd9c6,_0x562e8f[_0x49a09c(0x366)]=_0x4e717d[_0x49a09c(0x1cc)]*0x4,this[_0x49a09c(0x216)](),this[_0x49a09c(0x34e)];},'clone':function(){var _0x22a500=_0x202aac,_0x34d733=_0x4d9e03[_0x22a500(0x2e9)][_0x22a500(0x2fa)](this);return _0x34d733[_0x22a500(0x34e)]=this[_0x22a500(0x34e)]['clone'](),_0x34d733;}});_0x35e2e6[_0x202aac(0x277)]=_0x4d9e03['_createHelper'](_0x3df4f6),_0x35e2e6['HmacSHA1']=_0x4d9e03[_0x202aac(0x209)](_0x3df4f6);}()),_0x12c855['SHA1'];}));}(qe)),qe[_0x3dad85(0x1ce)];}var ze={'exports':{}},bs=ze['exports'],ti;function Os(){var _0x5770c6=_0x2d44ac;return ti||(ti=0x1,function(_0x46be58,_0x2b36c3){(function(_0x1d8152,_0x44a25f){var _0x20f276=_0x39a9;_0x46be58[_0x20f276(0x1ce)]=_0x44a25f(ie());}(bs,function(_0x5370a2){(function(){var _0x16c384=_0x39a9,_0xde3b5=_0x5370a2,_0x47ed7c=_0xde3b5['lib'],_0x1020f8=_0x47ed7c[_0x16c384(0x184)],_0x1fcddd=_0xde3b5[_0x16c384(0x2cc)],_0x3da8e3=_0x1fcddd[_0x16c384(0x1d8)],_0x253aa4=_0xde3b5[_0x16c384(0x1e3)];_0x253aa4[_0x16c384(0x323)]=_0x1020f8[_0x16c384(0x30f)]({'init':function(_0x29ccd9,_0x3cd0f3){var _0x3797e9=_0x16c384;_0x29ccd9=this[_0x3797e9(0x1ba)]=new _0x29ccd9[(_0x3797e9(0x16b))](),typeof _0x3cd0f3==_0x3797e9(0x197)&&(_0x3cd0f3=_0x3da8e3[_0x3797e9(0x1af)](_0x3cd0f3));var _0x426fc7=_0x29ccd9[_0x3797e9(0x3cd)],_0x4f0418=_0x426fc7*0x4;_0x3cd0f3['sigBytes']>_0x4f0418&&(_0x3cd0f3=_0x29ccd9[_0x3797e9(0x3d7)](_0x3cd0f3)),_0x3cd0f3[_0x3797e9(0x1f2)]();for(var _0x1909d7=this[_0x3797e9(0x2cf)]=_0x3cd0f3['clone'](),_0x1a7655=this[_0x3797e9(0x1d3)]=_0x3cd0f3[_0x3797e9(0x2e9)](),_0x564f34=_0x1909d7[_0x3797e9(0x1c1)],_0x5a276d=_0x1a7655[_0x3797e9(0x1c1)],_0x39160f=0x0;_0x39160f<_0x426fc7;_0x39160f++)_0x564f34[_0x39160f]^=0x5c5c5c5c,_0x5a276d[_0x39160f]^=0x36363636;_0x1909d7['sigBytes']=_0x1a7655[_0x3797e9(0x366)]=_0x4f0418,this['reset']();},'reset':function(){var _0x1433e1=_0x16c384,_0x2e5a7b=this['_hasher'];_0x2e5a7b[_0x1433e1(0x26a)](),_0x2e5a7b[_0x1433e1(0x104)](this[_0x1433e1(0x1d3)]);},'update':function(_0xfe4593){return this['_hasher']['update'](_0xfe4593),this;},'finalize':function(_0x464b55){var _0x3f5915=_0x16c384,_0x49a21e=this[_0x3f5915(0x1ba)],_0x2a311=_0x49a21e[_0x3f5915(0x3d7)](_0x464b55);_0x49a21e['reset']();var _0x4d2b0e=_0x49a21e[_0x3f5915(0x3d7)](this[_0x3f5915(0x2cf)][_0x3f5915(0x2e9)]()[_0x3f5915(0x21c)](_0x2a311));return _0x4d2b0e;}});}());}));}(ze)),ze[_0x5770c6(0x1ce)];}var ys=Ke[_0x2d44ac(0x1ce)],ii;function Ui(){return ii||(ii=0x1,function(_0x5036e6,_0x135d37){(function(_0x126c06,_0x438f62,_0x1bb1c5){var _0x365428=_0x39a9;_0x5036e6[_0x365428(0x1ce)]=_0x438f62(ie(),Rs(),Os());}(ys,function(_0x120e58){var _0x2f5568=_0x39a9;return(function(){var _0x2390fd=_0x39a9,_0x20ac7e=_0x120e58,_0x2f6b7a=_0x20ac7e['lib'],_0x19324c=_0x2f6b7a[_0x2390fd(0x184)],_0x146774=_0x2f6b7a[_0x2390fd(0x357)],_0x2b5c70=_0x20ac7e[_0x2390fd(0x1e3)],_0x349e4f=_0x2b5c70[_0x2390fd(0x272)],_0x39fbe8=_0x2b5c70['EvpKDF']=_0x19324c[_0x2390fd(0x30f)]({'cfg':_0x19324c['extend']({'keySize':0x80/0x20,'hasher':_0x349e4f,'iterations':0x1}),'init':function(_0x33d956){var _0x52ba02=_0x2390fd;this[_0x52ba02(0x12c)]=this[_0x52ba02(0x12c)][_0x52ba02(0x30f)](_0x33d956);},'compute':function(_0x8c3d61,_0x36826b){var _0x3b5997=_0x2390fd;for(var _0x4c5939,_0x975bba=this['cfg'],_0x103b2f=_0x975bba[_0x3b5997(0x25f)][_0x3b5997(0x1aa)](),_0xc6ea2f=_0x146774['create'](),_0x51ac1a=_0xc6ea2f[_0x3b5997(0x1c1)],_0xe4fa4d=_0x975bba[_0x3b5997(0x10f)],_0x103fa1=_0x975bba[_0x3b5997(0x29d)];_0x51ac1a['length']<_0xe4fa4d;){_0x4c5939&&_0x103b2f[_0x3b5997(0x104)](_0x4c5939),_0x4c5939=_0x103b2f[_0x3b5997(0x104)](_0x8c3d61)['finalize'](_0x36826b),_0x103b2f[_0x3b5997(0x26a)]();for(var _0x17b6aa=0x1;_0x17b6aa<_0x103fa1;_0x17b6aa++)_0x4c5939=_0x103b2f[_0x3b5997(0x3d7)](_0x4c5939),_0x103b2f['reset']();_0xc6ea2f[_0x3b5997(0x21c)](_0x4c5939);}return _0xc6ea2f[_0x3b5997(0x366)]=_0xe4fa4d*0x4,_0xc6ea2f;}});_0x20ac7e['EvpKDF']=function(_0x470023,_0x1091d8,_0x4f86cf){var _0x2b400c=_0x2390fd;return _0x39fbe8[_0x2b400c(0x1aa)](_0x4f86cf)['compute'](_0x470023,_0x1091d8);};}()),_0x120e58[_0x2f5568(0x224)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x2cb256=_0x2d44ac;return ni||(ni=0x1,function(_0x503b35,_0x42c999){(function(_0x4b8975,_0x39d366,_0x1589ce){var _0x425179=_0x39a9;_0x503b35[_0x425179(0x1ce)]=_0x39d366(ie(),Ui());}(Ns,function(_0x2864a7){var _0x2b634a=_0x39a9;_0x2864a7[_0x2b634a(0x150)][_0x2b634a(0x2a1)]||function(_0x11a8f0){var _0x383221=_0x2b634a,_0x53c96c=_0x2864a7,_0x49391a=_0x53c96c[_0x383221(0x150)],_0x24f432=_0x49391a['Base'],_0x4bf10a=_0x49391a['WordArray'],_0x3eeaa9=_0x49391a['BufferedBlockAlgorithm'],_0x35b259=_0x53c96c[_0x383221(0x2cc)];_0x35b259['Utf8'];var _0x55b418=_0x35b259[_0x383221(0x26c)],_0x34d4d6=_0x53c96c[_0x383221(0x1e3)],_0x14cc32=_0x34d4d6[_0x383221(0x224)],_0x5d9273=_0x49391a[_0x383221(0x2a1)]=_0x3eeaa9[_0x383221(0x30f)]({'cfg':_0x24f432[_0x383221(0x30f)](),'createEncryptor':function(_0x5b1097,_0x4b546d){var _0x8f9623=_0x383221;return this['create'](this[_0x8f9623(0x238)],_0x5b1097,_0x4b546d);},'createDecryptor':function(_0x3ae815,_0x25cdc5){var _0x13171d=_0x383221;return this['create'](this[_0x13171d(0x2e7)],_0x3ae815,_0x25cdc5);},'init':function(_0x18fc95,_0x5a0e99,_0x19d846){var _0xd42d1f=_0x383221;this[_0xd42d1f(0x12c)]=this[_0xd42d1f(0x12c)][_0xd42d1f(0x30f)](_0x19d846),this[_0xd42d1f(0x1e8)]=_0x18fc95,this['_key']=_0x5a0e99,this[_0xd42d1f(0x26a)]();},'reset':function(){var _0x377d37=_0x383221;_0x3eeaa9[_0x377d37(0x26a)][_0x377d37(0x2fa)](this),this[_0x377d37(0x112)]();},'process':function(_0x55ea81){var _0x4d588e=_0x383221;return this[_0x4d588e(0x2c3)](_0x55ea81),this[_0x4d588e(0x216)]();},'finalize':function(_0x5a5192){var _0x47cac8=_0x383221;_0x5a5192&&this[_0x47cac8(0x2c3)](_0x5a5192);var _0x2e0a3e=this[_0x47cac8(0x2b9)]();return _0x2e0a3e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x189fd5(_0x46023b){var _0x293084=_0x39a9;return typeof _0x46023b==_0x293084(0x197)?_0x308690:_0x17e8bb;}return function(_0x508b65){return{'encrypt':function(_0x13dc66,_0x11e4df,_0x45f9a2){return _0x189fd5(_0x11e4df)['encrypt'](_0x508b65,_0x13dc66,_0x11e4df,_0x45f9a2);},'decrypt':function(_0x592cb8,_0x27e69e,_0x5a1b02){var _0x3b6a6b=_0x39a9;return _0x189fd5(_0x27e69e)[_0x3b6a6b(0xfa)](_0x508b65,_0x592cb8,_0x27e69e,_0x5a1b02);}};};}())});_0x49391a[_0x383221(0x3c7)]=_0x5d9273[_0x383221(0x30f)]({'_doFinalize':function(){var _0x50269d=this['_process'](!0x0);return _0x50269d;},'blockSize':0x1});var _0x49a616=_0x53c96c['mode']={},_0x110882=_0x49391a[_0x383221(0x218)]=_0x24f432[_0x383221(0x30f)]({'createEncryptor':function(_0x59c3ba,_0x5cd5de){var _0x5e427e=_0x383221;return this[_0x5e427e(0x2d6)]['create'](_0x59c3ba,_0x5cd5de);},'createDecryptor':function(_0x317783,_0x5a7bfc){var _0xf2e733=_0x383221;return this['Decryptor'][_0xf2e733(0x1aa)](_0x317783,_0x5a7bfc);},'init':function(_0x4e0596,_0x1a4776){var _0x35d539=_0x383221;this['_cipher']=_0x4e0596,this[_0x35d539(0x2c7)]=_0x1a4776;}}),_0x4c989e=_0x49a616[_0x383221(0x227)]=(function(){var _0x5ca59d=_0x383221,_0x43b166=_0x110882[_0x5ca59d(0x30f)]();_0x43b166[_0x5ca59d(0x2d6)]=_0x43b166[_0x5ca59d(0x30f)]({'processBlock':function(_0x21e213,_0xac064c){var _0x51c135=_0x5ca59d,_0x989c9a=this[_0x51c135(0x400)],_0x12d1c4=_0x989c9a[_0x51c135(0x3cd)];_0xfad47d['call'](this,_0x21e213,_0xac064c,_0x12d1c4),_0x989c9a['encryptBlock'](_0x21e213,_0xac064c),this[_0x51c135(0x1b0)]=_0x21e213['slice'](_0xac064c,_0xac064c+_0x12d1c4);}}),_0x43b166[_0x5ca59d(0x36d)]=_0x43b166['extend']({'processBlock':function(_0x5022d4,_0x58f6ca){var _0xc75139=_0x5ca59d,_0x58e418=this[_0xc75139(0x400)],_0x5c6ae7=_0x58e418[_0xc75139(0x3cd)],_0x321b0c=_0x5022d4['slice'](_0x58f6ca,_0x58f6ca+_0x5c6ae7);_0x58e418[_0xc75139(0x214)](_0x5022d4,_0x58f6ca),_0xfad47d[_0xc75139(0x2fa)](this,_0x5022d4,_0x58f6ca,_0x5c6ae7),this[_0xc75139(0x1b0)]=_0x321b0c;}});function _0xfad47d(_0x5c5619,_0x25abb9,_0x2082ea){var _0x3985b4=_0x5ca59d,_0x5b9aac,_0x28eee1=this[_0x3985b4(0x2c7)];_0x28eee1?(_0x5b9aac=_0x28eee1,this[_0x3985b4(0x2c7)]=_0x11a8f0):_0x5b9aac=this['_prevBlock'];for(var _0x56a87d=0x0;_0x56a87d<_0x2082ea;_0x56a87d++)_0x5c5619[_0x25abb9+_0x56a87d]^=_0x5b9aac[_0x56a87d];}return _0x43b166;}()),_0x2cecfa=_0x53c96c[_0x383221(0x2e6)]={},_0x311fbe=_0x2cecfa[_0x383221(0x168)]={'pad':function(_0x460cfc,_0x354a45){var _0xb66f32=_0x383221;for(var _0x515d75=_0x354a45*0x4,_0x2a0e26=_0x515d75-_0x460cfc['sigBytes']%_0x515d75,_0x35ac23=_0x2a0e26<<0x18|_0x2a0e26<<0x10|_0x2a0e26<<0x8|_0x2a0e26,_0x300a2d=[],_0x5a48c6=0x0;_0x5a48c6<_0x2a0e26;_0x5a48c6+=0x4)_0x300a2d[_0xb66f32(0x2ad)](_0x35ac23);var _0x42f41a=_0x4bf10a[_0xb66f32(0x1aa)](_0x300a2d,_0x2a0e26);_0x460cfc['concat'](_0x42f41a);},'unpad':function(_0x3e3924){var _0x204414=_0x383221,_0x5c9a70=_0x3e3924[_0x204414(0x1c1)][_0x3e3924[_0x204414(0x366)]-0x1>>>0x2]&0xff;_0x3e3924['sigBytes']-=_0x5c9a70;}};_0x49391a[_0x383221(0x1e0)]=_0x5d9273[_0x383221(0x30f)]({'cfg':_0x5d9273[_0x383221(0x12c)][_0x383221(0x30f)]({'mode':_0x4c989e,'padding':_0x311fbe}),'reset':function(){var _0x9f9a78=_0x383221,_0x57f6de;_0x5d9273[_0x9f9a78(0x26a)][_0x9f9a78(0x2fa)](this);var _0x2e1990=this['cfg'],_0x4a5a19=_0x2e1990['iv'],_0x3ab788=_0x2e1990[_0x9f9a78(0x106)];this['_xformMode']==this[_0x9f9a78(0x238)]?_0x57f6de=_0x3ab788[_0x9f9a78(0x3b6)]:(_0x57f6de=_0x3ab788[_0x9f9a78(0x148)],this[_0x9f9a78(0x3ae)]=0x1),this[_0x9f9a78(0x1de)]&&this[_0x9f9a78(0x1de)][_0x9f9a78(0x3f9)]==_0x57f6de?this[_0x9f9a78(0x1de)][_0x9f9a78(0x16b)](this,_0x4a5a19&&_0x4a5a19[_0x9f9a78(0x1c1)]):(this['_mode']=_0x57f6de[_0x9f9a78(0x2fa)](_0x3ab788,this,_0x4a5a19&&_0x4a5a19['words']),this[_0x9f9a78(0x1de)][_0x9f9a78(0x3f9)]=_0x57f6de);},'_doProcessBlock':function(_0x54c53f,_0x163430){var _0x20f2a3=_0x383221;this[_0x20f2a3(0x1de)][_0x20f2a3(0x32e)](_0x54c53f,_0x163430);},'_doFinalize':function(){var _0x5040e3=_0x383221,_0x237683,_0x1d330e=this['cfg']['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x1d330e[_0x5040e3(0x2e6)](this[_0x5040e3(0x1a6)],this[_0x5040e3(0x3cd)]),_0x237683=this[_0x5040e3(0x216)](!0x0)):(_0x237683=this[_0x5040e3(0x216)](!0x0),_0x1d330e['unpad'](_0x237683)),_0x237683;},'blockSize':0x80/0x20});var _0x32aef4=_0x49391a[_0x383221(0x15a)]=_0x24f432[_0x383221(0x30f)]({'init':function(_0x47e977){var _0x4fb222=_0x383221;this[_0x4fb222(0x397)](_0x47e977);},'toString':function(_0x297d33){return(_0x297d33||this['formatter'])['stringify'](this);}}),_0x314628=_0x53c96c['format']={},_0x5dd66d=_0x314628[_0x383221(0x3be)]={'stringify':function(_0x3d16b1){var _0x158ddc=_0x383221,_0xcd78f0,_0x13fd31=_0x3d16b1['ciphertext'],_0x24535d=_0x3d16b1[_0x158ddc(0x34d)];return _0x24535d?_0xcd78f0=_0x4bf10a['create']([0x53616c74,0x65645f5f])['concat'](_0x24535d)[_0x158ddc(0x21c)](_0x13fd31):_0xcd78f0=_0x13fd31,_0xcd78f0[_0x158ddc(0x24e)](_0x55b418);},'parse':function(_0x3660bd){var _0xfba371=_0x383221,_0x2dee31,_0x12d59a=_0x55b418['parse'](_0x3660bd),_0x192b32=_0x12d59a[_0xfba371(0x1c1)];return _0x192b32[0x0]==0x53616c74&&_0x192b32[0x1]==0x65645f5f&&(_0x2dee31=_0x4bf10a[_0xfba371(0x1aa)](_0x192b32[_0xfba371(0x2ab)](0x2,0x4)),_0x192b32[_0xfba371(0x27a)](0x0,0x4),_0x12d59a[_0xfba371(0x366)]-=0x10),_0x32aef4['create']({'ciphertext':_0x12d59a,'salt':_0x2dee31});}},_0x17e8bb=_0x49391a[_0x383221(0x37f)]=_0x24f432[_0x383221(0x30f)]({'cfg':_0x24f432['extend']({'format':_0x5dd66d}),'encrypt':function(_0x16375c,_0x42fd54,_0x281745,_0xe5ee96){var _0x1384da=_0x383221;_0xe5ee96=this[_0x1384da(0x12c)][_0x1384da(0x30f)](_0xe5ee96);var _0x28d0b1=_0x16375c['createEncryptor'](_0x281745,_0xe5ee96),_0x3d2f56=_0x28d0b1[_0x1384da(0x3d7)](_0x42fd54),_0x492494=_0x28d0b1[_0x1384da(0x12c)];return _0x32aef4[_0x1384da(0x1aa)]({'ciphertext':_0x3d2f56,'key':_0x281745,'iv':_0x492494['iv'],'algorithm':_0x16375c,'mode':_0x492494[_0x1384da(0x106)],'padding':_0x492494['padding'],'blockSize':_0x16375c[_0x1384da(0x3cd)],'formatter':_0xe5ee96[_0x1384da(0x1b6)]});},'decrypt':function(_0x5646d1,_0xfef9c3,_0x2a54c5,_0x3c391d){var _0x181d88=_0x383221;_0x3c391d=this[_0x181d88(0x12c)]['extend'](_0x3c391d),_0xfef9c3=this['_parse'](_0xfef9c3,_0x3c391d[_0x181d88(0x1b6)]);var _0x6e609d=_0x5646d1['createDecryptor'](_0x2a54c5,_0x3c391d)[_0x181d88(0x3d7)](_0xfef9c3[_0x181d88(0x334)]);return _0x6e609d;},'_parse':function(_0xafd983,_0x23e4f7){var _0x3dce12=_0x383221;return typeof _0xafd983==_0x3dce12(0x197)?_0x23e4f7['parse'](_0xafd983,this):_0xafd983;}}),_0x2041b0=_0x53c96c[_0x383221(0x16f)]={},_0x124bd1=_0x2041b0[_0x383221(0x3be)]={'execute':function(_0x4ad5a1,_0x4de067,_0x953cd4,_0x4424fa,_0xf58ce7){var _0x274635=_0x383221;if(_0x4424fa||(_0x4424fa=_0x4bf10a[_0x274635(0x325)](0x40/0x8)),_0xf58ce7)var _0x5dc628=_0x14cc32[_0x274635(0x1aa)]({'keySize':_0x4de067+_0x953cd4,'hasher':_0xf58ce7})['compute'](_0x4ad5a1,_0x4424fa);else var _0x5dc628=_0x14cc32[_0x274635(0x1aa)]({'keySize':_0x4de067+_0x953cd4})[_0x274635(0x27f)](_0x4ad5a1,_0x4424fa);var _0x1224ae=_0x4bf10a[_0x274635(0x1aa)](_0x5dc628[_0x274635(0x1c1)]['slice'](_0x4de067),_0x953cd4*0x4);return _0x5dc628[_0x274635(0x366)]=_0x4de067*0x4,_0x32aef4[_0x274635(0x1aa)]({'key':_0x5dc628,'iv':_0x1224ae,'salt':_0x4424fa});}},_0x308690=_0x49391a[_0x383221(0x306)]=_0x17e8bb['extend']({'cfg':_0x17e8bb['cfg']['extend']({'kdf':_0x124bd1}),'encrypt':function(_0x2468b5,_0x2d16e3,_0x4ac934,_0x19e3cf){var _0x367984=_0x383221;_0x19e3cf=this['cfg'][_0x367984(0x30f)](_0x19e3cf);var _0x5824cb=_0x19e3cf['kdf'][_0x367984(0x14b)](_0x4ac934,_0x2468b5[_0x367984(0x10f)],_0x2468b5[_0x367984(0x3a5)],_0x19e3cf[_0x367984(0x34d)],_0x19e3cf[_0x367984(0x25f)]);_0x19e3cf['iv']=_0x5824cb['iv'];var _0x30ebec=_0x17e8bb[_0x367984(0x3ed)]['call'](this,_0x2468b5,_0x2d16e3,_0x5824cb[_0x367984(0x37e)],_0x19e3cf);return _0x30ebec[_0x367984(0x397)](_0x5824cb),_0x30ebec;},'decrypt':function(_0x1d4d20,_0xf536c3,_0xb0ebb0,_0x213102){var _0x43e6b2=_0x383221;_0x213102=this[_0x43e6b2(0x12c)][_0x43e6b2(0x30f)](_0x213102),_0xf536c3=this[_0x43e6b2(0x123)](_0xf536c3,_0x213102['format']);var _0x5e42b3=_0x213102['kdf']['execute'](_0xb0ebb0,_0x1d4d20[_0x43e6b2(0x10f)],_0x1d4d20[_0x43e6b2(0x3a5)],_0xf536c3[_0x43e6b2(0x34d)],_0x213102[_0x43e6b2(0x25f)]);_0x213102['iv']=_0x5e42b3['iv'];var _0x14f8a2=_0x17e8bb[_0x43e6b2(0xfa)][_0x43e6b2(0x2fa)](this,_0x1d4d20,_0xf536c3,_0x5e42b3[_0x43e6b2(0x37e)],_0x213102);return _0x14f8a2;}});}();}));}(Je)),Je[_0x2cb256(0x1ce)];}var Ds=Ve[_0x2d44ac(0x1ce)],si;function Us(){var _0x3de37e=_0x2d44ac;return si||(si=0x1,function(_0x5e5af0,_0x388bd7){(function(_0x9f7791,_0x2300d7,_0x37baee){var _0x482198=_0x39a9;_0x5e5af0[_0x482198(0x1ce)]=_0x2300d7(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x56ae0d){var _0xbe79f8=_0x39a9;return(function(){var _0x535c84=_0x39a9,_0x29acee=_0x56ae0d,_0x152d61=_0x29acee[_0x535c84(0x150)],_0x2b2db4=_0x152d61[_0x535c84(0x1e0)],_0x3cd29c=_0x29acee[_0x535c84(0x1e3)],_0x3343be=[],_0x2342c5=[],_0xfff8a=[],_0x25d4ea=[],_0x3faf9c=[],_0x439e7b=[],_0x5505d2=[],_0x1bc599=[],_0x5dbe3f=[],_0x5347bc=[];(function(){for(var _0x570cfd=[],_0x44f3f9=0x0;_0x44f3f9<0x100;_0x44f3f9++)_0x44f3f9<0x80?_0x570cfd[_0x44f3f9]=_0x44f3f9<<0x1:_0x570cfd[_0x44f3f9]=_0x44f3f9<<0x1^0x11b;for(var _0x16e839=0x0,_0x23cc37=0x0,_0x44f3f9=0x0;_0x44f3f9<0x100;_0x44f3f9++){var _0x5bae27=_0x23cc37^_0x23cc37<<0x1^_0x23cc37<<0x2^_0x23cc37<<0x3^_0x23cc37<<0x4;_0x5bae27=_0x5bae27>>>0x8^_0x5bae27&0xff^0x63,_0x3343be[_0x16e839]=_0x5bae27,_0x2342c5[_0x5bae27]=_0x16e839;var _0x3221ae=_0x570cfd[_0x16e839],_0x3f5433=_0x570cfd[_0x3221ae],_0x45b316=_0x570cfd[_0x3f5433],_0x28f480=_0x570cfd[_0x5bae27]*0x101^_0x5bae27*0x1010100;_0xfff8a[_0x16e839]=_0x28f480<<0x18|_0x28f480>>>0x8,_0x25d4ea[_0x16e839]=_0x28f480<<0x10|_0x28f480>>>0x10,_0x3faf9c[_0x16e839]=_0x28f480<<0x8|_0x28f480>>>0x18,_0x439e7b[_0x16e839]=_0x28f480;var _0x28f480=_0x45b316*0x1010101^_0x3f5433*0x10001^_0x3221ae*0x101^_0x16e839*0x1010100;_0x5505d2[_0x5bae27]=_0x28f480<<0x18|_0x28f480>>>0x8,_0x1bc599[_0x5bae27]=_0x28f480<<0x10|_0x28f480>>>0x10,_0x5dbe3f[_0x5bae27]=_0x28f480<<0x8|_0x28f480>>>0x18,_0x5347bc[_0x5bae27]=_0x28f480,_0x16e839?(_0x16e839=_0x3221ae^_0x570cfd[_0x570cfd[_0x570cfd[_0x45b316^_0x3221ae]]],_0x23cc37^=_0x570cfd[_0x570cfd[_0x23cc37]]):_0x16e839=_0x23cc37=0x1;}}());var _0x52c7ba=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30961c=_0x3cd29c[_0x535c84(0x182)]=_0x2b2db4[_0x535c84(0x30f)]({'_doReset':function(){var _0x4fc048=_0x535c84,_0x446d8a;if(!(this[_0x4fc048(0x266)]&&this[_0x4fc048(0x213)]===this[_0x4fc048(0x205)])){for(var _0x32ff24=this[_0x4fc048(0x213)]=this['_key'],_0x2e486e=_0x32ff24[_0x4fc048(0x1c1)],_0x461bf4=_0x32ff24['sigBytes']/0x4,_0x22bd8b=this['_nRounds']=_0x461bf4+0x6,_0x3113a6=(_0x22bd8b+0x1)*0x4,_0x3f6283=this[_0x4fc048(0x19c)]=[],_0x71c638=0x0;_0x71c638<_0x3113a6;_0x71c638++)_0x71c638<_0x461bf4?_0x3f6283[_0x71c638]=_0x2e486e[_0x71c638]:(_0x446d8a=_0x3f6283[_0x71c638-0x1],_0x71c638%_0x461bf4?_0x461bf4>0x6&&_0x71c638%_0x461bf4==0x4&&(_0x446d8a=_0x3343be[_0x446d8a>>>0x18]<<0x18|_0x3343be[_0x446d8a>>>0x10&0xff]<<0x10|_0x3343be[_0x446d8a>>>0x8&0xff]<<0x8|_0x3343be[_0x446d8a&0xff]):(_0x446d8a=_0x446d8a<<0x8|_0x446d8a>>>0x18,_0x446d8a=_0x3343be[_0x446d8a>>>0x18]<<0x18|_0x3343be[_0x446d8a>>>0x10&0xff]<<0x10|_0x3343be[_0x446d8a>>>0x8&0xff]<<0x8|_0x3343be[_0x446d8a&0xff],_0x446d8a^=_0x52c7ba[_0x71c638/_0x461bf4|0x0]<<0x18),_0x3f6283[_0x71c638]=_0x3f6283[_0x71c638-_0x461bf4]^_0x446d8a);for(var _0x15dec2=this[_0x4fc048(0x3e5)]=[],_0x2de7be=0x0;_0x2de7be<_0x3113a6;_0x2de7be++){var _0x71c638=_0x3113a6-_0x2de7be;if(_0x2de7be%0x4)var _0x446d8a=_0x3f6283[_0x71c638];else var _0x446d8a=_0x3f6283[_0x71c638-0x4];_0x2de7be<0x4||_0x71c638<=0x4?_0x15dec2[_0x2de7be]=_0x446d8a:_0x15dec2[_0x2de7be]=_0x5505d2[_0x3343be[_0x446d8a>>>0x18]]^_0x1bc599[_0x3343be[_0x446d8a>>>0x10&0xff]]^_0x5dbe3f[_0x3343be[_0x446d8a>>>0x8&0xff]]^_0x5347bc[_0x3343be[_0x446d8a&0xff]];}}},'encryptBlock':function(_0x18addb,_0x137581){var _0x2326ae=_0x535c84;this[_0x2326ae(0x3e2)](_0x18addb,_0x137581,this[_0x2326ae(0x19c)],_0xfff8a,_0x25d4ea,_0x3faf9c,_0x439e7b,_0x3343be);},'decryptBlock':function(_0x30d28f,_0x2fff6d){var _0x394d45=_0x535c84,_0xe837bb=_0x30d28f[_0x2fff6d+0x1];_0x30d28f[_0x2fff6d+0x1]=_0x30d28f[_0x2fff6d+0x3],_0x30d28f[_0x2fff6d+0x3]=_0xe837bb,this[_0x394d45(0x3e2)](_0x30d28f,_0x2fff6d,this['_invKeySchedule'],_0x5505d2,_0x1bc599,_0x5dbe3f,_0x5347bc,_0x2342c5);var _0xe837bb=_0x30d28f[_0x2fff6d+0x1];_0x30d28f[_0x2fff6d+0x1]=_0x30d28f[_0x2fff6d+0x3],_0x30d28f[_0x2fff6d+0x3]=_0xe837bb;},'_doCryptBlock':function(_0x3a520f,_0x6b8f61,_0x32c38f,_0x23750c,_0x7cba89,_0x357d0e,_0x47c440,_0x1a7537){var _0x1c2207=_0x535c84;for(var _0x5e97f4=this[_0x1c2207(0x266)],_0x2c6efa=_0x3a520f[_0x6b8f61]^_0x32c38f[0x0],_0x2913f5=_0x3a520f[_0x6b8f61+0x1]^_0x32c38f[0x1],_0x39acd6=_0x3a520f[_0x6b8f61+0x2]^_0x32c38f[0x2],_0x4ef6ff=_0x3a520f[_0x6b8f61+0x3]^_0x32c38f[0x3],_0x3a148c=0x4,_0x3be6aa=0x1;_0x3be6aa<_0x5e97f4;_0x3be6aa++){var _0x204b37=_0x23750c[_0x2c6efa>>>0x18]^_0x7cba89[_0x2913f5>>>0x10&0xff]^_0x357d0e[_0x39acd6>>>0x8&0xff]^_0x47c440[_0x4ef6ff&0xff]^_0x32c38f[_0x3a148c++],_0x1d28dd=_0x23750c[_0x2913f5>>>0x18]^_0x7cba89[_0x39acd6>>>0x10&0xff]^_0x357d0e[_0x4ef6ff>>>0x8&0xff]^_0x47c440[_0x2c6efa&0xff]^_0x32c38f[_0x3a148c++],_0x49e424=_0x23750c[_0x39acd6>>>0x18]^_0x7cba89[_0x4ef6ff>>>0x10&0xff]^_0x357d0e[_0x2c6efa>>>0x8&0xff]^_0x47c440[_0x2913f5&0xff]^_0x32c38f[_0x3a148c++],_0x10b895=_0x23750c[_0x4ef6ff>>>0x18]^_0x7cba89[_0x2c6efa>>>0x10&0xff]^_0x357d0e[_0x2913f5>>>0x8&0xff]^_0x47c440[_0x39acd6&0xff]^_0x32c38f[_0x3a148c++];_0x2c6efa=_0x204b37,_0x2913f5=_0x1d28dd,_0x39acd6=_0x49e424,_0x4ef6ff=_0x10b895;}var _0x204b37=(_0x1a7537[_0x2c6efa>>>0x18]<<0x18|_0x1a7537[_0x2913f5>>>0x10&0xff]<<0x10|_0x1a7537[_0x39acd6>>>0x8&0xff]<<0x8|_0x1a7537[_0x4ef6ff&0xff])^_0x32c38f[_0x3a148c++],_0x1d28dd=(_0x1a7537[_0x2913f5>>>0x18]<<0x18|_0x1a7537[_0x39acd6>>>0x10&0xff]<<0x10|_0x1a7537[_0x4ef6ff>>>0x8&0xff]<<0x8|_0x1a7537[_0x2c6efa&0xff])^_0x32c38f[_0x3a148c++],_0x49e424=(_0x1a7537[_0x39acd6>>>0x18]<<0x18|_0x1a7537[_0x4ef6ff>>>0x10&0xff]<<0x10|_0x1a7537[_0x2c6efa>>>0x8&0xff]<<0x8|_0x1a7537[_0x2913f5&0xff])^_0x32c38f[_0x3a148c++],_0x10b895=(_0x1a7537[_0x4ef6ff>>>0x18]<<0x18|_0x1a7537[_0x2c6efa>>>0x10&0xff]<<0x10|_0x1a7537[_0x2913f5>>>0x8&0xff]<<0x8|_0x1a7537[_0x39acd6&0xff])^_0x32c38f[_0x3a148c++];_0x3a520f[_0x6b8f61]=_0x204b37,_0x3a520f[_0x6b8f61+0x1]=_0x1d28dd,_0x3a520f[_0x6b8f61+0x2]=_0x49e424,_0x3a520f[_0x6b8f61+0x3]=_0x10b895;},'keySize':0x100/0x20});_0x29acee[_0x535c84(0x182)]=_0x2b2db4[_0x535c84(0x3b5)](_0x30961c);}()),_0x56ae0d[_0xbe79f8(0x182)];}));}(Ve)),Ve[_0x3de37e(0x1ce)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function Ms(){return ai||(ai=0x1,function(_0x122c3d,_0x3be8a2){(function(_0x262bfb,_0x212d2e){var _0x194407=_0x39a9;_0x122c3d[_0x194407(0x1ce)]=_0x212d2e(ie());}(Ls,function(_0x5651a6){var _0x33d708=_0x39a9;return _0x5651a6[_0x33d708(0x2cc)][_0x33d708(0x1d8)];}));}(Xe)),Xe['exports'];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze[_0x2d44ac(0x1ce)],oi;function Hs(){var _0x10f707=_0x2d44ac;return oi||(oi=0x1,function(_0x110430,_0x3dc5ad){(function(_0x59cc46,_0x2f96a2){var _0x2900f8=_0x39a9;_0x110430[_0x2900f8(0x1ce)]=_0x2f96a2(ie());}($s,function(_0x584f0f){var _0xc82670=_0x39a9;return(function(){var _0x112a21=_0x39a9;if(typeof ArrayBuffer==_0x112a21(0xf5)){var _0x241e49=_0x584f0f,_0x5a63c8=_0x241e49['lib'],_0x1df093=_0x5a63c8[_0x112a21(0x357)],_0x4dca42=_0x1df093['init'],_0x307d64=_0x1df093['init']=function(_0x32d88a){var _0x1ef24c=_0x112a21;if(_0x32d88a instanceof ArrayBuffer&&(_0x32d88a=new Uint8Array(_0x32d88a)),(_0x32d88a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x32d88a instanceof Uint8ClampedArray||_0x32d88a instanceof Int16Array||_0x32d88a instanceof Uint16Array||_0x32d88a instanceof Int32Array||_0x32d88a instanceof Uint32Array||_0x32d88a instanceof Float32Array||_0x32d88a instanceof Float64Array)&&(_0x32d88a=new Uint8Array(_0x32d88a[_0x1ef24c(0x28f)],_0x32d88a[_0x1ef24c(0x361)],_0x32d88a[_0x1ef24c(0x33b)])),_0x32d88a instanceof Uint8Array){for(var _0x28cdb4=_0x32d88a['byteLength'],_0x1c3e81=[],_0x41de5e=0x0;_0x41de5e<_0x28cdb4;_0x41de5e++)_0x1c3e81[_0x41de5e>>>0x2]|=_0x32d88a[_0x41de5e]<<0x18-_0x41de5e%0x4*0x8;_0x4dca42['call'](this,_0x1c3e81,_0x28cdb4);}else _0x4dca42[_0x1ef24c(0x1d7)](this,arguments);};_0x307d64[_0x112a21(0x1a9)]=_0x1df093;}}()),_0x584f0f[_0xc82670(0x150)][_0xc82670(0x357)];}));}(Ze)),Ze[_0x10f707(0x1ce)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x2d44ac(0x1ce)],ci;function Vs(){var _0x8724c=_0x2d44ac;return ci||(ci=0x1,function(_0x23eefe,_0x302209){(function(_0x2ee6fd,_0x28c612,_0x3a4a84){var _0x374270=_0x39a9;_0x23eefe[_0x374270(0x1ce)]=_0x28c612(ie(),Ai());}(Fs,function(_0x17fb1c){var _0x1e2e63=_0x39a9;return _0x17fb1c[_0x1e2e63(0x2e6)][_0x1e2e63(0x21b)]={'pad':function(){},'unpad':function(){}},_0x17fb1c[_0x1e2e63(0x2e6)]['NoPadding'];}));}(Qe)),Qe[_0x8724c(0x1ce)];}function _0x393f(){var _0x1c4747=['put','YUUMI_RATE_OVER_LIMIT','_shouldReportTelemetry','enableSingleActiveInstanceLock','LEAVE','univer-pro.collaboration-client-socket-service','_getCurrentRevision','save\x20fail\x20reason\x20is\x20','EMAIL_HAS_BEEN_BOUND','_doFinalize','_substituteRedoStack','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','3932420ggIEcW','defineProperty','_commandService','_collabSessionService','startTime','_members$','APPLY_REVISION_CONFILICT','_append','GLOBAL_ROOMS_CNT_EXCEEDS','awaitingChangeset','_userManagerService','_iv','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','JOIN','COMMENT_UPDATE','title','enc','image/jpg','_onConflict','_oKey','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','params','set','_createSocket','BufferedBlockAlgorithm','HEARTBEAT_TIMEOUT','Encryptor','/unit/','transformMutationsWithChangeset','SOCKET_FAILED','cmd','NOT_COLLAB','getValue','_fetchMissChangesets','FileId','_clearRedo','_joinRoom','_getUndoStack','focused$','workbook','_queuedRemoteChangesets','OFFLINE','pad','_DEC_XFORM_MODE','floor','clone','forEach','_undoRedoService','substr','_transformRemoteChangesetByIMECache','_changesetReqId','LIVESHARE_TERMINATE','min','asObservable','stringify','onTransformRemoteChangesetByIMECache','session.room-not-exists','?url=','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/universer-api/oidc/authpage','LIVESHARE_OPERATION','deepClone','call','deleteCollaborator','_resendTimer','_onRecvEvent','_retryCount','event$','result','onMissedChangesetFetched','body','catch','_transformUndoredo','/collaborator','PasswordBasedCipher','APPLY_REJECT','INVALID_ARGUMENT','_localeService','status$','TOO_MANY_REQUESTS','error$','YUUMI_NO_CUBOID_FOR_QUESTION','LOGIN_FAILED','extend','LICENSE_MAX_UNITS_EXCEEDED','has','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','fetchThroughInterceptors','[CollaborationUndoRedoService]','/object/','_socket$','getRoom','delete','COLLAB_WEB_SOCKET_URL','includes','onTransformState','collaboration-client.config','resend','JOIN_ROOM_FULL','batchAllowed','HEARTBEAT_INTERVAL','_init','_snapshotServerService','HMAC','_state$','random','updatePermissionObjEvent','getUnitStatus$','toggleOnline','confirm','/allowed','entries','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onlyLocal','processBlock','_initUnitPermissionChange','_collaborationPaused','unit-cache-','list','HttpExport','ciphertext','routeKey','disposeWithMe','_acknowledgedAwaitingChangeset','commentUpdateEvent','shouldCloseConn','from','byteLength','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','subject','isArray','url','unitId\x20is\x20not\x20found','INVITE_CODE_REQUIRED','roles','_replayCachedMutations','revision','_commentUpdate$','_socketReady','SOCKET_FAILED_RETRY','randomBytes','uniscriptRunEvent','CHANGESET_ACK','1697SRkZUB','Latin1','salt','_hash','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','OPTIONAL','_onUserLeave','_getSendChangesetTimeout','_waitForHeartbeatResponse','_eventService','synced','connection\x20error','WordArray','_schedule','startsWith','Hex','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_httpService','loadOfflineData','allowed','_doCreateSocket','getInterceptPoints','byteOffset','_sendHeartbeatTimer','_getDownloadEndpointURL','default','resourceIDs','sigBytes','LIVESHARE_NEW_HOST','getUnitOnRev','$super','updateCursorEvent','APPLY_NON_SEQUENTIAL_REVISION','IDLE','Decryptor','_onLocalMutation','requireSession','state','onSyncEditingCollabCursor','_updateStatus','POST','_clearHeartbeatTimer','_configService','change$','UNDEFINED','_clearCollaborationTimeoutTimer','sid','MSG_FOR_ERROR','getTime','toLowerCase','getCurrentUser','key','SerializableCipher','_transformService','NEW_CHANGESETS','_lockTransition','_instanceService','_getSignURL','SNAPSHOT_INVALID_SNAPSHOT','ERROR_EXCEED_SIZE','fetching\x20missing\x20changesets\x20from\x20','_nDataBytes','status','_loadSheet','collaboration_new_changeset','conflict','reject','LOCAL_CACHE_INTERVAL','onStarting','YUUMI_ALL_TABLES_IS_INVALID','getAllMembers','RECV','_clearRetryConnectingTimer','/universer-api/authz','userID','HELLO','mixIn','replace','editingUnit','UNIVER_SHEET','responseType','FETCH_MISSING','_config','reqId','patch','UNIVER_SLIDE','entityInit$','encodeURIComponent','_initMergeInterceptor','setShowComponents','ivSize','getMember','close','BASE64','_updateLocalCache','socketService','_registerDependencies','COMPRESS_MUTATION_SEND','[CollaborationState]:\x20apply\x20error!','_minBufferSize','awaiting','_undoStacks','_updateState','_scheduleCompleteTimestamp','CONFLICT','clear','_createHelper','createEncryptor','onTransformIME','_onUserJoin','_retryConnectingTimer','[DataLoaderService]','_onRemoteChangeset','[OfflineState]:\x20received\x20changeset.','findIndex','OpenSSL','_event$','_startTelemetryCollaborationNewChangeset','c2Prime','_reverseMap','_onConnectionFailed','2451740oDaAQD','symbol','memberID','StreamCipher','session','collaMsg','csShouldRetryEvent','UPDATE_PERMISSION_OBJ','_clearUndo','blockSize','_roomCreated$','size','_initRequestHeader','getRandomValues','_injector','_status$','\x20in\x20_schedule.','&source=','MOBILE_HAS_BEEN_BOUND','finalize','JOIN_ROOM_PERMISSION_DENIED','liveShareNewHost','_pendingMutations','fetch_missing','_remoteChangesetQueue','_onFetchMissResult','infoRsp','post','\x20to\x20','encode','_doCryptBlock','unknown','_permissionService','_invKeySchedule','_replaceFileID','_loadDoc','_collaborationSessionService','isPermissionRej','_rescheduleHeartbeat','JOIN_ROOM_FAILED','CLOSE_ROOM','encrypt','INTERNAL_ERROR','_transformStack','removeMember','_transformStateCache','_telemetryService','/universer-api/uniscript','_tryEnsureSocket','_univerInstanceService','&assign=','eventID','UNIVER_DOC','__creator','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','localCacheService','getConfig','_tryReconnect','_emitMembers','_getLoginPath','_cipher','USERS_ENTER','?size=','_collaborationUIEventService','function','\x0aCurrent:\x20','onCommandExecuted','state$','values','decrypt','listRoles','updateMember','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','17143170FgBdAv','_memberService','/universer-api/comb','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','origin','_entityInit$','update','_listenToNetworkCondition','mode','INGEST','5403958KxrzPl','updatePermissionPoint','/fetchmissing?from=','ceil','socket\x20open.','_throwTelemetryCollaborationNewChangeset','toggleOffline','keySize','online$','session.join-failed','_doReset','emitEvent','_collaborationTimeoutTimer','dispose$','_resendTimeout','awaiting_with_pending','charCodeAt','_transformRemoteChangesetByStateCache','session.room-full','src','Univer','reduce','pipe','OTHER_CLIENT_EDITING','_candidateSocket','max','_changesetSessionId','_parse','_onJoinRoomEvent','sessionStatus','_transformIMECache','add','subscribe','localeService','downloadEndpointUrl','_startCollaboration','cfg','_telemetryInfo','_doProcessBlock','_snapshotService','getImage','_unlockTransition','putCollaborators','_members','HEARTBEAT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','56eeiPBi','_imageSourceCache','range','failed\x20to\x20apply\x20missed\x20changesets!','reconnect','signUrlServerUrl','Hasher','_onRemoteRejected','_submitChangeset','PENDING','withCredentials','dispose','saveSnapshot','_decreaseWaiting','Could\x20not\x20dynamically\x20require\x20\x22','_localCacheService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_PERMISSION_DENIED','createDecryptor','_getCtorByUniverType','[CollaborationSessionService]','execute','_getAPIPrefixPath','href','getTypeOfUnitDisposed$','liveShareOperation','lib','ERROR_IMAGE','_clearTimeoutTimer','unitId','_roomMembers','SYNCED','_checkMissing','YUUMI_URL_COL_OUT_OF_RANGE','subUnitId','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CipherParams','onTransformRemoteChangesetByStateCache','[CollaborationSession]','UNAUTHENTICATED','copyFileMeta','_exhaustRemoteChangesetQueue','roomInfos','now','YUUMI_SUBSCRIPTION_NOT_FOUND','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','ENSURE_SNAPSHOT_EXECUTION','updateOfflineData','YUUMI_ASYNCIO_CANCELLED','message$','Pkcs7','hasOwnProperty','_singleActiveUnitService','init','_scheduleCollaborationTimeoutTimer','transformUndoRedo','abs','kdf','_onCombEvent','/universer-api/snapshot/','complete','getWorkbookSelections','_awaitingChangeset','SHOULD_CLOSE_CONN','sin','ONLINE','_onRemoteACK','_sessionStatus$','_clearScheduledTask','_socketService','COMPLETION_FINISHED','MUTATION','37935Cqyoum','INVITE_CODE_HAS_BEEN_UES','setCurrentUser','_initDependencies','AES','duration','Base','PERSON','17343160JNLCOe','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','getCollabEntity$','loadUnit','appendMutation','ALREADY_EXISTS','resolve','pending','data','JOINING','loadSheet','UUID','getMemberID','auth.needGotoLoginAlert','_clearLocalCache','__esModule','members','string','session.room-cnt-exceeds','_transformSelections','_disableEditing','6WvwDQM','_keySchedule','getSnapshotAPIPath','JOIN_ROOM_NOT_EXISTS','HttpImport','objectID','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','requestParams','LICENSE_EXPORT_SIZE_EXCEEDED','PERMISSION_REJ','People','_data','PSEUDO_FETCH_MISSING_RESULT','csAckEvent','prototype','create','SUBMIT_CHANGESET','fromCollab','_resendWithTimeout','code','parse','_prevBlock','executeCommand','fetchMissingChangesets','image/bmp','fromCharCode','[FetchMissState]','format','FAIL','_showConflictNotification','univer-pro.collaboration-client.single-active-unit-service','_hasher','_applyRemoteChangeset','name','CHANGESET_SHOULD_RETRY','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_sendHeartbeat','DEFAULT_FILE_NAME','words','UNRECOGNIZED','UNISCRIPT_RUN','textRanges','originalMeta','getActiveSheet','_sender','mutations','494YnhsJU','loadDoc','/universer-api/file/{fileID}/sign-url','length','_onMessage','exports','_sessions','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','action','/object','_iKey','objects','_logService','_initCloseConn','apply','Utf8','onMissingChangesets','incrementRevOfUnit','hostname','[CollaborationEntity]','_toggleOnline','_mode','_entities','BlockCipher','getCurrentRevOfUnit','COMPRESS_MUTATION_APPLY','algo','image/png','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onOffline','charAt','_xformMode','/resources','getResourcesRequest','selections','getLatestCsReqIdBySid','_unitInfo$','/block/','onRemoteChangeset','UPDATE_CURSOR','uploadFileServerUrl','clamp','onTransformSelections','_getUploadFileURL','send','onRemoteRej','retryConnectingInterval','_createInitialStateImpl','getUnitType','map','readyForCollab','onRemoteAck','/new_changes','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','unitID','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_handlerCallback','UserProfileImg','stopTime','_substituteUndoStack','_key','registerHTTPInterceptor','_getAPIPrefix','_isPermissionRej','_createHmacHelper','APPLY_DUPLICATED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','unsubscribe','setConfig','getCurrentSelections','/-/object/list','equals','actions','addHandlerCallback','_keyPriorReset','decryptBlock','get','_process','[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.','BlockCipherMode','_handler','find','NoPadding','concat','_state','indexOf','getFocusedUnit','addImageSourceCache','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','objectType','fetchMiss','EvpKDF','changesets','_getRedoStack','CBC','_compressMutationService','SNAPSHOT_URL_KEY','listCollaborators','generateRandomId','ws://127.0.0.1:8000/universer-api/comb/connect','NOT_FOUND','createInstance','UnitSnapshot','PERMISSION_DENIED','filter','[PendingState]:\x20received\x20rejection.','onSendChangeset','OTHER_CLIENTS_EDITING','transformChangesets','joinRsp','UnitEmbedded','_ENC_XFORM_MODE','LICENSE_DISTRO_REJECTED','type','Malformed\x20UTF-8\x20data','open$','FETCH_MISS','enableAuthServer','image/jpeg','LIVESHARE_FETCH_OPERATIONS','_commentService','UNIVER_COLLABORATION_CLIENT_PLUGIN','c1Prime','authzUrl','univer-pro.collaboration-client.network-condition.service','onLocalMutation','readAsDataURL','CHANGESET_REJ','RETRY_CONNECTING_MAX_COUNT','UNKNOWN_CMD','collaborators','collabSubmitChangesetUrl','[SyncedState]:\x20received\x20rejection.','toString','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','sessionStatus$','baseRev','join','createSocket','_sheetTransformSelectionsService','getUnit','_unitID','[UniverCollaborationClientPlugin]','randomUUID','headers','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','members$','_socket','readInt32LE','USERS_LEAVE','hasher','closeSession','snapshotServerUrl','12Bjnlis','_transitionLocked','setWaitCount','interceptor','_nRounds','avatar','crypto','__Key__','reset','WECHAT_HAS_BEEN_BOUND','Base64','then','next','image/gif','NO_OTHER_CLIENTS_EDITING','rng','MD5','HmacMD5','error','repeat','_timeoutTimer','SHA1','UNKNOWN_CODE','_stopTelemetryCollaborationNewChangeset','splice','_socketMessageSubscription','_executeRemoteChangeset','getCollabEntity','onRemoteRetry','compute','[CollaborationSessionService]:\x20socket\x20error','loginUrlKey','_waitCount','getTypeOfUnitAdded$','commentUpdate$','Undefined','_createHandler','file','_change$','/rev/','socket\x20close','capture','_type','_sendingTimer','_syncEditingCollabCursor','buffer','method','&to=','_HTTPService','YUUMI_UNABLE_LOAD_URL','SUBMIT_CHANGESET_TIMEOUT','getSheetBlock','LOGIN_URL_KEY','onCommentUpdate','USER_NOT_INVITED_CODE','[OfflineState]:\x20received\x20acknowledgement.','AWAITING','{fileID}','getUnitId','iterations','m2Prime','_revisionService','CONNECTOR_DATA_TOO_LARGE','Cipher','debug','getOwnPropertyDescriptor','_incrementRevisionNumber','newCsEvent','waitForRoom$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unitInfo$','slice','LICENSE_IMPORT_SIZE_EXCEEDED','push','/-/object/-/batch_allowed','_toggleOffline'];_0x393f=function(){return _0x1c4747;};return _0x393f();}var Gs=Vs();const Ws=He(Gs);function Ys(_0xa71245,_0x2258d3){var _0x556d47=_0x2d44ac;const _0x359fc9=_0x2258d3-_0xa71245[_0x556d47(0x1cc)]%_0x2258d3,_0x5eb8e9=String[_0x556d47(0x1b4)](_0x359fc9)[_0x556d47(0x275)](_0x359fc9);return _0xa71245+_0x5eb8e9;}function Ks(_0x16f6bc,_0x13c7b6){var _0x3fb3fc=_0x2d44ac;const _0x52ac84=js['random'](0x10),_0x4f290c=Ys(_0x16f6bc,0x10),_0xf226be=ws[_0x3fb3fc(0x3ed)](ks[_0x3fb3fc(0x1af)](_0x4f290c),ri[_0x3fb3fc(0x1af)](_0x13c7b6),{'iv':_0x52ac84,'padding':Ws});return _0x52ac84[_0x3fb3fc(0x21c)](_0xf226be[_0x3fb3fc(0x334)])['toString'](ri);}function qs(){var _0x414b77=_0x2d44ac;const _0x2c69ab=_0x4b29a2()[_0x414b77(0x269)];if(_0x2c69ab){const _0x4935b5={'time':Math[_0x414b77(0x2e8)](Date[_0x414b77(0x161)]()/0x3e8),'domain':location[_0x414b77(0x1db)]};return Ks(JSON['stringify'](_0x4935b5),_0x2c69ab);}}var zs=Object['getOwnPropertyDescriptor'],Js=(_0x393bde,_0x66c3e1,_0x54b7d2,_0x54403c)=>{var _0x2185e8=_0x2d44ac;for(var _0x3d70c8=_0x54403c>0x1?void 0x0:_0x54403c?zs(_0x66c3e1,_0x54b7d2):_0x66c3e1,_0x3d5957=_0x393bde[_0x2185e8(0x1cc)]-0x1,_0x5cf565;_0x3d5957>=0x0;_0x3d5957--)(_0x5cf565=_0x393bde[_0x3d5957])&&(_0x3d70c8=_0x5cf565(_0x3d70c8)||_0x3d70c8);return _0x3d70c8;},Xs=(_0x1d66dc,_0x1bafb1)=>(_0x310696,_0x41faa4)=>_0x1bafb1(_0x310696,_0x41faa4,_0x1d66dc);let at=class{constructor(_0x469fe1){var _0x2942e2=_0x2d44ac;this[_0x2942e2(0x35c)]=_0x469fe1,this[_0x2942e2(0x3d0)]();}[_0x2d44ac(0x3d0)](){var _0x192be8=_0x2d44ac;this[_0x192be8(0x35c)][_0x192be8(0x206)]({'interceptor':(_0x8d5ffa,_0x4d35dd)=>{var _0x3f771f=_0x192be8;const _0x34f7e3=_0x8d5ffa[_0x3f771f(0x259)],_0x2a377e=qs();return _0x2a377e&&_0x34f7e3[_0x3f771f(0x2d2)]('x-univer-host',_0x2a377e),_0x4d35dd(_0x8d5ffa);}});}};at=Js([Xs(0x0,_0x3a18e9(_0x477870))],at);var Zs=Object[_0x2d44ac(0x2a3)],Qs=(_0x2af50a,_0xcbe1b8,_0x2b6cdd,_0x3cebce)=>{var _0x52801f=_0x2d44ac;for(var _0x7f9862=_0x3cebce>0x1?void 0x0:_0x3cebce?Zs(_0xcbe1b8,_0x2b6cdd):_0xcbe1b8,_0x4442f8=_0x2af50a[_0x52801f(0x1cc)]-0x1,_0x229469;_0x4442f8>=0x0;_0x4442f8--)(_0x229469=_0x2af50a[_0x4442f8])&&(_0x7f9862=_0x229469(_0x7f9862)||_0x7f9862);return _0x7f9862;},mt=(_0xdc8fa3,_0x23dc92)=>(_0x303c2c,_0x3bed89)=>_0x23dc92(_0x303c2c,_0x3bed89,_0xdc8fa3);let bt=class extends _0x2f9470{constructor(_0x172514,_0x556610,_0x34c2b8){var _0x21291b=_0x2d44ac;super(),N(this,'_unitInfo$',new _0xa6b6e7(null)),N(this,_0x21291b(0x2aa),this[_0x21291b(0x1ed)][_0x21291b(0x2f1)]()),(this[_0x21291b(0x1d5)]=_0x172514,this['_snapshotService']=_0x556610,this['_localCacheService']=_0x34c2b8);}async[_0x2d44ac(0x189)](_0x8eea21,_0x2cef3b,_0x5bedd2){var _0x33064c=_0x2d44ac;this[_0x33064c(0x1ed)]['next']({'unitId':_0x8eea21,'type':_0x2cef3b,'subUnitId':_0x5bedd2});let _0x3ca655=null;switch(_0x2cef3b){case Q[_0x33064c(0x39a)]:{_0x3ca655=await this[_0x33064c(0x38a)](_0x8eea21);break;}case Q['UNIVER_DOC']:{_0x3ca655=await this[_0x33064c(0x3e7)](_0x8eea21);break;}default:{this[_0x33064c(0x1d5)][_0x33064c(0x274)](_0x33064c(0x3ba),_0x33064c(0x2a9));break;}}return _0x3ca655;}async['_loadSheet'](_0x4a0694){var _0x330c3b=_0x2d44ac,_0x145a58;let _0x203a40=0x0;const _0x288e50=await((_0x145a58=this[_0x330c3b(0x145)])==null?void 0x0:_0x145a58[_0x330c3b(0x35d)](_0x4a0694));return _0x288e50&&(_0x288e50['awaitingChangeset']||_0x288e50[_0x330c3b(0x1c8)][_0x330c3b(0x1cc)]!==0x0)&&(_0x203a40=_0x288e50['rev']),_0x203a40===0x0&&this[_0x330c3b(0x1d5)][_0x330c3b(0x2a2)](_0x330c3b(0x3ba),_0x330c3b(0x159)),this['_snapshotService'][_0x330c3b(0x190)](_0x4a0694,_0x203a40);}async[_0x2d44ac(0x3e7)](_0x2de8e3){var _0x571204=_0x2d44ac,_0x451e3a;let _0x1322e8=0x0;const _0x4438c6=await((_0x451e3a=this['_localCacheService'])==null?void 0x0:_0x451e3a['loadOfflineData'](_0x2de8e3));return _0x4438c6&&(_0x4438c6[_0x571204(0x2c5)]||_0x4438c6[_0x571204(0x1c8)][_0x571204(0x1cc)]!==0x0)&&(_0x1322e8=_0x4438c6['rev']),_0x1322e8===0x0&&this[_0x571204(0x1d5)][_0x571204(0x2a2)](_0x571204(0x3ba),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x571204(0x12f)][_0x571204(0x1ca)](_0x2de8e3,_0x1322e8);}};bt=Qs([mt(0x0,_0x41bbc0),mt(0x1,_0x3a18e9(_0x4194fe)),mt(0x2,_0x1f5a13(J))],bt);var er=Object[_0x2d44ac(0x2a3)],tr=(_0x5952b3,_0x1352e6,_0x10968f,_0x467eaa)=>{for(var _0x4a57e6=_0x467eaa>0x1?void 0x0:_0x467eaa?er(_0x1352e6,_0x10968f):_0x1352e6,_0x52e339=_0x5952b3['length']-0x1,_0x491c6e;_0x52e339>=0x0;_0x52e339--)(_0x491c6e=_0x5952b3[_0x52e339])&&(_0x4a57e6=_0x491c6e(_0x4a57e6)||_0x4a57e6);return _0x4a57e6;},gt=(_0x20a69e,_0x55ae5f)=>(_0x24326f,_0x1c4f80)=>_0x55ae5f(_0x24326f,_0x1c4f80,_0x20a69e);const ir=[_0x2d44ac(0x1e4),_0x2d44ac(0x23f),_0x2d44ac(0x2cd),_0x2d44ac(0x26f),_0x2d44ac(0x1b3)],nr=0x5*0x400*0x400,sr=_0x2d44ac(0x1a1),rr='/universer-api/stream/file/upload',ar=_0x2d44ac(0x1be),or=_0x2d44ac(0x1cb);let Ot=class{constructor(_0x260988,_0x590a42,_0x22233b){var _0x222f50=_0x2d44ac;N(this,_0x222f50(0x282),0x0),N(this,_0x222f50(0x288),new _0x42e7d7()),N(this,_0x222f50(0x376),this[_0x222f50(0x288)]),N(this,_0x222f50(0x137),new Map()),(this[_0x222f50(0x35c)]=_0x260988,this[_0x222f50(0x375)]=_0x590a42,this[_0x222f50(0x3f5)]=_0x22233b);}[_0x2d44ac(0x264)](_0x55e91a){var _0x21d266=_0x2d44ac;this['_waitCount']=_0x55e91a,this[_0x21d266(0x288)][_0x21d266(0x26e)](_0x55e91a);}['getImageSourceCache'](_0x57a8ce,_0x39444d){var _0x12bcf3=_0x2d44ac;if(_0x39444d===_0x371265[_0x12bcf3(0x3a8)]){const _0x52d496=new Image();return _0x52d496[_0x12bcf3(0x11b)]=_0x57a8ce,_0x52d496;}return this[_0x12bcf3(0x137)][_0x12bcf3(0x215)](_0x57a8ce);}[_0x2d44ac(0x220)](_0x54370a,_0x3ba108,_0x1df602){var _0x51a1fe=_0x2d44ac;_0x3ba108===_0x371265[_0x51a1fe(0x3a8)]||_0x1df602==null||this[_0x51a1fe(0x137)][_0x51a1fe(0x2d2)](_0x54370a,_0x1df602);}async[_0x2d44ac(0x130)](_0x76be11){var _0x4f9b48=_0x2d44ac;try{const _0x10bcaa=this[_0x4f9b48(0x3e6)](this[_0x4f9b48(0x384)](),''+_0x76be11),_0x525e93=(await this[_0x4f9b48(0x35c)][_0x4f9b48(0x215)](_0x10bcaa))[_0x4f9b48(0x302)];if(_0x525e93[_0x4f9b48(0x274)]&&_0x525e93[_0x4f9b48(0x274)][_0x4f9b48(0x1ae)]===Si['OK']){const _0x9a8a91=new URL(_0x525e93[_0x4f9b48(0x33f)],this[_0x4f9b48(0x363)]())['toString']();return Promise[_0x4f9b48(0x18c)](_0x9a8a91);}return Promise[_0x4f9b48(0x38d)](_0x525e93[_0x4f9b48(0x274)]);}catch(_0x20ebfe){return Promise[_0x4f9b48(0x38d)](_0x20ebfe);}}async['saveImage'](_0x487304){var _0x757cb7=_0x2d44ac;let _0x32903e='';if(!ir[_0x757cb7(0x31a)](_0x487304[_0x757cb7(0x23a)]))return this[_0x757cb7(0x143)](),Promise[_0x757cb7(0x38d)](new Error(_0x2e1ab9['ERROR_IMAGE_TYPE']));if(_0x487304[_0x757cb7(0x3cf)]>nr)return this[_0x757cb7(0x143)](),Promise[_0x757cb7(0x38d)](new Error(_0x2e1ab9[_0x757cb7(0x386)]));try{const _0x3e40ae=new FormData();_0x3e40ae['append'](_0x757cb7(0x287),_0x487304);const _0x2fb7dc=this[_0x757cb7(0x3f5)][_0x757cb7(0x21f)](),_0xe397f9=_0x2fb7dc==null?void 0x0:_0x2fb7dc[_0x757cb7(0x29c)]();if(!_0xe397f9)throw new Error(_0x757cb7(0x340));const _0x27bfb9=this[_0x757cb7(0x1f4)]()+_0x757cb7(0x402)+_0x487304[_0x757cb7(0x3cf)][_0x757cb7(0x24e)]()+_0x757cb7(0x3d5)+Ei[_0x757cb7(0x237)]+_0x757cb7(0x3f6)+encodeURIComponent(_0xe397f9),_0xffa538={'body':_0x3e40ae},_0x36dc7b=(await this[_0x757cb7(0x35c)][_0x757cb7(0x3df)](_0x27bfb9,_0xffa538))[_0x757cb7(0x302)];if(typeof _0x36dc7b[_0x757cb7(0x2de)]!=_0x757cb7(0x197))return this[_0x757cb7(0x143)](),Promise['reject'](new Error(_0x2e1ab9['ERROR_IMAGE']));_0x32903e=_0x36dc7b[_0x757cb7(0x2de)];}catch{return this[_0x757cb7(0x143)](),Promise[_0x757cb7(0x38d)](new Error(_0x2e1ab9[_0x757cb7(0x151)]));}return new Promise((_0x52c900,_0x5ed966)=>{var _0x81c3d1=_0x757cb7;const _0x36f6a2=new FileReader();_0x36f6a2[_0x81c3d1(0x247)](_0x487304),_0x36f6a2['onload']=_0x5ad650=>{var _0x21da58=_0x81c3d1,_0x3ed855;const _0x4da6bc=(_0x3ed855=_0x5ad650['target'])==null?void 0x0:_0x3ed855[_0x21da58(0x300)];if(_0x4da6bc==null){this[_0x21da58(0x143)](),_0x5ed966(new Error(_0x2e1ab9[_0x21da58(0x151)]));return;}const _0x51756c=_0x10fb77[_0x21da58(0x22b)](0x6);_0x52c900({'imageId':_0x51756c,'imageSourceType':_0x371265[_0x21da58(0x191)],'source':_0x32903e,'base64Cache':_0x4da6bc,'status':_0x2e1ab9['SUCCUSS']}),this[_0x21da58(0x143)]();};});}['_getUploadFileURL'](){var _0x154a6c=_0x2d44ac,_0x1d7722,_0x1eeb10;const _0x34e655=this[_0x154a6c(0x375)][_0x154a6c(0x3fc)](sr),_0x97cfd4=this[_0x154a6c(0x375)][_0x154a6c(0x3fc)](q);return(_0x1eeb10=(_0x1d7722=_0x97cfd4==null?void 0x0:_0x97cfd4[_0x154a6c(0x1f1)])!=null?_0x1d7722:_0x34e655)!=null?_0x1eeb10:rr;}['_getSignURL'](){var _0x4bf7ef=_0x2d44ac,_0x9d8da0,_0x1a1e3c;const _0x3a0ad0=this[_0x4bf7ef(0x375)][_0x4bf7ef(0x3fc)](ar),_0x5390ee=this[_0x4bf7ef(0x375)]['getConfig'](q);return(_0x1a1e3c=(_0x9d8da0=_0x5390ee==null?void 0x0:_0x5390ee[_0x4bf7ef(0x13b)])!=null?_0x9d8da0:_0x3a0ad0)!=null?_0x1a1e3c:or;}['_getDownloadEndpointURL'](){var _0x57b1bf=_0x2d44ac,_0x38cb80;const _0x5f0984=this['_configService']['getConfig'](q);return(_0x38cb80=_0x5f0984==null?void 0x0:_0x5f0984[_0x57b1bf(0x12a)])!=null?_0x38cb80:location[_0x57b1bf(0x102)];}[_0x2d44ac(0x3e6)](_0x3007a7,_0x10e8a2){var _0x10029f=_0x2d44ac;return _0x3007a7[_0x10029f(0x398)](_0x10029f(0x29b),_0x10e8a2);}[_0x2d44ac(0x143)](){var _0x555506=_0x2d44ac;this[_0x555506(0x282)]-=0x1,this[_0x555506(0x288)]['next'](this[_0x555506(0x282)]);}};Ot=tr([gt(0x0,_0x3a18e9(_0x477870)),gt(0x1,_0x462043),gt(0x2,_0x3a18e9(_0x2e2ca3))],Ot);var cr=Object[_0x2d44ac(0x2a3)],hr=(_0x169935,_0x582618,_0x341a7b,_0xd88ed2)=>{var _0x1e4b86=_0x2d44ac;for(var _0x360fa4=_0xd88ed2>0x1?void 0x0:_0xd88ed2?cr(_0x582618,_0x341a7b):_0x582618,_0x4f89b9=_0x169935[_0x1e4b86(0x1cc)]-0x1,_0x7499f3;_0x4f89b9>=0x0;_0x4f89b9--)(_0x7499f3=_0x169935[_0x4f89b9])&&(_0x360fa4=_0x7499f3(_0x360fa4)||_0x360fa4);return _0x360fa4;},hi=(_0x408da6,_0x50491e)=>(_0x197f39,_0x1b8a5a)=>_0x50491e(_0x197f39,_0x1b8a5a,_0x408da6);const _r=_0x2d44ac(0x394);let yt=class{constructor(_0x2fa820,_0x2bf36b){var _0x404f28=_0x2d44ac;this[_0x404f28(0x375)]=_0x2fa820,this[_0x404f28(0x292)]=_0x2bf36b;}[_0x2d44ac(0x14c)](){var _0x28a283=_0x2d44ac,_0x3e3e30,_0xac3a2b;const _0xedee5d=this[_0x28a283(0x375)]['getConfig'](Ni),_0x33d630=this[_0x28a283(0x375)][_0x28a283(0x3fc)](q);return(_0xac3a2b=(_0x3e3e30=_0x33d630==null?void 0x0:_0x33d630['authzUrl'])!=null?_0x3e3e30:_0xedee5d)!=null?_0xac3a2b:_r;}async[_0x2d44ac(0x332)](_0x272a95){var _0x1998d8=_0x2d44ac;const _0x4f6018=this[_0x1998d8(0x14c)]()+'/collaborator';return{'list':[{'title':_0x1998d8(0x1a5),'mentions':(await this[_0x1998d8(0x292)][_0x1998d8(0x215)](_0x4f6018,{'params':{'objectID':_0x272a95[_0x1998d8(0x153)],'unitID':_0x272a95[_0x1998d8(0x153)]}}))[_0x1998d8(0x302)]['collaborators'][_0x1998d8(0x1fa)](_0x31df3c=>({'objectId':_0x31df3c['id'],'name':_0x31df3c[_0x1998d8(0x33d)][_0x1998d8(0x1bc)],'metadata':{'icon':_0x31df3c[_0x1998d8(0x33d)][_0x1998d8(0x267)]},'label':_0x31df3c[_0x1998d8(0x33d)][_0x1998d8(0x1bc)],'objectType':_0x97c634['PERSON']})),'metadata':{},'type':_0x97c634[_0x1998d8(0x185)]}]};}};yt=hr([hi(0x0,_0x3a18e9(_0x462043)),hi(0x1,_0x3a18e9(_0x477870))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x1d49bd,_0x1faab8,_0x4f32b8,_0x3cf550)=>{for(var _0x3123ba=_0x3cf550>0x1?void 0x0:_0x3cf550?lr(_0x1faab8,_0x4f32b8):_0x1faab8,_0x525ce5=_0x1d49bd['length']-0x1,_0x126a01;_0x525ce5>=0x0;_0x525ce5--)(_0x126a01=_0x1d49bd[_0x525ce5])&&(_0x3123ba=_0x126a01(_0x3123ba)||_0x3123ba);return _0x3123ba;},we=(_0x135515,_0x4ceb7d)=>(_0x428f64,_0x119fa6)=>_0x4ceb7d(_0x428f64,_0x119fa6,_0x135515);let ot=class extends _0x2f9470{constructor(_0xd1bd95,_0x268bf8,_0x5a97b0,_0x14132a,_0x4e31b9){var _0x2d2993=_0x2d44ac;super(),this['_injector']=_0xd1bd95,this[_0x2d2993(0x3f5)]=_0x268bf8,this[_0x2d2993(0x3e4)]=_0x5a97b0,this['_collaborationSessionService']=_0x14132a,this[_0x2d2993(0xf4)]=_0x4e31b9,this[_0x2d2993(0x32f)](),this['_initCloseConn']();}[_0x2d44ac(0x1d6)](){var _0x42034b=_0x2d44ac;const _0x27edaa=async _0x41733b=>{var _0x21e2bd=_0x39a9;(await this[_0x21e2bd(0x3e8)]['requireSession'](_0x41733b))[_0x21e2bd(0x2ff)][_0x21e2bd(0x11e)](_0x24719a(_0x2bfc0c=>_0x2bfc0c[_0x21e2bd(0x3f7)]===_0x3d1bff[_0x21e2bd(0x175)]),_0x5745eb(this[_0x21e2bd(0x115)]))[_0x21e2bd(0x128)](_0x3f2b09=>{var _0x1f6ca0=_0x21e2bd;const _0x9004fb=_0x3f2b09,{reason:_0x522752}=_0x9004fb[_0x1f6ca0(0x18e)];this[_0x1f6ca0(0xf4)][_0x1f6ca0(0x113)]({'id':re[_0x1f6ca0(0x3ec)],'data':_0x522752}),this[_0x1f6ca0(0x3e4)][_0x1f6ca0(0x109)](new _0x457771(_0x41733b)['id'],!0x1),this[_0x1f6ca0(0x3e8)][_0x1f6ca0(0x260)](_0x41733b);});};_0x5ac85e(this[_0x42034b(0x3f5)][_0x42034b(0x283)](_0x34ccd3['UNIVER_SHEET']),this[_0x42034b(0x3f5)][_0x42034b(0x283)](_0x34ccd3[_0x42034b(0x3f8)]))[_0x42034b(0x11e)](_0x4fc619(_0x410218=>_0x410218[_0x42034b(0x29c)]()),_0x24719a(_0x382c95=>!_0x5423ab(_0x382c95)),_0x5745eb(this[_0x42034b(0x115)]))['subscribe'](_0x5c82fb=>{_0x27edaa(_0x5c82fb);});}[_0x2d44ac(0x32f)](){var _0x46a77c=_0x2d44ac;const _0x42f7fe=async _0x2cf7b3=>{var _0x3a57c0=_0x39a9;const _0x1db145=await this[_0x3a57c0(0x3e8)][_0x3a57c0(0x36f)](_0x2cf7b3),_0x4de9b3=this[_0x3a57c0(0x3d2)]['get'](_0x43a842);_0x1db145['event$'][_0x3a57c0(0x11e)](_0x24719a(_0x34cec4=>_0x34cec4[_0x3a57c0(0x3f7)]===_0x3d1bff['UPDATE_PERMISSION_OBJ']),_0x5745eb(this[_0x3a57c0(0x115)]))['subscribe'](_0x4bf012=>{var _0x278e02=_0x3a57c0;const _0xa8a1ac=_0x4bf012,{objectId:_0x90ade9}=_0xa8a1ac[_0x278e02(0x18e)];_0x90ade9===_0x2cf7b3?_0x4de9b3['initWorkbookPermissionChange'](_0x2cf7b3):_0x4de9b3['refreshPermission'](_0x2cf7b3,_0x90ade9);});};_0x5ac85e(this[_0x46a77c(0x3f5)][_0x46a77c(0x283)](_0x34ccd3[_0x46a77c(0x39a)]))[_0x46a77c(0x11e)](_0x4fc619(_0x51d50c=>_0x51d50c[_0x46a77c(0x29c)]()),_0x24719a(_0x41d622=>!_0x5423ab(_0x41d622)),_0x5745eb(this['dispose$']))[_0x46a77c(0x128)](_0x3dd145=>{_0x42f7fe(_0x3dd145);});}};ot=ur([we(0x0,_0x3a18e9(_0x2eed8a)),we(0x1,_0x2e2ca3),we(0x2,_0x1461bf),we(0x3,_0x3a18e9(Me)),we(0x4,_0x3a18e9(pe))],ot);var dr=Object[_0x2d44ac(0x2a3)],fr=(_0x57017b,_0x1418c9,_0x35d429,_0x3244d4)=>{for(var _0x3446cf=_0x3244d4>0x1?void 0x0:_0x3244d4?dr(_0x1418c9,_0x35d429):_0x1418c9,_0x42b82e=_0x57017b['length']-0x1,_0x467374;_0x42b82e>=0x0;_0x42b82e--)(_0x467374=_0x57017b[_0x42b82e])&&(_0x3446cf=_0x467374(_0x3446cf)||_0x3446cf);return _0x3446cf;},_i=(_0x5a5b24,_0x34d4e5)=>(_0x31e14a,_0x24e7a9)=>_0x34d4e5(_0x31e14a,_0x24e7a9,_0x5a5b24);let Nt=class{constructor(_0x104487,_0x82d196){var _0x4b9bfe=_0x2d44ac;this[_0x4b9bfe(0x375)]=_0x104487,this['_httpService']=_0x82d196;}async[_0x2d44ac(0x368)](_0x4c042b,_0x275b74){var _0x5964af=_0x2d44ac,_0x160018;const {unitID:_0x2484c3,type:_0x2c1ed2,revision:_0x541336=0x0}=_0x275b74,_0x4e9848=this[_0x5964af(0x19d)]()+'/'+_0x2c1ed2+_0x5964af(0x2d7)+_0x2484c3+_0x5964af(0x289)+_0x541336,_0x2e50d1=(await this[_0x5964af(0x35c)][_0x5964af(0x215)](_0x4e9848))['body'],_0x30a6aa=(_0x160018=_0x2e50d1['snapshot'])==null?void 0x0:_0x160018[_0x5964af(0x2e3)];if(_0x30a6aa){const _0x4b3317=_0x30a6aa==null?void 0x0:_0x30a6aa['originalMeta'],_0x9f36ab=_0x154489['encode'](_0x1a97d4(_0x4b3317));_0x30a6aa[_0x5964af(0x1c5)]=_0x9f36ab,Object[_0x5964af(0x32b)](_0x30a6aa['sheets'])[_0x5964af(0x2ea)](([,_0x1286e6])=>{var _0x43b3fe=_0x5964af;const _0x10a32f=_0x1286e6[_0x43b3fe(0x1c5)],_0x3547db=_0x154489[_0x43b3fe(0x3e1)](_0x1a97d4(_0x10a32f));_0x1286e6[_0x43b3fe(0x1c5)]=_0x3547db;});}return _0x2e50d1;}async[_0x2d44ac(0x295)](_0x4eb273,_0x4d3360){var _0x493e60=_0x2d44ac;const {unitID:_0x31dd0e,type:_0xd8efa1,blockID:_0x2b2e9a}=_0x4d3360,_0x5dd47a=this['_getAPIPrefix']()+'/'+_0xd8efa1+_0x493e60(0x2d7)+_0x31dd0e+_0x493e60(0x1ee)+_0x2b2e9a;return(await this['_httpService'][_0x493e60(0x215)](_0x5dd47a))[_0x493e60(0x302)];}async['getDeserializedSheetBlock'](_0x3f7957,_0x48d56e){var _0x367917=_0x2d44ac;const {unitID:_0x1ae2c7,type:_0x59753e,blockID:_0x23c594}=_0x48d56e,_0x45a56b=this['_getAPIPrefix']()+_0x367917(0x1ee)+_0x59753e+_0x367917(0x2d7)+_0x1ae2c7+_0x367917(0x1ee)+_0x23c594;return(await this[_0x367917(0x35c)][_0x367917(0x215)](_0x45a56b))[_0x367917(0x302)];}async[_0x2d44ac(0x1b2)](_0x28ec40,_0x5248ce){var _0x35d4d8=_0x2d44ac;const {unitID:_0x186299,type:_0x4a7eaa,from:_0x2b2faf,to:_0x1ca596}=_0x5248ce,_0x2e383a=this[_0x35d4d8(0x207)]()+'/'+_0x4a7eaa+_0x35d4d8(0x2d7)+_0x186299+_0x35d4d8(0x10a)+_0x2b2faf+_0x35d4d8(0x291)+_0x1ca596;return(await this[_0x35d4d8(0x35c)][_0x35d4d8(0x215)](_0x2e383a))[_0x35d4d8(0x302)];}[_0x2d44ac(0x19d)](){var _0x48f64f=_0x2d44ac,_0x1c9af1;return(_0x1c9af1=this[_0x48f64f(0x375)][_0x48f64f(0x3fc)](Sn))!=null?_0x1c9af1:this[_0x48f64f(0x207)]();}[_0x2d44ac(0x207)](){var _0x3e7c08=_0x2d44ac,_0x3d6422,_0xe4154e;const _0x20a860=this[_0x3e7c08(0x375)]['getConfig'](mn),_0x721a15=this['_configService'][_0x3e7c08(0x3fc)](q);return(_0xe4154e=(_0x3d6422=_0x721a15==null?void 0x0:_0x721a15[_0x3e7c08(0x261)])!=null?_0x3d6422:_0x20a860)!=null?_0xe4154e:gn;}async[_0x2d44ac(0x1ea)](_0x35ab35,_0x31ecdf){var _0x1a4fba=_0x2d44ac;const _0x5d7162=_0x1a4fba(0x171)+_0x31ecdf[_0x1a4fba(0x23a)]+_0x1a4fba(0x2d7)+_0x31ecdf[_0x1a4fba(0x1ff)]+_0x1a4fba(0x1e9);return(await this[_0x1a4fba(0x35c)][_0x1a4fba(0x215)](_0x5d7162,{'params':{'resourceId':JSON['stringify'](_0x31ecdf[_0x1a4fba(0x365)])}}))[_0x1a4fba(0x302)];}[_0x2d44ac(0x142)](){var _0x4149b0=_0x2d44ac;throw new Error(_0x4149b0(0x2a7));}['saveSheetBlock'](){var _0x549312=_0x2d44ac;throw new Error(_0x549312(0x2a7));}['saveChangeset'](){var _0xe337ef=_0x2d44ac;throw new Error(_0xe337ef(0x2a7));}[_0x2d44ac(0x15e)](){var _0x3713f7=_0x2d44ac;throw new Error(_0x3713f7(0x2a7));}[_0x2d44ac(0x1ec)](){var _0x442dfd=_0x2d44ac;throw new Error(_0x442dfd(0x2a7));}};Nt=fr([_i(0x0,_0x462043),_i(0x1,_0x3a18e9(_0x477870))],Nt);var vr=Object[_0x2d44ac(0x2a3)],pr=(_0x898759,_0x420761,_0x2dac33,_0x4c9abb)=>{var _0x3935bb=_0x2d44ac;for(var _0x31bd95=_0x4c9abb>0x1?void 0x0:_0x4c9abb?vr(_0x420761,_0x2dac33):_0x420761,_0x3f71a4=_0x898759[_0x3935bb(0x1cc)]-0x1,_0x3b4d1b;_0x3f71a4>=0x0;_0x3f71a4--)(_0x3b4d1b=_0x898759[_0x3f71a4])&&(_0x31bd95=_0x3b4d1b(_0x31bd95)||_0x31bd95);return _0x31bd95;},Pe=(_0x1efc74,_0x3af295)=>(_0x4e3c6e,_0x5660fe)=>_0x3af295(_0x4e3c6e,_0x5660fe,_0x1efc74);let Dt=class extends _0x579d45{constructor(_0x26cce5,_0x36754f,_0x248321,_0x1fbb76,_0x4f37cf){var _0x910cb4=_0x2d44ac;super(_0x26cce5,_0x36754f,_0x248321),this[_0x910cb4(0x380)]=_0x1fbb76,this[_0x910cb4(0x1d5)]=_0x4f37cf;}['transformUndoRedo'](_0x404c67,_0x46e1b4){var _0x34ebbc=_0x2d44ac;const _0x4723b9=this['_getUndoStack'](_0x404c67);if(_0x4723b9)try{const _0x4ed05d=this['_transformStack'](_0x4723b9,_0x46e1b4);this[_0x34ebbc(0x204)](_0x404c67,_0x4ed05d);}catch(_0x372825){this[_0x34ebbc(0x1d5)][_0x34ebbc(0x274)](_0x34ebbc(0x314),_0x372825),this[_0x34ebbc(0x3cc)](_0x404c67);}const _0x165c8e=this['_getRedoStack'](_0x404c67);if(_0x165c8e)try{const _0x2a0f18=this[_0x34ebbc(0x3ef)](_0x165c8e,_0x46e1b4);this[_0x34ebbc(0x2ba)](_0x404c67,_0x2a0f18);}catch(_0x40b099){this[_0x34ebbc(0x1d5)][_0x34ebbc(0x274)](_0x40b099),this['_clearRedo'](_0x404c67);}}[_0x2d44ac(0x3cc)](_0x2fe943){var _0x51b24a=_0x2d44ac;const _0x271e38=this[_0x51b24a(0x2e1)](_0x2fe943);_0x271e38&&(_0x271e38[_0x51b24a(0x1cc)]=0x0,this[_0x51b24a(0x372)]());}[_0x2d44ac(0x2df)](_0x1cd5af){var _0x2d1948=_0x2d44ac;const _0x4b67b9=this[_0x2d1948(0x226)](_0x1cd5af);_0x4b67b9&&(_0x4b67b9[_0x2d1948(0x1cc)]=0x0,this[_0x2d1948(0x372)]());}[_0x2d44ac(0x204)](_0x2a5882,_0x1e3104){var _0x2e9732=_0x2d44ac;this[_0x2e9732(0x3b0)][_0x2e9732(0x2d2)](_0x2a5882,_0x1e3104),this[_0x2e9732(0x372)]();}['_substituteRedoStack'](_0x28c497,_0x30f21a){var _0x386caa=_0x2d44ac;this['_redoStacks']['set'](_0x28c497,_0x30f21a),this[_0x386caa(0x372)]();}['_transformStack'](_0x18f5cb,_0x2206cd){var _0x2ce4a5=_0x2d44ac;const _0x567e5e=[];let _0x3c2e32=_0x2206cd,_0x5ace75=_0x2206cd;for(let _0x5d829f=_0x18f5cb[_0x2ce4a5(0x1cc)]-0x1;_0x5d829f>=0x0;_0x5d829f--){const {unitID:_0x4d74fb,undoMutations:_0x25b167,redoMutations:_0x376120}=_0x18f5cb[_0x5d829f],_0x3408e2=this[_0x2ce4a5(0x380)][_0x2ce4a5(0x2d8)](_0x3c2e32,_0x25b167),_0x4e833a=this[_0x2ce4a5(0x380)][_0x2ce4a5(0x2d8)](_0x5ace75,_0x376120);if(_0x2f9aac(_0x3408e2)||_0x2f9aac(_0x4e833a)){this[_0x2ce4a5(0x1d5)]['error'](_0x2ce4a5(0x314),'transformStack\x20failed!',_0x3408e2,_0x4e833a);break;}_0x3c2e32=_0x3408e2[_0x2ce4a5(0x243)],_0x5ace75=_0x4e833a[_0x2ce4a5(0x243)],_0x567e5e[_0x2ce4a5(0x2ad)]({'unitID':_0x4d74fb,'undoMutations':_0x3408e2[_0x2ce4a5(0x29e)],'redoMutations':_0x4e833a['m2Prime']});}return _0x567e5e['reverse']();}};Dt=pr([Pe(0x0,_0x2e2ca3),Pe(0x1,_0x326da6),Pe(0x2,_0x38dea7),Pe(0x3,_0x157f6a),Pe(0x4,_0x41bbc0)],Dt);var mr=Object[_0x2d44ac(0x2bd)],gr=Object[_0x2d44ac(0x2a3)],Sr=(_0x32dfb3,_0x48117d,_0x154945)=>_0x48117d in _0x32dfb3?mr(_0x32dfb3,_0x48117d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x154945}):_0x32dfb3[_0x48117d]=_0x154945,Er=(_0x4f73f7,_0x2b4405,_0x13934c,_0x243da1)=>{var _0x430e5c=_0x2d44ac;for(var _0xbaa50b=_0x243da1>0x1?void 0x0:_0x243da1?gr(_0x2b4405,_0x13934c):_0x2b4405,_0x232ae5=_0x4f73f7[_0x430e5c(0x1cc)]-0x1,_0x3abec4;_0x232ae5>=0x0;_0x232ae5--)(_0x3abec4=_0x4f73f7[_0x232ae5])&&(_0xbaa50b=_0x3abec4(_0xbaa50b)||_0xbaa50b);return _0xbaa50b;},St=(_0xac9f71,_0x106923)=>(_0x30a757,_0x5ad538)=>_0x106923(_0x30a757,_0x5ad538,_0xac9f71),Ir=(_0x253a88,_0x23f8f1,_0x1a747b)=>Sr(_0x253a88,_0x23f8f1+'',_0x1a747b);const Tr=_0x2d44ac(0x242);let Ut=class extends _0x210254{constructor(_0x140e4a,_0x1a7db9,_0x18f067,_0xcf7c4a){var _0xecfd85=_0x2d44ac;super(),N(this,'_config'),(this[_0xecfd85(0x1d5)]=_0x1a7db9,this['_injector']=_0x18f067,this[_0xecfd85(0x375)]=_0xcf7c4a);const {..._0x4f555a}=_0x36ec5e({},wn,_0x140e4a);if(!_0x4f555a[_0xecfd85(0x3aa)])throw new Error(_0xecfd85(0x163));this[_0xecfd85(0x39d)]=_0x4f555a,this['_configService'][_0xecfd85(0x20d)](q,_0x4f555a);}[_0x2d44ac(0x38f)](){var _0x214eab=_0x2d44ac;this[_0x214eab(0x3ab)](),this[_0x214eab(0x181)]();}[_0x2d44ac(0x3ab)](){var _0x6d507b=_0x2d44ac,_0x27d014,_0x38c86d;this[_0x6d507b(0x3d2)][_0x6d507b(0x311)](_0x46d3c0)&&this['_logService'][_0x6d507b(0x274)](_0x6d507b(0x257),_0x6d507b(0x3fa));const _0x1570be=_0x581157([[_0x46d3c0,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config']['socketService']}],[_0x3d2e4f,{'useClass':Nt}],[_0xcc27c5,{'useClass':Rt}],[_0x4d6d8d,{'useClass':Ot}],[_0x55d716,{'useClass':yt}],[st],[Ct]],(_0x27d014=this[_0x6d507b(0x39d)])==null?void 0x0:_0x27d014['override']);if(!((_0x38c86d=this[_0x6d507b(0x39d)])!=null&&_0x38c86d[_0x6d507b(0x2b3)])){const _0x2a3966=_0x1570be[_0x6d507b(0x3bd)](([_0x440f90])=>_0x440f90===ht);_0x2a3966!==-0x1&&_0x1570be[_0x6d507b(0x27a)](_0x2a3966,0x1);}_0xa3cd39(this[_0x6d507b(0x3d2)],_0x1570be);}[_0x2d44ac(0x181)](){var _0x45e99f=_0x2d44ac,_0x362d60,_0x28f6cd,_0x1794f5;this[_0x45e99f(0x3d2)]['get'](_0x477870)[_0x45e99f(0x206)]({'priority':0x14,'interceptor':_0x6a2522({'maxParallel':0x6})}),(_0x362d60=this['_config'])!=null&&_0x362d60['enableOfflineEditing']||(_0x28f6cd=this[_0x45e99f(0x3d2)][_0x45e99f(0x215)](J,_0x5594c6[_0x45e99f(0x350)]))==null||_0x28f6cd['disableLocalCache'](),(_0x1794f5=this[_0x45e99f(0x39d)])!=null&&_0x1794f5[_0x45e99f(0x23e)]&&_0x32fd4c(this[_0x45e99f(0x3d2)],[[rt]]),_0x32fd4c(this[_0x45e99f(0x3d2)],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x327176(_0x1baaeb,_0x22fece),St(0x1,_0x41bbc0),St(0x2,_0x3a18e9(_0x2eed8a)),St(0x3,_0x462043)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Me as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Mr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,xr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,Mn as serializeCombRequest};
1
+ var _0x417dd3=_0xd662;(function(_0x2726fd,_0xc4e154){var _0x5329da=_0xd662,_0x438e72=_0x2726fd();while(!![]){try{var _0x30e4f9=parseInt(_0x5329da(0x235))/0x1+parseInt(_0x5329da(0x22d))/0x2*(-parseInt(_0x5329da(0x2eb))/0x3)+parseInt(_0x5329da(0x27b))/0x4+parseInt(_0x5329da(0x259))/0x5+-parseInt(_0x5329da(0x29a))/0x6*(parseInt(_0x5329da(0x209))/0x7)+-parseInt(_0x5329da(0x339))/0x8+parseInt(_0x5329da(0x264))/0x9;if(_0x30e4f9===_0xc4e154)break;else _0x438e72['push'](_0x438e72['shift']());}catch(_0xf8fde4){_0x438e72['push'](_0x438e72['shift']());}}}(_0x10ed,0x95a37));function _0xd662(_0x19583b,_0x5abd98){var _0x10ede1=_0x10ed();return _0xd662=function(_0xd6626a,_0x58c068){_0xd6626a=_0xd6626a-0x1c5;var _0x4f519e=_0x10ede1[_0xd6626a];return _0x4f519e;},_0xd662(_0x19583b,_0x5abd98);}var wi=Object[_0x417dd3(0x363)],Pi=(_0x2bf2f5,_0x5de617,_0x4caab9)=>_0x5de617 in _0x2bf2f5?wi(_0x2bf2f5,_0x5de617,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4caab9}):_0x2bf2f5[_0x5de617]=_0x4caab9,N=(_0x1561d4,_0x33403e,_0xd09db8)=>Pi(_0x1561d4,typeof _0x33403e!='symbol'?_0x33403e+'':_0x33403e,_0xd09db8);import{createIdentifier as _0x173afe,Inject as _0x25220a,Injector as _0x4eec35,IConfigService as _0x2deb3f,ILogService as _0x227eb4,Disposable as _0x2943b3,DisposableCollection as _0xdb217b,toDisposable as _0x47b7f3,IUniverInstanceService as _0x34aa87,UserManagerService as _0x12aa14,UniverInstanceType as _0x1fe67e,LocaleService as _0xa280b6,Optional as _0x33e2b5,RxDisposable as _0x4728bc,Tools as _0x488b7d,Rectangle as _0x21e44a,ICommandService as _0x36b2a5,JSONX as _0x29b343,CommandType as _0xe70fe3,IUndoRedoService as _0x3731a7,IPermissionService as _0xde5f4f,sequenceExecute as _0x29e22e,Workbook as _0x11b6af,MentionType as _0x5ba314,isInternalEditorID as _0xab27e8,LocalUndoRedoService as _0x19a0ef,IContextService as _0x3da46b,DependentOn as _0x3243ac,Plugin as _0x1c4948,merge as _0x8be12a,mergeOverrideWithDependencies as _0x2e830a,IAuthzIoService as _0x5b449e,IMentionIOService as _0x4ad9c8,registerDependencies as _0x4174b0,Quantity as _0x3d8290,touchDependencies as _0x203468}from'@univerjs/core';import{Subject as _0x18a626,merge as _0x1294e8,of as _0x62ad99,BehaviorSubject as _0x5995bf,takeUntil as _0x4f278e,ReplaySubject as _0x4d20ac,take as _0x5e53ac,map as _0x5f411b,shareReplay as _0x350a19,firstValueFrom as _0x4ea9cb,concatMap as _0x2cc889}from'rxjs';import{map as _0x1613eb,take as _0x2c3d11,filter as _0x10f1f2,delay as _0x6c221f,takeUntil as _0x1ee14a}from'rxjs/operators';import{CollaborationEvent as _0x371ea6,ISnapshotServerService as _0x3c8b0e,parseChangesetToProtocol as _0x4ec8b4,ITransformService as _0x4839c5,isTransformMutationsWithChangesetSuccess as _0x2f3dc1,mapDocumentTypeToUniverType as _0x256a36,RevisionService as _0x3f4ef2,isTransformChangesetsSuccess as _0x1b65ae,CompressMutationService as _0x3e5415,parseProtocolChangeset as _0x373719,SnapshotService as _0x247b15,textEncoder as _0x19ed2a,b64DecodeUnicode as _0x474161,isTransformMutationsWithChangesetFailure as _0x3fb3ac,UniverCollaborationPlugin as _0x56d92b}from'@univerjs-pro/collaboration';import{HTTPService as _0x383e70,ISocketService as _0xbd62cb,MergeInterceptorFactory as _0x466875,HTTPRequest as _0x1d94cf,UniverNetworkPlugin as _0x5ed24d,ThresholdInterceptorFactory as _0x12ffda}from'@univerjs/network';import{ITelemetryService as _0x4ef372}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2980d9}from'@univerjs/docs';import{SheetsSelectionsService as _0xe19360,SetSelectionsOperation as _0x3749a6,InsertSheetMutation as _0x107a19,EmptyMutation as _0x298aa4,WorkbookEditablePermission as _0xfc7bf3,SheetPermissionInitController as _0x111d3b}from'@univerjs/sheets';import{ImageSourceType as _0x4146ae,ImageUploadStatusType as _0x4722c2,IImageIoService as _0x4ce86e}from'@univerjs/drawing';import{getGlobalObject as _0x277273}from'@univerjs-pro/license';const mn=_0x417dd3(0x373),gn=_0x417dd3(0x41f),Sn=_0x417dd3(0x493),Lr=_0x417dd3(0x450),En=0x7d0,In=_0x417dd3(0x40d),Tn=_0x417dd3(0x408),Mr=_0x417dd3(0x3dd),Cn=_0x417dd3(0x404),Rn=0x7530,mi=_0x417dd3(0x3ab),gi=0x4e20,bn=0x4e20,On='RETRY_CONNECTING_MAX_COUNT',yn=0x3,xr=_0x417dd3(0x21d),kr=0x3e8,Nn=_0x417dd3(0x204),Dn=_0x417dd3(0x323),Un=_0x417dd3(0x302),An=_0x417dd3(0x3d4),$r=_0x417dd3(0x36a),Hr=_0x417dd3(0x3dc);var Si=(_0x4d2c57=>(_0x4d2c57[_0x4d2c57['UNDEFINED']=0x0]=_0x417dd3(0x306),_0x4d2c57[_0x4d2c57['OK']=0x1]='OK',_0x4d2c57[_0x4d2c57[_0x417dd3(0x1e7)]=0x2]=_0x417dd3(0x1e7),_0x4d2c57[_0x4d2c57[_0x417dd3(0x414)]=0x3]='PERMISSION_DENIED',_0x4d2c57[_0x4d2c57[_0x417dd3(0x4bf)]=0x4]=_0x417dd3(0x4bf),_0x4d2c57[_0x4d2c57[_0x417dd3(0x449)]=0x5]=_0x417dd3(0x449),_0x4d2c57[_0x4d2c57[_0x417dd3(0x273)]=0x6]=_0x417dd3(0x273),_0x4d2c57[_0x4d2c57['INVALID_ARGUMENT']=0x7]=_0x417dd3(0x315),_0x4d2c57[_0x4d2c57[_0x417dd3(0x330)]=0x8]=_0x417dd3(0x330),_0x4d2c57[_0x4d2c57[_0x417dd3(0x33c)]=0x9]=_0x417dd3(0x33c),_0x4d2c57[_0x4d2c57['LOGIN_FAILED']=0xa]=_0x417dd3(0x274),_0x4d2c57[_0x4d2c57[_0x417dd3(0x2d9)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4d2c57[_0x4d2c57[_0x417dd3(0x229)]=0x1771]=_0x417dd3(0x229),_0x4d2c57[_0x4d2c57[_0x417dd3(0x219)]=0x1772]=_0x417dd3(0x219),_0x4d2c57[_0x4d2c57[_0x417dd3(0x4c8)]=0x1773]=_0x417dd3(0x4c8),_0x4d2c57[_0x4d2c57[_0x417dd3(0x2b4)]=0x1b59]=_0x417dd3(0x2b4),_0x4d2c57[_0x4d2c57[_0x417dd3(0x3db)]=0x1b5a]=_0x417dd3(0x3db),_0x4d2c57[_0x4d2c57['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4d2c57[_0x4d2c57[_0x417dd3(0x3a6)]=0x1b5c]=_0x417dd3(0x3a6),_0x4d2c57[_0x4d2c57['APPLY_DUPLICATED']=0x1b5d]=_0x417dd3(0x420),_0x4d2c57[_0x4d2c57[_0x417dd3(0x4ae)]=0x1f41]=_0x417dd3(0x4ae),_0x4d2c57[_0x4d2c57['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x417dd3(0x403),_0x4d2c57[_0x4d2c57['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x417dd3(0x242),_0x4d2c57[_0x4d2c57[_0x417dd3(0x23b)]=0x232b]=_0x417dd3(0x23b),_0x4d2c57[_0x4d2c57[_0x417dd3(0x46a)]=0x232c]=_0x417dd3(0x46a),_0x4d2c57[_0x4d2c57['LICENSE_DISTRO_REJECTED']=0x232d]=_0x417dd3(0x2b2),_0x4d2c57[_0x4d2c57[_0x417dd3(0x370)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4d2c57[_0x4d2c57[_0x417dd3(0x27f)]=0x2712]=_0x417dd3(0x27f),_0x4d2c57[_0x4d2c57[_0x417dd3(0x459)]=0x2713]=_0x417dd3(0x459),_0x4d2c57[_0x4d2c57[_0x417dd3(0x24f)]=0x2714]=_0x417dd3(0x24f),_0x4d2c57[_0x4d2c57[_0x417dd3(0x2bb)]=0x271a]=_0x417dd3(0x2bb),_0x4d2c57[_0x4d2c57[_0x417dd3(0x48c)]=0x271b]=_0x417dd3(0x48c),_0x4d2c57[_0x4d2c57['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x417dd3(0x3ad),_0x4d2c57[_0x4d2c57[_0x417dd3(0x228)]=0x271d]=_0x417dd3(0x228),_0x4d2c57[_0x4d2c57[_0x417dd3(0x321)]=0x271e]=_0x417dd3(0x321),_0x4d2c57[_0x4d2c57['YUUMI_AI_RUN_FAILED']=0x271f]=_0x417dd3(0x439),_0x4d2c57[_0x4d2c57[_0x417dd3(0x3d6)]=0x2af9]=_0x417dd3(0x3d6),_0x4d2c57[_0x4d2c57[_0x417dd3(0x475)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4d2c57[_0x4d2c57[_0x417dd3(0x1f6)]=0x2ee2]='INVALID_INVITE_CODE',_0x4d2c57[_0x4d2c57['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4d2c57[_0x4d2c57[_0x417dd3(0x211)]=0x2ee4]=_0x417dd3(0x211),_0x4d2c57[_0x4d2c57['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x417dd3(0x422),_0x4d2c57[_0x4d2c57[_0x417dd3(0x496)]=0x32c9]=_0x417dd3(0x496),_0x4d2c57[_0x4d2c57[_0x417dd3(0x4cc)]=0x32ca]=_0x417dd3(0x4cc),_0x4d2c57[_0x4d2c57[_0x417dd3(0x255)]=0x32cb]=_0x417dd3(0x255),_0x4d2c57[_0x4d2c57[_0x417dd3(0x428)]=-0x1]=_0x417dd3(0x428),_0x4d2c57))(Si||{}),Q=(_0x572a3e=>(_0x572a3e[_0x572a3e[_0x417dd3(0x426)]=0x0]=_0x417dd3(0x426),_0x572a3e[_0x572a3e[_0x417dd3(0x1ca)]=0x1]=_0x417dd3(0x1ca),_0x572a3e[_0x572a3e[_0x417dd3(0x28b)]=0x2]='UNIVER_SHEET',_0x572a3e[_0x572a3e['UNIVER_SLIDE']=0x3]=_0x417dd3(0x1d5),_0x572a3e[_0x572a3e[_0x417dd3(0x2bc)]=0x4]=_0x417dd3(0x2bc),_0x572a3e[_0x572a3e[_0x417dd3(0x428)]=-0x1]='UNRECOGNIZED',_0x572a3e))(Q||{}),F=(_0xaa8c6b=>(_0xaa8c6b[_0xaa8c6b[_0x417dd3(0x45b)]=0x0]=_0x417dd3(0x45b),_0xaa8c6b[_0xaa8c6b[_0x417dd3(0x385)]=0x1]='HELLO',_0xaa8c6b[_0xaa8c6b['JOIN']=0x2]='JOIN',_0xaa8c6b[_0xaa8c6b[_0x417dd3(0x23f)]=0x3]=_0x417dd3(0x23f),_0xaa8c6b[_0xaa8c6b[_0x417dd3(0x3b8)]=0x4]='INGEST',_0xaa8c6b[_0xaa8c6b[_0x417dd3(0x392)]=0x5]='HEARTBEAT',_0xaa8c6b[_0xaa8c6b[_0x417dd3(0x383)]=0x6]=_0x417dd3(0x383),_0xaa8c6b[_0xaa8c6b[_0x417dd3(0x428)]=-0x1]=_0x417dd3(0x428),_0xaa8c6b))(F||{}),ge=(_0x2fdd9d=>(_0x2fdd9d[_0x2fdd9d[_0x417dd3(0x1ee)]=0x0]=_0x417dd3(0x1ee),_0x2fdd9d[_0x2fdd9d['OK']=0x1]='OK',_0x2fdd9d[_0x2fdd9d[_0x417dd3(0x1d3)]=0x2]='FAIL',_0x2fdd9d[_0x2fdd9d[_0x417dd3(0x35e)]=0x3e9]=_0x417dd3(0x35e),_0x2fdd9d[_0x2fdd9d['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x417dd3(0x350),_0x2fdd9d[_0x2fdd9d[_0x417dd3(0x2db)]=0x3eb]=_0x417dd3(0x2db),_0x2fdd9d[_0x2fdd9d[_0x417dd3(0x3f9)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2fdd9d[_0x2fdd9d[_0x417dd3(0x428)]=-0x1]=_0x417dd3(0x428),_0x2fdd9d))(ge||{}),Ei=(_0x255104=>(_0x255104[_0x255104[_0x417dd3(0x2ff)]=0x0]=_0x417dd3(0x2ff),_0x255104[_0x255104[_0x417dd3(0x277)]=0x1]=_0x417dd3(0x277),_0x255104[_0x255104['HttpExport']=0x2]='HttpExport',_0x255104[_0x255104[_0x417dd3(0x457)]=0x3]=_0x417dd3(0x457),_0x255104[_0x255104['UnitSnapshot']=0x4]=_0x417dd3(0x45d),_0x255104[_0x255104['UserProfileImg']=0x5]=_0x417dd3(0x469),_0x255104[_0x255104[_0x417dd3(0x428)]=-0x1]=_0x417dd3(0x428),_0x255104))(Ei||{});const q=_0x417dd3(0x46e),wn={};var re=(_0x1e705e=>(_0x1e705e[_0x417dd3(0x433)]=_0x417dd3(0x433),_0x1e705e[_0x417dd3(0x414)]='PERMISSION_DENIED',_0x1e705e['CONFLICT']=_0x417dd3(0x443),_0x1e705e[_0x417dd3(0x299)]=_0x417dd3(0x299),_0x1e705e[_0x417dd3(0x345)]=_0x417dd3(0x345),_0x1e705e[_0x417dd3(0x1f4)]='SOCKET_FAILED_RETRY',_0x1e705e['SOCKET_FAILED']='SOCKET_FAILED',_0x1e705e[_0x417dd3(0x3d2)]='SUBMIT_CHANGESET_TIMEOUT',_0x1e705e))(re||{});class pe{constructor(){var _0xc8175a=_0x417dd3;N(this,_0xc8175a(0x3b2),new _0x18a626()),N(this,'event$',this['_event$'][_0xc8175a(0x378)]());}['emitEvent'](_0xc6d36a){this['_event$']['next'](_0xc6d36a);}}const Pn=_0x173afe(_0x417dd3(0x2a8));function Ln(_0x4e46fc){var _0x1ec22c=_0x417dd3,_0x2d932a,_0x49fa8e,_0x10c7d9,_0x4cdbff,_0x3cb04c;const _0x45a6b1=_0x4e46fc['data'],_0x4743b5=JSON[_0x1ec22c(0x39a)](_0x45a6b1);switch(_0x4743b5[_0x1ec22c(0x35b)]){case F[_0x1ec22c(0x392)]:case F[_0x1ec22c(0x385)]:{const _0xfd44ed=_0x4743b5[_0x1ec22c(0x374)];return{..._0x4743b5,'data':_0xfd44ed,'cmd':_0x4743b5['cmd']};}case F[_0x1ec22c(0x465)]:{const _0x45a85f=_0x4743b5[_0x1ec22c(0x20c)];return{..._0x4743b5,'data':_0x45a85f,'cmd':_0x4743b5[_0x1ec22c(0x35b)]};}case F[_0x1ec22c(0x383)]:{const _0x1a3aaf=_0x4743b5[_0x1ec22c(0x3b0)];switch(_0x1a3aaf[_0x1ec22c(0x284)]){case _0x371ea6[_0x1ec22c(0x471)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':(_0x2d932a=_0x1a3aaf[_0x1ec22c(0x365)])==null?void 0x0:_0x2d932a['cs']},'cmd':_0x4743b5['cmd']};case _0x371ea6[_0x1ec22c(0x2cc)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':(_0x49fa8e=_0x1a3aaf[_0x1ec22c(0x435)])==null?void 0x0:_0x49fa8e['cs']},'cmd':_0x4743b5['cmd']};case _0x371ea6[_0x1ec22c(0x261)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':(_0x10c7d9=_0x1a3aaf[_0x1ec22c(0x34e)])==null?void 0x0:_0x10c7d9['cs']},'cmd':_0x4743b5['cmd']};case _0x371ea6[_0x1ec22c(0x220)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':(_0x4cdbff=_0x1a3aaf['csRejEvent'])==null?void 0x0:_0x4cdbff['cs']},'cmd':_0x4743b5[_0x1ec22c(0x35b)]};case _0x371ea6[_0x1ec22c(0x1fd)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':(_0x3cb04c=_0x1a3aaf[_0x1ec22c(0x347)])==null?void 0x0:_0x3cb04c['cs']},'cmd':_0x4743b5[_0x1ec22c(0x35b)]};case _0x371ea6[_0x1ec22c(0x3e5)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':_0x1a3aaf['updateCursorEvent']},'cmd':_0x4743b5[_0x1ec22c(0x35b)]};case _0x371ea6[_0x1ec22c(0x35c)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':_0x1a3aaf[_0x1ec22c(0x32e)]},'cmd':_0x4743b5[_0x1ec22c(0x35b)]};case _0x371ea6['USERS_LEAVE']:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':_0x1a3aaf[_0x1ec22c(0x2f6)]},'cmd':_0x4743b5[_0x1ec22c(0x35b)]};case _0x371ea6['LIVESHARE_NEW_HOST']:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':_0x1a3aaf[_0x1ec22c(0x2ca)]},'cmd':_0x4743b5['cmd']};case _0x371ea6[_0x1ec22c(0x3c8)]:case _0x371ea6[_0x1ec22c(0x32d)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':_0x1a3aaf['liveShareOperation']},'cmd':_0x4743b5['cmd']};case _0x371ea6[_0x1ec22c(0x248)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':_0x1a3aaf[_0x1ec22c(0x2ca)]},'cmd':_0x4743b5[_0x1ec22c(0x35b)]};case _0x371ea6[_0x1ec22c(0x38a)]:return{..._0x4743b5,'data':_0x1a3aaf,'cmd':_0x4743b5[_0x1ec22c(0x35b)]};case _0x371ea6[_0x1ec22c(0x36b)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':_0x1a3aaf['commentUpdateEvent']},'cmd':_0x4743b5[_0x1ec22c(0x35b)]};case _0x371ea6[_0x1ec22c(0x3be)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':_0x1a3aaf['updatePermissionObjEvent']},'cmd':_0x4743b5[_0x1ec22c(0x35b)]};case _0x371ea6[_0x1ec22c(0x48f)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':_0x1a3aaf[_0x1ec22c(0x3ce)]},'cmd':_0x4743b5[_0x1ec22c(0x35b)]};case _0x371ea6[_0x1ec22c(0x1cb)]:return{..._0x4743b5,'data':{..._0x1a3aaf,'data':_0x1a3aaf[_0x1ec22c(0x3e9)]},'cmd':_0x4743b5[_0x1ec22c(0x35b)]};default:return _0x4743b5;}}default:return _0x4743b5;}}function Mn(_0x11a24e){var _0x4fe003=_0x417dd3;switch(_0x11a24e[_0x4fe003(0x35b)]){case F[_0x4fe003(0x392)]:case F[_0x4fe003(0x385)]:return JSON[_0x4fe003(0x2ee)]({'cmd':_0x11a24e[_0x4fe003(0x35b)],'routeKey':_0x11a24e['routeKey']});case F[_0x4fe003(0x3b8)]:{let _0x40def6;switch(_0x11a24e['data'][_0x4fe003(0x284)]){case _0x371ea6[_0x4fe003(0x3e5)]:{_0x40def6={'eventID':_0x371ea6['UPDATE_CURSOR'],'updateCursorEvent':_0x11a24e['data'][_0x4fe003(0x2a5)]};break;}case _0x371ea6['USERS_LEAVE']:{_0x40def6={'eventID':_0x371ea6[_0x4fe003(0x47c)],'leaveEvent':_0x11a24e['data']['data']};break;}case _0x371ea6['USERS_ENTER']:{_0x40def6={'eventID':_0x371ea6['USERS_ENTER'],'joinEvent':_0x11a24e[_0x4fe003(0x2a5)][_0x4fe003(0x2a5)]};break;}case _0x371ea6[_0x4fe003(0x1ce)]:{_0x40def6={'eventID':_0x371ea6['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x11a24e[_0x4fe003(0x2a5)]['data']};break;}case _0x371ea6[_0x4fe003(0x32d)]:{_0x40def6={'eventID':_0x371ea6[_0x4fe003(0x32d)],'liveShareOperation':_0x11a24e['data']['data']};break;}case _0x371ea6['LIVESHARE_TERMINATE']:{_0x40def6={'eventID':_0x371ea6[_0x4fe003(0x248)],'liveShareTerminate':_0x11a24e[_0x4fe003(0x2a5)][_0x4fe003(0x2a5)]};break;}case _0x371ea6[_0x4fe003(0x313)]:{_0x40def6={'eventID':_0x371ea6[_0x4fe003(0x313)],'liveShareRequestHost':_0x11a24e[_0x4fe003(0x2a5)][_0x4fe003(0x2a5)]};break;}case _0x371ea6[_0x4fe003(0x3c8)]:{_0x40def6={'eventID':_0x371ea6[_0x4fe003(0x3c8)]};break;}default:_0x40def6={'eventID':_0x11a24e[_0x4fe003(0x2a5)]['eventID']};}return JSON['stringify']({'cmd':_0x11a24e['cmd'],'routeKey':_0x11a24e['routeKey'],'collaMsg':_0x40def6});}case F[_0x4fe003(0x465)]:return JSON[_0x4fe003(0x2ee)]({'cmd':_0x11a24e[_0x4fe003(0x35b)],'routeKey':_0x11a24e[_0x4fe003(0x30b)],'joinReq':_0x11a24e['data']});case F[_0x4fe003(0x23f)]:return JSON[_0x4fe003(0x2ee)]({'cmd':_0x11a24e[_0x4fe003(0x35b)],'routeKey':_0x11a24e[_0x4fe003(0x30b)],'leaveReq':_0x11a24e['data']});default:throw new Error(_0x4fe003(0x400));}}var xn=Object[_0x417dd3(0x3a9)],kn=(_0x24dbd6,_0x72f50c,_0x3cebb6,_0x3f62a4)=>{var _0x540ce9=_0x417dd3;for(var _0x5a07ad=_0x3f62a4>0x1?void 0x0:_0x3f62a4?xn(_0x72f50c,_0x3cebb6):_0x72f50c,_0x563143=_0x24dbd6[_0x540ce9(0x48d)]-0x1,_0x1cb077;_0x563143>=0x0;_0x563143--)(_0x1cb077=_0x24dbd6[_0x563143])&&(_0x5a07ad=_0x1cb077(_0x5a07ad)||_0x5a07ad);return _0x5a07ad;},Ae=(_0x373fd0,_0x26b864)=>(_0x556089,_0x233908)=>_0x26b864(_0x556089,_0x233908,_0x373fd0);const Ii=_0x173afe(_0x417dd3(0x44f));function $n(_0x4f8630,_0x29f5e7,_0x51e36e){var _0x4505bb=_0x417dd3;return _0x4f8630+'/'+_0x29f5e7+_0x4505bb(0x25b)+_0x51e36e+'/new_changes';}let Gt=class extends _0x2943b3{constructor(_0x225aca,_0x408159,_0x1d686f,_0x42fe76,_0x45874b){var _0x545d98=_0x417dd3;super(),this[_0x545d98(0x212)]=_0x225aca,this['_httpService']=_0x408159,this['_configService']=_0x1d686f,this['_logService']=_0x42fe76,this['_snapshotServerService']=_0x45874b;}[_0x417dd3(0x47b)](_0x28b012){var _0x3d3add=_0x417dd3;const _0x32f857=this['_injector'][_0x3d3add(0x2f8)](_0xbd62cb);if(!_0x32f857)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x408f37=_0x32f857[_0x3d3add(0x2e9)](_0x28b012);if(!_0x408f37)throw new Error(_0x3d3add(0x3cd));const _0x4d8595=new _0xdb217b(),_0x366872=new _0x18a626();_0x4d8595[_0x3d3add(0x262)](_0x408f37[_0x3d3add(0x4a7)][_0x3d3add(0x318)](_0x30c7cc=>_0x366872[_0x3d3add(0x367)](_0x30c7cc))),_0x4d8595[_0x3d3add(0x262)](_0x47b7f3(()=>_0x366872[_0x3d3add(0x467)]()));const _0x1d562d=new _0x18a626();_0x4d8595['add'](_0x408f37[_0x3d3add(0x208)][_0x3d3add(0x318)](_0x485850=>_0x1d562d[_0x3d3add(0x367)](_0x485850))),_0x4d8595[_0x3d3add(0x262)](_0x47b7f3(()=>_0x1d562d[_0x3d3add(0x467)]()));const _0x4ad123=new _0x18a626();_0x4d8595[_0x3d3add(0x262)](_0x408f37['message$'][_0x3d3add(0x318)](_0x32a754=>{var _0x48d1bf=_0x3d3add;const _0x4d21b2=Ln(_0x32a754);_0x4ad123[_0x48d1bf(0x367)](_0x4d21b2);})),_0x4d8595[_0x3d3add(0x262)](_0x47b7f3(()=>_0x4ad123[_0x3d3add(0x467)]()));let _0x3b1b03;const _0x1c5449=()=>{var _0x46af5f=_0x3d3add;_0x1d562d[_0x46af5f(0x367)](new Event(_0x46af5f(0x41e))),_0x366872['next'](new Event('connection\x20error')),_0x3b1b03['close']();};return _0x3b1b03={'memberID':'','close$':_0x366872[_0x3d3add(0x378)](),'error$':_0x1d562d[_0x3d3add(0x378)](),'open$':_0x408f37[_0x3d3add(0x49a)],'message$':_0x4ad123['asObservable'](),'send':_0x3f96e3=>{var _0x2f9a54=_0x3d3add;if(_0x3f96e3[_0x2f9a54(0x35b)]===F['INGEST']){if(_0x3f96e3[_0x2f9a54(0x2a5)][_0x2f9a54(0x284)]===_0x371ea6[_0x2f9a54(0x4ab)]){this['_submitChangeset'](_0x3b1b03,_0x3f96e3['data'])[_0x2f9a54(0x442)](_0x2a85b7=>{var _0x163ca6=_0x2f9a54;this[_0x163ca6(0x340)][_0x163ca6(0x305)](_0x2a85b7),_0x1c5449();});return;}if(_0x3f96e3[_0x2f9a54(0x2a5)][_0x2f9a54(0x284)]===_0x371ea6['FETCH_MISSING']){const _0x4d355b=_0x3f96e3[_0x2f9a54(0x2a5)];this[_0x2f9a54(0x4ba)](_0x4d355b)[_0x2f9a54(0x286)](_0xc37f13=>{var _0x18b64a=_0x2f9a54;_0x4ad123[_0x18b64a(0x367)]({'cmd':F[_0x18b64a(0x383)],'code':ge['OK'],'routeKey':_0x4d355b[_0x18b64a(0x2a5)]['unitID'],'routeType':'','data':{'eventID':_0x371ea6[_0x18b64a(0x30e)],'data':{'changesets':_0xc37f13}}});})[_0x2f9a54(0x442)](_0x47f4f9=>{var _0x41ee70=_0x2f9a54;this[_0x41ee70(0x340)][_0x41ee70(0x305)](_0x47f4f9),_0x1c5449();});return;}}_0x408f37[_0x2f9a54(0x3cb)](Mn(_0x3f96e3));},'close':()=>{var _0xd3983a=_0x3d3add;_0x408f37[_0xd3983a(0x3b6)](),_0x4d8595[_0xd3983a(0x495)]();}},_0x3b1b03;}async['_submitChangeset'](_0x341ace,_0x2e5167){var _0x1e57fa=_0x417dd3,_0x837fc3,_0x1f5fe5;const {unitType:_0x568140,unitID:_0x3ed054,changeset:_0x5bc417}=_0x2e5167[_0x1e57fa(0x2a5)],_0x461795={'unitID':_0x3ed054,'memberID':_0x341ace[_0x1e57fa(0x427)],'type':_0x568140,'changeset':_0x4ec8b4(_0x5bc417)},_0x271690=this[_0x1e57fa(0x2d3)][_0x1e57fa(0x44e)](Nn),_0x4f029f=this['_configService'][_0x1e57fa(0x44e)](q),_0x4bf939=$n((_0x1f5fe5=(_0x837fc3=_0x4f029f==null?void 0x0:_0x4f029f[_0x1e57fa(0x1e2)])!=null?_0x837fc3:_0x271690)!=null?_0x1f5fe5:Dn,_0x568140,_0x3ed054);try{await this[_0x1e57fa(0x42f)]['post'](_0x4bf939,{'body':_0x461795});}catch(_0x2e0525){throw this[_0x1e57fa(0x340)][_0x1e57fa(0x305)](_0x1e57fa(0x394),_0x1e57fa(0x485)),_0x2e0525;}}async[_0x417dd3(0x4ba)](_0x125ead){var _0x46979b=_0x417dd3;const {unitID:_0xc81ad,from:_0x2165ec,to:_0x4cda7e,unitType:_0x4f74fa}=_0x125ead[_0x46979b(0x2a5)];return(await this[_0x46979b(0x1d9)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0xc81ad,'type':_0x4f74fa,'from':_0x2165ec,'to':_0x4cda7e}))[_0x46979b(0x288)];}};Gt=kn([Ae(0x0,_0x25220a(_0x4eec35)),Ae(0x1,_0x25220a(_0x383e70)),Ae(0x2,_0x2deb3f),Ae(0x3,_0x227eb4),Ae(0x4,_0x3c8b0e)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x1d2d8a){var _0xc36460=_0x417dd3;return JSON[_0xc36460(0x2ee)](_0x1d2d8a)[_0xc36460(0x48d)];}class Ti{constructor(){var _0x35fd68=_0x417dd3;N(this,_0x35fd68(0x28f),new _0x18a626()),N(this,_0x35fd68(0x34a),this[_0x35fd68(0x28f)]['asObservable']());}[_0x417dd3(0x2e4)](_0x438bf2){var _0x54b755=_0x417dd3;this[_0x54b755(0x28f)][_0x54b755(0x367)](_0x438bf2);}}var jn=Object[_0x417dd3(0x3a9)],Fn=(_0x7c65fd,_0x3f2028,_0x89b13d,_0x4ae8f8)=>{var _0x53f9d6=_0x417dd3;for(var _0x2cdf4b=_0x4ae8f8>0x1?void 0x0:_0x4ae8f8?jn(_0x3f2028,_0x89b13d):_0x3f2028,_0x3d803d=_0x7c65fd[_0x53f9d6(0x48d)]-0x1,_0x1485f7;_0x3d803d>=0x0;_0x3d803d--)(_0x1485f7=_0x7c65fd[_0x3d803d])&&(_0x2cdf4b=_0x1485f7(_0x2cdf4b)||_0x2cdf4b);return _0x2cdf4b;},Wt=(_0x2f6391,_0x2bb0fd)=>(_0x3805ff,_0x536c96)=>_0x2bb0fd(_0x3805ff,_0x536c96,_0x2f6391);let Le=class extends _0x2943b3{constructor(_0x356ef6,_0x2af7a2){var _0x11c25c=_0x417dd3;super(),N(this,'_roomMembers',new Map()),N(this,_0x11c25c(0x20f),new _0x18a626()),(this[_0x11c25c(0x38d)]=_0x356ef6,this[_0x11c25c(0x454)]=_0x2af7a2,this[_0x11c25c(0x466)](_0x1294e8(this[_0x11c25c(0x38d)][_0x11c25c(0x47e)](_0x1fe67e['UNIVER_SHEET'])[_0x11c25c(0x483)](_0x1613eb(_0x3edd6f=>_0x3edd6f[_0x11c25c(0x20e)]())),this[_0x11c25c(0x38d)][_0x11c25c(0x47e)](_0x1fe67e[_0x11c25c(0x1ca)])[_0x11c25c(0x483)](_0x1613eb(_0x4c9f11=>_0x4c9f11['getUnitId']())),this[_0x11c25c(0x38d)][_0x11c25c(0x47e)](_0x1fe67e[_0x11c25c(0x1d5)])[_0x11c25c(0x483)](_0x1613eb(_0x28b67d=>_0x28b67d[_0x11c25c(0x20e)]())))[_0x11c25c(0x318)](_0x4a4c9e=>this['_removeRoom'](_0x4a4c9e))));}['waitForRoom$'](_0x28b61a){var _0x5bd133=_0x417dd3;return this[_0x5bd133(0x29d)][_0x5bd133(0x33e)](_0x28b61a)?_0x62ad99(this[_0x5bd133(0x29d)][_0x5bd133(0x2f8)](_0x28b61a)):this['_roomCreated$'][_0x5bd133(0x483)](_0x1613eb(_0x521efd=>{var _0x553a2c=_0x5bd133;if(_0x521efd===_0x28b61a)return this[_0x553a2c(0x29d)][_0x553a2c(0x2f8)](_0x521efd);}));}[_0x417dd3(0x1c5)](_0x2d1e2a){var _0x4950c8=_0x417dd3;this['_userManagerService'][_0x4950c8(0x1c5)](_0x2d1e2a);}[_0x417dd3(0x46d)](){var _0x1ea94f=_0x417dd3;return this[_0x1ea94f(0x454)][_0x1ea94f(0x46d)]();}['updateMember'](_0x430506,_0x499520){var _0x4fe293=_0x417dd3;let _0x21a5c5=this[_0x4fe293(0x29d)][_0x4fe293(0x2f8)](_0x430506);_0x21a5c5||(_0x21a5c5=new Vn(),this['_roomMembers']['set'](_0x430506,_0x21a5c5),this[_0x4fe293(0x20f)]['next'](_0x430506)),_0x21a5c5[_0x4fe293(0x2d0)](_0x499520);}[_0x417dd3(0x45f)](_0x58b0dc,_0x4e5bbb){var _0x33711a=_0x417dd3;const _0x399afe=this[_0x33711a(0x29d)][_0x33711a(0x2f8)](_0x58b0dc);_0x399afe&&_0x399afe[_0x33711a(0x45f)](_0x4e5bbb);}[_0x417dd3(0x3c9)](_0x5c6005){var _0x24b60e=_0x417dd3;return this[_0x24b60e(0x29d)][_0x24b60e(0x2f8)](_0x5c6005);}[_0x417dd3(0x294)](_0x368b66,_0xeb6c0d){var _0x2408c0=_0x417dd3;const _0x345bf6=this[_0x2408c0(0x29d)]['get'](_0x368b66);if(_0x345bf6)return _0x345bf6[_0x2408c0(0x294)](_0xeb6c0d);}[_0x417dd3(0x4c6)](_0x267e0f){var _0x5d8c39=_0x417dd3;const _0x315360=this[_0x5d8c39(0x29d)][_0x5d8c39(0x2f8)](_0x267e0f);_0x315360&&(_0x315360[_0x5d8c39(0x495)](),this[_0x5d8c39(0x29d)]['delete'](_0x267e0f));}[_0x417dd3(0x495)](){var _0x27a543=_0x417dd3;this[_0x27a543(0x29d)]['forEach'](_0x154fea=>_0x154fea['dispose']()),this[_0x27a543(0x29d)]['clear'](),this[_0x27a543(0x20f)][_0x27a543(0x467)]();}};Le=Fn([Wt(0x0,_0x34aa87),Wt(0x1,_0x25220a(_0x12aa14))],Le);class Vn extends _0x2943b3{constructor(){var _0x726e14=_0x417dd3;super(...arguments),N(this,_0x726e14(0x275),new Map()),N(this,_0x726e14(0x2e7),new _0x5995bf(this[_0x726e14(0x275)])),N(this,_0x726e14(0x2a7),this['_members$'][_0x726e14(0x378)]());}[_0x417dd3(0x495)](){var _0x59c1a4=_0x417dd3;this[_0x59c1a4(0x275)]['clear']();}['updateMember'](_0x4abb1a){var _0x28548c=_0x417dd3;this['_members']['set'](_0x4abb1a['memberID'],_0x4abb1a),this[_0x28548c(0x214)]();}['removeMember'](_0x47355a){var _0x1aebb3=_0x417dd3;this[_0x1aebb3(0x275)][_0x1aebb3(0x445)](_0x47355a);}[_0x417dd3(0x294)](_0x3eecd9){var _0x2b999b=_0x417dd3;return this[_0x2b999b(0x275)][_0x2b999b(0x2f8)](_0x3eecd9);}[_0x417dd3(0x4ad)](){var _0x58ac55=_0x417dd3;return Array['from'](this[_0x58ac55(0x275)][_0x58ac55(0x36d)]());}[_0x417dd3(0x214)](){var _0x325042=_0x417dd3;this[_0x325042(0x2e7)][_0x325042(0x367)](this[_0x325042(0x275)]);}}var Gn=Object[_0x417dd3(0x3a9)],Wn=(_0x4c33be,_0x465d47,_0x6f3e43,_0x384cd3)=>{var _0x40f5d3=_0x417dd3;for(var _0x3a6d9a=_0x384cd3>0x1?void 0x0:_0x384cd3?Gn(_0x465d47,_0x6f3e43):_0x465d47,_0x34dde9=_0x4c33be[_0x40f5d3(0x48d)]-0x1,_0x81c175;_0x34dde9>=0x0;_0x34dde9--)(_0x81c175=_0x4c33be[_0x34dde9])&&(_0x3a6d9a=_0x81c175(_0x3a6d9a)||_0x3a6d9a);return _0x3a6d9a;},me=(_0x5c89c5,_0x59eb94)=>(_0x596651,_0x2a56e0)=>_0x59eb94(_0x596651,_0x2a56e0,_0x5c89c5),Ee=(_0x3d44ed=>(_0x3d44ed[_0x3d44ed[_0x417dd3(0x3ba)]=0x0]=_0x417dd3(0x3ba),_0x3d44ed[_0x3d44ed[_0x417dd3(0x297)]=0x1]=_0x417dd3(0x297),_0x3d44ed[_0x3d44ed['OFFLINE']=0x2]=_0x417dd3(0x2b3),_0x3d44ed[_0x3d44ed[_0x417dd3(0x4c2)]=0x3]='ONLINE',_0x3d44ed))(Ee||{});const Yt={[ge[_0x417dd3(0x1d3)]]:'session.join-failed',[ge[_0x417dd3(0x35e)]]:_0x417dd3(0x3ae),[ge[_0x417dd3(0x350)]]:_0x417dd3(0x2be),[ge[_0x417dd3(0x2db)]]:'session.room-permission-denied',[ge[_0x417dd3(0x3f9)]]:'session.room-cnt-exceeds'};let Et=class extends _0x4728bc{constructor(_0x575cb1,_0x183be2,_0x233fd4,_0x2e82dc,_0x58573d,_0x35d1b0,_0x15e100,_0x1e202b,_0x153ed5){var _0xfb09d8=_0x417dd3;super(),N(this,_0xfb09d8(0x441),new _0x5995bf(0x0)),N(this,_0xfb09d8(0x3d5),this[_0xfb09d8(0x441)]['asObservable']()),N(this,_0xfb09d8(0x3b2),new _0x18a626()),N(this,'event$',this[_0xfb09d8(0x3b2)][_0xfb09d8(0x378)]()),N(this,_0xfb09d8(0x2b1)),N(this,_0xfb09d8(0x42d)),N(this,_0xfb09d8(0x45c)),N(this,_0xfb09d8(0x239),!0x1),N(this,_0xfb09d8(0x28c),null),(this[_0xfb09d8(0x1d0)]=_0x575cb1,this['_logService']=_0x233fd4,this[_0xfb09d8(0x2d3)]=_0x2e82dc,this[_0xfb09d8(0x3d9)]=_0x58573d,this['_memberService']=_0x35d1b0,this['_commentService']=_0x15e100,this[_0xfb09d8(0x216)]=_0x1e202b,this['_telemetryService']=_0x153ed5,this['_shouldReportTelemetry']=!!this[_0xfb09d8(0x3c7)],_0x183be2[_0xfb09d8(0x483)](_0x4f278e(this['dispose$']))[_0xfb09d8(0x318)](_0x391438=>{var _0x3bae05=_0xfb09d8,_0x50d273;typeof _0x391438>'u'||(this[_0x3bae05(0x2b1)]=_0x391438,_0x391438?(this[_0x3bae05(0x4a4)](_0x391438),this['_socketMessageSubscription']=_0x391438[_0x3bae05(0x3f0)]['subscribe'](_0x2374e8=>{var _0x2c2639=_0x3bae05;_0x2374e8[_0x2c2639(0x30b)]===this['_unitID']&&this['_onCombEvent'](_0x2374e8);})):(this[_0x3bae05(0x245)](),this[_0x3bae05(0x441)]['next'](0x2),(_0x50d273=this[_0x3bae05(0x42d)])==null||_0x50d273[_0x3bae05(0x289)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x1163dd=_0x417dd3;return this[_0x1163dd(0x441)][_0x1163dd(0x4a9)]();}[_0x417dd3(0x2fa)](){var _0x1ed830=_0x417dd3,_0x4d3658,_0xf1ce49;return(_0xf1ce49=(_0x4d3658=this[_0x1ed830(0x2b1)])==null?void 0x0:_0x4d3658[_0x1ed830(0x427)])!=null?_0xf1ce49:null;}[_0x417dd3(0x495)](){var _0x147a70=_0x417dd3;super[_0x147a70(0x495)](),this['dispose$']['next'](),this['dispose$']['complete']();}['close'](){var _0x16316c=_0x417dd3,_0x580d40,_0x2978d8;this[_0x16316c(0x245)](),(_0x580d40=this['_socket'])==null||_0x580d40[_0x16316c(0x3cb)]({'cmd':F[_0x16316c(0x23f)],'data':{'roomID':this[_0x16316c(0x1d0)]}}),(_0x2978d8=this['_socket'])==null||_0x2978d8[_0x16316c(0x3b6)](),this[_0x16316c(0x3b2)][_0x16316c(0x467)](),this[_0x16316c(0x441)][_0x16316c(0x467)](),this[_0x16316c(0x495)]();}['_onCombEvent'](_0x1b6397){var _0x35cfd5=_0x417dd3;_0x1b6397['cmd']===F[_0x35cfd5(0x465)]?this[_0x35cfd5(0x3bb)](_0x1b6397):_0x1b6397[_0x35cfd5(0x35b)]===F[_0x35cfd5(0x383)]&&this['_onRecvEvent'](_0x1b6397);}['_joinRoom'](_0x312dbe){var _0x3d8f7c=_0x417dd3;this[_0x3d8f7c(0x441)]['next'](0x1),_0x312dbe[_0x3d8f7c(0x3cb)]({'cmd':F[_0x3d8f7c(0x465)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x3d8f7c(0x1d0)]}]}});}[_0x417dd3(0x3bb)](_0x5451a1){var _0x2293b7=_0x417dd3,_0x5e1ed4;if(_0x5451a1[_0x2293b7(0x2fd)]in Yt){this[_0x2293b7(0x216)][_0x2293b7(0x30f)]({'id':re[_0x2293b7(0x345)],'data':Yt[_0x5451a1['code']]}),this[_0x2293b7(0x441)]['next'](0x2);return;}this[_0x2293b7(0x441)][_0x2293b7(0x367)](0x3);const _0xf94e4=(_0x5e1ed4=_0x5451a1['data'][_0x2293b7(0x40a)][this[_0x2293b7(0x1d0)]])==null?void 0x0:_0x5e1ed4[_0x2293b7(0x2b7)];_0xf94e4&&_0xf94e4[_0x2293b7(0x2e0)](_0x4c8fa1=>this[_0x2293b7(0x352)][_0x2293b7(0x2d0)](this[_0x2293b7(0x1d0)],_0x4c8fa1));}[_0x417dd3(0x44d)](_0x14ddc5){var _0x4694e9=_0x417dd3;try{const _0x426f7d=_0x14ddc5[_0x4694e9(0x2a5)];switch(_0x426f7d[_0x4694e9(0x284)]){case _0x371ea6['USERS_ENTER']:this[_0x4694e9(0x3fc)](_0x426f7d),this[_0x4694e9(0x3b2)][_0x4694e9(0x367)](_0x426f7d);break;case _0x371ea6[_0x4694e9(0x47c)]:this[_0x4694e9(0x4c0)](_0x426f7d),this[_0x4694e9(0x3b2)][_0x4694e9(0x367)](_0x426f7d);break;case _0x371ea6[_0x4694e9(0x2cc)]:case _0x371ea6[_0x4694e9(0x1fd)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x4694e9(0x3b2)][_0x4694e9(0x367)](_0x426f7d);break;case _0x371ea6[_0x4694e9(0x38a)]:this[_0x4694e9(0x340)][_0x4694e9(0x305)](_0x4694e9(0x232)+JSON[_0x4694e9(0x2ee)](_0x426f7d)),this[_0x4694e9(0x3b2)][_0x4694e9(0x367)](_0x426f7d);break;case _0x371ea6['COMMENT_UPDATE']:this[_0x4694e9(0x4b5)]['onCommentUpdate'](_0x426f7d[_0x4694e9(0x2a5)]),this[_0x4694e9(0x3b2)][_0x4694e9(0x367)](_0x426f7d);break;default:this[_0x4694e9(0x3b2)][_0x4694e9(0x367)](_0x426f7d);}}catch(_0x71454d){this[_0x4694e9(0x340)][_0x4694e9(0x305)](_0x71454d,_0x14ddc5);}}[_0x417dd3(0x3fc)](_0x254291){var _0x34738d=_0x417dd3;this[_0x34738d(0x352)][_0x34738d(0x2d0)](this[_0x34738d(0x1d0)],_0x254291[_0x34738d(0x2a5)]);}['_onUserLeave'](_0x5f01ed){var _0x348de3=_0x417dd3;this[_0x348de3(0x352)][_0x348de3(0x45f)](this[_0x348de3(0x1d0)],_0x5f01ed[_0x348de3(0x2a5)][_0x348de3(0x427)]);}async[_0x417dd3(0x3cb)](_0x3cf2ec,_0x616844){var _0x97a80d=_0x417dd3;if(this[_0x97a80d(0x448)]!==0x3||!this[_0x97a80d(0x2b1)])throw new Error(_0x97a80d(0x26a));try{_0x3cf2ec['eventID']===_0x371ea6[_0x97a80d(0x4ab)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x97a80d(0x1e9)](_0x3cf2ec)),this[_0x97a80d(0x2b1)][_0x97a80d(0x3cb)]({'cmd':F[_0x97a80d(0x3b8)],'routeKey':_0x616844,'routeType':'','data':_0x3cf2ec});}catch(_0x2cffcd){this['_logService'][_0x97a80d(0x305)](_0x2cffcd);}}[_0x417dd3(0x1cf)](){var _0x1ceede=_0x417dd3,_0x365eb5;this[_0x1ceede(0x45c)]=setTimeout(()=>{var _0xae1e0c=_0x1ceede;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService']['emitEvent']({'id':re[_0xae1e0c(0x3d2)]});},(_0x365eb5=this[_0x1ceede(0x2d3)][_0x1ceede(0x44e)](mi))!=null?_0x365eb5:gi);}[_0x417dd3(0x492)](){var _0x1a2cad=_0x417dd3;this[_0x1a2cad(0x45c)]&&(clearTimeout(this[_0x1a2cad(0x45c)]),this[_0x1a2cad(0x45c)]=null);}[_0x417dd3(0x1e9)](_0x52d964){var _0x971c55=_0x417dd3;if(!this[_0x971c55(0x239)])return;const {data:_0x5749a3}=_0x52d964,{unitID:_0x4a5980,changeset:_0x5ed55e}=_0x5749a3,{mutations:_0x2b96cc,type:_0x354db8}=_0x5ed55e;this[_0x971c55(0x28c)]={'unitId':_0x4a5980,'type':_0x354db8,'startTime':performance[_0x971c55(0x43d)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x2b96cc)};}[_0x417dd3(0x224)](){var _0x557861=_0x417dd3;if(this[_0x557861(0x239)]){if(!this[_0x557861(0x28c)]){this[_0x557861(0x340)][_0x557861(0x305)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x557861(0x28c)]['stopTime']=performance[_0x557861(0x43d)](),this['_telemetryInfo']['duration']=this[_0x557861(0x28c)][_0x557861(0x406)]-this[_0x557861(0x28c)][_0x557861(0x2d2)],this[_0x557861(0x3c7)][_0x557861(0x3a7)](Hn,this[_0x557861(0x28c)]),this[_0x557861(0x28c)]=null;}}[_0x417dd3(0x245)](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x227eb4),me(0x3,_0x2deb3f),me(0x4,_0x25220a(_0xa280b6)),me(0x5,_0x25220a(Le)),me(0x6,_0x25220a(Ti)),me(0x7,_0x25220a(pe)),me(0x8,_0x33e2b5(_0x4ef372))],Et);var Yn=Object[_0x417dd3(0x3a9)],Kn=(_0x469c81,_0x2bbd20,_0x185cf5,_0x37243d)=>{var _0x5f4aa2=_0x417dd3;for(var _0xa10cd4=_0x37243d>0x1?void 0x0:_0x37243d?Yn(_0x2bbd20,_0x185cf5):_0x2bbd20,_0x1f5026=_0x469c81[_0x5f4aa2(0x48d)]-0x1,_0x3bc117;_0x1f5026>=0x0;_0x1f5026--)(_0x3bc117=_0x469c81[_0x1f5026])&&(_0xa10cd4=_0x3bc117(_0xa10cd4)||_0xa10cd4);return _0xa10cd4;},be=(_0x2d8228,_0x58b9c6)=>(_0x42c580,_0x69aace)=>_0x58b9c6(_0x42c580,_0x69aace,_0x2d8228);let Me=class extends _0x2943b3{constructor(_0x51d9a4,_0x94b48f,_0x3b5b99,_0x2b78cf,_0x21509d,_0xa85ba7){var _0x4cf5bf=_0x417dd3;super(),N(this,_0x4cf5bf(0x2ef),new _0x5995bf(void 0x0)),N(this,_0x4cf5bf(0x3f4),this[_0x4cf5bf(0x2ef)][_0x4cf5bf(0x378)]()),N(this,_0x4cf5bf(0x332),null),N(this,_0x4cf5bf(0x21f),new Map()),N(this,_0x4cf5bf(0x344),new _0x5995bf(Ee['IDLE'])),N(this,_0x4cf5bf(0x2f7),this[_0x4cf5bf(0x344)]['asObservable']()),N(this,_0x4cf5bf(0x456),!0x1),N(this,_0x4cf5bf(0x3bf)),N(this,_0x4cf5bf(0x202),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this[_0x4cf5bf(0x212)]=_0x51d9a4,this[_0x4cf5bf(0x340)]=_0x94b48f,this[_0x4cf5bf(0x2d3)]=_0x3b5b99,this[_0x4cf5bf(0x3c0)]=_0x2b78cf,this[_0x4cf5bf(0x216)]=_0x21509d,this[_0x4cf5bf(0x231)]=_0xa85ba7,this[_0x4cf5bf(0x331)]());}get[_0x417dd3(0x2b1)](){var _0x12a8b6=_0x417dd3;return this['_socket$'][_0x12a8b6(0x4a9)]();}[_0x417dd3(0x331)](){var _0x28e76e=_0x417dd3;this[_0x28e76e(0x231)]&&this[_0x28e76e(0x466)](this['_networkConditionService']['online$'][_0x28e76e(0x318)](_0x5caaca=>{var _0x55e0c1=_0x28e76e;_0x5caaca&&!this[_0x55e0c1(0x2b1)]&&this[_0x55e0c1(0x1f9)](),_0x5caaca||this[_0x55e0c1(0x2f5)]();}));}[_0x417dd3(0x495)](){var _0x5bbc88=_0x417dd3;super[_0x5bbc88(0x495)](),this[_0x5bbc88(0x2ac)](),this[_0x5bbc88(0x32b)](),this[_0x5bbc88(0x2de)](),this['_sessions']['forEach'](_0x3b1cf5=>_0x3b1cf5[_0x5bbc88(0x495)]()),this['_sessions'][_0x5bbc88(0x360)](),this[_0x5bbc88(0x344)]['complete']();}async[_0x417dd3(0x1eb)](_0x48f2a8){var _0x6263f5=_0x417dd3;if(this[_0x6263f5(0x21f)][_0x6263f5(0x33e)](_0x48f2a8))return this[_0x6263f5(0x21f)][_0x6263f5(0x2f8)](_0x48f2a8);this[_0x6263f5(0x26b)]();const _0x4334ab=this[_0x6263f5(0x212)]['createInstance'](Et,_0x48f2a8,this[_0x6263f5(0x2ef)]['asObservable']());return this[_0x6263f5(0x21f)][_0x6263f5(0x252)](_0x48f2a8,_0x4334ab),_0x4334ab;}[_0x417dd3(0x4a1)](_0x917311){var _0x4692db=_0x417dd3,_0x58c24c;const _0x179110=this['_sessions'][_0x4692db(0x2f8)](_0x917311);_0x179110&&(this[_0x4692db(0x21f)][_0x4692db(0x445)](_0x917311),_0x179110[_0x4692db(0x3b6)]()),this['_sessions'][_0x4692db(0x249)]||(_0x58c24c=this[_0x4692db(0x2b1)])==null||_0x58c24c['close']();}[_0x417dd3(0x1f9)](){var _0x23ea70=_0x417dd3;this['_retryCount']=0x0,this[_0x23ea70(0x2ac)](),this[_0x23ea70(0x31c)]();}[_0x417dd3(0x2ac)](){var _0xc8a656=_0x417dd3;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xc8a656(0x3bf)]),this[_0xc8a656(0x3bf)]=null);}async[_0x417dd3(0x4a5)](){var _0x438f30=_0x417dd3,_0x497b9b,_0x22a9ff;const _0x4e0355=this[_0x438f30(0x2d3)][_0x438f30(0x44e)](In),_0xbc4621=this[_0x438f30(0x2d3)][_0x438f30(0x44e)](q),_0x122913=(_0x22a9ff=(_0x497b9b=_0xbc4621==null?void 0x0:_0xbc4621[_0x438f30(0x4bb)])!=null?_0x497b9b:_0x4e0355)!=null?_0x22a9ff:Tn,_0x3d6351=await this[_0x438f30(0x3c0)][_0x438f30(0x2e9)](_0x122913);return this[_0x438f30(0x332)]=_0x3d6351,_0x3d6351;}async[_0x417dd3(0x26b)](){var _0x4b2983=_0x417dd3,_0x158b54,_0xaab519;try{const _0x168d2b=(_0xaab519=(_0x158b54=this[_0x4b2983(0x2b1)])!=null?_0x158b54:this[_0x4b2983(0x332)])!=null?_0xaab519:await this['_createSocket']();if(_0x168d2b){const _0x52c9c8=_0x168d2b[_0x4b2983(0x3cb)];_0x168d2b[_0x4b2983(0x3cb)]=_0x31447d=>(this[_0x4b2983(0x24a)](),_0x52c9c8['apply'](_0x168d2b,[_0x31447d])),_0x168d2b['message$'][_0x4b2983(0x318)](_0x3c9cc0=>this[_0x4b2983(0x42a)](_0x168d2b,_0x3c9cc0)),_0x168d2b[_0x4b2983(0x208)][_0x4b2983(0x483)](_0x2c3d11(0x1))['subscribe'](_0x267f1a=>this[_0x4b2983(0x340)][_0x4b2983(0x305)](_0x4b2983(0x281),_0x267f1a)),_0x168d2b['open$'][_0x4b2983(0x483)](_0x2c3d11(0x1))[_0x4b2983(0x318)](()=>{var _0x38b8d9=_0x4b2983;this[_0x38b8d9(0x3cc)](_0x168d2b);}),_0x168d2b[_0x4b2983(0x4a7)][_0x4b2983(0x483)](_0x2c3d11(0x1))[_0x4b2983(0x318)](_0x3c6e8e=>{var _0x36c275=_0x4b2983;this[_0x36c275(0x340)][_0x36c275(0x1e1)]('[CollaborationSessionService]',_0x36c275(0x49f),_0x3c6e8e),this[_0x36c275(0x3a0)]();});}}catch(_0x540b55){this['_logService'][_0x4b2983(0x305)](_0x540b55),this[_0x4b2983(0x3a0)]();}}[_0x417dd3(0x3cc)](_0x4c5f4d){var _0x3037fa=_0x417dd3;this[_0x3037fa(0x340)][_0x3037fa(0x1e1)](_0x3037fa(0x455),_0x3037fa(0x21b)),_0x4c5f4d[_0x3037fa(0x3cb)]({'cmd':F[_0x3037fa(0x385)]}),this[_0x3037fa(0x24a)]();}[_0x417dd3(0x2f5)](){var _0x1e1d11=_0x417dd3;this[_0x1e1d11(0x456)]=!0x1,this['_candidateSocket']=null,this[_0x1e1d11(0x344)][_0x1e1d11(0x367)](Ee[_0x1e1d11(0x2b3)]),this[_0x1e1d11(0x2ef)][_0x1e1d11(0x367)](null),this[_0x1e1d11(0x32b)](),this[_0x1e1d11(0x2de)]();}[_0x417dd3(0x3a0)](){var _0xe746da=_0x417dd3,_0x2a3550;this[_0xe746da(0x2f5)](),this[_0xe746da(0x202)]<((_0x2a3550=this[_0xe746da(0x2d3)][_0xe746da(0x44e)](On))!=null?_0x2a3550:yn)?(this[_0xe746da(0x216)]['emitEvent']({'id':re['SOCKET_FAILED_RETRY']}),this[_0xe746da(0x31c)]()):this['_collaborationUIEventService'][_0xe746da(0x30f)]({'id':re['SOCKET_FAILED']});}[_0x417dd3(0x31c)](){var _0x2ba7b7=_0x417dd3,_0x1a772f;const _0xf65b34=this[_0x2ba7b7(0x202)],_0x424ed7=this['_configService'][_0x2ba7b7(0x44e)](q),_0x4a9b75=_0xf65b34===0x0?0x0:((_0x1a772f=_0x424ed7==null?void 0x0:_0x424ed7[_0x2ba7b7(0x1dc)])!=null?_0x1a772f:bn)*0x2**_0xf65b34;this[_0x2ba7b7(0x3bf)]=setTimeout(()=>{var _0xeee99c=_0x2ba7b7;clearTimeout(this[_0xeee99c(0x3bf)]),this[_0xeee99c(0x3bf)]=null,this['_tryEnsureSocket']();},_0x4a9b75),this['_retryCount']+=0x1;}[_0x417dd3(0x42a)](_0x7d11b3,_0x3cc360){var _0x32e42f=_0x417dd3;const {cmd:_0xef8cde}=_0x3cc360;_0xef8cde===F['HELLO']&&!this[_0x32e42f(0x456)]&&(_0x7d11b3['memberID']=_0x3cc360[_0x32e42f(0x2a5)][_0x32e42f(0x427)],this[_0x32e42f(0x2ef)][_0x32e42f(0x367)](_0x7d11b3),this[_0x32e42f(0x344)][_0x32e42f(0x367)](Ee['ONLINE']),this[_0x32e42f(0x456)]=!0x0,this[_0x32e42f(0x332)]=null),_0xef8cde===F[_0x32e42f(0x392)]&&this['_clearTimeoutTimer'](),this[_0x32e42f(0x24a)]();}['_rescheduleHeartbeat'](){var _0x530792=_0x417dd3,_0x36a2d1;this['_clearHeartbeatTimer'](),this[_0x530792(0x386)]=setTimeout(()=>this[_0x530792(0x2c4)](),(_0x36a2d1=this[_0x530792(0x2d3)][_0x530792(0x44e)](Cn))!=null?_0x36a2d1:Rn);}[_0x417dd3(0x2c4)](){var _0x2d1366=_0x417dd3;this['_socket'][_0x2d1366(0x3cb)]({'cmd':F['HEARTBEAT']}),this[_0x2d1366(0x246)]();}[_0x417dd3(0x246)](){var _0x403e34=_0x417dd3,_0x314b08;this[_0x403e34(0x1f2)]=setTimeout(()=>this[_0x403e34(0x3a0)](),(_0x314b08=this[_0x403e34(0x2d3)]['getConfig'](mi))!=null?_0x314b08:gi);}[_0x417dd3(0x2de)](){var _0x4e6ab0=_0x417dd3;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4e6ab0(0x386)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x19619a=_0x417dd3;this[_0x19619a(0x1f2)]!=null&&(clearTimeout(this[_0x19619a(0x1f2)]),this[_0x19619a(0x1f2)]=null);}};Me=Kn([be(0x0,_0x25220a(_0x4eec35)),be(0x1,_0x227eb4),be(0x2,_0x2deb3f),be(0x3,Ii),be(0x4,_0x25220a(pe)),be(0x5,_0x33e2b5(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x417dd3(0x205)]((t+0x100)['toString'](0x10)[_0x417dd3(0x31b)](0x1));function qn(_0x4349e0,_0x5a6b1a=0x0){return(V[_0x4349e0[_0x5a6b1a+0x0]]+V[_0x4349e0[_0x5a6b1a+0x1]]+V[_0x4349e0[_0x5a6b1a+0x2]]+V[_0x4349e0[_0x5a6b1a+0x3]]+'-'+V[_0x4349e0[_0x5a6b1a+0x4]]+V[_0x4349e0[_0x5a6b1a+0x5]]+'-'+V[_0x4349e0[_0x5a6b1a+0x6]]+V[_0x4349e0[_0x5a6b1a+0x7]]+'-'+V[_0x4349e0[_0x5a6b1a+0x8]]+V[_0x4349e0[_0x5a6b1a+0x9]]+'-'+V[_0x4349e0[_0x5a6b1a+0xa]]+V[_0x4349e0[_0x5a6b1a+0xb]]+V[_0x4349e0[_0x5a6b1a+0xc]]+V[_0x4349e0[_0x5a6b1a+0xd]]+V[_0x4349e0[_0x5a6b1a+0xe]]+V[_0x4349e0[_0x5a6b1a+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x92325a=_0x417dd3;if(!ut){if(typeof crypto>'u'||!crypto[_0x92325a(0x283)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x92325a(0x283)][_0x92325a(0x1e6)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x417dd3(0x2c6)][_0x417dd3(0x1e6)](crypto),Kt={'randomUUID':Xn};function Zn(_0x3ea07b,_0x2c3375,_0x2f50fc){var _0x18f2b8=_0x417dd3,_0x465986,_0x5721c9,_0x45df10;if(Kt[_0x18f2b8(0x2c6)]&&!_0x3ea07b)return Kt[_0x18f2b8(0x2c6)]();_0x3ea07b=_0x3ea07b||{};const _0x5ceb72=(_0x45df10=(_0x5721c9=_0x3ea07b[_0x18f2b8(0x2af)])!=null?_0x5721c9:(_0x465986=_0x3ea07b['rng'])==null?void 0x0:_0x465986[_0x18f2b8(0x3d8)](_0x3ea07b))!=null?_0x45df10:Jn();if(_0x5ceb72[_0x18f2b8(0x48d)]<0x10)throw new Error(_0x18f2b8(0x335));return _0x5ceb72[0x6]=_0x5ceb72[0x6]&0xf|0x40,_0x5ceb72[0x8]=_0x5ceb72[0x8]&0x3f|0x80,qn(_0x5ceb72);}const J=_0x173afe('collaboration-client.local-cache-service');function Br(_0x34739e){var _0x4e92bf=_0x417dd3;return _0x4e92bf(0x47a)+_0x34739e;}var Qn=Object[_0x417dd3(0x3a9)],es=(_0x4d0118,_0x31d665,_0x49a96e,_0x4cbb8a)=>{var _0x2bfe06=_0x417dd3;for(var _0x85091d=_0x4cbb8a>0x1?void 0x0:_0x4cbb8a?Qn(_0x31d665,_0x49a96e):_0x31d665,_0x8024cb=_0x4d0118[_0x2bfe06(0x48d)]-0x1,_0x5af386;_0x8024cb>=0x0;_0x8024cb--)(_0x5af386=_0x4d0118[_0x8024cb])&&(_0x85091d=_0x5af386(_0x85091d)||_0x85091d);return _0x85091d;},dt=(_0xbb573b,_0x23788f)=>(_0x4329ee,_0x4f3510)=>_0x23788f(_0x4329ee,_0x4f3510,_0xbb573b);function ts(_0x5e5e73){var _0x355c6f=_0x417dd3;const {unitID:_0x367bcd,mutations:_0x22efda}=_0x5e5e73;return{'unitId':_0x367bcd,'subUnitId':_0x22efda[0x0]['params'][_0x355c6f(0x23a)]};}let it=class{constructor(_0x408f3e,_0x45ac77,_0x332090){var _0x5060a5=_0x417dd3;this['_injector']=_0x408f3e,this['_transformService']=_0x45ac77,this[_0x5060a5(0x3ac)]=_0x332090;}[_0x417dd3(0x35d)](_0x12dd44){var _0x410a6e=_0x417dd3,_0x5220d9,_0xb5bc1,_0x2149b5,_0x362deb;const _0x2cd3e2=this[_0x410a6e(0x212)][_0x410a6e(0x2f8)](_0xe19360),{unitId:_0x1b60e3,subUnitId:_0x5d439b}=ts(_0x12dd44),_0x1bddad=_0x2cd3e2==null?void 0x0:_0x2cd3e2[_0x410a6e(0x1d6)](_0x1b60e3)['getCurrentSelections'](),_0x3f9fd8=(_0xb5bc1=(_0x5220d9=this[_0x410a6e(0x3ac)][_0x410a6e(0x41d)](_0x1b60e3))==null?void 0x0:_0x5220d9[_0x410a6e(0x230)]())==null?void 0x0:_0xb5bc1['getSheetId']();if(_0x1bddad[_0x410a6e(0x48d)]===0x0||!_0x1b60e3||!_0x5d439b)return;const _0x5734db=[{'id':_0x3749a6['id'],'params':{'unitId':_0x1b60e3,'subUnitId':_0x3f9fd8,'selections':_0x488b7d[_0x410a6e(0x2f9)](_0x1bddad)}}],_0x26d3e9=this[_0x410a6e(0x322)][_0x410a6e(0x33b)](_0x12dd44,_0x5734db);if(!_0x2f3dc1(_0x26d3e9))throw _0x26d3e9[_0x410a6e(0x305)];const _0x803d85=(_0x362deb=(_0x2149b5=_0x26d3e9[_0x410a6e(0x290)][0x0])==null?void 0x0:_0x2149b5['params'])==null?void 0x0:_0x362deb[_0x410a6e(0x43f)];if(Array[_0x410a6e(0x3df)](_0x803d85)&&_0x803d85[_0x410a6e(0x48d)]){if(_0x803d85[_0x410a6e(0x48d)]===_0x5734db[0x0]['params']['selections'][_0x410a6e(0x48d)]&&_0x803d85[_0x410a6e(0x317)]((_0x321a7e,_0x4d61a7)=>_0x21e44a[_0x410a6e(0x2d5)](_0x321a7e[_0x410a6e(0x438)],_0x5734db[0x0]['params'][_0x410a6e(0x43f)][_0x4d61a7][_0x410a6e(0x438)])))return;this[_0x410a6e(0x212)]['get'](_0x36b2a5)[_0x410a6e(0x46c)](_0x3749a6['id'],{'unitId':_0x1b60e3,'subUnitId':_0x3f9fd8,'selections':_0x803d85});}}};it=es([dt(0x0,_0x25220a(_0x4eec35)),dt(0x1,_0x4839c5),dt(0x2,_0x34aa87)],it);const ht=_0x173afe(_0x417dd3(0x324));var Ci=(_0x5be4b3=>(_0x5be4b3[_0x5be4b3['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x417dd3(0x484),_0x5be4b3[_0x5be4b3[_0x417dd3(0x312)]=0x1]=_0x417dd3(0x312),_0x5be4b3))(Ci||{});const is=new Set([_0x107a19['id']]);function qt(_0x5c5b97,_0x29c476,_0x3415c0,_0x16eefa,_0x2f0db6){var _0x48c3a9=_0x417dd3,_0x240ef6,_0x226420,_0x4db8ac,_0x56f232;const _0x33a27d=[];for(const _0x2572be of _0x5c5b97)if(is['has'](_0x2572be['id'])){if(_0x33a27d[_0x48c3a9(0x48d)]>0x0)break;_0x33a27d[_0x48c3a9(0x205)](_0x2572be);break;}else _0x33a27d[_0x48c3a9(0x205)](_0x2572be);const _0x4dcd29=(_0x226420=(_0x240ef6=_0x2f0db6[_0x48c3a9(0x46d)]())==null?void 0x0:_0x240ef6['userID'])!=null?_0x226420:'unknown',_0x550156=(_0x56f232=(_0x4db8ac=_0x2f0db6['getCurrentUser']())==null?void 0x0:_0x4db8ac[_0x48c3a9(0x427)])!=null?_0x56f232:_0x48c3a9(0x1d7);return{'changeset':{'unitID':_0x29c476,'type':_0x256a36(_0x3415c0[_0x48c3a9(0x2b8)](_0x29c476)),'baseRev':_0x16eefa['getCurrentRevOfUnit'](_0x29c476),'revision':0x0,'userID':_0x4dcd29,'memberID':_0x550156,'mutations':_0x33a27d},'pendingMutations':_0x5c5b97[_0x48c3a9(0x31b)](_0x33a27d['length'])};}function ns(_0x50db24,_0x30d059,_0x1ff7f8,_0x50d7b4,_0x580a94){var _0x2ed54d=_0x417dd3,_0x28fbd7,_0x2a1e82,_0x1bbb9b,_0x32839c;const _0x2865c4=[_0x50db24[_0x2ed54d(0x243)]((_0x2b66b2,_0x503349)=>{var _0x16107a=_0x2ed54d,_0x2376b1;const {id:_0x53abdc}=_0x2b66b2,{id:_0x438220,type:_0x62a4ce}=_0x503349,_0x49330e=(_0x2376b1=_0x2b66b2['params'])!=null?_0x2376b1:{'actions':null},_0x4586b0=_0x503349[_0x16107a(0x2b6)];if(_0x53abdc&&_0x53abdc!==_0x438220)throw new Error(_0x16107a(0x254)+_0x53abdc+_0x16107a(0x2f1)+_0x438220+'.');return{..._0x2b66b2,'id':_0x438220,'type':_0x62a4ce,'params':{'unitId':_0x4586b0[_0x16107a(0x28a)],'textRanges':_0x4586b0[_0x16107a(0x34b)],'actions':_0x29b343['compose'](_0x49330e[_0x16107a(0x473)],_0x4586b0['actions'])}};},{})],_0x237a15=(_0x2a1e82=(_0x28fbd7=_0x580a94[_0x2ed54d(0x46d)]())==null?void 0x0:_0x28fbd7[_0x2ed54d(0x3e6)])!=null?_0x2a1e82:'unknown',_0x10817e=(_0x32839c=(_0x1bbb9b=_0x580a94['getCurrentUser']())==null?void 0x0:_0x1bbb9b['memberID'])!=null?_0x32839c:_0x2ed54d(0x1d7);return{'changeset':{'unitID':_0x30d059,'type':_0x256a36(_0x1ff7f8['getUnitType'](_0x30d059)),'baseRev':_0x50d7b4['getCurrentRevOfUnit'](_0x30d059),'revision':0x0,'userID':_0x237a15,'memberID':_0x10817e,'mutations':_0x2865c4},'pendingMutations':[]};}function Ri(_0x46039f,_0x34f214){var _0x548ade=_0x417dd3;const _0x5168f2=new _0x4d20ac(0x1);return setTimeout(()=>_0x5168f2[_0x548ade(0x367)](_0x34f214),_0x46039f),_0x5168f2['asObservable']()[_0x548ade(0x483)](_0x5e53ac(0x1));}const ss={'id':_0x298aa4['id'],'type':_0xe70fe3[_0x417dd3(0x393)],'params':{}};var rs=Object[_0x417dd3(0x3a9)],Te=(_0x5056c6,_0x10cf12,_0x221614,_0x213b0b)=>{var _0x32b869=_0x417dd3;for(var _0x429bd4=_0x213b0b>0x1?void 0x0:_0x213b0b?rs(_0x10cf12,_0x221614):_0x10cf12,_0x37d316=_0x5056c6[_0x32b869(0x48d)]-0x1,_0x2f4a44;_0x37d316>=0x0;_0x37d316--)(_0x2f4a44=_0x5056c6[_0x37d316])&&(_0x429bd4=_0x2f4a44(_0x429bd4)||_0x429bd4);return _0x429bd4;},P=(_0x1245fa,_0x56575d)=>(_0x584fd5,_0x277217)=>_0x56575d(_0x584fd5,_0x277217,_0x1245fa),bi=(_0x4ba172=>(_0x4ba172['NOT_COLLAB']=_0x417dd3(0x411),_0x4ba172[_0x417dd3(0x29b)]=_0x417dd3(0x474),_0x4ba172[_0x417dd3(0x470)]=_0x417dd3(0x2bd),_0x4ba172['AWAITING']=_0x417dd3(0x432),_0x4ba172[_0x417dd3(0x3ef)]=_0x417dd3(0x2fc),_0x4ba172[_0x417dd3(0x3e7)]=_0x417dd3(0x451),_0x4ba172[_0x417dd3(0x443)]=_0x417dd3(0x3bc),_0x4ba172[_0x417dd3(0x2b3)]=_0x417dd3(0x3d7),_0x4ba172))(bi||{});const Oi=0xea60;class Ce{constructor(_0x4b6cac,_0x216c6a,_0x5e0488,_0x592f3a,_0x3907f6,_0x5cb536,_0x1bffb4,_0xf9307,_0x23af75){var _0x388e70=_0x417dd3;N(this,'_awaitingChangeset',null),N(this,_0x388e70(0x25e),[]),(this[_0x388e70(0x3bd)]=_0x4b6cac,this[_0x388e70(0x1c8)]=_0x216c6a,this[_0x388e70(0x2dd)]=_0x3907f6,this[_0x388e70(0x1ed)]=_0x5cb536,this[_0x388e70(0x3ea)]=_0x1bffb4,this['_revisionService']=_0xf9307,this[_0x388e70(0x425)]=_0x23af75,this[_0x388e70(0x270)]=_0x5e0488,this['_pendingMutations']=_0x592f3a);}[_0x417dd3(0x3b4)](_0x427017){var _0x5a3d6a=_0x417dd3;const _0xbf03d5=this[_0x5a3d6a(0x319)]['getCurrentRevOfUnit'](this['unitID']);return _0x427017[_0x5a3d6a(0x430)]>_0xbf03d5+0x1?(this[_0x5a3d6a(0x2dd)][_0x5a3d6a(0x326)]({'from':_0xbf03d5,'to':_0x427017['revision']-0x1}),!0x0):!0x1;}[_0x417dd3(0x257)](_0x465e13){var _0x5aef6a=_0x417dd3;this['_undoRedoService'][_0x5aef6a(0x34f)](this[_0x5aef6a(0x3bd)],_0x465e13);}[_0x417dd3(0x3f6)](_0xcf61e3){var _0x2df8ca=_0x417dd3,_0x551c5c,_0x437296;(_0x437296=(_0x551c5c=this[_0x2df8ca(0x2dd)])[_0x2df8ca(0x359)])==null||_0x437296[_0x2df8ca(0x3d8)](_0x551c5c,_0xcf61e3);}[_0x417dd3(0x390)](_0x21f7ce){var _0x2cf55d=_0x417dd3,_0x4e1a29,_0x32872a;return(_0x32872a=(_0x4e1a29=this[_0x2cf55d(0x2dd)])['onTransformIME'])==null?void 0x0:_0x32872a['call'](_0x4e1a29,_0x21f7ce);}['_transformStateCache'](_0x520f15){var _0xb19065=_0x417dd3,_0x1ac812,_0x1d3ee2;return(_0x1d3ee2=(_0x1ac812=this[_0xb19065(0x2dd)])[_0xb19065(0x21c)])==null?void 0x0:_0x1d3ee2[_0xb19065(0x3d8)](_0x1ac812,_0x520f15);}['_transformRemoteChangesetByIMECache'](_0x388236){var _0x5441af=_0x417dd3,_0x1619ee,_0x16144f,_0x306e6a;return(_0x306e6a=(_0x16144f=(_0x1619ee=this[_0x5441af(0x2dd)])[_0x5441af(0x38b)])==null?void 0x0:_0x16144f['call'](_0x1619ee,_0x388236))!=null?_0x306e6a:_0x388236;}['_transformRemoteChangesetByStateCache'](_0x368ffd){var _0x14d335=_0x417dd3,_0x52ec57,_0x595c8d,_0x5186a6;return(_0x5186a6=(_0x595c8d=(_0x52ec57=this['_handler'])[_0x14d335(0x206)])==null?void 0x0:_0x595c8d['call'](_0x52ec57,_0x368ffd))!=null?_0x5186a6:_0x368ffd;}[_0x417dd3(0x42e)](_0x9afe86){var _0x331f08=_0x417dd3,_0x496cc9,_0x57cf16;if(this[_0x331f08(0x1c8)]===Q['UNIVER_DOC']){const {unitID:_0x16b609,mutations:_0x42fc07,memberID:_0x278d14}=_0x9afe86,_0xcf998c=_0x42fc07[0x0]['params']['textRanges'];Array[_0x331f08(0x3df)](_0xcf998c)&&_0xcf998c[_0x331f08(0x48d)]>0x0&&((_0x57cf16=(_0x496cc9=this[_0x331f08(0x2dd)])[_0x331f08(0x25f)])==null||_0x57cf16['call'](_0x496cc9,{'unitID':_0x16b609,'memberID':_0x278d14,'textRanges':_0xcf998c}));}}['_updateLocalCache'](){var _0x8f3620=_0x417dd3,_0x466cde;(_0x466cde=this[_0x8f3620(0x425)])==null||_0x466cde[_0x8f3620(0x419)](this['unitID'],this['type'],this[_0x8f3620(0x270)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0xe7e33e=_0x417dd3;return this[_0xe7e33e(0x319)][_0xe7e33e(0x3d1)](this[_0xe7e33e(0x3bd)]);}[_0x417dd3(0x395)](){var _0x5b4fa1=_0x417dd3;this[_0x5b4fa1(0x319)][_0x5b4fa1(0x398)](this[_0x5b4fa1(0x3bd)]);}[_0x417dd3(0x3ed)](_0x2c689f){var _0x5e7d14=_0x417dd3,_0x339eb8;let _0x3431e1=this[_0x5e7d14(0x478)](_0x2c689f);_0x3431e1=this[_0x5e7d14(0x46f)](_0x3431e1);const _0x3053ab=_0x29e22e(_0x3431e1['mutations'],this[_0x5e7d14(0x1ed)],{'fromCollab':!0x0});if(!_0x3053ab[_0x5e7d14(0x2e3)])throw _0x3053ab[_0x5e7d14(0x305)]instanceof Error?_0x3053ab[_0x5e7d14(0x305)]:new Error((_0x339eb8=_0x3053ab[_0x5e7d14(0x305)])!=null?_0x339eb8:_0x5e7d14(0x4ac));this[_0x5e7d14(0x390)](_0x3431e1),this[_0x5e7d14(0x3b9)](_0x3431e1),this['_transformUndoredo'](_0x2c689f),this['_transformSelections'](_0x3431e1),this[_0x5e7d14(0x42e)](_0x3431e1),this[_0x5e7d14(0x395)]();}}let Ne=class extends Ce{constructor(_0x27672f,_0x3f04e2,_0x310549,_0x41d1a4,_0x33b14b,_0x34b7d7,_0x7c3634,_0xc70dd9,_0x14b811,_0x4e338d){var _0x16b26f=_0x417dd3;super(_0x27672f,_0x3f04e2,null,[],_0x310549,_0x7c3634,_0x34b7d7,_0x41d1a4,_0x4e338d),N(this,_0x16b26f(0x35f),_0x16b26f(0x474)),(this[_0x16b26f(0x212)]=_0x33b14b,this['_logService']=_0xc70dd9,this[_0x16b26f(0x322)]=_0x14b811,this[_0x16b26f(0x328)]=_0x4e338d);}[_0x417dd3(0x21a)](_0x8f6ed2){var _0x1863c4=_0x417dd3;const _0x59266b=this['_injector']['createInstance'](ae,this[_0x1863c4(0x3bd)],this[_0x1863c4(0x1c8)],[_0x8f6ed2],this[_0x1863c4(0x2dd)]);return _0x59266b[_0x1863c4(0x2c2)](),_0x59266b[_0x1863c4(0x369)](),_0x59266b;}[_0x417dd3(0x407)](_0x4d2cf5){var _0x46ee6d=_0x417dd3;if(this[_0x46ee6d(0x3b4)](_0x4d2cf5))return this[_0x46ee6d(0x212)]['createInstance'](ee,this[_0x46ee6d(0x3bd)],this[_0x46ee6d(0x1c8)],null,[],null,[_0x4d2cf5],this[_0x46ee6d(0x2dd)]);try{const _0x3be548=this['_transformService'][_0x46ee6d(0x33b)](_0x4d2cf5,[ss]);if(_0x2f3dc1(_0x3be548)){const {c1Prime:_0x5a3941}=_0x3be548;return this[_0x46ee6d(0x3ed)](_0x5a3941),this;}throw _0x3be548[_0x46ee6d(0x305)];}catch(_0x32020f){return this['_logService'][_0x46ee6d(0x305)](_0x32020f),this[_0x46ee6d(0x3ec)](!0x1);}}[_0x417dd3(0x3ec)](_0x44fc9e){var _0x3ac67d=_0x417dd3;return this[_0x3ac67d(0x212)][_0x3ac67d(0x325)](ue,this[_0x3ac67d(0x3bd)],this[_0x3ac67d(0x1c8)],null,[],this['_handler'],_0x44fc9e);}[_0x417dd3(0x225)](){var _0xe7357e=_0x417dd3;throw new Error(_0xe7357e(0x346));}[_0x417dd3(0x2cf)](){var _0x434e6c=_0x417dd3;throw new Error(_0x434e6c(0x376));}[_0x417dd3(0x298)](){return this;}[_0x417dd3(0x49c)](){var _0x534bbf=_0x417dd3;return this[_0x534bbf(0x212)][_0x534bbf(0x325)](de,this[_0x534bbf(0x3bd)],this['type'],null,[],this[_0x534bbf(0x2dd)]);}['toggleOnline'](){return this;}[_0x417dd3(0x388)](){var _0x4e8d9f=_0x417dd3;throw new Error(_0x4e8d9f(0x37e));}[_0x417dd3(0x210)](){var _0x142f6e=_0x417dd3;const _0x8e5d97=this[_0x142f6e(0x319)][_0x142f6e(0x3d1)](this[_0x142f6e(0x3bd)]);return this['_handler']['onMissingChangesets']({'from':_0x8e5d97,'to':0x0}),this['_injector']['createInstance'](ee,this['unitID'],this['type'],null,[],null,[],this[_0x142f6e(0x2dd)]);}};Ne=Te([P(0x3,_0x25220a(_0x3f4ef2)),P(0x4,_0x25220a(_0x4eec35)),P(0x5,_0x3731a7),P(0x6,_0x36b2a5),P(0x7,_0x227eb4),P(0x8,_0x4839c5),P(0x9,_0x33e2b5(J))],Ne);let ae=class extends Ce{constructor(_0x155a9d,_0x5bb690,_0xff65a5,_0x36f34c,_0x3e920d,_0x1c8c97,_0x178a06,_0x5926d6,_0x5ab95b,_0xb116b4,_0x8ca7e7,_0x486b96,_0x2e9d8a,_0x4f52fc){var _0x239faa=_0x417dd3;super(_0x155a9d,_0x5bb690,null,_0xff65a5,_0x36f34c,_0x5ab95b,_0x2e9d8a,_0x1c8c97,_0x4f52fc),N(this,'status',_0x239faa(0x2bd)),N(this,_0x239faa(0x1c6),null),N(this,_0x239faa(0x22a),null),(this[_0x239faa(0x212)]=_0x3e920d,this[_0x239faa(0x352)]=_0x178a06,this[_0x239faa(0x340)]=_0x5926d6,this[_0x239faa(0x2d3)]=_0xb116b4,this[_0x239faa(0x322)]=_0x8ca7e7,this[_0x239faa(0x38d)]=_0x486b96);}[_0x417dd3(0x21a)](_0x32424a){var _0x5fff5=_0x417dd3;return this[_0x5fff5(0x25e)]['push'](_0x32424a),this[_0x5fff5(0x369)](),this;}['onRemoteChangeset'](_0x554800){var _0x5aa463=_0x417dd3;if(this[_0x5aa463(0x3b4)](_0x554800))return this[_0x5aa463(0x201)](),this['_injector']['createInstance'](ee,this[_0x5aa463(0x3bd)],this[_0x5aa463(0x1c8)],null,this[_0x5aa463(0x25e)],null,[_0x554800],this[_0x5aa463(0x2dd)]);try{const _0x4399f6=this['_transformService']['transformMutationsWithChangeset'](_0x554800,this[_0x5aa463(0x25e)]);if(_0x2f3dc1(_0x4399f6)){const {c1Prime:_0x2aacc6,m2Prime:_0x1f2122}=_0x4399f6;this['_executeRemoteChangeset'](_0x2aacc6);const _0x4c9ecb=this[_0x5aa463(0x212)][_0x5aa463(0x325)](ae,this[_0x5aa463(0x3bd)],this['type'],_0x1f2122,this[_0x5aa463(0x2dd)]);this[_0x5aa463(0x201)]();const _0x39c759=new Date()[_0x5aa463(0x3f3)](),_0x573ccc=this[_0x5aa463(0x1c6)]?Math['max'](this[_0x5aa463(0x1c6)]-_0x39c759,0x0):this[_0x5aa463(0x3d3)]();return _0x4c9ecb['_schedule'](_0x573ccc),_0x4c9ecb;}throw _0x4399f6[_0x5aa463(0x305)];}catch(_0x423cd5){return this[_0x5aa463(0x340)][_0x5aa463(0x305)](_0x423cd5),this[_0x5aa463(0x3ec)](!0x1);}}[_0x417dd3(0x225)](){var _0x49181d=_0x417dd3;throw new Error(_0x49181d(0x412));}[_0x417dd3(0x2cf)](){var _0x21763=_0x417dd3;throw new Error(_0x21763(0x37a));}[_0x417dd3(0x298)](){return this;}[_0x417dd3(0x49c)](){var _0x26f385=_0x417dd3;return this[_0x26f385(0x201)](),this[_0x26f385(0x212)][_0x26f385(0x325)](de,this[_0x26f385(0x3bd)],this[_0x26f385(0x1c8)],null,this[_0x26f385(0x25e)],this[_0x26f385(0x2dd)]);}[_0x417dd3(0x1d1)](){return this;}[_0x417dd3(0x2c2)](_0x51b7e7){var _0x232702=_0x417dd3;const _0x5e664e=_0x51b7e7!=null?_0x51b7e7:this[_0x232702(0x3d3)]();this[_0x232702(0x1c6)]=new Date()['getTime']()+_0x5e664e,this['_sendingTimer']=setTimeout(()=>{var _0x4c6d01=_0x232702;this[_0x4c6d01(0x201)]();let _0x522619=null;switch(this[_0x4c6d01(0x1c8)]){case Q['UNIVER_SHEET']:{_0x522619=qt(this[_0x4c6d01(0x25e)],this[_0x4c6d01(0x3bd)],this[_0x4c6d01(0x38d)],this[_0x4c6d01(0x319)],this[_0x4c6d01(0x352)]);break;}case Q['UNIVER_DOC']:{this[_0x4c6d01(0x25e)][_0x4c6d01(0x317)](_0x13428b=>_0x13428b['id']===_0x2980d9['id'])?_0x522619=ns(this[_0x4c6d01(0x25e)],this[_0x4c6d01(0x3bd)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x522619=qt(this[_0x4c6d01(0x25e)],this[_0x4c6d01(0x3bd)],this[_0x4c6d01(0x38d)],this[_0x4c6d01(0x319)],this[_0x4c6d01(0x352)]);break;}default:throw new Error(_0x4c6d01(0x32f)+this[_0x4c6d01(0x1c8)]+_0x4c6d01(0x4c9));}const {changeset:_0x1b208b,pendingMutations:_0x19cdcd}=_0x522619;this[_0x4c6d01(0x2dd)]['onSendChangeset'](_0x1b208b);const _0x54c9df=_0x19cdcd['length']?this[_0x4c6d01(0x212)][_0x4c6d01(0x325)](oe,this[_0x4c6d01(0x3bd)],this[_0x4c6d01(0x1c8)],_0x1b208b,_0x19cdcd,this['_handler'],void 0x0):this[_0x4c6d01(0x212)][_0x4c6d01(0x325)](le,this[_0x4c6d01(0x3bd)],this[_0x4c6d01(0x1c8)],_0x1b208b,this[_0x4c6d01(0x2dd)]);_0x54c9df['_updateLocalCache'](),this[_0x4c6d01(0x2dd)][_0x4c6d01(0x265)](this,_0x54c9df);},_0x5e664e);}[_0x417dd3(0x3d3)](){var _0x9d3e2e=_0x417dd3,_0x43a846;const _0x4a89ec=this[_0x9d3e2e(0x2d3)][_0x9d3e2e(0x44e)](q);return(_0x43a846=_0x4a89ec==null?void 0x0:_0x4a89ec[_0x9d3e2e(0x3a3)])!=null?_0x43a846:En;}[_0x417dd3(0x388)](){var _0x449ad3=_0x417dd3;throw new Error(_0x449ad3(0x1cd));}[_0x417dd3(0x201)](){var _0x21cff0=_0x417dd3;this[_0x21cff0(0x22a)]!=null&&(clearTimeout(this[_0x21cff0(0x22a)]),this['_sendingTimer']=null);}[_0x417dd3(0x3ec)](_0x1c9dbf){var _0xe0a60d=_0x417dd3;return this[_0xe0a60d(0x201)](),this[_0xe0a60d(0x212)][_0xe0a60d(0x325)](ue,this[_0xe0a60d(0x3bd)],this[_0xe0a60d(0x1c8)],null,this['_pendingMutations'],this['_handler'],_0x1c9dbf);}};ae=Te([P(0x4,_0x25220a(_0x4eec35)),P(0x5,_0x25220a(_0x3f4ef2)),P(0x6,_0x25220a(Le)),P(0x7,_0x227eb4),P(0x8,_0x36b2a5),P(0x9,_0x2deb3f),P(0xa,_0x4839c5),P(0xb,_0x34aa87),P(0xc,_0x3731a7),P(0xd,_0x33e2b5(J))],ae);let le=class extends Ce{constructor(_0x73d5d9,_0x46971a,_0x17e479,_0x548bbe,_0x22d1af,_0x1bc7fe,_0x3bf0e7,_0x1bd932,_0x51d49b,_0x15e9a0,_0x2fcf90){var _0x380aa4=_0x417dd3;super(_0x73d5d9,_0x46971a,_0x17e479,[],_0x548bbe,_0x3bf0e7,_0x15e9a0,_0x1bc7fe,_0x2fcf90),N(this,_0x380aa4(0x35f),_0x380aa4(0x432)),N(this,_0x380aa4(0x28e),0x0),N(this,_0x380aa4(0x3a5)),N(this,_0x380aa4(0x2d7)),(this[_0x380aa4(0x212)]=_0x22d1af,this['_logService']=_0x1bd932,this['_transformService']=_0x51d49b);}['appendMutation'](_0x30548e){var _0x4c6a85=_0x417dd3;this[_0x4c6a85(0x201)]();const _0x1048c5=this[_0x4c6a85(0x212)][_0x4c6a85(0x325)](oe,this['unitID'],this[_0x4c6a85(0x1c8)],this[_0x4c6a85(0x270)],[_0x30548e],this[_0x4c6a85(0x2dd)],this[_0x4c6a85(0x3a5)]);return _0x1048c5[_0x4c6a85(0x369)](),_0x1048c5;}[_0x417dd3(0x407)](_0x40efd8){var _0x2ca039=_0x417dd3;if(this[_0x2ca039(0x3b4)](_0x40efd8))return this[_0x2ca039(0x201)](),this[_0x2ca039(0x212)][_0x2ca039(0x325)](ee,this[_0x2ca039(0x3bd)],this[_0x2ca039(0x1c8)],this[_0x2ca039(0x270)],[],null,[_0x40efd8],this[_0x2ca039(0x2dd)]);try{const _0x3288f5=this[_0x2ca039(0x322)][_0x2ca039(0x2bf)]([_0x40efd8],[this[_0x2ca039(0x270)]],!0x1);if(_0x1b65ae(_0x3288f5)){const {c1Prime:_0x490ddb,c2Prime:_0xc459d6}=_0x3288f5;this['_executeRemoteChangeset'](_0x490ddb[0x0]),_0xc459d6[0x0][_0x2ca039(0x44a)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0xcacbab=this[_0x2ca039(0x212)][_0x2ca039(0x325)](le,this['unitID'],this['type'],_0xc459d6[0x0],this['_handler']);return _0xcacbab[_0x2ca039(0x369)](),_0xcacbab;}return this['_onConflict'](!0x1);}catch(_0x168872){return this['_logService']['error'](_0x168872),this[_0x2ca039(0x3ec)](!0x1);}}['onRemoteAck'](_0x255d63){var _0x4f30c5=_0x417dd3;this[_0x4f30c5(0x201)]();const _0x143371=this[_0x4f30c5(0x319)][_0x4f30c5(0x3d1)](this[_0x4f30c5(0x3bd)]);if(_0x255d63['revision']<_0x143371-0x1)return this;if(this[_0x4f30c5(0x3b4)](_0x255d63))return this[_0x4f30c5(0x212)][_0x4f30c5(0x325)](ee,this['unitID'],this[_0x4f30c5(0x1c8)],null,[],this['_awaitingChangeset'],[],this[_0x4f30c5(0x2dd)]);this[_0x4f30c5(0x395)]();const _0x353863=this['_injector'][_0x4f30c5(0x325)](Ne,this[_0x4f30c5(0x3bd)],this['type'],this[_0x4f30c5(0x2dd)]);return _0x353863[_0x4f30c5(0x369)](),_0x353863;}[_0x417dd3(0x2cf)](_0xc86fe4){var _0x1a78e9=_0x417dd3;return this[_0x1a78e9(0x3ec)](!!(_0xc86fe4!=null&&_0xc86fe4[_0x1a78e9(0x37c)]));}[_0x417dd3(0x298)](_0x584e41){var _0x1ed2c8=_0x417dd3;return this[_0x1ed2c8(0x28e)]>Oi?this['toggleOffline']():(this[_0x1ed2c8(0x3a5)]=Ri(this[_0x1ed2c8(0x28e)],{'timeout':this['_resendTimeout'],'reqId':_0x584e41[_0x1ed2c8(0x1ec)]}),this['_sender']=this[_0x1ed2c8(0x3a5)]['subscribe'](({reqId:_0x442a95,timeout:_0x218d73})=>{var _0x5910d7=_0x1ed2c8;this[_0x5910d7(0x462)](_0x442a95,_0x218d73);}),this);}[_0x417dd3(0x49c)](){var _0x561f73=_0x417dd3;return this[_0x561f73(0x201)](),this[_0x561f73(0x212)][_0x561f73(0x325)](de,this[_0x561f73(0x3bd)],this[_0x561f73(0x1c8)],this[_0x561f73(0x270)],[],this[_0x561f73(0x2dd)]);}[_0x417dd3(0x1d1)](){return this;}[_0x417dd3(0x388)](){var _0x2edb68=_0x417dd3;this['_handler'][_0x2edb68(0x2f2)](this['_awaitingChangeset']);}[_0x417dd3(0x3ec)](_0x2ee478){var _0x114e62=_0x417dd3;return this[_0x114e62(0x201)](),this[_0x114e62(0x212)]['createInstance'](ue,this[_0x114e62(0x3bd)],this['type'],this[_0x114e62(0x270)],[],this[_0x114e62(0x2dd)],_0x2ee478);}[_0x417dd3(0x462)](_0x3b976c,_0x373477){var _0x596b67=_0x417dd3,_0x135d64;_0x3b976c===((_0x135d64=this['_awaitingChangeset'])==null?void 0x0:_0x135d64['reqId'])&&(this[_0x596b67(0x388)](),this[_0x596b67(0x28e)]=_0x373477===0x0?0x3e8:_0x373477*0x2);}['_clearScheduledTask'](){var _0x22319e=_0x417dd3,_0xf1b00d;(_0xf1b00d=this[_0x22319e(0x2d7)])==null||_0xf1b00d[_0x22319e(0x289)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x25220a(_0x4eec35)),P(0x5,_0x25220a(_0x3f4ef2)),P(0x6,_0x36b2a5),P(0x7,_0x227eb4),P(0x8,_0x4839c5),P(0x9,_0x3731a7),P(0xa,_0x33e2b5(J))],le);let oe=class extends Ce{constructor(_0x2f1055,_0x17b3a1,_0xa00e58,_0x3ab597,_0x29cf1e,_0x549c1b,_0x4ebcad,_0x13b2af,_0x4b935b,_0x5ab69a,_0x2b205f,_0x3a3293,_0x55c79d){var _0x52ffad=_0x417dd3;super(_0x2f1055,_0x17b3a1,_0xa00e58,_0x3ab597,_0x29cf1e,_0x4b935b,_0x3a3293,_0x13b2af,_0x55c79d),N(this,_0x52ffad(0x35f),_0x52ffad(0x2fc)),N(this,_0x52ffad(0x28e),0x0),N(this,_0x52ffad(0x3a5)),N(this,_0x52ffad(0x2d7)),(this[_0x52ffad(0x212)]=_0x4ebcad,this[_0x52ffad(0x340)]=_0x5ab69a,this[_0x52ffad(0x322)]=_0x2b205f,this[_0x52ffad(0x328)]=_0x55c79d,_0x549c1b&&(this[_0x52ffad(0x3a5)]=_0x549c1b,this['_sender']=this['_resendTimer'][_0x52ffad(0x318)](({reqId:_0xf029ce,timeout:_0x232001})=>{this['_resendWithTimeout'](_0xf029ce,_0x232001);})));}['appendMutation'](_0x1ce4a6){var _0x5a2a7a=_0x417dd3;return this[_0x5a2a7a(0x25e)][_0x5a2a7a(0x205)](_0x1ce4a6),this;}[_0x417dd3(0x407)](_0x29e1be){var _0x3cc251=_0x417dd3;if(this[_0x3cc251(0x3b4)](_0x29e1be))return this['_clearScheduledTask'](),this['_injector'][_0x3cc251(0x325)](ee,this[_0x3cc251(0x3bd)],this[_0x3cc251(0x1c8)],this['_awaitingChangeset'],this[_0x3cc251(0x25e)],null,[_0x29e1be],this[_0x3cc251(0x2dd)]);try{const _0x321306=this[_0x3cc251(0x322)][_0x3cc251(0x2bf)]([_0x29e1be],[this['_awaitingChangeset']],!0x1);if(_0x1b65ae(_0x321306)){const {c1Prime:_0x50e638,c2Prime:_0x44bae1}=_0x321306,_0x4ca53c=this[_0x3cc251(0x322)][_0x3cc251(0x33b)](_0x50e638[0x0],this['_pendingMutations']);if(_0x2f3dc1(_0x4ca53c)){const {c1Prime:_0x4a2d10,m2Prime:_0x3f3659}=_0x4ca53c;return this[_0x3cc251(0x3ed)](_0x4a2d10),_0x44bae1[0x0][_0x3cc251(0x44a)]=this['_getCurrentRevision'](),this[_0x3cc251(0x201)](),this['_injector'][_0x3cc251(0x325)](oe,this[_0x3cc251(0x3bd)],this[_0x3cc251(0x1c8)],_0x44bae1[0x0],_0x3f3659,this[_0x3cc251(0x2dd)],void 0x0);}throw _0x4ca53c[_0x3cc251(0x305)];}throw _0x321306['error'];}catch(_0x3b315a){return this[_0x3cc251(0x340)][_0x3cc251(0x305)](_0x3b315a),this['_onConflict'](!0x1);}}[_0x417dd3(0x225)](_0x442bc6){var _0x11e0e8=_0x417dd3;if(this[_0x11e0e8(0x201)](),this[_0x11e0e8(0x3b4)](_0x442bc6))return this['_injector'][_0x11e0e8(0x325)](ee,this[_0x11e0e8(0x3bd)],this[_0x11e0e8(0x1c8)],null,this[_0x11e0e8(0x25e)],this['_awaitingChangeset'],[],this['_handler']);this[_0x11e0e8(0x395)]();const _0x317053=this[_0x11e0e8(0x212)][_0x11e0e8(0x325)](ae,this[_0x11e0e8(0x3bd)],this[_0x11e0e8(0x1c8)],this[_0x11e0e8(0x25e)],this[_0x11e0e8(0x2dd)]);return _0x317053[_0x11e0e8(0x2c2)](),_0x317053[_0x11e0e8(0x369)](),_0x317053;}['onRemoteRej'](_0x2c1a5b){var _0x4708ae=_0x417dd3;return this[_0x4708ae(0x3ec)](!!(_0x2c1a5b!=null&&_0x2c1a5b[_0x4708ae(0x37c)]));}['onRemoteRetry'](_0x1a6659){var _0x5f4b3d=_0x417dd3;return this['_resendTimeout']>Oi?this[_0x5f4b3d(0x49c)]():(this[_0x5f4b3d(0x3a5)]=Ri(this[_0x5f4b3d(0x28e)],{'timeout':this[_0x5f4b3d(0x28e)],'reqId':_0x1a6659[_0x5f4b3d(0x1ec)]}),this[_0x5f4b3d(0x2d7)]=this['_resendTimer'][_0x5f4b3d(0x318)](({reqId:_0x5f4ee6,timeout:_0x22cbad})=>{var _0x53948f=_0x5f4b3d;this[_0x53948f(0x462)](_0x5f4ee6,_0x22cbad);}),this);}[_0x417dd3(0x49c)](){var _0x24cae2=_0x417dd3;return this['_clearScheduledTask'](),this[_0x24cae2(0x212)][_0x24cae2(0x325)](de,this[_0x24cae2(0x3bd)],this[_0x24cae2(0x1c8)],this[_0x24cae2(0x270)],this[_0x24cae2(0x25e)],this['_handler']);}[_0x417dd3(0x1d1)](){return this;}[_0x417dd3(0x388)](){var _0x214358=_0x417dd3;this[_0x214358(0x2dd)]['onSendChangeset'](this[_0x214358(0x270)]);}[_0x417dd3(0x3ec)](_0x2754cd){var _0x234ac6=_0x417dd3;return this[_0x234ac6(0x201)](),this['_injector'][_0x234ac6(0x325)](ue,this[_0x234ac6(0x3bd)],this[_0x234ac6(0x1c8)],null,this[_0x234ac6(0x25e)],this['_handler'],_0x2754cd);}[_0x417dd3(0x462)](_0x19987c,_0x2a2009){var _0xac5f7f=_0x417dd3,_0x46118b;_0x19987c===((_0x46118b=this[_0xac5f7f(0x270)])==null?void 0x0:_0x46118b['reqId'])&&(this[_0xac5f7f(0x388)](),this[_0xac5f7f(0x28e)]=_0x2a2009===0x0?0x3e8:_0x2a2009*0x2);}['_clearScheduledTask'](){var _0x4679ee=_0x417dd3,_0x193514;(_0x193514=this[_0x4679ee(0x2d7)])==null||_0x193514[_0x4679ee(0x289)](),this['_resendTimeout']=0x0;}};oe=Te([P(0x6,_0x25220a(_0x4eec35)),P(0x7,_0x25220a(_0x3f4ef2)),P(0x8,_0x36b2a5),P(0x9,_0x227eb4),P(0xa,_0x4839c5),P(0xb,_0x3731a7),P(0xc,_0x33e2b5(J))],oe);let ue=class extends Ce{constructor(_0x1181a0,_0x3abde6,_0x59d43a,_0x335f9e,_0x4231d4,_0x4f0d92=!0x1,_0x22186b,_0x12b202,_0x26495b,_0x3f4a73,_0x5bde00,_0x6a9bb7,_0x2f9eda){var _0x53a2d4=_0x417dd3;super(_0x1181a0,_0x3abde6,_0x59d43a,_0x335f9e,_0x4231d4,_0x12b202,_0x26495b,_0x3f4a73,_0x2f9eda),N(this,_0x53a2d4(0x35f),_0x53a2d4(0x3bc)),(this[_0x53a2d4(0x391)]=_0x4f0d92,this[_0x53a2d4(0x460)]=_0x22186b,this[_0x53a2d4(0x3d9)]=_0x5bde00,this[_0x53a2d4(0x216)]=_0x6a9bb7,this[_0x53a2d4(0x328)]=_0x2f9eda,this[_0x53a2d4(0x293)](),this[_0x53a2d4(0x490)](),this[_0x53a2d4(0x240)]());}[_0x417dd3(0x21a)](){return this;}[_0x417dd3(0x407)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x417dd3(0x298)](){return this;}[_0x417dd3(0x49c)](){return this;}[_0x417dd3(0x1d1)](){return this;}[_0x417dd3(0x388)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x417dd3(0x490)](){var _0x2b9a09=_0x417dd3,_0x513ff8;(_0x513ff8=this['_localCacheService'])==null||_0x513ff8['updateOfflineData'](this[_0x2b9a09(0x3bd)],this[_0x2b9a09(0x1c8)],null,[]);}['_showConflictNotification'](){var _0x2cc7ed=_0x417dd3;this[_0x2cc7ed(0x391)]?this[_0x2cc7ed(0x216)][_0x2cc7ed(0x30f)]({'id':re[_0x2cc7ed(0x414)]}):this['_collaborationUIEventService'][_0x2cc7ed(0x30f)]({'id':re['CONFLICT']});}[_0x417dd3(0x240)](){var _0x56a022=_0x417dd3;this[_0x56a022(0x460)]['updatePermissionPoint'](new _0xfc7bf3(this[_0x56a022(0x3bd)])['id'],!0x1);}};ue=Te([P(0x6,_0x25220a(_0xde5f4f)),P(0x7,_0x36b2a5),P(0x8,_0x3731a7),P(0x9,_0x25220a(_0x3f4ef2)),P(0xa,_0x25220a(_0xa280b6)),P(0xb,_0x25220a(pe)),P(0xc,_0x33e2b5(J))],ue);let de=class extends Ce{constructor(_0x101215,_0x294a50,_0x1cc07c,_0x1aa5d9,_0x33b352,_0x5b4799,_0x4d3ad5,_0x5607c6,_0x32a840,_0x4cf621){super(_0x101215,_0x294a50,_0x1cc07c,_0x1aa5d9,_0x33b352,_0x5607c6,_0x32a840,_0x4d3ad5,_0x4cf621),N(this,'status','offline'),this['_injector']=_0x5b4799;}['appendMutation'](_0x37f494){var _0x21c290=_0x417dd3;return this[_0x21c290(0x25e)][_0x21c290(0x205)](_0x37f494),this['_updateLocalCache'](),this;}[_0x417dd3(0x407)](_0x56df87){var _0x386589=_0x417dd3;throw new Error(_0x386589(0x1f8));}[_0x417dd3(0x225)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x417dd3(0x2cf)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x417dd3(0x298)](){return this;}['toggleOffline'](){return this;}[_0x417dd3(0x1d1)](){var _0x2c16c=_0x417dd3;const {_injector:_0x104a86,_pendingMutations:_0x5ebcc4,_awaitingChangeset:_0x248d2d,unitID:_0x5c496a,_handler:_0x201904,type:_0x241e8e}=this,_0x49f2e7=yi(_0x104a86,_0x5c496a,_0x241e8e,_0x248d2d,_0x5ebcc4,_0x201904);return _0x49f2e7 instanceof ae?_0x49f2e7[_0x2c16c(0x2c2)]():(_0x49f2e7 instanceof oe||_0x49f2e7 instanceof le)&&_0x49f2e7['resend'](),_0x49f2e7;}['resend'](){var _0x251f65=_0x417dd3;throw new Error(_0x251f65(0x276));}};de=Te([P(0x5,_0x25220a(_0x4eec35)),P(0x6,_0x25220a(_0x3f4ef2)),P(0x7,_0x36b2a5),P(0x8,_0x3731a7),P(0x9,_0x33e2b5(J))],de);let ee=class extends Ce{constructor(_0x3a06b4,_0x16acd8,_0x494dc1,_0x550d22,_0xb61886,_0x105617,_0x2c0a7d,_0x1d32c4,_0x2ebf6d,_0x30f120,_0x4a1853,_0x309d93,_0x371185,_0x293af0){var _0x3bce99=_0x417dd3;super(_0x3a06b4,_0x16acd8,_0x494dc1,_0x550d22,_0x2c0a7d,_0x4a1853,_0x309d93,_0x2ebf6d,_0x293af0),N(this,_0x3bce99(0x35f),_0x3bce99(0x451)),(this[_0x3bce99(0x463)]=_0xb61886,this[_0x3bce99(0x2e1)]=_0x105617,this['_injector']=_0x1d32c4,this[_0x3bce99(0x340)]=_0x30f120,this[_0x3bce99(0x322)]=_0x371185,this[_0x3bce99(0x328)]=_0x293af0);}[_0x417dd3(0x27e)](_0x2ae849){var _0x2ec9d7=_0x417dd3;try{const _0x29ee3f=[..._0x2ae849,...this['_queuedRemoteChangesets']],_0x42e652=[this['_awaitingChangeset']||this[_0x2ec9d7(0x463)]]['filter'](_0x3305e6=>!!_0x3305e6);let _0x4995ff,_0x392fe7;if(_0x42e652[_0x2ec9d7(0x48d)]){const _0x17a58b=this[_0x2ec9d7(0x322)][_0x2ec9d7(0x2bf)](_0x29ee3f,_0x42e652,!0x1);if(!_0x1b65ae(_0x17a58b))throw _0x17a58b[_0x2ec9d7(0x305)];_0x4995ff=_0x17a58b[_0x2ec9d7(0x479)],_0x392fe7=_0x17a58b[_0x2ec9d7(0x4ca)];}else _0x4995ff=_0x29ee3f,_0x392fe7=[];let _0x4228ac=this['_pendingMutations'];_0x4995ff[_0x2ec9d7(0x2e0)](_0x1ea647=>{var _0x8568c9=_0x2ec9d7;let _0x25a7f0;if(_0x4228ac['length']){const _0x38b072=this[_0x8568c9(0x322)]['transformMutationsWithChangeset'](_0x1ea647,_0x4228ac);if(!_0x2f3dc1(_0x38b072))throw _0x38b072[_0x8568c9(0x305)];_0x25a7f0=_0x38b072['c1Prime'],_0x4228ac=_0x38b072[_0x8568c9(0x290)];}else _0x25a7f0=_0x1ea647;this['_executeRemoteChangeset'](_0x25a7f0);}),this[_0x2ec9d7(0x463)]&&this[_0x2ec9d7(0x395)](),this[_0x2ec9d7(0x270)]&&_0x392fe7[_0x2ec9d7(0x48d)]&&(_0x392fe7[0x0]['baseRev']=this['_getCurrentRevision']());let _0x346304;if(this[_0x2ec9d7(0x270)]&&_0x4228ac[_0x2ec9d7(0x48d)]!==0x0)_0x346304=this[_0x2ec9d7(0x212)]['createInstance'](oe,this[_0x2ec9d7(0x3bd)],this[_0x2ec9d7(0x1c8)],_0x392fe7[0x0],_0x4228ac,this[_0x2ec9d7(0x2dd)],void 0x0);else{if(this[_0x2ec9d7(0x270)]&&_0x4228ac['length']===0x0)_0x392fe7[0x0][_0x2ec9d7(0x44a)]=this['_getCurrentRevision'](),_0x346304=this['_injector']['createInstance'](le,this['unitID'],this['type'],_0x392fe7[0x0],this[_0x2ec9d7(0x2dd)]);else{if(_0x4228ac[_0x2ec9d7(0x48d)]!==0x0){const _0x51d427=this[_0x2ec9d7(0x212)][_0x2ec9d7(0x325)](ae,this[_0x2ec9d7(0x3bd)],this['type'],_0x4228ac,this['_handler']);_0x51d427[_0x2ec9d7(0x2c2)](),_0x346304=_0x51d427;}else _0x346304=this['_injector'][_0x2ec9d7(0x325)](Ne,this[_0x2ec9d7(0x3bd)],this[_0x2ec9d7(0x1c8)],this['_handler']);}}return _0x346304[_0x2ec9d7(0x369)](),_0x346304;}catch(_0x5292f9){return this[_0x2ec9d7(0x340)][_0x2ec9d7(0x305)]('[FetchMissState]',_0x2ec9d7(0x3b5),_0x5292f9),this[_0x2ec9d7(0x212)][_0x2ec9d7(0x325)](ue,this['unitID'],this[_0x2ec9d7(0x1c8)],this[_0x2ec9d7(0x270)],this[_0x2ec9d7(0x25e)],this[_0x2ec9d7(0x2dd)],!0x1);}}[_0x417dd3(0x388)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x417dd3(0x21a)](_0xcaed0e){var _0x443992=_0x417dd3;return this['_pendingMutations'][_0x443992(0x205)](_0xcaed0e),this;}[_0x417dd3(0x407)](_0x4b89fc){var _0x42dbe9=_0x417dd3;return this[_0x42dbe9(0x2e1)][_0x42dbe9(0x205)](_0x4b89fc),this;}[_0x417dd3(0x225)](_0x1f65e9){var _0x5bca93=_0x417dd3;if(this[_0x5bca93(0x270)])return this['_acknowledgedAwaitingChangeset']=this[_0x5bca93(0x270)],this[_0x5bca93(0x270)]=null,this;throw new Error(_0x5bca93(0x3e1));}[_0x417dd3(0x2cf)](_0x4475f2){var _0x1841ed=_0x417dd3;return this['_onConflict'](!!(_0x4475f2!=null&&_0x4475f2[_0x1841ed(0x37c)]));}[_0x417dd3(0x298)](){return this;}[_0x417dd3(0x49c)](){var _0x636adb=_0x417dd3;return this[_0x636adb(0x212)][_0x636adb(0x325)](de,this[_0x636adb(0x3bd)],this['type'],this[_0x636adb(0x270)],this['_pendingMutations'],this[_0x636adb(0x2dd)]);}['toggleOnline'](){return this;}['_onConflict'](_0x33aba4){var _0x5f22cb=_0x417dd3;return this[_0x5f22cb(0x212)][_0x5f22cb(0x325)](ue,this[_0x5f22cb(0x3bd)],this[_0x5f22cb(0x1c8)],this['_awaitingChangeset'],this[_0x5f22cb(0x25e)],this[_0x5f22cb(0x2dd)],_0x33aba4);}};ee=Te([P(0x7,_0x25220a(_0x4eec35)),P(0x8,_0x25220a(_0x3f4ef2)),P(0x9,_0x227eb4),P(0xa,_0x36b2a5),P(0xb,_0x3731a7),P(0xc,_0x4839c5),P(0xd,_0x33e2b5(J))],ee);function yi(_0x29ae7e,_0x13b7a6,_0x326dc1,_0x10f52e,_0x5965c0,_0x21fad5){var _0x3450b9=_0x417dd3;return _0x10f52e&&_0x5965c0['length']?_0x29ae7e[_0x3450b9(0x325)](oe,_0x13b7a6,_0x326dc1,_0x10f52e,_0x5965c0,_0x21fad5,void 0x0):_0x10f52e?_0x29ae7e[_0x3450b9(0x325)](le,_0x13b7a6,_0x326dc1,_0x10f52e,_0x21fad5):_0x5965c0[_0x3450b9(0x48d)]?_0x29ae7e[_0x3450b9(0x325)](ae,_0x13b7a6,_0x326dc1,_0x5965c0,_0x21fad5):_0x29ae7e[_0x3450b9(0x325)](Ne,_0x13b7a6,_0x326dc1,_0x21fad5);}var as=Object[_0x417dd3(0x3a9)],Lt=(_0x3c874e,_0x183f63,_0x2b6198,_0x5d69f8)=>{for(var _0x3aeb0f=_0x5d69f8>0x1?void 0x0:_0x5d69f8?as(_0x183f63,_0x2b6198):_0x183f63,_0x44e8cb=_0x3c874e['length']-0x1,_0x1ee018;_0x44e8cb>=0x0;_0x44e8cb--)(_0x1ee018=_0x3c874e[_0x44e8cb])&&(_0x3aeb0f=_0x1ee018(_0x3aeb0f)||_0x3aeb0f);return _0x3aeb0f;},H=(_0x5a2b18,_0x3b128f)=>(_0x5eb98c,_0x482e21)=>_0x3b128f(_0x5eb98c,_0x482e21,_0x5a2b18);let nt=class extends _0x4728bc{constructor(_0x557ba9,_0x5616a1,_0x37ddc7,_0x2c2f7e,_0xd4d619,_0x4cbb19,_0x22d71f,_0xaa0b32,_0x2b5ecc,_0x548e38,_0xb2bf84,_0x350186,_0x16d230){var _0x5b0f1a=_0x417dd3;super(),N(this,_0x5b0f1a(0x226),new _0x5995bf(null)),N(this,_0x5b0f1a(0x22c),this[_0x5b0f1a(0x226)][_0x5b0f1a(0x378)]()),N(this,_0x5b0f1a(0x285)),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x5b0f1a(0x481),0x0),N(this,_0x5b0f1a(0x2f7),this[_0x5b0f1a(0x22c)][_0x5b0f1a(0x483)](_0x5f411b(_0x441d0e=>_0x441d0e?_0x441d0e[_0x5b0f1a(0x35f)]:bi[_0x5b0f1a(0x2b3)]),_0x350a19(0x1))),N(this,_0x5b0f1a(0x24b),!0x1),N(this,_0x5b0f1a(0x3b3),[]),(this[_0x5b0f1a(0x3bd)]=_0x557ba9,this[_0x5b0f1a(0x4c1)]=_0x5616a1,this[_0x5b0f1a(0x316)]=_0x37ddc7,this[_0x5b0f1a(0x212)]=_0x2c2f7e,this['_compressMutationService']=_0xd4d619,this[_0x5b0f1a(0x3d9)]=_0x4cbb19,this[_0x5b0f1a(0x319)]=_0x22d71f,this['_eventService']=_0xaa0b32,this[_0x5b0f1a(0x340)]=_0x2b5ecc,this[_0x5b0f1a(0x1ed)]=_0x548e38,this[_0x5b0f1a(0x460)]=_0xb2bf84,this[_0x5b0f1a(0x2c3)]=_0x350186,this['_localCacheService']=_0x16d230);}get[_0x417dd3(0x1ea)](){var _0x3b52e1=_0x417dd3;return this[_0x3b52e1(0x285)];}async[_0x417dd3(0x309)](){var _0x25535c=_0x417dd3;if(this['state'])throw new Error(_0x25535c(0x348));await this[_0x25535c(0x3f2)]();}[_0x417dd3(0x3c6)](){var _0x469150=_0x417dd3;return this[_0x469150(0x4c5)]=!0x0,_0x47b7f3(()=>{var _0x2d70ca=_0x469150;this[_0x2d70ca(0x4c5)]=!0x1,this[_0x2d70ca(0x34c)]();});}['onLocalMutation'](_0x3824e1){this['_onLocalMutation'](_0x3824e1);}['_updateState'](_0x2506dc){var _0x131ee5=_0x417dd3;this[_0x131ee5(0x285)]=_0x2506dc,this['_state$'][_0x131ee5(0x367)](_0x2506dc);}async[_0x417dd3(0x3f2)](){var _0x598954=_0x417dd3,_0x304a86;this['_updateState'](await this[_0x598954(0x342)]()),this['_singleActiveUnitService']&&((_0x304a86=this[_0x598954(0x2c3)])==null||_0x304a86['editingUnit'](this['unitID']),this['disposeWithMe'](this[_0x598954(0x2c3)][_0x598954(0x1d2)](this[_0x598954(0x3bd)])[_0x598954(0x318)](_0x5b6be0=>{var _0x204e43=_0x598954;this['_logService'][_0x204e43(0x1e1)](_0x204e43(0x2d1),'editing\x20status\x20changed\x20to',_0x5b6be0),_0x5b6be0===Ci[_0x204e43(0x312)]?(this['_eventService'][_0x204e43(0x30f)]({'id':re[_0x204e43(0x433)]}),this[_0x204e43(0x460)][_0x204e43(0x27d)](new _0xfc7bf3(this[_0x204e43(0x3bd)])['id'],!0x1),this[_0x204e43(0x460)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x204e43(0x27d)](new _0xfc7bf3(this[_0x204e43(0x3bd)])['id'],!0x0),this[_0x204e43(0x460)]['setShowComponents'](!0x0));})));let _0x445220=!0x1;return this['disposeWithMe'](this[_0x598954(0x4c1)]['sessionStatus$'][_0x598954(0x318)](_0x32de44=>{var _0x1cb6d8=_0x598954;_0x32de44===Ee[_0x1cb6d8(0x4c2)]?this[_0x1cb6d8(0x44b)](_0x445220):_0x32de44===Ee[_0x1cb6d8(0x2b3)]&&(_0x445220=!0x0,this[_0x1cb6d8(0x444)]());})),this[_0x598954(0x466)](this[_0x598954(0x4c1)][_0x598954(0x458)]['subscribe'](_0x53dd21=>{var _0x463533=_0x598954;try{switch(_0x53dd21[_0x463533(0x284)]){case _0x371ea6['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x373719(_0x53dd21['data']));break;}case _0x371ea6[_0x463533(0x2cc)]:{this[_0x463533(0x351)](_0x53dd21[_0x463533(0x2a5)]);break;}case _0x371ea6[_0x463533(0x220)]:{this[_0x463533(0x2a4)]();break;}case _0x371ea6[_0x463533(0x1fd)]:{this[_0x463533(0x24e)](_0x53dd21[_0x463533(0x2a5)]);break;}case _0x371ea6[_0x463533(0x30e)]:{this[_0x463533(0x2b0)](_0x53dd21['data'][_0x463533(0x288)][_0x463533(0x238)](_0x1dbe9a=>_0x373719(_0x1dbe9a)));break;}case _0x371ea6[_0x463533(0x471)]:{this[_0x463533(0x2a4)]({'isPermissionRej':!0x0});break;}case _0x371ea6[_0x463533(0x1cb)]:break;}}catch(_0x478ea9){throw console[_0x463533(0x305)](_0x463533(0x2e6),_0x478ea9),_0x478ea9;}})),this['_state'];}['_unlockTransition'](){var _0x3caad4=_0x417dd3;this[_0x3caad4(0x24b)]=!0x1;}[_0x417dd3(0x25c)](){var _0x22bcd1=_0x417dd3;if(this[_0x22bcd1(0x24b)])throw new Error(_0x22bcd1(0x431));this['_transitionLocked']=!0x0;}[_0x417dd3(0x244)](_0x228bc2){var _0x8bbe11=_0x417dd3;this[_0x8bbe11(0x25c)](),this[_0x8bbe11(0x2d4)](this[_0x8bbe11(0x285)][_0x8bbe11(0x21a)](_0x228bc2)),this[_0x8bbe11(0x320)]();}['_onRemoteChangeset'](_0x7f0df3){var _0x30f7e0=_0x417dd3;if(!(_0x7f0df3[_0x30f7e0(0x430)]<=this['_revisionService'][_0x30f7e0(0x3d1)](this['unitID']))){if(this[_0x30f7e0(0x4c5)]){this['_remoteChangesetQueue'][_0x30f7e0(0x205)](_0x7f0df3);return;}this[_0x30f7e0(0x48e)](_0x7f0df3);}}[_0x417dd3(0x34c)](){var _0xc4d5ba=_0x417dd3;this[_0xc4d5ba(0x3b3)][_0xc4d5ba(0x2e0)](_0x704ce5=>this[_0xc4d5ba(0x48e)](_0x704ce5)),this['_remoteChangesetQueue']=[];}[_0x417dd3(0x48e)](_0x5a9fa4){var _0x4b007b=_0x417dd3;const _0x43755b=this[_0x4b007b(0x4b3)][_0x4b007b(0x2b9)][_0x4b007b(0x491)](this[_0x4b007b(0x4b3)][_0x4b007b(0x2b9)][_0x4b007b(0x31d)]()[_0x4b007b(0x3a8)])(_0x5a9fa4[_0x4b007b(0x33d)],null)||_0x5a9fa4[_0x4b007b(0x33d)],_0x30f14b={..._0x5a9fa4,'mutations':_0x43755b};this['_lockTransition'](),this[_0x4b007b(0x2d4)](this[_0x4b007b(0x285)]['onRemoteChangeset'](_0x30f14b)),this[_0x4b007b(0x320)]();}[_0x417dd3(0x351)](_0x5183b3){var _0xe5fd9b=_0x417dd3;this[_0xe5fd9b(0x25c)](),this[_0xe5fd9b(0x2d4)](this['_state']['onRemoteAck'](_0x5183b3)),this[_0xe5fd9b(0x320)]();}[_0x417dd3(0x2a4)](_0x461138){var _0x26af27=_0x417dd3;this[_0x26af27(0x25c)](),this['_updateState'](this[_0x26af27(0x285)][_0x26af27(0x2cf)](_0x461138)),this[_0x26af27(0x320)]();}[_0x417dd3(0x24e)](_0x1f1bff){var _0x20704b=_0x417dd3;this[_0x20704b(0x25c)](),this['_updateState'](this[_0x20704b(0x285)][_0x20704b(0x298)](_0x1f1bff)),this[_0x20704b(0x320)]();}[_0x417dd3(0x2b0)](_0x4c5165){var _0xb9d2eb=_0x417dd3;if(!(this[_0xb9d2eb(0x285)]instanceof ee))throw new TypeError(_0xb9d2eb(0x233));const _0x3495eb=_0x4c5165[_0xb9d2eb(0x238)](_0xc34deb=>{var _0x489905=_0xb9d2eb;const _0x2ee75b=this['_compressMutationService'][_0x489905(0x2b9)][_0x489905(0x491)](this[_0x489905(0x4b3)][_0x489905(0x2b9)][_0x489905(0x31d)]()[_0x489905(0x3a8)])(_0xc34deb[_0x489905(0x33d)],null)||_0xc34deb[_0x489905(0x33d)];return{..._0xc34deb,'mutations':_0x2ee75b};});this[_0xb9d2eb(0x25c)](),this[_0xb9d2eb(0x2d4)](this[_0xb9d2eb(0x285)][_0xb9d2eb(0x27e)](_0x3495eb)),this[_0xb9d2eb(0x320)]();}[_0x417dd3(0x444)](){var _0x5f3872=_0x417dd3;this['_lockTransition'](),this[_0x5f3872(0x2d4)](this[_0x5f3872(0x285)]['toggleOffline']()),this[_0x5f3872(0x320)]();}[_0x417dd3(0x44b)](_0x30fa78=!0x1){var _0x2e3216=_0x417dd3;this[_0x2e3216(0x25c)](),this[_0x2e3216(0x2d4)](this[_0x2e3216(0x285)]['toggleOnline']()),this[_0x2e3216(0x320)]();const _0xffc477=this[_0x2e3216(0x285)];_0x30fa78&&_0xffc477 instanceof Ne&&(this[_0x2e3216(0x25c)](),this['_updateState'](_0xffc477[_0x2e3216(0x210)]()),this[_0x2e3216(0x320)]());}async[_0x417dd3(0x342)](){return new Promise(_0x24d403=>{var _0x168e0e=_0xd662;this['session'][_0x168e0e(0x3d5)][_0x168e0e(0x483)](_0x5e53ac(0x1))[_0x168e0e(0x318)](async _0x30eb52=>{var _0x3cdc5b=_0x168e0e;_0x24d403(await this[_0x3cdc5b(0x1e4)](_0x30eb52===Ee[_0x3cdc5b(0x4c2)]));});});}[_0x417dd3(0x3b1)](){var _0x2ce734=_0x417dd3;const _0x69d749=this[_0x2ce734(0x3bd)];return{'onStateChange':(_0xe8dae0,_0x4a30a8)=>{var _0x1f75c1=_0x2ce734;if(_0xe8dae0!==this[_0x1f75c1(0x285)])throw new Error(_0x1f75c1(0x4b2)+_0xe8dae0[_0x1f75c1(0x35f)]+_0x1f75c1(0x487)+_0x4a30a8['status']+_0x1f75c1(0x30a)+this['_state'][_0x1f75c1(0x35f)]);this[_0x1f75c1(0x2d4)](_0x4a30a8);},'onSendChangeset':_0x4bfac0=>{var _0x1553ad=_0x2ce734;_0x4bfac0['sid']||(_0x4bfac0[_0x1553ad(0x3ca)]=this[_0x1553ad(0x24c)],_0x4bfac0['reqId']=++this['_changesetReqId']);const _0x1faf6b={'eventID':_0x371ea6['SUBMIT_CHANGESET'],'data':{'unitID':_0x4bfac0['unitID'],'unitType':this[_0x1553ad(0x316)],'changeset':_0x4bfac0,'memberID':this['session'][_0x1553ad(0x2fa)]()}};this[_0x1553ad(0x4c1)][_0x1553ad(0x3cb)](_0x1faf6b,this['unitID']);},'onMissingChangesets':({from:_0x370ac1,to:_0x4b8f6b})=>{var _0x1763a0=_0x2ce734;this[_0x1763a0(0x340)][_0x1763a0(0x1e1)](_0x1763a0(0x2d1),_0x1763a0(0x489)+_0x370ac1+_0x1763a0(0x4c4)+_0x4b8f6b);const _0x215c41={'eventID':_0x371ea6[_0x1763a0(0x49d)],'data':{'unitID':_0x69d749,'unitType':this[_0x1763a0(0x316)],'from':_0x370ac1,'to':_0x4b8f6b}};this['session'][_0x1763a0(0x3cb)](_0x215c41,this[_0x1763a0(0x3bd)]);}};}async[_0x417dd3(0x1e4)](_0x5c5749){var _0x570d21=_0x417dd3,_0x3805ab,_0x521097,_0x5e5fc9;const _0x444bb6=await((_0x3805ab=this[_0x570d21(0x425)])==null?void 0x0:_0x3805ab['loadOfflineData'](this[_0x570d21(0x3bd)])),_0x37a502=(_0x521097=_0x444bb6==null?void 0x0:_0x444bb6[_0x570d21(0x33d)])!=null?_0x521097:[],_0x1a2ca0=(_0x5e5fc9=_0x444bb6==null?void 0x0:_0x444bb6[_0x570d21(0x1f1)])!=null?_0x5e5fc9:null,_0x47515e=!!(_0x1a2ca0!=null&&_0x1a2ca0[_0x570d21(0x3ca)])&&!!(_0x1a2ca0!=null&&_0x1a2ca0[_0x570d21(0x1ec)]);this[_0x570d21(0x24c)]=_0x47515e?_0x1a2ca0['sid']:Zn(),this[_0x570d21(0x481)]=_0x47515e?_0x1a2ca0[_0x570d21(0x1ec)]:0x0;const _0x5416b8=this['unitID'];try{this[_0x570d21(0x3e2)](_0x1a2ca0,_0x37a502);}catch(_0x22ccb9){this[_0x570d21(0x340)][_0x570d21(0x305)](_0x22ccb9);}const _0x25cb5b=this[_0x570d21(0x3b1)]();if(_0x5c5749){const _0x4f7330=yi(this[_0x570d21(0x212)],_0x5416b8,this['_type'],_0x1a2ca0,_0x37a502,_0x25cb5b);return _0x4f7330 instanceof ae?_0x4f7330[_0x570d21(0x2c2)]():(_0x4f7330 instanceof oe||_0x4f7330 instanceof le)&&_0x4f7330['resend'](),_0x4f7330;}return this[_0x570d21(0x212)][_0x570d21(0x325)](de,_0x5416b8,this['_type'],_0x1a2ca0,_0x37a502,_0x25cb5b);}['_replayCachedMutations'](_0x54be65,_0x5603a8){var _0xc45b27=_0x417dd3,_0x316f48,_0x41c3f5;const _0x714f37=this[_0xc45b27(0x4b3)][_0xc45b27(0x2b9)][_0xc45b27(0x491)](this[_0xc45b27(0x4b3)][_0xc45b27(0x2b9)]['getInterceptPoints']()[_0xc45b27(0x3a8)]);(_0x316f48=_0x714f37((_0x54be65==null?void 0x0:_0x54be65[_0xc45b27(0x33d)])||[],null))==null||_0x316f48[_0xc45b27(0x2e0)](_0xf6593=>this[_0xc45b27(0x1ed)][_0xc45b27(0x46c)](_0xf6593['id'],_0xf6593[_0xc45b27(0x2b6)])),(_0x41c3f5=_0x714f37(_0x5603a8||[],null))==null||_0x41c3f5[_0xc45b27(0x2e0)](_0x35ea1f=>this['_commandService'][_0xc45b27(0x46c)](_0x35ea1f['id'],_0x35ea1f[_0xc45b27(0x2b6)]));}};nt=Lt([H(0x3,_0x25220a(_0x4eec35)),H(0x4,_0x25220a(_0x3e5415)),H(0x5,_0x25220a(_0xa280b6)),H(0x6,_0x25220a(_0x3f4ef2)),H(0x7,_0x25220a(pe)),H(0x8,_0x227eb4),H(0x9,_0x36b2a5),H(0xa,_0xde5f4f),H(0xb,_0x33e2b5(ht)),H(0xc,_0x33e2b5(J))],nt);let It=class extends nt{constructor(_0x187bf7,_0x1e6829,_0x326bd2,_0x2b288d,_0x293fa2,_0xd94e56,_0x1977da,_0x3fabd5,_0xcfe4d1,_0x30c3fa,_0xfe59ca,_0x3c7044,_0x42113a){var _0x428870=_0x417dd3;super(_0x187bf7,_0x326bd2,_0x1e6829,_0x2b288d,_0x293fa2,_0xd94e56,_0x1977da,_0x3fabd5,_0xcfe4d1,_0x30c3fa,_0xfe59ca,_0x3c7044,_0x42113a),N(this,_0x428870(0x375),null),(this[_0x428870(0x3bd)]=_0x187bf7,this[_0x428870(0x1c8)]=_0x1e6829);}[_0x417dd3(0x271)](_0x6494bd){var _0x29504c=_0x417dd3;this[_0x29504c(0x375)]=_0x6494bd;}[_0x417dd3(0x495)](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x2cd99a=_0x417dd3;const _0x1f898b=super[_0x2cd99a(0x3b1)]();return _0x1f898b[_0x2cd99a(0x41b)]=_0x145fb6=>{var _0x5eb84e=_0x2cd99a,_0xc76676,_0x38449a;return(_0x38449a=(_0xc76676=this['_handlerCallback'])==null?void 0x0:_0xc76676[_0x5eb84e(0x41b)])==null?void 0x0:_0x38449a[_0x5eb84e(0x3d8)](_0xc76676,_0x145fb6);},_0x1f898b[_0x2cd99a(0x21c)]=_0x40a700=>{var _0x5a6bb3=_0x2cd99a,_0x2f4533,_0x294fce;return(_0x294fce=(_0x2f4533=this['_handlerCallback'])==null?void 0x0:_0x2f4533['onTransformState'])==null?void 0x0:_0x294fce[_0x5a6bb3(0x3d8)](_0x2f4533,_0x40a700);},_0x1f898b[_0x2cd99a(0x359)]=_0x4ce6e3=>{var _0x551801=_0x2cd99a,_0x2add51,_0x3180ab;return(_0x3180ab=(_0x2add51=this[_0x551801(0x375)])==null?void 0x0:_0x2add51[_0x551801(0x359)])==null?void 0x0:_0x3180ab['call'](_0x2add51,_0x4ce6e3);},_0x1f898b[_0x2cd99a(0x25f)]=_0x248139=>{var _0x19af71=_0x2cd99a,_0x1a474f,_0x5147b2;return(_0x5147b2=(_0x1a474f=this[_0x19af71(0x375)])==null?void 0x0:_0x1a474f[_0x19af71(0x25f)])==null?void 0x0:_0x5147b2[_0x19af71(0x3d8)](_0x1a474f,_0x248139);},_0x1f898b[_0x2cd99a(0x38b)]=_0x5cdb02=>{var _0x46d64d=_0x2cd99a,_0x1233b1,_0xb6afcc,_0x442bc4;if(!((_0x1233b1=this[_0x46d64d(0x375)])!=null&&_0x1233b1['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x442bc4=(_0xb6afcc=this[_0x46d64d(0x375)])==null?void 0x0:_0xb6afcc[_0x46d64d(0x38b)])==null?void 0x0:_0x442bc4[_0x46d64d(0x3d8)](_0xb6afcc,_0x5cdb02);},_0x1f898b['onTransformRemoteChangesetByStateCache']=_0x32bd78=>{var _0xbe579e=_0x2cd99a,_0x1d66ac,_0x38013d,_0x4f37b8;if(!((_0x1d66ac=this[_0xbe579e(0x375)])!=null&&_0x1d66ac['onTransformRemoteChangesetByStateCache']))throw new Error(_0xbe579e(0x301));return(_0x4f37b8=(_0x38013d=this['_handlerCallback'])==null?void 0x0:_0x38013d['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4f37b8[_0xbe579e(0x3d8)](_0x38013d,_0x32bd78);},_0x1f898b;}async[_0x417dd3(0x3f2)](){var _0x1f17be=_0x417dd3;const _0x34aaac=await super[_0x1f17be(0x3f2)]();return this[_0x1f17be(0x466)](this['_commandService']['onCommandExecuted']((_0x290a4f,_0xc80d22)=>{var _0xb181fb=_0x1f17be;if(_0x290a4f[_0xb181fb(0x1c8)]!==_0xe70fe3[_0xb181fb(0x393)]||_0xc80d22!=null&&_0xc80d22[_0xb181fb(0x2a3)]||_0xc80d22!=null&&_0xc80d22[_0xb181fb(0x304)]||_0x290a4f['id']===_0x2980d9['id'])return;const _0x5acbe4=_0x290a4f['params'];if((_0x5acbe4==null?void 0x0:_0x5acbe4['unitId'])!==this[_0xb181fb(0x3bd)])return;const _0x24facd=_0x290a4f,_0x157862=this['_compressMutationService'][_0xb181fb(0x2b9)][_0xb181fb(0x491)](this['_compressMutationService']['interceptor'][_0xb181fb(0x31d)]()[_0xb181fb(0x353)])([_0x24facd],null)||[_0x24facd];this[_0xb181fb(0x244)](_0x157862[0x0]);})),_0x34aaac;}};It=Lt([H(0x3,_0x25220a(_0x4eec35)),H(0x4,_0x25220a(_0x3e5415)),H(0x5,_0x25220a(_0xa280b6)),H(0x6,_0x25220a(_0x3f4ef2)),H(0x7,_0x25220a(pe)),H(0x8,_0x227eb4),H(0x9,_0x36b2a5),H(0xa,_0xde5f4f),H(0xb,_0x33e2b5(ht)),H(0xc,_0x33e2b5(J))],It);let Tt=class extends nt{constructor(_0x23c835,_0xdedfcd,_0x499605,_0x57037e,_0x514eff,_0x3d9c32,_0x35b69c,_0x5cb5f8,_0x214274,_0x59df80,_0x20ad93,_0x88fb18,_0x8a6e22,_0x1f4405){var _0x5490d8=_0x417dd3;super(_0x23c835,_0x499605,_0xdedfcd,_0x57037e,_0x514eff,_0x3d9c32,_0x35b69c,_0x214274,_0x59df80,_0x20ad93,_0x88fb18,_0x8a6e22,_0x1f4405),this[_0x5490d8(0x3bd)]=_0x23c835,this[_0x5490d8(0x1c8)]=_0xdedfcd,this[_0x5490d8(0x4c3)]=_0x5cb5f8;}[_0x417dd3(0x3b1)](){var _0x59e770=_0x417dd3;const _0x21fa1f=super[_0x59e770(0x3b1)]();return _0x21fa1f[_0x59e770(0x359)]=_0x39ce9a=>this['_sheetTransformSelectionsService']['transformSelections'](_0x39ce9a),_0x21fa1f;}async[_0x417dd3(0x3f2)](){var _0x264b18=_0x417dd3;const _0x15455d=await super['_init']();return this['disposeWithMe'](this[_0x264b18(0x1ed)][_0x264b18(0x43c)]((_0x541d0a,_0x4f193c)=>{var _0x5a48f1=_0x264b18;if(_0x541d0a['type']!==_0xe70fe3[_0x5a48f1(0x393)]||_0x4f193c!=null&&_0x4f193c[_0x5a48f1(0x2a3)]||_0x4f193c!=null&&_0x4f193c['onlyLocal'])return;const _0x26738e=_0x541d0a[_0x5a48f1(0x2b6)];if((_0x26738e==null?void 0x0:_0x26738e['unitId'])!==this[_0x5a48f1(0x3bd)])return;const _0x2ea8a1=_0x541d0a,_0x309806=this[_0x5a48f1(0x4b3)][_0x5a48f1(0x2b9)][_0x5a48f1(0x491)](this[_0x5a48f1(0x4b3)]['interceptor'][_0x5a48f1(0x31d)]()['COMPRESS_MUTATION_SEND'])([_0x2ea8a1],null)||[_0x2ea8a1];this[_0x5a48f1(0x244)](_0x309806[0x0]);})),_0x15455d;}};Tt=Lt([H(0x3,_0x25220a(_0x4eec35)),H(0x4,_0x25220a(_0x3e5415)),H(0x5,_0x25220a(_0xa280b6)),H(0x6,_0x25220a(_0x3f4ef2)),H(0x7,_0x25220a(it)),H(0x8,_0x25220a(pe)),H(0x9,_0x227eb4),H(0xa,_0x36b2a5),H(0xb,_0xde5f4f),H(0xc,_0x33e2b5(ht)),H(0xd,_0x33e2b5(J))],Tt);var os=Object[_0x417dd3(0x3a9)],cs=(_0x25171e,_0x20d86b,_0x394835,_0x2d945a)=>{var _0x4568f0=_0x417dd3;for(var _0xd63276=_0x2d945a>0x1?void 0x0:_0x2d945a?os(_0x20d86b,_0x394835):_0x20d86b,_0x12a16f=_0x25171e[_0x4568f0(0x48d)]-0x1,_0x4dfd4b;_0x12a16f>=0x0;_0x12a16f--)(_0x4dfd4b=_0x25171e[_0x12a16f])&&(_0xd63276=_0x4dfd4b(_0xd63276)||_0xd63276);return _0xd63276;},ft=(_0xe344bc,_0x2ac8fd)=>(_0x444e29,_0x49c0c8)=>_0x2ac8fd(_0x444e29,_0x49c0c8,_0xe344bc);let st=class extends _0x4728bc{constructor(_0x2ca258,_0x1f0a0f,_0x1a5bbb){var _0x2a7122=_0x417dd3;super(),N(this,_0x2a7122(0x477),new Map()),N(this,_0x2a7122(0x415),new _0x18a626()),N(this,_0x2a7122(0x222),this[_0x2a7122(0x415)][_0x2a7122(0x378)]()),(this[_0x2a7122(0x212)]=_0x2ca258,this[_0x2a7122(0x42c)]=_0x1f0a0f,this['_univerInstanceService']=_0x1a5bbb,this[_0x2a7122(0x3f2)]());}['dispose'](){var _0x1e8bd4=_0x417dd3;super[_0x1e8bd4(0x495)](),this['_entities'][_0x1e8bd4(0x2e0)](_0xb14629=>_0xb14629[_0x1e8bd4(0x495)]()),this[_0x1e8bd4(0x477)][_0x1e8bd4(0x360)]();}['getCollabEntity'](_0x5a47b5){var _0x3c5e43=_0x417dd3,_0x107f35;return(_0x107f35=this['_entities'][_0x3c5e43(0x2f8)](_0x5a47b5))!=null?_0x107f35:null;}[_0x417dd3(0x2f0)](_0x2574ea){var _0x409f99=_0x417dd3;const _0x56d0a8=this[_0x409f99(0x3fe)](_0x2574ea);return _0x56d0a8?_0x62ad99(_0x56d0a8):this[_0x409f99(0x415)][_0x409f99(0x483)](_0x10f1f2(_0x3eb5d3=>_0x3eb5d3['unitID']===_0x2574ea));}[_0x417dd3(0x2a6)](_0x3b4b70){var _0xdd35e2=_0x417dd3;return _0x4ea9cb(this[_0xdd35e2(0x2f0)](_0x3b4b70)[_0xdd35e2(0x483)](_0x1613eb(()=>{})));}[_0x417dd3(0x3f2)](){var _0x44366f=_0x417dd3;this[_0x44366f(0x38d)][_0x44366f(0x21e)](_0x1fe67e[_0x44366f(0x28b)])['pipe'](_0x4f278e(this[_0x44366f(0x1ff)]),_0x6c221f(0x10))['subscribe'](async _0x1a09e0=>{var _0x4086d3=_0x44366f;const _0x3c4835=_0x1a09e0[_0x4086d3(0x20e)](),_0x2c3c4e=await this[_0x4086d3(0x311)](_0x3c4835,Q['UNIVER_SHEET']);this[_0x4086d3(0x477)][_0x4086d3(0x252)](_0x3c4835,_0x2c3c4e);}),this['_univerInstanceService'][_0x44366f(0x21e)](_0x1fe67e[_0x44366f(0x1ca)])[_0x44366f(0x483)](_0x4f278e(this[_0x44366f(0x1ff)]),_0x6c221f(0x10))[_0x44366f(0x483)](_0x10f1f2(_0x2586a2=>!_0x2586a2[_0x44366f(0x20e)]()[_0x44366f(0x3cf)]('__')))[_0x44366f(0x318)](async _0x4dbfad=>{var _0x3a755b=_0x44366f;const _0x9d8c82=_0x4dbfad[_0x3a755b(0x20e)](),_0x5f7755=await this[_0x3a755b(0x311)](_0x9d8c82,Q['UNIVER_DOC']);this[_0x3a755b(0x477)][_0x3a755b(0x252)](_0x9d8c82,_0x5f7755);}),_0x1294e8(this[_0x44366f(0x38d)]['getTypeOfUnitDisposed$'](_0x1fe67e[_0x44366f(0x28b)]),this['_univerInstanceService'][_0x44366f(0x47e)](_0x1fe67e[_0x44366f(0x1ca)]))[_0x44366f(0x483)](_0x4f278e(this[_0x44366f(0x1ff)]))['subscribe'](_0xb9b679=>{var _0x5d5877=_0x44366f;const _0x40a737=_0xb9b679['getUnitId'](),_0x5b354e=this[_0x5d5877(0x477)]['get'](_0x40a737);_0x5b354e&&(_0x5b354e[_0x5d5877(0x495)](),this['_entities'][_0x5d5877(0x445)](_0x40a737));});}async['_startCollaboration'](_0x772011,_0x591bcc){var _0x1816bb=_0x417dd3;const _0x362c48=await this[_0x1816bb(0x42c)][_0x1816bb(0x1eb)](_0x772011),_0x43f6ae=this[_0x1816bb(0x212)][_0x1816bb(0x325)](this['_getCtorByUniverType'](_0x591bcc),_0x772011,_0x591bcc,_0x362c48);return await _0x43f6ae[_0x1816bb(0x309)](),this[_0x1816bb(0x415)][_0x1816bb(0x367)](_0x43f6ae),_0x43f6ae;}[_0x417dd3(0x4a0)](_0x2dd8cb){var _0x2b343f=_0x417dd3;switch(_0x2dd8cb){case Q[_0x2b343f(0x1ca)]:return It;case Q[_0x2b343f(0x28b)]:return Tt;default:throw new Error(_0x2b343f(0x287)+_0x2dd8cb);}}};st=cs([ft(0x0,_0x25220a(_0x4eec35)),ft(0x1,_0x25220a(Me)),ft(0x2,_0x34aa87)],st);var hs=Object[_0x417dd3(0x3a9)],_s=(_0xcaca65,_0x2f10a0,_0x4f8cfd,_0xedf797)=>{var _0x5f5ba2=_0x417dd3;for(var _0x3d11bd=_0xedf797>0x1?void 0x0:_0xedf797?hs(_0x2f10a0,_0x4f8cfd):_0x2f10a0,_0xb32094=_0xcaca65[_0x5f5ba2(0x48d)]-0x1,_0x10df1c;_0xb32094>=0x0;_0xb32094--)(_0x10df1c=_0xcaca65[_0xb32094])&&(_0x3d11bd=_0x10df1c(_0x3d11bd)||_0x3d11bd);return _0x3d11bd;},zt=(_0x304672,_0x3affcb)=>(_0x15590b,_0x45dde9)=>_0x3affcb(_0x15590b,_0x45dde9,_0x304672);const ls=_0x417dd3(0x327),us=_0x417dd3(0x361);let Ct=class extends _0x2943b3{constructor(_0x810b5e,_0x36cf02){var _0x1cfb45=_0x417dd3;super(),this[_0x1cfb45(0x38d)]=_0x810b5e,this[_0x1cfb45(0x2d3)]=_0x36cf02,this['_init']();}['_init'](){var _0xb2ecc5=_0x417dd3;this[_0xb2ecc5(0x466)](this['_univerInstanceService'][_0xb2ecc5(0x4af)][_0xb2ecc5(0x318)](()=>{var _0x345848=_0xb2ecc5,_0x17dd46;const _0x168f17=this[_0x345848(0x38d)][_0x345848(0x2c1)]();let _0x1550ae=(_0x17dd46=this[_0x345848(0x2d3)]['getConfig'](ls))!=null?_0x17dd46:us;_0x168f17 instanceof _0x11b6af&&(_0x1550ae=_0x168f17[_0x345848(0x22f)]),document[_0x345848(0x4a8)]=_0x1550ae;}));}};Ct=_s([zt(0x0,_0x34aa87),zt(0x1,_0x2deb3f)],Ct);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x464ccf,_0xbea00e,_0x510252,_0x44b059)=>{for(var _0x5cc736=_0x44b059>0x1?void 0x0:_0x44b059?ds(_0xbea00e,_0x510252):_0xbea00e,_0x5b8d9f=_0x464ccf['length']-0x1,_0x17449e;_0x5b8d9f>=0x0;_0x5b8d9f--)(_0x17449e=_0x464ccf[_0x5b8d9f])&&(_0x5cc736=_0x17449e(_0x5cc736)||_0x5cc736);return _0x5cc736;},vt=(_0x1f19ac,_0x163f1)=>(_0x4cd4e7,_0x5dded4)=>_0x163f1(_0x4cd4e7,_0x5dded4,_0x1f19ac);let rt=class{constructor(_0x9c278b,_0x592df5,_0x34f954){var _0x4d4016=_0x417dd3;this[_0x4d4016(0x2d3)]=_0x9c278b,this['_httpService']=_0x592df5,this[_0x4d4016(0x215)]=_0x34f954,this[_0x4d4016(0x309)]();}[_0x417dd3(0x309)](){var _0x47ae32=_0x417dd3;this[_0x47ae32(0x42f)][_0x47ae32(0x30c)]({'priority':0x1,'interceptor':(_0x370cc5,_0x177a2b)=>_0x177a2b(_0x370cc5)[_0x47ae32(0x483)](_0x2cc889(async _0x5b5ca6=>{var _0x383888=_0x47ae32;const _0x290f85=_0x5b5ca6;if(_0x290f85[_0x383888(0x35f)]===0x191){if(typeof window>'u')throw new Error(_0x383888(0x3a2));if(window['confirm'](this[_0x383888(0x215)]['t'](_0x383888(0x382)))){const _0x3b9d39=window['encodeURIComponent'](window['location'][_0x383888(0x282)]);window['location'][_0x383888(0x282)]=this[_0x383888(0x200)]()+_0x383888(0x33f)+_0x3b9d39;}}return _0x290f85;}))});}[_0x417dd3(0x200)](){var _0x43fafd=_0x417dd3,_0x4b95fa,_0x2e12cf;const _0x6fc6e8=this[_0x43fafd(0x2d3)][_0x43fafd(0x44e)](Un),_0x4a9472=this['_configService'][_0x43fafd(0x44e)](q);return(_0x2e12cf=(_0x4b95fa=_0x4a9472==null?void 0x0:_0x4a9472['loginUrlKey'])!=null?_0x4b95fa:_0x6fc6e8)!=null?_0x2e12cf:An;}};rt=fs([vt(0x0,_0x2deb3f),vt(0x1,_0x25220a(_0x383e70)),vt(0x2,_0x25220a(_0xa280b6))],rt);var vs=Object[_0x417dd3(0x3a9)],ps=(_0x42fe0f,_0x20b626,_0x391eef,_0xb2d1c5)=>{var _0x39541d=_0x417dd3;for(var _0x4f4f69=_0xb2d1c5>0x1?void 0x0:_0xb2d1c5?vs(_0x20b626,_0x391eef):_0x20b626,_0x40665d=_0x42fe0f[_0x39541d(0x48d)]-0x1,_0x31ea08;_0x40665d>=0x0;_0x40665d--)(_0x31ea08=_0x42fe0f[_0x40665d])&&(_0x4f4f69=_0x31ea08(_0x4f4f69)||_0x4f4f69);return _0x4f4f69;},Jt=(_0x4a2ade,_0xd2158c)=>(_0x47efcd,_0x1f9824)=>_0xd2158c(_0x47efcd,_0x1f9824,_0x4a2ade);const Ni=_0x417dd3(0x421),ms='/universer-api/authz';let Rt=class extends _0x2943b3{constructor(_0x227982,_0x362fab){var _0x21722b=_0x417dd3;super(),this[_0x21722b(0x401)]=_0x227982,this[_0x21722b(0x2d3)]=_0x362fab,this[_0x21722b(0x258)]();}[_0x417dd3(0x258)](){var _0x4038c7=_0x417dd3;const _0x347088=this;this[_0x4038c7(0x466)](this[_0x4038c7(0x401)][_0x4038c7(0x30c)]({'priority':0x3e7,'interceptor':_0x466875({'isMatch'(_0x2dfecb){var _0xadc94e=_0x4038c7,_0x50597c;if(_0x2dfecb['method']==='POST'&&((_0x50597c=_0x2dfecb['requestParams'])!=null&&_0x50597c['body'])){const {objectID:_0x511b14,objectType:_0x48b3bd}=_0x2dfecb['requestParams']['body']||{};if(!_0x511b14||_0x48b3bd===void 0x0)return!0x1;const _0x1b041b=_0x347088['_getAPIPrefixPath']()+'/'+_0x48b3bd+_0xadc94e(0x1c9)+_0x511b14+_0xadc94e(0x379);if(_0x2dfecb['url']===_0x1b041b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xe83966){var _0x4fbaf7=_0x4038c7,_0x303d08;return(_0x303d08=_0xe83966['requestParams'])==null?void 0x0:_0x303d08[_0x4fbaf7(0x47f)];},'mergeParamsToRequest'(_0x3aabd0,_0x21fae8){var _0x9a1571=_0x4038c7;const _0x26d25f=_0x347088[_0x9a1571(0x1fe)]()+'/-/object/-/batch_allowed',_0x48a7be=_0x3aabd0['reduce']((_0x11b342,_0x1281f6)=>{var _0x49df01=_0x9a1571;const {unitID:_0x17e143,objectID:_0x30c2a9,objectType:_0x482197,actions:_0xbc2c7b}=_0x1281f6;return _0x11b342[_0x17e143]||(_0x11b342[_0x17e143]={}),_0x11b342[_0x17e143][_0x30c2a9]||(_0x11b342[_0x17e143][_0x30c2a9]={'objectID':_0x30c2a9,'objectType':_0x482197,'actions':[]}),_0x11b342[_0x17e143][_0x30c2a9][_0x49df01(0x473)]['push'](..._0xbc2c7b),_0x11b342;},{}),_0x130e14=[];for(const _0x59513a in _0x48a7be)for(const _0x2f3590 in _0x48a7be[_0x59513a]){const {actions:_0x5b284a,objectType:_0x25dcff}=_0x48a7be[_0x59513a][_0x2f3590],_0x54b226=[...new Set(_0x5b284a)];_0x130e14[_0x9a1571(0x205)]({'unitID':_0x59513a,'objectID':_0x2f3590,'objectType':_0x25dcff,'actions':_0x54b226});}return new _0x1d94cf(_0x9a1571(0x3f5),_0x26d25f,{'headers':_0x21fae8[_0x9a1571(0x260)],'withCredentials':_0x21fae8['withCredentials'],'responseType':_0x21fae8[_0x9a1571(0x3c3)],'body':{'requests':_0x130e14}});}},{'distributeResult'(_0x2f68a1,_0x46854a){var _0x4960b4=_0x4038c7;const {objectActions:_0x3afd0b}=_0x2f68a1;return _0x46854a[_0x4960b4(0x238)](_0x4cf5f4=>{var _0x26aa06=_0x4960b4;const {unitID:_0x1e6e79,objectID:_0x4592a8,actions:_0x10f718}=_0x4cf5f4,_0x46820d=_0x3afd0b[_0x26aa06(0x279)](_0x4aab79=>_0x4aab79[_0x26aa06(0x3bd)]===_0x1e6e79&&_0x4aab79['objectID']===_0x4592a8),_0x1044cc=_0x10f718[_0x26aa06(0x238)](_0x54268d=>_0x46820d==null?void 0x0:_0x46820d['actions'][_0x26aa06(0x279)](_0x2bd5fe=>_0x2bd5fe[_0x26aa06(0x1fa)]===_0x54268d))[_0x26aa06(0x402)](_0x301c20=>!!_0x301c20);return{'config':_0x4cf5f4,'result':{'actions':_0x1044cc,'error':_0x2f68a1[_0x26aa06(0x305)]}};});}})}));}[_0x417dd3(0x1fe)](){var _0xb7ab7=_0x417dd3,_0x4a3c03,_0x127496;const _0x4cb3e=this[_0xb7ab7(0x2d3)][_0xb7ab7(0x44e)](Ni),_0x349cab=this[_0xb7ab7(0x2d3)][_0xb7ab7(0x44e)](q);return(_0x127496=(_0x4a3c03=_0x349cab==null?void 0x0:_0x349cab['authzUrl'])!=null?_0x4a3c03:_0x4cb3e)!=null?_0x127496:ms;}async[_0x417dd3(0x424)](_0x5a0abb){var _0x4e6851=_0x417dd3;const _0x1ff158=this['_getAPIPrefixPath']()+'/'+_0x5a0abb[_0x4e6851(0x3fd)]+_0x4e6851(0x20b);return(await this[_0x4e6851(0x401)][_0x4e6851(0x29f)](_0x1ff158,{'body':_0x5a0abb}))['body'][_0x4e6851(0x234)]||'';}async[_0x417dd3(0x2d8)](_0x1fd0b2){var _0x5771be=_0x417dd3;const _0xe59c3b=this[_0x5771be(0x1fe)]()+_0x5771be(0x307);return(await this['_HTTPService'][_0x5771be(0x29f)](_0xe59c3b,{'body':_0x1fd0b2}))[_0x5771be(0x47f)][_0x5771be(0x3aa)];}async['update'](_0xfa0408){var _0x38dbbd=_0x417dd3,_0x273e19,_0x255a29;const _0x3c088a=this['_getAPIPrefixPath']()+'/'+_0xfa0408[_0x38dbbd(0x3fd)]+'/object/'+_0xfa0408['objectID'],_0x4a1bab=await this[_0x38dbbd(0x401)]['put'](_0x3c088a,{'body':_0xfa0408});if(((_0x255a29=(_0x273e19=_0x4a1bab==null?void 0x0:_0x4a1bab[_0x38dbbd(0x47f)])==null?void 0x0:_0x273e19[_0x38dbbd(0x305)])==null?void 0x0:_0x255a29[_0x38dbbd(0x2fd)])!==0x1)throw new Error(_0x38dbbd(0x389));}async[_0x417dd3(0x1de)](_0x1c7500){var _0x4f6e5d=_0x417dd3;const _0x5a55c6=this[_0x4f6e5d(0x1fe)]()+'/'+_0x1c7500[_0x4f6e5d(0x3fd)]+'/object/'+_0x1c7500['objectID']+_0x4f6e5d(0x379);return(await this['_HTTPService']['post'](_0x5a55c6,{'body':_0x1c7500}))['body'][_0x4f6e5d(0x473)];}async[_0x417dd3(0x26f)](_0x247f7d){var _0x2b0c11=_0x417dd3;const _0x1f44e5=this[_0x2b0c11(0x1fe)]()+'/-/object/-/batch_allowed';return(await this[_0x2b0c11(0x401)]['post'](_0x1f44e5,{'body':{'requests':_0x247f7d}}))[_0x2b0c11(0x47f)][_0x2b0c11(0x37d)];}async[_0x417dd3(0x3fb)](_0x15177f){var _0x49490c=_0x417dd3;const _0x407d5a=this[_0x49490c(0x1fe)]()+'/'+_0x15177f[_0x49490c(0x3fd)]+_0x49490c(0x37f),_0x480f0e=await this[_0x49490c(0x401)][_0x49490c(0x29f)](_0x407d5a,{'body':_0x15177f});return{'roles':_0x480f0e[_0x49490c(0x47f)][_0x49490c(0x36e)],'actions':_0x480f0e['body'][_0x49490c(0x473)]};}async[_0x417dd3(0x308)](_0x27a4d2){var _0x1a4d53=_0x417dd3;const _0xc7cc26=this[_0x1a4d53(0x1fe)]()+_0x1a4d53(0x337);await this[_0x1a4d53(0x401)][_0x1a4d53(0x445)](_0xc7cc26,{'params':{'collaboratorID':_0x27a4d2[_0x1a4d53(0x41a)],'objectID':_0x27a4d2[_0x1a4d53(0x234)],'unitID':_0x27a4d2[_0x1a4d53(0x3bd)]}});}async[_0x417dd3(0x31f)](_0x4629ba){var _0x5d2afa=_0x417dd3;const _0x27c9cd=this[_0x5d2afa(0x1fe)]()+_0x5d2afa(0x337);await this[_0x5d2afa(0x401)][_0x5d2afa(0x40f)](_0x27c9cd,{'body':_0x4629ba});}async[_0x417dd3(0x3af)](_0x5c130b){var _0x4ea8a8=_0x417dd3;const _0x576191=this['_getAPIPrefixPath']()+_0x4ea8a8(0x337);await this['_HTTPService'][_0x4ea8a8(0x29f)](_0x576191,{'body':_0x5c130b});}async['listCollaborators'](_0x2422f6){var _0x40d6b9=_0x417dd3;const _0x2698b9=this[_0x40d6b9(0x1fe)]()+_0x40d6b9(0x337);return(await this[_0x40d6b9(0x401)][_0x40d6b9(0x2f8)](_0x2698b9,{'params':{'objectID':_0x2422f6[_0x40d6b9(0x234)],'unitID':_0x2422f6[_0x40d6b9(0x3bd)]}}))['body'][_0x40d6b9(0x2ba)];}async[_0x417dd3(0x39b)](_0x5c994c){var _0x4cb891=_0x417dd3;const _0x1cf1f3=this['_getAPIPrefixPath']()+_0x4cb891(0x337);await this['_HTTPService'][_0x4cb891(0x27a)](_0x1cf1f3,{'body':_0x5c994c});}};Rt=ps([Jt(0x0,_0x25220a(_0x383e70)),Jt(0x1,_0x25220a(_0x2deb3f))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x45a689){var _0x5de747=_0x417dd3;return _0x45a689&&_0x45a689['__esModule']&&Object[_0x5de747(0x3ff)][_0x5de747(0x3fa)][_0x5de747(0x3d8)](_0x45a689,_0x5de747(0x4cd))?_0x45a689[_0x5de747(0x4cd)]:_0x45a689;}var Ve={'exports':{}};function gs(_0x1472ab){var _0x1b3698=_0x417dd3;throw new Error(_0x1b3698(0x417)+_0x1472ab+_0x1b3698(0x1e5));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x5e63ab,_0x3d1c3d){(function(_0x33b7fe,_0x5b4135){var _0x46349b=_0xd662;_0x5e63ab[_0x46349b(0x237)]=_0x5b4135();}(Ss,function(){var _0x435374=_0x435374||function(_0x232af0,_0x145a0b){var _0x463a4d=_0xd662,_0x126726;if(typeof window<'u'&&window[_0x463a4d(0x203)]&&(_0x126726=window[_0x463a4d(0x203)]),typeof self<'u'&&self[_0x463a4d(0x203)]&&(_0x126726=self[_0x463a4d(0x203)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x126726=globalThis[_0x463a4d(0x203)]),!_0x126726&&typeof window<'u'&&window[_0x463a4d(0x2c0)]&&(_0x126726=window['msCrypto']),!_0x126726&&typeof pt<'u'&&pt['crypto']&&(_0x126726=pt[_0x463a4d(0x203)]),!_0x126726&&typeof gs==_0x463a4d(0x2fe))try{_0x126726=require(_0x463a4d(0x203));}catch{}var _0x54d6de=function(){var _0x2257da=_0x463a4d;if(_0x126726){if(typeof _0x126726[_0x2257da(0x283)]=='function')try{return _0x126726[_0x2257da(0x283)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x126726[_0x2257da(0x3e8)]==_0x2257da(0x2fe))try{return _0x126726['randomBytes'](0x4)[_0x2257da(0x436)]();}catch{}}throw new Error(_0x2257da(0x3d0));},_0x4fddc0=Object[_0x463a4d(0x424)]||(function(){function _0x83f3c0(){}return function(_0x54634e){var _0x4f73ec=_0xd662,_0x42014d;return _0x83f3c0['prototype']=_0x54634e,_0x42014d=new _0x83f3c0(),_0x83f3c0[_0x4f73ec(0x3ff)]=null,_0x42014d;};}()),_0x2999e0={},_0x1d9dcf=_0x2999e0['lib']={},_0x45631e=_0x1d9dcf[_0x463a4d(0x497)]=(function(){return{'extend':function(_0x5ce2a4){var _0x4e5fac=_0xd662,_0x57a8ca=_0x4fddc0(this);return _0x5ce2a4&&_0x57a8ca[_0x4e5fac(0x2cb)](_0x5ce2a4),(!_0x57a8ca['hasOwnProperty']('init')||this[_0x4e5fac(0x309)]===_0x57a8ca[_0x4e5fac(0x309)])&&(_0x57a8ca[_0x4e5fac(0x309)]=function(){var _0x57dd62=_0x4e5fac;_0x57a8ca[_0x57dd62(0x397)]['init'][_0x57dd62(0x34d)](this,arguments);}),_0x57a8ca['init'][_0x4e5fac(0x3ff)]=_0x57a8ca,_0x57a8ca['$super']=this,_0x57a8ca;},'create':function(){var _0x36960d=_0xd662,_0x19494f=this[_0x36960d(0x1c7)]();return _0x19494f['init'][_0x36960d(0x34d)](_0x19494f,arguments),_0x19494f;},'init':function(){},'mixIn':function(_0x1328ae){var _0x2f6889=_0xd662;for(var _0x213aa4 in _0x1328ae)_0x1328ae['hasOwnProperty'](_0x213aa4)&&(this[_0x213aa4]=_0x1328ae[_0x213aa4]);_0x1328ae[_0x2f6889(0x3fa)](_0x2f6889(0x272))&&(this[_0x2f6889(0x272)]=_0x1328ae[_0x2f6889(0x272)]);},'clone':function(){var _0x1fe668=_0xd662;return this[_0x1fe668(0x309)][_0x1fe668(0x3ff)][_0x1fe668(0x1c7)](this);}};}()),_0x43326b=_0x1d9dcf[_0x463a4d(0x223)]=_0x45631e[_0x463a4d(0x1c7)]({'init':function(_0x425f2e,_0x32aa0b){var _0x2bb4a9=_0x463a4d;_0x425f2e=this[_0x2bb4a9(0x3c5)]=_0x425f2e||[],_0x32aa0b!=_0x145a0b?this[_0x2bb4a9(0x303)]=_0x32aa0b:this['sigBytes']=_0x425f2e[_0x2bb4a9(0x48d)]*0x4;},'toString':function(_0x19940b){var _0x50efe8=_0x463a4d;return(_0x19940b||_0x5a4bf5)[_0x50efe8(0x2ee)](this);},'concat':function(_0x4ac1ca){var _0x53b9cb=_0x463a4d,_0x228af9=this[_0x53b9cb(0x3c5)],_0x4daa1e=_0x4ac1ca[_0x53b9cb(0x3c5)],_0x349f60=this[_0x53b9cb(0x303)],_0x156643=_0x4ac1ca[_0x53b9cb(0x303)];if(this[_0x53b9cb(0x4be)](),_0x349f60%0x4)for(var _0x279bc8=0x0;_0x279bc8<_0x156643;_0x279bc8++){var _0x5f0684=_0x4daa1e[_0x279bc8>>>0x2]>>>0x18-_0x279bc8%0x4*0x8&0xff;_0x228af9[_0x349f60+_0x279bc8>>>0x2]|=_0x5f0684<<0x18-(_0x349f60+_0x279bc8)%0x4*0x8;}else{for(var _0x4c1bf6=0x0;_0x4c1bf6<_0x156643;_0x4c1bf6+=0x4)_0x228af9[_0x349f60+_0x4c1bf6>>>0x2]=_0x4daa1e[_0x4c1bf6>>>0x2];}return this[_0x53b9cb(0x303)]+=_0x156643,this;},'clamp':function(){var _0x540270=_0x463a4d,_0x3af89a=this[_0x540270(0x3c5)],_0x2fa500=this[_0x540270(0x303)];_0x3af89a[_0x2fa500>>>0x2]&=0xffffffff<<0x20-_0x2fa500%0x4*0x8,_0x3af89a['length']=_0x232af0[_0x540270(0x2d6)](_0x2fa500/0x4);},'clone':function(){var _0x7886df=_0x463a4d,_0x1ad91c=_0x45631e['clone'][_0x7886df(0x3d8)](this);return _0x1ad91c[_0x7886df(0x3c5)]=this[_0x7886df(0x3c5)]['slice'](0x0),_0x1ad91c;},'random':function(_0x497907){for(var _0x11f9cf=[],_0x3c3e2e=0x0;_0x3c3e2e<_0x497907;_0x3c3e2e+=0x4)_0x11f9cf['push'](_0x54d6de());return new _0x43326b['init'](_0x11f9cf,_0x497907);}}),_0x3d338a=_0x2999e0['enc']={},_0x5a4bf5=_0x3d338a[_0x463a4d(0x4cb)]={'stringify':function(_0x52d40d){var _0x29b4a0=_0x463a4d;for(var _0x50c63a=_0x52d40d[_0x29b4a0(0x3c5)],_0x196f1b=_0x52d40d['sigBytes'],_0x34bab1=[],_0x12f56a=0x0;_0x12f56a<_0x196f1b;_0x12f56a++){var _0xd94748=_0x50c63a[_0x12f56a>>>0x2]>>>0x18-_0x12f56a%0x4*0x8&0xff;_0x34bab1[_0x29b4a0(0x205)]((_0xd94748>>>0x4)[_0x29b4a0(0x272)](0x10)),_0x34bab1[_0x29b4a0(0x205)]((_0xd94748&0xf)[_0x29b4a0(0x272)](0x10));}return _0x34bab1[_0x29b4a0(0x4a3)]('');},'parse':function(_0x3f9830){var _0x512b50=_0x463a4d;for(var _0x1d99b5=_0x3f9830[_0x512b50(0x48d)],_0x44c47e=[],_0x4952d5=0x0;_0x4952d5<_0x1d99b5;_0x4952d5+=0x2)_0x44c47e[_0x4952d5>>>0x3]|=parseInt(_0x3f9830[_0x512b50(0x23c)](_0x4952d5,0x2),0x10)<<0x18-_0x4952d5%0x8*0x4;return new _0x43326b['init'](_0x44c47e,_0x1d99b5/0x2);}},_0x5e405a=_0x3d338a[_0x463a4d(0x2dc)]={'stringify':function(_0x5aeac2){var _0x546961=_0x463a4d;for(var _0x1b6b73=_0x5aeac2[_0x546961(0x3c5)],_0x3131a8=_0x5aeac2[_0x546961(0x303)],_0x4a66ea=[],_0x19cc7f=0x0;_0x19cc7f<_0x3131a8;_0x19cc7f++){var _0x400cb8=_0x1b6b73[_0x19cc7f>>>0x2]>>>0x18-_0x19cc7f%0x4*0x8&0xff;_0x4a66ea[_0x546961(0x205)](String[_0x546961(0x47d)](_0x400cb8));}return _0x4a66ea[_0x546961(0x4a3)]('');},'parse':function(_0x5bc11b){var _0x3da2e6=_0x463a4d;for(var _0x503d18=_0x5bc11b['length'],_0x4cba57=[],_0x11014f=0x0;_0x11014f<_0x503d18;_0x11014f++)_0x4cba57[_0x11014f>>>0x2]|=(_0x5bc11b[_0x3da2e6(0x3e4)](_0x11014f)&0xff)<<0x18-_0x11014f%0x4*0x8;return new _0x43326b[(_0x3da2e6(0x309))](_0x4cba57,_0x503d18);}},_0x493d9b=_0x3d338a[_0x463a4d(0x410)]={'stringify':function(_0x2bcdfc){var _0x52f222=_0x463a4d;try{return decodeURIComponent(escape(_0x5e405a['stringify'](_0x2bcdfc)));}catch{throw new Error(_0x52f222(0x2cd));}},'parse':function(_0x26a270){var _0x3c13d2=_0x463a4d;return _0x5e405a[_0x3c13d2(0x39a)](unescape(encodeURIComponent(_0x26a270)));}},_0x402cea=_0x1d9dcf[_0x463a4d(0x4b8)]=_0x45631e[_0x463a4d(0x1c7)]({'reset':function(){this['_data']=new _0x43326b['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x20511e){var _0x1e9274=_0x463a4d;typeof _0x20511e==_0x1e9274(0x43b)&&(_0x20511e=_0x493d9b['parse'](_0x20511e)),this['_data'][_0x1e9274(0x26d)](_0x20511e),this[_0x1e9274(0x2ab)]+=_0x20511e[_0x1e9274(0x303)];},'_process':function(_0x53f8c9){var _0x3d128d=_0x463a4d,_0x4ff042,_0x10e8a4=this['_data'],_0x49694a=_0x10e8a4[_0x3d128d(0x3c5)],_0x568e95=_0x10e8a4['sigBytes'],_0x3a8c9a=this['blockSize'],_0x125edd=_0x3a8c9a*0x4,_0x2611e8=_0x568e95/_0x125edd;_0x53f8c9?_0x2611e8=_0x232af0[_0x3d128d(0x2d6)](_0x2611e8):_0x2611e8=_0x232af0[_0x3d128d(0x41c)]((_0x2611e8|0x0)-this[_0x3d128d(0x429)],0x0);var _0x5b722b=_0x2611e8*_0x3a8c9a,_0x3976a8=_0x232af0['min'](_0x5b722b*0x4,_0x568e95);if(_0x5b722b){for(var _0x56f3c7=0x0;_0x56f3c7<_0x5b722b;_0x56f3c7+=_0x3a8c9a)this['_doProcessBlock'](_0x49694a,_0x56f3c7);_0x4ff042=_0x49694a['splice'](0x0,_0x5b722b),_0x10e8a4[_0x3d128d(0x303)]-=_0x3976a8;}return new _0x43326b['init'](_0x4ff042,_0x3976a8);},'clone':function(){var _0x52adf7=_0x463a4d,_0x9a08c0=_0x45631e[_0x52adf7(0x1df)][_0x52adf7(0x3d8)](this);return _0x9a08c0['_data']=this[_0x52adf7(0x494)][_0x52adf7(0x1df)](),_0x9a08c0;},'_minBufferSize':0x0});_0x1d9dcf[_0x463a4d(0x341)]=_0x402cea['extend']({'cfg':_0x45631e[_0x463a4d(0x1c7)](),'init':function(_0x2b05af){var _0x36935e=_0x463a4d;this[_0x36935e(0x2ed)]=this[_0x36935e(0x2ed)][_0x36935e(0x1c7)](_0x2b05af),this['reset']();},'reset':function(){var _0x578c7d=_0x463a4d;_0x402cea[_0x578c7d(0x227)]['call'](this),this[_0x578c7d(0x405)]();},'update':function(_0x468076){var _0x33f320=_0x463a4d;return this[_0x33f320(0x217)](_0x468076),this[_0x33f320(0x1db)](),this;},'finalize':function(_0x49f8a2){var _0x194a69=_0x463a4d;_0x49f8a2&&this[_0x194a69(0x217)](_0x49f8a2);var _0xb6e3b3=this['_doFinalize']();return _0xb6e3b3;},'blockSize':0x10,'_createHelper':function(_0x3d5529){return function(_0x455883,_0x4123ff){var _0x5b8bdf=_0xd662;return new _0x3d5529[(_0x5b8bdf(0x309))](_0x4123ff)[_0x5b8bdf(0x461)](_0x455883);};},'_createHmacHelper':function(_0xdf805a){return function(_0x1a63e0,_0x566d79){var _0x17d0c9=_0xd662;return new _0x5f1771[(_0x17d0c9(0x1f3))][(_0x17d0c9(0x309))](_0xdf805a,_0x566d79)['finalize'](_0x1a63e0);};}});var _0x5f1771=_0x2999e0[_0x463a4d(0x3ee)]={};return _0x2999e0;}(Math);return _0x435374;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Es=We[_0x417dd3(0x237)],Zt;function Di(){var _0x83fb50=_0x417dd3;return Zt||(Zt=0x1,function(_0x5c4ea8,_0x5e960d){(function(_0x63fa4,_0x1b2e4a){var _0x8d6ea8=_0xd662;_0x5c4ea8[_0x8d6ea8(0x237)]=_0x1b2e4a(ie());}(Es,function(_0x158036){var _0x336229=_0xd662;return(function(){var _0x578911=_0xd662,_0x1039c1=_0x158036,_0xb12b50=_0x1039c1[_0x578911(0x3e3)],_0x2cee78=_0xb12b50[_0x578911(0x223)],_0x8c420c=_0x1039c1[_0x578911(0x4aa)];_0x8c420c['Base64']={'stringify':function(_0x47d30c){var _0xa25b8e=_0x578911,_0x53ca6d=_0x47d30c['words'],_0x1658d5=_0x47d30c[_0xa25b8e(0x303)],_0x591c53=this[_0xa25b8e(0x4b9)];_0x47d30c[_0xa25b8e(0x4be)]();for(var _0x85386d=[],_0x2ec85c=0x0;_0x2ec85c<_0x1658d5;_0x2ec85c+=0x3)for(var _0xad07f9=_0x53ca6d[_0x2ec85c>>>0x2]>>>0x18-_0x2ec85c%0x4*0x8&0xff,_0x4f5aa7=_0x53ca6d[_0x2ec85c+0x1>>>0x2]>>>0x18-(_0x2ec85c+0x1)%0x4*0x8&0xff,_0x54d2ac=_0x53ca6d[_0x2ec85c+0x2>>>0x2]>>>0x18-(_0x2ec85c+0x2)%0x4*0x8&0xff,_0x17662d=_0xad07f9<<0x10|_0x4f5aa7<<0x8|_0x54d2ac,_0x58d6a2=0x0;_0x58d6a2<0x4&&_0x2ec85c+_0x58d6a2*0.75<_0x1658d5;_0x58d6a2++)_0x85386d[_0xa25b8e(0x205)](_0x591c53[_0xa25b8e(0x384)](_0x17662d>>>0x6*(0x3-_0x58d6a2)&0x3f));var _0x4c24ab=_0x591c53[_0xa25b8e(0x384)](0x40);if(_0x4c24ab){for(;_0x85386d['length']%0x4;)_0x85386d[_0xa25b8e(0x205)](_0x4c24ab);}return _0x85386d['join']('');},'parse':function(_0x3fd8ca){var _0x173555=_0x578911,_0x60bfa8=_0x3fd8ca['length'],_0x119cd6=this[_0x173555(0x4b9)],_0x431777=this[_0x173555(0x1f0)];if(!_0x431777){_0x431777=this[_0x173555(0x1f0)]=[];for(var _0x333e5a=0x0;_0x333e5a<_0x119cd6[_0x173555(0x48d)];_0x333e5a++)_0x431777[_0x119cd6[_0x173555(0x3e4)](_0x333e5a)]=_0x333e5a;}var _0x4ee7b4=_0x119cd6[_0x173555(0x384)](0x40);if(_0x4ee7b4){var _0x336322=_0x3fd8ca[_0x173555(0x295)](_0x4ee7b4);_0x336322!==-0x1&&(_0x60bfa8=_0x336322);}return _0x537383(_0x3fd8ca,_0x60bfa8,_0x431777);},'_map':_0x578911(0x49e)};function _0x537383(_0x4aceeb,_0x5c39fc,_0x3cf685){var _0x3cd660=_0x578911;for(var _0x4f81f0=[],_0x5bb1cf=0x0,_0x16331a=0x0;_0x16331a<_0x5c39fc;_0x16331a++)if(_0x16331a%0x4){var _0x1a3f98=_0x3cf685[_0x4aceeb[_0x3cd660(0x3e4)](_0x16331a-0x1)]<<_0x16331a%0x4*0x2,_0x5f37ca=_0x3cf685[_0x4aceeb[_0x3cd660(0x3e4)](_0x16331a)]>>>0x6-_0x16331a%0x4*0x2,_0x4879cb=_0x1a3f98|_0x5f37ca;_0x4f81f0[_0x5bb1cf>>>0x2]|=_0x4879cb<<0x18-_0x5bb1cf%0x4*0x8,_0x5bb1cf++;}return _0x2cee78[_0x3cd660(0x424)](_0x4f81f0,_0x5bb1cf);}}()),_0x158036[_0x336229(0x4aa)][_0x336229(0x35a)];}));}(We)),We[_0x83fb50(0x237)];}var Ye={'exports':{}},Is=Ye[_0x417dd3(0x237)],Qt;function Ts(){var _0x388090=_0x417dd3;return Qt||(Qt=0x1,function(_0x4fd244,_0x172304){(function(_0x57eb1b,_0x1ad28b){var _0x2903c6=_0xd662;_0x4fd244[_0x2903c6(0x237)]=_0x1ad28b(ie());}(Is,function(_0x2388cf){var _0xe40b3a=_0xd662;return function(_0x572634){var _0x2a4902=_0xd662,_0x58d3af=_0x2388cf,_0x4de994=_0x58d3af[_0x2a4902(0x3e3)],_0x55322a=_0x4de994[_0x2a4902(0x223)],_0x317b8c=_0x4de994[_0x2a4902(0x341)],_0x207bc7=_0x58d3af['algo'],_0x197fa0=[];(function(){var _0x32d446=_0x2a4902;for(var _0x58f6a0=0x0;_0x58f6a0<0x40;_0x58f6a0++)_0x197fa0[_0x58f6a0]=_0x572634[_0x32d446(0x2f3)](_0x572634['sin'](_0x58f6a0+0x1))*0x100000000|0x0;}());var _0x544773=_0x207bc7[_0x2a4902(0x334)]=_0x317b8c['extend']({'_doReset':function(){var _0x18fd7c=_0x2a4902;this['_hash']=new _0x55322a[(_0x18fd7c(0x309))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x55cdf2,_0x28401a){var _0xffe576=_0x2a4902;for(var _0xfdb02e=0x0;_0xfdb02e<0x10;_0xfdb02e++){var _0x69bee5=_0x28401a+_0xfdb02e,_0x233db7=_0x55cdf2[_0x69bee5];_0x55cdf2[_0x69bee5]=(_0x233db7<<0x8|_0x233db7>>>0x18)&0xff00ff|(_0x233db7<<0x18|_0x233db7>>>0x8)&0xff00ff00;}var _0x38bca9=this['_hash'][_0xffe576(0x3c5)],_0x2f0ef7=_0x55cdf2[_0x28401a+0x0],_0x9ad6ce=_0x55cdf2[_0x28401a+0x1],_0x54956b=_0x55cdf2[_0x28401a+0x2],_0x16f525=_0x55cdf2[_0x28401a+0x3],_0x5b127d=_0x55cdf2[_0x28401a+0x4],_0x23df6f=_0x55cdf2[_0x28401a+0x5],_0x26017a=_0x55cdf2[_0x28401a+0x6],_0xadc066=_0x55cdf2[_0x28401a+0x7],_0x1c37b6=_0x55cdf2[_0x28401a+0x8],_0x265c7c=_0x55cdf2[_0x28401a+0x9],_0x4c4095=_0x55cdf2[_0x28401a+0xa],_0x3e8dc8=_0x55cdf2[_0x28401a+0xb],_0x1d5044=_0x55cdf2[_0x28401a+0xc],_0x192b13=_0x55cdf2[_0x28401a+0xd],_0x4698d4=_0x55cdf2[_0x28401a+0xe],_0x501b89=_0x55cdf2[_0x28401a+0xf],_0x20ed37=_0x38bca9[0x0],_0x9d2685=_0x38bca9[0x1],_0x50ed12=_0x38bca9[0x2],_0xa5c63c=_0x38bca9[0x3];_0x20ed37=_0x53225f(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x2f0ef7,0x7,_0x197fa0[0x0]),_0xa5c63c=_0x53225f(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x9ad6ce,0xc,_0x197fa0[0x1]),_0x50ed12=_0x53225f(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x54956b,0x11,_0x197fa0[0x2]),_0x9d2685=_0x53225f(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x16f525,0x16,_0x197fa0[0x3]),_0x20ed37=_0x53225f(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x5b127d,0x7,_0x197fa0[0x4]),_0xa5c63c=_0x53225f(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x23df6f,0xc,_0x197fa0[0x5]),_0x50ed12=_0x53225f(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x26017a,0x11,_0x197fa0[0x6]),_0x9d2685=_0x53225f(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0xadc066,0x16,_0x197fa0[0x7]),_0x20ed37=_0x53225f(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x1c37b6,0x7,_0x197fa0[0x8]),_0xa5c63c=_0x53225f(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x265c7c,0xc,_0x197fa0[0x9]),_0x50ed12=_0x53225f(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x4c4095,0x11,_0x197fa0[0xa]),_0x9d2685=_0x53225f(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x3e8dc8,0x16,_0x197fa0[0xb]),_0x20ed37=_0x53225f(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x1d5044,0x7,_0x197fa0[0xc]),_0xa5c63c=_0x53225f(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x192b13,0xc,_0x197fa0[0xd]),_0x50ed12=_0x53225f(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x4698d4,0x11,_0x197fa0[0xe]),_0x9d2685=_0x53225f(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x501b89,0x16,_0x197fa0[0xf]),_0x20ed37=_0x4b680a(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x9ad6ce,0x5,_0x197fa0[0x10]),_0xa5c63c=_0x4b680a(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x26017a,0x9,_0x197fa0[0x11]),_0x50ed12=_0x4b680a(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x3e8dc8,0xe,_0x197fa0[0x12]),_0x9d2685=_0x4b680a(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x2f0ef7,0x14,_0x197fa0[0x13]),_0x20ed37=_0x4b680a(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x23df6f,0x5,_0x197fa0[0x14]),_0xa5c63c=_0x4b680a(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x4c4095,0x9,_0x197fa0[0x15]),_0x50ed12=_0x4b680a(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x501b89,0xe,_0x197fa0[0x16]),_0x9d2685=_0x4b680a(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x5b127d,0x14,_0x197fa0[0x17]),_0x20ed37=_0x4b680a(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x265c7c,0x5,_0x197fa0[0x18]),_0xa5c63c=_0x4b680a(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x4698d4,0x9,_0x197fa0[0x19]),_0x50ed12=_0x4b680a(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x16f525,0xe,_0x197fa0[0x1a]),_0x9d2685=_0x4b680a(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x1c37b6,0x14,_0x197fa0[0x1b]),_0x20ed37=_0x4b680a(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x192b13,0x5,_0x197fa0[0x1c]),_0xa5c63c=_0x4b680a(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x54956b,0x9,_0x197fa0[0x1d]),_0x50ed12=_0x4b680a(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0xadc066,0xe,_0x197fa0[0x1e]),_0x9d2685=_0x4b680a(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x1d5044,0x14,_0x197fa0[0x1f]),_0x20ed37=_0x247028(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x23df6f,0x4,_0x197fa0[0x20]),_0xa5c63c=_0x247028(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x1c37b6,0xb,_0x197fa0[0x21]),_0x50ed12=_0x247028(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x3e8dc8,0x10,_0x197fa0[0x22]),_0x9d2685=_0x247028(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x4698d4,0x17,_0x197fa0[0x23]),_0x20ed37=_0x247028(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x9ad6ce,0x4,_0x197fa0[0x24]),_0xa5c63c=_0x247028(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x5b127d,0xb,_0x197fa0[0x25]),_0x50ed12=_0x247028(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0xadc066,0x10,_0x197fa0[0x26]),_0x9d2685=_0x247028(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x4c4095,0x17,_0x197fa0[0x27]),_0x20ed37=_0x247028(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x192b13,0x4,_0x197fa0[0x28]),_0xa5c63c=_0x247028(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x2f0ef7,0xb,_0x197fa0[0x29]),_0x50ed12=_0x247028(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x16f525,0x10,_0x197fa0[0x2a]),_0x9d2685=_0x247028(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x26017a,0x17,_0x197fa0[0x2b]),_0x20ed37=_0x247028(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x265c7c,0x4,_0x197fa0[0x2c]),_0xa5c63c=_0x247028(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x1d5044,0xb,_0x197fa0[0x2d]),_0x50ed12=_0x247028(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x501b89,0x10,_0x197fa0[0x2e]),_0x9d2685=_0x247028(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x54956b,0x17,_0x197fa0[0x2f]),_0x20ed37=_0x301dce(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x2f0ef7,0x6,_0x197fa0[0x30]),_0xa5c63c=_0x301dce(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0xadc066,0xa,_0x197fa0[0x31]),_0x50ed12=_0x301dce(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x4698d4,0xf,_0x197fa0[0x32]),_0x9d2685=_0x301dce(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x23df6f,0x15,_0x197fa0[0x33]),_0x20ed37=_0x301dce(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x1d5044,0x6,_0x197fa0[0x34]),_0xa5c63c=_0x301dce(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x16f525,0xa,_0x197fa0[0x35]),_0x50ed12=_0x301dce(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x4c4095,0xf,_0x197fa0[0x36]),_0x9d2685=_0x301dce(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x9ad6ce,0x15,_0x197fa0[0x37]),_0x20ed37=_0x301dce(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x1c37b6,0x6,_0x197fa0[0x38]),_0xa5c63c=_0x301dce(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x501b89,0xa,_0x197fa0[0x39]),_0x50ed12=_0x301dce(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x26017a,0xf,_0x197fa0[0x3a]),_0x9d2685=_0x301dce(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x192b13,0x15,_0x197fa0[0x3b]),_0x20ed37=_0x301dce(_0x20ed37,_0x9d2685,_0x50ed12,_0xa5c63c,_0x5b127d,0x6,_0x197fa0[0x3c]),_0xa5c63c=_0x301dce(_0xa5c63c,_0x20ed37,_0x9d2685,_0x50ed12,_0x3e8dc8,0xa,_0x197fa0[0x3d]),_0x50ed12=_0x301dce(_0x50ed12,_0xa5c63c,_0x20ed37,_0x9d2685,_0x54956b,0xf,_0x197fa0[0x3e]),_0x9d2685=_0x301dce(_0x9d2685,_0x50ed12,_0xa5c63c,_0x20ed37,_0x265c7c,0x15,_0x197fa0[0x3f]),_0x38bca9[0x0]=_0x38bca9[0x0]+_0x20ed37|0x0,_0x38bca9[0x1]=_0x38bca9[0x1]+_0x9d2685|0x0,_0x38bca9[0x2]=_0x38bca9[0x2]+_0x50ed12|0x0,_0x38bca9[0x3]=_0x38bca9[0x3]+_0xa5c63c|0x0;},'_doFinalize':function(){var _0x51661f=_0x2a4902,_0x269f7b=this[_0x51661f(0x494)],_0x5a02f8=_0x269f7b[_0x51661f(0x3c5)],_0x12f6b9=this[_0x51661f(0x2ab)]*0x8,_0xc9993d=_0x269f7b['sigBytes']*0x8;_0x5a02f8[_0xc9993d>>>0x5]|=0x80<<0x18-_0xc9993d%0x20;var _0x368bf7=_0x572634[_0x51661f(0x291)](_0x12f6b9/0x100000000),_0x1c5888=_0x12f6b9;_0x5a02f8[(_0xc9993d+0x40>>>0x9<<0x4)+0xf]=(_0x368bf7<<0x8|_0x368bf7>>>0x18)&0xff00ff|(_0x368bf7<<0x18|_0x368bf7>>>0x8)&0xff00ff00,_0x5a02f8[(_0xc9993d+0x40>>>0x9<<0x4)+0xe]=(_0x1c5888<<0x8|_0x1c5888>>>0x18)&0xff00ff|(_0x1c5888<<0x18|_0x1c5888>>>0x8)&0xff00ff00,_0x269f7b[_0x51661f(0x303)]=(_0x5a02f8[_0x51661f(0x48d)]+0x1)*0x4,this['_process']();for(var _0x4b9658=this[_0x51661f(0x31e)],_0x51521d=_0x4b9658[_0x51661f(0x3c5)],_0x555bff=0x0;_0x555bff<0x4;_0x555bff++){var _0x18c1d0=_0x51521d[_0x555bff];_0x51521d[_0x555bff]=(_0x18c1d0<<0x8|_0x18c1d0>>>0x18)&0xff00ff|(_0x18c1d0<<0x18|_0x18c1d0>>>0x8)&0xff00ff00;}return _0x4b9658;},'clone':function(){var _0x530ac7=_0x2a4902,_0x31a125=_0x317b8c[_0x530ac7(0x1df)][_0x530ac7(0x3d8)](this);return _0x31a125[_0x530ac7(0x31e)]=this['_hash'][_0x530ac7(0x1df)](),_0x31a125;}});function _0x53225f(_0x46f5c1,_0x591e24,_0x4accf1,_0x214e31,_0x389f70,_0xc2261c,_0x2984c9){var _0x432c64=_0x46f5c1+(_0x591e24&_0x4accf1|~_0x591e24&_0x214e31)+_0x389f70+_0x2984c9;return(_0x432c64<<_0xc2261c|_0x432c64>>>0x20-_0xc2261c)+_0x591e24;}function _0x4b680a(_0x172f14,_0x145317,_0x186c42,_0x13e7d5,_0x140e67,_0x181301,_0x40bc0f){var _0x368115=_0x172f14+(_0x145317&_0x13e7d5|_0x186c42&~_0x13e7d5)+_0x140e67+_0x40bc0f;return(_0x368115<<_0x181301|_0x368115>>>0x20-_0x181301)+_0x145317;}function _0x247028(_0x58cee4,_0x2f971a,_0x5163b4,_0x4ef4d7,_0x3e116b,_0x18930e,_0x5e97df){var _0x134f5e=_0x58cee4+(_0x2f971a^_0x5163b4^_0x4ef4d7)+_0x3e116b+_0x5e97df;return(_0x134f5e<<_0x18930e|_0x134f5e>>>0x20-_0x18930e)+_0x2f971a;}function _0x301dce(_0x234940,_0x781e93,_0xc37063,_0x3dbe8b,_0x549d36,_0x48c1e2,_0x222260){var _0x575011=_0x234940+(_0xc37063^(_0x781e93|~_0x3dbe8b))+_0x549d36+_0x222260;return(_0x575011<<_0x48c1e2|_0x575011>>>0x20-_0x48c1e2)+_0x781e93;}_0x58d3af[_0x2a4902(0x334)]=_0x317b8c[_0x2a4902(0x39c)](_0x544773),_0x58d3af[_0x2a4902(0x278)]=_0x317b8c[_0x2a4902(0x45e)](_0x544773);}(Math),_0x2388cf[_0xe40b3a(0x334)];}));}(Ye)),Ye[_0x388090(0x237)];}var Ke={'exports':{}},qe={'exports':{}},Cs=qe['exports'],ei;function Rs(){var _0x218364=_0x417dd3;return ei||(ei=0x1,function(_0x1c9f1f,_0x2549ee){(function(_0x44d293,_0x4d9116){var _0x8f1b11=_0xd662;_0x1c9f1f[_0x8f1b11(0x237)]=_0x4d9116(ie());}(Cs,function(_0x2eda79){var _0x1aa2d3=_0xd662;return(function(){var _0x5839e2=_0xd662,_0x3a9135=_0x2eda79,_0x2d8558=_0x3a9135[_0x5839e2(0x3e3)],_0x392c1c=_0x2d8558[_0x5839e2(0x223)],_0x35a0eb=_0x2d8558[_0x5839e2(0x341)],_0x2fc56e=_0x3a9135[_0x5839e2(0x3ee)],_0x226439=[],_0x2194dd=_0x2fc56e['SHA1']=_0x35a0eb['extend']({'_doReset':function(){var _0x29a78b=_0x5839e2;this[_0x29a78b(0x31e)]=new _0x392c1c[(_0x29a78b(0x309))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x58cbca,_0xaf4c7){for(var _0x49fda7=this['_hash']['words'],_0x3fbf2f=_0x49fda7[0x0],_0x55c228=_0x49fda7[0x1],_0x153ac0=_0x49fda7[0x2],_0x1e6ac6=_0x49fda7[0x3],_0x53cd41=_0x49fda7[0x4],_0x52e089=0x0;_0x52e089<0x50;_0x52e089++){if(_0x52e089<0x10)_0x226439[_0x52e089]=_0x58cbca[_0xaf4c7+_0x52e089]|0x0;else{var _0x817c1=_0x226439[_0x52e089-0x3]^_0x226439[_0x52e089-0x8]^_0x226439[_0x52e089-0xe]^_0x226439[_0x52e089-0x10];_0x226439[_0x52e089]=_0x817c1<<0x1|_0x817c1>>>0x1f;}var _0x16dd56=(_0x3fbf2f<<0x5|_0x3fbf2f>>>0x1b)+_0x53cd41+_0x226439[_0x52e089];_0x52e089<0x14?_0x16dd56+=(_0x55c228&_0x153ac0|~_0x55c228&_0x1e6ac6)+0x5a827999:_0x52e089<0x28?_0x16dd56+=(_0x55c228^_0x153ac0^_0x1e6ac6)+0x6ed9eba1:_0x52e089<0x3c?_0x16dd56+=(_0x55c228&_0x153ac0|_0x55c228&_0x1e6ac6|_0x153ac0&_0x1e6ac6)-0x70e44324:_0x16dd56+=(_0x55c228^_0x153ac0^_0x1e6ac6)-0x359d3e2a,_0x53cd41=_0x1e6ac6,_0x1e6ac6=_0x153ac0,_0x153ac0=_0x55c228<<0x1e|_0x55c228>>>0x2,_0x55c228=_0x3fbf2f,_0x3fbf2f=_0x16dd56;}_0x49fda7[0x0]=_0x49fda7[0x0]+_0x3fbf2f|0x0,_0x49fda7[0x1]=_0x49fda7[0x1]+_0x55c228|0x0,_0x49fda7[0x2]=_0x49fda7[0x2]+_0x153ac0|0x0,_0x49fda7[0x3]=_0x49fda7[0x3]+_0x1e6ac6|0x0,_0x49fda7[0x4]=_0x49fda7[0x4]+_0x53cd41|0x0;},'_doFinalize':function(){var _0x29a445=_0x5839e2,_0x4b365d=this[_0x29a445(0x494)],_0x3102c2=_0x4b365d['words'],_0x2dd6b3=this[_0x29a445(0x2ab)]*0x8,_0x3ff55e=_0x4b365d[_0x29a445(0x303)]*0x8;return _0x3102c2[_0x3ff55e>>>0x5]|=0x80<<0x18-_0x3ff55e%0x20,_0x3102c2[(_0x3ff55e+0x40>>>0x9<<0x4)+0xe]=Math[_0x29a445(0x291)](_0x2dd6b3/0x100000000),_0x3102c2[(_0x3ff55e+0x40>>>0x9<<0x4)+0xf]=_0x2dd6b3,_0x4b365d[_0x29a445(0x303)]=_0x3102c2[_0x29a445(0x48d)]*0x4,this[_0x29a445(0x1db)](),this[_0x29a445(0x31e)];},'clone':function(){var _0x5a1fcc=_0x5839e2,_0x3de80c=_0x35a0eb[_0x5a1fcc(0x1df)][_0x5a1fcc(0x3d8)](this);return _0x3de80c['_hash']=this[_0x5a1fcc(0x31e)]['clone'](),_0x3de80c;}});_0x3a9135['SHA1']=_0x35a0eb[_0x5839e2(0x39c)](_0x2194dd),_0x3a9135['HmacSHA1']=_0x35a0eb[_0x5839e2(0x45e)](_0x2194dd);}()),_0x2eda79[_0x1aa2d3(0x40b)];}));}(qe)),qe[_0x218364(0x237)];}var ze={'exports':{}},bs=ze[_0x417dd3(0x237)],ti;function Os(){var _0x52d1b0=_0x417dd3;return ti||(ti=0x1,function(_0x41c4ad,_0x503a1a){(function(_0x53dc0a,_0x2e2b12){var _0x44bbbd=_0xd662;_0x41c4ad[_0x44bbbd(0x237)]=_0x2e2b12(ie());}(bs,function(_0x360edb){(function(){var _0x4db68d=_0xd662,_0x5da6b4=_0x360edb,_0x58362e=_0x5da6b4['lib'],_0x523cd0=_0x58362e['Base'],_0x4b2fa1=_0x5da6b4[_0x4db68d(0x4aa)],_0x55190f=_0x4b2fa1['Utf8'],_0x5932fa=_0x5da6b4[_0x4db68d(0x3ee)];_0x5932fa[_0x4db68d(0x1f3)]=_0x523cd0[_0x4db68d(0x1c7)]({'init':function(_0x1b89f5,_0x292e61){var _0x224f5d=_0x4db68d;_0x1b89f5=this[_0x224f5d(0x366)]=new _0x1b89f5[(_0x224f5d(0x309))](),typeof _0x292e61=='string'&&(_0x292e61=_0x55190f[_0x224f5d(0x39a)](_0x292e61));var _0x291c46=_0x1b89f5[_0x224f5d(0x418)],_0x191a41=_0x291c46*0x4;_0x292e61[_0x224f5d(0x303)]>_0x191a41&&(_0x292e61=_0x1b89f5[_0x224f5d(0x461)](_0x292e61)),_0x292e61[_0x224f5d(0x4be)]();for(var _0x5e576c=this[_0x224f5d(0x2df)]=_0x292e61[_0x224f5d(0x1df)](),_0x4219a1=this[_0x224f5d(0x3f1)]=_0x292e61[_0x224f5d(0x1df)](),_0x1272b6=_0x5e576c[_0x224f5d(0x3c5)],_0x18150b=_0x4219a1['words'],_0x3f2cca=0x0;_0x3f2cca<_0x291c46;_0x3f2cca++)_0x1272b6[_0x3f2cca]^=0x5c5c5c5c,_0x18150b[_0x3f2cca]^=0x36363636;_0x5e576c['sigBytes']=_0x4219a1['sigBytes']=_0x191a41,this[_0x224f5d(0x227)]();},'reset':function(){var _0x457bb0=_0x4db68d,_0x24d374=this[_0x457bb0(0x366)];_0x24d374[_0x457bb0(0x227)](),_0x24d374[_0x457bb0(0x2ec)](this[_0x457bb0(0x3f1)]);},'update':function(_0x500de7){var _0x5ba4fa=_0x4db68d;return this[_0x5ba4fa(0x366)][_0x5ba4fa(0x2ec)](_0x500de7),this;},'finalize':function(_0x525720){var _0x296333=_0x4db68d,_0x51600d=this[_0x296333(0x366)],_0x35d37c=_0x51600d[_0x296333(0x461)](_0x525720);_0x51600d[_0x296333(0x227)]();var _0x21fa20=_0x51600d[_0x296333(0x461)](this[_0x296333(0x2df)][_0x296333(0x1df)]()[_0x296333(0x26d)](_0x35d37c));return _0x21fa20;}});}());}));}(ze)),ze[_0x52d1b0(0x237)];}var ys=Ke[_0x417dd3(0x237)],ii;function Ui(){var _0x45b332=_0x417dd3;return ii||(ii=0x1,function(_0xfcca8a,_0x197f2a){(function(_0x437267,_0x2746e0,_0x3db3b5){var _0x347a7a=_0xd662;_0xfcca8a[_0x347a7a(0x237)]=_0x2746e0(ie(),Rs(),Os());}(ys,function(_0x41beb0){var _0x511330=_0xd662;return(function(){var _0x4f4144=_0xd662,_0x470442=_0x41beb0,_0x53686f=_0x470442['lib'],_0x549445=_0x53686f[_0x4f4144(0x497)],_0x215118=_0x53686f[_0x4f4144(0x223)],_0x7274ee=_0x470442[_0x4f4144(0x3ee)],_0x137337=_0x7274ee[_0x4f4144(0x334)],_0x295d33=_0x7274ee[_0x4f4144(0x333)]=_0x549445[_0x4f4144(0x1c7)]({'cfg':_0x549445[_0x4f4144(0x1c7)]({'keySize':0x80/0x20,'hasher':_0x137337,'iterations':0x1}),'init':function(_0x4927ac){var _0x355e98=_0x4f4144;this[_0x355e98(0x2ed)]=this[_0x355e98(0x2ed)][_0x355e98(0x1c7)](_0x4927ac);},'compute':function(_0xc9ebae,_0x5e59fe){var _0x166cf9=_0x4f4144;for(var _0x56a345,_0xcd80d6=this[_0x166cf9(0x2ed)],_0x533e87=_0xcd80d6[_0x166cf9(0x4b1)][_0x166cf9(0x424)](),_0x30d61d=_0x215118[_0x166cf9(0x424)](),_0x554ca8=_0x30d61d[_0x166cf9(0x3c5)],_0xe97543=_0xcd80d6[_0x166cf9(0x251)],_0x207ac4=_0xcd80d6['iterations'];_0x554ca8[_0x166cf9(0x48d)]<_0xe97543;){_0x56a345&&_0x533e87[_0x166cf9(0x2ec)](_0x56a345),_0x56a345=_0x533e87[_0x166cf9(0x2ec)](_0xc9ebae)[_0x166cf9(0x461)](_0x5e59fe),_0x533e87[_0x166cf9(0x227)]();for(var _0x10ef7f=0x1;_0x10ef7f<_0x207ac4;_0x10ef7f++)_0x56a345=_0x533e87[_0x166cf9(0x461)](_0x56a345),_0x533e87['reset']();_0x30d61d['concat'](_0x56a345);}return _0x30d61d[_0x166cf9(0x303)]=_0xe97543*0x4,_0x30d61d;}});_0x470442[_0x4f4144(0x333)]=function(_0x38268e,_0x2b44b5,_0x4d86be){var _0x5e1462=_0x4f4144;return _0x295d33[_0x5e1462(0x424)](_0x4d86be)[_0x5e1462(0x1cc)](_0x38268e,_0x2b44b5);};}()),_0x41beb0[_0x511330(0x333)];}));}(Ke)),Ke[_0x45b332(0x237)];}var Je={'exports':{}},Ns=Je[_0x417dd3(0x237)],ni;function Ai(){var _0x4b8cc9=_0x417dd3;return ni||(ni=0x1,function(_0x3fe706,_0x477143){(function(_0x1e5df0,_0x5ab384,_0x103388){_0x3fe706['exports']=_0x5ab384(ie(),Ui());}(Ns,function(_0x24c636){var _0x5db79d=_0xd662;_0x24c636[_0x5db79d(0x3e3)][_0x5db79d(0x45a)]||function(_0x53224d){var _0x3c847b=_0x5db79d,_0x4d1ace=_0x24c636,_0x2d0faf=_0x4d1ace[_0x3c847b(0x3e3)],_0xc67964=_0x2d0faf['Base'],_0x5cd842=_0x2d0faf['WordArray'],_0x3ed4be=_0x2d0faf['BufferedBlockAlgorithm'],_0x2c1fac=_0x4d1ace[_0x3c847b(0x4aa)];_0x2c1fac[_0x3c847b(0x410)];var _0x2b5ffc=_0x2c1fac[_0x3c847b(0x35a)],_0x500f14=_0x4d1ace[_0x3c847b(0x3ee)],_0x4475d1=_0x500f14[_0x3c847b(0x333)],_0x5d01b0=_0x2d0faf['Cipher']=_0x3ed4be['extend']({'cfg':_0xc67964['extend'](),'createEncryptor':function(_0x51acc5,_0x999c9d){var _0xa41612=_0x3c847b;return this[_0xa41612(0x424)](this[_0xa41612(0x413)],_0x51acc5,_0x999c9d);},'createDecryptor':function(_0x306289,_0x3fd3ca){var _0x4323ed=_0x3c847b;return this[_0x4323ed(0x424)](this[_0x4323ed(0x1ef)],_0x306289,_0x3fd3ca);},'init':function(_0x5310b8,_0x11b534,_0x4d838d){var _0xb9c39b=_0x3c847b;this[_0xb9c39b(0x2ed)]=this['cfg'][_0xb9c39b(0x1c7)](_0x4d838d),this[_0xb9c39b(0x38f)]=_0x5310b8,this[_0xb9c39b(0x1fb)]=_0x11b534,this[_0xb9c39b(0x227)]();},'reset':function(){var _0x21a61d=_0x3c847b;_0x3ed4be[_0x21a61d(0x227)][_0x21a61d(0x3d8)](this),this[_0x21a61d(0x405)]();},'process':function(_0x5c9569){var _0x4ccabf=_0x3c847b;return this[_0x4ccabf(0x217)](_0x5c9569),this['_process']();},'finalize':function(_0x4b26b2){var _0x554bfc=_0x3c847b;_0x4b26b2&&this[_0x554bfc(0x217)](_0x4b26b2);var _0x58a7f2=this['_doFinalize']();return _0x58a7f2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x15ed3e(_0x19434b){return typeof _0x19434b=='string'?_0x4493f5:_0x4f86e6;}return function(_0x29ebd6){return{'encrypt':function(_0x1b8455,_0x157d65,_0x275c7d){var _0x5025cb=_0xd662;return _0x15ed3e(_0x157d65)[_0x5025cb(0x28d)](_0x29ebd6,_0x1b8455,_0x157d65,_0x275c7d);},'decrypt':function(_0x2dc539,_0x344738,_0x18d403){var _0x404663=_0xd662;return _0x15ed3e(_0x344738)[_0x404663(0x368)](_0x29ebd6,_0x2dc539,_0x344738,_0x18d403);}};};}())});_0x2d0faf[_0x3c847b(0x4b7)]=_0x5d01b0[_0x3c847b(0x1c7)]({'_doFinalize':function(){var _0x5c78cf=_0x3c847b,_0x131078=this[_0x5c78cf(0x1db)](!0x0);return _0x131078;},'blockSize':0x1});var _0x4ebfee=_0x4d1ace[_0x3c847b(0x25d)]={},_0x30adc3=_0x2d0faf[_0x3c847b(0x1e8)]=_0xc67964[_0x3c847b(0x1c7)]({'createEncryptor':function(_0xdc0db2,_0x1ace93){var _0xde8fed=_0x3c847b;return this[_0xde8fed(0x23e)][_0xde8fed(0x424)](_0xdc0db2,_0x1ace93);},'createDecryptor':function(_0x81eacf,_0x474593){var _0x222f9d=_0x3c847b;return this[_0x222f9d(0x32a)]['create'](_0x81eacf,_0x474593);},'init':function(_0x146a69,_0x2df4e9){var _0x58295d=_0x3c847b;this[_0x58295d(0x486)]=_0x146a69,this['_iv']=_0x2df4e9;}}),_0x3b2508=_0x4ebfee['CBC']=(function(){var _0x546f1b=_0x3c847b,_0x3bc837=_0x30adc3[_0x546f1b(0x1c7)]();_0x3bc837['Encryptor']=_0x3bc837[_0x546f1b(0x1c7)]({'processBlock':function(_0x274689,_0x2b8fb9){var _0x29706f=_0x546f1b,_0xd07c2a=this[_0x29706f(0x486)],_0x2ca987=_0xd07c2a[_0x29706f(0x418)];_0x296a9f[_0x29706f(0x3d8)](this,_0x274689,_0x2b8fb9,_0x2ca987),_0xd07c2a[_0x29706f(0x268)](_0x274689,_0x2b8fb9),this[_0x29706f(0x1da)]=_0x274689[_0x29706f(0x31b)](_0x2b8fb9,_0x2b8fb9+_0x2ca987);}}),_0x3bc837[_0x546f1b(0x32a)]=_0x3bc837['extend']({'processBlock':function(_0x2b6271,_0x242161){var _0x3d30f8=_0x546f1b,_0x1f93c4=this['_cipher'],_0x22f41d=_0x1f93c4['blockSize'],_0x4544a6=_0x2b6271['slice'](_0x242161,_0x242161+_0x22f41d);_0x1f93c4[_0x3d30f8(0x253)](_0x2b6271,_0x242161),_0x296a9f[_0x3d30f8(0x3d8)](this,_0x2b6271,_0x242161,_0x22f41d),this[_0x3d30f8(0x1da)]=_0x4544a6;}});function _0x296a9f(_0xe17e,_0x468ae0,_0x1c4c28){var _0x5b2064=_0x546f1b,_0x1ecf7c,_0x19717b=this[_0x5b2064(0x221)];_0x19717b?(_0x1ecf7c=_0x19717b,this[_0x5b2064(0x221)]=_0x53224d):_0x1ecf7c=this[_0x5b2064(0x1da)];for(var _0x4d75ac=0x0;_0x4d75ac<_0x1c4c28;_0x4d75ac++)_0xe17e[_0x468ae0+_0x4d75ac]^=_0x1ecf7c[_0x4d75ac];}return _0x3bc837;}()),_0x78b9c0=_0x4d1ace['pad']={},_0x374763=_0x78b9c0[_0x3c847b(0x472)]={'pad':function(_0x587924,_0x241790){var _0x1ac71c=_0x3c847b;for(var _0x37f82e=_0x241790*0x4,_0x2152e0=_0x37f82e-_0x587924[_0x1ac71c(0x303)]%_0x37f82e,_0x209a80=_0x2152e0<<0x18|_0x2152e0<<0x10|_0x2152e0<<0x8|_0x2152e0,_0x326139=[],_0x303ada=0x0;_0x303ada<_0x2152e0;_0x303ada+=0x4)_0x326139['push'](_0x209a80);var _0x253723=_0x5cd842[_0x1ac71c(0x424)](_0x326139,_0x2152e0);_0x587924[_0x1ac71c(0x26d)](_0x253723);},'unpad':function(_0x394dd4){var _0x14e7c5=_0x3c847b,_0x1ed781=_0x394dd4[_0x14e7c5(0x3c5)][_0x394dd4[_0x14e7c5(0x303)]-0x1>>>0x2]&0xff;_0x394dd4[_0x14e7c5(0x303)]-=_0x1ed781;}};_0x2d0faf[_0x3c847b(0x2c7)]=_0x5d01b0[_0x3c847b(0x1c7)]({'cfg':_0x5d01b0[_0x3c847b(0x2ed)][_0x3c847b(0x1c7)]({'mode':_0x3b2508,'padding':_0x374763}),'reset':function(){var _0x3a015e=_0x3c847b,_0x975aa6;_0x5d01b0[_0x3a015e(0x227)][_0x3a015e(0x3d8)](this);var _0x562ee0=this[_0x3a015e(0x2ed)],_0x954f2e=_0x562ee0['iv'],_0x2bd5ae=_0x562ee0[_0x3a015e(0x25d)];this[_0x3a015e(0x38f)]==this[_0x3a015e(0x413)]?_0x975aa6=_0x2bd5ae[_0x3a015e(0x32c)]:(_0x975aa6=_0x2bd5ae[_0x3a015e(0x3da)],this[_0x3a015e(0x429)]=0x1),this['_mode']&&this['_mode'][_0x3a015e(0x2a9)]==_0x975aa6?this[_0x3a015e(0x39e)][_0x3a015e(0x309)](this,_0x954f2e&&_0x954f2e[_0x3a015e(0x3c5)]):(this['_mode']=_0x975aa6['call'](_0x2bd5ae,this,_0x954f2e&&_0x954f2e[_0x3a015e(0x3c5)]),this[_0x3a015e(0x39e)][_0x3a015e(0x2a9)]=_0x975aa6);},'_doProcessBlock':function(_0x23dbbb,_0x2a1f5c){var _0x1a37ff=_0x3c847b;this[_0x1a37ff(0x39e)][_0x1a37ff(0x498)](_0x23dbbb,_0x2a1f5c);},'_doFinalize':function(){var _0xffa693=_0x3c847b,_0x490bb4,_0x45e356=this[_0xffa693(0x2ed)][_0xffa693(0x446)];return this[_0xffa693(0x38f)]==this[_0xffa693(0x413)]?(_0x45e356[_0xffa693(0x256)](this[_0xffa693(0x494)],this[_0xffa693(0x418)]),_0x490bb4=this[_0xffa693(0x1db)](!0x0)):(_0x490bb4=this['_process'](!0x0),_0x45e356[_0xffa693(0x440)](_0x490bb4)),_0x490bb4;},'blockSize':0x80/0x20});var _0x992dcf=_0x2d0faf['CipherParams']=_0xc67964[_0x3c847b(0x1c7)]({'init':function(_0x297192){var _0x5abc23=_0x3c847b;this[_0x5abc23(0x2cb)](_0x297192);},'toString':function(_0x36e56d){var _0x776ee4=_0x3c847b;return(_0x36e56d||this['formatter'])[_0x776ee4(0x2ee)](this);}}),_0x5cf390=_0x4d1ace['format']={},_0x1d8d4c=_0x5cf390[_0x3c847b(0x48a)]={'stringify':function(_0x45d718){var _0x1dc703=_0x3c847b,_0x47c269,_0x53a824=_0x45d718[_0x1dc703(0x1f7)],_0x5b74d7=_0x45d718[_0x1dc703(0x4b4)];return _0x5b74d7?_0x47c269=_0x5cd842['create']([0x53616c74,0x65645f5f])[_0x1dc703(0x26d)](_0x5b74d7)[_0x1dc703(0x26d)](_0x53a824):_0x47c269=_0x53a824,_0x47c269['toString'](_0x2b5ffc);},'parse':function(_0x368fbe){var _0x3ad5da=_0x3c847b,_0x3efe46,_0x212a1d=_0x2b5ffc[_0x3ad5da(0x39a)](_0x368fbe),_0x37daee=_0x212a1d[_0x3ad5da(0x3c5)];return _0x37daee[0x0]==0x53616c74&&_0x37daee[0x1]==0x65645f5f&&(_0x3efe46=_0x5cd842[_0x3ad5da(0x424)](_0x37daee[_0x3ad5da(0x31b)](0x2,0x4)),_0x37daee[_0x3ad5da(0x30d)](0x0,0x4),_0x212a1d['sigBytes']-=0x10),_0x992dcf[_0x3ad5da(0x424)]({'ciphertext':_0x212a1d,'salt':_0x3efe46});}},_0x4f86e6=_0x2d0faf['SerializableCipher']=_0xc67964['extend']({'cfg':_0xc67964[_0x3c847b(0x1c7)]({'format':_0x1d8d4c}),'encrypt':function(_0x372f36,_0x213a6d,_0x1dddd1,_0xe1c907){var _0x337ff9=_0x3c847b;_0xe1c907=this['cfg']['extend'](_0xe1c907);var _0x2611b4=_0x372f36[_0x337ff9(0x32c)](_0x1dddd1,_0xe1c907),_0x1890b1=_0x2611b4['finalize'](_0x213a6d),_0x369482=_0x2611b4[_0x337ff9(0x2ed)];return _0x992dcf['create']({'ciphertext':_0x1890b1,'key':_0x1dddd1,'iv':_0x369482['iv'],'algorithm':_0x372f36,'mode':_0x369482[_0x337ff9(0x25d)],'padding':_0x369482[_0x337ff9(0x446)],'blockSize':_0x372f36['blockSize'],'formatter':_0xe1c907[_0x337ff9(0x355)]});},'decrypt':function(_0x14365d,_0xa49070,_0x3df90a,_0x5be53f){var _0x57e4a5=_0x3c847b;_0x5be53f=this[_0x57e4a5(0x2ed)][_0x57e4a5(0x1c7)](_0x5be53f),_0xa49070=this['_parse'](_0xa49070,_0x5be53f[_0x57e4a5(0x355)]);var _0x596af9=_0x14365d[_0x57e4a5(0x3da)](_0x3df90a,_0x5be53f)[_0x57e4a5(0x461)](_0xa49070['ciphertext']);return _0x596af9;},'_parse':function(_0x55d17d,_0x15dc2a){var _0x26ff5e=_0x3c847b;return typeof _0x55d17d==_0x26ff5e(0x43b)?_0x15dc2a[_0x26ff5e(0x39a)](_0x55d17d,this):_0x55d17d;}}),_0x3c846c=_0x4d1ace[_0x3c847b(0x3a4)]={},_0x4f79d3=_0x3c846c[_0x3c847b(0x48a)]={'execute':function(_0x4a2775,_0x38f52f,_0x5239c4,_0x5b96c5,_0x369daa){var _0x35af12=_0x3c847b;if(_0x5b96c5||(_0x5b96c5=_0x5cd842[_0x35af12(0x2af)](0x40/0x8)),_0x369daa)var _0x13cee1=_0x4475d1['create']({'keySize':_0x38f52f+_0x5239c4,'hasher':_0x369daa})[_0x35af12(0x1cc)](_0x4a2775,_0x5b96c5);else var _0x13cee1=_0x4475d1[_0x35af12(0x424)]({'keySize':_0x38f52f+_0x5239c4})['compute'](_0x4a2775,_0x5b96c5);var _0x2c5dfd=_0x5cd842[_0x35af12(0x424)](_0x13cee1['words'][_0x35af12(0x31b)](_0x38f52f),_0x5239c4*0x4);return _0x13cee1['sigBytes']=_0x38f52f*0x4,_0x992dcf[_0x35af12(0x424)]({'key':_0x13cee1,'iv':_0x2c5dfd,'salt':_0x5b96c5});}},_0x4493f5=_0x2d0faf['PasswordBasedCipher']=_0x4f86e6['extend']({'cfg':_0x4f86e6[_0x3c847b(0x2ed)]['extend']({'kdf':_0x4f79d3}),'encrypt':function(_0x9e91f4,_0x1b7ef4,_0x3ef40b,_0xad358a){var _0x3326e7=_0x3c847b;_0xad358a=this[_0x3326e7(0x2ed)][_0x3326e7(0x1c7)](_0xad358a);var _0x3b0c94=_0xad358a[_0x3326e7(0x3a4)][_0x3326e7(0x3f8)](_0x3ef40b,_0x9e91f4['keySize'],_0x9e91f4[_0x3326e7(0x452)],_0xad358a[_0x3326e7(0x4b4)],_0xad358a[_0x3326e7(0x4b1)]);_0xad358a['iv']=_0x3b0c94['iv'];var _0x422996=_0x4f86e6['encrypt'][_0x3326e7(0x3d8)](this,_0x9e91f4,_0x1b7ef4,_0x3b0c94['key'],_0xad358a);return _0x422996[_0x3326e7(0x2cb)](_0x3b0c94),_0x422996;},'decrypt':function(_0x20ab1f,_0x7aed22,_0x1b85bd,_0x4c5be4){var _0x4b05c2=_0x3c847b;_0x4c5be4=this[_0x4b05c2(0x2ed)][_0x4b05c2(0x1c7)](_0x4c5be4),_0x7aed22=this[_0x4b05c2(0x31a)](_0x7aed22,_0x4c5be4[_0x4b05c2(0x355)]);var _0x3f432d=_0x4c5be4[_0x4b05c2(0x3a4)][_0x4b05c2(0x3f8)](_0x1b85bd,_0x20ab1f[_0x4b05c2(0x251)],_0x20ab1f[_0x4b05c2(0x452)],_0x7aed22['salt'],_0x4c5be4[_0x4b05c2(0x4b1)]);_0x4c5be4['iv']=_0x3f432d['iv'];var _0x587b25=_0x4f86e6[_0x4b05c2(0x368)]['call'](this,_0x20ab1f,_0x7aed22,_0x3f432d[_0x4b05c2(0x25a)],_0x4c5be4);return _0x587b25;}});}();}));}(Je)),Je[_0x4b8cc9(0x237)];}var Ds=Ve[_0x417dd3(0x237)],si;function Us(){var _0x5759ad=_0x417dd3;return si||(si=0x1,function(_0x4a3560,_0x3a8fa0){(function(_0x27f696,_0x4f316c,_0x1e1bb4){var _0x5d5d9b=_0xd662;_0x4a3560[_0x5d5d9b(0x237)]=_0x4f316c(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x2c44c4){var _0x14c121=_0xd662;return(function(){var _0x17111d=_0xd662,_0x36b5c5=_0x2c44c4,_0x575672=_0x36b5c5[_0x17111d(0x3e3)],_0x33c085=_0x575672[_0x17111d(0x2c7)],_0x2e7112=_0x36b5c5[_0x17111d(0x3ee)],_0x3a5375=[],_0x38701e=[],_0x3bb226=[],_0x33fecf=[],_0x5a9a09=[],_0x4ecebd=[],_0x30dff0=[],_0xe8ea7b=[],_0x1de862=[],_0x9eb7f3=[];(function(){for(var _0x280a29=[],_0x1ed8cb=0x0;_0x1ed8cb<0x100;_0x1ed8cb++)_0x1ed8cb<0x80?_0x280a29[_0x1ed8cb]=_0x1ed8cb<<0x1:_0x280a29[_0x1ed8cb]=_0x1ed8cb<<0x1^0x11b;for(var _0x307bc4=0x0,_0x22cf6f=0x0,_0x1ed8cb=0x0;_0x1ed8cb<0x100;_0x1ed8cb++){var _0x20fc14=_0x22cf6f^_0x22cf6f<<0x1^_0x22cf6f<<0x2^_0x22cf6f<<0x3^_0x22cf6f<<0x4;_0x20fc14=_0x20fc14>>>0x8^_0x20fc14&0xff^0x63,_0x3a5375[_0x307bc4]=_0x20fc14,_0x38701e[_0x20fc14]=_0x307bc4;var _0xef463b=_0x280a29[_0x307bc4],_0x1d63c6=_0x280a29[_0xef463b],_0x2b8650=_0x280a29[_0x1d63c6],_0x320102=_0x280a29[_0x20fc14]*0x101^_0x20fc14*0x1010100;_0x3bb226[_0x307bc4]=_0x320102<<0x18|_0x320102>>>0x8,_0x33fecf[_0x307bc4]=_0x320102<<0x10|_0x320102>>>0x10,_0x5a9a09[_0x307bc4]=_0x320102<<0x8|_0x320102>>>0x18,_0x4ecebd[_0x307bc4]=_0x320102;var _0x320102=_0x2b8650*0x1010101^_0x1d63c6*0x10001^_0xef463b*0x101^_0x307bc4*0x1010100;_0x30dff0[_0x20fc14]=_0x320102<<0x18|_0x320102>>>0x8,_0xe8ea7b[_0x20fc14]=_0x320102<<0x10|_0x320102>>>0x10,_0x1de862[_0x20fc14]=_0x320102<<0x8|_0x320102>>>0x18,_0x9eb7f3[_0x20fc14]=_0x320102,_0x307bc4?(_0x307bc4=_0xef463b^_0x280a29[_0x280a29[_0x280a29[_0x2b8650^_0xef463b]]],_0x22cf6f^=_0x280a29[_0x280a29[_0x22cf6f]]):_0x307bc4=_0x22cf6f=0x1;}}());var _0x23bad3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3da9cd=_0x2e7112[_0x17111d(0x2ad)]=_0x33c085[_0x17111d(0x1c7)]({'_doReset':function(){var _0x1097fa=_0x17111d,_0x2c61c1;if(!(this[_0x1097fa(0x357)]&&this[_0x1097fa(0x43e)]===this['_key'])){for(var _0x4a4772=this[_0x1097fa(0x43e)]=this[_0x1097fa(0x1fb)],_0x4c7e24=_0x4a4772[_0x1097fa(0x3c5)],_0x1e63c3=_0x4a4772['sigBytes']/0x4,_0x354003=this['_nRounds']=_0x1e63c3+0x6,_0x53579c=(_0x354003+0x1)*0x4,_0x232a16=this[_0x1097fa(0x3c1)]=[],_0x1b1431=0x0;_0x1b1431<_0x53579c;_0x1b1431++)_0x1b1431<_0x1e63c3?_0x232a16[_0x1b1431]=_0x4c7e24[_0x1b1431]:(_0x2c61c1=_0x232a16[_0x1b1431-0x1],_0x1b1431%_0x1e63c3?_0x1e63c3>0x6&&_0x1b1431%_0x1e63c3==0x4&&(_0x2c61c1=_0x3a5375[_0x2c61c1>>>0x18]<<0x18|_0x3a5375[_0x2c61c1>>>0x10&0xff]<<0x10|_0x3a5375[_0x2c61c1>>>0x8&0xff]<<0x8|_0x3a5375[_0x2c61c1&0xff]):(_0x2c61c1=_0x2c61c1<<0x8|_0x2c61c1>>>0x18,_0x2c61c1=_0x3a5375[_0x2c61c1>>>0x18]<<0x18|_0x3a5375[_0x2c61c1>>>0x10&0xff]<<0x10|_0x3a5375[_0x2c61c1>>>0x8&0xff]<<0x8|_0x3a5375[_0x2c61c1&0xff],_0x2c61c1^=_0x23bad3[_0x1b1431/_0x1e63c3|0x0]<<0x18),_0x232a16[_0x1b1431]=_0x232a16[_0x1b1431-_0x1e63c3]^_0x2c61c1);for(var _0x1d4ec5=this[_0x1097fa(0x38e)]=[],_0xa97790=0x0;_0xa97790<_0x53579c;_0xa97790++){var _0x1b1431=_0x53579c-_0xa97790;if(_0xa97790%0x4)var _0x2c61c1=_0x232a16[_0x1b1431];else var _0x2c61c1=_0x232a16[_0x1b1431-0x4];_0xa97790<0x4||_0x1b1431<=0x4?_0x1d4ec5[_0xa97790]=_0x2c61c1:_0x1d4ec5[_0xa97790]=_0x30dff0[_0x3a5375[_0x2c61c1>>>0x18]]^_0xe8ea7b[_0x3a5375[_0x2c61c1>>>0x10&0xff]]^_0x1de862[_0x3a5375[_0x2c61c1>>>0x8&0xff]]^_0x9eb7f3[_0x3a5375[_0x2c61c1&0xff]];}}},'encryptBlock':function(_0x592de4,_0x6c6709){var _0x4d70d6=_0x17111d;this[_0x4d70d6(0x26e)](_0x592de4,_0x6c6709,this['_keySchedule'],_0x3bb226,_0x33fecf,_0x5a9a09,_0x4ecebd,_0x3a5375);},'decryptBlock':function(_0x2422bf,_0x7058d4){var _0x43ec1a=_0x17111d,_0x167f52=_0x2422bf[_0x7058d4+0x1];_0x2422bf[_0x7058d4+0x1]=_0x2422bf[_0x7058d4+0x3],_0x2422bf[_0x7058d4+0x3]=_0x167f52,this[_0x43ec1a(0x26e)](_0x2422bf,_0x7058d4,this['_invKeySchedule'],_0x30dff0,_0xe8ea7b,_0x1de862,_0x9eb7f3,_0x38701e);var _0x167f52=_0x2422bf[_0x7058d4+0x1];_0x2422bf[_0x7058d4+0x1]=_0x2422bf[_0x7058d4+0x3],_0x2422bf[_0x7058d4+0x3]=_0x167f52;},'_doCryptBlock':function(_0x598c96,_0x5bd2f8,_0x25636a,_0x4028ca,_0x2d9ddf,_0x4ada83,_0xfd131a,_0x2d9624){var _0x7b4c01=_0x17111d;for(var _0xf54879=this[_0x7b4c01(0x357)],_0x5067d3=_0x598c96[_0x5bd2f8]^_0x25636a[0x0],_0x22f9e2=_0x598c96[_0x5bd2f8+0x1]^_0x25636a[0x1],_0x33c377=_0x598c96[_0x5bd2f8+0x2]^_0x25636a[0x2],_0x2ef439=_0x598c96[_0x5bd2f8+0x3]^_0x25636a[0x3],_0x412180=0x4,_0x47fdae=0x1;_0x47fdae<_0xf54879;_0x47fdae++){var _0x4207e8=_0x4028ca[_0x5067d3>>>0x18]^_0x2d9ddf[_0x22f9e2>>>0x10&0xff]^_0x4ada83[_0x33c377>>>0x8&0xff]^_0xfd131a[_0x2ef439&0xff]^_0x25636a[_0x412180++],_0x464a14=_0x4028ca[_0x22f9e2>>>0x18]^_0x2d9ddf[_0x33c377>>>0x10&0xff]^_0x4ada83[_0x2ef439>>>0x8&0xff]^_0xfd131a[_0x5067d3&0xff]^_0x25636a[_0x412180++],_0x339d50=_0x4028ca[_0x33c377>>>0x18]^_0x2d9ddf[_0x2ef439>>>0x10&0xff]^_0x4ada83[_0x5067d3>>>0x8&0xff]^_0xfd131a[_0x22f9e2&0xff]^_0x25636a[_0x412180++],_0x162c2d=_0x4028ca[_0x2ef439>>>0x18]^_0x2d9ddf[_0x5067d3>>>0x10&0xff]^_0x4ada83[_0x22f9e2>>>0x8&0xff]^_0xfd131a[_0x33c377&0xff]^_0x25636a[_0x412180++];_0x5067d3=_0x4207e8,_0x22f9e2=_0x464a14,_0x33c377=_0x339d50,_0x2ef439=_0x162c2d;}var _0x4207e8=(_0x2d9624[_0x5067d3>>>0x18]<<0x18|_0x2d9624[_0x22f9e2>>>0x10&0xff]<<0x10|_0x2d9624[_0x33c377>>>0x8&0xff]<<0x8|_0x2d9624[_0x2ef439&0xff])^_0x25636a[_0x412180++],_0x464a14=(_0x2d9624[_0x22f9e2>>>0x18]<<0x18|_0x2d9624[_0x33c377>>>0x10&0xff]<<0x10|_0x2d9624[_0x2ef439>>>0x8&0xff]<<0x8|_0x2d9624[_0x5067d3&0xff])^_0x25636a[_0x412180++],_0x339d50=(_0x2d9624[_0x33c377>>>0x18]<<0x18|_0x2d9624[_0x2ef439>>>0x10&0xff]<<0x10|_0x2d9624[_0x5067d3>>>0x8&0xff]<<0x8|_0x2d9624[_0x22f9e2&0xff])^_0x25636a[_0x412180++],_0x162c2d=(_0x2d9624[_0x2ef439>>>0x18]<<0x18|_0x2d9624[_0x5067d3>>>0x10&0xff]<<0x10|_0x2d9624[_0x22f9e2>>>0x8&0xff]<<0x8|_0x2d9624[_0x33c377&0xff])^_0x25636a[_0x412180++];_0x598c96[_0x5bd2f8]=_0x4207e8,_0x598c96[_0x5bd2f8+0x1]=_0x464a14,_0x598c96[_0x5bd2f8+0x2]=_0x339d50,_0x598c96[_0x5bd2f8+0x3]=_0x162c2d;},'keySize':0x100/0x20});_0x36b5c5[_0x17111d(0x2ad)]=_0x33c085[_0x17111d(0x39c)](_0x3da9cd);}()),_0x2c44c4[_0x14c121(0x2ad)];}));}(Ve)),Ve[_0x5759ad(0x237)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x417dd3(0x237)],ai;function Ms(){var _0x17adfa=_0x417dd3;return ai||(ai=0x1,function(_0x3ccc0f,_0x261779){(function(_0x141c5d,_0x2ff1bb){var _0x5d0582=_0xd662;_0x3ccc0f[_0x5d0582(0x237)]=_0x2ff1bb(ie());}(Ls,function(_0x310275){var _0x49d21f=_0xd662;return _0x310275[_0x49d21f(0x4aa)][_0x49d21f(0x410)];}));}(Xe)),Xe[_0x17adfa(0x237)];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze[_0x417dd3(0x237)],oi;function Hs(){var _0x58e8af=_0x417dd3;return oi||(oi=0x1,function(_0x4f013a,_0x17ac73){(function(_0x9a21bd,_0x57a789){var _0x3fb555=_0xd662;_0x4f013a[_0x3fb555(0x237)]=_0x57a789(ie());}($s,function(_0xbffd5){var _0x14d27f=_0xd662;return(function(){var _0x33ea8e=_0xd662;if(typeof ArrayBuffer=='function'){var _0x42968e=_0xbffd5,_0x1c6bf6=_0x42968e['lib'],_0x59659d=_0x1c6bf6['WordArray'],_0x45a7bb=_0x59659d[_0x33ea8e(0x309)],_0x2e3429=_0x59659d['init']=function(_0x41355f){var _0x54523f=_0x33ea8e;if(_0x41355f instanceof ArrayBuffer&&(_0x41355f=new Uint8Array(_0x41355f)),(_0x41355f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x41355f instanceof Uint8ClampedArray||_0x41355f instanceof Int16Array||_0x41355f instanceof Uint16Array||_0x41355f instanceof Int32Array||_0x41355f instanceof Uint32Array||_0x41355f instanceof Float32Array||_0x41355f instanceof Float64Array)&&(_0x41355f=new Uint8Array(_0x41355f['buffer'],_0x41355f[_0x54523f(0x3e0)],_0x41355f[_0x54523f(0x381)])),_0x41355f instanceof Uint8Array){for(var _0x5d36a3=_0x41355f[_0x54523f(0x381)],_0xb9336a=[],_0x180c0e=0x0;_0x180c0e<_0x5d36a3;_0x180c0e++)_0xb9336a[_0x180c0e>>>0x2]|=_0x41355f[_0x180c0e]<<0x18-_0x180c0e%0x4*0x8;_0x45a7bb[_0x54523f(0x3d8)](this,_0xb9336a,_0x5d36a3);}else _0x45a7bb['apply'](this,arguments);};_0x2e3429[_0x33ea8e(0x3ff)]=_0x59659d;}}()),_0xbffd5[_0x14d27f(0x3e3)]['WordArray'];}));}(Ze)),Ze[_0x58e8af(0x237)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x417dd3(0x237)],ci;function Vs(){return ci||(ci=0x1,function(_0x26e6cf,_0x17bf82){(function(_0x2f3d66,_0x278615,_0x2512ce){var _0x1d08a4=_0xd662;_0x26e6cf[_0x1d08a4(0x237)]=_0x278615(ie(),Ai());}(Fs,function(_0x15be08){var _0x34e280=_0xd662;return _0x15be08[_0x34e280(0x256)][_0x34e280(0x1dd)]={'pad':function(){},'unpad':function(){}},_0x15be08[_0x34e280(0x256)][_0x34e280(0x1dd)];}));}(Qe)),Qe['exports'];}var Gs=Vs();const Ws=He(Gs);function Ys(_0x5cc697,_0x1cd39b){var _0x493512=_0x417dd3;const _0x5b04cb=_0x1cd39b-_0x5cc697[_0x493512(0x48d)]%_0x1cd39b,_0x17c24f=String['fromCharCode'](_0x5b04cb)['repeat'](_0x5b04cb);return _0x5cc697+_0x17c24f;}function Ks(_0x29307d,_0x509e60){var _0xc9274c=_0x417dd3;const _0x4ff655=js[_0xc9274c(0x2af)](0x10),_0x367a44=Ys(_0x29307d,0x10),_0x52d368=ws['encrypt'](ks[_0xc9274c(0x39a)](_0x367a44),ri[_0xc9274c(0x39a)](_0x509e60),{'iv':_0x4ff655,'padding':Ws});return _0x4ff655[_0xc9274c(0x26d)](_0x52d368['ciphertext'])[_0xc9274c(0x272)](ri);}function qs(){var _0x2a66e3=_0x417dd3;const _0x119820=_0x277273()[_0x2a66e3(0x2ea)];if(_0x119820){const _0x117d1c={'time':Math[_0x2a66e3(0x291)](Date['now']()/0x3e8),'domain':location['hostname']};return Ks(JSON[_0x2a66e3(0x2ee)](_0x117d1c),_0x119820);}}var zs=Object['getOwnPropertyDescriptor'],Js=(_0x1fe740,_0x182e15,_0x35852f,_0x719dd7)=>{var _0x54ce1b=_0x417dd3;for(var _0xab0542=_0x719dd7>0x1?void 0x0:_0x719dd7?zs(_0x182e15,_0x35852f):_0x182e15,_0x51d57d=_0x1fe740[_0x54ce1b(0x48d)]-0x1,_0x7df079;_0x51d57d>=0x0;_0x51d57d--)(_0x7df079=_0x1fe740[_0x51d57d])&&(_0xab0542=_0x7df079(_0xab0542)||_0xab0542);return _0xab0542;},Xs=(_0x4431ba,_0x477d62)=>(_0xf391bc,_0x1f878f)=>_0x477d62(_0xf391bc,_0x1f878f,_0x4431ba);let at=class{constructor(_0x3d0d15){var _0x115ae1=_0x417dd3;this[_0x115ae1(0x42f)]=_0x3d0d15,this[_0x115ae1(0x4bd)]();}[_0x417dd3(0x4bd)](){var _0x12305f=_0x417dd3;this[_0x12305f(0x42f)][_0x12305f(0x30c)]({'interceptor':(_0xaf62a7,_0x24b6c2)=>{var _0x25dc75=_0x12305f;const _0x54cc13=_0xaf62a7[_0x25dc75(0x260)],_0x3c1d8a=qs();return _0x3c1d8a&&_0x54cc13['set']('x-univer-host',_0x3c1d8a),_0x24b6c2(_0xaf62a7);}});}};at=Js([Xs(0x0,_0x25220a(_0x383e70))],at);var Zs=Object[_0x417dd3(0x3a9)],Qs=(_0x2b1f03,_0x20798f,_0x5768e2,_0x119cc8)=>{var _0x4d661b=_0x417dd3;for(var _0x4cbbaa=_0x119cc8>0x1?void 0x0:_0x119cc8?Zs(_0x20798f,_0x5768e2):_0x20798f,_0x112b88=_0x2b1f03[_0x4d661b(0x48d)]-0x1,_0x1f95f7;_0x112b88>=0x0;_0x112b88--)(_0x1f95f7=_0x2b1f03[_0x112b88])&&(_0x4cbbaa=_0x1f95f7(_0x4cbbaa)||_0x4cbbaa);return _0x4cbbaa;},mt=(_0x499ce0,_0x3d9827)=>(_0x43c918,_0x593662)=>_0x3d9827(_0x43c918,_0x593662,_0x499ce0);let bt=class extends _0x4728bc{constructor(_0x5102a7,_0x4a7689,_0x4b518f){var _0x21e720=_0x417dd3;super(),N(this,_0x21e720(0x3f7),new _0x5995bf(null)),N(this,'unitInfo$',this[_0x21e720(0x3f7)][_0x21e720(0x378)]()),(this[_0x21e720(0x340)]=_0x5102a7,this[_0x21e720(0x377)]=_0x4a7689,this[_0x21e720(0x425)]=_0x4b518f);}async[_0x417dd3(0x434)](_0x3d3800,_0x94aa4,_0x2220be){var _0x27f30c=_0x417dd3;this['_unitInfo$'][_0x27f30c(0x367)]({'unitId':_0x3d3800,'type':_0x94aa4,'subUnitId':_0x2220be});let _0x25f5b0=null;switch(_0x94aa4){case Q['UNIVER_SHEET']:{_0x25f5b0=await this[_0x27f30c(0x468)](_0x3d3800);break;}case Q[_0x27f30c(0x1ca)]:{_0x25f5b0=await this[_0x27f30c(0x488)](_0x3d3800);break;}default:{this[_0x27f30c(0x340)][_0x27f30c(0x305)](_0x27f30c(0x2c5),_0x27f30c(0x343));break;}}return _0x25f5b0;}async[_0x417dd3(0x468)](_0x2d05b0){var _0x55912b=_0x417dd3,_0x3dc571;let _0x23c34f=0x0;const _0x37bf96=await((_0x3dc571=this[_0x55912b(0x425)])==null?void 0x0:_0x3dc571['loadOfflineData'](_0x2d05b0));return _0x37bf96&&(_0x37bf96[_0x55912b(0x1f1)]||_0x37bf96['mutations'][_0x55912b(0x48d)]!==0x0)&&(_0x23c34f=_0x37bf96[_0x55912b(0x267)]),_0x23c34f===0x0&&this[_0x55912b(0x340)]['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x55912b(0x2fb)](_0x2d05b0,_0x23c34f);}async[_0x417dd3(0x488)](_0x544ff7){var _0x5593b0=_0x417dd3,_0x404785;let _0x286eef=0x0;const _0x39df4c=await((_0x404785=this[_0x5593b0(0x425)])==null?void 0x0:_0x404785['loadOfflineData'](_0x544ff7));return _0x39df4c&&(_0x39df4c[_0x5593b0(0x1f1)]||_0x39df4c[_0x5593b0(0x33d)][_0x5593b0(0x48d)]!==0x0)&&(_0x286eef=_0x39df4c['rev']),_0x286eef===0x0&&this['_logService']['debug'](_0x5593b0(0x2c5),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5593b0(0x377)][_0x5593b0(0x269)](_0x544ff7,_0x286eef);}};bt=Qs([mt(0x0,_0x227eb4),mt(0x1,_0x25220a(_0x247b15)),mt(0x2,_0x33e2b5(J))],bt);function _0x10ed(){var _0x416fef=['complete','_loadSheet','UserProfileImg','LICENSE_EXPORT_SIZE_EXCEEDED','subject','executeCommand','getCurrentUser','collaboration-client.config','_transformRemoteChangesetByStateCache','PENDING','PERMISSION_REJ','Pkcs7','actions','synced','INVITE_CODE_HAS_BEEN_UES','_initCloseConn','_entities','_transformRemoteChangesetByIMECache','c1Prime','unit-cache-','_doCreateSocket','USERS_LEAVE','fromCharCode','getTypeOfUnitDisposed$','body','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_changesetReqId','UNIVER_COLLABORATION_CLIENT_PLUGIN','pipe','NO_OTHER_CLIENTS_EDITING','submit\x20changeset\x20error!','_cipher','\x0aAfter:\x20','_loadDoc','fetching\x20missing\x20changesets\x20from\x20','OpenSSL','getSnapshotAPIPath','YUUMI_ASYNCIO_CANCELLED','length','_applyRemoteChangeset','SHOULD_CLOSE_CONN','_clearLocalCache','fetchThroughInterceptors','_clearCollaborationTimeoutTimer','SNAPSHOT_URL_KEY','_data','dispose','WECHAT_HAS_BEEN_BOUND','Base','processBlock','_config','open$','snapshot','toggleOffline','FETCH_MISSING','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','socket\x20close','_getCtorByUniverType','closeSession','change$','join','_joinRoom','_createSocket','_getAPIPrefix','close$','title','getValue','enc','SUBMIT_CHANGESET','[CollaborationState]:\x20apply\x20error!','getAllMembers','CONNECTOR_DATA_TOO_LARGE','focused$','url','hasher','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_compressMutationService','salt','_commentService','addImageSourceCache','StreamCipher','BufferedBlockAlgorithm','_map','_fetchMissChangesets','collabWebSocketUrl','entries','_initRequestHeader','clamp','NOT_FOUND','_onUserLeave','session','ONLINE','_sheetTransformSelectionsService','\x20to\x20','_collaborationPaused','_removeRoom','[CollaborationUndoRedoService]','ENSURE_SNAPSHOT_EXECUTION','\x20in\x20_schedule.','c2Prime','Hex','MOBILE_HAS_BEEN_BOUND','default','setCurrentUser','_scheduleCompleteTimestamp','extend','type','/object/','UNIVER_DOC','UNISCRIPT_RUN','compute','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_NEW_HOST','_scheduleCollaborationTimeoutTimer','_unitID','toggleOnline','getUnitStatus$','FAIL','getUnitOnRev','UNIVER_SLIDE','getWorkbookSelections','unknown','transformStack\x20failed!','_snapshotServerService','_prevBlock','_process','retryConnectingInterval','NoPadding','allowed','clone','readAsDataURL','debug','collabSubmitChangesetUrl','saveImage','_createInitialStateImpl','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','bind','INTERNAL_ERROR','BlockCipherMode','_startTelemetryCollaborationNewChangeset','state','requireSession','reqId','_commandService','UNKNOWN_CODE','_DEC_XFORM_MODE','_reverseMap','awaitingChangeset','_timeoutTimer','HMAC','SOCKET_FAILED_RETRY','[UniverCollaborationClientPlugin]','INVALID_INVITE_CODE','ciphertext','[OfflineState]:\x20received\x20changeset.','reconnect','action','_key','_getUploadFileURL','CHANGESET_SHOULD_RETRY','_getAPIPrefixPath','dispose$','_getLoginPath','_clearScheduledTask','_retryCount','crypto','COLLAB_SUBMIT_CHANGESET_URL','push','onTransformRemoteChangesetByStateCache','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','error$','273NnhQam','_collaborationSessionService','/object','joinRsp','ERROR_IMAGE_TYPE','getUnitId','_roomCreated$','fetchMiss','USER_NOT_INVITED_CODE','_injector','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_emitMembers','localeService','_collaborationUIEventService','_append','_getDownloadEndpointURL','SNAPSHOT_HAS_BEEN_REMOVED','appendMutation','socket\x20open.','onTransformState','LOCAL_CACHE_INTERVAL','getTypeOfUnitAdded$','_sessions','CHANGESET_REJ','_iv','entityInit$','WordArray','_stopTelemetryCollaborationNewChangeset','onRemoteAck','_state$','reset','YUUMI_ALL_TABLES_IS_INVALID','SNAPSHOT_INVALID_SNAPSHOT','_sendingTimer','disableLocalCache','state$','1241316CVHDnK','getLatestCsReqIdBySid','name','getActiveSheet','_networkConditionService','save\x20fail\x20reason\x20is\x20','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','objectID','1210290etjZOj','image/jpeg','exports','map','_shouldReportTelemetry','subUnitId','LICENSE_IMPORT_SIZE_EXCEEDED','substr','socketService','Encryptor','LEAVE','_disableEditing','setWaitCount','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','reduce','_onLocalMutation','_throwTelemetryCollaborationNewChangeset','_waitForHeartbeatResponse','OPTIONAL','LIVESHARE_TERMINATE','size','_rescheduleHeartbeat','_transitionLocked','_changesetSessionId','&assign=','_onRemoteRetry','YUUMI_SUBSCRIPTION_NOT_FOUND','origin','keySize','set','decryptBlock','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','EMAIL_HAS_BEEN_BOUND','pad','_transformUndoredo','_initMergeInterceptor','594315TdhQNe','key','/unit/','_lockTransition','mode','_pendingMutations','onSyncEditingCollabCursor','headers','NEW_CHANGESETS','add','onload','29745tEIEjg','onStateChange','avatar','rev','encryptBlock','loadDoc','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_tryEnsureSocket','encode','concat','_doCryptBlock','batchAllowed','_awaitingChangeset','addHandlerCallback','toString','ALREADY_EXISTS','LOGIN_FAILED','_members','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','HttpImport','HmacMD5','find','put','1162104zzThSa','enableAuthServer','updatePermissionPoint','onMissedChangesetFetched','YUUMI_URL_COL_OUT_OF_RANGE','_imageSourceCache','[CollaborationSessionService]:\x20socket\x20error','href','getRandomValues','eventID','_state','then','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','changesets','unsubscribe','unitId','UNIVER_SHEET','_telemetryInfo','encrypt','_resendTimeout','_commentUpdate$','m2Prime','floor','getDeserializedSheetBlock','_showConflictNotification','getMember','indexOf','authzUrl','JOINING','onRemoteRetry','CLOSE_ROOM','45846MHMrOL','SYNCED','_registerDependencies','_roomMembers','UUID','post','_initDependencies','_initUnitPermissionChange','sheets','fromCollab','_onRemoteRejected','data','readyForCollab','members$','univer-pro.collaboration-client.network-condition.service','__creator','/universer-api/stream/file/upload','_nDataBytes','_clearRetryConnectingTimer','AES','_getRedoStack','random','_onFetchMissResult','_socket','LICENSE_DISTRO_REJECTED','OFFLINE','APPLY_REJECT','refreshPermission','params','members','getUnitType','interceptor','collaborators','YUUMI_NO_CUBOID_FOR_QUESTION','UNIVER_PROJECT','pending','session.room-not-exists','transformChangesets','msCrypto','getFocusedUnit','_schedule','_singleActiveUnitService','_sendHeartbeat','[DataLoaderService]','randomUUID','BlockCipher','findIndex','append','liveShareNewHost','mixIn','CHANGESET_ACK','Malformed\x20UTF-8\x20data','_change$','onRemoteRej','updateMember','[CollaborationEntity]','startTime','_configService','_updateState','equals','ceil','_sender','list','CHANGESET_REVISION_CONFILICT','/fetchmissing?from=','JOIN_ROOM_PERMISSION_DENIED','Latin1','_handler','_clearHeartbeatTimer','_oKey','forEach','_queuedRemoteChangesets','originalMeta','result','onCommentUpdate','_substituteRedoStack','Error\x20on\x20receiving\x20event','_members$','_transformStack','createSocket','__Key__','3vSqxzf','update','cfg','stringify','_socket$','getCollabEntity$','\x20-\x20','onSendChangeset','abs','_redoStacks','_onOffline','leaveEvent','status$','get','deepClone','getMemberID','loadSheet','awaiting_with_pending','code','function','Undefined','&source=','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','LOGIN_URL_KEY','sigBytes','onlyLocal','error','UNDEFINED','/-/object/list','deleteCollaborator','init','\x0aCurrent:\x20','routeKey','registerHTTPInterceptor','splice','PSEUDO_FETCH_MISSING_RESULT','emitEvent','uploadFileServerUrl','_startCollaboration','OTHER_CLIENTS_EDITING','LIVESHARE_REQUEST_HOST','onStarting','INVALID_ARGUMENT','_type','every','subscribe','_revisionService','_parse','slice','_tryReconnect','getInterceptPoints','_hash','updateCollaborator','_unlockTransition','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_transformService','/universer-api/comb','univer-pro.collaboration-client.single-active-unit-service','createInstance','onMissingChangesets','DEFAULT_FILE_NAME','localCacheService','generateRandomId','Decryptor','_clearTimeoutTimer','createEncryptor','LIVESHARE_OPERATION','joinEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','TOO_MANY_REQUESTS','_listenToNetworkCondition','_candidateSocket','EvpKDF','MD5','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_replaceFileID','/collaborator','target','731264VHMxDj','getSheetBlock','transformMutationsWithChangeset','COMPLETION_FINISHED','mutations','has','?url=','_logService','Hasher','_createInitialState','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_status$','JOIN_ROOM_FAILED','[SyncedState]:\x20received\x20acknowledgement.','csShouldRetryEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','replace','commentUpdate$','textRanges','_exhaustRemoteChangesetQueue','apply','newCsEvent','transformUndoRedo','JOIN_ROOM_NOT_EXISTS','_onRemoteACK','_memberService','COMPRESS_MUTATION_SEND','&to=','format','snapshotServerUrl','_nRounds','getResourcesRequest','onTransformSelections','Base64','cmd','USERS_ENTER','transformSelections','JOIN_ROOM_FULL','status','clear','Univer','includes','defineProperty','fetchMissingChangesets','permissionRejEvent','_hasher','next','decrypt','_updateLocalCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','COMMENT_UPDATE','?size=','values','roles','_getUndoStack','YUUMI_UNABLE_LOAD_URL','unitId\x20is\x20not\x20found','PERSON','SNAPSHOT_SERVER_URL_KEY','infoRsp','_handlerCallback','[SyncedState]:\x20received\x20rejection.','_snapshotService','asObservable','/allowed','[PendingState]:\x20received\x20rejection.','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','isPermissionRej','objectActions','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','/role','copyFileMeta','byteLength','auth.needGotoLoginAlert','RECV','charAt','HELLO','_sendHeartbeatTimer','getImage','resend','Failed\x20to\x20update\x20permission\x20point','MSG_FOR_ERROR','onTransformRemoteChangesetByIMECache','/resources','_univerInstanceService','_invKeySchedule','_xformMode','_transformIMECache','_isPermissionRej','HEARTBEAT','MUTATION','[CollaborationSession]','_incrementRevisionNumber','_substituteUndoStack','$super','incrementRevOfUnit','override','parse','putCollaborators','_createHelper','People','_mode','SUCCUSS','_onConnectionFailed','_updateStatus','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','sendChangesetTimeout','kdf','_resendTimer','APPLY_PERMISSION_DENIED','capture','COMPRESS_MUTATION_APPLY','getOwnPropertyDescriptor','objects','HEARTBEAT_TIMEOUT','_instanceService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','session.room-full','createCollaborator','collaMsg','_createHandler','_event$','_remoteChangesetQueue','_checkMissing','failed\x20to\x20apply\x20missed\x20changesets!','close','_clearUndo','INGEST','_transformStateCache','IDLE','_onJoinRoomEvent','conflict','unitID','UPDATE_PERMISSION_OBJ','_retryConnectingTimer','_socketService','_keySchedule','/rev/','responseType','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','words','pauseCollaboration','_telemetryService','LIVESHARE_FETCH_OPERATIONS','getRoom','sid','send','_onConnectionOpen','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','shouldCloseConn','startsWith','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getCurrentRevOfUnit','SUBMIT_CHANGESET_TIMEOUT','_getSendChangesetTimeout','/universer-api/oidc/authpage','sessionStatus$','PY_RUNTIME_SCRIPT_ERROR','offline','call','_localeService','createDecryptor','APPLY_NON_SEQUENTIAL_REVISION','/universer-api/uniscript','/universer-api/user/session-ticket','resolve','isArray','byteOffset','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_replayCachedMutations','lib','charCodeAt','UPDATE_CURSOR','userID','FETCH_MISS','randomBytes','uniscriptRunEvent','_undoRedoService','reject','_onConflict','_executeRemoteChangeset','algo','AWAITING_WITH_PENDING','message$','_iKey','_init','getTime','socket$','POST','_transformSelections','_unitInfo$','execute','GLOBAL_ROOMS_CNT_EXCEEDS','hasOwnProperty','listRoles','_onUserJoin','objectType','getCollabEntity','prototype','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_HTTPService','filter','LICENSE_MAX_UNITS_EXCEEDED','HEARTBEAT_INTERVAL','_doReset','stopTime','onRemoteChangeset','ws://127.0.0.1:8000/universer-api/comb/connect','/block/','roomInfos','SHA1','reverse','COLLAB_WEB_SOCKET_URL','file','patch','Utf8','not_collab','[PendingState]:\x20received\x20acknowledgement.','_ENC_XFORM_MODE','PERMISSION_DENIED','_entityInit$','_decreaseWaiting','Could\x20not\x20dynamically\x20require\x20\x22','blockSize','updateOfflineData','collaboratorID','onTransformIME','max','getUnit','connection\x20error','/universer-api/snapshot','APPLY_DUPLICATED','AUTHZ_URL_KEY','INVITE_CODE_ALREADY_BOUND','image/bmp','create','_localCacheService','UNIVER_UNKNOWN','memberID','UNRECOGNIZED','_minBufferSize','_onMessage','signUrlServerUrl','_collabSessionService','_socketMessageSubscription','_syncEditingCollabCursor','_httpService','revision','[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.','awaiting','OTHER_CLIENT_EDITING','loadUnit','csAckEvent','readInt32LE','_waitCount','range','YUUMI_AI_RUN_FAILED','downloadEndpointUrl','string','onCommandExecuted','now','_keyPriorReset','selections','unpad','_sessionStatus$','catch','CONFLICT','_toggleOffline','delete','padding','image/gif','sessionStatus','UNAUTHENTICATED','baseRev','_toggleOnline','FileId','_onRecvEvent','getConfig','univer-pro.collaboration-client-socket-service','SEND_CHANGESET_TIMEOUT','fetch_missing','ivSize','_clearRedo','_userManagerService','[CollaborationSessionService]','_socketReady','UnitEmbedded','event$','YUUMI_RATE_OVER_LIMIT','Cipher','UNKNOWN_CMD','_collaborationTimeoutTimer','UnitSnapshot','_createHmacHelper','removeMember','_permissionService','finalize','_resendWithTimeout','_acknowledgedAwaitingChangeset','ERROR_IMAGE','JOIN','disposeWithMe'];_0x10ed=function(){return _0x416fef;};return _0x10ed();}var er=Object[_0x417dd3(0x3a9)],tr=(_0x100faa,_0x2ce6c2,_0x1a4670,_0x5ec463)=>{for(var _0x508cb6=_0x5ec463>0x1?void 0x0:_0x5ec463?er(_0x2ce6c2,_0x1a4670):_0x2ce6c2,_0x5ef819=_0x100faa['length']-0x1,_0x45ab17;_0x5ef819>=0x0;_0x5ef819--)(_0x45ab17=_0x100faa[_0x5ef819])&&(_0x508cb6=_0x45ab17(_0x508cb6)||_0x508cb6);return _0x508cb6;},gt=(_0x5aa656,_0x1d0d86)=>(_0x5189b,_0x18b034)=>_0x1d0d86(_0x5189b,_0x18b034,_0x5aa656);const ir=['image/png',_0x417dd3(0x236),'image/jpg',_0x417dd3(0x447),_0x417dd3(0x423)],nr=0x5*0x400*0x400,sr=_0x417dd3(0x213),rr=_0x417dd3(0x2aa),ar=_0x417dd3(0x480),or='/universer-api/file/{fileID}/sign-url';let Ot=class{constructor(_0x468546,_0x5b529c,_0x175b25){var _0x4dba9c=_0x417dd3;N(this,_0x4dba9c(0x437),0x0),N(this,_0x4dba9c(0x2ce),new _0x18a626()),N(this,_0x4dba9c(0x4a2),this[_0x4dba9c(0x2ce)]),N(this,_0x4dba9c(0x280),new Map()),(this[_0x4dba9c(0x42f)]=_0x468546,this[_0x4dba9c(0x2d3)]=_0x5b529c,this['_univerInstanceService']=_0x175b25);}[_0x417dd3(0x241)](_0xdb8d9f){var _0x54a741=_0x417dd3;this['_waitCount']=_0xdb8d9f,this[_0x54a741(0x2ce)][_0x54a741(0x367)](_0xdb8d9f);}['getImageSourceCache'](_0x50c0fe,_0x5e16b8){var _0x22c08a=_0x417dd3;if(_0x5e16b8===_0x4146ae['BASE64']){const _0x30b98d=new Image();return _0x30b98d['src']=_0x50c0fe,_0x30b98d;}return this[_0x22c08a(0x280)][_0x22c08a(0x2f8)](_0x50c0fe);}[_0x417dd3(0x4b6)](_0x3da7c3,_0x4abb92,_0x231190){var _0x1c1b4b=_0x417dd3;_0x4abb92===_0x4146ae['BASE64']||_0x231190==null||this[_0x1c1b4b(0x280)][_0x1c1b4b(0x252)](_0x3da7c3,_0x231190);}async[_0x417dd3(0x387)](_0x397501){var _0x247606=_0x417dd3;try{const _0x1a23f7=this[_0x247606(0x336)](this['_getSignURL'](),''+_0x397501),_0x3251c6=(await this[_0x247606(0x42f)][_0x247606(0x2f8)](_0x1a23f7))['body'];if(_0x3251c6[_0x247606(0x305)]&&_0x3251c6[_0x247606(0x305)]['code']===Si['OK']){const _0x2ac71a=new URL(_0x3251c6[_0x247606(0x4b0)],this[_0x247606(0x218)]())[_0x247606(0x272)]();return Promise[_0x247606(0x3de)](_0x2ac71a);}return Promise[_0x247606(0x3eb)](_0x3251c6[_0x247606(0x305)]);}catch(_0x3f1326){return Promise[_0x247606(0x3eb)](_0x3f1326);}}async[_0x417dd3(0x1e3)](_0x431161){var _0x21c270=_0x417dd3;let _0x2a3780='';if(!ir[_0x21c270(0x362)](_0x431161[_0x21c270(0x1c8)]))return this[_0x21c270(0x416)](),Promise['reject'](new Error(_0x4722c2[_0x21c270(0x20d)]));if(_0x431161[_0x21c270(0x249)]>nr)return this[_0x21c270(0x416)](),Promise[_0x21c270(0x3eb)](new Error(_0x4722c2['ERROR_EXCEED_SIZE']));try{const _0x234d91=new FormData();_0x234d91[_0x21c270(0x2c9)](_0x21c270(0x40e),_0x431161);const _0xaba8ed=this['_univerInstanceService'][_0x21c270(0x2c1)](),_0x49cae4=_0xaba8ed==null?void 0x0:_0xaba8ed[_0x21c270(0x20e)]();if(!_0x49cae4)throw new Error(_0x21c270(0x371));const _0x5120c3=this['_getUploadFileURL']()+_0x21c270(0x36c)+_0x431161[_0x21c270(0x249)][_0x21c270(0x272)]()+_0x21c270(0x300)+Ei[_0x21c270(0x457)]+_0x21c270(0x24d)+encodeURIComponent(_0x49cae4),_0x3ed1cf={'body':_0x234d91},_0x4a6e3c=(await this[_0x21c270(0x42f)]['post'](_0x5120c3,_0x3ed1cf))[_0x21c270(0x47f)];if(typeof _0x4a6e3c[_0x21c270(0x44c)]!='string')return this[_0x21c270(0x416)](),Promise[_0x21c270(0x3eb)](new Error(_0x4722c2[_0x21c270(0x464)]));_0x2a3780=_0x4a6e3c[_0x21c270(0x44c)];}catch{return this[_0x21c270(0x416)](),Promise[_0x21c270(0x3eb)](new Error(_0x4722c2['ERROR_IMAGE']));}return new Promise((_0xd00cf7,_0x1b3775)=>{var _0x4636ca=_0x21c270;const _0x2f2a72=new FileReader();_0x2f2a72[_0x4636ca(0x1e0)](_0x431161),_0x2f2a72[_0x4636ca(0x263)]=_0x3c79ae=>{var _0x1867f4=_0x4636ca,_0xc70a5d;const _0x42bed6=(_0xc70a5d=_0x3c79ae[_0x1867f4(0x338)])==null?void 0x0:_0xc70a5d[_0x1867f4(0x2e3)];if(_0x42bed6==null){this[_0x1867f4(0x416)](),_0x1b3775(new Error(_0x4722c2[_0x1867f4(0x464)]));return;}const _0x434544=_0x488b7d[_0x1867f4(0x329)](0x6);_0xd00cf7({'imageId':_0x434544,'imageSourceType':_0x4146ae[_0x1867f4(0x29e)],'source':_0x2a3780,'base64Cache':_0x42bed6,'status':_0x4722c2[_0x1867f4(0x39f)]}),this[_0x1867f4(0x416)]();};});}[_0x417dd3(0x1fc)](){var _0x560885=_0x417dd3,_0x2f7f11,_0xdc679e;const _0x2a27dd=this[_0x560885(0x2d3)][_0x560885(0x44e)](sr),_0x455794=this[_0x560885(0x2d3)][_0x560885(0x44e)](q);return(_0xdc679e=(_0x2f7f11=_0x455794==null?void 0x0:_0x455794[_0x560885(0x310)])!=null?_0x2f7f11:_0x2a27dd)!=null?_0xdc679e:rr;}['_getSignURL'](){var _0x531a63=_0x417dd3,_0xe33c89,_0x33261f;const _0x50388e=this[_0x531a63(0x2d3)]['getConfig'](ar),_0x3ab8ae=this['_configService'][_0x531a63(0x44e)](q);return(_0x33261f=(_0xe33c89=_0x3ab8ae==null?void 0x0:_0x3ab8ae[_0x531a63(0x42b)])!=null?_0xe33c89:_0x50388e)!=null?_0x33261f:or;}[_0x417dd3(0x218)](){var _0x247764=_0x417dd3,_0x29ad82;const _0x4b3fca=this[_0x247764(0x2d3)][_0x247764(0x44e)](q);return(_0x29ad82=_0x4b3fca==null?void 0x0:_0x4b3fca[_0x247764(0x43a)])!=null?_0x29ad82:location[_0x247764(0x250)];}[_0x417dd3(0x336)](_0x626bfe,_0x235234){var _0x2158cc=_0x417dd3;return _0x626bfe[_0x2158cc(0x349)]('{fileID}',_0x235234);}['_decreaseWaiting'](){var _0x170b5b=_0x417dd3;this[_0x170b5b(0x437)]-=0x1,this['_change$']['next'](this[_0x170b5b(0x437)]);}};Ot=tr([gt(0x0,_0x25220a(_0x383e70)),gt(0x1,_0x2deb3f),gt(0x2,_0x25220a(_0x34aa87))],Ot);var cr=Object[_0x417dd3(0x3a9)],hr=(_0x57c8d2,_0x325a32,_0x1763c8,_0x1925a9)=>{var _0x4490d4=_0x417dd3;for(var _0x3a4680=_0x1925a9>0x1?void 0x0:_0x1925a9?cr(_0x325a32,_0x1763c8):_0x325a32,_0x2409b8=_0x57c8d2[_0x4490d4(0x48d)]-0x1,_0x41afaf;_0x2409b8>=0x0;_0x2409b8--)(_0x41afaf=_0x57c8d2[_0x2409b8])&&(_0x3a4680=_0x41afaf(_0x3a4680)||_0x3a4680);return _0x3a4680;},hi=(_0xfc9a13,_0x5612d9)=>(_0x41faaa,_0x2c1f0e)=>_0x5612d9(_0x41faaa,_0x2c1f0e,_0xfc9a13);const _r='/universer-api/authz';let yt=class{constructor(_0x53939e,_0x4717b1){var _0x207897=_0x417dd3;this[_0x207897(0x2d3)]=_0x53939e,this[_0x207897(0x401)]=_0x4717b1;}[_0x417dd3(0x1fe)](){var _0x2bcefb=_0x417dd3,_0x1e3798,_0x591567;const _0x3c7a34=this['_configService'][_0x2bcefb(0x44e)](Ni),_0x3f0f2d=this[_0x2bcefb(0x2d3)][_0x2bcefb(0x44e)](q);return(_0x591567=(_0x1e3798=_0x3f0f2d==null?void 0x0:_0x3f0f2d[_0x2bcefb(0x296)])!=null?_0x1e3798:_0x3c7a34)!=null?_0x591567:_r;}async['list'](_0x2a29c2){var _0x180ecf=_0x417dd3;const _0x2a64db=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x180ecf(0x39d),'mentions':(await this['_HTTPService'][_0x180ecf(0x2f8)](_0x2a64db,{'params':{'objectID':_0x2a29c2[_0x180ecf(0x28a)],'unitID':_0x2a29c2[_0x180ecf(0x28a)]}}))['body'][_0x180ecf(0x2ba)][_0x180ecf(0x238)](_0x45d9dd=>({'objectId':_0x45d9dd['id'],'name':_0x45d9dd[_0x180ecf(0x46b)]['name'],'metadata':{'icon':_0x45d9dd['subject'][_0x180ecf(0x266)]},'label':_0x45d9dd[_0x180ecf(0x46b)][_0x180ecf(0x22f)],'objectType':_0x5ba314[_0x180ecf(0x372)]})),'metadata':{},'type':_0x5ba314['PERSON']}]};}};yt=hr([hi(0x0,_0x25220a(_0x2deb3f)),hi(0x1,_0x25220a(_0x383e70))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x8363be,_0x5ffcab,_0x3bd135,_0x9fdb58)=>{var _0x35c72b=_0x417dd3;for(var _0x1ead9d=_0x9fdb58>0x1?void 0x0:_0x9fdb58?lr(_0x5ffcab,_0x3bd135):_0x5ffcab,_0x323235=_0x8363be[_0x35c72b(0x48d)]-0x1,_0x5787bb;_0x323235>=0x0;_0x323235--)(_0x5787bb=_0x8363be[_0x323235])&&(_0x1ead9d=_0x5787bb(_0x1ead9d)||_0x1ead9d);return _0x1ead9d;},we=(_0x1a8077,_0xad5c74)=>(_0x49499a,_0x28fb5c)=>_0xad5c74(_0x49499a,_0x28fb5c,_0x1a8077);let ot=class extends _0x4728bc{constructor(_0x4c565d,_0x2f7729,_0x1ff04e,_0x538e67,_0xd67661){var _0x33f8f2=_0x417dd3;super(),this[_0x33f8f2(0x212)]=_0x4c565d,this[_0x33f8f2(0x38d)]=_0x2f7729,this['_permissionService']=_0x1ff04e,this[_0x33f8f2(0x20a)]=_0x538e67,this[_0x33f8f2(0x216)]=_0xd67661,this[_0x33f8f2(0x2a1)](),this[_0x33f8f2(0x476)]();}[_0x417dd3(0x476)](){var _0x1ee6e6=_0x417dd3;const _0x12058c=async _0x32153b=>{var _0x40a3b3=_0xd662;(await this[_0x40a3b3(0x20a)][_0x40a3b3(0x1eb)](_0x32153b))[_0x40a3b3(0x458)][_0x40a3b3(0x483)](_0x10f1f2(_0x349e1a=>_0x349e1a[_0x40a3b3(0x284)]===_0x371ea6[_0x40a3b3(0x48f)]),_0x1ee14a(this[_0x40a3b3(0x1ff)]))['subscribe'](_0x2dfe18=>{var _0x515276=_0x40a3b3;const _0x1c9d91=_0x2dfe18,{reason:_0x12f9d5}=_0x1c9d91[_0x515276(0x2a5)];this['_collaborationUIEventService'][_0x515276(0x30f)]({'id':re[_0x515276(0x299)],'data':_0x12f9d5}),this[_0x515276(0x460)]['updatePermissionPoint'](new _0xfc7bf3(_0x32153b)['id'],!0x1),this[_0x515276(0x20a)][_0x515276(0x4a1)](_0x32153b);});};_0x1294e8(this['_univerInstanceService'][_0x1ee6e6(0x21e)](_0x1fe67e['UNIVER_SHEET']),this[_0x1ee6e6(0x38d)][_0x1ee6e6(0x21e)](_0x1fe67e[_0x1ee6e6(0x1ca)]))[_0x1ee6e6(0x483)](_0x1613eb(_0x14f461=>_0x14f461[_0x1ee6e6(0x20e)]()),_0x10f1f2(_0x29c22e=>!_0xab27e8(_0x29c22e)),_0x1ee14a(this[_0x1ee6e6(0x1ff)]))[_0x1ee6e6(0x318)](_0x13bc56=>{_0x12058c(_0x13bc56);});}['_initUnitPermissionChange'](){var _0x32489e=_0x417dd3;const _0x5f1e26=async _0x3b607e=>{var _0x337412=_0xd662;const _0x47fb1b=await this[_0x337412(0x20a)][_0x337412(0x1eb)](_0x3b607e),_0x4610fe=this['_injector']['get'](_0x111d3b);_0x47fb1b[_0x337412(0x458)][_0x337412(0x483)](_0x10f1f2(_0xf6e4c7=>_0xf6e4c7[_0x337412(0x284)]===_0x371ea6[_0x337412(0x3be)]),_0x1ee14a(this[_0x337412(0x1ff)]))[_0x337412(0x318)](_0x3bb415=>{var _0x51ab97=_0x337412;const _0x540781=_0x3bb415,{objectId:_0x1d3a72}=_0x540781[_0x51ab97(0x2a5)];_0x1d3a72===_0x3b607e?_0x4610fe['initWorkbookPermissionChange'](_0x3b607e):_0x4610fe[_0x51ab97(0x2b5)](_0x3b607e,_0x1d3a72);});};_0x1294e8(this['_univerInstanceService'][_0x32489e(0x21e)](_0x1fe67e[_0x32489e(0x28b)]))[_0x32489e(0x483)](_0x1613eb(_0x3f8f69=>_0x3f8f69[_0x32489e(0x20e)]()),_0x10f1f2(_0x449d5e=>!_0xab27e8(_0x449d5e)),_0x1ee14a(this['dispose$']))['subscribe'](_0xd3ba1f=>{_0x5f1e26(_0xd3ba1f);});}};ot=ur([we(0x0,_0x25220a(_0x4eec35)),we(0x1,_0x34aa87),we(0x2,_0xde5f4f),we(0x3,_0x25220a(Me)),we(0x4,_0x25220a(pe))],ot);var dr=Object[_0x417dd3(0x3a9)],fr=(_0x4cb669,_0x14e97c,_0x5bfeb6,_0x8a8444)=>{var _0x1fab10=_0x417dd3;for(var _0x34acfb=_0x8a8444>0x1?void 0x0:_0x8a8444?dr(_0x14e97c,_0x5bfeb6):_0x14e97c,_0x54b4e0=_0x4cb669[_0x1fab10(0x48d)]-0x1,_0x39cbd6;_0x54b4e0>=0x0;_0x54b4e0--)(_0x39cbd6=_0x4cb669[_0x54b4e0])&&(_0x34acfb=_0x39cbd6(_0x34acfb)||_0x34acfb);return _0x34acfb;},_i=(_0x12786c,_0x2786dc)=>(_0x18f17c,_0x16f1f5)=>_0x2786dc(_0x18f17c,_0x16f1f5,_0x12786c);let Nt=class{constructor(_0x55a314,_0x4fd40f){var _0x12a5cc=_0x417dd3;this[_0x12a5cc(0x2d3)]=_0x55a314,this[_0x12a5cc(0x42f)]=_0x4fd40f;}async[_0x417dd3(0x1d4)](_0x549e36,_0x49d95b){var _0x1fc6a7=_0x417dd3,_0x33f6b1;const {unitID:_0x79ea05,type:_0x5eca3c,revision:_0xdda56=0x0}=_0x49d95b,_0x21c531=this[_0x1fc6a7(0x48b)]()+'/'+_0x5eca3c+'/unit/'+_0x79ea05+_0x1fc6a7(0x3c2)+_0xdda56,_0x5bb9f7=(await this[_0x1fc6a7(0x42f)][_0x1fc6a7(0x2f8)](_0x21c531))[_0x1fc6a7(0x47f)],_0x3c1fa5=(_0x33f6b1=_0x5bb9f7[_0x1fc6a7(0x49b)])==null?void 0x0:_0x33f6b1['workbook'];if(_0x3c1fa5){const _0x3ff940=_0x3c1fa5==null?void 0x0:_0x3c1fa5['originalMeta'],_0x518fb5=_0x19ed2a[_0x1fc6a7(0x26c)](_0x474161(_0x3ff940));_0x3c1fa5[_0x1fc6a7(0x2e2)]=_0x518fb5,Object[_0x1fc6a7(0x4bc)](_0x3c1fa5[_0x1fc6a7(0x2a2)])[_0x1fc6a7(0x2e0)](([,_0x3e8fe9])=>{var _0x15ae86=_0x1fc6a7;const _0x58f7e2=_0x3e8fe9['originalMeta'],_0x3b9211=_0x19ed2a[_0x15ae86(0x26c)](_0x474161(_0x58f7e2));_0x3e8fe9[_0x15ae86(0x2e2)]=_0x3b9211;});}return _0x5bb9f7;}async[_0x417dd3(0x33a)](_0x5219d4,_0x3db137){var _0x2b2e20=_0x417dd3;const {unitID:_0x6ae28,type:_0x582a2b,blockID:_0x503a72}=_0x3db137,_0x17e165=this[_0x2b2e20(0x4a6)]()+'/'+_0x582a2b+_0x2b2e20(0x25b)+_0x6ae28+_0x2b2e20(0x409)+_0x503a72;return(await this['_httpService'][_0x2b2e20(0x2f8)](_0x17e165))[_0x2b2e20(0x47f)];}async[_0x417dd3(0x292)](_0x1935b2,_0x380ffa){var _0x35d813=_0x417dd3;const {unitID:_0x3215fe,type:_0x5271b6,blockID:_0x4a8d8f}=_0x380ffa,_0x2b1227=this[_0x35d813(0x4a6)]()+_0x35d813(0x409)+_0x5271b6+'/unit/'+_0x3215fe+_0x35d813(0x409)+_0x4a8d8f;return(await this[_0x35d813(0x42f)][_0x35d813(0x2f8)](_0x2b1227))[_0x35d813(0x47f)];}async[_0x417dd3(0x364)](_0x402829,_0x45b05e){var _0x52cf97=_0x417dd3;const {unitID:_0x269f49,type:_0x5c8129,from:_0x32a215,to:_0x264c81}=_0x45b05e,_0x4c1aac=this[_0x52cf97(0x4a6)]()+'/'+_0x5c8129+_0x52cf97(0x25b)+_0x269f49+_0x52cf97(0x2da)+_0x32a215+_0x52cf97(0x354)+_0x264c81;return(await this[_0x52cf97(0x42f)]['get'](_0x4c1aac))[_0x52cf97(0x47f)];}['getSnapshotAPIPath'](){var _0x394930=_0x417dd3,_0x294ef3;return(_0x294ef3=this[_0x394930(0x2d3)]['getConfig'](Sn))!=null?_0x294ef3:this[_0x394930(0x4a6)]();}[_0x417dd3(0x4a6)](){var _0x24b169=_0x417dd3,_0x5d09b4,_0xbec455;const _0x10febf=this['_configService'][_0x24b169(0x44e)](mn),_0x5c64fd=this[_0x24b169(0x2d3)][_0x24b169(0x44e)](q);return(_0xbec455=(_0x5d09b4=_0x5c64fd==null?void 0x0:_0x5c64fd[_0x24b169(0x356)])!=null?_0x5d09b4:_0x10febf)!=null?_0xbec455:gn;}async[_0x417dd3(0x358)](_0x3a345b,_0xc967ca){var _0x59ad9c=_0x417dd3;const _0x4c83ae='/universer-api/snapshot/'+_0xc967ca[_0x59ad9c(0x1c8)]+'/unit/'+_0xc967ca[_0x59ad9c(0x3bd)]+_0x59ad9c(0x38c);return(await this[_0x59ad9c(0x42f)][_0x59ad9c(0x2f8)](_0x4c83ae,{'params':{'resourceId':JSON['stringify'](_0xc967ca['resourceIDs'])}}))[_0x59ad9c(0x47f)];}['saveSnapshot'](){var _0x5d6a93=_0x417dd3;throw new Error(_0x5d6a93(0x3c4));}['saveSheetBlock'](){var _0x2f96bf=_0x417dd3;throw new Error(_0x2f96bf(0x3c4));}['saveChangeset'](){var _0x17919c=_0x417dd3;throw new Error(_0x17919c(0x3c4));}[_0x417dd3(0x380)](){var _0x187fdb=_0x417dd3;throw new Error(_0x187fdb(0x3c4));}[_0x417dd3(0x22e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x2deb3f),_i(0x1,_0x25220a(_0x383e70))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x1bc3e7,_0x152bef,_0x484c0f,_0x326f3a)=>{var _0x1a45ad=_0x417dd3;for(var _0x2f0930=_0x326f3a>0x1?void 0x0:_0x326f3a?vr(_0x152bef,_0x484c0f):_0x152bef,_0x3de6e4=_0x1bc3e7[_0x1a45ad(0x48d)]-0x1,_0x12f3de;_0x3de6e4>=0x0;_0x3de6e4--)(_0x12f3de=_0x1bc3e7[_0x3de6e4])&&(_0x2f0930=_0x12f3de(_0x2f0930)||_0x2f0930);return _0x2f0930;},Pe=(_0x2d3937,_0x2d0c4e)=>(_0x6426a5,_0x2111e4)=>_0x2d0c4e(_0x6426a5,_0x2111e4,_0x2d3937);let Dt=class extends _0x19a0ef{constructor(_0x1783fb,_0x58c1b9,_0x2ddd5f,_0x2b1691,_0x523ace){var _0x29522a=_0x417dd3;super(_0x1783fb,_0x58c1b9,_0x2ddd5f),this[_0x29522a(0x322)]=_0x2b1691,this[_0x29522a(0x340)]=_0x523ace;}[_0x417dd3(0x34f)](_0x1e27c4,_0x10cf0e){var _0x15ef66=_0x417dd3;const _0x5d9541=this['_getUndoStack'](_0x1e27c4);if(_0x5d9541)try{const _0x1c8909=this[_0x15ef66(0x2e8)](_0x5d9541,_0x10cf0e);this['_substituteUndoStack'](_0x1e27c4,_0x1c8909);}catch(_0x1bdefd){this[_0x15ef66(0x340)][_0x15ef66(0x305)]('[CollaborationUndoRedoService]',_0x1bdefd),this[_0x15ef66(0x3b7)](_0x1e27c4);}const _0x411086=this[_0x15ef66(0x2ae)](_0x1e27c4);if(_0x411086)try{const _0x35a656=this[_0x15ef66(0x2e8)](_0x411086,_0x10cf0e);this[_0x15ef66(0x2e5)](_0x1e27c4,_0x35a656);}catch(_0x4c22a3){this[_0x15ef66(0x340)][_0x15ef66(0x305)](_0x4c22a3),this[_0x15ef66(0x453)](_0x1e27c4);}}[_0x417dd3(0x3b7)](_0x43f254){var _0x190172=_0x417dd3;const _0x51f5f7=this[_0x190172(0x36f)](_0x43f254);_0x51f5f7&&(_0x51f5f7[_0x190172(0x48d)]=0x0,this['_updateStatus']());}[_0x417dd3(0x453)](_0x4fc1a2){var _0x1cc82b=_0x417dd3;const _0x19f8f1=this[_0x1cc82b(0x2ae)](_0x4fc1a2);_0x19f8f1&&(_0x19f8f1[_0x1cc82b(0x48d)]=0x0,this[_0x1cc82b(0x3a1)]());}[_0x417dd3(0x396)](_0x3eb64,_0x1a497c){var _0x4edd99=_0x417dd3;this['_undoStacks']['set'](_0x3eb64,_0x1a497c),this[_0x4edd99(0x3a1)]();}[_0x417dd3(0x2e5)](_0xe2ca1b,_0x389729){var _0x19e4d0=_0x417dd3;this[_0x19e4d0(0x2f4)][_0x19e4d0(0x252)](_0xe2ca1b,_0x389729),this[_0x19e4d0(0x3a1)]();}[_0x417dd3(0x2e8)](_0x5556fd,_0x1eb6bf){var _0x4a1a1b=_0x417dd3;const _0x75a815=[];let _0x3f7819=_0x1eb6bf,_0x23c8b0=_0x1eb6bf;for(let _0x268559=_0x5556fd['length']-0x1;_0x268559>=0x0;_0x268559--){const {unitID:_0x5dba3b,undoMutations:_0x6cd3b9,redoMutations:_0x18f0b5}=_0x5556fd[_0x268559],_0x566b90=this[_0x4a1a1b(0x322)]['transformMutationsWithChangeset'](_0x3f7819,_0x6cd3b9),_0xc7f6ab=this['_transformService'][_0x4a1a1b(0x33b)](_0x23c8b0,_0x18f0b5);if(_0x3fb3ac(_0x566b90)||_0x3fb3ac(_0xc7f6ab)){this['_logService'][_0x4a1a1b(0x305)](_0x4a1a1b(0x4c7),_0x4a1a1b(0x1d8),_0x566b90,_0xc7f6ab);break;}_0x3f7819=_0x566b90[_0x4a1a1b(0x479)],_0x23c8b0=_0xc7f6ab['c1Prime'],_0x75a815[_0x4a1a1b(0x205)]({'unitID':_0x5dba3b,'undoMutations':_0x566b90[_0x4a1a1b(0x290)],'redoMutations':_0xc7f6ab[_0x4a1a1b(0x290)]});}return _0x75a815[_0x4a1a1b(0x40c)]();}};Dt=pr([Pe(0x0,_0x34aa87),Pe(0x1,_0x36b2a5),Pe(0x2,_0x3da46b),Pe(0x3,_0x4839c5),Pe(0x4,_0x227eb4)],Dt);var mr=Object['defineProperty'],gr=Object[_0x417dd3(0x3a9)],Sr=(_0x534566,_0x3a2285,_0x164cde)=>_0x3a2285 in _0x534566?mr(_0x534566,_0x3a2285,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x164cde}):_0x534566[_0x3a2285]=_0x164cde,Er=(_0x30ad28,_0x5eccfc,_0x80e6cd,_0x1a0922)=>{var _0x4e8e6e=_0x417dd3;for(var _0x48f13b=_0x1a0922>0x1?void 0x0:_0x1a0922?gr(_0x5eccfc,_0x80e6cd):_0x5eccfc,_0x498730=_0x30ad28[_0x4e8e6e(0x48d)]-0x1,_0x62a277;_0x498730>=0x0;_0x498730--)(_0x62a277=_0x30ad28[_0x498730])&&(_0x48f13b=_0x62a277(_0x48f13b)||_0x48f13b);return _0x48f13b;},St=(_0x282063,_0x3c7ba7)=>(_0x356933,_0x41c365)=>_0x3c7ba7(_0x356933,_0x41c365,_0x282063),Ir=(_0x44fbd8,_0x1a464d,_0x2c5bcf)=>Sr(_0x44fbd8,_0x1a464d+'',_0x2c5bcf);const Tr=_0x417dd3(0x482);let Ut=class extends _0x1c4948{constructor(_0x5c44f0,_0x522f49,_0x2b84b4,_0x4b5011){var _0x2478a9=_0x417dd3;super(),N(this,_0x2478a9(0x499)),(this[_0x2478a9(0x340)]=_0x522f49,this['_injector']=_0x2b84b4,this['_configService']=_0x4b5011);const {..._0x29d857}=_0x8be12a({},wn,_0x5c44f0);if(!_0x29d857[_0x2478a9(0x23d)])throw new Error(_0x2478a9(0x207));this[_0x2478a9(0x499)]=_0x29d857,this[_0x2478a9(0x2d3)]['setConfig'](q,_0x29d857);}[_0x417dd3(0x314)](){var _0x41ddac=_0x417dd3;this[_0x41ddac(0x29c)](),this[_0x41ddac(0x2a0)]();}[_0x417dd3(0x29c)](){var _0x1333e9=_0x417dd3,_0x47111c,_0x6d5eb0;this[_0x1333e9(0x212)]['has'](_0x3731a7)&&this[_0x1333e9(0x340)][_0x1333e9(0x305)](_0x1333e9(0x1f5),_0x1333e9(0x37b));const _0x4b8cdd=_0x2e830a([[_0x3731a7,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x1333e9(0x499)][_0x1333e9(0x23d)]}],[_0x3c8b0e,{'useClass':Nt}],[_0x5b449e,{'useClass':Rt}],[_0x4ce86e,{'useClass':Ot}],[_0x4ad9c8,{'useClass':yt}],[st],[Ct]],(_0x47111c=this[_0x1333e9(0x499)])==null?void 0x0:_0x47111c[_0x1333e9(0x399)]);if(!((_0x6d5eb0=this[_0x1333e9(0x499)])!=null&&_0x6d5eb0['enableSingleActiveInstanceLock'])){const _0xc0a961=_0x4b8cdd[_0x1333e9(0x2c8)](([_0x147f4f])=>_0x147f4f===ht);_0xc0a961!==-0x1&&_0x4b8cdd[_0x1333e9(0x30d)](_0xc0a961,0x1);}_0x4174b0(this[_0x1333e9(0x212)],_0x4b8cdd);}[_0x417dd3(0x2a0)](){var _0x11f175=_0x417dd3,_0x2d291c,_0x47d357,_0x4c8c5d;this[_0x11f175(0x212)][_0x11f175(0x2f8)](_0x383e70)[_0x11f175(0x30c)]({'priority':0x14,'interceptor':_0x12ffda({'maxParallel':0x6})}),(_0x2d291c=this[_0x11f175(0x499)])!=null&&_0x2d291c['enableOfflineEditing']||(_0x47d357=this['_injector'][_0x11f175(0x2f8)](J,_0x3d8290[_0x11f175(0x247)]))==null||_0x47d357[_0x11f175(0x22b)](),(_0x4c8c5d=this[_0x11f175(0x499)])!=null&&_0x4c8c5d[_0x11f175(0x27c)]&&_0x203468(this[_0x11f175(0x212)],[[rt]]),_0x203468(this[_0x11f175(0x212)],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x3243ac(_0x56d92b,_0x5ed24d),St(0x1,_0x227eb4),St(0x2,_0x25220a(_0x4eec35)),St(0x3,_0x2deb3f)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Me as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Mr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,xr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,Mn as serializeCombRequest};